PageSourceSearch

https://dl-sopranoworld.netlify.app/lib/tdvplayer.js?v=1717342811710

js dl-sopranoworld.netlify.app collected 2026-10-03 10:39:35 UTC 3,231,959 bytes, 5,421 lines download raw bytes

1try { (function() { 
2var requirejs,require,define;
3(function(){function J(d){return ia.call(d)==="[object Function]"}function X(d){return ia.call(d)==="[object Array]"}function Y(d,f,l){for(var j in f)if(!(j in F)&&(!(j in d)||l))d[j]=f[j];return h}function K(d,f,l){d=new Error(f+"\nhttp://requirejs.org/docs/errors.html#"+d);if(l)d.originalError=l;return d}function ja(d,f,l){var j,q,o;for(j=0;o=f[j];j++){o=typeof o==="string"?{name:o}:o;q=o.location;if(l&&(!q||q.indexOf("/")!==0&&q.indexOf(":")===-1))q=l+"/"+(q||o.name);d[o.name]={name:o.name,location:q||
4o.name,main:(o.main||"main").replace(ua,"").replace(ka,"")}}}function Z(d,f){if(d.holdReady)d.holdReady(f);else if(f)d.readyWait+=1;else d.ready(true)}function va(d){function f(a){var b,c;for(b=0;c=a[b];b++)if(c==="."){a.splice(b,1);b-=1}else if(c==="..")if(b===1&&(a[2]===".."||a[0]===".."))break;else if(b>0){a.splice(b-1,2);b-=2}}function l(a,b){var c;if(a.charAt(0)===".")if(b){if(r.pkgs[b])b=[b];else{b=b.split("/");b=b.slice(0,b.length-1)}a=b.concat(a.split("/"));f(a);c=r.pkgs[b=a[0]];a=a.join("/");
5if(c&&a===b+"/"+c.main)a=b}return a}function j(a,b){var c=a?a.indexOf("!"):-1,e=null,g=b?b.name:null,k=a,n,m;if(c!==-1){e=a.substring(0,c);a=a.substring(c+1,a.length)}if(e)e=l(e,g);if(a){if(e)n=(c=p[e])?c.normalize?c.normalize(a,function(u){return l(u,g)}):l(a,g):"__$p"+g+"@"+a;else n=l(a,g);m=$[n];if(!m){m=h.toModuleUrl?h.toModuleUrl(i,n,b):i.nameToUrl(n,null,b);$[n]=m}}return{prefix:e,name:n,parentMap:b,url:m,originalName:k,fullName:e?e+"!"+n:n}}function q(){var a=true,b=r.priorityWait,c,e;if(b){for(e=
60;c=b[e];e++)if(!v[c]){a=false;break}a&&delete r.priorityWait}return a}function o(a){return function(b){a.exports=b}}function L(a,b,c){return function(){var e=[].concat(wa.call(arguments,0)),g;if(c&&J(g=e[e.length-1]))g.__requireJsBuild=true;e.push(b);return a.apply(null,e)}}function la(a,b){b=L(i.require,a,b);Y(b,{nameToUrl:L(i.nameToUrl,a),toUrl:L(i.toUrl,a),defined:L(i.requireDefined,a),specified:L(i.requireSpecified,a),ready:h.ready,isBrowser:h.isBrowser});if(h.paths)b.paths=h.paths;return b}
7function xa(a){var b,c,e,g,k,n,m,u=T[a];if(u)for(g=0;c=u[g];g++){b=c.fullName;c=j(c.originalName,c.parentMap);c=c.fullName;e=w[b]||[];k=w[c];if(c!==b){if(b in y){delete y[b];y[c]=true}w[c]=k?k.concat(e):e;delete w[b];for(k=0;k<e.length;k++){m=e[k].depArray;for(n=0;n<m.length;n++)if(m[n]===b)m[n]=c}}}delete T[a]}function ma(a){var b=a.prefix,c=a.fullName;if(!(y[c]||c in p)){if(b&&!G[b]){G[b]=undefined;(T[b]||(T[b]=[])).push(a);(w[b]||(w[b]=[])).push({onDep:function(e){e===b&&xa(b)}});ma(j(b))}i.paused.push(a)}}
8function aa(a){var b,c,e;b=a.callback;var g=a.fullName,k=[],n=a.depArray;if(b&&J(b)){if(n)for(b=0;b<n.length;b++)k.push(a.deps[n[b]]);try{c=h.execCb(g,a.callback,k,p[g])}catch(m){e=m}if(g)if(a.cjsModule&&a.cjsModule.exports!==undefined)c=p[g]=a.cjsModule.exports;else if(c===undefined&&a.usingExports)c=p[g];else p[g]=c}else if(g)c=p[g]=b;if(B[a.waitId]){delete B[a.waitId];a.isDone=true;i.waitCount-=1;if(i.waitCount===0)ba=[]}if(e){e=K("defineerror",'Error evaluating module "'+g+'" at location "'+(g?
9j(g).url:"")+'":\n'+e+"\nfileName:"+(e.fileName||e.sourceURL)+"\nlineNumber: "+(e.lineNumber||e.line),e);e.moduleName=g;return h.onError(e)}if(g)if(a=w[g]){for(b=0;b<a.length;b++)a[b].onDep(g,c);delete w[g]}}function na(a,b,c,e){a=j(a,e);var g=a.name,k=a.fullName,n={},m={waitId:g||ya+za++,depCount:0,depMax:0,prefix:a.prefix,name:g,fullName:k,deps:{},depArray:b,callback:c,onDep:function(oa,Aa){if(!(oa in m.deps)){m.deps[oa]=Aa;m.depCount+=1;m.depCount===m.depMax&&aa(m)}}},u,t;if(k){if(k in p||v[k]===
10true||k==="jquery"&&r.jQuery&&r.jQuery!==c().fn.jquery)return;y[k]=true;v[k]=true;k==="jquery"&&c&&U(c())}for(c=0;c<b.length;c++)if(u=b[c]){u=j(u,g?a:e);t=u.fullName;b[c]=t;if(t==="require")m.deps[t]=la(a);else if(t==="exports"){m.deps[t]=p[k]={};m.usingExports=true}else if(t==="module"){m.cjsModule=u=m.deps[t]={id:g,uri:g?i.nameToUrl(g,null,e):undefined,exports:p[k]};u.setExports=o(u)}else if(t in p&&!(t in B))m.deps[t]=p[t];else if(!n[t]){m.depMax+=1;ma(u);(w[t]||(w[t]=[])).push(m);n[t]=true}}if(m.depCount===
11m.depMax)aa(m);else{B[m.waitId]=m;ba.push(m);i.waitCount+=1}}function M(a){na.apply(null,a);v[a[0]]=true}function pa(a,b){if(!a.isDone){var c=a.fullName,e=a.depArray,g,k;if(c){if(b[c])return p[c];b[c]=true}for(k=0;k<e.length;k++)(g=e[k])&&!a.deps[g]&&B[g]&&a.onDep(g,pa(B[g],b));return c?p[c]:undefined}}function ca(){var a=r.waitSeconds*1E3,b=a&&i.startTime+a<(new Date).getTime();a="";var c=false,e=false,g;if(!(i.pausedCount>
110)){if(r.priorityWait)if(q())C();else return;for(g in v)if(!(g in F)){c=true;
12if(!v[g])if(b)a+=g+" ";else{e=true;break}}if(c||i.waitCount){if(b&&a){g=K("timeout","Load timeout for modules: "+a);g.requireType="timeout";g.requireModules=a;return h.onError(g)}if(e||i.scriptCount){if((A||qa)&&!da)da=setTimeout(function(){da=0;ca()},50)}else{if(i.waitCount){for(D=0;a=ba[D];D++)pa(a,{});if(ea<5){ea+=1;ca()}}ea=0;h.checkReadyState()}}}}function ra(a,b){var c=b.name,e=b.fullName,g;if(!(e in p||e in v)){G[a]||(G[a]=p[a]);v[e]||(v[e]=false);g=function(k){h.onPluginLoad&&h.onPluginLoad(i,
13a,c,k);aa({prefix:b.prefix,name:b.name,fullName:b.fullName,callback:function(){return k}});v[e]=true};g.fromText=function(k,n){var m=N;i.loaded[k]=false;i.scriptCount+=1;if(m)N=false;h.exec(n);if(m)N=true;i.completeLoad(k)};G[a].load(c,la(b.parentMap,true),g,r)}}function Ba(a){if(a.prefix&&a.name.indexOf("__$p")===0&&p[a.prefix])a=j(a.originalName,a.parentMap);var b=a.prefix,c=a.fullName,e=i.urlFetched;if(!(y[c]||v[c])){y[c]=true;if(b)if(p[b])ra(b,a);else{if(!O[b]){O[b]=[];(w[b]||(w[b]=[])).push({onDep:function(g){if(g===
14b){var k,n=O[b];for(g=0;g<n.length;g++){k=n[g];ra(b,j(k.originalName,k.parentMap))}delete O[b]}}})}O[b].push(a)}else if(!e[a.url]){h.load(i,c,a.url);e[a.url]=true}}}var i,C,r={waitSeconds:7,baseUrl:s.baseUrl||"./",paths:{},pkgs:{}},P=[],y={require:true,exports:true,module:true},$={},p={},v={},B={},ba=[],za=0,w={},G={},O={},fa=0,T={};U=function(a){if(!i.jQuery)if(a=a||(typeof jQuery!=="undefined"?jQuery:null))if(!(r.jQuery&&a.fn.jquery!==r.jQuery))if("holdReady"in a||"readyWait"in a){i.jQuery=a;M(["jquery",
15[],function(){return jQuery}]);if(i.scriptCount){Z(a,true);i.jQueryIncremented=true}}};C=function(){var a,b,c;fa+=1;if(i.scriptCount<=0)i.scriptCount=0;for(;P.length;){a=P.shift();if(a[0]===null)return h.onError(K("mismatch","Mismatched anonymous define() module: "+a[a.length-1]));else M(a)}if(!r.priorityWait||q())for(;i.paused.length;){c=i.paused;i.pausedCount+=c.length;i.paused=[];for(b=0;a=c[b];b++)Ba(a);i.startTime=(new Date).getTime();i.pausedCount-=c.length}fa===1&&ca();fa-=1};i={contextName:d,
16config:r,defQueue:P,waiting:B,waitCount:0,specified:y,loaded:v,urlMap:$,scriptCount:0,urlFetched:{},defined:p,paused:[],pausedCount:0,plugins:G,managerCallbacks:w,makeModuleMap:j,normalize:l,configure:function(a){var b,c,e;if(a.baseUrl)if(a.baseUrl.charAt(a.baseUrl.length-1)!=="/")a.baseUrl+="/";b=r.paths;e=r.pkgs;Y(r,a,true);if(a.paths){for(c in a.paths)c in F||(b[c]=a.paths[c]);r.paths=b}if((b=a.packagePaths)||a.packages){if(b)for(c in b)c in F||ja(e,b[c],c);a.packages&&ja(e,a.packages);r.pkgs=
17e}if(a.priority){c=i.requireWait;i.requireWait=false;i.takeGlobalQueue();C();i.require(a.priority);C();i.requireWait=c;r.priorityWait=a.priority}if(a.deps||a.callback)i.require(a.deps||[],a.callback);a.ready&&h.ready(a.ready)},requireDefined:function(a,b){return j(a,b).fullName in p},requireSpecified:function(a,b){return j(a,b).fullName in y},require:function(a,b,c){if(typeof a==="string"){if(h.get)return h.get(i,a,b);c=b;b=j(a,c);a=b.fullName;if(!(a in p))return h.onError(K("notloaded","Module name '"+
18b.fullName+"' has not been loaded yet for context: "+d));return p[a]}na(null,a,b,c);if(!i.requireWait)for(;!i.scriptCount&&i.paused.length;){i.takeGlobalQueue();C()}},takeGlobalQueue:function(){if(V.length){Ca.apply(i.defQueue,[i.defQueue.length-1,0].c
18oncat(V));V=[]}},completeLoad:function(a){var b;for(i.takeGlobalQueue();P.length;){b=P.shift();if(b[0]===null){b[0]=a;break}else if(b[0]===a)break;else{M(b);b=null}}b?M(b):M([a,[],a==="jquery"&&typeof jQuery!=="undefined"?function(){return jQuery}:null]);
19v[a]=true;U();if(h.isAsync)i.scriptCount-=1;C();h.isAsync||(i.scriptCount-=1)},toUrl:function(a,b){var c=a.lastIndexOf("."),e=null;if(c!==-1){e=a.substring(c,a.length);a=a.substring(0,c)}return i.nameToUrl(a,e,b)},nameToUrl:function(a,b,c){var e,g,k,n,m=i.config;a=l(a,c&&c.fullName);if(h.jsExtRegExp.test(a))b=a+(b?b:"");else{e=m.paths;g=m.pkgs;c=a.split("/");for(n=c.length;n>0;n--){k=c.slice(0,n).join("/");if(e[k]){c.splice(0,n,e[k]);break}else if(k=g[k]){a=a===k.name?k.location+"/"+k.main:k.location;
20c.splice(0,n,a);break}}b=c.join("/")+(b||".js");b=(b.charAt(0)==="/"||b.match(/^\w+:/)?"":m.baseUrl)+b}return m.urlArgs?b+((b.indexOf("?")===-1?"?":"&")+m.urlArgs):b}};i.jQueryCheck=U;i.resume=C;return i}function Da(){var d,f,l;if(Q&&Q.readyState==="interactive")return Q;d=document.getElementsByTagName("script");for(f=d.length-1;f>-1&&(l=d[f]);f--)if(l.readyState==="interactive")return Q=l;return null}var Ea=/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,Fa=/require\(["']([^'"\s]+)["']\)/g,ua=/^\.\//,ka=/\.js$/,
21ia=Object.prototype.toString,x=Array.prototype,wa=x.slice,Ca=x.splice,A=!!(typeof window!=="undefined"&&navigator&&document),qa=!A&&typeof importScripts!=="undefined",Ga=A&&navigator.platform==="PLAYSTATION 3"?/^complete$/:/^(complete|loaded)$/,sa=typeof opera!=="undefined"&&opera.toString()==="[object Opera]",ya="_r@@",F={},H={},V=[],Q=null,Ha=false,ea=0,N=false,h;x={};var ga,s,I,W,z,R,S,D,ha,ta,E,U,da;if(typeof define==="undefined"){if(typeof requirejs!=="undefined")if(J(requirejs))return;else{x=
22requirejs;requirejs=undefined}if(typeof require!=="undefined"&&!J(require)){x=require;require=undefined}h=requirejs=function(d,f,l){var j="_",q;if(!X(d)&&typeof d!=="string"){q=d;if(X(f)){d=f;f=l}else d=[]}if(q&&q.context)j=q.context;l=H[j]||(H[j]=va(j));q&&l.configure(q);return l.require(d,f)};if(typeof require==="undefined")require=h;h.toUrl=function(d){return H._.toUrl(d)};h.version="0.25.0";h.isArray=X;h.isFunction=J;h.mixin=Y;h.jsExtRegExp=/^\/|:|\?|\.js$/;s=h.s={contexts:H,skipAsync:{},isPageLoaded:!A,
23readyCalls:[]};if(h.isAsync=h.isBrowser=A){I=s.head=document.getElementsByTagName("head")[0];if(W=document.getElementsByTagName("base")[0])I=s.head=W.parentNode}h.onError=function(d){throw d;};h.load=function(d,f,l){var j=d.loaded;Ha=false;j[f]||(j[f]=false);d.scriptCount+=1;h.attach(l,d,f);if(d.jQuery&&!d.jQueryIncremented){Z(d.jQuery,true);d.jQueryIncremented=true}};define=h.def=function(d,f,l){var j;if(typeof d!=="string"){l=f;f=d;d=null}if(!h.isArray(f)){l=f;f=[]}if(!d&&!f.length&&h.isFunction(l))if(l.length){l.toString().replace(Ea,
24"").replace(Fa,function(q,o){f.push(o)});f=(l.length===1?["require"]:["require","exports","module"]).concat(f)}if(N){j=ga||Da();if(!j)return h.onError(K("interactive","No matching script interactive for "+l));d||(d=j.getAttribute("data-requiremodule"));j=H[j.getAttribute("data-requirecontext")]}(j?j.defQueue:V).push([d,f,l])};define.amd={multiversion:true,plugins:true,jQuery:true};h.exec=function(d){return eval(d)};h.execCb=function(d,f,l,j){return f.apply(j,l)};h.onScriptLoad=function(d){var f=d.currentTarget||
25d.srcElement,l;if(d.type==="load"||Ga.test(f.readyState)){Q=null;d=f.getAttribute("data-requirecontext");l=f.getAttribute("data-requiremodule");H[d].completeLoad(l);f.detachEvent&&!sa?f.detachEvent("onreadystatechange",h.onScriptLoad):f.removeEventListener("load",h.onScriptLoad,false)}};h.attach=function(d,f,l,j,q){var o;if(A){j=j||h.onScriptLoad;o=f&&f.config&&f.config.xhtml?document.createElementNS("http://www.w3.org/1999/xhtml","html:script"):document.createElement("script");o.type=q||"text/javascript";
26o.charset="utf-8";o.async=!s.skipAsync[d];f&&o.setAttribute("data-requirecontext",f.contextName);o.setAttribute("data-requiremodule",l);if(o.attachEvent&&!sa){N=true;o.attachEvent("onreadystatechange",j)}else o.addEventListener("load",j,false);o.src=d;ga=o;W?I.insertBefore(o,W):I.appendChild(o);ga=null;return o}else if(qa){j=f.loaded;j[l]=false;importScripts(d);f.completeLoad(l)}return null};if(A){z=document.getElementsByTagName("script");for(D=z.length-1;D>-1&&(R=z[D]);D--){if(!I)I=R.parentNode;
27if(S=R.getAttribute("data-main")){if(!x.baseUrl){z=S.split("/");R=z.pop();z=z.length?z.join("/")+"/":"./";x.baseUrl=z;S=R.replace(ka,"")}x.deps=x.deps?x.deps.concat(S):[S];break}}}s.baseUrl=x.baseUrl;h.pageLoaded=function(){if(!s.isPageLoaded){s.isPageLoaded=true;ha&&clearInterval(ha);if(ta)document.readyState="complete";h.callReady()}};h.checkReadyState=function(){var d=s.contexts,f;for(f in d)if(!(f in F))if(d[f].waitCount)return;s.isDone=true;h.callReady()};h.callReady=function(){var d=s.readyCalls,
28f,l,j;if(s.isPageLoaded&&s.isDone){if(d.length){s.readyCalls=[];for(f=0;l=d[f];f++)l()}d=s.contexts;for(j in d)if(!(j in F)){f=d[j];if(f.jQueryIncremented){Z(f.jQuery,false);f.jQueryIncremented=false}}}};h.ready=function(d){s.isPageLoaded&&s.isDone?d():s.readyCalls.push(d);return h};if(A){if(document.addEventListener){document.addEventListener("DOMContentLoaded",h.pageLoaded,false);window.addEventListener("load",h.pageLoaded,false);
vendor: 4,556 bytes, lines 28-38
28if(!document.readyState){ta=true;document.readyState="loading"}}else if(window.attachEvent){window.attachEvent("onload",
29h.pageLoaded);if(self===self.top)ha=setInterval(function(){try{if(document.body){document.documentElement.doScroll("left");h.pageLoaded()}}catch(d){}},30)}document.readyState==="complete"&&h.pageLoaded()}h(x);if(h.isAsync&&typeof setTimeout!=="undefined"){E=s.contexts[x.context||"_"];E.requireWait=true;setTimeout(function(){E.requireWait=false;E.takeGlobalQueue();E.jQueryCheck();E.scriptCount||E.resume();h.checkReadyState()},0)}}})();/*
30 jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */
31!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(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"==
32typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&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&&t.getAttribute(r))&&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,
33t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&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<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,
34t,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<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:t.sort,splice:t.splice},S.extend=
35S.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||m(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(S.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||S.isPlainObject(n)?n:{},i=!1,a[t]=S.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},S.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),
36isReady:!0,error:function(e){throw new Error(e);},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==o.call(e))&&(!(t=r(e))||"function"==typeof(n=v.call(t,"constructor")&&t.constructor)&&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&&t.nonce},n)},each:function(e,t){var n,r=0;if(p(e))for(n=e.length;r<n;r++){if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},
37makeArray:function(e,t){var n=t||[];return null!=e&&(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<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(p(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],
38o,n))&&a.push(i);return g(a)},guid:1,support:y}),"function"==typeof Symbol&&(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*ne
vendor: 11,135 bytes, lines 38-60
38w Date,p=n.document,k=0,r=0,m=ue(),x=ue(),A=ue(),N=ue(),j=function(e,t){return e===t&&(l=!0),0},D={}.hasOwnProperty,t=[],q=t.pop,L=t.push,H=t.push,O=t.slice,P=function(e,
39t){for(var n=0,r=e.length;n<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+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+
40W+")*)|.*)\\)|)",B=new RegExp(M+"+","g"),$=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),_=new RegExp("^"+M+"*,"+M+"*"),z=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),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+"*(?:([+-]|)"+
41M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(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<0?String.fromCharCode(n+65536):String.fromCharCode(n>>
4210|55296,1023&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&&"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,
43r=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&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(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&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,
44e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&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&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=
45[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&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&&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&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?
461:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,
47le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&
48(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!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),
49d.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&&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&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=
50function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=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===
51n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="<a id='"+S+"'></a><select id='"+S+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||
52v.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="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";
53var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||
54a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&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&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},
55j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&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,
56t);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&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0<se(t,C,null,[e]).length},se.contains=function(e,t){return(e.ownerDocument||
57e)!=C&&T(e),y(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=C&&T(e);var n=b.attrHandle[t.toLowerCase()],r=n&&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))&&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&&e.slice(0),
58e.sort(j),l){while(t=e[i++])t===e[i]&&(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:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",
59first:!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]&&(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]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&
60(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}
vendor: 23,018 bytes, lines 60-105
60:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,
61r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(B," ")+" ").indexOf(i):"|="===r&&(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&&0===v?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u,l=y!==m?"nextSibling":
62"previousSibling",c=e.parentNode,f=x&&e.nodeName.toLowerCase(),p=!n&&!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&&!u&&"nextSibling"}return!0}if(u=[m?c.firstChild:c.lastChild],m&&p){d=(s=(r=(i=(o=(a=c)[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===k&&r[1])&&r[2],a=s&&c.childNodes[s];while(a=++s&&a&&a[l]||(d=s=0)||u.pop())if(1===a.nodeType&&++d&&a===e){i[h]=[k,s,d];break}}else if(p&&(d=s=(r=(i=(o=(a=e)[S]||(a[S]=
63{}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===k&&r[1]),!1===d)while(a=++s&&a&&a[l]||(d=s=0)||u.pop())if((x?a.nodeName.toLowerCase()===f:1===a.nodeType)&&++d&&(p&&((i=(o=a[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]=[k,d]),a===e))break;return(d-=v)===g||d%g==0&&0<=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<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?le(function(e,t){var n,
64r=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])&&(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<se(t,e).length}}),contains:le(function(t){return t=t.replace(te,ne),function(e){return-1<(e.textContent||o(e)).indexOf(t)}}),
65lang: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)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===a},focus:function(e){return e===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(e.type||e.href||
66~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();
67return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(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<0?n+t:n]}),even:ve(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:ve(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:ve(function(e,t,n){for(var r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),
68gt:ve(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=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<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&&"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,
69p];if(n)while(e=e[u]){if((1===e.nodeType||f)&&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&&l===e.nodeName.toLowerCase())e=e[u]||e;else{if((r=i[c])&&r[0]===k&&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<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<u;s++)(o=e[s])&&(n&&!n(o,
70r,i)||(a.push(o),l&&t.push(s)));return a}function Ce(d,h,g,v,y,e){return v&&!v[S]&&(v=Ce(v)),y&&!y[S]&&(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<i;r++)se(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),f=!d||!e&&h?c:Te(c,s,d,n,r),p=g?y||(e?d:l||v)?[]:t:f;if(g&&g(f,p,n,r),v){i=Te(p,u),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(p[u[o]]=!(f[u[o]]=a))}if(e){if(y||d){if(y){i=[],o=p.length;while(o--)(a=p[o])&&i.push(f[o]=a);y(null,p=[],
71i,r)}o=p.length;while(o--)(a=p[o])&&-1<(i=y?P(e,a):s[o])&&(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<P(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!==w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[be(we(c),t)];else{if((t=b.filter[e[s].type].apply(null,
72e[s].matches))[S]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return Ce(1<s&&we(c),1<s&&xe(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace($,"$1"),t,s<n&&Ee(e.slice(s,n)),n<r&&Ee(e=e.slice(n)),n<r&&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&&!(r=_.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),
73n=!1,(r=z.exec(a))&&(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]&&!(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<(y=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=
74e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=k+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==C||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&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&&(k=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=q.call(r));f=Te(f)}H.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&se.uniqueSort(r)}return i&&(k=h,w=p),c},m?le(r):r))).selector=e}return a},g=
75se.select=function(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&h(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&E&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(te,ne),t)||[])[0]))return n;l&&(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])&&(r=u(a.matches[0].replace(te,ne),ee.test(o[0].type)&&ye(t.parentNode)||
76t))){if(o.splice(i,1),!(e=r.length&&xe(o)))return H.apply(n,r),n;break}}}return(l||f(e,c))(r,t,!E,n,!t||ee.test(e)&&ye(t.parentNode)||t),n},d.sortStable=S.split("").sort(j).join("")===S,d.detectDuplicates=!!l,T(),d.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(C.createElement("fieldset"))}),ce(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||fe("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?
771:2)}),d.attributes&&ce(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||fe("value",function(e,t,n){if(!n&&"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))&&r.specified?r.value:null}),se}(C);S.find=d,S.expr=d.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=
78d.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])&&9!==e.nodeType)if(1===e.nodeType){if(i&&S(e).is(n))break;r.push(e)}return r},T=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},k=S.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;
79function 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<i.call(n,e)!==r}):S.filter(n,e,r)}S.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&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=
800;t<r;t++)if(S.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)S.find(e,i[t],n);return 1<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&&k.test(e)?S(e):e||[],!1).length}});var D,q=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&
813<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&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]))&&(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,
82D=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])&&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<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&&S(e);if(!k.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&S.find.matchesSelector(n,
83e))){o.push(n);break}return this.pushStack(1<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]&&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&&11!==t.nodeType?t:null},parents:function(e){return h(e,
84"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!=
85e.contentDocument&&r(e.contentDocument)?e.contentDocument:(A(e,"template")&&(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)&&(t=e),t&&"string"==typeof t&&(n=S.filter(t,n)),1<this.length&&(H[r]||S.uniqueSort(n),L.test(r)&&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&&m(i=e.promise)?i.call(e).done(t).fail(n):e&&m(i=e.then)?i.call(e,
86t,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<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){S.each(e,function(e,t){m(t)?
87r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==w(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return S.each(arguments,function(e,t){var n;while(-1<(n=S.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<S.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||
88(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),
89this},"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]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&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<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");
90t=e&&("object"==typeof e||"function"==typeof e)&&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&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(e,t.stackTrace),u<=i+1&&(a!==M&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(S.Deferred.getStackHook&&(t.stackTrace=S.Deferred.getStackHook()),C.setTimeout(t))}}return S.Deferred(function(e){o[0][3].add(l(0,e,
91m(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&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,
92r=Array(t),i=s.call(arguments),o=S.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?s.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(I(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||m(i[t]&&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&&C.console.warn&&e&&W.test(e.name)&&C.console.warn("jQuery.Deferred exception: "+
93e.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&&0<--S.readyWait||F.resolveWith(E,[S])}}),S.ready.then=F.then,"complete"===E.readyState||"loading"!==E.readyState&&
94!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&&(i=!0,m(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(S(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},_=/^-ms-/,z=/-([a-z])/g;function U(e,t){return t.toUpperCase()}
95function 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)&&(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):
96e[this.expando]&&e[this.expando][X(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(X):(t=X(t))in r?[t]:t.match(P)||[]).length;while(n--)delete r[t[n]]}(void 0===t||S.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!S.isEmptyObject(t)}};
97var 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&&1===e.nodeType)if(r="data-"+t.replace(K,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("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,
98t,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&&o.attributes;if(void 0===n){if(this.length&&(i=Q.get(o),1===o.nodeType&&!Y.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(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&&void 0===e)return void 0!==(t=Q.get(o,n))?t:void 0!==
99(t=Z(o,n))?t:void 0;this.each(function(){Q.set(this,n,e)})},null,e,1<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&&(!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&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,
100i.call(e,function(){S.dequeue(e,t)},o)),!r&&o&&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&&(n=t,t="fx",e--),arguments.length<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&&"inprogress"!==e[0]&&S.dequeue(this,t)})},dequeue:function(e){return this.each(function(){S.dequeue(this,
101e)})},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&&(t=e,e=void 0),e=e||"fx";while(a--)(n=Y.get(o[a],e+"queueHooks"))&&n.empty&&(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,
102e)},oe={composed:!0};re.getRootNode&&(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&&ie(e)&&"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&&n[3]||(S.cssNumber[t]?"":"px"),c=e.nodeType&&(S.cssNumber[t]||"px"!==l&&+u)&&te.exec(S.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)S.style(e,
103t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,S.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ue={};function le(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=Y.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ae(r)&&(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"),
104o.parentNode.removeChild(o),"none"===u&&(u="block"),ue[s]=u)))):"none"!==n&&(l[c]="none",Y.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(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=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;
105ce=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
vendor: 17,561 bytes, lines 105-139
105=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="<option></option>",y.option=!!ce.lastChild;var ge={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],
106tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_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&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n<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||
107(ge.optgroup=ge.option=[1,"<select multiple='multiple'>","</select>"]);var me=/<|&#?\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<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=
108""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<S.inArray(o,r))i&&i.push(o);else if(l=ie(o),a=ve(f.appendChild(o),"script"),l&&ye(a),n){c=0;while(o=a[c++])he.test(o.type||"")&&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&&(r=r||n,n=void 0),t)Ee(e,
109s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Te;else if(!i)return e;return 1===o&&(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&e.isTrigger&&this[i])if(r.length)(S.event.special[i]||{}).delegateType&&e.stopPropagation();
110else{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&&n.value}else r.length&&(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)&&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&&(n=(o=n).handler,i=o.selector),i&&S.find.matchesSelector(re,
111i),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&&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&&(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&&S.expr.match.needsContext.test(i),
112namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),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)&&Y.get(e);if(v&&(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]||
113{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||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)&&Y.remove(e,
114"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<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++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&
115!1!==o.namespace&&!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))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=
116[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<S(i,this).index(l):S.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(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,
117t,{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)&&t.click&&A(t,"input")&&Se(t,"click",we),!1},trigger:function(e){var t=this||e;return pe.test(t.type)&&t.click&&A(t,"input")&&Se(t,"click"),!0},_default:function(e){var t=e.target;return pe.test(t.type)&&t.click&&A(t,"input")&&Y.get(t,"click")||A(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==
118e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},S.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},S.Event=function(e,t){if(!(this instanceof S.Event))return new S.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?we:Te,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=
119e.relatedTarget):this.type=e,t&&S.extend(this,t),this.timeStamp=e&&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&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=we,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=
120this.originalEvent;this.isImmediatePropagationStopped=we,e&&!this.isSimulated&&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),
121S.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&&(n===this||S.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,
122arguments),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&&e.preventDefault&&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&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Te),this.each(function(){S.event.remove(this,e,n,t)})}});
123var ke=/<script|<style|<link/i,Ae=/checked\s*(?:[^=]|=\s*.checked.)/i,Ne=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&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)&&(s=Y.get(e).events))for(i in Y.remove(t,
124"handle events"),s)for(n=0,r=s[i].length;n<r;n++)S.event.add(t,i,s[i][n]);Q.hasData(e)&&(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<f&&"string"==typeof d&&!y.checkClone&&Ae.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),He(t,r,i,o)});if(f&&(t=(e=xe(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=S.map(ve(e,"script"),De)).length;c<f;c++)u=
125e,c!==p&&(u=S.clone(u,!0,!0),s&&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<s;c++)u=a[c],he.test(u.type||"")&&!Y.access(u,"globalEval")&&S.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?S._evalUrl&&!u.noModule&&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&&
126(n&&ie(r)&&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&&11!==e.nodeType||S.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&pe.test(s.type)?u.checked=s.checked:"input"!==l&&"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<
127i;r++)Le(o[r],a[r]);else Le(e,c);return 0<(a=ve(c,"script")).length&&ye(a,!f&&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]&&(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?
128S.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return He(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&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,
129function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return He(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(S.cleanData(ve(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&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===
130e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ke.test(e)&&!ge[(de.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(S.cleanData(ve(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&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)<0&&(S.cleanData(ve(this)),t&&t.replaceChild(e,this))},n)}}),S.each({appendTo:"append",prependTo:"prepend",
131insertBefore:"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<=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&&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},
132Ie=new RegExp(ne.join("|"),"i");function We(e,t,n){var r,i,o,a,s=e.style;return(n=n||Re(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||ie(e)||(a=S.style(e,t)),!y.pixelBoxStyles()&&Pe.test(a)&&Ie.test(t)&&(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",
133l.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&&(l.style.backgroundClip=
134"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&&(e=E.createElement("table"),t=E.createElement("tr"),n=E.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",
135t.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;
136while(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<4;a+=2)"margin"===n&&(u+=S.css(e,n+ne[a],!0,i)),r?("content"===n&&(u-=S.css(e,"padding"+ne[a],!0,i)),"margin"!==n&&(u-=S.css(e,
137"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&&0<=o&&(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)&&"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()&&i||!y.reliableTrDimensions()&&
138A(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===S.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===S.css(e,"boxSizing",!1,r),(o=s in e)&&(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,
139gridArea:!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&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=X(t),u=Xe.test(t),l=e.style;
vendor: 9,152 bytes, lines 139-157
139if(u||(t=ze(s)),a=S.cssHooks[t]||S.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=te.exec(n))&&i[1]&&(n=se(e,t,i),o="number"),null!=n&&n==n&&("number"!==
140o||u||(n+=i&&i[3]||(S.cssNumber[s]?"":"px")),y.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=X(t);return Xe.test(t)||(t=ze(s)),(a=S.cssHooks[t]||S.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=We(e,t,r)),"normal"===i&&t in Ge&&(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,
141t,n){if(t)return!Ue.test(S.css(e,"display"))||e.getClientRects().length&&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()&&"absolute"===i.position,a=(o||n)&&"border-box"===S.css(e,"boxSizing",!1,i),s=n?Qe(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-Qe(e,u,"border",!1,i)-.5)),s&&(r=te.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=S.css(e,u)),Ye(0,t,s)}}}),S.cssHooks.marginLeft=
142Fe(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<4;t++)n[i+ne[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(S.cssHooks[i+o].set=Ye)}),S.fn.extend({css:function(e,t){return $(this,function(e,t,n){var r,
143i,o={},a=0;if(Array.isArray(t)){for(r=Re(e),i=t.length;a<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<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&&e.get?e.get(this):Ke.propHooks._default.get(this)},run:function(e){var t,
144n=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&&this.options.step.call(this.elem,this.now,this),n&&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]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=S.css(e.elem,
145e.prop,""))&&"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]&&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&&e.elem.parentNode&&(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)$/,
146it=/queueHooks$/;function ot(){et&&(!1===E.hidden&&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<4;r+=2-t)i["margin"+(n=ne[r])]=i["padding"+n]=e;return t&&(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<a;o++)if(r=i[o].call(n,t,e))return r}function lt(o,e,
147t){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<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:S.extend({},e),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},t),originalProperties:e,originalOptions:t,startTime:Ze||at(),duration:t.duration,
148tweens:[],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<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)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=S.cssHooks[r])&&"expand"in a)for(n in o=
149a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=lt.prefilters[r].call(l,o,c,l.opts))return m(n.stop)&&(S._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return S.map(c,ut,l),m(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),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,
150t);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<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&&ae(e),v=Y.get(e,"fxshow");for(r in n.queue||(null==(a=S._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,
151S.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&&v[r]||S.style(e,r)}if((u=!S.isEmptyObject(t))||!S.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=Y.get(e,"display")),"none"===(c=S.css(e,"display"))&&(l?c=l:(le([e],!0),l=e.style.display||l,c=S.css(e,"display"),le([e]))),("inline"===c||"inline-block"===
152c&&null!=l)&&"none"===S.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=Y.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&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,
153g&&(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&&"object"==typeof e?S.extend({},e):{complete:n||!n&&t||m(e)&&e,duration:e,easing:n&&t||t&&!m(t)&&t};return S.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in S.fx.speeds?r.duration=S.fx.speeds[r.duration]:r.duration=S.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){m(r.old)&&r.old.call(this),
154r.queue&&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"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||
155"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=S.timers,r=Y.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&it.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||S.dequeue(this,i)})},finish:function(a){return!1!==a&&(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&&r.stop&&r.stop.call(this,
156!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),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,
157r){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<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||S.fx.stop(),Ze=void 0}
vendor: 6,589 bytes, lines 157-170
157,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&&S.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=
158C.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<arguments.length)},removeAttr:function(e){return this.each(function(){S.removeAttr(this,e)})}}),S.extend({attr:function(e,
159t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?S.prop(e,t,n):(1===o&&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&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=S.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!y.radioValue&&"radio"===t&&A(e,"input")){var n=e.value;return e.setAttribute("type",
160t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(P);if(i&&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)||
161[]).join(" ")}function gt(e){return e.getAttribute&&e.getAttribute("class")||""}function vt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(P)||[]}S.fn.extend({prop:function(e,t){return $(this,S.prop,e,t,1<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&&8!==o&&2!==o)return 1===o&&S.isXMLDoc(e)||(t=S.propFix[t]||t,i=S.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,
162n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):pt.test(e.nodeName)||dt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),y.optSelected||(S.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),S.each(["tabIndex",
163"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&&" "+ht(i)+" "){a=0;while(o=e[a++])r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=ht(r))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,
164n,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&&" "+ht(i)+" "){a=0;while(o=e[a++])while(-1<r.indexOf(" "+o+" "))r=r.replace(" "+o+" "," ");i!==(s=ht(r))&&n.setAttribute("class",s)}return this},toggleClass:function(i,t){var o=typeof i,a="string"===o||Array.isArray(i);return"boolean"==typeof t&&a?t?this.addClass(i):this.removeClass(i):
165m(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&&"boolean"!==o||((e=gt(this))&&Y.set(this,"__className__",e),this.setAttribute&&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&&-1<(" "+ht(gt(n))+" ").indexOf(t))return!0;return!1}});
166var 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&&(null==(t=i?n.call(this,e,S(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=S.map(t,function(e){return null==e?"":e+""})),(r=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=S.valHooks[t.type]||S.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,
167"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<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!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,
168i=e.options,o=S.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<S.inArray(S.valHooks.option.get(r),o))&&(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<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()};
169S.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&&8!==n.nodeType&&!mt.test(d+S.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[S.expando]?e:new S.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=
170void 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&&!c.noBubble&&!x(n)){for(s=c.delegateType||d,mt.test(s+d)||
vendor: 18,645 bytes, lines 170-205
170(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||E)&&p.push(a.defaultView||a.parentWindow||C)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(Y.get(o,"events")||Object.create(null))[e.type]&&Y.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&V(o)&&
171(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!V(n)||u&&m(n[d])&&!x(n)&&((a=n[u])&&(n[u]=null),S.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,xt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,xt),S.event.triggered=void 0,a&&(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,
172t){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,
173r)-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&&t.getElementsByTagName("parsererror")[0],t&&!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;
174function 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&&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&&!S.isPlainObject(e))S.each(e,function(){i(this.name,this.value)});else for(n in e)At(n,e[n],
175t,i);return r.join("&")},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&&!S(this).is(":disabled")&&kt.test(this.nodeName)&&!St.test(e)&&(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")}}):
176{name:t.name,value:n.replace(Et,"\r\n")}}).get()}});var Nt=/%20/g,jt=/#.*$/,Dt=/([?&])_=[^&]*/,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&&(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,
177S.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Ft(e,t){var n,r,i=S.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&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,
178processData:!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,
179S.ajaxSettings),t):Ft(S.ajaxSettings,e)},ajaxPrefilter:It(Ot),ajaxTransport:It(Pt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,v=S.ajaxSetup({},t),y=v.context||v,m=v.context&&(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=
180n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),v.url=((e||v.url||bt.href)+"").replace(Ht,
181bt.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&&v.processData&&"string"!=typeof v.data&&(v.data=S.param(v.data,v.traditional)),Wt(Ot,v,t,T),h)return T;for(i in(g=S.event&&v.global)&&0==S.active++&&S.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),
182v.hasContent=!Lt.test(v.type),f=v.url.replace(jt,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(Nt,"+")):(o=v.url.slice(f.length),v.data&&(v.processData||"string"==typeof v.data)&&(f+=(Tt.test(f)?"&":"?")+v.data,delete v.data),!1===v.cache&&(f=f.replace(Dt,"$1"),o=(Tt.test(f)?"&":"?")+"_="+wt.guid++ +o),v.url=f+o),v.ifModified&&(S.lastModified[f]&&T.setRequestHeader("If-Modified-Since",S.lastModified[f]),S.etag[f]&&
183T.setRequestHeader("If-None-Match",S.etag[f])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+Rt+"; q=0.01":""):v.accepts["*"]),v.headers)T.setRequestHeader(i,v.headers[i]);if(v.beforeSend&&(!1===v.beforeSend.call(y,T,v)||h))return T.abort();if(u="abort",b.add(v.complete),T.done(v.success),T.fail(v.error),c=Wt(Pt,v,
184t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,v]),h)return T;v.async&&0<v.timeout&&(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&&C.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));
185if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(v,T,n)),!i&&-1<S.inArray("script",v.dataTypes)&&S.inArray("json",v.dataTypes)<0&&(v.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=
186t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&
187(S.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(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&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,v,i?o:a]),b.fireWith(y,[T,l]),g&&(m.trigger("ajaxComplete",[T,v]),--S.active||S.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return S.get(e,
188t,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)&&(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)&&e))}}),S.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(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(){}},
189dataFilter:function(e){S.globalEval(e,t,n)}})},S.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=S(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return 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)})},
190wrap: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();
191y.cors=!!$t&&"withCredentials"in $t,y.ajax=$t=!!$t,S.ajaxTransport(function(i){var o,a;if(y.cors||$t&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=
192r.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&&C.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&
193i.data||null)}catch(e){if(o)throw e;}},abort:function(){o&&o()}}}),S.ajaxPrefilter(function(e){e.crossDomain&&(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&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),S.ajaxTransport("script",function(n){var r,
194i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=S("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;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&&
195(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"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&&(e.url+=(Tt.test(e.url)?"&":"?")+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===
196i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(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&&[],(i=
197N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&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<s&&(r=ht(e.slice(s)),e=e.slice(0,s)),m(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&S.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?S("<div>").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,
198e])})}),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&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&
199(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();
200else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((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&&"static"===S.css(e,"position"))e=e.offsetParent;
201return 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&&(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"},
202function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(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)}})}),
203S.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(" "),
204function(e,n){S.fn[n]=function(e,t){return 0<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&&(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=
205X,S.type=w,S.now=Date.now,S.isNumeric=function(e){var t=S.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},S.trim=function(e){return null==e?"":(e+"").replace(Xt,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return S});var Vt=C.jQuery,Gt=C.$;return S.noConflict=function(e){return C.$===S&&(C.$=Gt),e&&C.jQuery===S&&(C.jQuery=Vt),S},"undefined"==typeof e&&(C.jQuery=C.$=S),S});var pb="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 qb(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var e=0;e<a.length;++e){var l=a[e];if(l&&l.Math==Math)return l}throw Error("Cannot find global object");}var rb=qb(this);
206function sb(a,e){if(e)a:{var l=rb;a=a.split(".");for(var m=0;m<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&&null!=e&&pb(l,a,{configurable:!0,writable:!0,value:e})}}
207sb("String.prototype.matchAll",function(a){return a?a:function(e){if(e instanceof RegExp&&!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,b={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]&&(l.lastIndex+=1);return{value:h,done:!1}}};b[Symbol.iterator]=function(){return b};return b}});
208(function(){function a(c){this.qp=c;this.Ss=null;this.Ec={}}function e(){this.Cj={};this.Cj[e.SCRIPT_URL]=[];this.Cj[e.THREE_JS_WEBGL_URL]="lib/ThreeWebGL.js";this.Cj[e.WEBVR_POLYFILL_URL]="lib/WebVRPolyfill.js";this.Cj[e.bla]="lib/webxr-polyfill.js";this.Cj[e.HLS_URL]="lib/Hls.js";this.Cj[e.jja]="lib/basis/";this.Cj[e.tja]="lib/draco/";this.Cj[e.CURSORS_DIR_URL]="lib/cursors";this.Cj[e.SERVICE_WORKER_URL]="tdvplayersw.js";this.Cj[e.qG]="lib/webxr-input-profiles/";this.Cj[e.BACKGROUND_PRELOAD_ENABLED]=
209void 0}function l(){this.PO=[];this.fZ=[];this.TTa=[];this.bU=null}function m(c){return"[object Array]"==Object.prototype.toString.call(c)}function k(c){return 0<=h.search(c.toLowerCase())}var b=window.TDV=window.TDV||{},h=navigator.userAgent.toLowerCase();l.prototype.getVersion=l.prototype.PAa=function(){return{MAJOR:"0",MINOR:"2004"}};l.prototype.getClassByName=function(){};l.prototype.cua=function(){if(this.bU)for(;0<this.PO.length;){var c=this.PO[0];this.PO=this.PO.slice(1);
210this.fZ.push(c);this.GNa(c)}};l.prototype.kra=function(c){var d=document.createElement("a");d.href=c;return d.href};l.prototype.XPa=function(){var c=document.currentScript;c||(c=document.getElementsByTagName("head")[0].getElementsByTagName("script"),c=c[c.length-1]);return this.kra(c.src)};l.prototype.GNa=function(c){var d=this,g=c.qp.get(e.SELECTED_SCRIPT_URL);setTimeout(function(){var p=document.createElement("script");p.type="text/javascript";p.src=g;document.getElementsByTagName("head")[0].appendChild(p);
211d.bU.d8a(c)},1)};l.prototype.defineScript=function(c){for(var d=[],g=this.XPa(),p=0;p<this.fZ.length;p++){var q=this.fZ[p],n=this.kra(q.qp.get(e.SELECTED_SCRIPT_URL));n==g?(q.qp.set(e.SCRIPT_DATA,c),q.z6a(new this.bU(q,q.qp)),this.TTa.push(q)):d.push(n)}this.fZ=d};l.prototype.create=l.prototype.create=function(c){var d=c.get(e.SCRIPT_URL);d=m(d)?this.OUa(d):"string"===typeof d?d:"script.js";c.set(e.SELECTED_SCRIPT_URL,d);c=new b.zka(c);this.PO.push(c);this.cua();return c};l.prototype.setPlayerClass=
212l.prototype.y6a=function(c){this.bU=c;this.cua();this.trigger({name:"classesReady",source:this})};l.prototype.bind=l.prototype.bind=function(c,d,g,p){this.Ec=this.Ec||{};this.Ec[c]=this.Ec[c]||[];this.Ec[c].push({handler:d,context:g,immediate:p||!1})};l.prototype.unbind=l.prototype.unbind=function(c,d,g,p){this.Ec&&c in this.Ec&&(this.Ec[c]=this.Ec[c].filter(function(q){return q.handler!=d||q.context!=g||q.immediate!=p}))};l.prototype.trigger=function(c){this.Ec&&c.name in this.Ec&&(this.yy(c,!0),
213setTimeout(function(){this.yy(c,!1)}.bind(this),0))};l.prototype.yy=function(c,d){c.unbindCurrentHandler=function(){}.bind(this);for(var g=this.Ec[c.name],p=0;p<g.length;p++)if(g[p].immediate==d)try{g[p].handler.call(g[p].context||window,c)}catch(q){setTimeout(function(){throw q;},0)}};l.prototype.getOrientation=l.prototype.pr=function(){var c=screen.orientation&&screen.orientation.type||window.orientation;return"portrait-primary"==c||"portrait-secondary"==c||0===c||180==c?b.sb.H4:"landscape-primary"==
214c||"landscape-secondary"==c||90==c||-90==c?b.sb.G4:window.innerWidth<window.innerHeight?b.sb.H4:b.sb.G4};l.prototype.OUa=function(c){if(0<c.length){for(var d=0;d<c.length;d++){var g=c[d];if(m(g)){if(this.uwa(g[0]))return g[1]}else if("string"===typeof g)return g}return c[0][1]}return"script.js"};l.prototype.uwa=function(c){if("string"===typeof c){var d=c.match(/^\s*default\s*$/);if(d)return!0;
214if(d=c.match(/^\s*os\s*=\s*(\w+)\s*$/))return this.Jd==d[1].toLowerCase();if(d=c.match(/^\s*browser\s*=\s*(\w+)\s*$/))return this.browser==
215d[1].toLowerCase();if(d=c.match(/^\s*device\s*=\s*(\w+)\s*$/))return this.IE==d[1].toLowerCase();if(d=c.match(/^\s*screen_size\s*(<|>|=|<=|>=)\s*(\d+)\s*x\s*(\d+)\s*$/)){c=parseInt(d[2]);var g=parseInt(d[3]);switch(d[1]){case "<":var p=function(q,n){return q<n};break;case ">":p=function(q,n){return q>n};break;case "=":p=function(q,n){return q==n};break;case "<=":p=function(q,n){return q<=n};break;case ">=":p=function(q,n){return q>=n}}return p(screen.width,c)&&p(screen.height,g)||this.mobile&&p(screen.width,
216g)&&p(screen.height,c)}return!1}if(m(c)){for(d=0;d<c.length;d++)if(!this.uwa(c[d]))return!1;return!0}return!1};l.prototype.ORIENTATION_LANDSCAPE=l.prototype.G4="landscape";l.prototype.ORIENTATION_PORTRAIT=l.prototype.H4="portrait";l.prototype.OS_IOS=l.prototype.PT="ios";l.prototype.OS_ANDROID=l.prototype.I4="android";l.prototype.OS_WINDOWS=l.prototype.rka="windows";l.prototype.OS_WINDOWS_PHONE=l.prototype.M4="windows_phone";l.prototype.OS_MACOSX=l.prototype.J4="osx";l.prototype.OS_LINUX=l.prototype.qka=
217"linux";l.prototype.OS_QNX=l.prototype.L4="qnx";l.prototype.OS_OTHER=l.prototype.K4="other";l.prototype.BROWSER_TYPE_WEBKIT=l.prototype.oL="webkit";l.prototype.BROWSER_TYPE_OPERA=l.prototype.A3="opera";l.prototype.BROWSER_TYPE_MSIE=l.prototype.z3="msie";l.prototype.BROWSER_TYPE_MOZILLA=l.prototype.y3="mozilla";l.prototype.BROWSER_TYPE_OTHER=l.prototype.B3="other";l.prototype.BROWSER_SAFARI_IOS=l.prototype.li="safari_ios";l.prototype.BROWSER_OPERA=l.prototype.vT="opera";l.prototype.BROWSER_SAFARI=
218l.prototype.Hm="safari";l.prototype.BROWSER_CHROME=l.prototype.Gm="chrome";l.prototype.BROWSER_EDGE=l.prototype.UF="edge";l.prototype.BROWSER_MSIE=l.prototype.Hx="msie";l.prototype.BROWSER_ANDROID=l.prototype.uT="android";l.prototype.BROWSER_MOZILLA=l.prototype.Rr="mozilla";l.prototype.BROWSER_OTHER=l.prototype.w3="other";l.prototype.BROWSER_SUBTYPE_SAMSUNG_INTERNET=l.prototype.nL="samsunginternet";l.prototype.BROWSER_SUBTYPE_OCULUS_BROWSER=l.prototype.sp="oculusbrowser";l.prototype.BROWSER_SUBTYPE_PICO_BROWSER=
219l.prototype.Jx="picobrowser";l.prototype.BROWSER_SUBTYPE_SAMSUNG_INTERNET_FOR_GEAR_VR=l.prototype.zT="samsunginternetgearvr";l.prototype.BROWSER_SUBTYPE_MI_BROWSER=l.prototype.x3="mibrowser";l.prototype.BROWSER_SUBTYPE_CHROME_IOS=l.prototype.wT="chromeios";l.prototype.BROWSER_SUBTYPE_SAFARI_IOS=l.prototype.lL="safari_ios";l.prototype.BROWSER_SUBTYPE_CHROME_WEBVIEW=l.prototype.VF="chrome_webview";l.prototype.BROWSER_SUBTYPE_SAFARI_WEBVIEW=l.prototype.mL="safari_webview";l.prototype.BROWSER_SUBTYPE_TOUR_LAUNCHER=
220l.prototype.Kx="tour_launcher";l.prototype.BROWSER_SUBTYPE_CHROMIUM_EDGE=l.prototype.VF="chromium_edge";l.prototype.BROWSER_SUBTYPE_FIREFOX_REALITY=l.prototype.Ix="firefox_reality";l.prototype.BROWSER_SUBTYPE_VR_APP=l.prototype.Sr="vrapp";l.prototype.BROWSER_SUBTYPE_XR_APP=l.prototype.Lx="xrapp";l.prototype.BROWSER_SUBTYPE_FACEBOOK_IOS_WEBVIEW=l.prototype.xT="facebook_ios_webview";l.prototype.BROWSER_SUBTYPE_OTHER=l.prototype.yT="other";l.prototype.BROWSER_VERSION_UNKNOWN=l.prototype.C3=-1;l.prototype.DEVICE_IPHONE=
221l.prototype.F3="iphone";l.prototype.DEVICE_IPAD=l.prototype.rL="ipad";l.prototype.DEVICE_IPOD=l.prototype.G3="ipod";l.prototype.DEVICE_OTHER=l.prototype.H3="other";l.prototype.os=l.prototype.Jd=k("iphone")||k("ipad")||k("ipod")?l.prototype.PT:k("qnx")?l.prototype.L4:k("android")||k("oculusbrowser")&&k("linux")?l.prototype.I4:k("windows phone")?l.prototype.M4:k("windows")?l.prototype.rka:k("mac_powerpc")?l.prototype.J4:k("macintosh")?1<navigator.maxTouchPoints?l.prototype.PT:l.prototype.J4:k("linux")||
222k("x11")?l.prototype.qka:l.prototype.K4;l.prototype.browser=l.prototype.browser=k("ipad")||k("iphone")||k("ipod")||k("macintosh")&&1<navigator.maxTouchPoints?l.prototype.li:k("opera")?l.prototype.vT:k("edge")?l.prototype.UF:k("chrome")||k("crmo")?l.prototype.Gm:k("safari")?l.prototype.Hm:k("trident")||k("msie")?l.prototype.Hx:!k("compatible")&&k("mozilla")?l.prototype.Rr:k("android")?l.prototype.uT:l.prototype.w3;l.prototype.browserType=l.prototype.CJ=l.prototype.browser==l.prototype.li||l.prototype.browser==
223l.prototype.Gm||l.prototype.browser==l.prototype.uT||l.prototype.browser==l.prototype.Hm||k("webkit")?l.prototype.oL:l.prototype.browser==l.prototype.vT||k("opera")?l.prototype.A3:k("trident")||k("msie")?l.prototype.z3:!k("compatible")&&k("mozilla")?l.prototype.y3:l.prototype.B3;l.prototype.browserSubtype=l.prototype.mc=window.location.hash&&0<=window.location.hash.indexOf("xrapp")?l.prototype.Lx:window.location.hash&&0<=window.location.hash.indexOf("vrapp")?l.prototype.Sr:k("picobrowser")?l.prototype.Jx:
224k("oculusbrowser")?l.prototype.sp:k("xiaomi")||k("miui")?l.prototype.x3:k("samsungbrowser")&&k("android")?k("mobile vr")?l.prototype.zT:l.prototype.nL:k("ipad")||k("iphone")||k("ipod")?k("crios")?l.prototype.wT:k("fban")||k("fbav")?l.prototype.xT:k("safari")&&k("version")&&!navigator.standalone?l.prototype.lL:l.prototype.mL:k("electron")?l.prototype.Kx:k("chrome")&&k("wv")?l.prototype.VF:k("edg/")?l.prototype.lja:!k("compatible")&&k("mozilla")&&k("mobile vr")?l.prototype.Ix:l.prototype.yT;l.prototype.browserVersion=
225l.prototype.Oya=function(){if(l.prototype.browser==l.prototype.Hx){var c=h.match(RegExp("MSIE ([0-9]{1,}[.0-9]{0,})"));if(null!=c)return parseFloat(c[1]);c=h.match(RegExp("Trident/.*rv:([0-9]{1,}[.0-9]{0,})"));if(null!=c)return parseFloat(c[1])}return l.prototype.C3}();l.prototype.device=l.prototype.IE=k("ipad")||k("macintosh")&&1<navigator.maxTouchPoints?l.prototype.rL:k("iphone")?l.prototype.F3:k("ipod")?l.prototype.G3:l.prototype.H3;a:{switch(l.prototype.Jd){case l.prototype.I4:case l.prototype.PT:case l.prototype.M4:case l.prototype.L4:var f=
226!0;break a}f=!1}l.prototype.mobile=l.prototype.mobile=f;b.PlayerAPI=b.sb=new l;e.prototype.append=e.prototype.append=function(c,d,g){c==e.SCRIPT_URL&&("undefined"==typeof g&&(g=d,d="default"),d=[d,g]);m(this.Cj[c])||(this.Cj[c]=[]);this.Cj[c].push(d)};e.prototype.set=e.prototype.set=function(c,d){this.Cj[c]=d};e.prototype.get=e.prototype.get=function(c){return this.Cj[c]};e.SCRIPT_URL=e.SCRIPT_URL="ScriptURL";e.SCRIPT_DATA=e.SCRIPT_DATA="ScriptData";e.FLASH_EXPRESS_INSTALLER_URL=e.FLASH_EXPRESS_INSTALLER_URL=
227"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.THREE_JS_WEBGL_URL=e.THREE_JS_WEBGL_URL="ThreeJSWebGLURL";e.WEBVR_POLYFILL_URL=e.WEBVR_POLYFILL_URL="WebVRPolyfillURL";e.WEBXR_POLYFILL_URL=e.bla="WebXRPolyfillURL";e.WEBXR_INPUT_PROFILES_DIR_URL=e.qG="WebXRInputProfilesDirURL";e.CAPTURA_VIEWER_URL=
228e.CAPTURA_VIEWER_URL="CapturaViewerURL";e.DASH_URL=e.DASH_URL="DashURL";e.HLS_URL=e.HLS_URL="HlsURL";e.BASIS_URL=e.jja="BasisURL";e.DRACO_URL=e.tja="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="Backgroun
228dPreloadEnabled";
229e.ACTIVE_VIDEO_ELEMENT=e.ACTIVE_VIDEO_ELEMENT="ActiveVideoElement";e.SERVICE_WORKER_URL=e.SERVICE_WORKER_URL="ServiceWorkerURL";e.PINCH_TO_ZOOM_ENABLED=e.BIa="PinchToZoomEnabled";b.PlayerSettings=b.PlayerSettings=e;b.PlayerEvent=b.ST=function(c,d,g,p){this.name=c;this.data=this.originalEvent=d;this.sourceClassName=g[g.length-1];this.sourceClassPath=g;this.sourceId=p};a.prototype.z6a=function(c){this.Ss=c};a.prototype["delete"]=function(){this.Ss&&(this.Ss.clear(),this.Ss=null)};a.prototype.getById=
230a.prototype.tA=function(c){return this.Ss?this.Ss.P1a(c):null};a.prototype.getByClassName=a.prototype.Ni=function(c){return this.Ss?this.Ss.Ni(c):[]};a.prototype.createInstance=a.prototype.pm=function(c){return this.Ss.pm(c)};a.prototype.disposeInstance=a.prototype.JJ=function(c){return this.Ss.JJ(c)};a.prototype.bind=a.prototype.bind=function(c,d,g,p){var q=c.split(":");c=q[0];q=1<q.length?q[1]:"*";this.Ec[c]=this.Ec[c]||{};this.Ec[c][q]=this.Ec[c][q]||[];this.Ec[c][q].push({handler:d,context:g,
231immediate:p});return this};a.prototype.unbind=a.prototype.unbind=function(c,d,g,p){var q=c.split(":");c=q[0];q=1<q.length?q[1]:"*";if(c in this.Ec&&q in this.Ec[c]){for(var n=[],r=this.Ec[c][q],u=0;u<r.length;u++){var t=r[u];t.handler==d&&t.context==g&&t.immediate==p||n.push(t)}this.Ec[c][q]=n}};a.prototype.bindOnObject=function(c,d,g,p,q){return this.bind(d+":"+this.G8(c),g,p,q)};a.prototype.unbindOnObject=function(c,d,g,p,q){return this.unbind(d+":"+this.G8(c),g,p,q)};a.prototype.bindOnObjectsOf=
232function(c,d,g,p,q){return this.bind(d+":"+this.v8(c),g,p,q)};a.prototype.unbindOnObjectsOf=function(c,d,g,p,q){return this.unbind(d+":"+this.v8(c),g,p,q)};a.prototype.cookiesEnabled=a.prototype.U_a=!1;a.DEFAULT_PANORAMA_HFOV=a.uHa=l.prototype.mobile?90:110;a.prototype.trigger=function(c){if(c.name in this.Ec){this.yy(c,!0);var d=this;setTimeout(function(){d.yy(c,!1)},0)}};a.prototype.yy=function(c,d){d=this.kPa(c,d);for(var g=0;g<d.length;g++)try{d[g].handler.call(d[g].context||window,c)}catch(p){console.log("Exception handling event "+
233(c&&c.name),p.message,p.stack)}};a.prototype.kPa=function(c,d){var g=[];if(c.name in this.Ec){for(var p=[],q=0;q<c.sourceClassPath.length;q++)p.push(this.v8(c.sourceClassPath[q]));c.sourceId&&p.push(this.G8(c.sourceId));p.push("*");c=this.Ec[c.name];for(q=0;q<p.length;q++)for(var n=c[p[q]]||[],r=0;r<n.length;r++)!!n[r].immediate==!!d&&g.push(n[r])}return g};a.prototype.G8=function(c){return"instance("+c+")"};a.prototype.v8=function(c){return"className("+c+")"};b.Player=b.zka=a})();
234var Z=this&&this.A9a||function(){function a(e,l){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,k){m.__proto__=k}||function(m,k){for(var b in k)Object.prototype.hasOwnProperty.call(k,b)&&(m[b]=k[b])};return a(e,l)}return function(e,l){function m(){this.constructor=e}if("function"!==typeof l&&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)}}();
235define("jquery.mod",["require","jquery"],function(a){return a("jquery").noConflict(!0)});
236(function(){var a=window.TDV||(window.TDV={});(function(){(function(){function e(F,N){return F.DLa?r(N).chain():N}function l(F){return"\\"+da[F]}function m(F){function N(V){return F[V]}var R="(?:"+r.keys(F).join("|")+")",L=RegExp(R),P=RegExp(R,"g");return function(V){return V=null==V?"":""+V,L.test(V)?V.replace(P,N):V}}function k(F,N,R,L){if(F===N)return 0!==F||1/F===1/N;if(null==F||null==N)return F===N;F instanceof r&&(F=F.xE);N instanceof r&&(N=N.xE);var P=G.call(F);if(P!==G.call(N))return!1;switch(P){case "[object RegExp]":case "[object String]":return""+
237F==""+N;case "[object Number]":return+F!==+F?+N!==+N:0===+F?1/+F===1/N:+F===+N;case "[object Date]":case "[object Boolean]":return+F===+N}P="[object Array]"===P;if(!P){if("object"!=typeof F||"object"!=typeof N)return!1;var V=F.constructor,aa=N.constructor;if(V!==aa&&!(r.isFunction(V)&&V instanceof V&&r.isFunction(aa)&&aa instanceof aa)&&"constructor"in F&&"constructor"in N)return!1}R=R||[];L=L||[];for(V=R.length;V--;)if(R[V]===F)return L[V]===N;
237if(R.push(F),L.push(N),P){if(V=F.length,V!==N.length)return!1;
238for(;V--;)if(!k(F[V],N[V],R,L))return!1}else{var ba;P=r.keys(F);if(V=P.length,r.keys(N).length!==V)return!1;for(;V--;)if(ba=P[V],!r.has(N,ba)||!k(F[ba],N[ba],R,L))return!1}return R.pop(),L.pop(),!0}function b(F,N,R,L,P){if(!(L instanceof N))return F.apply(R,P);N=g(F.prototype);F=F.apply(N,P);return r.nK(F)?F:N}function h(F,N,R,L){var P=[],V=0;L=L||0;for(var aa=X(F);aa>L;L++){var ba=F[L];if(c(ba)&&(r.isArray(ba)||r.isArguments(ba))){N||(ba=h(ba,N,R));var fa=0,ha=ba.length;for(P.length+=ha;ha>fa;)P[V++]=
239ba[fa++]}else R||(P[V++]=ba)}return P}function f(F){return function(N,R,L){var P={};return R=q(R,L),r.each(N,function(V,aa){aa=R(V,aa,N);F(P,V,aa)}),P}}function c(F){F=X(F);return"number"==typeof F&&0<=F&&T>=F}function d(F){return function(N){return null==N?void 0:N[F]}}function g(F){if(!r.nK(F))return{};if(U)return U(F);u.prototype=F;F=new u;return u.prototype=null,F}function p(F,N){return function(R){var L=arguments.length;if(2>L||null==R)return R;for(var P=1;L>P;P++)for(var V=arguments[P],aa=F(V),
240ba=aa.length,fa=0;ba>fa;fa++){var ha=aa[fa];N&&void 0!==R[ha]||(R[ha]=V[ha])}return R}}function q(F,N,R){return null==F?r.identity:r.isFunction(F)?n(F,N,R):r.nK(F)?r.k3a(F):r.bEa(F)}function n(F,N,R){if(void 0===N)return F;switch(null==R?3:R){case 1:return function(L){return F.call(N,L)};case 2:return function(L,P){return F.call(N,L,P)};case 3:return function(L,P,V){return F.call(N,L,P,V)};case 4:return function(L,P,V,aa){return F.call(N,L,P,V,aa)}}return function(){return F.apply(N,arguments)}}function r(F){return F instanceof
241r?F:this instanceof r?void(this.xE=F):new r(F)}function u(){}function t(F){return function(N,R,L,P){R=n(R,P,4);var V=!c(N)&&r.keys(N),aa=(V||N).length,ba=0<F?0:aa-1;3>arguments.length&&(L=N[V?V[ba]:ba],ba+=F);for(var fa=R,ha=L;0<=ba&&aa>ba;ba+=F){var ia=V?V[ba]:ba;ha=fa(ha,N[ia],ia,N)}return ha}}function v(F){return function(N,R,L){R=q(R,L);L=X(N);for(var P=0<F?0:L-1;0<=P&&L>P;P+=F)if(R(N[P],P,N))return P;return-1}}function w(F,N,R){return function(L,P,V){var aa=0,ba=X(L);if("number"==typeof V)0<
242F?aa=0<=V?V:Math.max(V+ba,aa):ba=0<=V?Math.min(V+1,ba):V+ba+1;else if(R&&V&&ba)return V=R(L,P),L[V]===P?V:-1;if(P!==P)return V=N(E.call(L,aa,ba),r.isNaN),0<=V?V+aa:-1;for(V=0<F?aa:ba-1;0<=V&&ba>V;V+=F)if(L[V]===P)return V;return-1}}function x(F,N){var R=M.length,L=F.constructor;L=r.isFunction(L)&&L.prototype||A;var P="constructor";for(r.has(F,P)&&!r.contains(N,P)&&N.push(P);R--;)P=M[R],P in F&&F[P]!==L[P]&&!r.contains(N,P)&&N.push(P)}var y=this,z=y._,C=Array.prototype,A=Object.prototype,B=C.push,
243E=C.slice,G=A.toString,K=A.hasOwnProperty,I=Array.isArray,Q=Object.keys,W=Function.prototype.bind,U=Object.create;"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=r),exports._=r):y._=r;r.VERSION="1.8.3";var T=Math.pow(2,53)-1,X=d("length");r.each=r.forEach=function(F,N,R){N=n(N,R);var L;if(c(F))for(R=0,L=F.length;L>R;R++)N(F[R],R,F);else{var P=r.keys(F);R=0;for(L=P.length;L>R;R++)N(F[P[R]],P[R],F)}return F};r.map=function(F,N,R){N=q(N,R);R=!c(F)&&r.keys(F);
244for(var L=(R||F).length,P=Array(L),V=0;L>V;V++){var aa=R?R[V]:V;P[V]=N(F[aa],aa,F)}return P};r.reduce=t(1);r.reduceRight=t(-1);r.find=r.detect=function(F,N,R){var L;return L=c(F)?r.findIndex(F,N,R):r.I0a(F,N,R),void 0!==L&&-1!==L?F[L]:void 0};r.filter=r.select=function(F,N,R){var L=[];return N=q(N,R),r.each(F,function(P,V,aa){N(P,V,aa)&&L.push(P)}),L};r.reject=function(F,N,R){return r.filter(F,r.negate(q(N)),R)};r.every=r.all=function(F,N,R){N=q(N,R);R=!c(F)&&r.keys(F);for(var L=(R||F).length,P=0;L>
245P;P++){var V=R?R[P]:P;if(!N(F[V],V,F))return!1}return!0};r.some=r.any=function(F,N,R){N=q(N,R);R=!c(F)&&r.keys(F);for(var L=(R||F).length,P=0;L>P;P++){var V=R?R[P]:P;if(N(F[V],V,F))return!0}return!1};r.contains=r.includes=r.include=function(F,N,R,L){return c(F)||(F=r.values(F)),("number"!=typeof R||L)&&(R=0),0<=r.indexOf(F,N,R)};r.invoke=function(F,N){var R=E.call(arguments,2),L=r.isFunction(N);return r.map(F,function(P){var V=L?N:P[N];return null==V?V:V.apply(P,R)})};r.pluck=function(F,N){return r.map(F,
246r.bEa(N))};r.max=function(F,N,R){var L,P=-1/0,V=-1/0;
246if(null==N&&null!=F){F=c(F)?F:r.values(F);for(var aa=0,ba=F.length;ba>aa;aa++)R=F[aa],R>P&&(P=R)}else N=q(N,R),r.each(F,function(fa,ha,ia){L=N(fa,ha,ia);(L>V||L===-1/0&&P===-1/0)&&(P=fa,V=L)});return P};r.min=function(F,N,R){var L,P=1/0,V=1/0;if(null==N&&null!=F){F=c(F)?F:r.values(F);for(var aa=0,ba=F.length;ba>aa;aa++)R=F[aa],P>R&&(P=R)}else N=q(N,R),r.each(F,function(fa,ha,ia){L=N(fa,ha,ia);(V>L||1/0===L&&1/0===P)&&(P=fa,V=L)});return P};r.p7a=
247function(F){for(var N=c(F)?F:r.values(F),R=N.length,L=Array(R),P=0;R>P;P++)F=r.random(0,P),F!==P&&(L[P]=L[F]),L[F]=N[P];return L};r.sample=function(F,N,R){return null==N||R?(c(F)||(F=r.values(F)),F[r.random(F.length-1)]):r.p7a(F).slice(0,Math.max(0,N))};r.sortBy=function(F,N,R){return N=q(N,R),r.pluck(r.map(F,function(L,P,V){return{value:L,index:P,oza:N(L,P,V)}}).sort(function(L,P){var V=L.oza,aa=P.oza;if(V!==aa){if(V>aa||void 0===V)return 1;if(aa>V||void 0===aa)return-1}return L.index-P.index}),
248"value")};r.groupBy=f(function(F,N,R){r.has(F,R)?F[R].push(N):F[R]=[N]});f(function(F,N,R){F[R]=N});f(function(F,N,R){r.has(F,R)?F[R]++:F[R]=1});r.toArray=function(F){return F?r.isArray(F)?E.call(F):c(F)?r.map(F,r.identity):r.values(F):[]};r.size=function(F){return null==F?0:c(F)?F.length:r.keys(F).length};r.first=r.head=function(F,N,R){return null==F?void 0:null==N||R?F[0]:r.initial(F,F.length-N)};r.initial=function(F,N,R){return E.call(F,0,Math.max(0,F.length-(null==N||R?1:N)))};r.last=function(F,
249N,R){return null==F?void 0:null==N||R?F[F.length-1]:r.rest(F,Math.max(0,F.length-N))};r.rest=function(F,N,R){return E.call(F,null==N||R?1:N)};r.compact=function(F){return r.filter(F,r.identity)};r.flatten=function(F,N){return h(F,N,!1)};r.without=function(F){return r.difference(F,E.call(arguments,1))};r.uniq=r.unique=function(F,N,R,L){r.isBoolean(N)||(L=R,R=N,N=!1);null!=R&&(R=q(R,L));L=[];for(var P=[],V=0,aa=X(F);aa>V;V++){var ba=F[V],fa=R?R(ba,V,F):ba;N?(V&&P===fa||L.push(ba),P=fa):R?r.contains(P,
250fa)||(P.push(fa),L.push(ba)):r.contains(L,ba)||L.push(ba)}return L};r.union=function(){return r.uniq(h(arguments,!0,!0))};r.intersection=function(F){for(var N=[],R=arguments.length,L=0,P=X(F);P>L;L++){var V=F[L];if(!r.contains(N,V)){for(var aa=1;R>aa&&r.contains(arguments[aa],V);aa++);aa===R&&N.push(V)}}return N};r.difference=function(F){var N=h(arguments,!0,!0,1);return r.filter(F,function(R){return!r.contains(N,R)})};r.zip=function(){return r.i8a(arguments)};r.i8a=function(F){for(var N=F&&r.max(F,
251X).length||0,R=Array(N),L=0;N>L;L++)R[L]=r.pluck(F,L);return R};r.object=function(F,N){for(var R={},L=0,P=X(F);P>L;L++)N?R[F[L]]=N[L]:R[F[L][0]]=F[L][1];return R};r.findIndex=v(1);r.J0a=v(-1);r.sortedIndex=function(F,N,R,L){R=q(R,L,1);N=R(N);L=0;for(var P=X(F);P>L;){var V=Math.floor((L+P)/2);R(F[V])<N?L=V+1:P=V}return L};r.indexOf=w(1,r.findIndex,r.sortedIndex);r.lastIndexOf=w(-1,r.J0a);r.range=function(F,N,R){null==N&&(N=F||0,F=0);R=R||1;N=Math.max(Math.ceil((N-F)/R),0);for(var L=Array(N),P=0;N>
252P;P++,F+=R)L[P]=F;return L};r.bind=function(F,N){function R(){return b(F,R,N,this,L.concat(E.call(arguments)))}if(W&&F.bind===W)return W.apply(F,E.call(arguments,1));if(!r.isFunction(F))throw new TypeError("Bind must be called on a function");var L=E.call(arguments,2);return R};r.iha=function(F){function N(){for(var L=0,P=R.length,V=Array(P),aa=0;P>aa;aa++)V[aa]=R[aa]===r?arguments[L++]:R[aa];for(;L<arguments.length;)V.push(arguments[L++]);return b(F,N,this,this,V)}var R=E.call(arguments,1);return N};
253r.bindAll=function(F){var N,R=arguments.length;if(1>=R)throw Error("bindAll must be passed function names");for(N=1;R>N;N++){var L=arguments[N];F[L]=r.bind(F[L],F)}return F};r.memoize=function(F,N){function R(L){var P=R.cache,V=""+(N?N.apply(this,arguments):L);return r.has(P,V)||(P[V]=F.apply(this,arguments)),P[V]}return R.cache={},R};r.delay=function(F,N){var R=E.call(arguments,2);return setTimeout(function(){return F.apply(null,R)},N)};r.defer=r.iha(r.delay,r,1);r.throttle=function(F,N,R){function L(){fa=
254!1===R.h3a?0:r.now();ba=null;aa=F.apply(P,V);ba||(P=V=null)}var P,V,aa,ba=null,fa=0;R||(R={});return function(){var ha=r.now();fa||!1!==R.h3a||(fa=ha);var ia=N-(ha-fa);return P=this,V=arguments,0>=ia||ia>N?(ba&&(clearTimeout(ba),ba=null),fa=ha,aa=F.apply(P,V),ba||(P=V=null)):ba||!1===R.x$a||(ba=setTimeout(L,ia)),aa}};r.debounce=function(F,N,R){function L(){var ha=r.now()-ba;N>ha&&0<=ha?P=setTimeout(L,N-ha):(P=null,R||(fa=F.apply(aa,V),P||(aa=V=null)))}var P,V,aa,ba,fa;return function(){aa=this;V=
255arguments;ba=r.now();var ha=R&&!P;return P||(P=setTimeout(L,N)),ha&&(fa=F.apply(aa,V),aa=V=null),fa}};r.wrap=function(F,N){return r.iha(N,F)};r.negate=function(F){return function(){return!F.apply(this,arguments)}};r.compose=function(){var F=arguments,N=F.length-1;return function(){for(var R=N,L=F[N].apply(this,arguments);R--;)L=F[R].call(this,L);return L}};r.after=function(F,N){return function(){return 1>--F?N.apply(this,arguments):void 0}};r.before=function(F,N){var R;return function(){return 0<
256--F&&(R=N.apply(this,arguments)),1>=F&&(N=null),R}};r.once=r.iha(r.before,2);var D=!{toString:null}.propertyIsEnumerable("toString"),M="valueOf isPrototypeOf toString propertyIsEnumerable hasOwnProperty toLocaleStr
256ing".split(" ");r.keys=function(F){if(!r.nK(F))return[];if(Q)return Q(F);var N=[],R;for(R in F)r.has(F,R)&&N.push(R);return D&&x(F,N),N};r.Dea=function(F){if(!r.nK(F))return[];var N=[],R;for(R in F)N.push(R);return D&&x(F,N),N};r.values=function(F){for(var N=r.keys(F),R=N.length,L=Array(R),
257P=0;R>P;P++)L[P]=F[N[P]];return L};r.invert=function(F){for(var N={},R=r.keys(F),L=0,P=R.length;P>L;L++)N[F[R[L]]]=R[L];return N};r.functions=r.methods=function(F){var N=[],R;for(R in F)r.isFunction(F[R])&&N.push(R);return N.sort()};r.extend=p(r.Dea);r.Jza=r.assign=p(r.keys);r.I0a=function(F,N,R){N=q(N,R);var L;R=r.keys(F);for(var P=0,V=R.length;V>P;P++)if(L=R[P],N(F[L],L,F))return L};r.f2=function(F,N,R){var L,P,V={},aa=F;if(null==aa)return V;r.isFunction(N)?(P=r.Dea(aa),L=n(N,R)):(P=h(arguments,
258!1,!1,1),L=function(ja,ka,la){return ka in la},aa=Object(aa));for(var ba=0,fa=P.length;fa>ba;ba++){var ha=P[ba],ia=aa[ha];L(ia,ha,aa)&&(V[ha]=ia)}return V};r.defaults=p(r.Dea,!0);r.create=function(F,N){F=g(F);return N&&r.Jza(F,N),F};r.clone=function(F){return r.nK(F)?r.isArray(F)?F.slice():r.extend({},F):F};r.tap=function(F,N){return N(F),F};r.U2a=function(F,N){var R=r.keys(N),L=R.length;if(null==F)return!L;F=Object(F);for(var P=0;L>P;P++){var V=R[P];if(N[V]!==F[V]||!(V in F))return!1}return!0};r.isEqual=
259function(F,N){return k(F,N)};r.isEmpty=function(F){return null==F?!0:c(F)&&(r.isArray(F)||r.isString(F)||r.isArguments(F))?0===F.length:0===r.keys(F).length};r.isElement=function(F){return!(!F||1!==F.nodeType)};r.isArray=I||function(F){return"[object Array]"===G.call(F)};r.nK=function(F){var N=typeof F;return"function"===N||"object"===N&&!!F};r.each("Arguments Function String Number Date RegExp Error".split(" "),function(F){r["is"+F]=function(N){return G.call(N)==="[object "+F+"]"}});r.isArguments(arguments)||
260(r.isArguments=function(F){return r.has(F,"callee")});"function"!=typeof/./&&"object"!=typeof Int8Array&&(r.isFunction=function(F){return"function"==typeof F||!1});r.isFinite=function(F){return isFinite(F)&&!isNaN(parseFloat(F))};r.isNaN=function(F){return r.isNumber(F)&&F!==+F};r.isBoolean=function(F){return!0===F||!1===F||"[object Boolean]"===G.call(F)};r.isNull=function(F){return null===F};r.isUndefined=function(F){return void 0===F};r.has=function(F,N){return null!=F&&K.call(F,N)};r.noConflict=
261function(){return y._=z,this};r.identity=function(F){return F};r.constant=function(F){return function(){return F}};r.noop=function(){};r.bEa=d;r.k3a=r.matches=function(F){return F=r.Jza({},F),function(N){return r.U2a(N,F)}};r.times=function(F,N,R){var L=Array(Math.max(0,F));N=n(N,R,1);for(R=0;F>R;R++)L[R]=N(R);return L};r.random=function(F,N){return null==N&&(N=F,F=0),F+Math.floor(Math.random()*(N-F+1))};r.now=Date.now||function(){return(new Date).getTime()};I={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;",
262"'":"&#x27;","`":"&#x60;"};var S=r.invert(I);r.escape=m(I);r.unescape=m(S);r.result=function(F,N,R){N=null==F?void 0:F[N];return void 0===N&&(N=R),r.isFunction(N)?N.call(F):N};var Y=0;r.uniqueId=function(F){var N=++Y+"";return F?F+N:N};r.V7a={evaluate:/<%([\s\S]+?)%>/g,H2a:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var ca=/(.)^/,da={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},ea=/\\|'|\r|\n|\u2028|\u2029/g;r.template=function(F,N,R){function L(ba){return aa.call(this,
263ba,r)}!N&&R&&(N=R);N=r.defaults({},N,r.V7a);var P=0,V="__p+='";F.replace(RegExp([(N.escape||ca).source,(N.H2a||ca).source,(N.evaluate||ca).source].join("|")+"|$","g"),function(ba,fa,ha,ia,ja){return V+=F.slice(P,ja).replace(ea,l),P=ja+ba.length,fa?V+="'+\n((__t=("+fa+"))==null?'':_.escape(__t))+\n'":ha?V+="'+\n((__t=("+ha+"))==null?'':__t)+\n'":ia&&(V+="';\n"+ia+"\n__p+='"),ba});V+="';\n";N.SGa||(V="with(obj||{}){\n"+V+"}\n");V="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+
264V+"return __p;\n";try{var aa=new Function(N.SGa||"obj","_",V)}catch(ba){throw ba.source=V,ba;}return L.source="function("+(N.SGa||"obj")+"){\n"+V+"}",L};r.chain=function(F){F=r(F);return F.DLa=!0,F};r.mixin=function(F){r.each(r.functions(F),function(N){var R=r[N]=F[N];r.prototype[N]=function(){var L=[this.xE];return B.apply(L,arguments),e(this,R.apply(r,L))}})};r.mixin(r);r.each("pop push reverse shift sort splice unshift".split(" "),function(F){var N=C[F];r.prototype[F]=function(){var R=this.xE;
265return N.apply(R,arguments),"shift"!==F&&"splice"!==F||0!==R.length||delete R[0],e(this,R)}});r.each(["concat","join","slice"],function(F){var N=C[F];r.prototype[F]=function(){return e(this,N.apply(this.xE,arguments))}});r.prototype.value=function(){return this.xE};r.prototype.valueOf=r.prototype.toJSON=r.prototype.value;r.prototype.toString=function(){return""+this.xE};"function"==typeof define&&define.T9a&&define("py",[],function(){return r})}).call(this)}).call(a)})();define("underscore-min",function(){});
266define("en",["require","underscore-min"],function(a){a("underscore-min");return window.TDV._.noConflict()});
267define("pg",["require","exports"],function(){return{F:function(a){return a+"_change"}
267,xe:"default",jb:"mouseDown",bc:"mouseMove",Eb:"mouseUp",Yr:"mouseWheel",qa:"click",sl:"doubleClick",cd:"rollOver",Vb:"rollOut",IB:"mouseEnter",Fp:"mouseLeave",tl:"pointerOver",f9a:"pointerOut",gy:"pointerDown",kG:"pointerUp",Lf:"pointerClick",OHa:"focusIn",PHa:"focusOut",Ux:"gestureStart",z4:"gestureChange",$F:"gestureEnd",XHa:"gestureRotate",aG:"gestureScale",kc:"progress",WF:"close",OPEN:"open",Jp:"select",pc:"resize",
268AT:"changing",ca:"change",re:"stateChange",jk:"cueChange",lG:"preloaded",Z:"loaded",yc:"loadingError",Yn:"start",Mf:"stop",ey:"play",jG:"pause",kja:"beforeFrame",Km:"frame",bd:"ready",dIa:"instanceCreation",Qr:"begin",Bb:"end",S8a:"cancel",wj:"press",ul:"release",es:"repeatEnd",Ip:"scroll",Yja:"movementChange",R8a:"beforeShow",mHa:"beforeHide",INIT:"init",dd:"show",Tc:"hide",CL:"showEnd",vL:"hideEnd",eIa:"loadingScript",FIa:"processingScript",YF:"enableCookies",jHa:"applicationSet",QB:"userInteraction",
269Yka:"userInteractionStart",Xka:"userInteractionEnd",c5:"transitionEnd",RIa:"toolTipShow",Nka:"toolTipHide",vu:"positionSet",Hka:"sizeSet",oja:"controllerConnected",pja:"controllerDisconnected"}});define("cC",["require","exports"],function(){return function(){return function(a,e){void 0===e&&(e=void 0);this.name=a;this.data=e;this.source=void 0}}()});
270define("bp",["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,80,104,111,116,111,65,108,98,117,109,80,108,97,121,76,105,115,116,73,116,101,109,284,273,275,277,279,281,283,271,256,109,101,100,105,97,326,34,116,
270121,277,284,34,304,306,308,310,312,301,287,289,315,121,278,340,342,344,296,347,307,309,311,313,355,357,125,302,289,291,293,295,303,355,
271318,320,322,324,352,375,97,110,101,77,111,260,108,51,68,79,98,106,267,374,327,276,278,280,282,340,293,99,387,105,110,103,340,260,102,97,117,108,374,34,115,114,103,98,34,353,359,101,345,293,312,91,108,406,101,291,287,417,419,93,381,34,117,112,89,358,343,424,296,110,312,98,368,353,260,112,116,104,84,282,396,34,410,412,414,284,116,114,117,101,422,443,345,98,111,111,108,437,104,101,105,103,104,457,423,345,446,109,448,114,437,119,105,100,453,442,360,288,483,485,437,439,90,492,444,494,447,449,288,439,88,
272500,482,503,486,370,99,97,320,83,104,259,111,119,508,296,470,472,437,97,116,116,97,99,454,111,80,372,294,409,101,411,413,374,411,108,115,466,288,481,522,471,473,370,110,111,114,109,97,108,507,333,341,468,445,510,437,551,553,555,441,558,546,502,484,504,34,564,554,108,499,568,560,570,496,370,115,489,501,256,459,539,345,102,275,535,467,493,34,426,109,91,100,111,117,98,108,544,590,111,294,287,98,529,107,436,369,353,290,292,535,296,69,120,323,114,110,555,386,388,390,392,394,300,370,81,117,259,72,306,115,
273112,306,533,564,97,554,79,118,278,355,77,97,112,340,274,398,330,401,333,370,615,373,345,632,634,636,638,116,640,552,642,97,644,646,316,73,554,103,101,66,514,424,370,86,584,111,51,54,48,82,282,600,114,99,585,289,328,399,331,340,115,601,280,116,603,115,85,82,76,521,288,320,114,406,408,353,319,85,114,473,271,463,465,370,603,645,542,707,34,291,114,316,91,681,260,683,685,687,115,689,691,76,101,723,612,353,103,97,406,536,538,461,271,49,593,501,573,562,370,517,115,65,117,337,111,747,460,374,719,544,559,
274594,523,549,657,534,415,731,101,733,686,688,117,690,101,739,723,437,314,316,609,99,107,677,486,558,652,329,400,332,272,34,609,114,677,789,103,275,117,110,100,67,472,552,68,105,292,268,105,606,725,596,91,305,710,122,606,528,108,287,645,330,513,108,742,708,323,112,516,518,520,578,769,548,437,543,603,268,336,83,834,836,233,599,838,798,569,799,841,657,355,475,259,802,107,804,600,807,809,108,552,82,526,816,797,256,853,727,729,495,278,832,416,101,844,323,100,847,101,
274112,87,489,491,839,753,552,91,876,114,
275287,329,691,294,878,800,66,552,260,114,868,337,117,871,768,753,894,437,112,857,431,883,517,850,83,274,916,725,912,582,834,902,114,904,906,105,908,923,755,353,320,885,860,862,806,808,810,114,812,814,280,817,890,425,483,820,552,105,823,294,555,827,695,830,878,843,395,846,848,918,519,79,290,99,105,342,933,571,511,935,880,962,883,926,903,278,83,953,692,853,924,975,881,963,885,849,519,635,822,824,555,739,407,889,852,579,754,973,842,976,845,978,937,610,939,864,942,868,946,909,873,114,728,121,893,510,878,
276100,780,869,947,1E3,594,986,288,914,316,858,917,837,967,529,970,121,972,581,935,964,837,920,292,259,1040,572,936,835,965,119,86,958,996,293,103,999,872,1001,1029,416,834,1036,969,971,948,561,1003,856,1032,916,927,929,259,931,1015,1061,934,1030,915,259,991,119,865,552,725,404,866,974,708,1005,882,884,1051,837,66,108,780,930,932,1068,580,572,901,980,114,1086,792,1027,753,1089,1087,1071,121,1033,1084,1054,829,1056,998,104,1048,1091,879,988,1007,112,1074,278,1109,1088,942,842,1043,850,993,953,995,108,
277997,1058,1123,1103,1002,1041,288,800,1065,1038,1124,913,1082,1034,1137,952,954,825,1142,1059,910,509,1070,1042,885,887,490,1144,1111,345,892,894,896,278,898,116,878,1031,1116,1073,1107,1132,1145,1113,1125,1179,1033,1167,1161,853,1172,510,1174,781,899,437,1106,928,981,983,1152,370,901,1009,805,1011,1090,1013,870,725,874,1019,894,1178,1154,1130,114,982,122,984,1079,1164,1092,1127,1095,1202,1165,1096,850,1183,1170,296,1185,1004,1225,926,1205,863,941,1090,725,892,1212,91,1185,93,287,1246,1197,291,938,
2781206,1240,1087,1145,1243,1017,729,1246,1248,942,960,1237,803,1253,1231,1060,594,1257,1018,1245,1262,1261,1090,1215,1072,1083,1052,725,770,1153,1277,100,72,476,478,480,1001,1192,973,1194,1176,1263,1008,1265,1239,1109,1209,111,1078,594,1244,1214,1135,885,1285,477,479,1242,114,1020,1291,32,897,373,960,1093,989,1129,1107,1101,1301,911,1080,1126,977,1095,1252,1297,942,944,395,816,110,818,950,821,1139,955,826,32,828,280,959,1305,1229,519,1098,1100,1076,1102,1232,1104,1125,1050,1084,1150,1067,1353,1146,
2791049,1318,1128,1084,1045,922,1145,1062,1187,916,1358,1039,1368,1325,1370,1278,1097,1099,905,1351,1323,1163,1147,1326,1006,1095,1307,1287,1310,1312,485,1292,1316,1282,1180,859,1238,940,1109,1332,815,1026,1268,753,819,1338,1158,956,1342,1055,831,1346,1217,1267,1162,1233,1134,925,937,1107,1219,1221,1028,1325,961,1386,1136,519,1415,853,1234,1115,1033,1329,1399,1134,1256,1311,1244,1260,32,1249,1419,112,1382,1069,1384,1426,1094,1428,1053,1411,1160,1169,1404,1383,572,638,583,946,1335,1374,1223,1385,1450,
280885,1372,1202,772,616,415,85,73,809,109,638,384,535,680,682,684,778,736,780,738,740,880,651,694,654,871,1470,659,296,775,111,735,737,782,1487,549,353,786,317,319,321,323,325,558,1487,294,909,320,276,340,319,68,537,278,292,100,462,464,101,925,291,457,1517,1519,1017,336,1523,720,353,448,103,746,558,1529,266,1531,1522,718,1524,370,293,1543,798,1540,1520,1532,1544,720,1493,617,288,677,543,628,395,421,1030,1490,796,340,335,337,339,1145,77,336,338,1135,526,1423,1405,950,1514,112,277,100,433,528,330,407,
281896,355,711,1583,276,112,711,878,315,448,717,1360,709,711,301,613,288,920,475,292,625,880,627,393,1561,793,1564,696,558,1234,558,587,749,288,35,265,1622,102,1562,1416,288,1432,353,728,907,909,1618,374,53,752,1457,1125,554,120,1322,1227,288,451,453,455,320,763,588,1553,767,853,1281,370,109,406,1641,1463,581,1555,415,619,621,623,108,1607,389,391,1610,630,353,673,97,675,786,384,1666,1609,629,457,794,695,655,1549,674,1576,345,1672,675,1498,1485,679,353,403,405,407,1648,1619,416,418,420,1636,296,819,429,
282384,432,32,434,98,612,1660,345,1675,385,387,1608,1668,1679,437,661,1284,663,639,383,667,643,828,355,1489,653,1565,656,614,773,345,635,116,637,1724,641,1727,671,1039,631,633,1722,1738,664,666,728,1742,716,672,1685,1558,692,1511,1738,340,104,584,1516,115,1518,1541,1521,1533,1525,935,305,851,256,1550,1542,1768,1602,371,1471,345,1756,1560,300,614,1613,1683,256,276,1037,1359,586,537,764,284,751,545,1222,1384,337,320,383,691,1642,34,105,1685,725,1688,101,1690,781,1395,788,107,80,1300,970,1334,1446,288,
2831244,1721,1750,668,670,1753,121,1504,1813,1815,1460,1334,878,1343,105,691,1819,726,1258,1019,1823,5
28354,1815,406,1177,1601,370,84,104,447,623,105,1141,1506,402,645,1512,340,530,383,675,1763,1765,1551,1548,766,1777,658,1556,34,1473,1475,1477,659,1784,1731,1614,798,275,108,108,1825,379,313,259,337,407,84,1515,1658,572,970,324,76,97,1596,70,824,87,1286,1309,1145,819,470,108,1582,32,1904,904,287,429,1287,278,287,49,48,48,287,50,1916,287,51,1920,32,52,1923,53,1923,685,1917,32,55,1923,56,1923,57,1923,574,
284555,878,1892,1884,100,1886,103,1888,650,1890,1355,1363,1883,1435,1207,867,1025,1837,1303,1021,437,1879,1881,828,1883,1894,1596,455,620,1357,968,1151,1948,437,1941,1964,880,1966,116,1118,1453,1057,1190,1797,572,1960,1882,1508,1217,739,102,116,1657,1360,1062,1984,1962,1986,1107,902,527,111,109,82,1308,1990,1381,1803,355,600,1288,594,819,1834,830,287,1407,1140,1940,1996,1199,905,2003,1430,1001,1628,1224,977,1951,1997,306,307,2001,2003,1991,1456,1447,1983,472,1961,278,1963,1895,1975,101,1967,1052,2022,
285594,2024,1465,336,1883,1848,1850,745,108,1968,1789,1373,1992,1425,1950,2018,904,1946,2033,1626,1361,1949,1127,2027,2019,2002,1287,2046,1112,1418,1629,2037,1985,324,1217,2072,479,1422,1803,1941,1084,1280,855,2077,1880,2079,109,1952,1254,1110,2034,288,1270,1259,1273,1442,1262,1959,2078,1995,2080,1107,1946,2084,1971,370,1973,2041,108,1976,2056,1066,2058,2097,2067,1972,1508,533,1943,711,2082,2009,1324,1464,1449,2050,1508,2052,484,1851,2055,1052,1119,1344,1121,1143,1803,1994,2039,2062,278,1946,1988,2004,
2861631,1803,2131,100,2040,1965,2043,1977,1052,1468,2111,2090,2038,114,2070,904,2149,2074,345,2048,2153,1883,2124,1944,2149,2085,2146,114,2109,1201,2161,288,1941,2094,2168,296,2099,1019,1441,1443,713,2177,1998,2030,2185,1627,2076,2025,1006,2165,2147,276,2127,2065,985,1325,2183,1107,2167,1437,1360,2048,1941,2134,98,2136,648,120,1388,1901,2059,2130,99,1960,791,2160,2221,1448,2223,2037,791,1189,1455,2066,1062,2171,2123,1885,711,2193,2E3,2176,2107,2019,2240,109,2110,2227,1362,2069,1986,1398,1953,943,813,
2871333,1403,2066,1406,1157,1140,957,1120,1412,1115,377,2128,1713,376,1854,2112,2133,1849,2135,2054,2219,2267,2035,1125,2213,2273,2215,2054,1084,1138,1408,1141,1980,2233,2205,1464,2144,2164,2177,2149,2247,2120,1062,2207,2071,2003,2296,2234,2060,2250,2243,929,2301,2180,2248,2279,2237,2125,407,2245,2152,2061,324,2214,2136,1414,2210,2120,2212,2177,2203,2005,2181,2049,2154,2177,2195,34,2324,1893,2114,2116,1052,2285,1140,1454,2316,2305,109,2319,2283,1052,1366,1047,2328,2292,2200,1218,2309,2297,2304,2026,
2882251,1296,940,2226,2355,1464,2299,904,2245,2204,1982,2311,2335,1596,1830,1817,2257,853,1704,537,116,287,307,112,287,710,1287,608,2029,2E3,1317,2343,2345,1852,2284,2260,1340,2341,2328,2236,324,2361,2303,2130,2317,2093,2028,1999,109,2332,2334,2403,2019,1946,2407,2197,34,2351,2272,2053,2391,1279,1145,1653,2191,324,2139,1835,555,309,477,1462,1360,1903,2386,109,287,1655,1943,603,2379,276,878,2415,2306,278,2245,2302,2290,2228,2224,291,2339,1340,648,418,1538,2310,2122,2318,2281,2136,2087,2420,2089,2182,
2892358,861,1253,2399,2446,2249,2357,2370,880,1897,294,2445,1289,1311,1173,1708,983,436,713,115,2247,1866,2162,2092,2390,1881,1969,1790,2400,1384,2441,109,1974,2115,2157,2392,994,2394,2288,1803,1761,260,83,2229,1880,66,117,1999,110,1837,2421,2463,2442,2178,276,2149,2367,1424,2363,1508,2496,70,806,1402,2429,2120,42,2456,2344,2458,2054,1217,2475,2521,1448,2402,2488,2467,2368,2531,2496,2337,837,2412,1241,370,2494,2524,824,2547,1114,353,2012,2426,1911,2528,2258,950,470,2405,2434,489,100,2437,32,2380,2388,
2902470,2409,2063,2518,2377,2520,2129,1384,2364,1131,2322,2066,2408,2496,2450,825,2427,103,2559,2375,950,1176,1913,32,603,1989,2382,2003,2017,2457,2417,108,2081,2327,2455,2271,2471,108,71,649,2152,2507,2602,291,681,583,602,1686,1703,950,2292,287,555,119,316,115,2440,2105,2145,2516,2553,1125,2494,2184,1012,1955,1211,1839,1391,877,2104,2091,2106,2495,2114,2473,116,1899,2003,1336,427,1908,2385,1905,2593,1911,479,2593,1915,1930,1919,1930,1922,1930,1925,1930,1927,1930,1929,287,1932,1930,1934,1930,1936,1930,
2911938,2264,2486,2643,2634,1090,1401,1461,2650,597,2015,1340,2262,2140,2678,2515,2572,2443,2432,2326,2151,2350,2628,2293,2398,2490,2119,2492,1891,2523,2645,824,847,121,603,2685,91,970,555,1835,287,2677,2599,2532,2601,2117,1970,2605,2679,2629,1942,1944,2315,2328,2280,2601,2541,2537,2705,2600,2274,1852,2232,2342,2571,2488,1084,2631,2641,2163,2352,2576,1637,1235,2571,2173,711,1946,2740,2199,2706,1896,2552,2581,1431,2413,311,2511,2506,1960,85,1947,1360,2187,91,892,1756,2509,2511,287,73,404,110,2774,307,
292110,93,1247,32,2772,678,2780,606,2776,2778,2788,2782,2570,2756,324,2460,1360,2514,1804,2464,1010,2095,1299,1956,2638,1304,2606,2693,114,2295,2354,2704,1125,528,98,262,260,120,2503,2393,2586,2558,2712,2592,895,2594,2377,2597,1287,960,2612,791,2744,2808,2742,830,1715,260,2712,551,384,287,102,1852,1341,2844,116,95,406,583,260,2843,970,95,2008,2851,604,2854,307,95,488,1168,2853,2848,2860,475,2598,2750,2795,2809,2444,2812,2468,2068,2571,1987,2377,2834,2422,2809,2064,2032,2604,2362,2493,2699,1883,2797,
2932120,2799,2579,1380,2697,2724,288,2494,2742,1052,1349,2893,1077,2755,882,2352,2245,2519,2884,2813,2745,2092,1217,2245,2879,2692,1217,2064,2908,2874,2543,2336,2157,1518,404,728,2684,1902,950,940,646,430,287,111,1728,2931,2594,430,45,453,805,478,2717,606,101,900,2510,2781,2765,2037,2127,1390,1244,2786,543,2792,2790,606,2792,2783,2932,1311,2773,2946,2789,32,2777,2957,2963,2793,437,744,2768,2885,2036,2642,2726,2752,407,2175,2698,2975,2700,2644,2156,2044,837,2424,830,2395,2895,2329,2051,2533,1852,2535,
2942873,2542,582,2832,291,2452,1537,2589,2997,2725,2982,2551,2474,342,2711,2927,427,2714,429,99,2942,565,2691,2800,2736,2282,2418,2986,1979,1122,2903,2132,2607,2545,850,2900,2748,2278,2531,1607,1697,415,2677,1625,2590,427,2677,2379,2993,108,45,606,108,121,1910,2114,3046,110,3048,2719,2681,811,2255,2527,2712,2687,825,2689,2425,3018,2731,2737,2137,2546,2760,2023,2413,2397,2983,2042,2985,1156,2500,1159,2502,2396,2402,3056,2096,2066,2770,2189,2103,2835,3044,2321,1241,1184,2413,2633,2108,276,2914,2414,2887,
2952177,2917,2894,2973,2632,3100,2516,2696,2902,2396,2999,114,2987,624,291,3002,2143,3106,2727,2126,2649,3081,2343,2877,1989,3032,1354,2910,2643,2898,1044,921,2349,2990,2897,3090,1421,2996,2734,3105,2981,2155,3075,2158,1378,1350,3103,2909,582,3082,1321,2918,3004,2896,3118,3130,850,2733,2577,2735,3074,108,2646,2536,891,2477,1193,2479,1220,2481,2182,2483,2309,2485,3154,3141,2192,2695,3152,3139,2531,3158,2749,2549,3155,3136,2019,3098,3073,3124,1977,3138,3159,2369,2720,3067,2217,2739,3122,2876,1321,2883,
2963147,2919,2808,2995,1220,1803,2778,323,294,1036,113,465,2088,524,3149,2343,3007,2647,1900,2277,288,2431,1905,2653,1909,2936,1912,2826,2659,1918,1923,2663,287,2665,287,2667,287,2669,1931,1933,1935,1937,552,575,2719,3219,258,1655,3048,725,1599,1696,3184,3176,3107,2021,3070,2047,2413,2113,2984,3144,3030,1379,3126,2121,1203,2968,2948,1880,2979,2769,1439,2638,2953,676,2968,2956,2779,2968,2959,2785,2961,2787,3279,2965,2791,3282,2794,2904,3101,276,3164,3183,987,3200,2410,3097,3259,2075,2548,3297,2870,2544,
2972498,2045,3301,2169,3094,3185,2721,2338,2821,2141,1981,3180,3217,2571,3219,2709,3010,2430,950,3013,2716,32,2718,2869,3292,3028,2922,267,667,2926,3324,427,2929,716,2935,2933,2930,2842,2936,384,2938,104,2940,104,2942,384,3291,3027,3119,407,2950,3199,2870,3156,519,3215,1502,2198,3331,3195,3021,3068,3265,3146,3109,2990,3262,2472,2759,3092,2211,3261,1508,2585,2557,2428,2824,373,2655,2828,32,2383,479,2627,3256,3161,1976,2923,3335,1334,2712,3339,1705,544,3342,3340,3344,3399,3347,3349,3351,2944,3128,2726,
2983321,3192,1171,3166,1313,583,3169,1625,319,2484,1545,1535,3270,2612,68,519,3003,1269,3275,1271,3277,2955,3288,2967,2511,3283,3431,3287,2966,3281,3435,2719,2977,103,3273,3104,2531,2912,2432,2907,3203,3153,2991,2757,3143,1978,2263,2989,3446,3255,2746,2416,3067,3456,2690,3458,3148,2880,3360,119,2348,1548,3459,2880,3190,3267,1993,3312,3463,3308,3376,2323,3311,3391,2094,3182,3033,3319,2870,3448,2405,3476,1325,3095,2244,3449,2575,3179,3193,2531,3469,3031,3498,3296,3175,3461,2516,2882,1287,3492,2401,3123,
2993137,3207,2111,1777,1841,97,67,642,278,1569,798,1681,1491,326,1712,296,82,306,1025,1664,3519,335,728,785,305,307,1504,2266,1730,795,1877,1773,1508,2805,1271,362,532,2269,378,1508,1711,1734,1779,361,3550,269,370,809,111,107,331,1815,3014,2703,3524,1732,798,780,1597,2120,3253,712,3171,715,1597,3174,34,675,111,804,649,1761,99,65,1046,2951,2638,3573,2784,3590,1601,3554,1494,1557,678,1782,3558,353,1737,1739,665,1725,1751,669,1728,1754,1673,692,3567,3543,3527,288,3601,1749,3604,1824,3607,121,1808,1756,
300437,648,112,3539,1506,1883,3541,1682,909,1567,1573,1570,2610,1115,357,3634,3625,367,511,3613,346,3557,3628,1480,732,67,3214,1510,1856,1759,558,1536,2454,1773,1764,1530,1767,1650,1546,807,1862,3658,1552,2568,1545,3642,1781,1669,269,1875,3542,1786,595,807,84,1805,2618,3127,1526,279,3677,335,1469,1480,101,119,278,3586,431,1566,
300101,453,387,909,1179,3526,1734,908,585,925,1889,285,1629,456,1527,3526,3642,1871,2E3,1873,592,1563,1876,3674,698,98,700,702,3029,1429,3309,1417,3303,1081,787,610,791,80,275,804,
301282,115,3486,3680,353,109,1716,2115,532,3617,554,84,728,115,315,1461,68,1024,3336,1791,748,374,49,3238,1796,3318,614,355,1813,791,2276,1390,2478,1315,1196,582,699,970,702,2743,3723,2196,3725,341,728,2512,2373,110,3035,3011,597,2617,807,1589,32,411,260,2855,2510,95,3788,101,2849,2782,437,118,114,2609,1220,1843,294,278,72,584,3683,3679,3268,1875,3732,115,115,3485,2702,1803,1799,472,645,3744,383,1831,606,3749,2925,3396,2328,652,3811,3813,3513,3808,1062,2763,2781,735,1584,3222,34,2770,3437,2775,3433,
3023440,2781,3436,3285,2954,3438,3289,3441,913,3731,292,3812,791,3083,3588,1271,3087,1275,842,3769,701,282,2729,3274,2639,2826,3766,1845,1115,3761,291,318,645,68,728,103,3002,408,2461,3216,3759,3727,789,791,3529,2981,812,637,1729,3882,3363,34,3798,2214,320,1835,107,3529,528,1461,1226,1617,1792,1649,32,1930,3467,1148,603,3785,1887,3777,3822,110,3824,3531,1803,1179,3873,801,2252,2095,3858,2100,1275,1274,552,878,513,928,470,291,100,3802,621,3098,3834,606,1504,533,3700,3926,1019,3841,2781,3280,2958,2784,
3033947,2964,3439,3950,1812,3728,2449,916,1084,3502,3451,3758,3726,121,3922,1285,1397,2359,2253,3945,1272,3928,2102,3861,370,3798,3937,981,1093,1334,1415,1633,345,1621,102,54,1929,3039,3071,3775,3921,3957,2810,2377,3764,3167,3870,1276,3965,3993,3730,3581,3854,3813,3924,1400,3058,3751,2560,427,3061,1409,2556,3018,3940,110,1888,3879,603,83,3863,702,3971,3952,110,3949,3290,2960,91,2962,3842,3954,3290,437,102,111,99,908,3690,97,2506,555,692,3983,271,48,46,1635,3757,3499,3768,114,411,691,687,1344,4020,3980,
304606,3982,3906,1698,3985,1623,3989,3260,3991,3760,4001,3853,3733,3206,3832,1425,4022,3865,3831,1803,4016,1504,4024,3847,3278,4032,3850,3845,3951,4083,3432,4033,3851,4052,4054,1809,3693,1835,603,2399,4045,3908,46,54,1702,3736,708,4076,3830,3187,3773,2333,3072,4107,3393,3334,3825,2374,1001,819,3398,3341,2934,3403,2937,2939,600,2941,3328,2943,3999,3922,3083,2683,3826,3337,2686,3315,1341,4014,2945,2764,2380,4082,4030,3286,4085,3434,4087,4029,4031,3948,3843,3955,3872,3993,3967,1155,3361,3893,3956,3886,
3053958,1377,1230,4110,2048,1799,1179,1888,472,280,112,262,4021,4053,529,101,83,4059,2559,4100,766,4104,854,3883,3964,4131,3151,3962,4051,935,4107,3443,3445,3910,354,3885,790,291,3357,3867,3765,1175,1394,3768,3718,3770,282,2889,2066,2799,3828,4004,3763,1438,3868,1393,3767,3884,4E3,4161,114,4002,3829,3083,2804,2637,1271,2807,4191,4206,3864,115,69,623,2617,3472,458,4062,765,1524,4183,2799,3977,111,1844,2580,3481,4238,3753,3984,1623,265,4066,3302,2554,4106,4175,4055,4096,99,4058,881,1334,4099,4239,1794,
3064183,1369,4071,3812,4194,1191,3414,1392,1314,4203,4218,4186,3993,3866,2120,1290,4275,3998,3852,4003,4072,1251,4006,2635,1014,4227,875,1958,3976,4222,4245,3803,2254,1800,110,1802,3905,4250,271,50,4268,4075,4231,702,3443,4281,4195,2157,278,1664,1828,3993,725,4318,4221,4160,4198,114,4156,2603,4189,3504,4196,4220,4324,4156,3198,4201,3997,4277,3871,4219,3966,1371,3815,2396,4113,3307,3145,2901,1352,3473,3714,4224,1182,4165,2413,4244,4246,114,1825,4061,4305,1620,1916,55,529,99,4254,3310,3991,4270,4108,1075,
3074328,3487,4339,4280,3924,3735,3809,3223,620,4316,555,4223,4004,791,4320,4369,4385,4154,4221,4156,2499,1339,3079,3025,2328,3798,1897,645,3919,4304,1793,4046,4308,1464,3932,100,3934,928,3978,4300,528,4302,4074,1464,4212,4288,4357,4342,2990,3992,4221,4073,1803,4355,4299,4178,4263,606,3807,3036,1794,2661,4404,1384,2844,114,320,3820,3778,3748,3750,4134,4349,416,4192,2238,1887,3703,4444,4416,3855,4290,1208,2636,1145,1957,973,4130,4070,4287,3855,4188,3371,4450,4069,4221,4334,4282,4274,2593,4285,4389,4324,
3084377,2235,4107,4392,2286,3466,3204,4230,3719,282,2609,2972,4195,307,117,530,1825,4040,4042,3323,3752,4402,32,1795,4487,3915,3747,1334,4439,3916,920,101,3665,4444,4406,4408,3936,4298,621,4427,2256,110,3188,4344,3076,992,4137,4480,3452,4451,4005,801,4463,4348,4195,3717,4483,4005,3969,100,4475,1375,4387,4453,3057,945,4443,4010,4136,3078,4013,1411,960,4107,2646,3249,1852,2703,853,3573,3862,4310,4208,2899,3266,3503,4373,4106,4556,4532,2465,1330,4248,2761,4068,4197,3762,1181,4109,4567,3990,4256,3776,3821,
3094501,4429,3915,3779,3918,4009,4481,1030,3742,97,1888,1666,3820,3746,3531,4583,4541,4100,2659,3909,4585,4445,4563,4535,4415,4466,4332,1073,4538,2254,4540,4117,2010,1337,4137,3063,1345,4473,4571,4163,519,3113,2287,4395,4420,4369,4602,1384,4016,86,82,681,3687,4143,4150,3953,4086,606,3846,4144,3848,4146,3844,4636,4459,4221,4383,4288,4533,2332,3086,2101,2190,4562,4531,3464,3064,4522,3963,4600,4531,4620,2587,3427,1577,427,2380,2564,2436,544,2562,2030,4547,4258,4095,4057,101,4359,4496,34,4064,1622,4366,
3103724,4576,4167,355,4169,414,105,4172,4017,600,530,2765,4506,2512,3362,4286,4224,4289,4647,1331,4008,4541,3040,4543,4393,4545,2263,1178,4369,4200,4469,4216,4276,1195,4338,1148,2968,3943,543,4632,4145,4151,4091,4148,3284,4638,4084,4723,4635,2969,4616,4162,1284,3221,3996,1313,4472,422,4581,4441,4116,4662,4329,4530,4207,2483,2159,4419,4444,4745,4232,3380,108,4661,2712,2595,2378,1442,3384,2826,3388,4716,4577,2512,4579,4017,4740,1334,4234,1895,603,4237,1652,2462,4658,4746,3721,119,4625,1458,4604,847,1575,
3112712,1579,1581,1587,316,3786,290,3700,100,1022,600,2617,67,3014,107,65,3059,4401,3907,341,3581,103,603,3792,413,542,2223,4694,4681,3223,950,307,4019,3794,102,4809,115,4811,293,3407,4547,4563,3443,4711,4529,4548,2708,3412,2186,4470,2826,3416,3408,657,4537,4700,4574,3428,91,1440,4650,3088,3810,4384,1251,4352,4841,4255,1186,4604,4617,4157,3470,3132,4773,3452,4751,3720,4345,850,4620,4656,4190,4350,4384,2432,4736,4284,4337,3931,3935,4510,4410,4514,2527,4430,3827,4537,4526,2019,3295,4561,4776,4232,2646,
3123098,4421,4605,3968,4565,1436,4454,4292,4456,2806,4295,4374,4390,4572,904,4885,4105,4330,4340,4618,4779,4749,4195,4891,3729,4387,4850,1255,3377,3775,4861,282,2754,4215,4202,4715,1833,281,119,3781,4135,91,4301,100,3935,827,114,4825,4531,2646,2648,1389,3782,91,2652,1907,472,3227,2656,621,1914,1923,4433,32,3234,1924,1926,1928,1923,2671,287,2673,287,2675,3016,3246,4555,4938,2708,3009,3808,819,3326,3015,4128,3017,4643,4324,3091,4917,3482,2548,1777,3677,4772,1808,1810,1486,784,1612,3715,909,275,1085,863,
3133838,1062,1089,809,806,4995,755,3642,4985,779,781,783,1488,370,83,429,260,79,2510,298,1611,3523,1785,1015,762,4942,4757,2438,2381,3387,2003,2385,2405,3553,4586,3555,288,5014,1670,1557,111,120,1677,1718,5015,256,1758,3696,1816,3903,3693,3663,1766,3665,3578,4836,4178,1528,3657,5047,1865,3667,3594,1869,1662,4381,1665,3739,1678,1561,3672,3630,409,3878,744,2617,88,809,294,1879,115,4676,4803,3985,1916,1916,4813,4111,3775,3399,4468,4249,4496,4498,4599,4094,5076,4063,4252,1624,4183,2048,1655,110,5085,4599,
3143399,4265,4360,5088,3452,5097,4214,2990,100,5068,4771,101,89,5072,463,472,5075,2581,4100,4678,1916,265,5080,5095,2413,1644,454,456,4431,1650,4242,4775,5109,1673,5069,603,90,5114,5074,5091,415,35,5079,48,4253,5124,3775,5133,3879,5111,3586,4992,3466,4100,1927,4434,572,2862,1161,4596,5156,1125,5126,5129,4497,5161,437,5097,1518,452,2289,3452,3399,5140,4251,4252,5081,4166,5110,2617,1604,278,1809,2908,5154,5166,756,4735,4802,1619,5104,4657,1459,4582,5179,4494,5086,3907,541,543,5131,4185,416,983,3877,5134,
3155111,5164,5199,1651,1001,2799,4094,5102,4496,4598,2997,1777,3615,306,3624,1825,647,2610,4989,3673,1492,5057,415,5219,116,5221,3619,3621,678,3623,5062,68,4986,3610,5017,651,5043,1334,577,798,4100,5216,5192,5243,606,557,5246,4266,4403,4050,4329,5193,1461,567,5253,4360,5248,4867,3099,3902,5244,5164,5263,4329,275,5266,606,5260,4495,3907,5269,4886,5271,3531,5252,5275,1619,527
3157,4906,3570,3252,463,1600,2482,3576,1776,2077,5272,110,79,2019,5164,34,88,89,499,4183,819,5300,90,287,88,90,89,287,89,5308,5311,
31690,88,287,5315,5310,32,5309,88,1594,1501,1632,5254,32,91,2784,2066,1244,5037,5239,5006,3018,4821,4043,5164,5191,5264,463,4578,5280,5268,5186,4739,5342,5259,5344,5256,4886,5341,4765,3531,5245,5282,374,5284,3268,3642,5332,5004,4987,5007,353,5009,584,262,5032,1680,5241,558,605,1509,4930,5021,2568,276,2829,479,5026,4670,3593,5029,3595,297,265,1561,370,70,3747,3517,5222,316,4321,1814,5250,2559,3611,3674,1788,2118,1803,280,335,1800,1476,1803,121,97,1772,4195,1960,3920,970,530,1469,5228,1780,3597,3670,437,
3175390,526,5230,5392,5233,1755,5235,3650,373,909,2504,692,1774,3659,3666,1534,708,1771,5046,1864,1776,3668,5420,1719,5065,3525,558,5401,2723,5356,4267,5350,4906,1799,4412,4303,2990,5336,5196,5160,5454,4378,4907,610,2372,1461,3546,729,5423,3603,1741,3606,1743,5395,5467,1832,1972,1806,1145,5003,1484,1811,370,111,265,543,116,5281,4195,5486,102,5488,5274,4195,2867,4941,2990,4012,4754,2823,4942,2825,1910,3386,4762,878,5158,5171,5192,5415,5510,5264,4014,4755,4942,4669,2E3,4666,2566,544,2569,842,2837,4929,
3182120,819,2844,1880,2864,3795,2857,5531,2856,584,5531,2860,5509,5537,111,95,5497,5380,4128,3352,437,5409,5411,4599,5413,3515,1745,259,5426,5475,4604,5477,2257,5399,909,5450,2491,4599,5404,3706,5407,4396,958,3674,1016,3547,4587,3937,5028,1778,5385,3669,1719,370,3517,3533,3521,3890,1179,5558,5398,5371,3704,5384,1869,3901,3531,555,5582,728,5584,355,5586,437,5296,98,970,318,5498,397,5226,697,1052,1888,603,3777,5458,5452,4046,4048,5345,3774,4979,5197,5092,5176,5146,4576,5548,5349,4195,513,515,2419,5261,
3194496,5209,5201,3894,115,1052,2065,4100,56,5617,1804,3803,4440,2703,5462,4195,3738,2839,5189,415,2844,120,336,95,2860,1584,675,3671,5463,5528,105,5653,100,5655,5541,513,3534,97,2853,5663,5665,5655,3115,3693,1178,5512,5626,4599,5636,1097,338,5325,5262,5641,5680,850,3624,2302,4100,1925,57,4103,5463,924,3642,5604,1309,370,3890,5457,101,5581,3520,728,386,645,335,1556,5606,5066,1733,5590,415,5700,1801,1809,3530,1461,5594,5704,97,5706,324,659,370,997,115,5423,292,5555,1826,3629,5448,798,5625,3827,5677,2328,
3202617,529,1761,1696,5650,284,5358,3833,603,5741,711,5715,4413,5268,46,52,5186,3642,5731,1729,3646,776,3517,1855,5431,402,3662,1539,5053,5442,3660,353,4038,4675,517,407,5434,5768,1775,3660,5757,4587,1625,5560,1858,465,5469,1019,1496,3648,4837,353,866,4449,5620,540,555,5200,5463,2799,412,2380,3892,5631,3907,4182,5798,855,5218,1723,5231,649,5393,3620,5428,4720,5225,5711,798,5515,5502,5803,1698,2435,5521,5081,2431,2563,32,5823,2567,5523,2112,5480,1360,5482,1499,437,5492,5488,5490,5247,5641,5838,3693,5495,
3215841,5694,1325,5543,457,5846,5496,4137,5516,5821,415,2825,5825,2591,4760,5505,2596,5024,2830,487,888,2233,5851,4599,5645,5326,5746,1325,2819,5744,5255,4529,5525,1716,5298,5529,473,5303,950,2841,2858,5530,3787,2854,2850,5536,5888,2848,5535,2852,5892,5672,5539,5896,2866,3221,5575,1868,415,5578,5388,1503,276,439,5758,316,5733,3568,586,291,107,293,2094,5164,5805,4210,4775,4891,5586,5786,91,1815,112,5909,4587,5812,5476,5397,1940,5833,2120,5835,1691,3797,319,105,2617,5208,5796,5210,840,5202,118,682,725,
3221496,5239,913,5738,4420,5908,112,5751,5613,5412,5718,5267,2698,5294,5495,5550,5961,5251,5408,5410,2006,471,4799,2624,121,1888,3805,260,4880,5855,284,2661,5872,2130,3902,4044,5326,1063,1591,1532,5883,427,4786,336,4788,121,4790,412,543,4793,913,5956,2217,5107,4712,1173,4738,288,5433,69,514,1600,5875,288,3399,291,5858,427,6015,2826,3213,259,3795,287,6021,5664,2008,6024,1746,3795,3790,4758,4038,5602,99,6023,1442,601,1835,6031,1248,6038,6035,406,6040,32,6021,279,6036,6047,5893,2510,6028,1527,6030,6027,
3236046,117,1844,6049,6058,294,6045,3213,6059,6044,2008,1594,5972,65,5974,5976,1762,6013,5920,4774,5202,5636,519,6010,583,5743,5980,296,6019,6017,597,6019,6053,5664,406,6089,6063,6029,6066,6052,6037,6034,6036,6033,6039,6056,6100,6043,110,6093,6054,6091,6057,6054,6056,6050,6055,6096,6064,6062,6108,6115,6051,4758,6118,6113,4763,5433,4594,2257,4596,5079,5641,638,5928,112,3197,5866,4871,1913,6007,416,1771,6125,4180,5326,4597,5641,104,4036,118,5971,5793,6076,3894,5800,276,5802,2890,5807,1693,3651,5432,584,
3244234,4237,5435,5048,3421,833,1575,67,5774,1861,5767,1863,5778,5437,1769,4814,6162,5777,5436,3578,4261,3899,5441,6173,5209,582,1771,6161,6183,6179,5056,5713,1713,593
3240,3619,1625,335,3694,100,1513,4142,5712,4330,3698,4586,3944,6202,5433,6204,6138,4158,285,1777,5181,710,99,3517,70,1751,5240,4990,697,112,1605,3808,892,5937,781,287,1496,1482,5239,1294,292,111,6214,6225,1311,6227,691,6229,1481,734,5362,4837,5780,5473,6218,3520,3623,426,3628,5430,1857,558,1984,2510,6189,6164,5438,3099,2981,6258,5055,6260,
3256181,789,6263,284,6185,5444,1559,5421,5447,5913,2333,1761,1905,616,4293,1019,1571,446,1883,1594,2114,5287,710,3254,6213,780,4094,4056,4097,2838,1717,3598,5912,3543,458,1506,5716,5678,3452,5500,5943,542,5945,753,2799,5126,1646,5850,5326,6075,5211,6156,6192,618,4380,622,624,5237,6297,5580,3537,308,760,816,6298,1786,5360,1572,97,759,761,3536,348,5595,97,5599,5816,5734,256,4552,3452,5874,2990,823,2E3,258,268,5619,3204,6271,101,6324,3600,5809,5910,121,4040,5763,6254,798,3738,3700,739,97,645,6268,5770,
326288,6366,543,2767,6371,3787,5944,1654,600,543,3425,119,2559,6163,1548,6185,2486,6257,6171,3664,6264,6175,6261,2163,6377,6180,4798,6377,6388,6373,6381,101,4234,621,6397,6191,5576,1869,5905,1783,3714,5607,1615,780,736,3084,4704,598,4239,287,3582,98,2014,383,1906,3738,645,1022,319,4168,548,4171,262,1888,4489,104,4693,293,5683,4496,6315,5946,3894,554,112,4648,1311,1185,44,4971,1685,44,5352,637,773,44,383,121,2783,497,543,72,6426,3648,4437,6353,6316,5202,307,472,3677,4486,4553,5288,6289,5553,1747,3602,
3276360,1808,6330,5227,6318,288,1721,5425,6194,1743,5234,4720,370,5601,970,5037,6339,6483,1516,110,1817,555,5958,5986,5103,5641,1639,6503,1803,5168,6301,5752,3515,5418,296,6496,5721,437,2496,6498,5372,4968,2710,4970,3325,825,3327,3329,3976,1411,5854,5527,4815,5378,5828,2565,2567,5518,109,878,323,620,3394,4742,3397,807,3343,3400,4122,544,3404,4125,117,4127,5885,878,4036,294,4550,3251,1145,4554,370,6541,3838,6562,422,4863,4619,3024,2142,2328,6564,3960,4559,4372,4906,5500,6531,4542,428,3386,5504,5863,3389,
3284035,1898,5188,4930,4944,1908,2655,2003,2658,4951,3233,1923,3236,32,3756,3240,4959,32,4961,32,4963,4974,4965,370,6557,3191,3514,4335,3415,2480,3418,3172,6612,3578,6573,3480,6468,4067,4576,6620,1035,4911,5089,3375,6622,4852,437,6625,3077,4706,4621,6571,2605,3709,1474,3711,2943,1479,353,3598,390,6363,3652,798,866,259,4507,1804,6178,6259,1525,6639,1872,6642,5659,693,6221,5372,6219,5925,6239,5790,288,5736,6638,5389,3747,6488,5473,5812,6520,5589,6409,5229,6359,6489,5732,370,262,384,114,5037,6297,6342,
3296275,814,476,645,4209,6150,5837,3670,73,4859,594,6566,1627,514,3264,6211,6155,3216,5360,6323,5421,370,5232,1743,6676,123,6355,6357,3596,4639,2781,6647,3696,4004,6407,6260,292,5748,5815,1549,6654,6393,512,6399,6391,5054,62
32969,6379,6657,6641,1478,6660,5783,1612,3733,336,3888,2163,4132,4702,4610,4663,4705,2286,4614,1939,3852,6744,100,4778,4865,3080,4623,6757,6746,1825,4114,2924,4400,4930,4120,3344,3401,3399,1910,4124,3348,4126,3350,5545,6667,341,6568,4993,4851,4367,4576,921,3812,336,6519,6561,6476,408,
330721,6286,6791,6288,6793,1784,6763,2699,3163,4832,2098,4834,433,6615,2482,3420,6725,2699,2722,5563,5172,316,2008,3060,4613,1410,4708,6632,3333,6767,4584,4118,2928,6546,3402,6548,6547,6774,3346,6552,6554,4129,6756,6788,100,6764,828,4939,6588,6532,2651,4946,3226,6592,3229,4950,2660,6596,2664,4956,2668,4958,3242,2674,3244,4975,3409,114,4889,4353,4368,6800,2981,4778,3961,4464,4912,4004,6745,2699,3490,2194,6863,6786,6871,100,4549,642,4551,6287,1600,2112,2778,5099,2476,4713,6137,6787,5999,6839,2694,2300,
3311287,4905,5464,6891,2050,2778,6004,3085,6805,4714,1293,6836,5999,6694,6469,3894,6899,6838,6873,3096,835,6803,5464,2292,4778,4780,1186,6878,2916,3294,6917,1062,6633,4520,4544,6636,3317,5264,6912,6893,2164,6886,6134,4923,4336,4925,6907,6872,2981,6880,3250,6345,6700,6792,6821,4519,119,6868,4528,5966,6944,6522,5196,6419,4972,4964,6755,4838,6757,4423,2980,2163,3772,6784,4682,1638,5879,4942,5928,5636,2438,4817,4709,6865,6967,2138,6570,6932,5270,6914,6895,479,3098,2292,6909,6444,6942,6913,6866,6782,6760,
3324622,4450,6923,2208,2878,6876,2814,6782,6921,6586,294,6988,6811,4558,3370,6954,4523,6878,6935,6920,6627,7013,6979,1825,6924,6447,7002,6992,3439,6887,4842,4924,6906,3460,7020,4607,4226,4898,4228,4900,1563,7019,1962,6901,6842,6903,6889,4873,6992,6935,2081,3258,6969,5618,6922,6757,6841,3121,6589,6845,4945,2654,2826,4948,6594,6850,2662,6597,6853,3239,6855,2672,3243,2676,3245,6962,6799,6837,6874,2E3,3098,6610,6897,4283,2593,4836,3170,6653,6809,6394,2815,2817,2043,3920,6878,4778,4753,4866,5257,7014,6801,
3336957,6524,3012,6526,4973,6528,7073,6908,6621,6418,4575,7051,6837,7046,2404,2030,6897,3477,2981,3190,7114,3493,2699,6759,6982,5513,7095,7038,6894,2166,2377,7118,2291,7097,2474,6917,7080,4835,6807,3171,7085,6609,7098,2712,6960,6607,7072,7037,7110,7009,3069,7049,5082,6877,6964,4376,7017,4657,6610,4940,2220,6843,3783,7056,6591,7059,6593,3230,6595,7063,6852,2666,4957,1930,6602,6604,6606,7103,7145,5999,7117,6926,4536,7125,2178,6782,7093,6761,6998,6757,7016,2057,7090,7181,4225,4455,1360,4457,485,6978,7074,
3344916,7107,6623,7109,7177,3201,2073,7023,7030,828,4478,2340,7185,6870,7052,6629,7200,6631,6563,6995,7122,7190,7146,2981,6574,7011,1837,4269,6964,7112,2E3,7129,2886,7222,6981,3457,7211,6955,6747,7228,2406,7206,7104,6943,2163,6862,7149,2048,6934,6985,7127,1989,7008,6994,6951,7184,6997,5960,7116,7238,7230,572,6578,5820,7159,1245,5860,2827,5862,5507,6992,7047,6896,7179,1464,4016,71,805,6474,1001,6701,693,7191,4607,3971,3860,3930,6992,6766,3395,6750,949,3338,6827,6773,2785,6549,6831,101,3405,6777,4824,
3356860,3814,7189,4881,7152,4840,1954,4897,7194,4899,4458,2970,5224,6762,7221,7237,4884,7272,7231,7316,2573,7022,7245,2413,6912,3163,4969,7141,7101,6961,3018,5819,3382,5517,2432,5520,5830,2439,6860,3439,6902,4273,7043,6941,6963,6837,4654,2988,7235,7018,7074,4607,4133,7289,2619,4011,6818,4139,1972,2791,537,552,782,6795,2798,5922,6878,7223,4347,7225,7180,7315,1825,6990,6309,4775,6919,6782,7251,2163,7287,6544,4942,6770,6829,6828,7296,7298,6553,6778,6555,6992,4696,7207,981,2347,4858,3117,7257,2019,2209,
3367323,6864,7372,828,4978,7215,6785,7202,7242,6765,7378,7240,3505,7020,6915,7259,7409,4856,7254,6637,4444,6610,6559,6947,753,7279,2292,7406,1133,7403,5999,4778,4890,7096,7116,7153,7303,7314,7432,6782,6953,7370,7130,7436,7306,7407,4833,4843,2638,7284,4936,7301,4078,6966,7411,6951,7442,7220,7105,3131,1046,6699,6933,7435,6980,7461,1367,7439,7410,828,7005,7345,5999,7472,7241,6993,7466,6634,4479,7349,5192,6923,7282,4215,4844,3973,4651,7280,7346,4748,7438,4444,7428,7352,6749,4743,7355,6752,2261,6819,2690,
3377197,6892,7147,3157,7154,5264,7428,7204,2083,7318,2974,2746,6937,1168,6135,3869,7044,7473,336,6802,6612,6005,3167,7082,6616,7138,7476,7021,7379,1825,6945,6882,6796,6884,713,7040,7054,7524,4737,7519,3005,7053,5605,6580,6590,4946,6847,2657,7165,7062,1921,7064,7169,6854,7171,6856,4962,6858,6608,1777,681,2588,3693,323,5037,1830,116,652,1836,6081,3881,5016,6662,798,1616,6083,4361,5143,48,5177,3261,110,6685,5638,5871,46,55,5842,4911,5247,46,51,5842,2510,278,7586,6505,5847,1070,6708,626,68,7568,7570,3733,
3387536,288,169,3877,276,6383,2559,5041,1858,6169,5776,6172,6190,1554,6514,288,3710,1476,6659,5782,5588,256,6989,5630,6706,6911,3557,4320,7633,4838,3711,6565,6949,3488,882,5927,2767,3857,3093,3991,276,2767,3443,4922,5955,112,2767,6812,7425,5257,7647,112,4485,7459,336,5151,3722,7402,4576,7423,6881,6560,1598,7639,6567,6951,4890,7657,7302,5402,2328,727,1348,7361,292,6790,7365,5202,6610,7673,7652,1320,2071,4560,4906,6130,7653,3314,6930,7094,5351,1895,7088,6347,7493,6873,7484,3867,7486,3930,3929,7452,7217,
3396542,4115,6768,7263,7384,2932,7295,3345,7297,6833,7390,6835,657,7657,7368,3510,7319,7031,7446,7033,7309,7035,7311,7709,6704,1452,7234,7255,5100,7364,3572,7670,6008,5853,7262,6580,5376,6583,7268,7722,7687,7644,4918,7665,4831,7523,7042,2478,7526,6808,3173,6165,7489,7504,2981,7662,6783,6630,7408,525,1017,519,7026,7464,7281,7446,7283,4845,3975,7529,7703,4712,7705,4936,7707,1178,7723,7630,5921,5202,7692,3625,4447,
339103,4828,5564,7004,7507,7124,7351,7728,7193,2120,7195,2640,370,7678,119,7659,7304,7490,837,
3407393,614,7786,3023,7736,7421,4195,2971,1803,7156,7041,6419,7547,7058,6774,6848,4497,7166,7553,7168,3237,7170,2670,7558,6605,7560,7144,2329,7642,112,7244,7767,6970,6860,7840,7751,4980,6786,7814,4164,7664,7003,7253,4521,7481,5264,7078,7327,4942,7142,7175,289,7657,4193,3995,3827,7657,7842,7447,7050,7045,7505,6705,7788,6911,7850,519,3471,7398,2163,7765,3098,6928,6952,6575,6869,4599,7806,7341,3452,7806,7434,7774,4894,2253,7729,7802,7310,7196,6001,7687,4312,4870,7455,828,7840,7869,7430,1114,5808,1748,5220,
3415811,5427,3609,6714,3642,5230,6712,1826,6491,1692,3614,84,77,706,6689,6299,7858,6523,7328,2715,7102,7071,3018,6564,6543,7712,6580,7714,7294,6830,7717,7388,6834,5546,7139,6558,7667,7655,296,7279,7884,6996,7817,7795,7457,7886,7012,4657,3209,3595,7740,6797,7006,3220,7539,7546,7161,7548,7163,7827,3231,32,4952,4954,6598,6600,7067,4960,7069,7330,6556,7754,6237,4713,7758,7137,7760,6260,7884,7883,7796,7492,4195,7685,7413,6781,620,6579,6419,6583,106,908,280,102,3049,7266,4758,7748,7671,7734,7420,6983,3487,
3426738,7624,6740,785,5573,4512,6714,34,6669,4450,5954,3459,6716,6710,353,1899,98,6248,3684,558,6197,305,6199,340,292,590,282,1455,1867,1735,296,7623,3712,6741,7627,438,716,6883,1696,5290,8053,6372,416,2612,4770,4236,7812,505,3053,111,259,87,475,110,5977,260,7497,1148,4775,2850,3693,1217,7393,7562,5949,6253,6648,5040,5766,6729,7618,6655,512,465,6168,1860,7617,6392,5443,7621,34,1571,1568,7626,7575,256,7261,7333,7578,2333,4760,6086,7264,4299,5861,8010,2868,8089,5570,1001,1244,5788,465,3931,780,1471,5979,
3434444,109,7596,6306,5797,7875,437,530,275,3743,3348,8043,4946,2503,7822,3452,8131,2E3,3518,7998,5509,2152,5985,2712,1179,5997,4792,1590,1580,336,4926,732,5950,682,5952,1203,3912,1944,6303,4657,1023,7382,2990,7332,2588,5298,5829,424,5991,7160,5827,8170,5022,2831,4043,5526,5794,589,5889,3778,2839,8172,893,2943,5531,5890,5895,2847,6031,5533,5899,5541,5898,8191,5900,8113,353,6152,3697,6074,4241,5806,5202,5792,4486,4100,5633,8205,3894,8140,554,83,3738,306,5742,7573,8028,370,65,484,281,3211,99,4261,908,
3441334,7567,1300,7569,275,7571,6012,7574,6414,798,5460,6504,5087,1923,5491,2510,5928,6313,4360,8180,8185,1633,2622,111,1940,5643,1460,5870,7599,4195,5602,514,8162,5264,602,7224,5164,5755,7600,1384,431,7572,6140,5164,3756,4195,5916,622,880,7598,4496,50,4049,5647,1656,688,1099,4009,5868,5217,8096,8230,320,7606,3812,7608,346,4587,6339,4178,3213,403,6220,8237,6715,8096,5592,5719,108,8297,101,8299,5752,5580,5573,3644,1508,8023,3632,3522,2120,5762,512,6517,1145,5703,5668,1395,3637,1360,3517,1504,368,5757,
3458314,380,5008,551,119,6360,8023,1800,279,8271,6013,5982,5983,1448,2380,8342,7578,8344,5685,8146,6013,4330,5289,5660,950,8148,1586,1708,2380,1581,8253,6501,2055,8352,8105,8358,3574,6580,8368,8151,8362,1574,279,4783,323,8147,1588,8359,5993,6E3,2112,8254,5451,8180,5615,8281,5679,277,6652,7592,8280,5756,8096,8338,5726,7968,6742,6677,5903,5419,6272,5579,353,5471,6673,1726,5474,1826,6362,7928,6331,8096,8407,3605,5812,6362,5699,6511,4055,5967,3532,5721,5723,5708,5370,8101,34,6145,2933,1518,414,8318,4195,
3465548,8432,528,5414,116,530,8437,8434,6354,8304,8422,5720,5668,8425,5725,353,2792,8023,2351,2778,704,7927,7669,7965,8056,3577,7761,1835,606,8456,8054,8369,714,8057,6174,7520,2154,8455,705,8466,6616,5291,8058,7247,3141,8473,8457,7964,8355,6653,8477,8470,6355,8452,8312,5473,6335,6329,8412,6484,6678,345,8098,338,8492,762,8221,1046,7919,7914,6713,8494,6209,8401,296,8504,112,6675,3559,6042,6217,6219,8023,6033,3808,6666,1197,7904,5834,1685,8158,422,6149,1001,8521,1203,610,1807,8525,6244,1305,6234,3648,448,
3478533,3609,8526,2896,7968,853,8530,353,605,5709,2066,8546,6014,7866,8524,8541,8535,8045,5030,8295,6247,8517,5580,3640,6282,117,6252,798,7614,1615,6733,8086,8094,271,6270,8096,6411,8050,8428,1595,1488,7535,6477,353,1721,8034,5702,6681,6154,595,6158,1566,6403,6368,6370,6734,5769,8470,353,6208,8595,6173,5049,5440,8600,7619,6394,4036,4038,3734,6390,8571,6735,8058,6256,5052,8087,6731,8547,4037,908,262,6724,6394,2292,8622,6732,6182,8604,3665,6401,34,6374,6404,4299,8625,6246,8408,6675,6274,6299,5923,5397,
3485925,1822,8587,5394,5557,5933,6462,101,6464,864,6416,7843,8074,5202,8144,2328,5286,8581,8467,703,8469,3578,4684,316,4686,6434,4690,6437,6439,4695,4159,3661,5111,4237,4181,8204,8129,6529,829,8115,1302,2638,8329,4512,6540,548,6473,8475,5187,8544,3452,4356,529,1461,8061,4772,5919,8678,6695,512,824,373,262,621,8695,105,8594,7578,8210,8679,713,5935,8550,8534,5483,1802,6563,3915,8509,8710,5944,5634,1846,1503,6326,8023,8657,3372,8714,8545,8716,5836,8691,7545,5089,429,4172,1685,4753,7668,7631,437,8164,7939,
3497888,6328,1300,6280,5926,6326,8500,5902,8046,288,8498,339,6683,8714,8568,7576,8570,3656,8616,6736,6307,8557,5385,8048,7625,8639,3674,8103,8168,5503,7265,5376,8011,505,8469,8483,8055,3575,8663,7761,8239,8179,6419,5885,2853,5887,8191,8189,2858,6119,8193,8197,8195,5866,5540,5542,5901,3797,6530,7744,7823,7335,
3496535,4667,8176,8725,288,65,6500,554,214,2904,8733,5938,8507,6255,885,431,8246,5215,5641,590,3520,8348,7422,406,555,8585,5298,315,1647,8185,4436,320,3050,320,2627,4993,4999,8145,4784,8353,8381,8108,
3508381,5995,8149,5999,3931,472,4998,8549,4599,5948,2616,4098,110,847,5793,8677,465,8724,6609,6219,8856,5E3,1464,8201,8588,8865,6308,469,6317,8589,5764,558,8340,8615,8572,8597,6176,8625,3705,277,526,6188,8628,6731,5002,8818,1811,3737,3693,8038,3696,6154,772,6206,6677,1579,3708,1847,5674,1990,8446,8307,5721,5597,316,8449,8549,8399,872,8908,884,6234,3582,6223,1835,6351,307,7870,5464,5657,3693,72,6146,5403,8908,89,5970,3827,526,7123,7498,6581,7267,5025,1708,821,323,8839,2594,606,675,8841,8536,776,8922,
3513584,8925,552,4505,6652,5564,8908,80,8027,3148,3642,8305,1334,8447,3521,8915,3599,303,4882,8023,1204,7446,7353,8073,3675,7356,6930,6754,4015,4699,7895,3925,7485,7450,7777,7285,8531,4883,4371,7887,4523,4337,4079,4849,4573,8654,7150,1125,1149,7797,4886,1198,4904,7512,9002,8984,2802,1298,7801,5330,7899,7804,8017,8049,437,72,7925,76,1976,8339,3111,7772,4744,3111,3188,3111,3001,3655,5877,2448,4418,7995,5679,3111,2615,5941,6958,6825,427,2621,32,2623,2625,878,479,109,3571,2066,7279,4821,9034,4620,9031,8978,
3521062,3401,102,866,5549,9042,597,9054,2037,2014,2565,4823,1342,5940,2617,2831,9034,4753,9057,5417,6485,1870,6640,8018,8450,6486,1746,1496,8338,8820,3523,8647,3916,8643,1746,6360,5932,3916,878,293,8675,262,4628,8699,8866,8211,8130,6776,8133,3854,305,1905,3816,6431,4685,6433,4688,6435,4691,6438,4822,8672,7683,3894,3793,5012,116,8829,8386,7975,8242,8858,5569,5925,8685,1844,9097,4235,4984,8862,4412,4933,928,9102,8876,547,5947,8081,1360,5951,8556,1535,8160,8235,5614,3908,5641,5772,5925,8118,6780,5948,732,
3539039,2617,79,9138,8528,6991,512,9106,8142,7852,1574,8377,8847,8361,5990,8356,5992,9175,1906,8371,1314,5998,8153,5479,7916,5481,8895,8718,353,5562,8256,5087,5641,6471,2115,4688,8690,713,4299,8707,606,8697,8391,6314,8700,6910,437,9098,4236,262,3519,3933,8066,9141,8203,9103,8712,1627,9169,8215,471,453,9152,4195,5456,6302,8658,6463,6465,8653,8927,2799,9209,8698,9216,9143,8655,9122,6651,262,9126,4100,4952,4195,8207,8063,726,2510,6153,5911,8673,1546,8590,8036,8592,431,8709,8764,8884,5049,5985,8091,5775,
3548887,6008,6073,8611,8596,8602,7874,6386,5292,288,8607,908,9124,9265,1063,3707,8892,9273,2333,8090,7616,9278,8614,9278,1547,9278,9275,115,8621,9281,8613,2699,9278,6266,107,6400,6379,3737,6403,6405,8327,9259,8612,8487,8395,8645,1039,8897,6198,8900,9251,8400,9183,6209,8905,656,1777,318,1676,6709,1719,9088,1787,7591,6142,9155,5118,5987,4679,5145,5463,4166,885,1645,5128,9236,8867,353,8729,9153,5339,4329,8929,116,5355,9127,8345,572,9347,5840,5871,9194,8934,8261,3183,3642,5059,6321,5061,7603,6717,34,84,
3558908,6516,8448,3342,8426,8023,9347,6508,6572,8934,8936,2990,5548,533,5159,5987,6078,279,5128,8185,8778,8943,9384,8946,4758,866,5775,8951,6563,8908,9349,8960,418,3693,5490,9399,5658,5965,3452,9347,4398,8933,9400,665,8963,8444,9079,9369,8969,9371,9083,8097,306,1334,2900,8290,8232,4037,7607,6082,5710,6343,5642,3210,8255,5338,5685,642,914,3674,9243,9351,3641,8289,5237,7605,8233,9426,6798,3614,5809,7920,355,8411,8567,9254,1878,2078,8610,9306,9269,7761,8624,9294,8885,2333,8763,6653,8765,8573,6737,8575,
3565445,5064,6413,5817,334,649,6448,3972,552,6451,3325,6453,6455,5903,6458,110,6460,878,3700,8651,808,9231,9247,9195,8689,8660,8812,34,9148,8717,1500,4988,8236,9473,8052,9051,6475,8459,8784,8461,7991,579,8782,9446,726,108,6223,5722,649,8465,9495,8460,9282,1459,621,9519,8458,8484,8468,9509,8606,6219,2925,4414,1448,690,6688,1360,2530,8735,7158,4195,9343,5627,1716,4365,4942,104,50,54,4049,9547,54,52,900,970,9532,9078,8496,296,8576,5236,7603,8308,8310,5959,8917,2414,8822,526,9433,8267,572,554,807,526,552,
3579192,5198,8723,9104,2549,3706,279,8970,9164,85,543,2164,9200,4801,8722,6307,9341,2896,9582,5231,9417,294,8432,9315,8124,9597,321,6546,7700,5647,9602,5925,9415,5705,9602,5575,8761,256,1800,323,9263,6170,9268,8601,7761,9289,9461,3578,292,8889,116,8891,9619,8605,8768,6410,9470,6412,8631,8898,3695,651,8901,3699,6728,8303,833,4449,369,8907,9410,8324,9416,5707,7963,6661,8302,3642,9367,9410,8966,606,8968,9610,9650,6643,288,4724,2257,9613,7762,9286,976,5429,9629,8088,5771,9464,9272,9467,8767,9017,8771,9472,
3589429,8454,8464,8474,9520,9508,9522,6878,3439,9525,9512,8476,8785,6260,8167,8978,5826,2030,7336,5522,7338,8471,6935,7475,7176,7470,2039,8481,9198,7742,6930,8001,9064,8941,6032,7265,8779,1804,9708,9685,8485,9693,6394,5648,7099,597,6974,6778,4816,4806,6780,7274,7276,9709,341,7698,9604,7880,1825,9704,4764,6456,616,99,6361,815,9258,9218,7762,336,9740,6912,8079,6711,6333,8500,8023,8873,9600,8679,3642,9756,370,9657,8423,9370,9661,457,9666,9622,9671,8893,9469,8403,9471,9652,9503,8745,6824,4657,8269,9224,
3596419,6088,6109,6090,4026,9785,6106,9786,6045,6103,6099,6042,9791,9794,6095,6120,633,6048,6117,9799,6119,6053,9800,6105,6111,6061,2848,9801,6059,9807,6065,9806,2510,878,5548,8958,7463,4329,8430,118,9818,8439,4692,8390,9819,8016,8490,8408,8330,3084,9566,4080,8588,7342,2952,4089,3849,4147,4642,4149,4722,4634,9840,4731,3422,2511,9212,4407,9214,100,4630,9063,4842,9837,4727,4090,4730,4637,4633,9787,9664,9846,1820,7770,119,75,101,121,758,9590,9153,5265,4784,8185,5279,323,2379,4500,1575,7300,3976,4927,3689,
3603587,1145,9853,9885,3691,4093,4176,4878,1461,4660,407,9041,4657,4016,9
3600,471,109,9293,7704,3276,9838,4640,3950,9842,6719,9844,4641,9864,799,2968,5723,7794,6888,9856,9861,4027,3441,9909,4728,9911,4153,450,9112,8646,316,6675,6013,8711,8701,9847,2947,6201,9904,3430,9906,4729,9845,9860,9843,9862,9859,9048,8932,5739,4718,9317,8987,9939,9857,9839,9912,9943,9910,9945,9942,8154,776,8156,732,1482,2104,5294,9203,9827,9238,5953,8440,8939,4906,4016,3836,9280,9938,729,4025,9921,4725,9980,4152,4034,370,5916,3965,
3619851,4503,3747,4177,4179,8814,9730,5164,1936,6506,649,9831,725,3624,1E4,9883,3687,8788,9713,4932,4934,1442,4875,9851,4935,1594,8708,8586,5473,8913,1827,4854,291,1095,2513,4775,6349,109,9968,9247,921,6650,100,10027,9340,9580,9302,7603,1E4,1570,9442,3640,5547,9378,4444,9160,5761,4587,10018,5395,4385,8673,4191,4672,9893,1334,4753,9994,9897,5264,8695,633,108,72,70,79,86,8845,9173,4930,8850,1314,8379,103,896,9183,8382,5771,8322,8328,8296,6517,6563,9117,5138,472,10006,4611,427,5148,95,4364,976,4742,287,
36210088,9877,5478,7805,97,10032,9121,437,429,645,3517,10047,10020,9232,4775,744,1220,1607,10099,9153,9933,9207,7805,268,10060,86,10063,10065,2328,104,5109,10104,9928,10019,4570,6016,10050,1643,4795,603,4797,3899,4800,8286,5987,406,1605,970,8108,9729,4807,4819,1880,9054,4694,9879,5347,544,10139,278,970,878,10109,6295,9868,121,809,5649,9526,3254,743,121,275,4821,398,4620,5205,3879,711,10112,9748,4016,4018,9730,71,10165,1300,404,493,7781,9905,9954,9907,4028,4726,9920,9984,4092,9935,3941,355,9917,9855,
36310184,10189,9863,9957,9924,9959,9956,4140,2781,3942,9951,9978,3946,9940,9925,10187,9983,10199,6556,120,97,10098,9136,8959,10115,9927,3891,9929,4331,10049,10100,3681,116,8123,5627,8121,373,10230,4599,9834,316,7612,4721,9958,9981,9841,10188,9944,10241,9913,10236,121,6376,9952,9979,10210,10202,9908,10243,10240,10190,4087,1197,3423,292,6440,3537,10239,10201,10245,10200,9858,9960,3862,10052,4179,10173,9934,6402,3700,10083,9363,9725,598,3878,10089,8226,10091,3531,10093,10281,10095,4636,10259,2511,3539,
3648553,10183,9953,10198,9946,9923,10268,10203,10290,12,2781,10176,603,5230,1837,3840,10252,10266,4088,10185,9941,10300,3269,2511,5723,4272,9918,10197,10244,10257,10242,10213,9946,10301,606,4628,9853,10264,10299,10254,10323,10269,756,5809,4233,10219,8676,9205,9217,10274,9463,10135,9872,9127,573,2943,8108,1179,95,4791,5797,7391,10314,2781,9900,2E3,9277,10250,10209,10311,10211,9922,10255,10265,10321,9913,5551,2990,4016,5723,10249,10208,2771,10308,10366,10267,9955,9926,4717,2511,10303,101,3800,6295,10329,
36510378,10212,10375,10214,10325,3780,3342,10238,10359,10374,10361,10253,10388,10397,10309,913,5781,8323,5781,10354,4429,4805,4020,6291,9892,4179,10386,10186,10363,10332,10313,10035,10279,411,8947,6021,429,342,878,259,106,4176,294,8685,9091,10273,10221,288,103,10179,10167,277,10432,9167,8598,10124,10046,10126,10048,10021,834,10023,6707,6157,8880,5818,4927,1607,9617,8093,9307,3578,6428,5724,7007,9285,9623,8786,9262,10462,9771,9282,8317,5977,10456,9458,6260,8317,516,9271,6730,9282,3700,9588,8706,2527,
3669628,9457,9620,6260,10029,8066,100,8757,10475,5411,9675,9462,5667,3521,5586,10455,9278,10030,711,4645,3812,9278,10479,8705,3521,2527,4783,279,8635,9773,6356,6273,6373,9636,8039,9255,3819,5019,3523,291,3520,621,797,91,3446,353,623,8035,6668,5970,302,10527,494,6249,296,1592,9972,381,10534,573,10536,3505,10540,2909,10528,10543,8429,8932,125,93,6380,3876,3426,6209,10025,10358,6677,10459,4711,3149,101,9299,793,10522,6197,278,10525,10541,10529,753,5258,3396,10551,8902,9641,10553,101,10372,9642,416,6369,
3674177,9119,6078,396,10576,4675,10077,10581,8202,8904,3693,8585,9095,3779,651,10566,3693,10568,284,10526,10546,10535,10530,7863,3916,301,10552,4219,10561,1042,9644,4219,10580,3149,665,5397,10598,6219,10524,10602,10570,10548,5625,10533,10604,10542,10606,10538,5416,10627,2919,10547,10606,5413,10633,2542,10635,753,9821,10609,10617,8585,4503,3779,6341,10521,10621,10601,271,10603,10634,10605,10572,10619,10575,3705,8882,6209,10459,3445,370,5658,8671,10648,7628,3693,780,9120,341,115,58,123,120,271,2478,121,
36810677,510,125,47,10675,58,1930,10679,48,125,5782,10599,10622,10652,10624,10606,10626,287,10694,10572,5677,10658,3964,10663,743,3693,10430,10597,8821,116,10670,797,10672,10674,5548,10680,4737,5512,10715,485,10682,123,10714,1930,10631,104,10685,10689,3554,10523,10651,5327,10698,345,2819,10638,3180,10640,345,1744,10610,9594,698,335,6497,6202,1179,10394,6677,10025,99
36803,6715,1777,8500,5952,9326,4887,702,9690,9052,6949,9521,8058,9123,2510,10230,8287,4657,744,9032,5646,4599,4805,8486,9691,10761,9462,1476,
36951,10773,10759,9507,9721,9529,9631,5904,9633,8971,8559,8637,3619,10596,4009,9566,9191,3117,5964,10795,5343,6572,3678,5406,7277,4657,8025,5496,9948,4420,9412,3452,118,10806,7701,1880,9557,8721,34,9560,8562,316,3540,8082,909,1859,407,9224,10493,8630,10823,9618,10484,9630,8029,5446,9680,6275,2171,9737,2730,3545,8750,3626,3551,324,1711,9829,3605,6339,8970,7917,8445,5294,9659,5722,9602,437,3519,7791,6674,6195,10821,8591,6367,9257,10471,10485,8623,9455,8883,10457,9459,9296,10463,6265,9674,10477,9676,543,
3706380,3700,9304,3084,10493,1866,8636,8416,6195,8772,1632,8420,9533,2036,8366,10113,9579,9748,1860,5461,9355,9571,1125,9488,9230,6467,10107,5202,1805,9186,8554,1689,9149,6008,10811,4195,430,330,8434,8209,10894,8701,1777,5037,8814,10906,10792,8051,406,2818,1803,383,10923,1334,8977,5298,3038,8185,3042,9045,414,4381,323,878,10571,9734,4038,1531,294,10234,3452,2844,1664,8833,8353,8835,6660,6419,8838,9392,6703,8120,10945,9125,7496,2712,4036,114,2624,928,608,610,10966,10075,6166,10067,9873,8848,8185,10069,
3719181,10351,9184,370,9778,4703,5172,471,8208,5326,10114,10440,1820,9249,10592,10893,9592,9580,9253,10451,9614,10465,8092,9300,8767,1693,8085,10830,8629,9301,9594,9626,10483,9465,8884,8574,9079,9560,9312,8899,9638,9600,
37110588,9318,9937,10581,292,828,10577,3516,10079,5668,10667,9776,6343,8965,8910,6339,5599,370,5369,8023,10982,7354,4906,9781,9427,7745,430,1707,6025,6060,6022,9807,6022,9797,6041,6098,6108,9792,6102,9796,9814,9798,6107,9787,6112,11051,9805,6093,9813,6028,9811,6114,9808,6122,10425,8815,
3724593,10962,4942,10936,555,1663,1575,6068,9166,7375,10449,3223,9453,10998,9977,11005,6387,11007,34,8827,10530,11091,8766,10877,3705,11025,8633,6177,9466,6378,11002,8886,9461,8630,11024,10568,4177,3837,11001,10877,10832,9775,8037,9637,1615,5716,3571,1115,11021,10614,9594,11101,6209,5658,11030,292,10709,622,10711,5695,5760,777,10841,1507,380,10755,8317,9963,776,9965,8321,8325,1145,9764,10852,8374,10229,3678,3920,10040,10404,5473,10003,8332,10819,3627,8315,370,8511,9931,9502,9429,6446,725,11164,3619,
3733624,6860,10018,9247,10901,8652,10903,8127,9237,4184,3894,2351,8731,1001,11170,6490,1806,7394,6686,7313,2120,11186,1826,11172,5832,10907,11192,9448,8505,7921,11188,3304,882,11179,9593,3675,8675,9142,11206,2171,11184,594,11193,355,6482,7640,336,11172,1145,11214,8914,3635,8200,1046,5925,11221,6361,1046,8754,8558,9449,5911,1847,710,638,808,9999,9310,10849,9079,10856,8396,353,9655,5658,11149,8911,9766,10460,8427,8302,371,8015,4814,6018,5506,9389,8945,456,1910,8949,456,6540,8961,10808,4657,9347,8931,2933,
3749409,9404,10042,8964,10850,5593,11248,9649,11250,8020,5473,8316,649,76,4037,3531,6441,3907,5328,4183,1244,3517,3624,11284,513,217,1461,878,9724,1141,11285,5468,5164,11289,5463,11291,4587,5037,11294,3531,1178,1527,338,9505,10433,10549,2933,77,9032,7342,6006,7542,1030,8963,10766,5264,10642,2328,4509,9851,8564,10001,426,525,8748,9132,4587,8753,3797,10912,5089,6664,10840,4587,8585,10425,100,10427,1176,3517,5925,65,11346,10428,5472,8408,9947,11316,97,9605,4599,9226,4413,1888,5390,471,3084,4596,7588,8826,
3758738,1808,8741,7951,9970,4296,11330,1570,11332,5485,3619,11335,10858,1743,11230,5385,8757,437,9086,11239,10755,8641,9091,11342,11382,1826,10791,10096,11003,9099,110,9101,
37510033,9748,8213,4588,8134,6078,9110,2328,8665,5975,9114,4689,6436,4692,10585,9247,3784,8161,6013,9439,4035,6651,9124,9242,5326,9244,5089,9240,3917,4442,6126,11426,9129,3452,9234,2050,9138,6426,3935,11209,10034,288,10044,10520,2120,9498,8734,614,11266,5264,8787,6972,4930,5881,8188,8183,8795,8192,5891,8798,2861,8800,8194,8802,8943,
37610353,2555,11339,8139,5785,8750,9158,2627,10796,5963,10798,8730,11197,8715,8555,9499,5939,9161,9072,8861,8863,10802,11085,8212,9169,3188,10892,10345,10975,9177,9065,9179,8851,8359,10979,10971,6395,79,1803,10794,6013,9345,5351,8688,9197,9495,8383,10481,8696,10337,11441,9748,11436,2154,4516,10011,11440,11402,10341,11404,9221,8217,9782,3452,11361,5959,4599,11176,9490,11178,10130,11207,8062,11523,11314,11326,9379,11273,5100,10985,9247,9758,11373,11181,5383,8879,6364,334,9256,10583,9278,9615,5773,11E3,
37710872,6394,8599,10467,8058,6078,10492,10875,9462,9291,10558,11097,11564,11113,11560,8114,10498,11574,6389,10868,10472,6394,9770,11571,11568,8619,9292,6385,11567,9624,10871,11563,10494,10874,11104,8630,8632,10880,10511,9079,8338,11016,11119,9089,11019,9640,3701,10613,2972,9645,353,6230,685,8023,11444,1390,11611,1483,1499,2622,2638,11616,6232,9961,6235,621,9962,4215,11621,6244,11619,1271,11628,9499,6461,10784,345,11388,11281,6711,9999,11155,11166,6275,11168,3638,10391,8305,4675,866,789,488,9641,7042,
3789919,10320,10214,10298,10387,10191,6402,9767,10085,6751,1272,2512,5341,430,1906,8042,3794,5148,2843,10261,95,10088,6426,95,10288,9787,115,121,4302,11462,453,3792,281,1905,2855,102,95,5948,3687,10204,606,11647,8870,1131,11649,107,11651,7986,11654,10256,11656,10364,10330,9985,10192,110,10356,109,11570,11653,10319,11703,10297,11705,11658,10258,10406,11709,9901,10750,11713,10295,11655,11716,10416,10379,3895,9884,114,9451,11446,11731,8418,10996,11552,8631,9602,11576,11591,10883,10512,6297,11601,10517,
379798,10557,9456,370,10749,2528,3702,11608,5293,6167,4994,11697,4037,11699,319,11606,3154,9262,11698,11700,8906,353,11376,9452,10997,6395,11712,10882,10870,6262,11577,1627,11593,11012,9468,9414,6251,8315,10887,340,11505,5108,10889,5164,4307,10899,7301,7780,2582,3483,7243,7214,7909,1125,7666,6946,9734,2153,7847,11796,3775,1813,9011,7998,2292,9740,2153,7908,7645,7753,7007,7206,4982,68,4983,282,5361,11482,10755,10030,982,602,711,11287,1619,6443,11489,431,1335,1546,7770,2178,8908,5164,5693,4912,291,543,
3802217,74,111,98,11831,374,7594,11793,721,464,3519,530,385,406,5689,5326,3240,4314,11838,1848,9108,8136,2328,108,11855,5741,385,11358,11860,4360,6604,9225,3426,10030,11846,11848,11850,284,11842,4599,6507,9337,9973,5359,9441,7603,8542,34,8415,3618,8506,11771,11738,9291,11723,11775,6260,11569,9456,11011,10869,7620,11599,11239,11786,4989,1679,9204,4360,10988,11489,11173,10126,9247,11518,9100,82,11205,11442,8631,649,11882,10652,5329,5571,10251,91,8406,6680,11394,5223,5023,11894,1752,11936,287,6487,11934,
38110789,1743,3624,11634,2880,11927,5327,11929,8116,10184,11933,7912,11354,10885,11187,3609,287,11938,8409,11215,6453,32,11942,11955,6481,1685,11947,4814,11399,4174,4094,10053,11432,4360,11833,8877,5202,11518,11516,10341,537,299,3838,11038,11189,11038,1145,11987,8547,11429,11425,4360,11427,11435,10337,4173,9139,11522,7578,11978,9144,3894,8694,10482,11515,11539,10989,11773,2643,11949,11303,9014,9953,11954,6480,9310,1808,11960,11943,11957,11201,11959,11965,1746,11961,5812,1808,11970,438,9229,11177,6417,
3829247,2825,1825,11174,11536,11920,11520,9213,12001,10993,8128,10341,10763,9125,11431,6141,11995,11434,4657,2292,3624,12013,11951,8683,12016,6672,12022,11895,11194,649,12021,11967,9310,3624,11941,12027,12062,11939,11222,112,12031,372,8260,6013,12014,11930,10360,12017,3616,11935,316,4040,12066,12018,12085,11228,431,12070,662,12067,12090,4040,11634,1777,11247,9563,465,6512,11642,6299,9625,8823,6509,11439,8926,11548,2799,3854,3837,9584,110,9586,2039,9589,9779,11916,9581,8882,8970,9599,11548,1062,10459,
3838426,7699,6509,9607,8750,12100,8424,9611,11550,9769,11004,11905,11580,9581,11009,12139,11901,6656,11744,10514,9635,9313,11018,2119,11020,9320,6671,5424,12072,11962,12074,11240,9558,288,12083,1740,11944,12024,675,3622,6711,9442,4512,9305,11551,8083,11739,3700,5723,9278,8632,10747,11583,6398,8627,11742,206,7761,599,601,10133,11780,11906,9723,6403,10580,12140,10865,11635,9559,10786,8100,11252,952,3002,9405,4657,12201,406,9402,3452,12205,11709,9111,4609,12210,11409,7496,12203,5264,337,12212,12207,3318,
3844982,3044,7275,489,6721,7615,11559,12184,11907,12161,9080,6658,8019,11910,9454,3391,7649,11084,4329,3373,3162,6587,8692,10086,7160,3225,7057,4947,7164,6849,3232,7167,3235,7065,32,6601,7835,7174,7935,3442,7792,7650,4750,3082,7032,9013,12081,3868,3390,3506,3392,7994,7676,3372,3454,2497,6951,7955,11254,6918,3118,3475,7690,12281,3484,7238,3108,7960,5264,2892,2127,3188,3150,3495,3491,3202,8994,12054,3118,3306,7672,7998,3073,3469,11813,12294,7321,7725,2469,3489,7510,116,7531,2680,12312,7417,2531,7374,11979,
38511182,12282,11795,9836,8988,7487,4846,7414,12315,3299,6916,7755,4599,12241,7188,12274,4444,1941,4827,12244,11451,2539,3044,7347,3316,11888,7115,12271,7021,3450,12298,12341,3218,2921,6951,9740,3494,7249,12313,12303,2402,7865,1989,2242,2881,6925,12332,8693,2801,1266,4110,4649,12326,7778,2915,7238,12293,3512,12330,12288,7443,2578,2294,7001,9171,3089,2601,6003,8138,4657,9066,2508,291,12356,3478,3367,12319,12004,5524,9034,9026,4886,3073,7903,2405,12364,7075,2246,9008,3330,3354,6748,12212,6817,8981,7501,
3863064,3999,10820,8328,7635,3468,3044,7890,4657,3066,12396,7694,6635,7696,4906,1941,12401,6804,7343,7029,3474,12316,12409,11217,2330,3257,7271,12367,12425,2312,2728,8523,12264,2389,3186,904,3098,12291,12297,12289,4744,12307,4247,9E3,2583,12354,8013,7855,7737,4860,12342,3313,7467,3133,10812,12348,7454,5459,12265,4533,9740,2892,2366,12284,2298,12276,11030,9783,3386,4665,6584,4758,6538,3353,12441,3366,2459,12428,7480,12465,12390,2402,12306,12378,2365,2432,12453,3293,7322,12460,3378,324,11317,5098,6938,
38712275,2423,8805,8104,7263,6538,9699,8811,11189,2905,2432,12317,2998,9075,4137,9077,10838,3020,12493,7811,11536,2183,7437,12336,4529,2402,3411,12444,3165,7987,7136,7084,7990,10866,3391,2540,9004,4906,2550,12462,7209,2501,12496,11325,584,3271,2602,2968,10448,12005,12504,12350,12456,4886,12426,2320,12473,12449,2741,3044,12477,12276,7433,11811,12300,2707,11818,12385,2555,12514,8775,7055,8174,6536,9700,12075,12410,12491,12349,3497,6576,5464,1941,12424,12540,7028,4204,12437,8999,8927,12461,1596,10055,8806,
3889713,6583,9388,5864,12386,3067,4327,12351,12240,12276,7808,5459,9038,11485,10279,9044,9046,9870,12270,2911,7199,11800,7339,12369,4566,7307,1210,7034,4294,7732,3005,3142,12242,294,7157,3838,3224,1906,7162,7826,7550,12251,9128,12253,4955,7555,7066,7557,7068,6857,7070,6859,12520,12629,4895,4539,4515,130,12414,6635,8982,3055,12287,12455,12381,7513,2092,12572,2607,7326,7931,7860,7329,7143,3065,3462,12427,6626,9036,3452,2494,12404,2030,12364,12547,12683,12445,12529,2054,12433,5464,12304,12343,7106,12627,
38912658,3107,12480,2356,2870,12238,11488,12457,12353,2758,12578,12506,11808,10260,2037,12193,12324,11725,11715,9960,11657,10414,11719,11203,3354,12397,11374,3474,12266,7308,7898,7731,7900,3205,7E3,1989,12523,422,9736,10927,10122,7743,12515,6580,12607,11257,12609,935,9028,7998,12241,6133,7516,12528,12492,2283,5878,10161,7263,8790,5888,8792,8182,8797,2854,5894,11458,5538,11463,11461,5849,12490,12521,2405,12736,3364,12411,12734,12359,12579,12375,12379,12668,9738,2643,12725,11549,12733,7689,12592,12347,
3902487,12697,4346,12309,2875,12311,12295,2030,12563,12669,3140,12472,12797,7076,12749,12504,12794,2920,3263,7938,12120,7290,597,7941,6772,2935,6551,6776,7389,9882,12723,12491,3501,7959,12800,7312,12706,5278,3118,12362,8871,7726,2643,12301,7734,12279,12346,12703,3365,2488,6965,12512,109,12388,12340,6984,3391,3321,7859,4930,7861,12260,5837,828,9061,7874,6419,12391,1341,2504,8072,827,12619,2719,3469,12836,3026,12491,12834,7724,12702,2522,12508,11453,12758,7935,3043,2601,3052,3048,3050,1596,12879,6460,
3913447,7495,12413,9546,7357,4546,3500,12792,7851,12711,4576,3073,12869,12494,7210,12554,12707,2876,12323,10318,3859,8989,7708,12422,2601,7429,11816,12801,12625,12330,12314,2726,7178,12539,12846,12802,12308,12871,12832,12916,12312,12807,2808,12509,12595,9027,9055,1411,12527,3134,12829,7792,10195,12290,1508,12751,12280,2235,12458,3994,3125,12922,12670,3129,12892,7878,7397,7905,2726,12840,12568,7256,12271,12897,12793,12946,12795,3365,12612,12564,12549,12395,12530,7506,12690,12938,12673,7985,7517,6806,
3923417,7759,6618,11776,12920,2694,3491,12960,3181,12548,12285,12271,12954,12600,12699,12821,2352,2811,12918,1256
3925,12680,2216,11358,12694,12942,12500,7597,12782,12753,12841,4508,8703,3211,290,8299,9247,12896,12577,7967,8736,9713,7824,12249,7973,7829,4953,7554,7832,7556,7834,12654,7559,12656,6608,12747,9034,12933,12337,12276,7533,8742,10780,8294,12357,13001,7205,12779,3019,12272,7958,8264,3358,12962,7416,12439,12990,12504,12377,3320,12551,12698,12911,12628,12692,3022,7479,12899,7956,12466,12708,3374,
3933008,12675,12850,12677,7862,13011,12809,7711,12811,8940,12814,7716,12817,3406,6779,12771,12446,3120,13014,12497,12450,12468,850,9247,12241,11815,7752,3194,12604,12742,8002,8777,12745,6585,12700,13043,9125,13073,10983,12245,91,13076,7943,13078,7299,13080,13057,3161,7522,7986,7757,12542,3419,12544,11720,12557,12180,11724,11931,10296,12719,11717,12721,4642,2531,12830,12406,7238,12799,12867,12637,7121,7816,12941,7119,12546,12949,7735,3465,7856,12614,13058,3368,12950,7462,13132,7400,12591,12613,12828,
39413141,13087,7663,12894,12912,2680,12534,8385,5679,12943,12479,12789,13140,12979,4526,2405,13134,12753,12823,13045,12934,12286,12781,3509,12982,12440,2352,12523,9321,10015,5762,10755,406,8364,8585,12130,2328,11095,101,10646,1461,10947,7155,6219,10018,13197,4051,10884,668,437,8521,11826,5324,8750,6666,5334,11384,9632,9774,5033,9366,1895,640,8580,11897,12174,10828,10864,10831,8096,5114,745,6685,12199,9503,2153,9367,98,12574,13041,2815,5728,11799,13056,12440,13232,13091,7848,1186,3609,12705,8933,11849,
3957015,7412,13235,1895,115,6935,12674,10057,12812,2713,13069,12852,9396,13248,7120,7441,12824,13247,115,7381,8746,9713,13107,7386,7944,7719,12820,4586,1674,7792,4313,13164,1127,13232,7675,13163,9406,13252,13249,12355,12984,6927,13252,7092,12464,13062,11267,13252,13114,12973,3168,3408,12976,501,6619,13286,7131,12778,13159,6632,13252,12483,9713,5376,12486,4762,5381,2387,13308,11849,13283,6813,13085,977,13282,12903,4842,6450,9045,12325,3930,11264,13262,7252,12835,7219,9376,11849,13034,11548,7953,13296,
39612243,13084,11663,13016,7549,4949,7828,7552,13020,7831,6599,7833,3241,13025,7836,13027,7838,13231,1895,7192,12729,12015,12634,12732,12737,13318,13324,12540,13326,7782,12031,13358,8033,12972,6939,6614,12975,7989,12977,7991,13252,13360,12632,7730,13363,7804,12821,13232,13268,13074,11255,12813,7292,4121,13108,6775,13079,11467,545,13252,12774,9735,11849,13137,13144,12900,7697,13403,13264,13175,4444,13236,7046,13367,3413,9477,2826,13370,12490,13388,12273,13284,13295,13408,13288,12969,12901,1006,13241,
39713341,9540,8807,12247,12644,3228,12646,13347,12252,7830,12254,12651,12256,7980,6603,7982,12678,13330,115,3443,13266,13287,13102,6823,13104,11663,13271,7293,13109,12819,13111,772,13277,2313,3444,10293,4487,13304,6956,7132,12993,12434,13116,13377,12543,13379,6394,10836,12739,2990,13236,13255,10279,12851,12657,1734,8950,8750,13232,13218,108,533,675,13447,13413,12476,13289,12838,336,13420,7854,7695,13145,12402,1363,13499,13333,13138,12837,1464,13236,13234,13307,13240,1895,6867,13265,13335,13253,7702,
3987800,13361,12268,4229,13399,11849,12616,13411,13467,11798,12639,12389,13343,7970,7825,13435,13346,7974,7976,13021,13351,13023,13353,7981,12655,7983,10402,13462,1944,12937,9346,13528,7456,12463,13501,13406,4906,13372,13481,7932,3014,13545,13261,758,12605,13105,10936,406,11101,1248,4760,10844,11244,13217,383,880,13491,8301,9503,8579,11313,6948,7965,12196,288,13226,10914,6337,3538,8333,5374,9428,11643,6333,4320,8727,11146,3521,13594,6338,10080,11159,1505,10842,325,8419,4301,691,9609,10853,9767,8023,
3998436,880,8438,12214,13606,101,8442,7820,8431,13613,8443,4523,5512,13618,2328,120,13625,6348,13628,4444,121,13630,11274,9414,5237,10847,10854,12155,116,12028,7915,10829,11031,5913,3642,12163,11956,12063,11963,3609,12168,11769,13593,10755,453,2601,10779,9506,9527,8662,10783,5791,7739,13036,6289,12147,8404,1603,274,1892,6687,5421,13655,9880,1461,9322,4675,9331,8247,9333,5094,9335,2413,6455,4766,13677,5214,3907,11507,7691,5397,10170,5135,8240,9578,10994,9748,4836,65,527,426,7939,10917,13697,11983,43
39902,
4001695,8219,11494,1700,8108,9784,1709,5934,11479,8732,11481,11448,1643,5195,782,430,5085,10770,11529,11887,6312,11982,11540,13531,4329,5148,13694,13687,9328,8257,11360,13721,5071,824,5139,13679,4677,5078,5079,7582,4919,2837,9570,9541,12511,4444,13733,5111,5137,13741,5116,5174,296,5142,5079,9334,11807,6624,13675,1334,13677,9162,10897,11914,10918,11314,13754,5180,6223,5182,13759,1620,5093,13747,4683,13721,13677,13778,4678,13780,5623,2814,13766,606,13677,13724,9329,11853,450,13721,5113,13757,542,13785,
40113761,5122,7581,13788,6632,13790,110,12430,5464,13774,4020,13776,292,8278,3907,8388,9406,13807,9349,11324,9346,13807,5845,10898,4499,5347,1334,9354,5684,13795,1820,4302,821,13829,5215,5616,13831,726,13833,552,13824,5262,13837,9225,13721,7765,5153,5326,5155,13838,4836,13693,5207,9932,13772,9167,11737,12174,10573,606,5051,11556,983,13862,11574,9360,6320,1664,13672,10833,12149,11017,558,11129,5662,880,4493,692,11131,10710,13415,2478,2929,10949,10980,3516,5956,9094,9090,10707,12104,3674,11678,9398,12684,
4028422,12216,6984,5294,12220,5340,10800,528,5567,11542,9854,11325,11469,5511,10539,6513,11014,12198,10845,13649,9759,8917,11116,13215,10595,11389,13220,3631,11554,9747,12145,756,9267,12181,8786,8603,12229,8606,11585,11774,11588,12978,13936,11104,3578,11899,11587,13940,13938,828,9297,12189,8596,11595,9303,8634,13866,9309,12090,13229,9429,10810,11270,3827,13890,11301,12633,1840,9310,11396,10289,370,11533,6466,12035,11536,11678,13898,12828,13900,1803,8659,10162,8661,8486,11589,10813,13615,6432,4170,9115,
4038669,11415,10261,9120,8743,8674,11538,12002,9206,12010,11541,13411,11509,12827,833,13582,8598,13731,12565,12119,4769,12008,13995,10340,11314,9542,5869,11543,13623,13911,2990,7962,294,10506,728,9746,13695,1619,11915,12320,9185,13643,13717,10909,11482,8719,3821,8721,12045,11180,1653,8080,9964,685,10037,13892,8495,10815,8329,10040,11136,14042,13591,6299,10247,10413,10312,10331,10389,10324,10981,10444,355,11165,14036,11206,10247,4719,11701,11714,10365,11704,11728,11707,1627,10232,10946,11153,11327,4798,
40410136,4595,5987,5885,10348,355,10350,9183,13275,9914,4141,12239,7448,11702,14068,11727,14056,10333,11708,14065,14053,10362,9982,14094,10417,10972,10279,10977,10071,10073,4792,11623,11143,8501,10222,5585,10106,11175,543,1496,8585,1013,14024,4240,14011,12010,9975,9595,14098,10398,10415,14101,11729,11691,3688,11732,9886,9147,11735,3587,1777,9666,11557,11741,13930,10473,6333,10470,12178,6333,10491,11598,12231,11015,10515,12150,8881,11022,11123,10745,10207,10581,543,10563,10620,10729,4437,10623,10628,
40510942,10537,10657,10740,9567,10660,12154,1503,11306,11283,11300,4541,9566,12126,1325,11644,1360,11195,8200,9896,10890,1125,11359,10809,12619,8079,13667,5906,303,4587,83,623,1445,10263,11390,10619,11156,8408,11035,10657,8713,13716,8529,9188,679,13919,10787,11824,1499,5334,8023,13978,10774,9686,8058,528,103,12057,4183,2770,819,3738,5602,603,3283,14227,11848,1852,2944,13212,10785,13214,10787,13210,1501,9373,1673,10306,3429,729,819,10487,259,44,14228,14234,44,4688,259,652,44,8619,1099,115,103,111,14250,
40614233,722,895,14251,14265,50,675,4026,606,260,9573,4793,2784,14247,6726,10488,14263,14229,466,14254,100,14256,14258,908,14261,14280,14234,3798,14289,14268,14270,14257,6546,14274,12031,14218,13665,13980,9722,10664,1018,8239,9247,5849,1803,14013,7018,8125,4687,914,281,100,309,9516,14192,13913,14238,10855,476,1705,103,11242,13922,14050,8413,11241,11238,13955,11163,5238,13186,14043,340,1099,5097,5716,10455,13201,4329,1639,1805,312,76,312,8831,12103,8124,11358,14346,14338,4413,10455,9823,2328,5097,14344,
4072495,14347,623,14349,13634,12231,8320,6358,12095,12165,11936,12160,10815,13641,11958,12167,5235,12169,10036,8231,8292,7572,11039,319,11208,13855,13705,13773,14383,2617,8068,14234,5706,9224,13704,12046,11314,11981,12009,12121,10222,5111,14390,603,12117,10480,10507,280,11044,14394,14037,8878,10815,10817,353,4797,1300,10201,8023,8463,13808,13723,13752,7212,6837,3439,13792,14422,4599,8479,7514,4060,7998,14429,1882,2778,14426,12752,13176,14430,14420,384,12998,2206,2778,7893,14424,14444,12575,8480,14431,
40812385,8488,2968,10855,995,13586,8036,10516,1513,2612,8705,111,10328,10565,10650,14164,10693,2066,8770,12234,10655,2169,6277,1522,10701,8059,1960,1888,14162,10567,14466,10731,14166,10548,10734,10697,14483,10695,10643,9678,14470,13644,6299,12858,791,13769,12620,2699,2622,108,5974,2626,12399,2230,2449,12526,3115,11318,6814,121,6816,4942,13252,472,7596,8982,2014,4137,9074,14504,1108,7998,14019,116,3212,3649,10227,5771,14473,616,14021,9201,263,14009,13992,13029,14520,14442,2222,13030,14507,9058,1425,3111,
4099740,7819,12740,9711,13564,11663,12744,8942,12746,11443,12581,9696,2561,8808,8175,5377,12587,12524,14520,9056,14541,11504,12854,9062,4785,2612,9068,1943,9070,8859,9040,6780,530,1852,5109,293,8750,14469,12598,1627,1046,1461,3564,1835,11548,4971,110,11351,118,5716,10093,880,316,13886,370,14582,8549,9666,8632,8593,13223,6655,4183,386,10879,3651,6632,14E3,14148,11778,8429,13929,12194,5436,8630,11565,11114,12191,3700,12193,12145,14607,9303,14610,10081,6472,4688,14145,14614,13188,11579,12195,9302,3700,
41013122,14625,5463,14608,543,69,14628,450,10132,11648,12183,14142,11180,14642,6404,14645,7414,11904,14640,2066,14652,14644,9418,9460,13933,14626,14609,9418,9298,8622,14664,14643,14654,14171,2812,13927,14637,14643,13952,14663,14641,14627,5725,14212,13956,6275,9493,4688,12339,13342,4329,470,12803,2031,13179,13167,13509,14E3,13515,13410,8258,12925,13180,8527,14630,7791,13463,13279,7891,10117,555,12929,9005,3924,1808,13658,7278,10760,14220,9462,14685,7841,13374,6613,4275,7988,13474,13302,7761,14719,7544,
41113431,13015,13533,13017,13436,13537,6851,13440,13022,12652,13024,13543,13026,13561,3737,406,14538,1384,14719,13200,14075,14018,4760,13901,4329,2825,13974,13556,7787,10341,10059,555,14746,1105,12777,7883,14E3,13337,9734,11809,12370,2682,11077,4930,5500,12665,8522,7317,13470,5464,14690,12921,14694,1448,6187,5387,300,11990,14785,10787,14728,7140,12676,7933,14743,8543,14688,7448,12597,4278,5642,14463,14527,5439,12469,9969,14779,13133,13153,12964,14806,12330,13401,14780,278,13172,10369,12448,7756,6940,
41212436,545,14E3,13246,8937,13463,12263,14699,13178,479,12926,1770,7148,13512,1535,13414,14090,13328,7783,3974,8990,14702,9196,112,13404,4655,13502,4906,14719,13094,12582,7263,7746,9716,8199,8074,6986,6611,14187,14776,12501,12981,14782,9352,14E3,14768,7258,13049,14821,14703,12963,12825,7636,290,744,9616,9464,10341,406,8227,260,262,1894,14510,11904,10341,290,13463,10317,11267,14612,13055,13092,842,7233,13405,13294,5340,14696,7183,13293,13139,14695,14703,12344,6931,13508,14783,12682,12535,10235,4527,
41314871,1535,12312,3098,14307,13375,4872,7344,2555,14191,11536,14790,12710,12601,2762,13162,13320,14897,14903,7010,7369,4079,12626,13239,1734,14705,14817,5564,14089,13471,14819,14583,34,14309,7027,14942,14799,14719,11806,7342,13326,819,9482,773,12031,11812,13496,1464,5106,14005,12431,14007,9202,14534,13698,12898,12553,14896,9346,14E3,13004,10231,11535,4930,8250,32,5774,11502,14949,14934,14892,14629,14842,13511,14925,4919,14931,14830,14855,7321,14815,4444,6009,14788,725,11991,14868,14842,12552,4394,
41414969,11508,14703,1897,1880,519,14652,9247,1639,14762,9009,13520,13383,12730,13385,12907,14990,2201,12505,14986,6624,14971,14927,14180,14902,14999,7396,13150,6572,14E3,9740,11788,13999,14930,14908,13422,14929,14842,13131,5739,12777,14812,12376,7998,14719,12335,15037,14342,11358,14710,7691,12936,12845,4886,4757,13298,4472,1777,8977,4382,11336,8748,13611,14015,4657,14343,8125,109,10056,14858,657,11450,9359,13954,8408,9762,11769,5237,8023,1694,11419,8105,1709,13712,11046,4835,1700,4671,6292,4260,603,
41512509,14989,799,3924,3517,10758,13659,8783,10782,9282,319,11284,6651,10338,13771,14386,14123,97,5916,6758,2157,780,9437,10987,13856,14399,1643,12050,3920,12171,8927,8230,4356,14611,14703,9734,4948,5925,5697,4763,11557,5298,11495,8370,14106,9182,8150,8360,5989,11502,10495,3535,10038,9562,10080,11003,5948,591,12129,8384,2491,13725,7961,6703,12785,5212,3581,1518,5644,9358,12402,10410,691,11975,14533,14384,9591,14395,12010,698,10271,4428,4516,111,537,5164,11852,4829,4672,6293,4261,131,11872,1640,14701,
4161148,14835,12434,14952,4815,8720,14955,6556,5792,14932,11506,11421,3976,291,338,8857,14715,14003,9594,691,10015,15157,4775,10929,736,5115,1592,99,70,1852,621,711,14216,11420,8826,8831,3162,8517,10952,6703,8108,10956,8840,4763,11848,1679,14224,11304,2638,13870,395,7984,14324,13743,5077,13787,13683,3775,10929,8816,1818,8750,10921,11075,11296,4035,15195,6902,13821,14711,4533,14713,9684,13979,9692,13662,14072,10960,14341,4886,12855,552,13688,5190,9998,120,78,431,12113,3598,115,14496,15162,4906,119,552,
4171905,85,6500,10229,111,1571,10692,5955,8291,9444,8293,14408,5326,12080,11952,1271,9423,14380,1593,10270,15090,4674,13815,15270,13838,293,15149,606,8426,15098,15203,13660,13981,7761,15267,14521,7149,892,15190,4664,15192,1471,12
417031,11298,10001,5237,11892,638,4356,15233,13362,6281,12170,4356,11083,14001,12786,8200,10991,8874,15116,15108,12121,13858,10822,13948,10865,14669,6295,1667,14660,9662,458,14647,10134,6267,11560,15350,5037,15353,3558,6332,8099,11746,909,15281,716,100,8977,1888,11308,9051,13880,
41811133,11636,395,552,51,10690,14465,10569,2066,1054,6352,114,15380,10737,296,12218,12662,10735,753,648,5288,120,52,1625,14167,6373,526,710,120,87,15282,14474,14170,10992,12153,6677,15368,1905,5586,15372,11285,15374,10669,15376,1495,15378,15387,15381,14163,15383,853,15385,8926,15388,14471,14168,10608,15393,8497,15402,5662,15398,15389,15401,15396,15405,15369,10643,10704,1977,9119,11130,15418,10671,1738,10674,10676,3328,3167,10679,15453,1313,14574,2617,271,770,11835,125,124,446,10813,10728,14480,15425,
4191001,15427,15379,15399,10548,13860,11836,14486,7342,3573,287,13884,11667,7083,15400,3839,6710,14170,9319,6677,5658,6503,11363,15195,8040,15448,10711,7134,15480,6546,13885,6E3,15467,10600,14481,10653,15470,15421,15429,10629,10656,15432,15408,14649,9567,11132,10671,892,5037,14652,14021,543,2527,15498,410,15482,15423,15468,14165,10654,15509,10733,10545,15529,15484,10739,7217,378,4299,15521,4009,15375,15516,1311,770,15523,537,15525,15502,15289,15505,594,15471,15422,15438,10607,3779,49,15532,15506,15386,
42015508,15484,15475,50,15443,10434,3693,15395,15403,15441,11408,1878,15495,13415,15568,15436,15545,15500,7083,615,15424,15528,6888,15479,32,15481,384,15501,15430,2182,15407,11609,13584,14473,15236,14786,14335,8036,14745,15406,1888,8962,5653,2055,13749,13192,15222,10951,8105,10953,15227,813,8947,10953,1940,115,15104,260,15106,5632,15117,14027,8531,15111,1976,15114,11949,14026,12398,10981,15120,3110,5337,11506,5641,13894,15279,12281,11475,7578,15198,11756,1461,13835,5276,8351,8846,15083,9179,14082,4789,
42111500,10074,8372,10980,10076,5629,12531,14802,15555,1461,13820,13825,14428,5397,15644,5283,6129,5397,13842,8825,13838,11678,5296,904,5298,5305,8108,5305,5307,5309,5311,5313,32,5301,5316,5320,5300,5317,5312,1833,15200,383,7638,15204,15485,15232,11302,12058,753,5331,9324,15237,525,15250,15247,13963,91,15249,10930,13967,8200,527,5741,15601,8755,14062,11924,13685,5354,15637,6927,13823,15721,1325,10944,8122,14750,13411,13807,15666,5357,5641,9246,11536,15010,15600,532,13876,15604,15633,2990,15326,15145,
4221717,11892,6691,15207,14758,11314,11547,11923,9760,8096,9361,13869,15702,13215,71,471,9730,12056,390,11822,115,14214,8819,15597,10649,11845,11358,11847,11849,5338,15641,1820,1592,10158,9734,1520,552,11245,5045,8343,15775,34,9393,1537,10709,12757,11863,275,2178,11406,9109,15619,13689,15785,11869,117,11856,475,2217,11874,4496,2667,15798,869,15789,15071,14646,6384,11879,15771,11881,15178,15798,11870,11857,12509,15804,3907,2663,15198,9654,11821,14234,15765,15328,10910,34,12224,941,955,14456,15768,3544,
42312508,14745,14427,4860,3111,9076,14565,5568,2263,9712,13105,12517,8809,5521,12519,14536,12392,15318,14833,2196,5643,14524,13008,14526,14535,9219,14578,14530,14963,15167,13994,15862,14476,14537,15840,12691,109,15051,3839,6904,6137,14494,3E3,15844,12617,9034,14545,11191,5852,14548,13095,12606,13097,14552,13099,2880,12694,15497,6905,14943,1941,12844,14796,12431,12939,406,15875,2235,12618,8860,14497,2981,14499,14501,14519,15854,14564,2453,14542,1464,9060,14568,4942,12858,14571,12861,9071,15907,2719,12940,
42414906,572,14577,6278,14580,15707,14600,4763,4811,3531,14587,9744,7141,14591,100,14593,4413,14595,367,8382,14490,9418,887,807,7874,9566,4261,14416,2792,3730,6757,9740,15954,9958,13382,8749,15707,13523,9463,15955,4718,6999,12988,14935,6008,916,2443,15188,15876,7449,12905,12373,14840,11779,15967,10291,13278,14938,6304,15973,3923,13495,13426,4886,1033,7126,12980,6875,13041,15960,10201,13494,8985,4007,12887,14773,12889,6820,6563,4207,10943,866,9958,7111,15970,14982,422,4207,13242,13764,1125,15992,15988,
42516E3,4701,16002,7263,14774,12416,4615,12580,1852,9012,13521,15297,15016,3931,16009,10201,15904,5848,15987,14972,4599,16019,12910,16013,15981,16010,13519,16021,15319,14245,2188,12906,900,387,121,7270,7511,14778,3833,16054,13319,15025,1384,16042,6915,7077,9222,15993,2020,13040,15856,15966,9958,15957,7799,16048,9E3,12372,7706,14839,15017,3895,14322,10470,11989,1360,14997,854,100,1827,15984,12405,13192,16067,8992,15994,12804,13041,470,16089,12407,3939,16060,15975,16078,14838,7488,16019,14687,14730,7961,
42616035,15956,7483,8976,14772,16024,16004,7502,6586,306,15974,7775,10395,7451,16034,15982,2781,7340,14961,5464,16108,16091,12687,16093,16121,16095,12944,14857,14933,16100,14981,13243,8522,16141,14811,14867,16088,16090,14825,14940,8928,16015,14721,7540,14723,13117,6617,14726,10873,16127,606,7025,15872,11325,16039,15042,16147,4036,16136,7021,13401,15997,2792,3439,16102,16089,16109,12831,15929,16112,9950,14887,13465,14910,16100,12728,15014,15333,12269,16144,16055,14866,16058,1325,4483,15047,14928,9820,
42715987,14823,5499,16166,16146,16194,14959,387,555,11417,16060,14764,7998,645,16029,16022,12662,12888,12415,7358,6732,16161,110,15999,11810,4896,16188,13522,7036,341,16153,13530,15054,13391,4943,14732,13345,7061,13438,13349,14737,13540,14739,13542,13444,13544,13446,16120,621,16056,16139,14076,16221,16074,7203,14777,15810,8074,16145,9007,16205,1384,16173,2968,16011,16259,16256,
42716072,10201,16201,14993,16203,2307,12443,16266,16169,16248,16065,14522,16181,10291,16114,16076,1380,16031,12059,16033,8130,16279,
4282781,16043,16143,5187,6651,16020,16224,12631,15963,13384,1213,16228,16196,6822,7288,14556,7291,904,7293,12815,4123,6832,12818,7946,6780,16019,16037,13509,4207,14849,16304,6087,6582,14853,14553,16267,15956,15053,15900,5464,16262,2511,15011,6632,4207,14985,12989,16257,16192,12914,16212,14322,9476,13370,7784,16191,12917,16274,16094,3190,16176,16149,2174,16184,3452,16099,16337,16272,6987,15045,4207,15040,16202,16293,16360,4508,16288,3941,9688,14435,14421,14437,13411,16359,12262,16151,6927,16333,14899,
42913554,15002,4906,16329,16289,14911,5403,16376,12278,13334,14018,16365,2779,16104,16050,13416,2784,7488,16275,16122,8985,9740,16213,2489,15990,14847,16230,1977,12849,7263,13483,13028,545,16385,7734,7458,10799,3864,12686,2241,10122,16271,13039,16357,13041,16019,4660,14549,13257,15849,14559,5831,9673,16252,16367,14450,16071,16381,11694,2887,16368,14441,16164,14754,16389,16223,2466,14958,4626,16103,16115,16023,6580,16025,16219,16430,16046,14449,15175,15996,16389,14425,16369,14901,4435,16347,16142,16017,
43016287,16431,7305,16398,16445,16180,16221,12412,16216,16003,16218,12890,6529,2418,6079,14995,14787,11985,16247,16068,2872,16260,572,16396,4325,16130,4996,16442,2699,9740,16064,13152,7250,16278,16472,12955,16041,16419,13170,7113,16147,4483,14767,11511,8618,16170,16187,16297,15015,16299,12635,9274,16347,12886,16474,16117,16476,16005,16510,16276,16255,16384,16415,16326,16110,5264,16435,5295,16470,1125,16532,16061,9557,9666,15997,9278,448,10964,8650,14616,13927,3642,13585,13228,15366,1760,13929,6186,15952,
43110691,10730,15550,753,16548,357,15554,8401,15433,12398,15554,2825,1532,10575,10920,15757,9768,11088,14615,15790,14674,5439,10476,13944,10473,12192,4486,16575,12175,6382,10555,14614,9287,16586,11590,14650,8626,15358,13933,13583,10816,12198,12235,9327,7995,15154,7773,10030,15752,10341,5433,1756,4534,3917,11790,14385,15170,15118,11537,9137,11401,14010,14410,6470,15323,373,4040,14078,9747,14409,11206,13969,9491,14398,15622,11398,15868,9127,12003,12726,3223,16481,16086,14995,11988,16636,2120,16087,12041,
4324783,9574,9215,16616,11206,5433,14402,1715,5948,15294,15107,16611,16629,3774,5010,13854,16647,11924,16649,6277,10579,9587,14531,815,16653,15620,15344,16656,4804,15127,16509,12328,278,10173,8875,11206,9298,16677,10339,16617,771,370,9560,10755,4933,13614,9537,1972,14805,584,294,105,2844,8331,6325,348,364,351,10860,1510,12144,13937,12230,10815,11386,16597,4330,12419,8319,6326,11138,10101,11545,11536,412,761,9132,8752,350,15069,8748,13571,5031,13868,6322,9364,13673,15836,8024,15724,1464,9605,15255,4906,
433122,16733,1384,5903,6698,8690,7602,6296,8030,8756,9602,3548,10744,16731,11040,15916,8268,6011,11044,9783,15086,6092,9801,11050,11071,11052,11060,11054,6039,11056,9794,11058,11055,16764,6109,9805,9804,9803,16772,9809,16771,6121,9810,6062,9812,6116,11060,8363,280,4382,14202,8328,6326,14205,15432,12737,9647,16788,16712,13599,11029,10657,5757,16790,15147,8813,8223,373,15131,8518,15240,5621,4065,13805,11512,6440,8385,16600,15074,9079,16806,6671,121,1825,13608,8023,5916,1306,7041,16678,11924,11530,14120,
4345745,6506,15903,16491,1325,12186,4796,14077,10344,5119,10025,8108,10025,9882,16744,1667,6497,13915,554,15608,14327,1015,3044,14714,13581,15314,14302,9190,11380,11393,14369,316,960,14198,10586,11381,8408,14197,11926,3537,14236,8402,10513,13668,34,11710,6482,16702,3569,16665,15866,11010,16582,10030,6652,16582,14769,1297,15348,9630,353,10505,15866,10509,14635,16890,708,2837,14141,14617,8088,15948,3713,14492,3674,10906,675,14888,11451,15605,11478,675,13970,9E3,819,14976,14978,13715,14029,14209,13718,
4355938,8089,1514,15874,16130,15497,6137,8608,2030,15894,6805,6137,16906,8650,16834,2363,1685,16331,11196,675,14826,9037,8178,12874,6580,8793,11457,5534,2510,12763,2865,8799,2863,11464,5849,6041,16924,16725,9497,8157,8535,10755,3688,98,109,16854,7426,14716,15101,11564,4107,15312,16855,15100,9528,10468,112,52,16967,345,4554,10775,3578,757,9756,16628,15629,14004,16232,5464,14945,5264,10772,8781,14300,15261,9282,722,880,9157,16961,9499,13211,7312,10769,13794,14364,14412,13914,353,868,406,9087,16731,15033,
4369350,46,8393,13851,3837,11994,8279,5143,8351,7611,15631,8349,17024,13838,7577,9873,13681,13781,1355,11493,5119,8368,15650,5996,8380,9179,16785,11312,8376,16830,10537,10071,17039,3786,8381,1263,1527,17045,8378,15651,10072,15140,8152,11502,4246,15161,11420,13844,8389,4506,15796,5283,17064,8288,11908,14331,15078,15146,11147,16731,1639,13895,15066,11358,14753,4886,1639,14756,12593,5521,8298,12102,11531,1001,13608,17087,8300,1004,9564,15115,4360,15296,16285,15334,17074,3521,17092,4413,11297,406,9408,10799,
437335,1888,6698,13256,4886,10724,12108,120,8962,14017,4444,120,114,16681,16654,16683,6586,6147,2328,10804,12333,15285,17044,8309,17088,3808,17091,17132,17093,1526,10973,11494,15649,8185,10978,15653,17058,8373,7805,9249,15273,291,258,11366,15343,16655,16988,6373,12206,6509,406,17084,12127,406,17078,5514,17121,14965,16624,15718,13807,14356,7578,13690,5464,5097,17117,5416,14357,17159,15065,5264,1639,17107,3372,17130,8832,13959,7578,55,13817,7155,10129,17171,12053,10058,17148,15274,17151,5610,3521,14363,
43816736,15638,3531,17170,9344,5641,14634,11312,15731,16831,13838,17207,566,16739,1891,17184,576,17214,1125,9987,4510,17122,6442,13996,16612,17212,108,8935,5411,17201,1062,16829,2085,17216,17175,5867,15663,5105,13951,15168,9153,16633,15339,15401,120,17228,1803,1706,17152,13843,48,17172,1062,16062,572,14189,4657,16738,13912,12173,5042,4504,15783,16593,16891,16880,11513,14008,11103,9260,7761,16892,17267,13861,11573,16593,14682,16550,793,9639,6205,10577,11607,9318,3693,8863,1521,11030,15580,15527,14467,
439853,2530,16561,14169,15592,34,7340,11199,8512,10859,15836,7918,17299,8513,17073,1717,13637,13610,16878,256,13193,9288,16704,16578,12146,14319,16873,9775,14179,17204,4195,120,17321,14428,5512,17324,10948,6651,6218,2E3,9126,11428,5978,111,17332,3452,122,17327,7155,2933,17339,7857,6651,1888,7673,10608,15220,13838,16752,1803,11043,13709,16757,17248,16759,11063,6029,11051,9790,16769,16766,9787,11057,6096,9792,11053,16776,11049,6048,11065,16777,11067,16783,11069,16781,11071,9813,6031,6556,17329,8132,3098,
4409817,9826,9111,13616,17342,9359,14377,1717,11138,8566,16851,3692,8099,15744,1667,8326,15123,10039,14597,9440,11599,13589,11387,682,17392,8315,11141,13654,14135,8155,10228,15265,7691,11641,11734,732,11158,8395,17405,6478,14373,8410,14134,17394,14157,8558,17424,9450,14137,17011,11034,5721,17288,8051,936,8921,728,8923,15214,8695,9E3,17253,17179,9820,13909,6933,15073,8016,14193,13215,1571,514,15114,15595,16571,11772,16829,16899,16582,9724,17461,16705,17316,12231,15755,16728,16745,13871,9566,12077,12538,
44113115,7525,6615,6794,1596,15269,3754,5641,16829,3219,3098,17483,2114,9740,6311,9339,15169,17124,7805,1046,17480,17210,4912,4512,2217,15094,17473,2114,14950,7108,6001,1844,13801,15242,16465,17493,431,3248,7950,9734,615,16786,108,6503,2496,17503,7201,7769,3691,17348,11843,10915,17517,10889,2496,9740,5101,13736,9193,13838,15330,9598,3878,4890,11311,6502,17528,13012,7424,9734,806,970,11949,12149,6215,8108,6197,6215,287,1805,329,11312,7785,1844,4358,15045,9511,11494,711,2711,10976,17563,544,14311,4171,
44214230,8744,17541,12709,116,17543,16674,6300,10223,16090,17526,17518,13664,16827,10895,1046,17529,16534,10101,13012,15821,5190,11792,14818,13376,13300,13378,16159,6394,13579,16508,15260,17510,97,17484,14432,17498,1656,15186,17577,5701,17519,15975,7246,4512,15094,17515,11312,17581,17573,17485,16609,15640,15733,13012,17507,5622,15243,4576,13579,11806,5119,13761,5143,17034,17571,17578,17618,13219,17241,17224,16671,12077,17625,16810,17627,5162,10126,4040,7682,15717,9748,17616,17540,13616,17474,13298,7526,
4437722,1844,15332,12268,17454,15172,15351,5063,268,5574,5167,16945,8002,14585,544,1572,4758,14131,10014,384,17643,4680,16811,10222,17610,17589,7133,6904,17657,5791,16460,17236,13737,5217,11163,12157,12029,5814,1757,16572,11562,16590,1770,16577,17270,56,16706,8755,16595,14320,16709,17016,16815,4886,17232,15632,13770,17533,4912,13961,15706,16298,5926,13965,17716,15711,11764,3531,17160,7119,13976,2730,11212,753,8551,11315,17126,13906,2820,15887,14850,12743,15890,8112,16323,17114,15845,2690,15847,13532,
44412584,8810,14560,8177,15092,17669,9713,11455,5896,8794,16949,1738,11460,2859,16953,453,8801,16956,13460,11468,17186,12471,3685,11769,15885,9566,14358,15068,11710,8956,8927,9059,16859,15707,11232,12884,6609,11686,4534,102,9853,12029,11457,9740,16992,12240,17216,17775,17443,17777,2206,17729,1687,14210,474,16936,4435,17784,79,17786,4927,5812,1322,13878,7820,17804,17806,3687,17788,2857,7077,11370,8740,4137,13035,12047,17812,17787,3619,9124,17816,12303,12756,10279,12759,16947,16951,11459,8190,17760,11462,
44516954,12769,8803,1654,11358,14359,17794,15386,17811,880,17785,17824,1743,17826,584,7472,15364,1573,16698,363,16722,16986,17302,8289,9755,15063,8221,11352,11348,10403,13923,697,1093,14621,16594,14151,16904,10888,13616,3920,17867,8319,10405,16630,9137,11973,10411,15174,13729,12010,14397,16660,9748,17128,16353,10969,3935,17246,5552,17433,10851,11277,5596,10444,16795,17874,697,11625,4003,3583,8924,17795,
44510814,17704,12134,16798,16792,303,16721,365,14049,17903,3653,4718,9835,12904,13124,11726,13126,14070,
44611659,16583,13194,4768,11041,8979,3783,9151,8380,2612,11693,110,15273,620,14126,10309,12720,14054,14071,14087,10205,5598,14158,13123,10360,13125,10203,17944,14099,13129,10004,14132,11733,15384,14136,9890,8527,6437,13195,13454,16426,17935,17057,12858,17938,11487,17942,10376,10310,17953,11729,4080,17950,12716,17924,12718,17954,13127,17945,17928,15133,15920,11498,10070,17056,14107,8853,17668,3700,17966,3823,17027,4444,14124,14172,10373,17927,14100,10400,17975,913,17916,16701,16789,16699,16722,10391,
44715957,5948,6381,17974,14069,14129,17946,4488,530,17997,11430,8165,8028,10450,11738,14140,10466,17699,10515,1568,14632,17264,18033,338,14613,17276,17452,6660,11118,11747,273,17280,371,8903,14159,14155,10528,2157,6209,12113,11090,6963,18016,4348,17296,16749,10590,17919,8238,17829,2840,8187,17755,16948,5896,12765,8801,8196,17836,12770,11550,17009,14320,8221,15063,10755,17988,15648,15141,8849,17990,17143,14108,11333,6336,1145,10753,15830,4920,15277,17962,13622,15551,18095,16715,8864,17153,17492,15346,
44817904,11090,16900,8617,14103,17464,17315,3661,17269,12190,17872,16596,14152,13873,11603,12152,11605,11124,11608,1777,258,5011,5013,16640,18062,10591,17704,16087,9086,315,9323,16729,9325,17868,16703,18112,12141,5771,9284,12228,16590,11159,18134,17470,17319,8051,9156,11472,682,5789,10959,15727,11096,5647,8126,16610,17492,14207,16919,594,17731,15081,14393,9383,13711,9387,16758,1708,15088,9105,8132,11405,11866,15571,4508,11491,12303,11493,6419,18086,5999,15654,11502,11614,9887,17002,13719,799,17969,17218,
4498744,17999,4195,15751,18159,11206,15734,17491,16679,9220,8216,9223,16756,17691,17897,11276,16750,17427,798,6152,15246,99,9764,17321,6127,17206,17086,17136,14363,853,17912,17102,18221,9189,2182,17234,17902,18223,17434,17913,10597,8383,8364,17103,17089,594,18224,728,18237,7923,458,5068,711,17776,13750,11360,10126,8970,5925,15782,8909,17898,6339,10018,8970,10425,9249,18214,11710,18217,6142,15785,11410,5296,477,17013,18230,1001,18240,97,10047,14206,4814,621,3937,2753,111,2450,16603,11314,9573,10060,18216,
45017385,11506,11876,4599,16824,4689,8364,5586,9164,9990,13703,18101,11210,18226,8682,15700,2638,18272,18242,11297,383,10060,18262,18287,17171,6144,3401,18247,17524,5564,3678,17110,5824,17259,18076,17318,17453,8269,17456,16570,3937,13611,1803,17256,5264,17258,6638,18041,11280,8408,11307,14177,5559,8051,17891,17340,781,1666,15617,18166,17123,11206,17742,9379,18329,12131,388,15327,7603,437,18332,18027,17317,9365,15215,4437,665,10568,606,16822,10755,18291,15254,16682,11206,1639,1387,17802,15929,2037,5940,
4513823,10600,16839,18370,16828,15356,16838,10137,8247,15719,8377,8185,18387,544,13398,15786,11760,15008,18198,10995,11890,17307,16802,3643,17402,1763,86,2715,6913,306,1768,16709,4244,3048,5881,17810,15030,6437,1518,5948,18238,16612,952,373,13269,13105,638,279,728,970,3050,807,5336,277,17938,15284,8125,17139,17981,17952,17925,17984,18004,17957,3737,18158,15659,11328,3935,65,14593,1852,16659,15869,10145,4810,13990,10439,16612,15172,11974,9993,18448,1595,17112,16634,17947,18365,18443,10294,17982,14092,
45217926,18020,17928,404,3561,3563,472,14588,3971,3560,3562,282,15938,6460,287,18479,18475,3565,8687,6437,18455,16671,3798,10277,5611,18447,2054,18450,9748,5708,117,10840,8563,11784,10843,10391,10382,77,18466,17951,10396,17977,10399,18511,17928,850,8065,259,17222,13696,17154,18463,16887,940,15957,10030,18518,11832,17640,17155,18464,14533,621,2525,10146,9119,18018,14093,18006,10390,10664,10436,10181,101,18495,18449,5942,12532,15828,14281,9247,1633,4628,4410,8834,678,486,8185,10156,8840,13386,6008,514,
45311888,7279,2624,621,554,114,10564,17889,10341,14267,11858,112,6446,1592,407,18490,18529,11698,9750,710,18421,13390,17933,91,18424,11666,10957,18429,513,18431,10391,619,970,18533,18453,4812,10395,18440,2793,17955,14127,12722,10380,10302,10408,101,18596,10147,15932,18003,18471,18005,18513,18604,11094,4820,9119,258,1880,1813,5298,2008,11688,3792,8517,8185,18624,5486,18626,3520,14086,3798,18544,18461,3808,2799,8317,16622,3531,8179,5119,488,15951,520,8185,18644,850,608,3282,4035,18618,13990,18635,18497,
45410341,15524,17130,606,5925,8576,7083,1107,5745,10981,282,107,2380,11317,18574,649,18576,103,18578,18463,8632,8068,4506,108,18526,14121,18160,1643,4239,11770,16514,91,5528,18653,10148,5828,14515,3387,8422,12098,18028,12174,18002,11583,8630,18420,955,1461,18109,11781,11106,12032,12118,17273,13943,18706,11099,18228,13616,67,14585,4541,16546,13225,14455,16549,18116,11602,256,5658,65,11849,14514,323,10779,15541,10711,16982,5029,15581,17291,15313,15100,15484,5286,14475,8707,14593,323,17859,273,16555,15504,
4552120,15450,40,41,32,61,62,1342,4245,1522,16565,555,310,8532,14475,15936,323,262,17876,10708,13881,12197,17706,18735,17290,14482,15099,8369,15484,4261,514,115,78,6249,14475,319,18767,5701,17805,4797,18780,15494,15515,10
455711,1281,15548,16556,14219,15530,1233,8835,18781,18783,15477,1001,17873,15484,2850,5701,15565,17577,1459,261,11665,9227,10649,18736,18775,18804,18115,18798,18714,18808,14475,5658,66,10159,18800,18782,18156,18732,345,1244,18662,15526,15503,15469,16974,18777,10548,18779,3812,18828,679,
45610552,15059,8005,17014,18211,16598,12535,7592,17252,16835,17621,9153,4047,17189,11451,8347,18195,9438,6128,17020,1527,17022,3907,8350,17030,16808,5141,17508,4568,12895,17036,5987,17038,17142,15137,17051,1972,17216,17054,8353,18876,11496,18586,18878,17042,11151,18882,4930,9181,18879,16812,17062,15640,46,18852,2130,18310,18855,17018,8394,17071,16861,1744,1503,275,11912,10489,1575,710,17469,1667,9536,18848,416,1499,17895,13479,8908,8538,13194,15113,292,725,9538,16793,11272,13907,4744,1499,17163,13550,
4579410,18933,7697,9410,17081,14847,9357,2396,1499,18922,15625,18925,1145,18927,1030,17902,17230,1425,1499,18939,12695,18918,17910,8558,17468,10278,18914,16746,9419,10036,17417,18128,18530,4081,18599,18613,10322,18970,10246,17921,5394,17980,17923,18437,17983,14055,18538,14057,11708,10382,1045,1892,14244,15977,18468,11706,14128,18981,14095,15263,18155,16266,4016,17973,18969,18992,18439,18972,12031,17979,18048,18509,18600,10377,13128,9913,18081,7263,14105,17992,15138,17994,14058,17578,10445,10904,5635,
45813670,8946,18681,18408,11924,18001,17275,18467,18978,18469,19001,19E3,11729,15743,14183,15079,17958,9889,18096,753,9888,14133,9890,18103,6663,10543,18700,11093,14248,10489,14147,13932,18032,9279,9616,18031,18106,10468,14144,16545,17465,1654,19052,17701,18113,17277,18723,18044,6203,14157,18048,10664,15567,3739,15602,13877,16910,10668,18792,4744,18050,6702,452,15114,1888,68,526,97,10758,18830,7952,7741,10582,6693,10585,14200,6677,18054,10510,14173,8813,16694,2715,514,15299,15292,14381,18080,115,10217,
45983,9435,603,15219,8349,6506,16945,5119,3812,10217,8849,19110,5669,102,10216,97,16871,6515,12170,15291,9425,15293,6793,125,18880,11929,12408,10046,8561,594,17452,14933,11251,11043,7355]});
460define("iz",["require","en","pg"],function(a){function e(g){var p=c[g];if(p)return p;if("string"!=typeof g)return c[g]=function(){return g};var q=(p=d.exec(g))&&parseFloat(p[1]);switch(p&&p[4]&&p[4].toLowerCase()){case "vw":return c[g]=function(n){return n*q};case "vh":return c[g]=function(n,r){return r*q};case "vmin":return c[g]=function(n,r,u){return u*q};case "vmax":return c[g]=function(n,r,u,t){return t*q};default:return c[g]=function(){return g}}}function l(g){this.gb=g;this.FJ=this.FJ.bind(this);
461this.gb.bind(b.pc,this.Fc,this,!0);this.mca=new Map;this.FU=[];this.Fc()}function m(g,p,q,n){var r={};r.instance=g;r.l7a=p;r.name=q;r.value=n;h.push(r);f||(f=setTimeout(function(){f=null;k()},100))}function k(){f&&(clearTimeout(f),f=null);var g=h;h=[];g.forEach(function(p){l.N_(p.instance,p.l7a,p.name,p.value)})}a("en");var b=a("pg");l.prototype.Fc=function(){this.qZa();this.mca.forEach(function(g){for(var p in g)this.FJ(g[p])}.bind(this));this.FU.forEach(this.FJ)};l.prototype.qZa=function(){var g=
462this.gb.Ab();this.E_=.01*this.gb.Ya();this.y_=.01*g;this.$xa=Math.min(this.E_,this.y_);this.Zxa=Math.max(this.E_,this.y_)};l.prototype.FJ=function(g){g(this.E_,this.y_,this.$xa,this.Zxa)};l.prototype.RZa=function(g){this.FU.push(g)};l.prototype.E4a=function(g){g=this.FU.indexOf(g);0<=g&&this.FU.splice(g,1)};l.prototype.N_=function(g,p,q,n){function r(t,v,w,x){p.call(g,q,u(t,v,w,x))}var u=e(n);(n=this.mca.get(g))||this.mca.set(g,n={});n[q]=r;r(this.E_,this.y_,this.$xa,this.Zxa)};l.ed=new Map;l.get=
463function(g){var p=l.ed.get(g);p||(p=new l(g),l.ed.set(g,p));return p};l.N_=function(g,p,q,n){var r=g.get&&g.get("application")||g.wb&&g.wb();r?(k(),l.get(r).N_(g,p,q,n)):m(g,p,q,n)};var h=[],f=null,c={},d=/^\s*((\+|\-)?(\d*\.)?\d+)\s*(vmin|vmax|vw|vh|px|%)?\s*$/i;return l});
464define("mC",["require","exports"],function(){return function(){function a(){}a.mga=function(e){if(this.eg("crossorigin",!1))return!0;if(this.d1(e)){var l=window.location.protocol+"//"+window.location.hostname;window.location.port&&(l+=":"+window.location.port);return e.substring(0,l.length)!=l}return!1};a.zx=function(e,l){if(this.c3a(e))e=window.location.protocol+e;else if(!this.d1(e)&&!this.zA(e)){if(l)if(0==e.indexOf("/")){var m=l.indexOf("//"),k="";0<=m&&(k=l.substr(0,m+2),l=l.substr(m+2));m=l.indexOf("/");
4650<m&&(l=l.substr(0,m));e=k+l+e}else e=l+e;this.pn.href=e;e=this.pn.href}return e};a.R2a=function(){switch(window.location.protocol){case "http:":case "https:":return!0;default:return!1}};a.c3a=function(e){return 0===e.indexOf("//")};a.d1=function(e){if(!e)return!1;var l=e.indexOf("://");return 3<=l&&5>=l?!0:0==e.indexOf("filesystem:")};a.$2a=function(e){return e&&0<=e.indexOf("/pdfjs/")};a.getDirectory=function(e){e=this.zx(e);e=e.split("?")[0];e=e.split("/");1<e.length&&e.splice(e.length-1,1);return e.join("/")+
466"/"};a.pj=function(e){this.pI||(this.pI=this.vpa());return void 0!==this.pI[e]};a.getQueryParameter=function(e){this.pI||(this.pI=this.vpa());return this.pI[e]};a.QFa=function(e,l){var m=e.split(l);e=m[0];(m=m.slice(1).join(l))&&(m=l+m);return[e,m]};a.kA=function(e,l){if(!l)return e;var m=this.QFa(e,"#"),k=m[1];m=this.QFa(m[0],"?");var b=m[0];m=m[1];return 0<=m.indexOf(l)?e:b+(m+(m?"&":"?")+l)+k};a.parse=function(e){this.pn.href=e;e={};e.protocol=this.pn.protocol;e.hostname=this.pn.hostname;e.port=
467this.pn.port;e.pathname=this.pn.pathname;e.search=this.pn.search;e.hash=this.pn.hash;e.host=this.pn.host;var l=e.pathname?e.pathname.lastIndexOf("."):-1;e.B0a=0<=l?e.pathname.substr(l).toLowerCase():"";return e};a.getExtension=function(e){e=this.parse(e).pathname;var l=e.lastIndexOf(".");return 0<=l?e.substr(l,e.length):""};a.eg=function(e,l){e=(this.getQueryParameter(e)||"").toLowerCase();return this.h4a(e,l)};a.h4a=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;
468default:return l}};a.qAa=function(e,l){e=parseInt(this.getQueryParameter(e));return isNaN(e)?l:e};a.L0=function(e){e=parseFloat(this.getQueryParameter(e));return isNaN(e)?void 0:e};a.vpa=function(){for(var e={},l=window.location.hash.substring(1).split("&").concat(window.location.search.substring(1).split("&")),m=0;m<l.length;m++){var k=l[m].split("="),b=decodeURIComponent(k[0]);
468k=1<k.length?decodeURIComponent(k[1]):null;e[b]=k}return e};a.pn=document.createElement("a");a.pI=null;a.zA=function(e){return e&&
4690==e.indexOf("data:")};return a}()});
470define("lE",["require","exports"],function(){function a(f,c){function d(){}d.prototype=c.prototype;f.prototype=new d;f.prototype.constructor=f}function e(f,c){c.forEach(function(d){Object.getOwnPropertyNames(d).forEach(function(g){f.prototype[g]=d[g]})})}function l(f){setTimeout(function(){try{f()}catch(c){k("Deferred callback failed",c)}},1)}function m(f){if(f!=h){h=f;try{if(b){var c=document.createElement("div");c.innerText=f;b.insertBefore(c,b.childNodes[0]||null)}else console.log(f)}catch(d){}}}
471function k(f,c){var d=[];d.push("Exception: "+f);c.message?(d.push(c.message),d.push(c.stack)):d.push(c);m(d.join("\n"))}var b,h;return{R_:e,n0a:function(f){for(;;){var c=f.pop();if(!c)break;if(c==f.length)break;f.splice(c,1)}c=[];for(var d=0;256>d;d+=1)c[d]=String.fromCharCode(d);var g=256,p=String.fromCharCode(f[0]),q=p;for(d=1;d<f.length;d+=1){var n=f[d];n=c[n]?c[n]:p+p.charAt(0);q+=n;c[g++]=p+n.charAt(0);p=n}return JSON.parse(q)},defer:l,deferred:function(f,c){return function(){var d=arguments;
472l(function(){f.apply(c||window,d)})}},extend:function(){var f=arguments[arguments.length-1],c=Array.prototype.slice.call(arguments,1,arguments.length-1);a(f,arguments[0]);e(f,c);return f},z0a:function(f){b=document.createElement("div");b.style.overflow="auto";b.style.position="absolute";b.style.bottom="0";b.style.left="0";b.style.right="0";b.style.padding="20px";b.style.fontFamily="Verdana";b.style.backgroundColor="#FFFFFF";b.style.color="#000000";b.style.zIndex="100";f?b.style.top="0":(b.style.width=
473"40%",b.style.right="0",b.style.left="auto",b.style.height="50%",b.style.filter="alpha(opacity=60)",b.style.opacity="0.6");document.body.appendChild(b);console.log=function(c){m(c)}},log:m,ZR:k,lp:function(f,c){var d=!1;return function(){d||(d=!0,l(function(){d=!1;f.apply(c||window)}))}},x4a:function(f){for(var c=[],d=0;d<f;d++)c.push(Math.floor(16*Math.random()).toString(16));return c.join("")},toArray:function(f){return void 0===f||null===f?[]:Array.isArray(f)?f:[f]},t2a:function(f,c){if(f.length!=
474c.length)return!1;for(var d=0;d<f.length;d++)if(f[d]!=c[d])return!1;return!0},isString:function(f){var c="[object "+f+"]";return function(d){return Object.prototype.toString.call(d)===c}}("String")}});
475define("nV","require jquery.mod en bp iz mC lE".split(" "),function(a){function e(c,d,g){this.oC=c;this.jM=g;this.iY=d.parent;this.vRa=d.isValidRoot||!1;this.Eaa={};this.yaa=[];this.Eta=[];this.Dta=[];this.iV={};c=d.properties||{};for(var p in c)g=c[p],this.Eaa[p]=g.type,g.isUrl&&this.Eta.push(p),g.isSize&&this.Dta.push(p),void 0!==g.order&&(this.yaa[g.order]=p),void 0!==g["default"]&&(this.iV[p]=g["default"]);this.Bta=[];this.Cta=[];d=d.events||{};for(var q in d)d[q].isDeferred?this.Bta.push(q):
476this.Cta.push(q);this.dz=this.My=this.KM=this.wZ=this.cE=this.s_=this.tE=this.fH=this.DG=this.VL=void 0;this.rqa=!1}var l=a("jquery.mod"),m=a("en"),k=a("bp"),b=a("iz"),h=a("mC"),f=a("lE");k=f.n0a(k);e.prototype.F1a=function(){if(this.iY)return e.Ni(this.iY)};e.prototype.QE=function(){return this.oC};e.prototype.tR=function(){return this.az()?this.vv().tR().concat(this.oC):[this.oC]};e.prototype.hasAttributes=function(){return 0<this.getAttributeNames().length};e.prototype.hasAttribute=function(c){return this.Bfa(c)?
477!0:!1};e.prototype.getAttributeNames=function(){void 0==this.VL&&this.rna();return this.VL};e.prototype.CAa=function(){if(this.yaa)return this.yaa;if(this.az())this.vv().CAa();else return[]};e.prototype.fAa=function(){if(this.fH)return this.fH;this.fH={};if(this.az()){var c=this.vv().fAa(),d;for(d in c)this.fH[d]=c[d]}if(this.iV)for(d in this.iV)this.fH[d]=this.iV[d];return this.fH};e.prototype.Bfa=function(c){void 0==this.DG&&this.rna();return this.DG[c]};e.prototype.r2a=function(){return 0<this.NAa().length};
478e.prototype.NAa=function(){void 0==this.tE&&this.zna();return this.tE};e.prototype.T1a=function(){void 0==this.s_&&this.zna();return this.s_};e.prototype.p2a=function(){return 0<this.JAa().length};e.prototype.JAa=function(){void 0==this.cE&&this.yna();return this.cE};e.prototype.R1a=function(){void 0==this.wZ&&this.yna();return this.wZ};e.prototype.d2a=function(){return 0<this.Ffa().length};e.prototype.YAa=function(c){void 0==this.My&&this.XG();return-1!=this.My.indexOf(c)};e.prototype.Ffa=function(){void 0==
479this.My&&this.XG();return this.My};e.prototype.i2a=function(){return 0<this.Lfa().length};e.prototype.ZAa=function(c){void 0==this.dz&&this.XG();return-1!=this.dz.indexOf(c)};e.prototype.Lfa=function(){void 0==this.dz&&this.XG();return this.dz};e.prototype.f2a=function(c){void 0==this.KM&&this.XG();return-1!=this.KM.indexOf(c)};e.prototype.m1a=function(){void 0==this.KM&&this.XG();return this.KM};e.prototype.rAa=function(){return this.vRa||this.az()&&this.vv().rAa()};e.prototype.pm=function(c,d,g,
480p){this.PTa(d,g);var q=this.jM;var n=p&&0<p.length?new (f.extend(q,function(){q.apply(this,p)})):new q;n.set("application",c);n.set("baseDirectoy",d);n.set("queryStringParameters",g);n.set("class",this.QE());return n};e.prototype.PTa=function(c,d){this.rqa||(this.rqa=!0,this.mNa(c,d),this.$Na(),this.EJa())};e.prototype.mNa=function(c,d){if(this.r2a()||this.p2a()){var g=this.jM.prototype,p=this.T1a(),q=this.R1a(),n=g.set;g.set=function(r,u){p[r]?(!u||h.zA(u)||h.d1(u)||h.$2a(u)||(u=h.kA(h.zx(u,c),d)),
481n.call(this,r,u)):q[r]?b.N_(this,n,r,u):n.call(this,r,u)}}};e.prototype.EJa=function(){var c=this.jM.prototype;
481this.getAttributeNames().forEach(function(d){Object.defineProperty(c,d,{get:function(){return this.get(d)},set:function(g){this.set(d,g)},enumerable:!0,configurable:!0})})};e.prototype.$Na=function(){var c=this.jM.prototype,d=this;this.hasAttributes()&&(c.set=c.set,c.get=c.get);if(this.d2a()||this.i2a())c.bind=c.bind,c.getBindings=c.YJ,c.hasBindings=c.Zfa,c.trigger=c.trigger,c.unbind=c.unbind;
482c.getClassName=function(){return d.QE()};c.getClassPath=function(){return d.tR()};c.getAttributeNames=function(){return d.getAttributeNames()};c.getEventNames=function(){return d.m1a()};c.hasEvent=function(g){return d.f2a(g)}};e.prototype.rna=function(){this.VL=[];this.DG={};for(var c in this.Eaa)this.VL.push(c),this.DG[c]=e.B8(this.Eaa[c]);if(this.az())for(var d=this.vv(),g=d.getAttributeNames(),p=0;p<g.length;p++)c=g[p],this.DG[c]||(this.VL.push(c),this.DG[c]=d.Bfa(c))};e.prototype.zna=function(){this.tE=
483this.Eta.slice();this.az()&&(this.tE=m(this.tE).union(this.vv().NAa()));this.s_={};for(var c=0;c<this.tE.length;c++)this.s_[this.tE[c]]=!0};e.prototype.yna=function(){this.cE=this.Dta.slice();this.az()&&(this.cE=m(this.cE).union(this.vv().JAa()));this.wZ={};for(var c=0;c<this.cE.length;c++)this.wZ[this.cE[c]]=!0};e.prototype.XG=function(){this.My=this.Bta.slice();this.dz=this.Cta.slice();this.az()&&(this.My=m(this.My).union(this.vv().Ffa()),this.dz=m(this.dz).union(this.vv().Lfa()));this.KM=m(this.My).union(this.dz)};
484e.prototype.az=function(){return this.iY?!0:!1};e.prototype.vv=function(){return e.Ni(this.iY)};e.w6=new Map;e.Tma=new Map;e.define=function(c,d,g){d=f.extend(d,function(){g.apply(this,arguments);var q=p.fAa(),n;for(n in q)this.set(n,q[n])});var p=new e(c,k[c],d);e.w6.set(c,p);e.Tma.set(d,p);return d};e.getAll=function(){var c=[];e.w6.forEach(function(d){c.push(d)});return c};e.Ni=function(c){return e.w6.get(c)};e.W0a=function(c){return e.Tma.get(c)};e.Ga=function(c,d){c=e.Ni(c);if(m(d).isNull())return!0;
485if(d&&d.constructor)for(d=e.W0a(d.constructor);d;){if(d==c)return!0;d=d.F1a()}return!1};e.B8=function(c){switch(c){case "string":case "code":return e.gXa;case "number":return e.TRa;case "bool":return e.cLa;case "color":return e.cMa;case "percent":return e.zTa;case "size":return e.zWa;case "identifier":return e.FQa;case "array":return e.Yla;case "canvas":return e.BLa;case "img":return e.IQa;case "dict":return e.ATa;case "*":return e.PNa;default:if(e.cRa(c))switch(e.SOa(c)){case "array":var d=e.B8(e.Koa(c));
486return function(q,n){q=e.Yla(q,n);for(var r=0;r<q.length;r++)q[r]=d(q[r],n);return q};case "enum":var g=e.Loa(c);return e.UOa(g);case "or":g=e.Loa(c);var p=m(g).map(function(q){return e.B8(q)});return function(q,n){for(var r=0;r<p.length;r++)try{return p[r](q,n)}catch(u){}throw"Invalid value";};default:throw"Invalid type validator definition: "+c;}else return e.Zm(function(q){return e.Ga(c,q)})}};e.cRa=function(c){return 0<=c.indexOf("[")&&c.lastIndexOf("]")==c.length-1};e.SOa=function(c){return c.substring(0,
487c.indexOf("["))};e.Koa=function(c){return c.substring(c.indexOf("[")+1,c.lastIndexOf("]"))};e.Loa=function(c){c=e.Koa(c);for(var d=[],g="",p=0,q=0;q<c.length;q++){var n=c.charAt(q);g+=n;switch(n){case "[":p++;break;case "]":p--;break;case ",":0==p&&(d.push(g.substr(0,g.length-1)),g="")}}""!=g&&d.push(g);return m(d).map(function(r){return e.$Xa(r)})};e.$Xa=function(c){return c.replace(/^\s+|\s+$/g,"")};e.Zm=function(c){return function(d,g){if(!c(d)){if("string"!=typeof d)throw"Invalid value";d=e.YNa(d,
488g);if(!c(d))throw"Invalid value";}return d}};e.YNa=function(c,d){return function(){return eval(c)}.call(d)};e.PNa=function(c){return c};e.TRa=e.Zm(function(c){return"[object Number]"==Object.prototype.toString.call(c)});e.gXa=e.Zm(function(c){return"string"==typeof c||null===c});e.cLa=e.Zm(function(c){return!0===c||!1===c});e.Yla=e.Zm(function(c){return"[object Array]"==Object.prototype.toString.call(c)});e.BLa=e.Zm(function(c){return c&&"CANVAS"==c.tagName});e.IQa=e.Zm(function(c){return c&&"IMG"==
489c.tagName});e.UOa=function(c){return e.Zm(function(d){return-1!=c.indexOf(d)})};e.DV=function(c,d){return m(c).isString()&&d.test(c)};e.FQa=e.Zm(function(c){return e.DV(c,RegExp("^[a-z][a-z0-9_]*$","i"))});e.zTa=e.Zm(function(c){return e.DV(c,RegExp("^\\s*([+-]?\\d+\\.?\\d*)%\\s*$","i"))});e.zWa=e.Zm(function(c){return e.DV(c,RegExp("^\\s*([+-]?\\d+\\.?\\d*)\\s*((vw)|(vh)|(vmin)|(vmax)|(px))\\s*$","i"))});e.cMa=e.Zm(function(c){return e.DV(c,RegExp("^#[0-9a-f]{6}$","i"))});e.ATa=e.Zm(function(c){try{return l.isPlainObject(c)}catch(d){return!1}});
490window.TDV.PlayerAPI.getClassByName=function(c){return e.Ni(c).jM};return e});
491define("iW",["require"],function(){function a(){b[0]=b[1]=b[2]=b[3]=b[4]=b[5]=b[6]=b[7]=b[8]=b[9]=b[10]=b[11]=b[12]=b[13]=b[14]=b[15]=b[16]=0;this.Nea=b;this.ER=1779033703;this.FR=3144134277;this.GR=1013904242;this.HR=2773480762;this.IR=1359893119;this.JR=2600822924;this.KR=528734635;this.LR=1541459225;this.block=this.start=this.oA=this.Yfa=0;this.yfa=this.W0=!1;this.first=!0}var e="0123456789abcdef".split(""),l=[-2147483648,8388608,32768,128],m=[24,16,8,0],k=[1116352408,1899447441,3049323471,3921009573,
492961987163,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,
493883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756
493734187,3204031479,3329325298],b=[];a.prototype.update=function(h){if(!this.yfa){for(var f,c=0,d,g=h.length,p=this.Nea;c<g;){this.W0&&(this.W0=!1,p[0]=this.block,p[16]=p[1]=p[2]=p[3]=p[4]=p[5]=p[6]=p[7]=p[8]=p[9]=p[10]=p[11]=p[12]=p[13]=p[14]=p[15]=0);for(d=this.start;c<g&&64>d;++c)f=h.charCodeAt(c),128>f?p[d>>2]|=f<<m[d++&3]:(2048>f?p[d>>2]|=(192|f>>6)<<m[d++&3]:(55296>f||57344<=f?p[d>>
4942]|=(224|f>>12)<<m[d++&3]:(f=65536+((f&1023)<<10|h.charCodeAt(++c)&1023),p[d>>2]|=(240|f>>18)<<m[d++&3],p[d>>2]|=(128|f>>12&63)<<m[d++&3]),p[d>>2]|=(128|f>>6&63)<<m[d++&3]),p[d>>2]|=(128|f&63)<<m[d++&3]);this.g3a=d;this.oA+=d-this.start;64<=d?(this.block=p[16],this.start=d-64,this.hash(),this.W0=!0):this.start=d}4294967295<this.oA&&(this.Yfa+=this.oA/4294967296<<0,this.oA%=4294967296);return this}};a.prototype.Mza=function(){if(!this.yfa){this.yfa=!0;var h=this.Nea,f=this.g3a;h[16]=this.block;h[f>>
4952]|=l[f&3];this.block=h[16];56<=f&&(this.W0||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.Yfa<<3|this.oA>>>29;h[15]=this.oA<<3;this.hash()}};a.prototype.hash=function(){var h=this.ER,f=this.FR,c=this.GR,d=this.HR,g=this.IR,p=this.JR,q=this.KR,n=this.LR,r=this.Nea,u;for(u=16;64>u;++u){var t=r[u-15];var v=(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3;t=r[u-2];t=(t>>>17|t<<15)^(t>>>19|t<<13)^t>>>10;r[u]=r[u-16]+v+r[u-7]+t<<0}var w=
496f&c;for(u=0;64>u;u+=4){if(this.first){var x=704751109;t=r[0]-210244248;n=t-1521486534<<0;d=t+143694565<<0;this.first=!1}else{v=(h>>>2|h<<30)^(h>>>13|h<<19)^(h>>>22|h<<10);t=(g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7);x=h&f;var y=x^h&c^w;var z=g&p^~g&q;t=n+t+z+k[u]+r[u];v+=y;n=d+t<<0;d=t+v<<0}v=(d>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10);t=(n>>>6|n<<26)^(n>>>11|n<<21)^(n>>>25|n<<7);w=d&h;y=w^d&f^x;z=n&g^~n&p;t=q+t+z+k[u+1]+r[u+1];v+=y;q=c+t<<0;c=t+v<<0;v=(c>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10);
497t=(q>>>6|q<<26)^(q>>>11|q<<21)^(q>>>25|q<<7);x=c&d;y=x^c&h^w;z=q&n^~q&g;t=p+t+z+k[u+2]+r[u+2];v+=y;p=f+t<<0;f=t+v<<0;v=(f>>>2|f<<30)^(f>>>13|f<<19)^(f>>>22|f<<10);t=(p>>>6|p<<26)^(p>>>11|p<<21)^(p>>>25|p<<7);w=f&c;y=w^f&d^x;z=p&q^~p&n;t=g+t+z+k[u+3]+r[u+3];v+=y;g=h+t<<0;h=t+v<<0}this.ER=this.ER+h<<0;this.FR=this.FR+f<<0;this.GR=this.GR+c<<0;this.HR=this.HR+d<<0;this.IR=this.IR+g<<0;this.JR=this.JR+p<<0;this.KR=this.KR+q<<0;this.LR=this.LR+n<<0};a.prototype.u2a=function(){this.Mza();var h=this.ER,
498f=this.FR,c=this.GR,d=this.HR,g=this.IR,p=this.JR,q=this.KR,n=this.LR;return e[h>>28&15]+e[h>>24&15]+e[h>>20&15]+e[h>>16&15]+e[h>>12&15]+e[h>>8&15]+e[h>>4&15]+e[h&15]+e[f>>28&15]+e[f>>24&15]+e[f>>20&15]+e[f>>16&15]+e[f>>12&15]+e[f>>8&15]+e[f>>4&15]+e[f&15]+e[c>>28&15]+e[c>>24&15]+e[c>>20&15]+e[c>>16&15]+e[c>>12&15]+e[c>>8&15]+e[c>>4&15]+e[c&15]+e[d>>28&15]+e[d>>24&15]+e[d>>20&15]+e[d>>16&15]+e[d>>12&15]+e[d>>8&15]+e[d>>4&15]+e[d&15]+e[g>>28&15]+e[g>>24&15]+e[g>>20&15]+e[g>>16&15]+e[g>>12&15]+e[g>>
4998&15]+e[g>>4&15]+e[g&15]+e[p>>28&15]+e[p>>24&15]+e[p>>20&15]+e[p>>16&15]+e[p>>12&15]+e[p>>8&15]+e[p>>4&15]+e[p&15]+e[q>>28&15]+e[q>>24&15]+e[q>>20&15]+e[q>>16&15]+e[q>>12&15]+e[q>>8&15]+e[q>>4&15]+e[q&15]+e[n>>28&15]+e[n>>24&15]+e[n>>20&15]+e[n>>16&15]+e[n>>12&15]+e[n>>8&15]+e[n>>4&15]+e[n&15]};a.prototype.digest=function(){this.Mza();var h=this.ER,f=this.FR,c=this.GR,d=this.HR,g=this.IR,p=this.JR,q=this.KR,n=this.LR;return[h>>24&255,h>>16&255,h>>8&255,h&255,f>>24&255,f>>16&255,f>>8&255,f&255,c>>
50024&255,c>>16&255,c>>8&255,c&255,d>>24&255,d>>16&255,d>>8&255,d&255,g>>24&255,g>>16&255,g>>8&255,g&255,p>>24&255,p>>16&255,p>>8&255,p&255,q>>24&255,q>>16&255,q>>8&255,q&255,n>>24&255,n>>16&255,n>>8&255,n&255]};return function(h){return(new a(!0)).update(h).u2a()}});
501define("bY",["require","iW"],function(a){function e(){for(var b=[[256,"9799e3eb6096a48f515a94324200b7af24251a4131eccf9a2cd65d012a1f5c71"],[1024,"cbab1f6d618e723188cfdb1c7c3f47146e46da4da56030386d85055016afd5d9"],[1E4,"d9c4539649520e3f4a35e5a3331b0fbdc67958dd64ef65a83a75d545413643dd"]],h=0;h<b.length;h++){var f=Array.apply(null,Array(b[h][0])).map((c,d)=>String.fromCharCode(d%256)).join("");if(k(f)!=b[h][1])return!1}return!0}function l(b){var h=Array.isArray(b)?"array":null===b?"null":typeof b;switch(h){case "array":return"["+
502b.map(l).join(",")+"]";case "object":return"{"+Object.keys(b).sort().map(function(f){return l(f)+":"+l(b[f])}).join(",")+"}";case "boolean":return b?"true":"false";case "number":return b.toFixed(3);case "string":return'"'+b.split('"').join('\\"')+'"';case "null":case "undefined":return h;case "function":return"<"+h+">"}return""}function m(b){return b.map(function(h){return String.fromCharCode(h)}).join("")}var k=a("iW");return{validate:function(b){var h=[104,97,115,104],f=b[m(h)];delete b[m(h)];b=
503m([116,100,118])+l(b);return k(b)==f||!e()}}});
504define("lH",["require","exports","lE"],function(a,e,l){function m(){var d=h.length,g=h.splice(0,d);b+=d;for(var p=0;p<d;p++){var q=g[p];if(q)try{q()}catch(n){l.ZR("Error in async task",n)}}}var k=0,b=0,h=[],f,c=new Promise(function(d){d()});setInterval(function(){0<h.length&&100<(new Date).getTime()-f&&m()},100);return{RA:function(d,g){void 0===g&&(g=void 0);if(void 0!==g&&0<g)return-1-setTimeout(d,g||1);0==h.length&&(c.then(m),f=(new Date).getTime());k++;h.push(d);return k-1},cancel:function(d){if(0>
505d)clearTimeout(-1-d);else{var g=d-b;if(0<=g){if(!h[g])throw"invalid async handle: "+d;h[g]=null}}}}});
506define("gv",["require","exports","cC","lH","lE"],function(a,e,l,m,k){var b=function(){return function(){}}();return function(){function h(){this.Ec={}}h.prototype.o_a=function(f,c,d){this.pma(f,c,d,!0,c,!0,!1)};h.prototype.bind=function(f,c,d,g,p,q){void 0===q&&(q=!1);return this.pma(f,c,d,g,p||c,!1,q)};h.prototype.pma=function(f,c,d,g,p,q,n){if(void 0===f)throw"Event name undefined";if(void 0===c)throw"Event handler undefined";d=d||this;g=g?!0:!1;f in this.Ec||(this.Ec[f]=[]);var r=new b;r.MR=c;
507r.a2a=p||c;r.context=d;r.qBa=g;r.N2a=n;f=this.Ec[f];q?f.unshift(r):f.push(r);return this};h.prototype.unbind=function(f,c,d){f in this.Ec&&(d=d||this,this.Ec[f]=this.Ec[f].filter(function(g){return g.MR!=c||g.context!=d}),0==this.Ec[f].length&&delete this.Ec[f]);return this};h.prototype.g8a=function(f){f in this.Ec&&delete this.Ec[f]};h.prototype.Wia=function(){this.Ec={}};h.prototype.trigger=function(f,c){void 0===c&&(c=void 0);"string"==typeof f&&(f=new l(f,c));f.name in this.Ec&&(f.source=this,
508this.yy(f,!0),f.name in this.Ec&&this.nNa(f));return this};h.prototype.nNa=function(f){h.jV.push({caller:this,event:f});h.u7||(h.u7=!0,m.RA(h.Hna))};h.Hna=function(){for(var f=(new Date).getTime()+1E3;h.jV.length;){var c=h.jV.shift();h.prototype.yy.call(c.caller,c.event,!1);if((new Date).getTime()>f)break}0<h.jV.length?m.RA(h.Hna,1):h.u7=!1};h.prototype.Zfa=function(f){return f in this.Ec};h.prototype.NR=function(f){if(f in this.Ec){f=this.Ec[f];for(var c=0;c<f.length;c++)if(f[c].N2a)return!0}return!1};
509h.prototype.YJ=function(f,c){var d=[];f=this.Ec[f]||[];for(var g=0;g<f.length;g++){var p=f[g];void 0!==c&&p.qBa!=c||d.push(p.a2a)}return d};h.prototype.yy=function(f,c){var d=this;f.unbindCurrentHandler=function(){q&&d.unbind(f.name,q.MR,q.context)};
509if(f.name in this.Ec)for(var g=this.Ec[f.name],p=0;p<g.length;p++){var q=g[p];if(q.qBa==c)try{q.MR.call(q.context,f)}catch(n){k.ZR("Exception handling event "+f.name,n)}}};h.jV=[];h.u7=!1;return h}()});
510define("mh",["require","exports","pg","cC","gv"],function(a,e,l,m,k){return function(b){function h(){var f=b.call(this)||this;f.Tu={};return f}Z(h,b);h.prototype.set=function(f,c){this.Tu[f]!=c&&(this.Tu[f]=c,this.Twa(f))};h.prototype.Twa=function(f){f=new m(l.F(f));this.trigger(f)};h.prototype.copy=function(f){this.Tu={};for(var c in f.Tu)this.Tu[c]=f.Tu[c];return this};h.prototype.get=function(f,c){void 0===c&&(c=void 0);f=this.Tu[f];return void 0!==f?f:c};return h}(k)});
511define("fk",["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.AJ(this)};a.prototype.project=function(e){e.project(this)};return a});
512define("a",["require","lE","fk"],function(a){var e=a("lE"),l=a("fk"),m=e.extend(l,function(k,b,h){l.call(this,k,b,h)});m.prototype.clone=function(){return new m(this.x,this.y,this.z)};m.prototype.Sc=function(){return 0==this.x&&0==this.z?0:-Math.atan2(this.x,this.z)};m.prototype.Rc=function(){return 0==this.y&&0==this.z?0:Math.atan2(this.y,Math.sqrt(this.z*this.z+this.x*this.x))};m.prototype.Nfa=function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)};m.prototype.QK=function(k){k/=
513this.Nfa();this.x*=k;this.y*=k;this.z*=k;return this};m.prototype.normalize=function(){return this.QK(1)};m.prototype.JE=function(k){return this.x*k.x+this.y*k.y+this.z*k.z};m.prototype.f0=function(k){var b=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=b;this.z=h;return this};m.sA=function(k,b){return new m(b.x-k.x,b.y-k.y,b.z-k.z)};m.I0=function(k,b){k=NaN-k;b=NaN-b;return Math.sqrt(k*k+b*b+NaN)};m.Ft=function(k,b){return new m(Math.cos(b)*Math.sin(k),Math.sin(b),
514Math.cos(b)*Math.cos(k))};return m});
515define("jE",["require","mh","nV","a"],function(a){var e=a("mh"),l=a("nV"),m=a("a");a=l.define("AdjacentPanorama",e,function(){e.call(this);this.fea=this.hv=void 0});a.prototype.hAa=function(){if(void 0===this.hv){for(this.hv=this.cpa()-this.get("yaw");180<this.hv;)this.hv-=360;for(;-180>this.hv;)this.hv+=360}return this.hv};a.prototype.l1a=function(){void 0===this.fea&&(this.fea=m.Ft(this.cpa()*Math.PI/180,0));return this.fea};a.prototype.u_a=function(){return void 0!==this.get("yaw")&&void 0!==this.get("backwardYaw")};
516a.prototype.cpa=function(){return this.get("backwardYaw")-180};return a});define("im",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("AmbientLight",e,function(){e.call(this)})});
517define("fn",["require","mh","nV"],function(a){var e=a("mh");a=a("nV").define("Model3DPostprocessing",e,function(){e.call(this)});a.prototype.$A=function(l){this.Xo!==l&&(this.Xo=l,this.ixa())};a.prototype.tx=function(l){this.XH!==l&&(this.XH=l,this.ixa())};a.prototype.ixa=function(){this.set("disabled",this.XH&&this.get("disableWhileMoving")||this.Xo&&this.get("disableWhileUserInteracting"))};return a});
518define("od",["require","nV","fn"],function(a){var e=a("nV"),l=a("fn");return e.define("AmbientOcclusionModel3DPostprocessing",l,function(){l.call(this)})});define("lg",["require","exports"],function(){return{W:"stopped",Y:"playing",Ib:"paused"}});define("fm",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("ImageResource",e,function(){e.call(this)})});
519define("ex","require lE pg lg nV fm".split(" "),function(a){a("lE");var e=a("pg"),l=a("lg"),m=a("nV"),k=a("fm");a=m.define("AnimatedImageResource",k,function(){k.call(this)});a.prototype.play=a.prototype.play=function(){this.set("state",l.Y)};a.prototype.pause=a.prototype.pause=function(){this.set("state",l.Ib)};a.prototype.stop=a.prototype.stop=function(){this.set("state",l.W)};a.prototype.set=function(b,h){switch(b){case "state":(this.get("state")||l.W)==l.W&&h==l.Y&&this.trigger(e.Yn)}k.prototype.set.call(this,
520b,h)};a.prototype.Zj=function(b,h,f){h||(h=1);f||(f=1);return k.prototype.Zj.call(this,b,h*this.get("colCount",1),f*this.get("rowCount",1))};return a});define("ej",["require","nV","fn"],function(a){var e=a("nV"),l=a("fn");return e.define("AntialiasModel3DPostprocessing",l,function(){l.call(this)})});
521define("iA",["require","mh","nV"],function(a){var e=a("mh");a=a("nV").define("HotspotMapOverlay",e,function(l){e.call(this);this.II=void 0===l?!0:l;this.NH=this.Qq=this.Pq=this.ya=void 0});a.prototype.getItem=function(){if(void 0===this.ya){var l=this.get("image");this.ya=l?l.e0(this.II):null}return this.ya};a.prototype.GAa=function(){if(void 0===this.Pq){var l=this.get("rollOverImage");this.Pq=l?l.e0(this.II):null}return this.Pq};a.prototype.IAa=function(){if(void 0===this.Qq){var l=this.get("selectedImage");
522this.Qq=l?l.e0(this.II):null}return this.Qq};a.prototype.y1a=function(){if(void 0===this.NH){this.NH=[];var l=this.getItem();l&&this.NH.push(l);(l=this.GAa())&&this.NH.push(l);(l=this.IAa())&&this.NH.push(l)}return this.NH};return a});define("eW",["require","nV","iA"],function(a){var e=a("nV"),l=a("iA");return e.define("AreaHotspotMapOverlay",l,function(){l.call(this,!0)})});define("oF",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("AudioResource",e,function(){e.call(this)})});
523define("cT",["require"],function(){return{GB:"inAdvance",rja:"delayed"}});
524define("bd",["require","exports"],function(){return function(){function a(){}a.Vx="grab";a.Jh="grabbing";a.Zja="move";a.ika="move-n";a.jka="move-ne";a.$ja="move-e";a.mka="move-se";a.lka="move-s";a.nka="move-sw";a.oka="move-w";a.kka="move-nw";a.kIa="move-ew";a.mIa="move-ns";a.lIa="move-nesw";a.nIa="move-nwse";a.bka="move-fast-n";a.cka="move-fast-ne";a.aka="move-fast-e";a.fka="move-fast-se";a.eka="move-fast-s";a.gka="move-fast-sw";a.hka="move-fast-w";a.dka="move-fast-nw";a.ye="hand";a.OB="transparent";
525a.xe="default";a.ou="inherit";return a}()});
526define("hA",["require","pg"],function(a){function e(){this.Wi=[]}var l=a("pg");e.prototype.register=function(m){this.FJa(m);this.Wi.push(m);m.get("pressed")&&this.hva(m)};e.prototype.unregister=function(m){this.eUa(m)};e.prototype.FJa=function(m){m.bind(l.wj,this.Ira,this,!0)};e.prototype.eUa=function(m){m.unbind(l.wj,this.Ira,this)};e.prototype.Ira=function(m){this.hva(m.source)};e.prototype.hva=function(m){this.Wi.forEach(function(k){k.set("pressed",k==m)})};e.register=function(m,k){this.unregister(m);
527k=this.ui(k);m.w5=k;k.register(m)};e.unregister=function(m){m.w5&&(m.w5.unregister(m),delete m.w5)};e.ui=function(m){return this.cqa[m]||(this.cqa[m]=new e)};e.cqa={};return e});define("ek",["require"],function(){return{ze:"push",zj:"toggle"}});define("hY",["require"],function(){return{oG:"visible",Hja:"hidden",Ip:"scroll"}});define("gW",["require"],function(){return{xe:void 0,X:"over",ub:"pressed",cc:"pressedOver",ea:"selected"}});
528define("nl",["require"],function(){return{Wa:"left",ob:"right",Qe:"center",zc:"top",sc:"bottom",le:"middle"}});define("fL",["require"],function(){return{cd:"rollOver",ALWAYS:"always"}});
529define("v",["require","exports","lE","mC"],function(a,e,l,m){function k(f){return!!(window.location.hash&&0<=window.location.hash.indexOf("device="+f))}var b={};b.ni=TDV.sb.PT;b.kB=TDV.sb.I4;b.i5=TDV.sb.rka;b.w9a=TDV.sb.M4;b.Oja=TDV.sb.J4;b.Mja=TDV.sb.qka;b.i9a=TDV.sb.L4;b.K4=TDV.sb.K4;b.oL=TDV.sb.oL;b.A3=TDV.sb.A3;b.z3=TDV.sb.z3;b.y3=TDV.sb.y3;b.B3=TDV.sb.B3;b.li=TDV.sb.li;b.vT=TDV.sb.vT;b.Hm=TDV.sb.Hm;b.Gm=TDV.sb.Gm;b.UF=TDV.sb.UF;b.Hx=TDV.sb.Hx;b.uT=TDV.sb.uT;b.Rr=TDV.sb.Rr;b.w3=TDV.sb.w3;b.nL=
530TDV.sb.nL;b.sp=TDV.sb.sp;b.Jx=TDV.sb.Jx;b.zT=TDV.sb.zT;b.x3=TDV.sb.x3;b.lL=TDV.sb.lL;b.wT=TDV.sb.wT;b.VF=TDV.sb.VF;b.mL=TDV.sb.mL;b.Kx=TDV.sb.Kx;b.lja=TDV.sb.lja;b.Ix=TDV.sb.Ix;b.Sr=TDV.sb.Sr;b.Lx=TDV.sb.Lx;b.xT=TDV.sb.xT;b.yT=TDV.sb.yT;b.C3=TDV.sb.C3;b.F3=TDV.sb.F3;b.rL=TDV.sb.rL;b.G3=TDV.sb.G3;b.H3=TDV.sb.H3;b.Uy=function(f){f="force_"+f;if(m.pj("debug")&&m.pj(f))return m.getQueryParameter(f)};b.tOa=b.Uy("os");b.Jd=function(){return b.tOa||TDV.sb.Jd};b.oOa=b.Uy("browser");b.browser=function(){return b.oOa||
531TDV.sb.browser};b.pOa=b.Uy("browser_type");b.CJ=function(){return b.pOa||TDV.sb.CJ};b.xoa=b.Uy("browser_subtype");b.mc=function(){return b.xoa?b.xoa:TDV.sb.mc};b.qOa=b.Uy("browser_version");b.Oya=function(){return b.qOa||TDV.sb.Oya};b.sOa=b.Uy("device");b.IE=function(){return b.sOa||TDV.sb.IE};b.nb=function(){return TDV.sb.mobile};b.bOa=function(){for(var f=navigator.userAgent.toLowerCase(),c=["SM-G960","SM-G965"],d=0;d<c.length;d++)if(0<=f.indexOf(c[d].toLowerCase()))return!0;return!1}();b.yOa=function(){for(var f=
532navigator.userAgent.toLowerCase(),c="SM-G920 SM-G925 SM-G928 SM-N920 SM-G930 SM-G935 SC-02H SM-G950 SM-G955 SM-N950 SM-G960 SM-G965 SM-N960 SM-G970 SM-G973 SM-G975 SM-G977 SM-N970 SM-N975".split(" "),d=0;d<c.length;d++)if(0<=f.indexOf(c[d].toLowerCase()))return!0;return!1}();b.yoa=b.Uy("gearvrcompatible");b.oR=function(){return void 0!==b.yoa?"true"==b.yoa:b.yOa};b.GLa=b.browser()!=b.Gm||0>navigator.userAgent.indexOf("; wv")?!1:!0;b.rOa=!!b.Uy("chromewebview");b.bza=function(){return b.rOa||b.GLa};
533b.Hf=function(){return b.mc()==b.sp||b.mc()==b.Jx||b.mc()==b.zT||b.mc()==b.Sr||b.mc()==b.Lx||b.mc()==b.Ix};b.h1=function(){return b.bF()};b.g1=function(){return b.qK()||b.tga()||b.KBa()||b.HBa()};b.oga=function(){return b.mc()==b.Sr};b.nea=void 0;b.K8a=function(){if(void 0===b.nea){var f=void 0;b.sr()&&(window.location.hash.split("&").forEach(function(c){"app-version"==c.split("=")[0]&&(f=c.split("=")[1])}),f&&(f=parseInt(f)));f=f||0;b.nea=f}return b.nea};b.sr=function(){return b.sK()||b.oga()};b.sK=
534function(){return b.mc()==b.Lx};b.a3a=function(){return k("picog2")};b.W2a=function(){return k("piconeo2")};b.tga=function(){return k("piconeo3")};b.FBa=function(){return b.mc()==b.Jx&&0<=navigator.userAgent.toLowerCase().indexOf("pico 4")||b.mc()==b.Lx&&0<=navigator.userAgent.toLowerCase().indexOf("picoa8110")?!0:!1};b.GBa=function(){return b.mc()==b.Jx&&0<=navigator.userAgent.toLowerCase().indexOf("pico g3")||b.mc()==b.Lx&&0<=navigator.userAgent.toLowerCase().indexOf("picoa7q10")?!0:!1};b.HBa=function(){return k("picoxr")};
535b.KBa=function(){return k("vivefocus")};b.bF=function(){return k("oculusquest3")?!0:b.mc()==b.sp&&0<=navigator.userAgent.indexOf("Quest 3")};b.qK=function(){return k("oculusquest")||k("oculusquest2")||k("other")?!0:b.mc()==b.sp&&0<=navigator.userAgent.indexOf("Quest 2")};b.d3a=function(){return b.mc()==b.sp&&0<=navigator.userAgent.indexOf("Quest")&&0>navigator.userAgent.indexOf("Quest 2")};b.c$a=function(){return b.mc()==b.sp&&0>navigator.userAgent.indexOf("Quest")};b.Q2a=function(){return b.Hf()&&
536b.oR()};b.ID=void 0;b.t4a=function(){void 0===b.ID&&(b.ID=parseInt(m.getQueryParameter("sts")),isNaN(b.ID)&&(b.Hf()&&!b.bOa?b.ID=512:b.nb()&&b.Jd()==b.ni?b.ID=512:b.ID=b.nb()?256:1024));return b.ID};b.JUa=function(){if(b.browser()==b.Hm||b.browser()==b.li)try{var f=/Version\/([0-9]+\.[0-9]+)/i.exec(navigator.userAgent);if(f)return parseFloat(f[1])}catch(c){}}();b.Hha=function(){return b.JUa};b.CQa=function(){try{var f=parseFloat((""+(/CPU.*OS ([0-9_]{1,5}
536)|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||
537[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||!1}catch(c){}f||(f=b.Hha());return f}();b.dga=function(){return b.CQa};b.fKa=function(){if(b.Jd()==b.kB)try{var f=/Android ([0-9]+\.?[0-9]*)/i.exec(navigator.userAgent);if(f)return parseFloat(f[1])}catch(c){}}();b.f_a=function(){return b.fKa};b.Kpa=function(){var f={SAa:"unknown",l3a:1},c=document.createElement("canvas");if(c&&(c=c.getContext("webgl")||c.getContext("experimental-webgl"))){var d=c.getExtension("WEBGL_debug_renderer_info");
538d&&(f.SAa=c.getParameter(d.UNMASKED_RENDERER_WEBGL));f.maxTextureSize=c.getParameter(c.MAX_TEXTURE_SIZE);if(d=c.getExtension("EXT_texture_filter_anisotropic")||c.getExtension("MOZ_EXT_texture_filter_anisotropic")||c.getExtension("WEBKIT_EXT_texture_filter_anisotropic"))f.l3a=c.getParameter(d.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}return f}();b.Y1a=function(){return b.Kpa};b.hKa=function(){var f=b.Kpa.SAa.match(/Apple\s+(.+)\s+GPU/);return f?f[1].toUpperCase():"unknown"}();b.U9a=function(){return b.hKa};
539b.oRa=b.IE()==b.rL?!0:!1;b.Xw=function(){return b.oRa};b.Uya=function(){return b.browser()==b.Hm&&14<=b.Hha()};var h=!1;try{h="true"==window.localStorage.getItem("tdvp_video_drift_2")}catch(f){}b.o2a=function(){return h};b.M6a=function(){h=!0;try{window.localStorage.setItem("tdvp_video_drift_2","true")}catch(f){}};b.oN="ontouchstart"in window||"undefined"!==typeof window.PointerEvent&&"undefined"!==typeof navigator.maxTouchPoints&&0<navigator.maxTouchPoints?!0:!1;b.Ria=function(){return b.oN};b.so=
540m.pj("touchenabled")?m.eg("touchenabled"):"ontouchstart"in window?b.Jd()==b.i5?!1:!0:!1;b.d3=function(){return b.so};b.summary=function(){return["browser: "+b.browser(),"browserType: "+b.CJ(),"browserSubtype: "+b.mc(),"device: "+b.IE(),"isMobile: "+b.nb(),"gearVRCompatibleDevice: "+b.oR(),"chromeWebView: "+b.bza(),"touchDevice"+b.Ria(),"touchEnabled"+b.d3()].join(", ")};b.log=function(){l.log("browser: "+b.browser());l.log("browserType: "+b.CJ());l.log("browserSubtype: "+b.mc());l.log("device: "+
541b.IE());l.log("isMobile: "+b.nb());l.log("gearVRCompatibleDevice: "+b.oR());l.log("chromeWebView: "+b.bza());l.log("touchDevice: "+b.Ria());l.log("touchEnabled: "+b.d3())};return b});
542define("mm",["require","v"],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);f=!1}function l(){c&&e()}function m(){c=!1}function k(){c=!0;h.Jd()==h.ni&&e()}function b(){document.body.addEventListener("click",e,!0);document.body.addEventListener("touchstart",k,!0);document.body.addEventListener("touchmove",
543m,!0);document.body.addEventListener("touchend",l,!0)}var h=a("v"),f=!1,c=!1,d=[];return{m3:function(){e()},wait:function(g){d.push(g);f||(f=!0,document.body?b():document.addEventListener("DOMContentLoaded",b))},v$a:function(g){g=d.indexOf(g);0<=g&&d.splice(g,1)}}});define("ik",["require","exports"],function(){return{iIa:7,v3:6,Rja:5,ql:4,Ika:3,AL:2,N4:1,c9a:0,Vja:3,HB:2,AIa:1,zIa:2,wIa:2,Zn:2,TIa:3,s9a:4}});define("bj",["require"],function(){return{C4:"horizontal",b5:"vertical"}});
544define("pF",["require"],function(){return{ZIa:"1",YIa:"auto",KIa:"1",tIa:"2",sIa:"auto",v3:"2",pHa:"3",oHa:"auto",JIa:"5",SIa:"100",V8a:"101",RHa:999998,u9a:999999,cIa:1E6}});define("gM",["require"],function(){var a=1,e={};return{css:function(l,m){var k=l.__duqid;void 0===k&&(k=a.toString(),l.__duqid=k,a++);l=e[k]||(e[k]={e:l,s:{}});for(var b in m)l.s[b]=m[b]},process:function(){for(var l in e){var m=e[l],k=m.e.style;m=m.s;for(var b in m)k[b]=m[b]}e={}}}});
545define("bR",["require"],function(){return{g2a:function(a){return!!a&&0<=a.indexOf("&tdvflipx")},oya:function(a){a&&(0>a.indexOf("#")&&(a+="#"),a+="&tdvflipx");return a},L0a: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()}}});
546define("I",["require","exports"],function(){return function(){function a(e,l,m,k,b,h){this.queue=e;this.url=l;this.priority=m;this.time=k;this.x7a=b;this.v_a=h}a.prototype.loaded=function(){this.queue.RS(this.url);this.queue.remove(this)};a.prototype.cancel=function(){this.queue.remove(this)};return a}()});
547define("bv","require exports v mC lH I".split(" "),function(a,e,l,m,k,b){var h=l.mc()===l.Kx,f=!(m.pj("debug")&&m.eg("disable-cache"));return function(){function c(){}c.add=function(d,g,p,q){d=new b(this,d,g,(new Date).getTime(),p,q);this.hw.push(d);this.ha();return d};c.J7a=function(d){this.aJ.push(d);this.ha()};c.I7a=function(d){d=this.aJ.indexOf(d);0<=d&&this.aJ.splice(d,1);this.ha()};c.M8a=function(d){var g;return h?!0:f?null!==(g=this.Dqa[d])&&void 0!==g?g:!1:!1};c.RS=function(d){h||f&&(this.Dqa[d]=
548!0)};c.ha=function(){this.Uda||(this.Uda=k.RA(c.yYa.bind(this)))};c.yYa=function(){this.Uda=null;for(var d=this.QUa(),g=0,p=this.QW;g<p.length;g++){var q=p[g];d.includes(q)||q.v_a()}g=this.QW;this.QW=d;d=0;for(p=this.QW;d<p.length;d++)q=p[d],g.includes(q)||q.x7a()};c.AWa=function(){this.hw.sort(function(d,g){return d.priority-g.priority||g.time-d.time});this.aJ.sort(function(d,g){return d-g})};c.QUa=function(){this.AWa();var d=[];if(this.hw.length)for(var g=this.aJ.length?this.aJ[0]:this.hw[0].priority,
549p=0;10>p&&p<this.hw.length&&this.hw[p].priority<=g;p++)d.push(this.hw[p]);return d};c.remove=function(d){d=this.hw.indexOf(d);0<=d&&this.hw.splice(d,1);this.ha()};c.hw=[];c.QW=[];c.aJ=[];c.Uda=null;c.Dqa={};return c}()});
550define("gY","require lE cC gv pg ik mC bR bv".split(" "),function(a){var e=a("lE"),l=a("cC"),m=a("gv"),k=a("pg"),b=a("ik"),h=a("mC"),f=a("bR"),c=a("bv");a=e.extend(m,function(g){m.call(this);this.Us=g||b.iIa;this.wa=this.oa=this.Zb=this.Pd=null;this.lz=!1;this.HI=this.vo=null;this.TY=0;this.A9=[];this.jW=this.jW.bind(this);this.kW=this.kW.bind(this)});a.prototype.load=function(g){this.cancel();this.Pd=g;this.TY=0;this.Bua()};a.prototype.Bua=function(){this.vo=c.add(this.Pd,this.Us,this.KWa.bind(this),
551this.zLa.bind(this))};a.prototype.cancel=function(){this.vo&&(this.vo.cancel(),this.vo=null);this.Uma();this.Pd=null};a.prototype.T2a=function(){return!!this.Zb&&!this.lz||this.HI};a.prototype.ii=function(){return this.lz};a.prototype.vf=function(g){return g?(g=this.Zb.cloneNode(!0),this.A9.push(g),g):this.Zb};a.prototype.je=function(){return this.oa};a.prototype.Ye=function(){return this.wa};a.prototype.Oi=function(){return this.Pd};a.prototype.KWa=function(){this.Zb=this.PMa(this.Pd)};a.prototype.zLa=
552function(){this.T2a()&&this.Uma()};a.prototype.Uma=function(){if(this.Zb){this.HI&&(clearTimeout(this.HI),this.HI=null);for(this.lz=!1;this.A9.length;)this.Sna(this.A9.shift());this.Sna(this.Zb);this.Zb=null}};a.prototype.JJa=function(g){g.addEventListener("load",this.jW);g.addEventListener("error",this.kW)};a.prototype.tua=function(g){g.removeEventListener("load",this.jW);g.removeEventListener("error",this.kW)};a.prototype.jW=function(){this.Zb.width&&this.Zb.height||!(-1<this.Pd.indexOf(".svg"))||
553this.fOa();this.vo.loaded();this.vo=null;this.tua(this.Zb);this.lz=!0;this.oa=this.Zb.width;this.wa=this.Zb.height;f.g2a(this.Pd)&&f.L0a(this.Zb,this.oa,this.wa);this.trigger(new l(k.Z))};a.prototype.kW=function(){this.cancel();this.TY<d?(this.TY++,this.HI=setTimeout(function(){this.HI=null;this.Bua()}.bind(this),1E3*Math.pow(2,this.TY))):this.trigger(new l(k.yc))};a.prototype.fOa=function(){var g=new XMLHttpRequest;g.open("GET",this.Pd,!1);g.send();var p=document.createElement("div");p.innerHTML=
554g.responseText;g=p.children[0];this.Zb.width=g.width.baseVal.value;this.Zb.height=g.height.baseVal.value};a.prototype.PMa=function(g){var p=document.createElement("img");h.mga(g)?p.setAttribute("crossOrigin","Anonymous"):p.removeAttribute("crossOrigin");p.setAttribute("draggable","false");p.style.position="static";p.style.border="none";p.style.display="none";
554this.JJa(p);p.src=g;return p};a.prototype.Sna=function(g){this.tua(g);g.parentNode&&g.parentNode.removeChild(g);g.src=""};var d=5;a.Y2=function(g){return c.M8a(g)};
555return a});
556define("gF","require en jquery.mod pg ik bj pF gM gY".split(" "),function(a){function e(){this.Sp=this.Up=this.Vp=this.Tp=this.Vu=this.Uu=this.Xu=this.Wu=0;this.rU=this.tU=this.uU=this.sU="";this.Rb=1;this.Nc=void 0;this.tC=[];this.H6=[];this.E6=h.b5;this.NU=!1;this.gW=void 0;this.Vh=null;this.Y8=this.pea=0;this.ec=document.createElement("canvas");this.ec.setAttribute("tdvlayer","background");this.va=m(this.ec);c.css(this.ec,{position:"absolute",left:0,top:0,"z-index":f.v3,"user-select":"none","-ms-user-select":"none",
557"-moz-user-select":"none","-webkit-user-select":"none"});this.Bg=!0}var l=a("en"),m=a("jquery.mod"),k=a("pg"),b=a("ik"),h=a("bj"),f=a("pF"),c=a("gM"),d=a("gY");e.prototype.setSize=function(g,p){if(this.pea!=g||this.Y8!=p)this.pea=g||0,this.Y8=p||0,this.Bg=!0};e.prototype.dFa=function(g){this.kq!=g&&(this.kq=g,this.Bg=!0)};e.prototype.$c=function(){return this.va};e.prototype.ee=function(){return this.ec};e.prototype.S5a=function(g){if(this.gW!=g){this.Vh&&(this.Vh.unbind(k.Z,this.iN,this),this.Vh.cancel(),
558this.Vh=null);if(this.gW=g)this.Vh=new d(b.Ika),this.Vh.bind(k.Z,this.iN,this),this.Vh.load(this.gW);this.Bg=!0}};e.prototype.Uha=function(g){this.Wu!=g&&(this.Wu=g,this.Bg=!0)};e.prototype.Vha=function(g){this.Xu!=g&&(this.Xu=g,this.Bg=!0)};e.prototype.Pha=function(g){this.Uu!=g&&(this.Uu=g,this.Bg=!0)};e.prototype.Qha=function(g){this.Vu!=g&&(this.Vu=g,this.Bg=!0)};e.prototype.Sha=function(g){this.Tp!=g&&(this.Tp=g,this.Bg=!0)};e.prototype.Wha=function(g){this.Vp!=g&&(this.Vp=g,this.Bg=!0)};e.prototype.Tha=
559function(g){this.Up!=g&&(this.Up=g,this.Bg=!0)};e.prototype.Rha=function(g){this.Sp!=g&&(this.Sp=g,this.Bg=!0)};e.prototype.o5a=function(g){this.sU!=g&&(this.sU=g,this.Bg=!0)};e.prototype.q5a=function(g){this.uU!=g&&(this.uU=g,this.Bg=!0)};e.prototype.p5a=function(g){this.tU!=g&&(this.tU=g,this.Bg=!0)};e.prototype.n5a=function(g){this.rU!=g&&(this.rU=g,this.Bg=!0)};e.prototype.tj=function(g){this.Rb!=g&&(this.Rb=g,this.Bg=!0)};e.prototype.al=function(){return this.Rb};e.prototype.setColor=function(g){l.isEqual(this.Nc,
560g)||(this.Nc=g,l(g).isArray()||(g=[g]),g=l(g).filter(function(p){return l(p).isString()}),this.PEa(g))};e.prototype.$J=function(){return this.Nc};e.prototype.PEa=function(g){l.isEqual(this.tC,g)||(this.tC=g,this.Bg=!0)};e.prototype.w5a=function(g){this.F9a!=g&&(this.H6=g,this.Bg=!0)};e.prototype.v5a=function(g){this.E6!=g&&(this.E6=g,this.Bg=!0)};e.prototype.iN=function(){this.Bg=!0;this.eh()};e.prototype.eh=function(){this.Bg&&(this.ha(),this.Bg=!1)};e.prototype.ha=function(){var g=Math.max(0,this.pea-
561(this.Tp+this.Up)),p=Math.max(0,this.Y8-(this.Vp+this.Sp)),q=this.va.get(0);q.width=g;q.height=p;q=q.getContext("2d");var n=this.vLa(),r=0<n.length,u=this.Vh&&this.Vh.ii(),t=0<this.Tp&&this.sU||0<this.Vp&&this.uU||0<this.Up&&this.tU||0<this.Sp&&this.rU;t=r||u||t;if(r){var v=this.E6==h.C4?q.createLinearGradient(0,0,g,0):q.createLinearGradient(0,0,0,p);l(n).forEach(function(w){v.addColorStop(w.ratio,w.color)});q.fillStyle=v;q.fillRect(0,0,g,p);this.NU=!0}else this.NU&&(q.clearRect(0,0,g,p),this.NU=
562!1);u&&(q.drawImage(this.Vh.vf(),0,0,g,p),this.NU=!0);this.ec.style.opacity=this.Rb;this.ec.style.filter="alpha(opacity="+Math.round(100*this.Rb)+")";this.ec.style["-ms-filter"]="alpha(opacity="+Math.round(100*this.Rb)+")";this.ec.style.borderTopLeftRadius=this.Wu+"px";this.ec.style.borderTopRightRadius=this.Xu+"px";this.ec.style.borderBottomLeftRadius=this.Uu+"px";this.ec.style.borderBottomRightRadius=this.Vu+"px";this.ec.style.borderLeft=this.OV(this.Tp,this.sU);this.ec.style.borderTop=this.OV(this.Vp,
563this.uU);this.ec.style.borderRight=this.OV(this.Up,this.tU);this.ec.style.borderBottom=this.OV(this.Sp,this.rU);this.ec.style.width=g+"px";this.ec.style.height=p+"px";this.ec.style.cursor="inherit";this.ec.style.display=t?"block":"none";0===this.ec.clientWidth&&0!==g&&(this.ec.style.width=0,this.ec.style.width=g+"px")};e.prototype.OV=function(g,p){return 0<g?p?g+"px solid "+p:g+"px solid transparent":"none"};e.prototype.vLa=function(){var g=[];if(0<this.tC.length){var p=this.tC.slice();p=[].concat([p[0]],
564p,[p[p.length-1]]);var q=this.uLa();q=[].concat([0],q,[1]);for(var n=0;n<p.length;n++){var r=q[n];
5640<=r&&g.push({color:p[n],ratio:r})}for(n=0;n<g.length-1;)g[n].ratio==g[n+1].ratio&&g[n].color==g[n+1].color?g.splice(n,1):n++;for(n=1;n<g.length-1;)g[n-1].ratio==g[n+1].ratio?g.splice(n,1):n++}return g};e.prototype.uLa=function(){var g=this.tC.length,p;for(p=0<this.H6.length?l(this.H6).map(function(q){return Math.min(1,Math.max(0,q))}):1==g?[.5]:l(l.range(g)).map(function(q,n){return 1*n/(g-1)});p.length<
565g;)p.push(1);p.length>g&&p.splice(g,p.length-g);return p};return e});
566define("eO",["require","jquery.mod","pF","gM"],function(a){function e(){this.aY=this.cY=this.dY=this.bY=this.Sp=this.Up=this.Vp=this.Tp=0;this.MO=this.kq=!0;this.jea=this.t9=0;this.xa=!0;this.pP=document.createElement("div");this.pP.setAttribute("tdvlayer","content");this.Yua=l(this.pP);k.css(this.pP,{position:"absolute"});this.mM=document.createElement("div");this.P6=l(this.mM);k.css(this.mM,{position:"absolute"});this.Yua.append(this.P6)}var l=a("jquery.mod"),m=a("pF"),k=a("gM");e.prototype.append=
567function(b){this.P6.append(b)};e.prototype.prepend=function(b){this.P6.prepend(b)};e.prototype.Eea=function(b){this.mM.appendChild(b)};e.prototype.H4a=function(b){this.mM.removeChild(b)};e.prototype.$c=function(){return this.Yua};e.prototype.ee=function(){return this.pP};e.prototype.P5a=function(b){this.t9!=b&&(this.t9=b,this.xa=!0)};e.prototype.j7a=function(b){this.jea!=b&&(this.jea=b,this.xa=!0)};e.prototype.cK=function(){return this.bY+this.Tp};e.prototype.fK=function(){return this.dY+this.Vp};
568e.prototype.eK=function(){return this.cY+this.Up};e.prototype.ZJ=function(){return this.aY+this.Sp};e.prototype.RK=function(b){this.MO!=b&&(this.MO=b,this.xa=!0)};e.prototype.r6a=function(b){this.bY!=b&&(this.bY=b,this.xa=!0)};e.prototype.t6a=function(b){this.dY!=b&&(this.dY=b,this.xa=!0)};e.prototype.s6a=function(b){this.cY!=b&&(this.cY=b,this.xa=!0)};e.prototype.q6a=function(b){this.aY!=b&&(this.aY=b,this.xa=!0)};e.prototype.Sha=function(b){this.Tp!=b&&(this.Tp=b,this.xa=!0)};e.prototype.Wha=function(b){this.Vp!=
569b&&(this.Vp=b,this.xa=!0)};e.prototype.Tha=function(b){this.Up!=b&&(this.Up=b,this.xa=!0)};e.prototype.Rha=function(b){this.Sp!=b&&(this.Sp=b,this.xa=!0)};e.prototype.dFa=function(b){this.kq!=b&&(this.kq=b,this.xa=!0)};e.prototype.eh=function(){this.xa&&(this.ha(),this.xa=!1)};e.prototype.ha=function(){k.css(this.pP,{overflow:this.MO?"visible":"hidden","z-index":this.kq?m.pHa:m.oHa,left:this.cK()+"px",top:this.fK()+"px",right:this.eK()+"px",bottom:this.ZJ()+"px",cursor:"inherit"});k.css(this.mM,{left:-this.t9+
570"px",top:-this.jea+"px",right:this.MO?0:"initial",bottom:this.MO?0:"initial",cursor:"inherit"})};return e});
571define("kn","require en jquery.mod lE pF gM".split(" "),function(a){function e(){this.wa=this.oa=this.Oa=this.La=void 0;this.Vu=this.Uu=this.Xu=this.Wu=0;this.Mb=!1;this.s9=0;this.iea=4;this.j6=6;this.xca=0;this.Nc="#000000";this.Rb=1;this.ec=document.createElement("div");this.ec.setAttribute("tdvlayer","shadow");this.va=l(this.ec);k.css(this.ec,{position:"absolute",left:0,top:0,right:0,bottom:"0"});this.xa=!1}a("en");var l=a("jquery.mod");a("lE");var m=a("pF"),k=a("gM");e.prototype.$c=function(){return this.va};
572e.prototype.ee=function(){return this.ec};e.prototype.Uha=function(b){this.Wu!=b&&(this.Wu=b,this.xa=!0)};e.prototype.Vha=function(b){this.Xu!=b&&(this.Xu=b,this.xa=!0)};e.prototype.Pha=function(b){this.Uu!=b&&(this.Uu=b,this.xa=!0)};e.prototype.Qha=function(b){this.Vu!=b&&(this.Vu=b,this.xa=!0)};e.prototype.tj=function(b){this.Rb!=b&&(this.Rb=b,this.xa=!0)};e.prototype.al=function(){return this.Rb};e.prototype.yf=function(b){this.Mb!=b&&(this.Mb=b,this.xa=!0)};e.prototype.O5a=function(b){this.s9!=
573b&&(this.s9=b,this.xa=!0)};e.prototype.i7a=function(b){this.iea!=b&&(this.iea=b,this.xa=!0)};e.prototype.m5a=function(b){this.j6!=b&&(this.j6=b,this.xa=!0)};e.prototype.N6a=function(b){this.xca!=b&&(this.xca=b,this.xa=!0)};e.prototype.setColor=function(b){this.Nc!=b&&(this.Nc=b,this.xa=!0)};e.prototype.$J=function(){return this.Nc};e.prototype.eh=function(){this.xa&&(this.ha(),this.xa=!1)};e.prototype.ha=function(){var b=this.s9+"px "+this.iea+"px "+this.j6+"px "+this.xca+"px "+this.Nc;this.ec.style.display=
574this.Mb?"block":"none";this.ec.style.boxShadow=b;this.ec.style["-webkit-box-shadow"]=b;this.ec.style["-moz-box-shadow"]=b;this.ec.style.borderTopLeftRadius=this.Wu+"px";this.ec.style.borderTopRightRadius=this.Xu+"px";this.ec.style.borderBottomLeftRadius=this.Uu+"px";this.ec.style.borderBottomRightRadius=this.Vu+"px";this.ec.style.filter="alpha(opacity="+Math.round(100*this.Rb)+")";
574this.ec.style["-ms-filter"]="alpha(opacity="+Math.round(100*this.Rb)+")";this.ec.style.opacity=this.Rb;this.ec.style.zIndex=
575m.KIa};return e});
576define("nq","require jquery.mod en lE mh bd pg gF eO kn pF cC gM v".split(" "),function(a){var e=a("jquery.mod");a("en");var l=a("lE"),m=a("mh"),k=a("bd"),b=a("pg"),h=a("gF"),f=a("eO"),c=a("kn"),d=a("pF"),g=a("cC"),p=a("gM");a("v");var q=l.extend(m,function(){m.call(this);this.AH=q.AH++;this.O6=this.me=this.Caa=this.LO=this.nca=this.va=this.ec=null;this.Vwa=this.hqa=!1;this.pa=this.gb=null;this.wa=this.oa=this.Nv=this.Mv=0;this.ez=this.Mb=!1;this.Xpa=!0;this.LN=this.MN=this.Ol=this.Pl=0;this.Rb=1;
577this.Qh=k.xe;this.set("inView",!1);this.set("toolTip",void 0);this.$D(!0);this.eca(!0)});q.prototype.Ge=function(n){this.oC=n};q.prototype.toString=function(){return"["+this.va.attr("tdvclass")+"::"+this.AH+"]"};q.prototype.log=function(n){l.log(n+" "+this.toString()+" "+(new Date).getTime().toString())};q.prototype.wb=function(){return this.gb};q.prototype.bt=function(n){(this.gb=n)&&this.I9();this.iJ();this.trigger(b.jHa)};q.prototype.$c=function(){this.va=e(this.ee());this.$c=function(){return this.va};
578return this.va};q.prototype.xFa=function(n){(n=n||this.oC)?this.ec.setAttribute("tdvclass",n):this.ec.removeAttribute("tdvclass")};q.prototype.Z4a=function(){this.xFa()};q.prototype.ee=function(){this.ec=document.createElement("div");this.ec.setAttribute("id",this.AH);this.oC&&this.ec.setAttribute("tdvclass",this.oC);p.css(this.ec,{margin:0,padding:0,position:"absolute",overflow:"visible",display:"block"});this.ee=function(){return this.ec};return this.ec};q.prototype.Dl=function(){this.nca=new c;
579this.Dl=function(){return this.nca};return this.nca};q.prototype.Uc=function(){this.me=new h;this.Uc=function(){return this.me};return this.me};q.prototype.wH=function(){this.LO=document.createElement("div");this.LO.setAttribute("tdvlayer","overShadow");p.css(this.LO,{position:"absolute",left:0,top:0,cursor:"inherit"});this.wH=function(){return this.LO};return this.LO};q.prototype.N8=function(){this.Caa=e(this.wH());this.N8=function(){return this.Caa};return this.Caa};q.prototype.Ob=function(){this.O6=
580new f;this.Ob=function(){return this.O6};return this.O6};q.prototype.getParent=function(){return this.pa};q.prototype.Ya=function(){return this.oa};q.prototype.Ab=function(){return this.wa};q.prototype.c2a=function(){return void 0!==this.oa&&void 0!==this.wa};q.prototype.uf=function(){return this.oa-this.Ob().cK()-this.Ob().eK()};q.prototype.tf=function(){return this.wa-this.Ob().fK()-this.Ob().ZJ()};q.prototype.qm=function(){return this.Ob().cK()};q.prototype.It=function(){return this.Ob().fK()};
581q.prototype.Ht=function(){return this.Ob().eK()};q.prototype.aK=function(){return this.Ob().ZJ()};q.prototype.yf=function(n){this.Mb!=n&&(this.Mb=n,this.pe(),this.pa&&(this.pa.Yb(),this.pa.Rd()),this.iJ())};q.prototype.iJ=function(){var n=!1;this.gb&&this.Mb&&0<this.al()&&(this==this.gb?n=!0:this.pa&&(n=this.pa.ez));this.ez!=n&&this.V5(n)};q.prototype.V5=function(n){this.ez=n;this.set("inView",n);this.ez?this.trigger(new g(b.dd)):this.trigger(new g(b.Tc))};q.prototype.MVa=function(n){this.Xpa!=n&&
582(this.Xpa=n,this.pa&&this.pa.Rd())};q.prototype.DVa=function(n){this.oH!=n&&(this.oH=n,this.Yb())};q.prototype.CVa=function(n){this.nH!=n&&(this.nH=n,this.Yb())};q.prototype.BVa=function(n){this.mH!=n&&(this.mH=n,this.Yb())};q.prototype.AVa=function(n){this.lH!=n&&(this.lH=n,this.Yb())};q.prototype.EVa=function(n){this.$m!=n&&(this.$m=n,void 0!=this.$m&&(this.yn=void 0),this.Yb())};q.prototype.zVa=function(n){this.GC!=n&&(this.GC=n,void 0!=this.GC&&(this.xn=void 0),this.Yb())};q.prototype.ZVa=function(n){this.yn!=
583n&&(this.yn=n,void 0!=this.yn&&(this.$m=void 0),this.Yb())};q.prototype.VVa=function(n){this.xn!=n&&(this.xn=n,void 0!=this.xn&&(this.GC=void 0),this.Yb())};q.prototype.OVa=function(n){this.Hv!=n&&(void 0!=n&&(this.qY=void 0),this.Hv=n,this.pa&&this.pa.Rd(),this.Yb())};q.prototype.nWa=function(n){this.Uq!=n&&(void 0!=n&&(this.sY=void 0),this.Uq=n,this.pa&&this.pa.Rd(),this.Yb())};q.prototype.aWa=function(n){this.mP!=n&&(void 0!=n&&(this.rY=void 0),this.mP=n,this.pa&&this.pa.Rd(),this.Yb())};q.prototype.qVa=
584function(n){this.aM!=n&&(void 0!=n&&(this.pY=void 0),this.aM=n,this.pa&&this.pa.Rd(),this.Yb())};q.prototype.WVa=function(n){this.qY!=n&&(void 0!=n&&(this.Hv=void 0),this.qY=n,this.pa&&this.pa.Rd(),this.Yb())};q.prototype.YVa=function(n){this.sY!=n&&(void 0!=n&&(this.Uq=void 0),this.sY=n,this.pa&&this.pa.Rd(),this.Yb())};q.prototype.XVa=function(n){this.rY!=n&&(void 0!=n&&(this.mP=void 0),this.rY=n,this.pa&&this.pa.Rd(),this.Yb())};q.prototype.UVa=function(n){this.pY!=n&&(void 0!=n&&(this.aM=void 0),
585this.pY=n,this.pa&&this.pa.Rd(),this.Yb())};q.prototype.uVa=function(n){this.Ay!=n&&(this.Ay=n,this.pa&&this.pa.Rd())};q.prototype.vVa=function(n){this.By!=n&&(this.By=n,this.pa&&this.pa.Rd())};q.prototype.Nt=function(){return isNaN(this.$m)?this.Pl:this.$m};q.prototype.Mt=function(){return isNaN(this.GC)?this.Ol:this.GC};q.prototype.LPa=function(){return isNaN(this.ZNa)?this.Mqa:this.ZNa};q.prototype.Kt=function(){return isNaN(this.oH)?this.MN:this.oH};q.prototype.Uw=function(){return isNaN(this.nH)?
586this.LN:this.nH};q.prototype.P0=function(){return isNaN(this.mH)?1E4:this.mH};q.prototype.O0=function(){return isNaN(this.lH)?1E4:this.lH};q.prototype.yva=function(n){this.Q8()!=n&&(this.Ob().r6a(n),this.Yb())};
586q.prototype.Q8=function(){return this.Ob().bY};q.prototype.Ava=function(n){this.T8()!=n&&(this.Ob().t6a(n),this.Yb())};q.prototype.T8=function(){return this.Ob().dY};q.prototype.zva=function(n){this.S8()!=n&&(this.Ob().s6a(n),this.Yb())};q.prototype.S8=function(){return this.Ob().cY};q.prototype.xva=
587function(n){this.P8()!=n&&(this.Ob().q6a(n),this.Yb())};q.prototype.P8=function(){return this.Ob().aY};q.prototype.US=function(n){if(this.Mv!=n){var r=0==this.Mv!=(0==n);this.Mv=n;this.dl();r&&this.pa&&this.pa.Rd()}};q.prototype.VS=function(n){if(this.Nv!=n){var r=0==this.Nv!=(0==n);this.Nv=n;this.dl();r&&this.pa&&this.pa.Rd()}};q.prototype.l2a=function(){return 0!=this.Mv||0!=this.Nv};q.prototype.tj=function(n){this.Rb!=n&&(this.Rb=n,p.css(this.wH(),{filter:"alpha(opacity="+Math.round(100*this.Rb)+
588") ",opacity:this.Rb}),this.iJ(),this.dl())};q.prototype.al=function(){return this.Rb};q.prototype.nVa=function(n){this.Uc().Wu!=n&&(this.Dl().Uha(n),this.Uc().Uha(n))};q.prototype.MOa=function(){return this.Uc().Wu};q.prototype.oVa=function(n){this.Uc().Xu!=n&&(this.Dl().Vha(n),this.Uc().Vha(n))};q.prototype.NOa=function(){return this.Uc().Xu};q.prototype.fVa=function(n){this.Uc().Uu!=n&&(this.Dl().Pha(n),this.Uc().Pha(n))};q.prototype.KOa=function(){return this.Uc().Uu};q.prototype.gVa=function(n){this.Uc().Vu!=
589n&&(this.Dl().Qha(n),this.Uc().Qha(n))};q.prototype.LOa=function(){return this.Uc().Vu};q.prototype.jVa=function(n){this.Uc().Tp!=n&&(this.Uc().Sha(n),this.Ob().Sha(n),this.Yb())};q.prototype.Poa=function(){return this.Uc().Tp};q.prototype.pVa=function(n){this.Uc().Vp!=n&&(this.Uc().Wha(n),this.Ob().Wha(n),this.Yb())};q.prototype.Roa=function(){return this.Uc().Vp};q.prototype.lVa=function(n){this.Uc().Up!=n&&(this.Uc().Tha(n),this.Ob().Tha(n),this.Yb())};q.prototype.Qoa=function(){return this.Uc().Up};
590q.prototype.hVa=function(n){this.Uc().Sp!=n&&(this.Uc().Rha(n),this.Ob().Rha(n),this.Yb())};q.prototype.Ooa=function(){return this.Uc().Sp};q.prototype.iVa=function(n){this.Uc().o5a(n)};q.prototype.mVa=function(n){this.Uc().q5a(n)};q.prototype.kVa=function(n){this.Uc().p5a(n)};q.prototype.eVa=function(n){this.Uc().n5a(n)};q.prototype.qZ=function(n){this.Dl().yf(n)};q.prototype.gWa=function(n){this.Dl().O5a(n)};q.prototype.jWa=function(n){this.Dl().i7a(n)};q.prototype.eWa=function(n){this.Dl().m5a(n)};
591q.prototype.iWa=function(n){this.Dl().N6a(n)};q.prototype.hWa=function(n){this.Dl().tj(n)};q.prototype.fWa=function(n){this.Dl().setColor(n)};q.prototype.aVa=function(n){this.HOa()!=n&&this.Uc().tj(n)};q.prototype.HOa=function(){return this.Uc().al()};q.prototype.XUa=function(n){this.GOa()!=n&&this.Uc().setColor(n)};q.prototype.GOa=function(){return this.Uc().$J()};q.prototype.ZUa=function(n){this.Uc().w5a(n)};q.prototype.YUa=function(n){this.Uc().v5a(n)};q.prototype.$Ua=function(n){this.Uc().S5a(n)};
592q.prototype.Vz=function(n){this.Qh!=n&&(this.Qh=n,this.dl())};q.prototype.mWa=function(n){this.Kca!==n&&(this.Kca=n,this.ee().tabIndex=void 0===this.Kca?void 0:this.Kca)};q.prototype.VUa=function(n){this.R5!=n&&((this.R5=n)?this.ee().setAttribute("aria-label",this.R5):this.ee().removeAttribute("aria-label"))};q.prototype.WUa=function(n){this.S5!=n&&((this.S5=n)?this.ee().setAttribute("role",this.S5):this.ee().removeAttribute("role"))};q.prototype.$D=function(n){this.kq!=n&&(this.kq=n,p.css(this.wH(),
593{"z-index":this.kq?d.tIa:d.sIa}),this.Ob().dFa(this.kq),this.dl())};q.prototype.eca=function(n){this.Lta!=n&&(this.Lta=n,p.css(this.ee(),{"z-index":this.Lta?d.ZIa:d.YIa}),this.dl())};q.prototype.Pp=function(){this.iJ();this.RR()};q.prototype.An=function(){this.iJ()};q.prototype.Iba=function(){};q.prototype.I9=function(){this.RR();this.pe();this.Yb();this.Rd();this.dl()};q.prototype.Lv=function(){this.LN=this.MN=this.Ol=this.Pl=0;this.Mqa=void 0};q.prototype.RR=function(){var n=this.wb();n&&n.AG.RR(this)};
594q.prototype.pe=function(){var n=this.wb();n&&n.AG.pe(this)};q.prototype.Yb=function(){var n=this.wb();n&&n.AG.Yb(this)};q.prototype.Rd=function(){var n=this.wb();n&&n.AG.Rd(this)};q.prototype.dl=function(){var n=this.wb();n&&n.AG.dl(this)};q.prototype.e9=function(){var n=isNaN(this.qY)&&isNaN(this.Hv),r=isNaN(this.rY)&&isNaN(this.mP);return isNaN(this.$m)&&isNaN(this.yn)&&(n||r)?!0:!1};q.prototype.Lpa=function(){var n=isNaN(this.sY)&&isNaN(this.Uq),r=isNaN(this.pY)&&isNaN(this.aM);return isNaN(this.GC)&&
595isNaN(this.xn)&&(n||r)?!0:!1};q.prototype.ZYa=function(){this.Lv();var n=this.LPa();if(n){var r=this.e9(),u=this.Lpa();r&&!u?(r=this.tf(),0!=r&&(this.Pl=r*n+this.qm()+this.Ht(),this.Ol=r+this.It()+this.aK())):!r&&u&&(r=this.uf(),0!=r&&(this.Ol=r/n+this.qm()+this.Ht(),this.Pl=r+this.qm()+this.Ht()))}!isNaN(this.oH)&&this.Pl<this.oH&&(this.Pl=this.oH);!isNaN(this.mH)&&this.Pl>this.mH&&(this.Pl=this.mH);!isNaN(this.nH)&&this.Ol<this.nH&&(this.Ol=this.nH);!isNaN(this.lH)&&this.Ol>this.lH&&(this.Ol=this.lH)};
596q.prototype.Db=function(){if(!this.Vwa){this.Vwa=!0;var n=this.ee(),r=this.wH();n.appendChild(this.Dl().ee());n.appendChild(r);r.appendChild(this.Uc().ee());r.appendChild(this.Ob().ee())}};q.prototype.r8a=function(){this.ZYa();var n=this.Nt(),r=this.Mt(),u=this.Kt(),t=this.Uw();return n!=this.$Ra||r!=this.ZRa||u!=this.WRa||t!=this.VRa||this.yn!=this.YRa||this.xn!=this.XRa?(this.$Ra=n,this.ZRa=r,this.WRa=u,this.VRa=t,this.YRa=this.yn,this.XRa=this.xn,!0):!1};q.prototype.Za=function(){this.dl()};q.prototype.hk=
597function(){};q.prototype.OEa=function(n,r,u,t){if(this.La!=n||this.Oa!=r||this.oa!=u||this.wa!=t)this.La=n,this.Oa=r,this.oa=u,this.wa=t,this.Uc().setSize(this.oa,this.wa),this.Rd(),this.dl(),this.trigger(new g(b.pc))};q.prototype.eh=function(){var n=this.ee(),r=this.wH();this.Mb?(r.style.width=this.oa+"px",r.style.height=this.wa+"px",n.style.left=this.La+this.Mv+"px",n.style.top=this.Oa+this.Nv+"px",n.style.width=this.oa+"px",n.style.height=this.wa+"px",n.style.visibility="inherit",n.style.overflow=
598"visible",n.style.cursor=this.gb&&this.gb.q7.cAa(this.Qh),0===r.clientWidth&&
5980!==this.oa&&(n.style.width=0,n.style.width=this.oa+"px")):(n.style.visibility="hidden",n.style.width=0,n.style.height=0,n.style.overflow="hidden",r.style.width=0,r.style.height=0);this.Dl().eh();this.Uc().eh();this.Ob().eh();!this.hqa&&this.gb&&(this.hqa=!0,this.gb.bwa?this.J9():this.gb.bind(b.Yn,this.J9,this,!0))};q.prototype.J9=function(){this.trigger(b.INIT)};q.prototype.N1a=function(n){n=n.$c().offset();var r=this.$c().offset(),
599u={};u.left=r.left-n.left;u.top=r.top-n.top;this.gb&&(u.left/=this.gb.Dz,u.top/=this.gb.Dz);return u};q.AH=0;return q});
600define("R","require en lE pg cC gW nq".split(" "),function(a){var e=a("en"),l=a("lE"),m=a("pg"),k=a("cC"),b=a("gW"),h=a("nq"),f=l.extend(h,function(){this.o={};this.gw=this.zoa=void 0;this.Mz={};this.voa=!0;this.cwa={};h.call(this);this.oNa();this.tb();this.Ge("UICustomizable");this.pe()});f.Ac={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,
601maxWidth: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,
602borderTopColor: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};f.prototype.oNa=function(){this.cwa[b.cc]=b.ub};f.prototype.tb=function(){this.lo(f.Ac)};f.prototype.lo=function(c){for(var d in c){var g=
603c[d],p=g&&g.length;p&&"string"!=typeof g?1==p?this.h(d,g[0]):2==p?this.v(d,g[0],g[1]):3==p&&this.v(d,g[0],g[1],g[2]):this.h(d,g)}};f.prototype.h=function(c,d){this.o[c]={i:!0,d}};f.prototype.QPa=function(){var c=[],d;for(d in this.o)c.push(d);return c};f.prototype.v=function(c,d,g,p){this.Mz[d]||(this.Mz[d]={});this.h(c,p);this.Mz[d][g]=c};f.prototype.RI=function(c,d){if(d)this.zoa=c;else if(void 0!=this.zoa)return;if(this.gw!=c){if(d=this.Mz[this.gw])for(var g in d)(this.o[g]||(this.o[g]={})).i=
604!0;this.gw=c;if(d=this.Mz[this.gw])for(g in d)(this.o[g]||(this.o[g]={})).i=!0;this.pe()}};f.prototype.ma=function(c){if(e(c).isString())this.set(c,void 0);else{var d=c;for(c in d)this.set(c,d[c])}};f.prototype.set=function(c,d){var g=this.o[c];g?(void 0==d&&(d=g.d),e.isEqual(this.get(c),d)||("state"==c&&this.RI(d,!0),h.prototype.set.call(this,c,d),g.i=!0,this.pe())):h.prototype.set.call(this,c,d)};f.prototype.get=function(c,d){switch(c){case "actualWidth":return this.Ya();case "actualHeight":return this.Ab();
605default:var g=h.prototype.get.call(this,c);void 0===g&&((c=this.o[c])&&(g=c.d),void 0===g&&(g=d));return g}};f.prototype.Xla=function(){for(var c="paddingLeft paddingTop paddingRight paddingBottom borderRadius borderTopRadius borderBottomRadius borderLeftRadius borderRightRadius borderTopLeftRadius borderTopRightRadius borderBottomLeftRadius borderBottomRightRadius borderSize borderLeftSize borderTopSize borderRightSize borderBottomSize".split(" "),d=0;d<c.length;d++)if(this.K(c[d]))return!0;return!1};
606f.prototype.K=function(c){if((this.o[c]||{}).i)return!0;if(void 0!==this.gw)return c=this.Mz[this.gw][c],!!(this.o[c]||{}).i};f.prototype.bE=function(c){(this.o[c]||(this.o[c]={})).i=!0;this.pe()};f.prototype.S=function(c){(this.o[c]||(this.o[c]={})).i=!1;void 0!=this.gw&&(c=this.Mz[this.gw][c])&&((this.o[c]||(this.o[c]={})).i=!1)};f.prototype.B=function(){for(var c,d=0;d<arguments.length;d++){for(var g=arguments[d],p=this.gw;p;){if(c=this.Mz[p][g])if(c=this.get(c),void 0!=c&&null!=c)return c;p=this.cwa[p]}c=
607this.get(g);if(void 0!=c&&null!=c)return c}};f.prototype.pca=function(c){c.source.unbind(m.Bb,this.pca,this);this.trigger(new k(m.CL))};f.prototype.p9=function(c){c.source.unbind(m.Bb,this.p9,this);this.trigger(new k(m.vL))};f.prototype.Pu=function(){return this.get("ariaLabel")||this.get("toolTip")};f.prototype.Za=function(){if(this.voa)this.voa=!1;else if(this.K("visible")){var c=this.B("visible"),d=this.get(c?"hideEffect":"showEffect");d&&d.oK(this)&&(d.unbind(m.Bb,c?this.p9:this.pca,this),d.end());
608(d=this.get(c?"showEffect":"hideEffect"))?d.oK(this)||(this.S("visible"),d.bind(m.Bb,c?this.pca:this.p9,this),d.play(this)):this.trigger(new k(c?m.CL:m.vL))}this.K("visible")&&(this.yf(this.B("visible")),this.S("visible"));this.K("includeInLayout")&&(this.MVa(this.B("includeInLayout")),this.S("includeInLayout"));this.K("left")&&(d=this.B("left"),c=f.mp(d),d=void 0===c?d:void 0,this.WVa(c),this.OVa(d),this.S("left"));this.K("top")&&(d=this.B("top"),c=f.mp(d),d=void 0===c?d:void 0,this.YVa(c),this.nWa(d),
609this.S("top"));this.K("right")&&(d=this.B("right"),c=f.mp(d),d=void 0===c?d:void 0,this.XVa(c),this.aWa(d),this.S("right"));this.K("bottom")&&(d=this.B("bottom"),c=f.mp(d),d=void 0===c?d:void 0,this.UVa(c),this.qVa(d),this.S("bottom"));this.K("centerX")&&(this.uVa(this.B("centerX")),this.S("centerX"));this.K("centerY")&&(this.vVa(this.B("centerY")),this.S("centerY"));
609this.K("width")&&(d=this.B("width"),c=f.mp(d),d=void 0===c?d:void 0,this.ZVa(c),this.EVa(d),this.S("width"));this.K("height")&&(d=this.B("height"),
610c=f.mp(d),d=void 0===c?d:void 0,this.VVa(c),this.zVa(d),this.S("height"));this.K("minWidth")&&(d=this.B("minWidth"),this.DVa(d),this.S("minWidth"));this.K("minHeight")&&(d=this.B("minHeight"),this.CVa(d),this.S("minHeight"));this.K("maxWidth")&&(d=this.B("maxWidth"),this.BVa(d),this.S("maxWidth"));this.K("maxHeight")&&(d=this.B("maxHeight"),this.AVa(d),this.S("maxHeight"));this.K("paddingLeft")&&(this.yva(this.B("paddingLeft")),this.S("paddingLeft"));this.K("paddingTop")&&(this.Ava(this.B("paddingTop")),
611this.S("paddingTop"));this.K("paddingRight")&&(this.zva(this.B("paddingRight")),this.S("paddingRight"));this.K("paddingBottom")&&(this.xva(this.B("paddingBottom")),this.S("paddingBottom"));c=!1;this.K("borderRadius")&&(this.S("borderRadius"),c=!0);d=!1;this.K("borderLeftRadius")&&(this.S("borderLeftRadius"),d=!0);var g=!1;this.K("borderTopRadius")&&(this.S("borderTopRadius"),g=!0);var p=!1;this.K("borderRightRadius")&&(this.S("borderRightRadius"),p=!0);var q=!1;this.K("borderBottomRadius")&&(this.S("borderBottomRadius"),
612q=!0);if(this.K("borderTopLeftRadius")||g||d||c)this.nVa(this.B("borderTopLeftRadius","borderLeftRadius","borderTopRadius","borderRadius")),this.S("borderTopLeftRadius");if(this.K("borderTopRightRadius")||g||p||c)this.oVa(this.B("borderTopRightRadius","borderRightRadius","borderTopRadius","borderRadius")),this.S("borderTopRightRadius");if(this.K("borderBottomLeftRadius")||q||d||c)this.fVa(this.B("borderBottomLeftRadius","borderLeftRadius","borderBottomRadius","borderRadius")),this.S("borderBottomLeftRadius");
613if(this.K("borderBottomRightRadius")||q||p||c)this.gVa(this.B("borderBottomRightRadius","borderRightRadius","borderBottomRadius","borderRadius")),this.S("borderBottomRightRadius");c=!1;this.K("borderSize")&&(this.S("borderSize"),c=!0);if(this.K("borderLeftSize")||c)this.jVa(this.B("borderLeftSize","borderSize")),this.S("borderLeftSize");if(this.K("borderTopSize")||c)this.pVa(this.B("borderTopSize","borderSize")),this.S("borderTopSize");if(this.K("borderRightSize")||c)this.lVa(this.B("borderRightSize",
614"borderSize")),this.S("borderRightSize");if(this.K("borderBottomSize")||c)this.hVa(this.B("borderBottomSize","borderSize")),this.S("borderBottomSize");c=!1;this.K("borderColor")&&(this.S("borderColor"),c=!0);if(this.K("borderLeftColor")||c)this.iVa(this.B("borderLeftColor","borderColor")),this.S("borderLeftColor");
614if(this.K("borderTopColor")||c)this.mVa(this.B("borderTopColor","borderColor")),this.S("borderTopColor");if(this.K("borderRightColor")||c)this.kVa(this.B("borderRightColor","borderColor")),
615this.S("borderRightColor");if(this.K("borderBottomColor")||c)this.eVa(this.B("borderBottomColor","borderColor")),this.S("borderBottomColor");this.K("shadow")&&(this.qZ(this.B("shadow")),this.S("shadow"));this.K("shadowHorizontalLength")&&(this.gWa(this.B("shadowHorizontalLength")),this.S("shadowHorizontalLength"));this.K("shadowVerticalLength")&&(this.jWa(this.B("shadowVerticalLength")),this.S("shadowVerticalLength"));this.K("shadowBlurRadius")&&(this.eWa(this.B("shadowBlurRadius")),this.S("shadowBlurRadius"));
616this.K("shadowSpread")&&(this.iWa(this.B("shadowSpread")),this.S("shadowSpread"));this.K("shadowColor")&&(this.fWa(this.B("shadowColor")),this.S("shadowColor"));this.K("tabIndex")&&(this.mWa(this.B("tabIndex")),this.S("tabIndex"));c=!1;this.K("opacity")&&(this.tj(this.B("opacity")),this.S("opacity"),c=!0);if(this.K("shadowOpacity")||c)this.hWa(this.B("shadowOpacity","opacity")),this.S("shadowOpacity");this.K("backgroundOpacity")&&(this.aVa(this.B("backgroundOpacity")),this.S("backgroundOpacity"));
617this.K("backgroundColor")&&(this.XUa(this.B("backgroundColor")),this.S("backgroundColor"));this.K("backgroundColorRatios")&&(this.ZUa(this.B("backgroundColorRatios")),this.S("backgroundColorRatios"));this.K("backgroundColorDirection")&&(this.YUa(this.B("backgroundColorDirection")),this.S("backgroundColorDirection"));this.K("backgroundImageUrl")&&(this.$Ua(this.B("backgroundImageUrl")),this.S("backgroundImageUrl"));this.K("ariaRole")&&(this.WUa(this.B("ariaRole")),this.S("ariaRole"));this.VUa(this.Pu());
618h.prototype.Za.call(this)};f.mp=function(c){if(e(c).isString()&&(c=c.match(/^\s*([+-]?\d+\.?\d*)\s*%\s*$/))&&2<=c.length)return parseFloat(c[1])};return f});define("jU",["require","en","lE","cC"],function(a){var e=a("en"),l=a("lE"),m=a("cC");return l.extend(m,function(k,b,h,f,c,d,g,p){e.isNumber(b)||(b=1);e.isNumber(h)||(h=0);m.call(this,k);this.scale=b;this.rotation=h;this.x=f;this.y=c;this.pageX=d;this.pageY=g;this.touches=p||[]})});
619define("pk",["require","exports","cC"],function(a,e,l){return function(m){function k(b,h,f,c,d,g,p,q){b=m.call(this,b)||this;b.x=h;b.y=f;b.pageX=c;b.pageY=d;b.delta=g;b.i0=p;b.originalEvent=q;b.movementX=q?q.movementX:0;b.movementY=q?q.movementY:0;return b}Z(k,m);return k}(l)});
620define("e","require jquery.mod en lE pg gW mm R jU pk gM v mC".split(" "),function(a){var e=a("jquery.mod"),l=a("en"),m=a("lE"),k=a("pg"),b=a("gW"),h=a("mm"),f=a("R"),c=a("jU"),d=a("pk");a("gM");var g=a("v");a=a("mC");var p=m.extend(f,function(){f.call(this);this.Ge("UIComponent");this.wV=[];this.$qa=0;this.O$=void 0;this.FNa=500;this.Gc=1;this.so=g.d3();this.mN=this.Dv=this.wW=!1;this.set("propagateClick",!0)});p.Ac={autoRolledOver:!1,autoPressed:!1,contentOpaque:!0,cursor:void 0,inheritedCursor:void 0,
621inheritedInteractionEnabled:!0,interactionEnabled:!0,rollOverOpacity:[b.X,"opacity"],rollOverShadow:[b.X,"shadow"],toolTipFollowMouse:!1};l.defaults(p.Ac,f.Ac);p.prototype.tb=function(){this.lo(p.Ac)};p.prototype.oma=function(){this.Eva(!0)};p.prototype.nma=function(){this.Eva(!1)};p.prototype.lma=function(){this.QI(!0)};p.prototype.mma=function(){this.QI(!1)};p.prototype.AP=function(n){this.Dv!=n&&(this.Dv=n,this.rg())};p.prototype.QI=function(n){this.mN!=n&&(this.mN=n,this.rg())};p.prototype.Eva=
622function(n){this.wW!=n&&(this.wW=n,this.rg())};p.prototype.rg=function(){this.Dv?this.RI(b.ea):this.mN&&this.wW?this.RI(b.cc):this.mN?this.RI(b.ub):this.wW?this.RI(b.X):this.RI(b.xe)};p.prototype.trigger=function(){f.prototype.trigger.apply(this,arguments)};p.prototype.Mwa=function(n,r){this.trigger(new d(k.jb,n.x,n.y,n.pageX,n.pageY,void 0,void 0,r&&r.originalEvent))};p.prototype.Nwa=function(n,r){this.trigger(new d(k.bc,n.x,n.y,n.pageX,n.pageY,void 0,void 0,r&&r.originalEvent))};p.prototype.Owa=
623function(n,r){this.trigger(new d(k.Eb,n.x,n.y,n.pageX,n.pageY,void 0,void 0,r&&r.originalEvent))};p.prototype.SXa=function(n,r,u){this.trigger(new d(k.Yr,n.x,n.y,n.pageX,n.pageY,r.delta,r.i0,u&&u.originalEvent))};p.prototype.Jwa=function(n){this.trigger(new d(k.qa,n.x,n.y,n.pageX,n.pageY))};p.prototype.Kwa=function(n){this.trigger(new d(k.sl,n.x,n.y,n.pageX,n.pageY))};p.prototype.VXa=function(){this.trigger(new d(k.cd))};p.prototype.UXa=function(){this.trigger(new d(k.Vb))};p.prototype.QXa=function(){this.trigger(new d(k.IB))};
624p.prototype.RXa=function(){this.trigger(new d(k.Fp))};p.prototype.PXa=function(n,r,u){this.trigger(new c(k.Ux,n,r,u.x,u.y,u.pageX,u.pageY,u.touches))};p.prototype.LXa=function(n,r,u){this.trigger(new c(k.z4,n,r,u.x,u.y,u.pageX,u.pageY,u.touches))};p.prototype.MXa=function(n,r,u){this.trigger(new c(k.$F,n,r,u.x,u.y,u.pageX,u.pageY,u.touches))};p.prototype.NXa=function(n){this.trigger(new c(k.XHa,void 0,n))};p.prototype.OXa=function(n){this.trigger(new c(k.aG,n))};p.prototype.Zca=function(n){n.stopImmediatePropagation();
625this.iH(["touchend"]);this.mqa(n)?this.pba(n):this.kua(n,!0)};p.prototype.kua=function(n,r){var u=this.QC(n);r&&this.DXa(u);this.Mwa(u,n);this.pa&&this.pa.kua(n,r&&this.get("propagateClick"))};p.prototype.Yca=function(n){n.preventDefault();n.stopImmediatePropagation();this.mqa(n)?this.nba(n):this.jua(n)};p.prototype.jua=function(n){var r=this.QC(n);this.CXa(r);this.Nwa(r,n);this.pa&&this.pa.jua(n)};p.prototype.y8=function(n,r){var u=n.pageX-r.pageX;n=n.pageY-r.pageY;return Math.sqrt(u*u+n*n)};p.prototype.bA=
626function(n,r){this.AM(["touchend"]);!1!==r&&n.preventDefault();n.stopImmediatePropagation();this.zI?this.oba(n):(r=this.QC(n),this.iua(n,this.lqa(r)),this.aqa(r));this.zI=null;this.UL()};p.prototype.iua=function(n,r){var u=this.QC(n);this.Owa(u,n);this.BXa(r);this.pa&&this.pa.iua(n,r)};p.prototype.DXa=function(n){this.bind(k.Vb,this.Cwa,this,!0);this.jE=n};p.prototype.CXa=function(n){if(this.jE){n=this.y8(this.jE,n);if(g.nb()){var r=this.wb();r=.01*p.tJa*Math.min(r.Ya(),r.Ab())}else r=p.zJa;n>r&&
627this.ZZ()}};p.prototype.BXa=function(n){this.jE&&(this.Jwa(this.jE),n&&this.Kwa(this.jE),this.ZZ())};p.prototype.ZZ=function(){this.jE&&(this.unbind(k.Vb,this.Cwa,this),this.jE=void 0)};p.prototype.Cwa=function(){this.ZZ()};p.prototype.s8=function(n){this.iH(["gesturechange","gestureend"]);n.preventDefault();n.stopImmediatePropagation();this.pba(n)};p.prototype.pba=function(n){var r=this.F8(n);this.zI=r;this.PXa(r.scale,r.rotation,r.coordinates);this.pa&&this.pa.pba(n)};p.prototype.Doa=function(n){n.preventDefault();
628n.stopImmediatePropagation();this.nba(n)};p.prototype.nba=function(n){var r=this.F8(n,this.zI),u=r.rotation-this.zI.rotation,t=r.scale/this.zI.scale;this.zI=r;this.Gc*=t;
628for(this.Pk+=u;180<this.Pk;)this.Pk-=360;for(;-180>this.Pk;)this.Pk+=360;this.LXa(this.Gc,this.Pk,r.coordinates);0!=u&&this.NXa(this.Pk);1!=t&&this.OXa(this.Gc);this.ZZ();this.pa&&this.pa.nba(n)};p.prototype.Foa=function(n){this.AM(["gesturechange","gestureend"]);n.preventDefault();n.stopImmediatePropagation();this.oba(n)};p.prototype.oba=
629function(n){var r=this.F8(n);this.MXa(this.Gc,this.Pk,r.coordinates);this.pa&&this.pa.oba(n)};p.prototype.J$=function(n){this.iH(["mouseup"]);n.stopImmediatePropagation();this.eua(n,!0);q&&this.IRa(n.ctrlKey)};p.prototype.eua=function(n,r){var u=this.Wy(n);r&&this.$La(u);this.Mwa(u,n);this.pa&&this.pa.eua(n,r&&this.get("propagateClick"))};p.prototype.N$=function(n){n.preventDefault();n.stopImmediatePropagation();this.wb().yF(this);this.fua(n)};p.prototype.fua=function(n){var r=this.Wy(n);this.ZLa(r);
630this.Nwa(r,n);this.pa&&this.pa.fua(n)};p.prototype.gX=function(n){this.AM(["mouseup"]);n.preventDefault();n.stopImmediatePropagation();var r=this.Wy(n);this.gua(n,this.lqa(r));this.aqa(r)};p.prototype.gua=function(n,r){var u=this.Wy(n);this.Owa(u);this.YLa(r);this.pa&&this.pa.gua(n,r)};p.prototype.$La=function(n){this.bind(k.Vb,this.ana,this,!0);this.sC=n};p.prototype.ZLa=function(n){this.sC&&this.y8(this.sC,n)>p.mJa&&this.C6()};p.prototype.YLa=function(n){this.sC&&(this.Jwa(this.sC),n&&this.Kwa(this.sC),
631this.C6())};p.prototype.C6=function(){this.sC&&(this.unbind(k.Vb,this.ana,this),this.sC=void 0)};p.prototype.ana=function(){this.C6()};p.prototype.bra=function(n){this.gb.ara&&(n.preventDefault(),n.stopImmediatePropagation(),this.hua(n))};p.prototype.Hma=function(){return!1};p.prototype.hua=function(n){var r=this.Wy(n),u=this.APa(n);this.pa&&!this.Hma(u.delta)&&this.pa.hua(n);this.SXa(r,u,n)};p.prototype.Wy=function(n){return this.PV(n.pageX,n.pageY)};p.prototype.APa=function(n){n=window.event||n.originalEvent||
632n;var r={};r.delta=Math.max(-1,Math.min(1,n.wheelDelta||-n.detail));r.i0=n.wheelDelta?.01*n.wheelDelta:r.delta;return r};p.prototype.QC=function(n){var r=this.D8(n);if(void 0===r){var u=void 0!==n.pageX?this.PV(n.pageX,n.pageY):this.PV(n.originalEvent.pageX,n.originalEvent.pageY);u.touches=[u]}else 0==r.length?u=this.STa:(u={x:0,y:0,pageX:0,pageY:0,JA:0,KA:0,touches:[]},Array.from(r).forEach(function(t){t||(t=r[0]);t=this.PV(t.pageX,t.pageY);u.x+=t.x;u.y+=t.y;u.pageX+=t.pageX;u.pageY+=t.pageY;u.JA+=
633t.JA;u.KA+=t.KA;u.touches.push(t)}.bind(this)),u.x/=r.length,u.y/=r.length,u.pageX/=r.length,u.pageY/=r.length,u.JA/=r.length,u.KA/=r.length);return this.STa=u};p.prototype.mqa=function(n){if((n=this.D8(n))&&1<n.length)for(var r=0,u=0;u<n.length;u++)if(this.dRa(n[u].target)&&(r++,1<r))return!0;return!1};p.prototype.dRa=function(n){for(;n;){if(n==this.ec)return!0;n=n.parentNode}return!1};p.prototype.D8=function(n){return n.originalEvent.touches||n.originalEvent.targetTouches||n.originalEvent.changedTouches};
634p.prototype.PV=function(n,r){var u=this.$c().offset(),t=this.gb?this.gb.Dz:1,v={};v.x=(n-u.left)/t;v.y=(r-u.top)/t;v.pageX=n/t;v.pageY=r/t;v.JA=n;v.KA=r;return v};p.prototype.F8=function(n,r){var u=this.QC(n);return void 0!==n.originalEvent.scale||void 0!==n.originalEvent.rotation?{coordinates:u,scale:n.originalEvent.scale,rotation:n.originalEvent.rotation}:r?(n=this.epa(n),{coordinates:u,scale:r.scale*n/r.touchesDistance,rotation:0,touchesDistance:n}):{coordinates:u,scale:1,rotation:0,touchesDistance:this.epa(n)}};
635p.prototype.epa=function(n){var r=this.D8(n);return r&&1<r.length?(n=Math.abs(r[0].pageX-r[1].pageX),r=Math.abs(r[0].pageY-r[1].pageY),Math.sqrt(n*n+r*r)):0};p.prototype.iH=function(n){this.wV=l(this.wV).union(n);n=this.dpa(n);for(var r=0;r<n.length;r++){var u=n[r];u.target.bind(u.name,u.handler)}};p.prototype.aqa=function(n){this.$qa=(new Date).getTime();this.O$=n};p.prototype.lqa=function(n){if((new Date).getTime()-this.$qa>this.FNa||!this.O$)return!1;n=this.y8(this.O$,n);if(g.nb()){var r=this.wb();
636r=.01*p.sJa*Math.min(r.Ya(),r.Ab())}else r=p.nJa;return n>r?!1:!0};p.prototype.AM=function(n){this.wV=l(this.wV).difference(n);n=this.dpa(n);for(var r=0;r<n.length;r++){var u=n[r];u.target.unbind(u.name,u.handler)}};p.prototype.dpa=function(n){this.qoa||(this.qoa=this.C8());for(var r=[],u=0;u<n.length;u++)r=r.concat(this.qoa[n[u]]);return r};p.prototype.C8=function(){var n=this.$c(),r=e(document),u=e(window);return{touchstart:[{target:n,name:"touchstart",handler:this.yh(this.Zca)}],touchmove:[{target:n,
637name:"touchmove",handler:this.yh(this.Yca)}],touchend:[{target:n,name:"touchend",handler:this.yh(this.bA,!0)},{target:r,name:"touchend",handler:this.yh(this.bA,!0)},{target:n,name:"touchcancel",handler:this.yh(this.bA,!0)},{target:r,name:"touchcancel",handler:this.yh(this.bA,!0)}],gesturestart:[{target:n,name:"gesturestart",handler:this.yh(this.s8)}],gesturechange:[{target:n,name:"gesturechange",handler:this.yh(this.Doa)}],gestureend:[{target:n,name:"gestureend",handler:this.yh(this.Foa)}],mousedown:[{target:n,
638name:"mousedown",handler:this.yh(this.J$)}],mousemove:[{target:n,name:"mousemove",handler:this.yh(this.N$)}],mouseup:[{target:n,name:"mouseup",handler:this.yh(this.gX,!0)},{target:u,name:"mouseup",handler:this.yh(this.gX,!0)}],mousewheel:[{target:n,name:"mousewheel",handler:this.yh(this.bra)},{target:n,name:"DOMMouseScroll",handler:this.yh(this.bra)}]}};p.prototype.yh=function(n,r){var u=this;return function(){r&&h.m3();p.t_+=1;var t=n.apply(u,arguments);--p.t_;return t}};p.prototype.Za=function(){this.K("autoRolledOver")&&
639(this.unbind(k.cd,this.oma,this),this.unbind(k.Vb,this.nma,this),this.B("autoRolledOver")&&(this.bind(k.cd,this.oma,this),this.bind(k.Vb,this.nma,this)),this.S("autoRolledOver"));this.K("autoPressed")&&(this.unbind(k.jb,this.lma),this.unbind(k.Eb,this.mma),this.B("autoPressed")&&(this.bind(k.jb,this.lma),this.bind(k.Eb,this.mma)),this.S("autoPressed"));var n=!1;this.K("contentOpaque")&&(n=!0,this.S("contentOpaque"));this.K("inheritedInteractionEnabled")&&(n=!0,this.S("inheritedInteractionEnabled"));
640this.K("interactionEnabled")&&(n=!0,this.S("interactionEnabled"));if(this.K("backgroundOpacity")||this.K("backgroundColor"))n=!0;f.prototype.Za.call(this);if(n){var r=this.Uc();r=0<r.al()&&0<r.tC.length;var u=this.B("contentOpaque"),t=this.B("inheritedInteractionEnabled"),v=this.B("interactionEnabled");this.ZD(t&&v&&(u||r))}if(n||this.K("cursor")||this.K("inheritedCursor"))this.S("cursor"),this.S("inheritedCursor"),this.iU?this.Vz
640(this.B("cursor")):this.Vz(this.B("inheritedCursor"))};p.prototype.ZD=
641function(n){this.iU!=n&&((this.iU=n)?this.iH(p.Kla):this.AM(p.Kla),this.UL())};p.prototype.UL=function(){this.ee().style["pointer-events"]=this.zpa()};p.prototype.zpa=function(){return this.iU?"auto":"none"};p.prototype.IRa=function(n){if(n){n=[];for(var r=this;r;)n.push(r),r=r.getParent();console.log(n.map(function(u){return u.Tu}))}else console.log(this.Tu)};p.f1=function(){return 0<p.t_};p.Kla=function(){var n=[];n=n.concat(["touchstart","touchmove"]);g.Jd()!=g.ni&&(n=n.concat(["mousedown","mousemove",
642"mousewheel"]));return n}();p.t_=0;p.z9a=1E3;p.zJa=10;p.tJa=5;p.mJa=10;p.sJa=10;p.nJa=10;var q=a.eg("debug");return p});define("d",["require"],function(){return{tT:"absolute",zg:"horizontal",Wx:"grid",Kh:"vertical"}});define("cD",["require"],function(){return function(a){this.Hd=a;this.height=this.width=this.y=this.x=0}});define("dM",["require"],function(){return function(){this.minHeight=this.minWidth=this.height=this.width=0}});
643define("ch",["require","nl","cD","dM"],function(a){function e(){this.Qc=null;this.mm=l.zc;this.Hl=l.Wa;this.uE=this.yv=0}var l=a("nl"),m=a("cD"),k=a("dM");e.prototype.cFa=function(b){this.yv!=b&&(this.yv=b,this.cf())};e.prototype.I2=function(b){this.uE!=b&&(this.uE=b,this.cf())};e.prototype.yFa=function(b){this.Qc=b;this.cf()};e.prototype.PK=function(b){this.Hl!=b&&(this.Hl=b,this.cf())};e.prototype.XK=function(b){this.mm!=b&&(this.mm=b,this.cf())};e.prototype.measure=function(){return new k};e.prototype.update=
644function(){var b=this.zMa();this.gJ(b);this.xVa(b)};e.prototype.gJ=function(b){this.pQ(b);this.oQ(b)};e.prototype.SV=function(){for(var b=this.Ipa(),h=[],f=0;f<b.length;f++){var c=b[f];c.get("includeInLayout")&&h.push(c)}return h};e.prototype.Ipa=function(){for(var b=this.Qc.mb(),h=[],f=0;f<b.length;f++){var c=b[f];c.get("visible")&&h.push(c)}return h};e.prototype.zMa=function(){for(var b=this.Ipa(),h=[],f=0;f<b.length;f++)h.push(new m(b[f]));return h};e.prototype.xVa=function(b){for(var h=0;h<b.length;h++){var f=
645b[h];f.Hd.OEa(f.x,f.y,f.width,f.height)}};e.prototype.cf=function(){this.Qc&&(this.Qc.Yb(),this.Qc.Rd())};return e});
646define("dF",["require","lE","nl","ch","dM"],function(a){var e=a("lE");a("nl");var l=a("ch"),m=a("dM");a=e.extend(l,function(){l.call(this)});a.prototype.measure=function(){for(var k=new m,b=this.SV(),h=0;h<b.length;h++){var f=b[h],c=f.Hv,d=f.mP,g=0;isNaN(c)||(g+=c);isNaN(d)||(g+=d);k.width=Math.max(g+f.Nt(),k.width);k.minWidth=Math.max(g+f.Kt(),k.minWidth);c=f.Uq;d=f.aM;g=0;isNaN(c)||(g+=c);isNaN(d)||(g+=d);k.height=Math.max(g+f.Mt(),k.height);k.minHeight=Math.max(g+f.Uw(),k.minHeight)}b=this.Qc.qm()+
647this.Qc.Ht();k.width+=b;k.minWidth+=b;b=this.Qc.It()+this.Qc.aK();k.height+=b;k.minHeight+=b;return k};a.prototype.gJ=function(k){this.pQ(k);this.oQ(k)};a.prototype.gJ=function(k){for(var b=this.Qc.uf(),h=this.Qc.tf(),f=0;f<k.length;f++){var c=k[f],d=c.Hd,g=d.Hv;if(isNaN(g)){var p=d.qY;isNaN(p)||(g=Math.round(p*b*.01))}p=d.mP;if(isNaN(p)){var q=d.rY;isNaN(q)||(p=Math.round(q*b*.01))}q=d.Ay;var n=d.$m;if(isNaN(n)){var r=d.yn;isNaN(r)?isNaN(g)||isNaN(p)||(n=b-g-p):n=Math.round(r*b*.01)}r=d.Uq;if(isNaN(r)){var u=
648d.sY;isNaN(u)||(r=Math.round(u*h*.01))}u=d.aM;if(isNaN(u)){var t=d.pY;isNaN(t)||(u=Math.round(t*h*.01))}t=d.By;var v=d.GC;if(isNaN(v)){var w=d.xn;isNaN(w)?isNaN(r)||isNaN(u)||(v=h-r-u):v=Math.round(w*h*.01)}c.width=isNaN(n)?d.Nt():Math.max(d.Kt(),Math.min(d.P0(),n));c.height=isNaN(v)?d.Mt():Math.max(d.Uw(),Math.min(d.O0(),v));c.x=isNaN(g)||isNaN(p)?isNaN(g)?isNaN(p)?isNaN(q)?0:.5*b+q-.5*c.width:b-p-c.width:g:Math.round(g+.5*(b-p-g-c.width));c.y=isNaN(r)||isNaN(u)?isNaN(r)?isNaN(u)?isNaN(t)?0:.5*h+
649t-.5*c.height:h-u-c.height:r:Math.round(r+.5*(h-u-r-c.height))}};return a});
650define("kC",["require","lE","nl","ch","dM"],function(a){var e=a("lE"),l=a("nl"),m=a("ch"),k=a("dM");a=e.extend(m,function(){m.call(this);this.Nua=this.dna=this.pN=this.qN=this.rN=this.fD=this.Ev=this.Fv=this.tN=this.gz=this.$m=void 0});a.prototype.H5a=function(b){this.$m!=b&&(this.$m=b,this.cf())};a.prototype.X5a=function(b){this.Fv!=b&&(this.Fv=b,void 0!=this.Fv&&(this.gz=void 0),this.cf())};a.prototype.W5a=function(b){this.Ev!=b&&(this.Ev=b,void 0!=this.Ev&&(this.tN=void 0),this.cf())};a.prototype.e6a=
651function(b){this.gz!=b&&(this.gz=b,void 0!=this.Fv&&(this.Fv=void 0),this.cf())};a.prototype.d6a=function(b){this.tN!=b&&(this.tN=b,void 0!=this.Ev&&(this.Ev=void 0),this.cf())};a.prototype.b6a=function(b){this.fD!=b&&(this.fD=b,this.cf())};a.prototype.a6a=function(b){this.rN!=b&&(this.rN=b,this.cf())};a.prototype.$5a=function(b){this.qN!=b&&(this.qN=b,this.cf())};a.prototype.Z5a=function(b){this.pN!=b&&(this.pN=b,this.cf())};a.prototype.measure=function(){for(var b=new k,h=this.SV(),f=0,c=0;c<h.length;c++)h[c].get("includeInLayout")&&
652f++;if(!isNaN(this.gz))for(isNaN(this.fD)||(b.minWidth=this.fD),c=0;c<h.length;c++){var d=h[c].Kt();isNaN(d)||(b.minWidth=Math.max(d,b.minWidth))}if(isNaN(this.Fv))for(c=0;c<h.length;c++)d=h[c].Nt(),isNaN(d)||(b.width=Math.max(d,b.width));else b.width=this.Fv;if(isNaN(this.Ev))for(c=0;c<h.length;c++)d=h[c].Mt(),isNaN(d)||(b.height=Math.max(d,b.height));else b.height=this.Ev;isNaN(this.gz)?isNaN(this.$m)?h=Math.ceil(Math.sqrt(f)):(h=this.$m-this.Qc.qm()-this.Qc.Ht(
652),h=Math.max(1,Math.floor((h+this.yv)/
653(b.width+this.yv)))):h=Math.max(1,Math.floor(100/this.gz));f=Math.ceil(f/h);b.width=b.width*h+Math.max(0,h-1)*this.yv+this.Qc.qm()+this.Qc.Ht();b.minWidth=b.minWidth+this.Qc.qm()+this.Qc.Ht();b.height=b.height*f+Math.max(0,f-1)*this.uE+this.Qc.It()+this.Qc.aK();b.minHeight=0;return b};a.prototype.gJ=function(b){for(var h,f,c=[],d=[],g=0;g<b.length;g++)f=b[g].Hd,f.get("includeInLayout")?c.push(b[g]):d.push(b[g]);var p=c.length,q=this.Qc.uf(),n=this.yv;if(isNaN(this.Fv))if(isNaN(this.gz)){for(g=b=0;g<
654c.length;g++)f=c[g].Hd,b=Math.max(f.Kt(),f.Nt(),b);b=Math.min(q,b)}else b=Math.max(1,Math.floor(100/this.gz)),b=(q-(b-1)*n)/b,g=!1,!isNaN(this.qN)&&this.qN<b&&(b=this.qN,g=!0),!isNaN(this.fD)&&this.fD>b&&(b=this.fD,g=!0),g&&(b=Math.max(1,Math.floor((q+n)/(b+n))),b=(q-(b-1)*n)/b);else b=this.Fv;b=Math.max(1,b);var r=Math.max(1,Math.floor(.001+(q+n)/(b+n)));g=r*b;var u=r*(b+n)-n,t=0;if(q>=u)switch(this.Hl){case l.ob:t=q-u;break;case l.Qe:t=Math.round(.5*(q-u));break;default:t=0}q=[];u=[];for(var v=
6550;v<r;v++)f=Math.round(g/(r-v)),g-=f,u.push(t),t+=f+n,q.push(f);t=this.Qc.tf();v=this.uE;if(isNaN(this.Ev))if(isNaN(this.tN))for(n=1,g=0;g<c.length;g++)f=c[g].Hd,n=Math.max(f.Uw(),f.Mt(),n);else n=Math.max(1,100/this.tN),n=(t-(n-1)*v)/n,g=!1,!isNaN(this.pN)&&this.pN<n&&(n=this.pN,g=!0),!isNaN(this.rN)&&this.rN>n&&(n=this.rN,g=!0),g&&(n=Math.max(1,Math.floor((t+v)/(n+v))),n=(t-(n-1)*v)/n);else n=this.Ev;p=Math.max(1,Math.ceil(p/r));g=p*n;f=p*(n+v)-v;h=0;if(t>=f)switch(this.mm){case l.sc:h=t-f;break;
656case l.le:h=Math.round(.5*(t-f))}t=[];f=[];for(var w=0;w<p;w++){var x=Math.round(g/(p-w));g-=x;f.push(h);h+=x+v;t.push(x)}for(g=0;g<c.length;g++)h=c[g],v=g%r,w=Math.floor(g/r),h.x=u[v],h.width=q[v],h.y=f[w],h.height=t[w];for(g=0;g<d.length;g++)h=d[g],h.x=0,h.width=Math.round(b),h.y=0,h.height=Math.round(n);this.dna=r;this.Nua=p};return a});
657define("lC",["require","lE","nl","ch","dM"],function(a){var e=a("lE"),l=a("nl"),m=a("ch"),k=a("dM");a=e.extend(m,function(){m.call(this)});a.prototype.measure=function(){for(var b=new k,h=this.SV(),f=0;f<h.length;f++){var c=h[f];b.height=Math.max(c.Mt(),b.height);b.minHeight=Math.max(c.Uw(),b.minHeight);b.width+=c.Nt();b.minWidth+=c.Kt()}h=Math.max(0,h.length-1)*this.yv+this.Qc.qm()+this.Qc.Ht();b.width+=h;b.minWidth+=h;h=this.Qc.It()+this.Qc.aK();b.height+=h;b.minHeight+=h;return b};a.prototype.gJ=
658function(b){this.pQ(b);this.oQ(b)};a.prototype.pQ=function(b){for(var h=0,f=0;f<b.length;f++)b[f].Hd.get("includeInLayout")&&h++;f=Math.max(0,h-1)*this.yv;var c=this.Qc.uf()-f,d=this.Qc.tf();h=c;var g=0,p=[];for(f=0;f<b.length;f++){var q=b[f],n=q.Hd,r=n.xn;q.height=isNaN(r)?n.Mt():Math.max(n.Uw(),Math.min(n.O0(),Math.round(d*r*.01)));r=n.yn;isNaN(r)?(q.width=n.Nt(),h-=q.width):n.get("includeInLayout")?(g+=r,p.push(q)):q.width=Math.max(n.Kt(),Math.min(n.P0(),Math.round(c*r*.01)))}h-=Math.max(0,h-c*
659g*.01);do{b=!1;c=Math.max(0,0<g?h/g:0);d=[];for(f=g=0;f<p.length;f++){q=p[f];n=q.Hd;r=Math.round(n.yn*c);var u=n.Kt(),t=n.P0();r<u?(q.width=u,h-=q.width,b=!0):r>t?(q.width=t,h-=q.width,b=!0):(g+=n.yn,d.push(q))}p=d}while(b);for(f=0;f<p.length;f++)q=p[f],n=q.Hd,c=Math.max(0,0<g?h/g:0),q.width=Math.round(n.yn*c),h-=q.width,g-=n.yn};a.prototype.oQ=function(b){for(var h=this.yv,f=this.Qc.uf(),c=this.Qc.tf(),d=0,g=0,p=0;p<b.length;p++){var q=b[p];q.Hd.get("includeInLayout")&&(d+=b[p].width,g++)}d+=h*(g-
6601);if(f>=d)switch(this.Hl){case l.ob:f-=d;break;case l.Qe:f=Math.round(.5*(f-d));break;default:f=0}else f=0;for(p=0;p<b.length;p++)if(q=b[p],q.Hd.get("includeInLayout")){if(c>=q.height)switch(this.mm){case l.sc:q.y=c-q.height;break;case l.le:q.y=Math.round(.5*(c-q.height));break;default:q.y=0}else q.y=0;q.x=f;f+=q.width+h}else q.x=0,q.y=0};return a});
661define("di",["require","lE","nl","ch","dM"],function(a){var e=a("lE"),l=a("nl"),m=a("ch"),k=a("dM");a=e.extend(m,function(){m.call(this)});a.prototype.measure=function(){for(var b=new k,h=this.SV(),f=0;f<h.length;f++){var c=h[f];b.width=Math.max(c.Nt(),b.width);b.minWidth=Math.max(c.Kt(),b.minWidth);b.height+=c.Mt();b.minHeight+=c.Uw()}h=Math.max(0,h.length-1)*this.uE+this.Qc.It()+this.Qc.aK();b.height+=h;b.minHeight+=h;
661h=this.Qc.qm()+this.Qc.Ht();b.width+=h;b.minWidth+=h;return b};a.prototype.gJ=
662function(b){this.pQ(b);this.oQ(b)};a.prototype.pQ=function(b){for(var h=0,f=0;f<b.length;f++)b[f].Hd.get("includeInLayout")&&h++;f=Math.max(0,h-1)*this.uE;var c=this.Qc.uf(),d=this.Qc.tf()-f;h=d;var g=0,p=[];for(f=0;f<b.length;f++){var q=b[f],n=q.Hd,r=n.yn;q.width=isNaN(r)?n.Nt():Math.max(n.Kt(),Math.min(n.P0(),Math.round(c*r*.01)));r=n.xn;isNaN(r)?(q.height=n.Mt(),h-=q.height):n.get("includeInLayout")?(g+=r,p.push(q)):q.height=Math.max(n.Uw(),Math.min(n.O0(),Math.round(d*r*.01)))}h-=Math.max(0,h-
663d*g*.01);do{b=!1;c=Math.max(0,0<g?h/g:0);d=[];for(f=g=0;f<p.length;f++){q=p[f];n=q.Hd;r=Math.round(n.xn*c);var u=n.Uw(),t=n.O0();r<u?(q.height=u,h-=q.height,b=!0):r>t?(q.height=t,h-=q.height,b=!0):(g+=n.xn,d.push(q))}p=d}while(b);for(f=0;f<p.length;f++)q=p[f],n=q.Hd,c=Math.max(0,0<g?h/g:0),q.height=Math.round(n.xn*c),h-=q.height,g-=n.xn};a.prototype.oQ=function(b){for(var h=this.uE,f=this.Qc.uf(),c=this.Qc.tf(),d=0,g=0,p=0;p<b.length;p++){var q=b[p];q.Hd.get("includeInLayout")&&(d+=q.height,q.width>
664f&&(f=q.width),g++)}d+=h*(g-1);if(c>=d)switch(this.mm){case l.sc:c-=d;break;case l.le:c=Math.round(.5*(c-d));break;default:c=0}else c=0;for(p=0;p<b.length;p++)if(q=b[p],q.Hd.get("includeInLayout")){switch(this.Hl){case l.ob:q.x=f-q.width;break;case l.Qe:q.x=Math.round(.5*(f-q.width));break;default:q.x=0}q.y=c;c+=q.height+h}else q.x=0,q.y=0};return a});
665define("m","require lE en e R nl cT d dF kC lC di".split(" "),function(a){var e=a("lE"),l=a("en"),m=a("e"),k=a("R"),b=a("nl"),h=a("cT"),f=a("d"),c=a("dF"),d=a("kC"),g=a("lC"),p=a("di"),q=e.extend(m,function(){m.call(this);this.Ge("BaseContainer");this.Kl=null;this.Ud=[];this.Yp=[];this.wM=h.rja;this.set("contentOpaque",!1)});q.Ac={children:[[]],childrenInteractionEnabled:!0,gap:0,horizontalAlign:b.Wa,itemHeight:void 0,itemMaxHeight:void 0,itemMaxWidth:void 0,itemMinHeight:void 0,itemMinWidth:void 0,
666itemWidth:void 0,layout:f.tT,verticalAlign:b.zc};l.defaults(q.Ac,m.Ac);q.prototype.tb=function(){this.lo(q.Ac)};q.prototype.set=function(n,r){"children"==n?this.ah(r):"creationPolicy"==n?this.y5a(r):m.prototype.set.call(this,n,r)};q.prototype.get=function(n,r){return"children"==n?this.mb():"creationPolicy"==n?this.wM:m.prototype.get.call(this,n,r)};q.prototype.y5a=function(n){this.wM!=n&&(this.wM=n,this.qda())};q.prototype.ah=function(n){var r=this.mb();n=n||[];for(var u=l(r).difference(n),t=0;t<
667u.length;t++)this.removeChild(u[t]);r=l(n).difference(r);for(t=0;t<r.length;t++)this.Ua(r[t]);for(t=0;t<n.length;t++)this.Pn(n[t],t)};q.prototype.mb=function(){return this.Ud};q.prototype.Ua=function(n){n.getParent()&&n.getParent().removeChild(n);this.Ud.push(n);n.pa=this;this.dma(n);n.eca(this.kq);this.Yp.push(n);this.qda();n.Pp()};q.prototype.removeChild=function(n){n.getParent()==this&&(n.An(),n.pa=null,l(this.Yp).contains(n)?this.Yp=l.without(this.Yp,n):(n.$c().detach(),n.bt(null),this.Yb(),this.Rd()),
668this.Ud=l.without(this.Ud,n),n.Iba())};q.prototype.dEa=function(){l(this.mb()).forEach(function(n){this.removeChild(n)})};q.prototype.Dfa=function(n){return l(this.Ud).indexOf(n)};q.prototype.Pn=function(n,r){var u=this.Dfa(n);if(0>u)throw"Can't set index. This is not a child of this container";var t=this.Ud.slice();t.splice(u,1);t.splice(r,0,n);if(!l.isEqual(this.Ud,t)&&(this.Ud=t,!l(this.Yp).contains(n))){r=this.Dfa(n);n.$c().detach();t=u=null;for(var v=r-1;0<=v&&!u;v--)l(this.Yp).contains(this.Ud[v])||
669(u=this.Ud[v]);for(v=r+1;v<this.Ud.length&&!t&&!u;v++)l(this.Yp).contains(this.Ud[v])||(t=this.Ud[v]);u?n.$c().insertAfter(u.$c()):t?n.$c().insertBefore(t.$c()):this.Ob().Eea(n.ee());this.Rd()}};q.prototype.ZD=function(n){m.prototype.ZD.call(this,n);this.dxa()};q.prototype.dxa=function(){l(this.Ud).forEach(function(n){this.dma(n)},this)};q.prototype.dma=function(n){n.set("inheritedInteractionEnabled",this.B("interactionEnabled")&&this.B("inheritedInteractionEnabled")&&this.B("childrenInteractionEnabled"))};
670q.prototype.UL=function(){m.prototype.UL.call(this);this.Ud.forEach(function(n){n.UL()})};q.prototype.$D=function(n){m.prototype.$D.call(this,n);
670l(this.Ud).forEach(function(r){r.eca(this.kq)},this)};q.prototype.V5=function(n){m.prototype.V5.call(this,n);l(this.mb()).forEach(function(r){r.iJ()});this.qda()};q.prototype.bt=function(n){m.prototype.bt.call(this,n);l(this.mb()).forEach(function(r){l(this.Yp).contains(r)||r.bt(n)},this)};q.prototype.qda=function(){(this.wM==h.rja&&this.ez||this.wM==h.GB)&&
6710<this.Yp.length&&(l(this.Yp).forEach(function(n){this.Ob().Eea(n.ee());n.bt(this.wb())},this),this.Yp=[],this.Yb(),this.Rd())};q.prototype.PS=function(n){this.Kl!=n&&(this.Kl&&this.Kl.yFa(null),(this.Kl=n)&&this.Kl.yFa(this))};q.prototype.Za=function(){var n=!1,r=this.B("layout");if(this.K("layout")){switch(r){case f.Wx:this.PS(new d);break;case f.zg:this.PS(new g);break;case f.Kh:this.PS(new p);break;default:this.PS(new c)}this.S("layout");n=!0}var u=this.Kl;if(this.K("horizontalAlign")||n)u.PK(this.B("horizontalAlign")),
672this.S("horizontalAlign");if(this.K("verticalAlign")||n)u.XK(this.B("verticalAlign")),this.S("verticalAlign");if(this.K("gap")||n)r==f.Wx?(u.cFa(this.B("gap")),u.I2(this.B("gap"))):r==f.zg?u.cFa(this.B("gap")):r==f.Kh&&u.I2(this.B("gap")),this.S("gap");if(r==f.Wx){if(this.K("itemWidth")||n){var t=this.B("itemWidth"),v=k.mp(t);void 0!==v?u.e6a(v):u.X5a(t);this.S("itemWidth")}if(this.K("itemHeight")||n)t=this.B("itemHeight"),v=k.mp(t),void 0!==v?u.d6a(v):u.W5a(t),this.S("itemHeight");this.K("itemMinWidth")&&
673(u.b6a(this.B("itemMinWidth")),this.S("itemMinWidth"));this.K("itemMinHeight")&&(u.a6a(this.B("itemMinHeight")),this.S("itemMinHeight"));this.K("itemMaxWidth")&&(u.$5a(this.B("itemMaxWidth")),this.S("itemMaxWidth"));this.K("itemMaxHeight")&&(u.Z5a(this.B("itemMaxHeight")),this.S("itemMaxHeight"))}this.K("childrenInteractionEnabled")&&(this.S("childrenInteractionEnabled"),this.dxa());this.qc(["cursor"],{cursor:"inheritedCursor"},this.Ud,!0,!1);m.prototype.Za.call(this);r==f.Wx&&u.H5a(this.$m)};q.prototype.qc=
674function(n,r,u,t,v){for(var w=0;w<n.length;w++){var x=n[w];if(!t||this.K(x)){for(var y=0;y<u.length;y++)u[y].set(r[x]?r[x]:x,this.B(x));v&&this.S(x)}}};q.prototype.Lv=function(){if(this.Kl){var n=this.Kl.measure();this.Pl=n.width;this.Ol=n.height;this.MN=n.minWidth;this.LN=n.minHeight}else m.prototype.Lv.call(this)};q.prototype.hk=function(){this.Kl&&this.Kl.update(this);m.prototype.hk.call(this)};return q});
675define("pi",["require","jquery.mod","lE","pF","gM"],function(a){function e(b,h){this.gH=b;this.Nc="#000000";this.Rb=.5;this.oa=10;this.BQ=this.aN=5;this.Af=h;this.XU=this.Gaa=this.bb=0;this.Wla=this.Mb=this.vU=!1;this.xa=!0;this.UG=document.createElement("div");this.UG.setAttribute("tdvlayer","scrollbar");this.lM=l(this.UG);k.css(this.UG,{position:"absolute","z-index":m.JIa});this.XL=document.createElement("div");this.d6=l(this.XL);k.css(this.XL,{position:"absolute",left:0,top:0});this.lM.append(this.d6)}
676var l=a("jquery.mod");a("lE");var m=a("pF"),k=a("gM");e.prototype.je=function(){return this.lM.width()};e.prototype.Ye=function(){return this.lM.height()};e.prototype.setPosition=function(b){this.bb!=b&&(this.bb=b,this.Oua(),this.xa=!0)};e.prototype.bl=function(){return this.bb};e.prototype.setSize=function(b,h){this.Gaa=b;this.XU=h;this.Oua();this.xa=!0};e.prototype.yf=function(b){this.Mb!=b&&(this.Mb=b,this.xa=!0)};e.prototype.NEa=function(b){this.vU!=b&&(this.vU=b,this.xa=!0)};e.prototype.setColor=
677function(b){this.Nc!=b&&(this.Nc=b,this.xa=!0)};e.prototype.tj=function(b){this.Rb!=b&&(this.Rb=b,this.xa=!0)};e.prototype.ZS=function(b){this.oa!=b&&(this.oa=b,this.xa=!0)};e.prototype.aFa=function(b){this.aN!=b&&(this.aN=b,this.xa=!0)};e.prototype.EFa=function(b){this.BQ!=b&&(this.BQ=b,this.xa=!0)};e.prototype.eh=function(){this.xa&&(this.Wla!=this.Mb&&(this.Mb?this.Af.append(this.lM):this.lM.detach(),this.Wla=this.Mb),this.ha(),this.xa=!1)};e.prototype.ha=function(){var b=Math.round(100*this.Gaa/
678this.XU),h=Math.round(100*this.bb/this.XU);k.css(this.UG,{filter:"alpha(opacity="+Math.round(100*this.Rb)+")",opacity:this.Rb,display:this.Mb?"block":"none"});k.css(this.XL,{backgroundColor:this.Nc,"border-radius":Math.floor(this.oa/2)+"px"});this.gH==e.zg?(k.css(this.UG,{left:this.aN+"px",right:(this.vU?this.oa:0)+this.aN+"px",height:this.oa+"px",bottom:this.BQ+"px"}),k.css(this.XL,{left:h+"%",width:b+"%",height:this.oa+"px"})):(k.css(this.UG,{top:this.BQ+"px",right:this.aN+"px",width:this.oa+"px",
679bottom:(this.vU?this.oa:0)+this.BQ+"px"}),k.css(this.XL,{top:h+"%",width:this.oa+"px",height:b+"%"}))};e.prototype.Oua=function(){var b=this.XU-this.Gaa;0>this.bb?this.bb=0:this.bb>b&&(this.bb=b)};e.zg="horizontal";e.Kh="vertical";return e});define("kh",["require","lE","pi"],function(a){var e=a("lE"),l=a("pi");return e.extend(l,function(m){l.call(this,l.zg,m)})});define("ey",["require","lE","pi"],function(a){var e=a("lE"),l=a("pi");return e.extend(l,function(m){l.call(this,l.Kh,m)})});
680define("hq","require exports pg cC gv mC".split(" "),function(a,e,l,m,k,b){return new (function(h){function f(){var c=h.call(this)||this;c.visible=!0;c.xb=!1;c.p3=!1;c.visible=!0;c.xb=!1;c.p3=!1;c.cEa=b.getQueryParameter("redirect-when-hidden")||"";c.A4a=b.eg("reload-when-hidden",!1);document.addEventListener("visibilitychange",c.onChange.bind(c),!1);c.onChange();return c}Z(f,h);f.prototype.px=function(c){if(this.xb=c)this.p3=!1;this.onChange()};f.prototype.Aia=function(c){this.p3=c;this.onChange()};
681f.prototype.onChange=function(){var c=this.xb?!this.p3:!document.hidden;this.visible!=c&&((this.visible=c)&&this.a4a(),this.trigger(new m(l.ca)))};f.prototype.a4a=function(){this.cEa?window.location.href=this.cEa:this.A4a&&window.location.reload()};return f}(k))});
682define("mP",["require","exports","mC"],function(a,e,l){a={};a.BT=l.eg("debug",!1);a.$Ha=l.pj("hqhls");a.ija=l.eg("audiocontext",!0);a.p9a=l.eg("testhash",!1);a.NHa=l.eg("exitvronblur",!1);a.yHa=l.eg("download",!0);a.VIa=l.eg("updatewhilehidden",!1);a.THa=l.eg("webgl2",!1);a.SHa=l.eg("webgl1",!1);a.QHa=l.eg("lowp",!1);a.Fja=l.eg("antialias");a.$Ia=l.eg("unlimited-video-resolution",!1);return a});
683define("bi",["require","exports","lE","hq","mP"],function(a,e,l,m,k){var b=window.requestAnimationFrame.bind(window),h=window.cancelAnimationFrame.bind(window),f=function(){function d(){}d.requestFrame=function(g,p,q){for(var n=0;n<d.zr.length;n++)if(d.zr[n].is(g,p))return;n=d.p1;void 0!==q&&(n+=q);d.zr.push(new c(g,p,n));d.paused||void 0!==d.Yt||(d.Yt=d.DS(d.B0))};d.x_a=function(g){for(var p=0;p<d.zr.length;p++)if(d.zr[p].is(g,void 0)){d.zr.splice(p,1);break}};d.iia=function(g){d.paused!=g&&(d.paused=
684g,d.paused?void 0!==d.Yt&&(d.Sea(d.Yt),d.Yt=void 0):0<d.zr.length&&(d.Yt=d.DS(d.B0)))};d.vFa=function(g,p){d.DS!=g&&(void 0!==d.Yt&&(d.Sea(d.Yt),d.Yt=g(d.B0)),d.DS=g,d.Sea=p)};d.Y4a=function(){d.vFa(b,h)};d.B0=function(g){d.Iza(g);d.Yt=0<d.zr.length?d.DS(d.B0):void 0};d.Iza=function(g){g<d.Ie&&(d.startTime=g-d.p1*d.x4,d.Ie=g);var p=0;void 0===d.startTime?d.startTime=g:p=Math.round((g-d.startTime)/d.x4);var q=(p-d.p1)*d.x4,n=d.zr;d.zr=[];d.hga=!0;d.p1=p;q=1<q?100>q?q:100:1;d.Ie=g;d.Yza=q;for(g=0;g<
685n.length;g++){var r=n[g];p<r.kCa?d.zr.push(r):r.call(q)}d.hga=!1};d.Ie=(new Date).getTime();d.Yza=0;d.hga=!1;d.DS=b;d.Sea=h;d.zr=[];d.Yt=void 0;d.paused=!1;d.x4=1E3/60;d.p1=0;d.startTime=void 0;return d}();k.VIa&&setInterval(function(){m.visible||f.Iza(f.Ie+100)},100);var c=function(){function d(g,p,q){this.kCa=0;this.$o=g;this.context=p;this.kCa=q}d.prototype.is=function(g,p){return this.$o==g&&this.context==p};d.prototype.call=function(g){try{this.$o.call(this.context,g)}catch(p){l.ZR("Error in animation frame",
686p)}};return d}();return f});define("bG",["require","exports"],function(){return function(){return function(a,e,l,m){this.name=a;this.from=e;this.to=l;this.m3a=m}}()});
687define("oI",["require","exports","bG"],function(a,e,l){function m(c){return function(d,g,p){d=Math.abs(g-d);return 1>d/p?0:1/(1-Math.pow((d-p)/d,1/c))}}function k(c){var d=new f;
687d.zfa=function(g,p,q,n){return g+(p-g)*Math.pow(0>=q?0:q>=n?1:q/n,c)};d.Hga=m(c);return d}function b(c){var d=new f;d.zfa=function(g,p,q,n){return g+(p-g)*(1-Math.pow(1-(0>=q?0:q>=n?1:q/n),c))};d.Hga=m(c);return d}function h(c){var d=new f;d.zfa=function(g,p,q,n){q=0>=q?0:q>=n?1:q/n;.5>q?q=Math.pow(2*q,c):(q=1-Math.pow(1-
688(2*q-1),c),q+=1);return g+.5*(p-g)*q};d.Hga=m(c);return d}a=function(){function c(d,g,p){void 0===p&&(p=void 0);switch(d){case "quad_in":this.curve=k(2);break;case "quad_out":this.curve=b(2);break;case "quad_in_out":this.curve=h(2);break;case "cubic_in":this.curve=k(3);break;case "cubic_out":this.curve=b(3);break;case "cubic_in_out":this.curve=h(3);break;case "quart_in":this.curve=k(4);break;case "quart_out":this.curve=b(4);break;case "quart_in_out":this.curve=h(4);break;case "quint_in":this.curve=
689k(5);break;case "quint_out":this.curve=b(5);break;case "quint_in_out":this.curve=h(5);break;default:this.curve=k(1)}this.Nw=g.slice();this.time=0;this.duration=this.Qya(g,p);this.hfa={};for(d=0;d<this.Nw.length;d++)this.hfa[this.Nw[d].name]=g[d].from}c.prototype.Gfa=function(d){for(var g=0;g<this.Nw.length;g++)if(this.Nw[g].name==d)return this.Nw[g];return null};c.prototype.fb=function(d){return this.hfa[d]};c.prototype.Ze=function(){return this.time>=this.duration};c.prototype.oj=function(){return this.duration};
690c.prototype.bl=function(){return this.time/this.duration};c.prototype.getTime=function(){return this.time};c.prototype.setTime=function(d){this.time=Math.min(Math.max(0,d),this.duration);for(d=0;d<this.Nw.length;d++){var g=this.Nw[d];this.hfa[g.name]=this.curve.zfa(g.from,g.to,this.time,this.duration)}};c.prototype.Cb=function(d){this.setTime(this.time+d)};c.prototype.Qya=function(d,g,p){void 0===p&&(p=void 0);for(var q=[],n=0;n<this.Nw.length;n++){var r=this.Nw[n],u=p?p:r.m3a;void 0!==u&&0<u&&q.push(this.curve.Hga(r.from,
691r.to,u/1E3))}if(0<q.length){d=q[0];for(n=1;n<q.length;n++)d=Math.max(d,q[n]);return void 0!==g&&0<g?Math.max(g,d):d}return void 0!==g?Math.max(g,.001):this.Qya(d,g,1E3)};c.oj=function(){return(new c(void 0,[new l("",void 0,void 0,void 0)])).oj()};return c}();var f=function(){return function(){}}();return a});
692define("bn",["require","exports"],function(){var a={Ti:38,Gh:40,ob:39,Wa:37,mG:32,Vn:65,YT:90,Gu:87,Au:83,hu:68,Q:81,E:69,QT:187,NT:189,DT:27,ja:{}};a.ja.Ti="ArrowUp";a.ja.Gh="ArrowDown";a.ja.ob="ArrowRight";a.ja.Wa="ArrowLeft";a.ja.Vn="KeyA";a.ja.YT="KeyZ";a.ja.Gu="KeyW";a.ja.Au="KeyS";a.ja.hu="KeyD";a.ja.Q="KeyQ";a.ja.E="KeyE";a.ja.QT="BracketRight";a.ja.NT="Slash";a.ja.DT="Escape";a.ja.mG="Space";a.ja.CT="Enter";return a});
693define("jg",["require","exports","pg","bn","gv"],function(a,e,l,m,k){a=function(){function h(){}h.fp=function(){return document.activeElement&&document.activeElement!==document.body};h.p1a=function(){return document.activeElement};h.O2a=function(f){return Array.isArray(f)?f.includes(document.activeElement):f==document.activeElement};h.nEa=function(){this.CA||(this.CA=document.createElement("div"));document.querySelectorAll("*[tabindex]").forEach(function(f){f.tabIndex>this.CA.tabIndex&&(this.CA.tabIndex=
694f.tabIndex+1)}.bind(this));document.body.appendChild(this.CA);
694this.CA.focus();this.CA.blur();document.body.removeChild(this.CA);this.x0.trigger(l.ca)};h.blur=function(){document.activeElement.blur()};h.Aea=function(f){this.fR.push(f)};h.vha=function(f){f=this.fR.indexOf(f);-1!=f&&this.fR.splice(f,1)};h.c_a=function(f){this.HS.push(f)};h.R4a=function(f){f=this.HS.indexOf(f);-1!=f&&this.HS.splice(f,1)};h.tya=function(f,c){this.Xha(f,c.map(function(d){return[d]}))};h.YZa=function(f,c){this.Xha(f,[c])};
695h.VZa=function(f,c,d,g){for(var p=[],q=0;q<d;q++)p.push(c.slice(q*g,(q+1)*g));this.Xha(f,p)};h.Xha=function(f,c){this.dfa.set(f,new b(c))};h.G4a=function(f){this.dfa.delete(f)};h.Zga=function(f){if(f.code==m.ja.mG||f.code==m.ja.CT){var c=this.HAa();c&&this.p0a(c)}else f.code!=m.ja.DT&&[m.ja.Ti,m.ja.Gh,m.ja.ob,m.ja.Wa].includes(f.code)&&this.dfa.forEach(function(d){d.e2a()&&d.M0a(f.code)})};h.$ga=function(f){f.code==m.ja.mG||f.code==m.ja.CT?(f=this.HAa())?f.dispatchEvent(this.iza("mouseup",f)):this.HS.length&&
696this.HS.pop()():f.code==m.ja.DT&&(this.fR.length?this.fR.pop()():this.fp()&&this.nEa())};h.Xg=function(f){!f.isTrusted||f.target&&["BUTTON","INPUT"].includes(f.target.tagName)||setTimeout(function(){this.nEa()}.bind(this),0)};h.G3a=function(){this.x0.trigger(l.ca)};h.p0a=function(f){f.dispatchEvent(this.iza("mousedown",f))};h.HAa=function(){return this.fp()?document.activeElement:null};h.iza=function(f,c){c=c.getBoundingClientRect();return new window.MouseEvent(f,{clientX:c.left+c.width/2,clientY:c.top+
697c.height/2})};h.$a=function(){document.addEventListener("mouseup",this.Xg.bind(this),!0);document.addEventListener("keydown",this.Zga.bind(this),!0);document.addEventListener("keyup",this.$ga.bind(this),!0);document.addEventListener("focusin",this.G3a.bind(this),!0)};h.x0=new k;h.CA=null;h.fR=[];h.HS=[];h.dfa=new Map;return h}();var b=function(){function h(f){void 0===f&&(f=[]);this.NJ=f}h.prototype.e2a=function(){return null!=this.jAa()};h.prototype.jAa=function(){for(var f=document.activeElement,
698c=0;c<this.NJ.length;c++)for(var d=0;d<this.NJ[c].length;d++)if(this.NJ[c][d]==f)return{a5a:c,P_a:d};return null};h.prototype.M0a=function(f){var c=this.jAa();if(null!=c){var d=0,g=0;switch(f){case m.ja.ob:d=1;break;case m.ja.Wa:d=-1;break;case m.ja.Ti:g=-1;break;case m.ja.Gh:g=1}f=c.a5a+g;0>f||f>=this.NJ.length||(c=c.P_a+d,0>c||c>=this.NJ[f].length||this.NJ[f][c].focus())}};return h}();return a});
699define("oA","require en lE pg cC nl hY fL m kh ey bi oI bG jg".split(" "),function(a){var e=a("en"),l=a("lE"),m=a("pg"),k=a("cC"),b=a("nl"),h=a("hY"),f=a("fL"),c=a("m"),d=a("kh"),g=a("ey"),p=a("bi"),q=a("oI"),n=a("bG"),r=a("jg"),u=l.extend(c,function(){c.call(this);this.Ge("Container");this.rd=this.Wd=this.bg=this.Fg=this.Wb=this.Jb=this.ona=this.nna=0;this.P9=this.X9=this.Sl=this.Rl=!1;this.ina=0;this.L6=this.K6=void 0;this.N6=this.M6=0;this.Tz=null;this.Daa=h.Hja;this.$y=!1;this.XV=null;this.qt=
700!1;this.u_=null;r.x0.bind(m.ca,this.sSa,this)});u.Ac={overflow:h.oG,scrollBarColor:"#000000",scrollBarWidth:10,scrollBarMargin:5,scrollBarHorizontalMargin:void 0,scrollBarVerticalMargin:void 0,scrollBarOpacity:.5,scrollBarVisible:f.cd};e.defaults(u.Ac,c.Ac);u.prototype.mo=function(){this.XV=new d(this.N8());this.XV.d6.bind("mousedown touchstart",e.bind(this.pQa,this));this.mo=function(){return this.XV};return this.XV};u.prototype.oo=function(){this.u_=new g(this.N8());this.u_.d6.bind("mousedown touchstart",
701e.bind(this.wZa,this));this.oo=function(){return this.u_};return this.u_};u.prototype.sSa=function(){if(r.fp()){var t=this.mb().map(function(v){return v.ee()}).indexOf(r.p1a());-1!==t&&this.scrollIntoView(this.mb()[t])}};u.prototype.scrollIntoView=function(t){var v=t.La,w=t.Oa;this.scrollTo(Math.min(v,Math.max(v+t.Ya()-this.Fg,this.Wd)),Math.min(w,Math.max(w+t.Ab()-this.bg,this.rd)))};u.prototype.scrollTo=function(t,v){var w=this.Wd;t>this.Wd?this.KU()&&(w=Math.min(t,this.Jb-this.Fg)):t<this.Wd&&
702this.JU()&&(w=Math.max(t,0));t=this.rd;v>this.rd?this.IU()&&(t=Math.min(v,this.Wb-this.bg)):v<this.rd&&this.LU()&&(t=Math.max(v,0));this.SP(w,t)};u.prototype.zEa=function(){if(this.IU()){for(var t=Math.max(0,this.Wb-this.bg),v=Math.min(t,this.rd+.5*this.bg),w=t=Math.min(t,this.rd+this.bg),x=this.mb().slice(),y=x.shift();x.length;y=x.shift())if(y.get("visible")){var z=y.Oa;z+y.Ab()>this.rd+this.bg&&z>=v&&z<t&&z<w&&(w=z)}this.SP(this.Wd,w)}};u.prototype.IU=function(){return this.Fma()&&this.rd+this.bg<
703this.Wb};u.prototype.BEa=function(){if(this.LU()){for(var t=Math.max(0,this.rd-this.bg),v=Math.max(0,this.rd-.5*this.bg),w=t,x=this.mb().slice(),y=x.shift();x.length;y=x.shift())if(y.get("visible")){var z=y.Oa;y=z+y.Ab();z<this.rd&&y>=t+this.bg&&y<v+this.bg&&y>w+this.bg&&(w=y-this.bg)}this.SP(this.Wd,w)}};u.prototype.LU=function(){return this.Fma()&&0<this.rd};u.prototype.AEa=function(){if(this.KU()){for(var t=Math.max(0,this.Jb-this.Fg),v=Math.min(t,this.Wd+.5*this.Fg),w=t=Math.min(t,this.Wd+this.Fg),
704x=this.mb().slice(),y=x.shift();x.length;y=x.shift())if(y.get("visible")){var z=y.La;z+y.Ya()>this.Wd+this.Fg&&z>=v&&z<t&&z<w&&(w=z)}this.SP(w,this.rd)}};u.prototype.KU=function(){return this.Ema()&&this.Wd+this.Fg<this.Jb};u.prototype.scrollLeft=function(){if(this.JU()){for(var t=Math.max(0,this.Wd-this.Fg),v=Math.max(0,this.Wd-.5*this.Fg),w=t,x=this.mb().slice(),y=x.shift();x.length;y=x.shift())if(y.get("visible")){var z=y.La;y=z+y.Ya();z<this.Wd&&y>=t+this.Fg&&y<v+this.Fg&&y>w+this.Fg&&(w=y-this.Fg)}this.SP(w,
705this.rd)}};u.prototype.JU=function(){return this.Ema()&&0<this.Wd};u.prototype.SP=function(t,v){this.Rl=this.Wd!=t;this.Sl=this.rd!=v;this.ot();
705this.Tz=new q("cubic_in_out",[new n("hScrollPosition",this.Wd,t),new n("vScrollPosition",this.rd,v)],500);p.requestFrame(this.K5,this)};u.prototype.Fma=function(){return this.qt&&this.bg<this.Wb};u.prototype.Ema=function(){return this.$y&&this.Fg<this.Jb};u.prototype.tb=function(){this.lo(u.Ac)};u.prototype.kMa=function(){this.X9=!0;this.ot()};u.prototype.jMa=
706function(){this.X9=!1;this.ot()};u.prototype.pQa=function(){this.Rl=!0};u.prototype.wZa=function(){this.Sl=!0};u.prototype.gMa=function(t){this.Rl||this.Sl?(this.wb().bind(m.bc,this.gna,this),this.wb().bind(m.Eb,this.hna,this),this.Dy=t.pageX,this.Ey=t.pageY,this.ot()):this.jna(t)};u.prototype.gna=function(t){if(this.Rl){var v=(t.pageX-this.Dy)*this.Jb/this.mo().je();this.Wd+=v}else this.Sl&&(v=(t.pageY-this.Ey)*this.Wb/this.oo().Ye(),this.rd+=v);this.Dy=t.pageX;this.Ey=t.pageY;this.Dw()};u.prototype.hna=
707function(){this.wb().unbind(m.bc,this.gna,this);this.wb().unbind(m.Eb,this.hna,this);this.Sl=this.Rl=!1;this.ot()};u.prototype.Hma=function(t){return this.qt&&(0<t&&0<this.rd||0>t&&this.rd<this.Wb-this.bg)?!0:!1};u.prototype.iMa=function(t){this.qt&&(this.rd-=t.delta*this.bg*.1,this.Dw())};u.prototype.jna=function(t){if(this.$y||this.qt)this.wb().bind(m.bc,this.kna,this),this.wb().bind(m.Eb,this.lna,this),this.P9=!0,this.Dy=t.pageX,this.Ey=t.pageY,this.ot(),this.JQa()};u.prototype.kna=function(t){var v=
708t.pageX-this.Dy,w=t.pageY-this.Ey;!this.Rl&&!this.Sl&&25<v*v+w*w&&(this.Rl=this.$y,this.Sl=this.qt,this.ot());if(this.Rl||this.Sl)this.Wd-=v,this.rd-=w,this.Dy=t.pageX,this.Ey=t.pageY,this.Dw(),this.tYa()};u.prototype.lna=function(){this.wb().unbind(m.bc,this.kna,this);this.wb().unbind(m.Eb,this.lna,this);this.P9=!1;this.ot();var t=Math.max(Math.abs(this.M6/.001),Math.abs(this.N6/.001));this.Tz=new q("linear",[new n("hScrollPosition",this.Wd,this.Wd-.5*this.M6*t),new n("vScrollPosition",this.rd,this.rd-
709.5*this.N6*t)],t);p.requestFrame(this.K5,this)};u.prototype.JQa=function(){this.K6=this.Dy;this.L6=this.Ey};u.prototype.tYa=function(){var t=(new Date).getTime(),v=t-this.ina;10<v&&(this.ina=t,this.M6=(this.Dy-this.K6)/v,this.N6=(this.Ey-this.L6)/v,this.K6=this.Dy,this.L6=this.Ey)};u.prototype.K5=function(t){this.Tz&&!this.Tz.Ze()&&(this.Rl||this.Sl)?(this.Tz.Cb(t),this.Rl&&(this.Wd=this.Tz.fb("hScrollPosition"),0>this.Wd||this.Wd>this.Jb-this.Fg)&&(this.Rl=!1),this.Sl&&(this.rd=this.Tz.fb("vScrollPosition"),
7100>this.rd||this.rd>this.Wb-this.bg)&&(this.Sl=!1),this.Dw(),p.requestFrame(this.K5,this)):(this.Sl=this.Rl=!1,this.Tz=null,this.ot())};u.prototype.Dw=function(t){if(t){if(!this.$y)switch(this.B("horizontalAlign")){case b.ob:this.Wd=this.Jb-this.Fg;break;case b.Qe:this.Wd=(this.Jb-this.Fg)/2;break;default:this.Wd=0}if(!this.qt)switch(this.B("verticalAlign")){case b.sc:this.rd=this.Wb-this.bg;break;case b.le:this.rd=(this.Wb-this.bg)/2;break;default:this.rd=0}}this.Wd=Math.max(0,Math.min(this.Jb-this.Fg,
711this.Wd));this.rd=Math.max(0,Math.min(this.Wb-this.bg,this.rd));this.mo().setPosition(this.Wd);this.oo().setPosition(this.rd);this.Ob().P5a(this.Wd);this.Ob().j7a(this.rd);this.dl();if(this.Xta!=this.Wd||this.Yta!=this.rd)void 0!==this.Xta&&void 0!==this.Yta&&this.trigger(new k(m.Ip)),this.Xta=this.Wd,this.Yta=this.rd};u.prototype.ot=function(){var t=this.get("scrollBarVisible")==f.ALWAYS?!0:this.so?this.Rl||this.Sl||this.P9:this.Rl||this.Sl||this.X9;this.mo().yf(this.$y&&t);this.oo().yf(this.qt&&
712t);this.dl()};u.prototype.Db=function(){c.prototype.Db.call(this);this.hMa||(this.hMa=!0,this.so?this.bind(m.jb,this.jna,this):(this.bind(m.jb,this.gMa,this),this.bind(m.cd,this.kMa,this),this.bind(m.Vb,this.jMa,this),this.bind(m.Yr,this.iMa,this)))};u.prototype.Za=function(){this.K("overflow")&&(this.Daa=this.B("overflow"),this.S("overflow"),this.Rd());this.K("scrollBarColor")&&(this.mo().setColor(this.B("scrollBarColor")),this.oo().setColor(this.B("scrollBarColor")),this.S("scrollBarColor"));this.K("scrollBarWidth")&&
713(this.mo().ZS(this.B("scrollBarWidth")),this.oo().ZS(this.B("scrollBarWidth")),this.S("scrollBarWidth"));if(this.K("scrollBarMargin")||this.K("scrollBarVerticalMargin")||this.K("scrollBarHorizontalMargin")){var t=this.B("scrollBarHorizontalMargin","scrollBarMargin"),v=this.B("scrollBarVerticalMargin","scrollBarMargin");this.mo().aFa(t);this.mo().EFa(v);this.oo().aFa(t);this.oo().EFa(v);this.S("scrollBarMargin");this.S("scrollBarVerticalMargin");this.S("scrollBarHorizontalMargin")}this.K("scrollBarOpacity")&&
714(this.mo().tj(this.B("scrollBarOpacity")),this.oo().tj(this.B("scrollBarOpacity")),this.S("scrollBarOpacity"));c.prototype.Za.call(this)};u.prototype.hk=function(){c.prototype.hk.call(this);this.wYa();this.TYa();this.RYa();this.ot();this.dl()};u.prototype.wYa=function(){for(var t=0,v=0,w=0,x=0,y=this.mb(),z=0;z<y.length;z++){var C=y[z];C.get("visible")&&(x=Math.min(x,C.La),w=Math.min(w,C.Oa),t=Math.max(t,C.La+C.Ya()),v=Math.max(v,C.Oa+C.Ab()))}this.nna=x;this.ona=w;this.Jb=t;this.Wb=v};u.prototype.TYa=
715function(){this.Fg=Math.min(this.uf(),this.Jb);this.bg=Math.min(this.tf(),this.Wb)};u.prototype.RYa=function(){var t=this.Ud.some(function(x){return x.l2a()}),v=0>this.nna||0>this.ona||this.Jb>this.Fg||this.Wb>this.bg;if(this.Daa==h.Ip){this.$y=this.Fg<this.Jb;var w=(this.qt=this.bg<this.Wb)&&this.$y;this.mo().setSize(this.Fg,this.Jb);this.mo().NEa(w);this.oo().setSize(this.bg,this.Wb);this.oo().NEa(w);this.Ob().RK(!v&&!t)}
715else this.qt=this.$y=!1,this.Daa==h.oG?this.Ob().RK(!0):this.Ob().RK(!v&&!t);
716this.Dw(!0)};u.prototype.eh=function(){this.oo().eh();this.mo().eh();c.prototype.eh.call(this)};return u});define("V",["require"],function(){return{Kh:"vertical",zg:"horizontal"}});define("hG",["require"],function(){return{Qw:function(a){return a?a.split(",").map(function(e){return e.trim()}).filter(function(e){return""!=e}).map(function(e){"'"!=e[0]&&'"'!=e[0]&&(e="'"+e+"'");return e}).join(", "):""}}});
717define("dz","require jquery.mod en lE nl V e gM hG".split(" "),function(a){function e(g){var p=g.Cn.width(),q=g.Cn.height();"italic"==g.get("fontStyle")&&(p+=1*q/5);return Math.round(p)}var l=a("jquery.mod"),m=a("en"),k=a("lE"),b=a("nl"),h=a("V"),f=a("e");a("gM");var c=a("hG");a=k.extend(f,function(){f.call(this);this.Ge("Label");this.Cn=this.LP=null});a.Ac={};a.prototype.tb=function(){f.prototype.tb.call(this);this.h("fontFamily");this.h("fontSize");this.h("fontColor");this.h("fontWeight");this.h("fontStyle");
718this.h("horizontalAlign",b.Wa);this.h("verticalAlign",b.le);this.h("direction",h.zg);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.Db=function(){f.prototype.Db.call(this);if(!this.Cn){this.LP=document.createElement("span");this.Cn=l(this.LP);this.wca({position:"absolute","text-align":"center",cursor:"inherit","white-space":"nowrap",
719transform:"translate3d(0, 0, 0)"});var g=this.Ob();g.RK(!1);g.append(this.Cn)}};a.prototype.Lv=function(){f.prototype.Lv.call(this);var g=this.Ob();this.Pl=e(this)+g.cK()+g.eK();this.Ol=this.Cn.height()+g.fK()+g.ZJ();d(this)};a.prototype.Za=function(){var g={};if(this.K("direction")||this.K("text")){switch(this.B("direction")){case h.Kh:g["line-height"]="100%";this.Cn.html(this.Cn.text(this.B("text")).text().split("").join("<br/>"));break;default:g["line-height"]="normal",this.Cn.text(this.B("text")),
720this.Cn.html(this.Cn.html().split(" ").join("&nbsp;"))}this.S("direction");this.S("text");setTimeout(function(){this.Yb();this.Rd()}.bind(this),0)}if(this.K("fontFamily")){var p=this.B("fontFamily");m(p).isString()||(p="");g.fontFamily=c.Qw(p);this.S("fontFamily");this.Yb();this.Rd()}this.K("fontSize")&&(p=this.B("fontSize"),m(p).isNumber()?p+="px":m(p).isString()||(p=""),g.fontSize=p,this.S("fontSize"),this.Yb(),this.Rd());this.K("fontColor")&&(p=this.B("fontColor"),m(p).isString()||(p=""),g.color=
721p,this.S("fontColor"));if(this.K("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"}g.fontWeight=p;this.S("fontWeight");this.Yb();this.Rd()}if(this.K("fontStyle")){p=this.B("fontStyle");switch(p){case "italic":case "normal":break;default:p="normal"}g.fontStyle=p;this.S("fontStyle");this.Yb();this.Rd()}if(this.K("textDecoration")){p=
722this.B("textDecoration");switch(p){case "underline":case "overline":case "line-through":case "none":break;default:p="none"}g.textDecoration=p;this.S("textDecoration");this.Yb();this.Rd()}this.K("horizontalAlign")&&(this.Rd(),this.S("horizontalAlign"));this.K("verticalAlign")&&(this.Rd(),this.S("verticalAlign"));p=["textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];if(m(p).any(function(n){return this.K(n)},this)){var q={};m(p).each(function(n){q[n]=
723this.B(n);this.S(n)},this);g["-moz-text-shadow"]=g["-webkit-text-shadow"]=g["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(" ");p=0==q.textShadowVerticalLength&&0==this.B("textShadowHorizontalLength")?135:45*Math.round(4*Math.atan2(q.textShadowHorizontalLength,
724-q.textShadowVerticalLength)/Math.PI);g.filter="progid:DXImageTransform.Microsoft.Shadow(color=#"+("00"+(255*q.textShadowOpacity).toString(16)).slice(-2)+q.textShadowColor.substr(1,6)+",direction="+p+")";this.Ob().RK((0<q.textShadowHorizontalLength||0<q.textShadowVerticalLength||0<q.textShadowBlurRadius)&&0<q.textShadowOpacity)}this.wca(g);f.prototype.Za.call(this)};a.prototype.hk=function(){var g={left:"auto",right:"auto",top:"auto",bottom:"auto"};switch(this.B("horizontalAlign")){case b.Wa:g.left=
725"0";break;case b.ob:this.eh();g.left=this.uf()-e(this)+"px";break;case b.Qe:this.eh(),g.left=Math.max(0,Math.round(.5*(this.uf()-e(this))))+"px"}switch(this.B("verticalAlign")){case b.zc:g.top="0";break;case b.sc:this.eh();g.top=this.tf()-this.LP.clientHeight+"px";break;case b.le:this.eh(),g.top=Math.max(0,Math.round(.5*(this.tf()-this.LP.clientHeight)))+"px"}this.wca(g)};a.prototype.wca=function(g){var p=this.LP.style,q;
725for(q in g)p[q]=g[q]};var d=function(){function g(){r||p()&&(r=setTimeout(function(){r=
726null;var u=(new Date).getTime()-5E3,t;for(t in n){var v=n[t];v.timestamp<u&&delete n[t];var w=v.label;if(v.width!=e(w)||v.height!=w.Cn.height())w.Yb(),w.Rd()}g()},500))}function p(){for(var u in n)return!0;return!1}var q=1,n={},r=null;return function(u){u.gra||(u.gra=q++);n[u.gra]={label:u,timestamp:(new Date).getTime(),width:e(u),height:u.Cn.height()};g()}}();return a});
727define("me","require lE en cT bd pg cC hA ek hY gW oA dz".split(" "),function(a){var e=a("lE"),l=a("en"),m=a("cT"),k=a("bd"),b=a("pg"),h=a("cC"),f=a("hA"),c=a("ek"),d=a("hY"),g=a("gW"),p=a("oA"),q=a("dz"),n=e.extend(p,function(){this.Ge("Button");p.call(this);this.wi=this.Na=null;this.set("childrenInteractionEnabled",!1);this.set("contentOpaque",!0);this.set("creationPolicy",m.GB);this.set("overflow",d.Hja);this.set("autoRolledOver",!0);this.set("autoPressed",!0);this.set("cursor",k.ye);this.set("ariaRole",
728"button")});n.prototype.tb=function(){p.prototype.tb.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",c.ze);this.h("buttonGroup");
729this.h("paddingLeft",5);this.h("paddingTop",5);this.h("paddingRight",5);this.h("paddingBottom",5);this.h("pressed");this.v("rollOverOpacity",g.X,"opacity");this.v("rollOverIconWidth",g.X,"iconWidth");this.v("rollOverIconHeight",g.X,"iconHeight");this.v("rollOverFontSize",g.X,"fontSize");this.v("rollOverFontColor",g.X,"fontColor");this.v("rollOverFontWeight",g.X,"fontWeight");this.v("rollOverFontStyle",g.X,"fontStyle");this.v("rollOverTextDecoration",g.X,"textDecoration");this.v("rollOverTextShadowBlurRadius",
730g.X,"textShadowBlurRadius");this.v("rollOverTextShadowColor",g.X,"textShadowColor");this.v("rollOverTextShadowHorizontalLength",g.X,"textShadowHorizontalLength");this.v("rollOverTextShadowOpacity",g.X,"textShadowOpacity");this.v("rollOverTextShadowVerticalLength",g.X,"textShadowVerticalLength");this.v("rollOverBorderSize",g.X,"borderSize");this.v("rollOverBorderLeftSize",g.X,"borderLeftSize");this.v("rollOverBorderTopSize",g.X,"borderTopSize");this.v("rollOverBorderRightSize",g.X,"borderRightSize");
731this.v("rollOverBorderBottomSize",g.X,"borderBottomSize");this.v("rollOverBorderColor",g.X,"borderColor");this.v("rollOverBorderLeftColor",g.X,"borderLeftColor");this.v("rollOverBorderTopColor",g.X,"borderTopColor");this.v("rollOverBorderRightColor",g.X,"borderRightColor");this.v("rollOverBorderBottomColor",g.X,"borderBottomColor");this.v("rollOverShadow",g.X,"shadow");this.v("rollOverShadowHorizontalLength",g.X,"shadowHorizontalLength");this.v("rollOverShadowVerticalLength",g.X,"shadowVerticalLength");
732this.v("rollOverShadowBlurRadius",g.X,"shadowBlurRadius");this.v("rollOverShadowSpread",g.X,"shadowSpread");this.v("rollOverShadowOpacity",g.X,"shadowOpacity");this.v("rollOverShadowColor",g.X,"shadowColor");this.v("rollOverBackgroundOpacity",g.X,"backgroundOpacity");this.v("rollOverBackgroundColor",g.X,"backgroundColor");this.v("rollOverBackgroundColorRatios",g.X,"backgroundColorRatios");this.v("rollOverBackgroundColorDirection",g.X,"backgroundColorDirection");this.v("pressedLabel",g.ub,"label");
733this.v("pressedOpacity",g.ub,"opacity");this.v("pressedIconWidth",g.ub,"iconWidth");this.v("pressedIconHeight",g.ub,"iconHeight");this.v("pressedFontSize",g.ub,"fontSize");this.v("pressedFontColor",g.ub,"fontColor");this.v("pressedFontWeight",g.ub,"fontWeight");this.v("pressedFontStyle",g.ub,"fontStyle");this.v("pressedTextDecoration",g.ub,"textDecoration");this.v("pressedTextShadowBlurRadius",g.ub,"textShadowBlurRadius");this.v("pressedTextShadowColor",g.ub,"textShadowColor");this.v("pressedTextShadowHorizontalLength",
734g.ub,"textShadowHorizontalLength");this.v("pressedTextShadowOpacity",g.ub,"textShadowOpacity");this.v("pressedTextShadowVerticalLength",g.ub,"textShadowVerticalLength");this.v("pressedBorderSize",g.ub,"borderSize");this.v("pressedBorderLeftSize",g.ub,"borderLeftSize");this.v("pressedBorderTopSize",g.ub,"borderTopSize");this.v("pressedBorderRightSize",g.ub,"borderRightSize");this.v("pressedBorderBottomSize",g.ub,"borderBottomSize");this.v("pressedBorderColor",g.ub,"borderColor");this.v("pressedBorderLeftColor",
735g.ub,"borderLeftColor");this.v("pressedBorderTopColor",g.ub,"borderTopColor");this.v("pressedBorderRightColor",g.ub,"borderRightColor");this.v("pressedBorderBottomColor",g.ub,"borderBottomColor");this.v("pressedShadow",g.ub,"shadow");this.v("pressedShadowHorizontalLength",g.ub,"shadowHorizontalLength");this.v("pressedShadowVerticalLength",g.ub,"shadowVerticalLength");this.v("pressedShadowBlurRadius",g.ub,"shadowBlurRadius");this.v("pressedShadowSpread",g.ub,"shadowSpread");this.v("pressedShadowOpacity",
736g.ub,"shadowOpacity");this.v("pressedShadowColor",g.ub,"shadowColor");
736this.v("pressedBackgroundOpacity",g.ub,"backgroundOpacity");this.v("pressedBackgroundColor",g.ub,"backgroundColor");this.v("pressedBackgroundColorRatios",g.ub,"backgroundColorRatios");this.v("pressedBackgroundColorDirection",g.ub,"backgroundColorDirection");this.v("pressedLabel",g.cc,"label");this.v("pressedRollOverOpacity",g.cc,"opacity");this.v("pressedRollOverIconWidth",g.cc,"iconWidth");this.v("pressedRollOverIconHeight",g.cc,
737"iconHeight");this.v("pressedRollOverFontSize",g.cc,"fontSize");this.v("pressedRollOverFontColor",g.cc,"fontColor");this.v("pressedRollOverFontWeight",g.cc,"fontWeight");this.v("pressedRollOverFontStyle",g.cc,"fontStyle");this.v("pressedRollOverTextDecoration",g.cc,"textDecoration");this.v("pressedRollOverTextShadowBlurRadius",g.cc,"textShadowBlurRadius");this.v("pressedRollOverTextShadowColor",g.cc,"textShadowColor");this.v("pressedRollOverTextShadowHorizontalLength",g.cc,"textShadowHorizontalLength");
738this.v("pressedRollOverTextShadowOpacity",g.cc,"textShadowOpacity");this.v("pressedRollOverTextShadowVerticalLength",g.cc,"textShadowVerticalLength");this.v("pressedRollOverBorderSize",g.cc,"borderSize");this.v("pressedRollOverBorderLeftSize",g.cc,"borderLeftSize");this.v("pressedRollOverBorderTopSize",g.cc,"borderTopSize");this.v("pressedRollOverBorderRightSize",g.cc,"borderRightSize");this.v("pressedRollOverBorderBottomSize",g.cc,"borderBottomSize");this.v("pressedRollOverBorderColor",g.cc,"borderColor");
739this.v("pressedRollOverBorderLeftColor",g.cc,"borderLeftColor");this.v("pressedRollOverBorderTopColor",g.cc,"borderTopColor");this.v("pressedRollOverBorderRightColor",g.cc,"borderRightColor");this.v("pressedRollOverBorderBottomColor",g.cc,"borderBottomColor");this.v("pressedRollOverShadow",g.cc,"shadow");this.v("pressedRollOverShadowHorizontalLength",g.cc,"shadowHorizontalLength");this.v("pressedRollOverShadowVerticalLength",g.cc,"shadowVerticalLength");this.v("pressedRollOverShadowBlurRadius",g.cc,
740"shadowBlurRadius");this.v("pressedRollOverShadowSpread",g.cc,"shadowSpread");this.v("pressedRollOverShadowOpacity",g.cc,"shadowOpacity");this.v("pressedRollOverShadowColor",g.cc,"shadowColor");this.v("pressedRollOverBackgroundOpacity",g.cc,"backgroundOpacity");this.v("pressedRollOverBackgroundColor",g.cc,"backgroundColor");this.v("pressedRollOverBackgroundColorRatios",g.cc,"backgroundColorRatios");this.v("pressedRollOverBackgroundColorDirection",g.cc,"backgroundColorDirection")};n.prototype.Z6=function(){};
741n.prototype.Db=function(){p.prototype.Db.call(this);this.wi||(this.wi=this.Z6(),this.Ua(this.wi));this.Na||(this.Na=new q,this.Ua(this.Na))};n.prototype.cM=function(){this.get("pressed")?(this.set("pressed",!1),this.trigger(new h(b.ul))):(this.set("pressed",!0),this.trigger(new h(b.wj)))};n.prototype.Pu=function(){return this.get("label")||p.prototype.Pu.call(this)};n.prototype.Za=function(){var r=!1;this.K("mode")&&(this.B("mode")==c.ze?(this.unbind(b.qa,this.cM,this,!0),this.set("autoPressed",!0)):
742(this.bind(b.qa,this.cM,this,!0),this.set("autoPressed",!1)),this.S("mode"),r=!0);if(r||this.K("pressed"))this.B("mode")==c.zj?this.QI(1==this.B("pressed")):r&&this.QI(!1);this.K("label")&&(r=this.B("label"),this.Na.set("text",r),this.Na.set("visible",r?!0:!1),this.S("label"));this.qc(n.rla,n.sla,[this.Na],!0,!0);this.K("iconBeforeLabel")&&(0==this.B("iconBeforeLabel")?this.Pn(this.Na,0):this.Pn(this.wi,0),this.S("iconBeforeLabel"));this.K("iconWidth")&&(this.wi.set("width",this.B("iconWidth")),this.S("iconWidth"));
743this.K("iconHeight")&&(this.wi.set("height",this.B("iconHeight")),this.S("iconHeight"));this.K("buttonGroup")&&((r=this.B("buttonGroup"))?f.register(this,r):f.unregister(this),this.S("buttonGroup"));this.qc(["horizontalAlign","verticalAlign"],{},[this.wi],!0,!1);p.prototype.Za.call(this)};n.rla="fontFamily fontSize fontColor fontWeight fontStyle textDecoration textShadowColor textShadowHorizontalLength textShadowVerticalLength textShadowBlurRadius textShadowOpacity".split(" ");n.sla={};l(n.rla).each(function(r){n.sla[r]=
744r});return n});define("jV",["require","nV","me"],function(a){var e=a("nV"),l=a("me");return e.define("BaseButton",l,function(){l.call(this)})});define("jG",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("BaseObject",e,function(){e.call(this)})});
745define("ez","require lE mh pg cC bi oI bG".split(" "),function(a){var e=a("lE"),l=a("mh");a("pg");var m=a("cC"),k=a("bi"),b=a("oI"),h=a("bG"),f={}
745,c=e.extend(l,function(){l.call(this);this.C="stopped";this.Qb=void 0;this.Ro=[];this.set("easing","linear");this.set("duration",1E3);this.set("loop",!1);this.set("animationDirection","normal")});c.prototype.play=function(d){d||(d=f);this.oK(d)||("stopped"==this.C||0>this.Ro.indexOf(d)?(this.C="playing",this.Ro.push(d),this.Te=0,this.Qb=Math.max(this.get("duration",
7461E3),1),this.mg=new b(this.get("easing","linear"),[new h("pos",0,1)],this.Qb),this.mg.setTime(this.Te),this.UI(),this.rw(),this.ZO()):this.C="playing")};c.prototype.reverse=function(d){d||(d=f);this.b3a(d)||("stopped"==this.C||0>this.Ro.indexOf(d)?(this.C="playingReverse",this.Ro.push(d),this.Te=this.Qb=Math.max(this.get("duration",1E3),0),this.mg=new b(this.get("easing","linear"),[new h("pos",0,1)],this.Qb),this.mg.setTime(this.Te),this.UI(),this.rw(),this.ZO()):this.C="playingReverse")};c.prototype.stop=
747function(){"stopped"!=this.C&&(this.C="stopped",0!==this.Te&&(this.Te=0,this.mg.setTime(this.Te),this.rw(),this.ZO()))};c.prototype.end=function(){"stopped"!=this.C&&(this.Te=this.Qb,this.mg.setTime(this.Te),this.rw(),this.ZO())};c.prototype.cancel=function(){this.C="stopped";this.Te=0;this.Ro=[]};c.prototype.oK=function(d){return"playing"==this.C&&0<=this.Ro.indexOf(d)};c.prototype.b3a=function(d){return"playingReverse"==this.C&&0<=this.Ro.indexOf(d)};c.prototype.Qj=function(d){"stopped"!=this.C&&
748(this.Te="playing"==this.C?Math.min(this.Qb,this.Te+d):Math.max(0,this.Te-d),this.mg.setTime(this.Te),this.rw(),this.ZO())};c.prototype.bl=function(){return this.mg&&this.mg.fb("pos")||0};c.prototype.Qy=function(d){if(this.Ro)for(var g=0;g<this.Ro.length;g++)d.call(this,this.Ro[g],g)};c.prototype.UI=function(){this.trigger(new m("playingReverse"==this.C?c.JHa:c.LHa))};c.prototype.rw=function(){this.trigger(new m(c.S3))};c.prototype.SI=function(){this.trigger(new m(c.kk))};c.prototype.TI=function(){this.trigger(new m(c.ku))};
749c.prototype.ZO=function(){"playingReverse"==this.C&&0>=this.Te?(this.Te=0,this.TI(),this.Ro=[],"stopped"!=this.C&&(this.C="stopped",this.get("loop")&&this.play())):"playing"==this.C&&this.Te>=this.Qb?(this.Te=this.Qb,this.SI(),this.Ro=[],"stopped"!=this.C&&(this.C="stopped","alternate"==this.get("animationDirection")?this.reverse():this.get("loop")&&this.play())):"stopped"!=this.C&&k.requestFrame(this.Qj,this)};c.LHa="start";c.S3="frame";c.kk="end";c.JHa="reverseStart";c.ku="reverseEnd";return c});
750define("gT",["require","pg","ez"],function(a){var e=a("pg"),l=a("ez");return{RNa:function(){this.tk=this.Re=null;this.bind(e.dd,this.koa,this,!0);this.bind(e.Tc,this.foa,this,!0);this.bind(e.cd,this.hoa,this,!0);this.bind(e.Vb,this.goa,this,!0);this.bind(e.F("effect"),this.doa,this,!0);this.bind(e.F("rollOverEffect"),this.ioa,this,!0);this.BC=!1},G9a:function(){this.unbind(e.dd,this.koa,this,!0);this.unbind(e.Tc,this.foa,this,!0);this.unbind(e.cd,this.hoa,this,!0);this.unbind(e.Vb,this.goa,this,!0);
751this.unbind(e.F("effect"),this.doa,this,!0);this.unbind(e.F("rollOverEffect"),this.ioa,this,!0)},koa:function(){this.Re&&this.Re.play()},foa:function(){this.Re&&this.Re.stop();this.tk&&this.tk.stop();this.BC=!1},hoa:function(){this.BC||(this.BC=!0,this.tk&&(this.Re&&this.Re.get("loop")&&0<this.Re.bl()?this.Re.reverse():this.Re&&0!=this.Re.bl()&&1!=this.Re.bl()||(this.Re&&this.Re.stop(),this.tk.play())))},goa:function(){this.BC&&(this.BC=!1,this.tk&&(0<this.tk.bl()?this.tk.reverse():this.Re&&this.Re.get("loop")&&
752this.Re.play()))},eoa:function(){this.T7()},T7:function(){this.BC&&this.tk&&(this.Re.stop(),this.tk.play())},joa:function(){this.BC||(this.tk.stop(),this.Re&&this.Re.get("loop")&&this.Re.play())},doa:function(){this.Re&&this.Re.unbind(l.kk,this.eoa,this,!0);this.Re&&this.Re.unbind(l.ku,this.T7,this,!0);(this.Re=this.get("effect"))&&this.Re.bind(l.kk,this.eoa,this,!0);this.Re&&this.Re.bind(l.ku,this.T7,this,!0)},ioa:function(){this.tk&&this.tk.unbind(l.ku,this.joa,this,!0);(this.tk=this.get("rollOverEffect"))&&
753this.tk.bind(l.ku,this.joa,this,!0)}}});
754define("iQ",["require","lE","mh","nV","gT"],function(a){var e=a("lE"),l=a("mh"),m=a("nV");a=a("gT");m=m.define("Model3DObject",l,function(){l.call(this);this.set("hidden",!1);this.RNa();this.Xo=this.XH=this.m9=this.l9=!1;this.C9=!0;this.WC=!1});e.R_(m,[a]);var k=["enabledInStandard","enabledInVR","hideBasedOnDistance","hideWhileUserInteracting","hideWhileMoving"];m.prototype.set=function(b,h){l.prototype.set.call(this,b,h);-1!=k.indexOf(b)&&this.nE()};m.prototype.bia=function(b){this.m9!==b&&(this.m9=
755b,this.nE())};m.prototype.$A=function(b){this.Xo!==b&&(this.Xo=b,this.nE())};m.prototype.tx=function(b){this.XH!==b&&(this.XH=b,this.nE())};m.prototype.A2=function(b){this.C9!==b&&(this.C9=b,this.nE())};m.prototype.px=function(b){this.WC!==b&&(this.WC=b,this.nE())};m.prototype.aia=function(b){this.l9!==b&&(this.l9=b,this.nE())};m.prototype.nE=function(){this.set("hidden",this.m9||this.l9||this.WC&&!1===this.get("enabledInVR")||this.C9&&!1===this.get("enabledInStandard")||this.XH&&this.get("hideWhileMoving")||
756this.Xo&&this.get("hideWhileUserInteracting"))};return m});define("gr",["require","nV","iQ"],function(a){var e=a("nV"),l=a("iQ");return e.define("BoxModel3DObject",l,function(){l.call(this)})});define("mv",["require"],function(){return{NONE:"none",Sx:"fill",Ih:"fit_inside",Tr:"fit_outside",Cp:"fit_to_width",nk:"fit_to_height",rHa:"custom"}});
757define("mR","require en jquery.mod lE pg ik v nl mv e gM gY".split(" "),function(a){function e(r){this.p6=r;this.ud=[];this.zl=null}var l=a("en"),m=a("jquery.mod"),k=a("lE"),b=a("pg"),h=a("ik"),f=a("v"),c=a("nl"),d=a("mv"),g=a("e"),p=a("gM"),q=a("gY");e.pn=document.createElement("a");e.prototype.eMa=function(r){e.pn.href=r;return e.pn.href};e.prototype.load=function(r,u,t){r=this.eMa(r);this.zl&&!this.zl.ii()&&(this.zl.cancel(),this.ud=l(this.ud).without(this.zl));(this.zl=l(this.ud).find(function(x){return x.Oi()==
758r}))?this.ud=l(this.ud).without(this.zl):(this.zl=new q(h.Ika),this.zl.load(r));for(this.ud.splice(0,0,this.zl);this.ud.length>this.p6;)this.ud.pop().cancel();if(u){var v=this.zl,w=function(){u.call(t||window,v.vf(),v.je(),v.Ye())};this.zl.ii()?w():this.zl.bind(b.Z,w)}};e.prototype.clear=function(){this.ud.forEach(function(r){r.cancel()});this.zl=null};a=k.extend(g,function(r){g.call(this);this.Ge("Image");this.p6=r||1;this.Yda=!1;this.Hl=c.Wa;this.$V=!1;this.mm=c.zc;this.x_=!1;this.Ef=d.NONE;this.Sba=
759!1;this.kI=this.lI=0;this.z9=this.Aaa=!1;this.Wb=this.Jb=0;this.av=!1;this.Nd=this.Il=this.Zb=this.iW=this.hW=null;this.bind(b.pc,this.GQa,this);this.bind(b.dd,this.HQa,this)});a.prototype.M8=function(){this.Nd=new e(this.p6);this.M8=function(){return this.Nd};return this.Nd};a.prototype.tb=function(){g.prototype.tb.call(this);this.h("horizontalAlign",c.Wa);this.h("verticalAlign",c.zc);this.h("scaleMode",d.NONE)};a.prototype.set=function(r,u){"url"==r&&this.get("url")!=u&&(this.Yda=!0,this.pe());
760g.prototype.set.call(this,r,u)};a.prototype.PK=function(r){this.Hl!=r&&(this.Hl=r,this.$V=!0,this.pe())};a.prototype.XK=function(r){this.mm!=r&&(this.mm=r,this.x_=!0,this.pe())};a.prototype.ZA=function(r){this.Ef!=r&&(this.Ef=r,this.Sba=!0,this.pe(),this.Yb())};a.prototype.GQa=function(){this.av=!0;this.pe()};a.prototype.HQa=function(){this.Jxa()};var n={position:"static",cursor:"inherit",display:"inline",verticalAlign:"top",visibility:"hidden","pointer-events":"none","user-select":"none","-ms-user-select":"none",
761"-moz-user-select":"none","-webkit-user-select":"none","touch-callout":"none","-webkit-touch-callout":"none"};
761f.browser()==f.Gm&&f.nb()&&(n.transform="translate3d(0,0,0)");a.prototype.ema=function(r,u,t){this.lI=u?u:0;this.kI=t?t:0;this.Zb&&(this.Zb.remove(),this.Zb=null);if(this.Il=r)this.Zb=m(this.Il),p.css(this.Il,n),this.hW.append(this.Zb);this.Aaa=this.z9=!0;this.pe();this.Yb();this.Zb&&this.trigger(b.Z)};a.prototype.Db=function(){g.prototype.Db.call(this);this.hW||(this.iW=document.createElement("div"),
762this.hW=m(this.iW),p.css(this.iW,{position:"static",overflow:"hidden",cursor:"inherit"}),this.Ob().append(this.hW))};a.prototype.Lv=function(){this.Pl=this.lI+this.qm()+this.Ht();this.Ol=this.kI+this.It()+this.aK();this.Mqa=0==this.lI&&0==this.kI?0:this.lI/this.kI;this.LN=this.MN=0};a.prototype.Za=function(){this.K("scaleMode")&&(this.ZA(this.B("scaleMode")),this.S("scaleMode"));this.K("horizontalAlign")&&(this.PK(this.B("horizontalAlign")),this.S("horizontalAlign"));this.K("verticalAlign")&&(this.XK(this.B("verticalAlign")),
763this.S("verticalAlign"));this.Xla()&&(this.av=!0);g.prototype.Za.call(this);this.Jxa();if(this.c2a()){var r=!1;if(this.Sba||this.Aaa||this.av){var u=this.uf(),t=this.tf(),v=this.lI,w=this.kI,x;if(0==v||0==w)var y=x=0;else switch(this.Ef){case d.NONE:x=v;y=w;break;case d.Sx:x=u;y=t;break;case d.Ih:v*t>w*u?(x=u,y=w*u/v):(x=v*t/w,y=t);break;case d.Tr:v*t>w*u?(x=v*t/w,y=t):(x=u,y=w*u/v);break;case d.Cp:x=u;y=w*u/v;break;case d.nk:x=v*t/w,y=t}if(this.Jb!=x||this.Wb!=y)this.Jb=x,this.Wb=y,r=!0;this.Aaa=
764this.Sba=!1}if(r||this.av||this.z9)this.x_=this.$V=!0,this.Il&&p.css(this.Il,{width:this.Jb+"px",height:this.Wb+"px",visibility:"inherit"}),p.css(this.iW,{width:this.uf()+"px",height:this.tf()+"px","border-top-left-radius":this.VV(this.MOa(),this.Roa(),this.Poa())+"px","border-top-right-radius":this.VV(this.NOa(),this.Roa(),this.Qoa())+"px","border-bottom-left-radius":this.VV(this.KOa(),this.Ooa(),this.Poa())+"px","border-bottom-right-radius":this.VV(this.LOa(),this.Ooa(),this.Qoa())+"px"}),this.Yb(),
765this.z9=this.av=!1;if(this.$V&&this.Il){switch(this.Hl){case c.Wa:p.css(this.Il,{"margin-left":0,"margin-right":this.uf()-this.Jb+"px"});break;case c.ob:p.css(this.Il,{"margin-left":this.uf()-this.Jb+"px","margin-right":0});break;case c.Qe:p.css(this.Il,{"margin-left":Math.floor(.5*(this.uf()-this.Jb))+"px","margin-right":Math.ceil(.5*(this.uf()-this.Jb))+"px"})}this.$V=!1}if(this.x_&&this.Il){switch(this.mm){case c.zc:p.css(this.Il,{"margin-top":0,"margin-bottom":this.tf()-this.Wb+"px"});break;case c.sc:p.css(this.Il,
766{"margin-top":this.tf()-this.Wb+"px","margin-bottom":0});break;case c.le:p.css(this.Il,{"margin-top":Math.floor(.5*(this.tf()-this.Wb))+"px","margin-bottom":Math.ceil(.5*(this.tf()-this.Wb))+"px"})}this.x_=!1}}};a.prototype.Jxa=function(){if(this.Yda){var r=this.get("url");r?this.M8().load(r,this.ema,this):(this.M8().clear(),this.ema(null,0,0));this.Yda=!1}};a.prototype.VV=function(r,u,t){if(!r)return 0;var v=0;u&&(v=Math.max(v,u));t&&(v=Math.max(v,t));return Math.max(0,r-v)};return a});
767define("gb","require lE mv gW me mR".split(" "),function(a){var e=a("lE"),l=a("mv"),m=a("gW"),k=a("me"),b=a("mR");a=e.extend(k,function(){k.call(this)});a.prototype.tb=function(){k.prototype.tb.call(this);this.h("iconURL");this.v("rollOverIconURL",m.X,"iconURL");this.v("pressedIconURL",m.ub,"iconURL");this.v("pressedRollOverIconURL",m.cc,"iconURL")};a.prototype.Z6=function(){var h=new b(3);h.set("scaleMode",l.Ih);return h};a.prototype.Za=function(){if(this.K("iconURL")){var h=this.B("iconURL");this.wi.set("url",
768h);this.wi.set("visible",h?!0:!1);this.S("iconURL")}k.prototype.Za.call(this)};return a});define("ga",["require","nV","gb"],function(a){var e=a("nV"),l=a("gb");return e.define("Button",l,function(){l.call(this)})});define("ip",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("CapPanoramaOverlay",e,function(){e.call(this)})});define("ie",["require","nV","ip"],function(a){var e=a("nV"),l=a("ip");return e.define("CeilingCapPanoramaOverlay",l,function(){l.call(this)})});
769define("k",["require","nV","iQ"],function(a){var e=a("nV"),l=a("iQ");return e.define("ChildModel3DObject",l,function(){l.call(this)})});
770define("cB","require en jquery.mod lE pg cC e".split(" "),function(a){a("en");var e=a("jquery.mod"),l=a("lE"),m=a("pg"),k=a("cC"),b=a("e");a=l.extend(b,function(){b.call(this);this.Ge("Canvas");this.P7=!0;this.R=null;this.bind(m.pc,this.CLa,this)});a.prototype.CLa=function(){this.$0()};a.prototype.$0=function(){this.P7=!0;this.dl()};a.prototype.Db=function(){b.prototype.Db.call(this);this.R||(this.R=e("<canvas/>"),this.R.css({position:"absolute",left:0,top:0,cursor:"inherit"}),this.Ob().append(this.R))};
771a.prototype.Za=function(){this.Xla()&&this.$0();b.prototype.Za.call(this)};a.prototype.eh=function(){if(this.P7){this.P7=!1;var h=this.R.get(0);h.width=this.uf();h.height=this.tf();this.o8a()}b.prototype.eh.call(this)};a.prototype.k1a=function(){return this.R.get(0).width};a.prototype.j1a=function(){return this.R.get(0).height};a.prototype.i1a=function(){return this.R.get(0).getContext("2d")};a.prototype.o8a=function(){this.trigger(new k(m.ca))};return a});
772define("kq","require lE pg gW me cB".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("gW"),k=a("me"),b=a("cB");a=e.extend(k,function(){k.call(this)});a.prototype.hk=function(){k.prototype.hk.call(this)};a.prototype.tb=function(){k.prototype.tb.call(this);this.h("iconColor");this.v("rollOverIconColor",m.X,"iconColor");this.v("pressedIconColor",m.ub,"iconColor");this.v("pressedRollOverIconColor",m.cc,"iconColor")};a.prototype.Z6=function(){var h=new b;h.bind(l.ca,this.JGa,this,!0);return h};a.prototype.Za=
773function(){this.K("iconColor")&&(this.wi.$0(),this.S("iconColor"));k.prototype.Za.call(this)};a.prototype.mPa=function(){return this.B("iconColor")};a.prototype.nPa=function(){return this.wi.i1a()};a.prototype.pPa=function(){return this.wi.k1a()};a.prototype.oPa=function(){return this.wi.j1a()};a.prototype.JGa=function(){};return a});
774define("gk","require lE pg kq nl gW jg".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("kq"),k=a("nl"),b=a("gW"),h=a("jg");a=e.extend(m,function(){m.call(this);this.ma({horizontalAlign:k.Qe,verticalAlign:k.le});this.Pv=this.Pv.bind(this);this.bind(l.dd,this.fj,this,!0);this.bind(l.Tc,this.ej,this,!0)});a.prototype.tb=function(){m.prototype.tb.call(this);this.h("iconLineWidth");this.v("rollOverIconLineWidth",b.X,"iconLineWidth");this.v("pressedIconLineWidth",b.ub,"iconLineWidth");this.v("pressedRollOverIconLineWidth",
775b.cc,"iconLineWidth")};a.prototype.wPa=function(){return this.B("iconLineWidth")};a.prototype.Za=function(){this.K("iconLineWidth")&&(this.wi.$0(),this.S("iconLineWidth"));m.prototype.Za.call(this)};a.prototype.JGa=function(){var f=this.nPa(),c=this.mPa(),d=this.pPa(),g=this.oPa(),p=this.wPa();f.clearRect(0,0,d,g);f.lineWidth=p||1;f.strokeStyle=c||"#000000";f.beginPath();f.moveTo(0,0);f.lineTo(d,g);f.moveTo(0,g);f.lineTo(d,0);f.closePath();f.stroke()};a.prototype.fj=function(){h.Aea(this.Pv)}
775;a.prototype.ej=
776function(){h.vha(this.Pv)};a.prototype.Pv=function(){this.trigger(l.qa)};return a});define("jD",["require","nV","gk"],function(a){var e=a("nV"),l=a("gk");return e.define("CloseButton",l,function(){l.call(this)})});define("ks",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("CookiesPolicy",e,function(){e.call(this)})});
777define("mf",["require","lH","nV","oA"],function(a){var e=a("lH"),l=a("nV"),m=a("oA");a=l.define("Container",m,function(){m.call(this)});a.prototype.scrollTo=function(k,b){m.prototype.scrollTo.call(this,k,b)};a.prototype.scrollIntoView=function(k){e.RA(function(){m.prototype.scrollIntoView.call(this,k)}.bind(this))};return a});
778define("lM",["require","mh","nV"],function(a){var e=a("mh"),l=a("nV");a=l.define("PanoramaFrame",e,function(){e.call(this);this.ra=null});a.prototype.get=function(m,k){switch(m){case "overlays":return this.O8();case "hfov":case "vfov":case "pitch":case "flipImageHorizontally":case "minFaceSize":if(this.ra)return this.ra.get(m,k)}return e.prototype.get.call(this,m,k)};a.prototype.O8=function(){var m=e.prototype.get.call(this,"overlays");m||(m=[]);return this.tca(m)};a.prototype.tca=function(m){if(void 0===
779this.VI||this.JW!=m){var k=function(h){return l.Ga("PopupPanoramaOverlay",h)},b=function(h){return l.Ga("LensFlarePanoramaOverlay",h)};this.JW=m;this.VI=[].concat(m.filter(function(h){return!(k(h)||b(h))}),m.filter(b),m.filter(k))}return this.VI};a.prototype.k_a=function(m){this.ra=m};a.prototype.wA=function(){return this.ra};a.prototype.tm=function(){return!1};return a});define("oO",["require","nV","lM"],function(a){var e=a("nV"),l=a("lM");return e.define("CubicPanoramaFrame",l,function(){l.call(this)})});
780define("iC",["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.",
781"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",
782accept:"\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.",
783"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.",
784download:"\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",
785"exit-fullscreen":"\u0418\u0437\u043b\u0435\u0437\u0442\u0435 \u043e\u0442 \u0446\u044f\u043b \u0435\u043a\u0440\u0430\u043d",
785no:"\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.",
786"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 <a> \u041f\u0440\u0430\u0432\u0438\u043b\u0430\u0442\u0430 \u0437\u0430 \u0431\u0438\u0441\u043a\u0432\u0438\u0442\u043a\u0438\u0442\u0435 </a>.",
787"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",
788"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.",
789"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.",
790"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.",
791"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.",
792"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.",
793"\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."],
794"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",
795"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.",
796"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.",
797"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.",
798cancel:"Sulje","change-to-click-and-move":"Muuta ohjaustilaa klikkaamalla ja siirt\u00e4m\u00e4ll\u00e4",yes:"Kyll\u
79800e4","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.",
799"cookies-notice":"T\u00e4m\u00e4 verkkosivu k\u00e4ytt\u00e4\u00e4 ev\u00e4steit\u00e4 k\u00e4ytt\u00f6tilastojen ker\u00e4\u00e4miseen. Lis\u00e4tietoja <a>ev\u00e4stek\u00e4yt\u00e4nn\u00f6st\u00e4</a>.","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.",
800"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.",
801"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.",
802"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",
803"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.",
804"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\u
80400e1lna 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.",
805download:"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.",
806"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 <a> pravidl\u00e1ch pou\u017e\u00edvania s\u00faborov cookie </a>.","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.",
807"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.",
808"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.",
809"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.",
810"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.",
811"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",
812accept:"\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.",
813"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.",
814download:"\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",
815"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.",
816"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 <a> \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</a>.",
817"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",
818"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",
819downloading:"\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.",
820"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.",
821"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.",
822"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.",
823"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.",
824"\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."],
825"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\
825u044c \u0443 \u043f\u043e\u0432\u043d\u043e\u0435\u043a\u0440\u0430\u043d\u043d\u0438\u0439 \u0440\u0435\u0436\u0438\u043c",
826"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.",
827"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.",
828"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.",
829download:"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 <a>Cookie Policy</a>.",
830"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?",
831reject:"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.",
832"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",
833"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 ver
833sion 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",
834"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.",
835cancel:"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 <a>Cookie Policy</a>.",
836"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.",
837downloaded:"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.",
838"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",
839"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",
840"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",
841"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 <a>Kebijakan Cookie</a>.",
842"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?",
843reject:"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.",
844"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",
845"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.",
846"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","
846web-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.",
847download:"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.",
848"cookies-notice":"Esta p\u00e1gina da web usa cookies para coletar estat\u00edsticas de uso. Para obter mais informa\u00e7\u00f5es, visite a <a>Pol\u00edtica de cookies</a>.","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",
849downloading:"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.",
850"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."],
851"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",
852"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.",
853"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",
854"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 <a>Cookie Policy</a>.","use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser",
855"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.",
856"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?",
857"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",
858"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 ver
858sion 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",
859"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",
860download:"\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",
861"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<a> Cookie\u653f\u7b56</a>\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",
862"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.",
863"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",
864"\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",
865"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 ver
865sjon du bruker, velger du standard hotspot-kontrollen. Du vil da bare se p\u00e5 et hotspot og vente til handlingen utl\u00f8ses.",
866"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.",
867download:"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.",
868"cookies-notice":"Denne websiden bruker informasjonskapsler for \u00e5 samle inn bruksstatistikk. For mer informasjon, bes\u00f8k <a>retningslinjer for informasjonskapsler</a>.","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",
869"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.",
870"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."],
871"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",
872"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",
873"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","
873web-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",
874yes:"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 <a>Pol\u00edtica de cookies</a>.",
875"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.",
876"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.",
877"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",
878unmute:"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.",
879"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.",
880cancel:"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 <a>Pravila o kola\u010di\u0107ima</a>.",
881"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.",
882downloaded:"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.",
883"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",
884"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 zvu
884k?"},"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",
885"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",
886"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",
887download:"\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",
888no:"\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",
889"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<a>Cookie\u30dd\u30ea\u30b7\u30fc</a>\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",
890"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",
891"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",
892"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",
893"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"],
894"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",
895"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",
896"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",
897"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",
898download:"\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",
899"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<a>Cookie\u653f\u7b56</a>\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",
900"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.",
901"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",
902"\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",
903"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",
904"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.",
905cancel:"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.",
906"cookies-notice":"Deze webpagina maakt gebruik van cookies om gebruiksstatistieken te verzamelen. Raadpleeg het <a>Cookiebeleid</a> 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.",
907"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.",
908"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",
909unmute:"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.",
910"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.",
911download:"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.",
912"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 <a>s\u00fctikre vonatkoz\u00f3 ir\u00e1nyelvekbe</a>.","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.",
913"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.",
914"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."],
915"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",
916"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",
917accept:"\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",
918yes:"\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.",
919"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 <a> \u0633\u064a\u0627\u0633\u0629 \u0645\u0644\u0641\u0627\u062a \u062a\u0639\u0631\u064a\u0641 \u0627\u0644\u0627\u0631\u062a\u0628\u0627\u0637 </a>.",
920"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",
921"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.",
922"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",
923"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.",
924"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.",
925download:"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.",
926"cookies-notice":"Aquesta p\u00e0gina web utilitza cookies per recopilar estad\u00edstiques d\u2019\u00fas. Per obtenir m\u00e9s informaci\u00f3, visiteu la <a>Pol\u00edtica de cookies</a>.","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",
927downloading:"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.",
928"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."],
929"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",
930"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.",
931"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",
932accept:"\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.",
933"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.",
934cancel:"\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.",
935"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.",
936"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. <
936a>\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</a>.",
937"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",
938"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.",
939"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..",
940downloaded:"\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.",
941"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.",
942"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.",
943"\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."],
944"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",
945"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.",
946"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 ver
946sjon du bruker, velger du standard hotspot-kontrollen. Du vil da bare se p\u00e5 et hotspot og vente til handlingen utl\u00f8ses.",
947"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.",
948download:"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.",
949"cookies-notice":"Denne websiden bruker informasjonskapsler for \u00e5 samle inn bruksstatistikk. For mer informasjon, bes\u00f8k <a>retningslinjer for informasjonskapsler</a>.","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",
950"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.",
951"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."],
952"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",
953"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\u00f1
953adir la p\u00e1gina a los marcadores y recargarla.",
954"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",
955"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 <a>Pol\u00edtica de Cookies</a>.","use-cardboard":"Usar Cardboard",
956"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?",
957reject:"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.",
958"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",
959unmute:"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.",
960"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",
961"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",
962yes:"\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.",
963"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 <a> \u03a0\u03bf\u03bb\u03b9\u03c4\u03b9\u03ba\u03ae cookie </a>.",
964"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;",
965"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.",
966"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",
967"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;"},
968"da-dk":{mute:"Deaktiver lyd","cardboard-v1":"If you are not sure, which Cardboard ver
968sion 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",
969"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",
970"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 <a> Cookiepolitik </a>.","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",
971downloading:"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.",
972"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."],
973"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",
974"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.",
975"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",
975yes:"tak","delete-downloaded":"Usu\u0144","use-safari-for-vr":"Zalecamy Safari, jako przegl\u0105dark\u0119 spacer\u00f3w w trybie VR",
976"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 <a>Zasady dotycz\u0105ce plik\u00f3w cookie</a>.",
977"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.",
978"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.",
979"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",
980unmute:"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.",
981"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.",
982download:"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 S
982afari 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.",
983"cookies-notice":"Cette page Web utilise des cookies pour collecter des statistiques d'utilisation. Pour plus d'informations, veuillez consulter la <a>Politique en mati\u00e8re de cookies</a>.","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.",
984"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.",
985"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.",
986"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",
987"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.",
988"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.",
989cancel:"Abbrechen","change-to-click-and-move":"\u00c4ndern Sie den Steuerungsmodus, um zu klicken und zu drehe
989n",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.",
990"cookies-notice":"Diese Webseite verwendet Cookies, um Nutzungsstatistiken zu sammeln. Weitere Informationen finden Sie in der <a>Cookie-Richtlinie</a>.","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.",
991"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.",
992"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",
993"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.",
994"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.",
995cancel:"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.",
996"cookies-notice":"Bu web sayfas\u0131, kullan\u0131m istatistiklerini toplamak i\u00e7in tan\u0131mlama bilgileri kullan\u0131r. Daha fazla bilgi i\u00e7in l\u00fctfen <a>\u00c7erez Politikas\u0131n\u0131</a> 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.",
997"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.",
998"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",
999"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?"}}});
1000define("pe",["require","lE","iC","mC"],function(a){function e(d){return m[c][d]||m.en[d]||d}var l=a("lE"),m=a("iC"),k=a("mC"),b;for(b in m)m[b.substr(0,2)]=m[b];m.en["giroscope-disabled-safari-toggle-on"]='<div>
1000Your device\'s motion and orientation access and VR mode are disabled for this site.</div>\n<div>To properly see this webpage, please enable it:</div>\n<ul style="display:inline-block; text-align:left;">\n<li>Access you device\'s settings: "Settings > Safari > Privacy & Security" and toggle on: "Motion & Orientation Access".</li>\n<li>Refresh the browser.</li>\n</ul>';m["zh-hk"]=
1001m["zh-mo"]=m["zh-tw"];m.no=m.nn;var h=function(){var d=window.navigator,g=["language","browserLanguage","systemLanguage","userLanguage"],p,q,n=[];(p=k.getQueryParameter("language"))&&n.push(p.toLowerCase());var r=d.languages;if(Array.isArray(r))for(p=0;p<r.length;p++)(q=r[p])&&q.length&&(q=q.toLowerCase(),-1==n.indexOf(q)&&n.push(q));for(p=0;p<g.length;p++)(q=d[g[p]])&&q.length&&(q=q.toLowerCase(),-1==n.indexOf(q)&&n.push(q));return n}(),f=Object.keys(m),c=function(){for(var d=0;d<h.length;d++){var g=
1002h[d];if(0<=f.indexOf(g))return g;g=g.substr(0,2);if(0<=f.indexOf(g))return g}return"en"}();e.log=function(){l.log("translation lang: "+c);l.log("browser lang: "+h.join(", "))};return e});
1003define("pv",["require"],function(){var a={};a.src=a.r$a="data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=";return a});
1004define("eg",["require","pv","v"],function(a){function e(q){var n=document.createElement("video");n.setAttribute("webkit-playsinline","true");n.setAttribute("playsinline","true");n.src=h.src;var r=n.play();if(r){var u=!1;r.then(function(){u=!0;n.pause();q(!1)})["catch"](function(){u||q(!0)})}else n.pause(),q(!1)}function l(q){var n=!1,r=document.createElement("video");r.setAttribute("webkit-playsinline","true");r.setAttribute("playsinline","true");r.src="";(r=r.play())?r["catch"](function(u){n="NotAllowedError"!==
1005u.name}).then(function(){q(!n)}):q(!0)}function m(q){p=q;d=!0;k()}function k(){for(;g.length;)g.shift().call(window,p)}function b(){c||(c=!0,f.browser()==f.Hm&&11<=f.Hha()?m(!0):f.browser()==f.li?e(m):l(function(q){q?e(m):m(!1)}))}var h=a("pv"),f=a("v"),c=!1,d=!1,g=[],p;return{test:function(q){d||c||b();g.push(q);d&&k()}}});
1006define("bF",["require","pe","mm","eg"],function(a){function e(h,f){this.AE=h;this.$o=f;
1006this.Nq=this.Nq.bind(this);this.Oq=!1}function l(){this.Nq=this.Nq.bind(this);this.$da=this.$da.bind(this);this.C="not tested";this.Jla=[];this.Nu=[];this.mY=!1;k.wait(this.$da)}var m=a("pe"),k=a("mm"),b=a("eg");l.prototype.b8a=function(){"not tested"==this.C&&(this.C="testing",b.test(function(h){this.C=h?"requires action":"allowed";this.eSa()}.bind(this)))};l.prototype.eSa=function(){"allowed"==this.C?this.Nq(!0):
1007this.mY&&(this.mY=!1,this.Nu.forEach(function(h){h.request()}))};l.prototype.gja=function(h){"allowed"==this.C?h.call(this,!0):this.Jla.push(h)};l.prototype.request=function(h){this.Ws(h)};l.prototype.cancel=function(h){this.kC(h)};l.prototype.active=function(){return"allowed"==this.C};l.prototype.G6a=function(){"allowed"==this.C&&(this.C="requires action")};l.prototype.$da=function(){setTimeout(this.ALa.bind(this),300);this.ps(!0)};l.prototype.ALa=function(){for(;this.Nu.length;)this.Nu.pop().cancel()};
1008l.prototype.Ws=function(h){"testing"==this.C||"not tested"==this.C?(this.B5(h),this.mY=!0):"requires action"==this.C&&this.B5(h).request()};l.prototype.kC=function(h){"testing"==this.C||"not tested"==this.C?this.mY=!1:"requires action"==this.C&&this.B5(h).cancel()};l.prototype.Nq=function(h){var f=this.Nu;this.Nu=[];f.forEach(function(c){h||c.AE.set("mute",!0);c.cancel()});this.ps(h)};l.prototype.ps=function(h){this.C="allowed";this.Jla.forEach(function(f){f.call(window,h)})};l.prototype.B5=function(h){for(var f=
1009null,c=0;c<this.Nu.length&&!f;c++)this.Nu[c].AE==h&&(f=this.Nu[c]);f||(f=new e(h,this.Nq),this.Nu.push(f));return f};e.prototype.request=function(){this.Oq||(this.Oq=!0,"button"==this.AE.get("mediaActivationMode")?this.AE.mJ.U4a(this.Nq):this.AE.RH.show(m("enable-audio-prompt"),this.Nq))};e.prototype.cancel=function(){this.AE.mJ.z_a(this.Nq);this.AE.RH.hide(this.Nq)};e.prototype.Nq=function(h){this.$o(!1!==h);this.Oq=!1};return new l});
1010define("gf",["require","pg","mP","bF","hq"],function(a){var e=a("pg"),l=a("mP"),m=a("bF"),k=a("hq");if(!l.ija||!1==="AudioContext"in window)return null;var b=new AudioContext;m.gja(function(){"running"!==b.state&&b.resume()});k.bind(e.ca,function(){k.visible&&"interrupted"==b.state&&b.resume()});return b});
1011define("em","require gf pg v mC mP hq".split(" "),function(a){function e(f){this.Ci=this.Ci.bind(this);this.Ms=this.Ms.bind(this);this.pf=!1;this.cr=this.KV=1;this.YV=!0;this.Ty=this.FG=null;this.V=f;this.V.addEventListener("play",this.Ci,!0);this.V.addEventListener("playing",this.Ms,!0);this.Lva();this.rE()}var l=a("gf");a("pg");var m=a("v"),k=a("mC"),b=a("mP");a("hq");var h;e.prototype.clear=function(){this.V&&(this.nXa(),this.V.removeEventListener("play",this.Ci,!0),this.V.removeEventListener("playing",
1012this.Ms,!0),this.V=null)};e.prototype.Lva=function(){b.ija&&m.browser()==m.li&&l&&!this.FG&&this.Xy()&&(h||(h=l.createDelay(),h.delayTime.value=.3,h.connect(l.destination)),this.FG=l.createMediaElementSource(this.V),this.Ty=l.createGain(),this.FG.connect(this.Ty),this.Ty.connect(h))};e.prototype.nXa=function(){this.FG&&(this.FG.disconnect(),this.FG=null);this.Ty&&(this.Ty.disconnect(),this.Ty=null)};e.prototype.N5a=function(f){this.YV!=f&&(this.V.log("AudioController","set hasAudio: "+f),this.YV=
1013f,this.rE())};e.prototype.Jf=function(f){this.pf!=f&&(this.V.log("AudioController","set muted: "+f),this.pf=f,this.rE())};e.prototype.vx=function(f){this.cr!=f&&(this.V.log("AudioController","set volume: "+f),this.cr=f,this.rE())};e.prototype.KS=function(f){this.KV!=f&&(this.V.log("AudioController","set gain: "+f),this.KV=Math.max(0,Math.min(1,f)),this.rE())};e.prototype.Ci=function(){this.rE()};e.prototype.Ms=function(){this.rE()};e.prototype.rE=function(){this.V.log("AudioController","updateVolume paused: "+
1014this.V.paused+" outputVolume: "+(!this.YV||this.pf?0:this.cr*this.KV));if(!this.V.paused){var f=!this.YV||this.pf?0:this.cr*this.KV;0<f&&1>f&&this.Lva();this.Ty?(this.Ty.gain.value=f,this.V.volume=1):this.V.volume=f;this.V.muted=0==f}};e.prototype.Xy=function(){var f=this.V.currentSrc||this.V.children.length&&this.V.children[0].src||"";k.zA(f)&&(f=void 0);return f};return e});define("id",["require"],function(){return{Zn:"video",kHa:"audio"}});
1015define("nx","require lE pg lg ik cC gv v mC bv hq".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("lg"),k=a("ik"),b=a("cC"),h=a("gv"),f=a("v"),c=a("mC"),d=a("bv"),g=a("hq"),p=e.extend(h,function(q){h.call(this);this.V=q;this.pD=this.pD.bind(this);this.Ov=this.Ov.bind(this);this.Tl=this.Tl.bind(this);this.tD=this.tD.bind(this);this.Rj=this.Rj.bind(this);this.Wl=this.Wl.bind(this);this.Ci=this.Ci.bind(this);this.Ms=this.Ms.bind(this);this.uQ=this.uQ.bind(this);this.V.addEventListener("ended",this.Tl,
1016!0);this.V.addEventListener("pause",this.Wl,!1);this.V.addEventListener("stalled",this.Wl,!1);this.V.addEventListener("waiting",this.Wl,!1);this.V.addEventListener("canplay",this.pD,!0);this.V.addEventListener("canplaythrough",this.Ov,!1);this.V.addEventListener("loadedmetadata",this.Rj,!0);this.V.addEventListener("play",this.Ci,!1);this.V.addEventListener("playing",this.Ms,!1);this.V.addEventListener("error",this.tD,!1);this.L7=!1;this.C=m.W;this.rI=this.fi=null;g.bind(l.ca,this.BZa,this)});p.prototype.clear=
1017function(){this.V&&(this.V.removeEventListener("ended",this.Tl,!0),this.V.removeEventListener("pause",this.Wl,!1),this.V.removeEventListener("stalled",this.Wl,!1),this.V.removeEventListener("waiting",this.Wl,!1),this.V.removeEventListener("canplay",this.pD,!0),this.V.removeEventListener("canplaythrough",this.Ov,!1),this.V.removeEventListener("loadedmetadata",this.Rj,!0),this.V.removeEventListener("play",this.Ci,!1),this.V.removeEventListener("error",this.tD,!1),this.V=null)};p.prototype.play=function(){this.V.log("PlaybackController",
1018"play");this.rI=m.Y;this.dP()};p.prototype.stop=function(){this.V.log("PlaybackController","stop");this.rI=m.W;this.dP()};p.prototype.getState=function(){return this.fi||this.C};p.prototype.XE=function(){return this.V.readyState==this.V.HAVE_NOTHING||this.V.readyState==this.V.HAVE_METADATA||0===this.V.currentTime?!1:!0};p.prototype.dP=function(){!this.fi&&this.rI&&(this.fi=this.rI,this.rI=null,this.fi==m.Y?this.Aca():this.zca())};p.prototype.BZa=function(){if(g.visible)this.V.log("PlaybackController",
1019"visibile changed to true, setting state to "+this.C),this.fi=this.C,this.fi==m.Y?this.Aca():this.zca();else if(!this.V.paused){this.V.log("PlaybackController","paused by visibile changed to false");var q=this.V.pause();q&&q["catch"](this.tD)}};p.prototype.Xy=function(){return this.V.currentSrc||this.V.children.length&&this.V.children[0].src||""};p.prototype.Aca=function(){var q=this.Xy();this.iZ(q&&!c.zA(q));this.oU=f.browser()==f.li;this.V.paused?(this.V.log("PlaybackController","startPlaying calling play"),
1020this.V.muted=!0,this.V.log("PlaybackController","this._media.play()"),(q=this.V.play())&&q["catch"](this.tD)):(this.V.log("PlaybackController","startPlaying already playing"),this.Ci())};p.prototype.Ms=function(){this.V.log("PlaybackController","onPlaying event received. Visible: "+g.visible)};p.prototype.Ci=function(){this.fi==m.Y?(this.V.log("PlaybackController","onPlay event received when waiting to play"),this.fi=null,this.C=m.Y,this.trigger(new b(p.o4)),this.dP()):this.V.log("PlaybackController",
1021"onPlay event received. Visible: "+g.visible)};p.prototype.zca=function(){this.iZ(!1);this.oU=!1;if(this.V.paused)this.V.log("PlaybackController","startPausing already paused"),this.Wl();else{this.V.log("PlaybackController","startPausing calling pause");var q=this.V.pause();q&&q["catch"](this.tD)}};p.prototype.Wl=function(){this.fi==m.W?(this.V.log("PlaybackController","onPause event received when waiting to stop"),this.fi=null,this.C=m.W,this.dP()):g.visible?(this.V.log("PlaybackController","onPause event received without calling to pause"),
1022(this.C==m.Y&&!this.fi||this.fi==m.Y)&&!this.V.hasAttribute("loop")&&!isNaN(this.V.duration)&&this.V.currentTime==this.V.duration&&0<this.V.duration&&this.Tl(),this.uQ()):this.V.log("PlaybackController","onPause event received when not visible")};p.prototype.pD=function(){this.V.log("PlaybackController","on can play");this.uQ()};p.prototype.Ov=function(){this.V.log("PlaybackController","can play through");this.uQ();this.iZ(!1)};
1022p.prototype.uQ=function(){if(this.Ova()){if(this.oU&&0==this.V.currentTime){this.V.log("PlaybackController",
1023"updatePlaying applying ios hack");this.oU=!1;try{this.V.currentTime=.3}catch(q){}}f.browser()!=f.UF&&this.Jua()}};p.prototype.Ova=function(){return this.C==m.Y&&g.visible&&this.V.paused&&3<=this.V.readyState};p.prototype.Jua=function(q){this.Kua||(q?this.Ova()&&(this.V.log("PlaybackController","updatePlaying retrying play"),this.fi=m.Y,this.Aca()):this.Kua=setTimeout(function(){this.Kua=null;this.Jua(!0)}.bind(this),500))};p.prototype.tD=function(){this.fi==m.Y&&(this.V.log("PlaybackController",
1024"onError waiting to play"),this.fi=null,this.rI?this.dP():f.browser()==f.li?this.trigger(new b(p.R3)):this.fi=m.Y)};p.prototype.Rj=function(){this.V.log("PlaybackController","on loaded metadata");!isNaN(this.V.duration)&&this.V.currentTime==this.V.duration&&0<this.V.duration&&this.Tl()};p.prototype.Tl=function(){this.V.log("PlaybackController","onEnded");this.oU=!1;if(this.C==m.Y&&!this.fi||this.fi==m.W)this.V.log("PlaybackController","onEnded finalizing video"),this.iZ(!1),this.fi=m.W,this.zca(),
1025this.trigger(new b(p.kk))};p.prototype.iZ=function(q){this.L7!=q&&(this.V.log("PlaybackController","downloading changed to: "+q),(this.L7=q)?d.J7a(k.Rja):d.I7a(k.Rja))};p.R3="deactivated";p.kk="end";p.o4="play";return p});
1026define("B",["require","lE","pg","cC","gv"],function(a){var e=a("lE"),l=a("pg");a("cC");var m=a("gv");a=e.extend(m,function(k){m.call(this);this.Rj=this.Rj.bind(this);this.W$=this.W$.bind(this);this.Ai=this.Ai.bind(this);this.V=k;this.Tk=null;this.Ae=[];this.V.addEventListener("loadedmetadata",this.Rj,!0);this.V.textTracks.addEventListener("addtrack",this.W$,!1)});a.prototype.set=function(k){k&&this.$Ja(k)};a.prototype.clear=function(){this.yUa()};a.prototype.pR=function(){var k=this.Tk&&this.Tk.track.activeCues;
1027k&&(k=Array.prototype.slice.call(k,0));return k||[]};a.prototype.Rj=function(){this.Hxa()};a.prototype.W$=function(){this.Hxa()};a.prototype.Ai=function(){this.dva(this.Tk.track.activeCues)};a.prototype.dva=function(k){k||(k=[]);if(0!=this.Ae.length||0!=k.length)this.Ae=Array.prototype.slice.call(k),this.trigger(l.jk,this.Ae)};a.prototype.$Ja=function(k){this.V.log("TextTracksController","add text track src: "+k);this.Tk=document.createElement("track");this.Tk.kind="subtitles";this.Tk.src=k;this.V.appendChild(this.Tk)};
1028a.prototype.yUa=function(){this.Tk&&(this.V.log("TextTracksController","remove text track"),this.Tk.track.removeEventListener("cuechange",this.Ai),this.Tk.track.mode="disabled",this.Tk.src="",this.V.removeChild(this.Tk),this.Tk=null,this.dva([]))};a.prototype.Hxa=function(){for(var k=0;k<this.V.textTracks.length;k++){var b=this.V.textTracks[k];b.removeEventListener("cuechange",this.Ai);b.mode=this.Tk&&b==this.Tk.track?"hidden":"disabled";"hidden"==b.mode&&b.addEventListener("cuechange",this.Ai)}};
1029return a});
1030define("ir",["require","exports","mC"],function(a,e,l){return function(){function m(){}m.is=function(k,b){k=l.parse(k).B0a;return-1!=b.indexOf(k)};m.zA=function(k,b){return!!k&&b.some(function(h){return 0===k.indexOf(h)})};m.pka=[".mp4",".m4v",".m4p"];m.YHa=[".hevc"];m.Xja=[".mov"];m.fJa=[".webm"];m.rIa=[".ogv",".ogg"];m.HLS=[".m3u8"];m.iJa=[".json"];m.aIa=".jpg .jpeg .png .webp .gif .avif .apng .bmp".split(" ");m.Zn=".m3u8 .mpd .mp4 .m4v .m4p .webm .ogv .ogg .mpg .mpeg .m3u8 .mpd".split(" ");m.bIa=
1031["data:image/"];return m}()});
1032define("eD","require lE pg cC gv v ir".split(" "),function(a){var e=a("lE");a("pg");var l=a("cC"),m=a("gv"),k=a("v"),b=a("ir"),h=e.extend(m,function(f){m.call(this);this.V=f;this.Ov=this.Ov.bind(this);this.Wl=this.Wl.bind(this);this.Ci=this.Ci.bind(this);this.Rj=this.Rj.bind(this);this.Tl=this.Tl.bind(this);this.UX=this.UX.bind(this);this.ff=this.ff.bind(this);this.p$=this.YH=this.hE=void 0;this.Uca=0;this.V.addEventListener("ended",this.Tl,!0);this.V.addEventListener("pause",this.Wl,!1);this.V.addEventListener("canplaythrough",
1033this.Ov,!1);this.V.addEventListener("timeupdate",this.UX,!1);this.V.addEventListener("play",this.Ci,!1);this.V.addEventListener("playing",this.Ms,!1)});
1033h.prototype.clear=function(){this.V&&(this.V.removeEventListener("ended",this.Tl,!0),this.V.removeEventListener("pause",this.Wl,!1),this.V.removeEventListener("canplaythrough",this.Ov,!1),this.V.removeEventListener("timeupdate",this.UX,!1),this.V.removeEventListener("play",this.Ci,!1),this.V.removeEventListener("playing",this.Ms,!1),this.V=null,this.hE&&
1034clearInterval(this.hE))};h.prototype.setTime=function(f){if(!this.V.srcObject){this.Uca=0;this.KW=void 0;this.V.log("TimeController","setTime: "+f);k.Uya()&&!b.is(this.Xy(),b.HLS)?this.TL=f||0:this.TL=void 0;try{this.V.currentTime=f}catch(c){}k.browser()==k.Hx||k.browser()==k.UF||k.mc()==k.nL&&0==f||(this.YH=f,this.gxa())}};h.prototype.getTime=function(){return this.YH||this.V.currentTime||0};h.prototype.oj=function(){return this.V.duration||0};h.prototype.Ci=function(){this.ica(!0)};h.prototype.Wl=
1035function(){this.ica(!1);this.KW=void 0};h.prototype.Ov=function(){this.V.log("TimeController","on can play through");this.gxa()};h.prototype.Tl=function(){this.TL=void 0;this.ica(!1)};h.prototype.Rj=function(){this.trigger(new l(h.Qi))};h.prototype.gxa=function(){if(this.V.readyState>=this.V.HAVE_ENOUGH_DATA&&void 0!==this.YH){this.V.log("TimeController","updateCurrentTime when can play through set time to: "+this.YH);try{this.V.currentTime=this.YH}catch(f){}this.YH=void 0}};h.prototype.ff=function(){this.trigger(new l(h.Kf))};
1036h.prototype.UX=function(){if(k.Uya()&&!k.o2a()&&!this.V.paused&&this.V.readyState>=this.V.HAVE_ENOUGH_DATA){var f=(new Date).getTime();this.KW||(this.KW=f);this.p$&&500<f-this.p$&&(this.Uca++,.4<this.Uca/(.001*(f-this.KW))&&k.M6a());this.p$=f}if(void 0!==this.TL&&this.V.currentTime>this.TL){this.TL=void 0;try{this.V.currentTime-=.01}catch(c){}}this.ff()};h.prototype.ica=function(f){!!this.hE!=f&&(this.hE?(clearInterval(this.hE),this.hE=null):this.hE=setInterval(this.ff,16))};h.prototype.Xy=function(){return this.V.currentSrc||
1037this.V.children.length&&this.V.children[0].src||""};h.Kf="time update";h.Qi="duration update";return h});
1038define("lY","require jquery.mod lE gf v mP mC".split(" "),function(a){function e(){}a("jquery.mod");var l=a("lE"),m=a("gf"),k=a("v"),b=a("mP");a=a("mC");e.oea=!1;e.g7a=function(){e.oea=!0};e.sQa=function(){window.MediaSource=window.MediaSource||window.x9a;return window.MediaSource&&"function"===typeof window.MediaSource.isTypeSupported&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')};e.DQa=function(){if(k.browser()==k.li){var c=k.dga();if(10<=c&&11>c||11.3<=c)return!0}return!1};
1039e.tQa=function(){return k.browser()==k.Hm||k.browser()==k.li?!0:!1};var h;e.Xya=function(c){try{return h||(h=document.createElement("audio")),!!h.canPlayType(c).replace(/^no$/,"")}catch(d){}return!1};var f;e.GJ=function(c){try{return f||(f=document.createElement("video"),f.setAttribute("webkit-playsinline","true"),f.setAttribute("playsinline","true")),!!f.canPlayType(c).replace(/^no$/,"")}catch(d){}return!1};e.q_a=function(){return k.browser()==k.li?15<=k.dga()||m?!0:!1:!0};e.uQa=function(){try{if(document.createElement("canvas").getContext("webgl"))return!0}catch(c){}try{if(document.createElement("canvas").getContext("experimental-webgl"))return!0}catch(c){}return!1};
1040e.gGa=function(c,d,g,p){if(b.$Ia)return!0;if(k.Jd()==k.ni)if(!g||30<g){if(3168>=c&&1584>=d)return!0}else{if(4096>=c&&2048>=d)return!0}else if((k.qK()||k.bF())&&!k.sr())if("h264"==p){if(4400>=c&&4400>=d||6200>=c&&3100>=d)return!0}else{if(5760>=c&&5760>=d||8192>=c&&4096>=d)return!0}else if(k.d3a()&&!k.sr())if(!g||30<g){if(2880>=c&&2880>=d||4096>=c&&2048>=d)return!0}else{if(4096>=c&&4096>=d||5760>=c&&2880>=d||2880>=c&&5760>=d)return!0}else if((k.qK()||k.bF())&&k.oga()){if("h264"==p&&(5760>=c&&5760>=
1041d||7680>=c&&3840>=d)||3840>=c&&2160>=d)return!0}else if(k.sK())if("h264"==p){if(5760>=c&&5760>=d||7680>=c&&3840>=d)return!0}else{if(4400>=c&&2200>=d)return!0}else if(k.nb()){if(3840>=c&&2160>=d)return!0}else if(4096>=c&&2048>=d)return!0;return!1};e.s_a=function(){return k.sK()||(k.qK()||k.bF())&&k.mc()==k.sp||!k.nb()&&e.oea&&k.browser()==k.Gm?!0:!1};e.fGa=function(c){return e.gGa(c.get("width"),c.get("height"),c.get("framerate"),c.get("codec"))};e.r_a=function(){return e.oea?!0:!1};e.QDa=!b.THa&&
1042b.SHa?1:2;e.t_a=function(){return void 0!==b.Fja?b.Fja:k.bF()||k.sK()||k.FBa()||k.GBa()||k.qK()&&!k.sr()||!k.Hf()&&k.Jd()!=k.kB&&k.Jd()!=k.ni?!0:!1};e.X7a=function(c,d){return e.gGa(c,d,30)};e.log=function(){l.log("webgl: "+e.Pr);l.log("html5 audio: "+e.mBa);l.log("html5 video: "+e.pBa)};e.hXa=function(){return["webgl:"+e.Pr,"html5audio:"+e.mBa,"html5video:"+e.pBa].join(" ")};e.oBa=e.Xya('audio/ogg; codecs="vorbis"');
1042e.nBa=e.Xya("audio/mpeg");e.mBa=e.oBa||e.nBa;e.bga=e.GJ('video/ogg; codecs="theora"');
1043e.GJ('video/mp4; codecs="avc1.42E01E"');e.cga=e.GJ('video/webm; codecs="vp8, vorbis"');e.w2a=e.GJ('video/mp4; codecs="hev1"');e.X0=e.GJ("video/mp4");e.x2a=e.GJ("video/quicktime");e.y2a=e.DQa();e.$Aa=e.tQa();e.h2a=e.$Aa||e.X0&&e.sQa();e.pBa=e.bga||e.X0||e.cga;e.Pr=e.uQa();a.pj("debug")&&a.pj("capabilities")&&e.log();e.summary=e.hXa();return e});
1044define("cz",["require","exports","mC"],function(a,e,l){a=function(){function m(){this.u1=this.yga=null;this.W_=[];this.WR=!1}m.prototype.initialize=function(k,b){this.yga=l.zx(k);this.u1=b;this.F_=this.F_.bind(this);this.ha()};m.prototype.load=function(k,b){this.W_.push({call:k,context:b||window});this.dF||(this.dF=this.opa());this.ha()};m.prototype.ii=function(){return void 0!==this.dF};m.prototype.ha=function(){0<this.W_.length&&(void 0!==this.dF?this.uNa():this.yga&&this.DN())};m.prototype.DN=
1045function(){if(!this.WR&&void 0===this.dF){this.WR=!0;var k=document.createElement("script");k.type="text/javascript";k.src=this.yga;document.getElementsByTagName("head")[0].appendChild(k);this.F_()}};m.prototype.F_=function(){var k=this.opa();void 0===k?setTimeout(this.F_,250):(this.dF=k,this.WR=!1,this.ha())};m.prototype.opa=function(){if(this.u1){for(var k=window,b=0;b<this.u1.length&&void 0!==k;b++)k=k[this.u1[b]];return k}};m.prototype.uNa=function(){for(;0<this.W_.length;){var k=this.W_.pop();
1046k.call.call(k.context,this.dF)}};return m}();e={};e.gJa=new a;e.ala=new a;e.HLS=new a;e.initialize=function(m){this.HLS.initialize(m.get(TDV.PlayerSettings.HLS_URL),["Hls"]);this.gJa.initialize(m.get(TDV.PlayerSettings.WEBVR_POLYFILL_URL),["WebVRConfig","FORCE_ENABLE_VR"]);this.ala.initialize(m.get(TDV.PlayerSettings.bla),["WebXRPolyfill"])};return e});
1047define("fd",["require"],function(){var a={sCa:"data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU2LjM2LjEwMAAAAAAAAAAAAAAA//OEAAAAAAAAAAAAAAAAAAAAAAAASW5mbwAAAA8AAAAEAAABIADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV6urq6urq6urq6urq6urq6urq6urq6urq6v////////////////////////////////8AAAAATGF2YzU2LjQxAAAAAAAAAAAAAAAAJAAAAAAAAAAAASDs90hvAAAAAAAAAAAAAAAAAAAA//MUZAAAAAGkAAAAAAAAA0gAAAAATEFN//MUZAMAAAGkAAAAAAAAA0gAAAAARTMu//MUZAYAAAGkAAAAAAAAA0gAAAAAOTku//MUZAkAAAGkAAAAAAAAA0gAAAAANVVV"};a.src=
1048a.sCa;return a});
1049define("dJ","require lE pg cC gv lY mC mP ir cz fd".split(" "),function(a){function e(q,n,r){this.src=q||"";this.ml=n||"";this.startTime=r||0}var l=a("lE"),m=a("pg"),k=a("cC"),b=a("gv"),h=a("lY"),f=a("mC"),c=a("mP"),d=a("ir"),g=a("cz"),p=a("fd");a=l.extend(b,function(q,n){b.call(this);this.V=q;this.Fn=n;this.x$=!1;this.BZ=[];this.nf=this.ue=this.eH=null});a.prototype.set=function(q,n,r){this.V.log("SrcSetter","set: "+q+" subtitles: "+n+" startTime: "+r);q=new e(q,n,r);this.ue&&this.ue.isEqual(q)||(!this.ue&&
1050this.eH&&this.eH.isEqual(q)?this.e_():(this.ue=q,this.DRa()))};a.prototype.clear=function(){this.nf&&(this.nf.destroy(),this.nf=null);this.eH=null;this.xUa();this.Fn.clear()};a.prototype.m2a=function(){return!!this.ue};a.prototype.DRa=function(){this.x$=!0;this.Eua(this.ue.src)&&!g.HLS.ii()?(this.V.log("SrcSetter","hls lib required"),g.HLS.load(this.zqa,this)):this.zqa()};a.prototype.zqa=function(){this.x$&&(this.x$=!1,this.FKa())};a.prototype.FKa=function(){this.clear();this.yVa(this.BUa(this.ue.src));
1051this.Eua(this.ue.src)?this.tKa():this.U9(this.ue.src)?this.GKa():this.HKa()};a.prototype.tKa=function(){var q=g.HLS.dF,n=1048576*(navigator.connection?Math.max(navigator.connection.downlink,2):2),r=.66*n;this.nf=new q({debug:c.BT,startPosition:0===this.ue.startTime?-1:this.ue.startTime,playlistLoadPolicy:{"default":{maxTimeToFirstByteMs:6E4,maxLoadTimeMs:6E4}},startLevel:-1,maxMaxBufferLength:12,autoStartLoad:!1,abrEwmaDefaultEstimate:n});this.nf.loadSource(this.ue.src);this.nf.attachMedia(this.V);
1052var u=function(){this.nf.off(q.Events.MANIFEST_PARSED,u);var t=this.nf.levels.filter(function(w){return w.bitrate<=n});if(t.length){t.sort(function(w,x){return x.width-w.width});var v=this.nf.levels.indexOf(t[0]);this.nf.startLevel=v}t=this.nf.levels.filter(function(w){return w.bitrate<=r});t.length&&(t.sort(function(w,x){return x.width-w.width}),this.nf.config.minAutoBitrate=t[0].bitrate-1);t=this.nf.levels.filter(function(w){return h.X7a(w.width,w.height)});c.$Ha&&(t.sort(function(w,x){return x.width-
1053w.width}),v=this.nf.levels.indexOf(t[0]),this.nf.startLevel=v);t.length&&t.length<this.nf.levels.length&&(t.sort(function(w,x){return x.width-w.width}),this.nf.autoLevelCapping=this.nf.levels.indexOf(t[0]));this.V.log("SrcSetter","bandwidth: "+n+" lowBandwidth: "+r);this.V.log("SrcSetter","levels: "+this.nf.levels);this.V.log("SrcSetter","startLevel: "+this.nf.levels[this.nf.startLevel]);this.V.log("SrcSetter","minLevel: "+this.nf.levels[this.nf.minAutoLevel]);this.nf.startLoad(0===this.ue.startTime?
1054-1:this.ue.startTime);0!=this.ue.startTime&&this.ct(this.ue.startTime);this.ue.ml&&this.Fn.set(this.ue.ml);this.eH=this.ue;this.ue=null;this.e_()}.bind(this);this.nf.on(q.Events.MANIFEST_PARSED,u);this.nf.on(q.Events.Z8a,function(t,v){v.fatal&&v.type==q.ErrorTypes.d9a&&this.nf.recoverMediaError()}.bind(this))};a.prototype.HKa=function(){this.ue.src?this.Ula(this.ue.src):this.Ula(p.sCa,"audio/mpeg");this.ue.ml&&this.Fn.set(this.ue.ml);this.V.load();0!=this.ue.startTime&&this.ct(this.ue.startTime);
1055this.eH=this.ue;this.ue=null;this.e_()};a.prototype.GKa=function(){this.V.srcObject=this.ue.src;this.eH=this.ue;this.ue=null;this.e_()};a.prototype.e_=function(){this.V.log("SrcSetter","src ready");this.trigger(new k(m.bd))};a.prototype.Eua=function(q){return!!q&&!this.U9(q)&&d.is(q,d.HLS)&&!h.$Aa};a.prototype.BUa=function(q){return!!q&&!this.U9(q)&&f.mga(q)};a.prototype.yVa=function(q){q&&!this.V.hasAttribute("crossorigin")?this.V.setAttribute("crossorigin","anonymous"):!q&&this.V.hasAttribute("crossorigin")&&
1056this.V.removeAttribute("crossorigin")};a.prototype.U9=function(q){return q instanceof MediaStream};a.prototype.ct=function(q){try{this.V.currentTime=q}catch(n){}};a.prototype.Ula=function(q,n){var r=document.createElement("source");
1056n||(n=this.oQa(q));n&&(r.type=n);f.zA(q)||(q=f.kA(q,"swbypass=true"));r.src=q;this.V.appendChild(r);this.BZ.push(r)};a.prototype.xUa=function(){for(;this.BZ&&this.BZ.length;){var q=this.BZ.shift();q.src="";this.V.removeChild(q)}this.V.srcObject=null};a.prototype.oQa=function(q){switch(f.getExtension(q).toLowerCase()){case ".mp3":return"audio/mpeg";
1057case ".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&&this.ml==q.ml};return a});
1058define("ox","require lE pg cC gv v mP e bF mm em id nx B eD dJ".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("cC"),k=a("gv"),b=a("v"),h=a("mP"),f=a("e"),c=a("bF"),d=a("mm"),g=a("em"),p=a("id"),q=a("nx"),n=a("B"),r=a("eD"),u=a("dJ"),t=0,v=e.extend(k,function(w,x){k.call(this);this.jf=w;this.EZa=x;this.Rj=this.Rj.bind(this);this.ps=this.ps.bind(this);this.oaa=this.oaa.bind(this);this.Gq=this.cH=null;this.nY=void 0;this.lc=this.gb=null;this.Nm="inactive";this.To=this.Ja=this.Td=this.tw=this.Fn=
1059null;this.pf=!1;this.Mva(document.createElement(this.jf));x&&d.wait(this.ps)});v.prototype.Mva=function(w){this.swa();this.lc=w;for(this.lc.parentNode&&this.lc.parentNode.removeChild(this.lc);this.lc.children.length;)this.lc.removeChild(this.lc.children[0]);this.vWa();this.lc.autoplay=!1;this.lc.autobuffer="autobuffer";this.lc.preload=b.browser()==b.li?"metadata":"none";this.lc.setAttribute("preload",b.browser()==b.li?"metadata":"none");this.lc.setAttribute("webkit-playsinline","true");this.lc.setAttribute("playsinline",
1060"true");this.lc.addEventListener("loadedmetadata",this.Rj,!0);this.Fn=new n(this.lc);this.Fn.bind(l.jk,this.Ai,this,!0);this.tw=new u(this.lc,this.Fn);this.tw.bind(l.bd,this.ota,this,!0);this.Td=new g(this.lc);this.Ja=new q(this.lc);this.Ja.bind(q.R3,this.Ora,this,!0);this.Ja.bind(q.kk,this.Tl,this,!0);this.Ja.bind(q.o4,this.Ci,this,!0);this.To=new r(this.lc);this.To.bind(r.Kf,this.ff,this,!0);this.To.bind(r.Qi,this.rn,this,!0)};v.prototype.vWa=function(){if(h.BT){var w="["+this.jf+" "+t++ +"]";this.lc.log=
1061function(x,y){console.log(w+"["+(new Date).toISOString().split("T")[1]+"] "+x+" "+y)}}else this.lc.log=function(){}};v.prototype.swa=function(){this.lc&&(this.lc.removeEventListener("loadedmetadata",this.Rj,!0),this.tw&&(this.tw.unbind(l.bd,this.ota,this,!0),this.tw.clear(),this.tw=null),this.Fn&&(this.Fn.unbind(l.jk,this.Ai,this,!0),this.Fn.clear(),this.Fn=null),this.Td&&(this.Td.clear(),this.Td=null),this.Ja&&(this.Ja.unbind(q.R3,this.Ora,this,!0),this.Ja.unbind(q.kk,this.Tl,this,!0),this.Ja.unbind(q.o4,
1062this.Ci,this,!0),this.Ja.clear(),this.Ja=null),this.To&&(this.To.unbind(r.Kf,this.ff,this,!0),this.To.unbind(r.Qi,this.rn,this,!0),this.To.clear(),this.To=null),this.lc=null)};v.prototype.clear=function(){this.swa()};v.prototype.MJ=function(w,x,y){if(this.tm()&&this.XE())try{return w.drawImage(this.lc,0,0,x,y),!0}catch(z){}w.fillRect(0,0,x,y);return!1};v.prototype.play=function(w,x,y){this.lc.log("HTMLMediaPlayer","play src: "+x.src+" subtitlesSrc: "+x.ml+" hasAudio: "+x.yA+" gain: "+x.gain);this.gb=
1063w;this.cH=null;this.Gq=x.clone();this.nY=y||0;this.mKa()};v.prototype.e1=function(){return"activated"==this.Nm};v.prototype.q3=function(){return this.EZa};v.prototype.stop=function(){this.lc.log("HTMLMediaPlayer","stop");this.Ja.stop();this.Gq=null};v.prototype.getState=function(){return this.Ja.getState()};v.prototype.XE=function(){return this.tw.m2a()?!1:this.Ja.XE()};v.prototype.Jf=function(w){this.Td.Jf(w);this.pf=w;this.gb&&"requested"==this.Nm&&(this.pf?c.cancel(this.gb):c.request(this.gb))};
1064v.prototype.vx=function(w){this.Td.vx(w)};v.prototype.KS=function(w){this.Td.KS(w)};v.prototype.setLoop=function(w){this.BKa(w)};v.prototype.getCurrentTime=function(){return this.To.getTime()};v.prototype.setCurrentTime=function(w){return this.To.setTime(w)};v.prototype.oj=function(){return this.To.oj()};v.prototype.tm=function(){return this.jf==p.Zn};v.prototype.getType=function(){return this.jf};v.prototype.je=function(){return this.lc&&this.tm()&&this.lc.videoWidth||0};v.prototype.Ye=function(){return this.lc&&
1065this.tm()&&this.lc.videoHeight||0};v.prototype.pR=function(){return this.Fn.pR()};v.prototype.mKa=function(){this.lc.log("HTMLMediaPlayer","assert can play");"activated"!=this.Nm&&this.Gq.yA?"inactive"==this.Nm&&(this.lc.log("HTMLMediaPlayer","needs activation"),this.gb&&this.jf==p.Zn&&this.rQa()?this.CJa():this.gb&&f.f1()?this.ps():this.gb&&this.lKa()):(this.lc.log("HTMLMediaPlayer","can play activationState: "+this.Nm+" pending media has audio: "+this.Gq.yA),this.pD())};v.prototype.rQa=function(){var w=
1066this.Ioa();return!w||w.currentSrc&&!w.paused||w.muted?!1:!0};v.prototype.Ioa=function(){return this.gb.get("settings").get(TDV.PlayerSettings.ACTIVE_VIDEO_ELEMENT)};v.prototype.CJa=function(){this.lc.log("HTMLMediaPlayer","activate with application parameter");this.Mva(this.Ioa());this.ps()};v.prototype.lKa=function(){this.lc.log("HTMLMediaPlayer","ask for activation");this.Nm="requested";c.gja(this.ps);this.gb&&!this.pf&&c.request(this.gb)};v.prototype.ps=function(){if("inactive"==this.Nm||"requested"==
1067this.Nm)this.lc.log("HTMLMediaPlayer","activate received when state: "+this.Nm+" and has media: "+!!this.cH),this.cH?setTimeout(function(){d.wait(this.ps)}.bind(this),0):(this.Nm="activating",this.tw.set("","",0))};v.prototype.pD=function(){this.lc.log("HTMLMediaPlayer","media can play. Has pending properties: "+!!this.Gq);this.Gq&&this.tw.set(this.Gq.src,this.Gq.ml,this.nY)};v.prototype.ota=function(){"activating"==this.Nm?this.bTa():this.Gq&&this.MSa()};v.prototype.bTa=function(){this.lc.log("HTMLMediaPlayer",
1068"on src ready activating");this.Ja.play()};v.prototype.Ci=function(){"activating"==this.Nm&&(this.lc.log("HTMLMediaPlayer","on play activating"),this.Ja.stop(),this.Nm="activated",this.pD())};v.prototype.MSa=function(){this.lc.log("HTMLMediaPlayer","on pending src ready");this.cH=this.Gq;this.Gq=null;this.uKa(this.cH.yA);this.sKa(this.cH.gain);this.To.setTime(this.nY);this.nY=void 0;this.Ja.play()};v.prototype.uKa=function(w){this.Td.N5a(w)};v.prototype.sKa=function(w){this.Td.KS(w)};v.prototype.BKa=
1069function(w){w&&!this.lc.hasAttribute("loop")?this.lc.setAttribute("loop",""):!w&&this.lc.hasAttribute("loop")&&this.lc.removeAttribute("loop")};v.prototype.Ora=function(){this.lc.log("HTMLMediaPlayer","on deactivated");c.G6a();d.wait(this.oaa);this.gb&&setTimeout(function(){c.request(this.gb)}.bind(this),0)};v.prototype.oaa=function(){this.lc.log("HTMLMediaPlayer","on reactivated");this.Ja.play()};v.prototype.Ai=function(){this.trigger(l.jk,this.Fn.pR())};v.prototype.Rj=function(){this.trigger(new m(v.KHa))};
1070v.prototype.ff=function(){this.trigger(new m(v.Kf))};v.prototype.rn=function(){this.trigger(new m(v.Qi))};v.prototype.Tl=function(){this.trigger(new m(v.kk))};v.Kf="time update";v.Qi="duration update";v.KHa="size update";v.kk="end";return v});define("dH",["require"],function(){return function(a){this.cue=a;this.text=a.text}});
1071define("nn",["require"],function(){function a(){this.ml=this.src=void 0;this.yA=!1;this.gain=1}a.prototype.clone=function(){var e=new a;e.src=this.src;e.ml=this.ml;e.yA=this.yA;e.gain=this.gain;return e};return a});
1072define("bW","require lE en pg lg cC gv lY v mC ox id".split(" "),function(a){function e(t){this.Qu=t;this.ya=null;this.q$=(new Date).getTime()}var l=a("lE"),m=a("en"),k=a("pg"),b=a("lg"),h=a("cC"),f=a("gv"),c=a("lY"),d=a("v"),g=a("mC"),p=a("ox"),q=a("id");e.prototype.pga=function(){return null==this.ya};e.prototype.e1=function(){return this.Qu.e1()};e.prototype.q3=function(){return this.Qu.q3()};e.prototype.item=function(){return this.ya};e.prototype.P0a=function(){this.ya.PBa();this.ya=null};e.prototype.use=
1073function(t){this.ya=t;this.ya.Eza(this.Qu);this.q$=(new Date).getTime()};var n=l.extend(f,function(){f.call(this);this.et=[];var t=g.qAa("avs",10);var v=d.mc()==d.Kx?10:c.q_a()?4:1;v=g.qAa("avpas",v);for(var w=0;w<t;w++)this.et.push(new e(new p(q.Zn,w<v)));this.We=[];this.C=b.W});n.prototype.oK=function(){return 0<this.Cpa().length};n.prototype.n2=function(t){this.We=[t].concat(m(this.We).without(t));this.Raa();u()};n.prototype.appendItem=function(t){this.We.push(t);this.Raa();u()};n.prototype.tS=
1074function(t){this.We=m(this.We).without(t);this.Raa()};n.prototype.Raa=function(){var t=this.PPa();if(n.hBa())for(;this.et.length<t.length;)this.et.push(new e(new p(q.Zn,!1)));this.Cpa().forEach(function(v){0>t.indexOf(v.item())&&v.P0a()});this.xd(0<t.length?b.Y:b.W);t.forEach(function(v){if(!this.qPa(v)){var w=this.fPa(v.getType(),v.Dha());w||v.Dha()||this.et.push(w=new e(new p(q.Zn,!1)));w&&w.use(v)}}.bind(this));this.gPa().forEach(function(v){v.Qu.stop()})};n.prototype.PPa=function(){return this.We.map(function(t,
1075v){var w={};w.index=v;w.priority=t.EAa();w.item=t;return w}).sort(function(t,v){return t.priority-v.priority||t.index-v.index}).map(function(t){return t.item})};n.prototype.xd=function(t){this.C!=t&&(this.C=t,this.trigger(new h(this.C==b.W?k.Mf:k.Yn)))};n.prototype.fPa=function(t,v){t=this.et.filter(function(w){return w.pga()});return t.length?(v?(v=t.filter(function(w){return w.e1()}),v.length||(v=t.filter(function(w){return w.q3()}))):(v=t.filter(function(w){return!w.q3()}),v.length||(v=t.filter(function(w){return!w.e1()}))),
1076v.length&&(t=v),d.browser()==d.Hm?(t.sort(function(w,x){return x.q$-w.q$}),t[Math.min(2,t.length-1)]):t[0]):null};n.prototype.gPa=function(){return this.et.filter(function(t){return t.pga()})};n.prototype.Cpa=function(){return this.et.filter(function(t){return!t.pga()})};n.prototype.qPa=function(t){for(var v=0;v<this.et.length;v++)if(this.et[v].item()==t)return this.et[v];return null};n.K9=null;n.bind=function(){var t=n.ui();t.bind.apply(t,arguments)};n.unbind=function(){var t=n.ui();t.unbind.apply(t,
1077arguments)};var r=0<=[d.Ix,d.Sr].indexOf(d.mc());n.hBa=function(){return r};n.oK=function(){return n.ui().oK()};n.appendItem=function(t){n.ui().appendItem(t)};n.n2=function(t){n.ui().n2(t)};n.tS=function(t){n.ui().tS(t)};n.bv=function(){null===n.K9&&(n.K9=new n);return n.K9};n.ui=n.bv;n.bv();var u=function(){if(0<=[d.Ix,d.Sr].indexOf(d.mc())){var t=document.createElement("video");t.muted=!1;t.setAttribute("loop","");t.src="data:video/mp4;base64,AAAAIGZ0eXBtcDQyAAACAGlzb21pc28yYXZjMW1w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AAAAAAAAAAAAU3RlcmVvAAAAAmNtaW5mAAAAEHNtaGQAAAAAAAAAAAAAACRkaW5mAAAAHGRyZWYAAAAAAAAAAQAAAAx1cmwgAAAAAQAAAidzdGJsAAAAZ3N0c2QAAAAAAAAAAQAAAFdtcDRhAAAAAAAAAAEAAAAAAAAAAAACABAAAAAArEQAAAAAADNlc2RzAAAAAAOAgIAiAAIABICAgBRAFQAAAAADDUAAAAAABYCAgAISEAaAgIABAgAAABhzdHRzAAAAAAAAAAEAAABYAAAEAAAAABxzdHNjAAAAAAAAAAEAAAABAAAAAQAAAAEAAAAUc3RzegAAAAAAAAAGAAAAWAAAAXBzdGNvAAAAAAAAAFgAAAOBAAADhwAAA5oAAAOtAAADswAAA8oAAAPfAAAD5QAAA/gAAAQLAAAEEQAABCgAAAQ9AAAEUAAABFYAAARpAAAEgAAABIYAAASbAAAErgAABLQAAATHAAAE3gAABPMAAAT5AAAFDAAABR8AAAUlAAAFPAAABVEAAAVXAAAFagAABX0AAAWDAAAFmgAABa8AAAXCAAAFyAAABdsAAAXyAAAF+AAABg0AAAYgAAAGJgAABjkAAAZQAAAGZQAABmsAAAZ+AAAGkQAABpcAAAauAAAGwwAABskAAAbcAAAG7wAABwYAAAcMAAAHIQAABzQAAAc6AAAHTQAAB2QAAAdqAAAHfwAAB5IAAAeYAAAHqwAAB8IAAAfXAAAH3QAAB/AAAAgDAAAICQAACCAAAAg1AAAIOwAACE4AAAhhAAAIeAAACH4AAAiRAAAIpAAACKoAAAiwAAAItgAACLwAAAjCAAAAFnVkdGEAAAAObmFtZVN0ZXJlbwAAAHB1ZHRhAAAAaG1ldGEAAAAAAAAAIWhkbHIAAAAAAAAAAG1kaXJhcHBsAAAAAAAAAAAAAAAAO2lsc3QAAAAzqXRvbwAAACtkYXRhAAAAAQAAAABIYW5kQnJha2UgMC4xMC4yIDIwMTUwNjExMDA=";
1078return function(){try{t.pause(),setTimeout(function(){t.play()["catch"](function(){})},0)}catch(v){}}}return function(){}}();return n});
1079define("F","require lE cC gv pg lg ox dH nn id bW bi lY".split(" "),function(a){var e=a("lE"),l=a("cC"),m=a("gv"),k=a("pg"),b=a("lg"),h=a("ox"),f=a("dH"),c=a("nn"),d=a("id"),g=a("bW"),p=a("bi"),q=a("lY"),n=e.extend(m,function(r,u,t){m.call(this);this.gb=r;this.u=u;this.Us=t;this.o=null;this.EP();this.uX=this.uX.bind(this);this.u.bind(k.F("gain"),this.aI,this,!0);this.u.bind(k.F("mp3Url"),this.Ck,this,!0);this.u.bind(k.F("oggUrl"),this.Ck,this,!0);this.u.bind(k.F("subtitlesURL"),this.Ck,this,!0);this.C=
1080b.W;this.Ll=!1;this.Hy=this.Qb=0;this.pf=!1;this.cr=1;this.MM=!1;this.pH=1;this.yd=null;this.ao=[]});n.prototype.wb=function(){return this.gb};n.prototype.Mc=function(r){this.C==r||r==b.Ib&&this.C!=b.Y||(this.C=r,this.C==b.Y?(this.yLa(),g.n2(this)):this.HWa(),this.jda())};n.prototype.HWa=function(){this.MM||(this.MM=!0,this.soa=this.u.get("fadeOutTime"),0==this.soa?this.kwa():this.uX(0))};n.prototype.uX=function(r){this.yd&&0!=this.pH&&this.MM&&!this.bRa()?(this.pH=Math.max(0,this.pH-r/this.soa),
1081this.pU(),p.requestFrame(this.uX)):this.kwa()};n.prototype.yLa=function(){this.MM=!1;this.pH=1;this.pU()};n.prototype.kwa=function(){this.MM=!1;this.pH=1;this.yd&&(g.tS(this),this.C==b.W&&this.hca())};n.prototype.getState=function(){return this.C};n.prototype.oj=function(){return this.Qb};n.prototype.setCurrentTime=function(r){this.Hy=r;this.yd&&this.yd.play(this.gb,this.o,this.Hy)};n.prototype.getCurrentTime=function(){return this.Hy};n.prototype.vx=function(r){this.cr=r;this.pU()};n.prototype.pU=
1082function(){this.yd&&this.yd.vx(this.cr*this.pH)};n.prototype.Jf=function(r){this.pf=r;this.yd&&this.yd.Jf(r)};n.prototype.setLoop=function(r){this.Ll=r;
1082this.yd&&this.yd.setLoop(r)};n.prototype.Dha=function(){return!this.pf};n.prototype.getType=function(){return d.kHa};n.prototype.EAa=function(){return this.Us};n.prototype.Eza=function(r){this.yd=r;setTimeout(function(){this.yd&&this.yd.bind(h.kk,this.eO,this,!0)}.bind(this),0);this.EP();this.yd.bind(h.Kf,this.ff,this,!0);this.yd.bind(h.Qi,this.rn,
1083this,!0);this.yd.bind(k.jk,this.Ai,this,!0);this.yd.Jf(this.pf);this.pU();this.yd.setLoop(this.Ll);this.yd.play(this.gb,this.o,this.Hy)};n.prototype.PBa=function(){this.Hy=this.yd.getCurrentTime();this.yd.unbind(h.kk,this.eO,this,!0);this.yd.unbind(h.Kf,this.ff,this,!0);this.yd.unbind(h.Qi,this.rn,this,!0);this.yd.unbind(k.jk,this.Ai,this,!0);this.yd=null};n.prototype.clear=function(){this.Mc(b.W);this.u&&(this.u.unbind(k.F("gain"),this.aI,this,!0),this.u.unbind(k.F("mp3Url"),this.Ck,this,!0),this.u.unbind(k.F("oggUrl"),
1084this.Ck,this,!0),this.u.unbind(k.F("subtitlesURL"),this.Ck,this,!0),this.u=null)};n.prototype.Ck=function(){this.LD&&clearTimeout(this.LD);this.LD=setTimeout(function(){this.LD=null;this.yd&&(this.o.src=this.Xy(this.u),this.o.ml=this.u.get("subtitlesURL"),this.yd.play(this.gb,this.o,this.Hy))}.bind(this),10)};n.prototype.aI=function(){if(this.yd){var r=this.u.get("gain");this.o.gain!=r&&(this.o.gain=r,this.yd.KS(this.o.gain))}};n.prototype.EP=function(){this.o=new c;this.o.src=this.Xy(this.u);this.o.ml=
1085this.u.get("subtitlesURL");this.o.yA=!0;this.o.gain=this.u.get("gain")};n.prototype.Xy=function(r){var u=r.get("mp3Url");return u&&q.nBa?u:(r=r.get("oggUrl"))&&q.oBa?r:u||r};n.prototype.rn=function(){this.Qb=this.yd.oj();this.fda()};n.prototype.ff=function(){this.Qb!=this.yd.oj()&&this.rn();this.Hy=this.yd.getCurrentTime();this.mQ()};n.prototype.Ai=function(){this.ao=this.yd.pR().map(function(r){for(var u=null,t=0;t<this.ao.length&&!u;t++)this.ao[t].cue==r&&(u=this.ao[t]);u||(u=new f(r));return u}.bind(this));
1086this.trigger(new l(k.jk))};n.prototype.eO=function(){this.Mc(b.W);this.gda()};n.prototype.bRa=function(){return this.yd&&this.yd.getCurrentTime()&&this.yd.getCurrentTime()==this.yd.oj()};n.prototype.hca=function(){this.Hy=0;this.mQ()};n.prototype.mQ=function(){this.trigger(new l(n.Kf))};n.prototype.fda=function(){this.trigger(new l(n.Qi))};n.prototype.gda=function(){this.trigger(new l(k.Bb))};n.prototype.jda=function(){this.trigger(new l(k.re))};n.Kf="time update";n.Qi="duration update";return n});
1087define("hd",["require"],function(){function a(l,m,k){this.Pd=l;this.zwa=m;this.ys=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.ys==e||"CANVAS"==this.ys.tagName&&(0==this.ys.width||0==this.ys.height)};a.prototype.isEqual=function(l,m){return this.Pd==l.Pd&&Math.abs(this.zwa-l.zwa)<(m||0)&&this.ys==l.ys};return a});
1088define("dk",["require","lY","v","ir"],function(a){function e(f){return k.fGa(f)}function l(f,c){if(!c)return!0;var d=f.get("url"),g=f.get("srcObject");f=f.get("type")||"";switch(c){case "srcObj":return!!g;case "webm":return b.is(d,b.fJa)||m(f,"webm");case "h265":return b.is(d,b.YHa)||(b.is(d,b.pka)||b.is(d,b.Xja)||!d)&&(m(f,"hev1")||m(f,"h265")||m(f,"heic"))?!0:!1;case "mp4":return b.is(d,b.pka)||m(f,"mp4");case "hls":return b.is(d,b.HLS)||m(f,"x-mpegurl");case "ogv":return b.is(d,b.rIa)||m(f,"ogg");
1089case "mov":return b.is(d,b.Xja)||m(f,"quicktime");default:return!1}}function m(f,c){return 0<=(f||"").toLowerCase().indexOf(c)}var k=a("lY");a("v");var b=a("ir"),h={X1a:function(f){return h.select(f.get("levels"))},V1a:function(f){return h.select(f.get("levels"))},select:function(f){f||(f=[]);f=f.slice();var c=[];c.push({type:"srcObj",Lr:!0});k.h2a&&c.push({type:"hls",Lr:!1});k.w2a&&c.push({type:"h265",Lr:!0});k.cga&&c.push({type:"webm",Lr:!0});k.X0&&c.push({type:"mp4",Lr:!0});k.x2a&&c.push({type:"mov",
1090Lr:!0});k.bga&&c.push({type:"ogv",Lr:!0});c.push({type:"mp4",Lr:!0});c.push({type:"webm",Lr:!0});c.push({type:"mp4",Lr:!1});c.push({type:"webm",Lr:!1});for(var d=0;d<c.length;d++){var g=f;c[d].Lr&&(g=g.filter(e));g=g.filter(function(p){if(l(p,c[d].type))return!0});"hls"!=c[d].type&&g.sort(function(p,q){return q.get("width")-p.get("width")});if(g.length)return g[0]}return null}};return h});
1091define("oC","require lE cC gv pg lg ik nV v mC ox dH hd nn id bW dk".split(" "),function(a){function e(x){d.browser()==d.Hm&&(x=g.kA(x,"playbacksession="+(new Date).getTime()));return x}var l=a("lE"),m=a("cC"),k=a("gv"),b=a("pg"),h=a("lg"),f=a("ik"),c=a("nV"),d=a("v"),g=a("mC"),p=a("ox"),q=a("dH"),n=a("hd"),r=a("nn"),u=a("id"),t=a("bW"),v=a("dk"),w=l.extend(k,function(x,y){k.call(this);this.gb=x;this.u=y;this.ab=w.Zj(this.u);this.o=null;this.EP();this.u.bind(b.F("subtitlesURL"),this.Ck,this,!0);this.u.bind(b.F("gain"),
1092this.aI,this,!0);this.ab.bind(b.F("srcObject"),this.Ck,this,!0);this.ab.bind(b.F("subtitlesURL"),this.Ck,this,!0);this.ab.bind(b.F("url"),this.Ck,this,!0);this.ab.bind(b.F("gain"),this.aI,this,!0);this.C=h.W;this.Zf=this.Qb=0;this.pf=!1;this.cr=1;this.Ll=!1;this.R=this.Ub=null;this.OG=!1;this.OU=void 0;this.Yma=!1;this.ao=[]});w.prototype.wb=function(){return this.gb};
1092w.prototype.Mc=function(x){this.C==x||x==h.Ib&&this.C!=h.Y||(this.Yma&&x==h.Y&&this.C==h.W&&this.x6(),this.C=x,this.C==h.Y?(this.Ub&&
1093this.Ub.play(this.gb,this.o,this.Zf),t.n2(this)):(t.hBa()?this.Ub&&this.Ub.stop():t.tS(this),this.C==h.W&&this.hca()),this.jda())};w.prototype.getState=function(){return this.C};w.prototype.oj=function(){return this.Qb};w.prototype.setCurrentTime=function(x){this.Zf=x;this.Ub&&(this.Ub.XE()&&this.sV(),this.Ub.play(this.gb,this.o,this.Zf))};w.prototype.getCurrentTime=function(){return this.Zf};w.prototype.vx=function(x){this.cr=x;this.Ub&&this.Ub.vx(x)};w.prototype.Jf=function(x){this.pf=x;this.Ub&&
1094this.Ub.Jf(x)};w.prototype.setLoop=function(x){this.Ll=x;this.Ub&&this.Ub.setLoop(x)};w.prototype.t5a=function(){this.Yma=!0};w.prototype.MJ=function(x,y,z){this.Ub&&this.Ub.XE()?this.Ub.MJ(x,y,z):this.OG?x.drawImage(this.R,0,0,y,z):x.fillRect(0,0,y,z)};w.prototype.H0=function(){if(this.Ub&&this.Ub.XE()){var x=this.Ub.getCurrentTime(),y=this.Ub.lc;if(this.tW())return new n(this.o.src,this.OU,this.R);this.x6();return new n(this.o.src,x,y)}return this.OG?new n(this.o.src,this.Zf,this.R):new n(this.o.src,
1095this.Zf,null)};w.prototype.Dha=function(){return!this.pf&&this.u.get("hasAudio")};w.prototype.getType=function(){return u.Zn};w.prototype.EAa=function(){return f.Zn};w.prototype.Eza=function(x){this.Ub=x;setTimeout(function(){this.Ub&&this.Ub.bind(p.kk,this.eO,this,!0)}.bind(this),0);this.EP();this.Ub.bind(p.Kf,this.ff,this,!0);this.Ub.bind(p.Qi,this.rn,this,!0);this.Ub.bind(b.jk,this.Ai,this,!0);this.Ub.Jf(this.pf);this.Ub.vx(this.cr);this.Ub.setLoop(this.Ll);this.Ub.play(this.gb,this.o,this.Zf)};
1096w.prototype.PBa=function(){this.Ub.XE()&&this.sV();this.Zf=this.Ub.getCurrentTime();this.Ub.unbind(p.kk,this.eO,this,!0);this.Ub.unbind(p.Kf,this.ff,this,!0);this.Ub.unbind(p.Qi,this.rn,this,!0);this.Ub.unbind(b.jk,this.Ai,this,!0);this.C==h.W&&(this.Ub.stop(),this.Ub.setCurrentTime(0),this.ULa());this.Ub=null};w.prototype.clear=function(){t.tS(this);this.x6();this.u&&(this.u.unbind(b.F("subtitlesURL"),this.Ck,this,!0),this.u.unbind(b.F("gain"),this.aI,this,!0),this.u=null);this.ab&&(this.ab.unbind(b.F("subtitlesURL"),
1097this.Ck,this,!0),this.ab.unbind(b.F("url"),this.Ck,this,!0),this.ab.unbind(b.F("srcObject"),this.Ck,this,!0),this.ab=null)};w.prototype.Ck=function(){this.LD&&clearTimeout(this.LD);this.LD=setTimeout(function(){this.LD=null;this.Ub&&(this.o.ml=this.u.get("subtitlesURL")||this.ab.get("subtitlesURL"),this.o.src=this.ab.get("srcObject")||e(this.ab.get("url")),this.Ub.play(this.gb,this.o,this.Zf))}.bind(this),10)};w.prototype.aI=function(){this.Ub&&(this.o.gain=this.u.get("gain",1)*this.ab.get("gain",
10981),this.Ub.KS(this.o.gain))};w.prototype.EP=function(){this.o=new r;this.o.src=this.ab.get("srcObject")||e(this.ab.get("url"));this.o.ml=this.u.get("subtitlesURL")||this.ab.get("subtitlesURL");this.o.yA=this.u.get("hasAudio",!0)&&this.ab.get("hasAudio",!0);this.o.gain=this.u.get("gain",1)*this.ab.get("gain",1)};w.prototype.sV=function(){this.R||(this.R=document.createElement("canvas"));if(!this.tW()){this.R.width=this.Ub.je();this.R.height=this.Ub.Ye();this.OU=this.Ub.getCurrentTime();var x=this.R.getContext("2d");
1099x.clearRect(0,0,this.R.width,this.R.height);this.OG=this.Ub.MJ(x,this.R.width,this.R.height)}};w.prototype.tW=function(){var x=this.Ub.getCurrentTime();this.Qb&&(x=Math.min(x,this.Qb));return this.OG&&.15>=Math.abs(x-this.OU)};w.prototype.x6=function(){this.OG&&(this.OU=void 0,this.OG=!1,d.browser()!=d.Hm&&(this.R.width=0,this.R.height=0,this.R=null))};w.prototype.rn=function(){this.Qb=this.Ub.oj();this.fda()};w.prototype.ff=function(){this.Qb!=this.Ub.oj()&&this.rn();this.Zf=this.Ub.getCurrentTime();
1100d.Jd()==d.ni&&0<this.Zf&&this.Zf>this.Qb-.15&&!this.tW()&&!this.Ll?this.sV():d.browser()==d.Gm&&0<this.Zf&&this.Zf>this.Qb-.05&&!this.tW()&&this.Ll&&this.sV();this.mQ()};w.prototype.Ai=function(){this.ao=this.Ub.pR().map(function(x){for(var y=null,z=0;z<this.ao.length&&!y;z++)this.ao[z].cue==x&&(y=this.ao[z]);y||(y=new q(x));return y}.bind(this));this.trigger(new m(b.jk))};w.prototype.ULa=function(){0!=this.ao.length&&(this.ao=[],this.trigger(new m(b.jk)))};w.prototype.eO=function(){this.Mc(h.W);
1101this.gda()};w.prototype.hca=function(){this.Zf=0;this.mQ()};w.prototype.mQ=function(){this.trigger(new m(w.Kf))};w.prototype.fda=function(){this.trigger(new m(w.Qi))};w.prototype.gda=function(){this.trigger(new m(b.Bb))};w.prototype.jda=function(){this.trigger(new m(b.re))};w.Kf="time update";w.Qi="duration update";w.Zj=function(x){if(c.Ga("Video360Resource",x))return v.V1a(x);if(c.Ga("VideoResource",x))return v.X1a(x);throw"invalid video resource object: "+x;};return w});
1102define("kB",["require","oC","pg"],function(a){function e(m,k){this.qU=m;this.Qu=k;this.z5=[];this.OKa();this.Ai()}a("oC");var l=a("pg");e.prototype.clear=function(){this.OLa();this.aYa();this.Qu=this.qU=null};e.prototype.OKa=function(){this.Qu.bind(l.jk,this.Ai,this,!0)};e.prototype.aYa=function(){this.Qu.unbind(l.jk,this.Ai,this,!0)};e.prototype.Ai=function(){this.qU.set("activeSubtitles",this.z5=this.Qu.ao)};e.prototype.OLa=function(){this.qU.get("activeSubtitles")==this.z5&&this.qU.set("activeSubtitles",
1103this.z5=[])};return e});
1104define("hh","require pg ik lg mh cC nV F kB".split(" "),function(a){var e=a("pg"),l=a("ik"),m=a("lg"),k=a("mh"),b=a("cC"),h=a("nV"),f=a("F"),c=a("kB");a=h.define("Audio",k,function(d){k.call(this);this.Us=d||l.TIa;this.fo=void 0;this.gm=null});a.prototype.PE=function(){if(void 0==this.fo){this.gm&&(this.gm.clear(),this.gm=null);var d=this.get("audio");d?(this.fo=new f(this.get("application"),d,this.Us),d=function(){this.fo.setLoop(this.get("loop",!1))},d.call(this),this.bind(e.F("loop"),d,this),d=
1105function(){this.fo.Jf(this.get("application").get("mute",!1))},d.call(this),this.get("application").bind(e.F("mute"),d,this,!0),d=function(){this.set("state",this.fo.getState())},d.call(this),this.fo.bind(e.re,d,this,!0),this.fo.bind(e.Bb,this.dSa,this,!0),this.gm=new c(this,this.fo)):this.fo=null}return this.fo};a.prototype.set=function(d,g){switch(d){case "state":var p=this.get("state")||m.W,q=this.fo&&this.fo.getState()||m.W;q!=p&&(p==m.W&&q==m.Y&&this.trigger(e.Yn),this.trigger(new b(e.re,{oldState:p,
1106state:q})));break;case "subtitlesViewerArea":(p=k.prototype.get.call(this,d))&&p.RZ.remove(this),g&&g.RZ.add(this)}k.prototype.set.call(this,d,g)};a.prototype.Ot=function(){return[]};a.prototype.dSa=function(){this.trigger(new b(e.Bb))};a.prototype.play=a.prototype.Ik=function(){var d=this.PE();d&&d.Mc(m.Y)};a.prototype.stop=a.prototype.Po=function(){var d=this.PE();d&&d.Mc(m.W)};a.prototype.pause=a.prototype.Eq=function(){var d=this.PE();d&&d.Mc(m.Ib)};return a});
1107define("ji",["require","nV","hh"],function(a){var e=a("nV"),l=a("hh");return e.define("MediaAudio",l,function(m){l.call(this,m)})});
1107define("pI",["require","ik","nV","ji"],function(a){var e=a("ik"),l=a("nV"),m=a("ji");return l.define("PanoramaAudio",m,function(){m.call(this,e.wIa)})});define("hv",["require","nV","pI"],function(a){var e=a("nV"),l=a("pI");return e.define("DirectionalPanoramaAudio",l,function(){l.call(this)})});
1108define("fs",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("Model3DCameraMovement",e,function(){e.call(this)})});define("iv",["require","nV","fs"],function(a){var e=a("nV"),l=a("fs");return e.define("DistanceModel3DCameraMovement",l,function(){l.call(this)})});define("ll",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("DistancePanoramaCameraMovement",e,function(){e.call(this)})});
1109define("gZ",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("DistanceRotationalCameraMovement",e,function(){e.call(this)})});
1110define("y",["require","exports","pg","lE"],function(a,e,l,m){return function(){function k(b,h,f,c,d){this.iq=null;this.T$=b;this.mf=l.F(this.T$);this.Z8=h;this.za=f||window;this.B9=c;this.jra=d;this.Q9=!1}k.prototype.dB=function(){this.Mba(null)};k.prototype.Mba=function(b){var h=this;m.toArray(this.iq).forEach(function(f){f&&f.unbind(this.mf,h.Oma,h)}.bind(this));this.iq=b;m.toArray(this.iq).forEach(function(f){f&&f.bind(this.mf,this.Oma,h,h.B9)}.bind(this));this.Fua()};k.prototype.Fua=function(){this.jra&&
1111this.jra.Mba(this.lPa())};k.prototype.lPa=function(){return null==this.iq?null:Array.isArray(this.iq)?this.iq.map(function(b){return b?b.get(this.T$):null}.bind(this)):this.iq.get(this.T$)};k.prototype.Oma=function(b){if(!this.Q9){try{this.Q9=!0,this.Fua(),this.Z8.call(this.za,b)}catch(h){m.ZR("ChangeWatcher._changeHandler",h)}this.Q9=!1}};k.cu=function(b,h,f,c,d){void 0===d&&(d=!1);m.isString(h)&&(h=h.split("."));return 0<h.length?(h=new k(h[0],f,c,d,k.cu(null,h.slice(1),f,c,d)),h.Mba(b),h):null};
1112return k}()});
1113define("pB",["require","jquery.mod","lE","pg","e"],function(a){var e=a("jquery.mod"),l=a("lE"),m=a("pg"),k=a("e"),b=l.extend(k,function(){k.call(this);this.Ge("DropDownArrow");this.R=null;this.av=!0;this.bind(m.pc,this.ONa,this)});b.prototype.tb=function(){k.prototype.tb.call(this);this.h("color","#000000");this.h("direction",b.I3)};b.prototype.ONa=function(){this.av=!0;this.pe()};b.prototype.Db=function(){k.prototype.Db.call(this);this.R||(this.R=e("<canvas/>"),this.R.css({position:"absolute",left:0,
1114top:0}),this.Ob().append(this.R))};b.prototype.Za=function(){var h=!1;this.K("color")&&(h=!0,this.S("color"));this.K("direction")&&(h=!0,this.S("direction"));this.av&&(h=!0,this.av=!1);if(h){h=this.uf();var f=this.tf(),c=this.B("color"),d=this.B("direction"),g=[.5*h,0,h];d=d==b.I3?[f,0,0]:[0,f,f];var p=this.R.get(0);p.width=h;p.height=f;p=p.getContext("2d");p.clearRect(0,0,h,f);p.beginPath();p.moveTo(g[0],d[0]);p.lineTo(g[1],d[1]);p.lineTo(g[2],d[2]);p.fillStyle=c;p.fill()}k.prototype.Za.call(this)};
1115b.I3="down";b.X8a="up";return b});
1116define("hR","require lE cC nl bd pg d gW oA pB dz".split(" "),function(a){var e=a("lE"),l=a("cC"),m=a("nl"),k=a("bd"),b=a("pg"),h=a("d"),f=a("gW"),c=a("oA"),d=a("pB"),g=a("dz");a=e.extend(c,function(){c.call(this);this.Ge("DropDownButton");this.my=this.Na=null;this.l$=!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.ye);this.bind(b.qa,this.Q7,this)});a.prototype.tb=
1117function(){c.prototype.tb.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.zg);this.h("verticalAlign",m.le);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",
11185);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.v("rollOverBorderColor",f.X,"borderColor");this.v("rollOverArrowColor",f.X,"arrowColor");
1118this.v("rollOverBackgroundColor",f.X,"backgroundColor");this.v("rollOverBackgroundColorRatios",
1119f.X,"backgroundColorRatios");this.v("rollOverShadow",f.X,"shadow");this.v("pressedBorderColor",f.ub,"borderColor");this.v("pressedArrowColor",f.ub,"arrowColor");this.v("pressedBackgroundColor",f.ub,"backgroundColor");this.v("pressedBackgroundColorRatios",f.ub,"backgroundColorRatios");this.v("pressedShadow",f.ub,"shadow");this.v("pressedRollOverBorderColor",f.cc,"borderColor");this.v("pressedRollOverArrowColor",f.cc,"arrowColor");this.v("pressedRollOverBackgroundColor",f.cc,"backgroundColor");this.v("pressedRollOverBackgroundColorRatios",
1120f.cc,"backgroundColorRatios");this.v("pressedRollOverShadow",f.cc,"shadow");this.v("pressedBorderColor",f.ea,"borderColor");this.v("pressedArrowColor",f.ea,"arrowColor");this.v("pressedBackgroundColor",f.ea,"backgroundColor");this.v("pressedBackgroundColorRatios",f.ea,"backgroundColorRatios");this.v("pressedShadow",f.ea,"shadow")};a.prototype.set=function(p,q){"label"==p&&this.get("label")!=q&&(this.l$=!0,this.pe());c.prototype.set.call(this,p,q)};a.prototype.Db=function(){c.prototype.Db.call(this);
1121this.Na||(this.Na=new g,this.Na.set("width","100%"),this.Ua(this.Na));this.my||(this.my=new d,this.my.set("direction",d.I3),this.Ua(this.my))};a.prototype.Q7=function(){this.open();this.trigger(new l(b.OPEN))};a.prototype.open=function(){this.unbind(b.qa,this.Q7,this);this.AP(!0)};a.prototype.close=function(){this.bind(b.qa,this.Q7,this);this.AP(!1)};a.prototype.Pu=function(){return this.Na&&this.Na.get("text")||c.prototype.Pu.call(this)};a.prototype.Za=function(){if(this.l$){var p=this.get("label");
1122this.Na.set("text",p);this.l$=!1}this.qc("horizontalAlign fontFamily fontSize fontColor fontWeight fontStyle textDecoration textShadowColor textShadowHorizontalLength textShadowVerticalLength textShadowBlurRadius textShadowOpacity".split(" "),{},[this.Na],!0,!0);this.K("arrowGap")&&(this.set("gap",this.B("arrowGap")),this.S("arrowGap"));this.K("arrowColor")&&(this.my.set("color",this.B("arrowColor")),this.S("arrowColor"));this.K("arrowBeforeLabel")&&(1==this.B("arrowBeforeLabel")?this.Pn(this.my,
11230):this.Pn(this.Na,0),this.S("arrowBeforeLabel"));this.K("arrowWidth")&&(this.my.set("width",this.B("arrowWidth")),this.S("arrowWidth"));this.K("arrowHeight")&&(this.my.set("height",this.B("arrowHeight")),this.S("arrowHeight"));c.prototype.Za.call(this)};return a});define("hC",["require","en","lE","oA","d"],function(a){var e=a("en"),l=a("lE"),m=a("oA");a=a("d");var k=l.extend(m,function(){m.call(this)});k.Ac={layout:a.Kh};e.defaults(k.Ac,m.Ac);k.prototype.tb=function(){this.lo(k.Ac)};return k});
1124define("lL","require lE cC nl bd hY pg oA hC dz".split(" "),function(a){var e=a("lE"),l=a("cC"),m=a("nl"),k=a("bd"),b=a("hY"),h=a("pg"),f=a("oA"),c=a("hC"),d=a("dz");a=e.extend(f,function(){f.call(this);this.Ge("DropDownPopup");this.set("ariaRole","listbox");this.Ad=null;this.wU=!1;this.zb=null;this.yN=[];this.aA=!0});a.prototype.tAa=function(){return this.zb.mb().map(function(g){return g.ee()})};a.prototype.open=function(g){this.Ad=g;this.wU=!0;this.wb().Pn(this,this.wb().mb().length-1);this.set("overIndex",
1125-1);this.set("visible",!0);this.bind(h.jb,this.Xd,this);this.wb().bind(h.Eb,this.Is,this);this.wb().bind(h.pc,this.Fc,this)};a.prototype.close=function(){this.Ad=null;this.wU=!0;this.set("visible",!1);this.zb.set("overflow",b.oG);this.zb.set("contentOpaque",!0);this.unbind(h.jb,this.Xd,this);this.wb().unbind(h.Eb,this.Is,this);this.wb().bind(h.pc,this.Fc,this)};a.prototype.Db=function(){f.prototype.Db.call(this);this.zb||(this.zb=new c,this.zb.set("overflow",b.oG),this.zb.bind(h.pc,this.Fc,this),
1126this.zb.bind(h.Ip,this.Sz,this),this.Ua(this.zb))};a.prototype.Fc=function(){this.vxa()};a.prototype.Xd=function(){this.Tba=!1};a.prototype.Sz=function(){this.Tba=!0};a.prototype.Is=function(){-1!=this.get("overIndex")||this.Tba&&this.so||this.trigger(new l(h.WF));this.Tba=!1};a.prototype.vSa=function(g){this.set("overIndex",this.L8(g.source))};a.prototype.wSa=function(g){g=this.L8(g.source);this.get("overIndex")==g&&this.set("overIndex",-1)};a.prototype.uSa=function(g){g=this.L8(g.source);this.set("overIndex",
1127g);this.set("selectedIndex",g);this.trigger(new l(h.Jp))};a.prototype.L8=function(g){for(var p=0;p<this.yN.length;p++)if(this.yN[p]==g)return p;return-1};a.prototype.tb=function(){f.prototype.tb.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);
1127this.h("popUpBackgroundColor");this.h("popUpBackgroundOpacity");this.h("rollOverPopUpBackgroundColor");this.h("selectedPopUpBackgroundColor");
1128this.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");
1129this.h("textShadowBlurRadius");this.h("textShadowOpacity");this.h("buttonWidth")};a.prototype.Za=function(){var g=!1,p=!1;if(this.K("items")){g=this.B("items")||[];for(var q=this.yN.length;q<g.length;q++){var n=new d;n.ma({width:"100%",paddingLeft:5,paddingRight:5,paddingBottom:2,paddingTop:2,cursor:k.ye});n.bind(h.IB,this.vSa,this);n.bind(h.Fp,this.wSa,this);n.bind(h.qa,this.uSa,this);this.yN.push(n)}n=this.zb.mb();for(q=g.length;q<n.length;q++)this.zb.removeChild(n[q]);for(q=n.length;q<g.length;q++)this.zb.Ua(this.yN[q]);
1130for(q=0;q<g.length;q++)n[q].ma({text:g[q],ariaLabel:g[q],ariaRole:"option"});this.S("items");p=g=!0}this.K("selectedIndex")&&(this.S("selectedIndex"),g=!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<r.length;q++)n=r[q],this.K(n)&&(this.S(n),
1131p=!0);if(p)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"),
1132paddingBottom:this.B("popUpPaddingBottom"),paddingLeft:this.B("popUpPaddingLeft"),paddingRight:this.B("popUpPaddingRight"),paddingTop:this.B("popUpPaddingTop"),backgroundOpacity:this.B("popUpBackgroundOpacity")},n=this.zb.mb(),q=0;q<n.length;q++)n[q].ma(r);r="selectedIndex overIndex popUpBackgroundColor rollOverPopUpBackgroundColor selectedPopUpBackgroundColor popUpFontColor rollOverPopUpFontColor selectedPopUpFontColor".split(" ");for(q=0;q<r.length;q++)n=r[q],this.K(n)&&(this.S(n),g=!0);if(g){g=
1133this.B("popUpBackgroundColor");r=this.B("rollOverPopUpBackgroundColor")||g;p=this.B("selectedPopUpBackgroundColor")||g;var u=this.B("popUpFontColor"),t=this.B("rollOverPopUpFontColor")||u,v=this.B("selectedPopUpFontColor")||u,w=this.B("selectedIndex"),x=this.B("overIndex");n=this.zb.mb();for(q=0;q<n.length;q++)q==w?n[q].ma({fontColor:v,backgroundColor:p}):q==x?n[q].ma({fontColor:t,backgroundColor:r}):n[q].ma({fontColor:u,backgroundColor:g})}if(this.wU||this.K("popUpGap")||this.K("buttonWidth"))this.Ad&&
1134this.zb.set("minWidth",this.Ad.Ya()),this.S("popUpGap"),this.vxa(),this.wU=!1;this.qc("popUpShadow popUpShadowBlurRadius popUpShadowColor popUpShadowHorizontalLength popUpShadowOpacity popUpShadowSpread popUpShadowVerticalLength".split(" "),{popUpShadow:"shadow",popUpShadowBlurRadius:"shadowBlurRadius",popUpShadowColor:"shadowColor",popUpShadowHorizontalLength:"shadowHorizontalLength",popUpShadowOpacity:"shadowOpacity",popUpShadowSpread:"shadowSpread",popUpShadowVerticalLength:"shadowVerticalLength"},
1135[this.zb],!0,!0);this.cxa();f.prototype.Za.call(this)};a.prototype.vxa=function(){if(this.Ad){var g=this.wb(),p=this.Ad.N1a(g),q=this.Ad.Ya(),n=this.Ad.Ab(),r=this.B("popUpGap"),u=this.zb.Jb,t=this.zb.Wb,v=g.Ab()-(p.top+n+r)-5,w=p.top-5-r,x=this.B("horizontalAlign");t<=v?(this.aA=!0,this.zb.set("top",p.top+n+r),this.zb.set("maxHeight",void 0),this.zb.set("overflow",b.oG)):t<=w?(this.aA=!1,this.zb.set("top",p.top-t-r),this.zb.set("maxHeight",void 0),this.zb.set("overflow",b.oG)):(v>=w?(this.aA=!0,
1136this.zb.set("top",p.top+n+r),this.zb.set("maxHeight",v)):(this.aA=!1,this.zb.set("top",p.top-w+r),this.zb.set("maxHeight",w)),this.zb.set("overflow",b.Ip));n=x==m.Qe?p.left+Math.round(.5*(q-u)):x==m.ob?p.left+q-u:p.left;0>n?n=p.left:p.left+u>g.Ya()&&(n=p.left+q-u);this.zb.set("left",n);this.cxa()}};a.prototype.cxa=function(){var g=this.B("popUpBorderRadius");this.zb.ma({borderTopRadius:this.aA?0:g,borderBottomRadius:this.aA?g:0});for(var p=this.zb.mb(),q=0;q<p.length;q++){var n=0==q,r=q==p.length-
11371;p[q].ma({borderTopRadius:!this.aA&&n?g:0,borderBottomRadius:this.aA&&r?g:0})}};return a});
1138define("pt","require lE cC pg oA hR lL jg".split(" "),function(a){var e=a("lE"),l=a("cC"),m=a("pg"),k=a("oA"),b=a("hR"),h=a("lL"),f=a("jg");a=e.extend(k,function(){k.call(this);this.Pv=this.Pv.bind(this);this.Ge("DropDown");this.mN=!1;this.Ad=this.Gi=null;this.Tva=!0;this.Ve=-1;this.Vo=!1});a.prototype.tb=function(){k.prototype.tb.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);
1139this.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");
1140this.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");
1140this.h("popUpBackgroundColor","#FFFFFF");this.h("popUpBackgroundOpacity");this.h("rollOverPopUpBackgroundColor");
1141this.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");
1142this.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.Db=function(){k.prototype.Db.call(this);this.Ad||(this.Ad=new b,this.Ad.bind(m.pc,this.iSa,this),this.Ad.bind(m.OPEN,this.KSa,this),this.Ad.bind(m.WF,this.rX,this),this.Ad.bind(m.Tc,this.hSa,this),this.Ad.set("width",
1143"100%"),this.Ad.set("height","100%"),this.Ua(this.Ad));this.Gi||(this.Gi=new h,this.Gi.bind(m.WF,this.rX,this),this.Gi.bind(m.Jp,this.YSa,this),this.wb().Ua(this.Gi))};a.prototype.iSa=function(){this.Tva=!0;this.pe()};a.prototype.KSa=function(){this.Ad.open();this.Gi.set("selectedIndex",this.get("selectedIndex"));this.Gi.open(this.Ad);f.tya(this,[this.Ad.ee()].concat(this.Gi.tAa()));f.Aea(this.Pv)};a.prototype.Pv=function(){this.rX()};a.prototype.rX=function(){f.O2a([this.Ad.ee()].concat(this.Gi.tAa()))&&
1144this.Ad.ee().focus();f.G4a(this);f.vha(this.Pv);this.Ad.close();this.Gi.close()};a.prototype.hSa=function(){this.Ad.close();this.Gi.close()};a.prototype.YSa=function(){this.set("selectedIndex",this.Gi.get("selectedIndex"));this.rX();this.Vo=!0};a.prototype.Za=function(){var c=!1;if(this.K("prompt")||this.K("label"))c=!0,this.S("label"),this.S("prompt");if(this.K("selectedIndex")||this.K("items")){c=!0;var d=this.B("selectedIndex"),g=this.B("items");0<=d&&d>=g.length&&(d=-1);this.set("selectedIndex",
1145d);this.Gi.set("items",this.B("items"));this.Gi.set("selectedIndex",this.B("selectedIndex"));this.S("items");this.S("selectedIndex");this.Vo&&(this.Vo=!1,this.trigger(new l(m.ca)))}c&&(c=this.B("label"),c||(d=this.B("selectedIndex"),c=0>d?this.B("prompt"):this.B("items")[d]),this.Ad.set("label",c));this.Tva&&(this.Gi.set("minWidth",this.Ad.Ya()),this.Gi.set("buttonWidth",this.Ad.Ya()));this.qc("fontFamily fontSize fontColor fontWeight fontStyle tabIndex textDecoration horizontalAlign textShadowColor textShadowHorizontalLength textShadowVerticalLength textShadowBlurRadius textShadowOpacity".split(" "),
1146{},[this.Ad,this.Gi],!0,!0);this.qc("popUpBorderRadius popUpGap popUpPaddingBottom popUpPaddingLeft popUpPaddingRight popUpPaddingTop popUpBackgroundColor popUpBackgroundOpacity rollOverPopUpBackgroundColor selectedPopUpBackgroundColor popUpFontColor rollOverPopUpFontColor selectedPopUpFontColor popUpShadow popUpShadowBlurRadius popUpShadowColor popUpShadowHorizontalLength popUpShadowOpacity popUpShadowSpread popUpShadowVerticalLength".split(" "),{},[this.Gi],!0,!0);this.qc("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 pressedRollOverBackgroun
1146dColor pressedRollOverBackgroundColorRatios pressedRollOverShadow paddingLeft paddingTop paddingRight paddingBottom".split(" "),
1147{},[this.Ad],!0,!0);k.prototype.Za.call(this)};return a});
1148define("fR",["require","y","pg","nV","pt"],function(a){var e=a("y"),l=a("pg"),m=a("nV"),k=a("pt");a=m.define("DropDown",k,function(){k.call(this);this.wd=null;this.tqa=[];this.bind(l.ca,this.lSa,this)});a.prototype.set=function(b,h){if("playList"==b){if(this.wd)for(this.wd.unbind("change",this.Wv,this);this.tqa.length;)this.tqa.shift().dB();(this.wd=h)?(e.cu(this.wd,"items.label",this.i_,this),e.cu(this.wd,"items.media.label",this.i_,this),this.i_(),this.wd.bind("change",this.Wv,this),this.Wv()):
1149this.i_()}k.prototype.set.call(this,b,h)};a.prototype.i_=function(){this.wd?this.set("items",this.wd.get("items").map(function(b){return b.get("label")||b.get("media")&&b.get("media").get("label")})):this.set("items",[])};a.prototype.Wv=function(){this.set("selectedIndex",this.wd.get("selectedIndex"))};a.prototype.lSa=function(){this.wd&&this.wd.set("selectedIndex",this.get("selectedIndex"))};return a});
1150define("dv",["require","mh","nV"],function(a){var e=a("mh");a=a("nV").define("DustPanoramaOverlay",e,function(){e.call(this)});a.prototype.get=function(l,m){"startState"==l&&void 0===m&&(m=this.get("initialState"));return e.prototype.get.call(this,l,m)};return a});
1151define("bB",["require","nV","ez"],function(a){var e=a("nV"),l=a("ez");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.bl.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)};
1152return a});define("ke",["require","nV","iQ"],function(a){var e=a("nV"),l=a("iQ");return e.define("ExternalModel3DObject",l,function(){l.call(this)})});
1153define("bo",["require","lE","ez"],function(a){var e=a("lE"),l=a("ez");a=e.extend(l,function(){l.call(this);this.G5=this.E5=null});a.prototype.UI=function(){l.prototype.UI.call(this);this.E5=[];this.G5=[];this.Qy(function(m){this.E5.push(this.get("alphaFrom",m.al()));this.G5.push(this.get("alphaTo",m.al()))});this.OY()};a.prototype.rw=function(){l.prototype.rw.call(this);this.OY()};a.prototype.OY=function(){this.Qy(function(m,k){var b=this.E5[k];k=b+(this.G5[k]-b)*this.bl();!(0<m.al()&&m.Mb)&&0<k?
1154(m.tj(0),m.yf(!0),m.tj(k)):0==k?(m.yf(!1),m.tj(1)):m.tj(k)})};a.prototype.SI=function(){this.OY();l.prototype.SI.call(this)};a.prototype.TI=function(){this.OY();l.prototype.TI.call(this)};return a});define("nN",["require","lE","bo"],function(a){var e=a("lE"),l=a("bo");return e.extend(l,function(){l.call(this);this.set("alphaFrom",0);this.set("alphaTo",1)})});define("nZ",["require","nV","nN"],function(a){var e=a("nV"),l=a("nN");return e.define("FadeInEffect",l,function(){l.call(this)})});
1155define("oi",["require","lE","bo"],function(a){var e=a("lE"),l=a("bo");return e.extend(l,function(){l.call(this);this.set("alphaFrom",1);this.set("alphaTo",0)})});define("jY",["require","nV","oi"],function(a){var e=a("nV"),l=a("oi");return e.define("FadeOutEffect",l,function(){l.call(this)})});
1156define("gi","require mh pg lg nV lH".split(" "),function(a){var e=a("mh"),l=a("pg"),m=a("lg"),k=a("nV"),b=a("lH");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.I7=this.D6=!1;"distance fov yaw pitch x y z".split(" ").forEach(function(h){this.bind(l.F(h),this.SSa,this,!0)}.bind(this))});a.prototype.H7a=function(){this.PZ={x:this.get("x"),
1157y: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&&this.set("x",h.x);void 0!==h.y&&this.set("y",h.y);void 0!==h.z&&this.set("z",h.z);void 0!==h.distance&&this.set("distance",h.distance);void 0!==h.Ra&&this.set("yaw",h.Ra);void 0!==h.pitch&&this.set("pitch",h.pitch);void 0!==h.fov&&this.set("fov",h.fov);this.set("easing",0)};a.prototype.kWa=function(h){this.PZ||(this.PZ={});
1158for(var f in h)this.PZ[f]=h[f]};a.prototype.u5a=function(h){this.D6!==h&&(this.D6=h,this.sYa())};a.prototype.sYa=function(){this.set("clickTranslationDisabled",this.D6)};a.prototype.C5a=function(h){this.I7!==h&&(this.I7=h,this.zYa())};a.prototype.zYa=function(){this.set("doubleClickDisabled",this.I7)};a.prototype.SSa=function(){this.Nta||(this.Nta=!0,b.RA(function(){this.Nta=!1;this.TXa()}.bind(this)))};a.prototype.TXa=function(){this.trigger(l.vu)};a.g9a=100;a.prototype.setStoredPosition=function(h){this.kWa(h)};
1159a.prototype.play=function(){this.set("state",m.Y)};a.prototype.pause=function(){this.set("state",m.Ib)};a.prototype.stop=function(){this.set("state",m.W)};return a});define("kY",["require","nV","gi"],function(a){var e=a("nV"),l=a("gi");return e.define("FirstPersonModel3DCamera",l,function(){l.call(this);this.set("distance",0)})});
1160define("cR",["require","mh","pg","nV","ez"],function(a){var e=a("mh"),l=a("pg"),m=a("nV"),k=a("ez");a=m.define("HotspotPanoramaOverlay",e,function(){e.call(this);this.bind(l.dd,this.fj,this,!0);this.bind(l.Tc,this.ej,this,!0);this.ri=[];this.Mb=!1});a.prototype.set=function(b,h){switch(b){case "enabledInCardboard":this.set("enabledInVR",h);break;case "effect":case "rollOverEffect":case "areas":this.iUa(),this.ri=[]}e.prototype.set.call(this,b,h);switch(b){case "enabledInCardboard":this.set("enabledInVR",
1161h);break;case "effect":case "rollOverEffect":case "areas":this.IJa()}};a.prototype.IJa=function(){this.get("effect")&&this.get("effect").bind(k.ku,this.Qra,this,!0);this.get("rollOverEffect")&&this.get("rollOverEffect").bind(k.ku,this.cta,this,!0);
1161this.get("areas",[]).forEach(function(b){b.bind(l.cd,this.Fra,this,!0);b.bind(l.Vb,this.Era,this,!0)}.bind(this))};a.prototype.iUa=function(){this.get("effect")&&this.get("effect").unbind(k.ku,this.Qra,this,!0);this.get("rollOverEffect")&&this.get("rollOverEffect").unbind(k.ku,
1162this.cta,this,!0);this.get("areas",[]).forEach(function(b){b.unbind(l.cd,this.Fra,this,!0);b.unbind(l.Vb,this.Era,this,!0)}.bind(this))};a.prototype.Fra=function(b){0>this.ri.indexOf(b.source)&&(this.ri.push(b.source),1==this.ri.length&&this.iI())};a.prototype.Era=function(b){b=this.ri.indexOf(b.source);0<=b&&(this.ri.splice(b,1),0==this.ri.length&&this.tn())};a.prototype.iI=function(){var b=this.get("effect"),h=this.get("rollOverEffect");h&&(b&&0<b.bl()?b.reverse():h.play())};a.prototype.tn=function(){var b=
1163this.get("rollOverEffect");if(b){var h=this.get("effect");0<b.bl()?b.reverse():h&&h.get("loop")&&h.play()}};a.prototype.Qra=function(){if(0<this.ri.length){var b=this.get("rollOverEffect");b&&(this.get("effect").stop(),b.play())}};a.prototype.cta=function(){if(0==this.ri.length){this.get("rollOverEffect").stop();var b=this.get("effect");b&&b.get("loop")&&b.play()}};a.prototype.fj=function(){var b=this.get("effect");b&&b.play()};a.prototype.ej=function(){var b=this.get("effect");b&&b.stop();(b=this.get("rollOverEffect"))&&
1164b.stop()};return a});define("mT",["require","nV","cR"],function(a){var e=a("nV"),l=a("cR");return e.define("FlatHotspotPanoramaOverlay",l,function(){l.call(this)})});define("u",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("HotspotPanoramaOverlayArea",e,function(){e.call(this);this.set("displayTooltipInTouchScreens",!0)})});define("fJ",["require","nV","u"],function(a){var e=a("nV"),l=a("u");return e.define("FlatHotspotPanoramaOverlayArea",l,function(){l.call(this)})});
1165define("ii",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("QuadPanoramaOverlayPlaybackPosition",e,function(l,m,k){e.call(this);void 0!==l&&this.set("vertices",l);this.set("opacity",void 0!==m?m:1);void 0!==k&&this.set("timestamp",k)})});
1166define("ei",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("FlatPanoramaOverlayPlaybackPosition",e,function(l,m,k,b,h){e.call(this);void 0!==l&&this.set("yaw",l);void 0!==m&&this.set("pitch",m);void 0!==k&&this.set("roll",k);this.set("opacity",void 0!==b?b:1);void 0!==h&&this.set("timestamp",h)})});
1167define("gu",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("PanoramaOverlayPlaybackPosition",e,function(l,m,k,b,h,f,c,d,g){e.call(this);void 0!==l&&this.set("yaw",l);void 0!==m&&this.set("pitch",m);void 0!==k&&this.set("rotationX",k);void 0!==b&&this.set("rotationY",b);void 0!==h&&this.set("roll",h);void 0!==f&&this.set("hfov",f);void 0!==c&&this.set("vfov",c);this.set("opacity",void 0!==d?d:1);void 0!==g&&this.set("timestamp",g)})});
1168define("cG",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("PanoramaPoint",e,function(l,m){e.call(this);this.set("yaw",l);this.set("pitch",m)})});
1169define("T",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("PopupPanoramaOverlayPlaybackPosition",e,function(l,m,k,b,h,f,c){e.call(this);void 0!==l&&this.set("yaw",l);void 0!==m&&this.set("pitch",m);void 0!==k&&this.set("rotationX",k);void 0!==b&&this.set("rotationY",b);void 0!==h&&this.set("rotationZ",h);void 0!==f&&this.set("hfov",f);void 0!==c&&this.set("timestamp",c)})});
1170define("kE","require mh ii ei gu cG T".split(" "),function(a){var e=a("mh"),l=a("ii"),m=a("ei"),k=a("gu"),b=a("cG"),h=a("T");return{o1a:function(f){return this.TV(f,this.lOa)},Tfa:function(f){return this.TV(f,this.FTa)},K1a:function(f){return this.TV(f,this.MTa)},Ufa:function(f){return this.TV(f,this.WTa)},lOa:function(f){return new m(e.prototype.get.call(f,"yaw",0),e.prototype.get.call(f,"pitch",0),e.prototype.get.call(f,"roll",0),e.prototype.get.call(f,"opacity",1),0)},WTa:function(f){var c=e.prototype.get.call(f,
1171"vertices",[null,null,null,null]);return new l([c[0]||new b(0,0),c[1]||new b(0,0),c[2]||new b(0,0),c[3]||new b(0,0)],e.prototype.get.call(f,"opacity",1),0)},FTa:function(f){function c(d,g){return e.prototype.get.call(f,d,g)}return new k(c("yaw",0),c("pitch",0),c("rotationX",0),c("rotationY",0),c("roll",0),c("hfov",void 0===c("vfov")?45:void 0),c("vfov"),c("opacity",1),0)},MTa:function(f){function c(d,g){return e.prototype.get.call(f,d,g)}return new h(c("yaw",0),c("pitch",0),c("rotationX",0),c("rotationY",
11720),c("rotationZ",0),c("hfov",45),0)},TV:function(f,c){var d=e.prototype.get.call(f,"playbackPositions")||[];return 0<d.length?d.slice().sort(function(g,p){return g.get("timestamp")-p.get("timestamp")||d.indexOf(g)-d.indexOf(p)}):[c(f)]}}});
1173define("jA",["require","mh","pg","nV","kE"],function(a){var e=a("mh"),l=a("pg"),m=a("nV"),k=a("kE");a=m.define("FlatHotspotPanoramaOverlayImageBase",e,function(){e.call(this);this.ld=void 0});a.prototype.get=function(b,h){switch(b){case "playbackPositions":return void 0===this.ld&&(this.ld=k.o1a(this)),this.ld}return e.prototype.get.call(this,b,h)};a.prototype.set=function(b,h){var f=!1;switch(b){case "opacity":case "distance":case "pitch":case "roll":case "yaw":case "playbackPositions":this.ld=void 0,
1174f=!0}e.prototype.set.call(this,b,h);f&&"playbackPositions"!=b&&this.trigger(l.F("playbackPositions"))};return a});define("q",["require","nV","jA"],function(a){var e=a("nV"),l=a("jA");return e.define("FlatHotspotPanoramaOverlayImage",l,function(){l.call(this)})});define("ed",["require","nV","jA"],function(a){var e=a("nV"),l=a("jA");return e.define("FlatHotspotPanoramaOverlayMap",l,function(){l.call(this)})});
1175define("oV",["require","nV","gi"],function(a){var e=a("nV"),l=a("gi");return e.define("FlyOverModel3DCamera",l,function(){l.call(this)})});
1176define("nh",["require","mh","pg","nV","kE"],function(a){var e=a("mh"),l=a("pg"),m=a("nV"),k=a("kE");a=m.define("FramePanoramaOverlay",e,function(){e.call(this);this.ld=void 0});a.prototype.set=function(b,h){var f=!1;switch(b){case "hfov":case "pitch":case "rotationX":case "rotationY":case "roll":case "vfov":case "yaw":case "playbackPositions":this.ld=void 0,f=!0}e.prototype.set.call(this,b,h);f&&"playbackPositions"!=b&&this.trigger(l.F("playbackPositions"))};a.prototype.get=function(b,h){switch(b){case "playbackPositions":return void 0===
1177this.ld&&(this.ld=k.Tfa(this)),this.ld}return e.prototype.get.call(this,b,h)};return a});define("kg",["require","mh","nV"],function(a){var e=a("mh");a=a("nV").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),b=this.get("levels"),h=0;b&&h<b.length&&void 0===k;h++){var f=b[h];f!=this&&(k=f.get(l))}return void 0!==k?k:m}return e.prototype.get.call(this,l,m)};return a});
1178define("cs",["require","kg","nV"],function(a){var e=a("kg");return a("nV").define("TDTilesModel3DResource",e,function(){e.call(this)})});
1179define("mE",["require","mh","nV"],function(a){var e=a("mh");a=a("nV").define("Model3DResourceLevel",e,function(){e.call(this)});a.WT="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),b=this.get("levels"),h=0;b&&h<b.length&&void 0===k;h++){var f=b[h];f!=this&&(k=f.get(l))}return void 0!==k?k:m}return e.prototype.get.call(this,l,m)};return a});
1180define("cZ",["require","cs","mE","nV"],function(a){var e=a("cs"),l=a("mE");a=a("nV").define("GoogleMaps3DTilesModel3DResource",e,function(){e.call(this)});a.prototype.set=function(b,h){e.prototype.set.call(this,b,h);switch(b){case "latitude":case "longitude":this.sf();break;case "apiKey":this.LYa()}};a.prototype.sf=function(){var b=this.get("latitude"),h=this.get("longitude");if(void 0!==b&&void 0!==h){b=this.Woa(b,h);h=(new THREE.Vector3).crossVectors(b,(new THREE.Vector3).crossVectors(this.Woa(90,
11810),b));var f=new THREE.Vector3(0,0,0);h=(new THREE.Matrix4).lookAt(b,f,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",-b.x);this.set("positionY",-b.y);this.set("positionZ",-b.z)}};a.prototype.Woa=function(b,h){b*=m;h*=m;var f=1/298.257223563;const c=Math.sin(b);b=Math.cos(b);f=2*f-f*f;
1182const d=6378137/Math.sqrt(1-f*c*c);return new THREE.Vector3((d+0)*b*Math.cos(h),(d+0)*b*Math.sin(h),d*(1-f)*c)};a.prototype.LYa=function(){var b=this.get("apiKey");if(void 0!==b){var h=new l;h.set("url","https://tile.googleapis.com/v1/3dtiles/root.json?key="+b);this.set("levels",[h])}};var m=Math.PI/180,k=180/Math.PI;return a});
1183define("dr",["require","en","lE","oA","d"],function(a){var e=a("en"),l=a("lE"),m=a("oA");a=a("d");var k=l.extend(m,function(){m.call(this)});k.Ac={layout:a.Wx};e.defaults(k.Ac,m.Ac);k.prototype.tb=function(){this.lo(k.Ac)};return k});define("kd",["require","nV","dr"],function(a){var e=a("nV"),l=a("dr");return e.define("GridContainer",l,function(){l.call(this)})});
1184define("jI","require en jquery.mod cC gv pg ik mC gY bv lE".split(" "),function(a){function e(){}function l(q){this.z4a=q;this.items=[];this.priority=0}var m=a("en");a("jquery.mod");var k=a("cC"),b=a("gv"),h=a("pg"),f=a("ik"),c=a("mC"),d=a("gY"),g=a("bv"),p=a("lE").extend(b,function(q){b.call(this);this.url=q;this.uha=this.priority=0;this.status=p.U4;this.Ex=null});p.prototype.Kga=function(q){this.uha+=q};p.prototype.wK=function(q){this.priority+=q};p.prototype.start=function(){this.status=p.VT;d.Y2(this.url)?
1185this.lz():this.vo=g.add(this.url,f.v3,this.TUa.bind(this),this.Gma.bind(this))};p.prototype.TUa=function(){this.Ex=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");this.Ex.open("GET",this.url);this.Ex.onreadystatechange=function(){3<this.Ex.readyState&&this.lz()}.bind(this);this.Ex.send()};p.prototype.Gma=function(){this.Ex&&(this.Ex.abort(),this.Ex=null)};p.prototype.stop=function(){this.status==p.VT&&(this.status=p.U4,this.Gma(),this.vo&&this.vo.cancel())};p.prototype.lz=
1186function(){this.Ex=null;this.vo&&(this.vo.loaded(),this.vo=null);this.status=p.MIa;this.trigger(new k(h.Z))};p.U4="not loaded";p.VT="loading";p.MIa="loaded";l.prototype.$Za=function(q){q.forEach(function(n){0>this.items.indexOf(n)&&(this.items.push(n),n.wK(this.priority),n.Kga(1))}.bind(this))};l.prototype.L4a=function(q){var n=this.items;this.items=[];
1186n.forEach(function(r){0>q.indexOf(r)?this.items.push(r):(r.wK(-this.priority),r.Kga(-1))}.bind(this))};l.prototype.B4a=function(){this.items.forEach(function(q){q.wK(-this.priority);
1187q.Kga(-1)}.bind(this));this.items=[];this.priority=0};l.prototype.wK=function(q){this.priority+=q;this.items.forEach(function(n){n.wK(q)})};e.he=[];e.qua=[];e.uOa=0;e.sya=function(q,n){this.JY(q).$Za(n.map(function(r){return this.ya(r)}.bind(this)));this.AZ();this.ha()};e.S4a=function(q,n){this.JY(q).L4a(n.map(function(r){return this.ya(r)}.bind(this)));this.AZ();this.ha()};e.C4a=function(q){this.JY(q).B4a();this.AZ();this.ha()};e.D1=function(q,n){this.JY(q).wK(n);this.AZ();this.ha()};e.AZ=function(){this.he.sort(function(q,
1188n){return n.priority-q.priority})};e.ha=function(q){if(this.enabled()&&(q||!this.pt))if(q){this.pt&&clearTimeout(this.pt);this.pt=null;q=this.sPa();var n=this.tPa();m(q).difference(n).forEach(function(r){r.stop()});m(n).difference(q).forEach(function(r){r.start()})}else this.pt=setTimeout(function(){this.pt=null;this.ha(!0)}.bind(this),1E3)};e.pt=null;e.sPa=function(){return this.he.filter(function(q){return q.status==p.VT})};e.tPa=function(){for(var q=this.uPa(),n=[],r=0;r<this.he.length&&n.length<
1189q;r++){var u=this.he[r];0<u.uha&&(u.status==p.U4||u.status==p.VT)&&n.push(u)}return n};e.uPa=function(){return 0<this.uOa?0:5};e.JY=function(q){var n=m(this.qua).find(function(r){return r.z4a==q});n||(n=new l(q),this.qua.push(n));return n};e.ya=function(q){var n=m(this.he).find(function(r){return r.url==q});n||(n=new p(q),n.bind(h.Z,this.ha,this),this.he.push(n));return n};e.enabled=function(q){if(void 0===q)return e.sNa||e.tNa?!1:void 0!==e.V7?e.V7:e.U;e.U=q};e.U=!0;e.sia=function(q){e.V7=q.get(TDV.PlayerSettings.BACKGROUND_PRELOAD_ENABLED)};
1190e.V7=void 0;e.tNa=c.eg("disable-background-preload",!1);e.sNa=!1;return e});define("eu",["require","lE","mh","nV","jI"],function(a){var e=a("lE"),l=a("mh"),m=a("nV"),k=a("jI");a=m.define("Media",l,function(){l.call(this);this.Jda=e.lp(this.Jda,this)});a.prototype.Jda=function(){k.sya(this,this.Ot())};a.prototype.Ot=function(){return[]};a.prototype.O4a=function(){k.C4a(this)};a.prototype.set=function(b,h){l.prototype.set.call(this,b,h);this.Jda()};return a});
1191define("fh",["require","nV","eu"],function(a){var e=a("nV"),l=a("eu");a=e.define("Panorama",l,function(){l.call(this);this.JW=this.VI=void 0;this.set("minFaceSize",void 0)});a.prototype.get=function(m,k){switch(m){case "overlays":return this.O8();case "frames":return this.jpa();case "partial":if(359.9>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.O8=function(){var m=
1192l.prototype.get.call(this,"overlays");m||(m=[]);return this.tca(m)};a.prototype.tca=function(m){if(void 0===this.VI||this.JW!=m){var k=function(h){return e.Ga("PopupPanoramaOverlay",h)},b=function(h){return e.Ga("LensFlarePanoramaOverlay",h)};this.JW=m;this.VI=[].concat(m.filter(function(h){return!(k(h)||b(h))}),m.filter(b),m.filter(k))}return this.VI};a.prototype.gBa=function(){return 0<this.get("overlays").filter(function(m){return e.Ga("TripodCapPanoramaOverlay",m)}).length};a.prototype.XAa=function(){return 0<
1193this.get("overlays").filter(function(m){return e.Ga("CeilingCapPanoramaOverlay",m)}).length};a.prototype.wBa=function(){if(!this.lga())return!1;var m=this.get("pitch",0),k=this.get("vfov",180);if(179.9<=k)return!0;var b=this.XAa()?90:m+.5*k;m=this.gBa()?-90:m-.5*k;return 179.9<=b-m?!0:!1};a.prototype.lga=function(){return 359.9<=this.get("hfov")&&!this.get("partial")};a.prototype.tm=function(){var m=this.jpa();return 0<m.length&&m[0].tm()};a.prototype.uR=function(){return 0};a.prototype.jpa=function(){var m=
1194l.prototype.get.call(this,"frames",[]);m.forEach(function(k){k.k_a(this)}.bind(this));return m};return a});define("nD",["require","nV","fh"],function(a){var e=a("nV"),l=a("fh");a=e.define("HDRPanorama",l,function(){l.call(this)});a.prototype.uR=function(){var m=this.get("frames")||[];return Math.floor((m.length-1)/2)};return a});define("mn",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("HotspotMapOverlayArea",e,function(){e.call(this)})});
1195define("mr",["require","mh","nV"],function(a){var e=a("mh"),l=a("nV").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>m.indexOf(l.ks)&&e.prototype.get.call(this,"grayscale")&&(m=m.concat([l.ks])),m}return e.prototype.get.call(this,m,k)};l.prototype.fBa=function(m){return 0<=this.get("tags").indexOf(m)};l.ks="preload";l.WT="mobile";l.Lka="ipadpro";l.XT="mobilevr";l.Z4=
1196"mobilevr2gen";l.a5="ondemand";return l});
1197define("gn",["require","mr","v","mC"],function(a){var e=a("mr"),l=a("v"),m=a("mC");return{nr:function(k){return this.Zj(k,"load")},SE:function(k){return this.Zj(k,"preload")},iK:function(k){return this.nr(k)!=this.SE(k)},Zj:function(k,b){k=k.get("levels")||[];var h=this.EOa(k);h=this.NPa(b,h);k=this.hOa(k,b);(b=this.tpa(k,h[0],h[1],this.MPa(b)))||(b=this.tpa(k,h[0],h[1],void 0));return b},hOa:function(k,b){"preload"==b?k=this.NM(k,e.ks):"load"==b&&(k=this.gOa(k,e.ks));l.Xw()&&(k=this.NM(k,e.Lka));
1198if(l.g1()||l.h1())k=this.NM(k,e.Z4);l.Hf()&&(k=this.NM(k,e.XT));
1198l.nb()&&(k=this.NM(k,e.WT));return k},EOa:function(k){if(0==k.length)return 1;k.sort(function(b,h){return h.get("width")-b.get("width")});return k[0].get("width")/k[0].get("height")},NPa:function(k,b){if("preload"==k)return[0,0];k=1E4;this.nOa()||(l.Hf()?k=2048:l.Xw()?k=2048:l.nb()&&(k=1024));return 1>b?[k*b,k]:[k,k/b]},MPa:function(k){if("load"==k)return!1},nOa:function(){return l.Xw()&&m.eg("recent_ipad_use_max_res",!1)},NM:function(k,
1199b){var h=k.filter(function(f){return f.fBa(b)});0==h.length&&(h=k);return h},gOa:function(k,b){var h=k.filter(function(f){return!f.fBa(b)});0==h.length&&(h=k);return h},tpa:function(k,b,h,f){function c(d){return Math.abs(d.get("width")*d.get("height")-b*h)}k=k.filter(function(d){return void 0!==f&&f!=d.get("grayscale",!1)?!1:!0});if(0==k.length)return null;k.sort(function(d,g){return c(d)-c(g)});return k[0]}}});
1200define("K",["require","mh","nV","gn"],function(a){var e=a("mh"),l=a("nV"),m=a("gn");a=l.define("HotspotMapOverlayImageBase",e,function(){e.call(this)});a.prototype.nr=function(){return this.get("image")?m.nr(this.get("image")):null};a.prototype.SE=function(){return this.get("image")?m.SE(this.get("image")):null};return a});define("lF",["require","lE","cC"],function(a){var e=a("lE"),l=a("cC");return e.extend(l,function(m,k){l.call(this,m);this.Yg=k})});
1201define("cu",["require","lE","mh","pg","lF"],function(a){var e=a("lE"),l=a("mh"),m=a("pg"),k=a("lF");a=e.extend(l,function(){l.call(this);this.yQ=[];this.cg=void 0;this.C="initial"});a.prototype.Pt=function(){return this.yQ};a.prototype.VK=function(b){this.yQ!=b&&(this.yQ=b,this.lz=this.cg=void 0)};a.prototype.h6a=function(b){this.cg!==b&&(this.C="loading",this.cg=b,this.trigger(new k(m.kc,this.cg)))};a.prototype.RS=function(){"loaded"!==this.C&&(this.C="loaded",this.trigger(m.Z))};a.prototype.F5a=
1202function(){"loaded"!==this.C&&(this.C="error",this.trigger(m.yc))};return a});define("dB",["require","lE","cu"],function(a){var e=a("lE"),l=a("cu");a=e.extend(l,function(m){l.call(this);this.jf=m;this.u=void 0});a.prototype.getType=function(){return this.jf};a.prototype.n2a=function(m){return void 0!==this.u&&this.u===m.u};a.Vka="map";a.Wka="overlay";return a});
1203define("kj",["require","lE","dB"],function(a){var e=a("lE"),l=a("dB");a=e.extend(l,function(m,k,b){l.call(this,l.Wka);this.uTa=m;this.La=k;this.Oa=b});a.prototype.getX=function(){return this.La};a.prototype.getY=function(){return this.Oa};a.Tka="image";a.Ska="fov";return a});
1204define("ml",["require","lE","kj"],function(a){var e=a("lE"),l=a("kj");a=e.extend(l,function(m,k,b,h,f,c,d,g,p,q,n,r){l.call(this,l.Tka,b,h);this.u=m;this.Pd=k;this.Rua=f;this.Mv=c;this.Nv=d;this.oa=g;this.wa=p;this.Ef=q;this.Hl=n;this.mm=r;this.yQ=[k]});a.prototype.Oi=function(){return this.Pd};a.prototype.je=function(){return this.oa};a.prototype.Ye=function(){return this.wa};return a});
1205define("hr",["require","nV","K","gn","ml"],function(a){var e=a("nV"),l=a("K"),m=a("gn"),k=a("ml");a=e.define("HotspotMapOverlayImage",l,function(){l.call(this);this.Iv=void 0});a.prototype.getItem=function(){return this.$j()};a.prototype.$j=function(){void 0===this.Iv&&(this.Iv=this.e0());return this.Iv};a.prototype.e0=function(b){var h=this.get("image");return h?(h=m.nr(h),new k(this,h.get("url"),this.get("x"),this.get("y"),b,this.get("offsetX"),this.get("offsetY"),this.get("width"),this.get("height"),
1206this.get("scaleMode"),this.get("horizontalAlign"),this.get("verticalAlign"))):null};return a});define("N",["require","nV","K"],function(a){var e=a("nV"),l=a("K");return e.define("HotspotMapOverlayMap",l,function(){l.call(this)})});
1207define("gt",["require","mh","pg","nV","kE"],function(a){var e=a("mh"),l=a("pg"),m=a("nV"),k=a("kE");a=m.define("HotspotPanoramaOverlayImageBase",e,function(){e.call(this);this.ld=void 0});a.prototype.get=function(b,h){switch(b){case "playbackPositions":return void 0===this.ld&&(this.ld=k.Tfa(this)),this.ld}return e.prototype.get.call(this,b,h)};a.prototype.set=function(b,h){var f=!1;switch(b){case "distance":case "hfov":case "vfov":case "pitch":case "rotationX":case "rotationY":case "roll":case "yaw":case "opacity":case "playbackPositions":this.ld=
1208void 0,f=!0}e.prototype.set.call(this,b,h);f&&"playbackPositions"!=b&&this.trigger(l.F("playbackPositions"))};return a});define("lT",["require","nV","gt"],function(a){var e=a("nV"),l=a("gt");return e.define("HotspotPanoramaOverlayImage",l,function(){l.call(this)})});
1208define("X",["require","nV","gt"],function(a){var e=a("nV"),l=a("gt");return e.define("HotspotPanoramaOverlayMap",l,function(){l.call(this)})});
1209define("lG",["require"],function(){function a(g){var p={};g=g.split(",");for(var q=0;q<g.length;q++)p[g[q]]=!0;return p}var e=/^<([-A-Za-z0-9_]+:?[-A-Za-z0-9_]*)((?:\s+[-A-Za-z0-9_]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,l=/^<\/([-A-Za-z0-9_]+:?[-A-Za-z0-9_]*)[^>]*>/,m=/([-A-Za-z0-9_]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,k=a("area,base,basefont,br,col,frame,hr,img,input,isindex,link,meta,param,embed"),b=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"),
1210h=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"),f=a("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),c=a("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),d=a("script,style");return function(g,p){function q(w,x,y,z){x=x.toLowerCase();if(b[x])for(;r.last()&&h[r.last()];)n("",r.last());f[x]&&
1211r.last()==x&&n("",x);(z=k[x]||!!z)||r.push(x);if(p.start){var C=[];y.replace(m,function(A,B,E,G,K){A=E?E:G?G:K?K:c[B]?B:"";C.push({name:B,value:A,ufa:A.replace(/(^|[^\\])"/g,'$1\\"')})});p.start&&p.start(x,C,z)}}function n(w,x){if(x)for(x=x.toLowerCase(),w=r.length-1;0<=w&&r[w]!=x;w--);else w=0;if(0<=w){for(x=r.length-1;x>=w;x--)p.end&&p.end(r[x]);r.length=w}}var r=[],u=g;for(r.last=function(){return this[this.length-1]};g;){var t=!0;if(r.last()&&d[r.last()])g=g.replace(new RegExp("(.*?)</"+r.last()+
1212"[^>]*>"),function(w,x){x=x.replace(/\x3c!--(.*?)--\x3e/g,"$1").replace(/<!\[CDATA\[(.*?)]]\x3e/g,"$1");p.XQ&&p.XQ(x);return""}),n("",r.last());else{if(0==g.indexOf("\x3c!--")){var v=g.indexOf("--\x3e");
12120<=v&&(p.Q_a&&p.Q_a(g.substring(4,v)),g=g.substring(v+3),t=!1)}else if(0==g.indexOf("</")){if(v=g.match(l))g=g.substring(v[0].length),v[0].replace(l,n),t=!1}else 0==g.indexOf("<")&&(v=g.match(e))&&(g=g.substring(v[0].length),v[0].replace(e,q),t=!1);t&&(v=g.indexOf("<"),t=0>v?g:g.substring(0,v),g=0>
1213v?"":g.substring(v),p.XQ&&p.XQ(t))}if(g==u)throw"Parse Error: "+g;u=g}n()}});
1214define("fC","require jquery.mod en lE pg cC gv v lG".split(" "),function(a){var e=a("jquery.mod");a("en");var l=a("lE"),m=a("pg"),k=a("cC"),b=a("gv"),h=a("v"),f=a("lG"),c=l.extend(b,function(d){b.call(this);this.Af=e(d);this.oP=[];this.Jy=null});c.prototype.G2a=function(d){d&&0<=d.toLowerCase().indexOf("<script")?h.CJ()==h.oL?this.NQa(d):this.MQa(d):this.LQa(d)};c.prototype.LQa=function(d){this.Af.empty();d&&this.Af.append(d);this.Lwa()};c.prototype.NQa=function(d){this.Af.empty();var g=this.Af,p=
1215null,q=[],n=null;new f(d,{start:function(r,u,t){if("script"==r){t=void 0;for(var v=0;v<u.length&&void 0===t;v++){var w=u[v];"src"==w.name&&(t=w.value)}n={parent:g,previousSibling:p,src:t,content:""}}else{var x={};for(v=0;v<u.length;v++)w=u[v],x[w.name]=w.value;u=e("<"+r+"/>");u.attr(x);g.append(u);t?p=u:(g=u,p=null)}},XQ:function(r){n?n.content+=r:g.append(r)},end:function(r){"script"==r?(q.push(n),n=null):(p=g,g=g.parent())}});this.oP=q;this.PW()};c.prototype.MQa=function(d){function g(){q++;return p+
1216q}this.Af.empty();var p="fragment_"+l.x4a(6)+"_",q=0,n=g(),r=[n],u=void 0,t=[],v=null,w="";new f(d,{start:function(z,C,A){if("script"==z){A=void 0;for(z=0;z<C.length&&void 0===A;z++){var B=C[z];"src"==B.name&&(A=B.value)}v={parentClsName:r[r.length-1],previousSiblingClsName:u,src:A,content:""}}else{w+="<"+z;var E=g(),G=!1;for(z=0;z<C.length;z++)B=C[z],"class"==B.name&&(B.ufa+=" "+E,G=!0),w+=" "+B.name+'="'+B.ufa+'"';G||(w+=' class="'+E+'"');A?(w+="/>",u=E):(w+=">",r.push(E),u=void 0)}},XQ:function(z){v?
1217v.content+=z:w+=z},end:function(z){"script"==z?(t.push(v),v=null):(u=r[r.length-1],r.pop())}});this.Af.get(0).innerHTML=w;this.Af.addClass(n);for(d=0;d<t.length;d++){var x=t[d],y=x.parentClsName;delete x.parentClsName;u=x.previousSiblingClsName;delete x.previousSiblingClsName;x.parent=e("."+y);x.previousSibling=u?e("."+u):null}this.Af.removeClass(n);this.oP=t;this.PW()};c.prototype.PW=function(){if(!this.Jy)if(0<this.oP.length){this.Jy=this.oP[0];this.oP.splice(0,1);var d=this.Jy.src;if(d){var g=
1218this;c.ARa(d,function(){g.Eqa()},function(){g.HRa()})}else{var p=this.Jy.parent;d=this.Jy.previousSibling;var q=d?d.next():p.children(":first");d=document.write;document.write=q.length?function(n){q.before(n)}:function(n){p.append(n)};e.globalEval(this.Jy.content);document.write=d;this.Eqa()}}else this.Lwa()};c.prototype.HRa=function(){this.Jy=null;this.PW()};c.prototype.Eqa=function(){this.Jy=null;this.PW()};c.prototype.Lwa=function(){this.trigger(new k(m.Bb))};c.Cqa={};c.ARa=function(d,g,p){c.Cqa[d]?
1219g.call(window):e.ajax({url:d,async:!1,dataType:"script",error:p,success:function(){c.Cqa[d]=!0;g.call(window)}})};return c});
1220define("mZ",["require","lE","pg","cC","gv"],function(a){var e=a("lE"),l=a("pg"),m=a("cC"),k=a("gv");a=e.extend(k,function(b,h){k.call(this);this.WQa=b;this.U=h;this.kj=null});a.prototype.bind=function(){var b=k.prototype.bind.apply(this,arguments);this.vQ();return b};a.prototype.unbind=function(){var b=k.prototype.unbind.apply(this,arguments);this.vQ();return b};a.prototype.start=function(){this.U=!0;this.vQ()};a.prototype.stop=function(){this.U=!1;this.vQ()};a.prototype.EO=function(){this.trigger(new m(l.xe))};
1221a.prototype.vQ=function(){if(this.U&&this.Zfa(l.xe)){if(null==this.kj){var b=this;this.kj=setTimeout(function(){b.kj=null;b.EO();b.vQ()},this.WQa)}}else null!=this.kj&&(clearTimeout(this.kj),this.kj=null)};return a});
1222define("lD","require jquery.mod en lE pg iz nl e fC hG mZ".split(" "),function(a){var e=a("jquery.mod"),l=a("en"),m=a("lE"),k=a("pg"),b=a("iz"),h=a("nl"),f=a("e"),c=a("fC"),d=a("hG");a=a("mZ");var g=m.extend(f,function(){f.call(this);this.Ge("HTML");this.nC=g.aU;this.$ta=this.aua=0;this.Uva=(new Date).getTime();this.nV=this.Fj=null;this.BG=this.BG.bind(this);this.M5=[]});g.prototype.tb=function(){f.prototype.tb.call(this);this.h("content");this.h("horizontalAlign",h.Wa);this.h("verticalAlign",h.le);
1223this.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)};g.prototype.bt=function(q){this.gb&&b.get(this.gb).E4a(this.BG);f.prototype.bt.call(this,q);this.gb&&(b.get(this.gb).RZa(this.BG),b.get(this.gb).FJ(this.BG))};g.prototype.Db=function(){f.prototype.Db.call(this);
1224if(!this.nV){this.Fj=document.createElement("div");this.nV=e(this.Fj);this.D7({position:"absolute",display:"inline",left:0,top:0,"box-sizing":"border-box"});var q=this.Ob();q.RK(!1);q.append(this.nV);this.Qpa=new c(this.nV);this.Qpa.bind(k.Bb,this.AQa,this,!0);this.bind(k.pc,this.Rpa,this)}};g.prototype.Za=function(){var q={},n=!1;this.K("visible")&&(n=!0);this.K("content")&&(n=this.B("content"),this.Qpa.G2a(n),this.S("content"),n=!0);if(this.K("width")||this.K("height"))n=!0;this.K("fontFamily")&&
1225(n=this.B("fontFamily"),l(n).isString()||(n=""),q.fontFamily=d.Qw(n),this.S("fontFamily"),n=!0);this.K("fontSize")&&(n=this.B("fontSize"),l(n).isNumber()?n+="px":l(n).isString()||(n=""),q.fontSize=n,this.S("fontSize"),n=!0);this.K("fontColor")&&(n=this.B("fontColor"),l(n).isString()||(n=""),q.color=n,this.S("fontColor"),n=!0);if(this.K("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;
1226default:n="normal"}q.fontWeight=n;this.S("fontWeight");n=!0}if(this.K("fontStyle")){n=this.B("fontStyle");switch(n){case "italic":case "normal":break;default:n="normal"}q.fontStyle=n;this.S("fontStyle");n=!0}if(this.K("textDecoration")){n=this.B("textDecoration");switch(n){case "underline":case "overline":case "line-through":case "none":break;default:n="none"}q.textDecoration=n;this.S("textDecoration");n=!0}if(this.K("textAlign")){n=this.B("textAlign");
1226switch(n){case "left":case "right":case "center":case "justify":break;
1227default:n=""}q["text-align"]=n;this.S("textAlign");n=!0}var r=["textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];if(l(r).any(function(t){return this.K(t)},this)){var u={};l(r).each(function(t){u[t]=this.B(t);this.S(t)},this);q["-moz-text-shadow"]=q["-webkit-text-shadow"]=q["text-shadow"]=[u.textShadowHorizontalLength+"px",u.textShadowVerticalLength+"px",u.textShadowBlurRadius+"px","rgba("+parseInt("0x"+u.textShadowColor.substr(1,
12282))+", "+parseInt("0x"+u.textShadowColor.substr(3,2))+", "+parseInt("0x"+u.textShadowColor.substr(5,2))+", "+u.textShadowOpacity+")"].join(" ");r=0==u.textShadowVerticalLength&&0==this.B("textShadowHorizontalLength")?135:45*Math.round(4*Math.atan2(u.textShadowHorizontalLength,-u.textShadowVerticalLength)/Math.PI);q.filter="progid:DXImageTransform.Microsoft.Shadow(color=#"+("00"+(255*u.textShadowOpacity).toString(16)).slice(-2)+u.textShadowColor.substr(1,6)+",direction="+r+")"}l(["paddingTop","paddingRight",
1229"paddingBottom","paddingLeft"]).any(function(t){return this.K(t)},this)&&(n=!0);this.D7(q);f.prototype.Za.call(this);n&&this.ira()};g.prototype.ira=function(){this.Rpa();this.Yb();this.B("visible")&&this.B("content")?this.sP(g.gla):this.sP(g.aU)};g.prototype.bA=function(q,n){for(n=q.target;n&&"A"!=n.tagName&&"BUTTON"!=n.tagName;)n=n.parentElement;n=!n;f.prototype.bA.call(this,q,n)};g.prototype.Lv=function(){f.prototype.Lv.call(this);var q=this.Ob();this.Pl=this.Fj.clientWidth+q.cK()+q.eK();this.Ol=
1230this.Fj.clientHeight+q.fK()+q.ZJ()};g.prototype.yva=function(q){this.Q8()!=q&&(this.Fj.style.paddingLeft=q+"px",this.Yb())};
1230g.prototype.Q8=function(){return parseInt(this.Fj.style.paddingLeft)||0};g.prototype.Ava=function(q){this.T8()!=q&&(this.Fj.style.paddingTop=q+"px",this.Yb())};g.prototype.T8=function(){return parseInt(this.Fj.style.paddingTop)||0};g.prototype.zva=function(q){this.S8!=q&&(this.Fj.style.paddingRight=q+"px",this.Yb())};g.prototype.S8=function(){return parseInt(this.Fj.style.paddingRight)||
12310};g.prototype.xva=function(q){this.P8()!=q&&(this.Fj.style.paddingBottom=q+"px",this.Yb())};g.prototype.P8=function(){return parseInt(this.Fj.style.paddingBottom)||0};g.prototype.AQa=function(){this.M5=Array.prototype.slice.call(this.Fj.querySelectorAll("*[style]")).map(function(q){var n={};n.y0a=q;n.style=q.getAttribute("style");return n}).filter(function(q){return p.test(q.style)}).map(function(q){for(var n=q.style,r=[];;){var u=p.exec(n);if(u)r.push(function(t){return function(){return t}}(n.substr(0,
1232u.index+1))),r.push(function(t,v){switch(v){case "vw":return function(w){return Math.round(w*t)+"px"};case "vh":return function(w,x){return Math.round(x*t)+"px"};case "vmin":return function(w,x,y){return Math.round(y*t)+"px"};case "vmax":return function(w,x,y){return Math.round(y*t)+"px"}}}(parseFloat(u[1]),u[3].toLowerCase())),n=n.substr(u.index+u[0].length);else return r.push(function(t){return function(){return t}}(n)),q.functions=r,q}});this.gb&&b.get(this.gb).FJ(this.BG)};g.prototype.BG=function(q,
1233n,r,u){0!=this.M5.length&&(this.M5.forEach(function(t){var v=t.functions.map(function(w){return w(q,n,r,u)}).join("");t.y0a.setAttribute("style",v)}),this.ira())};g.prototype.Rpa=function(){var q={width:"auto",height:"auto"},n=this.Ob();if(!this.e9()){this.Pl!=this.oa&&this.Yb();var r=this.oa-(n.cK()+n.eK());0<r&&(q.width=r+"px")}this.Lpa()||(this.Ol!=this.wa&&this.Yb(),n=this.wa-(n.fK()+n.ZJ()),0<n&&(q.height=n+"px"));this.D7(q)};g.prototype.Kra=function(){var q=this.Fj.clientWidth,n=this.Fj.clientHeight;
1234this.aua!=q||this.$ta!=n?(this.aua=q,this.$ta=n,this.Yb(),this.sP(g.gla)):(q=(new Date).getTime()-this.Uva,q>g.yJa?this.sP(g.lJa):q>g.xJa&&this.sP(g.kJa))};g.prototype.FUa=function(){this.Uva=(new Date).getTime()};g.prototype.sP=function(q){this.nC==g.U8a&&this.FUa();this.nC!=q&&(this.nC!=g.aU&&g.Rma[this.nC].unbind(k.xe,this.Kra,this),this.nC=q,this.nC!=g.aU&&g.Rma[this.nC].bind(k.xe,this.Kra,this,!0))};g.prototype.D7=function(q){var n=this.Fj.style,r;for(r in q)n[r]=q[r]};var p=/[^\d]((\d*\.)?\d+)\s*(vmin|vmax|vw|vh)/i;
1235g.aU="stopped";g.lJa="slow";g.kJa="normal";g.gla="fast";g.yJa=3E4;g.xJa=5E3;g.Rma={slow:new a(2E3,!0),normal:new a(500,!0),fast:new a(100,!0)};return g});define("ky",["require","lD","nV"],function(a){var e=a("lD");return a("nV").define("HTML",e,function(){e.call(this)})});define("b",["require","en","lE","oA","d"],function(a){var e=a("en"),l=a("lE"),m=a("oA");a=a("d");var k=l.extend(m,function(){m.call(this)});k.Ac={layout:a.tT};e.defaults(k.Ac,m.Ac);k.prototype.tb=function(){this.lo(k.Ac)};return k});
1236define("jc",["require","lE","hY","b","lD"],function(a){var e=a("lE"),l=a("hY"),m=a("b"),k=a("lD");a=e.extend(m,function(){m.call(this);this.bz=null;this.set("contentOpaque",!0)});a.prototype.tb=function(){m.prototype.tb.call(this);this.h("overflow",l.Ip);this.h("html")};a.prototype.Db=function(){m.prototype.Db.call(this);null==this.bz&&(this.bz=new k,this.bz.ma({left:0}),this.Ua(this.bz))};a.prototype.Za=function(){this.K("html")&&(this.bz.set("content",this.B("html")),this.S("html"));this.qc(["paddingLeft",
1237"paddingTop","paddingRight","paddingBottom"],{},[this.bz],!0,!0);this.qc(["cursor"],{},[this.bz],!0,!1);m.prototype.Za.call(this);this.bz.set("width",this.e9()?void 0:"100%")};return a});define("bx",["require","jc","nV"],function(a){var e=a("jc");return a("nV").define("HTMLText",e,function(){e.call(this)})});
1238define("mg","require jquery.mod lE pg cC mC hA bd mv gW ek mR".split(" "),function(a){function e(r,u,t){return function(v){var w="mouse"==u?this.Wy(v):this.QC(v);this.kqa(w)?r.call(this,v):"release"==t?r.call(this,v):this.vOa(w,v)}}var l=a("jquery.mod"),m=a("lE"),k=a("pg"),b=a("cC"),h=a("mC"),f=a("hA"),c=a("bd"),d=a("mv"),g=a("gW"),p=a("ek"),q=a("mR"),n=h.pj("debug");a=m.extend(q,function(){this.Ge("Button");q.call(this,3);this.set("ariaRole","button");this.set("autoRolledOver",!0);this.set("autoPressed",
1239!0);this.set("cursor",c.ye);this.set("scaleMode",d.Ih);this.F6=document.createElement("canvas");this.F6.width=1;this.F6.height=1;this.G6=this.F6.getContext("2d");this.G6.globalCompositeOperation="copy";this.k8=!1;this.bind(k.Vb,this.EQa,this)});a.prototype.tb=function(){q.prototype.tb.call(this);this.h("buttonGroup");this.h("mode",p.ze);this.h("pressed");this.h("iconURL");this.h("transparencyActive");this.v("rollOverOpacity",g.X,"opacity");this.v("rollOverIconURL",g.X,"iconURL");this.v("pressedOpacity",
1240g.ub,"opacity");this.v("pressedIconURL",g.ub,"iconURL");this.v("pressedRollOverOpacity",g.cc,"opacity");this.v("pressedRollOverIconURL",g.cc,"iconURL")};a.prototype.s8=e(q.prototype.s8,"touch","capture");a.prototype.Doa=e(q.prototype.AOa,"touch");a.prototype.Foa=e(q.prototype.AOa,"touch","release");a.prototype.Zca=e(q.prototype.Zca,"touch","capture");a.prototype.Yca=e(q.prototype.Yca,"touch");a.prototype.bA=e(q.prototype.bA,"touch","release");a.prototype.J$=e(q.prototype.J$,"mouse","capture");a.prototype.N$=
1241function(r){var u=this.Wy(r);if(this.kqa(u)||this.k8)q.prototype.N$.call(this,r),q.prototype.set.call(this,"cursor",this.Gna);else{this.k8=!0;if(u=this.ipa(u))l(u).trigger(this.bna(r)),r.preventDefault(),r.stopImmediatePropagation();"pointer"==this.bpa(u)?q.prototype.set.call(this,"cursor",c.ye):q.prototype.set.call(this,"cursor",c.xe);this.k8=!1}};a.prototype.EQa=function(){q.prototype.set.call(this,"cursor",this.Gna)};a.prototype.gX=e(q.prototype.gX,"mouse","release");a.prototype.kqa=function(r){if(!this.Zb)return!1;
1242if(this.get("transparencyActive"))return!0;var u=this.gb?this.gb.Dz:1,t=this.Zb.offset(),v=(r.JA-t.left)/u,w=this.Zb.width();r=(r.KA-t.top)/u;u=this.Zb.height();if(0<=v&&0<=r&&v<w&&r<u){if(n)return!0;v=v*this.lI/w;w=r*this.kI/u;this.G6.drawImage(this.Zb.get(0),v,w,1,1,0,0,1,1);if(0<this.G6.getImageData(0,0,1,1).data[3])return!0}return!1};a.prototype.vOa=function(r,u){if(r=this.ipa(r))l(r).trigger(this.bna(u)),u.preventDefault(),u.stopImmediatePropagation()};a.prototype.ipa=function(r){this.ee().style.pointerEvents=
1243"none";r=document.elementFromPoint(r.JA,r.KA);setTimeout(function(){this.ee().style.pointerEvents=this.zpa()}.bind(this),0);return r};a.prototype.bna=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.bpa=function(r){if(r){var u=r.style.cursor;"inherit"==u&&(u=this.bpa(r.parentElement))}else u="default";return u};
1244a.prototype.cM=function(){this.get("pressed")?(this.set("pressed",!1),this.trigger(new b(k.ul))):(this.set("pressed",!0),this.trigger(new b(k.wj)))};a.prototype.set=function(r,u){"cursor"===r&&(this.Gna=u);return q.prototype.set.call(this,r,u)};a.prototype.Za=function(){var r=!1;if(this.K("backgroundOpacityy")||this.K("backgroundColor"))r=!0;if(this.K("iconURL")){var u=this.B("iconURL");this.set("url",u);this.S("iconURL")}u=!1;this.K("mode")&&(this.B("mode")==p.ze?(this.unbind(k.qa,this.cM,this,!0),
1245this.set("autoPressed",!0)):(this.bind(k.qa,this.cM,this,!0),this.set("autoPressed",!1)),this.S("mode"),u=!0);if(u||this.K("pressed"))this.B("mode")==p.zj?this.QI(1==this.B("pressed")):u&&this.QI(!1);this.K("buttonGroup")&&((u=this.B("buttonGroup"))?f.register(this,u):f.unregister(this),this.S("buttonGroup"));q.prototype.Za.call(this);r&&(r=this.Uc(),0==r.al()||0==r.tC.length)&&(r.tj(.001),r.PEa(["#000000"]))};return a});
1246define("bm",["require","mg","nV"],function(a){var e=a("mg");return a("nV").define("IconButton",e,function(){e.call(this)})});define("nC",["require","nV","iA"],function(a){var e=a("nV"),l=a("iA");return e.define("IconHotspotMapOverlay",l,function(){l.call(this,!1)})});define("oy",["require","mR","nV"],function(a){var e=a("mR");a=a("nV").define("Image",e,function(){e.call(this)});a.prototype.set=function(l,m){e.prototype.set.call(this,l,m)};return a});
1247define("pA",["require","nV","ke"],function(a){var e=a("nV"),l=a("ke");return e.define("PlaneModel3DObject",l,function(){l.call(this)})});define("jr",["require","nV","pA"],function(a){var e=a("nV"),l=a("pA");return e.define("ImagePlaneModel3DObject",l,function(){l.call(this)})});define("lQ",["require","nV","iQ"],function(a){var e=a("nV"),l=a("iQ");return e.define("InnerModel3DObject",l,function(){l.call(this)})});
1248define("jw",["require","dz","nV"],function(a){var e=a("dz");return a("nV").define("Label",e,function(){e.call(this)})});define("bM",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("LensFlarePanoramaOverlay",e,function(){e.call(this)})});define("cL",["require","nV","iQ"],function(a){var e=a("nV"),l=a("iQ");return e.define("LineModel3DObject",l,function(){l.call(this)})});
1249define("oG",["require","nV","fh"],function(a){var e=a("nV"),l=a("fh");a=e.define("LivePanorama",l,function(){l.call(this)});a.prototype.uR=function(){return this.get("initialFrameIndex",0)};return a});define("jK",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("Light",e,function(){e.call(this)})});
1250define("db",["require","lE","dB"],function(a){var e=a("lE"),l=a("dB");a=e.extend(l,function(m,k,b,h,f,c,d){l.call(this,l.Vka);this.u=m;this.Pd=k;this.oa=b;this.wa=h;this.Ef=f;this.f8=c;this.Bo=d.slice()});a.prototype.Pt=function(){for(var m=[this.Pd],k=0;k<this.Bo.length;k++)m=m.concat(this.Bo[k].Pt());return m};a.prototype.Oi=function(){return this.Pd};a.prototype.je=function(){return this.oa};a.prototype.Ye=function(){return this.wa};return a});
1251define("ny","require nV mv eu gn db".split(" "),function(a){var e=a("nV"),l=a("mv"),m=a("eu"),k=a("gn"),b=a("db");a=e.define("Map",m,function(){m.call(this);this.Iv=this.$O=void 0});a.prototype.X4a=function(){this.Iv=this.$O=void 0};a.prototype.iK=function(){return!(!this.get("image")||!k.iK(this.get("image")))};a.prototype.SE=function(){return this.get("image")&&k.SE(this.get("image"))};a.prototype.nr=function(){return this.get("image")&&k.nr(this.get("image"))};a.prototype.DAa=function(){void 0==
1252this.$O&&(this.iK()?this.$O=new b(this,this.SE().get("url"),this.get("width"),this.get("height"),this.get("scaleMode",l.oB),this.get("flipImageHorizontally",!1),[]):this.$O=null);return this.$O};a.prototype.$j=function(){if(void 0==this.Iv)if(this.get("image")){var h=Array.prototype.concat.apply([],this.get("overlays",[]).map(function(f){return f.y1a()}));this.Iv=new b(this,this.nr().get("url"),this.get("width"),this.get("height"),this.get("scaleMode",l.oB),this.get("flipImageHorizontally",!1),h)}else this.Iv=
1253null;return this.Iv};a.prototype.Ot=function(){return[].concat(this.RV(this.DAa()),this.RV(this.$j()))};a.prototype.RV=function(h){return h?h.Pt():[]};return a});define("lo",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("MapOverlay",e,function(){e.call(this)})});
1254define("jX","require lE en pg cC gv ek gW".split(" "),function(a){var e=a("lE"),l=a("en"),m=a("pg"),k=a("cC"),b=a("gv"),h=a("ek"),f=a("gW");a=e.extend(b,function(c,d,g){b.call(this);this.fna=c;this.UTa=d;this.vma=g||h.ze;this.Wi=[];this.jC=[];this.wy={};this.wy.mode=this.vma;this.vma==h.zj&&(this.wy.pressed=!1);this.fna.bind(m.F(d),this.lua,this);this.lua()});a.prototype.lua=function(){var c=this.fna.get(this.UTa);c||(c=[]);l.isArray(c)||(c=[c]);this.rVa(c)};a.prototype.rVa=function(c){var d=l.difference(this.Wi,
1255c);l(d).each(function(g){g.unbind(m.wj,this.yma,this,!0);g.unbind(m.ul,this.zma,this,!0);g.unbind(m.qa,this.uma,this,!0);g.unbind(m.jb,this.wma,this,!0);g.unbind(m.Eb,this.xma,this,!0);g.unbind(m.cd,this.Bma,this,!0);g.unbind(m.Vb,this.Ama,this,!0)},this);d=l.difference(c,this.Wi);l(d).each(function(g){g.ma(this.wy);g.bind(m.wj,this.yma,this,!0);g.bind(m.ul,this.zma,this,!0);g.bind(m.qa,this.uma,this,!0);g.bind(m.jb,this.wma,this,!0);g.bind(m.Eb,this.xma,this,!0);g.bind(m.cd,this.Bma,this,!0);g.bind(m.Vb,
1256this.Ama,this,!0)},this);this.Wi=c;this.jC=this.jC.filter(function(g){return 0<=this.Wi.indexOf(g)}.bind(this))};a.prototype.yma=function(){this.trigger(new k(m.wj))};a.prototype.zma=function(){this.trigger(new k(m.ul))};a.prototype.uma=function(){this.trigger(new k(m.qa))};a.prototype.wma=function(){this.trigger(new k(m.jb))};a.prototype.xma=function(){this.trigger(new k(m.Eb))};a.prototype.Bma=function(c){this.jC.push(c.source);this.Vk()};a.prototype.Ama=function(c){this.jC=this.jC.filter(function(d){return d!=
1257c.source});this.Vk()};a.prototype.set=function(c,d){this.wy[c]=d;this.Wi.forEach(function(g){g.ma(this.wy)}.bind(this));this.Vk()};a.prototype.Vk=function(){this.Wi.forEach(function(c){c.get("state")==f.ub&&0<=this.jC.indexOf(c)?c.set("state",f.cc):c.get("state")==f.cc&&0>this.jC.indexOf(c)&&c.set("state",f.ub)}.bind(this))};return a});
1258define("kS",["require","exports","lE","y"],function(a,e,l,m){var k=function(){return function(){}}();return function(){function b(){}b.da=function(h,f,c,d){this.Mla(h,f,c,d,!1)};b.vt=function(h,f,c,d){this.Mla(h,f,c,d,!0)};b.Mla=function(h,f,c,d,g){function p(){for(var r=[],u=0;u<f.length;u++)try{r.push(h.get(f[u]))}catch(t){r.push(void 0),l.ZR("BindingsHandler._addBinding",t)}c.apply(this,r)}f=l.toArray(f);g&&(p=l.lp(p));var q=[];f.forEach(function(r){(r=m.cu(h,r,p,this,!g))&&q.push(r)},this);var n=
1259new k;n.N8a=q;n.host=h;n.properties=f;n.MR=c;this.Lea.push(n);d&&p()};b.ba=function(h,f,c){var d=[];this.Lea.forEach(function(g){g.MR==c&&g.host==h&&l.t2a(g.properties,l.toArray(f))?g.N8a.forEach(function(p){p.dB()}):d.push(g)});this.Lea=d};b.Lea=[];return b}()});
1260define("gA","require en lE pg cC gW bd b e nN oi".split(" "),function(a){var e=a("en"),l=a("lE"),m=a("pg"),k=a("cC"),b=a("gW"),h=a("bd"),f=a("b"),c=a("e");a("nN");a("oi");var d=l.extend(f,function(){f.call(this);this.Ge("PlaybackBar");this.am=this.cg=null;this.Tg=[];this.xY=!1;this.Zaa=this.GD=void 0;this.Dca=!1});d.Ac={cursor:h.ye,overflow:"visible",height:20,position:0,duration:100,steps:void 0,selectedStep:void 0,backgroundColor:"#000000",barBackgroundColor:"#FFFFFF",barBackgroundColorDirection:void 0,
1261barBackgroundColorRatios: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,
1262playheadShadowSpread: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,selectedStepBackgroun
1262dColor:"#3399FF",selectedStepBackgroundColorDirection:void 0,selectedStepBackgroundColorRatios:void 0,
1263selectedStepBorderColor:"#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.Ac,f.Ac);d.prototype.tb=function(){this.lo(d.Ac)};d.prototype.Db=function(){f.prototype.Db.call(this);this.cg&&this.am||
1264this.bind(m.pc,this.GTa,this,!0);null==this.cg&&(this.cg=new c,this.cg.ma({left:"0",height:"100%",cursor:h.ye}),this.Ua(this.cg));null==this.am&&(this.am=new c,this.am.ma({left:"0",cursor:h.ye}),this.am.bind(m.pc,this.JTa,this,!0),this.am.bind(m.jb,this.HTa,this,!0),this.wb().bind(m.bc,this.Tta,this,!0),this.bind(m.qa,this.ETa,this,!0),this.am.bind(m.Eb,this.ITa,this,!0),this.Ua(this.am));var p=this.get("steps")||0;if(this.Tg.length!=p){for(;this.Tg.length>p;)this.qNa(this.Tg.pop());for(;this.Tg.length<
1265p;)this.Tg.push(this.hNa());this.qc(d.Dla,d.s5,this.Tg,!1,!0);this.Dxa();this.Oda();this.Pn(this.am,this.mb().length-1)}};d.prototype.hNa=function(){var p=new g;p.ma({cursor:h.ye});p.bind(m.qa,this.dwa,this,!0);p.bind(m.pc,this.ewa,this,!0);this.Ua(p);return p};d.prototype.qNa=function(p){p.unbind(m.qa,this.dwa,this,!0);p.unbind(m.pc,this.ewa,this,!0);this.removeChild(p)};d.prototype.Za=function(){var p=!1;if(this.K("position")||this.K("duration"))this.S("position"),this.S("duration"),p=!0;this.K("selectedStep")&&
1266(this.S("selectedStep"),this.Dxa());this.K("steps")&&(this.S("steps"),this.RR());this.qc(d.l5,d.JL,[this.cg],!0,!0);this.qc(d.uJa,d.zla,[this.am],!0,!0);this.qc(d.Dla,d.s5,this.Tg,!0,!0);f.prototype.Za.call(this);p&&this.p_()};d.prototype.Dxa=function(){var p=this.get("selectedStep");this.Tg.forEach(function(q,n){q.YS(n===p)});this.am.set("visible",void 0===p)};d.prototype.p_=function(){var p=this.Ya(),q=this.am.Ya(),n=this.am.Ab(),r=this.RM(),u=this.gq(),t=u*p/r;p=Math.round((this.xY?this.GD:u)*
1267p/r-.5*q);p=Math.max(0,Math.min(p,this.uf()-q));q=Math.round(.5*this.tf()-.5*n);this.am.ma({left:p,top:q});this.cg.set("width",Math.round(t))};d.prototype.JTa=function(){this.p_()};d.prototype.HTa=function(p){this.xY=!0;this.Zaa=p.pageX;this.GD=this.B("position")};d.prototype.Tta=function(p){if(this.xY){var q=p.pageX-this.Zaa;this.Zaa=p.pageX;p=this.Ya();var n=this.RM();this.GD=Math.max(0,Math.min(n,this.GD+n*q/p));this.p_();this.get("liveDragging")&&(this.set("position",this.GD),this.trigger(new k(m.ca)))}};
1268d.prototype.ITa=function(p){this.Tta(p);this.xY=!1;this.get("liveDragging")||(this.set("position",this.GD),this.trigger(new k(m.ca)));this.GD=void 0};d.prototype.ETa=function(p){if(!this.Dca){var q=this.Ya(),n=this.RM();this.set("position",n*p.x/q);this.trigger(new k(m.ca))}};d.prototype.ewa=function(){this.Oda()};d.prototype.GTa=function(){this.Oda();this.p_()};d.prototype.Oda=function(){for(var p=this.Ya(),q=this.Ab(),n=this.La,r=this.getParent().Ya()-(n+p),u=0,t=this.Tg.length;u<t;u++){var v=this.Tg[u],
1269w=v.Ya();v.ma({left:0==u&&0==n?0:u==t-1&&0==r?p-w:Math.round(p*u/(t-1)-.5*w),top:Math.round(.5*q-.5*v.Ab())})}};d.prototype.dwa=function(p){p=this.Tg.indexOf(p.source);var q=this.RM();this.set("position",q*p/(this.Tg.length-1));this.Dca=!0;this.trigger(new k(m.ca));setTimeout(function(){this.Dca=!1}.bind(this),0)};d.prototype.RM=function(){var p=this.B("duration");return p?p:1};d.prototype.gq=function(){return Math.max(0,Math.min(this.RM(),this.B("position")))};d.JL={barBackgroundColor:"backgroundColor",
1270barBackgroundColorDirection:"backgroundColorDirection",barBackgroundColorRatios:"backgroundColorRatios",barBorderColor:"borderColor",barBorderRadius:"borderRadius",barBorderSize:"borderSize",barOpacity:"opacity"};d.l5=e(d.JL).keys();d.zla={playheadBackgroundColor:"backgroundColor",playheadBackgroundColorDirection:"backgroundColorDirection",playheadBackgroundColorRatios:"backgroundColorRatios",playheadBorderColor:"borderColor",playheadBorderRadius:"borderRadius",playheadBorderSize:"borderSize",playheadOpacity:"opacity",
1271playheadWidth:"width",playheadHeight:"height",playheadShadow:"shadow",playheadShadowBlurRadius:"shadowBlurRadius",playheadShadowColor:"shadowColor",playheadShadowHorizontalLength:"shadowHorizontalLength",playheadShadowOpacity:"shadowOpacity",playheadShadowSpread:"shadowSpread",playheadShadowVerticalLength:"shadowVerticalLength"};d.uJa=e(d.zla).keys();
1271d.s5={stepBackgroundColor:"backgroundColor",stepBackgroundColorDirection:"backgroundColorDirection",stepBackgroundColorRatios:"backgroundColorRatios",
1272stepBorderColor:"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",
1273selectedStepBackgroundColorRatios:"selectedBackgroundColorRatios",selectedStepBorderColor:"selectedBorderColor",selectedStepBorderRadius:"selectedBorderRadius",selectedStepBorderSize:"selectedBorderSize",selectedStepOpacity:"selectedOpacity",selectedStepWidth:"selectedWidth",selectedStepHeight:"selectedHeight",selectedStepShadow:"selectedShadow",selectedStepShadowBlurRadius:"selectedShadowBlurRadius",selectedStepShadowColor:"selectedShadowColor",selectedStepShadowHorizontalLength:"selectedShadowHorizontalLength",
1274selectedStepShadowOpacity:"selectedShadowOpacity",selectedStepShadowSpread:"selectedShadowSpread",selectedStepShadowVerticalLength:"selectedShadowVerticalLength"};d.Dla=e(d.s5).keys();var g=l.extend(c,function(){c.call(this)});g.prototype.YS=function(p){this.AP(p)};g.prototype.tb=function(){c.prototype.tb.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");
1275this.h("height");this.h("shadow");this.h("shadowBlurRadius");this.h("shadowColor");this.h("shadowHorizontalLength");this.h("shadowOpacity");this.h("shadowSpread");this.h("shadowVerticalLength");this.v("selectedBackgroundColor",b.ea,"backgroundColor");this.v("selectedBackgroundColorDirection",b.ea,"backgroundColorDirection");this.v("selectedBackgroundColorRatios",b.ea,"backgroundColorRatios");this.v("selectedBorderColor",b.ea,"borderColor");this.v("selectedBorderRadius",b.ea,"borderRadius");this.v("selectedBorderSize",
1276b.ea,"borderSize");this.v("selectedOpacity",b.ea,"opacity");this.v("selectedWidth",b.ea,"width");this.v("selectedHeight",b.ea,"height");this.v("selectedShadow",b.ea,"shadow");this.v("selectedShadowBlurRadius",b.ea,"shadowBlurRadius");this.v("selectedShadowColor",b.ea,"shadowColor");this.v("selectedShadowHorizontalLength",b.ea,"shadowHorizontalLength");this.v("selectedShadowOpacity",b.ea,"shadowOpacity");this.v("selectedShadowSpread",b.ea,"shadowSpread");this.v("selectedShadowVerticalLength",b.ea,
1277"shadowVerticalLength")};g.prototype.Za=function(){c.prototype.Za.call(this)};return d});
1278define("A",["require","en","lE","b","e"],function(a){var e=a("en"),l=a("lE"),m=a("b"),k=a("e"),b=l.extend(m,function(){m.call(this);this.Ge("ProgressBar")});b.Ac={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(b.Ac,m.Ac);b.prototype.tb=function(){this.lo(b.Ac)};b.prototype.Db=function(){m.prototype.Db.call(this);null==
1279this.cg&&(this.cg=new k,this.cg.ma({left:"0",width:"0%",height:"100%"}),this.Ua(this.cg))};b.prototype.Za=function(){this.K("percent")&&(this.cg.set("width",Math.round(this.B("percent"))+"%"),this.S("percent"));this.qc(b.l5,b.JL,[this.cg],!0,!0);m.prototype.Za.call(this)};b.JL={barBackgroundColor:"backgroundColor",barBackgroundColorDirection:"backgroundColorDirection",barBackgroundColorRatios:"backgroundColorRatios",barBorderColor:"borderColor",barBorderRadius:"borderRadius",barBorderSize:"borderSize",
1280barOpacity:"opacity"};b.l5=e(b.JL).keys();return b});
1281define("gp","require lY v ir mP mC bi".split(" "),function(a){var e=a("lY"),l=a("v"),m=a("ir");a("mP");var k=a("mC");a("bi");var b={k$a:function(d){return this.rK(d)||this.JBa(d)?!0:!1},Cu:function(){var d=l.t4a();b.Cu=function(){return d};return d},JBa:function(d){return"string"==typeof d&&m.is(d,m.Zn)?!0:!1},d$a:function(d){return this.rga(d)||this.sga(d)?!0:!1},sga:function(d){return"string"==typeof d&&(m.is(d,m.aIa)||m.zA(d,m.bIa))?!0:!1},rK:function(d){return!!d&&!!d.tagName&&"VIDEO"==d.tagName},
1282mK:function(d){return"string"==typeof d&&m.is(d,m.HLS)||this.rK(d)&&m.is(d.currentSrc,m.HLS)?!0:!1},tm:function(d){return"string"==typeof d&&m.is(d,m.Zn)||this.rK(d)&&m.is(d.currentSrc,m.Zn)?!0:!1},rga:function(d){return!!d&&!!d.tagName&&"IMG"==d.tagName},J2a:function(d){return!!d&&!!d.tagName&&"CANVAS"==d.tagName},Y9a:function(d){return Math.pow(2,Math.round(Math.log(d)/Math.LN2))},g$a:function(d){return 0!==d&&0===(d&d-1)},yBa:function(){return l.browser()==l.Hm},e$a:function(){return l.browser()==
1283l.Hx},cp:function(){return l.Jd()==l.ni}},h=l.Jd()==l.kB&&!l.Hf()&&11>l.f_a();b.UGa=function(d){return c||h&&d&&.2>d.currentTime?!0:!1}
1283;b.jBa=function(){return b.yBa()||b.cp()};b.iBa=function(){return b.cp()&&e.y2a&&11>l.dga()};var f=!1;b.vBa=function(){f=!1};b.K2a=function(){return f};b.s5a=function(){f=!0};var c=k.pj("vic");b.m4a=function(){b.cp()&&(c=!0)};b.FAa=function(){return{alpha:!0,depth:!0,stencil:!0,antialias:e.t_a()?!0:!1,premultipliedAlpha:!0,preserveDrawingBuffer:!1,powerPreference:"default",
1284failIfMajorPerformanceCaveat:!1,xrCompatible:!b.yBa()}};b.l0a=function(d){if(2==e.QDa){var g=b.FAa();g=d.getContext("webgl2",g)}g||(g=b.FAa(),g=d.getContext("webgl",g)||d.getContext("experimental-webgl",g));return g};b.bfa=function(d,g){g||(g=d.getSize(new THREE.Vector2));d=new THREE.WebGLRenderTarget(g.width,g.height,{minFilter:THREE.LinearFilter,magFilter:THREE.LinearFilter,format:THREE.RGBAFormat,type:THREE.HalfFloatType,samples:d.capabilities.isWebGL2?l.nb()?2:8:0});d.depthTexture=new THREE.DepthTexture;
1285return d};b.k0a=function(d){return new THREE.WebGLCubeRenderTarget(d,{minFilter:THREE.LinearFilter,magFilter:THREE.LinearFilter,format:THREE.RGBAFormat,type:THREE.HalfFloatType})};b.getPixelRatio=function(){if(l.nb()){var d=0,g=0;try{d=window.top.innerWidth,g=window.top.innerHeight}catch(q){if(l.Jd()==l.kB&&1<window.devicePixelRatio)return window.devicePixelRatio}var p=window.devicePixelRatio||1;d=[Math.max(document.documentElement.clientWidth,d),Math.max(document.documentElement.clientHeight,g)].sort(function(q,
1286n){return n-q});p=[screen.width*p,screen.height*p].sort(function(q,n){return n-q});p=[p[0]/d[0],p[1]/d[1]].sort()[0];if(Infinity!==p)return p}else if(l.Jd()==l.Mja&&l.browser()==l.Gm)return 1;return window.devicePixelRatio};return b});define("hJ",["require","gp"],function(a){return a("gp")});
1287define("nR",["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}},$za:function(k,b,h){m.setFromEuler(l.set(b*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},c3:function(k,b){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.wg=l.z*e;b||(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),
1288"YXZ");return-l.y*e}}});
1289define("oe",["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=
1290m;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,b=e.x,h=e.y,f=e.z;e=e.w;var c=e*l+h*k-f*m,d=e*m+f*l-b*k,g=e*k+b*m-h*l;l=-b*l-h*m-f*k;this.x=c*e+l*-b+d*-f-g*-h;this.y=d*
1291e+l*-h+g*-b-c*-f;this.z=g*e+l*-f+c*-h-d*-b;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 b=l.x,h=l.y;l=l.z;this.x=k*l-e*h;this.y=e*b-m*l;this.z=m*h-k*b;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;
1292this.w=e.w;return this},ZEa:function(e,l,m){var k=Math.cos(e/2),b=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*b*h+k*l*m;this.y=k*l*h-e*b*m;this.z=k*b*m-e*l*h;this.w=k*b*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,b=e.z;e=e.w;var h=l.x,f=l.y,c=l.z;
1293l=l.w;this.x=m*l+e*h+k*c-b*f;this.y=k*l+e*f+b*h-m*c;this.z=b*l+e*c+m*f-k*h;this.w=e*l-m*h-k*f-b*c;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,b=this.z,h=this.w,f=h*
1294e.w+m*e.x+k*e.y+b*e.z;0>f?(this.w=-e.w,this.x=-e.x,this.y=-e.y,this.z=-e.z,f=-f):this.copy(e);if(1<=f)return this.w=h,this.x=m,this.y=k,this.z=b,this;e=Math.acos(f);var c=Math.sqrt(1-f*f);if(.001>Math.abs(c))return this.w=.5*(h+this.w),this.x=.5*(m+this.x),this.y=.5*(k+this.y),this.z=.5*(b+this.z),this;f=Math.sin((1-l)*e)/c;l=Math.sin(l*e)/c;this.w=h*f+this.w*l;this.x=m*f+this.x*l;this.y=k*f+this.y*l;this.z=b*f+this.z*l;return this},setFromUnitVectors:function(){var e,l;return function(m,k){void 0===
1295e&&(e=new a.Vector3);l=m.dot(k)+1;1E-6>l?(l=0,Math.abs(m.x)>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});
1296define("fx",["require","pg","cC","gv","oe"],function(a){function e(){d||(d=!0,n=new c.Vector3(0,0,1),r=new c.Quaternion,u=new c.Quaternion(-Math.sqrt(.5),0,0,Math.sqrt(.5)),t=new c.Quaternion,m(),window.addEventListener("orientationchange",m,!1),window.addEventListener("deviceorientation",k,!1),l())}function l(){if(v&&void 0!==p&&void 0!==q){v=!1;var y=c.degToRad*q;t.ZEa(c.degToRad*p.beta,c.degToRad*p.alpha,-(c.degToRad*p.gamma));t.multiply(u);t.multiply(r.setFromAxisAngle(n,-y));w||(x++,5<=x&&(w=
1297!0,g.trigger(new h(b.bd))));g.trigger(new h(b.ca))}}function m(){q=window.orientation||0;v=!0;l()}function k(y){p=y;v=!0;l()}var b=a("pg"),h=a("cC"),f=a("gv"),c=a("oe"),d=!1,g=new f,p,q,n,r,u,t,v,w=!1,x=0;e.prototype.pr=function(){l();return t};e.prototype.bind=function(){g.bind.apply(g,arguments)};e.prototype.unbind=function(){g.unbind.apply(g,arguments)};e.prototype.stop=function(){window.removeEventListener("orientationchange",m,!1);window.removeEventListener("deviceorientation",k,!1)};return e});
1298define("jj","require pg cC gv v oe".split(" "),function(a){function e(q){this.f3a=q;this.cfa=new k;this.g0=new k;this.rha=new k;this.OE=new d.Quaternion;this.qha=new d.Quaternion;this.iya=new d.Quaternion;this.DBa=!1;this.o0=new d.Vector3;this.Fga=new d.Vector3;this.Z1a=new d.Quaternion}function l(){this.deviceId="webvr-polyfill:fused";this.pCa=!1;this.oCa=0;this.LQ=new d.Vector3;this.U0=new d.Vector3;this.filter=new e(.98);this.r4a=new m(.04);this.lK=p.lK();this.cp=p.cp();p.Efa();this.vga=p.M2a();
1299this.u0=new d.Quaternion;p.cp()?this.u0.setFromAxisAngle(new d.Vector3(1,0,0),Math.PI/2):this.u0.setFromAxisAngle(new d.Vector3(1,0,0),-Math.PI/2);this.c1=new d.Quaternion;this.jL=new d.Quaternion;this.oDa=new d.Quaternion;this.oDa.setFromAxisAngle(new d.Vector3(0,0,1),-window.orientation*Math.PI/180);this.wFa();p.ABa()&&this.u0.multiply(this.c1);this.Zt=new d.Quaternion;this.lK=p.lK();this.cp=p.cp();this.L2a=66<=p.Efa();this.lF=this.lF.bind(this);this.kS=this.kS.bind(this);this.jS=this.jS.bind(this);
1300screen&&screen.orientation&&screen.orientation.addEventListener?screen.orientation.addEventListener("change",this.lF):window.addEventListener("orientationchange",this.lF);this.vga?window.addEventListener("deviceorientation",this.kS):window.addEventListener("devicemotion",this.jS)}function m(q){this.s4a=q;this.i2=new d.Quaternion;this.HK=null;this.qza=new d.Quaternion;this.nS=new d.Quaternion}function k(q,n){this.set(q,n)}var b=a("pg"),h=a("cC"),f=a("gv"),c=a("v"),d=a("oe"),g=new f;e.prototype.QZa=
1301function(q,n){this.cfa.set(q,n)};e.prototype.WZa=function(q,n){this.g0.set(q,n);p.e3a(n-this.rha.b3)&&this.b5a();
1301this.rha.copy(this.g0)};e.prototype.b5a=function(){if(this.DBa){var q=this.$1a(this.g0.sample,this.g0.b3-this.rha.b3);this.Z1a.multiply(q);this.OE.copy(this.qha);this.OE.multiply(q);q=new d.Quaternion;q.copy(this.OE);q.inverse();this.o0.set(0,0,-1);this.o0.applyQuaternion(q);this.o0.normalize();this.Fga.copy(this.cfa.sample);this.Fga.normalize();q=new d.Quaternion;q.setFromUnitVectors(this.o0,
1302this.Fga);q.inverse();var n=new d.Quaternion;n.copy(this.OE);n.multiply(q);this.OE.slerp(n,1-this.f3a);this.qha.copy(this.OE)}else this.iya=this.PZa(this.cfa.sample),this.qha.copy(this.iya),this.DBa=!0};e.prototype.pr=function(){return this.OE};e.prototype.PZa=function(q){var n=new d.Vector3;n.copy(q);n.normalize();q=new d.Quaternion;q.setFromUnitVectors(new d.Vector3(0,0,-1),n);q.inverse();return q};e.prototype.$1a=function(q,n){var r=new d.Quaternion,u=new d.Vector3;u.copy(q);u.normalize();r.setFromAxisAngle(u,
1303q.length()*n);return r};l.prototype.stop=function(){screen&&screen.orientation&&screen.orientation.addEventListener&&screen.orientation.removeEventListener("change",this.lF);window.removeEventListener("orientationchange",this.lF);window.removeEventListener("deviceorientation",this.kS);window.removeEventListener("devicemotion",this.jS)};l.prototype.bl=function(){return null};l.prototype.pr=function(){var q=void 0;if(this.vga&&this.kV){this.sza=this.sza||function(){var r=(new d.Quaternion).setFromAxisAngle(new d.Vector3(0,
13040,-1),0),u=new d.Quaternion;"landscape-secondary"==this.eZ?u.setFromAxisAngle(new d.Vector3(0,1,0),Math.PI/-2):u.setFromAxisAngle(new d.Vector3(0,1,0),Math.PI/2);return r.multiply(u)}();this.rza=this.rza||function(){var r=new d.Quaternion;r.setFromAxisAngle(new d.Vector3(1,0,0),-Math.PI/2);return r}();q=this.kV;var n=new d.Quaternion;n.copy(q);n.multiply(this.rza);n.multiply(this.Zt);n.multiply(this.jL);n.multiplyQuaternions(this.sza,n);this.z$a&&(n.x=0,n.z=0,n.normalize());this.b2[0]=n.x;this.b2[1]=
1305n.y;this.b2[2]=n.z;this.b2[3]=n.w;return this.b2}q=this.filter.pr();q=this.r4a.L1a(q,this.U0,this.HK);n=new d.Quaternion;n.copy(this.u0);n.multiply(this.Zt);n.multiply(q);n.multiply(this.jL);return n};l.prototype.resetPose=function(){this.Zt.copy(this.filter.pr());this.Zt.x=0;this.Zt.y=0;this.Zt.z*=-1;this.Zt.normalize();p.ABa()&&this.Zt.multiply(this.c1);this.Zt.multiply(this.oDa)};l.prototype.kS=function(q){this.kV=this.kV||new d.Quaternion;var n=q.alpha,r=q.beta;q=q.gamma;n=(n||0)*Math.PI/180;
1306r=(r||0)*Math.PI/180;q=(q||0)*Math.PI/180;this.kV.ZEa(r,n,-q)};l.prototype.jS=function(q){var n=q.rotationRate;if(n){var r=q.accelerationIncludingGravity;q=q.timeStamp/1E3;this.lK&&(q/=1E3);var u=q-this.HK;u<=p.Tja||u>p.Qja?this.HK=q:(this.LQ.set(-r.x,-r.y,-r.z),this.U0.set(n.alpha,n.beta,n.gamma),(this.cp||this.lK||this.L2a)&&this.U0.multiplyScalar(Math.PI/180),this.filter.QZa(this.LQ,q),this.filter.WZa(this.U0,q),this.HK=q,this.pCa||(this.oCa++,5<=this.oCa&&(this.pCa=!0,g.trigger(new h(b.bd)))),
1307this.eZ!=this.dAa()&&this.lF(),g.trigger(new h(b.ca)))}else this.vga=!0,window.addEventListener("deviceorientation",this.kS),window.removeEventListener("devicemotion",this.jS)};l.prototype.bind=function(){g.bind.apply(g,arguments)};l.prototype.unbind=function(){g.unbind.apply(g,arguments)};l.prototype.lF=function(){this.wFa();g.trigger(new h(b.ca))};l.prototype.wFa=function(){this.jL.set(0,0,0,1);this.eZ=this.dAa();switch(this.eZ){case "landscape-primary":this.jL.setFromAxisAngle(new d.Vector3(0,
13080,1),-Math.PI/2);break;case "landscape-secondary":this.jL.setFromAxisAngle(new d.Vector3(0,0,1),Math.PI/2)}this.c1.copy(this.jL);this.c1.inverse()};l.prototype.dAa=function(){var q=screen.orientation&&screen.orientation.type;if(!q)switch(window.orientation){case 0:q="portrait-primary";break;case 90:q="landscape-primary";break;case -90:q="landscape-secondary";break;case 180:q="portrait-secondary"}"landscape-primary"==q&&(4.9<this.LQ.z||-4.9>this.LQ.z?q=this.eZ||q:0<this.LQ.x&&(q="landscape-secondary"));
1309return q};m.prototype.L1a=function(q,n,r){if(!this.HK)return this.i2.copy(q),this.HK=r,q;r=new d.Vector3;r.copy(n);r.normalize();n=n.length();if(n<20*d.degToRad)return this.nS.copy(q),this.i2.copy(q),this.nS;this.qza.setFromAxisAngle(r,n*this.s4a);this.nS.copy(this.i2);this.nS.multiply(this.qza);this.i2.copy(q);return this.nS};k.prototype.set=function(q,n){this.sample=q;this.b3=n};k.prototype.copy=function(q){this.set(q.sample,q.b3)};var p={Tja:.001,Qja:1,e3a:function(q){return isNaN(q)||q<=p.Tja||
1310q>p.Qja?!1:!0}};p.cp=function(){var q=/iPad|iPhone|iPod/.test(navigator.platform);return function(){return q}}();p.i$a=function(){var q=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);return function(){return q}}();p.lK=function(){var q=-1!==navigator.userAgent.indexOf("Firefox")&&-1!==navigator.userAgent.indexOf("Android");return function(){return q}}();p.Efa=function(){var q=navigator.userAgent.match(/.*Chrome\/([0-9]+)/),n=q?parseInt(q[1],10):null;return function(){return n}}();p.M2a=
1311function(){var q=!1;if(65===p.Efa()){var n=navigator.userAgent.match(/.*Chrome\/([0-9\.]*)/);if(n){n=n[1].split(".");var r=n[3];q=3325===parseInt(n[2],10)&&148>parseInt(r,10)}}else"getVRDisplays"in navigator&&c.browser()==c.Gm&&c.oR()&&c.mc()==c.yT&&(q=!0);return function(){return q}}();p.ABa=function(){return 90==window.orientation||-90==window.orientation};return l});
1312define("hW","require lE pg cC gv nR v fx jj mC".split(" "),function(a){function e(){function w(){q=!0;g.trigger(new m(l.ca))}function x(){var E;!B||!y&&C?C&&(E=z):E=A;n!=E&&(n&&(n.unbind(l.ca,w),n.stop()),n=E)&&(n.bind(l.ca,w,this,!0),w())}var y=h.Jd()==h.ni||d.pj("debug")&&"deviceorientation"==d.getQueryParameter("sensor"),z=new c,C=!1;z.bind(l.bd,function(){C=!0;x()},this,!0);var A=new f,B=!1;A.bind(l.bd,function(){B=!0;x()},this,!0)}a("lE");var l=a("pg"),m=a("cC"),k=a("gv"),b=a("nR"),h=a("v"),
1313f=a("fx"),c=a("jj"),d=a("mC"),g=new k,p={},q=!1,n,r=[],u=!1,t=!1;
1313p.Bha=function(w){w&&r.push(w);if(!p.disabled)for(;r.length;)r.pop()();else if(h.Jd()==h.ni&&window.DeviceMotionEvent&&DeviceMotionEvent.requestPermission){DeviceOrientationEvent.requestPermission().then(function(y){"granted"===y&&(t=!0,x())})["catch"](function(){});DeviceMotionEvent.requestPermission().then(function(y){"granted"===y&&(u=!0,x())})["catch"](function(){});var x=function(){if(p.disabled&&u&&t)for(p.disabled=!1,e();r.length;)r.pop()()};
1314x()}};p.bind=function(w,x){g.bind(l.ca,w,x)};p.unbind=function(w,x){g.unbind(l.ca,w,x)};p.b4a=function(){return q};p.pr=function(){q=!1;if(n){var w=n.pr();w=b.c3(w);return{yaw:w.Ra,pitch:w.pitch,roll:w.wg}}return{yaw:0,pitch:0,roll:0}};if(h.Jd()==h.i5||h.Jd()==h.Oja||h.Jd()==h.Mja)p.Xj=!1,p.disabled=!1;else if(h.Jd()==h.kB&&h.browser()==h.Gm&&"https:"!=window.location.protocol&&"localhost"!=window.location.hostname)p.Xj=!0,p.disabled=!0;else if(h.Jd()==h.ni)if(p.Xj=!0,p.disabled=!0,window.DeviceMotionEvent&&
1315DeviceMotionEvent.requestPermission)p.Bha();else{var v=function(){window.removeEventListener("deviceorientation",v,!1);p.disabled=!1;e()};window.addEventListener("deviceorientation",v,!1)}else p.Xj=void 0!=window.DeviceMotionEvent,p.disabled=!1;p.Xj&&!p.disabled&&e();return p});
1316define("bc","require exports v lY hW cz mC".split(" "),function(a,e,l,m,k,b,h){return function(){function f(){}f.initialize=function(c){this.jga||(this.jga=this.W7a().then(function(d){this.XR.QF=d;this.XR.VGa=d&&(l.Hf()||!l.nb());d&&m.g7a();return d}.bind(this)).catch(function(){this.XR.QF=!1;return this.XR.VGa=!1}.bind(this)));this.jga.then(function(){c()})};f.W7a=function(){return this.Y7a().then(function(c){return c?Promise.resolve(!0):this.Z7a()}.bind(this))};f.Y7a=function(){return navigator.xr&&
1317"cardboard"!=h.getQueryParameter("vr_mode")?this.$7a():Promise.resolve(!1)};f.Z7a=function(){return this.p_a()?this.h_a():Promise.resolve(!1)};f.$7a=function(){return navigator.xr&&navigator.xr.isSessionSupported?navigator.xr.isSessionSupported("immersive-vr"):navigator.xr&&navigator.xr.supportsSession?navigator.xr.supportsSession("immersive-vr"):Promise.reject()};f.p_a=function(){return k.Xj&&l.nb()&&l.IE()!=l.rL};f.h_a=function(){var c=this;return new Promise(function(d){b.ala.load(function(){var g;
1318c.p4a=new window.WebXRPolyfill({overwriteNativeXR:!0,cardboardConfig:{BUFFER_SCALE:null===(g=c.XR)||void 0===g?void 0:g.h2,CARDBOARD_UI_DISABLED:!1,ROTATE_INSTRUCTIONS_DISABLED:!0,MOBILE_WAKE_LOCK:!1}});c.XR.pK=!0;d(!0)})})};f.jga=null;f.p4a=null;return f}()});define("three.mod",["require","exports"],function(){return window.THREE});
1319define("pG",["require","exports","pg","three.mod"],function(a,e,l,m){var k=function(){function r(){}r.initialize=function(){this.XR.mj=new m.Group;this.XR.mj.matrixAutoUpdate=!1;this.XR.Jn=new m.Group;this.XR.Jn.matrixAutoUpdate=!1;this.XR.mj.add(this.XR.Jn);this.XR.P.bind(l.kja,this.w3a,this,!0);this.XR.P.bind(l.ca,this.Le,this,!0)};r.setScale=function(u){this.Xf!==u&&(this.Xf=u,this.XR.ap=1/u,this.setPosition({x:this.XR.Yc.x,y:this.XR.Yc.y,z:this.XR.Yc.z,Ra:-c.setFromQuaternion(this.XR.tg,"YXZ").y*
1320n}))};r.MK=function(u){var t,v;this.A1(this.hB,h);this.A1(p.copy(this.hB).premultiply(this.XR.mj.matrixWorld),b);var w=this.XR.mj.matrix;w.identity();w.multiply(p.makeRotationY(void 0===u?b.yaw:-u*q));w.multiply(p.makeRotationY(-h.yaw));w.multiply(p.makeScale(this.XR.ap,this.XR.ap,this.XR.ap));w.multiply(p.makeTranslation(-h.x,-h.y,-h.z));
1320void 0!==u&&(w=this.XR.Jn.matrix,w.identity(),w.multiply(p.makeTranslation(h.x,h.y,h.z)),w.multiply(p.makeRotationY(-h.yaw*q)));this.XR.mj.updateMatrixWorld(!0);
1321null===(t=this.camera)||void 0===t?void 0:t.updateMatrixWorld(!0);null===(v=this.ik)||void 0===v?void 0:v.updateMatrixWorld(!0);this.dja()};r.setPosition=function(u){var t,v;this.A1(this.hB,h);this.A1(p.copy(this.hB).premultiply(this.XR.mj.matrixWorld),b);var w=this.XR.mj.matrix;w.identity();w.multiply(p.makeTranslation(void 0===u.x?b.x:u.x,void 0===u.y?b.y:u.y,void 0===u.z?b.z:u.z));w.multiply(p.makeRotationY(void 0===u.yaw?b.yaw:-u.yaw*q));w.multiply(p.makeRotationX(void 0===u.pitch?b.pitch:u.pitch*
1322q));w.multiply(p.makeRotationZ(void 0===u.roll?b.roll:u.roll*q));w.multiply(p.makeRotationZ(-h.roll));w.multiply(p.makeRotationX(-h.pitch));w.multiply(p.makeRotationY(-h.yaw));w.multiply(p.makeScale(this.XR.ap,this.XR.ap,this.XR.ap));w.multiply(p.makeTranslation(-h.x,-h.y,-h.z));if(void 0!==u.yaw||void 0!==u.pitch||void 0!==u.roll)w=this.XR.Jn.matrix,w.identity(),w.multiply(
1322p.makeTranslation(h.x,h.y,h.z)),w.multiply(p.makeRotationY(-h.yaw*q)),w.multiply(p.makeRotationX(h.pitch*q)),w.multiply(p.makeRotationX(h.roll*
1323q));this.XR.mj.updateMatrixWorld(!0);null===(t=this.camera)||void 0===t?void 0:t.updateMatrixWorld(!0);null===(v=this.ik)||void 0===v?void 0:v.updateMatrixWorld(!0);this.dja()};r.w3a=function(){var u,t,v,w;this.bu(this.XR.GK);this.HFa((null===(u=this.XR.Zg)||void 0===u?void 0:u.xr.getCamera())||null);this.setCamera(this.XR.gx);if(t=(t=(u=null===(t=this.XR.Zg)||void 0===t?void 0:t.xr.getFrame())&&this.XR.referenceSpace&&u.getViewerPose(this.XR.referenceSpace))&&t.transform)this.XR.Rya=t.position.y,
1324this.hB.fromArray(t.matrix),this.hB.decompose(this.XR.H8a,this.XR.n3,g),null===(v=this.camera)||void 0===v?void 0:v.updateMatrixWorld(!0),null===(w=this.ik)||void 0===w?void 0:w.updateMatrixWorld(!0),this.dja()};r.Le=function(){this.XR.isPresenting?this.scene&&this.camera&&(this.XR.GK!=this.scene||this.XR.gx!=this.camera)&&(this.bu(this.XR.GK),this.setCamera(this.XR.gx),this.XR.Zg.xr.updateCamera(this.XR.gx),this.setPosition({x:this.XR.Yc.x,y:this.XR.Yc.y,z:this.XR.Yc.z,Ra:-c.setFromQuaternion(this.XR.tg,
1325"YXZ").y*n})):(this.bu(null),this.HFa(null),this.setCamera(null))};r.dja=function(){p.copy(this.hB).premultiply(this.XR.mj.matrixWorld).decompose(this.XR.Yc,this.XR.tg,g);c.setFromRotationMatrix(this.XR.Jn.matrix,"YXZ");d.setFromMatrixPosition(this.hB);this.XR.Jn.matrix.identity();this.XR.Jn.matrix.multiply(p.makeTranslation(d.x,d.y,d.z));this.XR.Jn.matrix.multiply(p.makeRotationFromEuler(c));this.XR.Jn.updateMatrixWorld(!0)};r.bu=function(u){this.scene!==u&&(this.scene&&this.scene.remove(this.XR.mj),
1326null==u&&(this.oEa(),this.qEa()),(this.scene=u)&&this.scene.add(this.XR.mj))};r.setCamera=function(u){this.camera!==u&&(this.oEa(),(this.camera=u)&&this.XR.mj.add(this.camera))};r.HFa=function(u){this.ik!==u&&(this.qEa(),(this.ik=u)&&this.XR.mj.add(this.ik))};r.oEa=function(){this.scene&&this.camera&&this.camera.parent===this.XR.mj&&(this.scene.add(this.camera),this.camera=null)};r.qEa=function(){this.ik&&this.ik.parent===this.XR.mj&&(this.ik.parent.remove(this.ik),this.ik=null)};r.A1=function(u,
1327t){u.decompose(d,f,g);c.setFromQuaternion(f,"YXZ");t.yaw=c.y;t.pitch=c.x;t.roll=c.z;t.x=d.x;t.y=d.y;t.z=d.z};r.hB=new m.Matrix4;r.Xf=1;r.scene=null;r.camera=null;r.ik=null;return r}(),b={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},f=new m.Quaternion,c=new m.Euler,d=new m.Vector3,g=new m.Vector3,p=new m.Matrix4,q=Math.PI/180,n=180/Math.PI;window.Sn=function(r){k.setPosition({x:void 0,y:void 0,z:void 0,Ra:r})};return k});
1328define("bO",["require","exports"],function(){return{ZF:"gaze",wL:"laser"}});
1329define("iZ",["require","exports","pg"],function(a,e,l){return function(){function m(){}m.U5a=function(k,b,h){var f=this.XR.Am.indexOf(k);-1<f&&f!==this.XR.Am.length-1&&(this.XR.Am.splice(f,1),this.XR.Am.splice(this.XR.Am.length,0,k));this.XR.zha.set(k,b);this.XR.yha.set(k,h);k!==this.XR.Zg||this.XR.GK===b&&this.XR.gx===h||(this.XR.GK=b,this.XR.gx=h,this.XR.P.trigger(l.ca))};m.add=function(k){this.remove(k);this.XR.Am.push(k)};m.remove=function(k){var b=this.XR.Am.indexOf(k);-1!=b&&(this.XR.Am.splice(b,
13301),this.XR.zha.delete(k),this.XR.yha.delete(k))};return m}()});define("iD",["require","exports"],function(){return{vka:"Panorama",Uja:"Model3D"}});define("js",["require","exports"],function(){return{ZF:"gaze",VHa:"gaze_click"}});define("E",["require","exports"],function(){return{pl:"Cardboard",v9a:"WebVR",hJa:"WebXR"}});
1331define("nt",["require","exports","pg","mP","hq"],function(a,e,l,m,k){return function(){function b(){}b.initialize=function(){this.Le=this.Le.bind(this);this.a2=this.a2.bind(this);this.XR.P.bind(l.ca,this.Le,this,!0);window.addEventListener("vrdisplayblur",function(){k.Aia(!0)},!0);window.addEventListener("vrdisplayfocus",function(){k.Aia(!1)},!0)};b.Le=function(){this.XR.session?(this.jB=this.XR.session,this.jB.addEventListener("visibilitychange",this.a2)):(this.jB&&this.jB.removeEventListener("visibilitychange",
1332this.a2),this.jB=null);k.px(this.XR.isPresenting)};b.a2=function(){k.Aia(!this.jB||"visible"!=this.jB.visibilityState);m.NHa&&"visible"!=this.jB.visibilityState&&this.XR.vfa()};b.jB=null;return b}()});
1333define("dx",["require","exports","v","mC"],function(a,e,l,m){return function(){function k(){}k.initialize=function(){this.sr=-1<[l.Sr,l.Lx].indexOf(l.mc());this.QGa=m.pj("vr");if(this.sr||this.QGa)this.yGa(),document.addEventListener("visibilitychange",function(){document.hidden||this.yGa()}.bind(this),!1)};k.yGa=function(){this.K_a();this.Hea=0;this.WFa()};k.WFa=function(){this.Hea++;this.a3=setTimeout(this.Z3a.bind(this),this.QGa?500:1E3*this.Hea)};k.K_a=function(){this.a3&&(clearTimeout(this.a3),
1334this.a3=null)};k.Z3a=function(){this.a3=null;this.sr&&5<this.Hea?window.location.reload():document.hidden||k.XR.isPresenting||(!this.n0()||this.sr)&&this.WFa()};k.n0=function(){for(var b=this.XR.HDa.Ni("PanoramaPlayer"),h=0;h<b.length;h++){var f=b[h];if(f.get("panorama"))return f.get("viewerArea").set("viewMode","vr"),!0}
1334b=this.XR.HDa.Ni("Model3DPlayer");for(h=0;h<b.length;h++)if(f=b[h],f.get("model")&&f.get("model").get("isLoaded"))return f.get("viewerArea").set("viewMode","vr"),!0;return!1};return k}()});
1335define("nX",["require","exports"],function(){return function(){function a(){}a.d5a=function(e,l){if(a.IBa(e)){var m=a.yr(e),k,b=256;l.forEach(function(h){if(a.IBa(h)){var f=a.rEa(m,a.yr(h));f<b&&(k=h,b=f)}});if(k&&5>=b)return k}return e};a.I0=function(e,l){return a.rEa(a.yr(e),a.yr(l))};a.IBa=function(e){return!!e&&0===e.indexOf("#")};a.yr=function(e){return[parseInt(e.substr(1,2),16),parseInt(e.substr(3,2),16),parseInt(e.substr(5,2),16)]};a.rEa=function(e,l){return Math.max(Math.abs(e[0]-l[0]),Math.abs(e[1]-
1336l[1]),Math.abs(e[2]-l[2]))};a.bB=function(e){e=a.yr(e);return e[0]<<16|e[1]<<8|e[2]<<0};return a}()});
1337define("fQ",["require","exports","nX","three.mod"],function(a,e,l,m){a=function(){function f(c,d){this.dot=this.ray=this.ua=null;this.ua=new m.Group;this.ray=new k(c,d);this.ua.add(this.ray.ua);this.dot=new b(c,d);this.ua.add(this.dot.ua)}f.prototype.update=function(){this.ray.update();this.dot.update()};f.prototype.dispose=function(){var c;this.ua&&(this.ray.dispose(),this.ray=null,this.dot.dispose(),this.dot=null,null===(c=this.ua.parent)||void 0===c?void 0:c.remove(this.ua),this.ua=null)};return f}();
1338var k=function(){function f(c,d){this.ip=this.material=this.ua=null;this.color="#ffffff";this.nc=c;this.ol=d;this.via();this.ua=new m.Mesh(new m.CylinderGeometry(5E-4,5E-4,.35,8),this.material);this.ua.renderOrder=999;this.ua.position.z=-.175;this.ua.position.y=-.001;this.ua.rotation.copy(new m.Euler(-Math.PI/2,0,0,"YXZ"));this.ua.updateMatrix()}f.prototype.update=function(){this.lT();this.cja()};f.prototype.dispose=function(){var c;this.ua&&(this.ua.geometry.dispose(),this.Jia(),null===(c=this.ua.parent)||
1339void 0===c?void 0:c.remove(this.ua),this.ua=null)};f.prototype.via=function(){if(!this.material){var c=document.createElement("canvas");c.width=c.height=256;this.ip=c.getContext("2d");this.material=new m.MeshBasicMaterial;this.material.map=new m.Texture(c);this.material.map.encoding=m.sRGBEncoding;this.material.transparent=!0;this.lT()}};f.prototype.Jia=function(){var c,d;if(this.material){var g=null===(c=this.material.map)||void 0===c?void 0:c.image;g.width=g.height=1;null===(d=this.material.map)||
1340void 0===d?void 0:d.dispose();this.material.map=null;this.material.dispose();this.ip=this.material=null}};f.prototype.lT=function(){var c=this.$J();if(this.color!==c){this.color=c;c=l.yr(this.color).join(", ");var d=this.material.map.image,g=this.ip.createLinearGradient(0,0,0,d.height);g.addColorStop(0,"rgba("+c+", 0)");g.addColorStop(.5,"rgba("+c+", 1)");g.addColorStop(1,"rgba("+c+", 1)");this.ip.fillStyle=g;this.ip.clearRect(0,0,d.width,d.height);this.ip.fillRect(0,0,d.width,d.height);this.material.map.needsUpdate=
1341!0;this.material.needsUpdate=!0}};f.prototype.cja=function(){this.ua.visible=!this.nc.disabled&&!this.nc.hidden};f.prototype.$J=function(){return this.nc.pressed?this.ol.mha:this.nc.xK?this.ol.IDa:this.ol.kha};return f}(),b=function(){function f(c,d){this.ip=this.wt=this.material=this.border=this.dot=this.ua=null;this.color="#ffffff";this.nc=c;this.ol=d;this.V6a();this.via();this.ua=new m.Group;this.ua.renderOrder=999;this.border=new m.Mesh(new m.SphereGeometry(.0046,32,32),this.wt);this.dot=new m.Mesh(new m.SphereGeometry(.004,
134232,32),this.material);this.ua.add(this.dot);this.ua.add(this.border);this.FGa()}f.prototype.update=function(){this.lT();this.FGa();this.cja()};f.prototype.dispose=function(){var c;this.ua&&(this.ua.remove(this.dot),this.dot.geometry.dispose(),this.Jia(),this.ua.remove(this.border),this.border.geometry.dispose(),this.Q7a(),null===(c=this.ua.parent)||void 0===c?void 0:c.remove(this.ua),this.ua=null)};f.prototype.V6a=function(){if(!this.wt){var c=document.createElement("canvas");c.width=c.height=256;
1343var d=c.getContext("2d");d.fillStyle="rgba(0, 0, 0, 0.75)";d.clearRect(0,0,c.width,c.height);d.fillRect(0,0,c.width,c.height);d=new m.MeshBasicMaterial;d.map=new m.Texture(c);d.map.encoding=m.sRGBEncoding;d.map.needsUpdate=!0;d.transparent=!0;d.depthTest=!1;d.side=m.BackSide;this.wt=d;this.wt.needsUpdate=!0}};f.prototype.Q7a=function(){var c,d;if(this.wt){var g=null===(c=this.wt.map)||void 0===c?void 0:c.image;g.width=g.height=1;null===(d=this.wt.map)||void 0===d?void 0:d.dispose();this.wt.map=null;
1344this.wt.dispose();this.wt=null}};f.prototype.via=function(){if(!this.material){var c=document.createElement("canvas");c.width=c.height=256;this.ip=c.getContext("2d");var d=new m.MeshBasicMaterial;d.map=new m.Texture(c);d.map.encoding=m.sRGBEncoding;d.transparent=!0;d.depthTest=!1;this.material=d;this.lT()}};f.prototype.Jia=function(){var c,d;if(this.material){var g=null===(c=this.material.map)||void 0===c?void 0:c.image;g.width=g.height=1;null===(d=this.material.map)||void 0===d?void 0:d.dispose();
1345this.material.map=null;this.material.dispose();this.ip=this.material=null}};f.prototype.cja=function(){this.ua.visible=!this.nc.hidden&&!this.nc.disabled&&void 0!==this.nc.St};f.prototype.FGa=function(){var c,d=this.ua.parent?h.setFromMatrixScale(null===(c=this.ua)||void 0===c?void 0:c.parent.matrixWorld).x:1;c=(this.nc.St||500)/d;this.ua.position.z=-c;this.ua.scale.set(c,c,c);this.ua.updateMatrix()};f.prototype.lT=function(){var c=this.$J();this.color!==c&&(this.color=c,c=this.material.map.image,
1346this.ip.fillStyle=this.color,this.ip.clearRect(0,0,c.width,c.height),this.ip.fillRect(0,0,c.width,c.height),this.material.map.needsUpdate=!0,this.material.needsUpdate=!0)};f.prototype.$J=function(){return this.nc.pressed?this.ol.mha:this.nc.xK?this.ol.IDa:this.ol.kha};return f}();new m.Matrix4;var h=new m.Vector3;return a});
1347define("jk",["require","exports","three.mod"],function(a,e,l){return function(){function m(){this.id=0;this.ray=new l.Ray;
1347this.matrixWorld=new l.Matrix4;this.disabled=!1;this.handedness="";this.Nn=this.xK=!1;this.wDa=0;this.St=void 0;this.hidden=this.fr=this.pressed=!1;this.Nb=new l.Vector2;this.id=m.Tga++}m.Tga=0;return m}()});
1348define("hD","require exports pg v fQ jk three.mod".split(" "),function(a,e,l,m,k,b,h){var f=[0,1];a=function(){function c(){}c.initialize=function(){this.XR.P.bind(l.ca,this.Le.bind(this),this,!0);this.XR.P.bind(l.Km,this.HA.bind(this),this,!0);this.bx=this.bx.bind(this);this.ax=this.ax.bind(this);this.L1=this.L1.bind(this);this.O1=this.O1.bind(this);this.M1=this.M1.bind(this)};c.rb=function(d){this.enabled=d};c.isConnected=function(){return this.c0.some(function(d){return d})};c.mFa=function(d){var g;
1349if(0<this.Ut.length!==d)if(d){var p=new h.DirectionalLight(16777215,1);p.position.set(10,20,0);null===(g=this.zm)||void 0===g?void 0:g.add(p);this.Ut.push(p)}else for(;this.Ut.length;)g=this.Ut.pop(),null===(p=this.zm)||void 0===p?void 0:p.remove(g)};c.BFa=function(d){this.e3!==d&&((this.e3=d)?this.Mw.forEach(this.nCa.bind(this)):this.Mw.forEach(this.pEa.bind(this)))};c.h5a=function(d){this.I1a(d)};c.Le=function(){this.XR.isPresenting?f.forEach(function(d){this.X6a(d);this.Y6a(d)}.bind(this)):f.forEach(function(d){this.U7a(d);
1350this.T7a(d);this.S7a(d)}.bind(this))};c.HA=function(){this.w6a(this.enabled&&this.XR.mj||null);this.$ia();this.m8a()};c.$ia=function(){if(this.enabled){for(;this.XR.hg.length;)this.XR.hg.pop();f.forEach(function(d){var g=this.controllers[d];if(g&&this.c0[d]){var p=this.EE[d];this.DGa(d);p.matrixWorld.copy(g.matrixWorld);p.ray.origin.set(0,0,0);p.ray.direction.set(0,0,-1);d=(d=(d=this.Mw[d].motionController)&&d.components["xr-standard-thumbstick"])&&d.values;p.Nb.set(d&&d.xAxis||0,d&&d.yAxis||0);this.XR.hg.push(p)}}.bind(this))}};
1351c.m8a=function(){this.enabled&&f.forEach(function(d){d=this.cR[d];null===d||void 0===d?void 0:d.update()}.bind(this))};c.c7a=function(){if(!this.tfa){var d=this.XR.Zg;d.xt=!0;var g=new h.RoomEnvironment(d);this.tfa=(new h.PMREMGenerator(d)).fromScene(g).texture;d.xt=!1}};c.X6a=function(d){var g=this.XR.Zg.xr.getController(d);this.controllers[d]!=g&&(g.addEventListener("selectstart",this.bx),g.addEventListener("selectend",this.ax),g.addEventListener("connected",this.L1),g.addEventListener("disconnected",
1352this.O1),g.userData.I1=!0,this.controllers[d]=g,this.EE[d]=new b,this.Yea[d]=0)};c.S7a=function(d){var g=this.controllers[d];g&&(g.removeEventListener("selectstart",this.bx),g.removeEventListener("selectend",this.ax),g.removeEventListener("connected",this.L1),g.removeEventListener("disconnected",this.O1),this.controllers[d]=null)};c.Y6a=function(d){if(!this.DE[d]){var g=this.XR.Zg.xr.getControllerGrip(d);g.userData.I1=!0;this.b0||(this.b0=new h.XRControllerModelFactory);this.b0.path=h.qG.endsWith("/")?
1353h.qG.slice(0,-1):h.qG;var p=this.b0.createControllerModel(g,this.O8a);p.addEventListener("loaded",this.M1);this.Mw[d]=p;g.add(p);this.DE[d]=g}};c.O8a=function(d){d=Array.from(d.profiles);if(m.bF())d=["meta-quest-touch-plus"].concat(d);else if(m.qK())d=["oculus-touch-v3"].concat(d);else if(m.GBa())d=["generic-trigger"].concat(d);else if(m.HBa()||0<=d.indexOf("pico-phoenix")||0<=d.indexOf("pico-4"))d=["pico-4"].concat(d);else if(m.KBa()||0<=d.indexOf("htc-vive-focus-3")||0<=d.indexOf("htc-vive-focus-3-plus"))d=
1354["htc-vive-focus-3"].concat(d);else if(m.a3a()||m.W2a()||m.tga()||0<=d.indexOf("pico-g2")||0<=d.indexOf("pico-neo2")||0<=d.indexOf("pico-neo3"))d=["generic-trigger"].concat(d);return d};c.T7a=function(d){var g,p=this.DE[d];if(p){var q=this.Mw[d];this.Mw[d]=null;q.removeEventListener("loaded",this.M1);p.remove(q);this.DE[d]=null;null===(g=p.parent)||void 0===g?void 0:g.remove(p)}};c.Z6a=function(d){if(!this.cR[d]){var g=new k(this.EE[d],this.XR.ol);this.cR[d]=g;this.controllers[d].add(g.ua)}};c.U7a=
1355function(d){var g=this.cR[d];g&&(g.dispose(),this.cR[d]=null)};c.w6a=function(d){this.zm!==d&&(this.zm=d,this.t8a())};c.t8a=function(){this.controllers.forEach(function(d){var g,p;d&&d.parent!=this.zm&&(null===(g=d.parent)||void 0===g?void 0:g.remove(d),null===(p=this.zm)||void 0===p?void 0:p.add(d))}.bind(this));this.DE.forEach(function(d){var g,p;d&&d.parent!=this.zm&&(null===(g=d.parent)||void 0===g?void 0:g.remove(d),null===(p=this.zm)||void 0===p?void 0:p.add(d))}.bind(this));this.Ut.forEach(function(d){var g,
1356p;d.parent!==this.zm&&(null===(g=d.parent)||void 0===g?void 0:g.remove(d),null===(p=this.zm)||void 0===p?void 0:p.add(d))}.bind(this))};c.bx=function(d){d=this.G0(d.target);var g=this.EE[d];g.pressed=!0;this.XR.P.trigger(l.gy,{pointerState:g});this.Yea[d]=Date.now()};c.ax=function(d){d=this.G0(d.target);var g=this.EE[d];g.pressed=!1;this.XR.P.trigger(l.kG,{pointerState:g});this.Yea[d]+300>Date.now()&&this.XR.P.trigger(l.Lf,{pointerState:g})};c.L1=function(d){var g,p;if("gaze"!=d.data.targetRayMode){var q=
1357this.G0(d.target);this.Z6a(q);null===(g=this.zm)||void 0===g?void 0:g.add(this.controllers[q]);null===(p=this.zm)||void 0===p?void 0:p.add(this.DE[q]);this.c0[q]=!0;this.hza[q]=d.data.gamepad;this.EE[q].handedness=d.data.handedness;this.XR.P.trigger(l.oja)}};c.qga=function(d){return d.profiles.some(function(g){return 0<=g.indexOf("hand")})};c.O1=function(d){var g,p;d=this.G0(d.target);null===(g=this.zm)||void 0===g?void 0:g.remove(this.controllers[d]);null===(p=this.zm)||void 0===p?void 0:p.remove(this.DE[d]);
1358this.c0[d]=!1;this.hza[d]=null;this.XR.P.trigger(l.pja)};c.M1=function(d){var g=this.d1a(d.target),p=this.Mw[g];this.c7a();p.setEnvironmentMap(this.tfa);this.e3?this.nCa(p):this.pEa(p);p.userData.qga=this.qga(d.target.motionController.xrInputSource);p.userData.ii=!0;this.DGa(g)};c.DGa=function(d){var g=this.Mw[d];g.userData.ii&&(d=this.EE[d],g.visible=g.userData.qga||d.hidden?!1:!0)};c.nCa=function(d){d&&d.traverse(function(g){if("isMesh"in g&&g.material){var p=g.material;if(!p.userData.wr){var q=
1359p.userData.q3a;q||(q=p.clone(),p.userData.q3a=q,q.userData.wr=p,q.transparent||(q.transparent=!0,q.opacity=1,"map"in q&&q.map&&(q.map=this.T_a(q.map)),q.needsUpdate=!0));g.material=q}void 0===g.userData.fha&&(g.userData.fha=g.renderOrder);g.renderOrder=1E3}}.bind(this))};c.pEa=function(d){d&&d.traverse(function(g){if("isMesh"in g&&g.material){var p=g.material;p.userData.wr&&(g.material=p.userData.wr);void 0==g.userData.fha&&(g.renderOrder=g.userData.fha)}}.bind(this))};c.T_a=function(d){if(!d)return null;
1360var g=document.createElement("canvas");g.width=d.image.width;g.height=d.image.height;var p=g.getContext("2d");
1360p.drawImage(d.image,0,0);for(var q=p.getImageData(0,0,g.width,g.height),n=q.data,r=0;r<n.length;r+=4)n[r+3]=255;p.putImageData(q,0,0);d=(new h.Texture).copy(d);d.image=g;d.needsUpdate=!0;return d};c.G0=function(d){return this.controllers.indexOf(d)};c.d1a=function(d){return this.Mw.indexOf(d)};c.I1a=function(d){this.XR.hg.indexOf(d)};c.enabled=!0;c.controllers=[null,null];c.c0=[!1,!1];c.DE=
1361[null,null];c.Mw=[null,null];c.b0=null;c.cR=[null,null];c.hza=[null,null];c.Ut=[];c.e3=!1;c.EE=[];c.Yea=[];c.zm=null;c.tfa=null;return c}();new h.Matrix4;return a});
1362define("mb",["require","exports"],function(){return function(){function a(e){this.Nc=this.Ds(e.kha);this.nw=this.Ds(e.mha);this.yw=this.Ok([0,0,0],0);this.uZ=this.Ok([0,0,0],.125);this.DNa=this.Ok(this.Nc,1);this.ENa=this.Ok(this.nw,1);this.KLa=this.Ok(this.nw,1);this.JLa=this.Ok(this.Nc,.5);this.HLa=this.Ok(this.Nc,1);this.ILa=this.Ok(this.nw,1);this.Nh=this.zf=128;this.L5=4E3;this.Vna=.1;this.yl=.16;this.Mo=.04;this.Sma=this.RU=.68-this.Mo;this.QU=1-this.Mo;this.R=document.createElement("canvas");
1363this.R.width=this.zf;this.R.height=this.Nh;this.za=this.R.getContext("2d");this.hd=this.$u=!1;this.MH=this.$X=void 0;this.$B=0}a.prototype.Ds=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.Ok=function(e,l){return"rgba("+e.join(",")+", "+l+")"};a.prototype.DF=function(e,l){this.hd=e;this.$X=l};a.prototype.ox=function(e){this.$u=e};a.prototype.je=function(){return this.zf};a.prototype.Ye=function(){return this.Nh};
1364a.prototype.fg=function(){return this.R};a.prototype.update=function(e){return this.$u?this.HNa(e):this.hd?this.MNa():this.LNa()};a.prototype.dispose=function(){this.za=null;this.R.width=this.R.height=1};a.prototype.QG=function(){var e;null===(e=this.za)||void 0===e?void 0:e.clearRect(0,0,this.zf,this.Nh)};a.prototype.LNa=function(){if(this.MH==a.Lja)return!1;this.QG();this.aoa(this.DNa,1);this.MH=a.Lja;return!0};a.prototype.MNa=function(){if(void 0===this.$X){if(this.MH==a.X)return!1;this.QG();this.aoa(this.ENa,
13652)}else this.tTa(this.$X);this.MH=a.X;return!0};a.prototype.HNa=function(e){for(this.$B+=e;this.$B>this.L5;)this.$B-=this.L5;this.ELa(this.$B/this.L5);this.MH=a.AT;return!0};a.prototype.aoa=function(e,l){this.Gj(this.Vna*l+this.Mo,0,this.yw,this.uZ,0,2*Math.PI);this.Gj(this.Vna*l,0,this.yw,e,0,2*Math.PI)};a.prototype.NNa=function(e){this.Gj(this.RU-.5*(this.yl+this.Mo),this.yl+this.Mo,this.uZ,this.yw,0,2*Math.PI);this.Gj(this.RU-.5*this.yl,this.yl,this.JLa,this.yw,0,2*Math.PI);this.Gj(this.RU-.5*
1366this.yl,this.yl,this.KLa,this.yw,.5*Math.PI,(.5+2*e)*Math.PI)};a.prototype.INa=function(e,l){this.Gj(this.Sma-.5*(this.yl+this.Mo),this.yl+this.Mo,this.uZ,this.yw,0,2*Math.PI);this.Gj(this.Sma-.5*this.yl,this.yl,this.HLa,this.yw,0,2*Math.PI);e=(.5+2*e)*Math.PI;for(l=(.5+2*l)*Math.PI;l<e;)l+=2*Math.PI;var m=e-this.Mo/(2*this.QU*Math.PI),k=l+this.Mo/(2*this.QU*Math.PI);Math.abs(k-m+2*Math.PI)<2*this.Mo&&(m=0,k=l);this.Gj(this.QU-.5*(this.yl+this.Mo),this.yl+this.Mo,this.uZ,this.yw,m,k);this.Gj(this.QU-
1367.5*this.yl,this.yl,this.ILa,this.yw,e,l)};a.prototype.Gj=function(e,l,m,k,b,h){var f=Math.round(.5*this.zf),c=Math.round(.5*this.Nh),d=Math.min(f,c);e=Math.round(e*d);var g=this.za;g&&(g.imageSmoothingEnabled=!0,g.lineWidth=l*d,g.strokeStyle=m,g.fillStyle=k,g.beginPath(),g.arc(f,c,e,b,h,!1),g.stroke(),g.fill())};a.prototype.ELa=function(e){this.QG();if(.25>e){var l=e/.25;e=.5*l}else.5>e?(l=(e-.25)/.25,e=.5+l,l=1+.5*l):.75>e?(l=(e-.5)/.25,e=.5+.5*l,l=.5+l):(e=l=(e-.75)/.25,l=.5+.5*l);this.INa(e,l)};
1368a.prototype.tTa=function(e){this.QG();this.NNa(e)};a.Lja="initial";a.AT="changing";a.X="over";return a}()});define("mY",["require"],function(){return{o9a:"single",FRONT:"front",Wa:"left",BACK:"back",ob:"right",zc:"top",sc:"bottom"}});
1369define("jv",["require","mY"],function(a){a=a("mY");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.yg=500;e.E3=.5*e.yg;e.LIa=e.yg;e.Mka=[a.FRONT,a.ob,a.BACK,a.Wa,a.zc,a.sc];e.mza=function(b,h){for(var f=e.yg,c=e.E3,d=b*h,g=this.bv(),p=[],q=0,n=6*d;q<n;q++)p.push(q);q=[];var r=d;q.push(this.zG(g,b,h,-c,+c,-c,+f,0,-f,0,p.slice(0,r)));n=r;r+=d;q.push(this.zG(g,b,h,+c,+c,
1370-c,0,+f,-f,0,p.slice(n,r)));n=r;r+=d;q.push(this.zG(g,b,h,+c,+c,+c,-f,0,-f,0,p.slice(n,r)));n=r;r+=d;q.push(this.zG(g,b,h,-c,+c,+c,0,-f,-f,0,p.slice(n,r)));n=r;r+=d;q.push(this.zG(g,b,h,-c,+c,+c,+f,0,0,-f,p.slice(n,r)));q.push(this.zG(g,b,h,-c,-c,-c,+f,0,0,+f,p.slice(r,r+d)));g.mergeVertices();g.computeFaceNormals();g.userData.type="cube";g.userData.lBa=b;g.userData.TGa=h;g.userData.k4a=q;return e.dQ(g)};e.HJ=function(){var b=this.bv();this.Tla(b,-.5,.5,0,1,0,0,0,-1,0,0);b.mergeVertices();b.computeFaceNormals();
1371b.userData.type="plane";return e.dQ(b)};e.lza=function(b,h,f,c,d,g,p,q,n,r,u,t){var v=this.bv();v.vertices.push(new THREE.Vector3(b,h,f));v.vertices.push(new THREE.Vector3(c,d,g));v.vertices.push(new THREE.Vector3(p,q,n));v.vertices.push(new THREE.Vector3(r,u,t));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,
13721),new THREE.Vector2(0,0),new THREE.Vector2(1,0)]);v.mergeVertices();v.computeFaceNormals();v.userData.type="quad";return e.dQ(v)};e.pFa=function(b,h,f,c,d){b=e.Xca(b);var g=b.faceVertexUvs[0][0];g[0].x=h;g[0].y=f+d;g[1].x=h;g[1].y=f;g[2].x=h+c;g[2].y=f;g=b.faceVertexUvs[0][1];g[0].x=h;g[0].y=f+d;g[1].x=h+c;g[1].y=f;g[2].x=h+c;g[2].y=f+d;b.uvsNeedUpdate=!0;return e.dQ(b,!0)};e.mr=function(){return e.E3};e.Rfa=function(b,h){return 2*b*Math.tan(.5*h*l)};e.Sfa=function(b,h){return 2*b*Math.tan(.5*h*
1373l)};e.Lt=function(b){return Math.max(Math.min(3.539647*b-6.669366*b*b+4.7454*b*b*b,e.E3),.1)};e.bv=function(){var b=new THREE.Geometry;b.userData={};return b};e.dispose=function(b){b&&(b.isBufferGeometry&&b.userData&&b.userData.geometry&&b.userData.geometry.dispose(),b.isGeometry&&b.userData&&b.userData.DJ&&b.userData.DJ.dispose(),b.dispose())};e.dQ=function(b,h){if(b.isBufferGeometry)return b;if(b.isGeometry){if(!b.userData.DJ||h)b.userData.DJ&&b.userData.DJ.dispose(),h=b.toBufferGeometry(),(h.userData=
1374{}).geometry=b,b.userData.DJ=h;return b.userData.DJ}return null};e.Xca=function(b){return b.isGeometry?b:b.isBufferGeometry&&b.userData&&b.userData.geometry?b.userData.geometry:null};e.zG=function(b,h,f,c,d,g,p,q,n,r,u){for(var t={},v=0,w=0;w<f;w++){t[w]={};for(var x=0;x<h;x++)this.Tla(b,c+p*x/h+0*w/f,d+0*x/h+n*w/f,g+q*x/h+r*w/f,p/h,0/h,q/h,0/f,n/f,r/f,u[v]),t[w][x]=b.faces.slice(b.faces.length-2,b.faces.length),v+=1}return t};e.Z9a=function(b,h,f){h=.5*h/Math.tan(.5*f);m.copy(b);b=k[0];b.x=0;b.y=
13750;b.z=0;
1375b.applyMatrix4(m);f=Math.sqrt(b.x*b.x+b.y*b.y+b.z*b.z);var c=h/b.z,d=k[1];d.x=b.x*c;d.y=b.y*c;d.z=h;return f/Math.sqrt(d.x*d.x+d.y*d.y+d.z*d.z)};e.z1a=function(b,h,f){b=e.Xca(b);m.copy(h.matrixWorldInverse).multiply(f);switch(b.userData.type){case "cube":return e.bQa(b,m,h.projectionMatrix);default:return e.cQa(b)}};e.v1a=function(b,h,f){b=e.Xca(b);switch(b.userData.type){case "plane":return e.HPa(b,h,f);case "quad":return e.fpa(b,1,h,f)||e.fpa(b,0,h,f);default:return null}};e.Tla=function(b,
1376h,f,c,d,g,p,q,n,r,u){var t=b.vertices.length;b.vertices.push(new THREE.Vector3(h,f,c));b.vertices.push(new THREE.Vector3(h+q,f+n,c+r));b.vertices.push(new THREE.Vector3(h+d+q,f+g+n,c+p+r));b.vertices.push(new THREE.Vector3(h+d,f+g,c+p));b.faces.push(new THREE.Face3(t,t+1,t+2,null,null,u));b.faceVertexUvs[0].push([new THREE.Vector2(0,1),new THREE.Vector2(0,0),new THREE.Vector2(1,0)]);b.faces.push(new THREE.Face3(t,t+2,t+3,null,null,u));b.faceVertexUvs[0].push([new THREE.Vector2(0,1),new THREE.Vector2(1,
13770),new THREE.Vector2(1,1)])};e.HPa=function(b,h,f){var c=b.faces[0],d=b.faces[1],g=k[0],p=k[1],q=k[2];g.copy(b.vertices[c.a]).applyMatrix4(h);p.copy(b.vertices[d.c]).applyMatrix4(h);q.copy(b.vertices[c.b]).applyMatrix4(h);h=p.x-g.x;d=p.y-g.y;var n=p.z-g.z;p=q.x-g.x;var r=q.y-g.y;q=q.z-g.z;var u=d*q-n*r,t=n*p-h*q,v=h*r-d*p,w=f.direction.x*u+f.direction.y*t+f.direction.z*v;if(0!=w&&(v=-(u*(f.origin.x-g.x)+t*(f.origin.y-g.y)+v*(f.origin.z-g.z))/w,!(0>=v||(u=f.origin.x+f.direction.x*v-g.x,t=f.origin.y+
1378f.direction.y*v-g.y,g=f.origin.z+f.direction.z*v-g.z,f=(h*u+d*t+n*g)/(h*h+d*d+n*n),g=(p*u+r*t+q*g)/(p*p+r*r+q*q),h=b.faceVertexUvs[0][0][0],d=b.faceVertexUvs[0][1][2],b=b.faceVertexUvs[0][0][1],0>f||1<f||0>g||1<g))))return{zGa:h.x+(d.x-h.x)*f+(b.x-h.x)*g,RGa:h.y+(d.y-h.y)*f+(b.y-h.y)*g,materialIndex:c.materialIndex}};e.fpa=function(b,h,f,c){var d=b.faces[h],g=k[0],p=k[1],q=k[2];g.copy(b.vertices[d.a]).applyMatrix4(f);p.copy(b.vertices[d.b]).applyMatrix4(f);q.copy(b.vertices[d.c]).applyMatrix4(f);
1379f=p.x-g.x;var n=p.y-g.y,r=p.z-g.z;p=q.x-g.x;var u=q.y-g.y;q=q.z-g.z;var t=n*q-r*u,v=r*p-f*q,w=f*u-n*p,x=c.direction.x*t+c.direction.y*v+c.direction.z*w;if(0!=x&&(w=-(t*(c.origin.x-g.x)+v*(c.origin.y-g.y)+w*(c.origin.z-g.z))/x,!(0>=w))){t=c.origin.x+c.direction.x*w-g.x;v=c.origin.y+c.direction.y*w-g.y;c=c.origin.z+c.direction.z*w-g.z;if(0!=(g=u*f-p*n))f=(v*f-t*n)/g,n=(v*p-t*u)/-g;else if(0!=(g=q*f-p*r))f=(v*f-t*n)/g,n=(v*p-t*u)/-g;else if(0!=(g=q*n-u*r))f=(c*n-v*r)/g,n=(c*u-v*q)/-g;else return;if(!(0>
1380n||1<n||0>f||1<f||1<n+f))return p=b.faceVertexUvs[0][h][0],u=b.faceVertexUvs[0][h][1],b=b.faceVertexUvs[0][h][2],{zGa:p.x+(u.x-p.x)*n+(b.x-p.x)*f,RGa:p.y+(u.y-p.y)*n+(b.y-p.y)*f,materialIndex:d.materialIndex}}};e.bQa=function(b,h,f){var c=Array.prototype.concat.apply([],b.userData.k4a.map(function(d){return e.xpa(h,f,d,b.vertices,0,0,b.userData.lBa,b.userData.TGa).map(function(g){return g.materialIndex})}));return e.Hpa(c)};e.cQa=function(b){b=b.faces.map(function(h){return h.materialIndex});return e.Hpa(b)};
1381e.Hpa=function(b){var h={};b.forEach(function(c){h[c]=!0});b=[];for(var f in h)b.push(f);return b};e.xpa=function(b,h,f,c,d,g,p,q){var n=[];if(e.sXa(b,h,c[f[g][d][0].a],c[f[g+q-1][d][0].b],c[f[g+q-1][d+p-1][0].c],c[f[g][d+p-1][1].c]))if(1==p&&1==q)n.push(f[g][d][0]);else for(g=1<q?[g,g+Math.ceil(.5*q),g+q]:[g,g+q],d=1<p?[d,d+Math.ceil(.5*p),d+p]:[d,d+p],p=1;p<g.length;p++){q=g[p-1];for(var r=g[p]-q,u=1;u<d.length;u++){var t=d[u-1];n=n.concat(e.xpa(b,h,f,c,t,q,d[u]-t,r))}}return n};e.sXa=function(b,
1382h,f,c,d,g){var p=[null,null,null,null,null];k[0].copy(f).applyMatrix4(b);k[1].copy(c).applyMatrix4(b);k[2].copy(d).applyMatrix4(b);k[3].copy(g).applyMatrix4(b);f=0;c=4;for(b=0;4>b;b++){d=k[(b+3)%4];g=k[b];var q=k[(b+1)%4];if(0>=g.z)p[f++]=g;else{if(0>=d.z){var n=k[c++],r=d.z/(d.z-g.z);n.x=d.x+(g.x-d.x)*r;n.y=d.y+(g.y-d.y)*r;n.z=-1E-5;p[f++]=n}0>=q.z&&(n=k[c++],r=g.z/(g.z-q.z),n.x=g.x+(q.x-g.x)*r,n.y=g.y+(q.y-g.y)*r,n.z=-1E-5,p[f++]=n)}}if(2<f){for(b=0;b<f;b++)p[b].applyMatrix4(h);b=0;for(h=f-2;b<
1383h;b++)if(f=p[b],c=p[b+1],d=p[b+2],!(1<f.x&&1<c.x&&1<d.x||-1>f.x&&-1>c.x&&-1>d.x||1<f.y&&1<c.y&&1<d.y||-1>f.y&&-1>c.y&&-1>d.y))return!0}return!1};e.nza=function(b,h,f,c,d,g,p,q,n){var r=b*l,u=.5*-r+.5*Math.PI,t=h
1383*l,v=.5*(Math.PI-t)-f*l,w=.5*e.LIa,x=64/Math.PI,y=Math.max(2,Math.ceil(r/c*x));x=Math.max(2,Math.ceil(t/d*x));for(var z=c*y,C=d*x,A=this.bv(),B=0,E=[],G=0;G<=C;G++){for(var K=[],I=v+G*t/C,Q=0;Q<=z;Q++){var W=-(u+Q*r/z);A.vertices.push(new THREE.Vector3(-w*Math.cos(W)*Math.sin(I),+w*Math.cos(I),
1384+w*Math.sin(W)*Math.sin(I)));K.push(B++)}E.push(K)}for(u=r=0;u<d;u++)for(t=u*x,v=0;v<c;v++){w=v*y;for(G=0;G<x;G++)for(z=p+(1-G/x)*n,C=p+(1-(G+1)/x)*n,Q=0;Q<y;Q++){B=g+Q/y*q;K=g+(Q+1)/y*q;I=E[t+G][w+Q];W=E[t+G+1][w+Q+1];var U=E[t+G][w+Q+1];A.faces.push(new THREE.Face3(I,E[t+G+1][w+Q],W,null,null,r));A.faceVertexUvs[0].push([new THREE.Vector2(B,z),new THREE.Vector2(B,C),new THREE.Vector2(K,C)]);A.faces.push(new THREE.Face3(I,W,U,null,null,r));A.faceVertexUvs[0].push([new THREE.Vector2(B,z),new THREE.Vector2(K,
1385C),new THREE.Vector2(K,z)])}r++}A.mergeVertices();A.computeFaceNormals();A.userData.type="sphere";A.userData.Je=b;A.userData.Nr=h;A.userData.pitch=f;A.userData.lBa=c;A.userData.TGa=d;return e.dQ(A)};return e});
1386define("cF","require exports mb bi three.mod jv".split(" "),function(a,e,l,m,k,b){a=function(){function f(c,d){this.Pw=this.np=null;this.nc=c;this.ol=d;this.canvas=new l(d);this.a0a();this.X_a();this.ua=new k.Group;this.ua.add(this.np);this.ua.add(this.Pw)}f.prototype.update=function(){this.canvas.update(m.Yza)&&(this.np.material.map.needsUpdate=!0);var c=b.Lt(this.ol.n4a||2),d=2*c*Math.tan(f.ZHa/2);this.ua.matrixAutoUpdate=!1;this.ua.matrixWorldNeedsUpdate=!1;this.ua.matrix.identity();this.ua.matrix.multiply(h.makeTranslation(0,
13870,-c));this.ua.matrix.multiply(h.makeScale(d,d,d));this.ua.updateMatrixWorld(!0)};f.prototype.$e=function(c){this.np.material.opacity=c};f.prototype.DF=function(c,d){void 0===d&&(d=void 0);this.canvas.DF(c,d)};f.prototype.ox=function(c){this.canvas.ox(c)};f.prototype.dispose=function(){var c;this.u0a();this.r0a();this.canvas.dispose();null===(c=this.ua.parent)||void 0===c?void 0:c.remove(this.ua);this.ua=null};f.prototype.r0a=function(){var c;if(this.Pw){this.Pw.geometry.dispose();var d=this.Pw.material.map.source;
1388d.width=d.height=1;this.Pw.material.map.dispose();null===(c=this.Pw.parent)||void 0===c?void 0:c.remove(this.Pw);this.Pw=null}};f.prototype.X_a=function(){var c=document.createElement("canvas");c.width=c.height=256;var d=c.getContext("2d");d.fillStyle="rgba(0, 0, 0, 0)";d.fillRect(0,0,256,256);d=new k.Texture;d.image=c;d.generateMipmaps=!0;d.minFilter=k.LinearMipMapLinearFilter;d.needsUpdate=!0;c=new k.MeshBasicMaterial({map:d,transparent:!0});c.map.needsUpdate=!0;c.needsUpdate=!0;c=new k.Mesh(new k.PlaneGeometry,
1389c);c.renderOrder=1E4;this.Pw=c};f.prototype.u0a=function(){var c;this.np&&(this.np.geometry.dispose(),this.np.material.map.dispose(),this.np.material.dispose(),null===(c=this.np.parent)||void 0===c?void 0:c.remove(this.np),this.np=null)};f.prototype.a0a=function(){var c=new k.PlaneGeometry,d=new k.Texture;this.canvas.update(10);d.encoding=k.sRGBEncoding;d.image=this.canvas.fg();d.generateMipmaps=!0;d.minFilter=k.LinearMipMapLinearFilter;d.needsUpdate=!0;d=new k.MeshBasicMaterial({map:d,transparent:!0});
1390this.np=new k.Mesh(c,d);this.np.renderOrder=1E4};f.ZHa=6*Math.PI/180;return f}();var h=new k.Matrix4;return a});
1391define("jn","require exports pg jk cF js three.mod".split(" "),function(a,e,l,m,k,b,h){a=function(){function d(){}d.initialize=function(){this.bx=this.bx.bind(this);this.ax=this.ax.bind(this);this.XR.P.bind(l.ca,this.Le.bind(this),this,!0);this.XR.P.bind(l.Km,this.HA.bind(this),this,!0);this.XR.P.bind(l.Jp,this.Q3a.bind(this),this,!0)};d.rb=function(g){this.enabled=g;this.HGa()};d.Le=function(){this.HGa()};d.HA=function(){this.setCamera(this.enabled&&this.XR.gx||null);this.$ia();this.y8a()};d.Q3a=
1392function(){this.XR.Lha==b.g5&&this.XR.P.trigger(l.Lf,{pointerState:this.nc})};d.HGa=function(){this.XR.isPresenting&&this.enabled?this.zia():this.Nia()};d.setCamera=function(g){this.camera!==g&&(this.camera=g,this.A8a())};d.$ia=function(){this.XR.UJ.origin.copy(this.XR.Yc);this.XR.UJ.direction.set(0,0,-1).applyQuaternion(this.XR.tg);if(this.enabled){if(1!=this.XR.hg.length&&this.XR.hg[0]!==this.nc){for(;this.XR.hg.length;)this.XR.hg.pop();this.XR.hg.push(this.nc)}this.nc.matrixWorld.copy(f.compose(this.XR.Yc,
1393this.XR.tg,c));this.nc.ray.origin.set(0,0,0);this.nc.ray.direction.set(0,0,-1)}};d.A8a=function(){this.Me&&this.Me.ua.parent!==this.camera&&(this.Me.ua.parent&&this.Me.ua.parent.remove(this.Me.ua),this.camera.add(this.Me.ua))};d.zia=function(){var g;this.Me||(this.Me=new k(this.nc,this.XR.ol),null===(g=this.camera)||void 0===g?void 0:g.add(this.Me.ua),this.controller=this.XR.Zg.xr.getController(0),this.controller.addEventListener("selectstart",this.bx),this.controller.addEventListener("selectend",
1394this.ax))};d.Nia=function(){this.Me&&(this.Me.dispose(),this.Me=null,this.controller.removeEventListener("selectstart",this.bx),this.controller.removeEventListener("selectend",this.ax),this.controller=null)};d.y8a=function(){var g,p,q,n;if(this.enabled){if(this.Nn=this.nc.Nn)this.VFa=this.nc.wDa;var r=Date.now();if(this.XR.Lha==b.ZF){var u=this.Nn?r-this.VFa:0;var t=this.XR.ol.o4a;this.vDa<t&&u>=t&&this.XR.P.trigger(l.Lf,{pointerState:this.nc}
1394);this.vDa=u;null===(g=this.Me)||void 0===g?void 0:g.DF(this.Nn&&
1395this.nc.xK,Math.min(1,u/t))}else null===(u=this.Me)||void 0===u?void 0:u.DF(this.nc.xK);this.nc.Nn||this.nc.fr?this.OR=void 0:void 0==this.OR&&(g=this.XR.ol.S0a,void 0!==g&&(this.OR=r+g));r=(void 0!==this.OR?this.OR:Infinity)-r;null===(p=this.Me)||void 0===p?void 0:p.$e(this.nc.hidden?0:Math.max(.01,Math.min(1,r/500)));null===(q=this.Me)||void 0===q?void 0:q.ox(this.nc.fr);null===(n=this.Me)||void 0===n?void 0:n.update()}};d.bx=function(){this.nc.pressed=!0;this.XR.P.trigger(l.gy,{pointerState:this.nc})};
1396d.ax=function(){this.nc.pressed=!1;this.XR.P.trigger(l.gy,{pointerState:this.nc});this.XR.P.trigger(l.Lf,{pointerState:this.nc})};d.nc=new m;d.enabled=!1;d.camera=null;d.Me=null;d.Nn=!1;d.VFa=0;d.vDa=0;d.OR=void 0;d.controller=null;return d}();var f=new h.Matrix4,c=new h.Vector3(1,1,1);return a});
1397define("ku","require exports pg bO hD jn".split(" "),function(a,e,l,m,k,b){return function(){function h(){}h.F6a=function(f){this.PDa=f};h.initialize=function(){this.XR.P.bind(l.ca,this.Le.bind(this),this,!0);this.XR.P.bind(l.Km,this.HA.bind(this),this,!0);this.XR.P.bind(l.oja,this.C3a.bind(this),this,!0);this.XR.P.bind(l.pja,this.D3a.bind(this),this,!0)};h.Le=function(){this.aja()};h.HA=function(){};h.C3a=function(){this.aja()};h.D3a=function(){this.aja()};h.aja=function(){var f=this.XR.isPresenting?
1398this.PDa===m.wL&&k.isConnected()?m.wL:m.ZF:null;this.pointerType!==f&&(this.pointerType=f,k.rb(f===m.wL),b.rb(f===m.ZF))};h.PDa=m.wL;h.pointerType=null;return h}()});define("cH",["require","exports"],function(){return function(){return function(){}}()});
1399define("cf",["require"],function(){return{pl:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAckAAACACAMAAABXwWJTAAAAYFBMVEUAAACAgICAgICAgIDzbUSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUSAgIBEWPGZAAAAHnRSTlMAgL9AgBDvn2Aw388gj69wUO8QRb9gn98gzzCvcI9pmC3GAAAPKUlEQVR42uyc65raIBBABxAISUiy6rq3Vt7/LXvb7YATIEmxX9ScX7YiZnMyyGUANu6O1+fdbfH8ChuU55fz7XE8wEbI+9v5NjkujEvRW87dT2resaGFe+H5fLM8vcNcZNUpF9JYA/fA4XzDzFXZauXGqCsJq8J9wmAyr0/nW+ZtP8uji6IYrIkFJk/n22YHk2EuSS1gPcw3+Xq+cZ6mBqVpXA67niZ2vsnv51vnGSZRuQk0q+nHzjd5qwMQ5ART0G4Sai292PkmzzfP2yKR3LJf6MaFWFgHj2jyPFuksgLfkoP/poaVsJkcxYZDR7hAMrU2kZvJbGdH9TCC1CsTuZkcw6gJnVOhViVyMzlGM+lnsG04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K/3LfxT0I2zLTg4jj/Ht50TC0y0TQtHoaGLfxJPhRvagQbH4F8O95/F2LsyK8ARqCW6+CcRTZB2mrIE38P/SdHkKcnVTtnrnL+3UfPS85/Gc577rbmA70gvf3syQhW+oEIXZ6Msfm+eAbo4IUHxOzkf6OKkcK4En+Fbl3Wem0SxUr3jeViH51VdqI0cXZyfLHiERiuv0RrhI+eulaGLi4uLi4uLi/8dfwG1HApczIfKrQAAAABJRU5ErkJggg==",
1400HIa:"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/gdl1pOZlnOfM1d9Vg8shYa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QlGlD0vxVfliS/m819sLkv7vfXf1P
140007dAbmf/gZofzX6k1ap8efBKGAAAAAElFTkSuQmCC",
1401BL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAE4CAMAAADW5D7KAAAAM1BMVEUAAACAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIBprCkqAAAAEHRSTlMAQIC/758wECDPYK/fcFCPt8VnWAAABehJREFUeNrt3N2WmzAMRWHABmx+/f5P20672kwSIBYI8MA+110T+sUWQnGSZeQyqZu2C1+xxpiiaPIak7kUNrzFjH2FzPuy8mEupsjxibT6szHbhj35PyZ8jMfrb/oQlXaAKstsiExX3H55DUGQ0t0bqwwBLsXyDpe4ZH3jqsGKj+3ZhoL4ezb2bViX8Y57sVmJFbobLq7artUKxQ3HM6uxgr9dF1F367Xs7bZitX4jhtCjJelQb7cT2w1a/nY9RFV2lHnJ8sq/MhRFa4Tb0t77g406L1qLlmRr9i1akhXWtGhJvPoOLUEGQwchSG7Q0uVqUXpsxo+1awTpUeo/DnMakL51Xp5boiAjRV5S6C0Dm/i45a3IWZvnOr94OsKyEQWFi27rJQ0bUUmrYyMKtGjkJVoOnpcsPPsYdF6z0EHwRYO3eJaWoDu1jB8EQ4j59gGct/R0poIYqpZgBGG5ISpsRAZbkv6BNv49OadzFRp5uoepGk+JV3iipsQLnnosNIKqRRcvqFrsw6m03A+391qcfJhKx1dVNncPjB4kJV7vBZrSh6Pj236XB1y/axPfHA+154/wFDsWraYLZ8aqTwSq3Q6JVD6cHfUvg08/8vjtyyqkEOXF1e5T4cuQRnQfRvpdKnwqVsqnzvI9PmwdQzpRXVs7bPYmpBTNuuXVV6+zSWFpTn5L9Qcek5aV5hCl0H6BIaQWvbnAoN07dMlh2b1vh+ozsjOjdpDKKX8uXSaI5XfuHVbfQmyCWHpHEnSxUtyFivtQF6tIEmt1G18Vz5n588//qI8dpbVJYplj33obue1NklhBddepreQOrPiVHC6Ftfat709pRGZuufPpVb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ACQ/2sjqKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqoKe3AgAAAAAADk/9oIqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqrCHhwIAAAAAAD5vzaCqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqwBwcCAAAAAED+r42gqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqirswYEAAAAAAJD/ayOoqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqkp7cEgAAAAAIOj/a2dYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgEv6MVrR60c73AAAAAElFTkSuQmCC",
1408OB:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"}});
1409define("nv","require jquery.mod lE pg cC gv v".split(" "),function(a){var e=a("jquery.mod"),l=a("lE"),m=a("pg"),k=a("cC"),b=a("gv");a=a("v");if(a.mc()!=a.mL){var h=function(r){return r.requestFullscreen||r.msRequestFullscreen||r.mozRequestFullScreen||r.webkitRequestFullscreen},f=function(){return document.exitFullscreen||document.msExitFullscreen||document.mozCancelFullScreen||document.webkitExitFullscreen},c=document.createElement("div");if(!(a=!(!h(c)&&!f())))try{a=window.self===window.top}catch(r){a=
1410!1}if(a){var d=l.extend(b,function(r){b.call(this);this.va=r;this.Ws=h(r);this.kC=f(r);this.U=this.z8();var u=this;
1410e(document).bind("msfullscreenchange webkitfullscreenchange mozfullscreenchange fullscreenchange",function(){u.Oca()});e(window).bind("resize",function(){u.Oca()})});d.Yha=function(){};d.prototype.Xj=function(){return!(!h(this.va||c)&&!f())};d.prototype.m0=function(){this.enabled()||this.toggle()};d.prototype.jr=function(){this.enabled()&&this.toggle()};d.prototype.toggle=function(){this.enabled()?
1411this.kC.call(document):this.Ws.call(this.va);this.Oca()};d.prototype.enabled=function(){return this.U&&this.z8()};d.prototype.z8=function(){return this.va===d.fullscreenElement()};d.prototype.Oca=function(){var r=this.z8();this.U!=r&&(this.U=r,this.trigger(new k(m.ca)))};d.enabled=function(){return!!d.fullscreenElement()};d.fullscreenElement=function(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement};d.jr=function(){d.enabled()&&
1412f().call(document)}}else{d=l.extend(b,function(r){b.call(this);this.va=r});var g=!0;d.Yha=function(r){g="out_of_frame"==r};d.prototype.Xj=function(){return g};d.prototype.m0=function(){this.toggle()};d.prototype.jr=function(){};d.prototype.toggle=function(){g&&window.open(window.self.location.href,"_blank")};d.prototype.enabled=function(){return d.enabled()};d.enabled=function(){return!1};d.fullscreenElement=function(){return null};d.jr=function(){}}}else{d=l.extend(b,function(r){b.call(this);this.va=
1413r});d.prototype.Xj=function(){return!0};d.prototype.m0=function(){this.enabled()||this.toggle()};d.prototype.jr=function(){this.enabled()&&this.toggle()};d.prototype.toggle=function(){if(this.enabled())p("fullscreen"),d.Sy=null;else{d.Sy&&d.Sy.jr();p("fullscreen");var r=q();r.push("fullscreen");n(r);d.Sy=this}this.trigger(new k(m.ca))};d.prototype.enabled=function(){return this==d.Sy};d.enabled=function(){return!!d.fullscreenElement()};d.fullscreenElement=function(){return d.Sy&&d.Sy.va};d.jr=function(){d.enabled()&&
1414d.Sy.jr()};d.Yha=function(){};d.Sy=null;var p=function(r){for(var u=q(),t=[],v=0;v<u.length;v++)u[v]!=r&&t.push(u[v]);n(t)},q=function(){var r=window.location.hash.substring(1);return r.length?r.split("&"):[]},n=function(r){window.location.hash="#"+(r.length?r.join("&"):"")}}return d});
1415define("dA",["require"],function(){var a={};a:{try{if("localStorage"in window&&(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=
1416{};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});
1417define("je","require jquery.mod lE pe v mC pF cf nv dA".split(" "),function(a){function e(T,X){this.HZa=T;this.lMa=X;this.Ica=[];this.Aj=null;this.GP=!1}var l=a("jquery.mod"),m=a("lE"),k=a("pe"),b=a("v"),h=a("mC"),f=a("pF"),c=a("cf"),d=a("nv"),g=a("dA"),p="color:#000; font-family:Arial, Helvetica, sans-serif;",q="",n="border-color:#b2b2b2;",r=n,u="background-color:#009adb; border:none; box-sizing:border-box; color:#fff; cursor:pointer; font-family:Arial, Helvetica, sans-serif; text-align:center;",t=
1418"vertical-align:middle; padding:0;",v='<img style="width:33vmin;" src="'+c.pl+'"/>',w='<img style="width:24vmin;" src="'+c.pl+'"/>',x='<img style="width:34vmin;" src="'+c.D3+'"/>',y='<img style="width:34vmin;" src="'+c.WHa+'"/>',z='<img style="width:24vmin;" src="'+c.HIa+'"/>';b.nb()?(u+=" margin:0 1vmin; min-width:20vmin; padding:2.2vmin 4vmin; font-size:3.6vmin; font-weight:bold; min-width:30vmin;",p+=" font-size:3.6vmin; line-height:4.3vmin;",q+=" margin:5vmin 0;",n+="  margin:5vmin 0;",r+="  margin:3vmin 0;",
1419t+=" height:4vmin; margin:0 1vmin 0 0; width:4vmin;"):u+=" font-size:19px; padding:17px 34px;";q+=p;e.prototype.Y6=function(){this.Aj||(this.Aj=l("<div/>
1419"),this.Aj.css({position:"fixed","z-index":f.cIa,left:0,top:0,margin:0,padding:0,height:"100%",width:"100%","background-color":"rgba(255, 255, 255, 0.99)"}),this.Aj.html(this.lMa),l(this.Aj).find("button").on("click",function(T){this.gSa(l(T.currentTarget).attr("id"))}.bind(this)))};e.prototype.Zba=function(T,X){var D={},M;for(M in X)D[M]=T.css(M);
1420this.Ica.push({$el:T,css:D});T.css(X)};e.prototype.GUa=function(){for(;this.Ica.length;){var T=this.Ica.pop();T.$el.css(T.css)}};e.prototype.show=function(T,X,D){T||(T=function(){});X||(X=function(){});if(this.GP){var M=this.ZU;this.ZU=function(){M();T()};var S=this.MU;this.MU=function(){S();X()}}else{this.Y6();this.ZU=T;this.MU=X;var Y=this.bPa();if(void 0===Y){this.GP=!0;var ca=this;Y=d.fullscreenElement()||document.body;Y=l(Y);!0!==D?Y.children().each(function(){ca.Zba(l(this),{visibility:"hidden"})}):
1421(this.Zba(Y,{overflow:"hidden"}),Y.children().each(function(){ca.Zba(l(this),{position:"absolute","z-index":0})}));Y.append(this.Aj)}else this.GP=!1,Y?this.ZU():this.MU()}};e.prototype.hide=function(){this.GP&&(this.GP=!1,this.Aj.detach(),this.GUa())};e.prototype.bPa=function(){var T=g.getItem(this.$oa());if("true"==T)return!0;if("false"==T)return!1};e.prototype.kva=function(T){g.setItem(this.$oa(),T?"true":"false")};e.prototype.$oa=function(){return this.HZa+"DontDisplay:"+window.location.pathname};
1422e.prototype.gSa=function(T){var X=l("#tdvvriw_dontdisplay").is(":checked");this.hide();"tdvvriw_continue"==T?(this.ZU(),X&&this.kva(!0)):"tdvvriw_cancel"==T&&(this.MU(),X&&this.kva(!1))};a=m.extend(e,function(){var T=['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">\n<div>',v,'<div style="'+q+'">'+k("use-cardboard-info")+"</div>",'<div><button style="'+u+'" id="tdvvriw_continue">'+
1423k("use-cardboard")+"</button></div>","</div>",'<hr style="'+n+'">',"<div>",'<div style="'+q+'">','<div style="margin-bottom:2vmin;">'+k("samsung-internet-vr-app-info")+"</div>",'<div><button style="'+u+'" id="tdvvriw_cancel">'+k("launch-default-browser")+"</button></div>","</div>",y,"</div>\n</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+q+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+t+'"><label for="tdvvriw_dontdisplay">'+
1424k("dont-display-again")+"</label>","</div>"].join("\n");e.call(this,"ChromeAppInfoWindow",T)});var C=m.extend(e,function(){var T=['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">\n<div>',v,'<div style="'+q+'">'+k("use-cardboard-info")+"</div>",'<div><button style="'+u+'" id="tdvvriw_continue">OK</button></div>',"</div>",'<hr style="'+n+'">',"<div>",'<div style="'+q+'">',
1425'<div style="margin-bottom:2vmin;">'+k("samsung-internet-vr-info")+"</div>","</div>",y,"</div>\n</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+q+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+t+'"><label for="tdvvriw_dontdisplay">'+k("dont-display-again")+"</label>","</div>"].join("\n");e.call(this,"SamsungInternetInfoWindow",T)}),A=m.extend(e,function(){e.call(this,"SamsungInternetForGearVRInfoWindow",
1426['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">\n<div>',y,'<div style="'+q+'">This content requires access to the WebVR API.<br>To enable WebVR open the "More" menu you\'ll find above this window and then click on the "Labs" item.</div>','<div><button style="'+u+'" id="tdvvriw_cancel">OK</button></div>',"</div>\n</div></div>"].join("\n"))}),B=m.extend(e,function(){var T=
1427['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">','<div style="'+q+'"></div>','<div style="text-align:center;"><button style="'+u+' box-shadow:0 0 4px rgba(0, 0, 0, 0.5);" id="tdvvriw_continue">'+k("exit-vr")+"</button></div>","</div></div>"].join("\n");e.call(this,"ExternalVRDisplayVRInfoWindow",T)});B.prototype.Y6=function(){e.prototype.Y6.call(this);!0===h.eg("vrv")&&
1428this.Aj.css({background:"none"})};var E=m.extend(e,function(){var T=b.browser()==b.li?"https:"!=window.location.protocol&&"localhost"!=window.location.hostname?"<div>"+k("giroscope-disabled-http")+"</div>":k("giroscope-disabled-safari-request-permission").map(function(X){return"<div>"+X+"</div>"}).join("\n"):"<div>"+k("giroscope-disabled-http")+"</div>";T=['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">\n<div>',
1429'<div style="'+q+'">',T,"</div>",'<div><button style="'+u+'" id="tdvvriw_continue">OK</button></div>',"</div>\n</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+q+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+t+'"><label for="tdvvriw_dontdisplay">'+k("dont-display-again")+"</label>","</div>"].join("\n");e.call(this,"GiroscopeDisabledInfoWindow",T)}),G=m.extend(e,function(){var T=['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">\n<div>',
1430v,'<div style="'+q+'">'+k("use-cardboard-info")+'</div><div><button style="'+u+'" id="tdvvriw_continue">'+k("use-cardboard")+"</button></div>","</div>",'<hr style="'+n+'">',"<div>",y,'<div style="'+q+'">It looks like this device is compatible with Gear VR. If you have a Gear VR headset you can view this content using the Carmel Web Browser (by Oculus).</div>','<div><button style="'+u+'" id="tdvvriw_cancel">Use Carmel web browser</button></div>',"</div>\n</div></div>"].join("\n");e.call(this,"CarmelInstallationPromptVRInfoWindow",
1431T)}),K=m.extend(e,function(){var T=['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">\n<div>',v,'<div style="'+p+' margin:2vmin 0;">'+k("cardboard-v1")+"</div>",'<div><button style="'+u+'" id="tdvvriw_cancel">'+k("use-default-cardboard")+"</button></div>","</div>",'<hr style="'+r+'">',"<div>",'<div style="'+p+' margin-bottom:2vmin;">'+k("cardboard-v2")+"</div>",'<div><button style="'+
1432u+'" id="tdvvriw_continue">'+k("use-cardboard-v2")+"</button></div>",x,"</div>\n</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+q+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+t+'"><label for="tdvvriw_dontdisplay">'+k("dont-display-again")+"</label>","</div>"].join("\n");e.call(this,"CardboardV2InfoWindow",T)}),I=m.extend(e,function(){var T=['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">',
1433'<div style="'+q+'"></div>','<div style="text-align:center;"><button style="'+u+'" id="tdvvriw_continue">'+k("enter-vr")+"</button></div>","</div></div>"].join("\n");e.call(this,"EnterVRInfoWindow",T)}),Q=m.extend(e,function(){e.call(this,"PreparingVRInfoWindow",['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">','<div style="'+q+'">Preparing VR...</div>',"</div></div>"].join("\n"))}),
1434W=m.extend(e,function(){var T=['<div style="position: absolute; top: 7vmin; right:5vmin; ">',w,'</div>\n<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">',z,'<div style="'+q+'">'+k("use-safari-for-vr")+"</div>",'<div style="text-align:center;"><button style="'+u+'" id="tdvvriw_continue">OK</button></div>',"</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+
1435q+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+t+'"><label for="tdvvriw_dontdisplay">'+k("dont-display-again")+"</label>","</div>"].join("\n");e.call(this,"UseSafariVRInfoWindow",T)});m=m.extend(e,function(){var T=['<div style="position: absolute; top: 5vmin; right:5vmin;">','<img style="width:24vmin" src="'+c.pl+'"/>','</div>\n<div style="box-sizing:border-box; padding:0 10vmin; display:table; height:100%; width:100vw;">\n<div style="vertical-align:middle; text-align:center; display:table-cell;">',
1436'<img style="width:22vmin" src="'+c.BL+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">'+k("rotate-device")+"</div>","</div>\n</div>"].join("\n");e.call(this,"RotateVRInfoWindow",T)});var U={};U.IIa=new C;U.n9a=new A;U.Cja=new B;U.T8a=new G;U.Y8a=new I;U.h9a=new Q;U.Zka=new W;U.BL=new m;U.Gja=new E;U.nHa=new a;U.D3=new K;return U});
1437define("dY","require lE jquery.mod en pe cf pg v e nN oi".split(" "),function(a){function e(){this.Mb=!1;this.aQ=null;this.wa=this.oa=100;this.v9=this.wi=void 0;this.w9=100;this.va=document.createElement("div");this.va.style.opacity=0;this.va.style.display="none";this.va.style.transition="opacity 0.3s";this.va.addEventListener("transitionend",this.cda.bind(this));this.me=document.createElement("div");this.LEa(!0);this.me.style.position="absolute";this.me.style.left=0;this.me.style.top=0;this.me.style.right=
14380;this.me.style.bottom=0;this.va.appendChild(this.me);this.Zb=document.createElement("img");this.Zb.style.cursor="pointer";this.Zb.style.position="absolute";this.Zb.style.left="50%";this.Zb.style.top="50%";this.Zb.style.transform="translate(-50%, -50%)";this.va.appendChild(this.Zb);this.j5=k(this.va)}function l(u,t){this.reason=u;this.$o=t}var m=a("lE"),k=a("jquery.mod");a("en");a("pe");var b=a("cf"),h=a("pg"),f=a("v"),c=a("e"),d=a("nN"),g=a("oi"),p=m.extend(c,function(){c.call(this);this.Ge("UserInteractionWindow");
1439this.hc=null;this.Xs=[];var u=new d;u.set("duration",500);u.set("easing","cubic_in");var t=new g;t.set("duration",500);t.set("easing","cubic_out");this.ma({contentOpaque:!0,left:0,top:0,right:0,bottom:0,hideEffect:t,showEffect:u,visible:!1});this.bind(h.pc,this.bea,this,!0);this.bind(h.qa,this.vZa,this,!0)});p.prototype.bea=function(){this.hc&&this.hc.setSize(this.uf(),this.tf())};p.prototype.vZa=function(){var u=this.Xs.slice();this.Xs=[];this.q_();u.forEach(function(t){t.$o.call(t.context)})};p.prototype.Db=
1440function(){c.prototype.Db.call(this);this.hc||(this.hc=new e,this.hc.setSize(this.uf(),this.tf()),this.hc.yf(!0),this.Ob().append(this.hc.$c().css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden"})),this.q_())};p.prototype.Pp=function(){c.prototype.Pp.call(this);this.getParent().bind(h.pc,this.bea,this,!0);p.MJa(this)};p.prototype.An=function(){this.getParent().unbind(h.pc,this.bea,this,!0);c.prototype.An.call(this);p.lUa(this)};p.prototype.U4a=function(u){this.Ws(n,u)};p.prototype.CS=
1441function(u){this.Ws(q,u)};p.prototype.Ws=function(u,t){this.Xs.push(new l(u,t));this.Xs.sort(function(v,w){return r[v.reason]-r[w.reason]});this.q_()};p.prototype.z_a=function(u){this.cancel(n,u)};p.prototype.w_a=function(){this.cancel(q,void 0)};p.prototype.cancel=function(u,t){u=this.TPa(u,t);0<=u&&this.wUa(u)};p.prototype.IG=function(){this.nU(!0)};p.prototype.vy=function(){this.nU(!1)};p.prototype.TPa=function(u,t){for(var v=0;v<this.Xs.length;v++){var w=this.Xs[v];if(w.reason==u&&w.$o==t)return v}return-1};
1442p.prototype.q_=function(){if(this.hc){var u=this.dQa();if(u){switch(u.reason){case q:this.hc.cia(e.Ija);break;case n:this.hc.cia(e.A4)}this.set("visible",!0)}else this.set("visible",!1)}};p.prototype.wUa=function(u){this.Xs.splice(u,1);u==this.Xs.length&&this.q_()};p.prototype.dQa=function(){return 0<this.Xs.length?this.Xs[0]:null};var q="vr",n="play",r={};r[q]=0;r[n]=1;e.prototype.$c=function(){return this.j5};e.prototype.setSize=function(u,t){if(this.oa!==u||this.wa!==t)this.oa=u,this.wa=t,this.r_()};
1443e.prototype.LEa=function(u){this.me.style.backdropFilter=u?"blur(8px)":"none"};e.prototype.yf=function(u){this.Mb!=u&&(this.Mb=u,this.aQ&&(clearTimeout(this.aQ),this.aQ=null),this.Mb?(this.va.style.display="block",this.va.style.opacity=0,this.aQ=setTimeout(function(){this.aQ=null;this.va.style.opacity=1}.bind(this),30)):this.va.style.opacity=0)};e.prototype.cia=function(u){this.wi!=u&&(this.wi=u,this.HYa())};e.prototype.cda=function(){this.Mb||(this.va.style.display="none")};e.prototype.HYa=function(){switch(this.wi){case e.A4:this.v9=
1444b.ey;this.w9=b.O4;break;case e.Ija:this.v9=b.aJa,this.w9=b.cJa}this.Zb.src=this.v9;this.r_()};e.prototype.r_=function(){f.nb()?(this.Zb.style.maxWidth=Math.round(.5*this.oa)+"px",this.Zb.style.width="20vmin"):(this.Zb.style.maxWidth=Math.round(.33*this.oa)+"px",this.Zb.style.width=this.w9+"px")};e.A4="play";e.Ija="vr";p.ska=e;p.ed=[];p.Naa=[];p.MJa=function(u){p.ed.push(u);
1444p.Naa.forEach(function(t){p.bqa(u,t)});p.Naa=[]};p.lUa=function(u){p.ed.splice(p.ed.indexOf(u),1)};p.ready=function(){return 0<
1445p.ed.length};p.CS=function(u){p.ed.length?p.ed.forEach(function(t){p.bqa(t,u)}):p.Naa.push(u)};p.bqa=function(u,t){u.CS(function(){p.ed.forEach(function(v){v!=u&&v.w_a()});t()})};return p});
1446define("dd",["require","exports"],function(){return function(){function a(){}a.addParameter=function(e){this.removeParameter(e);var l=this.toArray();l.push(e);this.pGa(l)};a.removeParameter=function(e){var l=this.toArray().filter(function(m){return m!=e});this.pGa(l)};a.toArray=function(){var e=window.location.hash.substring(1);return e.length?e.split("&"):[]};a.pGa=function(e){window.location.hash="#"+(e.length?e.join("&"):"")};return a}()});
1447define("gH","require exports v hW je e nv mm dY dd js mC".split(" "),function(a,e,l,m,k,b,h,f,c,d,g,p){var q=!1;f.wait(function(){setTimeout(function(){q=!0},10)});return function(){function n(){}n.IF=function(r){this.Cza(r)};n.Cza=function(r){function u(){v.Cza(r)}function t(){v.n7a(r)}var v=this;this.XR.pK?m.disabled?k.Gja.show(function(){m.Bha(u)}):h.enabled()||!b.f1()?(h.jr(),c.CS(u)):t():l.sr()?t():l.mc()==l.sp||l.mc()==l.Jx?q?t():b.f1()?setTimeout(t,10):c.CS(function(){setTimeout(t,10)}):b.f1()?
1448t():c.CS(t)};n.n7a=function(r){function u(){t.e5a(r)}var t=this;l.mc()==l.VF?(d.removeParameter("vr"),k.nHa.show(u,function(){d.addParameter("vr")}.bind(this))):l.oR()&&l.mc()==l.nL?k.IIa.show(u):l.mc()==l.wT?k.Zka.show(u):l.mc()==l.xT?k.Zka.show():u()};n.e5a=function(r){function u(){v.XR.Lha=g.VHa;r()}function t(){v.XR.Lha=g.ZF;r()}var v=this;!l.nb()||l.Hf()?t():"1"==p.getQueryParameter("cardboard_version")?t():"2"==p.getQueryParameter("cardboard_version")?u():k.D3.show(u,t)};return n}()});
1449define("t",["require","jquery.mod","nv"],function(a){function e(){g.get(0)==document.body&&h.height(window.innerHeight)}function l(n,r){var u={},t;for(t in r)u[t]=n.css(t);p.push({$el:n,css:u});n.css(r)}function m(n){this.va=n}var k=a("jquery.mod"),b=a("nv");m.prototype.m0=function(){this.enabled()||this.toggle()};m.prototype.jr=function(){this.enabled()&&this.toggle()};m.prototype.toggle=function(){this.enabled()?m.cancel():m.request(this.va)};m.prototype.enabled=function(){return m.enabled(this.va)};
1450var h=k("<div/>").css({position:"fixed",bottom:0,left:0,height:"100vh",width:"100vw"}),f=k("<div/>"),c=null,d=null,g=null,p=[],q=null;m.request=function(n){if(n!==c){m.cancel();c=n;var r=b.fullscreenElement()||document.body;d=k(n);g=k(r);f.insertAfter(d);d.appendTo(h);g.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,
1451padding:0}):l(h,{position:"absolute",left:0,top:0,right:"",bottom:"",width:"100%",height:"100%",margin:0,padding:0});h.appendTo(g);e();q=setInterval(e,300)}};m.cancel=function(){if(c){h.detach();d.insertBefore(f);for(f.detach();p.length;){var n=p.pop();n.$el.css(n.css)}g=d=c=null;p=[];clearInterval(q)}};m.enabled=function(n){return c==n};return m});
1452define("lx","require lE pg cC gv pe cf".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("cC"),k=a("gv"),b=a("pe");a=a("cf");var h=['<div style="position: absolute; top: 5vmin; right:5vmin;">','<img style="width:24vmin" src="'+a.pl+'"/>','</div>\n<div style="box-sizing:border-box; padding:0 10vmin; display:table; height:100%; width:100vw;">\n<div style="vertical-align:middle; text-align:center; display:table-cell;">'].join("\n"),f=h+['<img style="width:22vmin" src="'+a.BL+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">'+
1453b("rotate-device")+"</div>"].join("\n")+"</div>\n</div>",c=h+['<img style="width:13vmin; vertical-align:middle;" src="'+a.QIa+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; text-align:left; display:inline-block; vertical-align:middle; margin:5vmin 0 0 2vmin;">Please, swipe up to<br>enter Fullscreen Mode</div>'].join("\n")+"</div>\n</div>";e=e.extend(k,function(){k.call(this);this.Xl=this.lh=this.ko=this.zN=this.AN=this.n$=this.o$=void 0;
1454this.mW=!1;this.Sz=this.$aa=this.m$=this.Af=null;this.Coa=[];this.J9=this.Oq=!1;this.Fc=this.Fc.bind(this)});e.prototype.request=function(){this.Oq||(this.Oq=!0,this.X6(),window.addEventListener("resize",this.Fc),document.body.appendChild(this.Af),document.body.appendChild(this.Sz),this.fXa=document.documentElement.style.overflow,this.eXa=document.body.style.overflow,document.documentElement.style.overflow="auto",document.body.style.overflow="auto",this.DO())};e.prototype.cancel=function(){this.Oq&&
1455(this.Oq=!1,window.removeEventListener("resize",this.Fc),document.body.style.overflow=this.eXa,document.documentElement.style.overflow=this.fXa,document.body.removeChild(this.Af),document.body.removeChild(this.Sz),this.ova(!1))};e.prototype.enabled=function(){return this.mW};e.prototype.X6=function(){this.Af||(this.Af=this.cV({position:"fixed",top:0,left:0,zIndex:9999998},!0),this.Af.id="tdvminuictr",this.$aa=this.cV({position:"fixed",backgroundColor:"#fff",top:0,left:0,textAlign:"center"},!0,f),
1456this.Af.appendChild(this.$aa),this.m$=this.cV({position:"fixed",backgroundColor:"#fff",top:0,left:0,textAlign:"center"},!0,c),this.Af.appendChild(this.m$),this.Sz=this.cV({position:"absolute",top:0,left:0,right:0,height:"999999999vmax",zIndex:9999999},!1),this.Sz.id="tdvminuiscrl",this.Sz.addEventListener("touchend",this.Fc))};e.prototype.cV=function(d,g,p){var q=document.createElement("div");this.tP(q,d);void 0!==p&&this.KVa(q,p);g&&this.Coa.push(q);return q};e.prototype.Fc=function(){[0,250,1E3,
14572E3].forEach(function(d){setTimeout(this.paa.bind(this),d)}.bind(this))};e.prototype.paa=function(){this.ko==window.innerWidth&&this.lh==window.innerHeight||this.DO()};e.prototype.DO=function(){this.ko=window.innerWidth;this.lh=window.innerHeight;this.Xl=this.ko>this.lh?"landscape":"portrait";if("landscape"==this.Xl){this.o$&&this.n$&&this.sRa(this.o$,this.n$)&&(!this.AN&&!this.zN||this.tRa(this.AN,this.zN))&&(this.AN=this.ko,this.zN=this.lh);this.nRa()&&(this.AN=this.ko,this.zN=this.lh);this.o$=
1458this.ko;this.n$=this.lh;var d=this.AN==this.ko&&this.zN==this.lh}else d=!1;
1458this.Coa.forEach(function(n){n.style.height=this.lh+"px";n.style.width=this.ko+"px"}.bind(this));var g=this.Oq&&"portrait"==this.Xl,p=this.Oq&&"landscape"==this.Xl&&!d,q=this.Oq&&"landscape"==this.Xl;this.tP(this.Af,{display:g||p?"block":"none"});this.tP(this.$aa,{display:g?"block":"none"});this.tP(this.m$,{display:p?"block":"none"});this.tP(this.Sz,{display:q?"block":"none",right:p?0:"99.9%"});this.ova(d)};e.prototype.ova=
1459function(d){null!=this.jZ&&(clearTimeout(this.jZ),this.jZ=null);this.mW!=d&&(this.jZ=setTimeout(function(){this.jZ=null;(this.mW=d)?this.trigger(new m(l.Qr)):this.trigger(new m(l.Bb));this.trigger(new m(l.ca))}.bind(this),d?1E3:0))};e.prototype.nRa=function(){var d=window.innerWidth,g=window.innerHeight,p=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){p=Math.min(p,Math.abs(100-100*d*q[1]/
1460(g*q[0])))});return 1>=p?!0:!1};e.prototype.sRa=function(d,g){return d*window.innerHeight>g*window.innerWidth};e.prototype.tRa=function(d,g){return d*window.innerHeight>=g*window.innerWidth};e.prototype.tP=function(d,g){for(var p in g)d.style[p]=g[p]};e.prototype.KVa=function(d,g){d.innerHTML=g};return new e});
1461define("pl",["require","exports"],function(){return function(){function a(){}a.enable=function(){null===this.wakeLock&&navigator.wakeLock&&navigator.wakeLock.request("screen").then(function(e){this.wakeLock=e}.bind(this))};a.disable=function(){null!==this.wakeLock&&(this.wakeLock.release(),this.wakeLock=null)};a.wakeLock=null;return a}()});
1462define("kL",["require","jquery.mod","pe","cf"],function(a){function e(){this.Aj=null;this.U=!1;this.Fc=this.Fc.bind(this);this.lh=this.ko=this.Xl=void 0}var l=a("jquery.mod"),m=a("pe"),k=a("cf");e.prototype.bv=function(){this.Aj||(this.Aj=l("<div/>"),this.Aj.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.Aj.html(['<div style="position: absolute; top: 5vmin; right:5vmin;">','<img style="width:24vmin" src="'+
1463k.pl+'"/>','</div>\n<div style="box-sizing:border-box; padding:0 10vmin; display:table; height:100%; width:100vw;">\n<div style="vertical-align:middle; text-align:center; display:table-cell;">','<img style="width:22vmin" src="'+k.BL+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">'+m("rotate-device")+"</div>","</div>\n</div>"].join("\n")))};e.prototype.show=function(b){this.U||(this.U=!0,this.bv(),
1464l(b).append(this.Aj),l(window).on("resize",this.Fc),this.DO())};e.prototype.hide=function(){this.U&&(this.U=!1,l(window).off("resize",this.Fc),this.Aj.detach())};e.prototype.Fc=function(){[0,250,1E3,2E3].forEach(function(b){setTimeout(this.paa.bind(this),b)}.bind(this))};e.prototype.paa=function(){this.ko==window.innerWidth&&this.lh==window.innerHeight||this.DO()};e.prototype.DO=function(){this.ko=window.innerWidth;this.lh=window.innerHeight;this.Xl=this.ko>this.lh?"landscape":"portrait";this.Aj.toggle("landscape"!=
1465this.Xl)};return new e});
1466define("hH","require exports pg v je dd nv t lx pl kL bi".split(" "),function(a,e,l,m,k,b,h,f,c,d,g,p){function q(n,r){n?setTimeout(r,200):r()}return function(){function n(){}n.request=function(r,u){this.XR.isPresenting||this.XR.VR||(this.kl=r,this.Cha=u,this.kl&&(this.XR.VR=!0,this.x3a(),this.requestSession().then(function(t){this.U3a(t);this.kl.xr.setReferenceSpaceType("local-floor");this.kl.xr.setFoveation(this.Cha.N0a);return this.kl.xr.setSession(t)}.bind(this)).then(function(){this.XR.referenceSpace=this.kl.xr.getReferenceSpace();
1467this.XR.VR=!1;this.V3a()}.bind(this)).catch(function(t){console.error(t);this.XR.VR=!1;this.T3a()}.bind(this))))};n.end=function(){this.XR.session&&this.XR.session.end()};n.requestSession=function(){var r,u=["local-floor","bounded-floor","hand-tracking"];(null===(r=this.kl)||void 0===r?0:r.capabilities.isWebGL2)&&u.push("layers");return navigator.xr.requestSession("immersive-vr",{optionalFeatures:u})};n.x3a=function(){p.iia(!0);this.L5a(this.kl);this.m7a()};n.U3a=function(r){this.dha||(this.dha=this.S3a.bind(this));
1468this.eha||(this.eha=this.W3a.bind(this));r.addEventListener("end",n.dha);r.addEventListener("select",n.eha)};n.T3a=function(){p.iia(!1);this.cGa()};n.V3a=function(){var r;null===(r=this.kl)||void 0===r?void 0:r.xr.setAnimationLoop(this.v3a.bind(this));p.vFa(this.requestFrame.bind(this),this.A_a.bind(this));p.iia(!1);this.sFa(this.kl,this.Cha);this.kl=null;m.mc()!=m.lL&&g.show(h.fullscreenElement());
1468m.nb()||k.Cja.show(this.XR.vfa.bind(this.XR))};n.S3a=function(){var r;this.XR.session&&(this.XR.session.removeEventListener("end",
1469n.dha),this.XR.session.removeEventListener("select",n.eha),null===(r=this.kl)||void 0===r?void 0:r.xr.setAnimationLoop(null),p.Y4a(),this.cGa(),this.sFa(null,null))};n.W3a=function(){this.XR.P.trigger(l.Jp)};n.sFa=function(r,u){this.XR.Zg!==r&&(this.XR.Zg=r,this.XR.ol=u,this.XR.session=r?r.xr.getSession():null,this.XR.isPresenting=!!r,this.XR.GK=r?this.XR.zha.get(r)||null:null,this.XR.gx=r?this.XR.yha.get(r)||null:null,this.IGa(),q(!this.XR.isPresenting,function(){this.XR.P.trigger(l.ca)}.bind(this)))};
1470n.L5a=function(r){var u=void 0;m.Q2a()?u=1:m.bF()?u=1.2545454545454546:m.Hf()?u=1.4222222222:m.nb()&&this.XR.pK&&(u=this.XR.h2);u&&r.xr.setFramebufferScaleFactor(u)};n.m7a=function(){var r;f.request(null===(r=this.kl)||void 0===r?void 0:r.domElement);this.XR.pK&&(this.kl.domElement.width=this.kl.domElement.height=100,m.mc()==m.mL?b.addParameter("vr"):d.enable(),m.mc()==m.lL&&c.request())};n.cGa=function(){f.cancel();g.hide();m.nb()||k.Cja.hide();this.XR.pK&&(b.removeParameter("vr"),c.cancel(),d.disable())};
1471n.v3a=function(r){var u;null!==(u=this.XR.Zg)&&void 0!==u&&u.xr.getFrame()&&(this.IGa(),u=this.C0,this.C0=null,this.XR.P.trigger(l.kja),u&&u(r),this.XR.P.trigger(l.Km))};n.IGa=function(){if(this.XR.session&&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&&0<r.length&&r[0].textureWidth&&
1472(this.XR.framebufferWidth=r[0].textureWidth,this.XR.framebufferHeight=r[0].textureHeight)}};n.requestFrame=function(r){this.C0=r;return 0};n.A_a=function(){this.C0=null};n.kl=null;n.Cha=null;n.C0=null;return n}()});
1473define("oB","require exports lE gv bc pG bO iZ iD js E nt dx hD jn ku cH gH hH three.mod".split(" "),function(a,e,l,m,k,b,h,f,c,d,g,p,q,n,r,u,t,v,w,x){a=function(){function y(){}y.initialize=function(z){k.initialize(function(){this.Am.forEach(function(C){C.xr.enabled=this.QF}.bind(this));p.initialize();q.initialize();n.initialize();r.initialize();u.initialize();b.initialize();this.rBa=!0;z()}.bind(this))};y.getType=function(){return this.pK?this.Eu.pl:this.Eu.hJa};y.n0=function(z,C){this.rBa?!this.QF||
1474this.isPresenting||this.VR||this.IF(function(){w.request(z,C)}.bind(w)):this.initialize(function(){y.n0(z,C)}.bind(y))};y.vfa=function(){w.end()};y.FFa=function(z){u.F6a(z)};y.setScale=function(z){b.setScale(z)};y.setPosition=function(z){b.setPosition(z)};y.MK=function(z){b.MK(z)};y.tFa=function(z,C,A,B){f.U5a(z,C,A);switch(B){case c.vka:n.BFa(!0);n.mFa(!0);break;default:n.BFa(!1),n.mFa(!1)}};y.b_a=function(z){z.xr.enabled=this.QF;f.add(z)};y.P4a=function(z){f.remove(z)};y.lia=function(z,C,A,B){void 0===
1475B&&(B=void 0);z.Nn=C;z.xK=A;z.St=B;C&&(z.wDa=Date.now())};y.qFa=function(z,C){C!=z.disabled&&(z.disabled=C)};y.IEa=function(z){n.h5a(z)};y.B6a=function(z,C){z.fr=C};y.kia=function(z,C){z.hidden=C};y.log=function(){l.log("VR: "+(this.QF?"available":"not available"))};y.IF=function(z){v.IF(z)};y.Aka=h;y.Eu=g;y.R4=c;y.bJa=t;y.QF=!0;y.pK=!1;y.Zg=null;y.GK=null;y.gx=null;y.isPresenting=!1;y.VR=!1;y.session=null;y.framebufferWidth=void 0;y.framebufferHeight=void 0;y.tg=new x.Quaternion;y.Rya=1.7;y.Yc=new x.Vector3;
1476y.ap=1;y.n3=new x.Quaternion;y.H8a=new x.Vector3;y.h2=Math.min(1,1280/(Math.max(screen.width,screen.height)*window.devicePixelRatio));y.Am=[];y.ol=null;y.zha=new Map;y.yha=new Map;y.P=new m;y.referenceSpace=null;y.rBa=!1;y.hg=[];y.UJ=new x.Ray;return y}();k.XR=a;b.XR=a;f.XR=a;p.XR=a;q.XR=a;n.XR=a;r.XR=a;u.XR=a;v.XR=a;return w.XR=a});define("mI",["require","exports"],function(){return function(){return function(){this.rA=this.RJ=void 0}}()});
1477define("eM",["require","exports","hJ","three.mod"],function(a,e,l,m){a=function(){function b(h,f,c,d){this.state=h;this.renderer=f;this.scene=c;this.camera=d;this.$ea()}b.prototype.dispose=function(){this.Vea()};b.prototype.update=function(h,f){if(void 0!==this.state.rA)if(this.Ah.material.opacity=1-this.state.rA,this.Ah.parent!==f&&f.add(this.Ah),f.isPerspectiveCamera){this.Ah.position.z=1.01*-f.near;var c=this.renderer.getSize(new m.Vector2),d=c.height;h=this.r0.width;var g=this.r0.height;f=d/(2*
1478Math.tan(f.fov*k/2));f=Math.max(d/f,c.width/(f*h/g));this.Ah.scale.y=f;this.Ah.scale.x=f*h/g}else f.isOrthographicCamera&&(this.Ah.position.z=-(f.near+1),this.renderer.getSize(new m.Vector2),this.Ah.scale.y=f.top-f.bottom,this.Ah.scale.x=f.right-f.left)};b.prototype.hi=function(){return this.scene};b.prototype.$ea=function(){this.r0=this.B_a();this.Ah=this.e0a(this.r0)};b.prototype.B_a=function(){this.renderer.xt=!0;var h=l.bfa(this.renderer),f=this.renderer.getRenderTarget();this.renderer.setRenderTarget(h);
1479this.renderer.render(this.scene,this.camera);this.renderer.setRenderTarget(f);this.renderer.xt=!1;return h};b.prototype.e0a=function(h){h=new m.SpriteMaterial({map:h.texture});h.sizeAttenuation=!1;h.transparent=!0;h.visible=!0;h.opacity=1;h.needsUpdate=!0;h=new m.Sprite(h);h.renderOrder=1E3;return h};b.prototype.Vea=function(){var h,f,c,d=this.Ah.material;null===(h=d.map)||void 0===h?void 0:h.dispose();null===(f=d.envMap)||void 0===f?void 0:f.dispose();d.dispose();this.Ah.geometry.dispose();this.r0.dispose();
1480null===(c=this.Ah.parent)||void 0===c?void 0:c.remove(this.Ah)};return b}();var k=Math.PI/180;return a});
1481define("lV",["require","exports","hJ","oB","three.mod"],function(a,e,l,m,k){a=function(){function f(c,d,g,p){this.state=c;this.renderer=d;this.scene=g;this.camera=p;this.$ea();this.h0a()}f.prototype.dispose=function(){this.Vea();this.M_a()};f.prototype.update=function(){var c=void 0===this.state.rA?0:1-this.state.rA,d=void 0===this.state.RJ?1:1-this.state.RJ;c*=d;this.SJ.material.opacity=1*d;
1481this.Ah.children.forEach(function(g){g.material.opacity=c})};f.prototype.hi=function(){return this.scene};
1482f.prototype.$ea=function(){this.Ah||(this.Kza=this.C_a(),this.Ah=this.W_a(this.Kza),m.Jn.add(this.Ah))};f.prototype.C_a=function(){var c=new k.Vector2(1024,1024),d=this.camera,g=this.renderer,p=this.scene,q=g.getRenderTarget(),n=g.getActiveCubeFace(),r=g.getActiveMipmapLevel(),u=g.xr.enabled,t=new k.PerspectiveCamera(90,1,d.near,d.far);t.matrixAutoUpdate=!1;t.layers=d.layers;this.renderer.xt=!0;g.xr.enabled=!1;m.Jn.add(t);d=b.map(function(v){var w=l.bfa(g,c);t.matrix.identity();t.matrix.multiply(h.makeRotationFromEuler(v));
1483t.updateMatrixWorld();g.setRenderTarget(w,0,0);g.render(p,t);return w});g.setRenderTarget(q,n,r);g.xr.enabled=u;this.renderer.xt=!1;m.Jn.remove(t);return d};f.prototype.W_a=function(c){var d=new k.Group;b.forEach(function(g,p){var q=new k.PlaneGeometry(2,2);p=new k.MeshBasicMaterial({side:k.DoubleSide,depthTest:!1,transparent:!0,map:c[p].texture});q=new k.Mesh(q,p);q.matrixAutoUpdate=!1;q.renderOrder=1001;q.userData.I1=!0;q.matrix.identity();q.matrix.multiply(h.makeRotationFromEuler(g));q.matrix.multiply(h.makeTranslation(0,
14840,-1));d.add(q)});return d};f.prototype.Vea=function(){var c;this.Ah.children.forEach(function(d){var g,p;d.material.dispose();null===(g=d.geometry)||void 0===g?void 0:g.dispose();null===(p=d.parent)||void 0===p?void 0:p.remove(d)});this.Kza.forEach(function(d){d.texture.dispose();d.dispose()});null===(c=this.Ah.parent)||void 0===c?void 0:c.remove(this.Ah)};f.prototype.h0a=function(){var c=new k.SphereGeometry(1,32,16,0,2*Math.PI,0,Math.PI),d=new k.MeshBasicMaterial({color:0,side:k.DoubleSide,depthTest:!1,
1485transparent:!0});c=new k.Mesh(c,d);c.renderOrder=1E3;c.userData.I1=!0;this.SJ=c;m.Jn.add(this.SJ)};f.prototype.M_a=function(){var c;this.SJ.material.dispose();this.SJ.geometry.dispose();null===(c=this.SJ.parent)||void 0===c?void 0:c.remove(this.SJ)};return f}();var b=[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});
1486define("jb","require exports pg mI eM lV oB v".split(" "),function(a,e,l,m,k,b,h,f){return function(){function c(d){this.Q2=this.P2=this.S2=this.T2=this.R2=this.U2=void 0;this.Fr=null;this.jR=void 0;this.renderer=d;this.$t=new m;this.pDa=this.renderer.render.bind(d);this.renderer.render=this.render.bind(this);this.rDa=this.renderer.setSize.bind(d);this.renderer.setSize=this.setSize.bind(this);this.c4a=this.renderer.clear.bind(d);this.renderer.clear=this.clear.bind(this);this.qDa=this.renderer.setRenderTarget.bind(d);
1487this.renderer.setRenderTarget=this.setRenderTarget.bind(this);h.P.bind(l.ca,this.Le,this,!0);window.startFadeOut=this.JF.bind(this);window.setFadeOutPosition=this.AF.bind(this);window.endFadeOut=this.LE.bind(this)}c.prototype.dispose=function(){var d;h.P.unbind(l.ca,this.Le,this);null===(d=this.Fr)||void 0===d?void 0:d.dispose()};c.prototype.setSize=function(d,g,p){void 0===p&&(p=!0);!this.renderer.xt&&this.sm()?(this.U2=d,this.R2=g,this.T2=p):this.rDa(d,g,p)};c.prototype.setRenderTarget=function(d,
1488g,p){void 0===g&&(g=0);void 0===p&&(p=0);this.renderer.xt||!this.sm()||d.isXRRenderTarget?this.qDa(d,g,p):(this.S2=d,this.P2=g,this.Q2=p)};c.prototype.render=function(d,g){if(!this.renderer.xt){if(this.Fr&&this.Fr.hi()===d&&d!==this.q1)return;h.tFa(this.renderer,d,g,this.eHa);this.q1=d;this.MBa=g;this.Fr&&(this.sm()||null===this.renderer.getRenderTarget())&&this.Fr.update(d,g)}if(!this.H0a(d,g))try{this.pDa(d,g)}catch(p){console.error("render error:",p)}};c.prototype.clear=function(d,g,p){this.c4a(d,
1489g,p)};c.prototype.Le=function(){this.sm()||(void 0!==this.U2&&void 0!==this.R2&&void 0!==this.T2&&(this.rDa(this.U2,this.R2,this.T2),this.T2=this.R2=this.U2=void 0),void 0!==this.S2&&void 0!==this.P2&&void 0!==this.Q2&&(this.qDa(this.S2,this.P2,this.Q2),this.Q2=this.P2=this.S2=void 0))};c.prototype.sm=function(){return h.isPresenting&&h.Zg===this.renderer};c.prototype.JF=function(){this.$t.rA=0;this.nT()};c.prototype.AF=function(d){this.$t.rA=d};c.prototype.LE=function(){this.$t.rA=void 0;this.nT()};
1490c.prototype.bL=function(){this.$t.RJ=0;this.nT()};c.prototype.OK=function(d){this.$t.RJ=d;this.nT()};c.prototype.OJ=function(){this.$t.RJ=void 0;this.nT()};c.prototype.H0a=function(d,g){if(!h.isPresenting||0===this.jR)return!1;if(void 0===this.jR){if(f.mc()!=f.Sr&&f.mc()!=f.Ix)return this.jR=0,!1;this.jR=20}this.jR--;var p=g.near,q=g.far;g.near=Math.min(p,.1);g.far=Math.max(q,1E3);this.pDa(d,g);g.near=p;g.far=q;return!0};c.prototype.nT=function(){var d=this.q1&&(h.isPresenting&&void 0!==this.$t.RJ||
1491void 0!==this.$t.rA);d!==!!this.Fr&&(d?this.sm()?this.Fr=new b(this.$t,this.renderer,this.q1,this.MBa):this.Fr=new k(this.$t,this.renderer,this.q1,this.MBa):this.Fr&&(this.Fr.dispose(),this.Fr=null))};return c}()});
1492define("fM","require exports hJ mP oB jb three.mod".split(" "),function(a,e,l,m,k,b,h){return function(){function f(c){this.jx=this.renderer=null;this.BS=void 0;this.ek=0;this.xc=c;this.container=document.createElement("div")}f.prototype.dispose=function(){this.Ba()};f.prototype.M_=function(){this.ek++};f.prototype.p2=function(){this.ek--;0===this.ek&&this.Ba()};f.prototype.$c=function(){return this.container};f.prototype.xA=function(){this.DFa();return this.renderer};f.prototype.X0a=function(){this.$6a();
1493return this.qA};f.prototype.Y0a=function(){this.a7a();return this.ir};f.prototype.z7a=function(){this.mia(f.Dka)};f.prototype.y7a=function(){this.mia(f.Cka)};f.prototype.D7a=function(){this.mia(f.Eka)};f.prototype.JF=function(){this.jx.JF()};f.prototype.AF=function(c){this.jx.AF(c)};f.prototype.LE=function(){this.jx.LE()};f.prototype.bL=function(){this.DFa();this.jx.bL()};f.prototype.OK=function(c){this.jx.OK(c)};f.prototype.OJ=function(){this.jx.OJ()};f.prototype.$6a=function(){this.qA||(this.qA=
1494new h.CSS3DRenderer,this.qA.domElement.style.position="absolute",this.qA.domElement.style.zIndex="0",this.container.prepend(this.qA.domElement))};f.prototype.DFa=function(){if(!this.renderer){var c={precision:m.QHa?"lowp":"mediump",alpha:!0};c.canvas=document.createElement("canvas");c.context=l.l0a(c.canvas);this.renderer=new h.WebGLRenderer(c);this.jx=new b(this.renderer);this.renderer.setAnimationLoop(null);this.renderer.setPixelRatio(l.getPixelRatio());
1494this.renderer.debug.checkShaderErrors=m.BT;
1495this.renderer.domElement.style.position="absolute";this.renderer.domElement.style.zIndex="1";this.renderer.domElement.style.pointerEvents="none";this.renderer.outputEncoding=h.sRGBEncoding;this.renderer.shadowMap.type=h.PCFShadowMap;this.ir?this.container.insertBefore(this.renderer.domElement,this.ir.domElement):this.container.appendChild(this.renderer.domElement);this.OGa();k.b_a(this.renderer)}};f.prototype.mia=function(c){this.BS!==c&&(this.BS=c,this.OGa())};f.prototype.OGa=function(){this.renderer&&
1496(this.BS===f.Dka?(this.renderer.setClearColor(0,1),this.renderer.autoClear=!0,this.renderer.shadowMap.enabled=!1,this.jx.eHa=k.R4.vka):this.BS===f.Cka?(this.renderer.setClearColor(0,0),this.renderer.autoClear=!1,this.renderer.shadowMap.enabled=!0,this.jx.eHa=k.R4.Uja):this.BS===f.Eka&&(this.renderer.setClearColor(0,0),this.renderer.autoClear=!1,this.renderer.shadowMap.enabled=!1))};f.prototype.a7a=function(){this.ir||(this.ir=new h.CSS3DRenderer,this.ir.domElement.style.position="absolute",this.ir.domElement.style.zIndex=
1497"2",this.ir.domElement.style.pointerEvents="none",this.container.appendChild(this.ir.domElement))};f.prototype.Ba=function(){this.ir&&(this.container.removeChild(this.ir.domElement),this.ir=null);this.renderer&&(k.P4a(this.renderer),this.container.removeChild(this.renderer.domElement),this.renderer.dispose(),this.renderer=null);this.qA&&(this.container.removeChild(this.qA.domElement),this.qA=null)};f.Dka=0;f.Cka=1;f.Eka=2;return f}()});
1498define("gc",["require","exports","pg","gv","v"],function(a,e,l,m,k){return function(b){function h(f,c){var d=b.call(this)||this;d.enabled=!1;d.G1=0;d.H1=0;d.parentElement=null;d.Li=null;d.jl=null;d.cL=null;d.ek=0;d.xc=f;d.parentElement=c;return d}Z(h,b);h.prototype.dispose=function(){this.rb(!1);this.parentElement=this.xc=null};h.prototype.M_=function(){this.ek++;1<=this.ek&&this.rb(!0)};h.prototype.p2=function(){this.ek--;0>=this.ek&&this.rb(!1)};h.prototype.rb=function(f){this.enabled!=f&&((this.enabled=
1499f)?(this.xc.xFa("Button"),this.e_a()):(this.xc.Z4a(),this.Wea(),this.stop(),this.T4a()))};h.prototype.getX=function(){return this.G1};h.prototype.getY=function(){return this.H1};h.prototype.vr=function(f){this.Xg(f);this.enabled&&(this.Pga=this.Nga=f.x,this.Qga=this.Oga=f.y,this.O6a())};h.prototype.lS=function(f){this.Pga=f.x;this.Qga=f.y;this.cL?this.a8a():this.Li&&this.NGa()};h.prototype.Xg=function(){this.Wea();this.stop()};h.prototype.JCa=function(){this.Xg()};h.prototype.kF=function(){this.o3=
1500Math.min(this.xc.Ya(),this.xc.Ab())/100};h.prototype.start=function(){this.Y_a();this.trigger(l.Yn);this.NGa()};h.prototype.stop=function(){this.Li&&(this.s0a(),this.trigger(l.Mf))};h.prototype.a8a=function(){var f=this.Pga-this.Nga,c=this.Qga-this.Oga;Math.sqrt(f*f+c*c)>this.o3*h.wHa&&this.Wea()};h.prototype.O6a=function(){this.cL=window.setTimeout(this.C7a.bind(this),h.xHa)};h.prototype.Wea=function(){this.cL&&(clearTimeout(this.cL),this.cL=null)};h.prototype.Y_a=function(){this.Li=document.createElement("div");
1501this.Li.setAttribute("tdvclass","Button");this.Li.style.position="absolute";this.Li.style.width=this.Li.style.height=Math.round(2*h.nja*this.o3)+"px";this.Li.style.borderRadius="50%";this.Li.style.backgroundColor="rgba(255, 255, 255, 0.5)";this.Li.style.transform="translate(-50%, -50%)";this.Li.style.zIndex="1000";this.Li.style.left=this.Nga+"px";this.Li.style.top=this.Oga+"px";this.parentElement.appendChild(this.Li);this.jl=document.createElement("div");this.jl.setAttribute("tdvclass","Button");
1502this.jl.style.position="absolute";this.jl.style.width=this.jl.style.height=Math.round(2*h.EIa*this.o3)+"px";this.jl.style.borderRadius="50%";this.jl.style.backgroundColor="rgba(255, 255, 255, 0.5)";this.jl.style.transform="translate(-50%, -50%)";this.jl.style.zIndex="1000";this.Li.appendChild(this.jl)};h.prototype.NGa=function(){var f=this.Pga-this.Nga,c=this.Qga-this.Oga;if(0==f&&0==c)this.H1=this.G1=0;else{var d=Math.atan2(-c,f);f=Math.min(Math.sqrt(f*f+c*c)/(this.o3*h.nja),h.gIa);this.G1=Math.cos(d)*
1503f;this.H1=Math.sin(d)*f}this.jl.style.left=(50+50*this.G1).toFixed(2)+"%";this.jl.style.top=(50-50*this.H1).toFixed(2)+"%";this.trigger(l.ca)};h.prototype.s0a=function(){var f,c;null===(f=this.jl.parentNode)||void 0===f?void 0:f.removeChild(this.jl);this.jl=null;null===(c=this.Li.parentNode)||void 0===c?void 0:c.removeChild(this.Li);this.Li=null};h.prototype.C7a=function(){this.cL=null;this.start()};h.prototype.e_a=function(){this.xc.bind(l.jb,this.vr,this,!0);this.xc.bind(l.bc,this.lS,this,!0);this.xc.bind(l.Eb,
1504this.Xg,this,!0);this.xc.bind(l.pc,this.kF,this,!0);this.xc.bind(l.Ux,this.JCa,this,!0);this.kF()};h.prototype.T4a=function(){this.xc.unbind(l.jb,this.vr,this);this.xc.unbind(l.bc,this.lS,this);this.xc.unbind(l.Eb,this.Xg,this);this.xc.unbind(l.pc,this.kF,this);this.xc.unbind(l.Ux,this.JCa,this)};h.wHa=k.nb()?5:.5;h.xHa=k.nb()?300:600;h.nja=k.nb()?10:6.6;h.EIa=k.nb()?5:3.3;h.gIa=6;return h}(m)});
1505define("dI","require jquery.mod en pg nl bi hG".split(" "),function(a){function e(p){this.Fia=p;this.element=document.createElement("div");this.Oia=document.createElement("span");this.element.appendChild(this.Oia);
1505this.Oia.innerHTML=p.text.split("<br>").join("\n").split("\n").map(m).join("<br>");this.a0=!1}function l(p){this.L=p;this.qQ=b.throttle(this.qQ.bind(this),100);this.rQ=b.throttle(this.rQ.bind(this),100);this.va=document.createElement("div");this.va.style.position="absolute";this.va.style.left=
15060;this.va.style.top=0;this.va.style.right=0;this.va.style.bottom=0;this.va.style.zIndex=1;this.va.style.cursor="inherit";this.va.style.display="none";this.j5=k(this.va);this.Yl=document.createElement("div");this.Yl.style.position="absolute";this.Yl.style.left=0;this.Yl.style.right=0;this.Yl.style.zIndex=1;this.Yl.style.cursor="inherit";this.va.appendChild(this.Yl);this.JP=[];this.VP=[];this.Yh=[];this.Iaa={};this.oJ=f.sc;this.L.bind(h.F("subtitlesEnabled"),this.Bw,this);l.tka.forEach(function(q){this.L.bind(h.F(q),
1507this.qQ,this)}.bind(this));l.uka.forEach(function(q){this.L.bind(h.F(q),this.rQ,this)}.bind(this));this.Bw();this.qQ();this.rQ()}function m(p){g.innerHTML=p;return g.innerText}var k=a("jquery.mod"),b=a("en"),h=a("pg"),f=a("nl"),c=a("bi"),d=a("hG");l.prototype.clear=function(){this.u$a(null);this.L&&(this.L.unbind(h.F("subtitlesEnabled"),this.Bw,this),l.tka.forEach(function(p){this.L.unbind(h.F(p),this.qQ,this)}.bind(this)),l.uka.forEach(function(p){this.L.unbind(h.F(p),this.rQ,this)}.bind(this)),
1508this.L=null)};l.prototype.$c=function(){return this.j5};l.prototype.ee=function(){return this.va};l.prototype.Cea=function(p){0>this.JP.indexOf(p)&&(this.JP.push(p),p.bind(h.F("activeSubtitles"),this.pX,this,!0),this.pX())};l.prototype.xha=function(p){var q=this.JP.indexOf(p);0<=q&&(this.JP.splice(q,1),p.unbind(h.F("activeSubtitles"),this.pX,this,!0),this.pX())};l.prototype.pX=function(){var p=[];this.JP.forEach(function(q){p=p.concat(q.get("activeSubtitles")||[])});this.lWa(p)};l.prototype.Bw=function(){this.U=
1509this.L.get("subtitlesEnabled");this.Pda()};l.prototype.qQ=function(){this.oJ=this.TM("subtitlesVerticalAlign",[f.zc,f.le,f.sc],f.sc);this.Yl.style["text-align"]=this.TM("subtitlesHorizontalAlign",[f.Wa,f.ob,f.Qe],f.Qe);this.Yl.style.bottom=this.oJ==f.sc?this.wk("subtitlesBottom",0):"";this.Yl.style.top=this.oJ==f.zc?this.wk("subtitlesTop",0):this.oJ==f.le?"50%":"";this.Yl.style.transform=this.oJ==f.le?"translate(0, -50%)":"";this.Pda()};l.prototype.rQ=function(){var p={};p["background-color"]=this.W8("subtitlesBackgroundColor",
1510"subtitlesBackgroundOpacity");p.border=[this.wk("subtitlesBorderSize"),"solid",this.ui("subtitlesBorderColor")].join(" ");p["box-shadow"]=this.ui("subtitlesShadow",!1)?[this.wk("subtitlesShadowHorizontalLength"),this.wk("subtitlesShadowVerticalLength"),this.wk("subtitlesShadowBlurRadius"),this.W8("subtitlesShadowColor","subtitlesShadowOpacity","#000000",0)].join(" "):"";p.display="inline-block";p["font-family"]=d.Qw(this.ui("subtitlesFontFamily"));p["font-size"]=this.wk("subtitlesFontSize");p.color=
1511this.ui("subtitlesFontColor");p["font-weight"]=this.TM("subtitlesFontWeight","bold bolder lighter 100 200 300 400 500 600 700 800 900 normal".split(" "),"normal");p["font-style"]=this.TM("subtitlesFontStyle",["italic","normal"],"normal");p["margin-bottom"]=this.wk("subtitlesGap");p.opacity=this.ui("subtitlesOpacity");p["padding-top"]=this.wk("subtitlesPaddingTop");p["padding-bottom"]=this.wk("subtitlesPaddingBottom");p["padding-left"]=this.wk("subtitlesPaddingLeft");p["padding-right"]=this.wk("subtitlesPaddingRight");
1512p.position="relative";p["text-align"]=this.TM("subtitlesHorizontalAlign",["left","right","center"],"center");p["text-decoration"]=this.ui("subtitlesTextDecoration",["underline","overline","line-through","none"],"none");p["text-shadow"]=[this.wk("subtitlesTextShadowHorizontalLength"),this.wk("subtitlesTextShadowVerticalLength"),this.wk("subtitlesTextShadowBlurRadius"),this.W8("subtitlesTextShadowColor","subtitlesTextShadowOpacity","#000000",0)].join(" ");this.Iaa=p;this.DKa()};l.prototype.lWa=function(p){this.VP=
1513p;this.Pda()};l.prototype.Pda=function(){for(var p=this.U?this.VP:[],q=this.Yh.length-1;0<=q;q--){var n=this.Yh[q];if(0<=p.indexOf(n.Fia))break;this.Yl.removeChild(n.element)}for(var r=[],u=!1;0<=q;q--)n=this.Yh[q],!n.a0&&0>p.indexOf(n.Fia)&&(n.a0=!0,n.element.style.visibility="hidden",u=!0),r.splice(0,0,n);u&&c.requestFrame(this.ena,this);this.Yh=r;var t=this.Yh.filter(function(v){return!v.a0}).map(function(v){return v.Fia});p.filter(function(v){return 0>t.indexOf(v)}
1513).forEach(function(v){v=new e(v);
1514this.gma(v);this.oJ==f.sc&&0<this.Yh.length?this.Yl.insertBefore(v.element,this.Yh[this.Yh.length-1].element):this.Yl.appendChild(v.element);this.Yh.push(v)}.bind(this));this.va.style.display=0<this.Yh.length?"block":"none"};l.prototype.ena=function(p){var q=!1;p=Math.round(200*p/1E3);for(var n=0;n<this.Yh.length;n++){var r=this.Yh[n];if(r.a0)if(q=!0,p>=r.element.clientHeight)p-=r.element.clientHeight,this.Yl.removeChild(r.element),this.Yh.splice(n,1),n--;else{r.element.style.height=r.element.clientHeight-
1515p+"px";break}}q&&c.requestFrame(this.ena,this)};l.prototype.DKa=function(){this.Yh.forEach(this.gma.bind(this))};l.prototype.gma=function(p){for(var q in this.Iaa)p.Oia.style[q]=this.Iaa[q]};l.prototype.ui=function(p,q){return this.L.get(p,q)};l.prototype.wk=function(p,q){p=this.L.get(p,q);isNaN(p)||(p=Math.round(p)+"px");return p};l.prototype.TM=function(p,q,n){p=this.L.get(p);return 0>q.indexOf(p)?n:p};l.prototype.W8=function(p,q,n,r){p=this.L.get(p,n);q=this.L.get(q,r);return"rgba("+parseInt("0x"+
1516p.substr(1,2))+", "+parseInt("0x"+p.substr(3,2))+", "+parseInt("0x"+p.substr(5,2))+", "+q+")"};l.tka=["subtitlesHorizontalAlign","subtitlesVerticalAlign","subtitlesTop","subtitlesBottom"];l.uka="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(" ");
1517var g=document.createElement("div");return l});
1518define("lU","require exports kS pg lg nV".split(" "),function(a,e,l,m,k,b){a=function(){function p(q){this.aL=new Map;this.ll=q}p.prototype.add=function(q){b.Ga("PanoramaPlayer",q)?this.aL.set(q,new h(this.ll,q)):b.Ga("VideoPlayer",q)?this.aL.set(q,new f(this.ll,q)):b.Ga("PhotoAlbumPlayer",q)?this.aL.set(q,new c(this.ll,q)):b.Ga("Audio",q)&&this.aL.set(q,new g(this.ll,q))};p.prototype.remove=function(q){var n=this.aL.get(q);n&&(n.clear(),this.aL.delete(q))};return p}();e=function(){function p(q,n){this.ll=
1519q;this.source=n}p.prototype.clear=function(){};return p}();var h=function(p){function q(n,r){n=p.call(this,n,r)||this;n.CE=new d(n.ll);n.gl=null;n.source.bind(m.F("panorama"),n.aha,n,!0);n.aha();return n}Z(q,p);q.prototype.clear=function(){this.source&&(this.source.unbind(m.F("panorama"),this.aha,this),this.source=null,this.bh(null),this.CE.clear(),this.CE=null)};q.prototype.aha=function(){this.bh(this.source.get("panorama"))};q.prototype.bh=function(n){if(this.gl!=n){this.gl&&(this.gl.unbind(m.F("audios"),
1520this.hF,this),this.ll.xha(this.gl));if(this.gl=n)this.ll.Cea(this.gl),this.gl.bind(m.F("audios"),this.hF,this,!0);this.hF()}};q.prototype.hF=function(){this.CE.Oha(this.gl&&this.gl.get("audios")||[])};return q}(e),f=function(p){function q(n,r){n=p.call(this,n,r)||this;n.video=null;n.source.bind(m.F("video"),n.nF,n,!0);n.source.bind(m.re,n.nF,n,!0);n.nF();return n}Z(q,p);q.prototype.clear=function(){this.source&&(this.source.unbind(m.F("video"),this.nF,this),this.source.unbind(m.re,this.nF,this),this.source=
1521null,this.J2(null))};q.prototype.nF=function(){var n;this.J2((null===(n=this.source)||void 0===n?void 0:n.get("state"))!=k.W?this.source.get("video"):null)};q.prototype.J2=function(n){this.video!=n&&(this.video&&this.ll.xha(this.video),(this.video=n)&&this.ll.Cea(this.video))};return q}(e),c=function(p){function q(n,r){n=p.call(this,n,r)||this;n.jF=n.jF.bind(n);n.CE=new d(n.ll);n.NA=null;l.vt(n.source,"photoAlbum.playList.items",n.jF,!1);l.vt(n.source,"photoAlbum.playList.selectedIndex",n.jF,!1);
1522n.jF();return n}Z(q,p);q.prototype.clear=function(){this.source&&(l.ba(this.source,"photoAlbum.playList.items",this.jF),l.ba(this.source,"photoAlbum.playList.selectedIndex",this.jF),this.source=null,this.oFa(null),this.CE.clear(),this.CE=null)};q.prototype.jF=function(){var n=this.source.get("photoAlbum");n=(n=n?n.get("playList"):null)&&0<=n.get("selectedIndex")?n.get("items")[n.get("selectedIndex")]:null;this.oFa(n?n.get("media"):null)};q.prototype.oFa=function(n){this.NA!=n&&(this.NA&&this.NA.unbind(m.F("audios"),
1523this.hF,this),(this.NA=n)&&this.NA.bind(m.F("audios"),this.hF,this,!0),this.hF())};q.prototype.hF=function(){this.CE.Oha(this.NA&&this.NA.get("audios")||[])};return q}(e),d=function(){function p(q){this.U_=[];this.T_=new Map;this.ll=q}p.prototype.clear=function(){this.Oha([])};p.prototype.Oha=function(q){this.U_!=q&&(this.U_.forEach(function(n){0<=q.indexOf(n)||(this.T_.get(n).clear(),this.T_.delete(n))}.bind(this)),this.U_=q,this.U_.forEach(function(n){this.T_.has(n)||this.T_.set(n,new g(this.ll,
1524n))}.bind(this)))};return p}(),g=function(p){function q(n,r){n=p.call(this,n,r)||this;n.PA=!1;n.source.bind(m.F("state"),n.Wga,n,!0);n.Wga();return n}Z(q,p);q.prototype.clear=function(){this.source&&(this.KEa(!1),this.source.unbind(m.F("state"),this.Wga,this),this.source=null)};q.prototype.Wga=function(){this.KEa(this.source.get("state")!=k.W)};q.prototype.KEa=function(n){this.PA!=n&&(this.PA&&this.ll.xha(this.source),(this.PA=n)&&this.ll.Cea(this.source))};return q}(e);return a});
1525define("bz","require en lE kS pg lg cC nV jX gA A fM gc dI lU v oB ek bd cT gW oA e".split(" "),function(a){var e=a("en"),l=a("lE"),m=a("kS"),k=a("pg"),b=a("lg"),h=a("cC"),f=a("nV"),c=a("jX"),d=a("gA"),g=a("A"),p=a("fM"),q=a("gc"),n=a("dI"),r=a("lU"),u=a("v"),t=a("oB"),v=a("ek"),w=a("bd"),x=a("cT"),y=a("gW"),z=a("oA"),C=a("e"),A=f.define("ViewerArea",z,function(){z.call(this);this.set("childrenInteractionEnabled",!0);this.set("contentOpaque",!0);this.set("creationPolicy",x.GB);this.set("subtitlesEnabled",
1526!0);this.set("checkToolTipOcclusion",!0);this.set("isKeyboardTarget",!1);this.Qz=this.As=this.Zd=this.zV=this.ai=null;this.ic=new p(this);this.jt=this.vN=this.lq=null;this.VP=new n(this);this.RZ=new r(this.VP);this.Waa=this.Rs=!1;this.Fi=b.W;this.Om=this.rk=null;this.ro=!1;this.iP=[];this.bind(A.xka,this.RSa,this,!0);this.bind(A.wka,this.QSa,this,!0);this.bind(k.jb,this.Nsa,this);this.bind(k.jb,this.Nsa,this);this.bind(k.cd,this.kTa,this);this.bind(k.Vb,this.jTa,this);this.bind(k.dd,this.XX,this,
1527!0);this.bind(k.Tc,this.hTa,this,!0);this.JG=new c(this,"buttonPause",v.zj);this.JG.bind(k.qa,this.zD,this);this.JG.set("state",y.xe);this.KG=new c(this,"buttonPlay",v.zj);this.KG.bind(k.qa,this.AD,this);this.KG.set("state",y.xe);this.hC=new c(this,"buttonPlayPause",v.zj);this.hC.bind(k.qa,this.NSa,this);this.hC.set("state",y.xe);this.MG=new c(this,"buttonStop",v.zj);this.MG.bind(k.qa,this.Az,this);this.MG.set("state",y.ub);this.pLa=new c(this,"buttonRestart",v.ze);this.pLa.bind(k.qa,this.zz,this);
1528this.CU=new c(this,"buttonToggleSubtitles",v.zj);this.CU.bind(k.wj,function(){this.set("subtitlesEnabled",!0)},this,!0);this.CU.bind(k.ul,function(){this.set("subtitlesEnabled",!1)},this,!0);this.bind(k.F("subtitlesEnabled"),function(){this.CU.set("pressed",this.get("subtitlesEnabled"))},this);this.CU.set("pressed",this.get("subtitlesEnabled"));(new c(this,"buttonVRView",v.ze)).bind(k.qa,function(){this.set("viewMode","vr")},this,!0);this.ZQa=l.lp(this.tZa,this);this.bind(k.sl,this.gTa,this,!0);this.bind(A.TT,
1529this.iTa,this,!0);t.P.bind(k.ca,function(){this.set("viewMode",t.isPresenting?"vr":"standard");this.trigger(A.w4)},this,!0)});A.prototype.play=function(){this.AD()};A.prototype.pause=function(){this.zD()};A.prototype.stop=function(){this.Az()};A.prototype.restart=function(){this.zz()};A.Ac={progressBackgroundColor:void 0,progressBackgroundColorDirection:void 0,progressBackgroundColorRatios:void 0,progressBackgroundOpacity:void 0,progressBarBackgroundColor:void 0,progressBarBackgroundColorDirection:void 0,
1530progressBarBackgroundColorRatios: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,
1531playbackBarBorderColor: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,
1532playbackBarProgressBackgroundColorRatios: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,
1533playbackBarHeadShadow: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,
1534playbackBarStepWidth: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,
1535playbackBarStepSelectedBorderRadius: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,
1536subtitlesBackgroundColor:"#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,
1537subtitlesShadowVerticalLength: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,
1538toolTipEnabled:!0};e.defaults(A.Ac,z.Ac);A.prototype.get=function(B,E){switch(B){case "viewMode":return t.isPresenting?"vr":"standard"}return z.prototype.get.call(this,B,E)};A.prototype.set=function(B,E){"playbackState"==B&&(E=this.Fi,this.get(B)!=E&&(this.Waa=!0,this.ZQa()));switch(B){case "toolTipEnabled":this.set("toolTipDisabled",!1===E);break;case "cardboardPointerDistance":this.set("vrPointerDistance",E);break;
1538case "cardboardPointerColor":this.set("vrPointerColor",E);break;case "cardboardPointerSelectionColor":this.set("vrPointerSelectionColor",
1539E);break;case "cardboardPointerSelectionTime":this.set("vrPointerSelectionTime",E);break;case "playbackBarVisible":case "playbackBarRollOverDisplay":this.tQ();break;case "viewMode":"vr"!=E||t.isPresenting?"vr"!=E&&t.isPresenting&&t.vfa():t.n0(this.ic.xA(),this.Wfa()),E=t.isPresenting?"vr":"standard"}z.prototype.set.call(this,B,E)};A.prototype.tb=function(){this.lo(A.Ac)};A.prototype.Db=function(){z.prototype.Db.call(this);null==this.Qz&&(this.Qz=new C,this.Qz.set("width","100%"),this.Qz.set("height",
1540"100%"),this.Qz.set("interactionEnabled",!1),this.Qz.set("toolTipDisabled",!0),this.Ua(this.Qz),this.Qz.Ob().ee().appendChild(this.ic.$c()));null==this.lq&&(this.lq=new C,this.lq.set("width","100%"),this.lq.set("height","100%"),this.lq.set("toolTipDisabled",!0),this.lq.set("interactionEnabled",!1),this.Ua(this.lq),l.defer(function(){this.lq.set("cursor",w.ou)}.bind(this)),this.vN=new q(this,this.lq.Ob().ee()),this.vN.rb(!1));null==this.jt&&(this.jt=new C,this.jt.set("width","100%"),this.jt.set("height",
1541"100%"),this.jt.set("toolTipDisabled",!0),this.jt.set("interactionEnabled",!1),this.Ua(this.jt),this.jt.Ob().ee().appendChild(this.VP.ee()));null==this.ai&&(this.ai=new g,this.Ua(this.ai));null==this.Zd&&(this.Zd=new d,this.Zd.bind(k.ca,this.Taa,this,!0),this.Ua(this.Zd),this.tQ())};A.prototype.Wfa=function(){if(this.bya)return this.bya;var B=new t.bJa;m.da(this,"vrGazePointerHideTime vrFoveation vrPointerColor vrPointerDistance vrPointerOverColor vrPointerSelectionColor vrPointerSelectionTime".split(" "),
1542function(){B.S0a=this.get("vrGazePointerHideTime");B.N0a=this.get("vrFoveation");B.kha=this.get("vrPointerColor");B.n4a=this.get("vrPointerDistance");B.IDa=this.get("vrPointerOverColor");B.mha=this.get("vrPointerSelectionColor");B.o4a=this.get("vrPointerSelectionTime")}.bind(this),!0);return this.bya=B};A.prototype.u1a=function(){return this.Zd};A.prototype.hk=function(){z.prototype.hk.call(this);for(var B=[],E=this.iP.length-1;0<=E;E--)B.push(this.iP[E].j);this.jt&&B.push(this.jt);this.lq&&B.push(this.lq);
1543this.Zd&&B.push(this.Zd);this.ai&&B.push(this.ai);var G=this.mb();B=B.filter(function(K){return 0<=G.indexOf(K)});G=G.filter(function(K){return-1==B.indexOf(K)}).concat(B);G.forEach(function(K,I){K&&this.Dfa(K)!=I&&this.Pn(K,I)}.bind(this))};A.prototype.Za=function(){this.K("externalProgressBar")&&((this.zV=this.B("externalProgressBar"))?this.removeChild(this.ai):this.Ua(this.ai),this.S("externalProgressBar"),e(A.Bla).each(function(E){this.bE(E)},this));this.qc(A.pJa,A.qla,[this.ai],!0,!0);var B=
1544[this.ai];this.zV&&B.push(this.zV);this.qc(A.Bla,A.Cla,B,!0,!0);this.K("externalPlaybackBar")&&(this.As&&this.As.unbind(k.ca,this.Taa,this,!0),(this.As=this.B("externalPlaybackBar"))?this.removeChild(this.Zd):this.Ua(this.Zd),this.tQ(),this.As&&this.As.bind(k.ca,this.Taa,this,!0),this.S("externalPlaybackBar"),e(A.xla).each(function(E){this.bE(E)},this));this.qc(A.oJa,A.pla,[this.Zd],!0,!0);B=[this.Zd];this.As&&B.push(this.As);this.qc(A.xla,A.yla,B,!0,!0);z.prototype.Za.call(this)};A.prototype.tZa=
1545function(){this.Waa&&(this.Waa=!1,this.JG.set("state",this.Fi==b.Ib?y.ub:y.xe),this.KG.set("state",this.Fi==b.Y||this.Fi==b.Ib?y.ub:y.xe),this.hC.set("state",this.Fi==b.Y?y.ub:y.xe),this.MG.set("state",this.Fi==b.W?y.ub:y.xe))};A.prototype.xd=function(B){this.Fi=B;this.set("playbackState",B)};A.prototype.XX=function(){A.fj(this)};A.prototype.hTa=function(){A.ej(this)};A.prototype.zD=function(){this.Fi==b.Ib?this.Ik():this.Eq()};A.prototype.AD=function(){this.Ik()};A.prototype.NSa=function(){this.Fi==
1546b.Y?this.Eq():this.Ik()};A.prototype.Az=function(){this.Po()};A.prototype.zz=function(){this.Po();this.Ik()};A.prototype.gTa=function(){if(!this.rk||!this.rk.Zya())switch(this.get("doubleClickAction")){case "toggle_fullscreen":var B=this.wb().bj;B&&B.Xj()&&B.toggle()}};A.prototype.iTa=function(B){this.iP.forEach(function(E){this.RZ.remove(E)}.bind(this));this.iP=B.data.players;this.iP.forEach(function(E){this.RZ.add(E)}.bind(this));this.Rd()};A.prototype.Ik=function(){this.Om&&this.Om.play()};A.prototype.Eq=
1547function(){this.Om&&this.Om.pause()};A.prototype.Po=function(){this.Om&&this.Om.stop()};A.prototype.RSa=function(B){this.eva(B.data.player)};A.prototype.QSa=function(B){this.rk==B.data.player&&this.eva(null)};A.prototype.Nsa=function(){A.pp(this)};A.prototype.kTa=function(){this.ro=!0;this.tQ()};A.prototype.jTa=function(){this.ro=!1;this.tQ()};A.prototype.tQ=function(){this.Zd&&this.Zd.set("visible",this.get("playbackBarVisible")&&(this.ro||!this.get("playbackBarRollOverDisplay")||u.d3()))};A.prototype.eva=
1548function(B){this.rk!=B&&(this.set("playbackBarVisible",!1),this.rk&&this.rk.pp(!1),this.Om&&this.Om.unbind(k.F("state"),this.y5,this),this.QTa=this.rk,(this.rk=B)&&this.rk.pp(!!this.gn),(this.Om=this.rk&&this.rk.xLa?this.rk:null)&&this.Om.bind(k.F("state"),this.y5,this,!0),this.y5())};A.prototype.pp=function(B){this.gn=B;this.set("isKeyboardTarget",B);this.rk&&this.rk.pp(!!this.gn)};A.prototype.L8a=function(){return!this.QTa};A.prototype.y5=function(){this.Om?this.xd(this.Om.get("state")):this.xd(b.W)};
1549A.prototype.Taa=function(){var B=(this.As?this.As:this.Zd).get("position");this.trigger(new h(A.p4,{position:B}))};
1549A.qla={progressBackgroundColor:"backgroundColor",progressBackgroundColorDirection:"backgroundColorDirection",progressBackgroundColorRatios:"backgroundColorRatios",progressBackgroundOpacity:"backgroundOpacity",progressBarBackgroundColor:"barBackgroundColor",progressBarBackgroundColorDirection:"barBackgroundColorDirection",progressBarBackgroundColorRatios:"barBackgroundColorRatios",progressBarBorderColor:"barBorderColor",
1550progressBarBorderRadius:"barBorderRadius",progressBarBorderSize:"barBorderSize",progressBarOpacity:"barOpacity",progressBorderColor:"borderColor",progressBorderRadius:"borderRadius",progressBorderSize:"borderSize",progressHeight:"height",progressOpacity:"opacity",progressBottom:"bottom",progressLeft:"left",progressRight:"right"};A.pJa=e(A.qla).keys();A.Cla={progressPercent:"percent",progressVisible:"visible"};A.Bla=e(A.Cla).keys();A.pla={playbackBarBackgroundColor:"backgroundColor",playbackBarBackgroundColorDirection:"backgroundColorDirection",
1551playbackBarBackgroundOpacity:"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",
1552playbackBarProgressBorderColor:"barBorderColor",playbackBarProgressBorderRadius:"barBorderRadius",playbackBarProgressBorderSize:"barBorderSize",playbackBarProgressOpacity:"barOpacity",playbackBarHeadBackgroundColor:"playheadBackgroundColor",playbackBarHeadBackgroundColorDirection:"playheadBackgroundColorDirection",playbackBarHeadBackgroundColorRatios:"playheadBackgroundColorRatios",playbackBarHeadBorderColor:"playheadBorderColor",playbackBarHeadBorderRadius:"playheadBorderRadius",playbackBarHeadBorderSize:"playheadBorderSize",
1553playbackBarHeadOpacity:"playheadOpacity",playbackBarHeadWidth:"playheadWidth",playbackBarHeadHeight:"playheadHeight",playbackBarHeadShadow:"playheadShadow",playbackBarHeadShadowBlurRadius:"playheadShadowBlurRadius",playbackBarHeadShadowColor:"playheadShadowColor",playbackBarHeadShadowHorizontalLength:"playheadShadowHorizontalLength",playbackBarHeadShadowOpacity:"playheadShadowOpacity",playbackBarHeadShadowSpread:"playheadShadowSpread",playbackBarHeadShadowVerticalLength:"playheadShadowVerticalLength",
1554playbackBarStepBackgroundColor:"stepBackgroundColor",playbackBarStepBackgroundColorDirection:"stepBackgroundColorDirection",playbackBarStepBackgroundColorRatios:"stepBackgroundColorRatios",playbackBarStepBorderColor:"stepBorderColor",playbackBarStepBorderRadius:"stepBorderRadius",playbackBarStepBorderSize:"stepBorderSize",playbackBarStepOpacity:"stepOpacity",playbackBarStepWidth:"stepWidth",playbackBarStepHeight:"stepHeight",playbackBarStepShadow:"stepShadow",playbackBarStepShadowBlurRadius:"stepShadowBlurRadius",
1555playbackBarStepShadowColor:"stepShadowColor",playbackBarStepShadowHorizontalLength:"stepShadowHorizontalLength",playbackBarStepShadowOpacity:"stepShadowOpacity",playbackBarStepShadowSpread:"stepShadowSpread",playbackBarStepShadowVerticalLength:"stepShadowVerticalLength",playbackBarSelectedStepBackgroundColor:"selectedStepBackgroundColor",playbackBarSelectedStepBackgroundColorDirection:"selectedStepBackgroundColorDirection",playbackBarSelectedStepBackgroundColorRatios:"selectedStepBackgroundColorRatios",
1556playbackBarSelectedStepBorderColor:"selectedStepBorderColor",playbackBarSelectedStepBorderRadius:"selectedStepBorderRadius",playbackBarSelectedStepBorderSize:"selectedStepBorderSize",playbackBarSelectedStepOpacity:"selectedStepOpacity",playbackBarSelectedStepWidth:"selectedStepWidth",playbackBarSelectedStepHeight:"selectedStepHeight",playbackBarSelectedStepShadow:"selectedStepShadow",playbackBarSelectedStepShadowBlurRadius:"selectedStepShadowBlurRadius",playbackBarSelectedStepShadowColor:"selectedStepShadowColor",
1557playbackBarSelectedStepShadowHorizontalLength:"selectedStepShadowHorizontalLength",playbackBarSelectedStepShadowOpacity:"selectedStepShadowOpacity",playbackBarSelectedStepShadowSpread:"selectedStepShadowSpread",playbackBarSelectedStepShadowVerticalLength:"selectedStepShadowVerticalLength"};A.oJa=e(A.pla).keys();A.yla={playbackBarDuration:"duration",playbackBarPosition:"position",playbackBarSteps:"steps",playbackBarSelectedStep:"selectedStep",playbackBarVisible:"visible"};A.xla=e(A.yla).keys();A.TT=
1558"requestByPlayer";A.xka="playerShow";A.wka="playerHide";A.p4="playbackBarPositionChange";A.w4="viewModeChange";A.hD=null;A.pp=function(B){A.hD!=B&&(A.hD&&A.hD.pp(!1),A.hD=B,A.hD&&A.hD.pp(!0))};A.hA=[];A.fj=function(B){var E=A.hA.indexOf(B);-1<E&&A.hA.splice(E,1);A.hA.push(B);this.pp(B)};A.ej=function(B){var E=A.hA.indexOf(B);-1<E&&A.hA.splice(E,1);A.hD==B&&A.pp(A.hA.length?A.hA[A.hA.length-1]:null)};return A});
1559define("dh",["require","lE","mh","cC","bz"],function(a){var e=a("lE"),l=a("mh"),m=a("cC"),k=a("bz"),b=e.extend(l,function(h){l.call(this);this.xLa=h;this.HP=this.oz=null});b.fh="mediaShow";b.Jm="mediaHide";b.prototype.pp=function(){};b.prototype.Zya=function(){return!1};b.prototype.DP=function(h){this.oz!=h&&(this.oz&&this.nda(this.oz),(this.oz=h)&&this.h6(this.oz))};b.prototype.h6=function(h){h.bind(k.TT,this.Yxa,this,!0);h.bind(k.p4,this.TO,this)};b.prototype.nda=function(h){h.unbind(k.TT,this.Yxa,
1560this);h.unbind(k.p4,this.TO,this)};b.prototype.vF=function(h){this.oz.trigger(new m(k.TT,{players:h||[this]}))};b.prototype.Yxa=function(h){0>h.data.players.indexOf(this)&&this.ZI()};b.prototype.TO=function(){};b.prototype.ZI=function(){};b.prototype.ON=function(h){this.trigger(new m(b.fh,{media:h}));this.HP=this.oz;this.HP.trigger(new m(k.xka,{player:this}))};b.prototype.NN=function(h){this.trigger(new m(b.Jm,{media:h}));this.HP&&(this.HP.trigger(new m(k.wka,{player:this})),this.HP=null)};return b});
1561define("ko",["require"],function(){return{oB:"constrained",UHa:"free_drag",a9a:"free_drag_and_rotation",W4:"sync_with_field_of_view"}});
1562define("kT",["require","lE","ko","mv"],function(a){function e(){this.xa=!0;this.Oa=this.La=.5;this.jd=0;this.kb=1;this.Ef=m.Ih;this.qn=l.oB;this.C$=this.F$=1;this.Ee=this.Fe=this.Pm=this.Qm=100;this.Bn=e.SB}a("lE");var l=a("ko"),m=a("mv");e.prototype.cBa=function(){return this.Bn!==e.SB};e.prototype.bBa=function(){return this.Bn&e.uG?!0:!1};e.prototype.dBa=function(){return this.Bn&e.vG?!0:!1};e.prototype.eBa=function(){return this.Bn&e.VB?!0:!1};e.prototype.aBa=function(){return this.Bn&e.RB?!0:
1563!1};e.prototype.getX=function(){this.Hn();return this.La};e.prototype.getY=function(){this.Hn();return this.Oa};e.prototype.qr=function(){this.Hn();return this.kb};e.prototype.XJ=function(){this.Hn();return this.jd};e.prototype.setConfiguration=function(k,b,h,f,c){this.Fe=k;this.Ee=b;this.Ef=h;this.F$=f;this.C$=c;this.Oa=this.La=.5;this.jd=0;this.kb=f;this.xa=!0};e.prototype.setPosition=function(k,b,h,f){this.La=k;this.Oa=b;this.jd=h;this.kb=f;this.xa=!0};e.prototype.Jr=function(k){this.qn=k;this.xa=
1564!0};e.prototype.setSize=function(k,b){this.Qm=k;this.Pm=b;this.xa=!0};e.prototype.Hn=function(){if(this.xa){this.xa=!1;var k=e.SB;this.kb>this.C$?(this.kb=this.C$,k|=e.qJa):this.kb<this.F$&&(this.kb=this.F$,k|=e.rJa);if(this.qn==l.oB){switch(this.Ef){case m.NONE:var b=this.Fe;var h=this.Ee;break;case m.Cp:b=this.Qm;h=this.Ee*this.Qm/this.Fe;break;case m.nk:b=this.Fe*this.Pm/this.Ee;h=this.Pm;break;case m.Tr:this.Fe*this.Pm>this.Ee*this.Qm?(b=this.Fe*this.Pm/this.Ee,h=this.Pm):(b=this.Qm,h=this.Ee*
1565this.Qm/this.Fe);break;default:case m.Ih:this.Fe*this.Pm>this.Ee*this.Qm?(b=this.Qm,h=this.Ee*this.Qm/this.Fe):(b=this.Fe*this.Pm/this.Ee,h=this.Pm)}b*=this.kb;h*=this.kb;var f=Math.min(.5*this.Qm/b,.5);b=Math.max(1-.5*this.Qm/b,.5);var c=Math.min(.5*this.Pm/h,.5);h=Math.max(1-.5*this.Pm/h,.5)}else f=0,b=1,c=0,h=1;this.La<f?(this.La=f,k|=e.uG):this.La>b&&(this.La=b,k|=e.vG);this.Oa<c?(this.Oa=c,k|=e.VB):this.Oa>h&&(this.Oa=h,k|=e.RB);this.qn!=l.oB&&this.qn!=l.UHa||0==this.jd||(this.jd=0,k|=e.wJa);
1566this.Bn=k}};e.SB=0;e.uG=1;e.vG=2;e.VB=4;e.RB=8;e.rJa=16;e.qJa=32;e.wJa=64;return e});
1567define("gz",["require"],function(){function a(){this.HM=.1;this.hV=this.e7=this.h7=this.g7=this.o7=this.d7=this.m7=this.l7=this.KQ=this.yea=this.YB=this.J5=this.IQ=this.vea=this.HQ=this.uea=0}a.prototype.w2=function(e){this.HM=e};a.prototype.kFa=function(e,l,m,k,b,h,f,c){this.uea=e;this.vea=l;this.J5=m;this.yea=k;this.HQ+=b;this.IQ+=h;this.YB+=f;this.KQ+=c};a.prototype.kf=function(){return 0!=this.l7||0!=this.m7||0!=this.d7||0!=this.o7||0!=this.uea||0!=this.vea||0!=this.J5||0!=this.yea||0!=this.HQ||
15680!=this.IQ||0!=this.YB||0!=this.KQ};a.prototype.Cb=function(e){e=1E3/e;this.g7=this.uV(this.l7/e,this.uea/e+this.HQ,this.HM);this.h7=this.uV(this.m7/e,this.vea/e+this.IQ,this.HM);this.e7=this.uV(this.d7/e,this.J5/e+this.YB,this.HM);this.hV=this.uV(this.o7/e,this.yea/e+this.KQ,this.HM);this.l7=this.g7*e;this.m7=this.h7*e;this.d7=this.e7*e;this.o7=this.hV*e;this.KQ=this.YB=this.IQ=this.HQ=0};a.prototype.uV=function(e,l,m){return 0==l?this.mg(e,l,m):l};a.prototype.mg=function(e,l,m){e=(l-e)*(1-m);.01>
1569Math.abs(e)&&(e=0);return l-e};return a});
1570define("gE","require lE pg cC gv mv".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("cC"),k=a("gv");a("mv");var b=e.extend(k,function(){k.call(this);this.GM=7;this.jX=this.W9=!1;this.lX=void 0;this.jd=0;this.kb=1;this.Ee=this.Fe=100;this.HW=1;this.aba=!0;this.bba=!1;this.OZa=!0;this.xea=!1;this.cb=null});b.prototype.JS=function(h){this.GM=h};b.prototype.Mc=function(h,f,c,d){this.jd=h;this.kb=f;this.Fe=c;this.Ee=d};b.prototype.E6a=function(h){this.aba=h;this.nZ(this.aba&&!!this.cb)};b.prototype.Gr=
1571function(h){this.cb!=h&&(this.nZ(!1),this.lca(!1),this.om(),this.cb=h,this.nZ(this.aba&&!!this.cb),this.lca(this.OZa&&!!this.cb))};b.prototype.om=function(){this.nZ(!1);this.lca(!1);this.cb=null};
1571b.prototype.nZ=function(h){this.bba!=h&&((this.bba=h)?this.WKa():this.dYa())};b.prototype.lca=function(h){this.xea!=h&&((this.xea=h)?this.ZKa():this.fYa())};b.prototype.WKa=function(){this.cb.bind(l.jb,this.Xd,this,!0);this.cb.bind(l.bc,this.Mj,this,!0);this.cb.bind(l.Eb,this.Nj,this,!0)};b.prototype.dYa=
1572function(){this.cb.unbind(l.jb,this.Xd,this);this.cb.unbind(l.bc,this.Mj,this);this.cb.unbind(l.Eb,this.Nj,this)};b.prototype.ZKa=function(){this.cb.bind(l.Yr,this.nD,this,!0);this.cb.bind(l.aG,this.NC,this,!0)};b.prototype.fYa=function(){this.cb.unbind(l.Yr,this.nD,this);this.cb.unbind(l.aG,this.NC,this)};b.prototype.Xd=function(h){this.MWa(h)};b.prototype.Mj=function(h){this.uxa(h)};b.prototype.Nj=function(){this.X7()};b.prototype.nD=function(h){this.Wda(h)};b.prototype.NC=function(h){this.Xda(h)};
1573b.prototype.MWa=function(h){this.W9=!0;this.jX=!1;this.lX=h;this.uxa(h)};b.prototype.uxa=function(h){if(this.W9){var f=h.pageX-this.lX.pageX,c=h.pageY-this.lX.pageY;this.jX||(Math.sqrt(f*f+c*c)>this.GM?this.jX=!0:f=c=0);this.jX&&(this.lX=h);h=this.jd*Math.PI/180;this.trigger(new m(b.xp,{xDelta:-((f*Math.cos(h)+c*Math.sin(h))/this.Fe),yDelta:-((c*Math.cos(h)-f*Math.sin(h))/this.Ee)}))}};b.prototype.X7=function(){this.W9=!1};b.prototype.Xda=function(h){if(this.HW!=h.scale){this.X7();var f=this.HW;this.HW=
1574h.scale;this.trigger(new m(b.Bp,{zoomDelta:this.kb*this.HW/f-this.kb}))}};b.prototype.Wda=function(h){0!=h.delta&&(this.X7(),this.trigger(new m(b.Bp,{zoomDelta:this.kb*h.i0*.1})))};b.xp="position change";b.Bp="zoom change";b.m9a="vieport navigation";b.l9a="relative navigation";b.k9a="relative exponential navigation";b.j9a="dragging";return b});define("jW",["require"],function(){return{P4:"rotateClockwise",Q4:"rotateCounterClockwise",Hu:"zoomIn",Iu:"zoomOut",Mf:"stop"}});
1575define("nS","require lE cC gv mv gz gE jW pg".split(" "),function(a){var e=a("lE"),l=a("cC"),m=a("gv"),k=a("mv"),b=a("gz"),h=a("gE"),f=a("jW");a("pg");var c=e.extend(m,function(d,g){m.call(this);this.j=d;this.ka=g;this.Fs=this.IY=this.U=!1;this.Oa=this.La=.5;this.jd=0;this.kb=1;this.Ee=this.Fe=100;this.Ef=k.oB;this.fc=new b;this.pb=new h;this.j.so?(this.pb.JS(c.t5),this.fc.w2(c.u5)):(this.pb.JS(0),this.fc.w2(1));this.pb.bind(h.xp,this.DSa,this,!0);this.pb.bind(h.Bp,this.vz,this,!0)});c.prototype.clear=
1576function(){this.pb.unbind(h.xp,this.s$a,this,!0);this.pb.unbind(h.Bp,this.vz,this,!0);this.pb.om();this.j=this.ka=this.fc=this.pb=null};c.prototype.fk=function(d){switch(d){case f.P4:this.Oc(0,0,+c.o5,0,0,0,0,0);break;case f.Q4:this.Oc(0,0,-c.o5,0,0,0,0,0);break;case f.Hu:this.Oc(0,0,0,+c.KL,0,0,0,0);break;case f.Iu:this.Oc(0,0,0,-c.KL,0,0,0,0);break;case f.Mf:this.Oc(0,0,0,0,0,0,0,0)}};c.prototype.setPosition=function(d,g,p,q,n,r){this.La=d;this.Oa=g;this.jd=p;this.kb=q;this.Fe=n;this.Ee=r;this.pb.Mc(this.jd,
1577this.kb,this.Fe,this.Ee)};c.prototype.kf=function(){return this.U&&this.fc.kf()};c.prototype.Cb=function(d){this.fc.Cb(d);this.ka.setPosition(this.La+this.fc.g7,this.Oa+this.fc.h7,this.jd+this.fc.e7,this.kb+this.fc.hV);this.La=this.ka.getX();this.Oa=this.ka.getY();this.jd=this.ka.XJ();this.kb=this.ka.qr()};c.prototype.NS=function(d){this.Fs=d;this.pb.E6a(!this.Fs)};c.prototype.rb=function(d){(this.U=d)?this.pb.Gr(this.j.getParent()):this.pb.om()};c.prototype.DSa=function(d){this.Oc(0,0,0,0,d.data.xDelta,
1578d.data.yDelta,0,0)};c.prototype.vz=function(d){this.Oc(0,0,0,0,0,0,0,d.data.zoomDelta)};c.prototype.Oc=function(d,g,p,q,n,r,u,t){this.fc.kFa(d,g,p,q,n,r,u,t);this.di()};c.prototype.di=function(){this.trigger(new l(c.Hh))};c.Hh="position change request";c.t5=7;c.u5=.2;c.KL=.5;c.o5=30;return c});
1579define("ne","require lE cC gv oI bG gz gE jW pg".split(" "),function(a){var e=a("lE"),l=a("cC"),m=a("gv"),k=a("oI"),b=a("bG"),h=a("gz"),f=a("gE"),c=a("jW");a("pg");var d=e.extend(m,function(g,p){m.call(this);this.j=g;this.ka=p;this.U=!1;this.Oa=this.La=.5;this.jd=0;this.kb=1;this.Ee=this.Fe=100;this.aa=null;this.S7=!0;this.Wc=null;this.gY=0;this.lt=this.Sk=this.ww=void 0;this.fc=new h;this.pb=new f;this.j.so?(this.pb.JS(d.t5),this.fc.w2(d.u5)):(this.pb.JS(0),this.fc.w2(1));this.pb.bind(f.Bp,this.vz,
1580this,!0)});d.prototype.j6a=function(g,p){this.Fe=g;this.Ee=p;this.kJ()};d.prototype.ux=function(g){this.Wc!=g&&(this.Wc=g,this.gY=void 0,this.kJ())};d.prototype.Rn=function(g,p){this.Wc==g&&(this.gY=p,this.kJ())};d.prototype.kJ=function(){if(this.Wc&&void 0!=this.gY){var g=this.Wc.get("x",0)/this.Fe;var p=this.Wc.get("y",0)/this.Ee;var q=-(this.gY+this.Wc.get("angle",0))}else q=p=g=void 0;this.lt!=q&&(this.lt=q,this.di());if(this.ww!=g||this.Sk!=p)this.ww=g,this.Sk=p,this.YQa(),this.di()};d.prototype.YQa=
1581function(){this.S7=!0;this.di()};d.prototype.mE=function(){if(this.S7||this.aa&&this.aa.Ze())if(this.S7=!1,this.aa=null,void 0!=this.ww&&void 0!=this.Sk&&void 0!=this.lt){for(var g=this.lt-this.jd;180<g;)g-=360;for(;-180>g;)g+=360;this.La!=this.ww||this.Oa!=this.Sk?this.aa=new k("quad_in_out",[new b("x",this.La,this.ww,1),new b("y",this.Oa,this.Sk,1),new b("angleDif",g,g,360)],500):this.lt!=this.jd&&(this.aa=new k("quad_in_out",[new b("x",this.La,this.La,1),new b("y",this.Oa,this.Oa,1),new b("angleDif",
1582g,0,360)],500))}};d.prototype.clear=function(){this.pb.unbind(f.Bp,this.vz,this,!0);this.pb.om();this.j=this.ka=this.aa=this.fc=this.pb=null};d.prototype.fk=function(g){switch(g){case c.Hu:this.Oc(+d.KL,0);break;case c.Iu:this.Oc(-d.KL,0);break;case c.Mf:this.Oc(0,0)}};d.prototype.setPosition=function(g,p,q,n,r,u){this.La=g;this.Oa=p;this.jd=q;this.kb=n;this.pb.Mc(this.jd,this.kb,r,u)};d.prototype.kf=function(){return this.U&&(this.aa||this.fc.kf()||void 0!=this.ww&&this.La!=this.ww||void 0!=this.Sk&&
1583this.Oa!=this.Sk||void 0!=this.lt&&this.jd!=this.lt)?!0:!1};d.prototype.Cb=function(g){this.mE();this.aa?(this.aa.Cb(g),this.La=this.aa.fb("x"),this.Oa=this.aa.fb("y"),this.jd=this.lt-this.aa.fb("angleDif")):(void 0!=this.ww&&(this.La=this.ww),void 0!=this.Sk&&(this.Oa=this.Sk),void 0!=this.lt&&(this.jd=this.lt));this.fc.Cb(g);this.ka.setPosition(this.La,this.Oa,this.jd,this.kb+this.fc.hV);this.La=this.ka.getX();this.Oa=this.ka.getY();this.jd=this.ka.XJ();this.kb=this.ka.qr()};d.prototype.rb=function(g){(this.U=
1584g)?(this.pb.Gr(this.j.getParent()),this.kJ()):this.pb.om()};d.prototype.vz=function(g){this.Oc(0,g.data.zoomDelta)};d.prototype.Oc=function(g,p){this.fc.kFa(0,0,0,g,0,0,0,p);this.di()};d.prototype.di=function(){this.trigger(new l(d.Hh))};d.Hh="position change request";d.t5=7;d.u5=.2;d.KL=.5;d.o5=30;return d});
1585define("op","require lE cC gv ko mv kT nS ne pg".split(" "),function(a){var e=a("lE"),l=a("cC"),m=a("gv"),k=a("ko"),b=a("mv"),h=a("kT"),f=a("nS"),c=a("ne"),d=a("pg"),g=e.extend(m,function(p){m.call(this);this.j=p;this.j.bind(d.pc,this.Fc,this);this.qn=k.oB;this.Wc=null;this.Oa=this.La=.5;this.jd=0;this.kb=1;this.Sa=null;
1585this.YY=this.XY=this.ut=this.tt=!1;this.Dn=!0;this.U=!1;this.ka=new h;this.ka.Jr(this.qn);this.Xb=new f(this.j,this.ka);this.Xb.bind(f.Hh,this.yq,this,!0);this.Ki=new c(this.j,this.ka);
1586this.Ki.bind(c.Hh,this.yq,this,!0);this.KY()});g.prototype.clear=function(){this.Xb.unbind(f.Hh,this.yq,this);this.Xb.clear();this.Xb=null;this.Ki.unbind(c.Hh,this.yq,this);this.Ki.clear();this.Sa=this.ka=this.Ki=null;this.j.unbind(d.pc,this.Fc,this);this.j=null};g.prototype.stop=function(){this.ie=this.Sa=null;this.U=!1;this.Xb.rb(!1);this.Ki.rb(!1);this.ow(0,0,0)};g.prototype.start=function(p){var q=p.Sa,n=q.get("width",100),r=q.get("height",100),u=q.get("scaleMode",b.Ih),t=q.get("minimumZoomFactor",
15871),v=q.get("maximumZoomFactor",1),w=q.get("initialZoomFactor",1);this.Sa=q;this.U=!0;this.ie=p.getItem();this.ow(0,0,0);this.Ki.j6a(n,r);this.ka.setConfiguration(n,r,u,t,v);this.ka.setPosition(.5,.5,0,w);this.j.OS(this.ie,this.ka.getX(),this.ka.getY(),this.ka.XJ(),this.ka.qr());this.KY()};g.prototype.fk=function(p){this.Xb.fk(p);this.Ki.fk(p)};g.prototype.Jr=function(p){this.qn!=p&&(this.qn=p,this.ka.Jr(p),this.KY())};g.prototype.ux=function(p){this.Wc!=p&&(this.Wc=p,this.Ki.ux(p),this.KY())};g.prototype.NS=
1588function(p){this.Xb&&this.Xb.NS(p)};g.prototype.Rn=function(p,q,n,r){this.Ki.Rn(p,q,n,r)};g.prototype.ix=function(p){this.U&&(this.Ki.kf()?(this.Ki.Cb(p),this.dm(this.Ki.La,this.Ki.Oa,this.Ki.jd,this.Ki.kb),this.Qa()):this.Xb.kf()?(this.Xb.Cb(p),this.dm(this.Xb.La,this.Xb.Oa,this.Xb.jd,this.Xb.kb),this.Qa()):this.ow(0,0,0))};g.prototype.Gd=function(){if(this.ie){var p=this.j.xR(this.ie),q=this.j.yR(this.ie),n=this.j.M0(this.ie),r=this.j.sAa(this.ie),u=this.j.wR(this.ie),t=this.j.vR(this.ie),v=p-this.La,
1589w=q-this.Oa,x=r-this.kb;this.La=p;this.Oa=q;this.jd=n;this.kb=r;this.ow(v,w,x);this.Ki.setPosition(p,q,n,r,u,t);this.Xb.setPosition(p,q,n,r,u,t)}};g.prototype.KY=function(){this.qn==k.W4&&null!=this.Wc&&this.Wc.get("map")==this.Sa?(this.Xb.rb(!1),this.Ki.rb(!0)):(this.Xb.rb(!0),this.Ki.rb(!1))};g.prototype.yq=function(){this.Qa()};g.prototype.Fc=function(){this.ka.setSize(this.j.Ya(),this.j.Ab());this.Qa()};g.prototype.Qa=function(){this.trigger(new l(g.Hb))};g.prototype.dm=function(p,q,n,r){this.j.OS(this.ie,
1590p,q,n,r)};g.prototype.ow=function(p,q,n){p=!1;this.ut!=0>n&&(this.ut=!this.ut,p=!0);this.tt!=0<n&&(this.tt=!this.tt,p=!0);this.XY!=0<this.YB&&(this.XY=!this.XY,p=!0);this.YY!=0>this.YB&&(this.YY=!this.YY,p=!0);this.Dn!=(0==n)&&(this.Dn=!this.Dn,p=!0);p&&this.trigger(new l(g.lk,{rotatingClockwise:this.XY,rotatingCounterClockwise:this.YY,zoomingIn:this.tt,zoomingOut:this.ut,stopped:this.Dn}))};g.Hb="request frame";g.lk="movement change";return g});
1591define("ka","require lE cC gv mv kT".split(" "),function(a){var e=a("lE"),l=a("cC"),m=a("gv"),k=a("mv"),b=a("kT"),h=e.extend(m,function(f,c){m.call(this);this.L=f;this.j=c;this.ka=new b;this.Gg=[];this.ta=h.Lh;this.bq=this.Dj=this.Al=null;this.Ug=this.L.get("transitionDuration");this.jm=void 0});h.prototype.Jr=function(f){this.ka.Jr(f)};h.prototype.gR=function(f){f.TR()&&this.A6();this.Gg.push(f);this.LX()};h.prototype.hide=function(){this.A6();this.Gg.push(null);this.LX()};h.prototype.clear=function(){this.ta=
1592h.Lh;this.A6();this.fUa();this.Aba();this.j=null};h.prototype.Gd=function(f){this.ta==h.Lh||this.ta!=h.vl&&this.ta!=h.ms||(this.jm+=f,f=Math.min(1,this.jm/this.Ug),this.ta==h.vl?this.j.Ir(this.bq,f):this.j.Ir(this.lV,1-f),this.jm<this.Ug?this.Qa():this.ta==h.vl?this.SNa():this.UNa())};h.prototype.LX=function(){if(this.ta==h.Lh){for(;0<this.Gg.length&&this.kKa(this.Gg[0],this.Dj);)this.Gg.shift();0<this.Gg.length&&this.Rp()}};h.prototype.kKa=function(f,c){return f==c||!!f&&!!c&&f.isEqual(c)};h.prototype.Rp=
1593function(){!this.Dj||this.Gg[0]&&!this.Gg[0].TR()||this.Dj.Sa==(this.Gg[0]&&this.Gg[0].Sa)||this.trigger(new l(h.rB,{map:this.Dj.Sa}));"fade_out_fade_in"!=this.L.get("transitionMode","blending")||!this.Dj||this.Gg[0]&&!this.Gg[0].TR()?(this.bq=(this.Al=this.Gg.shift())&&this.Al.getItem(),this.Al?this.YL():this.Dj&&this.sy()):this.sy()};h.prototype.YL=function(){this.HJa();this.Al.TR()&&this.dVa();this.jm=0;this.ta=h.vl;this.Qa()};h.prototype.SNa=function(){this.Aba();this.Dj=this.Al;this.lV=this.bq;
1594this.bq=this.Al=null;this.Ry()};h.prototype.sy=function(){this.jm=0;this.ta=h.ms;this.Qa()};h.prototype.UNa=function(){this.Aba();this.Dj=null;this.Ry()};h.prototype.Ry=function(){this.ta=h.Lh;this.Dj&&this.Dj.TR()&&this.trigger(new l(h.sB,{map:this.Dj.Sa}));0==this.Gg.length?this.Dj?this.trigger(new l(h.b4,{level:this.Dj})):this.trigger(new l(h.M3)):this.Rp()};h.prototype.dVa=function(){var f=this.Al.Sa;this.Al.Zj();this.ka.setConfiguration(f.get("width",100),f.get("height",100),f.get("scaleMode",
1595k.Ih),f.get("minimumZoomFactor",1),f.get("maximumZoomFactor",1));this.ka.setPosition(.5,.5,0,f.get("initialZoomFactor",1));this.j.OS(this.bq,this.ka.getX(),this.ka.getY(),this.ka.XJ(),this.ka.qr())};h.prototype.Qa=function(){this.trigger(new l(h.Hb))};h.prototype.A6=function(){for(;0<this.Gg.length;){var f=this.Gg.shift();f&&this.j.uj(f.getItem())}};h.prototype.HJa=function(){this.Al&&(this.j.Bea(this.bq),this.j.Rea(this.bq),this.j.Ir(this.bq,0),this.trigger(new l(h.a4,{level:this.Al})))};h.prototype.Aba=
1596function(){this.Dj&&(this.j.removeItem(this.lV),this.trigger(new l(h.FT,{level:this.Dj})),this.j.uj(this.lV),this.lV=this.Dj=null)};h.prototype.fUa=function(){this.Al&&(this.j.removeItem(this.bq),this.trigger(new l(h.FT,{level:this.Al})),this.j.uj(this.bq),this.bq=this.Al=null)};h.Lh="stopped";h.vl="blending";h.ms="disolving";h.Hb="request frame";h.a4="level added";h.FT="level removed";h.b4="level fully displayed";h.M3="all pending maps hidden";h.sB="map show";h.rB="map hide";return h});
1597define("lp",["require"],function(){function a(e,l){this.Sa=e;this.Xa=e.get("image");this.jf=l;this.R9=void 0}a.prototype.getItem=function(){switch(this.jf){case a.RT:return this.Sa.DAa();default:return this.Sa.$j()}};a.prototype.Zj=function(){switch(this.jf){case a.RT:return this.Sa.SE();default:return this.Sa.nr()}};a.prototype.TR=function(){return void 0===this.R9?0==this.getIndex():this.R9};a.prototype.V5a=function(e){this.R9=e};a.prototype.UR=function(){return this.jf==a.Nja};a.prototype.isEqual=
1598function(e){return e&&this.Sa==e.map&&this.jf==e.type};a.prototype.getIndex=function(){return this.jf==a.RT||this.Sa.iK()?0:1};a.prototype.eAa=function(){return this.Sa.iK()?2:1};a.RT="preload";a.Nja="load";return a});
1599define("jh","require lE kS pg cC gv lp v".split(" "),function(a){var e=a("lE"),l=a("kS"),m=a("pg"),k=a("cC"),b=a("gv"),h=a("lp"),f=a("v"),c=e.extend(b,function(d){b.call(this);this.j=d;this.Gg=[];this.yM=this.jD=this.Mg=null;this.cD=!1;this.IW=null;this.CX=e.lp(this.CX,this)});c.prototype.clear=function(){this.stop();this.j=null};c.prototype.aCa=function(d,g){if(this.IW!=d||g)this.stop(),this.Sa=d,this.Sa.X4a(),l.vt(this.Sa,"image.levels.url",this.CX),g=[],d.iK()&&f.nb()&&g.push(new h(d,h.RT)),g.push(new h(d,
1600h.Nja)),g=g.filter(function(p){return p.getItem().Oi()}),g.length&&(this.Gg=this.Gg.concat(g),this.LX())};c.prototype.CX=function(){this.reload()};c.prototype.reload=function(){this.aCa(this.Sa,!0)};c.prototype.stop=function(){l.ba(this.Sa,"image.levels.url",this.CX);this.IW=this.Sa=null;this.Gg=[];this.iwa();this.cD&&(this.cD=!1,this.kda(),this.j.uj(this.Mg.getItem()),this.Mg=null,this.trigger(new k(c.GT)))};c.prototype.LX=function(){this.cD||this.w$()};c.prototype.w$=function(){0<this.Gg.length?
1601(this.Mg=this.Gg.shift(),this.cD||(this.cD=!0,this.trigger(new k(c.ET,{level:this.Mg,percent:0}))),this.QKa(),this.j.Mn(this.Mg.getItem()),this.j.Z2(this.Mg.getItem())&&this.$$()):this.cD&&(this.cD=!1,this.trigger(new k(c.GT)))};c.prototype.$$=function(){this.kda();this.DWa();this.Mg=null;this.w$()};c.prototype.DWa=function(){this.iwa();this.jD=this.Mg;var d=this;this.yM=setTimeout(function(){d.yM=null;d.kSa()},500)};c.prototype.kSa=function(){var d=this.jD.Sa;this.jD.V5a(d!=this.IW);this.IW=d;this.trigger(new k(c.c4,
1602{level:this.jD}));this.jD=null};c.prototype.iwa=function(){null!=this.yM&&(clearTimeout(this.yM),this.yM=null,this.j.uj(this.jD.getItem()),this.jD=null)};c.prototype.Mra=function(){this.kda();this.Mg=null;this.w$()};c.prototype.Nra=function(d){this.trigger(new k(c.ET,{level:this.Mg,percent:d.Yg}))};c.prototype.QKa=function(){var d=this.Mg.getItem();d.bind(m.Z,this.$$,this);d.bind(m.yc,this.Mra,this);d.bind(m.kc,this.Nra,this)};c.prototype.kda=function(){var d=this.Mg.getItem();d.unbind(m.Z,this.$$,
1603this);d.unbind(m.yc,this.Mra,this);d.unbind(m.kc,this.Nra,this)};c.ET="level loading progress";c.c4="level loaded";c.GT="load stopped";return c});define("cO",["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});
1604define("mW",["require","mv","nl"],function(a){function e(k,b,h){this.bi=k;this.Xva=b;this.Vva=h;this.Ef=l.Sx;this.Hl=m.Qe;this.mm=m.le}var l=a("mv"),m=a("nl");e.prototype.ZA=function(k){this.Ef=k};e.prototype.PK=function(k){this.Hl=k};e.prototype.XK=function(k){this.mm=k};e.prototype.MJ=function(k,b,h){var f=this.Xva,c=this.Vva,d;switch(this.Ef){case l.NONE:var g=d=1;break;case l.Ih:d=g=Math.min(b/f,h/c);break;case l.Tr:d=g=Math.max(b/f,h/c);break;case l.Cp:d=g=b/f;break;case l.nk:d=g=h/c;break;default:d=
1605b/f,g=h/c}var p=Math.min(this.Xva*d,b);d=Math.min(b/d,f);switch(this.Hl){case m.Wa:f=b=0;break;case m.ob:b-=p;f-=d;break;default:b=.5*(b-p),f=.5*(f-d)}var q=Math.min(this.Vva*g,h);g=Math.min(h/g,c);switch(this.mm){case m.zc:c=h=0;break;case m.sc:h-=q;c-=g;break;default:h=.5*(h-q),c=.5*(c-g)}k.drawImage(this.bi,Math.round(f),Math.round(c),Math.round(d+f-Math.round(f)),Math.round(g+c-Math.round(c)),Math.round(b),Math.round(h),Math.round(p+b-Math.round(b)),Math.round(q+h-Math.round(h)))};return e});
1606define("mD","require pg ik cO gY mW".split(" "),function(a){function e(f,c,d,g){this.j=f;this.Sa=c;this.Fe=this.Sa.get("width");this.Ee=this.Sa.get("height");this.ie=this.Sa.$j();this.Opa=d;this.po=g;this.SC=null;if(this.po){if(this.II=this.Opa.II,this.oa=this.po.get("width"),this.wa=this.po.get("height"),this.La=this.po.get("x",0),this.Oa=this.po.get("y",0),this.Mv=this.po.get("offsetX",0),this.Nv=this.po.get("offsetY",0),this.ab=this.po.nr())this.Vh=new b(m.ql),this.Vh.load(this.ab.get("url")),
1607this.Vh.bind(l.Z,this.tsa,this)}else this.Vh=null}var l=a("pg"),m=a("ik"),k=a("cO"),b=a("gY"),h=a("mW");e.prototype.clear=function(){this.po=this.Opa=this.ie=this.Sa=this.j=null;this.Vh&&(this.Vh.unbind(l.Z,this.tsa,this),this.Vh.cancel(),this.Vh=null);this.SC=null};e.prototype.vAa=function(f,c){this.Ppa=void 0;if(this.SC&&void 0!=f&&void 0!=c){var d=.5*this.j.Ya(),g=.5*this.j.Ab(),p=this.j.M0(this.ie)*Math.PI/180,q=this.j.wR(this.ie),n=this.j.vR(this.ie),r=this.j.xR(this.ie),u=this.j.yR(this.ie);
1608f=new k(f,c);f.translate(-d,-g);f.rotate(-p);f.scale(1/q,1/n);f.translate(r,u);f.scale(this.Fe,this.Ee);f.translate(-this.La,-this.Oa);this.II||(f.rotate(p),f.scale(q/this.Fe,n/this.Ee));f.translate(this.Mv,this.Nv);d=Math.round(f.x);g=Math.round(f.y);0<=d&&d<this.SC.width&&0<=g&&g<this.SC.height&&(d=4*(this.SC.width*g+d),g=this.SC.data,this.Ppa=0<g[d+3]?"#"+this.o6(g[d+0])+this.o6(g[d+1])+this.o6(g[d+2]):"transparent")}return this.Ppa};e.prototype.tsa=function(){var f=new h(this.Vh.vf(),this.ab.get("width"),
1609this.ab.get("height"));f.ZA(this.po.get("scaleMode"));f.PK(this.po.get("horizontalAlign"));f.XK(this.po.get("verticalAlign"));var c=document.createElement("canvas");c.width=Math.round(this.oa);c.height=Math.round(this.wa);var d=c.getContext("2d");f.MJ(d,c.width,c.height);this.SC=d.getImageData(0,0,c.width,c.height);c.width=c.height=0};e.prototype.o6=function(f){for(f=f.toString(16);2>f.length;)f="0"+f;return f};return e});
1610define("lk","require en lE pg cC gv nX mD bd oI bG".split(" "),function(a){var e=a("en"),l=a("lE"),m=a("pg"),k=a("cC"),b=a("gv"),h=a("nX"),f=a("mD"),c=a("bd"),d=a("oI"),g=a("bG"),p=l.extend(b,function(q,n,r){b.call(this);this.j=q;this.Sa=n;this.hc=r;this.ya=this.hc.getItem();this.Pq=this.hc.GAa();this.Qq=this.hc.IAa();this.Dv=this.ro=void 0;this.L=this.j.getParent();this.L.bind(m.bc,this.qf,this);this.L.bind(m.Vb,this.qO,this);this.L.bind(m.jb,this.Ak,this);this.L.bind(m.Eb,this.yo,this);this.L.bind(m.qa,
1611this.Ls,this);r.bind(m.F("selected"),this.hta,this);r.bind(m.F("enabled"),this.vq,this);this.SW=new f(this.j,this.Sa,this.hc,this.hc.get("map",null));this.UW=new f(this.j,this.Sa,this.hc,this.hc.get("rollOverMap",this.hc.get("map",null)));this.VW=new f(this.j,this.Sa,this.hc,this.hc.get("selectedMap",this.hc.get("rollOverMap",this.hc.get("map",null))));this.dW=new f(this.j,this.Sa,this.hc,this.hc.get("image",null));this.eW=new f(this.j,this.Sa,this.hc,this.hc.get("rollOverImage",this.hc.get("image",
1612null)));this.fW=new f(this.j,this.Sa,this.hc,this.hc.get("selectedImage",this.hc.get("rollOverImage",this.hc.get("image",null))));this.gd=this.fd=void 0;this.fJ=null;this.Ou=[];this.qs=[];this.iM=[];this.Mh={};this.Iqa=[];this.xv=!1;this.Zda=this.hc.get("useHandCursor");this.aa=null;this.YI=void 0;this.gZ=this.VY=this.yW=0;q=this.hc.get("areas",[]);for(n=0;n<q.length;n++){r=q[n];var u=r.get("mapColor");u&&(u=u.toLowerCase(),void 0===this.Mh[u]&&(this.Mh[u]=[],this.Iqa.push(u)),this.Mh[u].push(r))}this.ya&&
1613(this.j.L_(this.Sa.$j(),this.ya),this.j.Ir(this.ya,this.yW));this.Pq&&(this.j.L_(this.Sa.$j(),this.Pq),this.j.Ir(this.Pq,this.VY));this.Qq&&(this.j.L_(this.Sa.$j(),this.Qq),this.j.Ir(this.Qq,this.gZ));this.CP("none");this.wda();this.pva(!1);this.qva(this.hc.get("selected"))});p.prototype.clear=function(){this.L.unbind(m.bc,this.qf,this);this.L.unbind(m.Vb,this.qO,this);this.L.unbind(m.jb,this.Ak,this);this.L.unbind(m.Eb,this.yo,this);this.L.unbind(m.qa,this.Ls,this);this.L=null;this.SW&&this.SW.clear();
1614this.SW=null;this.UW&&this.UW.clear();this.UW=null;this.VW&&this.VW.clear();this.VW=null;this.dW&&this.dW.clear();this.dW=null;this.eW&&this.eW.clear();this.eW=null;this.fW&&this.fW.clear();this.fW=null;this.Ou=[];this.ro=!1;this.wda();this.qs=[];this.iM=[];this.Mh={};this.nwa();this.wQ();this.Sa=this.j=null;this.hc.unbind(m.F("selected"),this.hta,this);this.Qq=this.Pq=this.ya=this.hc=null};p.prototype.match=function(q){return this.hc==q};p.prototype.Gd=function(q){this.EH(!1);this.aa&&(this.aa.Cb(q),
1615this.yW=this.aa.fb("itemAlpha"),this.VY=this.aa.fb("rollOverItemAlpha"),this.gZ=this.aa.fb("selectedItemAlpha"),this.ya&&this.j.Ir(this.ya,this.yW),this.Pq&&this.j.Ir(this.Pq,this.VY),this.Qq&&this.j.Ir(this.Qq,this.gZ),this.aa.Ze()?this.aa=null:this.Qa())};p.prototype.Ak=function(q){this.fd=q.x-this.L.qm();this.gd=q.y-this.L.It();this.EH(!0);this.qs=this.Ou.slice()};p.prototype.qf=function(q){this.fd=q.x-this.L.qm();this.gd=q.y-this.L.It();this.EH(!0)};p.prototype.yo=function(q){this.fd=q.x-this.L.qm();
1616this.gd=q.y-this.L.It();this.EH(!0);this.iM=e.intersection(this.qs,this.Ou);this.qs=[]};p.prototype.Ls=function(){this.iM&&(this.eda(this.iM,"click"),this.iM=[])};p.prototype.qO=function(){this.gd=this.fd=void 0;this.EH(!0);this.qs=this.Ou.slice()};p.prototype.hta=function(){this.qva(this.hc.get("selected"))};p.prototype.vq=function(){this.EH(!0);this.rg();this.Qa()};p.prototype.EH=function(q){this.dqa=!0;q?this.eJ():this.pRa()||this.ZWa()};p.prototype.ZWa=function(){this.nwa();var q=this;this.fJ=
1617setTimeout(function(){q.fJ=null;q.eJ()},200)};p.prototype.pRa=function(){return this.fJ?!0:!1}
1617;p.prototype.nwa=function(){this.fJ&&(clearTimeout(this.fJ),this.fJ=null)};p.prototype.eJ=function(){if(this.dqa){this.dqa=!1;var q=this.Ou,n=this.DOa();this.Ou=n;this.L.so||(this.eda(e.difference(n,q),"rollOver"),this.pva(0<n.length),this.eda(e.difference(q,n),"rollOut"),this.wQ())}};p.prototype.wQ=function(){for(var q="",n=0;n<this.Ou.length&&!q;n++){var r=this.Ou[n];r.get("toolTip")&&(q=r.get("toolTip"))}this.Sb!=
1618q&&(this.Sb&&this.j.q4a(this.Sb),(this.Sb=q)&&this.j.w4a(this.Sb))};p.prototype.wda=function(){var q=this.ro&&(!1!==this.Zda||e(this.Ou).any(function(n){return!0===n.get("useHandCursor")}));this.xv!=q&&((this.xv=q)?this.j.m2(c.ye):this.j.EK(c.ye))};p.prototype.DOa=function(){if(!1===this.hc.get("enabled"))return[];var q=[],n=this.Dv?this.VW:this.ro?this.UW:this.SW;n&&(n=n.vAa(this.fd,this.gd))&&(this.Mh.any&&(q=q.concat(this.Mh.any)),"transparent"==n&&this.Mh.transparent&&(q=q.concat(this.Mh.transparent)),
1619"transparent"!=n&&(q=this.Mh[n]?q.concat(this.Mh[n]):q.concat(this.Mh[h.d5a(n,this.Iqa)]||[]),this.Mh.image&&(q=q.concat(this.Mh.image))));if(n=this.Dv?this.fW:this.ro?this.eW:this.dW)if(n=n.vAa(this.fd,this.gd))this.Mh.any&&(q=q.concat(this.Mh.any)),"transparent"==n&&this.Mh.transparent&&(q=q.concat(this.Mh.transparent)),"transparent"!=n&&this.Mh.image&&(q=q.concat(this.Mh.image));n=[];for(var r=0;r<q.length;r++){var u=q[r];0>n.indexOf(u)&&n.push(u)}return n};p.prototype.eda=function(q,n){if(q)for(var r=
16200;r<q.length;r++)q[r].trigger(new k(n))};p.prototype.pva=function(q){this.ro!=q&&(this.ro=q,this.trigger(new k(p.W3)),this.rg(),this.wda(),this.Qa())};p.prototype.qva=function(q){this.Dv!=q&&(this.Dv=q,this.rg(),this.Qa())};p.prototype.rg=function(){!this.ro&&1==this.hc.get("rollOverDisplay")||!1===this.hc.get("enabled")?this.CP("none"):this.Dv?this.CP("selected"):this.ro?this.CP("roll over"):this.CP("visible")};p.prototype.CP=function(q){if(this.YI!=q){this.YI=q;var n;if(e(["selected"]).contains(this.YI)&&
1621this.Qq){var r=1;q=n=0}else e(["selected","roll over"]).contains(this.YI)&&this.Pq?(n=1,q=r=0):e(["selected","roll over","visible"]).contains(this.YI)?(q=1,r=n=0):q=r=n=0;var u=this.yW,t=this.VY,v=this.gZ,w=Math.max(200*Math.abs(q-u),200*Math.abs(n-t),200*Math.abs(r-v));this.aa=new d("none"==this.YI?"quad_out":"quad_in",[new g("itemAlpha",u,q),new g("rollOverItemAlpha",t,n),new g("selectedItemAlpha",v,r)],w)}};p.prototype.Qa=function(){this.trigger(new k(p.Hb))};p.Hb="request frame";p.W3="is over update";
1622return p});define("nk",["require","lE","kj"],function(a){var e=a("lE"),l=a("kj");a=e.extend(l,function(m,k,b,h,f,c,d){l.call(this,l.Ska,m,k);this.OQa=b;this.PQa=h;this.rTa=f;this.sTa=c;this.Gc=d;this.yQ=[]});a.prototype.TE=function(){return this.Gc};return a});
1623define("fO","require lE pg cC gv cO nk".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("cC"),k=a("gv"),b=a("cO"),h=a("nk"),f=e.extend(k,function(c,d,g){k.call(this);this.j=c;this.L=this.j.getParent();this.L.bind(l.jb,this.Ak,this,!0);this.L.bind(l.bc,this.qf,this,!0);this.L.bind(l.Fp,this.qO,this,!0);this.Sa=d;this.Fe=this.Sa.get("width");this.Ee=this.Sa.get("height");this.XTa=Math.sqrt(this.Fe*this.Fe+this.Ee*this.Ee)*this.Sa.get("fieldOfViewOverlayRadiusScale",1);this.ie=this.Sa.$j();this.Wc=
1624g;this.nI=this.Wc.get("x",0);this.oI=this.Wc.get("y",0);this.fY=this.Wc.get("angle",0);this.ya=this.RMa();this.Fs=!1;this.Ea=0;this.Pa=.5*Math.PI;this.Xd=!1;this.gd=this.fd=void 0;this.j.L_(this.Sa.$j(),this.ya)});f.prototype.nFa=function(c,d){this.Ea=c+this.fY-90;this.Pa=d;this.Qa()};f.prototype.clear=function(){this.L.unbind(l.jb,this.Ak,this);this.L.unbind(l.bc,this.qf,this);this.L.unbind(l.Fp,this.qO,this);this.L=null;this.j.F4a(this.Sa.$j(),this.ya);this.ya=this.Wc=this.ie=this.Sa=this.j=null};
1625f.prototype.Gd=function(){this.j.Y5a(this.ya,this.Ea,this.Pa)};f.prototype.RMa=function(){return new h(this.nI,this.oI,this.Sa.get("fieldOfViewOverlayInsideColor","#FFFFFF"),this.Sa.get("fieldOfViewOverlayInsideOpacity",0),this.Sa.get("fieldOfViewOverlayOutsideColor","#000000"),this.Sa.get("fieldOfViewOverlayOutsideOpacity",0),this.Sa.get("fieldOfViewOverlayRadiusScale",1))};f.prototype.Qa=function(){this.trigger(new m(f.Hb))};f.prototype.zda=function(){var c=!1;if(void 0!=this.fd&&void 0!=this.gd){var d=
1626.5*this.j.Ya(),g=.5*this.j.Ab(),p=this.j.M0(this.ie)*Math.PI/180,q=this.j.wR(this.ie),n=this.j.vR(this.ie),r=this.j.xR(this.ie),u=this.j.yR(this.ie);c=new b(this.fd,this.gd);c.translate(-d,-g);c.rotate(-p);c.scale(1/q,1/n);c.translate(r,u);c.scale(this.Fe,this.Ee);c.translate(-this.nI,-this.oI);c.rotate(-this.Ea*Math.PI/180);d=Math.round(180*Math.atan2(c.y,c.x)/Math.PI);c=Math.round(Math.sqrt(c.x*c.x+c.y*c.y))<=this.XTa&&Math.abs(d)<.5*this.Pa}this.Fs!=c&&(this.Fs=c,this.trigger(new m(f.F4,{inFOV:this.Fs})))};
1627f.prototype.A2a=function(){return this.Fs};f.prototype.Ak=function(c){this.fd=c.x;this.gd=c.y;this.Xd=!0;this.zda()};f.prototype.qf=function(c){this.Xd||(this.fd=c.x,this.gd=c.y,this.zda())};f.prototype.qO=function(){this.gd=this.fd=void 0;this.Xd=!1;this.zda()};f.Hb="request frame";
1627f.F4="mouse in fov change";return f});
1628define("oS","require en lE cC gv iA lk fO".split(" "),function(a){var e=a("en"),l=a("lE"),m=a("cC"),k=a("gv"),b=a("iA"),h=a("lk"),f=a("fO"),c=l.extend(k,function(d){k.call(this);this.j=d;this.IN=[];this.Av=[];this.an=[];this.vn=this.Wc=null});c.prototype.clear=function(){for(var d=0;d<this.Av.length;d++)this.Av[d].clear();for(d=0;d<this.an.length;d++)this.an[d].clear();this.j=this.IN=this.Wc=this.an=this.Av=null};c.prototype.gR=function(d){d.UR()&&this.SJa(d.Sa)};c.prototype.aga=function(d){d.UR()&&
1629this.pUa(d.Sa)};c.prototype.ux=function(d){this.Wc!=d&&(this.Wc&&this.Dba(this.Wc.get("map")),this.Wc=d,this.vn=null,this.Wc&&(d=this.Wc.get("map"),this.T9(d)&&this.Pla(d)))};c.prototype.Rn=function(d,g,p,q){this.vn={yaw:g,pitch:p,hfov:q};for(p=0;p<this.an.length;p++){var n=this.an[p];if(n.Wc==d){n.nFa(g,q);break}}};c.prototype.SJa=function(d){this.T9(d)&&(this.uua(d),this.Dba(d));this.IN.push(d);this.KJa(d);this.Pla(d)};c.prototype.pUa=function(d){var g=this.IN.indexOf(d);0<=g&&this.IN.splice(g,
16301);this.T9(d)||(this.uua(d),this.Dba(d))};c.prototype.T9=function(d){return 0<=e(this.IN).indexOf(d)};c.prototype.Gd=function(d){for(var g=0;g<this.Av.length;g++)this.Av[g].Gd(d);for(g=0;g<this.an.length;g++)this.an[g].Gd(d)};c.prototype.KJa=function(d){for(var g=d.get("overlays",[]),p=0;p<g.length;p++){var q=g[p];q instanceof b&&(q=new h(this.j,d,q),q.bind(h.Hb,this.Qa,this,!0),q.bind(h.W3,this.oqa,this,!0),this.Av.push(q))}};c.prototype.Pla=function(d){this.Wc&&this.Wc.get("map")==d&&!1!==this.Wc.get("visible")&&
1631(d=new f(this.j,d,this.Wc),d.bind(f.Hb,this.Qa,this,!0),d.bind(f.F4,this.xX,this,!0),this.an.push(d),this.vn&&d.nFa(this.vn.yaw,this.vn.hfov));this.xX()};c.prototype.uua=function(d){d=d.get("overlays",[]);for(var g=0;g<d.length;g++)for(var p=d[g],q=0;q<this.Av.length;q++){var n=this.Av[q];if(n.match(p)){n.unbind(h.Hb,this.Qa,this);n.unbind(h.W3,this.oqa,this);n.clear();this.Av.splice(q,1);break}}};c.prototype.Dba=function(d){for(var g=0;g<this.an.length;g++){var p=this.an[g];if(p.Sa==d){p.unbind(f.Hb,
1632this.Qa,this);p.unbind(f.F4,this.xX,this);p.clear();this.an.splice(g,1);break}}this.xX()};c.prototype.oqa=function(){};c.prototype.Qa=function(){this.trigger(new m(c.Hb))};c.prototype.xX=function(){for(var d=!1,g=0;g<this.an.length;g++)this.an[g].A2a()&&(d=!0);this.trigger(new m(c.V3,{inFOV:d}))};c.Hb="request frame";c.V3="in fov change";return c});
1633define("kO","require lE pg cC gv ko cO".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("cC"),k=a("gv"),b=a("ko"),h=a("cO"),f=e.extend(k,function(c){k.call(this);this.j=c;this.L=this.j.getParent();this.L.bind(l.bc,this.qf,this,!0);this.L.bind(l.jb,this.Ak,this,!0);this.L.bind(l.Eb,this.yo,this,!0);this.Sa=null;this.ie=this.Ee=this.Fe=void 0;this.Wc=null;this.fY=this.oI=this.nI=void 0;this.Fs=!1;this.gd=this.fd=this.qn=void 0;this.Xd=!1;this.Ea=0});f.prototype.clear=function(){this.L.unbind(l.bc,
1634this.qf,this);this.L.unbind(l.jb,this.Ak,this);this.L.unbind(l.Eb,this.yo,this);this.j=this.Wc=this.ie=this.Sa=this.L=null};f.prototype.NS=function(c){this.Fs=c;this.sda()};f.prototype.gR=function(c){c.UR()&&this.tva(c.Sa)};f.prototype.aga=function(c){c.UR()&&this.Sa==c.Sa&&this.tva(null)};f.prototype.tva=function(c){this.Sa!=c&&((this.Sa=c)?(this.Fe=this.Sa.get("width"),this.Ee=this.Sa.get("height"),this.ie=this.Sa.$j()):(this.Ee=this.Fe=void 0,this.ie=null))};f.prototype.ux=function(c){this.Wc!=
1635c&&((this.Wc=c)?(this.nI=this.Wc.get("x",0),this.oI=this.Wc.get("y",0),this.fY=this.Wc.get("angle",0)):this.fY=this.oI=this.nI=void 0)};f.prototype.Rn=function(c,d){this.Wc==c&&(this.Ea=d)};f.prototype.Jr=function(c){this.qn=c};f.prototype.Ak=function(c){this.fd=c.x;this.gd=c.y;this.Xd=!0;this.sda()};f.prototype.qf=function(c){this.fd=c.x;this.gd=c.y;this.ti&&(c=this.spa(),this.trigger(new m(f.mk,{yawDelta:c-this.jd})),this.jd=c)};f.prototype.yo=function(c){this.fd=c.x;this.gd=c.y;this.Xd=!1;this.sda()};
1636f.prototype.sda=function(){var c=this.Xd&&this.Wc&&this.Sa&&(this.qn==b.W4||this.Fs);this.ti!=c&&(this.ti=c)&&(this.jd=this.spa())};f.prototype.spa=function(){var c=.5*this.j.Ya(),d=.5*this.j.Ab(),g=new h(this.fd,this.gd);g.translate(-c,-d);if(this.qn==b.W4)return 180*-Math.atan2(g.y,g.x)/Math.PI;c=this.j.M0(this.ie)*Math.PI/180;d=this.j.wR(this.ie);var p=this.j.vR(this.ie),q=this.j.xR(this.ie),n=this.j.yR(this.ie);g.rotate(-c);g.scale(1/d,1/p);
1636g.translate(q,n);g.scale(this.Fe,this.Ee);g.translate(-this.nI,
1637-this.oI);return 180*Math.atan2(g.y,g.x)/Math.PI};f.mk="request yaw change";return f});
1638define("nd",["require","lE","cC","gv","bi"],function(a){var e=a("lE"),l=a("cC"),m=a("gv"),k=a("bi"),b=e.extend(m,function(h){m.call(this);this.U=!0;this.KC=!1;this.j=h});b.prototype.clear=function(){this.U=!1;this.j=null};b.prototype.requestFrame=function(){this.KC||(this.KC=!0,k.requestFrame(this.Qj,this))};b.prototype.Qj=function(h){this.U&&(this.KC=!1,this.trigger(new l(b.yp,{frameTime:h})),this.trigger(new l(b.zp,{frameTime:h})),this.j.render())};b.yp="frameStart";b.zp="positionSet";return b});
1639define("dD","require lE pg cC gv op ka jh oS kO nd".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("cC"),k=a("gv"),b=a("op"),h=a("ka"),f=a("jh"),c=a("oS"),d=a("kO"),g=a("nd"),p=e.extend(k,function(q,n){k.call(this);this.L=q;this.j=n;this.j.set("visible",!1);this.lY=null;this.pg=new g(this.j);this.se=new f(this.j);this.Ma=new h(this.L,this.j);this.eb=new b(this.j);this.Dq=new c(this.j);this.Ps=new d(this.j);this.L.bind(l.dd,this.XX,this,!0);this.pg.bind(g.yp,this.xz,this,!0);this.pg.bind(g.zp,
1640this.yz,this,!0);this.se.bind(f.GT,this.mO,this);this.se.bind(f.c4,this.hsa,this);this.se.bind(f.ET,this.isa,this);this.Ma.bind(h.Hb,this.Ue,this,!0);this.Ma.bind(h.a4,this.fsa,this,!0);this.Ma.bind(h.FT,this.jsa,this,!0);this.Ma.bind(h.b4,this.gsa,this,!0);this.Ma.bind(h.rB,this.Qv,this,!0);this.Ma.bind(h.sB,this.sz,this,!0);this.Ma.bind(h.M3,this.tra,this,!0);this.eb.bind(b.Hb,this.Ue,this,!0);this.eb.bind(b.lk,this.wq,this);this.Dq.bind(c.Hb,this.Ue,this,!0);this.Dq.bind(c.V3,this.Wra,this,!0);
1641this.Ps.bind(d.mk,this.CO,this,!0);this.moa=!1});p.prototype.Jr=function(q){this.eb.Jr(q);this.Ma.Jr(q);this.Ps.Jr(q)};p.prototype.clear=function(){this.moa=!0;this.se.clear();this.pg.clear();this.eb.clear();this.Ma.clear();this.Dq.clear();this.Ps.clear();this.L.unbind(l.dd,this.XX,this);this.se.unbind(f.GT,this.mO,this);this.se.unbind(f.c4,this.hsa,this);this.se.unbind(f.ET,this.isa,this);this.pg.unbind(g.yp,this.xz,this);this.pg.unbind(g.zp,this.yz,this);this.Ma.unbind(h.Hb,this.Ue,this);this.Ma.unbind(h.a4,
1642this.fsa,this);this.Ma.unbind(h.FT,this.jsa,this);this.Ma.unbind(h.b4,this.gsa,this);this.Ma.unbind(h.rB,this.Qv,this);this.Ma.unbind(h.sB,this.sz,this);this.Ma.unbind(h.M3,this.tra,this);this.eb.unbind(b.MHa,this.Ue,this);this.eb.unbind(b.lk,this.wq,this);this.Dq.unbind(c.Hb,this.Ue,this);this.Dq.unbind(c.V3,this.Wra,this);this.Ps.unbind(d.mk,this.CO,this);this.L=this.j=this.Ps=this.Dq=this.Ma=this.eb=this.pg=this.se=null};p.prototype.XX=function(){this.lY&&(this.hFa(this.lY),this.lY=null)};p.prototype.hFa=
1643function(q){this.j.set("visible",!0);this.L.ez?this.se.aCa(q):(this.se.stop(),this.eb.stop(),this.Ma.hide(),this.lY=q)};p.prototype.nx=function(){this.se.stop();this.eb.stop();this.Ma.hide()};p.prototype.fk=function(q){this.eb.fk(q)};p.prototype.ux=function(q){this.moa||(this.eb.ux(q),this.Dq.ux(q),this.Ps.ux(q))};p.prototype.Rn=function(q,n,r,u){this.eb.Rn(q,n,r,u);this.Dq.Rn(q,n,r,u);this.Ps.Rn(q,n,r,u)};p.prototype.isa=function(q){var n=q.data.level;q=(q.data.percent+100*n.getIndex())/n.eAa();
1644this.trigger(new m(p.ju,{percent:q}))};p.prototype.hsa=function(q){this.j.set("visible",!0);q=q.data.level;this.eb.stop();this.Ma.gR(q)};p.prototype.mO=function(){this.trigger(new m(p.qB))};p.prototype.Ue=function(){this.pg.requestFrame()};p.prototype.xz=function(q){this.eb.ix(q.data.frameTime)};p.prototype.yz=function(q){q=q.data.frameTime;this.Ma.Gd(q);this.eb.Gd(q);this.Dq.Gd(q)};p.prototype.fsa=function(q){q=q.data.level;this.Dq.gR(q);this.Ps.gR(q)};p.prototype.jsa=function(q){q=q.data.level;
1645this.Dq.aga(q);this.Ps.aga(q)};p.prototype.gsa=function(q){q=q.data.level;q.UR()&&this.eb.start(q)};p.prototype.tra=function(){this.j.set("visible",!1)};p.prototype.Wra=function(q){q=q.data.inFOV;this.eb.NS(q);this.Ps.NS(q)};p.prototype.sz=function(q){this.trigger(new m(p.sB,{map:q.data.map}))};p.prototype.Qv=function(q){this.trigger(new m(p.rB,{map:q.data.map}))};p.prototype.wq=function(q){this.trigger(new m(p.lk,q.data))};p.prototype.CO=function(q){this.trigger(new m(p.mk,{yawDelta:q.data.yawDelta}))};
1646p.lk="movementChange";p.qB="loadingEnd";p.ju="loadingProgress";p.sB="mapShow";p.rB="mapHide";p.mk="requestYawChange";return p});define("la",["require","ik"],function(a){function e(){this.status=e.OT;this.progress=this.ek=0;this.sha=[]}a("ik");
1646e.LOADING="loading";e.Z="loaded";e.OT="not loaded";return e});
1647define("lB","require en lE cC pg gY la".split(" "),function(a){function e(){this.ooa={};this.he=[];this.nz=[];this.ud={}}var l=a("en"),m=a("lE");a("cC");var k=a("pg"),b=a("gY"),h=a("la");e.prototype.Z2=function(f){f=f.Pt();for(var c=0,d=f.length;c<d;c++)if(this.SM(f[c]).status!=h.Z)return!1;return!0};e.prototype.Mn=function(f,c){this.he.push(f);this.NJa(f,c)};e.prototype.uj=function(f,c){var d=l(this.he).indexOf(f);0>d&&m.log("Unloading item not loaded");this.he.splice(d,1);this.mUa(f,c)};e.prototype.vf=
1648function(f,c){return this.ud[f].vf(c)};e.prototype.NJa=function(f,c){this.nz.push(f);f=f.Pt();for(var d=0,g=f.length;d<g;d++){var p=f[d],q=this.SM(p);q.ek++;q.sha.push(c);q.status==h.OT&&(q.status=h.LOADING,this.FRa(p,Math.min.apply(Math,q.sha)))}this.pxa()};e.prototype.mUa=function(f,c){this.nz=l(this.nz).without(f);f=f.Pt();for(var d=0,g=f.length;d<g;d++){var p=f[d],q=this.SM(p);q.ek--;var n=q.sha,r=n.indexOf(c);0<=r&&n.splice(r,1);0==q.ek&&q.status!=h.OT&&(q.status=h.OT,q.progress=0,this.jYa(p))}};
1649e.prototype.pxa=function(f){f=(void 0==f?this.nz:this.qpa(f)).slice();for(var c=0;c<f.length;c++){for(var d=f[c],g=d.Pt(),p=0,q=0,n=g.length,r=0;r<g.length;r++){var u=this.SM(g[r]);p+=u.progress;u.status==h.Z&&q++}d.h6a(p/n);q==n&&(d.RS(),this.nz=l(this.nz).without(d))}};e.prototype.SM=function(f){var c=this.ooa[f];c||(this.ooa[f]=c=new h);return c};e.prototype.qpa=function(f){for(var c=[],d=0;d<this.nz.length;d++){var g=this.nz[d];l(g.Pt()).contains(f)&&c.push(g)}return c};e.prototype.FRa=function(f,
1650c){c=new b(c);this.ud[f]=c;c.bind(k.Z,this.nO,this,!0);c.bind(k.yc,this.oO,this,!0);c.load(f)};e.prototype.jYa=function(f){var c=this.ud[f];delete this.ud[f];c.unbind(k.Z,this.nO,this);c.unbind(k.yc,this.oO,this);c.cancel()};e.prototype.nO=function(f){f=f.source.Oi();var c=this.SM(f);c.progress=100;c.status=h.Z;this.pxa(f)};e.prototype.oO=function(f){f=f.source.Oi();for(var c=this.qpa(f),d=0;d<c.length;d++){var g=c[d];this.uj(g);g.F5a()}m.log("Error loading: "+f)};return e.instance=new e});
1651define("hM",["require","jquery.mod","v"],function(a){function e(m,k){this.ya=m;this.pa=k;this.CN=0;this.$s=this.Zs=.5;this.Pk=0;this.Rb=1;this.Uq=this.Hv=this.wa=this.oa=0;this.Gc=1;this.qW=this.sW=!0;this.va=l("<canvas/>");this.R=this.va.get(0);this.za=this.R.getContext("2d")}var l=a("jquery.mod");a=a("v");e.prototype.getItem=function(){return this.ya};e.prototype.kR=function(m){return this.ya==m?this:null};e.prototype.v0=function(m){return this.ya==m?[this]:[]};e.prototype.zh=function(){this.pa&&
1652this.pa.Qea(this)};e.prototype.$e=function(m){this.RVa(m)};e.prototype.rva=function(m){this.CN!=m&&(this.CN=m,this.pa&&this.pa.b1())};e.prototype.RVa=function(m){this.Rb!=m&&(this.Rb=m,this.a1())};e.prototype.oZ=function(m){this.Pk!=m&&(this.Pk=m,this.a1())};e.prototype.BP=function(m,k){if(this.oa!=m||this.wa!=k)this.oa=m,this.wa=k,this.Y0()};e.prototype.dm=function(m,k){if(this.Hv!=m||this.Uq!=k)this.Hv=m,this.Uq=k,this.a1()};e.prototype.a1=function(){this.pa&&this.pa.Z0()};e.prototype.pe=function(){this.sW=
1653!0};e.prototype.Za=function(){this.sW&&(this.sW=!1,this.Vg())};e.prototype.Vg=function(){};e.prototype.Y0=function(){this.qW=!0;this.a1()};e.prototype.g3=function(){if(this.qW){this.qW=!1;if(this.R.width!=this.oa||this.R.height!=this.wa)this.R.width=Math.round(this.oa),this.R.height=Math.round(this.wa);this.za.clearRect(0,0,this.R.width,this.R.height);this.qg()}};e.prototype.qg=function(){};e.prototype.x0a=function(m){if(0<this.Rb&&1<=this.oa&&1<=this.wa){m.save();var k=Math.round(this.Hv),b=Math.round(this.Uq),
1654h=Math.round(this.oa*this.Zs),f=Math.round(this.wa*this.$s);m.scale(this.Gc,this.Gc);m.translate(k+h,b+f);m.rotate(this.Pk*Math.PI/180);m.globalAlpha=this.Rb;m.drawImage(this.R,-h,-f);m.restore()}};e.prototype.D0=function(){this.R.width=this.R.height=1;this.sW=this.qW=!0};e.Pja=window.devicePixelRatio||1;e.dk=e.Pja;e.fIa=a.Jd()==a.ni?16E6:256E6;return e});
1655define("nc",["require","en","lE","hM"],function(a){var e=a("en"),l=a("lE"),m=a("hM");a=l.extend(m,function(k,b){m.call(this,k,b);this.tc=[];this.J_=null;this.Gw=!0});a.prototype.nya=function(k){k=this.U6(k);if(!k)throw"Container renderer can't create child renderer for an item";this.tc.push(k);this.b1();this.Z0()};a.prototype.U6=function(){};a.prototype.gEa=function(k){if(k=this.Dt(k))this.tc=e.without(this.tc,k),this.b1(),this.Z0()};a.prototype.kR=function(k){for(var b=m.prototype.kR.call(this,k),
1656h=0;h<this.tc.length&&!b;h++)b=this.tc[h].kR(k);return b};a.prototype.v0=function(k){for(var b=m.prototype.v0.call(this,k),h=0;h<this.tc.length;h++)b=b.concat(this.tc[h].v0(k));return b};a.prototype.Dt=function(k){for(var b=null,h=0;h<this.tc.length&&!b;h++)this.tc[h].getItem()==k&&(b=this.tc[h]);for(h=0;h<this.tc.length&&!b;h++)this.tc[h].getItem().n2a(k)&&(b=this.tc[h]);return b};a.prototype.Qea=function(k){this.tc=e.without(this.tc,k);this.tc.push(k);this.b1();this.Z0()};a.prototype.b1=function(){this.Gw=
1657!0;this.pe()};a.prototype.Z0=function(){this.Y0()};a.prototype.Za=function(){m.prototype.Za.call(this);for(var k=0;k<this.tc.length;k++)this.tc[k].Za()};a.prototype.Vg=function(){if(this.Gw){this.Gw=!1;for(var k=[],b=0;b<this.tc.length;b++){var h=this.tc[b];k.push({l:h.CN,z:b,r:h})}k.sort(function(f,c){return f.l==c.l?f.z-c.z:f.l-c.l});this.J_=[];for(b=0;b<k.length;b++)this.J_.push(k[b].r);this.Y0()}m.prototype.Vg.call(this)};a.prototype.g3=function(){for(var k=0;k<this.tc.length;k++)this.tc[k].g3();
1658m.prototype.g3.call(this)};a.prototype.qg=function(){for(var k=0;k<this.J_.length;k++)this.J_[k].x0a(this.za);m.prototype.qg.call(this)};a.prototype.D0=function(){for(var k=0;k<this.tc.length;k++)this.tc[k].D0();m.prototype.D0.call(this)};return a});define("P",["require","lE","hM"],function(a){var e=a("lE"),l=a("hM");a=e.extend(l,function(m,k){l.call(this,m,k)});a.prototype.B2=function(){};return a});
1659define("iS",["require","lE","P","v"],function(a){var e=a("lE"),l=a("P"),m=a("v");a=e.extend(l,function(k,b){l.call(this,k,b);this.kY=this.pa.getItem().je();this.jY=this.pa.getItem().Ye();this.Gc=2;this.gH=0;this.Pa=.5*Math.PI;this.N9=this.O9=!0;this.Nl=1;this.rW=!0;this.rva(1)});a.prototype.B2=function(k,b){this.Nl!=b&&(this.Nl=b,this.rW=!0,this.pe())};a.prototype.XEa=function(k,b){this.Pa!=b&&(this.Pa=b,this.O9=!0,this.pe());this.gH!=k&&(this.gH=k,this.N9=!0,this.pe())};a.prototype.Vg=function(){this.O9&&
1660(this.O9=!1,this.Y0());if(this.rW||this.N9){this.N9=this.rW=!1;this.Gc=Math.max(1,Math.ceil(Math.sqrt(this.kY*this.kY+this.jY*this.jY))/(m.Jd()==m.ni?1024:4096));var k=this.Nl/this.Gc,b=this.ya.getX()*k,h=this.ya.getY()*k,f=Math.max(b,k*this.kY-b);k=Math.max(h,k*this.jY-h);f=2*Math.ceil(Math.sqrt(f*f+k*k));var c=this.gH*Math.PI/180;k=Math.cos(c);c=Math.sin(c);b=b-this.Zs*f-(.5-this.Zs)*f*k+(.5-this.$s)*f*c;h=h-this.$s*f-(.5-this.$s)*f*k-(.5-this.Zs)*f*c;this.rW=!1;this.dm(b,h);this.BP(f,f);this.oZ(this.gH)}l.prototype.Vg.call(this)};
1661a.prototype.qg=function(){var k=this.ya.PQa,b=this.ya.sTa;
1661if(0<b||0<k){var h=this.Nl*this.kY,f=this.Nl*this.jY;h=Math.ceil(Math.sqrt(h*h+f*f))*this.ya.TE()/this.Gc;f=Math.round(.5*this.oa);var c=Math.round(.5*this.wa),d=this.Pa*Math.PI/180,g=.5*-d;d=g+d;0<b&&(this.za.fillStyle=this.ya.rTa,this.za.globalAlpha=b,this.za.rect(0,0,this.oa,this.wa),this.za.fill(),this.za.globalCompositeOperation="destination-out",this.za.fillStyle="#FFFFFF",this.za.globalAlpha=1,this.za.beginPath(),this.za.moveTo(f,c),
1662this.za.arc(f,c,h,g,d,!1),this.za.lineTo(f,c),this.za.closePath(),this.za.fill(),this.za.globalCompositeOperation="source-over");0<k&&(this.za.fillStyle=this.ya.OQa,this.za.globalAlpha=k,this.za.beginPath(),this.za.moveTo(f,c),this.za.arc(f,c,h,g,d,!1),this.za.lineTo(f,c),this.za.closePath(),this.za.fill())}l.prototype.qg.call(this)};return a});
1663define("j","require lE hM P lB mW".split(" "),function(a){var e=a("lE"),l=a("hM"),m=a("P"),k=a("lB"),b=a("mW");a=e.extend(m,function(h,f){m.call(this,h,f);this.rva(this.ya.Rua?0:2);this.Zb=k.vf(this.ya.Oi());this.aZ=new b(this.Zb,this.Zb.width,this.Zb.height);this.aZ.ZA(this.ya.Ef);this.aZ.XK(this.ya.mm);this.aZ.PK(this.ya.Hl);this.GN=0;this.Nl=1;this.A$=!0});a.prototype.B2=function(h,f){if(this.GN!=h||this.Nl!=f)this.GN=h,this.Nl=f,this.A$=!0,this.pe()};a.prototype.Vg=function(){if(this.A$){this.A$=
1664!1;var h=this.ya.getX(),f=this.ya.getY(),c=this.ya.je(),d=this.ya.Ye(),g=this.ya.Mv,p=this.ya.Nv;if(this.ya.Rua)this.oZ(0),this.dm((h-g)*this.Nl,(f-p)*this.Nl),this.BP(c*this.Nl,d*this.Nl);else{c*=l.dk;d*=l.dk;g*=l.dk;p*=l.dk;var q=Math.cos(-this.GN*Math.PI/180),n=Math.sin(-this.GN*Math.PI/180);h=h*this.Nl-this.Zs*c-(g-this.Zs*c)*q+(p-this.$s*d)*n;f=f*this.Nl-this.$s*d-(p-this.$s*d)*q-(g-this.Zs*c)*n;this.oZ(-this.GN);this.dm(h,f);this.BP(c,d)}}m.prototype.Vg.call(this)};a.prototype.qg=function(){this.aZ.MJ(this.za,
1665this.R.width,this.R.height);m.prototype.qg.call(this)};return a});
1666define("ix","require lE mv lB dB kj iS j nc".split(" "),function(a){var e=a("lE"),l=a("mv"),m=a("lB"),k=a("dB"),b=a("kj"),h=a("iS"),f=a("j"),c=a("nc");a=e.extend(c,function(d,g){c.call(this,d,g,d.Bo);this.Jb=this.ya.je();this.Wb=this.ya.Ye();this.Ef=this.ya.Ef;this.AV=this.ya.f8;this.Ld=this.Bd=100;this.J6=!0;this.Oa=this.La=.5;this.jd=0;this.kb=1;this.YO=!0;this.rf=1;this.Zb=m.vf(this.ya.Oi())});a.prototype.U6=function(d){if(d.getType()!=k.Wka)throw"Invalid item type";switch(d.uTa){case b.Ska:d=
1667new h(d,this);break;case b.Tka:d=new f(d,this);break;default:d=null}d&&d.B2(this.jd,this.rf*this.kb);return d};a.prototype.getX=function(){return this.La};a.prototype.getY=function(){return this.Oa};a.prototype.XJ=function(){return this.jd};a.prototype.qr=function(){return this.kb};a.prototype.Ya=function(){return Math.round(this.Jb*this.kb*this.rf)};a.prototype.Ab=function(){return Math.round(this.Wb*this.kb*this.rf)};a.prototype.zF=function(d,g){if(this.Bd!=d||this.Ld!=g)this.Bd=d,this.Ld=g,this.J6=
1668!0,this.pe()};a.prototype.setPosition=function(d,g,p,q){if(this.La!=d||this.Oa!=g||this.jd!=p||this.kb!=q)this.La=d,this.Oa=g,this.jd=p,this.kb=q,this.YO=!0,this.pe()};a.prototype.Vg=function(){if(this.J6){this.J6=!1;switch(this.Ef){case l.NONE:this.rf=1;break;case l.Cp:this.rf=this.Bd/this.Jb;break;case l.nk:this.rf=this.Ld/this.Wb;break;case l.Tr:this.rf=this.Jb*this.Ld>this.Wb*this.Bd?this.Ld/this.Wb:this.Bd/this.Jb;break;default:this.rf=this.Jb*this.Ld>this.Wb*this.Bd?this.Bd/this.Jb:this.Ld/
1669this.Wb}this.YO=!0}if(this.YO){this.YO=!1;var d=this.Ya(),g=this.Ab(),p=Math.cos(this.jd*Math.PI/180),q=Math.sin(this.jd*Math.PI/180);this.dm(.5*this.Bd-this.Zs*d+(this.Zs-this.La)*p*d-(this.$s-this.Oa)*q*g,.5*this.Ld-this.$s*g+(this.$s-this.Oa)*p*g+(this.Zs-this.La)*q*d);this.oZ(this.jd);this.BP(d,g);for(d=0;d<this.tc.length;d++)this.tc[d].B2(this.jd,this.rf*this.kb)}c.prototype.Vg.call(this)};a.prototype.qg=function(){var d=Math.round(this.oa),g=Math.round(this.wa);this.AV?(this.za.save(),this.za.translate(d,
16700),this.za.scale(-1,1),this.za.drawImage(this.Zb,0,0,d,g),this.za.restore(
1670)):this.za.drawImage(this.Zb,0,0,d,g);c.prototype.qg.call(this)};return a});
1671define("hf","require en lE dB nc ix".split(" "),function(a){a("en");var e=a("lE"),l=a("dB"),m=a("nc"),k=a("ix");a=e.extend(m,function(){m.call(this,null,null);this.v6=!0});a.prototype.$c=function(){return this.va};a.prototype.render=function(){this.Za();this.g3()};a.prototype.C1a=function(){for(var b=1,h=0;h<this.tc.length;h++){var f=this.tc[h];f=f.Ya()*f.Ab();b<f&&(b=f)}return b};a.prototype.U6=function(b){if(b.getType()!=l.Vka)throw"Invalid item type";b=new k(b,this);b.zF(this.oa,this.wa);b.setPosition(.5,
1672.5,0,1);return b};a.prototype.setSize=function(b,h){this.BP(b,h);this.v6=!0;this.pe()};a.prototype.Vg=function(){if(this.v6){this.v6=!1;for(var b=0;b<this.tc.length;b++)this.tc[b].zF(this.oa,this.wa)}m.prototype.Vg.call(this)};return a});
1673define("kM","require en lE pg ik lB hM hf oB bd e".split(" "),function(a){var e=a("en"),l=a("lE"),m=a("pg"),k=a("ik"),b=a("lB"),h=a("hM"),f=a("hf"),c=a("oB"),d=a("bd"),g=a("e");a=l.extend(g,function(){g.call(this);this.Ge("Renderer");this.set("toolTipDisabled",!0);this.set("cursor",d.ou);this.Ly=[];this.iE=[];this.Sb="";this.rh=new f;this.Ob().append(this.rh.$c());this.bind(m.pc,this.Fc,this,!0);this.bind(m.dd,this.fj,this,!0);this.bind(m.Tc,this.ej,this,!0);c.P.bind(m.ca,this.Kda,this,!0);this.SD=
1674this.Jba=!1});a.prototype.Mn=function(p){b.Mn(p,k.ql)};a.prototype.Z2=function(p){return b.Z2(p)};a.prototype.uj=function(p){b.uj(p,k.ql)};a.prototype.Bea=function(p){this.rh.nya(p)};a.prototype.removeItem=function(p){this.rh.gEa(p)};a.prototype.L_=function(p,q){this.rh.Dt(p).nya(q);this.Hda()};a.prototype.F4a=function(p,q){(p=this.rh.Dt(p))&&p.gEa(q)};a.prototype.Rea=function(p){this.rh.kR(p).zh()};a.prototype.Ir=function(p,q){this.rh.v0(p).forEach(function(n){n.$e(q)})};a.prototype.OS=function(p,
1675q,n,r,u){this.rh.Dt(p).setPosition(q,n,r,u);this.Hda()};a.prototype.Hda=function(){var p=this.rh.C1a();p&&(h.dk=Math.min(h.Pja,h.dk*Math.sqrt(h.fIa/p)),this.qxa())};a.prototype.Y5a=function(p,q,n){this.rh.kR(p).XEa(q,n)};a.prototype.xR=function(p){return this.rh.Dt(p).getX()};a.prototype.yR=function(p){return this.rh.Dt(p).getY()};a.prototype.M0=function(p){return this.rh.Dt(p).XJ()};a.prototype.sAa=function(p){return this.rh.Dt(p).qr()};a.prototype.wR=function(p){return this.rh.Dt(p).Ya()/h.dk};
1676a.prototype.vR=function(p){return this.rh.Dt(p).Ab()/h.dk};a.prototype.render=function(){this.SD&&this.rh.render()};a.prototype.m2=function(p){this.Ly.push(p);this.hxa()};a.prototype.EK=function(p){p=e(this.Ly).lastIndexOf(p);0<=p&&this.Ly.splice(p,1);this.hxa()};a.prototype.hxa=function(){var p=0<this.Ly.length?this.Ly[this.Ly.length-1]:d.xe;this.getParent().set("cursor",p)};a.prototype.TU=function(){0<this.Ly.length&&(this.getParent().set("cursor",d.xe),this.Ly=[])};a.prototype.w4a=function(p){this.iE.push(p);
1677this.wQ()};a.prototype.q4a=function(p){p=e(this.iE).lastIndexOf(p);0<=p&&this.iE.splice(p,1);this.wQ()};a.prototype.wQ=function(){var p=0==this.iE.length?"":this.iE[this.iE.length-1]||"";this.Sb!=p&&(this.Sb=p,this.getParent().set("toolTip",this.Sb))};a.prototype.VLa=function(){this.Sb&&this.getParent().set("toolTip","");this.Sb="";this.iE=[]};a.prototype.An=function(){this.VLa();this.TU();g.prototype.An.call(this)};a.prototype.Fc=function(){this.qxa();this.Hda()};a.prototype.qxa=function(){this.rh.$c().css({transform:1!=
1678h.dk?"scale("+(1/h.dk).toFixed(3)+")":"none","transform-origin":"0% 0%"});this.rh.setSize(this.Ya()*h.dk,this.Ab()*h.dk);this.render()};a.prototype.fj=function(){this.Jba=!0;this.Kda()};a.prototype.ej=function(){this.Jba=!1;this.Kda()};a.prototype.Kda=function(){var p=this.Jba&&!c.isPresenting;this.SD!=p&&((this.SD=p)?this.render():this.rh.D0())};return a});
1679define("Q","require lE cC nV jX dh dD jW kM pg ek gW".split(" "),function(a){var e=a("lE"),l=a("cC"),m=a("nV"),k=a("jX"),b=a("dh"),h=a("dD"),f=a("jW"),c=a("kM"),d=a("pg"),g=a("ek"),p=a("gW"),q=m.define("MapPlayer",b,function(){b.call(this,"map");this.kX=this.z$=this.ei=!1;this.vn=this.Wc=this.M=this.j=null;this.wy={};for(var n in q.Ju)this.wy[n]=this.vMa(n);this.Cd=e.lp(this.Vg,this)});q.prototype.stop=function(){this.Oc(f.Mf)};q.prototype.rotateClockwise=function(){this.Oc(f.P4)};q.prototype.rotateCounterClockwise=
1680function(){this.Oc(f.Q4)};q.prototype.zoomIn=function(){this.Oc(f.Hu)};q.prototype.zoomOut=function(){this.Oc(f.Iu)};q.prototype.set=function(n,r){if(this.get(n)!=r){switch(n){case "map":this.z$=!0;this.Cd();break;case "viewerArea":this.ei=!0;this.Cd();break;case "panoramaMapLocation":this.Maa=!0;this.Cd();break;case "movementMode":this.kX=!0,this.Cd()}b.prototype.set.call(this,n,r)}};q.prototype.vMa=function(n){var r=q.Ju[n];n=new k(this,n,g.ze);n.bind(d.jb,function(){this.Oc(r.movement)},this);
1681r.stopOnRelease&&n.bind(d.Eb,function(){this.Oc(f.Mf)},this);return n};q.prototype.a_a=function(n){this.vn=null;this.set("map",n.get("map"));this.set("panoramaMapLocation",n)};q.prototype.M4a=function(n){this.get("panoramaMapLocation")==n&&(this.set("panoramaMapLocation",null),this.vn=null)};q.prototype.Rn=function(n,r,u,t){this.M&&this.M.Rn(n,r,u,t);this.vn={yaw:r,pitch:u,hfov:t}};q.prototype.Vg=function(){this.ei&&(this.ei=!1,this.gv(),this.get("viewerArea")&&this.ev(),this.DP(this.get("viewerArea")));
1682if(this.M){if(this.z$){this.z$=!1;var n=this.get("map");n?(this.vF(),this.M.hFa(n)):this.M.nx();this.Maa=this.kX=!0}this.Maa&&(this.Maa=!1,n=this.get("panoramaMapLocation"),this.M.ux(n),n&&this.vn&&this.M.Rn(n,this.vn.yaw,this.vn.pitch,this.vn.hfov));this.kX&&(this.kX=!1,this.M.Jr(this.get("movementMode")))}};q.prototype.ZI=function(){this.set("map",null)};q.prototype.ev=function(){var n=this.get("viewerArea");this.j=new c;this.j.ma({left:0,top:0,bottom:0,right:0});n.Ua(this.j);this.M=new h(n,this.j);
1683this.M.bind(h.lk,this.wq,this);this.M.bind(h.ju,this.Bi,this);this.M.bind(h.qB,this.dI,this);this.M.bind(h.sB,this.sz,this);this.M.bind(h.rB,this.Qv,this);
1683this.M.bind(h.mk,this.CO,this,!0)};q.prototype.gv=function(){this.j&&(this.M.unbind(h.lk,this.wq,this),this.M.unbind(h.ju,this.Bi,this),this.M.unbind(h.qB,this.dI,this),this.M.unbind(h.sB,this.sz,this),this.M.unbind(h.rB,this.Qv,this),this.M.unbind(h.mk,this.CO,this),this.M.clear(),this.j.getParent().removeChild(this.j),this.j=null)};q.prototype.sz=
1684function(n){this.ON(n.data.map)};q.prototype.Qv=function(n){this.NN(n.data.map)};q.prototype.wq=function(n){for(var r in q.Ju)this.wy[r].set("state",n.data[q.Ju[r].pressedOn]?p.ub:p.xe);this.trigger(new l(d.Yja,n.data))};q.prototype.CO=function(n){this.trigger(new l(q.mk,{yawDelta:n.data.yawDelta}))};q.prototype.Bi=function(n){this.j.getParent().ma({progressPercent:n.data.percent,progressVisible:!0})};q.prototype.dI=function(){this.j.getParent().set("progressVisible",!1)};q.prototype.Oc=function(n){this.M&&
1685this.M.fk(n)};q.Ju={buttonRotateClockwise:{movement:f.P4,pressedOn:"rotatingClockwise",stopOnRelease:!0},buttonRotateCounterClockwise:{movement:f.Q4,pressedOn:"rotatingCounterClockwise",stopOnRelease:!0},buttonZoomIn:{movement:f.Hu,pressedOn:"zoomingIn",stopOnRelease:!0},buttonZoomOut:{movement:f.Iu,pressedOn:"zoomingOut",stopOnRelease:!0}};q.mk="requestYawChange";return q});
1686define("iy",["require","mh","pg","cC","nV"],function(a){var e=a("mh"),l=a("pg"),m=a("cC");a=a("nV").define("PlayListItem",e,function(){e.call(this);this.C="stopped"});a.prototype.get=function(k,b){return"state"==k?this.C:e.prototype.get.call(this,k,b)};a.prototype.start=function(){this.f8a()};a.prototype.f8a=function(){if("stopped"==this.C||"stopping"==this.C)this.C="starting",this.trigger(new m(l.Yn))};a.prototype.mA=function(){this.vGa()};a.prototype.vGa=function(){if("starting"==this.C||"stopping"==
1687this.C)this.C="playing",this.trigger(new m(l.Qr))};a.prototype.stop=function(){this.fL()};a.prototype.fL=function(){if("playing"==this.C||"starting"==this.C)this.C="stopping",this.trigger(new m(l.Mf))};a.prototype.end=function(){this.wGa()};a.prototype.wGa=function(){if("stopping"==this.C||"starting"==this.C)this.C="stopped",this.trigger(new m(l.Bb))};return a});
1688define("pL",["require","nV","dh","iy"],function(a){var e=a("nV"),l=a("dh"),m=a("iy");a=e.define("MapPlayListItem",m,function(){m.call(this)});a.prototype.start=function(){m.prototype.start.call(this);var k=this.get("player");k&&(k.bind(l.fh,this.sz,this),k.set("map",this.get("media")))};a.prototype.stop=function(){var k=this.get("player");k&&k.get("map")==this.get("media")&&k.set("map",null);m.prototype.stop.call(this)};a.prototype.sz=function(){this.get("player").unbind(l.fh,this.sz,this);this.get("player").bind(l.Jm,
1689this.Qv,this);this.mA();this.get("player").get("map")!=this.get("media")&&this.Qv()};a.prototype.Qv=function(){this.get("player").unbind(l.Jm,this.Qv,this);this.stop();this.end()};return a});
1690define("gl",["require","pg","nV","ke"],function(a){var e=a("pg"),l=a("nV"),m=a("ke"),k=l.define("MeasureModel3DObject",m,function(){m.call(this);this.bind(e.F("mode"),function(){this.trigger(k.GHa)},this,!0);this.bind(e.F("distance"),function(){this.trigger(k.CHa)},this,!0)});k.GHa="modeChange";k.CHa="distanceChange";return k});define("dq",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("MeasureModel3DObjectPoint",e,function(){e.call(this)})});
1691define("el",["require","nV","gi"],function(a){var e=a("nV"),l=a("gi");return e.define("OrbitModel3DCamera",l,function(){l.call(this)})});
1692define("pC",["require","exports","pg","gv"],function(a,e,l,m){var k=function(){return function(b){this.fza=b;this.Yg=0;this.finished=!1}}();return function(b){function h(f){var c=b.call(this)||this;c.hn=new Map;c.kH=f||c;return c}Z(h,b);h.prototype.G5a=function(f){if(this.kH=f)this.lj(),this.k_()};h.prototype.update=function(){this.lj();this.k_()};h.prototype.cza=function(){this.hn.forEach(function(f,c){this.LY(c)}.bind(this));this.hn=new Map};h.prototype.ii=function(){var f=0;this.hn.forEach(function(c){c.finished&&
1693f++});return f==this.hn.size};h.prototype.dispose=function(){this.cza();this.hn.clear();this.kH=void 0};h.prototype.xJ=function(f,c){void 0===c&&(c=1);if(this.hn.has(f))return f;this.hn.set(f,new k(c));this.PJa(f);return f};h.prototype.IK=function(f){this.hn.has(f)&&(this.hn["delete"](f),this.LY(f))};h.prototype.Bt=function(f){void 0===f&&(f=1);var c=new m;return this.xJ(c,f)};h.prototype.vd=function(f){f=f.source;var c=this.hn.get(f);c&&(this.LY(f),c.Yg=100,c.finished=!0,this.lj(),this.k_())};h.prototype.Bi=
1694function(f){this.hn.get(f.source).Yg=f.data.percent;this.lj()};h.prototype.Sf=function(f){f=f.source;this.LY(f);f=this.hn.get(f);f.finished=!0;f.Yg=100;this.kH.trigger(l.yc);this.lj();this.k_()};h.prototype.lj=function(){var f=0,c=0;this.hn.forEach(function(d){c+=d.fza;f+=d.Yg*d.fza});this.kH.trigger(l.kc,{percent:c?f/c:100})};h.prototype.k_=function(){this.ii()&&this.kH.trigger(l.Z)};h.prototype.PJa=function(f){f.bind(l.Z,this.vd,this,!0);f.bind(l.kc,this.Bi,this,!0);f.bind(l.yc,this.Sf,this,!0)};
1695h.prototype.LY=function(f){f.unbind(l.Z,this.vd,this);f.unbind(l.kc,this.Bi,this);f.unbind(l.yc,this.Sf,this)};return h}(m)});
1696define("bX","require pg lg nV eu el pC".split(" "),function(a){function e(r,u){Array.isArray(u)?r.fromArray(u):r.copy(u);return r}function l(r,u){Array.isArray(u)?r.fromArray(u):r.copy(u);return r}function m(r,u){if(Array.isArray(u))return r.toArray(u);u.x=r.x;u.y=r.y;u.z=r.z;return u}var k=a("pg"),b=a("lg"),h=a("nV"),f=a("eu"),c=a("el"),d=a("pC");a=h.define("Model3D",f,function(){f.call(this);this.set("camera",new c);this.set("geometryQuery",void 0);this.set("objectQuery",void 0);this.set("preload",
1697!0)});a.prototype.Eha=function(){this.Ii&&(this.Ii.unbind(k.Z,this.hI,this),this.Ii.dispose());this.Ii=new d;this.Ii.bind(k.Z,this.hI,this,!0);this.De&&this.De.dispose();this.De=new d(this)};a.prototype.hI=function(){this.trigger(k.lG)};a.prototype.N0=function(){this.De||this.Eha();return this.De};a.prototype.Q0=function(){this.Ii||this.Eha();return this.Ii};a.prototype.pause=function(){this.get("state")==b.Y&&this.set("state",b.Ib)};a.prototype.play=function(){this.set("state",b.Y)};a.prototype.stop=
1698function(){this.set("state",b.W)};a.prototype.worldPositionToLocal=function(r,u){l(g,r);e(q,u);
1698q.invert();g.applyMatrix4(q);return m(g,r)};a.prototype.getMatrixWorld=function(r){var u=this.get("objectQuery");return u&&u.xAa(r)};a.prototype.worldDirectionToLocal=function(r,u){l(g,r);e(n,u);q.extractRotation(n);q.invert();g.applyMatrix4(q);return m(g,r)};a.prototype.testIntersection=function(r,u){var t=this.get("geometryQuery");if(t)return l(g,r),l(p,u),t.MF(g,p)};a.prototype.getDistanceToFloor=function(r){var u=
1699this.get("geometryQuery");if(u)return l(g,r),u.h1a(g)};a.prototype.pick=function(r,u){var t=this.get("picker");if(t)return t.f2(r,u)};a.prototype.getScreenPosition=function(r,u){var t=this.get("projectionQuery");if(t)return t.Vfa(l(g,r),u)};var g=new THREE.Vector3,p=new THREE.Vector3,q=new THREE.Matrix4,n=new THREE.Matrix4;a.prototype.Ot=function(){return[]};return a});
1700define("bf",["require","mh","lg","pg","nV"],function(a){var e=a("mh"),l=a("lg"),m=a("pg");a=a("nV").define("Model3DAnimation",e,function(){e.call(this);this.bind(m.F("state"),function(){this.trigger(m.re)},this,!0)});a.prototype.pause=function(){this.get("state")==l.Y&&this.set("state",l.Ib)};a.prototype.play=function(){this.set("currentDirection","forward");this.set("state",l.Y)};a.prototype.reverse=function(){this.set("currentDirection","backward");this.set("state",l.Y)};a.prototype.stop=function(){this.set("currentTime",
17010);this.set("state",l.W)};return a});
1702define("hb",["require","mh","lg","nV","pg"],function(a){var e=a("mh"),l=a("lg"),m=a("nV"),k=a("pg");a=m.define("Model3DCameraSequence",e,function(){e.call(this);this.set("state",l.W);this.bind(k.F("state"),function(){this.trigger(k.re)},this,!0)});a.prototype.play=a.prototype.play=function(){this.set("state",l.Y)};a.prototype.pause=a.prototype.pause=function(){this.get("state")==l.Y&&this.set("state",l.Ib)};a.prototype.stop=a.prototype.stop=function(){this.set("state",l.W)};return a});
1703define("iL","require lE pg cC jX dh lg ek gW".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("cC"),k=a("jX"),b=a("dh"),h=a("lg"),f=a("ek"),c=a("gW");a=e.extend(b,function(){b.call(this,!0);this.Rs=!1;this.XI=!0;this.C=h.W;this.hC=new k(this,"buttonPlayPause",f.zj);this.hC.bind(l.wj,this.OSa,this,!0);this.hC.bind(l.ul,this.PSa,this,!0);this.JG=new k(this,"buttonPause",f.ze);this.JG.bind(l.qa,this.zD,this,!0);this.KG=new k(this,"buttonPlay",f.ze);this.KG.bind(l.qa,this.AD,this,!0);this.MG=new k(this,
1704"buttonStop",f.ze);this.MG.bind(l.qa,this.Az,this,!0);this.qLa=new k(this,"buttonRestart",f.ze);this.qLa.bind(l.qa,this.zz,this,!0);this.eqa=e.lp(this.XYa,this);this.eqa()});a.prototype.set=function(d,g){"state"!=d&&b.prototype.set.call(this,d,g)};a.prototype.get=function(d,g){switch(d){case "state":return this.C}return b.prototype.get.call(this,d,g)};a.prototype.XYa=function(){this.XI&&(this.XI=!1,this.JG.set("state",this.C==h.Ib?c.ub:c.xe),this.KG.set("state",this.C==h.Y||this.C==h.Ib?c.ub:c.xe),
1705this.hC.set("pressed",this.C==h.Y),this.MG.set("state",this.C==h.W?c.ub:c.xe))};a.prototype.Xz=function(d){this.Rs!=d&&((this.Rs=d)||this.xd(h.W))};a.prototype.xd=function(d){var g=this.C;this.C=d;b.prototype.set.call(this,"state",d);g!=this.C&&(this.XI=!0,this.eqa(),this.trigger(new m(l.re,{oldState:g,state:this.C})))};a.prototype.zD=function(){this.Rs&&(this.C==h.Ib?this.Ik():this.Eq())};a.prototype.AD=function(){this.Rs&&this.Ik()};a.prototype.OSa=function(){this.Rs&&this.Ik()};a.prototype.PSa=
1706function(){this.Rs&&this.Eq()};a.prototype.Az=function(){this.Rs&&this.Po()};a.prototype.zz=function(){this.Rs&&(this.Po(),this.Ik())};a.prototype.Ik=function(){};a.prototype.Eq=function(){};a.prototype.Po=function(){};return a});
1707define("eQ",["require","lE","bi","cC","gv"],function(a){var e=a("lE"),l=a("bi"),m=a("cC"),k=a("gv"),b=e.extend(k,function(h,f){k.call(this);this.L=h;this.j=f;this.Fq=null;this.ta=b.Lh;this.Yi=this.Rh=null;this.Gn=this.Ug=void 0;this.eaa=[]});b.prototype.display=function(h){this.Fq=null;if(this.Yi!=h||this.ta!=b.Lh)this.Fq=h,this.Hsa()};b.prototype.hide=function(){this.Fq="none";this.Hsa()};b.prototype.clear=function(){this.ta=b.Lh;this.Fq=null;this.gUa();this.Bba();this.j=null};b.prototype.$g=function(h){for(;this.eaa.length;)this.eaa.shift()();
1708this.ta==b.Lh||this.ta!=b.vl&&this.ta!=b.ms&&this.ta!=b.ky||(this.Gn+=h,h=Math.min(1,this.Gn/this.Ug),this.ta==b.vl?(this.Rh.set("opacity",h),this.L.ic.OK(h)):this.ta==b.ky?(this.Rh.set("opacity",h),this.L.ic.OK(h),this.L.ic.AF(h)):(this.L.ic.AF(h),this.Yi.set("opacity",1-h
1708)),this.Gn<this.Ug?this.Qa():this.Ry())};b.prototype.zR=function(){return this.Yi&&this.j.zR(this.Yi)||void 0};b.prototype.Hsa=function(){this.Fq&&this.ta==b.Lh&&this.Rp()};b.prototype.Rp=function(){this.Yi&&this.trigger(new m(b.tB,
1709{model:this.Yi}));"fade_out_fade_in"==this.L.get("transitionMode","blending")&&this.Yi?this.sy():(this.Rh="none"==this.Fq?null:this.Fq,this.Fq=null,this.Rh?this.Yi?this.f6():this.YL():this.Yi&&this.sy())};b.prototype.YL=function(){this.Nla();this.j.iFa(this.Rh);this.L.ic.bL();this.Gn=0;this.Ug=this.L.get("transitionDuration");this.ta=b.vl;this.Qa()};b.prototype.f6=function(){this.L.ic.JF();this.Bba();this.Nla();this.j.iFa(this.Rh);this.L.ic.bL();this.Gn=0;this.Ug=2*this.L.get("transitionDuration");
1710this.ta=b.ky;this.Qa()};b.prototype.sy=function(){this.Rh=null;this.Gn=0;this.Ug=this.L.get("transitionDuration");this.ta=b.ms;this.L.ic.JF();this.Qa()};b.prototype.Ry=function(){this.Fq!=this.Yi&&this.Bba();this.Yi=this.Rh;this.Rh=null;this.ta==b.ms?this.L.ic.LE():this.ta==b.vl?this.L.ic.OJ():this.ta==b.ky&&(this.L.ic.OJ(),this.L.ic.LE());this.ta=b.Lh;this.Yi?this.trigger(new m(b.uB,{model:this.Yi})):this.Fq||this.trigger(new m(b.N3));this.Fq&&this.Rp()};b.prototype.Qa=function(){l.requestFrame(this.$g,
1711this)};b.prototype.Nla=function(){if(this.Rh){this.Rh.set("opacity",.01);this.Rh.set("currentTime",0);this.j.pya(this.Rh);this.trigger(new m(b.d4,{model:this.Rh}));var h=this.Rh;this.eaa.push(function(){this.trigger(new m(b.vB,{model:h}))}.bind(this))}};b.prototype.Bba=function(){this.Yi&&(this.j.wha(this.Yi),this.trigger(new m(b.HT,{model:this.Yi})),this.Yi=null)};b.prototype.gUa=function(){this.Rh&&(this.j.wha(this.Rh),this.trigger(new m(b.HT,{model:this.Rh})),this.Rh=null)};b.Lh="stopped";b.vl=
1712"blending";b.ky="double blending";b.ms="disolving";b.Hb="request frame";b.d4="model added";b.HT="model removed";b.vB="model start";b.uB="model show";b.tB="model hide";b.N3="all pending models hidden";return b});
1713define("cU",["require","lE","gv","pg"],function(a){var e=a("lE"),l=a("gv"),m=a("pg");a=e.extend(l,function(k,b){l.call(this);this.L=k;this.j=b;this.qh=null});a.prototype.clear=function(){this.stop();this.j=null};a.prototype.load=function(k){k!=this.qh&&(this.stop(),this.j.k2a(k)?(this.Rwa(k),this.d_(k)):(this.qh=k,this.qh.set("opacity",0),this.UKa(),this.j.pya(this.qh)))};a.prototype.stop=function(){this.qh&&(this.mda(),this.j.wha(this.qh),this.qh=null)};a.prototype.hI=function(){this.Wwa();this.Rwa(this.qh)};
1714a.prototype.vd=function(){this.qh.Zfa(m.lG)&&this.hI();this.mda();var k=this.qh;this.qh=null;this.L.set("progressVisible",!1);this.d_(k)};a.prototype.Sf=function(){this.mda();this.qh=null;this.L.set("progressVisible",!1)};a.prototype.Bi=function(k){this.L.ma({progressPercent:k.data.percent,progressVisible:!0})};a.prototype.XKa=function(){this.qh.bind(m.lG,this.hI,this,!0)};a.prototype.Wwa=function(){this.qh.unbind(m.lG,this.hI,this,!0)};a.prototype.UKa=function(){this.XKa();this.qh.bind(m.Z,this.vd,
1715this,!0);this.qh.bind(m.kc,this.Bi,this,!0);this.qh.bind(m.yc,this.Sf,this,!0)};a.prototype.mda=function(){this.Wwa();this.qh.unbind(m.Z,this.vd,this,!0);this.qh.unbind(m.kc,this.Bi,this,!0);this.qh.unbind(m.yc,this.Sf,this,!0)};a.prototype.Rwa=function(k){this.trigger(m.lG,{model:k})};a.prototype.d_=function(k){this.trigger(m.Z,{model:k})};a.Bja=m.lG;a.yja=m.Z;return a});
1716define("hm","require lE pg cC gv lg".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("cC"),k=a("gv"),b=a("lg"),h=e.extend(k,function(){k.call(this);this.ia=null;this.C=b.W});h.prototype.start=function(f){this.ia=f;this.ia.bind(l.F("camera"),this.Y$,this,!0);this.ia.bind(l.F("state"),this.uaa,this,!0);this.ia.bind(l.F("currentTime"),this.TX,this,!0);this.ia.bind(l.F("duration"),this.TX,this,!0);this.uaa();this.Y$()};h.prototype.end=function(){this.stop();this.Fb&&(this.Fb.unbind(l.F("state"),this.cO,
1717this,!0),this.Fb=null);this.ia&&(this.ia.unbind(l.F("camera"),this.Y$,this,!0),this.ia.unbind(l.F("state"),this.uaa,this,!0),this.ia.unbind(l.F("currentTime"),this.TX,this,!0),this.ia.unbind(l.F("duration"),this.TX,this,!0),this.ia=null)};h.prototype.clear=function(){this.end()};h.prototype.play=function(){this.ia&&this.ia.set("state",b.Y)};h.prototype.pause=function(){this.ia&&this.ia.set("state",b.Ib)};h.prototype.stop=function(){this.ia&&this.ia.set("state",b.W)};h.prototype.setTime=function(f){this.ia&&
1718this.ia.set("currentTime",f)};h.prototype.getTime=function(){return this.ia&&this.ia.get("currentTime")||void 0};h.prototype.uaa=function(){var f=this.ia.get("state");this.C!=f&&(this.C=f,this.Fb&&this.Fb.set("state",f),this.trigger(new m(h.Hc,{state:this.C})))};h.prototype.TX=function(){this.trigger(new m(h.vj,{model:this.ia,time:this.ia.get("currentTime"),duration:this.ia.get("duration")}));this.cO()};h.prototype.Y$=function(){this.Fb&&this.Fb.unbind(l.F("state"),this.cO,this,
1718!0);(this.Fb=this.ia.get("camera"))&&
1719this.Fb.bind(l.F("state"),this.cO,this,!0);this.cO()};h.prototype.cO=function(){0===this.ia.get("duration")&&this.ia.set("state",this.Fb?this.Fb.get("state"):b.W)};h.Hc="playback state change";h.vj="time change";return h});
1720define("ec","require lE lg cC gv eQ cU hm".split(" "),function(a){var e=a("lE"),l=a("lg"),m=a("cC"),k=a("gv"),b=a("eQ"),h=a("cU"),f=a("hm"),c=e.extend(k,function(d,g){k.call(this);this.L=d;this.j=g;this.j.set("visible",!1);this.se=new h(this.L,this.j);this.Ma=new b(this.L,this.j);this.Ja=new f(this.j);this.se.bind(h.Bja,this.ysa,this,!0);this.se.bind(h.yja,this.Sv,this,!0);this.Ma.bind(b.tB,this.uz,this,!0);this.Ma.bind(b.uB,this.Ul,this,!0);this.Ma.bind(b.vB,this.pO,this,!0);this.Ma.bind(b.d4,this.vsa,
1721this,!0);this.Ma.bind(b.HT,this.zsa,this,!0);this.Ma.bind(b.N3,this.ura,this,!0);this.Ja.bind(f.Hc,this.ef,this,!0);this.Ja.bind(f.vj,this.zq,this,!0)});c.prototype.clear=function(){this.se.clear();this.Ma.clear();this.Ja.clear();this.se.unbind(h.Bja,this.ysa,this);this.se.unbind(h.yja,this.Sv,this);this.Ma.unbind(b.tB,this.uz,this);this.Ma.unbind(b.uB,this.Ul,this);this.Ma.unbind(b.vB,this.pO,this);this.Ma.unbind(b.d4,this.vsa,this);this.Ma.unbind(b.HT,this.zsa,this);this.Ma.unbind(b.N3,this.ura,
1722this);this.Ja.unbind(f.Hc,this.ef,this);this.Ja.unbind(f.vj,this.zq,this);this.L=this.j=this.Ja=this.Ma=this.se=null};c.prototype.m6a=function(d){this.j.set("visible",!0);this.se.load(d)};c.prototype.nx=function(){this.Ma.hide();this.Ja.end()};c.prototype.play=function(){this.Ja.play()};c.prototype.stop=function(){this.Ja.stop()};c.prototype.pause=function(){this.Ja.pause()};c.prototype.setTime=function(d){this.Ja.setTime(d)};c.prototype.getTime=function(){return this.Ja.getTime()};c.prototype.zR=
1723function(){return this.Ma.zR()};c.prototype.ysa=function(d){this.Ma.display(d.data.model)};c.prototype.Sv=function(){};c.prototype.vsa=function(d){this.Ja.start(d.data.model)};c.prototype.pO=function(d){d=d.data.model;this.j.set("visible",!0);this.trigger(new m(c.vB,{model:d}))};c.prototype.zsa=function(){};c.prototype.Ul=function(d){d=d.data.model;d.get("autoplay")&&d.get("state")!=l.Y&&d.set("state",l.Y);this.trigger(new m(c.uB,{model:d}))};c.prototype.uz=function(d){this.trigger(new m(c.tB,{model:d.data.model}))};
1724c.prototype.ura=function(){this.j.set("visible",!1)};c.prototype.zq=function(d){this.trigger(new m(c.e4,d.data))};c.prototype.ef=function(d){this.trigger(new m(c.Hc,{state:d.data.state}))};c.uB="modelShow";c.tB="modelHide";c.$8a="modelEnd";c.vB="modelStart";c.e4="videoTimeChange";c.Hc="playbackStateChange";return c});
1725define("et",["require","exports"],function(){return function(){function a(){}a.prototype.clear=function(){};a.Gb=function(e){this.id=e+"Component";this.not="!"+this.id};a.jc=function(e){this.Gb(e+"SystemState");this.i1=!0};a.i1=!1;return a}()});
1726define("fK",["require","exports","et","three.mod"],function(a,e,l,m){var k;(function(b){var h=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.bias=0;H.Aza=500;H.intensity=1;H.scale=100;H.LBa=25;H.jCa=0;H.Oea=4;H.output=null;return H}Z(O,J);return O}(l);b.SF=h;h.Gb("AmbientOcclusionEffect");var f=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.properties=null;return H}Z(O,J);return O}(l);b.Animation=f;f.Gb("Animation");var c=function(J){function O(){var H=
1727null!==J&&J.apply(this,arguments)||this;H.manager=null;return H}Z(O,J);return O}(l);b.du=c;c.jc("Animation");var d=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.aAa=!1;H.UFa=!1;H.dT=2;return H}Z(O,J);return O}(l);b.mB=d;d.Gb("AntialiasEffect");var g=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.A=[];H.renderOrder=null;H.P=null;return H}Z(O,J);return O}(l);b.Fm=g;g.Gb("Area");var p=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||
1728this;H.A=[];return H}Z(O,J);return O}(l);b.Gx=p;p.jc("Area");var q=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.S_=[];return H}Z(O,J);return O}(l);b.nB=q;q.jc("AreaPoint");var n=function(J){function O(){return null!==J&&J.apply(this,arguments)||this}Z(O,J);return O}(l);b.Mx=n;n.Gb("Beacon");var r=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.position=null;return H}Z(O,J);return O}(l);b.Nx=r;r.jc("Beacon");var u=function(J){function O(){var H=
1729null!==J&&J.apply(this,arguments)||this;H.P=null;return H}Z(O,J);return O}(l);b.Xn=u;u.Gb("BeaconTracker");var t=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.position=null;return H}Z(O,J);return O}(l);b.fu=t;t.jc("BeaconTracker");var v=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.sg=null;H.yEa=null;H.AA=!0;H.enabled=!0;H.locked=!1;H.IJ=!0;H.Xf=void 0;H.gk=0;return H}Z(O,J);return O}(l);b.W8a=v;var w=function(J){function O(){var H=null!==J&&J.apply(this,
1730arguments)||this;H.properties=null;return H}Z(O,J);return O}(l);b.XF=w;w.Gb("CameraSequence");var x=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.manager=null;return H}Z(O,J);return O}(l);b.gu=x;x.jc("CameraSequence");var y=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.source=null;H.$S=null;H.opacity=1;H.isSprite=!1;H.hidden=!1;H.depthTest=!0;return H}Z(O,J);return O}(l);b.mi=y;y.Gb("CanvasMaterial");var z=function(J){function O(){var H=null!==
1731J&&J.apply(this,arguments)||this;H.manager=null;return H}Z(O,J);return O}(l);b.Ox=z;z.jc("CanvasMaterial");var C=function(J){function O(){return null!==J&&J.apply(this,arguments)||this}Z(O,J);return O}(l);b.tL=C;C.Gb("Data");var A=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.P=null;H.direction=null;H.min=null;return H}Z(O,J);return O}(l);b.tp=A;A.Gb("Draggable");var B=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.mfa=null;return H}Z(O,J);return O}(l);
1732b.Px=B;B.jc("Draggable");var E=function(J){function O(){return null!==J&&J.apply(this,arguments)||this}Z(O,J);return O}(l);b.Qx=E;E.Gb("Dragging");var G=function(J){function O(){return null!==J&&J.apply(this,arguments)||this}Z(O,J);return O}(v);b.Tx=G;G.Gb("FirstPersonControls");var K=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.manager=null;return H}Z(O,J);return O}(l);b.Ur=K;K.jc("FirstPersonControls");var I=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||
1733this;H.distance=0;H.PR=!1;H.x=0;H.y=0;H.z=0;return H}Z(O,J);return O}(l);b.mu=I;I.Gb("FloorTransform");var Q=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.manager=null;return H}Z(O,J);return O}(l);b.Vr=Q;Q.jc("FloorTransform");var W=function(J){function O(){return null!==J&&J.apply(this,arguments)||this}Z(O,J);return O}(v);b.FB=W;W.Gb("FlyOverControls");var U=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.manager=null;return H}Z(O,J);return O}(l);
1734b.nu=U;U.jc("FlyOverControls");var T=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.geometry=null;return H}Z(O,J);return O}(l);b.Geometry=T;T.Gb("Geometry");var X=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.group=null;return H}Z(O,J);return O}(l);b.Group=X;X.Gb("Group");var D=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.group=null;return H}Z(O,J);return O}(l);b.bG=D;D.jc("Group");var M=function(J){function O(){var H=
1735null!==J&&J.apply(this,arguments)||this;H.properties=null;H.ega=null;H.P=null;H.hp=null;H.priority=void 0;H.isSprite=!1;return H}Z(O,J);return O}(l);b.Lm=M;M.Gb("ImageMaterial");var S=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.manager=null;return H}Z(O,J);return O}(l);b.Xx=S;S.jc("ImageMaterial");var Y=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.uEa=7;H.intensity=1;return H}Z(O,J);return O}(l);b.yL=Y;Y.Gb("MotionBlurEffect");var ca=function(J){function O(){var H=
1736null!==J&&J.apply(this,arguments)||this;H.properties=null;H.target=null;H.fe=null;return H}Z(O,J);return O}(l);b.Light=ca;ca.Gb("Light");var da=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.o$a=null;return H}Z(O,J);return O}(l);b.pu=da;da.jc("Light");var ea=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.line=null;H.renderOrder=0;return H}Z(O,J);return O}(l);b.Line=ea;ea.Gb("Line");var F=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||
1737this;H.line=null;return H}Z(O,J);return O}(l);b.$x=F;F.jc("Line");var N=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.color="#ffffff";H.opacity=1;H.width=1;H.depthTest=!0;return H}Z(O,J);return O}(l);b.gh=N;N.Gb("LineMaterial");var R=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.manager=null;return H}Z(O,J);return O}(l);b.Zx=R;R.jc("LineMaterial");var L=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.N=null;H.position=
1738null;return H}Z(O,J);return O}(l);b.Wr=L;L.Gb("LineToTransform");var P=function(J){function O(){return null!==J&&J.apply(this,arguments)||this}Z(O,J);return O}(l);b.ay=P;P.jc("LineToTransform");var V=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.material=null;return H}Z(O,J);return O}(l);b.Material=V;V.Gb("Material");var aa=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.name=null;return H}Z(O,J);return O}(l);b.ru=aa;aa.Gb("MaterialVariant");var ba=
1739function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.manager=null;return H}Z(O,J);return O}(l);b.Gp=ba;ba.jc("MaterialVariant");var fa=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.jp=null;H.renderOrder=0;return H}Z(O,J);return O}(l);b.Mesh=fa;fa.Gb("Mesh");var ha=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.jp=null;return H}Z(O,J);return O}(l);b.Zr=ha;ha.jc("Mesh");var ia=function(J){function O(){var H=null!==J&&J.apply(this,
1740arguments)||this;H.properties=null;H.Jga=null;H.RDa=null;H.hp=null;H.P=null;H.Xfa=null;H.xc=null;return H}Z(O,J);return O}(l);b.hh=ia;ia.Gb("Model");var ja=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.manager=null;return H}Z(O,J);return O}(l);b.su=ja;ja.jc("Model");var ka=function(J){function O(){return null!==J&&J.apply(this,arguments)||this}Z(O,J);return O}(l);b.hG=ka;ka.Gb("NotCollidable");var la=function(J){function O(){return null!==J&&J.apply(this,arguments)||this}
1741Z(O,J);return O}(l);b.qIa=la;la.jc("NotCollidable");var ma=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.Uia=!0;H.Via=!0;return H}Z(O,J);return O}(l);b.Hp=ma;ma.Gb("NotSelectable");var na=function(J){function O(){return null!==J&&J.apply(this,arguments)||this}Z(O,J);return O}(l);b.JB=na;na.jc("NotSelectable");var oa=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.ua=null;return H}Z(O,J);return O}(l);b.Object3D=oa;oa.Gb("Object3D");var pa=function(J){function O(){var H=
1742null!==J&&J.apply(this,arguments)||this;H.id=null;H.container=null;return H}Z(O,J);return O}(l);b.iG=pa;pa.Gb("Object3DId");var qa=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.manager=null;return H}Z(O,J);return O}(l);b.tu=qa;qa.jc("Object3DId");var ra=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.NQ=0;H.castShadow=void 0;H.receiveShadow=void 0;H.envMapIntensity=1;
1742H.opacity=1;H.P=null;return H}Z(O,J);return O}(l);b.oi=ra;ra.Gb("ObjectTransform");
1743var sa=function(J){function O(){return null!==J&&J.apply(this,arguments)||this}Z(O,J);return O}(l);b.by=sa;sa.jc("ObjectTransform");var ta=function(J){function O(){return null!==J&&J.apply(this,arguments)||this}Z(O,J);return O}(v);b.KB=ta;ta.Gb("OrbitControls");var ua=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.manager=null;return H}Z(O,J);return O}(l);b.uu=ua;ua.jc("OrbitControls");var va=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.width=
1744100;H.height=100;return H}Z(O,J);return O}(l);b.OrthographicCamera=va;va.Gb("OrthographicCamera");var wa=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.camera=null;H.width=void 0;H.height=void 0;return H}Z(O,J);return O}(l);b.$r=wa;wa.jc("OrthographicCamera");var xa=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.N=null;H.attach=!1;H.id=null;return H}Z(O,J);return O}(l);b.lb=xa;xa.Gb("Parent");var ya=function(J){function O(){var H=null!==J&&J.apply(this,
1745arguments)||this;H.parent=null;H.Hd=null;H.id=void 0;H.attach=!1;return H}Z(O,J);return O}(l);b.bs=ya;ya.jc("Parent");var za=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.width=100;H.height=100;H.fov=75;H.near=.01;H.far=100;H.Eya=!1;H.Fya=0;H.sm=!1;return H}Z(O,J);return O}(l);b.PerspectiveCamera=za;za.Gb("PerspectiveCamera");var Aa=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.camera=null;H.ik=null;H.scene=null;H.boundingBox=null;H.Pea=null;H.d2=
1746!1;H.width=void 0;H.height=void 0;H.fov=void 0;H.near=void 0;H.far=void 0;return H}Z(O,J);return O}(l);b.xj=Aa;Aa.jc("PerspectiveCamera");var Ba=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.If=1;H.Wf=1;H.Bh=1;H.scale=1;H.BA=void 0;H.DA=void 0;return H}Z(O,J);return O}(l);b.yj=Ba;Ba.Gb("PixelScaleTransform");var Ca=function(J){function O(){return null!==J&&J.apply(this,arguments)||this}Z(O,J);return O}(l);b.LB=Ca;Ca.jc("PixelScaleTransform");var Da=function(J){function O(){var H=
1747null!==J&&J.apply(this,arguments)||this;H.renderOrder=null;return H}Z(O,J);return O}(l);b.Plane=Da;Da.Gb("Plane");var Ea=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.manager=null;return H}Z(O,J);return O}(l);b.wu=Ea;Ea.jc("Plane");var Fa=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.ib=null;H.P=null;H.matrixWorld=null;H.origin=new m.Vector3;H.direction=new m.Vector3;H.Nb=new m.Vector2;H.gza=!1;H.bk=!1;H.enabled=!0;return H}Z(O,J);return O}(l);
1748b.sd=Fa;Fa.Gb("Pointer");var Ga=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.N=null;H.rotate=!0;H.P=null;return H}Z(O,J);return O}(l);b.pk=Ga;Ga.Gb("PointerOverTransform");var Ha=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.manager=null;return H}Z(O,J);return O}(l);b.cs=Ha;Ha.jc("PointerOverTransform");var Ia=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.manager=null;return H}Z(O,J);return O}(l);b.xu=Ia;Ia.jc("PointerDragging");
1749var Ja=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.manager=null;return H}Z(O,J);return O}(l);b.yu=Ja;Ja.jc("PointerSelection");var Ka=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.ZK=null;H.L2=null;H.V2=null;return H}Z(O,J);return O}(l);b.ds=Ka;Ka.Gb("ProjectedMaterial");var La=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.ZK=null;H.ua=null;H.YK=null;H.material=null;H.vK=null;return H}Z(O,J);return O}(l);b.zu=La;La.jc("ProjectedMaterial");
1750var Ma=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.xc=null;H.renderer=null;H.GS=[];return H}Z(O,J);return O}(l);b.pi=Ma;Ma.Gb("Renderer");var Na=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.manager=null;return H}Z(O,J);return O}(l);b.fs=Na;Na.jc("Renderer");var Oa=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.opacity=1;H.locked=!1;H.enabled=!0;H.scene=null;H.ib=null;H.backgroundColor=null;H.Iea=null;H.Gya=null;H.Hza=
1751null;H.sfa=null;H.Vza=null;H.Wza=0;H.iR=0;H.outputEncoding=null;H.P=null;return H}Z(O,J);return O}(l);b.Scene=Oa;Oa.Gb("Scene");var Pa=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.scene=null;H.manager=null;return H}Z(O,J);return O}(l);b.hs=Pa;Pa.jc("Scene");var Qa=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.P=null;H.iT=!1;H.Kw=!0;H.mx=!1;H.hL=!1;return H}Z(O,J);return O}(l);b.td=Qa;Qa.Gb("Selectable");var Ra=function(J){function O(){return null!==
1752J&&J.apply(this,arguments)||this}Z(O,J);return O}(l);b.MB=Ra;Ra.jc("Selectable");var Sa=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.color="#ffffff";H.opacity=1;H.depthTest=!0;H.doubleSided=!1;return H}Z(O,J);return O}(l);b.Ic=Sa;Sa.Gb("SolidMaterial");var Ta=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.manager=null;return H}Z(O,J);return O}(l);b.Bu=Ta;Ta.jc("SolidMaterial");var Ua=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||
1753this;H.radius=1;H.widthSegments=32;H.heightSegments=16;H.renderOrder=0;return H}Z(O,J);return O}(l);b.Sphere=Ua;Ua.Gb("Sphere");var Va=function(J){function O(){return null!==J&&J.apply(this,arguments)||this}Z(O,J);return O}(l);b.NB=Va;Va.jc("Sphere");var Wa=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.yJ=.5;H.zJ=.5;H.height=100;H.width=100;H.scale=1;H.sizeAttenuation=!1;H.Dh=null;H.renderOrder=0;return H}Z(O,J);return O}(l);b.Sprite=Wa;Wa.Gb("Sprite");var Xa=function(J){function O(){var H=
1754null!==J&&J.apply(this,arguments)||this;H.manager=null;return H}Z(O,J);return O}(l);b.js=Xa;Xa.jc("Sprite");var Ya=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.Hw=!1;H.positionX=0;H.positionY=0;H.positionZ=0;H.Ne=0;H.qe=0;H.Oe=0;H.Vf="XYZ";H.scale=1;H.If=1;H.Wf=1;H.Bh=1;H.translationX=0;H.translationY=0;H.af=0;H.easing=0;H.P=null;return H}Z(O,J);return O}(l);b.Aa=Ya;Ya.Gb("Transform");var Za=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.Hw=!1;
1755H.positionX=0;H.positionY=0;H.positionZ=0;H.Ne=0;H.qe=0;H.Oe=0;H.Vf="XYZ";H.scale=1;H.If=1;H.Wf=1;H.Bh=1;H.translationX=0;H.translationY=0;H.af=0;return H}Z(O,J);return O}(l);b.Nf=Za;Za.jc("Transform");var $a=function(J){function O(){return null!==J&&J.apply(this,arguments)||this}Z(O,J);return O}(l);b.PB=$a;$a.jc("TransformEasing");var ab=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.Xf=void 0;return H}Z(O,J);return O}(v);b.Du=ab;ab.Gb("TransitionControls");var bb=function(J){function O(){var H=
1756null!==J&&J.apply(this,arguments)||this;H.manager=null;return H}Z(O,J);return O}(l);b.ls=bb;bb.jc("TransitionControlsSystemState");var cb=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.properties=null;H.eja=null;H.P=null;return H}Z(O,J);return O}(l);b.$n=cb;cb.Gb("VideoMaterial");var db=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.manager=null;return H}Z(O,J);return O}(l);b.iy=db;db.jc("VideoMaterial");var eb=function(J){function O(){var H=null!==
1757J&&J.apply(this,arguments)||this;H.ib=null;H.width=null;H.height=null;return H}Z(O,J);return O}(l);b.Mm=eb;eb.Gb("Viewport");var fb=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.ib=null;H.properties=null;return H}Z(O,J);return O}(l);b.jy=fb;fb.Gb("ViewportPlaneGeometry");var gb=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.geometry=null;H.KFa=void 0;H.JFa=void 0;H.kBa=void 0;H.verticalAlign=void 0;H.vEa=void 0;H.zIndex=void 0;return H}Z(O,J);return O}(l);
1758b.Fu=gb;gb.jc("ViewportPlaneGeometry");var hb=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.uDa=1;H.sBa=.5;H.color="#000000";H.opacity=.5;return H}Z(O,J);return O}(l);b.pG=hb;hb.Gb("VignetteEffect");var ib=function(J){function O(){return null!==J&&J.apply(this,arguments)||this}Z(O,J);return O}(l);b.qk=ib;ib.jc("XRPerspectiveCamera");var jb=function(J){function O(){return null!==J&&J.apply(this,arguments)||this}Z(O,J);return O}(v);b.rG=jb;jb.Gb("XRDragControls");var kb=function(J){function O(){var H=
1759null!==J&&J.apply(this,arguments)||this;H.manager=null;return H}Z(O,J);return O}(l);b.Lp=kb;
1759kb.jc("XRDragControlsSystemState");var lb=function(J){function O(){return null!==J&&J.apply(this,arguments)||this}Z(O,J);return O}(v);b.sG=lb;lb.Gb("XRFlyControls");var mb=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.manager=null;return H}Z(O,J);return O}(l);b.Mp=mb;mb.jc("XRFlyControlsSystemState");var nb=function(J){function O(){return null!==J&&J.apply(this,arguments)||this}Z(O,
1760J);return O}(v);b.tG=nb;nb.Gb("XRTeleportControls");var ob=function(J){function O(){var H=null!==J&&J.apply(this,arguments)||this;H.manager=null;return H}Z(O,J);return O}(l);b.Np=ob;ob.jc("XRTeleportControlsSystemState")})(k||(k={}));return k});
1761define("kv",["require","jquery.mod","v"],function(a){function e(){this.va=l("<div/>");this.va.css({position:"absolute",left:0,top:0,right:0,bottom:0,"z-index":0,"pointer-events":"none","background-color":"#ffffff"});this.va.hide()}var l=a("jquery.mod"),m=a("v");e.prototype.$c=function(){return this.va};e.prototype.trigger=function(){m.browser()!=m.li&&this.va.fadeIn(100).fadeOut(100)};return e});
1762define("mo",["require","exports"],function(){return function(){function a(e,l){this.T=e;this.tag=l||"Entity";this.id=this.tag+"_"+a.Tga++;this.components={};this.AS={};this.Gia=0}a.prototype.getComponent=function(e){return this.components[e.id]};a.prototype.H=function(e,l){void 0===l&&(l=!1);var m=this.components[e.id];m?this.T.E_a(this,e):l&&(m=this.J(e));return m};a.prototype.J=function(e){if(e.id in this.components)return this.components[e.id];e.i1&&this.Gia++;var l=this.components[e.id]=new e;
1763this.T.TZa(this,e);return l};a.prototype.la=function(e){var l;void 0===l&&(l=!1);e.id in this.components&&(e.i1&&this.Gia--,l?this.components[e.id].clear():this.AS[e.id]=this.components[e.id],delete this.components[e.id],this.T.iEa(this,e,l))};a.prototype.I_a=function(){for(var e in this.AS)this.AS[e].clear(),delete this.AS[e]};a.prototype.D4a=function(){for(var e in this.components){var l=this.components[e].constructor;l.i1||(this.AS[e]=this.components[e],delete this.components[e],this.T.iEa(this,
1764l,!1))}};a.Tga=0;return a}()});define("cd",["require"],function(){function a(){this.id=a.U$++;this.A=[]}a.U$=0;return a});define("lb",["require"],function(){function a(e,l){this.id=a.U$++;this.name=l;this.A=e.A;this.Qd=e.A.slice();this.Fa=[];this.vg=[]}a.prototype.F_a=function(){!this.Qd.length||(this.Qd=[]);!this.Fa.length||(this.Fa=[]);!this.vg.length||(this.vg=[])};a.U$=0;return a});
1765define("bq",["require","cd","lb"],function(a){function e(){this.s2a={};this.I={};this.uF={};this.PJ={};this.Rw={};this.tF={};this.aR={};this.sF={}}function l(f){return"string"==typeof f?f:f.id}function m(f,c){0>f.indexOf(c)&&f.push(c);return f}function k(f,c){c=f.indexOf(c);0<=c&&f.splice(c,1);return f}var b=a("cd"),h=a("lb");e.prototype.sa=function(f){this.aR[f.id]={};this.aR[f.not]={}};e.prototype.f0a=function(f,c){f=this.RPa(f);c=new h(f,c);this.uF[f.id].push(c);return c};e.prototype.RPa=function(f){var c=
1766this.SPa(f);if(c=this.s2a[c])return c;c=new b;this.I[c.id]=c;f=f.map(l);this.sF[c.id]={};for(var d=0;d<f.length;d++){var g=f[d];this.sF[c.id][g]=!0;this.aR[g][c.id]=!0}this.tF[c.id]={};this.uF[c.id]=[];return c};e.prototype.SPa=function(f){f=f.map(l);f.sort();return f.join("-")};e.prototype.E3a=function(f){this.PJ[f.id]={};this.Rw[f.id]={}};e.prototype.F3a=function(f){delete this.PJ[f.id];delete this.Rw[f.id]};e.prototype.z3a=function(f,c){var d=c.id,g=c.not;c=f.id;this.PJ[c][d]=!0;for(var p in this.Rw[c])if(g in
1767this.sF[p]){delete this.tF[p][c];delete this.Rw[c][p];k(this.I[p].A,f);for(var q=this.uF[p],n=0,r=q.length;n<r;n++){var u=q[n];m(u.vg,f);k(u.Qd,f);k(u.Fa,f)}}for(p in this.aR[d])if(!(c in this.tF[p])){d=!0;for(var t in this.sF[p])if(g="!"!=t[0],(g?t:t.slice(1))in this.PJ[c]!=g){d=!1;break}if(d)for(this.tF[p][c]=!0,this.Rw[c][p]=!0,m(this.I[p].A,f),q=this.uF[p],n=0,r=q.length;n<r;n++)u=q[n],m(u.Qd,f),k(u.vg,f),k(u.Fa,f)}};e.prototype.B3a=function(f,c){var d=c.id,g="!"+d;c=f.id;delete this.PJ[c][d];
1768for(var p in this.Rw[c])if(d in this.sF[p]){delete this.tF[p][c];delete this.Rw[c][p];k(this.I[p].A,f);for(var q=this.uF[p],n=0,r=q.length;n<r;n++){var u=q[n];m(u.vg,f);k(u.Qd,f);k(u.Fa,f)}}for(p in this.aR[g])if(!(c in this.tF[p])){d=!0;for(var t in this.sF[p])if(g="!"!=t[0],(g?t:t.slice(1))in this.PJ[c]!=g){d=!1;break}if(d)for(this.tF[p][c]=!0,this.Rw[c][p]=!0,this.I[p].A.push(f),q=this.uF[p],n=0,r=q.length;n<r;n++)u=q[n],m(u.Qd,f),k(u.vg,f),k(u.Fa,f)}};e.prototype.A3a=function(f,c){c=c.id;var d=
1769f.id,g;
1769for(g in this.Rw[d])if(c in this.sF[g]){d=this.uF[g];for(var p=0,q=d.length;p<q;p++)m(d[p].Fa,f)}};return e});
1770define("lw",["require","bi","mo","bq"],function(a){function e(b){this.vc=b;this.U=!0;this.oh={};this.zM=[];this.fMa={};this.WP=[];this.OD=new k;this.yV=[];this.Iz=!1;this.Aoa=void 0}var l=a("bi"),m=a("mo"),k=a("bq");e.prototype.z2=function(b){this.Aoa=b};e.prototype.sa=function(b){this.fMa[b.id]=b;this.OD.sa(b);return this};e.prototype.Sd=function(b,h){var f=new b(this,h);f.order=this.WP.length;this.WP.push(f);for(var c in b.I)f[c]=this.OD.f0a(b.I[c],h+"."+c);this.WP.sort(function(d,g){return d.priority-
1771g.priority||d.order-g.order});return this};e.prototype.Zc=function(b){b=new m(this,b);this.oh[b.id]=b;this.OD.E3a(b);this.Va();return b};e.prototype.He=function(b){b.id in this.oh&&(delete this.oh[b.id],this.zM.push(b),b.D4a(),this.Va())};e.prototype.TZa=function(b,h){this.OD.z3a(b,h);this.Va()};e.prototype.iEa=function(b,h,f){this.OD.B3a(b,h);f||this.yV.push(b);this.Va()};e.prototype.E_a=function(b,h){this.OD.A3a(b,h);this.Va()};e.prototype.rb=function(b){this.U=b;this.Va()};e.prototype.Va=function(){this.U&&
1772!this.Iz&&(this.Iz=!0,l.requestFrame(this.update,this,this.Aoa))};e.prototype.update=function(b){b=b||0;this.Iz=!1;if(this.U){for(var h=(new Date).getTime(),f=0;f<this.WP.length;f++){var c=this.WP[f];c.Id(b,h);for(var d in c.constructor.I)c[d].F_a()}for(f=0;f<this.yV.length;f++)this.yV[f].I_a();this.yV.length=0;for(f=this.zM.length-1;0<=f;f--)0==this.zM[f].Gia&&(this.OD.F3a(this.zM[f]),this.zM.splice(f,1))}};return e});
1773define("lO",["require"],function(){function a(e,l){this.T=e;this.name=l;this.priority=0}a.prototype.Id=function(){};return a});
1774define("cg",["require","pg","lg"],function(a){function e(k,b,h,f,c){this.o=k;this.kd=b;this.jg=h;this.sk=f;this.Da=c;this.rZ()}var l=a("pg"),m=a("lg");e.prototype.getAnimations=function(){return this.jg};e.prototype.qR=function(){return this.sk};e.prototype.frame=function(k){this.C==m.Y&&(this.ct(this.ih.time+k/1E3),this.Da())};e.prototype.dispose=function(){this.VZ();this.ly=this.ZB=this.ih=this.Da=this.sk=this.jg=this.kd=this.o=null};e.prototype.rZ=function(){this.ih=new THREE.AnimationMixer(this.kd);
1775this.Qb=0;this.yb=!1;this.ZB=[];this.ly=[];for(var k=0;k<this.jg.length;k++){var b=this.jg[k],h="alternate"==b.get("animationDirection"),f=this.Qb;this.Qb+=this.sk[k].duration*(h?2:1);this.ly.push({start:f,end:this.Qb});f=this.ih.clipAction(this.sk[k]);h?f.setLoop(THREE.LoopPingPong,2):f.setLoop(THREE.LoopOnce,1);this.ZB.push(f);b.set("state",m.W);b.set("currentTime",0);b.set("duration",this.sk[k].duration)}this.C=m.W;this.wl=void 0;this.o.bind(l.F("state"),this.Di,this,!0);this.o.bind(l.F("currentTime"),
1776this.qD,this,!0);this.o.bind(l.F("animationDirection"),this.Pra,this,!0);this.o.set("duration",this.Qb);this.ct(0);this.o.get("autoplay")&&this.o.set("state",m.Y)};e.prototype.VZ=function(){this.o.unbind(l.F("state"),this.Di,this,!0);this.o.unbind(l.F("currentTime"),this.qD,this,!0);this.o.unbind(l.F("animationDirection"),this.Pra,this,!0);this.o.set("state",m.W);for(var k=0;k<this.jg.length;k++)this.ZB[k].stop(),this.ih.uncacheClip(this.sk[k]),this.jg[k].set("state",m.W),this.jg[k].set("currentTime",
17770);this.o.set("duration",void 0);this.o.set("currentTime",void 0)};e.prototype.Pra=function(){this.VZ();this.rZ()};e.prototype.Di=function(){var k=this.o.get("state");this.C!=k&&(this.C==m.W?k==m.Ib?this.o.set("state",m.W):k==m.Y&&(this.C=m.Y,this.yb=!1,this.ct(0),this.Da()):this.C==m.Y?k==m.W?(this.C=m.W,this.yb&&"last"==this.o.get("finalFrame")?this.ct(this.Qb):this.ct(0)):k==m.Ib&&(this.C=m.Ib):this.C==m.Ib&&(k==m.Y?(this.C=m.Y,this.Da()):k==m.W&&(this.C=m.W,this.ct(0))),void 0!==this.wl&&this.jg[this.wl].set("state",
1778this.C),this.o.set("state",this.C))};e.prototype.qD=function(){var k=this.o.get("currentTime");this.ih.time!=k&&(this.C!=m.W&&this.ct(k),this.o.set("currentTime",this.ih.time))};e.prototype.ct=function(k){if(this.ih.time!=k||void 0===this.wl)if(k>this.Qb)this.o.get("loop")?this.o.set("currentTime",k%this.Qb):(this.yb=!0,this.o.trigger(l.Bb),this.o.set("state",m.W));else{for(var b=this.wl||0;k>this.ly[b].end;)b++;for(;k<this.ly[b].start;)b--;if(this.wl!==b){for(var h=this.wl||0;h<b;h++){var f=this.jg[h],
1779c=this.ZB[h],d=this.ly[h];"last"==f.get("finalFrame")&&"normal"==f.get("animationDirection")?(c.reset(),c.startAt(d.start),f.set("currentTime",f.get("duration")),c.clampWhenFinished=!0,c.play()):(f.set("currentTime",0),c.stop(),c.clampWhenFinished=!1);f.set("state",m.W)}f=this.jg[b];c=this.ZB[b];d=this.ly[b];c.reset();c.startAt(d.start);c.clampWhenFinished="last"==f.get("finalFrame")&&"normal"==f.get("animationDirection");c.play();for(h=this.wl||0;h>b;h--)f=this.jg[h],c=this.ZB[h],f.set("currentTime",
17800),c.stop();this.wl=b}else c=this.ZB[this.wl],k<this.ih.time&&(c.reset(),c.startAt(this.ly[this.wl].start)),c.paused=!1;this.ih.update(k-this.ih.time);f=this.jg[this.wl];f.set("state",this.C);k=this.ih.time-this.ly[this.wl].start;f=f.get("duration");b=k>f;this.jg[this.wl].set("currentTime",b?2*f-k:k);this.jg[this.wl].set("currentDirection",b?"backward":"forward");this.o.set("currentTime",this.ih.time);this.Da()}};return e});
1781define("jP",["require","pg","lg"],function(a){function e(k,b,h,f,c){this.o=k;this.kd=b;this.jg=h;this.sk=f;this.Da=c;this.jaa=this.jaa.bind(this);this.daa=this.daa.bind(this);this.rZ()}var l=a("pg"),m=a("lg");e.prototype.dispose=function(){this.VZ();this.Da=this.sk=this.jg=this.kd=this.o=null};e.prototype.getAnimations=function(){return this.jg};e.prototype.qR=function(){return this.sk};e.prototype.frame=function(k){0<this.Mu.length&&(this.ih.update(k/1E3),this.Mu.forEach(function(b){this.bma(b)}.bind(this)),
1782this.Da())};e.prototype.rZ=function(){this.ih=new THREE.AnimationMixer(this.kd);this.ih.addEventListener("loop",this.jaa);this.ih.addEventListener("finished",this.daa);this.Lu=new Map;this.lU=new Map;this.Mu=[];for(var k=0;k<this.jg.length;k++){var b=this.jg[k],h=this.sk[k];this.lU.set(b,h);var f=this.ih.clipAction(h);this.Lu.set(b,f);b.set("duration",h.duration);
1782b.set("currentTime",b.get("currentTime")||0);b.set("currentDirection","forward");b.bind(l.F("state"),this.Dra,this,!0);b.bind(l.F("animationDirection"),
1783this.Ara,this,!0);b.bind(l.F("currentTime"),this.zra,this,!0);b.bind(l.F("currentDirection"),this.yra,this,!0);b.bind(l.F("loop"),this.Cra,this,!0);b.bind(l.F("finalFrame"),this.Bra,this,!0);this.dJ(b);this.Zwa(b)}this.Da()};e.prototype.VZ=function(){for(var k=0;k<this.jg.length;k++){var b=this.jg[k];b.unbind(l.F("state"),this.Dra,this,!0);b.unbind(l.F("animationDirection"),this.Ara,this,!0);b.unbind(l.F("currentTime"),this.zra,this,!0);b.unbind(l.F("currentDirection"),this.yra,this,!0);b.unbind(l.F("loop"),
1784this.Cra,this,!0);b.unbind(l.F("finalFrame"),this.Bra,this,!0);this.Lu.get(b).stop();this.Lu["delete"](b);this.ih.uncacheClip(this.lU.get(b));this.lU["delete"](b);this.jg[k].set("state",m.W);this.jg[k].set("currentTime",0)}this.ih=this.lU=this.Lu=null};e.prototype.jaa=function(k){this.Lu.forEach(function(b,h){k.action==b&&h.get("loop")&&h.trigger(l.es)})};e.prototype.daa=function(k){this.Lu.forEach(function(b,h){k.action==b&&(this.bma(h),h.set("state",m.W),"alternate"==h.get("animationDirection")&&
1785h.set("currentDirection","forward"==h.get("currentDirection")?"backward":"forward"),h.trigger(l.Bb))}.bind(this))};e.prototype.Ara=function(k){this.dJ(k.source)};e.prototype.Cra=function(k){this.dJ(k.source)};e.prototype.Bra=function(k){this.dJ(k.source)};e.prototype.yra=function(k){this.dJ(k.source)};e.prototype.zra=function(k){this.dJ(k.source)};e.prototype.bma=function(k){this.$la=!0;var b=this.Lu.get(k),h="alternate"==k.get("animationDirection");h=0<b._loopCount&&1==b._loopCount%2&&h;k.set("currentDirection",
1786h?"backward":"forward");b=b.time;var f=k.get("duration");h?k.set("currentTime",f-b):k.set("currentTime",b);this.$la=!1};e.prototype.dJ=function(k){if(!this.$la){var b=this.Lu.get(k),h="alternate"==k.get("animationDirection"),f="backward"==k.get("currentDirection")&&h,c=k.get("loop"),d="last"==k.get("finalFrame"),g=k.get("currentTime");k=k.get("duration");c?(b.loop=h?THREE.LoopPingPong:THREE.LoopRepeat,b.repetitions=Infinity,b.clampWhenFinished=!1):f?(b.loop=THREE.LoopPingPong,b.repetitions=2,b.clampWhenFinished=
1787!1):(b.loop=THREE.LoopOnce,b.repetitions=1,b.clampWhenFinished=d||h);h=!h||-1!=b._loopCount&&0!=b._loopCount%2?h&&1==b._loopCount%2?k-g:g:f?k+k-g:g;b.time!=h&&(b.time=h,b.paused&&b.enabled&&0==h&&b.stop());this.Da()}};e.prototype.Dra=function(k){this.Zwa(k.source)};e.prototype.Zwa=function(k){var b=this.Lu.get(k),h=k.get("state");var f=0<=this.Mu.indexOf(k)?m.Y:b.paused&&b.enabled&&b.time<k.get("duration")?m.Ib:m.W;f!=h&&(f==m.Y?h==m.Ib?(this.Mu.splice(this.Mu.indexOf(k),1),b.paused=!0):h==m.W&&(this.Mu.splice(this.Mu.indexOf(k),
17881),!b.paused&&b.enabled&&b.stop()):f==m.Ib?h==m.Y?(this.Mu.push(k),b.paused=!1):h==m.W&&b.stop():f==m.W&&(h==m.Y?(this.Mu.push(k),b.paused&&b.enabled&&"alternate"==k.get("animationDirection")&&"backward"==k.get("currentDirection")?b.paused=!1:(b.reset(),b.play(),b.fadeIn(.1))):h==m.Ib&&(b.play(),b.paused=!0,this.ih.update(0))),k.set("state",h),this.Da())};return e});
1789define("cp",["require","exports","fK","three.mod"],function(a,e,l,m){return function(){function k(){}k.ac=function(b){return b?b.isObject3D?b:(b=b.getComponent(l.Object3D))?b.ua:null:null};k.getWorldPosition=function(b,h){h=h||new m.Vector3;b=this.ac(b);if(!b)return null;h.setFromMatrixPosition(b.matrixWorld);return h};k.SS=function(b,h){(b=b.getComponent(l.Object3D))&&null!==b.ua&&(b=b.ua,b.matrixAutoUpdate=!1,b.matrixWorldNeedsUpdate=!1,h.Hw&&b.parent?(b.parent.updateWorldMatrix(!0,!1),b.matrix.copy(b.parent.matrixWorld).invert()):
1790b.matrix.identity(),b.matrix.multiply(this.z1.makeTranslation(h.translationX,h.translationY,h.af)),b.matrix.multiply(this.z1.makeRotationFromEuler(this.A0a.set(h.Ne*this.nG,h.qe*this.nG,h.Oe*this.nG,h.Vf))),b.matrix.multiply(this.z1.makeTranslation(h.positionX,h.positionY,h.positionZ)),b.matrix.multiply(this.z1.makeScale(h.scale*h.If,h.scale*h.Wf,h.scale*h.Bh)),b.updateMatrixWorld(!0))};k.qR=function(b){if(!b)return[];b=b.getComponent(l.hh);return(b=null===b||void 0===b?void 0:b.Xfa)?b.animations||
1791[]:[]};k.sR=function(b){return b.getComponent(l.$r)||b.getComponent(l.xj)};k.Gt=function(b){var h=b.getComponent(l.$r);return h?h.camera:(b=b.getComponent(l.xj))?b.ik||b.camera:null};k.hi=function(b){return this.AR(this.ac(b))};k.AR=function(b){for(;b&&!b.isScene;)b=b.parent;return b};k.I6a=function(b,h){b.userData.camera=h};k.L6a=function(b,h,f){b.userData.width=h;b.userData.height=f};
1791k.J6a=function(b,h){b.userData.encoding!==h&&(b.userData.encoding=h,this.bja(b))};k.K6a=function(b,h){b.userData.bAa!==
1792h&&(b.userData.bAa=h,this.bja(b))};k.Ww=function(b){return b.userData.camera};k.DR=function(b){return b.userData.width};k.UE=function(b){return b.userData.height};k.CR=function(b){return b.userData.encoding};k.G2=function(b,h){b.userData.background!==h&&(b.userData.background=h,this.bja(b))};k.bja=function(b){if(b&&b.userData){var h=b.userData.background,f=b.userData.encoding,c=b.userData.bAa;h&&h.isColor?b.background=f==m.sRGBEncoding&&c?h.clone().convertSRGBToLinear():h:(h&&h.isTexture&&(h.encoding=
1793f==m.sRGBEncoding?m.sRGBEncoding:m.LinearEncoding),b.background=h)}};k.SZa=function(b,h){var f=b.userData.Dia||(b.userData.Dia=[]);0<=f.indexOf(h)||(f.push(h),b.add(h),this.f3(b))};k.eEa=function(b,h){var f=b.userData.Dia;if(f){var c=f.indexOf(h);0>c||(f.splice(c,1),b.remove(h))}};k.f3=function(b){var h=b.userData.Dia;if(h){var f=.99*-b.far;h.forEach(function(c){c.position.z=f})}};k.mya=function(b,h){var f=b.userData.Bia||(b.userData.Bia=[]);0<=f.indexOf(h)||(f.push(h),b.add(h),this.CGa(b))};k.fEa=
1794function(b,h){var f=b.userData.Bia;if(f){var c=f.indexOf(h);0>c||(f.splice(c,1),b.remove(h))}};k.CGa=function(b){var h=b.userData.Bia;if(h){var f=.99*b.far;h.forEach(function(c){c.scale.x=c.scale.y=c.scale.z=f})}};k.dK=function(b){if((b=this.ac(b))&&b.parent){var h=this.QAa(b);if(h)return this.gS.setFromMatrixScale(b.parent.matrixWorld),h/Math.max(this.gS.x,this.gS.y,this.gS.z)}};k.QAa=function(b){if((b=this.ac(b))&&b.parent){var h=this.AR(b);if(h){var f=this.Ww(h);if(f)return b.matrixWorld.decompose(this.objectPosition,
1795this.t3a,this.gS),this.objectPosition.applyMatrix4(f.matrixWorldInverse),this.ap.setFromMatrixScale(f.matrixWorld),2*Math.abs(this.objectPosition.z)*Math.tan(f.fov*this.nG/2)*Math.max(this.ap.x,this.ap.y,this.ap.z)/this.UE(h)}}};k.tA=function(b,h){if(b.userData.id===h)return b;var f=null;if(b.children)for(var c=0;c<b.children.length&&!f;c++)f=this.tA(b.children[c],h);if(!f&&b.skeleton)for(c=0;c<b.skeleton.bones.length&&!f;c++)f=this.tA(b.skeleton.bones[c],h);return f};k.iAa=function(){this.pfa||(this.pfa=
1796new m.WebGLRenderer);return this.pfa};k.CFa=function(b){this.lfa||(this.lfa=new m.DRACOLoader,this.lfa.setDecoderPath(m.zHa));this.n1||(this.n1=new m.KTX2Loader,this.n1.setTranscoderPath(m.lHa),this.n1.detectSupport(this.iAa()));b.setKTX2Loader(this.n1);b.setMeshoptDecoder(m.MeshoptDecoder);b.setDRACOLoader(this.lfa);return b};k.z1=new m.Matrix4;k.A0a=new m.Euler;k.objectPosition=new m.Vector3;k.t3a=new m.Quaternion;k.gS=new m.Vector3;k.ap=new m.Vector3;k.nG=Math.PI/180;k.pfa=null;return k}()});
1797define("C","require kS lg fK bf cg jP cp".split(" "),function(a){function e(g){this.m=g;this.sk=this.kd=null;this.mU={};this.tV=new Map;this.Js=this.xl=this.o=null;this.dg=!1;this.aO=this.aO.bind(this);this.update()}function l(g,p){if(g==p||!(null!=g&&0!=g.length||null!=p&&0!=p.length))return!0;if(null==g||null==p||g.length!=p.length)return!1;for(var q=0;q<g.length;q++)if(g[q]!=p[q])return!1;return!0}var m=a("kS"),k=a("lg"),b=a("fK"),h=a("bf"),f=a("cg"),c=a("jP"),d=a("cp");e.prototype.update=function(){var g=
1798this.m.getComponent(b.Animation);this.em(g&&g.properties)};e.prototype.frame=function(g,p){this.kJ();this.dg&&(this.dg=!1,this.xl&&this.xl.frame(g,p),this.Js&&this.Js.frame(g,p))};e.prototype.dispose=function(){this.em(null)};e.prototype.em=function(g){this.o!=g&&(this.o&&(m.ba(this.o,["animations.autoplay"],this.aO),this.DUa()),(this.o=g)&&m.vt(this.o,["animations.autoplay"],this.aO),this.aO())};e.prototype.aO=function(){this.fxa()};e.prototype.kJ=function(){if(!this.kd){var g=d.ac(this.m),p=d.qR(this.m);
1799if(this.kd!=g||this.sk!=p)this.kd=g,this.sk=p,this.mU={},this.sk.forEach(function(q){q.name&&(this.mU[q.name]=q)}.bind(this)),this.fxa()}};e.prototype.fxa=function(){var g=this.o&&this.o.get("animations")||[],p=this.sk||[],q=p.slice(),n=[],r=[],u=[],t=[];g.length&&p.length&&g.forEach(function(v){var w=v.get("index"),x=v.get("name"),y;void 0!==w&&w<p.length?y=p[w]:void 0!==x&&x in this.mU&&(y=this.mU[x]);0<=q.indexOf(y)&&(q.splice(q.indexOf(y),1),v.get("autoplay")?(n.push(y),r.push(v)):(u.push(y),
1800t.push(v)))}.bind(this));this.o&&0==r.length&&0<q.length&&(r=q.map(function(v){if(this.tV.has(v))return this.tV.get(v);var w=new h;this.tV.set(v,w);return w}.bind(this)),n=q);l(this.xl&&this.xl.getAnimations()||[],r)&&l(this.xl&&this.xl.qR()||[],n)||(this.xl&&(this.xl.dispose(),this.xl=null),0<r.length&&(this.xl=new f(this.o,this.kd,r,n,this.Da.bind(this))));l(this.Js&&this.Js.getAnimations()||[],t)&&l(this.Js&&this.Js.qR()||[],u)||(this.Js&&(this.Js.dispose(),this.Js=null),0<t.length&&(this.Js=new c(this.o,
1801this.kd,t,u,this.Da.bind(this))))};e.prototype.DUa=function(){(this.o&&this.o.get("animations")||[]).forEac
1801h(function(g){g.set("state",k.W);g.set("currentTime",0)});this.tV.clear()};e.prototype.Da=function(){this.dg||(this.dg=!0,this.m.T.Va())};e.$a=function(g){g.J(b.du).manager=new e(g)};e.Ba=function(g){var p=g.getComponent(b.du);p.manager.dispose();p.manager=null;g.la(b.du)};e.update=function(g){g.getComponent(b.du).manager.update()};e.frame=function(g,p,q){g.getComponent(b.du).manager.frame(p,
1802q)};return e});
1803define("ns",["require","lE","lO","fK","C"],function(a){var e=a("lE"),l=a("lO"),m=a("fK"),k=a("C");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Id=function(b,h){this.wya.A.length&&this.wya.A.slice().forEach(k.$a);this.animations.Fa.length&&this.animations.Fa.slice().forEach(function(f){k.update(f,b,h)});this.animations.A.length&&this.animations.A.slice().forEach(function(f){k.frame(f,b,h)});this.xya.A.length&&this.xya.A.slice().forEach(k.Ba)};a.I={};a.I.wya=[m.Animation,m.du.not];
1804a.I.xya=[m.Animation.not,m.du];a.I.animations=[m.Animation,m.du];return a});
1805define("fi",["require"],function(){function a(v,w,x,y,z){for(var C,A=0,B=w,E=x-y;B<x;B+=y)A+=(v[E]-v[B])*(v[B+1]+v[E+1]),E=B;if(z===0<A)for(z=w;z<x;z+=y)C=r(z,v[z],v[z+1],C);else for(z=x-y;z>=w;z-=y)C=r(z,v[z],v[z+1],C);C&&c(C,C.next)&&(u(C),C=C.next);return C}function e(v,w){if(!v)return v;w||(w=v);do{var x=!1;if(v.XFa||!c(v,v.next)&&0!==f(v.prev,v,v.next))v=v.next;else{u(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,C,A){if(v){if(!A&&C){var B=v,E=B;do 0===
1806E.z&&(E.z=b(E.x,E.y,y,z,C)),E.Dr=E.prev,E=E.ym=E.next;while(E!==B);E.Dr.ym=null;E.Dr=null;B=E;var G,K,I,Q,W=1;do{E=B;var U=B=null;for(K=0;E;){K++;var T=E;for(G=I=0;G<W&&(I++,T=T.ym,T);G++);for(Q=W;0<I||0<Q&&T;)0!==I&&(0===Q||!T||E.z<=T.z)?(G=E,E=E.ym,I--):(G=T,T=T.ym,Q--),U?U.ym=G:B=G,G.Dr=U,U=G;E=T}U.ym=null;W*=2}while(1<K)}for(B=v;v.prev!==v.next;){E=v.prev;T=v.next;if(C)U=m(v,y,z,C);else a:{var X=v;U=X.prev;Q=X.next;if(0<=f(U,X,Q))U=!1;else{K=U.x;I=X.x;W=Q.x;G=U.y;X=X.y;var D=Q.y,M=K<I?K<W?K:W:
1807I<W?I:W,S=G<X?G<D?G:D:X<D?X:D,Y=K>I?K>W?K:W:I>W?I:W,ca=G>X?G>D?G:D:X>D?X:D;for(Q=Q.next;Q!==U;){if(Q.x>=M&&Q.x<=Y&&Q.y>=S&&Q.y<=ca&&h(K,G,I,X,W,D,Q.x,Q.y)&&0<=f(Q.prev,Q,Q.next)){U=!1;break a}Q=Q.next}U=!0}}if(U)w.push(E.Ig/x|0),w.push(v.Ig/x|0),w.push(T.Ig/x|0),u(v),B=v=T.next;else if(v=T,v===B){if(A)if(1===A){v=e(v);A=w;B=x;E=v;do T=E.prev,U=E.next.next,!c(T,U)&&d(T,E,E.next,U)&&q(T,U)&&q(U,T)&&(A.push(T.Ig/B|0),A.push(E.Ig/B|0),A.push(U.Ig/B|0),u(E),u(E.next),E=v=U),E=E.next;while(E!==v);v=e(E);
1808l(v,w,x,y,z,C,2)}else{if(2===A)a:{A=v;do{for(B=A.next.next;B!==A.prev;){if(E=A.Ig!==B.Ig){E=A;T=B;if(U=E.next.Ig!==T.Ig&&E.prev.Ig!==T.Ig){b:{U=E;do{if(U.Ig!==E.Ig&&U.next.Ig!==E.Ig&&U.Ig!==T.Ig&&U.next.Ig!==T.Ig&&d(U,U.next,E,T)){U=!0;break b}U=U.next}while(U!==E);U=!1}U=!U}if(U){if(U=q(E,T)&&q(T,E)){U=E;K=!1;I=(E.x+T.x)/2;W=(E.y+T.y)/2;do U.y>W!==U.next.y>W&&U.next.y!==U.y&&I<(U.next.x-U.x)*(W-U.y)/(U.next.y-U.y)+U.x&&(K=!K),U=U.next;while(U!==E);U=K}U=U&&(f(E.prev,E,T.prev)||f(E,T.prev,T))||c(E,
1809T)&&0<f(E.prev,E,E.next)&&0<f(T.prev,T,T.next)}E=U}if(E){v=n(A,B);A=e(A,A.next);v=e(v,v.next);l(A,w,x,y,z,C,0);l(v,w,x,y,z,C,0);break a}B=B.next}A=A.next}while(A!==v)}}else l(e(v),w,x,y,z,C,1);break}}}}function m(v,w,x,y){var z=v.prev,C=v.next;if(0<=f(z,v,C))return!1;var A=z.x,B=v.x,E=C.x,G=z.y,K=v.y,I=C.y,Q=A<B?A<E?A:E:B<E?B:E,W=G<K?G<I?G:I:K<I?K:I,U=A>B?A>E?A:E:B>E?B:E,T=G>K?G>I?G:I:K>I?K:I,X=b(Q,W,w,x,y);w=b(U,T,w,x,y);x=v.Dr;for(v=v.ym;x&&x.z>=X&&v&&v.z<=w;){if(x.x>=Q&&x.x<=U&&x.y>=W&&x.y<=T&&
1810x!==z&&x!==C&&h(A,G,B,K,E,I,x.x,x.y)&&0<=f(x.prev,x,x.next))return!1;x=x.Dr;if(v.x>=Q&&v.x<=U&&v.y>=W&&v.y<=T&&v!==z&&v!==C&&h(A,G,B,K,E,I,v.x,v.y)&&0<=f(v.prev,v,v.next))return!1;v=v.ym}for(;x&&x.z>=X;){if(x.x>=Q&&x.x<=U&&x.y>=W&&x.y<=T&&x!==z&&x!==C&&h(A,G,B,K,E,I,x.x,x.y)&&0<=f(x.prev,x,x.next))return!1;x=x.Dr}for(;v&&v.z<=w;){if(v.x>=Q&&v.x<=U&&v.y>=W&&v.y<=T&&v!==z&&v!==C&&h(A,G,B,K,E,I,v.x,v.y)&&0<=f(v.prev,v,v.next))return!1;v=v.ym}return!0}function k(v,w){return v.x-w.x}function b(v,w,x,y,
1811z){v=(v-x)*z|0;w=(w-y)*z|0;v=(v|v<<8)&16711935;v=(v|v<<4)&252645135;v=(v|v<<2)&858993459;w=(w|w<<8)&16711935;w=(w|w<<4)&252645135;
1811w=(w|w<<2)&858993459;return(v|v<<1)&1431655765|((w|w<<1)&1431655765)<<1}function h(v,w,x,y,z,C,A,B){return(z-A)*(w-B)>=(v-A)*(C-B)&&(v-A)*(y-B)>=(x-A)*(w-B)&&(x-A)*(C-B)>=(z-A)*(y-B)}function f(v,w,x){return(w.y-v.y)*(x.x-w.x)-(w.x-v.x)*(x.y-w.y)}function c(v,w){return v.x===w.x&&v.y===w.y}function d(v,w,x,y){var z=p(f(v,w,x)),C=p(f(v,w,y)),A=p(f(x,y,v)),B=p(f(x,y,w));
1812return z!==C&&A!==B||0===z&&g(v,x,w)||0===C&&g(v,y,w)||0===A&&g(x,v,y)||0===B&&g(x,w,y)?!0:!1}function g(v,w,x){return w.x<=Math.max(v.x,x.x)&&w.x>=Math.min(v.x,x.x)&&w.y<=Math.max(v.y,x.y)&&w.y>=Math.min(v.y,x.y)}function p(v){return 0<v?1:0>v?-1:0}function q(v,w){return 0>f(v.prev,v,v.next)?0<=f(v,w,v.next)&&0<=f(v,v.prev,w):0>f(v,w,v.prev)||0>f(v,v.next,w)}function n(v,w){var x=new t(v.Ig,v.x,v.y),y=new t(w.Ig,w.x,w.y),z=v.next,C=w.prev;v.next=w;w.prev=v;x.next=z;z.prev=x;y.next=x;x.prev=y;C.next=
1813y;y.prev=C;return y}function r(v,w,x,y){v=new t(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 u(v){v.next.prev=v.prev;v.prev.next=v.next;v.Dr&&(v.Dr.ym=v.ym);v.ym&&(v.ym.Dr=v.Dr)}function t(v,w,x){this.Ig=v;this.x=w;this.y=x;this.next=this.prev=null;this.z=0;this.ym=this.Dr=null;this.XFa=!1}return function(v,w,x){x=x||2;var y=w&&w.length,z=y?w[0]*x:v.length,C=a(v,0,z,x,!0),A=[];if(!C||C.next===C.prev)return A;var B;if(y){var E=C;var G=x;C=[];var K;
1814y=0;for(K=w.length;y<K;y++){var I=w[y]*G;var Q=y<K-1?w[y+1]*G:v.length;I=a(v,I,Q,G,!1);I===I.next&&(I.XFa=!0);Q=C;var W=Q.push,U=I,T=I;do{if(U.x<T.x||U.x===T.x&&U.y<T.y)T=U;U=U.next}while(U!==I);W.call(Q,T)}C.sort(k);for(y=0;y<C.length;y++){G=void 0;w=C[y];b:{K=E;I=w.x;Q=w.y;W=-Infinity;do{if(Q<=K.y&&Q>=K.next.y&&K.next.y!==K.y&&(U=K.x+(Q-K.y)*(K.next.x-K.x)/(K.next.y-K.y),U<=I&&U>W&&(W=U,G=K.x<K.next.x?K:K.next,U===I)))break b;K=K.next}while(K!==E);if(G){T=G;var X=G.x,D=G.y,M=Infinity;K=G;do{if(I>=
1815K.x&&K.x>=X&&I!==K.x&&h(Q<D?I:W,Q,X,D,Q<D?W:I,Q,K.x,K.y)){U=Math.abs(Q-K.y)/(I-K.x);var S;if((S=q(K,w))&&!(S=U<M)&&(S=U===M)&&!(S=K.x>G.x)&&(S=K.x===G.x)){S=G;var Y=K;S=0>f(S.prev,S,Y.prev)&&0>f(Y.next,S,S.next)}S&&(G=K,M=U)}K=K.next}while(K!==T)}else G=null}G&&(w=n(G,w),e(w,w.next),E=e(G,G.next))}C=E}if(v.length>80*x){var ca=B=v[0];var da=y=v[1];for(E=x;E<z;E+=x)w=v[E],G=v[E+1],w<ca&&(ca=w),G<da&&(da=G),w>B&&(B=w),G>y&&(y=G);B=Math.max(B-ca,y-da);B=0!==B?32767/B:0}l(C,A,x,ca,da,B,0);return A}});
1816define("oc",["require","exports"],function(){return function(){function a(){}a.D1a=function(e){return e.userData.wr||e.material};a.lA=function(e,l){if(e.material!=l&&e.userData.wr!=l){var m=e.userData.bS;this.Fha(e);e.material=l;m&&this.rfa(e);e.needsUpdate=!0}};a.rfa=function(e){e.userData.bS||(e.userData.bS=!0,e.userData.wr=e.material,e.material=this.O_a(e.material))};a.Fha=function(e){e.userData.bS&&(this.t0a(e.material),e.material=e.userData.wr,delete e.userData.wr,delete e.userData.bS)};a.l8a=
1817function(e){if(e.userData.bS){var l=e.userData.wr;e=e.material;e.side=l.side;e.depthTest=l.depthTest;e.map&&l.map&&(e.map.encoding=l.map.encoding);e.emissiveMap&&l.emissiveMap&&(e.emissiveMap.encoding=l.emissiveMap.encoding)}};a.O_a=function(e){return Array.isArray(e)?e.map(function(l){return l.clone()}):e?e.clone():e};a.t0a=function(e){Array.isArray(e)?e.forEach(function(l){l.dispose()}):e&&e.dispose()};return a}()});
1818define("o","require lE pg fi lO fK cp oc".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("fi"),k=a("lO"),b=a("fK"),h=a("cp"),f=a("oc");a=e.extend(k,function(){k.apply(this,arguments);this.we=this.we.bind(this);this.Pe=this.Pe.bind(this);this.ad=this.ad.bind(this);this.h3=this.h3.bind(this)});a.prototype.Id=function(){this.Aya.A.length&&this.Aya.A.slice().forEach(this.we);this.zya.Fa.length&&this.k8a(this.zya.Fa.slice());this.areas.Fa.length&&this.areas.Fa.slice().forEach(this.Pe);this.Bya.A.length&&
1819this.Bya.A.slice().forEach(this.ad);this.Cya.A.length&&this.Cya.A.slice().forEach(this.ad)};a.prototype.we=function(I){I.J(b.Gx);this.Pe(I)};a.prototype.Pe=function(I){this.q8a(I);this.LGa(I)};a.prototype.k8a=function(I){var Q=[];I.forEach(function(W){W.getComponent(b.nB).S_.forEach(function(U){-1===Q.indexOf(U)&&Q.push(U)})});Q.forEach(this.h3)};a.prototype.q8a=function(I){this.u8a(I);this.h3(I)};a.prototype.u8a=function(I){var Q=I.getComponent(b.Fm),W=Q&&Q.A||[],U=(Q=I.getComponent(b.Gx))&&Q.A||
1820[];
1820U.forEach(function(T){if(-1===W.indexOf(T)){var X=T.getComponent(b.nB).S_.filter(function(D){return D!==D});0==X.length?T.la(b.nB):T.H(b.nB).S_=X}});W.forEach(function(T){-1===U.indexOf(T)&&T.H(b.nB,!0).S_.push(I)})};var c=new THREE.Matrix4,d=[];a.prototype.h3=function(I){var Q=I.getComponent(b.Fm);for(Q=Q&&Q.A||[];d.length<Q.length;)d.push(new THREE.Vector3);var W=Q.map(function(M,S){return M.getComponent(b.Object3D).ua.getWorldPosition(d[S])});W=W.filter(function(M,S){return 1E-4<M.distanceTo(W[(S+
18211)%W.length])});Q=this.S1a(W);if(0===Q.length)this.Qna(I),this.Iwa(I);else{this.JVa(I,3*Q.length);this.w8a(I,d,Q);c.copy(I.getComponent(b.Object3D).ua.matrixWorld).invert();d.forEach(function(M){M.applyMatrix4(c)});I=I.getComponent(b.Geometry);for(var U=I.geometry.attributes.position.array,T=0,X=0;T<Q.length;){var D=d[Q[T++]];U[X++]=D.x;U[X++]=D.y;U[X++]=D.z;D=d[Q[T++]];U[X++]=D.x;U[X++]=D.y;U[X++]=D.z;D=d[Q[T++]];U[X++]=D.x;U[X++]=D.y;U[X++]=D.z}I.geometry.attributes.position.needsUpdate=!0}};var g=
1822new THREE.Plane,p=new THREE.Vector3,q=new THREE.Vector3,n=new THREE.Vector3,r=new THREE.Line3,u=new THREE.Vector3,t=new THREE.Vector3,v=new THREE.Vector3,w=new THREE.Vector3,x=new THREE.Vector3,y=5*Math.PI/180;a.prototype.S1a=function(I){if(3>I.length)return[];var Q=I[0];for(var W=Number.NEGATIVE_INFINITY,U=1;U<I.length;++U){var T=Q.distanceToSquared(I[U]);if(!(T<=W)){W=T;var X=I[U]}}if(0>=W)return[];r.set(Q,X);W=Number.NEGATIVE_INFINITY;for(U=0;U<I.length;++U)if(T=r.closestPointToPoint(I[U],!0,u).distanceToSquared(I[U]),
1823!(T<=W)){W=T;var D=I[U]}if(0>=W)return[];g.setFromCoplanarPoints(Q,X,D);for(U=0;U<I.length;++U)if(W=I[U],W!==Q&&W!==X&&W!==D){t.copy(Q).sub(W).normalize();v.copy(X).sub(W).normalize();w.copy(D).sub(W).normalize();W=t.dot(v);T=t.dot(w);var M=v.dot(w);W<T&&W<M?x.copy(t).cross(v):T<M?x.copy(t).cross(w):x.copy(v).cross(w);x.normalize();W=Math.abs(Math.acos(x.dot(g.normal)));W>.5*Math.PI&&(W=Math.PI-W);if(W>y)return[]}q.copy(I[1]).sub(I[0]).normalize();n.copy(g.normal).cross(q).normalize();Q=[];for(U=
18240;U<I.length;++U)g.projectPoint(I[U],p),Q.push(p.dot(q),p.dot(n));return m(Q,null,2)};var z=new THREE.Vector3,C=new THREE.Vector3,A=new THREE.Vector3,B=new THREE.Vector3,E=new THREE.Vector3,G=new THREE.Vector3,K=new THREE.Vector3;a.prototype.w8a=function(I,Q,W){var U=0;z.set(0,0,0);for(var T=0;T<W.length;){A.copy(Q[W[T++]]);B.copy(Q[W[T++]]);E.copy(Q[W[T++]]);C.copy(A).add(B).add(E).divideScalar(3);var X=.5*K.subVectors(E,A).cross(G.subVectors(B,A)).length();C.multiplyScalar(X);z.add(C);U+=X}z.divideScalar(U);
1825Q=I.H(b.Aa,!0);Q.positionX=z.x;Q.positionY=z.y;Q.positionZ=z.z;h.SS(I,Q);this.Iwa(I,U)};a.prototype.Iwa=function(I,Q){(I=(I=I.H(b.Fm))&&I.P)&&I.trigger(l.ca,{area:Q})};a.prototype.LGa=function(I){var Q=I.getComponent(b.Object3D);if(Q=Q&&Q.ua){var W=I.getComponent(b.Material).material;W&&f.lA(Q,W);Q.renderOrder=I.getComponent(b.Fm).renderOrder}};a.prototype.Qna=function(I){var Q=I.getComponent(b.Geometry);Q&&(Q.geometry&&Q.geometry.dispose(),I.la(b.Geometry),I.getComponent(b.Object3D).ua.geometry=
1826null);if(Q=I.getComponent(b.Object3D))Q.ua&&Q.ua.parent&&Q.ua.parent.remove(Q.ua),I.la(b.Object3D)};a.prototype.JVa=function(I,Q){var W=I.getComponent(b.Geometry);W&&W.geometry&&W.geometry.attributes.position.array.length===3*Q||(W=I.H(b.Geometry,!0),W.geometry&&W.geometry.dispose(),W.geometry=this.uMa(Q),Q=I.getComponent(b.Object3D),Q||(Q=I.J(b.Object3D),Q.ua=new THREE.Mesh,this.LGa(I)),Q.ua.geometry=W.geometry)};a.prototype.uMa=function(I){var Q=new THREE.BufferGeometry,W=Q.setAttribute,U=THREE.Float32BufferAttribute;
1827I*=3;for(var T=[],X=0;X<I;X++)T.push(0);W.call(Q,"position",new U(T,3));return Q};a.prototype.ad=function(I){this.Qna(I);I.la(b.Gx);I.la(b.Object3D)};a.I={};a.I.Aya=[b.Material,b.Fm,b.Gx.not];a.I.zya=[b.Object3D,b.Aa,b.nB];a.I.areas=[b.Fm,b.Material,b.Gx];a.I.Bya=[b.Fm.not,b.Gx];a.I.Cya=[b.Material.not,b.Gx];return a});
1828define("nm","require lE pg lO fK cp".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("lO"),k=a("fK"),b=a("cp");a=e.extend(m,function(){m.apply(this,arguments);this.uia=this.uia.bind(this);
1828this.X2=this.X2.bind(this);this.tia=this.tia.bind(this);this.W2=this.W2.bind(this);this.UQ=new Map;this.xCa=new Map;this.V_=new Map;this.yCa=new Map});a.prototype.Id=function(){this.Hya.A.length&&this.Hya.A.slice().forEach(this.uia);this.Iya.A.length&&this.Iya.A.slice().forEach(this.X2);this.Jya.A.length&&this.Jya.A.slice().forEach(this.X2);
1829this.Kya.A.length&&this.Kya.A.slice().forEach(this.tia);this.Lya.A.length&&this.Lya.A.slice().forEach(this.W2);this.Mya.A.length&&this.Mya.A.slice().forEach(this.W2);this.frame()};a.I={};a.I.Hya=[k.Object3D,k.Xn,k.fu.not];a.I.n_a=[k.Object3D,k.Xn,k.fu];a.I.Iya=[k.Object3D.not,k.fu];a.I.Jya=[k.Xn.not,k.fu];a.I.Kya=[k.Object3D,k.Mx,k.Nx.not];a.I.Lya=[k.Object3D.not,k.Nx];a.I.Mya=[k.Mx.not,k.Nx];a.prototype.frame=function(){0!=this.n_a.A.length&&this.V_.forEach(function(h,f){var c=this.UQ.get(f)||[];
1830c.forEach(function(d){var g=d.getComponent(k.Object3D).ua;d.getComponent(k.Nx).position.set(0,0,0).applyMatrix4(g.matrixWorld)});h.forEach(function(d){var g=d.getComponent(k.Object3D).ua;d.getComponent(k.fu).position.set(0,0,0).applyMatrix4(g.matrixWorld)});h.forEach(function(d){var g=d.getComponent(k.Xn).P;d=this.rR(c,d.getComponent(k.fu).position);g.trigger(l.ca,{beacons:d})}.bind(this))}.bind(this))};a.prototype.V0a=function(h){return function(f){var c=this.UQ.get(h.T)||[];return this.rR(c,f)}.bind(this)};
1831a.prototype.rR=function(h,f){h=h.map(function(c){return{entity:c,distance:f.distanceTo(c.getComponent(k.Nx).position)}});h.sort(function(c,d){return c.distance-d.distance});return h};a.prototype.uia=function(h){h.J(k.fu).position=new THREE.Vector3;this.yCa.set(h,b.ac(h));var f=this.V_.get(h.T);f||this.V_.set(h.T,f=[]);0>f.indexOf(h)&&f.push(h);h.getComponent(k.Xn).rR=this.V0a(h)};a.prototype.X2=function(h){var f=this.V_.get(h.T),c=f.indexOf(h);0<=c&&f.splice(c,1);this.yCa["delete"](h);h.la(k.fu)};
1832a.prototype.tia=function(h){h.J(k.Nx).position=new THREE.Vector3;this.xCa.set(h,b.ac(h));var f=this.UQ.get(h.T);f||this.UQ.set(h.T,f=[]);0>f.indexOf(h)&&f.push(h)};a.prototype.W2=function(h){var f=this.UQ.get(h.T),c=f.indexOf(h);0<=c&&f.splice(c,1);this.xCa["delete"](h);h.la(k.Nx)};return a});
1833define("lh",["require","exports"],function(){return function(){function a(){}a.rm=function(e,l,m){return this.FE(e,l,m)};a.Mr=function(e,l,m){return this.FE(e,m,l)};a.FE=function(e,l,m){return 2*Math.atan(m*Math.tan(e*this.nG*.5)/l)*this.UIa};a.UIa=180/Math.PI;a.nG=Math.PI/180;return a}()});
1834define("ij","require lE pg lO fK lh oB cp".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("lO"),k=a("fK"),b=a("lh"),h=a("oB"),f=a("cp");a=e.extend(m,function(){m.apply(this,arguments);this.wia=this.wia.bind(this);this.xia=this.xia.bind(this);this.i3=this.i3.bind(this);this.j3=this.j3.bind(this);this.Kia=this.Kia.bind(this);this.Lia=this.Lia.bind(this);h.P.bind(l.ca,this.Le,this,!0)});a.prototype.Id=function(){this.sDa.A.length&&this.sDa.A.slice().forEach(this.wia);this.xDa.A.length&&this.xDa.A.slice().forEach(this.xia);
1835this.oF.Fa.length&&this.oF.Fa.slice().forEach(this.i3);this.Br.Fa.length&&this.Br.Fa.slice().forEach(this.j3);this.tDa.A.length&&this.tDa.A.slice().forEach(this.Kia);this.yDa.A.length&&this.yDa.A.slice().forEach(this.Lia)};a.prototype.Le=function(){this.Br.A.forEach(function(n){n.H(k.PerspectiveCamera)})};a.prototype.wia=function(n){var r=n.H(k.OrthographicCamera),u=n.J(k.$r);n.J(k.Object3D).ua=u.camera=r.camera=new THREE.OrthographicCamera;this.i3(n)};a.prototype.xia=function(n){var r=n.H(k.PerspectiveCamera),
1836u=n.J(k.xj);u.boundingBox=new THREE.Box3;u.d2=!0;n.J(k.Object3D).ua=u.camera=r.camera=new THREE.PerspectiveCamera;this.j3(n)};a.prototype.i3=function(n){var r=n.getComponent(k.OrthographicCamera);n=n.getComponent(k.$r);n.width=r.width;n.height=r.height;n=n.camera;n.left=-.5*r.width;n.right=.5*r.width;n.top=.5*r.height;n.bottom=-.5*r.height;n.updateProjectionMatrix()};a.prototype.j3=function(n){var r=n.getComponent(k.PerspectiveCamera),u=n.getComponent(k.xj);r.sm?(n.J(k.qk),u.width=h.framebufferWidth?
1837.5*h.framebufferWidth:r.width,u.height=h.framebufferHeight||r.height,n=u.ik=h.Zg.xr.getCamera(),n.aspect=u.width/u.height,n.fov=u.fov=n&&n.cameras.length?2*Math.atan2(1,n.cameras[0].projectionMatrix.elements[5])*g:r.fov,n.near=u.near=.1,n.far=u.far=1E3,f.f3(n)):(n.la(k.qk),u.fov=r.fov,u.width=r.width,u.height=r.height,u.ik=null,n=u.camera,n.aspect=u.width/u.height,n.fov=u.width>u.height?b.rm(u.fov,u.width,u.height):u.fov,n.near=u.near=r.near,n.far=u.far=r.far,f.f3(n),u.camera.updateProjectionMatrix())};
1838a.prototype.Kia=function(n){var r=n.getComponent(k.$r);r.camera.parent&&r.camera.parent.remove(r.camera);r.camera=null;n.la(k.$r);n.la(k.Object3D)};a.prototype.Lia=function(n){var r=n.getComponent(k.xj),u=r.camera;h.h$a&&u.parent&&u.parent.remove(u);r.camera=null;n.la(k.xj);n.la(k.Object3D)};a.I={};
1838a.I.sDa=[k.OrthographicCamera,k.$r.not];a.I.tDa=[k.OrthographicCamera.not,k.$r];a.I.xDa=[k.PerspectiveCamera,k.xj.not];a.I.yDa=[k.PerspectiveCamera.not,k.xj];a.I.oF=[k.OrthographicCamera,k.$r];a.I.Br=[k.PerspectiveCamera,
1839k.xj];a.TF=e.extend(m,function(){m.apply(this,arguments);this.jha=this.jha.bind(this)});a.TF.prototype.Id=function(){this.Br.A.length&&this.Br.A.slice().forEach(this.jha)};a.TF.prototype.jha=function(n){var r=n.getComponent(k.PerspectiveCamera);if(r.Eya){var u=n.getComponent(k.xj),t=u.scene||f.hi(n),v=u.camera;if(t&&v&&f.AR(v)===t){var w=Number.POSITIVE_INFINITY,x=Number.NEGATIVE_INFINITY;if(r.sm)w=.1,x=1E3;else{var y=!1;u.d2&&(u.boundingBox=this.I6(t,u.boundingBox),u.d2=!1,y=!0);t=u.boundingBox;
1840t=[[t.min.x,t.max.x],[t.min.y,t.max.y],[t.min.z,t.max.z]];for(var z=0;2>z;z++)for(var C=0;2>C;C++)for(var A=0;2>A;A++)q.set(t[0][z],t[1][C],t[2][A]).applyMatrix4(v.matrixWorldInverse),-q.z>x&&(x=-q.z),-q.z<w&&(w=-q.z);t=Math.max(r.Fya||0,0);z=.5*(w+x);w+=(w-z)*t;x+=(x-z)*t;x=Infinity==x||isNaN(x)?2E3:x;w=0<w?w:20<x?.1:.01}if(Math.abs(r.near-w)>d||Math.abs(r.far-x)>d)v.far=u.far=r.far=x,v.near=u.near=r.near=w,f.f3(v),f.CGa(v),v.updateProjectionMatrix();y||u.Pea||(u.Pea=setTimeout(function(){u.Pea=
1841null;u.d2=!0;n.T&&n.T.Va()},c))}}};a.TF.prototype.I6=function(n,r){r||(r=new THREE.Box3);r.makeEmpty();n.traverse(function(u){if(u.boundingBox)var t=u.boundingBox;else{if(!u.geometry||u.isSprite||u.b$a||u.material&&!u.material.visible)return;u.updateWorldMatrix(!1,!1);t=u.geometry;null===t.boundingBox&&t.computeBoundingBox();t=t.boundingBox}p.copy(t);p.applyMatrix4(u.matrixWorld);r.union(p)});return r};var c=500,d=1E-4,g=180/Math.PI,p=new THREE.Box3,q=new THREE.Vector3;a.TF.I={};a.TF.I.Br=[k.PerspectiveCamera,
1842k.xj];return a});
1843define("he",["require","exports","three.mod"],function(a,e,l){a=function(){function f(){}f.intersect=function(c,d){m.length=0;d.forEach(function(g){this.SDa(g);
1843g.isSkinnedMesh&&!g.userData.Kea&&(g.userData.Kea=g.geometry.boundingBox,g.geometry.boundingBox=b,g.userData.Pya=g.geometry.boundingSphere,g.geometry.boundingSphere=h,m.push(g))}.bind(this));c.firstHitOnly=!0;d=d.filter(function(g){return(g.isScene||g.parent)&&(!g.isMesh||g.geometry)});k.length=0;k=c.intersectObjects(d,!1,k);m.forEach(function(g){g.geometry.boundingBox=
1844g.userData.Kea;delete g.userData.Kea;g.geometry.boundingSphere=g.userData.Pya;delete g.userData.Pya});k=k.filter(function(g){return g.object.isLine?!1:!0});k.sort(function(g,p){var q=-g.object.renderOrder,n=-p.object.renderOrder;q==n&&(q=g.object.material&&!g.object.material.depthTest?0:1,n=p.object.material&&!p.object.material.depthTest?0:1);q==n&&(q=g.distance,n=p.distance);return q-n});return k};f.SDa=function(c){c.isMesh&&c.geometry&&!c.geometry.userData.Nya&&!c.isSkinnedMesh&&(c.geometry.computeBoundsTree(),
1845c.geometry.userData.Nya=!0)};return f}();var m=[],k=[],b=new l.Box3;b.min.x=b.min.y=b.min.z=-Infinity;b.max.x=b.max.y=b.max.z=Infinity;var h=new l.Sphere;h.center.x=h.center.y=h.center.z=0;h.radius=Infinity;return a});
1846define("mq",["require","exports","cp","he","three.mod"],function(a,e,l,m,k){a=function(){function f(c){this.xF=null;this.uza=new k.Vector3;this.jfa=void 0;this.ib=c}f.prototype.refresh=function(){this.xF=null};f.prototype.MF=function(c,d){return 0<this.intersect(c,d).length};f.prototype.I2a=function(c){var d=l.Gt(this.ib);if(!d)return[];b.far=d.far;b.setFromCamera(c,d);return m.intersect(b,this.S0())};f.prototype.QR=function(c){var d=l.Gt(c.ib||this.ib);if(!d)return[];b.far=Infinity;b.camera=d;b.ray.origin.copy(c.origin);
1847b.ray.direction.copy(c.direction);c.matrixWorld&&b.ray.applyMatrix4(c.matrixWorld);return m.intersect(b,this.S0())};f.prototype.intersect=function(c,d){b.far=c.distanceTo(d);b.ray.origin.copy(c);b.ray.direction.copy(d).sub(c).normalize();return m.intersect(b,this.S0())};f.prototype.LJ=function(c){if(this.uza.equals(c)&&void 0!==this.jfa)return this.jfa;b.far=Infinity;b.ray.origin.copy(c);b.ray.direction.copy(h);var d=m.intersect(b,this.S0());if(0===d.length)return Infinity;this.uza.copy(c);return this.jfa=
1848d[0].distance};f.prototype.S0=function(){if(this.xF)return this.xF;var c=l.hi(this.ib);if(!c)return this.xF=[];var d=[];(f.fS.get(this.ib.T)||[]).forEach(function(p){(p=l.ac(p))&&d.push(p)});this.xF=[];for(c=[c];0<c.length;){var g=c.pop();g.userData.I1||g.isSprite||g.isLine||g.isSkinnedMesh||g.material&&!g.material.visible||-1!==d.indexOf(g)||(g.children&&c.push.apply(c,g.children),this.xF.push(g))}return this.xF};f.p6a=function(c){this.fS.clear();c.forEach(function(d){this.fS.has(d.T)||this.fS.set(d.T,
1849[]);this.fS.get(d.T).push(d)}.bind(this))};f.fS=new Map;return f}();var b=new k.Raycaster,h=new k.Vector3(0,-1,0);return a});
1850define("dU","require exports pg lg nV fK oI bG".split(" "),function(a,e,l,m,k,b,h,f){return function(){function c(d,g,p){this.N=d;this.properties=g;this.Ch=p;this.Aha=0;this.pF=this.FA=void 0;this.c2=!1;this.C2(0);this.xfa=this.s0=this.wfa=this.q0=this.state=void 0;this.Mc(m.W);this.Ch.bind(l.F("state"),this.mF,this,!0);this.Ch.bind(l.F("movementIndex"),this.TCa,this,!0)}c.prototype.iL=function(){this.Ch.get("mandatory")||(this.$_(),this.Ch.get("restartMovementOnUserInteraction")?this.state==m.Y&&
1851(this.ZFa(),this.Mc(m.Ib,!0)):this.state==m.Y&&this.Mc(m.W))};c.prototype.F8a=function(){this.state==m.Ib&&this.c2&&this.Ch.get("restartMovementOnUserInteraction")&&this.B7a()};c.prototype.frame=function(d){this.state==m.Y&&null!==this.Mi&&(this.Mi.Cb(d),this.p8a(),this.properties.set("x",this.Mi.fb("x")),this.properties.set("y",this.Mi.fb("y")),this.properties.set("z",this.Mi.fb("z")),this.properties.set("yaw",this.QA(this.Mi.fb("yaw"),-180,180)),this.properties.set("pitch",this.Mi.fb("pitch")),
1852this.properties.set("distance",this.Mi.fb("distance")),this.properties.set("fov",this.Mi.fb("fov")),this.properties.set("easing",0),d=this.Ch.get("movements")[this.FA],d.set("position",this.Mi.bl()),d.trigger(l.Km),this.Mi.Ze()&&(d.trigger(l.Bb),this.C2((this.FA+1)%this.Ch.get("movements").length,!0),0==this.FA&&(this.Aha++,this.Ch.trigger(l.es),this.Aha==this.Ch.get("repeat")&&(this.jEa(),this.Mc(m.W),this.Ch.trigger(l.Bb)))))};c.prototype.p8a=function(){var d=void 0!==this.q0&&void 0!==this.wfa,
1853g=void 0!==this.s0&&void 0!==this.xfa;if(d||g){var p=this.N.getComponent(b.lb).N;if(p){var q=this.Mi.getTime(),n=this.Mi.oj();p=p.H(b.Scene,!0);d=d&&q<this.q0?1-q/this.q0:0;g=g&&n-q<this.s0?1-(n-q)/this.s0:0;0<g||0<d?g>d?(p.QJ=this.xfa,p.iR=g):(p.QJ=this.wfa,p.iR=d):(p.QJ="#000000",p.iR=0)}}};c.prototype.jEa=function(){var d=this.N.getComponent(b.lb);
1853if(d=d&&d.N)d.H(b.Scene).iR=0};c.prototype.dispose=function(){this.$_();this.Ch.unbind(l.F("state"),this.mF,this);this.Ch.unbind(l.F("movementIndex"),
1854this.TCa,this);this.Mc(m.W)};c.prototype.mF=function(){var d=this.Ch.get("state");this.state!=d&&(d==m.Ib&&this.state==m.W?this.Ch.set("state",m.W):this.Mc(d))};c.prototype.Mc=function(d,g){void 0===g&&(g=void 0);this.state!=d&&(this.state=d,this.state==m.Y?(this.$_(),this.c2=!1,this.jza(),this.G_a()):this.state==m.Ib?(this.c2=!!g,this.ZFa()):this.state==m.W&&(this.c2=!1,this.$_(),this.Aha=0,d=this.Mi.getTime(),g=this.Mi.oj(),0<d&&d<g&&this.jEa(),this.C2(0)));this.Ch.set("state",this.state)};c.prototype.TCa=
1855function(){this.C2(this.Ch.get("movementIndex"))};c.prototype.C2=function(d,g){void 0===g&&(g=void 0);if(this.FA!==d||g)this.FA=d,this.jza(),this.Ch.set("movementIndex",this.FA),this.Ch.get("movements")[this.FA].set("position",0)};c.prototype.B7a=function(){this.q2=setTimeout(function(){this.q2=null;this.Mc(m.Y)}.bind(this),this.Ch.get("restartMovementDelay"))};c.prototype.$_=function(){this.q2&&(clearTimeout(this.q2),this.q2=null)};c.prototype.jza=function(){var d=this.Ch.get("movements")[this.FA],
1856g=this.properties.get("x",this.properties.get("initialX",0)),p=this.properties.get("y",this.properties.get("initialY",0)),q=this.properties.get("z",this.properties.get("initialZ",0)),n=this.QA(this.properties.get("yaw",this.properties.get("initialYaw",0)),-180,180),r=this.properties.get("pitch",this.properties.get("initialPitch",0)),u=this.properties.get("distance",0),t=this.properties.get("fov",this.properties.get("initialFov"));if(k.Ga("TargetModel3DCameraMovement",d)){var v=d.get("targetX",g);
1857var w=d.get("targetY",p);var x=d.get("targetZ",q);var y=d.get("targetYaw",n);var z=d.get("targetPitch",r);var C=d.get("targetFov",t);var A=d.get("targetDistance",u);switch(this.E0a(d)){case "left":y=this.QA(y,n-360,n);break;case "right":y=this.QA(y,n,n+360);break;case "longest":y=this.QA(y,n-180,n+180);y=y==n?n+360:y>=n?this.QA(y,n-360,n):this.QA(y,n,n+360);break;default:y=this.QA(y,n-180,n+180)}}else k.Ga("DistanceModel3DCameraMovement",d)&&(v=g+d.get("xDelta",0),w=p+d.get("yDelta",0),x=q+d.get("zDelta",
18580),y=n+d.get("yawDelta",0),z=r+d.get("pitchDelta",0),C=t+d.get("fovDelta",0),A=u+d.get("distanceDelta",0));this.Mi=new h(d.get("easing"),[new f("x",g,v,d.get("xSpeed")),new f("y",p,w,d.get("ySpeed")),new f("z",q,x,d.get("zSpeed")),new f("yaw",n,y,d.get("yawSpeed")),new f("pitch",r,z,d.get("pitchSpeed")),new f("fov",t,C,d.get("fovSpeed")),new f("distance",u,A,d.get("distanceSpeed"))],d.get("duration"));this.q0=d.get("fadeFromDuration");this.wfa=d.get("fadeFromColor");this.s0=d.get("fadeToDuration");
1859this.xfa=d.get("fadeToColor")};c.prototype.G_a=function(){this.pF=void 0};c.prototype.ZFa=function(){if(this.Mi){this.pF=void 0;var d=this.Mi&&this.Mi.Gfa("yaw");d&&(d.to>d.from?this.pF="right":d.to<d.from&&(this.pF="left"))}};c.prototype.E0a=function(d){d=d.get("yawPath");"longest"==d&&this.pF&&(d=this.pF);this.pF=void 0;return d};c.prototype.QA=function(d,g,p){for(;d<g;)d+=p-g;for(;d>p;)d-=p-g;return d};return c}()});
1860define("kA","require exports kS pg lg dU cp".split(" "),function(a,e,l,m,k,b,h){return function(){function f(c,d){this.N=c;this.properties=d;this.Y1=this.Y1.bind(this);this.V1=this.V1.bind(this);this.mF=this.mF.bind(this);this.cl=this.Rt=null;this.LK=[];this.ug=null;this.fB=!1;this.Lw=new Map;l.da(this.properties,["userInteracting"],this.Y1,!0);l.da(this.properties,["initialSequence","idleSequence","sequences.movements"],this.V1,!0);l.da(this.properties,["state"],this.mF,!0);this.ready=!1}f.prototype.frame=
1861function(c){if(!this.ready){var d=h.hi(this.N),g=0;d&&d.traverse(function(p){(p.isMesh||p.isSprite)&&g++});if(0<g)this.ready=!0,this.P3a();else return!1}this.ug&&this.Lw.get(this.ug).frame(c);(c=this.ug&&this.ug.get("state")==k.Y)&&this.N.T.Va();this.properties.set("controllingPosition",c)};f.prototype.dispose=function(){this.ug&&this.ug.get("mandatory")&&this.properties.set("inMandatorySequence",!1);this.ug&&this.properties.set("controllingPosition",!1);l.ba(this.properties,["userInteracting"],this.Y1);
1862l.ba(this.properties,["initialSequence","idleSequence","sequences.movements"],this.V1);l.ba(this.properties,["state"],this.mF);this.N2();this.cl&&this.KJ(this.cl);this.Rt&&this.KJ(this.Rt);this.LK.forEach(this.KJ.bind(this));this.LK=[]};f.prototype.eT=function(){this.fB||this.ZE||!this.cl||this.ug||!this.properties.get("timeToIdle")||(this.ZE=setTimeout(function(){this.ZE=null;this.H3a()}.bind(this),this.properties.get("timeToIdle")))};f.prototype.N2=function(){this.ZE&&(clearTimeout(this.ZE),this.ZE=
1863null)};f.prototype.H3a=function(){this.cl&&this.cl.set("state",k.Y)};f.prototype.P3a=function(){this.Rt?this.Rt.set("state",k.Y):this.eT()};f.prototype.mF=function(){this.ug?this.ug.set("state",this.properties.get("state")):this.properties.get("state")==k.Y?(this.eT(),this.ZE||this.properties.set("state",k.W)):this.N2()};f.prototype.Y1=function(){var c=this.properties.get("userInteracting");this.fB!=c&&(this.fB&&(this.ug&&this.Lw.get(this.ug).F8a(),!this.cl||this.ug&&this.ug!=this.cl||this.eT()),
1864this.fB=c)&&(this.N2(),this.ug&&this.Lw.get(this.ug).iL())};f.prototype.V1=function(){var c=this.Jha(this.properties.get("initialSequence"));this.Rt!=c&&(this.Rt&&this.KJ(this.Rt),(this.Rt=c)&&this.afa(this.Rt));c=this.Jha(this.properties.get("idleSequence"));this.cl!=c&&(this.cl&&this.KJ(this.cl),(this.cl=c)&&this.afa(this.cl));var d=(this.properties.get("sequences")||[]).filter(this.Jha.bind(this));this.LK.forEach(function(p){0>d.indexOf(p)&&this.KJ(p)}.bind(this));var g=this.LK;this.LK=d;this.LK.forEach(function(p){0>
1865g.indexOf(p)&&this.afa(p)}.bind(this));this.ug||!this.cl||this.ZE||this.eT()};f.prototype.Jha=function(c){var d=c&&c.get("movements");return d&&0!=d.length?c:null};f.prototype.fDa=function(c){c=c.source;var d=c.get("state");d==k.Y?(this.N2(),d=this.ug,this.ug=c,d&&d!=this.ug&&d.set("state",k.W),this.properties.set("state",k.Y),this.properties.set("inMandatorySequence",c.get("mandatory")),this.N.T.Va()):d==k.Ib?c==this.ug&&this.properties.set("state",k.Ib):d==k.W&&c==this.ug&&(this.properties.set("state",
1866k.W),this.properties.set("inMandatorySequence",!1),this.ug=null,c!=this.cl&&this.eT())};f.prototype.afa=function(c){if(this.Lw.has(c))this.Lw.get(c);else{c.set("state",k.W);c.bind(m.F("state"),this.fDa,this,!0);var d=new b(this.N,this.properties,c);this.Lw.set(c,d)}};f.prototype.KJ=function(c){this.Lw.has(c)&&(c.set("state",k.W),c.unbind(m.F("state"),this.fDa,this),this.Lw.get(c).dispose(),this.Lw["delete"](c))};return f}()});
1867define("fb",["require","exports","kA","fK"],function(a,e,l,m){return function(){function k(b){this.IS=this.properties=null;this.N=b;this.update()}k.prototype.update=function(){var b=this.N.getComponent(m.XF);this.SK(b&&b.properties)};k.prototype.SK=function(b){var h;this.properties&&(null===(h=this.IS)||void 0===h?void 0:h.dispose(),this.IS=null);if(this.properties=b)this.IS=new l(this.N,this.properties)};k.prototype.frame=function(b){this.IS&&this.IS.frame(b)};k.prototype.dispose=function(){this.SK(null)};
1868k.$a=function(b){b.J(m.gu).manager=new k(b)};k.update=function(b){b.getComponent(m.gu).manager.update()};k.frame=function(b,h,f){b.getComponent(m.gu).manager.frame(h,f)};k.Ba=function(b){b.getComponent(m.gu).manager.dispose();b.la(m.gu)};return k}()});define("oR",["require","exports"],function(){return function(){function a(){}a.nga=function(e){return 0<=this.r3.indexOf(e)};a.D5a=function(e){this.r3=[];e.forEach(function(l){l=l.T;0>this.r3.indexOf(l)&&this.r3.push(l)}.bind(this))};a.r3=[];return a}()});
1869define("ls",["require"],function(){return{D9a:function(){},E9a:function(){},uW:function(){return this.o&&this.o.get("inMandatorySequence")||this.o&&!this.o.get("keyboardEnabled")?!0:!1},qo:function(){return this.o&&this.o.get("inMandatorySequence")||this.o&&(!this.o.get("mouseEnabled")||this.o.get("mouseDisabled"))?!0:!1},gqa:function(){return this.o&&this.o.get("doubleClickDisabled")?!0:!1},bsa:function(){this.HH()||this.rv||this.Rxa()},asa:function(){this.HH()||this.rv||this.Qxa()},gI:function(){this.iqa()||
1870this.Rxa()},fI:function(){this.iqa()||this.Qxa()},Rxa:function(){this.o&&this.o.set("userInteracting",!0)},Qxa:function(){this.o&&this.o.set("userInteracting",!1)}}});
1871define("fz",["require","exports","cp","three.mod"],function(a,e,l,m){return function(){function k(b){this.matrixWorld=new m.Matrix4;this.Rga=!1;this.timeout=null;this.N=b}k.prototype.SK=function(b,h){if(this.LF!=b||this.propertyName!=h)this.LF&&this.LF.set(this.propertyName,!1),this.LF=b,this.propertyName=h,this.LF&&this.LF.set(this.propertyName,this.Rga)};k.prototype.Yia=function(){var b=l.ac(this.N),h=!!b&&!b.matrixWorld.equals(this.matrixWorld);h&&this.matrixWorld.copy(b.matrixWorld);this.tx(h);
1872this.timeout&&(clearTimeout(this.timeout),this.timeout=null);h&&(this.timeout=setTimeout(function(){this.timeout=null;this.tx(!1)}.bind(this),k.oIa))};k.prototype.Ba=function(){this.tx(!1);this.timeout&&clearTimeout(this.timeout)};k.prototype.tx=function(b){this.Rga!=b&&(this.Rga=b,this.LF&&this.LF.set(this.propertyName,b))};k.oIa=100;return k}()});
1873define("ou",["require","exports"],function(){return function(){function a(e){this.properties=e}a.prototype.XEa=function(e){this.properties.set("fov",this.uK(e,this.properties.get("minFov",.1),this.properties.get("maxFov",180)))};a.prototype.Sn=function(e){this.properties.set("yaw",this.j5a(this.i3a(e,this.properties.get("minYaw"),this.properties.get("maxYaw"))))};a.prototype.WA=function(e){this.properties.set("pitch",this.uK(e,this.properties.get("minPitch",-90),this.properties.get("maxPitch",90)))};
1874a.prototype.setX=function(e){this.properties.set("x",this.uK(e,this.properties.get("minX"),this.properties.get("maxX")))};a.prototype.setY=function(e){this.properties.set("y",this.uK(e,this.properties.get("minY"),this.properties.get("maxY")))};a.prototype.setZ=function(e){this.properties.set("z",this.uK(e,this.properties.get("minZ"),this.properties.get("maxZ")))};a.prototype.NK=function(e){this.properties.set("distance",this.uK(e,this.properties.get("minDistance"),this.properties.get("maxDistance")))};
1875a.prototype.sj=function(e){this.properties.set("easing",e)};a.prototype.i3a=function(e,l,m){if(void 0!==l)if(180<e)e=180;else{for(;-180>=e;)e+=360;e<l&&(e=l)}if(void 0!==m)if(-180>e)e=-180;else{for(;180<e;)e-=360;e>m&&(e=m)}return e};a.prototype.uK=function(e,l,m){if(isNaN(e))throw"invalid value";void 0!==l&&e<l&&(e=l);void 0!==m&&e>m&&(e=m);return e};a.prototype.j5a=function(e){for(;-180>e;)e+=360;for(;180<=e;)e-=360;return e};return a}()});
1876define("pu",["require","jg"],function(a){var e=a("jg");return{i$:function(l){this.DW=this.DW.bind(this);this.EW=this.EW.bind(this);this.oM=this.jj=!1;this.Rf={};for(var m=0;m<l.length;m++)this.Rf[l[m]]=!1;this.wN=0;this.FW=!1;this.xN(!0)},j$:function(){this.xN(!1)},xN:function(l){this.FW!=l&&(this.FW&&(document.removeEventListener("keyup",this.EW),document.removeEventListener("keydown",this.DW)),this.FW=l)&&(document.addEventListener("keyup",this.EW),document.addEventListener("keydown",this.DW))},
1877iqa:function(){return 0<this.wN},EW:function(l){if(!(e.fp()||this.uW&&this.uW())){var m=!1;this.jj!=l.shiftKey&&(this.jj=l.shiftKey,m=!0);this.oM!=l.ctrlKey&&(this.oM=l.ctrlKey,m=!0);!0===this.Rf[l.code]&&(this.Rf[l.code]=!1,m=!0,this.xo&&this.xo(l.code),this.wN--,0==this.wN&&this.asa&&this.asa());m&&this.lO&&this.lO()}},DW:function(l){if(!(e.fp()||this.uW&&this.uW())){var m=!1;this.jj!=l.shiftKey&&(this.jj=l.shiftKey,m=!0);this.oM!=l.ctrlKey&&(this.oM=l.ctrlKey,m=!0);!1===this.Rf[l.code]&&(m=this.Rf[l.code]=
1878!0,this.vD&&this.vD(l.code),this.wN++,1==this.wN&&this.bsa&&this.bsa());m&&this.lO&&this.lO()}},M9a:function(){return this.jj},H9a:function(){return this.oM}}});
1879define("jZ",["require","exports","bd"],function(a,e,l){a=function(){function k(){this.We=[]}k.prototype.Gr=function(b){this.REa(b);this.cb=b;this.p7=null};k.prototype.SEa=function(b){this.REa(b?b.KAa():null);this.cb=null;this.p7=b};k.prototype.Q6a=function(b,h){this.cb&&this.cb.set("cursor",b);this.p7&&this.p7.v2(b,h)};k.prototype.REa=function(b){this.ne&&(this.ne.K4a(this),this.ne=void 0);b&&(this.ne=m.get(b),this.ne.ZZa(this))};k.prototype.dispose=function(){this.Gr(null);this.We=[]};k.prototype.push=
1880function(b){this.We.push(b);
1880this.ne&&this.ne.update()};k.prototype.pop=function(b){for(var h=this.We.length-1;0<=h;h--)if(this.We[h]==b){this.We.splice(h,1);this.ne&&this.ne.update();break}};k.prototype.has=function(b){return 0<=this.We.indexOf(b)};k.prototype.top=function(){if(this.We.length)return this.We[this.We.length-1]};k.prototype.all=function(){return this.We};return k}();var m=function(){function k(b){this.Qc=b;this.ed=[]}k.prototype.ZZa=function(b){this.ed.push(b);this.update()};k.prototype.K4a=
1881function(b){this.ed.splice(this.ed.indexOf(b),1);this.update();0==this.ed.length&&k.clear(this.Qc)};k.prototype.update=function(){var b=this.eKa();var h=this.a9(l.OB)?l.OB:this.a9(l.Jh)?l.Jh:this.a9(l.ye)?l.ye:this.Uq()||l.xe;this.ed.forEach(function(f){f.Q6a(h,b)})};k.prototype.a9=function(b){for(var h=this.ed.length-1;0<=h;h--)if(this.ed[h].has(b))return!0;return!1};k.prototype.eKa=function(){var b=[];this.ed.forEach(function(h){h.all().forEach(function(f){0>b.indexOf(f)&&b.push(f)})});return b};
1882k.prototype.Uq=function(){for(var b,h=this.ed.length-1;0<=h&&void 0===b;h--)b=this.ed[h].top();return b};k.get=function(b){var h=this.Sa.get(b);h||this.Sa.set(b,h=new k(b));return h};k.clear=function(b){this.Sa["delete"](b)};k.Sa=new Map;return k}();return a});
1883define("jJ",["require","exports","pg","gv"],function(a,e,l,m){return function(k){function b(h){var f=k.call(this)||this;if(h instanceof HTMLElement)f.E1=h;else if("function"===typeof h.$c)f.E1=h.$c().get(0);else if(h.length&&h.get)f.E1=h.get(0);else throw Error("invalid element");f.S1=f.S1.bind(f);document.addEventListener("pointerlockchange",f.S1.bind(f),!1);return f}Z(b,k);b.prototype.dispose=function(){document.removeEventListener("pointerlockchange",this.S1)};b.prototype.lock=function(){if(!this.ep())return this.E1.requestPointerLock()};
1884b.prototype.unlock=function(){this.ep()&&document.exitPointerLock()};b.prototype.ep=function(){return document.pointerLockElement===this.E1};b.prototype.S1=function(){this.trigger(l.ca)};b.ep=function(){return null!==document.pointerLockElement};return b}(m)});
1885define("il",["require","pg","jZ","jJ"],function(a){function e(h,f){var c=f.x-h.x;h=f.y-h.y;return Math.sqrt(c*c+h*h)}var l=a("pg"),m=a("jZ"),k=a("jJ"),b=180/Math.PI;return{L$:function(){this.hX=this.SN=this.rv=this.Is=!1;this.CY=this.te=null;this.oW=new m;this.TN=null;this.FSa=this.PRa.bind(this)},M$:function(){this.kZ(null);this.oW.dispose()},Vqa:function(h){this.Qo(h);if(!this.qo||!this.qo()){var f=this.GH();this.Is||(this.Is=!0,f||this.gI&&this.gI());this.SN=!h.originalEvent||!h.originalEvent.buttons||
18860===(h.originalEvent.buttons&2);this.CY=h;this.Ak&&this.Ak(h.x,h.y);this.GX&&this.GX(h.x,h.y)}},GH:function(){return this.Is||this.rv||this.hX},HH:function(){return this.Is},I9a:function(){return this.rv},J9a:function(){return this.SN},K9a:function(){return this.hX},Xqa:function(h){this.Qo(h);this.qf&&this.qf(h.x,h.y);if(this.Is||this.TH.ep()){var f=void 0!==h.movementX?h.movementX:h.x-this.CY.x,c=void 0!==h.movementY?h.movementY:h.y-this.CY.y;this.TH.ep()&&(f*=-1,c*=-1);this.CY=h;this.FX&&this.FX(f,
1887c,h.x,h.y)}},eX:function(h){this.Is&&(h&&this.Qo(h),this.SN=this.Is=!1,this.yo&&this.yo(this.fd,this.gd),this.wD&&this.wD(),this.GH()||this.fI&&this.fI())},Rqa:function(h){this.qo&&this.qo()||(this.Qo(h),this.Ls&&this.Ls(h.x,h.y))},Sqa:function(h){this.qo&&this.qo()||this.gqa&&this.gqa()||(this.Qo(h),this.eI&&this.eI(h.x,h.y))},Yqa:function(h){this.Qo(h);if(!this.qo||!this.qo()){h=h.i0/10;var f=this.GH();this.TN||(this.hX=!0,this.GSa&&this.GSa(),f||this.gI&&this.gI());this.HX&&this.HX(h);this.TN&&
1888clearTimeout(this.TN);this.TN=setTimeout(this.FSa,100)}},PRa:function(){this.TN=null;this.ESa&&this.ESa();this.hX=!1;this.GH()||this.fI&&this.fI()},Uqa:function(h){if(!(this.qo&&this.qo()||2>h.touches.length)){var f=this.GH();this.rv||(this.rv=!0,this.QRa(h.touches),f||this.gI&&this.gI());this.Ura&&this.Ura();this.eX()}},Tqa:function(h){this.qo&&this.qo()||2>h.touches.length||!this.rv||(this.Zqa(h.touches),this.faa&&this.faa(this.FXa,this.GXa,this.ada,this.HXa),this.Tra&&this.Tra(this.G9,this.H9,
1889this.hQ,this.iQ,1,this.ada,this.kN,this.$ca,this.F9,this.gQ))},K$:function(){this.rv&&(this.rv=!1,this.gaa&&this.gaa());this.GH()||this.fI&&this.fI()},QRa:function(h){this.F9=this.H9=this.G9=this.kN=this.ada=this.iQ=this.hQ=this.$ca=this.gQ=void 0;this.fQ=h;this.Zqa(h)},Zqa:function(h){e(h[0],this.fQ[0])+e(h[1],this.fQ[1])>e(h[0],this.fQ[1])+e(h[1],this.fQ[0])&&(h=[h[1],h[0]]);var f=h[0];var c=h[1];f=Math.atan2(-(c.y-f.y),c.x-f.x)*b;c=e(h[0],h[1]);var d=(h[0].x+h[1].x)/2,g=(h[0].y+h[1].y)/2;this.ada=
1890void 0!==this.kN?c/this.kN:1;this.HXa=void 0!==this.gQ?f-this.gQ:0;this.gQ=f;this.$ca=c;this.FXa=void 0!==this.hQ?d-this.hQ:0;this.GXa=void 0!==this.iQ?g-this.iQ:0;this.hQ=d;this.iQ=g;void 0!==this.G9||(this.G9=this.hQ);void 0!==this.H9||(this.H9=this.iQ);void 0!==this.F9||(this.F9=this.gQ);void 0!==this.kN||(this.kN=this.$ca);this.fQ=h},Wqa:function(){},WNa:function(){this.eX();this.K$()},VM:function(){return this.te?this.te.Ya():100},PC:function(){return this.te?this.te.Ab():100},tv:function(){return this.te?
1891Math.max(this.te.Ya(),this.te.Ab()):100},kZ:function(h){this.te!=h&&(this.te&&(this.te.unbind(l.jb,this.Vqa,this,!0),this.te.unbind(l.bc,this.Xqa,this,!0),this.te.unbind(l.Eb,this.eX,this,!0),this.te.unbind(l.qa,this.Rqa,this,!0),this.te.unbind(l.sl,this.Sqa,this,!0),this.te.unbind(l.Yr,this.Yqa,this,!0),this.te.unbind(l.z4,this.Tqa,this,!0),this.te.unbind(l.Ux,this.Uqa,this,!0),this.te.unbind(l.$F,this.K$,this,!0),this.TH.unbind(l.ca,this.Wqa,this,!0),this.TH.dispose(),this.TH=null),this.te=h,this.oW.Gr(this.te),
1892this.te&&(this.te.bind(l.jb,this.Vqa,this,!0),this.te.bind(l.bc,this.Xqa,this,!0),this.te.bind(l.Eb,this.eX,this,!0),this.te.bind(l.qa,this.Rqa,this,!0),this.te.bind(l.sl,this.Sqa,this,!0),this.te.bind(l.Yr,this.Yqa,this,!0),this.te.bind(l.z4,this.Tqa,this,!0),this.te.bind(l.Ux,this.Uqa,this,!0),this.te.bind(l.$F,this.K$,this,!0),this.TH=new k(this.te),this.TH.bind(l.ca,this.Wqa,this,!0)))},fX:function(h){h.x=-1+2*h.x/this.VM();h.y=1-2*h.y/this.PC();return h},Qo:function(h){this.fd=h.x;this.gd=h.y;
1893this.UH=h.pageX;this.VH=h.pageY},MD:function(h){this.oW.push(h)},zY:function(h){this.oW.pop(h)}}});
1894define("kI",["require","pg"],function(a){var e=a("pg");return{MUa:function(){this.dZ=!1;this.Ko=null;this.gD=this.KH=0;this.VD=!1;this.Wua(!0)},NUa:function(){this.Wua(!1);this.Fva(null)},Wua:function(l){this.dZ!=l&&((this.dZ=l)||this.cZ())},Fva:function(l){this.Ko!=l&&(this.cZ(),this.Ko&&(this.Ko.unbind(e.Yn,this.Xua,this,!0),this.Ko.unbind(e.Mf,this.cZ,this,!0),this.Ko.unbind(e.ca,this.Vua,this,!0),this.gD=this.KH=0),this.Ko=l)&&(this.Ko.bind(e.Yn,this.Xua,this,!0),this.Ko.bind(e.Mf,this.cZ,this,
1895!0),this.Ko.bind(e.ca,this.Vua,this,!0))},Xua:function(){!this.VD&&this.dZ&&(this.VD=!0,this.gta&&this.gta())},Vua:function(){this.VD&&(this.KH=this.Ko.getX(),this.gD=this.Ko.getY(),this.eta&&this.eta())},cZ:function(){this.VD&&(this.VD=!1,this.gD=this.KH=0,this.fta&&this.fta())},L9a:function(){return this.VD}}});
1896define("dT","require lE pg bn fK ls mq oR fz ou pu il kI bd oI bG".split(" "),function(a){function e(D){this.DM=!1;this.J7=0;this.Wna=!1;this.Xna=D}function l(D){this.m=D;this.rq=new g(D);this.i$(y);this.L$();this.MUa();this.$I=.025;this.Ql=.25;this.bX=this.cX=this.dX=this.NV=0;this.Ka=null;this.HU=this.a_=!1;this.LW=1;this.vs=new c(this.m);this.MD(u.Vx);this.LH={};[b.ja.Ti,b.ja.Gh,b.ja.Wa,b.ja.ob].forEach(function(M){this.LH[M]=new e(300)}.bind(this));
1896[b.ja.Vn,b.ja.Au,b.ja.hu,b.ja.Gu,b.ja.Q,b.ja.E].forEach(function(M){this.LH[M]=
1897new e(300)}.bind(this));this.update()}var m=a("lE"),k=a("pg"),b=a("bn"),h=a("fK"),f=a("ls"),c=a("mq"),d=a("oR"),g=a("fz"),p=a("ou"),q=a("pu"),n=a("il"),r=a("kI"),u=a("bd"),t=a("oI"),v=a("bG");m.R_(l,[f,q,n,r,Screen]);l.prototype.update=function(){var D=this.m.getComponent(h.Tx);this.em(D&&D.properties);this.rq.SK(D&&D.properties,"moving");var M=(!D.IJ||!d.nga(this.m.T))&&D.enabled;this.kZ(D&&(M?D.sg:null));this.xN(!!D&&M&&D.AA);this.Fva(!!D&&M&&D.yEa);M||this.wD();M&&D.AA||(this.ln=this.kn=this.xk=
1898this.Jj=this.yk=0)};l.prototype.frame=function(D){var M=!1;this.properties&&this.properties.get("playingSequence")&&(M=!0);!M&&this.Sh&&(M=this.iKa(D));M||this.FYa(D);this.pZa();this.qYa();this.rq.Yia();this.VD&&this.m.T.Va();this.vs.refresh()};var w=1E3/3600*8/1.7;l.prototype.Le=function(){this.m.H(h.Tx)};l.prototype.FYa=function(D){D/=1E3;var M=this.jj?.2:1,S=this.LW*w;S*=this.o.get("translationSpeed")*M;var Y=this.o.get("rotationSpeed")*M;M=this.bX;var ca=this.cX,da=this.dX,ea=this.NV;this.bX=
1899this.cX=this.dX=this.NV=0;var F=(M*M+ca*ca)/x;F=1<F?1/Math.sqrt(F):1;M*=F;ca*=F;var N=B*Math.atan2(this.KH,Math.abs(this.gD));F=Math.sqrt(this.KH*this.KH+this.gD*this.gD);var R=Math.max(this.PC(),this.VM()),L=this.o.get("fov")/R*2;M=-M*L*Y;ca=ca*L*Y;da=25*-da*S;L=this.UM(b.ja.Vn,b.ja.hu)*S;var P=this.UM(b.ja.Gu,b.ja.Au)*S,V=this.UM(b.ja.Q,b.ja.E)*S,aa=this.UM(b.ja.Gh,b.ja.Ti)*Y*30,ba=this.UM(b.ja.Wa,b.ja.ob)*Y*30;ea=2*ea*this.LW/R;Y*=N*F*.125;S*=.5*-F*this.gD;(F=this.m.getComponent(h.Aa))&&(M||ca||
1900da||L||V||P||aa||ba||Y||S||ea)&&(E.makeRotationFromEuler(G.set(0,F.qe*A,0,F.Vf)),W.set(L*D,V*D+ea,(P+S+da)*D).applyMatrix4(E),K.set(this.o.get("x"),this.o.get("y"),this.o.get("z")),this.DPa(K,W,I),this.Ka.setX(I.x),this.Ka.setY(I.y),this.Ka.setZ(I.z),this.Ka.Sn(this.o.get("yaw")+M+(ba+Y)*D),this.Ka.WA(this.o.get("pitch")+ca+aa*D),this.Ka.sj(this.Ql),this.m.T.Va())};l.prototype.UM=function(D,M){D=this.LH[D].getState();if(D===e.K3)return-3;if(D===e.Gh)return-1.5;M=this.LH[M].getState();return M===e.K3?
19013:M===e.Gh?1.5:0};l.prototype.DPa=function(D,M,S){S.copy(D).add(M);if(!S.equals(D)){this.lh=this.vs.LJ(D);var Y=this.vs.LJ(S);if(this.o.get("keepHeight"))if(Infinity==Y)var ca=Infinity;else if(Infinity==this.lh)ca=Y;else{ca=this.lh+M.y;var da=this.o.get("maxStepHeight");void 0===da&&(da=Infinity!==this.lh?.25*this.lh:0);if(Y<ca-da){S.copy(D);return}S.y+=ca-Y}else ca=Y;U.copy(M).normalize().multiplyScalar(.1*this.LW);S.add(U);this.o.get("collisionDetection")&&this.vs.MF(D,S)?S.copy(D):(this.lh=ca,
1902Infinity!==this.lh&&(this.LW=this.lh),S.sub(U))}};l.prototype.vD=function(D){this.m.T.Va();this.LH[D].Zga()};l.prototype.xo=function(D){this.LH[D].$ga()};l.prototype.GX=function(){this.ti=!0;this.MD(u.Jh)};l.prototype.eI=function(D,M){if("translate"==this.o.get("doubleClickAction")&&(this.fX(X.set(D,M)),D=this.vs.I2a(X),0!=D.length)){var S=D[0];if(S.face&&S.face.normal){var Y=K.set(this.o.get("x"),this.o.get("y"),this.o.get("z"));D=I.copy(S.point);M=this.vs.LJ(K);S=Q.copy(S.face.normal).applyMatrix4(S.object.matrixWorld).normalize();
1903if(Math.abs(Math.acos(S.dot(T)))<.25*Math.PI)D.y+=M;else{W.copy(D).sub(Y);Y=W.length();S=2*M;if(Y<S)return;D.sub(W.multiplyScalar(S/Y));I.y+=M-this.vs.LJ(I)}this.vs.MF(K,I)||Math.abs(M-this.vs.LJ(I))>.05*M||(this.Sh=new t("cubic_in_out",[new v("x",K.x,I.x),new v("y",K.y,I.y),new v("z",K.z,I.z)],1500),this.m.T.Va())}}};l.prototype.iKa=function(D){if(!this.Sh)return!1;this.Sh.Cb(D);this.Ka.setX(this.Sh.fb("x"));this.Ka.setY(this.Sh.fb("y"));this.Ka.setZ(this.Sh.fb("z"));this.Ka.sj(0);this.Sh.Ze()&&
1904(this.Sh=null);this.m.T.Va();return!0};var x=2500;l.prototype.FX=function(D,M){this.ti&&(this.bX+=D,this.cX+=M,this.m.T.Va())};l.prototype.wD=function(){this.ti=!1;this.zY(u.Jh);this.m.T.Va()};l.prototype.HX=function(D){this.dX+=D;this.m.T.Va()};l.prototype.faa=function(D,M){this.NV+=M;this.m.T.Va()};l.prototype.gta=function(){this.WNa();this.MD(u.Jh)};l.prototype.eta=function(){this.m.T.Va()};l.prototype.fta=function(){this.zY(u.Jh)};l.prototype.em=function(D){this.o!=D&&(this.o&&(this.Ka=null,z.forEach(function(M){this.o.unbind(k.F(M),
1905this.waa,this,!0)}
1905.bind(this)),C.forEach(function(M){this.o.unbind(k.F(M),this.Z$,this,!0)}.bind(this)),this.o.set("userInteracting",!1)),this.o=D)&&(this.Ka=new p(this.o),z.forEach(function(M){this.o.bind(k.F(M),this.waa,this,!0)}.bind(this)),this.waa(),C.forEach(function(M){this.o.bind(k.F(M),this.Z$,this,!0)}.bind(this)),this.Z$(),this.o.set("userInteracting",!1))};l.prototype.waa=function(){this.a_||(this.a_=!0,this.m.T.Va())};l.prototype.pZa=function(){if(this.a_&&this.m&&this.o){this.a_=!1;
1906var D=this.m.H(h.Aa,!0);D.translationX=this.o.get("x");D.translationY=this.o.get("y");D.af=this.o.get("z");D.qe=-this.o.get("yaw");D.Ne=this.o.get("pitch");D.Oe=0;D.Vf="YXZ";D.positionX=0;D.positionY=0;D.positionZ=0;D.easing=this.o.get("easing")}};l.prototype.Z$=function(){this.HU||(this.HU=!0,this.m.T.Va())};l.prototype.qYa=function(){this.HU&&this.m&&this.o&&(this.HU=!1,this.m.H(h.PerspectiveCamera,!0).fov=this.o.get("fov"))};var y=[b.ja.Ti,b.ja.Gh,b.ja.Wa,b.ja.ob,b.ja.Vn,b.ja.Au,b.ja.hu,b.ja.Gu,
1907b.ja.Q,b.ja.E],z="minYaw maxYaw yaw minPitch maxPitch pitch minX maxX x minY maxY y minZ maxZ z distance easingSpeed".split(" "),C=["minFov","maxFov","fov"],A=Math.PI/180,B=180/Math.PI,E=new THREE.Matrix4,G=new THREE.Euler,K=new THREE.Vector3,I=new THREE.Vector3,Q=new THREE.Vector3,W=new THREE.Vector3,U=new THREE.Vector3,T=new THREE.Vector3(0,1,0),X=new THREE.Vector2;l.prototype.dispose=function(){this.em(null);this.j$();this.M$();this.NUa();this.rq.Ba();this.vs=null};l.$a=function(D){D.J(h.Ur).manager=
1908new l(D)};l.Ba=function(D){var M=D.getComponent(h.Ur);M.manager.dispose();M.manager=null;D.la(h.Ur)};l.update=function(D){D.getComponent(h.Ur).manager.update()};l.frame=function(D,M,S){D.getComponent(h.Ur).manager.frame(M,S)};e.prototype.Zga=function(){this.DM||(this.DM=!0,this.Wna=Date.now()-this.J7<this.Xna,this.J7=Date.now())};e.prototype.$ga=function(){this.DM&&(this.DM=!1)};e.prototype.getState=function(){return this.DM||Date.now()-this.J7<this.Xna?this.Wna?e.K3:e.Gh:e.Ti};e.Ti=0;e.Gh=1;e.K3=
19092;return l});
1910define("ca","require lE pg bn lh cp fK ls oR fz ou kA pu il bd oI bG".split(" "),function(a){function e(L){this.m=L;this.i$(U);this.L$();this.rq=new p(L);this.Vc=w;this.Iq=this.aj=null;this.$I=.025;this.Ql=.25;this.ci=void 0;this.eE=1;this.yk=this.Jj=this.xk=this.ln=this.kn=0;this.Lk=[];this.$C=this.aD=this.bD=this.YC=this.XC=this.Py=this.$i=this.lv=this.mv=this.ov=this.nv=this.kv=void 0;this.D9=1E3;this.cN=void 0;this.yH=0;this.Ka=null;this.MD(u.Vx);this.update()}function l(L,P){L=P-L;180<L?L-=360:
1911-180>L&&(L+=360);return L}function m(){return(new Date).getTime()}var k=a("lE"),b=a("pg"),h=a("bn");a("lh");var f=a("cp"),c=a("fK"),d=a("ls"),g=a("oR"),p=a("fz"),q=a("ou");a("kA");var n=a("pu"),r=a("il"),u=a("bd"),t=a("oI"),v=a("bG");k.R_(e,[d,n,r]);e.prototype.update=function(){var L=this.m.getComponent(c.FB);this.em(L&&L.properties);this.rq.SK(L&&L.properties,"moving");var P=(!L.IJ||!g.nga(this.m.T))&&L.enabled;this.kZ(L&&(P?L.sg:null));this.xN(!!L&&P&&L.AA);P||this.wD();P&&L.AA||(this.ln=this.kn=
1912this.xk=this.Jj=this.yk=0)};e.prototype.frame=function(L){this.Sh&&(this.Sh.Cb(L),this.Ka.setX(this.Sh.fb("x")),this.Ka.setY(this.Sh.fb("y")),this.Ka.setZ(this.Sh.fb("z")),this.Ka.NK(this.Sh.fb("distance")),this.Ka.sj(0),this.Sh.Ze()&&(this.Sh=null));this.Ag&&(this.Ag=Math.max(0,this.Ag-L/this.D9),this.Ka.setX(this.o.get("x")+this.$C*this.Ag),this.Ka.setY(this.o.get("y")+this.aD*this.Ag),this.Ka.setZ(this.o.get("z")+this.bD*this.Ag),this.Ka.Sn(this.o.get("yaw")+this.YC*this.Ag),this.Ka.WA(this.o.get("pitch")+
1913this.XC*this.Ag),this.Ka.sj(0),this.m.T.Va(),0==this.Ag&&this.fP());if(this.ln||this.kn||this.xk||this.Jj||this.yk){var P=L/1E3;this.Q$(this.xk*P,this.Jj*P,this.yk*P,this.ln*P,this.kn*P)}if(this.Vc==w&&void 0!==this.Sk&&!this.Jj&&this.o.get("keepHeight")&&void 0!==this.cN&&Math.abs(this.Sk-this.o.get("y"))>Y){this.yH=Math.max(this.yH-L,0);P=this.o.get("y");var V=this.Sk-P;this.Ka.setY(P+Math.min(L*this.cN,Math.abs(V))*(0<V?1:-1));this.m.T.Va()}this.Vc!=w||!this.Iq||this.Ag||this.Sh||(this.qC(),this.m.T.Va());
1914this.rq.Yia()};e.prototype.lO=function(){this.Ada()};e.prototype.Ada=function(){var L=0!=this.yk||0!=this.Jj||0!=this.xk;this.ln=this.kn=this.yk=this.Jj=this.xk=0;var P=this.Rf[h.ja.Vn]?1:this.Rf[h.ja.hu]?-1:0,V=this.Rf[h.ja.Gu]?1:this.Rf[h.ja.Au]?-1:0,aa=this.Rf[h.ja.Q]?1:this.Rf[h.ja.E]?-1:0,ba=this.Rf[h.ja.Ti]?1:this.Rf[h.ja.Gh]?-1:0,fa=this.Rf[h.ja.Wa]?1:this.Rf[h.ja.ob]?-1:0;
1914if(ba||fa||P||V||aa){var ha=this.jj?.2:1;P&&(this.xk=-P*ha*this.o.get("translationSpeed"));aa&&(this.Jj=-aa*ha*this.o.get("translationSpeed"));
1915V&&(this.yk=-V*ha*this.o.get("translationSpeed"));fa&&(this.ln=-fa*ha*100*this.o.get("rotationSpeed"));ba&&(this.kn=ba*ha*100*this.o.get("rotationSpeed"));this.qC();this.m.T.Va();this.xba();this.VNa();P=0!=this.yk||0!=this.Jj||0!=this.xk;!L&&P&&this.fP()}};e.prototype.GX=function(){this.ti=!0;this.Vc==B||this.Vc==E||m()<this.Goa+500||(this.MD(u.Jh),this.Vc=w)};e.prototype.FX=function(L,P,V,aa){if(this.ti&&!(this.Vc==B||this.Vc==E||m()<this.Goa+500)){var ba=(L*L+P*P)/2500;ba=1<ba?1/Math.sqrt(ba):1;
1916L*=ba;P*=ba;ba=this.zPa();this.Vc!=ba?(this.Vc=ba,this.Vc==x?this.FWa(V,aa):this.Vc==y?this.$va():this.Vc==z?this.TWa():this.Vc==A&&this.RWa()):this.Vc!=w&&(this.Vc==x?this.AYa(L,P,V,aa):this.Vc==y?this.dZa(L,P):this.Vc==z?this.fZa(L,P):this.Vc==A&&this.cZa(L,P))}};e.prototype.wD=function(){this.zY(u.Jh);this.ti=!1;this.Vc!=w&&(this.Vc=w,this.aj=null,this.Yva(),this.xba(),this.Ypa(),this.m.T.Va())};e.prototype.HX=function(L){this.Vc!=C?(this.Vc=C,this.NWa()):this.QYa(L);this.P$&&clearTimeout(this.P$);
1917this.P$=setTimeout(function(){this.P$=null;this.Vc==C&&(this.Vc=w,this.Ys())}.bind(this),1E3)};e.prototype.Tra=function(L,P,V,aa,ba,fa,ha,ia,ja,ka){this.Vc!=B&&this.Vc!=E?(L=.05<Math.abs(fa-ba),V=5<l(ja,ka),P=Math.abs(aa-P)>.02*this.PC(),ja=10>Math.min(Math.abs(ja),180-Math.abs(ja),Math.abs(ka),180-Math.abs(ka)),ha=.2>ha/this.tv(),(L||P)&&(ja||ha)?(this.Vc=E,this.SWa()):!V&&!L||ja&&ha||(this.Vc=B,this.UWa())):this.Vc==B?this.gZa(ba,fa,ja,ka):this.Vc==E&&this.eZa(P,aa,ba,fa)};e.prototype.gaa=function(){this.aj=
1918null;this.Vc==B&&this.Yva();this.Vc=w;this.Goa=m();this.xba();this.Ypa();this.m.T.Va()};e.prototype.eI=function(L,P){if("zoom"==this.o.get("doubleClickAction")){var V=f.hi(this.m),aa=f.Gt(this.m);aa&&V&&(F.set(L,P),this.fX(F),L=this.M9(F,aa),0!=L.length&&(this.Ys(),this.qC(),L=L[0].point,G.setFromMatrixPosition(aa.matrixWorld),this.Sh=new t("quad_in_out",[new v("x",G.x,.5*(L.x+G.x)),new v("y",G.y,.5*(L.y+G.y)),new v("z",G.z,.5*(L.z+G.z)),new v("distance",0,0)],500)))}};e.prototype.zPa=function(){return this.SN?
1919this.jj?y:x:this.HH()?this.jj?A:z:w};e.prototype.FWa=function(L,P){this.EI();this.qC();this.pKa(L,P);this.o.get("keepHeight")&&this.OZ();this.m.T.Va()};e.prototype.AYa=function(L,P,V,aa){var ba=f.Gt(this.m);ba&&(G.setFromMatrixPosition(ba.matrixWorld),this.aj?(K.set(V,aa,0),this.fX(K),K.unproject(ba),L=this.aj.x-G.x,P=this.aj.z-G.z,-2<Math.atan2(this.aj.y-G.y,Math.sqrt(P*P+L*L))*S?(Q.copy(this.aj).applyMatrix4(ba.matrixWorldInverse),W.copy(K).applyMatrix4(ba.matrixWorldInverse),L=Q.z/W.z,I.copy(W).multiplyScalar(L).applyMatrix4(ba.matrixWorld).sub(this.aj),
19200!=I.y&&this.Ys()):(L=(this.aj.y-G.y)/(K.y-G.y),I.copy(K).sub(G).multiplyScalar(L).add(G).sub(this.aj)),I.multiplyScalar(-1)):(ca.makeRotationFromEuler(N.set(0,-this.o.get("yaw")*M,0,"YXZ")),da.set(-L*this.o.get("translationSpeed")/this.tv(),0,-P*this.o.get("translationSpeed")/this.tv()).applyMatrix4(ca),I.copy(da).multiplyScalar(10*this.eE)),this.Ka.setX(G.x+I.x),this.Ka.setY(G.y+I.y),this.Ka.setZ(G.z+I.z),this.hJ(I.x,I.y,I.z,0,0),this.Ka.sj(this.Ql))};e.prototype.$va=function(){this.EI();this.aj=
1921null;this.Y5();this.Ys();this.m.T.Va()};e.prototype.dZa=function(L,P){var V;V||(V=1);L=360*L/this.VM()*this.o.get("rotationSpeed");P=180*-P/this.PC()*this.o.get("rotationSpeed");this.Ka.Sn(this.o.get("yaw")+L);this.Ka.WA(this.o.get("pitch")+P);this.Ka.NK(this.Qaa/V);this.hJ(0,0,0,L,P);this.Ka.sj(this.Ql);this.m.T.Va()};e.prototype.TWa=function(){this.$va()};e.prototype.fZa=function(L,P){var V=f.Gt(this.m),aa=this.o.get("distance")||this.ci||1;P=P*aa*2*Math.tan(V.fov*M/2)/this.PC();0!=P&&this.Ys();
1922this.Ka.setY(this.o.get("y")+P);L=360*L/this.VM()*this.o.get("rotationSpeed");this.Ka.Sn(this.o.get("yaw")+L);this.hJ(0,P,0,L,0);this.Ka.sj(this.Ql)};e.prototype.RWa=function(){this.EI();this.qC();this.Ys();this.m.T.Va()};e.prototype.cZa=function(L,P){L=360*-L/this.VM()*this.o.get("rotationSpeed");P=180*P/this.PC()*this.o.get("rotationSpeed");this.Ka.Sn(this.o.get("yaw")+L);this.Ka.WA(this.o.get("pitch")+P);this.hJ(0,0,0,L,P);this.Ka.sj(this.Ql);this.m.T.Va()};e.prototype.NWa=function(){this.Ys();
1923this.EI();this.aj=null;this.qC();this.o.get("keepHeight")&&this.OZ();this.m.T.Va()};e.prototype.QYa=function(L){this.IVa(da);da.multiplyScalar(-L*this.o.get("translationSpeed")*(this.eE||1));this.ci&&this.hma(this.ci+da.y);this.Ka.setX(this.o.get("x")+da.x);this.Ka.setY(this.o.get("y")+da.y);this.Ka.setZ(this.o.get("z")+da.z);this.Ka.sj(this.$I)};e.prototype.UWa=function(){this.EI();this.aj=null;this.Y5();this.Ys();this.m.T.Va();this.Ts=void 0};e.prototype.gZa=function(L,P,V,aa){void 0!==this.Ts||
1924(this.Ts=V);V=l(this.Ts,aa);this.Ts=aa;this.Ka.Sn(this.o.get("yaw")+V);this.Ka.NK(this.Qaa*L/P);this.hJ(0,0,0,V,0);this.Ka.sj(this.Ql);this.m.T.Va()};e.prototype.SWa=function(){this.EI();this.aj=null;this.Y5();this.Ys();this.m.T.Va();this.EY=void 0};
1924e.prototype.eZa=function(L,P,V,aa){void 0!==this.EY||(this.EY=L);L=180*-(P-this.EY)/this.PC();this.EY=P;this.Ka.WA(this.o.get("pitch")+L);this.Ka.NK(this.Qaa*V/aa);this.hJ(0,0,0,0,L);this.Ka.sj(this.Ql);this.m.T.Va()};e.prototype.pKa=function(L,P){var V=
1925f.hi(this.m),aa=f.Gt(this.m);this.aj=null;aa&&V&&(F.set(L,P),this.fX(F),L=this.M9(F,aa),L.length&&(this.aj=L[0].point))};e.prototype.Y5=function(){this.Iq=null;var L=f.hi(this.m),P=f.Gt(this.m);P&&L&&(F.set(0,0),L=this.M9(F,P),L.length&&(this.Iq=L[0].point),this.Iq||(this.Iq=(new THREE.Vector3).setFromMatrixPosition(P.matrixWorld)),this.o.set("distance",G.setFromMatrixPosition(P.matrixWorld).distanceTo(this.Iq)),this.Qaa=this.o.get("distance"),this.o.set("x",this.Iq.x),this.o.set("y",this.Iq.y),this.o.set("z",
1926this.Iq.z),this.o.set("easing",0))};e.prototype.qC=function(){this.Iq&&(this.Iq=null,G.setFromMatrixPosition(f.Gt(this.m).matrixWorld),this.o.set("distance",0),this.o.set("x",G.x),this.o.set("y",G.y),this.o.set("z",G.z),this.o.set("easing",0))};var w="none",x="dragging",y="rotating",z="rotating yaw dragging y",C="moving front",A="rotating around camera",B="rotating yaw gesture",E="rotating pitch gesture",G=new THREE.Vector3,K=new THREE.Vector3,I=new THREE.Vector3,Q=new THREE.Vector3,W=new THREE.Vector3;
1927e.prototype.em=function(L){this.o!=L&&(this.o&&(this.Ka=null,T.forEach(function(P){this.o.unbind(b.F(P),this.sxa,this,!1)}.bind(this)),X.forEach(function(P){this.o.unbind(b.F(P),this.Fw,this,!1)}.bind(this)),D.forEach(function(P){this.o.unbind(b.F(P),this.Xq,this,!1)}.bind(this)),this.o.set("userInteracting",!1)),this.o=L)&&(this.Ka=new q(this.o),T.forEach(function(P){this.o.bind(b.F(P),this.sxa,this,!1)}.bind(this)),X.forEach(function(P){this.o.bind(b.F(P),this.Fw,this,!1)}.bind(this)),D.forEach(function(P){this.o.bind(b.F(P),
1928this.Xq,this,!1)}.bind(this)),this.Fw(),this.Xq(),this.o.set("userInteracting",!1))};e.prototype.Fw=function(){if(this.m&&this.o){var L=this.m.H(c.Aa,!0);L.translationX=this.o.get("x");var P=this.o.get("y")-L.translationY;Math.abs(P)>Y&&(L.translationY=this.o.get("y"),this.Vc!=w||this.xk||this.Jj||this.yk||this.ln||this.kn||this.Sh||this.Ag||this.Ys());L.af=this.o.get("z");L.qe=-this.o.get("yaw");L.Ne=this.o.get("pitch");L.Oe=0;L.Vf="YXZ";L.positionX=0;L.positionY=0;L.positionZ=this.o.get("distance");
1929L.easing=this.o.get("easing");(void 0!==this.o.get("minHeight")||this.o.get("keepHeight"))&&this.Fxa()}};e.prototype.Xq=function(){this.m&&this.o&&(this.m.H(c.PerspectiveCamera,!0).fov=this.o.get("fov"))};e.prototype.Q$=function(L,P,V,aa,ba){var fa=this.m.getComponent(c.Aa);fa&&(ca.makeRotationFromEuler(N.set(0,fa.qe*M,0,fa.Vf)),da.set(L,P,V).applyMatrix4(ca).multiplyScalar(this.eE),void 0!==this.ci&&(this.ci+=da.y,this.fP()),this.Ka.setX(this.o.get("x")+da.x),this.Ka.setY(this.o.get("y")+da.y),this.Ka.setZ(this.o.get("z")+
1930da.z),this.Ka.Sn(this.o.get("yaw")+aa),this.Ka.WA(this.o.get("pitch")+ba),this.Ka.sj(this.Ql))};e.prototype.IVa=function(L){var P=this.m.getComponent(c.Aa);P&&(ca.makeRotationFromEuler(N.set(P.Ne*M,P.qe*M,P.Oe*M,P.Vf)),L.set(0,0,1).applyMatrix4(ca))};e.prototype.EI=function(){this.Py=m();this.$i=1;this.lv=this.mv=this.ov=this.nv=this.kv=0;this.Ag=this.$C=this.aD=this.bD=this.YC=this.XC=void 0};e.prototype.hJ=function(L,P,V,aa,ba){var fa=m();this.$i=fa-this.Py;this.Py=fa;this.lv=L;this.mv=P;this.ov=
1931V;this.nv=aa;this.kv=ba};e.prototype.Yva=function(){this.$i&&(this.$C=this.lv/this.$i,this.aD=this.mv/this.$i,this.bD=this.ov/this.$i,this.YC=this.nv/this.$i,this.XC=this.kv/this.$i,this.Ag=1)};e.prototype.sxa=function(){void 0!==this.o.get("minHeight")&&(void 0===this.ci&&this.OZ(),void 0!==this.ci&&this.ci<this.o.get("minHeight")&&(this.ci=this.o.get("minHeight")),this.Fxa())};e.prototype.Ys=function(){this.ci=this.Sk=void 0;this.gP&&(clearTimeout(this.gP),this.gP=null)};e.prototype.Ypa=function(){this.yH=
19322E3;this.cN=void 0;this.m.T.Va()};e.prototype.VNa=function(){this.yH=0;this.cN=Infinity;this.m.T.Va()};e.prototype.xba=function(){this.aj||void 0!==this.ci||this.gP||(this.gP=setTimeout(function(){this.gP=null;this.OZ()}.bind(this),0))};e.prototype.OZ=function(){var L=this.kpa();void 0!==L?this.hma(L):this.fP()};e.prototype.hma=function(L){var P=this.o.get("minHeight")||L;this.ci=Math.max(L,P);this.fP();this.Sk=this.o.get("y")+this.ci-L};e.prototype.fP=function(){if(this.ci)this.eE=Math.min(10,Math.max(this.ci||
19330,.1));else{this.gq(da);this.hPa(ea);var L=this.L9(da,ea);this.eE=L.length?da.distanceTo(L[0].point):da.y-(this.o.get("minY")||0)}this.eE=Math.max(Math.abs(this.eE||0),.1)};e.prototype.Fxa=function(){this.Gxa||void 0===this.ci||(this.Gxa=setTimeout(function(){this.Gxa=null;var L=this.kpa();void 0!==L&&void 0!==this.ci&&(L=this.ci-L,this.cN=0==this.yH?Infinity:Math.abs(L/this.yH),this.Sk=this.o.get("y")+L,0!==L&&this.m.T.Va())}.bind(this),0))};e.prototype.kpa=function(){if(this.o)return this.gq(da),
1934this.JPa(da.x,da.y,da.z)};e.prototype.JPa=function(L,P,V){var aa=this.L9(da.set(L,P,V),ea.set(0,-1,0));if(0<aa.length)return aa[0].distance;aa=this.L9(da.set(L,P+1E3,V),ea.set(0,-1,0));if(0<aa.length)return aa[aa.length-1].distance-1E3};e.prototype.L9=function(L,P){R.ray.origin.copy(L);R.ray.direction.copy(P);return R.intersectObjects(this.XM(),!1)};e.prototype.M9=function(L,P){R.setFromCamera(L,P);return R.intersectObjects(this.XM(),!1)};e.prototype.XM=function(){var L=this.m&&f.hi(this.m);
1934if(!L)return[];
1935var P=[];L.traverse(function(V){V.isSprite||V.isLine||P.push(V)});return P};e.prototype.gq=function(L){L.set(0,0,0);this.o&&(L.applyMatrix4(ca.makeTranslation(0,0,this.o.get("distance"))),L.applyMatrix4(ca.makeRotationFromEuler(N.set(this.o.get("pitch")*M,-this.o.get("yaw")*M,0*M,"YXZ"))),L.applyMatrix4(ca.makeTranslation(this.o.get("x"),this.o.get("y"),this.o.get("z"))))};e.prototype.hPa=function(L){this.o?(ca.makeRotationFromEuler(N.set(this.o.get("pitch")*M,-this.o.get("yaw")*M,0,"YXZ")),L.set(0,
19360,-1).applyMatrix4(ca)):L.set(0,0,-1)};var U=[h.ja.Ti,h.ja.Gh,h.ja.Wa,h.ja.ob,h.ja.Vn,h.ja.Au,h.ja.hu,h.ja.Gu,h.ja.Q,h.ja.E],T=["minHeight"],X="minYaw maxYaw yaw minPitch maxPitch pitch minX maxX x minY maxY y minZ maxZ z distance easingSpeed".split(" "),D=["minFov","maxFov","fov"],M=Math.PI/180,S=180/Math.PI,Y=1E-6,ca=new THREE.Matrix4,da=new THREE.Vector3(0,0,0),ea=new THREE.Vector3(0,0,0),F=new THREE.Vector2(0,0),N=new THREE.Euler,R=new THREE.Raycaster;e.prototype.dispose=function(){this.qC();
1937this.em(null);this.j$();this.M$();this.rq.Ba()};e.$a=function(L){L.J(c.nu).manager=new e(L)};e.Ba=function(L){var P=L.getComponent(c.nu);P.manager.dispose();P.manager=null;L.la(c.nu)};e.update=function(L){L.getComponent(c.nu).manager.update()};e.frame=function(L,P,V){L.getComponent(c.nu).manager.frame(P,V)};return e});
1938define("oD","require lE pg bn fK ls oR fz ou kA pu il bd".split(" "),function(a){function e(y){this.m=y;this.i$(v);this.L$();this.rq=new c(y);this.Pk=new THREE.Matrix4;this.$I=.05;this.Ql=.25;this.xk=this.Jj=this.yk=this.ln=this.kn=0;this.$C=this.aD=this.bD=this.YC=this.XC=this.Py=this.$i=this.lv=this.mv=this.ov=this.nv=this.kv=void 0;this.D9=1E3;this.Mua=720;this.Gwa=4;this.uqa=720;this.k$=2;this.Ka=null;this.MD(q.Vx);this.update()}var l=a("lE"),m=a("pg"),k=a("bn"),b=a("fK"),h=a("ls"),f=a("oR"),
1939c=a("fz"),d=a("ou");a("kA");var g=a("pu"),p=a("il"),q=a("bd");l.R_(e,[h,g,p]);e.prototype.update=function(){var y=this.m.getComponent(b.KB);this.em(y&&y.properties);this.rq.SK(y&&y.properties,"moving");var z=(!y.IJ||!f.nga(this.m.T))&&y.enabled;this.kZ(y&&(z?y.sg:null));this.xN(!!y&&z&&y.AA);z||this.wD();z&&y.AA||(this.ln=this.kn=this.xk=this.Jj=this.yk=0)};e.prototype.frame=function(y){this.Ag&&(this.Ag=Math.max(0,this.Ag-y/this.D9),this.Ka.setX(this.o.get("x")+this.$C*this.Ag),this.Ka.setY(this.o.get("y")+
1940this.aD*this.Ag),this.Ka.setZ(this.o.get("z")+this.bD*this.Ag),this.Ka.Sn(this.o.get("yaw")+this.YC*this.Ag),this.Ka.WA(this.o.get("pitch")+this.XC*this.Ag),this.m.T.Va());if(this.ln||this.kn||this.xk||this.Jj||this.yk)y/=1E3,this.Q$(this.xk*y,this.Jj*y,this.yk*y,this.ln*y,this.kn*y);this.rq.Yia()};e.prototype.lO=function(){this.Ada()};e.prototype.Ada=function(){this.ln=this.kn=this.yk=this.Jj=this.xk=0;var y=this.Rf[k.ja.Vn]?1:this.Rf[k.ja.hu]?-1:0,z=this.Rf[k.ja.Gu]?1:this.Rf[k.ja.Au]?-1:0,C=this.Rf[k.ja.Q]?
19411:this.Rf[k.ja.E]?-1:0,A=this.Rf[k.ja.Ti]?1:this.Rf[k.ja.Gh]?-1:0,B=this.Rf[k.ja.Wa]?1:this.Rf[k.ja.ob]?-1:0;if(y||z||C||A||B){var E=this.jj?.2:1;y&&(this.xk=-y*E*this.k$*this.o.get("translationSpeed"));C&&(this.Jj=-C*E*this.k$*this.o.get("translationSpeed"));z&&(this.yk=-z*E*this.k$*this.o.get("translationSpeed"));B&&(this.ln=B*E*this.uqa*this.o.get("rotationSpeed"));A&&(this.kn=-A*E*this.uqa*this.o.get("rotationSpeed"));this.m.T.Va()}};e.prototype.GX=function(){this.MD(q.Jh);this.ti=!0;this.Py=
1942(new Date).getTime();this.$i=1;this.lv=this.mv=this.ov=this.nv=this.kv=0;this.Ag=this.$C=this.aD=this.bD=this.YC=this.XC=void 0;this.m.T.Va()};e.prototype.FX=function(y,z){if(this.ti){var C=(y*y+z*z)/2500;C=1<C?1/Math.sqrt(C):1;y*=C;z*=C;C=(new Date).getTime();this.$i=C-this.Py;this.Py=C;this.lv=this.mv=this.ov=this.nv=this.kv=0;C=this.SN;this.jj&&(C=!C);C?(this.nv=+y*this.o.get("rotationSpeed")*this.Mua/this.tv(),this.kv=-z*this.o.get("rotationSpeed")*this.Mua/this.tv(),this.Lua(this.nv,this.kv)):
1943(this.apa(y*this.Gwa/this.tv(),z*this.Gwa/this.tv(),r),this.lv=r.x,this.mv=r.y,this.ov=r.z,this.dda(this.lv,this.mv,this.ov));this.Ka.sj(this.Ql)}};e.prototype.apa=function(y,z,C){var A=this.m.getComponent(b.Aa);C.set(-y*this.o.get("translationSpeed"),+z*this.o.get("translationSpeed"),0*this.o.get("translationSpeed"));C.applyMatrix4(t.makeRotationFromEuler(u.set(A.Ne*n,A.qe*n,A.Oe*n,A.Vf)));C.multiplyScalar(this.o.get("distance"))};e.prototype.wD=function(){this.zY(q.Jh);this.ti&&(this.ti=!1,this.$i&&
1944(this.$C=this.lv/this.$i,this.aD=this.mv/this.$i,this.bD=this.ov/this.$i,this.YC=this.nv/this.$i,this.XC=this.kv/this.$i,this.Ag=1,this.Ka.sj(this.Ql)),this.Py=void 0)};e.prototype.HX=function(y){this.Ka.NK(this.o.get("distance")-y*this.o.get("distance")*this.o.get("translationSpeed"));this.Ka.sj(this.$I)};e.prototype.Ura=function(){this.Zpa=this.o.get("distance");this.ti=!1};e.prototype.faa=function(y,z,C){this.apa(y/this.tv(),z/this.tv(),r);this.dda(r.x,r.y,r.z);this.Ka.NK(this.Zpa/C);this.Ka.sj(this.Ql)};
1945e.prototype.gaa=function(){this.Zpa=this.o.get("distance")};e.prototype.Q$=function(y,z,C,A,B){var E=this.m.getComponent(b.Aa);E&&(t.makeRotationFromEuler(u.set(0,E.qe*n,0,E.Vf)),r.set(y,z,C).applyMatrix4(t).multiplyScalar(this.o.get("distance")),this.dda(r.x,r.y,r.z),this.Lua(A,B),this.Ka.sj(this.Ql))};e.prototype.dda=function(y,z,C){this.Ka.setX(this.o.get("x")+y);this.Ka.setY(this.o.get("y")+z);this.Ka.setZ(this.o.get("z")+C)};e.prototype.Lua=function(y,z){this.Ka.Sn(this.o.get("yaw")+y);this.Ka.WA(this.o.get("pitch")+
1946z)};e.prototype.em=function(y){this.o!=y&&(this.o&&(this.Ka=null,w.forEac
1946h(function(z){this.o.unbind(m.F(z),this.Fw,this,!1)}.bind(this)),x.forEach(function(z){this.o.unbind(m.F(z),this.Xq,this,!1)}.bind(this)),this.o.set("userInteracting",!1)),this.o=y)&&(this.o.set("userInteracting",!1),this.Ka=new d(this.o),w.forEach(function(z){this.o.bind(m.F(z),this.Fw,this,!1)}.bind(this)),x.forEach(function(z){this.o.bind(m.F(z),this.Xq,this,!1)}.bind(this)),this.Fw(),this.Xq())};e.prototype.Fw=function(){if(this.m&&
1947this.o){var y=this.m.H(b.Aa,!0);y.translationX=this.o.get("x");y.translationY=this.o.get("y");y.af=this.o.get("z");y.qe=-this.o.get("yaw");y.Ne=this.o.get("pitch");y.Oe=0;y.Vf="YXZ";y.positionX=0;y.positionY=0;y.positionZ=this.o.get("distance");y.easing=this.o.get("easing")}};e.prototype.Xq=function(){this.m&&this.o&&(this.m.H(b.PerspectiveCamera,!0).fov=this.o.get("fov"))};var n=Math.PI/180,r=new THREE.Vector3(0,1,0),u=new THREE.Euler,t=new THREE.Matrix4,v=[k.ja.Ti,k.ja.Gh,k.ja.Wa,k.ja.ob,k.ja.Vn,
1948k.ja.Au,k.ja.hu,k.ja.Gu,k.ja.Q,k.ja.E],w="easing minYaw maxYaw yaw minPitch maxPitch pitch minDistance maxDistance distance minX maxX x minY maxY y minZ maxZ z".split(" "),x=["minFov","maxFov","fov"];e.prototype.dispose=function(){this.em(null);this.j$();this.M$();this.rq.Ba()};e.$a=function(y){y.J(b.uu).manager=new e(y)};e.Ba=function(y){var z=y.getComponent(b.uu);z.manager.dispose();z.manager=null;y.la(b.uu)};e.update=function(y){y.getComponent(b.uu).manager.update()};e.frame=function(y,z,C){y.getComponent(b.uu).manager.frame(z,
1949C)};return e});
1950define("hQ","require exports oB cp fK three.mod".split(" "),function(a,e,l,m,k,b){a=function(){function c(d){this.N=d;this.properties=this.N.getComponent(k.Du).properties;this.sm()&&this.m_a();this.update()}c.prototype.update=function(){this.properties=this.N.getComponent(k.Du).properties;this.sm()||this.Dya()};c.prototype.frame=function(){this.sm()?this.l_a():this.Dya()};c.prototype.m_a=function(){var d=this.N.getComponent(k.Du).Xf||1;this.Dza();l.setPosition({x:this.properties.get("x"),y:this.properties.get("y"),
1951z:this.properties.get("z"),yaw:this.properties.get("yaw")});l.setScale(d)};c.prototype.l_a=function(){this.Dza();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.tg).y*f)};c.prototype.Dya=function(){var d=this.N.H(k.Aa,!0);d.translationX=this.properties.get("x");d.translationY=this.properties.get("y");d.af=this.properties.get("z");d.qe=-this.properties.get("yaw");d.Ne=this.properties.get("pitch");
1952d.Oe=0;d.Vf="YXZ";d.positionX=0;d.positionY=0;d.positionZ=this.properties.get("distance",0);d.easing=0;this.N.H(k.PerspectiveCamera,!0).fov=this.properties.get("fov")};c.prototype.Dza=function(){var d=m.hi(this.N),g=this.N.getComponent(k.xj);g=g&&g.camera;l.gx!==g&&l.tFa(l.Zg,d,g,l.R4.Uja)};c.prototype.sm=function(){return this.N.getComponent(k.PerspectiveCamera).sm};c.$a=function(d){d.J(k.ls).manager=new c(d)};c.update=function(d){d.getComponent(k.ls).manager.update()};c.frame=function(d,g,p){d.getComponent(k.ls).manager.frame(g,
1953p)};c.Ba=function(d){d.getComponent(k.ls).manager=null;d.la(k.ls)};return c}();var h=new b.Euler,f=180/Math.PI;return a});
1954define("kG","require exports pg oB mq fK three.mod".split(" "),function(a,e,l,m,k,b,h){a=function(){function y(z){this.locked=!0;this.gp=!1;this.ofa=this.Zk=this.Ke=null;this.l0=new h.Matrix4;this.KE=new h.Vector3;this.AK=new Map;this.Xf=1;this.aB=0;this.Or=!1;this.gk=0;this.nj=null;this.OA=new h.Vector3;this.od=new h.Vector3;this.F1=new h.Quaternion;this.wS=this.xS=this.yS=0;this.Iw=new h.Box3(new h.Vector3(-Infinity,-Infinity,-Infinity),new h.Vector3(Infinity,Infinity,Infinity));this.N=z;this.qj=
1955this.qj.bind(this);this.gr=new k(this.N);m.P.bind(l.ca,this.Le,this,!0);this.update()}y.prototype.update=function(){var z=this.N.getComponent(b.rG),C=(null===z||void 0===z?void 0:z.locked)||!1;!C&&this.locked&&(this.gp=!0);this.locked=C;this.Xf=(null===z||void 0===z?void 0:z.Xf)||1;this.gk=null===z||void 0===z?void 0:z.gk;this.cB();this.properties=z.properties;this.locked||(m.setScale(this.Xf),this.VQ(),this.qj());this.gp&&(f.setFromQuaternion(m.n3),m.setPosition({pitch:f.x*w,roll:f.z*w}),this.BE())};
1956y.prototype.frame=function(z){if(!this.locked){this.Cx();this.oT();this.BE();if(!this.properties.get("controllingPosition")){this.od.copy(m.Yc);this.F1.copy(m.tg);var C;(C=this.OQ())||(C=this.Fea(z));C||(C=this.PQ(z));C&&(z={},m.Yc.equals(this.od)||(z.x=this.od.x,z.y=this.od.y,z.z=this.od.z),m.tg.equals(this.F1)||(f.setFromQuaternion(this.F1,"YXZ"),z.yaw=-f.y*w,z.pitch=f.x*w,z.roll=f.z*w),m.setPosition(z))}this.TQ();this.BJ();this.gp=!1}};y.prototype.dispose=function(){m.P.unbind(l.ca,this.Le,this);
1957this.properties.set("userInteracting",!1);this.cB();this.Xg();this.WS([])};y.prototype.cB=function(){y.Yx.forEach(function(z){var C;null===(C=this.properties)||void 0===C?void 0:C.unbind(l.F(z),this.qj,this)}.bind(this))};y.prototype.VQ=function(){y.Yx.forEach(function(z){var C;null===(C=this.properties)||void 0===C?void 0:C.bind(l.F(z),this.qj,this,!0)}.bind(this))};y.prototype.qj=function(){this.Iw.min.set(this.properties.get("minX",-Infinity),this.properties.get("minY",-Infinity),this.properties.get("minZ",
1958-Infinity));this.Iw.max.set(this.properties.get("maxX",Infinity),this.properties.get("maxY",Infinity),this.properties.get("maxZ",Infinity))};y.prototype.BE=function(){var z=this.properties.get("x"),C=this.properties.get("y"),A=this.properties.get("z"),B=this.properties.get("yaw"),E=this.properties.get("pitch"),G=this.properties.get("distance");if(z!==this.OA.x||C!==this.OA.y||A!==this.OA.z||B!==this.yS||E!==this.xS||G!==this.wS)this.OA.set(z,C,A),p.identity(),p.multiply(q.makeTranslation(z,C,A)),
1959p.multiply(q.makeRotationFromEuler(f.set(E*x,-B*x,0,"YXZ"))),p.multiply(q.makeTranslation(0,0,G)),p.decompose(d,c,g),f.setFromQuaternion(c,"YXZ"),m.setPosition({x:d.x,y:d.y,z:d.z,yaw:-f.y*w})};y.prototype.TQ=function(){d.copy(m.Yc).sub(this.OA);var z=d.length();f.setFromQuaternion(c.setFromUnitVectors(t,d.multiplyScalar(1/z)),"YXZ");this.properties.set("x",this.OA.x);this.properties.set("y",this.OA.y);this.properties.set("z",this.OA.z);this.properties.set("yaw",-f.y*w);this.properties.set("pitch",
1960f.x*w);this.properties.set("roll",f.z*w);this.properties.set("distance",z)};y.prototype.BJ=function(){this.yS=this.properties.get("yaw");this.xS=this.properties.get("pitch");this.wS=this.properties.get("distance")};
1960y.prototype.Cx=function(){this.WS((y.iB.get(this.N.T)||[]).map(function(z){return z.getComponent(b.sd)}))};y.prototype.WS=function(z){var C=[],A=[];this.AK.forEach(function(B){-1===z.indexOf(B)&&C.push(B)}.bind(this));z.forEach(function(B){this.AK.has(B.P)||A.push(B)}.bind(this));this.Zk&&
1961-1===z.indexOf(this.Zk)&&this.Xg();C.forEach(function(B){this.zS(B.P);this.AK.delete(B.P)}.bind(this));A.forEach(function(B){this.MQ(B.P);this.AK.set(B.P,B)}.bind(this));this.Ke=z.find(function(B){return B.bk})||null};y.prototype.MQ=function(z){z.bind(l.qa,this.ur,this,!0);z.bind(l.jb,this.vr,this,!0)};y.prototype.zS=function(z){z.unbind(l.qa,this.ur,this);z.unbind(l.jb,this.vr,this)};y.prototype.Le=function(){this.N.H(b.Lp)};y.prototype.ur=function(z){this.properties.get("inMandatorySequence")||
1962z.data.NR||"other"==z.data.type||this.properties.get("clickTranslationDisabled")||(z=this.AK.get(z.source),z=this.gr.QR(z),0!=z.length&&(this.nj=z[0].point))};y.prototype.vr=function(z){if(!this.properties.get("inMandatorySequence")){this.Xg();z=z.source;var C=this.AK.get(z),A=this.gr.QR(C);0!=A.length&&(this.Zk=C,this.ofa=z,this.ofa.bind(l.Eb,this.Xg,this,!0),this.KE.copy(A[0].point),this.l0.copy(this.Zk.matrixWorld))}};y.prototype.Xg=function(){this.Zk&&(this.Zk.P.unbind(l.Eb,this.Xg,this),this.Zk=
1963this.ofa=null)};y.prototype.OQ=function(){if(!this.nj)return!1;this.od.copy(this.nj).sub(m.Yc).multiplyScalar(.5).add(m.Yc);this.nj=null;return!0};y.prototype.PQ=function(z){return this.QQ()?!0:this.RQ(z)?!0:!1};y.prototype.QQ=function(){if(!this.Ke)return!1;if(0===this.Ke.Nb.y&&0===this.Ke.Nb.x)return this.aB=Date.now(),this.Or=!1;if(this.Or)return!0;var z=Math.sqrt(this.Ke.Nb.y*this.Ke.Nb.y+this.Ke.Nb.x*this.Ke.Nb.x)*this.properties.get("rotationSpeed",1),C=Math.atan2(-this.Ke.Nb.y,this.Ke.Nb.x),
1964A=Math.abs(C)<.25*Math.PI;C=Math.abs(C)>.75*Math.PI;return 0!==this.gk&&.95<z&&(A||C)&&100>Date.now()-this.aB?(this.Or=!0,z=this.gk*(C?-1:1),z=-f.setFromQuaternion(m.tg,"YXZ").y*w+z,m.setPosition({yaw:z}),!0):!1};y.prototype.RQ=function(z){if(!this.Ke||0===this.Ke.Nb.y&&0===this.Ke.Nb.x)return!1;z=4E3/3600/this.Xf*this.properties.get("translationSpeed",1)*z/1E3;var C=d.set(0,0,-1).applyQuaternion(m.tg),A=g.set(1,0,0).applyQuaternion(m.tg);C.normalize().multiplyScalar(-this.Ke.Nb.y*z);A.normalize().multiplyScalar(this.Ke.Nb.x*
1965z);this.od.set(m.Yc.x+C.x+A.x,m.Yc.y+C.y+A.y,m.Yc.z+C.z+A.z);return!0};y.prototype.Fea=function(z){if(!this.Zk)return!1;this.Gea(z);z=p.copy(this.l0);var C=q.copy(this.Zk.matrixWorld);C=r.copy(n.compose(m.Yc,m.tg,v)).invert().multiply(C);u.copy(z).multiply(C.invert()).decompose(this.od,this.F1,d);return!0};y.prototype.Gea=function(z){if(!this.Zk||0===this.Zk.Nb.y&&0===this.Zk.Nb.x)return!1;z=90*z/1E3*this.properties.get("rotationSpeed",1);var C=n.makeRotationFromQuaternion(c.setFromRotationMatrix(this.l0)),
1966A=r.copy(C).invert(),B=q.identity();B.multiply(p.makeTranslation(this.KE.x,this.KE.y,this.KE.z));B.multiply(C);B.multiply(p.makeRotationFromEuler(f.set(this.Zk.Nb.y*z*x,this.Zk.Nb.x*z*x,0,"YXZ")));B.multiply(A);B.multiply(p.makeTranslation(-this.KE.x,-this.KE.y,-this.KE.z));this.l0.premultiply(B);return!0};y.prototype.oT=function(){this.properties.get("inMandatorySequence")?this.properties.set("userInteracting",!1):this.Zk?this.properties.set("userInteracting",!0):this.nj?this.properties.set("userInteracting",
1967!0):!this.Ke||0===this.Ke.Nb.y&&0===this.Ke.Nb.x?this.properties.set("userInteracting",!1):this.properties.set("userInteracting",!0)};y.FF=function(z,C){this.iB.set(z,C)};y.$a=function(z){z.J(b.Lp).manager=new y(z)};y.update=function(z){z.getComponent(b.Lp).manager.update()};y.frame=function(z,C,A){z.getComponent(b.Lp).manager.frame(C,A)};y.Ba=function(z){var C=z.getComponent(b.Lp);C.manager.dispose();C.manager=null;z.la(b.Lp)};y.iB=new Map;y.Yx="minX maxX minY maxY minZ maxZ".split(" ");return y}();
1968var f=new h.Euler(0,0,0,"YXZ"),c=new h.Quaternion,d=new h.Vector3,g=new h.Vector3,p=new h.Matrix4,q=new h.Matrix4,n=new h.Matrix4,r=new h.Matrix4,u=new h.Matrix4,t=new h.Vector3(0,0,1),v=new h.Vector3(1,1,1),w=180/Math.PI,x=Math.PI/180;return a});
1969define("hk","require exports pg oB mq fK three.mod".split(" "),function(a,e,l,m,k,b,h){a=function(){function x(y){this.locked=!0;this.gp=!1;this.Pi=this.FS=this.Ke=null;this.Mga=new h.Matrix4;this.rF=[];this.Xf=1;this.aB=0;this.Or=!1;this.gk=0;this.nj=null;this.hja=!1;this.od=new h.Vector3;this.wS=this.xS=this.yS=this.WDa=this.VDa=this.UDa=0;this.Iw=new h.Box3(new h.Vector3(-Infinity,-Infinity,-Infinity),new h.Vector3(Infinity,Infinity,Infinity));this.N=y;this.qj=this.qj.bind(this);this.gr=new k(this.N);
1970m.P.bind(l.ca,this.Le,this,!0);this.update()}x.prototype.update=function(){var y=this.N.getComponent(b.sG),z=(null===y||void 0===y?void 0:y.locked)||!1;!z&&this.locked&&(this.gp=!0);this.locked=z;this.Xf=(null===y||void 0===y?void 0:y.Xf)||1;this.gk=null===y||void 0===y?void 0:y.gk;this.cB();this.properties=y.properties;this.locked||(m.setScale(this.Xf),this.VQ(),this.qj());this.gp&&(f.setFromQuaternion(m.n3),m.setPosition({pitch:f.x*v,roll:f.z*v}),this.BE(!0))};x.prototype.frame=function(y){if(!this.locked){this.Cx();
1971this.oT();this.BE(!1);if(!this.properties.get("controllingPosition")){this.od.copy(m.Yc);var z=this.GA=-f.setFromQuaternion(m.tg).y*v;var C=this.OQ();this.hja&&this.Pi&&this.Mga.copy(this.Pi.matrixWorld);this.hja=!1;C||(C=this.hja=this.Gea(y));C||(C=this.Fea(y));C||(C=this.PQ(y));C&&(y={},m.Yc.equals(this.od)||(y.x=this.od.x,y.y=this.od.y,y.z=this.od.z),this.GA!=z&&(y.yaw=this.GA),m.setPosition(y))}this.TQ();this.BJ();this.gp=!1}};x.prototype.dispose=function(){m.P.unbind(l.ca,this.Le,this);this.properties.set("userInteracting",
1972!1);this.cB();this.Xg();this.WS([])};x.prototype.cB=function(){x.Yx.forEach(function(y){var z;null===(z=this.properties)||void 0===z?void 0:z.unbind(l.F(y),this.qj,this)}.bind(this))};x.prototype.VQ=function(){x.Yx.forEach(function(y){var z;null===(z=this.properties)||void 0===z?void 0:z.bind(l.F(y),this.qj,this,!0)}.bind(this))};x.prototype.qj=function(){this.Iw.min.set(this.properties.get("minX",-Infinity),this.properties.get("minY",-Infinity),this.properties.get("minZ",-Infinity));this.Iw.max.set(this.properties.get("maxX",
1973Infinity),this.properties.get("maxY",Infinity),this.properties.get("maxZ",Infinity))};x.prototype.BE=function(y){var z=this.properties.get("x"),C=this.properties.get("y"),A=this.properties.get("z"),B=this.properties.get("controllingPosition"),E=this.properties.get("yaw"),G=this.properties.get("pitch"),K=this.properties.get("distance");if(z!==this.UDa||C!==this.VDa||A!==this.WDa||E!==this.yS||G!==this.xS||K!==this.wS)p.identity(),p.multiply(q.makeTranslation(z,C,A)),p.multiply(q.makeRotationFromEuler(f.set(G*
1974w,-E*w,0,"YXZ"))),p.multiply(q.makeTranslation(0,0,K)),p.decompose(d,c,g),f.setFromQuaternion(c,"YXZ"),m.setPosition({x:d.x,y:d.y,z:d.z,yaw:!y||B?void 0:-f.y*v})};x.prototype.TQ=function(){this.properties.set("x",m.Yc.x);this.properties.set("y",m.Yc.y);this.properties.set("z",m.Yc.z);f.setFromQuaternion(m.tg);this.properties.set("yaw",-f.y*v);this.properties.set("pitch",f.x*v);this.properties.set("roll",f.z*v);this.properties.set("distance",0)};x.prototype.BJ=function(){this.UDa=this.properties.get("x");
1975this.VDa=this.properties.get("y");this.WDa=this.properties.get("z");this.yS=this.properties.get("yaw");this.xS=this.properties.get("pitch");this.wS=this.properties.get("distance")};
1975x.prototype.Cx=function(){this.WS((x.iB.get(this.N.T)||[]).map(function(y){return y.getComponent(b.sd)}))};x.prototype.WS=function(y){var z=[],C=[];this.rF.forEach(function(A){-1===y.indexOf(A)&&z.push(A)}.bind(this));y.forEach(function(A){-1===this.rF.indexOf(A)&&C.push(A)}.bind(this));this.Pi&&-1===y.indexOf(this.Pi)&&
1976this.Xg();z.forEach(function(A){this.zS(A);this.rF.splice(this.rF.indexOf(A),1)}.bind(this));C.forEach(function(A){this.MQ(A);this.rF.push(A)}.bind(this));this.Ke=y.find(function(A){return A.bk})||null;this.FS=y.find(function(A){return!A.bk})||this.Ke};x.prototype.MQ=function(y){y.P.bind(l.jb,this.vr,this,!0);y.P.bind(l.qa,this.ur,this,!0)};x.prototype.zS=function(y){y.P.unbind(l.jb,this.vr,this);y.P.unbind(l.qa,this.ur,this)};x.prototype.Le=function(){this.N.H(b.Mp)};x.prototype.ur=function(y){if(!(this.properties.get("inMandatorySequence")||
1977y.data.NR||"other"==y.data.type||this.properties.get("clickTranslationDisabled"))){var z=this.rF.find(function(C){return y.source===C.P});z&&(z=this.gr.QR(z),0!=z.length&&(this.nj=z[0].point))}};x.prototype.vr=function(y){if(!this.properties.get("inMandatorySequence")){this.Xg();var z=this.rF.find(function(C){return y.source===C.P});z&&(this.Pi=z,this.Pi.P.bind(l.Eb,this.Xg,this,!0),this.Mga.copy(this.Pi.matrixWorld),z=this.gr.QR(z),0!=z.length&&(this.EA=(new h.Vector3).copy(z[0].point)))}};x.prototype.Xg=
1978function(){this.Pi&&(this.Pi.P.unbind(l.Eb,this.Xg,this),this.EA=this.Pi=null)};x.prototype.OQ=function(){if(!this.nj)return!1;this.od.copy(this.nj).sub(m.Yc).multiplyScalar(.5).add(m.Yc);this.nj=null;return!0};x.prototype.PQ=function(y){return this.QQ()?!0:this.RQ(y)?!0:!1};x.prototype.QQ=function(){var y=this.FS;if(!y)return!1;if(0===y.Nb.y&&0===y.Nb.x)return this.aB=Date.now(),this.Or=!1;if(this.Or)return!0;var z=Math.sqrt(y.Nb.y*y.Nb.y+y.Nb.x*y.Nb.x),C=Math.atan2(-y.Nb.y,y.Nb.x);y=Math.abs(C)<
1979.25*Math.PI;C=Math.abs(C)>.75*Math.PI;return 0!==this.gk&&.95<z&&(y||C)&&100>Date.now()-this.aB?(this.Or=!0,this.GA+=this.gk*(C?-1:1),!0):!1};x.prototype.RQ=function(y){if(!this.Ke||0===this.Ke.Nb.y&&0===this.Ke.Nb.x)return!1;y=1E4/3600/this.Xf*y/1E3;this.Ke.matrixWorld.decompose(d,c,g);var z=d.set(0,0,-1).applyQuaternion(c),C=g.set(1,0,0).applyQuaternion(c);z.normalize().multiplyScalar(-this.Ke.Nb.y*y);C.normalize().multiplyScalar(this.Ke.Nb.x*y);this.od.set(m.Yc.x+z.x+C.x,m.Yc.y+z.y+C.y,m.Yc.z+
1980z.z+C.z);return!0};x.prototype.Fea=function(){if(!this.Pi)return!1;var y=this.dza(p.copy(this.Mga)),z=this.dza(q.copy(this.Pi.matrixWorld));z=r.copy(n.compose(m.Yc,m.tg,t)).invert().multiply(z);u.copy(y).multiply(z.invert()).decompose(this.od,c,d);this.GA=-f.setFromQuaternion(c).y*v;return!0};x.prototype.dza=function(y){return y.decompose(d,c,g).compose(d,c.identity(),g)};x.prototype.Gea=function(y){if(!this.Pi||!this.EA||0===this.Pi.Nb.y&&0===this.Pi.Nb.x)return!1;y=90*y/1E3;var z=p.compose(m.Yc,
1981m.tg,t),C=q.identity();C.multiply(n.makeTranslation(this.EA.x,this.EA.y,this.EA.z));C.multiply(n.makeRotationY(-this.GA*w));C.multiply(n.makeRotationFromEuler(f.set(this.Pi.Nb.y*y*w,this.Pi.Nb.x*y*w,0,"YXZ")));C.multiply(n.makeRotationY(this.GA*w));C.multiply(n.makeTranslation(-this.EA.x,-this.EA.y,-this.EA.z));z.premultiply(C);z.decompose(this.od,c,d);this.GA=-f.setFromQuaternion(c).y*v;return!0};x.prototype.oT=function(){this.properties.get("inMandatorySequence")?this.properties.set("userInteracting",
1982!1):this.Pi?this.properties.set("userInteracting",!0):this.nj?this.properties.set("userInteracting",!0):!this.Ke||0===this.Ke.Nb.y&&0===this.Ke.Nb.x?this.properties.set("userInteracting",!1):this.properties.set("userInteracting",!0)};x.FF=function(y,z){this.iB.set(y,z)};x.$a=function(y){y.J(b.Mp).manager=new x(y)};x.update=function(y){y.getComponent(b.Mp).manager.update()};x.frame=function(y,z,C){y.getComponent(b.Mp).manager.frame(z,C)};x.Ba=function(y){var z=y.getComponent(b.Mp);z.manager.dispose();
1983z.manager=null;y.la(b.Mp)};x.iB=new Map;x.Yx="minX maxX minY maxY minZ maxZ".split(" ");return x}();var f=new h.Euler(0,0,0,"YXZ");new h.Euler(0,0,0,"YXZ");var c=new h.Quaternion,d=new h.Vector3,g=new h.Vector3,p=new h.Matrix4,q=new h.Matrix4,n=new h.Matrix4,r=new h.Matrix4,u=new h.Matrix4,t=new h.Vector3(1,1,1),v=180/Math.PI,w=Math.PI/180;return a});
1984define("dL","require exports pg oB mq fK three.mod".split(" "),function(a,e,l,m,k,b,h){a=function(){function u(t){this.locked=!0;this.gp=!1;this.FS=this.CK=this.Cr=null;this.Xf=1;this.aB=0;this.Or=!1;this.gk=0;this.nj=null;this.od=new h.Vector3;this.mR=[];this.Er=new h.Vector3;this.Iw=new h.Box3(new h.Vector3(-Infinity,-Infinity,-Infinity),new h.Vector3(Infinity,Infinity,Infinity));this.N=t;this.qj=this.qj.bind(this);this.gr=new k(this.N);m.P.bind(l.ca,this.Le,this,!0);this.update()}u.prototype.update=
1985function(){var t=this.N.getComponent(b.tG),v=(null===t||void 0===t?void 0:t.locked)||!1;!v&&this.locked&&(this.gp=!0);this.locked=v;this.Xf=(null===t||void 0===t?void 0:t.Xf)||1;this.gk=null===t||void 0===t?void 0:t.gk;this.cB();this.properties=t.properties;this.locked||(m.setScale(this.Xf),this.VQ(),this.qj());this.gp&&(f.setFromQuaternion(m.n3),m.setPosition({x:this.properties.get("x"),y:this.properties.get("y"),z:this.properties.get("z"),yaw:this.properties.get("yaw"),pitch:f.x*r,roll:f.z*r}))};
1986u.prototype.cB=function(){u.Yx.forEach(function(t){var v;null===(v=this.properties)||void 0===v?void 0:v.unbind(l.F(t),this.qj,this)}.bind(this))};u.prototype.VQ=function(){u.Yx.forEach(function(t){var v;null===(v=this.properties)||void 0===v?void 0:v.bind(l.F(t),this.qj,this,!0)}.bind(this))};u.prototype.qj=function(){this.Iw.min.set(this.properties.get("minX",-Infinity),this.properties.get("minY",-Infinity),this.properties.get("minZ",-Infinity));this.Iw.max.set(this.properties.get("maxX",Infinity),
1987this.properties.get("maxY",Infinity),this.properties.get("maxZ",Infinity))};u.prototype.frame=function(t){this.locked||(this.Cx(),this.oT(),this.BE(),this.properties.get("controllingPosition")||(this.od.copy(m.Yc),this.OQ()||this.PQ(t),this.od.y=this.yya(this.Er.y,this.R0(this.od.x,this.od.y,this.od.z),t),this.o0a()&&(this.od.copy(this.Er),this.od.y=this.yya(this.Er.y,this.R0(this.od.x,this.od.y,this.od.z),t)),this.Iw.
1987clampPoint(this.od,this.od),m.Yc.equals(this.od)||m.setPosition({x:this.od.x,y:this.od.y,
1988z:this.od.z,Ra:void 0})),this.TQ(),this.BJ(),this.W4a(),this.gp=!1)};u.prototype.W4a=function(){this.gr.refresh();this.mR.forEach(function(t){t.y=NaN})};u.prototype.dispose=function(){m.P.unbind(l.ca,this.Le,this);this.properties.set("userInteracting",!1);this.cB()};u.prototype.BE=function(){var t=this.properties.get("x"),v=this.properties.get("y"),w=this.properties.get("z");if(this.Er.x!==t||this.Er.y!==v||this.Er.z!==w)this.properties.get("controllingPosition")||(v=this.R0(t,v,w)),m.setPosition({x:t,
1989y:v,z:w,yaw:void 0}),this.BJ()};u.prototype.TQ=function(){this.properties.set("x",m.Yc.x);this.properties.set("y",m.Yc.y);this.properties.set("z",m.Yc.z);f.setFromQuaternion(m.tg);this.properties.set("yaw",-f.y*r);this.properties.set("pitch",f.x*r);this.properties.set("roll",f.z*r)};u.prototype.BJ=function(){this.Er.copy(m.Yc);this.TDa=this.Ifa(this.Er)};u.prototype.Cx=function(){var t=null,v=null;(u.iB.get(this.N.T)||[]).forEach(function(w){w=w.getComponent(b.sd);w.bk?t=w:v=w});this.C6a(t,v)};u.prototype.C6a=
1990function(t,v){this.Cr=t;this.FS=v;t=t?t.P:null;this.CK!==t&&(this.CK&&this.zS(this.CK),(this.CK=t)&&this.MQ(this.CK))};u.prototype.MQ=function(t){t.bind(l.qa,this.ur,this,!0)};u.prototype.zS=function(t){t.unbind(l.qa,this.ur,this)};u.prototype.Le=function(){this.N.H(b.Np)};u.prototype.ur=function(t){if(this.Cr&&this.properties&&!this.properties.get("inMandatorySequence")&&!t.data.NR&&"other"!=t.data.type&&!this.properties.get("clickTranslationDisabled")&&"translate"==this.properties.get("doubleClickAction")&&
1991(t=this.gr.QR(this.Cr),0!=t.length)){var v=t[0];if(v.face&&v.face.normal){t=c.copy(m.Yc);var w=d.copy(v.point);v=g.copy(v.face.normal).applyMatrix4(v.object.matrixWorld).sub(p.setFromMatrixPosition(v.object.matrixWorld)).normalize();if(Math.abs(Math.acos(v.dot(n)))<.25*Math.PI)w.y+=this.J0();else{v=q.copy(w).sub(t);var x=v.length(),y=.5*this.J0();if(x<y)return;w.sub(v.multiplyScalar(y/x))}w.y=this.R0(w.x,w.y,w.z);this.gr.MF(t,w)||(this.nj=new h.Vector3(w.x,w.y,w.z))}}};u.prototype.OQ=function(){if(!this.nj)return!1;
1992this.od.copy(this.nj);this.nj=null;return!0};u.prototype.PQ=function(t){return this.QQ()?!0:this.RQ(t)?!0:!1};u.prototype.QQ=function(){var t=this.FS;if(!t)return!1;if(0===t.Nb.y&&0===t.Nb.x)return this.aB=Date.now(),this.Or=!1;if(this.Or)return!0;var v=Math.sqrt(t.Nb.y*t.Nb.y+t.Nb.x*t.Nb.x),w=Math.atan2(-t.Nb.y,t.Nb.x);t=Math.abs(w)<.25*Math.PI;w=Math.abs(w)>.75*Math.PI;return 0!==this.gk&&.95<v&&(t||w)&&100>Date.now()-this.aB?(this.Or=!0,v=this.gk*(w?-1:1),v=-f.setFromQuaternion(m.tg,"YXZ").y*r+
1993v,m.setPosition({x:void 0,y:void 0,z:void 0,yaw:v}),!0):!1};u.prototype.RQ=function(t){if(!this.Cr||0===this.Cr.Nb.y&&0===this.Cr.Nb.x)return!1;t=4E3/3600/this.Xf*this.properties.get("translationSpeed",1)*t/1E3;var v=c.set(0,0,-1).applyQuaternion(m.tg),w=d.crossVectors(v,n);v.y=0;w.y=0;v.normalize().multiplyScalar(-this.Cr.Nb.y*t);w.normalize().multiplyScalar(this.Cr.Nb.x*t);this.od.set(m.Yc.x+v.x+w.x,m.Yc.y,m.Yc.z+v.z+w.z);return!0};u.prototype.oT=function(){this.properties.get("inMandatorySequence")?
1994this.properties.set("userInteracting",!1):this.nj?this.properties.set("userInteracting",!0):!this.Cr||0===this.Cr.Nb.y&&0===this.Cr.Nb.x?this.properties.set("userInteracting",!1):this.properties.set("userInteracting",!0)};u.prototype.o0a=function(){if(!this.properties.get("collisionDetection"))return!1;var t=c,v=d;t.copy(this.od).sub(this.Er);v.copy(this.Er).add(t.setLength(t.length()+.2/this.Xf));if(this.gr.MF(this.Er,v))return!0;t=this.properties.get("maxStepHeight");void 0===t&&(t=.25*this.J0());
1995v=this.Ifa(this.od);return-Infinity<this.TDa&&-Infinity<v&&this.TDa+t<v?!0:!1};u.prototype.yya=function(t,v,w){var x=v-t,y=Math.abs(x);w=2/this.Xf*(w/1E3);return w>y?v:t+x*w/y};u.prototype.R0=function(t,v,w){t=this.gp?-Infinity:this.Ifa(c.set(t,v,w));return-Infinity===t?v:t+this.J0()};u.prototype.Ifa=function(t){var v=this.mR.findIndex(function(x){return x.x==t.x&&x.z==t.z&&!isNaN(x.y)});if(-1!==v)return this.mR[v].y;v=this.gr.LJ(t);var w=this.mR.find(function(x){return isNaN(x.y)});w||this.mR.push(w=
1996new h.Vector3);w.set(t.x,t.y-v,t.z);return w.y};u.prototype.J0=function(){return m.Rya/this.Xf};u.FF=function(t,v){this.iB.set(t,v)};u.$a=function(t){t.J(b.Np).manager=new u(t)};
1996u.update=function(t){t.getComponent(b.Np).manager.update()};u.frame=function(t,v,w){t.getComponent(b.Np).manager.frame(v,w)};u.Ba=function(t){var v=t.getComponent(b.Np);v.manager.dispose();v.manager=null;t.la(b.Np)};u.iB=new Map;u.Yx="minX maxX minY maxY minZ maxZ".split(" ");return u}();var f=new h.Euler(0,0,0,"YXZ"),c=new h.Vector3,
1997d=new h.Vector3,g=new h.Vector3,p=new h.Vector3,q=new h.Vector3,n=new h.Vector3(0,1,0),r=180/Math.PI;return a});
1998define("hn","require lE lO fK mq fb oR dT ca oD hQ kG hk dL".split(" "),function(a){var e=a("lE"),l=a("lO"),m=a("fK"),k=a("mq"),b=a("fb"),h=a("oR"),f=a("dT"),c=a("ca"),d=a("oD"),g=a("hQ"),p=a("kG"),q=a("hk"),n=a("dL");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Id=function(r,u){(this.Uga.Qd.length||this.Uga.vg.length)&&k.p6a(this.Uga.A);this.Sya.A.length&&this.Sya.A.slice().forEach(b.$a);this.Y_.Fa.length&&this.Y_.Fa.slice().forEach(b.update);this.Y_.A.length&&this.Y_.A.slice().forEach(function(t){b.frame(t,
1999r,u)});this.Tya.A.length&&this.Tya.A.slice().forEach(b.Ba);this.Tza.A.length&&this.Tza.A.slice().forEach(c.$a);this.nR.Fa.length&&this.nR.Fa.slice().forEach(c.update);this.nR.A.length&&this.nR.A.slice().forEach(function(t){c.frame(t,r,u)});this.Uza.A.length&&this.Uza.A.slice().forEach(c.Ba);this.Nza.A.length&&this.Nza.A.slice().forEach(f.$a);this.lR.Fa.length&&this.lR.Fa.slice().forEach(f.update);this.lR.A.length&&this.lR.A.slice().forEach(function(t){f.frame(t,r,u)});this.Oza.A.length&&this.Oza.A.slice().forEach(f.Ba);
2000this.Pza.A.length&&this.Pza.A.slice().forEach(f.Ba);this.lDa.A.length&&this.lDa.A.slice().forEach(d.$a);this.mS.Fa.length&&this.mS.Fa.slice().forEach(d.update);this.mS.A.length&&this.mS.A.slice().forEach(function(t){d.frame(t,r,u)});this.mDa.A.length&&this.mDa.A.slice().forEach(d.Ba);n.FF(this.T,this.il.A.slice());this.fHa.A.length&&this.fHa.A.slice().forEach(n.$a);this.sT.Fa.length&&this.sT.Fa.slice().forEach(n.update);this.sT.A.length&&this.sT.A.slice().forEach(function(t){n.frame(t,r,u)});this.gHa.A.length&&
2001this.gHa.A.slice().forEach(n.Ba);this.hHa.A.length&&this.hHa.A.slice().forEach(n.Ba);p.FF(this.T,this.il.A.slice());this.ZGa.A.length&&this.ZGa.A.slice().forEach(p.$a);this.qT.Fa.length&&this.qT.Fa.slice().forEach(p.update);this.qT.A.length&&this.qT.A.slice().forEach(function(t){p.frame(t,r,u)});this.$Ga.A.length&&this.$Ga.A.slice().forEach(p.Ba);this.aHa.A.length&&this.aHa.A.slice().forEach(p.Ba);q.FF(this.T,this.il.A.slice());this.bHa.A.length&&this.bHa.A.slice().forEach(q.$a);this.rT.Fa.length&&
2002this.rT.Fa.slice().forEach(q.update);this.rT.A.length&&this.rT.A.slice().forEach(function(t){q.frame(t,r,u)});this.cHa.A.length&&this.cHa.A.slice().forEach(q.Ba);this.dHa.A.length&&this.dHa.A.slice().forEach(q.Ba);this.qGa.A.length&&this.qGa.A.slice().forEach(g.$a);this.dL.Fa.length&&this.dL.Fa.slice().forEach(g.update);this.dL.Qd.length&&this.dL.Qd.slice().forEach(g.update);this.dL.A.length&&this.dL.A.slice().forEach(function(t){g.frame(t,r,u)});this.rGa.A.length&&this.rGa.A.slice().forEach(g.Ba);
2003this.sGa.A.length&&this.sGa.A.slice().forEach(g.Ba);if(this.nfa.Qd.length||this.nfa.vg.length)h.D5a(this.nfa.A),this.lR.A.slice().forEach(f.update),this.nR.A.slice().forEach(c.update),this.mS.A.slice().forEach(d.update),this.qT.A.slice().forEach(p.update),this.rT.A.slice().forEach(q.update),this.sT.A.slice().forEach(n.update)};a.I={};a.I.il=[m.sd];a.I.nfa=[m.Qx];a.I.Uga=[m.hG];a.I.Nza=[m.Tx,m.qk.not,m.Ur.not];a.I.lR=[m.Tx,m.qk.not,m.Ur];a.I.Oza=[m.Tx.not,m.Ur];a.I.Pza=[m.qk,m.Ur];a.I.qGa=[m.Du,m.xj,
2004m.ls.not];a.I.dL=[m.Du,m.xj,m.ls];a.I.rGa=[m.xj.not,m.ls];a.I.sGa=[m.Du.not,m.ls];a.I.fHa=[m.qk,m.tG,m.Np.not];a.I.sT=[m.qk,m.tG,m.Np];a.I.gHa=[m.tG.not,m.Np];a.I.hHa=[m.qk.not,m.Np];a.I.ZGa=[m.qk,m.rG,m.Lp.not];a.I.qT=[m.qk,m.rG,m.Lp];a.I.$Ga=[m.rG.not,m.Lp];a.I.aHa=[m.qk.not,m.Lp];a.I.bHa=[m.qk,m.sG,m.Mp.not];a.I.rT=[m.qk,m.sG,m.Mp];a.I.cHa=[m.sG.not,m.Mp];a.I.dHa=[m.qk.not,m.Mp];a.I.Tza=[m.FB,m.nu.not];a.I.nR=[m.FB,m.nu];a.I.Uza=[m.FB.not,m.nu];a.I.lDa=[m.KB,m.uu.not];a.I.mS=[m.KB,m.uu];a.I.mDa=
2005[m.KB.not,m.uu];a.I.Sya=[m.XF,m.gu.not];a.I.Y_=[m.XF,m.gu];a.I.Tya=[m.XF.not,m.gu];return a});
2006define("ja",["require","fK"],function(a){function e(m){this.m=m;this.Wva=this.na=null;this.wa=this.oa=void 0;this.update()}var l=a("fK");e.prototype.update=function(){var m=this.m.getComponent(l.mi),k=m.source&&m.source.width||0,b=m.source&&m.source.height||0;!this.na||!!this.na.j$a==m.isSprite&&this.oa==k&&this.wa==b||(this.na.map.dispose(),this.na.dispose(),this.na=null);this.oa=k;this.wa=b;
2006this.na||(m.isSprite?(this.na=new THREE.SpriteMaterial,this.na.sizeAttenuation=!1):this.na=new THREE.MeshBasicMaterial,
2007this.na.map=new THREE.Texture,this.na.transparent=!0,this.m.J(l.Material).material=this.na);this.na.map.image!=m.source&&(this.na.map.image=m.source,this.na.map.needsUpdate=!0);this.Wva!=m.$S&&(this.Wva=m.$S,this.na.map.needsUpdate=!0);this.na.opacity=m.opacity||0;this.na.depthTest=!!m.depthTest;this.na.visible=0<this.na.opacity&&!m.hidden;this.na.needsUpdate=!0;this.m.T.Va()};e.prototype.dispose=function(){this.na&&(this.na.map.dispose(),this.na.map=null,this.na.dispose(),this.na=null,this.m.la(l.Material));
2008this.m=null};e.$a=function(m){m.J(l.Ox).manager=new e(m)};e.Ba=function(m){var k=m.getComponent(l.Ox);k.manager.dispose();k.manager=null;m.la(l.Ox)};e.update=function(m){m.getComponent(l.Ox).manager.update()};return e});
2009define("iB",["require","lE","lO","fK","ja"],function(a){var e=a("lE"),l=a("lO"),m=a("fK"),k=a("ja");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Id=function(){this.vm.A.length&&this.vm.A.slice().forEach(k.$a);this.materials.Fa.length&&this.materials.Fa.slice().forEach(k.update);this.wm.A.length&&this.wm.A.slice().forEach(k.Ba)};a.I={};a.I.vm=[m.mi,m.Ox.not];a.I.materials=[m.mi,m.Ox];a.I.wm=[m.mi.not,m.Ox];return a});
2010define("eh",["require","pg","fK","cp","bd"],function(a){function e(x){this.th=x;this.ne=this.Ng=null;this.FM=!1;this.update()}var l=a("pg"),m=a("fK"),k=a("cp"),b=a("bd");e.prototype.update=function(){var x=this.th.getComponent(m.sd);this.vP(x&&x.enabled?x.p0:null);this.uP(x&&x.enabled?x.h0:null)};e.prototype.frame=function(){this.sf()};e.prototype.vP=function(x){this.Ng!=x&&(this.Ng&&this.Ng.unbind(l.bc,this.qf,this,!0),(this.Ng=x)&&this.Ng.bind(l.bc,this.qf,this,!0))};e.prototype.uP=function(x){this.ne!=
2011x&&(this.ne&&this.FM&&this.ne.pop(b.Jh),(this.ne=x)&&this.FM&&this.ne.push(b.Jh))};e.prototype.qf=function(){var x=v.get(this.th.T);x&&0!=x.length&&this.th.T.Va()};e.prototype.sf=function(){var x=v.get(this.th.T),y=x&&x.length||0;this.lva(0<y);if(0!=y&&(y=this.th.getComponent(m.sd))){var z=k.ac(this.th);z?(h.copy(y.origin).applyMatrix4(z.matrixWorld),f.copy(y.origin).add(y.direction).applyMatrix4(z.matrixWorld).sub(h).normalize()):(h.copy(y.origin),f.copy(y.direction).normalize());for(y=0;y<x.length;y++){z=
2012x[y];var C=z.getComponent(m.tp),A=z.getComponent(m.Px),B=w.get(z);B&&C&&A&&(A.xza||(A.xza=(new THREE.Vector3).setFromMatrixPosition(B.matrixWorld)),c.copy(A.xza),d.copy(C.direction),this.BPa(c,d,h,f,g),A.mfa||(A.mfa=(new THREE.Vector3).copy(g).sub(c)),g.sub(A.mfa),C.min&&0>p.copy(g).sub(C.min).dot(C.direction)&&g.copy(C.min),g.applyMatrix4(q.copy(B.parent.matrixWorld).invert()),z=z.H(m.Aa),n.multiply(q.makeTranslation(z.translationX,z.translationY,z.af).invert()),n.multiply(q.makeRotationFromEuler(r.set(z.Ne*
2013t,z.qe*t,z.Oe*t,z.Vf)).invert()),g.applyMatrix4(q),z.positionX=g.x,z.positionY=g.y,z.positionZ=g.z)}}};e.prototype.lva=function(x){this.FM!=x&&(this.FM=x,this.ne&&(this.FM?this.ne.push(b.Jh):this.ne.pop(b.Jh)))};e.prototype.BPa=function(x,y,z,C,A){u.copy(x).sub(z);z=y.dot(C);var B=C.dot(C),E=y.dot(y);C=u.dot(C);var G=u.dot(y);A.copy(x);x=z*z-B*E;0!=x&&A.addScaledVector(y,(B*G-C*z)/x)};var h=new THREE.Vector3,f=new THREE.Vector3,c=new THREE.Vector3,d=new THREE.Vector3,g=new THREE.Vector3,p=new THREE.Vector3,
2014q=new THREE.Matrix4,n=new THREE.Matrix4,r=new THREE.Euler,u=new THREE.Vector3,t=Math.PI/180;e.prototype.dispose=function(){this.lva(!1);this.vP(null);this.uP(null);this.m=null};e.yia=function(x){x.J(m.xu).manager=new e(x)};e.Mia=function(x){var y=x.getComponent(m.xu);y.manager.dispose();y.manager=null;x.la(m.xu)};e.Cx=function(x){x.getComponent(m.xu).manager.update()};e.frame=function(x){x.getComponent(m.xu).manager.frame()};var v=new Map,w=new Map;e.b7a=function(x){x.J(m.Px);x.J(m.Qx);e.GGa(x)};
2015e.GGa=function(x){var y=k.ac(x);w.set(x,y);var z=v.get(x.T);z||v.set(x.T,z=[]);y&&(y=z,0>y.indexOf(x)&&y.push(x))};e.aGa=function(x){var y=v.get(x.T),z=y.indexOf(x);0<=z&&y.splice(z,1);w["delete"](x);x.la(m.Px);x.la(m.Qx)};return e});
2016define("ln",["require","lE","lO","fK","eh"],function(a){var e=a("lE"),l=a("lO"),m=a("fK"),k=a("eh");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Id=function(){this.qS.A.length&&this.qS.A.slice().forEach(k.yia);this.il.Fa.length&&this.il.Fa.slice().forEach(k.Cx);this.il.A.length&&this.il.A.slice().forEach(k.frame);this.rS.A.length&&this.rS.A.slice().forEach(k.Mia);this.wza.A.length&&this.wza.A.slice().forEach(k.b7a);this.vza.A.length&&this.vza.A.slice().forEach(k.GGa);this.yza.A.length&&
2017this.yza.A.slice().forEach(k.aGa);this.zza.A.length&&this.zza.A.slice().forEach(k.aGa)};a.I={};a.I.qS=[m.sd,m.xu.not];a.I.il=[m.sd,m.xu];a.I.rS=[m.sd.not,m.xu];a.I.wza=[m.Object3D,m.tp,m.Px.not];a.I.vza=[m.Object3D,m.tp,m.Px];a.I.yza=[m.Object3D.not,m.Px];a.I.zza=[m.tp.not,m.Px];return a});
2018define("le",["require","fK","cp"],function(a){function e(w){this.m=w;this.eba=!1}var l=a("fK"),m=a("cp");e.prototype.update=function(){this.eba=!1};e.prototype.frame=function(){this.sf()};e.prototype.sf=function(){if(!this.eba&&(this.Ta=this.Ta||m.hi(this.m))){var w=m.ac(this.m),x=w&&w.parent;if(x&&x.matrixWorld){var y=[];this.Ta.traverse(function(B){B.isSprite||B.isLine||B==w||y.push(B)});var z=this.m.H(l.mu);g.set(z.x,z.y,z.z).applyMatrix4(x.matrixWorld);d.ray.origin.set(g.x,g.y,g.z);d.ray.direction.set(0,
2019-1,0);var C=d.intersectObjects(y,!1);if(0!=C.length){var A=C[0];h.copy(x.matrixWorld).invert();C=this.m.H(l.Aa,!0);f.setFromMatrixPosition(x.matrixWorld);k.copy(A.object.matrixWorld);c.setFromMatrixPosition(k);b.copy(k).invert();!z.PR&&A.face&&A.face.normal?n.copy(A.face.normal).applyMatrix4(k).sub(c).add(f):n.copy(f).add(r);n.applyMatrix4(h).normalize();t.setFromUnitVectors(q,n);u.setFromQuaternion(t,C.Vf);C.Ne=u.x*v;C.qe=u.y*v;C.Oe=u.z*v;g.copy(A.point).applyMatrix4(h);C.translationX=g.x;C.translationY=
2020g.y;C.af=g.z;p.setFromMatrixScale(h);x=Math.max(p.x,p.y,p.z);C.positionX=0;C.positionY=0;C.positionZ=x*z.distance;this.eba=!0}}}};e.prototype.dispose=function(){};var k=new THREE.Matrix4,b=new THREE.Matrix4,h=new THREE.Matrix4,f=new THREE.Vector3,c=new THREE.Vector3,d=new THREE.Raycaster,g=new THREE.Vector3,p=new THREE.Vector3;new THREE.Matrix4;new THREE.Matrix4;var q=new THREE.Vector3(0,0,1),n=new THREE.Vector3,r=new THREE.Vector3(0,1,0),u=new THREE.Euler,t=new THREE.Quaternion,v=180/Math.PI;e.$a=
2021function(w){w.J(l.Vr).manager=new e(w)};e.Ba=function(w){var x=w.getComponent(l.Vr);x.manager.dispose();x.manager=null;w.la(l.Vr)};e.frame=function(w){w.getComponent(l.Vr).manager.frame()};e.update=function(w){w.getComponent(l.Vr).manager.update()};return e});
2022define("hZ",["require","lE","lO","fK","le"],function(a){var e=a("lE"),l=a("lO"),m=a("fK"),k=a("le");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Id=function(){this.Qza.A.length&&this.Qza.A.slice().forEach(k.$a);
2022this.w0.Fa.length&&this.w0.A.slice().forEach(k.update);this.w0.A.length&&this.w0.A.slice().forEach(k.frame);this.Rza.A.length&&this.Rza.A.slice().forEach(k.Ba);this.Sza.A.length&&this.Sza.A.slice().forEach(k.Ba)};a.I={};a.I.Qza=[m.Object3D,m.mu,m.Vr.not];a.I.w0=[m.Object3D,
2023m.mu,m.Vr];a.I.Rza=[m.Object3D.not,m.Vr];a.I.Sza=[m.mu.not,m.Vr];return a});define("gx",["require","fK"],function(a){var e=a("fK");return{$a:function(l){var m=l.J(e.bG),k=l.J(e.Object3D);l.J(e.Aa);l=l.H(e.Group);k.ua=m.group=l.group=new THREE.Group},Ba:function(l){l.getComponent(e.bG).group=null;l.la(e.bG);l.la(e.Object3D)}}});
2024define("lJ",["require","lE","lO","fK","gx"],function(a){var e=a("lE"),l=a("lO"),m=a("fK"),k=a("gx");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Id=function(){this.UAa.A.length&&this.UAa.A.slice().forEach(k.$a);this.VAa.A.length&&this.VAa.A.slice().forEach(k.Ba)};a.I={};a.I.UAa=[m.Group,m.bG.not];a.I.VAa=[m.Group.not,m.bG];return a});
2025define("bh","require lE pg lg cC gv bi".split(" "),function(a){function e(g,p,q,n){this.fga=g;this.src=g.src;this.s2=p;this.$Q=q;this.A0=n;this.frameWidth=this.fga.width/this.$Q;this.frameHeight=this.fga.height/this.s2}var l=a("lE"),m=a("pg"),k=a("lg");a("cC");var b=a("gv"),h=a("bi");a=l.extend(b,function(g,p,q,n,r,u,t){b.call(this);this.bn=r;this.ph=new e(g,p,q,r);this.Aua=u;this.Zha(n);this.d8=t;this.R=document.createElement("canvas");this.R.width=this.ph.frameWidth;this.R.height=this.ph.frameHeight;
2026this.za=this.R.getContext("2d");this.za.globalCompositeOperation="copy";this.C=k.W;this.QY=this.Wm=0;this.c7=void 0;this.Uh=f.request(this.ph);this.Uh.bind(m.ca,this.Gj,this,!0);this.Gj()});a.prototype.Zha=function(g){if(this.Te!==g){var p=this.eQ;this.Te=g;this.eQ=this.Te*this.ph.A0;this.e8=this.eQ-.1*this.Te;void 0!==p&&(this.Wm=this.Wm/p*this.eQ)}};a.prototype.WEa=function(g){this.d8!==g&&(this.d8=g,this.Gj())};a.prototype.Mc=function(g){if(this.C!=g){if(g==k.Ib){if(this.C!=k.Y)return}else g==
2027k.Y?this.C==k.W&&(this.Wm=this.QY=0,this.Gj()):g!=k.W||0==this.Wm&&0!=this.QY||(this.Wm=this.e8,this.Gj());this.C=g;h.requestFrame(this.Qj,this);this.trigger(m.re)}};a.prototype.getState=function(){return this.C};a.prototype.Qj=function(g){this.C==k.Y&&(this.Wm=Math.min(this.Wm+g,this.Uh.Uh.length*this.Te),this.Wm>=this.eQ&&(this.QY++,this.Aua&&this.QY==this.Aua?(this.Mc(k.W),this.Wm=this.e8,this.trigger(m.Bb)):(this.Wm%=this.eQ,this.trigger(m.es))),this.Gj(),this.C==k.Y&&h.requestFrame(this.Qj,this))};
2028a.prototype.clear=function(){this.Mc(k.W);this.R.width=this.R.height=0;this.R=null;f.release(this.ph);this.ph=null};a.prototype.fg=function(){return this.R};a.prototype.Gj=function(){var g=this.d8&&this.Wm>=this.e8?0:Math.floor(this.Wm/this.Te);this.c7!=g&&g<this.Uh.Uh.length&&(this.c7=g,this.za.drawImage(this.Uh.get(this.c7),0,0),this.trigger(m.ca))};e.prototype.isEqual=function(g){return this.src==g.src&&this.s2==g.s2&&(this.$Q=g.$Q)&&(this.frameWidth=g.frameWidth)&&(this.frameHeight=g.frameHeight)&&
2029(this.A0=g.A0)};var f={Lj:[],vJa:2E3,request:function(g){g=this.ui(g);g.ek++;this.jwa(g);return g.frames},release:function(g){g=this.ui(g);g.ek--;0==g.ek&&this.EWa(g)},ui:function(g){for(var p=0;p<this.Lj.length;p++)if(this.Lj[p].O0a.isEqual(g))return this.Lj[p];p={};p.O0a=g;p.frames=new c(g);p.ek=0;this.Lj.push(p);return p},EWa:function(g){this.jwa(g);g.gfa=setTimeout(function(){f.pNa(g)},f.vJa)},jwa:function(g){g.gfa&&(clearTimeout(g.gfa),g.gfa=null)},pNa:function(g){this.Lj.splice(this.Lj.indexOf(g),
20301);g.frames.clear()}},c=l.extend(b,function(g){b.call(this);this.ph=g;this.Uh=[];d.add(this)});c.prototype.clear=function(){d.remove(this);
2030this.Uh.forEach(function(g){g.width=0;g.height=0});this.Uh=null};c.prototype.get=function(g){return this.Uh[g]};c.prototype.D0a=function(){var g=this.Uh.length%this.ph.$Q,p=Math.floor(this.Uh.length/this.ph.$Q)%this.ph.s2,q=document.createElement("canvas");q.width=this.ph.frameWidth;q.height=this.ph.frameHeight;var n=q.getContext("2d");n.globalCompositeOperation=
2031"copy";n.drawImage(this.ph.fga,g*this.ph.frameWidth,p*this.ph.frameHeight,this.ph.frameWidth,this.ph.frameHeight,0,0,this.ph.frameWidth,this.ph.frameHeight);c.mOa(q);this.Uh.push(q);this.trigger(m.ca)};c.mOa=function(){var g=document.createElement("canvas");g.width=1;g.height=1;var p=g.getContext("2d");return function(q){p.drawImage(q,0,0,1,1,0,0,1,1)}}();var d={Lj:[],Vca:null,add:function(g){this.Lj.push(g);this.Uua()},remove:function(g){this.Lj=this.Lj.filter(function(p){return p!=g})},Uua:function(){this.Vca||
2032(this.Vca=setTimeout(function(){this.Vca=null;this.EO()}.bind(this),40))},EO:function(){if(0!=this.Lj.length){for(var g=(new Date).getTime()+10;(new Date).getTime()<g;){var p=this.Lj.filter(function(q){return 0==q.Uh.length});p=0<p.length?p[0]:this.Lj[0];p.D0a();if(p.Uh.length==p.ph.A0&&(this.Lj.splice(this.Lj.indexOf(p),1),0==this.Lj.length))return}this.Uua()}}};return a});
2033define("pb",["require","pg","lg"],function(a){function e(k,b){this.Kd=k;this.uc=b;this.Mb=!1;this.A5();this.D5();this.uD()}var l=a("pg"),m=a("lg");e.prototype.clear=function(){this.yba();this.Eba();this.Kd.set("state",m.W);this.uc=this.Kd=null};e.prototype.yf=function(k){this.Mb!=k&&(this.Mb=k,this.nt())};e.prototype.uD=function(){this.uc.Mc(this.Kd.get("state"))};e.prototype.iO=function(){this.nt()};e.prototype.kO=function(){this.uc.Zha(this.Kd.get("frameDuration"))};e.prototype.jO=function(){this.uc.WEa("first"==
2034this.Kd.get("finalFrame"))};e.prototype.gO=function(){this.Kd.trigger(l.es)};e.prototype.fO=function(){this.Kd.trigger(l.Bb)};e.prototype.hO=function(){this.Kd.set("state",this.uc.getState())};e.prototype.nt=function(){this.Kd.get("autoplay")&&this.uc.Mc(this.Mb?m.Y:m.W)};e.prototype.A5=function(){this.Kd.bind(l.F("state"),this.uD,this,!0);this.Kd.bind(l.F("autoplay"),this.iO,this,!0);this.Kd.bind(l.F("frameDuration"),this.kO,this,!0);this.Kd.bind(l.F("finalFrame"),this.jO,this,!0)};e.prototype.yba=
2035function(){this.Kd.unbind(l.F("state"),this.uD,this,!0);this.Kd.unbind(l.F("autoplay"),this.iO,this,!0);this.Kd.unbind(l.F("frameDuration"),this.kO,this,!0);this.Kd.unbind(l.F("finalFrame"),this.jO,this,!0)};e.prototype.D5=function(){this.uc.bind(l.es,this.gO,this,!0);this.uc.bind(l.Bb,this.fO,this,!0);this.uc.bind(l.re,this.hO,this,!0)};e.prototype.Eba=function(){this.uc.unbind(l.es,this.gO,this,!0);this.uc.unbind(l.Bb,this.fO,this,!0);this.uc.unbind(l.re,this.hO,this,!0)};return e});
2036define("eK",["require","pg","nV","bh","pb"],function(a){function e(h,f,c,d){this.Ce=h;this.Zb=f;this.Ha=c;this.Da=d.bind(this);m.Ga("AnimatedImageResource",this.Ce)?(this.uc=new k(this.Zb,this.Ce.get("rowCount",1),this.Ce.get("colCount",1),this.Ce.get("frameDuration"),this.Ce.get("frameCount",this.Ce.get("rowCount",1)*this.Ce.get("colCount",1)),this.Ce.get("repeat"),"first"==this.Ce.get("finalFrame")),this.Ha.image=this.uc.fg(),this.uc.bind(l.ca,this.hN,this,!0),this.eo=new b(this.Ce,this.uc)):this.Ha.image=
2037this.Zb;this.Ha.needsUpdate=!0;this.Da()}var l=a("pg"),m=a("nV"),k=a("bh"),b=a("pb");e.prototype.yf=function(h){this.eo&&this.eo.yf(h)};e.prototype.dispose=function(){this.eo&&(this.eo.clear(),this.eo=null);this.uc&&(this.uc.unbind(l.ca,this.hN,this,!0),this.uc.clear(),this.uc=null);this.Ha=this.Zb=this.Ce=null};e.prototype.hN=function(){this.Ha.needsUpdate=!0;this.Da()};return e});
2038define("eP",["require"],function(){var a={},e=null;a.gAa=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});
2039define("kF",["require","lh","nl","mv"],function(a){var e=a("lh"),l=a("nl"),m=a("mv"),k=180/Math.PI,b=Math.PI/180;return{K0:function(h,f,c,d,g,p,q){f||(f=h*d/c);g||(g=m.Sx);var n={};switch(g){case m.Sx:n.width=h;n.height=f;break;case m.NONE:n.width=c;n.height=d;break;case m.Ih:n.width=Math.min(f*c/d,h);n.height=Math.min(h*d/c,f);break;case m.Tr:n.width=Math.max(f*c/d,h);n.height=Math.max(h*d/c,f);break;case m.Cp:n.width=h;n.height=h*d/c;break;case m.nk:n.width=f*c/d,n.height=f}n.width>h?(n.Bx=h/n.width,
2040n.jT=p==l.Wa?0:p==l.ob?1-n.Bx:.5*(1-n.Bx),n.width=h):(n.jT=0,n.Bx=1);n.height>f?(n.Dx=f/n.height,n.pT=q==l.zc?1-n.Dx:q==l.sc?0:.5*(1-n.Dx),n.height=f):(n.pT=0,n.Dx=1);return n},Qfa:function(h,f,c,d,g,p,q,n){f||(f=e.rm(h,c,d));g||(g=m.Sx);p||(p=4096/360);var r={};switch(g){case m.Sx:r.Je=h;r.Nr=f;break;case m.NONE:r.Je=2*Math.atan2(.5*c,45*p)*k;r.Nr=e.rm(r.Je,c,d);break;case m.Ih:r.Je=Math.min(e.Mr(f,c,d),h);r.Nr=Math.min(e.rm(h,c,d),f);break;case m.Tr:r.Je=Math.max(e.Mr(f,c,d),h);r.Nr=Math.max(e.rm(h,
2041c,d),f);break;case m.Cp:r.Je=h;r.Nr=e.rm(h,c,d);break;case m.nk:r.Je=e.Mr(f,c,d),r.Nr=f}r.Je>h?(r.Bx=Math.tan(.5*h*b)*c/Math.tan(.5*r.Je*b)/c,r.jT=q==l.Wa?0:q==l.ob?1-r.Bx:.5*(1-r.Bx),r.Je=h):(r.jT=0,r.Bx=1);r.Nr>f?(r.Dx=Math.tan(.5*f*b)*d/Math.tan(.5*r.Nr*b)/d,r.pT=n==l.zc?1-r.Dx:n==l.sc?0:.5*(1-r.Dx),r.Nr=f):(r.pT=0,r.Dx=1);return r}}});
2042define("kl","require kS pg cC nV cu lB eK eP fK oI bG kF".split(" "),function(a){function e(v){this.m=v;this.XD=this.XD.bind(this);this.Da=this.Da.bind(this);this.Vj=this.Vj.bind(this);v=v.getComponent(g.Lm);this.Rg=v.hp;this.Be=v.P;this.o=v.properties;this.Ce=v.ega;this.qRa=v.isSprite;this.dg=!1;this.Ym=this.ab=null;this.pv=0;this.qca=this.v7=this.Rb=this.DC=this.U=void 0;l.da(this.o,r,this.XD,!1);l.da(this.Ce,u,this.XD,!1);l.da(this.o,t,this.Vj,!1);this.XD()}var l=a("kS"),m=a("pg"),k=a("cC"),b=
2043a("nV"),h=a("cu"),f=a("lB"),c=a("eK"),d=a("eP"),g=a("fK"),p=a("oI"),q=a("bG"),n=a("kF"),r=["height","scaleMode","width"],u=["levels.url","levels.width","levels.height"],t="depthTest enabled encoding hidden side opacity".split(" ");e.prototype.frame=function(v){this.Ym&&(this.Ym.Cb(v),this.pv=this.Ym.fb("alpha"),this.Fda(),this.Ym.Ze()&&(this.Ym=null),this.m.T.Va());this.dg&&(this.dg=!1)};e.prototype.XD=function(){var v=this.Ce&&this.Ce.get("levels")||[];v=v.filter(function(G){return!!G.get("url")});
2044var w=1,x=1;b.Ga("AnimatedImageResource",this.Ce)&&(w=this.Ce.get("rowCount"),x=this.Ce.get("colCount"));var y=null;if(0<v.length){v.sort(function(G,K){return K.get("width")-G.get("width")});y=this.o.get("width");var z=this.o.get("height"),C=this.o.get("scaleMode","fill"),A=v[0].get("width")/x,B=v[0].get("height")/w,E=n.K0(y,z,A,B,C);y=v.reduce(function(G,K){return!G||G.get("width")>K.get("width")&&K.get("width")/x>=E.width&&K.get("height")/w>=E.height?K:G})}this.wP(y)};e.prototype.wP=function(v){this.ab!=
2045v&&(this.ab&&(this.ANa(),this.z7(),this.mV(),this.cq(),this.dg=!1),this.ab=v)&&(this.Xp(),this.dv(),this.uM(),this.dg=!1,this.Da())};e.prototype.uM=function(){this.Ed||(this.Ed=new h,this.Ed.VK([this.ab.get("url")]),this.Ed.bind(m.Z,this.vd,this,!0),this.Ed.bind(m.kc,this.lsa,this,!0),this.Ed.bind(m.yc,this.Sf,this,!0),this.Us=this.m.getComponent(g.Lm).priority,f.Mn(this.Ed,this.Us))};e.prototype.cq=function(){this.Ed&&(this.Ed.unbind(m.Z,this.vd,this,!0),this.Ed.unbind(m.kc,this.lsa,this,!0),this.Ed.unbind(m.yc,
2046this.Sf,this,!0),f.uj(this.Ed,this.Us),this.Ed=null)};e.prototype.vd=function(){this.iNa();this.hda(new k(m.Z))};e.prototype.lsa=function(v){this.hda(new k(m.kc,{percent:v.Yg}))};e.prototype.Sf=function(){this.hda(new k(m.yc))};e.prototype.hda=function(v){this.Rg&&this.Rg.trigger(v)};e.prototype.Da=function(){this.dg||(this.dg=!0,this.m.T.Va())};e.prototype.Xp=function(){this.Ha=new THREE.Texture;this.Ha.image=d.gAa();this.Ha.generateMipmaps=!0;this.Ha.minFilter=THREE.LinearMipMapLinearFilter};e.prototype.mV=
2047function(){this.Ha&&(this.Ha.dispose(),this.Ha=null)};e.prototype.dv=function(){this.qRa?(this.na=new THREE.SpriteMaterial({map:this.Ha}),this.na.sizeAttenuation=!0):this.na=new THREE.MeshBasicMaterial({map:this.Ha});this.na.transparent=!0;this.na.needsUpdate=!0;this.m.J(g.Material).material=this.na;this.fma(0);this.m.H(g.oi,!0);this.Vj(!0)};e.prototype.Vj=function(v){var w=this.o.get("enabled")&&!this.o.get("hidden")&&!!this.So,x=this.U!==w;if(x||v){this.U=w;w=this.pv;var y=this.U?1:0,z=this.o.get("hidden")?
20480:200;this.Ym=w!==y?new p("linear",[new q("alpha",w,y,void 0)],Math.abs(w-y)*z):null;this.Fda()}w=this.o.get("encoding");if(this.DC!==w||v)this.DC=w,this.mZa();w=this.o.get("depthTest");
2048if(this.v7!==w||v)this.v7=w,this.NYa();w=this.o.get("opacity");if(this.Rb!==w||v)this.Rb=w,this.Fda();w=this.o.get("side");if(this.qca!==w||v)this.qca=w,this.OYa();x&&this.Be&&this.Be.trigger(this.U?m.dd:m.Tc)};e.prototype.mZa=function(){if(this.na&&(this.na.map||this.na.emissiveMap)){var v="srgb"==this.DC?THREE.sRGBEncoding:
2049THREE.LinearEncoding;this.na.map&&(this.na.map.encoding=v);this.na.emissiveMap&&(this.na.emissiveMap.encoding=v);this.na.needsUpdate=!0}this.m.H(g.oi,!0);this.Da()};e.prototype.NYa=function(){this.na&&(this.na.depthTest=this.v7);this.m.H(g.oi,!0);this.Da()};e.prototype.Fda=function(){this.na&&this.fma((this.Rb||0)*this.pv);this.So&&this.So.yf(0<this.Rb);this.Da()};e.prototype.fma=function(v){this.na.opacity=v;this.na.visible=0<this.na.opacity;this.na.isShaderMaterial&&this.na.uniforms.opacity&&(this.na.uniforms.opacity.value=
2050v);this.m.H(g.oi,!0)};e.prototype.OYa=function(){if(this.na)switch(this.qca){case "back":this.na.side=THREE.BackSide;break;case "double":this.na.side=THREE.DoubleSide;break;default:this.na.side=THREE.FrontSide}this.m.H(g.oi,!0);this.Da()};e.prototype.z7=function(){this.na&&(this.na.dispose(),this.na=null,this.m.la(g.Material))};e.prototype.iNa=function(){this.So=new c(this.Ce,f.vf(this.ab.get("url")),this.Ha,this.Da);this.Vj(!0)};e.prototype.ANa=function(){this.So&&(this.So.dispose(),this.So=null)};
2051e.prototype.dispose=function(){this.wP(null);l.ba(this.o,r,this.XD);l.ba(this.Ce,u,this.XD);l.ba(this.o,t,this.Vj);this.m=this.Rg=this.Ce=this.o=null};e.$a=function(v){v.J(g.Xx).manager=new e(v)};e.Ba=function(v){var w=v.getComponent(g.Xx);w.manager.dispose();w.manager=null;v.la(g.Xx)};e.frame=function(v,w){v.getComponent(g.Xx).manager.frame(w)};return e});
2052define("mS",["require","lE","lO","fK","kl"],function(a){var e=a("lE"),l=a("lO"),m=a("fK"),k=a("kl");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Id=function(b,h){this.vm.A.length&&this.vm.A.slice().forEach(k.$a);this.wm.A.length&&this.wm.A.slice().forEach(k.Ba);this.materials.A.length&&this.materials.A.slice().forEach(function(f){k.frame(f,b,h)})};a.I={};a.I.vm=[m.Lm,m.Xx.not];a.I.materials=[m.Lm,m.Xx];a.I.wm=[m.Lm.not,m.Xx];return a});
2053define("J",["require","nX","fK"],function(a){function e(k){this.m=k;this.na=null;this.update()}var l=a("nX"),m=a("fK");e.prototype.update=function(){this.na||(this.na=new THREE.LineBasicMaterial,this.na.transparent=!0,this.m.J(m.Material).material=this.na);var k=this.m.getComponent(m.gh);this.na.color=new THREE.Color(l.bB(k.color||"#ffffff"));this.na.lineWidth=k.width||1;this.na.opacity=k.opacity||0;this.na.depthTest=!!k.depthTest;this.na.visible=0<this.na.opacity;this.na.needsUpdate=!0};e.prototype.dispose=
2054function(){this.na&&(this.na.dispose(),this.na=null,this.m.la(m.Material));this.m=null};e.$a=function(k){k.J(m.Zx).manager=new e(k)};e.Ba=function(k){var b=k.getComponent(m.Zx);b.manager.dispose();b.manager=null;k.la(m.Zx)};e.update=function(k){k.getComponent(m.Zx).manager.update()};return e});
2055define("jf",["require","lE","lO","fK","J"],function(a){var e=a("lE"),l=a("lO"),m=a("fK"),k=a("J");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Id=function(){this.vm.A.length&&this.vm.A.slice().forEach(k.$a);this.materials.Fa.length&&this.materials.Fa.slice().forEach(k.update);this.wm.A.length&&this.wm.A.slice().forEach(k.Ba)};a.I={};a.I.vm=[m.gh,m.Zx.not];a.I.materials=[m.gh,m.Zx];a.I.wm=[m.gh.not,m.Zx];return a});
2056define("G","require pg fK cp nV nX a".split(" "),function(a){function e(q){this.m=q;this.dg=!1;this.o=this.m.getComponent(m.Light).properties;p.forEach(function(n){this.o.bind(l.F(n),this.tZ,this,!1)}.bind(this));this.tZ()}var l=a("pg"),m=a("fK"),k=a("cp"),b=a("nV"),h=a("nX"),f=a("a");e.prototype.update=function(){this.tZ()};var c=Math.PI/180;e.prototype.tZ=function(){var q=this.m.H(m.Light);if(b.Ga("AmbientLight",q.properties)){q.fe&&q.fe.isAmbientLight||(this.m.H(m.Object3D,!0).ua=q.fe=new THREE.AmbientLight);
2057var n=q.target}else if(b.Ga("OrbitLight",q.properties)){q.fe&&q.fe.isDirectionalLight||(this.m.H(m.Object3D,!0).ua=q.fe=new THREE.DirectionalLight);n=f.Ft(q.properties.get("yaw")*c,q.properties.get("pitch")*c).QK(10);q.fe.position.set(n.x,n.y,n.z);"fixed_to_target"==q.properties.get("mode","fixed_to_target")?(q.fe.target=k.ac(q.target),n=q.target):(q.fe.target=new THREE.Object3D,n=q.target.getComponent(m.lb).N.getComponent(m.Scene).ib);q.fe.castShadow=0<q.properties.get("intensity")&&q.properties.get("castShadow");
2058var r=q.fe.castShadow?q.properties.get("shadowMapSize"):16;r!=q.fe.shadow.mapSize.width&&(q.fe.shadow.dispose(),q.fe.shadow=q.fe.shadow.clone(),q.fe.shadow.mapSize.width=q.fe.shadow.mapSize.height=r);q.fe.shadow.radius=q.properties.get("shadowRadius");q.fe.shadow.bias=q.properties.get("shadowBias");this.Exa()}q.fe.color=new THREE.Color(h.bB(q.properties.get("color")));q.fe.intensity=q.properties.get("intensity");q.fe.visible=0<q.fe.intensity;q=this.m.getComponent(m.lb);q&&q.N==n||(q=this.m.H(m.lb,
2059!0),q.N=n)};var d=new THREE.Box3,g=new THREE.Vector3;e.prototype.frame=function(){this.Exa()};e.prototype.Exa=function(){var q=this.m&&this.m.getComponent(m.Light);if(q&&q.fe&&q.fe.castShadow){for(var n=q.fe.shadow.camera,r=this.I6(k.ac(q.target),d),u=Number.POSITIVE_INFINITY,t=Number.NEGATIVE_INFINITY,v=Number.NEGATIVE_INFINITY,w=Number.POSITIVE_INFINITY,x=Number.POSITIVE_INFINITY,y=Number.NEGATIVE_INFINITY,z=0;2>z;z++)for(var C=0;2>C;C++)for(var A=0;2>A;A++)g.set(0==z?r.min.x:r.max.x,0==C?r.min.y:
2060r.max.y,0==A?r.min.z:r.max.z).applyMatrix4(n.matrixWorldInverse),g.x<u&&(u=g.x),g.x>t&&(t=g.x),g.y>v&&(v=g.y),g.y<w&&(w=g.y),-g.z>y&&(y=-g.z),-g.z<x&&(x=-g.z);q=q.properties.get("shadowTolerance")||0;r=.5*(x+y);x+=(x-r)*q;y+=(y-r)*q;r=.5*(u+t);u+=(u-r)*q;t+=(t-r)*q;r=.5*(v+w);v+=(v-r)*q;w+=(w-r)*q;if(n.left!=u||n.right!=t||n.top!=v||n.bottom!=w||n.near!=x||n.far!=y)q=this.m.H(m.Light),q.fe.shadow.camera.left=u,q.fe.shadow.camera.top=v,q.fe.shadow.camera.right=t,q.fe.shadow.camera.bottom=w,q.fe.shadow.camera.near=
2061x,q.fe.shadow.camera.far=y,q.fe.shadow.camera.updateProjectionMatrix(),q.fe.shadow.needsUpdate=!0}};e.prototype.I6=function(q,n){n.makeEmpty();var r=new THREE.Box3;q.traverse(function(u){if(u.geometry&&!u.isSprite){u.updateWorldMatrix(!1,!1);var t=u.geometry;null===t.boundingBox&&t.computeBoundingBox();r.copy(t.boundingBox);
2061r.applyMatrix4(u.matrixWorld);n.union(r)}});return n};e.prototype.dispose=function(){this.o&&(p.forEach(function(q){this.o.unbind(l.F(q),this.tZ,this,!1)}.bind(this)),this.o=null);
2062this.m&&(this.m.la(m.lb),this.m.la(m.Object3D),this.m=null)};var p="castShadow color intensity mode pitch yaw shadowBias shadowRadius shadowMapSize shadowTolerance".split(" ");e.$a=function(q){k.ac(q.getComponent(m.Light).target)&&(q.J(m.pu).manager=new e(q))};e.Ba=function(q){var n=q.getComponent(m.pu);n.manager.dispose();n.manager=null;q.la(m.pu)};e.update=function(q){q.getComponent(m.pu).manager.update()};e.frame=function(q){q.getComponent(m.pu).manager.frame()};return e});
2063define("cP",["require","lE","lO","fK","G"],function(a){var e=a("lE"),l=a("lO"),m=a("fK"),k=a("G");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Id=function(){this.QBa.A.length&&this.QBa.A.slice().forEach(k.$a);this.Ut.Fa.length&&this.Ut.Fa.slice().forEach(k.update);this.Ut.A.length&&this.Ut.A.slice().forEach(k.frame);this.RBa.A.length&&this.RBa.A.slice().forEach(k.Ba)};a.I={};a.I.QBa=[m.Light,m.pu.not];a.I.Ut=[m.Light,m.pu];a.I.RBa=[m.Light.not,m.pu];return a});
2064define("oP","require lE lO fK cp oc".split(" "),function(a){var e=a("lE"),l=a("lO"),m=a("fK");a("cp");var k=a("oc");a=e.extend(l,function(){l.apply(this,arguments);this.we=this.we.bind(this);this.Pe=this.Pe.bind(this);this.ad=this.ad.bind(this)});a.prototype.Id=function(){this.XBa.A.length&&this.XBa.A.slice().forEach(this.we);this.lines.Fa.length&&this.lines.Fa.slice().forEach(this.Pe);this.YBa.A.length&&this.YBa.A.slice().forEach(this.ad);this.ZBa.A.length&&this.ZBa.A.slice().forEach(this.ad);this.$Ba.A.length&&
2065this.$Ba.A.slice().forEach(this.ad)};a.prototype.we=function(b){b.J(m.Object3D).ua=new THREE.LineSegments;b.J(m.$x);b.J(m.Aa);if(!b.getComponent(m.Geometry)){var h=(new THREE.BufferGeometry).setFromPoints([new THREE.Vector3(0,0,0),new THREE.Vector3(0,0,1)]);h.userData.xBa=!0;b.J(m.Geometry).geometry=h}this.Pe(b)};a.prototype.Pe=function(b){var h=b.getComponent(m.Object3D).ua;k.lA(h,b.getComponent(m.Material).material);var f=b.getComponent(m.Geometry).geometry;h.geometry!=f&&(h.geometry&&f.userData.xBa&&
2066h.geometry.dispose(),h.geometry=f,h.needsUpdate=!0);b=b.getComponent(m.Line).renderOrder||0;h.renderOrder!=b&&(h.renderOrder=b,h.needsUpdate=!0)};a.prototype.ad=function(b){b.la(m.$x);b.la(m.Geometry);var h=b.getComponent(m.Object3D);h&&(h=h.ua,h.geometry&&h.geometry.userData.xBa&&h.geometry.dispose(),h.geometry=null,k.lA(h,null),b.la(m.Object3D))};a.I={};a.I.XBa=[m.Line,m.Material,m.$x.not];a.I.lines=[m.Line,m.Geometry,m.Material,m.$x];a.I.YBa=[m.Line.not,m.$x];a.I.ZBa=[m.Material.not,m.$x];a.I.$Ba=
2067[m.Geometry.not,m.$x];return a});
2068define("fZ",["require","lE","lO","fK","cp"],function(a){var e=a("lE"),l=a("lO"),m=a("fK"),k=a("cp");a=e.extend(l,function(){l.apply(this,arguments);this.we=this.we.bind(this);this.ad=this.ad.bind(this);this.ME=this.ME.bind(this)});a.prototype.Id=function(){this.TBa.A.length&&this.TBa.A.slice().forEach(this.we);this.SBa.A.length&&this.SBa.A.slice().forEach(this.ME);this.UBa.A.length&&this.UBa.A.slice().forEach(this.ad);this.VBa.A.length&&this.VBa.A.slice().forEach(this.ad);this.WBa.A.length&&this.WBa.A.slice().forEach(this.ad)};
2069a.prototype.we=function(p){p.J(m.ay)};a.prototype.ad=function(p){p.la(m.ay)};var b=new THREE.Matrix4,h=new THREE.Quaternion,f=new THREE.Vector3,c=new THREE.Vector3(0,0,1),d=new THREE.Euler,g=180/Math.PI;a.prototype.ME=function(p){var q=p.getComponent(m.Aa);if(q){var n=k.ac(p);if(n&&n.parent){var r=p.getComponent(m.Wr),u=r.N;if(u){r=k.ac(u);if(!r||!r.parent)return;f.setFromMatrixPosition(r.matrixWorld)}else if(r.position)f.copy(r.position);else return;b.copy(n.parent.matrixWorld).invert();f.applyMatrix4(b);
2070f.x-=q.translationX;f.y-=q.translationY;f.z-=q.af;n=f.length();h.setFromUnitVectors(c,f.normalize());d.setFromQuaternion(h,q.Vf);d.x*=g;d.y*=g;d.z*=g;if(q.scale!=n||q.Ne!=d.x||q.qe!=d.y||q.Oe!=d.z)q=p.H(m.Aa),q.scale=n,q.Ne=d.x,q.qe=d.y,q.Oe=d.z,k.SS(p,q),p.T.Va()}}};a.I={};a.I.TBa=[m.Object3D,m.Wr,m.ay.not];a.I.SBa=[m.Object3D,m.Wr,m.ay,m.Aa];a.I.UBa=[m.Object3D.not,m.ay];a.I.VBa=[m.Wr.not,m.ay];a.I.WBa=[m.Aa.not,m.ay];return a});
2071define("eZ","require lE pg oB lO fK cp oc".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("oB"),k=a("lO"),b=a("fK"),h=a("cp"),f=a("oc");a=e.extend(k,function(){k.apply(this,arguments);this.we=this.we.bind(this);this.ad=this.ad.bind(this);this.Pe=this.Pe.bind(this)});a.prototype.Id=function(){this.CCa.A.length&&this.CCa.A.slice().forEac
2071h(this.we);this.Vga.Fa.length&&this.Vga.Fa.slice().forEach(this.Pe);this.DCa.A.length&&this.DCa.A.slice().forEach(this.ad);this.ECa.A.length&&this.ECa.A.slice().forEach(this.ad)};
2072a.prototype.we=function(c){c.J(b.by);this.Vga.A.forEach(function(d){this.$Qa(d,c)&&this.FY(h.ac(d))}.bind(this));this.Pe(c)};a.prototype.Pe=function(c){var d=c.getComponent(b.oi);c=h.ac(c);this.IKa(c,d);this.FY(c);this.ce(c,d)};a.prototype.ad=function(c){c.la(b.by);var d=h.ac(c);d&&(this.WLa(d),this.FY(d),c.la(b.by))};a.prototype.IKa=function(c,d){c.userData.kDa=d.opacity;c.userData.envMapIntensity=d.envMapIntensity;c.userData.NQ=d.NQ;c.userData.castShadow=d.castShadow;c.userData.receiveShadow=d.receiveShadow};
2073a.prototype.WLa=function(c){c.userData.kDa=void 0;c.userData.envMapIntensity=void 0;c.userData.NQ=void 0;c.userData.castShadow=void 0;c.userData.receiveShadow=void 0};a.prototype.FY=function(c){if(m.mj!=c){var d=this.Soa(c),g=this.QOa(c),p=this.OOa(c),q=this.POa(c),n=this.ROa(c);if(c.material){if(void 0===d&&void 0===g)f.Fha(c);else{var r=c.userData.wr||c.material;if(void 0!==r.opacity){var u=r.opacity*(void 0===d?1:d),t=0<u,v=1>u?!0:r.transparent;if(c.material.opacity!==u||c.material.visible!==t||
2074c.material.transparent!==v)f.rfa(c),c.material.opacity=u,c.material.transparent=v,c.material.visible=t,c.material.needsUpdate=!0}void 0!==r.envMapIntensity&&(r=r.envMapIntensity*(void 0===g?1:g),c.material.envMapIntensity!==r&&(f.rfa(c),c.material.envMapIntensity=r,c.material.needsUpdate=!0));f.l8a(c)}var w=this.BOa(p);(null==c.material.map?[]:Array.isArray(c.material.map)?c.material.map:[c.material.map]).forEach(function(x){x.anisotropy!==w&&(x.anisotropy=w,x.needsUpdate=!0)})}c.isMesh&&(void 0!==
2075q&&c.castShadow!==q&&(c.castShadow=q),void 0!==n&&c.receiveShadow!==n&&(c.receiveShadow=n));c.children&&c.children.forEach(function(x){x.userData.E2a=d;x.userData.D2a=g;x.userData.B2a=p;x.userData.C2a=q;x.userData.F2a=n;this.FY(x)}.bind(this))}};a.prototype.BOa=function(c){return 1+Math.round((c||0)*(h.iAa().capabilities.getMaxAnisotropy()-1))};a.prototype.Soa=function(c){var d=c.userData.kDa;c=c.userData.E2a;if(void 0!==c||void 0!==d)if(d=(void 0!==c?c:1)*(void 0!==d?d:1),1!==d)return d};a.prototype.QOa=
2076function(c){var d=c.userData.envMapIntensity;c=c.userData.D2a;if(void 0!==c||void 0!==d)if(d=(void 0!==c?c:1)*(void 0!==d?d:1),1!==d)return d};a.prototype.OOa=function(c){var d=c.userData.NQ;if(void 0!==d)return d;c=c.userData.B2a;if(void 0!==c)return c};a.prototype.POa=function(c){var d=c.userData.castShadow;if(void 0!==d)return d;c=c.userData.C2a;if(void 0!==c)return c};a.prototype.ROa=function(c){var d=c.userData.receiveShadow;if(void 0!==d)return d;c=c.userData.F2a;if(void 0!==c)return c};a.prototype.ce=
2077function(c,d){var g=this.Soa(c);void 0!==g&&(g=0<g,c.userData.J8a!==g&&(c.userData.J8a=g,d.P&&d.P.trigger(g?l.dd:l.Tc)))};a.prototype.$Qa=function(c,d){c=h.ac(c);d=h.ac(d);if(!c||!d)return!1;for(d=d.parent;d;){if(d===c)return!0;d=d.parent}return!1};a.I={};a.I.CCa=[b.oi,b.Object3D,b.by.not];a.I.Vga=[b.oi,b.Object3D,b.by];a.I.DCa=[b.oi.not,b.by];a.I.ECa=[b.Object3D.not,b.by];return a});
2078define("oZ",["require","fK","oc"],function(a){function e(k){this.m=k;this.eea=this.El=this.kd=null;this.nJ=-1}var l=a("fK"),m=a("oc");e.prototype.frame=function(){if(!this.El&&(this.El=this.m.getComponent(l.hh).Xfa)){var k=this.El.userData&&this.El.userData.gltfExtensions&&this.El.userData.gltfExtensions.KHR_materials_variants;this.eea=k&&k.variants||[];this.update()}};e.prototype.update=function(){if(this.eea){var k=this.m.getComponent(l.ru).name,b=this.eea.findIndex(function(f){return f.name==k}),
2079h=this.El.scene;this.kd!=h?(this.kd&&this.Gua(this.kd),this.kd=h,this.nJ=b,this.kd&&this.Kva(this.kd,this.nJ)):this.nJ!=b&&(this.nJ=b,this.kd&&this.Kva(this.kd,this.nJ));this.m.T.Va()}};e.prototype.Gua=function(k){this.ima(k,-1)};e.prototype.Kva=function(k,b){this.GRa(k,b,function(){this.kd==k&&this.nJ==b&&this.ima(k,b)}.bind(this))};e.prototype.GRa=function(k,b,h){var f=[];k.traverse(function(c){var d=c.isMesh&&c.userData.gltfExtensions&&c.userData.gltfExtensions.KHR_materials_variants;if(d=d&&d.mappings){c.userData.d4a||
2080(c.userData.d4a=m.D1a(c));c.userData.gB||(c.userData.gB={});for(var g=null,p=d.length-1;0<=p&&!g;--p)-1!=d[p].variants.indexOf(b)&&(g=d[p]);g&&f.push(this.El.parser.getDependency("material",g.material).then(function(q){c.userData.gB[b]||(c.userData.gB[b]=q)}))}}.bind(this));Promise.all(f).then(function(){h(k,b)})};e.prototype.ima=function(k,b){k.traverse(function(h){if(h.userData.gB){var f=h.userData.gB[b];f&&(m.lA(h,f),this.El.parser.assignFinalMaterial(h),this.m.H(l.oi,!0))}}.bind(this));this.m.T.Va()};
2081e.prototype.dispose=function(){this.kd&&(this.Gua(this.kd),this.m.H(l.oi,!0),this.kd=null)};e.$a=function(k){k.J(l.Gp).manager=new e(k)};e.Ba=function(k){var b=k.getComponent(l.Gp);b.manager.dispose();b.manager=null;k.la(l.Gp)};e.update=function(k){k.getComponent(l.Gp).manager.update()};e.frame=function(k){k.getComponent(l.Gp).manager.frame()};return e});
2082define("hN",["require","lE","lO","fK","oZ"],function(a){var e=a("lE"),l=a("lO"),m=a("fK"),k=a("oZ");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Id=function(){this.cCa.A.length&&this.cCa.A.slice().forEach(k.$a);this.w1.A.length&&this.w1.A.slice().forEach(k.frame);this.w1.Fa.length&&this.w1.Fa.slice().forEach(k.update);this.dCa.A.length&&this.dCa.A.slice().forEach(k.Ba);this.eCa.A.length&&this.eCa.A.slice().forEach(k.Ba);this.fCa.A.length&&this.fCa.A.slice().forEach(k.Ba)};a.I={};
2083a.I.cCa=[m.ru,m.hh,m.Object3D,m.Gp.not];a.I.w1=[m.ru,m.hh,m.Object3D,m.Gp];a.I.dCa=[m.ru.not,m.Gp];a.I.eCa=[m.Object3D.not,m.Gp];a.I.fCa=[m.hh.not,m.Gp];return a});
2084define("ic",["require","fK"],function(a){var e=a("fK");return{$a:function(l){var m=l.J(e.Zr);l.J(e.Aa);var k=l.H(e.Mesh);l.J(e.Object3D).ua=m.jp=k.jp=new THREE.Mesh(l.getComponent(e.Geometry).geometry,l.getComponent(e.Material).material);k.jp.renderOrder=k.renderOrder},update:function(l){var m=l.H(e.Zr);m.jp.geometry=l.getComponent(e.Geometry).geometry;m.jp.material=l.getComponent(e.Material).material;m.jp.renderOrder=l.getComponent(e.Mesh).renderOrder},Ba:function(l){l.getComponent(e.Zr).jp=null;
2085l.la(e.Zr);l.la(e.Object3D)}}});
2086define("f",["require","lE","lO","fK","ic"],function(a){var e=a("lE"),l=a("lO"),m=a("fK"),k=a("ic");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Id=function(){this.iCa.A.length&&this.iCa.A.slice().forEach(k.$a);this.hCa.Fa.length&&this.hCa.Fa.slice().forEach(k.update);this.B1.A.length&&this.B1.A.slice().forEach(k.Ba);this.n3a.A.length&&this.B1.A.slice().forEach(k.Ba);this.o3a.A.length&&this.B1.A.slice().forEach(k.Ba)};a.I={};a.I.iCa=[m.Mesh,m.Geometry,m.Material,m.Zr.not];a.I.hCa=
2087[m.Mesh,m.Geometry,m.Material,m.Zr];a.I.B1=[m.Mesh.not,m.Zr];a.I.n3a=[m.Geometry.not,m.Zr];a.I.o3a=[m.Material.not,m.Zr];return a});
2088define("lt",["require","pg","nX","fK","cp"],function(a){function e(f){this.m=f;this.o=this.m.getComponent(k.hh).properties;this.Se=null;this.BV=void 0;h.forEach(function(c){this.o.bind(l.F(c),this.Eg,this,!0)}.bind(this));this.update()}var l=a("pg"),m=a("nX"),k=a("fK"),b=a("cp"),h=["floorColor","floorHeight","floorOpacity","floorRadius"];e.prototype.update=function(){var f=this.o.get("floorColor");this.BV!=f&&(!f&&this.Se&&(this.Ona(this.Se),this.Se=null),this.BV=f)&&(this.Se||(this.Se=this.IMa()),
2089this.QVa(this.Se,this.BV));f=this.o.get("floorOpacity");this.Se&&this.Se.material.opacity!=f&&(this.Se.material.opacity=f);f=this.o.get("floorHeight");this.Se&&this.Se.position.y!=f&&(this.Se.position.y=f);f=this.o.get("floorRadius");this.Se&&this.Se.scale.x!=f&&(this.Se.scale.x=this.Se.scale.y=this.Se.scale.z=f)};e.prototype.frame=function(){if(this.Se&&!this.Se.parent){for(var f=b.ac(this.m);f&&!f.isScene;)f=f.parent;f&&f.add(this.Se)}};e.prototype.dispose=function(){h.forEach(function(f){this.o.unbind(l.F(f),
2090this.Eg,this,!0)}.bind(this));this.Se&&(this.Ona(this.Se),this.Se=null)};e.prototype.Eg=function(){this.m.T.Va();this.update()};e.prototype.IMa=function(){var f=new THREE.CircleGeometry(1,128);f=new THREE.Mesh(f);f.receiveShadow=!0;f.position.y=0;f.rotation.x=.5*-Math.PI;f.needsUpdate=!0;return f};e.prototype.QVa=function(f,c){var d=f.material;d&&(!d.isShadowMaterial&&"transparent"==c||!d.V2a&&"transparent"!=c)&&(d.dispose(),d=null);"transparent"==c?d||(d=new THREE.ShadowMaterial):(d||(d=new THREE.MeshStandardMaterial,
2091d.defines.USE_UV="",d.onBeforeCompile=function(g){var p=g.fragmentShader.lastIndexOf("}");g.fragmentShader=g.fragmentShader.substring(0,p)+"float uvCenterCoef = 2.0 * length(vUv - 0.5);
2091\nfloat uvAlphaCoef = 1.0 - smoothstep(0.97, 1.0, uvCenterCoef);\ngl_FragColor.a = uvAlphaCoef * gl_FragColor.a;\n"+g.fragmentShader.substring(p,g.fragmentShader.length)},d.roughness=1,d.metalness=0,d.envMapIntensity=0,d.transparent=!0),d.color=new THREE.Color(m.bB(c)));d.needsUpdate=!0;f.material=d;f.renderOrder=-1};
2092e.prototype.Ona=function(f){f.parent&&f.parent.remove(f);f.material&&f.material.dispose();f.material=null;f.geometry&&f.geometry.dispose();f.geometry=null};return e});
2093define("dQ",["require","exports","pg","gv","bv"],function(a,e,l,m,k){return function(b){function h(f,c){var d=b.call(this)||this;d.Go=null;d.tma=null;d.zy=!1;d.OH=null;d.Pd=f;d.Us=c;d.Ws=new Request(f);d.QP=d.QP.bind(d);d.kC=d.kC.bind(d);return d}Z(h,b);h.prototype.start=function(){this.OH||(this.zy=!1,this.OH=k.add(this.Pd,this.Us,this.QP,this.kC))};h.prototype.QP=function(){0===this.Pd.indexOf("filesystem:")?this.cOa():this.dOa()};h.prototype.cOa=function(){var f=this,c=new XMLHttpRequest;c.open("GET",
2094this.Pd,!0);c.responseType="arraybuffer";c.onload=function(){f.osa(c.response);c.onload=c.onerror=null};c.onerror=function(){f.ksa();c.onload=c.onerror=null};c.send()};h.prototype.dOa=function(){var f=this;fetch(this.Ws).then(function(c){function d(u){void 0===u&&(u=null);if(u=u||r)u.close(),r=null,f.Go=null}function g(u){var t;return null===(t=f.Go.read().then(function(v){var w=null===v||void 0===v?void 0:v.value;w&&(n+=w.byteLength,u.enqueue(w));v&&v.done&&(q=n,d(u));void 0!==q&&f.trigger(l.kc,
2095{totalBytes:q,bytesLoaded:n,percent:n<q?100*n/q:100})}))||void 0===t?void 0:t.catch(function(v){console.log("Error reading response",v);u.error(v)})}if(f.zy)return c.body.getReader().cancel(),Promise.reject("cancel requested before server responded.");if(!c.ok)return Promise.resolve(c);var p=c.headers.get("content-length")||c.headers.get("x-content-length"),q,n=0;null!==p&&(q=parseInt(p,10));f.Go=c.body.getReader();var r=null;return new Response(new ReadableStream({start:function(u){f.zy?u.close():
2096r=u},pull:function(u){return g(u)},cancel:function(){return d()}}))}).then(function(c){return c.arrayBuffer()}).then(function(c){f.osa(c)}).catch(function(){f.ksa()})};h.prototype.cancel=function(){this.OH&&(this.OH.cancel(),this.OH=null)};h.prototype.kC=function(){this.zy=!0;
2096this.Go&&(this.Go.cancel(),this.Go=null)};h.prototype.osa=function(f){var c;this.tma=f;null===(c=this.OH)||void 0===c?void 0:c.loaded();this.trigger(l.Z,{buffer:f})};h.prototype.ksa=function(){this.cancel();this.trigger(l.yc)};
2097h.prototype.getData=function(){return this.tma};return h}(m)});
2098define("co","require exports three.mod pg ik gv cp he lY dQ mP mC fK".split(" "),function(a,e,l,m,k,b,h,f,c,d,g,p,q){return function(n){function r(u){var t=n.call(this)||this;t.type=r.TYPE;t.qF=[];t.MA=[];t.N=u;t.bha=t.bha.bind(t);t.cha=t.cha.bind(t);t.gK=h.CFa(new l.GLTFLoader);return t}Z(r,n);r.prototype.mAa=function(){return this.El?this.El.scene:null};r.prototype.start=function(u){this.url=u;this.Ct=new d(u,k.HB);this.UZa();this.Ct.start()};r.prototype.update=function(){if(0!=this.qF.length||
20990!=this.MA.length){for(var u=Date.now()+8,t=this.N.getComponent(q.hh).xc.ic.xA();0<this.MA.length&&Date.now()<u;){var v=this.MA.shift();t&&t.initTexture(v)}for(;0<this.qF.length&&Date.now()<u;)f.SDa(this.qF.shift());0==this.qF.length&&0==this.MA.length?this.xGa():this.N.T.Va()}};r.prototype.dispose=function(){this.Ct&&(this.J4a(),this.Ct.cancel())};r.prototype.UZa=function(){this.Ct.bind(m.Z,this.OCa,this,!0);this.Ct.bind(m.kc,this.QCa,this,!0);this.Ct.bind(m.yc,this.PCa,this,!0)};r.prototype.J4a=
2100function(){this.Ct.unbind(m.Z,this.OCa,this);this.Ct.unbind(m.kc,this.QCa,this);this.Ct.unbind(m.yc,this.PCa,this)};r.prototype.OCa=function(){this.gK.parse(this.Ct.getData(),p.getDirectory(this.url),this.bha,this.cha)};r.prototype.QCa=function(u){this.trigger(m.kc,u.data)};r.prototype.PCa=function(){this.trigger(m.yc)};r.prototype.cha=function(u){g.BT&&u&&u.message&&console.error(u.message);this.trigger(m.yc)};r.prototype.bha=function(u){this.gK&&(this.qF=[],this.MA=[],u.scene.traverse(function(t){if(t.isMesh){var v=
2101t.material;v&&(1==c.QDa&&v.f$a&&(t.material=v=(new l.MeshStandardMaterial).copy(v)),v.depthWrite=!v.transparent,v=this.A1a(v),this.MA=this.MA.concat(v))}this.qF.push(t)}.bind(this)),this.El=u,0==this.qF.length&&0==this.MA.length?this.xGa():this.N.T.Va())};r.prototype.xGa=function(){this.trigger(m.INIT);this.trigger(m.Z)};r.prototype.A1a=function(u){var t=[];u.V2a?(u.alphaMap&&t.push(u.alphaMap),u.aoMap&&t.push(u.aoMap),u.bumpMap&&t.push(u.bumpMap),u.displacementMap&&t.push(u.displacementMap),u.emissiveMap&&
2102t.push(u.emissiveMap),u.envMap&&t.push(u.envMap),u.lightMap&&t.push(u.lightMap),u.map&&t.push(u.map),u.metalnessMap&&t.push(u.metalnessMap),u.normalMap&&t.push(u.normalMap),u.roughnessMap&&t.push(u.roughnessMap)):u.isMeshBasicMaterial&&(u.alphaMap&&t.push(u.alphaMap),u.envMap&&t.push(u.envMap),u.map&&t.push(u.map));return t};r.TYPE="gltf";return r}(b)});
2103define("oa","require exports three.mod pg gv cp oc mC".split(" "),function(a,e,l,m,k,b,h,f){a=function(n){function r(){var u=n.call(this)||this;u.type=r.TYPE;u.ke=null;u.gK=null;u.camera=null;u.Zo=null;u.width=void 0;u.height=void 0;u.ii=!1;u.Q_=null;u.session=null;u.config=null;return u}Z(r,n);r.prototype.mAa=function(){return this.ke?this.ke.group:null};r.prototype.x5a=function(u){this.config=u};r.prototype.start=function(u){this.Q_=this.T0a(u);this.ke=new l.TDTiles.TilesRenderer(u);this.gK=b.CFa(new l.GLTFLoader(this.ke.manager));
2104this.ke.manager.addHandler(/\.gltf$/,this.gK);this.config&&(this.ke.maxDepth=this.config.maxDepth,this.ke.loadSiblings=this.config.loadSiblings,this.ke.parseQueue.maxJobs=this.config.hha,this.ke.downloadQueue.maxJobs=this.config.kfa,this.ke.lruCache.minSize=this.config.Cga,this.ke.lruCache.maxSize=this.config.Bga,this.ke.errorTarget=this.config.errorTarget,this.ke.errorThreshold=this.config.errorThreshold);f.mga(u)&&(this.ke.fetchOptions.mode="cors");this.ke.onLoadModel=this.onLoadModel.bind(this);
2105this.ke.onDisposeModel=this.onDisposeModel.bind(this);this.ke.onLoadTileSet=this.onLoadTileSet.bind(this);this.ke.onTileVisibilityChange=this.onTileVisibilityChange.bind(this);this.ke.preprocessURL=this.O3a.bind(this);this.trigger(m.INIT)};r.prototype.dispose=function(){this.ke&&(this.gK=null,this.ke.dispose(),this.ke=null,this.Zo&&this.Zo.removeFromParent(),this.session=this.Q_=null)};r.prototype.setCamera=function(u){this.camera!==u&&(this.camera=u,this.BGa(),this.updateCamera())};r.prototype.setSize=
2106function(u,t){if(this.width!==u||this.height!==t)this.width=u,this.height=t,this.x8a()};r.prototype.update=function(){this.camera&&this.width&&this.height&&(this.BGa(),this.ke.update(
2106))};r.prototype.T0a=function(u){return(new window.URL(u)).searchParams.get("key")||null};r.prototype.Q1a=function(u){return(new window.URL(u)).searchParams.get("session")||null};r.prototype.updateCamera=function(){this.ke&&this.camera&&(this.ke.setCamera(this.camera),this.ke.setCamera(this.Zo))};r.prototype.BGa=function(){this.camera&&
2107(this.Zo||(this.Zo=new l.OrthographicCamera(-1,1,-1,1),this.Zo.matrixAutoUpdate=!1),this.Zo.parent!==this.camera&&this.camera.add(this.Zo),this.camera.updateMatrixWorld(!0),q.setFromMatrixPosition(this.camera.matrixWorld),p.copy(q).y-=this.camera.far,p.applyMatrix4(c.copy(this.camera.matrixWorld).invert()),g.random().cross(p).normalize(),this.Zo.matrix.lookAt(d,p,g),this.Zo.near=this.camera.near,this.Zo.far=this.camera.far)};r.prototype.x8a=function(){this.ke&&this.camera&&this.width&&this.height&&
2108(this.ke.setResolution(this.camera,this.width,this.height),this.ke.setResolution(this.Zo,1,1))};r.prototype.O3a=function(u){u=new window.URL(u);/^http/.test(u.protocol)&&(this.Q_&&u.searchParams.append("key",this.Q_),this.session&&u.searchParams.append("session",this.session));return u.toString()};r.prototype.onLoadModel=function(){this.ii||(this.ii=!0,this.trigger(m.Z));this.trigger(m.ca)};r.prototype.onDisposeModel=function(u){u.traverse(function(t){t instanceof l.Mesh&&h.Fha(t)})};r.prototype.onTileVisibilityChange=
2109function(u,t,v){v&&this.trigger(m.ca)};r.prototype.onLoadTileSet=function(){null==this.session&&this.ke.traverse(function(u){return u.content&&u.content.uri?(this.session=this.Q1a(u.content.uri),!0):!1}.bind(this));this.trigger(m.ca)};r.TYPE="tiles";return r}(k);var c=new l.Matrix4,d=new l.Vector3,g=new l.Vector3,p=new l.Vector3,q=new l.Vector3;return a});
2110define("hB",["require","exports"],function(){return function(){function a(){this.errorTarget=6;this.maxDepth=this.errorThreshold=Infinity;this.loadSiblings=!0;this.kfa=6;this.hha=3;this.Cga=600;this.Bga=800}a.Z_a=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.kfa=e.get("downloadMaxJobs",l.kfa);l.hha=e.get("parseMaxJobs",l.hha);
2111l.Cga=e.get("lruCacheMinSize",l.Cga);l.Bga=e.get("lruCacheMaxSize",l.Bga);return l};return a}()});
2112define("nu",["require","he"],function(a){function e(f){this.ia=f}var l=a("he"),m=new THREE.Raycaster,k=new THREE.Vector3,b=new THREE.Vector3(0,-1,0),h=new THREE.Vector3(0,1,0);e.prototype.MF=function(f,c){m.ray.origin.copy(f);k.copy(c).sub(f);var d=k.length();k.normalize();m.ray.direction.copy(k);f=this.XM();return 0<l.intersect(m,f).filter(function(g){if(g.distance>=.98*d||!g.object.visible)return!1;g=Array.isArray(g.object.material)&&g.face?g.object.material[g.face.materialIndex]:g.object.material;
2113return!g||g.visible}).length};e.prototype.h1a=function(f){m.ray.origin.copy(f);m.ray.direction.copy(b);f=this.XM();var c=l.intersect(m,f);if(0<c.length)return c[0].distance;m.ray.direction.copy(h);c=l.intersect(m,f);if(0<c.length)return-c[0].distance};e.prototype.XM=function(){var f=[];this.ia.traverse(function(c){c.isSprite||c.isLine||f.push(c)});return f};return e});
2114define("ba",["require","cp"],function(a){function e(m,k){this.Ia=m;this.nQa=k}var l=a("cp");e.prototype.xAa=function(m){return(m=this.ac(m))&&m.matrixWorld};e.prototype.ac=function(m){return m?l.tA(this.nQa,m):l.ac(this.Ia)};return e});
2115define("ep",["require","cp"],function(a){function e(c,d,g){this.Ia=c;this.URa=d;this.zOa=g}var l=a("cp"),m=new THREE.Vector3,k=new THREE.Vector3,b=new THREE.Vector3,h=new THREE.Frustum,f=new THREE.Matrix4;e.prototype.Vfa=function(c,d){d=this.URa.xAa(d);if(!d)return null;k.copy(c).applyMatrix4(d);var g=(c=l.ac(this.Ia))&&l.AR(c);c=g&&l.Ww(g);if(!c)return null;f.identity().multiplyMatrices(c.projectionMatrix,c.matrixWorldInverse);h.setFromProjectionMatrix(f);if(!h.containsPoint(k))return null;d=(g&&
2116l.DR(g))/2;g=(g&&l.UE(g))/2;m.copy(k).project(c);d=m.x*d+d;g=-(m.y*g)+g;b.setFromMatrixPosition(c.matrixWorld);c=this.zOa.MF(b,k);return{x:Math.round(d),y:Math.round(g),visible:!c}};return e});
2117define("eI","require pg mE co oa hB nu ba ep cp fK v ir mC".split(" "),function(a){function e(r,u,t,v){this.m=r;this.vi=u;r=this.m.getComponent(p.hh);this.o=r.properties;this.Ii=v;this.De=t;this.Be=this.Ii.Bt(1);this.De.xJ(this.Be,1);this.Ca=this.El=null;t=this.hQa(r.Jga);this.Nd=this.UMa(t);this.RJa();this.Nd.type===b.TYPE&&this.Nd.x5a(h.Z_a(r.Jga));this.Nd.start(t)}var l=a("pg"),m=a("mE"),k=a("co"),b=a("oa"),h=a("hB"),f=a("nu"),c=a("ba"),d=a("ep"),g=a("cp"),p=a("fK"),q=a("v"),n=a("ir");a("mC");
2118e.prototype.UMa=function(r){return n.is(r,n.iJa)?new b:new k(this.m)};e.prototype.hQa=function(r){var u=r.get("levels");if(!t&&q.nb())var t=(t=u.find(function(v){return-1<v.get("tags").indexOf(m.WT)}))&&t.get("url");t||u.length&&(t=u[0].get("url"));t||(t=r.get("url"));return t};e.prototype.update=function(){};e.prototype.frame=function(){this.Nd.type===b.TYPE?this.oZa():this.Nd.type===k.TYPE&&this.GYa()};e.prototype.oZa=function(){var r=g.hi(this.m),u=r&&g.Ww(r);u&&(this.Nd.setCamera(u),this.Nd.setSize(g.DR(r),
2119g.UE(r)),this.Nd.update())};e.prototype.GYa=function(){this.Nd.update()};e.prototype.RJa=function(){this.Nd.bind(l.INIT,this.Xra,this,!0);this.Nd.bind(l.Z,this.vd,this,!0);this.Nd.bind(l.yc,this.Sf,this,!0);this.Nd.bind(l.kc,this.Bi,this,!0);this.Nd.bind(l.ca,this.psa,this,!0)};e.prototype.oUa=function(){this.Nd.unbind(l.INIT,this.Xra,this);this.Nd.unbind(l.Z,this.vd,this);this.Nd.unbind(l.yc,this.Sf,this);this.Nd.unbind(l.kc,this.Bi,this);this.Nd.unbind(l.ca,this.psa,this)};e.prototype.Xra=function(){this.Ca=
2120this.Nd.mAa();this.vi.J(p.Object3D).ua=this.Ca;var r=this.Nd.type==k.TYPE;this.vKa(this.Ca,r);var u=this.m.H(p.hh,!0);u.Xfa=r?this.Nd.El:null;this.m.H(p.Animation,!0).properties=u.properties};e.prototype.vd=function(){this.o.set("geometryQuery",new f(this.Ca));this.o.set("objectQuery",new c(this.m,this.Ca));this.o.set("projectionQuery",new d(this.m,this.o.get("objectQuery"),this.o.get("geometryQuery")));this.d_()};e.prototype.Bi=function(r){this.Be.trigger(l.kc,r.data)};e.prototype.Sf=function(){this.Be.trigger(l.yc)};
2121e.prototype.psa=function(){this.m.H(p.Object3D,!0)};e.prototype.d_=function(){this.o.set("isLoaded",!0);this.Be.trigger(l.Z)};e.prototype.vKa=function(r,u){void 0===r.userData.id&&(r.userData.id="root");
2121if(!1!==u)for(var t=[r];t.length;){var v=t.shift();r=[];v.children&&(r=r.concat(v.children));v.isSkinnedMesh&&(r=r.concat(v.skeleton.bones));r.forEach(function(w,x){void 0===w.userData.id&&(w.userData.id=v.userData.id+"/"+x);t.push(w)})}};e.prototype.dispose=function(){this.Ca&&(this.Ca.traverse(function(r){function u(w){w&&
21220>t.indexOf(w)&&t.push(w)}var t=[];u(r.material);u(r.userData.wr);if(r.userData.gB)for(var v in r.userData.gB)u(r.userData.gB[v]);t.forEach(function(w){w.dispose();Object.keys(w).forEach(function(x){(x=w[x])&&"object"===typeof x&&"minFilter"in x&&x.dispose()})});r.geometry&&r.geometry.userData.Nya&&r.geometry.disposeBoundsTree();r.geometry&&r.geometry.dispose()}),this.Ca=null,this.vi.la(p.Object3D));this.Nd&&(this.oUa(),this.Nd.dispose(),this.Nd=null);this.Be&&(this.De.IK(this.Be),this.Ii.IK(this.Be),
2123this.De=this.Be=null);this.o&&(this.o.set("geometryQuery",null),this.o.set("objectQuery",null),this.o.set("isLoaded",!1),this.o=null)};return e});
2124define("km","require kS mh pg gv fK cp".split(" "),function(a){function e(u,t,v){this.Ia=u;this.hH=t;this.D=v;this.df=this.df.bind(this);this.Vl=this.Vl.bind(this);this.bm=1;this.U=!1;this.Zla=new Map;this.oh=[];this.kh=this.Ia.T.Zc("DraggingPositionContainer");this.kh.J(b.Group);this.kh.J(b.Aa);this.oh.push(this.kh);this.Lc=null;this.aC=[this.eya=this.R6("x"),this.gya=this.R6("y"),this.hya=this.R6("z")];this.aC.forEach(function(w){this.Wz(w,function(x){x.opacity=.5;x.depthTest=!1});w.J(b.lb).N=this.kh}.bind(this));
2125l.da(this.D,n,this.df,!0);l.da(this.D,r,this.Vl,!0)}var l=a("kS");a("mh");var m=a("pg"),k=a("gv"),b=a("fK"),h=a("cp");e.prototype.dispose=function(){l.ba(this.D,n,this.df);l.ba(this.D,r,this.Vl);var u=this.Ia.T;this.oh.forEach(function(t){u.He(t)});this.D=this.Ia=this.aC=this.m=this.oh=null};e.prototype.frame=function(){if(this.U)if(this.xP(h.dK(this.kh)||1),this.Lc){var u=this.hH.getComponent(b.Aa);this.D.set("x",u.positionX);this.D.set("y",u.positionY);this.D.set("z",u.positionZ)}else this.uYa()};
2126var f=new THREE.Vector3,c=new THREE.Vector3,d=new THREE.Euler,g=new THREE.Quaternion,p=new THREE.Matrix4,q=180/Math.PI;e.prototype.R6=function(u){var t=this.Ia.T.Zc("DraggingArrow");this.oh.push(t);t.J(b.Group);var v=t.H(b.Aa,!0);"x"===u?v.Oe=-90:"z"==u&&(t.H(b.Aa,!0).Ne=90);u=this.Ia.T.Zc("DraggingArrowCylinder");this.oh.push(u);u.J(b.Mesh).renderOrder=1;u.J(b.Geometry).geometry=new THREE.CylinderGeometry(.05,.05,.85,16,1,!0);u.J(b.Ic);u.J(b.lb).N=t;u.H(b.Aa,!0).positionY=-.075;v=this.Ia.T.Zc("DraggingArrowCone");
2127this.oh.push(v);v.J(b.Mesh).renderOrder=1;v.J(b.Geometry).geometry=new THREE.ConeGeometry(.05,.15,16,1,!0);v.J(b.Ic);v.J(b.lb).N=t;v.H(b.Aa,!0).positionY=.425;this.Zla.set(t,[u,v]);return t};e.prototype.xP=function(u){this.bm!=u&&(this.bm=u,this.df())};e.prototype.df=function(){var u=this.D.get("draggableArrowLength")*this.bm;this.Wz(this.eya,function(v){v.color=this.D.get("draggableXControlsColor")}.bind(this));var t=this.eya.H(b.Aa,!0);t.scale=u;t.translationX=u/2;this.Wz(this.gya,function(v){v.color=
2128this.D.get("draggableYControlsColor")}.bind(this));t=this.gya.H(b.Aa,!0);t.scale=u;t.translationY=u/2;this.Wz(this.hya,function(v){v.color=this.D.get("draggableZControlsColor")}.bind(this));t=this.hya.H(b.Aa,!0);t.scale=u;t.af=u/2};e.prototype.uYa=function(){var u=h.ac(this.hH);u&&(p.copy(u.matrixWorld).invert().decompose(f,g,c),u=this.kh.getComponent(b.Aa),d.setFromQuaternion(g,u.Vf),d.x*=q,d.y*=q,d.z*=q,u.Ne!=d.x||u.qe!=d.y||u.Oe!=d.z)&&(u=this.kh.H(b.Aa),u.Ne=d.x,u.qe=d.y,u.Oe=d.z)};e.prototype.Vl=
2129function(){var u=this.D.get("positionDraggable");this.U!=u&&((this.U=u)?(this.kh.J(b.lb).N=this.hH,this.aC.forEach(function(t){t=t.J(b.td);t.mx=!0;t.Kw=!0;t.P=new k;t.P.bind(m.cd,this.iI,this,!0);t.P.bind(m.Vb,this.tn,this,!0);t.P.bind(m.jb,this.Ak,this,!0);t.P.bind(m.Eb,this.yo,this,!0)}.bind(this))):(this.kh.la(b.lb),this.aC.forEach(function(t){t.la(b.td)})))};e.prototype.iI=function(u){(u=this.Cl(u))&&u!=this.Lc&&this.Wz(u,function(t){t.opacity=1})};e.prototype.tn=function(u){(u=this.Cl(u))&&u!=
2130this.Lc&&this.Wz(u,function(t){t.opacity=.5})};e.prototype.Ak=function(u){u=this.Cl(u);this.Yz(u)};e.prototype.yo=function(u){u=this.Cl(u);u==this.Lc&&(this.Yz(null),-1!=this.aC.indexOf(u)&&this.D.trigger(m.vu))};e.prototype.Wz=function(u,t){this.Zla.get(u).forEach(function(v){t(v.H(b.Ic))}.bind(this))};e.prototype.Cl=function(u){u=this.aC.map(function(t){return t.getComponent(b.td).P}).indexOf(u.source);return-1==u?null:this.aC[u]};e.prototype.Yz=function(u){this.Lc&&(this.Wz(this.Lc,function(v){v.opacity=
2131.5}),this.hH.la(b.tp));if(this.Lc=u){this.Wz(this.Lc,function(v){v.opacity=1});u=h.getWorldPosition(this.hH);var t=h.getWorldPosition(this.Lc);this.hH.J(b.tp).direction=t.sub(u)}};
2131var n=["draggableArrowLength","draggableXControlsColor","draggableYControlsColor","draggableZControlsColor"],r=["positionDraggable"];return e});
2132define("n","require kS pg gv fK cp".split(" "),function(a){function e(n,r,u){this.Ia=n;this.m=r;this.D=u;this.Bk=this.Bk.bind(this);this.df=this.df.bind(this);this.Vl=this.Vl.bind(this);this.Lc=null;this.U=!1;this.HY=[1,1,1,1,1,1];this.oh=[];this.lg=[this.sJ=this.Wp(),this.rJ=this.Wp(),this.uJ=this.Wp(),this.tJ=this.Wp(),this.wJ=this.Wp(),this.vJ=this.Wp()];this.lg.forEach(function(t){t=t.H(b.Ic);t.opacity=.5;t.depthTest=!1}.bind(this));l.da(this.D,g,this.df,!0);l.da(this.D,p,this.Bk,!0);l.da(this.D,
2133q,this.Vl,!0)}var l=a("kS"),m=a("pg"),k=a("gv"),b=a("fK"),h=a("cp");e.prototype.frame=function(){if(this.U&&(this.TVa(this.lg.map(function(E){return h.dK(E)||1})),this.Lc)){var n=h.ac(this.m),r=h.ac(this.uH(this.Lc));if(n&&r){c.copy(n.matrixWorld).invert();f.setFromMatrixPosition(r.matrixWorld).applyMatrix4(c);n=this.D.get("x");r=this.D.get("y");var u=this.D.get("z"),t=this.D.get("width"),v=this.D.get("height"),w=this.D.get("depth"),x=0,y=0,z=0,C=0,A=0,B=0;switch(this.Lc){case this.sJ:C=f.x-.5*t;
2134x=.5*C;break;case this.rJ:C=-f.x-.5*t;x=.5*-C;break;case this.uJ:A=f.y-.5*v;y=.5*A;break;case this.tJ:A=-f.y-.5*v;y=.5*-A;break;case this.wJ:B=f.z-.5*w;z=.5*B;break;case this.vJ:B=-f.z-.5*w,z=.5*-B}this.D.set("x",n+x);this.D.set("width",t+C);this.D.set("y",r+y);this.D.set("height",v+A);this.D.set("z",u+z);this.D.set("depth",w+B)}}};var f=new THREE.Vector3,c=new THREE.Matrix4;e.prototype.Wp=function(){var n=this.Ia.T.Zc("DraggingSphere");this.oh.push(n);n.J(b.Mesh).renderOrder=2;n.J(b.Geometry).geometry=
2135new THREE.SphereGeometry;n.J(b.Ic);return n};e.prototype.df=function(){this.sJ.H(b.Ic).color=this.D.get("draggableXControlsColor");this.rJ.H(b.Ic).color=this.D.get("draggableXControlsColor");this.uJ.H(b.Ic).color=this.D.get("draggableYControlsColor");this.tJ.H(b.Ic).color=this.D.get("draggableYControlsColor");this.wJ.H(b.Ic).color=this.D.get("draggableZControlsColor");this.vJ.H(b.Ic).color=this.D.get("draggableZControlsColor");var n=this.D.get("draggableSphereRadius");this.lg.forEach(function(r,u){r.H(b.Aa,
2136!0).scale=n*this.HY[u]}.bind(this))};e.prototype.Bk=function(){this.sJ.H(b.Aa,!0).positionX=this.D.get("width")/2;this.rJ.H(b.Aa,!0).positionX=-this.D.get("width")/2;this.uJ.H(b.Aa,!0).positionY=this.D.get("height")/2;this.tJ.H(b.Aa,!0).positionY=-this.D.get("height")/2;this.wJ.H(b.Aa,!0).positionZ=this.D.get("depth")/2;this.vJ.H(b.Aa,!0).positionZ=-this.D.get("depth")/2};e.prototype.Vl=function(){var n=this.D.get("sizeDraggable");this.U!=n&&(this.U=n,this.lg.forEach(function(r){n?(r.J(b.lb).N=this.m,
2137this.lg.forEach(function(u){u=u.J(b.td);u.mx=!0;u.Kw=!0;u.P=new k;u.P.bind(m.cd,this.ZH,this,!0);u.P.bind(m.Vb,this.caa,this,!0);u.P.bind(m.jb,this.aaa,this,!0);u.P.bind(m.Eb,this.baa,this,!0)}.bind(this))):(r.la(b.lb),this.lg.forEach(function(u){u.la(b.td)}.bind(this)))}.bind(this)))};e.prototype.TVa=function(n){for(var r=!1,u=0;u<this.HY.length&&!r;u++)r=this.HY[u]!=n[u];r&&(this.HY=n,this.df())};e.prototype.ZH=function(n){(n=this.Cl(n))&&n!=this.Lc&&(n.H(b.Ic).opacity=1)};e.prototype.caa=function(n){(n=
2138this.Cl(n))&&n!=this.Lc&&(n.H(b.Ic).opacity=.5)};e.prototype.Cl=function(n){n=this.lg.map(function(r){return r.getComponent(b.td).P}).indexOf(n.source);return-1==n?null:this.lg[n]};e.prototype.aaa=function(n){n=this.Cl(n);this.Yz(n)};e.prototype.baa=function(n){n=this.Cl(n);n==this.Lc&&(this.Yz(null),this.Bk(),(n=-1!=this.lg.indexOf(n))&&this.D.trigger(m.vu),n&&this.D.trigger(m.Hka))};e.prototype.Yz=function(n){this.Lc&&(this.Lc.H(b.Ic).opacity=.5,this.uH(this.Lc).la(b.tp));if(this.Lc=n)this.Lc.H(b.Ic).opacity=
21391,n=this.uH(this.Lc).J(b.tp),n.direction=this.cPa(this.Lc),n.min=this.dPa(this.Lc)};e.prototype.cPa=function(n){var r=h.getWorldPosition(this.m);return h.getWorldPosition(n).sub(r)};e.prototype.uH=function(n){return-1!=this.lg.indexOf(n)?n:null};e.prototype.dPa=function(n){var r=this.EPa(n);if(r){r=h.getWorldPosition(r);var u=h.getWorldPosition(n).sub(r);switch(n){case this.sJ:case this.rJ:var t=this.D.get("minWidth");break;case this.uJ:case this.tJ:t=this.D.get("minHeight");break;case this.wJ:case this.vJ:t=
2140this.D.get("minDepth")}return r.add(u.setLength(t||d))}};e.prototype.EPa=function(n){switch(n){case this.sJ:return this.rJ;case this.rJ:return this.sJ;case this.uJ:return this.tJ;case this.tJ:return this.uJ;case this.wJ:return this.vJ;case this.vJ:return this.wJ}return null};e.prototype.dispose=function(){l.ba(this.D,g,this.df);l.ba(this.D,p,this.Bk);l.ba(this.D,q,this.Vl);var n=this.Ia.T;
2140this.oh.forEach(function(r){n.He(r)});this.D=this.Ia=this.lg=this.m=this.oh=null};var d=1E-6,g=["draggableSphereRadius",
2141"draggableXControlsColor","draggableYControlsColor","draggableZControlsColor"],p="depth height x y z width".split(" "),q=["sizeDraggable"];return e});
2142define("cv","require kS mh pg fK km n".split(" "),function(a){function e(d,g,p){this.Ia=d;this.D=p;this.Bk=this.Bk.bind(this);this.df=this.df.bind(this);this.m=this.sMa();d=this.m.J(k.lb);d.N=this.Ia;d.id=this.D.get("parentId");this.ts=this.S6();this.ts.J(k.lb).N=this.m;this.LM=this.GMa();this.LM.J(k.lb).N=this.m;this.oh=[this.m,this.ts,this.LM];this.AC=new b(this.Ia,this.m,this.D);this.O7=new h(this.Ia,this.m,this.D);d=this.m.J(k.td);d.Kw=!0;d.mx=!0;d.P=this.D;l.da(this.D,f,this.df,!0);l.da(this.D,
2143c,this.Bk,!0);this.D.trigger(m.dd)}var l=a("kS");a("mh");var m=a("pg"),k=a("fK"),b=a("km"),h=a("n");e.prototype.frame=function(){this.AC.frame();this.O7.frame()};e.prototype.sMa=function(){var d=this.Ia.T.Zc("Box");d.J(k.Group);return d};e.prototype.S6=function(){var d=this.Ia.T.Zc("BoxBorder");d.J(k.Line);d.J(k.Geometry).geometry=this.tMa();d.J(k.gh);return d};e.prototype.GMa=function(){var d=this.Ia.T.Zc("BoxFace");d.J(k.Mesh);d.J(k.Geometry).geometry=new THREE.BoxGeometry(1,1,1);d.J(k.Ic);return d};
2144e.prototype.tMa=function(){var d=[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,
2145-.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(d)};e.prototype.df=function(){var d=this.ts.H(k.gh);d.color=this.D.get("lineColor");d.opacity=this.D.get("lineOpacity");d.width=this.D.get("lineWidth");d.depthTest=this.D.get("depthTest");d=this.LM.H(k.Ic);d.color=
2146this.D.get("faceColor");d.opacity=this.D.get("faceOpacity");d.depthTest=this.D.get("depthTest");d=this.m.H(k.td,!0);d.hL=this.D.get("useHandCursor");d.iT=this.D.get("transparentAreaActive")};e.prototype.Bk=function(){var d=this.m.H(k.Aa,!0);d.positionX=this.D.get("x");d.positionY=this.D.get("y");d.positionZ=this.D.get("z");d=this.ts.H(k.Aa,!0);var g=this.LM.H(k.Aa,!0);g.If=d.If=this.D.get("width");g.Wf=d.Wf=this.D.get("height");g.Bh=d.Bh=this.D.get("depth")};e.prototype.dispose=function(){this.O7.dispose();
2147this.O7=null;this.AC.dispose();this.AC=null;l.ba(this.D,f,this.df);l.ba(this.D,c,this.Bk);var d=this.Ia.T;this.oh.forEach(function(g){d.He(g)});this.Ia=this.LM=this.ts=this.m=this.oh=null;this.D.trigger(m.Tc);this.D=null};var f=["transparentAreaActive","useHandCursor"],c="depth height x y z width".split(" ");return e});
2148define("Y",["require"],function(){var a={Im:function(){this.u7a=this.Cia=this.t7a=this.cT=this.bT=this.aT=0;this.xx=!1;this.Tn=new THREE.CubeTexture;this.O7a=this.Iia=this.N7a=this.gT=this.targetY=this.targetX=0;this.yx=!1;this.Un=new THREE.CubeTexture;this.Vf="XYZ";this.position=1},X9a:function(){return new a.Im},create:function(m){var k=new THREE.ShaderMaterial;k.uniforms={sCube:{value:m.Tn},sPos:{value:new THREE.Vector3},sRot:{value:new THREE.Matrix4},sEnabled:{value:!1},tCube:{value:m.Un},tPos:{value:new THREE.Vector3},
2149tRot:{value:new THREE.Matrix4},tEnabled:{value:!1},blendingCoef:{value:0}};k.fragmentShader="uniform samplerCube sCube;\nuniform vec3 sPos;\nuniform mat4 sRot;\nuniform bool sEnabled;\nuniform samplerCube tCube;\nuniform vec3 tPos;\nuniform mat4 tRot;\nuniform bool tEnabled;\nuniform float blendingCoef;\nvarying vec3 vWorldPosition;\nvoid main() {\n    vec4 sFragColor;\n    vec4 tFragColor;\n    if (sEnabled) \n    {\n        vec4 sCubePosition4 = sRot * vec4((vWorldPosition - sPos), 1
2149);\n        vec3 sCubePosition = sCubePosition4.xyz / sCubePosition4.w;\n\t    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\t    tFragColor = textureCube(tCube, tCubePosition);\n    }\n    if (sEnabled && tEnabled)\n    {\n        gl_FragColor = mix(sFragColor, tFragColor, blendingCoef);     \n    }\n    else if (sEnabled)\n    {        \n        gl_FragColor = vec4(sFragColor.rgb, sFragColor.a * (1.0 - blendingCoef));\n    }\n    else if (tEnabled)\n    {\n        gl_FragColor = vec4(tFragColor.rgb, tFragColor.a * blendingCoef);\n    }\n#include <tonemapping_fragment>\n#include <encodings_fragment>\n}";
2150k.vertexShader="varying vec3 vWorldPosition;\n#include <common>\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.Tn;m.uniforms.sPos.value.set(k.aT,k.bT,k.cT);m.uniforms.sRot.value.makeRotationFromEuler(e.set(k.t7a*l,k.Cia*l,k.u7a*l,k.Vf));m.uniforms.sEnabled.value=
2151k.xx;m.uniforms.tCube.value=k.Un;m.uniforms.tPos.value.set(k.targetX,k.targetY,k.gT);m.uniforms.tRot.value.makeRotationFromEuler(e.set(k.N7a*l,k.Iia*l,k.O7a*l,k.Vf));m.uniforms.tEnabled.value=k.yx;m.uniforms.blendingCoef.value=k.position;m.needsUpdate=!0;return m}},e=new THREE.Euler,l=Math.PI/180;return a});
2152define("mj",["require","kS","Y","fK","cp"],function(a){function e(c,d,g){this.Ia=c;this.vi=d;this.D=g;this.Tv=this.Tv.bind(this);this.m=this.Ia.T.Zc("ProjectedMaterial");this.kd=this.na=this.$b=null}var l=a("kS"),m=a("Y"),k=a("fK"),b=a("cp");e.prototype.frame=function(){!this.kd&&b.ac(this.vi)&&this.sWa()};e.prototype.sWa=function(){this.$b=new m.Im;this.na=m.create(this.$b);this.na.polygonOffset=!0;this.na.polygonOffsetUnits=1;this.na.polygonOffsetFactor=-10;this.na.needsUpdate=!0;this.kd=this.XMa();
2153this.m.J(k.Object3D).ua=this.kd;var c=this.m.J(k.lb);c.N=this.Ia;c.id=this.D.get("parentId");c.attach=!0;l.da(this.D,f,this.Tv,!0)};e.prototype.XMa=function(){var c=b.ac(this.vi),d=new Map;c.traverse(function(q){if(q.material&&q.userData){var n={};q.material&&(n.material=q.material,q.material=this.na);q.userData&&(n.userData=q.userData,q.userData={});d.set(q,n)}}.bind(this));c=c.clone();d.forEach(function(q,n){q.material&&(n.material=q.material);q.userData&&(n.userData=q.userData)});var g=b.hi(this.vi),
2154p=g&&b.Ww(g);this.IP=new THREE.Mesh(new THREE.BoxGeometry(2,2,2),this.na);this.DC=g&&b.CR(g);b.mya(p,this.IP);return c};e.prototype.Tv=function(){this.$b.texture||(this.$b.texture=new THREE.CubeTexture);this.$b.texture.image!=this.D.get("faces")&&(this.$b.texture.image=this.D.get("faces"),this.$b.texture.encoding=THREE.sRGBEncoding,this.$b.texture.needsUpdate=!0);this.D.get("sourceFaces")?(this.$b.Tn.image!=this.D.get("sourceFaces")&&(this.$b.Tn&&this.$b.Tn.dispose(),this.$b.Tn=new THREE.CubeTexture,
2155this.$b.Tn.image=this.D.get("sourceFaces"),this.$b.Tn.encoding=this.DC,this.$b.Tn.needsUpdate=!0),this.$b.aT=this.D.get("sourceX"),this.$b.bT=this.D.get("sourceY"),this.$b.cT=this.D.get("sourceZ"),this.$b.Cia=this.D.get("sourceYaw"),this.$b.xx=!0):this.$b.xx=!1;this.D.get("targetFaces")?(this.$b.Un.image!=this.D.get("targetFaces")&&(this.$b.Un&&this.$b.Un.dispose(),this.$b.Un=new THREE.CubeTexture,this.$b.Un.image=this.D.get("targetFaces"),this.$b.Un.encoding=this.DC,this.$b.Un.needsUpdate=!0),this.$b.targetX=
2156this.D.get("targetX"),this.$b.targetY=this.D.get("targetY"),this.$b.gT=this.D.get("targetZ"),this.$b.Iia=this.D.get("targetYaw"),this.$b.yx=!0):this.$b.yx=!1;this.$b.position=this.D.get("position");b.ac(this.vi).visible=this.$b.xx&&this.$b.yx||this.$b.xx&&0>=this.$b.position||this.$b.yx&&1<=this.$b.position?!1:!0;m.update(this.na,this.$b);this.m.T.Va()};var h=new THREE.MeshBasicMaterial;e.prototype.dispose=function(){b.ac(this.vi).visible=!0;this.kd&&this.kd.traverse(function(c){c.material==this.na&&
2157(c.material=h)}.bind(this));this.IP&&(b.fEa(this.IP.parent,this.IP),this.IP=null);this.na&&(this.$b.Tn.dispose(),this.$b.Un.dispose(),this.$b.texture.dispose(),this.$b=null,this.na.dispose(),this.na=null);l.ba(this.D,f,this.Tv);this.m&&this.m.T.He(this.m);this.D=this.m=this.Ia=null};var f="sourceX sourceY sourceZ sourceYaw sourceFaces targetX targetY targetZ targetYaw targetFaces position".split(" ");return e});
2158define("cM","require kS pg gv fK cp".split(" "),function(a){function e(w,x,y){this.Ia=w;this.m=x;this.D=y;this.xD=this.xD.bind(this);this.df=this.df.bind(this);this.Vl=this.Vl.bind(this);this.Lc=null;this.U=!1;this.$T=this.bm=1;this.kh=this.Ia.T.Zc("DraggingSize2DContainer");this.kh.J(b.Group);this.kh.J(b.Aa);this.lg=[this.y$=this.Wp(),this.s$=this.Wp(),this.Qba=this.Wp(),this.wba=this.Wp()];this.lg.forEach(function(z){z.J(b.Aa);z=z.H(b.Ic);z.color="#ffffff";z.opacity=.5;z.depthTest=!1}.bind(this));
2159this.ts=this.S6();this.oh=[this.kh,this.ts].concat(this.lg);[this.ts].concat(this.lg).forEach(function(z){z.J(b.lb).N=this.kh}.bind(this));l.da(this.D,t,this.xD,!0);l.da(this.D,u,this.df,!0);l.da(this.D,v,this.Vl,!0)}var l=a("kS"),m=a("pg"),k=a("gv"),b=a("fK"),h=a("cp"),f=new THREE.Matrix4,c=new THREE.Vector3,d=new THREE.Vector3,g=new THREE.Quaternion,p=new THREE.Vector3,q=new THREE.Vector3,
2159n=new THREE.Euler,r=180/Math.PI;e.prototype.frame=function(){if(this.U){var w=h.ac(this.kh),x=w&&h.AR(w),y=
2160x&&h.Ww(x);if(y){if(this.Lc){var z=h.DR(x);x=h.UE(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.Lc,p).project(y);p.x=(p.x+1)*z*.5;p.y=(1-p.y)*x*.5;z=this.D.get("anchorX");x=this.D.get("anchorY");var C,A,B=q.x-p.x,E=p.y-q.y,G=-B,K=-E;this.s$===this.Lc&&(0<z||1>x)?B>E?C=B/z:A=E/(1-x):this.wba===this.Lc&&(1>z||1>x)?G>E?C=G/(1-z):A=E/(1-x):this.y$===this.Lc&&(0<z||0<x)?B>K?C=B/z:A=K/x:this.Qba===this.Lc&&(1>z||0<x)&&(G>K?C=G/(1-z):A=K/x);void 0!==
2161A&&void 0===C?C=A*this.ama:void 0!==C&&void 0===A&&(A=C/this.ama);void 0!==C&&void 0!==A&&(z=this.D.get("sizeAttenuation")?this.bm/this.$T:1,this.D.set("width",this.oa=C*z),this.D.set("height",this.wa=A*z))}C=this.kh.getComponent(b.Aa);f.copy(w.parent.matrixWorld).invert().multiply(y.matrixWorld).decompose(c,g,d);n.setFromQuaternion(g,C.Vf);n.x*=r;n.y*=r;n.z*=r;if(C.Ne!=n.x||C.qe!=n.y||C.Oe!=n.z)C=this.kh.H(b.Aa),C.Ne=n.x,C.qe=n.y,C.Oe=n.z;w.parent.getWorldScale(c);this.UUa(1/Math.max(c.x,c.y,c.z));
2162this.xP(h.dK(this.kh)||1)}}};e.prototype.nYa=function(w,x){null!=this.pda&&clearTimeout(this.pda);this.pda=setTimeout(function(){this.pda=null;if(this.oa!==w||this.wa!==x)this.oa=w,this.wa=x,this.ama=this.oa/this.wa}.bind(this),100)};e.prototype.Wp=function(){var w=this.Ia.T.Zc("DraggingSphere");w.J(b.Mesh).renderOrder=2;w.J(b.Geometry).geometry=new THREE.SphereGeometry;w.J(b.Ic);return w};e.prototype.S6=function(){var w=this.Ia.T.Zc("BoxBorder");w.J(b.Line);w.J(b.Geometry).geometry=this.gNa();var x=
2163w.J(b.gh);x.color="#0000ff";x.depthTest=!1;x.width=1;return w};e.prototype.gNa=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.df=function(){var w=this.ts.H(b.gh);w.color=this.D.get("draggableLineColor");w.opacity=this.D.get("draggableLineOpacity");
2164w.width=this.D.get("draggableLineWidth");this.lg.forEach(function(x){x.H(b.Ic).color=this.D.get("draggableSphereColor");x.H(b.Aa).scale=this.D.get("draggableSphereRadius")*this.bm}.bind(this))};e.prototype.xP=function(w){this.bm!=w&&(this.bm=w,this.xD(),this.df())};e.prototype.UUa=function(w){this.$T!=w&&(this.$T=w,this.xD(),this.df())};e.prototype.xD=function(){var w=this.D.get("anchorX"),x=this.D.get("anchorY"),y=this.D.get("width"),z=this.D.get("height"),C=this.D.get("sizeAttenuation")?this.$T:
2165this.bm,A=this.y$.H(b.Aa,!0);A.positionX=-w*y*C;A.positionY=x*z*C;A=this.Qba.H(b.Aa,!0);A.positionX=(1-w)*y*C;A.positionY=x*z*C;A=this.s$.H(b.Aa,!0);A.positionX=-w*y*C;A.positionY=(x-1)*z*C;A=this.wba.H(b.Aa,!0);A.positionX=(1-w)*y*C;A.positionY=(x-1)*z*C;A=this.ts.H(b.Aa,!0);A.positionX=(.5-w)*y*C;A.positionY=(x-.5)*z*C;A.If=y*C;A.Wf=z*C;this.nYa(y,z)};e.prototype.Vl=function(){var w=this.D.get("sizeDraggable");this.U!=w&&((this.U=w)?(this.kh.J(b.lb).N=this.m,this.lg.forEach(function(x){x=x.J(b.td);
2166x.mx=!0;x.Kw=!0;x.P=new k;x.P.bind(m.cd,this.ZH,this,!0);x.P.bind(m.Vb,this.caa,this,!0);x.P.bind(m.jb,this.aaa,this,!0);x.P.bind(m.Eb,this.baa,this,!0)}.bind(this))):(this.kh.la(b.lb),this.lg.forEach(function(x){x.la(b.td)}.bind(this))))};e.prototype.ZH=function(w){(w=this.Cl(w))&&w!=this.Lc&&(w.H(b.Ic).opacity=1)};e.prototype.caa=function(w){(w=this.Cl(w))&&w!=this.Lc&&(w.H(b.Ic).opacity=.5)};e.prototype.aaa=function(w){w=this.Cl(w);this.Yz(w)};e.prototype.baa=function(w){(w=this.Cl(w))&&w==this.Lc&&
2167(this.Yz(null),this.xD(),(w=-1!=this.lg.indexOf(w))&&this.D.trigger(m.vu),w&&this.D.trigger(m.Hka))};e.prototype.Cl=function(w){w=this.lg.map(function(x){return x.getComponent(b.td).P}).indexOf(w.source);if(-1==w)return null;w=this.lg[w];return this.jRa(w)?w:null};e.prototype.jRa=function(w){var x=this.D.get("anchorX"),y=this.D.get("anchorY");return this.s$===w&&(0<x||0<y)||this.wba===w&&(1>x||0<y)||this.y$===w&&(0<x||1>y)||this.Qba===w&&(1>x||1>y)?!0:!1};e.prototype.Yz=function(w){this.Lc&&(this.Lc.H(b.Ic).opacity=
2168.5,this.uH(this.Lc).la(b.tp));if(this.Lc=w){this.Lc.H(b.Ic).opacity=1;var x=this.uH(this.Lc).J(b.tp),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.bm);y=(new THREE.Vector3).copy(y).add(c.copy(w).setLength(z));x.direction=w;x.min=y}};e.prototype.uH=function(w){return-1!=this.lg.indexOf(w)?w:null};e.prototype.dispose=function(){l.ba(this.D,t,this.xD);l.ba(this.D,u,this.df);l.ba(this.D,v,this.Vl);var w=this.Ia.T;
2168this.oh.forEach(function(x){w.He(x)});
2169this.D=this.Ia=this.lg=this.m=this.oh=null};var u=["draggableLineColor","draggableLineOpacity","draggableLineWidth","draggableSphereColor","draggableSphereRadius"],t="anchorX anchorY height sizeAttenuation x y z width".split(" "),v=["sizeDraggable"];return e});
2170define("iq","require kS ik fK km cM cp".split(" "),function(a){function e(v,w,x,y,z){this.Ia=v;this.De=x;this.Ii=y;this.D=z;this.Bk=this.Bk.bind(this);this.tO=this.tO.bind(this);this.df=this.df.bind(this);this.JX=this.JX.bind(this);this.Rg=this.De.Bt(1);this.D.get("preload")&&this.Ii.xJ(this.Rg);this.m=this.Ia.T.Zc("SpriteContainer");this.m.J(k.Group);v=this.m.J(k.lb);v.N=this.Ia;v.id=this.D.get("parentId");this.kQ=this.Ia.T.Zc("TranslationSpriteContainer");this.kQ.J(k.Group);this.kQ.J(k.lb).N=this.m;
2171this.ft=this.Ia.T.Zc("Sprite");this.ft.J(k.lb).N=this.kQ;v=this.ft.J(k.Lm);v.properties=this.D;v.ega=this.D.get("image");v.P=this.D;v.hp=this.Rg;v.isSprite=!0;v.priority=this.D.get("preload")?m.HB:m.Vja;this.ft.J(k.Sprite).renderOrder=2;this.ft.J(k.td).P=this.D;this.ft.J(k.Mx);this.ft.J(k.tL).object=this.D;this.t$=!1;this.bm=1E-4;this.kz=this.m.T.Zc("TranslationLine");this.kz.J(k.Line).renderOrder=1;this.kz.J(k.gh);this.AC=new b(this.Ia,this.m,this.D);this.N7=new h(this.Ia,this.kQ,this.D);l.da(this.D,
2172n,this.Bk,!0);l.da(this.D,u,this.tO,!0);l.da(this.D,t,this.df,!0);l.da(this.D,r,this.JX,!0)}var l=a("kS"),m=a("ik"),k=a("fK"),b=a("km"),h=a("cM"),f=a("cp");e.prototype.frame=function(){this.AC.frame();this.N7.frame();this.xP(f.dK(this.m)||1E-4)};e.prototype.Bk=function(){this.m.J(k.lb).id!=this.D.get("parentId")&&(this.m.H(k.lb).id=this.D.get("parentId"));var v=this.m.H(k.Aa,!0);v.positionX=this.D.get("x");v.positionY=this.D.get("y");v.positionZ=this.D.get("z")};e.prototype.xP=function(v){this.bm!=
2173v&&(this.bm=v,this.D.set("worldPixelScale",f.QAa(this.m)),this.tO())};e.prototype.tO=function(){var v=this.kQ.H(k.Aa,!0),w=this.D.get("translationLength");g.set(this.D.get("translationX"),this.D.get("translationY"),this.D.get("translationZ"));void 0!==w&&g.setLength(w*this.bm);v.translationX=g.x;v.translationY=g.y;v.af=g.z;w=this.kz.H(k.Aa,!0);g.set(v.translationX,v.translationY,v.af);w.scale=g.length();c.setFromUnitVectors(p,g.normalize());d.setFromQuaternion(c,w.Vf);d.x*=q;d.y*=q;d.z*=q;w.Ne=d.x;
2174w.qe=d.y;w.Oe=d.z;this.oxa()};var c=new THREE.Quaternion,d=new THREE.Euler,g=new THREE.Vector3,p=new THREE.Vector3(0,0,1),q=180/Math.PI;e.prototype.df=function(){var v=this.ft.H(k.td,!0);v.hL=this.D.get("useHandCursor");v.iT=this.D.get("transparentAreaActive");v.Kw=this.D.get("clickEnabled");v.mx=this.D.get("rollOverEnabled");v=this.kz.H(k.gh);v.color=this.D.get("translationLineColor");v.depthTest=this.D.get("depthTest");v.opacity=this.D.get("hidden")?0:this.D.get("translationLineOpacity");v.width=
2175this.D.get("translationLineWidth");this.oxa()};e.prototype.JX=function(){var v=this.ft.H(k.Sprite,!0);v.yJ=this.D.get("anchorX");v.zJ=this.D.get("anchorY");v.width=this.D.get("width");v.height=this.D.get("height");v.scale=this.D.get("scale");v.sizeAttenuation=this.D.get("sizeAttenuation")};e.prototype.oxa=function(){var v=this.D.get("translationLineVisible")&&0<this.D.get("translationLineOpacity")&&(0!=this.D.get("translationX")||0!=this.D.get("translationY")||0!=this.D.get("translationZ"));this.t$!=
2176v&&((this.t$=v)?this.kz.J(k.lb).N=this.m:this.kz.la(k.lb))};e.prototype.dispose=function(){this.AC.dispose();this.AC=null;this.N7.dispose();this.N7=null;l.ba(this.D,n,this.Bk);l.ba(this.D,u,this.tO);l.ba(this.D,t,this.df);l.ba(this.D,r,this.JX);this.De.IK(this.Rg);this.Ii.IK(this.Rg);this.Rg=this.Ii=this.De=null;var v=this.Ia.T;this.Ia=null;v.He(this.ft);this.ft=null;v.He(this.kz);this.kz=null;v.He(this.m);this.D=this.m=null};var n=["parentId","x","y","z"],r="anchorX anchorY width height scale sizeAttenuation".split(" "),
2177u=["translationX","translationY","translationZ","translationLength"],t="clickEnabled depthTest hidden rollOverEnabled transparentAreaActive translationLineColor translationLineOpacity translationLineVisible translationLineWidth useHandCursor".split(" ");return e});define("gh",["require","nV","cv","mj","iq"],function(a){var e=a("nV"),l=a("cv");a("mj");var m=a("iq");return{create:function(k,b,h,f,c){return e.Ga("SpriteModel3DObject",c)?new m(k,b,h,f,c):e.Ga("BoxModel3DObject",c)?new l(k,b,c):null}}});
2178define("lj",["require","kS","pC","fK","gh"],function(a){function e(h,f,c,d){this.m=h;this.vi=f;this.De=c;this.Ii=d;this.ora=new m(this.Ii.Bt(.1));this.nra=new m(this.De.Bt(.1));this.yD=this.yD.bind(this);this.iA=h.T;this.o=this.m.getComponent(k.hh).properties;this.Ca=(h=this.m.getComponent(k.Object3D))&&h.ua;this.Pj=[];this.oX=new Map;l.da(this.o,["objects.enabled"],this.yD,!0)}var l=a("kS"),m=a("pC"),k=a("fK"),b=a("gh");e.prototype.update=function(){var h=this.m.getComponent(k.Object3D);h=h&&h.ua;
2179if(this.Ca!==h){var f=this.Ca;this.Ca=h;this.n_(!!f)}};e.prototype.frame=function(){this.oX.forEach(function(h){h&&h.frame&&h.frame()})};e.prototype.dispose=function(){this.Ca=null;l.ba(this.o,["objects.enabled"],this.yD);this.wva([])};e.prototype.yD=function(){this.n_()};e.prototype.n_=function(h){var f=this.o.get("objects").filter(function(c){return c.get("enabled")});this.wva(f,h);this.ora.update();this.nra.update()};
2179e.prototype.wva=function(h,f){if(this.Pj!=h||f)this.Pj.forEach(function(c){(f||
21800>h.indexOf(c))&&this.rUa(c)}.bind(this)),h.forEach(function(c){(f||0>this.Pj.indexOf(c))&&this.UJa(c)}.bind(this)),this.Pj=h};e.prototype.UJa=function(h){this.oX.set(h,b.create(this.m,this.vi,this.nra,this.ora,h))};e.prototype.rUa=function(h){var f=this.oX.get(h);f&&f.dispose();this.oX["delete"](h)};return e});
2181define("kz",["require","pg","fK"],function(a){function e(h,f){this.m=h;this.vi=f;this.dj=this.Ca=this.o=null;this.YX=new Map;this.em(this.m.getComponent(m.hh).properties);this.update()}var l=a("pg"),m=a("fK");e.prototype.frame=function(){this.update()};e.prototype.update=function(){var h=this.vi.getComponent(m.Object3D);h=h&&h.ua;this.Ca!=h&&(this.Ca=h,this.bC())};e.prototype.em=function(h){this.o&&k.forEach(function(f){this.o.unbind(l.F(f),this.bC,this,!1)}.bind(this));if(this.o=h)k.forEach(function(f){this.o.bind(l.F(f),
2182this.bC,this,!1)}.bind(this)),this.bC()};e.prototype.bC=function(){this.vva(this.o.get("model"));if(this.Ca){var h=this.o.get("bakedTextures");this.Ca.traverse(function(f){f.isMesh&&(h?this.mMa(f):this.Hua(f))}.bind(this));this.m.T.Va()}};e.prototype.mMa=function(h){!h.material||h.material.isMeshBasicMaterial||this.YX.get(h)||(this.YX.set(h,h.material),h.material=(new THREE.MeshBasicMaterial).copy(h.material))};e.prototype.Hua=function(h){var f=h.material,c=this.YX.get(h);f&&c&&(this.YX["delete"](h),
2183h.material=c)};e.prototype.vva=function(h){this.dj!=h&&(this.dj&&b.forEach(function(f){this.dj.unbind(l.F(f),this.X5,this,!1)}.bind(this)),this.dj=h)&&(b.forEach(function(f){this.dj.bind(l.F(f),this.X5,this,!1)}.bind(this)),this.X5())};e.prototype.X5=function(){var h=this.vi.H(m.Aa,!0);h.positionX=this.dj.get("positionX");h.positionY=this.dj.get("positionY");h.positionZ=this.dj.get("positionZ");h.Vf=this.dj.get("rotationOrder");h.Ne=this.dj.get("rotationX");h.qe=this.dj.get("rotationY");h.Oe=this.dj.get("rotationZ");
2184h.scale=this.dj.get("scale");h.translationX=this.dj.get("translationX");h.translationY=this.dj.get("translationY");h.af=this.dj.get("translationZ")};e.prototype.dispose=function(){this.Ca&&(this.Ca.traverse(function(h){h.isMesh&&this.Hua(h)}.bind(this)),this.Ca=null);this.vva(null);this.em(null)};var k=["bakedTextures","model"],b="positionX positionY positionZ rotationOrder rotationX rotationY rotationZ scale translationX translationY translationZ".split(" ");return e});
2185define("bS","require pg cC pC fK lt eI lj kz".split(" "),function(a){function e(g){this.m=g;this.m.J(b.Group);g=this.m.getComponent(b.hh);this.vi=g.bR;this.Ii=new k(g.RDa);this.De=new k(g.hp);this.Be=g.P;this.Nd=new f(this.m,this.vi,this.De,this.Ii);this.Pj=new c(this.m,this.vi,this.De,this.Ii);this.Se=new h(this.m);this.o=new d(this.m,this.vi)}var l=a("pg"),m=a("cC"),k=a("pC"),b=a("fK"),h=a("lt"),f=a("eI"),c=a("lj"),d=a("kz");e.prototype.update=function(){this.Nd.update();this.Pj.update();this.o.update();
2186this.Se.update()};e.prototype.frame=function(){this.Nd.frame();this.Pj.frame();this.o.frame();this.Se.frame();this.Be.trigger(new m(l.Km))};e.prototype.dispose=function(){this.Se&&(this.Se.dispose(),this.Se=null);this.Nd&&(this.Nd.dispose(),this.Nd=null);this.Pj&&(this.Pj.dispose(),this.Pj=null);this.o&&(this.o.dispose(),this.o=null);this.De&&(this.De.dispose(),this.De=null);this.Be=this.vi=null};e.$a=function(g){g.J(b.su).manager=new e(g)};e.Ba=function(g){var p=g.getComponent(b.su);p.manager.dispose();
2187p.manager=null;g.la(b.su)};e.update=function(g){g.getComponent(b.su).manager.update()};e.frame=function(g){g.getComponent(b.su).manager.frame()};return e});
2188define("lm",["require","lE","lO","fK","bS"],function(a){var e=a("lE"),l=a("lO"),m=a("fK"),k=a("bS");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Id=function(){this.lCa.A.length&&this.lCa.A.slice().forEach(k.$a);this.C1.Fa.length&&this.C1.Fa.slice().forEach(k.update);this.C1.A.length&&this.C1.A.slice().forEach(k.frame);this.mCa.A.length&&this.mCa.A.slice().forEach(k.Ba)};a.I={};a.I.lCa=[m.hh,m.su.not];a.I.C1=[m.hh,m.su];a.I.mCa=[m.hh.not,m.su];return a});
2189define("ck",["require","fK","cp"],function(a){function e(k){this.m=k;this.kd=null}var l=a("fK"),m=a("cp");e.prototype.frame=function(){if(!this.kd){var k=this.m.getComponent(l.iG),b=m.ac(k.container);if(this.kd=b&&k.id&&m.tA(b,k.id)||null)this.m.J(l.Object3D).ua=this.kd,this.m.T.Va()}};e.prototype.update=function(){this.kd&&(this.m.la(l.Object3D),this.kd=null)};e.prototype.dispose=function(){this.kd&&(this.m.la(l.Object3D),this.kd=null)};e.$a=function(k){k.J(l.tu).manager=new e(k)};e.Ba=function(k){var b=
2190k.getComponent(l.tu);b.manager.dispose();b.manager=null;k.la(l.tu)};e.frame=function(k){k.getComponent(l.tu).manager.frame()};
2190e.update=function(k){k.getComponent(l.tu).manager.update()};return e});
2191define("ho",["require","lE","lO","fK","ck"],function(a){var e=a("lE"),l=a("lO"),m=a("fK"),k=a("ck");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Id=function(){this.ACa.A.length&&this.ACa.A.slice().forEach(k.$a);this.J1.Fa.length&&this.J1.Fa.slice().forEach(k.update);this.J1.A.length&&this.J1.A.slice().forEach(k.frame);this.BCa.A.length&&this.BCa.A.slice().forEach(k.Ba)};a.I={};a.I.ACa=[m.iG,m.tu.not];a.I.J1=[m.iG,m.tu];a.I.BCa=[m.iG.not,m.tu];return a});
2192define("om",["require","fK","oc"],function(a){function e(k){this.m=k;this.MC=new THREE.PlaneGeometry;this.Nqa=this.m.J(l.Object3D).ua=new THREE.Mesh(this.MC);this.update()}var l=a("fK"),m=a("oc");e.prototype.update=function(){var k=this.m.getComponent(l.Material).material;k&&m.lA(this.Nqa,k);this.Nqa.renderOrder=this.m.getComponent(l.Plane).renderOrder};e.prototype.dispose=function(){this.MC.dispose();this.MC=null};e.$a=function(k){k.J(l.wu).manager=new e(k)};e.Ba=function(k){var b=k.getComponent(l.wu);
2193b.manager.dispose();b.manager=null;k.la(l.wu);k.la(l.Object3D)};e.update=function(k){k.getComponent(l.wu).manager.update()};return e});
2194define("hj",["require","lE","lO","fK","om"],function(a){var e=a("lE"),l=a("lO"),m=a("fK"),k=a("om");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Id=function(){this.oS.A.length&&this.oS.A.slice().forEach(k.$a);this.planes.Fa.length&&this.planes.Fa.slice().forEach(k.update);this.FDa.A.length&&this.FDa.A.slice().forEach(k.Ba);this.GDa.A.length&&this.GDa.A.slice().forEach(k.Ba)};a.I={};a.I.oS=[m.Material,m.Plane,m.wu.not];a.I.planes=[m.Plane,m.Material,m.wu];a.I.FDa=[m.Plane.not,m.wu];
2195a.I.GDa=[m.Material.not,m.wu];return a});
2196define("ib",["require","fK","cp"],function(a){var e=a("fK"),l=a("cp");return{$a:function(m){var k=m.getComponent(e.lb),b=l.ac(k.N);if(b){var h=m.J(e.bs);h.parent=b;k.id&&(b=b&&l.tA(b,k.id));h.id=k.id;h.Hd=l.ac(m);h.attach=k.attach;b&&h.Hd&&(h.attach?b.attach(h.Hd):b.add(h.Hd))}},update:function(m){var k=m.getComponent(e.lb),b=m.getComponent(e.bs),h=l.ac(k.N),f=l.ac(m);if(b.parent!=h||b.Hd!=f||k.id!=b.id||k.attach!=b.attach||f&&h&&!f.parent)b=m.H(e.bs),b.Hd&&b.Hd.parent&&(k.N.H(e.Object3D),b.Hd.parent.remove(b.Hd)),
2197b.parent=h,k.id&&(h=h&&l.tA(h,k.id)),b.id=k.id,b.Hd=f,b.attach=k.attach,h&&b.Hd&&(b.attach?h.attach(b.Hd):h.add(b.Hd),(k=m.getComponent(e.Aa))&&l.SS(m,k))},Ba:function(m){var k=m.getComponent(e.bs);k.Hd&&k.Hd.parent&&k.Hd.parent.remove(k.Hd);k.parent=null;k.Hd=null;k.id=void 0;m.la(e.bs)}}});
2198define("nb",["require","lE","lO","fK","ib"],function(a){var e=a("lE"),l=a("lO"),m=a("fK"),k=a("ib");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Id=function(){this.hS.A.length&&this.hS.A.slice().forEach(k.$a);this.tr.A.length&&this.tr.A.slice().forEach(k.update);this.tr.Fa.length&&this.tr.Fa.slice().forEach(k.update);this.tr.Qd.length&&this.tr.Qd.slice().forEach(k.update);this.$ya.A.length&&this.$ya.A.slice().forEach(k.Ba);this.aza.A.length&&this.aza.A.slice().forEach(k.Ba)};a.I=
2199{};a.I.hS=[m.Object3D,m.lb,m.bs.not];a.I.tr=[m.Object3D,m.lb,m.bs];a.I.$ya=[m.Object3D.not,m.lb,m.bs];a.I.aza=[m.lb.not,m.bs];return a});
2200define("dl",["require","lE","lO","fK","cp"],function(a){var e=a("lE"),l=a("lO"),m=a("fK"),k=a("cp");a=e.extend(l,function(){l.apply(this,arguments);this.we=this.we.bind(this);this.ad=this.ad.bind(this);this.ME=this.ME.bind(this)});a.prototype.Id=function(){this.BDa.A.length&&this.BDa.A.slice().forEach(this.we);this.ADa.A.length&&this.ADa.A.slice().forEach(this.ME);this.CDa.A.length&&this.CDa.A.slice().forEach(this.ad);this.DDa.A.length&&this.DDa.A.slice().forEach(this.ad)};a.prototype.we=function(f){f.J(m.LB)};
2201a.prototype.ad=function(f){f.la(m.LB)};var b=new THREE.Matrix4,h=new THREE.Vector3;a.prototype.ME=function(f){var c=f.getComponent(m.yj),d=f.getComponent(m.Aa);if(d){var g=f.getComponent(m.Object3D).ua;if(g&&g.parent){var p=f.getComponent(m.Nf),q=1E-7;p&&(q=k.dK(f)||q);b.copy(g.parent.matrixWorld).invert();h.setFromMatrixScale(b);g=Math.max(h.x,h.y,h.z);p&&p.Hw&&(q/=g,g=1);p=c.scale*g;void 0!==c.BA&&(p=Math.min(c.BA*q,p));void 0!==c.DA&&(p=Math.max(c.DA*q,p));if(d.scale!=p||d.If!=c.If||d.Wf!=c.Wf||
2202d.Bh!=c.Bh)d=f.H(m.Aa),d.scale=p,d.If=c.If,d.Wf=c.Wf,d.Bh=c.Bh}}};a.I={};a.I.BDa=[m.Object3D,m.yj,m.LB.not];a.I.ADa=[m.Object3D,m.yj,m.LB];a.I.CDa=[m.Object3D.not,m.LB];a.I.DDa=[m.yj.not,m.LB];return a});
2203define("dW",["require","pg","fK","cp"],function(a){function e(t){this.m=t;this.ZN=new THREE.Vector3;this.bb=new THREE.Vector3;this.E9=this.hd=this.bda=!1;this.uI=null;this.update()}var l=a("pg"),m=a("fK"),k=a("cp");e.prototype.update=function(){this.Baa=this.m.getComponent(m.pk).N};e.prototype.frame=function(){this.wxa();this.Fw()};e.prototype.wxa=function(){var t=(u.get(this.m.T)||[]).map(function(v){return v.getComponent(m.sd)}).filter(function(v){return v&&v.P}).reduce(function(v,w){return!v||
2204!v.bk&&w.bk?w:v},null);t=t&&t.P;this.uI!==t&&(this.uI&&this.vUa(this.uI),(this.uI=t)&&this.YJa(this.uI))};e.prototype.YJa=function(t){t.bind(l.bc,this.qf,this,!0);t.bind(l.Vb,this.tn,this,!0)};e.prototype.vUa=function(t){t.unbind(l.bc,this.qf,this);t.unbind(l.Vb,this.tn,this)};e.prototype.qf=function(t){if(this.Baa&&k.tA(k.ac(this.Baa),t.data.objectId)&&"mesh"==t.data.type){var v=this.hd;this.hd=!0;var w=k.ac(this.m);
2204if((w=w&&w.parent)&&w.matrixWorld){var x=this.m.getComponent(m.pk);x&&(h.setFromMatrixPosition(w.matrixWorld),
2205f.copy(w.matrixWorld).invert(),c.fromArray(t.data.objectMatrixWorld),b.setFromMatrixPosition(c),d.copy(c).invert(),x.rotate?t.data.normal?this.ZN.copy(t.data.normal).applyMatrix4(c).sub(b).add(h):this.ZN.copy(t.data.cameraPosition):this.ZN.copy(q),this.ZN.applyMatrix4(f).normalize(),this.bb.copy(t.data.position).applyMatrix4(f),this.bda=!0,this.m.T.Va(),v||(t=(x=this.m.getComponent(m.pk))&&x.P)&&t.trigger(l.cd))}}else this.tn()};var b=new THREE.Vector3,h=new THREE.Vector3,f=new THREE.Matrix4,c=new THREE.Matrix4,
2206d=new THREE.Matrix4;e.prototype.tn=function(){if(this.hd){this.hd=!1;this.m.T.Va();var t=this.m.getComponent(m.pk);(t=t&&t.P)&&t.trigger(l.Vb)}};e.prototype.Fw=function(){if(this.bda||this.hd){this.bda=!1;var t=this.m.H(m.Aa,!0);t.positionX=0;t.positionY=0;t.positionZ=0;g.setFromUnitVectors(p,this.ZN);n.setFromQuaternion(g,t.Vf);t.Ne=n.x*r;t.qe=n.y*r;t.Oe=n.z*r;t.translationX=this.bb.x;t.translationY=this.bb.y;t.af=this.bb.z;t.easing=this.E9?.4:0;this.E9||(k.SS(this.m,t),this.E9=!0)}};var g=new THREE.Quaternion,
2207p=new THREE.Vector3(0,0,1),q=new THREE.Vector3(0,1,0),n=new THREE.Euler,r=180/Math.PI;e.prototype.dispose=function(){this.Baa=null;this.wxa()};e.FF=function(t,v){u.set(t,v)};var u=new Map;e.$a=function(t){t.J(m.cs).manager=new e(t)};e.Ba=function(t){var v=t.getComponent(m.cs);v.manager.dispose();v.manager=null;t.la(m.cs)};e.frame=function(t){t.getComponent(m.cs).manager.frame()};e.update=function(t){t.getComponent(m.cs).manager.update()};return e});
2208define("iK",["require","lE","lO","fK","dW"],function(a){var e=a("lE"),l=a("lO"),m=a("fK"),k=a("dW");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Id=function(){k.FF(this.T,this.il.A.slice());this.JDa.A.length&&this.JDa.A.slice().forEach(k.$a);this.g2.Fa.length&&this.g2.A.slice().forEach(k.update);this.g2.A.length&&this.g2.A.slice().forEach(k.frame);this.KDa.A.length&&this.KDa.A.slice().forEach(k.Ba);this.LDa.A.length&&this.LDa.A.slice().forEach(k.Ba)};a.I={};a.I.il=[m.sd];a.I.JDa=
2209[m.Object3D,m.pk,m.cs.not];a.I.g2=[m.Object3D,m.pk,m.cs];a.I.KDa=[m.Object3D.not,m.cs];a.I.LDa=[m.pk.not,m.cs];return a});
2210define("mw","require lE lO fK Y cp".split(" "),function(a){var e=a("lE"),l=a("lO"),m=a("fK"),k=a("Y"),b=a("cp");a=e.extend(l,function(){l.apply(this,arguments);this.we=this.we.bind(this);this.ad=this.ad.bind(this);this.Pe=this.Pe.bind(this)});a.prototype.Id=function(){this.ZDa.A.length&&this.ZDa.A.slice().forEach(this.ad);this.$Da.A.length&&this.$Da.A.slice().forEach(this.ad);this.YDa.A.length&&this.YDa.A.slice().forEach(this.we);this.XDa.Fa.length&&this.XDa.Fa.slice().forEach(this.Pe)};a.prototype.we=
2211function(f){var c=f.getComponent(m.ds),d=(c=c&&c.ZK)&&b.ac(c),g=b.hi(c);if(d&&g){var p=f.J(m.zu);p.ZK=c;p.vK=new k.Im;p.material=this.dv(p.vK);p.ua=this.aMa(d,p.material);p.YK=this.eNa(p.material);p.encoding=b.CR(g);this.ZJa(c,p.YK);f.J(m.Object3D).ua=p.ua;this.Pe(f)}};a.prototype.dv=function(f){f=k.create(f);f.polygonOffset=!0;f.polygonOffsetUnits=1;f.polygonOffsetFactor=-10;f.needsUpdate=!0;return f};a.prototype.aMa=function(f,c){var d=new Map;f.traverse(function(r){if(r.material&&r.userData){var u=
2212{};r.material&&(u.material=r.material,r.material=c);r.userData&&(u.userData=r.userData,r.userData={});d.set(r,u)}}.bind(this));var g=f.clone();d.forEach(function(r,u){r.material&&(u.material=r.material);r.userData&&(u.userData=r.userData)});for(f=[[f,g]];f.length;){var p=f.shift(),q=p[0];p=p[1];q.ke&&(p.ke=q.ke);for(var n=0;n<q.children.length;n++)f.push([q.children[n],p.children[n]])}return g};a.prototype.eNa=function(f){return new THREE.Mesh(new THREE.BoxGeometry(2,2,2),f)};a.prototype.ZJa=function(f,
2213c){f=b.hi(f);b.mya(f&&b.Ww(f),c)};a.prototype.Pe=function(f){var c=f.getComponent(m.ds);f=f.getComponent(m.zu);var d=f.vK;c.L2?(d.Tn!=c.L2&&(d.Tn=c.L2),d.aT=c.aT,d.bT=c.bT,d.cT=c.cT,d.Cia=c.v7a,d.xx=!0):d.xx=!1;c.V2?(d.Un!=c.V2&&(d.Un=c.V2),d.targetX=c.targetX,d.targetY=c.targetY,d.gT=c.gT,d.Iia=c.P7a,d.yx=!0):d.yx=!1;d.position=c.position;b.ac(c.ZK).visible=d.xx&&d.yx||d.xx&&0>=d.position||d.yx&&1<=d.position?!1:!0;k.update(f.material,d)};var h=new THREE.MeshBasicMaterial;a.prototype.ad=function(f){var c=
2214f.getComponent(m.zu),d=b.ac(c.ZK);d&&(d.visible=!0);c.ua&&c.ua.traverse(function(g){g.material==c.material&&(g.material=h)});c.YK&&(b.fEa(c.YK.parent,c.YK),c.YK=null);c.material&&(c.vK.Tn=null,c.vK.Un=null,c.vK=null,c.material.dispose(),c.material=null);f.la(m.zu);f.la(m.Object3D)};a.I={};a.I.YDa=[m.ds,m.zu.not];a.I.XDa=[m.ds,m.Object3D,m.zu];a.I.ZDa=[m.ds.not,m.zu];a.I.$Da=[m.Object3D.not,m.zu];return a});
2215define("eT",["require","fK","oI","bG"],function(a){function e(b){this.m=b;this.enabled=!1;this.Ym=null;this.pv=0;this.passes=[];this.fl=this.hl=!1;this.bf=null;this.wa=this.oa=100}var l=a("fK"),m=a("oI"),k=a("bG");e.prototype.dispose=function(){this.bf&&(this.bf.saoRenderTarget.dispose(),this.bf.blurIntermediateRenderTarget.dispose(),this.bf.beautyRenderTarget.dispose(),this.bf.normalRenderTarget.dispose(),this.bf.depthRenderTarget.dispose(),this.bf.depthMaterial.dispose(),this.bf.normalMaterial.dispose(),
2216this.bf.saoMaterial.dispose(),this.bf.vBlurMaterial.dispose(),this.bf.hBlurMaterial.dispose(),this.bf.materialCopy.dispose(),this.bf.depthCopy.dispose(),this.bf=null)};e.prototype.update=function(b,h,f,c,d){var g=this.m.getComponent(l.SF),p=!!g;if(this.hl=this.enabled!=p)(this.enabled=p)?(!this.bf&&b&&h&&(this.bf=new THREE.SAOPass(b,h,!1,!0)),this.Ym=new m("linear",[new k("alph
2216a",0,1,void 0)],g.Aza),this.pv=0,this.passes=[this.bf],this.fl=!0):(this.passes=[],this.fl=!1);this.enabled&&(this.Ym&&(this.Ym.Cb(d),
2217this.pv=this.Ym.fb("alpha"),1==this.pv&&(this.Ym=null),this.m.T.Va()),null!==g.output&&(this.bf.params.output=g.output),this.bf.params.saoBias=g.bias/g.scale,this.bf.params.saoIntensity=this.pv*g.intensity,this.bf.params.saoScale=g.scale,this.bf.params.saoKernelRadius=g.LBa,this.bf.params.saoMinResolution=g.jCa/1E3,this.bf.params.saoBlur=0<g.Oea,this.bf.params.saoBlurRadius=g.Oea,this.bf.params.saoBlurStdDev=8,this.bf.params.saoBlurDepthCutoff=.01,(this.oa!=f||this.wa!=c)&&this.bf.setSize(this.oa=
2218f,this.wa=c))};return e});
2219define("r",["require","fK"],function(a){function e(m){this.m=m;this.enabled=!1;this.passes=[];this.fl=this.hl=!1;this.ns=null}var l=a("fK");e.prototype.dispose=function(){this.ns&&(this.ns.material.dispose(),this.ns=null)};e.prototype.update=function(m,k,b,h){m=this.m.getComponent(l.mB);m=!!m&&m.aAa;if(this.hl=this.enabled!=m)(this.enabled=m)?(this.ns||(this.ns=new THREE.ShaderPass(THREE.FXAAShader),this.ns.needsSwap=!0),this.passes=[this.ns],this.fl=!0):(this.passes=[],this.fl=!1);!this.enabled||
2220this.oa==b&&this.wa==h||(this.oa=b,this.wa=h,this.ns.material.uniforms.resolution.value.x=1/this.oa,this.ns.material.uniforms.resolution.value.y=1/this.wa,this.ns.setSize(b,h))};return e});
2221define("gj",["require","fK"],function(a){function e(m){this.m=m;this.enabled=!1;this.Iha=void 0;this.Ym=null;this.pv=0;this.passes=[];this.fl=this.hl=!1;this.Xh=null;this.hba=new THREE.Matrix4;this.jba=new THREE.Matrix4;this.gba=new THREE.Vector3}var l=a("fK");e.prototype.dispose=function(){this.Xh&&(this.Xh.dispose(),this.Xh=null)};e.prototype.update=function(m,k){var b=this.m.getComponent(l.yL),h=!!b,f=b?b.uEa:void 0;if(this.hl=this.enabled!=h||this.Iha!=f)(this.enabled=h)?(this.Iha!=f&&this.Xh&&
2222(this.Xh.dispose(),this.Xh=null),!this.Xh&&m&&k&&(this.Xh=new THREE.MotionBlurPass(this.Iha=f),this.Xh.needsSwap=!0,this.hba.copy(k.matrixWorldInverse),this.jba.copy(k.projectionMatrix),this.gba.copy(k.position)),this.passes=[this.Xh],this.fl=!0):(this.passes=[],this.fl=!1);this.enabled&&(this.Xh.uniforms.inverseProjectionMatrix.value.copy(k.projectionMatrix).invert(),this.Xh.uniforms.near.value=k.near,this.Xh.uniforms.far.value=k.far,this.Xh.uniforms.depthLimit.value=.99,this.Xh.uniforms.clipToWorldMatrix.value.copy(k.matrixWorld).multiply(this.Xh.uniforms.inverseProjectionMatrix.value),
2223this.Xh.uniforms.previousWorldToClipMatrix.value.copy(this.jba).multiply(this.hba),this.Xh.uniforms.cameraMove.value.copy(k.position).sub(this.gba),this.Xh.uniforms.velocityFactor.value=b.intensity);this.hba.copy(k.matrixWorldInverse);this.jba.copy(k.projectionMatrix);this.gba.copy(k.position)};return e});
2224define("eN",["require","nX","fK"],function(a){function e(m){this.m=m;this.enabled=!0;this.passes=[];this.Sga=this.fl=this.hl=!1;this.EZ=void 0;this.Ph=this.Mq=this.Rk=null}a("nX");var l=a("fK");e.prototype.dispose=function(){this.Rk&&(this.Rk.dispose(),this.Rk=null);this.Mq&&(this.Mq=null);this.Ph&&(this.Ph.material.dispose(),this.Ph=null)};e.prototype.update=function(m,k,b,h,f,c){f=this.m.getComponent(l.mB);c=!!f&&f.UFa&&c;if(this.hl=this.EZ!==c)(this.EZ=c)?(this.Rk||(this.Rk=new THREE.SSAARenderPass(m,
2225k),this.Rk.sampleLevel=f.dT,this.Rk.needsSwap=!0,this.Rk.clear=!0,this.Rk.clearColor=65793,this.Rk.clearAlpha=0),this.Ph||(this.Ph=new THREE.ShaderPass(THREE.CopyShader),this.Ph.needsSwap=!0),this.passes=[this.Rk,this.Ph],this.Sga=this.fl=!0):(this.Mq||(this.Mq=new THREE.RenderPass,this.Mq.clear=!0,this.Mq.clearColor=65793,this.Mq.clearAlpha=0),this.passes=[this.Mq],this.Sga=this.fl=!1);this.EZ?(this.Rk.scene=m,this.Rk.camera=k,this.Rk.sampleLevel=f.dT,this.Ph.uniforms.opacity.value=Math.pow(2,Math.round(5<
2226f.dT?5:f.dT)),this.Rk.setSize(b,h)):(this.Mq.scene=m,this.Mq.camera=k,this.Mq.setSize(b,h))};return e});
2227define("nP",["require","nX","fK"],function(a){function e(b){this.m=b;this.enabled=!1;this.passes=[];this.fl=this.hl=!1;this.br=null;this.Nc=void 0}var l=a("nX"),m=a("fK");e.prototype.dispose=function(){this.br&&(this.br.material.dispose(),this.br=null)};e.prototype.update=function(){var b=this.m.getComponent(m.pG),h=!!b;if(this.hl=this.enabled!=h)(this.enabled=h)?(this.br||(this.br=new THREE.ShaderPass(k),this.br.needsSwap=!0),this.passes=[this.br],this.fl=!0):(this.passes=[],this.fl=!1);this.enabled&&
2228(this.br.uniforms.innerRadius.value=b.sBa,this.br.uniforms.outerRadius.value=b.uDa,this.br.uniforms.opacity.value=b.opacity,this.Nc!==b.color&&(this.Nc=b.color,this.br.uniforms.color.value=new THREE.Color(l.bB(this.Nc))))};var k={uniforms:{tDiffuse:{value:null},innerRadius:{value:.5},outerRadius:{value:.5},opacity:{value:.5},color:{value:new THREE.Color(0)}},vertexShader:"varying vec2 vUv;\nvoid main() {\n    vUv = uv;\n    gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}",
2229fragmentShader:"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 > 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}"};
2230return e});
2231define("ha","require eT r gj eN nP cp".split(" "),function(a){function e(c){this.qd=c;this.Ta=this.Fb=this.Pf=null;this.wa=this.oa=void 0;this.Ph=this.Cs=this.j=this.DI=null;this.vV=[new b(c),new l(c),new k(c),new h(c),new m(c)];this.nX=!1}var l=a("eT"),m=a("r"),k=a("gj"),b=a("eN"),h=a("nP"),f=a("cp");e.prototype.dispose=function(){this.j&&(this.j.domElement.style.backgroundColor=void 0);for(;this.vV.length;)this.vV.pop().dispose();this.Nna();this.Cs&&(this.Cs.material.dispose(),this.Cs=null);this.Ph&&
2232(this.Ph.material.dispose(),this.Ph=null)};e.prototype.setSize=function(c,d){if(this.oa!=c||this.wa!=d)this.oa=c,this.wa=d,this.Pf&&this.Pf.setSize(this.oa,this.wa),this.j&&!this.j.xr.isPresenting&&this.j.setSize(this.oa,this.wa)};e.prototype.bu=function(c){this.Ta=c};e.prototype.setCamera=function(c){this.Fb=c};e.prototype.setRenderTarget=function(c){this.DI!=c&&(this.DI=c,this.Pf&&(this.Pf.reset(c||void 0),this.Pf.renderToScreen=!c))};e.prototype.F2=function(c){this.j!=c&&(this.j=c,this.j.setSize(this.oa,
2233this.wa),this.Nna())};e.prototype.render=function(c){this.uWa();this.CYa(c);this.j.domElement.style.backgroundColor=this.nX?"#000000":void 0;this.Pf.render()};e.prototype.uWa=function(){this.Pf||(this.Pf=new THREE.EffectComposer(this.j,this.DI||void 0),this.Pf.renderToScreen=!this.DI,this.Pf.setSize(this.oa,this.wa))};e.prototype.CYa=function(c){var d=!1,g=!1;this.nX=!1;
2233this.vV.forEach(function(q){q.update(this.Ta,this.Fb,this.oa,this.wa,c,this.Pf.renderToScreen);d||(d=q.hl);g||(g=q.fl);this.nX||
2234(this.nX=q.Sga)}.bind(this));g=g&&this.j.outputEncoding==THREE.sRGBEncoding&&this.Pf.renderToScreen;f.K6a(this.Ta,g);g&&!this.Cs?(this.Cs=new THREE.ShaderPass(THREE.GammaCorrectionShader),d=this.Cs.needsSwap=!0):this.Cs&&(this.Cs.enabled=g);this.Pf.renderToScreen||this.Ph?this.Ph&&(this.Ph.enabled=!this.Pf.renderToScreen):(this.Ph=new THREE.ShaderPass(THREE.CopyShader),d=this.Ph.needsSwap=!0);if(d){var p=[];this.vV.forEach(function(q){p=p.concat(q.passes)});this.Cs&&p.push(this.Cs);for(this.Ph&&p.push(this.Ph);0<
2235this.Pf.passes.length;)this.Pf.removePass(this.Pf.passes[this.Pf.passes.length-1]);p.forEach(function(q){this.Pf.addPass(q)}.bind(this))}};e.prototype.Nna=function(){this.Pf&&(this.Pf.renderTarget1!=this.DI&&this.Pf.renderTarget1.dispose(),this.Pf.renderTarget2!=this.DI&&this.Pf.renderTarget2.dispose(),this.Pf=null)};return e});
2236define("dj","require pg v oB fK cp gp ha".split(" "),function(a){function e(c){this.ki=c;this.opacity=0;this.height=this.width=void 0;this.renderTarget=null;this.scene=void 0;this.Tua=!1;this.Sua=!0;this.Kha=this.camera=void 0;this.RD=!1;this.ZX=void 0;this.wc=new f(c);this.update()}var l=a("pg");a("v");var m=a("oB"),k=a("fK"),b=a("cp"),h=a("gp"),f=a("ha");e.prototype.update=function(){var c=this.ki.getComponent(k.Scene);this.opacity=c&&c.opacity||0;this.Tua=c?c.locked:!1;this.Sua=c?c.enabled:!0;
2237var d=c&&c.scene;this.scene!=d&&(this.scene=d,this.RD=!0,this.wc.bu(this.scene));var g=(d=c&&c.ib)&&b.sR(d),p=g&&g.width;g=g&&g.height;if(this.width!=p||this.height!=g)this.width=p,this.height=g,this.RD=!0,this.wc.setSize(this.width,this.height);c=c&&"srgb"==c.outputEncoding?THREE.sRGBEncoding:THREE.LinearEncoding;this.ZX!=c&&(this.ZX=c,this.RD=!0,b.J6a(this.scene,c));c=d&&b.Gt(d);this.camera!=c&&(this.camera=c,this.RD=!0,this.wc.setCamera(this.camera));d=d&&b.sR(d).camera;this.Kha!=d&&(this.Kha=
2238d);this.scene&&(b.I6a(this.scene,this.camera),b.L6a(this.scene,m.isPresenting?2048:this.width,m.isPresenting?2048:this.height));return this};e.prototype.render=function(c,d,g){(d||this.RD||!this.Tua)&&this.Sua&&(d?(c.xr.isPresenting||c.setRenderTarget(null),this.RD=!0):(this.renderTarget||(this.renderTarget=h.bfa(c)),c.setRenderTarget(this.renderTarget),this.renderTarget.texture.encoding=this.ZX,this.RD=!1),c.outputEncoding=this.ZX,c.xr.isPresenting?c.render(this.scene,this.Kha):(this.wc.setRenderTarget(d?
2239null:this.renderTarget),this.wc.F2(c),this.wc.render(g)),(c=this.ki.getComponent(k.Scene))&&c.P&&c.P.trigger(l.Km))};e.prototype.isVisible=function(){return this.scene&&this.camera&&0<this.opacity};e.prototype.dispose=function(){this.camera=this.scene=this.ki=null;this.wc&&(this.wc.dispose(),this.wc=null);this.renderTarget&&(this.renderTarget.dispose(),this.renderTarget=null)};return e});
2240define("fS",["require","pg","oB","fK","dj"],function(a){function e(h){this.m=h;this.lw=[];this.ic=null;this.qWa();this.oWa()}var l=a("pg"),m=a("oB"),k=a("fK"),b=a("dj");e.prototype.frame=function(h){var f=!!this.j&&m.Zg==this.j;if(!m.isPresenting||f){var c=this.m.getComponent(k.pi).GS.map(function(p){for(var q=0;q<this.lw.length;q++)if(this.lw[q].ki==p)return this.lw[q].update();return new b(p)}.bind(this));this.lw.filter(function(p){return 0>c.indexOf(p)}).forEach(function(p){p.dispose()});this.lw=
2241c;var d=this.lw.filter(function(p){return p.isVisible()});if(0<d.length){f&&d.reduce(function(p,q){return p.opacity>q.opacity?p:q});var g=1==d.length&&1<=d[0].opacity||f;d.forEach(function(p){p.render(this.j,g,h)}.bind(this));g||this.AUa(d.slice(0,2))}f&&this.m.T.Va()}};e.prototype.AUa=function(h){this.Um.material.uniforms.t1.value=h[0].renderTarget.texture;this.Um.material.uniforms.o1.value=h[0].opacity;1<h.length?(this.Um.material.uniforms.useT2.value=1,this.Um.material.uniforms.t2.value=h[1].renderTarget.texture,
2242this.Um.material.uniforms.o2.value=h[1].opacity):this.Um.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.ZL,this.i6)};e.prototype.dispose=function(){for(;this.lw.length;)this.lw.shift().dispose();this.lw=null;this.oXa();this.qXa()};e.prototype.qWa=function(){var h=this.m.H(k.pi);this.ic=h.xc.ic;this.ic.M_();h.renderer=this.ic.xA();this.j=h.renderer;m.P.bind(l.ca,this.fya,this,!0)};e.prototype.qXa=
2243function(){m.P.unbind(l.ca,this.fya,this);this.j=null;this.ic.p2();this.ic=null};e.prototype.fya=function(){this.m.T.Va()};e.prototype.oWa=function(){this.ZL=new THREE.Scene;
2243this.i6=new THREE.OrthographicCamera(window.innerWidth/-2,window.innerWidth/2,window.innerHeight/2,window.innerHeight/-2,-10,10);this.ZL.add(this.i6);this.Um=new THREE.Mesh(new THREE.PlaneGeometry(window.innerWidth,window.innerHeight),this.rMa());this.ZL.add(this.Um)};e.prototype.oXa=function(){this.ZL.remove(this.Um);this.Um.geometry.dispose();
2244this.Um.geometry=null;this.Um.material.dispose();this.ZL=this.i6=this.Um=this.Um.material=null};e.prototype.rMa=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 <encodings_fragment>\n#include <tonemapping_fragment>\n}"});
2245h.transparent=!0;return h};e.$a=function(h){h.J(k.fs).manager=new e(h)};e.Ba=function(h){var f=h.getComponent(k.fs);f.manager.dispose();f.manager=null;h.la(k.fs)};e.update=function(h){h.getComponent(k.fs).manager.update()};e.frame=function(h,f,c){h.getComponent(k.fs).manager.frame(f,c)};return e});
2246define("lK",["require","lE","lO","fK","fS"],function(a){var e=a("lE"),l=a("lO"),m=a("fK"),k=a("fS");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Id=function(b,h){this.lEa.A.length&&this.lEa.A.slice().forEach(k.$a);this.Am.A.length&&this.Am.A.slice().forEach(function(f){k.frame(f,b,h)});this.mEa.A.length&&this.mEa.A.slice().forEach(k.Ba)};a.I={};a.I.lEa=[m.pi,m.fs.not];a.I.mEa=[m.pi.not,m.fs];a.I.Am=[m.pi,m.fs];return a});
2247define("ki","require lE pg gv dB cp ik lB".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("gv"),k=a("dB"),b=a("cp"),h=a("ik"),f=a("lB");a=e.extend(m,function(d,g){m.call(this);this.Pd=d;this.Ta=g;this.ya=new k;this.ya.VK([this.Pd]);this.ya.bind(l.Z,this.vd,this,!1);this.ya.bind(l.yc,this.Sf,this,!1);this.Pc=null;this.Rb=0;f.Mn(this.ya,h.HB)});a.prototype.tj=function(d){this.Rb!==d&&(this.Rb=d,this.Pc&&(this.Pc.material.opacity=this.Rb,this.Pc.material.visible=0<this.Rb,this.Pc.material.needsUpdate=
2248!0))};a.prototype.ii=function(){return!!this.Pc};a.prototype.vd=function(){this.fNa();this.trigger(l.Z)};a.prototype.Sf=function(){this.trigger(l.yc)};a.prototype.fNa=function(){var d=new THREE.Texture;d.image=f.vf(this.Pd);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<this.Rb;d.opacity=this.Rb;this.Pc=new THREE.Sprite(d);this.Pc.renderOrder=-1E3};a.prototype.update=function(){if(this.Pc){var d=
2249b.Ww(this.Ta);this.Pc.parent!=d&&(this.Pc.parent&&b.eEa(this.Pc.parent,this.Pc),d&&b.SZa(d,this.Pc));if(d){var g=b.UE(this.Ta),p=this.Pc.material.map.image.width,q=this.Pc.material.map.image.height;d=g/(2*Math.tan(d.fov*c/2));g=Math.max(g/d,b.DR(this.Ta)/(d*p/q));this.Pc.scale.y!=g&&(this.Pc.scale.y=g,this.Pc.scale.x=g*p/q)}p=b.CR(this.Ta);this.Pc.material.map.encoding!=p&&(this.Pc.material.map.encoding=p,this.Pc.material.needsUpdate=!0)}};a.prototype.dispose=function(){this.Pc&&(this.Pc.parent&&
2250b.eEa(this.Pc.parent,this.Pc),this.Pc.material.map.dispose(),this.Pc.material.dispose(),this.Pc=null);this.ya&&f.uj(this.ya,h.HB)};var c=Math.PI/180;return a});
2251define("bJ","require pg fK ki oI bG".split(" "),function(a){function e(f,c){this.m=f;this.Rg=c;this.Su=void 0;this.zi=this.Sm=this.aa=this.Ta=null;this.update()}var l=a("pg"),m=a("fK"),k=a("ki"),b=a("oI"),h=a("bG");e.prototype.frame=function(f){this.aa&&this.mE(f);this.Sm&&this.Sm.update();this.zi&&this.zi.update()};e.prototype.update=function(){var f=this.m.getComponent(m.Scene);this.Ta=f.scene;if(!this.Ta){if(!f.scene)return;this.Ta=f.scene}f=f.Iea||null;this.Su===f||this.aa||(this.CM(this.zi),
2252this.zi=null,(this.Su=f)?this.zi=this.qMa(this.Su):(this.sM(),this.Rg.trigger(l.Z)))};e.prototype.mE=function(f){this.aa.Cb(f);this.Sm&&this.Sm.tj(Math.min(1,Math.max(0,this.aa.fb("alpha"))));this.zi&&this.zi.tj(Math.min(1,Math.max(0,this.aa.fb("nextAlpha"))));this.aa.Ze()&&(this.aa=null,this.Sm&&(this.CM(this.Sm),this.Sm=null),this.Sm=this.zi,this.zi=null,this.update());this.m.T.Va()};e.prototype.saa=function(){this.zi.unbind(l.Z,this.saa,this,!0);this.zi.unbind(l.yc,this.taa,this,!0);this.sM();
2253this.Rg.trigger(l.Z)};e.prototype.taa=function(){this.CM(this.zi);this.zi=null;this.sM();this.Rg.trigger(l.Z)};e.prototype.sM=function(){this.zi&&this.Sm?this.aa=new b("linear",[new h("nextAlpha",0,2,void 0),new h("alpha",2,0,void 0)],600):this.zi?this.aa=new b("linear",[new h("nextAlpha",0,1,void 0)],300):this.Sm&&(this.aa=new b("linear",[new h("alpha",1,0,void 0)],300));this.m.T.Va()};e.prototype.qMa=function(f){f=new k(f,this.Ta);this.PKa(f);f.tj(0);return f};e.prototype.CM=function(f){f&&(this.bYa(f),
2254f.dispose())};e.prototype.PKa=function(f){f.bind(l.Z,this.saa,this,!0);f.bind(l.yc,this.taa,this,!0)};e.prototype.bYa=function(f){f.unbind(l.Z,this.saa,this,!0);f.unbind(l.yc,this.taa,this,!0)};e.prototype.dispose=function(){this.Sm&&(this.CM(this.Sm),this.Sm=null);this.zi&&(this.CM(this.zi),this.zi=null)};return e});
2255define("lN","require pg ik nX pC fK cp gY".split(" "),function(a){function e(d,g){this.m=d;this.bZ=this.LI=this.KI=this.qy=this.cC=this.Su=this.EC=void 0;this.Fb=this.j=this.Ta=null;this.Rg=g;this.De=new b(this.Rg);this.ud=[new c(m.HB),new c(m.HB)];this.ud.forEach(function(p){p.bind(l.Z,this.vd,this,!0);p.bind(l.yc,this.Sf,this,!0)}.bind(this));this.Iva([]);this.update()}var l=a("pg"),m=a("ik"),k=a("nX"),b=a("pC"),h=a("fK"),f=a("cp"),c=a("gY");e.prototype.frame=function(){!this.j&&this.Ta&&(this.j=
2256e.O1a(this.m.T,this.Ta))&&(this.ha(),this.Dda())};e.prototype.update=function(){var d=this.m.getComponent(h.Scene),g=!1,p=!1,q=d.Hza||null;this.EC!==q&&(this.EC=q,p=!0);q=d.Iea||null;this.Su!==q&&(this.Su=q,p=!0);q=d.Gya||null;this.cC!==q&&(this.cC=q,p=!0);p&&(this.Kxa(),this.Dda(),g=!0);this.qy!==d.backgroundColor&&(this.qy=d.backgroundColor,g=!0);this.Ta!==d.scene&&(this.Ta=d.scene,g=!0);g&&this.ha()};e.prototype.Kxa=function(){this.Iva(this.iQa())};e.prototype.iQa=function(){var d=[];this.EC&&
2257-1==d.indexOf(this.EC)&&d.push(this.EC);!this.Su&&this.cC&&-1==d.indexOf(this.cC)&&d.push(this.cC);if(this.Ta&&this.Ta.background&&this.Ta.background.image&&this.Ta.background.image.src){var g=this.Ta.background.image.src;-1==d.indexOf(g)&&d.push(g)}return d};e.prototype.Iva=function(d){var g=[],p=[];this.ud.forEach(function(q){var n=q.Oi();0>d.indexOf(n)?(q.cancel(),g.push(q)):p.push(n)});d.forEach(function(q){0>p.indexOf(q)&&g.shift().load(q)})};e.prototype.Dda=function(){var d=0;this.De.cza();
2258this.ud.forEach(function(g){g.Oi()&&!g.ii()&&(this.De.xJ(g),d++)}.bind(this));0==d&&this.Rg&&this.Rg.trigger(l.Z)};e.prototype.dispose=function(){this.ud.forEach(function(d){d.cancel();d.unbind(l.Z,this.vd,this,!0);d.unbind(l.yc,this.Sf,this,!0)}.bind(this));this.m&&(this.y7(),this.Ny(),this.m=null)};e.prototype.vd=function(){this.ha();this.Dda()};
2258e.prototype.ha=function(){if(this.Ta&&this.j){if(this.EC){var d=this.ppa(this.EC);d&&this.qKa(d)}else this.y7();this.Su?this.Ny():this.cC?(d=this.ppa(this.cC))&&
2259this.cma(d):this.qy?this.cma(void 0,this.qy):this.Ny();this.Kxa();this.m.T.Va()}};e.prototype.ppa=function(d){for(var g=0;g<this.ud.length;g++)if(this.ud[g].ii()&&this.ud[g].Oi()==d)return this.ud[g];return null};e.prototype.Xp=function(d,g){return 6>Math.round(d.je()/d.Ye())?this.FMa(d,g):this.AMa(d,g)};e.prototype.FMa=function(d,g){var p=new THREE.Texture;p.image=d.vf();p.encoding=f.CR(this.Ta);p.mapping=THREE.EquirectangularReflectionMapping;p.needsUpdate=!0;return g?(d=new THREE.PMREMGenerator(this.j),
2260p=d.fromEquirectangular(p).texture,d.dispose(),p):p};e.prototype.cma=function(d,g){if(this.Ta){if(d){var p=d&&d.Oi()||void 0;if(p==this.LI)return;this.Ny();f.G2(this.Ta,this.Xp(d,!1));this.LI=p;this.KI=void 0}g&&g!=this.KI&&(this.Ny(),f.G2(this.Ta,"transparent"==g?null:new THREE.Color(k.bB(g))),this.KI=g,this.LI=void 0)}};e.prototype.Ny=function(){this.Ta&&(this.KI||this.LI)&&(this.LI&&(this.Ta.background.dispose(),f.G2(this.Ta,null),this.LI=void 0),this.KI&&(f.G2(this.Ta,null),this.KI=void 0))};
2261e.prototype.qKa=function(d){if(this.Ta){var g=d&&d.Oi()||void 0;g!=this.bZ&&(this.y7(),this.Ta.environment=this.Xp(d,!0),this.bZ=g)}};e.prototype.y7=function(){this.Ta&&this.bZ&&(this.Ta.environment.dispose(),this.Ta.environment=null,this.bZ=void 0)};e.prototype.AMa=function(d,g){for(var p=Array(6),q=d.je()/6,n=d.Ye(),r=0;6>r;r++){var u=document.createElement("canvas");u.width=q;u.height=n;u.getContext("2d").drawImage(d.vf(),r*q,0,q,n,0,0,q,n);p[r]=u}d=new THREE.CubeTexture;d.images=[p[1],p[3],p[4],
2262p[5],p[0],p[2]];d.encoding=f.CR(this.Ta);d.needsUpdate=!0;return g?(g=new THREE.PMREMGenerator(this.j),p=g.fromCubemap(d).texture,g.dispose(),p):d};e.prototype.Sf=function(){this.m.getComponent(h.Scene).scene.environment=null;this.m.T.Va()};e.zua=new Map;e.nia=function(d,g){e.zua.set(d,g||[])};e.O1a=function(d,g){d=e.zua.get(d)||[];for(var p=0;p<d.length;p++){var q=d[p].getComponent(h.pi);if(q&&0<q.GS.filter(function(n){return n.getComponent(h.Scene).scene==g}).length)return q.renderer}return null};
2263return e});
2264define("jL","require exports nX oB fK cp three.mod".split(" "),function(a,e,l,m,k,b,h){a=function(){function c(d){this.opacity=this.QJ=void 0;this.N=d}c.prototype.frame=function(){var d=this.N.getComponent(k.Scene),g=d.scene,p=g&&b.Ww(g),q=d.QJ;d=d.iR;!m.isPresenting&&p&&q&&0<d?(this.d0a(),this.C8a(g,p),this.B8a(q,d)):(this.opacity=this.QJ=void 0,this.eza())};c.prototype.update=function(){};c.prototype.C8a=function(d,g){this.Dh.parent!=g&&g.add(this.Dh);var p=b.DR(d);d=b.UE(d);g.isPerspectiveCamera?(this.Dh.position.z=
22651.01*-g.near,g=d/(2*Math.tan(g.fov*f/2)),g=Math.max(d/g,p/(g*p/d)),this.Dh.scale.y=g,this.Dh.scale.x=g*p/d):g.isOrthographicCamera&&(this.Dh.position.z=-(g.near+1),this.Dh.scale.y=g.top-g.bottom,this.Dh.scale.x=g.right-g.left)};c.prototype.B8a=function(d,g){this.QJ!==d&&this.opacity!==g&&(this.Dh.material.color=new h.Color(l.bB(d)),this.Dh.material.opacity=g,this.Dh.material.needsUpdate=!0)};c.prototype.d0a=function(){if(!this.Dh){var d=new h.SpriteMaterial;d.sizeAttenuation=!1;d.transparent=!0;d.visible=
2266!0;d.opacity=0;d.needsUpdate=!0;this.Dh=new h.Sprite(d);this.Dh.renderOrder=1E3}};c.prototype.eza=function(){var d,g,p;if(this.Dh){var q=this.Dh.material;null===(d=q.map)||void 0===d?void 0:d.dispose();null===(g=q.envMap)||void 0===g?void 0:g.dispose();q.dispose();this.Dh.geometry.dispose();null===(p=this.Dh.parent)||void 0===p?void 0:p.remove(this.Dh)}};c.prototype.dispose=function(){this.eza()};return c}();var f=Math.PI/180;return a});
2267define("ge",["require","exports","nX","fK","three.mod"],function(a,e,l,m,k){return function(){function b(h){this.N=h}b.prototype.update=function(){var h=this.N.getComponent(m.Scene),f=h.scene,c=h.Wza;h=new k.Color(l.bB(h.Vza||"#ffffff"));0<c?null==f.fog?f.fog=new k.FogExp2(h,c):(f.fog.color=h,f.fog.density=c):f.fog=null};b.prototype.dispose=function(){var h=this.N.getComponent(m.Scene);h&&h.scene&&(h.scene.fog=null)};return b}()});
2268define("hT","require fK pC bJ lN jL ge".split(" "),function(a){function e(c){this.m=c;this.Rg=null;var d=this.m.H(l.Scene),g=this.m.H(l.hs);this.m.J(l.Object3D).ua=g.scene=d.scene=new THREE.Scene;this.De=new m;this.JM=new b(c,this.De.Bt());this.me=new k(c,this.De.Bt());this.CV=new f(c);this.roa=new h(c)}var l=a("fK"),m=a("pC"),k=a("bJ"),b=a("lN"),h=a("jL"),f=a("ge");e.prototype.frame=function(c){this.JM.frame(c);this.me.frame(c);this.roa.frame(c)};e.prototype.update=function(){this.JM.update();
2268this.me.update();
2269this.CV.update();this.roa.update();this.MYa()};e.prototype.MYa=function(){var c=this.m.getComponent(l.Scene);this.Rg!=c.sfa&&(this.Rg=c.sfa,this.De.G5a(this.Rg))};e.prototype.dispose=function(){this.De&&(this.De.dispose(),this.De=null);this.me&&(this.me.dispose(),this.me=null);this.JM&&(this.JM.dispose(),this.JM=null);this.CV&&(this.CV.dispose(),this.CV=null);this.m&&(this.m=null)};e.$a=function(c){c.J(l.hs).manager=new e(c)};e.Ba=function(c){var d=c.getComponent(l.hs);d.manager.dispose();d.manager=
2270null;c.la(l.hs);c.la(l.Object3D)};e.frame=function(c,d){c.getComponent(l.hs).manager.frame(d)};e.update=function(c){c.getComponent(l.hs).manager.update()};e.nia=function(c,d){b.nia(c,d)};return e});
2271define("fc",["require","lE","lO","fK","hT"],function(a){var e=a("lE"),l=a("lO"),m=a("fK"),k=a("hT");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Id=function(b){this.wEa.A.length&&this.wEa.A.slice().forEach(k.$a);this.scenes.Fa.length&&this.scenes.Fa.slice().forEach(k.update);this.scenes.A.length&&this.scenes.A.slice().forEach(function(h){k.frame(h,b)});k.nia(this.T,this.Am.A.slice());this.xEa.A.length&&this.xEa.A.slice().forEach(k.Ba)};a.I={};a.I.wEa=[m.Scene,m.hs.not];a.I.scenes=
2272[m.Scene,m.hs];a.I.xEa=[m.Scene.not,m.hs];a.I.Am=[m.pi,m.fs];return a});
2273define("eH",["require","v"],function(a){function e(f){this.bi=f;"CANVAS"==f.tagName?(this.R=f,this.Gc=1):(this.R=document.createElement("canvas"),this.Gc=k.Jd()==k.ni?.5:1,this.R.width=Math.round(f.width*this.Gc),this.R.height=Math.round(f.height*this.Gc));this.za=this.R.getContext("2d");this.za.globalCompositeOperation="copy";this.R!=f&&this.za.drawImage(f,0,0,f.width,f.height,0,0,this.R.width,this.R.height)}function l(f,c,d){0>f?f=d==THREE.RepeatWrapping?c+f%c:d==THREE.MirroredRepeatWrapping?0==
2274Math.floor(Math.abs(f/c))%2?Math.abs(f%c):c-1+f%c:0:f>=c&&(f=d==THREE.RepeatWrapping?f%c:d==THREE.MirroredRepeatWrapping?1==Math.floor(f/c)%2?c-1-f%c:f%c:c-1);return f}function m(f,c,d){try{if(f instanceof CanvasRenderingContext2D)return f.getImageData(c,d,1,1).data;if(f.tagName&&"CANVAS"==f.tagName)return f.iRa?[0,0,0,0]:f.getContext("2d").getImageData(c,d,1,1).data;b.drawImage(f,c,d,1,1,0,0,1,1);return b.getImageData(0,0,1,1).data}catch(g){return[0,0,0,0]}}var k=a("v");e.prototype.transparent=function(f,
2275c){return e.transparent(this.za,Math.round(f*this.Gc),Math.round(c*this.Gc))};e.prototype.wx=function(f,c){return e.wx(this.za,Math.round(f*this.Gc),Math.round(c*this.Gc))};e.prototype.info=function(f,c){return e.info(this.za,Math.round(f*this.Gc),Math.round(c*this.Gc))};e.prototype.dispose=function(){this.R!=this.bi&&(this.R.width=this.R.height=0);this.bi=this.R=this.za=null};e.c8a=function(f,c,d){if(!f.image||!f.image.width||!f.image.height)return!0;c=l(Math.round(c*f.image.width),f.image.width,
2276f.wrapS);d=l(Math.round((1-d)*f.image.height),f.image.height,f.wrapT);return!e.transparent(f.image,c,d)};e.transparent=function(f,c,d){return!e.wx(f,c,d)};e.wx=function(f,c,d){return!f.tagName||f.tagName&&"VIDEO"==f.tagName?!0:0<m(f,c,d)[3]};e.info=function(f,c,d){f=m(f,c,d);c=f[3];return{wx:0<c,opacity:c,color:"#"+h[f[0]]+h[f[1]]+h[f[2]]}};a=document.createElement("canvas");a.width=a.height=1;var b=a.getContext("2d");b.globalCompositeOperation="copy";var h=function(){for(var f=Array(256),c=0;16>
2277c;c++)f[c]="0"+c.toString(16);for(;256>c;c++)f[c]=c.toString(16);return f}();return e});
2278define("oJ","require pg eH fK cp he bd".split(" "),function(a){function e(A){this.th=A;this.MI=this.qv=this.ne=this.Ng=null;this.YN=void 0;this.xv=!1;this.update()}function l(A,B,E,G){this.N=A;this.ua=B;this.point=E;this.normal=G}function m(A){return{x:A.x,y:A.y,z:A.z}}function k(A,B,E,G){var K=B.T,I=A.get(K);I||A.set(K,I=[]);A=I.indexOf(B);E&&0>A?I.push(B):!E&&0<=A&&I.splice(A,1);G.delete(K)}var b=a("pg"),h=a("eH"),f=a("fK"),c=a("cp"),d=a("he"),g=a("bd");e.prototype.update=function(){var A=this.th.getComponent(f.sd);
2279A.zDa=this;this.vP(A&&A.enabled?A.p0:null);this.uP(A&&A.enabled?A.h0:null)};e.prototype.frame=function(){this.RLa();var A=this.th.getComponent(f.sd);A&&A.gza?this.dta():this.mw(n)};e.prototype.vP=function(A){this.Ng!=A&&(this.Ng&&(this.Ng.unbind(b.bc,this.qf,this,!0),this.Ng.unbind(b.qa,this.Ls,this,!0),this.Ng.unbind(b.sl,this.eI,this,!0),this.Ng.unbind(b.jb,this.Ak,this,!0),this.Ng.unbind(b.Eb,this.yo,this,!0)),this.Ng=A)&&(this.Ng.bind(b.bc,this.qf,this,!0),this.Ng.bind(b.qa,this.Ls,this,!0),this.Ng.bind(b.sl,
2280this.eI,this,!0),this.Ng.bind(b.jb,this.Ak,this,!0),this.Ng.bind(b.Eb,this.yo,this,!0))};e.prototype.uP=function(A){this.ne!=A&&(this.ne&&this.xv&&this.ne.pop(g.ye),(this.ne=A)&&this.xv&&this.ne.push(g.ye))};e.prototype.qf=function(A){this.Qo(A);this.HH&&-1==t.indexOf(this.th.T)?this.mw(n):this.mw(q)};e.prototype.Ls=function(A){this.Qo(A);(A=this.w8())&&this.f_(b.qa,A)};e.prototype.eI=function(A){this.Qo(A);(A=this.w8())&&this.f_(b.sl,A)};e.prototype.Ak=function(A){this.HH=!0;this.Qo(A);if(A=this.w8())this.Z7=
2281A.N,this.b8=A.N.getComponent(f.td).P,this.f_(b.jb,A)};e.prototype.yo=function(A){this.HH=!1;this.Qo(A);if(this.Z7)var B=(B=this.Z7.getComponent(f.td))&&B.P;!B&&this.b8&&(B=this.b8);this.b8=this.Z7=null;B&&(A=this.Moa(),B.trigger(b.Eb,A),B=this.th.getComponent(f.sd),B.P&&B.P.trigger(b.Eb,A))};e.prototype.Qo=function(A){this.fd=A.x;this.gd=A.y;this.UH=A.pageX;this.VH=A.pageY};e.prototype.mw=function(A){var B=(new Date).getTime()+A;this.YN&&B>=this.YN||(this.YN=B,clearTimeout(this.MI),this.MI=setTimeout(function(){this.MI=
2282null;this.YN=void 0;this.dta()}.bind(this),A))};e.prototype.dta=function(){var A=this.VPa();this.mva(A&&A.N);A&&this.f_(b.bc,A)};e.prototype.f2=function(A,B,E){var G=this.fd,K=this.gd,I=this.UH,Q=this.VH;this.VH=this.UH=this.gd=this.fd=void 0;A=this.H8(A,[]);B=this.A8(A,B,E);var W;B&&(W=this.Bpa(B));this.fd=G;this.gd=K;this.UH=I;this.VH=Q;return W};e.prototype.VPa=function(){var A=this.th.getComponent(f.sd);if(!A)return null;var B=this.UPa();return this.A8(B,A.origin,A.direction)||null};e.prototype.w8=
2283function(){var A=this.th.getComponent(f.sd);if(!A)return null;var B=this.VOa();return this.A8(B,A.origin,A.direction)||null};e.prototype.mva=function(A){if(this.qv!=A){if(null!=this.qv!=(null!=A)){var B=this.th.getComponent(f.sd);B&&B.P&&B.P.trigger(A?b.cd:b.Vb)}
2283this.qv&&this.Pwa(this.qv,b.Vb);(this.qv=A)&&this.Pwa(this.qv,b.cd);A=this.qv&&this.qv.getComponent(f.td);A=!!A&&A.hL;this.xv!=A&&(this.xv=A,this.ne&&(this.xv?this.ne.push(g.ye):this.ne.pop(g.ye)))}};e.prototype.A8=function(A,B,E){var G=Array.from(A.keys());
2284B=this.VQa(G,B,E);for(E=0;E<B.length;E++){G=B[E];var K=G.point,I=G.object,Q=G.face&&G.face.normal,W=A.get(I),U=W&&W.getComponent(f.td);if(U){var T=Array.isArray(I.material)&&G.face?I.material[G.face.materialIndex]:I.material;if(!T||T.visible)if(U.iT||!T||!T.map||h.c8a(T.map,G.uv.x,G.uv.y))return I.isSkinnedMesh&&(I=this.kOa(I.skeleton.bones,K)),new l(W,I,K,Q)}}return null};e.prototype.VOa=function(){var A=this.th.T,B=z.get(A);if(!B){B=v.get(A);var E=x.get(A);B=this.H8(B,E);z.set(A,B)}return B};e.prototype.UPa=
2285function(){var A=this.th.T,B=C.get(A);if(!B){B=w.get(A);var E=y.get(A);B=this.H8(B,E);C.set(A,B)}return B};e.prototype.H8=function(A,B){var E=(B&&B.map(function(I){return c.ac(I)}).filter(function(I){return!!I})||[]).slice(),G=new Map;A&&A.forEach(function(I){var Q=c.ac(I);Q&&-1==E.indexOf(Q)&&(E.push(Q),G.set(I,Q))});var K=new Map;G.forEach(function(I,Q){for(var W=[I];W.length;){var U=W.shift();if(U==I||-1==E.indexOf(U))K.set(U,Q),U.children&&(W=W.concat(U.children))}});return K};e.prototype.VQa=
2286function(A,B,E){u.camera=this.Toa();var G=c.ac(this.th);G=G&&G.matrixWorld;G||(G=(G=this.th.getComponent(f.sd))&&G.matrixWorld);G?(u.ray.origin.copy(B).applyMatrix4(G),u.ray.direction.copy(B).add(E).applyMatrix4(G).sub(u.ray.origin).normalize()):(u.ray.origin.copy(B),u.ray.direction.copy(E).normalize());return d.intersect(u,A)};e.prototype.f_=function(A,B){var E=this.Bpa(B);B=B.N.getComponent(f.td);E.NR=B&&B.P.NR(A)||!1;B.P&&B.P.trigger(A,E);B=this.th.getComponent(f.sd);B.P&&B.P.trigger(A,E)};e.prototype.Moa=
2287function(){var A={};void 0!==this.fd&&void 0!==this.gd&&(A.x=this.fd,A.y=this.gd);void 0!==this.UH&&void 0!==this.VH&&(A.pageX=this.UH,A.pageY=this.VH);return A};e.prototype.Bpa=function(A){var B=this.Moa(),E=A.ua,G=A.point;A=A.normal;B.position=m(G);var K=this.Toa();B.cameraPosition=m(K?r.setFromMatrixPosition(K.matrixWorld):r.set(0,0,0));K=E;for(var I=B;;){I.object=K.userData.id;I.name=K.name;I.type=K.isMesh?"mesh":K.isBone?"bone":"other";I.localPosition=m(K.worldToLocal(r.copy(G)));r.setFromMatrixScale(K.matrixWorld);
2288I.localScale=Math.max(r.x,r.y,r.z);I.objectMatrixWorld=E.matrixWorld.toArray();A&&(I.normal=m(p(E,A,K,r)));if(!K.parent||!K.parent.userData.id)break;K=K.parent;I=I.parent={}}return B};var p=function(){var A=new THREE.Vector3,B=new THREE.Matrix4;return function(E,G,K,I){I.copy(G);if(E==K)return I;I.applyMatrix4(E.matrixWorld);I.sub(A.setFromMatrixPosition(E.matrixWorld));I.add(A.setFromMatrixPosition(K.matrixWorld));I.applyMatrix4(B.copy(K.matrixWorld).invert()).normalize();return I}}();e.prototype.Toa=
2289function(){if(this.EV.camera)return this.EV.camera;var A=this.th.getComponent(f.sd);A=A&&A.ib;this.EV.camera=A&&c.Gt(A);return this.EV.camera};e.prototype.RLa=function(){this.EV={}};e.prototype.Pwa=function(A,B){(A=(A=A.getComponent(f.td))&&A.P)&&A.trigger(B)};e.prototype.kOa=function(A,B){var E=null,G=Infinity;for(A=A.slice();A.length;){var K=A.shift(),I=B.distanceTo(K.getWorldPosition(r));I<G&&(E=K,G=I);A.unshift.apply(A,K.children)}return E};e.prototype.dispose=function(){this.MI&&(clearTimeout(this.MI),
2290this.MI=null,this.YN=void 0);this.vP(null);this.uP(null);this.mva(null)};var q=16,n=400,r=new THREE.Vector3(0,1,0),u=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;e.yia=function(A){A.J(f.yu).manager=new e(A)};e.Mia=function(A){var B=A.getComponent(f.yu);B.manager.dispose();B.manager=null;A.la(f.yu)};e.frame=function(A){A.getComponent(f.yu).manager.frame()};e.Cx=function(A){A.getComponent(f.yu).manager.update()};
2291e.f7a=function(A){A.J(f.MB);e.PGa(A)};e.PGa=function(A){var B=c.ac(A),E=A.getComponent(f.td);k(v,A,B&&E.Kw,z);k(w,A,B&&E.mx,C)};e.eGa=function(A){k(v,A,!1,z);k(w,A,!1,C);A.la(f.MB)};e.e7a=function(A){A.J(f.JB);e.MGa(A)};e.MGa=function(A){var B=c.ac(A),E=A.getComponent(f.Hp);k(x,A,B&&E.Uia,z);k(y,A,B&&E.Via,C)};e.dGa=function(A){k(y,A,!1,C);k(x,A,!1,z);A.la(f.JB)};var t=[];e.D6a=function(A){t=[];A.forEach(function(B){0>t.indexOf(B.T)&&t.push(B.T)})};var v=new Map,w=new Map,x=new Map,y=new Map,z=new Map,
2292C=new Map;return e});
2293define("nO",["require","lE","lO","fK","oJ"],function(a){var e=a("lE"),l=a("lO"),m=a("fK"),k=a("oJ");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Id=function(){this.qS.A.length&&this.qS.A.slice().forEach(k.yia);this.il.Fa.length&&this.il.Fa.slice().forEach(k.Cx);this.il.A.length&&this.il.A.slice().forEach(k.frame);this.rS.A.length&&this.rS.A.slice().forEach(k.Mia);this.DEa.A.length&&this.DEa.A.slice().forEach(k.f7a);this.CEa.A.length&&this.CEa.Fa.slice().forEach(k.PGa);this.EEa.A.length&&
2294this.EEa.A.slice().forEach(k.eGa);this.FEa.A.length&&this.FEa.A.slice().forEach(k.eGa);this.uCa.A.length&&this.uCa.A.slice().forEach(k.e7a);this.tCa.A.length&&this.tCa.Fa.slice().forEach(k.MGa);this.vCa.A.length&&this.vCa.A.slice().forEach(k.dGa);this.wCa.A.length&&this.wCa.A.slice().forEach(k.dGa);(this.lha.Qd.length||this.lha.vg.length)&&k.D6a(this.lha.A)};a.I={};a.I.lha=[m.pk];a.I.qS=[m.sd,m.yu.not];a.I.il=[m.sd,m.yu];a.I.rS=[m.sd.not,m.yu];a.I.DEa=[m.Object3D,m.td,m.MB.not];a.I.CEa=[m.Object3D,
2295m.td,m.MB];a.I.EEa=[m.Object3D.not,m.MB];a.I.FEa=[m.td.not,m.MB];a.I.uCa=[m.Object3D,m.Hp,m.JB.not];a.I.tCa=[m.Object3D,m.Hp,m.JB];a.I.vCa=[m.Object3D.not,m.JB];a.I.wCa=[m.Hp.not,m.JB];return a});
2296define("jH",["require","nX","fK"],function(a){function e(k){this.m=k;this.na=null;this.update()}var l=a("nX"),m=a("fK");e.prototype.update=function(){this.na||(this.na=new THREE.MeshBasicMaterial,this.na.transparent=!0,this.m.J(m.Material).material=this.na);var k=this.m.getComponent(m.Ic);this.na.color=new THREE.Color(l.bB(k.color||"#ffffff"));this.na.opacity=k.opacity||0;this.na.depthTest=!!k.depthTest;this.na.side=k.doubleSided?THREE.DoubleSide:THREE.FrontSide;this.na.visible=0<this.na.opacity;
2297this.na.needsUpdate=!0};e.prototype.dispose=function(){this.na&&(this.na.dispose(),this.na=null,this.m.la(m.Material));this.m=null};e.$a=function(k){k.J(m.Bu).manager=new e(k)};e.Ba=function(k){var b=k.getComponent(m.Bu);b.manager.dispose();b.manager=null;k.la(m.Bu)};e.update=function(k){k.getComponent(m.Bu).manager.update()};return e});
2298define("iG",["require","lE","lO","fK","jH"],function(a){var e=a("lE"),l=a("lO"),m=a("fK"),k=a("jH");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Id=function(){this.vm.A.length&&this.vm.A.slice().forEach(k.$a);this.materials.Fa.length&&this.materials.Fa.slice().forEach(k.update);this.wm.A.length&&this.wm.A.slice().forEach(k.Ba)};a.I={};a.I.vm=[m.Ic,m.Bu.not];a.I.materials=[m.Ic,m.Bu];a.I.wm=[m.Ic.not,m.Bu];return a});
2299define("lq",["require","lE","lO","fK","oc"],function(a){var e=a("lE"),l=a("lO"),m=a("fK"),k=a("oc");a=e.extend(l,function(){l.apply(this,arguments);this.we=this.we.bind(this);this.Pe=this.Pe.bind(this);this.ad=this.ad.bind(this)});a.prototype.Id=function(){this.NFa.A.length&&this.NFa.A.slice().forEac
2299h(this.we);this.MFa.Fa.length&&this.MFa.Fa.slice().forEach(this.Pe);this.OFa.A.length&&this.OFa.A.slice().forEach(this.ad);this.PFa.A.length&&this.PFa.A.slice().forEach(this.ad)};a.prototype.we=function(b){b.J(m.Object3D).ua=
2300new THREE.Mesh(new THREE.SphereGeometry);b.J(m.NB);this.Pe(b)};a.prototype.Pe=function(b){var h=b.getComponent(m.Object3D).ua;k.lA(h,b.getComponent(m.Material).material);b=b.getComponent(m.Sphere);var f=h.geometry;if(f.radius!=b.radius||f.widthSegments!=b.widthSegments||f.heightSegments!=b.heightSegments)f.dispose(),f=new THREE.SphereGeometry(b.radius,b.widthSegments,b.heightSegments),h.geometry=f,h.needsUpdate=!0;b=b.renderOrder||0;h.renderOrder!=b&&(h.renderOrder=b,h.needsUpdate=!0)};a.prototype.ad=
2301function(b){var h=b.getComponent(m.Object3D);(h=h&&h.ua)&&h.geometry&&(h.geometry.dispose(),h.geometry=null);h&&k.lA(h,null);b.la(m.NB);b.la(m.Object3D)};a.I={};a.I.NFa=[m.Sphere,m.Material,m.NB.not];a.I.MFa=[m.Sphere,m.Material,m.NB];a.I.OFa=[m.Sphere.not,m.NB];a.I.PFa=[m.Material.not,m.NB];return a});
2302define("mk",["require","oB","fK","cp","oc"],function(a){function e(f){this.m=f;this.Ta=null;this.r6=90;this.s6=100;this.oa=this.wa=void 0;this.vZ=!1;this.Gc=1;this.Pc=this.m.H(l.Sprite).Dh=this.m.H(l.Object3D,!0).ua=new THREE.Sprite;this.Pc.material.opacity=0;this.Vj();this.update();this.frame()}a("oB");var l=a("fK"),m=a("cp"),k=a("oc");e.prototype.update=function(){var f=this.m.getComponent(l.Sprite);this.wa=f.height;this.oa=f.width;this.vZ=f.sizeAttenuation;this.Pc.center.x=f.yJ;this.Pc.center.y=
23031-f.zJ;this.Gc=f.scale;this.lm();this.Pc.needsUpdate=!0};e.prototype.frame=function(){this.Ta||(this.Ta=m.hi(this.m));this.Xq();this.Vj();this.lm()};e.prototype.Xq=function(){if(this.Ta){var f=m.Ww(this.Ta);if(f&&f.isPerspectiveCamera){var c=m.UE(this.Ta);if(this.r6!=f.fov||this.s6!=c)this.r6=f.fov,this.s6=c,this.lm(),this.Pc.needsUpdate=!0}}};e.prototype.Vj=function(){var f=this.Ta?this.m.getComponent(l.Material).material:null;f&&k.lA(this.Pc,f);this.Pc.renderOrder=this.m.getComponent(l.Sprite).renderOrder;
2304this.Pc.material&&this.Pc.material.sizeAttenuation!=this.vZ&&(this.Pc.material.sizeAttenuation=this.vZ,this.Pc.material.needsUpdate=!0)};e.prototype.lm=function(){var f=this.wa;this.vZ||(f/=this.s6/(2*Math.tan(this.r6*h/2)));var c=this.Gc;this.Pc.parent&&(this.Pc.parent.getWorldScale(b),c/=Math.max(b.x,b.y,b.z));f*=c;c=f*this.oa/this.wa;var d=this.m.getComponent(l.Aa)||this.m.J(l.Aa);if(d.If!=c||d.Wf!=f||1!=d.Bh)d=this.m.H(l.Aa,!0),d.If=c,d.Wf=f,d.Bh=1};var b=new THREE.Vector3,h=Math.PI/180;e.prototype.dispose=
2305function(){};e.$a=function(f){f.J(l.js).manager=new e(f)};e.Ba=function(f){var c=f.getComponent(l.js);c.manager.dispose();c.manager=null;f.la(l.js);f.la(l.Object3D)};e.update=function(f){f.getComponent(l.js).manager.update()};e.frame=function(f){f.getComponent(l.js).manager.frame()};return e});
2306define("eG",["require","lE","lO","fK","mk"],function(a){var e=a("lE"),l=a("lO"),m=a("fK"),k=a("mk");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Id=function(){this.RFa.A.length&&this.RFa.A.slice().forEach(k.$a);this.M2.Fa.length&&this.M2.A.slice().forEach(k.update);this.M2.A.length&&this.M2.A.slice().forEach(k.frame);this.SFa.A.length&&this.SFa.A.slice().forEach(k.Ba);this.TFa.A.length&&this.TFa.A.slice().forEach(k.Ba)};a.I={};a.I.RFa=[m.Material,m.Sprite,m.js.not];a.I.M2=[m.Sprite,
2307m.Material,m.js];a.I.SFa=[m.Sprite.not,m.js];a.I.TFa=[m.Material.not,m.js];return a});
2308define("ht","require lE pg cC lO fK cp".split(" "),function(a){function e(g,p,q){for(;g<p-180;)g+=360;for(;g>p+180;)g-=360;return l(g,p,q)}function l(g,p,q){if(!q)return p;g=(p-g)*(1-q);1E-5>Math.abs(g)&&(g=0);return p-g}var m=a("lE"),k=a("pg"),b=a("cC"),h=a("lO"),f=a("fK"),c=a("cp");a=m.extend(h,function(){h.apply(this,arguments);this.we=this.we.bind(this);this.Pe=this.Pe.bind(this);this.ad=this.ad.bind(this)});a.prototype.Id=function(g,p){this.hS.A.length&&this.hS.A.slice().forEach(this.we);this.tr.Qd.length&&
2309this.tr.Qd.slice().forEach(function(q){this.Pe(q,g,p)}.bind(this));this.tr.Fa.length&&this.tr.Fa.slice().forEach(function(q){this.Pe(q,g,p)}.bind(this));
2309this.FCa.A.length&&this.FCa.A.slice().forEach(function(q){this.Pe(q,g,p)}.bind(this));this.Fza.A.length&&this.Fza.A.slice().forEach(this.ad);this.Gza.A.length&&this.Gza.A.slice().forEach(this.ad)};a.prototype.we=function(g){var p=g.getComponent(f.Aa),q=g.J(f.Nf);q.positionX=p.positionX;q.positionY=p.positionY;q.positionZ=p.positionZ;q.Ne=p.Ne;q.qe=
2310p.qe;q.Oe=p.Oe;q.Vf=p.Vf;q.scale=p.scale;q.If=p.If;q.Wf=p.Wf;q.Bh=p.Bh;q.translationX=p.translationX;q.translationY=p.translationY;q.af=p.af;this.updateMatrixWorld(g)};a.prototype.Pe=function(g){var p=g.getComponent(f.Aa),q=g.getComponent(f.Nf),n=p.easing||0;n?g.getComponent(f.PB)||g.J(f.PB):g.la(f.PB);var r=null;p.Hw!==q.Hw&&(r||(r=g.H(f.Nf)),r.Hw=p.Hw);p.positionX!==q.positionX&&(r||(r=g.H(f.Nf)),r.positionX=l(r.positionX,p.positionX,n));p.positionY!==q.positionY&&(r||(r=g.H(f.Nf)),r.positionY=
2311l(r.positionY,p.positionY,n));p.positionZ!==q.positionZ&&(r||(r=g.H(f.Nf)),r.positionZ=l(r.positionZ,p.positionZ,n));p.Ne!==q.Ne&&(r||(r=g.H(f.Nf)),r.Ne=e(r.Ne,p.Ne,n));p.qe!==q.qe&&(r||(r=g.H(f.Nf)),r.qe=e(r.qe,p.qe,n));p.Oe!==q.Oe&&(r||(r=g.H(f.Nf)),r.Oe=e(r.Oe,p.Oe,n));p.scale!==q.scale&&(r||(r=g.H(f.Nf)),r.scale=p.scale);p.If!==q.If&&(r||(r=g.H(f.Nf)),r.If=p.If);p.Wf!==q.Wf&&(r||(r=g.H(f.Nf)),r.Wf=p.Wf);p.Bh!==q.Bh&&(r||(r=g.H(f.Nf)),r.Bh=p.Bh);p.translationX!==q.translationX&&(r||(r=g.H(f.Nf)),
2312r.translationX=l(r.translationX,p.translationX,n));p.translationY!==q.translationY&&(r||(r=g.H(f.Nf)),r.translationY=l(r.translationY,p.translationY,n));p.af!==q.af&&(r||(r=g.H(f.Nf)),r.af=l(r.af,p.af,n));r?this.updateMatrixWorld(g):g.la(f.PB)};var d=new THREE.Vector3;a.prototype.updateMatrixWorld=function(g){c.SS(g,g.getComponent(f.Nf));var p=g.getComponent(f.Aa).P;p&&(c.getWorldPosition(g,d),g={position:{}},g.position.x=d.x,g.position.y=d.y,g.position.z=d.z,p.trigger(new b(k.vu,g)))};a.prototype.ad=
2313function(g){g.la(f.Nf);g.la(f.PB)};a.I={};a.I.tr=[f.Object3D,f.Aa,f.Nf];a.I.hS=[f.Object3D,f.Aa,f.Nf.not];a.I.FCa=[f.Object3D,f.Aa,f.Nf,f.PB];a.I.Fza=[f.Object3D.not,f.Aa,f.Nf];a.I.Gza=[f.Aa.not,f.Nf];return a});
2314define("gC",["require","pg","lg","cC","oC"],function(a){function e(h,f,c,d){this.ga=h;this.o=f;this.Be=c;this.Da=d;this.vc=h.wb();this.Zf=this.o.get("currentTime");this.C=this.o.get("state");this.Ll=this.o.get("loop");this.wY=this.vc.get("mute");this.mX=this.o.get("mute");this.C=this.o.get("autoplay")?m.Y:m.Ib;this.C5();this.o.set("state",this.C);this.ga.Jf(this.wY||this.mX);this.ga.setLoop(this.Ll);this.ga.setCurrentTime(this.Zf);this.ga.Mc(this.C)}var l=a("pg"),m=a("lg"),k=a("cC"),b=a("oC");e.prototype.dispose=
2315function(){this.Cba()};e.prototype.Xsa=function(){var h=this.o.get("currentTime",0);this.Zf!=h&&this.ga.setCurrentTime(this.Zf=h)};e.prototype.ata=function(){var h=this.o.get("state",m.W);this.C!=h&&this.ga.Mc(this.C=h)};e.prototype.Zsa=function(){var h=this.o.get("mute",!1);this.mX!=h&&this.ga.Jf(this.wY||(this.mX=h))};e.prototype.Ysa=function(){var h=this.o.get("loop",!1);this.Ll!=h&&this.ga.setLoop(this.Ll=h)};e.prototype.AO=function(){var h=this.vc.get("mute",!1);this.wY!=h&&this.ga.Jf((this.wY=
2316h)||this.mX)};e.prototype.HO=function(){this.o.set("currentTime",this.Zf=this.ga.getCurrentTime())};e.prototype.FO=function(){this.o.set("duration",this.ga.oj())};e.prototype.GO=function(){this.o.set("state",this.C=this.ga.getState());this.Da()};e.prototype.IO=function(){this.Be.trigger(new k(l.Bb))};e.prototype.C5=function(){this.vc.bind(l.F("mute"),this.AO,this,!0);this.ga.bind(b.Kf,this.HO,this,!0);this.ga.bind(b.Qi,this.FO,this,!0);this.ga.bind(l.re,this.GO,this,!0);this.ga.bind(l.Bb,this.IO,
2317this,!0);this.o.bind(l.F("currentTime"),this.Xsa,this,!0);this.o.bind(l.F("state"),this.ata,this,!0);this.o.bind(l.F("mute"),this.Zsa,this,!0);this.o.bind(l.F("loop"),this.Ysa,this,!0)};e.prototype.Cba=function(){this.vc.unbind(l.F("mute"),this.AO,this,!0);this.ga.unbind(b.Kf,this.HO,this,!0);this.ga.unbind(b.Qi,this.FO,this,!0);this.ga.unbind(l.re,this.GO,this,!0);this.ga.unbind(l.Bb,this.IO,this,!0);this.o.unbind(l.F("currentTime"),this.Xsa,this,!0);this.o.unbind(l.F("state"),this.ata,this,!0);
2318this.o.unbind(l.F("mute"),this.Zsa,this,!0);this.o.unbind(l.F("loop"),this.Ysa,this,!0)};return e});
2319define("w","require pg lg ik cu lB eP gp v".split(" "),function(a){function e(g,p,q,n){this.DC=d.browser()==d.Rr?THREE.LinearEncoding:"srgb"==p.get("encoding","srgb")?THREE.sRGBEncoding:THREE.LinearEncoding;this.Xp();this.ga=g;this.o=p;this.ab=q;this.Da=n;this.yI=this.ab.get("posterURL");this.Wxa=this.ab.get("url");this.oa=this.ab.get("width");this.wa=this.ab.get("height");this.Qf=null;this.fE=this.gE=void 0;this.Bqa();this.ab.bind(l.F("posterURL"),this.Vsa,this,!0);this.Da();this.za=this.R=null}
2320var l=a("pg"),m=a("lg"),k=a("ik"),b=a("cu"),h=a("lB"),f=a("eP"),c=a("gp"),d=a("v");e.prototype.update=function(){var g=this.ga.H0();g.isEmpty()&&(g=null);if(g&&(!this.Qf||this.Qf&&!this.Qf.isEqual(g))){this.Qf=g;g=this.Qf.ys;var p=c.rK(g);p&&(g.width=g.videoWidth||this.oa,g.height=g.videoHeight||this.wa);!this.R&&this.Wxa&&c.UGa(this.Wxa)&&(this.R=document.createElement("canvas"),this.R.width=this.oa,this.R.height=this.wa,this.za=this.R.getContext("2d"));this.R&&p&&(this.za.drawImage(g,0,0,this.R.width,
2321this.R.height),g=this.R);this.Hva(g)}else!this.Qf&&this.cw&&this.Ha.image!=this.cw&&this.Hva(this.cw);(this.Ha.needsUpdate||this.ga.getState()==m.Y)&&this.Da()};e.prototype.Vsa=function(){this.$Va(this.ab.get("posterURL"))};e.prototype.$Va=function(g){this.yI!=g&&(this.Xwa(),this.yI=g,this.Bqa())};e.prototype.Bqa=function(){this.yI&&(this.cw=null,this.xI=new b,this.xI.VK([this.yI]),this.xI.bind(l.Z,this.Usa,this,!0),h.Mn(this.xI,this.o.get("loadPriority",k.ql)))};e.prototype.Xwa=function(){this.yI&&
2322(this.xI.unbind(l.Z,this.Usa,this,!0),h.uj(this.xI,this.o.get("loadPriority",k.ql)),this.cw=this.xI=null)};e.prototype.Usa=function(){this.cw=h.vf(this.yI);if(this.cw.width!=this.oa||this.cw.height!=this.wa){var g=document.createElement("canvas"),p=g.getContext("2d");g.width=this.oa;
2322g.height=this.wa;p.drawImage(this.cw,0,0,this.oa,this.wa);this.cw=g}this.Da()};e.prototype.Hva=function(g){this.Ha&&this.gE==g.width&&this.fE==g.height?this.Ha.image=g:this.Xp(g);this.Ha.needsUpdate=!0};e.prototype.Xp=
2323function(g){this.mV();this.Ha=new THREE.Texture;this.Ha.image=g||f.gAa();this.gE=this.Ha.image.width;this.fE=this.Ha.image.height;this.Ha.generateMipmaps=!1;this.Ha.minFilter=THREE.LinearFilter;this.Ha.magFilter=THREE.LinearFilter;this.Ha.format=THREE.RGBAFormat};e.prototype.mV=function(){this.Ha&&(this.fE=this.gE=void 0,this.Ha.dispose(),this.Ha=null)};e.prototype.dispose=function(){this.Xwa();this.ab.unbind(l.F("posterURL"),this.Vsa,this,!0);this.za=this.ab=null;this.R&&(this.R=this.R.width=this.R.height=
23240);this.mV();this.Da=this.Wg=this.ga=null};e.prototype.T0=function(){return this.Ha};return e});
2325define("dn","require exports kS pg ik cu lB three.mod".split(" "),function(a,e,l,m,k,b,h,f){var c=["alphaMap"];return function(){function d(g,p,q){this.i5a=function(n){this.P_!=n&&(this.AGa(),this.P_=n,this.j3a())};this.properties=g;this.level=p;this.Va=q;this.P1=this.P1.bind(this);l.da(this.level,c,this.P1,!0)}d.prototype.dispose=function(){l.ba(this.level,c,this.P1);this.AGa();this.v0a()};d.prototype.T0=function(){return this.texture};d.prototype.P1=function(){this.i5a(this.level.get("alphaMapURL"))};
2326d.prototype.j3a=function(){this.P_&&(this.zE=new b,this.zE.VK([this.P_]),this.zE.bind(m.Z,this.GCa,this,!0),h.Mn(this.zE,this.properties.get("loadPriority",k.ql)))};d.prototype.AGa=function(){this.zE&&(this.zE.unbind(m.Z,this.GCa,this,!0),h.uj(this.zE,this.properties.get("loadPriority",k.ql)),this.uya=this.zE=null)};d.prototype.GCa=function(){this.uya=h.vf(this.P_);this.createTexture();this.Va()};d.prototype.createTexture=function(){this.texture=new f.Texture;this.texture.image=this.uya;this.texture.generateMipmaps=
2327!1;this.texture.minFilter=f.LinearFilter;this.texture.magFilter=f.LinearFilter;this.texture.format=f.RGBAFormat;this.texture.needsUpdate=!0};d.prototype.v0a=function(){this.texture&&(this.texture.dispose(),this.texture=null)};return d}()});
2328define("kX",["require","v","gp"],function(a){a("v");var e=a("gp");return{tHa:function(){this.blending=0;this.tK=void 0;this.IFa=this.threshold=0},dJa:function(){this.mK=!1;this.height=this.width=100},create:function(l,m,k){var b=l.mK&&e.jBa(),h=l.mK&&e.iBa(),f=void 0,c=!b,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=
2329["varying vec2 vUV;\nvoid main() {","\tvUV = vec2( uv.x, "+(b?"1.0 - uv.y":"uv.y")+");","\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}"].join("\n");if(h||m.blending||m.tK){b=[];var g=[];b=b.concat(["uniform sampler2D text1;","uniform sampler2D textAlpha;","uniform bool validTextAlpha;","uniform float opacity;","varying vec2 vUV;"]);g=g.concat(["   vec4 color = texture2D(text1, vUV);","   float alpha = color.a * opacity;","   if (validTextAlpha)","       alpha *= texture2D(textAlpha, vUV).r;"]);
2330m.blending&&(f=.5*Math.min(l.width,l.height)*m.blending,d.uniforms.blendingLimit={type:"v2",value:new THREE.Vector2(f/l.width,f/l.height)},b=b.concat(["uniform vec2 blendingLimit;"]),g=g.concat("   float xCoef = 0.0;,   float yCoef = 0.0;,   if (vUV.x < blendingLimit.x) {,      xCoef = 1.0 - (vUV.x / blendingLimit.x);,      xCoef = xCoef * xCoef;,   } else if ((1.0 - vUV.x) < blendingLimit.x) {,      xCoef = 1.0 - ((1.0 - vUV.x) / blendingLimit.x);,      xCoef = xCoef * xCoef;,   },   if (vUV.y < blendingLimit.y) {,      yCoef = 1.0 - (vUV.y / blendingLimit.y);,      yCoef = yCoef * yCoef;,   } else if ((1.0 - vUV.y) < blendingLimit.y) {,      yCoef = 1.0 - ((1.0 - vUV.y) / blendingLimit.y);,      yCoef = yCoef * yCoef;,   },   alpha = alpha * (1.0 - sqrt(xCoef + yCoef));".split(",")));
2331m.tK&&(d.uniforms.chromaColor={type:"v3",value:new THREE.Vector3(parseInt(m.tK.substr(1,2),16)/255,parseInt(m.tK.substr(3,2),16)/255,parseInt(m.tK.substr(5,2),16)/255)},d.uniforms.chromaThreshold={type:"f",value:m.threshold},d.uniforms.chromaSmoothing={type:"f",value:m.IFa},b=b.concat(["uniform vec3 chromaColor;","uniform float chromaThreshold;","uniform float chromaSmoothing;"]),g=g.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("{")));
2332g=g.concat(["\tgl_FragColor = vec4(color"+(h?".bgr":".rgb")+", alpha);"]);f=THREE.RGBAFormat;d.fragmentShader=[].concat(b,["void main() {"],g,[],["}"]).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(textAlp
2332ha, vUV).r;\n\tgl_FragColor = vec4(color.rgb, alpha);\n\n}";
2333l=new THREE.ShaderMaterial(d);l.transparent=!0;l.depthWrite=!0;l.side=THREE.FrontSide;l.depthTest=!0;l.needsUpdate=!0;l.userData.lGa=c;l.userData.mGa=f;this.eB(l,k);return l},eB:function(l,m){l.uniforms.text1.value!==m&&(void 0!==l.userData.lGa&&(m.flipY=l.userData.lGa),void 0!==l.userData.mGa&&(m.format=l.userData.mGa),l.uniforms.text1.value=m)},j8a:function(l,m){l.uniforms.textAlpha.value!==m&&(l.uniforms.textAlpha.value=m,l.uniforms.validTextAlpha.value=!!m)}}});
2334define("bg","require kS pg lg gC w dn kX gp fK kB oC".split(" "),function(a){function e(n){this.m=n;this.yX=this.yX.bind(this);n=n.getComponent(g.$n);this.Be=n.P;this.o=n.properties;this.A_=n.eja;this.vc=this.m.T.vc;this.Da=this.Da.bind(this);this.dg=!1;this.ab=null;l.da(this.A_,["levels.url","levels.srcObject","levels.width","levels.height"],this.yX,!0)}var l=a("kS"),m=a("pg"),k=a("lg"),b=a("gC"),h=a("w"),f=a("dn"),c=a("kX"),d=a("gp"),g=a("fK"),p=a("kB"),q=a("oC");e.prototype.update=function(){this.dg&&
2335(this.dg=!1,this.So.update(),c.eB(this.na,this.So.T0()),c.j8a(this.na,this.F5.T0()))};e.prototype.yX=function(){this.wP(q.Zj(this.A_))};e.prototype.wP=function(n){n=n&&(n.get("url")||n.get("srcObject"))?n:null;this.ab!=n&&(this.ab&&(this.Vxa.dispose(),this.Vxa=null,this.o.unbind(m.F("opacity"),this.$sa,this,!0),this.z7(),this.So.dispose(),this.So=null,this.F5.dispose(),this.F5=null,this.CNa(),this.dg=!1),this.ab=n)&&(this.lNa(),this.Vxa=new b(this.ga,this.o,this.Be,this.Da),this.So=new h(this.ga,
2336this.o,this.ab,this.Da),this.F5=new f(this.o,this.ab,this.Da),this.dv(),this.o.bind(m.F("opacity"),this.$sa,this,!0),this.uva(this.Rb=this.o.get("opacity",1)),this.dg=!1,this.Da())};e.prototype.Da=function(){this.dg||(this.dg=!0,this.m.T.Va())};e.prototype.lNa=function(){this.ga=new q(this.m.T.vc,this.A_);this.gm=new p(this.o,this.ga)};e.prototype.CNa=function(){this.ga.Mc(k.W);this.ga.clear();this.ga=null;this.gm.clear();this.gm=null};e.prototype.dv=function(){var n=new c.dJa;n.mK=!this.ab.get("srcObject")&&
2337d.mK(this.ab.get("url"));n.width=this.ab.get("width");n.height=this.ab.get("height");var r=new c.tHa;r.blending=this.o.get("blending",0);r.tK=this.o.get("chromaColor");r.threshold=this.o.get("chromaThreshold",0);r.IFa=this.o.get("chromaSmoothing",0);this.na=c.create(n,r,this.So.T0());this.m.J(g.Material).material=this.na};e.prototype.z7=function(){this.na.dispose();this.na=null;this.m.la(g.Material)};e.prototype.dispose=function(){this.wP(null);this.o.set("state",k.W);this.m=this.Be=this.o=this.vc=
2338null;l.ba(this.A_,["levels.url","levels.srcObject","levels.width","levels.height"],this.yX)};e.prototype.$sa=function(){var n=this.o.get("opacity");this.Rb!=n&&(this.uva(this.Rb=n),this.Da())};e.prototype.uva=function(n){this.na.opacity=n;this.na.isShaderMaterial&&this.na.uniforms.opacity&&(this.na.uniforms.opacity.value=n)};e.$a=function(n){n.J(g.iy).manager=new e(n)};e.Ba=function(n){var r=n.getComponent(g.iy);r.manager.dispose();r.manager=null;n.la(g.iy)};e.update=function(n){n.getComponent(g.iy).manager.update()};
2339return e});define("eC",["require","lE","lO","fK","bg"],function(a){var e=a("lE"),l=a("lO"),m=a("fK"),k=a("bg");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Id=function(){this.vm.A.length&&this.vm.A.slice().forEach(k.$a);this.wm.A.length&&this.wm.A.slice().forEach(k.Ba);this.materials.A.length&&this.materials.A.slice().forEach(k.update)};a.I={};a.I.vm=[m.$n,m.iy.not];a.I.materials=[m.$n,m.iy];a.I.wm=[m.$n.not,m.iy];return a});
2340define("oX",["require","lE","lO","cp","fK"],function(a){var e=a("lE"),l=a("lO"),m=a("cp"),k=a("fK");a=e.extend(l,function(){l.apply(this,arguments);this.kca=this.kca.bind(this);this.lJ=this.lJ.bind(this)});a.prototype.Id=function(){this.fja.Qd.length&&this.fja.Qd.slice().forEach(this.kca);this.oF.Fa.length&&this.oF.Fa.slice().forEach(this.lJ);this.Br.Fa.length&&this.Br.Fa.slice().forEach(this.lJ);this.oF.Qd.length&&this.oF.Qd.slice().forEach(this.lJ);this.Br.Qd.length&&this.Br.Qd.slice().forEach(this.lJ)};
2341a.prototype.kca=function(b){var h=b.getComponent(k.Mm),f=m.sR(h.ib),c=f&&f.width||100;f=f&&f.height||100;if(h.width!=c||h.height!=f)h=b.H(k.Mm),h.width=c,h.height=f};a.prototype.lJ=function(b){var h=m.sR(b);this.fja.A.forEach(function(f){if(f.getComponent(k.Mm).ib==b){var c=f.getComponent(k.Mm);if(c.width!=h.width||c.height!=h.height)c=f.H(k.Mm),c.width=h.width,c.height=h.height}})};a.I={};a.I.fja=[k.Mm];
2341a.I.oF=[k.OrthographicCamera];a.I.Br=[k.PerspectiveCamera];return a});
2342define("ef",["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,b,h,f,c,d,g,p,q,n,r){var u=a.getAttribute("position").array,t=a.getAttribute("normal").array,v=
2343a.getAttribute("uv").array,w=a.getIndex().array;u[9]=u[0]=e;u[10]=u[1]=l;u[11]=u[2]=m;v[6]=v[0]=k;v[7]=v[1]=b;u[3]=u[0]+g;u[4]=u[1]+p;u[5]=u[2]+q;v[2]=v[0];v[3]=v[1]+n;u[12]=u[6]=u[3]+h;u[13]=u[7]=u[4]+f;u[14]=u[8]=u[5]+c;v[8]=v[4]=v[2]+d;v[9]=v[5]=v[3];u[15]=u[12]-g;u[16]=u[13]-p;u[17]=u[14]-q;v[10]=v[8];v[11]=v[9]-n;e=f*q-c*p;c=c*g-h*q;h=h*p-f*g;f=1/Math.sqrt(e*e+c*c+h*h);t[0]=t[3]=t[6]=t[9]=t[12]=t[15]=e*f;t[1]=t[4]=t[7]=t[10]=t[13]=t[16]=c*f;t[2]=t[5]=t[8]=t[11]=t[14]=t[17]=h*f;w[0]=0;w[1]=2;
2344w[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}}});
2345define("oK",["require","pg","lH"],function(a){function e(k,b,h){this.iq=k;this.o=b;this.Z8=h;this.$Y=this.$Y.bind(this);this.CG=void 0;this.o.forEach(function(f){this.iq.bind(l.F(f),this.dO,this,!0)}.bind(this));this.$Y()}var l=a("pg"),m=a("lH");e.prototype.stop=function(){this.o.forEach(function(k){this.iq.unbind(l.F(k),this.dO,this,!0)}.bind(this));this.CG&&(m.cancel(this.CG),this.CG=void 0)};e.prototype.dO=function(){this.CG||(this.CG=m.RA(this.$Y))};e.prototype.$Y=function(){this.CG=void 0;var k=
2346this.iq;this.Z8.apply(window,this.o.map(function(b){return k.get(b)}))};return e});
2347define("fD","require lE lO fK ef oK cp nl mv".split(" "),function(a){var e=a("lE"),l=a("lO"),m=a("fK"),k=a("ef"),b=a("oK"),h=a("cp"),f=a("nl"),c=a("mv"),d=e.extend(l,function(){l.apply(this,arguments);this.jca=this.jca.bind(this);this.Ida=this.Ida.bind(this);this.Nca=this.Nca.bind(this)});d.prototype.Id=function(){this.oS.A.length&&this.oS.A.slice().forEach(this.jca);this.planes.Fa.length&&this.planes.Fa.slice().forEach(this.Ida);this.EDa.A.length&&this.EDa.A.slice().forEach(this.Nca)};d.prototype.jca=
2348function(g){var p=g.getComponent(m.jy),q=g.J(m.Mm);q.ib=p.ib;var n=h.sR(p.ib);n&&(q.width=n.width,q.height=n.height);q=g.J(m.Fu);q.geometry=k.create();q.aEa=new b(p.properties,"width height horizontalAlign verticalAlign scaleMode zIndex".split(" "),function(r,u,t,v,w,x){var y=g.H(m.Fu);y.KFa=r;y.JFa=u;y.kBa=t;y.verticalAlign=v;y.vEa=w;y.zIndex=x});g.J(m.Geometry).geometry=q.geometry};d.prototype.Nca=function(g){var p=g.getComponent(m.Fu);p.geometry.dispose();p.geometry=null;p.aEa.stop();p.aEa=null;
2349g.la(m.Geometry);g.la(m.Mm);g.la(m.Fu)};d.prototype.Ida=function(g){var p=g.getComponent(m.Fu),q=g.getComponent(m.Mm),n=q.width,r=q.height,u=p.KFa,t=p.JFa;switch(p.vEa){case c.NONE:q=u;var v=t;break;case c.Cp:q=n;v=t*n/u;break;case c.nk:v=r;q=u*r/t;break;case c.Tr:u*r>t*n?(v=r,q=u*r/t):(q=n,v=t*n/u);break;default:u*r>t*n?(q=n,v=t*n/u):(v=r,q=u*r/t)}switch(p.kBa){case f.Wa:n=.5*-n;break;case f.ob:n=.5*n-q;break;default:n=.5*-q}switch(p.verticalAlign){case f.zc:r=.5*r-v;break;case f.sc:r=.5*-r;break;
2350default:r=.5*-v}u=p.zIndex-d.hIa;k.set(p.geometry,n,r,0,0,0,q,0,0,1,0,v,0,1,0);g.H(m.Aa,!0).positionZ=u;g.T.Va()};d.hIa=100;d.I={};d.I.oS=[m.jy,m.Fu.not];d.I.planes=[m.jy,m.Fu,m.Mm];d.I.EDa=[m.jy.not,m.Fu];return d});
2351define("iT","require ns o nm ij hn iB ln hZ lJ mS jf cP oP fZ eZ hN f lm ho hj nb dl iK mw lK fc nO iG lq eG ht eC oX fD".split(" "),function(a){var e=a("ns"),l=a("o"),m=a("nm"),k=a("ij"),b=a("hn"),h=a("iB"),f=a("ln"),c=a("hZ"),d=a("lJ"),g=a("mS"),p=a("jf"),q=a("cP"),n=a("oP"),r=a("fZ"),u=a("eZ"),t=a("hN"),v=a("f"),w=a("lm"),x=a("ho"),y=a("hj"),z=a("nb"),C=a("dl"),A=a("iK"),B=a("mw"),E=a("lK"),G=a("fc"),K=a("nO"),I=a("iG"),Q=a("lq"),W=a("eG"),U=a("ht"),T=a("eC"),X=a("oX");a=a("fD");var D={};D.Animation=
2352e;D.Fm=l;D.Mx=m;D.Camera=k;D.sHa=b;D.mi=h;D.Qx=f;D.mu=c;D.Group=d;D.Lm=g;D.gh=p;D.Light=q;D.Line=n;D.Wr=r;D.oi=u;D.ru=t;D.Mesh=v;D.hh=w;D.uIa=x;D.lb=z;D.Plane=y;D.yj=C;D.pk=A;D.ds=B;D.pi=E;D.Scene=G;D.Selection=K;D.Ic=I;D.Sphere=Q;D.Sprite=W;D.Aa=U;D.$n=T;D.Mm=X;D.jy=a;return D});
2353define("oj",["require","v"],function(a){var e=a("v");return{oGa:function(l,m){m||(m="screenshot.jpg");a:{try{var k=l.toDataURL("image/jpeg");break a}catch(c){}k=void 0}if(!k)return!1;var b=k;l=document.createElement("a");if("string"===typeof l.download)document.body.appendChild(l),l.download=m,l.href=b,l.click(),document.body.removeChild(l);else if(e.browser()==e.Hx){l=window.navigator;k=l.msSaveOrOpenBlob;
2353b=atob(b.split(",")[1]);for(var h=[],f=0;f<b.length;f++)h.push(b.charCodeAt(f));b=new Blob([new Uint8Array(h)],
2354{type:"image/jpeg"});k.call(l,b,m)}else window.location.replace(b);return!0}}});
2355define("gw","require lE pg e cf kv lw fK iT oj".split(" "),function(a){function e(n){return n.map(function(r){return String.fromCharCode(r)}).join("")}var l=a("lE"),m=a("pg"),k=a("e"),b=a("cf"),h=a("kv"),f=a("lw"),c=a("fK"),d=a("iT"),g=a("oj");a=l.extend(k,function(n,r,u){k.call(this);this.vc=n;this.L=r;this.KZa=u;this.iA=(new f(n)).sa(c.SF).sa(c.Animation).sa(c.du).sa(c.mB).sa(c.Fm).sa(c.Gx).sa(c.nB).sa(c.Mx).sa(c.Nx).sa(c.Xn).sa(c.fu).sa(c.mi).sa(c.Ox).sa(c.XF).sa(c.gu).sa(c.tp).sa(c.Px).sa(c.Qx).sa(c.Tx).sa(c.Ur).sa(c.FB).sa(c.nu).sa(c.mu).sa(c.Vr).sa(c.Geometry).sa(c.Group).sa(c.bG).sa(c.Lm).sa(c.Xx).sa(c.Light).sa(c.pu).sa(c.Line).sa(c.gh).sa(c.Zx).sa(c.Wr).sa(c.ay).sa(c.$x).sa(c.Material).sa(c.oi).sa(c.by).sa(c.ru).sa(c.Gp).sa(c.Mesh).sa(c.Zr).sa(c.hh).sa(c.su).sa(c.hG).sa(c.qIa).sa(c.Hp).sa(c.JB).sa(c.Object3D).sa(c.iG).sa(c.tu).sa(c.KB).sa(c.uu).sa(c.OrthographicCamera).sa(c.$r).sa(c.PerspectiveCamera).sa(c.xj).sa(c.lb).sa(c.bs).sa(c.yj).sa(c.LB).sa(c.Plane).sa(c.wu).sa(c.sd).sa(c.xu).sa(c.pk).sa(c.cs).sa(c.yu).sa(c.ds).sa(c.zu).sa(c.Ic).sa(c.Bu).sa(c.Aa).sa(c.PB).sa(c.Nf).sa(c.pi).sa(c.fs).sa(c.Scene).sa(c.hs).sa(c.td).sa(c.MB).sa(c.Sphere).sa(c.NB).sa(c.Sprite).sa(c.js).sa(c.Ic).sa(c.Bu).sa(c.Du).sa(c.ls).sa(c.$n).sa(c.iy).sa(c.Mm).sa(c.jy).sa(c.Fu).sa(c.pG).sa(c.qk).sa(c.rG).sa(c.Lp).sa(c.sG).sa(c.Mp).sa(c.tG).sa(c.Np).Sd(d.Camera,"Camera").Sd(d.Mm,
2356"Viewport").Sd(d.Lm,"ImageMaterial").Sd(d.mi,"CanvasMaterial").Sd(d.gh,"LineMaterial").Sd(d.Ic,"SolidMaterial").Sd(d.$n,"VideoMaterial").Sd(d.ru,"MaterialVariant").Sd(d.jy,"ViewportPlaneGeometry").Sd(d.Group,"Group").Sd(d.Line,"Line").Sd(d.Mesh,"Mesh").Sd(d.Plane,"Plane").Sd(d.Sphere,"Sphere").Sd(d.Sprite,"Sprite").Sd(d.hh,"Model").Sd(d.ds,"ProjectedMaterial").Sd(d.Light,"Light").Sd(d.Scene,"Scene").Sd(d.lb,"Parent").Sd(d.uIa,"ObjectId").Sd(d.Animation,"Animation").Sd(d.oi,"ObjectTransform").Sd(d.mu,
2357"FloorTransform").Sd(d.sHa,"CameraControls").Sd(d.Qx,"Dragging").Sd(d.Selection,"Selection").Sd(d.pk,"PointerOverTransform").Sd(d.yj,"PixelScaleTransform").Sd(d.Aa,"Transform").Sd(d.Fm,"Area").Sd(d.Wr,"LineToTransform").Sd(d.Camera.TF,"CameraAutoNearFar").Sd(d.Mx,"Beacon").Sd(d.pi,"Renderer");this.j=this.iA.Zc("Renderer");this.UD=[];this.oca=!1;this.OM=new h;this.Ob().append(this.OM.$c());this.bind(m.dd,this.fj,this,!0);this.bind(m.Tc,this.ej,this,!0)});a.prototype.Zc=function(n){return this.iA.Zc(n)};
2358a.prototype.He=function(n){this.iA.He(n)};a.prototype.qya=function(n){!(0<=this.UD.indexOf(n))&&(this.UD.push(n),n=this.j.H(c.pi))&&(n.GS=this.UD.slice())};a.prototype.Q4a=function(n){n=this.UD.indexOf(n);!(0>n)&&(this.UD.splice(n,1),n=this.j.H(c.pi))&&(n.GS=this.UD.slice())};a.prototype.z2=function(n){this.iA.z2(n)};a.prototype.rb=function(n){this.iA.rb(n)};a.prototype.wF=function(){this.OM.trigger();this.iA.update();return g.oGa(this.j.getComponent(c.pi).canvas)};a.prototype.Uea=function(){this.iA.update();
2359return this.j.getComponent(c.pi).canvas.toDataURL("image/png")};a.prototype.fj=function(){this.xWa()};a.prototype.ej=function(){this.rXa()};a.prototype.xWa=function(){var n=this.j.getComponent(c.pi);if(!n&&(n=this.j.J(c.pi),n.xc=this.L,n.GS=this.UD.slice(),this.vc.get(p)&&this.KZa)){this.GQ=document.createElement("div");for(var r in q)this.GQ.style[r]=q[r];this.Ob().Eea(this.GQ)}};a.prototype.rXa=function(){this.j.getComponent(c.pi)&&(this.GQ&&this.Ob().H4a(this.GQ),this.GQ=null,this.j.la(c.pi))};
2360var p=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])+b.eJa+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,
2361117,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});
2362define("eS","require exports kS pg nV fK oB".split(" "),function(a,e,l,m,k,b,h){var f=["autoNearFar","autoNearFarTolerance","near","far","userInteracting"],c=["inTransition"],d={OrbitModel3DCamera:b.KB,FirstPersonModel3DCamera:b.Tx,FlyOverModel3DCamera:b.FB},g={FirstPersonModel3DCamera:b.tG,OrbitModel3DCamera:b.rG,FlyOverModel3DCamera:b.sG};return function(){function p(q,n,r){this.renderer=q;this.model=n;this.ib=r;this.xc=this.renderer.L;this.camera=null;this.U1=this.U1.bind(this);this.N1=this.N1.bind(this);
2363this.renderer.bind(m.pc,this.kF,this,!0);this.model.bind(m.F("camera"),this.Xga,this,!0);this.xc.bind(m.F("isKeyboardTarget"),this.Yga,this,!0);h.P.bind(m.ca,this.Le,this,!0);this.Xga();this.Le();this.Yga();this.kF()}p.prototype.au=function(q){for(var n in d){var r=this.ib.H(d[n]);r&&(r.locked=q)}for(n in g)if(r=this.ib.H(g[n]))r.locked=q};p.prototype.rb=function(q){for(var n in d){var r=this.ib.H(d[n]);r&&(r.enabled=q)}};p.prototype.dispose=function(){this.setCamera(null);this.model.unbind(m.F("camera"),
2364this.Xga,this);this.xc.unbind(m.F("isKeyboardTarget"),this.Yga,this);this.renderer.unbind(m.pc,this.kF,this);h.P.unbind(m.ca,this.Le,this)};p.prototype.Le=function(){this.ib.H(b.PerspectiveCamera,!0).sm=h.Zg==this.xc.ic.xA()};p.prototype.Xga=function(){this.setCamera(this.model.get("camera"))};p.prototype.setCamera=function(q){if(this.camera!==q){this.camera&&(this.$A(!1),l.ba(this.camera,f,this.U1),l.ba(this.camera,c,this.N1));if(this.camera=q)l.da(this.camera,f,this.U1,!0),l.da(this.camera,c,this.N1,
2365!0),this.i_a(),this.ib.H(b.XF,!0).properties=this.camera;this.EGa()}};p.prototype.EGa=function(){var q,n,r,u=!!this.camera&&this.camera.get("inTransition");u?r=this.ib.H(b.Du,!0):this.ib.la(b.Du);for(var t in d){var v=d[t];!u&&this.camera&&k.Ga(t,this.camera)?q=this.ib.H(v,!0):this.ib.la(v);(v=g[t])&&(!u&&this.camera&&k.Ga(t,this.camera)?n=this.ib.H(v,!0):this.ib.la(v))}q&&(q.properties=this.camera,q.sg=this.renderer.getParent(),q.yEa=this.xc.vN,q.AA=this.xc.get("isKeyboardTarget"));r&&(r.properties=
2366this.camera,r.Xf=this.model.get("worldUnitToMeters"));n&&(n.properties=this.camera,n.Xf=this.model.get("worldUnitToMeters"),n.gk=this.xc.get("vrThumbstickRotationStep"))};p.prototype.Yga=function(){var q=this.e1a();q&&(q.AA=this.xc.get("isKeyboardTarget"))};p.prototype.e1a=function(){if(!this.camera)return null;var q=null,n;for(n in d){var r=d[n];this.camera&&k.Ga(n,this.camera)&&(q=this.ib.H(r,!0))}return q};p.prototype.U1=function(){if(this.camera){var q=this.ib.H(b.PerspectiveCamera,!0);q.Eya=
2367this.camera.get("autoNearFar");q.Fya=this.camera.get("autoNearFarTolerance");q.near=this.camera.get("near");q.far=this.camera.get("far");this.$A(this.camera.get("userInteracting"))}};p.prototype.N1=function(){this.EGa()};p.prototype.kF=function(){var q=this.ib.H(b.PerspectiveCamera,!0);q.width=this.renderer.uf();q.height=this.renderer.tf()};p.prototype.i_a=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"));
2368q.set("distance",q.get("initialDistance",0));q.set("yaw",q.get("initialYaw"));q.set("pitch",q.get("initialPitch"))};p.prototype.$A=function(q){this.fB!=q&&(this.fB=q,this.camera&&this.camera.trigger(this.fB?m.Yka:m.Xka))};return p}()});define("iP",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("OrbitLight",e,function(){e.call(this)})});
2369define("og",["require","exports","kS"],function(a,e,l){return function(){function m(){this.iS=this.iS.bind(this);this.l2=this.object=null;this.elements=[];this.hR=new Map;this.ODa=this.vg=this.Qd=this.filter=null}m.prototype.IF=function(k,b){this.dispose();this.object=k;this.l2=b;l.da(this.object,[this.l2],this.iS,!0)};m.prototype.iS=function(k){k=k||[];this.filter&&(k=k.filter(this.filter));var b=this.elements,h=this.elements=k;b.forEach(function(f,c){var d=h.indexOf(f);if(-1==d){var g=this.hR.get(f);
2370this.hR["delete"](f);this.vg&&this.vg(f,g)}else d!=c&&(g=this.hR.get(f),this.ODa&&(c=this.ODa(f,d,g,c),c!=g&&this.hR.set(f,c)))}.bind(this));h.forEach(function(f,c){-1==b.indexOf(f)&&this.Qd&&(c=this.Qd(f,c),this.hR.set(f,c))}.bind(this))};m.prototype.dispose=function(){this.object&&(l.ba(this.object,[this.l2],this.iS),this.iS([]),this.l2=this.object=null)};return m}()});
2371define("lu","require exports fK v iP og".split(" "),function(a,e,l,m,k,b){return function(){function h(f,c){this.Ow=null;this.model=f;this.ge=c;this.zga=new Map;this.v1=new b;this.v1.Qd=this.LCa.bind(this);this.v1.vg=this.MCa.bind(this);this.v1.IF(this.model,"lights");this.g_a()}h.prototype.dispose=function(){this.v1.dispose();this.N4a()};h.prototype.LCa=function(f){var c=this.ge.T.Zc("Light"),d=c.J(l.Light);d.properties=f;d.target=this.ge;this.zga.set(f,c)};h.prototype.MCa=function(f){var c=this.zga.get(f);
2372this.zga["delete"](f);this.ge.T.He(c)};h.prototype.g_a=function(){var f,c,d,g;(m.tga()||m.FBa())&&this.model.get("backgroundPanoramaURL")&&(this.Ow=new k,null===(f=this.Ow)||void 0===f?void 0:f.set("intensity",.001),null===(c=this.Ow)||void 0===c?void 0:c.set("castShadow",!0),null===(d=this.Ow)||void 0===d?void 0:d.set("shadowMapWidth",64),null===(g=this.Ow)||void 0===g?void 0:g.set("shadowTolerance",4),this.LCa(this.Ow))};h.prototype.N4a=function(){this.Ow&&(this.MCa(this.Ow),this.Ow=null)};return h}()});
2373define("fW",["require","exports","nV"],function(a,e,l){return function(){function m(){}m.hx=function(k,b){m.K_[k]=b};m.b2a=function(k){for(var b in m.K_)if(l.Ga(b,k))return!0;return!1};m.V_a=function(k,b,h,f,c){for(var d in m.K_)if(l.Ga(d,k))return new m.K_[d](k,b,h,f,c);return null};m.K_={};return m}()});
2374define("pD",["require","exports","og","fW"],function(a,e,l,m){return function(){function k(b,h,f,c,d){this.$4a=b;this.model=h;this.ge=f;this.Iga=c;this.renderer=d;this.filter=this.filter.bind(this);this.Qd=this.Qd.bind(this);this.vg=this.vg.bind(this);this.gF=new l;this.gF.filter=this.filter;this.gF.Qd=this.Qd;this.gF.vg=this.vg;this.gF.IF(this.model,"objects")}k.prototype.filter=function(b){return m.b2a(b)?!0:!1};k.prototype.Qd=function(b){return m.V_a(b,this.$4a,this.ge,this.Iga,this.renderer)};
2375k.prototype.vg=function(b,h){h.dispose()};k.prototype.dispose=function(){this.gF.dispose()};return k}()});
2376define("jp",["require","exports","pg","nV"],function(a,e,l,m){return function(){function k(b,h){this.RN=b.RN;this.ia=h;this.Pj=[];this.RN.bind(l.F("spritesEnabled"),this.nta,this,!0);this.ia.bind(l.F("objects"),this.yD,this,!0);this.ha()}k.prototype.dispose=function(){this.RN.unbind(l.F("spritesEnabled"),this.nta,this);this.ia.unbind(l.F("objects"),this.yD,this);
2376this.Pj.forEach(function(b){b.aia(!1)});this.Pj=[]};k.prototype.nta=function(){this.ha()};k.prototype.yD=function(){this.ha()};k.prototype.ha=
2377function(){var b=[];!1===this.RN.get("spritesEnabled")&&b.push("SpriteModel3DObject");var h=this.ia.get("objects");this.Pj.forEach(function(f){-1==h.indexOf(f)&&f.aia(!1)});this.Pj=h;this.Pj.forEach(function(f){var c=b.some(function(d){return m.Ga(d,f)});f.aia(c)})};return k}()});
2378define("bs",["require","exports","kS"],function(a,e,l){var m=["camera","objects","postprocessing"],k=["userInteracting","moving"];return function(){function b(h){this.model=h;this.camera=null;this.ji=[];this.iF=this.iF.bind(this);this.K1=this.K1.bind(this);l.da(this.model,m,this.iF,!0)}b.prototype.dispose=function(){this.VA([])};b.prototype.iF=function(){this.setCamera(this.model.get("camera"));this.VA([].concat(this.model.get("objects"),this.model.get("postprocessing")))};b.prototype.setCamera=function(h){this.camera!==
2379h&&(this.camera&&l.ba(this.camera,k,this.K1),(this.camera=h)&&l.da(this.camera,k,this.K1,!0))};b.prototype.K1=function(){this.gL()};b.prototype.VA=function(h){this.ji!=h&&(h||(h=[]),this.ji&&this.ji.forEach(function(f){-1==h.indexOf(f)&&(f.$A&&f.$A(!1),f.tx&&f.tx(!1))}.bind(this)),this.ji=h,this.gL())};b.prototype.gL=function(){if(this.ji&&this.camera){var h=this.camera.get("userInteracting"),f=this.camera.get("moving");this.ji.forEach(function(c){c.$A&&c.$A(h);c.tx&&c.tx(f)}.bind(this))}};return b}()});
2380define("ds",["require","exports","kS","pg","oB"],function(a,e,l,m,k){var b=["objects"];return function(){function h(f){this.model=f;this.ji=[];this.iF=this.iF.bind(this);k.P.bind(m.ca,this.gL,this,!0);l.da(this.model,b,this.iF,!0)}h.prototype.dispose=function(){k.P.unbind(m.ca,this.gL,this);this.VA([])};h.prototype.iF=function(){this.VA([].concat(this.model.get("objects")))};h.prototype.VA=function(f){this.ji!=f&&(f||(f=[]),this.ji&&this.ji.forEach(function(c){-1==f.indexOf(c)&&(c.A2&&c.A2(!0),c.px&&
2381c.px(!1))}.bind(this)),this.ji=f,this.gL())};h.prototype.gL=function(){if(this.ji){var f=!k.isPresenting,c=k.isPresenting;this.ji.forEach(function(d){d.A2&&d.A2(f);d.px&&d.px(c)}.bind(this))}};return h}()});
2382define("nG","require exports kS fK pD jp bs ds".split(" "),function(a,e,l,m,k,b,h,f){var c=["variant"];return function(){function d(g,p,q,n){this.object=g;this.model=p;this.gha=q;this.renderer=n;this.Z1=this.Z1.bind(this);this.N=this.gha.T.Zc("Model");g=this.N.J(m.hh);this.bR=g.bR=this.gha.T.Zc("ModelContent");this.bR.J(m.lb).N=this.N;g.P=this.object;this.object.get("preload")&&(g.RDa=this.model.Q0().Bt());g.hp=this.model.N0().Bt();g.Jga=this.object.get("model");g.properties=this.object;g.xc=this.renderer.L;
2383g=this.N.J(m.td);g.P=this.object;g.Kw=!0;g.mx=!0;this.N.J(m.lb).N=this.gha;this.N.J(m.Aa);l.da(this.object,c,this.Z1,!0);this.gF=new k(this.model,this.object,this.N,this.bR,this.renderer);this.w7a=new b(this.renderer,this.object);this.G8a=new h(this.model);this.P8a=new f(this.model)}d.prototype.Jt=function(){return this.N};d.prototype.dispose=function(){l.ba(this.object,c,this.Z1);this.N.T.He(this.bR);this.N.T.He(this.N);this.gF.dispose();this.w7a.dispose();this.G8a.dispose();this.P8a.dispose()};
2384d.prototype.Z1=function(){var g=this.object.get("variant");g?this.N.H(m.ru,!0).name=g:this.N.la(m.ru)};return d}()});
2385define("eb","require exports kS pg ik fK three.mod".split(" "),function(a,e,l,m,k,b,h){var f=["collidable"],c=["image"],d=["color","depthTest","opacity","width"],g=["parentId"],p=["maxWorldToPixelScale","minWorldToPixelScale","scale"],q="x y z normalX normalY normalZ upX upY upZ width height attachToParent".split(" "),n=new h.Matrix4,r=new h.Vector3,u=new h.Vector3,t=new h.Vector3,v=new h.Euler,w=180/Math.PI,x="x y z positionX positionY positionZ rotationX rotationY rotationZ scale translationX translationY translationZ attachToParent".split(" "),
2386y=["clickEnabled","rollOverEnabled","transparentAreaActive","useHandCursor"],z=["castShadow","receiveShadow"],C=["color","depthTest","hidden","opacity"],A=["video"],B=["hidden","enabled","opacity"];return{qL:function(E){return function(G){function K(){return null!==G&&G.apply(this,arguments)||this}Z(K,G);K.prototype.md=function(){G.prototype.md.call(this);l.da(this.object,f,this.HCa||(this.HCa=this.y3a.bind(this)),!0)};K.prototype.nd=function(){l.ba(this.object,f,this.HCa);G.prototype.nd.call(this)};
2387K.prototype.y3a=function(){this.object.get("collidable")?this.N.la(b.hG):this.N.J(b.hG)};return K}(E)},Lm:function(E){return function(G){function K(){return null!==G&&G.apply(this,arguments)||this}Z(K,G);K.prototype.md=function(){G.prototype.md.call(this);this.hp=this.model.N0().Bt(.1);this.object.get("preload")&&this.model.Q0().xJ(this.hp,.1);var I=this.N.J(b.Lm);I.properties=this.object;I.P=this.object;I.isSprite=!1;I.priority=this.object.get("preload")?k.HB:k.Vja;I.hp=this.hp;l.da(this.object,
2388c,this.KCa||(this.KCa=this.I3a.bind(this)),!0)};K.prototype.nd=function(){this.model.N0().IK(this.hp);this.model.Q0().IK(this.hp);l.ba(this.object,c,this.KCa);G.prototype.nd.call(this)};K.prototype.I3a=function(){this.N.H(b.Lm).ega=this.object.get("image")};return K}(E)},gh:function(E){return function(G){function K(){return null!==G&&G.apply(this,arguments)||this}Z(K,G);K.prototype.md=function(){G.prototype.md.call(this);this.N.J(b.gh);l.da(this.object,d,this.NCa||(this.NCa=this.J3a.bind(this)),!0)};
2389K.prototype.nd=function(){l.ba(this.object,d,this.NCa);G.prototype.nd.call(this)};K.prototype.J3a=function(){var I=this.N.H(b.gh);I.color=this.object.get("color");I.opacity=this.object.get("opacity");I.depthTest=this.object.get("depthTest");I.width=this.object.get("width")};return K}(E)},Plane:function(E){return function(G){function K(){return null!==G&&G.apply(this,arguments)||this}Z(K,G);K.prototype.md=function(){G.prototype.md.call(this);this.N.J(b.Plane);this.N.J(b.Aa);l.da(this.object,q,this.ZCa||
2390(this.ZCa=this.M3a.bind(this)),!0)};K.prototype.nd=function(){l.ba(this.object,q,this.ZCa);G.prototype.nd.call(this)};K.prototype.M3a=function(){r.set(0,0,0);t.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);n.lookAt(r,u,t);v.setFromRotationMatrix(n);var I=this.N.H(b.Aa);I.Hw=this.object.get("attachToParent");I.translationX=this.object.get("x",0);I.translationY=
2391this.object.get("y",0);I.af=this.object.get("z",0);I.If=this.object.get("width",1);I.Wf=this.object.get("height",1);I.Ne=v.x*w;I.qe=v.y*w;I.Oe=v.z*w;I.positionX=0;I.positionY=0;I.positionZ=0};return K}(E)},lb:function(E){return function(G){function K(){return null!==G&&G.apply(this,arguments)||this}Z(K,G);K.prototype.md=function(){G.prototype.md.call(this);this.N.J(b.lb).N=this.ge;l.da(this.object,g,this.XCa||(this.XCa=this.K3a.bind(this)),!0)};K.prototype.nd=function(){l.ba(this.object,g,this.XCa);
2392G.prototype.nd.call(this)};K.prototype.K3a=function(){this.N.H(b.lb).id=this.object.get("parentId")};return K}(E)},GIa:function(E){return function(G){function K(){return null!==G&&G.apply(this,arguments)||this}Z(K,G);K.prototype.md=function(){G.prototype.md.call(this);l.da(this.object,p,this.YCa||(this.YCa=this.L3a.bind(this)),!0)};K.prototype.nd=function(){l.ba(this.object,p,this.YCa);G.prototype.nd.call(this)};K.prototype.L3a=function(){var I=this.object.get("maxWorldToPixelScale"),Q=this.object.get("minWorldToPixelScale");
2393if(void 0!==I||void 0!==Q){var W=this.N.H(b.yj,!0);W.BA=I;W.DA=Q;W.If=W.Wf=W.Bh=this.object.get("scale")}else null===(W=this.N)||void 0===W?void 0:W.la(b.yj)};return K}(E)},Bka:function(E){return function(G){function K(){return null!==G&&G.apply(this,arguments)||this}Z(K,G);K.prototype.md=function(){G.prototype.md.call(this);this.N.J(b.Aa);l.da(this.object,x,this.cDa||(this.cDa=this.N3a.bind(this)),!0)};K.prototype.nd=function(){l.ba(this.object,x,this.cDa);G.prototype.nd.call(this)};K.prototype.N3a=
2394function(){var I=this.N.H(b.Aa);I.Hw=this.object.get("attachToParent");I.positionX=this.object.get("x",this.object.get("positionX",0));I.positionY=this.object.get("y",this.object.get("positionY",0));I.positionZ=this.object.get("z",this.object.get("positionZ",0));I.Vf=this.object.get("rotationOrder","XYZ");I.Ne=this.object.get("rotationX",0);I.qe=this.object.get("rotationY",0);I.Oe=this.object.get("rotationZ",0);I.scale=this.object.get("scale",1);I.translationX=this.object.get("translationX",0);I.translationY=
2395this.object.get("translationY",0);I.af=this.object.get("translationZ",0)};return K}(E)},td:function(E){return function(G){function K(){return null!==G&&G.apply(this,arguments)||this}Z(K,G);K.prototype.md=function(){G.prototype.md.call(this);l.da(this.object,y,this.eDa||(this.eDa=this.R3a.bind(this)),!0)};K.prototype.nd=function(){l.ba(this.object,y,this.eDa);G.prototype.nd.call(this)};K.prototype.R3a=function(){var I=this.object.get("clickEnabled"),Q=this.object.get("rollOverEnabled");if(!1!==I&&
2396!1!==Q)this.N.la(b.Hp);else{var W=this.N.J(b.Hp);W.Uia=!1===I;W.Via=!1===Q}!1===I&&!1===Q?this.N.la(b.td):(W=this.N.H(b.td,!0),W.hL=this.object.get("useHandCursor"),W.iT=this.object.get("transparentAreaActive"),W.P=this.object,W.Kw=!!I,W.mx=!!Q)};return K}(E)},FL:function(E){return function(G){function K(){return null!==G&&G.apply(this,arguments)||this}Z(K,G);K.prototype.md=function(){G.prototype.md.call(this);l.da(this.object,z,this.gDa||(this.gDa=this.X3a.bind(this)),!0)};K.prototype.nd=function(){l.ba(this.object,
2397z,this.gDa);G.prototype.nd.call(this)};K.prototype.X3a=function(){var I=this.N.H(b.oi,!0);I.castShadow=this.object.get("castShadow");I.receiveShadow=this.object.get("receiveShadow")};return K}(E)},Ic:function(E){return function(G){function K(){return null!==G&&G.apply(this,arguments)||this}Z(K,G);K.prototype.md=function(){G.prototype.md.call(this);this.N.J(b.Ic);this.visible=!1;l.da(this.object,C,this.hDa||(this.hDa=this.Y3a.bind(this)),!0)};K.prototype.nd=function(){l.ba(this.object,C,this.hDa);
2398this.yf(!1);G.prototype.nd.call(this)};K.prototype.Y3a=function(){var I=this.N.H(b.Ic);I.color=this.object.get("color");I.opacity=this.object.get("hidden")?0:this.object.get("opacity");I.depthTest=this.object.get("depthTest");this.yf(0<I.opacity)};K.prototype.yf=function(I){this.visible!=I&&((this.visible=I)?this.object.trigger(m.dd):this.object.trigger(m.Tc))};return K}(E)},$n:function(E){return function(G){function K(){return null!==G&&G.apply(this,arguments)||this}Z(K,G);K.prototype.md=function(){G.prototype.md.call(this);
2399var I=this.N.J(b.$n);I.properties=this.object;I.P=this.object;l.da(this.object,A,this.iDa||(this.iDa=this.nF.bind(this)),!0)};K.prototype.nd=function(){l.ba(this.object,A,this.iDa);G.prototype.nd.call(this)};K.prototype.nF=function(){this.N.H(b.$n).eja=this.object.get("video")};return K}(E)},$ka:function(E){return function(G){function K(){return null!==G&&G.apply(this,arguments)||this}Z(K,G);K.prototype.md=function(){G.prototype.md.call(this);l.da(this.object,B,this.jDa||(this.jDa=this.$3a.bind(this)),
2400!0)};K.prototype.nd=function(){l.ba(this.object,B,this.jDa);G.prototype.nd.call(this)};K.prototype.$3a=function(){var I=this.N.H(b.oi,!0);I.opacity=this.object.get("enabled")&&!this.object.get("hidden")?this.object.get("opacity"):0;I.P=this.object};return K}(E)}}});
2401define("jT",["require","exports","nG","eb"],function(a,e,l,m){a=function(k){function b(h,f,c,d){h=k.call(this,h,f,c,d)||this;h.ge=h.N;h.md();return h}Z(b,k);b.prototype.md=function(){};b.prototype.nd=function(){};b.prototype.dispose=function(){this.nd();k.prototype.dispose.call(this)};return b}(l);return m.FL(a)});
2402define("gQ",["require","exports","kS","pg"],function(a,e,l,m){return function(){function k(b,h){this.renderer=b;this.model=h;this.xc=this.renderer.L;this.Q1=this.Q1.bind(this);this.ji=[];this.Ax="";this.Vt=null;this.$a()}k.prototype.dispose=function(){this.Ba()};k.prototype.$a=function(){l.da(this.model,"objects",this.Q1,!0);this.model.bind(m.cd,this.SCa,this,!0);this.model.bind(m.Vb,this.RCa,this,!0)};k.prototype.Ba=function(){this.model.unbind(m.cd,this.SCa,this);this.model.unbind(m.Vb,this.RCa,
2403this);l.ba(this.model,"objects",this.Q1);this.VA([]);this.Vt&&this.IA(this.Vt)};k.prototype.Q1=function(){this.VA(this.model.get("objects"))};k.prototype.VA=function(b){this.ji!=b&&(this.ji.forEach(function(h){h.unbind(m.cd,this.WCa,this);h.unbind(m.Vb,this.VCa,this);h.unbind(m.Tc,this.UCa,this)}.bind(this)),this.Vt&&0<=this.ji.indexOf(this.Vt)&&0>b.indexOf(this.Vt)&&this.IA(this.Vt),this.ji=b,this.ji.forEach(function(h){h.bind(m.cd,this.WCa,this,!0);h.bind(m.Vb,this.VCa,this,!0);h.bind(m.Tc,this.UCa,
2404this,!0)}.bind(this)))};k.prototype.WCa=function(b){b=b.source;this.dDa(b,b.get("toolTip"))};k.prototype.VCa=function(b){this.IA(b.source)};k.prototype.UCa=function(b){this.IA(b.source)};k.prototype.SCa=function(){this.dDa(this.model,this.model.get("toolTip"))};k.prototype.RCa=function(){this.IA(this.model)};k.prototype.IA=function(b){this.Vt==b&&(this.Vt=null,this.AFa(""))};k.prototype.dDa=function(b,h){this.Vt!=b&&(this.Vt=b,this.AFa(h||""))};k.prototype.AFa=function(b){this.Ax!=b&&(this.Ax=b,this.xc.set("toolTip",
2405this.Ax))};return k}()});
2406define("md",["require"],function(){function a(e){this.Nc=this.Ds(e.get("surfaceReticleColor"));this.nw=this.Ds(e.get("surfaceReticleSelectionColor"));this.Rb=e.get("surfaceReticleOpacity");this.SUa=e.get("surfaceReticleSelectionOpacity");this.Nh=this.zf=128;this.pTa=.456;this.qTa=.088;this.KQa=.18;this.R=document.createElement("canvas");this.R.width=this.zf;this.R.height=this.Nh;this.za=this.R.getContext("2d");this.za.fillStyle="red";this.za.imageSmoothingEnabled=!0;this.za.fillRect(0,0,this.zf,this.Nh);
2407this.hd=this.$u=!1;this.MH=this.$X=void 0;this.$B=0}a.prototype.x8=function(){return this.Ok(NaN*this.nw[0]+NaN*this.Nc[0],NaN*this.nw[1]+NaN*this.Nc[1])};a.prototype.Ds=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.Ok=function(e,l){return"rgba("+e.join(",")+", "+l+")"};a.prototype.setPosition=function(e){this.bb!=e&&(this.bb=e,this.xa=!0)};a.prototype.je=function(){return this.zf};a.prototype.Ye=function(){return this.Nh};
2408a.prototype.fg=function(){return this.R};a.prototype.update=function(){if(!this.xa)return!1;this.xa=!1;this.za.clearRect(0,0,this.zf,this.Nh);var e=[this.nw[0]*this.bb+(1-this.bb)*this.Nc[0],this.nw[1]*this.bb+(1-this.bb)*this.Nc[1],this.nw[2]*this.bb+(1-this.bb)*this.Nc[2]],l=this.SUa*this.bb+(1-this.bb)*this.Rb;this.za.strokeStyle=this.Ok(e,l);this.za.fillStyle=this.Ok(e,l*this.bb);this.za.beginPath();this.za.lineWidth=this.zf*this.qTa;this.za.arc(.5*this.zf,.5*this.zf,this.zf*this.pTa,0,2*Math.PI,
2409!1);this.za.stroke();this.za.beginPath();this.za.arc(.5*this.zf,.5*this.zf,this.zf*this.KQa,0,2*Math.PI,!1);this.za.fill();return!0};return a});define("hy",["require","md"],function(a){return a("md")});
2410define("iO","require kS pg gv hy v oB fK".split(" "),function(a){function e(p,q,n){this.ia=p;this.Ia=q;this.j=n;this.L=this.j.L;this.Rv=this.Rv.bind(this);this.Xv=this.Xv.bind(this);this.hd=void 0;this.ia.bind(m.F("surfaceSelectionEnabled"),this.W7,this,!0);this.W7()}var l=a("kS"),m=a("pg"),k=a("gv"),b=a("hy"),h=a("v"),f=a("oB"),c=a("fK");e.prototype.W7=function(){var p=this.ia.get("surfaceSelectionEnabled");!!this.m!=p&&(p?this.CC():this.$p())};e.prototype.CC=function(){if(!this.m){this.m=this.Ia.T.Zc("PointerReticle");
2411this.m.J(c.Plane).renderOrder=2;this.m.J(c.pk).N=this.Ia;this.m.J(c.Hp);this.m.J(c.hG);this.m.J(c.lb).N=this.Ia;var p=this.m.J(c.Xn);p.P=new k;p.P.bind(m.ca,this.bO,this,!0);l.da(this.ia,d,this.Rv,!0);this.kt=new b(this.L);this.kt.setPosition(0);
2411this.kt.update();p=this.m.J(c.mi);p.source=this.kt.fg();p.depthTest=!1;l.da(this.ia,g,this.Xv,!0);f.P.bind(m.ca,this.jI,this,!0);this.Be=null;this.aE(!1)}};e.prototype.$p=function(){this.m&&(this.Be&&(this.Be.trigger(m.Vb),this.Be=null),l.ba(this.ia,g,this.Xv),
2412this.zP(null),this.m.getComponent(c.Xn).P.unbind(m.ca,this.bO,this,!0),this.Ia.T.He(this.m),this.kt=this.m=null,f.P.unbind(m.ca,this.jI,this),l.ba(this.ia,d,this.Rv))};e.prototype.Rv=function(){var p=this.m.H(c.yj,!0);p.If=p.Wf=2;p.scale=this.ia.get("surfaceReticleRadius");p.BA=this.ia.get("surfaceReticleMaxRadius");p.DA=this.ia.get("surfaceReticleMinRadius")};e.prototype.bO=function(p){p=this.gpa(p.data.beacons);var q=this.Noa(p);0==q&&(p=null);this.cVa(p);this.tVa(q)};e.prototype.Xv=function(){this.zP(this.ia&&
2413this.ia.get("pointer"))};e.prototype.zP=function(p){this.$d!==p&&(this.$d&&(this.$d.unbind(m.qa,this.Ls,this,!0),this.$d.unbind(m.bc,this.qf,this,!0),this.$d.unbind(m.Vb,this.tn,this,!0)),this.$d=p)&&(this.$d.bind(m.qa,this.Ls,this,!0),this.$d.bind(m.bc,this.qf,this,!0),this.$d.bind(m.Vb,this.tn,this,!0))};e.prototype.Ls=function(p){var q=null;if(h.nb()&&!f.isPresenting){var n=this.m.getComponent(c.Xn);n&&n.rR&&p.data.position&&(p=n.rR((new THREE.Vector3).copy(p.data.position)),p=this.gpa(p),0!=this.Noa(p)&&
2414(q=this.u8(p)))}else q=this.Be;q&&q.trigger(m.qa)};e.prototype.qf=function(p){this.aE("other"==p.data.type?!1:!0)};e.prototype.tn=function(){this.aE(!1)};e.prototype.aE=function(p){this.hd!==p&&(this.hd=p,this.Uk())};e.prototype.jI=function(){this.Uk()};e.prototype.Uk=function(){this.m.H(c.mi).opacity=h.nb()&&!f.isPresenting||!this.hd?0:1};e.prototype.cVa=function(p){p=this.u8(p);this.Be!=p&&(this.Be&&this.Be.trigger(m.Vb),(this.Be=p)&&this.Be.trigger(m.cd))};e.prototype.gpa=function(p){if(!p)return null;
2415for(var q=0;q<p.length;q++)if(this.u8(p[q]))return p[q];return null};e.prototype.Noa=function(p){if(!p)return 0;var q=this.m.getComponent(c.Aa);return q?Math.max(0,1-p.distance/(this.ia.get("surfaceSelectionCoef")*q.scale*q.If)):0};e.prototype.u8=function(p){return(p=(p=p&&p.entity)&&p.getComponent(c.tL))&&p.K7a||null};e.prototype.tVa=function(p){this.kt.setPosition(p);this.kt.update()&&(this.m.H(c.mi).$S=(new Date).getTime())};e.prototype.dispose=function(){this.$p();this.ia.unbind(m.F("surfaceSelectionEnabled"),
2416this.W7,this,!0)};var d=["surfaceReticleRadius","surfaceReticleMaxRadius","surfaceReticleMinRadius"],g=["pointer"];return e});
2417define("lr",["require","kS","pg","gv","fK"],function(a){function e(f,c,d){this.ia=f;this.Ia=c;this.Zu=d;this.U=!1;this.EX=this.EX.bind(this);l.da(this.ia,h,this.EX,!0)}var l=a("kS"),m=a("pg"),k=a("gv"),b=a("fK");e.prototype.EX=function(){var f=!!this.ia.get("maxNearestObjectsVisible");this.U!=f&&(this.U&&this.$p(),(this.U=f)&&this.CC())};e.prototype.CC=function(){var f=this.Zu.J(b.Xn);f.P=new k;f.P.bind(m.ca,this.bO,this,!0);this.Ia.T.Va()};e.prototype.$p=function(){this.Zu.getComponent(b.Xn).P.unbind(m.ca,
2418this.bO,this,!0);this.Zu.la(b.Xn);this.ia.get("objects").forEach(function(f){f.get("hideBasedOnDistance")&&f.bia(!1)})};e.prototype.bO=function(f){var c=0,d=this.ia.get("maxNearestObjectsVisible");f.data.beacons.forEach(function(g){if(g=this.IOa(g))g.get("hideBasedOnDistance")?(g.bia(c>=d),c++):g.bia(!1)}.bind(this))};e.prototype.IOa=function(f){f=(f=f.entity.getComponent(b.tL))&&f.object;f.get&&void 0!==f.get("hideBasedOnDistance")||(f=null);return f};e.prototype.dispose=function(){l.ba(this.ia,
2419h,this.EX);this.U&&(this.U=!1,this.$p())};var h=["maxNearestObjectsVisible"];return e});
2420define("fN","require lE kS pg gv fK".split(" "),function(a){var e=a("lE"),l=a("kS"),m=a("pg"),k=a("gv"),b=a("fK");a=e.extend(k,function(f,c){k.call(this);this.Dd=f;this.Ia=c;this.Df=this.Df.bind(this);this.m=null;this.Wk=0;this.Mb=!1;this.WO=[];this.Dd.bind(m.F("areaOpacity"),this.Esa,this);this.Bw()});a.prototype.E2=function(f){this.WO.forEach(function(c){c.unbind(m.dd,this.ce,this,!0);c.unbind(m.Tc,this.ce,this,!0)}.bind(this));this.WO=f;this.WO.forEach(function(c){c.bind(m.dd,this.ce,this,!0);
2421c.bind(m.Tc,this.ce,this,!0)}.bind(this));this.$wa();this.ce()};a.prototype.dispose=function(){this.Dd.unbind(m.F("areaOpacity"),this.Esa,this);this.xw()};a.prototype.Jt=function(){return this.m};a.prototype.isVisible=function(){return this.Mb};a.prototype.Esa=function(){this.Bw();this.Uk()};a.prototype.Bw=function(){0<this.Dd.get("areaOpacity")?this.Zz():this.xw()};a.prototype.Zz=function(){if(!this.m){this.m=this.Ia.T.Zc("MeasureArea");var f=new k;f.bind(m.ca,this.rz,this,!0);this.m.J(b.Fm).P=f;
2422this.m.J(b.Ic);this.m.J(b.lb).N=this.Ia;l.da(this.Dd,h,this.Df,!0);this.$wa()}};a.prototype.xw=function(){this.m&&(this.m.getComponent(b.Fm).P.unbind(m.ca,this.rz,this,!0),l.ba(this.Dd,h,this.Df),this.m.T.He(this.m),this.m=null)};a.prototype.dt=function(f){this.Mb!=f&&((this.Mb=f)?(this.Lo(1),this.trigger(m.dd)):(this.Lo(0),this.trigger(m.Tc)))};a.prototype.ce=function(){this.dt(this.WO.every(function(f){return f.isVisible()}))};a.prototype.rz=function(f){this.Dd.set("area",f.data.area)};a.prototype.Df=
2423function(){if(this.m){var f=this.m.H(b.Ic);f.color=this.Dd.get("areaColor");f.depthTest=this.Dd.get("depthTest");f.doubleSided=!0;this.Uk()}};a.prototype.Lo=function(f){this.Wk!=f&&(this.Wk=f,this.Uk())};a.prototype.Uk=function(){this.m&&(this.m.H(b.Ic).opacity=this.Dd.get("areaOpacity")*Math.max(1E-4,this.Wk))};a.prototype.$wa=function(){this.m&&(this.m.H(b.Fm).A=this.WO.map(function(f){return f.Jt()}))};var h=["areaColor","areaOpacity","depthTest"];return a});
2424define("bT",["require","hG"],function(a){function e(b,h,f){k.style.fontFamily=m.Qw(h.fontFamily);k.style.fontSize=h.fontSize;k.style.fontWeight=h.fontWeight;k.style.fontStyle=h.fontStyle;k.innerHTML=b;document.body.appendChild(k);var c=new l(Math.ceil(k.clientWidth),Math.ceil(k.clientHeight));document.body.removeChild(k);f&&(f.font=h.fontSize+" "+m.Qw(h.fontFamily),b=f.measureText(b).width,0<b&&(c.height*=b/c.width,c.width=b));return c}function l(b,h){this.width=b;this.height=h}var m=a("hG"),k=document.createElement("div");
2425k.style.display="inline-block";
2425k.style.margin=0;k.style.padding=0;k.style.whiteSpace="nowrap";e.Y4=function(){this.fontFamily="Arial";this.fontSize="12px";this.fontWeight="400";this.fontStyle="normal"};return e});
2426define("fy",["require","bT","hG"],function(a){function e(){this.i8=this.Ds("#ffffff");this.qy=this.Ds("#000000");this.Nh=this.zf=0;this.R=document.createElement("canvas");this.za=this.R.getContext("2d");this.za.imageSmoothingQuality="high";this.it=new m.Y4;this.j8=this.qH=void 0;this.H5=this.I5=.5;this.ar=void 0;this.cJ=e.E4;this.Aw=void 0;this.WK(0)}function l(b){return 100<b?b.toFixed(0):10<b?b.toFixed(1):b.toFixed(2)}var m=a("bT"),k=a("hG");e.Jja="imperial area";e.Kja="imperial length";e.Sja="metric area";
2427e.E4="metric length";e.prototype.dispose=function(){this.R.width=this.R.height=0;this.R=null};e.prototype.I5a=function(b){this.i8!=b&&(this.i8=b,this.xa=!0)};e.prototype.l5a=function(b){this.qy!=b&&(this.qy=b,this.xa=!0)};e.prototype.J5a=function(b){this.j8!=b&&(this.j8=b,this.xa=!0)};e.prototype.K5a=function(b){this.qH!=b&&(this.qH=b,this.xa=!0)};e.prototype.Mha=function(){.5!=this.it.yJ&&(this.H5=.5,this.xa=!0)};e.prototype.Nha=function(b){this.it.zJ!=b&&(this.I5=b,this.xa=!0)};e.prototype.WK=function(b){this.ar!=
2428b&&(this.ar=b,this.Bda())};e.prototype.T6a=function(b){this.cJ!=b&&(this.cJ=b,this.Bda())};e.prototype.U6a=function(b){this.Aw!=b&&(this.Aw=b,this.Bda())};e.prototype.Bda=function(){if(void 0===this.Aw)this.Na=l(this.ar);else if(this.cJ==e.E4){var b=this.ar*this.Aw;this.Na=1<=b?l(b)+"m":l(100*b)+"cm"}else this.cJ==e.Sja?(b=this.ar*this.Aw*this.Aw,this.Na=.1<=b?l(b)+"m\u00b2":l(1E4*b)+"cm\u00b2"):this.cJ==e.Kja?(b=this.ar*this.Aw*1.0936,this.Na=1760<b?l(b/1760)+"mi":100<=b?l(b)+"yd":1<=3*b?l(3*b)+
2429"ft":l(36*b)+"in"):this.cJ==e.Jja&&(b=this.ar*this.Aw*1.0936*this.Aw*1.0936,this.Na=1<=b?l(b)+"yd\u00b2":1<=9*b?l(9*b)+"ft\u00b2":l(1296*b)+"in\u00b2");this.xa=!0};e.prototype.Ds=function(b){b=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(b);return[parseInt(b[1],16),parseInt(b[2],16),parseInt(b[3],16)]};e.prototype.Ok=function(b,h){return"rgba("+b.join(",")+", "+h+")"};e.prototype.je=function(){return this.zf};e.prototype.Ye=function(){return this.Nh};e.prototype.fg=function(){return this.R};e.prototype.update=
2430function(){if(!this.xa)return!1;this.xa=!1;this.it.fontFamily=this.j8||"Arial";this.it.fontSize=this.qH?"string"==typeof this.qH?this.qH:this.qH+"px":"30px";var b=m(this.Na,this.it),h=this.Ds(this.i8),f=this.Ds(this.qy),c=b.width;b=b.height;var d=.5*b,g=.3*b,p=d+c+.5*b,q=g+b+.2*b,n=.5*q;this.R.width=this.R.height=this.zf=this.Nh=Math.max(128,Math.pow(2,Math.ceil(Math.log(Math.max(p,q))/Math.LN2)));var r=this.zf*this.H5-p*this.H5,u=this.Nh*this.I5-q*this.I5;this.QG();this.za.save();this.za.translate(r,
2431u);this.za.fillStyle=this.Ok(f,1);this.za.beginPath();this.za.moveTo(0,n);this.za.quadraticCurveTo(0,0,n,0);this.za.lineTo(p-n,0);this.za.quadraticCurveTo(p,0,p,n);this.za.quadraticCurveTo(p,q,p-n,q);this.za.lineTo(n,q);this.za.quadraticCurveTo(0,q,0,q-n);this.za.closePath();this.za.fill();this.za.fillStyle=this.Ok(h,1);this.za.font=this.it.fontSize+" '"+this.it.fontFamily+"'";this.za.font=this.it.fontSize+(isNaN(this.it.fontSize)?"":"px")+" "+k.Qw(this.it.fontFamily);this.za.textBaseline="middle";
2432this.za.textAlign="center";this.za.fillText(this.Na,Math.round(d+.5*c),Math.round(g+.5*b));
2432this.za.restore();return!0};e.prototype.QG=function(){this.za.clearRect(0,0,this.zf,this.Nh)};return e});
2433define("fH","require lE kS pg gv fK fy ez".split(" "),function(a){var e=a("lE"),l=a("kS"),m=a("pg"),k=a("gv"),b=a("fK"),h=a("fy"),f=a("ez");a=e.extend(k,function(d,g,p){k.call(this);this.I$=d;this.Dd=g;this.Ia=p;this.Df=this.Df.bind(this);this.No=this.m=null;this.Wk=0;this.Mb=!1;this.QZ=this.jh=this.Jz=this.jz=null;this.ar=void 0;this.Wh=new h;this.I$.bind(m.F("worldUnitToMeters"),this.xaa,this,!0);this.Dd.bind(m.F("units"),this.kaa,this,!0);this.Zz()});a.prototype.gFa=function(d){this.mZ(d,null,
2434null)};a.prototype.A6a=function(d){this.mZ(null,d,null)};a.prototype.k5a=function(d){this.mZ(null,null,d)};a.prototype.mZ=function(d,g,p){if(this.Jz!=g||this.jz!=d||this.jh!=p)[this.jz,this.Jz,this.jh].forEach(function(q){q&&q.unbind(m.dd,this.ce,this,!0);q&&q.unbind(m.Tc,this.ce,this,!0)}.bind(this)),this.xw(),this.jz=d,this.Jz=g,this.jh=p,this.Zz(),this.Df(),this.qg(!0),[this.jz,this.Jz,this.jh].forEach(function(q){q&&q.bind(m.dd,this.ce,this,!0);q&&q.bind(m.Tc,this.ce,this,!0)}.bind(this)),this.jz?
2435(this.m.H(b.lb).N=this.jz.Jt(),this.m.H(b.Aa).af=.5,d=this.m.H(b.Sprite),d.yJ=.5,d.zJ=.5,this.Wh.Mha(),this.Wh.Nha(.5)):this.Jz?(this.m.H(b.lb).N=this.Jz.Jt(),this.m.H(b.Aa).af=0,d=this.m.H(b.Sprite),d.yJ=.5,d.zJ=1.
24351,this.Wh.Mha(),this.Wh.Nha(1)):this.jh?(this.m.H(b.lb).N=this.jh.Jt(),this.m.H(b.Aa).af=0,d=this.m.H(b.Sprite),d.yJ=.5,d.zJ=.5,this.Wh.Mha(),this.Wh.Nha(.5)):this.m.H(b.lb).N=null,this.ce(),this.kaa(),this.xaa()};a.PIa="partialDistance";a.Kka="distance";a.OIa="area";a.prototype.setStyle=
2436function(d){this.QZ!=d&&(this.QZ=d,this.Df())};a.prototype.WK=function(d){void 0!==d&&this.ar!==d&&(this.ar=d,this.Wh.WK(d),this.qg(),this.ce())};a.prototype.dispose=function(){this.I$.unbind(m.F("worldUnitToMeters"),this.xaa,this,!0);this.Dd.unbind(m.F("units"),this.kaa,this,!0);this.mZ(null,null);this.Wh.dispose();this.Wh=null;this.xw()};a.prototype.xaa=function(){this.Wh.U6a(this.I$.get("worldUnitToMeters"));this.qg()};a.prototype.kaa=function(){var d=this.Dd.get("units"),g=!!this.jh;this.Wh.T6a("imperial"==
2437d?g?h.Jja:h.Kja:g?h.Sja:h.E4);this.qg()};a.prototype.Zz=function(){if(!this.m){this.m=this.Ia.T.Zc("MeasureLabel");this.m.J(b.Sprite).renderOrder=2;this.m.J(b.Hp);var d=this.m.J(b.mi);d.source=this.Wh.fg();d.isSprite=!0;l.da(this.Dd,c,this.Df,!0);this.m.J(b.Aa);this.m.J(b.lb)}};a.prototype.xw=function(){this.m&&(l.ba(this.Dd,c,this.Df),this.m.T.He(this.m),this.m=null)};a.prototype.isVisible=function(){return this.Mb};a.prototype.dt=function(d){this.Mb!=d&&((this.Mb=d)?(this.pWa(),this.trigger(m.dd)):
2438(this.pXa(),this.Lo(0),this.trigger(m.Tc)))};a.prototype.ce=function(){this.dt(0<this.ar&&(this.jz&&this.jz.isVisible()||this.Jz&&this.Jz.isVisible()||this.jh&&this.jh.isVisible()))};a.prototype.pWa=function(){this.No||(this.No=new f,this.No.set("duration",300),this.No.bind(f.S3,this.mta,this,!0),this.No.bind(f.kk,this.lta,this,!0),this.No.play())};a.prototype.pXa=function(){this.No&&(this.No.unbind(f.S3,this.mta,this,!0),this.No.unbind(f.kk,this.lta,this,!0),this.No.stop(),this.No=null)};a.prototype.mta=
2439function(){this.Lo(2*this.No.bl()-1)};a.prototype.lta=function(){this.Lo(1)};a.prototype.Df=function(){this.m.H(b.mi).depthTest=this.xH("depthTest");this.Wh.I5a(this.xH("labelFontColor"));this.Wh.l5a(this.xH("labelBackgroundColor"));this.Wh.J5a(this.xH("labelFontFamily"));this.Wh.K5a(this.xH("labelFontSize"));this.Uk();this.qg()};a.prototype.xH=function(d){var g;this.QZ&&(g=this.Dd.get(this.QZ+d[0].toUpperCase()+d.substr(1)));void 0===g&&(g=this.Dd.get(d));return g};a.prototype.qg=function(d){if(this.Wh.update()||
2440d){d=this.m.H(b.mi);var g=this.m.H(b.Sprite);d.$S=(new Date).getTime();g.width=this.Wh.je();g.height=this.Wh.Ye()}};a.prototype.Lo=function(d){this.Wk!=d&&(this.Wk=d,this.Uk())};a.prototype.Uk=function(){this.m.H(b.mi).opacity=this.xH("labelOpacity")*Math.max(1E-4,this.Wk)};var c="depthTest areaLabelBackgroundColor areaLabelFontColor areaLabelFontFamily areaLabelOpacity areaLabelFontSize distanceLabelBackgroundColor distanceLabelFontColor distanceLabelFontFamily distanceLabelOpacity distanceLabelFontSize labelBackgroundColor labelFontColor labelFontFamily labelOpacity labelFontSize partialDistanceLabelBackgroundColor partialDistanceLabelFontColor partialDistanceLabelFontFamily partialDistanceLabelOpacity partialDistanceLabelFontSize".split(" ");
2441return a});
2442define("dO","require lE kS pg gv fK".split(" "),function(a){var e=a("lE"),l=a("kS"),m=a("pg"),k=a("gv"),b=a("fK");a=e.extend(k,function(f,c){k.call(this);this.Dd=f;this.Ia=c;this.hm=this.fm=null;this.Df=this.Df.bind(this);this.m=null;this.Wk=0;this.Mb=!1;this.Zz()});a.prototype.E2=function(f,c){if(this.fm!=f||this.hm!=c)this.fm&&this.fm.unbind(m.dd,this.ce,this,!0),this.fm&&this.fm.unbind(m.Tc,this.ce,this,!0),this.hm&&this.hm.unbind(m.dd,this.ce,this,!0),this.hm&&this.hm.unbind(m.Tc,this.ce,this,
2443!0),this.fm=f,this.hm=c,this.fm&&this.fm.bind(m.dd,this.ce,this,!0),this.fm&&this.fm.bind(m.Tc,this.ce,this,!0),this.hm&&this.hm.bind(m.dd,this.ce,this,!0),this.hm&&this.hm.bind(m.Tc,this.ce,this,!0),this.m.H(b.lb,!0).N=this.fm&&this.fm.Jt(),this.m.H(b.Wr,!0).N=this.hm&&this.hm.Jt(),this.ce()};a.prototype.Jt=function(){return this.m};a.prototype.dispose=function(){this.E2(null,null);this.xw()};a.prototype.Zz=function(){this.m||(this.m=this.Ia.T.Zc("MeasureLine"),this.m.J(b.Line),this.m.J(b.gh),this.m.J(b.Aa),
2444l.da(this.Dd,h,this.Df,!0))};a.prototype.xw=function(){this.m&&(l.ba(this.Dd,h,this.Df),this.m.T.He(this.m),this.m=null)};a.prototype.isVisible=function(){return this.Mb};a.prototype.dt=function(f){this.Mb!=f&&((this.Mb=f)?(this.Lo(1),this.trigger(m.dd)):(this.Lo(0),this.trigger(m.Tc)))};a.prototype.ce=function(){this.dt(this.fm&&this.fm.isVisible()&&this.hm&&this.hm.isVisible())};a.prototype.Df=function(){var f=this.m.H(b.gh);f.color=this.Dd.get("lineColor");f.depthTest=this.Dd.get("depthTest");
2445f.width=this.Dd.get("lineWidth");f.depthTest=this.Dd.get("depthTest");this.Uk()};a.prototype.Lo=function(f){this.Wk!=f&&(this.Wk=f,this.Uk())};a.prototype.Uk=function(){this.m.H(b.gh).opacity=this.Dd.get("lineOpacity")*Math.max(1E-4,this.Wk)};var h=["depthTest","lineColor","lineOpacity","lineWidth"];return a});
2446define("oE","require lE kS pg gv fK".split(" "),function(a){var e=a("lE"),l=a("kS"),m=a("pg"),k=a("gv"),b=a("fK");a=e.extend(k,function(d,g,p,q){k.call(this);this.Dd=d;this.ia=g;this.Ia=p;this.Jq=q;this.KX=this.KX.bind(this);this.Df=this.Df.bind(this);this.sn=this.sn.bind(this);this.m=null;this.ti=this.nP=this.hd=this.py=!1;this.Wk=0;this.Mb=!1;this.Zz();l.da(this.Dd,h,this.KX,!0);l.da(this.Dd,c,this.Df,!0);l.vt(this.Jq,f,this.sn,!0);this.bind(m.vu,this.Tsa,this,!0);this.bind(m.cd,this.iI,this,!0);
2447this.bind(m.Vb,this.tn,this,!0);this.sn();this.V0()&&this.dt(!0)});a.prototype.dispose=function(){l.ba(this.Dd,h,this.KX);l.ba(this.Dd,c,this.Df);l.ba(this.Jq,f,this.sn);this.unbind(m.vu,this.Tsa,this,!0);this.unbind(m.cd,this.iI,this,!0);this.unbind(m.Vb,this.tn,this,!0);this.xw()};a.prototype.Jt=function(){return this.m};a.prototype.JEa=function(d){this.py!==d&&((this.py=d)?(d=this.m.J(b.pk),d.N=this.Ia,d.rotate=!1,d.P=new k,this.dt(!0),d.P.bind(m.cd,this.ZH,this,!0)):((d=this.m.getComponent(b.pk))&&
2448d.P.unbind(m.cd,this.ZH,this,!0),this.m.la(b.pk),d=this.ia.worldPositionToLocal([this.x,this.y,this.z],this.ia.getMatrixWorld()),this.QEa(d[0],d[1],d[2])),this.fA(),this.Nda())};a.prototype.VEa=function(d){void 0===d&&(d=!1);this.ti!==d&&((this.ti=d)?this.m.J(b.Qx):this.m.la(b.Qx))};a.prototype.H6a=function(d){this.nP!==d&&(this.nP=d,this.Nda(),this.hd=!1,this.fA())};a.prototype.QEa=function(d,g,p){this.Jq.set("x",d);this.Jq.set("y",g);this.Jq.set("z",p);this.dt(this.V0())};a.prototype.Zz=function(){this.m=
2449this.Ia.T.Zc("MeasurePoint");this.m.J(b.Sphere);this.m.J(b.Ic);this.m.J(b.td).P=this;this.m.J(b.Hp);this.m.J(b.Aa).P=this;this.m.J(b.yj);this.m.J(b.lb).N=this.Ia;this.Nda();this.Uk();this.fA()};a.prototype.xw=function(){this.m.T.He(this.m);this.m=null};a.prototype.isVisible=function(){return this.Mb};a.prototype.dt=function(d){this.Mb!=d&&((this.Mb=d)?(this.Lo(1),this.trigger(m.dd)):(this.Lo(0),this.trigger(m.Tc)))};a.prototype.Nda=function(){var d=this.m.H(b.td);d.hL=this.nP;d.mx=this.nP;d.Kw=!this.py;
2450d=this.m.H(b.Hp,!0);d.Via=!this.nP||this.py;d.Uia=this.py};a.prototype.ZH=function(){this.dt(!0)};a.prototype.iI=function(){this.hd=!0;this.fA()};a.prototype.tn=function(){this.hd=!1;this.fA()};a.prototype.KX=function(){this.m.H(b.lb).id=this.Dd.get("parentId")};a.prototype.Df=function(){if(this.m){var d=this.m.H(b.yj);d.If=d.Wf=d.Bh=1;d.BA=this.Dd.get("pointMaxRadius");d.DA=this.Dd.get("pointMinRadius");d.scale=this.Dd.get("pointRadius")||1;this.m.H(b.Ic).depthTest=this.Dd.get("depthTest");this.fA()}};
2451a.prototype.fA=function(){if(this.m){var d=this.py?"pointDragColor":this.hd?"pointOverColor":"pointColor";this.m.H(b.Ic).color=this.Dd.get(d)}};a.prototype.Lo=function(d){this.Wk!=d&&(this.Wk=d,this.Uk())};a.prototype.Uk=function(){this.m.H(b.Ic).opacity=Math.max(1E-4,this.Wk)};a.prototype.Tsa=function(d){this.x=d.data.position.x;this.y=d.data.position.y;this.z=d.data.position.z};a.prototype.sn=function(){if(this.V0()&&this.m){var d=this.m.H(b.Aa,!0);d.positionX=d.positionY=d.positionZ=0;d.Ne=d.qe=
2452d.Oe=0;d.translationX=this.Jq.get("x");d.translationY=this.Jq.get("y");d.af=this.Jq.get("z")}};a.prototype.V0=function(){var d=this.Jq.get("x"),g=this.Jq.get("y"),p=this.Jq.get("z");return void 0!==d&&void 0!==g||void 0!==p};a.prototype.distanceTo=function(d){var g=this.x-d.x,p=this.y-d.y;d=this.z-d.z;return Math.sqrt(g*g+p*p+d*d)};var h=["parentId"],f=["x","y","z"],c="depthTest mode pointDragColor pointColor pointOverColor pointMaxRadius pointMinRadius pointRadius".split(" ");return a});
2453define("eA","require kS pg bn fN fH dO oE v".split(" "),function(a){function e(t,v,w,x,y){this.D=t;this.ia=v;this.Ia=w;this.j=y;this.L=this.j.L;this.vq=this.vq.bind(this);this.NX=this.NX.bind(this);this.DX=this.DX.bind(this);this.VX=this.VX.bind(this);this.bI=this.bI.bind(this);this.rz=this.rz.bind(this);this.Xv=this.Xv.bind(this);this.xo=this.xo.bind(this);this.$d=null;this.Ji=new Map;this.VO=new Map;this.nq=[];this.iD=[];this.qI=new Map;this.sh=[];this.Hi=null;this.h_();this.jf=this.Vc=void 0;this.U=
2454!1;l.da(this.D,["enabled"],this.vq,!0)}var l=a("kS"),m=a("pg"),k=a("bn"),b=a("fN"),h=a("fH"),f=a("dO"),c=a("oE"),d=a("v");e.prototype.dispose=function(){this.$p();l.ba(this.D,["enabled"],this.vq);this.Hi=this.sh=this.iD=this.nq=this.VO=this.Ji=null;this.h_();this.jf=this.Vc=null};e.prototype.vq=function(){this.D.get("enabled")?this.CC():this.$p()};e.prototype.CC=function(){this.U||(this.U=!0,this.nMa(),this.xna(this.D),document.addEventListener("keyup",this.xo),l.da(this.D,g,this.NX,!0),l.da(this.D,
2455q,this.VX,!0),l.da(this.D,p,this.DX,!0),l.da(this.D,n,this.bI,!0),l.da(this.D,r,this.rz,!0),l.da(this.ia,u,this.Xv,!0))};e.prototype.$p=function(){this.U&&(this.U=!1,this.Cva([]),this.Una(this.D),this.wNa(),document.removeEventListener("keyup",this.xo),l.ba(this.D,g,this.NX),l.ba(this.D,q,this.VX),l.ba(this.D,p,this.DX),l.ba(this.D,n,this.bI),l.ba(this.D,r,this.rz),l.ba(this.ia,u,this.Xv),this.zP(null))};e.prototype.Xv=function(){this.zP(this.ia&&this.ia.get("pointer"))};e.prototype.zP=function(t){this.$d!==
2456t&&(this.$d&&(this.$d.unbind(m.qa,this.wsa,this,!0),this.$d.unbind(m.sl,this.xsa,this,!0)),this.$d=t)&&(this.$d.bind(m.qa,this.wsa,this,!0),this.$d.bind(m.sl,this.xsa,this,!0))};e.prototype.NX=function(){this.Cva(this.D.get("points"))};e.prototype.DX=function(){var t=this.D.get("mode");if(t!=this.Vc){switch(this.Vc){case "create":1>this.sh.length||this.Hi&&2>this.sh.length?t="create":this.uUa(this.Hi);break;case "edit":"create"==t?"single"===this.D.get("type")&&0<this.sh.length?t="edit":this.jU():
2457this.pw(null);break;case "view":"create"===t&&("single"===this.D.get("type")&&0<this.sh.length?t="view":this.jU());break;default:"create"==t&&("single"===this.D.get("type")&&0<this.sh.length&&this.c9(this.wv(-1))?t="edit":this.pw(this.wv(-1),!1))}this.Vc=t;this.D.set("mode",this.Vc);this.xxa()}};e.prototype.VX=function(){var t=this.D.get("type");t!==this.jf&&(this.jf=t,"single"===this.jf&&1<this.sh.length&&this.D.set("points",this.Q9a.slice(0,1)))};e.prototype.bI=function(){this.mxa();this.g_()};
2458e.prototype.rz=function(){var t=this.K8(this.jh);t&&t.WK(this.D.get("area"))};e.prototype.xo=function(t){t.which==k.DT&&this.L.get("isKeyboardTarget")&&("create"==this.D.get("mode")?this.D.set("mode","edit"):"edit"==this.Vc&&this.pw(null))};e.prototype.jU=function(){this.XJa();this.pw(this.wv(-1),!1)};e.prototype.oN=function(){return d.nb()&&!d.Hf()};e.prototype.XJa=function(){var t=this.L.get("application").pm("MeasureModel3DObjectPoint");if(!this.oN()){var v=this.wv(-1);v&&this.c9(v)&&(t.set("x",
2459v.get("x")),t.set("y",v.get("y")),t.set("z",v.get("z")))}this.D.set("points",this.sh.concat([t]))};e.prototype.wv=function(t){var v=[this.D].concat(this.sh);return 0>t&&0<v.length-t?v[v.length+t]:0<=t&&t<v.length?v[t]:null};e.prototype.uUa=function(t){this.D.set("points",this.sh.filter(function(v){return v!=t}))};e.prototype.c9=function(t){return!!t&&this.Ji.get(t).V0()};e.prototype.wsa=function(t){if("other"!=t.data.type)if("create"==this.D.get("mode")){if(this.Hi){var v=this.Hi;this.pw(null);this.rKa(v,
2460t)}"single"==this.jf&&0<this.sh.length?this.D.set("mode","edit"):this.jU()}else"edit"==this.D.get("mode")&&this.pw(null)};e.prototype.xsa=function(){"create"==this.D.get("mode")&&this.oN()&&this.D.set("mode","edit")};e.prototype.Psa=function(){"create"==this.D.get("mode")&&this.D.set("mode","edit")};e.prototype.Osa=function(t){if("create"==this.D.get("mode")){var v=this.wv(-2);t=this.VO.get(t.source);v==t?this.D.set("mode","edit"):(v=this.Hi,this.pw(null),v.set("x",t.get("x")),v.set("y",t.get("y")),
2461v.set("z",t.get("z")),v=this.wv(0),t==v?this.D.set("mode","edit"):this.jU())}};e.prototype.Qsa=function(t){"edit"==this.D.get("mode")&&this.pw(this.VO.get(t.source),!0)};e.prototype.Rsa=function(){"edit"==this.D.get("mode")&&this.pw(null)};e.prototype.Ssa=function(){this.g_()};e.prototype.g_=function(){for(var t=[],v=this.wv(0),w=this.V8(),x=0;x<w.length;x++){var y=w[x];v=this.Ji.get(v);var z=this.Ji.get(y);z=v.distanceTo(z);(v=this.K8(this.nq[x]))&&v.WK(z);t.push(z);v=y}t=t.reduce(function(C,A){return C+
2462A},0);(v=this.K8(this.Ji.get(w[w.length-1])))&&v.WK(t);this.D.set("distance",isNaN(t)?void 0:t)};e.prototype.rKa=function(t,v){if(v=v&&v.data.position)v=this.ia.worldPositionToLocal(v,this.ia.getMatrixWorld()),this.Ji.get(t).QEa(v.x,v.y,v.z)};e.prototype.pw=function(t,v){v||(v=!1);if(this.Hi!==t){if(this.Hi){var w=this.Ji.get(this.Hi);w.VEa(!1);w.JEa(!1)}if(this.Hi=t)w=this.Ji.get(this.Hi),w.VEa(v),w.JEa(v||!this.oN());this.nxa();this.xxa();this.h_()}};
2462e.prototype.Cva=function(t){this.sh!=t&&(this.sh.forEach(function(v){-1==
2463t.indexOf(v)&&this.Una(v)}.bind(this)),this.sh=t,this.Hi&&this.sh.indexOf(this.Hi)&&(this.Hi=null),this.h_(),this.sh.forEach(function(v){this.xna(v)}.bind(this)),this.nxa(),this.mxa(),this.mYa(),this.g_())};e.prototype.V8=function(){return this.sh.filter(function(t){return this.c9(t)||this.Ji.get(t).py}.bind(this))};e.prototype.nxa=function(){for(;this.sh.length<this.nq.length;)this.zNa();for(;this.sh.length>this.nq.length;)this.TMa();for(var t=!0,v=0;v<this.sh.length;v++){var w=this.wv(v),x=this.wv(v+
24641);w==this.Hi&&(t=!1);var y=t?x:w;this.nq[v].E2(this.Ji.get(t?w:x),this.Ji.get(y))}};e.prototype.mxa=function(){this.hYa();var t=this.V8(),v=1==t.length;this.D.get("displayPartialDistanceLabel")&&!v&&this.nq.forEach(function(w){var x=this.OW(w);x.gFa(w);x.setStyle(h.PIa)}.bind(this));this.D.get("displayDistanceLabel")&&(v?(t=this.OW(this.nq[0]),t.gFa(this.nq[0]),t.setStyle(h.Kka)):1<t.length&&(v=this.Ji.get(t[t.length-1]),t=this.OW(v),t.A6a(v),t.setStyle(h.Kka)));this.D.get("displayAreaLabel")&&this.jh&&
2465(t=this.OW(this.jh),t.k5a(this.jh),t.setStyle(h.OIa));this.BNa();this.g_();this.rz()};e.prototype.xxa=function(){var t=!this.Hi&&"view"!=this.Vc;this.Ji.forEach(function(v){v.H6a(t)})};e.prototype.mYa=function(){this.jh&&this.jh.E2([this.D].concat(this.V8()).map(function(t){return this.Ji.get(t)}.bind(this)))};e.prototype.xna=function(t){var v=this.Ji.get(t);v||(v=new c(this.D,this.ia,this.Ia,t),this.Ji.set(t,v),this.VO.set(v,t),v.bind(m.sl,this.Psa,this,!0),v.bind(m.qa,this.Osa,this,!0),v.bind(m.jb,
2466this.Qsa,this,!0),v.bind(m.Eb,this.Rsa,this,!0),v.bind(m.vu,this.Ssa,this,!1))};e.prototype.Una=function(t){var v=this.Ji.get(t);v&&(v.unbind(m.vu,this.Ssa,this,!1),v.unbind(m.sl,this.Psa,this,!0),v.unbind(m.qa,this.Osa,this,!0),v.unbind(m.jb,this.Qsa,this,!0),v.unbind(m.Eb,this.Rsa,this,!0),v.dispose(),this.Ji["delete"](t),this.VO["delete"](v))};e.prototype.TMa=function(){var t=new f(this.D,this.Ia);this.nq.push(t)};e.prototype.zNa=function(){0!=this.nq.length&&this.nq.pop().dispose()};e.prototype.SMa=
2467function(){var t=new h(this.ia,this.D,this.Ia);this.iD.push(t);return t};e.prototype.hYa=function(){this.qI.clear()};e.prototype.OW=function(t){var v=this.iD.length>this.qI.size?this.iD[this.qI.size]:this.SMa();this.qI.set(t,v);return v};e.prototype.K8=function(t){return this.qI.get(t)};e.prototype.BNa=function(){for(;this.iD.length>this.qI.size;)this.yNa()};e.prototype.yNa=function(){0!=this.iD.length&&this.iD.pop().dispose()};e.prototype.nMa=function(){this.jh||(this.jh=new b(this.D,this.Ia))};
2468e.prototype.wNa=function(){this.jh&&(this.jh.dispose(),this.jh=null)};e.prototype.h_=function(){this.D.set("draggingPoint",!!this.Hi)};var g=["points"],p=["mode"],q=["type"],n=["displayAreaLabel","displayDistanceLabel","displayPartialDistanceLabel"],r=["area"],u=["pointer"];return e});
2469define("eR",["require","exports","fK","nG","eb"],function(a,e,l,m,k){a=function(b){function h(f,c,d,g,p){f=b.call(this,f,c,d,p)||this;f.ge=d;f.N.J(l.Mx);f.N.J(l.tL).object=f.object;f.md();return f}Z(h,b);h.prototype.md=function(){};h.prototype.nd=function(){};h.prototype.dispose=function(){this.nd();b.prototype.dispose.call(this)};return h}(m);a=k.td(a);a=k.$ka(a);a=k.qL(a);a=k.FL(a);a=k.lb(a);a=k.GIa(a);return a=k.Bka(a)});
2470define("cJ",["require","exports","kS","eb"],function(a,e,l,m){a=function(){function k(b,h,f,c,d){this.object=b;this.model=h;this.ge=f;this.renderer=d;this.gg=this.gg.bind(this);this.enabled=!1;this.N=null;l.da(this.object,["enabled"],this.gg,!0)}k.prototype.md=function(){};k.prototype.nd=function(){};k.prototype.dispose=function(){this.disable();l.ba(this.object,["enabled"],this.gg)};k.prototype.gg=function(){this.object.get("enabled")?this.enable():this.disable()};k.prototype.enable=function(){this.enabled||
2471(this.enabled=!0,this.N=this.ge.T.Zc("ImagePlane"),this.md())};k.prototype.disable=function(){this.enabled&&(this.enabled=!1,this.nd(),this.N.T.He(this.N),this.N=null)};return k}();a=m.td(a);a=m.qL(a);a=m.Lm(a);a=m.FL(a);a=m.lb(a);return a=m.Plane(a)});
2472define("cK",["require","exports","kS","fK","eb"],function(a,e,l,m,k){var b=["objectId"];a=function(){function h(f,c,d,g,p){this.object=f;this.model=c;this.ge=d;this.renderer=p;this.N=this.ge.T.Zc("InnerObject");this.Tv=this.Tv.bind(this);l.da(this.object,b,this.Tv,!0);this.md()}h.prototype.md=function(){};h.prototype.nd=function(){};h.prototype.Tv=function(){var f=this.N.H(m.iG,!0);f.id=this.object.get("objectId");f.container=this.ge};h.prototype.dispose=function(){this.nd();l.ba(this.object,b,this.Tv);
2473this.ge.T.He(this.N);this.N=null};return h}();a=k.td(a);a=k.qL(a);a=k.FL(a);return a=k.$ka(a)});
2474define("nI","require exports kS fK eb three.mod".split(" "),function(a,e,l,m,k,b){var h=["x","y","z"],f=["targetX","targetY","targetZ"];a=function(){function c(d,g,p,q,n){this.object=d;this.model=g;this.ge=p;this.renderer=n;this.gg=this.gg.bind(this);this.R1=this.R1.bind(this);this.X1=this.X1.bind(this);this.enabled=!1;this.N=null;l.da(this.object,["enabled"],this.gg,!0)}c.prototype.md=function(){};c.prototype.nd=function(){};c.prototype.dispose=function(){this.disable();l.ba(this.object,["enabled"],
2475this.gg)};c.prototype.gg=function(){this.object.get("enabled")?this.enable():this.disable()};c.prototype.enable=function(){this.enabled||(this.enabled=!0,this.N=this.ge.T.Zc("Line"),this.N.J(m.Aa),this.N.J(m.Line),this.N.J(m.Wr).position=new b.Vector3,l.da(this.object,h,this.R1,!0),l.da(this.object,f,this.X1,
2475!0),this.md())};c.prototype.disable=function(){this.enabled&&(this.enabled=!1,this.nd(),l.ba(this.object,h,this.R1),l.ba(this.object,f,this.X1),this.N.T.He(this.N),this.N=null)};c.prototype.R1=
2476function(){var d=this.N.H(m.Aa);d.translationX=this.object.get("x",0);d.translationY=this.object.get("y",0);d.af=this.object.get("z",0)};c.prototype.X1=function(){var d=this.N.H(m.Wr);d.position.x=this.object.get("targetX");d.position.y=this.object.get("targetY");d.position.z=this.object.get("targetZ")};return c}();a=k.td(a);a=k.gh(a);return a=k.lb(a)});
2477define("fo",["require","exports","kS","fK","eb"],function(a,e,l,m,k){var b=["radius","maxRadius","minRadius"];a=function(){function h(f,c,d,g,p){this.object=f;this.model=c;this.ge=d;this.renderer=p;this.gg=this.gg.bind(this);this.W1=this.W1.bind(this);this.enabled=!1;this.N=null;l.da(this.object,["enabled"],this.gg,!0)}h.prototype.md=function(){};h.prototype.nd=function(){};h.prototype.dispose=function(){this.disable();l.ba(this.object,["enabled"],this.gg)};h.prototype.gg=function(){this.object.get("enabled")?
2478this.enable():this.disable()};h.prototype.enable=function(){this.enabled||(this.enabled=!0,this.N=this.ge.T.Zc("Sphere"),this.N.J(m.Sphere),this.N.J(m.yj),l.da(this.object,b,this.W1,!0),this.md())};h.prototype.disable=function(){this.enabled&&(this.enabled=!1,this.nd(),l.ba(this.object,b,this.W1),this.N.T.He(this.N),this.N=null)};h.prototype.W1=function(){var f=this.N.H(m.yj);f.If=f.Wf=f.Bh=1;f.scale=this.object.get("radius");f.BA=this.object.get("maxRadius");f.DA=this.object.get("minRadius")};return h}();
2479a=k.td(a);a=k.qL(a);a=k.Ic(a);a=k.lb(a);return a=k.Bka(a)});
2480define("oo",["require","exports","kS","fK","eb"],function(a,e,l,m,k){var b="sourceCubeTexture sourceX sourceY sourceYaw sourceZ targetCubeTexture targetX targetY targetYaw targetZ position".split(" ");a=function(){function h(f,c,d,g,p){this.object=f;this.model=c;this.ge=d;this.Iga=g;this.renderer=p;this.gg=this.gg.bind(this);this.T1=this.T1.bind(this);this.enabled=!1;this.N=null;l.da(this.object,["enabled"],this.gg,!0)}h.prototype.md=function(){};h.prototype.nd=function(){};h.prototype.dispose=function(){this.disable();
2481l.ba(this.object,["enabled"],this.gg)};h.prototype.gg=function(){this.object.get("enabled")?this.enable():this.disable()};h.prototype.enable=function(){if(!this.enabled){this.enabled=!0;this.N=this.ge.T.Zc("ProjectedMaterial");this.N.J(m.ds);var f=this.N.J(m.lb);f.N=this.ge;f.attach=!0;l.da(this.object,b,this.T1,!0);this.md()}};h.prototype.disable=function(){this.enabled&&(this.enabled=!1,this.nd(),l.ba(this.object,b,this.T1),this.N.T.He(this.N),this.N=null)};h.prototype.T1=function(){var f=this.N.H(m.ds);
2482f.ZK=this.Iga;f.aT=this.object.get("sourceX")||0;f.bT=this.object.get("sourceY")||0;f.cT=this.object.get("sourceZ")||0;f.v7a=this.object.get("sourceYaw")||0;f.L2=this.object.get("sourceCubeTexture");f.targetX=this.object.get("targetX")||0;f.targetY=this.object.get("targetY")||0;f.gT=this.object.get("targetZ")||0;f.P7a=this.object.get("targetYaw")||0;f.V2=this.object.get("targetCubeTexture");f.position=this.object.get("position")||0};return h}();return k.lb(a)});
2483define("kK",["require","kS","pg","hy","fK"],function(a){function e(d,g,p,q,n){this.D=d;this.ia=g;this.Ia=p;this.j=n;this.L=this.j.L;this.vq=this.vq.bind(this);this.Rv=this.Rv.bind(this);this.sn=this.sn.bind(this);this.Df=this.Df.bind(this);this.G$=this.Ia.getComponent(b.hh).hp;this.G$.bind(m.Z,this.Sv,this,!1);this.H$=this.Pqa=!1;this.kt=new k(this.L);this.kt.setPosition(0);this.kt.update();this.m=null;l.da(this.D,["enabled"],this.vq,!0)}var l=a("kS"),m=a("pg"),k=a("hy"),b=a("fK");e.prototype.vq=
2484function(){this.D.get("enabled")?this.CC():this.$p()};e.prototype.CC=function(){if(!this.m){this.m=this.Ia.T.Zc("Reticle");var d=this.m.J(b.lb);d.N=this.Ia;d.id=this.D.get("parentId");this.m.J(b.Plane).renderOrder=2;this.m.J(b.mi).source=this.kt.fg();this.m.J(b.Mx);d=this.m.J(b.tL);d.K7a=this.D;d.object=this.D;l.da(this.ia,c,this.Rv,!0);l.da(this.D,h,this.sn,!0);l.da(this.D,f,this.Df,!0)}};e.prototype.$p=function(){this.m&&(this.Ia.T.He(this.m),this.m=null,l.ba(this.ia,c,this.Rv),l.ba(this.D,h,this.sn),
2485l.ba(this.D,f,this.Df))};e.prototype.Rv=function(){var d=this.m.H(b.yj,!0);d.If=d.Wf=2;d.scale=this.ia.get("surfaceReticleRadius");d.BA=this.ia.get("surfaceReticleMaxRadius");d.DA=this.ia.get("surfaceReticleMinRadius");this.txa()};e.prototype.sn=function(){var d=this.m.H(b.mu,!0);d.x=this.D.get("x");d.y=this.D.get("y");d.z=this.D.get("z");d.distance=this.D.get("distance");d.PR=this.D.get("horizontal")};e.prototype.Df=function(){var d=this.m.H(b.td,!0);d.hL=this.D.get("useHandCursor");d.iT=this.D.get("transparentAreaActive");
2486d.P=this.D;d=this.m.H(b.mi);d.opacity=this.D.get("opacity");d.hidden=this.D.get("hidden");d.depthTest=this.D.get("depthTest")};e.prototype.Sv=function(){this.Pqa=!0;this.txa()};e.prototype.txa=function(){var d=this.Pqa&&.5<this.ia.get("opacity");this.H$!=d&&(this.H$=d)&&this.m&&this.m.H(b.mu)};e.prototype.dispose=function(){this.$p();l.ba(this.D,["enabled"],this.vq);this.G$.unbind(m.Z,this.Sv,this,!1);this.G$=null};var h=["distance","horizontal","x","y","z"],f=["depthTest","hidden","opacity","transparentAreaActive",
2487"useHandCursor"],c=["opacity","surfaceReticleRadius","surfaceReticleMaxRadius","surfaceReticleMinRadius","surfaceSelectionEnabled"];return e});
2488define("gm",["require","exports","kS","eb"],function(a,e,l,m){a=function(){function k(b,h,f,c,d){this.object=b;this.model=h;this.ge=f;this.renderer=d;this.gg=this.gg.bind(this);this.enabled=!1;this.N=null;l.da(this.object,["enabled"],this.gg,!0)}k.prototype.md=function(){};k.prototype.nd=function(){};k.prototype.dispose=function(){this.disable();l.ba(this.object,["enabled"],this.gg)};k.prototype.gg=function(){this.object.get("enabled")?this.enable():this.disable()};k.prototype.enable=function(){this.enabled||
2489(this.enabled=!0,this.N=this.ge.T.Zc("VideoPlane"),this.md())};k.prototype.disable=function(){this.enabled&&(this.enabled=!1,this.nd(),this.N.T.He(this.N),this.N=null)};return k}();a=m.td(a);a=m.qL(a);a=m.$n(a);a=m.lb(a);a=m.FL(a);
2489return a=m.Plane(a)});
2490define("gX","require exports eA eR cJ cK nI fo fW oo kK gm".split(" "),function(a,e,l,m,k,b,h,f,c,d,g,p){c.hx("MeasureModel3DObject",l);c.hx("ChildModel3DObject",m);c.hx("ImagePlaneModel3DObject",k);c.hx("InnerModel3DObject",b);c.hx("LineModel3DObject",h);c.hx("ProjectedMaterialModel3DObject",d);c.hx("SphereModel3DObject",f);c.hx("SurfaceReticleModel3DObject",g);c.hx("VideoPlaneModel3DObject",p);return c});
2491define("hV","require exports kS pg bn gv v lE jJ nV".split(" "),function(a,e,l,m,k,b,h,f,c,d){return function(g){function p(q,n,r,u,t){var v=g.call(this)||this;v.fF=[];v.lya=0;v.kya=0;v.k0=!1;v.Bza=!1;v.wga=!1;v.renderer=q;v.Pr=n;v.model=r;v.ge=u;v.ib=t;v.er=v.er.bind(v);v.X_=v.X_.bind(v);v.ffa=f.lp(v.ffa,v);v.$w=v.$w.bind(v);v.m1=v.m1.bind(v);v.l1=v.l1.bind(v);v.xc=v.renderer.L;v.sg=v.renderer.getParent();v.enabled=!0;v.type=p.xL;v.$a();return v}Z(p,g);p.prototype.getType=function(){return this.type};
2492p.prototype.rb=function(q){this.enabled=q};p.prototype.dispose=function(){this.Ba()};p.prototype.$a=function(){this.sg.bind(m.bc,this.er,this,!0);this.sg.bind(m.qa,this.jya,this,!0);l.vt(this.model,["camera.lockMouse"],this.X_,!0);l.vt(this.model,["objects"],this.$w,!0);this.el=new c(this.sg.$c());this.el.bind(m.ca,this.qCa,this,!0);document.addEventListener("keyup",this.m1);document.addEventListener("keydown",this.l1);this.Kr(p.xL)};p.prototype.Ba=function(){this.sg.unbind(m.bc,this.er,this);this.sg.unbind(m.qa,
2493this.jya,this);l.ba(this.model,["camera.lockMouse"],this.X_);l.ba(this.model,["objects"],this.$w);this.TS([]);this.el.unbind(m.ca,this.qCa,this);this.el.ep()&&this.el.unlock();this.eFa(!1);this.el.dispose();document.removeEventListener("keyup",this.m1);document.removeEventListener("keydown",this.l1)};p.prototype.X_=function(){this.YR=!h.nb()&&this.model.get("camera").get("lockMouse");!this.YR&&this.el.ep()&&this.el.unlock();this.KGa()};p.prototype.KGa=function(){this.eFa((!this.k0||!this.Bza)&&(h.nb()||
2494!this.YR))};p.prototype.eFa=function(q){this.wga!=q&&((this.wga=q)?this.xc.vN.M_():this.xc.vN.p2())};p.prototype.er=function(){this.el.ep()||this.Kr(p.xL)};p.prototype.l1=function(q){-1!=p.jIa.indexOf(q.code)&&(this.type==p.xL&&this.Kr(p.y4),this.YR&&!this.el.ep()&&this.el.lock())};p.prototype.m1=function(q){q.code==k.ja.mG&&this.sg.trigger(m.qa)};p.prototype.jya=function(){this.kya=(new Date).getTime();this.YR&&!this.el.ep()?this.el.lock():this.ffa()};p.prototype.N_a=function(){this.YR&&this.el.ep()&&
2495this.el.unlock()};p.prototype.qCa=function(){this.el.ep()?this.Kr(p.y4):this.Kr(p.xL)};p.prototype.$w=function(){this.TS(this.model.get("objects",[]))};p.prototype.TS=function(q){var n=this;this.fF.forEach(function(r){r.unbind(m.qa,n.zCa,n)});this.fF=q;this.fF.forEach(function(r){r.bind(m.qa,n.zCa,n,!0);d.Ga("MeasureModel3DObject",r)&&(r.bind(m.F("draggingPoint"),n.cS,n,!0),r.bind(m.F("mode"),n.cS,n,!0))});this.cS()};p.prototype.zCa=function(q){q.source.get("useHandCursor")&&(this.lya=(new Date).getTime())};
2496p.prototype.cS=function(){var q=!1,n=!1;this.fF.forEach(function(u){d.Ga("MeasureModel3DObject",u)&&(n=n||!!u.get("draggingPoint"),q=q||"edit"==u.get("mode")&&!!u.get("draggingPoint"))});this.Bza=q;var r=this.model.get("camera");n!=this.k0&&(this.k0=n,setTimeout(function(){r.C5a(this.k0)}.bind(this),0));this.KGa()};p.prototype.ffa=function(){100<Math.abs(this.kya-this.lya)&&this.N_a()};p.prototype.Kr=function(q){this.type!==q&&(this.type=q,this.trigger(m.ca))};p.xL="mouse";p.y4="gaze";p.jIa=[k.ja.Ti,
2497k.ja.Gh,k.ja.Wa,k.ja.ob,k.ja.Vn,k.ja.hu,k.ja.Gu,k.ja.Au,k.ja.E,k.ja.Q];return p}(b)});
2498define("fe","require exports three.mod kS pg mb jZ fK bd bi".split(" "),function(a,e,l,m,k,b,h,f,c,d){var g=new l.Vector3(0,0,0),p=new l.Vector3(0,0,-1);a=function(){function n(r,u,t,v,w,x){this.renderer=r;this.Pr=u;this.model=t;this.ki=v;this.ge=w;this.ib=x;this.mT=this.mT.bind(this);this.kx=this.kx.bind(this);this.Jw=this.Jw.bind(this);this.xc=this.renderer.L;this.sg=this.renderer.getParent();this.Wt=this.model.get("application").pm("Model3DPointer");this.$a()}n.prototype.rb=function(r){var u=this.ib.H(f.sd);
2499u&&(u.enabled=r)};n.prototype.dispose=function(){this.Ba()};n.prototype.$a=function(){this.KK=new b(this.xc.Wfa());this.R0a=new q(this.sg,this.KK);this.Ln=new h;this.Ln.SEa(this.R0a);var r=this.ib.J(f.sd);r.ib=this.ib;r.origin=g;r.direction=p;r.p0=this.sg;r.h0=this.Ln;r.P=this.Wt;this.xc.set("toolTipCentered",!0);this.model.set("pointer",this.Wt);this.W6a();this.zia();this.Ln.push(c.OB);d.requestFrame(this.mT)};n.prototype.Ba=function(){this.Ln.pop(c.OB);
2499this.R7a();this.Nia();this.xc.set("toolTipCentered",
2500!1);this.xc.set("toolTipCenteredOffsetY",void 0);this.model.set("pointer",void 0);this.ib.la(f.sd);this.Ln.dispose();d.x_a(this.mT)};n.prototype.zia=function(){this.On=this.ge.T.Zc("GazeReticle");this.On.J(f.lb).N=this.ib;this.On.J(f.Plane).renderOrder=2;this.On.J(f.hG);var r=this.On.J(f.mi);r.source=this.KK.fg();r.depthTest=!1;this.On.J(f.Aa).af=-1;this.renderer.bind(k.pc,this.kx,this,!0);this.kx();this.SQ(this.ib.getComponent(f.sd),this.Wt)};n.prototype.SQ=function(r,u){u.set("originX",r.origin.x);
2501u.set("originY",r.origin.y);u.set("originZ",r.origin.z);u.set("directionX",r.direction.x);u.set("directionY",r.direction.y);u.set("directionZ",r.direction.z)};n.prototype.Nia=function(){this.On&&(this.On.T.He(this.On),this.On=null)};n.prototype.z8a=function(){if(this.On){var r=this.On.H(f.yj,!0);r.If=r.Wf=2;var u=Math.min(this.xc.Ya(),this.xc.Ab())/100;r.DA=r.BA=Math.round(4*u);this.xc.set("toolTipCenteredOffsetY",2*u)}};n.prototype.mT=function(r){this.On&&this.KK.update(r)&&(this.On.H(f.mi).$S=(new Date).getTime());
2502d.requestFrame(this.mT)};n.prototype.kx=function(){this.z8a()};n.prototype.W6a=function(){m.vt(this.model,"camera",this.Jw,!0)};n.prototype.R7a=function(){m.ba(this.model,"camera",this.Jw);this.TEa(!0)};n.prototype.Jw=function(){this.TEa(!1)};n.prototype.TEa=function(r){var u=this.ib.H(f.Tx);u&&(u.IJ=r);(u=this.ib.H(f.FB))&&(u.IJ=r);(u=this.ib.H(f.KB))&&(u.IJ=r)};return n}();var q=function(){function n(r,u){this.sg=r;this.KK=u}n.prototype.KAa=function(){return this.sg};n.prototype.v2=function(r,u){-1<
2503u.indexOf(c.ye)?this.KK.DF(!0):this.KK.DF(!1)};return n}();return a});
2504define("cq","require exports three.mod kS pg gv jZ fK oB bd nV".split(" "),function(a,e,l,m,k,b,h,f,c,d,g){a=function(){function u(t,v,w,x,y,z){this.fF=[];this.dS=[];this.renderer=t;this.Pr=v;this.model=w;this.ki=x;this.ge=y;this.ib=z;this.$w=this.$w.bind(this);this.sS=[];this.enabled=!1;this.$a()}u.prototype.rb=function(t){this.enabled!==t&&((this.enabled=t)?m.vt(this.model,["objects"],this.$w,!0):(m.ba(this.model,["objects"],this.$w),this.TS([])))};u.prototype.dispose=function(){this.Ba()};u.prototype.$a=
2505function(){c.P.bind(k.Km,this.HA,this,!0)};u.prototype.Ba=function(){c.P.unbind(k.Km,this.HA,this);this.rFa([])};u.prototype.HA=function(){this.rFa(c.hg)};u.prototype.rFa=function(t){var v=this.sS;this.sS=t.map(function(x){var y=v.findIndex(function(z){return z.nc==x});return-1!==y?v.splice(y,1)[0]:new p(x,this.model,this.ki,this.ib)}.bind(this));v.forEach(function(x){x.dispose()});this.sS.forEach(function(x){x.rb(this.enabled);x.update()}.bind(this));var w=this.sS.reduce(function(x,y){return!x||
2506x.j0<y.j0?y:x},null);this.sS.forEach(function(x){x.i6a(x===w)});this.model.set("pointer",null!==w?w.xm:void 0)};u.prototype.$w=function(){this.TS(this.model.get("objects",[]))};u.prototype.TS=function(t){this.fF=t;this.cS()};u.prototype.cS=function(){this.dS.forEach(function(t){t.unbind(k.F("mode"),this.Ega,this)}.bind(this));this.dS=[];this.dS=this.fF.filter(function(t){return g.Ga("MeasureModel3DObject",t)});this.dS.forEach(function(t){t.bind(k.F("mode"),this.Ega,this,!0)}.bind(this));this.Ega()};
2507u.prototype.Ega=function(){var t=!1,v=!1;this.dS.forEach(function(w){v=v||"create"==w.get("mode");t=t||"edit"==w.get("mode")}.bind(this));this.model.get("camera").u5a(v)};return u}();var p=function(){function u(t,v,w,x){this.j0=this.Xea=0;this.nc=t;this.model=v;this.ki=w;this.ib=x;this.j0=this.Xea="right"===this.nc.handedness?1:0;this.xm=this.model.get("application").pm("Model3DPointer");this.bk=this.enabled=!1;this.$a()}u.prototype.update=function(){this.v8a();c.lia(this.nc,this.efa.Nn,this.efa.Nn,
2508this.model.get("surfaceSelectionEnabled")&&(this.Y2a||this.Z2a)?void 0:this.distance);c.qFa(this.nc,!this.bk||!this.enabled)};u.prototype.rb=function(t){this.enabled!==t&&(this.enabled=t,t=this.BK.H(f.sd,!0))&&(t.enabled=this.enabled)};u.prototype.i6a=function(t){this.bk!==t&&(this.bk=t,t=this.BK.H(f.sd,!0))&&(t.bk=this.bk)};u.prototype.dispose=function(){this.Ba()};u.prototype.$a=function(){this.efa=new r(this.xm);this.Ln=new h;this.Ln.SEa(this.efa);this.pS=new b;this.BK=this.ki.T.Zc("Pointer");
2509var t=this.BK.H(f.sd,!0);t.gza=!0;
2509t.matrixWorld=new l.Matrix4;t.ib=this.ib;t.p0=this.pS;t.h0=this.Ln;t.P=this.xm;t.enabled=this.enabled;c.P.bind(k.gy,this.aDa,this,!0);c.P.bind(k.kG,this.bDa,this,!0);c.P.bind(k.Lf,this.$Ca,this,!0);this.xm.bind(k.jb,this.vr,this,!0);this.xm.bind(k.Eb,this.Xg,this,!0);this.xm.bind(k.bc,this.lS,this,!0);this.xm.bind(k.Vb,this.IA,this,!0)};u.prototype.Ba=function(){this.xm.unbind(k.jb,this.vr,this);this.xm.unbind(k.Eb,this.Xg,this);this.xm.unbind(k.bc,this.lS,this);
2510this.xm.unbind(k.Vb,this.IA,this);this.BK.T.He(this.BK);this.Ln.dispose();c.P.unbind(k.gy,this.aDa,this);c.P.unbind(k.kG,this.bDa,this);c.P.unbind(k.Lf,this.$Ca,this)};u.prototype.v8a=function(){var t=this.BK.H(f.sd,!0);t.matrixWorld.copy(this.nc.matrixWorld);t.origin.copy(this.nc.ray.origin);t.direction.copy(this.nc.ray.direction);t.Nb.copy(this.nc.Nb);this.SQ(t,this.xm)};u.prototype.SQ=function(t,v){n.origin.set(t.origin);n.direction.set(t.direction);n.applyMatrix4(t.matrixWorld);v.set("originX",
2511t.origin.x);v.set("originY",t.origin.y);v.set("originZ",t.origin.z);v.set("directionX",t.direction.x);v.set("directionY",t.direction.y);v.set("directionZ",t.direction.z)};u.prototype.$Ca=function(t){t.data.pointerState===this.nc&&(t=300>Date.now()-this.Xea,this.Xea=Date.now(),this.pS.trigger(k.qa),t&&this.pS.trigger(k.sl))};u.prototype.aDa=function(t){t.data.pointerState===this.nc&&(this.j0=Date.now(),this.pS.trigger(k.jb))};u.prototype.bDa=function(t){t.data.pointerState===this.nc&&this.pS.trigger(k.Eb)};
2512u.prototype.lS=function(t){this.UEa(t);this.lFa(t)};u.prototype.UEa=function(t){t.data.position?(t=t.data.position,n.copy(this.nc.ray).applyMatrix4(this.nc.matrixWorld),this.distance=n.origin.distanceTo(q.set(t.x,t.y,t.z))):this.distance=void 0};u.prototype.lFa=function(t){this.Z2a="mesh"==t.data.type;this.Y2a="bone"==t.data.type};u.prototype.vr=function(t){this.UEa(t);this.lFa(t)};u.prototype.Xg=function(){this.distance=void 0};u.prototype.IA=function(){this.distance=void 0};return u}(),q=new l.Vector3,
2513n=new l.Ray,r=function(){function u(t){this.xm=t}u.prototype.KAa=function(){return this.xm};u.prototype.v2=function(t,v){this.Nn=-1<v.indexOf(d.ye)};return u}();return a});
2514define("oN","require exports three.mod kS pg jZ lh fK".split(" "),function(a,e,l,m,k,b,h,f){var c=new l.Vector3(0,0,0),d=Math.PI/180,g=new l.Vector3;return function(){function p(q,n,r,u,t,v){this.renderer=q;this.Pr=n;this.model=r;this.ki=u;this.ge=t;this.ib=v;this.z0=this.z0.bind(this);this.kx=this.kx.bind(this);this.er=this.er.bind(this);this.xc=this.renderer.L;this.sg=this.renderer.getParent();this.Wt=this.model.get("application").pm("Model3DPointer");this.enabled=!0;this.$a()}p.prototype.rb=function(q){this.enabled=
2515q;var n=this.ib.H(f.sd);n&&(n.enabled=q)};p.prototype.dispose=function(){this.Ba()};p.prototype.$a=function(){var q=this.ib.J(f.sd);q.ib=this.ib;q.origin=c;q.direction=new l.Vector3;q.p0=this.sg;q.P=this.Wt;this.Ln=new b;this.Ln.Gr(this.sg);q.h0=this.Ln;q.enabled=this.enabled;m.da(this.model,["camera.fov"],this.z0,!0);this.renderer.bind(k.pc,this.kx,this,!0);this.sg.o_a(k.jb,this.er,this);this.sg.bind(k.bc,this.er,this,!0);this.model.set("picker",this);this.model.set("pointer",this.Wt)};p.prototype.Ba=
2516function(){m.ba(this.model,["camera.fov"],this.z0);this.renderer.unbind(k.pc,this.kx,this);this.sg.unbind(k.jb,this.er,this);this.sg.unbind(k.bc,this.er,this);this.ib.la(f.sd);this.Ln.dispose();this.model.set("picker",void 0);this.model.set("pointer",void 0)};p.prototype.kx=function(){this.Xia()};p.prototype.z0=function(){this.Xia()};p.prototype.er=function(q){this.r3a=q.x;this.s3a=q.y;this.Xia()};p.prototype.Xia=function(){var q=this.ib.H(f.sd);this.zAa(this.r3a,this.s3a,q.direction);this.SQ(q,this.Wt)};
2517p.prototype.SQ=function(q,n){n.set("originX",q.origin.x);n.set("originY",q.origin.y);n.set("originZ",q.origin.z);n.set("directionX",q.direction.x);n.set("directionY",q.direction.y);n.set("directionZ",q.direction.z)};p.prototype.zAa=function(q,n,r){var u;r=r||new l.Vector3;var t=(null===(u=this.model.get("camera"))||void 0===u?void 0:u.get("fov"))||90;u=this.xc.Ya();var v=this.xc.Ab();void 0===q&&(q=u/2);void 0===n&&(n=v/2);r.set(q-u/2,v/2-n,-u/(2*Math.tan((u>v?t:h.Mr(t,u,v))*d/2))).normalize();return r};
2518p.prototype.f2=function(q,n){var r=this.ib.getComponent(f.sd);if(r&&r.zDa)return r.zDa.f2([this.ge],c,this.zAa(q,n,g))};return p}()});
2519define("mL","require exports kS pg hV fe cq oN oB".split(" "),function(a,e,l,m,k,b,h,f,c){return function(){function d(g,p,q,n,r,u){this.renderer=g;this.Pr=p;this.model=q;this.ki=n;this.ge=r;this.ib=u;this.enabled=!0;this.Jw=this.Jw.bind(this);this.$a()}d.prototype.rb=function(g){var p;this.enabled=g;null===(p=this.HE)||void 0===p?void 0:p.rb(this.enabled)};d.prototype.dispose=function(){this.Ba()};d.prototype.$a=function(){l.da(this.model,"camera",this.Jw,!1);c.P.bind(m.ca,this.YGa,this,!0);this.Zia()};
2520d.prototype.Ba=function(){l.ba(this.model,"camera",this.Jw);c.P.unbind(m.ca,this.YGa,this);this.Kr("none");this.bGa()};d.prototype.Jw=function(){this.Zia()};d.prototype.YGa=function(){this.Zia()};d.prototype.Zia=function(){c.isPresenting?this.Kr("xr"):"FirstPersonModel3DCamera"==this.model.get("camera").get("class")?this.d7a():(this.bGa(),this.Kr("mouse"))};d.prototype.d7a=function(){this.TJ||(this.TJ=new k(this.renderer,this.Pr,this.model,this.ge,this.ib),this.TJ.bind(m.ca,this.ICa,this,!0),this.ICa())};
2521d.prototype.bGa=function(){var g;this.TJ&&(null===(g=this.TJ)||void 0===g?void 0:g.dispose(),this.TJ=void 0)};d.prototype.ICa=function(){var g;switch(null===(g=this.TJ)||void 0===g?void 0:g.getType()){case k.y4:this.Kr("gaze");break;default:this.Kr("mouse")}};d.prototype.Kr=function(g){var p;
2521if(this.type!==g){this.HE&&this.HE.dispose();this.type=g;switch(this.type){case "mouse":this.HE=new f(this.renderer,this.Pr,this.model,this.ki,this.ge,this.ib);break;case "gaze":this.HE=new b(this.renderer,this.Pr,
2522this.model,this.ki,this.ge,this.ib);break;case "xr":this.HE=new h(this.renderer,this.Pr,this.model,this.ki,this.ge,this.ib);break;default:this.HE=void 0}null===(p=this.HE)||void 0===p?void 0:p.rb(this.enabled)}};return d}()});
2523define("kR",["require","kS","fK"],function(a){function e(b,h){this.wc=b;this.qd=h;this.U=!1;this.Eg=this.Eg.bind(this);l.da(this.wc,k,this.Eg,!0)}var l=a("kS"),m=a("fK");e.prototype.Eg=function(){var b=this.wc.get("enabled")&&!this.wc.get("disabled");this.U!=b&&(this.U&&this.qd.la(m.SF),(this.U=b)&&this.qd.J(m.SF));this.U&&(b=this.qd.H(m.SF),b.Aza=this.wc.get("easingDuration"),b.bias=this.wc.get("bias"),b.intensity=this.wc.get("intensity"),b.scale=this.wc.get("scale"),b.LBa=this.wc.get("kernelRadius"),
2524b.jCa=this.wc.get("minResolution"),b.Oea=this.wc.get("blurRadius"),b.output="ao"==this.wc.get("output")?THREE.SAOPass.OUTPUT.SAO:THREE.SAOPass.OUTPUT.Default)};e.prototype.dispose=function(){this.qd.la(m.SF);this.qd=null;l.ba(this.wc,k,this.Eg)};var k="disabled enabled bias easingDuration intensity scale kernelRadius minResolution blurRadius output".split(" ");return e});
2525define("D",["require","kS","fK"],function(a){function e(b,h){this.wc=b;this.qd=h;this.U=!1;this.Eg=this.Eg.bind(this);l.da(this.wc,k,this.Eg,!0)}var l=a("kS"),m=a("fK");e.prototype.Eg=function(){var b=this.wc.get("enabled")&&!this.wc.get("disabled");this.U!=b&&(this.U&&this.qd.la(m.mB),(this.U=b)&&this.qd.J(m.mB));this.U&&(b=this.qd.H(m.mB),b.aAa="fxaa"==this.wc.get("mode"),b.UFa="ssaa"==this.wc.get("mode"),b.dT=this.wc.get("ssaaSampleLevel"))};e.prototype.dispose=function(){this.qd.la(m.mB);this.qd=
2526null;l.ba(this.wc,k,this.Eg)};var k=["disabled","enabled","mode","ssaaSampleLevel"];return e});
2527define("kZ",["require","kS","fK"],function(a){function e(b,h){this.wc=b;this.qd=h;this.U=!1;this.Eg=this.Eg.bind(this);l.da(this.wc,k,this.Eg,!0)}var l=a("kS"),m=a("fK");e.prototype.Eg=function(){var b=this.wc.get("enabled")&&!this.wc.get("disabled");this.U!=b&&(this.U&&this.qd.la(m.yL),(this.U=b)&&this.qd.J(m.yL));this.U&&(b=this.qd.H(m.yL),b.uEa=this.wc.get("samples"),b.intensity=this.wc.get("intensity"))};e.prototype.dispose=function(){this.qd.la(m.yL);this.qd=null;l.ba(this.wc,k,this.Eg)};var k=
2528["disabled","enabled","samples","intensity"];return e});
2529define("gV",["require","kS","fK"],function(a){function e(b,h){this.wc=b;this.qd=h;this.Eg=this.Eg.bind(this);l.da(this.wc,k,this.Eg,!0)}var l=a("kS"),m=a("fK");e.prototype.Eg=function(){var b=this.wc.get("enabled")&&!this.wc.get("disabled");this.U!=b&&(this.U&&this.qd.la(m.pG),(this.U=b)&&this.qd.J(m.pG));this.U&&(b=this.qd.H(m.pG),b.sBa=this.wc.get("innerRadius"),b.uDa=this.wc.get("outerRadius"),b.color=this.wc.get("color"),b.opacity=this.wc.get("opacity"))};e.prototype.dispose=function(){this.qd.la(m.pG);
2530this.qd=null;l.ba(this.wc,k,this.Eg)};var k="enabled disabled opacity color innerRadius outerRadius".split(" ");return e});
2531define("l","require exports og kR D kZ gV nV".split(" "),function(a,e,l,m,k,b,h,f){return function(){function c(d,g){this.model=d;this.ki=g;this.filter=this.filter.bind(this);this.Qd=this.Qd.bind(this);this.vg=this.vg.bind(this);this.uS=new l;this.uS.filter=this.filter;this.uS.Qd=this.Qd;this.uS.vg=this.vg;this.uS.IF(this.model,"postprocessing")}c.prototype.filter=function(d){return f.Ga("AmbientOcclusionModel3DPostprocessing",d)||f.Ga("AntialiasModel3DPostprocessing",d)||f.Ga("MotionBlurModel3DPostprocessing",
2532d)||f.Ga("VignetteModel3DPostprocessing",d)};c.prototype.Qd=function(d){return f.Ga("AmbientOcclusionModel3DPostprocessing",d)?new m(d,this.ki):f.Ga("AntialiasModel3DPostprocessing",d)?new k(d,this.ki):f.Ga("MotionBlurModel3DPostprocessing",d)?new b(d,this.ki):f.Ga("VignetteModel3DPostprocessing",d)?new h(d,this.ki):null};c.prototype.vg=function(d,g){g.dispose()};c.prototype.dispose=function(){this.uS.dispose()};return c}()});
2533define("of","require pg fK cp eS lu jT gQ iO lr gX mL l oB".split(" "),function(a){function e(t,v,w){this.j=t;this.Fd=v;this.ia=w;this.L=this.j.L;this.U=!0;this.Wpa=!1;this.ia.Eha();this.qd=this.Fd.Zc("Scene");t=this.qd.J(m.Scene);t.sfa=this.ia.N0().xJ(this.ia.Q0().Bt(.1),.1);t.P=this.ia;t.locked=!0;this.Oqa=new f(this.ia,this.ia,this.qd,this.j);this.Ia=this.Oqa.Jt();t.ib=this.Zu=this.Fd.Zc("PerspectiveCamera");this.Zu.J(m.lb).N=this.qd;this.GU=new b(this.j,this.ia,this.Zu);this.GU.au(!0);this.zRa=
2534new h(this.ia,this.Ia);this.Uta=new p(this.j,this.Fd,this.ia,this.qd,this.Ia,this.Zu);u.forEach(function(x){this.ia.bind(l.F(x),this.laa,this,!0)}.bind(this));this.OTa=new q(this.ia,this.qd);this.Fd.qya(this.qd);this.SRa=new g(this.ia,this.Ia,this.Zu);this.jXa=new d(this.ia,this.Ia,this.j);this.AXa=new c(this.j,this.ia);n.P.bind(l.ca,this.jI,this,!0);this.laa();this.jI()}
2534var l=a("pg"),m=a("fK"),k=a("cp"),b=a("eS"),h=a("lu"),f=a("jT"),c=a("gQ"),d=a("iO"),g=a("lr");a("gX");var p=a("mL"),q=a("l"),n=
2535a("oB");e.prototype.au=function(t){this.qd.H(m.Scene).locked=t;this.GU.au(t)};e.prototype.rb=function(t){this.U!==t&&(this.U=t,this.Bw())};e.prototype.jI=function(){this.Wpa=n.Zg==this.L.ic.xA();this.Bw()};e.prototype.Bw=function(){var t=(this.ia.get("camera").get("xrEnabled")||this.ia.get("camera").get("vrEnabled"))&&!this.ia.get(r);t=this.U&&(!this.Wpa||t);this.qd.H(m.Scene).enabled=t;this.Uta.rb(t);this.GU.rb(t)};e.prototype.dispose=function(){u.forEach(function(t){this.ia.unbind(l.F(t),this.laa,
2536this,!0)}.bind(this));this.ia.unbind(l.F("camera"),this.N9a,this,!0);n.P.unbind(l.ca,this.jI,this);this.Oqa.dispose();this.GU.dispose();this.zRa.dispose();this.Uta.dispose();this.OTa.dispose();this.jXa.dispose();this.SRa.dispose();this.AXa.dispose();this.Fd.Q4a(this.qd);this.Fd.He(this.qd);this.Fd.He(this.Zu)};e.prototype.G1a=function(){return this.Ia?k.dK(this.Ia):void 0};e.prototype.laa=function(){var t=this.qd.H(m.Scene);t.opacity=this.ia.get("opacity");t.Hza=this.ia.get("environmentURL");t.Iea=
2537this.ia.get("backgroundImageURL");t.Gya=this.ia.get("backgroundPanoramaURL");t.backgroundColor=this.ia.get("backgroundColor");t.outputEncoding=this.ia.get("encoding");t.Vza=this.ia.get("fogColor");t.Wza=this.ia.get("fogDensity");t=this.ia.get("environmentIntensity");var v=this.ia.get("anisotropicFilteringLevel");if(1!=t||0!=v){var w=this.qd.H(m.oi,!0);w.envMapIntensity=t;w.NQ=v}else this.qd.la(m.oi)};var r=function(t){return t.map(function(v){return String.fromCharCode(v)}).join("")}([119,97,116,
2538101,114,109,97,114,107]),u="anisotropicFilteringLevel environmentURL backgroundImageURL backgroundPanoramaURL backgroundColor fogColor fogDensity opacity encoding environmentIntensity".split(" ");return e});
2539define("lz","require lE fK gw of bd d oA".split(" "),function(a){var e=a("lE");a("fK");var l=a("gw"),m=a("of"),k=a("bd"),b=a("d"),h=a("oA");a=e.extend(h,function(f,c,d){h.call(this);this.vc=f;this.L=c;this.RN=d;this.Ge("Renderer");this.set("toolTipDisabled",!0);this.set("cursor",k.ou);this.set("layout",b.tT);this.Fd=null;this.U=!0;this.SH=[];this.JI=new Map});a.prototype.Db=function(){h.prototype.Db.call(this);null==this.Fd&&(this.Fd=new l(this.vc,this.L,!0),this.Fd.ma({left:0,top:0,right:0,bottom:0,
2540cursor:k.ou,toolTipDisabled:!0}),this.Fd.rb(this.U),this.Ua(this.Fd),this.SH.forEach(this.Jva.bind(this)))};a.prototype.rb=function(f){this.U!==f&&(this.U=f,this.Fd&&this.Fd.rb(this.U))};a.prototype.k2a=function(f){return 0<=this.SH.indexOf(f)};a.prototype.pya=function(f){0<=this.SH.indexOf(f)||(this.SH.push(f),this.Fd&&this.Jva(f))};a.prototype.wha=function(f){var c=this.SH.indexOf(f);0>c||(this.SH.splice(c,1),this.Fd&&this.twa(f))};a.prototype.iFa=function(f){(f=this.JI.get(f))&&f.au(!1)};a.prototype.n6a=
2541function(f,c){(f=this.JI.get(f))&&f.rb(c)};a.prototype.zR=function(f){return(f=this.JI.get(f))?f.G1a():void 0};a.prototype.wF=function(){return this.Fd&&this.Fd.wF()};a.prototype.Uea=function(){return this.Fd&&this.Fd.Uea()};a.prototype.Jva=function(f){this.twa(f);this.JI.set(f,new m(this,this.Fd,f))};a.prototype.twa=function(f){var c=this.JI.get(f);c&&(this.JI["delete"](f),c.dispose())};return a});
2542define("bI","require lE pg cC nV jX iL ec lz ek".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("cC"),k=a("nV"),b=a("jX"),h=a("iL"),f=a("ec"),c=a("lz"),d=a("ek"),g=k.define("Model3DPlayer",h,function(){h.call(this,"model");this.aq=this.aX=this.ei=!1;this.M=this.j=null;this.Qb=this.hf=0;this.Cd=e.lp(this.Vg,this);this.m6=new b(this,"buttonToggleSprites",d.zj);this.m6.bind(l.wj,function(){this.set("spritesEnabled",!0)},this);this.m6.bind(l.ul,function(){this.set("spritesEnabled",!1)},this);this.m6.set("pressed",
2543this.get("spritesEnabled"))});g.prototype.play=function(){this.AD()};g.prototype.pause=function(){this.zD()};g.prototype.stop=function(){this.Az()};g.prototype.restart=function(){this.zz()};g.prototype.getModelPixelScale=function(){return this.yPa()};g.prototype.captureToDataURL=function(){return this.j&&this.j.Uea()};g.prototype.saveScreenshot=function(){return this.j&&this.j.wF()};g.prototype.set=function(p,q){if(this.get(p)!=q){switch(p){case "model":this.aX=!0;this.set("requesterPlayer",null);
2544this.Cd();break;case "viewerArea":this.ei=!0;this.Cd();break;case "displayPlaybackBar":this.aq=!0,this.Cd()}h.prototype.set.call(this,p,q)}};g.prototype.get=function(p,q){switch(p){case "currentTime":return this.M&&this.M.getTime()||0}return h.prototype.get.call(this,p,q)};g.prototype.Vg=function(){this.ei&&(this.ei=!1,this.gv(),this.get("viewerArea")&&this.ev(),this.DP(this.get("viewerArea")),this.aX=!0);var p=!1;if(this.j&&(this.aX||this.IZ)){var q=this.get("model");if(q&&!this.j.wb()){this.Cd();
2545return}this.aX=!1;this.Qb=this.hf=0;p=!0;q?(this.get("viewerArea").ic.y7a(),this.vF(this.get("requesterPlayer")?[this.get("requesterPlayer"),this]:[this]),this.M.m6a(q)):this.M.nx()}this.aq&&(this.aq=!1,p=!0);p&&this.Ew()};g.prototype.ZI=function(){this.set("model",null)};g.prototype.ev=function(){var p=this.get("application"),q=this.get("viewerArea");this.j=new c(p,q,this);this.j.ma({left:0,top:0,bottom:0,right:0});q.Ua(this.j);this.M=new f(q,this.j);this.M.bind(f.uB,this.Ul,this);this.M.bind(f.tB,
2546this.uz,this);this.M.bind(f.vB,this.pO,this);this.M.bind(f.e4,this.Bsa,this,!0);this.M.bind(f.Hc,this.ef,this);this.Xz(!0)};g.prototype.gv=function(){this.j&&(this.M.unbind(f.uB,this.Ul,this),this.M.unbind(f.tB,this.uz,this),this.M.unbind(f.vB,this.pO,this),this.M.unbind(f.e4,this.Bsa,this,!0),this.M.unbind(f.Hc,this.ef,this),this.M.clear(),this.j.getParent().removeChild(this.j),this.j=null,this.Xz(!1))};g.prototype.ef=function(p){this.xd(p.data.state)};g.prototype.Ul=function(p){var q=this.get("viewerArea");
2547this.Zd=q&&q.Zd;this.ON(p.data.model);this.Ew()};g.prototype.pO=function(p){this.trigger(new m(g.FHa,{model:p.data.model}))};g.prototype.uz=function(p){this.Zd=null;this.NN(p.data.model)};g.prototype.Bsa=function(p){this.hf=p.data.time;this.Qb=p.data.duration;this.Ew()};g.prototype.TO=function(p){this.WD(p.data.position)};g.prototype.Ik=function(){this.M&&this.M.play()};g.prototype.Po=function(){this.M&&this.M.stop()};g.prototype.Eq=function(){this.M&&this.M.pause()};g.prototype.WD=function(p){this.M&&
2548this.M.setTime(p)};g.prototype.yPa=function(){return this.M&&this.M.zR()};g.prototype.Ew=function(){if(this.j){var p=this.j.getParent();0<this.Qb&&this.get("displayPlaybackBar")?p.ma({playbackBarPosition:this.hf,playbackBarDuration:this.Qb,playbackBarVisible:!0}):p.set("playbackBarVisible",!1)}};g.FHa="preloadMediaShow";return g});
2549define("pz","require pg lg nV dh iy".split(" "),function(a){var e=a("pg"),l=a("lg"),m=a("nV"),k=a("dh"),b=a("iy");a=m.define("Model3DPlayListItem",b,function(){b.call(this)});a.prototype.start=function(){b.prototype.start.call(this);var h=this.get("player");h&&(h.bind(k.fh,this.Ul,this),h.get("model")==this.get("media")&&this.get("media").get("isLoaded")?this.Ul():h.set("model",this.get("media")))};a.prototype.stop=function(){var h=this.get("player");h&&(h.unbind(k.fh,this.Ul,this),h.get("model")==
2550this.get("media")&&h.set("model",null));b.prototype.stop.call(this)};a.prototype.Ul=function(h){h&&h.data.media!=this.get("media")||(this.get("player").unbind(k.fh,this.Ul,this),this.get("player").bind(k.Jm,this.uz,this),this.CZa())};a.prototype.CZa=function(){var h=this.get("media").get("camera").get("sequences",[]).find(function(f){return f.get("internal")&&f.get("state")==l.Y});h?h.bind(e.Bb,this.pta,this,!0):this.mA()};a.prototype.pta=function(h){h.source.unbind(e.Bb,this.pta,this,!0);this.mA()};
2551a.prototype.uz=function(h){h.data.media==this.get("media")&&(this.get("player").unbind(k.Jm,this.uz,this),this.stop(),this.end())};return a});define("pK",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("Model3DPointer",e,function(){e.call(this)})});define("iN",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("Menu",e,function(){e.call(this)})});define("p",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("MenuItem",e,function(){e.call(this)})});
2552define("dP",["require","nV","fn"],function(a){var e=a("nV"),l=a("fn");return e.define("MotionBlurModel3DPostprocessing",l,function(){l.call(this)})});define("kQ",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("MovementPhotoCamera",e,function(){e.call(this)})});define("cI",["require"],function(){var a={pB:"drag_acceleration",iu:"drag_rotation"};a.Wja=a.pB;a.Oka=a.iu;return a});
2553define("pw",["require","lE","cC"],function(a){var e=a("lE"),l=a("cC");return e.extend(l,function(m){l.call(this,m);this.zK=this.kL=this.ex=this.Fx=0})});define("nQ",["require","lE","cC"],function(a){var e=a("lE"),l=a("cC");return e.extend(l,function(m){l.call(this,m);this.$fa=this.v2a=0})});
2554define("fw","require lE en pg cC gv cI pw nQ".split(" "),function(a){function e(q,n){return q*n}function l(q,n){var r=0<n?1:-1;return r*(Math.pow(q,r*n)-1)/(q-1)}function m(q,n){return Math.min(Math.max(q/n,-1),1)}var k=a("lE");a("en");var b=a("pg"),h=a("cC"),f=a("gv"),c=a("cI"),d=a("pw"),g=a("nQ"),p=k.extend(f,function(){f.call(this);this.Kqa=this.Lqa=1800;this.ORa=this.EXa=0;this.nN=!1;this.Jo=void 0;this.mD=c.Wja;this.Fwa=c.Oka;this.GM=0;this.ZY=void 0;this.Xo=!1;this.GG=null;this.RC=3;this.Pa=
255590;this.M7=this.dE=this.Gc=1;this.Zd=this.cb=null;this.SO=!1});p.prototype.setCamera=function(q){this.Lqa=q.get("manualRotationSpeed");this.Kqa=q.get("manualRotationSpeed");this.RC=q.get("manualZoomSpeed");this.M7=q.get("draggingFactor")};p.prototype.UA=function(q){this.mD=q;this.Mda()};p.prototype.HF=function(q){this.Fwa=q;this.Mda()};p.prototype.BF=function(q){this.Pa=q;this.dE=this.Pa/90};p.prototype.Gr=function(q){this.om();if(q){this.cb=q;if(this.Zd=q.u1a&&q.Zd)this.Zd.bind(b.jb,this.Qta,this,
2556!0),this.Zd.bind(b.Eb,this.Rta,this,!0);this.cb.bind(b.jb,this.Xd,this,!0);this.cb.bind(b.bc,this.Mj,this,!0);this.cb.bind(b.Eb,this.Nj,this,!0);this.cb.bind(b.Yr,this.nD,this,!0);
2556!1!==this.cb.wb().get("settings").get(TDV.PlayerSettings.BIa)&&this.cb.bind(b.aG,this.NC,this,!0);this.cb.bind(b.Ux,this.Hoa,this,!0);this.cb.bind(b.$F,this.Eoa,this,!0);this.Mda()}};p.prototype.om=function(){null!=this.cb&&(this.Zd&&(this.Zd.unbind(b.jb,this.Qta,this),this.Zd.unbind(b.Eb,this.Rta,this),this.Zd=null),this.cb.unbind(b.jb,
2557this.Xd,this),this.cb.unbind(b.bc,this.Mj,this),this.cb.unbind(b.Eb,this.Nj,this),this.cb.unbind(b.Yr,this.nD,this),this.cb.unbind(b.aG,this.NC,this),this.cb.unbind(b.Ux,this.Hoa,this),this.cb.unbind(b.$F,this.Eoa,this),this.cb=null,this.xV())};p.prototype.Mda=function(){this.cb&&(this.cb.so?(this.ZY=this.Fwa,this.GM=this.EXa):(this.ZY=this.mD,this.GM=this.ORa))};p.prototype.Qta=function(){this.SO=!0};p.prototype.Rta=function(){this.SO=!1};p.prototype.Xd=function(q){this.SO||(this.VWa(q),this.Bca())};
2558p.prototype.Mj=function(q){this.SO||this.jJ(q)};p.prototype.Nj=function(){this.SO||(this.Y7(),this.xV())};p.prototype.nD=function(q){this.Wda(q);this.Bca(500)};p.prototype.Hoa=function(){this.Bca()};p.prototype.NC=function(q){this.Xda(q)};p.prototype.Eoa=function(){this.xV()};p.prototype.VWa=function(q){this.nN=!0;this.Jo=q;this.jJ(q)};p.prototype.jJ=function(q){if(this.nN)switch(this.ZY){case c.pB:this.iZa(q);break;case c.iu:this.hZa(q)}};p.prototype.iZa=function(q){var n=this.Cxa,r=q.x-this.Jo.x;
2559r=+e(l(10,m(3>Math.abs(r)?0:r,this.cb.Ya())),this.Lqa*this.dE);q=q.y-this.Jo.y;n.call(this,r,-e(l(10,m(3>Math.abs(q)?0:q,this.cb.Ab())),this.Kqa*this.dE))};p.prototype.hZa=function(q){this.Lda(-e(m(q.x-this.Jo.x,this.cb.Ya()),this.Pa*this.M7),+e(m(q.y-this.Jo.y,this.cb.Ya()),this.Pa*this.M7));this.Jo=q};p.prototype.Y7=function(){if(this.nN)switch(this.nN=!1,this.ZY){case c.pB:this.Cxa(0,0)}};p.prototype.Cxa=function(q,n){var r=new d(p.lu);r.Fx=q;r.ex=n;this.trigger(r)};p.prototype.Lda=function(q,
2560n){var r=new d(p.lu);r.kL=q;r.zK=n;this.trigger(r)};p.prototype.Xda=function(q){if(this.Gc!=q.scale){this.Y7();var n=this.Gc;this.Gc=q.scale;q=new g(p.Bp);q.$fa=this.Pa*n/this.Gc-this.Pa;this.trigger(q)}};p.prototype.Wda=function(q){if(0!=q.delta){this.Y7();var n=new g(p.Bp);n.$fa=this.Pa*-q.delta*this.RC/100;this.trigger(n)}};p.prototype.Bca=function(q){var n=null!=this.GG;this.gwa();if(q&&(n||!this.Xo)){var r=this;this.GG=setTimeout(function(){r.GG=null;r.xV()},q)}this.Xo||(this.Xo=!0,this.trigger(new h(p.Si)))};
2561p.prototype.xV=function(){this.gwa();this.Xo&&(this.Xo=!1,this.trigger(new h(p.Ri)))};p.prototype.gwa=function(){null!=this.GG&&(clearTimeout(this.GG),this.GG=null)};p.lu="rotation change";p.Bp="zoom change";p.Si="user interaction start";p.Ri="user interaction end";return p});
2562define("dE",["require","v"],function(a){function e(){this.$I=m.nb()?.066:.1;this.RRa=.5;this.GWa=m.nb()?.066:.1;this.NZa=.1;this.GZ=this.MZ=!1;this.reset()}function l(k,b,h){k=(b-k)*(1-h);.01>Math.abs(k)&&(k=0);return b-k}var m=a("v");e.prototype.reset=function(){this.Dna=this.f7=this.$G=this.Iy=this.xM=this.j7=this.i7=this.n7=this.zH=this.RC=this.UY=this.WY=this.Hq=this.RO=this.st=this.JQ=0};e.prototype.pia=function(k,b,h,f,c,d,g,p,q){return this.JQ!=k||(this.RO=b)||this.WY!=h||0!=f||0!=c||this.GZ!=
2563g||this.fra!=p||this.MZ!=q?(this.JQ=k,this.RO=b,this.WY=h,this.st+=f,this.Hq+=c,this.UY+=d,this.GZ=g,this.fra=p,this.MZ=q,!0):!1};e.prototype.k7a=function(k,b){return this.RC!=k||0!=b?(this.RC=k,this.zH+=b,!0):!1};e.prototype.kf=function(){return 0!=this.n7||0!=this.i7||0!=this.j7||0!=this.xM||0!=this.JQ||0!=this.RO||0!=this.WY||0!=this.RC||0!=this.st||0!=this.Hq||0!=this.zH};e.prototype.Cb=function(k){k=1E3/k;var b=this.n7/k,h=this.JQ/k+this.st;this.st=0;var f=this.i7/k,c=this.RO/k+this.Hq;this.Hq=
25640;var d=this.j7/k,g=this.WY/k+this.UY;this.UY=0;var p=this.RC+this.zH*k;this.zH=0;
2564var q=0==h&&0==c&&0==g,n=0==b&&0==f&&0==d;this.GZ&&n&&!q||this.MZ&&q&&!n||this.fra&&!q&&!n?(q=q?this.$I:n?this.GWa:this.RRa,this.Iy=l(b,h,q),this.$G=l(f,c,q),this.f7=l(d,g,q)):(this.Iy=h,this.$G=c,this.f7=g);b=0==this.xM;h=0==p;this.xM=this.GZ&&b&&!h||this.MZ&&h&&!b?l(this.xM,p,this.NZa):p;this.n7=this.Iy*k;this.i7=this.$G*k;this.j7=this.f7*k;this.Dna=this.xM/k};return e});
2565define("dg","require jquery.mod lE e fw dE bi pg".split(" "),function(a){var e=a("jquery.mod"),l=a("lE"),m=a("e"),k=a("fw"),b=a("dE"),h=a("bi"),f=a("pg");a=l.extend(m,function(){m.call(this);this.Ge("Renderer");this.R=e("<canvas></canvas>");this.R.css({position:"absolute",left:0,top:0});this.Ob().append(this.R);this.cz=null;this.Ea=this.DH=this.BH=this.CH=0;this.Kk=!1;this.KTa=150;this.gN=0;this.dn=null;this.bind(f.pc,this.Fc,this,!0);this.pb=new k;this.pb.t$a(720);this.pb.JS(0);this.pb.UA("drag_rotation");
2566this.pb.BF(360);this.pb.bind(k.lu,this.XSa,this);this.fc=new b});a.prototype.T5a=function(c,d,g){this.cz=c;this.CH=d;this.BH=g;this.DH=Math.floor(this.cz.length*this.Ea/360);this.Nba();this.pb.Gr(this);this.Qa()};a.prototype.H_a=function(){this.cz=null;this.ht();this.Nba();this.pb.om()};a.prototype.play=function(){this.Kk=!0;this.Qa()};a.prototype.XSa=function(c){this.ht();this.fc.pia(c.Fx,c.ex,0,c.kL,c.zK,0,!1,!0);this.Qa()};a.prototype.haa=function(){this.play()};a.prototype.Qj=function(c){this.cz&&
2567(this.fc.kf()?(this.Kk=!1,this.fc.Cb(c),this.Vla(this.fc.Iy),this.Qa()):this.Kk?(this.Vla(this.KTa*c/1E3),this.Qa()):this.FH()||this.RP())};a.prototype.Sn=function(c){for(this.Ea=c;0>this.Ea;)this.Ea+=360;for(;360<=this.Ea;)this.Ea-=360;this.IYa()};a.prototype.IYa=function(){if(this.cz){var c=Math.floor(this.cz.length*this.Ea/360);this.DH!=c&&(this.DH=c,this.pua())}};a.prototype.Vla=function(c){this.Sn(this.Ea+c)};a.prototype.Fc=function(){this.Nba()};a.prototype.Nba=function(){var c=this.R.get(0);
2568if(0==this.CH||0==this.BH)c.width=0,c.height=0;else{var d=this.uf(),g=this.tf();g*this.CH>d*this.BH?(c.width=d,c.height=this.BH*d/this.CH):(c.height=g,c.width=this.CH*g/this.BH);this.R.css({left:Math.round(.5*(d-c.width))+"px",top:Math.round(.5*(g-c.height))+"px"});this.pua()}};a.prototype.pua=function(){if(this.cz){var c=this.R.get(0);c.getContext("2d").drawImage(this.cz[this.DH],0,0,this.CH,this.BH,0,0,c.width,c.height)}};a.prototype.FH=function(){return this.dn?!0:!1};a.prototype.RP=function(){this.ht();
2569if(0<this.gN){var c=this;this.dn=setTimeout(function(){c.dn=null;c.haa()},this.gN)}};a.prototype.ht=function(){this.dn&&(clearTimeout(this.dn),this.dn=null)};a.prototype.Qa=function(){h.requestFrame(this.Qj,this)};return a});
2570define("mF","require pg ik cC nV gn A dg oA gY".split(" "),function(a){var e=a("pg"),l=a("ik"),m=a("cC"),k=a("nV"),b=a("gn"),h=a("A"),f=a("dg"),c=a("oA"),d=a("gY");a=k.define("Object3D",c,function(){c.call(this);this.ud=this.mn=this.ai=this.j=null;this.bind(e.dd,this.fj,this);this.bind(e.Tc,this.ej,this)});a.prototype.Db=function(){c.prototype.Db.call(this);this.j||(this.j=new f,this.j.ma({left:0,top:0,right:0,bottom:0}),this.Ua(this.j));this.ai||(this.ai=new h,this.ai.ma({left:0,bottom:0,right:0,
2571height:20,visible:!1}),this.Ua(this.ai))};a.prototype.fj=function(){this.DN()};a.prototype.ej=function(){this.Po()};a.prototype.DN=function(){this.ai.set("percent",0);this.ai.set("visible",!0);this.j.Sn(this.get("yaw"));var g=this.get("frames",[]);this.mn=[];this.ud=[];for(var p=0;p<g.length;p++){var q=b.nr(g[p]);this.mn.push(q);q=new d(l.ql);q.bind(e.Z,this.nO,this);q.bind(e.yc,this.oO,this);this.ud.push(q)}for(p=0;p<g.length;p++)this.ud[p].load(this.mn[p].get("url"))};a.prototype.nO=function(){var g=
2572this.ud.filter(function(p){return p.ii()});this.ai.set("percent",100*g.length/this.ud.length);g.length==this.ud.length&&this.vd()};a.prototype.oO=function(){};a.prototype.vd=function(){this.ai.set("visible",!1);var g=this.mn[0].get("width",this.ud[0].je()),p=this.mn[0].get("height",this.ud[0].Ye()),q=this.ud.map(function(n){return n.vf()});this.j.T5a(q,g,p);this.trigger(new m(e.Z))};a.prototype.Po=function(){this.ud&&(this.ai.set("visible",!1),this.j.H_a(),this.ud=this.ud.forEach(function(g){g.unbind(e.Z,
2573this.nO,this);g.unbind(e.yc,this.oO,this);g.cancel()}),this.mn=this.ud=null)};return a});define("gS",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("RotationalCameraPosition",e,function(l,m,k){e.call(this);void 0!==l&&this.set("yaw",l);void 0!==m&&this.set("pitch",m);void 0!==k&&this.set("hfov",k)})});define("mJ",["require","gS","nV"],function(a){var e=a("gS");return a("nV").define("PanoramaCameraPosition",e,function(){e.apply(this,arguments)})});
2574define("hz",["require","mh","nV","mJ","gS"],function(a){var e=a("mh"),l=a("nV"),m=a("mJ"),k=a("gS"),b=l.define("RotationalCamera",e,function(){e.call(this);this.set("initialPosition",new k)});return l.define("PanoramaCamera",b,function(){b.call(this);this.set("initialPosition",new m)})});define("lW",["require","gS","nV"],function(a){var e=a("gS");return a("nV").define("RotationalCameraDisplayPosition",e,function(){e.apply(this,arguments)})});
2575define("lf",["require","lW","nV"],function(a){var e=a("lW");return a("nV").define("PanoramaCameraDisplayPosition",e,function(){e.apply(this,arguments)})});define("ff",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("PanoramaCameraMovement",e,function(){e.call(this)})});
2576define("eX",["require","mh","cC","nV","pg"],function(a){var e=a("mh"),l=a("cC"),m=a("nV"),k=a("pg");a=m.define("RotationalCameraSequence",e,function(){e.call(this)});a.prototype.play=a.prototype.play=function(){this.trigger(new l(k.ey))};a.prototype.pause=a.prototype.pause=function(){this.trigger(new l(k.jG))};return a});define("bP",["require","nV","eX"],function(a){var e=a("nV"),l=a("eX");return e.define("PanoramaCameraSequence",l,function(){l.call(this)})});
2577define("iM",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("PanoramaMapLocation",e,function(){e.call(this)})});define("bk",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("PanoramaModel3DLocation",e,function(){e.call(this)})});define("px",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("PanoramaOverlay",e,function(){e.call(this)})});
2578define("nA",["require","lg","hv","a"],function(a){function e(b){this.j=b;this.Qp=[];this.d9=!1;this.hb=this.Ea=0}var l=a("lg"),m=a("hv"),k=a("a");e.prototype.clear=function(){this.stop();this.Qp=this.j=null};e.prototype.end=function(b){var h=[],f=[],c=this.upa(b);
2578this.Qp.forEach(function(d){0>c.indexOf(d)?h.push(d):f.push(d)});h.forEach(function(d){d.PE().Mc(l.W)});this.Qp=f;this.d9=!1};e.prototype.start=function(b){this.end(b);this.Qp=this.upa(b);this.d9=0<this.Qp.filter(function(h){return h instanceof
2579m}).length;this.bxa();this.hZ(l.Y,!0)};e.prototype.play=function(){this.hZ(l.Y)};e.prototype.pause=function(){this.hZ(l.Ib)};e.prototype.stop=function(){this.hZ(l.W)};e.prototype.Gd=function(){this.Ea=this.j.Sc();this.hb=this.j.Rc();this.bxa()};e.prototype.bxa=function(){if(this.d9){var b=Math.PI/180,h=this.Ea*b,f=this.hb*b,c=new k(Math.sin(h)*Math.cos(f),Math.sin(f),Math.cos(h)*Math.cos(f));this.Qp.forEach(function(d){if(d instanceof m){var g=d.get("yaw",h)*b,p=d.get("pitch",f)*b,q=d.get("maximumAngle",
2580360)*b;g=new k(Math.sin(g)*Math.cos(p),Math.sin(p),Math.cos(g)*Math.cos(p));q=Math.min(1,Math.max(0,1-Math.acos(c.JE(g))/q));d.PE().vx(q)}}.bind(this))}};e.prototype.upa=function(b){return b?b.get("audios",[]):[]};e.prototype.hZ=function(b,h){(h?this.Qp.slice().reverse():this.Qp).forEach(function(f){if(f.get("autoplay",!1)){f=f.PE();var c=f.getState();b==l.Y&&c!=l.Y?f.Mc(l.Y):b==l.Ib&&c==l.Y?f.Mc(l.Ib):b==l.W&&c!=l.W&&f.Mc(l.W)}})};return e});
2581define("fv",["require"],function(){function a(c){c%=m;0>c&&(c+=m);return h[c*k|0]}function e(c){c%=m;0>c&&(c+=m);return b[c*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.Fh=this.Eh=0};l.prototype.clone=function(){var c=new l;c.m11=this.m11;c.m12=this.m12;c.m13=this.m13;c.m21=this.m21;c.m22=this.m22;c.m23=this.m23;c.m31=this.m31;c.m32=this.m32;c.m33=this.m33;c.Eh=this.Eh;c.Fh=
2582this.Fh;c.tz=this.tz;return c};l.prototype.concat=function(c){var d=this.m11,g=this.m12,p=this.m13,q=this.m21,n=this.m22,r=this.m23,u=this.m31,t=this.m32,v=this.m33,w=this.Eh,x=this.Fh,y=this.tz;this.m11=d*c.m11+g*c.m21+p*c.m31;this.m12=d*c.m12+g*c.m22+p*c.m32;this.m13=d*c.m13+g*c.m23+p*c.m33;this.m21=q*c.m11+n*c.m21+r*c.m31;this.m22=q*c.m12+n*c.m22+r*c.m32;this.m23=q*c.m13+n*c.m23+r*c.m33;this.m31=u*c.m11+t*c.m21+v*c.m31;this.m32=u*c.m12+t*c.m22+v*c.m32;this.m33=u*c.m13+t*c.m23+v*c.m33;this.Eh=w*
2583c.m11+x*c.m21+y*c.m31+c.Eh;this.Fh=w*c.m12+x*c.m22+y*c.m32+c.Fh;this.tz=w*c.m13+x*c.m23+y*c.m33+c.tz};l.prototype.translate=function(c,d,g){this.Eh+=c;this.Fh+=d;this.tz+=g};l.prototype.scale=function(c,d,g){this.m11*=c;this.m12*=d;this.m13*=g;this.m21*=c;this.m22*=d;this.m23*=g;this.m31*=c;this.m32*=d;this.m33*=g;this.Eh*=c;this.Fh*=d;this.tz*=g};l.prototype.rotateX=function(c){var d=a(c);c=e(c);var g=this.m12*d+this.m13*c,p=this.m22*c-this.m23*d,q=this.m22*d+this.m23*c,n=this.m32*c-this.m33*d,r=
2584this.m32*d+this.m33*c,u=this.Fh*c-this.tz*d,t=this.Fh*d+this.tz*c;this.m12=this.m12*c-this.m13*d;this.m13=g;this.m22=p;this.m23=q;this.m32=n;this.m33=r;this.Fh=u;this.tz=t};l.prototype.rotateY=function(c){var d=a(c);c=e(c);var g=-this.m11*d+this.m13*c,p=this.m21*c+this.m23*d,q=-this.m21*d+this.m23*c,n=this.m31*c+this.m33*d,r=-this.m31*d+this.m33*c,u=this.Eh*c+this.tz*d,t=-this.Eh*d+this.tz*c;this.m11=this.m11*c+this.m13*d;this.m13=g;this.m21=p;this.m23=q;this.m31=n;this.m33=r;this.Eh=u;this.tz=t};
2585l.prototype.rotateZ=function(c){var d=a(c);c=e(c);var g=this.m11*d+this.m12*c,p=this.m21*c-this.m22*d,q=this.m21*d+this.m22*c,n=this.m31*c-this.m32*d,r=this.m31*d+this.m32*c,u=this.Eh*c-this.Fh*d,t=this.Eh*d+this.Fh*c;this.m11=this.m11*c-this.m12*d;this.m12=g;this.m21=p;this.m22=q;this.m31=n;this.m32=r;this.Eh=u;this.Fh=t};l.prototype.rotate=function(c,d,g){this.rotateX(c);this.rotateY(d);this.rotateZ(g)};l.prototype.invert=function(){var c=this.f1a();if(0==c)return!1;var d=this.clone();this.m11=
2586(d.m22*d.m33-d.m23*d.m32)/c;this.m12=(d.m13*d.m32-d.m12*d.m33)/c;this.m13=(d.m12*d.m23-d.m13*d.m22)/c;this.m21=(d.m23*d.m31-d.m21*d.m33)/c;this.m22=(d.m11*d.m33-d.m13*d.m31)/c;this.m23=(d.m13*d.m21-d.m11*d.m23)/c;this.m31=(d.m21*d.m32-d.m22*d.m31)/c;this.m32=(d.m12*d.m31-d.m11*d.m32)/c;this.m33=(d.m11*d.m22-d.m12*d.m21)/c;this.Eh=-(d.Eh*this.m11+d.Fh*this.m21+d.tz*this.m31);this.Fh=-(d.Eh*this.m12+d.Fh*this.m22+d.tz*this.m32);this.tz=-(d.Eh*this.m13+d.Fh*this.m23+d.tz*this.m33);return!0};l.prototype.f1a=
2587function(){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.AJ=function(c){var d=c.x*this.m12+c.y*this.m22+c.z*this.m32+this.Fh,g=c.x*this.m13+c.y*this.m23+c.z*this.m33+this.tz;c.x=c.x*this.m11+c.y*this.m21+c.z*this.m31+this.Eh;c.y=d;c.z=g};for(var m=2*Math.PI,k=18E4/m,b=new Float32Array(180001),h=new Float32Array(180001),f=0;18E4>f;f++)b[f]=Math.cos(f/k),h[f]=Math.sin(f/k);b[18E4]=b[0];
2588h[18E4]=h[0];return l});define("dK",["require"],function(){return{eu:0,Wa:1,ob:2}});
2589define("cb",["require","nV","lY"],function(a){var e=a("nV"),l=a("lY"),m={get:function(k){return k.AJa||(k.AJa=this.iOa(k))},iOa:function(k){if(e.Ga("CubicPanoramaFrame",k))return k.get("stereoCube")?m.hy:k.get("cube")?m.qu:m.rl;if(e.Ga("SphericPanoramaFrame",k)){var b=k.get("stereoSphere"),h=k.get("sphere"),f=k.get("hfov");k=k.get("vfov");var c=359.9<f&&179.9<k,d=!1;b&&!h?d=!0:b?h&&!b.get("levels").some(l.fGa)?d=!1:c&&l.s_a()?d=!0:!c&&l.r_a()&&(d=!0):d=!1;return d?(b=b.get("levels"),h=Math.max.apply(Math,
2590b.map(function(g){return g.get("width")})),1<Math.max.apply(Math,b.map(function(g){return g.get("height")}))/k/(h/f)?m.Kp:m.gs):m.Ep}},hy:"stereoCube_12_1",qu:"monoCube_6_1",rl:"monoCube_1_1",Ep:"monoSphere_1_1",Kp:"stereoSphere_1_2",gs:"stereoSphere_2_1"};return m});
2591define("nF","require nV mr dK mY cb kF lY v ir mC mv gY oC".split(" "),function(a){function e(D,M,S){return D.split(M).join(S).split(encodeURI(M)).join(S)}function l(D,M){return 0<=D.indexOf(M)||0<=D.indexOf(encodeURI(M))}function m(){var D=A.Xw()&&B.eg("recent_ipad_use_max_res",!1);m=function(){return D};return D}function k(D){if(0==D.length)return 1;D.sort(function(M,S){return S.get("width")-M.get("width")});return D[0].get("width")/D[0].get("height")}function b(D,M){var S=1E4;m()||(A.Hf()?S=2048:
2592A.Xw()?S=1280:A.nb()&&(S=1024));switch(D){case z.qu:return[6*S,S];case z.rl:return[S,S];case z.hy:return[12*S,S]}switch(D){case z.Kp:M*=2;break;case z.gs:M*=.5}return 2<M?[4*S,4*S/M]:[2*S*M,2*S]}function h(D){if(m())return[void 0,void 0];switch(D){case z.qu:if(A.Hf()||A.nb())return[18432,1536];break;case z.Kp:if(A.Hf())return[5352,5352];if(A.nb())return[6086,6086];break;case z.Ep:if(A.Hf())return[7168,3584];
2592if(A.nb()&&A.Xw())return[8192,4096]}return[void 0,void 0]}function f(D,M){var S=h(M);M=D.filter(function(Y){return v.Ga("TiledImageResourceLevel",
2593Y)?!0:void 0!==S[0]&&Y.get("width")>S[0]||void 0!==S[1]&&Y.get("height")>S[1]?!1:!0});0==M.length&&(M=[d(D)[0]]);return M}function c(){return A.Xw()?[w.Lka]:A.g1()||A.h1()?A.mc()==A.Sr||A.mc()==A.Ix?[w.XT,w.Z4]:[w.Z4,w.XT]:A.Hf()?[w.XT]:A.nb()?[w.WT]:[]}function d(D){D.sort(function(M,S){return M.get("width")-S.get("width")});return D}function g(D,M){function S(Y){return Math.abs(Y.get("width")*Y.get("height")-M[0]*M[1])}D.sort(function(Y,ca){return S(Y)-S(ca)});return D.length&&D[0]||null}function p(D,
2594M,S){D=D.filter(function(Y){return 0>Y.get("tags").indexOf(M)});return D.length?D:void 0!==S?S:[]}function q(D,M,S){D=D.filter(function(Y){return 0<=Y.get("tags").indexOf(M)});return D.length?D:void 0!==S?S:[]}function n(D,M,S){switch(S){case z.hy:case z.qu:case z.rl:return D;case z.Ep:case z.gs:return D*M.get("hfov",180)/90;case z.Kp:return D*M.get("hfov",180)*2/90}}function r(D,M){switch(M){case z.hy:return D.get("stereoCube").get("levels");case z.qu:return D.get("cube").get("levels");case z.rl:return D.get("front").get("levels");
2595case z.Ep:return D.get("sphere").get("levels");case z.Kp:case z.gs:return D.get("stereoSphere").get("levels")}}function u(D,M){var S=r(D,M),Y=D.get("minFaceSize");if(Y){var ca=n(Y,D,M);D=S.filter(function(da){return da.get("height")>=ca});0<D.length&&(S=D)}return S}function t(D){for(var M=[],S=0;S<D.length;S++){var Y=D[S];0>M.indexOf(Y)&&M.push(Y)}return M}var v=a("nV"),w=a("mr"),x=a("dK"),y=a("mY"),z=a("cb"),C=a("kF");a("lY");var A=a("v");a("ir");var B=a("mC"),E=a("mv"),G=a("gY"),K=a("oC"),I={yAa:function(D){D=
2596D.get("frames");if(0==D.length)return 1;var M=D[0];D=z.get(M)==z.Ep&&M.tm()?(D=K.Zj(M.get("sphere")))?[D]:[]:z.get(M)!=z.Kp&&z.get(M)!=z.gs||!M.tm()?I.Mfa(M,!1):(D=K.Zj(M.get("stereoSphere")))?[D]:[];return Math.max.apply(Math,D.map(function(S){return I.H1a(M,S)}).concat([1]))},H1a:function(D,M){M=I.Hfa(D,M,y.FRONT);M=M.get("width");var S=D.wA().get("hfov",360);switch(z.get(D)){case z.hy:return M/1080;case z.qu:return M/540;case z.rl:return M/90;case z.Ep:return M/S;case z.Kp:return M/S;case z.gs:return M/
2597(2*S)}},gga:function(D,M){D=I.Kn(D,M);return 6>=D.length&&D.every(function(S){return G.Y2(S)})},oha:function(D,M){return I.Kn(D,M).every(function(S){return G.Y2(S)})},Kn:function(D,M,S){if(!D)return[];S||(S=!1);if(v.Ga("Panorama",D))return S=D.get("flipImageHorizontally",!1),t([].concat(Array.prototype.concat.apply([],D.get("frames").map(function(P){return I.Kn(P,M,S)})),Array.prototype.concat.apply([],D.get("overlays").map(function(P){return I.Kn(P,M,S)}))));if(v.Ga("PanoramaFrame",D)){var Y=Array.prototype.concat.apply([],
2598D.get("overlays").map(function(P){return I.Kn(P,M,S)}));if(z.get(D)==z.Ep&&D.tm())return I.Kn(K.Zj(D.get("sphere")),M).concat(Y);if((z.get(D)==z.Kp||z.get(D)==z.gs)&&D.tm())return I.Kn(K.Zj(D.get("stereoSphere")),M).concat(Y);var ca=I.Mfa(D,M)[0];S=D.get("flipImageHorizontally",!1);if(z.get(D)==z.rl){var da=[y.FRONT,y.Wa,y.BACK,y.ob,y.zc,y.sc];return Array.prototype.concat.apply([],da.map(function(P){return(P=I.Hfa(D,ca,P))?I.Kn(P,M,S):[]})).concat(Y)}return I.Kn(ca,M,S).concat(Y)}if(v.Ga("Video360ResourceLevel",
2599D))return(Y=D.get("posterURL"))?[Y]:[];if(v.Ga("HotspotPanoramaOverlay",D))return D.get("projected")?Array.prototype.concat.apply([],D.get("items").map(function(P){return I.Kn(P,M,S)})):[];if(v.Ga("FlatHotspotPanoramaOverlayImage",D)||v.Ga("HotspotPanoramaOverlayImage",D))return Y=D.get("image").get("levels"),ca=Y[0],I.Kn(ca,M,S),Array.prototype.concat.apply([],Y.map(function(P){return I.Kn(P,M,S)}));if(v.Ga("TiledImageResourceLevel",D)){var ea=[];Y=Math.round(D.get("width")/D.get("height"));if(1==
2600Y)var F=z.rl;else if(12==Y)F=z.e9a;else if(6==Y)F=z.qu;else return[];var N=12==Y?[x.ob,x.Wa]:[x.eu];da=[y.ob,y.Wa,y.zc,y.sc,y.FRONT,y.BACK];var R=D.get("colCount",Y)/Y,L=D.get("rowCount",1);N.forEach(function(P){da.forEach(function(V){for(var aa=0;aa<L;aa++)for(var ba=0;ba<R;ba++)ea.push(I.MAa(D,F,P,V,S,L,aa,ba))})});return ea}return v.Ga("ImageResourceLevel",D)?[D.get("url")]:[]},Mfa:function(D,M){var S=z.get(D),Y=this.YOa(D);if(Y)return M&&!this.fqa(Y)&&(D=this.Apa(D),D!=Y)?[D,Y]:[Y];Y=q(u(D,S),
2601w.a5);if(0<Y.length)return d(Y);Y=this.KPa(D);return M&&!this.fqa(Y)&&(D=this.Apa(D),D!=Y)?[D,Y]:[Y]},X2a:function(D){return 0<=D.get("tags").indexOf(w.a5)},Hfa:function(D,M,S){if(z.get(D)!=z.rl)return M;switch(S){case y.FRONT:var Y=D.get("front");break;case y.Wa:Y=D.get("left");break;case y.BACK:Y=D.get("back");break;case y.ob:Y=D.get("right");break;case y.zc:Y=D.get("top");break;case y.sc:Y=D.get("bottom")}D=Y&&Y.get("levels")||[];if(0==D.length)return null;D=D.filter(function(ca){return ca.get("width")==
2602M.get("width")&&ca.get("height")==M.get("height")&&ca.get("grayscale",!1)==M.get("grayscale",!1)&&ca.get("colCount",1)==M.get("colCount",1)&&ca.get("rowCount",1)==M.get("rowCount",1)});return D[0]},MAa:function(D,M,S,Y,ca,da,ea,F){D=D.get("url");var N=0;l(D,"{eye}")?D=e(D,"{eye}",X[S]):N+=6*(ca?U:W)[S];l(D,"{face}")?D=e(D,"{face}",T[Y]):M!=z.rl&&(N+=Q[Y]);D=e(D,"{row}",ea);return D=e(D,"{column}",F+N*da)},J1a:function(D,M){return I.WM(I.OC(D.get("image")),90,90,E.Ih,M)},c1a:function(D,M){return I.WM(I.OC(D.get("image")),
2603D.get("hfov"),D.get("vfov"),D.get("scaleMode"),M)},t1a:function(D,M){return I.WM(I.OC(D.get("image")),D.get("hfov"),D.get("vfov"),D.get("scaleMode"),M)},W1a:function(D,M){return I.WM(I.OC(D.get("image")),D.get("hfov"),D.get("vfov"),D.get("scaleMode"),M)},kAa:function(D,M){return I.WM(I.OC(D.get("image")),D.get("hfov"),D.get("vfov"),D.get("scaleMode"),M)},OC:function(D){return D&&D.get("levels")||[]},WM:function(D,M,S,Y,ca){if(!D||!D.length)return null;D=p(D,w.ks,D);for(var da=c(),ea=0;ea<da.length;ea++)D=
2604q(D,da[ea],D);da=1E4;m()||(A.Hf()?da=2048:A.Xw()?da=1280:A.nb()&&(da=1024));ea=d(D)[D.length-1];M=C.Qfa(M,S,ea.get("width"),ea.get("height"),Y,ca);return g(D,[M.Je*da/90,M.Nr*da/90])},n1a:function(D){var M=I.OC(D.get("image"));if(!M||!M.length)return null;M=p(M,w.ks,M);for(var S=c(),Y=0;Y<S.length;Y++)M=q(M,S[Y],M);S=d(M)[M.length-1];D=C.K0(D.get("width"),D.get("height"),S.get("width"),S.get("height"),D.get("scaleMode"));return g(M,[D.width,D.height])},M1a:function(D){var M=I.OC(D.get("image"));if(!M||
2605!M.length)return null;M=p(M,w.ks,M);for(var S=c(),Y=0;Y<S.length;Y++)M=q(M,S[Y],M);S=1E4;m()||(A.Hf()?S=2048:A.Xw()?S=1280:A.nb()&&(S=1024));var ca=Y=20;(D=D.get("vertices"))&&4==D.length&&(Y=D[0].get("yaw"),ca=D[1].get("yaw"),ca<Y&&(ca+=360),Y=ca-Y,ca=D[0].get("pitch"),D=D[3].get("pitch"),ca-=D);return g(M,[Y*S/90,ca*S/90])},Apa:function(D){var M=z.get(D);D=u(D,M);D=f(D,M);D=q(D,w.ks,D);M=c();for(var S=0;S<M.length;S++)D=q(D,M[S],D);return g(D,[0,0])},KPa:function(D){var M=z.get(D);D=u(D,M);D=f(D,
2606M);D=p(D,w.ks,D);for(var S=c(),Y=0;Y<S.length;Y++)D=q(D,S[Y],D);M=b(M,k(D));return g(D,M)},YOa:function(D){var M=c();if(0==M.length)return null;var S=z.get(D),Y=u(D,S);Y=f(Y,S);Y=p(Y,w.ks,Y);D=[];for(var ca=0;ca<M.length&&0==D.length;ca++)D=q(Y,M[ca]);if(0==D.length)return null;M=b(S,k(D));return g(D,M)},fqa:function(D){return 0<=D.get("tags").indexOf(w.a5)?!1:A.mc()==A.Kx?!0:G.Y2(D.get("url"))}},Q=function(){var D={};D[y.ob]=0;D[y.Wa]=1;D[y.zc]=2;D[y.sc]=3;D[y.FRONT]=4;D[y.BACK]=5;return D}(),W=
2607function(){var D={};D[x.ob]=0;D[x.Wa]=1;D[x.eu]=0;return D}(),U=function(){var D={};D[x.ob]=1;D[x.Wa]=0;D[x.eu]=0;return D}(),T=function(){var D={};D[y.ob]="r";D[y.Wa]="l";D[y.zc]="u";D[y.sc]="d";D[y.FRONT]="f";D[y.BACK]="b";return D}(),X=function(){var D={};D[x.Wa]="l";D[x.ob]="r";D[x.eu]="b";return D}();return I});
2608define("iH","require en pg lh fv a nF".split(" "),function(a){function e(q){this.j=q;this.xa=!1;this.Bn=e.SB;this.l8=this.WC=!1;this.bh(null);this.j.bind(m.pc,this.Fc,this,!0);this.Fc()}var l=a("en"),m=a("pg"),k=a("lh"),b=a("fv"),h=a("a"),f=a("nF");e.prototype.cBa=function(){return this.Bn!==e.SB};e.prototype.bBa=function(){return this.Bn&e.uG?!0:!1};e.prototype.dBa=function(){return this.Bn&e.vG?!0:!1};e.prototype.eBa=function(){return this.Bn&e.VB?!0:!1};e.prototype.aBa=function(){return this.Bn&
2609e.RB?!0:!1};e.prototype.px=function(q){this.WC=q};e.prototype.Sc=function(){this.Hn();return this.Ea};e.prototype.Rc=function(){this.Hn();return this.hb};e.prototype.Tf=function(){this.Hn();return this.pd};e.prototype.Tw=function(){this.Hn();return this.Pa};e.prototype.bh=function(q){q?(this.Kaa=q.get("hfov",360),this.hY=q.get("vfov",180),this.NO=q.get("pitch",0),this.BD=q.get("partial",!1),this.f9=q.gBa(),this.b9=q.XAa(),this.k9=Math.min(q.get("hfovMax",170),170),this.dN=q.get("hfovMin"),this.B$=
2610f.yAa(q)):(this.Kaa=360,this.hY=180,this.NO=0,this.b9=this.f9=this.BD=!1,this.k9=120,this.B$=this.dN=1);this.Ea=0;this.hb=this.NO;this.pd=0;this.xa=!0};e.prototype.setPosition=function(q,n,r,u,t){this.Ea=q;this.hb=n;this.pd=r;this.Pa=u;this.l8=t;this.xa=!0};e.prototype.Fc=function(){var q=this.j.Ya(),n=this.j.Ab();if(this.oa!=q||this.wa!=n)this.oa=q,this.wa=n,this.xa=!0};e.prototype.Hn=function(){if(this.xa){this.xa=!1;var q=this.Ea*g,n=this.hb*g,r=this.Pa*g,u=(this.l8?k.Mr(this.k9,this.oa,this.wa):
2611this.k9)*g;a:{var t=this.dN;if(l(t).isString()&&(t=t.match(/^\s*([+-]?\d+\.?\d*)\s*%\s*$/))&&2<=t.length){t=parseFloat(t[1]);break a}t=void 0}t=void 0!==t?2*Math.atan2(this.oa*this.j.getPixelRatio()*.5,45*this.B$*t/100):this.dN?(this.l8?k.Mr(this.dN,this.oa,this.wa):this.dN)*g:2*Math.atan2(this.oa*this.j.getPixelRatio()*.5,45*this.B$);t=Math.min(u,t);if(this.WC){var v=360;var w=180;var x=0}else if(this.f9||this.b9){v=this.b9?90:this.NO+.5*this.hY;var y=this.f9?-90:this.NO-.5*this.hY;w=v-y;x=.5*(v+
2612y);v=this.Kaa}else v=this.Kaa,x=this.NO,w=this.hY;v*=g;w*=g;x*=g;for(y=this.oa/this.wa;q<-c;)q+=2*c;for(;q>c;)q-=2*c;r=Math.max(Math.min(r,u),t);u=e.SB;if(!this.WC){n>d?u|=e.VB:n<-d&&(u|=e.RB);n=Math.max(Math.min(n,.5*c),.5*-c);var z=2*Math.atan(Math.tan(.5*r)/y);if(z>=w)r=2*Math.atan(Math.tan(.5*w)*y),n=x,u=u|e.VB|e.RB;else{var C=Math.min(.5*w+x,.5*c);w=Math.max(.5*-w+x,.5*-c);x=!this.BD&&C>=.495*c?.5*c:C-.5*z;w=!this.BD&&w<=.495*-c?.5*-c:w+.5*z;n>x?(n=x,u|=e.VB):n<w&&(n=w,u|=e.RB)}this.BD&&(w=Math.tan(.5*
2613r),y=w/y,y=new h(-w,0<n?y:-y,1),w=new b,w.rotateX(-n),y.apply(w),y=2*y.Sc(),0>y&&(y+=2*c),w=Math.max(0,.5*v-.5*y-.25*g),z=Math.min(0,.5*-v+.5*y+.25*g),y>v?(q=0,r=Math.max(t,r*v/y),u=u|e.uG|e.vG):q>w?(q=w,u|=e.vG):q<z&&(q=z,u|=e.uG))}this.Ea=q*p;this.hb=n*p;this.Pa=r*p;this.Bn=u}};var c=Math.PI,d=.5*Math.PI,g=Math.PI/180,p=180/Math.PI;e.SB=0;e.uG=1;e.vG=2;e.VB=4;e.RB=8;return e});
2614define("be",["require","lE","pg","gv","pw"],function(a){var e=a("lE"),l=a("pg"),m=a("gv"),k=a("pw"),b=e.extend(m,function(){m.call(this);this.nN=!1;this.Jo=void 0;this.Pa=90;this.c8=.1;this.Fb=this.cb=null});b.prototype.setCamera=function(h){this.Fb&&this.Fb.unbind(l.F("hoverFactor"),this.tda,this);if(this.Fb=h)this.Fb.bind(l.F("hoverFactor"),this.tda,this),this.tda()};b.prototype.tda=function(){this.c8=this.Fb.get("hoverFactor")};b.prototype.BF=function(h){this.Pa=h};b.prototype.Gr=function(h){this.om();
2615h&&(this.cb=h,this.Jo=void 0,this.cb.bind(l.bc,this.Mj,this,!0))};b.prototype.om=function(){null!=this.cb&&(this.cb.unbind(l.bc,this.Mj,this),this.cb=null)};b.prototype.Mj=function(h){this.jJ(h)};b.prototype.jJ=function(h){this.Jo&&this.Lda.call(this,+(Math.min(Math.max((h.x-this.Jo.x)/this.cb.Ya(),-1),1)*this.Pa*this.c8),-(Math.min(Math.max((h.y-this.Jo.y)/this.cb.Ya(),-1),1)*this.Pa*this.c8));this.Jo=h};b.prototype.Lda=function(h,f){if(0!=h||0!=f){var c=new k(b.lu);c.kL=h;c.zK=f;this.trigger(c)}};
2616b.lu="rotation change";return b});
2617define("hs","require en lE cC gv dE be".split(" "),function(a){a("en");var e=a("lE"),l=a("cC"),m=a("gv"),k=a("dE"),b=a("be"),h=e.extend(m,function(f,c,d){m.call(this);this.j=f;this.Xc=this.j.Xc;this.ka=c;this.Kc=d;this.Lz=this.hU=this.U=!1;this.fc=new k;this.kj=null;this.pd=this.hb=this.Ea=0;this.Pa=90;this.pb=new b;this.pb.bind(b.lu,this.rO,this,!0)});h.prototype.clear=function(){this.pb.unbind(b.lu,this.rO,this,!0);this.pb.om();this.pb=null;this.rC();this.j=this.Xc=this.Kc=this.ka=this.fc=null};
2618h.prototype.setCamera=function(f){this.fc.reset();this.pb.setCamera(f)};h.prototype.setPosition=function(f,c,d,g){if(this.Ea!=f||this.hb!=c||this.pd!=d||this.Pa!=g)this.Ea=f,this.hb=c,this.pd=d,this.Pa=g,this.pb.BF(this.Pa),this.Yba(!1),this.TP()};h.prototype.kf=function(){return this.hU&&this.Lz?!0:!1}
2618;h.prototype.Cb=function(f){this.zQ=!1;this.fc.Cb(f);this.Lz=!1;f=this.Ea+this.fc.Iy;var c=this.hb+this.fc.$G;this.Kc.op(this.Pa);this.ka.setPosition(f,c,this.pd,this.Kc.Hg(),this.Kc.Sw());this.Ea=
2619this.ka.Sc();this.hb=this.ka.Rc();this.pd=this.ka.Tf();this.Pa=this.ka.Tw()};h.prototype.lr=function(){return this.Ea};h.prototype.kr=function(){return this.hb};h.prototype.uA=function(){return this.pd};h.prototype.RE=function(){return this.Pa};h.prototype.rb=function(f){this.U!=f&&((this.U=f)?this.TP():(this.rC(),this.Yba(!1)))};h.prototype.rO=function(f){this.Oc(f.Fx,f.ex,0,0,f.kL,f.zK,0,0,!1,!1,!0,!0)};h.prototype.Oc=function(f,c,d,g,p,q,n,r,u,t,v,w){var x=this.fc.pia(f,c,d,p,q,n,t,v,w)||x;x&&
2620this.di()};h.prototype.di=function(){this.Lz=!0;this.trigger(new l(h.Hh))};h.prototype.TP=function(){this.rC();this.kj=setTimeout(this.EO.bind(this),30)};h.prototype.rC=function(){this.kj&&(clearTimeout(this.kj),this.kj=null)};h.prototype.EO=function(){this.Yba(this.U)};h.prototype.Yba=function(f){this.hU!=f&&((this.hU=f)?(this.fc.reset(),this.pb.Gr(this.j.getParent()),this.di()):this.pb.om())};h.Hh="position change request";return h});
2621define("hO","require lE pg cC gv v hW".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("cC"),k=a("gv");a("v");var b=a("hW");a=e.extend(k,function(){k.call(this);this.Txa=this.U=!1;this.pd=this.hb=this.Ea=0;this.SY=!1;this.Hq=this.st=0});a.prototype.rb=function(h){if(this.U!=h)if(this.U=h){b.bind(this.dO,this,!0);h=b.pr();var f=h.pitch;this.st=this.Ea-h.yaw;this.Hq=this.hb-f;this.Vo()}else b.unbind(this.dO,this,!0)};a.prototype.setPosition=function(h,f,c){this.Ea!=h&&(this.st=this.TD(this.st+(h-
2622this.TD(this.Ea,h)),0),this.Ea=h);this.hb!=f&&(this.Hq+=f-this.hb,this.hb=f);this.pd=c};a.prototype.lr=function(){return this.Ea};a.prototype.kr=function(){return this.hb};a.prototype.uA=function(){return this.pd};a.prototype.kf=function(){return b.b4a()};a.prototype.Cb=function(h){var f=b.pr(),c=f.roll;h=20*h/1E3;var d=f.pitch+(this.Txa?this.Hq:0);this.Ea=this.mg(this.Ea,this.TD(this.TD(f.yaw,this.Ea)+this.st,this.Ea),h);this.hb=this.mg(this.hb,d,h);this.pd=this.mg(this.pd,c,h)};a.prototype.h7a=
2623function(h){this.Txa=h};a.prototype.mg=function(h,f,c){h=(f-h)*(1-c);.01>Math.abs(h)&&(h=0);return f-h};a.prototype.TD=function(h,f){for(;h+180<f;)h+=360;for(;h-180>f;)h-=360;return h};a.prototype.dO=function(){this.U&&this.Vo()};a.prototype.Vo=function(){this.trigger(new m(l.ca))};return a});define("er",["require"],function(){return{eG:"left",fG:"right",dG:"down",gG:"up",Gka:"rotate10x",cla:"zoom2x",Y:"playing",Hu:"zoomIn",Iu:"zoomOut",Mf:"stop"}});
2624define("fB","require lE bn cC gv er jg".split(" "),function(a){var e=a("lE"),l=a("bn"),m=a("cC"),k=a("gv"),b=a("er"),h=a("jg"),f=e.extend(k,function(d){k.call(this);this.j=d;this.U=!1;this.Cg={};this.OP=null;this.jj=this.NP=!1;this.AW=this.AW.bind(this);this.Jl=this.Jl.bind(this);this.Xc=this.j.Xc;document.addEventListener("keydown",this.AW);document.addEventListener("keyup",this.Jl)});f.prototype.clear=function(){this.U=!1;this.Xc=this.j=null;document.removeEventListener("keydown",this.AW);document.removeEventListener("keyup",
2625this.Jl)};f.prototype.rb=function(d){this.U!=d&&(this.U=d)&&this.j_()};var c=[l.Ti,l.Gh,l.Wa,l.ob,l.Vn,l.YT,l.QT,l.NT];f.prototype.AW=function(d){if(!h.fp()){var g=d.which,p=!1;!this.Cg[g]&&0<=c.indexOf(g)&&(this.OP||this.NP||(this.OP=setTimeout(this.aTa.bind(this),100)),p=this.Cg[g]=!0);this.jj!=d.shiftKey&&(this.jj=d.shiftKey,p=!0);p&&this.j_()}};f.prototype.aTa=function(){this.NP=!0;this.j_()};f.prototype.Jl=function(d){if(!h.fp()){var g=d.which,p=!1;if(g in this.Cg){delete this.Cg[g];p=!1;for(g in this.Cg)this.Cg[g]&&
2626(p=!0);p||(this.OP&&clearTimeout(this.OP),this.OP=null,this.NP=!1);p=!0}this.jj!=d.shiftKey&&(this.jj=d.shiftKey,p=!0);p&&this.j_()}};f.prototype.j_=function(){if(this.U){var d=this.Xc.get("gazeModeEnabled"),g=this.Xc.get("arrowKeysAction");if(d||"none"!=g){d=d||"rotate"==g;g=[];this.Cg[l.Vn]||this.Cg[l.QT]?g.push(b.Hu):(this.Cg[l.YT]||this.Cg[l.NT])&&g.push(b.Iu);this.NP&&(this.Cg[l.Vn]||this.Cg[l.YT]||this.Cg[l.QT]||this.Cg[l.NT])&&g.push(b.cla);this.Cg[l.Wa]?g.push(b.eG):this.Cg[l.ob]&&g.push(b.fG);
2627if(d||this.jj)this.Cg[l.Ti]?g.push(b.gG):this.Cg[l.Gh]&&g.push(b.dG);this.NP&&(this.Cg[l.Wa]||this.Cg[l.ob]||this.Cg[l.Ti]||this.Cg[l.Gh])&&g.push(b.Gka);0==g.length&&g.push(b.Mf);this.trigger(new m(f.f4,{rCa:g}))}}};f.f4="movementsChange";return f});
2628define("na",["require"],function(){function a(){this.XB=!0;this.reset()}function e(l,m,k){l=(m-l)*(1-k);.01>Math.abs(l)&&(l=0);return m-l}a.prototype.reset=function(){this.XB&&(this.XB=!1,this.TZ=this.UZ=this.vw=this.En=this.aH=this.dH=this.bH=this.Ky=void 0)};a.prototype.moveTo=function(l,m,k,b,h){this.En=l;this.vw=m;this.UZ=k;this.TZ=b;this.B9=h;this.XB=!0};a.prototype.setPosition=function(l,m,k,b){this.Ky=l;this.bH=m;this.dH=k;this.aH=b};a.prototype.lr=function(){return this.Ky};a.prototype.kr=
2629function(){return this.bH};a.prototype.uA=function(){return this.dH};a.prototype.RE=function(){return this.aH};a.prototype.kf=function(){return this.XB};a.prototype.Cb=function(){if(this.XB)if(this.B9)this.Ky=this.En,this.bH=this.vw,this.dH=this.UZ,this.aH=this.TZ,this.XB=!1;else{for(var l=this.Ky,m=this.En-180,k=this.En+180;l<m;)l+=k-m;for(;l>k;)l-=k-m;this.Ky=l;this.Ky=e(this.Ky,this.En,.5);this.bH=e(this.bH,this.vw,.5);this.dH=e(this.dH,this.UZ,.5);this.aH=e(this.aH,this.TZ,.5);this.Ky==this.En&&
2630this.bH==this.vw&&this.dH==this.UZ&&this.aH==this.TZ&&(this.XB=!1)}};return a});
2631define("cy",["require","nR","mC","oB"],function(a){function e(f){this.j=f;this.U=!1;this.pd=this.hb=this.Ea=0;this.ZV=void 0}var l=a("nR"),m=a("mC"),k=a("oB");e.prototype.rb=function(f){this.U!=f&&(this.U=f,this.ZV=void 0)};e.prototype.setPosition=function(f,c,d){if(this.U&&void 0!==this.ZV){for(var g=f-this.ZV;180<g;)g-=360;for(;-180>g;)g+=360;(-1E-4>g||1E-4<g)&&k.MK(f)}this.Ea=f;this.hb=c;this.pd=d};e.prototype.lr=function(){return this.Ea};e.prototype.kr=function(){return this.hb};e.prototype.uA=
2632function(){return this.pd};e.prototype.kf=function(){return!0};e.prototype.Cb=function(){if(k.Zg&&!this.j.PY){k.MK();var f=l.c3(k.tg,!0);this.ZV=this.Ea=f.Ra;this.hb=f.pitch;this.pd=f.wg;this.hb=void 0===h?f.pitch:h;this.pd=void 0===b?f.wg:b;k.setScale(1)}};var b=m.pj("debug")?m.L0("force_vr_roll"):void 0,h=m.pj("debug")?m.L0("force_vr_pitch"):void 0;return e});
2633define("g","require en lE pg cC gv cI hO fB dE fw na cy er nR oB bd".split(" "),function(a){var e=a("en"),l=a("lE"),m=a("pg"),k=a("cC"),b=a("gv"),h=a("cI"),f=
2633a("hO"),c=a("fB"),d=a("dE"),g=a("fw"),p=a("na"),q=a("cy"),n=a("er");a("nR");var r=a("oB"),u=a("bd"),t=l.extend(b,function(v,w,x){b.call(this);this.j=v;this.Xc=this.j.Xc;this.ka=w;this.Kc=x;this.Lz=this.Zy=this.$M=this.IY=this.U=!1;this.fc=new d;this.Rq=new p;this.pd=this.hb=this.Ea=0;this.Pa=90;this.dE=1;this.Qh=void 0;this.b6=this.WL=5;this.zQ=
2634!1;this.pb=new g;this.pb.bind(g.lu,this.rO,this,!0);this.pb.bind(g.Bp,this.vz,this,!0);this.pb.bind(g.Si,this.Bq,this,!0);this.pb.bind(g.Ri,this.Aq,this,!0);this.Fl=new f;this.Fl.bind(m.ca,this.Vra,this);this.Yy=!1;this.jn=new c(this.j);this.jn.bind(c.f4,this.esa,this,!0);this.rt=new q(this.j);r.P.bind(m.ca,this.Ao,this,!0);this.Ao()});t.prototype.clear=function(){this.pb.unbind(g.lu,this.rO,this,!0);this.pb.unbind(g.Bp,this.vz,this,!0);this.pb.unbind(g.Si,this.Bq,this,!0);this.pb.unbind(g.Ri,this.Aq,
2635this,!0);this.pb.om();this.pb=null;this.Fl.unbind(m.ca,this.Vra,this);this.Fl=null;this.jn.unbind(c.f4,this.esa,this,!0);this.jn.clear();this.jn=null;r.P.unbind(m.ca,this.Ao,this,!0);this.Kc=this.ka=this.fc=null;this.TU();this.j=this.Xc=null};t.prototype.setCamera=function(v){this.fc.reset();this.Rq.reset();this.pb.setCamera(v);this.WL=v.get("automaticRotationSpeed");this.b6=v.get("automaticZoomSpeed")};t.prototype.fk=function(v){function w(A){return e(v).contains(A)}e.isArray(v)||(v=[v]);var x=0,
2636y=0,z=0,C=!1;w(n.Mf)||(w(n.eG)?x=-this.WL:w(n.fG)&&(x=+this.WL),w(n.dG)?y=-this.WL:w(n.gG)&&(y=+this.WL),w(n.Hu)?z=-this.b6:w(n.Iu)&&(z=+this.b6),w(n.Y)&&(C=!0),w(n.cla)&&(z*=2),w(n.Gka)&&(x*=10,y*=10),x*=this.dE,y*=this.dE);this.Oc(x,y,0,z,0,0,0,0,C,!0,!0,!0)};t.prototype.setPosition=function(v,w,x,y){this.Ea=v;this.hb=w;this.pd=x;this.Pa=y;this.dE=this.Pa/90;this.Fl.setPosition(this.Ea,this.hb,this.pd);this.rt.setPosition(this.Ea,this.hb,this.pd);this.pb.BF(this.Pa);this.Rq.setPosition(this.Ea,
2637this.hb,this.pd,this.Pa)};t.prototype.moveTo=function(v,w,x,y,z){this.Rq.moveTo(v,w,x,this.Kc.Zza(y),z);this.IY=!1;this.fc.reset();this.di()};t.prototype.qia=function(v,w,x){this.Oc(0,0,0,0,v,w,x,0,!1,!1,!1)};t.prototype.kf=function(){return this.U&&(this.Lz||this.m3())?!0:!1};t.prototype.L_a=function(){this.Lz=this.zQ=!1};t.prototype.m3=function(){return this.U?this.zQ?!0:this.rt.U?this.rt.kf()||this.fc.kf():this.Fl.U?this.Yy?!0:this.Fl.kf()||this.fc.kf():this.fc.kf()||this.Rq.kf():!1};t.prototype.Cb=
2638function(v){this.zQ=!1;this.fc.Cb(v);this.Lz=!1;var w=this.Pa;if(this.rt.U){this.rt.Cb(v);v=this.rt.lr()+this.fc.Iy+this.jQa();var x=this.rt.kr();var y=this.rt.uA()}else this.Rq.kf()?(this.Rq.Cb(v),v=this.Rq.lr(),x=this.Rq.kr(),y=this.Rq.uA(),w=this.Rq.RE()):(this.Fl.U?(this.Yy=!1,this.Fl.Cb(v),v=this.Fl.lr()+this.fc.Iy,x=this.Fl.kr(),this.$M&&(x+=this.fc.$G),y=this.Fl.uA()):(v=this.Ea+this.fc.Iy,x=this.hb+this.fc.$G,y=0),w+=this.fc.Dna);this.Kc.op(w);this.ka.setPosition(v,x,y,this.Kc.Hg(),this.Kc.Sw());
2639this.Ea=this.ka.Sc();this.hb=this.ka.Rc();this.pd=this.ka.Tf();this.Pa=this.ka.Tw();if(this.IY&&this.ka.cBa()){w=this.fc.JQ;if(this.ka.bBa()||this.ka.dBa())w=-w;v=this.fc.RO;if(this.ka.eBa()||this.ka.aBa())v=-v;this.Oc(w,v,0,0,0,0,0,0,!0,!1,!1,!0)}};t.prototype.lr=function(){return this.Ea};t.prototype.kr=function(){return this.hb};t.prototype.uA=function(){return this.pd};t.prototype.RE=function(){return this.Pa};t.prototype.rb=function(v){this.U!=v&&((this.U=v)?(this.Vz(this.pb.mD==h.iu?u.Vx:void 0),
2640this.pb.Gr(this.j.getParent()),this.di()):(this.TU(),this.pb.om()),this.Eda())};t.prototype.LS=function(v){this.Zy!=v&&(this.Zy=v,this.Eda(),this.Yy=!0)};t.prototype.TA=function(v){this.jn.rb(v)};t.prototype.Eda=function(){var v=this.j.rr();this.Fl.rb(this.U&&this.Zy&&!v);this.rt.rb(this.U&&v)};t.prototype.Vra=function(){this.di()};t.prototype.MS=function(v){this.$M=v;this.Fl.h7a(this.$M)};t.prototype.UA=function(v){this.pb.UA(v);this.Vz(this.pb.mD==h.iu?u.Vx:void 0)};t.prototype.HF=function(v){this.pb.HF(v)};
2641t.prototype.Ao=function(){this.U&&(this.j.rr()&&r.MK(this.Ea),this.Eda(),this.di())};t.prototype.rO=function(v){var w=!this.rt.U&&(!this.Fl.U||this.$M);if(this.pb.mD==h.pB){var x=void 0;if(0!=v.Fx||0!=v.ex){var y=25<Math.sqrt(v.ex*v.ex+v.Fx*v.Fx),z=180*Math.atan2(v.ex,v.Fx)/Math.PI;-22.5<=z&&22.5>z?x=y?u.aka:u.$ja:22.5<=z&&67.5>z?x=y?u.cka:u.jka:67.5<=z&&112.5>z?x=y?u.bka:u.ika:112.5<=z&&157.5>z?x=y?u.dka:u.kka:157.5<=z||-157.5>z?x=y?u.hka:u.oka:-157.5<=z&&-112.5>z?x=y?u.gka:u.nka:-112.5<=z&&-67.5>
2642z?x=y?u.eka:u.lka:-67.5<=z&&-22.5>z&&(x=y?u.fka:u.mka)}this.Vz(x);
2642this.Oc(v.Fx,v.ex,0,0,v.kL,v.zK,0,0,!1,!1,!1,w)}else this.Oc(v.Fx,v.ex,0,0,v.kL,v.zK,0,0,!1,!1,w,w)};t.prototype.vz=function(v){this.Oc(0,0,0,v.v2a,0,0,0,v.$fa,!1,!0,!1,!0)};t.prototype.Oc=function(v,w,x,y,z,C,A,B,E,G,K,I){var Q=!1;this.Xc.get("rotationEnabled")&&(Q=this.fc.pia(v,w,x,z,C,A,G,K,I)||Q);this.Xc.get("zoomEnabled")&&(Q=this.fc.k7a(y,B)||Q);Q&&(this.Rq.reset(),this.IY=E,this.di())};t.prototype.jQa=function(){if(!this.j.rr())return 0;
2643this.DY=this.DY||0;for(var v=0,w=0;w<r.hg.length&&0==v;w++)v=r.hg[w].Nb.x;w=this.j.L.get("vrThumbstickRotationStep");w=0<v&&0>=this.DY?w:0>v&&0<=this.DY?-w:0;this.DY=v;return w};t.prototype.di=function(){this.Lz=!0;this.trigger(new k(t.Hh))};t.prototype.Bq=function(){this.zQ=!0;this.trigger(new k(t.Si));this.pb.mD==h.iu&&this.Vz(u.Jh)};t.prototype.Aq=function(){this.trigger(new k(t.Ri));this.pb.mD==h.iu&&this.Vz(u.Vx)};t.prototype.esa=function(v){this.fk(v.data.rCa);0>v.data.rCa.indexOf(n.Mf)&&this.j.wb().trigger(new k(m.QB,
2644{$K:v}))};t.prototype.Vz=function(v){this.Qh!=v&&this.U&&(this.Qh&&this.j.EK(this.Qh),(this.Qh=v)&&this.j.m2(this.Qh))};t.prototype.TU=function(){this.Qh&&(this.j.EK(this.Qh),this.Qh=void 0)};t.Hh="position change request";t.Si="user interaction start";t.Ri="user interaction end";return t});define("ni",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("TargetRotationalCameraMovement",e,function(){e.call(this)})});
2645define("O","require lE pg lg cC gv nV gZ ni oI bG".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("lg"),k=a("cC"),b=a("gv"),h=a("nV");a("gZ");a("ni");var f=a("oI"),c=a("bG"),d=e.extend(b,function(g,p,q){b.call(this);this.j=g;this.ka=p;this.Kc=q;this.FI=this.Kb=null;this.Zl=this.Hz=!1;this.DD=void 0;this.WH=[];this.Kba=0;this.aa=null;this.hb=this.Ea=0;this.Pa=90});d.prototype.clear=function(){this.end();this.ka=this.j=null};d.prototype.start=function(g){this.dWa(g);this.BTa();this.Zl=!1;this.Vma();
2646this.Hz=!1;this.di();this.Uj()};d.prototype.end=function(){null!=this.Kb&&(this.$ma(),this.Hz=this.Zl=!1,this.aa=null,this.Uj())};d.prototype.i4a=function(){this.Kb&&this.Kb.get("restartMovementOnUserInteraction")?this.Hz||(this.owa(),this.Gca(),this.aa=null,this.Hz=!0,this.Uj()):(this.aa=null,this.pause())};d.prototype.l4a=function(){this.Hz&&(this.Hz=!1,this.sqa()||this.QWa())};d.prototype.dWa=function(g){this.$ma();this.Kb=g;this.Kb.bind(l.ey,this.jta,this,!0);this.Kb.bind(l.jG,this.ita,this,!0);
2647this.Kb.bind(l.F("movementIndex"),this.IX,this,!0);this.WH=this.Kb.get("movements",[])};d.prototype.$ma=function(){this.Gca();null!=this.Kb&&(this.Kb.unbind(l.ey,this.jta,this),this.Kb.unbind(l.jG,this.ita,this),this.Kb.unbind(l.F("movementIndex"),this.IX,this),this.Kb.set("movementIndex",-1),this.Kb=null,this.WH=[])};d.prototype.ak=function(){return this.Kb?this.Zl?m.Ib:m.Y:m.W};d.prototype.setPosition=function(g,p,q,n){this.Ea=g;this.hb=p;this.Pa=n};d.prototype.kf=function(){return!this.Kb||!this.aa||
2648this.Zl||this.Hz||this.sqa()?!1:!0};d.prototype.Cb=function(g){if(this.kf()){this.aa.Cb(g);g=this.aa.fb("hfov");if(this.Kc.CBa()){var p=this.aa.Gfa("hfov");p.from=this.Kc.d0(p.from);p.to=this.Kc.d0(p.to);g=this.Kc.d0(g)}this.ka.setPosition(this.aa.fb("yaw"),this.aa.fb("pitch"),0,g,this.Kc.Sw());this.Ea=this.ka.Sc();this.hb=this.ka.Rc();this.Pa=this.ka.Tw();this.aa.Ze()&&this.HSa()}};d.prototype.lr=function(){return this.Ea};d.prototype.kr=function(){return this.hb};d.prototype.RE=function(){return this.Pa};
2649d.prototype.play=function(){this.Zl&&(this.Zl=!1,this.aa||this.IX(),this.Vma(),this.di(),this.Uj())};d.prototype.pause=function(){this.Zl||(this.Zl=!0,this.owa(),this.Uj())};d.prototype.jta=function(){this.play()};d.prototype.ita=function(){this.pause()};d.prototype.BTa=function(){this.Kba=0;var g=this.Kb.get("movementIndex",-1);-1==g&&(g=0);this.uY(g)};d.prototype.DTa=function(){this.Kba++;var g=this.Kb.get("repeat",1);0<this.WH.length&&(0==g||this.Kba<g)?this.uY(0):(this.Kb.trigger(new k(l.Bb)),
2650this.end(),this.XXa())};d.prototype.CTa=function(){this.uY(this.Kb.get("movementIndex",0)+1)};d.prototype.uY=function(g){g<this.WH.length?this.Kb.get("movementIndex")!=g?this.Kb.set("movementIndex",g):this.IX():(this.Kb.trigger(new k(l.es)),this.DTa())};d.prototype.IX=function(){var g=this.Kb.get("movementIndex");this.aa=0<=g?this.sM(this.WH[g]):null};d.prototype.HSa=function(){this.WH[this.Kb.get("movementIndex")].trigger(new k(l.Bb));this.CTa()};d.prototype.sqa=function(){return null!=this.FI};
2651d.prototype.QWa=function(){this.Gca();var g=this,p=this.Kb.get("restartMovementDelay")||0;this.FI=setTimeout(function(){g.FI=null;g.WSa()},p);this.Uj()};d.prototype.Gca=function(){this.FI&&(clearTimeout(this.FI),this.FI=null)};d.prototype.WSa=function(){this.uY(this.Kb.get("movementIndex"));this.di();this.Uj()};d.prototype.sM=function(g){var p,q=this.QD(this.Ea,-180,180),n=this.hb,r=this.Pa;if(h.Ga("TargetRotationalCameraMovement",g)){var u=g.get("targetYaw",q);var t=g.get("targetPitch",n);(p=g.get("targetHfov"))?
2652(this.Kc.fFa(p),p=this.Kc.Hg()):p=r;this.ka.setPosition(u,t,0,p,this.Kc.Sw());if(this.ka.BD)u=this.ka.Sc();
2652else switch(this.aOa(g)){case "left":u=this.QD(u,q-360,q);break;case "right":u=this.QD(u,q,q+360);break;case "longest":u=this.QD(u,q-180,q+180);u=u>=q?this.QD(u,q-360,q):this.QD(u,q,q+360);break;default:u=this.QD(u,q-180,q+180)}}else h.Ga("DistanceRotationalCameraMovement",g)&&(u=q+g.get("yawDelta",0),this.ka.BD&&(u=Math.min(Math.max(-180,u),180)),t=n+g.get("pitchDelta",0),p=r+g.get("hfovDelta",
26530),this.ka.setPosition(u,t,0,p,this.Kc.Sw()),this.ka.BD&&(u=this.ka.Sc()));t=this.ka.Rc();p=this.ka.Tw();return new f(g.get("easing"),[new c("yaw",q,u,g.get("yawSpeed")),new c("pitch",n,t,g.get("pitchSpeed")),new c("hfov",r,p,g.get("hfovSpeed"))],g.get("duration"))};d.prototype.Vma=function(){this.DD=void 0};d.prototype.owa=function(){if(this.aa){this.DD=void 0;var g=this.aa&&this.aa.Gfa("yaw");g&&(g.to>g.from?this.DD="right":g.to<g.from&&(this.DD="left"))}};d.prototype.aOa=function(g){g=g.get("path");
2654"longest"==g&&this.DD&&(g=this.DD);this.DD=void 0;return g};d.prototype.QD=function(g,p,q){for(;g<p;)g+=q-p;for(;g>q;)g-=q-p;return g};d.prototype.di=function(){this.trigger(new k(d.Hh))};d.prototype.XXa=function(){this.trigger(new k(d.t4))};d.prototype.Uj=function(){this.trigger(new k(d.Hc))};d.Hh="position change request";d.t4="sequence end";d.Hc="playback state change";return d});
2655define("bt","require en lE pg cC gv iH hs g O er oB lg".split(" "),function(a){a("en");var e=a("lE"),l=a("pg"),m=a("cC"),k=a("gv"),b=a("iH"),h=a("hs"),f=a("g"),c=a("O"),d=a("er"),g=a("oB"),p=a("lg"),q=e.extend(k,function(n,r){k.call(this);this.j=n;this.j.bind(l.pc,this.Fc,this);g.P.bind(l.ca,this.Ao,this,!0);this.Kc=r;this.Pba=!1;this.Pa=this.pd=this.hb=this.Ea=void 0;this.ut=this.tt=this.UN=this.XN=this.WN=this.VN=!1;this.Dn=!0;this.zH=this.Hq=0;this.U=!1;this.dn=null;this.gN=5E3;this.jN=this.x9=
2656null;this.Wba=[];this.Fi=this.oy=p.W;this.ka=new b(n);this.Xb=new f(this.j,this.ka,this.Kc);this.Xb.bind(f.Hh,this.yq,this,!0);this.Xb.bind(f.Si,this.Bq,this,!0);this.Xb.bind(f.Ri,this.Aq,this,!0);this.cn=new h(this.j,this.ka,this.Kc);this.cn.bind(h.Hh,this.yq,this,!0);this.gf=new c(this.j,this.ka,this.Kc);this.gf.bind(c.Hh,this.yq,this,!0);this.gf.bind(c.t4,this.Os,this,!0);this.gf.bind(c.Hc,this.kta,this,!0)});q.prototype.clear=function(){this.ht();this.Xb.unbind(f.Hh,this.yq,this);this.Xb.unbind(f.Si,
2657this.Bq,this,!0);this.Xb.unbind(f.Ri,this.Aq,this,!0);this.Xb.clear();this.Xb=null;this.cn.unbind(h.Hh,this.yq,this,!0);this.cn.clear();this.cn=null;this.gf.unbind(c.Hh,this.yq,this);this.gf.unbind(c.t4,this.Os,this);this.gf.unbind(c.Hc,this.kta,this);this.gf.clear();this.ka=this.gf=null;this.j.unbind(l.pc,this.Fc,this);g.P.unbind(l.ca,this.Ao,this,!0);this.j=null;this.Fb&&(this.Fb.unbind(l.F("sequences"),this.qaa,this,!0),this.Fb=null);this.pZ([])};q.prototype.end=function(){this.oy=p.W;this.ht();
2658this.Xb.rb(!1);this.cn.rb(!1);this.gf.end();this.U=!1;this.ow(0,0,0);this.jN=this.x9=null;this.Fb&&(this.Fb.unbind(l.F("sequences"),this.qaa,this,!0),this.Fb=null);this.pZ([]);this.pE()};q.prototype.start=function(n,r){this.oy=p.Y;this.U=!0;this.ow(0,0,0);this.yP(n);this.sVa(r);this.oua();this.HZ(this.jN);this.cn.rb(!0);this.pE()};q.prototype.ak=function(){return this.Fi};q.prototype.play=function(n){this.oy=p.Y;this.gf.ak()==p.Ib?this.gf.play():this.gf.ak()==p.W&&(!n&&this.jN?this.HZ(this.jN):this.FH()||
2659this.RP());this.pE()};q.prototype.resume=function(){this.oy==p.Ib&&(this.Xb.L_a(),this.play(!0))};q.prototype.pause=function(){this.Xb.fk(d.Mf);this.oy==p.Y&&(this.oy=p.Ib,this.gf.ak()==p.Y?(this.gf.pause(),this.pE()):this.FH()&&this.ht())};q.prototype.stop=function(){this.oy=p.W;this.gf.ak()!=p.W&&this.gf.end();this.Xb.fk(d.Mf);this.pE();this.FH()&&this.ht()};q.prototype.moveTo=function(n,r,u,t,v){this.Xb.moveTo(n,r,u,t,v)};q.prototype.pZ=function(n){this.Wba.forEach(function(r){r.unbind(l.ey,this.bva,
2660this,!0)}.bind(this));this.Wba=n;this.Wba.forEach(function(r){r.bind(l.ey,this.bva,this,!0)}.bind(this))};q.prototype.Ao=function(){this.ka.px(this.j.rr())};q.prototype.fk=function(n){this.Xb.fk(n)};q.prototype.qia=function(n,r,u){this.Xb.qia(n,r,u)};q.prototype.LS=function(n){this.Zy!=n&&(this.Zy=n,this.Xb.LS(this.Zy),this.Qa())};q.prototype.MS=function(n){this.Xb.MS(n)};q.prototype.UA=function(n){this.Xb.UA(n)};q.prototype.HF=function(n){this.Xb.HF(n)};q.prototype.TA=function(n){this.Xb.TA(n)};
2661q.prototype.ix=function(n){this.U&&(this.Xb.kf()||this.j.rr()||this.Zy&&(this.Xb.U||!this.Xb.$M)?(this.
2661Xb.m3()&&this.gf.i4a(),this.Xb.Cb(n),this.dm(this.Xb.lr(),this.Xb.kr(),this.Xb.uA(),this.Xb.RE()),this.Qa()):this.gf.Hz?(this.gf.l4a(),this.Qa()):this.gf.kf()?(this.gf.Cb(n),this.dm(this.gf.lr(),this.gf.kr(),0,this.gf.RE()),this.Qa()):this.cn.kf()?(this.cn.Cb(n),this.dm(this.cn.lr(),this.cn.kr(),0,this.cn.RE()),this.Qa()):this.Pba?(this.Pba=!1,this.Kc.op(this.j.Hg()),this.ka.setPosition(this.j.Sc(),
2662this.j.Rc(),this.j.Tf(),this.Kc.Hg(),this.Kc.Sw()),this.dm(this.ka.Sc(),this.ka.Rc(),this.ka.Tf(),this.ka.Tw()),this.Qa()):(this.ow(0,0,0),this.oy==p.Y&&this.gf.ak()!=p.Y&&(this.FH()||this.RP())))};q.prototype.Gd=function(){this.YYa();this.oua()};q.prototype.YYa=function(){var n=this.j.Sc()-this.Ea||0,r=this.j.Rc()-this.hb||0;this.j.Tf();this.ow(n,r,this.j.Hg()-this.Pa||0)};q.prototype.oua=function(){this.Ea=this.j.Sc();this.hb=this.j.Rc();this.pd=this.j.Tf();this.Pa=this.j.Hg();this.Xb.setPosition(this.Ea,
2663this.hb,this.pd,this.Pa);this.gf.setPosition(this.Ea,this.hb,this.pd,this.Pa);this.cn.setPosition(this.Ea,this.hb,this.pd,this.Pa)};q.prototype.yP=function(n){this.ka.bh(n)};q.prototype.sVa=function(n){this.Fb=n;this.gN=n.get("timeToIdle",5E3);this.x9=n.get("idleSequence");this.jN=n.get("initialSequence");this.Xb.setCamera(n);this.cn.setCamera(n);n.bind(l.F("sequences"),this.qaa,this,!0);this.pZ(n.get("sequences",[]))};q.prototype.qaa=function(){this.pZ(this.Fb.get("sequences",[]))};q.prototype.bva=
2664function(n){this.HZ(n.source)};q.prototype.yq=function(){this.ht();this.Qa()};q.prototype.Bq=function(){this.trigger(new m(q.Si))};q.prototype.Aq=function(){this.trigger(new m(q.Ri))};q.prototype.HZ=function(n){n?(this.Xb.rb(!n.get("mandatory",!1)),this.gf.start(n)):this.Os()};q.prototype.Os=function(){this.Xb.rb(!0);this.RP()};q.prototype.kta=function(){this.pE()};q.prototype.Fc=function(){this.Pba=!0;this.Qa()};q.prototype.FH=function(){return null!=this.dn};q.prototype.RP=function(){this.ht();
2665var n=this;this.dn=setTimeout(function(){n.dn=null;n.haa()},this.gN)};q.prototype.ht=function(){this.dn&&(clearTimeout(this.dn),this.dn=null)};q.prototype.haa=function(){this.HZ(this.x9)};q.prototype.Qa=function(){this.trigger(new m(q.Hb))};q.prototype.dm=function(n,r,u,t){this.j.setPosition(n,r,u,t)};q.prototype.ow=function(n,r,u){var t=!1,v=.001>Math.abs(n)&&.001>Math.abs(r)&&.001>Math.abs(u);v||this.Zy?(t=1!=this.Dn,this.ut=this.tt=this.UN=this.XN=this.WN=this.VN=!1,this.Dn=!0):(this.VN!=-.001>
2666n&&(this.VN=!this.VN,t=!0),this.WN!=.001<n&&(this.WN=!this.WN,t=!0),this.UN!=-.001>r&&(this.UN=!this.UN,t=!0),this.XN!=.001<r&&(this.XN=!this.XN,t=!0),this.tt!=-.001>u&&(this.tt=!this.tt,t=!0),this.ut!=.001<u&&(this.ut=!this.ut,t=!0),this.Dn!=v&&(this.Dn=!this.Dn,t=!0));v||this.trigger(new m(q.xp,{yaw:this.Ea,pitch:this.hb,roll:this.pd,hfov:this.Pa}));t&&((this.U||this.Dn)&&this.trigger(new m(q.lk,{movingLeft:this.VN,movingRight:this.WN,movingUp:this.XN,movingDown:this.UN,zoomingIn:this.tt,zoomingOut:this.ut,
2667stopped:this.Dn})),this.pE())};q.prototype.pE=function(){if(this.U){var n=this.gf.ak();this.Dn||(n=p.Y)}else n=p.W;this.Fi!=n&&(this.Fi=n,this.trigger(new m(q.Hc,{state:this.Fi})))};q.Hb="request frame";q.lk="movement change";q.xp="position change";q.Hc="playback state change";q.Si="user interaction start";q.Ri="user interaction end";return q});
2668define("hI","require pg iH v hW mC oB nR".split(" "),function(a){function e(d,g,p){this.j=d;this.Kc=g;this.Vq=p;this.ka=new l(d);p.dh&&this.ka.bh(p.dh);this.kw=new l(d);this.vca=this.hz=this.iz=void 0;this.Ea=this.j.Sc();this.hb=this.j.Rc();this.pd=this.j.Tf();this.Pa=this.Vq.dh?this.j.Hg():e.qja;this.fwa=0;this.ra=null;this.Aqa=!0}a("pg");var l=a("iH");a("v");var m=a("hW"),k=a("mC"),b=a("oB"),h=a("nR");new THREE.Euler;e.prototype.bh=function(d,g,p){if(this.ra!=d)if(this.Fz=!0,this.ra=d,this.j.rr()){this.vca=
2669this.Ea;for(d=this.vca-g;180<d;)d-=360;for(;-180>d;)d+=360;b.MK(g)}else this.oia(g,p)};e.prototype.oia=function(d,g){this.Ea=d;this.hb=g};e.prototype.GE=function(d){this.Kc.fFa(d);return this.Kc.Hg()};e.prototype.op=function(d){this.Pa=d};e.prototype.QS=function(d){this.Aqa=d};e.prototype.GF=function(d){this.fwa=d};e.prototype.ix=function(){this.Kc.CBa()&&(this.Pa=this.Kc.d0(this.Pa));if(this.Vq.xb()){var d=h.c3(b.tg,!0);this.Ea=d.Ra;this.hb=void 0===c?d.pitch:c;this.pd=void 0===f?d.wg:f;this.iz=
2670this.Ea;this.hz=this.hb}else if(this.Vq.WAa()){d=m.pr();var g=this.TD(d.yaw,this.Ea);this.Ea+=void 0===this.iz?0:g-this.iz;this.hb+=void 0===this.hz?0:d.pitch-this.hz;this.pd=d.roll;this.iz=d.yaw;this.hz=d.pitch}else d=this.TD(this.j.Sc(),this.Ea),g=this.j.Rc(),this.Ea+=void 0===this.iz?0:d-this.iz,this.hb+=void 0===this.hz?0:g-this.hz,this.pd=this.j.Tf();this.Fz&&this.ka.bh(this.ra);this.ka.px(this.Vq.xb());this.ka.setPosition(this.Ea,this.hb,this.pd,this.Pa,this.Kc.Sw());if(this.Fz)if(this.Fz=!1,
2671this.Vq.xb())(d=this.Vq.dh&&this.j.wf(this.Vq.dh))&&d.set("deltaYaw",this.vca-this.ka.Sc());else if(d=this.Vq.dh&&this.j.wf(this.Vq.dh))d.set("deltaYaw",this.j.Sc()-this.ka.Sc()),d.set("deltaPitch",this.j.Rc()-this.ka.Rc()),d.set("deltaRoll",this.j.Tf()-this.ka.Tf());this.Ea=this.ka.Sc();this.hb=this.ka.Rc();this.pd=this.ka.Tf();this.Vq.xb()||this.Vq.WAa()||(this.iz=this.Ea,this.hz=this.hb);this.Pa=this.Aqa?this.ka.Tw():this.Pa;this.j.setPosition(this.Ea,this.hb,this.pd,this.Pa);this.j.GF(this.fwa)};
2672e.prototype.u2=function(d,g){this.kw.bh(d);this.kw.setPosition(0,0,0,g,this.Kc.Sw());return this.kw.Tw()};e.prototype.c5a=function(d,g){this.kw.bh(d);this.kw.setPosition(g.Ra,g.pitch,g.wg,g.Je,this.Kc.Sw());g.Ra=this.kw.Sc();g.pitch=this.kw.Rc();g.wg=this.kw.Tf();g.Je=this.kw.Tw()};e.prototype.TD=function(d,g){for(;d+180<g;)d+=360;for(;d-180>g;)d-=360;return d};e.prototype.pza=function(){return e.qja};e.qja=TDV.zka.uHa;var f=k.pj("debug")?k.L0("force_vr_roll"):void 0,c=k.pj("debug")?k.L0("force_vr_pitch"):
2673void 0;return e});
2674define("pH",["require","gS","lW","v","nV"],function(a){function e(h,f,c,d,g){this.j=h;this.ck=f;h=this.j.L;this.hT=h.get("transitionMode","blending");f=h.get("transitionDuration",500);this.BQa(c,d)&&(this.hT=e.KT,f=1500);this.Mea=h.get("blendingTransitionDuration",f);this.K0a=h.get("firstTransitionDuration",f);this.tza=h.get("disolveTransitionDuration",f);this.tGa=h.get("translationTransitionDuration",1E3);h.get("translationTransitionSpeed");this.uGa=h.get("translationTransitionEnabled",!0);this.nDa=
2675h.get("originTransitionDuration",3E3);this.s3=1E3;this.p3a=h.get("modelToPanoramaTraslationDuration",1500);this.f4a=h.get("panoramaToModelTraslationDuration",1E3);this.dh=c;this.q7a=!c||c.lga();this.r7a=!c||c.wBa();this.Dc=d;this.$Fa=!d||d.lga();this.Hia=!d||d.wBa();this.L7a=!!d&&this.b$(d);f=(this.KF=g)&&g.get("initialPosition")||new l;this.Jg=new l;this.Jg.set("yaw",f.get("yaw",0));this.Jg.set("pitch",f.get("pitch"));this.Jg.set("hfov",f.get("hfov"));this.Gf=new m;this.Gf.set("yaw",this.Jg.get("yaw"));
2676this.Gf.set("pitch",this.Jg.get("pitch"));this.Gf.set("hfov",this.Jg.get("hfov"));this.Gf.set("stereographicFactor",0);this.bp=[];if(!c){this.bp=g&&g.get("displayMovements")||[];for(f=this.bp.length-1;0<=f;f--)this.Gf.set("yaw",this.Gf.get("yaw",this.bp[f].get("targetYaw"))),this.Gf.set("pitch",this.Gf.get("pitch",this.bp[f].get("targetPitch"))),this.Gf.set("hfov",this.Gf.get("hfov",this.bp[f].get("targethfov"))),this.Gf.set("stereographicFactor",this.Gf.get("stereographicFactor",this.bp[f].get("stereographicFactor")));
2677g=g&&g.get("displayOriginPosition")||this.Jg;this.Gf.set("yaw",g.get("yaw"));this.Gf.set("pitch",g.get("pitch"));this.Gf.set("hfov",g.get("hfov"));this.Gf.set("stereographicFactor",g.get("stereographicFactor"))}this.eL=this.hT==e.Wn&&this.uGa&&this.$Fa&&this.eQa(c,d)||null;var p=this.hT==e.Wn&&this.Dc&&this.$Fa&&this.ck&&this.Dc.get("modelLocations")||[];g=this.hT==e.Wn&&this.dh&&this.q7a&&this.ck&&this.dh.get("modelLocations")||[];var q=[];g.forEach(function(r){p.forEach(function(u){r.get("model")==
2678u.get("model")&&q.push([r,u])})});var n=this.ck&&this.ck.get("model");this.rc=this.oc=null;1<q.length&&this.ck&&(f=q.find(function(r){return r[0].get("model")==n}))&&(q=[f]);(f=q.length?q[0]:null)&&(n&&f[0].get("model")==n||f[0].get("forceModelLoading")||f[1].get("forceModelLoading"))?(this.oc=f[0],this.rc=f[1]):(this.oc=g.find(function(r){return r.get("preferred")}),this.oc||this.rc||(this.rc=p.find(function(r){return r.get("preferred")}
2678)),[].concat(g,p).forEach(function(r){r.set("preferred",!1)}),
2679this.oc||this.rc||(this.oc=g.find(function(r){return r.get("model")==n})),this.oc||this.rc||(this.rc=p.find(function(r){return r.get("model")==n})),this.oc||this.rc||(this.oc=g.find(function(r){return r.get("forceModelLoading")})),this.oc||this.rc||(this.rc=p.find(function(r){return r.get("forceModelLoading")})));(this.rc||this.oc)&&h.get("translationTransitionSpeed")&&(this.rc||this.oc).get("model").get("worldUnitToMeters")&&(this.tGa=h.get("translationTransitionSpeed")/(this.rc||this.oc).get("model").get("worldUnitToMeters"));
2680this.Xt=null;this.s7a=k.Jd()==k.ni?512:1536;this.M7a=k.Jd()==k.ni?512:this.xb()?1536:1024;this.mode=(h=!this.xb()||this.eRa())&&this.oc&&this.rc&&this.eL?e.e5:h&&this.oc&&this.rc&&this.uGa?e.Qka:this.eL?e.Pka:h&&!this.dh&&this.rc?e.d5:h&&!this.Dc&&this.oc?e.Rka:c?d?"blending"==this.hT?e.Wn:e.KT:e.Eja:e.Dja;this.mode!=e.Wn||this.r7a&&this.Hia||!(0<this.Gf.get("stereographicFactor",0)||0<this.bp.filter(function(r){return 0<r.get("targetStereographicFactor",0)}).length)||(this.mode=e.KT);this.nl=null;
2681this.sr=k.sr()||k.sK()}var l=a("gS"),m=a("lW"),k=a("v");a("nV");e.prototype.WAa=function(){return this.j.Xc.get("gyroscopeEnabled")};e.prototype.xb=function(){return this.j.rr()};e.prototype.eQa=function(h,f){if(!h||!f)return null;h=(h.get("adjacentPanoramas")||[]).filter(function(c){return c.get("enabled")&&c.u_a()&&c.get("panorama")==f});return 0==h.length?null:h[0]};e.prototype.BQa=function(h,f){return this.xb()&&k.Jd()==k.ni&&(this.b$(h)||this.b$(f))};e.prototype.b$=function(h){return!!h&&h.tm()};
2682e.prototype.eRa=function(){var h=this.rc||this.oc;h=(h=(h=h&&h.get("model"))&&h.get("camera"))&&(h.get("vrEnabled")||h.get("xrEnabled"))&&!this.j.L.wb().get(b);return this.xb()&&!h?!1:!0};var b=function(h){return h.map(function(f){return String.fromCharCode(f)}).join("")}([119,97,116,101,114,109,97,114,107]);e.KT="fade_out_fade_in";e.Dja="fade_in";e.Eja="fade_out";e.Wn="blending";e.Pka="translation";e.d5="translation_from_model";e.e5="translation_through_model";e.Qka="translation_to_from_model";e.Rka=
2683"translation_to_model";return e});define("eU",["require","exports"],function(){return function(){function a(e,l,m,k){this.M=e;this.Cc=l;this.j=m;this.G=k}a.prototype.Kg=function(){return!1};a.prototype.$g=function(){};a.prototype.aF=function(){return!1};return a}()});
2684define("mi",["require","lE","eU","oI","bG"],function(a){var e=a("lE"),l=a("eU"),m=a("oI"),k=a("bG");a=e.extend(l,function(b,h,f,c){l.call(this,b,h,f,c);this.aa=null;this.yb=!1});a.prototype.Kg=function(){return this.yb};a.prototype.$g=function(b){if(!this.yb){if(!this.aa){var h=this.j.wf(this.G.Dc);h.zh();h.set("alpha",.01);this.aa=new m("linear",[new k("alpha",0,1,void 0)],this.G.Mea)}this.aa.Cb(b);b=this.aa.fb("alpha");h=this.j.wf(this.G.Dc);h.set("alpha",b);this.aa.Ze()&&(this.yb=!0)}};return a});
2685define("dV",["require","nV","iQ"],function(a){var e=a("nV"),l=a("iQ");return e.define("ProjectedMaterialModel3DObject",l,function(){l.call(this)})});define("ms",["require","exports","eU"],function(a,e,l){return function(m){function k(b,h,f,c){b=m.call(this,b,h,f,c)||this;b.yb=!1;return b}Z(k,m);k.prototype.Kg=function(){return this.yb};k.prototype.$g=function(){this.yb||(this.uh(),this.yb=!0)};k.prototype.uh=function(){};return k}(l)});
2686define("cW",["require","lE","dV","ms"],function(a){var e=a("lE"),l=a("dV"),m=a("ms"),k=e.extend(m,function(b,h,f,c,d){m.call(this,b,h,f,c);this.$h=d||3});k.prototype.uh=function(){var b=this.G.oc,h=this.G.rc,f=this.G.Xt=this.G.Xt||new l;this.$h&1&&(f.set("sourceX",b.get("x")),f.set("sourceY",b.get("y")),f.set("sourceZ",b.get("z")),f.set("sourceYaw",b.get("yaw")),f.set("sourceCubeTexture",this.Ima(this.G.dh,this.G.s7a)));this.$h&2&&(f.set("targetX",h.get("x")),f.set("targetY",h.get("y")),f.set("targetZ",
2687h.get("z")),f.set("targetYaw",h.get("yaw")),this.HVa(this.G.Dc),f.set("targetCubeTexture",this.Ima(this.G.Dc,this.G.M7a)));f.set("position",0);b=(b||h).get("model");-1==b.get("objects").indexOf(f)&&b.set("objects",b.get("objects").concat([this.G.Xt]))};k.prototype.Ima=function(b,h){b=this.j.wf(b);var f=b.get("alpha");b.set("alpha",1);h=this.j.Tea(h);b.set("alpha",f);return h};k.prototype.HVa=function(b){b.get("frames").forEach(function(h,f){this.j.wf(h).set("alpha",f==b.uR()?1:0)}.bind(this))};k.X4=
2688e.extend(k,function(b,h,f,c){k.call(this,b,h,f,c,1)});k.h5=e.extend(k,function(b,h,f,c){k.call(this,b,h,f,c,2)});return k});define("lR",["require","lE","ms"],function(a){var e=a("lE"),l=a("ms");a=e.extend(l,function(m,k,b,h){l.call(this,m,k,b,h)});a.prototype.uh=function(){this.G.Dc&&!this.j.wf(this.G.Dc)&&(this.vh=this.j.create(this.G.Dc),this.vh.set("alpha",0),this.j.add(this.vh),this.j.uFa(!1))};return a});
2689define("ov",["require","lE","pg","dh","eU"],function(a){var e=a("lE"),l=a("pg"),m=a("dh"),k=a("eU");a=e.extend(k,function(b,h,f,c){k.call(this,b,h,f,c);this.ia=(this.G.oc||this.G.rc).get("model");this.Nz=!1;this.ia?(this.qz=this.G.ck,this.qz.get("model")==this.ia&&this.ia.get("isLoaded")?(this.Sv(),this.Ul(),this.Nz=!0):(this.qz.set("model",this.ia),this.ia.bind(l.Z,this.Sv,this,!0),this.qz.set("requesterPlayer",this.j.Xc),this.qz.bind(m.fh,this.Ul,this,!0))):this.Nz=!0});a.prototype.Kg=function(){return this.Nz};
2690a.prototype.aF=function(){return!0};a.prototype.Sv=function(){this.ia.unbind(l.Z,this.Sv,this)};a.prototype.Ul=function(){this.qz.unbind(m.fh,this.Ul,this,!0);this.Nz=!0};return a});
2691define("hX",["require","lE","ms","bF"],function(a){var e=a("lE"),l=a("ms"),m=a("bF");a=e.extend(l,function(k,b,h,f){l.call(this,k,b,h,f)}
2691);a.prototype.uh=function(){if(this.G.L7a){var k=this.G.Dc.get("frames")[0];k=k.get("sphere")||k.get("stereoSphere");var b=k.get("levels")||[];(!0===k.get("hasAudio")||0<b.length&&!0===b[0].get("hasAudio"))&&m.request(this.j.wb())}};return a});
2692define("bC",["require","lE","ms"],function(a){var e=a("lE"),l=a("ms");a=e.extend(l,function(m,k,b,h){l.call(this,m,k,b,h)});a.prototype.uh=function(){this.j.wf(this.G.Dc).set("alpha",1)};return a});
2693define("fp",["require","lE","eU","oI","bG"],function(a){var e=a("lE"),l=a("eU"),m=a("oI"),k=a("bG");a=e.extend(l,function(b,h,f,c){l.call(this,b,h,f,c);this.ic=this.j.L.ic;this.aa=null;this.yb=!1});a.prototype.Kg=function(){return this.yb};a.prototype.$g=function(b){if(!this.yb){if(!this.aa){var h=this.j.L.L8a()&&!this.G.dh?this.G.K0a:this.G.Mea;this.aa=new m("linear",[new k("alpha",0,1,void 0)],h);this.ic.bL()}this.aa.Cb(b);b=this.aa.fb("alpha");this.j.wf(this.G.Dc).set("alpha",Math.max(.001,b));
2694this.ic.OK(b);this.aa&&this.aa.Ze()&&(this.yb=!0,this.ic.OJ())}};return a});
2695define("jq",["require","lE","gv","hJ"],function(a){var e=a("lE"),l=a("gv"),m=a("hJ");a=e.extend(l,function(){l.call(this);this.pa=this.Ca=null;this.Ud=[];this.lW=this.dg=!1;this.$N=null;this.zk=[this];this.dea={};this.us={};this.bN=!1;this.qba={};this.rba={};this.Op(["blendingActive","globalBlendingActive"]);this.GJa();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",
2696!1);this.set("index",0)});a.prototype.GJa=function(){var k="alpha deltaYaw deltaPitch deltaRoll translationX translationY translationZ".split(" ");Array.isArray(k)||(k=[k]);k.forEach(function(b){this.qba[b]=!0}.bind(this))};a.prototype.Op=function(k){Array.isArray(k)||(k=[k]);k.forEach(function(b){this.rba[b]=!0}.bind(this))};a.prototype.set=function(k,b){this.dea[k]!==b&&(this.rba[k]&&this.Ud.forEach(function(h){h.set(k,b)}),this.nKa(k,b),this.rP(k))};a.prototype.get=function(k){return this.dea[k]};
2697a.prototype.rP=function(k){this.us[k]||(this.us[k]=!0,this.bN||(this.bN=!0,this.Da()),this.qba[k]&&this.Ud.forEach(function(b){b.rP(k)}))};a.prototype.PLa=function(){this.bN&&(this.bN=!1,this.us={})};a.prototype.O=function(){if(this.bN)for(var k=0;k<arguments.length;k++)if(this.us[arguments[k]])return!0;return!1};a.prototype.nKa=function(k,b){this.dea[k]=b};a.prototype.mb=function(){return this.Ud};a.prototype.ah=function(k){var b=k||[],h=this.Ud.slice();k=b.length!=h.length;for(var f=0;f<b.length&&
2698!k;f++)k=b[f]!=h[f];k&&(k=h.filter(function(c){return-1==b.indexOf(c)}),f=b.filter(function(c){return-1==h.indexOf(c)}),this.Ud=b,k.forEach(function(c){c.lZ(null)}),f.forEach(function(c){c.remove();c.lZ(this)}.bind(this)),this.Da())};a.prototype.lZ=function(k){this.pa!=k&&(this.pa&&this.An(),(this.pa=k)&&this.Pp(),this.gca(this.pa&&this.pa.Ca))};a.prototype.Pp=function(){for(var k in this.pa.qba)this.rP(k);for(k in this.pa.rba)this.set(k,this.pa.get(k))};a.prototype.An=function(){};a.prototype.gca=
2699function(k){this.Ca!=k&&(k||this.Tb(),(this.Ca=k)&&this.Pb(),this.Ud.forEach(function(b){b.gca(this.Ca)}.bind(this)))};a.prototype.Pb=function(){this.cKa()};a.prototype.Tb=function(){this.jUa()};a.prototype.cKa=function(){this.zk.forEach(function(k){this.Ca.$N.add(k,this)}.bind(this))};a.prototype.jUa=function(){this.zk.forEach(function(k){this.Ca.$N.remove(k,this)}.bind(this))};a.prototype.zh=function(){this.pa&&this.pa.Qea(this)};a.prototype.Qea=function(k){var b=this.Ud.indexOf(k);if(-1==b)throw"Child not found";
2700b!=this.Ud.length-1&&(this.Ud.splice(b,1),this.Ud.push(k),this.Da())};a.prototype.C0a=function(k){var b=this.Ud.indexOf(k);if(-1==b)throw"Child not found";this.Ud.splice(b,1);k.lZ(null);this.Da()};a.prototype.appendChild=function(k){k.remove();this.Ud.push(k);k.lZ(this);this.Da()};a.prototype.remove=function(){this.pa&&this.pa.C0a(this)};a.prototype.Bm=function(){};a.prototype.Da=function(){this.dg||(this.dg=!0,this.pa&&this.pa.Da(this))};a.prototype.XLa=function(){this.dg=!1};a.prototype.Lba=function(){this.lW||
2701(this.lW=!0,this.pa&&this.pa.Lba())};a.prototype.TLa=function(){this.lW=!1};a.prototype.ha=function(){this.exa();this.O("translationX","translationY","translationZ")&&(this.set("composedTranslationX",this.get("translationX")+(this.pa?this.pa.get("composedTranslationX"):0)),this.set("composedTranslationY",this.get("translationY")+(this.pa?this.pa.get("composedTranslationY"):0)),this.set("composedTranslationZ",this.get("translationZ")+(this.pa?this.pa.get("composedTranslationZ"):0)));this.O("deltaYaw",
2702"deltaPitch","deltaRoll")&&(this.set("composedDeltaYaw",this.get("deltaYaw")+(this.pa?this.pa.get("composedDeltaYaw"):0)),this.set("composedDeltaPitch",this.get("deltaPitch")+(this.pa?this.pa.get("composedDeltaPitch"):0)),this.set("composedDeltaRoll",this.get("deltaRoll")+(this.pa?this.pa.get("composedDeltaRoll"):0)),m.vBa())};a.prototype.exa=function(){this.O("alpha")&&this.set("composedAlpha",this.get("alpha")*(this.pa?this.pa.get("composedAlpha"):1))};return a});
2703define("nW",["require","lB","hJ"],function(a){var e=a("lB"),l=a("hJ"),m={NRa:void 0,l6a:function(k){this.NRa=k},rNa:void 0,A5a:function(k){this.rNa=k},createTexture:function(){var k=new THREE.Texture;k.encoding=THREE.sRGBEncoding;k.generateMipmaps=!1;k.minFilter=THREE.LinearFilter;k.magFilter=THREE.LinearFilter;k.image=m.bK();k.userData={};k.userData.nGa={};return k},J_a:function(k){k.image!=this.bK()&&(k.image=this.bK(),k.needsUpdate=!0,k.l$a=!0)},eB:function(k,b){b=this.U0a(b);l.rK(b)&&(b.videoWidth&&
2704b.videoHeight&&(b.width=b.videoWidth,b.height=b.videoHeight),l.UGa(b)&&(b=this.JYa(k,b)));k.image=b;k.needsUpdate=!0;l.vBa()},U0a:function(k){k?l.sga(k)?k=e.vf(k,!1):l.JBa(k)?k=this.bK():!l.rK(k)||k.readyState>=k.HAVE_CURRENT_DATA&&0<k.videoWidth&&0<k.videoHeight||(k=this.bK()):k=this.bK();return k},g0a:function(k,b,h,f,c){var d=document.createElement("canvas");d.width=l.Cu();d.height=l.Cu();d.Mca=!0;var g=d.getContext("2d");if(!g)return null;g.drawImage(k,b,h,f,c,0,0,l.Cu(),l.Cu());this.y0(d);return d},
2705ifa:function(k){l.J2a(k)&&k.Mca&&(delete k.Mca,k.width=0,k.height=0)},dispose:function(k){k.jq&&k.jq!=k.image&&this.ifa(k.jq);k.image&&this.ifa(k.image);k.dispose()},zFa:function(k,b){k.userData.nGa.material=b},LAa:function(k){return k.userData.nGa.material},V9a:function(k){return l.rga(k)},decode:function(k){l.sga(k)&&(k=e.vf(k,!1));l.rga(k)&&this.y0(k)},y0:function(k){var b=document.createElement("canvas");b.width=1;b.height=1;var h=b.getContext("2d");m.y0=function(f){h.drawImage(f,0,0,1,1,0,0,
27061,1)};return m.y0(k)},s7:null,bK:function(){if(!this.s7){var k=document.createElement("canvas");k.width=128;k.height=128;k.iRa=!0;k.getContext("2d").clearRect(0,0,k.width,k.height);this.s7=k}return this.s7},JYa:function(k,b){k.jq||(k.jq=document.createElement("canvas"),k.UQa=k.jq.getContext("2d"),k.jq.Mca=!0);var h=b.videoWidth;l.cp()&&(h=Math.min(4096,h));var f=h*b.videoHeight/b.videoWidth;
2706if(k.jq.width!=h||k.jq.height!=f)k.jq.width=h,k.jq.height=f;b.readyState>=b.HAVE_CURRENT_DATA&&k.UQa.drawImage(b,
27070,0,h,f);return k.jq}};return m});
2708define("cx",["require","hJ","nW","v"],function(a){function e(h){this.kT=(h=l.mK(h))&&l.jBa();this.SR=h&&l.iBa();this.nA=0;this.yt=void 0;this.YQ=this.ZQ=0;this.premultipliedAlpha=!1;this.side=void 0;this.params={}}var l=a("hJ"),m=a("nW");a=a("v");var k=a.browser()==a.Rr,b={Ofa:function(h){return h.map||h.uniforms&&h.uniforms.textureSampler2D&&h.uniforms.textureSampler2D.value},pA:function(h,f){h||(h=m.createTexture());f||(f=new b.Im);h=f.kT||f.SR||f.nA||f.yt||f.premultipliedAlpha||h.isVideoTexture&&
2709k?this.b0a(h,f):this.Zea(h);f.side&&(h.side=f.side);for(var c in f.params)h[c]=f.params[c];return h},j_a:function(h,f){h.isShaderMaterial?h.uniforms.textureSampler2D.value=f:h.map=f;h.needsUpdate=!0},Zea:function(h){var f=new THREE.MeshBasicMaterial;f.map=h;this.bC(f);return f},b0a:function(h,f){var c={uniforms:{},transparent:!0};c.uniforms.textureSampler2D={type:"sampler2D",value:h};h.flipY=!f.kT;c.vertexShader=["varying vec2 vUV;\nvoid main() {","\tvUV = vec2( uv.x, "+(f.kT?"1.0 - uv.y":"uv.y")+
2710");","\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}"].join("\n");if(f.SR||f.nA||f.yt||f.premultipliedAlpha){var d=[],g=[];d=d.concat(["uniform sampler2D textureSampler2D;","uniform float opacity;","varying vec2 vUV;"]);c.uniforms.opacity={type:"float",value:1};g=g.concat(["   vec4 color = texture2D(textureSampler2D, vUV);","   float alpha = color.a * opacity;"]);f.premultipliedAlpha&&(g=g.concat(["   if ((color.a > 0.0) && (color.a < 1.0))","   {","       color = vec4( mix( pow( color.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), color.rgb * 12.92, vec3( lessThanEqual( color.rgb, vec3( 0.0031308 ) ) ) ), color.a );",
2711"       color.rgb /= color.a;","\t\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(f.nA){var p=h.image.width||h.image.videoWidth,q=h.image.height||h.image.videoHeight,n=.5*Math.min(p,q)*f.nA;c.uniforms.blendingLimit={type:"v2",value:new THREE.Vector2(n/p,n/q)};d=d.concat(["uniform vec2 blendingLimit;"]);g=g.concat("   float xCoef = 0.0;,   float yCoef = 0.0;,   if (vUV.x < blendingLimit.x) {,      xCoef = 1.0 - (vUV.x / blendingLimit.x);,      xCoef = xCoef * xCoef;,   } else if ((1.0 - vUV.x) < blendingLimit.x) {,      xCoef = 1.0 - ((1.0 - vUV.x) / blendingLimit.x);,      xCoef = xCoef * xCoef;,   },   if (vUV.y < blendingLimit.y) {,      yCoef = 1.0 - (vUV.y / blendingLimit.y);,      yCoef = yCoef * yCoef;,   } else if ((1.0 - vUV.y) < blendingLimit.y) {,      yCoef = 1.0 - ((1.0 - vUV.y) / blendingLimit.y);,      yCoef = yCoef * yCoef;,   },   alpha = alpha * (1.0 - sqrt(xCoef + yCoef));".split(","))}f.yt&&
2712(c.uniforms.chromaColor={type:"v3",value:new THREE.Vector3(parseInt(f.yt.substr(1,2),16)/255,parseInt(f.yt.substr(3,2),16)/255,parseInt(f.yt.substr(5,2),16)/255)},c.uniforms.chromaThreshold={type:"f",value:f.ZQ},c.uniforms.chromaSmoothing={type:"f",value:f.YQ},d=d.concat(["uniform vec3 chromaColor;","uniform float chromaThreshold;","uniform float chromaSmoothing;"]),g=g.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("{")));
2713g=g.concat(["   gl_FragColor = vec4(color"+(f.SR?".bgr":".rgb")+", alpha);"]);h.format=THREE.RGBAFormat;c.fragmentShader=[].concat(d,["void main() {"],g,h.isVideoTexture?[]:["#include <tonemapping_fragment>","#include <encodings_fragment>"],["}"]).join("\n")}else c.fragmentShader=[].concat(["uniform sampler2D textureSampler2D;","varying vec2 vUV;","void main() {","\tgl_FragColor = texture2D(textureSampler2D, vUV);"],h.isVideoTexture?[]:["#include <tonemapping_fragment>","#include <encodings_fragment>"],
2714["}"]).join("\n");h=new THREE.ShaderMaterial(c);this.bC(h);return h},dispose:function(h){Array.isArray(h)||(h=[h]);h.forEach(function(f){var c=b.Ofa(f);c&&m.dispose(c);f.dispose()})},bC:function(h){h.side=THREE.FrontSide;h.transparent=!0;h.depthTest=!1;h.needsUpdate=!0;h.userData={};h.userData.bCa={};m.zFa(b.Ofa(h),h)},fia:function(h,f){h.userData.bCa.jp=f},wAa:function(h){return h.userData.bCa.jp}};e.prototype.isEqual=function(h){return this.kT===h.kT&&this.SR===h.SR&&this.nA===h.nA&&this.yt===h.yt&&
2715this.ZQ===h.ZQ&&this.YQ===h.YQ&&this.premultipliedAlpha===h.premultipliedAlpha&&this.side===h.side};b.Im=e;return b});
2716define("ew",["require","jv","cx"],function(a){function e(b){return Array.isArray(b)?b:b?[b]:[]}var l=a("jv"),m=a("cx"),k={create:function(b,h){var f=new THREE.Mesh(b,h);f.overdraw=!1;f.matrixAutoUpdate=!1;f.userData.Zw={};f.userData.Zw.attributes={};
2716e(h).forEach(function(c){m.fia(c,f)});return f},kza:function(b){var h=new THREE.Group;k.forEach(b,function(f){h.add(f)});return h},k6a:function(b,h){e(h).forEach(function(f){m.fia(f,null)});m.dispose(b.material);b.material=h;e(h).forEach(function(f){m.fia(f,
2717b)})},vA:function(b){return e(b.material)},B1a:function(b,h){if(b.layers.mask&h.layers.mask){var f=k.vA(b);return l.z1a(b.geometry,h,b.matrixWorld).map(function(c){return f[c]})}return[]},$ha:function(b,h){b.geometry=h},w1a:function(b,h){var f=[];k.Yj(b,function(c){var d=k.vA(c);h.forEach(function(g){var p=l.v1a(c.geometry,c.matrixWorld,g);if(p){g=m.Ofa(d[p.materialIndex]).image;var q=Math.round(p.zGa*g.width-.5);q=0>q?0:q>g.width-1?g.width-1:q;p=Math.round((1-p.RGa)*g.height-.5);p=0>p?0:p>g.height-
27181?g.height-1:p;f.push({x:q,y:p,source:g})}})});return f},bu:function(b,h){k.forEach(b,function(f){h?h.add(f):f.parent&&f.parent.remove(f)})},lB:"panoramaId",RF:"panoramaFrameId",u3:"panoramaOverlayId",t3:"levelIndex",setAttribute:function(b,h,f){k.Yj(b,function(c){c.userData.Zw.attributes[h]=f})},getAttribute:function(b,h){return b.userData.Zw.attributes[h]},Lza:function(b,h,f){for(var c=[],d=0,g=b.length;d<g;d++){var p=b[d];p.userData.Zw.attributes[h]!==f&&c.push(p)}return c},t0:function(b,h,f){for(var c=
2719[],d=0,g=b.length;d<g;d++){var p=b[d];p.userData.Zw.attributes[h]===f&&c.push(p)}return c},TAa:function(b,h){for(var f={},c=0,d=b.length;c<d;c++){var g=b[c],p=g.userData.Zw.attributes[h];void 0!==p&&(f[p]||(f[p]=[])).push(g)}return f},F0:function(b){b=b.userData.Zw.alpha;return void 0===b?1:b},$e:function(b,h){k.Yj(b,function(f){f.userData.Zw.alpha=h;k.vA(f).forEach(function(c){c.opacity=h;"ShaderMaterial"==c.type&&c.uniforms&&c.uniforms.opacity&&(c.uniforms.opacity.value=h)})})},hr:function(b,h){k.Yj(b,
2720function(f){f.matrix.copy(h);f.matrixWorldNeedsUpdate=!0})},RAa:function(b){return b.renderOrder},K2:function(b,h){k.forEach(b,function(f){f.renderOrder=h})},dispose:function(b){k.Yj(b,function(h){h.geometry&&(l.dispose(h.geometry),h.geometry=void 0);h.material&&(m.dispose(h.material),h.material=void 0)})},$k:function(b){var h=[];k.Yj(b,function(f){h.push(f)});return h},forEach:function(b,h){Array.isArray(b)?b.forEach(h):b&&b.isObject3D&&(b.isMesh||"Group"==b.type)&&h(b)},Yj:function(b,h){if(Array.isArray(b))for(var f=
27210,c=b.length;f<c;f++)k.Yj(b[f],h);else if(b&&b.children)for(f=0,c=b.children.length;f<c;f++)k.Yj(b.children[f],h);b&&b.isObject3D&&b.isMesh&&h(b)}};return k});
2722define("U",["require","ew"],function(a){var e=a("ew");return{$k:function(l){var m=[];l.children&&l.children.forEach(function(k){e.Yj(k,function(b){b.userData&&b.userData.Zw&&m.push(b)})});return m},r5a:function(l,m){l.userData.cameras=m},Cfa:function(l){return l.userData.cameras||[]},getCamera:function(l){return l.userData.cameras&&0<l.userData.cameras.length&&l.userData.cameras[0]||null}}});
2723define("po","require lE pg gv ew U".split(" "),function(a){function e(p,q){return p.reduce(function(n,r){return n?!0:!!(q.layers.mask&r.layers.mask)},!1)}function l(p){p=b(p).loaded;return void 0===p?!1:p}function m(p){p=b(p).active;return void 0===p?!0:p}function k(p){p=b(p).blending;return void 0===p?!1:p}function b(p){return p.userData.u3a||(p.userData.u3a={})}var h=a("lE"),f=a("pg"),c=a("gv"),d=a("ew"),g=a("U");a=h.extend(c,function(){c.call(this);this.C=void 0;this.D$=!1});a.prototype.update=
2724function(p){var q=p.xb&&this.C&&!this.C.xb;this.C=p.clone();this.D$||(q?this.yQa():this.PYa())};a.prototype.PYa=function(){var p=!1,q=g.Cfa(this.C.xg),n=g.$k(this.C.xg);d.t0(n,d.RF,void 0).forEach(function(w){var x=e(q,w)&&0<d.F0(w)&&m(w);w.visible!=x&&(w.visible=x,p=!0)});n=d.Lza(n,d.RF,void 0);n=d.TAa(n,d.lB);for(var r in n){var u=n[r],t=q.map(function(){return!1});u.sort(function(w,x){return d.RAa(x)-d.RAa(w)});var v=u.some(k);u.forEach(function(w){var x=e(q,w)&&0<d.F0(w)&&m(w)&&(!v||l(w));if(x){x=
2725!0;for(var y=v||l(w)&&.999<d.F0(w),z=0;z<q.length;z++)w.layers.mask&q[z].layers.mask&&!t[z]&&(x=!1,y&&(t[z]=!0));x=!x}w.visible!=x&&(w.visible=x,p=!0)})}p&&this.trigger(f.ca)};a.prototype.yQa=function(){this.D$=!0;g.$k(this.C.xg).forEach(function(p){p.visible=!1});setTimeout(function(){this.D$=!1;this.update(this.C)}.bind(this),300);this.trigger(f.ca)};a.RS=function(p,q){b(p).loaded=q};a.setActive=function(p,q){b(p).active=q};a.MEa=function(p,q){d.Yj(p,function(n){b(n).blending=q})};return a});
2726define("kJ","require lE pg ik gv po cx ew U v".split(" "),function(a){function e(w){return(w=w.userData.rp)&&!(!w.Gga&&!w.Dga)}function l(w){return w.userData.rp||(w.userData.rp={})}function m(w){return l(w).OF}function k(w){return l(w).enabled||!1}function b(w){return!m(w).Aga()}var h=a("lE"),f=a("pg");a("ik");var c=a("gv"),d=a("po"),g=a("cx"),p=a("ew"),q=a("U"),n=a("v"),r=h.extend(c,function(){c.call(this);this.j=null;this.PH=[];this.mz=[];this.yG=[];this.C=void 0;this.pt=null;this.gA=this.gA.bind(this)});
2727r.prototype.F2=function(w){this.j=w};r.prototype.update=function(w){this.C=w.clone();this.kYa()?this.gA():this.rxa()};r.prototype.rxa=function(){this.pt||(this.pt=setTimeout(this.gA,1E3))};var u=Math.PI/180,t=function(){if(n.nb()){if(n.oga()&&1<=n.K8a())return 2;if(n.mc()==n.sp||n.mc()==n.Jx||n.sK())return 1.5}else return 1.5;return 1}();r.prototype.kYa=function(){var w=0<this.C.Dm?1E3:this.C.WQ/Math.tan(Math.min(.5*this.C.gi,89.99)*u);w*=t;var x=q.Cfa(this.C.xg),y=q.$k(this.C.xg).filter(e),z=y.filter(k);
2728var C=p.Lza(z,p.RF,void 0);C=p.TAa(C,p.RF);
2728C.none=p.t0(z,p.RF,void 0);z=[];for(var A in C)for(var B=C[A],E=0,G=B.length;E<G;E++){var K=B[E];(l(K).Gga||r.MT)==r.Xr&&z.push(K)}for(var I=0,Q=x.length;I<Q;I++){var W=x[I];for(A in C){B=C[A];var U=null,T=Number.NEGATIVE_INFINITY,X=null,D=Number.POSITIVE_INFINITY;E=0;for(G=B.length;E<G;E++)if(K=B[E],K.layers.mask&W.layers.mask&&(l(K).Gga||r.MT)==r.MT){var M=90*l(K).j4a;M<w&&M>T?(U=K,T=M):M>=w&&M<D&&(X=K,D=M)}this.C.xb&&X&&U?T>.75*w?z.push(U):z.push(X):(X&&
27290>z.indexOf(X)&&z.push(X),U&&0>z.indexOf(U)&&z.push(U))}}w=[];for(x=0;x<z.length;x++)A=z[x],0>w.indexOf(A)&&w.push(A);z=w;a:{w=this.yG;x=z;for(A=0;A<w.length;A++)if(0>x.indexOf(w[A])){w=!1;break a}for(A=0;A<x.length;A++)if(0>w.indexOf(x[A])){w=!1;break a}w=!0}w=!w;this.yG=z;E=0;for(G=y.length;E<G;E++)K=y[E],k(K)&&d.setActive(K,0<=this.yG.indexOf(K));return w};r.prototype.gA=function(){this.pt=null;for(var w=[],x=[],y=[],z=(new Date).getTime()-v,C=q.Cfa(this.C.xg),A=q.$k(this.C.xg),B=0,E=A.length;B<
2730E;B++){var G=A[B],K=G.userData.rp;if(K){var I=p.vA(G);if(K.enabled){var Q=[];if(0<=this.yG.indexOf(G)){if(0<this.C.Dm||(l(G).Dga||r.D4)==r.Dp)Q=I;else for(var W=0,U=C.length;W<U;W++){var T=p.B1a(G,C[W]);if(0==W)Q=T;else for(var X=0,D=T.length;X<D;X++){var M=T[X];0>Q.indexOf(M)&&Q.push(M)}}X=0;for(D=Q.length;X<D;X++)M=Q[X],(M.userData.rp||(M.userData.rp={})).NBa=z}this.W5(G,Q);X=0;for(D=K.Ar.length;X<D;X++)w.push(K.Ar[X]);X=0;for(D=K.lx.length;X<D;X++)x.push(K.lx[X])}else for(K.lx||this.W5(G,[]),X=
27310,D=K.lx.length;X<D;X++)M=K.lx[X],0>K.Ar.indexOf(M)&&x.push(M);X=0;for(D=I.length;X<D;X++)y.push(I[X])}}B=[];X=0;for(D=this.mz.length;X<D;X++)M=this.mz[X],0>y.indexOf(M)?M.userData.rp.OF.unload():b(M)?this.dca(M,!1):B.push(M);this.mz=B;X=Math.max(r.gCa(),Math.round(1.25*x.length))-w.length;if(this.mz.length>X)for(this.mz.sort(function(S,Y){return l(S).NBa-l(Y).NBa}),B=this.mz.splice(0,this.mz.length-X),X=0,D=B.length;X<D;X++)M=B[X],M.userData.rp.OF.unload(),this.dca(M,!1);x=[];B=0;for(E=this.yG.length;B<
2732E;B++)G=this.yG[B],K=G.userData.rp,0<K.Ar.length&&x.push(G);y=Number.POSITIVE_INFINITY;B=0;for(E=x.length;B<E;B++)G=x[B],K=G.userData.rp,X=K.priority,X=void 0!==X?X:Number.POSITIVE_INFINITY,X<y&&(y=X);w=[];B=0;for(E=x.length;B<E;B++)if(G=x[B],K=G.userData.rp,X=K.priority,X=void 0!==X?X:Number.POSITIVE_INFINITY,X==y)for(T=K.Ar,X=0,D=T.length;X<D;X++)M=T[X],w.push(M);X=0;for(D=this.PH.length;X<D;X++)M=this.PH[X],0>w.indexOf(M)&&(M=M.userData.rp.OF,M.unbind(f.Z,this.Rca,this,!0),M.unbind(f.yc,this.Sca,
2733this,!0),M.y_a());B=this.PH;this.PH=w;E=this.PH.slice();X=0;for(D=E.length;X<D;X++)M=E[X],0>B.indexOf(M)&&(M=M.userData.rp.OF,M.bind(f.Z,this.Rca,this,!0),M.bind(f.yc,this.Sca,this,!0),M.load(this.j))};r.prototype.Rca=function(w){this.xwa(w.source);this.trigger(f.Z)};r.prototype.Sca=function(w){this.xwa(w.source)};r.prototype.xwa=function(w){w.unbind(f.Z,this.Rca,this,!0);w.unbind(f.yc,this.Sca,this,!0);var x=w.material(),y=this.PH,z=y.indexOf(x);0<=z&&y.splice(z,1);this.mz.push(x);this.dca(x,!0);
2734w=w.jp();0<=l(w).Ar.indexOf(x)&&this.W5(w,l(w).lx);this.rxa()};r.prototype.W5=function(w,x){var y=l(w).lx;y=y?y.length:void 0;var z=l(w).Ar;z=z?z.length:void 0;l(w).lx=x;l(w).Ar=x.filter(b);d.RS(w,0==l(w).Ar.length&&(l(w).Dga||r.D4)==r.Dp);x=(x=l(w).lx)?x.length:void 0;var C=l(w).Ar;C=C?C.length:void 0;z===C&&y===x||w.dispatchEvent({type:f.kc,Yg:x?100-100*C/x:100});z!==C&&0===C&&w.dispatchEvent({type:f.Z})};r.prototype.dca=function(w,x){if(x!=w.visible){var y=g.wAa(w),z=p.getAttribute(y,p.lB),C=p.getAttribute(y,
2735p.t3);if(void 0===z||void 0===C)w.visible=x;else{var A=q.$k(this.C.xg).filter(e);z=p.t0(A,p.lB,z);C=p.t0(z,p.t3,C);var B=p.vA(y).indexOf(w);w=C.map(function(E){return p.vA(E)[B]});for(y=0;y<w.length&&x;y++)x=x&&m(w[y]).Aga();for(y=0;y<w.length;y++)w[y].visible=x}}};r.gCa=function(){var w=n.g1()||n.h1()?384:n.nb()?128:384;r.gCa=function(){return w};return w};r.rb=function(w,x){p.Yj(w,function(y){l(y).enabled=x})};r.enabled=k;r.D2=function(w,x){p.Yj(w,function(y){l(y).j4a=x})};r.Dp="all";r.D4="in view";
2736r.qx=function(w,x){p.Yj(w,function(y){l(y).Dga=x})};r.Xr="always";r.MT="on demand";r.sx=function(w,x){p.Yj(w,function(y){l(y).Gga=x})};r.XS=function(w,x){p.Yj(w,function(y){l(y).priority=x})};r.CF=function(w,x){p.Yj(w,function(y){l(y).p$a=x;
2736p.vA(y).forEach(function(z){m(z).g6a(x)})})};r.n$a=function(w){return 100-100*l(w).Ar.length/l(w).lx.length};r.m$a=function(w){return 0==l(w).Ar.length};r.UK=function(w,x){(l(w).OF=x)&&(w.visible=x.Aga())};r.OF=m;var v=(new Date).getTime();return r});
2737define("h","require lE jq ew U kJ po".split(" "),function(a){var e=a("lE"),l=a("jq"),m=a("ew"),k=a("U"),b=a("kJ"),h=a("po");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.ho=function(){return[]};a.prototype.Tb=function(){m.dispose(this.get("meshGroup"));m.bu(this.get("meshGroup"),null);this.set("meshGroup",null);l.prototype.Tb.call(this)};a.prototype.ha=function(f){l.prototype.ha.call(this,
2738f);this.set("camera",k.getCamera(f.xg));this.set("webglScene",f.xg);this.get("meshGroup")||(this.set("meshGroup",m.kza(this.ho())),this.get("meshGroup").userData.e4a=this);this.O("webglScene","meshGroup")&&m.bu(this.get("meshGroup"),this.get("webglScene"));this.km();this.Zq(f);this.sE();this.O("loadingActive","meshGroup")&&b.rb(this.get("meshGroup"),this.get("loadingActive"));this.O("blendingActive","meshGroup")&&h.MEa(this.get("meshGroup"),this.get("blendingActive"))};a.prototype.km=function(){this.O("composedAlpha",
2739"meshGroup")&&this.ny()};a.prototype.ny=function(){m.$e(this.get("meshGroup"),this.get("composedAlpha"))};a.prototype.Zq=function(){throw"Must be overridden in descendants.";};a.prototype.sE=function(){if(this.O("index","meshGroup")){var f=this.get("meshGroup");f&&f.children.forEach(function(c,d,g){m.K2(c,this.get("index")+d/g.length)}.bind(this))}};return a});
2740define("fI",["require","lE","jv","h","ew"],function(a){var e=a("lE"),l=a("jv"),m=a("h"),k=a("ew"),b=new THREE.Matrix4,h=Math.PI/180;a=e.extend(m,function(){m.call(this);this.set("tag","Frame");this.xh=new THREE.Matrix4;this.Md=new THREE.Matrix4;this.cm=new THREE.Matrix4;this.yi=new THREE.Matrix4});a.prototype.ha=function(f){m.prototype.ha.call(this,f)};a.prototype.Zq=function(f){var c=!1;this.O("composedTranslationX","composedTranslationY","composedTranslationZ")&&(this.xh.makeTranslation(.5*-this.get("composedTranslationX")*
2741l.yg,.5*this.get("composedTranslationY")*l.yg,.5*this.get("composedTranslationZ")*l.yg),c=!0);this.O("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&&(this.Md.makeRotationY(-f.Ra*h),this.Md.multiply(b.makeRotationX(-this.get("composedDeltaPitch")*h)),this.Md.multiply(b.makeRotationY(this.get("composedDeltaYaw")*h)),this.Md.multiply(b.makeRotationY(f.Ra*h)),c=!0);this.O("flipHorizontally")&&(f=this.get("flipHorizontally")?-1:1,this.cm.makeScale(f,1,1),c=!0);if(c||this.O("meshGroup"))this.yi.copy(this.xh),
2742this.yi.multiply(this.Md),this.yi.multiply(this.cm),k.hr(this.get("meshGroup"),this.yi)};return a});
2743define("z",["require"],function(){function a(){this.AH=e++;this.HN="_map_"+this.AH+"_key";this.BW={};this.mq=[];this.length=0}var e=0;a.prototype.set=a.prototype.add=function(l,m){0>this.mq.indexOf(l)&&this.mq.push(l);if("object"===typeof l&&null!==l){var k=l[this.HN];if(!k){k=this.HN;for(var b=[],h=0;8>h;h++)b.push(Math.floor(16*Math.random()).toString(16));k=l[k]=b.join("")}}else k=l;this.BW[k]=m;this.length=this.mq.length};a.prototype.get=function(l){return this.BW["object"===typeof l&&null!==
2744l?l[this.HN]:l]};a.prototype.j2a=function(l){return 0<=this.mq.indexOf(l)};a.prototype.remove=function(l){var m=this.mq.indexOf(l);0>m||(this.mq.splice(m,1),"object"===typeof l&&null!==l?(m=l[this.HN],delete l[this.HN]):m=l,delete this.BW[m],this.length=this.mq.length)};a.prototype.forEach=function(l){this.mq.slice().forEach(function(m){l(m,this.get(m))}.bind(this))};a.prototype.dispose=function(){for(;this.mq.length;)this.remove(this.mq.pop());this.mq=this.BW=null};return a});
2745define("oz",["require","lE","gv","z"],function(a){function e(){this.NE=[]}var l=a("lE"),m=a("gv"),k=a("z");a=l.extend(m,function(b){m.call(this);this.mf=b;this.ed=[];this.Bv=new k;this.FQ=[];this.R7=[];this.$H=this.$H.bind(this)});a.prototype.xf=function(b){this.ed.forEach(function(h){if(h.removeEventListener)h.removeEventListener(this.mf,this.$H);else if(h.unbind)h.unbind(this.mf,this.$H,this,!0);else throw"invalid instance type";}.bind(this));this.ed=b.slice();this.ed.forEach(function(h){if(h.addEventListener)h.addEventListener(this.mf,
2746this.$H);else if(h.bind)h.bind(this.mf,this.$H,this,!0);else throw"invalid instance type";this.Bv.j2a(h)||this.Bv.set(h,new e)}.bind(this));this.rda()};a.prototype.dispose=function(){this.xf([]);this.ed=null;this.Bv.dispose();this.R7=this.FQ=this.Bv=null};a.prototype.Em=function(b){this.FQ.push(b);this.rda();return this};a.prototype.kp=function(b){this.R7.push(b);return this};a.prototype.Et=function(b){this.ed.forEach(function(h){b(h,this.Bv.get(h).NE)}.bind(this))};a.prototype.um=function(b){b=this.Bv.get(b).NE;
2747return 0==b.length?null:b[b.length-1]};a.prototype.$H=function(b){var h=b.target||b.source;
2747if(h=this.Bv&&this.Bv.get(h))h.NE.push(b),this.R7.forEach(function(f){f(b,this)}.bind(this)),this.rda()};a.prototype.rda=function(){if(0!=this.ed.length){for(var b=0;b<this.ed.length;b++)if(0==this.Bv.get(this.ed[b]).NE.length)return;this.FQ.length&&(b=this.FQ.slice(),this.FQ=[],b.forEach(function(h){h(this)}.bind(this)))}};return a});
2748define("de","require lE pg ik gv cx nW v".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("ik"),k=a("gv"),b=a("cx"),h=a("nW"),f=a("v"),c=e.extend(k,function(){k.call(this);this.jf=void 0;this.Ha=h.createTexture();this.Ha.encoding=THREE.sRGBEncoding;this.C=c.DL;this.EN=m.ql;this.j=null});c.prototype.type=function(){return this.jf};c.prototype.texture=function(){return this.Ha};c.prototype.material=function(){return this.Ha&&h.LAa(this.Ha)};c.prototype.jp=function(){var d=this.Ha&&h.LAa(this.Ha);
2749return d&&b.wAa(d)};c.prototype.g6a=function(d){this.EN=d};c.prototype.dia=function(){!0!==this.Ha.isVideoTexture&&(this.Ha.isVideoTexture=!0,this.Ha.update=function(){},this.Ha.encoding=f.browser()==f.Rr?THREE.LinearEncoding:THREE.sRGBEncoding)};c.prototype.load=function(d){this.C===c.DL&&(this.j=d,this.C=c.UT,this.g6())};c.prototype.y_a=function(){this.WR()&&(this.C==c.UT?this.NZ():this.UP(),this.C=c.DL)};c.prototype.unload=function(){this.C!=c.DL&&(this.C==c.UT?this.NZ():this.C==c.T4?this.UP():
2750this.eA(),this.C=c.DL)};c.prototype.y4a=function(){if(this.Ha){var d=this.material(),g=h.createTexture();g.flipY=this.Ha.flipY;g.format=this.Ha.format;g.encoding=this.Ha.encoding;this.Ha.isVideoTexture&&(g.isVideoTexture=!0,g.update=function(){});h.dispose(this.Ha);d&&h.zFa(g,d);d&&b.j_a(d,g);this.Ha=g}};c.prototype.g6=function(){};c.prototype.NZ=function(){};c.prototype.e6=function(){};c.prototype.UP=function(){};c.prototype.eA=function(){h.J_a(this.texture)};c.prototype.WR=function(){return this.C==
2751c.UT||this.C==c.T4};c.prototype.Aga=function(){return this.C==c.S4||this.C==c.Jka};c.prototype.dispose=function(){h.dispose(this.Ha);this.Ha=null};c.prototype.cI=function(d){this.C=d?c.T4:c.Jka;d?this.e6():this.trigger(l.yc)};c.prototype.rra=function(){this.C=c.S4;this.trigger(l.Z)};c.DL="initial";c.UT="loading";c.T4="adding";c.Jka="error loading";c.S4="added";c.WIa="custom";c.XIa="image tile";c.q9a="image animation";c.r9a="video 360";return c});
2752define("fl","require lE pg cu lB cx nW hJ de".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("cu"),k=a("lB");a("cx");var b=a("nW");a("hJ");var h=a("de");a=e.extend(h,function(f){h.call(this);this.jf=h.WIa;this.Pd=f;this.Pd||(this.C=h.S4);this.bi=this.Ed=null;this.fE=this.gE=void 0});a.prototype.Cm=function(f){this.bi=f;b.eB(this.Ha,this.bi);f=this.Ha&&this.Ha.image&&this.Ha.image.width||void 0;var c=this.Ha&&this.Ha.image&&this.Ha.image.height||void 0;void 0===this.gE||void 0===this.fE||this.gE===
2753f&&this.fE===c||(this.y4a(),b.eB(this.Ha,this.bi));this.gE=f;this.fE=c};a.prototype.vf=function(){return k.vf(this.Pd)};a.prototype.update=function(){b.eB(this.Ha,this.bi)};a.prototype.g6=function(){this.Pd?this.uM():this.cI(!0)};a.prototype.NZ=function(){this.cq()};a.prototype.e6=function(){this.rra()};a.prototype.eA=function(){this.cq()};a.prototype.dispose=function(){this.cq();h.prototype.dispose.call(this)};a.prototype.vd=function(){this.cI(!0)};a.prototype.Sf=function(){this.cI(!1)};a.prototype.uM=
2754function(){this.Ed||(this.Ed=new m,this.Ed.VK([this.Pd]),this.Ed.bind(l.Z,this.vd,this,!0),this.Ed.bind(l.yc,this.Sf,this,!0),k.Mn(this.Ed,this.EN))};a.prototype.cq=function(){this.Ed&&(this.Ed.unbind(l.Z,this.vd,this,!0),this.Ed.unbind(l.yc,this.Sf,this,!0),k.uj(this.Ed,this.EN),this.Ed=null)};return a});
2755define("dN","require lE pg gv nW bi".split(" "),function(a){function e(){d||(d=!0,f.requestFrame(l,null))}function l(){d=!1;for(var q=Date.now();c.length&&Date.now()-q<p;)c.shift().add();c.length&&e()}var m=a("lE"),k=a("pg"),b=a("gv"),h=a("nW"),f=a("bi"),c=[],d=!1,g=m.extend(b,function(q,n,r){b.call(this);this.renderer=q;this.texture=n;this.source=r});g.prototype.add=function(){h.eB(this.texture,this.source);this.renderer&&this.renderer.initTexture(this.texture);this.trigger(k.Z)};g.prototype.remove=
2756function(){var q=c.indexOf(this);0<=q&&c.splice(q,1);h.eB(this.texture,null)};var p=8;return{add:function(q,n,r){q=new g(q,n,r);c.push(q);e();return q}}});
2757define("nf","require lE pg cu lB dN de".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("cu"),k=a("lB"),b=a("dN"),h=a("de");a=e.extend(h,function(f){h.call(this);this.jf=h.XIa;this.Pd=f;this.bi=this.BI=this.Ed=null});a.prototype.vf=function(){return this.bi};a.prototype.g6=function(){this.uM()};a.prototype.NZ=function(){this.cq()};a.prototype.e6=function(){this.bNa()};a.prototype.UP=function(){this.cq();this.A7()};a.prototype.eA=function(){this.cq();this.A7()};a.prototype.dispose=function(){this.cq();
2758this.A7();h.prototype.dispose.call(this)};a.prototype.vd=function(){this.bi=k.vf(this.Pd);this.cI(!0)};a.prototype.Sf=function(){this.cI(!1)};a.prototype.sra=function(){this.rra()};a.prototype.uM=function(){this.Ed||(this.Ed=new m,this.Ed.VK([this.Pd]),this.Ed.bind(l.Z,this.vd,this,!0),this.Ed.bind(l.yc,this.Sf,this,!0),k.Mn(this.Ed,this.EN))};a.prototype.cq=function(){this.Ed&&(this.Ed.unbind(l.Z,this.vd,this,!0),this.Ed.unbind(l.yc,this.Sf,this,!0),k.uj(this.Ed,this.EN),this.Ed=null)};a.prototype.bNa=
2759function(){this.BI=b.add(this.j,this.Ha,this.bi);this.BI.bind(l.Z,this.sra,this,!0)};a.prototype.A7=function(){this.BI&&(this.BI.unbind(l.Z,this.sra,this,!0),this.BI.remove(),this.BI=null)};return a});
2760define("pq",["require","lE","lB","nW","nf"],function(a){var e=a("lE"),l=a("lB"),m=a("nW"),k=a("nf");a=e.extend(k,function(b,h,f,c,d){k.call(this,b.get("url"));this.La=h;this.Oa=f;this.oa=c;this.wa=d;this.uRa=0!=this.La||0!=this.Oa||this.oa!=b.get("width")||this.wa!=b.get("height")});a.prototype.vd=function(){this.uRa?(this.jNa(),this.cq(),this.cI(!!this.bi)):k.prototype.vd.call(this)};a.prototype.UP=function(){k.prototype.UP.call(this);this.B7()};a.prototype.eA=function(){k.prototype.eA.call(this);
2761this.B7()};k.prototype.dispose=function(){k.prototype.dispose.call(this);this.B7()};a.prototype.jNa=function(){var b=l.vf(this.Pd);this.bi=m.g0a(b,this.La,this.Oa,this.oa,this.wa)};a.prototype.B7=function(){this.bi&&(m.ifa(this.bi),this.bi=null)};return a});
2762define("fF","require nV dK mY hJ fl nf pq jv cx ew cb nF kJ v".split(" "),function(a){var e=a("nV"),l=a("dK"),m=a("mY"),k=a("hJ"),b=a("fl"),h=a("nf"),f=a("pq"),c=a("jv"),d=a("cx"),g=a("ew"),p=a("cb"),q=a("nF"),n=a("kJ"),r=a("v"),u={$_a:function(t,v){var w=p.get(t);switch(w){case p.hy:case p.qu:case p.rl:return this.MMa(w,t,v);case p.Ep:case p.Kp:case p.gs:return this.OMa(w,t,v)}
2762},j0a:function(t,v){var w=new h(v.get("posterURL"));w.dia();return this.Ana(t,v,w)},i0a:function(t,v){var w=new b;w.dia();
2763return this.Ana(t,v,w)},Ana:function(t,v,w){var x=t.get("hfov"),y=t.get("vfov"),z=t.get("pitch"),C=v.get("width");v=v.get("url");t=p.get(t);var A=t==p.gs?2:1,B=t==p.Kp?2:1;t=2<A+B?[l.Wa,l.ob]:[l.eu];var E=Math.round(C/A);C=new d.Im(v);var G=d.pA(w.texture(),C);n.UK(G,w);G.visible=!0;return t.map(function(K,I){I=c.nza(x,y,z,1,1,I%A/A,(B-1-Math.floor(I/A))/B,1/A,1/B);I=g.create(I,[G]);I.layers.set(K);n.D2(I,E/x);return I}.bind(this))},c0a:function(t){var v=[m.ob,m.Wa,m.zc,m.sc,m.FRONT,m.BACK].map(function(){var x=
2764new b;x.Cm(u.$Pa(t));var y=d.pA(x.texture());n.UK(y,x);y.visible=!0;return y}),w=c.mza(1,1);v=g.create(w,v);n.D2(v,256/90);v.layers.set(l.eu);return v},rca:{},$Pa:function(t){if(!u.rca[t]){var v=document.createElement("canvas");v.width=v.height=256;var w=v.getContext("2d");w.fillStyle=t;w.fillRect(0,0,v.width,v.height);u.rca[t]=v}return u.rca[t]},MMa:function(t,v,w){var x=t==p.hy?[l.ob,l.Wa]:[l.eu],y=v.get("flipImageHorizontally");y&&(x=x.reverse());var z=t==p.rl?1:6*x.length,C=w.get("width")/z,A=
2765w.get("height");if(e.Ga("TiledImageResourceLevel",w)){var B=w.get("colCount",z)/z;var E=w.get("rowCount",1)}else this.Dua(t,w)?(B=Math.ceil(C/k.Cu()),E=Math.ceil(A/k.Cu())):E=B=1;var G=[m.ob,m.Wa,m.zc,m.sc,m.FRONT,m.BACK];return x.map(function(K,I){var Q=Array(6);G.forEach(function(T,X){var D=q.Hfa(v,w,T);if(e.Ga("TiledImageResourceLevel",w))Q[c.Mka.indexOf(T)]=this.HMa(D,t,K,T,y,B,E);else{X=t==p.rl?0:Math.round((I*G.length+X)*C);var M=1<B||1<E||t!=p.rl?256<C?1:.5:0;Q[c.Mka.indexOf(T)]=this.una(D,
2766B,E,X,0,C,A,M)}}.bind(this));var W=Array.prototype.concat.apply([],Q),U=c.mza(B,E);W=g.create(U,W);W.layers.set(K);n.D2(W,C/90);return W}.bind(this))},OMa:function(t,v,w){var x=t==p.Ep?[l.eu]:[l.Wa,l.ob];v.get("flipImageHorizontally")&&(x=x.reverse());var y=w.get("width"),z=w.get("height"),C=v.get("hfov"),A=v.get("vfov"),B=v.get("pitch"),E=Math.round(y/C/(z/A)),G=Math.round(y/E),K=Math.round(z/Math.round(z/A/(y/C))),I=(t=this.Dua(t,w))?Math.ceil(G/k.Cu()):1,Q=t?Math.ceil(K/k.Cu()):1;return x.map(function(W,
2767U){U=this.una(w,I,Q,U%E*G,Math.floor(U/E)*K,G,K);var T=c.nza(C,A,B,I,Q,0,0,1,1);U=g.create(T,U);U.layers.set(W);n.D2(U,G/C);return U}.bind(this))},Dua:function(t,v){switch(t){case p.hy:case p.qu:case p.Kp:case p.gs:return!0;case p.rl:return!1;case p.Ep:return r.Y1a().maxTextureSize<Math.max(v.get("width"),v.get("height"))?!0:k.cp()||r.nb()?!1:r.mc()==r.Kx?!0:!1}},una:function(t,v,w,x,y,z,C,A){A||(A=0);for(var B=[],E=0;E<w;E++)for(var G=y+A+(C-2*A)*E/w,K=y+A+(C-2*A)*(E+1)/w,I=0;I<v;I++){var Q=x+A+
2768(z-2*A)*I/v,W=x+A+(z-2*A)*(I+1)/v;Q=t?new f(t,Q,G,W-Q,K-G):new b;W=d.Zea(Q.texture());n.UK(W,Q);B.push(W)}return B},HMa:function(t,v,w,x,y,z,C){for(var A=[],B=0;B<C;B++)for(var E=0;E<z;E++){var G=t?new h(q.MAa(t,v,w,x,y,C,B,E)):new b;var K=d.Zea(G.texture());n.UK(K,G);K.visible=!1;A.push(K)}return A}};return u});
2769define("dp","require lE pg fI oz fF kJ".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("fI"),k=a("oz"),b=a("fF"),h=a("kJ");a=e.extend(m,function(f){m.call(this);this.Nc=f;this.set("tag","SolidFrame");this.Qg=null});a.prototype.Pb=function(){this.Qg=(new k(l.Z)).Em(this.vd.bind(this));m.prototype.Pb.call(this)};a.prototype.Tb=function(){this.Qg.dispose();m.prototype.Tb.call(this)};a.prototype.ho=function(){var f=[b.c0a(this.Nc)];h.sx(f,h.Xr);h.qx(f,h.Dp);this.Qg.xf(f);return f};a.prototype.vd=
2770function(){this.trigger(l.bd);this.trigger(l.Z)};return a});
2771define("lX","require lE eU dp oI bG oB".split(" "),function(a){var e=a("lE"),l=a("eU"),m=a("dp"),k=a("oI"),b=a("bG"),h=a("oB");a=e.extend(l,function(f,c,d,g){l.call(this,f,c,d,g);this.aa=null;this.yb=!1});a.prototype.Kg=function(){return this.yb};a.prototype.$g=function(f){if(!this.yb){this.G.nl||(this.G.nl=new m("#000000"),this.G.nl.set("alpha",1),this.j.add(this.G.nl));if(!this.aa){this.G.nl.zh();var c=2*this.G.Mea;this.aa=new k("linear",[new b("alpha",2,0,void 0)],c);this.G.nl.zh()}this.aa.Cb(f);
2772this.G.nl.set("alpha",Math.min(.99,this.aa.fb("alpha")));this.j.wf(this.G.Dc).set("alpha",1);this.aa&&this.aa.Ze()&&(this.yb=!0,this.j.remove(this.G.nl),this.G.nl=null);h.hg.forEach(function(d){h.kia(d,!this.yb)}.bind(this))}};return a});
2773define("bK",["require","lE","eU","oI","bG"],function(a){var e=a("lE"),l=a("eU"),m=a("oI"),k=a("bG");a=e.extend(l,function(b,h,f,c){l.call(this,b,h,f,c);this.ic=this.j.L.ic;this.aa=null;this.yb=!1});a.prototype.Kg=function(){return this.yb};a.prototype.$g=function(b){if(!this.yb){if(!this.aa){this.ic.JF();this.j.wf(this.G.dh).set("alpha",0);var h=this.G.tza;this.aa=new m("linear",[new k("position",0,1,void 0)],h)}this.aa.Cb(b);this.ic.AF(this.aa.fb("position"));this.aa.Ze()&&(this.yb=!0,this.ic.LE())}};
2774return a});
2775define("ob","require lE eU dp oI bG oB".split(" "),function(a){var e=a("lE"),l=a("eU"),m=a("dp"),k=a("oI"),b=a("bG"),h=a("oB");a=e.extend(l,function(f,c,d,g){l.call(this,f,c,d,g);this.aa=null;this.yb=!1});a.prototype.Kg=function(){return this.yb};a.prototype.$g=function(f){if(!this.yb){this.G.nl||(this.G.nl=new m("#000000"),this.G.nl.set("alpha",0),this.j.add(this.G.nl));if(!this.aa){this.G.nl.zh();var c=2*this.G.tza;this.aa=new k("linear",[new b("alpha",0,2,void 0)],c)}this.aa.Cb(f);f=Math.min(1,
2776this.aa.fb("alpha"));this.G.nl.set("alpha",f);h.hg.forEach(function(d){h.kia(d,!0)});1==f&&this.j.wf(this.G.dh).set("alpha",0);this.aa.Ze()&&(this.yb=!0)}};return a});
2777define("oT",["require","lE","eU","oI","bG"],function(a){var e=a("lE"),l=a("eU"),m=a("oI"),k=a("bG");a=e.extend(l,function(b,h,f,c){l.call(this,b,h,f,c);this.aa=null;this.yb=!1});a.prototype.Kg=function(){return this.yb};a.prototype.$g=function(b){if(!this.yb){if(!this.aa){var h=this.j.Hg(),f=this.Cc.u2(this.G.Dc,h),c=!this.G.xb()&&.01<Math.abs(h-f)?this.G.s3:1;this.aa=new m("cubic_in_out",[new k("hfov",h,f,void 0)],c)}this.aa.Cb(b);this.Cc.op(this.aa.fb("hfov"));this.aa.Ze()&&(this.Cc.QS(!0),this.yb=
2778!0)}};return a});
2779define("cl",["require","lE","eU","oI","bG"],function(a){function e(h,f,c){for(;h<f;)h+=c-f;for(;h>c;)h-=c-f;return h}var l=a("lE"),m=a("eU"),k=a("oI"),b=a("bG");a=l.extend(m,function(h,f,c,d){m.call(this,h,f,c,d);this.aa=null;this.yb=!1;this.iX=0});a.prototype.Kg=function(){return this.yb};a.prototype.$g=function(h){this.yb||(this.aa||(this.aa=this.iX<this.G.bp.length?this.ZMa(this.iX):this.DMa()),this.aa.Cb(h),this.Cc.oia(this.aa.fb("yaw"),this.aa.fb("pitch")),this.Cc.op(this.aa.fb("hfov")),this.Cc.GF(this.aa.fb("stereographicFactor")),
2780this.aa.Ze()&&(this.aa=null,this.iX++,this.iX>this.G.bp.length&&(this.Cc.QS(!0),this.yb=!0)))};a.prototype.DMa=function(){var h=e(this.j.Sc(),-180,180),f=this.j.Rc();this.j.Tf();var c=this.j.Hg(),d=this.j.C.Dm,g=this.G.Jg.get("hfov");g={Ra:this.G.Jg.get("yaw"),pitch:this.G.Jg.get("pitch",f),wg:this.j.Tf(),Je:g?this.Cc.GE(g):c,Dm:0};this.Cc.c5a(this.G.Dc,g);g.Ra=e(g.Ra,h-180,h+180);var p=.5<Math.abs(c-g.Je),q=Math.abs(d-g.Dm),n=.01<q;p=this.G.xb()?1:Math.max(p?this.G.s3:1,n?this.G.nDa*q:1);return new k(n?
2781"linear":"cubic_in_out",[new b("yaw",h,g.Ra,void 0),new b("pitch",f,g.pitch,void 0),new b("hfov",c,g.Je,void 0),new b("stereographicFactor",d,g.Dm,void 0)],p)};a.prototype.ZMa=function(h){var f=this.G.bp[h],c=e(this.j.Sc(),-180,180),d=this.j.Rc();this.j.Tf();var g=this.j.Hg(),p=this.j.C.Dm,q=f.get("targetStereographicFactor",p),n=f.get("targetHfov");if(n)n=this.Cc.GE(n);else{for(n=!1;h<this.G.bp.length&&!n;h++)n=void 0!==this.G.bp[h].get("targetHfov");n?n=g:(n=this.Cc.GE(this.G.Jg.get("hfov",this.Cc.pza())),
2782n=g+(n-g)*(p-q))}h=f.get("targetYaw",c);var r=f.get("targetPitch",d);this.j.Tf();switch(f.get("path")){case "left":h=e(h,c-360,c);break;case "right":h=e(h,c,c+360);break;case "longest":h=e(h,-360,360);h=h>=c?e(h,c,c+360):e(h,c-360,c);break;default:h=e(h,c-180,c+180)}return new k(f.get("easing"),[new b("yaw",c,h,f.get("yawSpeed")),new b("pitch",d,r,f.get("pitchSpeed")),new b("hfov",g,n,f.get("hfovSpeed")),new b("stereographicFactor",p,q,f.get("stereographicFactorSpeed"))],f.get("duration"))};return a});
2783define("mQ",["require","lE","eU","oI","bG"],function(a){var e=a("lE"),l=a("eU"),m=a("oI"),k=a("bG");a=e.extend(l,function(b,h,f,c){l.call(this,b,h,f,c);this.aa=null;this.yb=!1});a.prototype.Kg=function(){return this.yb};a.prototype.$g=function(b){if(!this.yb){if(!this.aa){var h=this.j.Rc(),f=this.j.Hg(),c=this.j.C.Dm,d=this.G.Gf.get("stereographicFactor",0),g=Math.abs(c-d),p=0<d?this.G.Gf.get("pitch",h):h,q=this.G.Gf.get("hfov");q=q?this.Cc.GE(q):f;0==d&&(q=Math.min(f,this.Cc.u2(this.G.Dc,q)));this.Cc.QS(!1);
2784g=this.G.xb()?1:Math.max(.5<Math.abs(f-q)?this.G.s3:1,.01<g?this.G.nDa:1);this.aa=new m("cubic_in_out",[new k("hfov",f,q,void 0),new k("pitch",h,p,void 0),new k("stereographicFactor",c,d,void 0)],g)}this.aa.Cb(b);this.Cc.op(this.aa.fb("hfov"));this.Cc.GF(this.aa.fb("stereographicFactor"));this.Cc.oia(this.j.Sc(),this.aa.fb("pitch"));this.aa.Ze()&&(this.Cc.bh(this.G.Dc,this.G.Gf.get("yaw"),this.G.Gf.get("pitch",this.j.Rc())),this.yb=!0)}};return a});
2785define("fT",["require","lE","eU","oI","bG"],function(a){var e=a("lE"),l=a("eU"),m=a("oI"),k=a("bG");a=e.extend(l,function(b,h,f,c){l.call(this,b,h,f,c);this.aa=null;this.yb=!1});a.prototype.Kg=function(){return this.yb};a.prototype.$g=function(b){if(!this.yb){if(!this.aa){var h=this.j.Hg(),f=Math.min(this.Cc.u2(this.G.Dc,h),h),c=!this.G.xb()&&.01<Math.abs(h-f)?this.G.s3:1;this.aa=new m("cubic_in_out",[new k("hfov",h,f,void 0)],c);this.Cc.QS(!1)}this.aa.Cb(b);this.Cc.op(this.aa.fb("hfov"));this.aa.Ze()&&
2786(this.Cc.bh(this.G.Dc,this.j.Sc()+this.G.eL.hAa(),this.j.Rc()),this.yb=!0)}};a.prototype.aF=function(){return!0};return a});define("eE",["require","lE","ms"],function(a){var e=a("lE"),l=a("ms");a=e.extend(l,function(m,k,b,h){l.call(this,m,k,b,h)});a.prototype.uh=function(){var m=this.j.wf(this.G.dh);this.j.remove(m)};return a});
2787define("jl",["require","lE","ms"],function(a){var e=a("lE"),l=a("ms");a=e.extend(l,function(m,k,b,h){l.call(this,m,k,b,h)});a.prototype.uh=function(){var m=(this.G.oc||this.G.rc).get("model");m.set("objects",m.get("objects").filter(function(k){return k!=this.G.Xt}.bind(this)));[this.G.Xt.get("sourceCubeTexture"),this.G.Xt.get("targetCubeTexture")].forEach(function(k){k&&k.dispose()});this.G.Xt=null};return a});
2788define("mx",["require","lE","ms"],function(a){var e=a("lE"),l=a("ms");a=e.extend(l,function(m,k,b,h){l.call(this,m,k,b,h)});a.prototype.uh=function(){var m=[this.j.Xc];this.G.rc&&m.push(this.G.ck);this.j.Xc.vF(m)};return a});
2789define("s",["require","lE","ms"],function(a){var e=a("lE"),l=a("ms");a=e.extend(l,function(m,k,b,h){l.call(this,m,k,b,h)});a.prototype.uh=function(){this.Cc.bh(this.G.Dc,this.G.Jg.get("yaw"),this.G.Jg.get("pitch",this.j.Rc()));var m=this.G.Jg.get("hfov");m&&(m=this.Cc.GE(m),this.Cc.op(m))};return a});
2790define("dw",["require","lE","lh","ms"],function(a){var e=a("lE");a("lh");var l=a("ms");a=e.extend(l,function(m,k,b,h){l.call(this,m,k,b,h)});a.prototype.uh=function(){var m=this.G.rc.get("model").get("camera");if(this.G.KF.get("keepInitialPositionOnTranslation")){var k=this.G.Jg.get("yaw");m=this.G.Jg.get("pitch")}else k=m.get("yaw")-this.G.rc.get("yaw"),m=this.G.KF.get("enterPointingToHorizon")?0:m.get("pitch");this.Cc.bh(this.G.Dc,k,m);if(k=this.G.Jg.get("hfov"))k=this.Cc.GE(k),this.Cc.op(k)};return a});
2791define("pE",["require","lE","nR","oB","ms"],function(a){var e=a("lE"),l=a("nR"),m=a("oB"),k=a("ms");a=e.extend(k,function(b,h,f,c){k.call(this,b,h,f,c)});a.prototype.uh=function(){if(m.isPresenting){var b=l.c3(m.tg,!0);this.G.rc.get("model").get("camera");var h=b.Ra-this.G.rc.get("yaw");b=b.pitch}else this.G.KF.get("keepInitialPositionOnTranslation")?(h=this.G.Jg.get("yaw"),b=this.G.Jg.get("pitch")):(b=this.G.rc.get("model").get("camera"),h=b.get("yaw")-this.G.rc.get("yaw"),b=b.get("pitch"));this.Cc.bh(this.G.Dc,
2792h,b)};return a});
2793define("li",["require","lE","pg","eU"],function(a){var e=a("lE"),l=a("pg"),m=a("eU");a=e.extend(m,function(k,b,h,f){m.call(this,k,b,h,f);this.ia=null;this.yb=!1});a.prototype.BSa=function(){this.yb=!0};a.prototype.Kg=function(){return this.yb};a.prototype.$g=function(){if(!this.ia&&(this.ia=this.G.oc.get("model"),this.G.ck.get("model")==this.ia)){var k=this.ia.get("camera");k.set("easing",0);k.set("x",this.G.oc.get("x"));k.set("y",this.G.oc.get("y"));k.set("z",this.G.oc.get("z"));k.set("yaw",this.j.Sc()+
2794this.G.oc.get("yaw"));k.set("pitch",this.j.Rc());k.set("fov",this.j.Ya()>this.j.Ab()?this.j.VJ():this.j.WJ());this.ia.bind(l.Km,this.BSa,this,!0)}};return a});
2795define("fu",["require","exports","ms"],function(a,e,l){a=function(m){function k(b,h,f,c,d){b=m.call(this,b,h,f,c)||this;b.value=!1;b.value=d;return b}Z(k,m);k.prototype.uh=function(){(this.G.oc||this.G.rc).get("model").get("camera").set("inTransition",this.value)};return k}(l);e=function(m){function k(b,h,f,c){return m.call(this,b,h,f,c,!0)||this}Z(k,m);return k}(a);a.Yf=e;e=function(m){function k(b,h,f,c){return m.call(this,b,h,f,c,!1)||this}Z(k,m);return k}(a);a.ig=e;return a});
2796define("nE",["require","exports","ms"],function(a,e,l){a=function(m){function k(b,h,f,c,d){b=m.call(this,b,h,f,c)||this;b.enabled=!1;b.enabled=d;return b}Z(k,m);k.prototype.uh=function(){var b;null===(b=this.G.ck)||void 0===b?void 0:b.j.rb(this.enabled)};return k}(l);e=function(m){function k(b,h,f,c){return m.call(this,b,h,f,c,!0)||this}Z(k,m);return k}(a);a.Yf=e;e=function(m){function k(b,h,f,c){return m.call(this,b,h,f,c,!1)||this}Z(k,m);return k}(a);a.ig=e;return a});
2797define("jM",["require","exports","ms"],function(a,e,l){a=function(m){function k(b,h,f,c,d){b=m.call(this,b,h,f,c)||this;b.paused=!1;b.paused=d;return b}Z(k,m);k.prototype.uh=function(){this.G.ck.j.n6a((this.G.rc||this.G.oc).get("model"),!this.paused)};return k}(l);e=function(m){function k(b,h,f,c){return m.call(this,b,h,f,c,!0)||this}Z(k,m);return k}(a);a.Yf=e;e=function(m){function k(b,h,f,c){return m.call(this,b,h,f,c,!1)||this}Z(k,m);return k}(a);a.ig=e;return a});
2798define("ih",["require","lE","ms","pH"],function(a){var e=a("lE"),l=a("ms"),m=a("pH");a=e.extend(l,function(k,b,h,f){l.call(this,k,b,h,f)}
2798);a.prototype.uh=function(){this.G.Dc&&(this.G.mode==m.d5||this.G.mode==m.e5?this.G.Dc.set("minFaceSize",1024):this.G.Dc.set("minFaceSize",void 0))};return a});
2799define("hw",["require","lE","ms"],function(a){var e=a("lE"),l=a("ms");a=e.extend(l,function(m,k,b,h){l.call(this,m,k,b,h)});a.prototype.uh=function(){var m=this.G.Hia?this.G.Gf.get("stereographicFactor",0):0;this.Cc.GF(m);this.Cc.bh(this.G.Dc,this.G.Gf.get("yaw"),this.G.Gf.get("pitch",this.j.Rc()));(m=this.G.Gf.get("hfov"))||this.G.dh||(m=this.Cc.pza());m&&(m=this.Cc.GE(m),this.Cc.op(m),this.Cc.QS(!this.G.Hia))};return a});
2800define("fj",["require","exports","ms"],function(a,e,l){a=function(m){function k(b,h,f,c,d){b=m.call(this,b,h,f,c)||this;b.paused=!1;b.paused=d;return b}Z(k,m);k.prototype.uh=function(){this.j.uFa(this.paused)};return k}(l);e=function(m){function k(b,h,f,c){return m.call(this,b,h,f,c,!0)||this}Z(k,m);return k}(a);a.Yf=e;e=function(m){function k(b,h,f,c){return m.call(this,b,h,f,c,!1)||this}Z(k,m);return k}(a);a.ig=e;return a});
2801define("gy",["require","lE","ms"],function(a){var e=a("lE"),l=a("ms");a=e.extend(l,function(m,k,b,h){l.call(this,m,k,b,h)});a.prototype.uh=function(){var m=this.Cc.u2(this.G.Dc,this.j.Hg());this.Cc.op(m);this.Cc.bh(this.G.Dc,this.j.Sc()+this.G.eL.hAa(),this.j.Rc())};a.prototype.aF=function(){return!0};return a});
2802define("lv",["require","exports","eU","oB"],function(a,e,l,m){a=function(k){function b(h,f,c,d,g){h=k.call(this,h,f,c,d)||this;h.value=!1;h.ended=!1;h.wait=!1;h.Kg=function(){return this.ended};h.value=g;h.value||(h.wait=!0);return h}Z(b,k);b.prototype.$g=function(){m.hg.forEach(function(h){m.kia(h,!this.value)}.bind(this));this.wait?this.wait=!1:this.ended=!0};return b}(l);e=function(k){function b(h,f,c,d){return k.call(this,h,f,c,d,!0)||this}Z(b,k);return b}(a);a.Yf=e;e=function(k){function b(h,
2803f,c,d){return k.call(this,h,f,c,d,!1)||this}Z(b,k);return b}(a);a.ig=e;return a});define("dX",["require","lE","ms"],function(a){var e=a("lE"),l=a("ms");a=e.extend(l,function(m,k,b,h){l.call(this,m,k,b,h)});a.prototype.uh=function(){this.G.oc&&this.G.ck.get("model")==this.G.oc.get("model")&&this.j.Xc.vF([this.G.ck])};return a});
2804define("bw",["require","lE","eU","v"],function(a){var e=a("lE"),l=a("eU"),m=a("v");a=e.extend(l,function(k,b,h,f){l.call(this,k,b,h,f);this.C="not initialized";this.bb=0});a.prototype.Kg=function(){return"ended"==this.C};a.prototype.$g=function(k){this.Kg()||("not initialized"==this.C&&this.I9(),"initialized"==this.C&&(this.Sq.get("ready")||this.Sq.gga())&&this.QP(),"started"==this.C&&this.ha(k),1<=this.bb&&this.IM())};a.prototype.I9=function(){this.Sta=this.G.tGa;this.$L=.25;this.$Ka=.75;this.cUa=
2805.25;this.Hwa=this.fQa();this.x5=.5*this.Sta;this.gYa=this.Sta-2*this.x5;this.lD=1/(this.x5+this.gYa);this.gU=this.lD/this.x5;this.sw=0;this.Sq=this.j.wf(this.G.Dc);this.uca=this.j.wf(this.G.dh);this.jH=this.G.eL.l1a();this.C="initialized"};a.prototype.fQa=function(){var k=this.G.eL.get("distance");return k?Math.min(.99,k/this.G.dh.get("distanceToFloor")):.75};a.prototype.QP=function(){this.j.jFa(!this.G.xb()&&m.browser()!=m.Hm);this.Sq.zh();this.C="started"};a.prototype.ha=function(k){this.Sq.get("ready")||
2806this.bb<this.cUa?this.bb>=1-.5*this.sw*this.sw/this.gU?this.sw=Math.sqrt(2*(1-this.bb)*this.gU):this.sw<this.lD&&(this.sw=Math.min(this.sw+this.gU*k,this.lD)):this.sw=Math.max(this.sw-this.gU*k,0);this.bb=Math.min(Math.max(0,this.bb+this.sw*k),1);this.Sq.get("ready")||(this.$L=Math.max(this.$L,this.bb));this.n_(this.bb,Math.max(0,Math.min(1,(this.bb-this.$L)/(this.$Ka-this.$L))))};a.prototype.IM=function(){this.Sq.set("alpha",1);this.j.jFa(!1);this.C="ended"};a.prototype.n_=function(k,b){var h=(k-
28071)*this.Hwa;this.Sq.set("translationX",h*this.jH.x);this.Sq.set("translationY",h*this.jH.y);this.Sq.set("translationZ",h*this.jH.z);this.Sq.get("ready");k*=this.Hwa;this.uca.set("translationX",k*this.jH.x);this.uca.set("translationY",k*this.jH.y);this.uca.set("translationZ",k*this.jH.z);this.Sq.set("alpha",Math.max(.01,Math.min(.99,b)))};a.prototype.aF=function(){return this.bb<this.$L};return a});
2808define("ft",["require","nV","fs"],function(a){var e=a("nV"),l=a("fs");return e.define("TargetModel3DCameraMovement",l,function(){l.call(this)})});
2809define("gP","require lE pg lg hb ft eU oB".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("lg"),k=a("hb"),b=a("ft"),h=a("eU"),f=a("oB");a=e.extend(h,function(d,g,p,q){h.call(this,d,g,p,q);this.yb=!1});a.prototype.Kg=function(){return this.yb};a.prototype.$g=function(){var d=this.G.oc.get("model");if(this.G.ck.get("model")!=d)this.Os();else if(this.Kb)this.Kb.get("state")==m.W&&setTimeout(function(){this.Os()}.bind(this),10);else{d=d.get("camera");var g=d.PZ;g||(g={x:d.get("initialX",d.get("x")),
2810y: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.G.oc.get("x"));d.set("y",this.G.oc.get("y"));d.set("z",this.G.oc.get("z"));d.set("distance",0);f.isPresenting||d.set("yaw",this.j.Sc()+this.G.oc.get("yaw"));d.set("pitch",this.j.Rc());d.set("fov",this.j.Ya()>this.j.Ab()?this.j.VJ():this.j.WJ());
2811this.Od=new b;this.Od.set("targetX",g.x);this.Od.set("targetY",g.y);this.Od.set("targetZ",g.z);f.isPresenting||this.Od.set("targetYaw",g.yaw);this.Od.set("targetPitch",g.pitch);this.Od.set("targetFov",g.fov);this.Od.set("targetDistance",g.distance);this.Od.set("duration",this.G.f4a);this.Od.set("easing","quad_in_out");this.Od.bind(l.Km,this.maa,this,!0);this.Kb=new k;this.Kb.set("movements",[this.Od]);this.Kb.set("mandatory",!0);this.Kb.set("internal",!0);this.Kb.bind(l.Bb,this.Os,this,!0);d.set("sequences",
2812d.get("sequences").concat([this.Kb]));this.Kb.play();this.FP();this.Lca=(new THREE.Vector3).set(g.x,g.y,g.z);this.KP=(new THREE.Vector3).set(this.G.oc.get("x"),this.G.oc.get("y"),this.G.oc.get("z"))}};var c=new THREE.Vector3;a.prototype.maa=function(){var d=this.G.oc.get("model").get("camera");d=c.set(d.get("x"),d.get("y"),d.get("z")).distanceTo(this.KP)/this.KP.distanceTo(this.Lca);this.G.Xt.set("position",Math.max(.01,Math.min(.99,(d-0)/.33)))};a.prototype.Os=function(){if(!this.yb){var d=this.G.oc.get("model").get("camera");
2813d.set("sequences",d.get("sequences").filter(function(g){return g!=this.Kb}.bind(this)));this.yb=!0;this.lP()}};a.prototype.FP=function(){var d=this.G.oc.get("model");this.bP=d.get("postprocessing");this.cP=d.get("surfaceSelectionEnabled");d.set("postprocessing",!1);d.set("surfaceSelectionEnabled",!1)};a.prototype.lP=function(){var d=this.G.oc.get("model"),g=this.bP,p=this.cP;setTimeout(function(){d.set("postprocessing",g);d.set("surfaceSelectionEnabled",p)},30)};return a});
2814define("iw","require lE pg hb ft eU oB".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("hb"),k=a("ft"),b=a("eU"),h=a("oB");a=e.extend(b,function(g,p,q,n){b.call(this,g,p,q,n);this.yb=!1;this.aLa=0;this.bLa=1;this.Jaa=[];this.QN=[];this.Jaa.push(this.YWa.bind(this))});a.prototype.Kg=function(){return this.yb};a.prototype.$g=function(){if(this.G.ck.get("model")!=this.G.rc.get("model"))this.Asa();else{var g=this.Jaa;for(this.Jaa=[];0<g.length;)g.shift()()}};a.prototype.CSa=function(){var g=this.QN;
2815for(this.QN=[];0<g.length;)g.shift()()};a.prototype.YWa=function(){this.rWa();this.FP();this.QN.push(this.mSa.bind(this));this.QN.push(this.zxa.bind(this))};a.prototype.rWa=function(){var g=this.G.rc.get("model").get("camera");g.set("easing",0);g.set("x",this.G.oc.get("x"));g.set("y",this.G.oc.get("y"));g.set("z",this.G.oc.get("z"));g.set("distance",0);h.isPresenting||g.set("yaw",this.j.Sc()+this.G.oc.get("yaw"));g.set("pitch",this.j.Rc());g.set("fov",this.j.Ya()>this.j.Ab()?this.j.VJ():this.j.WJ());
2816this.Od=new k;this.Od.set("targetX",this.G.rc.get("x"));this.Od.set("targetY",this.G.rc.get("y"));this.Od.set("targetZ",this.G.rc.get("z"));if(this.G.KF.get("keepInitialPositionOnTranslation")){if(!h.isPresenting){var p=this.G.Jg.get("yaw")+this.G.rc.get("yaw");this.Od.set("targetYaw",p)}p=this.G.Jg.get("pitch");void 0!==p&&this.Od.set("targetPitch",p);p=this.G.Jg.get("hfov");void 0!==p&&this.Od.set("targetFov",p)}this.Od.set("duration",1500);this.Od.set("easing","cubic_in_out");this.Od.bind(l.Km,
2817this.CSa,this,!0);this.Kb=new m;this.Kb.set("movements",[this.Od]);this.Kb.set("mandatory",!0);this.Kb.set("internal",!0);this.Kb.bind(l.Bb,this.Asa,this,!0);g.set("sequences",g.get("sequences").concat([this.Kb]));this.Kb.play()};var f=new THREE.Vector3,c=new THREE.Vector3,d=new THREE.Vector3;a.prototype.gQa=function(){var g=this.G.oc;f.set(g.get("x"),g.get("y"),g.get("z"));var p=this.G.rc;c.set(p.get("x"),p.get("y"),p.get("z"));g=g.get("model").get("camera");d.set(g.get("x"),g.get("y"),g.get("z"));
2818return d.distanceTo(f)/c.distanceTo(f)};a.prototype.zxa=function(){var g=this.gQa();g=Math.max(0,Math.min(1,(g-this.aLa)/this.bLa));this.G.Xt.set("position",g);1>g&&this.QN.push(this.zxa.bind(this))};a.prototype.mSa=function(){};a.prototype.Asa=function(){var g=this.G.oc.get("model").get("camera");g.set("sequences",g.get("sequences").filter(function(p){return p!=this.Kb}.bind(this)));this.lP();this.yb=!0};a.prototype.FP=function(){var g=this.G.oc.get("model"),p=this.G.ck;this.bP=g.get("postprocessing");
2819this.cP=g.get("surfaceSelectionEnabled");this.RTa=p.get("spritesEnabled");g.set("postprocessing",!1);g.set("surfaceSelectionEnabled",!1);p.set("spritesEnabled",!1)};a.prototype.lP=function(){var g=this.G.oc.get("model"),p=this.G.ck,q=this.bP,n=this.cP,r=this.RTa;setTimeout(function(){g.set("postprocessing",q);g.set("surfaceSelectionEnabled",n);p.set("spritesEnabled",r)},500)};return a});
2820define("lA","require lE pg lg hb ft eU lh oB".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("lg"),k=a("hb"),b=a("ft"),h=a("eU"),f=a("lh"),c=a("oB");a=e.extend(h,function(g,p,q,n){h.call(this,g,p,q,n);this.yb=!1});a.prototype.Kg=function(){return this.yb};a.prototype.$g=function(){if(this.Kb)this.Kb.get("state")==m.W&&setTimeout(function(){this.Os()}.bind(this),10);else{var g=this.G.rc.get("model").get("camera");g.H7a();var p=Math.abs(g.get("pitch")-this.j.Rc()),q=30<p;this.Od=new b;this.Od.set("targetX",
2821this.G.rc.get("x"));this.Od.set("targetY",this.G.rc.get("y"));this.Od.set("targetZ",this.G.rc.get("z"));this.Od.set("targetDistance",0);this.Od.set("targetFov",this.wQa(this.j.Hg()));c.isPresenting||this.Od.set("targetYaw",this.j.Sc()+this.G.rc.get("yaw"));q?this.Od.set("targetPitch",g.get("pitch")):this.Od.set("targetPitch",this.j.Rc());this.Od.set("duration",this.G.p3a);this.Od.set("easing","cubic_in_out");this.Od.bind(l.Km,this.maa,this,!0);var n=[this.Od];q&&(q=new b,q.set("targetPitch",this.j.Rc()),
2822q.set("duration",p/90*1E3),q.set("easing","quad_in_out"),n.push(q));this.Kb=new k;this.Kb.set("movements",n);this.Kb.set("mandatory",!0);this.Kb.set("internal",!0);this.Kb.bind(l.Bb,this.Os,this,!0);g.set("sequences",g.get("sequences").concat([this.Kb]));this.Kb.play();this.FP();this.KP=(new THREE.Vector3).set(g.get("x"),g.get("y"),g.get("z"));this.Lca=(new THREE.Vector3).set(this.G.rc.get("x"),this.G.rc.get("y"),this.G.rc.get("z"))}};a.prototype.wQa=function(g){return this.j.Ya()<this.j.Ab()?f.rm(g,
2823this.j.Ya(),this.j.Ab()):g};var d=new THREE.Vector3;a.prototype.maa=function(){var g=this.G.rc.get("model").get("camera");g=d.set(g.get("x"),g.get("y"),g.get("z")).distanceTo(this.KP)/this.KP.distanceTo(this.Lca);this.G.Xt.set("position",Math.max(.01,Math.min(.99,(g-.66)/(1-.66))))};a.prototype.Os=function(){if(!this.yb){var g=this.G.rc.get("model").get("camera");g.set("sequences",g.get("sequences").filter(function(p){return p!=this.Kb}.bind(this)));this.yb=!0;this.lP();this.j.wf(this.G.Dc).set("alpha",
28241)}};a.prototype.FP=function(){var g=this.G.rc.get("model");this.bP=g.get("postprocessing");this.cP=g.get("surfaceSelectionEnabled");g.set("postprocessing",!1);g.set("surfaceSelectionEnabled",!1)};a.prototype.lP=function(){var g=this.G.rc.get("model"),p=this.bP,q=this.cP;setTimeout(function(){g.set("postprocessing",p);g.set("surfaceSelectionEnabled",q)},30)};return a});
2825define("jm",["require","lE","ms"],function(a){var e=a("lE"),l=a("ms");a=e.extend(l,function(m,k,b,h,f){l.call(this,m,k,b,h);this.wLa=f});a.prototype.uh=function(){this.wLa.call(this.M)};return a});define("gs",["require","lE","eU"],function(a){var e=a("lE"),l=a("eU");a=e.extend(l,function(m,k,b,h){l.call(this,m,k,b,h)});a.prototype.Kg=function(){var m=this.j.wb(),k=m&&m.mJ;m=m&&m.RH;return!!k&&!k.get("visible")&&!!m&&!m.get("visible")};return a});
2826define("M",["require","lE","eU"],function(a){var e=a("lE"),l=a("eU"),m=e.extend(l,function(k,b,h,f){l.call(this,k,b,h,f);this.jw=null});m.prototype.Kg=function(){this.jw||(this.jw=this.G.Dc&&this.j.wf(this.G.Dc));return this.jw&&this.jw.get("ready")};m.prototype.aF=function(){return!0};m.pIa=e.extend(m,function(k,b,h,f){m.call(this,k,b,h,f)}
2826);m.pIa.prototype.aF=function(){return!1};m.vIa=e.extend(m,function(k,b,h,f){m.call(this,k,b,h,f)});m.vIa.prototype.Kg=function(){this.jw||(this.jw=this.G.Dc&&
2827this.j.wf(this.G.Dc));return this.jw&&(this.jw.get("ready")||this.jw.oha())};return m});
2828define("pr","require cC gv hI pH mi cW lR ov hX bC fp lX bK ob oT cl mQ fT eE jl mx s dw pE li fu nE jM ih hw fj gy lv dX bw gP iw lA jm gs M lE".split(" "),function(a){var e=a("cC"),l=a("gv"),m=a("hI"),k=a("pH"),b=a("mi"),h=a("cW"),f=a("lR"),c=a("ov"),d=a("hX"),g=a("bC"),p=a("fp");a("lX");var q=a("bK");a("ob");var n=a("oT"),r=a("cl"),u=a("mQ"),t=a("fT"),v=a("eE"),w=a("jl"),x=a("mx"),y=a("s"),z=a("dw"),C=a("pE"),A=a("li"),B=a("fu"),E=a("nE"),G=a("jM"),K=a("ih"),I=a("hw"),Q=a("fj"),W=a("gy"),U=a("lv"),
2829T=a("dX"),X=a("bw"),D=a("gP"),M=a("iw"),S=a("lA"),Y=a("jm"),ca=a("gs"),da=a("M"),ea=a("lE").extend(l,function(F,N,R){l.call(this);this.L=F;this.j=N;this.Kc=R;this.Cc=this.qz=null;this.Mna=this.xs=this.QO=this.aw=void 0;this.G=null;this.Tg=[]});ea.prototype.gia=function(F){this.qz=F};ea.prototype.clear=function(){this.Gba(this.xs);this.G&&this.Gba(this.G.Dc);this.QO=this.aw=void 0;this.ka=this.Kc=this.j=this.L=this.G=null};ea.prototype.start=function(F,N){!this.G&&F==this.xs||this.G&&F==this.G.Dc?
2830this.QO=this.aw=void 0:(this.aw=F,this.QO=N,0==this.Tg.length&&this.KZ())};ea.prototype.hide=function(){this.aw=null;!this.G&&this.xs&&this.KZ()};ea.prototype.iga=function(){return null!==this.G};ea.prototype.g1a=function(){return this.G&&this.G.Dc};ea.prototype.KZ=function(){this.G=new k(this.j,this.qz,this.xs,this.aw,this.QO);this.Cc=new m(this.j,this.Kc,this.G);this.QO=this.aw=void 0;this.fa(K);this.fa(f);switch(this.G.mode){case k.Eja:this.dc(this.dA);this.fa(q);this.dc(this.cA);this.fa(v);this.dc(this.mt);
2831this.fa(Q.Yf);this.fa(E.Yf);break;case k.Dja:this.fa(x);this.dc(this.lE);this.fa(da);this.fa(d);this.fa(I);this.dc(this.zw);this.fa(p);this.fa(ca);this.fa(r);this.dc(this.kE);break;case k.KT:this.fa(x);this.dc(this.lE);this.dc(this.dA);this.fa(U.ig);this.fa(q);this.dc(this.cA);this.fa(v);this.dc(this.mt);this.fa(da);this.fa(d);this.fa(I);this.dc(this.zw);this.fa(p);this.fa(U.Yf);this.fa(ca);this.fa(r);this.dc(this.kE);break;case k.Pka:this.fa(x);this.dc(this.lE);this.dc(this.dA);this.dc(this.cA);
2832this.G.xb()?(this.fa(da),this.fa(W),this.dc(this.zw),this.fa(X),this.fa(v),this.dc(this.mt)):(this.fa(t),this.dc(this.zw),this.fa(X),this.fa(v),this.dc(this.mt),this.fa(n),this.fa(d),this.fa(ca));this.dc(this.kE);break;case k.Wn:this.fa(x);this.dc(this.lE);this.fa(da);this.G.xb()?(this.dc(this.dA),this.dc(this.cA),this.fa(y),this.dc(this.zw),this.fa(b),this.fa(v),this.dc(this.mt)):(this.dc(this.dA),this.dc(this.cA),this.fa(u),this.dc(this.zw),this.fa(b),this.fa(v),this.dc(this.mt),this.fa(d),this.fa(ca),
2833this.fa(r));this.dc(this.kE);break;case k.d5:this.fa(Q.Yf);this.fa(x);this.dc(this.lE);this.fa(c);this.fa(da);this.fa(U.ig);this.fa(h.h5);this.fa(z);this.fa(S);this.fa(B.ig);this.fa(B.Yf);this.dc(this.zw);this.fa(Q.ig);this.fa(E.ig);this.fa(w);this.fa(U.Yf);this.fa(d);this.fa(ca);this.dc(this.kE);break;case k.Rka:this.fa(c);this.dc(this.dA);this.dc(this.cA);this.fa(U.ig);this.fa(h.X4);this.fa(E.Yf);this.fa(G.Yf);this.fa(A);this.fa(B.Yf);this.fa(Q.Yf);this.fa(G.ig);this.fa(v);this.dc(this.mt);this.fa(D);
2834this.fa(B.ig);this.fa(w);this.fa(U.Yf);this.fa(T);break;case k.e5:this.dc(this.lE);this.fa(c);this.dc(this.dA);this.dc(this.cA);this.fa(U.ig);this.fa(h.X4);this.fa(da);this.fa(h.h5);this.fa(E.Yf);this.fa(G.Yf);this.fa(A);this.fa(B.Yf);this.fa(Q.Yf);this.fa(G.ig);this.fa(v);this.dc(this.mt);this.fa(M);this.fa(E.ig);this.fa(B.ig);this.fa(w);this.fa(C);this.dc(this.zw);this.fa(g);this.fa(Q.ig);this.fa(U.Yf);this.fa(d);this.fa(ca);this.dc(this.kE);break;case k.Qka:this.dc(this.lE),this.fa(c),this.fa(U.ig),
2835this.fa(h.X4),this.fa(E.Yf),this.fa(G.ig),this.fa(A),this.fa(B.Yf),this.fa(Q.Yf),this.fa(G.ig),this.fa(da),this.dc(this.dA),this.dc(this.cA),this.fa(v),this.dc(this.mt),this.fa(D),this.fa(w),this.fa(h.h5),this.fa(z),this.fa(S),this.fa(B.ig),this.dc(this.zw),this.fa(Q.ig),this.fa(E.ig),this.fa(w),this.fa(U.Yf),this.dc(this.kE)}this.dc(this.ZXa);this.Qa()};ea.prototype.cda=function(){this.xs=this.G.Dc;this.Mna=this.G.KF;this.G=this.Cc=null;void 0===this.aw?this.xs?this.IXa(this.xs,this.Mna):this.JXa():
2836this.KZ()};window.R_a=!0;window.S_a=!0;document.addEventListener("keydown",function(F){67==F.which&&(window.R_a=window.S_a=!0)});ea.prototype.ix=function(F){for(;this.Tg.length;){var N=this.Tg[0];N.XWa||(N.XWa=(new Date).getTime());if(void 0!==this.aw&&this.aw!==this.xs&&N.aF()){this.Gba(this.G.Dc);this.Tg=[];this.KZ();break}else if(N.$g(F),this.Qa(),this.Cc.ix(F),N.Kg())this.Tg.shift(),0==this.Tg.length&&this.cda();else break}};document.addEventListener("keydown",function(){(new Date).getTime()});
2837document.addEventListener("keyup",function(){(new Date).getTime()});ea.prototype.Gd=function(){};ea.prototype.fa=function(F){this.Tg.push(new F(this,this.Cc,this.j,this.G))};ea.prototype.dc=function(F){this.Tg.push(new Y(this,this.Cc,this.j,this.G,F))};ea.prototype.Gba=function(F){F&&(F=this.j.wf(F))&&(this.j.remove(F),this.mt())};ea.prototype.lE=function(){this.trigger(new e(ea.s4,{panorama:this.G.Dc}))};ea.prototype.mt=function(){this.trigger(new e(ea.i4,{panorama:this.G?this.G.dh:this.xs,nextPanorama:this.G?
2838this.G.Dc:null}))};ea.prototype.dA=function(){this.trigger(new e(ea.xB,{panorama:this.G.dh}))};ea.prototype.cA=function(){this.trigger(new e(ea.wB,{panorama:this.G.dh,nextPanorama:this.G.Dc}))};ea.prototype.kE=function(){this.trigger(new e(ea.yB,{panorama:this.G.Dc,camera:this.G.KF}))};ea.prototype.ZXa=function(){this.trigger(new e(ea.Ap))};ea.prototype.zw=function(){this.trigger(new e(ea.zB,{panorama:this.G.Dc,camera:this.G.KF}))};ea.prototype.IXa=function(F,N){this.trigger(new e(ea.O3,{panorama:F,
2839camera:N}))};ea.prototype.JXa=function(){this.trigger(new e(ea.P3))};ea.prototype.Qa=function(){this.trigger(new e(ea.Hb))};ea.Hb="request frame";ea.s4="request load";ea.i4="panorama removed";ea.O3="all pending panoramas displayed";ea.P3="all pending panoramas hidden";ea.wB="panorama end";ea.zB="panorama start";ea.yB="panorama show";ea.xB="panorama hide";ea.Ap="transition end";return ea});
2840define("mB",["require","lE","cC","gv"],function(a){var e=a("lE"),l=a("cC"),m=a("gv"),k=e.extend(m,function(b){m.call(this);this.j=b});k.prototype.clear=function(){this.end();this.j=null};k.prototype.jK=function(b){for(var h=this.QV(b),f=b.uR(),c=0;c<h;c++)this.j.wf(this.E8(b,c)).set("alpha",c==f?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.yK=function(){};k.prototype.JK=
2841function(){};k.prototype.O2=function(){};k.prototype.stop=function(){};k.prototype.EF=function(){};k.prototype.SA=function(){};k.prototype.iL=function(){};k.prototype.Gd=function(){};k.prototype.ak=function(){};k.prototype.QV=function(b){return b.get("frames").length};k.prototype.E8=function(b,h){return b.get("frames")[h]};k.prototype.Qa=function(){this.trigger(new l(k.Hb))};k.prototype.Wq=function(b,h,f,c,d,g){this.trigger(new l(k.vj,{time:b,duration:h,transitionPosition:f,transitionLength:c,steps:d,
2842selectedStep:g}))};k.prototype.Uj=function(){this.trigger(new l(k.Hc,{state:this.ak()}))};k.Hb="request frame";k.DHa="frame display";k.EHa="frame hide";k.vj="time change";k.Hc="playback state change";return k});
2843define("br","require jquery.mod en lE pg ik cC mB fk fv mC oB gY".split(" "),function(a){a("jquery.mod");var e=a("en"),l=a("lE"),m=a("pg"),k=a("ik");a("cC");var b=a("mB"),h=a("fk"),f=a("fv");a("mC");a("oB");var c=a("gY"),d=l.extend(b,function(g){b.call(this,g);this.HV=null;this.n8=this.LC=0;this.ra=this.kD=null;this.QM=void 0;this.cba=!1;this.Pa=360;this.Uxa=180;this.hb=.5;this.wo=.2;this.Jv=.45;this.Fqa=5E3;this.Jqa=1;this.YW=[[.5,.25],[.5,.375],[.25,.5],[.375,.5],[.5,.5],[.625,.5],[.75,.5],[.5,
2844.625],[.5,.75]];this.LRa=[.05,.1,.05,.1,.4,.1,.05,.1,.05]});d.prototype.jK=function(g){b.prototype.jK.call(this,g);this.yP(g)};d.prototype.start=function(g){this.yP(g);this.Qa()};d.prototype.end=function(){this.yP(null)};d.prototype.yP=function(g){this.ra!=g&&(this.ra&&(this.cYa(),this.ra=null,this.iYa()),this.ra=g)&&(this.VKa(),this.Pa=g.get("hfov",360),this.Uxa=g.get("vfov",180),this.hb=g.get("pitch",0),this.iba=this.KD=void 0,this.ERa(g),this.bb=.5)};d.prototype.iL=function(){this.cba=!1};d.prototype.EF=
2845function(g){this.bb=g/d.NL;this.Qa();this.cba=!0}
2845;d.prototype.SA=function(g){this.EF(g)};d.prototype.Wq=function(){var g=this.QV(this.ra),p=this.bb*(g-1),q=Math.max(0,Math.min(g-2,Math.floor(p))),n=void 0;.01>p-q?n=q:.99<p-q&&(n=q+1);b.prototype.Wq.call(this,this.bb*d.NL,d.NL,this.bb*d.NL,d.NL,g,n)};d.prototype.Gd=function(g){if(this.ra){var p=this.j.Sc(),q=this.j.Rc(),n=this.j.Tf(),r=0;if(void 0!==this.KD&&void 0!==this.iba&&void 0!==this.bua){var u=p-this.KD,t=q-this.iba,v=n-this.bua;r=1E3*Math.sqrt(u*
2846u+t*t+v*v)/g}this.KD=p;this.iba=q;this.bua=n;u=this.QV(this.ra);var w=this.bb*(u-1);t=Math.max(0,Math.min(u-2,Math.floor(w)));v=t+1;w=1-(w-t);for(var x=1-w,y=[],z=0;z<u;z++)y.push(0);y[v]=x;y[t]=1>x?1:0;for(z=0;z<u;z++)this.j.wf(this.E8(this.ra,z)).set("alpha",y[z]);this.Wq();if(this.HV&&(r<=this.Jqa||this.j.rr())&&!this.cba){z=Math.PI/180;r=180/Math.PI;y=this.j.Ya();var C=this.j.Ab(),A=new f;A.rotateZ(-n*z);A.rotateX(-q*z);A.rotateY(-p*z);p=[];for(z=0;z<this.YW.length;z++)q=new h(this.YW[z][0]*y,
2847this.YW[z][1]*C,0),n=this.j.unproject(q).OAa(),n.apply(A),q=n.Sc()*r,n=n.Rc()*r,p.push(Math.round((90-n)*this.n8/180)*this.LC+Math.round((q+180)*this.LC/360));q=[];for(z=0;z<u;z++){n=this.HV[z];for(y=r=0;y<this.YW.length;y++)r+=this.LRa[y]*n[p[y]];q.push(r)}z=q[t];p=q[v];t=w*q[t]+x*q[v];g=Math.min(1/u,g/this.Fqa);u=this.bb;v=Math.max.apply(Math,q);w=Math.min.apply(Math,q);t<this.wo&&t<v?u=p>t?u+g:u-g:t>this.Jv&&t>w&&(u=z<t?u-g:u+g);u=Math.min(1,Math.max(0,u));this.bb!=u&&(this.bb=u,this.Qa())}}};
2848d.prototype.ERa=function(g){var p=e(g.get("frames",[])).map(function(q){return q.get("thumbnailUrl")});this.kD=e(p).map(function(q){var n=null;q&&(n=new c(k.ql),n.bind(m.Z,this.qsa,this),n.bind(m.yc,this.rsa,this));return n},this);e(this.kD).each(function(q,n){q&&q.load(p[n])})};d.prototype.iYa=function(){this.Ina();this.HV=null};d.prototype.ySa=function(){this.LC=150;this.kD.map(function(g){g&&(this.LC=Math.min(360*g.je()/this.Pa,this.LC))},this);this.n8=Math.round(this.LC/2);this.HV=this.kD.map(function(g){return this.VMa(g,
2849this.LC,this.n8,this.Pa,this.Uxa,this.hb)},this);this.Ina()};d.prototype.VMa=function(g,p,q,n,r,u){var t=document.createElement("canvas");t.width=p;t.height=q;var v=t.getContext("2d");v.fillStyle="#000000";v.fillRect(0,0,p,q);g&&(g=g.vf(),n=Math.round(p*n/360),v.drawImage(g,.5*(p-n),Math.round(q*(90-(u+.5*r))/180),n,Math.round(q*r/180)));p=[];t=v.getImageData(0,0,t.width,t.height);for(q=v=0;v<t.height;v++)for(r=0;r<t.width;r++,q+=4)p.push((.299*t.data[q]+.587*t.data[q+1]+.114*t.data[q+2])/255);return p};
2850d.prototype.Ina=function(){e(this.kD).each(function(g){g&&(g.unbind(m.Z,this.qsa,this),g.unbind(m.yc,this.rsa,this),g.cancel())},this);this.kD=null};d.prototype.qsa=function(){0==e(this.kD).filter(function(g){return g&&!g.ii()}).length&&this.ySa()};d.prototype.rsa=function(){};d.prototype.VKa=function(){this.ra.bind(m.F("minimumLuminance"),this.Uv,this);this.ra.bind(m.F("maximumLuminance"),this.Uv,this);this.ra.bind(m.F("luminanceChangeTime"),this.Uv,this);this.ra.bind(m.F("maxLuminanceChangeSpeed"),
2851this.Uv,this);this.Uv()};d.prototype.cYa=function(){this.ra.unbind(m.F("minimumLuminance"),this.Uv,this);this.ra.unbind(m.F("maximumLuminance"),this.Uv,this);this.ra.unbind(m.F("luminanceChangeTime"),this.Uv,this);this.ra.unbind(m.F("maxLuminanceChangeSpeed"),this.Uv,this)};d.prototype.Uv=function(){this.wo=this.ra.get("minimumLuminance");this.Jv=this.ra.get("maximumLuminance");void 0==this.wo&&void 0==this.Jv?(this.wo=.2,this.Jv=.45):void 0==this.wo?this.wo=Math.min(.2,this.Jv):void 0==this.wo?this.Jv=
2852Math.max(.45,this.wo):this.wo=Math.min(this.wo,this.Jv);this.Jv=Math.min(1,Math.max(0,this.Jv));this.wo=Math.min(1,Math.max(0,this.wo));this.Fqa=Math.max(100,this.ra.get("luminanceChangeTime",5E3));this.Jqa=this.ra.get("maxLuminanceChangeSpeed",1);this.Qa()};d.NL=1E3;return d});
2853define("ev",["require","lE","y","lg","mB"],function(a){var e=a("lE"),l=a("y"),m=a("lg"),k=a("mB");a=e.extend(k,function(b){k.call(this,b);this.FV=this.GV=null;this.Hj=this.Th=5E3;this.hf=void 0;this.Qb=this.Th;this.bn=1;this.ra=null;this.dD=!1});a.prototype.start=function(b){this.ra=b;this.dD=!1;this.vW=!0;this.GV=l.cu(this.ra,"frameDisplayTime",this.vda,this);this.FV=l.cu(this.ra,"frameTransitionTime",this.vda,this);this.bn=this.QV(this.ra);this.hf=this.ra.uR()*(this.Th+this.Hj);this.vda(!0);this.Wq();
2854this.Qa();this.Uj()};a.prototype.vda=function(b){var h=Math.max(100,this.ra.get("frameDisplayTime",5E3)),f=Math.max(100,this.ra.get("frameTransitionTime",5E3));if(this.Th!=h||this.Hj!=f||b){b=this.tH();var c=this.$Oa();this.Th=h;this.Hj=f;1<this.bn?(this.hf=b*(this.Th+this.Hj)+c*this.Th+c*this.Hj,this.Qb=this.bn*(this.Th+this.Hj)):(this.hf=c*this.Th,this.Qb=this.Th)}};a.prototype.tH=function(){return 1<this.bn?Math.floor(this.hf/(this.Th+this.Hj)):0};a.prototype.aPa=function(){return 1<this.bn?(this.tH()+
28551)%this.bn:0};a.prototype.$Oa=function(){return 1<this.bn?Math.max(0,Math.min(1,this.hf-this.tH()*(this.Th+this.Hj))):this.hf/this.Th};a.prototype.Zoa=function(){return 1<this.bn?Math.max(0,Math.min(1,(this.hf-(this.tH()*(this.Th+this.Hj)+this.Th))/this.Hj)):0};a.prototype.$Wa=function(b){var h=Math.floor(b/this.Hj);return h*(this.Th+this.Hj)+this.Th+(b-h*this.Hj)};a.prototype.ywa=function(b){var h=Math.floor(b/(this.Th+this.Hj));return h*this.Hj+Math.max(0,b-h*(this.Th+this.Hj)-this.Th)};a.prototype.play=
2856function(){this.dD&&(this.dD=!1,this.vW&&this.Qa(),this.Uj())};a.prototype.pause=function(){this.dD=!0;this.Uj()};a.prototype.yK=function(){this.pause()};a.prototype.JK=function(){this.play()};a.prototype.end=function(){this.vW=!1;this.ra=null;this.GV&&(this.GV.dB(),this.GV=null);this.FV&&(this.FV.dB(),this.FV=null);this.Uj()};a.prototype.EF=function(b){this.hf=b;this.Qa()};a.prototype.SA=function(b){this.hf=this.$Wa(b);this.Qa();this.pause()};a.prototype.Gd=function(b){if(this.vW){this.dD||(this.hf+=
2857b);this.hf%=this.Qb;b=this.tH();var h=this.aPa(),f=this.Zoa(),c=h>b?f:1;f=h>b?1:1-f;for(var d=0;d<this.bn;d++){var g=d==b?f:d==h?c:0;var p=this.j.wf(this.E8(this.ra,d));p.get("alpha")!=g&&(0<g&&1>g&&p.zh(),p.set("alpha",g))}this.Wq();this.dD||this.Qa()}};a.prototype.ak=function(){return this.vW?this.dD?m.Ib:m.Y:m.W};a.prototype.Uj=function(){k.prototype.Uj.call(this,this.ak())};a.prototype.Wq=function(){k.prototype.Wq.call(this,this.hf,this.Qb,this.ywa(this.hf),this.ywa(this.Qb),this.bn+1,0===this.Zoa()?
2858this.tH():void 0)};return a});define("bN",["require","lE","mB"],function(a){var e=a("lE"),l=a("mB");return e.extend(l,function(m){l.call(this,m)})});
2859define("mK",["require","lE","pg","lg","mB"],function(a){var e=a("lE"),l=a("pg"),m=a("lg"),k=a("mB");a=e.extend(k,function(b){k.call(this,b);this.pf=!1});a.prototype.jK=function(){};a.prototype.start=function(b){this.end();this.ra=b;this.ra.set("mute",this.pf);this.ra.get("autoplay")&&this.ra.set("state",m.Y);this.Ku()};a.prototype.getTime=function(){return this.ra?this.ra.get("currentTime"):0};a.prototype.ak=function(){return this.ra?this.ra.get("state"):m.W};a.prototype.play=function(){this.ra&&
2860this.ra.set("state",m.Y)};a.prototype.pause=function(){this.ra&&this.ra.set("state",m.Ib)};a.prototype.O2=function(){this.ra&&this.ra.set("state",m.Ib)};a.prototype.stop=function(){this.ra&&this.ra.set("state",m.W)};a.prototype.end=function(){this.ra&&(this.iw(),this.ra=null)};a.prototype.EF=function(b){this.ra&&this.ra.set("state",m.Y);this.ra&&this.ra.set("currentTime",b)};a.prototype.Jf=function(b){this.pf=b;this.ra&&this.ra.set("mute",this.pf)};a.prototype.Ku=function(){this.ra.bind(l.F("currentTime"),
2861this.ff,this,!0);this.ra.bind(l.F("duration"),this.rn,this,!0);this.ra.bind(l.F("state"),this.Di,this,!0);this.ra.get("state")!=m.W&&this.Uj()};a.prototype.iw=function(){this.ra.unbind(l.F("currentTime"),this.ff,this,!0);this.ra.unbind(l.F("duration"),this.rn,this,!0);this.ra.unbind(l.F("state"),this.Di,this,!0)};a.prototype.Di=function(){this.Uj()};a.prototype.ff=function(){this.Wq()};a.prototype.rn=function(){this.Wq()};a.prototype.Wq=function(){this.ra&&k.prototype.Wq.call(this,this.ra.get("currentTime"),
2862this.ra.get("duration"))};return a});
2863define("x","require lE lg cC gv nV mB br ev bN mK".split(" "),function(a){var e=a("lE");a("lg");var l=a("cC"),m=a("gv"),k=a("nV"),b=a("mB"),h=a("br"),f=a("ev"),c=a("bN"),d=a("mK"),g=e.extend(m,function(p){m.call(this);this.j=p;this.u$=this.bV(f);this.h9=this.bV(h);this.z_=this.bV(d);this.yca=this.bV(c);this.Vd=null});g.prototype.clear=function(){this.SU(this.u$);this.u$=null;this.SU(this.h9);this.h9=null;this.SU(this.z_);this.z_=null;this.SU(this.yca);this.j=this.Vd=this.yca=null};g.prototype.bV=
2864function(p){p=new p(this.j);p.bind(b.Hb,this.Ue,this,!0);
2864p.bind(b.vj,this.zq,this,!0);p.bind(b.Hc,this.ef,this,!0);return p};g.prototype.SU=function(p){p.unbind(b.Hb,this.Ue,this);p.unbind(b.vj,this.zq,this);p.unbind(b.Hc,this.ef,this);p.clear()};g.prototype.Y9=function(p,q){return k.Ga(q,p)};g.prototype.Voa=function(p){return this.Y9(p,"HDRPanorama")?this.h9:this.Y9(p,"LivePanorama")?this.u$:this.Y9(p,"VideoPanorama")?this.z_:this.yca};g.prototype.jK=function(p){(this.Vd=this.Voa(p))&&this.Vd.jK(p)};
2865g.prototype.start=function(p){this.Ue();(this.Vd=this.Voa(p))&&this.Vd.start(p)};g.prototype.ak=function(){if(this.Vd)return this.Vd.ak()};g.prototype.getTime=function(){return this.Vd?this.Vd.getTime():0};g.prototype.play=function(){this.Vd&&this.Vd.play()};g.prototype.pause=function(){this.Vd&&this.Vd.pause()};g.prototype.yK=function(){this.Vd&&this.Vd.yK()};g.prototype.JK=function(){this.Vd&&this.Vd.JK()};g.prototype.O2=function(){this.Vd&&this.Vd.O2()};g.prototype.stop=function(){this.Vd&&this.Vd.stop();
2866this.trigger(new l(g.vj,{duration:0,time:0,steps:void 0,selectedStep:void 0}))};g.prototype.end=function(){this.Vd&&(this.Vd.end(),this.Vd=null)};g.prototype.EF=function(p){this.Vd&&this.Vd.EF(p)};g.prototype.SA=function(p){this.Vd&&this.Vd.SA(p)};g.prototype.iL=function(){this.Vd&&this.Vd.iL()};g.prototype.Gd=function(p){this.Vd&&this.Vd.Gd(p)};g.prototype.Jf=function(p){this.z_.Jf(p)};g.prototype.Ue=function(){this.trigger(new l(g.Hb))};g.prototype.zq=function(p){this.trigger(new l(g.vj,p.data))};
2867g.prototype.ef=function(p){this.trigger(new l(g.Hc,p.data))};g.Hb="request frame";g.DHa="frame display";g.EHa="frame hide";g.vj="time change";g.Hc="playback state change";return g});
2868define("mM",["require","lE","pg","gv","lF"],function(a){var e=a("lE"),l=a("pg"),m=a("gv"),k=a("lF");a=e.extend(m,function(b){m.call(this);this.j=b;this.vh=this.ra=null});a.prototype.start=function(b){this.ra=b;this.vh=this.j.wf(this.ra);this.vh.bind(l.Z,this.vd,this,!0);this.vh.bind(l.kc,this.Yv,this,!0);this.vh.get("ready")?this.trigger(l.bd,{panorama:this.ra}):this.vh.bind(l.bd,this.OX,this,!0);this.vh.set("loadingActive",!0)};a.prototype.stop=function(){this.ra=null;this.vh&&(this.vh.unbind(l.bd,
2869this.OX,this),this.vh.unbind(l.Z,this.vd,this),this.vh.unbind(l.kc,this.Yv,this),this.vh.set("loadingActive",!1),this.vh=null,this.trigger(l.Mf))};a.prototype.clear=function(){this.stop()};a.prototype.OX=function(){this.vh.unbind(l.bd,this.OX,this);this.trigger(l.bd,{panorama:this.ra})};a.prototype.vd=function(){this.vh.unbind(l.bd,this.OX,this);this.vh.unbind(l.Z,this.vd,this);this.vh.unbind(l.kc,this.Yv,this);this.vh=null;this.trigger(l.Z,{panorama:this.ra});this.ra=null;this.trigger(l.Mf)};a.prototype.Yv=
2870function(b){this.trigger(new k(l.kc,b.Yg))};return a});
2871define("kk","require lE pg cC gv Q".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("cC"),k=a("gv"),b=a("Q"),h=e.extend(k,function(f){k.call(this);this.j=f;this.oq=this.ra=this.xi=null;this.hb=this.Ea=0;this.Pa=.5*Math.PI});h.prototype.clear=function(){this.stop();this.vua();this.xi=this.j=null};h.prototype.eia=function(f){this.xi!=f&&(this.vua(),this.UU(),this.xi=f,this.Qla(),this.TJa())};h.prototype.TJa=function(){this.xi&&this.xi.bind(l.F("map"),this.ssa,this,!1)};h.prototype.vua=function(){this.xi&&
2872this.xi.unbind(l.F("map"),this.ssa,this,!1)};h.prototype.stop=function(){this.UU();this.ra=null};h.prototype.Gd=function(){this.Ea=this.j.Sc();this.hb=this.j.Rc();this.Pa=this.j.Hg();this.xi&&this.oq&&this.xi.Rn(this.oq,this.Ea,this.hb,this.Pa)};h.prototype.ssa=function(){this.ra&&(this.UU(),(this.oq=this.ava(this.ra,this.xi.get("map",null),!1))&&this.Sva())};h.prototype.display=function(f){this.ra!=f&&(this.UU(),this.ra=f,this.Qla())};h.prototype.hide=function(f){this.ra==f&&this.stop()};h.prototype.UU=
2873function(){this.oq&&(this.xQa(),this.oq=null)};h.prototype.Qla=function(){this.xi&&this.ra&&(this.oq=this.ava(this.ra,this.xi.get("map",null),!0))&&this.Sva()};h.prototype.ava=function(f,c,d){f=f.get("mapLocations",[]);for(var g=0;g<f.length;g++){var p=f[g];if(p.get("map")==c)return p}return d&&0<f.length?f[0]:null};h.prototype.Sva=function(){this.xi.a_a(this.oq);this.xi.bind(b.mk,this.Cua,this,!0);this.xi.Rn(this.oq,this.Ea,this.hb,this.Pa)};h.prototype.xQa=function(){this.xi&&(this.xi.M4a(this.oq),
2874this.xi.unbind(b.mk,this.Cua,this))};h.prototype.Cua=function(f){this.trigger(new m(h.mk,{yawDelta:f.data.yawDelta}))};h.mk="request yaw change";return h});
2875define("hu","require pg lH gv bi mC oB".split(" "),function(a){function e(w){this.WU=w;this.uk=null;this.n6={};for(w=0;w<this.WU.buttons.length;w++)this.n6[this.WU.buttons[w]]=!1;this.l6=0;this.Kz=null;this.ND=[new THREE.Quaternion,new THREE.Quaternion];this.Nk=this.ND[0];
2875this.$h=[new THREE.Vector3,new THREE.Vector3];this.bb=this.$h[0];this.AI=new THREE.Vector3;this.JD=new THREE.Quaternion;this.Pma=0}function l(w,x,y){this.z2a=w;this.buttons=x;this.u4a=y}function m(){if(!v&&t!=c.Ie){t=c.Ie;var w=
2876navigator.getGamepads&&navigator.getGamepads();if(w){for(var x=0;x<n.length;x++)n[x].$Ea(null);for(x=0;x<w.length;x++){var y=w[x];if(y&&(y.pose||y.tBa)){var z=y.id||y.a$a,C=z+(y.hand?"-"+y.hand:""),A=u[C];if(!A){a:{for(var B=0;B<g.length;B++){var E=g[B];if(0==z.indexOf(p[E].z2a)){z=E;break a}}z=void 0}z&&n.push(A=u[C]=new e(p[z]))}A&&u[C].$Ea(y)}}(w=r)&&!r.uga()&&(r=null);for(x=0;x<n.length;x++)if(A=n[x],A.uga()&&A.pressed()){r=A;break}if(!r)for(x=0;x<n.length;x++)if(A=n[x],A.uga()){if("right"==A.hand()){r=
2877A;break}r||(r=A)}w!=r&&h.RA(k)}}}function k(){q.trigger(b.ca)}var b=a("pg"),h=a("lH"),f=a("gv"),c=a("bi"),d=a("mC");a("oB");var g="oculus go;oculus touch;xr-standard;gear vr;daydream;vive;vive focus;microsoft;unknown".split(";"),p={};p["oculus go"]=new l("Oculus Go",["trackpad","trigger"],"trigger");p["oculus touch"]=new l("Oculus Touch","thumbstick trigger grip abutton bbutton surface".split(" "),"trigger");p["xr-standard"]=new l("xr-standard","trigger grip unknow_button_0 thumbstick abutton bbutton unknow_button".split(" "),
2878"trigger");p["gear vr"]=new l("Gear VR",["trackpad","trigger"],"trigger");p.daydream=new l("Daydream Controller",["trackpad","menu","system"],"trackpad");p.vive=new l("OpenVR",["trackpad","trigger","grip","menu","system"],"trigger");p["vive focus"]=new l("HTC Vive Focus",["trackpad","trigger","grip"],"trigger");p.microsoft=new l("Spatial Controller (Spatial Interaction Source)",["thumbstick","trigger","grip","menu","thumbpad"],"trigger");p.unknown=new l("",[],void 0);e.prototype.$Ea=function(w){if(this.uk=
2879w){this.qQa=this.uk.hand||this.uk.$9a;this.uk.pose&&this.uk.pose.orientation?(this.Kz=this.uk.pose,this.Kz.orientation&&(this.Nk=this.ND[0]==this.Nk?this.ND[1]:this.ND[0],this.Nk.fromArray(this.Kz.orientation)),this.Kz.position?(this.bb=this.$h[0]==this.bb?this.$h[1]:this.$h[0],this.bb.fromArray(this.Kz.position)):this.bb=null):this.uk.tBa&&(this.Kz=this.uk.tBa.transform,this.Nk=this.ND[0]==this.Nk?this.ND[1]:this.ND[0],this.Nk.copy(this.Kz.orientation),this.bb=this.$h[0]==this.bb?this.$h[1]:this.$h[0],
2880this.bb.copy(this.Kz.position));w=0;for(var x=Math.min(this.uk.buttons.length,this.uk.buttons.length);w<x;w++)this.n6[this.WU.buttons[w]]=this.uk.buttons[w].pressed;for(w=this.l6=0;w<this.uk.buttons.length;w++)this.uk.buttons[w].pressed&&this.l6++;(w=!!this.AI!=!!this.bb||this.bb&&this.AI.x!=this.bb.x&&this.AI.y!=this.bb.y&&this.AI.z!=this.bb.z)&&(this.bb?this.AI.copy(this.bb):this.AI.set(0,0,0,0));(x=!!this.JD!=!!this.Nk||this.Nk&&(this.JD.x!=this.Nk.x||this.JD.y!=this.Nk.y||this.JD.z!=this.Nk.z||
2881this.JD.w!=this.Nk.w))&&(this.Nk?this.JD.copy(this.Nk):this.JD.set(0,0,0));if(w||x)this.Pma=c.Ie}};e.prototype.uga=function(){return!!this.uk};e.prototype.S2a=function(){return 500<c.Ie-this.Pma};e.prototype.hand=function(){return this.qQa};e.prototype.quaternion=function(){return this.Nk};e.prototype.position=function(){return this.bb};e.prototype.pressed=function(w){w||(w=this.WU.u4a);return w?this.n6[w]:0<this.l6};var q=new f;q.all=function(){m();return n};q.bk=function(){m();return r};q.Wa="left";
2882q.ob="right";var n=[],r=null,u={},t=void 0,v=d.eg("disable-controller",!1);return q});define("do",["require","fk","a"],function(a){function e(k,b){this.Uf=k||new l(0,0,0);this.rj=b||new l(1,0,0)}var l=a("fk"),m=a("a");e.prototype.clone=function(){return new e(this.Uf.clone(),this.rj.clone())};e.prototype.apply=function(k){k.AJ(this.Uf);k.AJ(this.rj)};e.prototype.OAa=function(){return m.sA(this.Uf,this.rj)};return e});
2883define("is",["require","do","fk"],function(a){function e(k,b,h){this.oa=k||100;this.wa=b||100;this.Pa=h||Math.PI;this.mba=void 0;this.us=!0}var l=a("do"),m=a("fk");e.prototype.BF=function(k){this.Pa!=k&&(this.Pa=k,this.us=!0)};e.prototype.Tw=function(){return this.Pa};e.prototype.ZS=function(k){this.oa!=k&&(this.oa=k,this.us=!0)};e.prototype.je=function(){return this.oa};e.prototype.bFa=function(k){this.wa!=k&&(this.wa=k,this.us=!0)};e.prototype.Ye=function(){return this.wa};e.prototype.project=function(k){if(0!=
2884k.z){this.Axa();var b=1/k.z,h=this.mba*b;k.x=.5*this.oa-k.x*h;k.y=.5*this.wa-k.y*h;k.z=b}};e.prototype.unproject=function(k){this.Axa();return new l(new m(0,0,0),new m(.5*this.oa-k.x,.5*this.wa-k.y,this.mba))};e.prototype.Axa=function(){this.us&&(this.mba=.5*this.oa/Math.tan(.5*this.Pa),this.us=!1)};return e});
2885define("pn",["require"],function(){function a(){this.wg=this.pitch=this.Ra=0;this.gi=this.Je=90;this.WQ=this.Z_=this.height=this.width=100;this.dk=1;this.$E=this.xb=!1;this.Dm=0;this.Afa=this.zea=this.Lga=!1;this.YE=this.vS=!0;this.camera=this.eR=this.dR=this.xg=null;this.enabled=!1;this.Ie=0;this.fT=void 0}a.prototype.clone=function(){var e=new a;e.Ra=this.Ra;e.pitch=this.pitch;e.wg=this.wg;e.Je=this.Je;e.gi=this.gi;e.width=this.width;e.height=this.height;e.Z_=this.Z_;e.WQ=this.WQ;e.dk=this.dk;e.xb=
2886this.xb;e.$E=this.$E;e.Dm=this.Dm;e.Lga=this.Lga;e.Afa=this.Afa;e.zea=this.zea;e.vS=this.vS;e.YE=this.YE;e.xg=this.xg;e.dR=this.dR;e.eR=this.eR;e.camera=this.camera;e.enabled=this.enabled;e.Ie=this.Ie;e.fT=this.fT;return e};return a});
2887define("oW",["require","dK","hJ"],function(a){var e=a("dK"),l=a("hJ");
2887return function(m){var k=1,b=new THREE.WebGLCubeRenderTarget(1024),h=new THREE.CubeCamera(.1,1E4,b);h.layers.enable(e.eu);h.layers.enable(e.Wa);b=new THREE.ShaderMaterial;b.uniforms={tCube:{value:h.renderTarget.texture},tFlip:{value:1},opacity:{value:1}};b.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 <tonemapping_fragment>\n#include <encodings_fragment>\n}";
2888b.vertexShader="varying vec3 vWorldPosition;\n#include <common>\nvoid main() {\n\tvWorldPosition = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n\tgl_Position.z = gl_Position.w;\n}\n";b.side=THREE.BackSide;b.depthWrite=!1;b.transparent=!0;b.depthTest=!1;b.needsUpdate=!0;var f=new THREE.Mesh(new THREE.SphereGeometry(5,64,64),b);f.overdraw=!1;f.matrixAutoUpdate=!1;f.renderOrder=1E3;var c=new THREE.Matrix4;this.GF=function(g){k=g};this.start=function(g){g.add(f);
2889g.add(h);g.traverse(function(p){p.layers.test(h.layers)&&(p.userData.xga=p.layers.mask,p.layers.mask=h.layers.mask)});h.visible=!0;f.visible=!0;m.setClearColor(16777215,1)};this.stop=function(g){m.setClearColor(0,0);g.traverse(function(p){void 0!==p.userData.xga&&(p.layers.mask=p.userData.xga,delete p.userData.xga)});h.visible=!1;f.visible=!1;g.remove(f);g.remove(h)};var d=0;this.render=function(g,p){0<k&&(f.matrix.copy(p.matrixWorld),f.matrix.multiply(c.makeTranslation(0,0,5*-k)),f.matrixWorldNeedsUpdate=
2890!0,d++,l.K2a()&&0!=d%10||(l.s5a(),f.visible=!1,h.update(m,g),f.visible=!0))}}});
2891define("eL","require lh nR dK oW jv U hJ oB".split(" "),function(a){function e(p){this.L=p;this.Fb=new THREE.PerspectiveCamera(90,16/9,.1,2*h.yg);this.Fb.layers.enable(k.Wa);this.ws=new THREE.PerspectiveCamera;this.Ta=new THREE.Scene;this.Bna=new THREE.Scene;this.Cna=new THREE.Scene;this.Ta.add(this.Fb);this.jo=this.Eca=this.gV=this.fV=this.j=null;this.hra=this.b7=!1}var l=a("lh"),m=a("nR"),k=a("dK"),b=a("oW"),h=a("jv"),f=a("U"),c=a("hJ"),d=a("oB");e.prototype.Q0a=function(){this.NLa()};e.prototype.xA=
2892function(){return this.j};e.prototype.hi=function(){return this.Ta};e.prototype.getCamera=function(){return this.ws};e.prototype.rr=function(){return d.isPresenting&&d.Zg==this.j};e.prototype.Z0a=function(){return this.ws.isArrayCamera&&0<this.ws.cameras.length?2*Math.atan2(1,this.ws.cameras[0].projectionMatrix.elements[5])*g:this.ws.fov};e.prototype.getPixelRatio=function(){return this.j?this.j.getPixelRatio():c.getPixelRatio()};e.prototype.b1a=function(){return d.isPresenting&&d.framebufferWidth?
2893.5*d.framebufferWidth:this.j?this.j.domElement.width:1024};e.prototype.a1a=function(){return d.isPresenting&&d.framebufferHeight?d.framebufferHeight:this.j?this.j.domElement.height:1024};e.prototype.fg=function(){return this.j.domElement};e.prototype.update=function(p){this.aZa(p);this.BYa(p);this.Xq(p)};e.prototype.Tea=function(p){this.j.xt=!0;p=c.k0a(p);var q=new THREE.CubeCamera(this.ws.near,this.ws.far,p);this.Ta.add(q);q.position.setFromMatrixPosition(this.ws.matrixWorld);q.update(this.j,this.Ta);
2894this.Ta.remove(q);this.j.xt=!1;return p.texture};e.prototype.render=function(){this.MY()};e.prototype.aZa=function(p){p.enabled&&(this.j||this.wWa(p),p.xb&&d.getType()==d.Eu.pl&&(this.hra=!0));this.qwa==p.width&&this.pwa==p.height||this.j.setSize(this.qwa=p.width,this.pwa=p.height);if(this.b7=p.enabled&&!p.xb)this.fV.setSize(p.width,p.height),this.gV.setSize(p.width,p.height)};e.prototype.wWa=function(p){!this.j&&p.enabled&&(this.L.ic.M_(),this.fV=this.L.ic.X0a(),this.j=this.L.ic.xA(),p=this.j.getSize(new THREE.Vector2),
2895this.qwa=p.width,this.pwa=p.height,this.gV=this.L.ic.Y0a(),this.Eca=new b(this.j,this.Fb))};e.prototype.NLa=function(){this.j&&(this.fV=this.j=this.gV=this.jo=null,this.L.ic.p2())};e.prototype.Xq=function(p){p.xb?this.ws=this.j.xr.getCamera():(this.Fb.quaternion.copy(m.$za(p.Ra,p.pitch,p.wg)),this.Fb.fov=l.rm(p.Je,p.width,p.height),this.Fb.aspect=p.width/p.height,this.Fb.updateProjectionMatrix(),this.Fb.updateMatrixWorld(),this.ws=this.Fb);f.r5a(this.Ta,this.rr()?this.j.xr.getCamera().cameras:[this.Fb]);
2896!0===this.Ta.q$a&&this.Ta.updateMatrixWorld()};e.prototype.BYa=function(p){var q=!p.xb&&0<p.Dm?this.Eca:null;this.jo!=q&&(this.jo&&this.jo.stop(this.Ta),(this.jo=q)&&this.jo.start(this.Ta));this.jo&&this.jo==this.Eca&&this.jo.GF(p.Dm)};e.prototype.MY=function(){this.hra&&this.j.resetState();this.jo&&this.jo.render(this.Ta,this.Fb);this.j.render(this.Ta,this.Fb);this.b7&&(this.fV.render(this.Bna,this.Fb),this.gV.render(this.Cna,this.Fb))};var g=180/Math.PI;return e});
2897define("c","require lE jq fl cx ew U kJ po".split(" "),function(a){var e=a("lE"),l=a("jq"),m=a("fl"),k=a("cx"),b=a("ew"),h=a("U"),f=a("kJ"),c=a("po");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.$b=new k.Im);this.cv&&this.cv();this.wC&&this.wC();this.Gy&&this.Gy();this.io&&this.io()});a.prototype.Pb=function(){l.prototype.Pb.call(this);
2898this.Do&&this.Do();this.JN&&this.JN();this.tI&&this.tI()};a.prototype.Tb=function(){this.QH&&this.QH();this.vI&&this.vI();this.Fo&&this.Fo();b.dispose(this.get("meshGroup"));b.bu(this.get("meshGroup"),null);this.set("meshGroup",null);l.prototype.Tb.call(this)};a.prototype.ha=function(d){this.sf&&this.sf(d);l.prototype.ha.call(this,d);this.set("camera",h.getCamera(d.xg));this.set("webglScene",d.xg);this.get("meshGroup")||(this.set("meshGroup",b.kza(this.ho())),this.get("meshGroup").userData.e4a=this);
2899this.O("webglScene","meshGroup")&&b.bu(this.get("meshGroup"),this.get("webglScene"));this.km();this.Vj&&this.Vj(d);this.nZa();this.Cw&&this.Cw(d);this.Wo&&this.Wo(d);this.sE();this.O("loadingActive","meshGroup")&&f.rb(this.get("meshGroup"),this.get("loadingActive"));this.O("blendingActive","meshGroup")&&c.MEa(this.get("meshGroup"),this.get("blendingActive"))};a.prototype.km=function(){this.O("composedAlpha","meshGroup")&&this.ny()};a.prototype.ny=function(){b.$e(this.get("meshGroup"),this.get("composedAlpha"))};
2900a.prototype.nZa=function(){if(this.O("textureSource")||this.O("materialConfig")&&!this.$b.isEqual(this.get("materialConfig"))){var d=this.sH();d&&(b.k6a(d,this.rM()),this.ny())}};a.prototype.sE=function(){if(this.O("index","meshGroup")){var d=this.get("meshGroup");
2900d&&d.children.forEach(function(g,p,q){b.K2(g,this.get("index")+p/q.length)}.bind(this))}};a.prototype.rM=function(){var d=this.get("textureSource")||new m;this.$b=this.get("materialConfig");var g=k.pA(d.texture(),this.$b);f.UK(g,d);return[g]};
2901a.prototype.sna=function(){var d=new m,g=k.pA(d.texture());f.UK(g,d);return[g]};a.prototype.sv=function(d){return b.w1a(this.get("meshGroup"),d)};return a});
2902define("ot","require ik jv ew kF kJ lh nR nl".split(" "),function(a){var e=a("ik"),l=a("jv"),m=a("ew"),k=a("kF"),b=a("kJ"),h=a("lh"),f=a("nR"),c=a("nl"),d=new THREE.Matrix4,g=Math.PI/180;return{cv: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",
2903null);this.set("horizontalAlign",null);this.set("verticalAlign",null);this.set("attachToCamera",!1);this.Og=this.Fy();this.xh=new THREE.Matrix4;this.Md=new THREE.Matrix4;this.Eo=new THREE.Matrix4;this.Xm=new THREE.Matrix4;this.ij=new THREE.Matrix4;this.a6=new THREE.Matrix4;this.kma=new THREE.Quaternion;this.mna=new THREE.Matrix4;this.bM=new THREE.Matrix4;this.nM=new THREE.Matrix4;this.uy=new THREE.Matrix4;this.Oh=new THREE.Matrix4},Cw:function(p){this.Zq(p);this.Sda()},Sda:function(){if(this.O("hfov",
2904"vfov","contentWidth","contentHeight","panoramaPixelsPerDegree","scaleMode","horizontalAlign","verticalAlign")){var p=k.Qfa(this.get("hfov"),this.get("vfov"),this.get("contentWidth"),this.get("contentHeight"),this.get("scaleMode"),this.get("panoramaPixelsPerDegree"),this.get("horizontalAlign"),this.get("verticalAlign"));p=l.pFa(this.Og[1],p.jT,p.pT,p.Bx,p.Dx);this.Og[1]!=p&&(this.Og[1]=p,(p=this.sH())&&m.$ha(p,this.Og[1]))}},sH:function(){var p=this.get("meshGroup");return p?m.$k(p)[1]:null},ho:function(){return[0,
29051].map(function(p){var q=0==p?this.sna():this.rM();p=m.create(this.Og[p],q);b.qx(p,b.Dp);b.sx(p,b.Xr);b.CF(p,e.AL);b.XS(p,1);return p}.bind(this))},Fy:function(){return[l.HJ(),l.HJ()]},Zq:function(p){var q=!1;this.O("composedTranslationX","composedTranslationY","composedTranslationZ")&&(this.xh.makeTranslation(.5*-this.get("composedTranslationX")*l.yg,.5*this.get("composedTranslationY")*l.yg,.5*this.get("composedTranslationZ")*l.yg),q=!0);this.O("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&&
2906(this.Md.makeRotationY(-p.Ra*g),this.Md.multiply(d.makeRotationX(-this.get("composedDeltaPitch")*g)),this.Md.multiply(d.makeRotationY(this.get("composedDeltaYaw")*g)),this.Md.multiply(d.makeRotationY(p.Ra*g)),q=!0);this.O("yaw","pitch")&&(this.Eo.makeRotationY(-this.get("yaw")*g),this.Eo.multiply(d.makeRotationX(this.get("pitch")*g)),q=!0);if(this.O("distance","flipHorizontally","scale","hfov","vfov","contentWidth","contentHeight","scaleMode","horizontalAlign","verticalAlign","composedTranslationX",
2907"composedTranslationY","composedTranslationZ")){var n=0==this.pa.get("composedTranslationX")&&0==this.pa.get("composedTranslationY")&&0==this.pa.get("composedTranslationZ")&&void 0!==this.get("distance")?l.Lt(this.get("distance")):l.mr();this.Xm.makeTranslation(0,0,-n);var r=this.get("contentWidth"),u=this.get("contentHeight"),t=this.get("hfov"),v=this.get("vfov")||h.rm(t,r,u),w=(this.get("flipHorizontally")?-1:1)*this.get("scale"),x=this.get("scale"),y=this.get("scaleMode"),z=this.get("panoramaPixelsPerDegree");
2908q=this.get("horizontalAlign")||c.Qe;var C=this.get("verticalAlign")||c.le;r=k.Qfa(t,v,r,u,y,z,q,C);t=w*l.Rfa(n,t);v=x*l.Sfa(n,v);this.bM.makeScale(t,v,1);w*=l.Rfa(n,r.Je);n=x*l.Sfa(n,r.Nr);this.nM.makeScale(w,n,1);this.mna.makeTranslation(q==c.Wa?.5*-(t-w):q==c.ob?.5*(t-w):0,C==c.zc?.5*(v-n):C==c.sc?.5*-(v-n):0,0);q=!0}this.O("rotationX","rotationY","rotationZ","roll")&&(this.ij.makeRotationZ(this.get("roll")*g),this.ij.multiply(d.makeRotationY(this.get("rotationY")*g)),this.ij.multiply(d.makeRotationX(this.get("rotationX")*
2909g)),this.ij.multiply(d.makeRotationZ(this.get("rotationZ")*g)),q=!0);this.set("cameraYaw",p.Ra);this.set("cameraPitch",p.pitch);this.set("cameraRoll",p.wg);this.get("attachToCamera")&&this.O("cameraYaw","cameraPitch","cameraRoll")?(this.kma.copy(f.$za(p.Ra,p.pitch,p.wg)),this.a6.makeRotationFromQuaternion(this.kma),q=!0):this.O("attachToCamera")&&(this.a6.identity(),q=!0);if(q||this.O("meshGroup"))this.Oh.copy(this.xh),this.Oh.multiply(this.Md),this.Oh.multiply(this.a6),this.Oh.multiply(this.Eo),
2910this.Oh.multiply(this.Xm),this.Oh.multiply(this.ij),this.uy.copy(this.Oh),this.uy.multiply(this.bM),this.Oh.multiply(this.mna),this.Oh.multiply(this.nM),p=m.$k(this.get("meshGroup")),m.hr(p[0],this.uy),m.hr(p[1],this.Oh)}}});define("jN",["require","lE","c","ot"],function(a){var e=a("lE"),l=a("c");a=a("ot");return e.extend(l,a,function(){l.call(this);this.set("tag","Plane")})});
2911define("hU","require lE kS pg nV jN nf oz nF eH lF".split(" "),function(a){function e(n,r,u,t,v,w){for(n=(n-r)/w;u+180<t;)t-=360;for(;u-180>t;)t+=360;u=(u-t)/w;return u=-.1>n||.1<n?l(v,u,Math.abs(1/(1500*n))):l(v,u,.08)}function l(n,r,u){n=(r-n)*(1-u);1E-5>Math.abs(n)&&(n=0);return r-n}var m=a("lE"),k=a("kS"),b=a("pg"),h=a("nV"),f=a("jN"),c=a("nf"),d=a("oz"),g=a("nF"),p=a("eH"),q=a("lF");a=m.extend(f,function(n){f.call(this);this.u=n;this.zk.push(this.u);this.ag=this.ag.bind(this);this.jf=h.Ga("CeilingCapPanoramaOverlay",
2912this.u)?"ceiling":"tripod";this.set("tag","Cap");this.set("pitch","tripod"==this.jf?-90:90);this.hd=!1;this.KD=this.kba=this.Ts=void 0;this.NTa="tripod"==this.jf?1:-1;this.Bj=this.Mk=this.Qg=null});a.prototype.Pb=function(){f.prototype.Pb.call(this);this.Qg=(new d(b.Z)).Em(this.tq.bind(this));this.Mk=(new d(b.kc)).kp(this.sD.bind(this));k.da(this.u,"angle distance hfov image.levels.url inertia rotate".split(" "),this.ag,!0)};a.prototype.Tb=function(){this.Bj&&this.Bj.dispose();this.Bj=null;this.Qg.dispose();
2913this.Mk.dispose();k.ba(this.u,"angle distance hfov image.levels.url inertia rotate".split(" "),this.ag);f.prototype.Tb.call(this)};a.prototype.ag=function(){this.set("angle",this.u.get("angle"));this.set("distance",this.u.get("distance"));this.set("hfov",this.u.get("hfov"));var n=g.c1a(this.u,this.get("panoramaPixelsPerDegree"));this.set("imageURL",n&&n.get("url"));this.set("imageWidth",n&&n.get("width"));this.set("imageHeight",n&&n.get("height"));this.set("inertia",this.u.get("inertia"));this.set("rotate",
2914this.u.get("rotate"))};a.prototype.ho=function(){var n=f.prototype.ho.call(this);this.Qg.xf(n);this.Mk.xf(n);return n};a.prototype.ha=function(n){this.yda();this.jJ(n);f.prototype.ha.call(this,n)};a.prototype.yda=function(){this.O("imageURL")&&this.get("imageURL")&&(this.set("textureSource",new c(this.get("imageURL"))),this.set("contentWidth",this.get("imageWidth")),this.set("contentHeight",this.get("imageHeight")))};a.prototype.tq=function(){this.Bj&&this.Bj.dispose();this.Bj=new p(this.get("textureSource").vf());
2915this.trigger(b.bd);this.trigger(b.Z)};a.prototype.sD=function(n,r){var u=0;r.Et(function(t){(t=r.um(t))&&(u+=t.Yg)});this.trigger(new q(b.kc,u/r.ed.length))};a.prototype.jJ=function(n){this.set("rendererYaw",n.Ra);if(this.O("angle","inertia","rotate")||(this.get("rotate")||this.get("inertia"))&&this.O("rendererYaw")){var r=this.get("angle"),u=this.get("rotate"),t=this.get("inertia"),v=this.NTa*n.Ra;u&&(r+=v);var w=0,x=r-v;void 0!==this.Ts&&(t&&(u?(w=e(v,this.KD,r,this.Ts,this.kba,n.Ie),r=this.Ts+
2916w*n.Ie):(w=e(v,this.KD,x,this.Zta,this.kba,n.Ie),x=this.Zta+w*n.Ie,r=x+v)),this.Ts!=r&&this.Da());this.Zta=x;this.Ts=r;this.kba=w;this.KD=v;this.set("rotationZ",-r)}};a.prototype.Bm=function(n){if(n.mf==b.tl){var r=!n.Yk()&&this.Tq(n);r&&(n.jA(this.u),this.u.get("useHandCursor")&&n.yE(this.u),n.Xk(this.get("distance")));this.hd!=r&&(this.hd=r,this.u.trigger(this.hd?b.cd:b.Vb),n.Tt()&&this.u.trigger(this.hd?b.IB:b.Fp))}else n.mf==b.Lf&&!n.Yk()&&this.Tq(n)&&(1<this.u.YJ(b.qa,!0).length&&n.Hr(this.u),
2917n.Xk(this.get("distance")),this.u.trigger(b.qa))};a.prototype.Tq=function(n){return this.sv(n.Lq).some(function(r){return this.Bj&&this.Bj.wx(r.x,r.y)}.bind(this))};return a});
2918define("kr","require lE pg lg jq oB".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("lg"),k=a("jq"),b=a("oB");a=e.extend(k,function(){k.call(this);this.xh=new THREE.Matrix4;this.Pxa=!1;this.yi=new THREE.Matrix4;this.ng=null;this.cm=new THREE.Matrix4;this.hP=this.UO=0;this.SL=.75;this.BM=.5;this.Gs=4;this.E$=0;this.Hs=-2;this.pq=3;this.WW=0;this.HC=7;this.OO=this.Gz=1;this.PN=.15;this.IC=this.CD=0;this.nW=this.yY=m.W;this.LZ=this.FZ=1E3});var h=Math.PI/180,f=new THREE.Matrix4;a.prototype.Rm=function(){};
2919a.prototype.Pb=function(){k.prototype.Pb.call(this);this.trigger(l.bd);this.trigger(l.Z)};a.prototype.Tb=function(){this.y6()};a.prototype.Dk=function(){this.Rm();this.jP()};a.prototype.Ek=function(){this.Da()};a.prototype.jP=function(){this.ng&&(this.y6(),this.vna())};a.prototype.dV=function(){};a.prototype.vna=function(){this.EUa();this.ng=new THREE.Group;for(var c=this.nW==m.Y,d=this.CD,g=this.IC;0<g+d;){var p=Math.random()*(g+d)<=g;p?g--:d--;var q=this.dV();q.matrixAutoUpdate=!1;q.overdraw=!1;
2920q.material.opacity=0;q.userData={G0a:p,FK:new THREE.Matrix4,vya:new THREE.Matrix4,Gha:new THREE.Matrix4,y:void 0,iHa:void 0,PA:c};this.ng.add(q);c&&this.Oba(q,this.Hs,this.pq);this.CUa(q)}this.UO=c?this.ng.children.length:0;this.qea.add(this.ng);this.jma()};a.prototype.y6=function(){if(this.ng){this.ng.parent&&this.ng.parent.remove(this.ng);for(var c=0,d=this.ng&&this.ng.children.length;c<d;c++)this.ng.children[c].material.dispose();this.ng=null;this.hP=0}};a.prototype.EUa=function(){this.cm=(new THREE.Matrix4).makeScale(this.Gz,
2921this.Gz,this.Gz)};a.prototype.Oba=function(c,d,g){d+=Math.random()*(g-d);if(c.userData.G0a){g=this.HC;var p=360*Math.random()*h;c.userData.FK.makeTranslation(g*Math.cos(p),d,g*Math.sin(p))}else g=2*Math.random()*Math.PI,p=this.E$+(this.Gs-this.E$)*Math.sqrt(Math.random()),c.userData.FK.makeTranslation(p*Math.cos(g),d,p*Math.sin(g));c.userData.FK.multiply(this.cm);c.userData.y=d};a.prototype.CUa=function(c){var d=this.PN+Math.random()*(this.lD-this.PN);do var g=Math.random()*this.WW;while(80<g&&100>
2922g);var p=360*Math.random(),q=Math.sin(p*h)*Math.sin(g*h)*d,n=-Math.cos(g*h)*d;d*=Math.cos(p*h)*Math.sin(g*h);c.userData.iHa=n*this.Gz;c.userData.vya.makeTranslation(q,n,d);c.userData.Gha.makeRotationY(p*h);c.userData.Gha.multiply(f.makeRotationX(-g*h))};a.prototype.ha=function(c){k.prototype.ha.call(this,c);this.rYa(c);this.qea=c.xg;this.qea!=(this.ng&&this.ng.parent)?(this.y6(),this.qea&&this.vna()):this.O("index")&&this.jma();this.UYa(c)};a.prototype.rYa=function(c){c=c.xb&&b.getType()==b.Eu.pl;
2923c!=this.Vpa&&(this.Vpa=c)&&setTimeout(function(){this.ng&&this.jP()}.bind(this),0)};a.prototype.UYa=function(c){if(this.ng){this.O("composedTranslationX","composedTranslationY","composedTranslationZ")&&(this.Pxa=0!=this.get("composedTranslationX")||0!=this.get("composedTranslationY")||0!=this.get("composedTranslationZ"),this.xh.makeTranslation(-this.get("composedTranslationX")*this.Gs,this.get("composedTranslationY")*this.Gs,this.get("composedTranslationZ")*this.Gs));var d=this.yY==m.Y,g=this.ng.children,
2924p=g.length,q=d?Math.round(p*c.Ie/this.FZ):0;if(0<this.UO+q){this.hP=d?0:Math.min(this.UO,this.hP+Math.round(p*c.Ie/this.LZ));c=this.get("composedAlpha");for(d=0;d<p;d++){var n=g[d];if(!n.userData.PA)if(0<q)q--,n.userData.PA=!0,this.UO++,this.Oba(n,this.pq,this.pq+(this.pq-this.Hs));else continue;n.userData.FK.multiply(n.userData.vya);n.userData.y+=n.userData.iHa;if(n.userData.y<this.Hs||n.userData.y>this.pq){if(0<this.hP){this.hP--;n.userData.PA=!1;this.UO--;n.material.opacity=0;continue}var r=n.userData.y<
2925this.Hs?this.pq:this.Hs;this.Oba(n,r,r)}r=c;n.userData.y<this.Hs+this.BM?r*=(n.userData.y-this.Hs)/this.BM:n.userData.y>this.pq-this.SL&&(r*=(this.pq-n.userData.y)/this.SL);n.material.opacity=r*this.OO;this.Pxa?(n.matrix.copy(this.xh),n.matrix.multiply(n.userData.FK)):n.matrix.copy(n.userData.FK);n.matrix.multiply(n.userData.Gha);n.matrixWorldNeedsUpdate=!0}this.Da()}}};a.prototype.jma=function(){if(this.ng)for(var c=this.get("index"),d=0;d<this.ng.children.length;d++)this.ng.children[d].renderOrder=
2926c};return a});
2927define("iX","require lE kS lg kr nX v".split(" "),function(a){var e=a("lE"),l=a("kS"),m=a("lg"),k=a("kr"),b=a("nX"),h=a("v");a=e.extend(k,function(c){k.call(this);this.u=c;this.Dk=this.Dk.bind(this);this.Ek=this.Ek.bind(this);this.Rm()});a.prototype.Pb=function(){k.prototype.Pb.call(this);this.u.set("state",this.u.get("startState"));l.da(this.u,"color intensity speed opacity distance maxDistance farPlaneDistance minSpeed maxSpeed particleCount farPlaneParticleCount particleScale".split(" "),this.Dk,
2928!0);l.da(this.u,["state"],this.Ek,!0)};a.prototype.Tb=function(){l.ba(this.u,"color intensity speed opacity distance maxDistance farPlaneDistance minSpeed maxSpeed particleCount farPlaneParticleCount particleScale".split(" "),this.Dk);l.ba(this.u,["state"],this.Ek);this.u.set("state",m.W);k.prototype.Tb.call(this)};a.prototype.Dk=function(){this.Rm();this.jP()};a.prototype.Ek=function(){this.yY=this.u.get("state");this.Da()};a.prototype.Rm=function(){k.prototype.Rm.call(this);var c=h.nb()||h.browser()==
2929h.Rr?2500:h.Hf()?4E3:5E3;this.PN=this.lD=.2*this.u.get("speed",.2);this.Gs=14.5*this.u.get("distance",.5)+.5;this.OO=1*this.u.get("opacity",.1);this.Gz=.036;this.CD=this.u.get("intensity",.1)*c;this.Nc=b.yr(this.u.get("color","#ffffff"));this.IC=0;this.HC=15;this.nW=this.u.get("initialState");this.FZ=this.u.get("startDuration");this.LZ=this.u.get("stopDuration");this.SL=.75;this.BM=.5;this.Hs=-2;this.pq=4;this.WW=180;this.boa()};a.prototype.dV=function(){return new THREE.Sprite(this.dv())};a.prototype.dv=
2930function(){var c=new THREE.SpriteMaterial;c.map=this.Xp();c.side=THREE.FrontSide;c.transparent=!0;c.depthTest=!1;c.needsUpdate=!0;return c};a.prototype.Xp=function(){if(this.Ha)return this.Ha;var c=document.createElement("canvas");c.width=c.height=f;this.Ha=new THREE.Texture;this.Ha.encoding=THREE.sRGBEncoding;this.Ha.image=c;this.Ha.needsUpdate=!0;this.boa();return this.Ha};a.prototype.boa=function(){if(this.Ha){var c=this.Ha.image,d=c.getContext("2d"),g=d.createRadialGradient(.5*c.width,.5*c.height,
2931.2*c.height,.5*c.width,.5*c.height,.5*c.height);g.addColorStop(0,"rgba("+this.Nc[0]+", "+this.Nc[1]+", "+this.Nc[2]+", 1)");g.addColorStop(1,"rgba("+this.Nc[0]+", "+this.Nc[1]+", "+this.Nc[2]+", 0)");d.fillStyle=g;d.clearRect(0,0,c.width,c.height);d.fillRect(0,0,c.width,c.height);this.Ha.needsUpdate=!0}};var f=32;return a});
2932define("pc","require lE ik jv ew kF kJ nl".split(" "),function(a){a("lE");var e=a("ik"),l=a("jv"),m=a("ew"),k=a("kF"),b=a("kJ"),h=a("nl"),f=new THREE.Matrix4,c=Math.PI/180;return{cv: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",
2933null);this.set("horizontalAlign",null);this.set("verticalAlign",null);this.Og=this.Fy();this.xh=new THREE.Matrix4;this.Md=new THREE.Matrix4;this.Eo=new THREE.Matrix4;this.Xm=new THREE.Matrix4;this.NG=new THREE.Matrix4;this.NI=new THREE.Matrix4;this.sma=new THREE.Matrix4;this.ij=new THREE.Matrix4;this.pna=new THREE.Matrix4;this.bM=new THREE.Matrix4;this.nM=new THREE.Matrix4;this.uy=new THREE.Matrix4;this.Oh=new THREE.Matrix4;this.PG=new THREE.Matrix4;this.lC=new THREE.Vector3},Cw:function(d){this.Zq(d);
2934this.Sda()},Sda:function(){if(this.O("width","height","contentWidth","contentHeight","scaleMode","horizontalAlign","verticalAlign")){var d=k.K0(this.get("width"),this.get("height"),this.get("contentWidth"),this.get("contentHeight"),this.get("scaleMode"),this.get("horizontalAlign"),this.get("verticalAlign"));d=l.pFa(this.Og[1],d.jT,d.pT,d.Bx,d.Dx);this.Og[1]!=d&&(this.Og[1]=d,(d=this.sH())&&m.$ha(d,this.Og[1]))}},sH:function(){var d=this.get("meshGroup");return d?m.$k(d)[1]:null},ho:function(){return[0,
29351].map(function(d){var g=0==d?this.sna():this.rM();d=m.create(this.Og[d],g);b.qx(d,b.Dp);b.sx(d,b.Xr);b.CF(d,e.AL);b.XS(d,1);return d}.bind(this))},Fy:function(){return[l.HJ(),l.HJ()]},Zq:function(d){var g=!1;this.O("composedTranslationX","composedTra
2935nslationY","composedTranslationZ")&&(this.xh.makeTranslation(.5*-this.get("composedTranslationX")*l.yg,.5*this.get("composedTranslationY")*l.yg,.5*this.get("composedTranslationZ")*l.yg),g=!0);this.O("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&&
2936(this.Md.makeRotationY(-d.Ra*c),this.Md.multiply(f.makeRotationX(-this.get("composedDeltaPitch")*c)),this.Md.multiply(f.makeRotationY(this.get("composedDeltaYaw")*c)),this.Md.multiply(f.makeRotationY(d.Ra*c)),g=!0);this.O("yaw","pitch")&&(this.Eo.makeRotationY(-this.get("yaw")*c),this.Eo.multiply(f.makeRotationX(this.get("pitch")*c)),g=!0);if(this.O("distance","composedTranslationX","composedTranslationY","composedTranslationZ")){var p=0==this.get("composedTranslationX")&&0==this.get("composedTranslationY")&&
29370==this.get("composedTranslationZ")&&void 0!==this.get("distance");this.set("z",p?l.Lt(this.get("distance")):l.mr())}this.O("z")&&(this.Xm.makeTranslation(0,0,-this.get("z")),g=!0);g&&(this.PG.copy(this.xh),this.PG.multiply(this.Md),this.PG.multiply(this.Eo),this.PG.multiply(this.Xm));p=!1;this.set("rendererYaw",d.Ra);this.set("rendererPitch",d.pitch);this.set("rendererRoll",d.wg);this.set("rendererCameraFOV",d.gi);this.set("rendererWidth",d.width);this.set("rendererHeight",d.height);d.gi&&this.O("z",
2938"rendererCameraFOV")&&this.set("rendererHeightZ",Math.tan(d.gi*c*.5)*this.get("z")*2);if(d.gi&&(g||this.O("rendererYaw","rendererPitch","rendererRoll","rendererCameraFOV","rendererWidth","rendererHeight","rendererHeightZ","inVR"))){if(d.xb)this.NG.copy(this.PG),this.NI.identity();else{p=d.camera;this.NG.copy(p.matrixWorld);this.lC.setFromMatrixPosition(p.matrixWorld);this.lC.applyMatrix4(this.PG);this.lC.applyMatrix4(p.matrixWorldInverse);var q=-10,n=-10;0>this.lC.z&&(this.lC.applyMatrix4(p.projectionMatrix),
2939q=.5*this.lC.x,n=.5*this.lC.y);var r=this.get("rendererHeightZ");this.NI.makeTranslation(q*r*p.aspect,n*r,0)}p=!0}this.O("roll")&&(this.ij.makeRotationZ(this.get("roll")*c),p=!0);if(d.gi&&(g||this.O("rendererHeight","inVR","rendererHeightZ","width","height","contentWidth","contentHeight","scale","scaleMode","horizontalAlign","verticalAlign","flipHorizontally","offsetX","offsetY"))){g=d.xb?1024:d.height;p=this.get("scale")*this.get("rendererHeightZ")/g*(d.xb?2:1);var u=this.get("width");n=this.get("height");
2940var t=this.get("offsetX");r=this.get("offsetY");var v=this.get("contentWidth"),w=this.get("contentHeight");q=(this.get("flipHorizontally")?-1:1)*p;var x=this.get("scaleMode");d=this.get("horizontalAlign")||h.Qe;g=this.get("verticalAlign")||h.le;x=k.K0(u,n,v,w,x,d,g);v=q*u;w=p*n;this.bM.makeScale(v,w,1);u=q*(.5*u-t);n=p*(r-.5*n);this.sma.makeTranslation(u,n,0);q*=x.width;p*=x.height;this.nM.makeScale(q,p,1);this.pna.makeTranslation((d==h.Wa?.5*-(v-q):d==h.ob?.5*(v-q):0)+u,(g==h.zc?.5*(w-p):g==h.sc?
2941.5*-(w-p):0)+n,0);p=!0}p&&(this.Oh.copy(this.NG),this.Oh.multiply(this.Xm),this.Oh.multiply(this.NI),this.Oh.multiply(this.ij),this.uy.copy(this.Oh),this.uy.multiply(this.sma),this.uy.multiply(this.bM),this.Oh.multiply(this.pna),this.Oh.multiply(this.nM),d=m.$k(this.get("meshGroup")),m.hr(d[0],this.uy),m.hr(d[1],this.Oh))}}});
2942define("gq",["require","pg","lg"],function(a){function e(k,b){this.Kd=k;this.uc=b;this.Mb=!1;this.A5();this.D5();this.uD()}var l=a("pg"),m=a("lg");e.prototype.clear=function(){this.yba();this.Eba();this.Kd.set("state",m.W);this.uc=this.Kd=null};e.prototype.yf=function(k){this.Mb!=k&&(this.Mb=k,this.nt())};e.prototype.uD=function(){this.uc.Mc(this.Kd.get("state"))};e.prototype.iO=function(){this.nt()};e.prototype.kO=function(){this.uc.Zha(this.Kd.get("frameDuration"))};e.prototype.jO=function(){this.uc.WEa("first"==
2943this.Kd.get("finalFrame"))};e.prototype.gO=function(){this.Kd.trigger(l.es)};e.prototype.fO=function(){this.Kd.trigger(l.Bb)};e.prototype.hO=function(){this.Kd.set("state",this.uc.getState())};e.prototype.nt=function(){this.Kd.get("autoplay")&&this.uc.Mc(this.Mb?m.Y:m.W)};e.prototype.A5=function(){this.Kd.bind(l.F("state"),this.uD,this,!0);this.Kd.bind(l.F("autoplay"),this.iO,this,!0);
2943this.Kd.bind(l.F("frameDuration"),this.kO,this,!0);this.Kd.bind(l.F("finalFrame"),this.jO,this,!0)};e.prototype.yba=
2944function(){this.Kd.unbind(l.F("state"),this.uD,this,!0);this.Kd.unbind(l.F("autoplay"),this.iO,this,!0);this.Kd.unbind(l.F("frameDuration"),this.kO,this,!0);this.Kd.unbind(l.F("finalFrame"),this.jO,this,!0)};e.prototype.D5=function(){this.uc.bind(l.es,this.gO,this,!0);this.uc.bind(l.Bb,this.fO,this,!0);this.uc.bind(l.re,this.hO,this,!0)};e.prototype.Eba=function(){this.uc.unbind(l.es,this.gO,this,!0);this.uc.unbind(l.Bb,this.fO,this,!0);this.uc.unbind(l.re,this.hO,this,!0)};return e});
2945define("hi","require kS pg lg ik nV cx ew gq fl kJ eH bh".split(" "),function(a){var e=a("kS"),l=a("pg"),m=a("lg"),k=a("ik"),b=a("nV"),h=a("cx"),f=a("ew"),c=a("gq"),d=a("fl"),g=a("kJ"),p=a("eH"),q=a("bh");return{wC: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",
2946null);this.set("state",null);this.set("visibleOnStop",!0);this.set("side",void 0);this.wX=this.wX.bind(this);this.zX=this.zX.bind(this);this.Bj=this.Xa=this.eo=this.uc=null},Vj:function(){this.yda();this.nQ();this.$Ya()},yda:function(){if(this.O("level")){var n=this.get("level");this.set("levelURL",n&&n.get("url"))}this.O("image","level","levelURL","projected")&&(this.Xma(),this.Xa=this.get("image"),this.ab=this.get("level"),this.set("textureSource",new d(this.Xa&&this.ab.get("url"))),this.set("premultipliedAlpha",
2947this.Xa&&this.ab.get("premultipliedAlpha")),this.aKa(),this.Xa?(this.LJa(),this.OJa()):(this.trigger(l.bd),this.trigger(l.Z)))},nQ:function(){if(this.O("blending","chromaColor","chromaThreshold","chromaSmoothing","premultipliedAlpha","side")){var n=new h.Im;n.nA=this.get("blending");n.yt=this.get("chromaColor");n.ZQ=this.get("chromaThreshold");n.YQ=this.get("chromaSmoothing");n.premultipliedAlpha=this.get("premultipliedAlpha");n.side=this.get("side");this.set("materialConfig",n)}},$Ya:function(){if(this.O("meshGroup",
2948"projected","visible")){var n=this.get("projected")&&this.get("visible")?k.N4:k.AL;f.$k(this.get("meshGroup")).forEach(function(r){g.CF(r,n)}.bind(this))}},km:function(){this.O("visible","composedAlpha","image","state","visibleOnStop")&&this.set("inView",this.get("visible")&&0<this.get("composedAlpha")&&(this.get("visibleOnStop")||this.get("state")!=m.W));this.O("composedAlpha","meshGroup","inView")&&f.$e(this.get("meshGroup"),this.get("inView")?this.get("composedAlpha"):0);this.eo&&this.eo.yf(this.get("inView"))},
2949wX:function(){this.Xa&&b.Ga("AnimatedImageResource",this.Xa)?this.set("visibleOnStop",this.Xa.get("visibleOnStop")):this.set("visibleOnStop",!0)},zX:function(){this.set("levelURL",this.ab.get("url"))},QH:function(){this.Xma()},Xma:function(){this.eo&&(this.eo.clear(),this.eo=null);this.uc&&(this.uc.unbind(l.ca,this.hN,this,!0),this.uc.unbind(l.re,this.Spa,this,!0),this.uc.clear(),this.uc=null);this.Bj&&(this.Bj.dispose(),this.Bj=null);this.get("textureSource")&&(this.Hba(),this.set("textureSource",
2950null));this.Xa&&(this.kUa(),this.Xa=null);this.ab&&(this.nUa(),this.ab=null)},LJa:function(){e.da(this.Xa,["visibleOnStop"],this.wX,!0)},kUa:function(){e.ba(this.Xa,["visibleOnStop"],this.wX)},OJa:function(){e.da(this.ab,["url"],this.zX,!0)},nUa:function(){e.ba(this.ab,["url"],this.zX)},iN:function(){this.Hba();var n=this.get("image");if(b.Ga("AnimatedImageResource",n)){this.uc=new q(this.get("textureSource").vf(),n.get("rowCount",1),n.get("colCount",1),n.get("frameDuration"),n.get("frameCount",n.get("rowCount",
29511)*n.get("colCount",1)),n.get("repeat"),"first"==n.get("finalFrame"));var r=this.uc.fg();this.uc.bind(l.re,this.Spa,this,!0);this.uc.bind(l.ca,this.hN,this,!0);this.eo=new c(n,this.uc);this.set("visibleOnStop",n.get("visibleOnStop"));this.set("state",this.uc.getState())}else r=this.get("textureSource").vf(),this.Bj=new p(r),this.set("visibleOnStop",!0),this.set("state",null);this.km();this.set("contentWidth",r.width);this.set("contentHeight",r.height);this.get("textureSource").Cm(r);this.trigger(l.bd);
2952this.trigger(l.Z)},Tpa:function(){this.Hba();this.trigger(l.bd);this.trigger(l.Z)},Spa:function(){this.set("state",this.uc.getState())},hN:function(){this.get("textureSource").update();this.Da()},aKa:function(){var n=this.get("textureSource");
2952n.bind(l.Z,this.iN,this,!0);n.bind(l.yc,this.Tpa,this,!0)},Hba:function(){var n=this.get("textureSource");n.unbind(l.Z,this.iN,this,!0);n.unbind(l.yc,this.Tpa,this,!0)},I8:function(n){return this.Bj&&this.Bj.bi==n.source?this.Bj.info(n.x,n.y):p.info(n.source,
2953n.x,n.y)}}});
2954define("pd","require kS pg nV nX bd z".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&&"transparent"!=d&&"any"!=d}var m=a("kS"),k=a("pg"),b=a("nV"),h=a("nX"),f=a("bd"),c=new (a("z"));return{Gy:function(){this.set("beamEnabled",!1);this.vX=this.vX.bind(this);this.aW=null;this.ri=[];this.qs=[];this.zv=null},Q5a:function(d){this.zv!=d&&(this.zba(),this.zv=d,this.Lla())},Wo:function(d){this.Pz=d.Ra;
2955this.Oz=d.pitch},zba:function(){this.zv&&m.ba(this.zv,["areas"],this.vX)},Lla:function(){this.zv&&m.da(this.zv,["areas"],this.vX,!0)},tI:function(){this.zba();this.Lla()},vI:function(){this.gva([]);this.zba()},vX:function(){var d=this.zv.get("areas",[]);b.Ga("HotspotPanoramaOverlayImage",this.u)||b.Ga("FlatHotspotPanoramaOverlayImage",this.u)||b.Ga("QuadHotspotPanoramaOverlayImage",this.u)?this.aW=d.filter(e):this.aW=d.filter(l);this.aW.forEach(function(g){c.set(g,0)})},Bm:function(d){if(d.mf==k.tl){var g=
2956this.t8(d);if(0<g.length){d.jA(g);var p=this.COa(g),q;for(q in p)d.rya(p[q],q);d.Xk(this.get("distance"));(p=this.Sb(g,d.cF()))&&d.O_(p,this.$z(d.cF()))}this.gva(g,d.Tt(),d.cF())}else if(d.mf==k.Lf){if(g=this.t8(d),0<g.length){var n=!1;g.forEach(function(r){r.trigger(k.qa);!n&&1<r.YJ(k.qa,!0).length&&(n=!0)});d.Xk(this.get("distance"));n&&d.Hr(g)}}else d.mf==k.gy?(g=this.t8(d),0<g.length&&(n=!1,g.forEach(function(r){var u={};d.Tt()&&(u=d.Wt().AAa());r.trigger(k.jb,u);!n&&1<r.YJ(k.jb,!0).length&&(n=
2957!0)}),this.qs=g,d.Xk(this.get("distance")),n&&d.Hr(g))):d.mf==k.kG&&this.qs.length&&(this.qs.forEach(function(r){var u={};d.Tt()&&(u=d.Wt().AAa());r.trigger(k.Eb,u)}),this.qs=[])},t8:function(d){if(!this.get("beamEnabled")||0==this.get("alpha")||d.Yk())return[];var g=this.sv(d.Lq);return 0==g.length?[]:this.aW.filter(function(p){var q=p.get("mapColor");return"any"==q?!0:"image"==q?g.some(function(n){return this.I8(n).wx}.bind(this)):"transparent"==q?g.every(function(n){return!this.I8(n).wx}.bind(this)):
2958q&&"#"==q[0]?g.some(function(n){return 10>h.I0(this.I8(n).color,q)}.bind(this)):!1}.bind(this))},gva:function(d,g,p){this.ri.forEach(function(n){if(0>d.indexOf(n)){var r=c.get(n)-1;c.set(n,r);0==r&&(n.trigger(k.Vb,{center:p}),g&&n.trigger(k.Fp))}});var q=this.ri;this.ri=d;this.ri.forEach(function(n){if(0>q.indexOf(n)){var r=(c.get(n)||0)+1;c.set(n,r);1==r&&(n.trigger(k.cd,{center:p}),g&&n.trigger(k.IB))}})},Sb:function(d,g){for(var p="",q=d.length-1;0<=q&&""==p;q--){var n=d[q];if(!g||n.get("displayTooltipInTouchScreens")&&
2959!1!==this.Ca.L.get("displayTooltipInTouchScreens"))p=n.get("toolTip","")}return p},$z:function(d){if(d){d=this.get("yaw")-this.Pz;var g=this.get("pitch")-this.Oz;return Math.sqrt(d*d+g*g)}return 0},COa:function(d){var g={};!0===this.zv.get("useHandCursor")?g[f.ye]=d:!1!==this.zv.get("useHandCursor")&&d.forEach(function(p){var q;(q=p.get("useHandCursor")?f.ye:p.get("cursor"))&&(g[q]?g[q].push(p):g[q]=[p])});return g}}});
2960define("nU",["require","v","cG"],function(a){function e(){this.$h=void 0;this.DH=this.FD=0;this.xa=!0;this.VU=this.Wca=this.p8=void 0;this.Mb=!1}var l=a("v"),m=a("cG"),k=Math.PI/180,b=l.browser()==l.li?[-.5,0]:[0,0];e.prototype.YA=function(h){this.$h!=h&&(this.$h=h,this.xa=!0)};e.prototype.XA=function(h){if(h<this.FD+b[0]||h>this.FD+b[1])this.FD=h,this.xa=!0};e.prototype.get=function(h,f){void 0!==f||(f=!0);this.xa&&(this.ha(),this.xa=!1);var c=this.p8.get(h)||0;h=(this.Wca.get(h)||0)-c;f&&(180<h?
2961h-=360:-180>h&&(h+=360));return c+h*this.VU};e.prototype.Pfa=function(){this.xa&&(this.ha(),this.xa=!1);for(var h=this.p8.get("vertices"),f=this.Wca.get("vertices"),c=[],d=0;d<h.length;d++){var g=h[d].get("yaw")||0,p=(f[d].get("yaw")||0)-g;180<p?p-=360:-180>p&&(p+=360);var q=h[d].get("pitch")||0,n=(f[d].get("pitch")||0)-q;c.push(new m(g+p*this.VU,q+n*this.VU))}h=this.BN&&this.BN.length==c.length;for(d=0;d<c.length&&h;d++)h=this.BN[d].get("yaw")==c[d].get("yaw")||this.BN[d].get("pitch")==c[d].get("pitch");
2962return h?this.BN:this.BN=c};e.prototype.al=function(){return this.get("opacity",!1)};e.prototype.TE=function(){var h=this.get("hfov")||this.get("vfov"),f=this.$h[0].get("hfov")||this.$h[0].get("vfov");return Math.tan(.5*h*k)/Math.tan(.5*f*k)};e.prototype.ha=function(){for(var h=this.DH,f,c=this.$h.length-1,d,g;;){f=Math.min(h+1,c);d=this.Fpa(h);g=this.Fpa(f);if(d<=this.FD&&this.FD<=g)break;
2962if(d>this.FD){if(0==h){f=h;break}--h}else{if(h==c){f=h;break}h+=1}}this.p8=this.$h[h];this.Wca=this.$h[f];h=
2963g-d;this.VU=0<h?(this.FD-d)/h:0};e.prototype.Fpa=function(h){return this.$h[h].get("timestamp")};return e});
2964define("cj",["require","kS","nU"],function(a){var e=a("kS"),l=a("nU");return{io:function(){this.set("playbackPositions",null);this.set("scaleMode",void 0);this.set("distance",void 0);this.Yd=this.Yd.bind(this);this.qb=new l},Do:function(){e.da(this.u,"horizontalAlign verticalAlign scale scaleMode width height offsetX offsetY distance playbackPositions".split(" "),this.Yd,!0)},Fo:function(){e.ba(this.u,"horizontalAlign verticalAlign scale scaleMode width height offsetX offsetY distance playbackPositions".split(" "),
2965this.Yd)},Yd:function(){this.set("horizontalAlign",this.u.get("horizontalAlign"));this.set("verticalAlign",this.u.get("verticalAlign"));this.set("scale",this.u.get("scale"));this.set("scaleMode",this.u.get("scaleMode"));this.set("width",this.u.get("width"));this.set("height",this.u.get("height"));this.set("offsetX",this.u.get("offsetX",.5*this.u.get("width")));this.set("offsetY",this.u.get("offsetY",.5*this.u.get("height")));this.set("distance",this.u.get("distance"));this.set("playbackPositions",
2966this.u.get("playbackPositions"))},sf:function(){this.O("playbackPositions","currentTime")&&(this.qb.YA(this.get("playbackPositions")),this.qb.XA(this.get("currentTime")),this.set("yaw",this.qb.get("yaw")),this.set("pitch",this.qb.get("pitch")),this.set("roll",this.qb.get("roll")),this.set("alpha",this.qb.al()))}}});
2967define("kb","require lE kS pg ew c pc hi pd cj nF".split(" "),function(a){var e=a("lE"),l=a("kS"),m=a("pg"),k=a("ew"),b=a("c"),h=a("pc"),f=a("hi"),c=a("pd"),d=a("cj"),g=a("nF"),p=0;a=e.extend(b,h,d,f,c,function(q){b.call(this);this.set("tag","FlatHotspotImage");this.set("id","flat_hs_image_"+p++);this.u=q;this.zk.push(this.u);this.ag=this.ag.bind(this)});a.prototype.Pb=function(){b.prototype.Pb.call(this);l.da(this.u,["image.levels"],this.ag,!0)};a.prototype.Tb=function(){l.ba(this.u,["image.levels"],
2968this.ag);b.prototype.Tb.call(this)};a.prototype.ag=function(){this.set("image",this.u.get("image"));this.set("level",g.n1a(this.u))};a.prototype.ha=function(q){this.oE();b.prototype.ha.call(this,q);this.O("inView")&&this.u.trigger(this.get("inView")?m.dd:m.Tc)};a.prototype.oE=function(){if(this.O("meshGroup","panoramaId","id")){var q=this.get("meshGroup");q&&q.children.forEach(function(n){k.setAttribute(n,k.lB,this.get("panoramaId"));k.setAttribute(n,k.u3,this.get("id"))}.bind(this))}};return a});
2969define("bA",["require","pg","U"],function(a){var e=a("pg"),l=a("U");a={uda:function(g){if(this.Ca){var p=this.ePa(g);p?(g=this.hpa(this).some(function(q){return p.intersectsObject(q)}),this.bca(g)):this.bca(!1)}},hpa:function(g){var p=g.get("meshGroup"),q=[];p&&p.traverse(function(n){n.geometry&&n.visible&&(Array.isArray(n.material)?n.material.some(function(r){return 0<r.opacity}):0<n.material.opacity)&&q.push(n)});g.mb().forEach(function(n){q=q.concat(this.hpa(n))}.bind(this));return q}};var m=new THREE.Frustum,
2970k=new THREE.PerspectiveCamera,b=90,h=.5,f=new THREE.Matrix4,c=Math.PI/180,d=180/Math.PI;a.ePa=function(g){g=l.getCamera(g.xg);if(!g)return null;var p=this.Ca.L.get("focusAreaScale");if(!k.projectionMatrix.equals(g.projectionMatrix)||!k.matrixWorldInverse.equals(g.matrixWorldInverse)||b!=g.fov||h!=p){k.copy(g);var q=.5*k.fov*c;k.fov=2*Math.atan2(h*Math.sin(q),Math.cos(q))*d;k.updateProjectionMatrix();m.setFromProjectionMatrix(f.copy(k.projectionMatrix).multiply(k.matrixWorldInverse));b=g.fov;h=p}return m};
2971a.g8=function(){this.S9=!1};a.h8=function(){this.bca(!1)};a.aca=function(g){this.woa=g};a.bca=function(g){this.S9!==g&&(this.S9=g,this.woa&&this.woa.trigger(this.S9?e.OHa:e.PHa))};return a});
2972define("mz","require lE kS pg jq bA oz v oI bG lF".split(" "),function(a){var e=a("lE"),l=a("kS"),m=a("pg"),k=a("jq"),b=a("bA"),h=a("oz");a("v");var f=a("oI"),c=a("bG"),d=a("lF");a=e.extend(k,b,function(g){k.call(this);this.u=g;this.zk.push(this.u);this.QX=this.QX.bind(this);this.PX=this.PX.bind(this);this.RX=this.RX.bind(this);this.Op(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","Hotspot");this.set("over",!1);this.set("centerOver",!1);this.set("enabled",!0);this.set("visible",
2973!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.P5=this.Q5=this.Ho=this.ae=this.Cf=null;this.ri=[];this.O5=[];this.nm=null;this.aca(this.u)});a.prototype.Pb=function(){this.Cf=(new h(m.Z)).Em(this.oD.bind(this));this.ae=(new h(m.kc)).kp(this.rD.bind(this));this.Ho=(new h(m.bd)).Em(this.jSa.bind(this));
2974this.Q5=(new h(m.cd)).kp(this.cSa.bind(this));this.P5=(new h(m.Vb)).kp(this.bSa.bind(this));k.prototype.Pb.call(this);l.da(this.u,["items","rollOverItems","maps","rollOverMaps"],this.QX,!0);l.da(this.u,"fadeInDuration fadeOutDuration enabledInVR enabledInStandard enabledInSurfaceSelection enabled interactionEnabled centerOverDisplay rollOverDisplay".split(" "),this.RX,!0);l.da(this.u,["areas"],this.PX,!0);this.g8()};a.prototype.Tb=function(){this.h8();this.eJ([],this.ri);this.oda([],this.O5);this.Cf.dispose();
2975this.ae.dispose();this.Ho.dispose();this.Q5.dispose();this.P5.dispose();l.ba(this.u,["items","rollOverItems","maps","rollOverMaps"],this.QX);l.ba(this.u,"fadeInDuration fadeOutDuration enabledInVR enabledInStandard enabledInSurfaceSelection enabled interactionEnabled centerOverDisplay rollOverDisplay".split(" "),this.RX);l.ba(this.u,["areas"],this.PX);this.get("visible")&&this.u.trigger(m.Tc);k.prototype.Tb.call(this)};a.prototype.QX=function(){this.set("items",this.Ca.Vw(this.u.get("items",[])));
2976this.set("rollOverItems",this.Ca.Vw(this.u.get("rollOverItems",[])));this.set("maps",this.Ca.Vw(this.u.get("maps",[])));this.set("rollOverMaps",this.Ca.Vw(this.u.get("rollOverMaps",[])));var g=[].concat(this.get("maps"),this.get("items"),this.get("rollOverMaps"),this.get("rollOverItems"));g.forEach(function(p){p.Q5a(this.u)}.bind(this));this.get("items").forEach(function(p){p.set("projected",this.u.get("projected"))}.bind(this));this.ah(g);this.Cf.xf(g);this.ae.xf(g);this.Ho.xf(g)};a.prototype.RX=
2977function(){this.set("fadeInDuration",this.u.get("fadeInDuration"));this.set("fadeOutDuration",this.u.get("fadeOutDuration"));this.set("enabled",this.u.get("enabled",!0));this.set("enabledInVR",this.u.get("enabledInVR"));this.set("enabledInStandard",this.u.get("enabledInStandard",!0));this.set("enabledInSurfaceSelection",this.u.get("enabledInSurfaceSelection",!0));this.set("centerOverDisplay",this.u.get("centerOverDisplay"));this.set("rollOverDisplay",this.u.get("rollOverDisplay",!1));this.set("interactionEnabled",
2978this.u.get("interactionEnabled",!0))};a.prototype.PX=function(){var g=this.u.get("areas");this.Q5.xf(g);this.P5.xf(g)};a.prototype.ha=function(g){this.km(g);k.prototype.ha.call(this,g);this.ce(g);this.uda(g)};a.prototype.ce=function(g){this.set("inVR",g.xb);this.set("surfaceSelection",g.fT);this.set("hotspotsEnabled",g.YE);if(this.O("items","rollOverItems","maps","rollOverMaps","over","centerOver","inVR","hotspotsEnabled","enabledInVR","enabledInStandard","surfaceSelection","enabledInSurfaceSelection",
2979"enabled","interactionEnabled","rollOverDisplay","centerOverDisplay")||this.pa&&this.pa.O("composedAlpha")){var p=g=!1,q=this.get("hotspotsEnabled")&&this.get("enabled")&&(!this.get("inVR")||this.get("enabledInVR"))&&(this.get("inVR")||this.get("enabledInStandard"))&&(!this.get("surfaceSelection")||this.get("enabledInSurfaceSelection"))&&this.pa&&0<this.pa.get("composedAlpha"),n=this.get("interactionEnabled");q&&(g=this.get("centerOver")&&!this.get("inVR"),p=this.get("over")||g,g=!this.get("rollOverDisplay")&&
2980!this.get("centerOverDisplay")||this.get("over")&&this.get("rollOverDisplay")||g&&!1!==this.get("centerOverDisplay")&&this.get("rollOverDisplay"));
2980this.get("rollOverItems").forEach(function(w){w.set("visible",p);w.set("beamEnabled",q&&p&&n)});var r=0==this.get("rollOverItems").length;this.get("items").forEach(function(w){w.set("visible",r||!p);w.set("beamEnabled",q&&(r||!p)&&n)});this.get("rollOverMaps").forEach(function(w){w.set("visible",!1);w.set("beamEnabled",q&&p&&n)});var u=0==this.get("rollOverMaps").length;
2981this.get("maps").forEach(function(w){w.set("visible",!1);w.set("beamEnabled",q&&(u||!p)&&n)});this.set("visible",g)}if(this.O("visible")){g=this.get("alpha");var t=this.get("visible")?1:0,v=(this.get("visible")?this.get("fadeInDuration"):this.get("fadeOutDuration"))*Math.abs(g-t);this.nm=new f("linear",[new c("alpha",g,t)],Math.max(v,1));this.Da();this.get("visible")?this.u.trigger(m.dd):this.u.trigger(m.Tc)}};a.prototype.km=function(g){this.nm&&(this.nm.Ze()?this.nm=null:(this.nm.Cb(g.Ie),this.set("alpha",
2982this.nm.fb("alpha"))),this.Da())};a.prototype.oD=function(){this.lj();this.trigger(m.Z)};a.prototype.jSa=function(){this.lj();this.trigger(m.bd)};a.prototype.rD=function(){this.lj()};a.prototype.lj=function(){var g=0;this.ae.Et(function(p){var q=0,n;this.Cf.um(p)?q=100:(n=this.ae.um(p))&&(q=n.Yg);g+=q}.bind(this));this.trigger(new d(m.kc,g/this.ae.ed.length))};a.prototype.cSa=function(g){g.data.center?this.oda([g.source],[]):this.eJ([g.source],[])};a.prototype.bSa=function(g){g.data.center?this.oda([],
2983[g.source]):this.eJ([],[g.source])};a.prototype.eJ=function(g,p){this.axa(this.ri,g,p);this.set("over",0<this.ri.length)};a.prototype.oda=function(g,p){this.axa(this.O5,g,p);this.set("centerOver",0<this.O5.length)};a.prototype.axa=function(g,p,q){p||(p=[]);q||(q=[]);q.forEach(function(n){n=g.indexOf(n);0<=n&&g.splice(n,1)});p.forEach(function(n){0>g.indexOf(n)&&g.push(n)})};return a});
2984define("ps",["require","kS","nU"],function(a){var e=a("kS"),l=a("nU");return{io:function(){this.set("playbackPositions",null);this.set("scaleMode",void 0);this.set("distance",void 0);this.Yd=this.Yd.bind(this);this.qb=new l},Do:function(){e.da(this.u,"horizontalAlign verticalAlign scale scaleMode distance playbackPositions".split(" "),this.Yd,!0)},Fo:function(){e.ba(this.u,"horizontalAlign verticalAlign scale scaleMode distance playbackPositions".split(" "),this.Yd)},Yd:function(){this.set("horizontalAlign",
2985this.u.get("horizontalAlign"));this.set("verticalAlign",this.u.get("verticalAlign"));this.set("scaleMode",this.u.get("scaleMode"));this.set("distance",this.u.get("distance"));this.set("scale",this.u.get("scale"));this.set("playbackPositions",this.u.get("playbackPositions"))},sf:function(){this.O("playbackPositions","currentTime")&&(this.qb.YA(this.get("playbackPositions")),this.qb.XA(this.get("currentTime")),this.set("yaw",this.qb.get("yaw")),this.set("pitch",this.qb.get("pitch")),this.set("roll",
2986this.qb.get("roll")),this.set("rotationX",this.qb.get("rotationX")),this.set("rotationY",this.qb.get("rotationY")),this.set("hfov",this.qb.get("hfov")),this.set("vfov",this.qb.get("vfov")),this.set("alpha",this.qb.al()))}}});
2987define("cc","require lE kS pg ew c ot hi pd ps nF".split(" "),function(a){var e=a("lE"),l=a("kS"),m=a("pg"),k=a("ew"),b=a("c"),h=a("ot"),f=a("hi"),c=a("pd"),d=a("ps"),g=a("nF"),p=0;a=e.extend(b,h,f,c,d,function(q){b.call(this);this.set("tag","HotspotImage");this.set("id","hs_image_"+p++);this.set("side",THREE.DoubleSide);this.u=q;this.zk.push(this.u);this.ag=this.ag.bind(this)});a.prototype.Pb=function(){b.prototype.Pb.call(this);l.da(this.u,["image.levels"],this.ag,!0)};a.prototype.Tb=function(){l.ba(this.u,
2988["image.levels"],this.ag);b.prototype.Tb.call(this)};a.prototype.ag=function(){this.set("image",this.u.get("image"));this.set("level",g.t1a(this.u,this.get("panoramaPixelsPerDegree")))};a.prototype.ha=function(q){this.oE();b.prototype.ha.call(this,q);this.O("inView")&&this.u.trigger(this.get("inView")?m.dd:m.Tc)};a.prototype.oE=function(){if(this.O("meshGroup","panoramaId","id")){var q=this.get("meshGroup");q&&q.children.forEach(function(n){k.setAttribute(n,k.lB,this.get("panoramaId"));k.setAttribute(n,
2989k.u3,this.get("id"))}.bind(this))}};return a});
2990define("bu",["require","fk","a"],function(a){function e(k,b,h){this.Uf=k||new l(0,0,0);this.rj=b||new l(1,0,0);this.LA=h||new l(0,1,0)}var l=a("fk"),m=a("a");e.prototype.clone=function(){return new e(this.Uf.clone(),this.rj.clone(),this.LA.clone())};e.prototype.apply=function(k){k.AJ(this.Uf);k.AJ(this.rj);k.AJ(this.LA)};e.prototype.intersection=function(k,b){var h=m.sA(k.Uf,k.rj),f=m.sA(this.Uf,k.Uf),c=m.sA(this.Uf,this.rj);c.f0(m.sA(this.Uf,this.LA));h=h.JE(c);if(!(0==h||b&&0>h))return b=-c.JE(f)/
2991h,new l(k.Uf.x+(k.rj.x-k.Uf.x)*b,k.Uf.y+(k.rj.y-k.Uf.y)*b,k.Uf.z+(k.rj.z-k.Uf.z)*b)};e.prototype.j2=function(k,b){var h=m.sA(this.Uf,this.rj),f=m.sA(this.Uf,this.LA);k=m.sA(this.Uf,k);var c=h.Nfa(),d=f.Nfa();return b?new l(k.JE(h)/(c*c),k.JE(f)/(d*d),0):new l(k.JE(h)/c,k.JE(f)/d,0)};return e});
2992define("fA","require lh is do fk bu fv mv".split(" "),function(a){var e=a("lh"),l=a("is"),m=a("do"),k=a("fk"),b=a("bu"),h=a("fv"),f=a("mv"),c=Math.PI/180,d=180/Math.PI,g=new h,p=new l,q=new b,n=new k;return{get:function(r,u,t,v,w,x,y,z){r*=c;u*=c;u=new k(Math.sin(-r)*Math.cos(u),Math.sin(u),Math.cos(-r)*Math.cos(u));g.identity();g.rotateY(t*c);g.rotateZ(w*c);g.rotateX(v*c);u.apply(g);return 0<u.z?(p.ZS(y),p.bFa(z),p.BF(x*c),p.project(u),u):null},I8a:function(r,u,t){g.identity();g.rotateX(-t.Rc()*
2993c);g.rotateZ(-t.Tf()*c);g.rotateY(-t.Sc()*c);n.set(r,u,0);r=t.unproject(n).OAa();r.apply(g);return{Ra:r.Sc()*d,pitch:r.Rc()*d}}
2993,y$a:function(r,u,t,v,w,x,y,z,C,A,B,E,G,K){K||(K=f.Sx);G||(G=e.rm(E,A,B));E||(E=e.Mr(G,A,B));var I=.5*A/Math.tan(.5*E*c),Q=I*Math.tan(.5*E*c)*2,W=I*Math.tan(.5*G*c)*2;q.Uf.set(.5*+Q,.5*+W,0);q.rj.set(.5*-Q,.5*+W,0);q.LA.set(.5*+Q,.5*-W,0);g.identity();g.rotateZ(-C*c);g.rotateX(-y*c);g.rotateY(z*c);g.translate(0,0,I);g.rotateZ(-x*c);g.rotateX(-w*c);g.rotateY(-v*c);g.rotateY(t.Sc()*
2994c);g.rotateZ(t.Tf()*c);g.rotateX(t.Rc()*c);q.apply(g);n.set(r,u,0);w=q.intersection(t.unproject(n));v={x:void 0,y:void 0,xScaled:void 0,yScaled:void 0};w&&0<w.z&&(w=q.j2(w),v.xScaled=v.x=w.x/Q,v.yScaled=v.y=w.y/W);if(K!=f.Sx){switch(K){case f.Ih:var U=Math.min(e.Mr(G,A,B),E);var T=Math.min(e.rm(E,A,B),G);break;case f.Tr:U=Math.max(e.Mr(G,A,B),E);T=Math.max(e.rm(E,A,B),G);break;case f.Cp:U=E;T=e.rm(E,A,B);break;case f.nk:U=e.Mr(G,A,B),T=G}if(U!=E||T!=G)Q=I*Math.tan(.5*U*c)*2,W=I*Math.tan(.5*T*c)*2,
2995q.Uf.set(.5*+Q,.5*+W,0),q.rj.set(.5*-Q,.5*+W,0),q.LA.set(.5*+Q,.5*-W,0),q.apply(g),n.set(r,u,0),(w=q.intersection(t.unproject(n)))&&0<w.z&&(w=q.j2(w),v.xScaled=w.x/Q,v.yScaled=w.y/W)}return v},W9a:function(r,u,t,v,w,x,y){y=.5*w/Math.tan(.5*y*c);q.Uf.set(.5*+w,.5*+x,y);q.rj.set(.5*-w,.5*+x,y);q.LA.set(.5*+w,.5*-x,y);g.identity();g.rotateZ(-v*c);g.rotateX(-t*c);g.rotateY(-u*c);g.rotateY(r.Sc()*c);g.rotateZ(r.Tf()*c);g.rotateX(r.Rc()*c);q.apply(g);r=new m(new k(0,0,0),new k(0,0,1));return(r=q.intersection(r))&&
29960<r.z?(r=q.j2(r),{x:r.x/w,y:r.y/x}):null}}});
2997define("ee",["require","ik","jv","ew","kJ"],function(a){var e=a("ik"),l=a("jv"),m=a("ew"),k=a("kJ"),b=Math.PI/180;return{cv: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.Og=this.Fy();this.MC=l.HJ();this.Xm=new THREE.Matrix4;this.NG=new THREE.Matrix4;this.NI=new THREE.Matrix4;this.qra=new THREE.Matrix4;this.ij=new THREE.Matrix4;this.cm=new THREE.Matrix4;
2998this.yi=new THREE.Matrix4},Cw:function(h){this.Zq(h)},sH:function(){var h=this.get("meshGroup");return h?m.$k(h)[0]:null},ho:function(){return[0].map(function(h){var f=this.rM();h=m.create(this.Og[h],f);k.qx(h,k.Dp);k.sx(h,k.Xr);k.CF(h,e.AL);k.XS(h,1);return h}.bind(this))},Fy:function(){return[l.HJ()]},Zq:function(h){var f=!1,c=!1;this.set("rendererYaw",h.Ra);this.set("rendererPitch",h.pitch);this.set("rendererRoll",h.wg);this.set("rendererCameraFOV",h.gi);this.set("rendererWidth",h.width);this.set("rendererHeight",
2999h.height);this.set("inVR",h.xb);if(this.O("distance","composedTranslationX","composedTranslationY","composedTranslationZ")){var d=0==this.get("composedTranslationX")&&0==this.get("composedTranslationY")&&0==this.get("composedTranslationZ")&&void 0!==this.get("distance");this.set("z",d?l.Lt(this.get("distance")):l.mr())}this.O("z")&&(this.Xm.makeTranslation(0,0,-this.get("z")),c=!0);h.gi&&this.O("z","rendererCameraFOV")&&this.set("rendererHeightZ",Math.tan(h.gi*b*.5)*this.get("z")*2);h.camera&&this.O("rendererYaw",
3000"rendererPitch","rendererRoll","rendererCameraFOV","rendererWidth","rendererHeight","rendererHeightZ","inVR","centerX","centerY")&&(this.NG.copy(h.camera.matrixWorld),f=this.get("rendererHeightZ"),d=f*h.camera.aspect,d=(this.get("centerX")-.5*h.width)*d/h.width*.5,f=(.5*h.height-this.get("centerY"))*f/h.height*.5,this.NI.makeTranslation(d,f,0),f=!0);this.O("roll")&&(this.ij.makeRotationZ(this.get("roll")*b),f=!0);h.gi&&(c||this.O("rendererHeight","inVR","rendererHeightZ","width","height","flipHorizontally"))&&
3001(c=h.xb?512/h.height:1,h=(this.get("flipHorizontally")?-1:1)*this.get("width")*c,c*=this.get("height"),this.cm.makeScale(h,c,1),f=!0);this.O("width","height","offsetX","offsetY")&&(h=.5-this.get("offsetX")/this.get("width"),c=this.get("offsetY")/this.get("height")-.5,this.qra.makeTranslation(h,c,0),f=!0);f&&(this.yi.copy(this.NG),this.yi.multiply(this.Xm),this.yi.multiply(this.NI),this.yi.multiply(this.ij),this.yi.multiply(this.cm),this.yi.multiply(this.qra),m.hr(this.get("meshGroup"),this.yi))}}});
3002define("kf",["require","lE","c","ee"],function(a){var e=a("lE"),l=a("c");a=a("ee");return e.extend(l,a,function(){l.call(this);this.set("tag","Sprite")})});
3003define("gU",["require","nX"],function(a){function e(m,k,b,h,f,c){this.Oo=k;this.R=document.createElement("canvas");this.R.width=this.Oo;this.R.height=this.Oo;switch(m){case e.pL:this.JNa(b,h,f,c);break;case e.LT:this.KNa(b,h,f,c)}}var l=a("nX");e.prototype.je=function(){return this.Oo};e.prototype.Ye=function(){return this.Oo};e.prototype.fg=function(){return this.R};e.prototype.JNa=function(m,k,b,h){var f=.5*this.Oo,c=.5*this.Oo,d=.5*this.Oo,g=this.R.getContext("2d");k=l.yr(k);for(var p=g.createRadialGradient(f,
3004c,0,f,c,d),q=0;q<b.length;q++)p.addColorStop(h[q],"rgba("+k[0]+","+k[1]+","+k[2]+","+b[q]+")");g.fillStyle=p;g.globalAlpha=m;g.beginPath();g.arc(f,c,d,0,2*Math.PI,!0);g.closePath();g.fill()};e.prototype.KNa=function(m,k,b,h){var f=.5*this.Oo,c=.5*this.Oo,d=.5*this.Oo,g=this.R.getContext("2d");g.clearRect(0,0,this.Oo,this.Oo);var p=l.yr(k),q=g.createRadialGradient(f,c,0,f,c,d);for(k=0;k<b.length;k++)q.addColorStop(h[k],"rgba("+p[0]+","+p[1]+","+p[2]+","+b[k]+")");g.fillStyle=q;g.globalAlpha=m;g.beginPath();
3005for(k=0;6>k;k++)b=45*Math.PI/180+2*Math.PI*k/6,m=f+Math.cos(b)*d,b=c+Math.sin(b)*d,0==k?g.moveTo(m,b):g.lineTo(m,b);g.closePath();g.fill()};e.pL="circle";e.LT="hexagon";return e});
3006define("nH","require lE kS pg fA jq dp kf gU fl".split(" "),function(a){var e=a("lE"),l=a("kS"),m=a("pg"),k=a("fA"),b=a("jq"),h=a("dp"),f=
3006a("kf"),c=a("gU"),d=a("fl");a=e.extend(b,function(p){b.call(this);this.u=p;this.zk.push(this.u);this.ag=this.ag.bind(this);this.set("tag","LensFlare");this.set("translationAlpha",0);this.T5=this.oMa();this.Ff=this.kNa();this.ah(this.T5.concat([this.Ff]))});a.prototype.Pb=function(){b.prototype.Pb.call(this);this.trigger(m.bd);this.trigger(m.Z);l.da(this.u,["yaw",
3007"pitch","bleaching","bleachingDistance"],this.ag,!0)};a.prototype.Tb=function(){l.ba(this.u,["yaw","pitch","bleaching","bleachingDistance"],this.ag);b.prototype.Tb.call(this)};a.prototype.ag=function(){this.set("yaw",this.u.get("yaw"));this.set("pitch",this.u.get("pitch"));this.set("bleaching",this.u.get("bleaching"));this.set("bleachingDistance",this.u.get("bleachingDistance"))};a.prototype.ha=function(p){b.prototype.ha.call(this,p);this.set("rendererYaw",p.Ra);this.set("rendererPitch",p.pitch);
3008this.set("rendererRoll",p.wg);this.set("rendererCameraFOV",p.gi);this.set("rendererWidth",p.width);this.set("rendererHeight",p.height);this.set("inVR",p.xb);if(this.O("composedTranslationX","composedTranslationY","composedTranslationZ")){var q=this.get("composedTranslationX"),n=this.get("composedTranslationY"),r=this.get("composedTranslationZ");this.set("translationAlpha",Math.max(0,1-10*Math.sqrt(q*q+n*n+r*r)))}if(this.O("rendererYaw","rendererPitch","rendererRoll","rendererCameraFOV","rendererWidth",
3009"rendererHeight","inVR","yaw","pitch","translationAlpha","composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")){var u=p.Ra+this.get("composedDeltaYaw"),t=p.pitch+this.get("composedDeltaPitch"),v=p.wg+this.get("composedDeltaRoll");q=this.get("translationAlpha");r=n=0;if(!p.xb&&(u=k.get(this.get("yaw"),this.get("pitch"),u,t,v,p.gi,p.width,p.height))){var w=.5*p.width;var x=.5*p.height;var y=u.x;var z=u.y;w=2*(w-y);x=2*(x-z);r=Math.sqrt(w*w+x*x);u=Math.min(p.width,p.height);n=Math.max(0,Math.min(.7,
30101-r/Math.sqrt(p.width*p.width,p.height*p.height)))*q;p=this.get("bleaching");r=1-Math.max(0,Math.min(1,r/(u*this.get("bleachingDistance"))));r=p*r*q}for(p=0;p<this.T5.length;p++)q=this.T5[p],q.set("alpha",n),0<n&&(q.set("centerX",y+w*g[p].position),q.set("centerY",z+x*g[p].position));this.Ff.set("alpha",r)}};a.prototype.oMa=function(){return g.map(function(p){var q=(new c(p.form,p.NF,p.opacity,p.color,p.VE,p.WE)).fg(),n=new d;n.Cm(q);q=new f;q.set("textureSource",n);q.set("width",p.size);q.set("height",
3011p.size);q.set("offsetX",.5*p.size);q.set("offsetY",.5*p.size);q.set("alpha",0);return q})};a.prototype.kNa=function(){return new h("#ffffff")};var g=[{form:c.LT,position:.1,size:52,NF:128,opacity:.8,color:"#FCFCFC",VE:[1,.5],WE:[0,.866]},{form:c.LT,position:.2,size:52,NF:128,opacity:.6,color:"#C8FCC8",VE:[1,.5],WE:[0,.866]},{form:c.pL,position:.36,size:112,NF:128,opacity:.5,color:"#C8C8FC",VE:[1,.9,.6,0],WE:[0,.2,.4,1]},{form:c.pL,position:.47,size:32,NF:128,opacity:.3,color:"#96C8AF",VE:[1,1,0],
3012WE:[0,.9,1]},{form:c.pL,position:.65,size:52,NF:128,opacity:.7,color:"#FCFCFC",VE:[.7,.7,.2,0],WE:[0,.1,.4,1]},{form:c.LT,position:.88,size:128,NF:128,opacity:.4,color:"#AF96C8",VE:[1,.5],WE:[0,.866]},{form:c.pL,position:1,size:33,NF:128,opacity:.8,color:"#C89696",VE:[.8,.8,.6,0],WE:[0,.2,.4,1]}];return a});
3013define("dm",["require","bT","hG"],function(a){function e(b,h){this.zb=b;this.Fta=5;this.he=h.map(function(f){return new l(b,f)});this.IH=this.JH=this.Nh=this.zf=0;this.Cda();this.R=document.createElement("canvas");this.R.width=this.zf;this.R.height=this.Nh;this.za=this.R.getContext("2d");this.xa=!0;this.Ve=this.zta=-1}function l(b,h){this.eF=b;this.item=h;this.label=h.get("label");this.fontFamily=this.eF.get("fontFamily","Arial");this.fontSize="12px";this.backgroundColor=this.eF.get("backgroundColor",
3014"#000000");this.sEa=this.eF.get("rollOverBackgroundColor",this.backgroundColor);this.f5a=this.eF.get("selectedBackgroundColor",this.sEa);this.Xza=this.eF.get("fontColor","#000000");this.tEa=this.eF.get("rollOverFontColor",h.Xza);this.g5a=this.eF.get("selectedFontColor",h.tEa);this.iGa=this.hGa=this.jGa=this.kGa=this.height=this.width=this.left=this.top=0;this.status=!1;this.kga=!0}var m=a("bT"),k=a("hG");l.prototype.D8a=function(){var b=new m.Y4;b.fontFamily=this.fontFamily;b.fontSize=this.fontSize;
3015b=m(this.label,b);this.kGa=b.width;this.jGa=b.height};l.prototype.P6a=function(b){this.status!=b&&(this.status=b,this.kga=!0)};l.prototype.w0a=function(b){if(this.kga){this.kga=!1;switch(this.status){case "normal":var h=this.backgroundColor;var f=this.Xza;break;case "over":h=this.sEa;f=this.tEa;break;case "selected":h=this.f5a,f=this.g5a}b.clearRect(this.left,this.top,this.width,this.height);b.fillStyle=h;b.fillRect(this.left,this.top,this.width,this.height);b.fillStyle=f;b.font=this.fontSize+" '"+
3016this.fontFamily+"'";b.font=this.fontSize+(isNaN(this.fontSize)?"":"px")+" "+k.Qw(this.fontFamily);b.textBaseline="middle";b.textAlign="center";b.fillText(this.label,Math.round(this.hGa),Math.round(this.iGa));return!0}return!1};e.prototype.je=function(){return this.zf};e.prototype.Ye=function(){return this.Nh};e.prototype.fg=function(){return this.R};e.prototype.Cda=function(){var b=0,h=0;this.he.forEach(function(g){g.D8a();b=Math.max(g.kGa,b);h=Math.max(g.jGa,h)});this.JH=b+2*this.Fta;this.IH=h+2*
3017this.Fta;var f=0,c=0,d=0;this.KN=20;20<this.he.length&&(this.KN=Math.ceil(this.he.length/Math.ceil(this.he.length/20)));this.he.forEach(function(g){d>=this.KN&&(d=0,c+=this.JH,f=0);g.left=c;g.top=f;g.hGa=c+.5*this.JH;g.iGa=f+.5*this.IH;g.width=this.JH;g.height=this.IH;d+=1;f+=this.IH}.bind(this));this.zf=Math.ceil(this.he.length/this.KN)*this.JH;this.Nh=Math.min(this.KN,this.he.length)*this.IH};e.prototype.update=function(){for(var b=!1,h=0;h<this.he.length;h++)this.he[h].P6a(this.zta==h?"over":this.Ve==
3018h?"selected":"normal"),b=this.he[h].w0a(this.za)||b;return b};e.prototype.pAa=function(b,h){var f=-1;0<=b&&b<this.zf&&0<=h&&h<this.Nh&&(f=Math.floor(b/this.JH)*this.KN+Math.floor(h/this.IH
3018),f>=this.he.length&&(f=-1));return f};e.prototype.hia=function(b){this.zta=b};e.prototype.TK=function(b){this.Ve=b};e.prototype.clear=function(){this.he=this.R=this.za=this.zb=null};return e});
3019define("by","require lE kS pg jN dm fl oI bG oB".split(" "),function(a){function e(n,r,u){n=(r-n)*(1-u);1E-5>Math.abs(n)&&(n=0);return r-n}var l=a("lE"),m=a("kS"),k=a("pg"),b=a("jN"),h=a("dm"),f=a("fl"),c=a("oI"),d=a("bG"),g=a("oB");a=l.extend(b,function(n){b.call(this);this.zb=n;this.uq=this.uq.bind(this);this.Co=this.R=null;this.vw=this.En=this.lba=this.ew=void 0;this.Lma=20;this.kg=null;this.Rb=this.zb.get("opacity",.5);this.KO=this.zb.get("rollOverOpacity",this.Rb);this.KRa=1;this.MRa=.66;this.set("tag",
3020"MenuButton");this.set("visible",!1);this.set("over",!1);this.set("centerDistance",void 0)});a.prototype.Pb=function(){b.prototype.Pb.call(this);m.da(this.zb,["label"],this.uq,!0)};a.prototype.Tb=function(){m.ba(this.zb,["label"],this.uq);b.prototype.Tb.call(this)};a.prototype.uq=function(){this.R=null};a.prototype.ha=function(n){this.Yq(n);this.qg(n);this.mE(n);this.sf(n);this.ce(n);b.prototype.ha.call(this,n)};a.prototype.Yq=function(n){n.xb&&!this.Co&&g.getType()==g.Eu.pl&&this.ah([this.Co=new b])};
3021a.prototype.qg=function(){this.get("visible")&&(this.R||(this.get("textureSource")||this.set("textureSource",new f),this.R=new h(this.zb,[this.zb]),this.get("textureSource").Cm(this.R.fg()),this.set("contentWidth",this.R.je()),this.set("contentHeight",this.R.Ye()),this.set("hfov",2*Math.atan2(.5*this.R.je(),300)*q),this.set("distance",this.zb.get("distance"))),this.R.update()&&(this.get("textureSource").update(),this.Da()),this.O("over")&&this.R.hia(this.get("over")?0:-1))};a.prototype.mE=function(n){this.O("visible")&&
3022(this.kg=new c("linear",[new d("displayCoef",this.get("visible")?0:1,this.get("visible")?1:0,void 0)],300));this.kg&&(this.kg.Ze()?this.kg=null:this.kg.Cb(n.Ie))};a.prototype.sf=function(n){if(this.get("visible")||this.kg){this.En=n.Ra;this.vw=Math.min(90,Math.max(-90,this.Lma+this.Lma-n.pitch));if(this.O("visible")&&this.get("visible"))this.set("yaw",n.Ra),this.set("pitch",n.pitch);else{for(;this.En+180<this.ew;)this.ew-=360;for(;this.En-180>this.ew;)this.ew+=360;var r=(this.En-this.ew)/n.Ie,u=(this.vw-
3023this.lba)/n.Ie,t=Math.atan2(u,r);u=Math.sqrt(u*u+r*r);u=Math.min(u,10*p);r=Math.cos(t)*u;t=Math.sin(t)*u;this.set("yaw",e(this.get("yaw"),this.En+r,.02));this.set("pitch",e(this.get("pitch"),this.vw+t,.02))}this.ew=this.En;this.lba=this.vw;t=this.get("yaw")-n.Ra;n=this.get("pitch")-n.pitch;this.set("centerDistance",Math.sqrt(t*t+n*n))}};a.prototype.ce=function(){if(!this.get("visible")&&!this.kg)this.set("alpha",0);else if(this.O("over","centerDistance")||this.kg){var n=this.get("over")?this.KO:this.Rb,
3024r=this.MRa,u=this.get("centerDistance")/this.get("hfov");1>u&&(r+=(1-u)*(this.KRa-r),n+=(1-u)*(this.KO-n));this.kg&&(n*=this.kg.fb("displayCoef"),r*=this.kg.fb("displayCoef"));this.set("alpha",n);this.set("scale",r)}};a.prototype.Bm=function(n){if(n.mf==k.tl){var r=!1;this.get("visible")&&!n.Yk()&&(r=0<this.sv(n.Lq).length);r&&(n.jA(this.zb),n.yE(this.zb),n.Xk(this.get("distance")));this.get("over")!=r&&(this.get("over")&&this.zb.trigger(k.Vb),this.set("over",r),this.get("over")&&this.zb.trigger(k.cd))}else n.mf==
3025k.Lf&&this.get("visible")&&!n.Yk()&&0<this.sv(n.Lq).length&&(n.Hr(this.zb),this.zb.trigger(k.qa),this.trigger(k.qa))};var p=Math.PI/180,q=180/Math.PI;return a});
3026define("jR","require lE kS pg jN dm fl oI bG oB".split(" "),function(a){var e=a("lE"),l=a("kS"),m=a("pg"),k=a("jN"),b=a("dm"),h=a("fl"),f=a("oI"),c=a("bG"),d=a("oB");a=e.extend(k,function(p,q){k.call(this);this.zb=p;this.pz=q;this.uq=this.uq.bind(this);this.R=null;this.lba=this.ew=void 0;this.kg=null;this.Rb=this.zb.get("opacity",.5);this.KO=this.zb.get("rollOverOpacity",this.Rb);this.set("textureSource",new h);this.set("tag","MenuPanel");this.set("overIndex",-1);this.set("selectedIndex",-1);this.Lna=
3027!1});a.prototype.Pb=function(){k.prototype.Pb.call(this);l.da(this.zb,["label"],this.uq,!0);this.pz.forEach(function(p){l.da(p,["label"],this.uq,!0)}.bind(this))};a.prototype.Tb=function(){l.ba(this.zb,["label"],this.uq);this.pz.forEach(function(p){l.ba(p,["label"],this.uq)}
3027.bind(this));k.prototype.Tb.call(this)};a.prototype.uq=function(){this.R=null};a.prototype.ha=function(p){this.Yq(p);this.qg(p);this.mE(p);this.sf(p);k.prototype.ha.call(this,p)};a.prototype.xMa=function(){this.R||(this.R=new b(this.zb,
3028this.pz),this.get("textureSource").Cm(this.R.fg()),this.set("contentWidth",this.R.je()),this.set("contentHeight",this.R.Ye()),this.set("hfov",2*Math.atan2(.5*this.R.je(),300)*g),this.set("distance",this.zb.get("distance")))};a.prototype.qg=function(){this.R||this.xMa();this.O("selectedIndex")&&this.R.hia(this.get("selectedIndex"));this.O("overIndex")&&this.R.hia(this.get("overIndex"));this.R.update()&&(this.get("textureSource").update(),this.Da())};a.prototype.Yq=function(p){p.xb&&!this.Co&&d.getType()==
3029d.Eu.pl&&this.ah([this.Co=new k])};a.prototype.mE=function(p){this.kg||this.Lna||(this.kg=new f("linear",[new c("alpha",0,1,void 0),new c("scale",0,1,void 0),new c("yaw",p.Ra,this.get("yaw"),void 0),new c("pitch",p.pitch,this.get("pitch"),void 0)],300));this.kg&&(this.kg.Ze()?(this.Lna=!0,this.kg=null):this.kg.Cb(p.Ie))};a.prototype.sf=function(){if(this.kg){var p=0>this.get("overIndex")?this.Rb:this.KO;this.set("alpha",p*this.kg.fb("alpha"));this.set("scale",this.kg.fb("scale"));this.set("yaw",this.kg.fb("yaw"));
3030this.set("pitch",this.kg.fb("pitch"))}else this.O("overIndex")&&(p=0>this.get("overIndex")?this.Rb:this.KO,this.set("alpha",p))};a.prototype.Bm=function(p){if(p.mf==m.tl){var q=-1;if(!p.Yk()){var n=this.sv(p.Lq).filter(function(r){return r.source==this.R.fg()}.bind(this));0<n.length&&(q=this.R.pAa(n[0].x,n[0].y))}0<=q&&(p.jA(this.pz[q]),p.yE(this.pz[q]),p.Xk(this.get("distance")));0<=this.get("overIndex")!=0<=q&&(0<q?this.trigger(m.cd):this.trigger(m.Vb));this.get("overIndex")!=q&&(0<=this.get("overIndex")&&
3031this.pz[this.get("overIndex")].trigger(m.Vb),this.set("overIndex",q),0<=this.get("overIndex")&&this.pz[this.get("overIndex")].trigger(m.cd))}else p.mf!=m.Lf||p.Yk()||(n=this.sv(p.Lq).filter(function(r){return r.source==this.R.fg()}.bind(this)),0<n.length&&(q=this.R.pAa(n[0].x,n[0].y),0<=q&&(n=this.pz[q],this.set("selectedIndex",q),p.Hr(n),p.Xk(this.get("distance")),n.trigger(m.qa),this.trigger(m.qa,{item:n}))))};var g=180/Math.PI;return a});
3032define("iJ",["require","lE","pg","jq","jR"],function(a){var e=a("lE"),l=a("pg"),m=a("jq"),k=a("jR");a=e.extend(m,function(f){m.call(this);this.zb=f;this.Ez=[];this.mI=null;this.set("tag","MenuPanels");this.set("visible",!1)});a.prototype.ha=function(f){this.O("visible")&&this.get("visible")&&(this.set("yaw",f.Ra),this.set("pitch",f.pitch),this.Sla(this.zb));m.prototype.ha.call(this,f)};a.prototype.Sla=function(f){f=new k(this.zb,f.get("children",[]));var c=this.get("yaw");this.mb().forEach(function(d){c+=
3033d.get("hfov")+h});f.set("yaw",c);f.set("pitch",this.get("pitch"));this.VJa(f);this.appendChild(f)};a.prototype.xua=function(f){this.mb().slice(f).forEach(function(c){this.sUa(c);c.remove()}.bind(this));this.Ez=this.Ez.filter(function(c){return 0<=this.mb().indexOf(c)}.bind(this))};a.prototype.VJa=function(f){f.bind(l.cd,this.Kta,this,!0);f.bind(l.Vb,this.Jta,this,!0);f.bind(l.qa,this.Ita,this,!0)};a.prototype.sUa=function(f){f.unbind(l.cd,this.Kta,this,!0);f.unbind(l.Vb,this.Jta,this,!0);f.unbind(l.qa,
3034this.Ita,this,!0)};a.prototype.Kta=function(f){0>this.Ez.indexOf(f.source)&&(this.Ez.push(f.source),1==this.Ez.length&&this.Zma())};a.prototype.Jta=function(f){f=this.Ez.indexOf(f.source);0<=f&&(this.Ez.splice(f,1),0==this.Ez.length&&this.SVa())};a.prototype.Ita=function(f){var c=f.source;f=f.data.item;f.get("children",[]).length?(this.xua(this.mb().indexOf(c)+1),this.Sla(f)):this.cna()};a.prototype.cna=function(){this.set("visible",!1);this.xua(0);this.Zma();this.trigger(l.WF)};a.prototype.Zma=function(){this.mI&&
3035(clearTimeout(this.mI),this.mI=null)};a.prototype.SVa=function(){this.mI||(this.mI=setTimeout(function(){this.mI=null;this.cna()}.bind(this),b))};var b=3E3,h=1;return a});
3036define("go","require lE pg jq by iJ".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("jq"),k=a("by"),b=a("iJ");a=e.extend(m,function(h){m.call(this);this.u=h;this.zk.push(this.u);this.set("tag","Menu");this.set("visible",!1);this.Ad=new k(this.u);this.Ad.bind(l.qa,this.eLa,this,!1);this.Yh=new b(this.u);this.Yh.bind(l.WF,this.vTa,this,!1);this.ah([this.Ad,this.Yh])});a.prototype.Pb=function(){m.prototype.Pb.call(this);this.trigger(l.bd);this.trigger(l.Z)};a.prototype.ha=function(h){this.set("visible",
3037h.xb);this.O("visible")&&(this.Ad.set("visible",this.get("visible")),this.Yh.set("visible",!1));m.prototype.ha.call(this,h)};a.prototype.eLa=function(){this.Ad.set("visible",!1);this.Yh.set("visible",!0)};a.prototype.vTa=function(){this.Ad.set("visible",this.get("visible"))};return a});
3038define("oY","require lE pg jN fl oz lF".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("jN"),k=a("fl"),b=a("oz"),h=a("lF");a=e.extend(m,function(){m.call(this);this.set("tag","CustomPlane");this.set("source",null);this.set("sourceUpdated",!1);this.ae=this.Qg=null});a.prototype.Pb=function(){this.Qg=(new b(l.Z)).Em(this.tq.bind(this));this.ae=(new b(l.Z)).kp(this.Yv.bind(this));m.prototype.Pb.call(this)};a.prototype.Tb=function(){this.Qg.dispose();this.ae.dispose();m.prototype.Tb.call(this)};a.prototype.ha=
3039function(f){if(this.O("source","sourceUpdated")){var c=this.get("textureSource");c||this.set("textureSource",c=new k);this.O("source")&&c.Cm(this.get("source"));this.O("sourceUpdated")&&(c.update(),this.set("sourceUpdated",!1))}m.prototype.ha.call(this,f);this.O("meshGroup")&&(f=(f=this.get("meshGroup"))&&f.children||[],f.length&&(this.Qg.xf(f),this.ae.xf(f)))};a.prototype.tq=function(){this.trigger(l.bd);this.trigger(l.Z)};a.prototype.Yv=function(f,c){var d=0;
3039c.Et(function(g){(g=c.um(g))&&(d+=g.Yg)});
3040this.trigger(new h(l.kc,d/c.ed.length))};return a});
3041define("hp","require lE kS pg jv jq oY md do bu".split(" "),function(a){function e(n,r,u){this.gl=n;this.gl.bind(k.F("distanceToFloor"),this.ha,this,!1);this.Wj=r;this.Wj.bind(k.F("yaw"),this.ha,this,!1);this.Wj.bind(k.F("distance"),this.ha,this,!1);this.Wj.bind(k.F("enabled"),this.ha,this,!1);this.Wj.bind(k.F("enabledInSurfaceSelection"),this.ha,this,!1);this.bb=null;this.Me=new f;this.Me.set("hfov",20);this.Me.set("vfov",20);this.Me.set("pitch",-90);this.Me.set("source",u.fg());this.Me.set("contentWidth",
3042u.je());this.Me.set("contentHeight",u.Ye());this.ha()}var l=a("lE"),m=a("kS"),k=a("pg"),b=a("jv"),h=a("jq"),f=a("oY"),c=a("md"),d=a("do"),g=a("bu");a=l.extend(h,function(n){h.call(this);this.tX=this.tX.bind(this);this.Ks=this.Ks.bind(this);this.qX=this.qX.bind(this);this.set("tag","SurfaceSelector");this.set("reticleVisible",!1);this.set("enabled",!1);this.ra=n;this.kU=[];this.PM=new g;this.Tj=new d;this.oe=new f;this.oe.set("hfov",20);this.oe.set("vfov",20);this.oe.set("pitch",-90);this.set("reticleCoef",
30431);this.ah([this.oe])});a.prototype.Pb=function(){this.WMa();h.prototype.Pb.call(this);m.da(this.ra,["distanceToFloor"],this.tX,!0);m.da(this.ra,["adjacentPanoramas"],this.Ks,!0);m.da(this.Ca.Xc,["adjacentPanoramaPositionsEnabled"],this.qX,!0);this.trigger(k.bd);this.trigger(k.Z)};a.prototype.Tb=function(){h.prototype.Tb.call(this);m.ba(this.ra,["distanceToFloor"],this.tX);m.ba(this.ra,["adjacentPanoramas"],this.Ks);m.ba(this.Ca.Xc,["adjacentPanoramaPositionsEnabled"],this.qX);this.fva([])};a.prototype.tX=
3044function(){var n=this.ra.get("distanceToFloor");this.oe.set("distance",n);n=b.Lt(n);var r=b.Rfa(n,90),u=b.Sfa(n,90);this.PM.Uf.set(.5*-r,-n,.5*-u);this.PM.rj.set(.5*r,-n,.5*-u);this.PM.LA.set(.5*-r,-n,.5*u);this.Iua=n/b.mr()};a.prototype.Ks=function(){this.fva(this.ra.get("adjacentPanoramas",[]))};a.prototype.qX=function(){this.Ks()};a.prototype.fva=function(n){this.kU.forEach(function(r){r.clear()});this.kU=n.map(function(r){return new e(this.ra,r,this.dba)}.bind(this));n=[];this.Ca.Xc.get("adjacentPanoramaPositionsEnabled")&&
3045(n=n.concat(this.kU.map(function(r){return r.Me})));n=n.concat([this.oe]);this.ah(n)};a.prototype.ha=function(n){h.prototype.ha.call(this,n);this.set("enabled",n.fT);this.Vda();this.gA(n)};a.prototype.Vda=function(){this.O("enabled","reticleVisible","composedTranslationX","composedTranslationY","composedTranslationZ","composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&&(this.oe.set("alpha",this.get("reticleVisible")?1:0),this.set("alpha",!this.get("enabled")||this.get("composedTranslationX")||
3046this.get("composedTranslationY")||this.get("composedTranslationZ")||this.get("composedDeltaYaw")||this.get("composedDeltaPitch")||this.get("composedDeltaRoll")?0:1),this.exa())};a.prototype.WMa=function(){this.GI=new c(this.Ca.L);this.GI.setPosition(this.get("reticleCoef"));this.oe.set("source",this.GI.fg());this.oe.set("contentWidth",this.GI.je());this.oe.set("contentHeight",this.GI.Ye());this.dba=new c(this.Ca.L);this.dba.setPosition(0);this.dba.update(1)};a.prototype.gA=function(n){this.O("reticleCoef")&&
3047this.GI.setPosition(this.get("reticleCoef"));this.oe.set("sourceUpdated",this.GI.update(n.Ie))};a.prototype.Bm=function(n){if(n.kRa)if(!this.get("enabled")||0==n.Lq.length||n.Yk()||n.Nn())this.set("reticleVisible",!1);else{var r=n.Lq[0];this.Tj.Uf.set(r.origin.x,r.origin.y,r.origin.z);this.Tj.rj.set(r.origin.x+r.direction.x,r.origin.y+r.direction.y,r.origin.z+r.direction.z);if(r=this.PM.intersection(this.Tj,!0)){var u=this.PM.j2(r,!0),t=2*(.5-u.x);u=2*(.5-u.y);var v=p*Math.atan2(-t,u),w=-90+p*Math.atan2(Math.sqrt(t*
3048t+u*u),1);if(-75>w||-1<w)this.set("reticleVisible",!1);else{var x={x:t*this.Iua,y:-u*this.Iua};n.Tt()||n.BBa()?n.mf==k.tl&&(this.set("reticleVisible",!0),this.oe.set("alpha",Math.min(1,(w- -75)/5)),this.oe.set("translationX",x.x),this.oe.set("translationZ",x.y)):this.set("reticleVisible",!1);var y=.5*this.Ca.Xc.get("surfaceSelectionHorizontalAngle"),z=.5*this.Ca.Xc.get("surfaceSelectionVerticalAngle");u=this.kU.map(function(C){return{Wj:C.Wj,PR:C.s1a(v),vertical:C.U1a(w),distance:C.I0(x)}}).filter(function(C){return C.PR<
3049y&&C.vertical<z});0==u.length?this.set("reticleCoef",0):(u.sort(function(C,A){return C.distance-A.distance}),t=u[0].Wj,this.set("reticleCoef",Math.max(0,Math.min(1,(1-u[0].PR/y)*(1-u[0].vertical/z)))),r=this.ra.get("distanceToFloor")*Math.sqrt(r.x*r.x+r.y*r.y+r.z*r.z)/-r.y,n.BBa()&&n.XZa([t]),n.Xk(r),n.mf==k.Lf?(n.Hr([t]),this.get("blendingActive")||t.trigger(k.Jp)):(n.jA([t]),n.Tt()&&n.yE([t]),(r=this.Ca.L.get("displayTooltipInSurfaceSelection")&&t.get("panorama")&&t.get("panorama").get("label"))&&
3050n.O_(r,0)))}}else this.set("reticleVisible",!1)}};e.prototype.clear=function(){this.gl.unbind(k.F("distanceToFloor"),this.ha,this,!1);this.gl=null;this.Wj.unbind(k.F("yaw"),this.ha,this,!1);this.Wj.unbind(k.F("distance"),this.ha,this,!1);this.Wj.unbind(k.F("enabled"),this.ha,this,!1);this.Wj.unbind(k.F("enabledInSurfaceSelection"),this.ha,this,!1);this.Wj=null};e.prototype.s1a=function(n){if(!this.bb)return Infinity;n=Math.abs(this.bb.Ra-n);return 180<n?360-n:n};e.prototype.U1a=function(n){return this.bb?
3051Math.abs(this.bb.pitch-n):Infinity};e.prototype.I0=function(n){if(!this.bJ)return Infinity;var r=n.x-this.bJ.x;n=n.y-this.bJ.y;return Math.sqrt(r*r+n*n)};e.prototype.ha=function(){var n=this.Wj.get("yaw"),r=this.Wj.get("distance"),u=this.Wj.get("enabled")&&this.Wj.get("enabledInSurfaceSelection");if(void 0!==n&&void 0!==r&&u){u=this.gl.get("distanceToFloor");var t=-90+Math.atan2(r,u)*p;this.Me.set("alpha",-1>t?1:0);this.bb={Ra:n,pitch:t};t=b.Lt(u)/b.mr();this.bJ={x:-Math.sin(n*q)*r/u*t,y:-Math.cos(n*
3052q)*r/u*t};this.Me.set("translationX",this.bJ.x);this.Me.set("translationZ",this.bJ.y);this.Me.set("distance",u)}else this.bJ=this.bb=null,this.Me.set("alpha",0)};var p=180/Math.PI,q=Math.PI/180;return a});
3053define("W","require lE kS pg lF jq jN hp oz nF jI oB".split(" "),function(a){var e=a("lE"),l=a("kS"),m=a("pg"),k=a("lF"),b=a("jq"),h=a("jN"),f=a("hp"),c=a("oz"),d=a("nF"),g=a("jI"),p=a("oB"),q=0;a=e.extend(b,function(u){b.call(this);this.u=u;this.zk.push(this.u);this.qD=this.qD.bind(this);this.$f=this.$f.bind(this);this.Ks=this.Ks.bind(this);this.Op(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","Panorama");this.set("loadingActive",!1);this.set("blendingActive",!0);this.set("currentTime",
30540);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.BY=[];this.Ho=this.ae=this.Cf=null;this.Uh=new n;this.dua=new r;this.iXa=new f(this.u);this.Bo=new r;this.ah([this.Uh,this.dua,this.iXa,this.Bo])});a.prototype.Pb=function(){this.Cf=(new c(m.Z)).Em(this.tq.bind(this));this.ae=(new c(m.kc)).kp(this.sD.bind(this));this.Ho=(new c(m.bd)).Em(this.oSa.bind(this));
3055b.prototype.Pb.call(this);this.get("blendingActive")&&this.Ca.set("globalBlendingActive",this.Ca.get("globalBlendingActive")+1);l.da(this.u,["currentTime"],this.qD,!0);l.da(this.u,["frames","overlays","vrMenu","flipImageHorizontally"],this.$f,!0);l.da(this.u,["adjacentPanoramas"],this.Ks,!0)};a.prototype.Tb=function(){this.Cf.dispose();this.ae.dispose();this.Ho.dispose();this.get("blendingActive")&&this.Ca.set("globalBlendingActive",this.Ca.get("globalBlendingActive")-1);b.prototype.Tb.call(this);
3056l.ba(this.u,["currentTime"],this.qD);l.ba(this.u,["frames","overlays","vrMenu","flipImageHorizontally"],this.$f);l.ba(this.u,["adjacentPanoramas"],this.Ks);this.Fca()};a.prototype.$f=function(){function u(C,A,B){C=y.indexOf(C);return 0>C?B:w[C].get(A,B)}function t(C){return u(C,"projected",!1)}var v=this.Ca.Vw(this.u.get("frames"));v.forEach(function(C){C.set("panoramaId",this.get("id"));C.set("flipHorizontally",this.u.get("flipImageHorizontally"))}.bind(this));var w=this.u.get("overlays"),x=this.Ca.Vw(w),
3057y=x.slice(),z=x.filter(t).filter(function(C){return u(C,"enabled",!0)});this.u.get("vrMenu")&&x.push(this.Ca.Vw(this.u.get("vrMenu")));x.forEach(function(C){C.set("panoramaId",this.get("id"))}.bind(this));this.Cf.xf(v.concat(x));this.ae.xf(v.concat(x));this.Ho.xf(v.concat(z));this.dua.ah(x.filter(t));this.Uh.ah(v);this.Bo.ah(x.filter(function(C){return!t(C)}));this.set("panoramaPixelsPerDegree",d.yAa(this.u));this.lxa()};a.prototype.qD=function(){this.set("currentTime",this.u.get("currentTime",0))};
3058a.prototype.Ks=function(){this.set("adjacentPanoramas",this.u.get("adjacentPanoramas",[]))};a.prototype.tq=function(){this.lj();this.trigger(m.Z)};a.prototype.oSa=function(){this.lj();this.set("ready",!0);this.trigger(m.bd)};a.prototype.sD=function(){this.lj()};a.prototype.lj=function(){var u=0;this.ae.Et(function(t){var v=0,w;this.Cf.um(t)?v=100:(w=this.ae.um(t))&&(v=w.Yg);u+=v}.bind(this));this.trigger(new k(m.kc,u/this.ae.ed.length))};a.prototype.ha=function(u){u.xb&&!this.Co&&p.getType()==p.Eu.pl&&
3059this.ah([this.Co=new h].concat(this.mb()));var t=this.get("blendingActive");this.set("blendingActive",1>this.get("alpha"));t!=this.get("blendingActive")&&this.Ca.set("globalBlendingActive",this.Ca.get("globalBlendingActive")+(this.get("blendingActive")?1:-1));this.set("backgroundPreloadEnabled",!1!==this.Ca.vc.get("backgroundPreloadEnabled"));this.set("preloadEnabled",u.vS);this.O("adjacentPanoramas","loadingActive","preloadEnabled","backgroundPreloadEnabled")&&(this.get("loadingActive")&&this.get("backgroundPreloadEnabled")?
3060this.OWa():this.Fca());this.O("index")&&this.lxa();b.prototype.ha.call(this,u)};a.prototype.gga=function(){return d.gga(this.u,this.get("preloadEnabled"))};a.prototype.oha=function(){return d.oha(this.u,this.get("preloadEnabled"))};a.prototype.OWa=function(){this.Fca();this.BY=this.get("adjacentPanoramas").map(function(u){u=u.get("panorama");return[u,d.Kn(u,this.get("preloadEnabled"))]}.bind(this));this.BY.forEach(function(u){g.sya(u[0],u[1]);g.D1(u[0],1)})};a.prototype.Fca=function(){this.BY.forEach(function(u){g.D1(u[0],
3061-1);g.S4a(u[0],u[1])});this.BY=[]};a.prototype.lxa=function(){var u=this.get("index");
3061this.Uh.mb().forEach(function(t,v,w){t.set("panoramaIndex",u);t.set("frameIndex",v);t.set("frameCount",w.length)})};var n=e.extend(b,function(){b.call(this);this.Op(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("loadingActive",!1);this.set("currentTime",0);this.set("tag","Group")});n.prototype.ha=function(u){this.mb().forEach(function(t,v,w){t.set("frontFrame",w[w.length-1])});b.prototype.ha.call(this,
3062u)};var r=e.extend(b,function(){b.call(this);this.Op(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("loadingActive",!1);this.set("currentTime",0);this.set("tag","Group")});return a});
3063define("jF",["require","lE","fI","ew"],function(a){var e=a("lE"),l=a("fI"),m=a("ew"),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.ha=function(b){l.prototype.ha.call(this,b);this.oE()};a.prototype.sE=function(){if(this.O("panoramaIndex","frameIndex","frameCount","meshGroup")){var b=this.get("meshGroup");if(b){var h=this.get("panoramaIndex"),f=this.get("frameIndex"),
3064c=this.get("frameCount"),d=b.children.length;b.children.forEach(function(g,p){m.K2(g,h+(p+f/c)/d)}.bind(this))}}};a.prototype.oE=function(){if(this.O("meshGroup","panoramaId","id")){var b=this.get("meshGroup");b&&b.children.forEach(function(h,f){m.setAttribute(h,m.lB,this.get("panoramaId"));m.setAttribute(h,m.t3,f);m.setAttribute(h,m.RF,this.get("id"))}.bind(this))}};return a});
3065define("on","require lE kS pg ik jq jF oz nF fF kJ lF".split(" "),function(a){var e=a("lE"),l=a("kS"),m=a("pg"),k=a("ik"),b=a("jq"),h=a("jF"),f=a("oz"),c=a("nF"),d=a("fF"),g=a("kJ"),p=a("lF");a=e.extend(h,function(n){h.call(this);this.set("tag","ImagePanoramaFrame");this.Vta=!0;this.u=n;this.zk.push(this.u);this.Mk=this.Qg=this.Ho=null;this.v$=[];this.$f=this.$f.bind(this);this.Op(["loadingActive","currentTime","panoramaId","panoramaPixelsPerDegree"]);this.ah([this.Bo=new q])});a.prototype.Pb=function(){this.Ho=
3066new f(m.Z);this.Qg=new f(m.Z);this.Mk=new f(m.kc);h.prototype.Pb.call(this);l.da(this.u,["overlays"],this.$f,!0)};a.prototype.Tb=function(){this.Ho.dispose();this.Qg.dispose();this.Mk.dispose();l.ba(this.u,["overlays"],this.$f);h.prototype.Tb.call(this)};a.prototype.$f=function(){this.Bo.ah(this.Ca.Vw(this.u.get("overlays")));this.Ywa()};a.prototype.Ywa=function(){this.Qg.xf([].concat(this.v$,this.Bo.mb()));this.Mk.xf([].concat(this.v$,this.Bo.mb()))};a.prototype.ho=function(){var n=[],r=[],u=[];
3067c.Mfa(this.u,this.Vta).forEach(function(t,v){var w=d.$_a(this.u,t);c.X2a(t)?(0==v&&(n=n.concat(w),r=r.concat(w)),g.sx(w,0==v?g.Xr:g.MT),g.qx(w,0==v?g.Dp:g.D4)):(0==v&&(n=n.concat(w)),r=r.concat(w),g.sx(w,g.Xr),g.qx(w,g.Dp));g.CF(w,0==v?k.N4:k.ql);g.XS(w,v);u=u.concat(w)}.bind(this));this.Ho.xf(n);this.v$=r;this.Ywa();this.Qg.Em(this.tq.bind(this));this.Ho.Em(this.TSa.bind(this));this.Mk.kp(this.sD.bind(this));this.trigger(new p(m.kc,0));return u};a.prototype.TSa=function(){this.trigger(m.bd)};a.prototype.tq=
3068function(){this.trigger(m.Z)};a.prototype.ha=function(n){this.Vta=n.vS;this.SYa();h.prototype.ha.call(this,n)};a.prototype.SYa=function(){var n=this.get("frontFrame");if(this.O("frontFrame")||n&&n.O("alpha"))n=n&&n!=this?1-n.get("alpha"):1,this.Bo.set("alpha",n)};a.prototype.sD=function(){var n=0;this.Mk.Et(function(r){var u=0,t;this.Qg.um(r)?u=100:(t=this.Mk.um(r))&&(u=t.Yg);n+=u}.bind(this));this.trigger(new p(m.kc,n/this.Mk.ed.length))};var q=e.extend(b,function(){b.call(this);this.Op(["loadingActive",
3069"panoramaId","panoramaPixelsPerDegree"]);this.set("loadingActive",!1);this.set("tag","Group")});return a});
3070define("gL","require lE pg jN nf oz lF".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("jN"),k=a("nf"),b=a("oz"),h=a("lF");a=e.extend(m,function(){m.call(this);this.set("tag","ImagePlane");this.set("url",null);this.ae=this.Cf=null});a.prototype.Pb=function(){this.Cf=(new b(l.Z)).Em(this.tq.bind(this));this.ae=(new b(l.kc)).kp(this.Yv.bind(this));m.prototype.Pb.call(this)};a.prototype.Tb=function(){this.Cf.dispose();this.ae.dispose();m.prototype.Tb.call(this)};a.prototype.ha=function(f){if(this.O("url")){var c=
3071this.get("url");c=c?new k(c):null;this.set("textureSource",c)}m.prototype.ha.call(this,f);this.O("meshGroup")&&(f=(f=this.get("meshGroup"))&&f.children||[],f.length&&(this.Cf.xf(f),this.ae.xf(f)))};a.prototype.tq=function(){this.trigger(l.bd);this.trigger(l.Z)};a.prototype.Yv=function(f,c){var d=0;
3071c.Et(function(g){(g=c.um(g))&&(d+=g.Yg)});this.trigger(new h(l.kc,d/c.ed.length))};return a});
3072define("mH","require en pg cC lg oC".split(" "),function(a){function e(c,d){this.zd=c;this.ga=d;this.Kk=!1;this.Xi=[];this.Vm=this.ZG=void 0;this.Ae=[];this.YKa();this.W6();this.JZ();this.Di()}function l(c,d,g){this.time=c;this.cue=d;this.action=g}var m=a("en"),k=a("pg"),b=a("cC"),h=a("lg"),f=a("oC");e.prototype.clear=function(){this.hM();this.Xi=[];this.eYa();this.ga=this.zd=null};e.prototype.YKa=function(){this.ga.bind(f.Kf,this.ff,this,!0);this.ga.bind(k.re,this.Di,this,!0);this.ga.bind(k.Bb,this.Cz,
3073this,!0)};e.prototype.eYa=function(){this.ga.unbind(f.Kf,this.ff,this,!0);this.ga.unbind(k.re,this.Di,this,!0);this.ga.unbind(k.Bb,this.Cz,this,!0)};e.prototype.Di=function(){var c=this.ga.getState()!=h.W;this.Kk!=c&&((this.Kk=c)?this.JZ():this.hM())};e.prototype.Cz=function(){this.vE()};e.prototype.ff=function(){this.vE()};e.prototype.JZ=function(){this.Vm=this.ZG=0};e.prototype.vE=function(){if(this.ga&&this.Kk){var c=this.Ae.slice(),d=this.ga.getCurrentTime(),g=d-this.ZG;0>g&&(this.Ae=[],this.Vm=
30740);g=0<=g&&2>g;this.ZG=d;var p;for(p=this.Vm;p<this.Xi.length&&!(this.Xi[p].time>d);p++);for(;this.Vm<p;this.Vm++)d=this.Xi[this.Vm],"start"==d.action?(this.Ae=m(this.Ae).union([d.cue]),g&&d.cue.trigger(new b(k.Qr))):(this.Ae=m(this.Ae).difference([d.cue]),g&&d.cue.trigger(new b(k.Bb)));c.length==this.Ae.length&&m(c).intersection(this.Ae).length==this.Ae.length||this.lQ()}};e.prototype.hM=function(){0<this.Ae.length&&(this.Ae=[],this.lQ())};e.prototype.lQ=function(){this.zd.trigger(new b(k.jk,{activeCues:this.Ae.slice()}))};
3075e.prototype.W6=function(){this.Xi=[];var c=this.zd.get("cues",[]);m(c).each(function(d){this.Xi.push(new l(d.get("startTime",0),d,"start"));this.Xi.push(new l(d.get("endTime",Number.POSITIVE_INFINITY),d,"end"))},this);this.Xi.sort(function(d,g){return d.time==g.time?d.action==g.start?0:"start"==d.action?-1:1:d.time-g.time})};return e});
3076define("mc",["require","pg","lg","cC","oC"],function(a){function e(h,f,c){this.vc=h;this.zd=f;this.ga=c;this.ga.setCurrentTime(this.Zf=this.zd.get("currentTime",0));this.ga.Jf(this.pf=this.vc.get("mute",!1));this.ga.Mc(this.C=this.zd.get("state",m.W));this.ga.setLoop(this.Ll=this.zd.get("loop"));this.Qb=this.ga.oj();this.WJa();this.dKa();this.Ku()}var l=a("pg"),m=a("lg"),k=a("cC"),b=a("oC");e.prototype.clear=function(){this.tUa();this.zUa();this.iw();this.ga.Mc(m.W);this.zd.set("state",m.W);this.zd.set("currentTime",
30770);this.zd.set("duration",void 0)};e.prototype.vta=function(){var h=this.zd.get("state",m.W);this.C!=h&&this.ga.Mc(this.C=h)};e.prototype.tta=function(){var h=this.zd.get("currentTime",0);this.Zf!=h&&this.ga.setCurrentTime(this.Zf=h)};e.prototype.AO=function(){var h=this.vc.get("mute",0);this.pf!=h&&this.ga.Jf(this.pf=h)};e.prototype.uta=function(){var h=this.zd.get("loop");this.Ll!=h&&this.ga.setLoop(this.Ll=h)};e.prototype.HO=function(){this.zd.set("currentTime",this.Zf=this.ga.getCurrentTime())};
3078e.prototype.FO=function(){this.zd.set("duration",this.Qb=this.ga.oj())};e.prototype.GO=function(){this.zd.set("state",this.C=this.ga.getState())};e.prototype.IO=function(){this.zd.trigger(new k(l.Bb))};e.prototype.WJa=function(){this.vc.bind(l.F("mute"),this.AO,this,!0)};e.prototype.tUa=function(){this.vc.unbind(l.F("mute"),this.AO,this,!0)};e.prototype.dKa=function(){this.zd.bind(l.F("state"),this.vta,this,!0);this.zd.bind(l.F("currentTime"),this.tta,this,!0);this.zd.bind(l.F("loop"),this.uta,this,
3079!0)};e.prototype.zUa=function(){this.zd.unbind(l.F("state"),this.vta,this,!0);this.zd.unbind(l.F("currentTime"),this.tta,this,!0);this.zd.unbind(l.F("loop"),this.uta,this,!0)};e.prototype.Ku=function(){this.ga.bind(b.Kf,this.HO,this,!0);this.ga.bind(b.Qi,this.FO,this,!0);this.ga.bind(l.re,this.GO,this,!0);this.ga.bind(l.Bb,this.IO,this,!0)};e.prototype.iw=function(){this.ga.unbind(b.Kf,this.HO,this,!0);this.ga.unbind(b.Qi,this.FO,this,!0);this.ga.unbind(l.re,this.GO,this,!0);this.ga.unbind(l.Bb,this.IO,
3080this,!0)};return e});
3081define("dS","require lE pg ik lg gL jF oz fF mH mc cb ew kJ v kB oC lF cf oI bG".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("ik"),k=a("lg"),b=a("gL"),h=a("jF"),f=a("oz"),c=a("fF"),d=a("mH"),g=a("mc"),p=a("cb"),q=a("ew"),n=a("kJ"),r=a("v"),u=a("kB"),t=a("oC"),v=a("lF"),w=a("cf"),x=a("oI"),y=a("bG");a=e.extend(h,function(E){h.call(this);this.u=E;this.zk.push(this.u);this.Op(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","VideoPanoramaFrame");this.set("frameEmpty",void 0);
3082this.set("atStart",void 0);p.get(this.u)==p.Ep?this.kea=this.u.get("sphere"):this.kea=this.u.get("stereoSphere");this.Kk=!1;this.ab=t.Zj(this.kea);
3082this.Saa=this.Kna=!1;this.pJ=[];this.HD=[];this.wn=this.Jk=this.Mk=this.Qg=this.Wg=this.ga=null;this.Zl=!1;this.xqa=this.hz=this.iz=0});a.prototype.Pb=function(){this.Qg=(new f(l.Z)).Em(this.tq.bind(this));this.Mk=(new f(l.kc)).kp(this.sD.bind(this));this.ga=new t(this.Ca.vc,this.kea);this.Zp=new d(this.u.wA(),this.ga);this.Ja=new g(this.Ca.vc,this.u.wA(),
3083this.ga);this.gm=new u(this.u.wA(),this.ga);this.Ku();this.aNa();this.Kna=this.Ca.Xc.get("displayPlayOverlay");this.Saa="play_pause"==this.Ca.Xc.get("clickAction");var E=this.Ca.wf(this.u.wA());E.appendChild(this.Jk);E.appendChild(this.wn);h.prototype.Pb.call(this)};a.prototype.Tb=function(){this.Qg.dispose();this.Mk.dispose();this.iw();this.Zp.clear();this.Zp=null;this.Ja.clear();this.Ja=null;this.gm.clear();this.gm=null;this.ga.clear();this.Wg=this.ga=null;this.Tna();h.prototype.Tb.call(this)};
3084a.prototype.aNa=function(){this.Tna();this.Jk=this.wna(w.ey,w.O4,w.CIa);this.wn=this.wna(w.jG,w.yIa,w.xIa)};a.prototype.wna=function(E,G,K){var I=new b;I.set("url",E);I.set("contentWidth",G);I.set("contentHeight",K);I.set("hfov",10);I.set("yaw",0);I.set("pitch",0);I.set("alpha",0);return I};a.prototype.Tna=function(){this.Jk&&(this.Jk.remove(),this.Jk=null);this.wn&&(this.wn.remove(),this.wn=null)};a.prototype.ho=function(){this.pJ=c.i0a(this.u,this.ab);this.AZa=n.OF(q.vA(this.pJ[0])[0]);this.pJ.forEach(function(G){n.sx(G,
3085n.Xr);n.qx(G,n.Dp)});this.ab.get("posterURL")?(this.HD=c.j0a(this.u,this.ab),this.HD.forEach(function(G){n.sx(G,n.Xr);n.qx(G,n.Dp);n.CF(G,m.N4)})):this.HD=[];var E=[].concat(this.pJ,this.HD);this.Qg.xf(E);this.Mk.xf(E);this.trigger(new v(l.kc,0));return E};a.prototype.ha=function(E){this.VYa(E);var G=this.ga.H0();this.set("frameEmpty",G.isEmpty());this.set("atStart",!(1<this.get("currentTime")));h.prototype.ha.call(this,E);this.Wg&&this.Wg.isEqual(G)?this.ga.getState()==k.Y&&this.Da():(this.Wg=G,
3086this.AZa.Cm(this.Wg.ys),this.Da())};a.prototype.km=function(){this.O("composedAlpha","meshGroup","frameEmpty","atStart")&&(this.HD.length&&this.get("frameEmpty")&&this.get("atStart")?(this.HD.forEach(function(E){q.$e(E,this.get("composedAlpha"))}.bind(this)),this.pJ.forEach(function(E){q.$e(E,0)}.bind(this))):(this.HD.forEach(function(E){q.$e(E,0)}.bind(this)),this.pJ.forEach(function(E){q.$e(E,this.get("composedAlpha"))}.bind(this))))};a.prototype.tq=function(){this.trigger(l.bd);this.trigger(l.Z)};
3087a.prototype.sD=function(E,G){var K=0;G.Et(function(I){(I=G.um(I))&&(K+=I.Yg)});this.trigger(new v(l.kc,K/G.ed.length))};a.prototype.Di=function(){this.Da()};a.prototype.ff=function(){this.Da()};a.prototype.Bm=function(E){if(E.mf==l.Lf&&!E.Yk()&&this.Saa&&(E.Hr(this.u),E=Date.now(),!(500>E-this.xqa))){this.xqa=E;E=this.u.wA();var G=E.get("state");G==k.Y?E.set("state",k.Ib):G==k.Ib&&E.set("state",k.Y)}};a.prototype.VYa=function(E){if(this.Saa){if(this.Zl!=(this.ga.getState()==k.Ib))if(this.Zl=!this.Zl,
3088this.Kna){var G=this.Jk.get("alpha"),K=this.Zl?1:0;this.bw=new x("linear",[new y("playAlpha",G,K),new y("playScale",E.xb?1.5:1,E.xb?1.5:1),new y("pauseAlpha",0,0),new y("pauseScale",1,1)],Math.abs(K-G)*z);this.Jk.zh()}else this.bw=new x("linear",this.Zl?[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)],C),this.Jk.zh(),this.wn.zh();this.bw&&(this.bw.Cb(E.Ie),
3089G=this.bw.fb("playAlpha"),this.Jk.set("alpha",1>G?G:2-G),this.Jk.set("scale",this.bw.fb("playScale")),G=this.bw.fb("pauseAlpha"),this.wn.set("alpha",1>G?G:2-G),this.wn.set("scale",this.bw.fb("pauseScale")),this.Da(),this.bw.Ze()&&(this.bw=null));0<this.Jk.get("alpha")&&(this.get("globalBlendingActive")&&this.Jk.set("alpha",0),this.Jk.set("yaw",E.Ra),this.Jk.set("pitch",E.pitch),this.Jk.set("hfov",this.ypa(E)));0<this.wn.get("alpha")&&(this.get("globalBlendingActive")&&this.wn.set("alpha",0),this.wn.set("yaw",
3090E.Ra),this.wn.set("pitch",E.pitch),this.wn.set("hfov",this.ypa(E)))}};var z=300,C=600;a.prototype.ypa=function(E){return E.xb?15:2*Math.atan((r.nb()?Math.min(E.width,E.height)/100*20:w.O4)*Math.tan(E.Je*A*.5)/E.width)*B};var A=Math.PI/180,B=180/Math.PI;a.prototype.Ku=function(){this.ga.bind(t.Kf,this.ff,this,!0);this.ga.bind(l.re,this.Di,this,!0)};a.prototype.iw=function(){this.ga.unbind(t.Kf,this.ff,this,!0);this.ga.unbind(l.re,this.Di,this,!0)};return a});
3091define("bE","require lE kS pg lg hJ jq dp oY gL mc nU oz nF eH lh R lF oI bG oC".split(" "),function(a){function e(B,E){for(B-=E;180<B;)B-=360;for(;-180>B;)B+=360;return B+E}var l=a("lE"),m=a("kS"),k=a("pg"),b=a("lg");a("hJ");var h=a("jq"),f=a("dp"),c=a("oY"),d=a("gL"),g=a("mc"),p=a("nU"),q=a("oz"),n=a("nF"),r=a("eH"),u=a("lh"),t=a("R"),v=a("lF"),w=a("oI"),x=a("bG"),y=a("oC"),z=Math.PI/180;a=l.extend(h,function(B){h.call(this);this.u=B;this.zk.push(this.u);this.$f=this.$f.bind(this);this.SX=this.SX.bind(this);
3092this.Op(["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",b.W);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.me=this.vb=this.Xa=
3093this.ae=this.Cf=null;this.qb=new p;this.Ru=this.fz=this.nm=this.Wg=this.ga=null});a.prototype.Pb=function(){this.Cf=(new q(k.Z)).Em(this.oD.bind(this));this.ae=(new q(k.kc)).kp(this.rD.bind(this));h.prototype.Pb.call(this);this.pMa();this.appendChild(this.me);m.da(this.u,C,this.$f,!0);m.vt(this.u,A,this.SX,!0)};var C="playbackPositions popupDistance popupMaxHeight popupMaxWidth image.levels.url video state".split(" "),A=["visible"];a.prototype.Tb=function(){this.Cf.dispose();this.ae.dispose();m.ba(this.u,
3094C,this.$f);m.ba(this.u,A,this.SX);this.yC();this.Oy();this.Ny();h.prototype.Tb.call(this)};a.prototype.$f=function(){var B=n.J1a(this.u,this.get("panoramaPixelsPerDegree"));this.set("imageURL",B&&B.get("url"));this.set("imageWidth",B&&B.get("width"));this.set("imageHeight",B&&B.get("height"));this.set("video",this.u.get("video"));this.set("state",this.u.get("state"));this.set("popupDistance",this.u.get("popupDistance"));this.set("popupMaxWidth",this.u.get("popupMaxWidth"));this.set("popupMaxHeight",
3095this.u.get("popupMaxHeight"));this.set("playbackPositions",this.u.get("playbackPositions"))};a.prototype.SX=function(){this.set("visible",this.u.get("visible"))};a.prototype.ha=function(B){this.Pz=B.Ra;this.Oz=B.pitch;this.Yq(B);this.WYa();this.xQ(B);this.ce(B);this.KYa(B);this.oYa(B);h.prototype.ha.call(this,B)};a.prototype.WYa=function(){this.O("playbackPositions","currentTime")&&(this.qb.YA(this.get("playbackPositions")),this.qb.XA(this.get("currentTime")),this.set("sourceYaw",this.qb.get("yaw")),
3096this.set("sourcePitch",this.qb.get("pitch")),this.set("sourceRotationX",this.qb.get("rotationX")),this.set("sourceRotationY",this.qb.get("rotationY")),this.set("sourceRotationZ",this.qb.get("rotationZ")),this.set("sourceHFOV",this.qb.get("hfov")))};a.prototype.Yq=function(){if(this.O("video","imageURL")){var B=[this.me];this.O("imageURL")&&(this.tM(),this.Xa&&B.push(this.Xa),this.rP("itemVisible"));this.O("video")&&(this.vM(),this.vb&&B.push(this.vb),this.rP("itemVisible"));this.Cf.xf(B);this.ae.xf(B);
3097this.ah(B)}};a.prototype.xQ=function(){if(this.ga){var B=this.ga.H0();this.set("frameEmpty",!!B&&B.isEmpty());!this.Wg||B&&!this.Wg.isEqual(B)?(this.Wg=B,this.vb.set("source",this.Wg.ys),this.vb.set("sourceUpdated",!0),this.Da()):this.ga.getState()==b.Y&&this.Da()}else this.set("frameEmpty",!1)};a.prototype.ce=function(B){this.set("inVR",B.xb);this.set("hotspotsEnabled",B.YE);this.set("rendererYaw",B.Ra);this.set("rendererPitch",B.pitch);this.set("rendererRoll",B.wg);this.set("rendererWidth",B.Z_);
3098this.set("rendererHeight",B.WQ);this.set("rendererHFOV",B.Je);if(this.O("visible")){var E=this.get("visiblePosition"),G=this.get("visible")?1:0,K=Math.max(1,this.u.get(this.get("visible")?"showDuration":"hideDuration")*Math.abs(G-E)),I=this.u.get(this.get("visible")?"showEasing":"hideEasing");E!=G&&(this.nm=new w(I,[new x("position",E,G)],K));this.get("visible")||(this.set("actualVisible",!1),this.ga&&this.ga.Mc(b.W))}this.nm&&(this.nm.Ze()?(this.nm=null,this.get("visible")?(this.set("actualVisible",
3099!0),this.u.trigger(k.CL),this.u.get("autoplay")&&this.ga&&this.ga.Mc(b.Y)):setTimeout(function(){this.u&&this.u.trigger(k.vL)}.bind(this),0)):this.nm.Cb(B.Ie),this.nm&&(this.set("visiblePosition",this.nm.fb("position")),this.Da()));E=!1;if(E=B.xb?this.O("visible","itemVisible"):this.O("rendererYaw","rendererPitch","rendererRoll","rendererWidth","rendererHeight","rendererHFOV","itemVisible","popupMaxWidth","popupMaxHeight","sourceHFOV"))this.set("targetImageScale",this.Epa(this.Xa,B)),this.set("targetVideoScale",
3100this.Epa(this.vb,B)),this.set("targetYaw",e(this.get("rendererYaw"),this.get("sourceYaw"))),this.set("targetPitch",this.get("rendererPitch")),this.set("targetRotationZ",e(B.xb?0:this.get("rendererRoll"),this.get("sourceRotationZ")));if(E||this.O("visiblePosition","targetScale","targetYaw","targetPitch","targetRoll","popupDistance","hfov")){G=this.get("visiblePosition");var Q=this.get("targetYaw")*G+this.get("sourceYaw")*(1-G),W=this.get("targetPitch")*G+this.get("sourcePitch")*(1-G),U=this.get("sourceRotationX")*
3101(1-G),T=this.get("sourceRotationY")*(1-G),X=this.get("targetRotationZ")*G+this.get("sourceRotationZ")*(1-G);B=Math.min(1,2*G);var D=this.get("popupDistance"),M=this.get("sourceHFOV");E=this.get("targetImageScale")*G+(1-G);G=this.get("targetVideoScale")*G+(1-G);this.set("alpha",B);this.Xa&&this.Xa.set("scale",E);this.vb&&this.vb.set("scale",G);
3101[].concat(this.vb?[this.vb]:[],this.Xa?[this.Xa]:[]).forEach(function(S){S.set("yaw",Q);S.set("pitch",W);S.set("rotationX",U);S.set("rotationY",T);S.set("rotationZ",
3102X);S.set("distance",D);S.set("hfov",M)})}};a.prototype.KYa=function(B){if(this.O("frameEmpty","state","imageURL","video")){var E="none";!this.vb||this.Xa&&(this.get("frameEmpty")||this.get("state")==b.W)?this.Xa&&(E="image"):E="video";this.set("itemVisible",E)}if(this.O("itemVisible")){"video"!=this.get("itemVisible")&&this.ga&&this.ga.Mc(b.W);E=this.Xa?this.Xa.get("alpha"):0;var G=this.vb?this.vb.get("alpha"):0,K="image"==this.get("itemVisible")?1:0,I="video"==this.get("itemVisible")?1:0,Q="video"==
3103this.get("itemVisible")?1:200*Math.max(Math.abs(K-E),Math.abs(I-G));this.fz=new w("linear",[new x("imageAlpha",E,K),new x("videoAlpha",G,I)],Q)}this.fz&&(this.fz.Ze()?this.fz=null:this.fz.Cb(B.Ie),this.fz&&(this.Xa&&this.Xa.set("alpha",this.fz.fb("imageAlpha")),this.vb&&this.vb.set("alpha",this.fz.fb("videoAlpha")),this.Da()))};a.prototype.oYa=function(B){this.O("gazeOver","inVR","visible","actualVisible")&&(this.Wma(),this.get("inVR")&&this.u.get("lookAwayToHide")&&!this.get("gazeOver")&&this.get("actualVisible")&&
3104this.LWa());B.xb&&this.u.get("darkenBackground")&&this.u.get("lookAwayToHide")?(this.O("visible")&&this.get("visible")&&(this.me.set("alpha",.8),this.Ru=null),this.O("gazeOver")&&(this.Ru=new w(this.get("gazeOver")?"linear":"quad_in",[new x("alpha",this.me.get("alpha"),this.get("gazeOver")?.8:0)],this.get("gazeOver")?300:this.u.get("lookAwayToHideTime")))):(this.Ru=null,this.me.set("alpha",B.xb&&this.u.get("darkenBackground")?.8:0));this.Ru&&(this.Ru.Ze()?this.Ru=null:this.Ru.Cb(B.Ie),this.Ru&&(this.me.set("alpha",
3105this.Ru.fb("alpha")),this.Da()))};a.prototype.LWa=function(){this.Wma();this.RW=setTimeout(function(){this.RW=null;this.u.set("visible",!1)}.bind(this),this.u.get("lookAwayToHideTime"))};a.prototype.Wma=function(){this.RW&&(clearTimeout(this.RW),this.RW=null)};a.prototype.Epa=function(B,E){if(!B)return 1;var G=this.get("popupMaxWidth","100%"),K=t.mp(G),I=B.get("contentWidth"),Q=B.get("contentHeight"),W=this.get("popupMaxHeight","100%"),U=t.mp(W);if(this.get("inVR")){var T=B=.5*this.get("rendererWidth"),
3106X=Math.min(E.gi,80);E=u.FE(X,B,T);var D=this.get("sourceHFOV");G=Math.min(Math.tan(E*(void 0!==K?K/100:G/B)*.5*z)/Math.tan(.5*D*z),Math.tan(X*(void 0!==U?U/100:W/T)*.5*z)/Math.tan(.5*u.FE(D,I,Q)*z))}else B=this.get("rendererWidth"),T=this.get("rendererHeight"),G=I*Math.min((void 0!==K?B*K/100:G)/I,(void 0!==U?T*U/100:W)/Q),E=this.get("rendererHFOV"),D=this.get("sourceHFOV"),G=Math.tan(.5*E*z)*G/B/Math.tan(.5*D*z);return G};a.prototype.tM=function(){this.yC();this.get("imageURL")&&(this.Xa=new d,this.Xa.set("url",
3107this.get("imageURL")),this.Xa.set("contentWidth",this.get("imageWidth")),this.Xa.set("contentHeight",this.get("imageHeight")),this.Xa.set("alpha",0))};a.prototype.yC=function(){this.Xa&&(this.Xa.remove(),this.Xa=null)};a.prototype.vM=function(){this.Oy();if(this.get("video")){this.vb=new c;var B=y.Zj(this.get("video"));this.vb.set("contentWidth",B.get("width"));this.vb.set("contentHeight",B.get("height"));this.vb.set("alpha",0);this.ga=new y(this.Ca.vc,this.get("video"));this.Ja=new g(this.Ca.vc,
3108this.u,this.ga);this.Ku()}};a.prototype.Oy=function(){this.vb&&(this.iw(),this.Ja.clear(),this.Ja=null,this.ga.clear(),this.Wg=this.ga=null,this.vb.remove(),this.vb=null)};a.prototype.pMa=function(){this.Ny();this.me=new f("#000000")};a.prototype.Ny=function(){this.me&&(this.me.remove(),this.me=null)};a.prototype.oD=function(){this.trigger(k.bd);this.trigger(k.Z)};a.prototype.rD=function(B,E){var G=0;E.Et(function(K){var I=0,Q;this.Cf.um(K)?I=100:(Q=this.ae.um(K))&&(I=Q.Yg);G+=I}.bind(this));this.trigger(new v(k.kc,
3109G/E.ed.length))};a.prototype.Di=function(){this.Da()};a.prototype.ff=function(){this.Da()};a.prototype.Cz=function(){this.u.trigger(k.Bb)};a.prototype.Ku=function(){this.ga.bind(y.Kf,this.ff,this,!0);this.ga.bind(k.re,this.Di,this,!0);this.ga.bind(k.Bb,this.Cz,this,!0)};a.prototype.iw=function(){this.ga.unbind(y.Kf,this.ff,this,!0);this.ga.unbind(k.re,this.Di,this,!0);this.ga.unbind(k.Bb,this.Cz,this,!0)};a.prototype.Bm=function(B){B.mf==k.tl?(!B.Yk()&&this.get("visible")?(B.Hr(this.u),this.set("over",
3110this.Tq(B)),this.set("gazeOver",this.tXa(B))):this.set("over",!1),this.get("over")&&(B.jA(this.u),B.Tt()&&B.yE(this.u),B.Xk(this.get("popupDistance"))),this.O("over")&&(this.u.trigger(this.get("over")?k.cd:k.Vb),B.Tt()&&this.u.trigger(this.get("over")?k.IB:k.Fp))):B.mf==k.Lf&&!B.Yk()&&this.get("visible")&&(B.Hr(this.u),B.Xk(this.get("popupDistance")),this.Tq(B)?B.P2a()||this.u.trigger(k.qa):this.u.set("visible",!1))};a.prototype.Tq=function(B){return this.wwa(B.Lq)};a.prototype.tXa=function(B){B=
3111B.UJ();return!!B&&this.wwa([B])};a.prototype.wwa=function(B){if(this.get("visible")){B=("video"==this.get("itemVisible")?this.vb:this.Xa).sv(B);for(var E=0;E<B.length;E++){var G=B[E];if(r.wx(G.source,G.x,G.y))return!0}}return!1};return a});
3112define("cY",["require","lE","jq"],function(a){var e=a("lE"),l=a("jq");a=e.extend(l,function(){l.call(this);this.Gy&&this.Gy();this.io&&this.io()});a.prototype.Pb=function(){l.prototype.Pb.call(this);this.Do&&this.Do();this.tI&&this.tI()};a.prototype.Tb=function(){this.Fo&&this.Fo();this.vI&&this.vI();l.prototype.Tb.call(this)};a.prototype.ha=function(m){this.sf&&this.sf(m);l.prototype.ha.call(this,m);this.Wo&&this.Wo(m)};return a});
3113define("kc",["require","pg"],function(a){var e=a("pg");return{Gy:function(){this.set("beamEnabled",!1);this.hd=!1;this.Oz=this.Pz=void 0},Wo:function(l){this.Pz=l.Ra;this.Oz=l.pitch},Bm:function(l){if(l.mf==e.tl){var m=!l.Yk()&&this.Tq(l);
3113if(m){l.jA(this.u);this.u.get("useHandCursor")&&l.yE(this.u);l.Xk(this.get("distance"));var k=this.Sb(l.cF());k&&l.O_(k,this.$z(l.cF()))}this.hd!=m&&(this.hd=m,this.u.trigger(this.hd?e.cd:e.Vb),l.Tt()&&this.u.trigger(this.hd?e.IB:e.Fp))}else l.mf==e.Lf&&!l.Yk()&&
3114this.Tq(l)&&(1<this.u.YJ(e.qa,!0).length&&l.Hr(this.u),l.Xk(this.get("distance")),this.u.trigger(e.qa))},Tq:function(l){return this.get("beamEnabled")&&0<this.U8().sv(l.Lq).length?!0:!1},Sb:function(l){return!l||this.u.get("displayTooltipInTouchScreens")&&!1!==this.Ca.L.get("displayTooltipInTouchScreens")?this.u.get("toolTip",""):""},$z:function(l){if(l){l=this.get("yaw")-this.Pz;var m=this.get("pitch")-this.Oz;return Math.sqrt(l*l+m*m)}return 0}}});
3115define("bV","require lE kS pg cY bA oz nF kc".split(" "),function(a){var e=a("lE"),l=a("kS"),m=a("pg"),k=a("cY"),b=a("bA"),h=a("oz"),f=a("nF");a=a("kc");e=e.extend(k,a,b,function(c){k.call(this);this.u=c;this.VC=this.m8=this.r9=null;this.zk.push(this.u);this.$f=this.$f.bind(this);this.Op(["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);
3116this.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.Qf=this.Es=this.ae=this.Cf=null;this.aca(this.u)});e.prototype.Pb=function(){this.Cf=(new h(m.Z)).Em(this.oD.bind(this));this.ae=(new h(m.kc)).kp(this.rD.bind(this));this.yMa();k.prototype.Pb.call(this);l.da(this.u,"url enabled image fadeInDuration fadeOutDuration contentInteractive interactionEnabled transparent".split(" "),
3117this.$f,!0);this.g8()};e.prototype.Tb=function(){this.h8();this.Cf.dispose();this.ae.dispose();l.ba(this.u,"url enabled image fadeInDuration fadeOutDuration contentInteractive interactionEnabled transparent".split(" "),this.$f);this.Pna();this.Rna();k.prototype.Tb.call(this)};e.prototype.$f=function(){this.set("url",this.u.get("url"));this.Qf.set("url",this.get("url"));this.set("image",this.u.get("image"));this.Xa.set("image",this.get("image"));this.Xa.set("level",this.get("image")&&f.kAa(this.u,
3118this.get("panoramaPixelsPerDegree")));this.set("enabled",this.u.get("enabled"));this.set("fadeInDuration",this.u.get("fadeInDuration"));this.set("fadeOutDuration",this.u.get("fadeOutDuration"));this.set("interactionEnabled",this.u.get("interactionEnabled"));this.set("contentInteractive",this.u.get("contentInteractive"));this.set("transparent",this.u.get("transparent"));this.Da()};e.prototype.ha=function(c){this.set("loaded",!!this.Qf&&this.Qf.get("frameLoaded"));this.set("inVR",c.xb);this.set("inScreenshot",
3119c.$E);this.set("hotspotsEnabled",c.YE);k.prototype.ha.call(this,c);this.ce(c);this.uda(c)};e.prototype.yMa=function(){this.tM();this.KMa();this.JMa();var c=[this.Xa,this.Es,this.Qf];this.Cf.xf(c);this.ae.xf(c);this.ah(c)};e.prototype.ce=function(){this.set("globalBlendingActiveCopy",this.get("globalBlendingActive"));if(this.O("globalBlendingActive","globalBlendingActiveCopy","url","inVR","hotspotsEnabled","enabled","interactionEnabled","contentInteractive","composedTranslationX","composedTranslationY",
3120"composedTranslationZ")){var c=!(0!=this.get("composedTranslationX")||0!=this.get("composedTranslationY")||0!=this.get("composedTranslationZ"))&&0==this.get("globalBlendingActive")&&this.get("hotspotsEnabled")&&this.get("enabled")&&!this.get("inVR")&&!!this.get("url");this.set("visible",c);this.set("beamEnabled",c&&this.get("interactionEnabled"));this.Qf.set("contentInteractive",c&&this.get("interactionEnabled")&&this.get("contentInteractive"))}this.set("frameHidden",!this.Qf.get("geometryVisible"));
3121this.O("visible","loaded","frameHidden","transparent","inScreenshot")&&(this.get("visible")||this.set("loaded",!1),this.Xa.set("alpha",!this.get("visible")||!this.get("frameHidden")&&this.get("loaded")?0:1),this.Xa.set("alpha",1),this.Es.set("alpha",!this.get("visible")||this.get("frameHidden")||!this.get("loaded")||this.get("transparent")||this.get("inScreenshot")?0:1),this.Qf.set("alpha",this.get("visible")?1:0),this.Qf.set("transparent",this.get("transparent")),this.set("inView",this.get("visible")&&
3122(this.get("loaded")||this.get("image"))),this.Da());this.O("inView")&&this.u.trigger(this.get("inView")?m.dd:m.Tc)};e.prototype.tM=function(){this.yC();this.Xa=new this.VC;this.Xa.set("image",this.get("image"));this.Xa.set("level",this.get("image")&&f.kAa(this.u,this.get("panoramaPixelsPerDegree")));this.Xa.set("visible",!0);this.Xa.set("alpha",0);this.set("imagePlane",this.Xa)};
3122e.prototype.yC=function(){this.Xa&&(this.Xa.remove(),this.Xa=null,this.set("imagePlane",null))};e.prototype.JMa=function(){this.Pna();
3123this.Qf=new this.m8;this.Qf.bind(m.Z,this.Boa,this,!0);this.Qf.set("url",this.get("url"));this.Qf.set("visible",!0);this.Qf.set("alpha",1);this.set("framePlane",this.Qf)};e.prototype.Pna=function(){this.Qf&&(this.Qf.unbind(m.Z,this.Boa,this,!0),this.Qf.remove(),this.Qf=null,this.set("framePlane",null))};e.prototype.KMa=function(){this.Rna();this.Es=new this.r9;this.Es.set("visible",!0);this.Es.set("alpha",1);this.set("holePlane",this.Es)};e.prototype.Rna=function(){this.Es&&(this.Es.remove(),this.Es=
3124null,this.set("holePlane",null))};e.prototype.U8=function(){return this.Es};e.prototype.Boa=function(){this.Da()};e.prototype.oD=function(){this.trigger(m.bd);this.trigger(m.Z)};e.prototype.rD=function(c,d){var g=0;d.Et(function(p){(p=d.um(p))&&(g+=p.Yg)});this.trigger(new ProgressEvent(m.kc,g/d.ed.length))};return e});
3125define("fX",["require","lE","jq"],function(a){var e=a("lE"),l=a("jq");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.T6());this.cv&&this.cv();this.wC&&this.wC();this.Gy&&this.Gy();this.io&&this.io()});a.prototype.T6=function(){var m=new THREE.CSS3DObject;m.matrixAutoUpdate=!1;return m};a.prototype.Pb=function(){l.prototype.Pb.call(this);this.Do&&this.Do();this.JN&&
3126this.JN();this.tI&&this.tI()};a.prototype.Tb=function(){this.QH&&this.QH();this.vI&&this.vI();this.Fo&&this.Fo();var m=this.get("cssObject");m&&m.parent&&m.parent.remove(m);this.set("cssScene",null);l.prototype.Tb.call(this)};a.prototype.ha=function(m){this.sf&&this.sf(m);l.prototype.ha.call(this,m);this.set("cssScene",m.dR);this.set("cssSceneOver",m.eR);if(this.O("transparent")){var k=this.get("cssObject");k&&k.parent&&k.parent.remove(k)}this.O("cssScene","cssSceneOver","transparent")&&(k=this.get("transparent")?
3127m.eR:m.dR)&&k.add(this.get("cssObject"));this.km();this.Vj&&this.Vj(m);this.Cw&&this.Cw(m);this.sE()};a.prototype.km=function(){this.O("composedAlpha","meshGroup")&&this.ny()};a.prototype.ny=function(){this.get("cssObject").element.style.display=0<this.get("composedAlpha")?"block":"none"};a.prototype.sE=function(){this.O("index")&&(this.get("cssObject").containerElement.style.zIndex=this.get("index"))};return a});
3128define("eq",["require","jv","a"],function(a){var e=a("jv"),l=a("a"),m=new THREE.Matrix4,k=Math.PI/180;return{cv:function(){this.set("vertices",void 0);this.xh=new THREE.Matrix4;this.Md=new THREE.Matrix4;this.Eo=new THREE.Matrix4;this.Xm=new THREE.Matrix4;this.sq=new THREE.Matrix4},T6:function(){var b=new THREE.CSS3DQuad;b.matrixAutoUpdate=!1;return b},Cw:function(b){var h=!1;if(this.O("vertices","contentWidth","contentHeight")){var f=this.get("vertices");h=l.Ft(f[0].get("yaw")*k,f[0].get("pitch")*
3129k).normalize();var c=l.Ft(f[1].get("yaw")*k,f[1].get("pitch")*k).normalize(),d=l.Ft(f[2].get("yaw")*k,f[2].get("pitch")*k).normalize();f=l.Ft(f[3].get("yaw")*k,f[3].get("pitch")*k).normalize();var g=this.get("cssObject");g.vertices[0].set(h.x,h.y,-h.z);g.vertices[1].set(c.x,c.y,-c.z);g.vertices[2].set(d.x,d.y,-d.z);g.vertices[3].set(f.x,f.y,-f.z);g.contentWidth=this.get("contentWidth");g.contentHeight=this.get("contentHeight");h=!0}c=!1;this.O("composedTranslationX","composedTranslationY","composedTranslationZ")&&
3130(this.xh.makeTranslation(.5*-this.get("composedTranslationX")*e.yg,.5*this.get("composedTranslationY")*e.yg,.5*this.get("composedTranslationZ")*e.yg),c=!0);this.O("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&&(this.Md.makeRotationY(-b.Ra*k),this.Md.multiply(m.makeRotationX(-this.get("composedDeltaPitch")*k)),this.Md.multiply(m.makeRotationY(this.get("composedDeltaYaw")*k)),this.Md.multiply(m.makeRotationY(b.Ra*k)),c=!0);if(c||this.O("meshGroup"))this.sq.copy(this.xh),this.sq.multiply(this.Md),
3131this.get("cssObject").matrix.copy(this.sq),this.get("cssObject").matrixWorldNeedsUpdate=!0;this.set("cameraYaw",b.Ra);this.set("cameraPitch",b.pitch);this.set("cameraRoll",b.wg);this.set("cameraHfov",b.Je);this.set("cameraWidth",b.width);this.set("cameraHeight",b.height);b.camera&&(c||h||this.O("cameraYaw","cameraPitch","cameraRoll","cameraHfov","cameraWidth","cameraHeight"))&&(this.get("cssObject").project
3131Vertices(b.camera),this.set("geometryVisible",this.get("cssObject").isVisible),this.O("geometryVisible")&&
3132this.Lba())}}});
3133define("dZ","require ik jv ew kJ a".split(" "),function(a){var e=a("ik"),l=a("jv"),m=a("ew"),k=a("kJ"),b=a("a"),h=new THREE.Matrix4,f=Math.PI/180;return{cv:function(){this.set("distance",void 0);this.set("vertices",void 0);this.Og=null;this.xh=new THREE.Matrix4;this.Md=new THREE.Matrix4;this.cm=new THREE.Matrix4;this.yi=new THREE.Matrix4},Cw:function(c){this.rZa(c);this.Zq(c)},sH:function(){var c=this.get("meshGroup");return c?m.$k(c)[0]:null},ho:function(){this.Og||(this.Og=this.Fy());return[0].map(function(c){var d=
3134this.rM();c=m.create(this.Og[c],d);k.qx(c,k.Dp);k.sx(c,k.Xr);k.CF(c,e.AL);k.XS(c,1);return c}.bind(this))},rZa:function(){if(this.O("vertices")){var c=this.get("meshGroup");if(c)return this.Og&&this.Og.forEach(function(d){l.dispose(d)}),this.Og=this.Fy(),m.$k(c).map(function(d,g){m.$ha(d,this.Og[g])}.bind(this))}},Fy:function(){function c(w){return 0==w||isNaN(w)||!isFinite(w)}var d=this.get("vertices")||[];if(4!=d.length)return[l.lza(-1,1,1,1,1,1,1,-1,1,-1,-1,1)];var g=b.Ft(d[0].get("yaw")*f,d[0].get("pitch")*
3135f).normalize(),p=b.Ft(d[1].get("yaw")*f,d[1].get("pitch")*f).normalize(),q=b.Ft(d[2].get("yaw")*f,d[2].get("pitch")*f).normalize();d=b.Ft(d[3].get("yaw")*f,d[3].get("pitch")*f).normalize();var n=g.clone().f0(q),r=d.clone().f0(p),u=n.clone().f0(r).normalize();r=(2*g.y*u.x/g.x-2*u.y)/(-q.y+g.y*q.x/g.x);c(r)&&(r=(2*g.z*u.x/g.x-2*u.z)/(-q.z+g.z*q.x/g.x));c(r)&&(r=(2*g.z*u.y/g.y-2*u.z)/(-q.z+g.z*q.y/g.y));var t=(2*u.x-q.x*r)/g.x;c(t)&&(t=(2*u.y-q.y*r)/g.y);c(t)&&(t=(2*u.z-q.z*r)/g.z);n=(2*p.y*u.x/p.x-
31362*u.y)/(-d.y+p.y*d.x/p.x);c(n)&&(n=(2*p.z*u.x/p.x-2*u.z)/(-d.z+p.z*d.x/p.x));c(n)&&(n=(2*p.z*u.y/p.y-2*u.z)/(-d.z+p.z*d.y/p.y));var v=(2*u.x-d.x*n)/p.x;c(v)&&(v=(2*u.y-d.y*n)/p.y);c(v)&&(v=(2*u.z-d.z*n)/p.z);g=g.QK(t);p=p.QK(v);q=q.QK(r);d=d.QK(n);return[l.lza(g.x,g.y,-g.z,p.x,p.y,-p.z,q.x,q.y,-q.z,d.x,d.y,-d.z)]},Zq:function(c){var d=!1;this.O("composedTranslationX","composedTranslationY","composedTranslationZ")&&(this.xh.makeTranslation(.5*-this.get("composedTranslationX")*l.yg,.5*this.get("composedTranslationY")*
3137l.yg,.5*this.get("composedTranslationZ")*l.yg),d=!0);this.O("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&&(this.Md.makeRotationY(-c.Ra*f),this.Md.multiply(h.makeRotationX(-this.get("composedDeltaPitch")*f)),this.Md.multiply(h.makeRotationY(this.get("composedDeltaYaw")*f)),this.Md.multiply(h.makeRotationY(c.Ra*f)),d=!0);this.O("distance","composedTranslationX","composedTranslationY","composedTranslationZ")&&(c=0==this.pa.get("composedTranslationX")&&0==this.pa.get("composedTranslationY")&&
31380==this.pa.get("composedTranslationZ")&&void 0!==this.get("distance")?l.Lt(this.get("distance")):l.mr(),this.cm.makeScale(c,c,c),d=!0);if(d||this.O("meshGroup"))this.yi.copy(this.xh),this.yi.multiply(this.Md),this.yi.multiply(this.cm),c=m.$k(this.get("meshGroup")),m.hr(c[0],this.yi)}}});
3139define("ct",["require","pg"],function(a){var e=a("pg");return{wC: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.Bc=this.de=null;this.bW=void 0;this.G_=this.G_.bind(this);this.H_=this.H_.bind(this);this.I_=this.I_.bind(this);this.UC=this.UC.bind(this);this.y9=this.y9.bind(this)},Vj:function(){this.O("cssObject")&&(this.LMa(),this.get("cssObject").element.appendChild(this.de));
3140this.O("url")&&this.LVa(this.get("url"));this.O("contentWidth","contentHeight")&&(this.de.style.width=this.get("contentWidth")+2+"px",this.de.style.height=this.get("contentHeight")+2+"px");this.O("contentInteractive")&&(this.de.style.pointerEvents=this.get("contentInteractive")?"auto":"none")},km:function(){this.O("composedAlpha")&&(0<this.get("composedAlpha")?this.Bc&&!this.Bc.parentNode&&(this.kxa(),this.de.appendChild(this.Bc)):this.Bc&&this.Bc.parentNode&&this.de.removeChild(this.Bc))},JN:function(){this.trigger(e.bd);
3141this.get("frameLoaded")&&this.trigger(e.Z)},QH:function(){this.SLa()},H_:function(l){l.preventDefault();l.stopImmediatePropagation()},G_:function(){this.Ca.vc.yF(null)},I_:function(l){l.preventDefault();l.stopImmediatePropagation()},UC:function(){this.set("frameLoaded",!0);this.trigger(e.Z)},y9:function(){this.cW=null;this.UC()},LMa:function(){this.Bc||(this.de=document.createElement("div"),this.de.style.position="absolute",this.de.style.left=this.de.style.top="-1px",this.get("cssObject").isCSS3DObject&&
3142(this.de.style.transform="translate(-50%, -50%)"),this.de.style.overflow="hidden",this.de.style["-webkit-overflow-scrolling"]="touch",this.de.addEventListener("mouseenter",this.G_,!0),this.de.addEventListener("mousemove",this.H_,!0),this.de.addEventListener("mousewheel",this.I_,!0),this.Bc=document.createElement("iframe"),this.Bc.setAttribute("allow","fullscreen; accelerometer; gyroscope; magnetometer; vr; autoplay; camera; microphone; display-capture;
3142 xr-spatial-tracking"),this.Bc.setAttribute("frameborder",
3143"0"),this.Bc.setAttribute("scrolling","auto"),this.Bc.style.width="100%",this.Bc.style.height="100%",this.Bc.addEventListener("load",this.UC,!0),0<this.get("composedAlpha")&&this.de.appendChild(this.Bc))},SLa:function(){this.Bc&&(this.Bc.src="",this.Fba(),this.Cy(),this.Bc.parentNode&&this.Bc.parentNode.removeChild(this.Bc),this.Bc=null);this.de&&(this.de.parentNode&&this.de.parentNode.removeChild(this.de),this.de.removeEventListener("mouseenter",this.G_,!0),this.de.removeEventListener("mousemove",
3144this.H_,!0),this.de.removeEventListener("mousewheel",this.I_,!0),this.de=null)},LVa:function(l){this.bW!==l&&(this.bW=l,this.set("frameLoaded",!1),this.kxa())},kxa:function(){this.bW?(this.PVa(),this.QJa(),this.Bc.src=this.bW):(this.Cy(),this.Fba(),this.Bc.src="",this.UC())},PVa:function(){this.Cy();this.cW=setTimeout(this.y9,3E3)},Cy:function(){this.cW&&(clearTimeout(this.cW),this.cW=null)},QJa:function(){this.Fba();this.Bc.addEventListener("load",this.UC,!0)},Fba:function(){this.Bc.removeEventListener("load",
3145this.UC,!0)}}});define("kN",["require","ew","pg"],function(a){var e=a("ew"),l=a("pg");return{wC:function(){this.get("materialConfig").params.blending=THREE.NoBlending},JN:function(){this.trigger(l.bd);this.trigger(l.Z)},km:function(){this.O("meshGroup","composedAlpha")&&e.$e(this.get("meshGroup"),0<this.get("composedAlpha")?.001:0)}}});
3146define("mU",["require","kS","nU"],function(a){var e=a("kS"),l=a("nU");return{io:function(){this.set("playbackPositions",null);this.Yd=this.Yd.bind(this);this.qb=new l},Do:function(){e.da(this.u,["playbackPositions","width","height"],this.Yd,!0)},Fo:function(){e.ba(this.u,["playbackPositions","width","height"],this.Yd)},Yd:function(){this.set("playbackPositions",this.u.get("playbackPositions"));this.set("contentWidth",this.u.get("width"));this.set("contentHeight",this.u.get("height"))},sf:function(){this.O("playbackPositions",
3147"currentTime")&&(this.qb.YA(this.get("playbackPositions")),this.qb.XA(this.get("currentTime")),this.set("vertices",this.qb.Pfa()));this.O("framePlane","holePlane","imagePlane","vertices")&&this.mb().forEach(function(m){m.set("vertices",this.get("vertices"));m.set("contentWidth",this.get("contentWidth"));m.set("contentHeight",this.get("contentHeight"))}.bind(this))}}});
3148define("jS","require lE bV fX c eq dZ ct hi kN mU".split(" "),function(a){var e=a("lE"),l=a("bV"),m=a("fX"),k=a("c"),b=a("eq"),h=a("dZ"),f=a("ct"),c=a("hi"),d=a("kN");a=a("mU");var g=e.extend(k,h,c,function(){k.call(this);this.set("tag","QuadFrameHotspotImage")}),p=e.extend(m,b,f,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(n){l.call(this,n);this.VC=g;this.m8=p;this.r9=
3149q})});
3150define("ld",["require","kS","nU"],function(a){var e=a("kS"),l=a("nU");return{io:function(){this.set("playbackPositions",null);this.set("distance",void 0);this.Yd=this.Yd.bind(this);this.qb=new l},Do:function(){e.da(this.u,["vertices","distance","playbackPositions"],this.Yd,!0)},Fo:function(){e.ba(this.u,["vertices","distance","playbackPositions"],this.Yd)},Yd:function(){this.set("distance",this.u.get("distance"));this.set("vertices",this.u.get("vertices"));this.set("playbackPositions",this.u.get("playbackPositions"))},sf:function(){this.O("playbackPositions",
3151"currentTime")&&(this.qb.YA(this.get("playbackPositions")),this.qb.XA(this.get("currentTime")),this.set("vertices",this.qb.Pfa()),this.set("alpha",this.qb.al()))}}});
3152define("jx","require lE kS pg ew c dZ hi pd ld nF".split(" "),function(a){var e=a("lE"),l=a("kS"),m=a("pg"),k=a("ew"),b=a("c"),h=a("dZ"),f=a("hi"),c=a("pd"),d=a("ld"),g=a("nF"),p=0;a=e.extend(b,h,d,f,c,function(q){b.call(this);this.set("tag","QuadHotspotImage");this.set("id","quad_hs_image_"+p++);this.set("side",THREE.DoubleSide);this.u=q;this.zk.push(this.u);this.ag=this.ag.bind(this)});a.prototype.Pb=function(){b.prototype.Pb.call(this);l.da(this.u,["image.levels"],this.ag,!0)};a.prototype.Tb=function(){l.ba(this.u,
3153["image.levels"],this.ag);b.prototype.Tb.call(this)};a.prototype.ag=function(){this.set("image",this.u.get("image"));this.set("level",g.M1a(this.u))};a.prototype.ha=function(q){this.oE();b.prototype.ha.call(this,q);this.O("inView")&&this.u.trigger(this.get("inView")?m.dd:m.Tc)};a.prototype.oE=function(){if(this.O("meshGroup","panoramaId","id")){var q=this.get("meshGroup");
3153q&&q.children.forEach(function(n){k.setAttribute(n,k.lB,this.get("panoramaId"));k.setAttribute(n,k.u3,this.get("id"))}.bind(this))}};
3154return a});
3155define("jo",["require","pg","lg"],function(a){function e(b,h){this.vc=b;this.zd=h;this.Mb=!1;this.eY=!0;this.c6=this.Laa=!1;this.C5();this.X$()}var l=a("pg"),m=a("lg");e.prototype.clear=function(){this.Fsa();this.Cba()};e.prototype.yf=function(b){this.Mb!=b&&(this.Mb=b,this.nt())};e.prototype.v6a=function(b){this.eY!=b&&((this.eY=b)&&this.Fsa(),this.nt())};e.prototype.nt=function(){if(!this.Mb||this.eY)this.zd.set("state",m.W);else if(this.zd.get("autoplay")||this.c6)this.c6=!1,this.zd.set("state",m.Y)};
3156e.prototype.X$=function(){if(!this.Laa){var b=this.zd.get("video").get("autoplayTime");void 0!==b&&this.zd.get("video").get("autoplayTimeLimit")<(new Date).getTime()&&(b=void 0);this.zd.set("currentTime",b);this.c6=void 0!==b}};e.prototype.Fsa=function(){this.Laa||(this.Laa=!0,this.zd.get("state")==m.Y?(this.zd.get("video").set("autoplayTimeLimit",(new Date).getTime()+k),this.zd.get("video").set("autoplayTime",this.zd.get("currentTime",0))):this.zd.get("video").set("autoplayTime",void 0))};e.prototype.C5=
3157function(){this.zd.get("video").bind(l.F("autoplayTime"),this.X$,this,!0)};e.prototype.Cba=function(){this.zd.get("video").unbind(l.F("autoplayTime"),this.X$,this,!0)};var k=1E3;return e});
3158define("eJ",["require","pg","eH"],function(a){var e=a("pg"),l=a("eH");return{Gy:function(){this.set("beamEnabled",!1);this.hd=!1;this.Oz=this.Pz=void 0},Wo:function(m){this.Pz=m.Ra;this.Oz=m.pitch},Bm:function(m){if(m.mf==e.tl){var k=!m.Yk()&&this.Tq(m)&&!this.get("blendingActive");if(k){m.jA(this.u);this.u.get("useHandCursor")&&m.yE(this.u);m.Xk(this.get("distance"));var b=this.Sb(m.cF());b&&m.O_(b,this.$z(m.cF()))}this.hd!=k&&(this.hd=k,this.u.trigger(this.hd?e.cd:e.Vb),m.Tt()&&this.u.trigger(this.hd?
3159e.IB:e.Fp))}else m.mf==e.Lf&&!m.Yk()&&this.Tq(m)&&(1<this.u.YJ(e.qa,!0).length&&m.Hr(this.u),m.Xk(this.get("distance")),this.u.trigger(e.qa))},Tq:function(m){if(this.get("beamEnabled")){m=this.U8().sv(m.Lq);for(var k=0;k<m.length;k++){var b=m[k];if(l.wx(b.source,b.x,b.y))return!0}}return!1},Sb:function(m){return!m||this.u.get("displayTooltipInTouchScreens")&&!1!==this.Ca.L.get("displayTooltipInTouchScreens")?this.u.get("toolTip",""):""},$z:function(m){if(m){m=this.get("yaw")-this.Pz;var k=this.get("pitch")-
3160this.Oz;return Math.sqrt(m*m+k*k)}return 0}}});
3161define("fg","require lE kS pg lg oC cY jo bA oz nF eJ lF oI bG".split(" "),function(a){var e=a("lE"),l=a("kS"),m=a("pg"),k=a("lg"),b=a("oC"),h=a("cY"),f=a("jo"),c=a("bA"),d=a("oz"),g=a("nF"),p=a("eJ"),q=a("lF"),n=a("oI"),r=a("bG");a=e.extend(h,p,c,function(u){h.call(this);this.u=u;this.lea=this.VC=null;this.zk.push(this.u);this.$f=this.$f.bind(this);this.Op(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","VideoHotspot");this.set("enabled",!0);this.set("inVR",!1);this.set("overlaysEnabled",
3162!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.W);this.set("itemVisible","none");this.set("blending",0);this.set("chromaColor",void 0);this.set("chromaThreshold",0);this.set("chromaSmoothing",0);this.vb=this.Xa=this.ae=this.Cf=null;this.mea=!1;this.zs=[];this.aca(this.u)});a.prototype.Pb=function(){this.Cf=(new d(m.Z)).Em(this.oD.bind(this));
3163this.ae=(new d(m.kc)).kp(this.rD.bind(this));this.xl=new f(this.Ca.vc,this.u);h.prototype.Pb.call(this);l.da(this.u,"blending chromaColor chromaThreshold chromaSmoothing distance scaleMode image.levels video.levels enabled enabledInStandard enabledInVR fadeInDuration fadeOutDuration interactionEnabled state videoVisibleOnStop".split(" "),this.$f,!0);this.g8()};a.prototype.Tb=function(){this.h8();this.xl.clear();this.Cf.dispose();this.ae.dispose();l.ba(this.u,"blending chromaColor chromaThreshold chromaSmoothing distance scaleMode image.levels video.levels enabled enabledInStandard enabledInVR fadeInDuration fadeOutDuration interactionEnabled state videoVisibleOnStop".split(" "),
3164this.$f);this.yC();this.Oy();h.prototype.Tb.call(this)};a.prototype.$f=function(){this.set("image",this.u.get("image"));this.set("imageLevel",g.W1a(this.u,this.get("panoramaPixelsPerDegree")));this.set("video",this.u.get("video"));this.set("videoLevel",b.Zj(this.get("video")));this.set("enabled",this.u.get("enabled"));this.set("enabledInStandard",this.u.get("enabledInStandard"));this.set("enabledInVR",this.u.get("enabledInVR"));this.set("fadeInDuration",this.u.get("fadeInDuration"));this.set("fadeOutDuration",
3165this.u.get("fadeOutDuration"));this.set("interactionEnabled",this.u.get("interactionEnabled"));this.set("state",this.u.get("state"));this.set("videoVisibleOnStop",this.u.get("videoVisibleOnStop"));this.set("blending",this.u.get("blending"));this.set("chromaColor",this.u.get("chromaColor"));this.set("chromaThreshold",this.u.get("chromaThreshold"));this.set("chromaSmoothing",this.u.get("chromaSmoothing"))};a.prototype.ha=function(u){this.set("inVR",u.xb);this.set("hotspotsEnabled",u.YE);this.Yq();this.nQ();
3166h.prototype.ha.call(this,u);this.nt();this.xQ(u);this.ce(u);this.uda(u)};a.prototype.Yq=function(){if(this.O("video","videoLevel","image","imageLevel")){var u=[];this.O("image","imageLevel")&&(this.tM(),this.Xa&&u.push(this.Xa));this.O("video","videoLevel")&&(this.vM(),this.vb&&u.push(this.vb));this.ah(u);this.Cf.xf(u);this.ae.xf(u)}};a.prototype.nQ=function(){this.O("video","videoLevel","image","imageLevel","blending","chromaColor","chromaThreshold","chromaSmoothing")&&this.mb().forEac
3166h(function(u){u.set("blending",
3167this.get("blending"));u.set("chromaColor",this.get("chromaColor"));u.set("chromaThreshold",this.get("chromaThreshold"));u.set("chromaSmoothing",this.get("chromaSmoothing"))}.bind(this))};a.prototype.nt=function(){this.O("video","composedAlpha","enabledInVR","enabledInStandard","enabled","inVR")&&this.xl.yf(0<this.get("composedAlpha")&&this.get("hotspotsEnabled")&&this.get("enabled")&&(!this.get("inVR")||this.get("enabledInVR"))&&(this.get("inVR")||this.get("enabledInStandard")));this.O("blendingActive")&&
3168this.xl.v6a(this.get("blendingActive"))};a.prototype.xQ=function(){this.set("frameEmpty",!this.vb||this.vb.get("frameEmpty"))};a.prototype.ce=function(u){var t=this.get("itemVisible");if(this.O("frameEmpty","state","image","video","inVR","hotspotsEnabled","enabledInVR","enabledInStandard","enabled","interactionEnabled")){var v="none";this.get("hotspotsEnabled")&&this.get("enabled")&&(!this.get("inVR")||this.get("enabledInVR"))&&(this.get("inVR")||this.get("enabledInStandard"))&&(this.vb&&(!this.Xa||
3169!this.get("frameEmpty")&&(this.get("state")!=k.W||this.mea&&this.get("videoVisibleOnStop")))?v="video":this.Xa&&(v="image"),this.get("state")!=k.W&&(this.mea=!0));this.set("itemVisible",v);this.set("beamEnabled","none"!=v&&this.get("interactionEnabled"))}if(this.O("itemVisible")){v="none"!=this.get("itemVisible");var w="none"!=t;if(v&&w&&!this.get("chromaColor")&&0==this.zs.length)this.Xa&&this.Xa.set("alpha","image"==this.get("itemVisible")?1:0),this.vb&&this.vb.set("alpha","video"==this.get("itemVisible")?
31701:0);else{t=v==w?100:v?this.get("fadeInDuration"):this.get("fadeOutDuration");v!=w&&this.u.trigger(v?m.dd:m.Tc);w=this.Xa?this.Xa.get("alpha"):0;var x=this.vb?this.vb.get("alpha"):0;v=[{video:x,image:w}];"video"==this.get("itemVisible")?(v.push({video:1,image:w,time:t*(1-x)}),v.push({video:1,image:0,time:50*(w-0)})):"image"==this.get("itemVisible")?(v.push({video:x,image:1,time:t*(1-w)}),v.push({video:0,image:1,time:50*(x-0)})):v.push({video:0,image:0,time:Math.max(x,w,1/t)*t});this.zs=[];for(t=1;t<
3171v.length;t++)0<v[t].time&&this.zs.push(new n("linear",[new r("imageAlpha",v[t-1].image,v[t].image),new r("videoAlpha",v[t-1].video,v[t].video)],v[t].time))}}0<this.zs.length&&(this.zs[0].Ze()?this.zs.shift():this.zs[0].Cb(u.Ie),0<this.zs.length&&(this.Xa&&this.Xa.set("alpha",this.zs[0].fb("imageAlpha")),this.vb&&this.vb.set("alpha",this.zs[0].fb("videoAlpha")),this.Da()))};a.prototype.tM=function(){this.yC();this.get("image")&&this.get("imageLevel")&&(this.Xa=new this.VC,this.Xa.set("image",this.get("image")),
3172this.Xa.set("level",this.get("imageLevel")),this.Xa.set("visible",!0),this.Xa.set("alpha",0),this.Xa.set("side",THREE.DoubleSide))};a.prototype.yC=function(){this.Xa&&(this.Xa.remove(),this.Xa=null)};a.prototype.vM=function(){this.Oy();this.get("video")&&this.get("videoLevel")&&(this.vb=new this.lea,this.vb.set("scriptObject",this.u),this.vb.set("video",this.get("video")),this.vb.set("level",this.get("videoLevel")),this.vb.set("visible",!0),this.vb.set("alpha",0),this.vb.set("side",THREE.DoubleSide))};
3173a.prototype.Oy=function(){this.vb&&(this.vb.remove(),this.vb=null)};a.prototype.oD=function(){this.trigger(m.bd);this.trigger(m.Z)};a.prototype.rD=function(u,t){var v=0;t.Et(function(w){(w=t.um(w))&&(v+=w.Yg)});this.trigger(new q(m.kc,v/t.ed.length))};a.prototype.U8=function(){return"video"==this.get("itemVisible")?this.vb:this.Xa};return a});
3174define("gR","require pg lg cx ew mH mc fl kB oC".split(" "),function(a){var e=a("pg"),l=a("lg"),m=a("cx"),k=a("ew"),b=a("mH"),h=a("mc"),f=a("fl"),c=a("kB"),d=a("oC");return{wC:function(){this.set("visible",!1);this.set("inView",!1);this.set("frameEmpty",!0);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.ab=this.vb=
3175null;this.mea=!1;this.$P=this.Wg=this.gm=this.Ja=this.Zp=this.ga=null},QH:function(){this.Oy()},Vj:function(g){this.sZa();this.nQ();this.xQ(g)},sZa:function(){this.O("scriptObject","video","level")&&(this.Oy(),this.vb=this.get("video"),this.ab=this.get("level"),this.u=this.get("scriptObject"),this.vM())},nQ:function(){if(this.O("video","blending","chromaColor","chromaThreshold","chromaSmoothing","side")&&this.vb){var g=new m.Im(this.vb.Oi());g.nA=this.get("blending");g.yt=this.get("chromaColor");
3176g.ZQ=this.get("chromaThreshold");g.YQ=this.get("chromaSmoothing");g.side=this.get("side");this.set("materialConfig",g)}}
3176,km:function(){this.O("visible","composedAlpha","image","state")&&this.set("inView",this.get("visible")&&0<this.get("composedAlpha"));this.O("composedAlpha","meshGroup","inView")&&k.$e(this.get("meshGroup"),this.get("inView")?this.get("composedAlpha"):0)},xQ:function(){var g=!!this.Wg&&this.Wg.isEmpty(),p=this.ga&&this.ga.H0(),q=!!p&&p.isEmpty();q&&!g&&this.ga.getState()==l.Y&&this.u.get("loop")&&
3177(p=this.Wg,q=!1);this.set("frameEmpty",q);!this.Wg||p&&!this.Wg.isEqual(p)?(this.Wg=p,(g=this.Wg.ys)&&"VIDEO"==g.tagName&&(g.width=this.get("contentWidth"),g.height=this.get("contentHeight")),this.$P.Cm(g),this.$P.update(),this.Da()):this.ga.getState()==l.Y&&this.Da()},vM:function(){this.vb&&this.ab&&this.u&&(this.set("textureSource",this.$P=new f),this.$P.dia(),this.set("contentWidth",this.ab.get("width")),this.set("contentHeight",this.ab.get("height")),this.set("alpha",0),this.ga=new d(this.Ca.vc,
3178this.vb),this.ga.t5a(),this.Zp=new b(this.u,this.ga),this.Ja=new h(this.Ca.vc,this.u,this.ga),this.gm=new c(this.Ca.Xc.get("panorama"),this.ga),this.Ku(),this.trigger(e.bd),this.trigger(e.Z))},Oy:function(){this.ga&&(this.set("textureSource",this.$P=null),this.iw(),this.Ja.clear(),this.Ja=null,this.Zp.clear(),this.Zp=null,this.gm.clear(),this.gm=null,this.ga.clear(),this.Wg=this.ga=null,this.set("frameEmpty",!0),this.ab=this.vb=null)},Ku:function(){this.ga.bind(d.Kf,this.ff,this,!0);this.ga.bind(e.re,
3179this.Di,this,!0)},iw:function(){this.ga.unbind(d.Kf,this.ff,this,!0);this.ga.unbind(e.re,this.Di,this,!0)},Di:function(){this.Da()},ff:function(){this.Da()}}});
3180define("oH",["require","kS","nU"],function(a){var e=a("kS"),l=a("nU");return{io:function(){this.set("playbackPositions",null);this.set("distance",void 0);this.Yd=this.Yd.bind(this);this.qb=new l},Do:function(){e.da(this.u,["playbackPositions","distance"],this.Yd,!0)},Fo:function(){e.ba(this.u,["playbackPositions","distance"],this.Yd)},Yd:function(){this.set("distance",this.u.get("distance"));this.set("playbackPositions",this.u.get("playbackPositions"))},sf:function(){this.O("playbackPositions","currentTime")&&
3181(this.qb.YA(this.get("playbackPositions")),this.qb.XA(this.get("currentTime")),this.set("vertices",this.qb.Pfa()),this.set("alpha",this.qb.al()));this.O("video","image","vertices","distance")&&this.mb().forEach(function(m){m.set("vertices",this.get("vertices"));m.set("distance",this.get("distance"))}.bind(this))}}});
3182define("kx","require lE fg c dZ hi gR oH".split(" "),function(a){var e=a("lE"),l=a("fg"),m=a("c"),k=a("dZ"),b=a("hi"),h=a("gR");a=a("oH");var f=e.extend(m,k,b,function(){m.call(this);this.set("tag","QuadVideoHotspotImage")}),c=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.VC=f;this.lea=c})});
3183define("lc","require lE kS lg kr nX v".split(" "),function(a){var e=a("lE"),l=a("kS"),m=a("lg"),k=a("kr"),b=a("nX"),h=a("v");a=e.extend(k,function(f){k.call(this);this.u=f;this.Dk=this.Dk.bind(this);this.Ek=this.Ek.bind(this);this.Rm()});a.prototype.Pb=function(){k.prototype.Pb.call(this);this.u.set("state",this.u.get("startState"));l.da(this.u,"color speed intensity size opacity maxDistance farPlaneDistance particleCount farPlaneParticleCount".split(" "),this.Dk,!0);l.da(this.u,["state"],this.Ek,
3184!0)};a.prototype.Tb=function(){l.ba(this.u,"color speed intensity size opacity maxDistance farPlaneDistance particleCount farPlaneParticleCount".split(" "),this.Dk);l.ba(this.u,["state"],this.Ek);this.u.set("state",m.W);k.prototype.Tb.call(this)};a.prototype.Dk=function(){this.Rm();this.jP()};a.prototype.Ek=function(){this.yY=this.u.get("state");this.Da()};a.prototype.Rm=function(){k.prototype.Rm.call(this);if(h.Hf()){this.HC=this.Gs=4;this.CD=2400;this.IC=1200;var f=1.5;var c=1.6}else this.Gs=2,
3185this.HC=4,this.CD=4800,this.IC=2400,c=f=1;var d=this.u.get("intensity",.5);this.Nc=b.yr(this.u.get("color","#ffffff"));this.OO=.24*this.u.get("opacity",.25)+.01;this.OO*=2;this.Gz=(d*(.37-.17)+.17)*f;f=(this.u.get("speed",.5)*(.09-.02)+.02)/this.Gz*c;this.PN=.9*f;this.lD=1.1*f;
3185this.CD=Math.round(this.u.get("particleCount",this.CD)*d);this.IC=Math.round(this.u.get("farPlaneParticleCount",this.IC)*d);this.WW=0;this.pq=2;this.Hs=-2;this.E$=0;this.SL=.75;this.BM=.5;this.nW=this.u.get("initialState");
3186this.FZ=this.u.get("startDuration");this.LZ=this.u.get("stopDuration");this.Gs=this.u.get("maxDistance",this.Gs);this.HC=this.u.get("farPlaneDistance",this.HC);this.fA()};a.prototype.dV=function(){var f=new THREE.MeshBasicMaterial;f.color=new THREE.Color(this.Nc[0]/255,this.Nc[1]/255,this.Nc[2]/255);f.side=THREE.FrontSide;f.transparent=!0;f.depthTest=!1;f.needsUpdate=!0;this.MC||(this.MC=new THREE.BoxGeometry(.01,.2,.01));return new THREE.Mesh(this.MC,f)};a.prototype.fA=function(){var f=this.ng&&
3187this.ng.children||[],c=new THREE.Color(this.Nc[0]/255,this.Nc[1]/255,this.Nc[2]/255);f.forEach(function(d){d.material.color=c;d.material.needsUpdate=!0})};return a});
3188define("gD","require lE z pg cC jq".split(" "),function(a){var e=a("lE"),l=a("z"),m=a("pg"),k=a("cC"),b=a("jq"),h=e.extend(b,function(f,c,d,g){b.call(this);this.vc=f;this.L=c;this.Xc=d;this.j=g;this.$N=new l;this.gca(this);this.set("tag","Root");this.set("globalBlendingActive",0)});h.prototype.wf=function(f){return this.$N.get(f)};h.prototype.all=function(){for(var f=[],c=[this];0<c.length;){var d=c.pop();f.push(d);for(var g=d.Ud.length-1;0<=g;g--)c.push(d.Ud[g])}return f};h.prototype.update=function(f){var c=
3189this.all(),d=c.length,g;for(g=0;g<d;g++)c[g].XLa();for(g=0;g<d;g++)c[g].set("index",g);for(g=0;g<d;g++)c[g].Ca&&c[g].ha(f);for(g=0;g<d;g++)c[g].PLa();if(this.lW){for(g=0;g<d;g++)c[g].TLa();this.update(f)}};h.prototype.Da=function(){this.dg||this.trigger(new k(m.ca));b.prototype.Da.call(this)};h.prototype.Vw=function(f){return Array.isArray(f)?f.map(this.Vw.bind(this)):this.$N.get(f)||h.F0a.create(f)};return h});
3190define("gg","require lE kS lg kr v".split(" "),function(a){var e=a("lE"),l=a("kS"),m=a("lg"),k=a("kr"),b=a("v");a=e.extend(k,function(f){k.call(this);this.u=f;this.Dk=this.Dk.bind(this);this.Ek=this.Ek.bind(this);this.Rm()});a.prototype.Pb=function(){k.prototype.Pb.call(this);this.u.set("state",this.u.get("startState"));l.da(this.u,["intensity","speed"],this.Dk,!0);l.da(this.u,["state"],this.Ek,!0)};a.prototype.Tb=function(){l.ba(this.u,["intensity","speed"],this.Dk);l.ba(this.u,["state"],this.Ek);
3191this.u.set("state",m.W);k.prototype.Tb.call(this)};a.prototype.Dk=function(){this.Rm();this.jP()};a.prototype.Ek=function(){this.yY=this.u.get("state");this.Da()};a.prototype.Rm=function(){k.prototype.Rm.call(this);var f=this.u.get("intensity"),c=this.u.get("speed");if(b.nb()||b.browser()==b.Rr){var d=1E3;var g=350;var p=1800;var q=400;var n=.8;var r=1.2}else b.Hf()?(d=1500,g=500,p=2500,q=500,n=.8,r=1.2):(d=3E3,g=1E3,p=5E3,q=1E3,n=.6,r=1);this.nW=this.u.get("initialState");this.FZ=this.u.get("startDuration");
3192this.LZ=this.u.get("stopDuration");this.SL=.75;this.BM=.5;this.Gs=4;this.Hs=-2;this.pq=3;this.WW=35;this.HC=7;this.Gz=(n+f*(r-n))/h;this.PN=this.lD=.15+1.35*c;this.CD=g+f*(d-g);this.IC=q+f*(p-q)};a.prototype.dV=function(){return new THREE.Sprite(this.dv())};a.prototype.dv=function(){var f=new THREE.SpriteMaterial;f.map=this.Xp();f.side=THREE.FrontSide;f.transparent=!0;f.depthTest=!1;f.needsUpdate=!0;return f};a.prototype.Xp=function(){if(this.Ha)return this.Ha;var f=document.createElement("canvas");
3193f.width=f.height=h;var c=f.getContext("2d"),d=c.createRadialGradient(.5*f.width,.5*f.height,.2*f.height,.5*f.width,.5*f.height,.5*f.height);d.addColorStop(0,"rgba(255, 255, 255, 0.8)");d.addColorStop(1,"rgba(255, 255, 255, 0)");c.fillStyle=d;c.fillRect(0,0,f.width,f.height);this.Ha=new THREE.Texture;this.Ha.encoding=THREE.sRGBEncoding;this.Ha.image=f;this.Ha.needsUpdate=!0;return this.Ha};var h=32;return a});
3194define("da",["require","jv","v"],function(a){var e=a("jv"),l=a("v"),m=new THREE.Matrix4,k=Math.PI/180;return{cv: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.xh=new THREE.Matrix4;this.Md=new THREE.Matrix4;this.Eo=new THREE.Matrix4;this.Xm=new THREE.Matrix4;this.ij=new THREE.Matrix4;this.cm=new THREE.Matrix4;this.sq=new THREE.Matrix4},
3195T6:function(){var b=l.Jd()==l.ni||l.browser()==l.Rr?new THREE.CSS3DRectangle:new THREE.CSS3DObject;b.matrixAutoUpdate=!1;return b},Cw:function(b){if(this.O("contentWidth","contentHeight")){var h=this.get("cssObject");h.contentWidth=this.get("contentWidth");h.contentHeight=this.get("contentHeight");h.updateVertices()}h=!1;this.O("composedTranslationX","composedTranslationY","composedTranslationZ")&&(this.xh.makeTranslation(.5*-this.get("composedTranslationX")*e.yg,.5*this.get("composedTranslationY")*
3196e.yg,.5*this.get("composedTranslationZ")*e.yg),h=!0);this.O("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&&(this.Md.makeRotationY(-b.Ra*k),this.Md.multiply(m.makeRotationX(-this.get("composedDeltaPitch")*k)),this.Md.multiply(m.makeRotationY(this.get("composedDeltaYaw")*k)),this.Md.multiply(m.makeRotationY(b.Ra*k)),h=!0);this.O("yaw","pitch")&&(this.Eo.makeRotationY(-this.get("yaw")*k),this.Eo.multiply(m.makeRotationX(this.get("pitch")*k)),h=!0);if(this.O("flipHorizontally","hfov","vfov",
3197"composedTranslationX","composedTranslationY","composedTranslationZ")){h=this.get("contentWidth");var f=this.get("contentHeight"),c=this.get("hfov"),d=this.get("vfov");this.Xm.makeTranslation(0,0,-(h/(2*Math.tan(c*k*.5))));var g=(this.get("flipHorizontally")?-1:1)*this.get("scale"),p=this.get("scale");d&&(p*=h*Math.tan(d*k*.5)/(f*Math.tan(c*k*.5)));this.cm.makeScale(g,p,1);h=!0}this.O("rotationX","rotationY","rotationZ","roll")&&(this.ij.makeRotationZ(this.get("roll")*k),this.ij.multiply(m.makeRotationY(this.get("rotationY")*
3198k)),this.ij.multiply(m.makeRotationX(this.get("rotationX")*k)),this.ij.multiply(m.makeRotationZ(this.get("rotationZ")*k)),h=!0);if(h||this.O("meshGroup"))this.sq.copy(this.xh),this.sq.multiply(this.Md),this.sq.multiply(this.Eo),this.sq.multiply(this.Xm),this.sq.multiply(this.ij),this.sq.multiply(this.cm),this.get("cssObject").matrix.copy(this.sq),this.get("cssObject").matrixWorldNeedsUpdate=!0;this.set("cameraYaw",b.Ra);this.set("cameraPitch",b.pitch);this.set("cameraRoll",b.wg);this.set("cameraHfov",
3199b.Je);this.set("cameraWidth",b.width);this.set("cameraHeight",b.height);b.camera&&(h||this.O("cameraYaw","cameraPitch","cameraRoll","cameraHfov","cameraWidth","cameraHeight"))&&(this.get("cssObject").project
3199Vertices(b.camera),this.set("geometryVisible",this.get("cssObject").isVisible),this.O("geometryVisible")&&this.Lba())}}});
3200define("my",["require","kS","nU"],function(a){var e=a("kS"),l=a("nU");return{io:function(){this.set("playbackPositions",null);this.Yd=this.Yd.bind(this);this.qb=new l},Do:function(){e.da(this.u,["playbackPositions","width","height"],this.Yd,!0)},Fo:function(){e.ba(this.u,["playbackPositions","width","height"],this.Yd)},Yd:function(){this.set("playbackPositions",this.u.get("playbackPositions"));this.set("contentWidth",this.u.get("width"));this.set("contentHeight",this.u.get("height"))},sf:function(){this.O("playbackPositions",
3201"currentTime")&&(this.qb.YA(this.get("playbackPositions")),this.qb.XA(this.get("currentTime")),this.set("yaw",this.qb.get("yaw")),this.set("pitch",this.qb.get("pitch")),this.set("roll",this.qb.get("roll")),this.set("rotationX",this.qb.get("rotationX")),this.set("rotationY",this.qb.get("rotationY")),this.set("hfov",this.qb.get("hfov")),this.set("vfov",this.qb.get("vfov")));this.O("framePlane","holePlane","imagePlane","yaw","pitch","roll","rotationX","rotationY","hfov","vfov","contentWidth","contentHeight")&&
3202this.mb().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))}}});
3203define("mX","require lE bV fX c da ot ct hi kN my".split(" "),function(a){var e=a("lE"),l=a("bV"),m=a("fX"),k=a("c"),b=a("da"),h=a("ot"),f=a("ct"),c=a("hi"),d=a("kN");a=a("my");var g=e.extend(k,h,c,function(){k.call(this);this.set("tag","RectangleFrameHotspotImage")}),p=e.extend(m,b,f,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(n){l.call(this,n);this.VC=g;
3204this.m8=p;this.r9=q})});
3205define("ow",["require","kS","nU"],function(a){var e=a("kS"),l=a("nU");return{io:function(){this.set("playbackPositions",null);this.set("scaleMode",void 0);this.set("distance",void 0);this.Yd=this.Yd.bind(this);this.qb=new l},Do:function(){e.da(this.u,["playbackPositions","distance","scaleMode"],this.Yd,!0)},Fo:function(){e.ba(this.u,["playbackPositions","distance","scaleMode"],this.Yd)},Yd:function(){this.set("scaleMode",this.u.get("scaleMode"));this.set("distance",this.u.get("distance"));this.set("playbackPositions",
3206this.u.get("playbackPositions"))},sf:function(){this.O("playbackPositions","currentTime")&&(this.qb.YA(this.get("playbackPositions")),this.qb.XA(this.get("currentTime")),this.set("yaw",this.qb.get("yaw")),this.set("pitch",this.qb.get("pitch")),this.set("roll",this.qb.get("roll")),this.set("rotationX",this.qb.get("rotationX")),this.set("rotationY",this.qb.get("rotationY")),this.set("hfov",this.qb.get("hfov")),this.set("vfov",this.qb.get("vfov")),this.set("alpha",this.qb.al()));this.O("video","image",
3207"yaw","pitch","roll","rotationX","rotationY","hfov","vfov","distance","scaleMode","image","video")&&this.mb().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))}}});
3208define("pj","require lE fg c ot hi gR ow".split(" "),function(a){var e=a("lE"),l=a("fg"),m=a("c"),k=a("ot"),b=a("hi"),h=a("gR");a=a("ow");var f=e.extend(m,k,b,function(){m.call(this);this.set("tag","RectangleVideoHotspotImage")}),c=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.VC=f;this.lea=c})});
3209define("ea","require nV jq hU iX kb mz cc nH go W on dS bE jS jx kx lc gD gg mX pj cb".split(" "),function(a){function e(A,B){Array.isArray(B)||(B=[B]);for(var E=0;E<B.length;E++)if(l.Ga(B[E],A))return!0;return!1}var l=a("nV"),m=a("jq"),k=a("hU"),b=a("iX"),h=a("kb"),f=a("mz"),c=a("cc"),d=a("nH"),g=a("go"),p=a("W"),q=a("on"),n=a("dS"),r=a("bE"),u=a("jS"),t=a("jx"),v=a("kx"),w=a("lc"),x=a("gD"),y=a("gg"),z=a("mX"),C=a("pj");a("cb");a={};x.F0a=a;
3209a.create=function(A){if(A instanceof m)return A;if(e(A,
3210["HDRPanorama","LivePanorama","Panorama","VideoPanorama"]))return new p(A);if(e(A,["CubicPanoramaFrame","SphericPanoramaFrame"]))return e(A,"SphericPanoramaFrame")&&A.tm()?new n(A):new q(A);if(e(A,["DustPanoramaOverlay"]))return new b(A);if(e(A,"HotspotPanoramaOverlay"))return new f(A);if(e(A,["HotspotPanoramaOverlayImage","HotspotPanoramaOverlayMap"]))return new c(A);if(e(A,"Menu"))return new g(A);if(e(A,["CeilingCapPanoramaOverlay","TripodCapPanoramaOverlay"]))return new k(A);if(e(A,["FlatHotspotPanoramaOverlayImage",
3211"FlatHotspotPanoramaOverlayMap"]))return new h(A);if(e(A,["LensFlarePanoramaOverlay"]))return new d(A);if(e(A,["RainPanoramaOverlay"]))return new w(A);if(e(A,["SnowPanoramaOverlay"]))return new y(A);if(e(A,["PopupPanoramaOverlay"]))return new r(A);if(e(A,["QuadFramePanoramaOverlay"]))return new u(A);if(e(A,["QuadHotspotPanoramaOverlayImage","QuadHotspotPanoramaOverlayMap"]))return new t(A);if(e(A,["QuadVideoPanoramaOverlay"]))return new v(A);if(e(A,["FramePanoramaOverlay"]))return new z(A);if(e(A,
3212["VideoPanoramaOverlay"]))return new C(A);throw"Invalid script object";};return a});
3213define("cm",["require","exports","three.mod"],function(a,e,l){return function(){function m(){}m.BAa=function(k,b,h,f,c,d){return m.$0a(k,b/f*2-1,2*-(h/c)+1,d)};m.$0a=function(k,b,h,f){f||(f=new l.Ray);f.origin.setFromMatrixPosition(k.matrixWorld);f.direction.set(b,h,.5).unproject(k).sub(f.origin).normalize();return f};m.r1a=function(k,b){b||(b=new l.Ray);b.origin.set(0,0,0);b.direction.set(0,0,-1).applyQuaternion(k.quaternion);return b};m.q1a=function(k,b){b||(b=new l.Ray);b.origin.set(0,0,0).applyMatrix4(k);
3214b.direction.set(0,0,-1).applyMatrix4(k).sub(b.origin).normalize();return b};return m}()});
3215define("mN","require lE ew jN mb fl oB".split(" "),function(a){var e=a("lE"),l=a("ew"),m=a("jN"),k=a("mb"),b=a("fl"),h=a("oB");a=e.extend(m,function(){m.call(this);this.R=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.Co=null});a.prototype.ha=function(f){this.Yq(f);this.qg(f);this.sf(f);m.prototype.ha.call(this,f)};a.prototype.Yq=function(f){f.xb&&!this.Co&&h.getType()==h.Eu.pl&&this.ah([this.Co=
3216new m])};a.prototype.qg=function(f){this.R||(this.set("textureSource",new b),this.R=new k(this.Ca.L.Wfa()),this.get("textureSource").Cm(this.R.fg()),this.set("contentWidth",this.R.je()),this.set("contentHeight",this.R.Ye()),this.set("hfov",6),this.set("distance",this.Ca.L.get("vrPointerDistance")));this.O("changing")&&this.R.ox(f.xb&&this.get("changing"));this.O("over","overProgress")&&this.R.DF(this.get("over"),this.get("overProgress"));this.R.update(f.Ie)&&this.get("textureSource").update();this.get("changing")&&
3217this.Da()};a.prototype.sf=function(){this.zh()};a.prototype.km=function(){this.O("composedAlpha","meshGroup","visible")&&this.ny()};a.prototype.ny=function(){l.$e(this.get("meshGroup"),this.get("visible")?this.get("composedAlpha"):0)};return a});
3218define("bl","require jquery.mod en pg v pF hG".split(" "),function(a){function e(c){this.gb=c;this.Dwa=this.gb.so;this.gb.bind(k.bc,this.qf,this);this.va=l("<span></span>");this.va.css({"pointer-events":"none",position:"absolute","z-index":b.SIa,"text-align":"center",display:"none"});this.me=l("<span></span>");this.me.css({position:"absolute",left:0,top:0,right:0,bottom:0});this.va.append(this.me);this.WZ=l("<span></span>");this.WZ.css({position:"relative"});this.va.append(this.WZ);this.kj=this.pW=
3219this.Lg=null;this.$v=this.Zv=void 0;this.Cv=!1;this.Ewa=void 0}var l=a("jquery.mod"),m=a("en"),k=a("pg");a("v");var b=a("pF"),h=a("hG"),f={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,
3220toolTipPaddingBottom: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.$c=function(){return this.va};e.prototype.yF=function(c){if(!this.Dwa){for(;c&&
3221c.get("toolTipDisabled");)c=c.getParent();this.hide();this.Lg&&m(m(f).keys()).each(function(d){this.Lg.unbind(k.F(d),this.naa,this)},this);if(this.Lg=c)m(m(f).keys()).each(function(d){this.Lg.bind(k.F(d),this.naa,this)},this),this.naa()}};e.prototype.o7a=function(c,d){this.Lg=c;this.Ewa=d;this.xW()||(this.Cv?this.Rva():this.TP())};e.prototype.Pva=function(c,d,g){this.Cv&&this.Lg.trigger(k.Nka);this.lYa(c);this.WZ.html(this.aQa(d));this.Nma=g;this.sf();this.Lg.trigger(k.RIa);this.Cv=!0;this.va.css("display",
3222"inline");(g||c.get("checkToolTipOcclusion"))&&this.CWa(c)};e.prototype.sf=function(){var c=this.gq(),d=c.x;c=c.y;var g=this.va.outerWidth(),p=this.va.outerHeight();if(this.Nma){d-=.5*this.va.width();var q=this.Lg.get("toolTipCenteredOffsetY");c=void 0===q?c-.5*this.va.height():0<q?c+q:c-(this.va.height()-q)}d=Math.max(Math.min(d,this.gb.Ya()-g-3),3);c=Math.max(Math.min(c,this.gb.Ab()-p-3),3);this.va.css("left",d+"px");this.va.css("top",c+"px")};e.prototype.gq=function(){var c={};if(this.Nma){var d=
3223this.Lg.$c().offset();c.x=d.left+.5*this.Lg.Ya();c.y=d.top+.5*this.Lg.Ab()}else c.x=this.Zv,c.y=this.$v+25;return c};e.prototype.hide=function(){this.rC();this.hwa();this.Cv&&(this.va.css("display","none"),this.Lg.trigger(k.Nka),this.Cv=!1)};e.prototype.naa=function(){this.Lg.get("toolTip")?this.xW()||(this.Cv?this.Qva():this.TP()):this.xW()?this.rC():this.Cv&&this.hide()};e.prototype.qf=function(c){this.Zv=c.pageX;this.$v=c.pageY;this.Cv&&this.Lg.get("toolTipFollowMouse")&&this.sf()};e.prototype.Qva=
3224function(){this.Pva(this.Lg,this.Lg.get("toolTip"),this.Lg.get("toolTipCentered"))};e.prototype.Rva=function(){this.Pva(this.Lg,this.Ewa,!0)};e.prototype.xW=function(){return null!=this.kj};e.prototype.TP=function(){var c=this.Lg&&this.Lg.get("toolTipDisplayTime");if(void 0===c||null===c)c=f.toolTipDisplayTime;this.rC();this.kj=setTimeout(function(){this.kj=null;this.Dwa?this.Rva():this.Qva()}.bind(this),c)};e.prototype.rC=function(){this.xW()&&(clearTimeout(this.kj),this.kj=null)};e.prototype.CWa=
3225function(c){var d=this.gq();this.hwa();var g=function(){this.va.css("display",this.Cv&&!this.fRa(c,d.x,d.y)?"inline":"none")}.bind(this);this.pW=setInterval(g,300);g()};e.prototype.hwa=function(){this.pW&&(clearInterval(this.pW),this.pW=null)};e.prototype.lYa=function(c){function d(n){var r=c.get(n);return void 0===r?f[n]:r}var g={};g.opacity=d("toolTipOpacity");g.filter=g["-ms-filter"]="alpha(opacity="+Math.round(100*d("toolTipOpacity"))+")";g.paddingTop=d("toolTipPaddingTop")+"px";g.paddingBottom=
3226d("toolTipPaddingBottom")+"px";g.paddingLeft=d("toolTipPaddingLeft")+"px";g.paddingRight=d("toolTipPaddingRight")+"px";g["text-align"]=d("toolTipHorizontalAlign");this.va.css(g);g={};g.opacity=d("toolTipBackgroundOpacity");g.filter=g["-ms-filter"]="alpha(opacity="+Math.round(100*d("toolTipBackgroundOpacity"))+")";g["background-color"]=d("toolTipBackgroundColor");g.border=[d("toolTipBorderSize")+"px","solid",d("toolTipBorderColor")].join(" ");var p=d("toolTipShadowColor");g["-moz-box-shadow"]=g["-webkit-box-shadow"]=
3227g["box-shadow"]=[d("toolTipShadowHorizontalLength")+"px",d("toolTipShadowVerticalLength")+"px",d("toolTipShadowBlurRadius")+"px",d("toolTipShadowSpread")+"px","rgba("+parseInt("0x"+p.substr(1,2))+", "+parseInt("0x"+p.substr(3,2))+", "+parseInt("0x"+p.substr(5,2))+", "+d("toolTipShadowOpacity")+")"].join(" ");g["-moz-border-radius"]=g["-webkit-border-radius"]=g.borderRadius=d("toolTipBorderRadius")+"px";this.me.css(g);g={};g["font-family"]=h.Qw(d("toolTipFontFamily"));p=d("toolTipFontSize");m(p).isNumber()?
3228p+="px":m(p).isString()||(p="");g["font-size"]=p;g["font-weight"]=d("toolTipFontWeight");g["font-style"]=d("toolTipFontStyle");g.color=d("toolTipFontColor");p=d("toolTipTextShadowColor");g["-moz-text-shadow"]=g["-webkit-text-shadow"]=g["text-shadow"]=[d("toolTipTextShadowHorizontalLength")+"px",d("toolTipTextShadowVerticalLength")+"px",d("toolTipTextShadowBlurRadius")+"px","rgba("+parseInt("0x"+p.substr(1,2))+", "+parseInt("0x"+p.substr(3,2))+", "+parseInt("0x"+p.substr(5,2))+", "+d("toolTipTextShadowOpacity")+
3229")"].join(" ");var q=0==d("toolTipTextShadowVerticalLength")&&0==d("toolTipTextShadowHorizontalLength")?135:45*Math.round(4*Math.atan2("toolTipTextShadowHorizontalLength",-d("toolTipTextShadowVerticalLength"))/Math.PI);g.filter="progid:DXImageTransform.Microsoft.Shadow(color=#"+function(n){for(n=n.toString(16);2>n.length;)n="0"+n;return n}(255*d("toolTipTextShadowOpacity"))+p.substr(1,6)+",direction="+q+")";this.WZ.css(g)};e.prototype.fRa=function(c,d,g){d=document.elementsFromPoint(d,g);c=c.$c()[0];
3230g=this.gb.$c()[0];for(var p=0;p<d.length;p++){var q=d[p];if(c==q||c.contains(q))break;if(!this.va[0].contains(q)&&g.contains(q)){var n=window.getComputedStyle(q);
3230if("none"!=n.display&&"hidden"!=n.visibility&&.29<("CANVAS"==q.tagName?1:this.dMa(n.backgroundColor))*n.opacity)return!0}}return!1};e.prototype.dMa=function(c){if(!c)return 0;c=c.toLowerCase();var d=c.match(/rgba\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*,\s*(\d*\.?\d*)\s*\)/);return d?parseFloat(d[1]):c.match(/transparent/)?0:1};e.prototype.aQa=function(c){c=
3231(c||"").split("\n");for(var d=0;d<c.length;d++)c[d]=this.XNa(c[d]);return c.map(function(g){return"<div>"+g+"</div>"})};e.prototype.XNa=function(c){e.Ela.nodeValue=c;return e.Ala.innerHTML};e.vHa=f;e.Ala=document.createElement("pre");e.Ela=document.createTextNode("");e.Ala.appendChild(e.Ela);return e});
3232define("cV",["require","bl","bT","hG"],function(a){function e(b,h){this.L=b;this.im=h;this.tWa()}var l=a("bl"),m=a("bT"),k=a("hG");e.prototype.fg=function(){return this.R};e.prototype.je=function(){return this.R.width};e.prototype.Ye=function(){return this.R.height};e.prototype.tWa=function(){this.R=document.createElement("canvas");var b=this.im.split("\n"),h=this.Pg("toolTipBackgroundColor"),f=this.Pg("toolTipBackgroundOpacity"),c=this.Pg("toolTipBorderRadius"),d=this.Pg("toolTipBorderColor"),g=
3233this.Pg("toolTipBorderSize");this.Pg("toolTipDisplayTime");var p=this.Pg("toolTipFontFamily"),q=this.Pg("toolTipFontSize"),n=this.Pg("toolTipFontColor"),r=this.Pg("toolTipFontWeight"),u=this.Pg("toolTipFontStyle"),t=this.Pg("toolTipPaddingBottom"),v=this.Pg("toolTipPaddingLeft"),w=this.Pg("toolTipPaddingTop"),x=this.Pg("toolTipPaddingRight"),y=this.Pg("toolTipOpacity"),z=this.Pg("toolTipTextShadowBlurRadius"),C=this.Pg("toolTipTextShadowColor"),A=this.Pg("toolTipTextShadowHorizontalLength"),B=this.Pg("toolTipTextShadowVerticalLength"),
3234E=this.Pg("toolTipTextShadowOpacity"),G=new m.Y4;G.fontFamily=p;G.fontSize=q+(isNaN(q)?"":"px");G.fontWeight=r;G.fontStyle=u;this.R=document.createElement("canvas");var K=this.R.getContext("2d"),I=b.map(function(S){return m(S,G,K)}),Q=0,W=0;I.forEach(function(S){Q=Math.max(S.width,Q);W+=S.height});var U=1<b.length?W/b.length*.25:0;W+=(b.length-1)*U;x=g+v+Q+x+g;t=g+w+W+t+g;this.R.width=this.R.height=Math.max(256,Math.max(128,Math.pow(2,Math.ceil(Math.log(Math.max(x,t))/Math.LN2))));K=this.R.getContext("2d");
3235var T=.5*(this.R.width-x),X=.5*(this.R.height-t);K.save();K.translate(T,X);K.globalAlpha=y;K.strokeStyle=d;K.fillStyle="transparent"===h?"rgba(0,0,0,0)":this.Rla(f,h);K.lineWidth=g;K.beginPath();K.moveTo(c,0);K.lineTo(x-c,0);K.quadraticCurveTo(x,0,x,c);K.lineTo(x,t-c);K.quadraticCurveTo(x,t,x-c,t);K.lineTo(c,t);K.quadraticCurveTo(0,t,0,t-c);K.lineTo(0,c);K.quadraticCurveTo(0,0,c,0);K.closePath();K.fill();0<g&&K.stroke();K.fillStyle=n;K.font=r+" "+("normal"!=u?u+" ":"")+q+(isNaN(q)?"":"px")+" "+k.Qw(p);
3236K.shadowColor=this.Rla(E,C);K.shadowOffsetX=A;K.shadowOffsetY=B;K.shadowBlur=z;K.textBaseline="middle";K.textAlign="center";var D=g+v+.5*Q,M=g+w;b.forEach(function(S,Y){K.fillText(S,Math.round(D),Math.round(M+.5*I[Y].height));M+=I[Y].height+U})};e.prototype.Pg=function(b){var h=this.L.get(b);return void 0===h?l.vHa[b]:h};e.prototype.Rla=function(b,h){return"rgba("+parseInt("0x"+h.substr(1,2))+", "+parseInt("0x"+h.substr(3,2))+", "+parseInt("0x"+h.substr(5,2))+", "+b+")"};return e});
3237define("pa","require lE jv jN cV fl oB".split(" "),function(a){var e=a("lE"),l=a("jv"),m=a("jN"),k=a("cV"),b=a("fl"),h=a("oB");a=e.extend(m,function(){m.call(this);this.R=null;this.set("tag","ToolTip");this.set("text","");this.Yo=new THREE.Vector3(0,0,-l.mr());this.Co=null});a.prototype.ha=function(g){this.Yq(g);this.qg(g);m.prototype.ha.call(this,g)};a.prototype.Yq=function(g){g.xb&&!this.Co&&h.getType()==h.Eu.pl&&this.ah([this.Co=new m])};a.prototype.qg=function(g){if(!this.R||this.O("text")){this.get("textureSource")||
3238this.set("textureSource",new b);this.R=new k(this.Ca.L,this.get("text"));this.get("textureSource").Cm(this.R.fg());this.set("contentWidth",this.R.je());this.set("contentHeight",this.R.Ye());this.set("hfov",2*Math.atan2(.5*this.R.je(),600)*f);this.set("distance",this.Ca.L.get("vrPointerDistance"));var p=this.get("matrix"),q=this.get("intersectionYaw"),n=this.get("intersectionPitch");void 0!==q&&void 0!==n?(this.set("yaw",q),this.set("pitch",n+c),this.set("distance",this.get("intersectionDistance"))):
3239p?(this.Yo.applyMatrix4(p),0==this.Yo.x&&0==this.Yo.z||this.set("yaw",f*Math.atan2(this.Yo.x,-this.Yo.z)),0==this.Yo.y&&0==this.Yo.z||this.set("pitch",f*Math.atan2(this.Yo.y,Math.sqrt(this.Yo.z*this.Yo.z+this.Yo.x*this.Yo.x))+c)):(this.set("yaw",g.Ra),this.set("pitch",g.pitch+d))}};var f=180/Math.PI,c=2,d=5;return a});
3240define("os",["require","exports","cm","U"],function(a,e,l,m){return function(){function k(b,h){this.jf=b;this.j=h}k.prototype.update=function(){};k.prototype.clear=function(){};k.prototype.getType=function(){return this.jf};k.prototype.lAa=function(b){return this.MV=(b=b.xg&&m.getCamera(b.xg))?l.r1a(b,this.MV):void 0};k.IL="webxr";k.f5="gaze";k.g5="gaze_click";k.Uka="laser";k.GL="mouse";k.HL="touch";return k}()});
3241define("fq",["require","exports","os","bd"],function(a,e,l,m){return function(){function k(b,h,f,c,d){void 0===d&&(d=!0);this.$d=b;this.Lq=h;this.MV=f;this.mf=c;this.kRa=d;this.Jma=[];this.Fk=[];this.MP={};this.o9=[];this.Sb="";this.$z=Number.MAX_VALUE}k.prototype.Wt=function(){return this.$d};k.prototype.UJ=function(){return this.MV};k.prototype.Tt=function(){return this.$d.getType()==l.GL};k.prototype.BBa=function(){return this.$d.getType()==l.IL};k.prototype.cF=function(){return this.$d.getType()==
3242l.HL};k.prototype.P2a=function(){return this.$d.getType()==l.f5};k.prototype.rya=function(b,h){this.MP[h]=(this.MP[h]||[]).concat(b)};k.prototype.LFa=function(){return k.qHa.find(this.q2a.bind(this))};k.prototype.q2a=function(b){return void 0!==this.MP[b]&&0<this.MP[b].length?!0:!1};k.prototype.l3=function(){return 0<Object.keys(this.MP).length};k.prototype.yE=function(b){this.rya(b,m.ye)};k.prototype.XZa=function(b){this.o9=this.o9.concat(b)};k.prototype.m0a=function(){return!this.LFa()&&0<this.o9.length};
3243k.prototype.jA=function(b){this.Fk=this.Fk.concat(b)};k.prototype.Nn=function(){return 0<this.Fk.length};k.prototype.Xk=function(b){b&&(void 0===this.C7||this.C7>b)&&(this.C7=b)};k.prototype.St=function(){return this.C7};k.prototype.O_=function(b,h){if(""==this.Sb||this.$z>h)this.Sb=b,this.$z=h};k.prototype.Ax=function(){return this.Sb};k.prototype.Hr=function(b){this.Jma=void 0===b?[]:Array.isArray(b)?b:[b]};k.prototype.Yk=function(){return 0<this.Jma.length};k.qHa=[m.Jh,m.Zja,m.Vx,m.ye,m.xe];return k}()});
3244define("cN","require lE pg bn cm U mN pa fq os oB".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("bn");a("cm");a("U");
3244var k=a("mN"),b=a("pa"),h=a("fq"),f=a("os"),c=a("oB");a=e.extend(f,function(d,g){f.call(this,f.f5,d);this.Tj=this.C=null;this.Fk=[];this.hd=this.$u=!1;this.eN=null;this.Mpa=void 0;this.qP=null;this.Ata=void 0;this.oe=new k;this.j.add(this.oe);this.Uo="";this.Sb=new b;this.Sb.set("alpha",0);this.j.add(this.Sb);this.Vba=g?this.j.L.get("vrPointerSelectionTime"):void 0;this.Npa=this.j.L.get("vrGazePointerHideTime");
3245this.$Z=this.$Z.bind(this);this.Jl=this.Jl.bind(this);document.body.addEventListener("touchend",this.$Z);document.addEventListener("keyup",this.Jl,!0);c.P.bind(l.Jp,this.aya,this,!0);this.xda();this.Tda()});a.prototype.clear=function(){document.body.removeEventListener("touchend",this.$Z);document.removeEventListener("keyup",this.Jl,!0);c.P.unbind(l.Jp,this.aya,this,!0);this.Hca();this.j.remove(this.oe);this.oe=null;this.j.remove(this.Sb);this.Sb=null};a.prototype.update=function(d){this.C=d;this.wVa(d.fr);
3246this.Vk()};a.prototype.$Z=function(){this.SG()};a.prototype.Jl=function(d){d.code!=m.ja.CT&&d.code!=m.ja.mG||this.SG()};a.prototype.aya=function(){this.SG()};a.prototype.SG=function(){var d=this.vk(l.Lf);this.Qk(d);this.aE(!1);this.ida()};a.prototype.ida=function(){this.j.wb().trigger(l.QB,{$K:l.Lf})};a.prototype.Vk=function(){var d=this.vk(l.tl);this.Qk(d);this.qw(d.Ax());a:{var g=this.Fk;for(var p=d.Fk,q=0;q<g.length;q++)if(0>p.indexOf(g[q])){g=!1;break a}for(q=0;q<p.length;q++)if(0>g.indexOf(p[q])){g=
3247!1;break a}g=!0}g||(this.aE(!1),this.Fk=d.Fk,this.Fk.length&&this.aE(!0,d.l3()))};a.prototype.wVa=function(d){this.$u!=d&&(this.$u=d,this.oe.set("changing",this.$u),this.xda(),this.Tda())};a.prototype.aE=function(d,g){this.hd!=d&&(this.hd=d,this.oe.set("over",this.hd&&g),this.xda(),this.Tda())};a.prototype.qw=function(d){this.Uo!=d&&(this.Uo=d,this.Sb.set("text",this.Uo),this.Sb.set("alpha",this.Uo?1:0),this.Uo&&this.Sb.zh())};a.prototype.Qk=function(d){this.j.BR().sort(function(g,p){return p.get("index")-
3248g.get("index")}).forEach(function(g){g.Bm(d)}.bind(this))};a.prototype.vk=function(d){this.Tj=this.lAa(this.C);return new h(this,this.Tj?[this.Tj]:[],this.Tj,d)};a.prototype.Tda=function(){!this.hd||this.$u||void 0===this.Vba?this.Hca():this.hd&&!this.qP&&this.WWa()};a.prototype.xda=function(){this.hd||this.$u||void 0===this.Npa?(this.oe.set("alpha",1),this.lwa()):1!=this.oe.get("alpha")||this.eN||this.IWa()};a.prototype.Hca=function(){this.qP&&(clearInterval(this.qP),this.qP=null)};a.prototype.WWa=
3249function(){this.oe.set("overProgress",0);this.Ata=(new Date).getTime();this.qP=setInterval(this.ZSa.bind(this),100)};a.prototype.ZSa=function(){var d=(new Date).getTime()-this.Ata;d>=this.Vba?(this.Hca(),this.SG()):this.oe.set("overProgress",d/this.Vba)};a.prototype.lwa=function(){this.eN&&(clearInterval(this.eN),this.eN=null)};a.prototype.IWa=function(){this.Mpa=(new Date).getTime();this.eN=setInterval(this.rSa.bind(this),10)};a.prototype.rSa=function(){var d=this.Npa-((new Date).getTime()-this.Mpa);
3250this.oe.set("alpha",Math.max(.01,Math.min(1,d/500)));0>=d&&this.lwa()};return a});
3251define("kV","require lE jv cx ew fl h nX".split(" "),function(a){var e=a("lE"),l=a("jv"),m=a("cx"),k=a("ew"),b=a("fl"),h=a("h"),f=a("nX"),c=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.tba=this.eP=this.Vs=this.sba=null;new THREE.Matrix4;this.uba=new THREE.Matrix4;this.uba.multiply(c.makeRotationX(-90*
3252d));this.uba.multiply(c.makeTranslation(0,.5*g,0));this.rV=this.qV=this.pV=this.jv=this.G7=null;new THREE.Matrix4;this.H7=new THREE.Matrix4;this.pM=this.oV=this.F7=null;new THREE.Matrix4;this.vC=[new THREE.Matrix4,new THREE.Matrix4,new THREE.Matrix4];
3252this.vC[0].multiply(c.makeRotationX(-90*d));this.vC[0].multiply(c.makeTranslation(0,.5*-q,0));this.vC[1].multiply(c.makeRotationX(-90*d));this.vC[1].multiply(c.makeTranslation(0,.5*-q,.5*-p));this.vC[2].multiply(c.makeRotationX(-90*d));this.vC[2].multiply(c.makeTranslation(0,
3253.5*-q,-p))});a.prototype.ha=function(n){h.prototype.ha.call(this,n);this.Vda();this.gA()};a.prototype.Vda=function(){this.O("visible")&&(this.get("meshGroup").visible=this.get("visible"));this.O("dotVisible")&&k.$e([this.qV,this.oV],this.get("dotVisible")?1:0)};a.prototype.gA=function(){this.O("over","pressed")&&(this.jxa(),this.Bxa())};var g=.35,p=.012,q=.1;a.prototype.ho=function(){this.oV=k.create(new THREE.SphereGeometry(2.3,32,32),this.BMa());this.qV=k.create(new THREE.SphereGeometry(2,32,32),
3254this.CMa());this.tba=k.create(new THREE.CylinderGeometry(.003,.003,g,8),this.cNa());this.WG=[];this.WG.push(k.create(new THREE.CylinderGeometry(p,p,q,32),this.V6()));this.WG.push(k.create(new THREE.BoxGeometry(2*p,q,p),this.V6()));this.WG.push(k.create(new THREE.CylinderGeometry(p,p,q,32),this.V6()));return[this.oV,this.qV,this.tba].concat(this.WG)};a.prototype.BMa=function(){if(null==this.F7){var n=document.createElement("canvas");n.width=n.height=256;var r=n.getContext("2d"),u=new b;u.Cm(n);this.F7=
3255m.pA(u.texture(),new m.Im);r.fillStyle="rgba(0, 0, 0, 0.75)";r.clearRect(0,0,n.width,n.height);r.fillRect(0,0,n.width,n.height)}return this.F7};a.prototype.CMa=function(){null==this.G7&&(this.jv=document.createElement("canvas"),this.jv.width=this.jv.height=256,this.pV=this.jv.getContext("2d"),this.rV=new b,this.rV.Cm(this.jv),this.G7=m.pA(this.rV.texture(),new m.Im),this.jxa());return this.G7};a.prototype.jxa=function(){this.pV.fillStyle=this.x8();this.pV.clearRect(0,0,this.jv.width,this.jv.height);
3256this.pV.fillRect(0,0,this.jv.width,this.jv.height);this.rV.update()};a.prototype.cNa=function(){null==this.sba&&(this.Vs=document.createElement("canvas"),this.Vs.width=this.Vs.height=256,this.eP=this.Vs.getContext("2d"),this.vba=new b,this.vba.Cm(this.Vs),this.sba=m.pA(this.vba.texture(),new m.Im),this.Bxa());return[this.sba]};a.prototype.Bxa=function(){var n=f.yr(this.x8()).join(", "),r=this.eP.createLinearGradient(0,0,0,this.Vs.height);r.addColorStop(0,"rgba("+n+", 0)");r.addColorStop(.5,"rgba("+
3257n+", 1)");r.addColorStop(1,"rgba("+n+", 1)");this.eP.fillStyle=r;this.eP.clearRect(0,0,this.Vs.width,this.Vs.height);this.eP.fillRect(0,0,this.Vs.width,this.Vs.height);this.vba.update()};a.prototype.V6=function(){if(null==this.pM){var n=document.createElement("canvas");n.width=n.height=256;var r=n.getContext("2d"),u=new b;u.Cm(n);this.pM=m.pA(u.texture(),new m.Im);r.fillStyle="rgba(64, 64, 64, 1)";r.clearRect(0,0,n.width,n.height);r.fillRect(0,0,n.width,n.height)}return[this.pM,this.pM,this.pM]};
3258a.prototype.Zq=function(){var n=!1,r=!1,u=!1;if(this.O("intersectionDistance")){r=(r=this.get("intersectionDistance"))?l.Lt(r):l.mr();var t=r/l.mr();this.H7.makeTranslation(0,0,-r);this.H7.multiply(c.makeScale(t,t,t));r=!0}this.O("matrix")&&(u=r=n=!0);r&&(c.identity(),(r=this.get("matrix"))&&c.multiply(r),c.multiply(this.H7),k.hr(this.qV,c),k.hr(this.oV,c));n&&(c.identity(),(r=this.get("matrix"))&&c.multiply(r),c.multiply(this.uba),k.hr(this.tba,c));if(u)for(r=this.get("matrix"),n=0;n<this.WG.length;n++)c.identity(),
3259r&&c.multiply(r),c.multiply(this.vC[n]),k.hr(this.WG[n],c)};a.prototype.sE=function(){if(this.O("index","meshGroup")){var n=this.get("meshGroup");n&&n.children.forEach(function(r){k.K2(r,this.get("index"))}.bind(this))}};a.prototype.x8=function(){return this.get("pressed")?this.Ca.L.get("vrPointerSelectionColor"):this.get("over")?this.Ca.L.get("vrPointerOverColor"):this.Ca.L.get("vrPointerColor")};return a});
3260define("es","require lE pg cm kV mN pa fq os hu oB nR".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("cm"),k=a("kV"),b=a("mN"),h=a("pa"),f=a("fq"),c=a("os"),d=a("hu"),g=a("oB"),p=a("nR"),q=new THREE.Matrix4,n=Math.PI/180;a=e.extend(c,function(r){c.call(this,c.Uka,r);this.Tj=this.C=null;this.Fk=[];this.Kj=new k;this.j.add(this.Kj);this.oe=new b;this.j.add(this.oe);this.Lk=!1;this.Uo="";this.Sb=null;this.Bl=new THREE.Matrix4});a.prototype.clear=function(){this.j.remove(this.Kj);this.j.remove(this.oe);
3261this.oe=this.Kj=null;this.Sb&&this.j.remove(this.Sb);this.Sb=null};a.prototype.update=function(r){this.C=r;this.oe.set("changing",r.fr);this.oe.set("visible",r.fr);var u=d.bk();if(u&&!u.S2a()){var t=u.quaternion(),v=u.position(),w=g.Zg&&g.Yc,x=p.Ra(g.Zg&&g.tg);this.Bl.identity();v?(this.Bl.multiply(q.makeRotationY((x-r.Ra)*n)),this.Bl.multiply(q.makeTranslation(-w.x,-w.y,-w.z)),this.Bl.multiply(q.makeTranslation(v.x,v.y,v.z)),this.Bl.multiply(q.makeRotationFromQuaternion(t))):(this.Bl.multiply(q.makeRotationY(-r.Ra*
3262n)),u.hand()==d.Wa?this.Bl.multiply(q.makeTranslation(-.2,-.4,0)):this.Bl.multiply(q.makeTranslation(.2,-.4,0)),this.Bl.multiply(q.makeRotationY(x*n)),this.Bl.multiply(q.makeRotationFromQuaternion(t)),this.Bl.multiply(q.makeTranslation(0,0,-.3)));this.Kj.set("matrix",null);this.Kj.set("matrix",this.Bl);this.Kj.set("pressed",u.pressed());this.Kj.set("visible",!0)}else this.Kj.set("visible",!1);this.Vk();r=!!u&&u.pressed();this.Lk!=r&&(this.Lk&&this.SG(),this.Lk=r);this.Kj.zh();this.oe.zh()};a.prototype.SG=
3263function(){var r=this.vk(l.Lf);this.Qk(r);this.Kj.set("over",!0);this.Kj.set("dotVisible",!0);this.Kj.set("intersectionDistance",r.St());d.bk();this.ida()};a.prototype.ida=function(){this.j.wb().trigger(l.QB,{$K:l.Lf})};a.prototype.Vk=function(){var r=this.vk(l.tl);this.Qk(r);this.qw(r.Ax());a:{var u=this.Fk;for(var t=r.Fk,v=0;v<u.length;v++)if(0>
3263t.indexOf(u[v])){u=!1;break a}for(v=0;v<t.length;v++)if(0>u.indexOf(t[v])){u=!1;break a}u=!0}u||!r.l3()&&!this.Kj.get("over")||(this.Fk=r.Fk,d.bk());this.Kj.set("over",
3264r.l3());this.Kj.set("intersectionDistance",r.St());this.Kj.set("dotVisible",!r.m0a())};a.prototype.qw=function(r){this.Uo!=r&&(this.Uo&&this.j.remove(this.Sb),this.Uo=r)&&(this.Sb=new h(this.Uo),this.Sb.set("text",this.Uo),this.Sb.set("matrix",null),this.Sb.set("matrix",this.Bl),this.j.add(this.Sb))};a.prototype.Qk=function(r){this.j.BR().sort(function(u,t){return t.get("index")-u.get("index")}).forEach(function(u){u.Bm(r)}.bind(this))};a.prototype.vk=function(r){this.Tj=m.q1a(this.Bl,this.Tj);return new f(this,
3265[this.Tj],this.lAa(this.C),r)};return a});
3266define("jt","require lE pg cm U fq os bd".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("cm"),k=a("U"),b=a("fq"),h=a("os"),f=a("bd");a=e.extend(h,function(c){h.call(this,h.GL,c);this.j.L.bind(l.bc,this.Mj,this,!0);this.j.L.bind(l.Fp,this.Qqa,this,!0);this.j.L.bind(l.Vb,this.IUa,this,!0);this.j.L.bind(l.jb,this.Xd,this,!0);this.j.L.bind(l.Eb,this.Nj,this,!0);this.$v=this.Zv=this.dw=this.zn=this.gd=this.fd=void 0;this.Tj=this.C=null;this.WI=void 0;this.Sb=""});a.prototype.clear=function(){this.j.L.unbind(l.bc,
3267this.Mj,this,!0);this.j.L.unbind(l.Fp,this.Qqa,this,!0);this.j.L.unbind(l.jb,this.Xd,this,!0);this.j.L.unbind(l.Eb,this.Nj,this,!0);this.Zda&&(this.j.EK(f.ye),this.Zda=!1);this.qw("")};a.prototype.update=function(c){this.C=c;this.Gda()};a.prototype.AAa=function(){return{x:this.fd,y:this.gd,pageX:this.Zv,pageY:this.$v}};a.prototype.Mj=function(c){this.fd=c.x;this.gd=c.y;this.Zv=c.pageX;this.$v=c.pageY;this.o_()};a.prototype.Qqa=function(){this.$v=this.Zv=this.gd=this.fd=void 0;this.o_()};a.prototype.IUa=
3268function(){this.$v=this.Zv=this.gd=this.fd=void 0;this.o_()};a.prototype.Xd=function(c){this.fd=this.zn=c.x;this.gd=this.dw=c.y;this.Zv=c.pageX;this.$v=c.pageY;this.Qk(this.vk(l.gy))};a.prototype.Nj=function(c){this.fd=c.x;this.gd=c.y;this.Zv=c.pageX;this.$v=c.pageY;this.Qk(this.vk(l.kG));this.a$(this.zn,this.dw,this.fd,this.gd)&&this.Qk(this.vk(l.Lf))};a.prototype.Gda=function(){this.$q||(this.$q=setTimeout(function(){this.$q=null;this.Vk()}.bind(this),300))};a.prototype.o_=function(){this.$q&&(clearTimeout(this.$q),
3269this.$q=null);this.Vk()};a.prototype.Vk=function(){var c=this.vk(l.tl);this.Qk(c);this.qw(c.Ax());c=c.LFa();this.WI!=c&&(this.WI&&this.j.EK(this.WI),(this.WI=c)&&this.j.m2(this.WI))};a.prototype.qw=function(c){this.Sb!=c&&(this.Sb=c,this.j.L.set("toolTip",this.Sb))};a.prototype.Qk=function(c){this.j.BR().sort(function(d,g){return g.get("index")-d.get("index")}).forEach(function(d){d.Bm(c)}.bind(this))};a.prototype.vk=function(c){return new b(this,this.WV(),null,c)};a.prototype.WV=function(){if(void 0!==
3270this.fd&&void 0!==this.gd&&this.C.xg){var c=k.getCamera(this.C.xg);if(c)return this.Tj=m.BAa(c,this.fd,this.gd,this.C.width,this.C.height,this.Tj),[this.Tj]}return[]};a.prototype.a$=function(c,d,g,p){c=g-c;d=p-d;return 5>=Math.sqrt(c*c+d*d)};return a});
3271define("gJ","require lE pg cm U fq os".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("cm"),k=a("U"),b=a("fq"),h=a("os");a=e.extend(h,function(c){h.call(this,h.HL,c);this.L=this.j.L;this.L.bind(l.jb,this.Xd,this,!0);this.L.bind(l.Eb,this.Nj,this,!0);this.L.bind(l.F("touchOverAreaScale"),this.vaa,this,!0);this.dw=this.zn=this.gd=this.fd=void 0;this.Mma=this.C=null;this.vaa();this.LTa=Array(f.length);this.Sb="";this.Vk=this.Vk.bind(this)});a.prototype.clear=function(){this.L.unbind(l.jb,this.Xd,
3272this,!0);this.L.unbind(l.Eb,this.Nj,this,!0);this.L.unbind(l.F("touchOverAreaScale"),this.vaa,this,!0);this.qw("")};a.prototype.update=function(c){this.C=c;this.Gda()};a.prototype.Xd=function(c){this.fd=this.zn=c.x;this.gd=this.dw=c.y;this.Qk(this.vk(l.gy))};a.prototype.Nj=function(c){this.fd=c.x;this.gd=c.y;this.Qk(this.vk(l.kG));this.a$(this.zn,this.dw,this.fd,this.gd)&&this.Qk(this.vk(l.Lf))};a.prototype.Gda=function(){this.$q||(this.$q=setTimeout(this.Vk,300))};a.prototype.o_=function(){this.$q&&
3273(clearTimeout(this.$q),this.$q=null);this.Vk()};a.prototype.Vk=function(){this.$q=null;var c=this.vk(l.tl);this.Qk(c);this.qw(c.Ax())};a.prototype.qw=function(c){if(this.Sb!=c&&(this.Sb=c,c=this.j.L,c.set("toolTip",this.Sb),!c.get("toolTipDisabled"))){var d=c.wb().Sb;this.Sb?d.o7a(c,this.Sb):d.hide()}};a.prototype.Qk=function(c){this.j.BR().sort(function(d,g){return g.get("index")-d.get("index")}
3273).forEach(function(d){d.Bm(c)}.bind(this))};a.prototype.vk=function(c){var d=c==l.tl?this.WV(.5*this.C.width,
3274.5*this.C.height,this.Kma,this.Mma):this.WV(this.fd,this.gd,f,this.LTa);return new b(this,d,null,c)};a.prototype.WV=function(c,d,g,p){var q=this.C.xg&&k.getCamera(this.C.xg);if(q){var n=this.C.width,r=this.C.height,u=Math.min(n,r)/100;g.forEach(function(t,v){p[v]=m.BAa(q,c+t[0]*u,d+t[1]*u,n,r,p[v])});return p}return[]};a.prototype.a$=function(c,d,g,p){c=g-c;d=p-d;return Math.sqrt(c*c+d*d)<=4*Math.round(1*Math.min(window.screen.width,window.screen.height)/100)};a.prototype.vaa=function(){this.Kma=
3275this.TOa(this.L.get("touchOverAreaScale"));this.Mma=Array(this.Kma.length)};a.prototype.TOa=function(c){var d=[],g=Math.min(50,Math.ceil(5*c)),p=Math.min(50,Math.ceil(30*c));c=Math.min(50,Math.ceil(15*c));for(var q=-g;q<=g;q++)for(var n=-g;n<=g;n++){var r=Math.sqrt(n*n+q*q);r<=g&&d.push([n,q,r])}for(n=-p;n<-g;n++)d.push([n,0,Math.sqrt(n*n)]);for(n=g+1;n<=p;n++)d.push([n,0,Math.sqrt(n*n)]);for(q=-c;q<-g;q++)d.push([0,q,Math.sqrt(q*q)]);for(q=g+1;q<=c;q++)d.push([0,q,Math.sqrt(q*q)]);d.sort(function(u,
3276t){return u[2]-t[2]});return d.map(function(u){return[u[0],u[1]]})};var f=function(){for(var c=[],d=0;5>d;d++)for(var g=-2+4*d/4,p=0;5>p;p++){var q=-2+4*p/4,n=Math.sqrt(q*q+g*g);2>=n&&c.push([q,g,n])}c.sort(function(r,u){return r[2]-u[2]});return c.map(function(r){return[r[0],r[1]]})}();return a});
3277define("pm","require exports pg pa fq os jv oB three.mod".split(" "),function(a,e,l,m,k,b,h,f,c){function d(r,u){for(var t=0;t<r.length;t++)if(0>u.indexOf(r[t]))return!1;for(t=0;t<u.length;t++)if(0>r.indexOf(u[t]))return!1;return!0}a=function(r){function u(t){t=r.call(this,b.IL,t)||this;t.fr=!1;t.MDa=new Map;t.DK=new Map;t.$R=null;t.Sia=t.Sia.bind(t);document.body.addEventListener("touchend",t.Sia);f.P.bind(l.Lf,t.ur,t,!0);return t}Z(u,r);u.prototype.clear=function(){f.P.unbind(l.Lf,this.ur,this);
3278this.DK.forEach(function(t,v,w){w.delete(v)})};u.prototype.update=function(t){this.state=t;this.n8a();this.ox(t.fr);this.s8a()};u.prototype.ur=function(t){this.$R=t=t.data.pointerState;this.HEa(t)};u.prototype.Sia=function(){var t=f.hg[0]||null;t&&this.HEa(t)};u.prototype.HEa=function(t){g.copy(t.ray).applyMatrix4(t.matrixWorld);var v=new k(this,[g],f.UJ,l.Lf,this.$R==t);this.GEa(v);f.lia(t,!1,!1,t.St);f.IEa(t);this.e8a()};u.prototype.ox=function(t){this.fr!==t&&(this.fr=t,f.hg.forEach(function(v){f.B6a(v,
3279t)}))};u.prototype.n8a=function(){this.DK.forEach(function(t,v){f.hg.includes(v)||this.DK.delete(v)}.bind(this));f.hg.forEach(function(t){if(!this.DK.has(t)){var v=new m;v.set("alpha",0);this.j.add(v);this.DK.set(t,v)}f.qFa(t,!1)}.bind(this))};u.prototype.s8a=function(){this.$R=this.$R||(f.hg.length?f.hg.find(function(z){return"right"==z.handedness})||f.hg[0]:null);for(var t=0;t<f.hg.length;t++){var v=f.hg[t];g.copy(v.ray).applyMatrix4(v.matrixWorld);var w=new k(this,[g],f.UJ,l.tl,this.$R==v);this.GEa(w);
3280this.E8a(w,v);var x=this.MDa.get(v),y=w.Fk;x&&d(x,y)||(this.MDa.set(v,y),x=(x=w.St())?h.Lt(x):h.mr(),y=0<y.length,((w=w.l3())||v.xK)&&f.IEa(v),f.lia(v,y,w,x))}};u.prototype.E8a=function(t,v){var w=t.Ax()||"",x=this.DK.get(v);x&&w!==x.get("text")&&(w?(x.set("text",w),x.set("alpha",1),x.zh(),w=(w=t.St())?h.Lt(w):h.mr(),p.radius=w,x.set("intersectionYaw",void 0),x.set("intersectionPitch",void 0),g.copy(v.ray).applyMatrix4(v.matrixWorld),g.intersectSphere(p,q)&&(0==q.x&&0==q.z||x.set("intersectionYaw",
3281n*Math.atan2(q.x,-q.z)),0==q.y&&0==q.z||x.set("intersectionPitch",n*Math.atan2(q.y,Math.sqrt(q.z*q.z+q.x*q.x))),x.set("intersectionDistance",t.St()))):(x.set("text",""),x.set("alpha",0)))};u.prototype.GEa=function(t){this.j.BR().sort(function(v,w){return w.get("index")-v.get("index")}).forEach(function(v){v.Bm(t)}.bind(this))};u.prototype.e8a=function(){var t=this.j.wb();t&&t.trigger(l.QB,{$K:l.Lf})};return u}(b);var g=new c.Ray,p=new c.Sphere,q=new c.Vector3,n=180/Math.PI;return a});
3282define("hx","require cN es jt os gJ pm".split(" "),function(a){var e=a("cN"),l=a("es"),m=a("jt"),k=a("os"),b=a("gJ"),h=a("pm");return{create:function(f,c){switch(f){case k.IL:return new h(c);case k.f5:return new e(c,!0);case k.g5:return new e(c,!1);case k.Uka:return new l(c);case k.GL:return new m(c);case k.HL:return new b(c)}}}});
3283define("pJ",["require","bd"],function(a){function e(m){this.Qc=m;this.We=[]}var l=a("bd");e.prototype.push=function(m){this.We.push(m);this.ha()};e.prototype.pop=function(m){for(var k=this.We.length-1;0<=k;k--)if(this.We[k]==m){this.We.splice(k,1);this.ha();break}};e.prototype.clear=function(){0<this.We.length&&(this.Qc.set("cursor",l.xe),this.We=[])};e.prototype.ha=function(){var m=0<=this.We.indexOf(l.Jh)?l.Jh:0<=this.We.indexOf(l.ye)?l.ye:0<this.We.length?this.We[this.We.length-1]:l.xe;this.Qc.set("cursor",
3284m)};return e});
3285define("mp","require lE kS pg cC e bd v hu is kv pn eL ea gD hx os pJ po kJ lh oB bi oj".split(" "),function(a){var e=a("lE"),l=a("kS"),m=a("pg"),k=a("cC"),b=a("e"),h=a("bd"),f=a("v"),c=a("hu"),d=a("is"),g=
3285a("kv"),p=a("pn"),q=a("eL"),n=a("ea"),r=a("gD"),u=a("hx"),t=a("os"),v=a("pJ"),w=a("po"),x=a("kJ"),y=a("lh"),z=a("oB"),C=a("bi"),A=a("oj"),B=Math.PI/180,E=e.extend(b,function(G,K,I){b.call(this);this.Ge("Renderer");this.set("toolTipDisabled",!0);this.set("cursor",h.ou);this.set("layout","absolute");
3286this.set("interactionEnabled",!1);this.vc=G;this.L=K;this.Xc=I;this.ne=new v(K);this.$d=null;this.r8=!1;this.C=new p;this.Ca=new r(this.vc,this.L,this.Xc,this);this.Ca.bind(m.ca,this.requestFrame,this,!0);this.gj=new q(this.L);this.C.xg=this.gj.hi();this.C.dR=this.gj.Bna;this.C.eR=this.gj.Cna;this.C.camera=this.gj.getCamera();this.wqa=(new Date).getTime();this.OM=new g;this.Ob().append(this.OM.$c());this.XZ=new x;this.XZ.bind(m.Z,this.dTa,this,!0);this.pra=new w;this.pra.bind(m.ca,this.JSa,this,!0);
3287this.JV=new d(this.C.width,this.C.height,this.C.Je*B);this.bind(m.pc,this.Fc,this,!0);this.bind(m.dd,this.fj,this,!0);this.bind(m.Tc,this.ej,this,!0);z.P.bind(m.ca,this.Ao,this,!0);c.bind(m.ca,this.qSa,this,!0);l.da(this.Xc,["fxaaEnabled","aaEnabled","hotspotsEnabled","preloadEnabled"],function(){this.C.YE=this.Xc.get("hotspotsEnabled");this.C.vS=this.Xc.get("preloadEnabled");this.C.Afa=this.Xc.get("fxaaEnabled");this.C.zea=this.Xc.get("aaEnabled");this.requestFrame()}.bind(this),!0);l.da(this.Xc,
3288["surfaceSelectionEnabled"],this.Qda.bind(this));this.Qda();this.Ao();l.da(this.vc,["defaultVRPointer"],this.Wo.bind(this));this.Wo()});E.prototype.create=function(G){return n.create(G)};E.prototype.add=function(G){this.Ca.appendChild(G);1==this.Ca.mb().length&&this.nSa()};E.prototype.remove=function(G){if(G=this.Ca.wf(G))G.remove(),0==this.Ca.mb().length&&this.xSa()};E.prototype.wf=function(G){return this.Ca.wf(G)};E.prototype.BR=function(){return this.Ca.all()};E.prototype.M5a=function(G){this.r8!=
3289G&&(this.r8=G,this.Wo())};E.prototype.jFa=function(G){this.C.Lga=G};E.prototype.m2=function(G){this.ne.push(G)};E.prototype.EK=function(G){this.ne.pop(G)};E.prototype.ox=function(G){this.C.fr=G;this.requestFrame()};E.prototype.wF=function(){this.OM.trigger();this.C.$E=!0;this.NY();var G=A.oGa(this.gj.fg());this.C.$E=!1;this.NY();return G};E.prototype.Tea=function(G){this.C.$E=!0;this.NY();G=this.gj.Tea(G);this.C.$E=!1;return G};E.prototype.getPixelRatio=function(){return this.gj.getPixelRatio()};
3290E.prototype.rr=function(){return!!this.gj&&this.gj.rr()};E.prototype.Wo=function(){var G=this.C.xb?t.IL:this.r8?t.g5:f.nb()?t.HL:t.GL;this.$d&&this.$d.getType()==G||(this.$d&&this.$d.clear(),this.$d=u.create(G,this),this.Qda(),this.$d.update(this.C))};E.prototype.Qda=function(){this.C.fT=this.Xc.get("surfaceSelectionEnabled")&&0<=[t.GL,t.IL,t.HL].indexOf(this.$d&&this.$d.getType())};E.prototype.An=function(){this.ne.clear();b.prototype.An.call(this)};E.prototype.Fc=function(){var G=this.Ya(),K=this.Ab();
3291if(this.C.width!=G||this.C.height!=K)G&&K?(this.C.width=G,this.C.height=K,this.JV.ZS(this.C.width),this.JV.bFa(this.C.height),this.requestFrame()):e.log("Invalid size values: "+G+" "+K)};E.prototype.fj=function(){this.C.enabled=!0;this.requestFrame()};E.prototype.ej=function(){this.C.enabled=!1};E.prototype.Ao=function(){this.C.xb=z.isPresenting;this.Wo();this.requestFrame()};E.prototype.qSa=function(){this.Wo();this.requestFrame()};E.prototype.dTa=function(){this.requestFrame()};E.prototype.JSa=
3292function(){this.requestFrame()};E.prototype.nSa=function(){this.XZ.F2(this.L.ic.xA())};E.prototype.xSa=function(){this.gj.Q0a();this.XZ.F2(null)};E.prototype.uFa=function(G){this.PY!=G&&((this.PY=G)||this.requestFrame())};E.prototype.GF=function(G){this.C.Dm!=G&&(this.C.Dm=G,this.requestFrame())};E.prototype.setPosition=function(G,K,I,Q){if(this.C.Ra!=G||this.C.pitch!=K||this.C.wg!=I||this.C.Je!=Q)isNaN(G)||isNaN(K)||isNaN(I)||!Q?e.log("Invalid position values: "+G+" "+K+" "+I+" "+Q):(this.C.Ra=G,
3293this.C.pitch=K,this.C.wg=I,this.C.Je=Q,this.JV.BF(this.C.Je*B),this.requestFrame())};E.prototype.Sc=function(){return this.C.Ra};E.prototype.Rc=function(){return this.C.pitch};E.prototype.Tf=function(){return this.C.wg};E.prototype.Hg=function(){return this.C.Je};E.prototype.VJ=function(){return this.C.xb?this.C.gi:y.Mr(this.C.gi,this.C.width,this.C.height)};E.prototype.WJ=function(){return this.C.gi};E.prototype.unproject=function(G){return this.JV.unproject(G)};E.prototype.requestFrame=function(){C.requestFrame(this.Qj,
3294this)};E.prototype.Qj=function(){if(C.hga){var G=(new Date).getTime(),K=Math.max(1,Math.min(G-this.wqa,33));this.wqa=G;this.trigger(new k(E.r4,{frameTime:K}));this.C.enabled&&(this.C.Ie=K,this.NY())}else this.requestFrame()};E.prototype.NY=function(){this.gj.update(this.C);this.C.Z_=this.gj.b1a();this.C.WQ=this.gj.a1a();this.C.gi=this.gj.Z0a();this.C.dk=this.gj.getPixelRatio();this.C.camera=this.gj.getCamera();this.Ca.update(this.C);this.XZ.update(this.C);this.pra.update(this.C);this.$d.update(this.C);
3295this.PY||this.gj.render()};E.r4="render start";E.w$a=function(){return!0};return E});
3296define("fU",["require","lE","cC","gv","mp"],function(a){var e=a("lE"),l=a("cC"),m=a("gv"),k=a("mp"),b=e.extend(m,function(h){m.call(this);this.j=h;this.j.bind(k.r4,this.bta,this,!0)});b.prototype.clear=function(){this.j.unbind(k.r4,this.bta,this,!0);this.j=null};b.prototype.requestFrame=function(){this.j.requestFrame()};b.prototype.bta=function(h){h=h.data.frameTime;this.trigger(new l(b.yp,{frameTime:h}));this.trigger(new l(b.zp,{frameTime:h}))};b.yp="frameStart";b.zp="positionSet";return b});
3297define("dy",["require","v","lh"],function(a){function e(){this.wa=this.oa=0;this.Pa=90;this.Xl="landscape";this.zaa=!1;this.lN=l.nb()}var l=a("v"),m=a("lh");e.prototype.fFa=function(k){this.Pa=this.Zza(k)};e.prototype.Zza=function(k){return this.lN&&"portrait"==this.Xl?m.FE(k,this.wa,this.oa):k};e.prototype.x1a=function(k){return this.lN&&"portrait"==this.Xl?m.rm(k,this.oa,this.wa):k};e.prototype.op=function(k){this.Pa=this.lN&&this.zaa?m.FE(k,this.wa,this.oa):k};e.prototype.CBa=function(){return this.lN&&
3298this.zaa};e.prototype.Sw=function(){return this.lN&&"portrait"==this.Xl};e.prototype.Hg=function(){return this.Pa};e.prototype.d0=function(k){return m.FE(k,this.wa,this.oa)};e.prototype.setSize=function(k,b){this.oa=k;this.wa=b;k=this.FPa();this.zaa=this.Xl!=k;this.Xl=k};e.prototype.FPa=function(){return 0===this.oa||0===this.wa?"landscape":this.oa<this.wa?"portrait":"landscape"};return e});
3299define("oh","require lE bn cC gv jg".split(" "),function(a){var e=a("lE"),l=a("bn"),m=a("cC"),k=a("gv"),b=a("jg"),h=e.extend(k,function(f){k.call(this);this.j=f;this.U=!1;this.Jl=this.Jl.bind(this);this.Xc=this.j.Xc});h.prototype.clear=function(){this.Xc=this.j=null};h.prototype.rb=function(f){this.U!=f&&(this.U&&document.removeEventListener("keyup",this.Jl),(this.U=f)&&document.addEventListener("keyup",this.Jl))};h.prototype.Jl=function(f){b.fp()||this.Xc.get("gazeModeEnabled")||"translate"!=this.Xc.get("arrowKeysAction")||
3300(f.which!=l.Gh||f.shiftKey?f.which!=l.Ti||f.shiftKey||this.trigger(new m(h.h4)):this.trigger(new m(h.g4)))};h.h4="moveForward";h.g4="moveBackward";return h});
3301define("iV","require en lE pg cC gv oh".split(" "),function(a){a("en");var e=a("lE"),l=a("pg"),m=a("cC"),k=a("gv"),b=a("oh");a=e.extend(k,function(f){k.call(this);this.j=f;this.jn=new b(f);this.jn.bind(b.h4,this.dsa,this,!0);this.jn.bind(b.g4,this.csa,this,!0)});a.prototype.clear=function(){this.jn.unbind(b.h4,this.dsa,this,!0);this.jn.unbind(b.g4,this.csa,this,!0);this.jn.clear();this.jn=null};a.prototype.TA=function(f){this.jn.rb(f)};a.prototype.bh=function(f){this.ra=f};a.prototype.end=function(){this.ra=
3302null};a.prototype.dsa=function(f){this.Uwa(f);(f=this.$ua(this.j.Sc(),this.npa()))&&f.trigger(l.Jp)};a.prototype.csa=function(f){this.Uwa(f);(f=this.$ua(this.j.Sc()-180,this.npa()))&&f.trigger(l.Jp)};a.prototype.Uwa=function(f){this.j.wb().trigger(new m(l.QB,{$K:f}))};a.prototype.npa=function(){return this.j.Xc.get("keyboardTranslateSelectionAngle")};a.prototype.$ua=function(f,c){var d,g;if(!this.ra)return null;void 0!==d||(d=-90);void 0!==g||(g=360);var p=f-.5*c,q=f+.5*c,n=Math.max(-90,d-.5*g),r=
3303Math.max(90,d+.5*g);c=this.ra.get("adjacentPanoramas",[]).slice();c=c.filter(function(u){if(!u.get("enabled"))return!1;u=this.gq(u);if(!u)return!1;var t=u.Ra;for(var v=f-180,w=f+180;t<v;)t+=w-v;for(;t>w;)t-=w-v;u=u.pitch;return p<=t&&t<=q&&n<=u&&u<=r}.bind(this));if(0==c.length)return null;c.sort(function(u,t){u=this.gq(u);t=this.gq(t);return(f-u.Ra)*(f-u.Ra)+(d-u.pitch)*(d-u.pitch)-((f-t.Ra)*(f-t.Ra)+(d-t.pitch)*(d-t.pitch))}.bind(this));return c[0]};a.prototype.gq=function(f){var c=f.get("yaw");
3304f=f.get("distance");if(void 0===c||void 0===f)return null;var d=this.ra.get("distanceToFloor");return{Ra:c,pitch:-90+Math.atan2(f,d)*h}};var h=180/Math.PI;return a});
3305define("ma","require lE pg cC gv nA bt pr x mM kk fU dy iV fA".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("cC"),k=a("gv"),b=a("nA"),h=a("bt"),f=a("pr"),c=a("x"),d=a("mM"),g=a("kk"),p=a("fU"),q=a("dy"),n=a("iV"),r=a("fA"),u=e.extend(k,function(t,v){k.call(this);this.L=t;this.j=v;this.j.set("visible",!1);this.Kc=new q;this.pg=new p(this.j);this.se=new d(this.j);this.Lb=new f(this.L,this.j,this.Kc);this.eb=new h(this.j,this.Kc);this.Bf=new c(this.j);this.Kv=new g(this.j);this.Td=new b(this.j);
3306this.c_=new n(this.j);
3306this.pg.bind(p.yp,this.xz,this,!0);this.pg.bind(p.zp,this.yz,this,!0);this.se.bind(l.bd,this.msa,this,!0);this.se.bind(l.Mf,this.mO,this,!0);this.se.bind(l.kc,this.Bi,this,!0);this.Lb.bind(f.Hb,this.Ue,this,!0);this.Lb.bind(f.s4,this.nsa,this,!0);this.Lb.bind(f.i4,this.Gsa,this,!0);this.Lb.bind(f.O3,this.vra,this,!0);this.Lb.bind(f.P3,this.wra,this,!0);this.Lb.bind(f.zB,this.vO,this,!0);this.Lb.bind(f.xB,this.wz,this,!0);this.Lb.bind(f.yB,this.Vv,this,!0);this.Lb.bind(f.wB,this.uO,
3307this,!0);this.Lb.bind(f.Ap,this.Bz,this,!0);this.eb.bind(h.Hb,this.Ue,this,!0);this.eb.bind(h.lk,this.wq,this);this.eb.bind(h.xp,this.sn,this);this.eb.bind(h.Hc,this.ef,this,!0);this.eb.bind(h.Si,this.Bq,this,!0);this.eb.bind(h.Ri,this.Aq,this,!0);this.Bf.bind(c.Hb,this.Ue,this,!0);this.Bf.bind(c.vj,this.zq,this,!0);this.Bf.bind(c.Hc,this.ef,this,!0);this.Kv.bind(g.mk,this.usa,this,!0)});u.prototype.clear=function(){this.se.clear();this.pg.clear();this.eb.clear();this.Lb.clear();this.Bf.clear();this.Kv.clear();
3308this.Td.clear();this.se.unbind(l.bd,this.msa,this);this.se.unbind(l.Mf,this.mO,this);this.se.unbind(l.kc,this.Bi,this);this.pg.unbind(p.yp,this.xz,this);this.pg.unbind(p.zp,this.yz,this);this.Lb.unbind(f.Hb,this.Ue,this);this.Lb.unbind(f.s4,this.nsa,this);this.Lb.unbind(f.i4,this.Gsa,this);this.Lb.unbind(f.O3,this.vra,this);this.Lb.unbind(f.P3,this.wra,this);this.Lb.unbind(f.zB,this.vO,this);this.Lb.unbind(f.xB,this.wz,this);this.Lb.unbind(f.yB,this.Vv,this);this.Lb.unbind(f.wB,this.uO,this);this.Lb.unbind(f.Ap,
3309this.Bz,this);this.eb.unbind(h.MHa,this.Ue,this);this.eb.unbind(h.lk,this.wq,this);this.eb.unbind(h.xp,this.sn,this);this.eb.unbind(h.Hc,this.ef,this,!0);this.eb.unbind(h.Si,this.Bq,this);this.eb.unbind(h.Ri,this.Aq,this);this.Bf.unbind(c.Hb,this.Ue,this);this.Bf.unbind(c.vj,this.zq,this);this.Bf.unbind(c.Hc,this.ef,this);this.Kv.unbind(g.mk,this.usa,this);this.L=this.j=this.c_=this.Td=this.Kv=this.Bf=this.Lb=this.eb=this.pg=this.se=null};u.prototype.eia=function(t){this.Kv.eia(t)};u.prototype.gia=
3310function(t){this.Lb.gia(t)};u.prototype.bh=function(t,v,w){this.j.set("visible",!0);this.Bf.O2();t.set("currentTime",w);this.Lb.start(t,v)};u.prototype.wA=function(){return this.se.ra||this.Lb.g1a()||this.Lb.xs};u.prototype.nx=function(){this.se.stop();this.Bf.end();this.eb.end();this.Lb.hide();this.Kv.stop();this.Td.end();this.c_.end()};u.prototype.JK=function(){this.eb.resume();this.Bf.JK()};u.prototype.yK=function(){this.eb.pause();this.Bf.yK()};u.prototype.play=function(){this.eb.play();this.Td.play();
3311this.Bf.play()};u.prototype.pause=function(){this.eb.pause();this.Td.pause();this.Bf.pause()};u.prototype.stop=function(){this.eb.stop();this.Td.stop();this.Bf.stop()};u.prototype.TA=function(t){this.eb.TA(t);this.c_.TA(t)};u.prototype.getTime=function(){return this.Bf.getTime()};u.prototype.moveTo=function(t,v,w,x,y){this.eb.moveTo(t,v,w,x,y)};u.prototype.Sc=function(){return this.j?this.j.Sc():void 0};u.prototype.Rc=function(){return this.j?this.j.Rc():void 0};u.prototype.Tf=function(){return this.j?
3312this.j.Tf():void 0};u.prototype.Hg=function(){return this.j?this.Kc.x1a(this.j.Hg()):void 0};u.prototype.VJ=function(){return this.j?this.j.VJ():void 0};u.prototype.WJ=function(){return this.j?this.j.WJ():void 0};u.prototype.ef=function(){var t=this.Bf.ak()||this.eb.ak();this.trigger(new m(u.Hc,{state:t}))};u.prototype.fk=function(t){this.eb.fk(t)};u.prototype.LS=function(t){this.eb.LS(t)};u.prototype.UA=function(t){this.eb.UA(t)};u.prototype.MS=function(t){this.eb.MS(t)};u.prototype.Jf=function(t){this.Bf.Jf(t)};
3313u.prototype.HF=function(t){this.eb.HF(t)};u.prototype.Vfa=function(t,v){return(t=r.get(t,v,this.j.Sc(),this.j.Rc(),this.j.Tf(),this.j.Hg(),this.j.Ya(),this.j.Ab()))?{x:t.x,y:t.y}:null};u.prototype.E1a=function(t,v){return(t=r.I8a(t,v,this.j))?{yaw:t.Ra,pitch:t.pitch}:null};u.prototype.wF=function(){this.j.wF()};u.prototype.iga=function(){return this.Lb.iga()};u.prototype.nsa=function(t){this.se.start(t.data.panorama)};u.prototype.Bi=function(t){this.j.ox(!0);this.trigger(new m(u.ju,{percent:t.Yg}))};
3314u.prototype.msa=function(t){this.Bf.end();this.c_.bh(t.data.panorama)};u.prototype.mO=function(){this.j.ox(!1);this.trigger(new m(u.qB))};u.prototype.Ue=function(){this.pg.requestFrame()};u.prototype.xz=function(t){t=t.data.frameTime;this.Kc.setSize(this.j.Ya(),this.j.Ab());this.Lb.ix(t);this.eb.ix(t)};u.prototype.yz=function(t){t=t.data.frameTime;this.Lb.Gd(t);this.eb.Gd(t);this.Bf.Gd(t);this.Kv.Gd(t);this.Td.Gd(t)};u.prototype.vO=function(t){this.Kv.display(t.data.panorama);this.Bf.jK(t.data.panorama);
3315this.trigger(new m(u.zB,{panorama:t.data.panorama}))};u.prototype.Gsa=function(t){this.Kv.hide(t.data.panorama)};u.prototype.vra=function(t){this.Bf.start(t.data.panorama);this.Td.start(t.data.panorama)};u.prototype.wra=function(){this.Bf.end();this.j.set("visible",!1)};u.prototype.uO=function(t){this.eb.end();this.Td.end(t.data.nextPanorama);this.trigger(new m(u.wB,{panorama:t.data.panorama}))};u.prototype.Vv=function(t){this.eb.start(t.data.panorama,t.data.camera);this.trigger(new m(u.yB,{panorama:t.data.panorama}))};
3316u.prototype.wz=function(t){this.trigger(new m(u.xB,{panorama:t.data.panorama}))};u.prototype.usa=function(t){this.eb.qia(t.data.yawDelta,0)};u.prototype.wq=function(t){this.trigger(new m(u.lk,t.data))};u.prototype.sn=function(t){this.trigger(new m(u.xp,t.data))};u.prototype.Bz=function(t){this.trigger(new m(u.Ap,t.data))};u.prototype.Bq=function(){this.Bf.iL();this.trigger(new m(u.Si))};u.prototype.Aq=function(){this.trigger(new m(u.Ri))};u.prototype.YEa=function(t){this.Bf.EF(t)};u.prototype.SA=
3317function(t){this.Bf.SA(t)};u.prototype.zq=function(t){this.trigger(new m(u.vj,t.data))};
3317u.ju="loadingProgress";u.qB="loadingEnd";u.lk="movementChange";u.xp="positionChange";u.zB="panoramaStart";u.wB="panoramaEnd";u.yB="panoramaShow";u.xB="panoramaHide";u.Hc="playbackStateChange";u.Si="userInteractionStart";u.Ri="userInteractionEnd";u.vj="timeChange";u.Ap="transitionEnd";return u});
3318define("oL","require lE pg cC lg cI nV jX iL hz ma er mp hW je oB ek gW jg".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("cC"),k=a("lg"),b=a("cI"),h=a("nV"),f=a("jX"),c=a("iL"),d=a("hz"),g=a("ma"),p=a("er"),q=a("mp"),n=a("hW"),r=a("je"),u=a("oB"),t=a("ek"),v=a("gW"),w=a("jg"),x=h.define("PanoramaPlayer",c,function(){c.call(this,"panorama");c.prototype.set.call(this,"rotationEnabled",!0);c.prototype.set.call(this,"zoomEnabled",!0);c.prototype.set.call(this,"surfaceSelectionEnabled",!1);c.prototype.set.call(this,
3319"surfaceSelectionHorizontalAngle",90);c.prototype.set.call(this,"surfaceSelectionVerticalAngle",180);c.prototype.set.call(this,"adjacentPanoramaPositionsEnabled",!1);c.prototype.set.call(this,"fxaaEnabled",!1);c.prototype.set.call(this,"aaEnabled",!1);this.Jca=this.u9=this.Yy=this.LV=this.$W=this.TW=this.q6=this.Fz=this.ei=this.N5=!1;this.X8=!0;this.zZ=this.GW=this.gn=this.$U=!1;this.sca=w.fp();w.x0.bind(l.ca,this.tSa,this,!0);this.aq=!1;this.IV=this.o8=this.hf=this.Qb=0;this.Vaa=this.Xaa=void 0;
3320this.R$=!0;this.Fi=k.W;this.xo=this.xo.bind(this);this.M=this.j=null;this.dra={};for(var y in x.Ju)this.dra[y]=this.YMa(y);this.zU=new f(this,"buttonToggleGyroscope",t.zj);this.zU.bind(l.wj,function(){this.set("gyroscopeEnabled",!0)},this);this.zU.bind(l.ul,function(){this.set("gyroscopeEnabled",!1)},this);this.zU.set("pressed",this.get("gyroscopeEnabled")&&n.Xj);(new f(this,"buttonCardboardView",t.ze)).bind(l.qa,function(){this.set("viewMode",x.WB)},this,!0);(new f(this,"buttonVRView",t.ze)).bind(l.qa,
3321function(){this.set("viewMode",x.WB)},this,!0);u.P.bind(l.ca,function(){this.Twa("viewMode");this.trigger(x.w4)},this,!0);this.yU=new f(this,"buttonToggleGazeMode",t.zj);this.yU.bind(l.wj,function(){this.set("gazeModeEnabled",!0)},this);this.yU.bind(l.ul,function(){this.set("gazeModeEnabled",!1)},this);this.yU.set("pressed",this.get("gazeModeEnabled"));this.AU=new f(this,"buttonToggleHotspots",t.zj);this.AU.bind(l.wj,function(){this.set("hotspotsEnabled",!0)},this);this.AU.bind(l.ul,function(){this.set("hotspotsEnabled",
3322!1)},this);this.AU.set("pressed",this.get("hotspotsEnabled"));this.DU=new f(this,"buttonToggleSurfaceSelection",t.zj);this.DU.bind(l.wj,function(){this.set("surfaceSelectionEnabled",!0)},this);this.DU.bind(l.ul,function(){this.set("surfaceSelectionEnabled",!1)},this);this.DU.set("pressed",this.get("surfaceSelectionEnabled"));this.rLa=new f(this,"buttonScreenshot",t.ze);this.rLa.bind(l.qa,this.Qua,this,!0);this.Cd=e.lp(this.Vg,this)});x.BHa="cameraPositionChange";x.ju="loadingProgress";x.IHa="preloadMediaShow";
3323x.w4="viewModeChange";x.prototype.moveLeft=function(){this.Oc(p.eG)};x.prototype.moveRight=function(){this.Oc(p.fG)};x.prototype.moveUp=function(){this.Oc(p.gG)};x.prototype.moveDown=function(){this.Oc(p.dG)};x.prototype.playLeft=function(){this.Oc([p.eG,p.Y])};x.prototype.playRight=function(){this.Oc([p.fG,p.Y])};x.prototype.playUp=function(){this.Oc([p.gG,p.Y])};x.prototype.playDown=function(){this.Oc([p.dG,p.Y])};x.prototype.play=function(){this.Ik()};x.prototype.pause=function(){this.Eq()};x.prototype.stop=
3324function(){this.Az()};x.prototype.seek=function(y){this.WD(y)};x.prototype.setFramePlaybackPosition=function(y){this.FVa(y)};x.prototype.setFrameTransitionPosition=function(y){this.GVa(y)};x.prototype.restart=function(){this.zz()};x.prototype.zoomIn=function(){this.Oc(p.Hu)};x.prototype.zoomOut=function(){this.Oc(p.Iu)};x.prototype.resumeCamera=function(){this.HUa()};x.prototype.pauseCamera=function(){this.yTa()};x.prototype.moveTo=function(y,z,C,A){this.cra(y,z,C,A,!1)};x.prototype.setPosition=function(y,
3325z,C,A){this.cra(y,z,C,A,!0)};x.prototype.getScreenPosition=function(y,z){return this.WPa(y,z)};x.prototype.getPanoramaPosition=function(y,z){return this.GPa(y,z)};x.prototype.saveScreenshot=function(){return this.Qua()};x.prototype.get=function(y,z){switch(y){case "currentTime":return this.M&&this.M.getTime()||0;case "viewMode":return u.isPresenting?x.WB:x.v5;case "video":y="panorama";break;case "rendererPanorama":return this.M&&this.M.wA()}if(!z)switch(y){case "mouseControlMode":z=b.Wja;break;case "touchControlMode":z=
3326b.Oka}return c.prototype.get.call(this,y,z)};x.prototype.set=function(y,z){if(this.get(y)!=z){switch(y){case "application":this.N5=!0;this.Cd();break;case "startTime":this.Fz=!0;this.Cd();break;case "video":case "panorama":y="panorama";this.Fz=!0;this.Cd();break;case "camera":this.q6=!0;this.Cd();break;case "viewerArea":this.ei=!0;this.Cd();break;case "displayPlaybackBar":case "hdrPanoramaDisplayPlaybackBarSteps":case "livePanoramaDisplayPlaybackBarSteps":case "buttonPlay":case "buttonPlayPause":this.aq=
3327!0;this.Cd();break;case "mapPlayer":this.TW=!0;this.Cd();break;case "model3DPlayer":this.$W=!0;this.Cd();break;case "gazeModeEnabled":this.LV=!0;this.Cd();break;case "gyroscopeEnabled":this.Yy=!0;this.Cd();break;case "gyroscopeVerticalDraggingEnabled":this.X8=!0;this.Cd();break;
3327case "viewMode":"vr"==z&&(z=x.WB);z==x.WB?this.get("viewerArea").set("viewMode","vr"):this.get("viewerArea").set("viewMode","standard");z=u.isPresenting?x.WB:x.v5;break;case "hotspotsEnabled":this.u9=!0;this.Cd();break;case "mouseControlMode":case "touchControlMode":this.$U=
3328!0;this.Cd();break;case "surfaceSelectionEnabled":this.Jca=!0,this.Cd()}c.prototype.set.call(this,y,z)}};x.prototype.pp=function(y){this.gn!=y&&((this.gn=y)?document.addEventListener("keyup",this.xo,!0):document.removeEventListener("keyup",this.xo,!0),this.M&&this.M.TA(this.gn),this.GW=!0,this.Cd())};x.prototype.tSa=function(){var y=w.fp();this.sca!==y&&(this.zZ=!0,this.sca=y,this.Cd())};x.prototype.xo=function(y){var z=this.get("gazeModeKeyCode");z&&!w.fp()&&y.code==z&&this.set("gazeModeEnabled",
3329!this.get("gazeModeEnabled"))};x.prototype.Zya=function(){return"inherit"!=this.get("doubleClickAction")};x.prototype.h8a=function(){this.vF([this])};x.prototype.h6=function(y){c.prototype.h6.call(this,y);y.bind(l.sl,this.Xxa,this,!0)};x.prototype.nda=function(y){c.prototype.nda.call(this,y);y.unbind(l.sl,this.Xxa,this,!0)};x.prototype.Xxa=function(){switch(this.get("doubleClickAction")){case "toggle_fullscreen":var y=this.get("application").bj;y&&y.Xj()&&y.toggle()}};x.prototype.YMa=function(y){var z=
3330x.Ju[y];y=new f(this,y,t.ze);y.bind(l.jb,function(){this.Oc(z.movement)},this);z.stopOnRelease&&y.bind(l.Eb,function(){this.Oc(p.Mf)},this);return y};x.prototype.Vg=function(){if(this.ei||this.N5)this.ei=this.N5=!1,this.zZ=this.GW=this.$U=this.Yy=this.LV=this.$W=this.TW=!0,this.gv(),this.get("viewerArea")&&this.get("application")&&this.ev(),this.DP(this.get("viewerArea"));var y=!1;if(this.j){this.TW&&(this.TW=!1,this.M.eia(this.get("mapPlayer")));this.$W&&(this.$W=!1,this.M.gia(this.get("model3DPlayer")));
3331this.$U&&(this.$U=!1,this.M.UA(this.get("mouseControlMode")),this.M.HF(this.get("touchControlMode")));if(this.Fz||this.q6)this.IV=this.o8=this.Qb=this.hf=0,this.Vaa=this.Xaa=void 0,y=!0,this.q6=this.Fz=!1,this.get("panorama")?(this.get("viewerArea").ic.z7a(),this.M.bh(this.get("panorama"),this.get("camera",new d),this.get("startTime"))):(this.M.nx(),this.R$=!0,this.Fi=k.W,this.xd(k.W));if(this.LV||this.GW||this.zZ){this.GW=this.zZ=this.LV=!1;var z=this.get("gazeModeEnabled");this.j.M5a(z&&this.gn&&
3332!this.sca);this.yU.set("pressed",z)}this.X8&&(this.X8=!1,this.M.MS(this.get("gyroscopeVerticalDraggingEnabled",!0)));this.Yy&&(this.Yy=!1,(z=this.get("gyroscopeEnabled")&&n.Xj)&&n.disabled&&(z=!1,r.Gja.show(function(){n.Bha(function(){this.set("gyroscopeEnabled",!0)}.bind(this))}.bind(this))),this.set("gyroscopeEnabled",z),this.M.LS(z),this.zU.set("pressed",z));this.u9&&(this.u9=!1,this.AU.set("pressed",this.get("hotspotsEnabled")));this.aq&&(this.aq=!1,y=!0);this.Jca&&(this.Jca=!1,this.DU.set("pressed",
3333this.get("surfaceSelectionEnabled")));y&&this.Ew()}};x.prototype.ZI=function(){this.M.iga()||this.set("panorama",null)};x.prototype.ev=function(){var y=this.get("viewerArea"),z=this.get("application");this.j=new q(z,y,this);this.j.ma({left:0,top:0,bottom:0,right:0});y.Ua(this.j);this.M=new g(y,this.j);this.M.bind(g.lk,this.wq,this);this.M.bind(g.xp,this.Jra,this);this.M.bind(g.ju,this.Bi,this);this.M.bind(g.qB,this.dI,this);this.M.bind(g.yB,this.Vv,this,!0);this.M.bind(g.xB,this.wz,this,!0);this.M.bind(g.zB,
3334this.vO,this,!0);this.M.bind(g.wB,this.uO,this,!0);this.M.bind(g.Hc,this.ef,this);this.M.bind(g.Si,this.Bq,this);this.M.bind(g.Ri,this.Aq,this);this.M.bind(g.vj,this.zq,this);this.M.bind(g.Ap,this.Bz,this,!0);this.get("application").bind(l.F("mute"),this.sO,this);this.get("application").get("mute",!1)&&this.M.Jf(!0);this.M.TA(this.gn);u.P.bind(l.ca,this.Ao,this,!0);this.Q6();this.Xz(!0)};x.prototype.gv=function(){this.j&&(this.M.unbind(g.lk,this.wq,this),this.M.unbind(g.xp,this.Jra,this),this.M.unbind(g.ju,
3335this.Bi,this),this.M.unbind(g.qB,this.dI,this),this.M.unbind(g.yB,this.Vv,this,!0),this.M.unbind(g.xB,this.wz,this,!0),this.M.unbind(g.zB,this.vO,this,!0),this.M.unbind(g.wB,this.uO,this,!0),this.M.unbind(g.Hc,this.ef,this),this.M.unbind(g.Si,this.Bq,this),this.M.unbind(g.Ri,this.Aq,this),this.M.unbind(g.vj,this.zq,this),this.M.unbind(g.Ap,this.Bz,this),this.M.clear(),this.M=null,this.get("application").unbind(l.F("mute"),this.sO,this),this.j.getParent().removeChild(this.j),this.j=null,u.P.unbind(l.ca,
3336this.Ao,this,!0),this.Xz(!1))};x.prototype.sO=function(){this.j&&this.M.Jf(this.get("application").get("mute",!1))};x.prototype.ef=function(y){this.Fi=y.data.state;this.rg()};x.prototype.rg=function(){this.xd(this.R$||u.isPresenting?this.Fi:k.Y)};x.prototype.Bq=function(){this.trigger(new m(l.Yka))};x.prototype.Aq=function(){this.trigger(new m(l.Xka))};x.prototype.vO=function(y){this.trigger(new m(x.IHa,{panorama:y.data.panorama}))};x.prototype.uO=function(){};x.prototype.Vv=function(y){this.Q6();
3337this.ON(y.data.panorama)};x.prototype.wz=function(y){this.NN(y.data.panorama)};x.prototype.wq=function(y){for(var z in x.Ju)this.dra[z].set("state",y.data[x.Ju[z].pressedOn]?v.ub:v.xe);this.R$=y.data.stopped;this.rg();this.trigger(new m(l.Yja,y.data))};x.prototype.Jra=function(y){this.Q6();this.trigger(new m(x.BHa,y.data))};x.prototype.Q6=function(){this.M&&(this.set("yaw",this.M.Sc()),this.set("pitch",this.M.Rc()),this.set("roll",this.M.Tf()),this.set("hfov",this.M.Hg()),this.set("actualHFOV",this.M.VJ()),
3338this.set("actualVFOV",this.M.WJ()))};x.prototype.Bi=function(y){this.j.getParent().ma({progressPercent:y.data.percent,progressVisible:!0});this.trigger(new m(x.ju,y.data))};x.prototype.dI=function(){this.j.getParent().set("progressVisible",!1)};x.prototype.Bz=function(){this.trigger(l.c5)};x.prototype.Ao=function(){this.set("viewMode",u.isPresenting?x.WB:x.v5);this.rg()};x.prototype.cra=function(y,z,C,A,B){this.M&&this.M.moveTo(y,z,C,A,B)};x.prototype.Oc=function(y){this.M&&this.M.fk(y)};x.prototype.Ik=
3339function(){this.M.play()};x.prototype.Po=function(){this.M.stop()};x.prototype.Eq=function(){this.M.pause()};x.prototype.WD=function(y){this.M&&(this.Yoa()?this.M.SA(y):this.M.YEa(y))};x.prototype.FVa=function(y){this.M&&this.M.YEa(y)};x.prototype.GVa=function(y){this.M&&this.M.SA(y)};x.prototype.yTa=function(){this.M&&this.M.yK()};x.prototype.HUa=function(){this.M&&this.M.JK()};x.prototype.WPa=function(y,z){if(this.M)return this.M.Vfa(y,z)};x.prototype.GPa=function(y,z){if(this.M)return this.M.E1a(y,
3340z)};x.prototype.Qua=function(){this.M&&this.M.wF()};x.prototype.TO=function(y){this.WD(y.data.position)};x.prototype.zq=function(y){this.hf=y.data.time;this.Qb=y.data.duration;this.o8=y.data.transitionPosition;this.IV=y.data.transitionLength;this.Xaa=y.data.steps;this.Vaa=y.data.selectedStep;this.Ew()};x.prototype.Ew=function(){var y=this.j.getParent(),z=!1;if(this.ZOa()){var C=this.Yoa(),A=this.IPa();C?0<this.IV&&(y.ma({playbackBarPosition:this.o8,playbackBarDuration:this.IV,playbackBarSteps:this.Xaa,
3341playbackBarSelectedStep:this.Vaa,playbackBarLiveDragging:A}),z=!0):0<this.Qb&&(y.ma({playbackBarPosition:this.hf,playbackBarDuration:this.Qb,playbackBarSteps:void 0,playbackBarSelectedStep:void 0,playbackBarLiveDragging:A}),z=!0)}y.set("playbackBarVisible",z)};x.prototype.ZOa=function(){var y=this.get("panorama");return y?h.Ga("HDRPanorama",y)?this.get("hdrPanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",!1)):h.Ga("LivePanorama",y)?this.get("livePanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",
3342!1)):h.Ga("VideoPanorama",y)?this.get("videoPanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",!0)):!1:!1};x.prototype.Yoa=function(){var y=this.get("panorama");return y?h.Ga("HDRPanorama",y)?this.get("hdrPanoramaDisplayPlaybackBarSteps",!0):h.Ga("LivePanorama",y)?this.get("livePanoramaDisplayPlaybackBarSteps",!0):!1:!1};x.prototype.IPa=function(){var y=this.get("panorama");return!y||h.Ga("VideoPanorama",y)?!1:!0};x.WB="cardboard";x.v5="standard";x.Ju={buttonMoveLeft:{movement:p.eG,pressedOn:"movingLeft",
3343stopOnRelease:!0},buttonMoveRight:{movement:p.fG,pressedOn:"movingRight",stopOnRelease:!0},buttonMoveUp:{movement:p.gG,pressedOn:"movingUp",stopOnRelease:!0},buttonMoveDown:{movement:p.dG,pressedOn:"movingDown",stopOnRelease:!0},buttonPlayLeft:{movement:[p.eG,p.Y],pressedOn:"movingLeft",stopOnRelease:!1},buttonPlayRight:{movement:[p.fG,p.Y],pressedOn:"movingRight",stopOnRelease:!1},buttonPlayUp:{movement:[p.gG,p.Y],pressedOn:"movingUp",stopOnRelease:!1},buttonPlayDown:{movement:[p.dG,p.Y],pressedOn:"movingDown",
3344stopOnRelease:!1},buttonZoomIn:{movement:p.Hu,pressedOn:"zoomingIn",stopOnRelease:!0},buttonZoomOut:{movement:p.Iu,pressedOn:"zoomingOut",stopOnRelease:!0}};return x});
3345define("cE",["require","nV","dh","iy"],function(a){var e=a("nV"),l=a("dh"),m=a("iy");a=e.define("PanoramaPlayListItem",m,function(){m.call(this)});a.prototype.start=function(){m.prototype.start.call(this);var k=this.get("player");k&&(k.bind(l.fh,this.Vv,this),k.set("panorama",this.get("media")),k.set("camera",this.get("camera")))};a.prototype.stop=function(){var k=this.get("player");k&&(k.unbind(l.fh,this.Vv,this),k.get("panorama")==this.get("media")&&k.set("panorama",null));m.prototype.stop.call(this)};
3346a.prototype.Vv=function(k){k.data.media==this.get("media")&&(this.get("player").unbind(l.fh,this.Vv,this),this.get("player").bind(l.Jm,this.wz,this),this.mA())};a.prototype.wz=function(k){k.data.media==this.get("media")&&(this.get("player").unbind(l.Jm,this.wz,this),this.stop(),this.end())};return a});define("lI",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("PanoramaSnapshot",e,function(){e.call(this)})});
3347define("nw",["require","lE","cu"],function(a){var e=a("lE"),l=a("cu");a=e.extend(l,function(m,k,b,h){l.call(this);this.Pd=m;this.oa=k;this.wa=b;this.f8=h});a.prototype.Pt=function(){return[this.Pd]};a.prototype.Oi=function(){return this.Pd};a.prototype.je=function(){return this.oa};a.prototype.Ye=function(){return this.wa};return a});
3348define("pf",["require","nV","eu","gn","nw"],function(a){var e=a("nV"),l=a("eu"),m=a("gn"),k=a("nw");a=e.define("Photo",l,function(){l.call(this);this.ya=void 0});a.prototype.$j=function(){if(void 0==this.ya){var b=this.get("image");this.ya=b?new k(m.nr(b).get("url"),this.get("width"),this.get("height"),this.get("flipImageHorizontally",!1)):null}return this.ya};a.prototype.Ot=function(){var b=this.RV(this.$j());
3348this.get("audios",[]).forEach(function(h){b=b.concat(h.Ot())}.bind(this));return b};a.prototype.RV=
3349function(b){return b?b.Pt():[]};return a});define("jO",["require","eu","nV"],function(a){var e=a("eu");a=a("nV").define("PhotoAlbum",e,function(){e.call(this);this.set("loop",!1)});a.prototype.Ot=function(){var l=[],m=this.get("playList");m&&m.get("items",[]).forEach(function(k){(k=k.get("media"))&&(l=l.concat(k.Ot()))});this.get("audios",[]).forEach(function(k){l=l.concat(k.Ot())});return l};return a});
3350define("gN",["require","ik","nV","ji"],function(a){var e=a("ik"),l=a("nV"),m=a("ji");return l.define("PhotoAlbumAudio",m,function(){m.call(this,e.zIa)})});
3351define("df",["require","lg"],function(a){function e(m,k){this.j=m;this.Qp=k;this.EG=[];this.rs=[];this.cr=1}var l=a("lg");e.prototype.clear=function(){for(var m=0;m<this.EG.length;m++)this.EG[m].Mc(l.W);this.jKa();this.rs=this.EG=null};e.prototype.stop=function(){for(var m=0;m<this.rs.length;m++)this.rs[m].Mc(l.W)};e.prototype.play=function(){for(var m=0;m<this.rs.length;m++){var k=this.rs[m];k.getState()!=l.Y&&k.Mc(l.Y)}};e.prototype.pause=function(){for(var m=0;m<this.rs.length;m++){var k=this.rs[m];
3352k.getState()==l.Y&&k.Mc(l.Ib)}};e.prototype.start=function(){this.stop();for(var m=0;m<this.Qp.length;m++){var k=this.Qp[m],b=k.PE();b&&(this.EG.push(b),k.get("autoplay",!1)&&this.rs.push(b))}for(m=0;m<this.rs.length;m++)this.rs[m].Mc(l.Y)};e.prototype.Gd=function(){};e.prototype.jKa=function(){for(var m=0;m<this.EG.length;m++)this.EG[m].vx(1)};return e});
3353define("iu",["require","lE","df"],function(a){var e=a("lE"),l=a("df");return e.extend(l,function(m,k){l.call(this,m,k.get("audios",[]));this.tY=k})});define("hE",["require","lE","df"],function(a){var e=a("lE"),l=a("df");return e.extend(l,function(m,k){l.call(this,m,k.get("audios",[]));this.lf=k})});
3354define("jz",["require","iu","hE"],function(a){function e(k){this.j=k;this.Ui=[];this.Ei=[]}var l=a("iu"),m=a("hE");e.prototype.clear=function(){this.YFa();this.Ei=this.Ui=null};e.prototype.YFa=function(){for(var k=0;k<this.Ui.length;k++)this.Ui[k].clear();for(k=0;k<this.Ei.length;k++)this.Ei[k].clear();this.Ui=[];this.Ei=[]};e.prototype.pause=function(){for(var k=0;k<this.Ui.length;k++)this.Ui[k].pause();for(k=0;k<this.Ei.length;k++)this.Ei[k].pause()};e.prototype.play=function(){for(var k=0;k<this.Ui.length;k++)this.Ui[k].play();
3355for(k=0;k<this.Ei.length;k++)this.Ei[k].play()};e.prototype.stop=function(){for(var k=0;k<this.Ui.length;k++)this.Ui[k].stop();for(k=0;k<this.Ei.length;k++)this.Ei[k].clear();this.Ei=[]};e.prototype.A7a=function(k){k=new l(this.j,k);this.Ei.push(k);k.start()};e.prototype.G7a=function(k){for(var b=0;b<this.Ei.length;b++)if(this.Ei[b].tY==k){this.Ei[b].clear();this.Ei.splice(b,1);break}};e.prototype.Eia=function(k){k=new m(this.j,k);this.Ui.push(k);k.start()};e.prototype.E7a=function(k){for(var b=0;b<
3356this.Ui.length;b++)if(this.Ui[b].lf==k){this.Ui[b].clear();this.Ui.splice(b,1);break}};e.prototype.Gd=function(k){for(var b=0;b<this.Ui.length;b++)this.Ui[b].Gd(k);for(b=0;b<this.Ei.length;b++)this.Ei[b].Gd(k)};return e});
3357define("bL",["require","lE","mv"],function(a){function e(){this.xa=!0;this.Oa=this.La=.5;this.kb=1;this.Ef=l.Ih;this.Pm=this.Qm=100}a("lE");var l=a("mv");e.prototype.getX=function(){this.Hn();return this.La};e.prototype.getY=function(){this.Hn();return this.Oa};e.prototype.qr=function(){this.Hn();return this.kb};e.prototype.setConfiguration=function(m,k,b){this.Ef=b;this.Oa=this.La=.5;this.kb=1;this.xa=!0};e.prototype.setPosition=function(m,k,b){this.La=m;this.Oa=k;this.kb=b;this.xa=!0};e.prototype.setSize=
3358function(m,k){this.Qm=m;this.Pm=k;this.xa=!0};e.prototype.Hn=function(){if(this.xa){this.xa=!1;1>this.kb&&(this.kb=1);var m=Math.min(.5/this.kb,.5),k=Math.max(1-.5/this.kb,.5);this.La<m?this.La=m:this.La>k&&(this.La=k);m=Math.min(.5/this.kb,.5);k=Math.max(1-.5/this.kb,.5);this.Oa<m?this.Oa=m:this.Oa>k&&(this.Oa=k)}};return e});
3359define("bD",["require"],function(){function a(e,l){this.j=e;this.ka=l;this.Oa=this.La=.5;this.kb=1;this.SY=!1}a.prototype.start=function(){this.Oa=this.La=.5;this.kb=1;this.SY=!0};a.prototype.clear=function(){this.ka=this.j=null};a.prototype.setPosition=function(e,l,m){this.La=e;this.Oa=l;this.kb=m};a.prototype.kf=function(){return this.SY};a.prototype.Cb=function(){this.SY=!1};return a});
3360define("ia",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("PhotoCameraPosition",e,function(l,m,k){e.call(this);void 0!=l&&this.set("x",l);void 0!=m&&this.set("y",m);void 0!=k&&this.set("zoomFactor",k)})});
3361define("i","require lE bD ia oI bG".split(" "),function(a){var e=a("lE"),l=a("bD"),m=a("ia"),k=a("oI"),b=a("bG");a=e.extend(l,function(h,f){l.call(this,h,f);this.aa=null});a.prototype.start=function(h){var f=h.get("initialPosition",new m
3361(.5,.5,1)),c=h.get("targetPosition",new m(.5,.5,1)),d=h.get("duration",1E3);0==d?(this.La=f.get("x"),this.Oa=f.get("y"),this.kb=f.get("zoomFactor")):this.aa=new k(h.get("easing","linear"),[new b("x",f.get("x",.5),c.get("x",.5)),new b("y",f.get("y",.5),c.get("y",.5)),
3362new b("zoom",f.get("zoomFactor",1),c.get("zoomFactor",1))],d);this.Cb(0)};a.prototype.clear=function(){this.aa=null;l.prototype.clear.call(this)};a.prototype.kf=function(){return null!=this.aa};a.prototype.Cb=function(h){this.aa&&(this.aa.Cb(h),this.ka.setPosition(this.aa.fb("x"),this.aa.fb("y"),this.aa.fb("zoom")),this.La=this.ka.getX(),this.Oa=this.ka.getY(),this.kb=this.ka.qr(),this.aa.Ze()&&(this.aa=null))};return a});
3363define("cQ","require lE cC gv nV lg mv bL bD i pg".split(" "),function(a){var e=a("lE"),l=a("cC"),m=a("gv"),k=a("nV"),b=a("lg"),h=a("mv"),f=a("bL"),c=a("bD"),d=a("i"),g=a("pg"),p=e.extend(m,function(q,n){m.call(this);this.j=q;this.be=n;this.j.bind(g.pc,this.Fc,this);this.C=b.W;this.$l=this.tY=this.Fb=this.ya=null;this.ka=new f});p.prototype.clear=function(){this.end();this.ka=null;this.j.unbind(g.pc,this.Fc,this);this.j=null};p.prototype.end=function(q){if(this.ya==q||"undefined"==typeof q)this.Jna(),
3364this.Fb=this.tY=this.ya=null};p.prototype.start=function(q){if(this.ya!=q){this.end(this.ya);var n=q.get("media"),r=q.get("camera"),u=n.get("width",100),t=n.get("height",100),v=r?r.get("scaleMode",h.Ih):h.Ih;this.ya=q;this.Fb=r;this.tY=n;n.$j();this.U=!0;this.ka.setConfiguration(u,t,v);this.$Ma(r);this.Qa()}};p.prototype.stop=function(){this.C!=b.W&&(this.C=b.W,this.$l&&(this.$l.start(this.Fb),this.Qa()))};p.prototype.play=function(){if(this.C==b.W||this.C==b.Ib)this.C=b.Y,this.Qa()};p.prototype.pause=
3365function(){this.C==b.Y&&(this.C=b.Ib)};p.prototype.ix=function(q){this.$l&&this.$l.kf()&&(this.C==b.Y&&(this.$l.Cb(q),this.Qa()),this.dm(this.$l.La,this.$l.Oa,this.$l.kb))};p.prototype.$Ma=function(q){this.Jna();k.Ga("MovementPhotoCamera",q)?this.$l=new d(this.j,this.ka):this.$l=new c(this.j,this.ka);this.$l.start(q)};p.prototype.Jna=function(){this.$l&&(this.$l.clear(),this.$l=null)};p.prototype.Fc=function(){this.ka.setSize(this.j.Ya(),this.j.Ab());this.Qa()};p.prototype.Qa=function(){this.trigger(new l(p.Hb))};
3366p.prototype.dm=function(q,n,r){this.be.setPosition(this.ya,q,n,r)};p.Hb="request frame";return p});
3367define("io","require en lE cC gv pg ik mv".split(" "),function(a){var e=a("en"),l=a("lE"),m=a("cC"),k=a("gv"),b=a("pg");a("ik");var h=a("mv"),f=l.extend(k,function(d,g){k.call(this);this.PP=[];this.L=d;this.j=g});f.prototype.preload=function(d){this.Vy(d).preload();return this};f.prototype.$e=function(d,g){this.Vy(d).$e(g);return this};f.prototype.Qn=function(d,g){this.Vy(d).Qn(g);return this};f.prototype.setPosition=function(d,g,p,q){this.Vy(d).setPosition(g,p,q);return this};f.prototype.zh=function(d){this.Vy(d).zh()};
3368f.prototype.stop=function(){this.coa(function(d){d.clear()});this.PP=[]};f.prototype.clear=function(){this.stop();this.j=this.L=this.PP=null};f.prototype.Gd=function(){this.coa(function(d){d.update()})};f.prototype.Vy=function(d){var g=this.jOa(d);g||(g=new c(d,this.j),g.bind(c.Fka,this.yRa,this),g.bind(c.yka,this.xRa,this),this.PP.push(g));return g};f.prototype.coa=function(d){e(this.PP).each(d,this)};f.prototype.jOa=function(d){return e(this.PP).find(function(g){return g.getItem()==d})};f.prototype.yRa=
3369function(){this.Qa()};f.prototype.xRa=function(d){this.trigger(new m(f.n4,{item:d.source.getItem()}))};f.prototype.Qa=function(){this.trigger(new m(f.Hb))};f.Hb="request frame";f.n4="photo preload end";var c=l.extend(k,function(d,g){k.call(this);this.ya=d;this.j=g;this.Ef=(g=d.get("camera"))?g.get("scaleMode",h.Ih):h.Ih;this.hj=d.get("media").$j();this.hj.bind(b.Z,this.vd,this);this.hj.bind(b.yc,this.Sf,this);this.ta=c.RL;this.Oa=this.La=.5;this.kb=1;this.co=0;this.HG=!1;this.Dg=0;this.xa=!1});c.prototype.getItem=
3370function(){return this.ya};c.prototype.preload=function(){this.ta==c.RL?this.AY():this.Qwa()};c.prototype.$e=function(d){this.co!=d&&(this.co=d,this.cf())};c.prototype.Qn=function(d){this.Dg!=d&&(this.Dg=d,this.cf())};c.prototype.setPosition=function(d,g,p){if(this.La!=d||this.Oa!=g||this.kb!=p)this.La=d,this.Oa=g,this.kb=p,this.cf()};c.prototype.zh=function(){this.HG||(this.HG=!0,this.cf())};c.prototype.clear=function(){this.ta==c.cU&&this.rua();this.ta!=c.OL&&this.ta!=c.QL&&this.ta!=c.PL||this.eA();
3371this.hj.unbind(b.Z,this.vd);this.hj.unbind(b.yc,this.Sf);this.hj=null};c.prototype.update=function(){this.xa&&(this.xa=!1,-1<this.Dg&&1>this.Dg&&0<this.co?(this.ta==c.RL&&this.DN(),this.ta==c.OL&&this.DJa(),this.ta==c.cU&&(this.HG&&(this.j.Rea(this.hj),this.HG=!1),this.j.Ir(this.hj,this.co),this.j.c6a(this.hj,this.Dg),this.j.OS(this.hj,this.La,this.Oa,this.kb))):(this.ta==c.cU&&this.rua(),this.ta!=c.OL&&this.ta!=c.PL||this.eA()))};c.prototype.cf=function(){this.xa||(this.xa=!0,this.Da())};c.prototype.Da=
3372function(){this.trigger(new m(c.Fka))};c.prototype.AY=function(){this.ta=c.QL;this.j.Mn(this.hj);this.j.zBa(this.hj)&&this.vd()};c.prototype.DN=function(){this.ta=c.PL;this.j.Mn(this.hj);this.j.zBa(this.hj)&&this.vd()};c.prototype.DJa=function(){this.ta=c.cU;this.j.Bea(this.hj);this.j.f6a(this.hj,this.Ef)};c.prototype.rua=function(){this.ta=c.OL;this.j.removeItem(this.hj)};c.prototype.eA=function(){this.ta=c.RL;this.j.uj(this.hj)};c.prototype.vd=function(){if(this.ta==c.QL||this.ta==c.PL){var d=this.ta==
3373c.QL;this.ta=c.OL;this.cf();d&&this.Qwa()}};c.prototype.Sf=function(){if(this.ta==c.QL||this.ta==c.PL)this.ta=c.RL};c.prototype.Qwa=function(){this.trigger(new m(c.yka))};c.Fka="requestUpdate";c.yka="preloadEnd";c.RL="unloaded";c.QL="preloading";c.PL="loading";
3373c.OL="loaded";c.cU="added";return f});define("nz",["require"],function(){return{Wn:"blending",Ip:"scroll"}});
3374define("ce","require en lE cC gv pg io nz".split(" "),function(a){function e(d,g,p){this.In=d;this.item=g;this.transitionDuration=p;this.index=d&&g?l(d.get("playList").get("items")).indexOf(this.item):0;this.loaded=!1}var l=a("en"),m=a("lE"),k=a("cC"),b=a("gv");a("pg");var h=a("io"),f=a("nz");e.prototype.isEqual=function(d){return d&&d.In==this.In&&d.item==this.item};var c=m.extend(b,function(d,g,p){b.call(this);this.L=d;this.j=g;this.be=p;this.be.bind(h.n4,this.Pta,this);this.jQ=f.Wn;this.ta=c.wG;
3375this.Of=new e(null,null,0);this.fv=this.Hk=this.nh=null;this.Gn=void 0;this.Uz=0});c.prototype.S6a=function(d){this.jQ=d};c.prototype.ria=function(d){this.Uz=d};c.prototype.Tia=function(d,g,p){this.Hk=null;d=new e(d,g,p);d.isEqual(this.ta==c.wG?this.Of:this.nh)||(this.Hk=d,this.Isa())};c.prototype.clear=function(){this.ta!=c.fU&&this.ta!=c.dU||this.trigger(new k(c.Rx,{album:this.nh.In,item:this.nh.item}));this.ta=c.wG;this.j=this.L=this.fv=this.Of=this.nh=this.Hk=null;this.be.unbind(h.n4,this.Pta,
3376this);this.be=null};c.prototype.Gd=function(d){this.ta!=c.wG&&(this.Gn+=d,d=this.nh.transitionDuration,d=this.Gn>=d?1:this.Gn/d,this.ta==c.dU?this.DYa(d):this.ta==c.eU?this.EYa(d):this.jQ==f.Wn?this.pYa(d):this.kZa(d),1>d?this.Qa():this.Ry())};c.prototype.DYa=function(d){this.be.$e(this.nh.item,d).Qn(this.nh.item,0)};c.prototype.EYa=function(d){this.be.$e(this.Of.item,1-d).Qn(this.Of.item,0)};c.prototype.pYa=function(d){this.be.$e(this.nh.item,Math.min(1,2*d)).Qn(this.nh.item,0);this.be.$e(this.Of.item,
3377Math.min(1,2*(1-d))).Qn(this.Of.item,0)};c.prototype.kZa=function(d){var g=this.Of.In!=this.nh.In||this.Of.index<this.nh.index;this.be.Qn(this.nh.item,(g?1-d:d-1)*(1+this.Uz)).$e(this.nh.item,1);this.be.Qn(this.Of.item,(g?-d:d)*(1+this.Uz)).$e(this.Of.item,1)};c.prototype.Isa=function(){this.Hk&&this.ta==c.wG&&(this.Hk.item&&!this.Hk.loaded?this.be.preload(this.Hk.item):this.Rp())};c.prototype.Pta=function(d){this.Hk&&this.Hk.item==d.data.item&&(this.Hk.loaded=!0,this.Isa())};c.prototype.Rp=function(){this.fv&&
3378this.fv!=this.Hk.In&&(this.trigger(new k(c.vp,{album:this.fv})),this.fv=null);this.trigger(new k(c.u4));"fade_out_fade_in"==this.L.get("transitionMode")&&null!=this.Hk.item&&null!=this.Of.item?(this.ta=c.eU,this.nh=new e(this.Of.In,null,this.Of.transitionDuration)):(this.nh=this.Hk,this.Hk=null,this.Of.item)?this.nh.item?this.ta=c.fU:this.Of.item&&(this.ta=c.eU):this.ta=c.dU;if(this.ta==c.fU||this.ta==c.dU)this.be.zh(this.nh.item),this.trigger(new k(c.AB,{album:this.nh.In,item:this.nh.item}));this.Gn=
33790;this.Qa()};c.prototype.Ry=function(){this.ta!=c.fU&&this.ta!=c.eU||this.trigger(new k(c.Rx,{album:this.Of.In,item:this.Of.item}));this.Of=this.nh;this.fv!=this.Of.In&&(this.fv=this.Of.In,this.trigger(new k(c.wp,{album:this.fv})));this.ta=c.wG;null==this.Hk?(this.Of.item&&this.trigger(new k(c.BB,{album:this.Of.In,item:this.Of.item})),this.trigger(new k(c.Ap,{album:this.Of.In,item:this.Of.item}))):this.Rp()};c.prototype.Qa=function(){this.trigger(new k(c.Hb))};c.wG="stopped";c.fU="blending";c.eU=
3380"fading_out";c.dU="fading_in";c.Hb="request frame";c.u4="transition begin";c.Ap="transition end";c.AB="photo added";c.Rx="photo removed";c.BB="photo displayed";c.wp="photo album show";c.vp="photo album hide";return c});
3381define("fP","require en lE cC gv pg nV mv ia bL bD i oI bG".split(" "),function(a){var e=a("en"),l=a("lE"),m=a("cC"),k=a("gv"),b=a("pg"),h=a("nV"),f=a("mv"),c=a("ia"),d=a("bL");a("bD");a("i");var g=a("oI"),p=a("bG"),q=l.extend(k,function(n,r,u){k.call(this);this.L=n;this.j=r;this.be=u;this.Io=this.uo=this.ya=this.lf=this.cb=null;this.zn=void 0;this.DZ=0;this.Lk=!1;this.Dg=0;this.ZW=this.Io?-1:0;this.XW=this.uo?1:0;this.aa=null;this.Ug=400;this.Uz=0;this.ka=new d});q.prototype.clear=function(){this.be=
3382this.j=this.L=this.fv=null};q.prototype.B5a=function(n,r){this.lf=n;this.ya=r;n=n&&n.get("playList")&&n.get("playList").get("items")||[];r=e(n).indexOf(r);this.uo=0<r?n[r-1]:null;this.Io=r<n.length-1?n[r+1]:null;this.Dg=0;this.ZW=this.Io?-1:0;this.XW=this.uo?1:0;this.AY()};q.prototype.enable=function(){if(this.cb=this.j.getParent())this.cb.bind(b.jb,this.Xd,this,!0),this.cb.bind(b.bc,this.Mj,this,!0),this.cb.bind(b.Eb,this.Nj,this,!0),this.AY()};q.prototype.disable=function(){this.cb&&(this.cb.unbind(b.jb,
3383this.Xd,this),this.cb.unbind(b.bc,this.Mj,this),this.cb.unbind(b.Eb,this.Nj,this),this.cb=null)};q.prototype.R6a=function(n){this.Ug=n};q.prototype.ria=function(n){this.Uz=n};q.prototype.AY=function(){this.cb&&(this.uo&&this.be.preload(this.uo),this.Io&&this.be.preload(this.Io))};q.prototype.mra=function(){return(new Date).getTime()};q.prototype.Xd=function(n){this.Lk||(this.zn=n.x,this.DZ=0,this.fba=this.mra(),this.Lk=!0,this.aa=null,this.trigger(new m(q.T3)),this.uo&&(n=this.lpa(this.uo),this.be.setPosition(this.uo,
3384n.x,n.y,n.zoom)),this.Io&&(n=this.lpa(this.Io),this.be.setPosition(this.Io,n.x,n.y,n.zoom)))};q.prototype.Mj=function(n){if(this.Lk){var r=n.x-this.zn,u=r/this.cb.Ya(),t=this.mra()-this.fba;this.DZ=r/t;this.fba+=t;this.zn=n.x;this.Dg=Math.max(this.ZW,Math.min(this.XW,this.Dg+u));this.Qa()}};q.prototype.Nj=function(){if(this.Lk){this.Lk=!1;if(1<this.DZ){var n="quad_out";var r=this.XW}else-1>this.DZ?(n="quad_out",r=this.ZW):(n="quad_in_out",r=-.5>this.Dg?this.ZW:.5<this.Dg?this.XW:0);this.aa=new g(n,
3385[new p("offset",this.Dg,r,1E3/this.Ug)],0);this.Qa()}};q.prototype.Gd=function(n){if(this.Lk||this.aa)this.aa&&(this.aa.Cb(n),this.Dg=this.aa.fb("offset"),this.aa.Ze()?(this.aa=null,this.QNa()):this.Qa()),this.ya&&this.be.Qn(this.ya,this.Dg*(1+this.Uz)).$e(this.ya,1),this.uo&&this.be.Qn(this.uo,(this.Dg-1)*(1+this.Uz)).$e(this.uo,1),this.Io&&this.be.Qn(this.Io,(this.Dg+1)*(1+this.Uz)).$e(this.Io,1)};q.prototype.QNa=function(){this.trigger(new m(q.U3,{album:this.lf,item:0>this.Dg?this.Io:0<this.Dg?
3386this.uo:this.ya}))};q.prototype.Qa=function(){this.trigger(new m(q.Hb))};q.prototype.lpa=function(n){var r=n&&n.get("camera"),u=n&&n.get("media");n=u&&u.get("width",100)||100;u=u&&u.get("height",100)||100;var t=r?r.get("scaleMode",f.Ih):f.Ih,v={};h.Ga("MovementPhotoCamera",r)?(r=r.get("initialPosition",new c(.5,.5,
33861)),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.ka.setConfiguration(n,u,t);this.ka.setSize(this.j.Ya(),this.j.Ab());this.ka.setPosition(v.x,
3387v.y,v.zoom);v.x=this.ka.getX();v.y=this.ka.getY();v.zoom=this.ka.qr();return v};q.Hb="request frame";q.T3="interaction begin";q.U3="interaction end";return q});
3388define("jC","require lE cC gv pg io nz ce fP".split(" "),function(a){var e=a("lE"),l=a("cC"),m=a("gv");a("pg");a("io");var k=a("nz"),b=a("ce"),h=a("fP"),f=e.extend(m,function(c,d,g){m.call(this);this.L=c;this.j=d;this.be=g;this.jQ=k.Wn;this.Ug=1E3;this.Lb=new b(this.L,this.j,this.be);this.Lb.bind(b.Hb,this.Ue,this,!0);this.Lb.bind(b.u4,this.Gra,this,!0);this.Lb.bind(b.Ap,this.Hra,this,!0);this.Lb.bind(b.AB,this.wO,this,!0);this.Lb.bind(b.Rx,this.zO,this,!0);this.Lb.bind(b.BB,this.yO,this,!0);this.Lb.bind(b.vp,
3389this.xq,this,!0);this.Lb.bind(b.wp,this.zo,this,!0);this.Ml=new h(this.L,this.j,this.be);this.Ml.bind(h.Hb,this.Ue,this,!0);this.Ml.bind(h.T3,this.Gqa,this,!0);this.Ml.bind(h.U3,this.Hqa,this,!0)});f.prototype.H2=function(c,d){this.jQ=c;this.Ug=d;this.Lb.S6a(c);this.Ml.R6a(d);this.Lb.ria(.05);this.Ml.ria(.05)};f.prototype.display=function(c,d){this.Lb.Tia(c,d,this.Ug)};f.prototype.hide=function(){this.Lb.Tia(null,null,this.Ug)};f.prototype.clear=function(){this.Lb.unbind(b.Hb,this.Ue,this);this.Lb.unbind(b.u4,
3390this.Gra,this);this.Lb.unbind(b.Ap,this.Hra,this);this.Lb.unbind(b.AB,this.wO,this);this.Lb.unbind(b.Rx,this.zO,this);this.Lb.unbind(b.BB,this.yO,this);this.Lb.unbind(b.vp,this.xq,this);this.Lb.unbind(b.wp,this.zo,this);this.Lb.clear();this.Lb=null;this.Ml.bind(h.Hb,this.Ue,this,!0);this.Ml.bind(h.T3,this.Gqa,this,!0);this.Ml.bind(h.U3,this.Hqa,this,!0);this.Ml.clear();this.be=this.j=this.L=this.Ml=null};f.prototype.Gd=function(c){this.Lb.Gd(c);this.Ml.Gd(c)};f.prototype.Ue=function(){this.Qa()};
3391f.prototype.wO=function(c){this.trigger(new l(f.AB,c.data))};f.prototype.zO=function(c){this.trigger(new l(f.Rx,c.data))};f.prototype.yO=function(c){this.trigger(new l(f.BB,c.data));this.Ml.B5a(c.data.album,c.data.item)};f.prototype.xq=function(c){this.trigger(new l(f.vp,c.data))};f.prototype.zo=function(c){this.trigger(new l(f.wp,c.data))};f.prototype.Gra=function(){this.Ml.disable()};f.prototype.Hra=function(c){this.jQ==k.Ip&&c.data.item&&this.Ml.enable();c.data.album||this.trigger(new l(f.Q3))};
3392f.prototype.Gqa=function(){this.trigger(new l(f.zja))};f.prototype.Hqa=function(c){this.Lb.Tia(c.data.album,c.data.item,0);this.trigger(new l(f.Aja,c.data))};f.prototype.Qa=function(){this.trigger(new l(f.Hb))};f.Hb="request frame";f.AB="photo added";f.Rx="photo removed";f.BB="photo displayed";f.wp="photo album show";f.vp="photo album hide";f.zja="manual interaction begin";f.Aja="manual interaction end";f.Q3="all pending photo albums hidden";return f});
3393define("iR","require en lE y cC gv lg".split(" "),function(a){var e=a("en"),l=a("lE"),m=a("y"),k=a("cC"),b=a("gv"),h=a("lg"),f=l.extend(b,function(){b.call(this);this.lf=null;this.C=h.W;this.Uba=null});f.prototype.clear=function(){this.qfa()};f.prototype.Eia=function(c){this.qfa();this.lf=c;this.C=h.Y;this.Uba=m.cu(this.lf,"playList.selectedIndex",this.YD,this);0==this.lf.get("playList").get("selectedIndex")?this.YD():this.lf.get("playList").set("selectedIndex",0)};f.prototype.qfa=function(){this.lf&&
3394(this.C=h.W,this.Uba.dB(),this.lf=this.Uba=null)};f.prototype.stop=function(){this.C!=h.W&&(this.C=h.W,this.lf.get("playList").set("selectedIndex",0))};f.prototype.play=function(){this.C==h.W?(this.lf.get("playList").set("selectedIndex",0),this.C=h.Y,this.YD()):this.C==h.Ib&&(this.C=h.Y)};f.prototype.pause=function(){this.C==h.Y&&(this.C=h.Ib)};f.prototype.next=function(){var c=this.lf.get("playList"),d=c.get("selectedIndex"),g=c.get("items").length;(d<g-1||this.lf.get("loop"))&&c.set("selectedIndex",
3395(d+1)%g)};f.prototype.pha=function(){var c=this.lf.get("playList"),d=c.get("selectedIndex"),g=c.get("items").length;(0<d||this.lf.get("loop"))&&c.set("selectedIndex",(d-1+g)%g)};f.prototype.j1=function(c){this.cWa(c)};f.prototype.itemEnd=function(c){if(this.lf){var d=e(this.lf.get("playList").get("items")).last(
3395);c!=d||this.lf.get("loop")?this.next():(this.C=h.W,this.trigger(new k(f.L3,{album:this.lf})))}};f.prototype.YD=function(){var c=this.YPa();0<=c&&(this.C!=h.Y&&0!=c?this.trigger(new k(f.q4)):
3396this.trigger(new k(f.Y3,{album:this.lf,item:this.lf.get("playList").get("items")[c]})))};f.prototype.YPa=function(){return this.lf?this.lf.get("playList").get("selectedIndex"):-1};f.prototype.cWa=function(c){if(this.lf){var d=this.lf.get("playList");c=e(d.get("items")).indexOf(c);d.set("selectedIndex",c)}};f.q4="play request";f.Y3="item request";f.L3="album end";return f});
3397define("cX","require en lE pg cC gv lg hq".split(" "),function(a){a("en");var e=a("lE"),l=a("pg"),m=a("cC"),k=a("gv"),b=a("lg"),h=a("hq"),f=e.extend(k,function(c){k.call(this);this.L=c;this.bQ=this.ya=null;this.PD=void 0;this.zW=!1;this.C=b.W;h.bind(l.ca,this.yta,this,!0)});f.prototype.j1=function(c){this.w7();if(this.ya=c)c=this.ya.get("media").get("duration",0),this.PD=0==c?void 0:Math.max(0,c-this.L.get("transitionDuration")),this.zW=!1,this.C==b.Y&&this.U7()};f.prototype.clear=function(){h.unbind(l.ca,
3398this.yta,this,!0);this.j1(null)};f.prototype.stop=function(){this.C!=b.W&&(this.w7(),this.xd(b.W))};f.prototype.play=function(){if(this.C==b.W){if(this.xd(b.Y),this.ya){this.zW=!1;var c=this.ya.get("media").get("duration",0);this.PD=0==c?void 0:c;this.U7()}}else this.C==b.Ib&&(this.xd(b.Y),this.ya&&this.U7())};f.prototype.pause=function(){this.C==b.Y&&(this.xd(b.Ib),this.Mta())};f.prototype.U7=function(){this.zW||(this.zW=!0,this.trigger(new m(f.Z3,{item:this.ya})));this.noa()};f.prototype.yta=function(){h.visible?
3399this.noa():h.visible||this.Mta()};f.prototype.noa=function(){if(void 0!==this.PD){var c=this;this.YZ=(new Date).getTime()+this.PD;this.bQ=setTimeout(function(){c.bQ=null;c.wXa()},this.PD)}else this.YZ=void 0};f.prototype.w7=function(){this.bQ&&(clearTimeout(this.bQ),this.bQ=null)};f.prototype.Mta=function(){void 0!==this.YZ&&(this.w7(),this.PD=Math.max(1,this.YZ-(new Date).getTime()),this.YZ=void 0)};f.prototype.wXa=function(){var c=this.ya;this.ya=null;this.PD=void 0;this.trigger(new m(f.X3,{item:c}))};
3400f.prototype.xd=function(c){this.C!=c&&(this.C=c,this.trigger(new m(f.Hc,{state:this.C})))};f.Hc="playback state change";f.Z3="item start";f.X3="item end";return f});
3401define("nT","require lE cC gv bi v".split(" "),function(a){var e=a("lE"),l=a("cC"),m=a("gv"),k=a("bi"),b=a("v"),h=e.extend(m,function(f){m.call(this);this.U=!0;this.KC=!1;this.j=f;this.bn=b.browser()==b.Rr&&b.Jd()==b.i5?3:1;this.Te=this.QM=0});h.prototype.clear=function(){this.U=!1;this.j=null;this.Te=this.QM=0};h.prototype.requestFrame=function(){this.KC||(this.KC=!0,k.requestFrame(this.Qj,this))};h.prototype.Qj=function(f){this.U&&(this.QM++,this.Te+=f,this.QM==this.bn?(this.QM=0,this.KC=!1,f=this.Te,
3402this.Te=0,this.trigger(new l(h.yp,{frameTime:f})),this.trigger(new l(h.zp,{frameTime:f})),this.j.render()):k.requestFrame(this.Qj,this))};h.yp="frameStart";h.zp="positionSet";return h});
3403define("gO","require lE pg cC gv jz cQ jC iR cX io nT".split(" "),function(a){var e=a("lE");a("pg");var l=a("cC"),m=a("gv"),k=a("jz"),b=a("cQ"),h=a("jC"),f=a("iR"),c=a("cX"),d=a("io"),g=a("nT"),p=e.extend(m,function(q,n){m.call(this);this.L=q;this.j=n;this.j.set("visible",!1);this.Zh=new f(this.j);this.Ja=new c(this.L);this.be=new d(this.L,this.j);this.Ma=new h(this.L,this.j,this.be);this.eb=new b(this.j,this.be);this.pg=new g(this.j);this.Td=new k(this.j);this.be.bind(d.Hb,this.Ue,this,!0);this.Zh.bind(f.Y3,
3404this.Zra,this,!0);this.Zh.bind(f.q4,this.Msa,this,!0);this.Zh.bind(f.L3,this.xO,this,!0);this.Ja.bind(c.Z3,this.$ra,this);this.Ja.bind(c.X3,this.Yra,this);this.Ja.bind(c.Hc,this.ef,this,!0);this.Ma.bind(h.Hb,this.Ue,this,!0);this.Ma.bind(h.AB,this.wO,this,!0);this.Ma.bind(h.Rx,this.zO,this,!0);this.Ma.bind(h.BB,this.yO,this,!0);this.Ma.bind(h.vp,this.xq,this,!0);this.Ma.bind(h.wp,this.zo,this,!0);this.Ma.bind(h.zja,this.zSa,this,!0);this.Ma.bind(h.Aja,this.ASa,this,!0);this.Ma.bind(h.Q3,this.xra,
3405this,!0);this.eb.bind(b.Hb,this.Ue,this,!0);this.pg.bind(g.yp,this.xz,this,!0);this.pg.bind(g.zp,this.yz,this,!0)});p.prototype.clear=function(){this.Zh.clear();this.Ja.clear();this.Ma.clear();this.eb.clear();this.pg.clear();this.Td.clear();this.be.clear();this.be.unbind(d.Hb,this.Ue,this);this.Zh.unbind(f.Y3,this.Zra,this);this.Zh.unbind(f.L3,this.xO,this);this.Zh.unbind(f.q4,this.Msa,this);this.Ja.unbind(c.Z3,this.$ra,this);this.Ja.unbind(c.X3,this.Yra,this);this.Ja.unbind(c.Hc,this.ef,this);this.Ma.unbind(h.Hb,
3406this.Ue,this);this.Ma.unbind(h.AB,this.wO,this);this.Ma.unbind(h.Rx,this.zO,this);this.Ma.unbind(h.BB,this.yO,this);this.Ma.unbind(h.vp,this.xq,this);this.Ma.unbind(h.wp,this.zo,this);this.Ma.unbind(h.Q3,this.xra,this);this.eb.unbind(b.Hb,this.Ue,this);this.pg.unbind(g.yp,this.xz,this);this.pg.unbind(g.zp,this.yz,this);this.L=this.j=this.be=this.Td=this.pg=this.eb=this.Ma=this.Ja=this.Zh=null};p.prototype.H2=function(q,n){this.Ma.H2(q,n)};p.prototype.x6a=function(q){this.j.set("visible",!0);this.Zh.Eia(q)};
3407p.prototype.nx=function(){this.Zh.qfa();this.Ja.stop();this.Ma.hide();this.eb.end();this.Td.YFa()};p.prototype.next=function(){this.Zh.next()};p.prototype.pha=function(){this.Zh.pha()};p.prototype.stop=function(){this.Ja.stop();this.Td.stop();this.Zh.stop();this.eb.stop()};p.prototype.play=function(){this.Ja.play();this.Td.play();this.Zh.play();this.eb.play()};p.prototype.pause=function(){this.Ja.pause();this.Td.pause();this.Zh.pause();this.eb.pause()};p.prototype.zSa=function(){this.Ja.pause();this.Td.pause();
3408this.Zh.pause();this.eb.pause()};p.prototype.ASa=function(){this.Ja.play();this.Td.play();this.Zh.play();this.eb.play()};p.prototype.Zra=function(q){this.Ma.display(q.data.album,q.data.item)};p.prototype.Msa=function(){this.play()};p.prototype.Ue=function(){this.pg.requestFrame()};p.prototype.xz=function(q){this.eb.ix(q.data.frameTime)};p.prototype.yz=function(q){q=q.data.frameTime;this.Ma.Gd(q);this.be.Gd(q);this.Td.Gd(q)};p.prototype.wO=function(q){this.eb.start(q.data.item)};p.prototype.zO=function(q){var n=
3409q.data.album;q=q.data.item;var r=q.get("media");this.eb.end(q);this.Td.G7a(r);this.trigger(new l(p.m4,{photoAlbum:n,item:q}))};p.prototype.yO=function(q){var n=q.data.album;q=q.data.item;q.get("media");this.Zh.j1(q);this.Ja.j1(q);this.trigger(new l(p.l4,{photoAlbum:n,item:q}))};p.prototype.$ra=function(q){q=q.data.item.get("media");this.Td.A7a(q)};p.prototype.Yra=function(q){this.Zh.itemEnd(q.data.item)};p.prototype.xO=function(q){this.Ja.stop();this.Td.stop();this.trigger(new l(p.j4,{photoAlbum:q.data.album}))};
3410p.prototype.zo=function(q){q=q.data.album;this.Td.Eia(q);this.Ja.play();this.eb.play();this.trigger(new l(p.wp,{photoAlbum:q}))};p.prototype.xq=function(q){q=q.data.album;this.Td.E7a(q);this.trigger(new l(p.vp,{photoAlbum:q}))};p.prototype.xra=function(){this.j.set("visible",!1)};p.prototype.ef=function(q){this.trigger(new l(p.Hc,{state:q.data.state}))};p.wp="photoAlbumShow";p.j4="photoAlbumEnd";p.vp="photoAlbumHide";p.l4="photoBegin";p.m4="photoEnd";p.Hc="playbackStateChange";return p});
3411define("hS","require jquery.mod en mv lB lY v".split(" "),function(a){function e(f,c){this.ya=f;this.pa=c;this.Jb=f.je();this.Wb=f.Ye();this.AV=f.f8;this.wea=this.CN=0;this.co=1;this.Dg=0;this.xa=!0;this.X6();this.Ld=this.Bd=100;this.Oa=this.La=.5;this.kb=1;this.YO=!0;this.rf=1;this.loa={};this.Upa={};this.Oxa=h.browser()!=h.li}var l=a("jquery.mod"),m=a("en"),k=a("mv"),b=a("lB");a("lY");var h=a("v");e.prototype.X6=function(){this.ZT=l("<div></div>");var f={position:"absolute",left:"0",top:"0",width:this.Bd+
3412"px",height:this.Ld+"px",overflow:"hidden","-webkit-transform":"translateZ(0)"};f["-moz-transform-origin"]=f["-webkit-transform-origin"]=f["transform-origin"]="0 0 0";f["-ms-transform-origin"]="0 0";this.ZT.css(f);this.k5=l(b.vf(this.ya.Oi(),!0));f={display:"block",position:"absolute",left:"0",top:"0",width:this.Jb+"px",height:this.Wb+"px"};f["-moz-transform-origin"]=f["-webkit-transform-origin"]=f["transform-origin"]="0 0 0";f["-ms-transform-origin"]="0 0";this.k5.css(f);this.ZT.append(this.k5)};
3413e.prototype.$c=function(){return this.ZT};e.prototype.getItem=function(){return this.ya};e.prototype.getX=function(){return this.La};e.prototype.getY=function(){return this.Oa};e.prototype.qr=function(){return this.kb};e.prototype.Ya=function(){return Math.round(this.Jb*this.kb*this.rf)};e.prototype.Ab=function(){return Math.round(this.Wb*this.kb*this.rf)};e.prototype.$e=function(f){this.co!=f&&(this.co=f,this.xa=!0)};e.prototype.F0=function(){return this.co};e.prototype.ZA=function(f){this.Ef!=f&&
3414(this.Ef=f,this.xa=!0)};e.prototype.zF=function(f,c){if(this.Bd!=f||this.Ld!=c)this.Bd=f,this.Ld=c,this.xa=!0};e.prototype.setPosition=function(f,c,d){if(this.La!=f||this.Oa!=c||this.kb!=d)this.La=f,this.Oa=c,this.kb=d,this.xa=!0};e.prototype.Qn=function(f){this.Dg!=f&&(this.Dg=f,this.xa=!0)};e.prototype.E5a=function(f){this.wea!=f&&(this.wea=f,this.xa=!0)};e.prototype.render=function(){if(this.xa){this.xa=!1;switch(this.Ef){case k.NONE:this.rf=1;break;case k.Cp:this.rf=this.Bd/this.Jb;break;case k.nk:this.rf=
3415this.Ld/this.Wb;break;case k.Tr:this.rf=this.Jb*this.Ld>this.Wb*this.Bd?this.Ld/this.Wb:this.Bd/this.Jb;break;default:this.rf=this.Jb*this.Ld>this.Wb*this.Bd?this.Bd/this.Jb:this.Ld/this.Wb}var f=this.kb*this.rf,c=.5*this.Bd-this.La*this.Jb*f,d=.5*this.Ld-this.Oa*this.Wb*f,g=this.Bd*this.Dg,p=function(n,r){return Math.round(n*Math.pow(10,r))*Math.pow(10,-r)},q={};q.width=p(this.Bd,0)+"px";q.height=p(this.Ld,0)+"px";q.transform=this.Oxa?"translate3d("+p(g,2)+"px, 0px, 0px)":"translate("+p(g,2)+"px, 0px)";
3416q["-moz-transform"]=q["-webkit-transform"]=q["-ms-transform"]=q.transform;q["z-index"]=this.wea;0==this.co?q.display="none":(q.display="block",1==this.co?(q.filter=q["-ms-filter"]="",q.opacity=""):(q.filter=q["-ms-filter"]="alph
3416a(opacity="+Math.round(100*this.co)+")",q.opacity=this.co));g=[];this.Oxa?(g.push("translate3d("+p(c,2)+"px, "+p(d,2)+"px, 0px)"),g.push("scale3d("+f+", "+f+", "+f+")"),this.AV&&(g.push("translate3d("+this.Jb+"px, 0, 0)"),g.push("scale3d(-1, 1, 1)"))):(g.push("translate("+
3417p(c,2)+"px, "+p(d,2)+"px)"),g.push("scale("+f+", "+f+")"),this.AV&&(g.push("translate("+this.Jb+"px, 0)"),g.push("scale(-1, 1)")));f={};f["-moz-transform"]=f["-webkit-transform"]=f["-ms-transform"]=f.transform=g.join(" ");m.isEqual(this.loa,q)||(this.loa=q,this.ZT.css(q));m.isEqual(this.Upa,f)||(this.Upa=f,this.k5.css(f))}};return e});
3418define("in","require jquery.mod en lE pg ik lB hS bd e".split(" "),function(a){var e=a("jquery.mod"),l=a("en"),m=a("lE"),k=a("pg"),b=a("ik"),h=a("lB"),f=a("hS"),c=a("bd"),d=a("e");a=m.extend(d,function(){d.call(this);this.Ge("Renderer");this.set("toolTipDisabled",!0);this.set("cursor",c.ou);this.bind(k.pc,this.Fc,this,!0);this.bind(k.dd,this.fj,this,!0);this.bind(k.Tc,this.ej,this,!0);this.SD=!1;this.tc=[];this.xZ=this.Gw=!1;this.Paa=e("<div/>");this.Paa.css({position:"absolute",left:0,top:0,right:0,
3419bottom:0,overflow:"hidden","-webkit-transform":"translateZ(0)"});this.Ob().append(this.Paa)});a.prototype.Mn=function(g){h.Mn(g,b.ql)};a.prototype.uj=function(g){h.uj(g,b.ql)};a.prototype.zBa=function(g){return h.Z2(g)};a.prototype.Bea=function(g){g=new f(g,this);g.zF(this.Ya(),this.Ab());g.setPosition(.5,.5,0,1);this.Paa.append(g.$c());this.tc.push(g);this.Gw=!0};a.prototype.removeItem=function(g){if(g=this.fq(g))this.tc=l.without(this.tc,g),g.$c().detach(),this.Gw=!0};a.prototype.Rea=function(g){if(g=
3420this.fq(g))this.tc=l.without(this.tc,g),this.tc.push(g),this.Gw=!0};a.prototype.f6a=function(g,p){this.fq(g).ZA(p)};a.prototype.Ir=function(g,p){this.fq(g).$e(p)};a.prototype.c6a=function(g,p){this.fq(g).Qn(p)};a.prototype.OS=function(g,p,q,n){this.fq(g).setPosition(p,q,n)};a.prototype.xR=function(g){return this.fq(g).getX()};a.prototype.yR=function(g){return this.fq(g).getY()};a.prototype.sAa=function(g){return this.fq(g).qr()};a.prototype.wR=function(g){return this.fq(g).Ya()};a.prototype.vR=function(g){return this.fq(g).Ab()};
3421a.prototype.render=function(){if(this.SD){this.bZa();this.BWa();for(var g=0;g<this.tc.length;g++)this.tc[g].render()}};a.prototype.bZa=function(){if(this.xZ){this.xZ=!1;for(var g=this.Ya(),p=this.Ab(),q=0;q<this.tc.length;q++)this.tc[q].zF(g,p)}};a.prototype.BWa=function(){if(this.Gw){this.Gw=!1;for(var g=[],p=0;p<this.tc.length;p++){var q=this.tc[p],n={};n.s1=q.CN;n.index=p;n.renderer=q;g.push(n)}g.sort(function(r,u){return r.s1==u.s1?r.index-u.index:r.s1-u.s1});for(p=0;p<g.length;p++)g[p].renderer.E5a(p+
34221)}};a.prototype.fq=function(g){if(this.C9a==g)return this.B9a;for(var p=null,q=0;q<this.tc.length&&!p;q++)this.tc[q].getItem()==g&&(p=this.tc[q]);return p};a.prototype.Fc=function(){this.xZ=!0;this.render()};a.prototype.fj=function(){this.SD=!0;this.render()};a.prototype.ej=function(){this.SD=!1};return a});
3423define("kw","require lE cC nV jX iL gO nz in ek pg".split(" "),function(a){var e=a("lE"),l=a("cC"),m=a("nV"),k=a("jX"),b=a("iL"),h=a("gO"),f=a("nz"),c=a("in"),d=a("ek"),g=a("pg");a=m.define("PhotoAlbumPlayer",b,function(){b.call(this,"photoAlbum");this.b_=this.Oaa=this.ei=!1;this.M=this.j=null;this.lLa=new k(this,"buttonNext",d.ze);this.lLa.bind(g.qa,this.Dsa,this);this.mLa=new k(this,"buttonPrevious",d.ze);this.mLa.bind(g.qa,this.Wsa,this);this.Cd=e.lp(this.Vg,this)});a.prototype.next=function(){this.Dsa()};
3424a.prototype.pause=function(){this.zD()};a.prototype.play=function(){this.AD()};a.prototype.previous=function(){this.Wsa()};a.prototype.stop=function(){this.Az()};a.prototype.restart=function(){this.zz()};a.prototype.set=function(p,q){if(this.get(p)!=q){switch(p){case "photoAlbum":this.Oaa=!0;this.Cd();break;case "viewerArea":this.ei=!0;this.Cd();break;case "touchTransition":case "mouseTransition":case "touchTransitionDuration":case "mouseTransitionDuration":case "transitionDuration":this.b_=!0,this.Cd()}b.prototype.set.call(this,
3425p,q)}};a.prototype.Vg=function(){this.ei&&(this.ei=!1,this.b_=!0,this.gv(),this.get("viewerArea")&&this.ev(),this.DP(this.get("viewerArea")));this.j&&this.Oaa&&(this.Oaa=!1,this.get("photoAlbum")?(this.vF(),this.M.x6a(this.get("photoAlbum"))):this.M.nx());this.b_&&(this.b_=!1,this.Ixa())};a.prototype.ZI=function(){this.set("photoAlbum",null)};a.prototype.ev=function(){var p=this.get("viewerArea");this.j=new c;this.j.ma({left:0,top:0,bottom:0,right:0});p.Ua(this.j);this.M=new h(p,this.j);this.Ixa();
3426this.M.bind(h.wp,this.zo,this);this.M.bind(h.vp,this.xq,this);this.M.bind(h.j4,this.xO,this);this.M.bind(h.l4,this.Ksa,this);this.M.bind(h.m4,this.Lsa,this);this.M.bind(h.Hc,this.ef,this);this.Xz(!0)};a.prototype.gv=function(){this.j&&(this.M.unbind(h.wp,this.zo,this),this.M.unbind(h.vp,this.xq,this),this.M.unbind(h.j4,this.xO,this),this.M.unbind(h.l4,this.Ksa,this),this.M.unbind(h.m4,this.Lsa,this),this.M.unbind(h.Hc,this.ef,this),this.M.clear(),this.j.getParent().removeChild(this.j),this.j=null,
3427this.Xz(!1))};a.prototype.Ixa=function(){var p=this.get("viewerArea");p&&this.M&&(p.so?this.M.H2(this.get("touchTransition",f.Wn),this.get("touchTransitionDuration",p.get("transitionDuration",1E3))):this.M.H2(this.get("mouseTransition",f.Wn),this.get("mouseTransitionDuration",p.get("transitionDuration",1E3))))};a.prototype.ef=function(p){this.xd(p.data.state)};a.prototype.zo=function(p){this.ON(p.data.photoAlbum)};a.prototype.xq=function(p){this.NN(p.data.photoAlbum)};a.prototype.xO=function(p){p.data.photoAlbum.trigger(new l(g.Bb))};
3428a.prototype.Ksa=function(p){p.data.item.mA()};a.prototype.Lsa=function(p){p.data.item.end()};a.prototype.Bi=function(p){this.j.getParent().ma({progressPercent:p.data.percent,progressVisible:!0})};a.prototype.dI=function(){this.j.getParent().set("progressVisible",!1)};a.prototype.Dsa=function(){this.M&&this.get("photoAlbum")&&this.M.next()};a.prototype.Wsa=function(){this.M&&this.get("photoAlbum")&&this.M.pha()};a.prototype.Ik=function(){this.M&&this.get("photoAlbum")&&this.M.play()};a.prototype.Po=
3429function(){this.M&&this.get("photoAlbum")&&this.M.stop()};a.prototype.Eq=function(){this.M&&this.get("photoAlbum")&&this.M.pause()};return a});
3430define("hg",["require","nV","dh","iy"],function(a){var e=a("nV"),l=a("dh"),m=a("iy");a=e.define("PhotoAlbumPlayListItem",m,function(){m.call(this)});a.prototype.start=function(){m.prototype.start.call(this);var k=this.get("player");k&&(k.bind(l.fh,this.zo,this),k.set("photoAlbum",this.get("media")))};a.prototype.stop=function(){var k=this.get("player");k&&(k.unbind(l.fh,this.zo,this),k.get("photoAlbum")==this.get("media")&&k.set("photoAlbum",null));m.prototype.stop.call(this)};a.prototype.fL=function(){var k=
3431this.get("media");if(k){var b=k.get("playList");b&&(k=b.get("selectedIndex"),b=b.get("items"),0<=k&&b&&b[k].fL())}
3431m.prototype.fL.call(this)};a.prototype.zo=function(){this.get("player").unbind(l.fh,this.zo,this);this.get("player").bind(l.Jm,this.xq,this);this.mA()};a.prototype.xq=function(k){k.data.media==this.get("media")&&(this.get("player").unbind(l.Jm,this.xq,this),this.stop(),this.end())};return a});
3432define("lS",["require","ik","nV","ji"],function(a){var e=a("ik"),l=a("nV"),m=a("ji");return l.define("PhotoAudio",m,function(){m.call(this,e.AIa)})});define("nM",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("PhotoCamera",e,function(){e.call(this)})});
3433define("eV","require en mh cC nV jI pg".split(" "),function(a){var e=a("en"),l=a("mh"),m=a("cC"),k=a("nV"),b=a("jI"),h=a("pg");a=k.define("PlayList",l,function(){l.call(this);this.Ve=-1;this.he=[];this.aP=this.Oj=this.ve=void 0});a.prototype.set=function(f,c){"selectedIndex"==f?this.bWa(c):"items"==f?this.NVa(c):l.prototype.set.call(this,f,c)};a.prototype.get=function(f,c){return"selectedIndex"==f?this.Ve:"items"==f?this.he:l.prototype.get.call(this,f,c)};a.prototype.dispose=function(){this.ve&&(this.ve.unbind(h.Qr,
3434this.BO,this),this.ve.unbind(h.Mf,this.Ns,this),this.ve.unbind(h.Bb,this.Ns,this),this.ve=null)};a.prototype.NVa=function(f){f=f||[];if(!e.isEqual(this.he,f)){var c=this.Ve;this.he=f;f=this.Pua(this.Ve);this.trigger(new m(h.AT,{nextSelectedIndex:f}));this.Ve=f;this.Bva(this.Vy(this.Ve));this.yxa();this.trigger(new m(h.ca,{previousSelectedIndex:c}));l.prototype.set.call(this,"items",this.he);l.prototype.set.call(this,"selectedIndex",this.Ve)}};a.prototype.bWa=function(f){f=this.Pua(f);if(this.Ve!=
3435f){var c=this.Ve;this.trigger(new m(h.AT,{nextSelectedIndex:f}));this.Ve=f;this.Bva(this.Vy(this.Ve));this.yxa();this.trigger(new m(h.ca,{previousSelectedIndex:c}));l.prototype.set.call(this,"selectedIndex",this.Ve)}};a.prototype.Pua=function(f){return Math.max(-1,Math.min(this.he.length-1,f))};a.prototype.Vy=function(f){return 0<=f?this.he[f]:null};a.prototype.Bva=function(f){this.ve==f&&void 0===this.Oj||this.Oj===f||(void 0===this.Oj?(this.Oj=f,this.ve?this.Oj&&this.ve.get("player")==this.Oj.get("player")?
3436(this.ve.fL(),this.Ns()):this.mRa(this.ve,this.Oj)?(f=this.ve,f.fL(),this.Ns(),f.wGa()):(this.qqa(this.ve,this.Oj)?this.ve.get("media").get("modelLocations",[]).forEach(function(c){var d=!(c.get("model")!=this.Oj.get("media")||!c.get("forceModelLoading"));c.set("preferred",d)}.bind(this)):this.DZa(this.ve,this.Oj)&&this.ve.get("player").h8a(),this.ve.stop()):this.Ns()):this.Oj=f)};a.prototype.mRa=function(f,c){return this.V9(f)&&this.Z9(c)&&this.pqa(c,f)};a.prototype.qqa=function(f,c){return this.Z9(f)&&
3437this.V9(c)&&this.pqa(f,c)};a.prototype.pqa=function(f,c){return f.get("player")&&f.get("player").get("model3DPlayer")==c.get("player")&&f.get("media").get("modelLocations",[]).find(function(d){return d.get("model")==c.get("media")&&(c.get("media").get("isLoaded")||d.get("forceModelLoading"))})};a.prototype.DZa=function(f,c){return this.Z9(f)&&this.V9(c)&&f.get("player").get("model3DPlayer")==c.get("player")};a.prototype.Z9=function(f){return f&&k.Ga("PanoramaPlayListItem",f)};a.prototype.V9=function(f){return f&&
3438k.Ga("Model3DPlayListItem",f)};a.prototype.Ns=function(){this.ve&&(this.ve.unbind(h.Qr,this.BO,this),this.ve.unbind(h.Mf,this.Ns,this),this.ve.unbind(h.Bb,this.Ns,this));this.Oj?(this.qqa(this.ve,this.Oj)&&this.ve.get("player").bind(h.c5,this.Bz,this,!0),this.ve=this.Oj,this.Oj=void 0,this.ve.bind(h.Qr,this.BO,this),this.ve.bind(h.Mf,this.Ns,this),this.ve.start()):(this.Oj=this.ve=void 0,this.set("selectedIndex",-1))};a.prototype.Bz=function(f){f.source.unbind(h.c5,this.Bz,this);this.BO();this.ve.vGa()};
3439a.prototype.BO=function(){this.ve.unbind(h.Qr,this.BO,this);this.ve.unbind(h.Mf,this.Ns,this);this.ve.bind(h.Bb,this.Ns,this)};a.prototype.yxa=function(){this.aP&&b.D1(this.aP.get("media"),-1);(this.aP=this.he&&0<=this.Ve?this.he[(this.Ve+1)%this.he.length]:null)&&b.D1(this.aP.get("media"),1)};return a});define("kH",["require","nV","eV"],function(a){var e=a("nV"),l=a("eV");return e.define("PhotoPlayList",l,function(){l.call(this)})});
3440define("kW",["require","nV","iy"],function(a){var e=a("nV"),l=a("iy");return e.define("PhotoPlayListItem",l,function(){l.call(this)})});define("eF",["require","gA","nV"],function(a){var e=a("gA");return a("nV").define("PlaybackBar",e,function(){e.call(this)})});
3441define("nr",["require"],function(){function a(m){try{for(var k=(l.aS<<12)+l.eS&65535,b="",h=0,f=m.length;h<f;){var c=e.indexOf(m.charAt(h++))<<12|e.indexOf(m.charAt(h++))<<6|e.indexOf(m.charAt(h++))<<0;c=c-k+65536&65535;b+=String.fromCharCode(c)}return b}catch(d){if("{%"==m.substr(0,2))return""}}var e="";
3441[[65,26],[97,26],[48,10]].forEach(function(m){for(var k=0;k<m[1];k++)e+=String.fromCharCode(m[0]+k)});e+="+/";var l={q0a:"true"};l.aS=parseInt("0")||
34420;l.eS=parseInt("2004")||1;l.F7a="true";l.name=a("AgHAgYAgqAg9AhHAhIAg1Af0AgkAhAAg1AhNAg5AhG");l.WGa=a("");return l});define("iF",["require"],function(){return{Wa:"left",ob:"right",zc:"top",sc:"bottom"}});
3443define("fV",["require","lE","ez","V","iF"],function(a){var e=a("lE"),l=a("ez");a("V");a("iF");a=e.extend(l,function(){l.call(this)});a.prototype.YM=function(){return 0};a.prototype.ZM=function(){return 0};a.prototype.UI=function(){l.prototype.UI.call(this);this.Qy(function(m){m.yf(!0)})};a.prototype.rw=function(){l.prototype.rw.call(this);this.Qy(function(m){m.US(this.YM(m,this.bl()));m.VS(this.ZM(m,this.bl()))})};a.prototype.SI=function(){this.Qy(function(m){m.US(this.YM(m,1));m.VS(this.ZM(m,1))});
3444l.prototype.SI.call(this)};a.prototype.TI=function(){this.Qy(function(m){m.US(this.YM(m,0));m.VS(this.ZM(m,0))});l.prototype.TI.call(this)};return a});
3445define("nL",["require","lE","fV","iF"],function(a){var e=a("lE"),l=a("fV"),m=a("iF");a=e.extend(l,function(){l.call(this)});a.prototype.YM=function(k,b){switch(this.get("from")){case m.zc:case m.sc:return 0;case m.Wa:var h=k.La;k=k.Ya();return isNaN(k)||isNaN(h)?1E4:(-h-k)*(1-b);default:h=k.getParent();if(!h)return 0;var f=h.uf();h=k.La;return isNaN(h)||isNaN(f)?1E4:(f-h)*(1-b)}};a.prototype.ZM=function(k,b){switch(this.get("from")){case m.zc:var h=k.Oa;k=k.Ab();return isNaN(k)||isNaN(h)?1E4:(-h-
3446k)*(1-b);case m.sc:h=k.getParent();if(!h)return 0;var f=h.tf();h=k.Oa;return isNaN(h)||isNaN(f)?1E4:(f-h)*(1-b);default:return 0}};a.prototype.TI=function(){this.Qy(function(k){k.US(0);k.VS(0);k.yf(!1)})};return a});
3447define("hP",["require","lE","fV","V","iF"],function(a){var e=a("lE"),l=a("fV");a("V");var m=a("iF");a=e.extend(l,function(){l.call(this)});a.prototype.YM=function(k,b){switch(this.get("to")){case m.zc:case m.sc:return 0;case m.Wa:var h=k.La;k=k.Ya();return isNaN(k)||isNaN(h)?1E4:(-h-k)*b;default:h=k.getParent();if(!h)return 0;var f=h.uf();h=k.La;return isNaN(h)||isNaN(f)?1E4:(f-h)*b}};a.prototype.ZM=function(k,b){switch(this.get("to")){case m.zc:var h=k.Oa;k=k.Ab();return isNaN(k)||isNaN(h)?1E4:(-h-
3448k)*b;case m.sc:h=k.getParent();if(!h)return 0;var f=h.tf();h=k.Oa;return isNaN(h)||isNaN(f)?1E4:(f-h)*b;default:return 0}};a.prototype.SI=function(){this.Qy(function(k){k.US(0);k.VS(0);k.yf(!1)})};return a});
3449define("H","require jquery.mod lE pg pe v gb nl cT d oA nL hP ky".split(" "),function(a){function e(v){try{return window.localStorage.getItem(v)}catch(w){}}var l=a("jquery.mod"),m=a("lE"),k=a("pg"),b=a("pe"),h=a("v"),f=a("gb"),c=a("nl"),d=a("cT"),g=a("d"),p=a("oA"),q=a("nL"),n=a("hP"),r=a("ky");a=m.extend(p,function(v){p.call(this);this.vc=v;this.Vi=this.dC=this.xy=this.im=null;v=new q;v.set("duration",500);v.set("from","bottom");v=new n;v.set("duration",500);v.set("to","bottom");this.ma({creationPolicy:d.GB,
3450verticalAlign:c.le,horizontalAlign:c.Qe,visible:!1,showEffect:this.R9a,hideEffect:this.S9a});this.Qca="";v=this.OPa();!0===v?setTimeout(function(){this.trigger(k.YF)}.bind(this),0):void 0===v&&(this.vc.bind(k.F("cookiesPolicy"),this.qna,this),setTimeout(function(){this.qna()}.bind(this),0))});a.prototype.Db=function(){p.prototype.Db.call(this);this.ma({backgroundColor:"#1a1a1a",width:"100%",left:0,bottom:0});null==this.im&&(this.im=new r,this.im.ma({content:this.Qca,fontColor:"#ffffff",fontWeight:"400",
3451fontFamily:"Open Sans, Arial, sans-serif",width:"100%"}),this.Ua(this.im));null==this.xy&&(this.xy=new p,this.Ua(this.xy),this.xy.ma({creationPolicy:d.GB,verticalAlign:c.le,layout:g.zg}));null==this.dC&&(this.dC=new f,this.dC.ma({backgroundColor:"#2aabe2",fontColor:"#ffffff",fontFamily:"Open Sans, Arial, sans-serif",label:b("accept").toUpperCase(),verticalAlign:"middle"}),this.xy.Ua(this.dC),this.dC.bind(k.qa,this.dLa,this,!0));null==this.LG&&(this.LG=new f,this.LG.ma({backgroundColor:"#1a1a1a",fontColor:"#808080",
3452fontFamily:"Open Sans, Arial, sans-serif",label:b("reject").toUpperCase(),textDecoration:"underline",verticalAlign:"middle"}),this.xy.Ua(this.LG),this.LG.bind(k.qa,this.oLa,this,!0))};a.prototype.bt=function(){p.prototype.bt.apply(this,arguments);var v=this.wb();
3452v&&(v.bind(k.pc,this.lm,this,!0),this.lm())};a.prototype.lm=function(){var v=this.wb();if(v){var w=h.nb(),x=v.Ab()>v.Ya(),y=Math.min(v.Ya(),v.Ab())/100;v=function(z){return Math.round(z*y)};this.ma({gap:w?v(4.63):20,paddingLeft:w?v(4.63):
345320,paddingRight:w?v(4.63):20,paddingTop:w?v(4.63):14,paddingBottom:w?v(4.63):14,layout:w&&x?g.Kh:g.zg});this.im&&this.im.ma({fontSize:w?v(3.15):14,textAlign:w&&x?"center":"left"});this.xy&&this.xy.ma({gap:w?0:13});this.dC&&this.dC.ma({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.LG&&this.LG.ma({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.Rd()}};a.prototype.qna=
3454function(){var v=m.toArray(this.vc.get("cookiesPolicy"));this.XO!=v&&(this.XO=v,this.PUa())};a.prototype.PUa=function(){if(0==this.XO.length)this.fca(null);else{var v=this.XO[0];0==m.toArray(v.get("geographicArea")).length?this.fca(v):this.iPa(function(w){for(var x=null,y=0;y<this.XO.length&&!x;y++){var z=this.XO[y],C=m.toArray(z.get("geographicArea"));if(0==C.length)x=z;else for(var A=0;A<C.length&&!x;A++)0<=w.indexOf(C[A])&&(x=z)}this.fca(x)}.bind(this))}};a.prototype.fca=function(v){this.wI!==
3455v&&(this.wI&&this.wI.unbind(k.F("url"),this.Rda,this),(this.wI=v)?(this.wI.bind(k.F("url"),this.Rda,this),this.Rda(),this.set("visible",!0)):(this.trigger(k.YF),this.set("visible",!1)))};a.prototype.Rda=function(){var v=l(document.createElement("div")).html(b("cookies-notice"));v.find("a").css({color:"#2aabe2",cursor:"pointer","text-decoration":"underline"}).attr({href:this.wI.get("url"),target:"_blank"});this.Qca=v.html();this.im&&this.im.set("content",this.Qca)};a.prototype.dLa=function(){this.Dva(!0);
3456this.set("visible",!1);this.trigger(k.YF)};a.prototype.oLa=function(){this.Dva(!1);this.set("visible",!1)};var u="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.iPa=function(v){this.WOa(function(w){var x=[w];u.indexOf(w)&&x.push("EU");v(x)})};a.prototype.WOa=function(v){var w=e("tdvp_country_code");w?v(w):this.uoa||(this.uoa=!0,l.get("https://geoloc.3dvista.com",function(x){this.uoa=!1;x=x.country.toUpperCase();try{window.localStorage.setItem("tdvp_country_code",
3457x)}catch(y){}v(x)}.bind(this)))};var t="tdvp_accept_cookies_"+window.location.origin+window.location.pathname;a.prototype.OPa=function(){var v=e(t);if("yes"==v)return!0;if("no"==v)return!1};a.prototype.Dva=function(v){try{window.localStorage.setItem(t,v?"yes":"no")}catch(w){}};return a});
3458define("mt",["require"],function(){function a(w){var x=w instanceof Request||w instanceof Response?w.url:w;x&&(x=x.split("#")[0]);x&&(x=x.split("?")[0]);return x&&-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(C){(window.webkitRequestFileSystem||
3459window.requestFileSystem)(C?window.PERSISTENT:window.TEMPORARY,w,function(A){y(A)},function(A){console.log("Error getting file system access",A);z("error getting file system")})},function(C){console.log("error getting file system access",C);z("error getting file system")})})}function l(w,x){return w&&w.queryUsageAndQuota?new Promise(function(y,z){w.queryUsageAndQuota(function(C,A){console.log("UsedBytes:",C,"grantedBytes:",A,"freeBytesRequired:",x);var B=C+x;A>=B?y(B):w==navigator.webkitPersistentStorage||
3460w==navigator.persistentStorage?(console.log("requestQuota:",B),w.requestQuota(B,function(){console.log("Granted bytes:",B);y(B)},function(E){console.log("Not granted bytes:",B,E);z("not enough free space granted")})):(console.log("Not enough temporary free space."),z("not enough free space granted"))},function(C){console.log("Query quota error:",C);C&&C.message&&(C=C.message);z("not enough free space granted: "+C)})}):Promise.reject("unknown free space")}function m(){return(navigator.storage&&navigator.storage.persist?
3461navigator.storage.persist():Promise.resolve(!1)).then(function(w){console.log("Persistence granted:",w);
3461return w?navigator.webkitPersistentStorage||navigator.persistentStorage:navigator.webkitTemporaryStorage||navigator.temporaryStorage})}function k(){return navigator.storage&&navigator.storage.persisted?navigator.storage.persisted():Promise.resolve(!1)}function b(){return v?Promise.resolve(v):Promise.reject("files uninitialized, no space was requested")}function h(w){w.length&&"/"==w[0]&&(w=w.substr(1));
3462return w.split("/").filter(function(x){return""!=x})}function f(w){return new Promise(function(x,y){w.remove(function(){x()},function(z){y("can't remove entry"+(z&&z.message?": "+z.message:"")+".")})})}function c(w){return d(w).then(function(x){return Promise.all(x.map(function(y){return y.isDirectory?c(y):f(y)}))}).then(function(){return f(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)},
3463function(){y("can't list directory")})})}function g(w,x,y){return new Promise(function(z,C){w.getDirectory(x,y,function(A){z(A)},function(){C("can't get directory entry: "+x)})})}function p(w,x){return new Promise(function(y,z){g(w,x,{create:!1}).then(function(C){y(C)})["catch"](function(){g(w,x,{create:!0}).then(function(C){y(C)})["catch"](function(C){console.log("Can't create directory entry: "+x,C);z("can't create directory entry: "+x)})})})}function q(w,x){return 0==x.length?w:p(w,x[0]).then(function(y){return q(y,
3464x.slice(1))})}function n(w,x){return 0==x.length?w:g(w,x[0]).then(function(y){return n(y,x.slice(1))})}function r(w,x,y){return new Promise(function(z,C){w.getFile(x,y,function(A){z(A)},function(){C("can't get file entry: "+x)})})}function u(w){return new Promise(function(x,y){w.createWriter(function(z){x(z)},function(){y("can't create File for writing")})})}function t(w){var x=w.lastIndexOf(".");switch((0>x?"":w.substr(x)).toLowerCase()){case ".bmp":return"image/bmp";case ".eot":return"application/vnd.ms-fontobject";
3465case ".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";
3465case ".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";
3466case ".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{e2:function(){return k()},toURL:function(w,x){return a(w).then(function(y){y=
3467new window.URL(y);var z=x?"persistent":"temporary",C=y.pathname.split("/").map(encodeURIComponent).join("/");return"filesystem:"+y.origin+"/"+z+C})},V4a:function(w){return m().then(function(x){return l(x,w)}).then(function(x){return e(x)}).then(function(x){v=x})},I4a:function(w){w=h(w);var x=w[w.length-1],y=w.slice(0,-1);return b().then(function(z){return n(z.root,y)}).then(function(z){return r(z,x,{create:!0})},function(){return Promise.resolve(null)}).then(function(z){return z&&f(z)})},hEa:function(w,
3468x){var y=h(w);return e(1024,x).then(function(z){return n(z.root,y)}).then(function(z){return c(z)},function(){return Promise.resolve()})},XGa:function(w,x,y){var z=h(w),C=z[z.length-1],A=z.slice(0,-1);return b().then(function(B){return q(B.root,A)}).then(function(B){return r(B,C,{create:!1}).then(function(E){return Promise.resolve(E)},function(){return r(B,C,{create:!0})})}).then(function(B){return u(B)}).then(function(B){B.seek(B.length);return new Promise(function(E,G){B.onwriteend=function(){E()};
3469B.onerror=function(K){console.log("Error writing file:",w,K);G("error writing file: "+w)};B.write(new Blob([x],{type:y||t(C)}))})})}}});
3470define("cA",["require","mt","mC","v"],function(a){function e(c,d){this.Ws=c;this.zy=!1;this.Go=null;this.Yv=d||function(){}}function l(c){return 1048576<=c.PF}var m=a("mt"),k=a("mC"),b=a("v").Hf()?3:5;a={File:function(c,d){this.url=c;this.PF=d;this.ES=this.EJ=0}};var h=a.Files=function(c,d,g,p){this.Dma=this.MKa=c;this.Qs=d.slice();this.toa=[];var q=0;this.Qs.sort(function(n,r){return n.PF-r.PF});this.Qs.forEach(function(n){q+=n.PF});this.Bwa=q;this.zC=[];this.EU=void 0;this.Bs=[];this.t6=!1;this.cg=
3471g||function(){};this.IM=p||function(){}};h.prototype.At=function(){return this.LLa().then(function(){return this.MLa()}.bind(this))};h.prototype.LLa=function(){return self.caches["delete"](this.Dma)};h.prototype.MLa=function(){var c=(new window.URL(this.MKa)).pathname;return m.hEa(c,!1).then(function(){return m.hEa(c,!0)})};h.prototype.requestStorage=function(){return m.V4a(Math.round(1.1*this.Bwa+10485760)).then(function(){return m.e2()})};h.prototype.download=function(){this.t6=!1;this.EU=0;this.At().then(function(){this.EM()}.bind(this))["catch"](function(c){console.log("error cleaning storage",
3472c);m.e2().then(function(d){this.IM(!1,d)}.bind(this))}.bind(this))};h.prototype.cancelDownload=function(){this.t6=!0;this.Bs.forEach(function(c){c.cancel()});this.At()};h.prototype.EM=function(){if(!(this.t6||this.Bs.length>=b))if(0<this.Qs.length){if(1==b)var c=.5<Math.random()?this.Qs.shift():this.Qs.pop();else if(0==this.zC.filter(l).length)c=this.Qs.pop();else{if(l(this.Qs[0]))return;c=this.Qs.shift()}this.zC.push(c);var d=k.kA(c.url,"nc="+(new Date).getTime()),g=new e(d,function(q){c.EJ=q.EJ;
3473this.lj()}.bind(this));this.Bs.push(g);g.fetch().then(function(q){return this.bXa(c.url,q)}.bind(this)).then(function(){this.$na(c,g,!0)}.bind(this))["catch"](function(q){console.log("download error",c.url,c.PF,c.EJ,q);this.$na(c,g,!1)}.bind(this));this.EM()}else if(0==this.Bs.length){var p=5>=this.toa.length;m.e2().then(function(q){this.IM(p,q)}.bind(this))}};h.prototype.$na=function(c,d,g){g?(this.zC.splice(this.zC.indexOf(c),1),this.Bs.splice(this.Bs.indexOf(d),1),this.EU+=c.PF,this.lj(),this.EM()):
3474(c.EJ=0,c.ES+=1,this.lj(),20<=c.ES?(console.log("Error downloading file: "+c.url+" after "+c.ES+" retries."),this.jqa(c.url)?(this.toa.push(c),this.Bs.splice(this.Bs.indexOf(d),1),this.EM()):(this.cancelDownload(),m.e2().then(function(p){this.IM(!1,p)}.bind(this)))):(console.log("Error downloading file: "+c.url+" attempt "+c.ES+" of 20. Will retry in 2000ms."),setTimeout(function(){this.zC.splice(this.zC.indexOf(c),1);this.Bs.splice(this.Bs.indexOf(d),1);l(c)?this.Qs.push(c):this.Qs.splice(0,0,c);
3475this.EM()}.bind(this),2E3)))};h.prototype.bXa=function(c,d){return this.dXa(c,d).then(function(){if(this.uZa(c))return this.cXa(c,d)}.bind(this))};h.prototype.cXa=function(c,d){d=d.clone();return 200!=d.status?Promise.reject("response status: "+d.status):self.cac
3475hes.open(this.Dma).then(function(g){return g.put(c,d)})};h.prototype.dXa=function(c,d){d=d.clone();if(200!=d.status)return Promise.reject("response status: "+d.status);var g=(new window.URL(c)).pathname;return g.lastIndexOf("/")==g.length-
34761?Promise.resolve():new Promise(function(p,q){function n(){x.read().then(function(y){var z=y.value,C=[];if(z){for(;10485760<=z.length+w;){var A=z.slice(0,10485760-w);v.push(A);C.push(r(v));v=[];w=0;z=z.slice(A.length,z.length)}0<z.length&&(v.push(z),w+=z.length)}var B=y.done;w&&B&&C.push(r(v));u(C).then(function(){B?p():n()})["catch"](t)})["catch"](t)}function r(y){if(0==y.length)return new Uint8Array(0);var z=0;y.forEach(function(E){z+=E.length});for(var C=new Uint8Array(z),A=0,B=0;B<y.length;A+=
3477y[B].length,B++)C.set(y[B],A);return C}function u(y){if(0==y.length)return Promise.resolve();var z=y.shift();return m.XGa(g,z).then(function(){u(y)})}function t(y){console.log("Error writing response to file system:",y);m.I4a(g).then(function(){q("Error reading response body")})}var v=[],w=0,x=d.body.getReader();n()})};var f=".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.jqa=function(c){c=(new window.URL(c)).pathname;
3478var d="."+c.split(".").pop().toLowerCase();return 0<=f.indexOf(d)&&0>c.indexOf("loading/")};h.prototype.uZa=function(c){var d=(new window.URL(c)).pathname;return 0<=d.indexOf("files/")||0<=d.indexOf("pdfjs/")?!0:this.jqa(c)?!1:!0};h.prototype.lj=function(){var c=this.EU;this.zC.forEach(function(d){c+=d.EJ});this.cg(100*c/this.Bwa)};e.prototype.fetch=function(){return fetch(this.Ws).then(function(c){if(this.zy)return c.body.getReader().cancel(),Promise.reject("cancel requested before server responded.");
3479if(!c.ok)return Promise.resolve(c);var d=c.headers.get("content-length"),g=void 0,p=0;null!==d&&(g=parseInt(d,10));this.Go=c.body.getReader();var q=!1,n=function(t){this.zy?t.close():q=!0}.bind(this),r=function(t){return this.Go.read().then(function(v){var w=v.value;w&&(p+=w.byteLength,t.enqueue(w));v.done&&(g=p,u(t));this.Yv({PF:g,EJ:p})}.bind(this))["catch"](function(v){console.log("Error reading response",v);t.error(v)}.bind(this))}.bind(this),u=function(t){q&&(t.close(),q=!1,this.Go=null)}.bind(this);
3480return new Response(new ReadableStream({start:function(t){return n(t)},pull:function(t){return r(t)},cancel:function(){u()}}))}.bind(this))};e.prototype.cancel=function(){this.zy=!0;this.Go&&this.Go.cancel()};a.At=function(c){return(new h(c,[])).At()};return a});
3481define("eY","require lE jquery.mod pg gv v cA mt mP mC lF dA".split(" "),function(a){function e(t){n=t}var l=a("lE"),m=a("jquery.mod"),k=a("pg"),b=a("gv"),h=a("v"),f=a("cA"),c=a("mt"),d=a("mP"),g=a("mC"),p=a("lF"),q=a("dA"),n=null;window.addEventListener("beforeinstallprompt",e);var r=l.extend(b,function(t){b.call(this);this.vc=t;this.C="initial";this.Xba=this.sZ=this.Ij=null;this.Nz=!1;this.JC=null;this.w_=void 0;this.xC=n;this.MW=r.OBa();this.r$=g.pj("vr");this.xC||this.MW||(window.removeEventListener("beforeinstallprompt",
3482e),window.addEventListener("beforeinstallprompt",this.fSa.bind(this)));this.MW||window.addEventListener("appinstalled",this.gKa.bind(this))});r.prototype.sia=function(t){this.sZ=t;this.Tm=g.zx(this.sZ.get(TDV.PlayerSettings.BASE_DIR_URL)||g.getDirectory(this.sZ.get(TDV.PlayerSettings.SELECTED_SCRIPT_URL)));"/"!=this.Tm[this.Tm.length-1]&&(this.Tm+="/");this.Ij=new u(this.Tm);this.w_=this.nua=t.get(TDV.PlayerSettings.QUERY_STRING_PARAMETERS);this.zQa=g.parse(g.getDirectory(window.location.href)).pathname;
3483this.eOa=g.kA(g.zx("files.json",this.Tm),this.nua);t=TDV.sb.PAa();this.Xba=g.kA(this.sZ.get(TDV.PlayerSettings.SERVICE_WORKER_URL),"swv="+t.MAJOR+"."+t.MINOR);this.Ij=new u(this.Tm);this.Ij.bind(k.Z,this.uXa,this,!0);this.Ij.load()};r.prototype.kK=function(){return this.Ij.state==u.sL};r.prototype.Wya=function(){return"can_install"==this.C&&!this.r$};r.prototype.Yya=function(){return this.kK()&&this.w_!=this.Ij.version&&!this.r$};r.prototype.Vya=function(){return this.Ij.state!=u.sja&&!this.r$};r.prototype.uBa=
3484function(){"can_install"==this.C&&(this.xC?(this.xC.userChoice.then(function(t){"accepted"!=t.outcome&&this.xd("unavailable")}.bind(this)),this.xC.prompt().then(function(){this.xC=null}.bind(this))):this.K7())};r.prototype.cancel=function(){"downloading"==this.C&&(this.JC&&(this.JC.cancelDownload(),this.JC=null),this.Ij.At(),this.xd("unavailable"))};r.prototype.At=function(){f.At(this.Tm);this.Ij.At()};r.prototype.uXa=function(){!0!==this.vc.get("downloadEnabled")?this.xd("unavailable"):!0!==d.yHa?
3485this.xd("unavailable"):h.browser()!=h.Gm||h.mc()==h.Kx||h.mc()==h.VF?this.xd("unavailable"):this.Xba?"serviceWorker"
3485in navigator?this.kK()&&!this.Yya()?this.xd("unavailable"):navigator.onLine?this.dUa():this.xd("unavailable"):this.xd("unavailable"):this.xd("unavailable")};r.prototype.xd=function(t){this.C!=t&&(this.C=t,t=0<=["can_install","unavailable"].indexOf(this.C),this.Nz!=t&&(this.Nz=t)&&this.trigger(k.bd))};r.prototype.dUa=function(){this.xd("registering_sw");navigator.serviceWorker.register(this.Xba,
3486{scope:this.zQa}).then(function(){this.cva(!0)}.bind(this))["catch"](function(){this.cva(!1)}.bind(this))};r.prototype.cva=function(t){t?h.Hf()?this.xd("can_install"):this.MW&&this.Ij.state==u.J3?(this.xd("can_install"),this.K7()):this.xC?this.xd("can_install"):(this.xd("sw_registered"),setTimeout(function(){"sw_registered"==this.C&&this.xd("can_install")}.bind(this),3E3)):this.xd("unavailable")};r.prototype.fSa=function(t){this.xC=t;"sw_registered"==this.C&&this.xd("can_install")};r.prototype.gKa=
3487function(){"sw_registered"==this.C&&this.xd("can_install");this.K7()};r.prototype.K7=function(){this.xd("downloading");this.trigger(k.Qr);this.Swa(0);this.BRa()};r.prototype.BRa=function(){var t=g.kA(this.eOa,"nc="+(new Date).getTime());m.getJSON(t,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<y.length;z++)0>w.indexOf(y[z])&&w.push(y[z])}}var C=[];0<=w.indexOf("mobilevr2gen")&&(h.g1()||h.h1())?C.push("mobilevr2gen"):0<=w.indexOf("mobilevr")&&
3488h.Hf()?C.push("mobilevr"):0<=w.indexOf("mobile")&&h.nb()?C.push("mobile"):0<=w.indexOf("desktop")&&!h.nb()&&C.push("desktop");w=[];
3488for(x in v)if(!(-1<x.indexOf(".DS_Store"))){if(y=v[x].tags){var A=!1;if(Array.isArray(y)){z=0;for(var B=y.length;z<B&&!A;z++)A=0<=C.indexOf(y[z])}else A=0<=C.indexOf(y);if(!A)continue}y=g.zx(x,this.Tm);w.push(new f.File(y,v[x].size))}var E=(new window.URL(window.location.pathname,window.location.href)).toString();0==w.filter(function(G){return G.url==E}).length&&w.push(new f.File(E,
34891024));this.JC=new f.Files(this.Tm,w,this.Swa.bind(this),this.Zna.bind(this));this.JC.requestStorage().then(function(G){this.Ij.storage=G?u.EL:u.V4;this.Ij.state=u.J3;this.Ij.version=this.w_;this.Ij.save();this.JC.download()}.bind(this))["catch"](function(){this.Zna(!1,void 0)}.bind(this))}}.bind(this))};r.prototype.Swa=function(t){this.trigger(new p(k.kc,t))};r.prototype.Zna=function(t,v){this.JC=null;this.xd("unavailable");t&&(this.Ij.state=u.sL,this.Ij.save());t?this.trigger(k.Bb,{success:!0}):
3490v?this.trigger(k.Bb,{success:!1,error:r.vja}):h.Hf()?this.trigger(k.Bb,{success:!1,error:r.uja}):this.MW?this.trigger(k.Bb,{success:!1,error:r.vja}):this.trigger(k.Bb,{success:!1,error:r.wja})};r.OBa=function(){return g.eg("installed",!1)};r.v4a=function(t,v){var w=new r.B4(t);w.bind(k.Z,function(){var x=!1;w.state==r.B4.sL&&(x=r.OBa()?!0:!navigator.onLine);x?c.toURL(t,w.storage==r.B4.EL).then(function(y){v(y)}):v(t)},this,!0);w.load()};r.wja="launchFromHomeScreen";r.uja="addToBookmark";r.vja="errorDownloading";
3491var u=l.extend(b,function(t){b.call(this);this.Tm=t;this.h$="installation_state_"+t;this.xTa=g.parse(this.Tm).pathname+"installation_state.json";this.state=this.storage=this.version=void 0;this.jva()});u.prototype.load=function(){if(this.CRa()&&this.state==u.sL)this.vwa(this.storage==u.EL).then(function(){this.trigger(k.Z)}.bind(this))["catch"](function(){this.vwa(this.storage!=u.EL).then(function(){this.storage=this.storage==u.V4?u.EL:u.V4;this.Rba();this.trigger(k.Z)}.bind(this))["catch"](function(){this.state=
3492u.J3;this.Rba();this.trigger(k.Z)}.bind(this))}.bind(this));else this.trigger(k.Z)};u.prototype.save=function(){this.Rba();this.state==u.sL&&this.LUa()};u.prototype.CRa=function(){var t=q.getItem(this.h$);if(!t)return!1;this.xOa(t);return!0};u.prototype.Rba=function(){q.setItem(this.h$,this.Awa())};u.prototype.vwa=function(t){return new Promise(function(v,w){c.toURL(this.Tm+"installation_state.json",t).then(function(x){m.ajax({type:"GET",url:x,success:function(){v()},error:function(){w()}})}.bind(this))}.bind(this))};
3493u.prototype.LUa=function(){c.XGa(this.xTa,this.Awa(),"text/json")};u.prototype.Awa=function(){var t={};t.version=this.version;t.storage=this.storage;t.state=this.state;return JSON.stringify(t)};u.prototype.xOa=function(t){this.wOa(JSON.parse(t))};u.prototype.wOa=function(t){this.version=t.version;this.storage=t.storage;this.state=t.state};u.prototype.At=function(){q.removeItem(this.h$);this.jva()};u.prototype.jva=function(){this.version="";this.storage=u.NIa;this.state=u.sja};u.NIa="unkonwn";u.V4=
3494"temporary";u.EL="persistent";u.sja="not started";u.J3="started";u.sL="completed";r.B4=u;return r});
3495define("kU","require lE pg pe v eY gb gk nl d oA e dz".split(" "),function(a){function e(r){var u=new f;u.ma({label:r,backgroundColor:"#0071BC",borderRadius:2,fontColor:"#ffffff",fontWeight:"400",fontFamily:"Arial, sans-serif",fontSize:14,paddingLeft:14,paddingRight:14,height:31,verticalAlign:d.le});return u}var l=a("lE"),m=a("pg"),k=a("pe"),b=a("v"),h=a("eY"),f=a("gb"),c=a("gk"),d=a("nl"),g=a("d"),p=a("oA"),q=a("e"),n=a("dz");a=l.extend(p,function(r,u){p.call(this);this.vc=r;this.og=u;this.og.bind(m.bd,
3496this.TQa,this,!0);this.og.bind(m.Qr,this.QQa,this,!0);this.og.bind(m.kc,this.SQa,this,!0);this.og.bind(m.Bb,this.RQa,this,!0);this.ta="hidden";this.EQ=void 0;this.Yaa=!1;this.cg=void 0;this.Vi=this.Yu=this.eC=this.iC=this.fC=this.CZ=this.Na=null;this.bKa();this.ma({backgroundColor:"#000000",gap:18,height:55,width:"100%",paddingLeft:28,paddingRight:28,verticalAlign:d.le,layout:g.zg});this.rg()});a.prototype.TQa=function(){this.og.Wya()||this.og.kK()&&this.og.Vya()?(this.ta="ready",this.Yaa&&this.awa()):
3497this.ta="hidden";this.rg()};a.prototype.QQa=function(){this.ta="installing";this.rg()};a.prototype.SQa=function(r){this.cg=r.Yg;this.rg()};a.prototype.RQa=function(r){this.ta=r.data.success?"installed":"failed";this.poa=r.data.error;this.rg()};a.prototype.qf=function(){this.aXa()};a.prototype.MX=function(){this.Yaa||(this.Yaa=!0,"ready"==this.ta&&this.awa())};a.prototype.awa=function(){this.EQ=setTimeout(function(){this.EQ=null;this.lTa()}.bind(this),5E3);this.rg()};a.prototype.aXa=function(){this.yua();
3498this.EQ&&clearTimeout(this.EQ);this.EQ=null};a.prototype.lTa=function(){this.yua();"ready"==this.ta&&(this.ta="hidden",this.rg())};a.prototype.bKa=function(){this.bind(m.bc,this.qf,this);this.vc.bind(m.bc,this.MX,this);this.vc.bind(m.jb,this.MX,this)};a.prototype.yua=function(){this.unbind(m.bc,this.qf,this);this.vc.unbind(m.bc,this.MX,this);this.vc.unbind(m.jb,this.MX,this)};a.prototype.Db=function(){p.prototype.Db.call(this);null==this.Na&&(this.Na=new n,this.Na.ma({fontColor:"#ffffff",fontWeight:"400",
3499fontFamily:"Arial, sans-serif",fontSize:14,text:k("download-tour")}),this.Ua(this.Na));null==this.fC&&(this.fC=e(k("download")),this.Ua(this.fC),this.fC.bind(m.qa,this.hLa,this,!0));null==this.iC&&(this.iC=e(k("refresh-downloaded")),this.Ua(this.iC),this.iC.bind(m.qa,this.nLa,this,!0));null==this.eC&&(this.eC=e(k("delete-downloaded")),this.Ua(this.eC),this.eC.bind(m.qa,this.gLa,this,!0));null==this.CZ&&(this.CZ=new q,this.CZ.ma({width:"100%"}),this.Ua(this.CZ));null==this.Yu&&(this.Yu=new c,this.Yu.ma({backgroundColor:"#ffffff",
3500borderRadius:2,iconColor:"#000000",iconLineWidth:1,iconWidth:17,iconHeight:17,height:31,width:31}),this.Ua(this.Yu),this.Yu.bind(m.qa,this.fLa,this,!0));null==this.Vi&&(this.Vi=e(k("cancel")),this.Ua(this.Vi),this.Vi.bind(m.qa,this.vy,this,!0));b.nb()&&this.lm();this.rg()};a.prototype.Pp=function(){p.prototype.Pp.call(this);
3500b.nb()&&this.getParent().bind(m.pc,this.lm,this,!0)};a.prototype.An=function(){b.nb()&&this.getParent().unbind(m.pc,this.lm,this,!0);p.prototype.An.call(this)};a.prototype.lm=
3501function(){var r=this.getParent();if(r){var u=Math.min(r.Ya(),r.Ab())/100,t=function(v){return Math.round(v*u)};this.ma({gap:t(3.9),height:t(11.9),paddingLeft:t(6),paddingRight:t(6)});this.Na&&this.Na.ma({fontSize:t(3)});[this.fC,this.Vi,this.iC,this.eC].forEach(function(v){v&&v.ma({borderRadius:t(.4),fontSize:t(3),paddingLeft:t(3),paddingRight:t(3),height:t(6.7)})});this.Yu&&this.Yu.ma({borderRadius:t(.4),iconLineWidth:t(.22),iconWidth:t(3.7),iconHeight:t(3.7),height:t(6.7),width:t(6.7)})}};a.prototype.rg=
3502function(){switch(this.ta){case "ready":var r=this.og.kK()?k("downloaded"):k("download-tour");break;case "installing":r=k("downloading");void 0!==this.cg&&(r+="..."+this.cg.toFixed(1)+"%");break;case "installed":r=k("downloaded");break;case "failed":r=this.poa==h.wja?b.nb()?k("storage-not-provided-launch-from-homescreen"):k("storage-not-provided-launch-from-desktop"):this.poa==h.uja?k("storage-not-provided-bookmark"):k("download-failed")}this.Na&&this.Na.set("text",r);this.fC&&this.fC.set("visible",
3503"ready"==this.ta&&!this.og.kK()&&this.og.Wya());this.eC&&this.eC.set("visible","ready"==this.ta&&this.og.kK()&&this.og.Vya());this.iC&&this.iC.set("visible","ready"==this.ta&&this.og.Yya());this.Vi&&this.Vi.set("visible","installing"==this.ta);this.Yu&&this.Yu.set("visible","installing"!=this.ta);
3503this.set("visible","hidden"!=this.ta)};a.prototype.hLa=function(){this.og.uBa()};a.prototype.nLa=function(){this.og.uBa()};a.prototype.gLa=function(){this.og.At();this.ta="hidden";this.rg()};a.prototype.vy=
3504function(){this.og.cancel();this.ta="hidden";this.rg()};a.prototype.fLa=function(){"installing"==this.ta&&this.og.cancel();this.ta="hidden";this.rg()};return a});
3505define("nK","require lE en pg pe v gb nl d oA nN oi dz jc jg".split(" "),function(a){function e(t,v){this.text=t;this.$o=v}var l=a("lE"),m=a("en"),k=a("pg"),b=a("pe"),h=a("v"),f=a("gb"),c=a("nl"),d=a("d"),g=a("oA"),p=a("nN"),q=a("oi"),n=a("dz"),r=a("jc"),u=a("jg");a=l.extend(g,function(){g.call(this);this.qq=[];this.Vi=this.gC=this.Na=this.TC=this.OI=this.dr=null;this.IG=this.IG.bind(this);this.vy=this.vy.bind(this);var t=new p;t.set("duration",500);t.set("easing","cubic_in");var v=new q;v.set("duration",
3506500);v.set("easing","cubic_out");this.ma({backgroundColor:"#000000",backgroundOpacity:.6,horizontalAlign:c.Qe,gap:5,left:0,top:0,right:0,bottom:0,hideEffect:v,showEffect:t,visible:!1})});a.prototype.Db=function(){g.prototype.Db.call(this);null==this.dr&&(this.dr=new g,this.dr.ma({centerX:0,centerY:0,backgroundColor:"#ffffff",horizontalAlign:c.Qe,verticalAlign:c.le,layout:d.Kh,shadow:!0,shadowColor:"#000000",shadowHorizontalLength:0,shadowVerticalLength:0,shadowOpacity:.2}),this.Ua(this.dr));null==
3507this.Na&&(this.Na=new n,this.Na.ma({fontColor:"#808080",fontWeight:"300",fontFamily:"Tahoma, Geneva, sans-serif"}),this.dr.Ua(this.Na));null==this.TC&&(this.TC=new r,this.TC.ma({width:"80%"}),this.dr.Ua(this.TC));null==this.OI&&(this.OI=new g,this.OI.ma({backgroundColor:"#b3b3b3"}),this.dr.Ua(this.OI));null==this.Wi&&(this.Wi=new g,this.Wi.ma({horizontalAlign:c.Qe,verticalAlign:c.le,layout:d.zg}),this.dr.Ua(this.Wi));null==this.gC&&(this.gC=new f,this.gC.ma({backgroundColor:"#606060",fontColor:"#FFFFFF",
3508fontFamily:"Tahoma, Geneva, sans-serif",horizontalAlign:c.Qe,verticalAlign:c.le,label:b("yes").toUpperCase(),pressedBorderColor:"#808080",rollOverBorderColor:"#808080",tabIndex:1}),this.gC.bind(k.qa,this.IG,this,!0),this.Wi.Ua(this.gC));null==this.Vi&&(this.Vi=new f,this.Vi.ma({backgroundColor:"#606060",fontColor:"#FFFFFF",fontFamily:"Tahoma, Geneva, sans-serif",horizontalAlign:c.Qe,verticalAlign:c.le,label:b("no").toUpperCase(),pressedBorderColor:"#808080",rollOverBorderColor:"#808080",tabIndex:1}),
3509this.Vi.bind(k.qa,this.vy,this,!0),this.Wi.Ua(this.Vi))};a.prototype.Pp=function(){g.prototype.Pp.call(this);this.getParent().bind(k.pc,this.lm,this,!0)};a.prototype.An=function(){this.getParent().unbind(k.pc,this.lm,this,!0);g.prototype.An.call(this)};a.prototype.lm=function(){var t=this.getParent();if(t){var v=t.Ya();t=t.Ab();if(h.nb()){var w=Math.min(v,t);v=function(x){return Math.round(x*w/100)}}else v=function(x){return Math.round(4*x)};this.dr&&this.dr.ma({borderRadius:v(1),width:v(80),height:v(40),
3510gap:v(4),shadowBlurRadius:v(1),shadowSpread:v(1)});this.OI&&this.OI.ma({width:v(60),minHeight:2,height:v(.25)});this.Wi&&this.Wi.ma({gap:v(5)});this.Vi&&this.Vi.ma({borderRadius:v(1),width:v(20),height:v(10),fontSize:v(4.25)});this.gC&&this.gC.ma({borderRadius:v(1),width:v(20),height:v(10),fontSize:v(4.5)});this.Na&&this.Na.ma({fontSize:v(5)});this.m_()}};a.prototype.show=function(t,v){this.lm();var w=this.rpa(v);0<=w&&this.wua(w);this.VTa(new e(t,v));this.HG()};a.prototype.hide=function(t){t=this.rpa(t);
35110<=t&&this.wua(t)};a.prototype.HG=function(){var t=this.getParent();t&&t.Pn(this,t.mb().length-1)};a.prototype.IG=function(){this.nU(!0)};a.prototype.vy=function(){this.nU(!1)};a.prototype.rpa=function(t){for(var v=0;v<this.qq.length;v++)if(this.qq[v].$o==t)return v;return-1};a.prototype.m_=function(){if(this.dr){u.R4a(this.IG);u.vha(this.vy);var t=this.Gpa();t?(20>t.text.length?(this.TC.set("visible",!1),this.Na.set("text",t.text),this.Na.set("visible",!0)):(this.Na.set("visible",!1),this.TC.set("html",
3512this.jPa(t.text)),this.TC.set("visible",!0)),this.Vi.set("visible",t.$o?!0:!1),this.set("visible",!0),u.c_a(this.IG),u.Aea(this.vy)):this.set("visible",!1)}};a.prototype.jPa=function(t){return"<div style=\"color:#808080; font-weight:300;
3512 font-family:'Tahoma', 'Geneva', sans-serif; font-size: "+this.Na.get("fontSize")+'px; text-align:center;" >'+t+"</div>"};a.prototype.nU=function(t){var v=this.Gpa();v&&(v=this.xPa(v.text),this.qUa(v),m(v).each(function(w){w.$o&&w.$o.call(this,t)},this))};a.prototype.VTa=
3513function(t){this.qq.push(t);this.m_()};a.prototype.xPa=function(t){return m(this.qq).filter(function(v){return v.text==t})};a.prototype.qUa=function(t){this.qq=m(this.qq).filter(function(v){return!m(t).contains(v)});this.m_()};a.prototype.wua=function(t){this.qq.splice(t,1);t==this.qq.length&&this.m_()};a.prototype.Gpa=function(){return 0<this.qq.length?this.qq[this.qq.length-1]:null};return a});
3514define("jy","require lE pg cC gv v nv".split(" "),function(a){function e(I){return I.map(function(Q){return String.fromCharCode(Q)}).join("")}function l(I){for(;I&&I!=document;){if("Button"==I.getAttribute(r))return!0;I=I.parentNode}return!1}var m=a("lE"),k=a("pg"),b=a("cC"),h=a("gv"),f=a("v"),c=a("nv"),d=[];a=e([99,111,110,116,101,120,116,109,101,110,117]);var g=e([109,111,117,115,101,100,111,119,110]),p=e([109,111,117,115,101,117,112]),q=e([109,111,117,115,101,108,101,97,118,101]),n=e([109,111,
3515117,115,101,101,110,116,101,114]),r=e([116,100,118,99,108,97,115,115]);document.addEventListener(a,function(I){if(!f.nb()||!l(I.target)){var Q=f.Jd()==f.Oja?200:0;setTimeout(function(){(void 0===u||void 0===t||void 0===v||void 0===w||10>Math.abs(v-u)+Math.abs(w-t))&&d.forEach(function(W){W(I)});u=t=v=w=void 0},Q)}I.preventDefault();I.stopImmediatePropagation()},!0);var u,t,v,w;document.addEventListener("mousedown",function(I){v=u=I.screenX;w=t=I.screenY},!0);document.addEventListener("mousemove",
3516function(I){v=I.screenX;w=I.screenY},!0);var x=1;m=m.extend(h,function(I,Q){h.call(this);this.gb=I;this.rPa=Q;this.sX=this.sX.bind(this);this.Xd=this.Xd.bind(this);this.g$=!1;this.d$=this.d$.bind(this);this.e$=this.e$.bind(this);this.c$=this.c$.bind(this);this.f$=this.f$.bind(this);this.va=document.createElement("div");this.va.style.setProperty("z-index",x,K[G]);for(var W in K[y])this.va.style.setProperty(W,K[y][W],K[G]);d.push(this.sX)});m.prototype.clear=function(){this.wRa()&&this.n9();this.va=
3517null;d.splice(d.indexOf(this.sX),1)};m.prototype.sX=function(I){var Q=this.rPa();if(0!=Q.length){this.va.replaceChildren();this.g$=!1;var W=0;Q.forEach(function(U){var T=document.createElement("div");if(U){T.textContent=U;for(var X in K[C])T.style.setProperty(X,K[C][X],K[G]);var D=W;W++;T.addEventListener(n,function(M){this.d$(M,D)}.bind(this));T.addEventListener(q,function(M){this.e$(M,D)}.bind(this));T.addEventListener(g,function(M){this.c$(M,D)}.bind(this));T.addEventListener(p,function(M){this.f$(M,
3518D)}.bind(this))}else for(X in K[A])T.style.setProperty(X,K[A][X],K[G]);for(X in K[z])T.style.setProperty(X,K[z][X],K[G]);this.va.appendChild(T)}.bind(this));(c.fullscreenElement()||document.body).appendChild(this.va);this.va.style.setProperty("display","block",K[G]);Q=I.pageX;I=I.pageY;Q+this.va.clientWidth>document.body.clientWidth-5&&(Q=document.body.clientWidth-this.va.clientWidth-5);I+this.va.clientHeight>document.body.clientHeight-5&&(I=document.body.clientHeight-this.va.clientHeight-5);this.va.style.setProperty("left",
3519Q+"px",K[G]);this.va.style.setProperty("top",I+"px",K[G]);this.gb.bind(k.jb,this.Xd,this);document.addEventListener("mousedown",this.Xd);this.MZa=setInterval(this.LZa.bind(this),200)}};m.prototype.wRa=function(){return!!this.va&&!!this.va.parentNode};m.prototype.n9=function(){clearInterval(this.MZa);this.va.parentNode.removeChild(this.va);document.removeEventListener("mousedown",this.Xd);this.gb.unbind(k.jb,this.Xd,this);this.va.style.setProperty("display","none",K[G])};m.prototype.LZa=function(){this.va.contains(document.elementFromPoint(this.va.offsetLeft+
3520.5*this.va.clientWidth,this.va.offsetTop+.5*this.va.clientHeight))||this.va.style.setProperty("z-index",x*=10,K[G])};m.prototype.Xd=function(){this.n9()};m.prototype.c$=function(I){this.g$=!0;I.preventDefault();I.stopImmediatePropagation()};m.prototype.f$=function(I,Q){this.g$&&(this.n9(),I.preventDefault(),I.stopImmediatePropagation(),this.trigger(new b(k.Jp,{index:Q})))};m.prototype.d$=function(I){for(var Q in K[B])I.currentTarget.style.setProperty(Q,K[B][Q],K[G])};m.prototype.e$=function(I){for(var Q in K[E])I.currentTarget.style.setProperty(Q,
3521K[E][Q],K[G])};var y="0",z="1",C="2",A="3",B="4",E="5",G="6",K=function(I){return JSON.parse(I.map(function(Q){return String.fromCharCode(Q)}).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,
3522114,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,
3522103,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,
352341,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,
352434,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,
352532,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});
3526define("mG",["require","mC","bd","cf"],function(a){function e(b){this.gb=b;this.gt={};this.gt[m.Zja]="move";this.gt[m.kIa]="ew-resize";this.gt[m.mIa]="ns-resize";this.gt[m.lIa]="nesw-resize";this.gt[m.nIa]="nwse-resize";this.gt[m.ye]="pointer";this.gt[m.ou]="inherit";this.gt[m.xe]="default";this.mh={};this.mh[m.Vx]="grab.cur";this.mh[m.Jh]="grabbing.cur";this.mh[m.ika]="N.cur";this.mh[m.jka]="NE.cur";this.mh[m.$ja]="E.cur";this.mh[m.mka]="SE.cur";this.mh[m.lka]="S.cur";this.mh[m.nka]="SW.cur";this.mh[m.oka]=
3527"W.cur";this.mh[m.kka]="NW.cur";this.mh[m.bka]="FN.cur";this.mh[m.cka]="FNE.cur";this.mh[m.aka]="FE.cur";this.mh[m.fka]="FSE.cur";this.mh[m.eka]="FS.cur";this.mh[m.gka]="FSW.cur";this.mh[m.hka]="FW.cur";this.mh[m.dka]="FNW.cur";this.U5={};this.U5[m.OB]=k.OB;this.Cma={}}var l=a("mC"),m=a("bd"),k=a("cf");e.prototype.cAa=function(b){return this.rRa(b)?this.Dpa(b):this.gRa(b)?this.XOa(b):this.aRa(b)?this.FOa(b):this.Dpa(m.xe)};e.prototype.tLa=function(b){if(!(b in this.Cma)){var h=new Image;h.src=this.Xoa(b);
3528this.Cma[b]=h}};e.prototype.rRa=function(b){return b in this.gt};e.prototype.Dpa=function(b){return this.gt[b]};e.prototype.gRa=function(b){return this.mh[b]};e.prototype.XOa=function(b){this.tLa(b);return"url("+this.Xoa(b)+"), default"};e.prototype.Xoa=function(b){return l.zx(this.gb.get("settings").get(TDV.PlayerSettings.CURSORS_DIR_URL))+"/"+this.mh[b]};e.prototype.aRa=function(b){return b in this.U5};e.prototype.FOa=function(b){return"url("+this.U5[b]+"), auto"};return e});
3529define("cw",["require","en"],function(a){function e(){this.fw={};this.Kq=[];this.qM=0}var l=a("en");e.prototype.push=function(m,k){void 0==this.fw[k]?(this.fw[k]=[m],this.Kq.push(k),this.Kq.sort(function(b,h){return b-h}),this.qM++):(k=this.fw[k],l(k).contains(m)||(k.push(m),this.qM++))};e.prototype.eAa=function(){return this.qM};e.prototype.isEmpty=function(){return 0==this.Kq.length};e.prototype.NDa=function(){if(!this.isEmpty()){var m=this.Kq[0],k=this.fw[m].pop();0==this.fw[m].length&&(delete this.fw[m],
3530this.Kq=this.Kq.slice(1));this.qM--;return k}};e.prototype.nha=function(){if(!this.isEmpty()){var m=this.Kq[this.Kq.length-1],k=this.fw[m].pop();0==this.fw[m].length&&(delete this.fw[m],this.Kq=this.Kq.slice(0,this.Kq.length-1));this.qM--;return k}};return e});
3531define("iY","require en lE gM cw bi lH".split(" "),function(a){function e(){this.Iz=!1;this.Ota=void 0;this.U=!0;this.WX=this.WX.bind(this);this.PU=new m;this.GY=new m;this.yZ=new m;this.NW=new m;this.E7=new m;k.requestFrame(this.Qj,this)}a("en");a("lE");var l=a("gM"),m=a("cw"),k=a("bi"),b=a("lH");e.prototype.clear=function(){this.U=!1};e.prototype.RR=function(h){this.PU.push(h,this.vH(h));this.mw()};e.prototype.pe=function(h){this.GY.push(h,this.vH(h));this.mw()};e.prototype.Yb=function(h){this.yZ.push(h,
3532this.vH(h));this.mw()};e.prototype.Rd=function(h){this.NW.push(h,this.vH(h));this.mw()};e.prototype.dl=function(h){this.E7.push(h,this.vH(h));this.mw()};e.prototype.ha=function(){this.vYa();this.lZa();this.xYa()};e.prototype.vYa=function(){do{for(;!this.PU.isEmpty();)this.PU.nha().Db();this.GY.isEmpty()||this.GY.nha().Za()}while(!this.GY.isEmpty()||!this.PU.isEmpty())};e.prototype.lZa=function(){for(;!this.yZ.isEmpty()||!this.NW.isEmpty();)this.r_(),this.Cda()};e.prototype.r_=function(){for(;!this.yZ.isEmpty();){var h=
3533this.yZ.nha();if(h.r8a()){var f=h.getParent();f?(f.Yb(),f.Rd()):h.OEa(0,0,h.Nt(),h.Mt())}}};e.prototype.Cda=function(){for(;!this.NW.isEmpty();)this.NW.NDa().hk()};e.prototype.xYa=function(){for(;!this.E7.isEmpty();)this.E7.NDa().eh();l.process()};e.prototype.mw=function(){this.Iz||(this.Iz=!0,this.Ota=(new Date).getTime()+500,b.RA(this.WX))};e.prototype.WX=function(){this.Iz=!1;this.U&&this.ha()};
3533e.prototype.vH=function(h){return(h=h.getParent())?this.vH(h)+1:0};e.prototype.Qj=function(){this.Iz&&
3534(new Date).getTime()>=this.Ota&&this.WX();k.requestFrame(this.Qj,this)};return e});
3535define("hK","require jquery.mod en lE pg oA jy mG bl iY nv v jg".split(" "),function(a){var e=a("jquery.mod"),l=a("en"),m=a("lE"),k=a("pg"),b=a("oA"),h=a("jy"),f=a("mG"),c=a("bl"),d=a("iY"),g=a("nv"),p=a("v"),q=a("jg");a=m.extend(b,function(n,r){this.AG=new d;b.call(this);this.bt(this);this.Ge("Application");this.Af=e(n);this.cea=r;this.Af.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",
3536visibility:"visible","-webkit-tap-highlight-color":"rgba(255, 255, 255, 0)"});this.uw=e(document.createElement("div"));this.uw.css({position:"absolute",left:0,top:0,right:0,bottom:0,width:"auto",height:"auto",margin:0});this.Af.append(this.uw);this.uw.append(this.$c());this.rwa=this.uw.get(0);this.Ld=this.Bd=void 0;this.XQa=10;this.FLa=500;this.kP=null;this.q7=new f(this);this.Sb=new c(this);this.va.append(this.Sb.$c());this.YU=new h(this,this.Uoa.bind(this));this.YU.bind(k.Jp,this.yh(this.Lra),this,
3537!0);this.ara=!0;this.set("contentOpaque",!0);this.uC=null;this.kM=[];this.iH(["globalmousemove"]);this.NKa();this.C_=this.D_=0;this.Dz=1;try{this.D_=window.top.innerWidth,this.C_=window.top.innerHeight,this.g9=!0}catch(u){this.g9=!1}this.Lxa();this.bj=new g(n);this.bj.bind(k.ca,function(){this.q8(this.bj.enabled())},this);q.$a()});a.prototype.start=function(){this.bwa||(this.bwa=!0,this.trigger(k.Yn))};a.prototype.Lxa=function(){this.g9&&!g.enabled()&&(this.D_=window.top.innerWidth,this.C_=window.top.innerHeight)};
3538a.prototype.clear=function(){this.yF(null);this.mwa();this.TNa();this.AG.clear();this.Af&&(this.$c().remove(),this.uw.remove(),this.Af=null);this.q7=null;this.bj.Wia();this.bj=null;this.YU&&(this.YU.clear(),this.YU=null)};a.prototype.o6a=function(n){this.ara=n};a.prototype.q8=function(n){n?this.iva():this.QLa()};a.prototype.Lv=function(){this.MN=this.Pl=this.uw.width();this.LN=this.Ol=this.uw.height()};a.prototype.yF=function(n){if(this.uC!=n){null!=this.uC&&this.uC.RXa();this.uC=n;for(var r=[];null!=
3539n;)r=[n].concat(r),n=n.getParent();n=this.kM.length-1;for(var u=!0;0<=n&&u;n--)l(r).contains(this.kM[n])?u=!1:this.kM.pop().UXa();for(n=0;n<r.length;n++)l(this.kM).contains(r[n])||r[n].VXa();this.kM=r;null!=this.uC&&this.uC.QXa();this.Sb.yF(this.uC)}};a.prototype.mQa=function(n){var r=this.QC(n);this.nqa(n,r.x,r.y)?n.preventDefault():this.yF(null)};a.prototype.Jpa=function(n){var r=this.Wy(n);this.nqa(n,r.x,r.y)?n.preventDefault():this.yF(null)};a.prototype.Uoa=function(){return[]};a.prototype.Lra=
3540function(){};a.prototype.nqa=function(n,r,u){return this.hRa(n.target)&&0<=r&&0<=u&&r<this.oa&&u<this.wa};a.prototype.hRa=function(n){if(!this.Af)return!1;for(var r=this.Af.get(0);n;){if(n===r)return!0;n=n.parentElement}return!1};a.prototype.NKa=function(){this.iH(["globalresize"]);this.u6=setInterval(l.bind(function(){this.Qma()},this),this.FLa)};a.prototype.TNa=function(){this.AM(["globalresize"]);this.u6&&(clearInterval(this.u6),this.u6=null)};a.prototype.Qma=function(){this.bj.enabled()?this.iva():
3541this.Lxa();var n=this.rwa.clientWidth,r=this.rwa.clientHeight;if(this.Bd!=n||this.Ld!=r)this.Bd=n,this.Ld=r,this.PWa()};a.prototype.iva=function(){if(this.g9&&(p.Jd()==p.kB&&p.browser()==p.Gm||p.Jd()==p.ni)){var n=g.fullscreenElement();var r=n.clientWidth;n=n.clientHeight;p.Jd()!=p.kB||window.screen.availWidth!=r&&window.screen.availHeight!=n||(r=window.screen.availWidth,n=window.screen.availHeight);var u=(r>n?r:n)/(this.D_>this.C_?this.D_:this.C_),t=Math.round(r/u),v=Math.round(n/u);this.Dz=u;r=
3542{left:Math.round(.5*(r-t))+"px",top:Math.round(.5*(n-v))+"px",right:"auto",bottom:"auto",width:t+"px",height:v+"px",transform:"scale("+[u,u].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.Dz=1;this.uw.css(r)};a.prototype.QLa=function(){this.uw.css({position:"abolute",left:0,top:0,right:0,bottom:0,width:"auto",height:"auto",transform:""});this.Dz=1};a.prototype.PWa=
3543function(){this.mwa();var n=this;this.kP=setTimeout(function(){n.kP=null;n.Yb()},this.XQa)};a.prototype.mwa=function(){this.kP&&(this.kP=null,clearTimeout(this.kP))};a.prototype.lQa=function(){this.Qma()};a.prototype.C8=function(){return l(b.prototype.C8.call(this)).defaults({globaltouchmove:[{target:e(document),name:"touchmove",handler:this.yh(this.mQa)}],globalmousemove:[{target:e(document),name:"mousemove",handler:this.yh(this.Jpa)},{target:e(window),name:"mouseout",handler:this.yh(this.Jpa)}],
3544globalresize:[{target:e(window),name:"resize",handler:this.yh(this.lQa)}]})};return a});
3545define("gK","require jquery.mod pF cf nv pg gv pe v".split(" "),function(a){function e(){n=TDV.sb.pr();var v=q||n;p!=v&&(p=v,g.trigger(h.ca));v=!!q&&n!=q&&d.nb();r!=v&&(u||(u=l("<div/>
3545"),u.css({position:"fixed","z-index":m.RHa,left:0,top:0,margin:0,padding:0,height:"100%",width:"100%","background-color":"rgba(255, 255, 255, 0.99)"}),u.html(['<div style="box-sizing:border-box; padding:0 10vmin; display:table; height:100%; width:100vw;">\n<div style="vertical-align:middle; text-align:center; display:table-cell;">','<img style="width:22vmin" src="'+
3546k.BL+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">'+c("rotate-device")+"</div>","</div>\n</div>"].join("\n")),t=u.find("img")),r&&u.detach(),(r=v)&&(b.enabled()?l(b.fullscreenElement()):l("body")).append(u));r&&t.css("transform",p==g.DIa?"translate(-11%, 0) rotate(-90deg)":"none")}var l=a("jquery.mod"),m=a("pF"),k=a("cf"),b=a("nv"),h=a("pg"),f=a("gv"),c=a("pe"),d=a("v"),g=new f;g.b9a=TDV.sb.G4;
3547g.DIa=TDV.sb.H4;g.au=function(v){q!=v&&(q=v,e())};g.uAa=function(){return q};g.get=function(){return p};var p=void 0,q=void 0,n=void 0,r=!1,u=null,t=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 g});
3548define("iU","require lE en pg cC cI nV nr pe jX H kU nK dY mp nW lY v hW eY cz jI mC oB ek hK oA di nv bF gK mm dA".split(" "),function(a){var e=a("lE"),l=a("en"),m=a("pg"),k=a("cC"),b=a("cI"),h=a("nV"),f=a("nr"),c=a("pe"),d=a("jX"),g=a("H"),p=a("kU"),q=a("nK"),n=a("dY");a("mp");var r=a("nW"),u=a("lY"),t=a("v"),v=a("hW"),w=a("eY"),x=a("cz"),y=a("jI"),z=a("mC"),C=a("oB"),A=a("ek"),B=a("hK"),E=a("oA"),G=a("di"),K=a("nv"),I=a("bF"),Q=a("gK"),W=a("mm"),U=a("dA"),T=h.define("Player",B,function(){B.apply(this,
3549arguments);this.og=new w(this);this.Yna=new p(this,this.og);this.ss=new E;this.ss.ma({backgroundOpacity:0,visible:!0,width:"100%",height:"100%"});this.RH=new q;this.mJ=new n;this.aV=new g(this);var M=new G;M.I2(0);this.PS(M);this.yf(!0);this.bind(m.F("settings"),this.$Sa,this,!0);this.w_=TDV.sb.PAa();Q.bind(m.ca,this.LSa,this,!0);I.b8a();this.kLa=new d(this,"buttonMute",A.ze);this.kLa.bind(m.qa,this.Csa,this,!0);this.sLa=new d(this,"buttonUnmute",A.ze);this.sLa.bind(m.qa,this.qta,this,!0);this.BU=
3550new d(this,"buttonToggleMute",A.zj);this.BU.bind(m.wj,this.Csa,this,!0);this.BU.bind(m.ul,this.qta,this,!0);this.bind(m.F("mute"),this.ISa,this);this.BU.set("pressed",this.get("mute"));this.iLa=new d(this,"buttonEnterFullscreen",A.ze);this.iLa.bind(m.qa,this.Rra,this,!0);this.jLa=new d(this,"buttonExitFullscreen",A.ze);this.jLa.bind(m.qa,this.Sra,this,!0);this.xU=new d(this,"buttonToggleFullscreen",A.zj);this.xU.bind(m.wj,this.Rra,this,!0);this.xU.bind(m.ul,this.Sra,this,!0);this.xU.set("pressed",
3551this.get("fullscreenEnabled"));this.bind(m.F("fullscreenEnabled"),this.pSa,this,!0);this.set("fullscreenEnabled",this.bj.enabled());this.set("defaultMenu",["fullscreen","mute","rotation"]);this.bind(m.Yn,this.cTa,this,!0);[m.jb,m.Eb,m.Yr,m.Ux,m.$F].forEach(function(S){this.bind(S,function(Y){this.trigger(new k(m.QB,{$K:Y}))},this,!0)}.bind(this));["keydown","keyup"].forEach(function(S){document.addEventListener(S,function(Y){this.trigger(new k(m.QB,{$K:Y}))}.bind(this))}.bind(this));C.P.bind(m.ca,
3552function(){C.isPresenting?Q.au():Q.au(B.prototype.get.call(this,"lockedOrientation"))},this);this.bj.bind(m.ca,function(){var S=Q.uAa();Q.au();Q.au(S)},this)});T.HHa="orientationChange";T.prototype.logCapabilities=function(){this.JRa()};T.prototype.activateAudio=function(M){this.BJa(M)};T.prototype.q8=function(M){B.prototype.q8.apply(this,arguments);this.set("fullscreenEnabled",M)};T.prototype.tb=function(){B.prototype.tb.call(this);this.h("mute",!1);this.h("fullscreenEnabled",!1)};T.prototype.Db=
3553function(){B.prototype.Db.call(this);this.Yna.getParent()!=this&&this.Ua(this.Yna);this.ss.getParent()!=this&&(this.Ua(this.ss),this.ss.Ua(this.aV),this.ss.Ua(this.RH),this.ss.Ua(this.mJ))};T.prototype.KUa=function(M){var S=[];this.RH&&S.push(this.RH);this.mJ&&S.push(this.mJ);this.aV&&S.push(this.aV);for(var Y=!0,ca=0;ca<=S.length&&Y;ca++)Y=M.indexOf(S[ca]),Y=M.length-(S.length-ca)==Y;return Y?M:M.filter(function(da){return 0>S.indexOf(da)}).concat(S)};T.prototype.Za=function(){this.mua||(this.mua=
3554l.difference(this.QPa(),"backgroundOpacity visible includeInLayout state left right top bottom centerX centerY width height minWidth minHeight maxWidth maxHeight actualWidth actualHeight paddingLeft paddingTop paddingRight paddingBottom".split(" ")));this.qc(this.mua,{},[this.ss],!0,!0);B.prototype.Za.call(this);!0===this.P9a&&this.O9a()};T.prototype.set=function(M,S){switch(M){case "children":this.ss.set(M,this.KUa(S));return;case "creationPolicy":this.ss.set(M,S);return;case "fullscreenAvailable":case "gyroscopeAvailable":case "cardboardAvailable":case "isMobile":case "orientation":case "surfaceSelectionAvailable":case "touchEnabled":case "touchDevice":case "vrControllerAvailable":case "vrAvailable":S=
3555this.get(M);break;case "fullscreenEnabled":S=this.bj.Xj()&&S;break;case "fullscreenFallback":K.Yha(S);break;case "lockedOrientation":t.Hf()&&(S=void 0);Q.au(S);break;case "installAvailable":S=this.og.ready();break;
3555case "mouseWheelEnabled":this.o6a(z.eg("mousewheelenabled",S));break;case "backgroundPreloadEnabled":this.bVa(S);break;case "vrPolyfillScale":C.h2=S;break;case "desktopMipmappingEnabled":r.A5a(S);break;case "mobileMipmappingEnabled":r.l6a(S);break;case "defaultVRPointer":"gaze"==S?C.FFa(C.Aka.ZF):
3556C.FFa(C.Aka.wL)}B.prototype.set.call(this,M,S)};T.prototype.get=function(M,S){switch(M){case "children":case "creationPolicy":return this.ss.get(M,S);case "touchEnabled":return this.so;case "touchDevice":return t.Ria();case "isMobile":return t.nb();case "orientation":return Q.get();case "lockedOrientation":return Q.uAa();case "gyroscopeAvailable":return v.Xj;case "cardboardAvailable":case "vrAvailable":return C.QF;case "vrControllerAvailable":return C.VGa;case "fullscreenAvailable":return this.bj.Xj();
3557case "vrPolyfillScale":return C.h2;case "installAvailable":return this.og.ready();case "surfaceSelectionAvailable":return!0;case "pageScale":return this.Dz;case D:return this.cea?B.prototype.get.apply(this,arguments):!0;default:return B.prototype.get.apply(this,arguments)}};T.prototype.Csa=function(){this.set("mute",!0)};T.prototype.qta=function(){this.set("mute",!1)};T.prototype.ISa=function(){this.BU.set("pressed",this.get("mute"))};T.prototype.Rra=function(){this.set("fullscreenEnabled",!0)};T.prototype.Sra=
3558function(){this.set("fullscreenEnabled",!1)};T.prototype.pSa=function(){this.get("fullscreenEnabled")?this.bj.m0():this.bj.jr();this.xU.set("pressed",this.get("fullscreenEnabled"));this.set("fullscreenEnabled",this.bj.enabled())};T.prototype.$Sa=function(){var M=this.get("settings");M&&(x.initialize(M),y.sia(M),THREE.lHa=M.get(TDV.PlayerSettings.jja),THREE.zHa=M.get(TDV.PlayerSettings.tja),THREE.qG=M.get(TDV.PlayerSettings.qG),this.og.sia(M))};T.prototype.bVa=function(M){y.enabled(M)};T.prototype.Uoa=
3559function(){var M=[];this.VG=[];(this.get("menu")||[]).forEach(function(ca){var da=ca.get("label");M.push(ca.get("label"));da&&this.VG.push(function(){ca.trigger("click")})}.bind(this));var S=this.get("defaultMenu",[]);if(0<=S.indexOf("rotation")){var Y=this.Ni("PanoramaPlayer");Y.length&&(M.push(Y[0].get("mouseControlMode")==b.pB?c("change-to-drag-and-release"):c("change-to-click-and-move")),this.VG.push(this.zXa.bind(this)))}0<=S.indexOf("fullscreen")&&this.bj.Xj()&&(M.push(this.bj.enabled()?c("exit-fullscreen"):
3560c("enter-fullscreen")),this.VG.push(this.xXa.bind(this)));0<=S.indexOf("mute")&&(M.push(this.get("mute")?c("unmute"):c("mute")),this.VG.push(this.yXa.bind(this)));S=[].concat(f.name?[f.name]:[],"false"!=f.q0a?f.aS?["v:"+f.aS+"."+f.eS]:["v:"+f.eS]:[]).join(" ");""!=S&&(0<M.length&&M.push(""),M.push(S),this.VG.push(this.oTa.bind(this)));return M};T.prototype.Lra=function(M){this.VG[M.data.index]()};T.prototype.zXa=function(){var M=this.Ni("PanoramaPlayer"),S=M[0].get("mouseControlMode")==b.pB?b.iu:
3561b.pB;M.forEach(function(Y){U.setItem(X,S);Y.set("mouseControlMode",S)})};T.prototype.cTa=function(){U.getItem(X)==b.iu&&this.Ni("PanoramaPlayer").forEach(function(M){M.set("mouseControlMode",b.iu)});z.pj("mute")&&this.set("mute",z.eg("mute",this.get("mute")))};T.prototype.xXa=function(){this.bj.toggle()};T.prototype.yXa=function(){this.set("mute",!this.get("mute"))};T.prototype.oTa=function(){f.WGa&&window.open(f.WGa,"_blank")};T.prototype.LSa=function(){this.trigger(T.HHa)};T.prototype.JRa=function(){e.z0a(!0);
3562e.log("UA: "+navigator.userAgent);e.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+", "+
3562Math.min(window.screen.width,window.screen.height)*window.devicePixelRatio+")");t.log();u.log();c.log();C.log()};T.prototype.BJa=function(M){I.active()?W.wait(M):(I.gja(M),I.request(this))};var X="tdvp_"+window.location.pathname+
3563"_rotation_mode",D=[119,97,116,101,114,109,97,114,107].map(function(M){return String.fromCharCode(M)}).join("");return T});define("nJ",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("PlayerMenuItem",e,function(){e.call(this)})});
3564define("S","require lE mh pg lg nV kE".split(" "),function(a){a("lE");var e=a("mh"),l=a("pg"),m=a("lg"),k=a("nV"),b=a("kE");a=k.define("PopupPanoramaOverlay",e,function(){e.call(this);this.set("state",m.W);this.bind(l.F("state"),function(){this.trigger(l.re)},this,!0);this.ld=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.Y)};a.prototype.pause=function(){this.set("state",m.jG)};a.prototype.stop=
3565function(){this.set("state",m.W)};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,f){switch(h){case "playbackPositions":return void 0===this.ld&&(this.ld=b.K1a(this)),this.ld}return e.prototype.get.call(this,h,f)};a.prototype.set=function(h,f){var c=!1;switch(h){case "hfov":case "vfov":case "pitch":case "rotationX":case "rotationY":case "rotationZ":case "yaw":case "playbackPositions":this.ld=
3566void 0,c=!0}e.prototype.set.call(this,h,f);c&&"playbackPositions"!=h&&this.trigger(l.F("playbackPositions"))};return a});define("ph",["require","A","nV"],function(a){var e=a("A");return a("nV").define("ProgressBar",e,function(){e.call(this)})});
3567define("gG",["require","mh","pg","nV","kE"],function(a){var e=a("mh"),l=a("pg"),m=a("nV"),k=a("kE");a=m.define("QuadFramePanoramaOverlay",e,function(){e.call(this);this.ld=void 0});a.prototype.set=function(b,h){var f=!1;switch(b){case "vertices":case "playbackPositions":this.ld=void 0,f=!0}e.prototype.set.call(this,b,h);f&&"playbackPositions"!=b&&this.trigger(l.F("playbackPositions"))};a.prototype.get=function(b,h){switch(b){case "playbackPositions":return void 0===this.ld&&(this.ld=k.Ufa(this)),
3568this.ld}return e.prototype.get.call(this,b,h)};return a});define("bH",["require","nV","cR"],function(a){var e=a("nV"),l=a("cR");return e.define("QuadHotspotPanoramaOverlay",l,function(){l.call(this)})});define("jd",["require","nV","u"],function(a){var e=a("nV"),l=a("u");return e.define("QuadHotspotPanoramaOverlayArea",l,function(){l.apply(this,arguments)})});
3569define("Z",["require","mh","pg","nV","kE"],function(a){var e=a("mh"),l=a("pg"),m=a("nV"),k=a("kE");a=m.define("QuadHotspotPanoramaOverlayImageBase",e,function(){e.call(this);this.ld=void 0});a.prototype.get=function(b,h){switch(b){case "playbackPositions":return void 0===this.ld&&(this.ld=k.Ufa(this)),this.ld}return e.prototype.get.call(this,b,h)};a.prototype.set=function(b,h){var f=!1;switch(b){case "opacity":case "distance":case "vertices":case "playbackPositions":this.ld=void 0,f=!0}e.prototype.set.call(this,
3570b,h);f&&"playbackPositions"!=b&&this.trigger(l.F("playbackPositions"))};return a});define("fE",["require","nV","Z"],function(a){var e=a("nV"),l=a("Z");return e.define("QuadHotspotPanoramaOverlayImage",l,function(){l.call(this)})});define("pp",["require","nV","Z"],function(a){var e=a("nV"),l=a("Z");return e.define("QuadHotspotPanoramaOverlayMap",l,function(){l.call(this)})});
3571define("fa","require mh pg lg cC nV kE".split(" "),function(a){var e=a("mh"),l=a("pg"),m=a("lg"),k=a("cC"),b=a("nV"),h=a("kE");a=b.define("QuadVideoPanoramaOverlay",e,function(){e.call(this);this.ld=void 0});a.prototype.play=a.prototype.play=function(){this.set("state",m.Y)};a.prototype.pause=a.prototype.pause=function(){this.set("state",m.Ib)};a.prototype.stop=a.prototype.stop=function(){this.set("state",m.W)};a.prototype.set=function(f,c){var d=!1;switch(f){case "state":var g=this.get("state")||
3572m.W;g==m.W&&c==m.Y&&this.trigger(l.Yn);g!=c&&this.trigger(new k(l.re,{oldState:g,state:c}));break;case "enabledInCardboard":this.set("enabledInVR",c);break;case "distance":case "opacity":case "playbackPositions":case "vertices":this.ld=void 0,d=!0}e.prototype.set.call(this,f,c);d&&"playbackPositions"!=f&&this.trigger(l.F("playbackPositions"))};a.prototype.get=function(f,c){switch(f){case "playbackPositions":return void 0===this.ld&&(this.ld=h.Ufa(this)),this.ld}return e.prototype.get.call(this,f,
3573c)};return a});define("mV",["require","mh","nV"],function(a){var e=a("mh");a=a("nV").define("RainPanoramaOverlay",e,function(){e.call(this)});a.prototype.get=function(l,m){"startState"==l&&void 0===m&&(m=this.get("initialState"));return e.prototype.get.call(this,l,m)};return a});define("fr",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("RotationalCameraMovement",e,function(){e.call(this)})});
3574define("cn",["require","nL","nV"],function(a){var e=a("nL");return a("nV").define("SlideInEffect",e,function(){e.call(this)})});define("iE",["require","hP","nV"],function(a){var e=a("hP");return a("nV").define("SlideOutEffect",e,function(){e.call(this)})});
3575define("ol",["require","mh","nV"],function(a){var e=a("mh");a=a("nV").define("SnowPanoramaOverlay",e,function(){e.call(this)});a.prototype.get=function(l,m){"startState"==l&&void 0===m&&(m=this.get("initialState"));return e.prototype.get.call(this,l,m)};return a});
3576define("mu",["require","nV","lM"],function(a){var e=a("nV"),l=a("lM");a=e.define("SphericPanoramaFrame",l,function(){l.call(this)});a.prototype.tm=function(){var m=this.get("sphere");return m&&e.Ga("Video360Resource",m)?!0:(m=this.get("stereoSphere"))&&e.Ga("Video360Resource",m)?!0:!1};return a});define("fG",["require","nV","iQ"],function(a){var e=a("nV"),l=a("iQ");return e.define("SphereModel3DObject",l,function(){l.call(this)})});
3577define("oM",["require","nV","iQ"],function(a){var e=a("nV"),l=a("iQ");a=e.define("SpriteModel3DObject",l,function(){l.call(this)});a.prototype.getPixelScale=function(){return this.get("worldPixelScale")};return a});define("lP",["require","nV","iQ"],function(a){var e=a("nV"),l=a("iQ");return e.define("SurfaceReticleModel3DObject",l,function(){l.call(this);this.set("transparentAreaActive",!0)})});
3578define("cS","require en lE y oA nl V dz".split(" "),function(a){var e=a("en"),l=a("lE"),m=a("y"),k=a("oA"),b=a("nl"),h=a("V"),f=
3578a("dz"),c=l.extend(k,function(d){k.call(this);this.Ge("Tab");this.Faa=d;this.im="";this.Pca=!1;this.vqa=this.Na=null;this.hea=this.gea=!1;this.set("childrenInteractionEnabled",!1);this.set("contentOpaque",!0)});c.prototype.tb=function(){k.prototype.tb.call(this);this.h("horizontalAlign",b.Qe);this.h("verticalAlign",b.le);this.h("fontFamily");this.h("fontSize");this.h("fontColor");
3579this.h("fontWeight");this.h("fontStyle");this.h("textDecoration");this.h("textShadowBlurRadius");this.h("textShadowColor");this.h("textShadowHorizontalLength");this.h("textShadowOpacity");this.h("textShadowVerticalLength")};c.prototype.GFa=function(d){this.gea!=d&&(this.gea=d,this.hea=!0,this.pe())};c.prototype.Db=function(){k.prototype.Db.call(this);null==this.Na&&(this.Na=new f,this.Na.set("horizontalAlign","center"),this.Ua(this.Na))};c.prototype.Pp=function(){k.prototype.Pp.call(this);this.vqa=
3580m.cu(this.Faa,"label",this.bI,this);this.Gva(this.Faa.get("label"))};c.prototype.Iba=function(){k.prototype.Iba.call(this);this.vqa.dB()};c.prototype.bI=function(){var d=this.Faa.get("label");this.Gva(d?d:"")};c.prototype.Gva=function(d){this.im!=d&&(this.im=d,this.Pca=!0,this.pe())};c.prototype.Za=function(){this.Pca&&(this.Pca=!1,this.Na.set("text",this.im));this.hea&&(this.hea=!1,this.Na.set("direction",this.gea?h.Kh:h.zg));this.qc(c.ula,c.xG,[this.Na],!0,!0);k.prototype.Za.call(this)};c.ula="fontFamily fontSize fontColor fontWeight fontStyle textDecoration textShadowColor textShadowHorizontalLength textShadowVerticalLength textShadowBlurRadius textShadowOpacity".split(" ");
3581c.xG={};e(c.ula).each(function(d){c.xG[d]=d});return c});define("nB",["require"],function(){return{zL:"normal",cG:"inverse",mja:"center"}});
3582define("dc","require en lE bj bd pg oA nl d hY cS nB iF".split(" "),function(a){var e=a("en"),l=a("lE"),m=a("bj"),k=a("bd"),b=a("pg"),h=a("oA"),f=a("nl"),c=a("d"),d=a("hY"),g=a("cS"),p=a("nB"),q=a("iF");a=l.extend(h,function(){h.call(this);this.Ge("TabPanel");this.Ve=-1;this.YD=!1;this.YP=[];this.SZ=!1;this.Sj=[];this.Haa=!1;this.XP=[];this.Sg=this.wh=null;this.$D(!1)});a.prototype.tb=function(){h.prototype.tb.call(this);this.h("pages",[]);this.h("selectedIndex",-1);this.h("tabsSize",25);this.h("tabsPosition",
3583q.zc);this.h("tabsGap",0);this.h("tabsPadding",10);this.h("tabsAlign",p.zL);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");
3584this.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");
3585this.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");
3586this.h("tabsRollOverTextDecoration");this.h("tabsRollOverTextShadowBlurRadius");this.h("tabsRollOverTextShadowColor");this.h("tabsRollOverTextShadowHorizontalLength");this.h("tabsRollOverTextShadowOpacity");this.h("tabsRollOverTextShadowVerticalLength")};a.prototype.Db=function(){h.prototype.Db.call(this);null==this.Sg&&(this.Sg=new h,this.Sg.$D(!1),this.Ua(this.Sg));null==this.wh&&(this.wh=new h,this.wh.$D(!1),this.Ua(this.wh))};a.prototype.set=function(n,r){"pages"==n?this.u6a(r||[]):"selectedIndex"==
3587n?this.TK(r):"layout"==n&&(r=c.Q8a);h.prototype.set.call(this,n,r)};a.prototype.get=function(n,r){return"pages"==n?this.Sj:"selectedIndex"==n?this.Ve:h.prototype.get.call(this,n,r)};a.prototype.TK=function(n){this.Ve!=n&&(this.Ve=n,this.Ve=Math.min(Math.max(this.Ve,-1),this.Sj.length),this.YD=!0,this.pe(),this.trigger(b.ca),this.trigger(b.F("selectedIndex")))};a.prototype.u6a=function(n){e.isEqual(this.Sj,n)||(this.Sj.forEach(function(r){r.unbind(b.dd,this.Hta,this);r.unbind(b.Tc,this.Gta,this)}.bind(this)),
3588this.Sj=n,this.Sj.forEach(function(r){r.bind(b.dd,this.Hta,this);r.bind(b.Tc,this.Gta,this)}.bind(this)),this.Haa=!0,this.pe())};a.prototype.mXa=function(n){this.YP=e(this.YP).union([n.source]);this.SZ=!0;this.pe()};a.prototype.lXa=function(n){this.YP=e(this.YP).difference([n.source]);this.SZ=!0;this.pe()};a.prototype.kXa=function(n){this.TK(e(this.XP).indexOf(n.source))};a.prototype.Hta=function(n){this.TK(this.Sj.indexOf(n.source))};a.prototype.Gta=function(n){if(this.Sj.indexOf(n.source)==this.Ve){for(n=
3589this.Sj.length-1;0<=n;n--)if(this.Sj[n].get("visible")){this.TK(n);return}this.Ve=-1;this.TK(0)}};a.prototype.Za=function(){var n=!1,r=!1,u=!1,t=!1,v=!1,w=this.B("tabsPosition"),x=this.B("tabsAlign");this.Haa&&(this.XP=[],this.wh.dEa(),this.Sg.dEa(),this.Sj.forEach(function(A){var B=new g(A);B.$D(!0);B.bind(b.cd,this.mXa,this);B.bind(b.Vb,this.lXa,this);B.bind(b.jb,this.kXa,this);this.XP.push(B);this.wh.Ua(B);A.ma({top:void 0,left:void 0,right:void 0,bottom:void 0,width:"100%",height:"100%"});this.Sg.Ua(A)}.bind(this)),
3590this.Ve=Math.min(Math.max(this.Ve,0),this.Sj.length-1),this.Haa=!1,r=n=v=!0);this.K("tabsPosition")&&(this.S("tabsPosition"),t=r=n=!0);this.YD&&(this.YD=!1,u=r=v=!0);this.SZ&&(this.SZ=!1,u=!0);this.K("overflow")&&this.wh.ma({contentOpaque:this.B("overflow")==d.Ip,overflow:this.B("overflow")});
3590e(["tabsAlign","tabsGap","tabsSize"]).forEach(function(A){this.K(A)&&(this.S(A),n=!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(A){this.K(A)&&
3591(this.S(A),t=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(A){this.K(A)&&
3592(this.S(A),r=!0)},this);e(["pagePaddingLeft","pagePaddingTop","pagePaddingRight","pagePaddingBottom"]).forEach(function(A){this.K(A)&&(this.S(A),t=!0)},this);this.K("backgroundColorDirection")&&this.S("backgroundColorDirection");if(n){switch(w){case q.Wa:this.wh.ma({left:0,right:void 0});break;case q.ob:this.wh.ma({left:void 0,right:0});break;case q.zc:this.wh.ma({bottom:void 0,top:0});break;case q.sc:this.wh.ma({bottom:0,top:void 0})}switch(w){case q.Wa:case q.ob:this.wh.ma({layout:c.Kh,top:0,bottom:0,
3593height:void 0,width:this.B("tabsSize")});switch(x){case p.cG:this.wh.set("verticalAlign",f.sc);break;case p.mja:this.wh.set("verticalAlign",f.le);break;default:this.wh.set("verticalAlign",f.zc)}break;case q.zc:case q.sc:switch(this.wh.ma({layout:c.zg,left:0,right:0,height:this.B("tabsSize"),width:void 0}),x){case p.cG:this.wh.set("horizontalAlign",f.ob);break;case p.mja:this.wh.set("horizontalAlign",f.Qe);break;default:this.wh.set("horizontalAlign",f.Wa)}}this.wh.set("gap",this.B("tabsGap"))}if(r)for(var y=
35940;y<this.Sj.length;y++){var z=this.XP[y];w==q.sc||w==q.zc?(z.ma({layout:c.zg,width:void 0,paddingLeft:this.B("tabsPadding"),paddingTop:0,paddingRight:this.B("tabsPadding"),paddingBottom:0,height:"100%",backgroundColorDirection:m.b5}),z.GFa(!1)):(z.ma({layout:c.Kh,width:"100%",paddingLeft:0,paddingTop:this.B("tabsPadding"),paddingRight:0,paddingBottom:this.B("tabsPadding"),height:void 0,backgroundColorDirection:m.C4}),z.GFa(!0));w==q.sc||w==q.ob?z.set("borderTopLeftRadius",0):z.set("borderTopLeftRadius",
3595this.B("borderTopLeftRadius","borderTopRadius","borderLeftRadius","borderRadius"));w==q.sc||w==q.Wa?z.set("borderTopRightRadius",0):z.set("borderTopRightRadius",this.B("borderTopRightRadius","borderTopRadius","borderRightRadius","borderRadius"));w==q.zc||w==q.ob?z.set("borderBottomLeftRadius",0):z.set("borderBottomLeftRadius",this.B("borderBottomLeftRadius","borderBottomRadius","borderLeftRadius","borderRadius"));w==q.zc||w==q.Wa?z.set("borderBottomRightRadius",0):z.set("borderBottomRightRadius",
3596this.B("borderBottomRightRadius","borderBottomRadius","borderRightRadius","borderRadius"));w==q.ob&&z.set("borderSize",this.B("borderRightSize","borderSize"));w==q.Wa&&z.set("borderSize",this.B("borderLeftSize","borderSize"));w==q.zc&&z.set("borderSize",this.B("borderTopSize","borderSize"));w==q.sc&&z.set("borderSize",this.B("borderBottomSize","borderSize"));switch(w){case q.Wa:var C=this.B("borderLeftColor","borderColor");break;case q.ob:C=this.B("borderRightColor","borderColor");break;case q.sc:C=
3597this.B("borderBottomColor","borderColor");break;default:case q.zc:C=this.B("borderTopColor","borderColor")}z.set("borderColor",C);z.ma({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||u)for(y=0;y<this.Sj.length;
3597y++)z=this.XP[y],u=y==this.Ve,C=e(this.YP).contains(z),
3598u?(C=this.B("selectedTabBackgroundColor","tabsBackgroundColor"),e(C).isUndefined()&&(C=this.B("backgroundColor"),C=e(C).isArray()&&0<C.length?w==q.Wa||w==q.zc?C[0]:C[C.length-1]:C),z.ma({backgroundOpacity:this.B("selectedTabBackgroundOpacity","tabsBackgroundOpacity","backgroundOpacity"),backgroundColor:C,backgroundColorRatios:this.B("selectedTabBackgroundColorRatios","tabsBackgroundColorRatios"),cursor:k.xe,fontSize:this.B("selectedTabFontSize","tabsFontSize"),fontColor:this.B("selectedTabFontColor",
3599"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",
3600"tabsTextShadowBlurRadius"),textShadowOpacity:this.B("selectedTabTextShadowOpacity","tabsTextShadowOpacity")})):C?z.ma({backgroundOpacity:this.B("tabsRollOverBackgroundOpacity","tabsBackgroundOpacity","backgroundOpacity"),backgroundColor:this.B("tabsRollOverBackgroundColor","tabsBackgroundColor"),backgroundColorRatios:this.B("tabsRollOverBackgroundColorRatios","tabsBackgroundColorRatios"),cursor:k.ye,fontSize:this.B("tabsRollOverFontSize","tabsFontSize"),fontColor:this.B("tabsRollOverFontColor","tabsFontColor"),
3601fontWeight: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",
3602"tabsTextShadowBlurRadius"),textShadowOpacity:this.B("tabsRollOverTextShadowOpacity","tabsTextShadowOpacity")}):z.ma({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"),
3603textShadowHorizontalLength:this.B("tabsTextShadowHorizontalLength"),textShadowVerticalLength:this.B("tabsTextShadowVerticalLength"),textShadowBlurRadius:this.B("tabsTextShadowBlurRadius"),textShadowOpacity:this.B("tabsTextShadowOpacity")}),z.ma({borderLeftSize:w==q.ob&&u?0:void 0,borderRightSize:w==q.Wa&&u?0:void 0,borderBottomSize:w==q.zc&&u?0:void 0,borderTopSize:w==q.sc&&u?0:void 0});if(t){y=this.B("tabsSize");switch(w){case q.Wa:this.Sg.ma({left:y-(this.B("borderLeftSize","borderSize")||0),right:0,
3604top:0,bottom:0});break;case q.ob:this.Sg.ma({left:0,right:y-(this.B("borderRightSize","borderSize")||0),top:0,bottom:0});break;case q.zc:this.Sg.ma({left:0,right:0,top:y-(this.B("borderTopSize","borderSize")||0),bottom:0});break;case q.sc:this.Sg.ma({left:0,right:0,top:0,bottom:y-(this.B("borderBottomSize","borderSize")||0)})}w==q.zc&&x==p.zL||w==q.Wa&&x==p.zL?this.Sg.set("borderTopLeftRadius",0):this.Sg.set("borderTopLeftRadius",this.B("borderTopLeftRadius","borderTopRadius","borderLeftRadius","borderRadius"));
3605w==q.zc&&x==p.cG||w==q.ob&&x==p.zL?this.Sg.set("borderTopRightRadius",0):this.Sg.set("borderTopRightRadius",this.B("borderTopRightRadius","borderTopRadius","borderRightRadius","borderRadius"));w==q.sc&&x==p.zL||w==q.Wa&&x==p.cG?this.Sg.set("borderBottomLeftRadius",0):this.Sg.set("borderBottomLeftRadius",this.B("borderBottomLeftRadius","borderBottomRadius","borderLeftRadius","borderRadius"));w==q.sc&&x==p.cG||w==q.ob&&x==p.cG?this.Sg.set("borderBottomRightRadius",0):this.Sg.set("borderBottomRightRadius",
3606this.B("borderBottomRightRadius","borderBottomRadius","borderRightRadius","borderRadius"));this.Sg.ma({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",
3607"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"),
3608backgroundColorRatios:this.B("backgroundColorRatios")});w==q.zc||w==q.sc?this.Sg.set("backgroundColorDirection",m.b5):this.Sg.set("backgroundColorDirection",m.C4)}if(v)for(y=0;y<this.Sj.length;y++)this.Sj[y].set("visible",y==this.Ve);h.prototype.Za.call(this)};return a});define("oq",["require","dc","nV"],function(a){var e=a("dc");return a("nV").define("TabPanel",e,function(){e.call(this)})});
3609define("gd",["require","lE","oA"],function(a){var e=a("lE"),l=a("oA");a=e.extend(l,function(){l.call(this);this.Ge("Page");this.set("label","")});a.prototype.tb=function(){l.prototype.tb.call(this);this.h("visible")};return a});
3609define("hc",["require","gd","nV"],function(a){var e=a("gd");return a("nV").define("TabPanelPage",e,function(){e.call(this)})});define("gI",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("TargetPanoramaCameraMovement",e,function(){e.call(this)})});
3610define("dt",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("TargetRotationalCameraDisplayMovement",e,function(){e.call(this)})});define("ig",["require","mr","nV"],function(a){var e=a("mr");return a("nV").define("TiledImageResourceLevel",e,function(){e.call(this)})});define("ng",["require","nV","ip"],function(a){var e=a("nV"),l=a("ip");return e.define("TripodCapPanoramaOverlay",l,function(){l.call(this)})});
3611define("it","require lE y pg nl cT bd d iF mv gW oA mR dz en".split(" "),function(a){var e=a("lE"),l=a("y"),m=a("pg"),k=a("nl"),b=a("cT"),h=a("bd"),f=a("d"),c=a("iF"),d=a("mv"),g=a("gW"),p=a("oA"),q=a("mR"),n=a("dz"),r=a("en"),u=e.extend(p,function(){p.call(this);this.Na=this.Xe=null;this.mC=[];this.set("ariaRole","option");this.set("autoRolledOver",!0);this.set("childrenInteractionEnabled",!1);this.set("contentOpaque",!0);this.set("creationPolicy",b.GB);this.set("cursor",h.ye)});u.prototype.tb=function(){p.prototype.tb.call(this);
3612this.h("overflow","hidden");this.h("item");this.h("thumbnailUrlFunction",this.t7);this.h("sourceProperties");this.h("labelFunction",this.r7);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");
3613this.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");
3614this.h("thumbnailShadowOpacity");this.v("rollOverBackgroundOpacity",g.X,"backgroundOpacity");this.v("rollOverBackgroundColor",g.X,"backgroundColor");this.v("rollOverBackgroundColorRatios",g.X,"backgroundColorRatios");this.v("rollOverBackgroundColorDirection",g.X,"backgroundColorDirection");this.v("rollOverBorderRadius",g.X,"borderRadius");this.v("rollOverBorderTopRadius",g.X,"borderTopRadius");this.v("rollOverBorderBottomRadius",g.X,"borderBottomRadius");this.v("rollOverBorderLeftRadius",g.X,"borderLeftRadius");
3615this.v("rollOverBorderRightRadius",g.X,"borderRightRadius");this.v("rollOverBorderTopLeftRadius",g.X,"borderTopLeftRadius");this.v("rollOverBorderTopRightRadius",g.X,"borderTopRightRadius");this.v("rollOverBorderBottomLeftRadius",g.X,"borderBottomLeftRadius");this.v("rollOverBorderBottomRightRadius",g.X,"borderBottomRightRadius");this.v("rollOverBorderSize",g.X,"borderSize");this.v("rollOverBorderLeftSize",g.X,"borderLeftSize");this.v("rollOverBorderTopSize",g.X,"borderTopSize");this.v("rollOverBorderRightSize",
3616g.X,"borderRightSize");this.v("rollOverBorderBottomSize",g.X,"borderBottomSize");this.v("rollOverBorderColor",g.X,"borderColor");this.v("rollOverBorderLeftColor",g.X,"borderLeftColor");this.v("rollOverBorderTopColor",g.X,"borderTopColor");this.v("rollOverBorderRightColor",g.X,"borderRightColor");this.v("rollOverBorderBottomColor",g.X,"borderBottomColor");this.v("rollOverLabelFontColor",g.X,"labelFontColor");this.v("rollOverLabelFontSize",g.X,"labelFontSize");this.v("rollOverLabelFontStyle",g.X,"labelFontStyle");
3617this.v("rollOverLabelFontWeight",g.X,"labelFontWeight");this.v("rollOverLabelTextDecoration",g.X,"labelTextDecoration");this.v("rollOverLabelTextShadowColor",g.X,"labelTextShadowColor");this.v("rollOverLabelTextShadowHorizontalLength",g.X,"labelTextShadowHorizontalLength");this.v("rollOverLabelTextShadowVerticalLength",g.X,"labelTextShadowVerticalLength");this.v("rollOverLabelTextShadowBlurRadius",g.X,"labelTextShadowBlurRadius");this.v("rollOverLabelTextShadowOpacity",g.X,"labelTextShadowOpacity");
3618this.v("rollOverOpacity",g.X,"opacity");this.v("rollOverPaddingLeft",g.X,"paddingLeft");this.v("rollOverPaddingTop",g.X,"paddingTop");this.v("rollOverPaddingRight",g.X,"paddingRight");this.v("rollOverPaddingBottom",g.X,"paddingBottom");this.v("rollOverShadow",g.X,"shadow");this.v("rollOverThumbnailOpacity",g.X,"thumbnailOpacity");this.v("rollOverThumbnailBorderSize",g.X,"thumbnailBorderSize");this.v("rollOverThumbnailBorderColor",g.X,"thumbnailBorderColor");this.v("rollOverThumbnailShadow",g.X,"thumbnailShadow");
3619this.v("rollOverThumbnailShadowHorizontalLength",g.X,"thumbnailShadowHorizontalLength");this.v("rollOverThumbnailShadowVerticalLength",g.X,"thumbnailShadowVerticalLength");this.v("rollOverThumbnailShadowBlurRadius",g.X,"thumbnailShadowBlurRadius");this.v("rollOverThumbnailShadowSpread",g.X,"thumbnailShadowSpread");this.v("rollOverThumbnailShadowColor",g.X,"thumbnailShadowColor");this.v("rollOverThumbnailShadowOpacity",g.X,"thumbnailShadowOpacity");
3619this.v("selectedBackgroundOpacity",g.ea,"backgroundOpacity");
3620this.v("selectedBackgroundColor",g.ea,"backgroundColor");this.v("selectedBackgroundColorRatios",g.ea,"backgroundColorRatios");this.v("selectedBackgroundColorDirection",g.ea,"backgroundColorDirection");this.v("selectedBorderRadius",g.ea,"borderRadius");this.v("selectedBorderTopRadius",g.ea,"borderTopRadius");this.v("selectedBorderBottomRadius",g.ea,"borderBottomRadius");this.v("selectedBorderLeftRadius",g.ea,"borderLeftRadius");this.v("selectedBorderRightRadius",g.ea,"borderRightRadius");this.v("selectedBorderTopLeftRadius",
3621g.ea,"borderTopLeftRadius");this.v("selectedBorderTopRightRadius",g.ea,"borderTopRightRadius");this.v("selectedBorderBottomLeftRadius",g.ea,"borderBottomLeftRadius");this.v("selectedBorderBottomRightRadius",g.ea,"borderBottomRightRadius");this.v("selectedBorderSize",g.ea,"borderSize");this.v("selectedBorderLeftSize",g.ea,"borderLeftSize");this.v("selectedBorderTopSize",g.ea,"borderTopSize");this.v("selectedBorderRightSize",g.ea,"borderRightSize");this.v("selectedBorderBottomSize",g.ea,"borderBottomSize");
3622this.v("selectedBorderColor",g.ea,"borderColor");this.v("selectedBorderLeftColor",g.ea,"borderLeftColor");this.v("selectedBorderTopColor",g.ea,"borderTopColor");this.v("selectedBorderRightColor",g.ea,"borderRightColor");this.v("selectedBorderBottomColor",g.ea,"borderBottomColor");this.v("selectedLabelFontColor",g.ea,"labelFontColor");this.v("selectedLabelFontSize",g.ea,"labelFontSize");this.v("selectedLabelFontStyle",g.ea,"labelFontStyle");this.v("selectedLabelFontWeight",g.ea,"labelFontWeight");
3623this.v("selectedLabelTextDecoration",g.ea,"labelTextDecoration");this.v("selectedLabelTextShadowColor",g.ea,"labelTextShadowColor");this.v("selectedLabelTextShadowHorizontalLength",g.ea,"labelTextShadowHorizontalLength");this.v("selectedLabelTextShadowVerticalLength",g.ea,"labelTextShadowVerticalLength");this.v("selectedLabelTextShadowBlurRadius",g.ea,"labelTextShadowBlurRadius");this.v("selectedLabelTextShadowOpacity",g.ea,"labelTextShadowOpacity");this.v("selectedOpacity",g.ea,"opacity");this.v("selectedPaddingLeft",
3624g.ea,"paddingLeft");this.v("selectedPaddingTop",g.ea,"paddingTop");this.v("selectedPaddingRight",g.ea,"paddingRight");this.v("selectedPaddingBottom",g.ea,"paddingBottom");this.v("selectedShadow",g.ea,"shadow");this.v("selectedThumbnailOpacity",g.ea,"thumbnailOpacity");this.v("selectedThumbnailBorderSize",g.ea,"thumbnailBorderSize");this.v("selectedThumbnailBorderColor",g.ea,"thumbnailBorderColor");this.v("selectedThumbnailShadow",g.ea,"thumbnailShadow");this.v("selectedThumbnailShadowHorizontalLength",
3625g.ea,"thumbnailShadowHorizontalLength");this.v("selectedThumbnailShadowVerticalLength",g.ea,"thumbnailShadowVerticalLength");this.v("selectedThumbnailShadowBlurRadius",g.ea,"thumbnailShadowBlurRadius");this.v("selectedThumbnailShadowSpread",g.ea,"thumbnailShadowSpread");this.v("selectedThumbnailShadowColor",g.ea,"thumbnailShadowColor");this.v("selectedThumbnailShadowOpacity",g.ea,"thumbnailShadowOpacity")};u.prototype.YS=function(t){this.AP(t)};u.prototype.Db=function(){p.prototype.Db.call(this);
3626this.Xe||(this.Xe=new q,this.Ua(this.Xe),this.Xe.set("horizontalAlign",k.Qe),this.Xe.set("verticalAlign",k.le),this.Xe.bind(m.Z,this.Tca,this));this.Na||(this.Na=new n,this.Ua(this.Na))};u.prototype.t7=function(t){if(r(t).isString())return t;if(t&&t.Pia)return t.Pia};u.prototype.r7=function(t){if(t&&t.label)return t.label};u.prototype.Pu=function(){return this.Na&&this.Na.get("text")||p.prototype.Pu.call(this)};u.prototype.Za=function(){if(this.K("sourceProperties")||this.K("item")){for(;this.mC.length;)this.mC.pop().dB();
3627var t=this.B("sourceProperties"),v=this.B("item");t&&v&&t.forEach(function(x){this.mC.push(l.cu(v,x,this.raa,this,!0))}.bind(this))}if(this.K("sourceProperties")||this.K("item")||this.K("tooltipFunction"))v=this.B("item"),t=this.B("tooltipFunction")(v),this.set("toolTip",t);if(this.K("sourceProperties")||this.K("item")||this.K("thumbnailUrlFunction"))v=this.B("item"),(t=this.B("thumbnailUrlFunction")(v))?this.Xe.get("url")!=t&&this.Xe.ma({url:t,visible:!0,opacity:.5}):this.Xe.ma({url:void 0,visible:!1}),
3628this.S("thumbnailUrlFunction");if(this.K("sourceProperties")||this.K("item")||this.K("labelFunction"))v=this.B("item"),t=this.B("labelFunction")(v),this.Na.ma({text:t,visible:t?!0:!1}
3628),this.S("labelFunction");this.S("item");this.S("sourceProperties");if(this.K("labelPosition")||this.K("listLayout")||this.K("thumbnailWidth")||this.K("thumbnailHeight")){var w=this;t=function(x,y){x=w.B(x);return void 0!==x?x:y};switch(this.B("labelPosition")){case c.Wa:case c.ob:this.set("layout",f.zg);this.Na.set("width",
3629"100%");this.Xe.ma({height:t("thumbnailHeight","100%"),width:t("thumbnailWidth"),scaleMode:t("thumbnailScaleMode",d.nk)});break;default:this.set("layout",f.Kh),this.Na.set("width","100%"),this.Xe.ma({height:t("thumbnailHeight","100%"),width:t("thumbnailWidth","100%"),scaleMode:t("thumbnailScaleMode",d.nk)})}switch(this.B("labelPosition")){case c.Wa:case c.zc:this.Pn(this.Na,0);break;default:this.Pn(this.Na,1)}this.S("labelPosition")}this.qc(u.p5,u.tla,[this],!0,!0);this.qc(u.r5,u.wla,[this.Xe],!0,
3630!0);this.qc(u.q5,u.vla,[this.Na],!0,!0);p.prototype.Za.call(this)};u.prototype.raa=function(){this.bE("item")};u.prototype.ZD=function(t){p.prototype.ZD.call(this,t)};u.prototype.Tca=function(){this.Xe.set("opacity",1)};u.tla={labelGap:"gap"};u.p5=r(u.tla).keys();u.vla={labelFontFamily:"fontFamily",labelFontColor:"fontColor",labelFontSize:"fontSize",labelFontStyle:"fontStyle",labelFontWeight:"fontWeight",labelHorizontalAlign:"horizontalAlign",labelMaxWidth:"maxWidth",labelTextDecoration:"textDecoration",
3631labelTextShadowColor:"textShadowColor",labelTextShadowHorizontalLength:"textShadowHorizontalLength",labelTextShadowVerticalLength:"textShadowVerticalLength",labelTextShadowBlurRadius:"textShadowBlurRadius",labelTextShadowOpacity:"textShadowOpacity"};u.q5=r(u.vla).keys();u.wla={thumbnailMaxWidth:"maxWidth",thumbnailMaxHeight:"maxHeight",thumbnailBorderRadius:"borderRadius",thumbnailOpacity:"opacity",thumbnailBorderSize:"borderSize",thumbnailBorderColor:"borderColor",thumbnailShadow:"shadow",thumbnailShadowHorizontalLength:"shadowHorizontalLength",
3632thumbnailShadowVerticalLength:"shadowVerticalLength",thumbnailShadowBlurRadius:"shadowBlurRadius",thumbnailShadowSpread:"shadowSpread",thumbnailShadowColor:"shadowColor",thumbnailShadowOpacity:"shadowOpacity"};u.r5=r(u.wla).keys();return u});
3633define("bU","require lE cC nl pg d hY iF oA it jg".split(" "),function(a){var e=a("lE"),l=a("cC"),m=a("nl"),k=a("pg"),b=a("d"),h=a("hY"),f=a("iF"),c=a("oA"),d=a("it"),g=a("jg"),p=e.extend(c,function(){c.call(this);this.set("contentOpaque",!0);this.set("ariaRole","listbox")});p.prototype.tb=function(){c.prototype.tb.call(this);this.h("layout",b.Wx);this.h("selectedIndex",-1);this.h("items",[]);this.h("overflow",h.Ip);this.h("itemHorizontalAlign",m.Qe);this.h("itemLabelFontFamily");this.h("itemLabelPosition",
3634f.sc);this.h("itemLabelFunction");this.h("itemLabelMaxWidth");this.h("itemLabelGap");this.h("itemLabelHorizontalAlign",m.Qe);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.le);
3634this.h("itemBackgroundOpacity");this.h("itemBackgroundColor");
3635this.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");
3636this.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");
3637this.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");
3638this.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");
3639this.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");
3640this.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");
3641this.h("rollOverItemThumbnailBorderColor");this.h("rollOverItemThumbnailShadow");this.h("rollOverItemThumbnailShadowHorizontalLength");this.h("rollOverItemThumbnailShadowVerticalLength");this.h("rollOverItemThumbnailShadowBlurRadius");this.h("rollOverItemThumbnailShadowSpread");this.h("rollOverItemThumbnailShadowColor");this.h("rollOverItemThumbnailShadowOpacity");
3641this.h("selectedItemBackgroundOpacity");this.h("selectedItemBackgroundColor");this.h("selectedItemBackgroundColorRatios");this.h("selectedItemBackgroundColorDirection");
3642this.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");
3643this.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");
3644this.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");
3645this.h("selectedItemThumbnailShadowVerticalLength");this.h("selectedItemThumbnailShadowBlurRadius");this.h("selectedItemThumbnailShadowSpread");this.h("selectedItemThumbnailShadowColor");this.h("selectedItemThumbnailShadowOpacity")};p.prototype.sN=function(q){this.Vo=!0;this.set("selectedIndex",this.J8(q.source))};p.prototype.J8=function(q){for(var n=this.mb(),r=0;r<n.length;r++)if(n[r]==q)return r;return-1};p.prototype.Za=function(){this.K("layout")&&this.B("layout")!=b.Wx&&this.set("layout",b.Wx);
3646var q=!1;if(this.K("items")){q=!0;var n=this.B("items")||[],r=this.mb();if(r.length<n.length){for(var u=r.length;u<n.length;u++)r=new d,r.bind(k.qa,this.sN,this),this.qc(p.LL,p.TB,[r],!1,!1),this.qc(p.ML,p.UB,[r],!1,!1),this.Ua(r);r=this.mb()}if(r.length>n.length){for(u=n.length;u<r.length;u++){var t=r[u];t.unbind(k.qa,this.sN,this);this.removeChild(t)}r=this.mb()}for(u=0;u<n.length;u++)r[u].set("item",n[u]);this.S("items")}if(this.K("selectedIndex")||q){n=this.mb();q=Math.min(n.length-1,Math.max(-1,
3647this.B("selectedIndex")));this.set("selectedIndex",q);for(u=0;u<n.length;u++)n[u].YS(u==q);this.S("selectedIndex");this.Vo&&(this.Vo=!1,this.trigger(new l(k.ca)))}this.qc(p.LL,p.TB,this.mb(),!0,!1);this.qc(p.ML,p.UB,this.mb(),!0,!0);c.prototype.Za.call(this)};p.prototype.hk=function(){c.prototype.hk.call(this);g.VZa(this,this.mb().map(function(q){return q.ee()}),this.Kl.Nua,this.Kl.dna)};p.TB={layout:"listLayout",shadowHorizontalLength:"shadowHorizontalLength",shadowVerticalLength:"shadowVerticalLength",
3648shadowBlurRadius:"shadowBlurRadius",shadowSpread:"shadowSpread",shadowOpacity:"shadowOpacity",shadowColor:"shadowColor"};p.UB={itemHorizontalAlign:"horizontalAlign",itemLabelFunction:"labelFunction",itemLabelFontFamily:"labelFontFamily",itemLabelGap:"labelGap",itemLabelHorizontalAlign:"labelHorizontalAlign",itemLabelMaxWidth:"labelMaxWidth",itemLabelPosition:"labelPosition",itemSourceProperties:"sourceProperties",itemThumbnailBorderRadius:"thumbnailBorderRadius",itemThumbnailScaleMode:"thumbnailScaleMode",
3649itemThumbnailHeight:"thumbnailHeight",itemThumbnailWidth:"thumbnailWidth",itemThumbnailMaxHeight:"thumbnailMaxHeight",itemThumbnailMaxWidth:"thumbnailMaxWidth",itemThumbnailUrlFunction:"thumbnailUrlFunction",itemTooltipFunction:"tooltipFunction",itemVerticalAlign:"verticalAlign",itemBackgroun
3649dOpacity:"backgroundOpacity",itemBackgroundColor:"backgroundColor",itemBackgroundColorRatios:"backgroundColorRatios",itemBackgroundColorDirection:"backgroundColorDirection",itemBorderRadius:"borderRadius",itemBorderTopRadius:"borderTopRadius",
3650itemBorderBottomRadius:"borderBottomRadius",itemBorderLeftRadius:"borderLeftRadius",itemBorderRightRadius:"borderRightRadius",itemBorderTopLeftRadius:"borderTopLeftRadius",itemBorderTopRightRadius:"borderTopRightRadius",itemBorderBottomLeftRadius:"borderBottomLeftRadius",itemBorderBottomRightRadius:"borderBottomRightRadius",itemBorderSize:"borderSize",itemBorderLeftSize:"borderLeftSize",itemBorderTopSize:"borderTopSize",itemBorderRightSize:"borderRightSize",itemBorderBottomSize:"borderBottomSize",
3651itemBorderColor:"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",
3652itemLabelTextShadowBlurRadius:"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",
3653itemThumbnailShadowVerticalLength:"thumbnailShadowVerticalLength",itemThumbnailShadowBlurRadius:"thumbnailShadowBlurRadius",itemThumbnailShadowSpread:"thumbnailShadowSpread",itemThumbnailShadowColor:"thumbnailShadowColor",itemThumbnailShadowOpacity:"thumbnailShadowOpacity",rollOverItemBackgroun
3653dOpacity:"rollOverBackgroundOpacity",rollOverItemBackgroundColor:"rollOverBackgroundColor",rollOverItemBackgroundColorRatios:"rollOverBackgroundColorRatios",rollOverItemBackgroundColorDirection:"rollOverBackgroundColorDirection",
3654rollOverItemBorderRadius:"rollOverBorderRadius",rollOverItemBorderTopRadius:"rollOverBorderTopRadius",rollOverItemBorderBottomRadius:"rollOverBorderBottomRadius",rollOverItemBorderLeftRadius:"rollOverBorderLeftRadius",rollOverItemBorderRightRadius:"rollOverBorderRightRadius",rollOverItemBorderTopLeftRadius:"rollOverBorderTopLeftRadius",rollOverItemBorderTopRightRadius:"rollOverBorderTopRightRadius",rollOverItemBorderBottomLeftRadius:"rollOverBorderBottomLeftRadius",rollOverItemBorderBottomRightRadius:"rollOverBorderBottomRightRadius",
3655rollOverItemBorderSize:"rollOverBorderSize",rollOverItemBorderLeftSize:"rollOverBorderLeftSize",rollOverItemBorderTopSize:"rollOverBorderTopSize",rollOverItemBorderRightSize:"rollOverBorderRightSize",rollOverItemBorderBottomSize:"rollOverBorderBottomSize",rollOverItemBorderColor:"rollOverBorderColor",rollOverItemBorderLeftColor:"rollOverBorderLeftColor",rollOverItemBorderTopColor:"rollOverBorderTopColor",rollOverItemBorderRightColor:"rollOverBorderRightColor",rollOverItemBorderBottomColor:"rollOverBorderBottomColor",
3656rollOverItemLabelFontColor:"rollOverLabelFontColor",rollOverItemLabelFontSize:"rollOverLabelFontSize",rollOverItemLabelFontStyle:"rollOverLabelFontStyle",rollOverItemLabelFontWeight:"rollOverLabelFontWeight",rollOverItemLabelTextDecoration:"rollOverLabelTextDecoration",rollOverItemLabelTextShadowColor:"rollOverLabelTextShadowColor",rollOverItemLabelTextShadowHorizontalLength:"rollOverLabelTextShadowHorizontalLength",rollOverItemLabelTextShadowVerticalLength:"rollOverLabelTextShadowVerticalLength",
3657rollOverItemLabelTextShadowBlurRadius:"rollOverLabelTextShadowBlurRadius",rollOverItemLabelTextShadowOpacity:"rollOverLabelTextShadowOpacity",rollOverItemOpacity:"rollOverOpacity",rollOverItemPaddingLeft:"rollOverPaddingLeft",rollOverItemPaddingTop:"rollOverPaddingTop",rollOverItemPaddingRight:"rollOverPaddingRight",rollOverItemPaddingBottom:"rollOverPaddingBottom",rollOverItemShadow:"rollOverShadow",rollOverItemThumbnailOpacity:"rollOverThumbnailOpacity",rollOverItemThumbnailBorderSize:"rollOverThumbnailBorderSize",
3658rollOverItemThumbnailBorderColor:"rollOverThumbnailBorderColor",rollOverItemThumbnailShadow:"rollOverThumbnailShadow",rollOverItemThumbnailShadowHorizontalLength:"rollOverThumbnailShadowHorizontalLength",rollOverItemThumbnailShadowVerticalLength:"rollOverThumbnailShadowVerticalLength",rollOverItemThumbnailShadowBlurRadius:"rollOverThumbnailShadowBlurRadius",rollOverItemThumbnailShadowSpread:"rollOverThumbnailShadowSpread",rollOverItemThumbnailShadowColor:"rollOverThumbnailShadowColor",rollOverItemThumbnailShadowOpacity:"rollOverThumbnailShadowOpacity",
3659selectedItemBackgroundOpacity:"selectedBackgroundOpacity",selectedItemBackgroundColor:"selectedBackgroundColor",selectedItemBackgroundColorRatios:"selectedBackgroundColorRatios",selectedItemBackgroundColorDirection:"selectedBackgroundColorDirection",selectedItemBorderRadius:"selectedBorderRadius",selectedItemBorderTopRadius:"selectedBorderTopRadius",selectedItemBorderBottomRadius:"selectedBorderBottomRadius",selectedItemBorderLeftRadius:"selectedBorderLeftRadius",selectedItemBorderRightRadius:"selectedBorderRightRadius",
3660selectedItemBorderTopLeftRadius:"selectedBorderTopLeftRadius",selectedItemBorderTopRightRadius:"selectedBorderTopRightRadius",selectedItemBorderBottomLeftRadius:"selectedBorderBottomLeftRadius",selectedItemBorderBottomRightRadius:"selectedBorderBottomRightRadius",selectedItemBorderSize:"selectedBorderSize",selectedItemBorderLeftSize:"selectedBorderLeftSize",selectedItemBorderTopSize:"selectedBorderTopSize",selectedItemBorderRightSize:"selectedBorderRightSize",selectedItemBorderBottomSize:"selectedBorderBottomSize",
3661selectedItemBorderColor:"selectedBorderColor",selectedItemBorderLeftColor:"selectedBorderLeftColor",selectedItemBorderTopColor:"selectedBorderTopColor",selectedItemBorderRightColor:"selectedBorderRightColor",selectedItemBorderBottomColor:"selectedBorderBottomColor",selectedItemLabelFontColor:"selectedLabelFontColor",selectedItemLabelFontSize:"selectedLabelFontSize",selectedItemLabelFontStyle:"selectedLabelFontStyle",selectedItemLabelFontWeight:"selectedLabelFontWeight",selectedItemLabelTextDecoration:"selectedLabelTextDecoration",
3662selectedItemLabelTextShadowColor:"selectedLabelTextShadowColor",selectedItemLabelTextShadowHorizontalLength:"selectedLabelTextShadowHorizontalLength",selectedItemLabelTextShadowVerticalLength:"selectedLabelTextShadowVerticalLength",selectedItemLabelTextShadowBlurRadius:"selectedLabelTextShadowBlurRadius",selectedItemLabelTextShadowOpacity:"selectedLabelTextShadowOpacity",selectedItemOpacity:"selectedOpacity",selectedItemPaddingLeft:"selectedPaddingLeft",selectedItemPaddingTop:"selectedPaddingTop",
3663selectedItemPaddingRight:"selectedPaddingRight",selectedItemPaddingBottom:"selectedPaddingBottom",selectedItemShadow:"selectedShadow",selectedItemThumbnailOpacity:"selectedThumbnailOpacity",selectedItemThumbnailBorderSize:"selectedThumbnailBorderSize",selectedItemThumbnailBorderColor:"selectedThumbnailBorderColor",selectedItemThumbnailShadow:"selectedThumbnailShadow",selectedItemThumbnailShadowHorizontalLength:"selectedThumbnailShadowHorizontalLength",selectedItemThumbnailShadowVerticalLength:"selectedThumbnailShadowVerticalLength",
3664selectedItemThumbnailShadowBlurRadius:"selectedThumbnailShadowBlurRadius",selectedItemThumbnailShadowSpread:"selectedThumbnailShadowSpread",selectedItemThumbnailShadowColor:"selectedThumbnailShadowColor",selectedItemThumbnailShadowOpacity:"selectedThumbnailShadowOpacity",tabIndex:"tabIndex",toolTipBackgroundColor:"toolTipBackgroundColor",toolTipBackgroundOpacity:"toolTipBackgroundOpacity",toolTipBorderRadius:"toolTipBorderRadius",toolTipBorderColor:"toolTipBorderColor",toolTipBorderSize:"toolTipBorderSize",
3665toolTipDisplayTime:"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",
3666toolTipShadowOpacity:"toolTipShadowOpacity",toolTipShadowSpread:"toolTipShadowSpread",toolTipShadowVerticalLength:"toolTipShadowVerticalLength",toolTipOpacity:"toolTipOpacity",toolTipTextShadowBlurRadius:"toolTipTextShadowBlurRadius",toolTipTextShadowColor:"toolTipTextShadowColor",toolTipTextShadowHorizontalLength:"toolTipTextShadowHorizontalLength",toolTipTextShadowOpacity:"toolTipTextShadowOpacity",toolTipTextShadowVerticalLength:"toolTipTextShadowVerticalLength"};p.LL=Object.keys(p.TB);p.ML=Object.keys(p.UB);
3667return p});
3668define("kt","require pg bU nV jX ek bR".split(" "),function(a){var e=a("pg"),l=a("bU"),m=a("nV"),k=a("jX"),b=a("ek"),h=a("bR");
3668a=m.define("ThumbnailGrid",l,function(){l.call(this);this.wd=null;this.set("itemMode","normal");this.hq=!1;this.dM=new k(this,"buttonScrollDown",b.ze);this.dM.bind(e.qa,this.zEa,this);this.eM=new k(this,"buttonScrollLeft",b.ze);this.eM.bind(e.qa,this.scrollLeft,this);this.fM=new k(this,"buttonScrollRight",b.ze);this.fM.bind(e.qa,this.AEa,this);this.gM=new k(this,"buttonScrollUp",
3669b.ze);this.gM.bind(e.qa,this.BEa,this);this.bind(e.ca,this.eTa,this)});a.prototype.hk=function(){l.prototype.hk.call(this);this.qE()};a.prototype.Dw=function(){l.prototype.Dw.call(this);this.qE()};a.prototype.qE=function(){this.dM.set("visible",!this.hq||this.IU());this.gM.set("visible",!this.hq||this.LU());this.eM.set("visible",!this.hq||this.JU());this.fM.set("visible",!this.hq||this.KU())};a.prototype.set=function(f,c){if("itemMode"==f)switch(c){case "thumbnail-only":this.set("itemLabelFunction",
3670this.Gv);this.set("itemThumbnailUrlFunction",this.uN);this.set("itemTooltipFunction",this.eD);this.set("itemSourceProperties",["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"]);break;case "label-only":this.set("itemLabelFunction",this.eD);this.set("itemThumbnailUrlFunction",this.Gv);this.set("itemTooltipFunction",this.Gv);this.set("itemSourceProperties",["label","media.label"]);break;default:this.set("itemLabelFunction",this.eD),this.set("itemThumbnailUrlFunction",this.uN),
3671this.set("itemTooltipFunction",this.Gv),this.set("itemSourceProperties",["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"])}else"playList"==f?(this.wd&&this.wd.unbind("change",this.Wv,this),(this.wd=c)?(this.set("items",this.wd.get("items")),this.set("selectedIndex",this.wd.get("selectedIndex")),this.wd.bind("change",this.Wv,this,!0)):this.set("items",[])):"hideScrollButtons"==f?(this.hq=c,this.qE()):l.prototype.set.call(this,f,c)};a.prototype.get=function(f,c){switch(f){case "playList":return this.wd;
3672default:return l.prototype.get.call(this,f,c)}};a.prototype.Wv=function(){this.set("items",this.wd.get("items"));this.set("selectedIndex",this.wd.get("selectedIndex"))};a.prototype.eTa=function(){this.wd&&this.wd.set("selectedIndex",this.get("selectedIndex"))};a.prototype.Gv=function(){};a.prototype.eD=function(f){return f.get("label")||f.get("media").get("label")};a.prototype.uN=function(f){f=f.get("media");var c=f.get("thumbnailUrl");f.get("flipImageHorizontally")&&(c=h.oya(c));return c};return a});
3673define("kP","require lE y pg nl cT bd d iF mv gW oA mR dz en".split(" "),function(a){var e=a("lE"),l=a("y"),m=a("pg"),k=a("nl"),b=a("cT"),h=a("bd"),f=a("d"),c=a("iF"),d=a("mv"),g=a("gW"),p=a("oA"),q=a("mR"),n=a("dz"),r=a("en"),u=e.extend(p,function(){p.call(this);this.Na=this.Xe=null;this.mC=[];this.set("ariaRole","option");this.set("autoRolledOver",!0);this.set("childrenInteractionEnabled",!1);this.set("contentOpaque",!0);this.set("creationPolicy",b.GB);this.set("cursor",h.ye)});u.prototype.tb=function(){p.prototype.tb.call(this);
3674this.h("listLayout");this.h("overflow","hidden");this.h("item");this.h("thumbnailUrlFunction",this.t7);this.h("sourceProperties");this.h("labelFunction",this.r7);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");
3675this.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");
3676this.h("thumbnailShadowOpacity");this.v("rollOverBackgroundOpacity",g.X,"backgroundOpacity");
3676this.v("rollOverBackgroundColor",g.X,"backgroundColor");this.v("rollOverBackgroundColorRatios",g.X,"backgroundColorRatios");this.v("rollOverBackgroundColorDirection",g.X,"backgroundColorDirection");this.v("rollOverBorderRadius",g.X,"borderRadius");this.v("rollOverBorderTopRadius",g.X,"borderTopRadius");this.v("rollOverBorderBottomRadius",g.X,"borderBottomRadius");this.v("rollOverBorderLeftRadius",g.X,"borderLeftRadius");
3677this.v("rollOverBorderRightRadius",g.X,"borderRightRadius");this.v("rollOverBorderTopLeftRadius",g.X,"borderTopLeftRadius");this.v("rollOverBorderTopRightRadius",g.X,"borderTopRightRadius");this.v("rollOverBorderBottomLeftRadius",g.X,"borderBottomLeftRadius");this.v("rollOverBorderBottomRightRadius",g.X,"borderBottomRightRadius");this.v("rollOverBorderSize",g.X,"borderSize");this.v("rollOverBorderLeftSize",g.X,"borderLeftSize");this.v("rollOverBorderTopSize",g.X,"borderTopSize");this.v("rollOverBorderRightSize",
3678g.X,"borderRightSize");this.v("rollOverBorderBottomSize",g.X,"borderBottomSize");this.v("rollOverBorderColor",g.X,"borderColor");this.v("rollOverBorderLeftColor",g.X,"borderLeftColor");this.v("rollOverBorderTopColor",g.X,"borderTopColor");this.v("rollOverBorderRightColor",g.X,"borderRightColor");this.v("rollOverBorderBottomColor",g.X,"borderBottomColor");this.v("rollOverLabelFontColor",g.X,"labelFontColor");this.v("rollOverLabelFontSize",g.X,"labelFontSize");this.v("rollOverLabelFontStyle",g.X,"labelFontStyle");
3679this.v("rollOverLabelFontWeight",g.X,"labelFontWeight");this.v("rollOverLabelTextDecoration",g.X,"labelTextDecoration");this.v("rollOverLabelTextShadowColor",g.X,"labelTextShadowColor");this.v("rollOverLabelTextShadowHorizontalLength",g.X,"labelTextShadowHorizontalLength");this.v("rollOverLabelTextShadowVerticalLength",g.X,"labelTextShadowVerticalLength");this.v("rollOverLabelTextShadowBlurRadius",g.X,"labelTextShadowBlurRadius");this.v("rollOverLabelTextShadowOpacity",g.X,"labelTextShadowOpacity");
3680this.v("rollOverOpacity",g.X,"opacity");this.v("rollOverPaddingLeft",g.X,"paddingLeft");this.v("rollOverPaddingTop",g.X,"paddingTop");this.v("rollOverPaddingRight",g.X,"paddingRight");this.v("rollOverPaddingBottom",g.X,"paddingBottom");this.v("rollOverShadow",g.X,"shadow");this.v("rollOverThumbnailOpacity",g.X,"thumbnailOpacity");this.v("rollOverThumbnailBorderSize",g.X,"thumbnailBorderSize");this.v("rollOverThumbnailBorderColor",g.X,"thumbnailBorderColor");this.v("rollOverThumbnailShadow",g.X,"thumbnailShadow");
3681this.v("rollOverThumbnailShadowHorizontalLength",g.X,"thumbnailShadowHorizontalLength");this.v("rollOverThumbnailShadowVerticalLength",g.X,"thumbnailShadowVerticalLength");this.v("rollOverThumbnailShadowBlurRadius",g.X,"thumbnailShadowBlurRadius");this.v("rollOverThumbnailShadowSpread",g.X,"thumbnailShadowSpread");this.v("rollOverThumbnailShadowColor",g.X,"thumbnailShadowColor");this.v("rollOverThumbnailShadowOpacity",g.X,"thumbnailShadowOpacity");this.v("selectedBackgroundOpacity",g.ea,"backgroundOpacity");
3682this.v("selectedBackgroundColor",g.ea,"backgroundColor");this.v("selectedBackgroundColorRatios",g.ea,"backgroundColorRatios");this.v("selectedBackgroundColorDirection",g.ea,"backgroundColorDirection");this.v("selectedBorderRadius",g.ea,"borderRadius");this.v("selectedBorderTopRadius",g.ea,"borderTopRadius");this.v("selectedBorderBottomRadius",g.ea,"borderBottomRadius");this.v("selectedBorderLeftRadius",g.ea,"borderLeftRadius");this.v("selectedBorderRightRadius",g.ea,"borderRightRadius");this.v("selectedBorderTopLeftRadius",
3683g.ea,"borderTopLeftRadius");this.v("selectedBorderTopRightRadius",g.ea,"borderTopRightRadius");this.v("selectedBorderBottomLeftRadius",g.ea,"borderBottomLeftRadius");this.v("selectedBorderBottomRightRadius",g.ea,"borderBottomRightRadius");this.v("selectedBorderSize",g.ea,"borderSize");this.v("selectedBorderLeftSize",g.ea,"borderLeftSize");this.v("selectedBorderTopSize",g.ea,"borderTopSize");this.v("selectedBorderRightSize",g.ea,"borderRightSize");this.v("selectedBorderBottomSize",g.ea,"borderBottomSize");
3684this.v("selectedBorderColor",g.ea,"borderColor");this.v("selectedBorderLeftColor",g.ea,"borderLeftColor");this.v("selectedBorderTopColor",g.ea,"borderTopColor");this.v("selectedBorderRightColor",g.ea,"borderRightColor");this.v("selectedBorderBottomColor",g.ea,"borderBottomColor");this.v("selectedLabelFontColor",g.ea,"labelFontColor");this.v("selectedLabelFontSize",g.ea,"labelFontSize");this.v("selectedLabelFontStyle",g.ea,"labelFontStyle");this.v("selectedLabelFontWeight",g.ea,"labelFontWeight");
3685this.v("selectedLabelTextDecoration",g.ea,"labelTextDecoration");this.v("selectedLabelTextShadowColor",g.ea,"labelTextShadowColor");this.v("selectedLabelTextShadowHorizontalLength",g.ea,"labelTextShadowHorizontalLength");this.v("selectedLabelTextShadowVerticalLength",g.ea,"labelTextShadowVerticalLength");this.v("selectedLabelTextShadowBlurRadius",g.ea,"labelTextShadowBlurRadius");this.v("selectedLabelTextShadowOpacity",g.ea,"labelTextShadowOpacity");this.v("selectedOpacity",g.ea,"opacity");this.v("selectedPaddingLeft",
3686g.ea,"paddingLeft");this.v("selectedPaddingTop",g.ea,"paddingTop");this.v("selectedPaddingRight",g.ea,"paddingRight");this.v("selectedPaddingBottom",g.ea,"paddingBottom");this.v("selectedShadow",g.ea,"shadow");this.v("selectedThumbnailOpacity",g.ea,"thumbnailOpacity");this.v("selectedThumbnailBorderSize",g.ea,"thumbnailBorderSize");this.v("selectedThumbnailBorderColor",g.ea,"thumbnailBorderColor");this.v("selectedThumbnailShadow",g.ea,"thumbnailShadow");this.v("selectedThumbnailShadowHorizontalLength",
3687g.ea,"thumbnailShadowHorizontalLength");this.v("selectedThumbnailShadowVerticalLength",g.ea,"thumbnailShadowVerticalLength");this.v("selectedThumbnailShadowBlurRadius",g.ea,"thumbnailShadowBlurRadius");this.v("selectedThumbnailShadowSpread",g.ea,"thumbnailShadowSpread");this.v("selectedThumbnailShadowColor",g.ea,"thumbnailShadowColor");this.v("selectedThumbnailShadowOpacity",g.ea,"thumbnailShadowOpacity")};u.prototype.YS=function(t){this.AP(t)};u.prototype.Db=function(){p.prototype.Db.call(this);
3688this.Xe||(this.Xe=new q,this.Ua(this.Xe),this.Xe.set("horizontalAlign",k.Qe),this.Xe.set("verticalAlign",k.le),this.Xe.bind(m.Z,this.Tca,this));this.Na||(this.Na=new n,this.Ua(this.Na))};u.prototype.t7=function(t){if(r(t).isString())return t;if(t&&t.Pia)return t.Pia};u.prototype.r7=function(t){if(t&&t.label)return t.label};u.prototype.Pu=function(){return this.Na&&this.Na.get("text")||p.prototype.Pu.call(this)};u.prototype.Za=function(){if(this.K("sourceProperties")||this.K("item")){for(;this.mC.length;)this.mC.pop().dB();
3689var t=this.B("sourceProperties"),v=this.B("item");t&&v&&t.forEach(function(x){this.mC.push(l.cu(v,x,this.raa,this,!0))}.bind(this))}if(this.K("sourceProperties")||this.K("item")||this.K("tooltipFunction"))v=this.B("item"),t=this.B("tooltipFunction")(v),this.set("toolTip",t);if(this.K("sourceProperties")||this.K("item")||this.K("thumbnailUrlFunction"))v=this.B("item"),(t=this.B("thumbnailUrlFunction")(v))?this.Xe.get("url")!=t&&this.Xe.ma({url:t,visible:!0,opacity:.5}):this.Xe.ma({url:void 0,visible:!1}),
3690this.S("thumbnailUrlFunction");if(this.K("sourceProperties")||this.K("item")||this.K("labelFunction"))v=this.B("item"),t=this.B("labelFunction")(v),this.Na.ma({text:t,visible:t?!0:!1}),this.S("labelFunction");this.S("sourceProperties");this.S("item");if(this.K("listLayout"))switch(this.B("listLayout")){case f.Kh:this.ma({width:"100%",height:void 0});break;default:this.ma({height:"100%",width:void 0})}if(this.K("labelPosition")||this.K("listLayout")||this.K("thumbnailWidth")||this.K("thumbnailHeight")){var w=
3691this;t=function(x,y){x=w.B(x);void 0===x&&(x=y);return x};switch(this.B("labelPosition")){case c.Wa:case c.ob:this.set("layout",f.zg);this.Na.set("width","100%");switch(this.B("listLayout")){case f.Kh:this.Xe.ma({height:t("thumbnailHeight"),width:t("thumbnailWidth"),scaleMode:t("thumbnailScaleMode",d.nk)});break;default:this.Xe.ma({height:t("thumbnailHeight","100%"),width:t("thumbnailWidth"),scaleMode:t("thumbnailScaleMode",d.nk)})}break;default:switch(this.set("layout",f.Kh),this.Na.set("width",
3692void 0),this.B("listLayout")){case f.Kh:this.Xe.ma({height:t("thumbnailHeight"),width:t("thumbnailWidth","100%"),scaleMode:t("thumbnailScaleMode",d.Cp)});break;default:this.Xe.ma({height:t("thumbnailHeight","100%"),width:t("thumbnailWidth"),scaleMode:t("thumbnailScaleMode",d.nk)})}}switch(this.B("labelPosition")){case c.Wa:case c.zc:this.Pn(this.Na,0);break;default:this.Pn(this.Na,1)}this.S("labelPosition")}this.S("listLayout");this.qc(u.p5,u.xG,[this],!0,!0);this.qc(u.r5,u.xG,[this.Xe],!0,!0);this.qc(u.q5,
3693u.xG,[this.Na],!0,!0);p.prototype.Za.call(this)};u.prototype.raa=function(){this.bE("item")};u.prototype.ZD=function(t){p.prototype.ZD.call(this,t)};u.prototype.Tca=function(){this.Xe.set("opacity",1)};u.p5=["labelGap"];u.r5="thumbnailBorderColor thumbnailBorderRadius thumbnailBorderSize thumbnailMaxWidth thumbnailMaxHeight thumbnailOpacity thumbnailShadow thumbnailShadowHorizontalLength thumbnailShadowVerticalLength thumbnailShadowBlurRadius thumbnailShadowSpread thumbnailShadowColor thumbnailShadowOpacity".split(" ");
3694u.q5="labelFontFamily labelFontColor labelFontSize labelFontStyle labelFontWeight labelHorizontalAlign labelTextDecoration labelTextShadowColor labelTextShadowHorizontalLength labelTextShadowVerticalLength labelTextShadowBlurRadius labelTextShadowOpacity".split(" ");u.xG={labelFontFamily:"fontFamily",labelFontColor:"fontColor",labelFontSize:"fontSize",labelFontStyle:"fontStyle",labelFontWeight:"fontWeight",labelGap:"gap",labelHorizontalAlign:"horizontalAlign",labelTextDecoration:"textDecoration",
3695labelTextShadowColor:"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",
3696thumbnailShadowVerticalLength:"shadowVerticalLength",thumbnailShadowBlurRadius:"shadowBlurRadius",thumbnailShadowSpread:"shadowSpread",thumbnailShadowColor:"shadowColor",thumbnailShadowOpacity:"shadowOpacity"};return u});
3697define("L","require lE cC nl pg d hY iF oA kP jg".split(" "),function(a){var e=a("lE"),l=a("cC"),m=a("nl"),k=a("pg"),b=a("d"),h=a("hY"),f=a("iF"),c=a("oA"),d=a("kP"),g=a("jg"),p=e.extend(c,function(){c.call(this);this.set("ariaRole","listbox");this.set("contentOpaque",!0);this.bind(k.F("selectedIndex"),this.RUa,this);this.bind(k.pc,this.vXa,this)});p.prototype.tb=function(){c.prototype.tb.call(this);this.h("layout",b.zg);this.h("selectedIndex",-1);this.h("items",[]);this.h("overflow",h.Ip);this.h("itemHorizontalAlign",
3698m.Qe);this.h("itemLabelFontFamily");this.h("itemLabelPosition",f.sc);this.h("itemLabelFunction");this.h("itemLabelGap");this.h("itemLabelHorizontalAlign",m.Qe);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.le);this.h("itemBackgroundOpacity");
3699this.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");
3700this.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");
3701this.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");
3702this.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");
3703this.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");
3704this.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");
3705this.h("rollOverItemThumbnailBorderColor");this.h("rollOverItemThumbnailShadow");this.h("rollOverItemThumbnailShadowHorizontalLength");this.h("rollOverItemThumbnailShadowVerticalLength");this.h("rollOverItemThumbnailShadowBlurRadius");this.h("rollOverItemThumbnailShadowSpread");this.h("rollOverItemThumbnailShadowColor");this.h("rollOverItemThumbnailShadowOpacity");
3705this.h("selectedItemBackgroundOpacity");this.h("selectedItemBackgroundColor");this.h("selectedItemBackgroundColorRatios");this.h("selectedItemBackgroundColorDirection");
3706this.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");
3707this.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");
3708this.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");
3709this.h("selectedItemThumbnailShadowVerticalLength");this.h("selectedItemThumbnailShadowBlurRadius");this.h("selectedItemThumbnailShadowSpread");this.h("selectedItemThumbnailShadowColor");this.h("selectedItemThumbnailShadowOpacity")};p.prototype.sN=function(q){this.Vo=!0;this.set("selectedIndex",this.J8(q.source))};p.prototype.RUa=function(){this.Zua()};p.prototype.vXa=function(){this.Zua()};p.prototype.Zua=function(){var q=this.get("selectedIndex"),n=this.mb();0<=q&&q<n.length&&this.scrollIntoView(n[q])};
3710p.prototype.J8=function(q){for(var n=this.mb(),r=0;r<n.length;r++)if(n[r]==q)return r;return-1};p.prototype.Za=function(){var q=!1;if(this.K("layout")){q=!0;var n=this.B("layout");n!=b.Kh&&n!=b.zg&&this.set("layout",b.zg)}n=!1;if(this.K("items")){n=!0;var r=this.B("items")||[],u=this.mb();if(u.length<r.length){for(var t=u.length;t<r.length;t++)u=new d,u.bind(k.qa,this.sN,this),this.qc(p.LL,p.TB,[u],!1,!1),this.qc(p.ML,p.UB,[u],!1,!1),this.Ua(u);u=this.mb()}if(u.length>r.length){for(t=r.length;t<u.length;t++){var v=
3711u[t];v.unbind(k.qa,this.sN,this);this.removeChild(v)}u=this.mb()}for(t=0;t<r.length;t++)u[t].set("item",r[t]);this.S("items")}if(this.K("selectedIndex")||n){r=this.mb();u=Math.min(r.length-1,Math.max(-1,this.B("selectedIndex")));this.set("selectedIndex",u);for(t=0;t<r.length;t++)r[t].YS(t==u);this.S("selectedIndex");this.Vo&&(this.Vo=!1,this.trigger(new l(k.ca)))}if(q||n)this.B("layout")==b.zg?g.YZa(this,this.mb().map(function(w){return w.ee()})):g.tya(this,this.mb().map(function(w){return w.ee()}));
3712this.qc(p.LL,p.TB,this.mb(),!0,!1);this.qc(p.ML,p.UB,this.mb(),!0,!0);c.prototype.Za.call(this)};p.TB={layout:"listLayout",shadowHorizontalLength:"shadowHorizontalLength",shadowVerticalLength:"shadowVerticalLength",shadowBlurRadius:"shadowBlurRadius",shadowSpread:"shadowSpread",shadowOpacity:"shadowOpacity",shadowColor:"shadowColor"};p.UB={itemHorizontalAlign:"horizontalAlign",itemLabelFunction:"labelFunction",itemLabelFontFamily:"labelFontFamily",itemLabelGap:"labelGap",itemLabelHorizontalAlign:"labelHorizontalAlign",
3713itemLabelPosition:"labelPosition",itemSourceProperties:"sourceProperties",itemThumbnailBorderRadius:"thumbnailBorderRadius",itemThumbnailScaleMode:"thumbnailScaleMode",itemThumbnailHeight:"thumbnailHeight",itemThumbnailWidth:"thumbnailWidth",itemThumbnailMaxHeight:"thumbnailMaxHeight",itemThumbnailMaxWidth:"thumbnailMaxWidth",itemThumbnailUrlFunction:"thumbnailUrlFunction",itemTooltipFunction:"tooltipFunction",itemVerticalAlign:"verticalAlign",itemBackgroun
3713dOpacity:"backgroundOpacity",itemBackgroundColor:"backgroundColor",
3714itemBackgroundColorRatios:"backgroundColorRatios",itemBackgroundColorDirection:"backgroundColorDirection",itemBorderRadius:"borderRadius",itemBorderTopRadius:"borderTopRadius",itemBorderBottomRadius:"borderBottomRadius",itemBorderLeftRadius:"borderLeftRadius",itemBorderRightRadius:"borderRightRadius",itemBorderTopLeftRadius:"borderTopLeftRadius",itemBorderTopRightRadius:"borderTopRightRadius",itemBorderBottomLeftRadius:"borderBottomLeftRadius",itemBorderBottomRightRadius:"borderBottomRightRadius",
3715itemBorderSize:"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",
3716itemLabelTextDecoration:"labelTextDecoration",itemLabelTextShadowColor:"labelTextShadowColor",itemLabelTextShadowHorizontalLength:"labelTextShadowHorizontalLength",itemLabelTextShadowVerticalLength:"labelTextShadowVerticalLength",itemLabelTextShadowBlurRadius:"labelTextShadowBlurRadius",itemLabelTextShadowOpacity:"labelTextShadowOpacity",itemOpacity:"opacity",itemPaddingLeft:"paddingLeft",itemPaddingTop:"paddingTop",itemPaddingRight:"paddingRight",itemPaddingBottom:"paddingBottom",itemShadow:"shadow",
3717itemThumbnailOpacity:"thumbnailOpacity",itemThumbnailBorderSize:"thumbnailBorderSize",itemThumbnailBorderColor:"thumbnailBorderColor",itemThumbnailShadow:"thumbnailShadow",itemThumbnailShadowHorizontalLength:"thumbnailShadowHorizontalLength",itemThumbnailShadowVerticalLength:"thumbnailShadowVerticalLength",itemThumbnailShadowBlurRadius:"thumbnailShadowBlurRadius",itemThumbnailShadowSpread:"thumbnailShadowSpread",itemThumbnailShadowColor:"thumbnailShadowColor",itemThumbnailShadowOpacity:"thumbnailShadowOpacity",
3718rollOverItemBackgroundOpacity:"rollOverBackgroundOpacity",rollOverItemBackgroundColor:"rollOverBackgroundColor",rollOverItemBackgroundColorRatios:"rollOverBackgroundColorRatios",rollOverItemBackgroundColorDirection:"rollOverBackgroundColorDirection",rollOverItemBorderRadius:"rollOverBorderRadius",rollOverItemBorderTopRadius:"rollOverBorderTopRadius",rollOverItemBorderBottomRadius:"rollOverBorderBottomRadius",rollOverItemBorderLeftRadius:"rollOverBorderLeftRadius",rollOverItemBorderRightRadius:"rollOverBorderRightRadius",
3719rollOverItemBorderTopLeftRadius:"rollOverBorderTopLeftRadius",rollOverItemBorderTopRightRadius:"rollOverBorderTopRightRadius",rollOverItemBorderBottomLeftRadius:"rollOverBorderBottomLeftRadius",rollOverItemBorderBottomRightRadius:"rollOverBorderBottomRightRadius",rollOverItemBorderSize:"rollOverBorderSize",rollOverItemBorderLeftSize:"rollOverBorderLeftSize",rollOverItemBorderTopSize:"rollOverBorderTopSize",rollOverItemBorderRightSize:"rollOverBorderRightSize",rollOverItemBorderBottomSize:"rollOverBorderBottomSize",
3720rollOverItemBorderColor:"rollOverBorderColor",rollOverItemBorderLeftColor:"rollOverBorderLeftColor",rollOverItemBorderTopColor:"rollOverBorderTopColor",rollOverItemBorderRightColor:"rollOverBorderRightColor",rollOverItemBorderBottomColor:"rollOverBorderBottomColor",rollOverItemLabelFontColor:"rollOverLabelFontColor",rollOverItemLabelFontSize:"rollOverLabelFontSize",rollOverItemLabelFontStyle:"rollOverLabelFontStyle",rollOverItemLabelFontWeight:"rollOverLabelFontWeight",rollOverItemLabelTextDecoration:"rollOverLabelTextDecoration",
3721rollOverItemLabelTextShadowColor:"rollOverLabelTextShadowColor",rollOverItemLabelTextShadowHorizontalLength:"rollOverLabelTextShadowHorizontalLength",rollOverItemLabelTextShadowVerticalLength:"rollOverLabelTextShadowVerticalLength",rollOverItemLabelTextShadowBlurRadius:"rollOverLabelTextShadowBlurRadius",rollOverItemLabelTextShadowOpacity:"rollOverLabelTextShadowOpacity",rollOverItemOpacity:"rollOverOpacity",rollOverItemPaddingLeft:"rollOverPaddingLeft",rollOverItemPaddingTop:"rollOverPaddingTop",
3722rollOverItemPaddingRight:"rollOverPaddingRight",rollOverItemPaddingBottom:"rollOverPaddingBottom",rollOverItemShadow:"rollOverShadow",rollOverItemThumbnailOpacity:"rollOverThumbnailOpacity",rollOverItemThumbnailBorderSize:"rollOverThumbnailBorderSize",rollOverItemThumbnailBorderColor:"rollOverThumbnailBorderColor",rollOverItemThumbnailShadow:"rollOverThumbnailShadow",rollOverItemThumbnailShadowHorizontalLength:"rollOverThumbnailShadowHorizontalLength",rollOverItemThumbnailShadowVerticalLength:"rollOverThumbnailShadowVerticalLength",
3723rollOverItemThumbnailShadowBlurRadius:"rollOverThumbnailShadowBlurRadius",rollOverItemThumbnailShadowSpread:"rollOverThumbnailShadowSpread",rollOverItemThumbnailShadowColor:"rollOverThumbnailShadowColor",rollOverItemThumbnailShadowOpacity:"rollOverThumbnailShadowOpacity",selectedItemBackgroun
3723dOpacity:"selectedBackgroundOpacity",selectedItemBackgroundColor:"selectedBackgroundColor",selectedItemBackgroundColorRatios:"selectedBackgroundColorRatios",selectedItemBackgroundColorDirection:"selectedBackgroundColorDirection",
3724selectedItemBorderRadius:"selectedBorderRadius",selectedItemBorderTopRadius:"selectedBorderTopRadius",selectedItemBorderBottomRadius:"selectedBorderBottomRadius",selectedItemBorderLeftRadius:"selectedBorderLeftRadius",selectedItemBorderRightRadius:"selectedBorderRightRadius",selectedItemBorderTopLeftRadius:"selectedBorderTopLeftRadius",selectedItemBorderTopRightRadius:"selectedBorderTopRightRadius",selectedItemBorderBottomLeftRadius:"selectedBorderBottomLeftRadius",selectedItemBorderBottomRightRadius:"selectedBorderBottomRightRadius",
3725selectedItemBorderSize:"selectedBorderSize",selectedItemBorderLeftSize:"selectedBorderLeftSize",selectedItemBorderTopSize:"selectedBorderTopSize",selectedItemBorderRightSize:"selectedBorderRightSize",selectedItemBorderBottomSize:"selectedBorderBottomSize",selectedItemBorderColor:"selectedBorderColor",selectedItemBorderLeftColor:"selectedBorderLeftColor",selectedItemBorderTopColor:"selectedBorderTopColor",selectedItemBorderRightColor:"selectedBorderRightColor",selectedItemBorderBottomColor:"selectedBorderBottomColor",
3726selectedItemLabelFontColor:"selectedLabelFontColor",selectedItemLabelFontSize:"selectedLabelFontSize",selectedItemLabelFontStyle:"selectedLabelFontStyle",selectedItemLabelFontWeight:"selectedLabelFontWeight",selectedItemLabelTextDecoration:"selectedLabelTextDecoration",selectedItemLabelTextShadowColor:"selectedLabelTextShadowColor",selectedItemLabelTextShadowHorizontalLength:"selectedLabelTextShadowHorizontalLength",selectedItemLabelTextShadowVerticalLength:"selectedLabelTextShadowVerticalLength",
3727selectedItemLabelTextShadowBlurRadius:"selectedLabelTextShadowBlurRadius",selectedItemLabelTextShadowOpacity:"selectedLabelTextShadowOpacity",selectedItemOpacity:"selectedOpacity",selectedItemPaddingLeft:"selectedPaddingLeft",selectedItemPaddingTop:"selectedPaddingTop",selectedItemPaddingRight:"selectedPaddingRight",selectedItemPaddingBottom:"selectedPaddingBottom",selectedItemShadow:"selectedShadow",selectedItemThumbnailOpacity:"selectedThumbnailOpacity",selectedItemThumbnailBorderSize:"selectedThumbnailBorderSize",
3728selectedItemThumbnailBorderColor:"selectedThumbnailBorderColor",selectedItemThumbnailShadow:"selectedThumbnailShadow",selectedItemThumbnailShadowHorizontalLength:"selectedThumbnailShadowHorizontalLength",selectedItemThumbnailShadowVerticalLength:"selectedThumbnailShadowVerticalLength",selectedItemThumbnailShadowBlurRadius:"selectedThumbnailShadowBlurRadius",selectedItemThumbnailShadowSpread:"selectedThumbnailShadowSpread",selectedItemThumbnailShadowColor:"selectedThumbnailShadowColor",selectedItemThumbnailShadowOpacity:"selectedThumbnailShadowOpacity",
3729tabIndex:"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",
3730toolTipPaddingLeft:"toolTipPaddingLeft",toolTipPaddingTop:"toolTipPaddingTop",toolTipPaddingRight:"toolTipPaddingRight",toolTipShadowBlurRadius:"toolTipShadowBlurRadius",toolTipShadowColor:"toolTipShadowColor",toolTipShadowHorizontalLength:"toolTipShadowHorizontalLength",toolTipShadowOpacity:"toolTipShadowOpacity",toolTipShadowSpread:"toolTipShadowSpread",toolTipShadowVerticalLength:"toolTipShadowVerticalLength",toolTipOpacity:"toolTipOpacity",toolTipTextShadowBlurRadius:"toolTipTextShadowBlurRadius",
3731toolTipTextShadowColor:"toolTipTextShadowColor",toolTipTextShadowHorizontalLength:"toolTipTextShadowHorizontalLength",toolTipTextShadowOpacity:"toolTipTextShadowOpacity",toolTipTextShadowVerticalLength:"toolTipTextShadowVerticalLength"};p.LL=Object.keys(p.TB);p.ML=Object.keys(p.UB);return p});
3732define("hF","require pg L nV jX ek bR".split(" "),function(a){var e=a("pg"),l=a("L"),m=a("nV"),k=a("jX"),b=a("ek"),h=a("bR");
3732a=m.define("ThumbnailList",l,function(){l.call(this);this.wd=null;this.hq=!1;this.dM=new k(this,"buttonScrollDown",b.ze);this.dM.bind(e.qa,this.zEa,this);this.eM=new k(this,"buttonScrollLeft",b.ze);this.eM.bind(e.qa,this.scrollLeft,this);this.fM=new k(this,"buttonScrollRight",b.ze);this.fM.bind(e.qa,this.AEa,this);this.gM=new k(this,"buttonScrollUp",b.ze);this.gM.bind(e.qa,
3733this.BEa,this);this.bind(e.ca,this.fTa,this)});a.prototype.hk=function(){l.prototype.hk.call(this);this.qE()};a.prototype.Dw=function(){l.prototype.Dw.call(this);this.qE()};a.prototype.qE=function(){this.dM.set("visible",!this.hq||this.IU());this.gM.set("visible",!this.hq||this.LU());this.eM.set("visible",!this.hq||this.JU());this.fM.set("visible",!this.hq||this.KU())};a.prototype.set=function(f,c){if("itemMode"==f)switch(c){case "thumbnail-only":this.set("itemLabelFunction",this.Gv);this.set("itemThumbnailUrlFunction",
3734this.uN);this.set("itemTooltipFunction",this.eD);this.set("itemSourceProperties",["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"]);break;case "label-only":this.set("itemLabelFunction",this.eD);this.set("itemThumbnailUrlFunction",this.Gv);this.set("itemTooltipFunction",this.Gv);this.set("itemSourceProperties",["label","media.label"]);break;default:this.set("itemLabelFunction",this.eD),this.set("itemThumbnailUrlFunction",this.uN),this.set("itemTooltipFunction",this.Gv),this.set("itemSourceProperties",
3735["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"])}else"playList"==f?(this.wd&&this.wd.unbind("change",this.Wv,this),(this.wd=c)?(this.set("items",this.wd.get("items")),this.wd.bind("change",this.Wv,this)):this.set("items",[])):"hideScrollButtons"==f?(this.hq=c,this.qE()):l.prototype.set.call(this,f,c)};a.prototype.get=function(f,c){switch(f){case "playList":return this.wd;default:return l.prototype.get.call(this,f,c)}};a.prototype.Wv=function(){this.set("items",this.wd.get("items"));
3736this.set("selectedIndex",this.wd.get("selectedIndex"))};a.prototype.fTa=function(){this.wd&&this.wd.set("selectedIndex",this.get("selectedIndex"))};a.prototype.Gv=function(){};a.prototype.eD=function(f){return f.get("label")||f.get("media").get("label")};a.prototype.uN=function(f){f=f.get("media");var c=f.get("thumbnailUrl");f.get("flipImageHorizontally")&&(c=h.oya(c));return c};return a});define("bZ",["require","e","nV"],function(a){var e=a("e");return a("nV").define("UIComponent",e,function(){e.call(this)})});
3737define("iI",["require","nV","eu"],function(a){var e=a("nV"),l=a("eu");a=e.define("Video",l,function(){l.call(this);this.ya=void 0});a.prototype.Ot=function(){this.get("video");return[]};return a});define("hl",["require","nV","fh"],function(a){var e=a("nV"),l=a("fh");return e.define("VideoPanorama",l,function(){l.call(this)})});
3738define("jQ",["require","mh","nV"],function(a){var e=a("mh");a=a("nV").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),b=this.get("levels"),h=0;b&&h<b.length&&void 0===k;h++){var f=b[h];f!=this&&(k=f.get(l))}return void 0!==k?k:m}return e.prototype.get.call(this,l,m)};return a});
3739define("dG",["require","nV","mu","hl","jQ"],function(a){var e=a("nV"),l=a("mu"),m=a("hl"),k=a("jQ");a=e.define("Video360",m,function(){m.call(this);this.Bo=this.qJ=this.vb=void 0});a.prototype.set=function(b,h){"video"==b?this.KKa(h):"videoStereo"==b?this.LKa(h):m.prototype.set.call(this,b,h)};a.prototype.get=function(b,h){return"video"==b?void 0!==this.vb?this.vb:h:"videoStereo"==b?void 0!==this.qJ?this.qJ:h:m.prototype.get.call(this,b,h)};a.prototype.KKa=function(b){this.vb!=b&&(this.vb=b,b=m.prototype.get.call(this,
3740"frames")||[],this.vb&&(0==b.length&&b.push(new l),b[0].set("sphere",this.lra(this.vb))),m.prototype.set.call(this,"frames",b.slice()))};a.prototype.LKa=function(b){this.qJ!=b&&(this.qJ=b,b=m.prototype.get.call(this,"frames")||[],this.qJ&&(0==b.length&&b.push(new l),b[0].set("stereoSphere",this.lra(this.qJ))),m.prototype.set.call(this,"frames",b.slice()))};a.prototype.lra=function(b){if(Array.isArray(b)){if(0==b.length)return;if(1==b.length&&e.Ga("Video360Resource",b[0]))return b[0];var h=[];b.forEach(function(f){h=
3741h.concat(f.get("levels")||[f])});b=new k;b.set("levels",h)}return b};return a});define("bQ",["require","nV","oL"],function(a){var e=a("nV"),l=a("oL");return e.define("Video360Player",l,function(){l.call(this)})});
3742define("kp",["require","nV","dh","iy"],function(a){var e=a("nV"),l=a("dh"),m=a("iy");a=e.define("Video360PlayListItem",m,function(){m.call(this)});a.prototype.start=function(){m.prototype.start.call(this);var k=this.get("player");k&&(k.bind(l.fh,this.un,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&&(k.unbind(l.fh,this.un,this),k.get("video")==this.get("media")&&k.set("video",
3743null));m.prototype.stop.call(this)};a.prototype.un=function(k){k.data.media==this.get("media")&&(this.get("player").unbind(l.fh,this.un,this),this.get("player").bind(l.Jm,this.Cq,this),this.mA())};a.prototype.Cq=function(k){k.data.media==this.get("media")&&(this.get("player").unbind(l.Jm,this.Cq,this),this.stop(),this.end())};return a});define("oU",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("Video360ResourceLevel",e,function(){e.call(this)})});
3744define("fY",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("VideoCue",e,function(){e.call(this)})});
3745define("ci","require mh pg lg cC nV kE".split(" "),function(a){var e=a("mh"),l=a("pg"),m=a("lg"),k=a("cC"),b=a("nV"),h=a("kE");a=b.define("VideoPanoramaOverlay",e,function(){e.call(this);this.ld=void 0});a.prototype.play=a.prototype.play=function(){this.set("state",m.Y)};a.prototype.pause=a.prototype.pause=function(){this.set("state",m.Ib)};a.prototype.stop=a.prototype.stop=function(){this.set("state",m.W)};a.prototype.set=function(f,c){var d=!1;switch(f){case "state":var g=this.get("state")||m.W;
3746g==m.W&&c==m.Y&&this.trigger(l.Yn);g!=c&&this.trigger(new k(l.re,{oldState:g,state:c}));break;case "enabledInCardboard":this.set("enabledInVR",c);break;case "distance":case "hfov":case "opacity":case "pitch":case "rotationX":case "rotationY":case "roll":case "vfov":case "yaw":case "playbackPositions":this.ld=void 0,d=!0}e.prototype.set.call(this,f,c);d&&"playbackPositions"!=f&&this.trigger(l.F("playbackPositions"))};a.prototype.get=function(f,c){switch(f){case "playbackPositions":return void 0===
3747this.ld&&(this.ld=h.Tfa(this)),this.ld}return e.prototype.get.call(this,f,c)};return a});define("if",["require","nV","pA"],function(a){var e=a("nV"),l=a("pA");return e.define("VideoPlaneModel3DObject",l,function(){l.call(this)})});
3748define("du","require en lE pg cC gv lg".split(" "),function(a){function e(c,d,g){this.time=c;this.cue=d;this.action=g}var l=a("en"),m=a("lE"),k=a("pg"),b=a("cC"),h=a("gv"),f=a("lg");a=m.extend(h,function(c){h.call(this);this.j=c;this.Jc=null;this.Kk=!1;this.Xi=[];this.Vm=void 0;this.Ae=[]});a.prototype.clear=function(){this.j=null;this.pC();this.Xi=[];this.Ae=[]};a.prototype.start=function(c){this.end();this.$ba(c);this.W6();this.Cca();this.vE()};a.prototype.$ba=function(c){this.pC();this.Jc=c;this.Jc.bind(k.F("currentTime"),
3749this.vE,this,!0);this.Jc.bind(k.F("state"),this.Cca,this,!0);this.Jc.bind(k.Bb,this.CQ,this,!0)};a.prototype.pC=function(){this.Jc&&(this.Jc.unbind(k.F("currentTime"),this.vE,this),this.Jc.unbind(k.F("state"),this.Cca,this),this.Jc.unbind(k.Bb,this.CQ,this),this.Jc=null)};a.prototype.end=function(){this.hM();this.pC();this.Kk=!1};a.prototype.Cca=function(c){c=c!=f.W;this.Kk!=c&&((this.Kk=c)?this.JZ():this.hM())};a.prototype.CQ=function(){this.vE()};a.prototype.JZ=function(){this.Vm=this.ZG=0};a.prototype.vE=
3750function(){if(this.Jc&&this.Kk){var c=this.Ae.slice(),d=this.Jc.get("currentTime",0),g=d-this.ZG;0>g&&(this.Ae=[],this.Vm=0);g=0<=g&&2>g;this.ZG=d;var p;for(p=this.Vm;p<this.Xi.length&&!(this.Xi[p].time>d);p++);for(;this.Vm<p;this.Vm++)d=this.Xi[this.Vm],"start"==d.action?(this.Ae=l(this.Ae).union([d.cue]),g&&d.cue.trigger(new b(k.Qr))):(this.Ae=l(this.Ae).difference([d.cue]),g&&d.cue.trigger(new b(k.Bb)));c.length==this.Ae.length&&l(c).intersection(this.Ae).length==this.Ae.length||this.lQ()}};a.prototype.hM=
3751function(){0<this.Ae.length&&(this.Ae=[],this.lQ())};a.prototype.lQ=function(){this.Jc.trigger(new b(k.jk,{activeCues:this.Ae.slice()}))};a.prototype.W6=function(){this.Xi=[];var c=this.Jc.get("cues",[]);l(c).each(function(d){this.Xi.push(new e(d.get("startTime",0),d,"start"));this.Xi.push(new e(d.get("endTime",Number.POSITIVE_INFINITY),d,"end"))},this);this.Xi.sort(function(d,g){return d.time==g.time?d.action==g.start?0:"start"==d.action?-1:1:d.time-g.time})};return a});
3752define("nY","require lE bi cC gv pg mv".split(" "),function(a){var e=a("lE"),l=a("bi"),m=a("cC"),k=a("gv");a("pg");a("mv");var b=e.extend(k,function(h,f){k.call(this);this.L=h;this.j=f;this.ED=[];this.ta=b.Lh;this.si=null;this.x7=void 0;this.Zi=null;this.jm=this.Ug=void 0});b.prototype.display=function(h,f){this.B6();if(this.Zi!=h||this.ta!=b.Lh)this.ED.push({video:h,startTime:f}),this.Jsa()};b.prototype.hide=function(){this.B6();this.ED.push({video:null,startTime:void 0});this.Jsa()};b.prototype.clear=
3753function(){this.ta=b.Lh;this.B6();this.hUa();this.sua();this.j=null};b.prototype.$g=function(h){this.ta==b.Lh||this.ta!=b.vl&&this.ta!=b.ms&&this.ta!=b.ky||(this.jm+=h,h=Math.min(1,this.jm/this.Ug),this.ta==b.vl?(this.si.set("opacity",h),this.L.ic.OK(h)):this.ta==b.ky?(this.si.set("opacity",Math.min(1,2*h)),this.Zi.set("opacity",Math.min(1,2*(1-h)))):this.L.ic.AF(h),this.jm<this.Ug?this.Qa():this.Ry())};b.prototype.Jsa=function(){0<this.ED.length&&this.ta==b.Lh&&this.Rp()};b.prototype.Rp=function(){this.Zi&&
3754this.trigger(new m(b.CB,{video:this.Zi}));if("fade_out_fade_in"==this.L.get("transitionMode","blending")&&this.Zi)this.sy();else{var h=this.ED.shift();this.si=h.video;this.x7=h.startTime;this.si?this.si.get("chromaColor")&&this.Zi?this.f6():this.YL():this.Zi&&this.sy()}};b.prototype.YL=function(){this.Ola();this.jm=0;this.Ug=this.L.get("transitionDuration");this.ta=b.vl;this.L.ic.bL();this.j.rb(!0);this.Qa()};b.prototype.f6=function(){this.Ola();this.jm=0;this.Ug=2*this.L.get("transitionDuration");
3755this.ta=b.ky;this.Qa()};b.prototype.sy=function(){this.si=null;this.jm=0;this.Ug=this.L.get("transitionDuration");this.ta=b.ms;this.L.ic.JF();this.Zi.set("opacity",0);this.j.rb(!1);this.Qa()};b.prototype.Ry=function(){this.sua();this.Zi=this.si;this.si=null;this.ta==b.ms?this.L.ic.LE():this.ta==b.vl&&this.L.ic.OJ();this.ta=b.Lh;this.Zi?this.trigger(new m(b.DB,{video:this.Zi})):0==this.ED.length&&this.trigger(new m(b.xja));0!=this.ED.length&&this.Rp()};b.prototype.Qa=function(){l.requestFrame(this.$g,
3756this)};b.prototype.B6=function(){this.ED=[]};b.prototype.Ola=function(){this.si&&(this.si.set("opacity",0),this.si.set("zIndex",1),this.Zi&&this.Zi.set("zIndex",0),this.si.set("currentTime",this.x7||0),this.j.d_a(this.si),this.trigger(new m(b.v4,{video:this.si,startTime:this.x7})))};b.prototype.sua=function(){this.Zi&&(this.j.kEa(this.Zi),this.trigger(new m(b.JT,{video:this.Zi})),this.Zi=null)};b.prototype.hUa=function(){this.si&&(this.j.kEa(this.si),this.trigger(new m(b.JT,{video:this.si})),this.si=
3757null)};b.Lh="stopped";b.vl="blending";b.ky="double blending";b.ms="disolving";b.Hb="request frame";b.v4="video added";b.JT="video removed";b.DB="video show";b.CB="video hide";b.xja="all pending videos hidden";return b});
3758define("jB","require lE pg cC gv lg".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("cC"),k=a("gv"),b=a("lg"),h=e.extend(k,function(){k.call(this);this.Jc=null;this.pf=!1;this.k7=b.W});h.prototype.start=function(f){this.end();this.$ba(f)};h.prototype.end=function(){this.stop();this.pC()};h.prototype.clear=function(){this.pC()};h.prototype.play=function(){this.Jc&&this.Jc.set("state",b.Y)};h.prototype.pause=function(){this.Jc&&this.Jc.set("state",b.Ib)};h.prototype.Qia=function(){this.Jc&&(this.Jc.get("state")==
3759b.Y?this.pause():this.play())};h.prototype.stop=function(){this.Jc&&this.Jc.set("state",b.W)};h.prototype.Jf=function(f){this.pf=f;this.Jc&&this.Jc.set("mute",this.pf)};h.prototype.setTime=function(f){this.Jc&&this.Jc.set("currentTime",f)};h.prototype.getTime=function(){if(this.Jc)return this.Jc.get("currentTime")};h.prototype.$ba=function(f){this.pC();this.Jc=f;this.Jc.set("mute",this.pf);this.Jc.bind(l.F("state"),this.XI,this,!0);this.Jc.bind(l.F("currentTime"),this.wE,this,!0);this.Jc.bind(l.Bb,
3760this.CQ,this,!0)};h.prototype.pC=function(){this.Jc&&(this.Jc.unbind(l.F("state"),this.XI,this),this.Jc.unbind(l.F("currentTime"),this.wE,this),this.Jc.unbind(l.Bb,this.CQ,this),this.Jc=null)};h.prototype.wE=function(){this.trigger(new m(h.EB,{video:this.Jc,time:this.Jc.get("currentTime"),duration:this.Jc.get("duration")}))};h.prototype.CQ=function(){this.trigger(new m(h.uL,{video:this.Jc}))};h.prototype.XI=function(){var f=this.Jc.get("state");this.k7!=f&&(this.k7=f,this.trigger(new m(h.Hc,{state:this.k7})))};
3761h.Hc="playback state change";h.uL="video end";h.EB="video time change";return h});
3762define("or","require lE lg cC gv du nY jB".split(" "),function(a){var e=a("lE"),l=a("lg"),m=a("cC"),k=a("gv"),b=a("du"),h=a("nY"),f=a("jB"),c=e.extend(k,function(d,g){k.call(this);this.L=d;this.j=g;this.j.set("visible",!1);this.Ma=new h(this.L,this.j);this.Ja=new f(this.j);this.Zp=new b(this.j);this.Ma.bind(h.CB,this.Cq,this,!0);this.Ma.bind(h.DB,this.un,this,!0);this.Ma.bind(h.v4,this.rta,this,!0);this.Ma.bind(h.JT,this.sta,this,!0);this.Ma.bind(h.xja,this.aSa,this,!0);this.Ja.bind(f.Hc,this.ef,
3763this,!0);this.Ja.bind(f.uL,this.Cz,this,!0);this.Ja.bind(f.EB,this.JO,this,!0)});c.prototype.clear=function(){this.Ma.clear();this.Ja.clear();this.Zp.clear();this.Ma.unbind(h.CB,this.Cq,this);this.Ma.unbind(h.DB,this.un,this);this.Ma.unbind(h.v4,this.rta,this);this.Ma.unbind(h.JT,this.sta,this);this.Ja.unbind(f.Hc,this.ef,this);this.Ja.unbind(f.uL,this.Cz,this);this.Ja.unbind(f.EB,this.JO,this);this.L=this.j=this.Zp=this.Ja=this.Ma=null};c.prototype.J2=function(d,g){this.j.set("visible",!0);this.Ma.display(d,
3764g)};c.prototype.nx=function(){this.Ma.hide();this.Ja.end();this.Zp.end()};c.prototype.play=function(){this.Ja.play()};c.prototype.stop=function(){this.Ja.stop()};c.prototype.pause=function(){this.Ja.pause()};c.prototype.Jf=function(d){this.Ja.Jf(d)};c.prototype.setTime=function(d){this.Ja.setTime(d)};c.prototype.getTime=function(){return this.Ja.getTime()};c.prototype.Qia=function(){this.Ja.Qia()};c.prototype.rta=function(d){var g=d.data.video;this.Ja.start(g,d.data.startTime);this.Zp.start(g)};c.prototype.sta=
3765function(){};c.prototype.un=function(d){d=d.data.video;d.get("autoplay")&&d.get("state")!=l.Y&&d.get("state")!=l.Ib&&d.set("state",l.Y);this.trigger(new m(c.DB,{video:d}))};c.prototype.Cq=function(d){this.trigger(new m(c.CB,{video:d.data.video}))};c.prototype.aSa=function(){this.j.set("visible",!1)};c.prototype.Cz=function(d){this.trigger(new m(c.uL,{video:d.data.video}))};c.prototype.JO=function(d){this.trigger(new m(c.EB,{video:d.data.video,time:d.data.time,duration:d.data.duration}))};c.prototype.ef=
3766function(d){this.trigger(new m(c.Hc,{state:d.data.state}))};c.DB="videoShow";c.CB="videoHide";c.uL="videoEnd";c.EB="videoTimeChange";c.Hc="playbackStateChange";return c});
3767define("oQ","require lE pg bd e dY".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("bd"),k=a("e"),b=a("dY");a=e.extend(k,function(h,f,c){k.call(this);this.vc=h;this.L=f;this.ga=c;this.set("toolTipDisabled",!0);this.set("cursor",m.ou);this.bind(l.pc,this.Fc,this,!0);this.sI=new b.ska;this.sI.cia(b.ska.A4);this.sI.yf(this.vY=!1);
3767[this.sI.$c()].forEach(function(d,g){this.Ob().append(d);d.css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden","z-index":g})}.bind(this))});a.prototype.jia=
3768function(h,f){this.vY!=h&&(this.vY=h,this.sI.LEa(f),this.sI.yf(h))};a.prototype.Fc=function(){this.xZ=!0;this.sI.setSize(this.Ya(),this.Ab())};return a});
3769define("mA","require lE pg bd d oA fK gw oQ".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("bd"),k=a("d"),b=a("oA"),h=a("fK"),f=a("gw"),c=a("oQ");a=e.extend(b,function(d,g,p){b.call(this);this.vc=d;this.L=g;this.ga=p;this.Ge("Renderer");this.set("toolTipDisabled",!0);this.set("cursor",m.ou);this.set("layout",k.tT);this.U=!0;this.hc=this.Ta=this.Fd=null;this.B_=[];this.DQ=[];this.bind(l.pc,this.Fc,this,!0);this.sQ()});a.prototype.Db=function(){b.prototype.Db.call(this);null==this.Fd&&(this.Fd=
3770new f(this.vc,this.L,!1),this.Fd.ma({left:0,top:0,right:0,bottom:0}),this.Ua(this.Fd),this.Fd.z2(this.ga.get("useVideoFrameRate")?2:void 0),this.dNa(),this.wMa(),this.B_.forEach(function(d){this.tna(d)}.bind(this)));null==this.hc&&(this.hc=new c(this.vc,this.L,this.ga),this.hc.ma({left:0,top:0,right:0,bottom:0}),this.Ua(this.hc),this.sQ())};a.prototype.d_a=function(d){this.B_.push(d);this.Fd&&this.tna(d)};a.prototype.rb=function(d){this.U!=d&&(this.U=d,this.Ta&&(this.Ta.H(h.Scene).enabled=d))};a.prototype.dNa=
3771function(){this.Ta=this.Fd.Zc("Scene");var d=this.Ta.J(h.Scene);d.backgroundColor="transparent";d.outputEncoding="srgb";d.enabled=this.U;this.Fd.qya(this.Ta)};a.prototype.wMa=function(){this.Fb=this.Fd.Zc("Camera");var d=this.Fb.J(h.OrthographicCamera);d.width=this.uf();d.height=this.tf();this.Fb.J(h.lb).N=this.Ta;this.Ta.H(h.Scene).ib=this.Fb};a.prototype.Fc=function(){if(this.Fb){var d=this.Fb.H(h.OrthographicCamera);d.width=this.uf();d.height=this.tf()}};a.prototype.tna=function(d){var g=this.Fd.Zc("Video");
3772g.J(h.lb).N=this.Ta;g.J(h.Mesh).properties=d;var p=g.J(h.jy);p.properties=d;p.ib=this.Fb;p=g.J(h.$n);p.properties=d;p.eja=d.get("video");p.P=d;this.DQ.push(g);this.Fd.z2(this.ga.get("useVideoFrameRate")&&45>this.kQa(d)?2:void 0);this.sQ()};a.prototype.kEa=function(d){d=this.B_.indexOf(d);0>d||(this.B_.splice(d,1),this.Fd&&this.xNa(this.DQ[d]))};a.prototype.xNa=function(d){var g=this.DQ.indexOf(d);0>g||(this.DQ.splice(g,1),this.Fd.He(d),this.sQ())};a.prototype.jia=function(d){this.vY=d;this.sQ()};
3773a.prototype.sQ=function(){this.hc&&this.hc.jia(this.vY&&0<this.DQ.length)};a.prototype.kQa=function(d){d=d.get("video");return(d&&d.get("levels")||[]).reduce(function(g,p){return Math.max(g,p.get("framerate"))},0)||30};return a});
3774define("ly","require lE pg bn nV iL lg or mA jg".split(" "),function(a){var e=a("lE"),l=a("pg"),m=a("bn"),k=a("nV"),b=a("iL"),h=a("lg"),f=a("or"),c=a("mA"),d=a("jg");a=k.define("VideoPlayer",b,function(){b.call(this,"video");this.vD=this.vD.bind(this);this.aq=this.IZ=this.wE=this.ei=!1;this.M=this.j=null;this.Qb=this.hf=0;this.gn=!1;this.Cd=e.lp(this.Vg,this)});a.prototype.seek=function(g){this.WD(g)};a.prototype.play=function(){this.AD()};a.prototype.pause=function(){this.zD()};a.prototype.stop=
3775function(){this.Az()};a.prototype.restart=function(){this.zz()};a.prototype.set=function(g,p){if(this.get(g)!=p){switch(g){case "startTime":this.IZ=!0;this.Cd();break;case "video":this.wE=!0;this.Cd();break;case "viewerArea":this.ei=!0;this.Cd();break;case "displayPlaybackBar":this.aq=!0,this.Cd()}b.prototype.set.call(this,g,p)}};a.prototype.get=function(g,p){switch(g){case "currentTime":return this.M&&this.M.getTime()||0}return b.prototype.get.call(this,g,p)};a.prototype.pp=function(g){this.gn!==
3776g&&((this.gn=g)?document.addEventListener("keydown",this.vD,!0):document.removeEventListener("keydown",this.vD,!0))};a.prototype.vD=function(g){d.fp()||(g.code==m.ja.mG||g.code==m.ja.CT)&&this.M&&this.M.Qia()};a.prototype.Vg=function(){this.ei&&(this.ei=!1,this.gv(),this.get("viewerArea")&&this.ev(),this.DP(this.get("viewerArea")),this.wE=!0);var g=!1;if(this.j&&(this.wE||this.IZ)){var p=this.get("video"),q=this.get("startTime")||0;if(p&&!this.j.wb()){this.Cd();return}this.IZ=this.wE=!1;this.Qb=this.hf=
37770;g=!0;p?(this.get("viewerArea").ic.D7a(),this.vF(),this.M.J2(p,q)):this.M.nx()}this.aq&&(this.aq=!1,g=!0);g&&this.Ew()};a.prototype.ZI=function(){this.set("video",null)};a.prototype.ev=function(){var g=this.get("application"),p=this.get("viewerArea");this.j=new c(g,p,this);this.j.ma({left:0,top:0,bottom:0,right:0});p.Ua(this.j);p.bind(l.qa,this.wta,this,!0);this.M=new f(p,this.j);this.M.bind(f.DB,this.un,this);this.M.bind(f.CB,this.Cq,this);this.M.bind(f.EB,this.JO,this,!0);this.M.bind(f.Hc,this.ef,
3778this);g.bind(l.F("mute"),this.sO,this);this.M.Jf(g.get("mute",!1));this.Xz(!0)};a.prototype.gv=function(){if(this.j){this.M.unbind(f.DB,this.un,this);this.M.unbind(f.CB,this.Cq,this);this.M.unbind(f.EB,this.JO,this);this.M.unbind(f.Hc,this.ef,this);this.M.clear();this.get("application").unbind(l.F("mute"),this.sO,this);var g=this.j.getParent();g.removeChild(this.j);g.unbind(l.qa,this.wta,this,!0);this.j=null;this.Xz(!1)}};a.prototype.sO=function(){this.j&&this.M.Jf(this.get("application").get("mute",
3779!1))};a.prototype.ef=function(g){g=g.data.state;this.j&&this.j.jia(this.get("displayPlayOverlay")&&g!=h.Y,.5>this.hf);this.xd(g)};a.prototype.un=function(g){var p=this.get("viewerArea");(this.Zd=p&&p.Zd)&&this.Zd.bind(l.qa,this.xta,this,!0);this.Uaa=!1;this.ON(g.data.video)};a.prototype.Cq=function(g){this.Zd&&this.Zd.unbind(l.qa,this.xta,this,!0);this.Zd=null;this.NN(g.data.video)};a.prototype.JO=function(g){this.hf=g.data.time;this.Qb=g.data.duration;this.Ew()};a.prototype.wta=function(){if(this.Uaa)this.Uaa=
3780!1;else switch(this.get("clickAction")){case "play_pause":this.get("state")!=h.Y?this.M.play():this.M.pause()}};a.prototype.xta=function(){this.Uaa=!0};a.prototype.TO=function(g){this.WD(g.data.position)};a.prototype.Ik=function(){this.M.play()};a.prototype.Po=function(){this.M.stop()};a.prototype.Eq=function(){this.M.pause()};a.prototype.WD=function(g){this.M&&this.M.setTime(g)};a.prototype.Ew=function(){if(this.j){var g=this.j.getParent();0<this.Qb&&this.get("displayPlaybackBar")?g.ma({playbackBarPosition:this.hf,
3781playbackBarDuration:this.Qb,playbackBarVisible:!0}):g.set("playbackBarVisible",!1)}};return a});
3782define("bb",["require","nV","dh","iy"],function(a){var e=a("nV"),l=a("dh"),m=a("iy");a=e.define("VideoPlayListItem",m,function(){m.call(this)});a.prototype.start=function(){m.prototype.start.call(this);var k=this.get("player");k&&(k.bind(l.fh,this.un,this),k.set("video",this.get("media")),k.set("startTime",this.get("startTime")))};a.prototype.stop=function(){var k=this.get("player");k&&(k.unbind(l.fh,this.un,this),k.get("video")==this.get("media")&&k.set("video",null));m.prototype.stop.call(this)};
3783a.prototype.un=function(k){k.data.media==this.get("media")&&(this.get("player").unbind(l.fh,this.un,this),this.get("player").bind(l.Jm,this.Cq,this),this.mA())};a.prototype.Cq=function(k){k.data.media==this.get("media")&&(this.get("player").unbind(l.Jm,this.Cq,this),this.stop(),this.end())};return a});define("hL",["require","mh","nV"],function(a){var e=a("mh");return a("nV").define("VideoResourceLevel",e,function(){e.call(this)})});
3784define("eB",["require","mh","nV","lY","hL"],function(a){var e=a("mh"),l=a("nV"),m=a("lY"),k=a("hL");a=l.define("VideoResource",e,function(){e.call(this);this.S$=new k;this.S$.set("type","video/mp4");this.V$=new k;this.V$.set("type","video/ogg");this.rea=new k;this.rea.set("type","video/webm")});a.prototype.get=function(b,h){switch(b){case "levels":h=[];var f=this.get("mp4Url");f&&(this.S$.set("url",f),h.push(this.S$));if(f=this.get("oggUrl"))this.V$.set("url",f),h.push(this.V$);if(f=this.get("webmUrl"))this.rea.set("url",
3785f),h.push(this.rea);h.forEach(function(c){c.set("width",this.get("width"));c.set("height",this.get("height"))}.bind(this))}return e.prototype.get.call(this,b,h)};a.prototype.Oi=function(){var b=this.get("webmUrl"),h=this.get("oggUrl"),f=this.get("mp4Url");return f&&m.X0?f:b&&m.cga?b:h&&m.bga?h:f||b||h};return a});define("dC",["require","nV","fn"],function(a){var e=a("nV"),l=a("fn");return e.define("VignetteModel3DPostprocessing",l,function(){l.call(this)})});
3786define("dR","require jquery.mod lE pg v mC e gM".split(" "),function(a){var e=a("jquery.mod"),l=a("lE"),m=a("pg"),k=a("v"),b=a("mC"),h=a("e"),f=a("gM");a=l.extend(h,function(){h.call(this);this.Ge("WebFrame");this.FN=this.FC=this.Bc=this.de=null;this.iaa=this.iaa.bind(this);this.BX=this.BX.bind(this);this.bind(m.dd,this.nTa,this,!0);this.bind(m.Tc,this.mTa,this,!0)});a.prototype.tb=function(){h.prototype.tb.call(this);this.h("url");this.h("backgroundColor","#ffffff");this.h("insetBorder",!1);this.h("scrollEnabled",
3787!0);this.h("unloadWhenHidden",!0)};a.prototype.nTa=function(){this.bE("url")};a.prototype.mTa=function(){this.bE("url")};a.prototype.Db=function(){h.prototype.Db.call(this);this.de||(this.de=e("<div></div>"),this.de.css({position:"absolute",left:0,top:0,width:"100%",height:"100%"}),this.Ob().append(this.de));this.Bc||(this.Bc=e("<iframe></iframe>"),this.Bc.css({position:"absolute",left:0,top:0}),this.Bc.attr("allowfullscreen","true"),this.Bc.attr("allow","fullscreen; accelerometer; gyroscope; magnetometer; vr; autoplay; camera; microphone; display-capture;
3787 xr-spatial-tracking"),
3788this.de.append(this.Bc));this.FC||(this.FC=e("<div></div>"),this.FC.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.nb()?"5vmin":"20px",position:"absolute",top:"50%",left:"50%","text-align":"center",transform:"translate(-50%, -50%)",width:"90%"}),this.de.append(this.FC))};a.prototype.Za=function(){if(this.K("url")){var c=this.B("url");c&&this.ez?this.nva(c):(!c||this.get("unloadWhenHidden"))&&
3789this.nva("");this.S("url")}this.K("insetBorder")&&(this.B("insetBorder")?this.Bc.attr("frameborder","1"):this.Bc.attr("frameborder","0"),this.S("insetBorder"));this.K("scrollEnabled")&&(this.B("scrollEnabled")?(this.Bc.attr("scrolling","auto"),this.de.css({overflow:"auto","-webkit-overflow-scrolling":"touch"})):(this.Bc.attr("scrolling","no"),this.de.css({overflow:"hidden","-webkit-overflow-scrolling":"auto"})),this.S("scrollEnabled"));h.prototype.Za.call(this)};a.prototype.eh=function(){this.Bc&&
3790f.css(this.Bc.get(0),{width:this.oa+"px",height:this.wa+"px"});h.prototype.eh.call(this)};a.prototype.refresh=function(){this.B("url")&&this.ez&&(this.q9(),this.Cy(),this.lda(),this.Bc.attr("src",""),setTimeout(function(){this.Zva();this.rma();this.Bc.attr("src",this.B("url"))}.bind(this),30))};a.prototype.nva=function(c){this.Bc.attr("src")!=c&&(this.q9(),c?(this.Zva(),this.rma()):(this.Cy(),this.lda()),this.Bc.attr("src",c))};a.prototype.iaa=function(){this.FN=null;this.lRa()&&this.yWa()};a.prototype.BX=
3791function(){this.q9();this.Cy();this.lda()};a.prototype.rma=function(){this.Bc.on("load",this.BX)};a.prototype.lda=function(){this.Bc.off("load",this.BX)};a.prototype.Cy=function(){this.FN&&(clearTimeout(this.FN),this.FN=null)};a.prototype.Zva=function(){this.Cy();this.FN=setTimeout(this.iaa.bind(this),3E3)};a.prototype.lRa=function(){if("https:"==window.location.protocol){var c=this.Bc.attr("src");if("https:"!=b.parse(c).protocol)return!0}return!1};a.prototype.yWa=function(){this.FC.text("A secure web page served over HTTPS can not display insecure content served over HTTP.");
3792this.FC.show()};a.prototype.q9=function(){this.FC.hide()};return a});define("cr",["require","dR","nV"],function(a){var e=a("dR");a=a("nV").define("WebFrame",e,function(){e.call(this)});a.prototype.refresh=function(){e.prototype.refresh.call(this)};return a});define("lZ",["require","en","lE","oA","d"],function(a){var e=a("en"),l=a("lE"),m=a("oA");a=a("d");var k=l.extend(m,function(){m.call(this)});k.Ac={layout:a.zg};e.defaults(k.Ac,m.Ac);k.prototype.tb=function(){this.lo(k.Ac)};return k});
3793define("mO","require en lE pg cC nl d oA lZ hC gk dz".split(" "),function(a){var e=a("en"),l=a("lE"),m=a("pg"),k=a("cC"),b=a("nl"),h=a("d"),f=a("oA"),c=a("lZ"),d=a("hC"),g=a("gk"),p=a("dz"),q=l.extend(d,function(){d.call(this);this.Ge("Window");this.ty=this.TG=this.cQ=this.Gl=null;this.k6=new f;this.rH=null;this.j9=this.i9=0;this.oca=this.Nva=!1;this.sea=this.tea=void 0;for(var n in q.y9a)this.bE(n);this.bind(m.pc,this.IZa,this);this.bind(m.vL,this.GZa,this);this.bind(m.CL,this.JZa,this);this.bind(m.qa,
3794this.FZa,this);this.v_=0;this.Ff=new f;this.Ff.ma({visible:!1,includeInLayout:!1,layout:"absolute",height:"100%",width:"100%",backgroundOpacity:0,contentOpaque:!1});this.Ff.bind(m.pc,this.Sxa,this);this.Ff.bind(m.CL,this.zZa,this);this.Ff.bind(m.vL,this.yZa,this);this.Ff.bind(m.qa,this.xZa,this);this.Ff.Ua(this)});q.prototype.set=function(n,r){switch(n){case "maxWidth":this.tea=r;this.l_();break;case "maxHeight":this.sea=r;this.l_();break;case "children":this.k6.set(n,r);break;case "shadow":this.Nva=
3795r;this.Nxa();break;default:d.prototype.set.call(this,n,r)}};q.prototype.show=function(n,r){this.l_(n);this.set("visible",!1);this.Ff.set("visible",!1);this.JKa();r&&this.D_a();r=n.get("children");n.set("children",r.concat([this.Ff]));l.defer(function(){this.Ff.set("visible",!0)}.bind(this))};q.prototype.JKa=function(){var n=this.B("modal"),r=this.B("veilShowEffect"),u=this.B("veilHideEffect");n&&r?this.Ff.set("showEffect",r):this.Ff.set("showEffect",null);n&&u?this.Ff.set("hideEffect",u):this.Ff.set("hideEffect",
3796null)};q.prototype.hide=function(){this.get("visible")&&this.trigger(m.mHa);this.v_=0;this.qZ(!1);this.set("visible",!1)};q.prototype.D_a=function(){this.set("centerX",0);this.set("centerY",0)};q.prototype.get=function(n,r){return"children"==n?this.k6.get(n,r):d.prototype.get.call(this,n,r)};
3796q.ola={headerBackgroundOpacity:"backgroundOpacity",headerBackgroundColor:"backgroundColor",headerBackgroundColorRatios:"backgroundColorRatios",headerBackgroundColorDirection:"backgroundColorDirection",headerBorderSize:"borderSize",
3797headerBorderLeftSize:"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",
3798headerVerticalAlign:"verticalAlign"};q.nla=Object.keys(q.ola);q.n5={borderRadius:"borderTopRadius",borderTopRadius:"borderTopRadius",borderLeftRadius:"borderTopLeftRadius",borderRightRadius:"borderTopRightRadius",borderTopLeftRadius:"borderTopLeftRadius",borderTopRightRadius:"borderTopRightRadius"};q.m5="borderLeftRadius borderRightRadius borderTopLeftRadius borderTopRightRadius borderTopRadius borderRadius".split(" ");q.Gla={title:"text",titleFontFamily:"fontFamily",titleFontSize:"fontSize",titleFontColor:"fontColor",
3799titleFontWeight:"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"};
3800q.Fla=Object.keys(q.Gla);q.ila={closeButtonBackgroundColor:"backgroundColor",closeButtonBackgroundColorDirection:"backgroundColorDirection",closeButtonBackgroundColorRatios:"backgroundColorRatios",closeButtonBackgroundOpacity:"backgroundOpacity",closeButtonBorderColor:"borderColor",closeButtonBorderRadius:"borderRadius",closeButtonBorderSize:"borderSize",closeButtonHeight:"height",closeButtonIconColor:"iconColor",closeButtonIconHeight:"iconHeight",closeButtonIconLineWidth:"iconLineWidth",closeButtonIconWidth:"iconWidth",
3801closeButtonOpacity:"opacity",closeButtonWidth:"width",closeButtonPaddingBottom:"paddingBottom",closeButtonPaddingLeft:"paddingLeft",closeButtonPaddingRight:"paddingRight",closeButtonPaddingTop:"paddingTop",closeButtonRollOverBackgroundColor:"rollOverBackgroundColor",closeButtonRollOverBackgroundColorDirection:"rollOverBackgroundColorDirection",closeButtonRollOverBackgroundColorRatios:"rollOverBackgroundColorRatios",closeButtonRollOverBackgroundOpacity:"rollOverBackgroundOpacity",closeButtonRollOverBorderColor:"rollOverBorderColor",
3802closeButtonRollOverBorderSize:"rollOverBorderSize",closeButtonRollOverIconColor:"rollOverIconColor",closeButtonRollOverIconLineWidth:"rollOverIconLineWidth",closeButtonRollOverOpacity:"rollOverOpacity",closeButtonPressedBackgroundColor:"pressedBackgroundColor",closeButtonPressedBackgroundColorDirection:"pressedBackgroundColorDirection",closeButtonPressedBackgroundColorRatios:"pressedBackgroundColorRatios",closeButtonPressedBackgroundOpacity:"pressedBackgroundOpacity",closeButtonPressedBorderColor:"pressedBorderColor",
3803closeButtonPressedBorderSize:"pressedBorderSize",closeButtonPressedIconColor:"pressedIconColor",closeButtonPressedIconLineWidth:"pressedIconLineWidth",closeButtonPressedOpacity:"pressedOpacity"};q.hla=Object.keys(q.ila);q.kla={footerBackgroundOpacity:"backgroundOpacity",footerBackgroundColor:"backgroundColor",footerBackgroundColorRatios:"backgroundColorRatios",footerBackgroundColorDirection:"backgroundColorDirection",footerBorderSize:"borderSize",footerBorderLeftSize:"borderLeftSize",footerBorderTopSize:"borderTopSize",
3804footerBorderRightSize:"borderRightSize",footerBorderBottomSize:"borderBottomSize",footerBorderColor:"borderColor",footerBorderLeftColor:"borderLeftColor",footerBorderTopColor:"borderTopColor",footerBorderRightColor:"borderRightColor",footerBorderBottomColor:"borderBottomColor",footerHeight:"height"};q.jla=Object.keys(q.kla);q.mla={borderRadius:"borderBottomRadius",borderBottomRadius:"borderBottomRadius",borderLeftRadius:"borderBottomLeftRadius",borderRightRadius:"borderBottomRightRadius",borderBottomLeftRadius:"borderBottomLeftRadius",
3805borderBottomRightRadius:"borderBottomRightRadius"};q.lla="borderLeftRadius borderRightRadius borderBottomLeftRadius borderBottomRightRadius borderBottomRadius borderRadius".split(" ");
3805q.ela={bodyBackgroundOpacity:"backgroundOpacity",bodyBackgroundColor:"backgroundColor",bodyBackgroundColorRatios:"backgroundColorRatios",bodyBackgroundColorDirection:"backgroundColorDirection",bodyBorderSize:"borderSize",bodyBorderLeftSize:"borderLeftSize",bodyBorderTopSize:"borderTopSize",bodyBorderRightSize:"borderRightSize",
3806bodyBorderBottomSize:"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",
3807scrollBarVerticalMargin:"scrollBarVerticalMargin",scrollBarOpacity:"scrollBarOpacity",gap:"gap"};q.dla=Object.keys(q.ela);q.fla={layout:"layout",horizontalAlign:"horizontalAlign",verticalAlign:"verticalAlign"};q.jJa=Object.keys(q.fla);q.Ila={veilOpacity:"backgroundOpacity",veilColor:"backgroundColor",veilColorRatios:"backgroundColorRatios",veilColorDirection:"backgroundColorDirection"};q.Hla=Object.keys(q.Ila);q.Ac=function(){var n={modal:!1,visible:!1,centerX:0,centerY:0,veilShowEffect:void 0,veilHideEffect:void 0};
3808e.defaults(n,f.Ac);for(var r=[].concat(q.nla,q.Fla,q.hla,q.dla,q.jla,q.Hla),u=0;u<r.length;u++)n[r[u]]=void 0;return n}();q.prototype.tb=function(){this.lo(q.Ac)};q.prototype.Db=function(){d.prototype.Db.call(this);null==this.Gl&&(this.Gl=new c,this.Gl.set("width","100%"),this.Gl.bind(m.jb,this.vQa,this),this.Ua(this.Gl));null==this.cQ&&(this.cQ=new p,this.cQ.set("width","100%"),this.Gl.Ua(this.cQ));null==this.TG&&(this.TG=new g,this.TG.ma({horizontalAlign:b.Qe,verticalAlign:b.le}),this.TG.bind(m.qa,
3809this.bMa,this),this.Gl.Ua(this.TG));null==this.ty&&(this.ty=this.k6,this.ty.ma({width:"100%",height:"100%"}),this.Ua(this.ty));null==this.rH&&(this.rH=new f,this.rH.set("width","100%"),this.Ua(this.rH))};q.prototype.xZa=function(){this.v_++;setTimeout(function(){0<this.v_&&this.hide()}.bind(this),100)};q.prototype.FZa=function(){this.v_--};q.prototype.bMa=function(){this.hide()};q.prototype.vQa=function(n){this.i9=n.pageX;this.j9=n.pageY;this.wb().bind(m.bc,this.cya,this,!0);this.wb().bind(m.Eb,this.dya,
3810this,!0)};q.prototype.cya=function(n){this.set("centerX",this.get("centerX")+(n.pageX-this.i9));this.set("centerY",this.get("centerY")+(n.pageY-this.j9));this.i9=n.pageX;this.j9=n.pageY;this.Mxa()};q.prototype.dya=function(){this.wb().unbind(m.bc,this.cya,this);this.wb().unbind(m.Eb,this.dya,this)};q.prototype.Sxa=function(){this.l_()};q.prototype.zZa=function(){this.set("visible",!0)};q.prototype.yZa=function(){this.Ff.unbind(m.pc,this.Sxa,this);var n=this.Ff.getParent();n&&n.removeChild(this.Ff);
3811this.trigger(new k(m.WF))};q.prototype.IZa=function(){this.Mxa()};q.prototype.JZa=function(){this.qZ(!0)};q.prototype.GZa=function(){this.Ff.set("visible",!1)};q.prototype.qZ=function(n){this.oca=n;this.Nxa()};q.prototype.Nxa=function(){d.prototype.set.call(this,"shadow",this.oca&&this.Nva)};q.prototype.l_=function(n){n||(n=this.pa);void 0!==this.tea?d.prototype.set.call(this,"maxWidth",this.tea):n?d.prototype.set.call(this,"maxWidth",n.Ya()):d.prototype.set.call(this,"maxWidth",void 0);void 0!==
3812this.sea?d.prototype.set.call(this,"maxHeight",this.sea):n?d.prototype.set.call(this,"maxHeight",n.Ab()):d.prototype.set.call(this,"maxHeight",void 0)};q.prototype.Mxa=function(){var n=this.Ff.Ya(),r=this.Ya(),u=this.get("centerX");r=.5*n+u-.5*r;var t=this.Gl.qm(),v=this.Gl.Ya(),w=Math.min(v,30);n=n-t-w;t=-(t+v-w);r<t?this.set("centerX",u+(t-r)):r>n&&this.set("centerX",u-(r-n));n=this.Ff.Ab();r=this.Ab();u=this.get("centerY");r=.5*n+u-.5*r;t=this.Gl.It();v=this.Gl.Ab();w=Math.min(v,5);n=n-t-w;t=-(t+
3813v-w);r<t?this.set("centerY",u+(t-r)):r>n&&this.set("centerY",u-(r-n))};q.prototype.Za=function(){this.qc(q.nla,q.ola,[this.Gl],!0,!0);this.qc(q.m5,q.n5,[this.Gl],!0,!1);
38130===this.get("headerHeight")?this.qc(q.m5,q.n5,[this.ty],!0,!1):this.qc(q.m5,q.n5,[this.Gl],!0,!1);this.qc(q.Fla,q.Gla,[this.cQ],!0,!0);this.qc(q.hla,q.ila,[this.TG],!0,!0);this.qc(q.dla,q.ela,[this.ty],!0,!0);this.qc(q.jJa,q.fla,[this.ty],!0,!1);this.qc(q.jla,q.kla,[this.rH],!0,!0);0===this.get("footerHeight")?this.qc(q.lla,q.mla,
3814[this.ty],!0,!1):this.qc(q.lla,q.mla,[this.rH],!0,!1);this.B("modal")?(this.qc(q.Hla,q.Ila,[this.Ff],!0,!0),this.Ff.set("contentOpaque",!0)):(this.Ff.set("backgroundOpacity",0),this.Ff.set("contentOpaque",!1));this.ma({layout:h.Kh,horizontalAlign:b.Qe,verticalAlign:b.le});d.prototype.Za.call(this);this.Kl.I2(0)};return q});
3815define("eo",["require","mO","nV"],function(a){var e=a("mO");a=a("nV").define("Window",e,function(){e.call(this)});a.prototype.show=a.prototype.show;a.prototype.hide=a.prototype.hide;return a});
3816define("np","require jquery.mod en kS pg ik cC gv bi oI bG gY mv v lE".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.hK=this.source.get("grayscale");this.Yw=new q(h.ql)}var l=a("jquery.mod"),m=a("en"),k=a("kS"),b=a("pg"),h=a("ik"),f=a("cC"),c=a("gv"),d=a("bi"),g=a("oI"),p=a("bG"),q=a("gY"),n=a("mv"),r=a("v"),u=a("lE"),t=u.extend(c,function(){c.call(this);this.AX=this.AX.bind(this);this.Mg=
3817null;this.Ce=[];this.mn=[];this.Wb=this.Jb=this.Ld=this.Bd=100;this.rf=1;this.By=this.Ay=.5;this.Gc=1;this.Ej=this.cj=null;this.oY=!1;this.a7={};this.YG={};this.YG.low={};this.YG.hight={};r.CJ()==r.oL&&(this.YG.low.transform="translateZ(0)",this.YG.hight.transform="");this.U=!1;this.Qh="inherit";this.va=l("<div/>").css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden"});this.fN=null;this.cf=u.lp(this.ha,this)});t.prototype.$c=function(){return this.va};t.prototype.ZA=function(v){this.Ef!=
3818v&&(this.Ef=v,this.Z5(1),this.cf())};t.prototype.v2=function(v){this.Qh!=v&&(this.Qh=v,this.Ej&&this.Ej.css("cursor",this.Qh),this.cj&&this.cj.css("cursor",this.Qh))};t.prototype.R5a=function(v){this.Ce!=v&&(this.Ce&&k.ba(this.Ce,["levels.url"],this.AX),(this.Ce=v)&&k.da(this.Ce,["levels.url"],this.AX,!0))};t.prototype.AX=function(){this.z6();this.Mg=null;this.cj&&(this.cj.detach(),this.cj=null);this.Ej&&(this.Ej.detach(),this.Ej=null);this.mg&&(this.mg=null);this.z6();this.oY=!1;m(this.mn).each(function(w){w.Yw.cancel();
3819w.Yw.unbind(b.Z,this.yqa,this)},this);var v=(this.Ce&&this.Ce.get("levels")||[]).filter(function(w){return w.get("url")});this.mn=m(v).map(function(w){w=new e(w);w.Yw.bind(b.Z,this.yqa,this);return w},this);(v=this.vPa())?(this.Jb=v.width,this.Wb=v.height):this.Wb=this.Jb=100;this.By=this.Ay=.5;this.Z5(1);this.cf()};t.prototype.zF=function(v,w){if(this.Bd!=v||this.Ld!=w)this.Bd=v,this.Ld=w,this.cf()};t.prototype.z5a=function(v,w){if(this.Fna!=v||this.Ena!=w)this.Fna=v,this.Ena=w,this.cf()};t.prototype.rb=
3820function(v){this.U!=v&&(this.U=v,this.cf())};t.prototype.move=function(v,w){var x=this.rf*this.Gc;this.Ay+=v/(this.Jb*x);this.By+=w/(this.Wb*x);this.RY()};t.prototype.TE=function(){return this.Gc};t.prototype.setScale=function(v){this.Z5(Math.max(1,Math.min(1/this.rf,v)));this.Mg&&this.Mg.width<this.Gc*this.rf*this.Jb&&this.Mg.width<this.Jb?this.ha():this.RY()};t.prototype.EBa=function(v){if(!this.cj)return!1;var w=this.cj.offset(),x=v.pageX-w.left;v=v.pageY-w.top;return 0<=x&&0<=v&&x<this.cj.width()&&
3821v<this.cj.height()};t.prototype.ha=function(){if(this.U){this.jZa();var v=this.CPa();v&&v.Yw.ii()?(v!=this.Mg&&(this.Mg||(this.cf(),this.oY=!0),this.vNa(v),this.Mg=v),this.sva(null)):this.sva(v);this.RY()}};t.prototype.jZa=function(){switch(this.Ef){case n.Cp:var v=this.Bd/this.Jb;break;case n.nk:v=this.Ld/this.Wb;break;case n.Tr:v=this.Jb*this.Ld>this.Wb*this.Bd?this.Ld/this.Wb:this.Bd/this.Jb;break;case n.rHa:v=Math.min(this.Fna/this.Jb,this.Ena/this.Wb);break;default:v=this.Jb*this.Ld>this.Wb*
3822this.Bd?this.Bd/this.Jb:this.Ld/this.Wb}this.EKa(v)};t.prototype.yqa=function(){this.cf()};t.prototype.vNa=function(v){this.Ej&&(this.cca(this.Ej,1),this.cj&&this.cj.detach(),this.cj=this.Ej);this.Ej=this.NMa(v);this.cca(this.Ej,0);this.va.append(this.Ej);this.mg=this.EMa();this.a7={}};t.prototype.CPa=function(){return this.Mg?this.JOa(this.Gc*this.rf*this.Jb):this.ZPa()};
3822t.prototype.sva=function(v){m(this.mn).each(function(w){w==v?w.Yw.Oi()!=w.url&&w.Yw.load(w.url):w.Yw.ii()||w.Yw.cancel()})};t.prototype.vPa=
3823function(){return m(this.mn).reduce(function(v,w){v||(v=w);if(w.width>v.width||w.width==v.width&&!w.hK&&v.hK)v=w;return v},null)};t.prototype.ZPa=function(){return m(this.mn).reduce(function(v,w){v||(v=w);if(w.width<v.width||w.width==v.width&&w.hK&&!v.hK)v=w;return v},null)};t.prototype.JOa=function(v){return m(this.mn).reduce(function(w,x){w||(w=x);if(x.width>=v&&w.width<v||x.width>=v&&x.width<w.width||x.width<v&&x.width>w.width||!x.hK&&w.hK)w=x;return w},null)};t.prototype.NMa=function(v){v=l(v.Yw.vf(!0));
3824v.css({position:"absolute",cursor:this.Qh,"pointer-events":"none"});return v};t.prototype.EMa=function(){return new g("linear",[new p("alpha",0,1)],200)};t.prototype.RY=function(){d.requestFrame(function(v){this.MY(v,"low")},this)};t.prototype.Kfa=function(){return this.Jb*this.Gc*this.rf};t.prototype.Jfa=function(){return this.Wb*this.Gc*this.rf};t.prototype.nAa=function(){var v=this.Kfa();return v>this.Bd?Math.max(this.Bd-v,Math.min(0,.5*this.Bd-v*this.Ay)):.5*(this.Bd-v)};t.prototype.oAa=function(){var v=
3825this.Jfa();return v>this.Ld?Math.max(this.Ld-v,Math.min(0,.5*this.Ld-v*this.By)):.5*(this.Ld-v)};t.prototype.MY=function(v,w){w=w||"low";var x=this.Kfa(),y=this.nAa(),z=this.Jfa(),C=this.oAa();this.Ay=(.5*this.Bd-y)/x;this.By=(.5*this.Ld-C)/z;x={left:Math.round(y)+"px",top:Math.round(C)+"px",width:Math.round(x)+"px",height:Math.round(z)+"px",display:"block"};for(var A in this.YG[w])x[A]=this.YG[w][A];this.a7!=x&&(this.cj&&this.cj.css(x),this.Ej&&this.Ej.css(x),this.a7=x);this.z6();this.mg?(this.mg.Cb(v),
3826this.cca(this.Ej,this.mg.fb("alpha")),this.mg.Ze()&&(this.mg=null,this.cj&&this.cj.detach(),this.cj=this.Ej,this.Ej=null),this.RY()):"low"==w&&this.JWa();!this.mg&&this.oY&&(this.oY=!1,this.trigger(new f(b.Z)))};t.prototype.cca=function(v,w){v.css({opacity:w,filter:"alpha(opacity="+Math.round(100*w)+")","-ms-filter":"alpha(opacity="+Math.round(100*w)+")"})};t.prototype.z6=function(){null!=this.fN&&(clearTimeout(this.fN),this.fN=null)};t.prototype.JWa=function(){var v=this;this.fN=setTimeout(function(){v.fN=
3827null;v.MY(50,"hight")},50)};t.prototype.Z5=function(v){this.Gc!=v&&(this.Gc=v,this.WXa())};t.prototype.EKa=function(v){this.rf!=v&&(this.rf=v)};t.prototype.WXa=function(){this.trigger(new f(t.IT,{scale:this.Gc}))};t.IT="scaleChange";return t});
3828define("kD","require jquery.mod pg cC np lE e R".split(" "),function(a){a("jquery.mod");var e=a("pg"),l=a("cC"),m=a("np"),k=a("lE"),b=a("e"),h=a("R"),f=k.extend(b,function(){b.call(this);this.Ge("ZoomImage");this.dw=this.zn=void 0;this.Lk=!1;this.Wta=void 0;this.$pa=this.Gc;this.AQ=null;this.j=new m;this.j.bind(e.Z,this.USa,this);this.j.bind(m.IT,this.VSa,this);this.Ob().append(this.j.$c());this.bind(e.pc,this.Fc,this,!0);this.bind(e.dd,this.fj,this,!0);this.bind(e.Tc,this.ej,this,!0);this.bind(e.jb,
3829this.Xd,this,!0);this.bind(e.bc,this.Mj,this,!0);this.bind(e.Eb,this.Nj,this,!0);this.bind(e.Yr,this.nD,this,!0);this.bind(e.aG,this.NC,this,!0)});f.prototype.set=function(c,d){switch(c){case "scale":this.j.setScale(d);d=this.j.TE();break;case "imageLeft":case "imageTop":case "imageWidth":case "imageHeight":return}b.prototype.set.call(this,c,d)};f.prototype.get=function(c,d){switch(c){case "scale":return this.j.TE();case "imageLeft":return this.j.nAa();case "imageTop":return this.j.oAa();case "imageWidth":return this.j.Kfa();
3830case "imageHeight":return this.j.Jfa()}return b.prototype.get.call(this,c,d)};f.prototype.tb=function(){b.prototype.tb.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")};f.prototype.Za=function(){this.K("scaleMode")&&(this.j.ZA(this.B("scaleMode")),this.S("scaleMode"));this.K("image")&&(this.j.R5a(this.B("image")),this.S("image"),this.$pa=this.Gc);if(this.K("customHeight")||
3831this.K("customWidth"))this.S("customHeight"),this.S("customWidth"),this.Fc();this.K("imageCursor")&&(this.S("imageCursor"),this.j.v2(this.gb.q7.cAa(this.get("imageCursor"))));b.prototype.Za.call(this)};f.prototype.Fc=function(){var c=this.Ya(),d=this.Ab(),g=this.get("customWidth","100%"),p=h.mp(g);g=void 0!==p?c*p/100:g;p=this.get("customHeight","100%");var q=h.mp(p);this.j.z5a(g,void 0!==q?d*q/100:p);this.j.zF(c,d)};f.prototype.fj=function(){this.j.rb(!0)};f.prototype.ej=function(){this.j.rb(!1)};
3832f.prototype.Xd=function(c){this.zn=c.x;this.dw=c.y;this.Lk=!0;this.Wta=this.j.EBa(c)};f.prototype.Mj=function(c){this.Lk&&(this.aea(),this.j.move(-(c.x-this.zn),-(c.y-this.dw)),this.zn=c.x,this.dw=c.y)};f.prototype.Nj=function(c){this.Lk=!1;this.Wta||this.j.EBa(c)||this.trigger(new l(f.AHa))};f.prototype.nD=function(c){this.aea();this.j.setScale((1+c.delta/20)*this.j.TE())};f.prototype.NC=function(c){this.aea();this.j.setScale(c.scale/this.$pa)};f.prototype.USa=function(){this.trigger(new l(e.Z))};
3833f.prototype.VSa=function(){b.prototype.set.call(this,"scale",this.j.TE());this.trigger(new l(f.IT))};f.prototype.aea=function(){this.AQ?(clearTimeout(this.AQ),this.AQ=null):this.trigger(new l(f.Si));this.AQ=setTimeout(function(){this.AQ=null;this.trigger(new l(f.Ri))}.bind(this),300)};f.AHa="backgroundClick";f.IT="scaleChange";f.Si="userInteractionStart";f.Ri="userInteractionEnd";return f});define("ok",["require","kD","nV"],function(a){var e=a("kD");return a("nV").define("ZoomImage",e,function(){e.call(this)})});
3834define("ju","require nV jE im od ex ej eW oF jV jG gr ga ie k jD ks mf oO hv iv ll gZ fR dv bB ke nZ jY kY mT fJ q jA ed ei oV nh cZ kd nD iA mn hr N cR u lT gt X ky bx bm nC oy jr fm mr lQ jw bM cL oG jK ny lo Q pL gl dq eu ji bX bf gi fs hb iQ bI pz pK fn kg mE iN p dP kQ mF iP el fh pI hz lf ff mJ bP lM iM bk px gu oL cE cG lI pf jO gN kw hg lS nM ia kH kW pA eF iU nJ eV iy S ph dV gG bH jd fE Z pp fa mV lW fr gS eX cn iE ol mu fG oM lP oq hc ft gI dt ni cs ig ng kt hF bZ iI dG bQ kp jQ oU fY hl ci if ly bb eB hL dC bz cr eo ok".split(" "),
3835function(a){a("nV");a("jE");a("im");a("od");a("ex");a("ej");a("eW");a("oF");a("jV");a("jG");a("gr");a("ga");a("ie");a("k");a("jD");a("ks");a("mf");a("oO");a("hv");a("iv");a("ll");a("gZ");a("fR");a("dv");a("bB");a("ke");a("nZ");a("jY");a("kY");a("mT");a("fJ");a("q");a("jA");a("ed");a("ei");a("oV");a("nh");a("cZ");a("kd");a("nD");a("iA");a("mn");a("hr");a("N");a("cR");a("u");a("lT");a("gt");a("X");a("ky");a("bx");a("bm");a("nC");a("oy");a("jr");a("fm");a("mr");a("lQ");a("jw");a("bM");a("cL");a("oG");
3836a("jK");a("ny");a("lo");a("Q");a("pL");a("gl");a("dq");a("eu");a("ji");a("bX");a("bf");a("gi");a("fs");a("hb");a("iQ");a("bI");a("pz");a("pK");a("fn");a("kg");a("mE");a("iN");a("p");a("dP");a("kQ");a("mF");a("iP");a("el");a("fh");a("pI");a("hz");a("lf");a("ff");a("mJ");a("bP");a("lM");a("iM");a("bk");a("px");a("gu");a("oL");a("cE");a("cG");a("lI");a("pf");a("jO");a("gN");a("kw");a("hg");a("lS");a("nM");a("ia");a("kH");a("kW");a("pA");a("eF");a("iU");a("nJ");a("eV");a("iy");a("S");a("ph");a("dV");
3837a("gG");a("bH");a("jd");a("fE");a("Z");a("pp");a("fa");a("mV");a("lW");a("fr");a("gS");a("eX");a("cn");a("iE");a("ol");a("mu");a("fG");a("oM");a("lP");a("oq");a("hc");a("ft");a("gI");a("dt");a("ni");a("cs");a("ig");a("ng");a("kt");a("hF");a("bZ");a("iI");a("dG");a("bQ");a("kp");a("jQ");a("oU");a("fY");a("hl");a("ci");a("if");a("ly");a("bb");a("eB");a("hL");a("dC");a("bz");a("cr");a("eo");a("ok");return!0});
3838define("gB","require en jquery.mod lE nV bY ju mC".split(" "),function(a){function e(n,r){this.type=n;this.stack=r}function l(){}
3838var m=a("en"),k=a("jquery.mod"),b=a("lE"),h=a("nV"),f=a("bY");a("ju");a("mC");l.prototype.g4a=function(n,r,u,t){this.a8=[];this.Rz=this.CI(n);this.ZC=void 0;this.Rz.zt.rAa()?(this.cea=f.validate(n),this.ZC=this.Joa(this.Rz,c.TYPE),this.QMa(this.ZC,this.Rz,r,u,t),this.zKa(this.Rz),this.xKa(this.Rz,this.ZC),this.AKa(this.ZC,this.Rz),this.TKa(this.ZC,this.Rz)):this.bo("Invalid root class",
3839[]);return 0==this.a8.length};l.prototype.wb=function(){return this.Rz.instance};l.prototype.CI=function(n,r){r=r||[];return m(n).isArray()?this.YTa(n,r):k.isPlainObject(n)&&n["class"]?this.aUa(n,r):k.isPlainObject(n)?this.ZTa(n,r):m(n).isFunction()?this.$Ta(n,r):this.bUa(n,r)};l.prototype.YTa=function(n,r){for(var u=[],t=0;t<n.length;t++)r.push("Item["+t+"]"),u.push(this.CI(n[t],r)),r.pop();return new d(r.slice(),u)};l.prototype.aUa=function(n,r){var u=n["class"],t=h.Ni(n["class"]);if(t){u={};var v=
3840{},w;for(w in n){r.push(w);var x=n[w];switch(w){case "class":break;case "scripts":var y=this.CI(x,r);break;default:t.hasAttribute(w)?u[w]=this.CI(x,r):t.YAa(w)||t.ZAa(w)?v[w]=this.CI(x,r):this.bo(t.QE()+" object doesn't have any attribute named "+w,r)}r.pop()}return new c(r.slice(),t,n.id,u,v,y)}this.bo("Undefined class name: "+u,r.slice());return new q(r.slice(),null)};l.prototype.ZTa=function(n,r){var u={},t;for(t in n)r.push(t),u[t]=this.CI(n[t],r),r.pop();return new g(r.slice(),u)};l.prototype.$Ta=
3841function(n,r){return new p(r.slice(),n)};l.prototype.bUa=function(n,r){return new q(r.slice(),n)};l.prototype.Joa=function(n,r){var u=r&&n.type!=r?[]:[n],t=0;for(n=n.mb();t<n.length;t++)u=u.concat(this.Joa(n[t],r));return u};l.prototype.QMa=function(n,r,u,t,v){r.instance=r.zt.pm(null,t,v,[u,this.cea]);r.instance.set("application",r.instance);for(u=0;u<n.length;u++){var w=n[u];w!=r&&(w.instance=w.zt.pm(r.instance,t,v))}};l.prototype.zKa=function(n){if(n.scripts)if(n.scripts.type==g.TYPE)for(var r in n.scripts.value)this.yKa(n,
3842r);else this.bo("Invalid content.",n.scripts.stack)};l.prototype.yKa=function(n,r){var u=n.instance,t=n.scripts.value[r];m(u[r]).isUndefined()?t&&t.type==p.TYPE?u[r]=function(){return t.Qt().apply(u,arguments)}:this.bo("Invalid content.",t.stack):this.bo("Identifier: "+r+" is already in use",t.stack)};l.prototype.xKa=function(n,r){n=n.instance;for(var u=0;u<r.length;u++){var t=r[u],v=t.id;v&&(m(n[v]).isUndefined()?n[v]=t.instance:this.bo("Identifier: "+v+" is arleady in use",t.stack))}};l.prototype.AKa=
3843function(n,r){for(var u=0;u<n.length;u++){var t=n[u],v=t.attributes,w;for(w in v)this.wKa(t,w,r)}};l.prototype.wKa=function(n,r,u){var t=n.zt;if(t.hasAttribute(r)){try{var v=n.attributes[r].Qt()}catch(w){this.bo("Invalid value for property "+r+" of "+t.QE()+" instance",n.stack)}try{v=t.Bfa(r)(v,u.instance),n.instance.set(r,v)}catch(w){this.bo("Invalid value for property "+r+" of "+t.QE()+" instance",n.stack)}}else this.bo(t.QE()+" object doesn't have any property named "+r,n.stack)};l.prototype.TKa=
3844function(n,r){for(var u=0;u<n.length;u++){var t=n[u],v;for(v in t.NE)this.SKa(t,v,r)}};l.prototype.SKa=function(n,r,u){var t=n.zt,v=n.instance,w=t.YAa(r),x=t.ZAa(r);if(w||x){n=n.NE[r];var y=n.Qt();m(y).isFunction()?v.bind(r,y,u.instance,x,y,!0):"string"==typeof y?v.bind(r,function(){try{eval("var event = arguments[0];"+y)}catch(z){throw z;}},u.instance,x,y,!0):this.bo("Invalid value.",n.stack)}else this.bo(t.QE()+" object doesn't have any event named "+r,n.stack)};l.prototype.bo=function(n,r){this.a8.push("In "+
3845r.join(" >> ")+": "+n)};e.prototype.mb=function(){return[]};e.prototype.Qt=function(){};var c=b.extend(e,function(n,r,u,t,v,w){e.call(this,c.TYPE,n);this.zt=r;this.id=u;this.attributes=t;this.NE=v;this.scripts=w;this.instance=null});c.prototype.mb=function(){var n=this.zt.CAa(),r=[],u=m(this.attributes).clone();if(n)for(var t=0;t<n.length;t++){var v=n[t];void 0!=u[v]&&(r.push(u[v]),delete u[v])}return r=r.concat(m(u).values())};c.prototype.Qt=function(){return this.instance};c.TYPE="instance";var d=
3846b.extend(e,function(n,r){e.call(this,d.TYPE,n);this.items=r});d.prototype.mb=function(){return this.items.slice()};d.prototype.Qt=function(){for(var n=[],r=0;r<this.items.length;r++)n.push(this.items[r].Qt());return n};d.TYPE="array";var g=b.extend(e,function(n,r){e.call(this,g.TYPE,n);this.value=r});g.prototype.mb=function(){return m(this.value).values()};g.prototype.Qt=function(){var n={},r;for(r in this.value)n[r]=this.value[r].Qt();return n};g.TYPE="dict";var p=b.extend(e,function(n,r){e.call(this,
3847p.TYPE,n);this.value=r});p.prototype.Qt=function(){return this.value};p.TYPE="function";var q=b.extend(e,function(n,r){e.call(this,q.TYPE,n);this.value=r});q.prototype.Qt=function(){return this.value};q.TYPE="simple";return l});
3848define("nj","require en pg cC nV gB v eY mC oB hJ nr pe nv lE".split(" "),function(a){function e(v,w){this.ZP=v;this.Ni=this.Ni.bind(this);this.pm=this.pm.bind(this);this.JJ=this.JJ.bind(this);this.Ga=this.Ga.bind(this);this.E0=this.E0.bind(this);f.nb()&&!f.Hf()&&r.jr();this.eV=[];v=q.name;var x=[];v&&x.push(v);0<q.aS?x.push("v:"+q.aS+"."+q.eS):x.push("v:"+q.eS);u.log(x.join(" "));this.qp=w;d.R2a()||0<=[f.UF,f.Hx].indexOf(f.browser())?(this.Gk=new h,(w=this.qp.get(TDV.PlayerSettings.BASE_DIR_URL))?
3849(w=d.zx(w),"/"!=w[w.length-1]&&(w+="/")):w=d.getDirectory(this.qp.get(TDV.PlayerSettings.SELECTED_SCRIPT_URL)),this.tha=this.qp.get(TDV.PlayerSettings.QUERY_STRING_PARAMETERS),c.v4a(w,function(y){this.Jea=y;this.wTa()}.bind(this))):window.alert(n("web-server-required"))}var l=a("en"),m=a("pg"),k=a("cC"),b=a("nV"),h=a("gB"),f=a("v"),c=a("eY"),d=a("mC"),g=a("oB"),p=a("hJ"),q=a("nr"),n=a("pe"),r=a("nv"),u=a("lE");e.prototype.wTa=function(){this.ZP.trigger(new TDV.ST(m.FIa,{},[],void 0));l.defer(function(){if(!this.Gk.g4a(this.qp.get(TDV.PlayerSettings.SCRIPT_DATA),
3850this.qp.get(TDV.PlayerSettings.CONTAINER),this.Jea,this.tha)){if("false"!=q.F7a){window.alert(this.wpa());return}u.log(this.wpa())}this.RKa();this.oKa(this.qp);this.CKa();g.HDa=this.Gk.wb();g.initialize(function(){this.YXa()}.bind(this))}.bind(this))};
3850e.prototype.clear=function(){this.Gk&&(this.mpa().forEach(function(v){v.instance.Wia();v.zt.tR().forEach(function(w){switch(w){case "VideoPlayer":v.instance.stop();case "MapPlayer":case "Model3DPlayer":case "PanoramaPlayer":case "PhotoAlbumPlayer":v.instance.set("viewerArea",
3851null);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.O4a()}})}),p.m4a(),this.Gk.wb().clear(),t={},this.qp=this.Gk=null)};e.prototype.P1a=function(v){return this.Gk.wb()[v]};e.prototype.Ni=function(v){if(v in t)return t[v].slice();var w=[];this.mpa().forEach(function(x){var y=x.zt.tR();l(y).contains(v)&&w.push(x.instance)});t[v]=w;return w.slice()};e.prototype.mpa=function(){return this.Gk?
3852this.Gk.ZC.concat(this.eV):[]};var t={};e.prototype.pm=function(v){var w=b.Ni(v);if(!w)throw"Invalid className: "+v;t={};v=this.Gk.wb();var x={};x.zt=w;x.instance=w.pm(v,this.Jea,this.tha);this.eV.push(x);this.qma(w,x.instance);this.KXa(v,x.instance);return x.instance};e.prototype.JJ=function(v){var w=this.eV.findIndex(function(x){return x.instance==v});0>w||(t={},this.eV.splice(w,1),v.Wia(),v.dispose&&v.dispose())};e.prototype.wpa=function(){for(var v=this.Gk.a8,w=["Errors parsing script file:"],
3853x=0;x<v.length;x++)w.push(v[x]);return w.join("\n")};e.prototype.RKa=function(){this.Gk.ZC.forEach(function(w){this.qma(w.zt,w.instance,w.id)}.bind(this));var v=this.Gk.wb().aV;v.bind(m.YF,function(){v.g8a(m.YF);this.ZP.cookiesEnabled=this.ZP.U_a=!0;this.ZP.trigger(new TDV.ST(m.YF,{},[],void 0))},this,!0)};e.prototype.qma=function(v,w,x){var y=v.tR();l.union(v.Ffa(),v.Lfa()).forEach(function(z){w.bind(z,function(C){this.ZP.trigger(new TDV.ST(z,C,y,x))}.bind(this),this,!0)}.bind(this))};e.prototype.KXa=
3854function(v,w){v.trigger(new k(m.dIa,{instance:w}))};e.prototype.oKa=function(v){this.Gk.wb().set("settings",v)};e.prototype.Ga=function(){return b.Ga.apply(b,arguments)};e.prototype.E0=function(v){!v||d.zA(v)||d.d1(v)||(v=d.kA(d.zx(v,this.Jea),this.tha));return v};e.prototype.CKa=function(){var v=this.Gk.wb();v.getByClassName=v.Ni=this.Ni;v.createInstance=v.pm=this.pm;v.disposeInstance=v.JJ=this.JJ;v.isInstanceOfClass=v.Ga=this.Ga;v.getAbsoluteURL=v.E0=this.E0};e.prototype.YXa=function(){this.Gk.wb().start()};
3855e.d8a=function(v){v.trigger(new TDV.ST(m.eIa,{},[],void 0))};return e});define("main",["require","jquery.mod","nj"],function(a){var e=a("jquery.mod"),l=a("nj");e(document).ready(function(){TDV.sb.y6a(l)})});
3856(function(t,e){e(t.THREE=t.THREE||{})})(this,function(t){"use strict";const e="151",n=0,i=1,r=2,s=1,a=2,o=3,l=0,c=1,h=2,u=0,d=1,p=2,m=3,f=4,g=5,v=100,_=101,x=102,y=103,M=104,S=200,b=201,w=202,T=203,E=204,A=205,C=206,L=207,P=208,R=209,I=210,D=0,U=1,N=2,O=3,z=4,B=5,F=6,k=7,G=0,V=1,H=2,W=0,j=1,q=2,X=3,Y=4,Z=5,J=300,K=301,$=302,Q=303,tt=304,et=306,nt=1e3,it=1001,rt=1002,st=1003,at=1004,ot=1005,lt=1006,ct=1007,ht=1008,ut=1009,dt=1010,pt=1011,mt=1012,ft=1013,gt=1014,vt=1015,_t=1016,xt=1017,yt=1018,Mt=1020,St=1021,bt=1023,wt=1024,Tt=1025,Et=1026,At=1027,Ct=1028,Lt=1029,Pt=1030,Rt=1031,It=1033,Dt=33776,Ut=33777,Nt=33778,Ot=33779,zt=35840,Bt=35841,Ft=35842,kt=35843,Gt=36196,Vt=37492,Ht=37496,Wt=37808,jt=37809,qt=37810,Xt=37811,Yt=37812,Zt=37813,Jt=37814,Kt=37815,$t=37816,Qt=37817,te=37818,ee=37819,ne=37820,ie=37821,re=36492,se=36283,ae=36284,oe=36285,le=36286,ce=2300,he=2301,ue=2302,de=2400,pe=2401,me=2402,fe=2500,ge=2501,ve=3e3,_e=3001,xe=3201,ye=0,Me=1,Se="srgb",be="srgb-linear",we="display-p3",Te=7680,Ee=35044,Ae="300 es",Ce=1035;class Le{addEventListener(t,e){void 0===this._listeners&&(this._listeners={});const n=this._listeners;void 0===n[t]&&(n[t]=[]),-1===n[t].indexOf(e)&&n[t].push(e)}hasEventListener(t,e){if(void 0===this._listeners)return!1;const n=this._listeners;return void 0!==n[t]&&-1!==n[t].indexOf(e)}removeEventListener(t,e){if(void 0===this._listeners)return;const n=this._listeners[t];if(void 0!==n){const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}dispatchEvent(t){if(void 0===this._listeners)return;const e=this._listeners[t.type];if(void 0!==e){t.target=this;const n=e.slice(0);for(let e=0,i=n.length;e<i;e++)n[e].call(this,t);t.target=null}}}const Pe=["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","5
38565","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 Re=1234567;const Ie=Math.PI/180,De=180/Math.PI;function Ue(){const t=4294967295*Math.random()|0,e=4294967295*Math.random()|0,n=4294967295*Math.random()|0,i=4294967295*Math.random()|0;return(Pe[255&t]+Pe[t>>8&255]+Pe[t>>16&255]+Pe[t>>24&255]+"-"+Pe[255&e]+Pe[e>>8&255]+"-"+Pe[e>>16&15|64]+Pe[e>>24&255]+"-"+Pe[63&n|128]+Pe[n>>8&255]+"-"+Pe[n>>16&255]+Pe[n>>24&255]+Pe[255&i]+Pe[i>>8&255]+Pe[i>>16&255]+Pe[i>>24&255]).toLowerCase()}function Ne(t,e,n){return Math.max(e,Math.min(n,t))}function Oe(t,e){return(t%e+e)%e}function ze(t,e,n){return(1-n)*t+n*e}function Be(t){return 0==(t&t-1)&&0!==t}function Fe(t){return Math.pow(2,Math.ceil(Math.log(t)/Math.LN2))}function ke(t){return Math.pow(2,Math.floor(Math.log(t)/Math.LN2))}function Ge(t,e){switch(e.constructor){case Float32Array:return t;case Uint16Array:return t/65535;case Uint8Array:return t/255;case Int16Array:return Math.max(t/32767,-1);case Int8Array:return Math.max(t/127,-1);default:throw new Error("Invalid component type.");}}function Ve(t,e){switch(e.constructor){case Float32Array:return t;case Uint16Array:return Math.round(65535*t);case Uint8Array:return Math.round(255*t);case Int16Array:return Math.round(32767*t);case Int8Array:return Math.round(127*t);default:throw new Error("Invalid component type.");}}const He={DEG2RAD:Ie,RAD2DEG:De,generateUUID:Ue,clamp:Ne,euclideanModulo:Oe,mapLinear:function(t,e,n,i,r){return i+(t-e)*(r-i)/(n-e)},inverseLerp:function(t,e,n){return t!==e?(n-t)/(e-t):0},lerp:ze,damp:function(t,e,n,i){return ze(t,e,1-Math.exp(-n*i))},pingpong:function(t,e=1){return e-Math.abs(Oe(t,2*e)-e)},smoothstep:function(t,e,n){return t<=e?0:t>=n?1:(t=(t-e)/(n-e))*t*(3-2*t)},smootherstep:function(t,e,n){return t<=e?0:t>=n?1:(t=(t-e)/(n-e))*t*t*(t*(6*t-15)+10)},randInt:function(t,e){return t+Math.floor(Math.random()*(e-t+1))},randFloat:function(t,e){return t+Math.random()*(e-t)},randFloatSpread:function(t){return t*(.5-Math.random())},seededRandom:function(t){void 0!==t&&(Re=t);let e=Re+=1831565813;return e=Math.imul(e^e>>>15,1|e),e^=e+Math.imul(e^e>>>7,61|e),((e^e>>>14)>>>0)/4294967296},degToRad:function(t){return t*Ie},radToDeg:function(t){return t*De},isPowerOfTwo:Be,ceilPowerOfTwo:Fe,floorPowerOfTwo:ke,setQuaternionFromProperEuler:function(t,e,n,i,r){const s=Math.cos,a=Math.sin,o=s(n/2),l=a(n/2),c=s((e+i)/2),h=a((e+i)/2),u=s((e-i)/2),d=a((e-i)/2),p=s((i-e)/2),m=a((i-e)/2);switch(r){case"XYX":t.set(o*h,l*u,l*d,o*c);break;case"YZY":t.set(l*d,o*h,l*u,o*c);break;case"ZXZ":t.set(l*u,l*d,o*h,o*c);break;case"XZX":t.set(o*h,l*m,l*p,o*c);break;case"YXY":t.set(l*p,o*h,l*m,o*c);break;case"ZYZ":t.set(l*m,l*p,o*h,o*c);break;default:console.warn("THREE.MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: "+r);}},normalize:Ve,denormalize:Ge};class We{constructor(t=0,e=0){We.prototype.isVector2=!0,this.x=t,this.y=e}get width(){return this.x}set width(t){this.x=t}get height(){return this.y}set height(t){this.y=t}set(t,e){return this.x=t,this.y=e,this}setScalar(t){return this.x=t,this.y=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setComponent(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;default:throw new Error("index is out of range: "+t);}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+t);}}clone(){return new this.constructor(this.x,this.y)}copy(t){return this.x=t.x,this.y=t.y,this}add(t){return this.x+=t.x,this.y+=t.y,this}addScalar(t){return this.x+=t,this.y+=t,this}addVectors(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this}addScaledVector(t,e){return this.x+=t.x*e,this.y+=t.y*e,this}sub(t){return this.x-=t.x,this.y-=t.y,this}subScalar(t){return this.x-=t,this.y-=t,this}subVectors(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this}multiply(t){return this.x*=t.x,this.y*=t.y,this}multiplyScalar(t){return this.x*=t,this.y*=t,this}divide(t){return this.x/=t.x,this.y/=t.y,this}divideScalar(t){return this.multiplyScalar(1/t)}applyMatrix3(t){const e=this.x,n=this.y,i=t.elements;return this.x=i[0]*e+i[3]*n+i[6],this.y=i[1]*e+i[4]*n+i[7],this}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this}clamp(t,e){return this.x=Math.max(t.x,Math.min(e.x,this.x)),this.y=Math.max(t.y,Math.min(e.y,this.y)),this}clampScalar(t,e){return this.x=Math.max(t,Math.min(e,this.x)),this.y=Math.max(t,Math.min(e,this.y)),this}clampLength(t,e){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(t,Math.min(e,n)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}
vendor: 4,997 bytes, line 3856
3856round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(t){return this.x*t.x+this.y*t.y}cross(t){return this.x*t.y-this.y*t.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(){return Math.atan2(-this.y,-this.x)+Math.PI}angleTo(t){const e=Math.sqrt(this.lengthSq()*t.lengthSq());if(0===e)return Math.PI/2;const n=this.dot(t)/e;return Math.acos(Ne(n,-1,1))}distanceTo(t){return Math.sqrt(this.distanceToSquared(t))}distanceToSquared(t){const e=this.x-t.x,n=this.y-t.y;return e*e+n*n}manhattanDistanceTo(t){return Math.abs(this.x-t.x)+Math.abs(this.y-t.y)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this}lerpVectors(t,e,n){return this.x=t.x+(e.x-t.x)*n,this.y=t.y+(e.y-t.y)*n,this}equals(t){return t.x===this.x&&t.y===this.y}fromArray(t,e=0){return this.x=t[e],this.y=t[e+1],this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t}fromBufferAttribute(t,e){return this.x=t.getX(e),this.y=t.getY(e),this}rotateAround(t,e){const n=Math.cos(e),i=Math.sin(e),r=this.x-t.x,s=this.y-t.y;return this.x=r*n-s*i+t.x,this.y=r*i+s*n+t.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}class je{constructor(){je.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1]}set(t,e,n,i,r,s,a,o,l){const c=this.elements;return c[0]=t,c[1]=i,c[2]=a,c[3]=e,c[4]=r,c[5]=o,c[6]=n,c[7]=s,c[8]=l,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(t){const e=this.elements,n=t.elements;return e[0]=n[0],e[1]=n[1],e[2]=n[2],e[3]=n[3],e[4]=n[4],e[5]=n[5],e[6]=n[6],e[7]=n[7],e[8]=n[8],this}extractBasis(t,e,n){return t.setFromMatrix3Column(this,0),e.setFromMatrix3Column(this,1),n.setFromMatrix3Column(this,2),this}setFromMatrix4(t){const e=t.elements;return this.set(e[0],e[4],e[8],e[1],e[5],e[9],e[2],e[6],e[10]),this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyMatrices(t,e){const n=t.elements,i=e.elements,r=this.elements,s=n[0],a=n[3],o=n[6],l=n[1],c=n[4],h=n[7],u=n[2],d=n[5],p=n[8],m=i[0],f=i[3],g=i[6],v=i[1],_=i[4],x=i[7],y=i[2],M=i[5],S=i[8];return r[0]=s*m+a*v+o*y,r[3]=s*f+a*_+o*M,r[6]=s*g+a*x+o*S,r[1]=l*m+c*v+h*y,r[4]=l*f+c*_+h*M,r[7]=l*g+c*x+h*S,r[2]=u*m+d*v+p*y,r[5]=u*f+d*_+p*M,r[8]=u*g+d*x+p*S,this}multiplyScalar(t){const e=this.elements;return e[0]*=t,e[3]*=t,e[6]*=t,e[1]*=t,e[4]*=t,e[7]*=t,e[2]*=t,e[5]*=t,e[8]*=t,this}determinant(){const t=this.elements,e=t[0],n=t[1],i=t[2],r=t[3],s=t[4],a=t[5],o=t[6],l=t[7],c=t[8];return e*s*c-e*a*l-n*r*c+n*a*o+i*r*l-i*s*o}invert(){const t=this.elements,e=t[0],n=t[1],i=t[2],r=t[3],s=t[4],a=t[5],o=t[6],l=t[7],c=t[8],h=c*s-a*l,u=a*o-c*r,d=l*r-s*o,p=e*h+n*u+i*d;if(0===p)return this.set(0,0,0,0,0,0,0,0,0);const m=1/p;return t[0]=h*m,t[1]=(i*l-c*n)*m,t[2]=(a*n-i*s)*m,t[3]=u*m,t[4]=(c*e-i*o)*m,t[5]=(i*r-a*e)*m,t[6]=d*m,t[7]=(n*o-l*e)*m,t[8]=(s*e-n*r)*m,this}transpose(){let t;const e=this.elements;return t=e[1],e[1]=e[3],e[3]=t,t=e[2],e[2]=e[6],e[6]=t,t=e[5],e[5]=e[7],e[7]=t,this}getNormalMatrix(t){return this.setFromMatrix4(t).invert().transpose()}transposeIntoArray(t){const e=this.elements;return t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8],this}setUvTransform(t,e,n,i,r,s,a){const o=Math.cos(r),l=Math.sin(r);return this.set(n*o,n*l,-n*(o*s+l*a)+s+t,-i*l,i*o,-i*(-l*s+o*a)+a+e,0,0,1),this}scale(t,e){return this.premultiply(qe.makeScale(t,e)),this}rotate(t){return this.premultiply(qe.makeRotation(-t)),this}translate(t,e){return this.premultiply(qe.makeTranslation(t,e)),this}makeTranslation(t,e){return this.set(1,0,t,0,1,e,0,0,1),this}makeRotation(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,-n,0,n,e,0,0,0,1),this}makeScale(t,e){return this.set(t,0,0,0,e,0,0,0,1),this}equals(t){const e=this.elements,n=t.elements;for(let t=0;t<9;t++)if(e[t]!==n[t])return!1;return!0}fromArray(t,e=0){for(let n=0;n<9;n++)this.elements[n]=t[n+e];return this}toArray(t=[],e=0){const n=this.elements;return t[e]=n[0],t[e+1]=n[1],t[e+2]=n[2],t[e+3]=n[3],t[e+4]=n[4],t[e+5]=n[5],t[e+6]=n[6],t[e+7]=n[7],t[e+8]=n[8],t}clone(){return new this.constructor().fromArray(this.elements)}}const qe=new je;function Xe(t){for(let e=t.length-1;e>=0;--e)if(t[e]>=65535)return!0;return!1}const Ye={Int8Array:Int8Array,Uint8Array:Uint8Array,Uint8ClampedArray:Uint8ClampedArray,Int16Array:Int16Array,Uint16Array:Uint16Array,Int32Array:Int32Array,Uint32Array:Uint32Array,Float32Array:Float32Array,Float64Array:Float64Array};function Ze(t,e){return new Ye[t](e)}function Je(t){return document.createElementNS("http://www.w3.org/1999/xhtml",t)}
3856function Ke(t){return t<.04045?.0773993808*t:Math.pow(.9478672986*t+.0521327014,2.4)}function $e(t){return t<.0031308?12.92*t:1.055*Math.pow(t,.41666)-.055}const Qe=new je().fromArray([.8224621,.0331941,.0170827,.177538,.9668058,.0723974,-1e-7,1e-7,.9105199]),tn=new je().fromArray([1.2249401,-.0420569,-.0196376,-.2249404,1.0420571,-.0786361,1e-7,0,1.0982735]);const en={[be]:t=>t,[Se]:t=>t.convertSRGBToLinear(),[we]:function(t){return t.convertSRGBToLinear().applyMatrix3(tn)}},nn={[be]:t=>t,[Se]:t=>t.convertLinearToSRGB(),[we]:function(t){return t.applyMatrix3(Qe).convertLinearToSRGB()}},rn={enabled:!1,get legacyMode(){return console.warn("THREE.ColorManagement: .legacyMode=false renamed to .enabled=true in r150."),!this.enabled},set legacyMode(t){console.warn("THREE.ColorManagement: .legacyMode=false renamed to .enabled=true in r150."),this.enabled=!t},get workingColorSpace(){return be},set workingColorSpace(t){console.warn("THREE.ColorManagement: .workingColorSpace is readonly.")},convert:function(t,e,n){if(!1===this.enabled||e===n||!e||!n)return t;const i=en[e],r=nn[n];if(void 0===i||void 0===r)throw new Error(`Unsupported color space conversion, "${e}" to "${n}".`);return r(i(t))},fromWorkingColorSpace:function(t,e){return this.convert(t,this.workingColorSpace,e)},toWorkingColorSpace:function(t,e){return this.convert(t,e,this.workingColorSpace)}};let sn;class an{static getDataURL(t){if(/^data:/i.test(t.src))return t.src;if("undefined"==typeof HTMLCanvasElement)return t.src;let e;if(t instanceof HTMLCanvasElement)e=t;else{void 0===sn&&(sn=Je("canvas")),sn.width=t.width,sn.height=t.height;const n=sn.getContext("2d");t instanceof ImageData?n.putImageData(t,0,0):n.drawImage(t,0,0,t.width,t.height),e=sn}return e.width>2048||e.height>2048?(console.warn("THREE.ImageUtils.getDataURL: Image converted to jpg for performance reasons",t),e.toDataURL("image/jpeg",.6)):e.toDataURL("image/png")}static sRGBToLinear(t){if("undefined"!=typeof HTMLImageElement&&t instanceof HTMLImageElement||"undefined"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement||"undefined"!=typeof ImageBitmap&&t instanceof ImageBitmap){const e=Je("canvas");e.width=t.width,e.height=t.height;const n=e.getContext("2d");n.drawImage(t,0,0,t.width,t.height);const i=n.getImageData(0,0,t.width,t.height),r=i.data;for(let t=0;t<r.length;t++)r[t]=255*Ke(r[t]/255);return n.putImageData(i,0,0),e}if(t.data){const e=t.data.slice(0);for(let t=0;t<e.length;t++)e instanceof Uint8Array||e instanceof Uint8ClampedArray?e[t]=Math.floor(255*Ke(e[t]/255)):e[t]=Ke(e[t]);return{data:e,width:t.width,height:t.height}}return console.warn("THREE.ImageUtils.sRGBToLinear(): Unsupported image type. No color space conversion applied."),t}}class on{constructor(t=null){this.isSource=!0,this.uuid=Ue(),this.data=t,this.version=0}set needsUpdate(t){!0===t&&this.version++}toJSON(t){const e=void 0===t||"string"==typeof t;if(!e&&void 0!==t.images[this.uuid])return t.images[this.uuid];const n={uuid:this.uuid,url:""},i=this.data;if(null!==i){let t;if(Array.isArray(i)){t=[];for(let e=0,n=i.length;e<n;e++)i[e].isDataTexture?t.push(ln(i[e].image)):t.push(ln(i[e]))}else t=ln(i);n.url=t}return e||(t.images[this.uuid]=n),n}}function ln(t){return"undefined"!=typeof HTMLImageElement&&t instanceof HTMLImageElement||"undefined"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement||"undefined"!=typeof ImageBitmap&&t instanceof ImageBitmap?an.getDataURL(t):t.data?{data:Array.from(t.data),width:t.width,height:t.height,type:t.data.constructor.name}:(console.warn("THREE.Texture: Unable to serialize Texture."),{})}let cn=0;class hn extends Le{constructor(t=hn.DEFAULT_IMAGE,e=hn.DEFAULT_MAPPING,n=it,i=it,r=lt,s=ht,a=bt,o=ut,l=hn.DEFAULT_ANISOTROPY,c=ve){super(),this.isTexture=!0,Object.defineProperty(this,"id",{value:cn++}),this.uuid=Ue(),this.name="",this.source=new on(t),this.mipmaps=[],this.mapping=e,this.channel=0,this.wrapS=n,this.wrapT=i,this.magFilter=r,this.minFilter=s,this.anisotropy=l,this.format=a,this.internalFormat=null,this.type=o,this.offset=new We(0,0),this.repeat=new We(1,1),this.center=new We(0,0),this.rotation=0,this.matrixAutoUpdate=!0,this.matrix=new je,this.generateMipmaps=!0,this.premultiplyAlpha=!1,this.flipY=!0,this.unpackAlignment=4,this.encoding=c,this.userData={},this.version=0,this.onUpdate=null,this.isRenderTargetTexture=!1,this.needsPMREMUpdate=!1}get image(){return this.source.data}set image(t=null){this.source.data=t}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(t){return this.name=t.name,this.source=t.source,this.mipmaps=t.mipmaps.slice(0),this.mapping=t.mapping,this.channel=t.channel,this.wrapS=t.wrapS,this.wrapT=t.wrapT,this.magFilter=t.magFilter,this.minFilter=t.minFilter,this.anisotropy=t.anisotropy,this.format=t.format,this.internalFormat=t.internalFormat,this.type=t.type,this.offset.copy(t.offset),this.repeat.copy(t.repeat),this.center.copy(t.center),this.rotation=t.rotation,this.matrixAutoUpdate=t.matrixAutoUpdate,this.matrix.copy(t.matrix),this.generateMipmaps=t.generateMipmaps,this.premultiplyAlpha=t.premultiplyAlpha,this.flipY=t.flipY,this.unpackAlignment=t.unpackAlignment,this.encoding=t.encoding,this.userData=JSON.parse(JSON.stringify(t.userData)),this.needsUpdate=!0,this}toJSON(t){const e=void 0===t||"string"==typeof t;if(!e&&void 0!==t.textures[this.uuid])return t.textures[this.uuid];const n={metadata:{version:4.5,type:"Texture",generator:"Texture.toJSON"},uuid:this.uuid,name:this.name,image:this.source.toJSON(t).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.t
vendor: 24,816 bytes, line 3856
3856ype,encoding:this.encoding,minFilter:this.minFilter,magFilter:this.magFilter,anisotropy:this.anisotropy,flipY:this.flipY,generateMipmaps:this.generateMipmaps,premultiplyAlpha:this.premultiplyAlpha,unpackAlignment:this.unpackAlignment};return Object.keys(this.userData).length>0&&(n.userData=this.userData),e||(t.textures[this.uuid]=n),n}dispose(){this.dispatchEvent({type:"dispose"})}transformUv(t){if(this.mapping!==J)return t;if(t.applyMatrix3(this.matrix),t.x<0||t.x>1)switch(this.wrapS){case nt:t.x=t.x-Math.floor(t.x);break;case it:t.x=t.x<0?0:1;break;case rt:1===Math.abs(Math.floor(t.x)%2)?t.x=Math.ceil(t.x)-t.x:t.x=t.x-Math.floor(t.x);}if(t.y<0||t.y>1)switch(this.wrapT){case nt:t.y=t.y-Math.floor(t.y);break;case it:t.y=t.y<0?0:1;break;case rt:1===Math.abs(Math.floor(t.y)%2)?t.y=Math.ceil(t.y)-t.y:t.y=t.y-Math.floor(t.y);}return this.flipY&&(t.y=1-t.y),t}set needsUpdate(t){!0===t&&(this.version++,this.source.needsUpdate=!0)}}hn.DEFAULT_IMAGE=null,hn.DEFAULT_MAPPING=J,hn.DEFAULT_ANISOTROPY=1;class un{constructor(t=0,e=0,n=0,i=1){un.prototype.isVector4=!0,this.x=t,this.y=e,this.z=n,this.w=i}get width(){return this.z}set width(t){this.z=t}get height(){return this.w}set height(t){this.w=t}set(t,e,n,i){return this.x=t,this.y=e,this.z=n,this.w=i,this}setScalar(t){return this.x=t,this.y=t,this.z=t,this.w=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setZ(t){return this.z=t,this}setW(t){return this.w=t,this}setComponent(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;case 2:this.z=e;break;case 3:this.w=e;break;default:throw new Error("index is out of range: "+t);}return this}getComponent(t){switch(t){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: "+t);}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(t){return this.x=t.x,this.y=t.y,this.z=t.z,this.w=void 0!==t.w?t.w:1,this}add(t){return this.x+=t.x,this.y+=t.y,this.z+=t.z,this.w+=t.w,this}addScalar(t){return this.x+=t,this.y+=t,this.z+=t,this.w+=t,this}addVectors(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this.z=t.z+e.z,this.w=t.w+e.w,this}addScaledVector(t,e){return this.x+=t.x*e,this.y+=t.y*e,this.z+=t.z*e,this.w+=t.w*e,this}sub(t){return this.x-=t.x,this.y-=t.y,this.z-=t.z,this.w-=t.w,this}subScalar(t){return this.x-=t,this.y-=t,this.z-=t,this.w-=t,this}subVectors(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this.z=t.z-e.z,this.w=t.w-e.w,this}multiply(t){return this.x*=t.x,this.y*=t.y,this.z*=t.z,this.w*=t.w,this}multiplyScalar(t){return this.x*=t,this.y*=t,this.z*=t,this.w*=t,this}applyMatrix4(t){const e=this.x,n=this.y,i=this.z,r=this.w,s=t.elements;return this.x=s[0]*e+s[4]*n+s[8]*i+s[12]*r,this.y=s[1]*e+s[5]*n+s[9]*i+s[13]*r,this.z=s[2]*e+s[6]*n+s[10]*i+s[14]*r,this.w=s[3]*e+s[7]*n+s[11]*i+s[15]*r,this}divideScalar(t){return this.multiplyScalar(1/t)}setAxisAngleFromQuaternion(t){this.w=2*Math.acos(t.w);const e=Math.sqrt(1-t.w*t.w);return e<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=t.x/e,this.y=t.y/e,this.z=t.z/e),this}setAxisAngleFromRotationMatrix(t){let e,n,i,r;const s=.01,a=.1,o=t.elements,l=o[0],c=o[4],h=o[8],u=o[1],d=o[5],p=o[9],m=o[2],f=o[6],g=o[10];if(Math.abs(c-u)<s&&Math.abs(h-m)<s&&Math.abs(p-f)<s){if(Math.abs(c+u)<a&&Math.abs(h+m)<a&&Math.abs(p+f)<a&&Math.abs(l+d+g-3)<a)return this.set(1,0,0,0),this;e=Math.PI;const t=(l+1)/2,o=(d+1)/2,v=(g+1)/2,_=(c+u)/4,x=(h+m)/4,y=(p+f)/4;return t>o&&t>v?t<s?(n=0,i=.707106781,r=.707106781):(n=Math.sqrt(t),i=_/n,r=x/n):o>v?o<s?(n=.707106781,i=0,r=.707106781):(i=Math.sqrt(o),n=_/i,r=y/i):v<s?(n=.707106781,i=.707106781,r=0):(r=Math.sqrt(v),n=x/r,i=y/r),this.set(n,i,r,e),this}let v=Math.sqrt((f-p)*(f-p)+(h-m)*(h-m)+(u-c)*(u-c));return Math.abs(v)<.001&&(v=1),this.x=(f-p)/v,this.y=(h-m)/v,this.z=(u-c)/v,this.w=Math.acos((l+d+g-1)/2),this}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.z=Math.min(this.z,t.z),this.w=Math.min(this.w,t.w),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this.z=Math.max(this.z,t.z),this.w=Math.max(this.w,t.w),this}clamp(t,e){return this.x=Math.max(t.x,Math.min(e.x,this.x)),this.y=Math.max(t.y,Math.min(e.y,this.y)),this.z=Math.max(t.z,Math.min(e.z,this.z)),this.w=Math.max(t.w,Math.min(e.w,this.w)),this}clampScalar(t,e){return this.x=Math.max(t,Math.min(e,this.x)),this.y=Math.max(t,Math.min(e,this.y)),this.z=Math.max(t,Math.min(e,this.z)),this.w=Math.max(t,Math.min(e,this.w)),this}clampLength(t,e){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(t,Math.min(e,n)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this.w=this.w<0?Math.ceil(this.w):Math.floor(this.w),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z+this.w*t.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(t){return this.normalize().multiplyScalar(t)}lerp(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this.z+=(t.z-this.z)*e,this.w+=(t.w-this.w)*e,this}lerpVectors(t,e,n){return this.x=t.x+(e.x-t.x)*n,this.y=t.y+(e.y-t.y)*n,this.z=t.z+(e.z-t.z)*n,this.w=t.w+(e.w-t.w)*n,this}equals(t){return t.x===this.x&&t.y===this.y&&t.z===this.z&&t.w===this.w}fromArray(t,e=0){return this.x=t[e],this.y=t[e+1],this.z=t[e+2],this.w=t[e+3],this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t[e+2]=this.z,t[e+3]=this.w,t}fromBufferAttribute(t,e){return this.x=t.getX(e),this.y=t.getY(e),this.z=t.getZ(e),this.w=t.getW(e),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.w}}class dn extends Le{constructor(t=1,e=1,n={}){super(),this.isWebGLRenderTarget=!0,this.width=t,this.height=e,this.depth=1,this.scissor=new un(0,0,t,e),this.scissorTest=!1,this.viewport=new un(0,0,t,e);const i={width:t,height:e,depth:1};this.texture=new hn(i,n.mapping,n.wrapS,n.wrapT,n.magFilter,n.minFilter,n.format,n.type,n.anisotropy,n.encoding),this.texture.isRenderTargetTexture=!0,this.texture.flipY=!1,this.texture.generateMipmaps=void 0!==n.generateMipmaps&&n.generateMipmaps,this.texture.internalFormat=void 0!==n.internalFormat?n.internalFormat:null,this.texture.minFilter=void 0!==n.minFilter?n.minFilter:lt,this.depthBuffer=void 0===n.depthBuffer||n.depthBuffer,this.stencilBuffer=void 0!==n.stencilBuffer&&n.stencilBuffer,this.depthTexture=void 0!==n.depthTexture?n.depthTexture:null,this.samples=void 0!==n.samples?n.samples:0}setSize(t,e,n=1){this.width===t&&this.height===e&&this.depth===n||(this.width=t,this.height=e,this.depth=n,this.texture.image.width=t,this.texture.image.height=e,this.texture.image.depth=n,this.dispose()),this.viewport.set(0,0,t,e),this.scissor.set(0,0,t,e)}clone(){return new this.constructor().copy(this)}copy(t){this.width=t.width,this.height=t.height,this.depth=t.depth,this.viewport.copy(t.viewport),this.texture=t.texture.clone(),this.texture.isRenderTargetTexture=!0;const e=Object.assign({},t.texture.image);return this.texture.source=new on(e),this.depthBuffer=t.depthBuffer,this.stencilBuffer=t.stencilBuffer,null!==t.depthTexture&&(this.depthTexture=t.depthTexture.clone()),this.samples=t.samples,this}dispose(){this.dispatchEvent({type:"dispose"})}}class pn extends hn{constructor(t=null,e=1,n=1,i=1){super(null),this.isDataArrayTexture=!0,this.image={data:t,width:e,height:n,depth:i},this.magFilter=st,this.minFilter=st,this.wrapR=it,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class mn extends hn{constructor(t=null,e=1,n=1,i=1){super(null),this.isData3DTexture=!0,this.image={data:t,width:e,height:n,depth:i},this.magFilter=st,this.minFilter=st,this.wrapR=it,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class fn{constructor(t=0,e=0,n=0,i=1){this.isQuaternion=!0,this._x=t,this._y=e,this._z=n,this._w=i}static slerpFlat(t,e,n,i,r,s,a){let o=n[i+0],l=n[i+1],c=n[i+2],h=n[i+3];const u=r[s+0],d=r[s+1],p=r[s+2],m=r[s+3];if(0===a)return t[e+0]=o,t[e+1]=l,t[e+2]=c,void(t[e+3]=h);if(1===a)return t[e+0]=u,t[e+1]=d,t[e+2]=p,void(t[e+3]=m);if(h!==m||o!==u||l!==d||c!==p){let t=1-a;const e=o*u+l*d+c*p+h*m,n=e>=0?1:-1,i=1-e*e;if(i>Number.EPSILON){const r=Math.sqrt(i),s=Math.atan2(r,e*n);t=Math.sin(t*s)/r,a=Math.sin(a*s)/r}const r=a*n;if(o=o*t+u*r,l=l*t+d*r,c=c*t+p*r,h=h*t+m*r,t===1-a){const t=1/Math.sqrt(o*o+l*l+c*c+h*h);o*=t,l*=t,c*=t,h*=t}}t[e]=o,t[e+1]=l,t[e+2]=c,t[e+3]=h}static multiplyQuaternionsFlat(t,e,n,i,r,s){const a=n[i],o=n[i+1],l=n[i+2],c=n[i+3],h=r[s],u=r[s+1],d=r[s+2],p=r[s+3];return t[e]=a*p+c*h+o*d-l*u,t[e+1]=o*p+c*u+l*h-a*d,t[e+2]=l*p+c*d+a*u-o*h,t[e+3]=c*p-a*h-o*u-l*d,t}get x(){return this._x}set x(t){this._x=t,this._onChangeCallback()}get y(){return this._y}set y(t){this._y=t,this._onChangeCallback()}get z(){return this._z}set z(t){this._z=t,this._onChangeCallback()}get w(){return this._w}set w(t){this._w=t,this._onChangeCallback()}set(t,e,n,i){return this._x=t,this._y=e,this._z=n,this._w=i,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(t){return this._x=t.x,this._y=t.y,this._z=t.z,this._w=t.w,this._onChangeCallback(),this}setFromEuler(t,e){const n=t._x,i=t._y,r=t._z,s=t._order,a=Math.cos,o=Math.sin,l=a(n/2),c=a(i/2),h=a(r/2),u=o(n/2),d=o(i/2),p=o(r/2);switch(s){case"XYZ":this._x=u*c*h+l*d*p,this._y=l*d*h-u*c*p,this._z=l*c*p+u*d*h,this._w=l*c*h-u*d*p;break;case"YXZ":this._x=u*c*h+l*d*p,this._y=l*d*h-u*c*p,this._z=l*c*p-u*d*h,this._w=l*c*h+u*d*p;break;case"ZXY":this._x=u*c*h-l*d*p,this._y=l*d*h+u*c*p,this._z=l*c*p+u*d*h,this._w=l*c*h-u*d*p;break;case"ZYX":this._x=u*c*h-l*d*p,this._y=l*d*h+u*c*p,this._z=l*c*p-u*d*h,this._w=l*c*h+u*d*p;break;case"YZX":this._x=u*c*h+l*d*p,this._y=l*d*h+u*c*p,this._z=l*c*p-u*d*h,this._w=l*c*h-u*d*p;break;case"XZY":this._x=u*c*h-l*d*p,this._y=l*d*h-u*c*p,this._z=l*c*p+u*d*h,this._w=l*c*h+u*d*p;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: "+s);}return!1!==e&&this._onChangeCallback(),this}setFromAxisAngle(t,e){const n=e/2,i=Math.sin(n);return this._x=t.x*i,this._y=t.y*i,this._z=t.z*i,this._w=Math.cos(n),this._onChangeCallback(),this}setFromRotationMatrix(t){const e=t.elements,n=e[0],i=e[4],r=e[8],s=e[1],a=e[5],o=e[9],l=e[2],c=e[6],h=e[10],u=n+a+h;if(u>0){const t=.5/Math.sqrt(u+1);this._w=.25/t,this._x=(c-o)*t,this._y=(r-l)*t,this._z=(s-i)*t}else if(n>a&&n>h){const t=2*Math.sqrt(1+n-a-h);this._w=(c-o)/t,this._x=.25*t,this._y=(i+s)/t,this._z=(r+l)/t}else if(a>h){const t=2*Math.sqrt(1+a-n-h);this._w=(r-l)/t,this._x=(i+s)/t,this._y=.25*t,this._z=(o+c)/t}else{const t=2*Math.sqrt(1+h-n-a);this._w=(s-i)/t,this._x=(r+l)/t,this._y=(o+c)/t,this._z=.25*t}return this._onChangeCallback(),this}setFromUnitVectors(t,e){let n=t.dot(e)+1;return n<Number.EPSILON?(n=0,Math.abs(t.x)>Math.abs(t.z)?(this._x=-t.y,this._y=t.x,this._z=0,this._w=n):(this._x=0,this._y=-t.z,this._z=t.y,this._w=n)):(this._x=t.y*e.z-t.z*e.y,this._y=t.z*e.x-t.x*e.z,this._z=t.x*e.y-t.y*e.x,this._w=n),this.normalize()}angleTo(t){return 2*Math.acos(Math.abs(Ne(this.dot(t),-1,1)))}rotateTowards(t,e){const n=this.angleTo(t);if(0===n)return this;const i=Math.min(1,e/n);return this.slerp(t,i),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(t){return this._x*t._x+this._y*t._y+this._z*t._z+this._w*t._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 t=this.length();return 0===t?(this._x=0,this._y=0,this._z=0,this._w=1):(t=1/t,this._x=this._x*t,this._y=this._y*t,this._z=this._z*t,this._w=this._w*t),this._onChangeCallback(),this}multiply(t){return this.multiplyQuaternions(this,t)}premultiply(t){return this.multiplyQuaternions(t,this)}multiplyQuaternions(t,e){const n=t._x,i=t._y,r=t._z,s=t._w,a=e._x,o=e._y,l=e._z,c=e._w;return this._x=n*c+s*a+i*l-r*o,this._y=i*c+s*o+r*a-n*l,this._z=r*c+s*l+n*o-i*a,this._w=s*c-n*a-i*o-r*l,this._onChangeCallback(),this}slerp(t,e){if(0===e)return this;if(1===e)return this.copy(t);const n=this._x,i=this._y,r=this._z,s=this._w;let a=s*t._w+n*t._x+i*t._y+r*t._z;if(a<0?(this._w=-t._w,this._x=-t._x,this._y=-t._y,this._z=-t._z,a=-a):this.copy(t),a>=1)return this._w=s,this._x=n,this._y=i,this._z=r,this;const o=1-a*a;if(o<=Number.EPSILON){const t=1-e;return this._w=t*s+e*this._w,this._x=t*n+e*this._x,this._y=t*i+e*this._y,this._z=t*r+e*this._z,this.normalize(),this._onChangeCallback(),this}const l=Math.sqrt(o),c=Math.atan2(l,a),h=Math.sin((1-e)*c)/l,u=Math.sin(e*c)/l;return this._w=s*h+this._w*u,this._x=n*h+this._x*u,this._y=i*h+this._y*u,this._z=r*h+this._z*u,this._onChangeCallback(),this}slerpQuaternions(t,e,n){return this.copy(t).slerp(e,n)}random(){const t=Math.random(),e=Math.sqrt(1-t),n=Math.sqrt(t),i=2*Math.PI*Math.random(),r=2*Math.PI*Math.random();return this.set(e*Math.cos(i),n*Math.sin(r),n*Math.cos(r),e*Math.sin(i))}equals(t){return t._x===this._x&&t._y===this._y&&t._z===this._z&&t._w===this._w}fromArray(t,e=0){return this._x=t[e],this._y=t[e+1],this._z=t[e+2],this._w=t[e+3],this._onChangeCallback(),this}toArray(t=[],e=0){return t[e]=this._x,t[e+1]=this._y,t[e+2]=this._z,t[e+3]=this._w,t}fromBufferAttribute(t,e){return this._x=t.getX(e),this._y=t.getY(e),this._z=t.getZ(e),this._w=t.getW(e),this}toJSON(){return this.toArray()}_onChange(t){return this._onChangeCallback=t,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class gn{constructor(t=0,e=0,n=0){gn.prototype.isVector3=!0,this.x=t,this.y=e,this.z=n}set(t,e,n){return void 0===n&&(n=this.z),this.x=t,this.y=e,this.z=n,this}setScalar(t){return this.x=t,this.y=t,this.z=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setZ(t){return this.z=t,this}setComponent(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;case 2:this.z=e;break;default:throw new Error("index is out of range: "+t);}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+t);}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(t){return this.x=t.x,this.y=t.y,this.z=t.z,this}add(t){return this.x+=t.x,this.y+=t.y,this.z+=t.z,this}addScalar(t){return this.x+=t,this.y+=t,this.z+=t,this}addVectors(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this.z=t.z+e.z,this}addScaledVector(t,e){return this.x+=t.x*e,this.y+=t.y*e,this.z+=t.z*e,this}sub(t){return this.x-=t.x,this.y-=t.y,this.z-=t.z,this}subScalar(t){return this.x-=t,this.y-=t,this.z-=t,this}subVectors(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this.z=t.z-e.z,this}multiply(t){return this.x*=t.x,this.y*=t.y,this.z*=t.z,this}multiplyScalar(t){return this.x*=t,this.y*=t,this.z*=t,this}multiplyVectors(t,e){return this.x=t.x*e.x,this.y=t.y*e.y,this.z=t.z*e.z,this}applyEuler(t){return this.applyQuaternion(_n.setFromEuler(t))}applyAxisAngle(t,e){return this.applyQuaternion(_n.setFromAxisAngle(t,e))}applyMatrix3(t){const e=this.x,n=this.y,i=this.z,r=t.elements;return this.x=r[0]*e+r[3]*n+r[6]*i,this.y=r[1]*e+r[4]*n+r[7]*i,this.z=r[2]*e+r[5]*n+r[8]*i,this}applyNormalMatrix(t){return this.applyMatrix3(t).normalize()}applyMatrix4(t){const e=this.x,n=this.y,i=this.z,r=t.elements,s=1/(r[3]*e+r[7]*n+r[11]*i+r[15]);return this.x=(r[0]*e+r[4]*n+r[8]*i+r[12])*s,this.y=(r[1]*e+r[5]*n+r[9]*i+r[13])*s,this.z=(r[2]*e+r[6]*n+r[10]*i+r[14])*s,this}applyQuaternion(t){const e=this.x,n=this.y,i=this.z,r=t.x,s=t.y,a=t.z,o=t.w,l=o*e+s*i-a*n,c=o*n+a*e-r*i,h=o*i+r*n-s*e,u=-r*e-s*n-a*i;return this.x=l*o+u*-r+c*-a-h*-s,this.y=c*o+u*-s+h*-r-l*-a,this.z=h*o+u*-a+l*-s-c*-r,this}project(t){return this.applyMatrix4(t.matrixWorldInverse).applyMatrix4(t.projectionMatrix)}unproject(t){return this.applyMatrix4(t.projectionMatrixInverse).applyMatrix4(t.matrixWorld)}transformDirection(t){const e=this.x,n=this.y,i=this.z,r=t.elements;return this.x=r[0]*e+r[4]*n+r[8]*i,this.y=r[1]*e+r[5]*n+r[9]*i,this.z=r[2]*e+r[6]*n+r[10]*i,this.normalize()}divide(t){return this.x/=t.x,this.y/=t.y,this.z/=t.z,this}divideScalar(t){return this.multiplyScalar(1/t)}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.z=Math.min(this.z,t.z),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this.z=Math.max(this.z,t.z),this}clamp(t,e){return this.x=Math.max(t.x,Math.min(e.x,this.x)),this.y=Math.max(t.y,Math.min(e.y,this.y)),this.z=Math.max(t.z,Math.min(e.z,this.z)),this}clampScalar(t,e){return this.x=Math.max(t,Math.min(e,this.x)),this.y=Math.max(t,Math.min(e,this.y)),this.z=Math.max(t,Math.min(e,this.z)),this}clampLength(t,e){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(t,Math.min(e,n)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(t){return this.x*t.x+this.y*t.y+this.z*t.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(t){return this.normalize().multiplyScalar(t)}lerp(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this.z+=(t.z-this.z)*e,this}lerpVectors(t,e,n){return this.x=t.x+(e.x-t.x)*n,this.y=t.y+(e.y-t.y)*n,this.z=t.z+(e.z-t.z)*n,this}cross(t){return this.crossVectors(this,t)}crossVectors(t,e){const n=t.x,i=t.y,r=t.z,s=e.x,a=e.y,o=e.z;return this.x=i*o-r*a,this.y=r*s-n*o,this.z=n*a-i*s,this}projectOnVector(t){const e=t.lengthSq();if(0===e)return this.set(0,0,0);const n=t.dot(this)/e;return this.copy(t).multiplyScalar(n)}projectOnPlane(t){return vn.copy(this).projectOnVector(t),this.sub(vn)}reflect(t){return this.sub(vn.copy(t).multiplyScalar(2*this.dot(t)))}angleTo(t){const e=Math.sqrt(this.lengthSq()*t.lengthSq());if(0===e)return Math.PI/2;const n=this.dot(t)/e;return Math.acos(Ne(n,-1,1))}distanceTo(t){return Math.sqrt(this.distanceToSquared(t))}distanceToSquared(t){const e=this.x-t.x,n=this.y-t.y,i=this.z-t.z;return e*e+n*n+i*i}manhattanDistanceTo(t){return Math.abs(this.x-t.x)+Math.abs(this.y-t.y)+Math.abs(this.z-t.z)}setFromSpherical(t){return this.setFromSphericalCoords(t.radius,t.phi,t.theta)}setFromSphericalCoords(t,e,n){const i=Math.sin(e)*t;return this.x=i*Math.sin(n),this.y=Math.cos(e)*t,this.z=i*Math.cos(n),this}setFromCylindrical(t){return this.setFromCylindricalCoords(t.radius,t.theta,t.y)}setFromCylindricalCoords(t,e,n){return this.x=t*Math.sin(e),this.y=n,this.z=t*Math.cos(e),this}setFromMatrixPosition(t){const e=t.elements;return this.x=e[12],this.y=e[13],this.z=e[14],this}setFromMatrixScale(t){const e=this.setFromMatrixColumn(t,0).length(),n=this.setFromMatrixColumn(t,1).length(),i=this.setFromMatrixColumn(t,2).length();return this.x=e,this.y=n,this.z=i,this}setFromMatrixColumn(t,e){return this.fromArray(t.elements,4*e)}setFromMatrix3Column(t,e){return this.fromArray(t.elements,3*e)}setFromEuler(t){return this.x=t._x,this.y=t._y,this.z=t._z,this}setFromColor(t){return this.x=t.r,this.y=t.g,this.z=t.b,this}equals(t){return t.x===this.x&&t.y===this.y&&t.z===this.z}fromArray(t,e=0){return this.x=t[e],this.y=t[e+1],this.z=t[e+2],this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t[e+2]=this.z,t}fromBufferAttribute(t,e){return this.x=t.getX(e),this.y=t.getY(e),this.z=t.getZ(e),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){const t=2*(Math.random()-.5),e=Math.random()*Math.PI*2,n=Math.sqrt(1-t**2);return this.x=n*Math.cos(e),this.y=n*Math.sin(e),this.z=t,this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}const vn=new gn,_n=new fn;class xn{constructor(t=new gn(1/0,1/0,1/0),e=new gn(-1/0,-1/0,-1/0)){this.isBox3=!0,this.min=t,this.max=e}set(t,e){return this.min.copy(t),this.max.copy(e),this}setFromArray(t){this.makeEmpty();for(let e=0,n=t.length;e<n;e+=3)this.expandByPoint(Mn.fromArray(t,e));return this}setFromBufferAttribute(t){this.makeEmpty();for(let e=0,n=t.count;e<n;e++)this.expandByPoint(Mn.fromBufferAttribute(t,e));return this}setFromPoints(t){this.makeEmpty();for(let e=0,n=t.length;e<n;e++)this.expandByPoint(t[e]);return this}setFromCenterAndSize(t,e){const n=Mn.copy(e).multiplyScalar(.5);return this.min.copy(t).sub(n),this.max.copy(t).add(n),this}setFromObject(t,e=!1){return this.makeEmpty(),this.expandByObject(t,e)}clone(){return new this.constructor().copy(this)}copy(t){return this.min.copy(t.min),this.max.copy(t.max),this}makeEmpty(){return this.min.x=this.min.y=this.min.z=1/0,this.max.x=this.max.y=this.max.z=-1/0,this}isEmpty(){return this.max.x<this.min.x||this.max.y<this.min.y||this.max.z<this.min.z}getCenter(t){return this.isEmpty()?t.set(0,0,0):t.addVectors(this.min,this.max).multiplyScalar(.5)}getSize(t){return this.isEmpty()?t.set(0,0,0):t.subVectors(this.max,this.min)}expandByPoint(t){return this.min.min(t),this.max.max(t),this}expandByVector(t){return this.min.sub(t),this.max.add(t),this}expandByScalar(t){return this.min.addScalar(-t),this.max.addScalar(t),this}expandByObject(t,e=!1){if(t.updateWorldMatrix(!1,!1),void 0!==t.boundingBox)null===t.boundingBox&&t.computeBoundingBox(),Sn.copy(t.boundingBox),Sn.applyMatrix4(t.matrixWorld),this.union(Sn);else{const n=t.geometry;if(void 0!==n)if(e&&void 0!==n.attributes&&void 0!==n.attributes.position){const e=n.attributes.position;for(let n=0,i=e.count;n<i;n++)Mn.fromBufferAttribute(e,n).applyMatrix4(t.matrixWorld),this.expandByPoint(Mn)}else null===n.boundingBox&&n.computeBoundingBox(),Sn.copy(n.boundingBox),Sn.applyMatrix4(t.matrixWorld),this.union(Sn)}const n=t.children;for(let t=0,i=n.length;t<i;t++)this.expandByObject(n[t],e);return this}containsPoint(t){return!(t.x<this.min.x||t.x>this.max.x||t.y<this.min.y||t.y>this.max.y||t.z<this.min.z||t.z>this.max.z)}containsBox(t){return this.min.x<=t.min.x&&t.max.x<=this.max.x&&this.min.y<=t.min.y&&t.max.y<=this.max.y&&this.min.z<=t.min.z&&t.max.z<=this.max.z}getParameter(t,e){return e.set((t.x-this.min.x)/(this.max.x-this.min.x),(t.y-this.min.y)/(this.max.y-this.min.y),(t.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(t){return!(t.max.x<this.min.x||t.min.x>this.max.x||t.max.y<this.min.y||t.min.y>this.max.y||t.max.z<this.min.z||t.min.z>this.max.z)}intersectsSphere(t){return this.clampPoint(t.center,Mn),Mn.distanceToSquared(t.center)<=t.radius*t.radius}intersectsPlane(t){let e,n;return t.normal.x>0?(e=t.normal.x*this.min.x,n=t.normal.x*this.max.x):(e=t.normal.x*this.max.x,n=t.normal.x*this.min.x),t.normal.y>0?(e+=t.normal.y*this.min.y,n+=t.normal.y*this.max.y):(e+=t.normal.y*this.max.y,n+=t.normal.y*this.min.y),t.normal.z>0?(e+=t.normal.z*this.min.z,n+=t.normal.z*this.max.z):(e+=t.normal.z*this.max.z,n+=t.normal.z*this.min.z),e<=-t.constant&&n>=-t.constant}intersectsTriangle(t){if(this.isEmpty())return!1;this.getCenter(Ln),Pn.subVectors(this.max,Ln),bn.subVectors(t.a,Ln),wn.subVectors(t.b,Ln),Tn.subVectors(t.c,Ln),En.subVectors(wn,bn),An.subVectors(Tn,wn),Cn.subVectors(bn,Tn);let e=[0,-En.z,En.y,0,-An.z,An.y,0,-Cn.z,Cn.y,En.z,0,-En.x,An.z,0,-An.x,Cn.z,0,-Cn.x,-En.y,En.x,0,-An.y,An.x,0,-Cn.y,Cn.x,0];return!!Dn(e,bn,wn,Tn,Pn)&&(e=[1,0,0,0,1,0,0,0,1],!!Dn(e,bn,wn,Tn,Pn)&&(Rn.crossVectors(En,An),e=[Rn.x,Rn.y,Rn.z],Dn(e,bn,wn,Tn,Pn)))}clampPoint(t,e){return e.copy(t).clamp(this.min,this.max)}distanceToPoint(t){return this.clampPoint(t,Mn).distanceTo(t)}getBoundingSphere(t){return this.isEmpty()?t.makeEmpty():(this.getCenter(t.center),t.radiu
vendor: 8,394 bytes, line 3856
3856s=.5*this.getSize(Mn).length()),t}intersect(t){return this.min.max(t.min),this.max.min(t.max),this.isEmpty()&&this.makeEmpty(),this}union(t){return this.min.min(t.min),this.max.max(t.max),this}applyMatrix4(t){return this.isEmpty()||(yn[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(t),yn[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(t),yn[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(t),yn[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(t),yn[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(t),yn[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(t),yn[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(t),yn[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(t),this.setFromPoints(yn)),this}translate(t){return this.min.add(t),this.max.add(t),this}equals(t){return t.min.equals(this.min)&&t.max.equals(this.max)}}const yn=[new gn,new gn,new gn,new gn,new gn,new gn,new gn,new gn],Mn=new gn,Sn=new xn,bn=new gn,wn=new gn,Tn=new gn,En=new gn,An=new gn,Cn=new gn,Ln=new gn,Pn=new gn,Rn=new gn,In=new gn;function Dn(t,e,n,i,r){for(let s=0,a=t.length-3;s<=a;s+=3){In.fromArray(t,s);const a=r.x*Math.abs(In.x)+r.y*Math.abs(In.y)+r.z*Math.abs(In.z),o=e.dot(In),l=n.dot(In),c=i.dot(In);if(Math.max(-Math.max(o,l,c),Math.min(o,l,c))>a)return!1}return!0}const Un=new xn,Nn=new gn,On=new gn;class zn{constructor(t=new gn,e=-1){this.center=t,this.radius=e}set(t,e){return this.center.copy(t),this.radius=e,this}setFromPoints(t,e){const n=this.center;void 0!==e?n.copy(e):Un.setFromPoints(t).getCenter(n);let i=0;for(let e=0,r=t.length;e<r;e++)i=Math.max(i,n.distanceToSquared(t[e]));return this.radius=Math.sqrt(i),this}copy(t){return this.center.copy(t.center),this.radius=t.radius,this}isEmpty(){return this.radius<0}makeEmpty(){return this.center.set(0,0,0),this.radius=-1,this}containsPoint(t){return t.distanceToSquared(this.center)<=this.radius*this.radius}distanceToPoint(t){return t.distanceTo(this.center)-this.radius}intersectsSphere(t){const e=this.radius+t.radius;return t.center.distanceToSquared(this.center)<=e*e}intersectsBox(t){return t.intersectsSphere(this)}intersectsPlane(t){return Math.abs(t.distanceToPoint(this.center))<=this.radius}clampPoint(t,e){const n=this.center.distanceToSquared(t);return e.copy(t),n>this.radius*this.radius&&(e.sub(this.center).normalize(),e.multiplyScalar(this.radius).add(this.center)),e}getBoundingBox(t){return this.isEmpty()?(t.makeEmpty(),t):(t.set(this.center,this.center),t.expandByScalar(this.radius),t)}applyMatrix4(t){return this.center.applyMatrix4(t),this.radius=this.radius*t.getMaxScaleOnAxis(),this}translate(t){return this.center.add(t),this}expandByPoint(t){if(this.isEmpty())return this.center.copy(t),this.radius=0,this;Nn.subVectors(t,this.center);const e=Nn.lengthSq();if(e>this.radius*this.radius){const t=Math.sqrt(e),n=.5*(t-this.radius);this.center.addScaledVector(Nn,n/t),this.radius+=n}return this}union(t){return t.isEmpty()?this:this.isEmpty()?(this.copy(t),this):(!0===this.center.equals(t.center)?this.radius=Math.max(this.radius,t.radius):(On.subVectors(t.center,this.center).setLength(t.radius),this.expandByPoint(Nn.copy(t.center).add(On)),this.expandByPoint(Nn.copy(t.center).sub(On))),this)}equals(t){return t.center.equals(this.center)&&t.radius===this.radius}clone(){return new this.constructor().copy(this)}}const Bn=new gn,Fn=new gn,kn=new gn,Gn=new gn,Vn=new gn,Hn=new gn,Wn=new gn;class jn{constructor(t=new gn,e=new gn(0,0,-1)){this.origin=t,this.direction=e}set(t,e){return this.origin.copy(t),this.direction.copy(e),this}copy(t){return this.origin.copy(t.origin),this.direction.copy(t.direction),this}at(t,e){return e.copy(this.origin).addScaledVector(this.direction,t)}lookAt(t){return this.direction.copy(t).sub(this.origin).normalize(),this}recast(t){return this.origin.copy(this.at(t,Bn)),this}closestPointToPoint(t,e){e.subVectors(t,this.origin);const n=e.dot(this.direction);return n<0?e.copy(this.origin):e.copy(this.origin).addScaledVector(this.direction,n)}distanceToPoint(t){return Math.sqrt(this.distanceSqToPoint(t))}distanceSqToPoint(t){const e=Bn.subVectors(t,this.origin).dot(this.direction);return e<0?this.origin.distanceToSquared(t):(Bn.copy(this.origin).addScaledVector(this.direction,e),Bn.distanceToSquared(t))}distanceSqToSegment(t,e,n,i){Fn.copy(t).add(e).multiplyScalar(.5),kn.copy(e).sub(t).normalize(),Gn.copy(this.origin).sub(Fn);const r=.5*t.distanceTo(e),s=-this.direction.dot(kn),a=Gn.dot(this.direction),o=-Gn.dot(kn),l=Gn.lengthSq(),c=Math.abs(1-s*s);let h,u,d,p;if(c>0){if(h=s*o-a,u=s*a-o,p=r*c,h>=0){if(u>=-p){if(u<=p){const t=1/c;h*=t,u*=t,d=h*(h+s*u+2*a)+u*(s*h+u+2*o)+l}else u=r,h=Math.max(0,-(s*u+a)),d=-h*h+u*(u+2*o)+l;}else u=-r,h=Math.max(0,-(s*u+a)),d=-h*h+u*(u+2*o)+l;}else u<=-p?(h=Math.max(0,-(-s*r+a)),u=h>0?-r:Math.min(Math.max(-r,-o),r),d=-h*h+u*(u+2*o)+l):u<=p?(h=0,u=Math.min(Math.max(-r,-o),r),d=u*(u+2*o)+l):(h=Math.max(0,-(s*r+a)),u=h>0?r:Math.min(Math.max(-r,-o),r),d=-h*h+u*(u+2*o)+l);}else u=s>0?-r:r,h=Math.max(0,-(s*u+a)),d=-h*h+u*(u+2*o)+l;return n&&n.copy(this.origin).addScaledVector(this.direction,h),i&&i.copy(Fn).addScaledVector(kn,u),d}intersectSphere(t,e){Bn.subVectors(t.center,this.origin);const n=Bn.dot(this.direction),i=Bn.dot(Bn)-n*n,r=t.radius*t.radius;if(i>r)return null;const s=Math.sqrt(r-i),a=n-s,o=n+s;return o<0?null:a<0?this.at(o,e):this.at(a,e)}intersectsSphere(t){return this.distanceSqToPoint(t.center)<=t.radius*t.radius}distanceToPlane(t){const e=t.normal.dot(this.direction);if(0===e)return 0===t.distanceToPoint(this.origin)?0:null;const n=-(this.origin.dot(t.normal)+t.constant)/e;return n>=0?n:null}intersectPlane(t,e){const n=this.distanceToPlane(t);return null===n?null:this.at(n,e)}intersectsPlane(t){const e=t.distanceToPoint(this.origin);if(0===e)return!0;return t.normal.dot(this.direction)*e<0}intersectBox(t,e){let n,i,r,s,a,o;const l=1/this.direction.x,c=1/this.direction.y,h=1/this.direction.z,u=this.origin;return l>=0?(n=(t.min.x-u.x)*l,i=(t.max.x-u.x)*l):(n=(t.max.x-u.x)*l,i=(t.min.x-u.x)*l),c>=0?(r=(t.min.y-u.y)*c,s=(t.max.y-u.y)*c):(r=(t.max.y-u.y)*c,s=(t.min.y-u.y)*c),n>s||r>i?null:((r>n||isNaN(n))&&(n=r),(s<i||isNaN(i))&&(i=s),h>=0?(a=(t.min.z-u.z)*h,o=(t.max.z-u.z)*h):(a=(t.max.z-u.z)*h,o=(t.min.z-u.z)*h),n>o||a>i?null:((a>n||n!=n)&&(n=a),(o<i||i!=i)&&(i=o),i<0?null:this.at(n>=0?n:i,e)))}intersectsBox(t){return null!==this.intersectBox(t,Bn)}intersectTriangle(t,e,n,i,r){Vn.subVectors(e,t),Hn.subVectors(n,t),Wn.crossVectors(Vn,Hn);let s,a=this.direction.dot(Wn);if(a>0){if(i)return null;s=1}else{if(!(a<0))return null;s=-1,a=-a}Gn.subVectors(this.origin,t);const o=s*this.direction.dot(Hn.crossVectors(Gn,Hn));if(o<0)return null;const l=s*this.direction.dot(Vn.cross(Gn));if(l<0)return null;if(o+l>a)return null;const c=-s*Gn.dot(Wn);return c<0?null:this.at(c/a,r)}applyMatrix4(t){return this.origin.applyMatrix4(t),this.direction.transformDirection(t),this}equals(t){return t.origin.equals(this.origin)&&t.direction.equals(this.direction)}clone(){return new this.constructor().copy(this)}}class qn{constructor(){qn.prototype.isMatrix4=!0,this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}set(t,e,n,i,r,s,a,o,l,c,h,u,d,p,m,f){const g=this.elements;return g[0]=t,g[4]=e,g[8]=n,g[12]=i,g[1]=r,g[5]=s,g[9]=a,g[13]=o,g[2]=l,g[6]=c,g[10]=h,g[14]=u,g[3]=d,g[7]=p,g[11]=m,g[15]=f,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return new qn().fromArray(this.elements)}copy(t){const e=this.elements,n=t.elements;return e[0]=n[0],e[1]=n[1],e[2]=n[2],e[3]=n[3],e[4]=n[4],e[5]=n[5],e[6]=n[6],e[7]=n[7],e[8]=n[8],e[9]=n[9],e[10]=n[10],e[11]=n[11],e[12]=n[12],e[13]=n[13],e[14]=n[14],e[15]=n[15],this}copyPosition(t){const e=this.elements,n=t.elements;return e[12]=n[12],e[13]=n[13],e[14]=n[14],this}setFromMatrix3(t){const e=t.elements;return this.set(e[0],e[3],e[6],0,e[1],e[4],e[7],0,e[2],e[5],e[8],0,0,0,0,1),this}extractBasis(t,e,n){return t.setFromMatrixColumn(this,0),e.setFromMatrixColumn(this,1),n.setFromMatrixColumn(this,2),this}makeBasis(t,e,n){return this.set(t.x,e.x,n.x,0,t.y,e.y,n.y,0,t.z,e.z,n.z,0,0,0,0,1),this}extractRotation(t){const e=this.elements,n=t.elements,i=1/Xn.setFromMatrixColumn(t,0).length(),r=1/Xn.setFromMatrixColumn(t,1).length(),s=1/Xn.setFromMatrixColumn(t,2).length();return e[0]=n[0]*i,e[1]=n[1]*i,e[2]=n[2]*i,e[3]=0,e[4]=n[4]*r,e[5]=n[5]*r,e[6]=n[6]*r,e[7]=0,e[8]=n[8]*s,e[9]=n[9]*s,e[10
vendor: 5,990 bytes, line 3856
3856]=n[10]*s,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,this}makeRotationFromEuler(t){const e=this.elements,n=t.x,i=t.y,r=t.z,s=Math.cos(n),a=Math.sin(n),o=Math.cos(i),l=Math.sin(i),c=Math.cos(r),h=Math.sin(r);if("XYZ"===t.order){const t=s*c,n=s*h,i=a*c,r=a*h;e[0]=o*c,e[4]=-o*h,e[8]=l,e[1]=n+i*l,e[5]=t-r*l,e[9]=-a*o,e[2]=r-t*l,e[6]=i+n*l,e[10]=s*o}else if("YXZ"===t.order){const t=o*c,n=o*h,i=l*c,r=l*h;e[0]=t+r*a,e[4]=i*a-n,e[8]=s*l,e[1]=s*h,e[5]=s*c,e[9]=-a,e[2]=n*a-i,e[6]=r+t*a,e[10]=s*o}else if("ZXY"===t.order){const t=o*c,n=o*h,i=l*c,r=l*h;e[0]=t-r*a,e[4]=-s*h,e[8]=i+n*a,e[1]=n+i*a,e[5]=s*c,e[9]=r-t*a,e[2]=-s*l,e[6]=a,e[10]=s*o}else if("ZYX"===t.order){const t=s*c,n=s*h,i=a*c,r=a*h;e[0]=o*c,e[4]=i*l-n,e[8]=t*l+r,e[1]=o*h,e[5]=r*l+t,e[9]=n*l-i,e[2]=-l,e[6]=a*o,e[10]=s*o}else if("YZX"===t.order){const t=s*o,n=s*l,i=a*o,r=a*l;e[0]=o*c,e[4]=r-t*h,e[8]=i*h+n,e[1]=h,e[5]=s*c,e[9]=-a*c,e[2]=-l*c,e[6]=n*h+i,e[10]=t-r*h}else if("XZY"===t.order){const t=s*o,n=s*l,i=a*o,r=a*l;e[0]=o*c,e[4]=-h,e[8]=l*c,e[1]=t*h+r,e[5]=s*c,e[9]=n*h-i,e[2]=i*h-n,e[6]=a*c,e[10]=r*h+t}return e[3]=0,e[7]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,this}makeRotationFromQuaternion(t){return this.compose(Zn,t,Jn)}lookAt(t,e,n){const i=this.elements;return Qn.subVectors(t,e),0===Qn.lengthSq()&&(Qn.z=1),Qn.normalize(),Kn.crossVectors(n,Qn),0===Kn.lengthSq()&&(1===Math.abs(n.z)?Qn.x+=1e-4:Qn.z+=1e-4,Qn.normalize(),Kn.crossVectors(n,Qn)),Kn.normalize(),$n.crossVectors(Qn,Kn),i[0]=Kn.x,i[4]=$n.x,i[8]=Qn.x,i[1]=Kn.y,i[5]=$n.y,i[9]=Qn.y,i[2]=Kn.z,i[6]=$n.z,i[10]=Qn.z,this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyMatrices(t,e){const n=t.elements,i=e.elements,r=this.elements,s=n[0],a=n[4],o=n[8],l=n[12],c=n[1],h=n[5],u=n[9],d=n[13],p=n[2],m=n[6],f=n[10],g=n[14],v=n[3],_=n[7],x=n[11],y=n[15],M=i[0],S=i[4],b=i[8],w=i[12],T=i[1],E=i[5],A=i[9],C=i[13],L=i[2],P=i[6],R=i[10],I=i[14],D=i[3],U=i[7],N=i[11],O=i[15];return r[0]=s*M+a*T+o*L+l*D,r[4]=s*S+a*E+o*P+l*U,r[8]=s*b+a*A+o*R+l*N,r[12]=s*w+a*C+o*I+l*O,r[1]=c*M+h*T+u*L+d*D,r[5]=c*S+h*E+u*P+d*U,r[9]=c*b+h*A+u*R+d*N,r[13]=c*w+h*C+u*I+d*O,r[2]=p*M+m*T+f*L+g*D,r[6]=p*S+m*E+f*P+g*U,r[10]=p*b+m*A+f*R+g*N,r[14]=p*w+m*C+f*I+g*O,r[3]=v*M+_*T+x*L+y*D,r[7]=v*S+_*E+x*P+y*U,r[11]=v*b+_*A+x*R+y*N,r[15]=v*w+_*C+x*I+y*O,this}multiplyScalar(t){const e=this.elements;return e[0]*=t,e[4]*=t,e[8]*=t,e[12]*=t,e[1]*=t,e[5]*=t,e[9]*=t,e[13]*=t,e[2]*=t,e[6]*=t,e[10]*=t,e[14]*=t,e[3]*=t,e[7]*=t,e[11]*=t,e[15]*=t,this}determinant(){const t=this.elements,e=t[0],n=t[4],i=t[8],r=t[12],s=t[1],a=t[5],o=t[9],l=t[13],c=t[2],h=t[6],u=t[10],d=t[14];return t[3]*(+r*o*h-i*l*h-r*a*u+n*l*u+i*a*d-n*o*d)+t[7]*(+e*o*d-e*l*u+r*s*u-i*s*d+i*l*c-r*o*c)+t[11]*(+e*l*h-e*a*d-r*s*h+n*s*d+r*a*c-n*l*c)+t[15]*(-i*a*c-e*o*h+e*a*u+i*s*h-n*s*u+n*o*c)}transpose(){const t=this.elements;let e;return e=t[1],t[1]=t[4],t[4]=e,e=t[2],t[2]=t[8],t[8]=e,e=t[6],t[6]=t[9],t[9]=e,e=t[3],t[3]=t[12],t[12]=e,e=t[7],t[7]=t[13],t[13]=e,e=t[11],t[11]=t[14],t[14]=e,this}setPosition(t,e,n){const i=this.elements;return t.isVector3?(i[12]=t.x,i[13]=t.y,i[14]=t.z):(i[12]=t,i[13]=e,i[14]=n),this}invert(){const t=this.elements,e=t[0],n=t[1],i=t[2],r=t[3],s=t[4],a=t[5],o=t[6],l=t[7],c=t[8],h=t[9],u=t[10],d=t[11],p=t[12],m=t[13],f=t[14],g=t[15],v=h*f*l-m*u*l+m*o*d-a*f*d-h*o*g+a*u*g,_=p*u*l-c*f*l-p*o*d+s*f*d+c*o*g-s*u*g,x=c*m*l-p*h*l+p*a*d-s*m*d-c*a*g+s*h*g,y=p*h*o-c*m*o-p*a*u+s*m*u+c*a*f-s*h*f,M=e*v+n*_+i*x+r*y;if(0===M)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const S=1/M;return t[0]=v*S,t[1]=(m*u*r-h*f*r-m*i*d+n*f*d+h*i*g-n*u*g)*S,t[2]=(a*f*r-m*o*r+m*i*l-n*f*l-a*i*g+n*o*g)*S,t[3]=(h*o*r-a*u*r-h*i*l+n*u*l+a*i*d-n*o*d)*S,t[4]=_*S,t[5]=(c*f*r-p*u*r+p*i*d-e*f*d-c*i*g+e*u*g)*S,t[6]=(p*o*r-s*f*r-p*i*l+e*f*l+s*i*g-e*o*g)*S,t[7]=(s*u*r-c*o*r+c*i*l-e*u*l-s*i*d+e*o*d)*S,t[8]=x*S,t[9]=(p*h*r-c*m*r-p*n*d+e*m*d+c*n*g-e*h*g)*S,t[10]=(s*m*r-p*a*r+p*n*l-e*m*l-s*n*g+e*a*g)*S,t[11]=(c*a*r-s*h*r-c*n*l+e*h*l+s*n*d-e*a*d)*S,t[12]=y*S,t[13]=(c*m*i-p*h*i+p*n*u-e*m*u-c*n*f+e*h*f)*S,t[14]=(p*a*i-s*m*i-p*n*o+e*m*o+s*n*f-e*a*f)*S,t[15]=(s*h*i-c*a*i+c*n*o-e*h*o-s*n*u+e*a*u)*S,this}scale(t){const e=this.elements,n=t.x,i=t.y,r=t.z;return e[0]*=n,e[4]*=i,e[8]*=r,e[1]*=n,e[5]*=i,e[9]*=r,e[2]*=n,e[6]*=i,e[10]*=r,e[3]*=n,e[7]*=i,e[11]*=r,this}getMaxScaleOnAxis(){const t=this.elements,e=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],n=t[4]*t[4]+t[5]*t[5]+t[6]*t[6],i=t[8]*t[8]+t[9]*t[9]+t[10]*t[10];return Math.sqrt(Math.max(e,n,i))}makeTranslation(t,e,n){return this.set(1,0,0,t,0,1,0,e,0,0,1,n,0,0,0,1),this}makeRotationX(t){const e=Math.cos(t),n=Math.sin(t);return this.set(1,0,0,0,0,e,-n,0,0,n,e,0,0,0,0,1),this}makeRotationY(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,0,n,0,0,1,0,0,-n,0,e,0,0,0,0,1),this}makeRotationZ(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,-n,0,0,n,e,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(t,e){const n=Math.cos(e),i=Math.sin(e),r=1-n,s=t.x,a=t.y,o=t.z,l=r*s,c=r*a;return this.set(l*s+n,l*a-i*o,l*o+i*a,0,l*a+i*o,c*a+n,c*o-i*s,0,l*o-i*a,c*o+i*s,r*o*o+n,0,0,0,0,1),this}makeScale(t,e,n){return this.set(t,0,0,0,0,e,0,0,0,0,n,0,0,0,0,1),this}makeShear(t,e,n,i,r,s){return this.set(1,n,r,0,t,1,s,0,e,i,1,0,0,0,0,1),this}compose(t,e,n){const i=this.elements,r=e._x,s=e._y,a=e._z,o=e._w,l=r+r,c=s+s,h=a+a,u=r*l,d=r*c,p=r*h,m=s*c,f=s*h,g=a*h,v=o*l,_=o*c,x=o*h,y=n.x,M=n.y,S=n.z;return i[0]=(1-(m+g))*y,i[1]=(d+x)*y,i[2]=(p-_)*y,i[3]=0,i[4]=(d-x)*M,i[5]=(1-(u+g))*M,i[6]=(f+v)*M,i[7]=0,i[8]=(p+_)*S,i[9]=(f-v)*S,i[10]=(1-(u+m))*S,i[11]=0,i[12]=t.x,i[13]=t.y,i[14]=t.z,i[15]=1,this}decompose(t,e,n){const i=this.elements;let r=Xn.set(i[0],i[1],i[2]).length();const s=Xn.set(i[4],i[5],i[6]).length(),a=Xn.set(i[8],i[9],i[10]).length();this.determinant()<0&&(r=-r),t.x=i[12],t.y=i[13],t.z=i[14],Yn.copy(this);const o=1/r,l=1/s,c=1/a;return Yn.elements[0]*=o,Yn.elements[1]*=o,Yn.elements[2]*=o,Yn.elements[4]*=l,Yn.elements[5]*=l,Yn.elements[6]*=l,Yn.elements[8]*=c,Yn.elements[9]*=c,Yn.elements[10]*=c,e.setFromRotationMatrix(Yn
vendor: 16,884 bytes, line 3856
3856),n.x=r,n.y=s,n.z=a,this}makePerspective(t,e,n,i,r,s){const a=this.elements,o=2*r/(e-t),l=2*r/(n-i),c=(e+t)/(e-t),h=(n+i)/(n-i),u=-(s+r)/(s-r),d=-2*s*r/(s-r);return a[0]=o,a[4]=0,a[8]=c,a[12]=0,a[1]=0,a[5]=l,a[9]=h,a[13]=0,a[2]=0,a[6]=0,a[10]=u,a[14]=d,a[3]=0,a[7]=0,a[11]=-1,a[15]=0,this}makeOrthographic(t,e,n,i,r,s){const a=this.elements,o=1/(e-t),l=1/(n-i),c=1/(s-r),h=(e+t)*o,u=(n+i)*l,d=(s+r)*c;return a[0]=2*o,a[4]=0,a[8]=0,a[12]=-h,a[1]=0,a[5]=2*l,a[9]=0,a[13]=-u,a[2]=0,a[6]=0,a[10]=-2*c,a[14]=-d,a[3]=0,a[7]=0,a[11]=0,a[15]=1,this}equals(t){const e=this.elements,n=t.elements;for(let t=0;t<16;t++)if(e[t]!==n[t])return!1;return!0}fromArray(t,e=0){for(let n=0;n<16;n++)this.elements[n]=t[n+e];return this}toArray(t=[],e=0){const n=this.elements;return t[e]=n[0],t[e+1]=n[1],t[e+2]=n[2],t[e+3]=n[3],t[e+4]=n[4],t[e+5]=n[5],t[e+6]=n[6],t[e+7]=n[7],t[e+8]=n[8],t[e+9]=n[9],t[e+10]=n[10],t[e+11]=n[11],t[e+12]=n[12],t[e+13]=n[13],t[e+14]=n[14],t[e+15]=n[15],t}}const Xn=new gn,Yn=new qn,Zn=new gn(0,0,0),Jn=new gn(1,1,1),Kn=new gn,$n=new gn,Qn=new gn,ti=new qn,ei=new fn;class ni{constructor(t=0,e=0,n=0,i=ni.DEFAULT_ORDER){this.isEuler=!0,this._x=t,this._y=e,this._z=n,this._order=i}get x(){return this._x}set x(t){this._x=t,this._onChangeCallback()}get y(){return this._y}set y(t){this._y=t,this._onChangeCallback()}get z(){return this._z}set z(t){this._z=t,this._onChangeCallback()}get order(){return this._order}set order(t){this._order=t,this._onChangeCallback()}set(t,e,n,i=this._order){return this._x=t,this._y=e,this._z=n,this._order=i,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(t){return this._x=t._x,this._y=t._y,this._z=t._z,this._order=t._order,this._onChangeCallback(),this}setFromRotationMatrix(t,e=this._order,n=!0){const i=t.elements,r=i[0],s=i[4],a=i[8],o=i[1],l=i[5],c=i[9],h=i[2],u=i[6],d=i[10];switch(e){case"XYZ":this._y=Math.asin(Ne(a,-1,1)),Math.abs(a)<.9999999?(this._x=Math.atan2(-c,d),this._z=Math.atan2(-s,r)):(this._x=Math.atan2(u,l),this._z=0);break;case"YXZ":this._x=Math.asin(-Ne(c,-1,1)),Math.abs(c)<.9999999?(this._y=Math.atan2(a,d),this._z=Math.atan2(o,l)):(this._y=Math.atan2(-h,r),this._z=0);break;case"ZXY":this._x=Math.asin(Ne(u,-1,1)),Math.abs(u)<.9999999?(this._y=Math.atan2(-h,d),this._z=Math.atan2(-s,l)):(this._y=0,this._z=Math.atan2(o,r));break;case"ZYX":this._y=Math.asin(-Ne(h,-1,1)),Math.abs(h)<.9999999?(this._x=Math.atan2(u,d),this._z=Math.atan2(o,r)):(this._x=0,this._z=Math.atan2(-s,l));break;case"YZX":this._z=Math.asin(Ne(o,-1,1)),Math.abs(o)<.9999999?(this._x=Math.atan2(-c,l),this._y=Math.atan2(-h,r)):(this._x=0,this._y=Math.atan2(a,d));break;case"XZY":this._z=Math.asin(-Ne(s,-1,1)),Math.abs(s)<.9999999?(this._x=Math.atan2(u,l),this._y=Math.atan2(a,r)):(this._x=Math.atan2(-c,d),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+e);}return this._order=e,!0===n&&this._onChangeCallback(),this}setFromQuaternion(t,e,n){return ti.makeRotationFromQuaternion(t),this.setFromRotationMatrix(ti,e,n)}setFromVector3(t,e=this._order){return this.set(t.x,t.y,t.z,e)}reorder(t){return ei.setFromEuler(this),this.setFromQuaternion(ei,t)}equals(t){return t._x===this._x&&t._y===this._y&&t._z===this._z&&t._order===this._order}fromArray(t){return this._x=t[0],this._y=t[1],this._z=t[2],void 0!==t[3]&&(this._order=t[3]),this._onChangeCallback(),this}toArray(t=[],e=0){return t[e]=this._x,t[e+1]=this._y,t[e+2]=this._z,t[e+3]=this._order,t}_onChange(t){return this._onChangeCallback=t,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._order}}ni.DEFAULT_ORDER="XYZ";class ii{constructor(){this.mask=1}set(t){this.mask=(1<<t|0)>>>0}enable(t){this.mask|=1<<t|0}enableAll(){this.mask=-1}toggle(t){this.mask^=1<<t|0}disable(t){this.mask&=~(1<<t|0)}disableAll(){this.mask=0}test(t){return 0!=(this.mask&t.mask)}isEnabled(t){return 0!=(this.mask&(1<<t|0))}}let ri=0;const si=new gn,ai=new fn,oi=new qn,li=new gn,ci=new gn,hi=new gn,ui=new fn,di=new gn(1,0,0),pi=new gn(0,1,0),mi=new gn(0,0,1),fi={type:"added"},gi={type:"removed"};class vi extends Le{constructor(){super(),this.isObject3D=!0,Object.defineProperty(this,"id",{value:ri++}),this.uuid=Ue(),this.name="",this.type="Object3D",this.parent=null,this.children=[],this.up=vi.DEFAULT_UP.clone();const t=new gn,e=new ni,n=new fn,i=new gn(1,1,1);e._onChange(function(){n.setFromEuler(e,!1)}),n._onChange(function(){e.setFromQuaternion(n,void 0,!1)}),Object.defineProperties(this,{position:{configurable:!0,enumerable:!0,value:t},rotation:{configurable:!0,enumerable:!0,value:e},quaternion:{configurable:!0,enumerable:!0,value:n},scale:{configurable:!0,enumerable:!0,value:i},modelViewMatrix:{value:new qn},normalMatrix:{value:new je}}),this.matrix=new qn,this.matrixWorld=new qn,this.matrixAutoUpdate=vi.DEFAULT_MATRIX_AUTO_UPDATE,this.matrixWorldNeedsUpdate=!1,this.matrixWorldAutoUpdate=vi.DEFAULT_MATRIX_WORLD_AUTO_UPDATE,this.layers=new ii,this.visible=!0,this.castShadow=!1,this.receiveShadow=!1,this.frustumCulled=!0,this.renderOrder=0,this.animations=[],this.userData={}}onBeforeRender(){}onAfterRender(){}applyMatrix4(t){this.matrixAutoUpdate&&this.updateMatrix(),this.matrix.premultiply(t),this.matrix.decompose(this.position,this.quaternion,this.scale)}applyQuaternion(t){return this.quaternion.premultiply(t),this}setRotationFromAxisAngle(t,e){this.quaternion.setFromAxisAngle(t,e)}setRotationFromEuler(t){this.quaternion.setFromEuler(t,!0)}setRotationFromMatrix(t){this.quaternion.setFromRotationMatrix(t)}setRotationFromQuaternion(t){this.quaternion.copy(t)}rotateOnAxis(t,e){return ai.setFromAxisAngle(t,e),this.quaternion.multiply(ai),this}rotateOnWorldAxis(t,e){return ai.setFromAxisAngle(t,e),this.quaternion.premultiply(ai),this}rotateX(t){return this.rotateOnAxis(di,t)}rotateY(t){return this.rotateOnAxis(pi,t)}rotateZ(t){return this.rotateOnAxis(mi,t)}translateOnAxis(t,e){return si.copy(t).applyQuaternion(this.quaternion),this.position.add(si.multiplyScalar(e)),this}translateX(t){return this.translateOnAxis(di,t)}translateY(t){return this.translateOnAxis(pi,t)}translateZ(t){return this.translateOnAxis(mi,t)}localToWorld(t){return this.updateWorldMatrix(!0,!1),t.applyMatrix4(this.matrixWorld)}worldToLocal(t){return this.updateWorldMatrix(!0,!1),t.applyMatrix4(oi.copy(this.matrixWorld).invert())}lookAt(t,e,n){t.isVector3?li.copy(t):li.set(t,e,n);const i=this.parent;this.updateWorldMatrix(!0,!1),ci.setFromMatrixPosition(this.matrixWorld),this.isCamera||this.isLight?oi.lookAt(ci,li,this.up):oi.lookAt(li,ci,this.up),this.quaternion.setFromRotationMatrix(oi),i&&(oi.extractRotation(i.matrixWorld),ai.setFromRotationMatrix(oi),this.quaternion.premultiply(ai.invert()))}add(t){if(arguments.length>1){for(let t=0;t<arguments.length;t++)this.add(arguments[t]);return this}return t===this?(console.error("THREE.Object3D.add: object can't be added as a child of itself.",t),this):(t&&t.isObject3D?(null!==t.parent&&t.parent.remove(t),t.parent=this,this.children.push(t),t.dispatchEvent(fi)):console.error("THREE.Object3D.add: object not an instance of THREE.Object3D.",t),this)}remove(t){if(arguments.length>1){for(let t=0;t<arguments.length;t++)this.remove(arguments[t]);return this}const e=this.children.indexOf(t);return-1!==e&&(t.parent=null,this.children.splice(e,1),t.dispatchEvent(gi)),this}removeFromParent(){const t=this.parent;return null!==t&&t.remove(this),this}clear(){for(let t=0;t<this.children.length;t++){const e=this.children[t];e.parent=null,e.dispatchEvent(gi)}return this.children.length=0,this}attach(t){return this.updateWorldMatrix(!0,!1),oi.copy(this.matrixWorld).invert(),null!==t.parent&&(t.parent.updateWorldMatrix(!0,!1),oi.multiply(t.parent.matrixWorld)),t.applyMatrix4(oi),this.add(t),t.updateWorldMatrix(!1,!0),this}getObjectById(t){return this.getObjectByProperty("id",t)}getObjectByName(t){return this.getObjectByProperty("name",t)}getObjectByProperty(t,e){if(this[t]===e)return this;for(let n=0,i=this.children.length;n<i;n++){const i=this.children[n].getObjectByProperty(t,e);if(void 0!==i)return i}}getObjectsByProperty(t,e){let n=[];this[t]===e&&n.push(this);for(let i=0,r=this.children.length;i<r;i++){const r=this.children[i].getObjectsByProperty(t,e);r.length>0&&(n=n.concat(r))}return n}getWorldPosition(t){return this.updateWorldMatrix(!0,!1),t.setFromMatrixPosition(this.matrixWorld)}getWorldQuaternion(t){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(ci,t,hi),t}getWorldScale(t){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(ci,ui,t),t}getWorldDirection(t){this.updateWorldMatrix(!0,!1);const e=this.matrixWorld.elements;return t.set(e[8],e[9],e[10]).normalize()}raycast(){}traverse(t){t(this);const e=this.children;for(let n=0,i=e.length;n<i;n++)e[n].traverse(t)}traverseVisible(t){if(!1===this.visible)return;t(this);const e=this.children;for(let n=0,i=e.length;n<i;n++)e[n].traverseVisible(t)}traverseAncestors(t){const e=this.parent;null!==e&&(t(e),e.traverseAncestors(t))}updateMatrix(){this.matrix.compose(this.position,this.quaternion,this.scale),this.matrixWorldNeedsUpdate=!0}updateMatrixWorld(t){this.matrixAutoUpdate&&this.updateMatrix(),(this.matrixWorldNeedsUpdate||t)&&(null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix),this.matrixWorldNeedsUpdate=!1,t=!0);const e=this.children;for(let n=0,i=e.length;n<i;n++){const i=e[n];!0!==i.matrixWorldAutoUpdate&&!0!==t||i.updateMatrixWorld(t)}}updateWorldMatrix(t,e){const n=this.parent;if(!0===t&&null!==n&&!0===n.matrixWorldAutoUpdate&&n.updateWorldMatrix(!0,!1),this.matrixAutoUpdate&&this.updateMatrix(),null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix),!0===e){const t=this.children;for(let e=0,n=t.length;e<n;e++){const n=t[e];!0===n.matrixWorldAutoUpdate&&n.updateWorldMatrix(!1,!0)}}}toJSON(t){const e=void 0===t||"string"==typeof t,n={};e&&(t={geometries:{},materials:{},textures:{},images:{},shapes:{},skeletons:{},animations:{},nodes:{}},n.metadata={version:4.5,type:"Object",generator:"Object3D.toJSON"});const i={};function r(e,n){return void 0===e[n.uuid]&&(e[n.uuid]=n.toJSON(t)),n.uuid}if(i.uuid=this.uuid,i.type=this.type,""!==this.name&&(i.name=this.name),!0===this.castShadow&&(i.castShadow=!0),!0===this.receiveShadow&&(i.receiveShadow=!0),!1===this.visible&&(i.visible=!1),!1===this.frustumCulled&&(i.frustumCulled=!1),0!==this.renderOrder&&(i.renderOrder=this.renderOrder),Object.keys(this.userData).length>0&&(i.userData=this.userData),i.layers=this.layers.mask,i.matrix=this.matrix.toArray(),i.up=this.up.toArray(),!1===this.matrixAutoUpdate&&(i.matrixAutoUpdate=!1),this.isInstancedMesh&&(i.type="InstancedMesh",i.count=this.count,i.instanceMatrix=this.instanceMatrix.toJSON(),null!==this.instanceColor&&(i.instanceColor=this.instanceColor.toJSON())),this.isScene)this.background&&(this.background.isColor?i.background=this.background.toJSON():this.background.isTexture&&(i.background=this.background.toJSON(t).uuid)),this.environment&&this.environment.isTexture&&!0!==this.environment.isRenderTargetTexture&&(i.environment=this.environment.toJSON(t).uuid);else if(this.isMesh||this.isLine||this.isPoints){i.geometry=r(t.geometries,this.geometry);const e=this.geometry.parameters;if(void 0!==e&&void 0!==e.shapes){const n=e.shapes;if(Array.isArray(n))for(let e=0,i=n.length;e<i;e++){const i=n[e];r(t.shapes,i)}else r(t.shapes,n)}}if(this.isSkinnedMesh&&(i.bindMode=this.bindMode,i.bindMatrix=this.bindMatrix.toArray(),void 0!==this.skeleton&&(r(t.skeletons,this.skeleton),i.skeleton=this.skeleton.uuid)),void 0!==this.material)if(Array.isArray(this.material)){const e=[];for(let n=0,i=this.material.length;n<i;n++)e.push(r(t.materials,this.material[n]));i.material=e}else i.material=r(t.materials,this.material);if(this.children.length>0){i.children=[];for(let e=0;e<this.children.length;e++)i.children.push(this.children[e].toJSON(t).object)}if(this.animations.length>0){i.animations=[];for(let e=0;e<this.animations.length;e++){const n=this.animations[e];i.animations.push(r(t.animations,n))}}if(e){const e=s(t.geometries),i=s(t.materials),r=s(t.textures),a=s(t.images),o=s(t.shapes),l=s(t.skeletons),c=s(t.animations),h=s(t.nodes);e.length>0&&(n.geometries=e),i.length>0&&(n.materials=i),r.length>0&&(n.textures=r),a.length>0&&(n.images=a),o.length>0&&(n.shapes=o),l.length>0&&(n.skeletons=l),c.length>0&&(n.animations=c),h.length>0&&(n.nodes=h)}return n.object=i,n;function s(t){const e=[];for(const n in t){const i=t[n];delete i.metadata,e.push(i)}return e}}clone(t){return new this.constructor().copy(this,t)}copy(t,e=!0){if(this.name=t.name,this.up.copy(t.up),this.position.copy(t.position),this.rotation.order=t.rotation.order,this.quaternion.copy(t.quaternion),this.scale.copy(t.scale),this.matrix.copy(t.matrix),this.matrixWorld.copy(t.matrixWorld),this.matrixAutoUpdate=t.matrixAutoUpdate,this.matrixWorldNeedsUpdate=t.matrixWorldNeedsUpdate,this.matrixWorldAutoUpdate=t.matrixWorldAutoUpdate,this.layers.mask=t.layers.mask,this.visible=t.visible,this.castShadow=t.castShadow,this.receiveShadow=t.receiveShadow,this.frustumCulled=t.frustumCulled,this.renderOrder=t.renderOrder,this.userData=JSON.parse(JSON.stringify(t.userData)),!0===e)for(let e=0;e<t.children.length;e++){const n=t.children[e];this.add(n.clone())}return this}}vi.DEFAULT_UP=new gn(0,1,0),vi.DEFAULT_MATRIX_AUTO_UPDATE=!0,vi.DEFAULT_MATRIX_WORLD_AUTO_UPDATE=!0;const _i=new gn,xi=new gn,yi=new gn,Mi=new gn,Si=new gn,bi=new gn,wi=new gn,Ti=new gn,Ei=new gn,Ai=new gn;let Ci=!1;class Li{constructor(t=new gn,e=new gn,n=new gn){this.a=t,this.b=e,this.c=n}static getNormal(t,e,n,i){i.subVectors(n,e),_i.subVectors(t,e),i.cross(_i);const r=i.lengthSq();return r>0?i.multiplyScalar(1/Math.sqrt(r)):i.set(0,0,0)}static getBarycoord(t,e,n,i,r){_i.subVectors(i,e),xi.subVectors(n,e),yi.subVectors(t,e);const s=_i.dot(_i),a=_i.dot(xi),o=_i.dot(yi),l=xi.dot(xi),c=xi.dot(yi),h=s*l-a*a;if(0===h)return r.set(-2,-1,-1);const u=1/h,d=(l*o-a*c)*u,p=(s*c-a*o)*u;return r.set(1-d-p,p,d)}static containsPoint(t,e,n,i){return this.getBarycoord(t,e,n,i,Mi),Mi.x>=0&&Mi.y>=0&&Mi.x+Mi.y<=1}static getUV(t,e,n,i,r,s,a,o){return!1===Ci&&(console.warn("THREE.Triangle.getUV() has been renamed to THREE.Triangle.getInterpolation()."),Ci=!0),this.getInterpolation(t,e,n,i,r,s,a,o)}static getInterpolation(t,e,n,i,r,s,a,o){return this.getBarycoord(t,e,n,i,Mi),o.setScalar(0),o.addScaledVector(r,Mi.x),o.addScaledVector(s,Mi.y),o.addScaledVector(a,Mi.z),o}static isFrontFacing(t,e,n,i){return _i.subVectors(n,e),xi.subVectors(t,e),_i.cross(xi).dot(i)<0}set(t,e,n){return this.a.copy(t),this.b.copy(e),this.c.copy(n),this}setFromPointsAndIndices(t,e,n,i){return this.a.copy(t[e]),this.b.copy(t[n]),this.c.copy(t[i]),this}setFromAttributeAndIndices(t,e,n,i){return this.a.fromBufferAttribute(t,e),this.b.fromBufferAttribute(t,n),this.c.fromBufferAttribute(t,i),this}clone(){return new this.constructor().copy(this)}copy(t){return this.a.copy(t.a),this.b.copy(t.b),this.c.copy(t.c),this}getArea(){return _i.subVectors(this.c,this.b),xi.subVectors(this.a,this.b),.5*_i.cross(xi).length()}getMidpoint(t){return t.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(t){return Li.getNormal(this.a,this.b,this.c,t)}getPlane(t){return t.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(t,e){return Li.getBarycoord(t,this.a,this.b,this.c,e)}getUV(t,e,n,i,r){return!1===Ci&&(console.warn("THREE.Triangle.getUV() has been renamed to THREE.Triangle.getInterpolation()."),Ci=!0),Li.getInterpolation(t,this.a,this.b,this.c,e,n,i,r)}getInterpolation(t,e,n,i,r){return Li.getInterpolation(t,this.a,this.b,this.c,e,n,i,r)}containsPoint(t){return Li.containsPoint(t,this.a,this.b,this.c)}isFrontFacing(t){return Li.isFrontFacing(this.a,this.b,this.c,t)}intersectsBox(t){return t.intersectsTriangle(this)}closestPointToPoint(t,e){const n=this.a,i=this.b,r=this.c;let s,a;Si.subVectors(i,n),bi.subVectors(r,n),Ti.subVectors(t,n);const o=Si.dot(Ti),l=bi.dot(Ti);if(o<=0&&l<=0)return e.copy(n);Ei.subVectors(t,i);const c=Si.dot(Ei),h=bi.dot(Ei);if(c>=0&&h<=c)return e.copy(i);const u=o*h-c*l;if(u<=0&&o>=0&&c<=0)return s=o/(o-c),e.copy(n).addScaledVector(Si,s);Ai.subVectors(t,r);const d=Si.dot(Ai),p=bi.dot(Ai);if(p>=0&&d<=p)return e.copy(r);const m=d*l-o*p;if(m<=0&&l>=0&&p<=0)return a=l/(l-p),e.copy(n).addScaledVector(bi,a);const f=c*p-d*h;if(f<=0&&h-c>=0&&d-p>=0)return wi.subVectors(r,i),a=(h-c)/(h-c+(d-p)),e.copy(i).addScaledVector(wi,a);const g=1/(f+m+u);return s=m*g,a=u*g,e.copy(n).addScaledVector(Si,s).addScaledVector(bi,a)}equals(t){return t.a.equals(this.a)&&t.b.equals(this.b)&&t.c.equals(this.c)}}let Pi=0;class Ri extends Le{constructor(){super(),this.isMaterial=!0,Object.defineProperty(this,"id",{value:Pi++}
vendor: 1,685 bytes, line 3856
3856),this.uuid=Ue(),this.name="",this.type="Material",this.blending=d,this.side=l,this.vertexColors=!1,this.opacity=1,this.transparent=!1,this.blendSrc=E,this.blendDst=A,this.blendEquation=v,this.blendSrcAlpha=null,this.blendDstAlpha=null,this.blendEquationAlpha=null,this.depthFunc=O,this.depthTest=!0,this.depthWrite=!0,this.stencilWriteMask=255,this.stencilFunc=519,this.stencilRef=0,this.stencilFuncMask=255,this.stencilFail=Te,this.stencilZFail=Te,this.stencilZPass=Te,this.stencilWrite=!1,this.clippingPlanes=null,this.clipIntersection=!1,this.clipShadows=!1,this.shadowSide=null,this.colorWrite=!0,this.precision=null,this.polygonOffset=!1,this.polygonOffsetFactor=0,this.polygonOffsetUnits=0,this.dithering=!1,this.alphaToCoverage=!1,this.premultipliedAlpha=!1,this.forceSinglePass=!1,this.visible=!0,this.toneMapped=!0,this.userData={},this.version=0,this._alphaTest=0}get alphaTest(){return this._alphaTest}set alphaTest(t){this._alphaTest>0!=t>0&&this.version++,this._alphaTest=t}onBuild(){}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(t){if(void 0!==t)for(const e in t){const n=t[e];if(void 0===n){console.warn(`THREE.Material: parameter '${e}' has value of undefined.`);continue}const i=this[e];void 0!==i?i&&i.isColor?i.set(n):i&&i.isVector3&&n&&n.isVector3?i.copy(n):this[e]=n:console.warn(`THREE.Material: '${e}' is not a property of THREE.${this.type}.`)}}toJSON(t){const e=void 0===t||"string"==typeof t;e&&(t={textures:{},images:{}});const n={metadata:{version:4.5,type:"Material",generator:"Material.toJSON"}};function i(t){const e=[];for(const n in t){const i=t[n];delete i.metadata,e.push(i)}return e}
vendor: 16,384 bytes, line 3856
3856if(n.uuid=this.uuid,n.type=this.type,""!==this.name&&(n.name=this.name),this.color&&this.color.isColor&&(n.color=this.color.getHex()),void 0!==this.roughness&&(n.roughness=this.roughness),void 0!==this.metalness&&(n.metalness=this.metalness),void 0!==this.sheen&&(n.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(n.sheenColor=this.sheenColor.getHex()),void 0!==this.sheenRoughness&&(n.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(n.emissive=this.emissive.getHex()),this.emissiveIntensity&&1!==this.emissiveIntensity&&(n.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(n.specular=this.specular.getHex()),void 0!==this.specularIntensity&&(n.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(n.specularColor=this.specularColor.getHex()),void 0!==this.shininess&&(n.shininess=this.shininess),void 0!==this.clearcoat&&(n.clearcoat=this.clearcoat),void 0!==this.clearcoatRoughness&&(n.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(n.clearcoatMap=this.clearcoatMap.toJSON(t).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(n.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(t).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(n.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(t).uuid,n.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),void 0!==this.iridescence&&(n.iridescence=this.iridescence),void 0!==this.iridescenceIOR&&(n.iridescenceIOR=this.iridescenceIOR),void 0!==this.iridescenceThicknessRange&&(n.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(n.iridescenceMap=this.iridescenceMap.toJSON(t).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(n.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(t).uuid),this.map&&this.map.isTexture&&(n.map=this.map.toJSON(t).uuid),this.matcap&&this.matcap.isTexture&&(n.matcap=this.matcap.toJSON(t).uuid),this.alphaMap&&this.alphaMap.isTexture&&(n.alphaMap=this.alphaMap.toJSON(t).uuid),this.lightMap&&this.lightMap.isTexture&&(n.lightMap=this.lightMap.toJSON(t).uuid,n.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(n.aoMap=this.aoMap.toJSON(t).uuid,n.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(n.bumpMap=this.bumpMap.toJSON(t).uuid,n.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(n.normalMap=this.normalMap.toJSON(t).uuid,n.normalMapType=this.normalMapType,n.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(n.displacementMap=this.displacementMap.toJSON(t).uuid,n.displacementScale=this.displacementScale,n.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(n.roughnessMap=this.roughnessMap.toJSON(t).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(n.metalnessMap=this.metalnessMap.toJSON(t).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(n.emissiveMap=this.emissiveMap.toJSON(t).uuid),this.specularMap&&this.specularMap.isTexture&&(n.specularMap=this.specularMap.toJSON(t).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(n.specularIntensityMap=this.specularIntensityMap.toJSON(t).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(n.specularColorMap=this.specularColorMap.toJSON(t).uuid),this.envMap&&this.envMap.isTexture&&(n.envMap=this.envMap.toJSON(t).uuid,void 0!==this.combine&&(n.combine=this.combine)),void 0!==this.envMapIntensity&&(n.envMapIntensity=this.envMapIntensity),void 0!==this.reflectivity&&(n.reflectivity=this.reflectivity),void 0!==this.refractionRatio&&(n.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(n.gradientMap=this.gradientMap.toJSON(t).uuid),void 0!==this.transmission&&(n.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(n.transmissionMap=this.transmissionMap.toJSON(t).uuid),void 0!==this.thickness&&(n.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(n.thicknessMap=this.thicknessMap.toJSON(t).uuid),void 0!==this.attenuationDistance&&this.attenuationDistance!==1/0&&(n.attenuationDistance=this.attenuationDistance),void 0!==this.attenuationColor&&(n.attenuationColor=this.attenuationColor.getHex()),void 0!==this.size&&(n.size=this.size),null!==this.shadowSide&&(n.shadowSide=this.shadowSide),void 0!==this.sizeAttenuation&&(n.sizeAttenuation=this.sizeAttenuation),this.blending!==d&&(n.blending=this.blending),this.side!==l&&(n.side=this.side),this.vertexColors&&(n.vertexColors=!0),this.opacity<1&&(n.opacity=this.opacity),!0===this.transparent&&(n.transparent=this.transparent),n.depthFunc=this.depthFunc,n.depthTest=this.depthTest,n.depthWrite=this.depthWrite,n.colorWrite=this.colorWrite,n.stencilWrite=this.stencilWrite,n.stencilWriteMask=this.stencilWriteMask,n.stencilFunc=this.stencilFunc,n.stencilRef=this.stencilRef,n.stencilFuncMask=this.stencilFuncMask,n.stencilFail=this.stencilFail,n.stencilZFail=this.stencilZFail,n.stencilZPass=this.stencilZPass,void 0!==this.rotation&&0!==this.rotation&&(n.rotation=this.rotation),!0===this.polygonOffset&&(n.polygonOffset=!0),0!==this.polygonOffsetFactor&&(n.polygonOffsetFactor=this.polygonOffsetFactor),0!==this.polygonOffsetUnits&&(n.polygonOffsetUnits=this.polygonOffsetUnits),void 0!==this.linewidth&&1!==this.linewidth&&(n.linewidth=this.linewidth),void 0!==this.dashSize&&(n.dashSize=this.dashSize),void 0!==this.gapSize&&(n.gapSize=this.gapSize),void 0!==this.scale&&(n.scale=this.scale),!0===this.dithering&&(n.dithering=!0),this.alphaTest>0&&(n.alphaTest=this.alphaTest),!0===this.alphaToCoverage&&(n.alphaToCoverage=this.alphaToCoverage),!0===this.premultipliedAlpha&&(n.premultipliedAlpha=this.premultipliedAlpha),!0===this.forceSinglePass&&(n.forceSinglePass=this.forceSinglePass),!0===this.wireframe&&(n.wireframe=this.wireframe),this.wireframeLinewidth>1&&(n.wireframeLinewidth=this.wireframeLinewidth),"round"!==this.wireframeLinecap&&(n.wireframeLinecap=this.wireframeLinecap),"round"!==this.wireframeLinejoin&&(n.wireframeLinejoin=this.wireframeLinejoin),!0===this.flatShading&&(n.flatShading=this.flatShading),!1===this.visible&&(n.visible=!1),!1===this.toneMapped&&(n.toneMapped=!1),!1===this.fog&&(n.fog=!1),Object.keys(this.userData).length>0&&(n.userData=this.userData),e){const e=i(t.textures),r=i(t.images);e.length>0&&(n.textures=e),r.length>0&&(n.images=r)}return n}clone(){return new this.constructor().copy(this)}copy(t){this.name=t.name,this.blending=t.blending,this.side=t.side,this.vertexColors=t.vertexColors,this.opacity=t.opacity,this.transparent=t.transparent,this.blendSrc=t.blendSrc,this.blendDst=t.blendDst,this.blendEquation=t.blendEquation,this.blendSrcAlpha=t.blendSrcAlpha,this.blendDstAlpha=t.blendDstAlpha,this.blendEquationAlpha=t.blendEquationAlpha,this.depthFunc=t.depthFunc,this.depthTest=t.depthTest,this.depthWrite=t.depthWrite,this.stencilWriteMask=t.stencilWriteMask,this.stencilFunc=t.stencilFunc,this.stencilRef=t.stencilRef,this.stencilFuncMask=t.stencilFuncMask,this.stencilFail=t.stencilFail,this.stencilZFail=t.stencilZFail,this.stencilZPass=t.stencilZPass,this.stencilWrite=t.stencilWrite;const e=t.clippingPlanes;let n=null;if(null!==e){const t=e.length;n=new Array(t);for(let i=0;i!==t;++i)n[i]=e[i].clone()}return this.clippingPlanes=n,this.clipIntersection=t.clipIntersection,this.clipShadows=t.clipShadows,this.shadowSide=t.shadowSide,this.colorWrite=t.colorWrite,this.precision=t.precision,this.polygonOffset=t.polygonOffset,this.polygonOffsetFactor=t.polygonOffsetFactor,this.polygonOffsetUnits=t.polygonOffsetUnits,this.dithering=t.dithering,this.alphaTest=t.alphaTest,this.alphaToCoverage=t.alphaToCoverage,this.premultipliedAlpha=t.premultipliedAlpha,this.forceSinglePass=t.forceSinglePass,this.visible=t.visible,this.toneMapped=t.toneMapped,this.userData=JSON.parse(JSON.stringify(t.userData)),this}dispose(){this.dispatchEvent({type:"dispose"})}set needsUpdate(t){!0===t&&this.version++}}const Ii={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},Di={h:0,s:0,l:0},Ui={h:0,s:0,l:0};function Ni(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+6*(e-t)*(2/3-n):t}class Oi{constructor(t,e,n){return this.isColor=!0,this.r=1,this.g=1,this.b=1,void 0===e&&void 0===n?this.set(t):this.setRGB(t,e,n)}set(t){return t&&t.isColor?this.copy(t):"number"==typeof t?this.setHex(t):"string"==typeof t&&this.setStyle(t),this}setScalar(t){return this.r=t,this.g=t,this.b=t,this}setHex(t,e=Se){return t=Math.floor(t),this.r=(t>>16&255)/255,this.g=(t>>8&255)/255,this.b=(255&t)/255,rn.toWorkingColorSpace(this,e),this}setRGB(t,e,n,i=rn.workingColorSpace){return this.r=t,this.g=e,this.b=n,rn.toWorkingColorSpace(this,i),this}setHSL(t,e,n,i=rn.workingColorSpace){if(t=Oe(t,1),e=Ne(e,0,1),n=Ne(n,0,1),0===e)this.r=this.g=this.b=n;else{const i=n<=.5?n*(1+e):n+e-n*e,r=2*n-i;this.r=Ni(r,i,t+1/3),this.g=Ni(r,i,t),this.b=Ni(r,i,t-1/3)}return rn.toWorkingColorSpace(this,i),this}setStyle(t,e=Se){function n(e){void 0!==e&&parseFloat(e)<1&&console.warn("THREE.Color: Alpha component of "+t+" will be ignored.")}let i;if(i=/^(\w+)\(([^\)]*)\)/.exec(t)){let r;const s=i[1],a=i[2];switch(s){case"rgb":case"rgba":if(r=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return this.r=Math.min(255,parseInt(r[1],10))/255,this.g=Math.min(255,parseInt(r[2],10))/255,this.b=Math.min(255,parseInt(r[3],10))/255,rn.toWorkingColorSpace(this,e),n(r[4]),this;if(r=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return this.r=Math.min(100,parseInt(r[1],10))/100,this.g=Math.min(100,parseInt(r[2],10))/100,this.b=Math.min(100,parseInt(r[3],10))/100,rn.toWorkingColorSpace(this,e),n(r[4]),this;break;case"hsl":case"hsla":if(r=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a)){const t=parseFloat(r[1])/360,i=parseFloat(r[2])/100,s=parseFloat(r[3])/100;return n(r[4]),this.setHSL(t,i,s,e)}break;default:console.warn("THREE.Color: Unknown color model "+t);}}else if(i=/^\#([A-Fa-f\d]+)$/.exec(t)){const n=i[1],r=n.length;if(3===r)return this.setRGB(parseInt(n.charAt(0),16)/15,parseInt(n.charAt(1),16)/15,parseInt(n.charAt(2),16)/15,e);if(6===r)return this.setHex(parseInt(n,16),e);console.warn("THREE.Color: Invalid hex color "+t)}else if(t&&t.length>0)return this.setColorName(t,e);return this}setColorName(t,e=Se){const n=Ii[t.toLowerCase()];return void 0!==n?this.setHex(n,e):console.warn("THREE.Color: Unknown color "+t),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(t){return this.r=t.r,this.g=t.g,this.b=t.b,this}copySRGBToLinear(t){return this.r=Ke(t.r),this.g=Ke(t.g),this.b=Ke(t.b),this}copyLinearToSRGB(t){return this.r=$e(t.r),this.g=$e(t.g),this.b=$e(t.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(t=Se){return rn.fromWorkingColorSpace(zi.copy(this),t),Ne(255*zi.r,0,255)<<16^Ne(255*zi.g,0,255)<<8^Ne(255*zi.b,0,255)<<0}getHexString(t=Se){return("000000"+this.getHex(t).toString(16)).slice(-6)}getHSL(t,e=rn.workingColorSpace){rn.fromWorkingColorSpace(zi.copy(this),e);const n=zi.r,i=zi.g,r=zi.b,s=Math.max(n,i,r),a=Math.min(n,i,r);let o,l;const c=(a+s)/2;if(a===s)o=0,l=0;else{const t=s-a;switch(l=c<=.5?t/(s+a):t/(2-s-a),s){case n:o=(i-r)/t+(i<r?6:0);break;case i:o=(r-n)/t+2;break;case r:o=(n-i)/t+4;}o/=6}return t.h=o,t.s=l,t.l=c,t}getRGB(t,e=rn.workingColorSpace){return rn.fromWorkingColorSpace(zi.copy(this),e),t.r=zi.r,t.g=zi.g,t.b=zi.b,t}getStyle(t=Se){rn.fromWorkingColorSpace(zi.copy(this),t);const e=zi.r,n=zi.g,i=zi.b;return t!==Se?`color(${t} ${e.toFixed(3)} ${n.toFixed(3)} ${i.toFixed(3)})`:`rgb(${255*e|0},${255*n|0},${255*i|0})`}offsetHSL(t,e,n){return this.getHSL(Di),Di.h+=t,Di.s+=e,Di.l+=n,this.setHSL(Di.h,Di.s,Di.l),this}add(t){return this.r+=t.r,this.g+=t.g,this.b+=t.b,this}addColors(t,e){return this.r=t.r+e.r,this.g=t.g+e.g,this.b=t.b+e.b,this}addScalar(t){return this.r+=t,this.g+=t,this.b+=t,this}sub(t){return this.r=Math.max(0,this.r-t.r),this.g=Math.max(0,this.g-t.g),this.b=Math.max(0,this.b-t.b),this}multiply(t){return this.r*=t.r,this.g*=t.g,this.b*=t.b,this}multiplyScalar(t){return this.r*=t,this.g*=t,this.b*=t,this}lerp(t,e){return this.r+=(t.r-this.r)*e,this.g+=(t.g-this.g)*e,this.b+=(t.b-this.b)*e,this}lerpColors(t,e,n){return this.r=t.r+(e.r-t.r)*n,this.g=t.g+(e.g-t.g)*n,this.b=t.b+(e.b-t.b)*n,this}lerpHSL(t,e){this.getHSL(Di),t.getHSL(Ui);const n=ze(Di.h,Ui.h,e),i=ze(Di.s,Ui.s,e),r=ze(Di.l,Ui.l,e);return this.setHSL(n,i,r),this}setFromVector3(t){return this.r=t.x,this.g=t.y,this.b=t.z,this}applyMatrix3(t){const e=this.r,n=this.g,i=this.b,r=t.elements;return this.r=r[0]*e+r[3]*n+r[6]*i,this.g=r[1]*e+r[4]*n+r[7]*i,this.b=r[2]*e+r[5]*n+r[8]*i,this}equals(t){return t.r===this.r&&t.g===this.g&&t.b===this.b}fromArray(t,e=0){return this.r=t[e],this.g=t[e+1],this.b=t[e+2],this}toArray(t=[],e=0){return t[e]=this.r,t[e+1]=this.g,t[e+2]=this.b,t}fromBufferAttribute(t,e){return this.r=t.getX(e),this.g=t.getY(e),this.b=t.getZ(e),this}toJSON(){return this.getHex()}*[Symbol.iterator](){yield this.r,yield this.g,yield this.b}}const zi=new Oi;Oi.NAMES=Ii;class Bi extends Ri{constructor(t){super(),this.isMeshBasicMaterial=!0,this.type="MeshBasicMaterial",this.color=new Oi(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.combine=G,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.w
vendor: 4,836 bytes, line 3856
3856ireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.specularMap=t.specularMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.combine=t.combine,this.reflectivity=t.reflectivity,this.refractionRatio=t.refractionRatio,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.fog=t.fog,this}}const Fi=ki();function ki(){const t=new ArrayBuffer(4),e=new Float32Array(t),n=new Uint32Array(t),i=new Uint32Array(512),r=new Uint32Array(512);for(let t=0;t<256;++t){const e=t-127;e<-27?(i[t]=0,i[256|t]=32768,r[t]=24,r[256|t]=24):e<-14?(i[t]=1024>>-e-14,i[256|t]=1024>>-e-14|32768,r[t]=-e-1,r[256|t]=-e-1):e<=15?(i[t]=e+15<<10,i[256|t]=e+15<<10|32768,r[t]=13,r[256|t]=13):e<128?(i[t]=31744,i[256|t]=64512,r[t]=24,r[256|t]=24):(i[t]=31744,i[256|t]=64512,r[t]=13,r[256|t]=13)}const s=new Uint32Array(2048),a=new Uint32Array(64),o=new Uint32Array(64);for(let t=1;t<1024;++t){let e=t<<13,n=0;for(;0==(8388608&e);)e<<=1,n-=8388608;e&=-8388609,n+=947912704,s[t]=e|n}for(let t=1024;t<2048;++t)s[t]=939524096+(t-1024<<13);for(let t=1;t<31;++t)a[t]=t<<23;a[31]=1199570944,a[32]=2147483648;for(let t=33;t<63;++t)a[t]=2147483648+(t-32<<23);a[63]=3347054592;for(let t=1;t<64;++t)32!==t&&(o[t]=1024);return{floatView:e,uint32View:n,baseTable:i,shiftTable:r,mantissaTable:s,exponentTable:a,offsetTable:o}}function Gi(t){Math.abs(t)>65504&&console.warn("THREE.DataUtils.toHalfFloat(): Value out of range."),t=Ne(t,-65504,65504),Fi.floatView[0]=t;const e=Fi.uint32View[0],n=e>>23&511;return Fi.baseTable[n]+((8388607&e)>>Fi.shiftTable[n])}function Vi(t){const e=t>>10;return Fi.uint32View[0]=Fi.mantissaTable[Fi.offsetTable[e]+(1023&t)]+Fi.exponentTable[e],Fi.floatView[0]}const Hi={toHalfFloat:Gi,fromHalfFloat:Vi},Wi=new gn,ji=new We;class qi{constructor(t,e,n=!1){if(Array.isArray(t))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.isBufferAttribute=!0,this.name="",this.array=t,this.itemSize=e,this.count=void 0!==t?t.length/e:0,this.normalized=n,this.usage=Ee,this.updateRange={offset:0,count:-1},this.version=0}onUploadCallback(){}set needsUpdate(t){!0===t&&this.version++}setUsage(t){return this.usage=t,this}copy(t){return this.name=t.name,this.array=new t.array.constructor(t.array),this.itemSize=t.itemSize,this.count=t.count,this.normalized=t.normalized,this.usage=t.usage,this}copyAt(t,e,n){t*=this.itemSize,n*=e.itemSize;for(let i=0,r=this.itemSize;i<r;i++)this.array[t+i]=e.array[n+i];return this}copyArray(t){return this.array.set(t),this}applyMatrix3(t){if(2===this.itemSize)for(let e=0,n=this.count;e<n;e++)ji.fromBufferAttribute(this,e),ji.applyMatrix3(t),this.setXY(e,ji.x,ji.y);else if(3===this.itemSize)for(let e=0,n=this.count;e<n;e++)Wi.fromBufferAttribute(this,e),Wi.applyMatrix3(t),this.setXYZ(e,Wi.x,Wi.y,Wi.z);return this}applyMatrix4(t){for(let e=0,n=this.count;e<n;e++)Wi.fromBufferAttribute(this,e),Wi.applyMatrix4(t),this.setXYZ(e,Wi.x,Wi.y,Wi.z);return this}applyNormalMatrix(t){for(let e=0,n=this.count;e<n;e++)Wi.fromBufferAttribute(this,e),Wi.applyNormalMatrix(t),this.setXYZ(e,Wi.x,Wi.y,Wi.z);return this}transformDirection(t){for(let e=0,n=this.count;e<n;e++)Wi.fromBufferAttribute(this,e),Wi.transformDirection(t),this.setXYZ(e,Wi.x,Wi.y,Wi.z);return this}set(t,e=0){return this.array.set(t,e),this}getX(t){let e=this.array[t*this.itemSize];return this.normalized&&(e=Ge(e,this.array)),e}setX(t,e){return this.normalized&&(e=Ve(e,this.array)),this.array[t*this.itemSize]=e,this}getY(t){let e=this.array[t*this.itemSize+1];return this.normalized&&(e=Ge(e,this.array)),e}setY(t,e){return this.normalized&&(e=Ve(e,this.array)),this.array[t*this.itemSize+1]=e,this}getZ(t){let e=this.array[t*this.itemSize+2];return this.normalized&&(e=Ge(e,this.array)),e}setZ(t,e){return this.normalized&&(e=Ve(e,this.array)),this.array[t*this.itemSize+2]=e,this}getW(t){let e=this.array[t*this.itemSize+3];return this.normalized&&(e=Ge(e,this.array)),e}setW(t,e){return this.normalized&&(e=Ve(e,this.array)),this.array[t*this.itemSize+3]=e,this}setXY(t,e,n){return t*=this.itemSize,this.normalized&&(e=Ve(e,this.array),n=Ve(n,this.array)),this.array[t+0]=e,this.array[t+1]=n,this}setXYZ(t,e,n,i){return t*=this.itemSize,this.normalized&&(e=Ve(e,this.array),n=Ve(n,this.array),i=Ve(i,this.array)),this.array[t+0]=e,this.array[t+1]=n,this.array[t+2]=i,this}setXYZW(t,e,n,i,r){return t*=this.itemSize,this.normalized&&(e=Ve(e,this.array),n=Ve(n,this.array),i=Ve(i,this.array),r=Ve(r,this.array)),this.array[t+0]=e,this.array[t+1]=n,this.array[t+2]=i,this.array[t+3]=r,this}
vendor: 7,336 bytes, line 3856
3856onUpload(t){return this.onUploadCallback=t,this}clone(){return new this.constructor(this.array,this.itemSize).copy(this)}toJSON(){const t={itemSize:this.itemSize,type:this.array.constructor.name,array:Array.from(this.array),normalized:this.normalized};return""!==this.name&&(t.name=this.name),this.usage!==Ee&&(t.usage=this.usage),0===this.updateRange.offset&&-1===this.updateRange.count||(t.updateRange=this.updateRange),t}copyColorsArray(){console.error("THREE.BufferAttribute: copyColorsArray() was removed in r144.")}copyVector2sArray(){console.error("THREE.BufferAttribute: copyVector2sArray() was removed in r144.")}copyVector3sArray(){console.error("THREE.BufferAttribute: copyVector3sArray() was removed in r144.")}copyVector4sArray(){console.error("THREE.BufferAttribute: copyVector4sArray() was removed in r144.")}}class Xi extends qi{constructor(t,e,n){super(new Uint16Array(t),e,n)}}class Yi extends qi{constructor(t,e,n){super(new Uint32Array(t),e,n)}}class Zi extends qi{constructor(t,e,n){super(new Float32Array(t),e,n)}}let Ji=0;const Ki=new qn,$i=new vi,Qi=new gn,tr=new xn,er=new xn,nr=new gn;class ir extends Le{constructor(){super(),this.isBufferGeometry=!0,Object.defineProperty(this,"id",{value:Ji++}),this.uuid=Ue(),this.name="",this.type="BufferGeometry",this.index=null,this.attributes={},this.morphAttributes={},this.morphTargetsRelative=!1,this.groups=[],this.boundingBox=null,this.boundingSphere=null,this.drawRange={start:0,count:1/0},this.userData={}}getIndex(){return this.index}setIndex(t){return Array.isArray(t)?this.index=new(Xe(t)?Yi:Xi)(t,1):this.index=t,this}getAttribute(t){return this.attributes[t]}setAttribute(t,e){return this.attributes[t]=e,this}deleteAttribute(t){return delete this.attributes[t],this}hasAttribute(t){return void 0!==this.attributes[t]}addGroup(t,e,n=0){this.groups.push({start:t,count:e,materialIndex:n})}clearGroups(){this.groups=[]}setDrawRange(t,e){this.drawRange.start=t,this.drawRange.count=e}applyMatrix4(t){const e=this.attributes.position;void 0!==e&&(e.applyMatrix4(t),e.needsUpdate=!0);const n=this.attributes.normal;if(void 0!==n){const e=new je().getNormalMatrix(t);n.applyNormalMatrix(e),n.needsUpdate=!0}const i=this.attributes.tangent;return void 0!==i&&(i.transformDirection(t),i.needsUpdate=!0),null!==this.boundingBox&&this.computeBoundingBox(),null!==this.boundingSphere&&this.computeBoundingSphere(),this}applyQuaternion(t){return Ki.makeRotationFromQuaternion(t),this.applyMatrix4(Ki),this}rotateX(t){return Ki.makeRotationX(t),this.applyMatrix4(Ki),this}rotateY(t){return Ki.makeRotationY(t),this.applyMatrix4(Ki),this}rotateZ(t){return Ki.makeRotationZ(t),this.applyMatrix4(Ki),this}translate(t,e,n){return Ki.makeTranslation(t,e,n),this.applyMatrix4(Ki),this}scale(t,e,n){return Ki.makeScale(t,e,n),this.applyMatrix4(Ki),this}lookAt(t){return $i.lookAt(t),$i.updateMatrix(),this.applyMatrix4($i.matrix),this}center(){return this.computeBoundingBox(),this.boundingBox.getCenter(Qi).negate(),this.translate(Qi.x,Qi.y,Qi.z),this}setFromPoints(t){const e=[];for(let n=0,i=t.length;n<i;n++){const i=t[n];e.push(i.x,i.y,i.z||0)}return this.setAttribute("position",new Zi(e,3)),this}computeBoundingBox(){null===this.boundingBox&&(this.boundingBox=new xn);const t=this.attributes.position,e=this.morphAttributes.position;if(t&&t.isGLBufferAttribute)return console.error("THREE.BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box. Alternatively set \"mesh.frustumCulled\" to \"false\".",this),void this.boundingBox.set(new gn(-1/0,-1/0,-1/0),new gn(1/0,1/0,1/0));if(void 0!==t){if(this.boundingBox.setFromBufferAttribute(t),e)for(let t=0,n=e.length;t<n;t++){const n=e[t];tr.setFromBufferAttribute(n),this.morphTargetsRelative?(nr.addVectors(this.boundingBox.min,tr.min),this.boundingBox.expandByPoint(nr),nr.addVectors(this.boundingBox.max,tr.max),this.boundingBox.expandByPoint(nr)):(this.boundingBox.expandByPoint(tr.min),this.boundingBox.expandByPoint(tr.max))}}else this.boundingBox.makeEmpty();(isNaN(this.boundingBox.min.x)||isNaN(this.boundingBox.min.y)||isNaN(this.boundingBox.min.z))&&console.error("THREE.BufferGeometry.computeBoundingBox(): Computed min/max have NaN values. The \"position\" attribute is likely to have NaN values.",this)}computeBoundingSphere(){null===this.boundingSphere&&(this.boundingSphere=new zn);const t=this.attributes.position,e=this.morphAttributes.position;if(t&&t.isGLBufferAttribute)return console.error("THREE.BufferGeometry.computeBoundingSphere(): GLBufferAttribute requires a manual bounding sphere. Alternatively set \"mesh.frustumCulled\" to \"false\".",this),void this.boundingSphere.set(new gn,1/0);if(t){const n=this.boundingSphere.center;if(tr.setFromBufferAttribute(t),e)for(let t=0,n=e.length;t<n;t++){const n=e[t];er.setFromBufferAttribute(n),this.morphTargetsRelative?(nr.addVectors(tr.min,er.min),tr.expandByPoint(nr),nr.addVectors(tr.max,er.max),tr.expandByPoint(nr)):(tr.expandByPoint(er.min),tr.expandByPoint(er.max))}tr.getCenter(n);let i=0;for(let e=0,r=t.count;e<r;e++)nr.fromBufferAttribute(t,e),i=Math.max(i,n.distanceToSquared(nr));if(e)for(let r=0,s=e.length;r<s;r++){const s=e[r],a=this.morphTargetsRelative;for(let e=0,r=s.count;e<r;e++)nr.fromBufferAttribute(s,e),a&&(Qi.fromBufferAttribute(t,e),nr.add(Qi)),i=Math.max(i,n.distanceToSquared(nr))}this.boundingSphere.radius=Math.sqrt(i),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 t=this.index,e=this.attributes;if(null===t||void 0===e.position||void 0===e.normal||void 0===e.uv)return void console.error("THREE.BufferGeometry: .computeTangents() failed. Missing required attributes (index, position, normal or uv)");const n=t.array,i=e.position.array,r=e.normal.array,s=e.uv.array,a=i.length/3;!1===this.hasAttribute("tangent")&&this.setAttribute("tangent",new qi(new Float32Array(4*a),4));const o=this.getAttribute("tangent").array,l=[],c=[];for(let t=0;t<a;t++)l[t]=new gn,c[t]=new gn;const h=new gn,u=new gn,d=new gn,p=new We,m=new We,f=new We,g=new gn,v=new gn;function _(t,e,n){h.fromArray(i,3*t),u.fromArray(i,3*e),d.fromArray(i,3*n),p.fromArray(s,2*t),m.fromArray(s,2*e),f.fromArray(s,2*n),u.sub(h),d.sub(h),m.sub(p),f.sub(p);const r=1/(m.x*f.y-f.x*m.y);isFinite(r)&&(g.copy(u).multiplyScalar(f.y).addScaledVector(d,-m.y).multiplyScalar(r),v.copy(d).multiplyScalar(m.x).addScaledVector(u,-f.x).multiplyScalar(r),l[t].add(g),l[e].add(g),l[n].add(g),c[t].add(v),c[e].add(v),c[n].add(v))}let x=this.groups;0===x.length&&(x=[{start:0,count:n.length}]);for(let t=0,e=x.length;t<e;++t){const e=x[t],i=e.start;for(let t=i,r=i+e.count;t<r;t+=3)_(n[t+0],n[t+1],n[t+2])}const y=new gn,M=new gn,S=new gn,b=new gn;function w(t){S.fromArray(r,3*t),b.copy(S);const e=l[t];y.copy(e),y.sub(S.multiplyScalar(S.dot(e))).normalize(),M.crossVectors(b,e);const n=M.dot(c[t])<0?-1:1;o[4*t]=y.x,o[4*t+1]=y.y,o[4*t+2]=y.z,o[4*t+3]=n}for(let t=0,e=x.length;t<e;++t){const e=x[t],i=e.start;for(let t=i,r=i+e.count;t<r;t+=3)w(n[t+0]),w(n[t+1]),w(n[t+2])}}computeVertexNormals(){const t=this.index,e=this.getAttribute("position");if(void 0!==e){let n=this.getAttribute("normal");if(void 0===n)n=new qi(new Float32Array(3*e.count),3),this.setAttribute("normal",n
vendor: 10,697 bytes, line 3856
3856);else for(let t=0,e=n.count;t<e;t++)n.setXYZ(t,0,0,0);const i=new gn,r=new gn,s=new gn,a=new gn,o=new gn,l=new gn,c=new gn,h=new gn;if(t)for(let u=0,d=t.count;u<d;u+=3){const d=t.getX(u+0),p=t.getX(u+1),m=t.getX(u+2);i.fromBufferAttribute(e,d),r.fromBufferAttribute(e,p),s.fromBufferAttribute(e,m),c.subVectors(s,r),h.subVectors(i,r),c.cross(h),a.fromBufferAttribute(n,d),o.fromBufferAttribute(n,p),l.fromBufferAttribute(n,m),a.add(c),o.add(c),l.add(c),n.setXYZ(d,a.x,a.y,a.z),n.setXYZ(p,o.x,o.y,o.z),n.setXYZ(m,l.x,l.y,l.z)}else for(let t=0,a=e.count;t<a;t+=3)i.fromBufferAttribute(e,t+0),r.fromBufferAttribute(e,t+1),s.fromBufferAttribute(e,t+2),c.subVectors(s,r),h.subVectors(i,r),c.cross(h),n.setXYZ(t+0,c.x,c.y,c.z),n.setXYZ(t+1,c.x,c.y,c.z),n.setXYZ(t+2,c.x,c.y,c.z);this.normalizeNormals(),n.needsUpdate=!0}}merge(){return console.error("THREE.BufferGeometry.merge() has been removed. Use THREE.BufferGeometryUtils.mergeGeometries() instead."),this}normalizeNormals(){const t=this.attributes.normal;for(let e=0,n=t.count;e<n;e++)nr.fromBufferAttribute(t,e),nr.normalize(),t.setXYZ(e,nr.x,nr.y,nr.z)}toNonIndexed(){function t(t,e){const n=t.array,i=t.itemSize,r=t.normalized,s=new n.constructor(e.length*i);let a=0,o=0;for(let r=0,l=e.length;r<l;r++){a=t.isInterleavedBufferAttribute?e[r]*t.data.stride+t.offset:e[r]*i;for(let t=0;t<i;t++)s[o++]=n[a++]}return new qi(s,i,r)}if(null===this.index)return console.warn("THREE.BufferGeometry.toNonIndexed(): BufferGeometry is already non-indexed."),this;const e=new ir,n=this.index.array,i=this.attributes;for(const r in i){const s=t(i[r],n);e.setAttribute(r,s)}const r=this.morphAttributes;for(const i in r){const s=[],a=r[i];for(let e=0,i=a.length;e<i;e++){const i=t(a[e],n);s.push(i)}e.morphAttributes[i]=s}e.morphTargetsRelative=this.morphTargetsRelative;const s=this.groups;for(let t=0,n=s.length;t<n;t++){const n=s[t];e.addGroup(n.start,n.count,n.materialIndex)}return e}toJSON(){const t={metadata:{version:4.5,type:"BufferGeometry",generator:"BufferGeometry.toJSON"}};if(t.uuid=this.uuid,t.type=this.type,""!==this.name&&(t.name=this.name),Object.keys(this.userData).length>0&&(t.userData=this.userData),void 0!==this.parameters){const e=this.parameters;for(const n in e)void 0!==e[n]&&(t[n]=e[n]);return t}t.data={attributes:{}};const e=this.index;null!==e&&(t.data.index={type:e.array.constructor.name,array:Array.prototype.slice.call(e.array)});const n=this.attributes;for(const e in n){const i=n[e];t.data.attributes[e]=i.toJSON(t.data)}const i={};let r=!1;for(const e in this.morphAttributes){const n=this.morphAttributes[e],s=[];for(let e=0,i=n.length;e<i;e++){const i=n[e];s.push(i.toJSON(t.data))}s.length>0&&(i[e]=s,r=!0)}r&&(t.data.morphAttributes=i,t.data.morphTargetsRelative=this.morphTargetsRelative);const s=this.groups;s.length>0&&(t.data.groups=JSON.parse(JSON.stringify(s)));const a=this.boundingSphere;return null!==a&&(t.data.boundingSphere={center:a.center.toArray(),radius:a.radius}),t}clone(){return new this.constructor().copy(this)}copy(t){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;const e={};this.name=t.name;const n=t.index;null!==n&&this.setIndex(n.clone(e));const i=t.attributes;for(const t in i){const n=i[t];this.setAttribute(t,n.clone(e))}const r=t.morphAttributes;for(const t in r){const n=[],i=r[t];for(let t=0,r=i.length;t<r;t++)n.push(i[t].clone(e));this.morphAttributes[t]=n}this.morphTargetsRelative=t.morphTargetsRelative;const s=t.groups;for(let t=0,e=s.length;t<e;t++){const e=s[t];this.addGroup(e.start,e.count,e.materialIndex)}const a=t.boundingBox;null!==a&&(this.boundingBox=a.clone());const o=t.boundingSphere;return null!==o&&(this.boundingSphere=o.clone()),this.drawRange.start=t.drawRange.start,this.drawRange.count=t.drawRange.count,this.userData=t.userData,this}dispose(){this.dispatchEvent({type:"dispose"})}}const rr=new qn,sr=new jn,ar=new zn,or=new gn,lr=new gn,cr=new gn,hr=new gn,ur=new gn,dr=new gn,pr=new We,mr=new We,fr=new We,gr=new gn,vr=new gn,_r=new gn,xr=new gn,yr=new gn;class Mr extends vi{constructor(t=new ir,e=new Bi){super(),this.isMesh=!0,this.type="Mesh",this.geometry=t,this.material=e,this.updateMorphTargets()}copy(t,e){return super.copy(t,e),void 0!==t.morphTargetInfluences&&(this.morphTargetInfluences=t.morphTargetInfluences.slice()),void 0!==t.morphTargetDictionary&&(this.morphTargetDictionary=Object.assign({},t.morphTargetDictionary)),this.material=t.material,this.geometry=t.geometry,this}updateMorphTargets(){const t=this.geometry.morphAttributes,e=Object.keys(t);if(e.length>0){const n=t[e[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let t=0,e=n.length;t<e;t++){const e=n[t].name||String(t);this.morphTargetInfluences.push(0),this.morphTargetDictionary[e]=t}}}}getVertexPosition(t,e){const n=this.geometry,i=n.attributes.position,r=n.morphAttributes.position,s=n.morphTargetsRelative;e.fromBufferAttribute(i,t);const a=this.morphTargetInfluences;if(r&&a){dr.set(0,0,0);for(let n=0,i=r.length;n<i;n++){const i=a[n],o=r[n];0!==i&&(ur.fromBufferAttribute(o,t),s?dr.addScaledVector(ur,i):dr.addScaledVector(ur.sub(e),i))}e.add(dr)}return this.isSkinnedMesh&&this.applyBoneTransform(t,e),e}raycast(t,e){const n=this.geometry,i=this.material,r=this.matrixWorld;if(void 0===i)return;if(null===n.boundingSphere&&n.computeBoundingSphere(),ar.copy(n.boundingSphere),ar.applyMatrix4(r),sr.copy(t.ray).recast(t.near),!1===ar.containsPoint(sr.origin)){if(null===sr.intersectSphere(ar,or))return;if(sr.origin.distanceToSquared(or)>(t.far-t.near)**2)return}if(rr.copy(r).invert(),sr.copy(t.ray).applyMatrix4(rr),null!==n.boundingBox&&!1===sr.intersectsBox(n.boundingBox))return;let s;const a=n.index,o=n.attributes.position,l=n.attributes.uv,c=n.attributes.uv2,h=n.attributes.normal,u=n.groups,d=n.drawRange;if(null!==a){if(Array.isArray(i))for(let n=0,r=u.length;n<r;n++){const r=u[n],o=i[r.materialIndex];for(let n=Math.max(r.start,d.start),i=Math.min(a.count,Math.min(r.start+r.count,d.start+d.count));n<i;n+=3){const i=a.getX(n),u=a.getX(n+1),d=a.getX(n+2);s=Sr(this,o,t,sr,l,c,h,i,u,d),s&&(s.faceIndex=Math.floor(n/3),s.face.materialIndex=r.materialIndex,e.push(s))}}else{for(let n=Math.max(0,d.start),r=Math.min(a.count,d.start+d.count);n<r;n+=3){const r=a.getX(n),o=a.getX(n+1),u=a.getX(n+2);s=Sr(this,i,t,sr,l,c,h,r,o,u),s&&(s.faceIndex=Math.floor(n/3),e.push(s))}}}else if(void 0!==o)if(Array.isArray(i))for(let n=0,r=u.length;n<r;n++){const r=u[n],a=i[r.materialIndex];for(let n=Math.max(r.start,d.start),i=Math.min(o.count,Math.min(r.start+r.count,d.start+d.count));n<i;n+=3){s=Sr(this,a,t,sr,l,c,h,n,n+1,n+2),s&&(s.faceIndex=Math.floor(n/3),s.face.materialIndex=r.materialIndex,e.push(s))}}else{for(let n=Math.max(0,d.start),r=Math.min(o.count,d.start+d.count);n<r;n+=3){s=Sr(this,i,t,sr,l,c,h,n,n+1,n+2),s&&(s.faceIndex=Math.floor(n/3),e.push(s))}}}}function Sr(t,e,n,i,r,s,a,o,h,u){t.getVertexPosition(o,lr),t.getVertexPosition(h,cr),t.getVertexPosition(u,hr);const d=function(t,e,n,i,r,s,a,o){let h;if(h=e.side===c?i.intersectTriangle(a,s,r,!0,o):i.intersectTriangle(r,s,a,e.side===l,o),null===h)return null;yr.copy(o),yr.applyMatrix4(t.matrixWorld);const u=n.ray.origin.distanceTo(yr);return u<n.near||u>n.far?null:{distance:u,point:yr.clone(),object:t}}(t,e,n,i,lr,cr,hr,xr);if(d){r&&(pr.fromBufferAttribute(r,o),mr.fromBufferAttribute(r,h),fr.fromBufferAttribute(r,u),d.uv=Li.getInterpolation(xr,lr,cr,hr,pr,mr,fr,new We)),s&&(pr.fromBufferAttribute(s,o),mr.fromBufferAttribute(s,h),fr.fromBufferAttribute(s,u),d.uv2=Li.getInterpolation(xr,lr,cr,hr,pr,mr,fr,new We)),a&&(gr.fromBufferAttribute(a,o),vr.fromBufferAttribute(a,h),_r.fromBufferAttribute(a,u),d.normal=Li.getInterpolation(xr,lr,cr,hr,gr,vr,_r,new gn),d.normal.dot(i.direction)>0&&d.normal.multiplyScalar(-1));const t={a:o,b:h,c:u,normal:new gn,materialIndex:0};Li.getNormal(lr,cr,hr,t.normal),d.face=t}return d}class br extends ir{constructor(t=1,e=1,n=1,i=1,r=1,s=1){super(),this.type="BoxGeometry",this.parameters={width:t,height:e,depth:n,widthSegments:i,heightSegments:r,depthSegments:s};const a=this;i=Math.floor(i),r=Math.floor(r),s=Math.floor(s);const o=[],l=[],c=[],h=[];let u=0,d=0;function p(t,e,n,i,r,s,p,m,f,g,v){const _=s/f,x=p/g,y=s/2,M=p/2,S=m/2,b=f+1,w=g+1;let T=0,E=0;const A=new gn;for(let s=0;s<w;s++){const a=s*x-M;for(let o=0;o<b;o++){const u=o*_-y;A[t]=u*i,A[e]=a*r,A[n]=S,l.push(A.x,A.y,A.z),A[t]=0,A[e]=0,A[n]=m>0?1:-1,c.push(A.x,A.y,A.z),h.push(o/f),h.push(1-s/g),T+=1}}for(let t=0;t<g;t++)for(let e=0;e<f;e++){const n=u+e+b*t,i=u+e+b*(t+1),r=u+(e+1)+b*(t+1),s=u+(e+1)+b*t;o.push(n,i,s),o.push(i,r,s),E+=6}a.addGroup(d,E,v),d+=E,u+=T}p("z","y","x",-1,-1,n,e,t,s,r,0),p("z","y","x",1,-1,n,e,-t,s,r,1),p("x","z","y",1,1,t,n,e,i,s,2),p("x","z","y",1,-1,t,n,-e,i,s,3),p("x","y","z",1,-1,t,e,n,i,r,4),p("x","y","z",-1,-1,t,e,-n,i,r,5),this.setIndex(o),this.setAttribute("position",new Zi(l,3)),this.setAttribute("normal",new Zi(c,3)),this.setAttribute("uv",new Zi(h,2))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new br(t.width,t.height,t.depth,t.widthSegments,t.heightSegments,t.depthSegments)}}function wr(t){const e={};for(const n in t){e[n]={};for(const i in t[n]){const r=t[n][i];r&&(r.isColor||r.isMatrix3||r.isMatrix4||r.isVector2||r.isVector3||r.isVector4||r.isTexture||r.isQuaternion)?r.isRenderTargetTexture?(console.warn("UniformsUtils: Textures of render targets cannot be cloned via cloneUniforms() or mergeUniforms()."),e[n][i]=null):e[n][i]=r.clone():Array.isArray(r)?e[n][i]=r.slice():e[n][i]=r}}return e}function Tr(t){const e={};for(let n=0;n<t.length;n++){const i=wr(t[n]);for(const t in i)e[t]=i[t]}return e}function Er(t){return null===t.getRenderTarget()&&t.outputEncoding===_e?Se:be}const Ar={clone:wr,merge:Tr};class Cr extends Ri{constructor(t){super(),this.isShaderMaterial=!0,this.type="ShaderMaterial",this.defines={},this.uniforms={},this.uniformsGroups=[],this.vertexShader="void main() {\n\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}",this.fragmentShader="void main() {\n\tgl_FragColor = vec4( 1.0, 0.0, 0.0, 1.0 );\n}",this.linewidth=1,this.wireframe=!1,this.wireframeLinewidth=1,this.fog=!1,this.lights=!1,this.clipping=!1,this.forceSinglePass=!0,this.extensions={derivatives:!1,fragDepth:!1,drawBuffers:!1,shaderTextureLOD:!1},this.defaultAttributeValues={color:[1,1,1],uv:[0,0],uv2:[0,0]},this.index0AttributeName=void 0,this.uniformsNeedUpdate=!1,this.glslVersion=null,void 0!==t&&this.setValues(t)}copy(t){return super.copy(t),this.fragmentShader=t.fragmentShader,this.vertexShader=t.vertexShader,this.uniforms=wr
vendor: 13,271 bytes, line 3856
3856(t.uniforms),this.uniformsGroups=function(t){const e=[];for(let n=0;n<t.length;n++)e.push(t[n].clone());return e}(t.uniformsGroups),this.defines=Object.assign({},t.defines),this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.fog=t.fog,this.lights=t.lights,this.clipping=t.clipping,this.extensions=Object.assign({},t.extensions),this.glslVersion=t.glslVersion,this}toJSON(t){const e=super.toJSON(t);e.glslVersion=this.glslVersion,e.uniforms={};for(const n in this.uniforms){const i=this.uniforms[n].value;i&&i.isTexture?e.uniforms[n]={type:"t",value:i.toJSON(t).uuid}:i&&i.isColor?e.uniforms[n]={type:"c",value:i.getHex()}:i&&i.isVector2?e.uniforms[n]={type:"v2",value:i.toArray()}:i&&i.isVector3?e.uniforms[n]={type:"v3",value:i.toArray()}:i&&i.isVector4?e.uniforms[n]={type:"v4",value:i.toArray()}:i&&i.isMatrix3?e.uniforms[n]={type:"m3",value:i.toArray()}:i&&i.isMatrix4?e.uniforms[n]={type:"m4",value:i.toArray()}:e.uniforms[n]={value:i}}Object.keys(this.defines).length>0&&(e.defines=this.defines),e.vertexShader=this.vertexShader,e.fragmentShader=this.fragmentShader;const n={};for(const t in this.extensions)!0===this.extensions[t]&&(n[t]=!0);return Object.keys(n).length>0&&(e.extensions=n),e}}class Lr extends vi{constructor(){super(),this.isCamera=!0,this.type="Camera",this.matrixWorldInverse=new qn,this.projectionMatrix=new qn,this.projectionMatrixInverse=new qn}copy(t,e){return super.copy(t,e),this.matrixWorldInverse.copy(t.matrixWorldInverse),this.projectionMatrix.copy(t.projectionMatrix),this.projectionMatrixInverse.copy(t.projectionMatrixInverse),this}getWorldDirection(t){this.updateWorldMatrix(!0,!1);const e=this.matrixWorld.elements;return t.set(-e[8],-e[9],-e[10]).normalize()}updateMatrixWorld(t){super.updateMatrixWorld(t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(t,e){super.updateWorldMatrix(t,e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}clone(){return new this.constructor().copy(this)}}class Pr extends Lr{constructor(t=50,e=1,n=.1,i=2e3){super(),this.isPerspectiveCamera=!0,this.type="PerspectiveCamera",this.fov=t,this.zoom=1,this.near=n,this.far=i,this.focus=10,this.aspect=e,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(t,e){return super.copy(t,e),this.fov=t.fov,this.zoom=t.zoom,this.near=t.near,this.far=t.far,this.focus=t.focus,this.aspect=t.aspect,this.view=null===t.view?null:Object.assign({},t.view),this.filmGauge=t.filmGauge,this.filmOffset=t.filmOffset,this}setFocalLength(t){const e=.5*this.getFilmHeight()/t;this.fov=2*De*Math.atan(e),this.updateProjectionMatrix()}getFocalLength(){const t=Math.tan(.5*Ie*this.fov);return .5*this.getFilmHeight()/t}getEffectiveFOV(){return 2*De*Math.atan(Math.tan(.5*Ie*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}setViewOffset(t,e,n,i,r,s){this.aspect=t/e,null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=t,this.view.fullHeight=e,this.view.offsetX=n,this.view.offsetY=i,this.view.width=r,this.view.height=s,this.updateProjectionMatrix()}clearViewOffset(){null!==this.view&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const t=this.near;let e=t*Math.tan(.5*Ie*this.fov)/this.zoom,n=2*e,i=this.aspect*n,r=-.5*i;const s=this.view;if(null!==this.view&&this.view.enabled){const t=s.fullWidth,a=s.fullHeight;r+=s.offsetX*i/t,e-=s.offsetY*n/a,i*=s.width/t,n*=s.height/a}const a=this.filmOffset;0!==a&&(r+=t*a/this.getFilmWidth()),this.projectionMatrix.makePerspective(r,r+i,e,e-n,t,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(t){const e=super.toJSON(t);return e.object.fov=this.fov,e.object.zoom=this.zoom,e.object.near=this.near,e.object.far=this.far,e.object.focus=this.focus,e.object.aspect=this.aspect,null!==this.view&&(e.object.view=Object.assign({},this.view)),e.object.filmGauge=this.filmGauge,e.object.filmOffset=this.filmOffset,e}}const Rr=-90;class Ir extends vi{constructor(t,e,n){super(),this.type="CubeCamera",this.renderTarget=n;const i=new Pr(Rr,1,t,e);i.layers=this.layers,i.up.set(0,1,0),i.lookAt(1,0,0),this.add(i);const r=new Pr(Rr,1,t,e);r.layers=this.layers,r.up.set(0,1,0),r.lookAt(-1,0,0),this.add(r);const s=new Pr(Rr,1,t,e);s.layers=this.layers,s.up.set(0,0,-1),s.lookAt(0,1,0),this.add(s);const a=new Pr(Rr,1,t,e);a.layers=this.layers,a.up.set(0,0,1),a.lookAt(0,-1,0),this.add(a);const o=new Pr(Rr,1,t,e);o.layers=this.layers,o.up.set(0,1,0),o.lookAt(0,0,1),this.add(o);const l=new Pr(Rr,1,t,e);l.layers=this.layers,l.up.set(0,1,0),l.lookAt(0,0,-1),this.add(l)}update(t,e){null===this.parent&&this.updateMatrixWorld();const n=this.renderTarget,[i,r,s,a,o,l]=this.children,c=t.getRenderTarget(),h=t.toneMapping,u=t.xr.enabled;t.toneMapping=W,t.xr.enabled=!1;const d=n.texture.generateMipmaps;n.texture.generateMipmaps=!1,t.setRenderTarget(n,0),t.render(e,i),t.setRenderTarget(n,1),t.render(e,r),t.setRenderTarget(n,2),t.render(e,s),t.setRenderTarget(n,3),t.render(e,a),t.setRenderTarget(n,4),t.render(e,o),n.texture.generateMipmaps=d,t.setRenderTarget(n,5),t.render(e,l),t.setRenderTarget(c),t.toneMapping=h,t.xr.enabled=u,n.texture.needsPMREMUpdate=!0}}class Dr extends hn{constructor(t,e,n,i,r,s,a,o,l,c){super(t=void 0!==t?t:[],e=void 0!==e?e:K,n,i,r,s,a,o,l,c),this.isCubeTexture=!0,this.flipY=!1}get images(){return this.image}set images(t){this.image=t}}class Ur extends dn{constructor(t=1,e={}){super(t,t,e),this.isWebGLCubeRenderTarget=!0;const n={width:t,height:t,depth:1},i=[n,n,n,n,n,n];this.texture=new Dr(i,e.mapping,e.wrapS,e.wrapT,e.magFilter,e.minFilter,e.format,e.type,e.anisotropy,e.encoding),this.texture.isRenderTargetTexture=!0,this.texture.generateMipmaps=void 0!==e.generateMipmaps&&e.generateMipmaps,this.texture.minFilter=void 0!==e.minFilter?e.minFilter:lt}fromEquirectangularTexture(t,e){this.texture.type=e.type,this.texture.encoding=e.encoding,this.texture.generateMipmaps=e.generateMipmaps,this.texture.minFilter=e.minFilter,this.texture.magFilter=e.magFilter;const n={uniforms:{tEquirect:{value:null}},vertexShader:"\n\n\t\t\t\tvarying vec3 vWorldDirection;\n\n\t\t\t\tvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n\n\t\t\t\t\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n\n\t\t\t\t}\n\n\t\t\t\tvoid main() {\n\n\t\t\t\t\tvWorldDirection = transformDirection( position, modelMatrix );\n\n\t\t\t\t\t#include <begin_vertex>\n\t\t\t\t\t#include <project_vertex>\n\n\t\t\t\t}\n\t\t\t",fragmentShader:"\n\n\t\t\t\tuniform sampler2D tEquirect;\n\n\t\t\t\tvarying vec3 vWorldDirection;\n\n\t\t\t\t#include <common>\n\n\t\t\t\tvoid main() {\n\n\t\t\t\t\tvec3 direction = normalize( vWorldDirection );\n\n\t\t\t\t\tvec2 sampleUV = equirectUv( direction );\n\n\t\t\t\t\tgl_FragColor = texture2D( tEquirect, sampleUV );\n\n\t\t\t\t}\n\t\t\t"},i=new br(5,5,5),r=new Cr({name:"CubemapFromEquirect",uniforms:wr(n.uniforms),vertexShader:n.vertexShader,fragmentShader:n.fragmentShader,side:c,blending:u});r.uniforms.tEquirect.value=e;const s=new Mr(i,r),a=e.minFilter;e.minFilter===ht&&(e.minFilter=lt);return new Ir(1,10,this).update(t,s),e.minFilter=a,s.geometry.dispose(),s.material.dispose(),this}clear(t,e,n,i){const r=t.getRenderTarget();for(let r=0;r<6;r++)t.setRenderTarget(this,r),t.clear(e,n,i);t.setRenderTarget(r)}}const Nr=new gn,Or=new gn,zr=new je;class Br{constructor(t=new gn(1,0,0),e=0){this.isPlane=!0,this.normal=t,this.constant=e}set(t,e){return this.normal.copy(t),this.constant=e,this}setComponents(t,e,n,i){return this.normal.set(t,e,n),this.constant=i,this}setFromNormalAndCoplanarPoint(t,e){return this.normal.copy(t),this.constant=-e.dot(this.normal),this}setFromCoplanarPoints(t,e,n){const i=Nr.subVectors(n,e).cross(Or.subVectors(t,e)).normalize();return this.setFromNormalAndCoplanarPoint(i,t),this}copy(t){return this.normal.copy(t.normal),this.constant=t.constant,this}normalize(){const t=1/this.normal.length();return this.normal.multiplyScalar(t),this.constant*=t,this}negate(){return this.constant*=-1,this.normal.negate(),this}distanceToPoint(t){return this.normal.dot(t)+this.constant}distanceToSphere(t){return this.distanceToPoint(t.center)-t.radius}projectPoint(t,e){return e.copy(t).addScaledVector(this.normal,-this.distanceToPoint(t))}intersectLine(t,e){const n=t.delta(Nr),i=this.normal.dot(n);if(0===i)return 0===this.distanceToPoint(t.start)?e.copy(t.start):null;const r=-(t.start.dot(this.normal)+this.constant)/i;return r<0||r>1?null:e.copy(t.start).addScaledVector(n,r)}intersectsLine(t){const e=this.distanceToPoint(t.start),n=this.distanceToPoint(t.end);return e<0&&n>0||n<0&&e>0}intersectsBox(t){return t.intersectsPlane(this)}intersectsSphere(t){return t.intersectsPlane(this)}coplanarPoint(t){return t.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(t,e){const n=e||zr.getNormalMatrix(t),i=this.coplanarPoint(Nr).applyMatrix4(t),r=this.normal.applyMatrix3(n).normalize();return this.constant=-i.dot(r),this}translate(t){return this.constant-=t.dot(this.normal),this}equals(t){return t.normal.equals(this.normal)&&t.constant===this.constant}clone(){return new this.constructor().copy(this)}}const Fr=new zn,kr=new gn;class Gr{constructor(t=new Br,e=new Br,n=new Br,i=new Br,r=new Br,s=new Br){this.planes=[t,e,n,i,r,s]}set(t,e,n,i,r,s){const a=this.planes;return a[0].copy(t),a[1].copy(e),a[2].copy(n),a[3].copy(i),a[4].copy(r),a[5].copy(s),this}copy(t){const e=this.planes;for(let n=0;n<6;n++)e[n].copy(t.planes[n]);return this}setFromProjectionMatrix(t){const e=this.planes,n=t.elements,i=n[0],r=n[1],s=n[2],a=n[3],o=n[4],l=n[5],c=n[6],h=n[7],u=n[8],d=n[9],p=n[10],m=n[11],f=n[12],g=n[13],v=n[14],_=n[15];return e[0].setComponents(a-i,h-o,m-u,_-f).normalize(),e[1].setComponents(a+i,h+o,m+u,_+f).normalize(),e[2].setComponents(a+r,h+l,m+d,_+g).normalize(),e[3].setComponents(a-r,h-l,m-d,_-g).normalize(),e[4].setComponents(a-s,h-c,m-p,_-v).normalize(),e[5].setComponents(a+s,h+c,m+p,_+v).normalize(),this}intersectsObject(t){if(void 0!==t.boundingSphere)null===t.boundingSphere&&t.computeBoundingSphere(),Fr.copy(t.boundingSphere).applyMatrix4(t.matrixWorld);else{const e=t.geometry;null===e.boundingSphere&&e.computeBoundingSphere(),Fr.copy(e.boundingSphere).applyMatrix4(t.matrixWorld)}return this.intersectsSphere(Fr)}intersectsSprite(t){return Fr.center.set(0,0,0),Fr.radius=.7071067811865476,Fr.applyMatrix4(t.matrixWorld),this.intersectsSphere(Fr)}intersectsSphere(t){const e=this.planes,n=t.center,i=-t.radius;for(let t=0;t<6;t++){if(e[t].distanceToPoint(n)<i)return!1}return!0}intersectsBox(t){const e=this.planes;for(let n=0;n<6;n++){const i=e[n];if(kr.x=i.normal.x>0?t.max.x:t.min.x,kr.y=i.normal.y>0?t.max.y:t.min.y,kr.z=i.normal.z>0?t.max.z:t.min.z,i.distanceToPoint(kr)<0)return!1}return!0}containsPoint(t){const e=this.planes;for(let n=0;n<6;n++)if(e[n].distanceToPoint(t)<0)return!1;return!0}clone(){return new this.constructor().copy(this)}}function Vr(){let t=null,e=!1,n=null,i=null;function r(e,s){n(e,s),i=t.requestAnimationFrame(r)}return{start:function(){!0!==e&&null!==n&&(i=t.requestAnimationFrame(r),e=!0)},stop:function(){t.cancelAnimationFrame(i),e=!1},setAnimationLoop:function(t){n=t},setContext:function(e){t=e}}}function Hr(t,e){const n=e.isWebGL2,i=new WeakMap;return{get:function(t){return t.isInterleavedBufferAttribute&&(t=t.data),i.get(t)},remove:function(e){e.isInterleavedBufferAttribute&&(e=e.data);const n=i.get(e);n&&(t.deleteBuffer(n.buffer),i.delete(e))},update:function(e,r){if(e.isGLBufferAttribute){const t=i.get(e);return void((!t||t.version<e.version)&&i.set(e,{buffer:e.buffer,type:e.type,bytesPerElement:e.elementSize,version:e.version}))}e.isInterleavedBufferAttribute&&(e=e.data);const s=i.get(e);void 0===s?i.set(e,function(e,i){const r=e.array,s=e.usage,a=t.createBuffer();let o;if(t.bindBuffer(i,a),t.bufferData(i,r,s),e.onUploadCallback(),r instanceof Float32Array)o=5126;else if(r instanceof Uint16Array){if(e.isFloat16BufferAttribute){if(!n)throw new Error("THREE.WebGLAttributes: Usage of Float16BufferAttribute requires WebGL2.");o=5131}else o=5123;}else if(r instanceof Int16Array)o=5122;else if(r instanceof Uint32Array)o=5125;else if(r instanceof Int32Array)o=5124;else if(r instanceof Int8Array)o=5120;else if(r instanceof Uint8Array)o=5121;else{if(!(r instanceof Uint8ClampedArray))throw new Error("THREE.WebGLAttributes: Unsupported buffer data format: "+r);o=5121}return{buffer:a,type:o,bytesPerElement:r.BYTES_PER_ELEMENT,version:e.version}}(e,r)):s.version<e.version&&(!function(e,i,r){const s=i.array,a=i.updateRange;t.bindBuffer(r,e),-1===a.count?t.bufferSubData(r,0,s):(n?t.bufferSubData(r,a.offset*s.BYTES_PER_ELEMENT,s,a.offset,a.count):t.bufferSubData(r,a.offset*s.BYTES_PER_ELEMENT,s.subarray(a.offset,a.offset+a.count)),a.count=-1),i.onUploadCallback()}(s.buffer,e,r),s.version=e.version)}}}class Wr extends ir{constructor(t=1,e=1,n=1,i=1){super(),this.type="PlaneGeometry",this.parameters={width:t,height:e,widthSegments:n,heightSegments:i};const r=t/2,s=e/2,a=Math.floor(n),o=Math.floor(i),l=a+1,c=o+1,h=t/a,u=e/o,d=[],p=[],m=[],f=[];for(let t=0;t<c;t++){const e=t*u-s;for(let n=0;n<l;n++){const i=n*h-r;
vendor: 4,109 bytes, line 3856
3856p.push(i,-e,0),m.push(0,0,1),f.push(n/a),f.push(1-t/o)}}for(let t=0;t<o;t++)for(let e=0;e<a;e++){const n=e+l*t,i=e+l*(t+1),r=e+1+l*(t+1),s=e+1+l*t;d.push(n,i,s),d.push(i,r,s)}this.setIndex(d),this.setAttribute("position",new Zi(p,3)),this.setAttribute("normal",new Zi(m,3)),this.setAttribute("uv",new Zi(f,2))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new Wr(t.width,t.height,t.widthSegments,t.heightSegments)}}const jr={alphamap_fragment:"#ifdef USE_ALPHAMAP\n\tdiffuseColor.a *= texture2D( alphaMap, vAlphaMapUv ).g;\n#endif",alphamap_pars_fragment:"#ifdef USE_ALPHAMAP\n\tuniform sampler2D alphaMap;\n#endif",alphatest_fragment:"#ifdef USE_ALPHATEST\n\tif ( diffuseColor.a < alphaTest ) discard;\n#endif",alphatest_pars_fragment:"#ifdef USE_ALPHATEST\n\tuniform float alphaTest;\n#endif",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_ENVMAP ) && defined( STANDARD )\n\t\tfloat dotNV = saturate( dot( geometry.normal, geometry.viewDir ) );\n\t\treflectedLight.indirectSpecular *= computeSpecularOcclusion( dotNV, ambientOcclusion, material.roughness );\n\t#endif\n#endif",aomap_pars_fragment:"#ifdef USE_AOMAP\n\tuniform sampler2D aoMap;\n\tuniform float aoMapIntensity;\n#endif",begin_vertex:"vec3 transformed = vec3( position );",beginnormal_vertex:"vec3 objectNormal = vec3( normal );\n#ifdef USE_TANGENT\n\tvec3 objectTangent = vec3( tangent.xyz );\n#endif",bsdfs:"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",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 < 0.0 ) {\n\t\t\t return vec3( 1.0 );\n\t\t}\n\t\tfloat cosTheta2 = sqrt( cosTheta2Sq );\n\t\tfloat R0 = IorToFresnel0( iridescenceIOR, outsideIOR );
3856\n\t\tfloat R12 = F_Schlick( R0, 1.0, cosTheta1 );\n\t\tfloat R21 = R12;\n\t\tfloat T121 = 1.0 - R12;\n\t\tfloat phi12 = 0.0;\n\t\tif ( iridescenceIOR < 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 ] < iridescenceIOR ) phi23[ 0 ] = PI;\n\t\tif ( baseIOR[ 1 ] < iridescenceIOR ) phi23[ 1 ] = PI;\n\t\tif ( baseIOR[ 2 ] < 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 <= 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",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 = dFdx( surf_pos.xyz );\n\t\tvec3 vSigmaY = 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",clipping_planes_fragment:"#if NUM_CLIPPING_PLANES > 0\n\tvec4 plane;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) {\n\t\tplane = clippingPlanes[ i ];\n\t\tif ( dot( vClipPosition, plane.xyz ) > plane.w ) discard;\n\t}\n\t#pragma unroll_loop_end\n\t#if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES\n\t\tbool clipped = true;\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) {\n\t\t\tplane = clippingPlanes[ i ];\n\t\t\tclipped = ( dot( vClipPosition, plane.xyz ) > plane.w ) && clipped;\n\t\t}\n\t\t#pragma unroll_loop_end\n\t\tif ( clipped ) discard;\n\t#endif\n#endif",clipping_planes_pars_fragment:"#if NUM_CLIPPING_PLANES > 0\n\tvarying vec3 vClipPosition;\n\tuniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ];\n#endif",clipping_planes_pars_vertex:"#if NUM_CLIPPING_PLANES > 0\n\tvarying vec3 vClipPosition;\n#endif",clipping_planes_vertex:"#if NUM_CLIPPING_PLANES > 0\n\tvClipPosition = - mvPosition.xyz;\n#endif",color_fragment:"#if defined( USE_COLOR_ALPHA )\n\tdiffuseColor *= vColor;\n#elif defined( USE_COLOR )\n\tdiffuseColor.rgb *= vColor;\n#endif",color_pars_fragment:"#if defined( USE_COLOR_ALPHA )\n\tvarying vec4 vColor;\n#elif defined( USE_COLOR )\n\tvarying vec3 vColor;\n#endif",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",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",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};\nstruct GeometricContext {\n\tvec3 position;\n\tvec3 normal;\n\tvec3 viewDir;\n#ifdef USE_CLEARCOAT\n\tvec3 clearcoatNormal;\n#endif\n};\nvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n}\nvec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) {\n\treturn normalize( ( vec4( dir, 0.0 ) * matrix ).xyz );\n}\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",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 > absDirection.z ) {\n\t\t\tif ( absDirection.x > absDirection.y )\n\t\t\t\tface = direction.x > 0.0 ? 0.0 : 3.0;\n\t\t\telse\n\t\t\t\tface = direction.y > 0.0 ? 1.0 : 4.0;\n\t\t} else {\n\t\t\tif ( absDirection.z > absDirection.y )\n\t\t\t\tface = direction.z > 0.0 ? 2.0 : 5.0;\n\t\t\telse\n\t\t\t\tface = direction.y > 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 > 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_v0 0.339\n\t#define cubeUV_m0 - 2.0\n\t#define cubeUV_r1 0.8\n\t#define cubeUV_v1 0.276\n\t#define cubeUV_m1 - 1.0\n\t#define cubeUV_r4 0.4\n\t#define cubeUV_v4 0.046\n\t#define cubeUV_m4 2.0\n\t#define cubeUV_r5 0.305\n\t#define cubeUV_v5 0.016\n\t#define cubeUV_m5 3.0\n\t#define cubeUV_r6 0.21\n\t#define cubeUV_v6 0.0038\n\t#define cubeUV_m6 4.0\n\tfloat roughnessToMip( float roughness ) {\n\t\tfloat mip = 0.0;\n\t\tif ( roughness >= 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 >= 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 >= 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 >= 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",defaultnormal_vertex:"vec3 transformedNormal = objectNormal;\n#ifdef USE_INSTANCING\n\tmat3 m = mat3( instanceMatrix );\n\ttransformedNormal /= vec3( dot( m[ 0 ], m[ 0 ] ), dot( m[ 1 ], m[ 1 ] ), dot( m[ 2 ], m[ 2 ] ) );\n\ttransformedNormal = m * transformedNormal;\n#endif\ntransformedNormal = normalMatrix * transformedNormal;\n#ifdef FLIP_SIDED\n\ttransformedNormal = - transformedNormal;\n#endif\n#ifdef USE_TANGENT\n\tvec3 transformedTangent = ( modelViewMatrix * vec4( objectTangent, 0.0 ) ).xyz;\n\t#ifdef FLIP_SIDED\n\t\ttransformedTangent = - transformedTangent;\n\t#endif\n#endif",displacementmap_pars_vertex:"#ifdef USE_DISPLACEMENTMAP\n\tuniform sampler2D displacementMap;\n\tuniform float displacementScale;\n\tuniform float displacementBias;\n#endif",displacementmap_vertex:"#ifdef USE_DISPLACEMENTMAP\n\ttransformed += normalize( objectNormal ) * ( texture2D( displacementMap, vDisplacementMapUv ).x * displacementScale + dis
3856placementBias );\n#endif",emissivemap_fragment:"#ifdef USE_EMISSIVEMAP\n\tvec4 emissiveColor = texture2D( emissiveMap, vEmissiveMapUv );\n\ttotalEmissiveRadiance *= emissiveColor.rgb;\n#endif",emissivemap_pars_fragment:"#ifdef USE_EMISSIVEMAP\n\tuniform sampler2D emissiveMap;\n#endif",encodings_fragment:"gl_FragColor = linearToOutputTexel( gl_FragColor );",encodings_pars_fragment:"vec4 LinearToLinear( in vec4 value ) {\n\treturn value;\n}\nvec4 LinearTosRGB( in vec4 value ) {\n\treturn vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a );\n}",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, 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",envmap_common_pars_fragment:"#ifdef USE_ENVMAP\n\tuniform float envMapIntensity;\n\tuniform float flipEnvMap;\n\t#ifdef ENVMAP_TYPE_CUBE\n\t\tuniform samplerCube envMap;\n\t#else\n\t\tuniform sampler2D envMap;\n\t#endif\n\t\n#endif",envmap_pars_fragment:"#ifdef USE_ENVMAP\n\tuniform float reflectivity;\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || 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",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",envmap_physical_pars_fragment:"#if defined( USE_ENVMAP )\n\tvec3 getIBLIrradiance( const in vec3 normal ) {\n\t\t#if defined( ENVMAP_TYPE_CUBE_UV )\n\t\t\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n\t\t\tvec4 envMapColor = textureCubeUV( envMap, 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#if defined( 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, 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#endif",envmap_vertex:"#ifdef USE_ENVMAP\n\t#ifdef ENV_WORLDPOS\n\t\tvWorldPosition = worldPosition.xyz;\n\t#else\n\t\tvec3 cameraToVertex;\n\t\tif ( isOrthographic ) {\n\t\t\tcameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n\t\t}
3856 else {\n\t\t\tcameraToVertex = normalize( worldPosition.xyz - cameraPosition );\n\t\t}\n\t\tvec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t\tvReflect = reflect( cameraToVertex, worldNormal );\n\t\t#else\n\t\t\tvReflect = refract( cameraToVertex, worldNormal, refractionRatio );\n\t\t#endif\n\t#endif\n#endif",fog_vertex:"#ifdef USE_FOG\n\tvFogDepth = - mvPosition.z;\n#endif",fog_pars_vertex:"#ifdef USE_FOG\n\tvarying float vFogDepth;\n#endif",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",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",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}",lightmap_fragment:"#ifdef USE_LIGHTMAP\n\tvec4 lightMapTexel = texture2D( lightMap, vLightMapUv );\n\tvec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity;\n\treflectedLight.indirectDiffuse += lightMapIrradiance;\n#endif",lightmap_pars_fragment:"#ifdef USE_LIGHTMAP\n\tuniform sampler2D lightMap;\n\tuniform float lightMapIntensity;\n#endif",lights_lambert_fragment:"LambertMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularStrength = specularStrength;",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 GeometricContext geometry, const in LambertMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometry.normal, 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 GeometricContext geometry, 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",lights_pars_begin:"uniform bool receiveShadow;\nuniform vec3 ambientLightColor;\nuniform vec3 lightProbe[ 9 ];\nvec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) {\n\tfloat x = normal.x, y = normal.y, z = normal.z;\n\tvec3 result = shCoefficients[ 0 ] * 0.886227;\n\tresult += shCoefficients[ 1 ] * 2.0 * 0.511664 * y;\n\tresult += shCoefficients[ 2 ] * 2.0 * 0.511664 * z;\n\tresult += shCoefficients[ 3 ] * 2.0 * 0.511664 * x;\n\tresult += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y;\n\tresult += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z;\n\tresult += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 );\n\tresult += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z;\n\tresult += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y );\n\treturn result;\n}\nvec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in 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 > 0.0 && decayExponent > 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 > 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 > 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, const in GeometricContext geometry, 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 > 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 GeometricContext geometry, out IncidentLight light ) {\n\t\tvec3 lVector = pointLight.position - geometry.position;\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}
3856\n#endif\n#if NUM_SPOT_LIGHTS > 0\n\tstruct SpotLight {\n\t\tvec3 position;\n\t\tvec3 direction;\n\t\tvec3 color;\n\t\tfloat distance;\n\t\tfloat decay;\n\t\tfloat coneCos;\n\t\tfloat penumbraCos;\n\t};\n\tuniform SpotLight spotLights[ NUM_SPOT_LIGHTS ];\n\tvoid getSpotLightInfo( const in SpotLight spotLight, const in GeometricContext geometry, out IncidentLight light ) {\n\t\tvec3 lVector = spotLight.position - geometry.position;\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 > 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 > 0\n\tstruct RectAreaLight {\n\t\tvec3 color;\n\t\tvec3 position;\n\t\tvec3 halfWidth;\n\t\tvec3 halfHeight;\n\t};\n\tuniform sampler2D ltc_1;\tuniform sampler2D ltc_2;\n\tuniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ];\n#endif\n#if NUM_HEMI_LIGHTS > 0\n\tstruct HemisphereLight {\n\t\tvec3 direction;\n\t\tvec3 skyColor;\n\t\tvec3 groundColor;\n\t};\n\tuniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ];\n\tvec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in 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",lights_toon_fragment:"ToonMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;",lights_toon_pars_fragment:"varying vec3 vViewPosition;\nstruct ToonMaterial {\n\tvec3 diffuseColor;\n};\nvoid RE_Direct_Toon( const in IncidentLight directLight, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n\tvec3 irradiance = getGradientIrradiance( geometry.normal, directLight.direction ) * directLight.color;\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_Toon\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Toon",lights_phong_fragment:"BlinnPhongMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularColor = specular;\nmaterial.specularShininess = shininess;\nmaterial.specularStrength = specularStrength;",lights_phong_pars_fragment:"varying vec3 vViewPosition;\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 GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n\treflectedLight.directSpecular += irradiance * BRDF_BlinnPhong( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularShininess ) * material.specularStrength;\n}\nvoid RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_BlinnPhong\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_BlinnPhong",lights_physical_fragment:"PhysicalMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor );\nvec3 dxy = max( abs( dFdx( geometryNormal ) ), abs( dFdy( geometryNormal ) ) );\nfloat geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z );\nmaterial.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;
3856\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",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};\nvec3 clearcoatSpecular = vec3( 0.0 );\nvec3 sheenSpecular = 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_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 );
3856\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\tfloat V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n\tfloat D = D_GGX( alpha, dotNH );
vendor: 5,468 bytes, line 3856
3856\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 > 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v;\n\treturn cross( v1, v2 ) * theta_sintheta;\n}\nvec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) {\n\tvec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ];\n\tvec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ];\n\tvec3 lightNormal = cross( v1, v2 );\n\tif( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 );\n\tvec3 T1, T2;\n\tT1 = normalize( V - N * dot( V, N ) );\n\tT2 = - cross( N, T1 );\n\tmat3 mat = mInv * transposeMat3( mat3( T1, T2, N ) );\n\tvec3 coords[ 4 ];\n\tcoords[ 0 ] = mat * ( rectCoords[ 0 ] - P );\n\tcoords[ 1 ] = mat * ( rectCoords[ 1 ] - P );\n\tcoords[ 2 ] = mat * ( rectCoords[ 2 ] - P );\n\tcoords[ 3 ] = mat * ( rectCoords[ 3 ] - P );\n\tcoords[ 0 ] = normalize( coords[ 0 ] );\n\tcoords[ 1 ] = normalize( coords[ 1 ] );\n\tcoords[ 2 ] = normalize( coords[ 2 ] );\n\tcoords[ 3 ] = normalize( coords[ 3 ] );\n\tvec3 vectorFormFactor = vec3( 0.0 );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] );\n\tfloat result = LTC_ClippedSphereFormFactor( vectorFormFactor );\n\treturn vec3( result );\n}\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 < 0.25 ? -339.2 * r2 + 161.4 * roughness - 25.9 : -8.48 * r2 + 14.3 * roughness - 9.95;\n\tfloat b = roughness < 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 < 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 > 0\n\tvoid RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in 
3856GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\t\tvec3 normal = geometry.normal;\n\t\tvec3 viewDir = geometry.viewDir;\n\t\tvec3 position = geometry.position;\n\t\tvec3 lightPos = rectAreaLight.position;\n\t\tvec3 halfWidth = rectAreaLight.halfWidth;\n\t\tvec3 halfHeight = rectAreaLight.halfHeight;\n\t\tvec3 lightColor = rectAreaLight.color;\n\t\tfloat roughness = material.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 GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\t#ifdef USE_CLEARCOAT\n\t\tfloat dotNLcc = saturate( dot( geometry.clearcoatNormal, directLight.direction ) );\n\t\tvec3 ccIrradiance = dotNLcc * directLight.color;\n\t\tclearcoatSpecular += ccIrradiance * BRDF_GGX_Clearcoat( directLight.direction, geometry.viewDir, geometry.clearcoatNormal, material );\n\t#endif\n\t#ifdef USE_SHEEN\n\t\tsheenSpecular += irradiance * BRDF_Sheen( directLight.direction, geometry.viewDir, geometry.normal, material.sheenColor, material.sheenRoughness );\n\t#endif\n\treflectedLight.directSpecular += irradiance * BRDF_GGX( directLight.direction, geometry.viewDir, geometry.normal, material );\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\n\t#ifdef USE_CLEARCOAT\n\t\tclearcoatSpecular += clearcoatRadiance * EnvironmentBRDF( geometry.clearcoatNormal, geometry.viewDir, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness );\n\t#endif\n\t#ifdef USE_SHEEN\n\t\tsheenSpecular += irradiance * material.sheenColor * IBLSheenBRDF( geometry.normal, geometry.viewDir, 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( geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness, singleScattering, multiScattering );\n\t#else\n\t\tcomputeMultiscattering( geometry.normal, geometry.viewDir, 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 c
3856omputeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) {\n\treturn saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion );\n}",lights_fragment_begin:"\nGeometricContext geometry;\ngeometry.position = - vViewPosition;\ngeometry.normal = normal;\ngeometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition );\n#ifdef USE_CLEARCOAT\n\tgeometry.clearcoatNormal = clearcoatNormal;\n#endif\n#ifdef USE_IRIDESCENCE\n\tfloat dotNVi = saturate( dot( normal, geometry.viewDir ) );\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 > 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 > 0 ) && defined( RE_Direct )\n\tPointLight pointLight;\n\t#if defined( USE_SHADOWMAP ) && NUM_POINT_LIGHT_SHADOWS > 0\n\tPointLightShadow pointLightShadow;\n\t#endif\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\n\t\tpointLight = pointLights[ i ];\n\t\tgetPointLightInfo( pointLight, geometry, directLight );\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS )\n\t\tpointLightShadow = pointLightShadows[ i ];\n\t\tdirectLight.color *= ( directLight.visible && 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, geometry, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct )\n\tSpotLight spotLight;\n\tvec4 spotColor;\n\tvec3 spotLightCoord;\n\tbool inSpotLightMap;\n\t#if defined( USE_SHADOWMAP ) && NUM_SPOT_LIGHT_SHADOWS > 0\n\tSpotLightShadow spotLightShadow;\n\t#endif\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\n\t\tspotLight = spotLights[ i ];\n\t\tgetSpotLightInfo( spotLight, geometry, directLight );\n\t\t#if ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS )\n\t\t#define SPOT_LIGHT_MAP_INDEX UNROLLED_LOOP_INDEX\n\t\t#elif ( UNROLLED_LOOP_INDEX < 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 < 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 ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n\t\tspotLightShadow = spotLightShadows[ i ];\n\t\tdirectLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( spotShadowMap[ i ], spotLightShadow.shadowMapSize, spotLightShadow.shadowBias, spotLightShadow.shadowRadius, vSpotLightCoord[ i ] ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct )\n\tDirectionalLight directionalLight;\n\t#if defined( USE_SHADOWMAP ) && NUM_DIR_LIGHT_SHADOWS > 0\n\tDirectionalLightShadow directionalLightShadow;\n\t#endif\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n\t\tdirectionalLight = directionalLights[ i ];\n\t\tgetDirectionalLightInfo( directionalLight, geometry, directLight );\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS )\n\t\tdirectionalLightShadow = directionalLightShadows[ i ];\n\t\tdirectLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea )\n\tRectAreaLight rectAreaLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) {\n\t\trectAreaLight = rectAreaLights[ i ];\n\t\tRE_Direct_RectArea( rectAreaLight, geometry, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if defined( RE_IndirectDiffuse )\n\tvec3 iblIrradiance = vec3( 0.0 );\n\tvec3 irradiance = getAmbientLightIrradiance( ambientLightColor );\n\tirradiance += getLightProbeIrradiance( lightProbe, geometry.normal );\n\t#if ( NUM_HEMI_LIGHTS > 0 )\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\n\t\t\tirradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry.normal );\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",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 ) && defined( STANDARD ) && defined( ENVMAP_TYPE_CUBE_UV )\n\t\tiblIrradiance += getIBLIrradiance( geometry.normal );\n\t#endif\n#endif\n#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular )\n\tradiance += getIBLRadiance( geometry.viewDir, geometry.normal, material.roughness );\n\t#ifdef USE_CLEARCOAT\n\t\tclearcoatRadiance += getIBLRadiance( geometry.viewDir, geometry.clearcoatNormal, material.clearcoatRoughness );\n\t#endif\n#endif",lights_fragment_end:"#if defined( RE_IndirectDiffuse )\n\tRE_IndirectDiffuse( irradiance, geometry, material, reflectedLight );\n#endif\n#if defined( RE_IndirectSpecular )\n\tRE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometry, material, reflectedLight );\n#endif",logdepthbuf_fragment:"#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\n\tgl_FragDepthEXT = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5;\n#endif",logdepthbuf_pars_fragment:"#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\n\tuniform float logDepthBufFC;\n\tvarying float vFragDepth;\n\tvarying float vIsPerspective;\n#endif",logdepthbuf_pars_vertex:"#ifdef USE_LOGDEPTHBUF\n\t#ifdef USE_LOGDEPTHBUF_EXT\n\t\tvarying float vFragDepth;\n\t\tvarying float vIsPerspective;\n\t#else\n\t\tuniform float logDepthBufFC;\n\t#endif\n#endif",logdepthbuf_vertex:"#ifdef USE_LOGDEPTHBUF\n\t#ifdef USE_LOGDEPTHBUF_EXT\n\t\tvFragDepth = 1.0 + gl_Position.w;\n\t\tvIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) );\n\t#else\n\t\tif ( isPerspectiveMatrix( projectionMatrix ) ) {\n\t\t\tgl_Position.z = log2( max( EPSILON, gl_Position.w + 1.0 ) ) * logDepthBufFC - 1.0;\n\t\t\tgl_Position.z *= gl_Position.w;\n\t\t}\n\t#endif\n#endif",map_fragment:"#ifdef USE_MAP\n\tvec4 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#endif\n\tdiffuseColor *= sampledDiffuseColor;\n#endif",map_pars_fragment:"#ifdef USE_MAP\n\tuniform sampler2D map;\n#endif",map_particle_fragment:"#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n\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",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",metalnessmap_fragment:"float metalnessFactor = metalness;\n#ifdef USE_METALNESSMAP\n\tvec4 texelMetalness = texture2D( metalnessMap, vMetalnessMapUv );\n\tmetalnessFactor *= texelMetalness.b;\n#endif",metalnessmap_pars_fragment:"#ifdef USE_METALNESSMAP\n\tuniform sampler2D metalnessMap;\n#endif",morphcolor_vertex:"#if defined( USE_MORPHCOLORS ) && defined( MORPHTARGETS_TEXTURE )\n\tvColor *= morphTargetBaseInfluence;\n\tfor ( int i = 0; i < 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",morphnormal_vertex:"#ifdef USE_MORPHNORMALS\n\tobjectNormal *= morphTargetBaseInfluence;\n\t#ifdef MORPHTARGETS_TEXTURE\n\t\tfor ( int i = 0; i < 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",morphtarget_pars_vertex:"#ifdef USE_MORPHTARGETS\n\tuniform float morphTargetBaseInfluence;\n\t#ifdef MORPHTARGETS_TEXTURE\n\t\tuniform float morphTargetInfluences[ MORPHTARGETS_COUNT ];\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",morphtarget_vertex:"#ifdef USE_MORPHTARGETS\n\ttransformed *= morphTargetBaseInfluence;\n\t#ifdef MORPHTARGETS_TEXTURE\n\t\tfor ( int i = 0; i < 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",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#ifdef USE_NORMALMAP_TANGENTSPACE\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, vNormalMapUv );\n\t#endif\n\t#if defined( DOUBLE_SIDED ) && ! 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 ) && ! defined( FLAT_SHADED )\n\t\ttbn2[0] *= faceDirection;\n\t\ttbn2[1] *= faceDirection;\n\t#endif\n#endif\nvec3 geometryNormal = normal;",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 );
3856\n#elif defined( USE_BUMPMAP )\n\tnormal = perturbNormalArb( - vViewPosition, normal, dHdxy_fwd(), faceDirection );\n#endif",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",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",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",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 ) && ( defined ( USE_NORMALMAP_TANGENTSPACE ) || defined ( USE_CLEARCOAT_NORMALMAP ) )\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",clearcoat_normal_fragment_begin:"#ifdef USE_CLEARCOAT\n\tvec3 clearcoatNormal = geometryNormal;\n#endif",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",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",iridescence_pars_fragment:"#ifdef USE_IRIDESCENCEMAP\n\tuniform sampler2D iridescenceMap;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\tuniform sampler2D iridescenceThicknessMap;\n#endif",output_fragment:"#ifdef OPAQUE\ndiffuseColor.a = 1.0;\n#endif\n#ifdef USE_TRANSMISSION\ndiffuseColor.a *= material.transmissionAlpha + 0.1;\n#endif\ngl_FragColor = vec4( outgoingLight, diffuseColor.a );",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}",premultiplied_alpha_fragment:"#ifdef PREMULTIPLIED_ALPHA\n\tgl_FragColor.rgb *= gl_FragColor.a;\n#endif",project_vertex:"vec4 mvPosition = vec4( transformed, 1.0 );
vendor: 14,803 bytes, line 3856
3856\n#ifdef USE_INSTANCING\n\tmvPosition = instanceMatrix * mvPosition;\n#endif\nmvPosition = modelViewMatrix * mvPosition;\ngl_Position = projectionMatrix * mvPosition;",dithering_fragment:"#ifdef DITHERING\n\tgl_FragColor.rgb = dithering( gl_FragColor.rgb );\n#endif",dithering_pars_fragment:"#ifdef DITHERING\n\tvec3 dithering( vec3 color ) {\n\t\tfloat grid_position = rand( gl_FragCoord.xy );\n\t\tvec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 );\n\t\tdither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position );\n\t\treturn color + dither_shift_RGB;\n\t}\n#endif",roughnessmap_fragment:"float roughnessFactor = roughness;\n#ifdef USE_ROUGHNESSMAP\n\tvec4 texelRoughness = texture2D( roughnessMap, vRoughnessMapUv );\n\troughnessFactor *= texelRoughness.g;\n#endif",roughnessmap_pars_fragment:"#ifdef USE_ROUGHNESSMAP\n\tuniform sampler2D roughnessMap;\n#endif",shadowmap_pars_fragment:"#if NUM_SPOT_LIGHT_COORDS > 0\n\tvarying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ];\n#endif\n#if NUM_SPOT_LIGHT_MAPS > 0\n\tuniform sampler2D spotLightMap[ NUM_SPOT_LIGHT_MAPS ];\n#endif\n#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t\tuniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n\t\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 > 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 > 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 >= 0.0 && shadowCoord.x <= 1.0 && shadowCoord.y >= 0.0 && shadowCoord.y <= 1.0;\n\t\tbool frustumTest = inFrustum && shadowCoord.z <= 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 >= almostOne ) {\n\t\t\tif ( v.z > 0.0 )\n\t\t\t\tplanar.x = 4.0 - v.x;\n\t\t} else if ( absV.x >= almostOne ) {\n\t\t\tfloat signX = sign( v.x );\n\t\t\tplanar.x = v.z * signX + 2.0 * signX;\n\t\t} else if ( absV.y >= almostOne ) {\n\t\t\tfloat signY = sign( v.y );\n\t\t\tplanar.x = v.x + 2.0 * signY + 2.0;\n\t\t\tplanar.y = v.z * signY - 2.0;\n\t\t}\n\t\treturn vec2( 0.125, 0.25 ) * planar + vec2( 0.375, 0.75 );\n\t}\n\tfloat getPointShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) {\n\t\tvec2 texelSize = vec2( 1.0 ) / ( shadowMapSize * vec2( 4.0, 2.0 ) );\n\t\tvec3 lightToPosition = shadowCoord.xyz;\n\t\tfloat dp = ( length( lightToPosition ) - shadowCameraNear ) / ( shadowCameraFar - shadowCameraNear );\t\tdp += shadowBias;\n\t\tvec3 bd3D = normalize( lightToPosition );\n\t\t#if defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_PCF_SOFT ) || defined( SHADOWMAP_TYPE_VSM )\n\t\t\tvec2 offset = vec2( - 1, 1 ) * shadowRadius * texelSize.y;\n\t\t\treturn (\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyx, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyx, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxx, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxx, texelSize.y ), dp )\n\t\t\t) * ( 1.0 / 9.0 );\n\t\t#else\n\t\t\treturn texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp );\n\t\t#endif\n\t}\n#endif",shadowmap_pars_vertex:"#if NUM_SPOT_LIGHT_COORDS > 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 > 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 > 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 > 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",shadowmap_vertex:"#if ( defined( USE_SHADOWMAP ) && ( NUM_DIR_LIGHT_SHADOWS > 0 || NUM_POINT_LIGHT_SHADOWS > 0 ) ) || ( NUM_SPOT_LIGHT_COORDS > 0 )\n\tvec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n\tvec4 shadowWorldPosition;\n#endif\n#if defined( USE_SHADOWMAP )\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i < 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 > 0\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i < 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 > 0\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_SPOT_LIGHT_COORDS; i ++ ) {\n\t\tshadowWorldPosition = worldPosition;\n\t\t#if ( defined( USE_SHADOWMAP ) && UNROLLED_LOOP_INDEX < 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",shadowmask_pars_fragment:"float getShadowMask() {\n\tfloat shadow = 1.0;\n\t#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\tDirectionalLightShadow directionalLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < 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 > 0\n\tSpotLightShadow spotLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < 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 > 0\n\tPointLightShadow pointLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < 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}",skinbase_vertex:"#ifdef USE_SKINNING\n\tmat4 boneMatX = getBoneMatrix( skinIndex.x );\n\tmat4 boneMatY = getBoneMatrix( skinIndex.y );\n\tmat4 boneMatZ = getBoneMatrix( skinIndex.z );\n\tmat4 boneMatW = getBoneMatrix( skinIndex.w );\n#endif",skinning_pars_vertex:"#ifdef USE_SKINNING\n\tuniform mat4 bindMatrix;\n\tuniform mat4 bindMatrixInverse;\n\tuniform highp sampler2D boneTexture;\n\t
3856uniform int boneTextureSize;\n\tmat4 getBoneMatrix( const in float i ) {\n\t\tfloat j = i * 4.0;\n\t\tfloat x = mod( j, float( boneTextureSize ) );\n\t\tfloat y = floor( j / float( boneTextureSize ) );\n\t\tfloat dx = 1.0 / float( boneTextureSize );\n\t\tfloat dy = 1.0 / float( boneTextureSize );\n\t\ty = dy * ( y + 0.5 );\n\t\tvec4 v1 = texture2D( boneTexture, vec2( dx * ( x + 0.5 ), y ) );\n\t\tvec4 v2 = texture2D( boneTexture, vec2( dx * ( x + 1.5 ), y ) );\n\t\tvec4 v3 = texture2D( boneTexture, vec2( dx * ( x + 2.5 ), y ) );\n\t\tvec4 v4 = texture2D( boneTexture, vec2( dx * ( x + 3.5 ), y ) );\n\t\tmat4 bone = mat4( v1, v2, v3, v4 );\n\t\treturn bone;\n\t}\n#endif",skinning_vertex:"#ifdef USE_SKINNING\n\tvec4 skinVertex = bindMatrix * vec4( transformed, 1.0 );\n\tvec4 skinned = vec4( 0.0 );\n\tskinned += boneMatX * skinVertex * skinWeight.x;\n\tskinned += boneMatY * skinVertex * skinWeight.y;\n\tskinned += boneMatZ * skinVertex * skinWeight.z;\n\tskinned += boneMatW * skinVertex * skinWeight.w;\n\ttransformed = ( bindMatrixInverse * skinned ).xyz;\n#endif",skinnormal_vertex:"#ifdef USE_SKINNING\n\tmat4 skinMatrix = mat4( 0.0 );\n\tskinMatrix += skinWeight.x * boneMatX;\n\tskinMatrix += skinWeight.y * boneMatY;\n\tskinMatrix += skinWeight.z * boneMatZ;\n\tskinMatrix += skinWeight.w * boneMatW;\n\tskinMatrix = bindMatrixInverse * skinMatrix * bindMatrix;\n\tobjectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz;\n\t#ifdef USE_TANGENT\n\t\tobjectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz;\n\t#endif\n#endif",specularmap_fragment:"float specularStrength;\n#ifdef USE_SPECULARMAP\n\tvec4 texelSpecular = texture2D( specularMap, vSpecularMapUv );\n\tspecularStrength = texelSpecular.r;\n#else\n\tspecularStrength = 1.0;\n#endif",specularmap_pars_fragment:"#ifdef USE_SPECULARMAP\n\tuniform sampler2D specularMap;\n#endif",tonemapping_fragment:"#if defined( TONE_MAPPING )\n\tgl_FragColor.rgb = toneMapping( gl_FragColor.rgb );\n#endif",tonemapping_pars_fragment:"#ifndef saturate\n#define saturate( a ) clamp( a, 0.0, 1.0 )\n#endif\nuniform float toneMappingExposure;\nvec3 LinearToneMapping( vec3 color ) {\n\treturn toneMappingExposure * color;\n}\nvec3 ReinhardToneMapping( vec3 color ) {\n\tcolor *= toneMappingExposure;\n\treturn saturate( color / ( vec3( 1.0 ) + color ) );\n}\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}\nvec3 CustomToneMapping( vec3 color ) { return color; }",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 transmission = 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, transmission.a, material.transmission );\n\ttotalDiffuse = mix( totalDiffuse, transmission.rgb, material.transmission );\n#endif",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, vec2 fullSize, 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\t\n\t\tvec2 lodFudge = pow( 1.95, lod ) / fullSize;\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\tvec2 fullSize = vec2( textureSize( sampler, 0 ) );\n\t\tvec4 fSample = bicubic( sampler, uv, vec4( fLodSizeInv, fLodSize ), fullSize, floor( lod ) );\n\t\tvec4 cSample = bicubic( sampler, uv, vec4( cLodSizeInv, cLodSize ), fullSize, 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 applyVolumeAttenuation( const in vec3 radiance, const in float transmissionDistance, const in vec3 attenuationColor, const in float attenuationDistance ) {\n\t\tif ( isinf( attenuationDistance ) ) {\n\t\t\treturn radiance;\n\t\t} else {\n\t\t\tvec3 attenuationCoefficient = -log( attenuationColor ) / attenuationDistance;\n\t\t\tvec3 transmittance = exp( - attenuationCoefficient * transmissionDistance );\t\t\treturn transmittance * radiance;\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 attenuatedColor = applyVolumeAttenuation( transmittedLight.rgb, length( transmissionRay ), attenuationColor, attenuationDistance );\n\t\tvec3 F = EnvironmentBRDF( n, v, specularColor, specularF90, roughness );\n\t\treturn vec4( ( 1.0 - F ) * attenuatedColor * diffuseColor, transmittedLight.a );\n\t}\n#endif",uv_pars_fragment:"#ifdef USE_UV\n\tvarying vec2 vUv;\n#endif\n#ifdef USE_MAP\n\tvarying vec2 vMapUv;
3856\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_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",uv_pars_vertex:"#ifdef USE_UV\n\tvarying vec2 vUv;\n#endif\n#ifdef USE_UV2\n\tattribute vec2 uv2;\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_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",uv_vertex:"#ifdef USE_UV\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_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;
3856\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",worldpos_vertex:"#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) || defined ( USE_TRANSMISSION ) || NUM_SPOT_LIGHT_COORDS > 0\n\tvec4 worldPosition = vec4( transformed, 1.0 );\n\t#ifdef USE_INSTANCING\n\t\tworldPosition = instanceMatrix * worldPosition;\n\t#endif\n\tworldPosition = modelMatrix * worldPosition;\n#endif",background_vert:"varying vec2 vUv;\nuniform mat3 uvTransform;\nvoid main() {\n\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n\tgl_Position = vec4( position.xy, 1.0, 1.0 );\n}",background_frag:"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 <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",backgroundCube_vert:"varying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n\tgl_Position.z = gl_Position.w;\n}",backgroundCube_frag:"#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;\nvarying vec3 vWorldDirection;\n#include <cube_uv_reflection_fragment>\nvoid main() {\n\t#ifdef ENVMAP_TYPE_CUBE\n\t\tvec4 texColor = textureCube( envMap, vec3( flipEnvMap * vWorldDirection.x, vWorldDirection.yz ) );\n\t#elif defined( ENVMAP_TYPE_CUBE_UV )\n\t\tvec4 texColor = textureCubeUV( envMap, 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 <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",cube_vert:"varying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n\tgl_Position.z = gl_Position.w;\n}",cube_frag:"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 <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",depth_vert:"#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvarying vec2 vHighPrecisionZW;\nvoid main() {\n\t#include <uv_vertex>\n\t#include <skinbase_vertex>\n\t#ifdef USE_DISPLACEMENTMAP\n\t\t#include <beginnormal_vertex>\n\t\t#include <morphnormal_vertex>\n\t\t#include <skinnormal_vertex>\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvHighPrecisionZW = gl_Position.zw;\n}",depth_frag:"#if DEPTH_PACKING == 3200\n\tuniform float opacity;\n#endif\n#include <common>\n#include <packing>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvarying vec2 vHighPrecisionZW;\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( 1.0 );\n\t#if DEPTH_PACKING == 3200\n\t\tdiffuseColor.a = opacity;\n\t#endif\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <logdepthbuf_fragment>\n\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}",distanceRGBA_vert:"#define DISTANCE\nvarying vec3 vWorldPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <skinbase_vertex>\n\t#ifdef USE_DISPLACEMENTMAP\n\t\t#include <beginnormal_vertex>\n\t\t#include <morphnormal_vertex>\n\t\t#include <skinnormal_vertex>\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <worldpos_vertex>\n\t#include <clipping_planes_vertex>\n\tvWorldPosition = worldPosition.xyz;\n}",distanceRGBA_frag:"#define DISTANCE\nuniform vec3 referencePosition;\nuniform float nearDistance;\nuniform float farDistance;\nvarying vec3 vWorldPosition;\n#include <common>\n#include <packing>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main () {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( 1.0 );\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\tfloat dist = length( vWorldPosition - referencePosition );\n\tdist = ( dist - nearDistance ) / ( farDistance - nearDistance );\n\tdist = saturate( dist );\n\tgl_FragColor = packDepthToRGBA( dist );\n}",equirect_vert:"varying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n}",equirect_frag:"uniform sampler2D tEquirect;\nvarying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvec3 direction = normalize( vWorldDirection );\n\tvec2 sampleUV = equirectUv( direction );\n\tgl_FragColor = texture2D( tEquirect, sampleUV );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",linedashed_vert:"uniform float scale;\nattribute float lineDistance;\nvarying float vLineDistance;\n#include <common>\n#include <uv_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\tvLineDistance = scale * lineDistance;\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n}",linedashed_frag:"uniform vec3 diffuse;\nuniform float opacity;\nuniform float dashSize;\nuniform float totalSize;\nvarying float vLineDistance;\n#include <common>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tif ( mod( vLineDistance, totalSize ) > dashSize ) {\n\t\tdiscard;\n\t}\n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n}",meshbasic_vert:"#include <common>\n#include <uv_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#if defined ( USE_ENVMAP ) || defined ( USE_SKINNING )\n\t\t#include <beginnormal_vertex>\n\t\t#include <morphnormal_vertex>\n\t\t#include <skinbase_vertex>\n\t\t#include <skinnormal_vertex>\n\t\t#include <defaultnormal_vertex>\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <fog_vertex>\n}",meshbasic_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include <common>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <specularmap_fragment>\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\t#ifdef USE_LIGHTMAP\n\t\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 <aomap_fragment>\n\treflectedLight.indirectDiffuse *= diffuseColor.rgb;\n\tvec3 outgoingLight = reflectedLight.indirectDiffuse;\n\t#include <envmap_fragment>\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshlambert_vert:"#define LAMBERT\nvarying vec3 vViewPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",meshlambert_frag:"#define LAMBERT\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_lambert_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <specularmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_lambert_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n\t#include <envmap_fragment>\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshmatcap_vert:"#define MATCAP\nvarying vec3 vViewPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <color_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n\tvViewPosition = - mvPosition.xyz;\n}",meshmatcap_frag:"#define MATCAP\nuniform vec3 diffuse;\nuniform float opacity;\nuniform sampler2D matcap;\nvarying vec3 vViewPosition;\n#include <common>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <fog_pars_fragment>\n#include <normal_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <m
3856ap_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\tvec3 viewDir = normalize( vViewPosition );\n\tvec3 x = normalize( vec3( viewDir.z, 0.0, - viewDir.x ) );\n\tvec3 y = cross( viewDir, x );\n\tvec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5;\n\t#ifdef USE_MATCAP\n\t\tvec4 matcapColor = texture2D( matcap, uv );\n\t#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 <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshnormal_vert:"#define NORMAL\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )\n\tvarying vec3 vViewPosition;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )\n\tvViewPosition = - mvPosition.xyz;\n#endif\n}",meshnormal_frag:"#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 <packing>\n#include <uv_pars_fragment>\n#include <normal_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\t#include <logdepthbuf_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\tgl_FragColor = vec4( packNormalToRGB( normal ), opacity );\n\t#ifdef OPAQUE\n\t\tgl_FragColor.a = 1.0;\n\t#endif\n}",meshphong_vert:"#define PHONG\nvarying vec3 vViewPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",meshphong_frag:"#define PHONG\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform vec3 specular;\nuniform float shininess;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_phong_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <specularmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_phong_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\n\t#include <envmap_fragment>\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshphysical_vert:"#define STANDARD\nvarying vec3 vViewPosition;\n#ifdef USE_TRANSMISSION\n\tvarying vec3 vWorldPosition;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n#ifdef USE_TRANSMISSION\n\tvWorldPosition = worldPosition.xyz;\n#endif\n}",meshphysical_frag:"#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;
3856\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\nvarying vec3 vViewPosition;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <iridescence_fragment>\n#include <cube_uv_reflection_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_physical_pars_fragment>\n#include <fog_pars_fragment>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_physical_pars_fragment>\n#include <transmission_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <clearcoat_pars_fragment>\n#include <iridescence_pars_fragment>\n#include <roughnessmap_pars_fragment>\n#include <metalnessmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <roughnessmap_fragment>\n\t#include <metalnessmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <clearcoat_normal_fragment_begin>\n\t#include <clearcoat_normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_physical_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 totalDiffuse = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse;\n\tvec3 totalSpecular = reflectedLight.directSpecular + reflectedLight.indirectSpecular;\n\t#include <transmission_fragment>\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 + sheenSpecular;\n\t#endif\n\t#ifdef USE_CLEARCOAT\n\t\tfloat dotNVcc = saturate( dot( geometry.clearcoatNormal, geometry.viewDir ) );\n\t\tvec3 Fcc = F_Schlick( material.clearcoatF0, material.clearcoatF90, dotNVcc );\n\t\toutgoingLight = outgoingLight * ( 1.0 - material.clearcoat * Fcc ) + clearcoatSpecular * material.clearcoat;
3856\n\t#endif\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshtoon_vert:"#define TOON\nvarying vec3 vViewPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",meshtoon_frag:"#define TOON\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <gradientmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_toon_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_toon_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",points_vert:"uniform float size;\nuniform float scale;\n#include <common>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\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 <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <project_vertex>\n\tgl_PointSize = size;\n\t#ifdef USE_SIZEATTENUATION\n\t\tbool isPerspective = isPerspectiveMatrix( projectionMatrix );\n\t\tif ( isPerspective ) gl_PointSize *= ( scale / - mvPosition.z );\n\t#endif\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <worldpos_vertex>\n\t#include <fog_vertex>\n}",points_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#include <common>\n#include <color_pars_fragment>\n#include <map_particle_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_particle_fragment>\n\t#include <color_fragment>\n\t#include <alphatest_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n}",shadow_vert:"#include <common>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <shadowmap_pars_vertex>\nvoid main() {\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",shadow_frag:"uniform vec3 color;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <logdepthbuf_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <shadowmask_pars_fragment>\nvoid main() {\n\t#include <logdepthbuf_fragment>\n\tgl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n}",sprite_vert:"uniform float rotation;\nuniform vec2 center;\n#include <common>\n#include <uv_pars_vertex>\n#include <fog_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\tvec4 mvPosition = modelViewMatrix * vec4( 0.0, 0.0, 0.0, 1.0 );\n\tvec2 scale;\n\tscale.x = length( vec3( modelMatrix[ 0 ].x, modelMatrix[ 0 ].y, modelMatrix[ 0 ].z ) );\n\tscale.y = length( vec3( modelMatrix[ 1 ].x, modelMatrix[ 1 ].y, modelMatrix[ 1 ].z ) );\n\t#ifndef USE_SIZEATTENUATION\n\t\tbool isPerspective = isPerspectiveMatrix( projectionMatrix );\n\t\tif ( isPerspective ) scale *= - mvPosition.z;\n\t#endif\n\tvec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale;\n\tvec2 rotatedPosition;\n\trotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y;\n\trotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y;\n\tmvPosition.xy += rotatedPosition;\n\tgl_Position = projectionMatrix * mvPosition;\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n}",sprite_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#include <common>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n}"},qr={common:{diffuse:{value:new Oi(16777215)},opacity:{value:1},map:{value:null},mapTransform:{value:new je},alphaMap:{value:null},alphaMapTransform:{value:new je},alphaTest:{value:0}},specularmap:{specularMap:{value:null},specularMapTransform:{value:new je}},envmap:{envMap:{value:null},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1},aoMapTransform:{value:new je}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1},lightMapTransform:{value:new je}},bumpmap:{bumpMap:{value:null},bumpMapTransform:{value:new je},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalMapTransform:{value:new je},normalScale:{value:new We(1,1)}}
vendor: 7,256 bytes, line 3856
3856,displacementmap:{displacementMap:{value:null},displacementMapTransform:{value:new je},displacementScale:{value:1},displacementBias:{value:0}},emissivemap:{emissiveMap:{value:null},emissiveMapTransform:{value:new je}},metalnessmap:{metalnessMap:{value:null},metalnessMapTransform:{value:new je}},roughnessmap:{roughnessMap:{value:null},roughnessMapTransform:{value:new je}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new Oi(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 Oi(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaTest:{value:0},uvTransform:{value:new je}},sprite:{diffuse:{value:new Oi(16777215)},opacity:{value:1},center:{value:new We(.5,.5)},rotation:{value:0},map:{value:null},mapTransform:{value:new je},alphaMap:{value:null},alphaTest:{value:0}}},Xr={basic:{uniforms:Tr([qr.common,qr.specularmap,qr.envmap,qr.aomap,qr.lightmap,qr.fog]),vertexShader:jr.meshbasic_vert,fragmentShader:jr.meshbasic_frag},lambert:{uniforms:Tr([qr.common,qr.specularmap,qr.envmap,qr.aomap,qr.lightmap,qr.emissivemap,qr.bumpmap,qr.normalmap,qr.displacementmap,qr.fog,qr.lights,{emissive:{value:new Oi(0)}}]),vertexShader:jr.meshlambert_vert,fragmentShader:jr.meshlambert_frag},phong:{uniforms:Tr([qr.common,qr.specularmap,qr.envmap,qr.aomap,qr.lightmap,qr.emissivemap,qr.bumpmap,qr.normalmap,qr.displacementmap,qr.fog,qr.lights,{emissive:{value:new Oi(0)},specular:{value:new Oi(1118481)},shininess:{value:30}}]),vertexShader:jr.meshphong_vert,fragmentShader:jr.meshphong_frag},standard:{uniforms:Tr([qr.common,qr.envmap,qr.aomap,qr.lightmap,qr.emissivemap,qr.bumpmap,qr.normalmap,qr.displacementmap,qr.roughnessmap,qr.metalnessmap,qr.fog,qr.lights,{emissive:{value:new Oi(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:jr.meshphysical_vert,fragmentShader:jr.meshphysical_frag},toon:{uniforms:Tr([qr.common,qr.aomap,qr.lightmap,qr.emissivemap,qr.bumpmap,qr.normalmap,qr.displacementmap,qr.gradientmap,qr.fog,qr.lights,{emissive:{value:new Oi(0)}}]),vertexShader:jr.meshtoon_vert,fragmentShader:jr.meshtoon_frag},matcap:{uniforms:Tr([qr.common,qr.bumpmap,qr.normalmap,qr.displacementmap,qr.fog,{matcap:{value:null}}]),vertexShader:jr.meshmatcap_vert,fragmentShader:jr.meshmatcap_frag},points:{uniforms:Tr([qr.points,qr.fog]),vertexShader:jr.points_vert,fragmentShader:jr.points_frag},dashed:{uniforms:Tr([qr.common,qr.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:jr.linedashed_vert,fragmentShader:jr.linedashed_frag},depth:{uniforms:Tr([qr.common,qr.displacementmap]),vertexShader:jr.depth_vert,fragmentShader:jr.depth_frag},normal:{uniforms:Tr([qr.common,qr.bumpmap,qr.normalmap,qr.displacementmap,{opacity:{value:1}}]),vertexShader:jr.meshnormal_vert,fragmentShader:jr.meshnormal_frag},sprite:{uniforms:Tr([qr.sprite,qr.fog]),vertexShader:jr.sprite_vert,fragmentShader:jr.sprite_frag},background:{uniforms:{uvTransform:{value:new je},t2D:{value:null},backgroundIntensity:{value:1}},vertexShader:jr.background_vert,fragmentShader:jr.background_frag},backgroundCube:{uniforms:{envMap:{value:null},flipEnvMap:{value:-1},backgroundBlurriness:{value:0},backgroundIntensity:{value:1}},vertexShader:jr.backgroundCube_vert,fragmentShader:jr.backgroundCube_frag},cube:{uniforms:{tCube:{value:null},tFlip:{value:-1},opacity:{value:1}},vertexShader:jr.cube_vert,fragmentShader:jr.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:jr.equirect_vert,fragmentShader:jr.equirect_frag},distanceRGBA:{uniforms:Tr([qr.common,qr.displacementmap,{referencePosition:{value:new gn},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:jr.distanceRGBA_vert,fragmentShader:jr.distanceRGBA_frag},shadow:{uniforms:Tr([qr.lights,qr.fog,{color:{value:new Oi(0)},opacity:{value:1}}]),vertexShader:jr.shadow_vert,fragmentShader:jr.shadow_frag}};Xr.physical={uniforms:Tr([Xr.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatMapTransform:{value:new je},clearcoatNormalMap:{value:null},clearcoatNormalMapTransform:{value:new je},clearcoatNormalScale:{value:new We(1,1)},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatRoughnessMapTransform:{value:new je},iridescence:{value:0},iridescenceMap:{value:null},iridescenceMapTransform:{value:new je},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},iridescenceThicknessMapTransform:{value:new je},sheen:{value:0},sheenColor:{value:new Oi(0)},sheenColorMap:{value:null},sheenColorMapTransform:{value:new je},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},sheenRoughnessMapTransform:{value:new je},transmission:{value:0},transmissionMap:{value:null},transmissionMapTransform:{value:new je},transmissionSamplerSize:{value:new We},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},thicknessMapTransform:{value:new je},attenuationDistance:{value:0},attenuationColor:{value:new Oi(0)},specularColor:{value:new Oi(1,1,1)},specularColorMap:{value:null},specularColorMapTransform:{value:new je},specularIntensity:{value:1},specularIntensityMap:{value:null},specularIntensityMapTransform:{value:new je}}]),vertexShader:jr.meshphysical_vert,fragmentShader:jr.meshphysical_frag};const Yr={r:0,b:0,g:0};function Zr(t,e,n,i,r,s,a){const o=new Oi(0);let h,u,d=!0===s?0:1,p=null,m=0,f=null;function g(e,n){e.getRGB(Yr,Er(t)),i.buffers.color.setClear(Yr.r,Yr.g,Yr.b,n,a)}return{getClearColor:function(){return o},setClearColor:function(t,e=1){o.set(t),d=e,g(o,d)},getClearAlpha:function(){return d},setClearAlpha:function(t){d=t,g(o,d)},render:function(i,s){let a=!1,v=!0===s.isScene?s.background:null;if(v&&v.isTexture){v=(s.backgroundBlurriness>0?n:e).get(v)}const _=t.xr,x=_.getSession&&_.getSession();x&&"additive"===x.environmentBlendMode&&(v=null),null===v?g(o,d):v&&v.isColor&&(g(v,1),a=!0),(t.autoClear||a)&&t.clear(t.autoClearColor,t.autoClearDepth,t.autoClearStencil),v&&(v.isCubeTexture||v.mapping===et)?(void 0===u&&(u=new Mr(new br(1,1,1),new Cr({name:"Backgroun
3856dCubeMaterial",uniforms:wr(Xr.backgroundCube.uniforms),vertexShader:Xr.backgroundCube.vertexShader,fragmentShader:Xr.backgroundCube.fragmentShader,side:c,depthTest:!1,depthWrite:!1,fog:!1})),u.geometry.deleteAttribute("normal"),u.geometry.deleteAttribute("uv"),u.onBeforeRender=function(t,e,n){this.matrixWorld.copyPosition(n.matrixWorld)},Object.defineProperty(u.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),r.update(u)),u.material.uniforms.envMap.value=v,u.material.uniforms.flipEnvMap.value=v.isCubeTexture&&!1===v.isRenderTargetTexture?-1:1,u.material.uniforms.backgroundBlurriness.value=s.backgroundBlurriness,u.material.uniforms.backgroundIntensity.value=s.backgroundIntensity,u.material.toneMapped=v.encoding!==_e,p===v&&m===v.version&&f===t.toneMapping||(u.material.needsUpdate=!0,p=v,m=v.version,f=t.toneMapping),u.layers.enableAll(),i.unshift(u,u.geometry,u.material,0,0,null)):v&&v.isTexture&&(void 0===h&&(h=new Mr(new Wr(2,2),new Cr({name:"BackgroundMaterial",uniforms:wr(Xr.background.uniforms),vertexShader:Xr.background.vertexShader,fragmentShader:Xr.background.fragmentShader,side:l,depthTest:!1,depthWrite:!1,fog:!1})),h.geometry.deleteAttribute("normal"),Object.defineProperty(h.material,"map",{get:function(){return this.uniforms.t2D.value}}),r.update(h)),h.material.uniforms.t2D.value=v,h.material.uniforms.backgroundIntensity.value=s.backgroundIntensity,h.material.toneMapped=v.encoding!==_e,!0===v.matrixAutoUpdate&&v.updateMatrix(),h.material.uniforms.uvTransform.value.copy(v.matrix),p===v&&m===v.version&&f===t.toneMapping||(h.material.needsUpdate=!0,p=v,m=v.version,f=t.toneMapping),h.layers.enableAll(),i.unshift(h,h.geometry,h.material,0,0,null))}}}function Jr(t,e,n,i){const r=t.getParameter(34921),s=i.isWebGL2?null:e.get("OES_vertex_array_object"),a=i.isWebGL2||null!==s,o={},l=p(null);let c=l,h=!1;function u(e){return i.isWebGL2?t.bindVertexArray(e):s.bindVertexArrayOES(e)}function d(e){return i.isWebGL2?t.deleteVertexArray(e):s.deleteVertexArrayOES(e)}function p(t){const e=[],n=[],i=[];for(let t=0;t<r;t++)e[t]=0,n[t]=0,i[t]=0;return{geometry:null,program:null,wireframe:!1,newAttributes:e,enabledAttributes:n,attributeDivisors:i,object:t,attributes:{},index:null}}function m(){const t=c.newAttributes;for(let e=0,n=t.length;e<n;e++)t[e]=0}function f(t){g(t,0)}function g(n,r){const s=c.newAttributes,a=c.enabledAttributes,o=c.attributeDivisors;if(s[n]=1,0===a[n]&&(t.enableVertexAttribArray(n),a[n]=1),o[n]!==r){(i.isWebGL2?t:e.get("ANGLE_instanced_arrays"))[i.isWebGL2?"vertexAttribDivisor":"vertexAttribDivisorANGLE"](n,r),o[n]=r}}function v(){const e=c.newAttributes,n=c.enabledAttributes;for(let i=0,r=n.length;i<r;i++)n[i]!==e[i]&&(t.disableVertexAttribArray(i),n[i]=0)}function _(e,n,r,s,a,o){!0!==i.isWebGL2||5124!==r&&5125!==r?t.vertexAttribPointer(e,n,r,s,a,o):t.vertexAttribIPointer(e,n,r,a,o)}function x(){y(),h=!0,c!==l&&(c=l,u(c.object))}function y(){l.geometry=null,l.program=null,l.wireframe=!1}return{setup:function(r,l,d,x,y){let M=!1;if(a){const e=function(e,n,r){const a=!0===r.wireframe;let l=o[e.id];void 0===l&&(l={},o[e.id]=l);let c=l[n.id];void 0===c&&(c={},l[n.id]=c);let h=c[a];void 0===h&&(h=p(i.isWebGL2?t.createVertexArray():s.createVertexArrayOES()),c[a]=h);return h}(x,d,l);c!==e&&(c=e,u(c.object)),M=function(t,e,n,i){const r=c.attributes,s=e.attributes;let a=0;const o=n.getAttributes();for(const e in o){if(o[e].location>=0){const n=r[e];let i=s[e];if(void 0===i&&("instanceMatrix"===e&&t.instanceMatrix&&(i=t.instanceMatrix),"instanceColor"===e&&t.instanceColor&&(i=t.instanceColor)),void 0===n)return!0;if(n.attribute!==i)return!0;if(i&&n.data!==i.data)return!0;a++}}return c.attributesNum!==a||c.index!==i}(r,x,d,y),M&&function(t,e,n,i){const r={},s=e.attributes;let a=0;const o=n.getAttributes();for(const e in o){if(o[e].location>=0){let n=s[e];void 0===n&&("instanceMatrix"===e&&t.instanceMatrix&&(n=t.instanceMatrix),"instanceColor"===e&&t.instanceColor&&(n=t.instanceColor));const i={};i.attribute=n,n&&n.data&&(i.data=n.data),r[e]=i,a++}}c.attributes=r,c.attributesNum=a,c.index=i}(r,x,d,y)}else{const t=!0===l.wireframe;c.geometry===x.id&&c.program===d.id&&c.wireframe===t||(c.geometry=x.id,c.program=d.id,c.wireframe=t,M=!0)}null!==y&&n.update(y,34963),(M||h)&&(h=!1,function(r,s,a,o){if(!1===i.isWebG
vendor: 2,232 bytes, line 3856
3856L2&&(r.isInstancedMesh||o.isInstancedBufferGeometry)&&null===e.get("ANGLE_instanced_arrays"))return;m();const l=o.attributes,c=a.getAttributes(),h=s.defaultAttributeValues;for(const e in c){const i=c[e];if(i.location>=0){let s=l[e];if(void 0===s&&("instanceMatrix"===e&&r.instanceMatrix&&(s=r.instanceMatrix),"instanceColor"===e&&r.instanceColor&&(s=r.instanceColor)),void 0!==s){const e=s.normalized,a=s.itemSize,l=n.get(s);if(void 0===l)continue;const c=l.buffer,h=l.type,u=l.bytesPerElement;if(s.isInterleavedBufferAttribute){const n=s.data,l=n.stride,d=s.offset;if(n.isInstancedInterleavedBuffer){for(let t=0;t<i.locationSize;t++)g(i.location+t,n.meshPerAttribute);!0!==r.isInstancedMesh&&void 0===o._maxInstanceCount&&(o._maxInstanceCount=n.meshPerAttribute*n.count)}else for(let t=0;t<i.locationSize;t++)f(i.location+t);t.bindBuffer(34962,c);for(let t=0;t<i.locationSize;t++)_(i.location+t,a/i.locationSize,h,e,l*u,(d+a/i.locationSize*t)*u)}else{if(s.isInstancedBufferAttribute){for(let t=0;t<i.locationSize;t++)g(i.location+t,s.meshPerAttribute);!0!==r.isInstancedMesh&&void 0===o._maxInstanceCount&&(o._maxInstanceCount=s.meshPerAttribute*s.count)}else for(let t=0;t<i.locationSize;t++)f(i.location+t);t.bindBuffer(34962,c);for(let t=0;t<i.locationSize;t++)_(i.location+t,a/i.locationSize,h,e,a*u,a/i.locationSize*t*u)}}else if(void 0!==h){const n=h[e];if(void 0!==n)switch(n.length){case 2:t.vertexAttrib2fv(i.location,n);break;case 3:t.vertexAttrib3fv(i.location,n);break;case 4:t.vertexAttrib4fv(i.location,n);break;default:t.vertexAttrib1fv(i.location,n);}}}}v()}(r,l,d,x),null!==y&&t.bindBuffer(34963,n.get(y).buffer))},reset:x,resetDefaultState:y,dispose:function(){x();for(const t in o){const e=o[t];for(const t in e){const n=e[t];for(const t in n)d(n[t].object),delete n[t];delete e[t]}delete o[t]}},releaseStatesOfGeometry:function(t){if(void 0===o[t.id])return;const e=o[t.id];for(const t in e){const n=e[t];for(const t in n)d(n[t].object),delete n[t];delete e[t]}delete o[t.id]},releaseStatesOfProgram:function(t){for(const e in o){const n=o[e];if(void 0===n[t.id])continue;const i=n[t.id];for(const t in i)d(i[t].object),delete i[t];delete n[t.id]}},initAttributes:m,enableAttribute:f,disableUnusedAttributes:v}}
vendor: 45,745 bytes, line 3856
3856function Kr(t,e,n,i){const r=i.isWebGL2;let s;this.setMode=function(t){s=t},this.render=function(e,i){t.drawArrays(s,e,i),n.update(i,s,1)},this.renderInstances=function(i,a,o){if(0===o)return;let l,c;if(r)l=t,c="drawArraysInstanced";else if(l=e.get("ANGLE_instanced_arrays"),c="drawArraysInstancedANGLE",null===l)return void console.error("THREE.WebGLBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");l[c](s,i,a,o),n.update(a,s,o)}}function $r(t,e,n){let i;function r(e){if("highp"===e){if(t.getShaderPrecisionFormat(35633,36338).precision>0&&t.getShaderPrecisionFormat(35632,36338).precision>0)return"highp";e="mediump"}return"mediump"===e&&t.getShaderPrecisionFormat(35633,36337).precision>0&&t.getShaderPrecisionFormat(35632,36337).precision>0?"mediump":"lowp"}const s="undefined"!=typeof WebGL2RenderingContext&&"WebGL2RenderingContext"===t.constructor.name;let a=void 0!==n.precision?n.precision:"highp";const o=r(a);o!==a&&(console.warn("THREE.WebGLRenderer:",a,"not supported, using",o,"instead."),a=o);const l=s||e.has("WEBGL_draw_buffers"),c=!0===n.logarithmicDepthBuffer,h=t.getParameter(34930),u=t.getParameter(35660),d=t.getParameter(3379),p=t.getParameter(34076),m=t.getParameter(34921),f=t.getParameter(36347),g=t.getParameter(36348),v=t.getParameter(36349),_=u>0,x=s||e.has("OES_texture_float");return{isWebGL2:s,drawBuffers:l,getMaxAnisotropy:function(){if(void 0!==i)return i;if(!0===e.has("EXT_texture_filter_anisotropic")){const n=e.get("EXT_texture_filter_anisotropic");i=t.getParameter(n.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}else i=0;return i},getMaxPrecision:r,precision:a,logarithmicDepthBuffer:c,maxTextures:h,maxVertexTextures:u,maxTextureSize:d,maxCubemapSize:p,maxAttributes:m,maxVertexUniforms:f,maxVaryings:g,maxFragmentUniforms:v,vertexTextures:_,floatFragmentTextures:x,floatVertexTextures:_&&x,maxSamples:s?t.getParameter(36183):0}}function Qr(t){const e=this;let n=null,i=0,r=!1,s=!1;const a=new Br,o=new je,l={value:null,needsUpdate:!1};function c(t,n,i,r){const s=null!==t?t.length:0;let c=null;if(0!==s){if(c=l.value,!0!==r||null===c){const e=i+4*s,r=n.matrixWorldInverse;o.getNormalMatrix(r),(null===c||c.length<e)&&(c=new Float32Array(e));for(let e=0,n=i;e!==s;++e,n+=4)a.copy(t[e]).applyMatrix4(r,o),a.normal.toArray(c,n),c[n+3]=a.constant}l.value=c,l.needsUpdate=!0}return e.numPlanes=s,e.numIntersection=0,c}this.uniform=l,this.numPlanes=0,this.numIntersection=0,this.init=function(t,e){const n=0!==t.length||e||0!==i||r;return r=e,i=t.length,n},this.beginShadows=function(){s=!0,c(null)},this.endShadows=function(){s=!1},this.setGlobalState=function(t,e){n=c(t,e,0)},this.setState=function(a,o,h){const u=a.clippingPlanes,d=a.clipIntersection,p=a.clipShadows,m=t.get(a);if(!r||null===u||0===u.length||s&&!p)s?c(null):function(){l.value!==n&&(l.value=n,l.needsUpdate=i>0);e.numPlanes=i,e.numIntersection=0}();else{const t=s?0:i,e=4*t;let r=m.clippingState||null;l.value=r,r=c(u,o,e,h);for(let t=0;t!==e;++t)r[t]=n[t];m.clippingState=r,this.numIntersection=d?this.numPlanes:0,this.numPlanes+=t}}}function ts(t){let e=new WeakMap;function n(t,e){return e===Q?t.mapping=K:e===tt&&(t.mapping=$),t}function i(t){const n=t.target;n.removeEventListener("dispose",i);const r=e.get(n);void 0!==r&&(e.delete(n),r.dispose())}return{get:function(r){if(r&&r.isTexture&&!1===r.isRenderTargetTexture){const s=r.mapping;if(s===Q||s===tt){if(e.has(r)){return n(e.get(r).texture,r.mapping)}{const s=r.image;if(s&&s.height>0){const a=new Ur(s.height/2);return a.fromEquirectangularTexture(t,r),e.set(r,a),r.addEventListener("dispose",i),n(a.texture,r.mapping)}return null}}}return r},dispose:function(){e=new WeakMap}}}class es extends Lr{constructor(t=-1,e=1,n=1,i=-1,r=.1,s=2e3){super(),this.isOrthographicCamera=!0,this.type="OrthographicCamera",this.zoom=1,this.view=null,this.left=t,this.right=e,this.top=n,this.bottom=i,this.near=r,this.far=s,this.updateProjectionMatrix()}copy(t,e){return super.copy(t,e),this.left=t.left,this.right=t.right,this.top=t.top,this.bottom=t.bottom,this.near=t.near,this.far=t.far,this.zoom=t.zoom,this.view=null===t.view?null:Object.assign({},t.view),this}setViewOffset(t,e,n,i,r,s){null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=t,this.view.fullHeight=e,this.view.offsetX=n,this.view.offsetY=i,this.view.width=r,this.view.height=s,this.updateProjectionMatrix()}clearViewOffset(){null!==this.view&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const t=(this.right-this.left)/(2*this.zoom),e=(this.top-this.bottom)/(2*this.zoom),n=(this.right+this.left)/2,i=(this.top+this.bottom)/2;let r=n-t,s=n+t,a=i+e,o=i-e;if(null!==this.view&&this.view.enabled){const t=(this.right-this.left)/this.view.fullWidth/this.zoom,e=(this.top-this.bottom)/this.view.fullHeight/this.zoom;r+=t*this.view.offsetX,s=r+t*this.view.width,a-=e*this.view.offsetY,o=a-e*this.view.height}this.projectionMatrix.makeOrthographic(r,s,a,o,this.near,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(t){const e=super.toJSON(t);return e.object.zoom=this.zoom,e.object.left=this.left,e.object.right=this.right,e.object.top=this.top,e.object.bottom=this.bottom,e.object.near=this.near,e.object.far=this.far,null!==this.view&&(e.object.view=Object.assign({},this.view)),e}}const ns=4,is=[.125,.215,.35,.446,.526,.582],rs=20,ss=new es,as=new Oi;let os=null;const ls=(1+Math.sqrt(5))/2,cs=1/ls,hs=[new gn(1,1,1),new gn(-1,1,1),new gn(1,1,-1),new gn(-1,1,-1),new gn(0,ls,cs),new gn(0,ls,-cs),new gn(cs,0,ls),new gn(-cs,0,ls),new gn(ls,cs,0),new gn(-ls,cs,0)];class us{constructor(t){this._renderer=t,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(t,e=0,n=.1,i=100){os=this._renderer.getRenderTarget(),this._setSize(256);const r=this._allocateTargets();return r.depthBuffer=!0,this._sceneToCubeUV(t,n,i,r),e>0&&this._blur(r,0,0,e),this._applyPMREM(r),this._cleanup(r),r}fromEquirectangular(t,e=null){return this._fromTexture(t,e)}fromCubemap(t,e=null){return this._fromTexture(t,e)}compileCubemapShader(){null===this._cubemapMaterial&&(this._cubemapMaterial=fs(),this._compileMaterial(this._cubemapMaterial))}compileEquirectangularShader(){null===this._equirectMaterial&&(this._equirectMaterial=ms(),this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),null!==this._cubemapMaterial&&this._cubemapMaterial.dispose(),null!==this._equirectMaterial&&this._equirectMaterial.dispose()}_setSize(t){this._lodMax=Math.floor(Math.log2(t)),this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){null!==this._blurMaterial&&this._blurMaterial.dispose(),null!==this._pingPongRenderTarget&&this._pingPongRenderTarget.dispose();for(let t=0;t<this._lodPlanes.length;t++)this._lodPlanes[t].dispose()}_cleanup(t){this._renderer.setRenderTarget(os),t.scissorTest=!1,ps(t,0,0,t.width,t.height)}_fromTexture(t,e){t.mapping===K||t.mapping===$?this._setSize(0===t.image.length?16:t.image[0].width||t.image[0].image.width):this._setSize(t.image.width/4),os=this._renderer.getRenderTarget();const n=e||this._allocateTargets();return this._textureToCubeUV(t,n),this._applyPMREM(n),this._cleanup(n),n}_allocateTargets(){const t=3*Math.max(this._cubeSize,112),e=4*this._cubeSize,n={magFilter:lt,minFilter:lt,generateMipmaps:!1,type:_t,format:bt,encoding:ve,depthBuffer:!1},i=ds(t,e,n);if(null===this._pingPongRenderTarget||this._pingPongRenderTarget.width!==t||this._pingPongRenderTarget.height!==e){null!==this._pingPongRenderTarget&&this._dispose(),this._pingPongRenderTarget=ds(t,e,n);const{_lodMax:i}=this;({sizeLods:this._sizeLods,lodPlanes:this._lodPlanes,sigmas:this._sigmas}=function(t){const e=[],n=[],i=[];let r=t;const s=t-ns+1+is.length;for(let a=0;a<s;a++){const s=Math.pow(2,r);n.push(s);let o=1/s;a>t-ns?o=is[a-t+ns-1]:0===a&&(o=0),i.push(o);const l=1/(s-2),c=-l,h=1+l,u=[c,c,h,c,h,h,c,c,h,h,c,h],d=6,p=6,m=3,f=2,g=1,v=new Float32Array(m*p*d),_=new Float32Array(f*p*d),x=new Float32Array(g*p*d);for(let t=0;t<d;t++){const e=t%3*2/3-1,n=t>2?0:-1,i=[e,n,0,e+2/3,n,0,e+2/3,n+1,0,e,n,0,e+2/3,n+1,0,e,n+1,0];v.set(i,m*p*t),_.set(u,f*p*t);const r=[t,t,t,t,t,t];x.set(r,g*p*t)}const y=new ir;y.setAttribute("position",new qi(v,m)),y.setAttribute("uv",new qi(_,f)),y.setAttribute("faceIndex",new qi(x,g)),e.push(y),r>ns&&r--}return{lodPlanes:e,sizeLods:n,sigmas:i}}(i)),this._blurMaterial=function(t,e,n){const i=new Float32Array(rs),r=new gn(0,1,0),s=new Cr({name:"SphericalGaussianBlur",defines:{n:rs,CUBEUV_TEXEL_WIDTH:1/e,CUBEUV_TEXEL_HEIGHT:1/n,CUBEUV_MAX_MIP:`${t}.0`},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:i},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:r}},vertexShader:gs(),fragmentShader:"\n\n\t\t\tprecision mediump float;\n\t\t\tprecision mediump int;\n\n\t\t\tvarying vec3 vOutputDirection;\n\n\t\t\tuniform sampler2D envMap;\n\t\t\tuniform int samples;\n\t\t\tuniform float weights[ n ];\n\t\t\tuniform bool latitudinal;\n\t\t\tuniform float dTheta;\n\t\t\tuniform float mipInt;\n\t\t\tuniform vec3 poleAxis;\n\n\t\t\t#define ENVMAP_TYPE_CUBE_UV\n\t\t\t#include <cube_uv_reflection_fragment>\n\n\t\t\tvec3 getSample( float theta, vec3 axis ) {\n\n\t\t\t\tfloat cosTheta = cos( theta );\n\t\t\t\t// Rodrigues' axis-angle rotation\n\t\t\t\tvec3 sampleDirection = vOutputDirection * cosTheta\n\t\t\t\t\t+ cross( axis, vOutputDirection ) * sin( theta )\n\t\t\t\t\t+ axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta );\n\n\t\t\t\treturn bilinearCubeUV( envMap, sampleDirection, mipInt );\n\n\t\t\t}\n\n\t\t\tvoid main() {\n\n\t\t\t\tvec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection );\n\n\t\t\t\tif ( all( equal( axis, vec3( 0.0 ) ) ) ) {\n\n\t\t\t\t\taxis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x );\n\n\t\t\t\t}\n\n\t\t\t\taxis = normalize( axis );\n\n\t\t\t\tgl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 );\n\t\t\t\tgl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis );\n\n\t\t\t\tfor ( int i = 1; i < n; i++ ) {\n\n\t\t\t\t\tif ( i >= samples ) {\n\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t}\n\n\t\t\t\t\tfloat theta = dTheta * float( i );\n\t\t\t\t\tgl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis );\n\t\t\t\t\tgl_FragColor.rgb += weights[ i ] * getSample( theta, axis );\n\n\t\t\t\t}\n\n\t\t\t}\n\t\t",blending:u,depthTest:!1,depthWrite:!1});return s}(i,t,e)}return i}_compileMaterial(t){const e=new Mr(this._lodPlanes[0],t);this._renderer.compile(e,ss)}_sceneToCubeUV(t,e,n,i){const r=new Pr(90,1,e,n),s=[1,-1,1,1,1,1],a=[1,1,1,-1,-1,-1],o=this._renderer,l=o.autoClear,h=o.toneMapping;o.getClearColor(as),o.toneMapping=W,o.autoClear=!1;const u=new Bi({name:"PMREM.Background",side:c,depthWrite:!1,depthTest:!1}),d=new Mr(new br(),u);let p=!1;const m=t.background;m?m.isColor&&(u.color.copy(m),t.background=null,p=!0):(u.color.copy(as),p=!0);for(let e=0;e<6;e++){const n=e%3;0===n?(r.up.set(0,s[e],0),r.lookAt(a[e],0,0)):1===n?(r.up.set(0,0,s[e]),r.lookAt(0,a[e],0)):(r.up.set(0,s[e],0),r.lookAt(0,0,a[e]));const l=this._cubeSize;ps(i,n*l,e>2?l:0,l,l),o.setRenderTarget(i),p&&o.render(d,r),o.render(t,r)}d.geometry.dispose(),d.material.dispose(),o.toneMapping=h,o.autoClear=l,t.background=m}_textureToCubeUV(t,e){const n=this._renderer,i=t.mapping===K||t.mapping===$;i?(null===this._cubemapMaterial&&(this._cubemapMaterial=fs()),this._cubemapMaterial.uniforms.flipEnvMap.value=!1===t.isRenderTargetTexture?-1:1):null===this._equirectMaterial&&(this._equirectMaterial=ms());const r=i?this._cubemapMaterial:this._equirectMaterial,s=new Mr(this._lodPlanes[0],r);r.uniforms.envMap.value=t;const a=this._cubeSize;ps(e,0,0,3*a,2*a),n.setRenderTarget(e),n.render(s,ss)}_applyPMREM(t){const e=this._renderer,n=e.autoClear;e.autoClear=!1;for(let e=1;e<this._lodPlanes.length;e++){const n=Math.sqrt(this._sigmas[e]*this._sigmas[e]-this._sigmas[e-1]*this._sigmas[e-1]),i=hs[(e-1)%hs.length];this._blur(t,e-1,e,n,i)}e.autoClear=n}_blur(t,e,n,i,r){const s=this._pingPongRenderTarget;this._halfBlur(t,s,e,n,i,"latitudinal",r),this._halfBlur(s,t,n,n,i,"longitudinal",r)}_halfBlur(t,e,n,i,r,s,a){const o=this._renderer,l=this._blurMaterial;"latitudinal"!==s&&"longitudinal"!==s&&console.error("blur direction must be either latitudinal or longitudinal!");const c=new Mr(this._lodPlanes[i],l),h=l.uniforms,u=this._sizeLods[n]-1,d=isFinite(r)?Math.PI/(2*u):2*Math.PI/(2*rs-1),p=r/d,m=isFinite(r)?1+Math.floor(3*p):rs;m>rs&&console.warn(`sigmaRadians, ${r}, is too large and will clip, as it requested ${m} samples when the maximum is set to ${rs}`);const f=[];let g=0;for(let t=0;t<rs;++t){const e=t/p,n=Math.exp(-e*e/2);f.push(n),0===t?g+=n:t<m&&(g+=2*n)}for(let t=0;t<f.length;t++)f[t]=f[t]/g;h.envMap.value=t.texture,h.samples.value=m,h.weights.value=f,h.latitudinal.value="latitudinal"===s,a&&(h.poleAxis.value=a);const{_lodMax:v}=this;h.dTheta.value=d,h.mipInt.value=v-n;const _=this._sizeLods[i];ps(e,3*_*(i>v-ns?i-v+ns:0),4*(this._cubeSize-_),3*_,2*_),o.setRenderTarget(e),o.render(c,ss)}}function ds(t,e,n){const i=new dn(t,e,n);return i.texture.mapping=et,i.texture.name="PMREM.cubeUv",i.scissorTest=!0,i}function ps(t,e,n,i,r){t.viewport.set(e,n,i,r),t.scissor.set(e,n,i,r)}function ms(){return new Cr({name:"EquirectangularToCubeUV",uniforms:{envMap:{value:null}},vertexShader:gs(),fragmentShader:"\n\n\t\t\tprecision mediump float;\n\t\t\tprecision mediump int;\n\n\t\t\tvarying vec3 vOutputDirection;\n\n\t\t\tuniform sampler2D envMap;\n\n\t\t\t#include <common>\n\n\t\t\tvoid main() {\n\n\t\t\t\tvec3 outputDirection = normalize( vOutputDirection );\n\t\t\t\tvec2 uv = equirectUv( outputDirection );\n\n\t\t\t\tgl_FragColor = vec4( texture2D ( envMap, uv ).rgb, 1.0 );\n\n\t\t\t}\n\t\t",blending:u,depthTest:!1,depthWrite:!1})}function fs(){return new Cr({name:"CubemapToCubeUV",uniforms:{envMap:{value:null},flipEnvMap:{value:-1}},vertexShader:gs(),fragmentShader:"\n\n\t\t\tprecision mediump float;\n\t\t\tprecision mediump int;\n\n\t\t\tuniform float flipEnvMap;\n\n\t\t\tvarying vec3 vOutputDirection;\n\n\t\t\tuniform samplerCube envMap;\n\n\t\t\tvoid main() {\n\n\t\t\t\tgl_FragColor = textureCube( envMap, vec3( flipEnvMap * vOutputDirection.x, vOutputDirection.yz ) );\n\n\t\t\t}\n\t\t",blending:u,depthTest:!1,depthWrite:!1})}function gs(){return"\n\n\t\tprecision mediump float;\n\t\tprecision mediump int;\n\n\t\tattribute float faceIndex;\n\n\t\tvarying vec3 vOutputDirection;\n\n\t\t// RH coordinate system; PMREM face-indexing convention\n\t\tvec3 getDirection( vec2 uv, float face ) {\n\n\t\t\tuv = 2.0 * uv - 1.0;\n\n\t\t\tvec3 direction = vec3( uv, 1.0 );\n\n\t\t\tif ( face == 0.0 ) {\n\n\t\t\t\tdirection = direction.zyx; // ( 1, v, u ) pos x\n\n\t\t\t} else if ( face == 1.0 ) {\n\n\t\t\t\tdirection = direction.xzy;\n\t\t\t\tdirection.xz *= -1.0; // ( -u, 1, -v ) pos y\n\n\t\t\t} else if ( face == 2.0 ) {\n\n\t\t\t\tdirection.x *= -1.0; // ( -u, v, 1 ) pos z\n\n\t\t\t} else if ( face == 3.0 ) {\n\n\t\t\t\tdirection = direction.zyx;\n\t\t\t\tdirection.xz *= -1.0; // ( -1, v, -u ) neg x\n\n\t\t\t} else if ( face == 4.0 ) {\n\n\t\t\t\tdirection = direction.xzy;\n\t\t\t\tdirection.xy *= -1.0; // ( -u, -1, v ) neg y\n\n\t\t\t} else if ( face == 5.0 ) {\n\n\t\t\t\tdirection.z *= -1.0; // ( u, v, -1 ) neg z\n\n\t\t\t}\n\n\t\t\treturn direction;\n\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tvOutputDirection = getDirection( uv, faceIndex );\n\t\t\tgl_Position = vec4( position, 1.0 );\n\n\t\t}\n\t"}function vs(t){let e=new WeakMap,n=null;function i(t){const n=t.target;n.removeEventListener("dispose",i);const r=e.get(n);void 0!==r&&(e.delete(n),r.dispose())}return{get:function(r){if(r&&r.isTexture){const s=r.mapping,a=s===Q||s===tt,o=s===K||s===$;if(a||o){if(r.isRenderTargetTexture&&!0===r.needsPMREMUpdate){r.needsPMREMUpdate=!1;let i=e.get(r);return null===n&&(n=new us(t)),i=a?n.fromEquirectangular(r,i):n.fromCubemap(r,i),e.set(r,i),i.texture}if(e.has(r))return e.get(r).texture;{const s=r.image;if(a&&s&&s.height>0||o&&s&&function(t){let e=0;const n=6;for(let i=0;i<n;i++)void 0!==t[i]&&e++;return e===n}(s)){null===n&&(n=new us(t));const s=a?n.fromEquirectangular(r):n.fromCubemap(r);return e.set(r,s),r.addEventListener("dispose",i),s.texture}return null}}}return r},dispose:function(){e=new WeakMap,null!==n&&(n.dispose(),n=null)}}}function _s(t){const e={};function n(n){if(void 0!==e[n])return e[n];let i;switch(n){case"WEBGL_depth_texture":i=t.getExtension("WEBGL_depth_texture")||t.getExtension("MOZ_WEBGL_depth_texture")||t.getExtension("WEBKIT_WEBGL_depth_texture");break;case"EXT_texture_filter_anisotropic":i=t.getExtension("EXT_texture_filter_anisotropic")||t.getExtension("MOZ_EXT_texture_filter_anisotropic")||t.getExtension("WEBKIT_EXT_texture_filter_anisotropic");break;case"WEBGL_compressed_texture_s3tc":i=t.getExtension("WEBGL_compressed_texture_s3tc")||t.getExtension("MOZ_WEBGL_compressed_texture_s3tc")||t.getExtension("WEBKIT_WEBGL_compressed_texture_s3tc");break;case"WEBGL_compressed_texture_pvrtc":i=t.getExtension("WEBGL_compressed_texture_pvrtc")||t.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc");break;default:i=t.getExtension(n);}return e[n]=i,i}return{has:function(t){return null!==n(t)},init:function(t){t.isWebGL2?n("EXT_color_buffer_float"):(n("WEBGL_depth_texture"),n("OES_texture_float"),n("OES_texture_half_float"),n("OES_texture_half_float_linear"),n("OES_standard_derivatives"),n("OES_element_index_uint"),n("OES_vertex_array_object"),n("ANGLE_instanced_arrays")),n("OES_texture_float_linear"),n("EXT_color_buffer_half_float"),n("WEBGL_multisampled_render_to_texture")},get:function(t){const e=n(t);return null===e&&console.warn("THREE.WebGLRenderer: "+t+" extension not supported."),e}}}function xs(t,e,n,i){const r={},s=new WeakMap;function a(t){const o=t.target;null!==o.index&&e.remove(o.index);for(const t in o.attributes)e.remove(o.attributes[t]);o.removeEventListener("dispose",a),delete r[o.id];const l=s.get(o);l&&(e.remove(l),s.delete(o)),i.releaseStatesOfGeometry(o),!0===o.isInstancedBufferGeometry&&delete o._maxInstanceCount,n.memory.geometries--}function o(t){const n=[],i=t.index,r=t.attributes.position;let a=0;if(null!==i){const t=i.array;a=i.version;for(let e=0,i=t.length;e<i;e+=3){const i=t[e+0],r=t[e+1],s=t[e+2];n.push(i,r,r,s,s,i)}}else{const t=r.array;a=r.version;for(let e=0,i=t.length/3-1;e<i;e+=3){const t=e+0,i=e+1,r=e+2;n.push(t,i,i,r,r,t)}}const o=new(Xe(n)?Yi:Xi)(n,1);o.version=a;const l=s.get(t);l&&e.remove(l),s.set(t,o)}return{get:function(t,e){return!0===r[e.id]||(e.addEventListener("dispose",a),r[e.id]=!0,n.memory.geometries++),e},update:function(t){const n=t.attributes;for(const t in n)e.update(n[t],34962);const i=t.morphAttributes;for(const t in i){const n=i[t];for(let t=0,i=n.length;t<i;t++)e.update(n[t],34962)}},getWireframeAttribute:function(t){const e=s.get(t);if(e){const n=t.index;null!==n&&e.version<n.version&&o(t)}else o(t);return s.get(t)}}}function ys(t,e,n,i){const r=i.isWebGL2;let s,a,o;this.setMode=function(t){s=t},this.setIndex=function(t){a=t.type,o=t.bytesPerElement},this.render=function(e,i){t.drawElements(s,i,a,e*o),n.update(i,s,1)},this.renderInstances=function(i,l,c){if(0===c)return;let h,u;if(r)h=t,u="drawElementsInstanced";else if(h=e.get("ANGLE_instanced_arrays"),u="drawElementsInstancedANGLE",null===h)return void console.error("THREE.WebGLIndexedBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");h[u](s,l,a,i*o,c),n.update(l,s,c)}}function Ms(t){const e={frame:0,calls:0,triangles:0,points:0,lines:0};return{memory:{geometries:0,textures:0},render:e,programs:null,autoReset:!0,reset:function(){e.frame++,e.calls=0,e.triangles=0,e.points=0,e.lines=0},update:function(t,n,i){switch(e.calls++,n){case 4:e.triangles+=i*(t/3);break;case 1:e.lines+=i*(t/2);break;case 3:e.lines+=i*(t-1);break;case 2:e.lines+=i*t;break;case 0:e.points+=i*t;break;default:console.error("THREE.WebGLInfo: Unknown draw mode:",n);}}}}function Ss(t,e){return t[0]-e[0]}function bs(t,e){return Math.abs(e[1])-Math.abs(t[1])}function ws(t,e,n){const i={},r=new Float32Array(8),s=new WeakMap,a=new un,o=[];for(let t=0;t<8;t++)o[t]=[t,0];return{update:function(l,c,h){const u=l.morphTargetInfluences;if(!0===e.isWebGL2){const d=c.morphAttributes.position||c.morphAttributes.normal||c.morphAttributes.color,p=void 0!==d?d.length:0;let m=s.get(c);if(void 0===m||m.count!==p){void 0!==m&&m.texture.dispose();const v=void 0!==c.morphAttributes.position,_=void 0!==c.morphAttributes.normal,x=void 0!==c.morphAttributes.color,y=c.morphAttributes.position||[],M=c.morphAttributes.normal||[],S=c.morphAttributes.color||[];let b=0;!0===v&&(b=1),!0===_&&(b=2),!0===x&&(b=3);let w=c.attributes.position.count*b,T=1;w>e.maxTextureSize&&(T=Math.ceil(w/e.maxTextureSize),w=e.maxTextureSize);const E=new Float32Array(w*T*4*p),A=new pn(E,w,T,p);A.type=vt,A.needsUpdate=!0;const C=4*b;for(let P=0;P<p;P++){const R=y[P],I=M[P],D=S[P],U=w*T*4*P;for(let N=0;N<R.count;N++){const O=N*C;!0===v&&(a.fromBufferAttribute(R,N),E[U+O+0]=a.x,E[U+O+1]=a.y,E[U+O+2]=a.z,E[U+O+3]=0),!0===_&&(a.fromBufferAttribute(I,N),E[U+O+4]=a.x,E[U+O+5]=a.y,E[U+O+6]=a.z,E[U+O+7]=0),!0===x&&(a.fromBufferAttribute(D,N),E[U+O+8]=a.x,E[U+O+9]=a.y,E[U+O+10]=a.z,E[U+O+11]=4===D.itemSize?a.w:1)}}function L(){A.dispose(),s.delete(c),c.removeEventListener("dispose",L)}m={count:p,texture:A,size:new We(w,T)},s.set(c,m),c.addEventListener("dispose",L)}let f=0;for(let z=0;z<u.length;z++)f+=u[z];const g=c.morphTargetsRelative?1:1-f;h.getUniforms().setValue(t,"morphTargetBaseInfluence",g),h.getUniforms().setValue(t,"morphTargetInfluences",u),h.getUniforms().setValue(t,"morphTargetsTexture",m.texture,n),h.getUniforms().setValue(t,"morphTargetsTextureSize",m.size)}else{const B=void 0===u?0:u.length;let F=i[c.id];if(void 0===F||F.length!==B){F=[];for(let W=0;W<B;W++)F[W]=[W,0];i[c.id]=F}for(let j=0;j<B;j++){const q=F[j];q[0]=j,q[1]=u[j]}F.sort(bs);for(let X=0;X<8;X++)X<B&&F[X][1]?(o[X][0]=F[X][0],o[X][1]=F[X][1]):(o[X][0]=Number.MAX_SAFE_INTEGER,o[X][1]=0);o.sort(Ss);const k=c.morphAttributes.position,G=c.morphAttributes.normal;let V=0;for(let Y=0;Y<8;Y++){const Z=o[Y],J=Z[0],K=Z[1];J!==Number.MAX_SAFE_INTEGER&&K?(k&&c.getAttribute("morphTarget"+Y)!==k[J]&&c.setAttribute("morphTarget"+Y,k[J]),G&&c.getAttribute("morphNormal"+Y)!==G[J]&&c.setAttribute("morphNormal"+Y,G[J]),r[Y]=K,V+=K):(k&&!0===c.hasAttribute("morphTarget"+Y)&&c.deleteAttribute("morphTarget"+Y),G&&!0===c.hasAttribute("morphNormal"+Y)&&c.deleteAttribute("morphNormal"+Y),r[Y]=0)}const H=c.morphTargetsRelative?1:1-V;h.getUniforms().setValue(t,"morphTargetBaseInfluence",H),h.getUniforms().setValue(t,"morphTargetInfluences",r)}}}}function Ts(t,e,n,i){let r=new WeakMap;function s(t){const e=t.target;e.removeEventListener("dispose",s),n.remove(e.instanceMatrix),null!==e.instanceColor&&n.remove(e.instanceColor)}return{update:function(t){const a=i.render.frame,o=t.geometry,l=e.get(t,o);return r.get(l)!==a&&(e.update(l),r.set(l,a)),t.isInstancedMesh&&(!1===t.hasEventListener("dispose",s)&&t.addEventListener("dispose",s),n.update(t.instanceMatrix,34962),null!==t.instanceColor&&n.update(t.instanceColor,34962)),l},dispose:function(){r=new WeakMap}}}const Es=new hn,As=new pn,Cs=new mn,Ls=new Dr,Ps=[],Rs=[],Is=new Float32Array(16),Ds=new Float32Array(9),Us=new Float32Array(4);function Ns(t,e,n){const i=t[0];if(i<=0||i>0)return t;const r=e*n;let s=Ps[r];if(void 0===s&&(s=new Float32Array(r),Ps[r]=s),0!==e){i.toArray(s,0);for(let i=1,r=0;i!==e;++i)r+=n,t[i].toArray(s,r)}return s}function Os(t,e){if(t.length!==e.length)return!1;for(let n=0,i=t.length;n<i;n++)if(t[n]!==e[n])return!1;return!0}function zs(t,e){for(let n=0,i=e.length;n<i;n++)t[n]=e[n]}function Bs(t,e){let n=Rs[e];void 0===n&&(n=new Int32Array(e),Rs[e]=n);for(let i=0;i!==e;++i)n[i]=t.allocateTextureUnit();return n}function Fs(t,e){const n=this.cache;n[0]!==e&&(t.uniform1f(this.addr,e),n[0]=e)}function ks(t,e){const n=this.cache;if(void 0!==e.x)n[0]===e.x&&n[1]===e.y||(t.uniform2f(this.addr,e.x,e.y),n[0]=e.x,n[1]=e.y);else{if(Os(n,e))return;t.uniform2fv(this.addr,e),zs(n,e)}}function Gs(t,e){const n=this.cache;if(void 0!==e.x)n[0]===e.x&&n[1]===e.y&&n[2]===e.z||(t.uniform3f(this.addr,e.x,e.y,e.z),n[0]=e.x,n[1]=e.y,n[2]=e.z);else if(void 0!==e.r)n[0]===e.r&&n[1]===e.g&&n[2]===e.b||(t.uniform3f(this.addr,e.r,e.g,e.b),n[0]=e.r,n[1]=e.g,n[2]=e.b);else{if(Os(n,e))return;t.uniform3fv(this.addr,e),zs(n,e)}}function Vs(t,e){const n=this.cache;if(void 0!==e.x)n[0]===e.x&&n[1]===e.y&&n[2]===e.z&&n[3]===e.w||(t.uniform4f(this.addr,e.x,e.y,e.z,e.w),n[0]=e.x,n[1]=e.y,n[2]=e.z,n[3]=e.w);else{if(Os(n,e))return;t.uniform4fv(this.addr,e),zs(n,e)}}function Hs(t,e){const n=this.cache,i=e.elements;if(void 0===i){if(Os(n,e))return;t.uniformMatrix2fv(this.addr,!1,e),zs(n,e)}else{if(Os(n,i))return;Us.set(i),t.uniformMatrix2fv(this.addr,!1,Us),zs(n,i)}}function Ws(t,e){const n=this.cache,i=e.elements;if(void 0===i){if(Os(n,e))return;t.uniformMatrix3fv(this.addr,!1,e),zs(n,e)}else{if(Os(n,i))return;Ds.set(i),t.uniformMatrix3fv(this.addr,!1,Ds),zs(n,i)}}function js(t,e){const n=this.cache,i=e.elements;if(void 0===i){if(Os(n,e))return;t.uniformMatrix4fv(this.addr,!1,e),zs(n,e)}else{if(Os(n,i))return;Is.set(i),t.uniformMatrix4fv(this.addr,!1,Is),zs(n,i)}}function qs(t,e){const n=this.cache;n[0]!==e&&(t.uniform1i(this.addr,e),n[0]=e)}function Xs(t,e){const n=this.cache;if(void 0!==e.x)n[0]===e.x&&n[1]===e.y||(t.uniform2i(this.addr,e.x,e.y),n[0]=e.x,n[1]=e.y);else{if(Os(n,e))return;t.uniform2iv(this.addr,e),zs(n,e)}}function Ys(t,e){const n=this.cache;if(void 0!==e.x)n[0]===e.x&&n[1]===e.y&&n[2]===e.z||(t.uniform3i(this.addr,e.x,e.y,e.z),n[0]=e.x,n[1]=e.y,n[2]=e.z);else{if(Os(n,e))return;t.uniform3iv(this.addr,e),zs(n,e)}}function Zs(t,e){const n=this.cache;if(void 0!==e.x)n[0]===e.x&&n[1]===e.y&&n[2]===e.z&&n[3]===e.w||(t.uniform4i(this.addr,e.x,e.y,e.z,e.w),n[0]=e.x,n[1]=e.y,n[2]=e.z,n[3]=e.w);else{if(Os(n,e))return;t.uniform4iv(this.addr,e),zs(n,e)}}function Js(t,e){const n=this.cache;n[0]!==e&&(t.uniform1ui(this.addr,e),n[0]=e)}function Ks(t,e){const n=this.cache;if(void 0!==e.x)n[0]===e.x&&n[1]===e.y||(t.uniform2ui(this.addr,e.x,e.y),n[0]=e.x,n[1]=e.y);else{if(Os(n,e))return;t.uniform2uiv(this.addr,e),zs(n,e)}}function $s(t,e){const n=this.cache;if(void 0!==e.x)n[0]===e.x&&n[1]===e.y&&n[2]===e.z||(t.uniform3ui(this.addr,e.x,e.y,e.z),n[0]=e.x,n[1]=e.y,n[2]=e.z);else{if(Os(n,e))return;t.uniform3uiv(this.addr,e),zs(n,e)}}function Qs(t,e){const n=this.cache;if(void 0!==e.x)n[0]===e.x&&n[1]===e.y&&n[2]===e.z&&n[3]===e.w||(t.uniform4ui(this.addr,e.x,e.y,e.z,e.w),n[0]=e.x,n[1]=e.y,n[2]=e.z,n[3]=e.w);else{if(Os(n,e))return;t.uniform4uiv(this.addr,e),zs(n,e)}}function ta(t,e,n){const i=this.cache,r=n.allocateTextureUnit();i[0]!==r&&(t.uniform1i(this.addr,r),i[0]=r),n.setTexture2D(e||Es,r)}function ea(t,e,n){const i=this.cache,r=n.allocateTextureUnit();i[0]!==r&&(t.uniform1i(this.addr,r),i[0]=r),n.setTexture3D(e||Cs,r)}function na(t,e,n){const i=this.cache,r=n.allocateTextureUnit();i[0]!==r&&(t.uniform1i(this.addr,r),i[0]=r),n.setTextureCube(e||Ls,r)}function ia(t,e,n){const i=this.cache,r=n.allocateTextureUnit();i[0]!==r&&(t.uniform1i(this.addr,r),i[0]=r),n.setTexture2DArray(e||As,r)}function ra(t,e){t.uniform1fv(this.addr,e)}function sa(t,e){const n=Ns(e,this.size,2);t.uniform2fv(this.addr,n)}function aa(t,e){const n=Ns(e,this.size,3);t.uniform3fv(this.addr,n)}function oa(t,e){const n=Ns(e,this.size,4);t.uniform4fv(this.addr,n)}function la(t,e){const n=Ns(e,this.size,4);t.uniformMatrix2fv(this.addr,!1,n)}function ca(t,e){const n=Ns(e,this.size,9);t.uniformMatrix3fv(this.addr,!1,n)}function ha(t,e){const n=Ns(e,this.size,16);t.uniformMatrix4fv(this.addr,!1,n)}function ua(t,e){t.uniform1iv(this.addr,e)}function da(t,e){t.uniform2iv(this.addr,e)}function pa(t,e){t.uniform3iv(this.addr,e)}function ma(t,e){t.uniform4iv(this.addr,e)}function fa(t,e){t.uniform1uiv(this.addr,e)}function ga(t,e){t.uniform2uiv(this.addr,e)}function va(t,e){t.uniform3uiv(this.addr,e)}function _a(t,e){t.uniform4uiv(this.addr,e)}function xa(t,e,n){const i=this.cache,r=e.length,s=Bs(n,r);Os(i,s)||(t.uniform1iv(this.addr,s),zs(i,s));for(let t=0;t!==r;++t)n.setTexture2D(e[t]||Es,s[t])}function ya(t,e,n){const i=this.cache,r=e.length,s=Bs(n,r);Os(i,s)||(t.uniform1iv(this.addr,s),zs(i,s));for(let t=0;t!==r;++t)n.setTexture3D(e[t]||Cs,s[t])}function Ma(t,e,n){const i=this.cache,r=e.length,s=Bs(n,r);Os(i,s)||(t.uniform1iv(this.addr,s),zs(i,s));for(let t=0;t!==r;++t)n.setTextureCube(e[t]||Ls,s[t])}function Sa(t,e,n){const i=this.cache,r=e.length,s=Bs(n,r);Os(i,s)||(t.uniform1iv(this.addr,s),zs(i,s));for(let t=0;t!==r;++t)n.setTexture2DArray(e[t]||As,s[t])}class ba{constructor(t,e,n){this.id=t,this.addr=n,this.cache=[],this.setValue=function(t){switch(t){case 5126:return Fs;case 35664:return ks;case 35665:return Gs;case 35666:return Vs;case 35674:return Hs;case 35675:return Ws;case 35676:return js;case 5124:case 35670:return qs;case 35667:case 35671:return Xs;case 35668:case 35672:return Ys;case 35669:case 35673:return Zs;case 5125:return Js;case 36294:return Ks;case 36295:return $s;case 36296:return Qs;case 35678:case 36198:case 36298:case 36306:case 35682:return ta;case 35679:case 36299:case 36307:return ea;case 35680:case 36300:case 36308:case 36293:return na;case 36289:case 36303:case 36311:case 36292:return ia;}}(e.type)}}class wa{constructor(t,e,n){this.id=t,this.addr=n,this.cache=[],this.size=e.size,this.setValue=function(t){switch(t){case 5126:return ra;case 35664:return sa;case 35665:return aa;case 35666:return oa;case 35674:return la;case 35675:return ca;case 35676:return ha;case 5124:case 35670:return ua;case 35667:case 35671:return da;case 35668:case 35672:return pa;case 35669:case 35673:return ma;case 5125:return fa;case 36294:return ga;case 36295:return va;case 36296:return _a;case 35678:case 36198:case 36298:case 36306:case 35682:return xa;case 35679:case 36299:case 36307:return ya;case 35680:case 36300:case 36308:case 36293:return Ma;case 36289:case 36303:case 36311:case 36292:return Sa;}}(e.type)}}class Ta{constructor(t){this.id=t,this.seq=[],this.map={}}setValue(t,e,n){const i=this.seq;for(let r=0,s=i.length;r!==s;++r){const s=i[r];s.setValue(t,e[s.id],n)}}}const Ea=/(\w+)(\])?(\[|\.)?/g;function Aa(t,e){t.seq.push(e),t.map[e.id]=e}function Ca(t,e,n){const i=t.name,r=i.length;for(Ea.lastIndex=0;;){const s=Ea.exec(i),a=Ea.lastIndex;let o=s[1];const l="]"===s[2],c=s[3];if(l&&(o|=0),void 0===c||"["===c&&a+2===r){Aa(n,void 0===c?new ba(o,t,e):new wa(o,t,e));break}{let t=n.map[o];void 0===t&&(t=new Ta(o),Aa(n,t)),n=t}}}class La{constructor(t,e){this.seq=[],this.map={};const n=t.getProgramParameter(e,35718);for(let i=0;i<n;++i){const n=t.getActiveUniform(e,i);Ca(n,t.getUniformLocation(e,n.name),this)}}setValue(t,e,n,i){const r=this.map[e];void 0!==r&&r.setValue(t,n,i)}setOptional(t,e,n){const i=e[n];void 0!==i&&this.setValue(t,n,i)}static upload(t,e,n,i){for(let r=0,s=e.length;r!==s;++r){const s=e[r],a=n[s.id];!1!==a.needsUpdate&&s.setValue(t,a.value,i)}}static seqWithValue(t,e){const n=[];for(let i=0,r=t.length;i!==r;++i){const r=t[i];r.id in e&&n.push(r)}return n}}function Pa(t,e,n){const i=t.createShader(e);return t.shaderSource(i,n),t.compileShader(i),i}let Ra=0;function Ia(t,e,n){const i=t.getShaderParameter(e,35713),r=t.getShaderInfoLog(e).trim();if(i&&""===r)return"";const s=/ERROR: 0:(\d+)/.exec(r);if(s){const i=parseInt(s[1]);return n.toUpperCase()+"\n\n"+r+"\n\n"+function(t,e){const n=t.split("\n"),i=[],r=Math.max(e-6,0),s=Math.min(e+6,n.length);for(let t=r;t<s;t++){const r=t+1;i.push(`${r===e?">":" "} ${r}: ${n[t]}`)}return i.join("\n")}(t.getShaderSource(e),i)}return r}function Da(t,e){const n=function(t){switch(t){case ve:return["Linear","( value )"];case _e:return["sRGB","( value )"];default:return console.warn("THREE.WebGLProgram: Unsupported encoding:",t),["Linear","( value )"];}}(e);return"vec4 "+t+"( vec4 value ) { return LinearTo"+n[0]+n[1]+"; }"}function Ua(t,e){let n;switch(e){case j:n="Linear";break;case q:n="Reinhard";break;case X:n="OptimizedCineon";break;case Y:n="ACESFilmic";break;case Z:n="Custom";break;default:console.warn("THREE.WebGLProgram: Unsupported toneMapping:",e),n="Linear";}return"vec3 "+t+"( vec3 color ) { return "+n+"ToneMapping( color ); }"}function Na(t){return""!==t}function Oa(t,e){const n=e.numSpotLightShadows+e.numSpotLightMaps-e.numSpotLightShadowsWithMaps;return t.replace(/NUM_DIR_LIGHTS/g,e.numDirLights).replace(/NUM_SPOT_LIGHTS/g,e.numSpotLights).replace(/NUM_SPOT_LIGHT_MAPS/g,e.numSpotLightMaps).replace(/NUM_SPOT_LIGHT_COORDS/g,n).replace(/NUM_RECT_AREA_LIGHTS/g,e.numRectAreaLights).replace(/NUM_POINT_LIGHTS/g,e.numPointLights).replace(/NUM_HEMI_LIGHTS/g,e.numHemiLights).replace(/NUM_DIR_LIGHT_SHADOWS/g,e.numDirLightShadows).replace(/NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS/g,e.numSpotLightShadowsWithMaps).replace(/NUM_SPOT_LIGHT_SHADOWS/g,e.numSpotLightShadows).replace(/NUM_POINT_LIGHT_SHADOWS/g,e.numPointLightShadows)}function za(t,e){return t.replace(/NUM_CLIPPING_PLANES/g,e.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g,e.numClippingPlanes-e.numClipIntersection)}const Ba=/^[ \t]*#include +<([\w\d./]+)>/gm;function Fa(t){return t.replace(Ba,ka)}function ka(t,e){const n=jr[e];if(void 0===n)throw new Error("Can not resolve #include <"+e+">");return Fa(n)}const Ga=/#pragma unroll_loop_start\s+for\s*\(\s*int\s+i\s*=\s*(\d+)\s*;\s*i\s*<\s*(\d+)\s*;\s*i\s*\+\+\s*\)\s*{([\s\S]+?)}\s+#pragma unroll_loop_end/g;function Va(t){return t.replace(Ga,Ha)}function Ha(t,e,n,i){let r="";for(let t=parseInt(e);t<parseInt(n);t++)r+=i.replace(/\[\s*i\s*\]/g,"[ "+t+" ]").replace(/UNROLLED_LOOP_INDEX/g,t);return r}function Wa(t){let e="precision "+t.precision+" float;\nprecision "+t.precision+" int;";return"highp"===t.precision?e+="\n#define HIGH_PRECISION":"mediump"===t.precision?e+="\n#define MEDIUM_PRECISION":"lowp"===t.precision&&(e+="\n#define LOW_PRECISION"),e}function ja(t,e,n,i){const r=t.getContext(),l=n.defines;let c=n.vertexShader,h=n.fragmentShader;const u=function(t){let e="SHADOWMAP_TYPE_BASIC";return t.shadowMapType===s?e="SHADOWMAP_TYPE_PCF":t.shadowMapType===a?e="SHADOWMAP_TYPE_PCF_SOFT":t.shadowMapType===o&&(e="SHADOWMAP_TYPE_VSM"),e}(n),d=function(t){let e="ENVMAP_TYPE_CUBE";if(t.envMap)switch(t.envMapMode){case K:case $:e="ENVMAP_TYPE_CUBE";break;case et:e="ENVMAP_TYPE_CUBE_UV";}return e}(n),p=function(t){let e="ENVMAP_MODE_REFLECTION";t.envMap&&t.envMapMode===$&&(e="ENVMAP_MODE_REFRACTION");return e}(n),m=function(t){let e="ENVMAP_BLENDING_NONE";if(t.envMap)switch(t.combine){case G:e="ENVMAP_BLENDING_MULTIPLY";break;case V:e="ENVMAP_BLENDING_MIX";break;case H:e="ENVMAP_BLENDING_ADD";}return e}(n),f=function(t){const e=t.envMapCubeUVHeight;if(null===e)return null;const n=Math.log2(e)-2,i=1/e;return{texelWidth:1/(3*Math.max(Math.pow(2,n),112)),texelHeight:i,maxMip:n}}(n),g=n.isWebGL2?"":function(t){return[t.extensionDerivatives||t.envMapCubeUVHeight||t.bumpMap||t.normalMapTangentSpace||t.clearcoatNormalMap||t.flatShading||"physical"===t.shaderID?"#extension GL_OES_standard_derivatives : enable":"",(t.extensionFragDepth||t.logarithmicDepthBuffer)&&t.rendererExtensionFragDepth?"#extension GL_EXT_frag_depth : enable":"",t.extensionDrawBuffers&&t.rendererExtensionDrawBuffers?"#extension GL_EXT_draw_buffers : require":"",(t.extensionShaderTextureLOD||t.envMap||t.transmission)&&t.rendererExtensionShaderTextureLod?"#extension GL_EXT_shader_texture_lod : enable":""].filter(Na).join("\n")}(n),v=function(t){const e=[];for(const n in t){const i=t[n];!1!==i&&e.push("#define "+n+" "+i)}return e.join("\n")}(l),_=r.createProgram();let x,y,M=n.glslVersion?"#version "+n.glslVersion+"\n":"";n.isRawShaderMaterial?(x=[v].filter(Na).join("\n"),x.length>0&&(x+="\n"),y=[g,v].filter(Na).join("\n"),y.length>0&&(y+="\n")):(x=[Wa(n),"#define SHADER_NAME "+n.shaderName,v,n.instancing?"#define USE_INSTANCING":"",n.instancingColor?"#define USE_INSTANCING_COLOR":"",n.useFog&&n.fog?"#define USE_FOG":"",n.useFog&&n.fogExp2?"#define FOG_EXP2":"",n.map?"#define USE_MAP":"",n.envMap?"#define USE_ENVMAP":"",n.envMap?"#define "+p:"",n.lightMap?"#define USE_LIGHTMAP":"",n.aoMap?"#define USE_AOMAP":"",n.bumpMap?"#define USE_BUMPMAP":"",n.normalMap?"#define USE_NORMALMAP":"",n.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",n.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",n.displacementMap?"#define USE_DISPLACEMENTMAP":"",n.emissiveMap?"#define USE_EMISSIVEMAP":"",n.clearcoatMap?"#define USE_CLEARCOATMAP":"",n.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",n.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",n.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",n.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",n.specularMap?"#define USE_SPECULARMAP":"",n.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",n.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",n.roughnessMap?"#define USE_ROUGHNESSMAP":"",n.metalnessMap?"#define USE_METALNESSMAP":"",n.alphaMap?"#define USE_ALPHAMAP":"",n.transmission?"#define USE_TRANSMISSION":"",n.transmissionMap?"#define USE_TRANSMISSIONMAP":"",n.thicknessMap?"#define USE_THICKNESSMAP":"",n.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",n.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",n.mapUv?"#define MAP_UV "+n.mapUv:"",n.alphaMapUv?"#define ALPHAMAP_UV "+n.alphaMapUv:"",n.lightMapUv?"#define LIGHTMAP_UV "+n.lightMapUv:"",n.aoMapUv?"#define AOMAP_UV "+n.aoMapUv:"",n.emissiveMapUv?"#define EMISSIVEMAP_UV "+n.emissiveMapUv:"",n.bumpMapUv?"#define BUMPMAP_UV "+n.bumpMapUv:"",n.normalMapUv?"#define NORMALMAP_UV "+n.normalMapUv:"",n.displacementMapUv?"#define DISPLACEMENTMAP_UV "+n.displacementMapUv:"",n.metalnessMapUv?"#define METALNESSMAP_UV "+n.metalnessMapUv:"",n.roughnessMapUv?"#define ROUGHNESSMAP_UV "+n.roughnessMapUv:"",n.clearcoatMapUv?"#define CLEARCOATMAP_UV "+n.clearcoatMapUv:"",n.clearcoatNormalMapUv?"#define CLEARCOAT_NORMALMAP_UV "+n.clearcoatNormalMapUv:"",n.clearcoatRoughnessMapUv?"#define CLEARCOAT_ROUGHNESSMAP_UV "+n.clearcoatRoughnessMapUv:"",n.iridescenceMapUv?"#define IRIDESCENCEMAP_UV "+n.iridescenceMapUv:"",n.iridescenceThicknessMapUv?"#define IRIDESCENCE_THICKNESSMAP_UV "+n.iridescenceThicknessMapUv:"",n.sheenColorMapUv?"#define SHEEN_COLORMAP_UV "+n.sheenColorMapUv:"",n.sheenRoughnessMapUv?"#define SHEEN_ROUGHNESSMAP_UV "+n.sheenRoughnessMapUv:"",n.specularMapUv?"#define SPECULARMAP_UV "+n.specularMapUv:"",n.specularColorMapUv?"#define SPECULAR_COLORMAP_UV "+n.specularColorMapUv:"",n.specularIntensityMapUv?"#define SPECULAR_INTENSITYMAP_UV "+n.specularIntensityMapUv:"",n.transmissionMapUv?"#define TRANSMISSIONMAP_UV "+n.transmissionMapUv:"",n.thicknessMapUv?"#define THICKNESSMAP_UV "+n.thicknessMapUv:"",n.vertexTangents?"#define USE_TANGENT":"",n.vertexColors?"#define USE_COLOR":"",n.vertexAlphas?"#define USE_COLOR_ALPHA":"",n.vertexUvs2?"#define USE_UV2":"",n.pointsUvs?"#define USE_POINTS_UV":"",n.flatShading?"#define FLAT_SHADED":"",n.skinning?"#define USE_SKINNING":"",n.morphTargets?"#define USE_MORPHTARGETS":"",n.morphNormals&&!1===n.flatShading?"#define USE_MORPHNORMALS":"",n.morphColors&&n.isWebGL2?"#define USE_MORPHCOLORS":"",n.morphTargetsCount>0&&n.isWebGL2?"#define MORPHTARGETS_TEXTURE":"",n.morphTargetsCount>0&&n.isWebGL2?"#define MORPHTARGETS_TEXTURE_STRIDE "+n.morphTextureStride:"",n.morphTargetsCount>0&&n.isWebGL2?"#define MORPHTARGETS_COUNT "+n.morphTargetsCount:"",n.doubleSided?"#define DOUBLE_SIDED":"",n.flipSided?"#define FLIP_SIDED":"",n.shadowMapEnabled?"#define USE_SHADOWMAP":"",n.shadowMapEnabled?"#define "+u:"",n.sizeAttenuation?"#define USE_SIZEATTENUATION":"",n.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",n.logarithmicDepthBuffer&&n.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 modelMatrix;","uniform mat4 modelViewMatrix;","uniform mat4 projectionMatrix;","uniform mat4 viewMatrix;","uniform mat3 normalMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;","#ifdef USE_INSTANCING","\tattribute mat4 instanceMatrix;","#endif","#ifdef USE_INSTANCING_COLOR","\tattribute vec3 instanceColor;","#endif","attribute vec3 position;","attribute vec3 normal;","attribute vec2 uv;","#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 ) && ! 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(Na).join("\n"),y=[g,Wa(n),"#define SHADER_NAME "+n.shaderName,v,n.useFog&&n.fog?"#define USE_FOG":"",n.useFog&&n.fogExp2?"#define FOG_EXP2":"",n.map?"#define USE_MAP":"",n.matcap?"#define USE_MATCAP":"",n.envMap?"#define USE_ENVMAP":"",n.envMap?"#define "+d:"",n.envMap?"#define "+p:"",n.envMap?"#define "+m:"",f?"#define CUBEUV_TEXEL_WIDTH "+f.texelWidth:"",f?"#define CUBEUV_TEXEL_HEIGHT "+f.texelHeight:"",f?"#define CUBEUV_MAX_MIP "+f.maxMip+".0":"",n.lightMap?"#define USE_LIGHTMAP":"",n.aoMap?"#define USE_AOMAP":"",n.bumpMap?"#define USE_BUMPMAP":"",n.normalMap?"#define USE_NORMALMAP":"",n.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",n.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",n.emissiveMap?"#define USE_EMISSIVEMAP":"",n.clearcoat?"#define USE_CLEARCOAT":"",n.clearcoatMap?"#define USE_CLEARCOATMAP":"",n.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",n.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",n.iridescence?"#define USE_IRIDESCENCE":"",n.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",n.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",n.specularMap?"#define USE_SPECULARMAP":"",n.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",n.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",n.roughnessMap?"#define USE_ROUGHNESSMAP":"",n.metalnessMap?"#define USE_METALNESSMAP":"",n.alphaMap?"#define USE_ALPHAMAP":"",n.alphaTest?"#define USE_ALPHATEST":"",n.sheen?"#define USE_SHEEN":"",n.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",n.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",n.transmission?"#define USE_TRANSMISSION":"",n.transmissionMap?"#define USE_TRANSMISSIONMAP":"",n.thicknessMap?"#define USE_THICKNESSMAP":"",n.decodeVideoTexture?"#define DECODE_VIDEO_TEXTURE":"",n.vertexTangents?"#define USE_TANGENT":"",n.vertexColors||n.instancingColor?"#define USE_COLOR":"",n.vertexAlphas?"#define USE_COLOR_ALPHA":"",n.vertexUvs2?"#define USE_UV2":"",n.pointsUvs?"#define USE_POINTS_UV":"",n.gradientMap?"#define USE_GRADIENTMAP":"",n.flatShading?"#define FLAT_SHADED":"",n.doubleSided?"#define DOUBLE_SIDED":"",n.flipSided?"#define FLIP_SIDED":"",n.shadowMapEnabled?"#define USE_SHADOWMAP":"",n.shadowMapEnabled?"#define "+u:"",n.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",n.useLegacyLights?"#define LEGACY_LIGHTS":"",n.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",n.logarithmicDepthBuffer&&n.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",n.toneMapping!==W?"#define TONE_MAPPING":"",n.toneMapping!==W?jr.tonemapping_pars_fragment:"",n.toneMapping!==W?Ua("toneMapping",n.toneMapping):"",n.dithering?"#define DITHERING":"",n.opaque?"#define OPAQUE":"",jr.encodings_pars_fragment,Da("linearToOutputTexel",n.outputEncoding),n.useDepthPacking?"#define DEPTH_PACKING "+n.depthPacking:"","\n"].filter(Na).join("\n")),c=Fa(c),c=Oa(c,n),c=za(c,n),h=Fa(h),h=Oa(h,n),h=za(h,n),c=Va(c),h=Va(h),n.isWebGL2&&!0!==n.isRawShaderMaterial&&(M="#version 300 es\n",x=["precision mediump sampler2DArray;","#define attribute in","#define varying out","#define texture2D texture"].join("\n")+"\n"+x,y=["#define varying in",n.glslVersion===Ae?"":"layout(location = 0) out highp vec4 pc_fragColor;",n.glslVersion===Ae?"":"#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"+y);const S=M+y+h,b=Pa(r,35633,M+x+c),w=Pa(r,35632,S);if(r.attachShader(_,b),r.attachShader(_,w),void 0!==n.index0AttributeName?r.bindAttribLocation(_,0,n.index0AttributeName):!0===n.morphTargets&&r.bindAttribLocation(_,0,"position"),r.linkProgram(_),t.debug.checkShaderErrors){const e=r.getProgramInfoLog(_).trim(),n=r.getShaderInfoLog(b).trim(),i=r.getShaderInfoLog(w).trim();let s=!0,a=!0;if(!1===r.getProgramParameter(_,35714)){if(s=!1,"function"==typeof t.debug.onShaderError)t.debug.onShaderError(r,_,b,w);else{const t=Ia(r,b,"vertex"),n=Ia(r,w,"fragment");console.error("THREE.WebGLProgram: Shader Error "+r.getError()+" - VALIDATE_STATUS "+r.getProgramParameter(_,35715
3856)+"\n\nProgram Info Log: "+e+"\n"+t+"\n"+n)}}else""!==e?console.warn("THREE.WebGLProgram: Program Info Log:",e):""!==n&&""!==i||(a=!1);a&&(this.diagnostics={runnable:s,programLog:e,vertexShader:{log:n,prefix:x},fragmentShader:{log:i,prefix:y}})}let T,E;return r.deleteShader(b),r.deleteShader(w),this.getUniforms=function(){return void 0===T&&(T=new La(r,_)),T},this.getAttributes=function(){return void 0===E&&(E=function(t,e){const n={},i=t.getProgramParameter(e,35721);for(let r=0;r<i;r++){const i=t.getActiveAttrib(e,r),s=i.name;let a=1;35674===i.type&&(a=2),35675===i.type&&(a=3),35676===i.type&&(a=4),n[s]={type:i.type,location:t.getAttribLocation(e,s),locationSize:a}}return n}(r,_)),E},this.destroy=function(){i.releaseStatesOfProgram(this),r.deleteProgram(_),this.program=void 0},this.name=n.shaderName,this.id=Ra++,this.cacheKey=e,this.usedTimes=1,this.program=_,this.vertexShader=b,this.fragmentShader=w,this}let qa=0;class Xa{constructor(){this.shaderCache=new Map,this.materialCache=new Map}update(t){const e=t.vertexShader,n=t.fragmentShader,i=this._getShaderStage(e),r=this._getShaderStage(n),s=this._getShaderCacheForMaterial(t);return!1===s.has(i)&&(s.add(i),i.usedTimes++),!1===s.has(r)&&(s.add(r),r.usedTimes++),this}remove(t){const e=this.materialCache.get(t);for(const t of e)t.usedTimes--,0===t.usedTimes&&this.shaderCache.delete(t.code);return this.materialCache.delete(t),this}getVertexShaderID(t){return this._getShaderStage(t.vertexShader).id}getFragmentShaderID(t){return this._getShaderStage(t.fragmentShader).id}dispose(){this.shaderCache.clear(),this.materialCache.clear()}_getShaderCacheForMaterial(t){const e=this.materialCache;let n=e.get(t);return void 0===n&&(n=new Set,e.set(t,n)),n}_getShaderStage(t){const e=this.shaderCache;let n=e.get(t);return void 0===n&&(n=new Ya(t),e.set(t,n)),n}}class Ya{constructor(t){this.id=qa++,this.code=t,this.usedTimes=0}}function Za(t,e,n,i,r,s,a){const o=new ii,l=new Xa,u=[],p=r.isWebGL2,m=r.logarithmicDepthBuffer,f=r.vertexTextures;let g=r.precision;const v={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 _(t){return 1===t?"uv2":"uv"}return{getParameters:function(s,o,u,x,y){const M=x.fog,S=y.geometry,b=s.isMeshStandardMaterial?x.environment:null,w=(s.isMeshStandardMaterial?n:e).get(s.envMap||b),T=w&&w.mapping===et?w.image.height:null,E=v[s.type];null!==s.precision&&(g=r.getMaxPrecision(s.precision),g!==s.precision&&console.warn("THREE.WebGLProgram.getParameters:",s.precision,"not supported, using",g,"instead."));const A=S.morphAttributes.position||S.morphAttributes.normal||S.morphAttributes.color,C=void 0!==A?A.length:0;let L,P,R,I,D=0;if(void 0!==S.morphAttributes.position&&(D=1),void 0!==S.morphAttributes.normal&&(D=2),void 0!==S.morphAttributes.color&&(D=3),E){const t=Xr[E];L=t.vertexShader,P=t.fragmentShader}else L=s.vertexShader,P=s.fragmentShader,l.update(s),R=l.getVertexShaderID(s),I=l.getFragmentShaderID(s);const U=t.getRenderTarget(),N=!0===y.isInstancedMesh,O=!!s.map,z=!!s.matcap,B=!!w,F=!!s.aoMap,k=!!s.lightMap,G=!!s.bumpMap,V=!!s.normalMap,H=!!s.displacementMap,j=!!s.emissiveMap,q=!!s.metalnessMap,X=!!s.roughnessMap,Y=s.clearcoat>0,Z=s.iridescence>0,J=s.sheen>0,K=s.transmission>0,$=Y&&!!s.clearcoatMap,Q=Y&&!!s.clearcoatNormalMap,tt=Y&&!!s.clearcoatRoughnessMap,nt=Z&&!!s.iridescenceMap,it=Z&&!!s.iridescenceThicknessMap,rt=J&&!!s.sheenColorMap,st=J&&!!s.sheenRoughnessMap,at=!!s.specularMap,ot=!!s.specularColorMap,lt=!!s.specularIntensityMap,ct=K&&!!s.transmissionMap,ht=K&&!!s.thicknessMap,ut=!!s.gradientMap,dt=!!s.alphaMap,pt=s.alphaTest>0,mt=!!s.extensions,ft=!!S.attributes.uv2;return{isWebGL2:p,shaderID:E,shaderName:s.type,vertexShader:L,fragmentShader:P,defines:s.defines,customVertexShaderID:R,customFragmentShaderID:I,isRawShaderMaterial:!0===s.isRawShaderMaterial,glslVersion:s.glslVersion,precision:g,instancing:N,instancingColor:N&&null!==y.instanceColor,supportsVertexTextures:f,outputEncoding:null===U?t.outputEncoding:!0===U.isXRRenderTarget?U.texture.encoding:ve,map:O,matcap:z,envMap:B,envMapMode:B&&w.mapping,envMapCubeUVHeight:T,aoMap:F,lightMap:k,bumpMap:G,normalMap:V,displacementMap:f&&H,emissiveMap:j,normalMapObjectSpace:V&&s.normalMapType===Me,normalMapTangentSpace:V&&s.normalMapType===ye,decodeVideoTexture:O&&!0===s.map.isVideoTexture&&s.map.encoding===_e,metalnessMap:q,roughnessMap:X,clearcoat:Y,clearcoatMap:$,clearcoatNormalMap:Q,clearcoatRoughnessMap:tt,iridescence:Z,iridescenceMap:nt,iridescenceThicknessMap:it,sheen:J,sheenColorMap:rt,sheenRoughnessMap:st,specularMap:at,specularColorMap:ot,specularIntensityMap:lt,transmission:K,transmissionMap:ct,thicknessMap:ht,gradientMap:ut,opaque:!1===s.transparent&&s.blending===d,alph
3856aMap:dt,alphaTest:pt,combine:s.combine,mapUv:O&&_(s.map.channel),aoMapUv:F&&_(s.aoMap.channel),lightMapUv:k&&_(s.lightMap.channel),bumpMapUv:G&&_(s.bumpMap.channel),normalMapUv:V&&_(s.normalMap.channel),displacementMapUv:H&&_(s.displacementMap.channel),emissiveMapUv:j&&_(s.emissiveMap.channel),metalnessMapUv:q&&_(s.metalnessMap.channel),roughnessMapUv:X&&_(s.roughnessMap.channel),clearcoatMapUv:$&&_(s.clearcoatMap.channel),clearcoatNormalMapUv:Q&&_(s.clearcoatNormalMap.channel),clearcoatRoughnessMapUv:tt&&_(s.clearcoatRoughnessMap.channel),iridescenceMapUv:nt&&_(s.iridescenceMap.channel),iridescenceThicknessMapUv:it&&_(s.iridescenceThicknessMap.channel),sheenColorMapUv:rt&&_(s.sheenColorMap.channel),sheenRoughnessMapUv:st&&_(s.sheenRoughnessMap.channel),specularMapUv:at&&_(s.specularMap.channel),specularColorMapUv:ot&&_(s.specularColorMap.channel),specularIntensityMapUv:lt&&_(s.specularIntensityMap.channel),transmissionMapUv:ct&&_(s.transmissionMap.channel),thicknessMapUv:ht&&_(s.thicknessMap.channel),alphaMapUv:dt&&_(s.alphaMap.channel),vertexTangents:V&&!!S.attributes.tangent,vertexColors:s.vertexColors,vertexAlphas:!0===s.vertexColors&&!!S.attributes.color&&4===S.attributes.color.itemSize,vertexUvs2:ft,pointsUvs:!0===y.isPoints&&!!S.attributes.uv&&(O||dt),fog:!!M,useFog:!0===s.fog,fogExp2:M&&M.isFogExp2,flatShading:!0===s.flatShading,sizeAttenuation:!0===s.sizeAttenuation,logarithmicDepthBuffer:m,skinning:!0===y.isSkinnedMesh,morphTargets:void 0!==S.morphAttributes.position,morphNormals:void 0!==S.morphAttributes.normal,morphColors:void 0!==S.morphAttributes.color,morphTargetsCount:C,morphTextureStride:D,numDirLights:o.directional.length,numPointLights:o.point.length,numSpotLights:o.spot.length,numSpotLightMaps:o.spotLightMap.length,numRectAreaLights:o.rectArea.length,numHemiLights:o.hemi.length,numDirLightShadows:o.directionalShadowMap.length,numPointLightShadows:o.pointShadowMap.length,numSpotLightShadows:o.spotShadowMap.length,numSpotLightShadowsWithMaps:o.numSpotLightShadowsWithMaps,numClippingPlanes:a.numPlanes,numClipIntersection:a.numIntersection,dithering:s.dithering,shadowMapEnabled:t.shadowMap.enabled&&u.length>0,shadowMapType:t.shadowMap.type,toneMapping:s.toneMapped?t.toneMapping:W,useLegacyLights:t.useLegacyLights,premultipliedAlpha:s.premultipliedAlpha,doubleSided:s.side===h,flipSided:s.side===c,useDepthPacking:s.depthPacking>=0,depthPacking:s.depthPacking||0,index0AttributeName:s.index0AttributeName,extensionDerivatives:mt&&!0===s.extensions.derivatives,extensionFragDepth:mt&&!0===s.extensions.fragDepth,extensionDrawBuffers:mt&&!0===s.extensions.drawBuffers,extensionShaderTextureLOD:mt&&!0===s.extensions.shaderTextureLOD,rendererExtensionFragDepth:p||i.has("EXT_frag_depth"),rendererExtensionDrawBuffers:p||i.has("WEBGL_draw_buffers"),rendererExtensionShaderTextureLod:p||i.has("EXT_shader_texture_lod"),customProgramCacheKey:s.customProgramCacheKey()}},getProgramCacheKey:function(e){const n=[];if(e.shaderID?n.push(e.shaderID):(n.push(e.customVertexShaderID),n.push(e.customFragmentShaderID)),void 0!==e.defines)for(const t in e.defines)n.push(t),n.push(e.defines[t]);return!1===e.isRawShaderMaterial&&(!function(t,e){t.push(e.precision),t.push(e.outputEncoding),t.push(e.envMapMode),t.push(e.envMapCubeUVHeight),t.push(e.mapUv),t.push(e.alphaMapUv),t.push(e.lightMapUv),t.push(e.aoMapUv),t.push(e.bumpMapUv),t.push(e.normalMapUv),t.push(e.displacementMapUv),t.push(e.emissiveMapUv),t.push(e.metalnessMapUv),t.push(e.roughnessMapUv),t.push(e.clearcoatMapUv),t.push(e.clearcoatNormalMapUv),t.push(e.clearcoatRoughnessMapUv),t.push(e.iridescenceMapUv),t.push(e.iridescenceThicknessMapUv),t.push(e.sheenColorMapUv),t.push(e.sheenRoughnessMapUv),t.push(e.specularMapUv),t.push(e.specularColorMapUv),t.push(e.specularIntensityMapUv),t.push(e.transmissionMapUv),t.push(e.thicknessMapUv),t.push(e.combine),t.push(e.fogExp2),t.push(e.sizeAttenuation),t.push(e.morphTargetsCount),t.push(e.morphAttributeCount),t.push(e.numDirLights),t.push(e.numPointLights),t.push(e.numSpotLights),t.push(e.numSpotLightMaps),t.push(e.numHemiLights),t.push(e.numRectAreaLights),t.push(e.numDirLightShadows),t.push(e.numPointLightShadows),t.push(e.numSpotLightShadows),t.push(e.numSpotLightShadowsWithMaps),t.push(e.shadowMapType),t.pu
vendor: 11,274 bytes, line 3856
3856sh(e.toneMapping),t.push(e.numClippingPlanes),t.push(e.numClipIntersection),t.push(e.depthPacking)}(n,e),function(t,e){o.disableAll(),e.isWebGL2&&o.enable(0);e.supportsVertexTextures&&o.enable(1);e.instancing&&o.enable(2);e.instancingColor&&o.enable(3);e.matcap&&o.enable(4);e.envMap&&o.enable(5);e.normalMapObjectSpace&&o.enable(6);e.normalMapTangentSpace&&o.enable(7);e.clearcoat&&o.enable(8);e.iridescence&&o.enable(9);e.alphaTest&&o.enable(10);e.vertexColors&&o.enable(11);e.vertexAlphas&&o.enable(12);e.vertexUvs2&&o.enable(13);e.vertexTangents&&o.enable(14);t.push(o.mask),o.disableAll(),e.fog&&o.enable(0);e.useFog&&o.enable(1);e.flatShading&&o.enable(2);e.logarithmicDepthBuffer&&o.enable(3);e.skinning&&o.enable(4);e.morphTargets&&o.enable(5);e.morphNormals&&o.enable(6);e.morphColors&&o.enable(7);e.premultipliedAlpha&&o.enable(8);e.shadowMapEnabled&&o.enable(9);e.useLegacyLights&&o.enable(10);e.doubleSided&&o.enable(11);e.flipSided&&o.enable(12);e.useDepthPacking&&o.enable(13);e.dithering&&o.enable(14);e.transmission&&o.enable(15);e.sheen&&o.enable(16);e.decodeVideoTexture&&o.enable(17);e.opaque&&o.enable(18);e.pointsUvs&&o.enable(19);t.push(o.mask)}(n,e),n.push(t.outputEncoding)),n.push(e.customProgramCacheKey),n.join()},getUniforms:function(t){const e=v[t.type];let n;if(e){const t=Xr[e];n=Ar.clone(t.uniforms)}else n=t.uniforms;return n},acquireProgram:function(e,n){let i;for(let t=0,e=u.length;t<e;t++){const e=u[t];if(e.cacheKey===n){i=e,++i.usedTimes;break}}return void 0===i&&(i=new ja(t,n,e,s),u.push(i)),i},releaseProgram:function(t){if(0==--t.usedTimes){const e=u.indexOf(t);u[e]=u[u.length-1],u.pop(),t.destroy()}},releaseShaderCache:function(t){l.remove(t)},programs:u,dispose:function(){l.dispose()}}}function Ja(){let t=new WeakMap;return{get:function(e){let n=t.get(e);return void 0===n&&(n={},t.set(e,n)),n},remove:function(e){t.delete(e)},update:function(e,n,i){t.get(e)[n]=i},dispose:function(){t=new WeakMap}}}function Ka(t,e){return t.groupOrder!==e.groupOrder?t.groupOrder-e.groupOrder:t.renderOrder!==e.renderOrder?t.renderOrder-e.renderOrder:t.material.id!==e.material.id?t.material.id-e.material.id:t.z!==e.z?t.z-e.z:t.id-e.id}function $a(t,e){return t.groupOrder!==e.groupOrder?t.groupOrder-e.groupOrder:t.renderOrder!==e.renderOrder?t.renderOrder-e.renderOrder:t.z!==e.z?e.z-t.z:t.id-e.id}function Qa(){const t=[];let e=0;const n=[],i=[],r=[];function s(n,i,r,s,a,o){let l=t[e];return void 0===l?(l={id:n.id,object:n,geometry:i,material:r,groupOrder:s,renderOrder:n.renderOrder,z:a,group:o},t[e]=l):(l.id=n.id,l.object=n,l.geometry=i,l.material=r,l.groupOrder=s,l.renderOrder=n.renderOrder,l.z=a,l.group=o),e++,l}return{opaque:n,transmissive:i,transparent:r,init:function(){e=0,n.length=0,i.length=0,r.length=0},push:function(t,e,a,o,l,c){const h=s(t,e,a,o,l,c);a.transmission>0?i.push(h):!0===a.transparent?r.push(h):n.push(h)},unshift:function(t,e,a,o,l,c){const h=s(t,e,a,o,l,c);a.transmission>0?i.unshift(h):!0===a.transparent?r.unshift(h):n.unshift(h)},finish:function(){for(let n=e,i=t.length;n<i;n++){const e=t[n];if(null===e.id)break;e.id=null,e.object=null,e.geometry=null,e.material=null,e.group=null}},sort:function(t,e){n.length>1&&n.sort(t||Ka),i.length>1&&i.sort(e||$a),r.length>1&&r.sort(e||$a)}}}function to(){let t=new WeakMap;return{get:function(e,n){const i=t.get(e);let r;return void 0===i?(r=new Qa,t.set(e,[r])):n>=i.length?(r=new Qa,i.push(r)):r=i[n],r},dispose:function(){t=new WeakMap}}}function eo(){const t={};return{get:function(e){if(void 0!==t[e.id])return t[e.id];let n;switch(e.type){case"DirectionalLight":n={direction:new gn,color:new Oi};break;case"SpotLight":n={position:new gn,direction:new gn,color:new Oi,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case"PointLight":n={position:new gn,color:new Oi,distance:0,decay:0};break;case"HemisphereLight":n={direction:new gn,skyColor:new Oi,groundColor:new Oi};break;case"RectAreaLight":n={color:new Oi,position:new gn,halfWidth:new gn,halfHeight:new gn};}return t[e.id]=n,n}}}let no=0;function io(t,e){return(e.castShadow?2:0)-(t.castShadow?2:0)+(e.map?1:0)-(t.map?1:0)}function ro(t,e){const n=new eo,i=function(){const t={};return{get:function(e){if(void 0!==t[e.id])return t[e.id];let n;switch(e.type){case"DirectionalLight":case"SpotLight":n={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new We};break;case"PointLight":n={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new We,shadowCameraNear:1,shadowCameraFar:1e3};}return t[e.id]=n,n}}}(),r={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1,numSpotMaps:-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};for(let t=0;t<9;t++)r.probe.push(new gn);const s=new gn,a=new qn,o=new qn;return{setup:function(s,a){let o=0,l=0,c=0;for(let t=0;t<9;t++)r.probe[t].set(0,0,0);let h=0,u=0,d=0,p=0,m=0,f=0,g=0,v=0,_=0,x=0;s.sort(io);const y=!0===a?Math.PI:1;for(let t=0,e=s.length;t<e;t++){const e=s[t],a=e.color,M=e.intensity,S=e.distance,b=e.shadow&&e.shadow.map?e.shadow.map.texture:null;if(e.isAmbientLight)o+=a.r*M*y,l+=a.g*M*y,c+=a.b*M*y;else if(e.isLightProbe)for(let t=0;t<9;t++)r.probe[t].addScaledVector(e.sh.coefficients[t],M);else if(e.isDirectionalLight){const t=n.get(e);if(t.color.copy(e.color).multiplyScalar(e.intensity*y),e.castShadow){const t=e.shadow,n=i.get(e);n.shadowBias=t.bias,n.shadowNormalBias=t.normalBias,n.shadowRadius=t.radius,n.shadowMapSize=t.mapSize,r.directionalShadow[h]=n,r.directionalShadowMap[h]=b,r.directionalShadowMatrix[h]=e.shadow.matrix,f++}r.directional[h]=t,h++}else if(e.isSpotLight){const t=n.get(e);t.position.setFromMatrixPosition(e.matrixWorld),t.color.copy(a).multiplyScalar(M*y),t.distance=S,t.coneCos=Math.cos(e.angle),t.penumbraCos=Math.cos(e.angle*(1-e.penumbra)),t.decay=e.decay,r.spot[d]=t;const s=e.shadow;if(e.map&&(r.spotLightMap[_]=e.map,_++,s.updateMatrices(e),e.castShadow&&x++),r.spotLightMatrix[d]=s.matrix,e.castShadow){const t=i.get(e);t.shadowBias=s.bias,t.shadowNormalBias=s.normalBias,t.shadowRadius=s.radius,t.shadowMapSize=s.mapSize,r.spotShadow[d]=t,r.spotShadowMap[d]=b,v++}d++}else if(e.isRectAreaLight){const t=n.get(e);t.color.copy(a).multiplyScalar(M),t.halfWidth.set(.5*e.width,0,0),t.halfHeight.set(0,.5*e.height,0),r.rectArea[p]=t,p++}else if(e.isPointLight){const t=n.get(e);if(t.color.copy(e.color).multiplyScalar(e.intensity*y),t.distance=e.distance,t.decay=e.decay,e.castShadow){const t=e.shadow,n=i.get(e);n.shadowBias=t.bias,n.shadowNormalBias=t.normalBias,n.shadowRadius=t.radius,n.shadowMapSize=t.mapSize,n.shadowCameraNear=t.camera.near,n.shadowCameraFar=t.camera.far,r.pointShadow[u]=n,r.pointShadowMap[u]=b,r.pointShadowMatrix[u]=e.shadow.matrix,g++}r.point[u]=t,u++}else if(e.isHemisphereLight){const t=n.get(e);t.skyColor.copy(e.color).multiplyScalar(M*y),t.groundColor.copy(e.groundColor).multiplyScalar(M*y),r.hemi[m]=t,m++}}p>0&&(e.isWebGL2||!0===t.has("OES_texture_float_linear")?(r.rectAreaLTC1=qr.LTC_FLOAT_1,r.rectAreaLTC2=qr.LTC_FLOAT_2):!0===t.has("OES_texture_half_float_linear")?(r.rectAreaLTC1=qr.LTC_HALF_1,r.rectAreaLTC2=qr.LTC_HALF_2):console.error("THREE.WebGLRenderer: Unable to use RectAreaLight. Missing WebGL extensions.")),r.ambient[0]=o,r.ambient[1]=l,r.ambient[2]=c;const M=r.hash;M.directionalLength===h&&M.pointLength===u&&M.spotLength===d&&M.rectAreaLength===p&&M.hemiLength===m&&M.numDirectionalShadows===f&&M.numPointShadows===g&&M.numSpotShadows===v&&M.numSpotMaps===_||(r.directional.length=h,r.spot.length=d,r.rectArea.length=p,r.point.length=u,r.hemi.length=m,r.directionalShadow.length=f,r.directionalShadowMap.length=f,r.pointShadow.length=g,r.pointShadowMap.length=g,r.spotShadow.length=v,r.spotShadowMap.length=v,r.directionalShadowMatrix.length=f,r.pointShadowMatrix.length=g,r.spotLightMatrix.length=v+_-x,r.spotLightMap.length=_,r.numSpotLightShadowsWithMaps=x,M.directionalLength=h,M.pointLength=u,M.spotLength=d,M.rectAreaLength=p,M.hemiLength=m,M.numDirectionalShadows=f,M.numPointShadows=g,M.numSpotShadows=v,M.numSpotMaps=_,r.version=no++)},setupView:function(t,e){let n=0,i=0,l=0,c=0,h=0;const u=e.matrixWorldInverse;for(let e=0,d=t.length;e<d;e++){const d=t[e];if(d.isDirectionalLight){const t=r.directional[n];t.direction.setFromMatrixPosition(d.matrixWorld),s.setFromMatrixPosition(d.target.matrixWorld),t.direction.sub(s),t.direction.transformDirection(u),n++}else if(d.isSpotLight){const t=r.spot[l];t.position.setFromMatrixPosition(d.matrixWorld),t.position.applyMatrix4(u),t.direction.setFromMatrixPosition(d.matrixWorld),s.setFromMatrixPosition(d.target.matrixWorld),t.direction.sub(s),t.direction.transformDirection(u),l++}else if(d.isRectAreaLight){const t=r.rectArea[c];t.position.setFromMatrixPosition(d.matrixWorld),t.position.applyMatrix4(u),o.identity(),a.copy(d.matrixWorld),a.premultiply(u),o.extractRotation(a),t.halfWidth.set(.5*d.width,0,0),t.halfHeight.set(0,.5*d.height,0),t.halfWidth.applyMatrix4(o),t.halfHeight.applyMatrix4(o),c++}else if(d.isPointLight){const t=r.point[i];t.position.setFromMatrixPosition(d.matrixWorld),t.position.applyMatrix4(u),i++}else if(d.isHemisphereLight){const t=r.hemi[h];t.direction.setFromMatrixPosition(d.matrixWorld),t.direction.transformDirection(u),h++}}},state:r}}function so(t,e){const n=new ro(t,e),i=[],r=[];return{init:function(){i.length=0,r.length=0},state:{lightsArray:i,shadowsArray:r,lights:n},setupLights:function(t){n.setup(i,t)},setupLightsView:function(t){n.setupView(i,t)},pushLight:function(t){i.push(t)},pushShadow:function(t){r.push(t)}}}function ao(t,e){let n=new WeakMap;return{get:function(i,r=0){const s=n.get(i);let a;return void 0===s?(a=new so(t,e),n.set(i,[a])):r>=s.length?(a=new so(t,e),s.push(a)):a=s[r],a},dispose:function(){n=new WeakMap}}}class oo extends Ri{constructor(t){super(),this.isMeshDepthMaterial=!0,this.type="MeshDepthMaterial",this.depthPacking=3200,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.setValues(t)}copy(t){return super.copy(t),this.depthPacking=t.depthPacking,this.map=t.map,this.alphaMap=t.alphaMap,this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this}}class lo extends Ri{constructor(t){super(),this.isMeshDistanceMaterial=!0,this.type="MeshDistanceMaterial",this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.setValues(t)}copy(t){return super.copy(t),this.map=t.map,this.alphaMap=t.alphaMap,this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this}}const co="void main() {\n\tgl_Position = vec4( position, 1.0 );\n}",ho="uniform sampler2D shadow_pass;\nuniform vec2 resolution;\nuniform float radius;\n#include <packing>
3856\nvoid main() {\n\tconst float samples = float( VSM_SAMPLES );\n\tfloat mean = 0.0;\n\tfloat squared_mean = 0.0;\n\tfloat uvStride = samples <= 1.0 ? 0.0 : 2.0 / ( samples - 1.0 );\n\tfloat uvStart = samples <= 1.0 ? 0.0 : - 1.0;\n\tfor ( float i = 0.0; i < 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 uo(t,e,n){let i=new Gr;const r=new We,a=new We,d=new un,p=new oo({depthPacking:xe}),m=new lo,f={},g=n.maxTextureSize,v={[l]:c,[c]:l,[h]:h},_=new Cr({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new We},radius:{value:4}},vertexShader:co,fragmentShader:ho}),x=_.clone();x.defines.HORIZONTAL_PASS=1;const y=new ir;y.setAttribute("position",new qi(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));const M=new Mr(y,_),S=this;function b(n,i){const s=e.update(M);_.defines.VSM_SAMPLES!==n.blurSamples&&(_.defines.VSM_SAMPLES=n.blurSamples,x.defines.VSM_SAMPLES=n.blurSamples,_.needsUpdate=!0,x.needsUpdate=!0),null===n.mapPass&&(n.mapPass=new dn(r.x,r.y)),_.uniforms.shadow_pass.value=n.map.texture,_.uniforms.resolution.value=n.mapSize,_.uniforms.radius.value=n.radius,t.setRenderTarget(n.mapPass),t.clear(),t.renderBufferDirect(i,null,s,_,M,null),x.uniforms.shadow_pass.value=n.mapPass.texture,x.uniforms.resolution.value=n.mapSize,x.uniforms.radius.value=n.radius,t.setRenderTarget(n.map),t.clear(),t.renderBufferDirect(i,null,s,x,M,null)}function w(e,n,i,r){let s=null;const a=!0===i.isPointLight?e.customDistanceMaterial:e.customDepthMaterial;if(void 0!==a)s=a;else if(s=!0===i.isPointLight?m:p,t.localClippingEnabled&&!0===n.clipShadows&&Array.isArray(n.clippingPlanes)&&0!==n.clippingPlanes.length||n.displacementMap&&0!==n.displacementScale||n.alphaMap&&n.alphaTest>0||n.map&&n.alphaTest>0){const t=s.uuid,e=n.uuid;let i=f[t];void 0===i&&(i={},f[t]=i);let r=i[e];void 0===r&&(r=s.clone(),i[e]=r),s=r}if(s.visible=n.visible,s.wireframe=n.wireframe,s.side=r===o?null!==n.shadowSide?n.shadowSide:n.side:null!==n.shadowSide?n.shadowSide:v[
vendor: 35,532 bytes, line 3856
3856n.side],s.alphaMap=n.alphaMap,s.alphaTest=n.alphaTest,s.map=n.map,s.clipShadows=n.clipShadows,s.clippingPlanes=n.clippingPlanes,s.clipIntersection=n.clipIntersection,s.displacementMap=n.displacementMap,s.displacementScale=n.displacementScale,s.displacementBias=n.displacementBias,s.wireframeLinewidth=n.wireframeLinewidth,s.linewidth=n.linewidth,!0===i.isPointLight&&!0===s.isMeshDistanceMaterial){t.properties.get(s).light=i}return s}function T(n,r,s,a,l){if(!1===n.visible)return;if(n.layers.test(r.layers)&&(n.isMesh||n.isLine||n.isPoints)&&(n.castShadow||n.receiveShadow&&l===o)&&(!n.frustumCulled||i.intersectsObject(n))){n.modelViewMatrix.multiplyMatrices(s.matrixWorldInverse,n.matrixWorld);const i=e.update(n),r=n.material;if(Array.isArray(r)){const e=i.groups;for(let o=0,c=e.length;o<c;o++){const c=e[o],h=r[c.materialIndex];if(h&&h.visible){const e=w(n,h,a,l);t.renderBufferDirect(s,null,i,e,n,c)}}}else if(r.visible){const e=w(n,r,a,l);t.renderBufferDirect(s,null,i,e,n,null)}}const c=n.children;for(let t=0,e=c.length;t<e;t++)T(c[t],r,s,a,l)}this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=s,this.render=function(e,n,s){if(!1===S.enabled)return;if(!1===S.autoUpdate&&!1===S.needsUpdate)return;if(0===e.length)return;const l=t.getRenderTarget(),c=t.getActiveCubeFace(),h=t.getActiveMipmapLevel(),p=t.state;p.setBlending(u),p.buffers.color.setClear(1,1,1,1),p.buffers.depth.setTest(!0),p.setScissorTest(!1);for(let l=0,c=e.length;l<c;l++){const c=e[l],h=c.shadow;if(void 0===h){console.warn("THREE.WebGLShadowMap:",c,"has no shadow.");continue}if(!1===h.autoUpdate&&!1===h.needsUpdate)continue;r.copy(h.mapSize);const u=h.getFrameExtents();if(r.multiply(u),a.copy(h.mapSize),(r.x>g||r.y>g)&&(r.x>g&&(a.x=Math.floor(g/u.x),r.x=a.x*u.x,h.mapSize.x=a.x),r.y>g&&(a.y=Math.floor(g/u.y),r.y=a.y*u.y,h.mapSize.y=a.y)),null===h.map){const t=this.type!==o?{minFilter:st,magFilter:st}:{};h.map=new dn(r.x,r.y,t),h.map.texture.name=c.name+".shadowMap",h.camera.updateProjectionMatrix()}t.setRenderTarget(h.map),t.clear();const m=h.getViewportCount();for(let t=0;t<m;t++){const e=h.getViewport(t);d.set(a.x*e.x,a.y*e.y,a.x*e.z,a.y*e.w),p.viewport(d),h.updateMatrices(c,t),i=h.getFrustum(),T(n,s,h.camera,c,this.type)}!0!==h.isPointLightShadow&&this.type===o&&b(h,s),h.needsUpdate=!1}S.needsUpdate=!1,t.setRenderTarget(l,c,h)}}function po(t,e,s){const a=s.isWebGL2;const o=new function(){let e=!1;const n=new un;let i=null;const r=new un(0,0,0,0);return{setMask:function(n){i===n||e||(t.colorMask(n,n,n,n),i=n)},setLocked:function(t){e=t},setClear:function(e,i,s,a,o){!0===o&&(e*=a,i*=a,s*=a),n.set(e,i,s,a),!1===r.equals(n)&&(t.clearColor(e,i,s,a),r.copy(n))},reset:function(){e=!1,i=null,r.set(-1,0,0,0)}}},l=new function(){let e=!1,n=null,i=null,r=null;return{setTest:function(t){t?Mt(2929):St(2929)},setMask:function(i){n===i||e||(t.depthMask(i),n=i)},setFunc:function(e){if(i!==e){switch(e){case D:t.depthFunc(512);break;case U:t.depthFunc(519);break;case N:t.depthFunc(513);break;case O:t.depthFunc(515);break;case z:t.depthFunc(514);break;case B:t.depthFunc(518);break;case F:t.depthFunc(516);break;case k:t.depthFunc(517);break;default:t.depthFunc(515);}i=e}},setLocked:function(t){e=t},setClear:function(e){r!==e&&(t.clearDepth(e),r=e)},reset:function(){e=!1,n=null,i=null,r=null}}},G=new function(){let e=!1,n=null,i=null,r=null,s=null,a=null,o=null,l=null,c=null;return{setTest:function(t){e||(t?Mt(2960):St(2960))},setMask:function(i){n===i||e||(t.stencilMask(i),n=i)},setFunc:function(e,n,a){i===e&&r===n&&s===a||(t.stencilFunc(e,n,a),i=e,r=n,s=a)},setOp:function(e,n,i){a===e&&o===n&&l===i||(t.stencilOp(e,n,i),a=e,o=n,l=i)},setLocked:function(t){e=t},setClear:function(e){c!==e&&(t.clearStencil(e),c=e)},reset:function(){e=!1,n=null,i=null,r=null,s=null,a=null,o=null,l=null,c=null}}},V=new WeakMap,H=new WeakMap;let W={},j={},q=new WeakMap,X=[],Y=null,Z=!1,J=null,K=null,$=null,Q=null,tt=null,et=null,nt=null,it=!1,rt=null,st=null,at=null,ot=null,lt=null;const ct=t.getParameter(35661);let ht=!1,ut=0;const dt=t.getParameter(7938);-1!==dt.indexOf("WebGL")?(ut=parseFloat(/^WebGL (\d)/.exec(dt)[1]),ht=ut>=1):-1!==dt.indexOf("OpenGL ES")&&(ut=parseFloat(/^OpenGL ES (\d)/.exec(dt)[1]),ht=ut>=2);let pt=null,mt={};const ft=t.getParameter(3088),gt=t.getParameter(2978),vt=new un().fromArray(ft),_t=new un().fromArray(gt);function xt(e,n,i){const r=new Uint8Array(4),s=t.createTexture();t.bindTexture(e,s),t.texParameteri(e,10241,9728),t.texParameteri(e,10240,9728);for(let e=0;e<i;e++)t.texImage2D(n+e,0,6408,1,1,0,6408,5121,r);return s}const yt={};function Mt(e){!0!==W[e]&&(t.enable(e),W[e]=!0)}function St(e){!1!==W[e]&&(t.disable(e),W[e]=!1)}yt[3553]=xt(3553,3553,1),yt[34067]=xt(34067,34069,6),o.setClear(0,0,0,1),l.setClear(1),G.setClear(0),Mt(2929),l.setFunc(O),Et(!1),At(i),Mt(2884),Tt(u);const bt={[v]:32774,[_]:32778,[x]:32779};if(a)bt[y]=32775,bt[M]=32776;else{const t=e.get("EXT_blend_minmax");null!==t&&(bt[y]=t.MIN_EXT,bt[M]=t.MAX_EXT)}const wt={[S]:0,[b]:1,[w]:768,[E]:770,[I]:776,[P]:774,[C]:772,[T]:769,[A]:771,[R]:775,[L]:773};function Tt(e,n,i,r,s,a,o,l){if(e!==u){if(!1===Z&&(Mt(3042),Z=!0),e===g)s=s||n,a=a||i,o=o||r,n===K&&s===tt||(t.blendEquationSeparate(bt[n],bt[s]),K=n,tt=s),i===$&&r===Q&&a===et&&o===nt||(t.blendFuncSeparate(wt[i],wt[r],wt[a],wt[o]),$=i,Q=r,et=a,nt=o),J=e,it=!1;else if(e!==J||l!==it){if(K===v&&tt===v||(t.blendEquation(32774),K=v,tt=v),l)switch(e){case d:t.blendFuncSeparate(1,771,1,771);break;case p:t.blendFunc(1,1);break;case m:t.blendFuncSeparate(0,769,0,1);break;case f:t.blendFuncSeparate(0,768,0,770);break;default:console.error("THREE.WebGLState: Invalid blending: ",e);}else switch(e){case d:t.blendFuncSeparate(770,771,1,771);break;case p:t.blendFunc(770,1);break;case m:t.blendFuncSeparate(0,769,0,1);break;case f:t.blendFunc(0,768);break;default:console.error("THREE.WebGLState: Invalid blending: ",e);}$=null,Q=null,et=null,nt=null,J=e,it=l}}else!0===Z&&(St(3042),Z=!1)}function Et(e){rt!==e&&(e?t.frontFace(2304):t.frontFace(2305),rt=e)}function At(e){e!==n?(Mt(2884),e!==st&&(e===i?t.cullFace(1029):e===r?t.cullFace(1028):t.cullFace(1032))):St(2884),st=e}function Ct(e,n,i){e?(Mt(32823),ot===n&&lt===i||(t.polygonOffset(n,i),ot=n,lt=i)):St(32823)}return{buffers:{color:o,depth:l,stencil:G},enable:Mt,disable:St,bindFramebuffer:function(e,n){return j[e]!==n&&(t.bindFramebuffer(e,n),j[e]=n,a&&(36009===e&&(j[36160]=n),36160===e&&(j[36009]=n)),!0)},drawBuffers:function(n,i){let r=X,a=!1;if(n){if(r=q.get(i),void 0===r&&(r=[],q.set(i,r)),n.isWebGLMultipleRenderTargets){const t=n.texture;if(r.length!==t.length||36064!==r[0]){for(let e=0,n=t.length;e<n;e++)r[e]=36064+e;r.length=t.length,a=!0}}else 36064!==r[0]&&(r[0]=36064,a=!0);}else 1029!==r[0]&&(r[0]=1029,a=!0);a&&(s.isWebGL2?t.drawBuffers(r):e.get("WEBGL_draw_buffers").drawBuffersWEBGL(r))},useProgram:function(e){return Y!==e&&(t.useProgram(e),Y=e,!0)},setBlending:Tt,setMaterial:function(t,e){t.side===h?St(2884):Mt(2884);let n=t.side===c;e&&(n=!n),Et(n),t.blending===d&&!1===t.transparent?Tt(u):Tt(t.blending,t.blendEquation,t.blendSrc,t.blendDst,t.blendEquationAlpha,t.blendSrcAlpha,t.blendDstAlpha,t.premultipliedAlpha),l.setFunc(t.depthFunc),l.setTest(t.depthTest),l.setMask(t.depthWrite),o.setMask(t.colorWrite);const i=t.stencilWrite;G.setTest(i),i&&(G.setMask(t.stencilWriteMask),G.setFunc(t.stencilFunc,t.stencilRef,t.stencilFuncMask),G.setOp(t.stencilFail,t.stencilZFail,t.stencilZPass)),Ct(t.polygonOffset,t.polygonOffsetFactor,t.polygonOffsetUnits),!0===t.alphaToCoverage?Mt(32926):St(32926)},setFlipSided:Et,setCullFace:At,setLineWidth:function(e){e!==at&&(ht&&t.lineWidth(e),at=e)},setPolygonOffset:Ct,setScissorTest:function(t){t?Mt(3089):St(3089)},activeTexture:function(e){void 0===e&&(e=33984+ct-1),pt!==e&&(t.activeTexture(e),pt=e)},bindTexture:function(e,n,i){void 0===i&&(i=null===pt?33984+ct-1:pt);let r=mt[i];void 0===r&&(r={type:void 0,texture:void 0},mt[i]=r),r.type===e&&r.texture===n||(pt!==i&&(t.activeTexture(i),pt=i),t.bindTexture(e,n||yt[e]),r.type=e,r.texture=n)},unbindTexture:function(){const e=mt[pt];void 0!==e&&void 0!==e.type&&(t.bindTexture(e.type,null),e.type=void 0,e.texture=void 0)},compressedTexImage2D:function(){try{t.compressedTexImage2D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},compressedTexImage3D:function(){try{t.compressedTexImage3D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},texImage2D:function(){try{t.texImage2D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},texImage3D:function(){try{t.texImage3D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},updateUBOMapping:function(e,n){let i=H.get(n);void 0===i&&(i=new WeakMap,H.set(n,i));let r=i.get(e);void 0===r&&(r=t.getUniformBlockIndex(n,e.name),i.set(e,r))},uniformBlockBinding:function(e,n){const i=H.get(n).get(e);V.get(n)!==i&&(t.uniformBlockBinding(n,i,e.__bindingPointIndex),V.set(n,i))},texStorage2D:function(){try{t.texStorage2D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},texStorage3D:function(){try{t.texStorage3D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},texSubImage2D:function(){try{t.texSubImage2D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},texSubImage3D:function(){try{t.texSubImage3D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},compressedTexSubImage2D:function(){try{t.compressedTexSubImage2D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},compressedTexSubImage3D:function(){try{t.compressedTexSubImage3D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},scissor:function(e){!1===vt.equals(e)&&(t.scissor(e.x,e.y,e.z,e.w),vt.copy(e))},viewport:function(e){!1===_t.equals(e)&&(t.viewport(e.x,e.y,e.z,e.w),_t.copy(e))},reset:function(){t.disable(3042),t.disable(2884),t.disable(2929),t.disable(32823),t.disable(3089),t.disable(2960),t.disable(32926),t.blendEquation(32774),t.blendFunc(1,0),t.blendFuncSeparate(1,0,1,0),t.colorMask(!0,!0,!0,!0),t.clearColor(0,0,0,0),t.depthMask(!0),t.depthFunc(513),t.clearDepth(1),t.stencilMask(4294967295),t.stencilFunc(519,0,4294967295),t.stencilOp(7680,7680,7680),t.clearStencil(0),t.cullFace(1029),t.frontFace(2305),t.polygonOffset(0,0),t.activeTexture(33984),t.bindFramebuffer(36160,null),!0===a&&(t.bindFramebuffer(36009,null),t.bindFramebuffer(36008,null)),t.useProgram(null),t.lineWidth(1),t.scissor(0,0,t.canvas.width,t.canvas.height),t.viewport(0,0,t.canvas.width,t.canvas.height),W={},pt=null,mt={},j={},q=new WeakMap,X=[],Y=null,Z=!1,J=null,K=null,$=null,Q=null,tt=null,et=null,nt=null,it=!1,rt=null,st=null,at=null,ot=null,lt=null,vt.set(0,0,t.canvas.width,t.canvas.height),_t.set(0,0,t.canvas.width,t.canvas.height),o.reset(),l.reset(),G.reset()}}}function mo(t,e,n,i,r,s,a){const o=r.isWebGL2,l=r.maxTextures,c=r.maxCubemapSize,h=r.maxTextureSize,u=r.maxSamples,d=e.has("WEBGL_multisampled_render_to_texture")?e.get("WEBGL_multisampled_render_to_texture"):null,p="undefined"!=typeof navigator&&/OculusBrowser/g.test(navigator.userAgent),m=new WeakMap;let f;const g=new WeakMap;let v=!1;try{v="undefined"!=typeof OffscreenCanvas&&null!==new OffscreenCanvas(1,1).getContext("2d")}catch(t){}function _(t,e){return v?new OffscreenCanvas(t,e):Je("canvas")}function x(t,e,n,i){let r=1;if((t.width>i||t.height>i)&&(r=i/Math.max(t.width,t.height)),r<1||!0===e){if("undefined"!=typeof HTMLImageElement&&t instanceof HTMLImageElement||"undefined"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement||"undefined"!=typeof ImageBitmap&&t instanceof ImageBitmap){const i=e?ke:Math.floor,s=i(r*t.width),a=i(r*t.height);void 0===f&&(f=_(s,a));const o=n?_(s,a):f;o.width=s,o.height=a;return o.getContext("2d").drawImage(t,0,0,s,a),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+t.width+"x"+t.height+") to ("+s+"x"+a+")."),o}return"data"in t&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+t.width+"x"+t.height+")."),t}return t}function y(t){return Be(t.width)&&Be(t.height)}function M(t,e){return t.generateMipmaps&&e&&t.minFilter!==st&&t.minFilter!==lt}function S(e){t.generateMipmap(e)}function b(n,i,r,s,a=!1){if(!1===o)return i;if(null!==n){if(void 0!==t[n])return t[n];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+n+"'")}let l=i;return 6403===i&&(5126===r&&(l=33326),5131===r&&(l=33325),5121===r&&(l=33321)),33319===i&&(5126===r&&(l=33328),5131===r&&(l=33327),5121===r&&(l=33323)),6408===i&&(5126===r&&(l=34836),5131===r&&(l=34842),5121===r&&(l=s===_e&&!1===a?35907:32856),32819===r&&(l=32854),32820===r&&(l=32855)),33325!==l&&33326!==l&&33327!==l&&33328!==l&&34842!==l&&34836!==l||e.get("EXT_color_buffer_float"),l}function w(t,e,n){return!0===M(t,n)||t.isFramebufferTexture&&t.minFilter!==st&&t.minFilter!==lt?Math.log2(Math.max(e.width,e.height))+1:void 0!==t.mipmaps&&t.mipmaps.length>0?t.mipmaps.length:t.isCompressedTexture&&Array.isArray(t.image)?e.mipmaps.length:1}function T(t){return t===st||t===at||t===ot?9728:9729}function E(t){const e=t.target;e.removeEventListener("dispose",E),function(t){const e=i.get(t);if(void 0===e.__webglInit)return;const n=t.source,r=g.get(n);if(r){const i=r[e.__cacheKey];i.usedTimes--,0===i.usedTimes&&C(t),0===Object.keys(r).length&&g.delete(n)}i.remove(t)}(e),e.isVideoTexture&&m.delete(e)}function A(e){const n=e.target;n.removeEventListener("dispose",A),function(e){const n=e.texture,r=i.get(e),s=i.get(n);void 0!==s.__webglTexture&&(t.deleteTexture(s.__webglTexture),a.memory.textures--);e.depthTexture&&e.depthTexture.dispose();if(e.isWebGLCubeRenderTarget)for(let e=0;e<6;e++)t.deleteFramebuffer(r.__webglFramebuffer[e]),r.__webglDepthbuffer&&t.deleteRenderbuffer(r.__webglDepthbuffer[e]);else{if(t.deleteFramebuffer(r.__webglFramebuffer),r.__webglDepthbuffer&&t.deleteRenderbuffer(r.__webglDepthbuffer),r.__webglMultisampledFramebuffer&&t.deleteFramebuffer(r.__webglMultisampledFramebuffer),r.__webglColorRenderbuffer)for(let e=0;e<r.__webglColorRenderbuffer.length;e++)r.__webglColorRenderbuffer[e]&&t.deleteRenderbuffer(r.__webglColorRenderbuffer[e]);r.__webglDepthRenderbuffer&&t.deleteRenderbuffer(r.__webglDepthRenderbuffer)}if(e.isWebGLMultipleRenderTargets)for(let e=0,r=n.length;e<r;e++){const r=i.get(n[e]);r.__webglTexture&&(t.deleteTexture(r.__webglTexture),a.memory.textures--),i.remove(n[e])}i.remove(n),i.remove(e)}(n)}function C(e){const n=i.get(e);t.deleteTexture(n.__webglTexture);const r=e.source;delete g.get(r)[n.__cacheKey],a.memory.textures--}let L=0;function P(t,e){const r=i.get(t);if(t.isVideoTexture&&function(t){const e=a.render.frame;m.get(t)!==e&&(m.set(t,e),t.update())}(t),!1===t.isRenderTargetTexture&&t.version>0&&r.__version!==t.version){const n=t.image;if(null===n)console.warn("THREE.WebGLRenderer: Texture marked for update but no image data found.");else{if(!1!==n.complete)return void N(r,t,e);console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete")}}n.bindTexture(3553,r.__webglTexture,33984+e)}const R={[nt]:10497,[it]:33071,[rt]:33648},I={[st]:9728,[at]:9984,[ot]:9986,[lt]:9729,[ct]:9985,[ht]:9987};function D(n,s,a){if(a?(t.texParameteri(n,10242,R[s.wrapS]),t.texParameteri(n,10243,R[s.wrapT]),32879!==n&&35866!==n||t.texParameteri(n,32882,R[s.wrapR]),t.texParameteri(n,10240,I[s.magFilter]),t.texParameteri(n,10241,I[s.minFilter])):(t.texParameteri(n,10242,33071),t.texParameteri(n,10243,33071),32879!==n&&35866!==n||t.texParameteri(n,32882,33071),s.wrapS===it&&s.wrapT===it||console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping."),t.texParameteri(n,10240,T(s.magFilter)),t.texParameteri(n,10241,T(s.minFilter)),s.minFilter!==st&&s.minFilter!==lt&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter.")),!0===e.has("EXT_texture_filter_anisotropic")){const a=e.get("EXT_texture_filter_anisotropic");if(s.magFilter===st)return;if(s.minFilter!==ot&&s.minFilter!==ht)return;if(s.type===vt&&!1===e.has("OES_texture_float_linear"))return;if(!1===o&&s.type===_t&&!1===e.has("OES_texture_half_float_linear"))return;(s.anisotropy>1||i.get(s).__currentAnisotropy)&&(t.texParameterf(n,a.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(s.anisotropy,r.getMaxAnisotropy())),i.get(s).__currentAnisotropy=s.anisotropy)}}function U(e,n){let i=!1;void 0===e.__webglInit&&(e.__webglInit=!0,n.addEventListener("dispose",E));const r=n.source;let s=g.get(r);void 0===s&&(s={},g.set(r,s));const o=function(t){const e=[];return e.push(t.wrapS),e.push(t.wrapT),e.push(t.wrapR||0),e.push(t.magFilter),e.push(t.minFilter),e.push(t.anisotropy),e.push(t.internalFormat),e.push(t.format),e.push(t.type),e.push(t.generateMipmaps),e.push(t.premultiplyAlpha),e.push(t.flipY),e.push(t.unpackAlignment),e.push(t.encoding),e.join()}(n);if(o!==e.__cacheKey){void 0===s[o]&&(s[o]={texture:t.createTexture(),usedTimes:0},a.memory.textures++,i=!0),s[o].usedTimes++;const r=s[e.__cacheKey];void 0!==r&&(s[e.__cacheKey].usedTimes--,0===r.usedTimes&&C(n)),e.__cacheKey=o,e.__webglTexture=s[o].texture}return i}function N(e,r,a){let l=3553;(r.isDataArrayTexture||r.isCompressedArrayTexture)&&(l=35866),r.isData3DTexture&&(l=32879);const c=U(e,r),u=r.source;n.bindTexture(l,e.__webglTexture,33984+a);const d=i.get(u);if(u.version!==d.__version||!0===c){n.activeTexture(33984+a),t.pixelStorei(37440,r.flipY),t.pixelStorei(37441,r.premultiplyAlpha),t.pixelStorei(3317,r.unpackAlignment),t.pixelStorei(37443,0);const e=function(t){return!o&&(t.wrapS!==it||t.wrapT!==it||t.minFilter!==st&&t.minFilter!==lt)}(r)&&!1===y(r.image);let i=x(r.image,e,!1,h);i=G(r,i);const p=y(i)||o,m=s.convert(r.format,r.encoding);let f,g=s.convert(r.type),v=b(r.internalFormat,m,g,r.encoding,r.isVideoTexture);D(l,r,p);const _=r.mipmaps,T=o&&!0!==r.isVideoTexture,E=void 0===d.__version||!0===c,A=w(r,i,p);if(r.isDepthTexture)v=6402,o?v=r.type===vt?36012:r.type===gt?33190:r.type===Mt?35056:33189:r.type===vt&&console.error("WebGLRenderer: Floating point depth texture requires WebGL2."),r.format===Et&&6402===v&&r.type!==mt&&r.type!==gt&&(console.warn("THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture."),r.type=gt,g=s.convert(r.type)),r.format===At&&6402===v&&(v=34041,r.type!==Mt&&(console.warn("THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture."),r.type=Mt,g=s.convert(r.type))),E&&(T?n.texStorage2D(3553,1,v,i.width,i.height):n.texImage2D(3553,0,v,i.width,i.height,0,m,g,null));else if(r.isDataTexture){if(_.length>0&&p){T&&E&&n.texStorage2D(3553,A,v,_[0].width,_[0].height);for(let t=0,e=_.length;t<e;t++)f=_[t],T?n.texSubImage2D(3553,t,0,0,f.width,f.height,m,g,f.data):n.texImage2D(3553,t,v,f.width,f.height,0,m,g,f.data);r.generateMipmaps=!1}else T?(E&&n.texStorage2D(3553,A,v,i.width,i.height),n.texSubImage2D(3553,0,0,0,i.width,i.height,m,g,i.data)):n.texImage2D(3553,0,v,i.width,i.height,0,m,g,i.data);}else if(r.isCompressedTexture){if(r.isCompressedArrayTexture){T&&E&&n.texStorage3D(35866,A,v,_[0].width,_[0].height,i.depth);for(let t=0,e=_.length;t<e;t++)f=_[t],r.format!==bt?null!==m?T?n.compressedTexSubImage3D(35866,t,0,0,0,f.width,f.height,i.depth,m,f.data,0,0):n.compressedTexImage3D(35866,t,v,f.width,f.height,i.depth,0,f.data,0,0):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()"):T?n.texSubImage3D(35866,t,0,0,0,f.width,f.height,i.depth,m,g,f.data):n.texImage3D(35866,t,v,f.width,f.height,i.depth,0,m,g,f.data)}else{T&&E&&n.texStorage2D(3553,A,v,_[0].width,_[0].height);for(let t=0,e=_.length;t<e;t++)f=_[t],r.format!==bt?null!==m?T?n.compressedTexSubImage2D(3553,t,0,0,f.width,f.height,m,f.data):n.compressedTexImage2D(3553,t,v,f.width,f.height,0,f.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()"):T?n.texSubImage2D(3553,t,0,0,f.width,f.height,m,g,f.data):n.texImage2D(3553,t,v,f.width,f.height,0,m,g,f.data)}}else if(r.isDataArrayTexture)T?(E&&n.texStorage3D(35866,A,v,i.width,i.height,i.depth),n.texSubImage3D(35866,0,0,0,0,i.width,i.height,i.depth,m,g,i.data)):n.texImage3D(35866,0,v,i.width,i.height,i.depth,0,m,g,i.data);else if(r.isData3DTexture)T?(E&&n.texStorage3D(32879,A,v,i.width,i.height,i.depth),n.texSubImage3D(32879,0,0,0,0,i.width,i.height,i.depth,m,g,i.data)):n.texImage3D(32879,0,v,i.width,i.height,i.depth,0,m,g,i.data);else if(r.isFramebufferTexture){if(E)if(T)n.texStorage2D(3553,A,v,i.width,i.height);else{let t=i.width,e=i.height;for(let i=0;i<A;i++)n.texImage2D(3553,i,v,t,e,0,m,g,null),t>>=1,e>>=1}}else if(_.length>0&&p){T&&E&&n.texStorage2D(3553,A,v,_[0].width,_[0].height);for(let t=0,e=_.length;t<e;t++)f=_[t],T?n.texSubImage2D(3553,t,0,0,m,g,f):n.texImage2D(3553,t,v,m,g,f);r.generateMipmaps=!1}else T?(E&&n.texStorage2D(3553,A,v,i.width,i.height),n.texSubImage2D(3553,0,0,0,m,g,i)):n.texImage2D(3553,0,v,m,g,i);M(r,p)&&S(l),d.__version=u.version,r.onUpdate&&r.onUpdate(r)}e.__version=r.version}function O(e,r,a,o,l){const c=s.convert(a.format,a.encoding),h=s.convert(a.type),u=b(a.internalFormat,c,h,a.encoding);i.get(r).__hasExternalTextures||(32879===l||35866===l?n.texImage3D(l,0,u,r.width,r.height,r.depth,0,c,h,null):n.texImage2D(l,0,u,r.width,r.height,0,c,h,null)),n.bindFramebuffer(36160,e),k(r)?d.framebufferTexture2DMultisampleEXT(36160,o,l,i.get(a).__webglTexture,0,F(r)):(3553===l||l>=34069&&l<=34074)&&t.framebufferTexture2D(36160,o,l,i.get(a).__webglTexture,0),n.bindFramebuffer(36160,null)}function z(e,n,i){if(t.bindRenderbuffer(36161,e),n.depthBuffer&&!n.stencilBuffer){let r=33189;if(i||k(n)){const e=n.depthTexture;e&&e.isDepthTexture&&(e.type===vt?r=36012:e.type===gt&&(r=33190));const i=F(n);k(n)?d.renderbufferStorageMultisampleEXT(36161,i,r,n.width,n.height):t.renderbufferStorageMultisample(36161,i,r,n.width,n.height)}else t.renderbufferStorage(36161,r,n.width,n.height);t.framebufferRenderbuffer(36160,36096,36161,e)}else if(n.depthBuffer&&n.stencilBuffer){const r=F(n);i&&!1===k(n)?t.renderbufferStorageMultisample(36161,r,35056,n.width,n.height):k(n)?d.renderbufferStorageMultisampleEXT(36161,r,35056,n.width,n.height):t.renderbufferStorage(36161,34041,n.width,n.height),t.framebufferRenderbuffer(36160,33306,36161,e)}else{const e=!0===n.isWebGLMultipleRenderTargets?n.texture:[n.texture];for(let r=0;r<e.length;r++){const a=e[r],o=s.convert(a.format,a.encoding),l=s.convert(a.type),c=b(a.internalFormat,o,l,a.encoding),h=F(n);i&&!1===k(n)?t.renderbufferStorageMultisample(36161,h,c,n.width,n.height):k(n)?d.renderbufferStorageMultisampleEXT(36161,h,c,n.width,n.height):t.renderbufferStorage(36161,c,n.width,n.height)}}t.bindRenderbuffer(36161,null)}function B(e){const r=i.get(e),s=!0===e.isWebGLCubeRenderTarget;if(e.depthTexture&&!r.__autoAllocateDepthBuffer){if(s)throw new Error("target.depthTexture not supported in Cube render targets");!function(e,r){if(r&&r.isWebGLCubeRenderTarget)throw new Error("Depth Texture with cube render targets is not supported");if(n.bindFramebuffer(36160,e),!r.depthTexture||!r.depthTexture.isDepthTexture)throw new Error("renderTarget.depthTexture must be an instance of THREE.DepthTexture");i.get(r.depthTexture).__webglTexture&&r.depthTexture.image.width===r.width&&r.depthTexture.image.height===r.height||(r.depthTexture.image.width=r.width,r.depthTexture.image.height=r.height,r.depthTexture.needsUpdate=!0),P(r.depthTexture,0);const s=i.get(r.depthTexture).__webglTexture,a=F(r);if(r.depthTexture.format===Et)k(r)?d.framebufferTexture2DMultisampleEXT(36160,36096,3553,s,0,a):t.framebufferTexture2D(36160,36096,3553,s,0);else{if(r.depthTexture.format!==At)throw new Error("Unknown depthTexture format");k(r)?d.framebufferTexture2DMultisampleEXT(36160,33306,3553,s,0,a):t.framebufferTexture2D(36160,33306,3553,s,0)}}(r.__webglFramebuffer,e)}else if(s){r.__webglDepthbuffer=[];for(let i=0;i<6;i++)n.bindFramebuffer(36160,r.__webglFramebuffer[i]),r.__webglDepthbuffer[i]=t.createRenderbuffer(),z(r.__webglDepthbuffer[i],e,!1)}else n.bindFramebuffer(36160,r.__webglFramebuffer),r.__webglDepthbuffer=t.createRenderbuffer(),z(r.__webglDepthbuffer,e,!1);n.bindFramebuffer(36160,null)}function F(t){return Math.min(u,t.samples)}function k(t){const n=i.get(t);return o&&t.samples>0&&!0===e.has("WEBGL_multisampled_render_to_texture")&&!1!==n.__useRenderToTexture}function G(t,n){const i=t.encoding,r=t.format,s=t.type;return!0===t.isCompressedTexture||!0===t.isVideoTexture||t.format===Ce||i!==ve&&(i===_e?!1===o?!0===e.has("EXT_sRGB")&&r===bt?(t.format=Ce,t.minFilter=lt,t.generateMipmaps=!1):n=an.sRGBToLinear(n):r===bt&&s===ut||console.warn("THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType."):console.error("THREE.WebGLTextures: Unsupported texture encoding:",i)),n}this.allocateTextureUnit=function(){const t=L;return t>=l&&console.warn("THREE.WebGLTextures: Trying to use "+t+" texture units while this GPU supports only "+l),L+=1,t},this.resetTextureUnits=function(){L=0},this.setTexture2D=P,this.setTexture2DArray=function(t,e){const r=i.get(t);t.version>0&&r.__version!==t.version?N(r,t,e):n.bindTexture(35866,r.__webglTexture,33984+e)},this.setTexture3D=function(t,e){const r=i.get(t);t.version>0&&r.__version!==t.version?N(r,t,e):n.bindTexture(32879,r.__webglTexture,33984+e)},this.setTextureCube=function(e,r){const a=i.get(e);e.version>0&&a.__version!==e.version?function(e,r,a){if(6!==r.image.length)return;const l=U(e,r),h=r.source;n.bindTexture(34067,e.__webglTexture,33984+a);const u=i.get(h);if(h.version!==u.__version||!0===l){n.activeTexture(33984+a),t.pixelStorei(37440,r.flipY),t.pixelStorei(37441,r.premultiplyAlpha),t.pixelStorei(3317,r.unpackAlignment),t.pixelStorei(37443,0);const e=r.isCompressedTexture||r.image[0].isCompressedTexture,i=r.image[0]&&r.image[0].isDataTexture,d=[];for(let t=0;t<6;t++)d[t]=e||i?i?r.image[t].image:r.image[t]:x(r.image[t],!1,!0,c),d[t]=G(r,d[t]);const p=d[0],m=y(p)||o,f=s.convert(r.format,r.encoding),g=s.convert(r.type),v=b(r.internalFormat,f,g,r.encoding),_=o&&!0!==r.isVideoTexture,T=void 0===u.__version||!0===l;let E,A=w(r,p,m);if(D(34067,r,m),e){_&&T&&n.texStorage2D(34067,A,v,p.width,p.height);for(let t=0;t<6;t++){E=d[t].mipmaps;for(let e=0;e<E.length;e++){const i=E[e];r.format!==bt?null!==f?_?n.compressedTexSubImage2D(34069+t,e,0,0,i.width,i.height,f,i.data):n.compressedTexImage2D(34069+t,e,v,i.width,i.height,0,i.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()"):_?n.texSubImage2D(34069+t,e,0,0,i.width,i.height,f,g,i.data):n.texImage2D(34069+t,e,v,i.width,i.height,0,f,g,i.data)}}}else{E=r.mipmaps,_&&T&&(E.length>0&&A++,n.texStorage2D(34067,A,v,d[0].width,d[0].height));for(let t=0;t<6;t++)if(i){_?n.texSubImage2D(34069+t,0,0,0,d[t].width,d[t].height,f,g,d[t].data):n.texImage2D(34069+t,0,v,d[t].width,d[t].height,0,f,g,d[t].data);for(let e=0;e<E.length;e++){const i=E[e].image[t].image;_?n.texSubImage2D(34069+t,e+1,0,0,i.width,i.height,f,g,i.data):n.texImage2D(34069+t,e+1,v,i.width,i.height,0,f,g,i.data)}}else{_?n.texSubImage2D(34069+t,0,0,0,f,g,d[t]):n.texImage2D(34069+t,0,v,f,g,d[t]);for(let e=0;e<E.length;e++){const i=E[e];_?n.texSubImage2D(34069+t,e+1,0,0,f,g,i.image[t]):n.texImage2D(34069+t,e+1,v,f,g,i.image[t])}}}M(r,m)&&S(34067),u.__version=h.version,r.onUpdate&&r.onUpdate(r)}e.__version=r.version}(a,e,r):n.bindTexture(34067,a.__webglTexture,33984+r)},this.rebindTextures=function(t,e,n){const r=i.get(t);void 0!==e&&O(r.__webglFramebuffer,t,t.texture,36064,3553),void 0!==n&&B(t)},this.setupRenderTarget=function(e){const l=e.texture,c=i.get(e),h=i.get(l);e.addEventListener("dispose",A),!0!==e.isWebGLMultipleRenderTargets&&(void 0===h.__webglTexture&&(h.__webglTexture=t.createTexture()),h.__version=l.version,a.memory.textures++);const u=!0===e.isWebGLCubeRenderTarget,d=!0===e.isWebGLMultipleRenderTargets,p=y(e)||o;if(u){c.__webglFramebuffer=[];for(let e=0;e<6;e++)c.__webglFramebuffer[e]=t.createFramebuffer()}else{if(c.__webglFramebuffer=t.createFramebuffer(),d)if(r.drawBuffers){const n=e.texture;for(let e=0,r=n.length;e<r;e++){const r=i.get(n[e]);void 0===r.__webglTexture&&(r.__webglTexture=t.createTexture(),a.memory.textures++)}}else console.warn("THREE.WebGLRenderer: WebGLMultipleRenderTargets can only be used with WebGL2 or WEBGL_draw_buffers extension.");if(o&&e.samples>0&&!1===k(e)){const i=d?l:[l];c.__webglMultisampledFramebuffer=t.createFramebuffer(),c.__webglColorRenderbuffer=[],n.bindFramebuffer(36160,c.__webglMultisampledFramebuffer);for(let n=0;n<i.length;n++){const r=i[n];c.__webglColorRenderbuffer[n]=t.createRenderbuffer(),t.bindRenderbuffer(36161,c.__webglColorRenderbuffer[n]);const a=s.convert(r.format,r.encoding),o=s.convert(r.type),l=b(r.internalFormat,a,o,r.encoding,!0===e.isXRRenderTarget),h=F(e);t.renderbufferStorageMultisample(36161,h,l,e.width,e.height),t.framebufferRenderbuffer(36160,36064+n,36161,c.__webglColorRenderbuffer[n])}t.bindRenderbuffer(36161,null),e.depthBuffer&&(c.__webglDepthRenderbuffer=t.createRenderbuffer(),z(c.__webglDepthRenderbuffer,e,!0)),n.bindFramebuffer(36160,null)}}if(u){n.bindTexture(34067,h.__webglTexture),D(34067,l,p);for(let t=0;t<6;t++)O(c.__webglFramebuffer[t],e,l,36064,34069+t);M(l,p)&&S(34067),n.unbindTexture()}else if(d){const t=e.texture;for(let r=0,s=t.length;r<s;r++){const s=t[r],a=i.get(s);n.bindTexture(3553,a.__webglTexture),D(3553,s,p),O(c.__webglFramebuffer,e,s,36064+r,3553),M(s,p)&&S(3553)}n.unbindTexture()}else{let t=3553;(e.isWebGL3DRenderTarget||e.isWebGLArrayRenderTarget)&&(o?t=e.isWebGL3DRenderTarget?32879:35866:console.error("THREE.WebGLTextures: THREE.Data3DTexture and THREE.DataArrayTexture only supported with WebGL2.")),n.bindTexture(t,h.__webglTexture),D(t,l,p),O(c.__webglFramebuffer,e,l,36064,t),M(l,p)&&S(t),n.unbindTexture()}e.depthBuffer&&B(e)},this.updateRenderTargetMipmap=function(t){const e=y(t)||o,r=!0===t.isWebGLMultipleRenderTargets?t.texture:[t.texture];for(let s=0,a=r.length;s<a;s++){const a=r[s];if(M(a,e)){const e=t.isWebGLCubeRenderTarget?34067:3553,r=i.get(a).__webglTexture;n.bindTexture(e,r),S(e),n.unbindTexture()}}},this.updateMultisampleRenderTarget=function(e){if(o&&e.samples>0&&!1===k(e)){const r=e.isWebGLMultipleRenderTargets?e.texture:[e.texture],s=e.width,a=e.height;let o=16384;const l=[],c=e.stencilBuffer?33306:36096,h=i.get(e),u=!0===e.isWebGLMultipleRenderTargets;if(u)for(let e=0;e<r.length;e++)n.bindFramebuffer(36160,h.__webglMultisampledFramebuffer),t.framebufferRenderbuffer(36160,36064+e,36161,null),n.bindFramebuffer(36160,h.__webglFramebuffer),t.framebufferTexture2D(36009,36064+e,3553,null,0);n.bindFramebuffer(36008,h.__webglMultisampledFramebuffer),n.bindFramebuffer(36009,h.__webglFramebuffer);for(let n=0;n<r.length;n++){l.push(36064+n),e.depthBuffer&&l.push(c);const d=void 0!==h.__ignoreDepthValues&&h.__ignoreDepthValues;if(!1===d&&(e.depthBuffer&&(o|=256),e.stencilBuffer&&(o|=1024)),u&&t.framebufferRenderbuffer(36008,36064,36161,h.__webglColorRenderbuffer[n]),!0===d&&(t.invalidateFramebuffer(36008,[c]),t.invalidateFramebuffer(36009,[c])),u){const e=i.get(r[n]).__webglTexture;t.framebufferTexture2D(36009,36064,3553,e,0)}t.blitFramebuffer(0,0,s,a,0,0,s,a,o,9728),p&&t.invalidateFramebuffer(36008,l)}if(n.bindFramebuffer(36008,null),n.bindFramebuffer(36009,null),u)for(let e=0;e<r.length;e++){n.bindFramebuffer(36160,h.__webglMultisampledFramebuffer),t.framebufferRenderbuffer(36160,36064+e,36161,h.__webglColorRenderbuffer[e]);const s=i.get(r[e]).__webglTexture;n.bindFramebuffer(36160,h.__webglFramebuffer),t.framebufferTexture2D(36009,36064+e,3553,s,0)}n.bindFramebuffer(36009,h.__webglMultisampledFramebuffer)}},this.setupDepthRenderbuffer=B,this.setupFrameBufferTexture=O,this.useMultisampledRTT=k}function fo(t,e,n){const i=n.isWebGL2;return{convert:function(n,r=null){let s;if(n===ut)return 5121;if(n===xt)return 32819;if(n===yt)return 32820;if(n===dt)return 5120;if(n===pt)return 5122;if(n===mt)return 5123;if(n===ft)return 5124;if(n===gt)return 5125;if(n===vt)return 5126;if(n===_t)return i?5131:(s=e.get("OES_texture_half_float"),null!==s?s.HALF_FLOAT_OES:null);if(n===St)return 6406;if(n===bt)return 6408;if(n===wt)return 6409;if(n===Tt)return 6410;if(n===Et)return 6402;if(n===At)return 34041;if(n===Ce)return s=e.get("EXT_sRGB"),null!==s?s.SRGB_ALPHA_EXT:null;if(n===Ct)return 6403;if(n===Lt)return 36244;if(n===Pt)return 33319;if(n===Rt)return 33320;if(n===It)return 36249;if(n===Dt||n===Ut||n===Nt||n===Ot)if(r===_e){if(s=e.get("WEBGL_compressed_texture_s3tc_srgb"),null===s)return null;if(n===Dt)return s.COMPRESSED_SRGB_S3TC_DXT1_EXT;if(n===Ut)return s.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;if(n===Nt)return s.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;if(n===Ot)return s.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}else{if(s=e.get("WEBGL_compressed_texture_s3tc"),null===s)return null;if(n===Dt)return s.COMPRESSED_RGB_S3TC_DXT1_EXT;if(n===Ut)return s.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(n===Nt)return s.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(n===Ot)return s.COMPRESSED_RGBA_S3TC_DXT5_EXT}if(n===zt||n===Bt||n===Ft||n===kt){if(s=e.get("WEBGL_compressed_texture_pvrtc"),null===s)return null;if(n===zt)return s.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(n===Bt)return s.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(n===Ft)return s.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(n===kt)return s.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}if(n===Gt)return s=e.get("WEBGL_compressed_texture_etc1"),null!==s?s.COMPRESSED_RGB_ETC1_WEBGL:null;if(n===Vt||n===Ht){if(s=e.get("WEBGL_compressed_texture_etc"),null===s)return null;if(n===Vt)return r===_e?s.COMPRESSED_SRGB8_ETC2:s.COMPRESSED_RGB8_ETC2;if(n===Ht)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:s.COMPRESSED_RGBA8_ETC2_EAC}if(n===Wt||n===jt||n===qt||n===Xt||n===Yt||n===Zt||n===Jt||n===Kt||n===$t||n===Qt||n===te||n===ee||n===ne||n===ie){if(s=e.get("WEBGL_compressed_texture_astc"),null===s)return null;if(n===Wt)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:s.COMPRESSED_RGBA_ASTC_4x4_KHR;if(n===jt)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:s.COMPRESSED_RGBA_ASTC_5x4_KHR;if(n===qt)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:s.COMPRESSED_RGBA_ASTC_5x5_KHR;if(n===Xt)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:s.COMPRESSED_RGBA_ASTC_6x5_KHR;if(n===Yt)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:s.COMPRESSED_RGBA_ASTC_6x6_KHR;if(n===Zt)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:s.COMPRESSED_RGBA_ASTC_8x5_KHR;if(n===Jt)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:s.COMPRESSED_RGBA_ASTC_8x6_KHR;if(n===Kt)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:s.COMPRESSED_RGBA_ASTC_8x8_KHR;if(n===$t)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:s.COMPRESSED_RGBA_ASTC_10x5_KHR;if(n===Qt)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:s.COMPRESSED_RGBA_ASTC_10x6_KHR;if(n===te)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:s.COMPRESSED_RGBA_ASTC_10x8_KHR;if(n===ee)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:s.COMPRESSED_RGBA_ASTC_10x10_KHR;if(n===ne)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:s.COMPRESSED_RGBA_ASTC_12x10_KHR;if(n===ie)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:s.COMPRESSED_RGBA_ASTC_12x12_KHR}if(n===re){if(s=e.get("EXT_texture_compression_bptc"),null===s)return null;if(n===re)return r===_e?s.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT:s.COMPRESSED_RGBA_BPTC_UNORM_EXT}if(n===se||n===ae||n===oe||n===le){if(s=e.get("EXT_texture_compression_rgtc"),null===s)return null;
vendor: 6,426 bytes, line 3856
3856if(n===re)return s.COMPRESSED_RED_RGTC1_EXT;if(n===ae)return s.COMPRESSED_SIGNED_RED_RGTC1_EXT;if(n===oe)return s.COMPRESSED_RED_GREEN_RGTC2_EXT;if(n===le)return s.COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT}return n===Mt?i?34042:(s=e.get("WEBGL_depth_texture"),null!==s?s.UNSIGNED_INT_24_8_WEBGL:null):void 0!==t[n]?t[n]:null}}}class go extends Pr{constructor(t=[]){super(),this.isArrayCamera=!0,this.cameras=t}}class vo extends vi{constructor(){super(),this.isGroup=!0,this.type="Group"}}const _o={type:"move"};class xo{constructor(){this._targetRay=null,this._grip=null,this._hand=null}getHandSpace(){return null===this._hand&&(this._hand=new vo,this._hand.matrixAutoUpdate=!1,this._hand.visible=!1,this._hand.joints={},this._hand.inputState={pinching:!1}),this._hand}getTargetRaySpace(){return null===this._targetRay&&(this._targetRay=new vo,this._targetRay.matrixAutoUpdate=!1,this._targetRay.visible=!1,this._targetRay.hasLinearVelocity=!1,this._targetRay.linearVelocity=new gn,this._targetRay.hasAngularVelocity=!1,this._targetRay.angularVelocity=new gn),this._targetRay}getGripSpace(){return null===this._grip&&(this._grip=new vo,this._grip.matrixAutoUpdate=!1,this._grip.visible=!1,this._grip.hasLinearVelocity=!1,this._grip.linearVelocity=new gn,this._grip.hasAngularVelocity=!1,this._grip.angularVelocity=new gn),this._grip}dispatchEvent(t){return null!==this._targetRay&&this._targetRay.dispatchEvent(t),null!==this._grip&&this._grip.dispatchEvent(t),null!==this._hand&&this._hand.dispatchEvent(t),this}connect(t){if(t&&t.hand){const e=this._hand;if(e)for(const n of t.hand.values())this._getHandJoint(e,n)}return this.dispatchEvent({type:"connected",data:t}),this}disconnect(t){return this.dispatchEvent({type:"disconnected",data:t}),null!==this._targetRay&&(this._targetRay.visible=!1),null!==this._grip&&(this._grip.visible=!1),null!==this._hand&&(this._hand.visible=!1),this}update(t,e,n){let i=null,r=null,s=null;const a=this._targetRay,o=this._grip,l=this._hand;if(t&&"visible-blurred"!==e.session.visibilityState){if(l&&t.hand){s=!0;for(const i of t.hand.values()){const t=e.getJointPose(i,n),r=this._getHandJoint(l,i);null!==t&&(r.matrix.fromArray(t.transform.matrix),r.matrix.decompose(r.position,r.rotation,r.scale),r.jointRadius=t.radius),r.visible=null!==t}const i=l.joints["index-finger-tip"],r=l.joints["thumb-tip"],a=i.position.distanceTo(r.position),o=.02,c=.005;l.inputState.pinching&&a>o+c?(l.inputState.pinching=!1,this.dispatchEvent({type:"pinchend",handedness:t.handedness,target:this})):!l.inputState.pinching&&a<=o-c&&(l.inputState.pinching=!0,this.dispatchEvent({type:"pinchstart",handedness:t.handedness,target:this}))}else null!==o&&t.gripSpace&&(r=e.getPose(t.gripSpace,n),null!==r&&(o.matrix.fromArray(r.transform.matrix),o.matrix.decompose(o.position,o.rotation,o.scale),r.linearVelocity?(o.hasLinearVelocity=!0,o.linearVelocity.copy(r.linearVelocity)):o.hasLinearVelocity=!1,r.angularVelocity?(o.hasAngularVelocity=!0,o.angularVelocity.copy(r.angularVelocity)):o.hasAngularVelocity=!1));null!==a&&(i=e.getPose(t.targetRaySpace,n),null===i&&null!==r&&(i=r),null!==i&&(a.matrix.fromArray(i.transform.matrix),a.matrix.decompose(a.position,a.rotation,a.scale),i.linearVelocity?(a.hasLinearVelocity=!0,a.linearVelocity.copy(i.linearVelocity)):a.hasLinearVelocity=!1,i.angularVelocity?(a.hasAngularVelocity=!0,a.angularVelocity.copy(i.angularVelocity)):a.hasAngularVelocity=!1,this.dispatchEvent(_o)))}return null!==a&&(a.visible=null!==i),null!==o&&(o.visible=null!==r),null!==l&&(l.visible=null!==s),this}_getHandJoint(t,e){if(void 0===t.joints[e.jointName]){const n=new vo;n.matrixAutoUpdate=!1,n.visible=!1,t.joints[e.jointName]=n,t.add(n)}return t.joints[e.jointName]}}class yo extends hn{constructor(t,e,n,i,r,s,a,o,l,c){if((c=void 0!==c?c:Et)!==Et&&c!==At)throw new Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");void 0===n&&c===Et&&(n=gt),void 0===n&&c===At&&(n=Mt),super(null,i,r,s,a,o,c,n,l),this.isDepthTexture=!0,this.image={width:t,height:e},this.magFilter=void 0!==a?a:st,this.minFilter=void 0!==o?o:st,this.flipY=!1,this.generateMipmaps=!1}}class Mo extends Le{constructor(t,e){super();const n=this;let i=null,r=1,s=null,a="local-floor",o=1,l=null,c=null,h=null,u=null,d=null,p=null;const m=e.getContextAttributes();let f=null,g=null;const v=[],_=[],x=new Set,y=new Map,M=new Pr;M.layers.enable(1),M.viewport=new un;const S=new Pr;S.layers.enable(2),S.viewport=new un;const b=[M,S],w=new go;w.layers.enable(1),w.layers.enable(2);let T=null,E=null;function A(t){const e=_.indexOf(t.inputSource);if(-1===e)return;const n=v[e];void 0!==n&&n.dispatchEvent({type:t.type,data:t.inputSource})}function C(){i.removeEventListener("select",A),i.removeEventListener("selectstart",A),i.removeEventListener("selectend",A),i.removeEventListener("squeeze",A),i.removeEventListener("squeezestart",A),i.removeEventListener("squeezeend",A),i.removeEventListener("end",C),i.removeEventListener("inputsourceschange",L);for(let t=0;t<v.length;t++){const e=_[t];null!==e&&(_[t]=null,v[t].disconnect(e))}T=null,E=null,t.setRenderTarget(f),d=null,u=null,h=null,i=null,g=null,U.stop(),n.isPresenting=!1,n.dispatchEvent({type:"sessionend"})}function L(t){for(let e=0;e<t.removed.length;e++){const n=t.removed[e],i=_.indexOf(n);i>=0&&(_[i]=null,v[i].disconnect(n))}for(let e=0;e<t.added.length;e++){const n=t.added[e];let i=_.indexOf(n);if(-1===i){for(let t=0;t<v.length;t++){if(t>=_.length){_.push(n),i=t;break}if(null===_[t]){_[t]=n,i=t;break}}if(-1===i)break}const r=v[i];r&&r.connect(n)}}this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(t){let e=v[t];return void 0===e&&(e=new xo,v[t]=e),e.getTargetRaySpace()},this.getControllerGrip=function(t){let e=v[t];return void 0===e&&(e=new xo,v[t]=e),e.getGripSpace()},this.getHand=function(t){let e=v[t];return void 0===e&&(e=new xo,v[t]=e),e.getHandSpace()},this.setFramebufferScaleFactor=function(t){r=t,!0===n.isPresenting&&console.warn("THREE.WebXRManager: Cannot change framebuffer scale while presenting.")},this.setReferenceSpaceType=function(t){a=t,!0===n.isPresenting&&console.warn("THREE.WebXRManager: Cannot change reference space type while presenting.")},this.getReferenceSpace=function(){return l||s},this.setReferenceSpace=function(t){l=t},this.getBaseLayer=function(){return null!==u?u:d},this.getBinding=function(){return h},this.getFrame=function(){return p}
3856,this.getSession=function(){return i},this.setSession=async function(c){if(i=c,null!==i){if(f=t.getRenderTarget(),i.addEventListener("select",A),i.addEventListener("selectstart",A),i.addEventListener("selectend",A),i.addEventListener("squeeze",A),i.addEventListener("squeezestart",A),i.addEventListener("squeezeend",A),i.addEventListener("end",C),i.addEventListener("inputsourceschange",L),!0!==m.xrCompatible&&(await e.makeXRCompatible()),void 0===i.renderState.layers||!1===t.capabilities.isWebGL2){const n={antialias:void 0!==i.renderState.layers||m.antialias,alpha:m.alpha,depth:m.depth,stencil:m.stencil,framebufferScaleFactor:r};d=new XRWebGLLayer(i,e,n),i.updateRenderState({baseLayer:d}),g=new dn(d.framebufferWidth,d.framebufferHeight,{format:bt,type:ut,encoding:t.outputEncoding,stencilBuffer:m.stencil})}else{let n=null,s=null,a=null;m.depth&&(a=m.stencil?35056:33190,n=m.stencil?At:Et,s=m.stencil?Mt:gt);const o={colorFormat:32856,depthFormat:a,scaleFactor:r};h=new XRWebGLBinding(i,e),u=h.createProjectionLayer(o),i.updateRenderState({layers:[u]}),g=new dn(u.textureWidth,u.textureHeight,{format:bt,type:ut,depthTexture:new yo(u.textureWidth,u.textureHeight,s,void 0,void 0,void 0,void 0,void 0,void 0,n),stencilBuffer:m.stencil,encoding:t.outputEncoding,samples:m.antialias?4:0});t.properties.get(g).__ignoreDepthValues=u.ignoreDepthValues}g.isXRRenderTarget=!0,this.setFoveation(o),l=null,s=await i.requestReferenceSpace(a),U.setContext(i),U.start(),n.isPresenting=!0,n.dispatchEvent({type:"sessionstart"})}};const P=new gn,R=new gn;function I(t,e){null===e?t.matrixWorld.copy(t.matrix):t.matrixWorld.multiplyMatrices(e.matrixWorld,t.matrix),t.matrixWorldInverse.copy(t.matrixWorld).invert()}this.updateCamera=function(t){if(null===i)return;w.near=S.near=M.near=t.near,w.far=S.far=M.far=t.far,T===w.near&&E===w.far||(i.updateRenderState({depthNear:w.near,depthFar:w.far}),T=w.near,E=w.far);const e=t.parent,n=w.cameras;I(w,e);for(let t=0;t<n.length;t++)I(n[t],e);2===n.length?function(t,e,n){P.setFromMatrixPosition(e.matrixWorld),R.setFromMatrixPosition(n.matrixWorld);const i=P.distanceTo(R),r=e.projectionMatrix.elements,s=n.projectionMatrix.elements,a=r[14]/(r[10]-1),o=r[14]/(r[10]+1),l=(r[9]+1)/r[5],c=(r[9]-1)/r[5],h=(r[8]-1)/r[0],u=(s[8]+1)/s[0],d=a*h,p=a*u,m=i/(-h+u),f=m*-h;e.matrixWorld.decompose(t.position,t.quaternion,t.scale),t.translateX(f),t.translateZ(m),t.matrixWorld.compose(t.position,t.quaternion,t.scale),t.matrixWorldInverse.copy(t.matrixWorld).invert();const g=a+m,v=o+m,_=d-f,x=p+(i-f),y=l*o/v*g,M=c*o/v*g;t.projectionMatrix.makePerspective(_,x,y,M,g,v),t.projectionMatrixInverse.copy(t.projectionMatrix).invert()}(w,M,S):w.projectionMatrix.copy(M.projectionMatrix),function(t,e,n){null===n?t.matrix.copy(e.matrixWorld):(t.matrix.copy(n.matrixWorld),t.matrix.invert(),t.matrix.multiply(e.matrixWorld));t.matrix.decompose(t.position,t.quaternion,t.scale),t.updateMatrixWorld(!0);const i=t.children;for(let t=0,e=i.length;t<e;t++)i[t].updateMatrixWorld(!0);t.projectionMatrix.copy(e.projectionMatrix),t.projectionMatrixInverse.copy(e.projectionMatrixInverse),t.isPerspectiveCamera&&(t.fov=2*De*Math.atan(1/t.projectionMatrix.elements[5]),t.zoom=1)}(t,w,e)},this.getCamera=function(){return w},this.getFoveation=function(){if(null!==u||null!==d)return o},this.setFoveation=function(t){o=t,null!==u&&(u.fixedFoveation=t),null!==d&&void 0!==d.fixedFoveation&&(d.fixedFoveation=t)},this.getPlanes=function(){return x};let D=null;const U=new Vr;U.setAnimationLoop(function(e,i){if(c=i.getViewerPose(l||s),p=i,null!==c){const e=c.views;null!==d&&(t.setRenderTargetFramebuffer(g,d.framebuffer),t.setRenderTarget(g));let n=!1;e.length!==w.cameras.length&&(w.cameras.length=0,n=!0);for(let i=0;i<e.length;i++){const r=e[i];let s=null;if(null!==d)s=d.getViewport(r);else{const e=h.getViewSubImage(u,r);s=e.viewport,0===i&&(t.setRenderTargetTextures(g,e.colorTexture,u.ignoreDepthValues?void 0:e.depthStencilTexture),t.setRenderTarget(g))}let a=b[i];void 0===a&&(a=new Pr,a.layers.enable(i),a.viewport=new un,b[i]=a),a.matrix.fromArray(r.transform.matrix),a.matrix.decompose(a.position,a.quaternion,a.scale),a.projectionMatrix.fromArray(r.projectionMatrix),a.projectionMatrixInverse.copy(a.projectionMatrix).invert(),a.viewport.set(s.x,s.y,s.width,s.height),0===i&&(w.matrix.copy(a.matrix),w.matrix.decompose(w.position,w.quaternion,w.scale)),!0===n&&w.cameras.push(a)}}for(let t=0;t<v.length;t++){const e=_[t],n=v[t];null!==e&&void 0!==n&&n.update(e,i,l||s)}if(D&&D(e,i),i.detectedPlanes){n.dispatchEvent({type:"planesdetected",data:i.detectedPlanes});let t=null;for(const e of x)i.detectedPlanes.has(e)||(null===t&&(t=[]),t.push(e));if(null!==t)for(const e of t)x.delete(e),y.delete(e),n.dispatchEvent({type:"planeremoved",data:e});for(const t of i.detectedPlanes)if(x.has(t)){const e=y.get(t);t.lastChangedTime>e&&(y.set(t,t.lastChangedTime),n.dispatchEvent({type:"planechanged",data:t}))}else x.add(t),y.set(t,i.lastChangedTime),n.dispatchEvent({type:"planeadded",data:t})}p=null}),this.setAnimationLoop=function(t){D=t},this.dispose=function(){}}}function So(t,e){function n(t,e){!0===t.matrixAutoUpdate&&t.updateMatrix(),e.value.copy(t.matrix)}function i(i,r){i.opacity.value=r.opacity,r.color&&i.diffuse.value.copy(r.color),r.emissive&&i.emissive.value.copy(r.emissive).multiplyScalar(r.emissiveIntensity),r.map&&(i.map.value=r.map,n(r.map,i.mapTransform)),r.alphaMap&&(i.alphaMap.value=r.alphaMap,n(r.alphaMap,i.alphaMapTransform)),r.bumpMap&&(i.bumpMap.value=r.bumpMap,n(r.bumpMap,i.bumpMapTransform),i.bumpScale.value=r.bumpScale,r.side===c&&(i.bumpScale.value*=-1)),r.normalMap&&(i.normalMap.value=r.normalMap,n(r.
vendor: 5,554 bytes, line 3856
3856normalMap,i.normalMapTransform),i.normalScale.value.copy(r.normalScale),r.side===c&&i.normalScale.value.negate()),r.displacementMap&&(i.displacementMap.value=r.displacementMap,n(r.displacementMap,i.displacementMapTransform),i.displacementScale.value=r.displacementScale,i.displacementBias.value=r.displacementBias),r.emissiveMap&&(i.emissiveMap.value=r.emissiveMap,n(r.emissiveMap,i.emissiveMapTransform)),r.specularMap&&(i.specularMap.value=r.specularMap,n(r.specularMap,i.specularMapTransform)),r.alphaTest>0&&(i.alphaTest.value=r.alphaTest);const s=e.get(r).envMap;if(s&&(i.envMap.value=s,i.flipEnvMap.value=s.isCubeTexture&&!1===s.isRenderTargetTexture?-1:1,i.reflectivity.value=r.reflectivity,i.ior.value=r.ior,i.refractionRatio.value=r.refractionRatio),r.lightMap){i.lightMap.value=r.lightMap;const e=!0===t.useLegacyLights?Math.PI:1;i.lightMapIntensity.value=r.lightMapIntensity*e,n(r.lightMap,i.lightMapTransform)}r.aoMap&&(i.aoMap.value=r.aoMap,i.aoMapIntensity.value=r.aoMapIntensity,n(r.aoMap,i.aoMapTransform))}return{refreshFogUniforms:function(e,n){n.color.getRGB(e.fogColor.value,Er(t)),n.isFog?(e.fogNear.value=n.near,e.fogFar.value=n.far):n.isFogExp2&&(e.fogDensity.value=n.density)},refreshMaterialUniforms:function(t,r,s,a,o){r.isMeshBasicMaterial||r.isMeshLambertMaterial?i(t,r):r.isMeshToonMaterial?(i(t,r),function(t,e){e.gradientMap&&(t.gradientMap.value=e.gradientMap)}(t,r)):r.isMeshPhongMaterial?(i(t,r),function(t,e){t.specular.value.copy(e.specular),t.shininess.value=Math.max(e.shininess,1e-4)}(t,r)):r.isMeshStandardMaterial?(i(t,r),function(t,i){t.metalness.value=i.metalness,i.metalnessMap&&(t.metalnessMap.value=i.metalnessMap,n(i.metalnessMap,t.metalnessMapTransform));t.roughness.value=i.roughness,i.roughnessMap&&(t.roughnessMap.value=i.roughnessMap,n(i.roughnessMap,t.roughnessMapTransform));const r=e.get(i).envMap;r&&(t.envMapIntensity.value=i.envMapIntensity)}(t,r),r.isMeshPhysicalMaterial&&function(t,e,i){t.ior.value=e.ior,e.sheen>0&&(t.sheenColor.value.copy(e.sheenColor).multiplyScalar(e.sheen),t.sheenRoughness.value=e.sheenRoughness,e.sheenColorMap&&(t.sheenColorMap.value=e.sheenColorMap,n(e.sheenColorMap,t.sheenColorMapTransform)),e.sheenRoughnessMap&&(t.sheenRoughnessMap.value=e.sheenRoughnessMap,n(e.sheenRoughnessMap,t.sheenRoughnessMapTransform)));e.clearcoat>0&&(t.clearcoat.value=e.clearcoat,t.clearcoatRoughness.value=e.clearcoatRoughness,e.clearcoatMap&&(t.clearcoatMap.value=e.clearcoatMap,n(e.clearcoatMap,t.clearcoatMapTransform)),e.clearcoatRoughnessMap&&(t.clearcoatRoughnessMap.value=e.clearcoatRoughnessMap,n(e.clearcoatRoughnessMap,t.clearcoatRoughnessMapTransform)),e.clearcoatNormalMap&&(t.clearcoatNormalMap.value=e.clearcoatNormalMap,n(e.clearcoatNormalMap,t.clearcoatNormalMapTransform),t.clearcoatNormalScale.value.copy(e.clearcoatNormalScale),e.side===c&&t.clearcoatNormalScale.value.negate()));e.iridescence>0&&(t.iridescence.value=e.iridescence,t.iridescenceIOR.value=e.iridescenceIOR,t.iridescenceThicknessMinimum.value=e.iridescenceThicknessRange[0],t.iridescenceThicknessMaximum.value=e.iridescenceThicknessRange[1],e.iridescenceMap&&(t.iridescenceMap.value=e.iridescenceMap,n(e.iridescenceMap,t.iridescenceMapTransform)),e.iridescenceThicknessMap&&(t.iridescenceThicknessMap.value=e.iridescenceThicknessMap,n(e.iridescenceThicknessMap,t.iridescenceThicknessMapTransform)));e.transmission>0&&(t.transmission.value=e.transmission,t.transmissionSamplerMap.value=i.texture,t.transmissionSamplerSize.value.set(i.width,i.height),e.transmissionMap&&(t.transmissionMap.value=e.transmissionMap,n(e.transmissionMap,t.transmissionMapTransform)),t.thickness.value=e.thickness,e.thicknessMap&&(t.thicknessMap.value=e.thicknessMap,n(e.thicknessMap,t.thicknessMapTransform)),t.attenuationDistance.value=e.attenuationDistance,t.attenuationColor.value.copy(e.attenuationColor));t.specularIntensity.value=e.specularIntensity,t.specularColor.value.copy(e.specularColor),e.specularColorMap&&(t.specularColorMap.value=e.specularColorMap,n(e.specularColorMap,t.specularColorMapTransform));e.specularIntensityMap&&(t.specularIntensityMap.value=e.specularIntensityMap,n(e.specularIntensityMap,t.specularIntensityMapTransform))}(t,r,o)):r.isMeshMatcapMaterial?(i(t,r),function(t,e){e.matcap&&(t.matcap.value=e.matcap)}(t,r)):r.isMeshDepthMaterial?i(t,r):r.isMeshDistanceMaterial?(i(t,r),function(t,n){const i=e.get(n).light;t.referencePosition.value.setFromMatrixPosition(i.matrixWorld),t.nearDistance.value=i.shadow.camera.near,t.farDistance.value=i.shadow.camera.far}(t,r)):r.isMeshNormalMaterial?i(t,r):r.isLineBasicMaterial?(function(t,e){t.diffuse.value.copy(e.color),t.opacity.value=e.opacity,e.map&&(t.map.value=e.map,n(e.map,t.mapTransform))}(t,r),r.isLineDashedMaterial&&function(t,e){t.dashSize.value=e.dashSize,t.totalSize.value=e.dashSize+e.gapSize,t.scale.value=e.scale}(t,r)):r.isPointsMaterial?function(t,e,i,r){t.diffuse.value.copy(e.color),t.opacity.value=e.opacity,t.size.value=e.size*i,t.scale.value=.5*r,e.map&&(t.map.value=e.map,n(e.map,t.uvTransform));e.alphaMap&&(t.alphaMap.value=e.alphaMap);e.alphaTest>0&&(t.alphaTest.value=e.alphaTest)}(t,r,s,a):r.isSpriteMaterial?function(t,e){t.diffuse.value.copy(e.color),t.opacity.value=e.opacity,t.rotation.value=e.rotation,e.map&&(t.map.value=e.map,n(e.map,t.mapTransform));e.alphaMap&&(t.alphaMap.value=e.alphaMap);e.alphaTest>0&&(t.alphaTest.value=e.alphaTest)}(t,r):r.isShadowMaterial?(t.color.value.copy(r.color),t.opacity.value=r.opacity):r.isShaderMaterial&&(r.uniformsNeedUpdate=!1)}}}function bo(t,e,n,i){let r={},s={},a=[];
3856const o=n.isWebGL2?t.getParameter(35375):0;function l(t,e,n){const i=t.value;if(void 0===n[e]){if("number"==typeof i)n[e]=i;else{const t=Array.isArray(i)?i:[i],r=[];for(let e=0;e<t.length;e++)r.push(t[e].clone());n[e]=r}return!0}if("number"==typeof i){if(n[e]!==i)return n[e]=i,!0}else{const t=Array.isArray(n[e])?n[e]:[n[e]],r=Array.isArray(i)?i:[i];for(let e=0;e<t.length;e++){const n=t[e];if(!1===n.equals(r[e]))return n.copy(r[e]),!0}}return!1}function c(t){const e={boundary:0,storage:0};return"number"==typeof t?(e.boundary=4,e.storage=4):t.isVector2?(e.boundary=8,e.storage=8):t.isVector3||t.isColor?(e.boundary=16,e.storage=12):t.isVector4?(e.boundary=16,e.storage=16):t.isMatrix3?(e.boundary=48,e.storage=48):t.isMatrix4?(e.boundary=64,e.storage=64):t.isTexture?console.warn("THREE.WebGLRenderer: Texture samplers can not be part of an uniforms group."):console.warn("THREE.WebGLRenderer: Unsupported uniform value type.",t),e}function h(e){const n=e.target;n.removeEventListener("dispose",h);const i=a.indexOf(n.__bindingPointIndex);a.splice(i,1),t.deleteBuffer(r[n.id]),delete r[n.id],delete s[n.id]}return{bind:function(t,e){const n=e.program;i.uniformBlockBinding(t,n)},update:function(n,u){let d=r[n.id];void 0===d&&(!function(t){const e=t.uniforms;let n=0;const i=16;let r=0;for(let t=0,s=e.length;t<s;t++){const s=e[t],a={boundary:0,storage:0},o=Array.isArray(s.value)?s.value:[s.value];for(let t=0,e=o.length;t<e;t++){const e=c(o[t]);a.boundary+=e.boundary,a.storage+=e.storage}if(s.__data=new Float32Array(a.storage/Float32Array.BYTES_PER_ELEMENT),s.__offset=n,t>0){r=n%i;0!==r&&i-r-a.boundary<0&&(n+=i-r,s.__offset=n)}n+=a.storage}r=n%i,r>0&&(n+=i-r);t.__size=n,t.__cache={}}(n),d=function(e){const n=function(){for(let t=0;t<o;t++)if(-1===a.indexOf(t))return a.push(t),t;return console.error("THREE.WebGLRenderer: Maximum number of simultaneously usable uniforms groups reached."),0}();e.__bindingPointIndex=n;const i=t.createBuffer(),r=e.__size,s=e.usage;return t.bindBuffer(35345,i),t.bufferData(35345,r,s),t.bindBuffer(35345,null),t.bindBufferBase(35345,n,i),i}(n),r[n.id]=d,n.addEventListener("dispose",h));const p=u.program;i.updateUBOMapping(n,p);const m=e.render.frame;s[n.id]!==m&&(!function(e){const n=r[e.id],i=e.uniforms,s=e.__cache;t.bindBuffer(35345,n);for(let e=0,n=i.length;e<n;e++){const n=i[e];if(!0===l(n,e,s)){const e=n.__offset,i=Array.isArray(n.value)?n.value:[n.value];let r=0;for(let s=0;s<i.length;s++){const a=i[s],o=c(a);"number"==typeof a?(n.__data[0]=a,t.bufferSubData(35345,e+r,n.__data)):a.isMatrix3?(n.__data[0]=a.elements[0],n.__data[1]=a.elements[1],n.__data[2]=a.elements[2],n.__data[3]=a.elements[0],n.__data[4]=a.elements[3],n.__data[5]=a.elements[4],n.__data[6]=a.elements[5],n.__data[7]=a.elements[0],n.__data[8]=a.elements[6],n.__data[9]=a.elements[7],n.__data[10]=a.elements[8],n.__data[11]=a.elements[0]):(a.toArray(n.__data,r),r+=o.storage/Float32Array.BYTES_PER_ELEMENT)}t.bufferSubData(35345,e,n.__data)}}t.bindBuffer(35345,null)}(n),s[n.id]=m)},dispose:function(){for(const e in r)t.deleteBuffer(r[e]);a=[],r={},s={}}}}function wo(){const t=Je("canvas");return t.style.display="block",t}class To{constructor(t={}){const{canvas:n=wo(),context:i=null,depth:r=!0,stencil:s=!0,alpha:a=!1,antialias:o=!1,premultipliedAlpha:u=!0,preserveDrawingBuffer:d=!1,powerPreference:p="default",failIfMajorPerformanceCaveat:m=!1}=t;let f;this.isWebGLRenderer=!0,f=null!==i?i.getContextAttributes().alpha:a;let g=null,v=null;const _=[],x=[];this.domElement=n,this.debug={checkShaderErrors:!0,onShaderError:null},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this.outputEncoding=ve,this.useLegacyLights=!0,this.toneMapping=W,this.toneMappingExposure=1;const y=this;let M=!1,S=0,b=0,w=null,T=-1,E=null;const A=new un,C=new un;let L=null,P=n.width,R=n.height,I=1,D=null,U=null;const N=new un(0,0,P,R),O=new un(0,0,P,R);let z=!1;const B=new Gr;let F=!1,k=!1,G=null;const V=new qn,H=new gn,j={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};function q(){return null===w?I:1}let X,Y,Z,J,K,$,Q,tt,et,nt,it,rt,st,at,ot,lt,ct,dt,pt,mt,ft,gt,xt,yt,Mt=i;function St(t,e){for(let i=0;i<t.length;i++){const r=t[i],s=n.getContext(r,e);if(null!==s)return s}return null}try{const t={alpha:!0,depth:r,stencil:s,antialias:o,premultipliedAlpha:u,preserveDrawingBuffer:d,powerPreference:p,failIfMajorPerformanceCaveat:m};if("setAttribute"in n&&n.setAttribute("data-engine",`three.js r${e}`),n.addEventListener("webglcontextlost",Et,!1),n.addEventListener("webglcontextrestored",At,!1),n.addEventListener("webglcontextcreationerror",Ct,!1),null===Mt){const e=["webgl2","webgl","experimental-webgl"];
vendor: 30,652 bytes, line 3856
3856if(!0===y.isWebGL1Renderer&&e.shift(),Mt=St(e,t),null===Mt)throw St(e)?new Error("Error creating WebGL context with your selected attributes."):new Error("Error creating WebGL context.")}void 0===Mt.getShaderPrecisionFormat&&(Mt.getShaderPrecisionFormat=function(){return{rangeMin:1,rangeMax:1,precision:1}})}catch(t){throw console.error("THREE.WebGLRenderer: "+t.message),t}function wt(){X=new _s(Mt),Y=new $r(Mt,X,t),X.init(Y),gt=new fo(Mt,X,Y),Z=new po(Mt,X,Y),J=new Ms,K=new Ja,$=new mo(Mt,X,Z,K,Y,gt,J),Q=new ts(y),tt=new vs(y),et=new Hr(Mt,Y),xt=new Jr(Mt,X,et,Y),nt=new xs(Mt,et,J,xt),it=new Ts(Mt,nt,et,J),pt=new ws(Mt,Y,$),lt=new Qr(K),rt=new Za(y,Q,tt,X,Y,xt,lt),st=new So(y,K),at=new to,ot=new ao(X,Y),dt=new Zr(y,Q,tt,Z,it,f,u),ct=new uo(y,it,Y),yt=new bo(Mt,J,Y,Z),mt=new Kr(Mt,X,J,Y),ft=new ys(Mt,X,J,Y),J.programs=rt.programs,y.capabilities=Y,y.extensions=X,y.properties=K,y.renderLists=at,y.shadowMap=ct,y.state=Z,y.info=J}wt();const Tt=new Mo(y,Mt);function Et(t){t.preventDefault(),console.log("THREE.WebGLRenderer: Context Lost."),M=!0}function At(){console.log("THREE.WebGLRenderer: Context Restored."),M=!1;const t=J.autoReset,e=ct.enabled,n=ct.autoUpdate,i=ct.needsUpdate,r=ct.type;wt(),J.autoReset=t,ct.enabled=e,ct.autoUpdate=n,ct.needsUpdate=i,ct.type=r}function Ct(t){console.error("THREE.WebGLRenderer: A WebGL context could not be created. Reason: ",t.statusMessage)}function Lt(t){const e=t.target;e.removeEventListener("dispose",Lt),function(t){(function(t){const e=K.get(t).programs;void 0!==e&&(e.forEach(function(t){rt.releaseProgram(t)}),t.isShaderMaterial&&rt.releaseShaderCache(t))})(t),K.remove(t)}(e)}this.xr=Tt,this.getContext=function(){return Mt},this.getContextAttributes=function(){return Mt.getContextAttributes()},this.forceContextLoss=function(){const t=X.get("WEBGL_lose_context");t&&t.loseContext()},this.forceContextRestore=function(){const t=X.get("WEBGL_lose_context");t&&t.restoreContext()},this.getPixelRatio=function(){return I},this.setPixelRatio=function(t){void 0!==t&&(I=t,this.setSize(P,R,!1))},this.getSize=function(t){return t.set(P,R)},this.setSize=function(t,e,i=!0){Tt.isPresenting?console.warn("THREE.WebGLRenderer: Can't change size while VR device is presenting."):(P=t,R=e,n.width=Math.floor(t*I),n.height=Math.floor(e*I),!0===i&&(n.style.width=t+"px",n.style.height=e+"px"),this.setViewport(0,0,t,e))},this.getDrawingBufferSize=function(t){return t.set(P*I,R*I).floor()},this.setDrawingBufferSize=function(t,e,i){P=t,R=e,I=i,n.width=Math.floor(t*i),n.height=Math.floor(e*i),this.setViewport(0,0,t,e)},this.getCurrentViewport=function(t){return t.copy(A)},this.getViewport=function(t){return t.copy(N)},this.setViewport=function(t,e,n,i){t.isVector4?N.set(t.x,t.y,t.z,t.w):N.set(t,e,n,i),Z.viewport(A.copy(N).multiplyScalar(I).floor())},this.getScissor=function(t){return t.copy(O)},this.setScissor=function(t,e,n,i){t.isVector4?O.set(t.x,t.y,t.z,t.w):O.set(t,e,n,i),Z.scissor(C.copy(O).multiplyScalar(I).floor())},this.getScissorTest=function(){return z},this.setScissorTest=function(t){Z.setScissorTest(z=t)},this.setOpaqueSort=function(t){D=t},this.setTransparentSort=function(t){U=t},this.getClearColor=function(t){return t.copy(dt.getClearColor())},this.setClearColor=function(){dt.setClearColor.apply(dt,arguments)},this.getClearAlpha=function(){return dt.getClearAlpha()},this.setClearAlpha=function(){dt.setClearAlpha.apply(dt,arguments)},this.clear=function(t=!0,e=!0,n=!0){let i=0;t&&(i|=16384),e&&(i|=256),n&&(i|=1024),Mt.clear(i)},this.clearColor=function(){this.clear(!0,!1,!1)},this.clearDepth=function(){this.clear(!1,!0,!1)},this.clearStencil=function(){this.clear(!1,!1,!0)},this.dispose=function(){n.removeEventListener("webglcontextlost",Et,!1),n.removeEventListener("webglcontextrestored",At,!1),n.removeEventListener("webglcontextcreationerror",Ct,!1),at.dispose(),ot.dispose(),K.dispose(),Q.dispose(),tt.dispose(),it.dispose(),xt.dispose(),yt.dispose(),rt.dispose(),Tt.dispose(),Tt.removeEventListener("sessionstart",Rt),Tt.removeEventListener("sessionend",It),G&&(G.dispose(),G=null),Dt.stop()},this.renderBufferDirect=function(t,e,n,i,r,s){null===e&&(e=j);const a=r.isMesh&&r.matrixWorld.determinant()<0,o=function(t,e,n,i,r){!0!==e.isScene&&(e=j);$.resetTextureUnits();const s=e.fog,a=i.isMeshStandardMaterial?e.environment:null,o=null===w?y.outputEncoding:!0===w.isXRRenderTarget?w.texture.encoding:ve,l=(i.isMeshStandardMaterial?tt:Q).get(i.envMap||a),c=!0===i.vertexColors&&!!n.attributes.color&&4===n.attributes.color.itemSize,h=!!i.normalMap&&!!n.attributes.tangent,u=!!n.morphAttributes.position,d=!!n.morphAttributes.normal,p=!!n.morphAttributes.color,m=i.toneMapped?y.toneMapping:W,f=n.morphAttributes.position||n.morphAttributes.normal||n.morphAttributes.color,g=void 0!==f?f.length:0,_=K.get(i),x=v.state.lights;if(!0===F&&(!0===k||t!==E)){const e=t===E&&i.id===T;lt.setState(i,t,e)}let M=!1;i.version===_.__version?_.needsLights&&_.lightsStateVersion!==x.state.version||_.outputEncoding!==o||r.isInstancedMesh&&!1===_.instancing?M=!0:r.isInstancedMesh||!0!==_.instancing?r.isSkinnedMesh&&!1===_.skinning?M=!0:r.isSkinnedMesh||!0!==_.skinning?_.envMap!==l||!0===i.fog&&_.fog!==s?M=!0:void 0===_.numClippingPlanes||_.numClippingPlanes===lt.numPlanes&&_.numIntersection===lt.numIntersection?(_.vertexAlphas!==c||_.vertexTangents!==h||_.morphTargets!==u||_.morphNormals!==d||_.morphColors!==p||_.toneMapping!==m||!0===Y.isWebGL2&&_.morphTargetsCount!==g)&&(M=!0):M=!0:M=!0:M=!0:(M=!0,_.__version=i.version);let S=_.currentProgram;!0===M&&(S=Bt(i,e,r));let b=!1,A=!1,C=!1;const L=S.getUniforms(),P=_.uniforms;Z.useProgram(S.program)&&(b=!0,A=!0,C=!0);i.id!==T&&(T=i.id,A=!0);if(b||E!==t){if(L.setValue(Mt,"projectionMatrix",t.projectionMatrix),Y.logarithmicDepthBuffer&&L.setValue(Mt,"logDepthBufFC",2/(Math.log(t.far+1)/Math.LN2)),E!==t&&(E=t,A=!0,C=!0),i.isShaderMaterial||i.isMeshPhongMaterial||i.isMeshToonMaterial||i.isMeshStandardMaterial||i.envMap){const e=L.map.cameraPosition;void 0!==e&&e.setValue(Mt,H.setFromMatrixPosition(t.matrixWorld))}(i.isMeshPhongMaterial||i.isMeshToonMaterial||i.isMeshLambertMaterial||i.isMeshBasicMaterial||i.isMeshStandardMaterial||i.isShaderMaterial)&&L.setValue(Mt,"isOrthographic",!0===t.isOrthographicCamera),(i.isMeshPhongMaterial||i.isMeshToonMaterial||i.isMeshLambertMaterial||i.isMeshBasicMaterial||i.isMeshStandardMaterial||i.isShaderMaterial||i.isShadowMaterial||r.isSkinnedMesh)&&L.setValue(Mt,"viewMatrix",t.matrixWorldInverse)}if(r.isSkinnedMesh){L.setOptional(Mt,r,"bindMatrix"),L.setOptional(Mt,r,"bindMatrixInverse");const t=r.skeleton;t&&(Y.floatVertexTextures?(null===t.boneTexture&&t.computeBoneTexture(),L.setValue(Mt,"boneTexture",t.boneTexture,$),L.setValue(Mt,"boneTextureSize",t.boneTextureSize)):console.warn("THREE.WebGLRenderer: SkinnedMesh can only be used with WebGL 2. With WebGL 1 OES_texture_float and vertex textures support is required."))}const D=n.morphAttributes;(void 0!==D.position||void 0!==D.normal||void 0!==D.color&&!0===Y.isWebGL2)&&pt.update(r,n,S);(A||_.receiveShadow!==r.receiveShadow)&&(_.receiveShadow=r.receiveShadow,L.setValue(Mt,"receiveShadow",r.receiveShadow));i.isMeshGouraudMaterial&&null!==i.envMap&&(P.envMap.value=l,P.flipEnvMap.value=l.isCubeTexture&&!1===l.isRenderTargetTexture?-1:1);A&&(L.setValue(Mt,"toneMappingExposure",y.toneMappingExposure),_.needsLights&&(N=C,(U=P).ambientLightColor.needsUpdate=N,U.lightProbe.needsUpdate=N,U.directionalLights.needsUpdate=N,U.directionalLightShadows.needsUpdate=N,U.pointLights.needsUpdate=N,U.pointLightShadows.needsUpdate=N,U.spotLights.needsUpdate=N,U.spotLightShadows.needsUpdate=N,U.rectAreaLights.needsUpdate=N,U.hemisphereLights.needsUpdate=N),s&&!0===i.fog&&st.refreshFogUniforms(P,s),st.refreshMaterialUniforms(P,i,I,R,G),La.upload(Mt,_.uniformsList,P,$));var U,N;i.isShaderMaterial&&!0===i.uniformsNeedUpdate&&(La.upload(Mt,_.uniformsList,P,$),i.uniformsNeedUpdate=!1);i.isSpriteMaterial&&L.setValue(Mt,"center",r.center);if(L.setValue(Mt,"modelViewMatrix",r.modelViewMatrix),L.setValue(Mt,"normalMatrix",r.normalMatrix),L.setValue(Mt,"modelMatrix",r.matrixWorld),i.isShaderMaterial||i.isRawShaderMaterial){const t=i.uniformsGroups;for(let e=0,n=t.length;e<n;e++)if(Y.isWebGL2){const n=t[e];yt.update(n,S),yt.bind(n,S)}else console.warn("THREE.WebGLRenderer: Uniform Buffer Objects can only be used with WebGL 2.")}return S}(t,e,n,i,r);Z.setMaterial(i,a);let l=n.index,c=1;!0===i.wireframe&&(l=nt.getWireframeAttribute(n),c=2);const h=n.drawRange,u=n.attributes.position;let d=h.start*c,p=(h.start+h.count)*c;null!==s&&(d=Math.max(d,s.start*c),p=Math.min(p,(s.start+s.count)*c)),null!==l?(d=Math.max(d,0),p=Math.min(p,l.count)):null!=u&&(d=Math.max(d,0),p=Math.min(p,u.count));const m=p-d;if(m<0||m===1/0)return;let f;xt.setup(r,i,o,n,l);let g=mt;if(null!==l&&(f=et.get(l),g=ft,g.setIndex(f)),r.isMesh)!0===i.wireframe?(Z.setLineWidth(i.wireframeLinewidth*q()),g.setMode(1)):g.setMode(4);else if(r.isLine){let t=i.linewidth;void 0===t&&(t=1),Z.setLineWidth(t*q()),r.isLineSegments?g.setMode(1):r.isLineLoop?g.setMode(2):g.setMode(3)}else r.isPoints?g.setMode(0):r.isSprite&&g.setMode(4);if(r.isInstancedMesh)g.renderInstances(d,m,r.count);else if(n.isInstancedBufferGeometry){const t=void 0!==n._maxInstanceCount?n._maxInstanceCount:1/0,e=Math.min(n.instanceCount,t);g.renderInstances(d,m,e)}else g.render(d,m)},this.compile=function(t,e){function n(t,e,n){!0===t.transparent&&t.side===h&&!1===t.forceSinglePass?(t.side=c,t.needsUpdate=!0,Bt(t,e,n),t.side=l,t.needsUpdate=!0,Bt(t,e,n),t.side=h):Bt(t,e,n)}v=ot.get(t),v.init(),x.push(v),t.traverseVisible(function(t){t.isLight&&t.layers.test(e.layers)&&(v.pushLight(t),t.castShadow&&v.pushShadow(t))}),v.setupLights(y.useLegacyLights),t.traverse(function(e){const i=e.material;if(i)if(Array.isArray(i))for(let r=0;r<i.length;r++){n(i[r],t,e)}else n(i,t,e)}),x.pop(),v=null};let Pt=null;function Rt(){Dt.stop()}function It(){Dt.start()}const Dt=new Vr;function Ut(t,e,n,i){if(!1===t.visible)return;if(t.layers.test(e.layers))if(t.isGroup)n=t.renderOrder;else if(t.isLOD)!0===t.autoUpdate&&t.update(e);else if(t.isLight)v.pushLight(t),t.castShadow&&v.pushShadow(t);else if(t.isSprite){if(!t.frustumCulled||B.intersectsSprite(t)){i&&H.setFromMatrixPosition(t.matrixWorld).applyMatrix4(V);const e=it.update(t),r=t.material;r.visible&&g.push(t,e,r,n,H.z,null)}}else if((t.isMesh||t.isLine||t.isPoints)&&(t.isSkinnedMesh&&t.skeleton.frame!==J.render.frame&&(t.skeleton.update(),t.skeleton.frame=J.render.frame),!t.frustumCulled||B.intersectsObject(t))){i&&H.setFromMatrixPosition(t.matrixWorld).applyMatrix4(V);const e=it.update(t),r=t.material;if(Array.isArray(r)){const i=e.groups;for(let s=0,a=i.length;s<a;s++){const a=i[s],o=r[a.materialIndex];o&&o.visible&&g.push(t,e,o,n,H.z,a)}}else r.visible&&g.push(t,e,r,n,H.z,null)}const r=t.children;for(let t=0,s=r.length;t<s;t++)Ut(r[t],e,n,i)}function Nt(t,e,n,i){const r=t.opaque,s=t.transmissive,a=t.transparent;v.setupLightsView(n),!0===F&&lt.setGlobalState(y.clippingPlanes,n),s.length>0&&function(t,e,n,i){if(null===G){const t=Y.isWebGL2;G=new dn(1024,1024,{generateMipmaps:!0,type:X.has("EXT_color_buffer_half_float")?_t:ut,minFilter:ht,samples:t&&!0===o?4:0})}const r=y.getRenderTarget();y.setRenderTarget(G),y.clear();const s=y.toneMapping;y.toneMapping=W,Ot(t,n,i),$.updateMultisampleRenderTarget(G),$.updateRenderTargetMipmap(G);let a=!1;for(let t=0,r=e.length;t<r;t++){const r=e[t],s=r.object,o=r.geometry,l=r.material,u=r.group;if(l.side===h&&s.layers.test(i.layers)){const t=l.side;l.side=c,l.needsUpdate=!0,zt(s,n,i,o,l,u),l.side=t,l.needsUpdate=!0,a=!0}}!0===a&&($.updateMultisampleRenderTarget(G),$.updateRenderTargetMipmap(G));y.setRenderTarget(r),y.toneMapping=s}(r,s,e,n),i&&Z.viewport(A.copy(i)),r.length>0&&Ot(r,e,n),s.length>0&&Ot(s,e,n),a.length>0&&Ot(a,e,n),Z.buffers.depth.setTest(!0),Z.buffers.depth.setMask(!0),Z.buffers.color.setMask(!0),Z.setPolygonOffset(!1)}function Ot(t,e,n){const i=!0===e.isScene?e.overrideMaterial:null;for(let r=0,s=t.length;r<s;r++){const s=t[r],a=s.object,o=s.geometry,l=null===i?s.material:i,c=s.group;a.layers.test(n.layers)&&zt(a,e,n,o,l,c)}}function zt(t,e,n,i,r,s){t.onBeforeRender(y,e,n,i,r,s),t.modelViewMatrix.multiplyMatrices(n.matrixWorldInverse,t.matrixWorld),t.normalMatrix.getNormalMatrix(t.modelViewMatrix),r.onBeforeRender(y,e,n,i,t,s),!0===r.transparent&&r.side===h&&!1===r.forceSinglePass?(r.side=c,r.needsUpdate=!0,y.renderBufferDirect(n,e,i,r,t,s),r.side=l,r.needsUpdate=!0,y.renderBufferDirect(n,e,i,r,t,s),r.side=h):y.renderBufferDirect(n,e,i,r,t,s),t.onAfterRender(y,e,n,i,r,s)}function Bt(t,e,n){!0!==e.isScene&&(e=j);const i=K.get(t),r=v.state.lights,s=v.state.shadowsArray,a=r.state.version,o=rt.getParameters(t,r.state,s,e,n),l=rt.getProgramCacheKey(o);let c=i.programs;i.environment=t.isMeshStandardMaterial?e.environment:null,i.fog=e.fog,i.envMap=(t.isMeshStandardMaterial?tt:Q).get(t.envMap||i.environment),void 0===c&&(t.addEventListener("dispose",Lt),c=new Map,i.programs=c);let h=c.get(l);if(void 0!==h){if(i.currentProgram===h&&i.lightsStateVersion===a)return Ft(t,o),h}else o.uniforms=rt.getUniforms(t),t.onBuild(n,o,y),t.onBeforeCompile(o,y),h=rt.acquireProgram(o,l),c.set(l,h),i.uniforms=o.uniforms;const u=i.uniforms;(t.isShaderMaterial||t.isRawShaderMaterial)&&!0!==t.clipping||(u.clippingPlanes=lt.uniform),Ft(t,o),i.needsLights=function(t){return t.isMeshLambertMaterial||t.isMeshToonMaterial||t.isMeshPhongMaterial||t.isMeshStandardMaterial||t.isShadowMaterial||t.isShaderMaterial&&!0===t.lights}(t),i.lightsStateVersion=a,i.needsLights&&(u.ambientLightColor.value=r.state.ambient,u.lightProbe.value=r.state.probe,u.directionalLights.value=r.state.directional,u.directionalLightShadows.value=r.state.directionalShadow,u.spotLights.value=r.state.spot,u.spotLightShadows.value=r.state.spotShadow,u.rectAreaLights.value=r.state.rectArea,u.ltc_1.value=r.state.rectAreaLTC1,u.ltc_2.value=r.state.rectAreaLTC2,u.pointLights.value=r.state.point,u.pointLightShadows.value=r.state.pointShadow,u.hemisphereLights.value=r.state.hemi,u.directionalShadowMap.value=r.state.directionalShadowMap,u.directionalShadowMatrix.value=r.state.directionalShadowMatrix,u.spotShadowMap.value=r.state.spotShadowMap,u.spotLightMatrix.value=r.state.spotLightMatrix,u.spotLightMap.value=r.state.spotLightMap,u.pointShadowMap.value=r.state.pointShadowMap,u.pointShadowMatrix.value=r.state.pointShadowMatrix);const d=h.getUniforms(),p=La.seqWithValue(d.seq,u);return i.currentProgram=h,i.uniformsList=p,h}function Ft(t,e){const n=K.get(t);n.outputEncoding=e.outputEncoding,n.instancing=e.instancing,n.skinning=e.skinning,n.morphTargets=e.morphTargets,n.morphNormals=e.morphNormals,n.morphColors=e.morphColors,n.morphTargetsCount=e.morphTargetsCount,n.numClippingPlanes=e.numClippingPlanes,n.numIntersection=e.numClipIntersection,n.vertexAlphas=e.vertexAlphas,n.vertexTangents=e.vertexTangents,n.toneMapping=e.toneMapping}Dt.setAnimationLoop(function(t){Pt&&Pt(t)}),"undefined"!=typeof self&&Dt.setContext(self),this.setAnimationLoop=function(t){Pt=t,Tt.setAnimationLoop(t),null===t?Dt.stop():Dt.start()},Tt.addEventListener("sessionstart",Rt),Tt.addEventListener("sessionend",It),this.render=function(t,e){if(void 0!==e&&!0!==e.isCamera)return void console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");if(!0===M)return;!0===t.matrixWorldAutoUpdate&&t.updateMatrixWorld(),null===e.parent&&!0===e.matrixWorldAutoUpdate&&e.updateMatrixWorld(),!0===Tt.enabled&&!0===Tt.isPresenting&&(!0===Tt.cameraAutoUpdate&&Tt.updateCamera(e),e=Tt.getCamera()),!0===t.isScene&&t.onBeforeRender(y,t,e,w),v=ot.get(t,x.length),v.init(),x.push(v),V.multiplyMatrices(e.projectionMatrix,e.matrixWorldInverse),B.setFromProjectionMatrix(V),k=this.localClippingEnabled,F=lt.init(this.clippingPlanes,k),g=at.get(t,_.length),g.init(),_.push(g),Ut(t,e,0,y.sortObjects),g.finish(),!0===y.sortObjects&&g.sort(D,U),!0===F&&lt.beginShadows();const n=v.state.shadowsArray;if(ct.render(n,t,e),!0===F&&lt.endShadows(),!0===this.info.autoReset&&this.info.reset(),dt.render(g,t),v.setupLights(y.useLegacyLights),e.isArrayCamera){const n=e.cameras;for(let e=0,i=n.length;e<i;e++){const i=n[e];Nt(g,t,i,i.viewport)}}else Nt(g,t,e);null!==w&&($.updateMultisampleRenderTarget(w),$.updateRenderTargetMipmap(w)),!0===t.isScene&&t.onAfterRender(y,t,e),xt.resetDefaultState(),T=-1,E=null,x.pop(),v=x.length>0?x[x.length-1]:null,_.pop(),g=_.length>0?_[_.length-1]:null},this.getActiveCubeFace=function(){return S},this.getActiveMipmapLevel=function(){return b},this.getRenderTarget=function(){return w},this.setRenderTargetTextures=function(t,e,n){K.get(t.texture).__webglTexture=e,K.get(t.depthTexture).__webglTexture=n;const i=K.get(t);i.__hasExternalTextures=!0,i.__hasExternalTextures&&(i.__autoAllocateDepthBuffer=void 0===n,i.__autoAllocateDepthBuffer||!0===X.has("WEBGL_multisampled_render_to_texture")&&(console.warn("THREE.WebGLRenderer: Render-to-texture extension was disabled because an external texture was provided"),i.__useRenderToTexture=!1))},this.setRenderTargetFramebuffer=function(t,e){const n=K.get(t);n.__webglFramebuffer=e,n.__useDefaultFramebuffer=void 0===e},this.setRenderTarget=function(t,e=0,n=0){w=t,S=e,b=n;let i=!0,r=null,s=!1,a=!1;if(t){const n=K.get(t);void 0!==n.__useDefaultFramebuffer?(Z.bindFramebuffer(36160,null),i=!1):void 0===n.__webglFramebuffer?$.setupRenderTarget(t):n.__hasExternalTextures&&$.rebindTextures(t,K.get(t.texture).__webglTexture,K.get(t.depthTexture).__webglTexture);const o=t.texture;(o.isData3DTexture||o.isDataArrayTexture||o.isCompressedArrayTexture)&&(a=!0);const l=K.get(t).__webglFramebuffer;t.isWebGLCubeRenderTarget?(r=l[e],s=!0):r=Y.isWebGL2&&t.samples>0&&!1===$.useMultisampledRTT(t)?K.get(t).__webglMultisampledFramebuffer:l,A.copy(t.viewport),C.copy(t.scissor),L=t.scissorTest}else A.copy(N).multiplyScalar(I).floor(),C.copy(O).multiplyScalar(I).floor(),L=z;if(Z.bindFramebuffer(36160,r)&&Y.drawBuffers&&i&&Z.drawBuffers(t,r),Z.viewport(A),Z.scissor(C),Z.setScissorTest(L),s){const i=K.get(t.texture);Mt.framebufferTexture2D(36160,36064,34069+e,i.__webglTexture,n)}else if(a){const i=K.get(t.texture),r=e||0;Mt.framebufferTextureLayer(36160,36064,i.__webglTexture,n||0,r)}T=-1},this.readRenderTargetPixels=function(t,e,n,i,r,s,a){if(!t||!t.isWebGLRenderTarget)return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");let o=K.get(t).__webglFramebuffer;if(t.isWebGLCubeRenderTarget&&void 0!==a&&(o=o[a]),o){Z.bindFramebuffer(36160,o);try{const a=t.texture,o=a.format,l=a.type;if(o!==bt&&gt.convert(o)!==Mt.getParameter(35739))return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");const c=l===_t&&(X.has("EXT_color_buffer_half_float")||Y.isWebGL2&&X.has("EXT_color_buffer_float"));if(!(l===ut||gt.convert(l)===Mt.getParameter(35738)||l===vt&&(Y.isWebGL2||X.has("OES_texture_float")||X.has("WEBGL_color_buffer_float"))||c))return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");e>=0&&e<=t.width-i&&n>=0&&n<=t.height-r&&Mt.readPixels(e,n,i,r,gt.convert(o),gt.convert(l),s)}finally{const t=null!==w?K.get(w).__webglFramebuffer:null;Z.bindFramebuffer(36160,t)}}},this.copyFramebufferToTexture=function(t,e,n=0){const i=Math.pow(2,-n),r=Math.floor(e.image.width*i),s=Math.floor(e.image.height*i);$.setTexture2D(e,0),Mt.copyTexSubImage2D(3553,n,0,0,t.x,t.y,r,s),Z.unbindTexture()},this.copyTextureToTexture=function(t,e,n,i=0){const r=e.image.width,s=e.image.height,a=gt.convert(n.format),o=gt.convert(n.type);$.setTexture2D(n,0),Mt.pixelStorei(37440,n.flipY),Mt.pixelStorei(37441,n.premultiplyAlpha),Mt.pixelStorei(3317,n.unpackAlignment),e.isDataTexture?Mt.texSubImage2D(3553,i,t.x,t.y,r,s,a,o,e.image.data):e.isCompressedTexture?Mt.compressedTexSubImage2D(3553,i,t.x,t.y,e.mipmaps[0].width,e.mipmaps[0].height,a,e.mipmaps[0].data):Mt.texSubImage2D(3553,i,t.x,t.y,a,o,e.image),0===i&&n.generateMipmaps&&Mt.generateMipmap(3553),Z.unbindTexture()},this.copyTextureToTexture3D=function(t,e,n,i,r=0){if(y.isWebGL1Renderer)return void console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: can only be used with WebGL2.");const s=t.max.x-t.min.x+1,a=t.max.y-t.min.y+1,o=t.max.z-t.min.z+1,l=gt.convert(i.format),c=gt.convert(i.type);let h;if(i.isData3DTexture)$.setTexture3D(i,0),h=32879;else{if(!i.isDataArrayTexture)return void console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: only supports THREE.DataTexture3D and THREE.DataTexture2DArray.");$.setTexture2DArray(i,0),h=35866}Mt.pixelStorei(37440,i.flipY),Mt.pixelStorei(37441,i.premultiplyAlpha),Mt.pixelStorei(3317,i.unpackAlignment);const u=Mt.getParameter(3314),d=Mt.getParameter(32878),p=Mt.getParameter(3316),m=Mt.getParameter(3315),f=Mt.getParameter(32877),g=n.isCompressedTexture?n.mipmaps[0]:n.image;Mt.pixelStorei(3314,g.width),Mt.pixelStorei(32878,g.height),Mt.pixelStorei(3316,t.min.x),Mt.pixelStorei(3315,t.min.y),Mt.pixelStorei(32877,t.min.z),n.isDataTexture||n.isData3DTexture?Mt.texSubImage3D(h,r,e.x,e.y,e.z,s,a,o,l,c,g.data):n.isCompressedArrayTexture?(console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: untested support for compressed srcTexture."),Mt.compressedTexSubImage3D(h,r,e.x,e.y,e.z,s,a,o,l,g.data)):Mt.texSubImage3D(h,r,e.x,e.y,e.z,s,a,o,l,c,g),Mt.pixelStorei(3314,u),Mt.pixelStorei(32878,d),Mt.pixelStorei(3316,p),Mt.pixelStorei(3315,m),Mt.pixelStorei(32877,f),0===r&&i.generateMipmaps&&Mt.generateMipmap(h),Z.unbindTexture()},this.initTexture=function(t){t.isCubeTexture?$.setTextureCube(t,0):t.isData3DTexture?$.setTexture3D(t,0):t.isDataArrayTexture||t.isCompressedArrayTexture?$.setTexture2DArray(t,0):$.setTexture2D(t,0),Z.unbindTexture()},this.resetState=function(){S=0,b=0,w=null,Z.reset(),xt.reset()},"undefined"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}get physicallyCorrectLights(){return console.warn("THREE.WebGLRenderer: the property .physicallyCorrectLights has been removed. Set renderer.useLegacyLights instead."),!this.useLegacyLights}set physicallyCorrectLights(t){console.warn("THREE.WebGLRenderer: the property .physicallyCorrectLights has been removed. Set renderer.useLegacyLights instead."),this.useLegacyLights=!t}}class Eo extends To{}Eo.prototype.isWebGL1Renderer=!0;class Ao{constructor(t,e=25e-5){this.isFogExp2=!0,this.name="",this.color=new Oi(t),this.density=e}clone(){return new Ao(this.color,this.density)}toJSON(){return{type:"FogExp2",color:this.color.getHex(),density:this.density}}}class Co{constructor(t,e=1,n=1e3){this.isFog=!0,this.name="",this.color=new Oi(t),this.near=e,this.far=n}clone(){return new Co(this.color,this.near,this.far)}toJSON(){return{type:"Fog",color:this.color.getHex(),near:this.near,far:this.far}}}class Lo extends vi{constructor(){super(),this.isScene=!0,this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.backgroundBlurriness=0,this.backgroundIntensity=1,this.overrideMaterial=null,"undefined"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}copy(t,e){return super.copy(t,e),null!==t.background&&(this.background=t.background.clone()),null!==t.environment&&(this.environment=t.environment.clone()),null!==t.fog&&(this.fog=t.fog.clone()),this.backgroundBlurriness=t.backgroundBlurriness,this.backgroundIntensity=t.backgroundIntensity,null!==t.overrideMaterial&&(this.overrideMaterial=t.overrideMaterial.clone()),this.matrixAutoUpdate=t.matrixAutoUpdate,this}toJSON(t){const e=super.toJSON(t);return null!==this.fog&&(e.object.fog=this.fog.toJSON()),this.backgroundBlurriness>0&&(e.object.backgroundBlurriness=this.backgroundBlurriness),1!==this.backgroundIntensity&&(e.object.backgroundIntensity=this.backgroundIntensity),e}get autoUpdate(){return console.warn("THREE.Scene: autoUpdate was renamed to matrixWorldAutoUpdate in r144."),this.matrixWorldAutoUpdate}set autoUpdate(t){console.warn("THREE.Scene: autoUpdate was renamed to matrixWorldAutoUpdate in r144."),this.matrixWorldAutoUpdate=t}}class Po{constructor(t,e){this.isInterleavedBuffer=!0,this.array=t,this.stride=e,this.count=void 0!==t?t.length/e:0,this.usage=Ee,this.updateRange={offset:0,count:-1},this.version=0,this.uuid=Ue()}onUploadCallback(){}set needsUpdate(t){!0===t&&this.version++}setUsage(t){return this.usage=t,this}copy(t){return this.array=new t.array.constructor(t.array),this.count=t.count,this.stride=t.stride,this.usage=t.usage,this}copyAt(t,e,n){t*=this.stride,n*=e.stride;for(let i=0,r=this.stride;i<r;i++)this.array[t+i]=e.array[n+i];return this}set(t,e=0){return this.array.set(t,e),this}clone(t){void 0===t.arrayBuffers&&(t.arrayBuffers={}),void 0===this.array.buffer._uuid&&(this.array.buffer._uuid=Ue()),void 0===t.arrayBuffers[this.array.buffer._uuid]&&(t.arrayBuffers[this.array.buffer._uuid]=this.array.slice(0).buffer);const e=new this.array.constructor(t.arrayBuffers[this.array.buffer._uuid]),n=new this.constructor(e,this.stride);return n.setUsage(this.usage),n}onUpload(t){return this.onUploadCallback=t,this}toJSON(t){return void 0===t.arrayBuffers&&(t.arrayBuffers={}),void 0===this.array.buffer._uuid&&(this.array.buffer._uuid=Ue()),void 0===t.arrayBuffers[this.array.buffer._uuid]&&(t.arrayBuffers[this.array.buffer._uuid]=Array.from(new Uint32Array(this.array.buffer))),{uuid:this.uuid,buffer:this.array.buffer._uuid,type:this.array.constructor.name,stride:this.stride}}}const Ro=new gn;class Io{constructor(t,e,n,i=!1){this.isInterleavedBufferAttribute=!0,this.name="",this.data=t,this.itemSize=e,this.offset=n,this.normalized=i}get count(){return this.data.count}get array(){return this.data.array}set needsUpdate(t){this.data.needsUpdate=t}applyMatrix4(t){for(let e=0,n=this.data.count;e<n;e++)Ro.fromBufferAttribute(this,e),Ro.applyMatrix4(t),this.setXYZ(e,Ro.x,Ro.y,Ro.z);return this}applyNormalMatrix(t){for(let e=0,n=this.count;e<n;e++)Ro.fromBufferAttribute(this,e),Ro.applyNormalMatrix(t),this.setXYZ(e,Ro.x,Ro.y,Ro.z);return this}transformDirection(t){for(let e=0,n=this.count;e<n;e++)Ro.fromBufferAttribute(this,e),Ro.transformDirection(t),this.setXYZ(e,Ro.x,Ro.y,Ro.z);return this}setX(t,e){return this.normalized&&(e=Ve(e,this.array)),this.data.array[t*this.data.stride+this.offset]=e,this}setY(t,e){return this.normalized&&(e=Ve(e,this.array)),this.data.array[t*this.data.stride+this.offset+1]=e,this}setZ(t,e){return this.normalized&&(e=Ve(e,this.array)),this.data.array[t*this.data.stride+this.offset+2]=e,this}setW(t,e){return this.normalized&&(e=Ve(e,this.array)),this.data.array[t*this.data.stride+this.offset+3]=e,this}getX(t){let e=this.data.array[t*this.data.stride+this.offset];return this.normalized&&(e=Ge(e,this.array)),e}getY(t){let e=this.data.array[t*this.data.stride+this.offset+1];return this.normalized&&(e=Ge(e,this.array)),e}getZ(t){let e=this.data.array[t*this.data.stride+this.offset+2];return this.normalized&&(e=Ge(e,this.array)),e}getW(t){let e=this.data.array[t*this.data.stride+this.offset+3];return this.normalized&&(e=Ge(e,this.array)),e}setXY(t,e,n){return t=t*this.data.stride+this.offset,this.normalized&&(e=Ve(e,this.array),n=Ve(n,this.array)),this.data.array[t+0]=e,this.data.array[t+1]=n,this}setXYZ(t,e,n,i){return t=t*this.data.stride+this.offset,this.normalized&&(e=Ve(e,this.array),n=Ve(n,this.array),i=Ve(i,this.array)),this.data.array[t+0]=e,this.data.array[t+1]=n,this.data.array[t+2]=i,this}setXYZW(t,e,n,i,r){return t=t*this.data.stride+this.offset,this.normalized&&(e=Ve(e,this.array),n=Ve(n,this.array),i=Ve(i,this.array),r=Ve(r,this.array)),this.data.array[t+0]=e,this.data.array[t+1]=n,this.data.array[t+2]=i,this.data.array[t+3]=r,this}clone(t){if(void 0===t){console.log("THREE.InterleavedBufferAttribute.clone(): Cloning an interleaved buffer attribute will de-interleave buffer data.");const t=[];for(let e=0;e<this.count;e++){const n=e*this.data.stride+this.offset;for(let e=0;e<this.itemSize;e++)t.push(this.data.array[n+e])}return new qi(new this.array.constructor(t),this.itemSize,this.normalized)}return void 0===t.interleavedBuffers&&(t.interleavedBuffers={}),void 0===t.interleavedBuffers[this.data.uuid]&&(t.interleavedBuffers[this.data.uuid]=this.data.clone(t)),new Io(t.interleavedBuffers[this.data.uuid],this.itemSize,this.offset,this.normalized)}toJSON(t){if(void 0===t){console.log("THREE.InterleavedBufferAttribute.toJSON(): Serializing an interleaved buffer attribute will de-interleave buffer data.");const t=[];for(let e=0;e<this.count;e++){const n=e*this.data.stride+this.offset;for(let e=0;e<this.itemSize;e++)t.push(this.data.array[n+e])}return{itemSize:this.itemSize,type:this.array.constructor.name,array:t,normalized:this.normalized}}return void 0===t.interleavedBuffers&&(t.interleavedBuffers={}),void 0===t.interleavedBuffers[this.data.uuid]&&(t.interleavedBuffers[this.data.uuid]=this.data.toJSON(t)),{isInterleavedBufferAttribute:!0,itemSize:this.itemSize,data:this.data.uuid,offset:this.offset,normalized:this.normalized}}}class Do extends Ri{constructor(t){super(),this.isSpriteMaterial=!0,this.type="SpriteMaterial",this.color=new Oi(16777215),this.map=null,this.alphaMap=null,this.rotation=0,this.sizeAttenuation=!0,this.transparent=!0,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.alphaMap=t.alphaMap,this.rotation=t.rotation,this.sizeAttenuation=t.sizeAttenuation,this.fog=t.fog,this}}let Uo;const No=new gn,Oo=new gn,zo=new gn,Bo=new We,Fo=new We,ko=new qn,Go=new gn,Vo=new gn,Ho=new gn,Wo=new We,jo=new We,qo=new We;class Xo extends vi{constructor(t){if(super(),this.isSprite=!0,this.type="Sprite",void 0===Uo){Uo=new ir;const t=new Float32Array([-.5,-.5,0,0,0,.5,-.5,0,1,0,.5,.5,0,1,1,-.5,.5,0,0,1]),e=new Po(t,5);Uo.setIndex([0,1,2,0,2,3]),Uo.setAttribute("position",new Io(e,3,0,!1)),Uo.setAttribute("uv",new Io(e,2,3,!1))}this.geometry=Uo,this.material=void 0!==t?t:new Do,this.center=new We(.5,.5)}raycast(t,e){null===t.camera&&console.error("THREE.Sprite: \"Raycaster.camera\" needs to be set in order to raycast against sprites."),Oo.setFromMatrixScale(this.matrixWorld),ko.copy(t.camera.matrixWorld),this.modelViewMatrix.multiplyMatrices(t.camera.matrixWorldInverse,this.matrixWorld),zo.setFromMatrixPosition(this.modelViewMatrix),t.camera.isPerspectiveCamera&&!1===this.material.sizeAttenuation&&Oo.multiplyScalar(-zo.z);const n=this.material.rotation;let i,r;0!==n&&(r=Math.cos(n),i=Math.sin(n));const s=this.center;Yo(Go.set(-.5,-.5,0),zo,s,Oo,i,r),Yo(Vo.set(.5,-.5,0),zo,s,Oo,i,r),Yo(H
vendor: 4,093 bytes, line 3856
3856o.set(.5,.5,0),zo,s,Oo,i,r),Wo.set(0,0),jo.set(1,0),qo.set(1,1);let a=t.ray.intersectTriangle(Go,Vo,Ho,!1,No);if(null===a&&(Yo(Vo.set(-.5,.5,0),zo,s,Oo,i,r),jo.set(0,1),a=t.ray.intersectTriangle(Go,Ho,Vo,!1,No),null===a))return;const o=t.ray.origin.distanceTo(No);o<t.near||o>t.far||e.push({distance:o,point:No.clone(),uv:Li.getInterpolation(No,Go,Vo,Ho,Wo,jo,qo,new We),face:null,object:this})}copy(t,e){return super.copy(t,e),void 0!==t.center&&this.center.copy(t.center),this.material=t.material,this}}function Yo(t,e,n,i,r,s){Bo.subVectors(t,n).addScalar(.5).multiply(i),void 0!==r?(Fo.x=s*Bo.x-r*Bo.y,Fo.y=r*Bo.x+s*Bo.y):Fo.copy(Bo),t.copy(e),t.x+=Fo.x,t.y+=Fo.y,t.applyMatrix4(ko)}const Zo=new gn,Jo=new gn;class Ko extends vi{constructor(){super(),this._currentLevel=0,this.type="LOD",Object.defineProperties(this,{levels:{enumerable:!0,value:[]},isLOD:{value:!0}}),this.autoUpdate=!0}copy(t){super.copy(t,!1);const e=t.levels;for(let t=0,n=e.length;t<n;t++){const n=e[t];this.addLevel(n.object.clone(),n.distance,n.hysteresis)}return this.autoUpdate=t.autoUpdate,this}addLevel(t,e=0,n=0){e=Math.abs(e);const i=this.levels;let r;for(r=0;r<i.length&&!(e<i[r].distance);r++);return i.splice(r,0,{distance:e,hysteresis:n,object:t}),this.add(t),this}getCurrentLevel(){return this._currentLevel}getObjectForDistance(t){const e=this.levels;if(e.length>0){let n,i;for(n=1,i=e.length;n<i;n++){let i=e[n].distance;if(e[n].object.visible&&(i-=i*e[n].hysteresis),t<i)break}return e[n-1].object}return null}raycast(t,e){if(this.levels.length>0){Zo.setFromMatrixPosition(this.matrixWorld);const n=t.ray.origin.distanceTo(Zo);this.getObjectForDistance(n).raycast(t,e)}}update(t){const e=this.levels;if(e.length>1){Zo.setFromMatrixPosition(t.matrixWorld),Jo.setFromMatrixPosition(this.matrixWorld);const n=Zo.distanceTo(Jo)/t.zoom;let i,r;for(e[0].object.visible=!0,i=1,r=e.length;i<r;i++){let t=e[i].distance;if(e[i].object.visible&&(t-=t*e[i].hysteresis),!(n>=t))break;e[i-1].object.visible=!1,e[i].object.visible=!0}for(this._currentLevel=i-1;i<r;i++)e[i].object.visible=!1}}toJSON(t){const e=super.toJSON(t);!1===this.autoUpdate&&(e.object.autoUpdate=!1),e.object.levels=[];const n=this.levels;for(let t=0,i=n.length;t<i;t++){const i=n[t];e.object.levels.push({object:i.object.uuid,distance:i.distance,hysteresis:i.hysteresis})}return e}}const $o=new gn,Qo=new un,tl=new un,el=new gn,nl=new qn,il=new gn;class rl extends Mr{constructor(t,e){super(t,e),this.isSkinnedMesh=!0,this.type="SkinnedMesh",this.bindMode="attached",this.bindMatrix=new qn,this.bindMatrixInverse=new qn,this.boundingBox=null,this.boundingSphere=null}computeBoundingBox(){const t=this.geometry;null===this.boundingBox&&(this.boundingBox=new xn),this.boundingBox.makeEmpty();const e=t.getAttribute("position");for(let t=0;t<e.count;t++)il.fromBufferAttribute(e,t),this.applyBoneTransform(t,il),this.boundingBox.expandByPoint(il)}computeBoundingSphere(){const t=this.geometry;null===this.boundingSphere&&(this.boundingSphere=new zn),this.boundingSphere.makeEmpty();const e=t.getAttribute("position");for(let t=0;t<e.count;t++)il.fromBufferAttribute(e,t),this.applyBoneTransform(t,il),this.boundingSphere.expandByPoint(il)}copy(t,e){return super.copy(t,e),this.bindMode=t.bindMode,this.bindMatrix.copy(t.bindMatrix),this.bindMatrixInverse.copy(t.bindMatrixInverse),this.skeleton=t.skeleton,this}bind(t,e){this.skeleton=t,void 0===e&&(this.updateMatrixWorld(!0),this.skeleton.calculateInverses(),e=this.matrixWorld),this.bindMatrix.copy(e),this.bindMatrixInverse.copy(e).invert()}pose(){this.skeleton.pose()}normalizeSkinWeights(){const t=new un,e=this.geometry.attributes.skinWeight;for(let n=0,i=e.count;n<i;n++){t.fromBufferAttribute(e,n);const i=1/t.manhattanLength();i!==1/0?t.multiplyScalar(i):t.set(1,0,0,0),e.setXYZW(n,t.x,t.y,t.z,t.w)}}updateMatrixWorld(t){super.updateMatrixWorld(t),"attached"===this.bindMode?this.bindMatrixInverse.copy(this.matrixWorld).invert():"detached"===this.bindMode?this.bindMatrixInverse.copy(this.bindMatrix).invert():console.warn("THREE.SkinnedMesh: Unrecognized bindMode: "+this.bindMode)}
vendor: 6,897 bytes, line 3856
3856applyBoneTransform(t,e){const n=this.skeleton,i=this.geometry;Qo.fromBufferAttribute(i.attributes.skinIndex,t),tl.fromBufferAttribute(i.attributes.skinWeight,t),$o.copy(e).applyMatrix4(this.bindMatrix),e.set(0,0,0);for(let t=0;t<4;t++){const i=tl.getComponent(t);if(0!==i){const r=Qo.getComponent(t);nl.multiplyMatrices(n.bones[r].matrixWorld,n.boneInverses[r]),e.addScaledVector(el.copy($o).applyMatrix4(nl),i)}}return e.applyMatrix4(this.bindMatrixInverse)}boneTransform(t,e){return console.warn("THREE.SkinnedMesh: .boneTransform() was renamed to .applyBoneTransform() in r151."),this.applyBoneTransform(t,e)}}class sl extends vi{constructor(){super(),this.isBone=!0,this.type="Bone"}}class al extends hn{constructor(t=null,e=1,n=1,i,r,s,a,o,l=st,c=st,h,u){super(null,s,a,o,l,c,i,r,h,u),this.isDataTexture=!0,this.image={data:t,width:e,height:n},this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}const ol=new qn,ll=new qn;class cl{constructor(t=[],e=[]){this.uuid=Ue(),this.bones=t.slice(0),this.boneInverses=e,this.boneMatrices=null,this.boneTexture=null,this.boneTextureSize=0,this.frame=-1,this.init()}init(){const t=this.bones,e=this.boneInverses;if(this.boneMatrices=new Float32Array(16*t.length),0===e.length)this.calculateInverses();else if(t.length!==e.length){console.warn("THREE.Skeleton: Number of inverse bone matrices does not match amount of bones."),this.boneInverses=[];for(let t=0,e=this.bones.length;t<e;t++)this.boneInverses.push(new qn)}}calculateInverses(){this.boneInverses.length=0;for(let t=0,e=this.bones.length;t<e;t++){const e=new qn;this.bones[t]&&e.copy(this.bones[t].matrixWorld).invert(),this.boneInverses.push(e)}}pose(){for(let t=0,e=this.bones.length;t<e;t++){const e=this.bones[t];e&&e.matrixWorld.copy(this.boneInverses[t]).invert()}for(let t=0,e=this.bones.length;t<e;t++){const e=this.bones[t];e&&(e.parent&&e.parent.isBone?(e.matrix.copy(e.parent.matrixWorld).invert(),e.matrix.multiply(e.matrixWorld)):e.matrix.copy(e.matrixWorld),e.matrix.decompose(e.position,e.quaternion,e.scale))}}update(){const t=this.bones,e=this.boneInverses,n=this.boneMatrices,i=this.boneTexture;for(let i=0,r=t.length;i<r;i++){const r=t[i]?t[i].matrixWorld:ll;ol.multiplyMatrices(r,e[i]),ol.toArray(n,16*i)}null!==i&&(i.needsUpdate=!0)}clone(){return new cl(this.bones,this.boneInverses)}computeBoneTexture(){let t=Math.sqrt(4*this.bones.length);t=Fe(t),t=Math.max(t,4);const e=new Float32Array(t*t*4);e.set(this.boneMatrices);const n=new al(e,t,t,bt,vt);return n.needsUpdate=!0,this.boneMatrices=e,this.boneTexture=n,this.boneTextureSize=t,this}getBoneByName(t){for(let e=0,n=this.bones.length;e<n;e++){const n=this.bones[e];if(n.name===t)return n}}dispose(){null!==this.boneTexture&&(this.boneTexture.dispose(),this.boneTexture=null)}fromJSON(t,e){this.uuid=t.uuid;for(let n=0,i=t.bones.length;n<i;n++){const i=t.bones[n];let r=e[i];void 0===r&&(console.warn("THREE.Skeleton: No bone found with UUID:",i),r=new sl),this.bones.push(r),this.boneInverses.push(new qn().fromArray(t.boneInverses[n]))}return this.init(),this}toJSON(){const t={metadata:{version:4.5,type:"Skeleton",generator:"Skeleton.toJSON"},bones:[],boneInverses:[]};t.uuid=this.uuid;const e=this.bones,n=this.boneInverses;for(let i=0,r=e.length;i<r;i++){const r=e[i];t.bones.push(r.uuid);const s=n[i];t.boneInverses.push(s.toArray())}return t}}class hl extends qi{constructor(t,e,n,i=1){super(t,e,n),this.isInstancedBufferAttribute=!0,this.meshPerAttribute=i}copy(t){return super.copy(t),this.meshPerAttribute=t.meshPerAttribute,this}toJSON(){const t=super.toJSON();return t.meshPerAttribute=this.meshPerAttribute,t.isInstancedBufferAttribute=!0,t}}const ul=new qn,dl=new qn,pl=[],ml=new xn,fl=new qn,gl=new Mr,vl=new zn;class _l extends Mr{constructor(t,e,n){super(t,e),this.isInstancedMesh=!0,this.instanceMatrix=new hl(new Float32Array(16*n),16),this.instanceColor=null,this.count=n,this.boundingBox=null,this.boundingSphere=null;for(let t=0;t<n;t++)this.setMatrixAt(t,fl)}computeBoundingBox(){const t=this.geometry,e=this.count;null===this.boundingBox&&(this.boundingBox=new xn),null===t.boundingBox&&t.computeBoundingBox(),this.boundingBox.makeEmpty();for(let n=0;n<e;n++)this.getMatrixAt(n,ul),ml.copy(t.boundingBox).applyMatrix4(ul),this.boundingBox.union(ml)}computeBoundingSphere(){const t=this.geometry,e=this.count;null===this.boundingSphere&&(this.boundingSphere=new zn),null===t.boundingSphere&&t.computeBoundingSphere(),this.boundingSphere.makeEmpty();for(let n=0;n<e;n++)this.getMatrixAt(n,ul),vl.copy(t.boundingSphere).applyMatrix4(ul),this.boundingSphere.union(vl)}copy(t,e){return super.copy(t,e),this.instanceMatrix.copy(t.instanceMatrix),null!==t.instanceColor&&(this.instanceColor=t.instanceColor.clone()),this.count=t.count,this}getColorAt(t,e){e.fromArray(this.instanceColor.array,3*t)}getMatrixAt(t,e){e.fromArray(this.instanceMatrix.array,16*t)}raycast(t,e){const n=this.matrixWorld,i=this.count;if(gl.geometry=this.geometry,gl.material=this.material,void 0!==gl.material&&(null===this.boundingSphere&&this.computeBoundingSphere(),vl.copy(this.boundingSphere),vl.applyMatrix4(n),!1!==t.ray.intersectsSphere(vl)))for(let r=0;r<i;r++){this.getMatrixAt(r,ul),dl.multiplyMatrices(n,ul),gl.matrixWorld=dl,gl.raycast(t,pl);for(let t=0,n=pl.length;t<n;t++){const n=pl[t];n.instanceId=r,n.object=this,e.push(n)}pl.length=0}}setColorAt(t,e){null===this.instanceColor&&(this.instanceColor=new hl(new Float32Array(3*this.instanceMatrix.count),3)),e.toArray(this.instanceColor.array,3*t)}setMatrixAt(t,e){e.toArray(this.instanceMatrix.array,16*t)}updateMorphTargets(){}dispose(){this.dispatchEvent({type:"dispose"})}}class xl extends Ri{constructor(t){super(),this.isLineBasicMaterial=!0,this.type="LineBasicMaterial",this.color=new Oi(16777215),this.map=null,this.linewidth=1,this.linecap="round",this.linejoin="round",this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.linewidth=t.linewidth,this.linecap=t.linecap,this.linejoin=t.linejoin,this.fog=t.fog,this}}const yl=new gn,Ml=new gn,Sl=new qn,bl=new jn,wl=new zn;class Tl extends vi{constructor(t=new ir,e=new xl){super(),this.isLine=!0,this.type="Line",this.geometry=t,this.material=e,this.updateMorphTargets()}copy(t,e){return super.copy(t,e),this.material=t.material,this.geometry=t.geometry,this}computeLineDistances(){const t=this.geometry;if(null===t.index){const e=t.attributes.position,n=[0];for(let t=1,i=e.count;t<i;t++)yl.fromBufferAttribute(e,t-1),Ml.fromBufferAttribute(e,t),n[t]=n[t-1],n[t]+=yl.distanceTo(Ml);t.setAttribute("lineDistance",new Zi(n,1))}else console.warn("THREE.Line.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");return this}raycast(t,e){const n=this.geometry,i=this.matrixWorld,r=t.params.Line.threshold,s=n.drawRange;if(null===n.boundingSphere&&n.computeBoundingSphere(),wl.copy(n.boundingSphere),wl.applyM
vendor: 11,000 bytes, line 3856
3856atrix4(i),wl.radius+=r,!1===t.ray.intersectsSphere(wl))return;Sl.copy(i).invert(),bl.copy(t.ray).applyMatrix4(Sl);const a=r/((this.scale.x+this.scale.y+this.scale.z)/3),o=a*a,l=new gn,c=new gn,h=new gn,u=new gn,d=this.isLineSegments?2:1,p=n.index,m=n.attributes.position;if(null!==p){for(let n=Math.max(0,s.start),i=Math.min(p.count,s.start+s.count)-1;n<i;n+=d){const i=p.getX(n),r=p.getX(n+1);l.fromBufferAttribute(m,i),c.fromBufferAttribute(m,r);if(bl.distanceSqToSegment(l,c,u,h)>o)continue;u.applyMatrix4(this.matrixWorld);const s=t.ray.origin.distanceTo(u);s<t.near||s>t.far||e.push({distance:s,point:h.clone().applyMatrix4(this.matrixWorld),index:n,face:null,faceIndex:null,object:this})}}else{for(let n=Math.max(0,s.start),i=Math.min(m.count,s.start+s.count)-1;n<i;n+=d){l.fromBufferAttribute(m,n),c.fromBufferAttribute(m,n+1);if(bl.distanceSqToSegment(l,c,u,h)>o)continue;u.applyMatrix4(this.matrixWorld);const i=t.ray.origin.distanceTo(u);i<t.near||i>t.far||e.push({distance:i,point:h.clone().applyMatrix4(this.matrixWorld),index:n,face:null,faceIndex:null,object:this})}}}updateMorphTargets(){const t=this.geometry.morphAttributes,e=Object.keys(t);if(e.length>0){const n=t[e[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let t=0,e=n.length;t<e;t++){const e=n[t].name||String(t);this.morphTargetInfluences.push(0),this.morphTargetDictionary[e]=t}}}}}const El=new gn,Al=new gn;class Cl extends Tl{constructor(t,e){super(t,e),this.isLineSegments=!0,this.type="LineSegments"}computeLineDistances(){const t=this.geometry;if(null===t.index){const e=t.attributes.position,n=[];for(let t=0,i=e.count;t<i;t+=2)El.fromBufferAttribute(e,t),Al.fromBufferAttribute(e,t+1),n[t]=0===t?0:n[t-1],n[t+1]=n[t]+El.distanceTo(Al);t.setAttribute("lineDistance",new Zi(n,1))}else console.warn("THREE.LineSegments.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");return this}}class Ll extends Tl{constructor(t,e){super(t,e),this.isLineLoop=!0,this.type="LineLoop"}}class Pl extends Ri{constructor(t){super(),this.isPointsMaterial=!0,this.type="PointsMaterial",this.color=new Oi(16777215),this.map=null,this.alphaMap=null,this.size=1,this.sizeAttenuation=!0,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.alphaMap=t.alphaMap,this.size=t.size,this.sizeAttenuation=t.sizeAttenuation,this.fog=t.fog,this}}const Rl=new qn,Il=new jn,Dl=new zn,Ul=new gn;class Nl extends vi{constructor(t=new ir,e=new Pl){super(),this.isPoints=!0,this.type="Points",this.geometry=t,this.material=e,this.updateMorphTargets()}copy(t,e){return super.copy(t,e),this.material=t.material,this.geometry=t.geometry,this}raycast(t,e){const n=this.geometry,i=this.matrixWorld,r=t.params.Points.threshold,s=n.drawRange;if(null===n.boundingSphere&&n.computeBoundingSphere(),Dl.copy(n.boundingSphere),Dl.applyMatrix4(i),Dl.radius+=r,!1===t.ray.intersectsSphere(Dl))return;Rl.copy(i).invert(),Il.copy(t.ray).applyMatrix4(Rl);const a=r/((this.scale.x+this.scale.y+this.scale.z)/3),o=a*a,l=n.index,c=n.attributes.position;if(null!==l){for(let n=Math.max(0,s.start),r=Math.min(l.count,s.start+s.count);n<r;n++){const r=l.getX(n);Ul.fromBufferAttribute(c,r),Ol(Ul,r,o,i,t,e,this)}}else{for(let n=Math.max(0,s.start),r=Math.min(c.count,s.start+s.count);n<r;n++)Ul.fromBufferAttribute(c,n),Ol(Ul,n,o,i,t,e,this)}}updateMorphTargets(){const t=this.geometry.morphAttributes,e=Object.keys(t);if(e.length>0){const n=t[e[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let t=0,e=n.length;t<e;t++){const e=n[t].name||String(t);this.morphTargetInfluences.push(0),this.morphTargetDictionary[e]=t}}}}}function Ol(t,e,n,i,r,s,a){const o=Il.distanceSqToPoint(t);if(o<n){const n=new gn;Il.closestPointToPoint(t,n),n.applyMatrix4(i);const l=r.ray.origin.distanceTo(n);if(l<r.near||l>r.far)return;s.push({distance:l,distanceToRay:Math.sqrt(o),point:n,index:e,face:null,object:a})}}class zl extends hn{constructor(t,e,n,i,r,s,a,o,l,c,h,u){super(null,s,a,o,l,c,i,r,h,u),this.isCompressedTexture=!0,this.image={width:e,height:n},this.mipmaps=t,this.flipY=!1,this.generateMipmaps=!1}}class Bl{constructor(){this.type="Curve",this.arcLengthDivisions=200}getPoint(){return console.warn("THREE.Curve: .getPoint() not implemented."),null}getPointAt(t,e){const n=this.getUtoTmapping(t);return this.getPoint(n,e)}getPoints(t=5){const e=[];for(let n=0;n<=t;n++)e.push(this.getPoint(n/t));return e}getSpacedPoints(t=5){const e=[];for(let n=0;n<=t;n++)e.push(this.getPointAt(n/t));return e}getLength(){const t=this.getLengths();return t[t.length-1]}getLengths(t=this.arcLengthDivisions){if(this.cacheArcLengths&&this.cacheArcLengths.length===t+1&&!this.needsUpdate)return this.cacheArcLengths;this.needsUpdate=!1;const e=[];let n,i=this.getPoint(0),r=0;e.push(0);for(let s=1;s<=t;s++)n=this.getPoint(s/t),r+=n.distanceTo(i),e.push(r),i=n;return this.cacheArcLengths=e,e}updateArcLengths(){this.needsUpdate=!0,this.getLengths()}getUtoTmapping(t,e){const n=this.getLengths();let i=0;const r=n.length;let s;s=e||t*n[r-1];let a,o=0,l=r-1;for(;o<=l;)if(i=Math.floor(o+(l-o)/2),a=n[i]-s,a<0)o=i+1;else{if(!(a>0)){l=i;break}l=i-1}if(i=l,n[i]===s)return i/(r-1);const c=n[i];return(i+(s-c)/(n[i+1]-c))/(r-1)}getTangent(t,e){const n=1e-4;let i=t-n,r=t+n;i<0&&(i=0),r>1&&(r=1);const s=this.getPoint(i),a=this.getPoint(r),o=e||(s.isVector2?new We:new gn);return o.copy(a).sub(s).normalize(),o}getTangentAt(t,e){const n=this.getUtoTmapping(t);return this.getTangent(n,e)}computeFrenetFrames(t,e){const n=new gn,i=[],r=[],s=[],a=new gn,o=new qn;for(let e=0;e<=t;e++){const n=e/t;i[e]=this.getTangentAt(n,new gn)}r[0]=new gn,s[0]=new gn;let l=Number.MAX_VALUE;const c=Math.abs(i[0].x),h=Math.abs(i[0].y),u=Math.abs(i[0].z);c<=l&&(l=c,n.set(1,0,0)),h<=l&&(l=h,n.set(0,1,0)),u<=l&&n.set(0,0,1),a.crossVectors(i[0],n).normalize(),r[0].crossVectors(i[0],a),s[0].crossVectors(i[0],r[0]);for(let e=1;e<=t;e++){if(r[e]=r[e-1].clone(),s[e]=s[e-1].clone(),a.crossVectors(i[e-1],i[e]),a.length()>Number.EPSILON){a.normalize();const t=Math.acos(Ne(i[e-1].dot(i[e]),-1,1));r[e].applyMatrix4(o.makeRotationAxis(a,t))}s[e].crossVectors(i[e],r[e])}if(!0===e){let e=Math.acos(Ne(r[0].dot(r[t]),-1,1));e/=t,i[0].dot(a.crossVectors(r[0],r[t]))>0&&(e=-e);for(let n=1;n<=t;n++)r[n].applyMatrix4(o.makeRotationAxis(i[n],e*n)),s[n].crossVectors(i[n],r[n])}return{tangents:i,normals:r,binormals:s}}clone(){return new this.constructor().copy(this)}copy(t){return this.arcLengthDivisions=t.arcLengthDivisions,this}toJSON(){const t={metadata:{version:4.5,type:"Curve",generator:"Curve.toJSON"}};return t.arcLengthDivisions=this.arcLengthDivisions,t.type=this.type,t}fromJSON(t){return this.arcLengthDivisions=t.arcLengthDivisions,this}}class Fl extends Bl{constructor(t=0,e=0,n=1,i=1,r=0,s=2*Math.PI,a=!1,o=0){super(),this.isEllipseCurve=!0,this.type="EllipseCurve",this.aX=t,this.aY=e,this.xRadius=n,this.yRadius=i,this.aStartAngle=r,this.aEndAngle=s,this.aClockwise=a,this.aRotation=o}getPoint(t,e){const n=e||new We,i=2*Math.PI;let r=this.aEndAngle-this.aStartAngle;const s=Math.abs(r)<Number.EPSILON;for(;r<0;)r+=i;for(;r>i;)r-=i;r<Number.EPSILON&&(r=s?0:i),!0!==this.aClockwise||s||(r===i?r=-i:r-=i);const a=this.aStartAngle+t*r;let o=this.aX+this.xRadius*Math.cos(a),l=this.aY+this.yRadius*Math.sin(a);if(0!==this.aRotation){const t=Math.cos(this.aRotation),e=Math.sin(this.aRotation),n=o-this.aX,i=l-this.aY;o=n*t-i*e+this.aX,l=n*e+i*t+this.aY}return n.set(o,l)}copy(t){return super.copy(t),this.aX=t.aX,this.aY=t.aY,this.xRadius=t.xRadius,this.yRadius=t.yRadius,this.aStartAngle=t.aStartAngle,this.aEndAngle=t.aEndAngle,this.aClockwise=t.aClockwise,this.aRotation=t.aRotation,this}toJSON(){const t=super.toJSON();return t.aX=this.aX,t.aY=this.aY,t.xRadius=this.xRadius,t.yRadius=this.yRadius,t.aStartAngle=this.aStartAngle,t.aEndAngle=this.aEndAngle,t.aClockwise=this.aClockwise,t.aRotation=this.aRotation,t}fromJSON(t){return super.fromJSON(t),this.aX=t.aX,this.aY=t.aY,this.xRadius=t.xRadius,this.yRadius=t.yRadius,this.aStartAngle=t.aStartAngle,this.aEndAngle=t.aEndAngle,this.aClockwise=t.aClockwise,this.aRotation=t.aRotation,this}}class kl extends Fl{constructor(t,e,n,i,r,s){super(t,e,n,n,i,r,s),this.isArcCurve=!0,this.type="ArcCurve"}}function Gl(){let t=0,e=0,n=0,i=0;function r(r,s,a,o){t=r,e=a,n=-3*r+3*s-2*a-o,i=2*r-2*s+a+o}return{initCatmullRom:function(t,e,n,i,s){r(e,n,s*(n-t),s*(i-e))},initNonuniformCatmullRom:function(t,e,n,i,s,a,o){let l=(e-t)/s-(n-t)/(s+a)+(n-e)/a,c=(n-e)/a-(i-e)/(a+o)+(i-n)/o;l*=a,c*=a,r(e,n,l,c)},calc:function(r){const s=r*r;return t+e*r+n*s+i*(s*r)}}}const Vl=new gn,Hl=new Gl,Wl=new Gl,jl=new Gl;class ql extends Bl{constructor(t=[],e=!1,n="centripetal",i=.5){super(),this.isCatmullRomCurve3=!0,this.type="CatmullRomCurve3",this.points=t,this.closed=e,this.curveType=n,this.tension=i}getPoint(t,e=new gn){const n=e,i=this.points,r=i.length,s=(r-(this.closed?0:1))*t;let a,o,l=Math.floor(s),c=s-l;this.closed?l+=l>0?0:(Math.floor(Math.abs(l)/r)+1)*r:0===c&&l===r-1&&(l=r-2,c=1),this.closed||l>0?a=i[(l-1)%r]:(Vl.subVectors(i[0],i[1]).add(i[0]),a=Vl);const h=i[l%r],u=i[(l+1)%r];if(this.closed||l+2<r?o=i[(l+2)%r]:(Vl.subVectors(i[r-1],i[r-2]).add(i[r-1]),o=Vl),"centripetal"===this.curveType||"chordal"===this.curveType){const t="chordal"===this.curveType?.5:.25;let e=Math.pow(a.distanceToSquared(h),t),n=Math.pow(h.distanceToSquared(u),t),i=Math.pow(u.distanceToSquared(o),t);n<1e-4&&(n=1),e<1e-4&&(e=n),i<1e-4&&(i=n),Hl.initNonuniformCatmullRom(a.x,h.x,u.x,o.x,e,n,i),Wl.initNonuniformCatmullRom(a.y,h.y,u.y,o.y,e,n,i),jl.initNonuniformCatmullRom(a.z,h.z,u.z,o.z,e,n,i)}else"catmullrom"===this.curveType&&(Hl.initCatmullRom(a.x,h.x,u.x,o.x,this.tension),Wl.initCatmullRom(a.y,h.y,u.y,o.y,this.tension),jl.initCatmullRom(a.z,h.z,u.z,o.z,this.tension));return n.set(Hl.calc(c),Wl.calc(c),jl.calc(c)),n}copy(t){super.copy(t),this.points=[];for(let e=0,n=t.points.length;e<n;e++){const n=t.points[e];this.points.push(n.clone())}return this.closed=t.closed,this.curveType=t.curveType,this.tension=t.tension,this}toJSON(){const t=super.toJSON();t.points=[];for(let e=0,n=this.points.length;e<n;e++){const n=this.points[e];t.points.push(n.toArray())}return t.closed=this.closed,t.curveType=this.curveType,t.tension=this.tension,t}fromJSON(t){super.fromJSON(t),this.points=[];for(let e=0,n=t.points.length;e<n;e++){const n=t.points[e];this.points.push(new gn().fromArray(n))}return this.closed=t.closed,this.curveType=t.curveType,this.tension=t.tension,this}}function Xl(t,e,n,i,r){const s=.5*(i-e),a=.5*(r-n),o=t*t;return(2*n-2*i+s+a)*(t*o)+(-3*n+3*i-2*s-a)*o+s*t+n}function Yl(t,e,n,i){return function(t,e){const n=1-t;return n*n*e}(t,e)+function(t,e){return 2*(1-t)*t*e}(t,n)+function(t,e){return t*t*e}(t,i)}function Zl(t,e,n,i,r){return function(t,e){const n=1-t;return n*n*n*e}(t,e)+function(t,e){const n=1-t;return 3*n*n*t*e}(t,n)+function(t,e){return 3*(1-t)*t*t*e}(t,i)+function(t,e){return t*t*t*e}(t,r)}
vendor: 7,039 bytes, line 3856
3856class Jl extends Bl{constructor(t=new We,e=new We,n=new We,i=new We){super(),this.isCubicBezierCurve=!0,this.type="CubicBezierCurve",this.v0=t,this.v1=e,this.v2=n,this.v3=i}getPoint(t,e=new We){const n=e,i=this.v0,r=this.v1,s=this.v2,a=this.v3;return n.set(Zl(t,i.x,r.x,s.x,a.x),Zl(t,i.y,r.y,s.y,a.y)),n}copy(t){return super.copy(t),this.v0.copy(t.v0),this.v1.copy(t.v1),this.v2.copy(t.v2),this.v3.copy(t.v3),this}toJSON(){const t=super.toJSON();return t.v0=this.v0.toArray(),t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t.v3=this.v3.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v0.fromArray(t.v0),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this.v3.fromArray(t.v3),this}}class Kl extends Bl{constructor(t=new gn,e=new gn,n=new gn,i=new gn){super(),this.isCubicBezierCurve3=!0,this.type="CubicBezierCurve3",this.v0=t,this.v1=e,this.v2=n,this.v3=i}getPoint(t,e=new gn){const n=e,i=this.v0,r=this.v1,s=this.v2,a=this.v3;return n.set(Zl(t,i.x,r.x,s.x,a.x),Zl(t,i.y,r.y,s.y,a.y),Zl(t,i.z,r.z,s.z,a.z)),n}copy(t){return super.copy(t),this.v0.copy(t.v0),this.v1.copy(t.v1),this.v2.copy(t.v2),this.v3.copy(t.v3),this}toJSON(){const t=super.toJSON();return t.v0=this.v0.toArray(),t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t.v3=this.v3.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v0.fromArray(t.v0),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this.v3.fromArray(t.v3),this}}class $l extends Bl{constructor(t=new We,e=new We){super(),this.isLineCurve=!0,this.type="LineCurve",this.v1=t,this.v2=e}getPoint(t,e=new We){const n=e;return 1===t?n.copy(this.v2):(n.copy(this.v2).sub(this.v1),n.multiplyScalar(t).add(this.v1)),n}getPointAt(t,e){return this.getPoint(t,e)}getTangent(t,e=new We){return e.subVectors(this.v2,this.v1).normalize()}getTangentAt(t,e){return this.getTangent(t,e)}copy(t){return super.copy(t),this.v1.copy(t.v1),this.v2.copy(t.v2),this}toJSON(){const t=super.toJSON();return t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this}}class Ql extends Bl{constructor(t=new gn,e=new gn){super(),this.isLineCurve3=!0,this.type="LineCurve3",this.v1=t,this.v2=e}getPoint(t,e=new gn){const n=e;return 1===t?n.copy(this.v2):(n.copy(this.v2).sub(this.v1),n.multiplyScalar(t).add(this.v1)),n}getPointAt(t,e){return this.getPoint(t,e)}getTangent(t,e=new gn){return e.subVectors(this.v2,this.v1).normalize()}getTangentAt(t,e){return this.getTangent(t,e)}copy(t){return super.copy(t),this.v1.copy(t.v1),this.v2.copy(t.v2),this}toJSON(){const t=super.toJSON();return t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this}}class tc extends Bl{constructor(t=new We,e=new We,n=new We){super(),this.isQuadraticBezierCurve=!0,this.type="QuadraticBezierCurve",this.v0=t,this.v1=e,this.v2=n}getPoint(t,e=new We){const n=e,i=this.v0,r=this.v1,s=this.v2;return n.set(Yl(t,i.x,r.x,s.x),Yl(t,i.y,r.y,s.y)),n}copy(t){return super.copy(t),this.v0.copy(t.v0),this.v1.copy(t.v1),this.v2.copy(t.v2),this}toJSON(){const t=super.toJSON();return t.v0=this.v0.toArray(),t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v0.fromArray(t.v0),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this}}class ec extends Bl{constructor(t=new gn,e=new gn,n=new gn){super(),this.isQuadraticBezierCurve3=!0,this.type="QuadraticBezierCurve3",this.v0=t,this.v1=e,this.v2=n}getPoint(t,e=new gn){const n=e,i=this.v0,r=this.v1,s=this.v2;return n.set(Yl(t,i.x,r.x,s.x),Yl(t,i.y,r.y,s.y),Yl(t,i.z,r.z,s.z)),n}copy(t){return super.copy(t),this.v0.copy(t.v0),this.v1.copy(t.v1),this.v2.copy(t.v2),this}toJSON(){const t=super.toJSON();return t.v0=this.v0.toArray(),t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v0.fromArray(t.v0),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this}}class nc extends Bl{constructor(t=[]){super(),this.isSplineCurve=!0,this.type="SplineCurve",this.points=t}getPoint(t,e=new We){const n=e,i=this.points,r=(i.length-1)*t,s=Math.floor(r),a=r-s,o=i[0===s?s:s-1],l=i[s],c=i[s>i.length-2?i.length-1:s+1],h=i[s>i.length-3?i.length-1:s+2];return n.set(Xl(a,o.x,l.x,c.x,h.x),Xl(a,o.y,l.y,c.y,h.y)),n}copy(t){super.copy(t),this.points=[];for(let e=0,n=t.points.length;e<n;e++){const n=t.points[e];this.points.push(n.clone())}return this}toJSON(){const t=super.toJSON();t.points=[];for(let e=0,n=this.points.length;e<n;e++){const n=this.points[e];t.points.push(n.toArray())}return t}fromJSON(t){super.fromJSON(t),this.points=[];for(let e=0,n=t.points.length;e<n;e++){const n=t.points[e];this.points.push(new We().fromArray(n))}return this}}var ic=Object.freeze({__proto__:null,ArcCurve:kl,CatmullRomCurve3:ql,CubicBezierCurve:Jl,CubicBezierCurve3:Kl,EllipseCurve:Fl,LineCurve:$l,LineCurve3:Ql,QuadraticBezierCurve:tc,QuadraticBezierCurve3:ec,SplineCurve:nc});class rc extends Bl{constructor(){super(),this.type="CurvePath",this.curves=[],this.autoClose=!1}add(t){this.curves.push(t)}closePath(){const t=this.curves[0].getPoint(0),e=this.curves[this.curves.length-1].getPoint(1);t.equals(e)||this.curves.push(new $l(e,t))}getPoint(t,e){const n=t*this.getLength(),i=this.getCurveLengths();let r=0;for(;r<i.length;){if(i[r]>=n){const t=i[r]-n,s=this.curves[r],a=s.getLength(),o=0===a?0:1-t/a;return s.getPointAt(o,e)}r++}return null}getLength(){const t=this.getCurveLengths();return t[t.length-1]}updateArcLengths(){this.needsUpdate=!0,this.cacheLengths=null,this.getCurveLengths()}getCurveLengths(){if(this.cacheLengths&&this.cacheLengths.length===this.curves.length)return this.cacheLengths;const t=[];let e=0;for(let n=0,i=this.curves.length;n<i;n++)e+=this.curves[n].getLength(),t.push(e);return this.cacheLengths=t,t}getSpacedPoints(t=40){const e=[];for(let n=0;n<=t;n++)e.push(this.getPoint(n/t));return this.autoClose&&e.push(e[0]),e}getPoints(t=12){const e=[];let n;for(let i=0,r=this.curves;i<r.length;i++){const s=r[i],a=s.isEllipseCurve?2*t:s.isLineCurve||s.isLineCurve3?1:s.isSplineCurve?t*s.points.length:t,o=s.getPoints(a);for(let t=0;t<o.length;t++){const i=o[t];n&&n.equals(i)||(e.push(i),n=i)}}return this.autoClose&&e.length>1&&!e[e.length-1].equals(e[0])&&e.push(e[0]),e}copy(t){super.copy(t),this.curves=[];for(let e=0,n=t.curves.length;e<n;e++){const n=t.curves[e];this.curves.push(n.clone())}return this.autoClose=t.autoClose,this}toJSON(){const t=super.toJSON();t.autoClose=this.autoClose,t.curves=[];for(let e=0,n=this.curves.length;e<n;e++){const n=this.curves[e];t.curves.push(n.toJSON())}return t}fromJSON(t){super.fromJSON(t),this.autoClose=t.autoClose,this.curves=[];for(let e=0,n=t.curves.length;e<n;e++){const n=t.curves[e];this.curves.push(new ic[n.type]().fromJSON(n))}return this}}class sc extends rc{constructor(t){super(),this.type="Path",this.currentPoint=new We,t&&this.setFromPoints(t)}setFromPoints(t){this.moveTo(t[0].x,t[0].y);for(let e=1,n=t.length;e<n;e++)this.lineTo(t[e].x,t[e].y);return this}moveTo(t,e){return this.currentPoint.set(t,e),this}
vendor: 5,310 bytes, line 3856
3856lineTo(t,e){const n=new $l(this.currentPoint.clone(),new We(t,e));return this.curves.push(n),this.currentPoint.set(t,e),this}quadraticCurveTo(t,e,n,i){const r=new tc(this.currentPoint.clone(),new We(t,e),new We(n,i));return this.curves.push(r),this.currentPoint.set(n,i),this}bezierCurveTo(t,e,n,i,r,s){const a=new Jl(this.currentPoint.clone(),new We(t,e),new We(n,i),new We(r,s));return this.curves.push(a),this.currentPoint.set(r,s),this}splineThru(t){const e=[this.currentPoint.clone()].concat(t),n=new nc(e);return this.curves.push(n),this.currentPoint.copy(t[t.length-1]),this}arc(t,e,n,i,r,s){const a=this.currentPoint.x,o=this.currentPoint.y;return this.absarc(t+a,e+o,n,i,r,s),this}absarc(t,e,n,i,r,s){return this.absellipse(t,e,n,n,i,r,s),this}ellipse(t,e,n,i,r,s,a,o){const l=this.currentPoint.x,c=this.currentPoint.y;return this.absellipse(t+l,e+c,n,i,r,s,a,o),this}absellipse(t,e,n,i,r,s,a,o){const l=new Fl(t,e,n,i,r,s,a,o);if(this.curves.length>0){const t=l.getPoint(0);t.equals(this.currentPoint)||this.lineTo(t.x,t.y)}this.curves.push(l);const c=l.getPoint(1);return this.currentPoint.copy(c),this}copy(t){return super.copy(t),this.currentPoint.copy(t.currentPoint),this}toJSON(){const t=super.toJSON();return t.currentPoint=this.currentPoint.toArray(),t}fromJSON(t){return super.fromJSON(t),this.currentPoint.fromArray(t.currentPoint),this}}class ac extends ir{constructor(t=[new We(0,-.5),new We(.5,0),new We(0,.5)],e=12,n=0,i=2*Math.PI){super(),this.type="LatheGeometry",this.parameters={points:t,segments:e,phiStart:n,phiLength:i},e=Math.floor(e),i=Ne(i,0,2*Math.PI);const r=[],s=[],a=[],o=[],l=[],c=1/e,h=new gn,u=new We,d=new gn,p=new gn,m=new gn;let f=0,g=0;for(let e=0;e<=t.length-1;e++)switch(e){case 0:f=t[e+1].x-t[e].x,g=t[e+1].y-t[e].y,d.x=1*g,d.y=-f,d.z=0*g,m.copy(d),d.normalize(),o.push(d.x,d.y,d.z);break;case t.length-1:o.push(m.x,m.y,m.z);break;default:f=t[e+1].x-t[e].x,g=t[e+1].y-t[e].y,d.x=1*g,d.y=-f,d.z=0*g,p.copy(d),d.x+=m.x,d.y+=m.y,d.z+=m.z,d.normalize(),o.push(d.x,d.y,d.z),m.copy(p);}for(let r=0;r<=e;r++){const d=n+r*c*i,p=Math.sin(d),m=Math.cos(d);for(let n=0;n<=t.length-1;n++){h.x=t[n].x*p,h.y=t[n].y,h.z=t[n].x*m,s.push(h.x,h.y,h.z),u.x=r/e,u.y=n/(t.length-1),a.push(u.x,u.y);const i=o[3*n+0]*p,c=o[3*n+1],d=o[3*n+0]*m;l.push(i,c,d)}}for(let n=0;n<e;n++)for(let e=0;e<t.length-1;e++){const i=e+n*t.length,s=i,a=i+t.length,o=i+t.length+1,l=i+1;r.push(s,a,l),r.push(o,l,a)}this.setIndex(r),this.setAttribute("position",new Zi(s,3)),this.setAttribute("uv",new Zi(a,2)),this.setAttribute("normal",new Zi(l,3))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new ac(t.points,t.segments,t.phiStart,t.phiLength)}}class oc extends ac{constructor(t=1,e=1,n=4,i=8){const r=new sc;r.absarc(0,-e/2,t,1.5*Math.PI,0),r.absarc(0,e/2,t,0,.5*Math.PI),super(r.getPoints(n),i),this.type="CapsuleGeometry",this.parameters={radius:t,height:e,capSegments:n,radialSegments:i}}static fromJSON(t){return new oc(t.radius,t.length,t.capSegments,t.radialSegments)}}class lc extends ir{constructor(t=1,e=32,n=0,i=2*Math.PI){super(),this.type="CircleGeometry",this.parameters={radius:t,segments:e,thetaStart:n,thetaLength:i},e=Math.max(3,e);const r=[],s=[],a=[],o=[],l=new gn,c=new We;s.push(0,0,0),a.push(0,0,1),o.push(.5,.5);for(let r=0,h=3;r<=e;r++,h+=3){const u=n+r/e*i;l.x=t*Math.cos(u),l.y=t*Math.sin(u),s.push(l.x,l.y,l.z),a.push(0,0,1),c.x=(s[h]/t+1)/2,c.y=(s[h+1]/t+1)/2,o.push(c.x,c.y)}for(let t=1;t<=e;t++)r.push(t,t+1,0);this.setIndex(r),this.setAttribute("position",new Zi(s,3)),this.setAttribute("normal",new Zi(a,3)),this.setAttribute("uv",new Zi(o,2))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new lc(t.radius,t.segments,t.thetaStart,t.thetaLength)}}class cc extends ir{constructor(t=1,e=1,n=1,i=32,r=1,s=!1,a=0,o=2*Math.PI){super(),this.type="CylinderGeometry",this.parameters={radiusTop:t,radiusBottom:e,height:n,radialSegments:i,heightSegments:r,openEnded:s,thetaStart:a,thetaLength:o};const l=this;i=Math.floor(i),r=Math.floor(r);const c=[],h=[],u=[],d=[];let p=0;const m=[],f=n/2;let g=0;function v(n){const r=p,s=new We,m=new gn;let v=0;const _=!0===n?t:e,x=!0===n?1:-1;for(let t=1;t<=i;t++)h.push(0,f*x,0),u.push(0,x,0),d.push(.5,.5),p++;const y=p;for(let t=0;t<=i;t++){const e=t/i*o+a,n=Math.cos(e),r=Math.sin(e);m.x=_*r,m.y=f*x,m.z=_*n,h.push(m.x,m.y,m.z),u.push(0,x,0),s.x=.5*n+.5,s.y=.5*r*x+.5,d.push(s.x,s.y),p++}for(let t=0;t<i;t++){const e=r+t,i=y+t;!0===n?c.push(i,i+1,e):c.push(i+1,i,e),v+=3}l.addGroup(g,v,!0===n?1:2),g+=v}!function(){const s=new gn,v=new gn;let _=0;const x=(e-t)/n;for(let l=0;l<=r;l++){const c=[],g=l/r,_=g*(e-t)+t;for(let t=0;t<=i;t++){const e=t/i,r=e*o+a,l=Math.sin(r),m=Math.cos(r);v.x=_*l,v.y=-g*n+f,v.z=_*m,h.push(v.x,v.y,v.z),s.set(l,x,m).normalize(),u.push(s.x,s.y,s.z),d.push(e,1-g),c.push(p++)}m.push(c)}for(let t=0;t<i;t++)for(let e=0;e<r;e++){const n=m[e][t],i=m[e+1][t],r=m[e+1][t+1],s=m[e][t+1];c.push(n,i,s),c.push(i,r,s),_+=6}l.addGroup(g,_,0),g+=_}(),!1===s&&(t>0&&v(!0),e>0&&v(!1)),this.setIndex(c),this.setAttribute("position",new Zi(h,3)),this.setAttribute("normal",new Zi(u,3)),this.setAttribute("uv",new Zi(d,2))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}
vendor: 3,055 bytes, line 3856
3856static fromJSON(t){return new cc(t.radiusTop,t.radiusBottom,t.height,t.radialSegments,t.heightSegments,t.openEnded,t.thetaStart,t.thetaLength)}}class hc extends cc{constructor(t=1,e=1,n=32,i=1,r=!1,s=0,a=2*Math.PI){super(0,t,e,n,i,r,s,a),this.type="ConeGeometry",this.parameters={radius:t,height:e,radialSegments:n,heightSegments:i,openEnded:r,thetaStart:s,thetaLength:a}}static fromJSON(t){return new hc(t.radius,t.height,t.radialSegments,t.heightSegments,t.openEnded,t.thetaStart,t.thetaLength)}}class uc extends ir{constructor(t=[],e=[],n=1,i=0){super(),this.type="PolyhedronGeometry",this.parameters={vertices:t,indices:e,radius:n,detail:i};const r=[],s=[];function a(t,e,n,i){const r=i+1,s=[];for(let i=0;i<=r;i++){s[i]=[];const a=t.clone().lerp(n,i/r),o=e.clone().lerp(n,i/r),l=r-i;for(let t=0;t<=l;t++)s[i][t]=0===t&&i===r?a:a.clone().lerp(o,t/l)}for(let t=0;t<r;t++)for(let e=0;e<2*(r-t)-1;e++){const n=Math.floor(e/2);e%2==0?(o(s[t][n+1]),o(s[t+1][n]),o(s[t][n])):(o(s[t][n+1]),o(s[t+1][n+1]),o(s[t+1][n]))}}function o(t){r.push(t.x,t.y,t.z)}function l(e,n){const i=3*e;n.x=t[i+0],n.y=t[i+1],n.z=t[i+2]}function c(t,e,n,i){i<0&&1===t.x&&(s[e]=t.x-1),0===n.x&&0===n.z&&(s[e]=i/2/Math.PI+.5)}function h(t){return Math.atan2(t.z,-t.x)}!function(t){const n=new gn,i=new gn,r=new gn;for(let s=0;s<e.length;s+=3)l(e[s+0],n),l(e[s+1],i),l(e[s+2],r),a(n,i,r,t)}(i),function(t){const e=new gn;for(let n=0;n<r.length;n+=3)e.x=r[n+0],e.y=r[n+1],e.z=r[n+2],e.normalize().multiplyScalar(t),r[n+0]=e.x,r[n+1]=e.y,r[n+2]=e.z}(n),function(){const t=new gn;for(let n=0;n<r.length;n+=3){t.x=r[n+0],t.y=r[n+1],t.z=r[n+2];const i=h(t)/2/Math.PI+.5,a=(e=t,Math.atan2(-e.y,Math.sqrt(e.x*e.x+e.z*e.z))/Math.PI+.5);s.push(i,1-a)}var e;(function(){const t=new gn,e=new gn,n=new gn,i=new gn,a=new We,o=new We,l=new We;for(let u=0,d=0;u<r.length;u+=9,d+=6){t.set(r[u+0],r[u+1],r[u+2]),e.set(r[u+3],r[u+4],r[u+5]),n.set(r[u+6],r[u+7],r[u+8]),a.set(s[d+0],s[d+1]),o.set(s[d+2],s[d+3]),l.set(s[d+4],s[d+5]),i.copy(t).add(e).add(n).divideScalar(3);const p=h(i);c(a,d+0,t,p),c(o,d+2,e,p),c(l,d+4,n,p)}})(),function(){for(let t=0;t<s.length;t+=6){const e=s[t+0],n=s[t+2],i=s[t+4],r=Math.max(e,n,i),a=Math.min(e,n,i);r>.9&&a<.1&&(e<.2&&(s[t+0]+=1),n<.2&&(s[t+2]+=1),i<.2&&(s[t+4]+=1))}}()}(),this.setAttribute("position",new Zi(r,3)),this.setAttribute("normal",new Zi(r.slice(),3)),this.setAttribute("uv",new Zi(s,2)),0===i?this.computeVertexNormals():this.normalizeNormals()}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new uc(t.vertices,t.indices,t.radius,t.details)}}class dc extends uc{constructor(t=1,e=0){const n=(1+Math.sqrt(5))/2,i=1/n;super([-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,-i,-n,0,-i,n,0,i,-n,0,i,n,-i,-n,0,-i,n,0,i,-n,0,i,n,0,-n,0,-i,n,0,-i,-n,0,i,n,0,i],[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,
vendor: 4,289 bytes, line 3856
385619,5,14,19,14,4,19,4,17,1,12,14,1,14,5,1,5,9],t,e),this.type="DodecahedronGeometry",this.parameters={radius:t,detail:e}}static fromJSON(t){return new dc(t.radius,t.detail)}}const pc=new gn,mc=new gn,fc=new gn,gc=new Li;class vc extends ir{constructor(t=null,e=1){if(super(),this.type="EdgesGeometry",this.parameters={geometry:t,thresholdAngle:e},null!==t){const n=4,i=Math.pow(10,n),r=Math.cos(Ie*e),s=t.getIndex(),a=t.getAttribute("position"),o=s?s.count:a.count,l=[0,0,0],c=["a","b","c"],h=new Array(3),u={},d=[];for(let t=0;t<o;t+=3){s?(l[0]=s.getX(t),l[1]=s.getX(t+1),l[2]=s.getX(t+2)):(l[0]=t,l[1]=t+1,l[2]=t+2);const{a:e,b:n,c:o}=gc;if(e.fromBufferAttribute(a,l[0]),n.fromBufferAttribute(a,l[1]),o.fromBufferAttribute(a,l[2]),gc.getNormal(fc),h[0]=`${Math.round(e.x*i)},${Math.round(e.y*i)},${Math.round(e.z*i)}`,h[1]=`${Math.round(n.x*i)},${Math.round(n.y*i)},${Math.round(n.z*i)}`,h[2]=`${Math.round(o.x*i)},${Math.round(o.y*i)},${Math.round(o.z*i)}`,h[0]!==h[1]&&h[1]!==h[2]&&h[2]!==h[0])for(let t=0;t<3;t++){const e=(t+1)%3,n=h[t],i=h[e],s=gc[c[t]],a=gc[c[e]],o=`${n}_${i}`,p=`${i}_${n}`;p in u&&u[p]?(fc.dot(u[p].normal)<=r&&(d.push(s.x,s.y,s.z),d.push(a.x,a.y,a.z)),u[p]=null):o in u||(u[o]={index0:l[t],index1:l[e],normal:fc.clone()})}}for(const t in u)if(u[t]){const{index0:e,index1:n}=u[t];pc.fromBufferAttribute(a,e),mc.fromBufferAttribute(a,n),d.push(pc.x,pc.y,pc.z),d.push(mc.x,mc.y,mc.z)}this.setAttribute("position",new Zi(d,3))}}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}}class _c extends sc{constructor(t){super(t),this.uuid=Ue(),this.type="Shape",this.holes=[]}getPointsHoles(t){const e=[];for(let n=0,i=this.holes.length;n<i;n++)e[n]=this.holes[n].getPoints(t);return e}extractPoints(t){return{shape:this.getPoints(t),holes:this.getPointsHoles(t)}}copy(t){super.copy(t),this.holes=[];for(let e=0,n=t.holes.length;e<n;e++){const n=t.holes[e];this.holes.push(n.clone())}return this}toJSON(){const t=super.toJSON();t.uuid=this.uuid,t.holes=[];for(let e=0,n=this.holes.length;e<n;e++){const n=this.holes[e];t.holes.push(n.toJSON())}return t}fromJSON(t){super.fromJSON(t),this.uuid=t.uuid,this.holes=[];for(let e=0,n=t.holes.length;e<n;e++){const n=t.holes[e];this.holes.push(new sc().fromJSON(n))}return this}}const xc=function(t,e,n=2){const i=e&&e.length,r=i?e[0]*n:t.length;let s=yc(t,0,r,n,!0);const a=[];if(!s||s.next===s.prev)return a;let o,l,c,h,u,d,p;if(i&&(s=function(t,e,n,i){const r=[];let s,a,o,l,c;for(s=0,a=e.length;s<a;s++)o=e[s]*i,l=s<a-1?e[s+1]*i:t.length,c=yc(t,o,l,i,!1),c===c.next&&(c.steiner=!0),r.push(Rc(c));for(r.sort(Ac),s=0;s<r.length;s++)n=Cc(r[s],n);return n}(t,e,s,n)),t.length>80*n){o=c=t[0],l=h=t[1];for(let e=n;e<r;e+=n)u=t[e],d=t[e+1],u<o&&(o=u),d<l&&(l=d),u>c&&(c=u),d>h&&(h=d);p=Math.max(c-o,h-l),p=0!==p?32767/p:0}return Sc(s,a,n,o,l,p,0),a};function yc(t,e,n,i,r){let s,a;if(r===function(t,e,n,i){let r=0;for(let s=e,a=n-i;s<n;s+=i)r+=(t[a]-t[s])*(t[s+1]+t[a+1]),a=s;return r}(t,e,n,i)>0)for(s=e;s<n;s+=i)a=Gc(s,t[s],t[s+1],a);else for(s=n-i;s>=e;s-=i)a=Gc(s,t[s],t[s+1],a);return a&&Nc(a,a.next)&&(Vc(a),a=a.next),a}function Mc(t,e){if(!t)return t;e||(e=t);let n,i=t;do{if(n=!1,i.steiner||!Nc(i,i.next)&&0!==Uc(i.prev,i,i.next))i=i.next;else{if(Vc(i),i=e=i.prev,i===i.next)break;n=!0}}while(n||i!==e);return e}function Sc(t,e,n,i,r,s,a){if(!t)return;!a&&s&&function(t,e,n,i){let r=t;do{0===r.z&&(r.z=Pc(r.x,r.y,e,n,i)),r.prevZ=r.prev,r.nextZ=r.next,r=r.next}while(r!==t);r.prevZ.nextZ=null,r.prevZ=null,function(t){let e,n,i,r,s,a,o,l,c=1;do{for(n=t,t=null,s=null,a=0;n;){for(a++,i=n,o=0,e=0;e<c&&(o++,i=i.nextZ,i);e++);for(l=c;o>0||l>0&&i;)0!==o&&(0===l||!i||n.z<=i.z)?(r=n,n=n.nextZ,o--):(r=i,i=i.nextZ,l--),s?s.nextZ=r:t=r,r.prevZ=s,s=r;n=i}s.nextZ=null,c*=2}while(a>1)}(r)}(t,i,r,s);let o,l,c=t;for(;t.prev!==t.next;)if(o=t.prev,l=t.next,s?wc(t,i,r,s):bc(t))e.push(o.i/n|0),e.push(t.i/n|0),e.push(l.i/n|0),Vc(t),t=l.next,c=l.next;else if((t=l)===c){a?1===a?Sc(t=Tc(Mc(t),e,n),e,n,i,r,s,2):2===a&&Ec(t,e,n,i,r,s):Sc(Mc(t),e,n,i,r,s,1);break}}function bc(t){const e=t.prev,n=t,i=t.next;if(Uc(e,n,i)>=0)return!1;const r=e.x,s=n.x,a=i.x,o=e.y,l=n.y,c=i.y,h=r<s?r<a?r:a:s<a?s:a,u=o<l?o<c?o:c:l<c?l:c,d=r>s?r>a?r:a:s>a?s:a,p=o>l?o>c?o:c:l>c?l:c;let m=i.next;for(;m!==e;){if(m.x>=h&&m.x<=d&&m.y>
vendor: 6,356 bytes, line 3856
3856=u&&m.y<=p&&Ic(r,o,s,l,a,c,m.x,m.y)&&Uc(m.prev,m,m.next)>=0)return!1;m=m.next}return!0}function wc(t,e,n,i){const r=t.prev,s=t,a=t.next;if(Uc(r,s,a)>=0)return!1;const o=r.x,l=s.x,c=a.x,h=r.y,u=s.y,d=a.y,p=o<l?o<c?o:c:l<c?l:c,m=h<u?h<d?h:d:u<d?u:d,f=o>l?o>c?o:c:l>c?l:c,g=h>u?h>d?h:d:u>d?u:d,v=Pc(p,m,e,n,i),_=Pc(f,g,e,n,i);let x=t.prevZ,y=t.nextZ;for(;x&&x.z>=v&&y&&y.z<=_;){if(x.x>=p&&x.x<=f&&x.y>=m&&x.y<=g&&x!==r&&x!==a&&Ic(o,h,l,u,c,d,x.x,x.y)&&Uc(x.prev,x,x.next)>=0)return!1;if(x=x.prevZ,y.x>=p&&y.x<=f&&y.y>=m&&y.y<=g&&y!==r&&y!==a&&Ic(o,h,l,u,c,d,y.x,y.y)&&Uc(y.prev,y,y.next)>=0)return!1;y=y.nextZ}for(;x&&x.z>=v;){if(x.x>=p&&x.x<=f&&x.y>=m&&x.y<=g&&x!==r&&x!==a&&Ic(o,h,l,u,c,d,x.x,x.y)&&Uc(x.prev,x,x.next)>=0)return!1;x=x.prevZ}for(;y&&y.z<=_;){if(y.x>=p&&y.x<=f&&y.y>=m&&y.y<=g&&y!==r&&y!==a&&Ic(o,h,l,u,c,d,y.x,y.y)&&Uc(y.prev,y,y.next)>=0)return!1;y=y.nextZ}return!0}function Tc(t,e,n){let i=t;do{const r=i.prev,s=i.next.next;!Nc(r,s)&&Oc(r,i,i.next,s)&&Fc(r,s)&&Fc(s,r)&&(e.push(r.i/n|0),e.push(i.i/n|0),e.push(s.i/n|0),Vc(i),Vc(i.next),i=t=s),i=i.next}while(i!==t);return Mc(i)}function Ec(t,e,n,i,r,s){let a=t;do{let t=a.next.next;for(;t!==a.prev;){if(a.i!==t.i&&Dc(a,t)){let o=kc(a,t);return a=Mc(a,a.next),o=Mc(o,o.next),Sc(a,e,n,i,r,s,0),void Sc(o,e,n,i,r,s,0)}t=t.next}a=a.next}while(a!==t)}function Ac(t,e){return t.x-e.x}function Cc(t,e){const n=function(t,e){let n,i=e,r=-1/0;const s=t.x,a=t.y;do{if(a<=i.y&&a>=i.next.y&&i.next.y!==i.y){const t=i.x+(a-i.y)*(i.next.x-i.x)/(i.next.y-i.y);if(t<=s&&t>r&&(r=t,n=i.x<i.next.x?i:i.next,t===s))return n}i=i.next}while(i!==e);if(!n)return null;const o=n,l=n.x,c=n.y;let h,u=1/0;i=n;do{s>=i.x&&i.x>=l&&s!==i.x&&Ic(a<c?s:r,a,l,c,a<c?r:s,a,i.x,i.y)&&(h=Math.abs(a-i.y)/(s-i.x),Fc(i,t)&&(h<u||h===u&&(i.x>n.x||i.x===n.x&&Lc(n,i)))&&(n=i,u=h)),i=i.next}while(i!==o);return n}(t,e);if(!n)return e;const i=kc(n,t);return Mc(i,i.next),Mc(n,n.next)}function Lc(t,e){return Uc(t.prev,t,e.prev)<0&&Uc(e.next,t,t.next)<0}function Pc(t,e,n,i,r){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=(t-n)*r|0)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=(e-i)*r|0)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function Rc(t){let e=t,n=t;do{(e.x<n.x||e.x===n.x&&e.y<n.y)&&(n=e),e=e.next}while(e!==t);return n}function Ic(t,e,n,i,r,s,a,o){return(r-a)*(e-o)>=(t-a)*(s-o)&&(t-a)*(i-o)>=(n-a)*(e-o)&&(n-a)*(s-o)>=(r-a)*(i-o)}function Dc(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){let n=t;do{if(n.i!==t.i&&n.next.i!==t.i&&n.i!==e.i&&n.next.i!==e.i&&Oc(n,n.next,t,e))return!0;n=n.next}while(n!==t);return!1}(t,e)&&(Fc(t,e)&&Fc(e,t)&&function(t,e){let n=t,i=!1;const r=(t.x+e.x)/2,s=(t.y+e.y)/2;do{n.y>s!=n.next.y>s&&n.next.y!==n.y&&r<(n.next.x-n.x)*(s-n.y)/(n.next.y-n.y)+n.x&&(i=!i),n=n.next}while(n!==t);return i}(t,e)&&(Uc(t.prev,t,e.prev)||Uc(t,e.prev,e))||Nc(t,e)&&Uc(t.prev,t,t.next)>0&&Uc(e.prev,e,e.next)>0)}function Uc(t,e,n){return(e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y)}function Nc(t,e){return t.x===e.x&&t.y===e.y}function Oc(t,e,n,i){const r=Bc(Uc(t,e,n)),s=Bc(Uc(t,e,i)),a=Bc(Uc(n,i,t)),o=Bc(Uc(n,i,e));return r!==s&&a!==o||!(0!==r||!zc(t,n,e))||!(0!==s||!zc(t,i,e))||!(0!==a||!zc(n,t,i))||!(0!==o||!zc(n,e,i))}function zc(t,e,n){return e.x<=Math.max(t.x,n.x)&&e.x>=Math.min(t.x,n.x)&&e.y<=Math.max(t.y,n.y)&&e.y>=Math.min(t.y,n.y)}function Bc(t){return t>0?1:t<0?-1:0}function Fc(t,e){return Uc(t.prev,t,t.next)<0?Uc(t,e,t.next)>=0&&Uc(t,t.prev,e)>=0:Uc(t,e,t.prev)<0||Uc(t,t.next,e)<0}function kc(t,e){const n=new Hc(t.i,t.x,t.y),i=new Hc(e.i,e.x,e.y),r=t.next,s=e.prev;return t.next=e,e.prev=t,n.next=r,r.prev=n,i.next=n,n.prev=i,s.next=i,i.prev=s,i}function Gc(t,e,n,i){const r=new Hc(t,e,n);return i?(r.next=i.next,r.prev=i,i.next.prev=r,i.next=r):(r.prev=r,r.next=r),r}function Vc(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function Hc(t,e,n){this.i=t,this.x=e,this.y=n,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}class Wc{static area(t){const e=t.length;let n=0;for(let i=e-1,r=0;r<e;i=r++)n+=t[i].x*t[r].y-t[r].x*t[i].y;return .5*n}static isClockWise(t){return Wc.area(t)<0}static triangulateShape(t,e){const n=[],i=[],r=[];jc(t),qc(n,t);let s=t.length;e.forEach(jc);for(let t=0;t<e.length;t++)i.push(s),s+=e[t].length,qc(n,e[t]);const a=xc(n,i);for(let t=0;t<a.length;t+=3)r.push(a.slice(t,t+3));return r}}function jc(t){const e=t.length;e>2&&t[e-1].equals(t[0])&&t.pop()}function qc(t,e){for(let n=0;n<e.length;n++)t.push(e[n].x),t.push(e[n].y)}class Xc extends ir{constructor(t=new _c([new We(.5,.5),new We(-.5,.5),new We(-.5,-.5),new We(.5,-.5)]),e={}){super(),this.type="ExtrudeGeometry",this.parameters={shapes:t,options:e},t=Array.isArray(t)?t:[t];const n=this,i=[],r=[];for(let e=0,n=t.length;e<n;e++){s(t[e])}function s(t){const s=[],a=void 0!==e.curveSegments?e.curveSegments:12,o=void 0!==e.steps?e.steps:1,l=void 0!==e.depth?e.depth:1;let c=void 0===e.bevelEnabled||e.bevelEnabled,h=void 0!==e.bevelThickness?e.bevelThickness:.2,u=void 0!==e.bevelSize?e.bevelSize:h-.1,d=void 0!==e.bevelOffset?e.bevelOffset:0,p=void 0!==e.bevelSegments?e.bevelSegments:3;const m=e.extrudePath,f=void 0!==e.UVGenerator?e.UVGenerator:Yc;let g,v,_,x,y,M=!1;m&&(g=m.getSpacedPoints(o),M=!0,c=!1,v=m.computeFrenetFrames(o,!1),_=new gn,x=new gn,y=new gn),c||(p=0,h=0,u=0,d=0);const S=t.extractPoints(a);let b=S.shape;const w=S.holes;if(!Wc.isClockWise(b)){b=b.reverse();for(let t=0,e=w.length;t<e;t++){const e=w[t];Wc.isClockWise(e)&&(w[t]=e.reverse())}}const T=Wc.triangulateShape(b,w),E=b;for(let t=0,e=w.length;t<e;t++){const e=w[t];b=b.concat(e)}function A(t,e,n){return e||console.error("THREE.ExtrudeGeometry: vec does not exist"),t.clone().addScaledVector(e,n)}const C=b.length,L=T.length;function P(t,e,n){let i,r,s;const a=t.x-e.x,o=t.y-e.y,l=n.x-t.x,c=n.y-t.y,h=a*a+o*o,u=a*c-o*l;if(Math.abs(u)>Number.EPSILON){const u=Math.sqrt(h),d=Math.sqrt(l*l+c*c),p=e.x-o/u,m=e.y+a/u,f=((n.x-c/d-p)*c-(n.y+l/d-m)*l)/(a*c-o*l);i=p+a*f-t.x,r=m+o*f-t.y;const g=i*i+r*r;if(g<=2)return new We(i,r);s=Math.sqrt(g/2)}else{let t=!1;a>Number.EPSILON?l>Number.EPSILON&&(t=!0):a<-Number.EPSILON?l<-Number.EPSILON&&(t=!0):Math.sign(o)===Math.sign(c)&&(t=!0),t?(i=-o,r=a,s=Math.sqrt(h)):(i=a,r=o,s=Math.sqrt(h/2))}return new We(i/s,r/s)}const R=[];
vendor: 4,251 bytes, line 3856
3856for(let t=0,e=E.length,n=e-1,i=t+1;t<e;t++,n++,i++)n===e&&(n=0),i===e&&(i=0),R[t]=P(E[t],E[n],E[i]);const I=[];let D,U=R.concat();for(let t=0,e=w.length;t<e;t++){const e=w[t];D=[];for(let t=0,n=e.length,i=n-1,r=t+1;t<n;t++,i++,r++)i===n&&(i=0),r===n&&(r=0),D[t]=P(e[t],e[i],e[r]);I.push(D),U=U.concat(D)}for(let t=0;t<p;t++){const e=t/p,n=h*Math.cos(e*Math.PI/2),i=u*Math.sin(e*Math.PI/2)+d;for(let t=0,e=E.length;t<e;t++){const e=A(E[t],R[t],i);z(e.x,e.y,-n)}for(let t=0,e=w.length;t<e;t++){const e=w[t];D=I[t];for(let t=0,r=e.length;t<r;t++){const r=A(e[t],D[t],i);z(r.x,r.y,-n)}}}const N=u+d;for(let t=0;t<C;t++){const e=c?A(b[t],U[t],N):b[t];M?(x.copy(v.normals[0]).multiplyScalar(e.x),_.copy(v.binormals[0]).multiplyScalar(e.y),y.copy(g[0]).add(x).add(_),z(y.x,y.y,y.z)):z(e.x,e.y,0)}for(let t=1;t<=o;t++)for(let e=0;e<C;e++){const n=c?A(b[e],U[e],N):b[e];M?(x.copy(v.normals[t]).multiplyScalar(n.x),_.copy(v.binormals[t]).multiplyScalar(n.y),y.copy(g[t]).add(x).add(_),z(y.x,y.y,y.z)):z(n.x,n.y,l/o*t)}for(let t=p-1;t>=0;t--){const e=t/p,n=h*Math.cos(e*Math.PI/2),i=u*Math.sin(e*Math.PI/2)+d;for(let t=0,e=E.length;t<e;t++){const e=A(E[t],R[t],i);z(e.x,e.y,l+n)}for(let t=0,e=w.length;t<e;t++){const e=w[t];D=I[t];for(let t=0,r=e.length;t<r;t++){const r=A(e[t],D[t],i);M?z(r.x,r.y+g[o-1].y,g[o-1].x+n):z(r.x,r.y,l+n)}}}function O(t,e){let n=t.length;for(;--n>=0;){const i=n;let r=n-1;r<0&&(r=t.length-1);for(let t=0,n=o+2*p;t<n;t++){const n=C*t,s=C*(t+1);F(e+i+n,e+r+n,e+r+s,e+i+s)}}}function z(t,e,n){s.push(t),s.push(e),s.push(n)}function B(t,e,r){k(t),k(e),k(r);const s=i.length/3,a=f.generateTopUV(n,i,s-3,s-2,s-1);G(a[0]),G(a[1]),G(a[2])}function F(t,e,r,s){k(t),k(e),k(s),k(e),k(r),k(s);const a=i.length/3,o=f.generateSideWallUV(n,i,a-6,a-3,a-2,a-1);G(o[0]),G(o[1]),G(o[3]),G(o[1]),G(o[2]),G(o[3])}function k(t){i.push(s[3*t+0]),i.push(s[3*t+1]),i.push(s[3*t+2])}function G(t){r.push(t.x),r.push(t.y)}!function(){const t=i.length/3;if(c){let t=0,e=C*t;for(let t=0;t<L;t++){const n=T[t];B(n[2]+e,n[1]+e,n[0]+e)}t=o+2*p,e=C*t;for(let t=0;t<L;t++){const n=T[t];B(n[0]+e,n[1]+e,n[2]+e)}}else{for(let t=0;t<L;t++){const e=T[t];B(e[2],e[1],e[0])}for(let t=0;t<L;t++){const e=T[t];B(e[0]+C*o,e[1]+C*o,e[2]+C*o)}}n.addGroup(t,i.length/3-t,0)}(),function(){const t=i.length/3;let e=0;O(E,e),e+=E.length;for(let t=0,n=w.length;t<n;t++){const n=w[t];O(n,e),e+=n.length}n.addGroup(t,i.length/3-t,1)}()}this.setAttribute("position",new Zi(i,3)),this.setAttribute("uv",new Zi(r,2)),this.computeVertexNormals()}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}toJSON(){const t=super.toJSON();return function(t,e,n){if(n.shapes=[],Array.isArray(t))for(let e=0,i=t.length;e<i;e++){const i=t[e];n.shapes.push(i.uuid)}else n.shapes.push(t.uuid);n.options=Object.assign({},e),void 0!==e.extrudePath&&(n.options.extrudePath=e.extrudePath.toJSON());return n}(this.parameters.shapes,this.parameters.options,t)}static fromJSON(t,e){const n=[];for(let i=0,r=t.shapes.length;i<r;i++){const r=e[t.shapes[i]];n.push(r)}const i=t.options.extrudePath;return void 0!==i&&(t.options.extrudePath=new ic[i.type]().fromJSON(i)),new Xc(n,t.options)}}const Yc={generateTopUV:function(t,e,n,i,r){const s=e[3*n],a=e[3*n+1],o=e[3*i],l=e[3*i+1],c=e[3*r],h=e[3*r+1];return[new We(s,a),new We(o,l),new We(c,h)]},generateSideWallUV:function(t,e,n,i,r,s){const a=e[3*n],o=e[3*n+1],l=e[3*n+2],c=e[3*i],h=e[3*i+1],u=e[3*i+2],d=e[3*r],p=e[3*r+1],m=e[3*r+2],f=e[3*s],g=e[3*s+1],v=e[3*s+2];return Math.abs(o-h)<Math.abs(a-c)?[new We(a,1-l),new We(c,1-u),new We(d,1-m),new We(f,1-v)]:[new We(o,1-l),new We(h,1-u),new We(p,1-m),new We(g,1-v)]}};class Zc extends uc{constructor(t=1,e=0){const n=(1+Math.sqrt(5))/2;super([-1,n,0,1,n,0,-1,-n,0,1,-n,0,0,-1,n,0,1,n,0,-1,-n,0,1,-n,n,0,-1,n,0,1,-n,0,-1,-n,0,1],[0,11,5,0,5,1,0,1,7,0,7,10,0,10,11,1,5,9,5,11,4,11,10,2,10,7,6,7,1,8,3,9,4,3,4,2,3,2,6,3,6,8,3,8,9,4,9,5,2,4,11,6,2,10,8,6,7,9,8,1],t,e),this.type="IcosahedronGeometry",this.parameters={radius:t,detail:e}}static fromJSON(t){return new Zc(t.radius,t.detail)}}class Jc extends uc{constructor(t=1,e=0){super([1,0,0,-1,0,0,0,1,0,0,-1,0,0,0,1,0,0,-1],[0,2,4,0,4,3,0,3,5,0,5,2,1,2,5,1,5,3,1,3,4,1,4,2],t,e),this.type="OctahedronGeometry",this.parameters={radiu
vendor: 19,566 bytes, line 3856
3856s:t,detail:e}}static fromJSON(t){return new Jc(t.radius,t.detail)}}class Kc extends ir{constructor(t=.5,e=1,n=32,i=1,r=0,s=2*Math.PI){super(),this.type="RingGeometry",this.parameters={innerRadius:t,outerRadius:e,thetaSegments:n,phiSegments:i,thetaStart:r,thetaLength:s},n=Math.max(3,n);const a=[],o=[],l=[],c=[];let h=t;const u=(e-t)/(i=Math.max(1,i)),d=new gn,p=new We;for(let t=0;t<=i;t++){for(let t=0;t<=n;t++){const i=r+t/n*s;d.x=h*Math.cos(i),d.y=h*Math.sin(i),o.push(d.x,d.y,d.z),l.push(0,0,1),p.x=(d.x/e+1)/2,p.y=(d.y/e+1)/2,c.push(p.x,p.y)}h+=u}for(let t=0;t<i;t++){const e=t*(n+1);for(let t=0;t<n;t++){const i=t+e,r=i,s=i+n+1,o=i+n+2,l=i+1;a.push(r,s,l),a.push(s,o,l)}}this.setIndex(a),this.setAttribute("position",new Zi(o,3)),this.setAttribute("normal",new Zi(l,3)),this.setAttribute("uv",new Zi(c,2))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new Kc(t.innerRadius,t.outerRadius,t.thetaSegments,t.phiSegments,t.thetaStart,t.thetaLength)}}class $c extends ir{constructor(t=new _c([new We(0,.5),new We(-.5,-.5),new We(.5,-.5)]),e=12){super(),this.type="ShapeGeometry",this.parameters={shapes:t,curveSegments:e};const n=[],i=[],r=[],s=[];let a=0,o=0;if(!1===Array.isArray(t))l(t);else for(let e=0;e<t.length;e++)l(t[e]),this.addGroup(a,o,e),a+=o,o=0;function l(t){const a=i.length/3,l=t.extractPoints(e);let c=l.shape;const h=l.holes;!1===Wc.isClockWise(c)&&(c=c.reverse());for(let t=0,e=h.length;t<e;t++){const e=h[t];!0===Wc.isClockWise(e)&&(h[t]=e.reverse())}const u=Wc.triangulateShape(c,h);for(let t=0,e=h.length;t<e;t++){const e=h[t];c=c.concat(e)}for(let t=0,e=c.length;t<e;t++){const e=c[t];i.push(e.x,e.y,0),r.push(0,0,1),s.push(e.x,e.y)}for(let t=0,e=u.length;t<e;t++){const e=u[t],i=e[0]+a,r=e[1]+a,s=e[2]+a;n.push(i,r,s),o+=3}}this.setIndex(n),this.setAttribute("position",new Zi(i,3)),this.setAttribute("normal",new Zi(r,3)),this.setAttribute("uv",new Zi(s,2))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}toJSON(){const t=super.toJSON();return function(t,e){if(e.shapes=[],Array.isArray(t))for(let n=0,i=t.length;n<i;n++){const i=t[n];e.shapes.push(i.uuid)}else e.shapes.push(t.uuid);return e}(this.parameters.shapes,t)}static fromJSON(t,e){const n=[];for(let i=0,r=t.shapes.length;i<r;i++){const r=e[t.shapes[i]];n.push(r)}return new $c(n,t.curveSegments)}}class Qc extends ir{constructor(t=1,e=32,n=16,i=0,r=2*Math.PI,s=0,a=Math.PI){super(),this.type="SphereGeometry",this.parameters={radius:t,widthSegments:e,heightSegments:n,phiStart:i,phiLength:r,thetaStart:s,thetaLength:a},e=Math.max(3,Math.floor(e)),n=Math.max(2,Math.floor(n));const o=Math.min(s+a,Math.PI);let l=0;const c=[],h=new gn,u=new gn,d=[],p=[],m=[],f=[];for(let d=0;d<=n;d++){const g=[],v=d/n;let _=0;0===d&&0===s?_=.5/e:d===n&&o===Math.PI&&(_=-.5/e);for(let n=0;n<=e;n++){const o=n/e;h.x=-t*Math.cos(i+o*r)*Math.sin(s+v*a),h.y=t*Math.cos(s+v*a),h.z=t*Math.sin(i+o*r)*Math.sin(s+v*a),p.push(h.x,h.y,h.z),u.copy(h).normalize(),m.push(u.x,u.y,u.z),f.push(o+_,1-v),g.push(l++)}c.push(g)}for(let t=0;t<n;t++)for(let i=0;i<e;i++){const e=c[t][i+1],r=c[t][i],a=c[t+1][i],l=c[t+1][i+1];(0!==t||s>0)&&d.push(e,r,l),(t!==n-1||o<Math.PI)&&d.push(r,a,l)}this.setIndex(d),this.setAttribute("position",new Zi(p,3)),this.setAttribute("normal",new Zi(m,3)),this.setAttribute("uv",new Zi(f,2))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new Qc(t.radius,t.widthSegments,t.heightSegments,t.phiStart,t.phiLength,t.thetaStart,t.thetaLength)}}class th extends uc{constructor(t=1,e=0){super([1,1,1,-1,-1,1,-1,1,-1,1,-1,-1],[2,1,0,0,3,2,1,3,0,2,3,1],t,e),this.type="TetrahedronGeometry",this.parameters={radius:t,detail:e}}static fromJSON(t){return new th(t.radius,t.detail)}}class eh extends ir{constructor(t=1,e=.4,n=12,i=48,r=2*Math.PI){super(),this.type="TorusGeometry",this.parameters={radius:t,tube:e,radialSegments:n,tubularSegments:i,arc:r},n=Math.floor(n),i=Math.floor(i);const s=[],a=[],o=[],l=[],c=new gn,h=new gn,u=new gn;for(let s=0;s<=n;s++)for(let d=0;d<=i;d++){const p=d/i*r,m=s/n*Math.PI*2;h.x=(t+e*Math.cos(m))*Math.cos(p),h.y=(t+e*Math.cos(m))*Math.sin(p),h.z=e*Math.sin(m),a.push(h.x,h.y,h.z),c.x=t*Math.cos(p),c.y=t*Math.sin(p),u.subVectors(h,c).normalize(),o.push(u.x,u.y,u.z),l.push(d/i),l.push(s/n)}for(let t=1;t<=n;t++)for(let e=1;e<=i;e++){const n=(i+1)*t+e-1,r=(i+1)*(t-1)+e-1,a=(i+1)*(t-1)+e,o=(i+1)*t+e;s.push(n,r,o),s.push(r,a,o)}this.setIndex(s),this.setAttribute("position",new Zi(a,3)),this.setAttribute("normal",new Zi(o,3)),this.setAttribute("uv",new Zi(l,2))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new eh(t.radius,t.tube,t.radialSegments,t.tubularSegments,t.arc)}}class nh extends ir{constructor(t=1,e=.4,n=64,i=8,r=2,s=3){super(),this.type="TorusKnotGeometry",this.parameters={radius:t,tube:e,tubularSegments:n,radialSegments:i,p:r,q:s},n=Math.floor(n),i=Math.floor(i);const a=[],o=[],l=[],c=[],h=new gn,u=new gn,d=new gn,p=new gn,m=new gn,f=new gn,g=new gn;for(let a=0;a<=n;++a){const _=a/n*r*Math.PI*2;v(_,r,s,t,d),v(_+.01,r,s,t,p),f.subVectors(p,d),g.addVectors(p,d),m.crossVectors(f,g),g.crossVectors(m,f),m.normalize(),g.normalize();for(let t=0;t<=i;++t){const r=t/i*Math.PI*2,s=-e*Math.cos(r),p=e*Math.sin(r);h.x=d.x+(s*g.x+p*m.x),h.y=d.y+(s*g.y+p*m.y),h.z=d.z+(s*g.z+p*m.z),o.push(h.x,h.y,h.z),u.subVectors(h,d).normalize(),l.push(u.x,u.y,u.z),c.push(a/n),c.push(t/i)}}for(let t=1;t<=n;t++)for(let e=1;e<=i;e++){const n=(i+1)*(t-1)+(e-1),r=(i+1)*t+(e-1),s=(i+1)*t+e,o=(i+1)*(t-1)+e;a.push(n,r,o),a.push(r,s,o)}function v(t,e,n,i,r){const s=Math.cos(t),a=Math.sin(t),o=n/e*t,l=Math.cos(o);r.x=i*(2+l)*.5*s,r.y=i*(2+l)*a*.5,r.z=i*Math.sin(o)*.5}this.setIndex(a),this.setAttribute("position",new Zi(o,3)),this.setAttribute("normal",new Zi(l,3)),this.setAttribute("uv",new Zi(c,2))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new nh(t.radius,t.tube,t.tubularSegments,t.radialSegments,t.p,t.q)}}class ih extends ir{constructor(t=new ec(new gn(-1,-1,0),new gn(-1,1,0),new gn(1,1,0)),e=64,n=1,i=8,r=!1){super(),this.type="TubeGeometry",this.parameters={path:t,tubularSegments:e,radius:n,radialSegments:i,closed:r};const s=t.computeFrenetFrames(e,r);this.tangents=s.tangents,this.normals=s.normals,this.binormals=s.binormals;const a=new gn,o=new gn,l=new We;let c=new gn;const h=[],u=[],d=[],p=[];function m(r){c=t.getPointAt(r/e,c);const l=s.normals[r],d=s.binormals[r];for(let t=0;t<=i;t++){const e=t/i*Math.PI*2,r=Math.sin(e),s=-Math.cos(e);o.x=s*l.x+r*d.x,o.y=s*l.y+r*d.y,o.z=s*l.z+r*d.z,o.normalize(),u.push(o.x,o.y,o.z),a.x=c.x+n*o.x,a.y=c.y+n*o.y,a.z=c.z+n*o.z,h.push(a.x,a.y,a.z)}}!function(){for(let t=0;t<e;t++)m(t);m(!1===r?e:0),function(){for(let t=0;t<=e;t++)for(let n=0;n<=i;n++)l.x=t/e,l.y=n/i,d.push(l.x,l.y)}(),function(){for(let t=1;t<=e;t++)for(let e=1;e<=i;e++){const n=(i+1)*(t-1)+(e-1),r=(i+1)*t+(e-1),s=(i+1)*t+e,a=(i+1)*(t-1)+e;p.push(n,r,a),p.push(r,s,a)}}()}(),this.setIndex(p),this.setAttribute("position",new Zi(h,3)),this.setAttribute("normal",new Zi(u,3)),this.setAttribute("uv",new Zi(d,2))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}toJSON(){const t=super.toJSON();return t.path=this.parameters.path.toJSON(),t}static fromJSON(t){return new ih(new ic[t.path.type]().fromJSON(t.path),t.tubularSegments,t.radius,t.radialSegments,t.closed)}}class rh extends ir{constructor(t=null){if(super(),this.type="WireframeGeometry",this.parameters={geometry:t},null!==t){const e=[],n=new Set,i=new gn,r=new gn;if(null!==t.index){const s=t.attributes.position,a=t.index;let o=t.groups;0===o.length&&(o=[{start:0,count:a.count,materialIndex:0}]);for(let t=0,l=o.length;t<l;++t){const l=o[t],c=l.start;for(let t=c,o=c+l.count;t<o;t+=3)for(let o=0;o<3;o++){const l=a.getX(t+o),c=a.getX(t+(o+1)%3);i.fromBufferAttribute(s,l),r.fromBufferAttribute(s,c),!0===sh(i,r,n)&&(e.push(i.x,i.y,i.z),e.push(r.x,r.y,r.z))}}}else{const s=t.attributes.position;for(let t=0,a=s.count/3;t<a;t++)for(let a=0;a<3;a++){const o=3*t+a,l=3*t+(a+1)%3;i.fromBufferAttribute(s,o),r.fromBufferAttribute(s,l),!0===sh(i,r,n)&&(e.push(i.x,i.y,i.z),e.push(r.x,r.y,r.z))}}this.setAttribute("position",new Zi(e,3))}}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}}function sh(t,e,n){const i=`${t.x},${t.y},${t.z}-${e.x},${e.y},${e.z}`,r=`${e.x},${e.y},${e.z}-${t.x},${t.y},${t.z}`;return!0!==n.has(i)&&!0!==n.has(r)&&(n.add(i),n.add(r),!0)}var ah=Object.freeze({__proto__:null,BoxGeometry:br,CapsuleGeometry:oc,CircleGeometry:lc,ConeGeometry:hc,CylinderGeometry:cc,DodecahedronGeometry:dc,EdgesGeometry:vc,ExtrudeGeometry:Xc,IcosahedronGeometry:Zc,LatheGeometry:ac,OctahedronGeometry:Jc,PlaneGeometry:Wr,PolyhedronGeometry:uc,RingGeometry:Kc,ShapeGeometry:$c,SphereGeometry:Qc,TetrahedronGeometry:th,TorusGeometry:eh,TorusKnotGeometry:nh,TubeGeometry:ih,WireframeGeometry:rh});class oh extends Ri{constructor(t){super(),this.isShadowMaterial=!0,this.type="ShadowMaterial",this.color=new Oi(0),this.transparent=!0,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.fog=t.fog,this}}class lh extends Cr{constructor(t){super(t),this.isRawShaderMaterial=!0,this.type="RawShaderMaterial"}}class ch extends Ri{constructor(t){super(),this.isMeshStandardMaterial=!0,this.defines={STANDARD:""},this.type="MeshStandardMaterial",this.color=new Oi(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 Oi(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=ye,this.normalScale=new We(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.roughnessMap=null,this.metalnessMap=null,this.alphaMap=null,this.envMap=null,this.envMapIntensity=1,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.defines={STANDARD:""},this.color.copy(t.color),this.roughness=t.roughness,this.metalness=t.metalness,this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.emissive.copy(t.emissive),this.emissiveMap=t.emissiveMap,this.emissiveIntensity=t.emissiveIntensity,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.roughnessMap=t.roughnessMap,this.metalnessMap=t.metalnessMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.envMapIntensity=t.envMapIntensity,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.flatShading=t.flatShading,this.fog=t.fog,this}}class hh extends ch{constructor(t){super(),this.isMeshPhysicalMaterial=!0,this.defines={STANDARD:"",PHYSICAL:""},this.type="MeshPhysicalMaterial",this.clearcoatMap=null,this.clearcoatRoughness=0,this.clearcoatRoughnessMap=null,this.clearcoatNormalScale=new We(1,1),this.clearcoatNormalMap=null,this.ior=1.5,Object.defineProperty(this,"reflectivity",{get:function(){return Ne(2.5*(this.ior-1)/(this.ior+1),0,1)},set:function(t){this.ior=(1+.4*t)/(1-.4*t)}}),this.iridescenceMap=null,this.iridescenceIOR=1.3,this.iridescenceThicknessRange=[100,400],this.iridescenceThicknessMap=null,this.sheenColor=new Oi(0),this.sheenColorMap=null,this.sheenRoughness=1,this.sheenRoughnessMap=null,this.transmissionMap=null,this.thickness=0,this.thicknessMap=null,this.attenuationDistance=1/0,this.attenuationColor=new Oi(1,1,1),this.specularIntensity=1,this.specularIntensityMap=null,this.specularColor=new Oi(1,1,1),this.specularColorMap=null,this._sheen=0,this._clearcoat=0,this._iridescence=0,this._transmission=0,this.setValues(t)}get sheen(){return this._sheen}set sheen(t){this._sheen>0!=t>0&&this.version++,this._sheen=t}get clearcoat(){return this._clearcoat}set clearcoat(t){this._clearcoat>0!=t>0&&this.version++,this._clearcoat=t}get iridescence(){return this._iridescence}set iridescence(t){this._iridescence>0!=t>0&&this.version++,this._iridescence=t}get transmission(){return this._transmission}set transmission(t){this._transmission>0!=t>0&&this.version++,this._transmission=t}copy(t){return super.copy(t),this.defines={STANDARD:"",PHYSICAL:""},this.clearcoat=t.clearcoat,this.clearcoatMap=t.clearcoatMap,this.clearcoatRoughness=t.clearcoatRoughness,this.clearcoatRoughnessMap=t.clearcoatRoughnessMap,this.clearcoatNormalMap=t.clearcoatNormalMap,this.clearcoatNormalScale.copy(t.clearcoatNormalScale),this.ior=t.ior,this.iridescence=t.iridescence,this.iridescenceMap=t.iridescenceMap,this.iridescenceIOR=t.iridescenceIOR,this.iridescenceThicknessRange=[...t.iridescenceThicknessRange],this.iridescenceThicknessMap=t.iridescenceThicknessMap,this.sheen=t.sheen,this.sheenColor.copy(t.sheenColor),this.sheenColorMap=t.sheenColorMap,this.sheenRoughness=t.sheenRoughness,this.sheenRoughnessMap=t.sheenRoughnessMap,this.transmission=t.transmission,this.transmissionMap=t.transmissionMap,this.thickness=t.thickness,this.thicknessMap=t.thicknessMap,this.attenuationDistance=t.attenuationDistance,this.attenuationColor.copy(t.attenuationColor),this.specularIntensity=t.specularIntensity,this.specularIntensityMap=t.specularIntensityMap,this.specularColor.copy(t.specularColor),this.specularColorMap=t.specularColorMap,this}}class uh extends Ri{constructor(t){super(),this.isMeshPhongMaterial=!0,this.type="MeshPhongMaterial",this.color=new Oi(16777215),this.specular=new Oi(1118481),this.shininess=30,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new Oi(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=ye,this.normalScale=new We(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=G,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.specular.copy(t.specular),this.shininess=t.shininess,this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.emissive.copy(t.emissive),this.emissiveMap=t.emissiveMap,this.emissiveIntensity=t.emissiveIntensity,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.specularMap=t.specularMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.combine=t.combine,this.reflectivity=t.reflectivity,this.refractionRatio=t.refractionRatio,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.flatShading=t.flatShading,this.fog=t.fog,this}}class dh extends Ri{constructor(t){super(),this.isMeshToonMaterial=!0,this.defines={TOON:""},this.type="MeshToonMaterial",this.color=new Oi(16777215),this.map=null,this.gradientMap=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new Oi(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=ye,this.normalScale=new We(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.gradientMap=t.gradientMap,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.emissive.copy(t.emissive),this.emissiveMap=t.emissiveMap,this.emissiveIntensity=t.emissiveIntensity,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.alphaMap=t.alphaMap,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.fog=t.fog,this}}class ph extends Ri{constructor(t){super(),this.isMeshNormalMaterial=!0,this.type="MeshNormalMaterial",this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=ye,this.normalScale=new We(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.flatShading=!1,this.setValues(t)}copy(t){return super.copy(t),this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.flatShading=t.flatShading,this}}class mh extends Ri{constructor(t){super(),this.isMeshLambertMaterial=!0,this.type="MeshLambertMaterial",this.color=new Oi(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new Oi(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=ye,this.normalScale=new We(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=G,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.emissive.copy(t.emissive),this.emissiveMap=t.emissiveMap,this.emissiveIntensity=t.emissiveIntensity,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.specularMap=t.specularMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.combine=t.combine,this.reflectivity=t.reflectivity,this.refractionRatio=t.refractionRatio,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.flatShading=t.flatShading,this.fog=t.fog,this}}
vendor: 14,347 bytes, line 3856
3856class fh extends Ri{constructor(t){super(),this.isMeshMatcapMaterial=!0,this.defines={MATCAP:""},this.type="MeshMatcapMaterial",this.color=new Oi(16777215),this.matcap=null,this.map=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=ye,this.normalScale=new We(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.flatShading=!1,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.defines={MATCAP:""},this.color.copy(t.color),this.matcap=t.matcap,this.map=t.map,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.alphaMap=t.alphaMap,this.flatShading=t.flatShading,this.fog=t.fog,this}}class gh extends xl{constructor(t){super(),this.isLineDashedMaterial=!0,this.type="LineDashedMaterial",this.scale=1,this.dashSize=3,this.gapSize=1,this.setValues(t)}copy(t){return super.copy(t),this.scale=t.scale,this.dashSize=t.dashSize,this.gapSize=t.gapSize,this}}function vh(t,e,n){return xh(t)?new t.constructor(t.subarray(e,void 0!==n?n:t.length)):t.slice(e,n)}function _h(t,e,n){return!t||!n&&t.constructor===e?t:"number"==typeof e.BYTES_PER_ELEMENT?new e(t):Array.prototype.slice.call(t)}function xh(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function yh(t){const e=t.length,n=new Array(e);for(let t=0;t!==e;++t)n[t]=t;return n.sort(function(e,n){return t[e]-t[n]}),n}function Mh(t,e,n){const i=t.length,r=new t.constructor(i);for(let s=0,a=0;a!==i;++s){const i=n[s]*e;for(let n=0;n!==e;++n)r[a++]=t[i+n]}return r}function Sh(t,e,n,i){let r=1,s=t[0];for(;void 0!==s&&void 0===s[i];)s=t[r++];if(void 0===s)return;let a=s[i];if(void 0!==a)if(Array.isArray(a))do{a=s[i],void 0!==a&&(e.push(s.time),n.push.apply(n,a)),s=t[r++]}while(void 0!==s);else if(void 0!==a.toArray)do{a=s[i],void 0!==a&&(e.push(s.time),a.toArray(n,n.length)),s=t[r++]}while(void 0!==s);else do{a=s[i],void 0!==a&&(e.push(s.time),n.push(a)),s=t[r++]}while(void 0!==s)}const bh={arraySlice:vh,convertArray:_h,isTypedArray:xh,getKeyframeOrder:yh,sortedArray:Mh,flattenJSON:Sh,subclip:function(t,e,n,i,r=30){const s=t.clone();s.name=e;const a=[];for(let t=0;t<s.tracks.length;++t){const e=s.tracks[t],o=e.getValueSize(),l=[],c=[];for(let t=0;t<e.times.length;++t){const s=e.times[t]*r;if(!(s<n||s>=i)){l.push(e.times[t]);for(let n=0;n<o;++n)c.push(e.values[t*o+n])}}0!==l.length&&(e.times=_h(l,e.times.constructor),e.values=_h(c,e.values.constructor),a.push(e))}s.tracks=a;let o=1/0;for(let t=0;t<s.tracks.length;++t)o>s.tracks[t].times[0]&&(o=s.tracks[t].times[0]);for(let t=0;t<s.tracks.length;++t)s.tracks[t].shift(-1*o);return s.resetDuration(),s},makeClipAdditive:function(t,e=0,n=t,i=30){i<=0&&(i=30);const r=n.tracks.length,s=e/i;for(let e=0;e<r;++e){const i=n.tracks[e],r=i.ValueTypeName;if("bool"===r||"string"===r)continue;const a=t.tracks.find(function(t){return t.name===i.name&&t.ValueTypeName===r});if(void 0===a)continue;let o=0;const l=i.getValueSize();i.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline&&(o=l/3);let c=0;const h=a.getValueSize();a.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline&&(c=h/3);const u=i.times.length-1;let d;if(s<=i.times[0]){const t=o,e=l-o;d=vh(i.values,t,e)}else if(s>=i.times[u]){const t=u*l+o,e=t+l-o;d=vh(i.values,t,e)}else{const t=i.createInterpolant(),e=o,n=l-o;t.evaluate(s),d=vh(t.resultBuffer,e,n)}if("quaternion"===r){new fn().fromArray(d).normalize().conjugate().toArray(d)}const p=a.times.length;for(let t=0;t<p;++t){const e=t*h+c;if("quaternion"===r)fn.multiplyQuaternionsFlat(a.values,e,d,0,a.values,e);else{const t=h-2*c;for(let n=0;n<t;++n)a.values[e+n]-=d[n]}}}return t.blendMode=ge,t}};class wh{constructor(t,e,n,i){this.parameterPositions=t,this._cachedIndex=0,this.resultBuffer=void 0!==i?i:new e.constructor(n),this.sampleValues=e,this.valueSize=n,this.settings=null,this.DefaultSettings_={}}evaluate(t){const e=this.parameterPositions;let n=this._cachedIndex,i=e[n],r=e[n-1];t:{e:{let s;n:{i:if(!(t<i)){for(let s=n+2;;){if(void 0===i){if(t<r)break i;return n=e.length,this._cachedIndex=n,this.copySampleValue_(n-1)}if(n===s)break;if(r=i,i=e[++n],t<i)break e}s=e.length;break n}if(t>=r)break t;{const a=e[1];t<a&&(n=2,r=a);for(let s=n-2;;){if(void 0===r)return this._cachedIndex=0,this.copySampleValue_(0);if(n===s)break;if(i=r,r=e[--n-1],t>=r)break e}s=n,n=0}}for(;n<s;){const i=n+s>>>1;t<e[i]?s=i:n=i+1}if(i=e[n],r=e[n-1],void 0===r)return this._cachedIndex=0,this.copySampleValue_(0);if(void 0===i)return n=e.length,this._cachedIndex=n,this.copySampleValue_(n-1)}this._cachedIndex=n,this.intervalChanged_(n,r,i)}return this.interpolate_(n,r,t,i)}getSettings_(){return this.settings||this.DefaultSettings_}copySampleValue_(t){const e=this.resultBuffer,n=this.sampleValues,i=this.valueSize,r=t*i;for(let t=0;t!==i;++t)e[t]=n[r+t];return e}interpolate_(){throw new Error("call to abstract method")}intervalChanged_(){}}class Th extends wh{constructor(t,e,n,i){super(t,e,n,i),this._weightPrev=-0,this._offsetPrev=-0,this._weightNext=-0,this._offsetNext=-0,this.DefaultSettings_={endingStart:de,endingEnd:de}}intervalChanged_(t,e,n){const i=this.parameterPositions;let r=t-2,s=t+1,a=i[r],o=i[s];if(void 0===a)switch(this.getSettings_().endingStart){case pe:r=t,a=2*e-n;break;case me:r=i.length-2,a=e+i[r]-i[r+1];break;default:r=t,a=n;}if(void 0===o)switch(this.getSettings_().endingEnd){case pe:s=t,o=2*n-e;break;case me:s=1,o=n+i[1]-i[0];break;default:s=t-1,o=e;}const l=.5*(n-e),c=this.valueSize;this._weightPrev=l/(e-a),this._weightNext=l/(o-n),this._offsetPrev=r*c,this._offsetNext=s*c}interpolate_(t,e,n,i){const r=this.resultBuffer,s=this.sampleValues,a=this.valueSize,o=t*a,l=o-a,c=this._offsetPrev,h=this._offsetNext,u=this._weightPrev,d=this._weightNext,p=(n-e)/(i-e),m=p*p,f=m*p,g=-u*f+2*u*m-u*p,v=(1+u)*f+(-1.5-2*u)*m+(-.5+u)*p+1,_=(-1-d)*f+(1.5+d)*m+.5*p,x=d*f-d*m;for(let t=0;t!==a;++t)r[t]=g*s[c+t]+v*s[l+t]+_*s[o+t]+x*s[h+t];return r}}class Eh extends wh{constructor(t,e,n,i){super(t,e,n,i)}interpolate_(t,e,n,i){const r=this.resultBuffer,s=this.sampleValues,a=this.valueSize,o=t*a,l=o-a,c=(n-e)/(i-e),h=1-c;for(let t=0;t!==a;++t)r[t]=s[l+t]*h+s[o+t]*c;return r}}class Ah extends wh{constructor(t,e,n,i){super(t,e,n,i)}interpolate_(t){return this.copySampleValue_(t-1)}}class Ch{constructor(t,e,n,i){if(void 0===t)throw new Error("THREE.KeyframeTrack: track name is undefined");if(void 0===e||0===e.length)throw new Error("THREE.KeyframeTrack: no keyframes in track named "+t);this.name=t,this.times=_h(e,this.TimeBufferType),this.values=_h(n,this.ValueBufferType),this.setInterpolation(i||this.DefaultInterpolation)}static toJSON(t){const e=t.constructor;let n;if(e.toJSON!==this.toJSON)n=e.toJSON(t);else{n={name:t.name,times:_h(t.times,Array),values:_h(t.values,Array)};const e=t.getInterpolation();e!==t.DefaultInterpolation&&(n.interpolation=e)}return n.type=t.ValueTypeName,n}InterpolantFactoryMethodDiscrete(t){return new Ah(this.times,this.values,this.getValueSize(),t)}InterpolantFactoryMethodLinear(t){return new Eh(this.times,this.values,this.getValueSize(),t)}InterpolantFactoryMethodSmooth(t){return new Th(this.times,this.values,this.getValueSize(),t)}setInterpolation(t){let e;switch(t){case ce:e=this.InterpolantFactoryMethodDiscrete;break;case he:e=this.InterpolantFactoryMethodLinear;break;case ue:e=this.InterpolantFactoryMethodSmooth;}if(void 0===e){const e="unsupported interpolation for "+this.ValueTypeName+" keyframe track named "+this.name;if(void 0===this.createInterpolant){if(t===this.DefaultInterpolation)throw new Error(e);this.setInterpolation(this.DefaultInterpolation)}return console.warn("THREE.KeyframeTrack:",e),this}return this.createInterpolant=e,this}getInterpolation(){switch(this.createInterpolant){case this.InterpolantFactoryMethodDiscrete:return ce;case this.InterpolantFactoryMethodLinear:return he;case this.InterpolantFactoryMethodSmooth:return ue;}}getValueSize(){return this.values.length/this.times.length}shift(t){if(0!==t){const e=this.times;for(let n=0,i=e.length;n!==i;++n)e[n]+=t}return this}scale(t){if(1!==t){const e=this.times;for(let n=0,i=e.length;n!==i;++n)e[n]*=t}return this}trim(t,e){const n=this.times,i=n.length;let r=0,s=i-1;for(;r!==i&&n[r]<t;)++r;for(;-1!==s&&n[s]>e;)--s;if(++s,0!==r||s!==i){r>=s&&(s=Math.max(s,1),r=s-1);const t=this.getValueSize();this.times=vh(n,r,s),this.values=vh(this.values,r*t,s*t)}return this}validate(){let t=!0;const e=this.getValueSize();e-Math.floor(e)!=0&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),t=!1);const n=this.times,i=this.values,r=n.length;0===r&&(console.error("THREE.KeyframeTrack: Track is empty.",this),t=!1);let s=null;for(let e=0;e!==r;e++){const i=n[e];if("number"==typeof i&&isNaN(i)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,e,i),t=!1;break}if(null!==s&&s>i){console.error("THREE.KeyframeTrack: Out of order keys.",this,e,i,s),t=!1;break}s=i}if(void 0!==i&&xh(i))for(let e=0,n=i.length;e!==n;++e){const n=i[e];if(isNaN(n)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,e,n),t=!1;break}}return t}optimize(){const t=vh(this.times),e=vh(this.values),n=this.getValueSize(),i=this.getInterpolation()===ue,r=t.length-1;let s=1;for(let a=1;a<r;++a){let r=!1;const o=t[a];if(o!==t[a+1]&&(1!==a||o!==t[0]))if(i)r=!0;else{const t=a*n,i=t-n,s=t+n;for(let a=0;a!==n;++a){const n=e[t+a];if(n!==e[i+a]||n!==e[s+a]){r=!0;break}}}if(r){if(a!==s){t[s]=t[a];const i=a*n,r=s*n;for(let t=0;t!==n;++t)e[r+t]=e[i+t]}++s}}if(r>0){t[s]=t[r];for(let t=r*n,i=s*n,a=0;a!==n;++a)e[i+a]=e[t+a];++s}return s!==t.length?(this.times=vh(t,0,s),this.values=vh(e,0,s*n)):(this.times=t,this.values=e),this}clone(){const t=vh(this.times,0),e=vh(this.values,0),n=new(0,this.constructor)(this.name,t,e);return n.createInterpolant=this.createInterpolant,n}}Ch.prototype.TimeBufferType=Float32Array,Ch.prototype.ValueBufferType=Float32Array,Ch.prototype.DefaultInterpolation=he;class Lh extends Ch{}Lh.prototype.ValueTypeName="bool",Lh.prototype.ValueBufferType=Array,Lh.prototype.DefaultInterpolation=ce,Lh.prototype.InterpolantFactoryMethodLinear=void 0,Lh.prototype.InterpolantFactoryMethodSmooth=void 0;class Ph extends Ch{}Ph.prototype.ValueTypeName="color";class Rh extends Ch{}Rh.prototype.ValueTypeName="number";class Ih extends wh{constructor(t,e,n,i){super(t,e,n,i)}interpolate_(t,e,n,i){const r=this.resultBuffer,s=this.sampleValues,a=this.valueSize,o=(n-e)/(i-e);let l=t*a;for(let t=l+a;l!==t;l+=4)fn.slerpFlat(r,0,s,l-a,s,l,o);return r}}class Dh extends Ch{InterpolantFactoryMethodLinear(t){return new Ih(this.times,this.values,this.getValueSize(),t)}}Dh.prototype.ValueTypeName="quaternion",Dh.prototype.DefaultInterpolation=he,Dh.prototype.InterpolantFactoryMethodSmooth=void 0;class Uh extends Ch{}Uh.prototype.ValueTypeName="string",Uh.prototype.ValueBufferType=Array,Uh.prototype.DefaultInterpolation=ce,Uh.prototype.InterpolantFactoryMethodLinear=void 0,Uh.prototype.InterpolantFactoryMethodSmooth=void 0;class Nh extends Ch{}Nh.prototype.ValueTypeName="vector";class Oh{constructor(t,e=-1,n,i=2500){this.name=t,this.tracks=n,this.duration=e,this.blendMode=i,this.uuid=Ue(),this.duration<0&&this.resetDuration()}static parse(t){const e=[],n=t.tracks,i=1/(t.fps||1);for(let t=0,r=n.length;t!==r;++t)e.push(zh(n[t]).scale(i));const r=new this(t.name,t.duration,e,t.blendMode);return r.uuid=t.uuid,r}static toJSON(t){const e=[],n=t.tracks,i={name:t.name,duration:t.duration,tracks:e,uuid:t.uuid,blendMode:t.blendMode};for(let t=0,i=n.length;t!==i;++t)e.push(Ch.toJSON(n[t]));return i}static CreateFromMorphTargetSequence(t,e,n,i){const r=e.length,s=[];for(let t=0;t<r;t++){let a=[],o=[];a.push((t+r-1)%r,t,(t+1)%r),o.push(0,1,0);const l=yh(a);a=Mh(a,1,l),o=Mh(o,1,l),i||0!==a[0]||(a.push(r),o.push(o[0])),s.push(new Rh(".morphTargetInfluences["+e[t].name+"]",a,o).scale(1/n))}return new this(t,-1,s)}static findByName(t,e){let n=t;if(!Array.isArray(t)){const e=t;n=e.geometry&&e.geometry.animations||e.animations}for(let t=0;t<n.length;t++)if(n[t].name===e)return n[t];return null}static CreateClipsFromMorphTargetSequences(t,e,n){const i={},r=/^([\w-]*?)([\d]+)$/;for(let e=0,n=t.length;e<n;e++){const n=t[e],s=n.name.match(r);if(s&&s.length>1){const t=s[1];let e=i[t];e||(i[t]=e=[]),e.push(n)}}const s=[];for(const t in i)s.push(this.CreateFromMorphTargetSequence(t,i[t],e,n));return s}static parseAnimation(t,e){if(!t)return console.error("THREE.AnimationClip: No animation in JSONLoader data."),null;const n=function(t,e,n,i,r){if(0!==n.length){const s=[],a=[];Sh(n,s,a,i),0!==s.length&&r.push(new t(e,s,a))}},i=[],r=t.name||"default",s=t.fps||30,a=t.blendMode;let o=t.length||-1;const l=t.hierarchy||[];for(let t=0;t<l.length;t++){const r=l[t].keys;if(r&&0!==r.length)if(r[0].morphTargets){const t={};let e;for(e=0;e<r.length;e++)if(r[e].morphTargets)for(let n=0;n<r[e].morphTargets.length;n++)t[r[e].morphTargets[n]]=-1;for(const n in t){const t=[],s=[];for(let i=0;i!==r[e].morphTargets.length;++i){const i=r[e];t.push(i.time),s.push(i.morphTarget===n?1:0)}i.push(new Rh(".morphTargetInfluence["+n+"]",t,s))}o=t.length*s}else{const s=".bones["+e[t].name+"]";n(Nh,s+".position",r,"pos",i),n(Dh,s+".quaternion",r,"rot",i),n(Nh,s+".scale",r,"scl",i)}}if(0===i.length)return null;return new this(r,o,i,a)}resetDuration(){let t=0;for(let e=0,n=this.tracks.length;e!==n;++e){const n=this.tracks[e];t=Math.max(t,n.times[n.times.length-1])}return this.duration=t,this}trim(){for(let t=0;t<this.tracks.length;t++)this.tracks[t].trim(0,this.duration);return this}validate(){let t=!0;for(let e=0;e<this.tracks.length;e++)t=t&&this.tracks[e].validate();return t}optimize(){for(let t=0;t<this.tracks.length;t++)this.tracks[t].optimize();return this}clone(){const t=[];for(let e=0;e<this.tracks.length;e++)t.push(this.tracks[e].clone());return new this.constructor(this.name,this.duration,t,this.blendMode)}toJSON(){return this.constructor.toJSON(this)}}function zh(t){if(void 0===t.type)throw new Error("THREE.KeyframeTrack: track type undefined, can not parse");const e=function(t){switch(t.toLowerCase()){case"scalar":case"double":case"float":case"number":case"integer":return Rh;
vendor: 8,160 bytes, line 3856
3856case"vector":case"vector2":case"vector3":case"vector4":return Nh;case"color":return Ph;case"quaternion":return Dh;case"bool":case"boolean":return Lh;case"string":return Uh;}throw new Error("THREE.KeyframeTrack: Unsupported typeName: "+t)}(t.type);if(void 0===t.times){const e=[],n=[];Sh(t.keys,e,n,"value"),t.times=e,t.values=n}return void 0!==e.parse?e.parse(t):new e(t.name,t.times,t.values,t.interpolation)}const Bh={enabled:!1,files:{},add:function(t,e){!1!==this.enabled&&(this.files[t]=e)},get:function(t){if(!1!==this.enabled)return this.files[t]},remove:function(t){delete this.files[t]},clear:function(){this.files={}}};class Fh{constructor(t,e,n){const i=this;let r,s=!1,a=0,o=0;const l=[];this.onStart=void 0,this.onLoad=t,this.onProgress=e,this.onError=n,this.itemStart=function(t){o++,!1===s&&void 0!==i.onStart&&i.onStart(t,a,o),s=!0},this.itemEnd=function(t){a++,void 0!==i.onProgress&&i.onProgress(t,a,o),a===o&&(s=!1,void 0!==i.onLoad&&i.onLoad())},this.itemError=function(t){void 0!==i.onError&&i.onError(t)},this.resolveURL=function(t){return r?r(t):t},this.setURLModifier=function(t){return r=t,this},this.addHandler=function(t,e){return l.push(t,e),this},this.removeHandler=function(t){const e=l.indexOf(t);return-1!==e&&l.splice(e,2),this},this.getHandler=function(t){for(let e=0,n=l.length;e<n;e+=2){const n=l[e],i=l[e+1];if(n.global&&(n.lastIndex=0),n.test(t))return i}return null}}}const kh=new Fh;class Gh{constructor(t){this.manager=void 0!==t?t:kh,this.crossOrigin="anonymous",this.withCredentials=!1,this.path="",this.resourcePath="",this.requestHeader={}}load(){}loadAsync(t,e){const n=this;return new Promise(function(i,r){n.load(t,i,e,r)})}parse(){}setCrossOrigin(t){return this.crossOrigin=t,this}setWithCredentials(t){return this.withCredentials=t,this}setPath(t){return this.path=t,this}setResourcePath(t){return this.resourcePath=t,this}setRequestHeader(t){return this.requestHeader=t,this}}const Vh={};class Hh extends Error{constructor(t,e){super(t),this.response=e}}class Wh extends Gh{constructor(t){super(t)}load(t,e,n,i){void 0===t&&(t=""),void 0!==this.path&&(t=this.path+t),t=this.manager.resolveURL(t);const r=Bh.get(t);if(void 0!==r)return this.manager.itemStart(t),setTimeout(()=>{e&&e(r),this.manager.itemEnd(t)},0),r;if(void 0!==Vh[t])return void Vh[t].push({onLoad:e,onProgress:n,onError:i});Vh[t]=[],Vh[t].push({onLoad:e,onProgress:n,onError:i});const s=new Request(t,{headers:new Headers(this.requestHeader),credentials:this.withCredentials?"include":"same-origin"}),a=this.mimeType,o=this.responseType;fetch(s).then(e=>{if(200===e.status||0===e.status){if(0===e.status&&console.warn("THREE.FileLoader: HTTP Status 0 received."),"undefined"==typeof ReadableStream||void 0===e.body||void 0===e.body.getReader)return e;const n=Vh[t],i=e.body.getReader(),r=e.headers.get("Content-Length")||e.headers.get("X-File-Size"),s=r?parseInt(r):0,a=0!==s;let o=0;const l=new ReadableStream({start(t){!function e(){i.read().then(({done:i,value:r})=>{if(i)t.close();else{o+=r.byteLength;const i=new ProgressEvent("progress",{lengthComputable:a,loaded:o,total:s});for(let t=0,e=n.length;t<e;t++){const e=n[t];e.onProgress&&e.onProgress(i)}t.enqueue(r),e()}})}()}});return new Response(l)}throw new Hh(`fetch for "${e.url}" responded with ${e.status}: ${e.statusText}`,e)}).then(t=>{switch(o){case"arraybuffer":return t.arrayBuffer();case"blob":return t.blob();case"document":return t.text().then(t=>new DOMParser().parseFromString(t,a));case"json":return t.json();default:if(void 0===a)return t.text();{const e=/charset="?([^;"\s]*)"?/i.exec(a),n=e&&e[1]?e[1].toLowerCase():void 0,i=new TextDecoder(n);return t.arrayBuffer().then(t=>i.decode(t))}}}).then(e=>{Bh.add(t,e);const n=Vh[t];delete Vh[t];for(let t=0,i=n.length;t<i;t++){const i=n[t];i.onLoad&&i.onLoad(e)}}).catch(e=>{const n=Vh[t];if(void 0===n)throw this.manager.itemError(t),e;delete Vh[t];for(let t=0,i=n.length;t<i;t++){const i=n[t];i.onError&&i.onError(e)}this.manager.itemError(t)}).finally(()=>{this.manager.itemEnd(t)}),this.manager.itemStart(t)}setResponseType(t){return this.responseType=t,this}setMimeType(t){return this.mimeType=t,this}}class jh extends Gh{constructor(t){super(t)}load(t,e,n,i){void 0!==this.path&&(t=this.path+t),t=this.manager.resolveURL(t);const r=this,s=Bh.get(t);if(void 0!==s)return r.manager.itemStart(t),setTimeout(function(){e&&e(s),r.manager.itemEnd(t)},0),s;const a=Je("img");function o(){c(),Bh.add(t,this),e&&e(this),r.manager.itemEnd(t)}function l(e){c(),i&&i(e),r.manager.itemError(t),r.manager.itemEnd(t)}function c(){a.removeEventListener("load",o,!1),a.removeEventListener("error",l,!1)}return a.addEventListener("load",o,!1),a.addEventListener("error",l,!1),"data:"!==t.slice(0,5)&&void 0!==this.crossOrigin&&(a.crossOrigin=this.crossOrigin),r.manager.itemStart(t),a.src=t,a}}class qh extends vi{constructor(t,e=1){super(),this.isLight=!0,this.type="Light",this.color=new Oi(t),this.intensity=e}dispose(){}copy(t,e){return super.copy(t,e),this.color.copy(t.color),this.intensity=t.intensity,this}toJSON(t){const e=super.toJSON(t);return e.object.color=this.color.getHex(),e.object.intensity=this.intensity,void 0!==this.groundColor&&(e.object.groundColor=this.groundColor.getHex()),void 0!==this.distance&&(e.object.distance=this.distance),void 0!==this.angle&&(e.object.angle=this.angle),void 0!==this.decay&&(e.object.decay=this.decay),void 0!==this.penumbra&&(e.object.penumbra=this.penumbra),void 0!==this.shadow&&(e.object.shadow=this.shadow.toJSON()),e}}class Xh extends qh{constructor(t,e,n){super(t,n),this.isHemisphereLight=!0,this.type="HemisphereLight",this.position.copy(vi.DEFAULT_UP),this.updateMatrix(),this.groundColor=new Oi(e)}copy(t,e){return super.copy(t,e),this.groundColor.copy(t.groundColor),this}}const Yh=new qn,Zh=new gn,Jh=new gn;class Kh{constructor(t){this.camera=t,this.bias=0,this.normalBias=0,this.radius=1,this.blurSamples=8,this.mapSize=new We(512,512),this.map=null,this.mapPass=null,this.matrix=new qn,this.autoUpdate=!0,this.needsUpdate=!1,this._frustum=new Gr,this._frameExtents=new We(1,1),this._viewportCount=1,this._viewports=[new un(0,0,1,1)]}getViewportCount(){return this._viewportCount}getFrustum(){return this._frustum}updateMatrices(t){const e=this.camera,n=this.matrix;Zh.setFromMatrixPosition(t.matrixWorld),e.position.copy(Zh),Jh.setFromMatrixPosition(t.target.matrixWorld),e.lookAt(Jh),e.updateMatrixWorld(),Yh.multiplyMatrices(e.projectionMatrix,e.matrixWorldInverse),this._frustum.setFromProjectionMatrix(Yh),n.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1),n.multiply(Yh)}getViewport(t){return this._viewports[t]}getFrameExtents(){return this._frameExtents}dispose(){this.map&&this.map.dispose(),this.mapPass&&this.mapPass.dispose()}copy(t){return this.camera=t.camera.clone(),this.bias=t.bias,this.radius=t.radius,this.mapSize.copy(t.mapSize),this}clone(){return new this.constructor().copy(this)}toJSON(){const t={};return 0!==this.bias&&(t.bias=this.bias),0!==this.normalBias&&(t.normalBias=this.normalBias),1!==this.radius&&(t.radius=this.radius),512===this.mapSize.x&&512===this.mapSize.y||(t.mapSize=this.mapSize.toArray()),t.camera=this.camera.toJSON(!1).object,delete t.camera.matrix,t}}class $h extends Kh{constructor(){super(new Pr(50,1,.5,500)),this.isSpotLightShadow=!0,this.focus=1}updateMatrices(t){const e=this.camera,n=2*De*t.angle*this.focus,i=this.mapSize.width/this.mapSize.height,r=t.distance||e.far;n===e.fov&&i===e.aspect&&r===e.far||(e.fov=n,e.aspect=i,e.far=r,e.updateProjectionMatrix()),super.updateMatrices(t)}copy(t){return super.copy(t),this.focus=t.focus,this}}class Qh extends qh{constructor(t,e,n=0,i=Math.PI/3,r=0,s=2){super(t,e),this.isSpotLight=!0,this.type="SpotLight",this.position.copy(vi.DEFAULT_UP),this.updateMatrix(),this.target=new vi,this.distance=n,this.angle=i,this.penumbra=r,this.decay=s,this.map=null,this.shadow=new $h}get power(){return this.intensity*Math.PI}set power(t){this.intensity=t/Math.PI}dispose(){this.shadow.dispose()}copy(t,e){return super.copy(t,e),this.distance=t.distance,this.angle=t.angle,this.penumbra=t.penumbra,this.decay=t.decay,this.target=t.target.clone(),this.shadow=t.shadow.clone(),this}}
vendor: 16,662 bytes, line 3856
3856const tu=new qn,eu=new gn,nu=new gn;class iu extends Kh{constructor(){super(new Pr(90,1,.5,500)),this.isPointLightShadow=!0,this._frameExtents=new We(4,2),this._viewportCount=6,this._viewports=[new un(2,1,1,1),new un(0,1,1,1),new un(3,1,1,1),new un(1,1,1,1),new un(3,0,1,1),new un(1,0,1,1)],this._cubeDirections=[new gn(1,0,0),new gn(-1,0,0),new gn(0,0,1),new gn(0,0,-1),new gn(0,1,0),new gn(0,-1,0)],this._cubeUps=[new gn(0,1,0),new gn(0,1,0),new gn(0,1,0),new gn(0,1,0),new gn(0,0,1),new gn(0,0,-1)]}updateMatrices(t,e=0){const n=this.camera,i=this.matrix,r=t.distance||n.far;r!==n.far&&(n.far=r,n.updateProjectionMatrix()),eu.setFromMatrixPosition(t.matrixWorld),n.position.copy(eu),nu.copy(n.position),nu.add(this._cubeDirections[e]),n.up.copy(this._cubeUps[e]),n.lookAt(nu),n.updateMatrixWorld(),i.makeTranslation(-eu.x,-eu.y,-eu.z),tu.multiplyMatrices(n.projectionMatrix,n.matrixWorldInverse),this._frustum.setFromProjectionMatrix(tu)}}class ru extends qh{constructor(t,e,n=0,i=2){super(t,e),this.isPointLight=!0,this.type="PointLight",this.distance=n,this.decay=i,this.shadow=new iu}get power(){return 4*this.intensity*Math.PI}set power(t){this.intensity=t/(4*Math.PI)}dispose(){this.shadow.dispose()}copy(t,e){return super.copy(t,e),this.distance=t.distance,this.decay=t.decay,this.shadow=t.shadow.clone(),this}}class su extends Kh{constructor(){super(new es(-5,5,5,-5,.5,500)),this.isDirectionalLightShadow=!0}}class au extends qh{constructor(t,e){super(t,e),this.isDirectionalLight=!0,this.type="DirectionalLight",this.position.copy(vi.DEFAULT_UP),this.updateMatrix(),this.target=new vi,this.shadow=new su}dispose(){this.shadow.dispose()}copy(t){return super.copy(t),this.target=t.target.clone(),this.shadow=t.shadow.clone(),this}}class ou extends qh{constructor(t,e){super(t,e),this.isAmbientLight=!0,this.type="AmbientLight"}}class lu extends qh{constructor(t,e,n=10,i=10){super(t,e),this.isRectAreaLight=!0,this.type="RectAreaLight",this.width=n,this.height=i}get power(){return this.intensity*this.width*this.height*Math.PI}set power(t){this.intensity=t/(this.width*this.height*Math.PI)}copy(t){return super.copy(t),this.width=t.width,this.height=t.height,this}toJSON(t){const e=super.toJSON(t);return e.object.width=this.width,e.object.height=this.height,e}}class cu{constructor(){this.isSphericalHarmonics3=!0,this.coefficients=[];for(let t=0;t<9;t++)this.coefficients.push(new gn)}set(t){for(let e=0;e<9;e++)this.coefficients[e].copy(t[e]);return this}zero(){for(let t=0;t<9;t++)this.coefficients[t].set(0,0,0);return this}getAt(t,e){const n=t.x,i=t.y,r=t.z,s=this.coefficients;return e.copy(s[0]).multiplyScalar(.282095),e.addScaledVector(s[1],.488603*i),e.addScaledVector(s[2],.488603*r),e.addScaledVector(s[3],.488603*n),e.addScaledVector(s[4],n*i*1.092548),e.addScaledVector(s[5],i*r*1.092548),e.addScaledVector(s[6],.315392*(3*r*r-1)),e.addScaledVector(s[7],n*r*1.092548),e.addScaledVector(s[8],.546274*(n*n-i*i)),e}getIrradianceAt(t,e){const n=t.x,i=t.y,r=t.z,s=this.coefficients;return e.copy(s[0]).multiplyScalar(.886227),e.addScaledVector(s[1],1.023328*i),e.addScaledVector(s[2],1.023328*r),e.addScaledVector(s[3],1.023328*n),e.addScaledVector(s[4],.858086*n*i),e.addScaledVector(s[5],.858086*i*r),e.addScaledVector(s[6],.743125*r*r-.247708),e.addScaledVector(s[7],.858086*n*r),e.addScaledVector(s[8],.429043*(n*n-i*i)),e}add(t){for(let e=0;e<9;e++)this.coefficients[e].add(t.coefficients[e]);return this}addScaledSH(t,e){for(let n=0;n<9;n++)this.coefficients[n].addScaledVector(t.coefficients[n],e);return this}scale(t){for(let e=0;e<9;e++)this.coefficients[e].multiplyScalar(t);return this}lerp(t,e){for(let n=0;n<9;n++)this.coefficients[n].lerp(t.coefficients[n],e);return this}equals(t){for(let e=0;e<9;e++)if(!this.coefficients[e].equals(t.coefficients[e]))return!1;return!0}copy(t){return this.set(t.coefficients)}clone(){return new this.constructor().copy(this)}fromArray(t,e=0){const n=this.coefficients;for(let i=0;i<9;i++)n[i].fromArray(t,e+3*i);return this}toArray(t=[],e=0){const n=this.coefficients;for(let i=0;i<9;i++)n[i].toArray(t,e+3*i);return t}static getBasisAt(t,e){const n=t.x,i=t.y,r=t.z;e[0]=.282095,e[1]=.488603*i,e[2]=.488603*r,e[3]=.488603*n,e[4]=1.092548*n*i,e[5]=1.092548*i*r,e[6]=.315392*(3*r*r-1),e[7]=1.092548*n*r,e[8]=.546274*(n*n-i*i)}}class hu extends qh{constructor(t=new cu,e=1){super(void 0,e),this.isLightProbe=!0,this.sh=t}copy(t){return super.copy(t),this.sh.copy(t.sh),this}fromJSON(t){return this.intensity=t.intensity,this.sh.fromArray(t.sh),this}toJSON(t){const e=super.toJSON(t);return e.object.sh=this.sh.toArray(),e}}class uu extends Gh{constructor(t){super(t),this.textures={}}load(t,e,n,i){const r=this,s=new Wh(r.manager);s.setPath(r.path),s.setRequestHeader(r.requestHeader),s.setWithCredentials(r.withCredentials),s.load(t,function(n){try{e(r.parse(JSON.parse(n)))}catch(e){i?i(e):console.error(e),r.manager.itemError(t)}},n,i)}parse(t){const e=this.textures;function n(t){return void 0===e[t]&&console.warn("THREE.MaterialLoader: Undefined texture",t),e[t]}const i=uu.createMaterialFromType(t.type);if(void 0!==t.uuid&&(i.uuid=t.uuid),void 0!==t.name&&(i.name=t.name),void 0!==t.color&&void 0!==i.color&&i.color.setHex(t.color),void 0!==t.roughness&&(i.roughness=t.roughness),void 0!==t.metalness&&(i.metalness=t.metalness),void 0!==t.sheen&&(i.sheen=t.sheen),void 0!==t.sheenColor&&(i.sheenColor=new Oi().setHex(t.sheenColor)),void 0!==t.sheenRoughness&&(i.sheenRoughness=t.sheenRoughness),void 0!==t.emissive&&void 0!==i.emissive&&i.emissive.setHex(t.emissive),void 0!==t.specular&&void 0!==i.specular&&i.specular.setHex(t.specular),void 0!==t.specularIntensity&&(i.specularIntensity=t.specularIntensity),void 0!==t.specularColor&&void 0!==i.specularColor&&i.specularColor.setHex(t.specularColor),void 0!==t.shininess&&(i.shininess=t.shininess),void 0!==t.clearcoat&&(i.clearcoat=t.clearcoat),void 0!==t.clearcoatRoughness&&(i.clearcoatRoughness=t.clearcoatRoughness),void 0!==t.iridescence&&(i.iridescence=t.iridescence),void 0!==t.iridescenceIOR&&(i.iridescenceIOR=t.iridescenceIOR),void 0!==t.iridescenceThicknessRange&&(i.iridescenceThicknessRange=t.iridescenceThicknessRange),void 0!==t.transmission&&(i.transmission=t.transmission),void 0!==t.thickness&&(i.thickness=t.thickness),void 0!==t.attenuationDistance&&(i.attenuationDistance=t.attenuationDistance),void 0!==t.attenuationColor&&void 0!==i.attenuationColor&&i.attenuationColor.setHex(t.attenuationColor),void 0!==t.fog&&(i.fog=t.fog),void 0!==t.flatShading&&(i.flatShading=t.flatShading),void 0!==t.blending&&(i.blending=t.blending),void 0!==t.combine&&(i.combine=t.combine),void 0!==t.side&&(i.side=t.side),void 0!==t.shadowSide&&(i.shadowSide=t.shadowSide),void 0!==t.opacity&&(i.opacity=t.opacity),void 0!==t.transparent&&(i.transparent=t.transparent),void 0!==t.alphaTest&&(i.alphaTest=t.alphaTest),void 0!==t.depthTest&&(i.depthTest=t.depthTest),void 0!==t.depthWrite&&(i.depthWrite=t.depthWrite),void 0!==t.colorWrite&&(i.colorWrite=t.colorWrite),void 0!==t.stencilWrite&&(i.stencilWrite=t.stencilWrite),void 0!==t.stencilWriteMask&&(i.stencilWriteMask=t.stencilWriteMask),void 0!==t.stencilFunc&&(i.stencilFunc=t.stencilFunc),void 0!==t.stencilRef&&(i.stencilRef=t.stencilRef),void 0!==t.stencilFuncMask&&(i.stencilFuncMask=t.stencilFuncMask),void 0!==t.stencilFail&&(i.stencilFail=t.stencilFail),void 0!==t.stencilZFail&&(i.stencilZFail=t.stencilZFail),void 0!==t.stencilZPass&&(i.stencilZPass=t.stencilZPass),void 0!==t.wireframe&&(i.wireframe=t.wireframe),void 0!==t.wireframeLinewidth&&(i.wireframeLinewidth=t.wireframeLinewidth),void 0!==t.wireframeLinecap&&(i.wireframeLinecap=t.wireframeLinecap),void 0!==t.wireframeLinejoin&&(i.wireframeLinejoin=t.wireframeLinejoin),void 0!==t.rotation&&(i.rotation=t.rotation),1!==t.linewidth&&(i.linewidth=t.linewidth),void 0!==t.dashSize&&(i.dashSize=t.dashSize),void 0!==t.gapSize&&(i.gapSize=t.gapSize),void 0!==t.scale&&(i.scale=t.scale),void 0!==t.polygonOffset&&(i.polygonOffset=t.polygonOffset),void 0!==t.polygonOffsetFactor&&(i.polygonOffsetFactor=t.polygonOffsetFactor),void 0!==t.polygonOffsetUnits&&(i.polygonOffsetUnits=t.polygonOffsetUnits),void 0!==t.dithering&&(i.dithering=t.dithering),void 0!==t.alphaToCoverage&&(i.alphaToCoverage=t.alphaToCoverage),void 0!==t.premultipliedAlpha&&(i.premultipliedAlpha=t.premultipliedAlpha),void 0!==t.forceSinglePass&&(i.forceSinglePass=t.forceSinglePass),void 0!==t.visible&&(i.visible=t.visible),void 0!==t.toneMapped&&(i.toneMapped=t.toneMapped),void 0!==t.userData&&(i.userData=t.userData),void 0!==t.vertexColors&&("number"==typeof t.vertexColors?i.vertexColors=t.vertexColors>0:i.vertexColors=t.vertexColors),void 0!==t.uniforms)for(const e in t.uniforms){const r=t.uniforms[e];switch(i.uniforms[e]={},r.type){case"t":i.uniforms[e].value=n(r.value);break;case"c":i.uniforms[e].value=new Oi().setHex(r.value);break;case"v2":i.uniforms[e].value=new We().fromArray(r.value);break;case"v3":i.uniforms[e].value=new gn().fromArray(r.value);break;case"v4":i.uniforms[e].value=new un().fromArray(r.value);break;case"m3":i.uniforms[e].value=new je().fromArray(r.value);break;case"m4":i.uniforms[e].value=new qn().fromArray(r.value);break;default:i.uniforms[e].value=r.value;}}if(void 0!==t.defines&&(i.defines=t.defines),void 0!==t.vertexShader&&(i.vertexShader=t.vertexShader),void 0!==t.fragmentShader&&(i.fragmentShader=t.fragmentShader),void 0!==t.glslVersion&&(i.glslVersion=t.glslVersion),void 0!==t.extensions)for(const e in t.extensions)i.extensions[e]=t.extensions[e];if(void 0!==t.size&&(i.size=t.size),void 0!==t.sizeAttenuation&&(i.sizeAttenuation=t.sizeAttenuation),void 0!==t.map&&(i.map=n(t.map)),void 0!==t.matcap&&(i.matcap=n(t.matcap)),void 0!==t.alphaMap&&(i.alphaMap=n(t.alphaMap)),void 0!==t.bumpMap&&(i.bumpMap=n(t.bumpMap)),void 0!==t.bumpScale&&(i.bumpScale=t.bumpScale),void 0!==t.normalMap&&(i.normalMap=n(t.normalMap)),void 0!==t.normalMapType&&(i.normalMapType=t.normalMapType),void 0!==t.normalScale){let e=t.normalScale;!1===Array.isArray(e)&&(e=[e,e]),i.normalScale=new We().fromArray(e)}return void 0!==t.displacementMap&&(i.displacementMap=n(t.displacementMap)),void 0!==t.displacementScale&&(i.displacementScale=t.displacementScale),void 0!==t.displacementBias&&(i.displacementBias=t.displacementBias),void 0!==t.roughnessMap&&(i.roughnessMap=n(t.roughnessMap)),void 0!==t.metalnessMap&&(i.metalnessMap=n(t.metalnessMap)),void 0!==t.emissiveMap&&(i.emissiveMap=n(t.emissiveMap)),void 0!==t.emissiveIntensity&&(i.emissiveIntensity=t.emissiveIntensity),void 0!==t.specularMap&&(i.specularMap=n(t.specularMap)),void 0!==t.specularIntensityMap&&(i.specularIntensityMap=n(t.specularIntensityMap)),void 0!==t.specularColorMap&&(i.specularColorMap=n(t.specularColorMap)),void 0!==t.envMap&&(i.envMap=n(t.envMap)),void 0!==t.envMapIntensity&&(i.envMapIntensity=t.envMapIntensity),void 0!==t.reflectivity&&(i.reflectivity=t.reflectivity),void 0!==t.refractionRatio&&(i.refractionRatio=t.refractionRatio),void 0!==t.lightMap&&(i.lightMap=n(t.lightMap)),void 0!==t.lightMapIntensity&&(i.lightMapIntensity=t.lightMapIntensity),void 0!==t.aoMap&&(i.aoMap=n(t.aoMap)),void 0!==t.aoMapIntensity&&(i.aoMapIntensity=t.aoMapIntensity),void 0!==t.gradientMap&&(i.gradientMap=n(t.gradientMap)),void 0!==t.clearcoatMap&&(i.clearcoatMap=n(t.clearcoatMap)),void 0!==t.clearcoatRoughnessMap&&(i.clearcoatRoughnessMap=n(t.clearcoatRoughnessMap)),void 0!==t.clearcoatNormalMap&&(i.clearcoatNormalMap=n(t.clearcoatNormalMap)),void 0!==t.clearcoatNormalScale&&(i.clearcoatNormalScale=new We().fromArray(t.clearcoatNormalScale)),void 0!==t.iridescenceMap&&(i.iridescenceMap=n(t.iridescenceMap)),void 0!==t.iridescenceThicknessMap&&(i.iridescenceThicknessMap=n(t.iridescenceThicknessMap)),void 0!==t.transmissionMap&&(i.transmissionMap=n(t.transmissionMap)),void 0!==t.thicknessMap&&(i.thicknessMap=n(t.thicknessMap)),void 0!==t.sheenColorMap&&(i.sheenColorMap=n(t.sheenColorMap)),void 0!==t.sheenRoughnessMap&&(i.sheenRoughnessMap=n(t.sheenRoughnessMap)),i}setTextures(t){return this.textures=t,this}static createMaterialFromType(t){return new{ShadowMaterial:oh,SpriteMaterial:Do,RawShaderMaterial:lh,ShaderMaterial:Cr,PointsMaterial:Pl,MeshPhysicalMaterial:hh,MeshStandardMaterial:ch,MeshPhongMaterial:uh,MeshToonMaterial:dh,MeshNormalMaterial:ph,MeshLambertMaterial:mh,MeshDepthMaterial:oo,MeshDistanceMaterial:lo,MeshBasicMaterial:Bi,MeshMatcapMaterial:fh,LineDashedMaterial:gh,LineBasicMaterial:xl,Material:Ri}[t]}}class du{static decodeText(t){if("undefined"!=typeof TextDecoder)return new TextDecoder().decode(t);let e="";for(let n=0,i=t.length;n<i;n++)e+=String.fromCharCode(t[n]);try{return decodeURIComponent(escape(e))}catch(t){return e}}static extractUrlBase(t){const e=t.lastIndexOf("/");return-1===e?"./":t.slice(0,e+1)}static resolveURL(t,e){return"string"!=typeof t||""===t?"":(/^https?:\/\//i.test(e)&&/^\//.test(t)&&(e=e.replace(/(^https?:\/\/[^\/]+).*/i,"$1")),/^(https?:)?\/\//i.test(t)||/^data:.*,.*$/i.test(t)||/^blob:.*$/i.test(t)?t:e+t)}}class pu extends ir{constructor(){super(),this.isInstancedBufferGeometry=!0,this.type="InstancedBufferGeometry",this.instanceCount=1/0}copy(t){return super.copy(t),this.instanceCount=t.instanceCount,this}toJSON(){const t=super.toJSON();return t.instanceCount=this.instanceCount,t.isInstancedBufferGeometry=!0,t}}class mu extends Gh{constructor(t){super(t)}load(t,e,n,i){const r=this,s=new Wh(r.manager);s.setPath(r.path),s.setRequestHeader(r.requestHeader),s.setWithCredentials(r.withCredentials),s.load(t,function(n){try{e(r.parse(JSON.parse(n)))}catch(e){i?i(e):console.error(e),r.manager.itemError(t)}},n,i)}parse(t){const e={},n={};function i(t,i){if(void 0!==e[i])return e[i];const r=t.interleavedBuffers[i],s=function(t,e){if(void 0!==n[e])return n[e];const i=t.arrayBuffers,r=i[e],s=new Uint32Array(r).buffer;return n[e]=s,s}(t,r.buffer),a=Ze(r.type,s),o=new Po(a,r.stride);return o.uuid=r.uuid,e[i]=o,o}const r=t.isInstancedBufferGeometry?new pu:new ir,s=t.data.index;if(void 0!==s){const t=Ze(s.type,s.array);r.setIndex(new qi(t,1))}const a=t.data.attributes;for(const e in a){const n=a[e];let s;if(n.isInterleavedBufferAttribute){const e=i(t.data,n.data);s=new Io(e,n.itemSize,n.offset,n.normalized)}else{const t=Ze(n.type,n.array);s=new(n.isInstancedBufferAttribute?hl:qi)(t,n.itemSize,n.normalized)}void 0!==n.name&&(s.name=n.name),void 0!==n.usage&&s.setUsage(n.usage),void 0!==n.updateRange&&(s.updateRange.offset=n.updateRange.offset,s.updateRange.count=n.updateRange.count),r.setAttribute(e,s)}const o=t.data.morphAttributes;if(o)for(const e in o){const n=o[e],s=[];for(let e=0,r=n.length;e<r;e++){const r=n[e];let a;if(r.isInterleavedBufferAttribute){const e=i(t.data,r.data);a=new Io(e,r.itemSize,r.offset,r.normalized)}else{const t=Ze(r.type,r.array);a=new qi(t,r.itemSize,r.normalized)}void 0!==r.name&&(a.name=r.name),s.push(a)}r.morphAttributes[e]=s}t.data.morphTargetsRelative&&(r.morphTargetsRelative=!0);const l=t.data.groups||t.data.drawcalls||t.data.offsets;if(void 0!==l)for(let t=0,e=l.length;t!==e;++t){const e=l[t];r.addGroup(e.start,e.count,e.materialIndex)}const c=t.data.boundingSphere;if(void 0!==c){const t=new gn;void 0!==c.center&&t.fromArray(c.center),r.boundingSphere=new zn(t,c.radius)}return t.name&&(r.name=t.name),t.userData&&(r.userData=t.userData),r}}const fu={UVMapping:J,CubeReflectionMapping:K,CubeRefractionMapping:$,EquirectangularReflectionMapping:Q,EquirectangularRefractionMapping:tt,CubeUVReflectionMapping:et},gu={RepeatWrapping:nt,ClampToEdgeWrapping:it,MirroredRepeatWrapping:rt},vu={NearestFilter:st,NearestMipmapNearestFilter:at,NearestMipmapLinearFilter:ot,LinearFilter:lt,LinearMipmapNearestFilter:ct,LinearMipmapLinearFilter:ht};let _u;class xu{static getContext(){return void 0===_u&&(_u=new(window.AudioContext||window.webkitAudioContext)),_u}static setContext(t){_u=t}}const yu=new qn,Mu=new qn,Su=new qn;class bu{constructor(t=!0){this.autoStart=t,this.startTime=0,this.oldTime=0,this.elapsedTime=0,this.running=!1}start(){this.startTime=wu(),this.oldTime=this.startTime,this.elapsedTime=0,this.running=!0}stop(){this.getElapsedTime(),this.running=!1,this.autoStart=!1}getElapsedTime(){return this.getDelta(),this.elapsedTime}getDelta(){let t=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){const e=wu();t=(e-this.oldTime)/1e3,this.oldTime=e,this.elapsedTime+=t}return t}}function wu(){return("undefined"==typeof performance?Date:performance).now()}const Tu=new gn,Eu=new fn,Au=new gn,Cu=new gn;class Lu extends vi{constructor(t){super(),this.type="Audio",this.listener=t,this.context=t.context,this.gain=this.context.createGain(),this.gain.connect(t.getIn
vendor: 5,883 bytes, line 3856
3856put()),this.autoplay=!1,this.buffer=null,this.detune=0,this.loop=!1,this.loopStart=0,this.loopEnd=0,this.offset=0,this.duration=void 0,this.playbackRate=1,this.isPlaying=!1,this.hasPlaybackControl=!0,this.source=null,this.sourceType="empty",this._startedAt=0,this._progress=0,this._connected=!1,this.filters=[]}getOutput(){return this.gain}setNodeSource(t){return this.hasPlaybackControl=!1,this.sourceType="audioNode",this.source=t,this.connect(),this}setMediaElementSource(t){return this.hasPlaybackControl=!1,this.sourceType="mediaNode",this.source=this.context.createMediaElementSource(t),this.connect(),this}setMediaStreamSource(t){return this.hasPlaybackControl=!1,this.sourceType="mediaStreamNode",this.source=this.context.createMediaStreamSource(t),this.connect(),this}setBuffer(t){return this.buffer=t,this.sourceType="buffer",this.autoplay&&this.play(),this}play(t=0){if(!0===this.isPlaying)return void console.warn("THREE.Audio: Audio is already playing.");if(!1===this.hasPlaybackControl)return void console.warn("THREE.Audio: this Audio has no playback control.");this._startedAt=this.context.currentTime+t;const e=this.context.createBufferSource();return e.buffer=this.buffer,e.loop=this.loop,e.loopStart=this.loopStart,e.loopEnd=this.loopEnd,e.onended=this.onEnded.bind(this),e.start(this._startedAt,this._progress+this.offset,this.duration),this.isPlaying=!0,this.source=e,this.setDetune(this.detune),this.setPlaybackRate(this.playbackRate),this.connect()}pause(){if(!1!==this.hasPlaybackControl)return!0===this.isPlaying&&(this._progress+=Math.max(this.context.currentTime-this._startedAt,0)*this.playbackRate,!0===this.loop&&(this._progress=this._progress%(this.duration||this.buffer.duration)),this.source.stop(),this.source.onended=null,this.isPlaying=!1),this;console.warn("THREE.Audio: this Audio has no playback control.")}stop(){if(!1!==this.hasPlaybackControl)return this._progress=0,null!==this.source&&(this.source.stop(),this.source.onended=null),this.isPlaying=!1,this;console.warn("THREE.Audio: this Audio has no playback control.")}connect(){if(this.filters.length>0){this.source.connect(this.filters[0]);for(let t=1,e=this.filters.length;t<e;t++)this.filters[t-1].connect(this.filters[t]);this.filters[this.filters.length-1].connect(this.getOutput())}else this.source.connect(this.getOutput());return this._connected=!0,this}disconnect(){if(this.filters.length>0){this.source.disconnect(this.filters[0]);for(let t=1,e=this.filters.length;t<e;t++)this.filters[t-1].disconnect(this.filters[t]);this.filters[this.filters.length-1].disconnect(this.getOutput())}else this.source.disconnect(this.getOutput());return this._connected=!1,this}getFilters(){return this.filters}setFilters(t){return t||(t=[]),!0===this._connected?(this.disconnect(),this.filters=t.slice(),this.connect()):this.filters=t.slice(),this}setDetune(t){if(this.detune=t,void 0!==this.source.detune)return!0===this.isPlaying&&this.source.detune.setTargetAtTime(this.detune,this.context.currentTime,.01),this}getDetune(){return this.detune}getFilter(){return this.getFilters()[0]}setFilter(t){return this.setFilters(t?[t]:[])}setPlaybackRate(t){if(!1!==this.hasPlaybackControl)return this.playbackRate=t,!0===this.isPlaying&&this.source.playbackRate.setTargetAtTime(this.playbackRate,this.context.currentTime,.01),this;console.warn("THREE.Audio: this Audio has no playback control.")}getPlaybackRate(){return this.playbackRate}onEnded(){this.isPlaying=!1}getLoop(){return!1===this.hasPlaybackControl?(console.warn("THREE.Audio: this Audio has no playback control."),!1):this.loop}setLoop(t){if(!1!==this.hasPlaybackControl)return this.loop=t,!0===this.isPlaying&&(this.source.loop=this.loop),this;console.warn("THREE.Audio: this Audio has no playback control.")}setLoopStart(t){return this.loopStart=t,this}setLoopEnd(t){return this.loopEnd=t,this}getVolume(){return this.gain.gain.value}setVolume(t){return this.gain.gain.setTargetAtTime(t,this.context.currentTime,.01),this}}const Pu=new gn,Ru=new fn,Iu=new gn,Du=new gn;class Uu{constructor(t,e,n){let i,r,s;switch(this.binding=t,this.valueSize=n,e){case"quaternion":i=this._slerp,r=this._slerpAdditive,s=this._setAdditiveIdentityQuaternion,this.buffer=new Float64Array(6*n),this._workIndex=5;break;case"string":case"bool":i=this._select,r=this._select,s=this._setAdditiveIdentityOther,this.buffer=new Array(5*n);break;default:i=this._lerp,r=this._lerpAdditive,s=this._setAdditiveIdentityNumeric,this.buffer=new Float64Array(5*n);}this._mixBufferRegion=i,this._mixBufferRegionAdditive=r,this._setIdentity=s,this._origIndex=3,this._addIndex=4,this.cumulativeWeight=0,this.cumulativeWeightAdditive=0,this.useCount=0,this.referenceCount=0}accumulate(t,e){const n=this.buffer,i=this.valueSize,r=t*i+i;let s=this.cumulativeWeight;if(0===s){for(let t=0;t!==i;++t)n[r+t]=n[t];s=e}else{s+=e;const t=e/s;this._mixBufferRegion(n,r,0,t,i)}this.cumulativeWeight=s}accumulateAdditive(t){const e=this.buffer,n=this.valueSize,i=n*this._addIndex;0===this.cumulativeWeightAdditive&&this._setIdentity(),this._mixBufferRegionAdditive(e,i,0,t,n),this.cumulativeWeightAdditive+=t}apply(t){const e=this.valueSize,n=this.buffer,i=t*e+e,r=this.cumulativeWeight,s=this.cumulativeWeightAdditive,a=this.binding;if(this.cumulativeWeight=0,this.cumulativeWeightAdditive=0,r<1){const t=e*this._origIndex;this._mixBufferRegion(n,i,t,1-r,e)}s>0&&this._mixBufferRegionAdditive(n,i,this._addIndex*e,1,e);for(let t=e,r=e+e;t!==r;++t)if(n[t]!==n[t+e]){a.setValue(n,i);break}}saveOriginalState(){const t=this.binding,e=this.buffer,n=this.valueSize,i=n*this._origIndex;t.getValue(e,i);for(let t=n,r=i;t!==r;++t)e[t]=e[i+t%n];this._setIdentity(),this.cumulativeWeight=0,this.cumulativeWeightAdditive=0}restoreOriginalState(){const t=3*this.valueSize;this.binding.setValue(this.buffer,t)}_setAdditiveIdentityNumeric(){const t=this._addIndex*this.valueSize,e=t+this.valueSize;
vendor: 4,668 bytes, line 3856
3856for(let n=t;n<e;n++)this.buffer[n]=0}_setAdditiveIdentityQuaternion(){this._setAdditiveIdentityNumeric(),this.buffer[this._addIndex*this.valueSize+3]=1}_setAdditiveIdentityOther(){const t=this._origIndex*this.valueSize,e=this._addIndex*this.valueSize;for(let n=0;n<this.valueSize;n++)this.buffer[e+n]=this.buffer[t+n]}_select(t,e,n,i,r){if(i>=.5)for(let i=0;i!==r;++i)t[e+i]=t[n+i]}_slerp(t,e,n,i){fn.slerpFlat(t,e,t,e,t,n,i)}_slerpAdditive(t,e,n,i,r){const s=this._workIndex*r;fn.multiplyQuaternionsFlat(t,s,t,e,t,n),fn.slerpFlat(t,e,t,e,t,s,i)}_lerp(t,e,n,i,r){const s=1-i;for(let a=0;a!==r;++a){const r=e+a;t[r]=t[r]*s+t[n+a]*i}}_lerpAdditive(t,e,n,i,r){for(let s=0;s!==r;++s){const r=e+s;t[r]=t[r]+t[n+s]*i}}}const Nu="\\[\\]\\.:\\/",Ou=new RegExp("["+Nu+"]","g"),zu="[^"+Nu+"]",Bu="[^"+Nu.replace("\\.","")+"]",Fu=new RegExp("^"+/((?:WC+[\/:])*)/.source.replace("WC",zu)+/(WCOD+)?/.source.replace("WCOD",Bu)+/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC",zu)+/\.(WC+)(?:\[(.+)\])?/.source.replace("WC",zu)+"$"),ku=["material","materials","bones","map"];class Gu{constructor(t,e,n){this.path=e,this.parsedPath=n||Gu.parseTrackName(e),this.node=Gu.findNode(t,this.parsedPath.nodeName),this.rootNode=t,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}static create(t,e,n){return t&&t.isAnimationObjectGroup?new Gu.Composite(t,e,n):new Gu(t,e,n)}static sanitizeNodeName(t){return t.replace(/\s/g,"_").replace(Ou,"")}static parseTrackName(t){const e=Fu.exec(t);if(null===e)throw new Error("PropertyBinding: Cannot parse trackName: "+t);const n={nodeName:e[2],objectName:e[3],objectIndex:e[4],propertyName:e[5],propertyIndex:e[6]},i=n.nodeName&&n.nodeName.lastIndexOf(".");if(void 0!==i&&-1!==i){const t=n.nodeName.substring(i+1);-1!==ku.indexOf(t)&&(n.nodeName=n.nodeName.substring(0,i),n.objectName=t)}if(null===n.propertyName||0===n.propertyName.length)throw new Error("PropertyBinding: can not parse propertyName from trackName: "+t);return n}static findNode(t,e){if(void 0===e||""===e||"."===e||-1===e||e===t.name||e===t.uuid)return t;if(t.skeleton){const n=t.skeleton.getBoneByName(e);if(void 0!==n)return n}if(t.children){const n=function(t){for(let i=0;i<t.length;i++){const r=t[i];if(r.name===e||r.uuid===e)return r;const s=n(r.children);if(s)return s}return null},i=n(t.children);if(i)return i}return null}_getValue_unavailable(){}_setValue_unavailable(){}_getValue_direct(t,e){t[e]=this.targetObject[this.propertyName]}_getValue_array(t,e){const n=this.resolvedProperty;for(let i=0,r=n.length;i!==r;++i)t[e++]=n[i]}_getValue_arrayElement(t,e){t[e]=this.resolvedProperty[this.propertyIndex]}_getValue_toArray(t,e){this.resolvedProperty.toArray(t,e)}_setValue_direct(t,e){this.targetObject[this.propertyName]=t[e]}_setValue_direct_setNeedsUpdate(t,e){this.targetObject[this.propertyName]=t[e],this.targetObject.needsUpdate=!0}_setValue_direct_setMatrixWorldNeedsUpdate(t,e){this.targetObject[this.propertyName]=t[e],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_array(t,e){const n=this.resolvedProperty;for(let i=0,r=n.length;i!==r;++i)n[i]=t[e++]}_setValue_array_setNeedsUpdate(t,e){const n=this.resolvedProperty;for(let i=0,r=n.length;i!==r;++i)n[i]=t[e++];this.targetObject.needsUpdate=!0}_setValue_array_setMatrixWorldNeedsUpdate(t,e){const n=this.resolvedProperty;for(let i=0,r=n.length;i!==r;++i)n[i]=t[e++];this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_arrayElement(t,e){this.resolvedProperty[this.propertyIndex]=t[e]}_setValue_arrayElement_setNeedsUpdate(t,e){this.resolvedProperty[this.propertyIndex]=t[e],this.targetObject.needsUpdate=!0}_setValue_arrayElement_setMatrixWorldNeedsUpdate(t,e){this.resolvedProperty[this.propertyIndex]=t[e],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_fromArray(t,e){this.resolvedProperty.fromArray(t,e)}_setValue_fromArray_setNeedsUpdate(t,e){this.resolvedProperty.fromArray(t,e),this.targetObject.needsUpdate=!0}_setValue_fromArray_setMatrixWorldNeedsUpdate(t,e){this.resolvedProperty.fromArray(t,e),this.targetObject.matrixWorldNeedsUpdate=!0}_getValue_unbound(t,e){this.bind(),this.getValue(t,e)}_setValue_unbound(t,e){this.bind(),this.setValue(t,e)}bind(){let t=this.node;const e=this.parsedPath,n=e.objectName,i=e.propertyName;let r=e.propertyIndex;if(t||(t=Gu.findNode(this.rootNode,e.nodeName),this.node=t),this.getValue=this._getValue_unavailable,this.setValue=this._setValue_unavailable,!t)return void console.error("THREE.PropertyBinding: Trying to update node for track: "+this.path+" but it wasn't found.");if(n){let i=e.objectIndex;switch(n){case"materials":if(!t.material)return void console.error("THREE.PropertyBinding: Can not bind to material as no
3856de does not have a material.",this);if(!t.material.materials)return void console.error("THREE.PropertyBinding: Can not bind to material.materials as node.material does not have a materials array.",this);t=t.material.materials;break;case"bones":if(!t.skeleton)return void console.error("THREE.PropertyBinding: Can not bind to bones as node does not have a skeleton.",this);t=t.skeleton.bones;for(let e=0;e<t.length;e++)if(t[e].name===i){i=e;break}break;case"map":if("map"in t){t=t.map;break}if(!t.material)return void console.error("THREE.PropertyBinding: Can not bind to material as node does not have a material.",this);if(!t.material.map)return void console.error("THREE.PropertyBinding: Can not bind to material.map as node.material does not have a map.",this);t=t.material.map;break;default:if(void 0===t[n])return void console.error("THREE.PropertyBinding: Can not bind to objectName of node undefined.",this);t=t[n];}if(void 0!==i){if(void 0===t[i])return void console.error("THREE.PropertyBinding: Trying to bind to objectIndex of objectName, but is undefined.",this,t);t=t[i]}}const s=t[i];if(void 0===s){const n=e.nodeName;return void console.error("THREE.PropertyBinding: Trying to update property for track: "+n+"."+i+" but it wasn't found.",t)}let a=this.Versioning.None;this.targetObject=t,void 0!==t.needsUpdate?a=this.Versioning.NeedsUpdate:void 0!==t.matrixWorldNeedsUpdate&&(a=this.Versioning.MatrixWorldNeedsUpdate);let o=this.BindingType.Direct;if(void 0!==r){if("morphTargetInfluences"===i){if(!t.geometry)return void console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.",this);if(!t.geometry.morphAttributes)return void console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.morphAttributes.",this);void 0!==t.morphTargetDictionary[r]&&(r=t.morphTargetDictionary[r])}o=this.BindingType.ArrayElement,this.resolvedProperty=s,this.propertyIndex=r}else void 0!==s.fromArray&&void 0!==s.toArray?(o=this.BindingType.HasFromToArray,this.resolvedProperty=s):Array.isArray(s)?(o=this.BindingType.EntireArray,this.resolvedProperty=s):this.propertyName=i;this.getValue=this.GetterByBindingType[o],this.setValue=this.SetterByBindingTypeAndVersioning[o][a]}unbind(){this.node=null,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}}Gu.Composite=class{constructor(t,e,n){const i=n||Gu.parseTrackName(e);this._targetGroup=t,this._bindings=t.subscribe_(e,i)}getValue(t,e){this.bind();const n=this._targetGroup.nCachedObjects_,i=this._bindings[n];void 0!==i&&i.getValue(t,e)}setValue(t,e){const n=this._bindings;for(let i=this._targetGroup.nCachedObjects_,r=n.length;i!==r;++i)n[i].setValue(t,e)}bind(){const t=this._bindings;for(let e=this._targetGroup.nCachedObjects_,n=t.length;e!==n;++e)t[e].bind()}unbind(){const t=this._bindings;for(let e=this._targetGroup.nCachedObjects_,n=t.length;e!==n;++e)t[e].unbind()}},Gu.prototype.BindingType={Direct:0,EntireArray:1,ArrayElement:2,HasFromToArray:3},Gu.prototype.Versioning={None:0,NeedsUpdate:1,MatrixWorldNeedsUpdate:2},Gu.prototype.GetterByBindingType=[Gu.prototype._getValue_direct,Gu.prototype._getValue_array,Gu.prototype._getValue_arrayElement,Gu.prototype._getValue_toArray],Gu.prototype.SetterByBindingTypeAndVersioning=[[Gu.prototype._setValue_direct,Gu.prototype._setValue_direct_setNeedsUpdate,Gu.prototype._setValue_direct_setMatrixWorldNeedsUpdate],[Gu.prototype._setValue_array,Gu.prototype._setValue_array_setNeedsUpdate,Gu.prototype._setValue_array_setMatrixWorldNeedsUpdate],[Gu.prototype._setValue_arrayElement,Gu.prototype._setValue_arrayElement_setNeedsUpdate,Gu.prototype._setValue_arrayElement_setMatrixWorldNeedsUpdate],[Gu.prototype._setValue_fromArray,Gu.prototype._setValue_fromArray_setNeedsUpdate,Gu.prototype._setValue_fromArray_setMatrixWorldNeedsUpdate]];class Vu{constructor(t,e,n=null,i=e.blendMode){this._mixer=t,this._clip=e,this._localRoot=n,this.blendMode=i;const r=e.tracks,s=r.length,a=new Array(s),o={endingStart:de,endingEnd:de};for(let t=0;t!==s;++t){const e=r[t].createInterpolant(null);a[t]=e,e.settings=o}this._interpolantSettings=o,this._interpolants=a,this._propertyBindings=new Array(s),this._cacheIndex=null,this._byClipCacheIndex=null,this._timeScaleInterpolant=null,this._weightInterpolant=null,this.loop=2201,this._loopCount=-1,this._startTime=null,this.time=0,this.timeScale=1,this._effectiveTimeScale=1,this.weight=1,this._effectiveWeight=1,this.repetitions=1/0,this.paused=!1,this.enabled=!0,this.clampWhenFinished=!1,this.zeroSlopeAtStart=!0,this.zeroSlopeAtEnd=!0}play(){return this._mixer._activateAction(this),this}stop(){return this._mixer._deactivateAction(this),this.reset()}reset(){return this.paused=!1,this.enabled=!0,this.time=0,this._loopCount=-1,this._startTime=null,this.stopFading().stopWarping()}isRunning(){return this.enabled&&!this.paused&&0!==this.timeScale&&null===this._startTime&&this._mixer._isActiveAction(this)}isScheduled(){return this._mixer._isActiveAction(this)}startAt(t){return this._startTime=t,this}setLoop(t,e){return this.loop=t,this.repetitions=e,this}setEffectiveWeight(t){return this.weight=t,this._effectiveWeight=this.enabled?t:0,this.stopFading()}getEffectiveWeight(){return this._effectiveWeight}fadeIn(t){return this._scheduleFading(t,0,1)}fadeOut(t){return this._scheduleFading(t,1,0)}crossFadeFrom(t,e,n){if(t.fadeOut(e),this.fadeIn(e),n){const n=this._clip.duration,i=t._clip.duration,r=i/n,s=n/i;t.warp(1,r,e),this.warp(s,1,e)}return this}crossFadeTo(t,e,n){return t.crossFadeFrom(this,e,n)}stopFading(){const t=this._weightInterpolant;return null!==t&&(this._weightInterpolant=null,this._mixer._takeBackControlInterpolant(t)),this}setEffectiveTimeScale(t){return this.timeScale=t,this._effectiveTimeScale=this.paused?0:t,this.stopWarping()}getEffectiveTimeScale(){return this._effectiveTimeScale}setDuration(t){return this.timeScale=this._clip.duration/t,this.stopWarping()}syncWith(t){return this.time=t.time,this.timeScale=t.timeScale,this.stopWarping()}halt(t){return this.warp(this._effectiveTimeScale,0,t)}warp(t,e,n){const i=this._mixer,r=i.time,s=this.timeScale;let a=this._timeScaleInterpolant;null===a&&(a=i._lendControlInterpolant(),this._timeScaleInterpolant=a);const o=a.parameterPositions,l=a.sampleValues;return o[0]=r,o[1]=r+n,l[0]=t/s,l[1]=e/s,this}stopWarping(){const t=this._timeScaleInterpolant;return null!==t&&(this._timeScaleInterpolant=null,this._mixer._takeBackControlInterpolant(t)),this}getMixer(){return this._mixer}getClip(){return this._clip}getRoot(){return this._localRoot||this._mixer._root}_update(t,e,n,i){if(!this.enabled)return void this._updateWeight(t);const r=this._startTime;if(null!==r){const i=(t-r)*n;i<0||0===n?e=0:(this._startTime=null,e=n*i)}e*=this._updateTimeScale(t);const s=this._updateTime(e),a=this._updateWeight(t);if(a>0){const t=this._interpolants,e=this._propertyBindings;if(this.blendMode===ge)for(let n=0,i=t.length;n!==i;++n)t[n].evaluate(s),e[n].accumulateAdditive(a);else for(let n=0,r=t.length;n!==r;++n)t[n].evaluate(s),e[n].accumulate(i,a)}}_updateWeight(t){let e=0;if(this.enabled){e=this.weight;const n=this._weightInterpolant;if(null!==n){const i=n.evaluate(t)[0];e*=i,t>n.parameterPositions[1]&&(this.stopFading(),0===i&&(this.enabled=!1))}}return this._effectiveWeight=e,e}_updateTimeScale(t){let e=0;if(!this.paused){e=this.timeScale;const n=this._timeScaleInterpolant;if(null!==n){e*=n.evaluate(t)[0],t>n.parameterPositions[1]&&(this.stopWarping(),0===e?this.paused=!0:this.timeScale=e)}}return this._effectiveTimeScale=e,e}_updateTime(t){const e=this._clip.duration,n=this.loop;let i=this.time+t,r=this._loopCount;const s=2202===n;if(0===t)return-1===r?i:s&&1==(1&r)?e-i:i;if(2200===n){-1===r&&(this._loopCount=0,this._setEndings(!0,!0,!1));t:{if(i>=e)i=e;else{if(!(i<0)){this.time=i;break t}i=0}this.clampWhenFinished?this.paused=!0:this.enabled=!1,this.time=i,this._mixer.dispatchEvent({type:"finished",action:this,direction:t<0?-1:1})}}else{if(-1===r&&(t>=0?(r=0,this._setEndings(!0,0===this.repetitions,s)):this._setEndings(0===this.repetitions,!0,s)),i>=e||i<0){const n=Math.floor(i/e);i-=e*n,r+=Math.abs(n);const a=this.repetitions-r;if(a<=0)this.clampWhenFinished?this.paused=!0:this.enabled=!1,i=t>0?e:0,this.time=i,this._mixer.dispatchEvent({type:"finished",action:this,direction:t>0?1:-1});else{if(1===a){const e=t<0;this._setEndings(e,!e,s)}else this._setEndings(!1,!1,s);this._loopCount=r,this.time=i,this._mixer.dispatchEvent({type:"loop",action:this,loopDelta:n})}}else this.time=i;if(s&&1==(1&r))return e-i}return i}_setEndings(t,e,n){const i=this._interpolantSettings;n?(i.endingStart=pe,i.endingEnd=pe):(i.endingStart=t?this.zeroSlopeAtStart?pe:de:me,i.endingEnd=e?this.zeroSlopeAtEnd?pe:de:me)}_scheduleFading(t,e,n){const i=this._mixer,r=i.time;let s=this._weightInterpolant;null===s&&(s=i._lendControlInterpolant(),this._weightInterpolant=s);const a=s.parameterPositions,o=s.sampleValues;return a[0]=r,o[0]=e,a[1]=r+t,o[1]=n,this}}const Hu=new Float32Array(1);class Wu{constructor(t){this.value=t}clone(){return new Wu(void 0===this.value.clone?this.value:this.value.clone())}}let ju=0;function qu(t,e){return t.distance-e.distance}
vendor: 5,207 bytes, line 3856
3856function Xu(t,e,n,i){if(t.layers.test(e.layers)&&t.raycast(e,n),!0===i){const i=t.children;for(let t=0,r=i.length;t<r;t++)Xu(i[t],e,n,!0)}}const Yu=new We;const Zu=new gn,Ju=new gn;const Ku=new gn;const $u=new gn,Qu=new qn,td=new qn;function ed(t){const e=[];!0===t.isBone&&e.push(t);for(let n=0;n<t.children.length;n++)e.push.apply(e,ed(t.children[n]));return e}const nd=new gn,id=new Oi,rd=new Oi;const sd=new gn,ad=new gn,od=new gn;const ld=new gn,cd=new Lr;function hd(t,e,n,i,r,s,a){ld.set(r,s,a).unproject(i);const o=e[t];if(void 0!==o){const t=n.getAttribute("position");for(let e=0,n=o.length;e<n;e++)t.setXYZ(o[e],ld.x,ld.y,ld.z)}}const ud=new xn;const dd=new gn;let pd,md;"undefined"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:e}})),"undefined"!=typeof window&&(window.__THREE__?console.warn("WARNING: Multiple instances of Three.js being imported."):window.__THREE__=e),t.ACESFilmicToneMapping=Y,t.AddEquation=v,t.AddOperation=H,t.AdditiveAnimationBlendMode=ge,t.AdditiveBlending=p,t.AlphaFormat=St,t.AlwaysDepth=U,t.AlwaysStencilFunc=519,t.AmbientLight=ou,t.AmbientLightProbe=class extends hu{constructor(t,e=1){super(void 0,e),this.isAmbientLightProbe=!0;const n=new Oi().set(t);this.sh.coefficients[0].set(n.r,n.g,n.b).multiplyScalar(2*Math.sqrt(Math.PI))}},t.AnimationAction=Vu,t.AnimationClip=Oh,t.AnimationLoader=class extends Gh{constructor(t){super(t)}load(t,e,n,i){const r=this,s=new Wh(this.manager);s.setPath(this.path),s.setRequestHeader(this.requestHeader),s.setWithCredentials(this.withCredentials),s.load(t,function(n){try{e(r.parse(JSON.parse(n)))}catch(e){i?i(e):console.error(e),r.manager.itemError(t)}},n,i)}parse(t){const e=[];for(let n=0;n<t.length;n++){const i=Oh.parse(t[n]);e.push(i)}return e}},t.AnimationMixer=class extends Le{constructor(t){super(),this._root=t,this._initMemoryManager(),this._accuIndex=0,this.time=0,this.timeScale=1}_bindAction(t,e){const n=t._localRoot||this._root,i=t._clip.tracks,r=i.length,s=t._propertyBindings,a=t._interpolants,o=n.uuid,l=this._bindingsByRootAndName;let c=l[o];void 0===c&&(c={},l[o]=c);for(let t=0;t!==r;++t){const r=i[t],l=r.name;let h=c[l];if(void 0!==h)++h.referenceCount,s[t]=h;else{if(h=s[t],void 0!==h){null===h._cacheIndex&&(++h.referenceCount,this._addInactiveBinding(h,o,l));continue}const i=e&&e._propertyBindings[t].binding.parsedPath;h=new Uu(Gu.create(n,l,i),r.ValueTypeName,r.getValueSize()),++h.referenceCount,this._addInactiveBinding(h,o,l),s[t]=h}a[t].resultBuffer=h.buffer}}_activateAction(t){if(!this._isActiveAction(t)){if(null===t._cacheIndex){const e=(t._localRoot||this._root).uuid,n=t._clip.uuid,i=this._actionsByClip[n];this._bindAction(t,i&&i.knownActions[0]),this._addInactiveAction(t,n,e)}const e=t._propertyBindings;for(let t=0,n=e.length;t!==n;++t){const n=e[t];0==n.useCount++&&(this._lendBinding(n),n.saveOriginalState())}this._lendAction(t)}}_deactivateAction(t){if(this._isActiveAction(t)){const e=t._propertyBindings;for(let t=0,n=e.length;t!==n;++t){const n=e[t];0==--n.useCount&&(n.restoreOriginalState(),this._takeBackBinding(n))}this._takeBackAction(t)}}_initMemoryManager(){this._actions=[],this._nActiveActions=0,this._actionsByClip={},this._bindings=[],this._nActiveBindings=0,this._bindingsByRootAndName={},this._controlInterpolants=[],this._nActiveControlInterpolants=0;const t=this;this.stats={actions:{get total(){return t._actions.length},get inUse(){return t._nActiveActions}},bindings:{get total(){return t._bindings.length},get inUse(){return t._nActiveBindings}},controlInterpolants:{get total(){return t._controlInterpolants.length},get inUse(){return t._nActiveControlInterpolants}}}}_isActiveAction(t){const e=t._cacheIndex;return null!==e&&e<this._nActiveActions}_addInactiveAction(t,e,n){const i=this._actions,r=this._actionsByClip;let s=r[e];if(void 0===s)s={knownActions:[t],actionByRoot:{}},t._byClipCacheIndex=0,r[e]=s;else{const e=s.knownActions;t._byClipCacheIndex=e.length,e.push(t)}t._cacheIndex=i.length,i.push(t),s.actionByRoot[n]=t}_removeInactiveAction(t){const e=this._actions,n=e[e.length-1],i=t._cacheIndex;n._cacheIndex=i,e[i]=n,e.pop(),t._cacheIndex=null;const r=t._clip.uuid,s=this._actionsByClip,a=s[r],o=a.knownActions,l=o[o.length-1],c=t._byClipCacheIndex;l._byClipCacheIndex=c,o[c]=l,o.pop(),t._byClipCacheIndex=null;delete a.actionByRoot[(t._localRoot||this._root).uuid],0===o.length&&delete s[r],this._removeInactiveBindingsForAction(t)}_removeInactiveBindingsForAction(t){const e=t._propertyBindings;for(let t=0,n=e.length;t!==n;++t){const n=e[t];0==--n.referenceCount&&this._removeInactiveBinding(n)}}_lendAction(t){const e=this._actions,n=t._cacheIndex,i=this._nActiveActions++,r=e[i];t._cacheIndex=i,e[i]=t,r._cacheIndex=n,e[n]=r}_takeBackAction(t){const e=this._actions,n=t._cacheIndex,i=--this._nActiveActions,r=e[i];t._cacheIndex=i,e[i]=t,r._cacheIndex=n,e[n]=r}_addInactiveBinding(t,e,n){const i=this._bindingsByRootAndName,r=this._bindings;let s=i[e];void 0===s&&(s={},i[e]=s),s[n]=t,t._cacheIndex=r.length,r.push(t)}_removeInactiveBinding(t){const e=this._bindings,n=t.binding,i=n.rootNode.uuid,r=n.path,s=this._bindingsByRootAndName,a=s[i],o=e[e.length-1],l=t._cacheIndex;
vendor: 4,581 bytes, line 3856
3856o._cacheIndex=l,e[l]=o,e.pop(),delete a[r],0===Object.keys(a).length&&delete s[i]}_lendBinding(t){const e=this._bindings,n=t._cacheIndex,i=this._nActiveBindings++,r=e[i];t._cacheIndex=i,e[i]=t,r._cacheIndex=n,e[n]=r}_takeBackBinding(t){const e=this._bindings,n=t._cacheIndex,i=--this._nActiveBindings,r=e[i];t._cacheIndex=i,e[i]=t,r._cacheIndex=n,e[n]=r}_lendControlInterpolant(){const t=this._controlInterpolants,e=this._nActiveControlInterpolants++;let n=t[e];return void 0===n&&(n=new Eh(new Float32Array(2),new Float32Array(2),1,Hu),n.__cacheIndex=e,t[e]=n),n}_takeBackControlInterpolant(t){const e=this._controlInterpolants,n=t.__cacheIndex,i=--this._nActiveControlInterpolants,r=e[i];t.__cacheIndex=i,e[i]=t,r.__cacheIndex=n,e[n]=r}clipAction(t,e,n){const i=e||this._root,r=i.uuid;let s="string"==typeof t?Oh.findByName(i,t):t;const a=null!==s?s.uuid:t,o=this._actionsByClip[a];let l=null;if(void 0===n&&(n=null!==s?s.blendMode:fe),void 0!==o){const t=o.actionByRoot[r];if(void 0!==t&&t.blendMode===n)return t;l=o.knownActions[0],null===s&&(s=l._clip)}if(null===s)return null;const c=new Vu(this,s,e,n);return this._bindAction(c,l),this._addInactiveAction(c,a,r),c}existingAction(t,e){const n=e||this._root,i=n.uuid,r="string"==typeof t?Oh.findByName(n,t):t,s=r?r.uuid:t,a=this._actionsByClip[s];return void 0!==a&&a.actionByRoot[i]||null}stopAllAction(){const t=this._actions;for(let e=this._nActiveActions-1;e>=0;--e)t[e].stop();return this}update(t){t*=this.timeScale;const e=this._actions,n=this._nActiveActions,i=this.time+=t,r=Math.sign(t),s=this._accuIndex^=1;for(let a=0;a!==n;++a){e[a]._update(i,t,r,s)}const a=this._bindings,o=this._nActiveBindings;for(let t=0;t!==o;++t)a[t].apply(s);return this}setTime(t){this.time=0;for(let t=0;t<this._actions.length;t++)this._actions[t].time=0;return this.update(t)}getRoot(){return this._root}uncacheClip(t){const e=this._actions,n=t.uuid,i=this._actionsByClip,r=i[n];if(void 0!==r){const t=r.knownActions;for(let n=0,i=t.length;n!==i;++n){const i=t[n];this._deactivateAction(i);const r=i._cacheIndex,s=e[e.length-1];i._cacheIndex=null,i._byClipCacheIndex=null,s._cacheIndex=r,e[r]=s,e.pop(),this._removeInactiveBindingsForAction(i)}delete i[n]}}uncacheRoot(t){const e=t.uuid,n=this._actionsByClip;for(const t in n){const i=n[t].actionByRoot[e];void 0!==i&&(this._deactivateAction(i),this._removeInactiveAction(i))}const i=this._bindingsByRootAndName[e];if(void 0!==i)for(const t in i){const e=i[t];e.restoreOriginalState(),this._removeInactiveBinding(e)}}uncacheAction(t,e){const n=this.existingAction(t,e);null!==n&&(this._deactivateAction(n),this._removeInactiveAction(n))}},t.AnimationObjectGroup=class{constructor(){this.isAnimationObjectGroup=!0,this.uuid=Ue(),this._objects=Array.prototype.slice.call(arguments),this.nCachedObjects_=0;const t={};this._indicesByUUID=t;for(let e=0,n=arguments.length;e!==n;++e)t[arguments[e].uuid]=e;this._paths=[],this._parsedPaths=[],this._bindings=[],this._bindingsIndicesByPath={};const e=this;this.stats={objects:{get total(){return e._objects.length},get inUse(){return this.total-e.nCachedObjects_}},get bindingsPerObject(){return e._bindings.length}}}add(){const t=this._objects,e=this._indicesByUUID,n=this._paths,i=this._parsedPaths,r=this._bindings,s=r.length;let a,o=t.length,l=this.nCachedObjects_;for(let c=0,h=arguments.length;c!==h;++c){const h=arguments[c],u=h.uuid;let d=e[u];if(void 0===d){d=o++,e[u]=d,t.push(h);for(let t=0,e=s;t!==e;++t)r[t].push(new Gu(h,n[t],i[t]))}else if(d<l){a=t[d];const o=--l,c=t[o];e[c.uuid]=d,t[d]=c,e[u]=o,t[o]=h;for(let t=0,e=s;t!==e;++t){const e=r[t],s=e[o];let a=e[d];e[d]=s,void 0===a&&(a=new Gu(h,n[t],i[t])),e[o]=a}}else t[d]!==a&&console.error("THREE.AnimationObjectGroup: Different objects with the same UUID detected. Clean the caches or recreate your infrastructure when reloading scenes.")}this.nCachedObjects_=l}remove(){const t=this._objects,e=this._indicesByUUID,n=this._bindings,i=n.length;let r=this.nCachedObjects_;for(let s=0,a=arguments.length;s!==a;++s){const a=arguments[s],o=a.uuid,l=e[o];if(void 0!==l&&l>=r){const s=r++,c=t[s];e[c.uuid]=l,t[l]=c,e[o]=s,t[s]=a;for(let t=0,e=i;t!==e;++t){const e=n[t],i=e[s],r=e[l];e[l]=i,e[s]=r}}}this.nCachedObjects_=r}uncache(){const t=this._objects,e=this._indicesByUUID,n=this._bindings,i=n.length;let r=this.nCachedObjects_,s=t.length;for(let a=0,o=arguments.length;a!==o;++a){const o=arguments[a].uuid,l=e[o];if(void 0!==l)if(delete e[o],l<r){const a=--r,o=t[a],c=--s,h=t[c];e[o.uuid]=l,t[l]=o,e[h.uuid]=a,t[a]=h,t.pop();for(let t=0,e=i;t!==e;++t){const e=n[t],i=e[a],r=e[c];
vendor: 8,113 bytes, line 3856
3856e[l]=i,e[a]=r,e.pop()}}else{const r=--s,a=t[r];r>0&&(e[a.uuid]=l),t[l]=a,t.pop();for(let t=0,e=i;t!==e;++t){const e=n[t];e[l]=e[r],e.pop()}}}this.nCachedObjects_=r}subscribe_(t,e){const n=this._bindingsIndicesByPath;let i=n[t];const r=this._bindings;if(void 0!==i)return r[i];const s=this._paths,a=this._parsedPaths,o=this._objects,l=o.length,c=this.nCachedObjects_,h=new Array(l);i=r.length,n[t]=i,s.push(t),a.push(e),r.push(h);for(let n=c,i=o.length;n!==i;++n){const i=o[n];h[n]=new Gu(i,t,e)}return h}unsubscribe_(t){const e=this._bindingsIndicesByPath,n=e[t];if(void 0!==n){const i=this._paths,r=this._parsedPaths,s=this._bindings,a=s.length-1,o=s[a];e[t[a]]=n,s[n]=o,s.pop(),r[n]=r[a],r.pop(),i[n]=i[a],i.pop()}}},t.AnimationUtils=bh,t.ArcCurve=kl,t.ArrayCamera=go,t.ArrowHelper=class extends vi{constructor(t=new gn(0,0,1),e=new gn(0,0,0),n=1,i=16776960,r=.2*n,s=.2*r){super(),this.type="ArrowHelper",void 0===pd&&(pd=new ir,pd.setAttribute("position",new Zi([0,0,0,0,1,0],3)),md=new cc(0,.5,1,5,1),md.translate(0,-.5,0)),this.position.copy(e),this.line=new Tl(pd,new xl({color:i,toneMapped:!1})),this.line.matrixAutoUpdate=!1,this.add(this.line),this.cone=new Mr(md,new Bi({color:i,toneMapped:!1})),this.cone.matrixAutoUpdate=!1,this.add(this.cone),this.setDirection(t),this.setLength(n,r,s)}setDirection(t){if(t.y>.99999)this.quaternion.set(0,0,0,1);else if(t.y<-.99999)this.quaternion.set(1,0,0,0);else{dd.set(t.z,0,-t.x).normalize();const e=Math.acos(t.y);this.quaternion.setFromAxisAngle(dd,e)}}setLength(t,e=.2*t,n=.2*e){this.line.scale.set(1,Math.max(1e-4,t-e),1),this.line.updateMatrix(),this.cone.scale.set(n,e,n),this.cone.position.y=t,this.cone.updateMatrix()}setColor(t){this.line.material.color.set(t),this.cone.material.color.set(t)}copy(t){return super.copy(t,!1),this.line.copy(t.line),this.cone.copy(t.cone),this}dispose(){this.line.geometry.dispose(),this.line.material.dispose(),this.cone.geometry.dispose(),this.cone.material.dispose()}},t.Audio=Lu,t.AudioAnalyser=class{constructor(t,e=2048){this.analyser=t.context.createAnalyser(),this.analyser.fftSize=e,this.data=new Uint8Array(this.analyser.frequencyBinCount),t.getOutput().connect(this.analyser)}getFrequencyData(){return this.analyser.getByteFrequencyData(this.data),this.data}getAverageFrequency(){let t=0;const e=this.getFrequencyData();for(let n=0;n<e.length;n++)t+=e[n];return t/e.length}},t.AudioContext=xu,t.AudioListener=class extends vi{constructor(){super(),this.type="AudioListener",this.context=xu.getContext(),this.gain=this.context.createGain(),this.gain.connect(this.context.destination),this.filter=null,this.timeDelta=0,this._clock=new bu}getInput(){return this.gain}removeFilter(){return null!==this.filter&&(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination),this.gain.connect(this.context.destination),this.filter=null),this}getFilter(){return this.filter}setFilter(t){return null!==this.filter?(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination)):this.gain.disconnect(this.context.destination),this.filter=t,this.gain.connect(this.filter),this.filter.connect(this.context.destination),this}getMasterVolume(){return this.gain.gain.value}setMasterVolume(t){return this.gain.gain.setTargetAtTime(t,this.context.currentTime,.01),this}updateMatrixWorld(t){super.updateMatrixWorld(t);const e=this.context.listener,n=this.up;if(this.timeDelta=this._clock.getDelta(),this.matrixWorld.decompose(Tu,Eu,Au),Cu.set(0,0,-1).applyQuaternion(Eu),e.positionX){const t=this.context.currentTime+this.timeDelta;e.positionX.linearRampToValueAtTime(Tu.x,t),e.positionY.linearRampToValueAtTime(Tu.y,t),e.positionZ.linearRampToValueAtTime(Tu.z,t),e.forwardX.linearRampToValueAtTime(Cu.x,t),e.forwardY.linearRampToValueAtTime(Cu.y,t),e.forwardZ.linearRampToValueAtTime(Cu.z,t),e.upX.linearRampToValueAtTime(n.x,t),e.upY.linearRampToValueAtTime(n.y,t),e.upZ.linearRampToValueAtTime(n.z,t)}else e.setPosition(Tu.x,Tu.y,Tu.z),e.setOrientation(Cu.x,Cu.y,Cu.z,n.x,n.y,n.z)}},t.AudioLoader=class extends Gh{constructor(t){super(t)}load(t,e,n,i){const r=this,s=new Wh(this.manager);s.setResponseType("arraybuffer"),s.setPath(this.path),s.setRequestHeader(this.requestHeader),s.setWithCredentials(this.withCredentials),s.load(t,function(n){try{const t=n.slice(0);xu.getContext().decodeAudioData(t,function(t){e(t)})}catch(e){i?i(e):console.error(e),r.manager.itemError(t)}},n,i)}},t.AxesHelper=class extends Cl{constructor(t=1){const e=[0,0,0,t,0,0,0,0,0,0,t,0,0,0,0,0,0,t],n=new ir;n.setAttribute("position",new Zi(e,3)),n.setAttribute("color",new Zi([1,0,0,1,.6,0,0,1,0,.6,1,0,0,0,1,0,.6,1],3));super(n,new xl({vertexColors:!0,toneMapped:!1})),this.type="AxesHelper"}setColors(t,e,n){const i=new Oi,r=this.geometry.attributes.color.array;return i.set(t),i.toArray(r,0),i.toArray(r,3),i.set(e),i.toArray(r,6),i.toArray(r,9),i.set(n),i.toArray(r,12),i.toArray(r,15),this.geometry.attributes.color.needsUpdate=!0,this}dispose(){this.geometry.dispose(),this.material.dispose()}},t.BackSide=c,t.BasicDepthPacking=3200,t.BasicShadowMap=0,t.Bone=sl,t.BooleanKeyframeTrack=Lh,t.Box2=class{constructor(t=new We(1/0,1/0),e=new We(-1/0,-1/0)){this.isBox2=!0,this.min=t,this.max=e}set(t,e){return this.min.copy(t),this.max.copy(e),this}setFromPoints(t){this.makeEmpty();for(let e=0,n=t.length;e<n;e++)this.expandByPoint(t[e]);return this}setFromCenterAndSize(t,e){const n=Yu.copy(e).multiplyScalar(.5);return this.min.copy(t).sub(n),this.max.copy(t).add(n),this}clone(){return new this.constructor().copy(this)}copy(t){return this.min.copy(t.min),this.max.copy(t.max),this}makeEmpty(){return this.min.x=this.min.y=1/0,this.max.x=this.max.y=-1/0,this}isEmpty(){return this.max.x<this.min.x||this.max.y<this.min.y}getCenter(t){return this.isEmpty()?t.set(0,0):t.addVectors(this.min,this.max).multiplyScalar(.5)}getSize(t){return this.isEmpty()?t.set(0,0):t.subVectors(this.max,this.min)}expandByPoint(t){return this.min.min(t),this.max.max(t),this}expandByVector(t){return this.min.sub(t),this.max.add(t),this}expandByScalar(t){return this.min.addScalar(-t),this.max.addScalar(t),this}containsPoint(t){return!(t.x<this.min.x||t.x>this.max.x||t.y<this.min.y||t.y>this.max.y)}containsBox(t){return this.min.x<=t.min.x&&t.max.x<=this.max.x&&this.min.y<=t.min.y&&t.max.y<=this.max.y}getParameter(t,e){return e.set((t.x-this.min.x)/(this.max.x-this.min.x),(t.y-this.min.y)/(this.max.y-this.min.y))}intersectsBox(t){return!(t.max.x<this.min.x||t.min.x>this.max.x||t.max.y<this.min.y||t.min.y>this.max.y)}clampPoint(t,e){return e.copy(t).clamp(this.min,this.max)}distanceToPoint(t){return this.clampPoint(t,Yu).distanceTo(t)}intersect(t){return this.min.max(t.min),this.max.min(t.max),this.isEmpty()&&this.makeEmpty(),this}union(t){return this.min.min(t.min),this.max.max(t.max),this}translate(t){return this.min.add(t),this.max.add(t),this}equals(t){return t.min.equals(this.min)&&t.max.equals(this.max)}},t.Box3=xn,t.Box3Helper=class extends Cl{constructor(t,e=16776960){const n=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]),i=new ir;i.setIndex(new qi(n,1)),i.setAttribute("position",new Zi([1,1,1,-1,1,1,-1,-1,1,1,-1,1,1,1,-1,-1,1,-1,-1,-1,-1,1,-1,-1],3)),super(i,new xl({color:e,toneMapped:!1})),this.box=t,this.type="Box3Helper",this.geometry.computeBoundingSphere()}updateMatrixWorld(t){const e=this.box;e.isEmpty()||(e.getCenter(this.position),e.getSize(this.scale),this.scale.multiplyScalar(.5),super.updateMatrixWorld(t))}dispose(){this.geometry.dispose(),this.material.dispose()}},t.BoxBufferGeometry=class extends br{constructor(t,e,n,i,r,s){console.warn("THREE.BoxBufferGeometry has been renamed to THREE.BoxGeometry."),super(t,e,n,i,r,s)}},t.BoxGeometry=br,t.BoxHelper=class extends Cl{constructor(t,e=16776960){const n=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]),i=new Float32Array(24),r=new ir;r.setIndex(new qi(n,1)),r.setAttribute("position",new qi(i,3)),super(r,new xl({color:e,toneMapped:!1})),this.object=t,this.type="BoxHelper",this.matrixAutoUpdate=!1,this.update()}update(t){if(void 0!==t&&console.warn("THREE.BoxHelper: .update(
3856) has no longer arguments."),void 0!==this.object&&ud.setFromObject(this.object),ud.isEmpty())return;const e=ud.min,n=ud.max,i=this.geometry.attributes.position,r=i.array;r[0]=n.x,r[1]=n.y,r[2]=n.z,r[3]=e.x,r[4]=n.y,r[5]=n.z,r[6]=e.x,r[7]=e.y,r[8]=n.z,r[9]=n.x,r[10]=e.y,r[11]=n.z,r[12]=n.x,r[13]=n.y,r[14]=e.z,r[15]=e.x,r[16]=n.y,r[17]=e.z,r[18]=e.x,r[19]=e.y,r[20]=e.z,r[21]=n.x,r[22]=e.y,r[23]=e.z,i.needsUpdate=!0,this.geometry.computeBoundingSphere()}setFromObject(t){return this.object=t,this.update(),this}copy(t,e){return super.copy(t,e),this.object=t.object,this}dispose(){this.geometry.dispose(),this.material.dispose()}},t.BufferAttribute=qi,t.BufferGeometry=ir,t.BufferGeometryLoader=mu,t.ByteType=dt,t.Cache=Bh,t.Camera=Lr,t.CameraHelper=class extends Cl{constructor(t){const e=new ir,n=new xl({color:16777215,vertexColors:!0,toneMapped:!1}),i=[],r=[],s={};function a(t,e){o(t),o(e)}function o(t){i.push(0,0,0),r.push(0,0,0),void 0===s[t]&&(s[t]=[]),s[t].push(i.length/3-1)}a("n1","n2"),a("n2","n4"),a("n4","n3"),a("n3","n1"),a("f1","f2"),a("f2","f4"),a("f4","f3"),a("f3","f1"),a("n1","f1"),a("n2","f2"),a("n3","f3"),a("n4","f4"),a("p","n1"),a("p","n2"),a("p","n3"),a("p","n4"),a("u1","u2"),a("u2","u3"),a("u3","u1"),a("c","t"),a("p","c"),a("cn1","cn2"),a("cn3","cn4"),a("cf1","cf2"),a("cf3","cf4"),e.setAttribute("position",new Zi(i,3)),e.setAttribute("color",new Zi(r,3)),super(e,n),this.type="CameraHelper",this.camera=t,this.camera.updateProjectionMatrix&&this.camera.updateProjectionMatrix(),this.matrix=t.matrixWorld,this.matrixAutoUpdate=!1,this.pointMap=s,this.update();const l=new Oi(16755200),c=new Oi(16711680),h=new Oi(43775),u=new Oi(16777215),d=new Oi(3355443);this.setColors(l,c,h,u,d)}setColors(t,e,n,i,r){const s=this.geometry.getAttribute("color");s.setXYZ(0,t.r,t.g,t.b),s.setXYZ(1,t.r,t.g,t.b),s.setXYZ(2,t.r,t.g,t.b),s.setXYZ(3,t.r,t.g,t.b),s.setXYZ(4,t.r,t.g,t.b),s.setXYZ(5,t.r,t.g,t.b),s.setXYZ(6,t.r,t.g,t.b),s.setXYZ(7,t.r,t.g,t.b),s.setXYZ(8,t.r,t.g,t.b),s.setXYZ(9,t.r,t.g,t.b),s.setXYZ(10,t.r,t.g,t.b),s.setXYZ(11,t.r,t.g,t.b),s.setXYZ(12,t.r,t.g,t.b),s.setXYZ(13,t.r,t.g,t.b),s.setXYZ(14,t.r,t.g,t.b),s.setXYZ(15,t.r,t.g,t.b),s.setXYZ(16,t.r,t.g,t.b),s.setXYZ(17,t.r,t.g,t.b),s.setXYZ(18,t.r,t.g,t.b),s.setXYZ(19,t.r,t.g,t.b),s.setXYZ(20,t.r,t.g,t.b),s.setXYZ(21,t.r,t.g,t.b),s.setXYZ(22,t.r,t.g,t.b),s.setXYZ(23,t.r,t.g,t.b),s.setXYZ(24,e.r,e.g,e.b),s.setXYZ(25,e.r,e.g,e.b),s.setXYZ(26,e.r,e.g,e.b),s.setXYZ(27,e.r,e.g,e.b),s.setXYZ(28,e.r,e.g,e.b),s.setXYZ(29,e.r,e.g,e.b),s.setXYZ(30,e.r,e.g,e.b),s.setXYZ(31,e.r,e.g,e.b),s.setXYZ(32,n.r,n.g,n.b),s.setXYZ(33,n.r,n.g,n.b),s.setXYZ(34,n.r,n.g,n.b),s.setXYZ(35,n.r,n.g,n.b),s.setXYZ(36,n.r,n.g,n.b),s.setXYZ(37,n.r,n.g,n.b),s.setXYZ(38,i.r,i.g,i.b),s.setXYZ(39,i.r,i.g,i.b),s.setXYZ(40,r.r,r.g,r.b),s.setXYZ(41,r.r,r.g,r.b),s.setXYZ(42,r.r,r.g,r.b),s.setXYZ(43,r.r,r.g,r.b),s.setXYZ(44,r.r,r.g,r.b),s.setXYZ(45,r.r,r.g,r.b),s.setXYZ(46,r.r,r.g,r.b),s.setXYZ(47,r.r,r.g,r.b),s.setXYZ(48,r.r,r.g,r.b),s.setXYZ(49,r.r,r.g,r.b),s.needsUpdate=!0}update(){const t=this.geometry,e=this.pointMap;cd.projectionMatrixInverse.copy(this.camera.projectionMatrixInverse),hd("c",e,t,cd,0,0,-1),hd("t",e,t,cd,0,0,1),hd("n1",e,t,cd,-1,-1,-1),hd("n2",e,t,cd,1,-1,-1),hd("n3",e,t,cd,-1,1,-1),hd("n4",e,t,cd,1,1,-1),hd("f1",e,t,cd,-1,-1,1),hd("f2",e,t,cd,1,-1,1),hd("f3",e,t,cd,-1,1,1),hd("f4",e,t,cd,1,1,1),hd("u1",e,t,cd,.7,1.1,-1),hd("u2",e,t,cd,-.7,1.1,-1),hd("u3",e,t,cd,0,2,-1),hd("cf1",e,t,cd,-1,0,1),hd("cf2",e,t,cd,1,0,1),hd("cf3",e,t,cd,0,-1,1),hd("cf4",e,t,cd,0,1,1),hd("cn1",e,t,cd,-1,0,-1),hd("cn2",e,t,cd,1,0,-1),hd("cn3",e,t,cd,0,-1,-1),hd("cn4",e,t,cd,0,1,-1),t.getAttribute("position").needsUpdate=!0}dispose(){this.geometry.dispose(),this.material.dispose()}},t.CanvasTexture=class extends hn{constructor(t,e,n,i,r,s,a,o,l){super(t,e,n,i,r,s,a,o,l),this.isCanvasTexture=!0,this.needsUpdate=!0}},t.CapsuleBufferGeometry=class extends oc{constructor(t,e,n,i){console.warn("THREE.CapsuleBufferGeometry has been renamed to THREE.CapsuleGeometry."),super(t,e,n,i)}},t.CapsuleGeometry=oc,t.CatmullRomCurve3=ql,t.CineonToneMapping=X,t.CircleBufferGeometry=class extends lc{constructor(t,e,n,i){console.warn("THREE.CircleBufferGeometry has been renamed to THREE.CircleGeometry."),super(t,e,n,i)}},t.CircleGeometry=lc,t.ClampToEdgeWrapping=it,t.Clock=bu,t.Color=Oi,t.ColorKeyframeTrack=Ph,t.ColorManagement=rn,t.CompressedArrayTexture=class extends zl{constructor(t,e,n,i,r,s){super(t,e,n,r,s),this.isCompressedArrayTexture=!0,this.image.depth=i,this.wrapR=it}},t.CompressedTexture=zl,t.CompressedTextureLoader=class extends Gh{constructor(t){super(t)}load(t,e,n,i){const r=this,s=[],a=new zl,o=new Wh(this.manager);o.setPath(this.path),o.setResponseType("arraybuffer"),o.setRequestHeader(this.requestHeader),o.setWithCredentials(r.withCredentials);let l=0;function c(c){o.load(t[c],function(t){const n=r.parse(t,!0);s[c]={width:n.width,height:n.height,format:n.format,mipmaps:n.mipmaps},l+=1,6===l&&(1===n.mipmapCount&&(a.minFilter=lt),a.image=s,a.format=n.format,a.needsUpdate=!0,e&&e(a))},n,i)}if(Array.isArray(t))for(let e=0,n=t.length;e<n;++e)c(e);else o.load(t,function(t){const n=r.parse(t,!0);if(n.isCubemap){const t=n.mipmaps.length/n.mipmapCount;for(let e=0;e<t;e++){s[e]={mipmaps:[]};for(let t=0;t<n.mipmapCount;t++)s[e].mipmaps.push(n.mipmaps[e*n.mipmapCount+t]),s[e].format=n.format,s[e].width=n.width,s[e].height=n.height}a.image=s}else a.image.width=n.width,a.image.height=n.height,a.mipmaps=n.mipmaps;1===n.mipmapCount&&(a.minFilter=lt),a.format=n.format,a.needsUpdate=!0,e&&e(a)},n,i);return a}},t.ConeBufferGeometry=class extends hc{constructor(t,e,n,i,r,s,a){console.warn("THREE.ConeBufferGeometry has been renamed to THREE.ConeGeometry."),super(t,e,n,i,r,s,a)}},t.ConeGeometry=hc,t.CubeCamera=Ir,t.CubeReflectionMapping=K,t.CubeRefractionMapping=$,t.CubeTexture=Dr,t.CubeTextureLoader=class extends Gh{constructor(t){super(t)}load(t,e,n,i){const r=new Dr,s=new jh(this.manager);s.setCrossOrigin(this.crossOrigin),s.setPath(this.path);let a=0;function o(n){s.load(t[n],function(t){r.images[n]=t,a++,6===a&&(r.needsUpdate=!0,e&&e(r))},void 0,i)}for(let e=0;e<t.length;++e)o(e);return r}},t.CubeUVReflectionMapping=et,t.CubicBezierCurve=Jl,t.CubicBezierCurve3=Kl,t.CubicInterpolant=Th,t.CullFaceBack=i,t.CullFaceFront=r,t.CullFaceFrontBack=3,t.CullFaceNone=n,t.Curve=
3856Bl,t.CurvePath=rc,t.CustomBlending=g,t.CustomToneMapping=Z,t.CylinderBufferGeometry=class extends cc{constructor(t,e,n,i,r,s,a,o){console.warn("THREE.CylinderBufferGeometry has been renamed to THREE.CylinderGeometry."),super(t,e,n,i,r,s,a,o)}},t.CylinderGeometry=cc,t.Cylindrical=class{constructor(t=1,e=0,n=0){return this.radius=t,this.theta=e,this.y=n,this}set(t,e,n){return this.radius=t,this.theta=e,this.y=n,this}copy(t){return this.radius=t.radius,this.theta=t.theta,this.y=t.y,this}setFromVector3(t){return this.setFromCartesianCoords(t.x,t.y,t.z)}setFromCartesianCoords(t,e,n){return this.radius=Math.sqrt(t*t+n*n),this.theta=Math.atan2(t,n),this.y=e,this}clone(){return new this.constructor().copy(this)}},t.Data3DTexture=mn,t.DataArrayTexture=pn,t.DataTexture=al,t.DataTextureLoader=class extends Gh{constructor(t){super(t)}load(t,e,n,i){const r=this,s=new al,a=new Wh(this.manager);return a.setResponseType("arraybuffer"),a.setRequestHeader(this.requestHeader),a.setPath(this.path),a.setWithCredentials(r.withCredentials),a.load(t,function(t){const n=r.parse(t);n&&(void 0!==n.image?s.image=n.image:void 0!==n.data&&(s.image.width=n.width,s.image.height=n.height,s.image.data=n.data),s.wrapS=void 0!==n.wrapS?n.wrapS:it,s.wrapT=void 0!==n.wrapT?n.wrapT:it,s.magFilter=void 0!==n.magFilter?n.magFilter:lt,s.minFilter=void 0!==n.minFilter?n.minFilter:lt,s.anisotropy=void 0!==n.anisotropy?n.anisotropy:1,void 0!==n.encoding&&(s.encoding=n.encoding),void 0!==n.flipY&&(s.flipY=n.flipY),void 0!==n.format&&(s.format=n.format),void 0!==n.type&&(s.type=n.type),void 0!==n.mipmaps&&(s.mipmaps=n.mipmaps,s.minFilter=ht),1===n.mipmapCount&&(s.minFilter=lt),void 0!==n.generateMipmaps&&(s.generateMipmaps=n.generateMipmaps),s.needsUpdate=!0,e&&e(s,n))},n,i),s}},t.DataUtils=Hi,t.DecrementStencilOp=7683,t.DecrementWrapStencilOp=34056,t.DefaultLoadingManager=kh,t.DepthFormat=Et,t.DepthStencilFormat=At,t.DepthTexture=yo,t.DirectionalLight=au,t.DirectionalLightHelper=class extends vi{constructor(t,e,n){super(),this.light=t,this.matrix=t.matrixWorld,this.matrixAutoUpdate=!1,this.color=n,this.type="DirectionalLightHelper",void 0===e&&(e=1);let i=new ir;i.setAttribute("position",new Zi([-e,e,0,e,e,0,e,-e,0,-e,-e,0,-e,e,0],3));const r=new xl({fog:!1,toneMapped:!1});this.lightPlane=new Tl(i,r),this.add(this.lightPlane),i=new ir,i.setAttribute("position",new Zi([0,0,0,0,0,1],3)),this.targetLine=new Tl(i,r),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(!0,!1),this.light.target.updateWorldMatrix(!0,!1),sd.setFromMatrixPosition(this.light.matrixWorld),ad.setFromMatrixPosition(this.light.target.matrixWorld),od.subVectors(ad,sd),this.lightPlane.lookAt(ad),void 0!==this.color?(this.lightPlane.material.color.set(this.color),this.targetLine.material.color.set(this.color)):(this.lightPlane.material.color.copy(this.light.color),this.targetLine.material.color.copy(this.light.color)),this.targetLine.lookAt(ad),this.targetLine.scale.z=od.length()}},t.DiscreteInterpolant=Ah,t.DisplayP3ColorSpace=we,t.DodecahedronBufferGeometry=class extends dc{constructor(t,e){console.warn("THREE.DodecahedronBufferGeometry has been renamed to THREE.DodecahedronGeometry."),super(t,e)}},t.DodecahedronGeometry=dc,t.DoubleSide=h,t.DstAlphaFactor=C,t.DstColorFactor=P,t.DynamicCopyUsage=35050,t.DynamicDrawUsage=35048,t.DynamicReadUsage=35049,t.EdgesGeometry=vc,t.EllipseCurve=Fl,t.EqualDepth=z,t.EqualStencilFunc=514,t.EquirectangularReflectionMapping=Q,t.EquirectangularRefractionMapping=tt,t.Euler=ni,t.EventDispatcher=Le,t.ExtrudeBufferGeometry=class extends Xc{constructor(t,e){console.warn("THREE.ExtrudeBufferGeometry has been renamed to THREE.ExtrudeGeometry."),super(t,e)}},t.ExtrudeGeometry=Xc,t.FileLoader=Wh,t.Float16BufferAttribute=class extends qi{constructor(t,e,n){super(new Uint16Array(t),e,n),this.isFloat16BufferAttribute=!0}getX(t){let e=Vi(this.array[t*this.itemSize]);return this.normalized&&(e=Ge(e,this.array)),e}setX(t,e){return this.normalized&&(e=Ve(e,this.array)),this.array[t*this.itemSize]=Gi(e),this}getY(t){let e=Vi(this.array[t*this.itemSize+1]);return this.normalized&&(e=Ge(e,this.array)),e}setY(t,e){return this.normalized&&(e=Ve(e,this.array)),this.array[t*this.itemSize+1]=Gi(e),this}getZ(t){let e=Vi(this.array[t*this.itemSize+2]);return this.normalized&&(e=Ge(e,this.array)),e}setZ(t,e){return this.normalized&&(e=Ve(e,this.array)),this.array[t*this.itemSize+2]=Gi(e),this}getW(t){let e=Vi(this.array[t*this.itemSize+3]);return this.normalized&&(e=Ge(e,this.array)),e}setW(t,e){return this.normalized&&(e=Ve(e,this.array)),this.array[t*this.itemSize+3]=Gi(e),this}setXY(t,e,n){return t*=this.itemSize,this.normalized&&(e=Ve(e,this.array),n=Ve(n,this.array)),this.array[t+0]=Gi(e),this.array[t+1]=Gi(n),this}setXYZ(t,e,n,i){return t*=this.itemSize,this.normalized&&(e=Ve(e,this.array),n=Ve(n,this.array),i=Ve(i,this.array)),this.array[t+0]=Gi(e),this.array[t+1]=Gi(n),this.array[t+2]=Gi(i),this}setXYZW(t,e,n,i,r){return t*=this.itemSize,this.normalized&&(e=Ve(e,this.array),n=Ve(n,this.array),i=Ve(i,this.array),r=Ve(r,this.array)),this.array[t+0]=Gi(e),this.array[t+1]=Gi(n),this.array[t+2]=Gi(i),this.array[t+3]=Gi(r),this}},t.Float32BufferAttribute=Zi,t.Float64BufferAttribute=class extends qi{constructor(t,e,n){super(new Float64Array(t),e,n)}},t.FloatType=vt,t.Fog=Co,t.FogExp2=Ao,t.FramebufferTexture=class extends hn{constructor(t,e,n){super({width:t,height:e}),this.isFramebufferTexture=!0,this.format=n,this.magFilter=st,this.minFilter=st,this.generateMipmaps=!1,this.needsUpdate=!0}},t.FrontSide=l,t.Frustum=Gr,t.GLBufferAttribute=class{constructor(t,e,n,i,r){this.isGLBufferAttribute=!0,this.name="",this.buffer=t,this.type=e,this.itemSize=n,this.elementSize=i,this.count=r,this.version=0}set needsUpdate(t){!0===t&&this.version++}setBuffer(t){return this.buffer=t,this}setType(t,e){return this.type=t,this.elementSize=e,this}setItemSize(t){return this.itemSize=t,this}setCount(t){return this.count=t,this}},t.GLSL1="100",t.GLSL3=Ae,t.GreaterDepth=F,t.GreaterEqualDepth=B,t.GreaterEqualStencilFunc=518,t.GreaterStencilFunc=516,t.GridHelper=class extends Cl{constructor(t=10,e=10,n=4473924,i=8947848){n=new Oi(n),i=new Oi(i);const r=e/2,s=t/e,a=t/2,o=[],l=[];for(let t=0,c=0,h=-a;t<=e;t++,h+=s){o.push(-a,0,h,a,0,h),o.push(h,0,-a,h,0,a);const e=t===r?n:i;e.toArray(l,c),c+=3,e.toArray(l,c),c+=3,e.toArray(l,c),c+=3,e.toArray(l,c),c+=3}const c=new ir;c.setAttribute("position",new Zi(o,3)),c.setAttribute("color",new Zi(l,3));super(c,new xl({vertexColors:!0,toneMapped:!1})),this.type="GridHelper"}dispose(){this.geometry.dispose(),this.material.dispose()}},t.Group=vo,t.HalfFloatType=_t,t.HemisphereLight=Xh,t.HemisphereLightHelper=class extends vi{constructor(t,e,n){super(),this.light=t,this.matrix=t.matrixWorld,this.matrixAutoUpdate=!1,this.color=n,this.type="HemisphereLightHelper";const i=new Jc(e);i.rotateY(.5*Math.PI),this.material=new Bi({wireframe:!0,fog:!1,toneMapped:!1}),void 0===this.color&&(this.material.vertexColors=!0);const r=i.getAttribute("position"),s=new Float32Array(3*r.count);i.setAttribute("color",new qi(s,3)),this.add(new Mr(i,this.material)),this.update()}dispose(){this.children[0].geometry.dispose(),this.children[0].material.dispose()}update(){const t=this.children[0];if(void 0!==this.color)this.material.color.set(this.color);else{const e=t.geometry.getAttribute("color");id.copy(this.light.color),rd.copy(this.light.groundColor);for(let t=0,n=e.count;t<n;t++){const i=t<n/2?id:rd;e.setXYZ(t,i.r,i.g,i.b)}e.needsUpdate=!0}this.light.updateWorldMatrix(!0,!1),t.lookAt(nd.setFromMatrixPosition(this.light.matrixWorld).negate())}},t.HemisphereLightProbe=class extends hu{constructor(t,e,n=1){super(void 0,n),this.isHemisphereLightProbe=!0;const i=new Oi().set(t),r=new Oi().set(e),s=new gn(i.r,i.g,i.b),a=new gn(r.r,r.g,r.b),o=Math.sqrt(Math.PI),l=o*Math.sqrt(.75);this.sh.coefficients[0].copy(s).add(a).multiplyScalar(o),this.sh.coefficients[1].copy(s).sub(a).multiplyScalar(l)}},t.IcosahedronBufferGeometry=class extends Zc{constructor(t,e){console.warn("THREE.IcosahedronBufferGeometry has been renamed to THREE.IcosahedronGeometry."),super(t,e)}},t.IcosahedronGeometry=Zc,t.ImageBitmapLoader=class extends Gh{constructor(t){super(t),this.isImageBitmapLoader=!0,"undefined"==typeof createImageBitmap&&console.warn("THREE.ImageBitmapLoader: createImageBitmap() not supported."),"undefined"==typeof fetch&&console.warn("THREE.ImageBitmapLoader: fetch() not supported."),this.options={premultiplyAlpha:"none"}}setOptions(t){return this.options=t,this}load(t,e,n,i){void 0===t&&(t=""),void 0!==this.path&&(t=this.path+t),t=this.manager.resolveURL(t);const r=this,s=Bh.get(t);if(void 0!==s)return r.manager.itemStart(t),setTimeout(function(){e&&e(s),r.manager.itemEnd(t)},0),s;const a={};a.credentials="anonymous"===this.crossOrigin?"same-origin":"include",a.headers=this.requestHeader,fetch(t,a).then(function(t){return t.blob()}).then(function(t){return createImageBitmap(t,Object.assign(r.options,{colorSpaceConversion:"none"}))}).then(function(n){Bh.add(t,n),e&&e(n),r.manager.itemEnd(t)}
3856).catch(function(e){i&&i(e),r.manager.itemError(t),r.manager.itemEnd(t)}),r.manager.itemStart(t)}},t.ImageLoader=jh,t.ImageUtils=an,t.IncrementStencilOp=7682,t.IncrementWrapStencilOp=34055,t.InstancedBufferAttribute=hl,t.InstancedBufferGeometry=pu,t.InstancedInterleavedBuffer=class extends Po{constructor(t,e,n=1){super(t,e),this.isInstancedInterleavedBuffer=!0,this.meshPerAttribute=n}copy(t){return super.copy(t),this.meshPerAttribute=t.meshPerAttribute,this}clone(t){const e=super.clone(t);return e.meshPerAttribute=this.meshPerAttribute,e}toJSON(t){const e=super.toJSON(t);return e.isInstancedInterleavedBuffer=!0,e.meshPerAttribute=this.meshPerAttribute,e}},t.InstancedMesh=_l,t.Int16BufferAttribute=class extends qi{constructor(t,e,n){super(new Int16Array(t),e,n)}},t.Int32BufferAttribute=class extends qi{constructor(t,e,n){super(new Int32Array(t),e,n)}},t.Int8BufferAttribute=class extends qi{constructor(t,e,n){super(new Int8Array(t),e,n)}},t.IntType=ft,t.InterleavedBuffer=Po,t.InterleavedBufferAttribute=Io,t.Interpolant=wh,t.InterpolateDiscrete=ce,t.InterpolateLinear=he,t.InterpolateSmooth=ue,t.InvertStencilOp=5386,t.KeepStencilOp=Te,t.KeyframeTrack=Ch,t.LOD=Ko,t.LatheBufferGeometry=class extends ac{constructor(t,e,n,i){console.warn("THREE.LatheBufferGeometry has been renamed to THREE.LatheGeometry."),super(t,e,n,i)}},t.LatheGeometry=ac,t.Layers=ii,t.LessDepth=N,t.LessEqualDepth=O,t.LessEqualStencilFunc=515,t.LessStencilFunc=513,t.Light=qh,t.LightProbe=hu,t.Line=Tl,t.Line3=class{constructor(t=new gn,e=new gn){this.start=t,this.end=e}set(t,e){return this.start.copy(t),this.end.copy(e),this}copy(t){return this.start.copy(t.start),this.end.copy(t.end),this}getCenter(t){return t.addVectors(this.start,this.end).multiplyScalar(.5)}delta(t){return t.subVectors(this.end,this.start)}distanceSq(){return this.start.distanceToSquared(this.end)}distance(){return this.start.distanceTo(this.end)}at(t,e){return this.delta(e).multiplyScalar(t).add(this.start)}closestPointToPointParameter(t,e){Zu.subVectors(t,this.start),Ju.subVectors(this.end,this.start);const n=Ju.dot(Ju);let i=Ju.dot(Zu)/n;return e&&(i=Ne(i,0,1)),i}closestPointToPoint(t,e,n){const i=this.closestPointToPointParameter(t,e);return this.delta(n).multiplyScalar(i).add(this.start)}applyMatrix4(t){return this.start.applyMatrix4(t),this.end.applyMatrix4(t),this}equals(t){return t.start.equals(this.start)&&t.end.equals(this.end)}clone(){return new this.constructor().copy(this)}},t.LineBasicMaterial=xl,t.LineCurve=$l,t.LineCurve3=Ql,t.LineDashedMaterial=gh,t.LineLoop=Ll,t.LineSegments=Cl,t.LinearEncoding=ve,t.LinearFilter=lt,t.LinearInterpolant=Eh,t.LinearMipMapLinearFilter=1008,t.LinearMipMapNearestFilter=1007,t.LinearMipmapLinearFilter=ht,t.LinearMipmapNearestFilter=ct,t.LinearSRGBColorSpace=be,t.LinearToneMapping=j,t.Loader=Gh,t.LoaderUtils=du,t.LoadingManager=Fh,t.LoopOnce=2200,t.LoopPingPong=2202,t.LoopRepeat=2201,t.LuminanceAlphaFormat=Tt,t.LuminanceFormat=wt,t.MOUSE={LEFT:0,MIDDLE:1,RIGHT:2,ROTATE:0,DOLLY:1,PAN:2},t.Material=Ri,t.MaterialLoader=uu,t.MathUtils=He,t.Matrix3=je,t.Matrix4=qn,t.MaxEquation=M,t.Mesh=Mr,t.MeshBasicMaterial=Bi,t.MeshDepthMaterial=oo,t.MeshDistanceMaterial=lo,t.MeshLambertMaterial=mh,t.MeshMatcapMaterial=fh,t.MeshNormalMaterial=ph,t.MeshPhongMaterial=uh,t.MeshPhysicalMaterial=hh,t.MeshStandardMaterial=ch,t.MeshToonMaterial=dh,t.MinEquation=y,t.MirroredRepeatWrapping=rt,t.MixOperation=V,t.MultiplyBlending=f,t.MultiplyOperation=G,t.NearestFilter=st,t.NearestMipMapLinearFilter=1005,t.NearestMipMapNearestFilter=1004,t.NearestMipmapLinearFilter=ot,t.NearestMipmapNearestFilter=at,t.NeverDepth=D,t.NeverStencilFunc=512,t.NoBlending=u,t.NoColorSpace="",t.NoToneMapping=W,t.NormalAnimationBlendMode=fe,t.NormalBlending=d,t.NotEqualDepth=k,t.NotEqualStencilFunc=517,t.NumberKeyframeTrack=Rh,t.Object3D=vi,t.ObjectLoader=class extends Gh{constructor(t){super(t)}load(t,e,n,i){const r=this,s=""===this.path?du.extractUrlBase(t):this.path;this.resourcePath=this.resourcePath||s;const a=new Wh(this.manager);a.setPath(this.path),a.setRequestHeader(this.requestHeader),a.setWithCredentials(this.withCredentials),a.load(t,function(n){let s=null;try{s=JSON.parse(n)}catch(e){return void 0!==i&&i(e),void console.error("THREE:ObjectLoader: Can't parse "+t+".",e.message)}const a=s.metadata;if(void 0===a||void 0===a.type||"geometry"===a.type.toLowerCase())return void 0!==i&&i(new Error("THREE.ObjectLoader: Can't load "+t)),void console.error("THREE.ObjectLoader: Can't load "+t);r.parse(s,e)},n,i)}async loadAsync(t,e){const n=""===this.path?du.extractUrlBase(t):this.path;this.resourcePath=this.resourcePath||n;const i=new Wh(this.manager);i.setPath(this.path),i.setRequestHeader(this.requestHeader),i.setWithCredentials(this.withCredentials);const r=await i.loadAsync(t,e),s=JSON.parse(r),a=s.metadata;if(void 0===a||void 0===a.type||"geometry"===a.type.toLowerCase())throw new Error("THREE.ObjectLoader: Can't load "+t);return await this.parseAsync(s)}parse(t,e){const n=this.parseAnimations(t.animations),i=this.parseShapes(t.shapes),r=this.parseGeometries(t.geometries,i),s=this.parseImages(t.images,function(){void 0!==e&&e(l)}),a=this.parseTextures(t.textures,s),o=this.parseMaterials(t.materials,a),l=this.parseObject(t.object,r,o,a,n),c=this.parseSkeletons(t.skeletons,l);if(this.bindSkeletons(l,c),void 0!==e){let t=!1;for(const e in s)if(s[e].data instanceof HTMLImageElement){t=!0;break}!1===t&&e(l)}return l}async parseAsync(t){const e=this.parseAnimations(t.animations),n=this.parseShapes(t.shapes),i=this.parseGeometries(t.geometries,n),r=await this.parseImagesAsync(t.images),s=this.parseTextures(t.textures,r),a=this.parseMaterials(t.materials,s),o=this.parseObject(t.object,i,a,s,e),l=this.parseSkeletons(t.skeletons,o);return this.bindSkeletons(o,l),o}parseShapes(t){const e={};if(void 0!==t)for(let n=0,i=t.length;n<i;n++){const i=new _c().fromJSON(t[n]);e[i.uuid]=i}return e}parseSkeletons(t,e){const n={},i={};if(e.traverse(function(t){t.isBone&&(i[t.uuid]=t)}),void 0!==t)for(let e=0,r=t.length;e<r;e++){const r=new cl().fromJSON(t[e],i);n[r.uuid]=r}return n}parseGeometries(t,e){const n={};if(void 0!==t){const i=new mu;
vendor: 20,985 bytes, line 3856
3856for(let r=0,s=t.length;r<s;r++){let s;const a=t[r];switch(a.type){case"BufferGeometry":case"InstancedBufferGeometry":s=i.parse(a);break;default:a.type in ah?s=ah[a.type].fromJSON(a,e):console.warn(`THREE.ObjectLoader: Unsupported geometry type "${a.type}"`);}s.uuid=a.uuid,void 0!==a.name&&(s.name=a.name),void 0!==a.userData&&(s.userData=a.userData),n[a.uuid]=s}}return n}parseMaterials(t,e){const n={},i={};if(void 0!==t){const r=new uu;r.setTextures(e);for(let e=0,s=t.length;e<s;e++){const s=t[e];void 0===n[s.uuid]&&(n[s.uuid]=r.parse(s)),i[s.uuid]=n[s.uuid]}}return i}parseAnimations(t){const e={};if(void 0!==t)for(let n=0;n<t.length;n++){const i=t[n],r=Oh.parse(i);e[r.uuid]=r}return e}parseImages(t,e){const n=this,i={};let r;function s(t){if("string"==typeof t){const e=t;return function(t){return n.manager.itemStart(t),r.load(t,function(){n.manager.itemEnd(t)},void 0,function(){n.manager.itemError(t),n.manager.itemEnd(t)})}(/^(\/\/)|([a-z]+:(\/\/)?)/i.test(e)?e:n.resourcePath+e)}return t.data?{data:Ze(t.type,t.data),width:t.width,height:t.height}:null}if(void 0!==t&&t.length>0){const n=new Fh(e);r=new jh(n),r.setCrossOrigin(this.crossOrigin);for(let e=0,n=t.length;e<n;e++){const n=t[e],r=n.url;if(Array.isArray(r)){const t=[];for(let e=0,n=r.length;e<n;e++){const n=s(r[e]);null!==n&&(n instanceof HTMLImageElement?t.push(n):t.push(new al(n.data,n.width,n.height)))}i[n.uuid]=new on(t)}else{const t=s(n.url);i[n.uuid]=new on(t)}}}return i}async parseImagesAsync(t){const e=this,n={};let i;async function r(t){if("string"==typeof t){const n=t,r=/^(\/\/)|([a-z]+:(\/\/)?)/i.test(n)?n:e.resourcePath+n;return await i.loadAsync(r)}return t.data?{data:Ze(t.type,t.data),width:t.width,height:t.height}:null}if(void 0!==t&&t.length>0){i=new jh(this.manager),i.setCrossOrigin(this.crossOrigin);for(let e=0,i=t.length;e<i;e++){const i=t[e],s=i.url;if(Array.isArray(s)){const t=[];for(let e=0,n=s.length;e<n;e++){const n=s[e],i=await r(n);null!==i&&(i instanceof HTMLImageElement?t.push(i):t.push(new al(i.data,i.width,i.height)))}n[i.uuid]=new on(t)}else{const t=await r(i.url);n[i.uuid]=new on(t)}}}return n}parseTextures(t,e){function n(t,e){return"number"==typeof t?t:(console.warn("THREE.ObjectLoader.parseTexture: Constant should be in numeric form.",t),e[t])}const i={};if(void 0!==t)for(let r=0,s=t.length;r<s;r++){const s=t[r];void 0===s.image&&console.warn("THREE.ObjectLoader: No \"image\" specified for",s.uuid),void 0===e[s.image]&&console.warn("THREE.ObjectLoader: Undefined image",s.image);const a=e[s.image],o=a.data;let l;Array.isArray(o)?(l=new Dr,6===o.length&&(l.needsUpdate=!0)):(l=o&&o.data?new al:new hn,o&&(l.needsUpdate=!0)),l.source=a,l.uuid=s.uuid,void 0!==s.name&&(l.name=s.name),void 0!==s.mapping&&(l.mapping=n(s.mapping,fu)),void 0!==s.channel&&(l.channel=s.channel),void 0!==s.offset&&l.offset.fromArray(s.offset),void 0!==s.repeat&&l.repeat.fromArray(s.repeat),void 0!==s.center&&l.center.fromArray(s.center),void 0!==s.rotation&&(l.rotation=s.rotation),void 0!==s.wrap&&(l.wrapS=n(s.wrap[0],gu),l.wrapT=n(s.wrap[1],gu)),void 0!==s.format&&(l.format=s.format),void 0!==s.internalFormat&&(l.internalFormat=s.internalFormat),void 0!==s.type&&(l.type=s.type),void 0!==s.encoding&&(l.encoding=s.encoding),void 0!==s.minFilter&&(l.minFilter=n(s.minFilter,vu)),void 0!==s.magFilter&&(l.magFilter=n(s.magFilter,vu)),void 0!==s.anisotropy&&(l.anisotropy=s.anisotropy),void 0!==s.flipY&&(l.flipY=s.flipY),void 0!==s.generateMipmaps&&(l.generateMipmaps=s.generateMipmaps),void 0!==s.premultiplyAlpha&&(l.premultiplyAlpha=s.premultiplyAlpha),void 0!==s.unpackAlignment&&(l.unpackAlignment=s.unpackAlignment),void 0!==s.userData&&(l.userData=s.userData),i[s.uuid]=l}return i}parseObject(t,e,n,i,r){let s,a,o;function l(t){return void 0===e[t]&&console.warn("THREE.ObjectLoader: Undefined geometry",t),e[t]}function c(t){if(void 0!==t){if(Array.isArray(t)){const e=[];for(let i=0,r=t.length;i<r;i++){const r=t[i];void 0===n[r]&&console.warn("THREE.ObjectLoader: Undefined material",r),e.push(n[r])}return e}return void 0===n[t]&&console.warn("THREE.ObjectLoader: Undefined material",t),n[t]}}function h(t){return void 0===i[t]&&console.warn("THREE.ObjectLoader: Undefined texture",t),i[t]}switch(t.type){case"Scene":s=new Lo,void 0!==t.background&&(Number.isInteger(t.background)?s.background=new Oi(t.background):s.background=h(t.background)),void 0!==t.environment&&(s.environment=h(t.environment)),void 0!==t.fog&&("Fog"===t.fog.type?s.fog=new Co(t.fog.color,t.fog.near,t.fog.far):"FogExp2"===t.fog.type&&(s.fog=new Ao(t.fog.color,t.fog.density))),void 0!==t.backgroundBlurriness&&(s.backgroundBlurriness=t.backgroundBlurriness),void 0!==t.backgroundIntensity&&(s.backgroundIntensity=t.backgroundIntensity);break;case"PerspectiveCamera":s=new Pr(t.fov,t.aspect,t.near,t.far),void 0!==t.focus&&(s.focus=t.focus),void 0!==t.zoom&&(s.zoom=t.zoom),void 0!==t.filmGauge&&(s.filmGauge=t.filmGauge),void 0!==t.filmOffset&&(s.filmOffset=t.filmOffset),void 0!==t.view&&(s.view=Object.assign({},t.view));break;case"OrthographicCamera":s=new es(t.left,t.right,t.top,t.bottom,t.near,t.far),void 0!==t.zoom&&(s.zoom=t.zoom),void 0!==t.view&&(s.view=Object.assign({},t.view));break;case"AmbientLight":s=new ou(t.color,t.intensity);break;case"DirectionalLight":s=new au(t.color,t.intensity);break;case"PointLight":s=new ru(t.color,t.intensity,t.distance,t.decay);break;case"RectAreaLight":s=new lu(t.color,t.intensity,t.width,t.height);break;case"SpotLight":s=new Qh(t.color,t.intensity,t.distance,t.angle,t.penumbra,t.decay);break;case"HemisphereLight":s=new Xh(t.color,t.groundColor,t.intensity);break;case"LightProbe":s=new hu().fromJSON(t);break;case"SkinnedMesh":a=l(t.geometry),o=c(t.material),s=new rl(a,o),void 0!==t.bindMode&&(s.bindMode=t.bindMode),void 0!==t.bindMatrix&&s.bindMatrix.fromArray(t.bindMatrix),void 0!==t.skeleton&&(s.skeleton=t.skeleton);break;case"Mesh":a=l(t.geometry),o=c(t.material),s=new Mr(a,o);break;case"InstancedMesh":a=l(t.geometry),o=c(t.material);const e=t.count,n=t.instanceMatrix,i=t.instanceColor;s=new _l(a,o,e),s.instanceMatrix=new hl(new Float32Array(n.array),16),void 0!==i&&(s.instanceColor=new hl(new Float32Array(i.array),i.itemSize));break;case"LOD":s=new Ko;break;case"Line":s=new Tl(l(t.geometry),c(t.material));break;case"LineLoop":s=new Ll(l(t.geometry),c(t.material));break;case"LineSegments":s=new Cl(l(t.geometry),c(t.material));break;case"PointCloud":case"Points":s=new Nl(l(t.geometry),c(t.material));break;case"Sprite":s=new Xo(c(t.material));break;case"Group":s=new vo;break;case"Bone":s=new sl;break;default:s=new vi;}if(s.uuid=t.uuid,void 0!==t.name&&(s.name=t.name),void 0!==t.matrix?(s.matrix.fromArray(t.matrix),void 0!==t.matrixAutoUpdate&&(s.matrixAutoUpdate=t.matrixAutoUpdate),s.matrixAutoUpdate&&s.matrix.decompose(s.position,s.quaternion,s.scale)):(void 0!==t.position&&s.position.fromArray(t.position),void 0!==t.rotation&&s.rotation.fromArray(t.rotation),void 0!==t.quaternion&&s.quaternion.fromArray(t.quaternion),void 0!==t.scale&&s.scale.fromArray(t.scale)),void 0!==t.up&&s.up.fromArray(t.up),void 0!==t.castShadow&&(s.castShadow=t.castShadow),void 0!==t.receiveShadow&&(s.receiveShadow=t.receiveShadow),t.shadow&&(void 0!==t.shadow.bias&&(s.shadow.bias=t.shadow.bias),void 0!==t.shadow.normalBias&&(s.shadow.normalBias=t.shadow.normalBias),void 0!==t.shadow.radius&&(s.shadow.radius=t.shadow.radius),void 0!==t.shadow.mapSize&&s.shadow.mapSize.fromArray(t.shadow.mapSize),void 0!==t.shadow.camera&&(s.shadow.camera=this.parseObject(t.shadow.camera))),void 0!==t.visible&&(s.visible=t.visible),void 0!==t.frustumCulled&&(s.frustumCulled=t.frustumCulled),void 0!==t.renderOrder&&(s.renderOrder=t.renderOrder),void 0!==t.userData&&(s.userData=t.userData),void 0!==t.layers&&(s.layers.mask=t.layers),void 0!==t.children){const a=t.children;for(let t=0;t<a.length;t++)s.add(this.parseObject(a[t],e,n,i,r))}if(void 0!==t.animations){const e=t.animations;for(let t=0;t<e.length;t++){const n=e[t];s.animations.push(r[n])}}if("LOD"===t.type){void 0!==t.autoUpdate&&(s.autoUpdate=t.autoUpdate);const e=t.levels;for(let t=0;t<e.length;t++){const n=e[t],i=s.getObjectByProperty("uuid",n.object);void 0!==i&&s.addLevel(i,n.distance,n.hysteresis)}}return s}bindSkeletons(t,e){0!==Object.keys(e).length&&t.traverse(function(t){if(!0===t.isSkinnedMesh&&void 0!==t.skeleton){const n=e[t.skeleton];void 0===n?console.warn("THREE.ObjectLoader: No skeleton found with UUID:",t.skeleton):t.bind(n,t.bindMatrix)}})}},t.ObjectSpaceNormalMap=Me,t.OctahedronBufferGeometry=class extends Jc{constructor(t,e){console.warn("THREE.OctahedronBufferGeometry has been renamed to THREE.OctahedronGeometry."),super(t,e)}},t.OctahedronGeometry=Jc,t.OneFactor=b,t.OneMinusDstAlphaFactor=L,t.OneMinusDstColorFactor=R,t.OneMinusSrcAlphaFactor=A,t.OneMinusSrcColorFactor=T,t.OrthographicCamera=es,t.PCFShadowMap=s,t.PCFSoftShadowMap=a,t.PMREMGenerator=us,t.Path=sc,t.PerspectiveCamera=Pr,t.Plane=Br,t.PlaneBufferGeometry=class extends Wr{constructor(t,e,n,i){console.warn("THREE.PlaneBufferGeometry has been renamed to THREE.PlaneGeometry."),super(t,e,n,i)}},t.PlaneGeometry=Wr,t.PlaneHelper=class extends Tl{constructor(t,e=1,n=16776960){const i=n,r=new ir;r.setAttribute("position",new Zi([1,-1,0,-1,1,0,-1,-1,0,1,1,0,-1,1,0,-1,-1,0,1,-1,0,1,1,0],3)),r.computeBoundingSphere(),super(r,new xl({color:i,toneMapped:!1})),this.type="PlaneHelper",this.plane=t,this.size=e;const s=new ir;s.setAttribute("position",new Zi([1,1,0,-1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,-1,0],3)),s.computeBoundingSphere(),this.add(new Mr(s,new Bi({color:i,opacity:.2,transparent:!0,depthWrite:!1,toneMapped:!1})))}updateMatrixWorld(t){this.position.set(0,0,0),this.scale.set(.5*this.size,.5*this.size,1),this.lookAt(this.plane.normal),this.translateZ(-this.plane.constant),super.updateMatrixWorld(t)}dispose(){this.geometry.dispose(),this.material.dispose(),this.children[0].geometry.dispose(),this.children[0].material.dispose()}},t.PointLight=ru,t.PointLightHelper=class extends Mr{constructor(t,e,n){super(new Qc(e,4,2),new Bi({wireframe:!0,fog:!1,toneMapped:!1})),this.light=t,this.color=n,this.type="PointLightHelper",this.matrix=this.light.matrixWorld,this.matrixAutoUpdate=!1,this.update()}dispose(){this.geometry.dispose(),this.material.dispose()}update(){this.light.updateWorldMatrix(!0,!1),void 0!==this.color?this.material.color.set(this.color):this.material.color.copy(this.light.color)}},t.Points=Nl,t.PointsMaterial=Pl,t.PolarGridHelper=class extends Cl{constructor(t=10,e=16,n=8,i=64,r=4473924,s=8947848){r=new Oi(r),s=new Oi(s);const a=[],o=[];if(e>1)for(let n=0;n<e;n++){const i=n/e*(2*Math.PI),l=Math.sin(i)*t,c=Math.cos(i)*t;a.push(0,0,0),a.push(l,0,c);const h=1&n?r:s;o.push(h.r,h.g,h.b),o.push(h.r,h.g,h.b)}for(let e=0;e<n;e++){const l=1&e?r:s,c=t-t/n*e;for(let t=0;t<i;t++){let e=t/i*(2*Math.PI),n=Math.sin(e)*c,r=Math.cos(e)*c;a.push(n,0,r),o.push(l.r,l.g,l.b),e=(t+1)/i*(2*Math.PI),n=Math.sin(e)*c,r=Math.cos(e)*c,a.push(n,0,r),o.push(l.r,l.g,l.b)}}const l=new ir;l.setAttribute("position",new Zi(a,3)),l.setAttribute("color",new Zi(o,3));super(l,new xl({vertexColors:!0,toneMapped:!1})),this.type="PolarGridHelper"}dispose(){this.geometry.dispose(),this.material.dispose()}},t.PolyhedronBufferGeometry=class extends uc{constructor(t,e,n,i){console.warn("THREE.PolyhedronBufferGeometry has been renamed to THREE.PolyhedronGeometry."),super(t,e,n,i)}},t.PolyhedronGeometry=uc,t.PositionalAudio=class extends Lu{constructor(t){super(t),this.panner=this.context.createPanner(),this.panner.panningModel="HRTF",this.panner.connect(this.gain)}disconnect(){super.disconnect(),this.panner.disconnect(this.gain)}getOutput(){return this.panner}getRefDistance(){return this.panner.refDistance}setRefDistance(t){return this.panner.refDistance=t,this}getRolloffFactor(){return this.panner.rolloffFactor}setRolloffFactor(t){return this.panner.rolloffFactor=t,this}getDistanceModel(){return this.panner.distanceModel}setDistanceModel(t){return this.panner.distanceModel=t,this}getMaxDistance(){return this.panner.maxDistance}setMaxDistance(t){return this.panner.maxDistance=t,this}setDirectionalCone(t,e,n){return this.panner.coneInnerAngle=t,this.panner.coneOuterAngle=e,this.panner.coneOuterGain=n,this}updateMatrixWorld(t){if(super.updateMatrixWorld(t),!0===this.hasPlaybackControl&&!1===this.isPlaying)return;this.matrixWorld.decompose(Pu,Ru,Iu),Du.set(0,0,1).applyQuaternion(Ru);const e=this.panner;if(e.positionX){const t=this.context.currentTime+this.listener.timeDelta;e.positionX.linearRampToValueAtTime(Pu.x,t),e.positionY.linearRampToValueAtTime(Pu.y,t),e.positionZ.linearRampToValueAtTime(Pu.z,t),e.orientationX.linearRampToValueAtTime(Du.x,t),e.orientationY.linearRampToValueAtTime(Du.y,t),e.orientationZ.linearRampToValueAtTime(Du.z,t)}else e.setPosition(Pu.x,Pu.y,Pu.z),e.setOrientation(Du.x,Du.y,Du.z)}},t.PropertyBinding=Gu,t.PropertyMixer=Uu,t.QuadraticBezierCurve=tc,t.QuadraticBezierCurve3=ec,t.Quaternion=fn,t.QuaternionKeyframeTrack=Dh,t.QuaternionLinearInterpolant=Ih,t.RED_GREEN_RGTC2_Format=oe,t.RED_RGTC1_Format=se,t.REVISION=e,t.RGBADepthPacking=xe,t.RGBAFormat=bt,t.RGBAIntegerFormat=It,t.RGBA_ASTC_10x10_Format=ee,t.RGBA_ASTC_10x5_Format=$t,t.RGBA_ASTC_10x6_Format=Qt,t.RGBA_ASTC_10x8_Format=te,t.RGBA_ASTC_12x10_Format=ne,t.RGBA_ASTC_12x12_Format=ie,t.RGBA_ASTC_4x4_Format=Wt,t.RGBA_ASTC_5x4_Format=jt,t.RGBA_ASTC_5x5_Format=qt,t.RGBA_ASTC_6x5_Format=Xt,t.RGBA_ASTC_6x6_Format=Yt,t.RGBA_ASTC_8x5_Format=Zt,t.RGBA_ASTC_8x6_Format=Jt,t.RGBA_ASTC_8x8_Format=Kt,t.RGBA_BPTC_Format=re,t.RGBA_ETC2_EAC_Format=Ht,t.RGBA_PVRTC_2BPPV1_Format=kt,t.RGBA_PVRTC_4BPPV1_Format=Ft,t.RGBA_S3TC_DXT1_Format=Ut,t.RGBA_S3TC_DXT3_Format=Nt,t.RGBA_S3TC_DXT5_Format=Ot,t.RGB_ETC1_Format=Gt,t.RGB_ETC2_Format=Vt,t.RGB_PVRTC_2BPPV1_Format=Bt,t.RGB_PVRTC_4BPPV1_Format=zt,t.RGB_S3TC_DXT1_Format=Dt,t.RGFormat=Pt,t.RGIntegerFormat=Rt,t.RawShaderMaterial=lh,t.Ray=jn,t.Raycaster=class{constructor(t,e,n=0,i=1/0){this.ray=new jn(t,e),this.near=n,this.far=i,this.camera=null,this.layers=new ii,this.params={Mesh:{},Line:{threshold:1},LOD:{},Points:{threshold:1},Sprite:{}}}set(t,e){this.ray.set(t,e)}setFromCamera(t,e){e.isPerspectiveCamera?(this.ray.origin.setFromMatrixPosition(e.matrixWorld),this.ray.direction.set(t.x,t.y,.5).unproject(e).sub(this.ray.origin).normalize(),this.camera=e):e.isOrthographicCamera?(this.ray.origin.set(t.x,t.y,(e.near+e.far)/(e.near-e.far)).unproject(e),this.ray.direction.set(0,0,-1).transformDirection(e.matrixWorld),this.camera=e):console.error("THREE.Raycaster: Unsupported camera type: "+e.type)}intersectObject(t,e=!0,n=[]){return Xu(t,this,n,e),n.sort(qu),n}intersectObjects(t,e=!0,n=[]){for(let i=0,r=t.length;i<r;i++)Xu(t[i],this,n,e);return n.sort(qu),n}},t.RectAreaLight=lu,t.RedFormat=Ct,t.RedIntegerFormat=Lt,t.ReinhardToneMapping=q,t.RepeatWrapping=nt,t.ReplaceStencilOp=7681,t.ReverseSubtractEquation=x,t.RingBufferGeometry=class extends Kc{constructor(t,e,n,i,r,s){console.warn("THREE.RingBufferGeometry has been renamed to THREE.RingGeometry."),super(t,e,n,i,r,s)}},t.RingGeometry=Kc,t.SIGNED_RED_GREEN_RGTC2_Format=le,t.SIGNED_RED_RGTC1_Format=ae,t.SRGBColorSpace=Se,t.Scene=Lo,t.ShaderChunk=jr,t.ShaderLib=Xr,t.ShaderMaterial=Cr,t.ShadowMaterial=oh,t.Shape=_c,t.ShapeBufferGeometry=class extends $c{constructor(t,e){console.warn("THREE.ShapeBufferGeometry has been renamed to THREE.ShapeGeometry."),super(t,e)}},t.ShapeGeometry=$c,t.ShapePath=class{constructor(){this.type="ShapePath",this.color=new Oi,this.subPaths=[],this.currentPath=null}moveTo(t,e){return this.currentPath=new sc,this.subPaths.push(this.currentPath),this.currentPath.moveTo(t,e),this}lineTo(t,e){return this.currentPath.lineTo(t,e),this}quadraticCurveTo(t,e,n,i){return this.currentPath.quadraticCurveTo(t,e,n,i),this}bezierCurveTo(t,e,n,i,r,s){return this.currentPath.bezierCurveTo(t,e,n,i,r,s),this}splineThru(t){return this.currentPath.splineThru(t),this}toShapes(t){function e(t,e){const n=e.length;let i=!1;for(let r=n-1,s=0;s<n;r=s++){let n=e[r],a=e[s],o=a.x-n.x,l=a.y-n.y;if(Math.abs(l)>Number.EPSILON){if(l<0&&(n=e[s],o=-o,a=e[r],l=-l),t.y<n.y||t.y>a.y)continue;if(t.y===n.y){if(t.x===n.x)return!0}else{const e=l*(t.x-n.x)-o*(t.y-n.y);if(0===e)return!0;if(e<0)continue;i=!i}}else{if(t.y!==n.y)continue;if(a.x<=t.x&&t.x<=n.x||n.x<=t.x&&t.x<=a.x)return!0}}return i}const n=Wc.isClockWise,i=this.subPaths;if(0===i.length)return[];let r,s,a;const o=[];if(1===i.length)return s=i[0],a=new _c,a.curves=s.curves,o.push(a),o;let l=!n(i[0].getPoints());l=t?!l:l;const c=[],h=[];let u,d,p=[],m=0;h[m]=void 0,p[m]=[];for(let e=0,a=i.length;e<a;e++)s=i[e],u=s.getPoints(),r=n(u),r=t?!r:r,r?(!l&&h[m]&&m++,h[m]={s:new _c,p:u},h[m].s.curves=s.curves,l&&m++,p[m]=[]):p[m].push({h:s,p:u[0]});if(!h[0])return function(t){const e=[];for(let n=0,i=t.length;n<i;n++){const i=t[n],r=new _c;r.curves=i.curves,e.push(r)}return e}(i);if(h.length>1){let t=!1,n=0;for(let t=0,e=h.length;t<e;t++)c[t]=[];for(let i=0,r=h.length;i<r;i++){const r=p[i];for(let s=0;s<r.length;s++){const a=r[s];let o=!0;for(let r=0;r<h.length;r++)e(a.p,h[r].p)&&(i!==r&&n++,o?(o=!1,c[r].push(a)):t=!0);o&&c[i].push(a)}}n>0&&!1===t&&(p=c)}for(let t=0,e=h.length;t<e;t++){a=h[t].s,o.push(a),d=p[t];for(let t=0,e=d.length;t<e;t++)a.holes.push(d[t].h)}return o}},t.ShapeUtils=Wc,t.ShortType=pt,t.Skeleton=cl,t.SkeletonHelper=class extends Cl{constructor(t){const e=ed(t),n=new ir,i=[],r=[],s=new Oi(0,0,1),a=new Oi(0,1,0);for(let t=0;t<e.length;t++){const n=e[t];n.parent&&n.parent.isBone&&(i.push(0,0,0),i.push(0,0,0),r.push(s.r,s.g,s.b),r.push(a.r,a.g,a.b))}n.setAttribute("position",new Zi(i,3)),n.setAttribute("color",new Zi(r,3));super(n,new xl({vertexColors:!0,depthTest:!1,depthWrite:!1,toneMapped:!1,transparent:!0})),this.isSkeletonHelper=!0,this.type="SkeletonHelper",this.root=t,this.bones=e,this.matrix=t.matrixWorld,this.matrixAutoUpdate=!1}updateMatrixWorld(t){const e=this.bones,n=this.geometry,i=n.getAttribute("position");td.copy(this.root.matrixWorld).invert();for(let t=0,n=0;t<e.length;t++){const r=e[t];r.parent&&r.parent.isBone&&(Qu.multiplyMatrices(td,r.matrixWorld),$u.setFromMatrixPosition(Qu),i.setXYZ(n,$u.x,$u.y,$u.z),Qu.multiplyMatrices(td,r.parent.matrixWorld),$u.setFromMatrixPosition(Qu),i.setXYZ(n+1,$u.x,$u.y,$u.z),n+=2)}n.getAttribute("position").needsUpdate=!0,super.updateMatrixWorld(t)}dispose(){this.geometry.dispose(),this.material.dispose()}},t.SkinnedMesh=rl,t.Source=on,t.Sphere=zn,t.SphereBufferGeometry=class extends Qc{constructor(t,e,n,i,r,s,a){console.warn("THREE.SphereBufferGeometry has been renamed to THREE.SphereGeometry."),super(t,e,n,i,r,s,a)}},t.SphereGeometry=Qc,t.Spherical=class{constructor(t=1,e=0,n=0){return this.radius=t,this.phi=e,this.theta=n,this}set(t,e,n){return this.radius=t,this.phi=e,this.theta=n,this}copy(t){return this.radius=t.radius,this.phi=t.phi,this.theta=t.theta,this}makeSafe(){const t=1e-6;return this.phi=Math.max(t,Math.min(Math.PI-t,this.phi)),this}setFromVector3(t){return this.setFromCartesianCoords(t.x,t.y,t.z)}setFromCartesianCoords(t,e,n){return this.radius=Math.sqrt(t*t+e*e+n*n),0===this.radius?(this.theta=0,this.phi=0):(this.theta=Math.atan2(t,n),this.phi=Math.acos(Ne(e/this.radius,-1,1))),this}clone(){return new this.constructor().copy(this)}},t.SphericalHarmonics3=cu,t.SplineCurve=nc,t.SpotLight=Qh,t.SpotLightHelper=class extends vi{constructor(t,e){super(),this.light=t,this.matrix=t.matrixWorld,this.matrixAutoUpdate=!1,this.color=e,this.type="SpotLightHelper";const n=new ir,i=[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 t=0,e=1,n=32;t<n;t++,e++){const r=t/n*Math.PI*2,s=e/n*Math.PI*2;i.push(Math.cos(r),Math.sin(r),1,Math.cos(s),Math.sin(s),1)}n.setAttribute("position",new Zi(i,3));const r=new xl({fog:!1,toneMapped:!1});this.cone=new Cl(n,r),this.add(this.cone),this.update()}dispose(){this.cone.geometry.dispose(),this.cone.material.dispose()}update(){this.light.updateWorldMatrix(!0,!1),this.light.target.updateWorldMatrix(!0,!1);const t=this.light.distance?this.light.distance:1e3,e=t*Math.tan(this.light.angle);this.cone.scale.set(e,e,t),Ku.setFromMatrixPosition(this.light.target.matrixWorld),this.cone.lookAt(Ku),void 0!==this.color?this.cone.material.color.set(this.color):this.cone.material.color.copy(this.light.color)}},t.Sprite=Xo,t.SpriteMaterial=Do,t.SrcAlphaFactor=E,t.SrcAlphaSaturateFactor=I,t.SrcColorFactor=w,t.StaticCopyUsage=35046,t.StaticDrawUsage=Ee,t.StaticReadUsage=35045,t.StereoCamera=class{constructor(){this.type="StereoCamera",this.aspect=1,this.eyeSep=.064,this.cameraL=new Pr,this.cameraL.layers.enable(1),this.cameraL.matrixAutoUpdate=!1,this.cameraR=new Pr,this.cameraR.layers.enable(2),this.cameraR.matrixAutoUpdate=!1,this._cache={focus:null,fov:null,aspect:null,near:null,far:null,zoom:null,eyeSep:null}}update(t){const e=this._cache;if(e.focus!==t.focus||e.fov!==t.fov||e.aspect!==t.aspect*this.aspect||e.near!==t.near||e.far!==t.far||e.zoom!==t.zoom||e.eyeSep!==this.eyeSep){e.focus=t.focus,e.fov
3856=t.fov,e.aspect=t.aspect*this.aspect,e.near=t.near,e.far=t.far,e.zoom=t.zoom,e.eyeSep=this.eyeSep,Su.copy(t.projectionMatrix);const n=e.eyeSep/2,i=n*e.near/e.focus,r=e.near*Math.tan(Ie*e.fov*.5)/e.zoom;let s,a;Mu.elements[12]=-n,yu.elements[12]=n,s=-r*e.aspect+i,a=r*e.aspect+i,Su.elements[0]=2*e.near/(a-s),Su.elements[8]=(a+s)/(a-s),this.cameraL.projectionMatrix.copy(Su),s=-r*e.aspect-i,a=r*e.aspect-i,Su.elements[0]=2*e.near/(a-s),Su.elements[8]=(a+s)/(a-s),this.cameraR.projectionMatrix.copy(Su)}this.cameraL.matrixWorld.copy(t.matrixWorld).multiply(Mu),this.cameraR.matrixWorld.copy(t.matrixWorld).multiply(yu)}},t.StreamCopyUsage=35042,t.StreamDrawUsage=35040,t.StreamReadUsage=35041,t.StringKeyframeTrack=Uh,t.SubtractEquation=_,t.SubtractiveBlending=m,t.TOUCH={ROTATE:0,PAN:1,DOLLY_PAN:2,DOLLY_ROTATE:3},t.TangentSpaceNormalMap=ye,t.TetrahedronBufferGeometry=class extends th{constructor(t,e){console.warn("THREE.TetrahedronBufferGeometry has been renamed to THREE.TetrahedronGeometry."),super(t,e)}},t.TetrahedronGeometry=th,t.Texture=hn,t.TextureLoader=class extends Gh{constructor(t){super(t)}load(t,e,n,i){const r=new hn,s=new jh(this.manager);return s.setCrossOrigin(this.crossOrigin),s.setPath(this.path),s.load(t,function(t){r.image=t,r.needsUpdate=!0,void 0!==e&&e(r)},n,i),r}},t.TorusBufferGeometry=class extends eh{constructor(t,e,n,i,r){console.warn("THREE.TorusBufferGeometry has been renamed to THREE.TorusGeometry."),super(t,e,n,i,r)}},t.TorusGeometry=eh,t.TorusKnotBufferGeometry=class extends nh{constructor(t,e,n,i,r,s){console.warn("THREE.TorusKnotBufferGeometry has been renamed to THREE.TorusKnotGeometry."),super(t,e,n,i,r,s)}},t.TorusKnotGeometry=nh,t.Triangle=Li,t.TriangleFanDrawMode=2,t.TriangleStripDrawMode=1,t.TrianglesDrawMode=0,t.TubeBufferGeometry=class extends ih{constructor(t,e,n,i,r){console.warn("THREE.TubeBufferGeometry has been renamed to THREE.TubeGeometry."),super(t,e,n,i,r)}},t.TubeGeometry=ih,t.TwoPassDoubleSide=2,t.UVMapping=J,t.Uint16BufferAttribute=Xi,t.Uint32BufferAttribute=Yi,t.Uint8BufferAttribute=class extends qi{constructor(t,e,n){super(new Uint8Array(t),e,n)}},t.Uint8ClampedBufferAttribute=class extends qi{constructor(t,e,n){super(new Uint8ClampedArray(t),e,n)}},t.Uniform=Wu,t.UniformsGroup=class extends Le{constructor(){super(),this.isUniformsGroup=!0,Object.defineProperty(this,"id",{value:ju++}),this.name="",this.usage=Ee,this.uniforms=[]}add(t){return this.uniforms.push(t),this}remove(t){const e=this.uniforms.indexOf(t);return-1!==e&&this.uniforms.splice(e,1),this}setName(t){return this.name=t,this}setUsage(t){return this.usage=t,this}dispose(){return this.dispatchEvent({type:"dispose"}),this}copy(t){this.name=t.name,this.usage=t.usage;const e=t.uniforms;this.uniforms.length=0;for(let t=0,n=e.length;t<n;t++)this.uniforms.push(e[t].clone());return this}clone(){return new this.constructor().copy(this)}},t.UniformsLib=qr,t.UniformsUtils=Ar,t.UnsignedByteType=ut,t.UnsignedInt248Type=Mt,t.UnsignedIntType=gt,t.UnsignedShort4444Type=xt,t.UnsignedShort5551Type=yt,t.UnsignedShortType=mt,t.VSMShadowMap=o,t.Vector2=We,t.Vector3=gn,t.Vector4=un,t.VectorKeyframeTrack=Nh,t.VideoTexture=class extends hn{constructor(t,e,n,i,r,s,a,o,l){super(t,e,n,i,r,s,a,o,l),this.isVideoTexture=!0,this.minFilter=void 0!==s?s:lt,this.magFilter=void 0!==r?r:lt,this.generateMipmaps=!1;const c=this;"requestVideoFrameCallback"in t&&t.requestVideoFrameCallback(function e(){c.needsUpdate=!0,t.requestVideoFrameCallback(e)})}clone(){return new this.constructor(this.image).copy(this)}update(){const t=this.image;!1==="requestVideoFrameCallback"in t&&t.readyState>=t.HAVE_CURRENT_DATA&&(this.needsUpdate=!0)}},t.WebGL1Renderer=Eo,t.WebGL3DRenderTarget=class extends dn{constructor(t=1,e=1,n=1){super(t,e),this.isWebGL3DRenderTarget=!0,this.depth=n,this.texture=new mn(null,t,e,n),this.texture.isRenderTargetTexture=!0}},t.WebGLArrayRenderTarget=class extends dn{constructor(t=1,e=1,n=1){super(t,e),this.isWebGLArrayRenderTarget=!0,this.depth=n,this.texture=new pn(null,t,e,n),this.texture.isRenderTargetTexture=!0}},t.WebGLCubeRenderTarget=Ur,t.WebGLMultipleRenderTargets=class extends dn{constructor(t=1,e=1,n=1,i={}
3856){super(t,e,i),this.isWebGLMultipleRenderTargets=!0;const r=this.texture;this.texture=[];for(let t=0;t<n;t++)this.texture[t]=r.clone(),this.texture[t].isRenderTargetTexture=!0}setSize(t,e,n=1){if(this.width!==t||this.height!==e||this.depth!==n){this.width=t,this.height=e,this.depth=n;for(let i=0,r=this.texture.length;i<r;i++)this.texture[i].image.width=t,this.texture[i].image.height=e,this.texture[i].image.depth=n;this.dispose()}return this.viewport.set(0,0,t,e),this.scissor.set(0,0,t,e),this}copy(t){this.dispose(),this.width=t.width,this.height=t.height,this.depth=t.depth,this.viewport.set(0,0,this.width,this.height),this.scissor.set(0,0,this.width,this.height),this.depthBuffer=t.depthBuffer,this.stencilBuffer=t.stencilBuffer,null!==t.depthTexture&&(this.depthTexture=t.depthTexture.clone()),this.texture.length=0;for(let e=0,n=t.texture.length;e<n;e++)this.texture[e]=t.texture[e].clone(),this.texture[e].isRenderTargetTexture=!0;return this}},t.WebGLRenderTarget=dn,t.WebGLRenderer=To,t.WebGLUtils=fo,t.WireframeGeometry=rh,t.WrapAroundEnding=me,t.ZeroCurvatureEnding=de,t.ZeroFactor=S,t.ZeroSlopeEnding=pe,t.ZeroStencilOp=0,t._SRGBAFormat=Ce,t.sRGBEncoding=_e});(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);class MeshBVHNode{constructor(){}}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 getLongestEdgeIndex(bounds){let splitDimIdx=-1;let splitDist=-Infinity;for(let i=0;i<3;i++){const dist=bounds[i+3]-bounds[i];if(dist>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<3;d++){const d3=d+3;aVal=a[d];bVal=b[d];target[d]=aVal<bVal?aVal:bVal;aVal=a[d3];bVal=b[d3];target[d3]=aVal>bVal?aVal:bVal}}function expandByTriangleBounds(startIndex,triangleBounds,bounds){for(let d=0;d<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<bounds[d]){bounds[d]=tMin}if(tMax>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)}function ensureIndex(geo,options){if(!geo.index){const vertexCount=geo.attributes.position.count;const BufferConstructor=options.useSharedArrayBuffer?SharedArrayBuffer:ArrayBuffer;let index;if(vertexCount>65535){index=new Uint32Array(new BufferConstructor(4*vertexCount))}else{index=new Uint16Array(new BufferConstructor(2*vertexCount))}geo.setIndex(new three.BufferAttribute(index,1));for(let i=0;i<vertexCount;i++){index[i]=i}}}function getRootIndexRanges(geo){if(!geo.groups||!geo.groups.length){return[{offset:0,count:geo.index.count/3}]}const ranges=[];const rangeBoundaries=new Set;for(const group of geo.groups){rangeBoundaries.add(group.start);rangeBoundaries.add(group.start+group.count)}const sortedBoundaries=Array.from(rangeBoundaries.values()).sort((a,b)=>a-b);for(let i=0;i<sortedBoundaries.length-1;i++){const start=sortedBoundaries[i],end=sortedBoundaries[i+1];ranges.push({offset:start/3,count:(end-start)/3})}return ranges}function getBounds(triangleBounds,offset,count,target,centroidTarget=null){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;const includeCentroid=centroidTarget!==null;for(let i=offset*6,end=(offset+count)*6;i<end;i+=6){const cx=triangleBounds[i+0];const hx=triangleBounds[i+1];const lx=cx-hx;const rx=cx+hx;if(lx<minx)minx=lx;
3856if(rx>maxx)maxx=rx;if(includeCentroid&&cx<cminx)cminx=cx;if(includeCentroid&&cx>cmaxx)cmaxx=cx;const cy=triangleBounds[i+2];const hy=triangleBounds[i+3];const ly=cy-hy;const ry=cy+hy;if(ly<miny)miny=ly;if(ry>maxy)maxy=ry;if(includeCentroid&&cy<cminy)cminy=cy;if(includeCentroid&&cy>cmaxy)cmaxy=cy;const cz=triangleBounds[i+4];const hz=triangleBounds[i+5];const lz=cz-hz;const rz=cz+hz;if(lz<minz)minz=lz;if(rz>maxz)maxz=rz;if(includeCentroid&&cz<cminz)cminz=cz;if(includeCentroid&&cz>cmaxz)cmaxz=cz}target[0]=minx;target[1]=miny;target[2]=minz;target[3]=maxx;target[4]=maxy;target[5]=maxz;if(includeCentroid){centroidTarget[0]=cminx;centroidTarget[1]=cminy;centroidTarget[2]=cminz;centroidTarget[3]=cmaxx;centroidTarget[4]=cmaxy;centroidTarget[5]=cmaxz}}function getCentroidBounds(triangleBounds,offset,count,centroidTarget){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<end;i+=6){const cx=triangleBounds[i+0];if(cx<cminx)cminx=cx;if(cx>cmaxx)cmaxx=cx;const cy=triangleBounds[i+2];if(cy<cminy)cminy=cy;if(cy>cmaxy)cmaxy=cy;const cz=triangleBounds[i+4];if(cz<cminz)cminz=cz;if(cz>cmaxz)cmaxz=cz}centroidTarget[0]=cminx;centroidTarget[1]=cminy;centroidTarget[2]=cminz;centroidTarget[3]=cmaxx;centroidTarget[4]=cmaxy;centroidTarget[5]=cmaxz}function partition(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<=right&&triangleBounds[left*6+axisOffset]<pos){left++}while(left<=right&&triangleBounds[right*6+axisOffset]>=pos){right--}if(left<right){for(let i=0;i<3;i++){let t0=index[left*3+i];index[left*3+i]=index[right*3+i];index[right*3+i]=t0;let t1=triangleBounds[left*6+i*2+0];triangleBounds[left*6+i*2+0]=triangleBounds[right*6+i*2+0];triangleBounds[right*6+i*2+0]=t1;let t2=triangleBounds[left*6+i*2+1];triangleBounds[left*6+i*2+1]=triangleBounds[right*6+i*2+1];triangleBounds[right*6+i*2+1]=t2}left++;right--}else{return left}}}const BIN_COUNT=32;const binsSort=(a,b)=>a.candidate-b.candidate;const sahBins=new Array(BIN_COUNT).fill().map(()=>{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<3;a++){const axisLeft=centroidBoundingData[a];const axisRight=centroidBoundingData[a+3];const axisLength=axisRight-axisLeft;const binWidth=axisLength/BIN_COUNT;if(count<BIN_COUNT/4){const truncatedBins=[...sahBins];truncatedBins.length=count;let b=0;for(let c=cStart;c<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<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<splitCount;bi++){const bin=truncatedBins[bi];while(bi+1<splitCount&&truncatedBins[bi+1].candidate===bin.candidate){truncatedBins.splice(bi+1,1);splitCount--}}for(let c=cStart;c<cEnd;c+=6){const center=triangleBounds[c+2*a];for(let bi=0;bi<splitCount;bi++){const bin=truncatedBins[bi];if(center>=bin.candidate){expandByTriangleBounds(c,triangleBounds,bin.rightCacheBounds)}else{expandByTriangleBounds(c,triangleBounds,bin.leftCacheBounds);bin.count++}}}for(let bi=0;bi<splitCount;bi++){const bin=truncatedBins[bi];const leftCount=bin.count;const rightCount=count-bin.count;const leftBounds=bin.leftCacheBounds;
3856const 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<bestCost){axis=a;bestCost=cost;pos=bin.candidate}}}else{for(let i=0;i<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<3;d++){bounds[d]=Infinity;bounds[d+3]=-Infinity}}for(let c=cStart;c<cEnd;c+=6){const triCenter=triangleBounds[c+2*a];const relativeCenter=triCenter-axisLeft;let binIndex=~~(relativeCenter/binWidth);if(binIndex>=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>=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<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<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<end;i++){avg+=triangleBounds[i*6+axis*2]}return avg/count}function computeTriangleBounds(geo,fullBounds){const posAttr=geo.attributes.position;const index=geo.index.array;const triCount=index.length/3;const triangleBounds=new Float32Array(triCount*6);const normalized=posAttr.normalized;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=0;tri<triCount;tri++){const tri3=tri*3;const tri6=tri*6;let ai,bi,ci;if(normalized){ai=index[tri3+0];bi=index[tri3+1];ci=index[tri3+2]}else{ai=index[tri3+0]*stride+bufferOffset;bi=index[tri3+1]*stride+bufferOffset;ci=index[tri3+2]*stride+bufferOffset}for(let el=0;el<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<min)min=b;if(c<min)min=c;let max=a;if(b>max)max=b;if(c>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;if(min<fullBounds[el])fullBounds[el]=min;if(max>fullBounds[el+3])fullBounds[el+3]=max}}return triangleBounds}function buildTree(geo,options){function triggerProgress(trianglesProcessed){if(onProgress){onProgress(trianglesProcessed/totalTriangles)}}function splitNode(node,offset,count,centroidBoundingData=null,depth=0){if(!reachedMaxDepth&&depth>=maxDepth){reachedMaxDepth=true;if(verbose){console.warn(`MeshBVH: Max depth of ${maxDepth} reached when generating BVH. Consider increasing maxDepth.`);console.warn(geo)}}if(count<=maxLeafTris||depth>=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=partition(indexArray,triangleBounds,offset,count,split);if(splitOffset===offset||splitOffset===offset+count){triggerProgress(offset+count);node.offset=offset;node.count=count}
3856else{node.splitAxis=split.axis;const left=new MeshBVHNode;const lstart=offset;const lcount=splitOffset-offset;node.left=left;left.boundingData=new Float32Array(6);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;right.boundingData=new Float32Array(6);getBounds(triangleBounds,rstart,rcount,right.boundingData,cacheCentroidBoundingData);splitNode(right,rstart,rcount,cacheCentroidBoundingData,depth+1)}return node}ensureIndex(geo,options);const fullBounds=new Float32Array(6);const cacheCentroidBoundingData=new Float32Array(6);const triangleBounds=computeTriangleBounds(geo,fullBounds);const indexArray=geo.index.array;const maxDepth=options.maxDepth;const verbose=options.verbose;const maxLeafTris=options.maxLeafTris;const strategy=options.strategy;const onProgress=options.onProgress;const totalTriangles=geo.index.count/3;let reachedMaxDepth=false;const roots=[];const ranges=getRootIndexRanges(geo);if(ranges.length===1){const range=ranges[0];const root=new MeshBVHNode;root.boundingData=fullBounds;getCentroidBounds(triangleBounds,range.offset,range.count,cacheCentroidBoundingData);splitNode(root,range.offset,range.count,cacheCentroidBoundingData);roots.push(root)}else{for(let range of ranges){const root=new MeshBVHNode;root.boundingData=new Float32Array(6);getBounds(triangleBounds,range.offset,range.count,root.boundingData,cacheCentroidBoundingData);splitNode(root,range.offset,range.count,cacheCentroidBoundingData);roots.push(root)}}return roots}function buildPackedTree(geo,options){const roots=buildTree(geo,options);let float32Array;let uint32Array;let uint16Array;const packedRoots=[];const BufferConstructor=options.useSharedArrayBuffer?SharedArrayBuffer:ArrayBuffer;for(let i=0;i<roots.length;i++){const root=roots[i];let nodeCount=countNodes(root);const buffer=new BufferConstructor(BYTES_PER_NODE*nodeCount);float32Array=new Float32Array(buffer);uint32Array=new Uint32Array(buffer);uint16Array=new Uint16Array(buffer);populateBuffer(0,root);packedRoots.push(buffer)}return packedRoots;function countNodes(node){if(node.count){return 1}else{return 1+countNodes(node.left)+countNodes(node.right)}}function populateBuffer(byteOffset,node){const stride4Offset=byteOffset/4;const stride2Offset=byteOffset/2;const isLeaf=!!node.count;const boundingData=node.boundingData;for(let i=0;i<6;i++){float32Array[stride4Offset+i]=boundingData[i]}if(isLeaf){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>Math.pow(2,32)){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}}}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<l;i++){const p=points[i];const val=p[field];min=val<min?val:min;max=val>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<l;i++){const p=points[i];const val=axis.dot(p);min=val<min?val:min;max=val>max?val:max}this.min=min;this.max=max}isSeparated(other){return this.min>other.max||other.min>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<=1;x++){for(let y=0;y<=1;y++){for(let z=0;z<=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<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<3;i++){const sb=satBounds2[i];const sa=satAxes2[i];cacheSatBounds.setFromPoints(sa,points1);if(sb.isSeparated(cacheSatBounds))return false}}}();
3856const 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>=0&&d<=1&&d2>=0&&d2<=1){l1.at(d,target1);l2.at(d2,target2);return}else if(d>=0&&d<=1){if(d2<0){l2.at(0,target2)}else{l2.at(1,target2)}l1.closestPointToPoint(target2,true,target1);return}else if(d2>=0&&d2<=1){if(d<0){l1.at(0,target1)}else{l1.at(1,target1)}l2.closestPointToPoint(target1,true,target2);return}else{let p;if(d<0){p=l1.start}else{p=l1.end}let p2;if(d2<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)<=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)<=radius)return true;lineTemp.start=a;lineTemp.end=c;const closestPoint2=lineTemp.closestPointToPoint(center,true,closestPointTemp);if(closestPoint2.distanceTo(center)<=radius)return true;lineTemp.start=b;lineTemp.end=c;const closestPoint3=lineTemp.closestPointToPoint(center,true,closestPointTemp);if(closestPoint3.distanceTo(center)<=radius)return true;const plane=triangle.getPlane(planeTemp);const dp=Math.abs(plane.distanceToPoint(center));if(dp<=radius){const pp=plane.projectPoint(center,projectedPointTemp);const cp=triangle.containsPoint(pp);if(cp)return true}return false}}();const DIST_EPSILON=1e-15;function isNearZero(value){return Math.abs(value)<DIST_EPSILON}class ExtendedTriangle extends three.Triangle{constructor(...args){super(...args);this.isExtendedTriangle=true;this.satAxes=new Array(4).fill().map(()=>new three.Vector3);this.satBounds=new Array(4).fill().map(()=>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<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);
3856if(distSq<closestDistanceSq){closestDistanceSq=distSq;if(target1)target1.copy(point1);if(target2)target2.copy(point2)}}this.closestPointToPoint(start,point1);distSq=start.distanceToSquared(point1);if(distSq<closestDistanceSq){closestDistanceSq=distSq;if(target1)target1.copy(point1);if(target2)target2.copy(start)}this.closestPointToPoint(end,point1);distSq=end.distanceToSquared(point1);if(distSq<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 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;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))>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<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<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<4;i++){const sa1=satAxes1[i];for(let i2=0;i2<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 points1=this.points;let found1=false;let count1=0;for(let i=0;i<3;i++){const p=points1[i];const pNext=points1[(i+1)%3];edge.start.copy(p);edge.end.copy(pNext);edge.delta(dir1);const targetPoint=found1?edge1.start:edge1.end;const startIntersects=isNearZero(plane2.distanceToPoint(p));if(isNearZero(plane2.normal.dot(dir1))&&startIntersects){edge1.copy(edge);count1=2;break}const doesIntersect=plane2.intersectLine(edge,targetPoint)||startIntersects;if(doesIntersect&&!isNearZero(targetPoint.distanceTo(pNext))){count1++;if(found1){break}found1=true}}if(count1===1&&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 points2=other.points;let found2=false;let count2=0;for(let i=0;i<3;i++){const p=points2[i];const pNext=points2[(i+1)%3];edge.start.copy(p);edge.end.copy(pNext);edge.delta(dir2);const targetPoint=found2?edge2.start:edge2.end;const startIntersects=isNearZero(plane1.distanceToPoint(p));if(isNearZero(plane1.normal.dot(dir2))&&startIntersects){edge2.copy(edge);count2=2;break}const doesIntersect=plane1.intersectLine(edge,targetPoint)||startIntersects;if(doesIntersect&&!isNearZero(targetPoint.distanceTo(pNext))){count2++;if(found2){break}found2=true}}if(count2===1&&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)<0){let tmp=edge2.start;edge2.start=edge2.end;edge2.end=tmp}
3856const 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<s2;const separated2=s1<e2;if(s1!==e2&&s2!==e1&&separated1===separated2){return false}if(target){tempDir.subVectors(edge1.start,edge2.start);if(tempDir.dot(dir1)>0){target.start.copy(edge1.start)}else{target.start.copy(edge2.start)}tempDir.subVectors(edge1.end,edge2.end);if(tempDir.dot(dir1)<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<3;i++){let dist;const field=cornerFields[i];const otherVec=other[field];this.closestPointToPoint(otherVec,point);dist=otherVec.distanceToSquared(point);if(dist<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<closestDistanceSq){closestDistanceSq=dist;if(target1)target1.copy(thisVec);if(target2)target2.copy(point)}}for(let i=0;i<3;i++){const f11=cornerFields[i];const f12=cornerFields[(i+1)%3];line1.set(this[f11],this[f12]);for(let i2=0;i2<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<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(()=>new three.Vector3);this.satAxes=new Array(3).fill().map(()=>new three.Vector3);this.satBounds=new Array(3).fill().map(()=>new SeparatingAxisBounds);this.alignedSatBounds=new Array(3).fill().map(()=>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<=1;x++){for(let y=0;y<=1;y++){for(let z=0;z<=1;z++){const i=(1<<0)*x|(1<<1)*y|(1<<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<3;i++){const axis=satAxes[i];const sb=satBounds[i];const index=1<<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<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}
3856else 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<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<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<3;i++){const sa1=satAxes[i];for(let i2=0;i2<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(()=>new three.Line3);const segments2=new Array(12).fill().map(()=>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<8;i++){const p=points[i];point2.copy(p).clamp(min,max);const dist=p.distanceToSquared(point2);if(dist<closestDistanceSq){closestDistanceSq=dist;if(target1)target1.copy(p);if(target2)target2.copy(point2);if(dist<threshold2)return Math.sqrt(dist)}}let count=0;for(let i=0;i<3;i++){for(let i1=0;i1<=1;i1++){for(let i2=0;i2<=1;i2++){const nextIndex=(i+1)%3;const nextIndex2=(i+2)%3;const index=i1<<nextIndex|i2<<nextIndex2;const index2=1<<i|i1<<nextIndex|i2<<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<=1;x++){for(let y=0;y<=1;y++){for(let z=0;z<=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<closestDistanceSq){closestDistanceSq=dist;if(target1)target1.copy(point1);if(target2)target2.copy(point2);if(dist<threshold2)return Math.sqrt(dist)}}}}for(let i=0;i<12;i++){const l1=segments1[i];for(let i2=0;i2<12;i2++){const l2=segments2[i2];closestPointsSegmentToSegment(l1,l2,point1,point2);const dist=point1.distanceToSquared(point2);if(dist<closestDistanceSq){closestDistanceSq=dist;if(target1)target1.copy(point1);if(target2)target2.copy(point2);if(dist<threshold2)return Math.sqrt(dist)}}}return Math.sqrt(closestDistanceSq)}}();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)>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;const a=geo.index.getX(triOffset);const b=geo.index.getX(triOffset+1);const c=geo.index.getX(triOffset+2);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 intersectTris(geo,side,ray,offset,count,intersections){for(let i=offset,end=offset+count;i<end;i++){intersectTri(geo,side,ray,i,intersections)}}function intersectClosestTri(geo,side,ray,offset,count){let dist=Infinity;let res=null;for(let i=offset,end=offset+count;i<end;i++){const intersection=intersectTri(geo,side,ray,i);if(intersection&&intersection.distance<dist){res=intersection;dist=intersection.distance}}return res}function convertRaycastIntersect(hit,object,raycaster){if(hit===null){return null}
3856hit.point.applyMatrix4(object.matrixWorld);hit.distance=hit.point.distanceTo(raycaster.ray.origin);hit.object=object;if(hit.distance<raycaster.near||hit.distance>raycaster.far){return null}else{return hit}}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(i);i1=index.getX(i+1);i2=index.getX(i+2)}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)}function iterateOverTriangles(offset,count,geometry,intersectsTriangleFunc,contained,depth,triangle){const index=geometry.index;const pos=geometry.attributes.position;for(let i=offset,l=count+offset;i<l;i++){setTriangle(triangle,i*3,index,pos);triangle.needsUpdate=true;if(intersectsTriangleFunc(triangle,i,contained,depth)){return true}}return false}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<l;i++){const group=groups[i];const{start,count}=group;if(firstVertexIndex>=start&&firstVertexIndex<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&&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}}}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)}}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}const boundingBox$1=new three.Box3;const boxIntersection=new three.Vector3;const xyzFields=["x","y","z"];function raycast(nodeIndex32,geometry,side,ray,intersects){let nodeIndex16=nodeIndex32*2,float32Array=_float32Array,uint16Array=_uint16Array,uint32Array=_uint32Array;const isLeaf=IS_LEAF(nodeIndex16,uint16Array);if(isLeaf){const offset=OFFSET(nodeIndex32,uint32Array);const count=COUNT(nodeIndex16,uint16Array);intersectTris(geometry,side,ray,offset,count,intersects)}else{const leftIndex=LEFT_NODE(nodeIndex32);if(intersectRay(leftIndex,float32Array,ray,boxIntersection)){raycast(leftIndex,geometry,side,ray,intersects)}const rightIndex=RIGHT_NODE(nodeIndex32,uint32Array);if(intersectRay(rightIndex,float32Array,ray,boxIntersection)){raycast(rightIndex,geometry,side,ray,intersects)}}}function raycastFirst(nodeIndex32,geometry,side,ray){let nodeIndex16=nodeIndex32*2,float32Array=_float32Array,uint16Array=_uint16Array,uint32Array=_uint32Array;const isLeaf=IS_LEAF(nodeIndex16,uint16Array);if(isLeaf){const offset=OFFSET(nodeIndex32,uint32Array);const count=COUNT(nodeIndex16,uint16Array);return intersectClosestTri(geometry,side,ray,offset,count)}else{const splitAxis=SPLIT_AXIS(nodeIndex32,uint32Array);const xyzAxis=xyzFields[splitAxis];const rayDir=ray.direction[xyzAxis];const leftToRight=rayDir>=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,boxIntersection);const c1Result=c1Intersection?raycastFirst(c1,geometry,side,ray):null;if(c1Result){const point=c1Result.point[xyzAxis];const isOutside=leftToRight?point<=float32Array[c2+splitAxis]:point>=float32Array[c2+splitAxis+3];if(isOutside){return c1Result}}const c2Intersection=intersectRay(c2,float32Array,ray,boxIntersection);const c2Result=c2Intersection?raycastFirst(c2,geometry,side,ray):null;if(c1Result&&c2Result){return c1Result.distance<=c2Result.distance?c1Result:c2Result}else{return c1Result||c2Result||null}}}const shapecast=function(){let _box1,_box2;const boxStack=[];const boxPool=new PrimitivePool(()=>new three.Box3);return function shapecast(...args){_box1=boxPool.getPrimitive();_box2=boxPool.getPrimitive();boxStack.push(_box1,_box2);const result=shapecastTraverse(...args);boxPool.releasePrimitive(_box1);boxPool.releasePrimitive(_box2);boxStack.pop();boxStack.pop();const length=boxStack.length;if(length>0){_box2=boxStack[length-1];_box1=boxStack[length-2]}return result};function shapecastTraverse(nodeIndex32,geometry,intersectsBoundsFunc,intersectsRangeFunc,nodeScoreFunc=null,nodeIndexByteOffset=0,depth=0){function getLeftOffset(nodeIndex32){let nodeIndex16=nodeIndex32*2,uint16Array=_uint16Array,uint32Array=_uint32Array;
3856while(!IS_LEAF(nodeIndex16,uint16Array)){nodeIndex32=LEFT_NODE(nodeIndex32);nodeIndex16=nodeIndex32*2}return OFFSET(nodeIndex32,uint32Array)}function getRightEndOffset(nodeIndex32){let nodeIndex16=nodeIndex32*2,uint16Array=_uint16Array,uint32Array=_uint32Array;while(!IS_LEAF(nodeIndex16,uint16Array)){nodeIndex32=RIGHT_NODE(nodeIndex32,uint32Array);nodeIndex16=nodeIndex32*2}return OFFSET(nodeIndex32,uint32Array)+COUNT(nodeIndex16,uint16Array)}let nodeIndex16=nodeIndex32*2,float32Array=_float32Array,uint16Array=_uint16Array,uint32Array=_uint32Array;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);return intersectsRangeFunc(offset,count,false,depth,nodeIndexByteOffset+nodeIndex32,_box1)}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;box2=_box2;arrayToBox(BOUNDING_DATA_INDEX(c1),float32Array,box1);arrayToBox(BOUNDING_DATA_INDEX(c2),float32Array,box2);score1=nodeScoreFunc(box1);score2=nodeScoreFunc(box2);if(score2<score1){c1=right;c2=left;const temp=score1;score1=score2;score2=temp;box1=box2}}if(!box1){box1=_box1;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&&shapecastTraverse(c1,geometry,intersectsBoundsFunc,intersectsRangeFunc,nodeScoreFunc,nodeIndexByteOffset,depth+1)}if(c1StopTraversal)return true;box2=_box2;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&&shapecastTraverse(c2,geometry,intersectsBoundsFunc,intersectsRangeFunc,nodeScoreFunc,nodeIndexByteOffset,depth+1)}if(c2StopTraversal)return true;return false}}}();const intersectsGeometry=function(){const triangle=new ExtendedTriangle;const triangle2=new ExtendedTriangle;const invertedMat=new three.Matrix4;const obb=new OrientedBox;const obb2=new OrientedBox;return function intersectsGeometry(nodeIndex32,geometry,otherGeometry,geometryToBvh,cachedObb=null){let nodeIndex16=nodeIndex32*2,float32Array=_float32Array,uint16Array=_uint16Array,uint32Array=_uint32Array;if(cachedObb===null){if(!otherGeometry.boundingBox){otherGeometry.computeBoundingBox()}obb.set(otherGeometry.boundingBox.min,otherGeometry.boundingBox.max,geometryToBvh);cachedObb=obb}const isLeaf=IS_LEAF(nodeIndex16,uint16Array);if(isLeaf){const thisGeometry=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);obb2.matrix.copy(invertedMat);obb2.needsUpdate=true;const res=otherGeometry.boundsTree.shapecast({intersectsBounds:box=>obb2.intersectsBox(box),intersectsTriangle:tri=>{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<l;i+=3){setTriangle(triangle2,i,thisIndex,thisPos);triangle2.needsUpdate=true;if(tri.intersectsTriangle(triangle2)){return true}}return false}});return res}else{for(let i=offset*3,l=count+offset*3;i<l;i+=3){setTriangle(triangle,i,thisIndex,thisPos);triangle.a.applyMatrix4(invertedMat);
3856triangle.b.applyMatrix4(invertedMat);triangle.c.applyMatrix4(invertedMat);triangle.needsUpdate=true;for(let i2=0,l2=index.count;i2<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)&&intersectsGeometry(left,geometry,otherGeometry,geometryToBvh,cachedObb);if(leftIntersection)return true;arrayToBox(BOUNDING_DATA_INDEX(right),float32Array,boundingBox$1);const rightIntersection=cachedObb.intersectsBox(boundingBox$1)&&intersectsGeometry(right,geometry,otherGeometry,geometryToBvh,cachedObb);if(rightIntersection)return true;return false}}}();function intersectRay(nodeIndex32,array,ray,target){arrayToBox(nodeIndex32,array,boundingBox$1);return ray.intersectBox(boundingBox$1,target)}const bufferStack=[];let _prevBuffer;let _float32Array;let _uint16Array;let _uint32Array;function setBuffer(buffer){if(_prevBuffer){bufferStack.push(_prevBuffer)}_prevBuffer=buffer;_float32Array=new Float32Array(buffer);_uint16Array=new Uint16Array(buffer);_uint32Array=new Uint32Array(buffer)}function clearBuffer(){_prevBuffer=null;_float32Array=null;_uint16Array=null;_uint32Array=null;if(bufferStack.length){setBuffer(bufferStack.pop())}}const SKIP_GENERATION=Symbol("skip tree generation");const aabb=new three.Box3;const aabb2=new three.Box3;const tempMatrix=new three.Matrix4;const obb=new OrientedBox;const obb2=new OrientedBox;const temp=new three.Vector3;const temp1=new three.Vector3;const temp2=new three.Vector3;const temp3=new three.Vector3;const temp4=new three.Vector3;const tempBox=new three.Box3;const trianglePool=new PrimitivePool(()=>new ExtendedTriangle);class MeshBVH{static serialize(bvh,options={}){if(options.isBufferGeometry){console.warn("MeshBVH.serialize: The arguments for the function have changed. See documentation for new signature.");return MeshBVH.serialize(arguments[0],{cloneBuffers:arguments[2]===undefined?true:arguments[2]})}options={cloneBuffers:true,...options};const geometry=bvh.geometry;const rootData=bvh._roots;const indexAttribute=geometry.getIndex();let result;if(options.cloneBuffers){result={roots:rootData.map(root=>root.slice()),index:indexAttribute.array.slice()}}else{result={roots:rootData,index:indexAttribute.array}}return result}static deserialize(data,geometry,options={}){if(typeof options==="boolean"){console.warn("MeshBVH.deserialize: The arguments for the function have changed. See documentation for new signature.");return MeshBVH.deserialize(arguments[0],arguments[1],{setIndex:arguments[2]===undefined?true:arguments[2]})}options={setIndex:true,...options};const{index,roots}=data;const bvh=new MeshBVH(geometry,{...options,[SKIP_GENERATION]:true});bvh._roots=roots;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}constructor(geometry,options={}){if(!geometry.isBufferGeometry){throw new Error("MeshBVH: Only BufferGeometries are supported.")}else if(geometry.index&&geometry.index.isInterleavedBufferAttribute){throw new Error("MeshBVH: InterleavedBufferAttribute is not supported for the index attribute.")}options=Object.assign({strategy:CENTER,maxDepth:40,maxLeafTris:10,verbose:true,useSharedArrayBuffer:false,setBoundingBox:true,onProgress:null,[SKIP_GENERATION]:false},options);if(options.useSharedArrayBuffer&&typeof SharedArrayBuffer==="undefined"){throw new Error("MeshBVH: SharedArrayBuffer is not available.")}this._roots=null;if(!options[SKIP_GENERATION]){this._roots=buildPackedTree(geometry,options);if(!geometry.boundingBox&&options.setBoundingBox){geometry.boundingBox=this.getBoundingBox(new three.Box3)}}this.geometry=geometry}refit(nodeIndices=null){if(nodeIndices&&Array.isArray(nodeIndices)){nodeIndices=new Set(nodeIndices)}const geometry=this.geometry;const indexArr=geometry.index.array;const posAttr=geometry.attributes.position;let buffer,uint32Array,uint16Array,float32Array;let byteOffset=0;const roots=this._roots;for(let i=0,l=roots.length;i<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<l;i++){const index=indexArr[i];const x=posAttr.getX(index);const y=posAttr.getY(index);const z=posAttr.getZ(index);if(x<minx)minx=x;if(x>maxx)maxx=x;if(y<miny)miny=y;if(y>maxy)maxy=y;if(z<minz)minz=z;if(z>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&&!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;
3856if(didChange){for(let i=0;i<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<minRightValue?minLeftValue:minRightValue;float32Array[node32Index+i+3]=maxLeftValue>maxRightValue?maxLeftValue:maxRightValue}}return didChange}}}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;for(let i=0,l=roots.length;i<l;i++){const materialSide=isArrayMaterial?materialOrSide[groups[i].materialIndex].side:side;const startCount=intersects.length;setBuffer(roots[i]);raycast(0,geometry,materialSide,ray,intersects);clearBuffer();if(isArrayMaterial){const materialIndex=groups[i].materialIndex;for(let j=startCount,jl=intersects.length;j<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;for(let i=0,l=roots.length;i<l;i++){const materialSide=isArrayMaterial?materialOrSide[groups[i].materialIndex].side:side;setBuffer(roots[i]);const result=raycastFirst(0,geometry,materialSide,ray);clearBuffer();if(result!=null&&(closestResult==null||result.distance<closestResult.distance)){closestResult=result;if(isArrayMaterial){result.face.materialIndex=groups[i].materialIndex}}}return closestResult}intersectsGeometry(otherGeometry,geomToMesh){const geometry=this.geometry;let result=false;for(const root of this._roots){setBuffer(root);result=intersectsGeometry(0,geometry,otherGeometry,geomToMesh);clearBuffer();if(result){break}}return result}shapecast(callbacks,_intersectsTriangleFunc,_orderNodesFunc){const geometry=this.geometry;if(callbacks instanceof Function){if(_intersectsTriangleFunc){const originalTriangleFunc=_intersectsTriangleFunc;_intersectsTriangleFunc=(tri,index,contained,depth)=>{const i3=index*3;return originalTriangleFunc(tri,i3,i3+1,i3+2,contained,depth)}}callbacks={boundsTraverseOrder:_orderNodesFunc,intersectsBounds:callbacks,intersectsTriangle:_intersectsTriangleFunc,intersectsRange:null};console.warn("MeshBVH: Shapecast function signature has changed and now takes an object of callbacks as a second argument. See docs for new signature.")}const triangle=trianglePool.getPrimitive();let{boundsTraverseOrder,intersectsBounds,intersectsRange,intersectsTriangle}=callbacks;if(intersectsRange&&intersectsTriangle){const originalIntersectsRange=intersectsRange;intersectsRange=(offset,count,contained,depth,nodeIndex)=>{if(!originalIntersectsRange(offset,count,contained,depth,nodeIndex)){return iterateOverTriangles(offset,count,geometry,intersectsTriangle,contained,depth,triangle)}return true}}else if(!intersectsRange){if(intersectsTriangle){intersectsRange=(offset,count,contained,depth)=>{return iterateOverTriangles(offset,count,geometry,intersectsTriangle,contained,depth,triangle)}}else{intersectsRange=(offset,count,contained)=>{return contained}}}let result=false;let byteOffset=0;for(const root of this._roots){setBuffer(root);result=shapecast(0,geometry,intersectsBounds,intersectsRange,boun
3856dsTraverseOrder,byteOffset);clearBuffer();if(result){break}byteOffset+=root.byteLength}trianglePool.releasePrimitive(triangle);return result}bvhcast(otherBvh,matrixToLocal,callbacks){let{intersectsRanges,intersectsTriangles}=callbacks;const indexAttr=this.geometry.index;const positionAttr=this.geometry.attributes.position;const otherIndexAttr=otherBvh.geometry.index;const otherPositionAttr=otherBvh.geometry.attributes.position;tempMatrix.copy(matrixToLocal).invert();const triangle=trianglePool.getPrimitive();const triangle2=trianglePool.getPrimitive();if(intersectsTriangles){function iterateOverDoubleTriangles(offset1,count1,offset2,count2,depth1,index1,depth2,index2){for(let i2=offset2,l2=offset2+count2;i2<l2;i2++){setTriangle(triangle2,i2*3,otherIndexAttr,otherPositionAttr);triangle2.a.applyMatrix4(matrixToLocal);triangle2.b.applyMatrix4(matrixToLocal);triangle2.c.applyMatrix4(matrixToLocal);triangle2.needsUpdate=true;for(let i1=offset1,l1=offset1+count1;i1<l1;i1++){setTriangle(triangle,i1*3,indexAttr,positionAttr);triangle.needsUpdate=true;if(intersectsTriangles(triangle,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}}otherBvh.getBoundingBox(aabb2);aabb2.applyMatrix4(matrixToLocal);const result=this.shapecast({intersectsBounds:box=>aabb2.intersectsBox(box),intersectsRange:(offset1,count1,contained,depth1,nodeIndex1,box)=>{aabb.copy(box);aabb.applyMatrix4(tempMatrix);return otherBvh.shapecast({intersectsBounds:box=>aabb.intersectsBox(box),intersectsRange:(offset2,count2,contained,depth2,nodeIndex2)=>{return intersectsRanges(offset1,count1,offset2,count2,depth1,nodeIndex1,depth2,nodeIndex2)}})}});trianglePool.releasePrimitive(triangle);trianglePool.releasePrimitive(triangle2);return result}intersectsBox(box,boxToMesh){obb.set(box.min,box.max,boxToMesh);obb.needsUpdate=true;return this.shapecast({intersectsBounds:box=>obb.intersectsBox(box),intersectsTriangle:tri=>obb.intersectsTriangle(tri)})}intersectsSphere(sphere){return this.shapecast({intersectsBounds:box=>sphere.intersectsBox(box),intersectsTriangle:tri=>tri.intersectsSphere(sphere)})}closestPointToGeometry(otherGeometry,geometryToBvh,target1={},target2={},minThreshold=0,maxThreshold=Infinity){if(!otherGeometry.boundingBox){otherGeometry.computeBoundingBox()}obb.set(otherGeometry.boundingBox.min,otherGeometry.boundingBox.max,geometryToBvh);obb.needsUpdate=true;const geometry=this.geometry;const pos=geometry.attributes.position;const index=geometry.index;const otherPos=otherGeometry.attributes.position;const otherIndex=otherGeometry.index;const triangle=trianglePool.getPrimitive();const triangle2=trianglePool.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);this.shapecast({boundsTraverseOrder:box=>{return obb.distanceToBox(box)},intersectsBounds:(box,isLeaf,score)=>{if(score<closestDistance&&score<maxThreshold){if(isLeaf){obb2.min.copy(box.min);obb2.max.copy(box.max);obb2.needsUpdate=true}return true}return false},intersectsRange:(offset,count)=>{if(otherGeometry.boundsTree){return otherGeometry.boundsTree.shapecast({boundsTraverseOrder:box=>{return obb2.distanceToBox(box)},intersectsBounds:(box,isLeaf,score)=>{return score<closestDistance&&score<maxThreshold},intersectsRange:(otherOffset,otherCount)=>{for(let i2=otherOffset*3,l2=(otherOffset+otherCount)*3;i2<l2;i2+=3){setTriangle(triangle2,i2,otherIndex,otherPos);triangle2.a.applyMatrix4(geometryToBvh);triangle2.b.applyMatrix4(geometryToBvh);triangle2.c.applyMatrix4(geometryToBvh);triangle2.needsUpdate=true;for(let i=offset*3,l=(offset+count)*3;i<l;i+=3){setTriangle(triangle,i,index,pos);triangle.needsUpdate=true;const dist=triangle.distanceToTriangle(triangle2,tempTarget1,tempTarget2);if(dist<closestDistance){tempTargetDest1.copy(tempTarget1);if(tempTargetDest2){tempTargetDest2.copy(tempTarget2)}closestDistance=dist;closestDistanceTriIndex=i/3;closestDistanceOtherTriIndex=i2/3}if(dist<minThreshold){return true}}}}})}else{const triCount=otherIndex?otherIndex.count:otherPos.count;for(let i2=0,l2=triCount;i2<l2;i2+=3){setTriangle(triangle2,i2,otherIndex,otherPos);triangle2.a.applyMatrix4(geometryToBvh);
3856triangle2.b.applyMatrix4(geometryToBvh);triangle2.c.applyMatrix4(geometryToBvh);triangle2.needsUpdate=true;for(let i=offset*3,l=(offset+count)*3;i<l;i+=3){setTriangle(triangle,i,index,pos);triangle.needsUpdate=true;const dist=triangle.distanceToTriangle(triangle2,tempTarget1,tempTarget2);if(dist<closestDistance){tempTargetDest1.copy(tempTarget1);if(tempTargetDest2){tempTargetDest2.copy(tempTarget2)}closestDistance=dist;closestDistanceTriIndex=i/3;closestDistanceOtherTriIndex=i2/3}if(dist<minThreshold){return true}}}}}});trianglePool.releasePrimitive(triangle);trianglePool.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}closestPointToPoint(point,target={},minThreshold=0,maxThreshold=Infinity){const minThresholdSq=minThreshold*minThreshold;const maxThresholdSq=maxThreshold*maxThreshold;let closestDistanceSq=Infinity;let closestDistanceTriIndex=null;this.shapecast({boundsTraverseOrder:box=>{temp.copy(point).clamp(box.min,box.max);return temp.distanceToSquared(point)},intersectsBounds:(box,isLeaf,score)=>{return score<closestDistanceSq&&score<maxThresholdSq},intersectsTriangle:(tri,triIndex)=>{tri.closestPointToPoint(point,temp);const distSq=point.distanceToSquared(temp);if(distSq<closestDistanceSq){temp1.copy(temp);closestDistanceSq=distSq;closestDistanceTriIndex=triIndex}if(distSq<minThresholdSq){return true}else{return false}}});if(closestDistanceSq===Infinity)return null;const closestDistance=Math.sqrt(closestDistanceSq);if(!target.point)target.point=temp1.clone();else target.point.copy(temp1);target.distance=closestDistance,target.faceIndex=closestDistanceTriIndex;return target}getBoundingBox(target){target.makeEmpty();const roots=this._roots;roots.forEach(buffer=>{arrayToBox(0,new Float32Array(buffer),tempBox);target.union(tempBox)});return target}}const boundingBox=new three.Box3;class MeshBVHRootVisualizer extends three.Object3D{get isMesh(){return!this.displayEdges}get isLineSegments(){return this.displayEdges}get isLine(){return this.displayEdges}constructor(mesh,material,depth=10,group=0){super();this.material=material;this.geometry=new three.BufferGeometry;this.name="MeshBVHRootVisualizer";this.depth=depth;this.displayParents=false;this.mesh=mesh;this.displayEdges=true;this._group=group}raycast(){}update(){const geometry=this.geometry;const boundsTree=this.mesh.geometry.boundsTree;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)=>{if(depth===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)=>{const terminate=depth===targetDepth||isLeaf;if(terminate||displayParents){arrayToBox(0,boundingData,boundingBox);const{min,max}=boundingBox;for(let x=-1;x<=1;x+=2){const xVal=x<0?min.x:max.x;for(let y=-1;y<=1;y+=2){const yVal=y<0?min.y:max.y;for(let z=-1;z<=1;z+=2){const zVal=z<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>65535){indexArray=new Uint32Array(indices.length*boundsCount)}else{indexArray=new Uint16Array(indices.length*boundsCount)}const indexLength=indices.length;for(let i=0;i<boundsCount;i++){const posOffset=i*8;const indexOffset=i*indexLength;for(let j=0;j<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 MeshBVHVisualizer 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,depth=10){super();this.name="MeshBVHVisualizer";this.depth=depth;this.mesh=mesh;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.mesh.geometry.boundsTree;const totalRoots=bvh?bvh._roots.length:0;while(this._roots.length>totalRoots){const root=this._roots.pop();root.geometry.dispose();this.remove(root)}for(let i=0;i<totalRoots;i++){if(i>=this._roots.length){const root=new MeshBVHRootVisualizer(this.mesh,this.edgeMaterial,this.depth,i);this.add(root);this._roots.push(root)}const root=this._roots[i];root.depth=this.depth;root.mesh=this.mesh;root.displayParents=this.displayParents;root.displayEdges=this.displayEdges;root.material=this.displayEdges?this.edgeMaterial:this.meshMaterial;
3856root.update()}}updateMatrixWorld(...args){this.position.copy(this.mesh.position);this.rotation.copy(this.mesh.rotation);this.scale.copy(this.mesh.scale);super.updateMatrixWorld(...args)}copy(source){this.depth=source.depth;this.mesh=source.mesh}clone(){return new MeshBVHVisualizer(this.mesh,this.depth)}dispose(){this.edgeMaterial.dispose();this.meshMaterial.dispose();const children=this.children;for(let i=0,l=children.length;i<l;i++){children[i].geometry.dispose()}}}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)=>{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)=>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}
3856bytes+=getPrimitiveSize(key);const value=curr[key];if(value&&(typeof value==="object"||typeof value==="function")){if(isTypedArray(value)){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)=>{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*3,l=(offset+count)*3;i<l;i+=3){const i0=index.getX(i);const i1=index.getX(i+1);const i2=index.getX(i+2);let isContained;_vec.fromBufferAttribute(position,i0);isContained=_box1.containsPoint(_vec);_vec.fromBufferAttribute(position,i1);isContained=isContained&&_box1.containsPoint(_vec);_vec.fromBufferAttribute(position,i2);isContained=isContained&&_box1.containsPoint(_vec);console.assert(isContained,"Leaf bounds does not fully contain triangle.");passes=passes&&isContained}}if(parent){arrayToBox(0,boundingData,_box2);const isContained=_box2.containsBox(_box1);console.assert(isContained,"Parent bounds does not fully contain child.");passes=passes&&isContained}});return passes}function getJSONStructure(bvh){const depthStack=[];bvh.traverse((depth,isLeaf,boundingData,offset,count)=>{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]}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<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&&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&&(format===three.RGBAFormat||format===three.RGBAIntegerFormat)){finalStride=4}const dimension=Math.ceil(Math.sqrt(count));const length=finalStride*dimension*dimension;const dataArray=new targetBufferCons(length);const originalNormalized=attr.normalized;attr.normalized=false;for(let i=0;i<count;i++){const ii=finalStride*i;dataArray[ii]=attr.getX(i)/normalizeValue;if(itemSize>=2){dataArray[ii+1]=attr.getY(i)/normalizeValue}if(itemSize>=3){dataArray[ii+2]=attr.getZ(i)/normalizeValue;if(finalStride===4){dataArray[ii+3]=1}}if(itemSize>=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}}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<nodeCount;i++){const nodeIndex32=i*BYTES_PER_NODE/4;const nodeIndex16=nodeIndex32*2;const boundsIndex=BOUNDING_DATA_INDEX(nodeIndex32);for(let b=0;b<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;
3856boundsTexture.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()}class MeshBVHUniformStruct{constructor(){this.autoDispose=true;this.index=new UIntVertexAttributeTexture;this.position=new FloatVertexAttributeTexture;this.bvhBounds=new three.DataTexture;this.bvhContents=new three.DataTexture;this.index.overrideItemSize=3}updateFrom(bvh){const{geometry}=bvh;bvhToTextures(bvh,this.bvhBounds,this.bvhContents);this.index.updateFrom(geometry.index);this.position.updateFrom(geometry.attributes.position)}dispose(){const{index,position,bvhBounds,bvhContents}=this;if(index)index.dispose();if(position)position.dispose();if(bvhBounds)bvhBounds.dispose();if(bvhContents)bvhContents.dispose()}}const shaderStructs=`
3857#ifndef TRI_INTERSECT_EPSILON
3858#define TRI_INTERSECT_EPSILON 1e-5
3859#endif
3860
3861#ifndef INFINITY
3862#define INFINITY 1e20
3863#endif
3864
3865struct BVH {
3866
3867	usampler2D index;
3868	sampler2D position;
3869
3870	sampler2D bvhBounds;
3871	usampler2D bvhContents;
3872
3873};
3874`;const shaderIntersectFunction=`
3875
3876// Utilities
3877uvec4 uTexelFetch1D( usampler2D tex, uint index ) {
3878
3879	uint width = uint( textureSize( tex, 0 ).x );
3880	uvec2 uv;
3881	uv.x = index % width;
3882	uv.y = index / width;
3883
3884	return texelFetch( tex, ivec2( uv ), 0 );
3885
3886}
3887
3888ivec4 iTexelFetch1D( isampler2D tex, uint index ) {
3889
3890	uint width = uint( textureSize( tex, 0 ).x );
3891	uvec2 uv;
3892	uv.x = index % width;
3893	uv.y = index / width;
3894
3895	return texelFetch( tex, ivec2( uv ), 0 );
3896
3897}
3898
3899vec4 texelFetch1D( sampler2D tex, uint index ) {
3900
3901	uint width = uint( textureSize( tex, 0 ).x );
3902	uvec2 uv;
3903	uv.x = index % width;
3904	uv.y = index / width;
3905
3906	return texelFetch( tex, ivec2( uv ), 0 );
3907
3908}
3909
3910vec4 textureSampleBarycoord( sampler2D tex, vec3 barycoord, uvec3 faceIndices ) {
3911
3912	return
3913		barycoord.x * texelFetch1D( tex, faceIndices.x ) +
3914		barycoord.y * texelFetch1D( tex, faceIndices.y ) +
3915		barycoord.z * texelFetch1D( tex, faceIndices.z );
3916
3917}
3918
3919void ndcToCameraRay(
3920	vec2 coord, mat4 cameraWorld, mat4 invProjectionMatrix,
3921	out vec3 rayOrigin, out vec3 rayDirection
3922) {
3923
3924	// get camera look direction and near plane for camera clipping
3925	vec4 lookDirection = cameraWorld * vec4( 0.0, 0.0, - 1.0, 0.0 );
3926	vec4 nearVector = invProjectionMatrix * vec4( 0.0, 0.0, - 1.0, 1.0 );
3927	float near = abs( nearVector.z / nearVector.w );
3928
3929	// get the camera direction and position from camera matrices
3930	vec4 origin = cameraWorld * vec4( 0.0, 0.0, 0.0, 1.0 );
3931	vec4 direction = invProjectionMatrix * vec4( coord, 0.5, 1.0 );
3932	direction /= direction.w;
3933	direction = cameraWorld * direction - origin;
3934
3935	// slide the origin along the ray until it sits at the near clip plane position
3936	origin.xyz += direction.xyz * near / dot( direction, lookDirection );
3937
3938	rayOrigin = origin.xyz;
3939	rayDirection = direction.xyz;
3940
3941}
3942
3943// Raycasting
3944float intersectsBounds( vec3 rayOrigin, vec3 rayDirection, vec3 boundsMin, vec3 boundsMax ) {
3945
3946	// https://www.reddit.com/r/opengl/comments/8ntzz5/fast_glsl_ray_box_intersection/
3947	// https://tavianator.com/2011/ray_box.html
3948	vec3 invDir = 1.0 / rayDirection;
3949
3950	// find intersection distances for each plane
3951	vec3 tMinPlane = invDir * ( boundsMin - rayOrigin );
3952	vec3 tMaxPlane = invDir * ( boundsMax - rayOrigin );
3953
3954	// get the min and max distances from each intersection
3955	vec3 tMinHit = min( tMaxPlane, tMinPlane );
3956	vec3 tMaxHit = max( tMaxPlane, tMinPlane );
3957
3958	// get the furthest hit distance
3959	vec2 t = max( tMinHit.xx, tMinHit.yz );
3960	float t0 = max( t.x, t.y );
3961
3962	// get the minimum hit distance
3963	t = min( tMaxHit.xx, tMaxHit.yz );
3964	float t1 = min( t.x, t.y );
3965
3966	// set distance to 0.0 if the ray starts inside the box
3967	float dist = max( t0, 0.0 );
3968
3969	return t1 >= dist ? dist : INFINITY;
3970
3971}
3972
3973bool intersectsTriangle(
3974	vec3 rayOrigin, vec3 rayDirection, vec3 a, vec3 b, vec3 c,
3975	out vec3 barycoord, out vec3 norm, out float dist, out float side
3976) {
3977
3978	// https://stackoverflow.com/questions/42740765/intersection-between-line-and-triangle-in-3d
3979	vec3 edge1 = b - a;
3980	vec3 edge2 = c - a;
3981	norm = cross( edge1, edge2 );
3982
3983	float det = - dot( rayDirection, norm );
3984	float invdet = 1.0 / det;
3985
3986	vec3 AO = rayOrigin - a;
3987	vec3 DAO = cross( AO, rayDirection );
3988
3989	vec4 uvt;
3990	uvt.x = dot( edge2, DAO ) * invdet;
3991	uvt.y = - dot( edge1, DAO ) * invdet;
3992	uvt.z = dot( AO, norm ) * invdet;
3993	uvt.w = 1.0 - uvt.x - uvt.y;
3994
3995	// set the hit information
3996	barycoord = uvt.wxy; // arranged in A, B, C order
3997	dist = uvt.z;
3998	side = sign( det );
3999	norm = side * normalize( norm );
4000
4001	// add an epsilon to avoid misses between triangles
4002	uvt += vec4( TRI_INTERSECT_EPSILON );
4003
4004	return all( greaterThanEqual( uvt, vec4( 0.0 ) ) );
4005
4006}
4007
4008bool intersectTriangles(
4009	BVH bvh, vec3 rayOrigin, vec3 rayDirection, uint offset, uint count,
4010	inout float minDistance,
4011
4012	// output variables
4013	out uvec4 faceIndices, out vec3 faceNormal, out vec3 barycoord,
4014	out float side, out float dist
4015) {
4016
4017	bool found = false;
4018	vec3 localBarycoord, localNormal;
4019	float localDist, localSide;
4020	for ( uint i = offset, l = offset + count; i < l; i ++ ) {
4021
4022		uvec3 indices = uTexelFetch1D( bvh.index, i ).xyz;
4023		vec3 a = texelFetch1D( bvh.position, indices.x ).rgb;
4024		vec3 b = texelFetch1D( bvh.position, indices.y ).rgb;
4025		vec3 c = texelFetch1D( bvh.position, indices.z ).rgb;
4026
4027		if (
4028			intersectsTriangle( rayOrigin, rayDirection, a, b, c, localBarycoord, localNormal, localDist, localSide )
4029			&& localDist < minDistance
4030		) {
4031
4032			found = true;
4033			minDistance = localDist;
4034
4035			faceIndices = uvec4( indices.xyz, i );
4036			faceNormal = localNormal;
4037
4038			side = localSide;
4039			barycoord = localBarycoord;
4040			dist = localDist;
4041
4042		}
4043
4044	}
4045
4046	return found;
4047
4048}
4049
4050float intersectsBVHNodeBounds( vec3 rayOrigin, vec3 rayDirection, BVH bvh, uint currNodeIndex ) {
4051
4052	vec3 boundsMin = texelFetch1D( bvh.bvhBounds, currNodeIndex * 2u + 0u ).xyz;
4053	vec3 boundsMax = texelFetch1D( bvh.bvhBounds, currNodeIndex * 2u + 1u ).xyz;
4054	return intersectsBounds( rayOrigin, rayDirection, boundsMin, boundsMax );
4055
4056}
4057
4058bool bvhIntersectFirstHit(
4059	BVH bvh, vec3 rayOrigin, vec3 rayDirection,
4060
4061	// output variables
4062	out uvec4 faceIndices, out vec3 faceNormal, out vec3 barycoord,
4063	out float side, out float dist
4064) {
4065
4066	// stack needs to be twice as long as the deepest tree we expect because
4067	// we push both the left and right child onto the stack every traversal
4068	int ptr = 0;
4069	uint stack[ 60 ];
4070	stack[ 0 ] = 0u;
4071
4072	float triangleDistance = 1e20;
4073	bool found = false;
4074	while ( ptr > - 1 && ptr < 60 ) {
4075
4076		uint currNodeIndex = stack[ ptr ];
4077		ptr --;
4078
4079		// check if we intersect the current bounds
4080		float boundsHitDistance = intersectsBVHNodeBounds( rayOrigin, rayDirection, bvh, currNodeIndex );
4081		if ( boundsHitDistance == INFINITY || boundsHitDistance > triangleDistance ) {
4082
4083			continue;
4084
4085		}
4086
4087		uvec2 boundsInfo = uTexelFetch1D( bvh.bvhContents, currNodeIndex ).xy;
4088		bool isLeaf = bool( boundsInfo.x & 0xffff0000u );
4089
4090		if ( isLeaf ) {
4091
4092			uint count = boundsInfo.x & 0x0000ffffu;
4093			uint offset = boundsInfo.y;
4094
4095			found = intersectTriangles(
4096				bvh, rayOrigin, rayDirection, offset, count, triangleDistance,
4097				faceIndices, faceNormal, barycoord, side, dist
4098			) || found;
4099
4100		} else {
4101
4102			uint leftIndex = currNodeIndex + 1u;
4103			uint splitAxis = boundsInfo.x & 0x0000ffffu;
4104			uint rightIndex = boundsInfo.y;
4105
4106			bool leftToRight = rayDirection[ splitAxis ] >= 0.0;
4107			uint c1 = leftToRight ? leftIndex : rightIndex;
4108			uint c2 = leftToRight ? rightIndex : leftIndex;
4109
4110			// set c2 in the stack so we traverse it later. We need to keep track of a pointer in
4111			// the stack while we traverse. The second pointer added is the one that will be
4112			// traversed first
4113			ptr ++;
4114			stack[ ptr ] = c2;
4115
4116			ptr ++;
4117			stack[ ptr ] = c1;
4118
4119		}
4120
4121	}
4122
4123	return found;
4124
4125}
4126`;const shaderDistanceFunction=`
4127
4128float dot2( in vec3 v ) {
4129
4130	return dot( v, v );
4131
4132}
4133
4134
4135// https://www.shadertoy.com/view/ttfGWl
4136vec3 closestPointToTriangle( vec3 p, vec3 v0, vec3 v1, vec3 v2, out vec3 barycoord ) {
4137
4138    vec3 v10 = v1 - v0;
4139    vec3 v21 = v2 - v1;
4140    vec3 v02 = v0 - v2;
4141
4142	vec3 p0 = p - v0;
4143	vec3 p1 = p - v1;
4144	vec3 p2 = p - v2;
4145
4146    vec3 nor = cross( v10, v02 );
4147
4148    // method 2, in barycentric space
4149    vec3  q = cross( nor, p0 );
4150    float d = 1.0 / dot2( nor );
4151    float u = d * dot( q, v02 );
4152    float v = d * dot( q, v10 );
4153    float w = 1.0 - u - v;
4154
4155	if( u < 0.0 ) {
4156
4157		w = clamp( dot( p2, v02 ) / dot2( v02 ), 0.0, 1.0 );
4158		u = 0.0;
4159		v = 1.0 - w;
4160
4161	} else if( v < 0.0 ) {
4162
4163		u = clamp( dot( p0, v10 ) / dot2( v10 ), 0.0, 1.0 );
4164		v = 0.0;
4165		w = 1.0 - u;
4166
4167	} else if( w < 0.0 ) {
4168
4169		v = clamp( dot( p1, v21 ) / dot2( v21 ), 0.0, 1.0 );
4170		w = 0.0;
4171		u = 1.0-v;
4172
4173	}
4174
4175	barycoord = vec3( u, v, w );
4176    return u * v1 + v * v2 + w * v0;
4177
4178}
4179
4180float distanceToTriangles(
4181	BVH bvh, vec3 point, uint offset, uint count, float closestDistanceSquared,
4182
4183	out uvec4 faceIndices, out vec3 faceNormal, out vec3 barycoord, out float side, out vec3 outPoint
4184) {
4185
4186	bool found = false;
4187	uvec3 localIndices;
4188	vec3 localBarycoord;
4189	vec3 localNormal;
4190	for ( uint i = offset, l = offset + count; i < l; i ++ ) {
4191
4192		uvec3 indices = uTexelFetch1D( bvh.index, i ).xyz;
4193		vec3 a = texelFetch1D( bvh.position, indices.x ).rgb;
4194		vec3 b = texelFetch1D( bvh.position, indices.y ).rgb;
4195		vec3 c = texelFetch1D( bvh.position, indices.z ).rgb;
4196
4197		// get the closest point and barycoord
4198		vec3 closestPoint = closestPointToTriangle( point, a, b, c, localBarycoord );
4199		vec3 delta = point - closestPoint;
4200		float sqDist = dot2( delta );
4201		if ( sqDist < closestDistanceSquared ) {
4202
4203			// set the output results
4204			closestDistanceSquared = sqDist;
4205			faceIndices = uvec4( indices.xyz, i );
4206			faceNormal = normalize( cross( a - b, b - c ) );
4207			barycoord = localBarycoord;
4208			outPoint = closestPoint;
4209			side = sign( dot( faceNormal, delta ) );
4210
4211		}
4212
4213	}
4214
4215	return closestDistanceSquared;
4216
4217}
4218
4219float distanceSqToBounds( vec3 point, vec3 boundsMin, vec3 boundsMax ) {
4220
4221	vec3 clampedPoint = clamp( point, boundsMin, boundsMax );
4222	vec3 delta = point - clampedPoint;
4223	return dot( delta, delta );
4224
4225}
4226
4227float distanceSqToBVHNodeBoundsPoint( vec3 point, BVH bvh, uint currNodeIndex ) {
4228
4229	vec3 boundsMin = texelFetch1D( bvh.bvhBounds, currNodeIndex * 2u + 0u ).xyz;
4230	vec3 boundsMax = texelFetch1D( bvh.bvhBounds, currNodeIndex * 2u + 1u ).xyz;
4231	return distanceSqToBounds( point, boundsMin, boundsMax );
4232
4233}
4234
4235float bvhClosestPointToPoint(
4236	BVH bvh, vec3 point,
4237
4238	// output variables
4239	out uvec4 faceIndices, out vec3 faceNormal, out vec3 barycoord,
4240	out float side, out vec3 outPoint
4241 ) {
4242
4243	// stack needs to be twice as long as the deepest tree we expect because
4244	// we push both the left and right child onto the stack every traversal
4245	int ptr = 0;
4246	uint stack[ 60 ];
4247	stack[ 0 ] = 0u;
4248	float closestDistanceSquared = pow( 100000.0, 2.0 );
4249	bool found = false;
4250	while ( ptr > - 1 && ptr < 60 ) {
4251
4252		uint currNodeIndex = stack[ ptr ];
4253		ptr --;
4254
4255		// check if we intersect the current bounds
4256		float boundsHitDistance = distanceSqToBVHNodeBoundsPoint( point, bvh, currNodeIndex );
4257		if ( boundsHitDistance > closestDistanceSquared ) {
4258
4259			continue;
4260
4261		}
4262
4263		uvec2 boundsInfo = uTexelFetch1D( bvh.bvhContents, currNodeIndex ).xy;
4264		bool isLeaf = bool( boundsInfo.x & 0xffff0000u );
4265		if ( isLeaf ) {
4266
4267			uint count = boundsInfo.x & 0x0000ffffu;
4268			uint offset = boundsInfo.y;
4269			closestDistanceSquared = distanceToTriangles(
4270				bvh, point, offset, count, closestDistanceSquared,
4271
4272				// outputs
4273				faceIndices, faceNormal, barycoord, side, outPoint
4274			);
4275
4276		} else {
4277
4278			uint leftIndex = currNodeIndex + 1u;
4279			uint splitAxis = boundsInfo.x & 0x0000ffffu;
4280			uint rightIndex = boundsInfo.y;
4281			bool leftToRight = distanceSqToBVHNodeBoundsPoint( point, bvh, leftIndex ) < distanceSqToBVHNodeBoundsPoint( point, bvh, rightIndex );//rayDirection[ splitAxis ] >= 0.0;
4282			uint c1 = leftToRight ? leftIndex : rightIndex;
4283			uint c2 = leftToRight ? rightIndex : leftIndex;
4284
4285			// set c2 in the stack so we traverse it later. We need to keep track of a pointer in
4286			// the stack while we traverse. The second pointer added is the one that will be
4287			// traversed first
4288			ptr ++;
4289			stack[ ptr ] = c2;
4290			ptr ++;
4291			stack[ ptr ] = c1;
4292
4293		}
4294
4295	}
4296
4297	return sqrt( closestDistanceSquared );
4298
4299}
4300`;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&&!attr2){return}const sameCount=attr1.count===attr2.count;
4300const 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<l;i++){const io=i+targetOffset;target.setX(io,attr.getX(i));if(itemSize>=2)target.setY(io,attr.getY(i));if(itemSize>=3)target.setZ(io,attr.getZ(i));if(itemSize>=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<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<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<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<geometries.length;++i){const geometry=geometries[i];let attributesCount=0;
4300if(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<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<geometries.length;++i){const geometry=geometries[i];const index=geometry.index;if(skipAttributes[i]!==true){for(let j=0;j<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<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<l;i++){if(a[i]!==b[i]){return false}}return true}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;
4300if(!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)&&this.geometryHash===geometry.attributes.position.version&&checkTypedArrayEquality(mesh.skeleton&&mesh.skeleton.boneMatrices||null,this.boneMatrices)&&this.primitiveCount===primitiveCount;return!identical}}class StaticGeometryGenerator{constructor(meshes){if(!Array.isArray(meshes)){meshes=[meshes]}const finalMeshes=[];meshes.forEach(object=>{object.traverseVisible(c=>{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(()=>new three.BufferGeometry);this._diffMap=new WeakMap}getMaterials(){const materials=[];this.meshes.forEach(mesh=>{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<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)}}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){targetGeometry.index=geometry.index}if(!targetAttributes.position){targetGeometry.setAttribute("position",createAttributeClone(attributes.position))}if(includeNormal&&!targetAttributes.normal&&attributes.normal){targetGeometry.setAttribute("normal",createAttributeClone(attributes.normal))}if(includeTangent&&!targetAttributes.tangent&&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);for(let i=0,l=attributes.position.count;i<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)}}
4300if(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])}return targetGeometry}}exports.AVERAGE=AVERAGE;exports.CENTER=CENTER;exports.CONTAINED=CONTAINED;exports.ExtendedTriangle=ExtendedTriangle;exports.FloatVertexAttributeTexture=FloatVertexAttributeTexture;exports.INTERSECTED=INTERSECTED;exports.IntVertexAttributeTexture=IntVertexAttributeTexture;exports.MeshBVH=MeshBVH;exports.MeshBVHUniformStruct=MeshBVHUniformStruct;exports.MeshBVHVisualizer=MeshBVHVisualizer;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;:eSgrfhsazcsGhCazcl4hXdndnazcs0mbascefhOxekashOavaiaX9RcsGcdtfydbhskdndnaCmbaOcefhxxekaOhxavaiaz9RcsGcdtfydbhOkdndnarTmbaocefhrxekaocdfhrao8SbegHcFeGhPdnaHcu9kmbaocofhAaPcFbGhPcrhodninar8SbbgHcFbGaotaPVhPaHcu9kmearcefhraocrfgoc8J9hmbkaAhrxekarcefhrkaPce4cbaPceG9R7amfgmhAkdndnaXcsSmbarhPxekarcefhPar8SbbgocFeGhHdnaocu9kmbarcvfhsaHcFbGhHcrhodninaP8SbbgrcFbGaotaHVhHarcu9kmeaPcefhPaocrfgoc8J9hmbkashPxekaPcefhPkaHce4cbaHceG9R7amfgmhskdndnaCcsSmbaPhoxekaPcefhoaP8SbbgrcFeGhHdnarcu9kmbaPcvfhOaHcFbGhHcrhrdninao8SbbgPcFbGartaHVhHaPcu9kmeaocefhoarcrfgrc8J9hmbkaOhoxekaocefhokaHce4cbaHceG9R7amfgmhOkdndnadcd9hmbabaDcetfgraA87ebarc
4300dfas87ebarclfaO87ebxekabaDcdtfgraABdbarclfasBdbarcwfaOBdbkavc;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
vendor: 12,056 bytes, line 4300
4300="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"
4300;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<data.length;++i){var ch=data.charCodeAt(i);result[i]=ch>96?ch-97:ch>64?ch-39:ch+4}var write=0;for(var i=0;i<data.length;++i){result[write++]=result[i]<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&~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&&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<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<workers.length;++i){if(workers[i].pending<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>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&&normal.isVector3?normal:new Vector3;this.vertexNormals=Array.isArray(normal)?normal:[];
4300this.color=color&&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<il;i++){this.vertexNormals[i]=source.vertexNormals[i].clone()}for(let i=0,il=source.vertexColors.length;i<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<il;i++){const vertex=this.vertices[i];vertex.applyMatrix4(matrix)}for(let i=0,il=this.faces.length;i<il;i++){const face=this.faces[i];face.normal.applyMatrix3(normalMatrix).normalize();for(let j=0,jl=face.vertexNormals.length;j<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<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>0){for(let i=0;i<groups.length;i++){const group=groups[i];const start=group.start;const count=group.count;for(let j=start,jl=start+count;j<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<index.count;i+=3){addFace(index.getX(i),index.getX(i+1),index.getX(i+2))}}else{for(let i=0;i<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}
4300computeFaceNormals(){const cb=new Vector3,ab=new Vector3;for(let f=0,fl=this.faces.length;f<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<vl;v++){vertices[v]=new Vector3}if(areaWeighted){const cb=new Vector3,ab=new Vector3;for(let f=0,fl=this.faces.length;f<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<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<vl;v++){vertices[v].normalize()}for(let f=0,fl=this.faces.length;f<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>0){this.normalsNeedUpdate=true}}computeFlatVertexNormals(){this.computeFaceNormals();for(let f=0,fl=this.faces.length;f<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>0){this.normalsNeedUpdate=true}}computeMorphNormals(){for(let f=0,fl=this.faces.length;f<fl;f++){const face=this.faces[f];
4300if(!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<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<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<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<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<fl;f++){const face=this.faces[f];
4300face.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&&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<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<il;i++){colors1.push(colors2[i].clone())}for(let i=0,il=faces2.length;i<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<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<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<il;i++){const faceVertexUvs2=geometry.faceVertexUvs[i];if(this.faceVertexUvs[i]===undefined)this.faceVertexUvs[i]=[];for(let j=0,jl=faceVertexUvs2.length;j<jl;j++){const uvs2=faceVertexUvs2[j],uvsCopy=[];for(let k=0,kl=uvs2.length;k<kl;k++){uvsCopy.push(uvs2[k].clone())}this.faceVertexUvs[i].push(uvsCopy)}}}mergeMesh(mesh){if(!(mesh&&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<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<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<3;n++){if(indices[n]===indices[(n+1)%3]){faceIndicesToRemove.push(i);break}}}for(let i=faceIndicesToRemove.length-1;i>=0;i--){const idx=faceIndicesToRemove[i];this.faces.splice(idx,1);for(let j=0,jl=this.faceVertexUvs.length;j<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<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<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&&uvs1.length===length)newUvs1=[];if(uvs2&&uvs2.length===length)newUvs2=[];for(let i=0;i<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;
4300data.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<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<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()>0;const hasFaceVertexNormal=face.vertexNormals.length>0;const hasFaceColor=face.color.r!==1||face.color.g!==1||face.color.b!==1;const hasFaceVertexColor=face.vertexColors.length>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<<position:value&~(1<<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>0)data.data.colors=colors;if(uvs.length>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<il;i++){this.vertices.push(vertices[i].clone())}const colors=source.colors;for(let i=0,il=colors.length;i<il;i++){this.colors.push(colors[i].clone())}const faces=source.faces;for(let i=0,il=faces.length;i<il;i++){this.faces.push(faces[i].clone())}for(let i=0,il=source.faceVertexUvs.length;i<il;i++){const faceVertexUvs=source.faceVertexUvs[i];if(this.faceVertexUvs[i]===undefined){this.faceVertexUvs[i]=[]}for(let j=0,jl=faceVertexUvs.length;j<jl;j++){const uvs=faceVertexUvs[j],uvsCopy=[];for(let k=0,kl=uvs.length;k<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<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<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<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<il;i++){const morphNormal={};if(morphNormals[i].vertexNormals!==undefined){morphNormal.vertexNormals=[];for(let j=0,jl=morphNormals[i].vertexNormals.length;j<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<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<il;i++){this.skinWeights.push(skinWeights[i].clone())}const skinIndices=source.skinIndices;for(let i=0,il=skinIndices.length;i<il;i++){this.skinIndices.push(skinIndices[i].clone())}const lineDistances=source.lineDistances;for(let i=0,il=lineDistances.length;i<il;i++){this.lineDistances.push(lineDistances[i])}const boundingBox=source.boundingBox;
4300if(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>0){const normals=new Float32Array(geometry.normals.length*3);buffergeometry.setAttribute("normal",copyVector3sArray(new BufferAttribute(normals,3),geometry.normals))}if(geometry.colors.length>0){const colors=new Float32Array(geometry.colors.length*3);buffergeometry.setAttribute("color",copyColorsArray(new BufferAttribute(colors,3),geometry.colors))}if(geometry.uvs.length>0){const uvs=new Float32Array(geometry.uvs.length*2);buffergeometry.setAttribute("uv",copyVector2sArray(new BufferAttribute(uvs,2),geometry.uvs))}if(geometry.uvs2.length>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<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>0){const skinIndices=new Float32BufferAttribute(geometry.skinIndices.length*4,4);buffergeometry.setAttribute("skinIndex",copyVector4sArray(skinIndices,geometry.skinIndices))}if(geometry.skinWeights.length>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&&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<faces.length;i++){const face=faces[i];if(face.materialIndex!==materialIndex){materialIndex=face.materialIndex;
4300if(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]&&faceVertexUvs[0].length>0;const hasFaceVertexUv2=faceVertexUvs[1]&&faceVertexUvs[1].length>0;const morphTargets=geometry.morphTargets;const morphTargetsLength=morphTargets.length;let morphTargetsPosition;if(morphTargetsLength>0){morphTargetsPosition=[];for(let i=0;i<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>0){morphTargetsNormal=[];for(let i=0;i<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>0&&faces.length===0){console.error("THREE.DirectGeometry: Faceless geometries are not supported.")}for(let i=0;i<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<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<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<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<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<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<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<attribute.getCount();i++){dstArray[j++]=attribute.getX(i);dstArray[j++]=attribute.getY(i);if(attribute.itemSize>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<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<geometries.length;++i){const geometry=geometries[i];let attributesCount=0;
4300if(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<geometries.length;++i){const index=geometries[i].index;for(let j=0;j<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<numMorphTargets;++i){const morphAttributesToMerge=[];for(let j=0;j<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<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<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<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"];
4300const setters=["setX","setY","setZ","setW"];for(let j=0,l=attributes.length;j<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<count;c++){for(let k=0;k<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<count;i++){newAttribute.setX(i,attribute.getX(i));if(itemSize>=2){newAttribute.setY(i,attribute.getY(i))}if(itemSize>=3){newAttribute.setZ(i,attribute.getZ(i))}if(itemSize>=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<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<vertexCount;i++){const index=indices?indices.getX(i):i;let hash="";for(let j=0,l=attributeNames.length;j<l;j++){const name=attributeNames[j];const attribute=geometry.getAttribute(name);const itemSize=attribute.itemSize;for(let k=0;k<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<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<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<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<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");
4300if(position!==undefined){for(let i=0;i<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<=numberOfTriangles;i++){newIndices.push(index.getX(0));newIndices.push(index.getX(i));newIndices.push(index.getX(i+1))}}else{for(let i=0;i<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&&morphInfluences){_morphA.set(0,0,0);_morphB.set(0,0,0);_morphC.set(0,0,0);for(let i=0,il=morphAttribute.length;i<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<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<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<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<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<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<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)=>{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<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<groups.length;i++){const group=groups[i];const groupStart=group.start;const groupLength=groupStart+group.count;for(let j=groupStart;j<groupLength;j++){newIndices.push(index.getX(j))}}geometry.dispose();geometry.setIndex(newIndices);let start=0;for(let i=0;i<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<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;
4300const 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<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<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<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<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<lk;k++){const otherNorm=otherNormals[k];if(tempNorm.dot(otherNorm)>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<this.pool;i++)if(!(this.workerStatus&1<<i))return i;return-1}_onMessage(workerId,msg){const resolve=this.workersResolve[workerId];resolve&&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<<workerId}}setWorkerCreator(workerCreator){this.workerCreator=workerCreator}setWorkerLimit(pool){this.pool=pool}postMessage(msg,transfer){return new Promise(resolve=>{const workerId=this._getIdleWorker();if(workerId!==-1){this._initWorker(workerId);this.workerStatus|=1<<workerId;this.workersResolve[workerId]=resolve;this.workers[workerId].postMessage(msg,transfer)}else{this.queue.push({resolve,msg,transfer})}})}dispose(){this.workers.forEach(worker=>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
4300=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&&i<t;)i++,this._offset++;return i<t&&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<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<g;
4300t++){const e={bitOffset:_._nextUint16(),bitLength:_._nextUint8(),channelType:_._nextUint8(),samplePosition:[_._nextUint8(),_._nextUint8(),_._nextUint8(),_._nextUint8()],sampleLower:-Infinity,sampleUpper:Infinity};64&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<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&&y._skip(4-y._offset%4)}if(c<=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<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<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(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<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<8;t++)l.setUint8(20+t,r.bytesPlane[t]);for(let t=0;t<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&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>0?c+a.byteLength:0;h%8&&(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<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>0?h:0),!0),x.setBigUint64(60,BigInt(n.byteLength),!0),new Uint8Array(Fi([new Uint8Array(Ti).buffer,y,p.buffer,o,a,h>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=
4300Rt,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,RedF
4300ormat=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])=>{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(()=>{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>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=>{if(_taskCache.has(buffer)){const cachedTask=_taskCache.get(buffer);
4300return cachedTask.promise.then(onLoad).catch(onError)}this._createTexture(buffer).then(texture=>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&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(()=>{return this.workerPool.postMessage({type:"transcode",buffer,taskConfig:taskConfig},[buffer])}).then(e=>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(()=>{try{const{width,height,hasAlpha,mipmaps,format,dfdTransferFn,dfdFlags}=transcode(message.buffer);const buffers=[];for(let i=0;i<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=>{BasisModule={wasmBinary,onRuntimeInitialized:resolve};BASIS(BasisModule)}).then(()=>{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<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<options.length;i++){const opt=options[i];if(!config[opt.if])continue;if(!opt.basisFormat.includes(basisFormat))continue;if(hasAlpha&&opt.transcoderFormat.length<2)continue;if(opt.needsPowerOfTwo&&!(isPowerOfTwo(width)&&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<=2)return true;return(value&value-1)===0&&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=>{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=>A.arrayBuffer()).then(A=>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)
vendor: 3,939 bytes, line 4300
4300}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="AGFzbQEAAAABpQEVYAF/AX9gAn9/AGADf39/AX9gBX9/f39/AX9gAX8AYAJ/fwF/YAR/f39/AX9gA39/fwBgBn9/f39/fwF/YAd/f39/f39/AX9gAn9/AX5gAn5+AX5gAABgBX9/f39/AGAGf39/f39/AGAIf39/f39/f38AYAl/f39/f39/f38AYAABf2AIf39/f39/f38Bf2ANf39/f39/f39/f39/fwF/YAF/AX4CJwEDZW52H2Vtc2NyaXB0ZW5fbm90aWZ5X21lbW9yeV9ncm93dGgABANpaAEFAAAFAgEFCwACAQABAgIFBQcAAwABDgsBAQcAEhMHAAUBDAQEAAANBwQCAgYCBAgDAwMDBgEACQkHBgICAAYGAgQUBwYGAwIGAAMCAQgBBwUGCgoEEQAEBAEIAwgDBQgDEA8IAAcABAUBcAECAgUEAQCAAgYJAX8BQaCgwAILB2AHBm1lbW9yeQIABm1hbGxvYwAoBGZyZWUAJgxaU1REX2lzRXJyb3IAaBlaU1REX2ZpbmREZWNvbXByZXNzZWRTaXplAFQPWlNURF9kZWNvbXByZXNzAEoGX3N0YXJ0ACQJBwEAQQELASQKussBaA8AIAAgACgCBCABajYCBAsZACAAKAIAIAAoAgRBH3F0QQAgAWtBH3F2CwgAIABBiH9LC34BBH9BAyEBIAAoAgQiA0EgTQRAIAAoAggiASAAKAIQTwRAIAAQDQ8LIAAoAgwi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QEgAkEEaiICIARJDQALDAELIANBBEkEQCAAIQIMAQsgA0F8aiIEIABJBEAgACECDAELIAAhAgNAIAIgAS0AADoAACACIAEtAAE6AAEgAiABLQACOgACIAIgAS0AAzoAAyABQQRqIQEgAkEEaiICIARNDQALCyACIANJBEADQCACIAEtAAA6AAAgAUEBaiEBIAJBAWoiAiADRw0ACwsgAAsMACAAIAEpAAA3AAALQQECfyAAKAIIIgEgACgCEEkEQEEDDwsgACAAKAIEIgJBB3E2AgQgACABIAJBA3ZrIgE2AgggACABKAAANgIAQQALDAAgACABKAIANgAAC/cCAQJ/AkAgACABRg0AAkAgASACaiAASwRAIAAgAmoiBCABSw0BCyAAIAEgAhALDwsgACABc0EDcSEDAkACQCAAIAFJBEAgAwRAIAAhAwwDCyAAQQNxRQRAIAAhAwwCCyAAIQMDQCACRQ0EIAMgAS0AADoAACABQQFqIQEgAkF/aiECIANBAWoiA0EDcQ0ACwwBCwJAIAMNACAEQQNxBEADQCACRQ0FIAAgAkF/aiICaiIDIAEgAmotAAA6AAAgA0EDcQ0ACwsgAkEDTQ0AA0AgACACQXxqIgJqIAEgAmooAgA2AgAgAkEDSw0ACwsgAkUNAgNAIAAgAkF/aiICaiABIAJqLQAAOgAAIAINAAsMAgsgAkEDTQ0AIAIhBANAIAMgASgCADYCACABQQRqIQEgA0EEaiEDIARBfGoiBEEDSw0ACyACQQNxIQILIAJFDQADQCADIAEtAAA6AAAgA0EBaiEDIAFBAWohASACQX9qIgINAAsLIAAL8wICAn8BfgJAIAJFDQAgACACaiIDQX9qIAE6AAAgACABOgAAIAJBA0kNACADQX5qIAE6AAAgACABOgABIANBfWogAToAACAAIAE6AAIgAkEHSQ0AIANBfGogAToAACAAIAE6AAMgAkEJSQ0AIABBACAAa0EDcSIEaiIDIAFB/wFxQYGChAhsIgE2AgAgAyACIARrQXxxIgRqIgJBfGogATYCACAEQQlJDQAgAyABNgIIIAMgATYCBCACQXhqIAE2AgAgAkF0aiABNgIAIARBGUkNACADIAE2AhggAyABNgIUIAMgATYCECADIAE2AgwgAkFwaiABNgIAIAJBbGogATYCACACQWhqIAE2AgAgAkFkaiABNgIAIAQgA0EEcUEYciIEayICQSBJDQAgAa0iBUIghiAFhCEFIAMgBGohAQNAIAEgBTcDGCABIAU3AxAgASAFNwMIIAEgBTcDACABQSBqIQEgAkFgaiICQR9LDQALCyAACy8BAn8gACgCBCAAKAIAQQJ0aiICLQACIQMgACACLwEAIAEgAi0AAxAIajYCACADCy8BAn8gACgCBCAAKAIAQQJ0aiICLQACIQMgACACLwEAIAEgAi0AAxAFajYCACADCx8AIAAgASACKAIEEAg2AgAgARAEGiAAIAJBCGo2AgQLCAAgAGdBH3MLugUBDX8jAEEQayIKJAACfyAEQQNNBEAgCkEANgIMIApBDGogAyAEEAsaIAAgASACIApBDGpBBBAVIgBBbCAAEAMbIAAgACAESxsMAQsgAEEAIAEoAgBBAXRBAmoQECENQVQgAygAACIGQQ9xIgBBCksNABogAiAAQQVqNgIAIAMgBGoiAkF8aiEMIAJBeWohDiACQXtqIRAgAEEGaiELQQQhBSAGQQR2IQ
vendor: 35,367 bytes, line 4300
4300RBICAAdCIAQQFyIQkgASgCACEPQQAhAiADIQYCQANAIAlBAkggAiAPS3JFBEAgAiEHAkAgCARAA0AgBEH//wNxQf//A0YEQCAHQRhqIQcgBiAQSQR/IAZBAmoiBigAACAFdgUgBUEQaiEFIARBEHYLIQQMAQsLA0AgBEEDcSIIQQNGBEAgBUECaiEFIARBAnYhBCAHQQNqIQcMAQsLIAcgCGoiByAPSw0EIAVBAmohBQNAIAIgB0kEQCANIAJBAXRqQQA7AQAgAkEBaiECDAELCyAGIA5LQQAgBiAFQQN1aiIHIAxLG0UEQCAHKAAAIAVBB3EiBXYhBAwCCyAEQQJ2IQQLIAYhBwsCfyALQX9qIAQgAEF/anEiBiAAQQF0QX9qIgggCWsiEUkNABogBCAIcSIEQQAgESAEIABIG2shBiALCyEIIA0gAkEBdGogBkF/aiIEOwEAIAlBASAGayAEIAZB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A0AAkACQEGEICgCACIARQ0AIAAoAgAiA0EBcQ0AIAAgA0EBcjYCACADQQF2QXhqIgFBCCABQQhLG2dBH3NBAnRBgB9qIgEoAgAgAEEIakYEQCABIAAoAgw2AgALIAAoAggiAQRAIAEgACgCDDYCBAsgACgCDCIBBEAgASAAKAIINgIACyACECchAkEAIQFBhCAoAgAhACACDQEgACAAKAIAQX5xNgIAQQAPCyACQQ9qQXhxIgMQHSICQX9GDQIgAkEHakF4cSIAIAJHBEAgACACaxAdQX9GDQMLAkBBhCAoAgAiAUUEQEGAICAANgIADAELIAAgATYCBAtBhCAgADYCACAAIANBAXRBAXI2AgAMAQsgAEUNAQsgAEEIaiEBCyABC7kDAQJ/IAAgA2ohBQJAIANBB0wEQANAIAAgBU8NAiAAIAItAAA6AAAgAEEBaiEAIAJBAWohAgwAAAsACyAEQQFGBEACQCAAIAJrIgZBB00EQCAAIAItAAA6AAAgACACLQABOgABIAAgAi0AAjoAAiAAIAItAAM6AAMgAEEEaiACIAZBAnQiBkHAHmooAgBqIgIQFyACIAZB4B5qKAIAayECDAELIAAgAhAMCyACQQhqIQIgAEEIaiEACwJAAkACQAJAIAUgAU0EQCAAIANqIQEgBEEBRyAAIAJrQQ9Kcg0BA0AgACACEAwgAkEIaiECIABBCGoiACABSQ0ACwwFCyAAIAFLBEAgACEBDAQLIARBAUcgACACa0EPSnINASAAIQMgAiEEA0AgAyAEEAwgBEEIaiEEIANBCGoiAyABSQ0ACwwCCwNAIAAgAhAHIAJBEGohAiAAQRBqIgAgAUkNAAsMAwsgACEDIAIhBANAIAMgBBAHIARBEGohBCADQRBqIgMgAUkNAAsLIAIgASAAa2ohAgsDQCABIAVPDQEgASACLQAAOgAAIAFBAWohASACQQFqIQIMAAALAAsLQQECfyAAIAAoArjgASIDNgLE4AEgACgCvOABIQQgACABNgK84AEgACABIAJqNgK44AEgACABIAQgA2tqNgLA4AELpgEBAX8gACAAKALs4QEQFjYCyOABIABCADcD+OABIABCADcDuOABIABBwOABak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ohBgJAIAMvAQIEQCAEQRhqIAEgAhAGIgIQAw0BIARBEGogBEEYaiADEBwgBEEIaiAEQRhqIAMQHCAAIQMDQAJAIARBGGoQBCADIAZPckUEQCADIARBEGogBEEYahASOgAAIAMgBEEIaiAEQRhqEBI6AAEgBEEYahAERQ0BIANBAmohAwsgBUF+aiEFAn8DQEG6fyECIAMiASAFSw0FIAEgBEEQaiAEQRhqEBI6AAAgAUEBaiEDIARBGGoQBEEDRgRAQQIhAiAEQQhqDAILIAMgBUsNBSABIARBCGogBEEYahASOgABIAFBAmohA0EDIQIgBEEYahAEQQNHDQALIARBEGoLIQUgAyAFIARBGGoQEjoAACABIAJqIABrIQIMAwsgAyAEQRBqIARBGGoQEjoAAiADIARBCGogBEEYahASOgADIANBBGohAwwAAAsACyAEQRhqIAEgAhAGIgIQAw0AIARBEGogBEEYaiADEBwgBEEIaiAEQRhqIAMQHCAAIQMDQAJAIARBGGoQBCADIAZPckUEQCADIARBEGogBEEYahAROgAAIAMgBEEIaiAEQRhqEBE6AAEgBEEYahAERQ0BIANBAmohAwsgBUF+aiEFAn8DQEG6fyECIAMiASAFSw0EIAEgBEEQaiAEQRhqEBE6AAAgAUEBaiEDIARBGGoQBEEDRgRAQQIhAiAEQQhqDAILIAMgBUsNBCABIARBCGogBEEYahAROgABIAFBAmohA0EDIQIgBEEYahAEQQNHDQALIARBEGoLIQUgAyAFIARBGGoQEToAACABIAJqIABrIQIMAgsgAyAEQRBqIARBGGoQEToAAiADIARBCGogBEEYahAROgADIANBBGohAwwAAAsACyAEQTBqJAAgAgtpAQF/An8CQAJAIAJBB00NACABKAAAQbfIwuF+Rw0AIAAgASgABDYCmOIBQWIgAEEQaiABIAIQPiIDEAMNAhogAEKBgICAEDcDiOEBIAAgASADaiACIANrECoMAQsgACABIAIQKgtBAAsLrQMBBn8jAEGAAWsiAyQAQWIhCAJAIAJBCUkNACAAQZjQAGogAUEIaiIEIAJBeGogAEGY0AAQMyIFEAMiBg0AIANBHzYCfCADI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RQ0BQn4PCyAAIAEQVSIEQn1WDQMgBCAFfCIFIARUIQJCfiEEIAINAyAAIAEQUiICEAMNAwsgASACayEBIAAgAmohAAwBCwtCfiAFIAEbIQQLIAQLPwIBfwF+IwBBMGsiAiQAAn5CfiACQQhqIAAgARAtDQAaQgAgAigCHEEBRg0AGiACKQMICyEDIAJBMGokACADC40BAQJ/IwBBMGsiASQAAkAgAEUNACAAKAKI4gENACABIABB/OEBaigCADYCKCABIAApAvThATcDICAAEDAgACgCqOIBIQIgASABKAIoNgIYIAEgASkDIDcDECACIAFBEGoQGyAAQQA2AqjiASABIAEoAig2AgggASABKQMgNwMAIAAgARAbCyABQTBqJAALKgECfyMAQRBrIgAkACAAQQA2AgggAEIANwMAIAAQWCEBIABBEGokACABC4cBAQN/IwBBEGsiAiQAAkAgACgCAEUgACgCBEVzDQAgAiAAKAIINgIIIAIgACkCADcDAAJ/IAIoAgAiAQRAIAIoAghBqOMJIAERBQAMAQtBqOMJECgLIgFFDQAgASAAKQIANwL04QEgAUH84QFqIAAoAgg2AgAgARBZIAEhAwsgAkEQaiQAIAMLywEBAn8jAEEgayIBJAAgAEGBgIDAADYCtOIBIABBADYCiOIBIABBADYC7OEBIABCADcDkOIBIABBADYCpOMJIABBADYC3OIBIABCADcCzOIBIABBADYCvOIBIABBADYCxOABIABCADcCnOIBIABBpOIBakIANwIAIABBrOIBakEANgIAIAFCADcCECABQgA3AhggASABKQMYNwMIIAEgASkDEDcDACABKAIIQQh2QQFxIQIgAEEANgLg4gEgACACNgKM4gEgAUEgaiQAC3YBA38jAEEwayIBJAAgAARAIAEgAEHE0AFqIgIoAgA2AiggASAAKQK80AE3AyAgACgCACEDIAEgAigCADYCGCABIAApArzQATcDECADIAFBEGoQGyABIAEoAig2AgggASABKQMgNwMAIAAgARAbCyABQTBqJAALzAEBAX8gACABKAK00AE2ApjiASAAIAEoAgQiAjYCwOABIAAgAjYCvOABIAAgAiABKAIIaiICNgK44AEgACACNgLE4AEgASgCuNABBEA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GDgAAAAAAAAYRAAAAAAAABhQAAAAAAAAGFwAAAAAAAAYaAAAAAAAABh0AAAAAAAAGIAAAAAAAEAYDAAEAAAAPBgOAAAAAAA4GA0AAAAAADQYDIAAAAAAMBgMQAAAAAAsGAwgAAAAACgYDBABBpB0L2QEBAAAAAwAAAAcAAAAPAAAAHwAAAD8AAAB/AAAA/wAAAP8BAAD/AwAA/wcAAP8PAAD/HwAA/z8AAP9/AAD//wAA//8BAP//AwD//wcA//8PAP//HwD//z8A//9/AP///wD///8B////A////wf///8P////H////z////9/AAAAAAEAAAACAAAABAAAAAAAAAACAAAABAAAAAgAAAAAAAAAAQAAAAIAAAABAAAABAAAAAQAAAAEAAAABAAAAAgAAAAIAAAACAAAAAcAAAAIAAAACQAAAAoAAAALAEGgIAsDwBBQ"
4300;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=>{this.parse(buffer,onLoad,onError)},onProgress,onError)}parse(buffer,onLoad,onError){this.decodeDracoFile(buffer,onLoad,null,null,SRGBColorSpace).catch(onError)}decodeDracoFile(buffer,callback,attributeIDs,attributeTypes,vertexColorSpace=LinearSRGBColorSpace){const taskConfig={attributeIDs:attributeIDs||this.defaultAttributeIDs,attributeTypes:attributeTypes||this.defaultAttributeTypes,useUniqueIDs:!!attributeIDs,vertexColorSpace:vertexColorSpace};return this.decodeGeometry(buffer,taskConfig).then(callback)}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=>{worker=_worker;return new Promise((resolve,reject)=>{worker._callbacks[taskID]={resolve,reject};worker.postMessage({type:"decode",id:taskID,taskConfig,buffer},[buffer])})}).then(message=>this._createGeometry(message.geometry));geometryPending.catch(()=>true).then(()=>{if(worker&&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<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<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)=>{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=>{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(()=>
4300{if(this.workerPool.length<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>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=>worker._taskLoad))}dispose(){for(let i=0;i<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=>{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=>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);
4300json.nodes&&json.nodes.forEach((node,index)=>{(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,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,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,sRGBEncoding=THREE.sRGBEncoding;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 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)});
4300this.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 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!==""){resourcePath=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]<2){if(onError)onError(new Error("THREE.GLTFLoader: Unsupported asset. glTF versions >=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<this.pluginCallbacks.length;i++){const plugin=this.pluginCallbacks[i](parser);plugins[plugin.name]=plugin;extensions[plugin.name]=true}if(json.extensionsUsed){for(let i=0;i<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)>=0&&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={}}
4300}}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_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_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_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<nodeLength;nodeIndex++){const nodeDef=nodeDefs[nodeIndex];if(nodeDef.extensions&&nodeDef.extensions[this.name]&&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&&json.extensions[this.name]||{};const lightDefs=extensions.lights||[];const lightDef=lightDefs[lightIndex];let lightNode;const color=new Color(16777215);if(lightDef.color!==undefined)color.fromArray(lightDef.color);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&&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.fromArray(array);materialParams.opacity=array[3]}if(metallicRoughness.baseColorTexture!==undefined){pending.push(parser.assignTexture(materialParams,"map",metallicRoughness.baseColorTexture,sRGBEncoding))}}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 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){materialParams.sheenColor.fromArray(extension.sheenColorFactor)}if(extension.sheenRoughnessFactor!==undefined){materialParams.sheenRoughness=extension.sheenRoughnessFactor}if(extension.sheenColorTexture!==undefined){pending.push(parser.assignTexture(materialParams,"sheenColorMap",extension.sheenColorTexture,sRGBEncoding))}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;
4300if(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(colorArray[0],colorArray[1],colorArray[2]);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(colorArray[0],colorArray[1],colorArray[2]);if(extension.specularColorTexture!==undefined){pending.push(parser.assignTexture(materialParams,"specularColorMap",extension.specularColorTexture,sRGBEncoding))}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&&json.extensionsRequired.indexOf(this.name)>=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&&json.extensionsRequired.indexOf(name)>=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&&json.extensionsRequired.indexOf(name)>=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,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUIAAADybWV0YQAAAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYAAAAADnBpdG0AAAAAAAEAAAAeaWxvYwAAAABEAAABAAEAAAABAAABGgAAABcAAAAoaWluZgAAAAAAAQAAABppbmZlAgAAAAABAABhdjAxQ29sb3IAAAAAamlwcnAAAABLaXBjbwAAABRpc3BlAAAAAAAAAAEAAAABAAAAEHBpeGkAAAAAAwgICAAAAAxhdj
4300FDgQAMAAAAABNjb2xybmNseAACAAIABoAAAAAXaXBtYQAAAAAAAAABAAEEAQKDBAAAAB9tZGF0EgAKCBgABogQEDQgMgkQAAAAB8dSLfI=";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&&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&&json.extensionsRequired.indexOf(this.name)>=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&&primitive.mode!==WEBGL_CONSTANTS.TRIANGLE_STRIP&&primitive.mode!==WEBGL_CONSTANTS.TRIANGLE_FAN&&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=>{attributes[key]=accessor;return attributes[key]}))}if(pending.length<1){return null}pending.push(this.parser.createNodeMesh(nodeIndex));return Promise.all(pending).then(results=>{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<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!=="TRANSLATION"&&attributeName!=="ROTATION"&&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<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;
4300while(chunkIndex<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){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)})})}}class GLTFTextureTransformExtension{constructor(){this.name=EXTENSIONS.KHR_TEXTURE_TRANSFORM}extendTexture(texture,transform){if((transform.texCoord===undefined||transform.texCoord===texture.channel)&&transform.offset===undefined&&transform.rotation===undefined&&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:"uv2",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<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&&hasMorphNormal&&hasMorphColor)break}if(!hasMorphPosition&&!hasMorphNormal&&!hasMorphColor)return Promise.resolve(geometry);const pendingPositionAccessors=[];const pendingNormalAccessors=[];const pendingColorAccessors=[];for(let i=0,il=targets.length;i<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<il;i++){mesh.morphTargetInfluences[i]=meshDef.weights[i]}}if(meshDef.extras&&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<il;i++){mesh.morphTargetDictionary[targetNames[i]]=i}}else{console.warn("THREE.GLTFLoader: Invalid extras.targetNames length. Ignoring names.")}}}function createPrimitiveKey(primitiveDef){const dracoExtension=primitiveDef.extensions&&primitiveDef.extensions[EXTENSIONS.KHR_DRACO_MESH_COMPRESSION];let geometryKey;if(dracoExtension){geometryKey="draco:"+dracoExtension.bufferView+":"+dracoExtension.indices+":"+createAttributesKey(dracoExtension.attributes)}else{geometryKey=primitiveDef.indices+":"+createAttributesKey(primitiveDef.attributes)+":"+primitiveDef.mode}return geometryKey}function createAttributesKey(attributes){let attributesKey="";const keys=Object.keys(attributes).sort();for(let i=0,il=keys.length;i<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)>0||uri.search(/^data\:image\/jpeg/)===0)return"image/jpeg";if(uri.search(/\.webp($|\?)/i)>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")>-1;firefoxVersion=isFirefox?navigator.userAgent.match(/Firefox\/([0-9]+)\./)[1]:-1}if(typeof createImageBitmap==="undefined"||isSafari||isFirefox&&firefoxVersion<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&&ext._markDefs()});Promise.all(this._invokeAll(function(ext){return ext.beforeRoot&&ext.beforeRoot()}
4300)).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);Promise.all(parser._invokeAll(function(ext){return ext.afterRoot&&ext.afterRoot(result)})).then(function(){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<skinLength;skinIndex++){const joints=skinDefs[skinIndex].joints;for(let i=0,il=joints.length;i<il;i++){nodeDefs[joints[i]].isBone=true}}for(let nodeIndex=0,nodeLength=nodeDefs.length;nodeIndex<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]<=1)return object;const ref=object.clone();const updateMappings=(original,clone)=>{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<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<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&&ext.loadNode(index)});break;case"mesh":dependency=this._invokeOne(function(ext){return ext.loadMesh&&ext.loadMesh(index)});break;case"accessor":dependency=this.loadAccessor(index);break;case"bufferView":dependency=this._invokeOne(function(ext){return ext.loadBufferView&&ext.loadBufferView(index)});break;case"buffer":dependency=this.loadBuffer(index);break;case"material":dependency=this._invokeOne(function(ext){return ext.loadMaterial&&ext.loadMaterial(index)});break;case"texture":dependency=this._invokeOne(function(ext){return ext.loadTexture&&ext.loadTexture(index)});break;case"skin":dependency=this.loadSkin(index);break;case"animation":dependency=this._invokeOne(function(ext){return ext.loadAnimation&&ext.loadAnimation(index)});break;case"camera":dependency=this.loadCamera(index);break;default:dependency=this._invokeOne(function(ext){return ext!=this&&ext.getDependency&&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&&bufferDef.type!=="arraybuffer"){throw new Error("THREE.GLTFLoader: "+bufferDef.type+" buffer type is not supported.")}if(bufferDef.uri===undefined&&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];
4300if(accessorDef.bufferView===undefined&&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&&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<il;i++){const index=sparseIndices[i];bufferAttribute.setX(index,sparseValues[i*itemSize]);if(itemSize>=2)bufferAttribute.setY(index,sparseValues[i*itemSize+1]);if(itemSize>=3)bufferAttribute.setZ(index,sparseValues[i*itemSize+2]);if(itemSize>=4)bufferAttribute.setW(index,sparseValues[i*itemSize+3]);if(itemSize>=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===""&&typeof sourceDef.uri==="string"&&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=>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;
4300const 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,encoding){const parser=this;return this.getDependency("texture",mapDef.index).then(function(texture){if(!texture)return null;if(mapDef.texCoord!==undefined&&mapDef.texCoord>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(encoding!==undefined){texture.encoding=encoding}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.fromArray(array);materialParams.opacity=array[3]}if(metallicRoughness.baseColorTexture!==undefined){pending.push(parser.assignTexture(materialParams,"map",metallicRoughness.baseColorTexture,sRGBEncoding))}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&&ext.getMaterialType(materialIndex)});
4300pending.push(Promise.all(this._invokeAll(function(ext){return ext.extendMaterialParams&&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&&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&&materialType!==MeshBasicMaterial){pending.push(parser.assignTexture(materialParams,"aoMap",materialDef.occlusionTexture));if(materialDef.occlusionTexture.strength!==undefined){materialParams.aoMapIntensity=materialDef.occlusionTexture.strength}}if(materialDef.emissiveFactor!==undefined&&materialType!==MeshBasicMaterial){materialParams.emissive=new Color().fromArray(materialDef.emissiveFactor)}if(materialDef.emissiveTexture!==undefined&&materialType!==MeshBasicMaterial){pending.push(parser.assignTexture(materialParams,"emissiveMap",materialDef.emissiveTexture,sRGBEncoding))}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||"");let name=sanitizedName;for(let i=1;this.nodeNamesUsed[name];++i){name=sanitizedName+"_"+i}this.nodeNamesUsed[name]=true;return name}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<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&&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<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<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>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<il;i++){parser.associations.set(meshes[i],{meshes:meshIndex,primitives:i})}if(meshes.length===1){return meshes[0]}const group=new Group;parser.associations.set(group,{meshes:meshIndex});for(let i=0,il=meshes.length;i<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)}
4300else 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<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<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 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<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<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;node.updateMatrix();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:default:TypedKeyframeTrack=VectorKeyframeTrack;break;}const targetName=node.name?node.name:node.uuid;const interpolation=sampler.interpolation!==undefined?INTERPOLATION[sampler.interpolation]:InterpolateLinear;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 outputArray=outputAccessor.array;if(outputAccessor.normalized){const scale=getNormalizedComponentScale(outputArray.constructor);const scaled=new Float32Array(outputArray.length);for(let j=0,jl=outputArray.length;j<jl;j++){scaled[j]=outputArray[j]*scale}outputArray=scaled}for(let j=0,jl=targetNames.length;j<jl;j++){const track=new TypedKeyframeTrack(targetNames[j]+"."+PATH_PROPERTIES[target.path],inputAccessor.array,outputArray,interpolation);if(sampler.interpolation==="CUBICSPLINE"){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}tracks.push(track)}}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);
4300if(nodeDef.weights!==undefined){node.traverse(function(o){if(!o.isMesh)return;for(let i=0,il=nodeDef.weights.length;i<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<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<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&&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&&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>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<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<il;i++){pending.push(parser.getDependency("node",nodeIds[i]))}return Promise.all(pending).then(function(nodes){for(let i=0,il=nodes.length;i<il;i++){scene.add(nodes[i])}const reduceAssociations=node=>{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=>{const mappings=parser.associations.get(node);if(mappings!=null){reducedAssociations.set(node,mappings)}});return reducedAssociations};parser.associations=reduceAssociations(scene);return scene})}}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&&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<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;
4300if(min!==undefined&&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&&!geometry.index){const accessor=parser.getDependency("accessor",primitiveDef.indices).then(function(accessor){geometry.setIndex(accessor)});pending.push(accessor)}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&&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<0});var x=0,y=0;var max=0,min=0;pv.forEach(function(p){if(p.x<-1)x-=1;else if(p.x>1)x+=1;if(p.y<-1)y-=1;else if(p.y>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&&Math.abs(x)<pv.length&&Math.abs(y)<pv.length&&max<deviceMax&&min>deviceMin}}CSS3DObject.prototype.isCSS3DObject=true;THREE.CSS3DObject=CSS3DObject;class CSS3DQuad extends Object3D{constructor(element){super();this.contentWidth=100;this.contentHeight=100;
4300this.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<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<0&&pv[1].z<0&&pv[2].z<0&&pv[3].z<0;var x=0,y=0;var max=0,min=0;pv.forEach(function(p){if(p.x<-1)x-=1;else if(p.x>1)x+=1;if(p.y<-1)y-=1;else if(p.y>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&&Math.abs(x)<pv.length&&Math.abs(y)<pv.length&&max<deviceMax&&min>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}
4300if(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<l;i++)renderObject(object.children[i],scene,camera)}function epsilon(value){return value<1e-10&&value>-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<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<arguments.length;i++)a[i-1]=arguments[i];return a}function copyArray(t,s){for(var i=0;i<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&&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=>{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,Orthogra
4300phicCamera=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>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<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.Backgroun
4300d",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<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>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<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"&&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>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<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<samples){sum+=2*weight}}for(let i=0;i<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>_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)}}
4300function _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<totalLods;i++){const sizeLod=Math.pow(2,lod);sizeLods.push(sizeLod);let sigma=1/sizeLod;if(i>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<cubeFaces;face++){const x=face%3*2/3-1;const y=face>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>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:`
4301
4302                precision mediump float;
4303                precision mediump int;
4304
4305                varying vec3 vOutputDirection;
4306
4307                uniform sampler2D envMap;
4308                uniform int samples;
4309                uniform float weights[ n ];
4310                uniform bool latitudinal;
4311                uniform float dTheta;
4312                uniform float mipInt;
4313                uniform vec3 poleAxis;
4314
4315                #define ENVMAP_TYPE_CUBE_UV
4316                #include <cube_uv_reflection_fragment>
4317
4318                vec3 getSample( float theta, vec3 axis ) {
4319
4320                    float cosTheta = cos( theta );
4321                    // Rodrigues' axis-angle rotation
4322                    vec3 sampleDirection = vOutputDirection * cosTheta
4323                        + cross( axis, vOutputDirection ) * sin( theta )
4324                        + axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta );
4325
4326                    return bilinearCubeUV( envMap, sampleDirection, mipInt );
4327
4328                }
4329
4330                void main() {
4331
4332                    vec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection );
4333
4334                    if ( all( equal( axis, vec3( 0.0 ) ) ) ) {
4335
4336                        axis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x );
4337
4338                    }
4339
4340                    axis = normalize( axis );
4341
4342                    gl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 );
4343                    gl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis );
4344
4345                    for ( int i = 1; i < n; i++ ) {
4346
4347                        if ( i >= samples ) {
4348
4349                            break;
4350
4351                        }
4352
4353                        float theta = dTheta * float( i );
4354                        gl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis );
4355                        gl_FragColor.rgb += weights[ i ] * getSample( theta, axis );
4356
4357                    }
4358
4359                }
4360            `,blending:NoBlending,depthTest:false,depthWrite:false});return shaderMaterial}function _getEquirectMaterial(){return new ShaderMaterial({name:"EquirectangularToCubeUV",uniforms:{"envMap":{value:null}},vertexShader:_getCommonVertexShader(),fragmentShader:`
4361
4362                precision mediump float;
4363                precision mediump int;
4364
4365                varying vec3 vOutputDirection;
4366
4367                uniform sampler2D envMap;
4368
4369                #include <common>
4370
4371                void main() {
4372
4373                    vec3 outputDirection = normalize( vOutputDirection );
4374                    vec2 uv = equirectUv( outputDirection );
4375
4376                    gl_FragColor = vec4( texture2D ( envMap, uv ).rgb, 
43761.0 );
4377
4378                }
4379            `,blending:NoBlending,depthTest:false,depthWrite:false})}function _getCubemapMaterial(){return new ShaderMaterial({name:"CubemapToCubeUV",uniforms:{"envMap":{value:null},"flipEnvMap":{value:-1}},vertexShader:_getCommonVertexShader(),fragmentShader:`
4380
4381                precision mediump float;
4382                precision mediump int;
4383
4384                uniform float flipEnvMap;
4385
4386                varying vec3 vOutputDirection;
4387
4388                uniform samplerCube envMap;
4389
4390                void main() {
4391
4392                    gl_FragColor = textureCube( envMap, vec3( flipEnvMap * vOutputDirection.x, vOutputDirection.yz ) );
4393
4394                }
4395            `,blending:NoBlending,depthTest:false,depthWrite:false})}function _getCommonVertexShader(){return`
4396
4397            precision mediump float;
4398            precision mediump int;
4399
4400            attribute float faceIndex;
4401
4402            varying vec3 vOutputDirection;
4403
4404            // RH coordinate system; PMREM face-indexing convention
4405            vec3 getDirection( vec2 uv, float face ) {
4406
4407                uv = 2.0 * uv - 1.0;
4408
4409                vec3 direction = vec3( uv, 1.0 );
4410
4411                if ( face == 0.0 ) {
4412
4413                    direction = direction.zyx; // ( 1, v, u ) pos x
4414
4415                } else if ( face == 1.0 ) {
4416
4417                    direction = direction.xzy;
4418                    direction.xz *= -1.0; // ( -u, 1, -v ) pos y
4419
4420                } else if ( face == 2.0 ) {
4421
4422                    direction.x *= -1.0; // ( -u, v, 1 ) pos z
4423
4424                } else if ( face == 3.0 ) {
4425
4426                    direction = direction.zyx;
4427                    direction.xz *= -1.0; // ( -1, v, -u ) neg x
4428
4429                } else if ( face == 4.0 ) {
4430
4431                    direction = direction.xzy;
4432                    direction.xy *= -1.0; // ( -u, -1, v ) neg y
4433
4434                } else if ( face == 5.0 ) {
4435
4436                    direction.z *= -1.0; // ( u, v, -1 ) neg z
4437
4438                }
4439
4440                return direction;
4441
4442            }
4443
4444            void main() {
4445
4446                vOutputDirection = getDirection( uv, faceIndex );
4447                gl_Position = vec4( position, 1.0 );
4448
4449            }
4450        `}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});
4450module.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<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}});
4450Object.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=>itemSet.get(item)}isFull(){return this.itemSet.size>=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)&&!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>0&&unused>0){itemList.sort((a,b)=>{const usedA=usedSet.has(a);const usedB=usedSet.has(b);if(usedA&&usedB)return 0;else if(!usedA&&!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<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(()=>{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=()=>
4450{throw new Error("PriorityQueue: PriorityCallback function not defined.")};this.schedulingCallback=func=>{requestAnimationFrame(func)};this._runjobs=()=>{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)=>{const prCallback=(...args)=>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>currJobs&&items.length>0){currJobs++;const item=items.pop();const callback=callbacks.get(item);callbacks.delete(item);callback(item).then(()=>{this.currJobs--;if(this.autoUpdate)this.scheduleJobRun()}).catch(()=>{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&&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<l;i++)$cd531a5f1c18e9cc$var$recursivelyMarkUsed(children[i],frameCount,lruCache,renderer)}}function $cd531a5f1c18e9cc$var$recursivelyLoadTiles(tile,depthFromRenderedParent,renderer){renderer.ensureChildrenArePreprocessed(tile);const doTraverse=tile.__contentEmpty&&(!tile.__externalTileSet||$cd531a5f1c18e9cc$var$isDownloadFinished(tile.__loadingState));if(doTraverse){const children=tile.children;for(let i=0,l=children.length;i<l;i++){const child=children[i];child.__depthFromRenderedParent=depthFromRenderedParent;$cd531a5f1c18e9cc$var$recursivelyLoadTiles(child,depthFromRenderedParent,renderer)}}else renderer.requestTileContents(tile)}
4450function $cd531a5f1c18e9cc$var$traverseSet(tile,beforeCb=null,afterCb=null,parent=null,depth=0){if(beforeCb&&beforeCb(tile,parent,depth)){if(afterCb)afterCb(tile,parent,depth);return}const children=tile.children;for(let i=0,l=children.length;i<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)&&!tile.__externalTileSet){renderer.calculateError(tile);const error=tile.__error;if(error<=errorTarget)return true;if(renderer.maxDepth>0&&tile.__depth+1>=maxDepth)return true}let anyChildrenUsed=false;const children=tile.children;for(let i=0,l=children.length;i<l;i++){const c=children[i];const r=$cd531a5f1c18e9cc$var$determineFrustumSet(c,renderer);anyChildrenUsed=anyChildrenUsed||r}if(anyChildrenUsed&&loadSiblings)for(let i=0,l=children.length;i<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<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<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&&$cd531a5f1c18e9cc$var$isDownloadFinished(c.__loadingState)||c.__externalTileSet&&c.__loadingState===$002d29a772485791$exports.FAILED;allChildrenLoaded=allChildrenLoaded&&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()&&(!tile.__contentEmpty||tile.__externalTileSet))renderer.requestTileContents(tile);return}const errorRequirement=(renderer.errorTarget+1)*renderer.errorThreshold;const meetsSSE=tile.__error<=errorRequirement;const includeTile=meetsSSE||tile.refine==="ADD";const hasModel=!tile.__contentEmpty;const hasContent=hasModel||tile.__externalTileSet;const loadedContent=$cd531a5f1c18e9cc$var$isDownloadFinished(tile.__loadingState)&&hasContent;const childrenWereVisible=tile.__childrenWereVisible;const children=tile.children;const allChildrenHaveContent=tile.__allChildrenLoaded;if(includeTile&&hasModel)tile.__depthFromRenderedParent++;if(includeTile&&!loadedContent&&!lruCache.isFull()&&hasContent)renderer.requestTileContents(tile);if(meetsSSE&&!allChildrenHaveContent&&!childrenWereVisible&&loadedContent||tile.refine==="ADD"&&loadedContent){if(tile.__inFrustum){tile.__visible=true;stats.visible++}tile.__active=true;stats.active++}if(tile.refine!=="ADD"&&meetsSSE&&!allChildrenHaveContent&&loadedContent)for(let i=0,l=children.length;i<l;i++){const c=children[i];if($cd531a5f1c18e9cc$var$isUsedThisFrame(c,frameCount)&&!lruCache.isFull()){c.__depthFromRenderedParent=tile.__depthFromRenderedParent+1;$cd531a5f1c18e9cc$var$recursivelyLoadTiles(c,c.__depthFromRenderedParent,renderer)}}else for(let i=0,l=children.length;i<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&&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<l;i++){const c=children[i];$cd531a5f1c18e9cc$var$toggleTiles(c,renderer)}}}const $5a6f7a997885dc30$var$priorityCallback=(a,b)=>{if(a.__depth!==b.__depth)return a.__depth>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>b.__error?1:-1;else if(a.__distanceFromCamera!==b.__distanceFromCamera)return a.__distanceFromCamera>b.__distanceFromCamera?-1:1;return 0};const $5a6f7a997885dc30$var$lruPriorityCallback=tile=>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;
4450const rootTileSet=tileSets[this.rootURL];if(!rootTileSet||!rootTileSet.root)return;(0,$cd531a5f1c18e9cc$exports.traverseSet)(rootTileSet.root,(tile,...args)=>{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)&&"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&&!("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&&tile.content.uri;if(uri){const extension=(0,$7ff9fb142d83939f$exports.getUrlExtension)(tile.content.uri);const isExternalTileSet=Boolean(extension&&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<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=>{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=>{if(res.ok)return res.json();else throw new Error(`TilesRenderer: Failed to load tileset "${url}" with status ${res.status} : ${res.statusText}`)}).then(json=>{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=>{tileSets[url]=json});pr.catch(err=>{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;
4450const downloadQueue=this.downloadQueue;const parseQueue=this.parseQueue;const isExternalTileSet=tile.__externalTileSet;lruCache.add(tile,t=>{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=>{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=>{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=>{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=>{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=>{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=>{if(tile.__loadIndex!==loadIndex)return;stats.downloading--;stats.parsing++;tile.__loadAbort=null;tile.__loadingState=$002d29a772485791$exports.PARSING;return parseQueue.add(tile,parseTile=>{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(()=>{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;
4450const toRemove=[];this.traverse(t=>{toRemove.push(t);return false});for(let i=0,l=toRemove.length;i<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&&defaultType&&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>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=>{if(!res.ok)throw new Error(`Failed to load file "${url}" with status ${res.status} : ${res.statusText}`);return res.arrayBuffer()}).then(buffer=>{if(this.workingPath==="")this.workingPath=this.workingPathForURL(url);return this.parse(buffer)})}
4450resolveExternalURL(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<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)=>{const manager=this.manager;const fetchOptions=this.fetchOptions;const loader=manager.getHandler("path.gltf")||new $5OpyM$GLTFLoader(manager);if(fetchOptions.credentials==="include"&&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.length)workingPath+="/";const adjustmentTransform=this.adjustmentTransform;loader.parse(gltfBuffer,workingPath,model=>{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";
4450Object.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=>{const{featureTable:featureTable}=result;const material=new $5OpyM$PointsMaterial;const extensions=featureTable.header.extensions;const translationOffset=new $5OpyM$Vector3;let geometry;if(extensions&&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&&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<POINTS_LENGTH;i++)for(let j=0;j<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=>{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()}
4450else{const externalUri=this.resolveExternalURL((0,$5d480c6739d4b949$exports.arrayToString)(bodyBytes));promise=fetch(externalUri,this.fetchOptions).then(res=>{if(!res.ok)throw new Error(`I3DMLoaderBase : Failed to load file "${externalUri}" with status ${res.status} : ${res.statusText}`);return res.arrayBuffer()}).then(buffer=>{glbBytes=new Uint8Array(buffer)})}return promise.then(()=>{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=>{const{featureTable:featureTable,batchTable:batchTable}=i3dm;const gltfBuffer=i3dm.glbBytes.slice().buffer;return new Promise((resolve,reject)=>{const fetchOptions=this.fetchOptions;const manager=this.manager;const loader=manager.getHandler("path.gltf")||new $5OpyM$GLTFLoader(manager);if(fetchOptions.credentials==="include"&&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=>{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=>{if(feature in featureTable.header)console.warn(`I3DMLoader: Unsupported FeatureTable feature "${feature}" detected.`)});const instanceMap=new Map;const instances=[];model.scene.traverse(child=>{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<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)=>{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<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)}
4450else $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<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<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=>{const group=new $5OpyM$Group;results.forEach(result=>{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&&res.parser.json.extensions.CESIUM_RTC){const{center:center}=res.parser.json.extensions.CESIUM_RTC;
4450if(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)=>{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(()=>new $44c3bffa5e49f297$exports.GLTFCesiumRTCExtension);if(fetchOptions.credentials==="include"&&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)&&resourcePath.length)resourcePath+="/";loader.parse(buffer,resourcePath,model=>{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<16;i++){const itemA=elA[i];const itemB=elB[i];const diff=Math.abs(itemA-itemB);if(diff>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<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=>{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<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<l;i++){const data=array[i];const boundingVolumeDistSq=data.distance;const tile=data.tile;if(boundingVolumeDistSq>bestHitDistSq)break;const hit=$c1ac95a1e8efcc86$var$raycastTraverseFirstHit(renderer,tile,raycaster,localRay);if(hit){const hitDistSq=hit.distance*hit.distance;if(hitDistSq<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<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(()=>new $5OpyM$Vector3)}
4450update(){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<=1;x+=2){for(let y=-1;y<=1;y+=2)for(let z=-1;z<=1;z+=2){points[index].set(x<0?min.x:max.x,y<0?min.y:max.y,z<0?min.z:max.z).applyMatrix4(transform);index++}}}intersectsFrustum(frustum){const{points:points}=this;const{planes:planes}=frustum;for(let i=0;i<6;i++){const plane=planes[i];let maxDistance=-Infinity;for(let j=0;j<8;j++){const v=points[j];const dist=plane.distanceToPoint(v);maxDistance=maxDistance<dist?dist:maxDistance}if(maxDistance<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>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<$9160f8f2e0578e98$var$CENTER_EPS)return!isFinite(ratio)?null:target.copy(intersection);const gradient=$9160f8f2e0578e98$var$_vec2.set(intersection.x*invRadiusSqX
4450*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)>$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<=1;z++){const height=$5OpyM$MathUtils.mapLinear(z,0,1,heightStart,heightEnd);for(let i=0,l=total;i<l;i++){const[lat,lon]=latlon[i];if(lat>=latStart&&lat<=latEnd&&lon>=lonStart&&lon<=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<$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<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&&!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)}
4450const 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>obbDistance?sphereDistance:obbDistance}intersectsFrustum(frustum){const obb=this.obb||this.regionObb;const sphere=this.sphere;if(sphere&&!frustum.intersectsSphere(sphere))return false;if(obb&&!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=>{c.frustumCulled=c[$06d26e8e9f5361d3$var$INITIAL_FRUSTUM_CULLED]&&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=>{$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=>
4450{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=>{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=>{if(this.onLoadTileSet)Promise.resolve().then(()=>{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>cameras.length)cameraInfo.pop();while(cameraInfo.length<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))>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<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)}
4450super.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<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&&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=>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=>{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=>{c[$06d26e8e9f5361d3$var$INITIAL_FRUSTUM_CULLED]=c.frustumCulled});$06d26e8e9f5361d3$var$updateFrustumCulled(scene,!this.autoDisableRendererCulling);scene.traverse(c=>{c.raycast=this._overridenRaycast});const materials=[];const geometry=[];const textures=[];scene.traverse(c=>{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&&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<l;i++)geometry[i].dispose();for(let i=0,l=materials.length;i<l;i++)materials[i].dispose();for(let i=0,l=textures.length;i<l;i++){const texture=textures[i];texture.dispose()}if(parent)parent.remove(cached.scene);
4450if(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<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<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<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<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<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<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<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<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);
4450if(Math.abs($3b9225051b507460$var$_norm.dot($3b9225051b507460$var$_norm2))>0.1){if($3b9225051b507460$var$_pos.z>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>=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)=>{target.setRGB(value,value,value)};this.extremeDebugDepth=-1;this.extremeDebugError=-1}initExtremes(){let maxDepth=-1;this.traverse(tile=>{maxDepth=Math.max(maxDepth,tile.__depth)});let maxError=-1;this.traverse(tile=>{maxError=Math.max(maxError,tile.geometricError)});this.extremeDebugDepth=maxDepth;this.extremeDebugError=maxError}fetchTileSet(...args){const pr=super.fetchTileSet(...args);pr.then(()=>{Promise.resolve().then(()=>{this.initExtremes()})}).catch(()=>{});return pr}getTileInformationFromActiveObject(object){let targetTile=null;const activeTiles=this.activeTiles;
4450activeTiles.forEach(tile=>{if(targetTile)return true;const scene=tile.cached.scene;if(scene)scene.traverse(c=>{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=>{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=>{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&&currMaterial!==originalMaterial){c.material.dispose();c.material=c[$1909f04f34bd6630$var$ORIGINAL_MATERIAL]}else if(colorMode!==$1909f04f34bd6630$var$NONE&&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>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(()=>{const cached=tile.cached;const scene=cached.scene;
4450if(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)&&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)&&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)&&this.displayRegionBounds){this.regionGroup.add(regionHelper);regionHelper.updateMatrixWorld(true)}}scene.traverse(c=>{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&&$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<l;i++){const t=tokens[i];if(!(t in creditsCount))creditsCount[t]=0;creditsCount[t]+=add?1:-1;if(creditsCount[t]<=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=>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=>{let session;this.traverse(tile=>
4450{if(tile.content&&tile.content.uri){session=new URL(tile.content.uri).searchParams.get("session");return true}return false});this.preprocessURL=uri=>{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)=>{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&&$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=>class extends base{constructor(ionAssetId,ionAccessToken){super();this._tokenState=$3b72713b91ab2ada$var$UNLOADED;this._ionAccessToken=ionAccessToken;this._ionAssetId=ionAssetId;this._tileSetVersion=-1;this.preprocessURL=uri=>{uri=new URL(uri);if(/^http/.test(uri.protocol)&&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=>{if(res.ok)return res.json();else return Promise.reject(`${res.status} : ${res.statusText}`)}).then(json=>{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(()=>{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&&$cf838c15c8b009ba$exports[key]===$3b72713b91ab2ada$exports[key])return;Object.defineProperty($cf838c15c8b009ba$exports,key,{enumerable:true,get:function(){return $3b72713b91ab2ada$exports[key]}})});
4450Object.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&&$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&&obj&&obj.__esModule)return obj;if(obj===null||typeof obj!=="object"&&typeof obj!=="function")return{default:obj};var cache=$cf838c15c8b009ba$var$_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj))return cache.get(obj);var newObj={};var hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if(key!=="default"&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;if(desc&&(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=>{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>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={};
4450Object.keys(componentDescription.visualResponses).forEach(responseName=>{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&&gamepad.buttons.length>this.gamepadIndices.button){const gamepadButton=gamepad.buttons[this.gamepadIndices.button];this.values.button=gamepadButton.value;this.values.button=this.values.button<0?0:this.values.button;this.values.button=this.values.button>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>Constants.ButtonTouchThreshold){this.values.state=Constants.ComponentState.TOUCHED}}if(this.gamepadIndices.xAxis!==undefined&&gamepad.axes.length>this.gamepadIndices.xAxis){this.values.xAxis=gamepad.axes[this.gamepadIndices.xAxis];this.values.xAxis=this.values.xAxis<-1?-1:this.values.xAxis;this.values.xAxis=this.values.xAxis>1?1:this.values.xAxis;if(this.values.state===Constants.ComponentState.DEFAULT&&Math.abs(this.values.xAxis)>Constants.AxisTouchThreshold){this.values.state=Constants.ComponentState.TOUCHED}}if(this.gamepadIndices.yAxis!==undefined&&gamepad.axes.length>this.gamepadIndices.yAxis){this.values.yAxis=gamepad.axes[this.gamepadIndices.yAxis];this.values.yAxis=this.values.yAxis<-1?-1:this.values.yAxis;this.values.yAxis=this.values.yAxis>1?1:this.values.yAxis;if(this.values.state===Constants.ComponentState.DEFAULT&&Math.abs(this.values.yAxis)>Constants.AxisTouchThreshold){this.values.state=Constants.ComponentState.TOUCHED}}Object.values(this.visualResponses).forEach(visualResponse=>{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=>{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=>{data.push(component.data)});return data}updateFromGamepad(){Object.values(this.components).forEach(component=>{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/[email protected]/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=>{if(child.isMesh){child.material.envMap=this.envMap;child.material.needsUpdate=true}});return this}updateMatrixWorld(force){super.updateMatrixWorld(force);
4450if(!this.motionController)return;this.motionController.updateFromGamepad();Object.values(this.motionController.components).forEach(component=>{Object.values(component.visualResponses).forEach(visualResponse=>{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=>{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=>{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=>{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=>{const xrInputSource=event.data;const profileInfo={profiles:profiles&&profiles(xrInputSource)||xrInputSource.profiles,handedness:xrInputSource.handedness};if(xrInputSource.targetRayMode!=="tracked-pointer"||!xrInputSource.gamepad)return;fetchProfile(profileInfo,this.path,DEFAULT_PROFILE).then(({profile,assetPath})=>{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=>{this._assetCache[controllerModel.motionController.assetUrl]=asset;scene=asset.scene.clone();addAssetSceneToControllerModel(controllerModel,scene);controllerModel.dispatchEvent({type:"loaded"})},null,()=>{throw new Error(`Asset ${controllerModel.motionController.assetUrl} missing or malformed.`)})}}).catch(err=>{console.warn(err)})});controller.addEventListener("disconnected",()=>{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:`
4451
4452		#include <common>
4453
4454		uniform vec2 size;
4455
4456		varying vec2 vUv;
4457		varying vec2 vInvSize;
4458
4459		void main() {
4460			vUv = uv;
4461			vInvSize = 1.0 / size;
4462
4463			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
4464		}`,fragmentShader:`
4465
4466		#include <common>
4467		#include <packing>
4468
4469		uniform sampler2D tDiffuse;
4470		uniform sampler2D tDepth;
4471
4472		uniform float cameraNear;
4473		uniform float cameraFar;
4474		uniform float depthCutoff;
4475
4476		uniform vec2 sampleUvOffsets[ KERNEL_RADIUS + 1 ];
4477		uniform float sampleWeights[ KERNEL_RADIUS + 1 ];
4478
4479		varying vec2 vUv;
4480		varying vec2 vInvSize;
4481
4482		float getDepth( const in vec2 screenPosition ) {
4483			#if DEPTH_PACKING == 1
4484			return unpackRGBAToDepth( texture2D( tDepth, screenPosition ) );
4485			#else
4486			return texture2D( tDepth, screenPosition ).x;
4487			#endif
4488		}
4489
4490		float getViewZ( const in float depth ) {
4491			#if PERSPECTIVE_CAMERA == 1
4492			return perspectiveDepthToViewZ( depth, cameraNear, cameraFar );
4493			#else
4494			return orthographicDepthToViewZ( depth, cameraNear, cameraFar );
4495			#endif
4496		}
4497
4498		void main() {
4499			float depth = getDepth( vUv );
4500			if( depth >= ( 1.0 - EPSILON ) ) {
4501				discard;
4502			}
4503
4504			float centerViewZ = -getViewZ( depth );
4505			bool rBreak = false, lBreak = false;
4506
4507			float weightSum = sampleWeights[0];
4508			vec4 diffuseSum = texture2D( tDiffuse, vUv ) * weightSum;
4509
4510			for( int i = 1; i <= KERNEL_RADIUS; i ++ ) {
4511
4512				float sampleWeight = sampleWeights[i];
4513				vec2 sampleUvOffset = sampleUvOffsets[i] * vInvSize;
4514
4515				vec2 sampleUv = vUv + sampleUvOffset;
4516				float viewZ = -getViewZ( getDepth( sampleUv ) );
4517
4518				if( abs( viewZ - centerViewZ ) > depthCutoff ) rBreak = true;
4519
4520				if( ! rBreak ) {
4521					diffuseSum += texture2D( tDiffuse, sampleUv ) * sampleWeight;
4522					weightSum += sampleWeight;
4523				}
4524
4525				sampleUv = vUv - sampleUvOffset;
4526				viewZ = -getViewZ( getDepth( sampleUv ) );
4527
4528				if( abs( viewZ - centerViewZ ) > depthCutoff ) lBreak = true;
4529
4530				if( ! lBreak ) {
4531					diffuseSum += texture2D( tDiffuse, sampleUv ) * sampleWeight;
4532					weightSum += sampleWeight;
4533				}
4534
4535			}
4536
4537			gl_FragColor = diffuseSum / weightSum;
4538		}`};const BlurShaderUtils={createSampleWeights:function(kernelRadius,stdDev){const weights=[];for(let i=0;i<=kernelRadius;i++){weights.push(gaussian(i,stdDev))}return weights},createSampleOffsets:function(kernelRadius,uvIncrement){const offsets=[];for(let i=0;i<=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<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<il;i++){const pass=this.passes[i];if(pass.enabled===false)continue;pass.renderToScreen=this.renderToScreen&&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<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.")}}
4538const _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:`
4539
4540		varying vec2 vUv;
4541
4542		void main() {
4543
4544			vUv = uv;
4545			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
4546
4547		}`,fragmentShader:`
4548
4549		uniform float opacity;
4550		uniform float mixRatio;
4551
4552		uniform sampler2D tDiffuse1;
4553		uniform sampler2D tDiffuse2;
4554
4555		varying vec2 vUv;
4556
4557		void main() {
4558
4559			vec4 texel1 = texture2D( tDiffuse1, vUv );
4560			vec4 texel2 = texture2D( tDiffuse2, vUv );
4561			gl_FragColor = mix( texel1, texel2, mixRatio );
4562			gl_FragColor.a *= opacity;
4563
4564		}`};THREE.BlendShader=BlendShader})();(function(){const CopyShader={uniforms:{"tDiffuse":{value:null},"opacity":{value:1}},vertexShader:`
4565
4566		varying vec2 vUv;
4567
4568		void main() {
4569
4570			vUv = uv;
4571			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
4572
4573		}`,fragmentShader:`
4574
4575		uniform float opacity;
4576
4577		uniform sampler2D tDiffuse;
4578
4579		varying vec2 vUv;
4580
4581		void main() {
4582
4583			gl_FragColor = texture2D( tDiffuse, vUv );
4584			gl_FragColor.a *= opacity;
4585
4586
4587		}`};THREE.CopyShader=CopyShader})();(function(){const FXAAShader={uniforms:{"tDiffuse":{value:null},"resolution":{value:new THREE.Vector2(1/1024,1/512)}},vertexShader:`
4588
4589		varying vec2 vUv;
4590
4591		void main() {
4592
4593			vUv = uv;
4594			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
4595
4596		}`,fragmentShader:`
4597	precision highp float;
4598
4599	uniform sampler2D tDiffuse;
4600
4601	uniform vec2 resolution;
4602
4603	varying vec2 vUv;
4604
4605	// FXAA 3.11 implementation by NVIDIA, ported to WebGL by Agost Biro ([email protected])
4606
4607	//----------------------------------------------------------------------------------
4608	// File:        es3-kepler\FXAA\assets\shaders/FXAA_DefaultES.frag
4609	// SDK Version: v3.00
4610	// Email:       [email protected]
4611	// Site:        http://developer.nvidia.com/
4612	//
4613	// Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved.
4614	//
4615	// Redistribution and use in source and binary forms, with or without
4616	// modification, are permitted provided that the following conditions
4617	// are met:
4618	//  * Redistributions of source code must retain the above copyright
4619	//    notice, this list of conditions and the following disclaimer.
4620	//  * Redistributions in binary form must reproduce the above copyright
4621	//    notice, this list of conditions and the following disclaimer in the
4622	//    documentation and/or other materials provided with the distribution.
4623	//  * Neither the name of NVIDIA CORPORATION nor the names of its
4624	//    contributors may be used to endorse or promote products derived
4625	//    from this software without specific prior written permission.
4626	//
4627	// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY
4628	// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
4629	// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
4630	// PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
4631	// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
4632	// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
4633	// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
4634	// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
4635	// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
4636	// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4637	// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4638	//
4639	//----------------------------------------------------------------------------------
4640
4641	#ifndef FXAA_DISCARD
4642			//
4643			// Only valid for PC OpenGL currently.
4644			// Probably will not work when FXAA_GREEN_AS_LUMA = 1.
4645			//
4646			// 1 = Use discard on pixels which don't need AA.
4647			//     For APIs which enable concurrent TEX+ROP from same surface.
4648			// 0 = Return unchanged color on pixels which don't need AA.
4649			//
4650			#define FXAA_DISCARD 0
4651	#endif
4652
4653	/*--------------------------------------------------------------------------*/
4654	#define FxaaTexTop(t, p) texture2D(t, p, -100.0)
4655	#define FxaaTexOff(t, p, o, r) texture2D(t, p + (o * r), -100.0)
4656	/*--------------------------------------------------------------------------*/
4657
4658	#define NUM_SAMPLES 5
4659
4660	// assumes colors have premultipliedAlpha, so that the calculated color contrast is scaled by alpha
4661	float contrast( vec4 a, vec4 b ) {
4662			vec4 diff = abs( a - b );
4663			return max( max( max( diff.r, diff.g ), diff.b ), diff.a );
4664	}
4665
4666	/*============================================================================
4667
4668									FXAA3 QUALITY - PC
4669
4670	============================================================================*/
4671
4672	/*--------------------------------------------------------------------------*/
4673	vec4 FxaaPixelShader(
4674			vec2 posM,
4675			sampler2D tex,
4676			vec2 fxaaQualityRcpFrame,
4677			float fxaaQualityEdgeThreshold,
4678			float fxaaQualityinvEdgeThreshold
4679	) {
4680			vec4 rgbaM = FxaaTexTop(tex, posM);
4681			vec4 rgbaS = FxaaTexOff(tex, posM, vec2( 0.0, 1.0), fxaaQualityRcpFrame.xy);
4682			vec4 rgbaE = FxaaTexOff(tex, posM, vec2( 1.0, 0.0), fxaaQualityRcpFrame.xy);
4683			vec4 rgbaN = FxaaTexOff(tex, posM, vec2( 0.0,-1.0), fxaaQualityRcpFrame.xy);
4684			vec4 rgbaW = FxaaTexOff(tex, posM, vec2(-1.0, 0.0), fxaaQualityRcpFrame.xy);
4685			// . S .
4686			// W M E
4687			// . N .
4688
4689			bool earlyExit = max( max( max(
4690					contrast( rgbaM, rgbaN ),
4691					contrast( rgbaM, rgbaS ) ),
4692					contrast( rgbaM, rgbaE ) ),
4693					contrast( rgbaM, rgbaW ) )
4694					< fxaaQualityEdgeThreshold;
4695			// . 0 .
4696			// 0 0 0
4697			// . 0 .
4698
4699			#if (FXAA_DISCARD == 1)
4700					if(earlyExit) FxaaDiscard;
4701			#else
4702					if(earlyExit) return rgbaM;
4703			#endif
4704
4705			float contrastN = contrast( rgbaM, rgbaN );
4706			float contrastS = contrast( rgbaM, rgbaS );
4707			float contrastE = contrast( rgbaM, rgbaE );
4708			float contrastW = contrast( rgbaM, rgbaW );
4709
4710			float relativeVContrast = ( contrastN + contrastS ) - ( contrastE + contrastW );
4711			relativeVContrast *= fxaaQualityinvEdgeThreshold;
4712
4713			bool horzSpan = relativeVContrast > 0.;
4714			// . 1 .
4715			// 0 0 0
4716			// . 1 .
4717
4718			// 45 deg edge detection and corners of objects, aka V/H contrast is too similar
4719			if( abs( relativeVContrast ) < .3 ) {
4720					// locate the edge
4721					vec2 dirToEdge;
4722					dirToEdge.x = contrastE > contrastW ? 1. : -1.;
4723					dirToEdge.y = contrastS > contrastN ? 1. : -1.;
4724					// . 2 .      . 1 .
4725					// 1 0 2  ~=  0 0 1
4726					// . 1 .      . 0 .
4727
4728					// tap 2 pixels and see which ones are "outside" the edge, to
4729					// determine if the edge is vertical or horizontal
4730
4731					vec4 rgbaAlongH = FxaaTexOff(tex, posM, vec2( dirToEdge.x, -dirToEdge.y ), fxaaQualityRcpFrame.xy);
4732					float matchAlongH = contrast( rgbaM, rgbaAlongH );
4733					// . 1 .
4734					// 0 0 1
4735					// . 0 H
4736
4737					vec4 rgbaAlongV = FxaaTexOff(tex, posM, vec2( -dirToEdge.x, dirToEdge.y ), fxaaQualityRcpFrame.xy);
4738					float matchAlongV = contrast( rgbaM, rgbaAlongV );
4739					// V 1 .
4740					// 0 0 1
4741					// . 0 .
4742
4743					relativeVContrast = matchAlongV - matchAlongH;
4744					relativeVContrast *= fxaaQualityinvEdgeThreshold;
4745
4746					if( abs( relativeVContrast ) < .3 ) { // 45 deg edge
4747							// 1 1 .
4748							// 0 0 1
4749							// . 0 1
4750
4751							// do a simple blur
4752							return mix(
4753									rgbaM,
4754									(rgbaN + rgbaS + rgbaE + rgbaW) * .25,
4755									.4
4756							);
4757					}
4758
4759					horzSpan = relativeVContrast > 0.;
4760			}
4761
4762			if(!horzSpan) rgbaN = rgbaW;
4763			if(!horzSpan) rgbaS = rgbaE;
4764			// . 0 .      1
4765			// 1 0 1  ->  0
4766			// . 0 .      1
4767
4768			bool pairN = contrast( rgbaM, rgbaN ) > contrast( rgbaM, rgbaS );
4769			if(!pairN) rgbaN = rgbaS;
4770
4771			vec2 offNP;
4772			offNP.x = (!horzSpan) ? 0.0 : fxaaQualityRcpFrame.x;
4773			offNP.y = ( horzSpan) ? 0.0 : fxaaQualityRcpFrame.y;
4774
4775			bool doneN = false;
4776			bool doneP = false;
4777
4778			float nDist = 0.;
4779			float pDist = 0.;
4780
4781			vec2 posN = posM;
4782			vec2 posP = posM;
4783
4784			int iterationsUsed = 0;
4785			int iterationsUsedN = 0;
4786			int iterationsUsedP = 0;
4787			for( int i = 0; i < NUM_SAMPLES; i++ ) {
4788					iterationsUsed = i;
4789
4790					float increment = float(i + 1);
4791
4792					if(!doneN) {
4793							nDist += increment;
4794							posN = posM + offNP * nDist;
4795							vec4 rgbaEndN = FxaaTexTop(tex, posN.xy);
4796							doneN = contrast( rgbaEndN, rgbaM ) > contrast( rgbaEndN, rgbaN );
4797							iterationsUsedN = i;
4798					}
4799
4800					if(!doneP) {
4801							pDist += increment;
4802							posP = posM - offNP * pDist;
4803							vec4 rgbaEndP = FxaaTexTop(tex, posP.xy);
4804							doneP = contrast( rgbaEndP, rgbaM ) > contrast( rgbaEndP, rgbaN );
4805							iterationsUsedP = i;
4806					}
4807
4808					if(doneN || doneP) break;
4809			}
4810
4811
4812			if ( !doneP && !doneN ) return rgbaM; // failed to find end of edge
4813
4814			float dist = min(
4815					doneN ? float( iterationsUsedN ) / float( NUM_SAMPLES - 1 ) : 1.,
4816					doneP ? float( iterationsUsedP ) / float( NUM_SAMPLES - 1 ) : 1.
4817			);
4818
4819			// hacky way of reduces blurriness of mostly diagonal edges
4820			// but reduces AA quality
4821			dist = pow(dist, .5);
4822
4823			dist = 1. - dist;
4824
4825			return mix(
4826					rgbaM,
4827					rgbaN,
4828					dist * .5
4829			);
4830	}
4831
4832	void main() {
4833			const float edgeDetectionQuality = .2;
4834			const float invEdgeDetectionQuality = 1. / edgeDetectionQuality;
4835
4836			gl_FragColor = FxaaPixelShader(
4837					vUv,
4838					tDiffuse,
4839					resolution,
4840					edgeDetectionQuality, // [0,1] contrast needed, otherwise early discard
4841					invEdgeDetectionQuality
4842			);
4843
4844	}
4845	`};THREE.FXAAShader=FXAAShader})();(function(){const GammaCorrectionShader={uniforms:{"tDiffuse":{value:null}},vertexShader:`
4846
4847		varying vec2 vUv;
4848
4849		void main() {
4850
4851			vUv = uv;
4852			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
4853
4854		}`,fragmentShader:`
4855
4856		uniform sampler2D tDiffuse;
4857
4858		varying vec2 vUv;
4859
4860		void main() {
4861
4862			vec4 tex = texture2D( tDiffuse, vUv );
4863
4864			gl_FragColor = LinearTosRGB( tex );
4865
4866		}`};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 > 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.;
4866","    for(int i = 0; i < 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)}
4866getSampleCount(){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;
4866this.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&&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&&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:`
4867
4868		varying vec2 vUv;
4869
4870		void main() {
4871			vUv = uv;
4872			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
4873		}`,fragmentShader:`
4874
4875		#include <common>
4876
4877		varying vec2 vUv;
4878
4879		#if DIFFUSE_TEXTURE == 1
4880		uniform sampler2D tDiffuse;
4881		#endif
4882
4883		uniform sampler2D tDepth;
4884
4885		#if NORMAL_TEXTURE == 1
4886		uniform sampler2D tNormal;
4887		#endif
4888
4889		uniform float cameraNear;
4890		uniform float cameraFar;
4891		uniform mat4 cameraProjectionMatrix;
4892		uniform mat4 cameraInverseProjectionMatrix;
4893
4894		uniform float scale;
4895		uniform float intensity;
4896		uniform float bias;
4897		uniform float kernelRadius;
4898		uniform float minResolution;
4899		uniform vec2 size;
4900		uniform float randomSeed;
4901
4902		// RGBA depth
4903
4904		#include <packing>
4905
4906		vec4 getDefaultColor( const in vec2 screenPosition ) {
4907			#if DIFFUSE_TEXTURE == 1
4908			return texture2D( tDiffuse, vUv );
4909			#else
4910			return vec4( 1.0 );
4911			#endif
4912		}
4913
4914		float getDepth( const in vec2 screenPosition ) {
4915			#if DEPTH_PACKING == 1
4916			return unpackRGBAToDepth( texture2D( tDepth, screenPosition ) );
4917			#else
4918			return texture2D( tDepth, screenPosition ).x;
4919			#endif
4920		}
4921
4922		float getViewZ( const in float depth ) {
4923			#if PERSPECTIVE_CAMERA == 1
4924			return perspectiveDepthToViewZ( depth, cameraNear, cameraFar );
4925			#else
4926			return orthographicDepthToViewZ( depth, cameraNear, cameraFar );
4927			#endif
4928		}
4929
4930		vec3 getViewPosition( const in vec2 screenPosition, const in float depth, const in float viewZ ) {
4931			float clipW = cameraProjectionMatrix[2][3] * viewZ + cameraProjectionMatrix[3][3];
4932			vec4 clipPosition = vec4( ( vec3( screenPosition, depth ) - 0.5 ) * 2.0, 1.0 );
4933			clipPosition *= clipW; // unprojection.
4934
4935			return ( cameraInverseProjectionMatrix * clipPosition ).xyz;
4936		}
4937
4938		vec3 getViewNormal( const in vec3 viewPosition, const in vec2 screenPosition ) {
4939			#if NORMAL_TEXTURE == 1
4940			return unpackRGBToNormal( texture2D( tNormal, screenPosition ).xyz );
4941			#else
4942			return normalize( cross( dFdx( viewPosition ), dFdy( viewPosition ) ) );
4943			#endif
4944		}
4945
4946		float scaleDividedByCameraFar;
4947		float minResolutionMultipliedByCameraFar;
4948
4949		float getOcclusion( const in vec3 centerViewPosition, const in vec3 centerViewNormal, const in vec3 sampleViewPosition ) {
4950			vec3 viewDelta = sampleViewPosition - centerViewPosition;
4951			float viewDistance = length( viewDelta );
4952			float scaledScreenDistance = scaleDividedByCameraFar * viewDistance;
4953
4954			return max(0.0, (dot(centerViewNormal, viewDelta) - minResolutionMultipliedByCameraFar) / scaledScreenDistance - bias) / (1.0 + pow2( scaledScreenDistance ) );
4955		}
4956
4957		// moving costly divides into consts
4958		const float ANGLE_STEP = PI2 * float( NUM_RINGS ) / float( NUM_SAMPLES );
4959		const float INV_NUM_SAMPLES = 1.0 / float( NUM_SAMPLES );
4960
4961		float getAmbientOcclusion( const in vec3 centerViewPosition ) {
4962			// precompute some variables require in getOcclusion.
4963			scaleDividedByCameraFar = scale / cameraFar;
4964			minResolutionMultipliedByCameraFar = minResolution * cameraFar;
4965			vec3 centerViewNormal = getViewNormal( centerViewPosition, vUv );
4966
4967			// jsfiddle that shows sample pattern: https://jsfiddle.net/a16ff1p7/
4968			float angle = rand( vUv + randomSeed ) * PI2;
4969			vec2 radius = vec2( kernelRadius * INV_NUM_SAMPLES ) / size;
4970			vec2 radiusStep = radius;
4971
4972			float occlusionSum = 0.0;
4973			float weightSum = 0.0;
4974
4975			for( int i = 0; i < NUM_SAMPLES; i ++ ) {
4976				vec2 sampleUv = vUv + vec2( cos( angle ), sin( angle ) ) * radius;
4977				radius += radiusStep;
4978				angle += ANGLE_STEP;
4979
4980				float sampleDepth = getDepth( sampleUv );
4981				if( sampleDepth >= ( 1.0 - EPSILON ) ) {
4982					continue;
4983				}
4984
4985				float sampleViewZ = getViewZ( sampleDepth );
4986				vec3 sampleViewPosition = getViewPosition( sampleUv, sampleDepth, sampleViewZ );
4987				occlusionSum += getOcclusion( centerViewPosition, centerViewNormal, sampleViewPosition );
4988				weightSum += 1.0;
4989			}
4990
4991			if( weightSum == 0.0 ) discard;
4992
4993			return occlusionSum * ( intensity / weightSum );
4994		}
4995
4996		void main() {
4997			float centerDepth = getDepth( vUv );
4998			if( centerDepth >= ( 1.0 - EPSILON ) ) {
4999				discard;
5000			}
5001
5002			float centerViewZ = getViewZ( centerDepth );
5003			vec3 viewPosition = getViewPosition( vUv, centerDepth, centerViewZ );
5004
5005			float ambientOcclusion = getAmbientOcclusion( viewPosition );
5006
5007			gl_FragColor = getDefaultColor( vUv );
5008			gl_FragColor.xyz *=  1.0 - ambientOcclusion;
5009		}`};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
vendor: 44,306 bytes, line 5009
5009(){return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAIwCAIAAACOVPcQAACBeklEQVR42u39W4xlWXrnh/3WWvuciIzMrKxrV8/0rWbY0+SQFKcb4owIkSIFCjY9AC1BT/LYBozRi+EX+cV+8IMsYAaCwRcBwjzMiw2jAWtgwC8WR5Q8mDFHZLNHTarZGrLJJllt1W2qKrsumZWZcTvn7L3W54e1vrXX3vuciLPPORFR1XE2EomorB0nVuz//r71re/y/1eMvb4Cb3N11xV/PP/2v4UBAwJG/7H8urx6/25/Gf8O5hypMQ0EEEQwAqLfoN/Z+97f/SW+/NvcgQk4sGBJK6H7N4PFVL+K+e0N11yNfkKvwUdwdlUAXPHHL38oa15f/i/46Ih6SuMSPmLAYAwyRKn7dfMGH97jaMFBYCJUgotIC2YAdu+LyW9vvubxAP8kAL8H/koAuOKP3+q6+xGnd5kdYCeECnGIJViwGJMAkQKfDvB3WZxjLKGh8VSCCzhwEWBpMc5/kBbjawT4HnwJfhr+pPBIu7uu+OOTo9vsmtQcniMBGkKFd4jDWMSCRUpLjJYNJkM+IRzQ+PQvIeAMTrBS2LEiaiR9b/5PuT6Ap/AcfAFO4Y3dA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uveAT3dYeLGH+ShrWNwZgN0b2YL7qznr3g8JYAo5bQBziPjx7BPZ0d9RCQp4UZbnFdzBddor4XHN4KYMrB2qHFRIzzcLAHQZ5the5ovui94PCWAPefaYnxIdzRwdHCbuR4B+tbiy96Lzi8E4D7z7S0mEPd+eqO3cT53Z0Y8SV80XvB4Z0ADJi/f7X113f+7p7/+UYBvur6657/+YYBvur6657/+aYBvuL6657/+aYBvuL6657/+aYBvuL6657/+aYBvuL6657/+VMA8FXWX/f8z58OgK+y/rrnf75RgLna+uue//lTA/CV1V/3/M837aKvvv6653++UQvmauuve/7nTwfAV1N/3fM/fzr24Cuuv+75nz8FFnxl9dc9//MOr/8/glixwRuUfM4AAAAASUVORK5CYII="}
5009getSearchTexture(){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:`
5010
5011		uniform vec2 resolution;
5012
5013		varying vec2 vUv;
5014		varying vec4 vOffset[ 3 ];
5015
5016		void SMAAEdgeDetectionVS( vec2 texcoord ) {
5017			vOffset[ 0 ] = texcoord.xyxy + resolution.xyxy * vec4( -1.0, 0.0, 0.0,  1.0 ); // WebGL port note: Changed sign in W component
5018			vOffset[ 1 ] = texcoord.xyxy + resolution.xyxy * vec4(  1.0, 0.0, 0.0, -1.0 ); // WebGL port note: Changed sign in W component
5019			vOffset[ 2 ] = texcoord.xyxy + resolution.xyxy * vec4( -2.0, 0.0, 0.0,  2.0 ); // WebGL port note: Changed sign in W component
5020		}
5021
5022		void main() {
5023
5024			vUv = uv;
5025
5026			SMAAEdgeDetectionVS( vUv );
5027
5028			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
5029
5030		}`,fragmentShader:`
5031
5032		uniform sampler2D tDiffuse;
5033
5034		varying vec2 vUv;
5035		varying vec4 vOffset[ 3 ];
5036
5037		vec4 SMAAColorEdgeDetectionPS( vec2 texcoord, vec4 offset[3], sampler2D colorTex ) {
5038			vec2 threshold = vec2( SMAA_THRESHOLD, SMAA_THRESHOLD );
5039
5040			// Calculate color deltas:
5041			vec4 delta;
5042			vec3 C = texture2D( colorTex, texcoord ).rgb;
5043
5044			vec3 Cleft = texture2D( colorTex, offset[0].xy ).rgb;
5045			vec3 t = abs( C - Cleft );
5046			delta.x = max( max( t.r, t.g ), t.b );
5047
5048			vec3 Ctop = texture2D( colorTex, offset[0].zw ).rgb;
5049			t = abs( C - Ctop );
5050			delta.y = max( max( t.r, t.g ), t.b );
5051
5052			// We do the usual threshold:
5053			vec2 edges = step( threshold, delta.xy );
5054
5055			// Then discard if there is no edge:
5056			if ( dot( edges, vec2( 1.0, 1.0 ) ) == 0.0 )
5057				discard;
5058
5059			// Calculate right and bottom deltas:
5060			vec3 Cright = texture2D( colorTex, offset[1].xy ).rgb;
5061			t = abs( C - Cright );
5062			delta.z = max( max( t.r, t.g ), t.b );
5063
5064			vec3 Cbottom  = texture2D( colorTex, offset[1].zw ).rgb;
5065			t = abs( C - Cbottom );
5066			delta.w = max( max( t.r, t.g ), t.b );
5067
5068			// Calculate the maximum delta in the direct neighborhood:
5069			float maxDelta = max( max( max( delta.x, delta.y ), delta.z ), delta.w );
5070
5071			// Calculate left-left and top-top deltas:
5072			vec3 Cleftleft  = texture2D( colorTex, offset[2].xy ).rgb;
5073			t = abs( C - Cleftleft );
5074			delta.z = max( max( t.r, t.g ), t.b );
5075
5076			vec3 Ctoptop = texture2D( colorTex, offset[2].zw ).rgb;
5077			t = abs( C - Ctoptop );
5078			delta.w = max( max( t.r, t.g ), t.b );
5079
5080			// Calculate the final maximum delta:
5081			maxDelta = max( max( maxDelta, delta.z ), delta.w );
5082
5083			// Local contrast adaptation in action:
5084			edges.xy *= step( 0.5 * maxDelta, delta.xy );
5085
5086			return vec4( edges, 0.0, 0.0 );
5087		}
5088
5089		void main() {
5090
5091			gl_FragColor = SMAAColorEdgeDetectionPS( vUv, vOffset, tDiffuse );
5092
5093		}`};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:`
5094
5095		uniform vec2 resolution;
5096
5097		varying vec2 vUv;
5098		varying vec4 vOffset[ 3 ];
5099		varying vec2 vPixcoord;
5100
5101		void SMAABlendingWeightCalculationVS( vec2 texcoord ) {
5102			vPixcoord = texcoord / resolution;
5103
5104			// We will use these offsets for the searches later on (see @PSEUDO_GATHER4):
5105			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
5106			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
5107
5108			// And these for the searches, they indicate the ends of the loops:
5109			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 );
5110
5111		}
5112
5113		void main() {
5114
5115			vUv = uv;
5116
5117			SMAABlendingWeightCalculationVS( vUv );
5118
5119			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
5120
5121		}`,fragmentShader:`
5122
5123		#define SMAASampleLevelZeroOffset( tex, coord, offset ) texture2D( tex, coord + float( offset ) * resolution, 0.0 )
5124
5125		uniform sampler2D tDiffuse;
5126		uniform sampler2D tArea;
5127		uniform sampler2D tSearch;
5128		uniform vec2 resolution;
5129
5130		varying vec2 vUv;
5131		varying vec4 vOffset[3];
5132		varying vec2 vPixcoord;
5133
5134		#if __VERSION__ == 100
5135		vec2 round( vec2 x ) {
5136			return sign( x ) * floor( abs( x ) + 0.5 );
5137		}
5138		#endif
5139
5140		float SMAASearchLength( sampler2D searchTex, vec2 e, float bias, float scale ) {
5141			// Not required if searchTex accesses are set to point:
5142			// float2 SEARCH_TEX_PIXEL_SIZE = 1.0 / float2(66.0, 33.0);
5143			// e = float2(bias, 0.0) + 0.5 * SEARCH_TEX_PIXEL_SIZE +
5144			//     e * float2(scale, 1.0) * float2(64.0, 32.0) * SEARCH_TEX_PIXEL_SIZE;
5145			e.r = bias + e.r * scale;
5146			return 255.0 * texture2D( searchTex, e, 0.0 ).r;
5147		}
5148
5149		float SMAASearchXLeft( sampler2D edgesTex, sampler2D searchTex, vec2 texcoord, float end ) {
5150			/**
5151				* @PSEUDO_GATHER4
5152				* This texcoord has been offset by (-0.25, -0.125) in the vertex shader to
5153				* sample between edge, thus fetching four edges in a row.
5154				* Sampling with different offsets in each direction allows to disambiguate
5155				* which edges are active from the four fetched ones.
5156				*/
5157			vec2 e = vec2( 0.0, 1.0 );
5158
5159			for ( int i = 0; i < SMAA_MAX_SEARCH_STEPS; i ++ ) { // WebGL port note: Changed while to for
5160				e = texture2D( edgesTex, texcoord, 0.0 ).rg;
5161				texcoord -= vec2( 2.0, 0.0 ) * resolution;
5162				if ( ! ( texcoord.x > end && e.g > 0.8281 && e.r == 0.0 ) ) break;
5163			}
5164
5165			// We correct the previous (-0.25, -0.125) offset we applied:
5166			texcoord.x += 0.25 * resolution.x;
5167
5168			// The searches are bias by 1, so adjust the coords accordingly:
5169			texcoord.x += resolution.x;
5170
5171			// Disambiguate the length added by the last step:
5172			texcoord.x += 2.0 * resolution.x; // Undo last step
5173			texcoord.x -= resolution.x * SMAASearchLength(searchTex, e, 0.0, 0.5);
5174
5175			return texcoord.x;
5176		}
5177
5178		float SMAASearchXRight( sampler2D edgesTex, sampler2D searchTex, vec2 texcoord, float end ) {
5179			vec2 e = vec2( 0.0, 1.0 );
5180
5181			for ( int i = 0; i < SMAA_MAX_SEARCH_STEPS; i ++ ) { // WebGL port note: Changed while to for
5182				e = texture2D( edgesTex, texcoord, 0.0 ).rg;
5183				texcoord += vec2( 2.0, 0.0 ) * resolution;
5184				if ( ! ( texcoord.x < end && e.g > 0.8281 && e.r == 0.0 ) ) break;
5185			}
5186
5187			texcoord.x -= 0.25 * resolution.x;
5188			texcoord.x -= resolution.x;
5189			texcoord.x -= 2.0 * resolution.x;
5190			texcoord.x += resolution.x * SMAASearchLength( searchTex, e, 0.5, 0.5 );
5191
5192			return texcoord.x;
5193		}
5194
5195		float SMAASearchYUp( sampler2D edgesTex, sampler2D searchTex, vec2 texcoord, float end ) {
5196			vec2 e = vec2( 1.0, 0.0 );
5197
5198			for ( int i = 0; i < SMAA_MAX_SEARCH_STEPS; i ++ ) { // WebGL port note: Changed while to for
5199				e = texture2D( edgesTex, texcoord, 0.0 ).rg;
5200				texcoord += vec2( 0.0, 2.0 ) * resolution; // WebGL port note: Changed sign
5201				if ( ! ( texcoord.y > end && e.r > 0.8281 && e.g == 0.0 ) ) break;
5202			}
5203
5204			texcoord.y -= 0.25 * resolution.y; // WebGL port note: Changed sign
5205			texcoord.y -= resolution.y; // WebGL port note: Changed sign
5206			texcoord.y -= 2.0 * resolution.y; // WebGL port note: Changed sign
5207			texcoord.y += resolution.y * SMAASearchLength( searchTex, e.gr, 0.0, 0.5 ); // WebGL port note: Changed sign
5208
5209			return texcoord.y;
5210		}
5211
5212		float SMAASearchYDown( sampler2D edgesTex, sampler2D searchTex, vec2 texcoord, float end ) {
5213			vec2 e = vec2( 1.0, 0.0 );
5214
5215			for ( int i = 0; i < SMAA_MAX_SEARCH_STEPS; i ++ ) { // WebGL port note: Changed while to for
5216				e = texture2D( edgesTex, texcoord, 0.0 ).rg;
5217				texcoord -= vec2( 0.0, 2.0 ) * resolution; // WebGL port note: Changed sign
5218				if ( ! ( texcoord.y < end && e.r > 0.8281 && e.g == 0.0 ) ) break;
5219			}
5220
5221			texcoord.y += 0.25 * resolution.y; // WebGL port note: Changed sign
5222			texcoord.y += resolution.y; // WebGL port note: Changed sign
5223			texcoord.y += 2.0 * resolution.y; // WebGL port note: Changed sign
5224			texcoord.y -= resolution.y * SMAASearchLength( searchTex, e.gr, 0.5, 0.5 ); // WebGL port note: Changed sign
5225
5226			return texcoord.y;
5227		}
5228
5229		vec2 SMAAArea( sampler2D areaTex, vec2 dist, float e1, float e2, float offset ) {
5230			// Rounding prevents precision errors of bilinear filtering:
5231			vec2 texcoord = float( SMAA_AREATEX_MAX_DISTANCE ) * round( 4.0 * vec2( e
52311, e2 ) ) + dist;
5232
5233			// We do a scale and bias for mapping to texel space:
5234			texcoord = SMAA_AREATEX_PIXEL_SIZE * texcoord + ( 0.5 * SMAA_AREATEX_PIXEL_SIZE );
5235
5236			// Move to proper place, according to the subpixel offset:
5237			texcoord.y += SMAA_AREATEX_SUBTEX_SIZE * offset;
5238
5239			return texture2D( areaTex, texcoord, 0.0 ).rg;
5240		}
5241
5242		vec4 SMAABlendingWeightCalculationPS( vec2 texcoord, vec2 pixcoord, vec4 offset[ 3 ], sampler2D edgesTex, sampler2D areaTex, sampler2D searchTex, ivec4 subsampleIndices ) {
5243			vec4 weights = vec4( 0.0, 0.0, 0.0, 0.0 );
5244
5245			vec2 e = texture2D( edgesTex, texcoord ).rg;
5246
5247			if ( e.g > 0.0 ) { // Edge at north
5248				vec2 d;
5249
5250				// Find the distance to the left:
5251				vec2 coords;
5252				coords.x = SMAASearchXLeft( edgesTex, searchTex, offset[ 0 ].xy, offset[ 2 ].x );
5253				coords.y = offset[ 1 ].y; // offset[1].y = texcoord.y - 0.25 * resolution.y (@CROSSING_OFFSET)
5254				d.x = coords.x;
5255
5256				// Now fetch the left crossing edges, two at a time using bilinear
5257				// filtering. Sampling at -0.25 (see @CROSSING_OFFSET) enables to
5258				// discern what value each edge has:
5259				float e1 = texture2D( edgesTex, coords, 0.0 ).r;
5260
5261				// Find the distance to the right:
5262				coords.x = SMAASearchXRight( edgesTex, searchTex, offset[ 0 ].zw, offset[ 2 ].y );
5263				d.y = coords.x;
5264
5265				// We want the distances to be in pixel units (doing this here allow to
5266				// better interleave arithmetic and memory accesses):
5267				d = d / resolution.x - pixcoord.x;
5268
5269				// SMAAArea below needs a sqrt, as the areas texture is compressed
5270				// quadratically:
5271				vec2 sqrt_d = sqrt( abs( d ) );
5272
5273				// Fetch the right crossing edges:
5274				coords.y -= 1.0 * resolution.y; // WebGL port note: Added
5275				float e2 = SMAASampleLevelZeroOffset( edgesTex, coords, ivec2( 1, 0 ) ).r;
5276
5277				// Ok, we know how this pattern looks like, now it is time for getting
5278				// the actual area:
5279				weights.rg = SMAAArea( areaTex, sqrt_d, e1, e2, float( subsampleIndices.y ) );
5280			}
5281
5282			if ( e.r > 0.0 ) { // Edge at west
5283				vec2 d;
5284
5285				// Find the distance to the top:
5286				vec2 coords;
5287
5288				coords.y = SMAASearchYUp( edgesTex, searchTex, offset[ 1 ].xy, offset[ 2 ].z );
5289				coords.x = offset[ 0 ].x; // offset[1].x = texcoord.x - 0.25 * resolution.x;
5290				d.x = coords.y;
5291
5292				// Fetch the top crossing edges:
5293				float e1 = texture2D( edgesTex, coords, 0.0 ).g;
5294
5295				// Find the distance to the bottom:
5296				coords.y = SMAASearchYDown( edgesTex, searchTex, offset[ 1 ].zw, offset[ 2 ].w );
5297				d.y = coords.y;
5298
5299				// We want the distances to be in pixel units:
5300				d = d / resolution.y - pixcoord.y;
5301
5302				// SMAAArea below needs a sqrt, as the areas texture is compressed
5303				// quadratically:
5304				vec2 sqrt_d = sqrt( abs( d ) );
5305
5306				// Fetch the bottom crossing edges:
5307				coords.y -= 1.0 * resolution.y; // WebGL port note: Added
5308				float e2 = SMAASampleLevelZeroOffset( edgesTex, coords, ivec2( 0, 1 ) ).g;
5309
5310				// Get the area for this direction:
5311				weights.ba = SMAAArea( areaTex, sqrt_d, e1, e2, float( subsampleIndices.x ) );
5312			}
5313
5314			return weights;
5315		}
5316
5317		void main() {
5318
5319			gl_FragColor = SMAABlendingWeightCalculationPS( vUv, vPixcoord, vOffset, tDiffuse, tArea, tSearch, ivec4( 0.0 ) );
5320
5321		}`};const SMAABlendShader={uniforms:{"tDiffuse":{value:null},"tColor":{value:null},"resolution":{value:new THREE.Vector2(1/1024,1/512)}},vertexShader:`
5322
5323		uniform vec2 resolution;
5324
5325		varying vec2 vUv;
5326		varying vec4 vOffset[ 2 ];
5327
5328		void SMAANeighborhoodBlendingVS( vec2 texcoord ) {
5329			vOffset[ 0 ] = texcoord.xyxy + resolution.xyxy * vec4( -1.0, 0.0, 0.0, 1.0 ); // WebGL port note: Changed sign in W component
5330			vOffset[ 1 ] = texcoord.xyxy + resolution.xyxy * vec4( 1.0, 0.0, 0.0, -1.0 ); // WebGL port note: Changed sign in W component
5331		}
5332
5333		void main() {
5334
5335			vUv = uv;
5336
5337			SMAANeighborhoodBlendingVS( vUv );
5338
5339			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
5340
5341		}`,fragmentShader:`
5342
5343		uniform sampler2D tDiffuse;
5344		uniform sampler2D tColor;
5345		uniform vec2 resolution;
5346
5347		varying vec2 vUv;
5348		varying vec4 vOffset[ 2 ];
5349
5350		vec4 SMAANeighborhoodBlendingPS( vec2 texcoord, vec4 offset[ 2 ], sampler2D colorTex, sampler2D blendTex ) {
5351			// Fetch the blending weights for current pixel:
5352			vec4 a;
5353			a.xz = texture2D( blendTex, texcoord ).xz;
5354			a.y = texture2D( blendTex, offset[ 1 ].zw ).g;
5355			a.w = texture2D( blendTex, offset[ 1 ].xy ).a;
5356
5357			// Is there any blending weight with a value greater than 0.0?
5358			if ( dot(a, vec4( 1.0, 1.0, 1.0, 1.0 )) < 1e-5 ) {
5359				return texture2D( colorTex, texcoord, 0.0 );
5360			} else {
5361				// Up to 4 lines can be crossing a pixel (one through each edge). We
5362				// favor blending by choosing the line with the maximum weight for each
5363				// direction:
5364				vec2 offset;
5365				offset.x = a.a > a.b ? a.a : -a.b; // left vs. right
5366				offset.y = a.g > a.r ? -a.g : a.r; // top vs. bottom // WebGL port note: Changed signs
5367
5368				// Then we go in the direction that has the maximum weight:
5369				if ( abs( offset.x ) > abs( offset.y )) { // horizontal vs. vertical
5370					offset.y = 0.0;
5371				} else {
5372					offset.x = 0.0;
5373				}
5374
5375				// Fetch the opposite color and lerp by hand:
5376				vec4 C = texture2D( colorTex, texcoord, 0.0 );
5377				texcoord += sign( offset ) * resolution;
5378				vec4 Cop = texture2D( colorTex, texcoord, 0.0 );
5379				float s = abs( offset.x ) > abs( offset.y ) ? abs( offset.x ) : abs( offset.y );
5380
5381				// WebGL port note: Added gamma correction
5382				C.xyz = pow(C.xyz, vec3(2.2));
5383				Cop.xyz = pow(Cop.xyz, vec3(2.2));
5384				vec4 mixed = mix(C, Cop, s);
5385				mixed.xyz = pow(mixed.xyz, vec3(1.0 / 2.2));
5386
5387				return mixed;
5388			}
5389		}
5390
5391		void main() {
5392
5393			gl_FragColor = SMAANeighborhoodBlendingPS( vUv, vOffset, tColor, tDiffuse );
5394
5395		}`};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<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&&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:`
5396
5397		varying vec2 vUv;
5398
5399		void main() {
5400
5401			vUv = uv;
5402			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
5403
5404		}`,fragmentShader:`
5405
5406		uniform float opacity;
5407
5408		uniform sampler2D tDiffuse;
5409
5410		varying vec2 vUv;
5411
5412		#include <packing>
5413
5414		void main() {
5415
5416			float depth = 1.0 - unpackRGBAToDepth( texture2D( tDiffuse, vUv ) );
5417			gl_FragColor = vec4( vec3( depth ), opacity );
5418
5419		}`};THREE.UnpackDepthRGBAShader=UnpackDepthRGBAShader})();
5420
5421})(); } catch (e) { console.log(e.message, e.stack); throw e; };

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