File: /home/dronicaehy/www/HTML_Salzillo_VF/lib/tdvplayer.js
(function() {
var requirejs,require,define;
(function(){function J(d){return ia.call(d)==="[object Function]"}function X(d){return ia.call(d)==="[object Array]"}function Y(d,f,l){for(var j in f)if(!(j in F)&&(!(j in d)||l))d[j]=f[j];return h}function K(d,f,l){d=new Error(f+"\nhttp://requirejs.org/docs/errors.html#"+d);if(l)d.originalError=l;return d}function ja(d,f,l){var j,q,o;for(j=0;o=f[j];j++){o=typeof o==="string"?{name:o}:o;q=o.location;if(l&&(!q||q.indexOf("/")!==0&&q.indexOf(":")===-1))q=l+"/"+(q||o.name);d[o.name]={name:o.name,location:q||
o.name,main:(o.main||"main").replace(ua,"").replace(ka,"")}}}function Z(d,f){if(d.holdReady)d.holdReady(f);else if(f)d.readyWait+=1;else d.ready(true)}function va(d){function f(a){var b,c;for(b=0;c=a[b];b++)if(c==="."){a.splice(b,1);b-=1}else if(c==="..")if(b===1&&(a[2]===".."||a[0]===".."))break;else if(b>0){a.splice(b-1,2);b-=2}}function l(a,b){var c;if(a.charAt(0)===".")if(b){if(r.pkgs[b])b=[b];else{b=b.split("/");b=b.slice(0,b.length-1)}a=b.concat(a.split("/"));f(a);c=r.pkgs[b=a[0]];a=a.join("/");
if(c&&a===b+"/"+c.main)a=b}return a}function j(a,b){var c=a?a.indexOf("!"):-1,e=null,g=b?b.name:null,k=a,n,m;if(c!==-1){e=a.substring(0,c);a=a.substring(c+1,a.length)}if(e)e=l(e,g);if(a){if(e)n=(c=p[e])?c.normalize?c.normalize(a,function(u){return l(u,g)}):l(a,g):"__$p"+g+"@"+a;else n=l(a,g);m=$[n];if(!m){m=h.toModuleUrl?h.toModuleUrl(i,n,b):i.nameToUrl(n,null,b);$[n]=m}}return{prefix:e,name:n,parentMap:b,url:m,originalName:k,fullName:e?e+"!"+n:n}}function q(){var a=true,b=r.priorityWait,c,e;if(b){for(e=
0;c=b[e];e++)if(!v[c]){a=false;break}a&&delete r.priorityWait}return a}function o(a){return function(b){a.exports=b}}function L(a,b,c){return function(){var e=[].concat(wa.call(arguments,0)),g;if(c&&J(g=e[e.length-1]))g.__requireJsBuild=true;e.push(b);return a.apply(null,e)}}function la(a,b){b=L(i.require,a,b);Y(b,{nameToUrl:L(i.nameToUrl,a),toUrl:L(i.toUrl,a),defined:L(i.requireDefined,a),specified:L(i.requireSpecified,a),ready:h.ready,isBrowser:h.isBrowser});if(h.paths)b.paths=h.paths;return b}
function xa(a){var b,c,e,g,k,n,m,u=T[a];if(u)for(g=0;c=u[g];g++){b=c.fullName;c=j(c.originalName,c.parentMap);c=c.fullName;e=w[b]||[];k=w[c];if(c!==b){if(b in y){delete y[b];y[c]=true}w[c]=k?k.concat(e):e;delete w[b];for(k=0;k<e.length;k++){m=e[k].depArray;for(n=0;n<m.length;n++)if(m[n]===b)m[n]=c}}}delete T[a]}function ma(a){var b=a.prefix,c=a.fullName;if(!(y[c]||c in p)){if(b&&!G[b]){G[b]=undefined;(T[b]||(T[b]=[])).push(a);(w[b]||(w[b]=[])).push({onDep:function(e){e===b&&xa(b)}});ma(j(b))}i.paused.push(a)}}
function aa(a){var b,c,e;b=a.callback;var g=a.fullName,k=[],n=a.depArray;if(b&&J(b)){if(n)for(b=0;b<n.length;b++)k.push(a.deps[n[b]]);try{c=h.execCb(g,a.callback,k,p[g])}catch(m){e=m}if(g)if(a.cjsModule&&a.cjsModule.exports!==undefined)c=p[g]=a.cjsModule.exports;else if(c===undefined&&a.usingExports)c=p[g];else p[g]=c}else if(g)c=p[g]=b;if(B[a.waitId]){delete B[a.waitId];a.isDone=true;i.waitCount-=1;if(i.waitCount===0)ba=[]}if(e){e=K("defineerror",'Error evaluating module "'+g+'" at location "'+(g?
j(g).url:"")+'":\n'+e+"\nfileName:"+(e.fileName||e.sourceURL)+"\nlineNumber: "+(e.lineNumber||e.line),e);e.moduleName=g;return h.onError(e)}if(g)if(a=w[g]){for(b=0;b<a.length;b++)a[b].onDep(g,c);delete w[g]}}function na(a,b,c,e){a=j(a,e);var g=a.name,k=a.fullName,n={},m={waitId:g||ya+za++,depCount:0,depMax:0,prefix:a.prefix,name:g,fullName:k,deps:{},depArray:b,callback:c,onDep:function(oa,Aa){if(!(oa in m.deps)){m.deps[oa]=Aa;m.depCount+=1;m.depCount===m.depMax&&aa(m)}}},u,t;if(k){if(k in p||v[k]===
true||k==="jquery"&&r.jQuery&&r.jQuery!==c().fn.jquery)return;y[k]=true;v[k]=true;k==="jquery"&&c&&U(c())}for(c=0;c<b.length;c++)if(u=b[c]){u=j(u,g?a:e);t=u.fullName;b[c]=t;if(t==="require")m.deps[t]=la(a);else if(t==="exports"){m.deps[t]=p[k]={};m.usingExports=true}else if(t==="module"){m.cjsModule=u=m.deps[t]={id:g,uri:g?i.nameToUrl(g,null,e):undefined,exports:p[k]};u.setExports=o(u)}else if(t in p&&!(t in B))m.deps[t]=p[t];else if(!n[t]){m.depMax+=1;ma(u);(w[t]||(w[t]=[])).push(m);n[t]=true}}if(m.depCount===
m.depMax)aa(m);else{B[m.waitId]=m;ba.push(m);i.waitCount+=1}}function M(a){na.apply(null,a);v[a[0]]=true}function pa(a,b){if(!a.isDone){var c=a.fullName,e=a.depArray,g,k;if(c){if(b[c])return p[c];b[c]=true}for(k=0;k<e.length;k++)(g=e[k])&&!a.deps[g]&&B[g]&&a.onDep(g,pa(B[g],b));return c?p[c]:undefined}}function ca(){var a=r.waitSeconds*1E3,b=a&&i.startTime+a<(new Date).getTime();a="";var c=false,e=false,g;if(!(i.pausedCount>0)){if(r.priorityWait)if(q())C();else return;for(g in v)if(!(g in F)){c=true;
if(!v[g])if(b)a+=g+" ";else{e=true;break}}if(c||i.waitCount){if(b&&a){g=K("timeout","Load timeout for modules: "+a);g.requireType="timeout";g.requireModules=a;return h.onError(g)}if(e||i.scriptCount){if((A||qa)&&!da)da=setTimeout(function(){da=0;ca()},50)}else{if(i.waitCount){for(D=0;a=ba[D];D++)pa(a,{});if(ea<5){ea+=1;ca()}}ea=0;h.checkReadyState()}}}}function ra(a,b){var c=b.name,e=b.fullName,g;if(!(e in p||e in v)){G[a]||(G[a]=p[a]);v[e]||(v[e]=false);g=function(k){h.onPluginLoad&&h.onPluginLoad(i,
a,c,k);aa({prefix:b.prefix,name:b.name,fullName:b.fullName,callback:function(){return k}});v[e]=true};g.fromText=function(k,n){var m=N;i.loaded[k]=false;i.scriptCount+=1;if(m)N=false;h.exec(n);if(m)N=true;i.completeLoad(k)};G[a].load(c,la(b.parentMap,true),g,r)}}function Ba(a){if(a.prefix&&a.name.indexOf("__$p")===0&&p[a.prefix])a=j(a.originalName,a.parentMap);var b=a.prefix,c=a.fullName,e=i.urlFetched;if(!(y[c]||v[c])){y[c]=true;if(b)if(p[b])ra(b,a);else{if(!O[b]){O[b]=[];(w[b]||(w[b]=[])).push({onDep:function(g){if(g===
b){var k,n=O[b];for(g=0;g<n.length;g++){k=n[g];ra(b,j(k.originalName,k.parentMap))}delete O[b]}}})}O[b].push(a)}else if(!e[a.url]){h.load(i,c,a.url);e[a.url]=true}}}var i,C,r={waitSeconds:7,baseUrl:s.baseUrl||"./",paths:{},pkgs:{}},P=[],y={require:true,exports:true,module:true},$={},p={},v={},B={},ba=[],za=0,w={},G={},O={},fa=0,T={};U=function(a){if(!i.jQuery)if(a=a||(typeof jQuery!=="undefined"?jQuery:null))if(!(r.jQuery&&a.fn.jquery!==r.jQuery))if("holdReady"in a||"readyWait"in a){i.jQuery=a;M(["jquery",
[],function(){return jQuery}]);if(i.scriptCount){Z(a,true);i.jQueryIncremented=true}}};C=function(){var a,b,c;fa+=1;if(i.scriptCount<=0)i.scriptCount=0;for(;P.length;){a=P.shift();if(a[0]===null)return h.onError(K("mismatch","Mismatched anonymous define() module: "+a[a.length-1]));else M(a)}if(!r.priorityWait||q())for(;i.paused.length;){c=i.paused;i.pausedCount+=c.length;i.paused=[];for(b=0;a=c[b];b++)Ba(a);i.startTime=(new Date).getTime();i.pausedCount-=c.length}fa===1&&ca();fa-=1};i={contextName:d,
config:r,defQueue:P,waiting:B,waitCount:0,specified:y,loaded:v,urlMap:$,scriptCount:0,urlFetched:{},defined:p,paused:[],pausedCount:0,plugins:G,managerCallbacks:w,makeModuleMap:j,normalize:l,configure:function(a){var b,c,e;if(a.baseUrl)if(a.baseUrl.charAt(a.baseUrl.length-1)!=="/")a.baseUrl+="/";b=r.paths;e=r.pkgs;Y(r,a,true);if(a.paths){for(c in a.paths)c in F||(b[c]=a.paths[c]);r.paths=b}if((b=a.packagePaths)||a.packages){if(b)for(c in b)c in F||ja(e,b[c],c);a.packages&&ja(e,a.packages);r.pkgs=
e}if(a.priority){c=i.requireWait;i.requireWait=false;i.takeGlobalQueue();C();i.require(a.priority);C();i.requireWait=c;r.priorityWait=a.priority}if(a.deps||a.callback)i.require(a.deps||[],a.callback);a.ready&&h.ready(a.ready)},requireDefined:function(a,b){return j(a,b).fullName in p},requireSpecified:function(a,b){return j(a,b).fullName in y},require:function(a,b,c){if(typeof a==="string"){if(h.get)return h.get(i,a,b);c=b;b=j(a,c);a=b.fullName;if(!(a in p))return h.onError(K("notloaded","Module name '"+
b.fullName+"' has not been loaded yet for context: "+d));return p[a]}na(null,a,b,c);if(!i.requireWait)for(;!i.scriptCount&&i.paused.length;){i.takeGlobalQueue();C()}},takeGlobalQueue:function(){if(V.length){Ca.apply(i.defQueue,[i.defQueue.length-1,0].concat(V));V=[]}},completeLoad:function(a){var b;for(i.takeGlobalQueue();P.length;){b=P.shift();if(b[0]===null){b[0]=a;break}else if(b[0]===a)break;else{M(b);b=null}}b?M(b):M([a,[],a==="jquery"&&typeof jQuery!=="undefined"?function(){return jQuery}:null]);
v[a]=true;U();if(h.isAsync)i.scriptCount-=1;C();h.isAsync||(i.scriptCount-=1)},toUrl:function(a,b){var c=a.lastIndexOf("."),e=null;if(c!==-1){e=a.substring(c,a.length);a=a.substring(0,c)}return i.nameToUrl(a,e,b)},nameToUrl:function(a,b,c){var e,g,k,n,m=i.config;a=l(a,c&&c.fullName);if(h.jsExtRegExp.test(a))b=a+(b?b:"");else{e=m.paths;g=m.pkgs;c=a.split("/");for(n=c.length;n>0;n--){k=c.slice(0,n).join("/");if(e[k]){c.splice(0,n,e[k]);break}else if(k=g[k]){a=a===k.name?k.location+"/"+k.main:k.location;
c.splice(0,n,a);break}}b=c.join("/")+(b||".js");b=(b.charAt(0)==="/"||b.match(/^\w+:/)?"":m.baseUrl)+b}return m.urlArgs?b+((b.indexOf("?")===-1?"?":"&")+m.urlArgs):b}};i.jQueryCheck=U;i.resume=C;return i}function Da(){var d,f,l;if(Q&&Q.readyState==="interactive")return Q;d=document.getElementsByTagName("script");for(f=d.length-1;f>-1&&(l=d[f]);f--)if(l.readyState==="interactive")return Q=l;return null}var Ea=/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,Fa=/require\(["']([^'"\s]+)["']\)/g,ua=/^\.\//,ka=/\.js$/,
ia=Object.prototype.toString,x=Array.prototype,wa=x.slice,Ca=x.splice,A=!!(typeof window!=="undefined"&&navigator&&document),qa=!A&&typeof importScripts!=="undefined",Ga=A&&navigator.platform==="PLAYSTATION 3"?/^complete$/:/^(complete|loaded)$/,sa=typeof opera!=="undefined"&&opera.toString()==="[object Opera]",ya="_r@@",F={},H={},V=[],Q=null,Ha=false,ea=0,N=false,h;x={};var ga,s,I,W,z,R,S,D,ha,ta,E,U,da;if(typeof define==="undefined"){if(typeof requirejs!=="undefined")if(J(requirejs))return;else{x=
requirejs;requirejs=undefined}if(typeof require!=="undefined"&&!J(require)){x=require;require=undefined}h=requirejs=function(d,f,l){var j="_",q;if(!X(d)&&typeof d!=="string"){q=d;if(X(f)){d=f;f=l}else d=[]}if(q&&q.context)j=q.context;l=H[j]||(H[j]=va(j));q&&l.configure(q);return l.require(d,f)};if(typeof require==="undefined")require=h;h.toUrl=function(d){return H._.toUrl(d)};h.version="0.25.0";h.isArray=X;h.isFunction=J;h.mixin=Y;h.jsExtRegExp=/^\/|:|\?|\.js$/;s=h.s={contexts:H,skipAsync:{},isPageLoaded:!A,
readyCalls:[]};if(h.isAsync=h.isBrowser=A){I=s.head=document.getElementsByTagName("head")[0];if(W=document.getElementsByTagName("base")[0])I=s.head=W.parentNode}h.onError=function(d){throw d;};h.load=function(d,f,l){var j=d.loaded;Ha=false;j[f]||(j[f]=false);d.scriptCount+=1;h.attach(l,d,f);if(d.jQuery&&!d.jQueryIncremented){Z(d.jQuery,true);d.jQueryIncremented=true}};define=h.def=function(d,f,l){var j;if(typeof d!=="string"){l=f;f=d;d=null}if(!h.isArray(f)){l=f;f=[]}if(!d&&!f.length&&h.isFunction(l))if(l.length){l.toString().replace(Ea,
"").replace(Fa,function(q,o){f.push(o)});f=(l.length===1?["require"]:["require","exports","module"]).concat(f)}if(N){j=ga||Da();if(!j)return h.onError(K("interactive","No matching script interactive for "+l));d||(d=j.getAttribute("data-requiremodule"));j=H[j.getAttribute("data-requirecontext")]}(j?j.defQueue:V).push([d,f,l])};define.amd={multiversion:true,plugins:true,jQuery:true};h.exec=function(d){return eval(d)};h.execCb=function(d,f,l,j){return f.apply(j,l)};h.onScriptLoad=function(d){var f=d.currentTarget||
d.srcElement,l;if(d.type==="load"||Ga.test(f.readyState)){Q=null;d=f.getAttribute("data-requirecontext");l=f.getAttribute("data-requiremodule");H[d].completeLoad(l);f.detachEvent&&!sa?f.detachEvent("onreadystatechange",h.onScriptLoad):f.removeEventListener("load",h.onScriptLoad,false)}};h.attach=function(d,f,l,j,q){var o;if(A){j=j||h.onScriptLoad;o=f&&f.config&&f.config.xhtml?document.createElementNS("http://www.w3.org/1999/xhtml","html:script"):document.createElement("script");o.type=q||"text/javascript";
o.charset="utf-8";o.async=!s.skipAsync[d];f&&o.setAttribute("data-requirecontext",f.contextName);o.setAttribute("data-requiremodule",l);if(o.attachEvent&&!sa){N=true;o.attachEvent("onreadystatechange",j)}else o.addEventListener("load",j,false);o.src=d;ga=o;W?I.insertBefore(o,W):I.appendChild(o);ga=null;return o}else if(qa){j=f.loaded;j[l]=false;importScripts(d);f.completeLoad(l)}return null};if(A){z=document.getElementsByTagName("script");for(D=z.length-1;D>-1&&(R=z[D]);D--){if(!I)I=R.parentNode;
if(S=R.getAttribute("data-main")){if(!x.baseUrl){z=S.split("/");R=z.pop();z=z.length?z.join("/")+"/":"./";x.baseUrl=z;S=R.replace(ka,"")}x.deps=x.deps?x.deps.concat(S):[S];break}}}s.baseUrl=x.baseUrl;h.pageLoaded=function(){if(!s.isPageLoaded){s.isPageLoaded=true;ha&&clearInterval(ha);if(ta)document.readyState="complete";h.callReady()}};h.checkReadyState=function(){var d=s.contexts,f;for(f in d)if(!(f in F))if(d[f].waitCount)return;s.isDone=true;h.callReady()};h.callReady=function(){var d=s.readyCalls,
f,l,j;if(s.isPageLoaded&&s.isDone){if(d.length){s.readyCalls=[];for(f=0;l=d[f];f++)l()}d=s.contexts;for(j in d)if(!(j in F)){f=d[j];if(f.jQueryIncremented){Z(f.jQuery,false);f.jQueryIncremented=false}}}};h.ready=function(d){s.isPageLoaded&&s.isDone?d():s.readyCalls.push(d);return h};if(A){if(document.addEventListener){document.addEventListener("DOMContentLoaded",h.pageLoaded,false);window.addEventListener("load",h.pageLoaded,false);if(!document.readyState){ta=true;document.readyState="loading"}}else if(window.attachEvent){window.attachEvent("onload",
h.pageLoaded);if(self===self.top)ha=setInterval(function(){try{if(document.body){document.documentElement.doScroll("left");h.pageLoaded()}}catch(d){}},30)}document.readyState==="complete"&&h.pageLoaded()}h(x);if(h.isAsync&&typeof setTimeout!=="undefined"){E=s.contexts[x.context||"_"];E.requireWait=true;setTimeout(function(){E.requireWait=false;E.takeGlobalQueue();E.jQueryCheck();E.scriptCount||E.resume();h.checkReadyState()},0)}}})();!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l=a.document,m="2.1.1",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,
b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return n.each(this,a,b)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},
first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(a=arguments[h]))for(b in a)c=
g[b],d=a[b],g!==d&&(j&&d&&(n.isPlainObject(d)||(e=n.isArray(d)))?(e?(e=!1,f=c&&n.isArray(c)?c:[]):f=c&&n.isPlainObject(c)?c:{},g[b]=n.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a);},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){return!n.isArray(a)&&a-parseFloat(a)>=0},
isPlainObject:function(a){return"object"!==n.type(a)||a.nodeType||n.isWindow(a)?!1:a.constructor&&!j.call(a.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(a){var b,c=eval;a=n.trim(a),a&&(1===a.indexOf("use strict")?(b=l.createElement("script"),b.text=a,l.head.appendChild(b).parentNode.removeChild(b)):c(a))},
camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=s(a);if(c)if(g)for(;f>e;e++){if(d=b.apply(a[e],c),d===!1)break}else for(e in a){if(d=b.apply(a[e],c),d===!1)break}else if(g)for(;f>e;e++){if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,
b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:g.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;c>d;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=s(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);
return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(c=a[b],b=a,a=c),n.isFunction(a)?(e=d.call(arguments,2),f=function(){return a.apply(b||this,e.concat(d.call(arguments)))},f.guid=a.guid=a.guid||n.guid++,f):void 0},now:Date.now,support:k}),n.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:1===a.nodeType&&
b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+-new Date,v=a.document,w=0,x=0,y=gb(),z=gb(),A=gb(),B=function(a,b){return a===b&&(l=!0),0},C="undefined",D=1<<31,E={}.hasOwnProperty,F=[],G=F.pop,H=F.push,I=F.push,J=F.slice,K=F.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
M="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=N.replace("w","w#"),P="\\["+M+"*("+N+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+M+"*\\]",Q=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",R=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),S=new RegExp("^"+M+"*,"+M+"*"),T=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),
V=new RegExp(Q),W=new RegExp("^"+O+"$"),X={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)",
"i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{I.apply(F=J.call(v.childNodes),v.childNodes),F[v.childNodes.length].nodeType}catch(eb){I={apply:F.length?function(a,b){H.apply(a,J.call(b))}:function(a,b){var c=
a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],!a||"string"!=typeof a)return d;if(1!==(k=b.nodeType)&&9!==k)return[];if(p&&!e){if(f=_.exec(a))if(j=f[1])if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else{if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return I.apply(d,b.getElementsByTagName(a)),
d;if((j=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return I.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=9===k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+qb(o[l]);w=ab.test(a)&&ob(b.parentNode)||b,x=o.join(",")}if(x)try{return I.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,
"$1"),b,d,e)}function gb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function hb(a){return a[u]=!0,a}function ib(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function jb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function kb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||D)-(~a.sourceIndex||D);if(d)return d;if(c)while(c=
c.nextSibling)if(c===b)return-1;return a?1:-1}function lb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function nb(a){return hb(function(b){return b=+b,hb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function ob(a){return a&&typeof a.getElementsByTagName!==C&&a}c=fb.support={},f=fb.isXML=function(a){var b=
a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fb.setDocument=function(a){var b,e=a?a.ownerDocument||a:v,g=e.defaultView;return e!==n&&9===e.nodeType&&e.documentElement?(n=e,o=e.documentElement,p=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){m()},!1):g.attachEvent&&g.attachEvent("onunload",function(){m()})),c.attributes=ib(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ib(function(a){return a.appendChild(e.createComment("")),
!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(e.getElementsByClassName)&&ib(function(a){return a.innerHTML="<div class='a'></div><div class='a i'></div>",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=ib(function(a){return o.appendChild(a).id=u,!e.getElementsByName||!e.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==C&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=
a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c=typeof a.getAttributeNode!==C&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==C?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=
c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==C&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(e.querySelectorAll))&&(ib(function(a){a.innerHTML="<select msallowclip=''><option selected=''></option></select>",a.querySelectorAll("[msallowclip^='']").length&&q.push("[*^$]="+M+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+M+"*(?:value|"+L+")"),a.querySelectorAll(":checked").length||q.push(":checked")}),ib(function(a){var b=e.createElement("input");
b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+M+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ib(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",Q)}),q=q.length&&new RegExp(q.join("|")),
r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||
b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===v&&t(v,a)?-1:b===e||b.ownerDocument===v&&t(v,b)?1:k?K.call(k,a)-K.call(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],i=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:k?K.call(k,a)-K.call(k,b):0;if(f===g)return kb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?kb(h[d],
i[d]):h[d]===v?-1:i[d]===v?1:0},e):n},fb.matches=function(a,b){return fb(a,null,null,b)},fb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fb(b,n,null,[a]).length>0},fb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=
d.attrHandle[b.toLowerCase()],f=e&&E.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a);},fb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fb.getText=function(a){var b,
c="",d=0,f=a.nodeType;if(f)if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else{if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fb.selectors={cacheLength:50,createPseudo:hb,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=
(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),
a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+M+")"+a+"("+M+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==C&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===
b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?
l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===
b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?hb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=K.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:hb(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?hb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=
g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:hb(function(a){return function(b){return fb(a,b).length>0}}),contains:hb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:hb(function(a){return W.test(a||"")||fb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=
b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&
a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},
first:nb(function(){return[0]}),last:nb(function(a,b){return[b-1]}),eq:nb(function(a,b,c){return[0>c?c+b:c]}),even:nb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:nb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:nb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:nb(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=lb(b);for(b in{submit:!0,
reset:!0})d.pseudos[b]=mb(b);function pb(){}pb.prototype=d.filters=d.pseudos,d.setFilters=new pb,g=fb.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){(!c||(e=S.exec(h)))&&(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=T.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(R," ")}),h=h.slice(c.length));for(g in d.filter)!(e=X[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));
if(!c)break}return b?h.length:h?fb.error(a):z(a,i).slice(0)};function qb(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function rb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g)while(b=b[d]){if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}
function sb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function tb(a,b,c){for(var d=0,e=b.length;e>d;d++)fb(a,b[d],c);return c}function ub(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function vb(a,b,c,d,e,f){return d&&!d[u]&&(d=vb(d)),e&&!e[u]&&(e=vb(e,f)),hb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||tb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ub(p,m,a,
h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ub(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?K.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ub(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):I.apply(g,r)})}function wb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=rb(function(a){return a===b},h,!0),l=rb(function(a){return K.call(b,
a)>-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>i;i++)if(c=d.relative[a[i].type])m=[rb(sb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return vb(i>1&&sb(m),i>1&&qb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&wb(a.slice(i,e)),f>e&&wb(a=a.slice(e)),f>e&&qb(a))}m.push(c)}return sb(m)}function xb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,
k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||0.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=G.call(i));s=ub(s)}I.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&fb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?hb(f):f}return h=fb.compile=function(a,b){var c,
d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xb(e,d)),f.selector=a}return f},i=fb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?
0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&ob(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qb(j),!a)return I.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&ob(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ib(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ib(function(a){return a.innerHTML="<a href='#'></a>",
"#"===a.firstChild.getAttribute("href")})||jb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ib(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||jb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ib(function(a){return null==a.getAttribute("disabled")})||jb(L,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():
(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fb}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=n.expr.match.needsContext,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function x(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(w.test(b))return n.filter(b,a,c);b=n.filter(b,
a)}return n.grep(a,function(a){return g.call(b,a)>=0!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=this.length,d=[],e=this;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;c>b;b++)if(n.contains(e[b],this))return!0}));for(b=0;c>b;b++)n.find(a,e[b],d);return d=this.pushStack(c>1?n.unique(d):
d),d.selector=this.selector?this.selector+" "+a:a,d},filter:function(a){return this.pushStack(x(this,a||[],!1))},not:function(a){return this.pushStack(x(this,a||[],!0))},is:function(a){return!!x(this,"string"==typeof a&&u.test(a)?n(a):a||[],!1).length}});var y,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=n.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||y).find(a):this.constructor(b).find(a);
if(c[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:l,!0)),v.test(c[1])&&n.isPlainObject(b))for(c in b)n.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}return d=l.getElementById(c[2]),d&&d.parentNode&&(this.length=1,this[0]=d),this.context=l,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?"undefined"!=typeof y.ready?y.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=
a.context),n.makeArray(a,this))};A.prototype=n.fn,y=n(l);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};n.extend({dir:function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),n.fn.extend({has:function(a){var b=n(a,this),c=b.length;return this.filter(function(){for(var a=0;c>a;a++)if(n.contains(this,
b[a]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=u.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.unique(f):f)},index:function(a){return a?"string"==typeof a?g.call(n(a),this[0]):g.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.unique(n.merge(this.get(),
n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){while((a=a[b])&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return n.dir(a,"parentNode")},parentsUntil:function(a,b,c){return n.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return n.dir(a,"nextSibling")},prevAll:function(a){return n.dir(a,
"previousSibling")},nextUntil:function(a,b,c){return n.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return n.dir(a,"previousSibling",c)},siblings:function(a){return n.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return n.sibling(a.firstChild)},contents:function(a){return a.contentDocument||n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(C[a]||n.unique(e),
B.test(a)&&e.reverse()),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return n.each(a.match(E)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):n.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(b=a.memory&&l,c=!0,g=e||0,e=0,f=h.length,d=!0;h&&f>g;g++)if(h[g].apply(l[0],l[1])===!1&&a.stopOnFalse){b=!1;break}d=!1,h&&(i?i.length&&j(i.shift()):b?h=[]:k.disable())},k={add:function(){if(h){var c=h.length;!function g(b){n.each(b,
function(b,c){var d=n.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&g(c)})}(arguments),d?f=h.length:b&&(e=c,j(b))}return this},remove:function(){return h&&n.each(arguments,function(a,b){var c;while((c=n.inArray(b,h,c))>-1)h.splice(c,1),d&&(f>=c&&f--,g>=c&&g--)}),this},has:function(a){return a?n.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],f=0,this},disable:function(){return h=i=b=void 0,this},disabled:function(){return!h},lock:function(){return i=
void 0,b||k.disable(),this},locked:function(){return!i},fireWith:function(a,b){return!h||c&&!i||(b=b||[],b=[a,b.slice?b.slice():b],d?i.push(b):j(b)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!c}};return k},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),
this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=
h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&n.isFunction(a.promise)?e:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&
n.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--n.readyWait>0||(H.resolveWith(l,[n]),n.fn.triggerHandler&&(n(l).triggerHandler("ready"),n(l).off("ready"))))}});function I(){l.removeEventListener("DOMContentLoaded",
I,!1),a.removeEventListener("load",I,!1),n.ready()}n.ready.promise=function(b){return H||(H=n.Deferred(),"complete"===l.readyState?setTimeout(n.ready):(l.addEventListener("DOMContentLoaded",I,!1),a.addEventListener("load",I,!1))),H.promise(b)},n.ready.promise();var J=n.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in c)n.access(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),
c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f};n.acceptData=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function K(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=n.expando+Math.random()}K.uid=1,K.accepts=n.acceptData,K.prototype={key:function(a){if(!K.accepts(a))return 0;var b={},c=a[this.expando];if(!c){c=K.uid++;try{b[this.expando]={value:c},Object.defineProperties(a,b)}catch(d){b[this.expando]=
c,n.extend(a,b)}}return this.cache[c]||(this.cache[c]={}),c},set:function(a,b,c){var d,e=this.key(a),f=this.cache[e];if("string"==typeof b)f[b]=c;else if(n.isEmptyObject(f))n.extend(this.cache[e],b);else for(d in b)f[d]=b[d];return f},get:function(a,b){var c=this.cache[this.key(a)];return void 0===b?c:c[b]},access:function(a,b,c){var d;return void 0===b||b&&"string"==typeof b&&void 0===c?(d=this.get(a,b),void 0!==d?d:this.get(a,n.camelCase(b))):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,
b){var c,d,e,f=this.key(a),g=this.cache[f];if(void 0===b)this.cache[f]={};else{n.isArray(b)?d=b.concat(b.map(n.camelCase)):(e=n.camelCase(b),b in g?d=[b,e]:(d=e,d=d in g?[d]:d.match(E)||[])),c=d.length;while(c--)delete g[d[c]]}},hasData:function(a){return!n.isEmptyObject(this.cache[a[this.expando]]||{})},discard:function(a){a[this.expando]&&delete this.cache[a[this.expando]]}};var L=new K,M=new K,N=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,O=/([A-Z])/g;function P(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d=
"data-"+b.replace(O,"-$1").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}M.set(a,b,c)}else c=void 0;return c}n.extend({hasData:function(a){return M.hasData(a)||L.hasData(a)},data:function(a,b,c){return M.access(a,b,c)},removeData:function(a,b){M.remove(a,b)},_data:function(a,b,c){return L.access(a,b,c)},_removeData:function(a,b){L.remove(a,b)}}),n.fn.extend({data:function(a,b){var c,d,e,f=
this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=M.get(f),1===f.nodeType&&!L.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d])));L.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){M.set(this,a)}):J(this,function(b){var c,d=n.camelCase(a);if(f&&void 0===b){if(c=M.get(f,a),void 0!==c)return c;if(c=M.get(f,d),void 0!==c)return c;if(c=P(f,d,void 0),void 0!==c)return c}else this.each(function(){var c=
M.get(this,d);M.set(this,d,b),-1!==a.indexOf("-")&&void 0!==c&&M.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){M.remove(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=L.get(a,b),c&&(!d||n.isArray(c)?d=L.access(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),
d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return L.get(a,c)||L.access(a,c,{empty:n.Callbacks("once memory").add(function(){L.remove(a,[b+"queue",c])})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?n.queue(this[0],a):void 0===b?this:this.each(function(){var c=n.queue(this,a,b);n._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&n.dequeue(this,
a)})},dequeue:function(a){return this.each(function(){n.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=n.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=L.get(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var Q=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,R=["Top","Right","Bottom","Left"],S=function(a,b){return a=b||a,"none"===
n.css(a,"display")||!n.contains(a.ownerDocument,a)},T=/^(?:checkbox|radio)$/i;!function(){var a=l.createDocumentFragment(),b=a.appendChild(l.createElement("div")),c=l.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>x</textarea>",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var U="undefined";k.focusinBubbles="onfocusin"in
a;var V=/^key/,W=/^(?:mouse|pointer|contextmenu)|click/,X=/^(?:focusinfocus|focusoutblur)$/,Y=/^([^.]*)(?:\.(.+)|)$/;function Z(){return!0}function $(){return!1}function _(){try{return l.activeElement}catch(a){}}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.get(a);if(r){c.handler&&(f=c,c=f.handler,e=f.selector),c.guid||(c.guid=n.guid++),(i=r.events)||(i=r.events={}),(g=r.handle)||(g=r.handle=function(b){return typeof n!==U&&n.event.triggered!==b.type?n.event.dispatch.apply(a,
arguments):void 0}),b=(b||"").match(E)||[""],j=b.length;while(j--)h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o&&(l=n.event.special[o]||{},o=(e?l.delegateType:l.bindType)||o,l=n.event.special[o]||{},k=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},f),(m=i[o])||(m=i[o]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,p,g)!==!1||a.addEventListener&&a.addEventListener(o,g,!1)),l.add&&(l.add.call(a,
k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),n.event.global[o]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.hasData(a)&&L.get(a);if(r&&(i=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=i[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&q!==k.origType||
c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete i[o])}else for(o in i)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(i)&&(delete r.handle,L.remove(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,m,o,p=[d||l],q=j.call(b,"type")?b.type:b,r=j.call(b,"namespace")?b.namespace.split("."):
[];if(g=h=d=d||l,3!==d.nodeType&&8!==d.nodeType&&!X.test(q+n.event.triggered)&&(q.indexOf(".")>=0&&(r=q.split("."),q=r.shift(),r.sort()),k=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=r.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:n.makeArray(c,[b]),o=n.event.special[q]||{},e||!o.trigger||o.trigger.apply(d,c)!==!1)){if(!e&&!o.noBubble&&
!n.isWindow(d)){for(i=o.delegateType||q,X.test(i+q)||(g=g.parentNode);g;g=g.parentNode)p.push(g),h=g;h===(d.ownerDocument||l)&&p.push(h.defaultView||h.parentWindow||a)}f=0;while((g=p[f++])&&!b.isPropagationStopped())b.type=f>1?i:o.bindType||q,m=(L.get(g,"events")||{})[b.type]&&L.get(g,"handle"),m&&m.apply(g,c),m=k&&g[k],m&&m.apply&&n.acceptData(g)&&(b.result=m.apply(g,c),b.result===!1&&b.preventDefault());return b.type=q,e||b.isDefaultPrevented()||o._default&&o._default.apply(p.pop(),c)!==!1||!n.acceptData(d)||
k&&n.isFunction(d[q])&&!n.isWindow(d)&&(h=d[k],h&&(d[k]=null),n.event.triggered=q,d[q](),n.event.triggered=void 0,h&&(d[k]=h)),b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(L.get(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&
!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(g.namespace))&&(a.handleObj=g,a.data=g.data,e=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==e&&(a.result=e)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!==this;i=i.parentNode||this)if(i.disabled!==!0||"click"!==
a.type){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>=0:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&
(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,d,e,f=b.button;return null==a.pageX&&null!=b.clientX&&(c=a.target.ownerDocument||l,d=c.documentElement,e=c.body,a.pageX=b.clientX+(d&&d.scrollLeft||e&&e.scrollLeft||0)-(d&&d.clientLeft||e&&e.clientLeft||0),a.pageY=b.clientY+(d&&d.scrollTop||e&&e.scrollTop||0)-(d&&d.clientTop||e&&e.clientTop||0)),a.which||
void 0===f||(a.which=1&f?1:2&f?3:4&f?2:0),a}},fix:function(a){if(a[n.expando])return a;var b,c,d,e=a.type,f=a,g=this.fixHooks[e];g||(this.fixHooks[e]=g=W.test(e)?this.mouseHooks:V.test(e)?this.keyHooks:{}),d=g.props?this.props.concat(g.props):this.props,a=new n.Event(f),b=d.length;while(b--)c=d[b],a[c]=f[c];return a.target||(a.target=l),3===a.target.nodeType&&(a.target=a.target.parentNode),g.filter?g.filter(a,f):a},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==_()&&this.focus?
(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===_()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&n.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(a){return n.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c,d){var e=n.extend(new n.Event,c,
{type:a,isSimulated:!0,originalEvent:{}});d?n.event.trigger(e,null,b):n.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},n.removeEvent=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)},n.Event=function(a,b){return this instanceof n.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?Z:$):this.type=a,b&&n.extend(this,b),this.timeStamp=a&&a.timeStamp||n.now(),void(this[n.expando]=
!0)):new n.Event(a,b)},n.Event.prototype={isDefaultPrevented:$,isPropagationStopped:$,isImmediatePropagationStopped:$,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=Z,a&&a.preventDefault&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=Z,a&&a.stopPropagation&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=Z,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),
this.stopPropagation()}},n.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){n.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return(!e||e!==d&&!n.contains(d,e))&&(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),k.focusinBubbles||n.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){n.event.simulate(b,a.target,n.event.fix(a),!0)};
n.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=L.access(d,b);e||d.addEventListener(a,c,!0),L.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=L.access(d,b)-1;e?L.access(d,b,e):(d.removeEventListener(a,c,!0),L.remove(d,b))}}}),n.fn.extend({on:function(a,b,c,d,e){var f,g;if("object"==typeof a){"string"!=typeof b&&(c=c||b,b=void 0);for(g in a)this.on(g,b,c,a[g],e);return this}if(null==c&&null==d?(d=b,c=b=void 0):null==d&&("string"==typeof b?(d=c,c=void 0):
(d=c,c=b,b=void 0)),d===!1)d=$;else if(!d)return this;return 1===e&&(f=d,d=function(a){return n().off(a),f.apply(this,arguments)},d.guid=f.guid||(f.guid=n.guid++)),this.each(function(){n.event.add(this,a,d,c,b)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,n(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);
return this}return(b===!1||"function"==typeof b)&&(c=b,b=void 0),c===!1&&(c=$),this.each(function(){n.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){n.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?n.event.trigger(a,b,c,!0):void 0}});var ab=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bb=/<([\w:]+)/,cb=/<|&#?\w+;/,db=/<(?:script|style|link)/i,eb=/checked\s*(?:[^=]|=\s*.checked.)/i,fb=/^$|\/(?:java|ecma)script/i,
gb=/^true\/(.*)/,hb=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ib={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ib.optgroup=ib.option,ib.tbody=ib.tfoot=ib.colgroup=ib.caption=ib.thead,ib.th=ib.td;function jb(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||
a.appendChild(a.ownerDocument.createElement("tbody")):a}function kb(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function lb(a){var b=gb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function mb(a,b){for(var c=0,d=a.length;d>c;c++)L.set(a[c],"globalEval",!b||L.get(b[c],"globalEval"))}function nb(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(L.hasData(a)&&(f=L.access(a),g=L.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;d>c;c++)n.event.add(b,
e,j[e][c])}M.hasData(a)&&(h=M.access(a),i=n.extend({},h),M.set(b,i))}}function ob(a,b){var c=a.getElementsByTagName?a.getElementsByTagName(b||"*"):a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&n.nodeName(a,b)?n.merge([a],c):c}function pb(a,b){var c=b.nodeName.toLowerCase();"input"===c&&T.test(a.type)?b.checked=a.checked:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}n.extend({clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=n.contains(a.ownerDocument,
a);if(!(k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(g=ob(h),f=ob(a),d=0,e=f.length;e>d;d++)pb(f[d],g[d]);if(b)if(c)for(f=f||ob(a),g=g||ob(h),d=0,e=f.length;e>d;d++)nb(f[d],g[d]);else nb(a,h);return g=ob(h,"script"),g.length>0&&mb(g,!i&&ob(a,"script")),h},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,k=b.createDocumentFragment(),l=[],m=0,o=a.length;o>m;m++)if(e=a[m],e||0===e)if("object"===n.type(e))n.merge(l,e.nodeType?[e]:e);else if(cb.test(e)){f=f||k.appendChild(b.createElement("div")),
g=(bb.exec(e)||["",""])[1].toLowerCase(),h=ib[g]||ib._default,f.innerHTML=h[1]+e.replace(ab,"<$1></$2>")+h[2],j=h[0];while(j--)f=f.lastChild;n.merge(l,f.childNodes),f=k.firstChild,f.textContent=""}else l.push(b.createTextNode(e));k.textContent="",m=0;while(e=l[m++])if((!d||-1===n.inArray(e,d))&&(i=n.contains(e.ownerDocument,e),f=ob(k.appendChild(e),"script"),i&&mb(f),c)){j=0;while(e=f[j++])fb.test(e.type||"")&&c.push(e)}return k},cleanData:function(a){for(var b,c,d,e,f=n.event.special,g=0;void 0!==
(c=a[g]);g++){if(n.acceptData(c)&&(e=c[L.expando],e&&(b=L.cache[e]))){if(b.events)for(d in b.events)f[d]?n.event.remove(c,d):n.removeEvent(c,d,b.handle);L.cache[e]&&delete L.cache[e]}delete M.cache[c[M.expando]]}}}),n.fn.extend({text:function(a){return J(this,function(a){return void 0===a?n.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=a)})},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===
this.nodeType||11===this.nodeType||9===this.nodeType){var b=jb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=jb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},
remove:function(a,b){for(var c,d=a?n.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||n.cleanData(ob(c)),c.parentNode&&(b&&n.contains(c.ownerDocument,c)&&mb(ob(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(n.cleanData(ob(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return J(this,function(a){var b=
this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!db.test(a)&&!ib[(bb.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(ab,"<$1></$2>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(ob(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,n.cleanData(ob(this)),a&&a.replaceChild(b,this)}),a&&(a.length||
a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,m=this,o=l-1,p=a[0],q=n.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&eb.test(p))return this.each(function(c){var d=m.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(c=n.buildFragment(a,this[0].ownerDocument,!1,this),d=c.firstChild,1===c.childNodes.length&&(c=d),d)){for(f=n.map(ob(c,"script"),kb),g=f.length;l>j;j++)h=c,
j!==o&&(h=n.clone(h,!0,!0),g&&n.merge(f,ob(h,"script"))),b.call(this[j],h,j);if(g)for(i=f[f.length-1].ownerDocument,n.map(f,lb),j=0;g>j;j++)h=f[j],fb.test(h.type||"")&&!L.access(h,"globalEval")&&n.contains(i,h)&&(h.src?n._evalUrl&&n._evalUrl(h.src):n.globalEval(h.textContent.replace(hb,"")))}return this}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=[],e=n(a),g=e.length-1,h=0;g>=h;h++)c=
h===g?this:this.clone(!0),n(e[h])[b](c),f.apply(d,c.get());return this.pushStack(d)}});var qb,rb={};function sb(b,c){var d,e=n(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:n.css(e[0],"display");return e.detach(),f}function tb(a){var b=l,c=rb[a];return c||(c=sb(a,b),"none"!==c&&c||(qb=(qb||n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=qb[0].contentDocument,b.write(),b.close(),c=sb(a,b),qb.detach()),
rb[a]=c),c}var ub=/^margin/,vb=new RegExp("^("+Q+")(?!px)[a-z%]+$","i"),wb=function(a){return a.ownerDocument.defaultView.getComputedStyle(a,null)};function xb(a,b,c){var d,e,f,g,h=a.style;return c=c||wb(a),c&&(g=c.getPropertyValue(b)||c[b]),c&&(""!==g||n.contains(a.ownerDocument,a)||(g=n.style(a,b)),vb.test(g)&&ub.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0!==g?g+"":g}function yb(a,b){return{get:function(){return a()?
void delete this.get:(this.get=b).apply(this,arguments)}}}!function(){var b,c,d=l.documentElement,e=l.createElement("div"),f=l.createElement("div");if(f.style){f.style.backgroundClip="content-box",f.cloneNode(!0).style.backgroundClip="",k.clearCloneStyle="content-box"===f.style.backgroundClip,e.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",e.appendChild(f);function g(){f.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",
f.innerHTML="",d.appendChild(e);var g=a.getComputedStyle(f,null);b="1%"!==g.top,c="4px"===g.width,d.removeChild(e)}a.getComputedStyle&&n.extend(k,{pixelPosition:function(){return g(),b},boxSizingReliable:function(){return null==c&&g(),c},reliableMarginRight:function(){var b,c=f.appendChild(l.createElement("div"));return c.style.cssText=f.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",c.style.marginRight=c.style.width=
"0",f.style.width="1px",d.appendChild(e),b=!parseFloat(a.getComputedStyle(c,null).marginRight),d.removeChild(e),b}})}}(),n.swap=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};var zb=/^(none|table(?!-c[ea]).+)/,Ab=new RegExp("^("+Q+")(.*)$","i"),Bb=new RegExp("^([+-])=("+Q+")","i"),Cb={position:"absolute",visibility:"hidden",display:"block"},Db={letterSpacing:"0",fontWeight:"400"},Eb=["Webkit","O","Moz","ms"];function Fb(a,
b){if(b in a)return b;var c=b[0].toUpperCase()+b.slice(1),d=b,e=Eb.length;while(e--)if(b=Eb[e]+c,b in a)return b;return d}function Gb(a,b,c){var d=Ab.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function Hb(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=n.css(a,c+R[f],!0,e)),d?("content"===c&&(g-=n.css(a,"padding"+R[f],!0,e)),"margin"!==c&&(g-=n.css(a,"border"+R[f]+"Width",!0,e))):(g+=n.css(a,"padding"+R[f],!0,e),"padding"!==c&&(g+=n.css(a,
"border"+R[f]+"Width",!0,e)));return g}function Ib(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=wb(a),g="border-box"===n.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=xb(a,b,f),(0>e||null==e)&&(e=a.style[b]),vb.test(e))return e;d=g&&(k.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+Hb(a,b,c||(g?"border":"content"),d,f)+"px"}function Jb(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=L.get(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||
(d.style.display=""),""===d.style.display&&S(d)&&(f[g]=L.access(d,"olddisplay",tb(d.nodeName)))):(e=S(d),"none"===c&&e||L.set(d,"olddisplay",e?c:n.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}n.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=xb(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,
order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=n.camelCase(b),i=a.style;return b=n.cssProps[h]||(n.cssProps[h]=Fb(i,h)),g=n.cssHooks[b]||n.cssHooks[h],void 0===c?g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b]:(f=typeof c,"string"===f&&(e=Bb.exec(c))&&(c=(e[1]+1)*e[2]+parseFloat(n.css(a,b)),f="number"),null!=c&&c===c&&("number"!==f||n.cssNumber[h]||(c+="px"),k.clearCloneStyle||""!==c||
0!==b.indexOf("background")||(i[b]="inherit"),g&&"set"in g&&void 0===(c=g.set(a,c,d))||(i[b]=c)),void 0)}},css:function(a,b,c,d){var e,f,g,h=n.camelCase(b);return b=n.cssProps[h]||(n.cssProps[h]=Fb(a.style,h)),g=n.cssHooks[b]||n.cssHooks[h],g&&"get"in g&&(e=g.get(a,!0,c)),void 0===e&&(e=xb(a,b,d)),"normal"===e&&b in Db&&(e=Db[b]),""===c||c?(f=parseFloat(e),c===!0||n.isNumeric(f)?f||0:e):e}}),n.each(["height","width"],function(a,b){n.cssHooks[b]={get:function(a,c,d){return c?zb.test(n.css(a,"display"))&&
0===a.offsetWidth?n.swap(a,Cb,function(){return Ib(a,b,d)}):Ib(a,b,d):void 0},set:function(a,c,d){var e=d&&wb(a);return Gb(a,c,d?Hb(a,b,d,"border-box"===n.css(a,"boxSizing",!1,e),e):0)}}}),n.cssHooks.marginRight=yb(k.reliableMarginRight,function(a,b){return b?n.swap(a,{display:"inline-block"},xb,[a,"marginRight"]):void 0}),n.each({margin:"",padding:"",border:"Width"},function(a,b){n.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+R[d]+b]=f[d]||
f[d-2]||f[0];return e}},ub.test(a)||(n.cssHooks[a+b].set=Gb)}),n.fn.extend({css:function(a,b){return J(this,function(a,b,c){var d,e,f={},g=0;if(n.isArray(b)){for(d=wb(a),e=b.length;e>g;g++)f[b[g]]=n.css(a,b[g],!1,d);return f}return void 0!==c?n.style(a,b,c):n.css(a,b)},a,b,arguments.length>1)},show:function(){return Jb(this,!0)},hide:function(){return Jb(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){S(this)?n(this).show():n(this).hide()})}});function Kb(a,
b,c,d,e){return new Kb.prototype.init(a,b,c,d,e)}n.Tween=Kb,Kb.prototype={constructor:Kb,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(n.cssNumber[c]?"":"px")},cur:function(){var a=Kb.propHooks[this.prop];return a&&a.get?a.get(this):Kb.propHooks._default.get(this)},run:function(a){var b,c=Kb.propHooks[this.prop];return this.pos=b=this.options.duration?n.easing[this.easing](a,this.options.duration*a,
0,1,this.options.duration):a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Kb.propHooks._default.set(this),this}},Kb.prototype.init.prototype=Kb.prototype,Kb.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=n.css(a.elem,a.prop,""),b&&"auto"!==b?b:0):a.elem[a.prop]},set:function(a){n.fx.step[a.prop]?n.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[n.cssProps[a.prop]]||
n.cssHooks[a.prop])?n.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},Kb.propHooks.scrollTop=Kb.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},n.easing={linear:function(a){return a},swing:function(a){return 0.5-Math.cos(a*Math.PI)/2}},n.fx=Kb.prototype.init,n.fx.step={};var Lb,Mb,Nb=/^(?:toggle|show|hide)$/,Ob=new RegExp("^(?:([+-])=|)("+Q+")([a-z%]*)$","i"),Pb=/queueHooks$/,Qb=[Vb],Rb={"*":[function(a,b){var c=this.createTween(a,b),d=
c.cur(),e=Ob.exec(b),f=e&&e[3]||(n.cssNumber[a]?"":"px"),g=(n.cssNumber[a]||"px"!==f&&+d)&&Ob.exec(n.css(c.elem,a)),h=1,i=20;if(g&&g[3]!==f){f=f||g[3],e=e||[],g=+d||1;do h=h||".5",g/=h,n.style(c.elem,a,g+f);while(h!==(h=c.cur()/d)&&1!==h&&--i)}return e&&(g=c.start=+g||+d||0,c.unit=f,c.end=e[1]?g+(e[1]+1)*e[2]:+e[2]),c}]};function Sb(){return setTimeout(function(){Lb=void 0}),Lb=n.now()}function Tb(a,b){var c,d=0,e={height:a};for(b=b?1:0;4>d;d+=2-b)c=R[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=
e.width=a),e}function Ub(a,b,c){for(var d,e=(Rb[b]||[]).concat(Rb["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function Vb(a,b,c){var d,e,f,g,h,i,j,k,l=this,m={},o=a.style,p=a.nodeType&&S(a),q=L.get(a,"fxshow");c.queue||(h=n._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,l.always(function(){l.always(function(){h.unqueued--,n.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&
(c.overflow=[o.overflow,o.overflowX,o.overflowY],j=n.css(a,"display"),k="none"===j?L.get(a,"olddisplay")||tb(a.nodeName):j,"inline"===k&&"none"===n.css(a,"float")&&(o.display="inline-block")),c.overflow&&(o.overflow="hidden",l.always(function(){o.overflow=c.overflow[0],o.overflowX=c.overflow[1],o.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],Nb.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(p?"hide":"show")){if("show"!==e||!q||void 0===q[d])continue;p=!0}m[d]=q&&q[d]||n.style(a,d)}else j=void 0;
if(n.isEmptyObject(m))"inline"===("none"===j?tb(a.nodeName):j)&&(o.display=j);else{q?"hidden"in q&&(p=q.hidden):q=L.access(a,"fxshow",{}),f&&(q.hidden=!p),p?n(a).show():l.done(function(){n(a).hide()}),l.done(function(){var b;L.remove(a,"fxshow");for(b in m)n.style(a,b,m[b])});for(d in m)g=Ub(p?q[d]:0,d,l),d in q||(q[d]=g.start,p&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function Wb(a,b){var c,d,e,f,g;for(c in a)if(d=n.camelCase(c),e=b[d],f=a[c],n.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==
d&&(a[d]=f,delete a[c]),g=n.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function Xb(a,b,c){var d,e,f=0,g=Qb.length,h=n.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=Lb||Sb(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:n.extend({},b),opts:n.extend(!0,
{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:Lb||Sb(),duration:c.duration,tweens:[],createTween:function(b,c){var d=n.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),k=j.props;for(Wb(k,j.opts.specialEasing);g>f;f++)if(d=Qb[f].call(j,a,k,j.opts))return d;return n.map(k,Ub,j),
n.isFunction(j.opts.start)&&j.opts.start.call(a,j),n.fx.timer(n.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}n.Animation=n.extend(Xb,{tweener:function(a,b){n.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;e>d;d++)c=a[d],Rb[c]=Rb[c]||[],Rb[c].unshift(b)},prefilter:function(a,b){b?Qb.unshift(a):Qb.push(a)}}),n.speed=function(a,b,c){var d=a&&"object"==typeof a?n.extend({},a):{complete:c||
!c&&b||n.isFunction(a)&&a,duration:a,easing:c&&b||b&&!n.isFunction(b)&&b};return d.duration=n.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in n.fx.speeds?n.fx.speeds[d.duration]:n.fx.speeds._default,(null==d.queue||d.queue===!0)&&(d.queue="fx"),d.old=d.complete,d.complete=function(){n.isFunction(d.old)&&d.old.call(this),d.queue&&n.dequeue(this,d.queue)},d},n.fn.extend({fadeTo:function(a,b,c,d){return this.filter(S).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,
b,c,d){var e=n.isEmptyObject(a),f=n.speed(b,c,d),g=function(){var b=Xb(this,n.extend({},a),f);(e||L.get(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=n.timers,g=L.get(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&Pb.test(e)&&
d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));(b||!c)&&n.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=L.get(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=n.timers,g=d?d.length:0;for(c.finish=!0,n.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),
n.each(["toggle","show","hide"],function(a,b){var c=n.fn[b];n.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(Tb(b,!0),a,d,e)}}),n.each({slideDown:Tb("show"),slideUp:Tb("hide"),slideToggle:Tb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){n.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),n.timers=[],n.fx.tick=function(){var a,b=0,c=n.timers;for(Lb=n.now();b<c.length;b++)a=c[b],a()||c[b]!==
a||c.splice(b--,1);c.length||n.fx.stop(),Lb=void 0},n.fx.timer=function(a){n.timers.push(a),a()?n.fx.start():n.timers.pop()},n.fx.interval=13,n.fx.start=function(){Mb||(Mb=setInterval(n.fx.tick,n.fx.interval))},n.fx.stop=function(){clearInterval(Mb),Mb=null},n.fx.speeds={slow:600,fast:200,_default:400},n.fn.delay=function(a,b){return a=n.fx?n.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},function(){var a=l.createElement("input"),
b=l.createElement("select"),c=b.appendChild(l.createElement("option"));a.type="checkbox",k.checkOn=""!==a.value,k.optSelected=c.selected,b.disabled=!0,k.optDisabled=!c.disabled,a=l.createElement("input"),a.value="t",a.type="radio",k.radioValue="t"===a.value}();var Yb,Zb,$b=n.expr.attrHandle;n.fn.extend({attr:function(a,b){return J(this,n.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){n.removeAttr(this,a)})}}),n.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(a&&
3!==f&&8!==f&&2!==f)return typeof a.getAttribute===U?n.prop(a,b,c):(1===f&&n.isXMLDoc(a)||(b=b.toLowerCase(),d=n.attrHooks[b]||(n.expr.match.bool.test(b)?Zb:Yb)),void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=n.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void n.removeAttr(a,b))},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(E);if(f&&1===a.nodeType)while(c=f[e++])d=n.propFix[c]||c,n.expr.match.bool.test(c)&&(a[d]=!1),a.removeAttribute(c)},
attrHooks:{type:{set:function(a,b){if(!k.radioValue&&"radio"===b&&n.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}}}),Zb={set:function(a,b,c){return b===!1?n.removeAttr(a,c):a.setAttribute(c,c),c}},n.each(n.expr.match.bool.source.match(/\w+/g),function(a,b){var c=$b[b]||n.find.attr;$b[b]=function(a,b,d){var e,f;return d||(f=$b[b],$b[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,$b[b]=f),e}});var _b=/^(?:input|select|textarea|button)$/i;n.fn.extend({prop:function(a,
b){return J(this,n.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[n.propFix[a]||a]})}}),n.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,b,c){var d,e,f,g=a.nodeType;if(a&&3!==g&&8!==g&&2!==g)return f=1!==g||!n.isXMLDoc(a),f&&(b=n.propFix[b]||b,e=n.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){return a.hasAttribute("tabindex")||
_b.test(a.nodeName)||a.href?a.tabIndex:-1}}}}),k.optSelected||(n.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null}}),n.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){n.propFix[this.toLowerCase()]=this});var ac=/[\t\r\n\f]/g;n.fn.extend({addClass:function(a){var b,c,d,e,f,g,h="string"==typeof a&&a,i=0,j=this.length;if(n.isFunction(a))return this.each(function(b){n(this).addClass(a.call(this,
b,this.className))});if(h)for(b=(a||"").match(E)||[];j>i;i++)if(c=this[i],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(ac," "):" ")){f=0;while(e=b[f++])d.indexOf(" "+e+" ")<0&&(d+=e+" ");g=n.trim(d),c.className!==g&&(c.className=g)}return this},removeClass:function(a){var b,c,d,e,f,g,h=0===arguments.length||"string"==typeof a&&a,i=0,j=this.length;if(n.isFunction(a))return this.each(function(b){n(this).removeClass(a.call(this,b,this.className))});if(h)for(b=(a||"").match(E)||[];j>i;i++)if(c=
this[i],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(ac," "):"")){f=0;while(e=b[f++])while(d.indexOf(" "+e+" ")>=0)d=d.replace(" "+e+" "," ");g=a?n.trim(d):"",c.className!==g&&(c.className=g)}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):this.each(n.isFunction(a)?function(c){n(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if("string"===c){var b,d=0,e=n(this),f=a.match(E)||[];while(b=
f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else(c===U||"boolean"===c)&&(this.className&&L.set(this,"__className__",this.className),this.className=this.className||a===!1?"":L.get(this,"__className__")||"")})},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;d>c;c++)if(1===this[c].nodeType&&(" "+this[c].className+" ").replace(ac," ").indexOf(b)>=0)return!0;return!1}});var bc=/\r/g;n.fn.extend({val:function(a){var b,c,d,e=this[0];if(arguments.length)return d=n.isFunction(a),this.each(function(c){var e;
1===this.nodeType&&(e=d?a.call(this,c,n(this).val()):a,null==e?e="":"number"==typeof e?e+="":n.isArray(e)&&(e=n.map(e,function(a){return null==a?"":a+""})),b=n.valHooks[this.type]||n.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=n.valHooks[e.type]||n.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(bc,""):null==c?"":c)}}),n.extend({valHooks:{option:{get:function(a){var b=
n.find.attr(a,"value");return null!=b?b:n.trim(n.text(a))}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],!(!c.selected&&i!==e||(k.optDisabled?c.disabled:null!==c.getAttribute("disabled"))||c.parentNode.disabled&&n.nodeName(c.parentNode,"optgroup"))){if(b=n(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=n.makeArray(b),g=e.length;while(g--)d=e[g],(d.selected=
n.inArray(d.value,f)>=0)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),n.each(["radio","checkbox"],function(){n.valHooks[this]={set:function(a,b){return n.isArray(b)?a.checked=n.inArray(n(a).val(),b)>=0:void 0}},k.checkOn||(n.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})}),n.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),
function(a,b){n.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),n.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}});var cc=n.now(),dc=/\?/;n.parseJSON=function(a){return JSON.parse(a+"")},n.parseXML=
function(a){var b,c;if(!a||"string"!=typeof a)return null;try{c=new DOMParser,b=c.parseFromString(a,"text/xml")}catch(d){b=void 0}return(!b||b.getElementsByTagName("parsererror").length)&&n.error("Invalid XML: "+a),b};var ec,fc,gc=/#.*$/,hc=/([?&])_=[^&]*/,ic=/^(.*?):[ \t]*([^\r\n]*)$/gm,jc=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,kc=/^(?:GET|HEAD)$/,lc=/^\/\//,mc=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,nc={},oc={},pc="*/".concat("*");try{fc=location.href}catch(qc){fc=
l.createElement("a"),fc.href="",fc=fc.href}ec=mc.exec(fc.toLowerCase())||[];function rc(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(E)||[];if(n.isFunction(c))while(d=f[e++])"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function sc(a,b,c,d){var e={},f=a===oc;function g(h){var i;return e[h]=!0,n.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),
i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function tc(a,b){var c,d,e=n.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&n.extend(!0,a,d),a}function uc(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}return f?(f!==
i[0]&&i.unshift(f),c[f]):void 0}function vc(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==
!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:fc,type:"GET",isLocal:jc.test(ec[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":pc,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,
json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":n.parseJSON,"text xml":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?tc(tc(a,n.ajaxSettings),b):tc(n.ajaxSettings,a)},ajaxPrefilter:rc(nc),ajaxTransport:rc(oc),ajax:function(a,b){"object"==typeof a&&(b=a,a=void 0),b=b||{};var c,d,e,f,g,h,i,j,k=n.ajaxSetup({},b),l=k.context||k,m=k.context&&(l.nodeType||l.jquery)?n(l):n.event,
o=n.Deferred(),p=n.Callbacks("once memory"),q=k.statusCode||{},r={},s={},t=0,u="canceled",v={readyState:0,getResponseHeader:function(a){var b;if(2===t){if(!f){f={};while(b=ic.exec(e))f[b[1].toLowerCase()]=b[2]}b=f[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===t?e:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return t||(a=s[c]=s[c]||a,r[a]=b),this},overrideMimeType:function(a){return t||(k.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>t)for(b in a)q[b]=
[q[b],a[b]];else v.always(a[v.status]);return this},abort:function(a){var b=a||u;return c&&c.abort(b),x(0,b),this}};if(o.promise(v).complete=p.add,v.success=v.done,v.error=v.fail,k.url=((a||k.url||fc)+"").replace(gc,"").replace(lc,ec[1]+"//"),k.type=b.method||b.type||k.method||k.type,k.dataTypes=n.trim(k.dataType||"*").toLowerCase().match(E)||[""],null==k.crossDomain&&(h=mc.exec(k.url.toLowerCase()),k.crossDomain=!(!h||h[1]===ec[1]&&h[2]===ec[2]&&(h[3]||("http:"===h[1]?"80":"443"))===(ec[3]||("http:"===
ec[1]?"80":"443")))),k.data&&k.processData&&"string"!=typeof k.data&&(k.data=n.param(k.data,k.traditional)),sc(nc,k,b,v),2===t)return v;i=k.global,i&&0===n.active++&&n.event.trigger("ajaxStart"),k.type=k.type.toUpperCase(),k.hasContent=!kc.test(k.type),d=k.url,k.hasContent||(k.data&&(d=k.url+=(dc.test(d)?"&":"?")+k.data,delete k.data),k.cache===!1&&(k.url=hc.test(d)?d.replace(hc,"$1_="+cc++):d+(dc.test(d)?"&":"?")+"_="+cc++)),k.ifModified&&(n.lastModified[d]&&v.setRequestHeader("If-Modified-Since",
n.lastModified[d]),n.etag[d]&&v.setRequestHeader("If-None-Match",n.etag[d])),(k.data&&k.hasContent&&k.contentType!==!1||b.contentType)&&v.setRequestHeader("Content-Type",k.contentType),v.setRequestHeader("Accept",k.dataTypes[0]&&k.accepts[k.dataTypes[0]]?k.accepts[k.dataTypes[0]]+("*"!==k.dataTypes[0]?", "+pc+"; q=0.01":""):k.accepts["*"]);for(j in k.headers)v.setRequestHeader(j,k.headers[j]);if(k.beforeSend&&(k.beforeSend.call(l,v,k)===!1||2===t))return v.abort();u="abort";for(j in{success:1,error:1,
complete:1})v[j](k[j]);if(c=sc(oc,k,b,v)){v.readyState=1,i&&m.trigger("ajaxSend",[v,k]),k.async&&k.timeout>0&&(g=setTimeout(function(){v.abort("timeout")},k.timeout));try{t=1,c.send(r,x)}catch(w){if(!(2>t))throw w;x(-1,w)}}else x(-1,"No Transport");function x(a,b,f,h){var j,r,s,u,w,x=b;2!==t&&(t=2,g&&clearTimeout(g),c=void 0,e=h||"",v.readyState=a>0?4:0,j=a>=200&&300>a||304===a,f&&(u=uc(k,v,f)),u=vc(k,u,v,j),j?(k.ifModified&&(w=v.getResponseHeader("Last-Modified"),w&&(n.lastModified[d]=w),w=v.getResponseHeader("etag"),
w&&(n.etag[d]=w)),204===a||"HEAD"===k.type?x="nocontent":304===a?x="notmodified":(x=u.state,r=u.data,s=u.error,j=!s)):(s=x,(a||!x)&&(x="error",0>a&&(a=0))),v.status=a,v.statusText=(b||x)+"",j?o.resolveWith(l,[r,x,v]):o.rejectWith(l,[v,x,s]),v.statusCode(q),q=void 0,i&&m.trigger(j?"ajaxSuccess":"ajaxError",[v,k,j?r:s]),p.fireWith(l,[v,x]),i&&(m.trigger("ajaxComplete",[v,k]),--n.active||n.event.trigger("ajaxStop")))}return v},getJSON:function(a,b,c){return n.get(a,b,c,"json")},getScript:function(a,
b){return n.get(a,void 0,b,"script")}}),n.each(["get","post"],function(a,b){n[b]=function(a,c,d,e){return n.isFunction(c)&&(e=e||d,d=c,c=void 0),n.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),n.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){n.fn[b]=function(a){return this.on(b,a)}}),n._evalUrl=function(a){return n.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},n.fn.extend({wrapAll:function(a){var b;return n.isFunction(a)?
this.each(function(b){n(this).wrapAll(a.call(this,b))}):(this[0]&&(b=n(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this)},wrapInner:function(a){return this.each(n.isFunction(a)?function(b){n(this).wrapInner(a.call(this,b))}:function(){var b=n(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=n.isFunction(a);return this.each(function(c){n(this).wrapAll(b?
a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){n.nodeName(this,"body")||n(this).replaceWith(this.childNodes)}).end()}}),n.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0},n.expr.filters.visible=function(a){return!n.expr.filters.hidden(a)};var wc=/%20/g,xc=/\[\]$/,yc=/\r?\n/g,zc=/^(?:submit|button|image|reset|file)$/i,Ac=/^(?:input|select|textarea|keygen)/i;function Bc(a,b,c,d){var e;if(n.isArray(b))n.each(b,function(b,e){c||xc.test(a)?d(a,e):
Bc(a+"["+("object"==typeof e?b:"")+"]",e,c,d)});else if(c||"object"!==n.type(b))d(a,b);else for(e in b)Bc(a+"["+e+"]",b[e],c,d)}n.param=function(a,b){var c,d=[],e=function(a,b){b=n.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=n.ajaxSettings&&n.ajaxSettings.traditional),n.isArray(a)||a.jquery&&!n.isPlainObject(a))n.each(a,function(){e(this.name,this.value)});else for(c in a)Bc(c,a[c],b,e);return d.join("&").replace(wc,"+")},n.fn.extend({serialize:function(){return n.param(this.serializeArray())},
serializeArray:function(){return this.map(function(){var a=n.prop(this,"elements");return a?n.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!n(this).is(":disabled")&&Ac.test(this.nodeName)&&!zc.test(a)&&(this.checked||!T.test(a))}).map(function(a,b){var c=n(this).val();return null==c?null:n.isArray(c)?n.map(c,function(a){return{name:b.name,value:a.replace(yc,"\r\n")}}):{name:b.name,value:c.replace(yc,"\r\n")}}).get()}}),n.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(a){}};
var Cc=0,Dc={},Ec={"0":200,1223:204},Fc=n.ajaxSettings.xhr();a.ActiveXObject&&n(a).on("unload",function(){for(var a in Dc)Dc[a]()}),k.cors=!!Fc&&"withCredentials"in Fc,k.ajax=Fc=!!Fc,n.ajaxTransport(function(a){var b;return k.cors||Fc&&!a.crossDomain?{send:function(c,d){var e,f=a.xhr(),g=++Cc;if(f.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)f[e]=a.xhrFields[e];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType),a.crossDomain||c["X-Requested-With"]||
(c["X-Requested-With"]="XMLHttpRequest");for(e in c)f.setRequestHeader(e,c[e]);b=function(a){return function(){b&&(delete Dc[g],b=f.onload=f.onerror=null,"abort"===a?f.abort():"error"===a?d(f.status,f.statusText):d(Ec[f.status]||f.status,f.statusText,"string"==typeof f.responseText?{text:f.responseText}:void 0,f.getAllResponseHeaders()))}},f.onload=b(),f.onerror=b("error"),b=Dc[g]=b("abort");try{f.send(a.hasContent&&a.data||null)}catch(h){if(b)throw h;}},abort:function(){b&&b()}}:void 0}),n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},
contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return n.globalEval(a),a}}}),n.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),n.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(d,e){b=n("<script>").prop({async:!0,charset:a.scriptCharset,src:a.url}).on("load error",c=function(a){b.remove(),c=null,a&&e("error"===a.type?404:200,a.type)}),l.head.appendChild(b[0])},abort:function(){c&&c()}}}});
var Gc=[],Hc=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Gc.pop()||n.expando+"_"+cc++;return this[a]=!0,a}}),n.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(Hc.test(b.url)?"url":"string"==typeof b.data&&!(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&Hc.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=n.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(Hc,"$1"+
e):b.jsonp!==!1&&(b.url+=(dc.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||n.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,Gc.push(e)),g&&n.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),n.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||l;var d=v.exec(a),e=!c&&[];return d?[b.createElement(d[1])]:
(d=n.buildFragment([a],b,e),e&&e.length&&n(e).remove(),n.merge([],d.childNodes))};var Ic=n.fn.load;n.fn.load=function(a,b,c){if("string"!=typeof a&&Ic)return Ic.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>=0&&(d=n.trim(a.slice(h)),a=a.slice(0,h)),n.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&n.ajax({url:a,type:e,dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?n("<div>").append(n.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,
f||[a.responseText,b,a])}),this},n.expr.filters.animated=function(a){return n.grep(n.timers,function(b){return a===b.elem}).length};var Jc=a.document.documentElement;function Kc(a){return n.isWindow(a)?a:9===a.nodeType&&a.defaultView}n.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=n.css(a,"position"),l=n(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=n.css(a,"top"),i=n.css(a,"left"),j=("absolute"===k||"fixed"===k)&&(f+i).indexOf("auto")>-1,j?(d=l.position(),g=d.top,e=d.left):
(g=parseFloat(f)||0,e=parseFloat(i)||0),n.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},n.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){n.offset.setOffset(this,a,b)});var b,c,d=this[0],e={top:0,left:0},f=d&&d.ownerDocument;if(f)return b=f.documentElement,n.contains(b,d)?(typeof d.getBoundingClientRect!==U&&(e=d.getBoundingClientRect()),c=Kc(f),{top:e.top+
c.pageYOffset-b.clientTop,left:e.left+c.pageXOffset-b.clientLeft}):e},position:function(){if(this[0]){var a,b,c=this[0],d={top:0,left:0};return"fixed"===n.css(c,"position")?b=c.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),n.nodeName(a[0],"html")||(d=a.offset()),d.top+=n.css(a[0],"borderTopWidth",!0),d.left+=n.css(a[0],"borderLeftWidth",!0)),{top:b.top-d.top-n.css(c,"marginTop",!0),left:b.left-d.left-n.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=
this.offsetParent||Jc;while(a&&!n.nodeName(a,"html")&&"static"===n.css(a,"position"))a=a.offsetParent;return a||Jc})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(b,c){var d="pageYOffset"===c;n.fn[b]=function(e){return J(this,function(b,e,f){var g=Kc(b);return void 0===f?g?g[c]:b[e]:void(g?g.scrollTo(d?a.pageXOffset:f,d?f:a.pageYOffset):b[e]=f)},b,e,arguments.length,null)}}),n.each(["top","left"],function(a,b){n.cssHooks[b]=yb(k.pixelPosition,function(a,c){return c?(c=xb(a,
b),vb.test(c)?n(a).position()[b]+"px":c):void 0})}),n.each({Height:"height",Width:"width"},function(a,b){n.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){n.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return J(this,function(b,c,d){var e;return n.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):
void 0===d?n.css(b,c,g):n.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),n.fn.size=function(){return this.length},n.fn.andSelf=n.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return n});var Lc=a.jQuery,Mc=a.$;return n.noConflict=function(b){return a.$===n&&(a.$=Mc),b&&a.jQuery===n&&(a.jQuery=Lc),n},typeof b===U&&(a.jQuery=a.$=n),n});window.Modernizr=function(a,b,c){function y(a){i.cssText=a}function z(a,b){return y(l.join(a+";")+(b||""))}function A(a,b){return typeof a===b}function B(a,b){return!!~(""+a).indexOf(b)}function C(a,b){for(var d in a){var e=a[d];if(!B(e,"-")&&i[e]!==c)return b=="pfx"?e:!0}return!1}function D(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:A(f,"function")?f.bind(d||b):f}return!1}function E(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+n.join(d+" ")+d).split(" ");return A(b,
"string")||A(b,"undefined")?C(e,b):(e=(a+" "+o.join(d+" ")+d).split(" "),D(e,b,c))}var d="2.6.1",e={},f=b.documentElement,g="modernizr",h=b.createElement(g),i=h.style,j,k={}.toString,l=" -webkit- -moz- -o- -ms- ".split(" "),m="Webkit Moz O ms",n=m.split(" "),o=m.toLowerCase().split(" "),p={},q={},r={},s=[],t=s.slice,u,v=function(a,c,d,e){var h,i,j,k=b.createElement("div"),l=b.body,m=l?l:b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:g+(d+1),k.appendChild(j);
return h=["­",'<style id="s',g,'">',a,"</style>"].join(""),k.id=g,(l?k:m).innerHTML+=h,m.appendChild(k),l||(m.style.background="",f.appendChild(m)),i=c(k,a),l?k.parentNode.removeChild(k):m.parentNode.removeChild(m),!!i},w={}.hasOwnProperty,x;!A(w,"undefined")&&!A(w.call,"undefined")?x=function(a,b){return w.call(a,b)}:x=function(a,b){return b in a&&A(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;
var d=t.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(t.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(t.call(arguments)))};return e}),p.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},p.webgl=function(){return!!a.WebGLRenderingContext},p.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof window.DocumentTouch?c=!0:v(["@media (",
l.join("touch-enabled),("),g,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=a.offsetTop===9}),c},p.csstransforms3d=function(){var a=!!E("perspective");return a&&"webkitPerspective"in f.style&&v("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},p.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,
""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(d){}return c},p.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,
"")}catch(d){}return c};for(var F in p)x(p,F)&&(u=F.toLowerCase(),e[u]=p[F](),s.push((e[u]?"":"no-")+u));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)x(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,e[a]=b}return e},y(""),h=j=null,e._version=d,e._prefixes=l,e._domPrefixes=o,e._cssomPrefixes=n,e.testProp=function(a){return C([a])},e.testAllProps=E,e.testStyles=v,e}(this,this.document);(function(){var TDV=window["TDV"]||(window["TDV"]={});(function(){(function(){function n(n){function t(t,r,e,u,i,o){for(;i>=0&&o>i;i+=n){var a=u?u[i]:i;e=r(e,t[a],a,t)}return e}return function(r,e,u,i){e=b(e,i,4);var o=!k(r)&&m.keys(r),a=(o||r).length,c=n>0?0:a-1;return arguments.length<3&&(u=r[o?o[c]:c],c+=n),t(r,e,u,o,c,a)}}function t(n){return function(t,r,e){r=x(r,e);for(var u=O(t),i=n>0?0:u-1;i>=0&&u>i;i+=n)if(r(t[i],i,t))return i;return-1}}function r(n,t,r){return function(e,u,i){var o=0,a=
O(e);if("number"==typeof i)n>0?o=i>=0?i:Math.max(i+a,o):a=i>=0?Math.min(i+1,a):i+a+1;else if(r&&i&&a)return i=r(e,u),e[i]===u?i:-1;if(u!==u)return i=t(l.call(e,o,a),m.isNaN),i>=0?i+o:-1;for(i=n>0?o:a-1;i>=0&&a>i;i+=n)if(e[i]===u)return i;return-1}}function e(n,t){var r=I.length,e=n.constructor,u=m.isFunction(e)&&e.prototype||a,i="constructor";for(m.has(n,i)&&!m.contains(t,i)&&t.push(i);r--;)i=I[r],i in n&&n[i]!==u[i]&&!m.contains(t,i)&&t.push(i)}var u=this,i=u._,o=Array.prototype,a=Object.prototype,
c=Function.prototype,f=o.push,l=o.slice,s=a.toString,p=a.hasOwnProperty,h=Array.isArray,v=Object.keys,g=c.bind,y=Object.create,d=function(){},m=function(n){return n instanceof m?n:this instanceof m?void(this._wrapped=n):new m(n)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=m),exports._=m):u._=m,m.VERSION="1.8.3";var b=function(n,t,r){if(t===void 0)return n;switch(null==r?3:r){case 1:return function(r){return n.call(t,r)};case 2:return function(r,
e){return n.call(t,r,e)};case 3:return function(r,e,u){return n.call(t,r,e,u)};case 4:return function(r,e,u,i){return n.call(t,r,e,u,i)}}return function(){return n.apply(t,arguments)}},x=function(n,t,r){return null==n?m.identity:m.isFunction(n)?b(n,t,r):m.isObject(n)?m.matcher(n):m.property(n)};m.iteratee=function(n,t){return x(n,t,1/0)};var _=function(n,t){return function(r){var e=arguments.length;if(2>e||null==r)return r;for(var u=1;e>u;u++)for(var i=arguments[u],o=n(i),a=o.length,c=0;a>c;c++){var f=
o[c];t&&r[f]!==void 0||(r[f]=i[f])}return r}},j=function(n){if(!m.isObject(n))return{};if(y)return y(n);d.prototype=n;var t=new d;return d.prototype=null,t},w=function(n){return function(t){return null==t?void 0:t[n]}},A=Math.pow(2,53)-1,O=w("length"),k=function(n){var t=O(n);return"number"==typeof t&&t>=0&&A>=t};m.each=m.forEach=function(n,t,r){t=b(t,r);var e,u;if(k(n))for(e=0,u=n.length;u>e;e++)t(n[e],e,n);else{var i=m.keys(n);for(e=0,u=i.length;u>e;e++)t(n[i[e]],i[e],n)}return n},m.map=m.collect=
function(n,t,r){t=x(t,r);for(var e=!k(n)&&m.keys(n),u=(e||n).length,i=Array(u),o=0;u>o;o++){var a=e?e[o]:o;i[o]=t(n[a],a,n)}return i},m.reduce=m.foldl=m.inject=n(1),m.reduceRight=m.foldr=n(-1),m.find=m.detect=function(n,t,r){var e;return e=k(n)?m.findIndex(n,t,r):m.findKey(n,t,r),e!==void 0&&e!==-1?n[e]:void 0},m.filter=m.select=function(n,t,r){var e=[];return t=x(t,r),m.each(n,function(n,r,u){t(n,r,u)&&e.push(n)}),e},m.reject=function(n,t,r){return m.filter(n,m.negate(x(t)),r)},m.every=m.all=function(n,
t,r){t=x(t,r);for(var e=!k(n)&&m.keys(n),u=(e||n).length,i=0;u>i;i++){var o=e?e[i]:i;if(!t(n[o],o,n))return!1}return!0},m.some=m.any=function(n,t,r){t=x(t,r);for(var e=!k(n)&&m.keys(n),u=(e||n).length,i=0;u>i;i++){var o=e?e[i]:i;if(t(n[o],o,n))return!0}return!1},m.contains=m.includes=m.include=function(n,t,r,e){return k(n)||(n=m.values(n)),("number"!=typeof r||e)&&(r=0),m.indexOf(n,t,r)>=0},m.invoke=function(n,t){var r=l.call(arguments,2),e=m.isFunction(t);return m.map(n,function(n){var u=e?t:n[t];
return null==u?u:u.apply(n,r)})},m.pluck=function(n,t){return m.map(n,m.property(t))},m.where=function(n,t){return m.filter(n,m.matcher(t))},m.findWhere=function(n,t){return m.find(n,m.matcher(t))},m.max=function(n,t,r){var e,u,i=-1/0,o=-1/0;if(null==t&&null!=n){n=k(n)?n:m.values(n);for(var a=0,c=n.length;c>a;a++)e=n[a],e>i&&(i=e)}else t=x(t,r),m.each(n,function(n,r,e){u=t(n,r,e),(u>o||u===-1/0&&i===-1/0)&&(i=n,o=u)});return i},m.min=function(n,t,r){var e,u,i=1/0,o=1/0;if(null==t&&null!=n){n=k(n)?
n:m.values(n);for(var a=0,c=n.length;c>a;a++)e=n[a],i>e&&(i=e)}else t=x(t,r),m.each(n,function(n,r,e){u=t(n,r,e),(o>u||1/0===u&&1/0===i)&&(i=n,o=u)});return i},m.shuffle=function(n){for(var t,r=k(n)?n:m.values(n),e=r.length,u=Array(e),i=0;e>i;i++)t=m.random(0,i),t!==i&&(u[i]=u[t]),u[t]=r[i];return u},m.sample=function(n,t,r){return null==t||r?(k(n)||(n=m.values(n)),n[m.random(n.length-1)]):m.shuffle(n).slice(0,Math.max(0,t))},m.sortBy=function(n,t,r){return t=x(t,r),m.pluck(m.map(n,function(n,r,e){return{value:n,
index:r,criteria:t(n,r,e)}}).sort(function(n,t){var r=n.criteria,e=t.criteria;if(r!==e){if(r>e||r===void 0)return 1;if(e>r||e===void 0)return-1}return n.index-t.index}),"value")};var F=function(n){return function(t,r,e){var u={};return r=x(r,e),m.each(t,function(e,i){var o=r(e,i,t);n(u,e,o)}),u}};m.groupBy=F(function(n,t,r){m.has(n,r)?n[r].push(t):n[r]=[t]}),m.indexBy=F(function(n,t,r){n[r]=t}),m.countBy=F(function(n,t,r){m.has(n,r)?n[r]++:n[r]=1}),m.toArray=function(n){return n?m.isArray(n)?l.call(n):
k(n)?m.map(n,m.identity):m.values(n):[]},m.size=function(n){return null==n?0:k(n)?n.length:m.keys(n).length},m.partition=function(n,t,r){t=x(t,r);var e=[],u=[];return m.each(n,function(n,r,i){(t(n,r,i)?e:u).push(n)}),[e,u]},m.first=m.head=m.take=function(n,t,r){return null==n?void 0:null==t||r?n[0]:m.initial(n,n.length-t)},m.initial=function(n,t,r){return l.call(n,0,Math.max(0,n.length-(null==t||r?1:t)))},m.last=function(n,t,r){return null==n?void 0:null==t||r?n[n.length-1]:m.rest(n,Math.max(0,n.length-
t))},m.rest=m.tail=m.drop=function(n,t,r){return l.call(n,null==t||r?1:t)},m.compact=function(n){return m.filter(n,m.identity)};var S=function(n,t,r,e){for(var u=[],i=0,o=e||0,a=O(n);a>o;o++){var c=n[o];if(k(c)&&(m.isArray(c)||m.isArguments(c))){t||(c=S(c,t,r));var f=0,l=c.length;for(u.length+=l;l>f;)u[i++]=c[f++]}else r||(u[i++]=c)}return u};m.flatten=function(n,t){return S(n,t,!1)},m.without=function(n){return m.difference(n,l.call(arguments,1))},m.uniq=m.unique=function(n,t,r,e){m.isBoolean(t)||
(e=r,r=t,t=!1),null!=r&&(r=x(r,e));for(var u=[],i=[],o=0,a=O(n);a>o;o++){var c=n[o],f=r?r(c,o,n):c;t?(o&&i===f||u.push(c),i=f):r?m.contains(i,f)||(i.push(f),u.push(c)):m.contains(u,c)||u.push(c)}return u},m.union=function(){return m.uniq(S(arguments,!0,!0))},m.intersection=function(n){for(var t=[],r=arguments.length,e=0,u=O(n);u>e;e++){var i=n[e];if(!m.contains(t,i)){for(var o=1;r>o&&m.contains(arguments[o],i);o++);o===r&&t.push(i)}}return t},m.difference=function(n){var t=S(arguments,!0,!0,1);return m.filter(n,
function(n){return!m.contains(t,n)})},m.zip=function(){return m.unzip(arguments)},m.unzip=function(n){for(var t=n&&m.max(n,O).length||0,r=Array(t),e=0;t>e;e++)r[e]=m.pluck(n,e);return r},m.object=function(n,t){for(var r={},e=0,u=O(n);u>e;e++)t?r[n[e]]=t[e]:r[n[e][0]]=n[e][1];return r},m.findIndex=t(1),m.findLastIndex=t(-1),m.sortedIndex=function(n,t,r,e){r=x(r,e,1);for(var u=r(t),i=0,o=O(n);o>i;){var a=Math.floor((i+o)/2);r(n[a])<u?i=a+1:o=a}return i},m.indexOf=r(1,m.findIndex,m.sortedIndex),m.lastIndexOf=
r(-1,m.findLastIndex),m.range=function(n,t,r){null==t&&(t=n||0,n=0),r=r||1;for(var e=Math.max(Math.ceil((t-n)/r),0),u=Array(e),i=0;e>i;i++,n+=r)u[i]=n;return u};var E=function(n,t,r,e,u){if(!(e instanceof t))return n.apply(r,u);var i=j(n.prototype),o=n.apply(i,u);return m.isObject(o)?o:i};m.bind=function(n,t){if(g&&n.bind===g)return g.apply(n,l.call(arguments,1));if(!m.isFunction(n))throw new TypeError("Bind must be called on a function");var r=l.call(arguments,2),e=function(){return E(n,e,t,this,
r.concat(l.call(arguments)))};return e},m.partial=function(n){var t=l.call(arguments,1),r=function(){for(var e=0,u=t.length,i=Array(u),o=0;u>o;o++)i[o]=t[o]===m?arguments[e++]:t[o];for(;e<arguments.length;)i.push(arguments[e++]);return E(n,r,this,this,i)};return r},m.bindAll=function(n){var t,r,e=arguments.length;if(1>=e)throw new Error("bindAll must be passed function names");for(t=1;e>t;t++)r=arguments[t],n[r]=m.bind(n[r],n);return n},m.memoize=function(n,t){var r=function(e){var u=r.cache,i=""+
(t?t.apply(this,arguments):e);return m.has(u,i)||(u[i]=n.apply(this,arguments)),u[i]};return r.cache={},r},m.delay=function(n,t){var r=l.call(arguments,2);return setTimeout(function(){return n.apply(null,r)},t)},m.defer=m.partial(m.delay,m,1),m.throttle=function(n,t,r){var e,u,i,o=null,a=0;r||(r={});var c=function(){a=r.leading===!1?0:m.now(),o=null,i=n.apply(e,u),o||(e=u=null)};return function(){var f=m.now();a||r.leading!==!1||(a=f);var l=t-(f-a);return e=this,u=arguments,0>=l||l>t?(o&&(clearTimeout(o),
o=null),a=f,i=n.apply(e,u),o||(e=u=null)):o||r.trailing===!1||(o=setTimeout(c,l)),i}},m.debounce=function(n,t,r){var e,u,i,o,a,c=function(){var f=m.now()-o;t>f&&f>=0?e=setTimeout(c,t-f):(e=null,r||(a=n.apply(i,u),e||(i=u=null)))};return function(){i=this,u=arguments,o=m.now();var f=r&&!e;return e||(e=setTimeout(c,t)),f&&(a=n.apply(i,u),i=u=null),a}},m.wrap=function(n,t){return m.partial(t,n)},m.negate=function(n){return function(){return!n.apply(this,arguments)}},m.compose=function(){var n=arguments,
t=n.length-1;return function(){for(var r=t,e=n[t].apply(this,arguments);r--;)e=n[r].call(this,e);return e}},m.after=function(n,t){return function(){return--n<1?t.apply(this,arguments):void 0}},m.before=function(n,t){var r;return function(){return--n>0&&(r=t.apply(this,arguments)),1>=n&&(t=null),r}},m.once=m.partial(m.before,2);var M=!{toString:null}.propertyIsEnumerable("toString"),I=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];m.keys=function(n){if(!m.isObject(n))return[];
if(v)return v(n);var t=[];for(var r in n)m.has(n,r)&&t.push(r);return M&&e(n,t),t},m.allKeys=function(n){if(!m.isObject(n))return[];var t=[];for(var r in n)t.push(r);return M&&e(n,t),t},m.values=function(n){for(var t=m.keys(n),r=t.length,e=Array(r),u=0;r>u;u++)e[u]=n[t[u]];return e},m.mapObject=function(n,t,r){t=x(t,r);for(var e,u=m.keys(n),i=u.length,o={},a=0;i>a;a++)e=u[a],o[e]=t(n[e],e,n);return o},m.pairs=function(n){for(var t=m.keys(n),r=t.length,e=Array(r),u=0;r>u;u++)e[u]=[t[u],n[t[u]]];return e},
m.invert=function(n){for(var t={},r=m.keys(n),e=0,u=r.length;u>e;e++)t[n[r[e]]]=r[e];return t},m.functions=m.methods=function(n){var t=[];for(var r in n)m.isFunction(n[r])&&t.push(r);return t.sort()},m.extend=_(m.allKeys),m.extendOwn=m.assign=_(m.keys),m.findKey=function(n,t,r){t=x(t,r);for(var e,u=m.keys(n),i=0,o=u.length;o>i;i++)if(e=u[i],t(n[e],e,n))return e},m.pick=function(n,t,r){var e,u,i={},o=n;if(null==o)return i;m.isFunction(t)?(u=m.allKeys(o),e=b(t,r)):(u=S(arguments,!1,!1,1),e=function(n,
t,r){return t in r},o=Object(o));for(var a=0,c=u.length;c>a;a++){var f=u[a],l=o[f];e(l,f,o)&&(i[f]=l)}return i},m.omit=function(n,t,r){if(m.isFunction(t))t=m.negate(t);else{var e=m.map(S(arguments,!1,!1,1),String);t=function(n,t){return!m.contains(e,t)}}return m.pick(n,t,r)},m.defaults=_(m.allKeys,!0),m.create=function(n,t){var r=j(n);return t&&m.extendOwn(r,t),r},m.clone=function(n){return m.isObject(n)?m.isArray(n)?n.slice():m.extend({},n):n},m.tap=function(n,t){return t(n),n},m.isMatch=function(n,
t){var r=m.keys(t),e=r.length;if(null==n)return!e;for(var u=Object(n),i=0;e>i;i++){var o=r[i];if(t[o]!==u[o]||!(o in u))return!1}return!0};var N=function(n,t,r,e){if(n===t)return 0!==n||1/n===1/t;if(null==n||null==t)return n===t;n instanceof m&&(n=n._wrapped),t instanceof m&&(t=t._wrapped);var u=s.call(n);if(u!==s.call(t))return!1;switch(u){case "[object RegExp]":case "[object String]":return""+n==""+t;case "[object Number]":return+n!==+n?+t!==+t:0===+n?1/+n===1/t:+n===+t;case "[object Date]":case "[object Boolean]":return+n===
+t}var i="[object Array]"===u;if(!i){if("object"!=typeof n||"object"!=typeof t)return!1;var o=n.constructor,a=t.constructor;if(o!==a&&!(m.isFunction(o)&&o instanceof o&&m.isFunction(a)&&a instanceof a)&&"constructor"in n&&"constructor"in t)return!1}r=r||[],e=e||[];for(var c=r.length;c--;)if(r[c]===n)return e[c]===t;if(r.push(n),e.push(t),i){if(c=n.length,c!==t.length)return!1;for(;c--;)if(!N(n[c],t[c],r,e))return!1}else{var f,l=m.keys(n);if(c=l.length,m.keys(t).length!==c)return!1;for(;c--;)if(f=
l[c],!m.has(t,f)||!N(n[f],t[f],r,e))return!1}return r.pop(),e.pop(),!0};m.isEqual=function(n,t){return N(n,t)},m.isEmpty=function(n){return null==n?!0:k(n)&&(m.isArray(n)||m.isString(n)||m.isArguments(n))?0===n.length:0===m.keys(n).length},m.isElement=function(n){return!(!n||1!==n.nodeType)},m.isArray=h||function(n){return"[object Array]"===s.call(n)},m.isObject=function(n){var t=typeof n;return"function"===t||"object"===t&&!!n},m.each(["Arguments","Function","String","Number","Date","RegExp","Error"],
function(n){m["is"+n]=function(t){return s.call(t)==="[object "+n+"]"}}),m.isArguments(arguments)||(m.isArguments=function(n){return m.has(n,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(m.isFunction=function(n){return"function"==typeof n||!1}),m.isFinite=function(n){return isFinite(n)&&!isNaN(parseFloat(n))},m.isNaN=function(n){return m.isNumber(n)&&n!==+n},m.isBoolean=function(n){return n===!0||n===!1||"[object Boolean]"===s.call(n)},m.isNull=function(n){return null===n},m.isUndefined=
function(n){return n===void 0},m.has=function(n,t){return null!=n&&p.call(n,t)},m.noConflict=function(){return u._=i,this},m.identity=function(n){return n},m.constant=function(n){return function(){return n}},m.noop=function(){},m.property=w,m.propertyOf=function(n){return null==n?function(){}:function(t){return n[t]}},m.matcher=m.matches=function(n){return n=m.extendOwn({},n),function(t){return m.isMatch(t,n)}},m.times=function(n,t,r){var e=Array(Math.max(0,n));t=b(t,r,1);for(var u=0;n>u;u++)e[u]=
t(u);return e},m.random=function(n,t){return null==t&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))},m.now=Date.now||function(){return(new Date).getTime()};var B={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},T=m.invert(B),R=function(n){var t=function(t){return n[t]},r="(?:"+m.keys(n).join("|")+")",e=RegExp(r),u=RegExp(r,"g");return function(n){return n=null==n?"":""+n,e.test(n)?n.replace(u,t):n}};m.escape=R(B),m.unescape=R(T),m.result=function(n,t,r){var e=null==n?void 0:
n[t];return e===void 0&&(e=r),m.isFunction(e)?e.call(n):e};var q=0;m.uniqueId=function(n){var t=++q+"";return n?n+t:t},m.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var K=/(.)^/,z={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},D=/\\|'|\r|\n|\u2028|\u2029/g,L=function(n){return"\\"+z[n]};m.template=function(n,t,r){!t&&r&&(t=r),t=m.defaults({},t,m.templateSettings);var e=RegExp([(t.escape||K).source,(t.interpolate||
K).source,(t.evaluate||K).source].join("|")+"|$","g"),u=0,i="__p+='";n.replace(e,function(t,r,e,o,a){return i+=n.slice(u,a).replace(D,L),u=a+t.length,r?i+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":e?i+="'+\n((__t=("+e+"))==null?'':__t)+\n'":o&&(i+="';\n"+o+"\n__p+='"),t}),i+="';\n",t.variable||(i="with(obj||{}){\n"+i+"}\n"),i="var __t,__p='',__j=Array.prototype.join,"+"print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{var o=new Function(t.variable||"obj","_",i)}catch(a){throw a.source=
i,a;}var c=function(n){return o.call(this,n,m)},f=t.variable||"obj";return c.source="function("+f+"){\n"+i+"}",c},m.chain=function(n){var t=m(n);return t._chain=!0,t};var P=function(n,t){return n._chain?m(t).chain():t};m.mixin=function(n){m.each(m.functions(n),function(t){var r=m[t]=n[t];m.prototype[t]=function(){var n=[this._wrapped];return f.apply(n,arguments),P(this,r.apply(m,n))}})},m.mixin(m),m.each(["pop","push","reverse","shift","sort","splice","unshift"],function(n){var t=o[n];m.prototype[n]=
function(){var r=this._wrapped;return t.apply(r,arguments),"shift"!==n&&"splice"!==n||0!==r.length||delete r[0],P(this,r)}}),m.each(["concat","join","slice"],function(n){var t=o[n];m.prototype[n]=function(){return P(this,t.apply(this._wrapped,arguments))}}),m.prototype.value=function(){return this._wrapped},m.prototype.valueOf=m.prototype.toJSON=m.prototype.value,m.prototype.toString=function(){return""+this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return m})}).call(this)}).call(TDV)})();function i(a){throw a;}var m=void 0,p=!0,q=null,y=!1;function D(){return function(){}}function N(a){return function(b){this[a]=b}}function P(a){return function(){return this[a]}}function R(a){return function(){return a}}
(function(){function a(a){this.Cj=a;this.yn=q;this.Mc={}}function b(){this.Qi={};this.Qi[b.SCRIPT_URL]=[];this.Qi[b.THREE_JS_WEBGL_URL]="lib/ThreeWebGL.js";this.Qi[b.WEBVR_POLYFILL_URL]="lib/WebVRPolyfill.js";this.Qi[b.HLS_URL]="lib/Hls.js";this.Qi[b.CURSORS_DIR_URL]="lib/cursors";this.Qi[b.SERVICE_WORKER_URL]="tdvplayersw.js";this.Qi[b.BACKGROUND_PRELOAD_ENABLED]=m}function c(){this.yz=[];this.LG=[];this.Kha=[];this.fD=q}function d(a){return"[object Array]"==Object.prototype.toString.call(a)}function f(a){return 0<=
k.search(a.toLowerCase())}var g=window.TDV=window.TDV||{},k=navigator.userAgent.toLowerCase();c.prototype.getVersion=c.prototype.U6=function(){return{MAJOR:"0",MINOR:"1262"}};c.prototype.M2=function(){if(this.fD)for(;0<this.yz.length;){var a=this.yz[0];this.yz=this.yz.slice(1);this.LG.push(a);this.Hca(a)}};c.prototype.I0=function(a){var b=document.createElement("a");b.href=a;return b.href};c.prototype.sea=function(){var a=document.currentScript;a||(a=document.getElementsByTagName("head")[0].getElementsByTagName("script"),
a=a[a.length-1]);return this.I0(a.src)};c.prototype.Hca=function(a){var g=this,e=a.Cj.get(b.SELECTED_SCRIPT_URL);setTimeout(function(){var b=document.createElement("script");b.type="text/javascript";b.src=e;document.getElementsByTagName("head")[0].appendChild(b);g.fD.nra(a)},1)};c.prototype.defineScript=c.prototype.Tsa=function(a){for(var g=[],e=this.sea(),c=0;c<this.LG.length;c++){var f=this.LG[c],o=this.I0(f.Cj.get(b.SELECTED_SCRIPT_URL));o==e?(f.Cj.set(b.SCRIPT_DATA,a),f.Lqa(new this.fD(f,f.Cj)),
this.Kha.push(f)):g.push(o)}this.LG=g};c.prototype.create=c.prototype.create=function(a){var c=a.get(b.SCRIPT_URL),c=d(c)?this.xia(c):"string"===typeof c?c:"script.js";a.set(b.SELECTED_SCRIPT_URL,c);a=new g.tW(a);this.yz.push(a);this.M2();return a};c.prototype.setPlayerClass=c.prototype.Kqa=function(a){this.fD=a;this.M2()};c.prototype.getOrientation=c.prototype.em=function(){var a=screen.orientation&&screen.orientation.type||window.orientation;return"portrait-primary"==a||"portrait-secondary"==a||
0===a||180==a?g.va.oK:"landscape-primary"==a||"landscape-secondary"==a||90==a||-90==a?g.va.nK:window.innerWidth<window.innerHeight?g.va.oK:g.va.nK};c.prototype.xia=function(a){if(0<a.length){for(var b=0;b<a.length;b++){var e=a[b];if(d(e)){if(this.B4(e[0]))return e[1]}else if("string"===typeof e)return e}return a[0][1]}return"script.js"};c.prototype.B4=function(a){if("string"===typeof a){var b=a.match(/^\s*default\s*$/);if(b)return p;if(b=a.match(/^\s*os\s*=\s*(\w+)\s*$/))return this.ud==b[1].toLowerCase();
if(b=a.match(/^\s*browser\s*=\s*(\w+)\s*$/))return this.browser==b[1].toLowerCase();if(b=a.match(/^\s*device\s*=\s*(\w+)\s*$/))return this.dt==b[1].toLowerCase();if(b=a.match(/^\s*screen_size\s*(<|>|=|<=|>=)\s*(\d+)\s*x\s*(\d+)\s*$/)){var a=parseInt(b[2]),e=parseInt(b[3]),g;switch(b[1]){case "<":g=function(a,b){return a<b};break;case ">":g=function(a,b){return a>b};break;case "=":g=function(a,b){return a==b};break;case "<=":g=function(a,b){return a<=b};break;case ">=":g=function(a,b){return a>=b}}return g(screen.width,
a)&&g(screen.height,e)||this.XT&&g(screen.width,e)&&g(screen.height,a)}return y}if(d(a)){for(b=0;b<a.length;b++)if(!this.B4(a[b]))return y;return p}return y};c.prototype.ORIENTATION_LANDSCAPE=c.prototype.nK="landscape";c.prototype.ORIENTATION_PORTRAIT=c.prototype.oK="portrait";c.prototype.OS_IOS=c.prototype.XC="ios";c.prototype.OS_ANDROID=c.prototype.pK="android";c.prototype.OS_WINDOWS=c.prototype.hW="windows";c.prototype.OS_WINDOWS_PHONE=c.prototype.tK="windows_phone";c.prototype.OS_MACOSX=c.prototype.qK=
"osx";c.prototype.OS_LINUX=c.prototype.gW="linux";c.prototype.OS_QNX=c.prototype.sK="qnx";c.prototype.OS_OTHER=c.prototype.rK="other";c.prototype.BROWSER_TYPE_WEBKIT=c.prototype.Nw="webkit";c.prototype.BROWSER_TYPE_OPERA=c.prototype.sJ="opera";c.prototype.BROWSER_TYPE_MSIE=c.prototype.rJ="msie";c.prototype.BROWSER_TYPE_MOZILLA=c.prototype.qJ="mozilla";c.prototype.BROWSER_TYPE_OTHER=c.prototype.tJ="other";c.prototype.BROWSER_SAFARI_IOS=c.prototype.xh="safari_ios";c.prototype.BROWSER_OPERA=c.prototype.zC=
"opera";c.prototype.BROWSER_SAFARI=c.prototype.$k="safari";c.prototype.BROWSER_CHROME=c.prototype.Ei="chrome";c.prototype.BROWSER_EDGE=c.prototype.Hq="edge";c.prototype.BROWSER_MSIE=c.prototype.Iq="msie";c.prototype.BROWSER_ANDROID=c.prototype.Jw="android";c.prototype.BROWSER_MOZILLA=c.prototype.yC="mozilla";c.prototype.BROWSER_OTHER=c.prototype.pJ="other";c.prototype.BROWSER_SUBTYPE_SAMSUNG_INTERNET=c.prototype.EC="samsunginternet";c.prototype.BROWSER_SUBTYPE_OCULUS_BROWSER=c.prototype.Jq="oculusbrowser";
c.prototype.BROWSER_SUBTYPE_SAMSUNG_INTERNET_FOR_GEAR_VR=c.prototype.Mw="samsunginternetgearvr";c.prototype.BROWSER_SUBTYPE_CHROME_IOS=c.prototype.AC="chromeios";c.prototype.BROWSER_SUBTYPE_SAFARI_IOS=c.prototype.Kw="safari_ios";c.prototype.BROWSER_SUBTYPE_CHROME_WEBVIEW=c.prototype.Gt="chrome_webview";c.prototype.BROWSER_SUBTYPE_SAFARI_WEBVIEW=c.prototype.Lw="safari_webview";c.prototype.BROWSER_SUBTYPE_TOUR_LAUNCHER=c.prototype.Kq="tour_launcher";c.prototype.BROWSER_SUBTYPE_CHROMIUM_EDGE=c.prototype.Gt=
"chromium_edge";c.prototype.BROWSER_SUBTYPE_FIREFOX_REALITY=c.prototype.CC="firefox_reality";c.prototype.BROWSER_SUBTYPE_FACEBOOK_IOS_WEBVIEW=c.prototype.BC="facebook_ios_webview";c.prototype.BROWSER_SUBTYPE_OTHER=c.prototype.DC="other";c.prototype.BROWSER_VERSION_UNKNOWN=c.prototype.uJ=-1;c.prototype.DEVICE_IPHONE=c.prototype.yJ="iphone";c.prototype.DEVICE_IPAD=c.prototype.Pw="ipad";c.prototype.DEVICE_IPOD=c.prototype.zJ="ipod";c.prototype.DEVICE_OTHER=c.prototype.AJ="other";c.prototype.os=c.prototype.ud=
f("iphone")||f("ipad")||f("ipod")?c.prototype.XC:f("qnx")?c.prototype.sK:f("android")||f("oculusbrowser")&&f("linux")?c.prototype.pK:f("windows phone")?c.prototype.tK:f("windows")?c.prototype.hW:f("mac_powerpc")?c.prototype.qK:f("macintosh")?1<navigator.maxTouchPoints?c.prototype.XC:c.prototype.qK:f("linux")||f("x11")?c.prototype.gW:c.prototype.rK;c.prototype.browser=c.prototype.browser=f("ipad")||f("iphone")||f("ipod")||f("macintosh")&&1<navigator.maxTouchPoints?c.prototype.xh:f("opera")?c.prototype.zC:
f("edge")?c.prototype.Hq:f("chrome")||f("crmo")?c.prototype.Ei:f("android")?c.prototype.Jw:f("safari")?c.prototype.$k:f("trident")||f("msie")?c.prototype.Iq:!f("compatible")&&f("mozilla")?c.prototype.yC:c.prototype.pJ;c.prototype.browserType=c.prototype.Qv=c.prototype.browser==c.prototype.xh||c.prototype.browser==c.prototype.Ei||c.prototype.browser==c.prototype.Jw||c.prototype.browser==c.prototype.$k||f("webkit")?c.prototype.Nw:c.prototype.browser==c.prototype.zC||f("opera")?c.prototype.sJ:f("trident")||
f("msie")?c.prototype.rJ:!f("compatible")&&f("mozilla")?c.prototype.qJ:c.prototype.tJ;c.prototype.browserSubtype=c.prototype.jd=f("oculusbrowser")?c.prototype.Jq:f("samsungbrowser")&&f("android")?f("mobile vr")?c.prototype.Mw:c.prototype.EC:f("ipad")||f("iphone")||f("ipod")?f("crios")?c.prototype.AC:f("fban")||f("fbav")?c.prototype.BC:f("safari")&&f("version")&&!navigator.Cta?c.prototype.Kw:c.prototype.Lw:f("electron")?c.prototype.Kq:f("chrome")&&f("wv")?c.prototype.Gt:f("edg/")?c.prototype.iV:!f("compatible")&&
f("mozilla")&&f("mobile vr")?c.prototype.CC:c.prototype.DC;c.prototype.browserVersion=c.prototype.Z5=function(){if(c.prototype.browser==c.prototype.Iq){var a=k.match(/MSIE ([0-9]{1,}[.0-9]{0,})/);if(a!=q)return parseFloat(a[1]);a=k.match(/Trident\/.*rv:([0-9]{1,}[.0-9]{0,})/);if(a!=q)return parseFloat(a[1])}return c.prototype.uJ}();c.prototype.device=c.prototype.dt=f("ipad")||f("macintosh")&&1<navigator.maxTouchPoints?c.prototype.Pw:f("iphone")?c.prototype.yJ:f("ipod")?c.prototype.zJ:c.prototype.AJ;
var j;a:{switch(c.prototype.ud){case c.prototype.pK:case c.prototype.XC:case c.prototype.tK:case c.prototype.sK:j=p;break a}j=y}c.prototype.mobile=c.prototype.XT=j;g.PlayerAPI=g.va=new c;b.prototype.append=b.prototype.append=function(a,g,e){a==b.SCRIPT_URL&&("undefined"==typeof e&&(e=g,g="default"),g=[g,e]);d(this.Qi[a])||(this.Qi[a]=[]);this.Qi[a].push(g)};b.prototype.set=b.prototype.set=function(a,b){this.Qi[a]=b};b.prototype.get=b.prototype.get=function(a){return this.Qi[a]};b.SCRIPT_URL=b.SCRIPT_URL=
"ScriptURL";b.SCRIPT_DATA=b.SCRIPT_DATA="ScriptData";b.FLASH_EXPRESS_INSTALLER_URL=b.FLASH_EXPRESS_INSTALLER_URL="FlashExpressInstallerURL";b.FLASH_AUDIO_PLAYER_URL=b.FLASH_AUDIO_PLAYER_URL="FlashAudioPlayerURL";b.FLASH_VIDEO_PLAYER_URL=b.FLASH_VIDEO_PLAYER_URL="FlashVideoPlayerURL";b.FLASH_PANORAMA_PLAYER_URL=b.FLASH_PANORAMA_PLAYER_URL="FlashPanoramaPlayerURL";b.THREE_JS_WEBGL_URL=b.THREE_JS_WEBGL_URL="ThreeJSWebGLURL";b.WEBVR_POLYFILL_URL=b.WEBVR_POLYFILL_URL="WebVRPolyfillURL";b.CAPTURA_VIEWER_URL=
b.CAPTURA_VIEWER_URL="CapturaViewerURL";b.DASH_URL=b.DASH_URL="DashURL";b.HLS_URL=b.HLS_URL="HlsURL";b.CONTAINER=b.CONTAINER="Container";b.SELECTED_SCRIPT_URL=b.SELECTED_SCRIPT_URL="SelectedScriptURL";b.BASE_DIR_URL=b.BASE_DIR_URL="BaseDirURL";b.QUERY_STRING_PARAMETERS=b.QUERY_STRING_PARAMETERS="QueryStringParameters";b.CURSORS_DIR_URL=b.CURSORS_DIR_URL="CursorsDirURL";b.BACKGROUND_PRELOAD_ENABLED=b.BACKGROUND_PRELOAD_ENABLED="BackgroundPreloadEnabled";b.ACTIVE_VIDEO_ELEMENT=b.ACTIVE_VIDEO_ELEMENT=
"ActiveVideoElement";b.SERVICE_WORKER_URL=b.SERVICE_WORKER_URL="ServiceWorkerURL";b.PINCH_TO_ZOOM_ENABLED=b.e$="PinchToZoomEnabled";g.PlayerSettings=g.PlayerSettings=b;g.PlayerEvent=g.vK=function(a,b,e,g){this.name=a;this.data=this.originalEvent=b;this.sourceClassName=e[e.length-1];this.sourceClassPath=e;this.sourceId=g};a.prototype.Lqa=N("yn");a.prototype["delete"]=function(){this.yn&&(this.yn.clear(),this.yn=q)};a.prototype.getById=a.prototype.Zsa=function(a){return this.yn?this.yn.Qna(a):q};a.prototype.getByClassName=
a.prototype.Zl=function(a){return this.yn?this.yn.P6(a):[]};a.prototype.createInstance=a.prototype.hq=function(a){return this.yn.hq(a)};a.prototype.bind=a.prototype.bind=function(a,b,e,g){var c=a.split(":"),a=c[0],c=1<c.length?c[1]:"*";this.Mc[a]=this.Mc[a]||{};this.Mc[a][c]=this.Mc[a][c]||[];this.Mc[a][c].push({handler:b,context:e,immediate:g});return this};a.prototype.unbind=a.prototype.unbind=function(a,b,e,g){var c=a.split(":"),a=c[0],c=1<c.length?c[1]:"*";if(a in this.Mc&&c in this.Mc[a]){for(var o=
[],f=this.Mc[a][c],j=0;j<f.length;j++){var d=f[j];(d.handler!=b||d.context!=e||d.immediate!=g)&&o.push(d)}this.Mc[a][c]=o}};a.prototype.bindOnObject=a.prototype.Msa=function(a,b,e,g,c){return this.bind(b+":"+this.JN(a),e,g,c)};a.prototype.unbindOnObject=a.prototype.Mta=function(a,b,e,g,c){return this.unbind(b+":"+this.JN(a),e,g,c)};a.prototype.bindOnObjectsOf=a.prototype.Nsa=function(a,b,e,g,c){return this.bind(b+":"+this.yN(a),e,g,c)};a.prototype.unbindOnObjectsOf=a.prototype.Nta=function(a,b,e,
g,c){return this.unbind(b+":"+this.yN(a),e,g,c)};a.DEFAULT_PANORAMA_HFOV=a.y9=c.prototype.XT?90:110;a.prototype.trigger=function(a){if(a.name in this.Mc){this.Gx(a,p);var b=this;setTimeout(function(){b.Gx(a,y)},0)}};a.prototype.Gx=function(a,b){for(var e=this.Qda(a,b),g=0;g<e.length;g++)try{e[g].handler.call(e[g].context||window,a)}catch(c){setTimeout(function(){i(c)},0)}};a.prototype.Qda=function(a,b){var e=[];if(a.name in this.Mc){for(var g=[],c=0;c<a.sourceClassPath.length;c++)g.push(this.yN(a.sourceClassPath[c]));
a.sourceId&&g.push(this.JN(a.sourceId));g.push("*");for(var o=this.Mc[a.name],c=0;c<g.length;c++)for(var f=o[g[c]]||[],j=0;j<f.length;j++)!!f[j].immediate==!!b&&e.push(f[j])}return e};a.prototype.JN=function(a){return"instance("+a+")"};a.prototype.yN=function(a){return"className("+a+")"};g.Player=g.tW=a})();define("jquery.mod",["jquery"],function(a){return a.noConflict(p)});
(function(){(function(){function a(a,b){return a.oba?o(b).chain():b}function b(a){return"\\"+T[a]}function c(a){function b(e){return a[e]}var e="(?:"+o.keys(a).join("|")+")",g=RegExp(e),h=RegExp(e,"g");return function(a){return a=q==a?"":""+a,g.test(a)?a.replace(h,b):a}}function d(a,b,e,g){if(a===b)return 0!==a||1/a===1/b;if(q==a||q==b)return a===b;a instanceof o&&(a=a.$s);b instanceof o&&(b=b.$s);var h=F.call(a);if(h!==F.call(b))return y;switch(h){case "[object RegExp]":case "[object String]":return""+
a==""+b;case "[object Number]":return+a!==+a?+b!==+b:0===+a?1/+a===1/b:+a===+b;case "[object Date]":case "[object Boolean]":return+a===+b}h="[object Array]"===h;if(!h){if("object"!=typeof a||"object"!=typeof b)return y;var c=a.constructor,f=b.constructor;if(c!==f&&(!o.isFunction(c)||!(c instanceof c&&o.isFunction(f)&&f instanceof f))&&"constructor"in a&&"constructor"in b)return y}e=e||[];g=g||[];for(c=e.length;c--;)if(e[c]===a)return g[c]===b;if(e.push(a),g.push(b),h){if(c=a.length,c!==b.length)return y;
for(;c--;)if(!d(a[c],b[c],e,g))return y}else{var j,h=o.keys(a);if(c=h.length,o.keys(b).length!==c)return y;for(;c--;)if(j=h[c],!o.has(b,j)||!d(a[j],b[j],e,g))return y}return e.pop(),g.pop(),p}function f(a,b,e,g,h){if(!(g instanceof b))return a.apply(e,h);b=n(a.prototype);a=a.apply(b,h);return o.sw(a)?a:b}function g(a,b,e,h){for(var c=[],f=0,h=h||0,l=E(a);l>h;h++){var d=a[h];if(j(d)&&(o.isArray(d)||o.isArguments(d))){b||(d=g(d,b,e));var k=0,n=d.length;for(c.length+=n;n>k;)c[f++]=d[k++]}else e||(c[f++]=
d)}return c}function k(a){return function(b,e,h){var g={};return e=l(e,h),o.each(b,function(h,o){var c=e(h,o,b);a(g,h,c)}),g}}function j(a){a=E(a);return"number"==typeof a&&0<=a&&M>=a}function h(a){return function(b){return q==b?m:b[a]}}function n(a){if(!o.sw(a))return{};if(O)return O(a);s.prototype=a;a=new s;return s.prototype=q,a}function e(a,b){return function(e){var h=arguments.length;if(2>h||q==e)return e;for(var g=1;h>g;g++)for(var o=arguments[g],c=a(o),f=c.length,j=0;f>j;j++){var l=c[j];b&&
e[l]!==m||(e[l]=o[l])}return e}}function l(a,b,e){return q==a?o.identity:o.isFunction(a)?r(a,b,e):o.sw(a)?o.QT(a):o.g8(a)}function r(a,b,e){if(b===m)return a;switch(q==e?3:e){case 1:return function(e){return a.call(b,e)};case 2:return function(e,h){return a.call(b,e,h)};case 3:return function(e,h,g){return a.call(b,e,h,g)};case 4:return function(e,h,g,o){return a.call(b,e,h,g,o)}}return function(){return a.apply(b,arguments)}}function o(a){return a instanceof o?a:this instanceof o?void(this.$s=a):
new o(a)}function s(){}function t(a){return function(b,e,h,g){var e=r(e,g,4),c=!j(b)&&o.keys(b),f=(c||b).length,l=0<a?0:f-1;3>arguments.length&&(h=b[c?c[l]:l],l+=a);for(var d=e,k=h;0<=l&&f>l;l+=a)var n=c?c[l]:l,k=d(k,b[n],n,b);return k}}function u(a){return function(b,e,h){for(var e=l(e,h),h=E(b),g=0<a?0:h-1;0<=g&&h>g;g+=a)if(e(b[g],g,b))return g;return-1}}function v(a,b,e){return function(h,g,c){var f=0,j=E(h);if("number"==typeof c)0<a?f=0<=c?c:Math.max(c+j,f):j=0<=c?Math.min(c+1,j):c+j+1;else if(e&&
c&&j)return c=e(h,g),h[c]===g?c:-1;if(g!==g)return c=b(A.call(h,f,j),o.isNaN),0<=c?c+f:-1;for(c=0<a?f:j-1;0<=c&&j>c;c+=a)if(h[c]===g)return c;return-1}}function x(a,b){var e=H.length,h=a.constructor,h=o.isFunction(h)&&h.prototype||B,g="constructor";for(o.has(a,g)&&!o.contains(b,g)&&b.push(g);e--;)g=H[e],g in a&&a[g]!==h[g]&&!o.contains(b,g)&&b.push(g)}var w=this,z=w.LK,C=Array.prototype,B=Object.prototype,G=C.push,A=C.slice,F=B.toString,J=B.hasOwnProperty,I=Array.isArray,K=Object.keys,L=Function.prototype.bind,
O=Object.create;"undefined"!=typeof exports?("undefined"!=typeof module&&module.Vma&&(exports=module.Vma=o),exports.LK=o):w.LK=o;o.VERSION="1.8.3";o.lta=function(a,b){return l(a,b,1/0)};var M=Math.pow(2,53)-1,E=h("length");o.each=o.forEach=function(a,b,e){var b=r(b,e),g;if(j(a)){e=0;for(g=a.length;g>e;e++)b(a[e],e,a)}else{var h=o.keys(a),e=0;for(g=h.length;g>e;e++)b(a[h[e]],h[e],a)}return a};o.map=o.Qsa=function(a,b,e){for(var b=l(b,e),e=!j(a)&&o.keys(a),g=(e||a).length,h=Array(g),c=0;g>c;c++){var f=
e?e[c]:c;h[c]=b(a[f],f,a)}return h};o.reduce=o.Wsa=o.gta=t(1);o.reduceRight=o.Xsa=t(-1);o.find=o.detect=function(a,b,e){var g;return g=j(a)?o.q6(a,b,e):o.$ma(a,b,e),g!==m&&-1!==g?a[g]:m};o.filter=o.select=function(a,b,e){var g=[];return b=l(b,e),o.each(a,function(a,e,h){b(a,e,h)&&g.push(a)}),g};o.reject=function(a,b,e){return o.filter(a,o.Y7(l(b)),e)};o.every=o.all=function(a,b,e){for(var b=l(b,e),e=!j(a)&&o.keys(a),g=(e||a).length,h=0;g>h;h++){var c=e?e[h]:h;if(!b(a[c],c,a))return y}return p};o.some=
o.any=function(a,b,e){for(var b=l(b,e),e=!j(a)&&o.keys(a),g=(e||a).length,h=0;g>h;h++){var c=e?e[h]:h;if(b(a[c],c,a))return p}return y};o.contains=o.eta=o.include=function(a,b,e,g){return j(a)||(a=o.values(a)),("number"!=typeof e||g)&&(e=0),0<=o.indexOf(a,b,e)};o.invoke=function(a,b){var e=A.call(arguments,2),g=o.isFunction(b);return o.map(a,function(a){var h=g?b:a[b];return q==h?h:h.apply(a,e)})};o.pluck=function(a,b){return o.map(a,o.g8(b))};o.Rta=function(a,b){return o.filter(a,o.QT(b))};o.Vsa=
function(a,b){return o.find(a,o.QT(b))};o.max=function(a,b,e){var g,h=-1/0,c=-1/0;if(q==b&&q!=a)for(var a=j(a)?a:o.values(a),f=0,d=a.length;d>f;f++)e=a[f],e>h&&(h=e);else b=l(b,e),o.each(a,function(a,e,o){g=b(a,e,o);(g>c||g===-1/0&&h===-1/0)&&(h=a,c=g)});return h};o.min=function(a,b,e){var g,h=1/0,c=1/0;if(q==b&&q!=a)for(var a=j(a)?a:o.values(a),f=0,d=a.length;d>f;f++)e=a[f],h>e&&(h=e);else b=l(b,e),o.each(a,function(a,e,o){g=b(a,e,o);(c>g||1/0===g&&1/0===h)&&(h=a,c=g)});return h};o.$qa=function(a){for(var b=
j(a)?a:o.values(a),e=b.length,g=Array(e),h=0;e>h;h++)a=o.random(0,h),a!==h&&(g[h]=g[a]),g[a]=b[h];return g};o.sample=function(a,b,e){return q==b||e?(j(a)||(a=o.values(a)),a[o.random(a.length-1)]):o.$qa(a).slice(0,Math.max(0,b))};o.sortBy=function(a,b,e){return b=l(b,e),o.pluck(o.map(a,function(a,e,h){return{value:a,index:e,i6:b(a,e,h)}}).sort(function(a,b){var e=a.i6,h=b.i6;if(e!==h){if(e>h||e===m)return 1;if(h>e||h===m)return-1}return a.index-b.index}),"value")};o.groupBy=k(function(a,b,e){o.has(a,
e)?a[e].push(b):a[e]=[b]});o.fta=k(function(a,b,e){a[e]=b});o.Ssa=k(function(a,b,e){o.has(a,e)?a[e]++:a[e]=1});o.toArray=function(a){return a?o.isArray(a)?A.call(a):j(a)?o.map(a,o.identity):o.values(a):[]};o.size=function(a){return q==a?0:j(a)?a.length:o.keys(a).length};o.xta=function(a,b,e){var b=l(b,e),h=[],g=[];return o.each(a,function(a,e,c){(b(a,e,c)?h:g).push(a)}),[h,g]};o.first=o.head=o.Fta=function(a,b,e){return q==a?m:q==b||e?a[0]:o.poa(a,a.length-b)};o.poa=function(a,b){return A.call(a,
0,Math.max(0,a.length-(q==b?1:b)))};o.last=function(a,b,e){return q==a?m:q==b||e?a[a.length-1]:o.rest(a,Math.max(0,a.length-b))};o.rest=o.Eta=o.Usa=function(a,b,e){return A.call(a,q==b||e?1:b)};o.compact=function(a){return o.filter(a,o.identity)};o.flatten=function(a,b){return g(a,b,y)};o.without=function(a){return o.difference(a,A.call(arguments,1))};o.uniq=o.unique=function(a,b,e,h){o.isBoolean(b)||(h=e,e=b,b=y);q!=e&&(e=l(e,h));for(var h=[],g=[],c=0,f=E(a);f>c;c++){var j=a[c],d=e?e(j,c,a):j;b?
(c&&g===d||h.push(j),g=d):e?o.contains(g,d)||(g.push(d),h.push(j)):o.contains(h,j)||h.push(j)}return h};o.union=function(){return o.uniq(g(arguments,p,p))};o.intersection=function(a){for(var b=[],e=arguments.length,h=0,g=E(a);g>h;h++){var c=a[h];if(!o.contains(b,c)){for(var f=1;e>f&&o.contains(arguments[f],c);f++);f===e&&b.push(c)}}return b};o.difference=function(a){var b=g(arguments,p,p,1);return o.filter(a,function(a){return!o.contains(b,a)})};o.zip=function(){return o.qra(arguments)};o.qra=function(a){for(var b=
a&&o.max(a,E).length||0,e=Array(b),h=0;b>h;h++)e[h]=o.pluck(a,h);return e};o.object=function(a,b){for(var e={},h=0,g=E(a);g>h;h++)b?e[a[h]]=b[h]:e[a[h][0]]=a[h][1];return e};o.q6=u(1);o.ana=u(-1);o.sortedIndex=function(a,b,e,h){for(var e=l(e,h,1),b=e(b),h=0,g=E(a);g>h;){var c=Math.floor((h+g)/2);e(a[c])<b?h=c+1:g=c}return h};o.indexOf=v(1,o.q6,o.sortedIndex);o.lastIndexOf=v(-1,o.ana);o.range=function(a,b,e){q==b&&(b=a||0,a=0);for(var e=e||1,b=Math.max(Math.ceil((b-a)/e),0),h=Array(b),g=0;b>g;g++,
a+=e)h[g]=a;return h};o.bind=function(a,b){function e(){return f(a,e,b,this,h.concat(A.call(arguments)))}if(L&&a.bind===L)return L.apply(a,A.call(arguments,1));o.isFunction(a)||i(new TypeError("Bind must be called on a function"));var h=A.call(arguments,2);return e};o.aU=function(a){function b(){for(var h=0,g=e.length,c=Array(g),j=0;g>j;j++)c[j]=e[j]===o?arguments[h++]:e[j];for(;h<arguments.length;)c.push(arguments[h++]);return f(a,b,this,this,c)}var e=A.call(arguments,1);return b};o.bindAll=function(a){var b,
e,h=arguments.length;1>=h&&i(Error("bindAll must be passed function names"));for(b=1;h>b;b++)e=arguments[b],a[e]=o.bind(a[e],a);return a};o.memoize=function(a,b){function e(h){var g=e.rma,c=""+(b?b.apply(this,arguments):h);return o.has(g,c)||(g[c]=a.apply(this,arguments)),g[c]}return e.rma={},e};o.delay=function(a,b){var e=A.call(arguments,2);return setTimeout(function(){return a.apply(q,e)},b)};o.defer=o.aU(o.delay,o,1);o.throttle=function(a,b,e){function h(){l=e.Ooa===y?0:o.now();j=q;f=a.apply(g,
c);j||(g=c=q)}var g,c,f,j=q,l=0;e||(e={});return function(){var d=o.now();l||e.Ooa!==y||(l=d);var k=b-(d-l);return g=this,c=arguments,0>=k||k>b?(j&&(clearTimeout(j),j=q),l=d,f=a.apply(g,c),j||(g=c=q)):j||e.Jta===y||(j=setTimeout(h,k)),f}};o.debounce=function(a,b,e){function h(){var d=o.now()-j;b>d&&0<=d?g=setTimeout(h,b-d):(g=q,e||(l=a.apply(f,c),g||(f=c=q)))}var g,c,f,j,l;return function(){f=this;c=arguments;j=o.now();var d=e&&!g;return g||(g=setTimeout(h,b)),d&&(l=a.apply(f,c),f=c=q),l}};o.wrap=
function(a,b){return o.aU(b,a)};o.Y7=function(a){return function(){return!a.apply(this,arguments)}};o.compose=function(){var a=arguments,b=a.length-1;return function(){for(var e=b,h=a[b].apply(this,arguments);e--;)h=a[e].call(this,h);return h}};o.after=function(a,b){return function(){return 1>--a?b.apply(this,arguments):m}};o.before=function(a,b){var e;return function(){return 0<--a&&(e=b.apply(this,arguments)),1>=a&&(b=q),e}};o.once=o.aU(o.before,2);var Q=!{toString:q}.propertyIsEnumerable("toString"),
H="valueOf,isPrototypeOf,toString,propertyIsEnumerable,hasOwnProperty,toLocaleString".split(",");o.keys=function(a){if(!o.sw(a))return[];if(K)return K(a);var b=[],e;for(e in a)o.has(a,e)&&b.push(e);return Q&&x(a,b),b};o.NS=function(a){if(!o.sw(a))return[];var b=[],e;for(e in a)b.push(e);return Q&&x(a,b),b};o.values=function(a){for(var b=o.keys(a),e=b.length,h=Array(e),g=0;e>g;g++)h[g]=a[b[g]];return h};o.pta=function(a,b,e){for(var b=l(b,e),h=o.keys(a),g=h.length,c={},f=0;g>f;f++)e=h[f],c[e]=b(a[e],
e,a);return c};o.wta=function(a){for(var b=o.keys(a),e=b.length,h=Array(e),g=0;e>g;g++)h[g]=[b[g],a[b[g]]];return h};o.w7=function(a){for(var b={},e=o.keys(a),h=0,g=e.length;g>h;h++)b[a[e[h]]]=e[h];return b};o.functions=o.sta=function(a){var b=[],e;for(e in a)o.isFunction(a[e])&&b.push(e);return b.sort()};o.extend=e(o.NS);o.o6=o.assign=e(o.keys);o.$ma=function(a,b,e){for(var b=l(b,e),h,e=o.keys(a),g=0,c=e.length;c>g;g++)if(h=e[g],b(a[h],h,a))return h};o.apa=function(a,b,e){var h,c,f={},j=a;if(q==
j)return f;o.isFunction(b)?(c=o.NS(j),h=r(b,e)):(c=g(arguments,y,y,1),h=function(a,b,e){return b in e},j=Object(j));for(var l=0,d=c.length;d>l;l++){var k=c[l],n=j[k];h(n,k,j)&&(f[k]=n)}return f};o.tta=function(a,b,e){if(o.isFunction(b))b=o.Y7(b);else var h=o.map(g(arguments,y,y,1),String),b=function(a,b){return!o.contains(h,b)};return o.apa(a,b,e)};o.defaults=e(o.NS,p);o.create=function(a,b){var e=n(a);return b&&o.o6(e,b),e};o.clone=function(a){return o.sw(a)?o.isArray(a)?a.slice():o.extend({},a):
a};o.tap=function(a,b){return b(a),a};o.Eoa=function(a,b){var e=o.keys(b),h=e.length;if(q==a)return!h;for(var g=Object(a),c=0;h>c;c++){var f=e[c];if(b[f]!==g[f]||!(f in g))return y}return p};o.isEqual=function(a,b){return d(a,b)};o.isEmpty=function(a){return q==a?p:j(a)&&(o.isArray(a)||o.isString(a)||o.isArguments(a))?0===a.length:0===o.keys(a).length};o.isElement=function(a){return!(!a||1!==a.nodeType)};o.isArray=I||function(a){return"[object Array]"===F.call(a)};o.sw=function(a){var b=typeof a;
return"function"===b||"object"===b&&!!a};o.each("Arguments,Function,String,Number,Date,RegExp,Error".split(","),function(a){o["is"+a]=function(b){return F.call(b)==="[object "+a+"]"}});o.isArguments(arguments)||(o.isArguments=function(a){return o.has(a,"callee")});"function"!=typeof/./&&"object"!=typeof Int8Array&&(o.isFunction=function(a){return"function"==typeof a||y});o.hta=function(a){return isFinite(a)&&!isNaN(parseFloat(a))};o.isNaN=function(a){return o.isNumber(a)&&a!==+a};o.isBoolean=function(a){return a===
p||a===y||"[object Boolean]"===F.call(a)};o.isNull=function(a){return q===a};o.isUndefined=function(a){return a===m};o.has=function(a,b){return q!=a&&J.call(a,b)};o.noConflict=function(){return w.LK=z,this};o.identity=function(a){return a};o.Rsa=function(a){return function(){return a}};o.noop=D();o.g8=h;o.yta=function(a){return q==a?D():function(b){return a[b]}};o.QT=o.qta=function(a){return a=o.o6({},a),function(b){return o.Eoa(b,a)}};o.times=function(a,b,e){for(var h=Array(Math.max(0,a)),b=r(b,
e,1),e=0;a>e;e++)h[e]=b(e);return h};o.random=function(a,b){return q==b&&(b=a,a=0),a+Math.floor(Math.random()*(b-a+1))};o.now=Date.now||function(){return(new Date).getTime()};var I={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},U=o.w7(I);o.escape=c(I);o.unescape=c(U);o.result=function(a,b,e){b=q==a?m:a[b];return b===m&&(b=e),o.isFunction(b)?b.call(a):b};var V=0;o.uniqueId=function(a){var b=++V+"";return a?a+b:b};o.kra={evaluate:/<%([\s\S]+?)%>/g,toa:/<%=([\s\S]+?)%>/g,
escape:/<%-([\s\S]+?)%>/g};var S=/(.)^/,T={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},W=/\\|'|\r|\n|\u2028|\u2029/g;o.template=function(a,e,h){function g(a){return j.call(this,a,o)}!e&&h&&(e=h);var e=o.defaults({},e,o.kra),c=0,f="__p+='";a.replace(RegExp([(e.escape||S).source,(e.toa||S).source,(e.evaluate||S).source].join("|")+"|$","g"),function(e,h,g,o,j){return f+=a.slice(c,j).replace(W,b),c=j+e.length,h?f+="'+\n((__t=("+h+"))==null?'':_.escape(__t))+\n'":g?f+="'+\n((__t=("+
g+"))==null?'':__t)+\n'":o&&(f+="';\n"+o+"\n__p+='"),e});f+="';\n";e.k9||(f="with(obj||{}){\n"+f+"}\n");f="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+f+"return __p;\n";try{var j=new Function(e.k9||"obj","_",f)}catch(l){i((l.source=f,l))}return g.source="function("+(e.k9||"obj")+"){\n"+f+"}",g};o.chain=function(a){a=o(a);return a.oba=p,a};o.mixin=function(b){o.each(o.functions(b),function(e){var h=o[e]=b[e];o.prototype[e]=function(){var b=[this.$s];return G.apply(b,
arguments),a(this,h.apply(o,b))}})};o.mixin(o);o.each("pop,push,reverse,shift,sort,splice,unshift".split(","),function(b){var e=C[b];o.prototype[b]=function(){var h=this.$s;return e.apply(h,arguments),"shift"!==b&&"splice"!==b||0!==h.length||delete h[0],a(this,h)}});o.each(["concat","join","slice"],function(b){var e=C[b];o.prototype[b]=function(){return a(this,e.apply(this.$s,arguments))}});o.prototype.value=P("$s");o.prototype.valueOf=o.prototype.toJSON=o.prototype.value;o.prototype.toString=function(){return""+
this.$s};"function"==typeof define&&define.Fsa&&define("jC",[],function(){return o})}).call(this)}).call(window.TDV||(window.TDV={}));define("underscore-min",D());define("cL",["underscore-min"],function(){return window.TDV._.noConflict()});
define("jq",[],function(){return{ba:function(a){return a+"_change"},uc:"default",lb:"mouseDown",Ac:"mouseMove",Gb:"mouseUp",vo:"mouseWheel",W:"click",UC:"doubleClick",Cc:"rollOver",ec:"rollOut",Oj:"mouseEnter",sf:"mouseLeave",Ah:"pointerOver",Yra:"pointerOut",qW:"pointerDown",rW:"pointerUp",zh:"pointerClick",OC:"gestureStart",J9:"gestureChange",NC:"gestureEnd",K9:"gestureRotate",Ht:"gestureScale",dc:"progress",Mq:"close",OPEN:"open",Bh:"select",ub:"resize",wJ:"changing",U:"change",um:"stateChange",
R:"loaded",od:"loadingError",Ii:"start",yd:"stop",wo:"play",YC:"pause",Mb:"ready",Ej:"begin",ua:"end",Fra:"cancel",If:"press",Jg:"release",cr:"repeatEnd",gl:"scroll",VC:"movementChange",Era:"beforeShow",hV:"beforeHide",INIT:"init",Ce:"show",rf:"hide",Jt:"showEnd",br:"hideEnd",R9:"loadingScript",i$:"processingScript",t9:"applicationSet",JC:"userInteraction",GW:"toolTipShow",FK:"toolTipHide"}});define("bL",[],function(){return function(a,b){this.name=a;this.source=m;this.data=b}});
define("iM",[],function(){function a(){this.pe=[];this.Ml=[]}a.prototype.uE=function(a){for(var c=0;c<this.pe.length;c++)if(this.pe[c]==a)return c;return-1};a.prototype.set=function(a,c){var d=this.uE(a);0<=d?this.Ml[d]=c:(this.pe.push(a),this.Ml.push(c))};a.prototype.e7=function(a){return 0<=this.uE(a)};a.prototype.get=function(a){a=this.uE(a);if(0<=a)return this.Ml[a]};a.prototype.keys=function(){return this.pe.slice()};a.prototype.values=function(){return this.Ml.slice()};a.prototype.length=function(){return this.pe.length};
a.prototype.clear=function(a){a=this.uE(a);0<=a&&(this.pe.splice(a,1),this.Ml.splice(a,1))};a.prototype.each=function(a,c){for(var d=0;d<this.pe.length;d++)a.call(c,this.pe[d],this.Ml[d])};return a});
define("fu",["require","cL","jq"],function(a){function b(a){var b=f[a];if(b)return b;if("string"!=typeof a)return f[a]=function(){return a};var h=(b=g.exec(a))&&parseFloat(b[1]);switch(b&&b[4]&&b[4].toLowerCase()){case "vw":return f[a]=function(a){return a*h};case "vh":return f[a]=function(a,b){return b*h};case "vmin":return f[a]=function(a,b,g){return g*h};case "vmax":return f[a]=function(a,b,g,c){return c*h};default:return f[a]=function(){return a}}}function c(a){this.na=a;this.Tv=this.Tv.bind(this);
this.na.bind(d.ub,this.hb,this,p);this.dR={};this.Lm=[];this.hb()}a("cL");var d=a("jq");c.prototype.hb=function(){this.Nla();for(var a in this.dR)this.Tv(this.dR[a]);this.Lm.forEach(this.Tv)};c.prototype.Nla=function(){var a=this.na.bb();this.QH=0.01*this.na.Aa();this.MH=0.01*a;this.M5=Math.min(this.QH,this.MH);this.L5=Math.max(this.QH,this.MH)};c.prototype.Tv=function(a){a(this.QH,this.MH,this.M5,this.L5)};c.prototype.fma=function(a){this.Lm.push(a)};c.prototype.rpa=function(a){a=this.Lm.indexOf(a);
0<=a&&this.Lm.splice(a,1)};c.prototype.kma=function(a,g,h,c){function e(b,e,c,d){g.call(a,h,f(b,e,c,d))}var f=b(c);this.dR[a.$o+"."+h]=e;e(this.QH,this.MH,this.M5,this.L5)};c.Fc={};c.get=function(a){var b=a.$o,h=c.Fc[b];h||(h=new c(a),c.Fc[b]=h);return h};var f={},g=/^\s*((\+|\-)?(\d*\.)?\d+)\s*(vmin|vmax|vw|vh|px|%)?\s*$/i;return c});
define("hS",[],function(){function a(a,b){var f=a.split(b),g=f[0];(f=f.slice(1).join(b))&&(f=b+f);return[g,f]}var b=window.URL||D();b.Oh=document.createElement("a");b.B7=function(a){if(b.z7(a)){var d=window.location.protocol+"//"+window.location.hostname;return a.substring(0,d.length)!=d}return y};b.Eq=function(a,d){if(b.Hoa(a))a=window.location.protocol+a;else if(!b.z7(a)&&!b.LB(a)){if(d)if(0==a.indexOf("/")){var f=d.indexOf("//"),g="";0<=f&&(g=d.substr(0,f+2),d=d.substr(f+2));f=d.indexOf("/");0<
f&&(d=d.substr(0,f));a=g+d+a}else a=d+a;b.Oh.href=a;a=b.Oh.href}return a};b.zoa=function(){switch(window.location.protocol){case "http:":case "https:":return p;default:return y}};b.Hoa=function(a){return 0===a.indexOf("//")};b.z7=function(a){var b=a.indexOf("://");return 3<=b&&5>=b?p:0==a.indexOf("filesystem:")};b.LB=function(a){return 0==a.indexOf("data:")};b.getDirectory=function(a){a=b.Eq(a);a=a.split("?")[0];a=a.split("/");1<a.length&&a.splice(a.length-1,1);return a.join("/")+"/"};b.ph=function(a){b.Yu||
(b.Yu=b.u_());return b.Yu[a]!==m};b.$n=function(a){b.Yu||(b.Yu=b.u_());return b.Yu[a]};b.Ov=function(b,d){if(!d)return b;var f=a(b,"#"),g=f[1],f=a(f[0],"?"),k=f[0],f=f[1];return 0<=f.indexOf(d)?b:k+(f+(f?"&":"?")+d)+g};b.parse=function(a){b.Oh.href=a;a={};a.protocol=b.Oh.protocol;a.hostname=b.Oh.hostname;a.port=b.Oh.port;a.pathname=b.Oh.pathname;a.search=b.Oh.search;a.hash=b.Oh.hash;a.host=b.Oh.host;var d=a.pathname?a.pathname.lastIndexOf("."):-1;a.Wma=0<=d?a.pathname.substr(d).toLowerCase():"";return a};
b.Osa=function(a){return a.protocol+"//"+a.hostname+a.pathname+a.search+a.hash};b.getExtension=function(a){var a=b.parse(a).pathname,d=a.lastIndexOf(".");return 0<=d?a.substr(d,a.length):""};b.Yl=function(a,d){switch((b.$n(a)||"").toLowerCase()){case "false":case "0":case "no":case "n":return y;case "true":case "1":case "yes":case "y":return p;default:return d}};b.D6=function(a){a=parseInt(b.$n(a));return isNaN(a)?10:a};b.nI=function(a){a=parseFloat(b.$n(a));return isNaN(a)?m:a};b.Yu=q;b.u_=function(){for(var a=
{},b=window.location.search.substring(1).split("&"),f=0;f<b.length;f++){var g=b[f].split("=");a[decodeURIComponent(g[0])]=1<g.length?decodeURIComponent(g[1]):q}return a};return b});
define("hp",["require","cL","jquery.mod"],function(a){var b=a("cL"),c=a("jquery.mod"),d={ooa:function(a,b){function c(){}c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a},mma:function(a,b){b.forEach(function(b){Object.getOwnPropertyNames(b.prototype).forEach(function(h){a.prototype[h]=b.prototype[h]})})},extend:function(){var a=arguments[0],b=arguments[arguments.length-1],c=Array.prototype.slice.call(arguments,1,arguments.length-1);d.ooa(b,a);d.mma(b,c);return b},deferred:function(a,
c){return function(){var f=arguments;b.defer(function(){a.apply(c,f)})}},fo:function(a,c){var f=y;return function(){f||(f=p,b.defer(function(){f=y;a.apply(c||window)}))}},memoize:function(a,b,c,h){a.Ry||(a.Ry=[],a.bP=[]);for(var f=a.Ry,e=0,l=f.length;e<l;e++){var d=f[e];if(h.length==d.length){for(var o=p,s=0,t=h.length;s<t&&o;s++)o=d[s]==h[s];if(o)return a.bP[e]}}c=c.apply(window,h);a.Ry.length==b&&(a.Ry.shift(),a.bP.shift());a.Ry.push(h);a.bP.push(c);return c},xu:[],Lsa:function(a,b){var c=d.tca();
window[c]=function(){a.apply(b,arguments)};d.xu.push({handler:a,context:b,callback:c});return c},$sa:function(a,b){for(var c=0;c<d.xu.length;c++){var h=d.xu[c];if(h.handler==a&&h.context==b)return h.callback}},Lta:function(a,b){for(var c=0;c<d.xu.length;c++){var h=d.xu[c];if(h.handler==a&&h.context==b)return h=h.callback,d.xu.splice(c,1),delete window[h],h}},tca:function(){var a;do a="__callback_"+d.i8(8);while(window[a]);return a},i8:function(a){for(var b=[],c=0;c<a;c++)b.push(Math.floor(16*Math.random()).toString(16));
return b.join("")},Uma:function(a){d.Lu=c("<div></div>");d.Lu.css({overflow:"auto",position:"absolute",bottom:0,left:0,right:0,padding:"20px",fontFamily:"Verdana",backgroundColor:"#FFFFFF",color:"#000000","z-index":100});a?d.Lu.css({top:0}):d.Lu.css({width:"40%",right:"0",left:"auto",height:"50%",filter:"alpha(opacity=60)",opacity:0.6});c("body").append(d.Lu);console.log=function(a){d.log(a)}}},f;d.log=function(a){if(a!=f){f=a;try{d.Lu?c("<div></div>").text(a).prependTo(d.Lu):console.log(a)}catch(b){}}};
d.zta=function(a){this.pN.push(a)};d.pN=[];d.debug=function(a,b){try{b.apply(this,arguments)}catch(c){d.EI(a,c),i(c)}};d.EI=function(a,b){var c=[];c.push("Exception: "+a);b.message?(c.push(b.message),c.push(b.stack)):c.push(b);this.log(c.join("\n"));for(c=0;c<this.pN.length;c++)this.pN[c](b)};d.clone=function(a,b){var b=b||0,c=new a.constructor,h;for(h in a)if(a.hasOwnProperty(h)){var f=a[h];0<b&&f&&"object"===typeof f&&(f=d.clone(f,b-1));c[h]=f}return c};return d});
define("dl","require,jquery.mod,cL,iM,fu,hS,hp".split(","),function(a){function b(a,b){this.au=a;this.$L=b;this.xz=q;this.HP={};this.DP=this.qr=this.Ut=m;this.m2=[];this.QA=this.Ws=m;this.l2=[];this.bA=this.Ls=m;this.k2={};this.Ty=m;this.i2=[];this.Qo=m;this.j2=[];this.cp=m;this.e0=this.g0=y}var c=a("jquery.mod"),d=a("cL"),f=a("iM"),g=a("fu"),k=a("hS"),j=a("hp");b.prototype.C=function(a){this.xz=a;this.FY();this.IY();this.SL();return this};b.prototype.Ina=function(){if(this.xz)return b.Zl(this.xz)};
b.prototype.aw=P("au");b.prototype.xB=function(){return this.Yo()?this.Vm().xB().concat(this.au):[this.au]};b.prototype.O=function(a){this.HP=a;this.FY();return this};b.prototype.hasAttributes=function(){return this.u6().length>0};b.prototype.hasAttribute=function(a){return this.eT(a)?p:y};b.prototype.u6=function(){this.Ut==m&&this.eZ();return this.Ut};b.prototype.Bqa=function(){this.DP=["definitions"];return this};b.prototype.L6=function(){if(this.DP)return this.DP;if(this.Yo())this.Vm().L6();else return[]};
b.prototype.eT=function(a){this.qr==m&&this.eZ();return this.qr[a]};b.prototype.Bj=function(a){this.m2=a;this.Eba();return this};b.prototype.foa=function(){return this.T6().length>0};b.prototype.T6=function(){this.Ws==m&&this.iZ();return this.Ws};b.prototype.Tna=function(){this.QA==m&&this.iZ();return this.QA};b.prototype.mo=function(a){this.l2=a;this.Cba();return this};b.prototype.eoa=function(){return this.R6().length>0};b.prototype.R6=function(){this.Ls==m&&this.hZ();return this.Ls};b.prototype.Rna=
function(){this.bA==m&&this.hZ();return this.bA};b.prototype.Yb=function(a){this.i2=a;this.SL();return this};b.prototype.aoa=function(){return this.hT().length>0};b.prototype.c7=function(a){this.Qo==m&&this.UD();return d(this.Qo).contains(a)};b.prototype.hT=function(){this.Qo==m&&this.UD();return this.Qo};b.prototype.uh=function(a){this.j2=a;this.SL();return this};b.prototype.doa=function(){return this.mT().length>0};b.prototype.d7=function(a){this.cp==m&&this.UD();return d(this.cp).contains(a)};
b.prototype.mT=function(){this.cp==m&&this.UD();return this.cp};b.prototype.Gg=function(a){this.k2=a;this.IY();return this};b.prototype.J6=function(){this.Ty==m&&this.lca();return this.Ty};b.prototype.jqa=function(){this.g0=p;return this};b.prototype.E6=function(){return this.g0||this.Yo()&&this.Vm().E6()};b.prototype.hq=function(a,b,e,g){this.Hha(b,e);var c=this.$L,f;f=g&&g.length>0?new (j.extend(c,function(){c.apply(this,g)})):new c;f.set("application",a);f.set("baseDirectoy",b);f.set("queryStringParameters",
e);f.set("class",this.aw());return f};b.prototype.Hha=function(a,b){if(!this.e0){this.e0=p;this.vca(a,b);this.Wca()}};b.prototype.vca=function(a,b){if(this.foa()||this.eoa()){var e=this.$L.prototype,c=this.Tna(),f=this.Rna(),o=e.set;e.set=function(e,j){c[e]&&(!j||!k.LB(j))?o.call(this,e,k.Ov(k.Eq(j,a),b)):f[e]?g.get(this.get("application")).kma(this,o,e,j):o.call(this,e,j)}}};b.prototype.Wca=function(){var a=this.$L.prototype,b=this;if(this.hasAttributes()){a.set=a.set;a.get=a.get}if(this.aoa()||
this.doa()){a.bind=a.bind;a.getBindings=a.vB;a.hasBindings=a.a7;a.trigger=a.trigger;a.unbind=a.unbind}a.getClassName=function(){return b.aw()};a.getClassPath=function(){return b.xB()};var e=this.J6(),g;for(g in e)a[g]=e[g]};b.prototype.FY=function(){this.qr=this.Ut=m};b.prototype.eZ=function(){this.Ut=[];this.qr={};for(var a in this.HP){this.Ut.push(a);this.qr[a]=b.DN(this.HP[a])}if(this.Yo())for(var g=this.Vm(),e=g.u6(),c=0;c<e.length;c++){a=e[c];if(!this.qr[a]){this.Ut.push(a);this.qr[a]=g.eT(a)}}};
b.prototype.Eba=function(){this.QA=m};b.prototype.iZ=function(){this.Ws=this.m2.slice();if(this.Yo())this.Ws=d(this.Ws).union(this.Vm().T6());this.QA={};for(var a=0;a<this.Ws.length;a++)this.QA[this.Ws[a]]=p};b.prototype.Cba=function(){this.bA=m};b.prototype.hZ=function(){this.Ls=this.l2.slice();if(this.Yo())this.Ls=d(this.Ls).union(this.Vm().R6());this.bA={};for(var a=0;a<this.Ls.length;a++)this.bA[this.Ls[a]]=p};b.prototype.SL=function(){this.cp=this.Qo=m};b.prototype.UD=function(){this.Qo=this.i2.slice();
this.cp=this.j2.slice();if(this.Yo()){this.Qo=d(this.Qo).union(this.Vm().hT());this.cp=d(this.cp).union(this.Vm().mT())}};b.prototype.IY=function(){this.Ty=m};b.prototype.lca=function(){this.Ty=d(this.k2).clone();this.Yo()&&d(this.Ty).defaults(this.Vm().J6())};b.prototype.Yo=function(){return this.xz?p:y};b.prototype.Vm=function(){return b.Zl(this.xz)};b.DY=new f;b.CY=new f;b.Dsa={};b.A=function(a,g){var e=new b(a,g);b.DY.set(a,e);b.CY.set(g,e);return e};b.Zl=function(a){return b.DY.get(a)};b.hna=
function(a){return b.CY.get(a)};b.tb=function(a,g){var e=b.Zl(a);if(d(g).isNull())return p;if(g&&g.constructor)for(var c=b.hna(g.constructor);c;){if(c==e)return p;c=c.Ina()}return y};b.DN=function(a){switch(a){case "string":case "code":return b.pka;case "number":return b.Wfa;case "bool":return b.Oaa;case "color":return b.Kba;case "percent":return b.sha;case "size":return b.Qja;case "identifier":return b.Vea;case "array":return b.OX;case "dict":return b.tha;case "*":return b.Qca;default:if(b.ofa(a))switch(b.Eda(a)){case "array":var g=
b.DN(b.VZ(a));return function(a,e){for(var a=b.OX(a,e),h=0;h<a.length;h++)a[h]=g(a[h],e);return a};case "enum":var e=b.WZ(a);return b.Fda(e);case "or":var e=b.WZ(a),c=d(e).map(function(a){return b.DN(a)});return function(a,b){for(var e=0;e<c.length;e++)try{return c[e](a,b)}catch(g){}i("Invalid value")};default:i("Invalid type validator definition: "+a)}else return b.Zj(function(e){return b.tb(a,e)})}};b.ofa=function(a){return a.indexOf("[")>=0&&a.lastIndexOf("]")==a.length-1};b.Eda=function(a){return a.substring(0,
a.indexOf("["))};b.VZ=function(a){return a.substring(a.indexOf("[")+1,a.lastIndexOf("]"))};b.WZ=function(a){for(var a=b.VZ(a),g=[],e="",c=0,f=0;f<a.length;f++){var o=a.charAt(f),e=e+o;switch(o){case "[":c++;break;case "]":c--;break;case ",":if(c==0){g.push(e.substr(0,e.length-1));e=""}}}e!=""&&g.push(e);return d(g).map(function(a){return b.Yka(a)})};b.Yka=function(a){return a.replace(/^\s+|\s+$/g,"")};b.Zj=function(a){return function(g,e){if(!a(g)){typeof g!="string"&&i("Invalid value");g=b.Uca(g,
e);a(g)||i("Invalid value")}return g}};b.Uca=function(a,b){return function(){return eval(a)}.call(b)};b.Qca=function(a){return a};b.Wfa=b.Zj(function(a){return Object.prototype.toString.call(a)=="[object Number]"});b.pka=b.Zj(function(a){return typeof a=="string"||a===q});b.Oaa=b.Zj(function(a){return a===p||a===y});b.OX=b.Zj(function(a){return Object.prototype.toString.call(a)=="[object Array]"});b.Fda=function(a){return b.Zj(function(b){return d(a).contains(b)})};b.lE=function(a,b){return d(a).isString()&&
b.test(a)};b.Vea=b.Zj(function(a){return b.lE(a,/^[a-z][a-z0-9_]*$/i)});b.sha=b.Zj(function(a){return b.lE(a,/^\s*([+-]?\d+\.?\d*)%\s*$/i)});b.Qja=b.Zj(function(a){return b.lE(a,/^\s*([+-]?\d+\.?\d*)\s*((vw)|(vh)|(vmin)|(vmax)|(px))\s*$/i)});b.Kba=b.Zj(function(a){return b.lE(a,/^#[0-9a-f]{6}$/i)});b.tha=b.Zj(function(a){try{return c.isPlainObject(a)}catch(b){return y}});return b});
define("hs",[],function(){function a(){var a=g.length,b=g.splice(0,a);f+=a;for(var c=0;c<a;c++){var h=b[c];h&&h()}}var b=window.MutationObserver,c=window.Promise,d=0,f=0,g=[],k;setInterval(function(){0<g.length&&100<(new Date).getTime()-j&&a()},100);var j,h;c&&(h=new c(function(a){a()}));b&&(k=document.createTextNode(""),(new b(a)).observe(k,{characterData:p}));return{XB:function(f,e){if(e>0||!b&&!c)return~setTimeout(f,e||1);if(g.length==0){c?h.then(a):k.textContent=d;j=(new Date).getTime()}d++;g.push(f);
return d-1},cancel:function(a){if(a<0)clearTimeout(~a);else{var b=a-f;if(b>=0){g[b]||i("invalid async handle: "+a);g[b]=q}}}}});
define("dZ",["cL","hs","bL","hp"],function(a,b,c,d){function f(){this.Mc={}}f.prototype.bind=function(a,b,c,h,f){a===m&&i("Event name undefined");b===m&&i("Event handler undefined");a in this.Mc||(this.Mc[a]=[]);this.Mc[a].push({handler:b,handlerDef:f||b,context:c||this,immediate:h?p:y});return this};f.prototype.unbind=function(b,c,f){if(b in this.Mc){var f=f||this,h=a(this.Mc[b]).select(function(a){return a.handler!=c||a.context!=f});0<h.length?this.Mc[b]=h:delete this.Mc[b]}return this};f.prototype.i9=
function(){this.Mc={}};f.prototype.trigger=function(a,b){var f="string"==typeof a,h=f?a:a.name;h in this.Mc&&(f&&(a=new c(a,b)),a.source=this,this.Gx(a,p),h in this.Mc&&this.wca(a));return this};f.prototype.wca=function(a){f.YD.push({caller:this,event:a});f.QM||(f.QM=p,b.XB(f.mZ))};f.YD=[];f.QM=y;f.mZ=function(){for(var a=(new Date).getTime()+1E3;f.YD.length;){var c=f.YD.shift();f.prototype.Gx.call(c.caller,c.event,y);if((new Date).getTime()>a)break}0<f.YD.length?b.XB(f.mZ,1):f.QM=y};f.prototype.a7=
function(a){return a in this.Mc};f.prototype.vB=function(a,b){for(var c=[],h=this.Mc[a]||[],f=0;f<h.length;f++){var e=h[f];(b===m||e.immediate==b)&&c.push(e.handlerDef)}return c};f.prototype.Gx=function(a,b){if(a.name in this.Mc)for(var c=this.Mc[a.name],h=0;h<c.length;h++){var f=c[h];if(f.immediate==b)try{f.handler.call(f.context,a)}catch(e){d.EI("Exception handling event "+a.name,e)}}};return f});
define("hH",["jq","hp","bL","dZ"],function(a,b,c,d){b=b.extend(d,function(){d.call(this);this.xx={}});b.prototype.set=function(a,b){this.xx[a]!=b&&(this.xx[a]=b,this.Z4(a))};b.prototype.Z4=function(b){this.trigger(new c(a.ba(b)))};b.prototype.get=function(a,b){var c=this.xx[a];return c!==m?c:b};return b});
define("er",[],function(){function a(a,c,d){this.set("undefined"!=typeof a?a:0,"undefined"!=typeof c?c:0,"undefined"!=typeof d?d:0)}a.prototype.set=function(a,c,d){this.x=a;this.y=c;this.z=d};a.prototype.clone=function(){return new a(this.x,this.y,this.z)};a.prototype.apply=function(a){a.Nv(this)};a.prototype.project=function(a){a.project(this)};return a});
define("a",["hp","er"],function(a,b){var c=a.extend(b,function(a,c,g){b.call(this,a,c,g)});c.prototype.clone=function(){return new c(this.x,this.y,this.z)};c.prototype.Rb=function(){return 0==this.x&&0==this.z?0:-Math.atan2(this.x,this.z)};c.prototype.Xb=function(){return 0==this.y&&0==this.z?0:Math.atan2(this.y,Math.sqrt(this.z*this.z+this.x*this.x))};c.prototype.qT=function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)};c.prototype.normalize=function(){var a=this.qT();1!=a&&(this.x/=
a,this.y/=a,this.z/=a)};c.prototype.et=function(a){return this.x*a.x+this.y*a.y+this.z*a.z};c.prototype.Lma=function(a){var b=this.z*a.x-this.x*a.z,c=this.x*a.y-this.y*a.x;this.x=this.y*a.z-this.z*a.y;this.y=b;this.z=c};c.kq=function(a,b){return new c(b.x-a.x,b.y-a.y,b.z-a.z)};c.fna=function(a){return new c(Math.cos(0)*Math.sin(a),Math.sin(0),Math.cos(0)*Math.cos(a))};return c});
define("gb","require,hp,hH,jq,dl,a".split(","),function(a){var b=a("hp"),c=a("hH"),d=a("jq"),f=a("dl"),g=a("a"),a=b.extend(c,function(){c.call(this);this.sS=this.Om=m;this.set("enabled",p);this.set("enabledInSurfaceSelection",p)});f.A("AdjacentPanorama",a).C("Object").O({enabled:"bool",enabledInSurfaceSelection:"bool",yaw:"number",distance:"number",panorama:"Panorama",backwardYaw:"number"}).uh([d.Bh]);a.prototype.y6=function(){if(this.Om===m){for(this.Om=this.h_()-this.get("yaw");this.Om>180;)this.Om=
this.Om-360;for(;this.Om<-180;)this.Om=this.Om+360}return this.Om};a.prototype.tna=function(){if(this.sS===m)this.sS=g.fna(this.h_()*Math.PI/180);return this.sS};a.prototype.tma=function(){return this.get("yaw")!==m&&this.get("backwardYaw")!==m};a.prototype.h_=function(){return this.get("backwardYaw")-180};return a});define("ey",[],function(){return{J:"stopped",Q:"playing",kc:"paused"}});
define("do",["require","hp","hH","dl"],function(a){var b=a("hp"),c=a("hH"),a=a("dl"),b=b.extend(c,function(){c.call(this)});a.A("ImageResource",b).C("Object").O({levels:"array[ImageResourceLevel]"});return b});
define("cS","require,hp,jq,ey,do,dl".split(","),function(a){var b=a("hp"),c=a("jq"),d=a("ey"),f=a("do"),a=a("dl"),b=b.extend(f,function(){f.call(this);this.set("state",d.J);this.set("autoplay",p);this.set("repeat",0);this.set("visibleOnStop",p);this.set("finalFrame","last")});b.prototype.play=function(){this.set("state",d.Q)};b.prototype.pause=function(){this.set("state",d.kc)};b.prototype.stop=function(){this.set("state",d.J)};a.A("AnimatedImageResource",b).C("ImageResource").O({autoplay:"bool",
finalFrame:"enum[first, last]",frameCount:"number",frameDuration:"number",rowCount:"number",colCount:"number",repeat:"number",state:"enum[stopped, playing, paused]",visibleOnStop:"bool"}).Yb([c.ua,c.cr,c.Ii]).Gg({pause:b.prototype.pause,play:b.prototype.play,stop:b.prototype.stop});b.prototype.set=function(a,b){switch(a){case "state":(this.get("state")||d.J)==d.J&&b==d.Q&&this.trigger(c.Ii)}f.prototype.set.call(this,a,b)};b.prototype.ew=function(a,b,c){b||(b=1);c||(c=1);return f.prototype.ew.call(this,
a,b*this.get("colCount",1),c*this.get("rowCount",1))};return b});
define("fv",["hp","hH","dl"],function(a,b,c){a=a.extend(b,function(a){b.call(this);this.lv=a===m?p:a;this.Ju=this.Dk=this.Bk=this.H=m;this.set("enabled",p);this.set("selected",y)});c.A("HotspotMapOverlay",a).C("MapOverlay").O({areas:"array[HotspotMapOverlayArea]",enabled:"bool",image:"HotspotMapOverlayImage",map:"HotspotMapOverlayMap",rollOverDisplay:"bool",rollOverImage:"HotspotMapOverlayImage",rollOverMap:"HotspotMapOverlayMap",selectedImage:"HotspotMapOverlayImage",selectedMap:"HotspotMapOverlayMap",
selected:"bool",useHandCursor:"bool"});a.prototype.getItem=function(){if(this.H===m){var a=this.get("image");this.H=a?a.bI(this.lv):q}return this.H};a.prototype.O6=function(){if(this.Bk===m){var a=this.get("rollOverImage");this.Bk=a?a.bI(this.lv):q}return this.Bk};a.prototype.Q6=function(){if(this.Dk===m){var a=this.get("selectedImage");this.Dk=a?a.bI(this.lv):q}return this.Dk};a.prototype.Ena=function(){if(this.Ju===m){this.Ju=[];var a=this.getItem();a&&this.Ju.push(a);(a=this.O6())&&this.Ju.push(a);
(a=this.Q6())&&this.Ju.push(a)}return this.Ju};return a});define("de",["hp","dl","fv"],function(a,b,c){a=a.extend(c,function(){c.call(this,p)});b.A("AreaHotspotMapOverlay",a).C("HotspotMapOverlay");return a});define("jd",["hp","hH","dl"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("AudioResource",a).C("Object").O({mp3Url:"string",oggUrl:"string"}).Bj(["mp3Url","oggUrl"]);return a});define("bW",[],function(){return{Uw:"inAdvance",nV:"delayed"}});
define("N",[],function(){return{PC:"grab",QC:"grabbing",U9:"move",YV:"move-n",ZV:"move-ne",OV:"move-e",bW:"move-se",aW:"move-s",cW:"move-sw",dW:"move-w",$V:"move-nw",V9:"move-ew",X9:"move-ns",W9:"move-nesw",Y9:"move-nwse",QV:"move-fast-n",RV:"move-fast-ne",PV:"move-fast-e",VV:"move-fast-se",TV:"move-fast-s",WV:"move-fast-sw",XV:"move-fast-w",SV:"move-fast-nw",xd:"hand",uc:"default",Tw:"inherit"}});
define("eJ",["require","jq"],function(a){function b(){this.qg=[]}var c=a("jq");b.prototype.register=function(a){this.T$(a);this.qg.push(a);a.get("pressed")&&this.E3(a)};b.prototype.uC=function(a){this.Xha(a)};b.prototype.T$=function(a){a.bind(c.If,this.V0,this,p)};b.prototype.Xha=function(a){a.unbind(c.If,this.V0,this)};b.prototype.V0=function(a){this.E3(a.source)};b.prototype.E3=function(a){this.qg.forEach(function(b){b.set("pressed",b==a)})};b.register=function(a,b){this.uC(a);var c=this.af(b);
a.YK=c;c.register(a)};b.uC=function(a){a.YK&&(a.YK.uC(a),delete a.YK)};b.af=function(a){return this.V_[a]||(this.V_[a]=new b)};b.V_={};return b});define("cK",[],function(){return{Bc:"push",Kg:"toggle"}});define("fa",[],function(){return{fr:"visible",GV:"hidden",gl:"scroll"}});define("et",[],function(){return{uc:m,q:"over",sa:"pressed",Sa:"pressedOver",F:"selected"}});define("dB",[],function(){return{Cc:"rollOver",ALWAYS:"always"}});
window.Sra=function(a,b,c){function d(a,e,c,g){var h,f,o,l=b.createElement("div"),d=b.body,k=d?d:b.createElement("body");if(parseInt(c,10))for(;c--;)o=b.createElement("div"),o.id=g?g[c]:"modernizr"+(c+1),l.appendChild(o);return h=['­<style id="smodernizr">',a,"</style>"].join(""),l.id="modernizr",(d?l:k).innerHTML+=h,k.appendChild(l),d||(k.style.background="",j.appendChild(k)),f=e(l,a),d?l.parentNode.removeChild(l):k.parentNode.removeChild(k),!!f}function f(a,b){for(var e in a){var g=a[e];if(!~(""+
g).indexOf("-")&&n[g]!==c)return"pfx"==b?g:p}return y}function g(a,b,e){var g=a.charAt(0).toUpperCase()+a.slice(1),h=(a+" "+l.join(g+" ")+g).split(" ");if("string"===typeof b||"undefined"===typeof b)b=f(h,b);else{h=(a+" "+r.join(g+" ")+g).split(" ");a:{var a=h,o;for(o in a)if(g=b[a[o]],g!==c){b=e===y?a[o]:"function"===typeof g?g.bind(e||b):g;break a}b=y}}return b}var k={},j=b.documentElement,h=b.createElement("modernizr"),n=h.style,e=["","-webkit-","-moz-","-o-","-ms-"],l=["Webkit","Moz","O","ms"],
r=["webkit","moz","o","ms"],h={},o=[],s=o.slice,t,u={}.hasOwnProperty,v;"undefined"!==typeof u&&"undefined"!==typeof u.call?v=function(a,b){return u.call(a,b)}:v=function(a,b){return b in a&&"undefined"===typeof a.constructor.prototype[b]};Function.prototype.bind||(Function.prototype.bind=function(a){function b(){if(this instanceof b){var g=D();g.prototype=e.prototype;var g=new g,h=e.apply(g,c.concat(s.call(arguments)));return Object(h)===h?h:g}return e.apply(a,c.concat(s.call(arguments)))}var e=
this;"function"!=typeof e&&i(new TypeError);var c=s.call(arguments,1);return b});h.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")};h.webgl=function(){return!!a.osa};h.touch=function(){var b;return"ontouchstart"in a?b=p:d(["@media (",e.join("touch-enabled),("),"modernizr){#modernizr{top:9px;position:absolute}}"].join(""),function(a){b=9===a.offsetTop}),b};h.csstransforms3d=function(){var a=!!g("perspective");return a&&"webkitPerspective"in j.style&&d("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",
function(b){a=9===b.offsetLeft&&3===b.offsetHeight}),a};h.video=function(){var a=b.createElement("video"),e=y;try{if(e=!!a.canPlayType)e=new Boolean(e),e.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),e.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),e.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(c){}return e};h.audio=function(){var a=b.createElement("audio"),e=y;try{if(e=!!a.canPlayType)e=new Boolean(e),e.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,
""),e.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),e.Pta=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),e.ota=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(c){}return e};for(var x in h)v(h,x)&&(t=x.toLowerCase(),k[t]=h[x](),o.push((k[t]?"":"no-")+t));k.lma=function(a,b){if("object"==typeof a)for(var e in a)v(a,e)&&k.lma(e,a[e]);else a=a.toLowerCase(),k[a]===c&&(b="function"==typeof b?b():b,k[a]=b)};n.cssText="";return h=q,k.XA="2.6.1",k.Csa=
e,k.wsa=r,k.vsa=l,k.Hta=function(a){return f([a])},k.Gta=g,k.Ita=d,k}(this,this.document);define("Modernizr",D());define("modernizr.mod",["Modernizr"],function(){return window.Modernizr});
define("t",["require","modernizr.mod","hp","hS"],function(a){function b(){}var c=a("modernizr.mod"),d=a("hp"),f=a("hS");b.Hi=TDV.va.XC;b.fV=TDV.va.pK;b.JK=TDV.va.hW;b.nsa=TDV.va.tK;b.JV=TDV.va.qK;b.Ora=TDV.va.gW;b.$ra=TDV.va.sK;b.rK=TDV.va.rK;b.Nw=TDV.va.Nw;b.sJ=TDV.va.sJ;b.rJ=TDV.va.rJ;b.qJ=TDV.va.qJ;b.tJ=TDV.va.tJ;b.xh=TDV.va.xh;b.zC=TDV.va.zC;b.$k=TDV.va.$k;b.Ei=TDV.va.Ei;b.Hq=TDV.va.Hq;b.Iq=TDV.va.Iq;b.Jw=TDV.va.Jw;b.yC=TDV.va.yC;b.pJ=TDV.va.pJ;b.EC=TDV.va.EC;b.Jq=TDV.va.Jq;b.Mw=TDV.va.Mw;b.Kw=
TDV.va.Kw;b.AC=TDV.va.AC;b.Gt=TDV.va.Gt;b.Lw=TDV.va.Lw;b.Kq=TDV.va.Kq;b.iV=TDV.va.iV;b.CC=TDV.va.CC;b.BC=TDV.va.BC;b.DC=TDV.va.DC;b.uJ=TDV.va.uJ;b.yJ=TDV.va.yJ;b.Pw=TDV.va.Pw;b.zJ=TDV.va.zJ;b.AJ=TDV.va.AJ;b.To=function(a){a="force_"+a;if(f.ph("debug")&&f.ph(a))return f.$n(a)};b.mda=b.To("os");b.ud=function(){return b.mda||TDV.va.ud};b.hda=b.To("browser");b.browser=function(){return b.hda||TDV.va.browser};b.ida=b.To("browser_type");b.Qv=function(){return b.ida||TDV.va.Qv};b.KZ=b.To("browser_subtype");
b.jd=function(){return b.KZ?b.KZ:TDV.va.jd};b.jda=b.To("browser_version");b.Z5=function(){return b.jda||TDV.va.Z5};b.lda=b.To("device");b.dt=function(){return b.lda||TDV.va.dt};b.Na=function(){return TDV.va.XT};b.Zca=function(){for(var a=navigator.userAgent.toLowerCase(),b=["SM-G960","SM-G965"],c=0;c<b.length;c++)if(0<=a.indexOf(b[c].toLowerCase()))return p;return y}();b.rda=function(){for(var a=navigator.userAgent.toLowerCase(),b="SM-G920,SM-G925,SM-G928,SM-N920,SM-G930,SM-G935,SC-02H,SM-G950,SM-G955,SM-N950,SM-G960,SM-G965,SM-N960,SM-G970,SM-G973,SM-G975,SM-G977,SM-N970,SM-N975".split(","),
c=0;c<b.length;c++)if(0<=a.indexOf(b[c].toLowerCase()))return p;return y}();b.LZ=b.To("gearvrcompatible");b.uB=function(){return b.LZ!==m?"true"==b.LZ:b.rda};b.rba=b.browser()!=b.Ei||0>navigator.userAgent.indexOf("; wv")?y:p;b.kda=!!b.To("chromewebview");b.f6=function(){return b.kda||b.rba};b.Ue=function(){return b.jd()==b.Jq||b.jd()==b.Mw||b.jd()==b.CC};b.Ioa=function(){return b.jd()==b.Jq&&0<=navigator.userAgent.indexOf("Quest 2")};b.C7=function(){return b.Ue()&&b.uB()};b.Ez=m;b.ipa=function(){b.Ez===
m&&(b.Ez=parseInt(f.$n("sts")),isNaN(b.Ez)&&(b.Ez=b.Ue()&&!b.Zca?512:b.Na()&&b.ud()==b.Hi?512:b.Na()?256:1024));return b.Ez};b.Sea=parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||y;b.HB=function(){return b.Sea};b.G_=function(){var a={X6:"unknown",N7:1},b=document.createElement("canvas");if(b&&(b=b.getContext("webgl")||b.getContext("experimental-webgl"))){var c=b.getExtension("WEBGL_debug_renderer_info");
c&&(a.X6=b.getParameter(c.UNMASKED_RENDERER_WEBGL));a.Soa=b.getParameter(b.MAX_TEXTURE_SIZE);if(c=b.getExtension("EXT_texture_filter_anisotropic")||b.getExtension("MOZ_EXT_texture_filter_anisotropic")||b.getExtension("WEBKIT_EXT_texture_filter_anisotropic"))a.N7=b.getParameter(c.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}return a}();b.W6=function(){return b.G_};b.maa=function(){var a=b.G_.X6.match(/Apple\s+(.+)\s+GPU/);return a?a[1].toUpperCase():"unknown"}();b.Gsa=function(){return b.maa};b.wfa=b.dt()==b.Pw?
p:y;b.pq=function(){return b.wfa};var g;b.browser()==b.$k&&(g=parseFloat(/Version\/([0-9]+\.[0-9]+)/i.exec(navigator.userAgent)[1]));b.uia=g;b.Fpa=function(){return b.uia};b.Cfa=c.touch||"undefined"!==typeof window.PointerEvent&&"undefined"!==typeof navigator.maxTouchPoints&&0<navigator.maxTouchPoints?p:y;b.$U=function(){return b.Cfa};b.Wi=c.touch?b.ud()==b.JK?y:p:y;b.fJ=function(){return b.Wi};b.summary=function(){return["browser: "+b.browser(),"browserType: "+b.Qv(),"browserSubtype: "+b.jd(),"device: "+
b.dt(),"isMobile: "+b.Na(),"gearVRCompatibleDevice: "+b.uB(),"chromeWebView: "+b.f6(),"touchDevice"+b.$U(),"touchEnabled"+b.fJ()].join(", ")};b.log=function(){d.log("browser: "+b.browser());d.log("browserType: "+b.Qv());d.log("browserSubtype: "+b.jd());d.log("device: "+b.dt());d.log("isMobile: "+b.Na());d.log("gearVRCompatibleDevice: "+b.uB());d.log("chromeWebView: "+b.f6());d.log("touchDevice: "+b.$U());d.log("touchEnabled: "+b.fJ())};return b});
define("hJ",["require","t"],function(a){function b(){for(;n.length;)n.shift()();document.body.removeEventListener("click",b,p);document.body.removeEventListener("touchstart",f,p);document.body.removeEventListener("touchmove",d,p);document.body.removeEventListener("touchend",c,p);j=y}function c(){h&&b()}function d(){h=y}function f(){h=p;k.ud()==k.Hi&&b()}function g(){document.body.addEventListener("click",b,p);document.body.addEventListener("touchstart",f,p);document.body.addEventListener("touchmove",
d,p);document.body.addEventListener("touchend",c,p)}var k=a("t"),j=y,h=y,n=[];return{jJ:function(){b()},n9:function(a){n.push(a);j||(j=p,document.body?g():document.addEventListener("DOMContentLoaded",g))},Dta:function(a){a=n.indexOf(a);0<=a&&n.splice(a,1)}}});define("fh",[],function(){return{T9:7,xC:6,SC:5,dl:4,yW:3,uK:2,nW:1,Pra:0}});define("T",[],function(){return{jK:"horizontal",GK:"vertical"}});
define("jE",[],function(){return{PW:"auto",OW:"auto",xW:"1",jW:"2",iW:"auto",xC:"2",lV:"3",kV:"auto",wW:"3",HW:"100",PW:"1",OW:"auto",xW:"1",jW:"2",iW:"auto",xC:"2",lV:"3",kV:"auto",wW:"5",HW:"100",Ira:"101",F9:999998,msa:999999,P9:1E6}});define("em",[],function(){var a=1,b={};return{css:function(c,d){var f=c.__duqid;f===m&&(f=a.toString(),c.__duqid=f,a++);var f=b[f]||(b[f]={e:c,s:{}}),g;for(g in d)f.s[g]=d[g]},kpa:function(){for(var a in b){var d=b[a],f=d.e.style,d=d.s,g;for(g in d)f[g]=d[g]}b={}}}});
define("br",["require"],function(){return{boa:function(a){return!!a&&0<=a.indexOf("&tdvflipx")},T5:function(a){a&&(0>a.indexOf("#")&&(a+="#"),a+="&tdvflipx");return a},cna:function(a,b,c){var d=document.createElement("canvas");d.width=b;d.height=c;c=d.getContext("2d");c.translate(b,0);c.scale(-1,1);c.drawImage(a,0,0);a.src=d.toDataURL()}}});
define("cp",["require"],function(){var a={},b;a:{try{if("localStorage"in window&&(window.localStorage.setItem("test","test"),"test"==window.localStorage.getItem("test"))){b=p;break a}}catch(c){}b=y}if(b)a.setItem=function(a,b){window.localStorage.setItem(a,b)},a.getItem=function(a){return window.localStorage.getItem(a)},a.removeItem=function(a){return window.localStorage.removeItem(a)},a.clear=function(){try{window.localStorage.clear()}catch(a){}};else{var d={};a.setItem=function(a,b){d[a]=b};a.getItem=
function(a){return d[a]};a.removeItem=function(a){delete d[a]};a.clear=function(){d={}}}return a});
define("fB",["require","t","hS","hs","cp"],function(a){function b(a,b,c,h,f){this.url=a;this.Ve=b;this.time=c;this.cra=h;this.uma=f}var c=a("t");URL=a("hS");async=a("hs");Storage=a("cp");b.prototype.loaded=function(){d.WQ(this.url);d.Ip(this)};b.prototype.cancel=function(){d.Ip(this)};var d={Hp:[],pl:[],mA:[],iS:q,n0:{},add:function(a,c,f,h){a=new b(a,c,(new Date).getTime(),f,h);this.Hp.push(a);this.G();return a},a9:function(a){this.mA.push(a);this.G()},Z8:function(a){var b=this.mA,a=b.indexOf(a);
0<=a&&b.splice(a,1);this.G()}};if(c.jd()==c.Kq)d.dV=R(p),d.WQ=D();else if(!URL.ph("debug")||!URL.Yl("disable-cache")){d.dV=function(a){return this.n0[a]||Storage.getItem("tdvp_"+a)};var f=y;d.WQ=function(a){this.n0[a]=p;try{Storage.setItem("tdvp_"+a,p)}catch(b){f||(f=p,Storage.clear())}}}else d.dV=R(y),d.WQ=D();d.G=function(){this.iS||(this.iS=async.XB(d.ola))};d.ola=function(){d.iS=q;for(var a=this.yia(),b=0,c=this.pl.length;b<c;b++){var h=this.pl[b];0>a.indexOf(h)&&h.uma()}var f=this.pl;this.pl=
a;b=0;for(c=this.pl.length;b<c;b++)h=this.pl[b],0>f.indexOf(h)&&h.cra()}.bind(d);d.Rja=function(){this.Hp.sort(function(a,b){return a.Ve-b.Ve||b.time-a.time});this.mA.sort(function(a,b){return a-b})};d.yia=function(){this.Rja();var a=[];if(this.Hp.length)for(var b=this.mA.length?this.mA[0]:this.Hp[0].Ve,c=0;10>c&&c<this.Hp.length&&this.Hp[c].Ve<=b;c++)a.push(this.Hp[c]);return a};d.Ip=function(a){var b=this.Hp,a=b.indexOf(a);0<=a&&b.splice(a,1);this.G()};return d});
define("gP","require,hp,bL,dZ,jq,fh,hS,br,fB".split(","),function(a){var b=a("hp"),c=a("bL"),d=a("dZ"),f=a("jq"),g=a("fh"),k=a("hS"),j=a("br"),h=a("fB"),a=b.extend(d,function(a){d.call(this);this.Bn=a||g.T9;this.ca=this.T=this.gb=this.Eb=q;this.kp=y;this.kv=this.Zi=q;this.BG=0;this.qO=[];this.HE=this.HE.bind(this);this.IE=this.IE.bind(this)});a.prototype.load=function(a){this.cancel();this.Eb=a;this.BG=0;this.j3()};a.prototype.j3=function(){this.Zi=h.add(this.Eb,this.Bn,this.Zja.bind(this),this.lba.bind(this))};
a.prototype.cancel=function(){if(this.Zi){this.Zi.cancel();this.Zi=q}this.EY()};a.prototype.Coa=function(){return!!this.gb&&!this.kp||this.kv};a.prototype.ao=P("kp");a.prototype.Id=function(a){if(a){a=this.gb.cloneNode(p);this.qO.push(a);return a}return this.gb};a.prototype.jc=P("T");a.prototype.Sc=P("ca");a.prototype.fg=P("Eb");a.prototype.Zja=function(){this.gb=this.gca(this.Eb)};a.prototype.lba=function(){this.Coa()&&this.EY()};a.prototype.EY=function(){if(this.gb){if(this.kv){clearTimeout(this.kv);
this.kv=q}for(this.kp=y;this.qO.length;)this.tZ(this.qO.shift());this.tZ(this.gb);this.gb=q}};a.prototype.X$=function(a){a.addEventListener("load",this.HE);a.addEventListener("error",this.IE)};a.prototype.a3=function(a){a.removeEventListener("load",this.HE);a.removeEventListener("error",this.IE)};a.prototype.HE=function(){this.Zi.loaded();this.Zi=q;this.a3(this.gb);this.kp=p;this.T=this.gb.width;this.ca=this.gb.height;j.boa(this.Eb)&&j.cna(this.gb,this.T,this.ca);this.trigger(new c(f.R))};a.prototype.IE=
function(){this.cancel();if(this.BG<l){this.BG++;this.kv=setTimeout(function(){this.kv=q;this.j3()}.bind(this),Math.pow(2,this.BG)*1E3)}else this.trigger(new c(f.od))};a.prototype.gca=function(a){var b;if(e.length>0)b=e.pop();else{b=document.createElement("img");if(k.B7(a))b.crossOrigin="Anonymous"}b.setAttribute("draggable","false");b.style.position="static";b.style.border="none";b.style.display="none";this.X$(b);b.src=a;return b};a.prototype.tZ=function(a){this.a3(a);a.parentNode&&a.parentNode.removeChild(a);
a.src="";e.length>n&&e.push(a)};var n=100,e=[],l=5;a.VU=function(a){return h.dV(a)};return a});
define("eh","require,cL,jquery.mod,jq,fh,T,jE,em,gP".split(","),function(a){function b(){this.Sj=this.Uj=this.Vj=this.Tj=this.Hm=this.Gm=this.Jm=this.Im=0;this.pD=this.rD=this.sD=this.qD="";this.vb=1;this.pd=m;this.Br=[];this.dM=[];this.aM=k.GK;this.GD=y;this.EE=m;this.Ke=q;this.WN=this.BS=0;this.Ta=document.createElement("canvas");this.Ta.setAttribute("tdvlayer","background");this.v=d(this.Ta);h.css(this.Ta,{position:"absolute",left:0,top:0,"z-index":j.xC,"user-select":"none","-ms-user-select":"none",
"-moz-user-select":"none","-webkit-user-select":"none"});this.Kd=p}var c=a("cL"),d=a("jquery.mod"),f=a("jq"),g=a("fh"),k=a("T"),j=a("jE"),h=a("em"),n=a("gP");b.prototype.setSize=function(a,b){if(this.BS!=a||this.WN!=b){this.BS=a||0;this.WN=b||0;this.Kd=p}};b.prototype.F8=function(a){if(this.gk!=a){this.gk=a;this.Kd=p}};b.prototype.fb=P("v");b.prototype.zB=P("Ta");b.prototype.gqa=function(a){if(this.EE!=a){if(this.Ke){this.Ke.unbind(f.R,this.ap,this);this.Ke.cancel();this.Ke=q}if(this.EE=a){this.Ke=
new n(g.yW);this.Ke.bind(f.R,this.ap,this);this.Ke.load(this.EE)}this.Kd=p}};b.prototype.wU=function(a){if(this.Im!=a){this.Im=a;this.Kd=p}};b.prototype.xU=function(a){if(this.Jm!=a){this.Jm=a;this.Kd=p}};b.prototype.rU=function(a){if(this.Gm!=a){this.Gm=a;this.Kd=p}};b.prototype.sU=function(a){if(this.Hm!=a){this.Hm=a;this.Kd=p}};b.prototype.uU=function(a){if(this.Tj!=a){this.Tj=a;this.Kd=p}};b.prototype.yU=function(a){if(this.Vj!=a){this.Vj=a;this.Kd=p}};b.prototype.vU=function(a){if(this.Uj!=a){this.Uj=
a;this.Kd=p}};b.prototype.tU=function(a){if(this.Sj!=a){this.Sj=a;this.Kd=p}};b.prototype.Opa=function(a){if(this.qD!=a){this.qD=a;this.Kd=p}};b.prototype.Qpa=function(a){if(this.sD!=a){this.sD=a;this.Kd=p}};b.prototype.Ppa=function(a){if(this.rD!=a){this.rD=a;this.Kd=p}};b.prototype.Npa=function(a){if(this.pD!=a){this.pD=a;this.Kd=p}};b.prototype.yi=function(a){if(this.vb!=a){this.vb=a;this.Kd=p}};b.prototype.ri=P("vb");b.prototype.Bw=function(a){if(!c.isEqual(this.pd,a)){this.pd=a;c(a).isArray()||
(a=[a]);a=c(a).filter(function(a){return c(a).isString()});this.w8(a)}};b.prototype.w8=function(a){if(!c.isEqual(this.Br,a)){this.Br=a;this.Kd=p}};b.prototype.Upa=function(a){if(this.usa!=a){this.dM=a;this.Kd=p}};b.prototype.Tpa=function(a){if(this.aM!=a){this.aM=a;this.Kd=p}};b.prototype.ap=function(){this.Kd=p;this.he()};b.prototype.he=function(){if(this.Kd){this.G();this.Kd=y}};b.prototype.G=function(){var a=Math.max(0,this.BS-(this.Tj+this.Uj)),b=Math.max(0,this.WN-(this.Vj+this.Sj)),g=this.v.get(0);
g.width=a;g.height=b;var g=g.getContext("2d"),h=this.eba(),f=h.length>0,j=this.Ke&&this.Ke.ao(),d=this.Tj>0&&this.qD||this.Vj>0&&this.sD||this.Uj>0&&this.rD||this.Sj>0&&this.pD,d=f||j||d;if(f){var n;n=this.aM==k.jK?g.createLinearGradient(0,0,a,0):g.createLinearGradient(0,0,0,b);c(h).forEach(function(a){n.addColorStop(a.ratio,a.color)});g.fillStyle=n;g.fillRect(0,0,a,b);this.GD=p}else if(this.GD){g.clearRect(0,0,a,b);this.GD=y}if(j){g.drawImage(this.Ke.Id(),0,0,a,b);this.GD=p}this.Ta.style.opacity=
this.vb;this.Ta.style.filter="alpha(opacity="+Math.round(this.vb*100)+")";this.Ta.style["-ms-filter"]="alpha(opacity="+Math.round(this.vb*100)+")";this.Ta.style.borderTopLeftRadius=this.Im+"px";this.Ta.style.borderTopRightRadius=this.Jm+"px";this.Ta.style.borderBottomLeftRadius=this.Gm+"px";this.Ta.style.borderBottomRightRadius=this.Hm+"px";this.Ta.style.borderLeft=this.rE(this.Tj,this.qD);this.Ta.style.borderTop=this.rE(this.Vj,this.sD);this.Ta.style.borderRight=this.rE(this.Uj,this.rD);this.Ta.style.borderBottom=
this.rE(this.Sj,this.pD);this.Ta.style.width=a+"px";this.Ta.style.height=b+"px";this.Ta.style.cursor="inherit";this.Ta.style.display=d?"block":"none";if(this.Ta.clientWidth===0&&a!==0){this.Ta.style.width=0;this.Ta.style.width=a+"px"}};b.prototype.rE=function(a,b){return a>0?b?a+"px solid "+b:a+"px solid transparent":"none"};b.prototype.eba=function(){var a=[];if(this.Br.length>0){for(var b=this.Br.slice(),b=[].concat([b[0]],b,[b[b.length-1]]),c=this.dba(),c=[].concat([0],c,[1]),g=0;g<b.length;g++){var h=
c[g];h>=0&&a.push({color:b[g],ratio:h})}for(g=0;g<a.length-1;)a[g].ratio==a[g+1].ratio&&a[g].color==a[g+1].color?a.splice(g,1):g++;for(g=1;g<a.length-1;)a[g-1].ratio==a[g+1].ratio?a.splice(g,1):g++}return a};b.prototype.dba=function(){var a=this.Br.length,b;for(b=this.dM.length>0?c(this.dM).map(function(a){return Math.min(1,Math.max(0,a))}):a==1?[0.5]:c(c.range(a)).map(function(b,c){return 1*c/(a-1)});b.length<a;)b.push(1);b.length>a&&b.splice(a,b.length-a);return b};return b});
define("cZ",["jquery.mod","jE","em"],function(a,b,c){function d(){this.QF=this.SF=this.TF=this.RF=this.Sj=this.Uj=this.Vj=this.Tj=0;this.vz=this.gk=p;this.wS=this.kO=0;this.Y=p;this.Qz=document.createElement("div");this.Qz.setAttribute("tdvlayer","content");this.t3=a(this.Qz);c.css(this.Qz,{position:"absolute"});this.PD=document.createElement("div");this.$Y=a(this.PD);c.css(this.PD,{position:"absolute"});this.t3.append(this.$Y)}d.prototype.append=function(a){this.$Y.append(a)};d.prototype.W5=function(a){this.PD.appendChild(a)};
d.prototype.fb=P("t3");d.prototype.zB=P("Qz");d.prototype.eqa=function(a){this.kO!=a&&(this.kO=a,this.Y=p)};d.prototype.Vqa=function(a){this.wS!=a&&(this.wS=a,this.Y=p)};d.prototype.dw=function(){return this.RF+this.Tj};d.prototype.kw=function(){return this.TF+this.Vj};d.prototype.jw=function(){return this.SF+this.Uj};d.prototype.Zv=function(){return this.QF+this.Sj};d.prototype.Fw=function(a){this.vz!=a&&(this.vz=a,this.Y=p)};d.prototype.Eqa=function(a){this.RF!=a&&(this.RF=a,this.Y=p)};d.prototype.Gqa=
function(a){this.TF!=a&&(this.TF=a,this.Y=p)};d.prototype.Fqa=function(a){this.SF!=a&&(this.SF=a,this.Y=p)};d.prototype.Dqa=function(a){this.QF!=a&&(this.QF=a,this.Y=p)};d.prototype.uU=function(a){this.Tj!=a&&(this.Tj=a,this.Y=p)};d.prototype.yU=function(a){this.Vj!=a&&(this.Vj=a,this.Y=p)};d.prototype.vU=function(a){this.Uj!=a&&(this.Uj=a,this.Y=p)};d.prototype.tU=function(a){this.Sj!=a&&(this.Sj=a,this.Y=p)};d.prototype.F8=function(a){this.gk!=a&&(this.gk=a,this.Y=p)};d.prototype.he=function(){this.Y&&
(this.G(),this.Y=y)};d.prototype.G=function(){c.css(this.Qz,{overflow:this.vz?"visible":"hidden","z-index":this.gk?b.lV:b.kV,left:this.dw()+"px",top:this.kw()+"px",right:this.jw()+"px",bottom:this.Zv()+"px",cursor:"inherit"});c.css(this.PD,{left:-this.kO+"px",top:-this.wS+"px",right:this.vz?0:"initial",bottom:this.vz?0:"initial",cursor:"inherit"})};return d});
define("gw",["cL","jquery.mod","hp","jE","em"],function(a,b,c,d,f){function g(){this.ca=this.T=this.$=this.Z=m;this.Hm=this.Gm=this.Jm=this.Im=0;this.Yc=y;this.jO=0;this.vS=4;this.EL=6;this.mR=0;this.pd="#000000";this.vb=1;this.Ta=document.createElement("div");this.Ta.setAttribute("tdvlayer","shadow");this.v=b(this.Ta);f.css(this.Ta,{position:"absolute",left:0,top:0,right:0,bottom:"0"});this.Y=y}g.prototype.fb=P("v");g.prototype.zB=P("Ta");g.prototype.wU=function(a){this.Im!=a&&(this.Im=a,this.Y=
p)};g.prototype.xU=function(a){this.Jm!=a&&(this.Jm=a,this.Y=p)};g.prototype.rU=function(a){this.Gm!=a&&(this.Gm=a,this.Y=p)};g.prototype.sU=function(a){this.Hm!=a&&(this.Hm=a,this.Y=p)};g.prototype.yi=function(a){this.vb!=a&&(this.vb=a,this.Y=p)};g.prototype.ri=P("vb");g.prototype.We=function(a){this.Yc!=a&&(this.Yc=a,this.Y=p)};g.prototype.dqa=function(a){this.jO!=a&&(this.jO=a,this.Y=p)};g.prototype.Uqa=function(a){this.vS!=a&&(this.vS=a,this.Y=p)};g.prototype.Mpa=function(a){this.EL!=a&&(this.EL=
a,this.Y=p)};g.prototype.Oqa=function(a){this.mR!=a&&(this.mR=a,this.Y=p)};g.prototype.Bw=function(a){this.pd!=a&&(this.pd=a,this.Y=p)};g.prototype.he=function(){this.Y&&(this.G(),this.Y=y)};g.prototype.G=function(){var a=this.jO+"px "+this.vS+"px "+this.EL+"px "+this.mR+"px "+this.pd;this.Ta.style.display=this.Yc?"block":"none";this.Ta.style.boxShadow=a;this.Ta.style["-webkit-box-shadow"]=a;this.Ta.style["-moz-box-shadow"]=a;this.Ta.style.borderTopLeftRadius=this.Im+"px";this.Ta.style.borderTopRightRadius=
this.Jm+"px";this.Ta.style.borderBottomLeftRadius=this.Gm+"px";this.Ta.style.borderBottomRightRadius=this.Hm+"px";this.Ta.style.filter="alpha(opacity="+Math.round(100*this.vb)+")";this.Ta.style["-ms-filter"]="alpha(opacity="+Math.round(100*this.vb)+")";this.Ta.style.opacity=this.vb;this.Ta.style.zIndex=d.xW};return g});
define("is","require,jquery.mod,cL,hp,hH,N,jq,eh,cZ,gw,jE,bL,em,t".split(","),function(a){var b=a("jquery.mod");a("cL");var c=a("hp"),d=a("hH"),f=a("N"),g=a("jq"),k=a("eh"),j=a("cZ"),h=a("gw"),n=a("jE"),e=a("bL"),l=a("em");a("t");var r=c.extend(d,function(){d.call(this);this.$o=r.$o++;this.kM=this.Ec=this.GP=this.uz=this.fR=this.v=this.Ta=q;this.c5=this.$_=y;this.N=this.na=q;this.ca=this.T=this.ls=this.ks=0;this.fp=this.Yc=y;this.R_=p;this.Py=this.Qy=this.Zg=this.$g=0;this.vb=1;this.Fe=f.uc;this.set("inView",
y);this.set("toolTip",m);this.Is(p);this.YQ(p)});r.prototype.xc=N("au");r.prototype.toString=function(){return"["+this.v.attr("tdvclass")+"::"+this.$o+"]"};r.prototype.log=function(a){c.log(a+" "+this.toString()+" "+(new Date).getTime().toString())};r.prototype.cb=P("na");r.prototype.Qp=function(a){(this.na=a)&&this.uy();this.Fv();this.trigger(g.t9)};r.prototype.fb=function(){this.v=b(this.Um());this.fb=P("v");return this.v};r.prototype.Um=function(){this.Ta=document.createElement("div");this.Ta.setAttribute("id",
this.$o);this.au&&this.Ta.setAttribute("tdvclass",this.au);l.css(this.Ta,{margin:0,padding:0,position:"absolute",overflow:"visible",display:"block"});this.Um=P("Ta");return this.Ta};r.prototype.Tg=function(){this.fR=new h;this.Tg=P("fR");return this.fR};r.prototype.mb=function(){this.Ec=new k;this.mb=P("Ec");return this.Ec};r.prototype.wu=function(){this.uz=document.createElement("div");this.uz.setAttribute("tdvlayer","overShadow");l.css(this.uz,{position:"absolute",left:0,top:0,cursor:"inherit"});
this.wu=P("uz");return this.uz};r.prototype.NN=function(){this.GP=b(this.wu());this.NN=P("GP");return this.GP};r.prototype.Pa=function(){this.kM=new j;this.Pa=P("kM");return this.kM};r.prototype.getParent=P("N");r.prototype.Aa=P("T");r.prototype.bb=P("ca");r.prototype.$na=function(){return this.T!==m&&this.ca!==m};r.prototype.td=function(){return this.T-this.Pa().dw()-this.Pa().jw()};r.prototype.sd=function(){return this.ca-this.Pa().kw()-this.Pa().Zv()};r.prototype.oh=function(){return this.Pa().dw()};
r.prototype.am=function(){return this.Pa().kw()};r.prototype.$l=function(){return this.Pa().jw()};r.prototype.bw=function(){return this.Pa().Zv()};r.prototype.We=function(a){if(this.Yc!=a){this.Yc=a;this.bc();if(this.N){this.N.Ja();this.N.zc()}this.Fv()}};r.prototype.Fv=function(){var a=y;this.na&&this.Yc&&this.ri()>0&&(this==this.na?a=p:this.N&&(a=this.N.fp));this.fp!=a&&this.sL(a)};r.prototype.sL=function(a){this.fp=a;this.set("inView",a);this.fp?this.trigger(new e(g.Ce)):this.trigger(new e(g.rf))};
r.prototype.lja=function(a){if(this.R_!=a){this.R_=a;this.N&&this.N.zc()}};r.prototype.gja=function(a){if(this.su!=a){this.su=a;this.Ja()}};r.prototype.fja=function(a){if(this.ru!=a){this.ru=a;this.Ja()}};r.prototype.eja=function(a){if(this.qu!=a){this.qu=a;this.Ja()}};r.prototype.dja=function(a){if(this.pu!=a){this.pu=a;this.Ja()}};r.prototype.hja=function(a){if(this.Ih!=a){this.Ih=a;if(this.Ih!=m)this.bi=m;this.Ja()}};r.prototype.cja=function(a){if(this.Pr!=a){this.Pr=a;if(this.Pr!=m)this.ai=m;
this.Ja()}};r.prototype.vja=function(a){if(this.bi!=a){this.bi=a;if(this.bi!=m)this.Ih=m;this.Ja()}};r.prototype.rja=function(a){if(this.ai!=a){this.ai=a;if(this.ai!=m)this.Pr=m;this.Ja()}};r.prototype.nja=function(a){if(this.gn!=a){if(a!=m)this.eG=m;this.gn=a;this.N&&this.N.zc();this.Ja()}};r.prototype.Ija=function(a){if(this.Mn!=a){if(a!=m)this.gG=m;this.Mn=a;this.N&&this.N.zc();this.Ja()}};r.prototype.wja=function(a){if(this.Mz!=a){if(a!=m)this.fG=m;this.Mz=a;this.N&&this.N.zc();this.Ja()}};r.prototype.Xia=
function(a){if(this.zx!=a){if(a!=m)this.dG=m;this.zx=a;this.N&&this.N.zc();this.Ja()}};r.prototype.sja=function(a){if(this.eG!=a){if(a!=m)this.gn=m;this.eG=a;this.N&&this.N.zc();this.Ja()}};r.prototype.uja=function(a){if(this.gG!=a){if(a!=m)this.Mn=m;this.gG=a;this.N&&this.N.zc();this.Ja()}};r.prototype.tja=function(a){if(this.fG!=a){if(a!=m)this.Mz=m;this.fG=a;this.N&&this.N.zc();this.Ja()}};r.prototype.qja=function(a){if(this.dG!=a){if(a!=m)this.zx=m;this.dG=a;this.N&&this.N.zc();this.Ja()}};r.prototype.$ia=
function(a){if(this.Ho!=a){this.Ho=a;this.N&&this.N.zc()}};r.prototype.aja=function(a){if(this.Io!=a){this.Io=a;this.N&&this.N.zc()}};r.prototype.gm=function(){return isNaN(this.Ih)?this.$g:this.Ih};r.prototype.fm=function(){return isNaN(this.Pr)?this.Zg:this.Pr};r.prototype.lea=function(){return isNaN(this.Vca)?this.w0:this.Vca};r.prototype.dm=function(){return isNaN(this.su)?this.Qy:this.su};r.prototype.Xn=function(){return isNaN(this.ru)?this.Py:this.ru};r.prototype.sI=function(){return isNaN(this.qu)?
1E4:this.qu};r.prototype.rI=function(){return isNaN(this.pu)?1E4:this.pu};r.prototype.Q3=function(a){if(this.QN()!=a){this.Pa().Eqa(a);this.Ja()}};r.prototype.QN=function(){return this.Pa().RF};r.prototype.S3=function(a){if(this.SN()!=a){this.Pa().Gqa(a);this.Ja()}};r.prototype.SN=function(){return this.Pa().TF};r.prototype.R3=function(a){if(this.RN()!=a){this.Pa().Fqa(a);this.Ja()}};r.prototype.RN=function(){return this.Pa().SF};r.prototype.P3=function(a){if(this.PN()!=a){this.Pa().Dqa(a);this.Ja()}};
r.prototype.PN=function(){return this.Pa().QF};r.prototype.iC=function(a){if(this.ks!=a){this.ks=a;this.Eg()}};r.prototype.jC=function(a){if(this.ls!=a){this.ls=a;this.Eg()}};r.prototype.yi=function(a){if(this.vb!=a){this.vb=a;l.css(this.wu(),{filter:"alpha(opacity="+Math.round(this.vb*100)+") ",opacity:this.vb});this.Fv();this.Eg()}};r.prototype.ri=P("vb");r.prototype.Uia=function(a){if(this.mb().Im!=a){this.Tg().wU(a);this.mb().wU(a)}};r.prototype.Cda=function(){return this.mb().Im};r.prototype.Via=
function(a){if(this.mb().Jm!=a){this.Tg().xU(a);this.mb().xU(a)}};r.prototype.Dda=function(){return this.mb().Jm};r.prototype.Mia=function(a){if(this.mb().Gm!=a){this.Tg().rU(a);this.mb().rU(a)}};r.prototype.Ada=function(){return this.mb().Gm};r.prototype.Nia=function(a){if(this.mb().Hm!=a){this.Tg().sU(a);this.mb().sU(a)}};r.prototype.Bda=function(){return this.mb().Hm};r.prototype.Qia=function(a){if(this.mb().Tj!=a){this.mb().uU(a);this.Pa().uU(a);this.Ja()}};r.prototype.YZ=function(){return this.mb().Tj};
r.prototype.Wia=function(a){if(this.mb().Vj!=a){this.mb().yU(a);this.Pa().yU(a);this.Ja()}};r.prototype.$Z=function(){return this.mb().Vj};r.prototype.Sia=function(a){if(this.mb().Uj!=a){this.mb().vU(a);this.Pa().vU(a);this.Ja()}};r.prototype.ZZ=function(){return this.mb().Uj};r.prototype.Oia=function(a){if(this.mb().Sj!=a){this.mb().tU(a);this.Pa().tU(a);this.Ja()}};r.prototype.XZ=function(){return this.mb().Sj};r.prototype.Pia=function(a){this.mb().Opa(a)};r.prototype.Tia=function(a){this.mb().Qpa(a)};
r.prototype.Ria=function(a){this.mb().Ppa(a)};r.prototype.Lia=function(a){this.mb().Npa(a)};r.prototype.TG=function(a){this.Tg().We(a)};r.prototype.Cja=function(a){this.Tg().dqa(a)};r.prototype.Fja=function(a){this.Tg().Uqa(a)};r.prototype.Aja=function(a){this.Tg().Mpa(a)};r.prototype.Eja=function(a){this.Tg().Oqa(a)};r.prototype.Dja=function(a){this.Tg().yi(a)};r.prototype.Bja=function(a){this.Tg().Bw(a)};r.prototype.Iia=function(a){this.yda()!=a&&this.mb().yi(a)};r.prototype.yda=function(){return this.mb().ri()};
r.prototype.Eia=function(a){this.xda()!=a&&this.mb().Bw(a)};r.prototype.xda=function(){return this.mb().pd};r.prototype.Gia=function(a){this.mb().Upa(a)};r.prototype.Fia=function(a){this.mb().Tpa(a)};r.prototype.Hia=function(a){this.mb().gqa(a)};r.prototype.Rp=function(a){if(this.Fe!=a){this.Fe=a;this.Eg()}};r.prototype.Is=function(a){if(this.gk!=a){this.gk=a;l.css(this.wu(),{"z-index":this.gk?n.jW:n.iW});this.Pa().F8(this.gk);this.Eg()}};r.prototype.YQ=function(a){if(this.t2!=a){this.t2=a;l.css(this.Um(),
{"z-index":this.t2?n.PW:n.OW});this.Eg()}};r.prototype.Qj=function(){this.Fv();this.IB()};r.prototype.ei=function(){this.Fv()};r.prototype.BQ=D();r.prototype.uy=function(){this.IB();this.bc();this.Ja();this.zc();this.Eg()};r.prototype.mn=function(){this.Py=this.Qy=this.Zg=this.$g=0;this.w0=m};r.prototype.IB=function(){var a=this.cb();a&&a.St.IB(this)};r.prototype.bc=function(){var a=this.cb();a&&a.St.bc(this)};r.prototype.Ja=function(){var a=this.cb();a&&a.St.Ja(this)};r.prototype.zc=function(){var a=
this.cb();a&&a.St.zc(this)};r.prototype.Eg=function(){var a=this.cb();a&&a.St.Eg(this)};r.prototype.$N=function(){var a=isNaN(this.eG)&&isNaN(this.gn),b=isNaN(this.fG)&&isNaN(this.Mz);return isNaN(this.Ih)&&isNaN(this.bi)&&(a||b)?p:y};r.prototype.H_=function(){var a=isNaN(this.gG)&&isNaN(this.Mn),b=isNaN(this.dG)&&isNaN(this.zx);return isNaN(this.Pr)&&isNaN(this.ai)&&(a||b)?p:y};r.prototype.Dla=function(){this.mn();var a=this.lea();if(a){var b=this.$N(),e=this.H_();if(b&&!e){b=this.sd();if(b!=0){this.$g=
b*a+this.oh()+this.$l();this.Zg=b+this.am()+this.bw()}}else if(!b&&e){b=this.td();if(b!=0){this.Zg=b/a+this.oh()+this.$l();this.$g=b+this.oh()+this.$l()}}}if(!isNaN(this.su)&&this.$g<this.su)this.$g=this.su;if(!isNaN(this.qu)&&this.$g>this.qu)this.$g=this.qu;if(!isNaN(this.ru)&&this.Zg<this.ru)this.Zg=this.ru;if(!isNaN(this.pu)&&this.Zg>this.pu)this.Zg=this.pu};r.prototype.Ka=function(){if(!this.c5){this.c5=p;var a=this.Um(),b=this.wu();a.appendChild(this.Tg().zB());a.appendChild(b);b.appendChild(this.mb().zB());
b.appendChild(this.Pa().zB())}};r.prototype.sra=function(){this.Dla();var a=this.gm(),b=this.fm(),e=this.dm(),c=this.Xn();if(a!=this.bga||b!=this.aga||e!=this.Yfa||c!=this.Xfa||this.bi!=this.$fa||this.ai!=this.Zfa){this.bga=a;this.aga=b;this.Yfa=e;this.Xfa=c;this.$fa=this.bi;this.Zfa=this.ai;return p}return y};r.prototype.da=function(){this.Eg()};r.prototype.wh=D();r.prototype.v8=function(a,b,c,h){if(this.Z!=a||this.$!=b||this.T!=c||this.ca!=h){this.Z=a;this.$=b;this.T=c;this.ca=h;this.mb().setSize(this.T,
this.ca);this.zc();this.Eg();this.trigger(new e(g.ub))}};r.prototype.he=function(){var a=this.Um(),b=this.wu();if(this.Yc){b.style.width=this.T+"px";b.style.height=this.ca+"px";a.style.left=this.Z+this.ks+"px";a.style.top=this.$+this.ls+"px";a.style.width=this.T+"px";a.style.height=this.ca+"px";a.style.visibility="inherit";a.style.overflow="visible";a.style.cursor=this.na&&this.na.MM.v6(this.Fe);if(b.clientWidth===0&&this.T!==0){a.style.width=0;a.style.width=this.T+"px"}}else{a.style.visibility="hidden";
a.style.width=0;a.style.height=0;a.style.overflow="hidden";b.style.width=0;b.style.height=0}this.Tg().he();this.mb().he();this.Pa().he();if(!this.$_&&this.na){this.$_=p;this.na.l4?this.sO():this.na.bind(g.Ii,this.sO,this,p)}};r.prototype.sO=function(){this.trigger(g.INIT)};r.prototype.Ona=function(a){var a=a.fb().offset(),b=this.fb().offset(),e={};e.left=b.left-a.left;e.top=b.top-a.top;if(this.na){e.left=e.left/this.na.Vu;e.top=e.top/this.na.Vu}return e};r.$o=0;return r});
define("F","require,cL,hp,jq,bL,et,is".split(","),function(a){var b=a("cL"),c=a("hp"),d=a("jq"),f=a("bL"),g=a("et"),k=a("is"),j=c.extend(k,function(){this.Zf={};this.Dn=this.MZ=m;this.Gp={};this.JZ=p;this.m4={};k.call(this);this.xca();this.oa();this.xc("UICustomizable");this.bc()});j.Za={visible:p,includeInLayout:p,state:m,left:m,right:m,top:m,bottom:m,centerX:m,centerY:m,width:m,height:m,minWidth:m,minHeight:m,maxWidth:m,maxHeight:m,actualWidth:m,actualHeight:m,paddingLeft:0,paddingTop:0,paddingRight:0,
paddingBottom:0,opacity:1,borderRadius:0,borderTopRadius:m,borderBottomRadius:m,borderLeftRadius:m,borderRightRadius:m,borderTopLeftRadius:m,borderTopRightRadius:m,borderBottomLeftRadius:m,borderBottomRightRadius:m,borderSize:0,borderLeftSize:m,borderTopSize:m,borderRightSize:m,borderBottomSize:m,borderColor:m,borderLeftColor:m,borderTopColor:m,borderRightColor:m,borderBottomColor:m,shadow:y,shadowHorizontalLength:0,shadowVerticalLength:3,shadowBlurRadius:6,shadowSpread:0,shadowColor:"#000000",shadowOpacity:m,
backgroundOpacity:1,backgroundColor:m,backgroundColorRatios:m,backgroundColorDirection:m,backgroundImageUrl:m,hideEffect:m,showEffect:m};j.prototype.xca=function(){this.m4[g.Sa]=g.sa};j.prototype.oa=function(){this.Ri(j.Za)};j.prototype.Ri=function(a){for(var b in a){var e=a[b],c=e&&e.length;!c||typeof e=="string"?this.f(b,e):c==1?this.f(b,e[0]):c==2?this.h(b,e[0],e[1]):c==3&&this.h(b,e[0],e[1],e[2])}};j.prototype.f=function(a,b){this.Zf[a]={i:p,d:b}};j.prototype.pea=function(){var a=[],b;for(b in this.Zf)a.push(b);
return a};j.prototype.h=function(a,b,e,c){this.Gp[b]||(this.Gp[b]={});this.f(a,c);this.Gp[b][e]=a};j.prototype.tv=function(a,b){if(b)this.MZ=a;else if(this.MZ!=m)return;if(this.Dn!=a){var e=this.Gp[this.Dn];if(e)for(var c in e)(this.Zf[c]||(this.Zf[c]={})).i=p;this.Dn=a;if(e=this.Gp[this.Dn])for(c in e)(this.Zf[c]||(this.Zf[c]={})).i=p;this.bc()}};j.prototype.S=function(a){if(b(a).isString())this.set(a,m);else{var c=a;for(a in c)this.set(a,c[a])}};j.prototype.set=function(a,c){var e=this.Zf[a];if(e){c==
m&&(c=e.d);if(!b.isEqual(this.get(a),c)){a=="state"&&this.tv(c,p);k.prototype.set.call(this,a,c);e.i=p;this.bc()}}else k.prototype.set.call(this,a,c)};j.prototype.get=function(a,b){switch(a){case "actualWidth":return this.Aa();case "actualHeight":return this.bb();default:var e=k.prototype.get.call(this,a);if(e===m){var c=this.Zf[a];c&&(e=c.d);e===m&&(e=b)}return e}};j.prototype.NX=function(){for(var a=["paddingLeft","paddingTop","paddingRight","paddingBottom","borderRadius","borderTopRadius","borderBottomRadius",
"borderLeftRadius","borderRightRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","borderSize","borderLeftSize","borderTopSize","borderRightSize","borderBottomSize"],b=0;b<a.length;b++)if(this.n(a[b]))return p;return y};j.prototype.n=function(a){if((this.Zf[a]||{}).i)return p;if(this.Dn!==m){a=this.Gp[this.Dn][a];return!!(this.Zf[a]||{}).i}};j.prototype.Js=function(a){(this.Zf[a]||(this.Zf[a]={})).i=p;this.bc()};j.prototype.o=function(a){(this.Zf[a]||
(this.Zf[a]={})).i=y;if(this.Dn!=m)(a=this.Gp[this.Dn][a])&&((this.Zf[a]||(this.Zf[a]={})).i=y)};j.prototype.j=function(){for(var a,b=0;b<arguments.length;b++){for(var e=arguments[b],c=this.Dn;c;){if(a=this.Gp[c][e]){a=this.get(a);if(a!=m&&a!=q)return a}c=this.m4[c]}a=this.get(e);if(a!=m&&a!=q)return a}};j.prototype.gR=function(a){a.source.unbind(d.ua,this.gR,this);this.trigger(new f(d.Jt))};j.prototype.hO=function(a){a.source.unbind(d.ua,this.hO,this);this.trigger(new f(d.br))};j.prototype.da=function(){if(this.JZ)this.JZ=
y;else if(this.n("visible")){var a=this.j("visible"),b=this.get(a?"hideEffect":"showEffect");if(b&&b.qt(this)){b.unbind(d.ua,a?this.hO:this.gR,this);b.end()}if(b=this.get(a?"showEffect":"hideEffect")){if(!b.qt(this)){this.o("visible");b.bind(d.ua,a?this.gR:this.hO,this);b.play(this)}}else this.trigger(new f(a?d.Jt:d.br))}if(this.n("visible")){this.We(this.j("visible"));this.o("visible")}if(this.n("includeInLayout")){this.lja(this.j("includeInLayout"));this.o("includeInLayout")}if(this.n("left")){b=
this.j("left");a=j.yj(b);b=a===m?b:m;this.sja(a);this.nja(b);this.o("left")}if(this.n("top")){b=this.j("top");a=j.yj(b);b=a===m?b:m;this.uja(a);this.Ija(b);this.o("top")}if(this.n("right")){b=this.j("right");a=j.yj(b);b=a===m?b:m;this.tja(a);this.wja(b);this.o("right")}if(this.n("bottom")){b=this.j("bottom");a=j.yj(b);b=a===m?b:m;this.qja(a);this.Xia(b);this.o("bottom")}if(this.n("centerX")){this.$ia(this.j("centerX"));this.o("centerX")}if(this.n("centerY")){this.aja(this.j("centerY"));this.o("centerY")}if(this.n("width")){b=
this.j("width");a=j.yj(b);b=a===m?b:m;this.vja(a);this.hja(b);this.o("width")}if(this.n("height")){b=this.j("height");a=j.yj(b);b=a===m?b:m;this.rja(a);this.cja(b);this.o("height")}if(this.n("minWidth")){b=this.j("minWidth");this.gja(b);this.o("minWidth")}if(this.n("minHeight")){b=this.j("minHeight");this.fja(b);this.o("minHeight")}if(this.n("maxWidth")){b=this.j("maxWidth");this.eja(b);this.o("maxWidth")}if(this.n("maxHeight")){b=this.j("maxHeight");this.dja(b);this.o("maxHeight")}if(this.n("paddingLeft")){this.Q3(this.j("paddingLeft"));
this.o("paddingLeft")}if(this.n("paddingTop")){this.S3(this.j("paddingTop"));this.o("paddingTop")}if(this.n("paddingRight")){this.R3(this.j("paddingRight"));this.o("paddingRight")}if(this.n("paddingBottom")){this.P3(this.j("paddingBottom"));this.o("paddingBottom")}a=y;if(this.n("borderRadius")){this.o("borderRadius");a=p}b=y;if(this.n("borderLeftRadius")){this.o("borderLeftRadius");b=p}var e=y;if(this.n("borderTopRadius")){this.o("borderTopRadius");e=p}var c=y;if(this.n("borderRightRadius")){this.o("borderRightRadius");
c=p}var g=y;if(this.n("borderBottomRadius")){this.o("borderBottomRadius");g=p}if(this.n("borderTopLeftRadius")||e||b||a){this.Uia(this.j("borderTopLeftRadius","borderLeftRadius","borderTopRadius","borderRadius"));this.o("borderTopLeftRadius")}if(this.n("borderTopRightRadius")||e||c||a){this.Via(this.j("borderTopRightRadius","borderRightRadius","borderTopRadius","borderRadius"));this.o("borderTopRightRadius")}if(this.n("borderBottomLeftRadius")||g||b||a){this.Mia(this.j("borderBottomLeftRadius","borderLeftRadius",
"borderBottomRadius","borderRadius"));this.o("borderBottomLeftRadius")}if(this.n("borderBottomRightRadius")||g||c||a){this.Nia(this.j("borderBottomRightRadius","borderRightRadius","borderBottomRadius","borderRadius"));this.o("borderBottomRightRadius")}a=y;if(this.n("borderSize")){this.o("borderSize");a=p}if(this.n("borderLeftSize")||a){this.Qia(this.j("borderLeftSize","borderSize"));this.o("borderLeftSize")}if(this.n("borderTopSize")||a){this.Wia(this.j("borderTopSize","borderSize"));this.o("borderTopSize")}if(this.n("borderRightSize")||
a){this.Sia(this.j("borderRightSize","borderSize"));this.o("borderRightSize")}if(this.n("borderBottomSize")||a){this.Oia(this.j("borderBottomSize","borderSize"));this.o("borderBottomSize")}a=y;if(this.n("borderColor")){this.o("borderColor");a=p}if(this.n("borderLeftColor")||a){this.Pia(this.j("borderLeftColor","borderColor"));this.o("borderLeftColor")}if(this.n("borderTopColor")||a){this.Tia(this.j("borderTopColor","borderColor"));this.o("borderTopColor")}if(this.n("borderRightColor")||a){this.Ria(this.j("borderRightColor",
"borderColor"));this.o("borderRightColor")}if(this.n("borderBottomColor")||a){this.Lia(this.j("borderBottomColor","borderColor"));this.o("borderBottomColor")}if(this.n("shadow")){this.TG(this.j("shadow"));this.o("shadow")}if(this.n("shadowHorizontalLength")){this.Cja(this.j("shadowHorizontalLength"));this.o("shadowHorizontalLength")}if(this.n("shadowVerticalLength")){this.Fja(this.j("shadowVerticalLength"));this.o("shadowVerticalLength")}if(this.n("shadowBlurRadius")){this.Aja(this.j("shadowBlurRadius"));
this.o("shadowBlurRadius")}if(this.n("shadowSpread")){this.Eja(this.j("shadowSpread"));this.o("shadowSpread")}if(this.n("shadowColor")){this.Bja(this.j("shadowColor"));this.o("shadowColor")}a=y;if(this.n("opacity")){this.yi(this.j("opacity"));this.o("opacity");a=p}if(this.n("shadowOpacity")||a){this.Dja(this.j("shadowOpacity","opacity"));this.o("shadowOpacity")}if(this.n("backgroundOpacity")){this.Iia(this.j("backgroundOpacity"));this.o("backgroundOpacity")}if(this.n("backgroundColor")){this.Eia(this.j("backgroundColor"));
this.o("backgroundColor")}if(this.n("backgroundColorRatios")){this.Gia(this.j("backgroundColorRatios"));this.o("backgroundColorRatios")}if(this.n("backgroundColorDirection")){this.Fia(this.j("backgroundColorDirection"));this.o("backgroundColorDirection")}if(this.n("backgroundImageUrl")){this.Hia(this.j("backgroundImageUrl"));this.o("backgroundImageUrl")}k.prototype.da.call(this)};j.yj=function(a){if(b(a).isString())if((a=a.match(/^\s*([+-]?\d+\.?\d*)\s*%\s*$/))&&a.length>=2)return parseFloat(a[1])};
return j});define("gk",["cL","hp","bL"],function(a,b,c){return b.extend(c,function(b,f,g){a.isNumber(f)||(f=1);a.isNumber(g)||(g=0);c.call(this,b);this.scale=f;this.rotation=g})});define("jt",["cL","hp","bL"],function(a,b,c){return b.extend(c,function(a,b,g,k,j,h,n){c.call(this,a);this.x=b;this.y=g;this.pageX=k;this.pageY=j;this.Sn=h;this.XS=n})});
define("d","require,jquery.mod,cL,hp,jq,et,hJ,F,gk,jt,em,t,hS".split(","),function(a){var b=a("jquery.mod"),c=a("cL"),d=a("hp"),f=a("jq"),g=a("et"),k=a("hJ"),j=a("F"),h=a("gk"),n=a("jt");a("em");var e=a("t"),a=a("hS"),l=d.extend(j,function(){j.call(this);this.xc("UIComponent");this.gE=[];this.Vy=[];this.Gca=500;this.rb=1;this.Wi=e.fJ();this.xy=this.Zm=this.OE=y;this.set("propagateClick",p)});l.Za={autoRolledOver:y,autoPressed:y,contentOpaque:p,cursor:m,inheritedCursor:m,inheritedInteractionEnabled:p,
rollOverOpacity:[g.q,"opacity"],rollOverShadow:[g.q,"shadow"]};c.defaults(l.Za,j.Za);l.prototype.oa=function(){this.Ri(l.Za)};l.prototype.aY=function(){this.U3(p)};l.prototype.$X=function(){this.U3(y)};l.prototype.YX=function(){this.sv(p)};l.prototype.ZX=function(){this.sv(y)};l.prototype.Wz=function(a){if(this.Zm!=a){this.Zm=a;this.Rd()}};l.prototype.sv=function(a){if(this.xy!=a){this.xy=a;this.Rd()}};l.prototype.U3=function(a){if(this.OE!=a){this.OE=a;this.Rd()}};l.prototype.Rd=function(){this.Zm?
this.tv(g.F):this.xy&&this.OE?this.tv(g.Sa):this.xy?this.tv(g.sa):this.OE?this.tv(g.q):this.tv(g.uc)};l.prototype.trigger=function(){j.prototype.trigger.apply(this,arguments)};l.prototype.U4=function(a){this.trigger(new n(f.lb,a.x,a.y,a.pageX,a.pageY))};l.prototype.V4=function(a){this.trigger(new n(f.Ac,a.x,a.y,a.pageX,a.pageY))};l.prototype.W4=function(a){this.trigger(new n(f.Gb,a.x,a.y,a.pageX,a.pageY))};l.prototype.Rka=function(a,b){this.trigger(new n(f.vo,a.x,a.y,a.pageX,a.pageY,b.Sn,b.XS))};
l.prototype.Q4=function(a){this.trigger(new n(f.W,a.x,a.y,a.pageX,a.pageY))};l.prototype.R4=function(a){this.trigger(new n(f.UC,a.x,a.y,a.pageX,a.pageY))};l.prototype.Tka=function(){this.trigger(new n(f.Cc))};l.prototype.Ska=function(){this.trigger(new n(f.ec))};l.prototype.Pka=function(){this.trigger(new n(f.Oj))};l.prototype.Qka=function(){this.trigger(new n(f.sf))};l.prototype.Oka=function(a,b){this.trigger(new h(f.OC,a,b))};l.prototype.Mka=function(a,b){this.trigger(new h(f.J9,a,b))};l.prototype.Nka=
function(a,b){this.trigger(new h(f.NC,a,b))};l.prototype.S4=function(a){this.trigger(new h(f.K9,m,a))};l.prototype.T4=function(a){this.trigger(new h(f.Ht,a))};l.prototype.GR=function(a){a.stopImmediatePropagation();this.nu(["touchend"]);if(this.DO(a))this.pQ(a);else{this.T_();this.T2(a,p)}};l.prototype.T2=function(a,b){var e=this.iy(a);b&&this.Gka(e);this.U4(e);this.N&&this.N.T2(a,b&&this.get("propagateClick"))};l.prototype.FR=function(a){a.preventDefault();a.stopImmediatePropagation();this.DO(a)?
this.nQ(a):this.S2(a)};l.prototype.S2=function(a){var b=this.iy(a);this.Fka(b);this.V4(b);this.N&&this.N.S2(a)};l.prototype.c_=function(a,b){var e=a.pageX-b.pageX,c=a.pageY-b.pageY;return Math.sqrt(e*e+c*c)};l.prototype.Zp=function(a,b){this.Tx(["touchend"]);b!==y&&a.preventDefault();a.stopImmediatePropagation();this.DO(a)?this.oQ(a):this.R2(a,this.c0());this.tx()};l.prototype.R2=function(a,b){this.W4(this.iy(a));this.Eka(b);this.N&&this.N.R2(a)};l.prototype.Gka=function(a){this.bind(f.ec,this.L4,
this,p);this.Ps=a};l.prototype.Fka=function(a){if(this.Ps){var a=this.c_(this.Ps,a),b;if(e.Na()){b=this.cb();b=Math.min(b.Aa(),b.bb())*0.01;b=l.I$*b}else b=l.O$;a>b&&this.ER()}};l.prototype.Eka=function(a){if(this.Ps){this.Q4(this.Ps);a&&this.R4(this.Ps);this.ER()}};l.prototype.ER=function(){if(this.Ps){this.unbind(f.ec,this.L4,this);this.Ps=m}};l.prototype.L4=function(){this.ER()};l.prototype.xN=function(a){this.nu(["gesturechange","gestureend"]);a.preventDefault();a.stopImmediatePropagation();this.pQ(a)};
l.prototype.pQ=function(a){var b=this.IN(a);this.bv=b;this.Oka(b.scale,b.rotation);this.N&&this.N.pQ(a)};l.prototype.PZ=function(a){a.preventDefault();a.stopImmediatePropagation();this.nQ(a)};l.prototype.nQ=function(a){var b=this.IN(a,this.bv),e=b.rotation-this.bv.rotation,c=b.scale/this.bv.scale;this.bv=b;this.rb=this.rb*c;for(this.Fd=this.Fd+e;this.Fd>180;)this.Fd=this.Fd-360;for(;this.Fd<-180;)this.Fd=this.Fd+360;this.Mka(this.rb,this.Fd);e!=0&&this.S4(this.Fd);c!=1&&this.T4(this.rb);this.N&&this.N.nQ(a)};
l.prototype.RZ=function(a){this.Tx(["gesturechange","gestureend"]);a.preventDefault();a.stopImmediatePropagation();this.oQ(a)};l.prototype.oQ=function(a){var b=this.IN(a),e=b.rotation-this.bv.rotation,b=b.scale/this.bv.scale;this.rb=this.rb*b;for(this.Fd=this.Fd+e;this.Fd>180;)this.Fd=this.Fd-360;for(;this.Fd<-180;)this.Fd=this.Fd+360;this.Nka(this.rb,this.Fd);e!=0&&this.S4(this.Fd);b!=1&&this.T4(this.rb);this.N&&this.N.oQ(a)};l.prototype.fP=function(a){this.nu(["mouseup"]);a.stopImmediatePropagation();
this.T_();this.N2(a,p);r&&this.Lfa(a.ctrlKey)};l.prototype.N2=function(a,b){var e=this.Ur(a);b&&this.Iba(e);this.U4(e);this.N&&this.N.N2(a,b&&this.get("propagateClick"))};l.prototype.gP=function(a){a.preventDefault();a.stopImmediatePropagation();this.cb().Cw(this);this.O2(a)};l.prototype.O2=function(a){var b=this.Ur(a);this.Hba(b);this.V4(b);this.N&&this.N.O2(a)};l.prototype.qF=function(a){this.Tx(["mouseup"]);a.preventDefault();a.stopImmediatePropagation();this.P2(a,this.c0())};l.prototype.P2=function(a,
b){this.W4(this.Ur(a));this.Gba(b);this.N&&this.N.P2(a,b)};l.prototype.Iba=function(a){this.bind(f.ec,this.NY,this,p);this.Ar=a};l.prototype.Hba=function(a){this.Ar&&this.c_(this.Ar,a)>l.D$&&this.ZL()};l.prototype.Gba=function(a){if(this.Ar){this.Q4(this.Ar);a&&this.R4(this.Ar);this.ZL()}};l.prototype.ZL=function(){if(this.Ar){this.unbind(f.ec,this.NY,this);this.Ar=m}};l.prototype.NY=function(){this.ZL()};l.prototype.B0=function(a){if(this.na.A0){a.preventDefault();a.stopImmediatePropagation();this.Q2(a)}};
l.prototype.vY=R(y);l.prototype.Q2=function(a){var b=this.Ur(a),e=this.eea(a);this.N&&!this.vY(e.Sn)&&this.N.Q2(a);this.Rka(b,e)};l.prototype.Ur=function(a){return this.AN(a.pageX,a.pageY)};l.prototype.eea=function(a){var a=window.event||a.originalEvent||a,b={};b.Sn=Math.max(-1,Math.min(1,a.wheelDelta||-a.detail));b.XS=a.wheelDelta?a.wheelDelta*0.01:b.Sn;return b};l.prototype.iy=function(a){var b=this.FN(a);return this.Jha=a=b===m?this.AN(a.pageX,a.pageY):b.length==0?this.Jha:this.AN(b[0].pageX,b[0].pageY)};
l.prototype.DO=function(a){if((a=this.FN(a))&&a.length>1)for(var b=0,e=0;e<a.length;e++)if(this.pfa(a[e].target)){b++;if(b>1)return p}return y};l.prototype.pfa=function(a){for(;a;){if(a==this.Ta)return p;a=a.parentNode}return y};l.prototype.FN=function(a){return a.originalEvent.touches||a.originalEvent.targetTouches||a.originalEvent.changedTouches};l.prototype.AN=function(a,b){var e=this.fb().offset(),c=this.na.Vu,g={};g.x=(a-e.left)/c;g.y=(b-e.top)/c;g.pageX=a/c;g.pageY=b/c;g.a8=a;g.b8=b;return g};
l.prototype.IN=function(a,b){if(a.originalEvent.scale!==m||a.originalEvent.rotation!==m)return{scale:a.originalEvent.scale,rotation:a.originalEvent.rotation};if(b){var e=this.j_(a);return{scale:b.scale*e/b.touchesDistance,rotation:0,touchesDistance:e}}return{scale:1,rotation:0,touchesDistance:this.j_(a)}};l.prototype.j_=function(a){var b=this.FN(a);if(b&&b.length>1){a=Math.abs(b[0].pageX-b[1].pageX);b=Math.abs(b[0].pageY-b[1].pageY);return Math.sqrt(a*a+b*b)}return 0};l.prototype.nu=function(a){this.gE=
c(this.gE).union(a);for(var a=this.i_(a),b=0;b<a.length;b++){var e=a[b];e.target.bind(e.name,e.handler)}};l.prototype.T_=function(){this.Vy.push((new Date).getTime());this.Vy=this.Vy.slice(-2)};l.prototype.c0=function(){var a=(new Date).getTime();if(this.Vy.length>1){var b=this.Vy.slice(-2)[0];if(a-b<=this.Gca)return p}return y};l.prototype.Tx=function(a){this.gE=c(this.gE).difference(a);for(var a=this.i_(a),b=0;b<a.length;b++){var e=a[b];e.target.unbind(e.name,e.handler)}};l.prototype.i_=function(a){this.GZ||
(this.GZ=this.EN());for(var b=[],e=0;e<a.length;e++)b=b.concat(this.GZ[a[e]]);return b};l.prototype.EN=function(){var a=this.fb(),e=b(document),c=b(window);return{touchstart:[{target:a,name:"touchstart",handler:this.ue(this.GR)}],touchmove:[{target:a,name:"touchmove",handler:this.ue(this.FR)}],touchend:[{target:a,name:"touchend",handler:this.ue(this.Zp,p)},{target:e,name:"touchend",handler:this.ue(this.Zp,p)},{target:a,name:"touchcancel",handler:this.ue(this.Zp,p)},{target:e,name:"touchcancel",handler:this.ue(this.Zp,
p)}],gesturestart:[{target:a,name:"gesturestart",handler:this.ue(this.xN)}],gesturechange:[{target:a,name:"gesturechange",handler:this.ue(this.PZ)}],gestureend:[{target:a,name:"gestureend",handler:this.ue(this.RZ)}],mousedown:[{target:a,name:"mousedown",handler:this.ue(this.fP)}],mousemove:[{target:a,name:"mousemove",handler:this.ue(this.gP)}],mouseup:[{target:a,name:"mouseup",handler:this.ue(this.qF,p)},{target:c,name:"mouseup",handler:this.ue(this.qF,p)}],mousewheel:[{target:a,name:"mousewheel",
handler:this.ue(this.B0)},{target:a,name:"DOMMouseScroll",handler:this.ue(this.B0)}]}};l.prototype.ue=function(a,b){var e=this;return function(){b&&k.jJ();l.TA=l.TA+1;var c=a.apply(e,arguments);l.TA=l.TA-1;return c}};l.prototype.da=function(){if(this.n("autoRolledOver")){this.unbind(f.Cc,this.aY,this);this.unbind(f.ec,this.$X,this);if(this.j("autoRolledOver")){this.bind(f.Cc,this.aY,this);this.bind(f.ec,this.$X,this)}this.o("autoRolledOver")}if(this.n("autoPressed")){this.unbind(f.lb,this.YX);this.unbind(f.Gb,
this.ZX);if(this.j("autoPressed")){this.bind(f.lb,this.YX);this.bind(f.Gb,this.ZX)}this.o("autoPressed")}var a=y;if(this.n("contentOpaque")){a=p;this.o("contentOpaque")}if(this.n("inheritedInteractionEnabled")){a=p;this.o("inheritedInteractionEnabled")}if(this.n("backgroundOpacity")||this.n("backgroundColor"))a=p;j.prototype.da.call(this);if(a){var b=this.mb(),b=b.ri()>0&&b.Br.length>0,e=this.j("contentOpaque");this.Hs(this.j("inheritedInteractionEnabled")&&(e||b))}if(a||this.n("cursor")||this.n("inheritedCursor")){this.o("cursor");
this.o("inheritedCursor");this.lD?this.Rp(this.j("cursor")):this.Rp(this.j("inheritedCursor"))}};l.prototype.Hs=function(a){if(this.lD!=a){(this.lD=a)?this.nu(l.BX):this.Tx(l.BX);this.tx()}};l.prototype.tx=function(){this.Um().style["pointer-events"]=this.lD?"all":"none"};l.prototype.Lfa=function(a){if(a){for(var a=[],b=this;b;){a.push(b);b=b.getParent()}console.log(a.map(function(a){return a.xx}))}else console.log(this.xx)};l.rw=function(){return l.TA>0};l.BX=function(){var a=[],a=a.concat(["touchstart",
"touchmove","gesturestart"]);e.ud()!=e.Hi&&(a=a.concat(["mousedown","mousemove","mousewheel"]));return a}();l.TA=0;l.rsa=1E3;l.O$=10;l.I$=5;l.D$=10;var r=a.Yl("debug");return l});define("X",[],function(){return{ha:"left",Ea:"right",tc:"center",Ya:"top",Xa:"bottom",cc:"middle"}});define("c",[],function(){return{eV:"absolute",Be:"horizontal",so:"grid",Ye:"vertical"}});define("bM",[],function(){return function(a){this.Df=a;this.height=this.width=this.y=this.x=0}});
define("cy",[],function(){return function(){this.minHeight=this.minWidth=this.height=this.width=0}});
define("bz",["X","bM","cy"],function(a,b,c){function d(){this.wb=q;this.cg=a.Ya;this.Pf=a.ha;this.Xs=this.Wm=0}d.prototype.D8=function(a){this.Wm!=a&&(this.Wm=a,this.Gc())};d.prototype.bJ=function(a){this.Xs!=a&&(this.Xs=a,this.Gc())};d.prototype.S8=function(a){this.wb=a;this.Gc()};d.prototype.Ew=function(a){this.Pf!=a&&(this.Pf=a,this.Gc())};d.prototype.Gw=function(a){this.cg!=a&&(this.cg=a,this.Gc())};d.prototype.PB=function(){return new c};d.prototype.update=function(){var a=this.Xba();this.Ev(a);
this.bja(a)};d.prototype.Ev=function(a){this.CA(a);this.BA(a)};d.prototype.vE=function(){for(var a=this.E_(),b=[],c=0;c<a.length;c++){var j=a[c];j.get("includeInLayout")&&b.push(j)}return b};d.prototype.E_=function(){for(var a=this.wb.Qa(),b=[],c=0;c<a.length;c++){var j=a[c];j.get("visible")&&b.push(j)}return b};d.prototype.Xba=function(){for(var a=this.E_(),c=[],d=0;d<a.length;d++)c.push(new b(a[d]));return c};d.prototype.bja=function(a){for(var b=0;b<a.length;b++){var c=a[b];c.Df.v8(c.x,c.y,c.width,
c.height)}};d.prototype.Gc=function(){this.wb&&this.wb.Ja()};return d});
define("ct",["hp","X","bz","cy"],function(a,b,c,d){a=a.extend(c,function(){c.call(this)});a.prototype.PB=function(){for(var a=new d,b=this.vE(),c=0;c<b.length;c++){var j=b[c],h=j.gn,n=j.Mz,e=0;isNaN(h)||(e+=h);isNaN(n)||(e+=n);a.width=Math.max(e+j.gm(),a.width);a.minWidth=Math.max(e+j.dm(),a.minWidth);h=j.Mn;n=j.zx;e=0;isNaN(h)||(e+=h);isNaN(n)||(e+=n);a.height=Math.max(e+j.fm(),a.height);a.minHeight=Math.max(e+j.Xn(),a.minHeight)}b=this.wb.oh()+this.wb.$l();a.width+=b;a.minWidth+=b;b=this.wb.am()+
this.wb.bw();a.height+=b;a.minHeight+=b;return a};a.prototype.Ev=function(a){this.CA(a);this.BA(a)};a.prototype.Ev=function(a){for(var b=this.wb.td(),c=this.wb.sd(),j=0;j<a.length;j++){var h=a[j],d=h.Df,e=d.gn;if(isNaN(e)){var l=d.eG;isNaN(l)||(e=Math.round(0.01*l*b))}l=d.Mz;if(isNaN(l)){var r=d.fG;isNaN(r)||(l=Math.round(0.01*r*b))}var r=d.Ho,o=d.Ih;if(isNaN(o)){var s=d.bi;isNaN(s)?!isNaN(e)&&!isNaN(l)&&(o=b-e-l):o=Math.round(0.01*s*b)}s=d.Mn;if(isNaN(s)){var t=d.gG;isNaN(t)||(s=Math.round(0.01*
t*c))}t=d.zx;if(isNaN(t)){var u=d.dG;isNaN(u)||(t=Math.round(0.01*u*c))}var u=d.Io,v=d.Pr;if(isNaN(v)){var x=d.ai;isNaN(x)?!isNaN(s)&&!isNaN(t)&&(v=c-s-t):v=Math.round(0.01*x*c)}h.width=isNaN(o)?d.gm():Math.max(d.dm(),Math.min(d.sI(),o));h.height=isNaN(v)?d.fm():Math.max(d.Xn(),Math.min(d.rI(),v));h.x=!isNaN(e)&&!isNaN(l)?Math.round(e+0.5*(b-l-e-h.width)):isNaN(e)?isNaN(l)?isNaN(r)?0:0.5*b+r-0.5*h.width:b-l-h.width:e;h.y=!isNaN(s)&&!isNaN(t)?Math.round(s+0.5*(c-t-s-h.height)):isNaN(s)?isNaN(t)?isNaN(u)?
0:0.5*c+u-0.5*h.height:c-t-h.height:s}};return a});
define("gH",["hp","X","bz","cy"],function(a,b,c,d){a=a.extend(c,function(){c.call(this);this.yy=this.zy=this.Ay=this.bs=this.$m=this.an=this.Cy=this.hp=this.Ih=m});a.prototype.bqa=function(a){this.Ih!=a&&(this.Ih=a,this.Gc())};a.prototype.lqa=function(a){this.an!=a&&(this.an=a,this.an!=m&&(this.hp=m),this.Gc())};a.prototype.kqa=function(a){this.$m!=a&&(this.$m=a,this.$m!=m&&(this.Cy=m),this.Gc())};a.prototype.tqa=function(a){this.hp!=a&&(this.hp=a,this.an!=m&&(this.an=m),this.Gc())};a.prototype.sqa=
function(a){this.Cy!=a&&(this.Cy=a,this.$m!=m&&(this.$m=m),this.Gc())};a.prototype.qqa=function(a){this.bs!=a&&(this.bs=a,this.Gc())};a.prototype.pqa=function(a){this.Ay!=a&&(this.Ay=a,this.Gc())};a.prototype.oqa=function(a){this.zy!=a&&(this.zy=a,this.Gc())};a.prototype.nqa=function(a){this.yy!=a&&(this.yy=a,this.Gc())};a.prototype.PB=function(){for(var a=new d,b=this.vE(),c=0,j=0;j<b.length;j++)b[j].get("includeInLayout")&&c++;if(!isNaN(this.hp)){isNaN(this.bs)||(a.minWidth=this.bs);for(j=0;j<b.length;j++){var h=
b[j].dm();isNaN(h)||(a.minWidth=Math.max(h,a.minWidth))}}if(isNaN(this.an))for(j=0;j<b.length;j++)h=b[j].gm(),isNaN(h)||(a.width=Math.max(h,a.width));else a.width=this.an;if(isNaN(this.$m))for(j=0;j<b.length;j++)h=b[j].fm(),isNaN(h)||(a.height=Math.max(h,a.height));else a.height=this.$m;isNaN(this.hp)?isNaN(this.Ih)?b=Math.ceil(Math.sqrt(c)):(b=this.Ih-this.wb.oh()-this.wb.$l(),b=Math.max(1,Math.floor((b+this.Wm)/(a.width+this.Wm)))):b=Math.max(1,Math.floor(100/this.hp));c=Math.ceil(c/b);a.width=
a.width*b+Math.max(0,b-1)*this.Wm+this.wb.oh()+this.wb.$l();a.minWidth=a.minWidth+this.wb.oh()+this.wb.$l();a.height=a.height*c+Math.max(0,c-1)*this.Xs+this.wb.am()+this.wb.bw();a.minHeight=0;return a};a.prototype.Ev=function(a){for(var c,d,j=[],h=[],n=0;n<a.length;n++)d=a[n].Df,d.get("includeInLayout")?j.push(a[n]):h.push(a[n]);var e=j.length,l=this.wb.td(),r=this.Wm,o;if(isNaN(this.an))if(isNaN(this.hp)){for(n=a=0;n<j.length;n++)d=j[n].Df,a=Math.max(d.dm(),d.gm(),a);a=Math.min(l,a)}else{if(a=Math.max(1,
Math.floor(100/this.hp)),a=(l-(a-1)*r)/a,n=y,!isNaN(this.zy)&&this.zy<a&&(a=this.zy,n=p),!isNaN(this.bs)&&this.bs>a&&(a=this.bs,n=p),n)a=Math.max(1,Math.floor((l+r)/(a+r))),a=(l-(a-1)*r)/a}else a=this.an;a=Math.max(1,a);o=Math.max(1,Math.floor(0.001+(l+r)/(a+r)));var n=o*a,s=o*(a+r)-r,t=0;if(l>=s)switch(this.Pf){case b.Ea:t=l-s;break;case b.tc:t=Math.round(0.5*(l-s));break;default:t=0}for(var l=[],s=[],u=0;u<o;u++)d=Math.round(n/(o-u)),n-=d,s.push(t),t+=d+r,l.push(d);t=this.wb.sd();u=this.Xs;if(isNaN(this.$m))if(isNaN(this.Cy)){r=
1;for(n=0;n<j.length;n++)d=j[n].Df,r=Math.max(d.Xn(),d.fm(),r)}else{if(r=Math.max(1,100/this.Cy),r=(t-(r-1)*u)/r,n=y,!isNaN(this.yy)&&this.yy<r&&(r=this.yy,n=p),!isNaN(this.Ay)&&this.Ay>r&&(r=this.Ay,n=p),n)r=Math.max(1,Math.floor((t+u)/(r+u))),r=(t-(r-1)*u)/r}else r=this.$m;n=Math.max(1,Math.ceil(e/o));c=n*r;var e=n*(r+u)-u,v=0;if(t>=e)switch(this.cg){case b.Xa:v=t-e;break;case b.cc:v=Math.round(0.5*(t-e))}e=[];t=[];for(d=0;d<n;d++){var x=Math.round(c/(n-d));c-=x;t.push(v);v+=x+u;e.push(x)}for(n=
0;n<j.length;n++)c=j[n],u=n%o,d=Math.floor(n/o),c.x=s[u],c.width=l[u],c.y=t[d],c.height=e[d];for(n=0;n<h.length;n++)c=h[n],c.x=0,c.width=Math.round(a),c.y=0,c.height=Math.round(r)};return a});
define("hm",["hp","X","bz","cy"],function(a,b,c,d){a=a.extend(c,function(){c.call(this)});a.prototype.PB=function(){for(var a=new d,b=this.vE(),c=0;c<b.length;c++){var j=b[c];a.height=Math.max(j.fm(),a.height);a.minHeight=Math.max(j.Xn(),a.minHeight);a.width+=j.gm();a.minWidth+=j.dm()}b=Math.max(0,b.length-1)*this.Wm+this.wb.oh()+this.wb.$l();a.width+=b;a.minWidth+=b;b=this.wb.am()+this.wb.bw();a.height+=b;a.minHeight+=b;return a};a.prototype.Ev=function(a){this.CA(a);this.BA(a)};a.prototype.CA=function(a){for(var b=
0,c=0;c<a.length;c++)a[c].Df.get("includeInLayout")&&b++;for(var c=Math.max(0,b-1)*this.Wm,j=this.wb.td()-c,h=this.wb.sd(),b=j,d=0,e=[],c=0;c<a.length;c++){var l=a[c],r=l.Df,o=r.ai;l.height=isNaN(o)?r.fm():Math.max(r.Xn(),Math.min(r.rI(),Math.round(0.01*h*o)));o=r.bi;isNaN(o)?(l.width=r.gm(),b-=l.width):r.get("includeInLayout")?(d+=o,e.push(l)):l.width=Math.max(r.dm(),Math.min(r.sI(),Math.round(0.01*j*o)))}c=Math.max(0,b-0.01*j*d);b-=c;do{a=y;j=Math.max(0,0<d?b/d:0);h=[];for(c=d=0;c<e.length;c++){var l=
e[c],r=l.Df,o=Math.round(r.bi*j),s=r.dm(),t=r.sI();o<s?(l.width=s,b-=l.width,a=p):o>t?(l.width=t,b-=l.width,a=p):(d+=r.bi,h.push(l))}e=h}while(a);for(c=0;c<e.length;c++)l=e[c],r=l.Df,j=Math.max(0,0<d?b/d:0),l.width=Math.round(r.bi*j),b-=l.width,d-=r.bi};a.prototype.BA=function(a){for(var c=this.Wm,d=this.wb.td(),j=this.wb.sd(),h=0,n=0,e=0;e<a.length;e++){var l=a[e];l.Df.get("includeInLayout")&&(h+=a[e].width,n++)}h+=c*(n-1);if(d>=h)switch(this.Pf){case b.Ea:d-=h;break;case b.tc:d=Math.round(0.5*(d-
h));break;default:d=0}else d=0;for(e=0;e<a.length;e++)if(l=a[e],l.Df.get("includeInLayout")){if(j>=l.height)switch(this.cg){case b.Xa:l.y=j-l.height;break;case b.cc:l.y=Math.round(0.5*(j-l.height));break;default:l.y=0}else l.y=0;l.x=d;d+=l.width+c}else l.x=0,l.y=0};return a});
define("cf",["hp","X","bz","cy"],function(a,b,c,d){a=a.extend(c,function(){c.call(this)});a.prototype.PB=function(){for(var a=new d,b=this.vE(),c=0;c<b.length;c++){var j=b[c];a.width=Math.max(j.gm(),a.width);a.minWidth=Math.max(j.dm(),a.minWidth);a.height+=j.fm();a.minHeight+=j.Xn()}b=Math.max(0,b.length-1)*this.Xs+this.wb.am()+this.wb.bw();a.height+=b;a.minHeight+=b;b=this.wb.oh()+this.wb.$l();a.width+=b;a.minWidth+=b;return a};a.prototype.Ev=function(a){this.CA(a);this.BA(a)};a.prototype.CA=function(a){for(var b=
0,c=0;c<a.length;c++)a[c].Df.get("includeInLayout")&&b++;for(var c=Math.max(0,b-1)*this.Xs,j=this.wb.td(),h=this.wb.sd()-c,b=h,d=0,e=[],c=0;c<a.length;c++){var l=a[c],r=l.Df,o=r.bi;l.width=isNaN(o)?r.gm():Math.max(r.dm(),Math.min(r.sI(),Math.round(0.01*j*o)));o=r.ai;isNaN(o)?(l.height=r.fm(),b-=l.height):r.get("includeInLayout")?(d+=o,e.push(l)):l.height=Math.max(r.Xn(),Math.min(r.rI(),Math.round(0.01*h*o)))}c=Math.max(0,b-0.01*h*d);b-=c;do{a=y;j=Math.max(0,0<d?b/d:0);h=[];for(c=d=0;c<e.length;c++){var l=
e[c],r=l.Df,o=Math.round(r.ai*j),s=r.Xn(),t=r.rI();o<s?(l.height=s,b-=l.height,a=p):o>t?(l.height=t,b-=l.height,a=p):(d+=r.ai,h.push(l))}e=h}while(a);for(c=0;c<e.length;c++)l=e[c],r=l.Df,j=Math.max(0,0<d?b/d:0),l.height=Math.round(r.ai*j),b-=l.height,d-=r.ai};a.prototype.BA=function(a){for(var c=this.Xs,d=this.wb.td(),j=this.wb.sd(),h=0,n=0,e=0;e<a.length;e++){var l=a[e];l.Df.get("includeInLayout")&&(h+=l.height,l.width>d&&(d=l.width),n++)}h+=c*(n-1);if(j>=h)switch(this.cg){case b.Xa:j-=h;break;case b.cc:j=
Math.round(0.5*(j-h));break;default:j=0}else j=0;for(e=0;e<a.length;e++)if(l=a[e],l.Df.get("includeInLayout")){switch(this.Pf){case b.Ea:l.x=d-l.width;break;case b.tc:l.x=Math.round(0.5*(d-l.width));break;default:l.x=0}l.y=j;j+=l.height+c}else l.x=0,l.y=0};return a});
define("m","hp,cL,d,F,X,bW,c,ct,gH,hm,cf".split(","),function(a,b,c,d,f,g,k,j,h,n,e){var l=a.extend(c,function(){c.call(this);this.xc("BaseContainer");this.Xi=q;this.Tb=[];this.Wj=[];this.Px=g.nV;this.set("contentOpaque",y)});l.Za={children:[[]],childrenInteractionEnabled:p,gap:0,horizontalAlign:f.ha,itemHeight:m,itemMaxHeight:m,itemMaxWidth:m,itemMinHeight:m,itemMinWidth:m,itemWidth:m,layout:k.eV,verticalAlign:f.Ya};b.defaults(l.Za,c.Za);l.prototype.oa=function(){this.Ri(l.Za)};l.prototype.set=function(a,
b){a=="children"?this.th(b):a=="creationPolicy"?this.Vpa(b):c.prototype.set.call(this,a,b)};l.prototype.get=function(a,b){return a=="children"?this.Qa():a=="creationPolicy"?this.Px:c.prototype.get.call(this,a,b)};l.prototype.Vpa=function(a){if(this.Px!=a){this.Px=a;this.PR()}};l.prototype.th=function(a){for(var c=this.Qa(),a=a||[],e=b(c).difference(a),g=0;g<e.length;g++)this.removeChild(e[g]);c=b(a).difference(c);for(g=0;g<c.length;g++)this.pa(c[g]);for(g=0;g<a.length;g++)this.wi(a[g],g)};l.prototype.Qa=
P("Tb");l.prototype.pa=function(a){a.getParent()&&a.getParent().removeChild(a);this.Tb.push(a);a.N=this;this.QX(a);a.YQ(this.gk);this.Wj.push(a);this.PR();a.Qj()};l.prototype.removeChild=function(a){if(a.getParent()==this){a.ei();a.N=q;if(b(this.Wj).contains(a))this.Wj=b.without(this.Wj,a);else{a.fb().detach();a.Qp(q);this.Ja();this.zc()}this.Tb=b.without(this.Tb,a);a.BQ()}};l.prototype.j8=function(){b(this.Qa()).forEach(function(a){this.removeChild(a)})};l.prototype.wB=function(a){return b(this.Tb).indexOf(a)};
l.prototype.wi=function(a,c){var e=this.wB(a);e<0&&i("Can't set index. This is not a child of this container");var g=this.Tb.slice();g.splice(e,1);g.splice(c,0,a);if(!b.isEqual(this.Tb,g)){this.Tb=g;if(!b(this.Wj).contains(a)){e=this.wB(a);a.fb().detach();for(var h=g=q,j=e-1;j>=0&&!g;j--)b(this.Wj).contains(this.Tb[j])||(g=this.Tb[j]);for(j=e+1;j<this.Tb.length&&!h&&!g;j++)b(this.Wj).contains(this.Tb[j])||(h=this.Tb[j]);g?a.fb().insertAfter(g.fb()):h?a.fb().insertBefore(h.fb()):this.Pa().W5(a.Um());
this.zc()}}};l.prototype.Hs=function(a){c.prototype.Hs.call(this,a);this.g5()};l.prototype.g5=function(){b(this.Tb).forEach(function(a){this.QX(a)},this)};l.prototype.QX=function(a){a.set("inheritedInteractionEnabled",this.j("inheritedInteractionEnabled")&&this.j("childrenInteractionEnabled"))};l.prototype.tx=function(){c.prototype.tx.call(this);this.Tb.forEach(function(a){a.tx()})};l.prototype.Is=function(a){c.prototype.Is.call(this,a);b(this.Tb).forEach(function(a){a.YQ(this.gk)},this)};l.prototype.sL=
function(a){c.prototype.sL.call(this,a);b(this.Qa()).forEach(function(a){a.Fv()});this.PR()};l.prototype.Qp=function(a){c.prototype.Qp.call(this,a);b(this.Qa()).forEach(function(c){b(this.Wj).contains(c)||c.Qp(a)},this)};l.prototype.PR=function(){if((this.Px==g.nV&&this.fp||this.Px==g.Uw)&&this.Wj.length>0){b(this.Wj).forEach(function(a){this.Pa().W5(a.Um());a.Qp(this.cb())},this);this.Wj=[];this.Ja();this.zc()}};l.prototype.fC=function(a){if(this.Xi!=a){this.Xi&&this.Xi.S8(q);(this.Xi=a)&&this.Xi.S8(this)}};
l.prototype.da=function(){var a=y,b=this.j("layout");if(this.n("layout")){switch(b){case k.so:this.fC(new h);break;case k.Be:this.fC(new n);break;case k.Ye:this.fC(new e);break;default:this.fC(new j)}this.o("layout");a=p}var g=this.Xi;if(this.n("horizontalAlign")||a){g.Ew(this.j("horizontalAlign"));this.o("horizontalAlign")}if(this.n("verticalAlign")||a){g.Gw(this.j("verticalAlign"));this.o("verticalAlign")}if(this.n("gap")||a){if(b==k.so){g.D8(this.j("gap"));g.bJ(this.j("gap"))}else b==k.Be?g.D8(this.j("gap")):
b==k.Ye&&g.bJ(this.j("gap"));this.o("gap")}if(b==k.so){if(this.n("itemWidth")||a){var f=this.j("itemWidth"),l=d.yj(f);l!==m?g.tqa(l):g.lqa(f);this.o("itemWidth")}if(this.n("itemHeight")||a){f=this.j("itemHeight");l=d.yj(f);l!==m?g.sqa(l):g.kqa(f);this.o("itemHeight")}if(this.n("itemMinWidth")){g.qqa(this.j("itemMinWidth"));this.o("itemMinWidth")}if(this.n("itemMinHeight")){g.pqa(this.j("itemMinHeight"));this.o("itemMinHeight")}if(this.n("itemMaxWidth")){g.oqa(this.j("itemMaxWidth"));this.o("itemMaxWidth")}if(this.n("itemMaxHeight")){g.nqa(this.j("itemMaxHeight"));
this.o("itemMaxHeight")}}if(this.n("childrenInteractionEnabled")){this.o("childrenInteractionEnabled");this.g5()}this.Ua(["cursor"],{cursor:"inheritedCursor"},this.Tb,p,y);c.prototype.da.call(this);b==k.so&&g.bqa(this.Ih)};l.prototype.Ua=function(a,b,c,e,g){for(var h=0;h<a.length;h++){var j=a[h];if(!e||this.n(j)){for(var f=0;f<c.length;f++)c[f].set(b[j]?b[j]:j,this.j(j));g&&this.o(j)}}};l.prototype.mn=function(){if(this.Xi){var a=this.Xi.PB();this.$g=a.width;this.Zg=a.height;this.Qy=a.minWidth;this.Py=
a.minHeight}else c.prototype.mn.call(this)};l.prototype.wh=function(){this.Xi&&this.Xi.update(this);c.prototype.wh.call(this)};return l});
define("js",["jquery.mod","hp","jE","em"],function(a,b,c,d){function f(b,f){this.lu=b;this.pd="#000000";this.vb=0.5;this.T=10;this.WA=this.ky=5;this.Wc=f;this.QD=this.JP=this.za=0;this.LX=this.Yc=this.tD=y;this.Y=p;this.du=document.createElement("div");this.du.setAttribute("tdvlayer","scrollbar");this.Kx=a(this.du);d.css(this.du,{position:"absolute","z-index":c.wW});this.vx=document.createElement("div");this.yL=a(this.vx);d.css(this.vx,{position:"absolute",left:0,top:0});this.Kx.append(this.yL)}f.prototype.jc=
function(){return this.Kx.width()};f.prototype.Sc=function(){return this.Kx.height()};f.prototype.Ga=function(a){this.za!=a&&(this.za=a,this.p3(),this.Y=p)};f.prototype.hw=P("za");f.prototype.setSize=function(a,b){this.JP=a;this.QD=b;this.p3();this.Y=p};f.prototype.We=function(a){this.Yc!=a&&(this.Yc=a,this.Y=p)};f.prototype.u8=function(a){this.tD!=a&&(this.tD=a,this.Y=p)};f.prototype.Bw=function(a){this.pd!=a&&(this.pd=a,this.Y=p)};f.prototype.yi=function(a){this.vb!=a&&(this.vb=a,this.Y=p)};f.prototype.mC=
function(a){this.T!=a&&(this.T=a,this.Y=p)};f.prototype.B8=function(a){this.ky!=a&&(this.ky=a,this.Y=p)};f.prototype.U8=function(a){this.WA!=a&&(this.WA=a,this.Y=p)};f.prototype.he=function(){this.Y&&(this.LX!=this.Yc&&(this.Yc?this.Wc.append(this.Kx):this.Kx.detach(),this.LX=this.Yc),this.G(),this.Y=y)};f.prototype.G=function(){var a=Math.round(100*this.JP/this.QD),b=Math.round(100*this.za/this.QD);d.css(this.du,{filter:"alpha(opacity="+Math.round(100*this.vb)+")",opacity:this.vb,display:this.Yc?
"block":"none"});d.css(this.vx,{backgroundColor:this.pd,"border-radius":Math.floor(this.T/2)+"px"});this.lu==f.Be?(d.css(this.du,{left:this.ky+"px",right:(this.tD?this.T:0)+this.ky+"px",height:this.T+"px",bottom:this.WA+"px"}),d.css(this.vx,{left:b+"%",width:a+"%",height:this.T+"px"})):(d.css(this.du,{top:this.WA+"px",right:this.ky+"px",width:this.T+"px",bottom:(this.tD?this.T:0)+this.WA+"px"}),d.css(this.vx,{top:b+"%",width:this.T+"px",height:a+"%"}))};f.prototype.p3=function(){var a=this.QD-this.JP;
0>this.za?this.za=0:this.za>a&&(this.za=a)};f.Be="horizontal";f.Ye="vertical";return f});define("gt",["hp","js"],function(a,b){return a.extend(b,function(a){b.call(this,b.Be,a)})});define("cT",["hp","js"],function(a,b){return a.extend(b,function(a){b.call(this,b.Ye,a)})});
define("S",["require"],function(){function a(){}function b(c){var e=k;k=[];a.DT=p;var g=c-a.kd,g=1<g?100>g?g:100:1;a.kd=c;for(c=0;c<e.length;c++){var h=e[c];h.callback.call(h.context,g)}a.DT=y;j=0<k.length?f(b):m}var c=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame,d=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||
window.msCancelAnimationFrame,f=c,g=d,k=[],j=m,h=y;a.Ba=function(a,c){for(var g=0;g<k.length;g++){var d=k[g];if(d.callback==a&&d.context==c)return}k.push({callback:a,context:c});!h&&j===m&&(j=f(b))};a.KU=function(a){h!=a&&((h=a)?j!==m&&(g(j),j=m):0<k.length&&(j=f(b)))};a.$I=function(a,e){a=a||c;e=e||d;f!=a&&(j!==m&&(g(j),j=a(b)),f=a,g=e)};a.oU=function(){a.$I(q,q)};a.kd=(new Date).getTime();a.DT=y;return a});
define("jf",[],function(){function a(a){var b={aT:function(b,c,f,e){f=0>=f?0:f>=e?1:f/e;0.5>f?f=Math.pow(2*f,a):(f=1-Math.pow(1-(2*f-1),a),f+=1);return b+(c-b)*0.5*f}};b.VT=d(a);return b}function b(a){var b={aT:function(b,c,f,e){return b+(c-b)*(1-Math.pow(1-(0>=f?0:f>=e?1:f/e),a))}};b.VT=d(a);return b}function c(a){var b={aT:function(b,c,f,e){return b+(c-b)*Math.pow(0>=f?0:f>=e?1:f/e,a)}};b.VT=d(a);return b}function d(a){return function(b,c,h){b=Math.abs(c-b);return 1>b/h?0:1/(1-Math.pow((b-h)/b,
1/a))}}function f(g,f,j){this.rg=q;switch(g){case "quad_in":this.rg=c(2);break;case "quad_out":this.rg=b(2);break;case "quad_in_out":this.rg=a(2);break;case "cubic_in":this.rg=c(3);break;case "cubic_out":this.rg=b(3);break;case "cubic_in_out":this.rg=a(3);break;case "quart_in":this.rg=c(4);break;case "quart_out":this.rg=b(4);break;case "quart_in_out":this.rg=a(4);break;case "quint_in":this.rg=c(5);break;case "quint_out":this.rg=b(5);break;case "quint_in_out":this.rg=a(5);break;default:this.rg=c(1)}this.Pm=
f.slice();this.Wb=0;this.Ib=this.So(f,j);this.SM={};for(g=0;g<this.Pm.length;g++)this.SM[this.Pm[g].name]=f[g].tB}f.prototype.ona=function(){for(var a=0;a<this.Pm.length;a++)if("hfov"==this.Pm[a].name)return this.Pm[a];return q};f.prototype.kb=function(a){return this.SM[a]};f.prototype.ge=function(){return this.Wb>=this.Ib};f.prototype.Wn=P("Ib");f.prototype.setTime=function(a){this.Wb=Math.min(Math.max(0,a),this.Ib);for(a=0;a<this.Pm.length;a++){var b=this.Pm[a];this.SM[b.name]=this.rg.aT(b.tB,b.eJ,
this.Wb,this.Ib)}};f.prototype.eb=function(a){this.setTime(this.Wb+a)};f.prototype.So=function(a,b,c){for(var h=[],f=0;f<this.Pm.length;f++){var e=this.Pm[f],d=c?c:e.Roa;d!==m&&0<d&&h.push(this.rg.VT(e.tB,e.eJ,d/1E3))}if(0<h.length){a=h[0];for(f=1;f<h.length;f++)a=Math.max(a,h[f]);return 0<b?Math.max(b,a):a}return 0<b?b:this.So(a,b,1E3)};return f});define("bk",[],function(){return function(a,b,c,d){this.name=a;this.tB=b;this.eJ=c;this.Roa=d}});
define("jc","require,cL,hp,jq,bL,fa,dB,m,gt,cT,S,jf,bk".split(","),function(a){var b=a("cL"),c=a("hp"),d=a("jq"),f=a("bL"),g=a("fa"),k=a("dB"),j=a("m"),h=a("gt"),n=a("cT"),e=a("S"),l=a("jf"),r=a("bk"),o=c.extend(j,function(){j.call(this);this.xc("Container");this.Jb=this.hc=this.Dd=this.be=this.La=this.Da=this.bZ=this.aZ=0;this.yO=this.EO=this.bh=this.ah=y;this.VY=0;this.hM=this.gM=m;this.jM=this.iM=0;this.Op=q;this.PF=g.GV;this.Xo=y;this.zE=q;this.Ll=y;this.JH=q});o.Za={overflow:g.fr,scrollBarColor:"#000000",
scrollBarWidth:10,scrollBarMargin:5,scrollBarHorizontalMargin:m,scrollBarVerticalMargin:m,scrollBarOpacity:0.5,scrollBarVisible:k.Cc};b.defaults(o.Za,j.Za);o.prototype.Ti=function(){this.zE=new h(this.NN());this.zE.yL.bind("mousedown touchstart",b.bind(this.Fea,this));this.Ti=P("zE");return this.zE};o.prototype.Ui=function(){this.JH=new n(this.NN());this.JH.yL.bind("mousedown touchstart",b.bind(this.Qla,this));this.Ui=P("JH");return this.JH};o.prototype.scrollIntoView=function(a){var b=a.Z,b=Math.min(b,
Math.max(b+a.Aa()-this.be,this.hc)),c=a.$,a=Math.min(c,Math.max(c+a.bb()-this.Dd,this.Jb));this.scrollTo(b,a)};o.prototype.scrollTo=function(a,b){var c=this.hc;a>this.hc?this.ED()&&(c=Math.min(a,this.Da-this.be)):a<this.hc&&this.DD()&&(c=Math.max(a,0));var e=this.Jb;b>this.Jb?this.CD()&&(e=Math.min(b,this.La-this.Dd)):b<this.Jb&&this.FD()&&(e=Math.max(b,0));this.iA(c,e)};o.prototype.q8=function(){if(this.CD()){for(var a=Math.max(0,this.La-this.Dd),b=Math.min(a,this.Jb+this.Dd*0.5),c=a=Math.min(a,
this.Jb+this.Dd),e=this.Qa().slice(),g=e.shift();e.length;g=e.shift())if(g.get("visible")){var h=g.$;h+g.bb()>this.Jb+this.Dd&&h>=b&&h<a&&h<c&&(c=h)}this.iA(this.hc,c)}};o.prototype.CD=function(){return this.sY()&&this.Jb+this.Dd<this.La};o.prototype.s8=function(){if(this.FD()){for(var a=Math.max(0,this.Jb-this.Dd),b=Math.max(0,this.Jb-this.Dd*0.5),c=a,e=this.Qa().slice(),g=e.shift();e.length;g=e.shift())if(g.get("visible")){var h=g.$,g=h+g.bb();h<this.Jb&&g>=a+this.Dd&&g<b+this.Dd&&g>c+this.Dd&&
(c=g-this.Dd)}this.iA(this.hc,c)}};o.prototype.FD=function(){return this.sY()&&this.Jb>0};o.prototype.r8=function(){if(this.ED()){for(var a=Math.max(0,this.Da-this.be),b=Math.min(a,this.hc+this.be*0.5),c=a=Math.min(a,this.hc+this.be),e=this.Qa().slice(),g=e.shift();e.length;g=e.shift())if(g.get("visible")){var h=g.Z;h+g.Aa()>this.hc+this.be&&h>=b&&h<a&&h<c&&(c=h)}this.iA(c,this.Jb)}};o.prototype.ED=function(){return this.rY()&&this.hc+this.be<this.Da};o.prototype.scrollLeft=function(){if(this.DD()){for(var a=
Math.max(0,this.hc-this.be),b=Math.max(0,this.hc-this.be*0.5),c=a,e=this.Qa().slice(),g=e.shift();e.length;g=e.shift())if(g.get("visible")){var h=g.Z,g=h+g.Aa();h<this.hc&&g>=a+this.be&&g<b+this.be&&g>c+this.be&&(c=g-this.be)}this.iA(c,this.Jb)}};o.prototype.DD=function(){return this.rY()&&this.hc>0};o.prototype.iA=function(a,b){this.ah=this.hc!=a;this.bh=this.Jb!=b;this.Jl();this.Op=new l("cubic_in_out",[new r("hScrollPosition",this.hc,a),new r("vScrollPosition",this.Jb,b)],500);e.Ba(this.jL,this)};
o.prototype.sY=function(){return this.Ll&&this.Dd<this.La};o.prototype.rY=function(){return this.Xo&&this.be<this.Da};o.prototype.oa=function(){this.Ri(o.Za)};o.prototype.Rba=function(){this.EO=p;this.Jl()};o.prototype.Qba=function(){this.EO=y;this.Jl()};o.prototype.Fea=function(){this.ah=p};o.prototype.Qla=function(){this.bh=p};o.prototype.Nba=function(a){if(this.ah||this.bh){this.cb().bind(d.Ac,this.TY,this);this.cb().bind(d.Gb,this.UY,this);this.Jo=a.pageX;this.Ko=a.pageY;this.Jl()}else this.WY(a)};
o.prototype.TY=function(a){if(this.ah){var b=(a.pageX-this.Jo)*this.Da/this.Ti().jc();this.hc=this.hc+b}else if(this.bh){b=(a.pageY-this.Ko)*this.La/this.Ui().Sc();this.Jb=this.Jb+b}this.Jo=a.pageX;this.Ko=a.pageY;this.Pn()};o.prototype.UY=function(){this.cb().unbind(d.Ac,this.TY,this);this.cb().unbind(d.Gb,this.UY,this);this.bh=this.ah=y;this.Jl()};o.prototype.vY=function(a){return this.Ll&&(a>0&&this.Jb>0||a<0&&this.Jb<this.La-this.Dd)?p:y};o.prototype.Pba=function(a){if(this.Ll){this.Jb=this.Jb-
a.Sn*this.Dd*0.1;this.Pn()}};o.prototype.WY=function(a){if(this.Xo||this.Ll){this.cb().bind(d.Ac,this.XY,this);this.cb().bind(d.Gb,this.YY,this);this.yO=p;this.Jo=a.pageX;this.Ko=a.pageY;this.Jl();this.Yea()}};o.prototype.XY=function(a){var b=a.pageX-this.Jo,c=a.pageY-this.Ko;if(!this.ah&&!this.bh&&b*b+c*c>25){this.ah=this.Xo;this.bh=this.Ll;this.Jl()}if(this.ah||this.bh){this.hc=this.hc-b;this.Jb=this.Jb-c;this.Jo=a.pageX;this.Ko=a.pageY;this.Pn();this.kla()}};o.prototype.YY=function(){this.cb().unbind(d.Ac,
this.XY,this);this.cb().unbind(d.Gb,this.YY,this);this.yO=y;this.Jl();var a=Math.max(Math.abs(this.iM/0.001),Math.abs(this.jM/0.001));this.Op=new l("linear",[new r("hScrollPosition",this.hc,this.hc-0.5*this.iM*a),new r("vScrollPosition",this.Jb,this.Jb-0.5*this.jM*a)],a);e.Ba(this.jL,this)};o.prototype.Yea=function(){this.gM=this.Jo;this.hM=this.Ko};o.prototype.kla=function(){var a=(new Date).getTime(),b=a-this.VY;if(b>10){this.VY=a;this.iM=(this.Jo-this.gM)/b;this.jM=(this.Ko-this.hM)/b;this.gM=
this.Jo;this.hM=this.Ko}};o.prototype.jL=function(a){if(this.Op&&!this.Op.ge()&&(this.ah||this.bh)){this.Op.eb(a);if(this.ah){this.hc=this.Op.kb("hScrollPosition");if(this.hc<0||this.hc>this.Da-this.be)this.ah=y}if(this.bh){this.Jb=this.Op.kb("vScrollPosition");if(this.Jb<0||this.Jb>this.La-this.Dd)this.bh=y}this.Pn();e.Ba(this.jL,this)}else{this.bh=this.ah=y;this.Op=q;this.Jl()}};o.prototype.Pn=function(){this.hc=this.Xo?Math.max(0,Math.min(this.Da-this.be,this.hc)):0;this.Jb=this.Ll?Math.max(0,
Math.min(this.La-this.Dd,this.Jb)):0;this.Ti().Ga(this.hc);this.Ui().Ga(this.Jb);this.Pa().eqa(this.hc);this.Pa().Vqa(this.Jb);this.Eg();if(this.G2!=this.hc||this.H2!=this.Jb){this.G2!==m&&this.H2!==m&&this.trigger(new f(d.gl));this.G2=this.hc;this.H2=this.Jb}};o.prototype.Jl=function(){var a;a=this.get("scrollBarVisible")==k.ALWAYS?p:this.Wi?this.ah||this.bh||this.yO:this.ah||this.bh||this.EO;this.Ti().We(this.Xo&&a);this.Ui().We(this.Ll&&a);this.Eg()};o.prototype.Ka=function(){j.prototype.Ka.call(this);
if(!this.Oba){this.Oba=p;if(this.Wi)this.bind(d.lb,this.WY,this);else{this.bind(d.lb,this.Nba,this);this.bind(d.Cc,this.Rba,this);this.bind(d.ec,this.Qba,this);this.bind(d.vo,this.Pba,this)}}};o.prototype.da=function(){if(this.n("overflow")){this.PF=this.j("overflow");this.o("overflow");this.zc()}if(this.n("scrollBarColor")){this.Ti().Bw(this.j("scrollBarColor"));this.Ui().Bw(this.j("scrollBarColor"));this.o("scrollBarColor")}if(this.n("scrollBarWidth")){this.Ti().mC(this.j("scrollBarWidth"));this.Ui().mC(this.j("scrollBarWidth"));
this.o("scrollBarWidth")}if(this.n("scrollBarMargin")||this.n("scrollBarVerticalMargin")||this.n("scrollBarHorizontalMargin")){var a=this.j("scrollBarHorizontalMargin","scrollBarMargin"),b=this.j("scrollBarVerticalMargin","scrollBarMargin");this.Ti().B8(a);this.Ti().U8(b);this.Ui().B8(a);this.Ui().U8(b);this.o("scrollBarMargin");this.o("scrollBarVerticalMargin");this.o("scrollBarHorizontalMargin")}if(this.n("scrollBarOpacity")){this.Ti().yi(this.j("scrollBarOpacity"));this.Ui().yi(this.j("scrollBarOpacity"));
this.o("scrollBarOpacity")}j.prototype.da.call(this)};o.prototype.wh=function(){j.prototype.wh.call(this);this.mla();this.zla();this.xla();this.Jl();this.Eg()};o.prototype.mla=function(){for(var a=0,b=0,c=0,e=0,g=this.Qa(),h=0;h<g.length;h++){var f=g[h];if(f.get("visible")){e=Math.min(e,f.Z);c=Math.min(c,f.$);a=Math.max(a,f.Z+f.Aa());b=Math.max(b,f.$+f.bb())}}this.aZ=e;this.bZ=c;this.Da=a;this.La=b};o.prototype.zla=function(){if(this.PF==g.fr){this.be=this.Da;this.Dd=this.La}else{this.be=Math.min(this.td(),
this.Da);this.Dd=Math.min(this.sd(),this.La)}};o.prototype.xla=function(){var a=this.aZ<0||this.bZ<0||this.Da>this.be||this.La>this.Dd;if(this.PF==g.gl){this.Xo=this.be<this.Da;var b=(this.Ll=this.Dd<this.La)&&this.Xo;this.Ti().setSize(this.be,this.Da);this.Ti().u8(b);this.Ui().setSize(this.Dd,this.La);this.Ui().u8(b);this.Pa().Fw(!a)}else{this.Ll=this.Xo=y;this.PF==g.fr?this.Pa().Fw(p):this.Pa().Fw(!a)}this.Pn()};o.prototype.he=function(){this.Ui().he();this.Ti().he();j.prototype.he.call(this)};
return o});define("J",[],function(){return{Ye:"vertical",Be:"horizontal"}});define("db",["require"],function(){return{iq:function(a){return!a?"":a.split(",").map(function(a){return a.trim()}).filter(function(a){return""!=a}).map(function(a){"'"!=a[0]&&'"'!=a[0]&&(a="'"+a+"'");return a}).join(", ")}}});
define("fP","require,jquery.mod,cL,hp,X,J,d,em,db".split(","),function(a){function b(a){var b=a.hi.width(),c=a.hi.height();a.get("fontStyle")=="italic"&&(b=b+c*1/5);return Math.round(b)}var c=a("jquery.mod"),d=a("cL"),f=a("hp"),g=a("X"),k=a("J"),j=a("d");a("em");var h=a("db"),a=f.extend(j,function(){j.call(this);this.xc("Label");this.hi=this.dA=q});a.Za={};a.prototype.oa=function(){j.prototype.oa.call(this);this.f("fontFamily");this.f("fontSize");this.f("fontColor");this.f("fontWeight");this.f("fontStyle");
this.f("horizontalAlign",g.ha);this.f("verticalAlign",g.cc);this.f("direction",k.Be);this.f("text","");this.f("textDecoration");this.f("textShadowBlurRadius",3);this.f("textShadowColor","#000000");this.f("textShadowHorizontalLength",0);this.f("textShadowOpacity",0);this.f("textShadowVerticalLength",0)};a.prototype.Ka=function(){j.prototype.Ka.call(this);if(!this.hi){this.dA=document.createElement("span");this.hi=c(this.dA);this.lR({position:"absolute","text-align":"center",cursor:"inherit","white-space":"nowrap",
transform:"translate3d(0, 0, 0)"});var a=this.Pa();a.Fw(y);a.append(this.hi)}};a.prototype.mn=function(){j.prototype.mn.call(this);var a=this.Pa();this.$g=b(this)+a.dw()+a.jw();this.Zg=this.hi.height()+a.kw()+a.Zv();n(this)};a.prototype.da=function(){var a,b={};if(this.n("direction")||this.n("text")){switch(this.j("direction")){case k.Ye:b["line-height"]="100%";this.hi.html(this.hi.text(this.j("text")).text().split("").join("<br/>"));break;default:b["line-height"]="normal";this.hi.text(this.j("text"));
this.hi.html(this.hi.html().split(" ").join(" "))}this.o("direction");this.o("text");setTimeout(function(){this.Ja();this.zc()}.bind(this),0)}if(this.n("fontFamily")){a=this.j("fontFamily");d(a).isString()||(a="");b.fontFamily=h.iq(a);this.o("fontFamily");this.Ja();this.zc()}if(this.n("fontSize")){a=this.j("fontSize");d(a).isNumber()?a=a+"px":d(a).isString()||(a="");b.fontSize=a;this.o("fontSize");this.Ja();this.zc()}if(this.n("fontColor")){a=this.j("fontColor");d(a).isString()||(a="");b.color=
a;this.o("fontColor")}if(this.n("fontWeight")){a=this.j("fontWeight");switch(a){case "bold":case "bolder":case "lighter":case "100":case "200":case "300":case "400":case "500":case "600":case "700":case "800":case "900":case "normal":break;default:a="normal"}b.fontWeight=a;this.o("fontWeight");this.Ja();this.zc()}if(this.n("fontStyle")){a=this.j("fontStyle");switch(a){case "italic":case "normal":break;default:a="normal"}b.fontStyle=a;this.o("fontStyle");this.Ja();this.zc()}if(this.n("textDecoration")){a=
this.j("textDecoration");switch(a){case "underline":case "overline":case "line-through":case "none":break;default:a="none"}b.textDecoration=a;this.o("textDecoration");this.Ja();this.zc()}if(this.n("horizontalAlign")){this.zc();this.o("horizontalAlign")}if(this.n("verticalAlign")){this.zc();this.o("verticalAlign")}a=["textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];if(d(a).any(function(a){return this.n(a)},this)){var c={};d(a).each(function(a){c[a]=
this.j(a);this.o(a)},this);b["-moz-text-shadow"]=b["-webkit-text-shadow"]=b["text-shadow"]=[c.textShadowHorizontalLength+"px",c.textShadowVerticalLength+"px",c.textShadowBlurRadius+"px","rgba("+parseInt("0x"+c.textShadowColor.substr(1,2))+", "+parseInt("0x"+c.textShadowColor.substr(3,2))+", "+parseInt("0x"+c.textShadowColor.substr(5,2))+", "+c.textShadowOpacity+")"].join(" ");a=c.textShadowVerticalLength==0&&this.j("textShadowHorizontalLength")==0?135:Math.round(4*Math.atan2(c.textShadowHorizontalLength,
-c.textShadowVerticalLength)/Math.PI)*45;b.filter="progid:DXImageTransform.Microsoft.Shadow(color=#"+("00"+(255*c.textShadowOpacity).toString(16)).slice(-2)+c.textShadowColor.substr(1,6)+",direction="+a+")";this.Pa().Fw((c.textShadowHorizontalLength>0||c.textShadowVerticalLength>0||c.textShadowBlurRadius>0)&&c.textShadowOpacity>0)}this.lR(b);j.prototype.da.call(this)};a.prototype.wh=function(){var a={left:"auto",right:"auto",top:"auto",bottom:"auto"};switch(this.j("horizontalAlign")){case g.ha:a.left=
"0";break;case g.Ea:this.he();a.left=this.td()-b(this)+"px";break;case g.tc:this.he();a.left=Math.max(0,Math.round((this.td()-b(this))*0.5))+"px"}switch(this.j("verticalAlign")){case g.Ya:a.top="0";break;case g.Xa:this.he();a.top=this.sd()-this.dA.clientHeight+"px";break;case g.cc:this.he();a.top=Math.max(0,Math.round((this.sd()-this.dA.clientHeight)*0.5))+"px"}this.lR(a)};a.prototype.lR=function(a){var b=this.dA.style,c;for(c in a)b[c]=a[c]};var n=function(){function a(){!f&&c()&&(f=setTimeout(function(){f=
q;var c=(new Date).getTime()-5E3,g;for(g in h){var j=h[g];j.timestamp<c&&delete h[g];var d=j.label;(j.width!=b(d)||j.height!=d.hi.height())&&d.Ja()}a()},500))}function c(){for(var a in h)return p;return y}var g=1,h={},f=q;return function(c){c.F0||(c.F0=g++);h[c.F0]={label:c,timestamp:(new Date).getTime(),width:b(c),height:c.hi.height()};a()}}();return a});
define("hF","require,hp,cL,bW,N,jq,bL,eJ,cK,fa,et,jc,fP".split(","),function(a){var b=a("hp"),c=a("cL"),d=a("bW"),f=a("N"),g=a("jq"),k=a("bL"),j=a("eJ"),h=a("cK"),n=a("fa"),e=a("et"),l=a("jc"),r=a("fP"),o=b.extend(l,function(){this.xc("Button");l.call(this);this.cf=this.ja=q;this.set("childrenInteractionEnabled",y);this.set("contentOpaque",p);this.set("creationPolicy",d.Uw);this.set("overflow",n.GV);this.set("autoRolledOver",p);this.set("autoPressed",p);this.set("cursor",f.xd)});o.prototype.oa=function(){l.prototype.oa.call(this);
this.f("label");this.f("fontFamily");this.f("fontSize");this.f("fontColor");this.f("fontWeight");this.f("fontStyle");this.f("textDecoration");this.f("textShadowBlurRadius");this.f("textShadowColor");this.f("textShadowHorizontalLength");this.f("textShadowOpacity");this.f("textShadowVerticalLength");this.f("layout","horizontal");this.f("iconWidth");this.f("iconHeight");this.f("iconBeforeLabel");this.f("gap",5);this.f("mode",h.Bc);this.f("buttonGroup");this.f("paddingLeft",5);this.f("paddingTop",5);
this.f("paddingRight",5);this.f("paddingBottom",5);this.f("pressed");this.h("rollOverOpacity",e.q,"opacity");this.h("rollOverIconWidth",e.q,"iconWidth");this.h("rollOverIconHeight",e.q,"iconHeight");this.h("rollOverFontSize",e.q,"fontSize");this.h("rollOverFontColor",e.q,"fontColor");this.h("rollOverFontWeight",e.q,"fontWeight");this.h("rollOverFontStyle",e.q,"fontStyle");this.h("rollOverTextDecoration",e.q,"textDecoration");this.h("rollOverTextShadowBlurRadius",e.q,"textShadowBlurRadius");this.h("rollOverTextShadowColor",
e.q,"textShadowColor");this.h("rollOverTextShadowHorizontalLength",e.q,"textShadowHorizontalLength");this.h("rollOverTextShadowOpacity",e.q,"textShadowOpacity");this.h("rollOverTextShadowVerticalLength",e.q,"textShadowVerticalLength");this.h("rollOverBorderSize",e.q,"borderSize");this.h("rollOverBorderLeftSize",e.q,"borderLeftSize");this.h("rollOverBorderTopSize",e.q,"borderTopSize");this.h("rollOverBorderRightSize",e.q,"borderRightSize");this.h("rollOverBorderBottomSize",e.q,"borderBottomSize");
this.h("rollOverBorderColor",e.q,"borderColor");this.h("rollOverBorderLeftColor",e.q,"borderLeftColor");this.h("rollOverBorderTopColor",e.q,"borderTopColor");this.h("rollOverBorderRightColor",e.q,"borderRightColor");this.h("rollOverBorderBottomColor",e.q,"borderBottomColor");this.h("rollOverShadow",e.q,"shadow");this.h("rollOverShadowHorizontalLength",e.q,"shadowHorizontalLength");this.h("rollOverShadowVerticalLength",e.q,"shadowVerticalLength");this.h("rollOverShadowBlurRadius",e.q,"shadowBlurRadius");
this.h("rollOverShadowSpread",e.q,"shadowSpread");this.h("rollOverShadowOpacity",e.q,"shadowOpacity");this.h("rollOverShadowColor",e.q,"shadowColor");this.h("rollOverBackgroundOpacity",e.q,"backgroundOpacity");this.h("rollOverBackgroundColor",e.q,"backgroundColor");this.h("rollOverBackgroundColorRatios",e.q,"backgroundColorRatios");this.h("rollOverBackgroundColorDirection",e.q,"backgroundColorDirection");this.h("pressedLabel",e.sa,"label");this.h("pressedOpacity",e.sa,"opacity");this.h("pressedIconWidth",
e.sa,"iconWidth");this.h("pressedIconHeight",e.sa,"iconHeight");this.h("pressedFontSize",e.sa,"fontSize");this.h("pressedFontColor",e.sa,"fontColor");this.h("pressedFontWeight",e.sa,"fontWeight");this.h("pressedFontStyle",e.sa,"fontStyle");this.h("pressedTextDecoration",e.sa,"textDecoration");this.h("pressedTextShadowBlurRadius",e.sa,"textShadowBlurRadius");this.h("pressedTextShadowColor",e.sa,"textShadowColor");this.h("pressedTextShadowHorizontalLength",e.sa,"textShadowHorizontalLength");this.h("pressedTextShadowOpacity",
e.sa,"textShadowOpacity");this.h("pressedTextShadowVerticalLength",e.sa,"textShadowVerticalLength");this.h("pressedBorderSize",e.sa,"borderSize");this.h("pressedBorderLeftSize",e.sa,"borderLeftSize");this.h("pressedBorderTopSize",e.sa,"borderTopSize");this.h("pressedBorderRightSize",e.sa,"borderRightSize");this.h("pressedBorderBottomSize",e.sa,"borderBottomSize");this.h("pressedBorderColor",e.sa,"borderColor");this.h("pressedBorderLeftColor",e.sa,"borderLeftColor");this.h("pressedBorderTopColor",
e.sa,"borderTopColor");this.h("pressedBorderRightColor",e.sa,"borderRightColor");this.h("pressedBorderBottomColor",e.sa,"borderBottomColor");this.h("pressedShadow",e.sa,"shadow");this.h("pressedShadowHorizontalLength",e.sa,"shadowHorizontalLength");this.h("pressedShadowVerticalLength",e.sa,"shadowVerticalLength");this.h("pressedShadowBlurRadius",e.sa,"shadowBlurRadius");this.h("pressedShadowSpread",e.sa,"shadowSpread");this.h("pressedShadowOpacity",e.sa,"shadowOpacity");this.h("pressedShadowColor",
e.sa,"shadowColor");this.h("pressedBackgroundOpacity",e.sa,"backgroundOpacity");this.h("pressedBackgroundColor",e.sa,"backgroundColor");this.h("pressedBackgroundColorRatios",e.sa,"backgroundColorRatios");this.h("pressedBackgroundColorDirection",e.sa,"backgroundColorDirection");this.h("pressedLabel",e.Sa,"label");this.h("pressedRollOverOpacity",e.Sa,"opacity");this.h("pressedRollOverIconWidth",e.Sa,"iconWidth");this.h("pressedRollOverIconHeight",e.Sa,"iconHeight");this.h("pressedRollOverFontSize",
e.Sa,"fontSize");this.h("pressedRollOverFontColor",e.Sa,"fontColor");this.h("pressedRollOverFontWeight",e.Sa,"fontWeight");this.h("pressedRollOverFontStyle",e.Sa,"fontStyle");this.h("pressedRollOverTextDecoration",e.Sa,"textDecoration");this.h("pressedRollOverTextShadowBlurRadius",e.Sa,"textShadowBlurRadius");this.h("pressedRollOverTextShadowColor",e.Sa,"textShadowColor");this.h("pressedRollOverTextShadowHorizontalLength",e.Sa,"textShadowHorizontalLength");this.h("pressedRollOverTextShadowOpacity",
e.Sa,"textShadowOpacity");this.h("pressedRollOverTextShadowVerticalLength",e.Sa,"textShadowVerticalLength");this.h("pressedRollOverBorderSize",e.Sa,"borderSize");this.h("pressedRollOverBorderLeftSize",e.Sa,"borderLeftSize");this.h("pressedRollOverBorderTopSize",e.Sa,"borderTopSize");this.h("pressedRollOverBorderRightSize",e.Sa,"borderRightSize");this.h("pressedRollOverBorderBottomSize",e.Sa,"borderBottomSize");this.h("pressedRollOverBorderColor",e.Sa,"borderColor");this.h("pressedRollOverBorderLeftColor",
e.Sa,"borderLeftColor");this.h("pressedRollOverBorderTopColor",e.Sa,"borderTopColor");this.h("pressedRollOverBorderRightColor",e.Sa,"borderRightColor");this.h("pressedRollOverBorderBottomColor",e.Sa,"borderBottomColor");this.h("pressedRollOverShadow",e.Sa,"shadow");this.h("pressedRollOverShadowHorizontalLength",e.Sa,"shadowHorizontalLength");this.h("pressedRollOverShadowVerticalLength",e.Sa,"shadowVerticalLength");this.h("pressedRollOverShadowBlurRadius",e.Sa,"shadowBlurRadius");this.h("pressedRollOverShadowSpread",
e.Sa,"shadowSpread");this.h("pressedRollOverShadowOpacity",e.Sa,"shadowOpacity");this.h("pressedRollOverShadowColor",e.Sa,"shadowColor");this.h("pressedRollOverBackgroundOpacity",e.Sa,"backgroundOpacity");this.h("pressedRollOverBackgroundColor",e.Sa,"backgroundColor");this.h("pressedRollOverBackgroundColorRatios",e.Sa,"backgroundColorRatios");this.h("pressedRollOverBackgroundColorDirection",e.Sa,"backgroundColorDirection")};o.prototype.tM=D();o.prototype.Ka=function(){l.prototype.Ka.call(this);if(!this.cf){this.cf=
this.tM();this.pa(this.cf)}if(!this.ja){this.ja=new r;this.pa(this.ja)}};o.prototype.Bx=function(){if(this.get("pressed")){this.set("pressed",y);this.trigger(new k(g.Jg))}else{this.set("pressed",p);this.trigger(new k(g.If))}};o.prototype.da=function(){var a=y;if(this.n("mode")){if(this.j("mode")==h.Bc){this.unbind(g.W,this.Bx,this,p);this.set("autoPressed",p)}else{this.bind(g.W,this.Bx,this,p);this.set("autoPressed",y)}this.o("mode");a=p}if(a||this.n("pressed"))this.j("mode")==h.Kg?this.sv(this.j("pressed")==
p):a&&this.sv(y);if(this.n("label")){a=this.j("label");this.ja.set("text",a);this.ja.set("visible",a?p:y);this.o("label")}this.Ua(o.iX,o.jX,[this.ja],p,p);if(this.n("iconBeforeLabel")){this.j("iconBeforeLabel")==y?this.wi(this.ja,0):this.wi(this.cf,0);this.o("iconBeforeLabel")}if(this.n("iconWidth")){this.cf.set("width",this.j("iconWidth"));this.o("iconWidth")}if(this.n("iconHeight")){this.cf.set("height",this.j("iconHeight"));this.o("iconHeight")}if(this.n("buttonGroup")){(a=this.j("buttonGroup"))?
j.register(this,a):j.uC(this);this.o("buttonGroup")}this.Ua(["horizontalAlign","verticalAlign"],{},[this.cf],p,y);l.prototype.da.call(this)};o.iX=["fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];o.jX={};c(o.iX).each(function(a){o.jX[a]=a});return o});
define("gl",["require","hp","hF","dl","jq"],function(a){var b=a("hp"),c=a("hF"),d=a("dl"),a=a("jq"),b=b.extend(c,function(){c.call(this)});d.A("BaseButton",b).C("UIComponent").O({label:"string",gap:"number",horizontalAlign:"enum[center, left, right]",iconBeforeLabel:"bool",layout:"enum[horizontal, vertical]",mode:"enum[push, toggle]",buttonGroup:"string",verticalAlign:"enum[bottom, middle, top]",iconWidth:"or[number, percent]",iconHeight:"or[number, percent]",fontFamily:"string",fontSize:"or[number, size]",
fontColor:"color",fontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",fontStyle:"enum[italic, normal]",textDecoration:"enum[underline, overline, line-through, none]",textShadowBlurRadius:"number",textShadowColor:"color",textShadowHorizontalLength:"number",textShadowOpacity:"number",textShadowVerticalLength:"number",rollOverIconWidth:"or[number, percent]",rollOverIconHeight:"or[number, percent]",rollOverFontFamily:"string",rollOverFontSize:"or[number, size]",
rollOverFontColor:"color",rollOverFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",rollOverFontStyle:"enum[italic, normal]",rollOverTextDecoration:"enum[underline, overline, line-through, none]",rollOverTextShadowBlurRadius:"number",rollOverTextShadowColor:"color",rollOverTextShadowHorizontalLength:"number",rollOverTextShadowOpacity:"number",rollOverTextShadowVerticalLength:"number",rollOverBorderSize:"number",rollOverBorderLeftSize:"number",rollOverBorderTopSize:"number",
rollOverBorderRightSize:"number",rollOverBorderBottomSize:"number",rollOverBorderColor:"color",rollOverBorderLeftColor:"color",rollOverBorderTopColor:"color",rollOverBorderRightColor:"color",rollOverBorderBottomColor:"color",rollOverShadow:"bool",rollOverShadowHorizontalLength:"number",rollOverShadowVerticalLength:"number",rollOverShadowBlurRadius:"number",rollOverShadowSpread:"number",rollOverShadowColor:"color",rollOverShadowOpacity:"number",rollOverBackgroundOpacity:"number",rollOverBackgroundColor:"or[array[color], color]",
rollOverBackgroundColorRatios:"array[number]",rollOverBackgroundColorDirection:"enum[horizontal, vertical]",pressed:"bool",pressedLabel:"string",pressedIconWidth:"or[number, percent]",pressedIconHeight:"or[number, percent]",pressedFontFamily:"string",pressedFontSize:"or[number, size]",pressedFontColor:"color",pressedFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",pressedFontStyle:"enum[italic, normal]",pressedTextDecoration:"enum[underline, overline, line-through, none]",
pressedTextShadowBlurRadius:"number",pressedTextShadowColor:"color",pressedTextShadowHorizontalLength:"number",pressedTextShadowOpacity:"number",pressedTextShadowVerticalLength:"number",pressedOpacity:"number",pressedBorderSize:"number",pressedBorderLeftSize:"number",pressedBorderTopSize:"number",pressedBorderRightSize:"number",pressedBorderBottomSize:"number",pressedBorderColor:"color",pressedBorderLeftColor:"color",pressedBorderTopColor:"color",pressedBorderRightColor:"color",pressedBorderBottomColor:"color",
pressedShadow:"bool",pressedShadowHorizontalLength:"number",pressedShadowVerticalLength:"number",pressedShadowBlurRadius:"number",pressedShadowSpread:"number",pressedShadowOpacity:"number",pressedShadowColor:"color",pressedBackgroundOpacity:"number",pressedBackgroundColor:"or[array[color], color]",pressedBackgroundColorRatios:"array[number]",pressedBackgroundColorDirection:"enum[horizontal, vertical]",pressedRollOverIconWidth:"or[number, percent]",pressedRollOverIconHeight:"or[number, percent]",pressedRollOverFontFamily:"string",
pressedRollOverFontSize:"or[number, size]",pressedRollOverFontColor:"color",pressedRollOverFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",pressedRollOverFontStyle:"enum[italic, normal]",pressedRollOverTextDecoration:"enum[underline, overline, line-through, none]",pressedRollOverTextShadowBlurRadius:"number",pressedRollOverTextShadowColor:"color",pressedRollOverTextShadowHorizontalLength:"number",pressedRollOverTextShadowOpacity:"number",pressedRollOverTextShadowVerticalLength:"number",
pressedRollOverOpacity:"number",pressedRollOverBorderSize:"number",pressedRollOverBorderLeftSize:"number",pressedRollOverBorderTopSize:"number",pressedRollOverBorderRightSize:"number",pressedRollOverBorderBottomSize:"number",pressedRollOverBorderColor:"color",pressedRollOverBorderLeftColor:"color",pressedRollOverBorderTopColor:"color",pressedRollOverBorderRightColor:"color",pressedRollOverBorderBottomColor:"color",pressedRollOverShadow:"bool",pressedRollOverShadowHorizontalLength:"number",pressedRollOverShadowVerticalLength:"number",
pressedRollOverShadowBlurRadius:"number",pressedRollOverShadowSpread:"number",pressedRollOverShadowOpacity:"number",pressedRollOverShadowColor:"color",pressedRollOverBackgroundOpacity:"number",pressedRollOverBackgroundColor:"or[array[color], color]",pressedRollOverBackgroundColorRatios:"array[number]",pressedRollOverBackgroundColorDirection:"enum[horizontal, vertical]"}).mo(["fontSize","rollOverFontSize","pressedFontSize","pressedRollOverFontSize"]).Yb([a.If,a.Jg]).uh([a.W]);return b});
define("hO",[],function(){return{NONE:"none",sm:"fill",ie:"fit_inside",bl:"fit_outside",Mj:"fit_to_width",mg:"fit_to_height",x9:"custom"}});
define("ib","require,cL,jquery.mod,hp,jq,fh,t,X,hO,d,em,gP".split(","),function(a){function b(a){this.KL=a;this.Hc=[];this.Ng=q}var c=a("cL"),d=a("jquery.mod"),f=a("hp"),g=a("jq"),k=a("fh"),j=a("t"),h=a("X"),n=a("hO"),e=a("d"),l=a("em"),r=a("gP");b.Oh=document.createElement("a");b.prototype.Mba=function(a){b.Oh.href=a;return b.Oh.href};b.prototype.load=function(a,b,e){a=this.Mba(a);if(this.Ng&&!this.Ng.ao()){this.Ng.cancel();this.Hc=c(this.Hc).without(this.Ng)}if(this.Ng=c(this.Hc).find(function(b){return b.fg()==
a}))this.Hc=c(this.Hc).without(this.Ng);else{this.Ng=new r(k.yW);this.Ng.load(a)}for(this.Hc.splice(0,0,this.Ng);this.Hc.length>this.KL;)this.Hc.pop().cancel();if(b){var h=this.Ng,f=function(){b.call(e||window,h.Id(),h.jc(),h.Sc())};this.Ng.ao()?f():this.Ng.bind(g.R,f)}};b.prototype.clear=function(){this.Hc.forEach(function(a){a.cancel()});this.Ng=q};a=f.extend(e,function(a){e.call(this);this.xc("Image");this.KL=a||1;this.oS=y;this.Pf=h.ha;this.AE=y;this.cg=h.Ya;this.LH=y;this.Ic=n.NONE;this.KQ=y;
this.Su=this.Tu=0;this.pO=this.FP=y;this.La=this.Da=0;this.Mm=y;this.XO=this.Wg=this.gb=this.GE=this.FE=q;this.bind(g.ub,this.Wea,this);this.bind(g.Ce,this.Xea,this)});a.prototype.MN=function(){this.XO=new b(this.KL);this.MN=P("XO");return this.XO};a.prototype.oa=function(){e.prototype.oa.call(this);this.f("horizontalAlign",h.ha);this.f("verticalAlign",h.Ya);this.f("scaleMode",n.NONE)};a.prototype.set=function(a,b){if(a=="url"&&this.get("url")!=b){this.oS=p;this.bc()}e.prototype.set.call(this,a,b)};
a.prototype.Ew=function(a){if(this.Pf!=a){this.Pf=a;this.AE=p;this.bc()}};a.prototype.Gw=function(a){if(this.cg!=a){this.cg=a;this.LH=p;this.bc()}};a.prototype.Dq=function(a){if(this.Ic!=a){this.Ic=a;this.KQ=p;this.bc();this.Ja()}};a.prototype.Wea=function(){this.Mm=p;this.bc()};a.prototype.Xea=function(){this.x5()};var o={position:"static",cursor:"inherit",display:"inline",verticalAlign:"top",visibility:"hidden","pointer-events":"none","user-select":"none","-ms-user-select":"none","-moz-user-select":"none",
"-webkit-user-select":"none","touch-callout":"none","-webkit-touch-callout":"none"};j.browser()==j.Ei&&j.Na()&&(o.transform="translate3d(0,0,0)");a.prototype.RX=function(a,b,c){this.Tu=b?b:0;this.Su=c?c:0;if(this.gb){this.gb.remove();this.gb=q}if(this.Wg=a){this.gb=d(this.Wg);l.css(this.Wg,o);this.FE.append(this.gb)}this.FP=this.pO=p;this.bc();this.Ja();this.gb&&this.trigger(g.R)};a.prototype.Ka=function(){e.prototype.Ka.call(this);if(!this.FE){this.GE=document.createElement("div");this.FE=d(this.GE);
l.css(this.GE,{position:"static",overflow:"hidden",cursor:"inherit"});this.Pa().append(this.FE)}};a.prototype.mn=function(){this.$g=this.Tu+this.oh()+this.$l();this.Zg=this.Su+this.am()+this.bw();this.w0=this.Tu==0&&this.Su==0?0:this.Tu/this.Su;this.Py=this.Qy=0};a.prototype.da=function(){if(this.n("scaleMode")){this.Dq(this.j("scaleMode"));this.o("scaleMode")}if(this.n("horizontalAlign")){this.Ew(this.j("horizontalAlign"));this.o("horizontalAlign")}if(this.n("verticalAlign")){this.Gw(this.j("verticalAlign"));
this.o("verticalAlign")}if(this.NX())this.Mm=p;e.prototype.da.call(this);this.x5();if(this.$na()){var a=y;if(this.KQ||this.FP||this.Mm){var b=this.td(),c=this.sd(),g=this.Tu,f=this.Su,j,d;if(g==0||f==0)d=j=0;else switch(this.Ic){case n.NONE:j=g;d=f;break;case n.sm:j=b;d=c;break;case n.ie:if(g*c>f*b){j=b;d=f*b/g}else{j=g*c/f;d=c}break;case n.bl:if(g*c>f*b){j=g*c/f;d=c}else{j=b;d=f*b/g}break;case n.Mj:j=b;d=f*b/g;break;case n.mg:j=g*c/f;d=c}if(this.Da!=j||this.La!=d){this.Da=j;this.La=d;a=p}this.FP=
this.KQ=y}if(a||this.Mm||this.pO){this.LH=this.AE=p;this.Wg&&l.css(this.Wg,{width:this.Da+"px",height:this.La+"px",visibility:"inherit"});l.css(this.GE,{width:this.td()+"px",height:this.sd()+"px","border-top-left-radius":this.xE(this.Cda(),this.$Z(),this.YZ())+"px","border-top-right-radius":this.xE(this.Dda(),this.$Z(),this.ZZ())+"px","border-bottom-left-radius":this.xE(this.Ada(),this.XZ(),this.YZ())+"px","border-bottom-right-radius":this.xE(this.Bda(),this.XZ(),this.ZZ())+"px"});this.Ja();this.pO=
this.Mm=y}if(this.AE&&this.Wg){switch(this.Pf){case h.ha:l.css(this.Wg,{"margin-left":0,"margin-right":this.td()-this.Da+"px"});break;case h.Ea:l.css(this.Wg,{"margin-left":this.td()-this.Da+"px","margin-right":0});break;case h.tc:l.css(this.Wg,{"margin-left":Math.floor((this.td()-this.Da)*0.5)+"px","margin-right":Math.ceil((this.td()-this.Da)*0.5)+"px"})}this.AE=y}if(this.LH&&this.Wg){switch(this.cg){case h.Ya:l.css(this.Wg,{"margin-top":0,"margin-bottom":this.sd()-this.La+"px"});break;case h.Xa:l.css(this.Wg,
{"margin-top":this.sd()-this.La+"px","margin-bottom":0});break;case h.cc:l.css(this.Wg,{"margin-top":Math.floor((this.sd()-this.La)*0.5)+"px","margin-bottom":Math.ceil((this.sd()-this.La)*0.5)+"px"})}this.LH=y}}};a.prototype.x5=function(){if(this.oS){var a=this.get("url");if(a)this.MN().load(a,this.RX,this);else{this.MN().clear();this.RX(q,0,0)}this.oS=y}};a.prototype.xE=function(a,b,c){if(!a)return 0;var e=0;b&&(e=Math.max(e,b));c&&(e=Math.max(e,c));return Math.max(0,a-e)};return a});
define("dK",["hp","hO","et","hF","ib"],function(a,b,c,d,f){a=a.extend(d,function(){d.call(this)});a.prototype.oa=function(){d.prototype.oa.call(this);this.f("iconURL");this.h("rollOverIconURL",c.q,"iconURL");this.h("pressedIconURL",c.sa,"iconURL");this.h("pressedRollOverIconURL",c.Sa,"iconURL")};a.prototype.tM=function(){var a=new f(3);a.set("scaleMode",b.ie);return a};a.prototype.da=function(){if(this.n("iconURL")){var a=this.j("iconURL");this.cf.set("url",a);this.cf.set("visible",a?p:y);this.o("iconURL")}d.prototype.da.call(this)};
return a});define("dJ",["hp","dK","dl"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("Button",a).C("BaseButton").O({iconURL:"string",rollOverIconURL:"string",pressedIconURL:"string",pressedRollOverIconURL:"string"}).Bj(["iconURL","rollOverIconURL","pressedIconURL","pressedRollOverIconURL"]);return a});
define("fn",["require","hp","hH","jq","dl"],function(a){var b=a("hp"),c=a("hH"),d=a("jq"),a=a("dl"),b=b.extend(c,function(){c.call(this);this.set("angle",0);this.set("rotate",y);this.set("inertia",y)});a.A("CapPanoramaOverlay",b).C("PanoramaOverlay").O({angle:"number",distance:"number",hfov:"number",image:"ImageResource",inertia:"bool",rotate:"bool",useHandCursor:"bool"}).Yb([d.Cc,d.ec,d.Oj,d.sf]).uh([d.W]);return b});
define("fd",["hp","dl","fn"],function(a,b,c){a=a.extend(c,function(){c.call(this)});b.A("CeilingCapPanoramaOverlay",a).C("CapPanoramaOverlay");return a});
define("bK","cL,jquery.mod,hp,jq,bL,d".split(","),function(a,b,c,d,f,g){a=c.extend(g,function(){g.call(this);this.xc("Canvas");this.eN=p;this.t=q;this.bind(d.ub,this.mba,this)});a.prototype.mba=function(){this.zI()};a.prototype.zI=function(){this.eN=p;this.Eg()};a.prototype.Ka=function(){g.prototype.Ka.call(this);if(!this.t){this.t=b("<canvas/>");this.t.css({position:"absolute",left:0,top:0,cursor:"inherit"});this.Pa().append(this.t)}};a.prototype.da=function(){this.NX()&&this.zI();g.prototype.da.call(this)};
a.prototype.he=function(){if(this.eN){this.eN=y;var a=this.t.get(0);a.width=this.td();a.height=this.sd();this.rra()}g.prototype.he.call(this)};a.prototype.sna=function(){return this.t.get(0).width};a.prototype.rna=function(){return this.t.get(0).height};a.prototype.qna=function(){return this.t.get(0).getContext("2d")};a.prototype.rra=function(){this.trigger(new f(d.U))};return a});
define("gA",["hp","jq","et","hF","bK"],function(a,b,c,d,f){a=a.extend(d,function(){d.call(this)});a.prototype.wh=function(){d.prototype.wh.call(this)};a.prototype.oa=function(){d.prototype.oa.call(this);this.f("iconColor");this.h("rollOverIconColor",c.q,"iconColor");this.h("pressedIconColor",c.sa,"iconColor");this.h("pressedRollOverIconColor",c.Sa,"iconColor")};a.prototype.tM=function(){var a=new f;a.bind(b.U,this.j9,this,p);return a};a.prototype.da=function(){this.n("iconColor")&&(this.cf.zI(),this.o("iconColor"));
d.prototype.da.call(this)};a.prototype.Sda=function(){return this.j("iconColor")};a.prototype.Tda=function(){return this.cf.qna()};a.prototype.Vda=function(){return this.cf.sna()};a.prototype.Uda=function(){return this.cf.rna()};a.prototype.j9=D();return a});
define("dQ",["hp","gA","X","et"],function(a,b,c,d){a=a.extend(b,function(){b.call(this);this.S({horizontalAlign:c.tc,verticalAlign:c.cc})});a.prototype.oa=function(){b.prototype.oa.call(this);this.f("iconLineWidth");this.h("rollOverIconLineWidth",d.q,"iconLineWidth");this.h("pressedIconLineWidth",d.sa,"iconLineWidth");this.h("pressedRollOverIconLineWidth",d.Sa,"iconLineWidth")};a.prototype.bea=function(){return this.j("iconLineWidth")};a.prototype.da=function(){this.n("iconLineWidth")&&(this.cf.zI(),
this.o("iconLineWidth"));b.prototype.da.call(this)};a.prototype.j9=function(){var a=this.Tda(),b=this.Sda(),c=this.Vda(),j=this.Uda(),h=this.bea();a.clearRect(0,0,c,j);a.lineWidth=h||1;a.strokeStyle=b||"#000000";a.beginPath();a.moveTo(0,0);a.lineTo(c,j);a.moveTo(0,j);a.lineTo(c,0);a.closePath();a.stroke()};return a});
define("ga",["hp","dQ","dl"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("CloseButton",a).C("BaseButton").O({iconColor:"color",iconLineWidth:"number",rollOverIconColor:"color",rollOverIconLineWidth:"number",pressedIconColor:"color",pressedIconLineWidth:"number",pressedRollOverIconColor:"color",pressedRollOverIconLineWidth:"number"});return a});
define("hG",["cL","hp","jc","dl"],function(a,b,c,d){a=b.extend(c,function(){c.call(this)});d.A("Container",a).C("UIComponent").O({children:"array[UIComponent]",contentOpaque:"bool",childrenInteractionEnabled:"bool",creationPolicy:"enum[inAdvance, delayed]",layout:"enum[absolute, vertical, horizontal]",gap:"number",horizontalAlign:"enum[center, left, right]",overflow:"enum[scroll, hidden, visible]",scrollBarColor:"color",scrollBarWidth:"number",scrollBarMargin:"number",scrollBarHorizontalMargin:"number",
scrollBarVerticalMargin:"number",scrollBarOpacity:"number",scrollBarVisible:"enum[rollOver, always]",verticalAlign:"enum[bottom, middle, top]"}).Gg({scrollTo:function(a,b){c.prototype.scrollTo.call(this,a,b)}});return a});
define("hw",["require","hp","hH","dl"],function(a){var b=a("hp"),c=a("hH"),d=a("dl"),a=b.extend(c,function(){c.call(this);this.K=q});d.A("PanoramaFrame",a).C("Object").O({thumbnailUrl:"string",snapshots:"array[PanoramaSnapshot]",overlays:"array[PanoramaOverlay]"}).Bj(["thumbnailUrl"]);a.prototype.get=function(a,b){switch(a){case "overlays":return this.ON();case "hfov":case "vfov":case "pitch":case "flipImageHorizontally":if(this.K)return this.K.get(a,b)}return c.prototype.get.call(this,a,b)};a.prototype.ON=
function(){var a=c.prototype.get.call(this,"overlays");a||(a=[]);return this.jR(a)};a.prototype.jR=function(a){if(this.xv===m||this.YE!=a){var b=function(a){return d.tb("PopupPanoramaOverlay",a)},c=function(a){return d.tb("LensFlarePanoramaOverlay",a)};this.YE=a;this.xv=[].concat(a.filter(function(a){return!(b(a)||c(a))}),a.filter(c),a.filter(b))}return this.xv};a.prototype.nma=N("K");a.prototype.fw=P("K");return a});
define("jh",["require","hp","dl","hw"],function(a){var b=a("hp"),c=a("dl"),d=a("hw"),a=b.extend(d,function(){d.call(this)});c.A("CubicPanoramaFrame",a).C("PanoramaFrame").O({cube:"ImageResource",stereoCube:"ImageResource",front:"ImageResource",left:"ImageResource",back:"ImageResource",right:"ImageResource",top:"ImageResource",bottom:"ImageResource"});return a});
define("hB","require,jquery.mod,modernizr.mod,hp,t,hS".split(","),function(a){function b(){}a("jquery.mod");var c=a("modernizr.mod"),d=a("hp"),f=a("t"),a=a("hS");b.ysa=function(){try{if(c.audio&&c.audio.mp3)return p}catch(a){}return y};b.zsa=function(){try{if(c.audio&&c.audio.ogg)return p}catch(a){}return y};b.Jea=function(){window.MediaSource=window.MediaSource||window.WebKitMediaSource;return window.MediaSource&&typeof window.MediaSource.isTypeSupported==="function"&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')};
b.Tea=function(){if(f.browser()==f.xh){var a=f.HB();if(a>=10&&a<11||a>=11.3)return p}return y};b.Kea=function(){return f.browser()==f.$k||f.browser()==f.xh?p:y};var g;b.c6=function(a){try{g||(g=document.createElement("audio"));return!!g.canPlayType(a).replace(/^no$/,"")}catch(b){}return y};var k;b.Uv=function(a){try{if(!k){k=document.createElement("video");k.setAttribute("webkit-playsinline","true");k.setAttribute("playsinline","true")}return!!k.canPlayType(a).replace(/^no$/,"")}catch(b){}return y};
b.xsa=R(p);b.Lea=function(){try{if(c.webgl&&document.createElement("canvas").getContext("webgl"))return p}catch(a){}try{if(c.webgl&&document.createElement("canvas").getContext("experimental-webgl"))return p}catch(b){}return y};b.Toa=f.ud()==f.Hi?[3168,1584]:f.Ioa()?[7680,3840]:f.Na()?[3840,1920]:[4096,2048];b.O7=f.Na()?[3840,1920]:[4096,2048];b.log=function(){d.log("css transforms 3d: "+b.US);d.log("webgl: "+b.webgl);d.log("html5 audio: "+b.p7);d.log("html5 video: "+b.s7)};b.qka=function(){return["css3d:"+
b.US,"webgl:"+b.webgl,"html5audio:"+b.p7,"html5video:"+b.s7].join(" ")};b.r7=b.c6('audio/ogg; codecs="vorbis"');b.q7=b.c6("audio/mpeg");b.p7=b.r7||b.q7;b.AT=b.Uv('video/ogg; codecs="theora"');b.dta=b.Uv('video/mp4; codecs="avc1.42E01E"');b.wI=b.Uv('video/webm; codecs="vp8, vorbis"');b.joa=b.Uv('video/mp4; codecs="hev1"');b.GB=b.Uv("video/mp4");b.koa=b.Uv("video/quicktime");b.t7=b.Tea();b.f7=b.Kea();b.coa=b.f7||b.GB&&b.Jea();b.s7=b.AT||b.GB||b.wI;b.US=p;b.webgl=b.Lea();a.ph("debug")&&a.ph("capabilities")&&
b.log();b.summary=b.qka();return b});
define("Q",["require","hB"],function(a){a("hB");a={mp3:"data:audio/mpeg;base64,/+MYxAAAAANIAAAAAExBTUUzLjk4LjIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ogg:"data:audio/ogg;base64,T2dnUwACAAAAAAAAAAA+HAAAAAAAAGyawCEBQGZpc2hlYWQAAwAAAAAAAAAAAAAA6AMAAAAAAAAAAAAAAAAAAOgDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPZ2dTAAIAAAAAAAAAAINDAAAAAAAA9LkergEeAXZvcmJpcwAAAAACRKwAAAAAAAAA7gIAAAAAALgBT2dnUwAAAAAAAAAAAAA+HAAAAQAAAPvOJxcBUGZpc2JvbmUALAAAAINDAAADAAAARKwAAAAAAAABAAAAAAAAAAAAAAAAAAAAAgAAAAAAAABDb250ZW50LVR5cGU6IGF1ZGlvL3ZvcmJpcw0KT2dnUwAAAAAAAAAAAACDQwAAAQAAAGLSAC4Qdv//////////////////cQN2b3JiaXMdAAAAWGlwaC5PcmcgbGliVm9yYmlzIEkgMjAwOTA3MDkCAAAAIwAAAEVOQ09ERVI9ZmZtcGVnMnRoZW9yYS0wLjI2K3N2bjE2OTI0HgAAAFNPVVJDRV9PU0hBU0g9ODExM2FhYWI5YzFiNjhhNwEFdm9yYmlzK0JDVgEACAAAADFMIMWA0JBVAAAQAABgJCkOk2ZJKaWUoSh5mJRISSmllMUwiZiUicUYY4wxxhhjjDHGGGOMIDRkFQAABACAKAmOo+ZJas45ZxgnjnK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CJ1zjjHnIITQOceYcxBC55xjzDkIoXOMMeacAACgAgcAgAAbRTYnGAkqNGQlABAOAAAYw5hzjDkGnYQKIecgdA5CKqlUCDkHoXMQSkmpeA46KSGUUkoqxXMQSgmhlJRaKy6GUkoopaTUUpExhFJKKSWl1ooxpoSQUkqptVaMMaGEVFJKKbZijI2lpNRaa60VY2wsJZXWWmutGGOMaym1FmOsxRhjXEuppRhrLMYY43tqLcZYYzHGGJ9baimmXAsAMHlwAIBKsHGGlaSzwtHgQkNWAgC5AQAIQkoxxphjzjnnnHPOSaUYc8455yCEEEIIIZRKMeacc85BByGEEEIoGXPOOQchhBBCCCGEUFLqmHMOQgghhBBCCCGl1DnnIIQQQgghhBBCSqlzzkEIIYQQQgghhJRSCCGEEEIIIYQQQggppZRCCCGEEEIIIZQSUkophRBCCCWEEkoIJaSUUgohhBBCKaWEUkJJKaUUQgillFBKKaGUkFJKKaUQQiillFBKKSWllFJKJZRSSikllFBKSimllEoooZRQSimllJRSSimVUkopJZRSSgkppZRSSqmUUkoppZRSUkoppZRSKaWUUkoppaSUUkoppVJKKaWUEkpJKaWUUkqllFBKKaWUUlJKKaWUSgqllFJKKaUAAKADBwCAACMqLcROM648AkcUMkxAhYasBABSAQAAQiillFJKKTWMUUoppZRSihyklFJKKaWUUkoppZRSSimVUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKAcDdFw6APhM2rI5wUjQWWGjISgAgFQAAMIYxxphyzjmllHPOOQadlEgp5yB0TkopPYQQQgidhJR6ByGEEEIpKfUYQyghlJRS67GGTjoIpbTUaw8hhJRaaqn3HjKoKKWSUu89tVBSainG3ntLJbPSWmu9595LKinG2nrvObeSUkwtFgBgEuEAgLhgw+oIJ0VjgYWGrAIAYgAACEMMQkgppZRSSinGGGOMMcYYY4wxxhhjjDHGGGOMMQEAgAkOAAABVrArs7Rqo7ipk7zog8AndMRmZMilVMzkRNAj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52yQZjpnXdV0cwlCG2DCmqaY9hnRcJ6cWSr8wmTurPgl89cRIzKBFcO739eUTHFGDJuXU77q8qhII6hA6APgEAp6Qo7xFV495hVEj1zVWI5KLtbUbJY/jlQdd0/cyGKjgGIbvhVNcCwBs+VDDUEANE7nG1o6SDAnUMLFTeVERQTLhCAcQMpQPwmGZLNoaoa4IXSj0kbpjcmOkR7ggzG8dydAbPgixyHjNx8yaACT9fEbDNTnZ7ZPPa0FWTGfW00NVR9TbZtbUtiluzGZGAQTQv7AkEoSmiIebhzhAIABlEHq60XRvRYQoY0q0EDOtDqfMqPamA79tpsPWCccc88ehQ6ti2Nk4cGTnt8UUtbWO9j5WHEdmHh+7C9wIRcbudjS9CXjM7kaocWm3CfsmIKfZpvtHUVaURZ6uy8pxxLmzR5SEHNsXspeo+DDzw4x9MaFSHm6tIyWiFempO9P2dtOMiWnTObTzx19O+Msvi/htb6NqsZ/O3s7eMiJWj9dTFq5AEM9w6Lh/X076mm6aA9sCSIoJAHo13PxwXzBABvcU8c/u7iQHUUTgzNM0Wo1dlmJRzDKZSAAAAAAwJwLO5a/4yl+5v++H209u/94v13Pn59nDcvtSL21xLUpndfvy7VA5//w4f27LOL795PYo+f7974+SXupFFhk591zTOL79eH98nts4eItR07Oe9axnPeuZE0CZ27tPW1u3OzOKit91rOe+1K7jFmVbZRyPx0AxaDGNyYnJp/7+eXL7yaB/9H/Pku1wvejpgenJsPvz+/+mrSgjkevxerzVlbPImoxrYbKeY8BJsnrRY89KMmG12IoUvs3b7eanpycFiVHdouYWg8lsNmt1FS+33+9zIiFVOq5jbU9nZ1MABYA2AQAAAAAAg0MAAAkAAACfd/skAWoWAKqz3++H+/T0pGA6hrVD9XUrrc4zc3Nzc/r9sOZyIGq6bDnpYwKensDQ9y/K37+cAFtbW3TudhWOtwZzlstb/X5/a6vf72/x5+fm5nB6slBlZ3Fcha363d5ut7u3ni1rLoPf728l3KcK"};a.src=
a.ogg;return a});
define("fx",["require"],function(){return{"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","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.",
download:"Download","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again","web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",cancel:"Cancel","change-to-click-and-move":"\u062a\u063a\u064a\u064a\u0631 \u0648\u0636\u0639 \u0627\u0644\u062a\u062d\u0643\u0645 \u0644\u0644\u0646\u0642\u0631 \u0648\u0627\u0644\u062a\u062d\u0631\u0643",
yes:"\u0646\u0639\u0645 \u0641\u0639\u0644\u0627","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"\u0627\u0644\u062e\u0631\u0648\u062c \u0645\u0646 \u0648\u0636\u0639 \u0645\u0644\u0626 \u0644\u0644\u0634\u0627\u0634\u0629",no:"\u0644\u0627","download-failed":"Download failed","giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.",
"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.",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",
downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.","enable-video-prompt":"\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u0641\u064a\u062f\u064a\u0648\u061f","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.",
"To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"\u0623\u062f\u062e\u0644 \u0645\u0644\u0621 \u0627\u0644\u0634\u0627\u0634\u0629","use-cardboard-v2":"Use Cardboard v2",unmute:"\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u0635\u0648\u062a","enter-vr":"Enter VR content","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"},"bg-bg":{mute:"Mute","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.","download-tour":"Download Tour for offline playing","change-to-drag-and-release":"Change control mode to Drag and Release","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.",
cancel:"Cancel","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again","web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",download:"Download","change-to-click-and-move":"Change control mode to Click and Move",yes:"yes",
"delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Exit fullscreen",no:"no","download-failed":"Download failed","giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.","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.",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?",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.",
"enable-video-prompt":"Enable video?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Enter fullscreen","use-cardboard-v2":"Use Cardboard v2",unmute:"Unmute","enter-vr":"Enter VR content",
"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?"},"ca-es":{mute:"Silenciar","cardboard-v1":"Si no esteu segurs de quina versi\u00f3 de cartr\u00f3 utilitzeu, seleccioneu el control de punt d'acc\u00e9s per defecte. Despr\u00e9s, simplement veureu un punt d'acc\u00e9s i espereu fins que s'activi l'acci\u00f3.","download-tour":"Descarregueu la visita virtual per a jugar fora de l\u00ednia",
"change-to-drag-and-release":"Canvieu el mode de control a Arrossegar i deixeu anar","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.",cancel:"Cancel\u00b7lar","storage-not-provided-bookmark":"S'ha denegat l'emmagatzematge persistent. Proveu de marcar aquesta p\u00e0gina web i torneu-la a carregar.",
"dont-display-again":"No tornis a mostrar aquesta informaci\u00f3","web-server-required":"Aquesta visita virtual no es pot reproduir des d'una unitat local. Carregueu-lo a Internet i torneu-ho a provar.\nSi ho preferiu, arrossegueu el fitxer htm (o tota la carpeta de la visita virtual) a la icona de l'aplicaci\u00f3 TourViewer.",download:"Descarregar","change-to-click-and-move":"Canvieu el mode de control a Fer clic i desplaceu",yes:"s\u00ed","delete-downloaded":"Suprimeix","use-safari-for-vr":"Recomanem Safari per a visualitzar aquesta visita virtual en mode VR",
"exit-fullscreen":"Surt de pantalla completa",no:"no","download-failed":"Error de desc\u00e0rrega","giroscope-disabled-http":"Accediu a aquesta p\u00e0gina web a trav\u00e9s de http de manera que el moviment i l\u2019orientaci\u00f3 del dispositiu i el mode VR estan desactivats, accediu-hi mitjan\u00e7ant https per habilitar-les.","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.",
downloading:"Baixant","cardboard-v2":"Si teniu unes Cardboard v2, que venen amb un bot\u00f3, podeu mirar cap a un punt de vista i pr\u00e9mer el bot\u00f3 per activar-lo.","enable-video-audio-prompt":"Habilitar v\u00eddeo i \u00e0udio?",downloaded:"Aquesta visita virtual es descarrega per a reproduir-la fora de l\u00ednia.","samsung-internet-vr-info":"Si teniu un auricular Gear VR compatible amb aquest dispositiu i heu instal\u00b7lat Samsung Internet per a VR, tamb\u00e9 podeu utilitzar-lo per visualitzar aquest contingut en VR, nom\u00e9s heu de posar el tel\u00e8fon m\u00f2bil als auriculars.",
"enable-video-prompt":"Activar v\u00eddeo?","giroscope-disabled-safari-request-permission":["Aquest lloc web est\u00e0 desactivat en el moviment i en la direcci\u00f3 o en mode VR del dispositiu.","Per veure correctament aquesta p\u00e0gina web, feu clic a Continuar i accepteu la sol\u00b7licitud de perm\u00eds si se us demana."],"storage-not-provided-launch-from-homescreen":"Torneu a iniciar la visita virtual des de la icona de la pantalla inicial.","enter-fullscreen":"Entra a pantalla completa",
"use-cardboard-v2":"Utilitzeu Cardboard v2",unmute:"No activa","enter-vr":"Introdu\u00efu contingut de VR","use-cardboard-info":"Podeu utilitzar qualsevol auricular de Google Cardboard compatible per a visualitzar aquest contingut en VR.","refresh-downloaded":"Actualitzaci\u00f3","use-default-cardboard":"\u00das per defecte","enable-audio-prompt":"Activar \u00e0udio?"},"da-dk":{mute:"Deaktiver lyd","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.",
"download-tour":"Download Tour for offline playing","change-to-drag-and-release":"Skift kontroltilstand for at tr\u00e6kke og slippe","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.",download:"Download","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.",
"dont-display-again":"Don't display this info again","web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",cancel:"Cancel","change-to-click-and-move":"Skift kontroltilstand for at klikke og flytte",yes:"Ja","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Afslut fuldsk\u00e6rm",
no:"ingen","download-failed":"Download failed","giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.","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.",downloading:"Downloading",
"cardboard-v2":"If you have a Cardboard v2 headset, which comes with a button, you can gaze at a hotspot and press the button to trigger its action.","enable-video-audio-prompt":"Aktiv\u00e9r lyd og video?",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.",
"enable-video-prompt":"Aktiv\u00e9r video?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Indtast fuldsk\u00e6rm","use-cardboard-v2":"Use Cardboard v2",unmute:"Aktiv\u00e9r lyd","enter-vr":"Enter VR content",
"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?"},"de-de":{mute:"Deaktiviere 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","giroscope-disabled-safari-request-permission":["Der Bewegungs- und Orientierungszugriff, sowie VR Modus Ihres Ger\u00e4ts sind f\u00fcr diese Seite deaktiviert.",
"Um diese Webseite korrekt anzuzeigen, klicken Sie auf Weiter und akzeptieren Sie die Erlaubnisanfrage, wenn Sie dazu aufgefordert werden."],"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.",download:"Download",downloading:"Downloading","dont-display-again":"Diese Info nicht mehr anzeigen","web-server-required":"Diese Virtual Tour kann nicht von einem lokalen Laufwerk abgespielt werden. Laden Sie Ihre Tour ins Internet und versuchen Sie es erneut.\nAlternativ, ziehen Sie die htm Datei (oder den ganzen Tour Ordner) auf das Icon der Tour Viewer App, um die Tour direkt lokal abzuspielen.",
cancel:"Cancel","change-to-click-and-move":"\u00c4ndern Sie den Steuerungsmodus, um zu klicken und zu verschieben",yes:"ja","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Vollbild verlassen",no:"nein","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","download-failed":"Download failed","giroscope-disabled-http":"Der Bewegungs- und Ausrichtungsszugriff Ihres Ger\u00e4ts ist f\u00fcr diese Webseite deaktiviert. Greifen Sie bitte \u00fcber https darauf zu.",
"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.","change-to-drag-and-release":"\u00c4ndern Sie den Steuerungsmodus zum Ziehen und Loslassen","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":"Video und Audio aktivieren?",
downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.","enable-video-prompt":"Video aktivieren?","storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Vollbildmodus aktivieren","use-cardboard-v2":"Use Cardboard v2",
unmute:"Audio aktivieren","enter-vr":"Enter VR content","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":"Audio aktivieren?"},"el-gr":{mute:"\u0391\u03c0\u03b5\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03c4\u03b5 \u03c4\u03bf\u03bd \u03ae\u03c7\u03bf","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.",
"download-tour":"Download Tour for offline playing","change-to-drag-and-release":"\u0391\u03bb\u03bb\u03ac\u03be\u03c4\u03b5 \u03c4\u03b7 \u03bb\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03af\u03b1 \u03b5\u03bb\u03ad\u03b3\u03c7\u03bf\u03c5 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c3\u03cd\u03c1\u03b5\u03c4\u03b5 \u03ba\u03b1\u03b9 \u03bd\u03b1 \u03b1\u03c0\u03b5\u03bb\u03b5\u03c5\u03b8\u03b5\u03c1\u03ce\u03c3\u03b5\u03c4\u03b5","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.",
download:"Download","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again","web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",cancel:"Cancel","change-to-click-and-move":"\u0391\u03bb\u03bb\u03ac\u03be\u03c4\u03b5 \u03c4\u03b7 \u03bb\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03af\u03b1 \u03b5\u03bb\u03ad\u03b3\u03c7\u03bf\u03c5 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03ba\u03ac\u03bd\u03b5\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03ba\u03b1\u03b9 \u03bd\u03b1 \u03bc\u03b5\u03c4\u03b1\u03ba\u03b9\u03bd\u03b7\u03b8\u03b5\u03af\u03c4\u03b5",
yes:"\u039d\u03b1\u03af","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"\u0388\u03be\u03bf\u03b4\u03bf\u03c2 \u03b1\u03c0\u03cc \u03c4\u03b7\u03bd \u03c0\u03bb\u03ae\u03c1\u03b7 \u03bf\u03b8\u03cc\u03bd\u03b7",no:"\u03cc\u03c7\u03b9","download-failed":"Download failed","giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.",
"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.",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;",
downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.","enable-video-prompt":"\u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03b2\u03af\u03bd\u03c4\u03b5\u03bf;","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.",
"To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"\u0395\u03b9\u03c3\u03ac\u03b3\u03b5\u03c4\u03b5 \u03c4\u03b7\u03bd \u03c0\u03bb\u03ae\u03c1\u03b7 \u03bf\u03b8\u03cc\u03bd\u03b7","use-cardboard-v2":"Use Cardboard v2",unmute:"\u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03ae\u03c7\u03bf\u03c5",
"enter-vr":"Enter VR content","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;"},"en-us":{mute:"Mute","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.",
"download-tour":"Download Tour for offline playing","change-to-drag-and-release":"Change control mode to Drag and Release","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.",cancel:"Cancel","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again",
"web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",download:"Download","change-to-click-and-move":"Change control mode to Click and Move",yes:"yes","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Exit fullscreen",no:"no","download-failed":"Download failed",
"giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.","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.",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?",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.","enable-video-prompt":"Enable video?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.",
"To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Enter fullscreen","use-cardboard-v2":"Use Cardboard v2",unmute:"Unmute","enter-vr":"Enter VR content","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?"},"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","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.",
"use-cardboard-v2":"Usar Cardboard v2","storage-not-provided-bookmark":"Almacenamiento persistente denagado. Intente a\u00f1adir la p\u00e1gina a los marcadores y recargarla.","dont-display-again":"No volver a mostrar esta informaci\u00f3n","web-server-required":"Este tour virtual no puede reproducirse desde una unidad local. Por favor s\u00fabalo a internet y pruebe de nuevo.\nSi lo prefiere puede arrastrar el archivo html o la carpeta con el tour sobre el icono de la aplicaci\u00f3n Tour Viewer de su escritorio.",
download:"Descargar","change-to-click-and-move":"Cambiar el modo de control a pulsar y mover",yes:"si","delete-downloaded":"Borrar","use-safari-for-vr":"Recomendamos Safari para ver este tour en modo VR","exit-fullscreen":"Salir de pantalla completa",no:"no","download-failed":"La descarga ha fallado","giroscope-disabled-http":"Est\u00e1 accediendo a esta p\u00e1gina web por http por lo que el acceso al movimiento y la orientaci\u00f3n del dispositivo est\u00e1 deshabilitado, por favor acceda por https.",
"use-cardboard":"Usar Cardboard","launch-default-browser":"Lanzar en el navegador por defecto","rotate-device":"Por favor, gire el dispositivo","exit-vr":"Salir de VR","storage-not-provided-launch-from-desktop":"Por favor lance el tour desde el escritorio para descargarlo.",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?",
downloaded:"Este tour esta descargado para reproducirlo sin conexi\u00f3n.","samsung-internet-vr-info":"Si tiene unas gafas Gear VR compatibles con este dispositivo y tiene instalado Samsung Internet for VR puede usarlo para ver este contenido en VR, solo tiene que poner ahora el dispositivo en las gafas.","enable-video-prompt":"\u00bfActivar v\u00eddeo?","giroscope-disabled-safari-request-permission":["El acceso al movimiento y la orientaci\u00f3n del dispositivo est\u00e1 deshabiltado para este sitio.",
"Para ver correctamente la p\u00e1gina por favor pulse Continuar y acepte la petici\u00f3n de permiso si se muestra."],"storage-not-provided-launch-from-homescreen":"Por favor lance el tour desde el icono de la pantalla de inicio para descargarlo.","enter-fullscreen":"Mostrar en pantalla completa",unmute:"Habilitar sonido","enter-vr":"Entrar al contenido VR","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?"},"fi-fi":{mute:"Poista \u00e4\u00e4ni k\u00e4yt\u00f6st\u00e4","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":"Muuta ohjaustilaa vet\u00e4m\u00e4ll\u00e4 ja vapauttamalla","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.",
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":"Muuta ohjaustilaa napsauttamalla ja siirt\u00e4m\u00e4ll\u00e4",
yes:"Joo","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Poistu koko n\u00e4yt\u00f6st\u00e4",no:"ei","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.","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.",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":"Ota \u00e4\u00e4ni ja video k\u00e4ytt\u00f6\u00f6n?",downloaded:"This tour is downloaded for offline playing.","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":"Ota video k\u00e4ytt\u00f6\u00f6n?","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":"Anna koko n\u00e4ytt\u00f6","use-cardboard-v2":"Use Cardboard v2",unmute:"Ota \u00e4\u00e4ni k\u00e4ytt\u00f6\u00f6n",
"enter-vr":"Enter VR content","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":"Ota \u00e4\u00e4ni k\u00e4ytt\u00f6\u00f6n?"},"fr-fr":{mute:"D\u00e9sactiver l'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",
"giroscope-disabled-safari-request-permission":["L'acc\u00e8s aux mouvements et \u00e0 l'orientation de votre appareil est d\u00e9sactiv\u00e9 pour ce site.","Pour voir correctement cette page Web, veuillez cliquer sur Continuer et accepter la demande d'autorisation si elle est affich\u00e9e."],"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.",
download:"Download",downloading:"Downloading","dont-display-again":"Ne plus afficher cette information","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":"Changer le mode de contr\u00f4le pour cliquer et d\u00e9placer",yes:"oui","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode",
"exit-fullscreen":"Quitter le mode plein \u00e9cran",no:"non","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","download-failed":"Download failed","giroscope-disabled-http":"L'acc\u00e8s aux mouvements et \u00e0 l'orientation de votre appareil est d\u00e9sactiv\u00e9 pour cette page Web. Veuillez y acc\u00e9der via https.","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.","change-to-drag-and-release":"Changer le mode de contr\u00f4le pour faire glisser et rel\u00e2cher","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":"Activer l'audio? et la vid\u00e9o?",downloaded:"This tour is downloaded for offline playing.","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":"Activer la vid\u00e9o?","storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Passer en mode plein \u00e9cran","use-cardboard-v2":"Use Cardboard v2",unmute:"Activer l'audio","enter-vr":"Enter VR content","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":"Activer l'audio?"},
"hr-hr":{mute:"nijem","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.","download-tour":"Download Tour for offline playing","change-to-drag-and-release":"Promijenite na\u010din upravljanja u povla\u010denje i otpu\u0161tanje","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.",
download:"Download","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again","web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",cancel:"Cancel","change-to-click-and-move":"Promijenite na\u010din upravljanja na Klik i Premjesti",
yes:"Da","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Iza\u0111ite s punog zaslona",no:"Ne","download-failed":"Download failed","giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.","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.",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?",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.",
"enable-video-prompt":"Omogu\u0107ite videozapis?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Unesite cijeli zaslon","use-cardboard-v2":"Use Cardboard v2",unmute:"Uklju\u010di mikrofon",
"enter-vr":"Enter VR content","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"\u017delite li omogu\u0107iti zvuk?"},"hu-hu":{mute:"N\u00e9m\u00edt\u00e1s","cardboard-v1":"Ha nem vagy biztos benne, hogy milyen VR eszk\u00f6zt haszn\u00e1lsz, akkor v\u00e1laszd az alap\u00e9rtelmezettet \u00e9s az egyes hotspot-ok megtekint\u00e9s\u00e9hez csak tartsd ott a jel\u00f6l\u0151t.",
"download-tour":"T\u00fara let\u00f6lt\u00e9se offline megtekint\u00e9shez","change-to-drag-and-release":"Ir\u00e1ny\u00edt\u00e1s \u00e1t\u00e1ll\u00edt\u00e1sa: megfog \u00e9s mozgat m\u00f3dra","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.",cancel:"M\u00e9gsem","storage-not-provided-bookmark":"Pr\u00f3b\u00e1lja meg az oldalt megjel\u00f6lni \u00e9s \u00fajrat\u00f6lteni!",
"dont-display-again":"Ne mutasd \u00fajra","web-server-required":"Ez a t\u00fara nem j\u00e1tszat\u00f3 le helyi futtat\u00e1ssal, k\u00e9rlek t\u00f6lsd fel az internetre \u00e9s pr\u00f3b\u00e1ld meg \u00fajra\nM\u00e1sik megold\u00e1s, ha a Tourviewer applik\u00e1ci\u00f3ra h\u00fazod a t\u00fara f\u00e1jlt, vagy az azt tartalmaz\u00f3 t\u00fara mapp\u00e1t.",download:"Let\u00f6lt\u00e9s","change-to-click-and-move":"Ir\u00e1ny\u00edt\u00e1s \u00e1t\u00e1ll\u00edt\u00e1sa kattint \u00e9s k\u00f6rben\u00e9z m\u00f3dra",
yes:"igen","delete-downloaded":"T\u00f6rl\u00e9s","use-safari-for-vr":"Azt javasoljuk, hogy haszn\u00e1lj Safari b\u00f6ng\u00e9sz\u0151t a VR n\u00e9zet megtekint\u00e9s\u00e9hez","exit-fullscreen":"Kil\u00e9p\u00e9s a teljesk\u00e9perny\u0151 m\u00f3db\u00f3l",no:"nem","download-failed":"Let\u00f6lt\u00e9s sikertelen","giroscope-disabled-http":"Az oldalt https el\u0151taggal sz\u00fcks\u00e9ges megnyitnod ahhoz, hogy a k\u00e9sz\u00fcl\u00e9ked mozg\u00e1s\u00e1t \u00e9rz\u00e9kelni tudja.","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.",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",downloaded:"Let\u00f6ltve offline megtekint\u00e9shez","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.","enable-video-prompt":"Vide\u00f3 enged\u00e9lyez\u00e9se","giroscope-disabled-safari-request-permission":["A megjelen\u00edt\u0151 eszk\u00f6z\u00f6d nem adott hozz\u00e1f\u00e9r\u00e9st a mozg\u00e1s \u00e9rz\u00e9kel\u00e9s\u00e9hez ezen az oldalon.",
"Ahhoz hogy megfelel\u0151en l\u00e1sd az oldalt k\u00e9rlek enged\u00e9lyezd a hozz\u00e1f\u00e9r\u00e9st."],"storage-not-provided-launch-from-homescreen":"Ind\u00edtsd \u00fajra a t\u00far\u00e1t a home ikonra kattintva.","enter-fullscreen":"Teljesk\u00e9perny\u0151","use-cardboard-v2":"Cardboard 2.0 haszn\u00e1lata",unmute:"N\u00e9m\u00edt\u00e1s kikapcsol\u00e1sa","enter-vr":"VR tartalom megtekint\u00e9se","use-cardboard-info":"Haszn\u00e1lhatsz b\u00e1rmilyen google cardboard-ot ahhoz, hogy VR m\u00f3dban l\u00e1sd a t\u00far\u00e1t.",
"refresh-downloaded":"Friss\u00edt\u00e9s","use-default-cardboard":"Alap\u00e9rtelmezett haszn\u00e1lata","enable-audio-prompt":"Hang enged\u00e9lyez\u00e9se"},"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",
"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.",download:"Download","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again","web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",
cancel:"Cancel","change-to-click-and-move":"Cambia la modalit\u00e0 di controllo per fare clic e spostare",yes:"s\u00ec","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Esci dalla modalit\u00e0 schermo intero",no:"no","download-failed":"Download failed","giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.",
"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.",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?",downloaded:"This tour is downloaded for offline playing.",
"samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.","enable-video-prompt":"Abilita il video?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],
"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Entra a schermo intero","use-cardboard-v2":"Use Cardboard v2",unmute:"Abilita audio","enter-vr":"Enter VR content","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?"},"ja-jp":{mute:"\u30df\u30e5\u30fc\u30c8",
"cardboard-v1":"\u4f7f\u7528\u3057\u3066\u3044\u308bCardboard\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u308f\u304b\u3089\u306a\u3044\u5834\u5408\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30db\u30c3\u30c8\u30b9\u30dd\u30c3\u30c8\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u6b21\u306b\u3001\u30db\u30c3\u30c8\u30b9\u30dd\u30c3\u30c8\u3092\u6ce8\u8996\u3057\u3001\u30a2\u30af\u30b7\u30e7\u30f3\u304c\u52d5\u4f5c\u3059\u308b\u307e\u3067\u5f85\u6a5f\u3057\u307e\u3059\u3002\uff08\u4e00\u90e8\u52d5\u4f5c\u3057\u306a\u3044\u30a2\u30af\u30b7\u30e7\u30f3\u6709\u308a\uff09",
"download-tour":"\u30aa\u30d5\u30e9\u30a4\u30f3\u518d\u751f\u7528\u30c4\u30a2\u30fc\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b","change-to-drag-and-release":"\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30e2\u30fc\u30c9\u3092\u30c9\u30e9\u30c3\u30b0\uff06\u30ea\u30ea\u30fc\u30b9\u306b\u5909\u66f4","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",
cancel:"\u30ad\u30e3\u30f3\u30bb\u30eb","storage-not-provided-bookmark":"\u6c38\u7d9a\u7684\u306a\u4fdd\u5b58\u304c\u62d2\u5426\u3055\u308c\u305f\u3002\u3053\u306eWeb\u30da\u30fc\u30b8\u3092\u30d6\u30c3\u30af\u30de\u30fc\u30af\u3057\u3001\u66f4\u65b0\u3057\u3066\u304f\u3060\u3055\u3044","dont-display-again":"\u4eca\u5f8c\u3053\u306e\u60c5\u5831\u3092\u8868\u793a\u3057\u306a\u3044","web-server-required":"\u3053\u306e\u30d0\u30fc\u30c1\u30e3\u30eb\u30c4\u30a2\u30fc\u306f\u3001\u30ed\u30fc\u30ab\u30eb\u30c9\u30e9\u30a4\u30d6\u304b\u3089\u518d\u751f\u3067\u304d\u307e\u305b\u3093\u3002\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306b\u63a5\u7d9a\u3057\u3001\u3082\u3046\u4e00\u5ea6\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3092\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\n\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u3001htm\u30d5\u30a1\u30a4\u30eb\uff08\u307e\u305f\u306f\u30c4\u30a2\u30fc\u306e\u30d5\u30a9\u30eb\u30c0\u30fc\u5168\u4f53\uff09\u3092\u300eTourViewer\u300f\u30a2\u30d7\u30ea\u306e\u30a2\u30a4\u30b3\u30f3\u306b\u30c9\u30e9\u30c3\u30b0\u3057\u307e\u3059",
download:"\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9","change-to-click-and-move":"\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30e2\u30fc\u30c9\u3092\u30af\u30ea\u30c3\u30af\uff06\u30e0\u30fc\u30d6\u306b\u5909\u66f4",yes:"\u306f\u3044","delete-downloaded":"\u524a\u9664","use-safari-for-vr":"\u3053\u306e\u30c4\u30a2\u30fc\u3092VR\u30d3\u30e5\u30fc\u3067\u8868\u793a\u3059\u308b\u306b\u306f\u3001Safari\u30d6\u30e9\u30a6\u30b6\u306e\u5229\u7528\u3092\u304a\u52e7\u3081\u3057\u307e\u3059","exit-fullscreen":"\u30d5\u30eb\u30b9\u30af\u30ea\u30fc\u30f3\u3092\u7d42\u4e86\u3059\u308b",
no:"\u3044\u3044\u3048","download-failed":"\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u5931\u6557\u3057\u307e\u3057\u305f","giroscope-disabled-http":"\u3053\u306eWeb\u30da\u30fc\u30b8\u306b\u300ehttp\u300f\u7d4c\u7531\u3067\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u3054\u5229\u7528\u7aef\u672b\u306e\u30e2\u30fc\u30b7\u30e7\u30f3\u3068\u753b\u9762\u306e\u5411\u304d\u3078\u30a2\u30af\u30bb\u30b9\u304c\u3067\u304d\u305a\u3001VR\u30e2\u30fc\u30c9\u304c\u7121\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u300ehttps\u300f\u7d4c\u7531\u3067\u30a2\u30af\u30bb\u30b9\u3057\u6709\u52b9\u306b\u3057\u3066\u304f\u3060\u3055\u3044",
"use-cardboard":"Cardboard\u5229\u7528","launch-default-browser":"\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d6\u30e9\u30a6\u30b6\u3067\u8d77\u52d5","rotate-device":"\u7aef\u672b\u3092\u56de\u8ee2\u3055\u305b\u3066\u304f\u3060\u3055\u3044","exit-vr":"VR\u30d3\u30e5\u30fc \u7d42\u4e86","storage-not-provided-launch-from-desktop":"\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u306e\u30a2\u30a4\u30b3\u30f3\u304b\u3089\u30c4\u30a2\u30fc\u3092\u518d\u8d77\u52d5\u3057\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044",
downloading:"\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u4e2d","cardboard-v2":"\u30dc\u30bf\u30f3\u304c\u4ed8\u5c5e\u3057\u3066\u3044\u308bCardboard v2\u30d8\u30c3\u30c9\u30bb\u30c3\u30c8\u3092\u304a\u6301\u3061\u306e\u5834\u5408\u306f\u3053\u3061\u3089\u3002","enable-video-audio-prompt":"\u30d3\u30c7\u30aa\u3068\u97f3\u58f0\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u304b\uff1f",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-info":"\u3053\u306e\u7aef\u672b\u3068\u4e92\u63db\u6027\u306e\u3042\u308bVR\u30d8\u30c3\u30c9\u30bb\u30c3\u30c8\u6a5f\u5668\u3092\u304a\u6301\u3061\u3067\u3001VR\u7528\u306e\u300eSamsung Internet\u300f\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u5834\u5408\u3002VR\u30d3\u30e5\u30fc\u3067\u3053\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u8868\u793a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u305d\u306e\u969b\u3001\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u3092\u30d8\u30c3\u30c9\u30bb\u30c3\u30c8\u306b\u88c5\u7740\u3059\u308b\u3060\u3051\u3067\u3059",
"enable-video-prompt":"\u30d3\u30c7\u30aa\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u304b\uff1f","giroscope-disabled-safari-request-permission":["\u3054\u5229\u7528\u7aef\u672b\u306e\u30e2\u30fc\u30b7\u30e7\u30f3\u3068\u753b\u9762\u306e\u5411\u304d\u3078\u30a2\u30af\u30bb\u30b9\u304c\u3067\u304d\u305a\u3001VR\u30e2\u30fc\u30c9\u304c\u7121\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002","\u3053\u306eWeb\u30da\u30fc\u30b8\u3092\u6b63\u3057\u304f\u8868\u793a\u3059\u308b\u306b\u306f\u3001\u300eOK\u300f\u3092\u30af\u30ea\u30c3\u30af\u3057\u300e\u8a31\u53ef\u300f\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u5165\u308c\u3066\u304f\u3060\u3055\u3044"],
"storage-not-provided-launch-from-homescreen":"\u30db\u30fc\u30e0\u753b\u9762\u306e\u30a2\u30a4\u30b3\u30f3\u304b\u3089\u30c4\u30a2\u30fc\u3092\u518d\u8d77\u52d5\u3057\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044","enter-fullscreen":"\u30d5\u30eb\u30b9\u30af\u30ea\u30fc\u30f3\u3067\u5165\u529b\u3059\u308b","use-cardboard-v2":"Cardboard v2\u5229\u7528",unmute:"\u30df\u30e5\u30fc\u30c8\u89e3\u9664","enter-vr":"VR\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u5165\u529b","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"},"nb-no":{mute:"Skru av lyd","cardboard-v1":"Hvis du ikke er sikker, hvilken Cardboard versjon du bruker, velger du standard hotspot-kontrollen. Du vil da bare se p\u00e5 et hotspot og vente til handlingen utl\u00f8ses.","download-tour":"Last ned visningen, s\u00e5 den kan bli sett uten internett","change-to-drag-and-release":"Endre kontrollmodus til Trekk og Slipp",
"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.",cancel:"Avbryt","storage-not-provided-bookmark":"Vedvarende lagring nektet. Pr\u00f8v \u00e5 bokmerke denne nettsiden og laste den inn p\u00e5 nytt.","dont-display-again":"Ikke vis denne informasjonen igjen","web-server-required":"Denne virtuelle visningen kan ikke spilles av lokalt. Vennligst last den opp til internett, og fors\u00f8k igjen.\ndersom du prefererer det, kan du dra htm filen (eller hele mappen som inneholder visningen) over 'TourViewer' appen.",
download:"Last ned","change-to-click-and-move":"Endre kontrollmodus til Klikk og Flytt",yes:"Ja","delete-downloaded":"Slett","use-safari-for-vr":"Vi anbefaler Safari for \u00e5 se p\u00e5 venne visningen i VR modus","exit-fullscreen":"G\u00e5 ut av full skjerm",no:"Nei","download-failed":"Nedlastning feilet","giroscope-disabled-http":"Du er koblet til denne nettsiden via http. Dermed er enhetens bevegelses- og orienteringstilgang og VR-modus deaktivert. Koble til via https for \u00e5 aktivere denne.",
"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.",downloading:"Laster ned","cardboard-v2":"Dersom du har Cardboard versjon 2, hvilket kommer med en knapp, kan du kikke p\u00e5 en klikkbar ting i visningen, og bruke knappen for \u00e5 bruke disse tingene, p\u00e5 samme m\u00e5te som p\u00e5 en laptop eller telefon.",
"enable-video-audio-prompt":"Aktivere video og lyd?",downloaded:"Denne visningen er lastet ned, s\u00e5 den kan bli sett uten internett.","samsung-internet-vr-info":"Hvis du har et Gear VR-headset som er kompatibelt med denne enheten, og du har installert Samsung Internet for VR, kan du ogs\u00e5 bruke det til \u00e5 se dette innholdet i VR, du trenger bare \u00e5 sette mobiltelefonen p\u00e5 headsettet n\u00e5.","enable-video-prompt":"Aktivere video?","giroscope-disabled-safari-request-permission":["Din enhet sin bevegelses- og orienterings tilgang, samt VR modus er deaktivert for denne nettsiden.",
"For \u00e5 se denne siden korrekt, vennligst klikk p\u00e5 fortsett og godta tillatelsesforesp\u00f8rselen hvis du blir bedt om dette."],"storage-not-provided-launch-from-homescreen":"Start turen p\u00e5 nytt fra startskjermikonet for \u00e5 laste ned.","enter-fullscreen":"G\u00e5 til full skjerm","use-cardboard-v2":"Bruk Cardboard Versjon 2",unmute:"Skru p\u00e5 lyd","enter-vr":"\u00c5pne VR Modus","use-cardboard-info":"Du kan bruke hvilke some helst Google Cardboard kompatible headsett for \u00e5 se denne visningen i VR.",
"refresh-downloaded":"Last inn p\u00e5 nytt","use-default-cardboard":"Bruk Standard","enable-audio-prompt":"Aktivere audio?"},"nl-nl":{mute:"Schakel audio uit","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":"Verander de besturingsmodus om te slepen en los te laten","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.",
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:"Annuleren","change-to-click-and-move":"Verander de bedieningsmodus om te klikken en te verplaatsen",
yes:"Ja","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Verlaat volledig scherm",no:"Nee","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.","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.",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":"Audio en video inschakelen?",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.",
"enable-video-prompt":"Video inschakelen?","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":"Voer het volledige scherm in","use-cardboard-v2":"Use Cardboard v2",unmute:"Schakel audio in",
"enter-vr":"Enter VR content","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":"Audio inschakelen?"},"nn-no":{mute:"Skru av lyd","cardboard-v1":"Hvis du ikke er sikker, hvilken Cardboard versjon du bruker, velger du standard hotspot-kontrollen. Du vil da bare se p\u00e5 et hotspot og vente til handlingen utl\u00f8ses.","download-tour":"Last ned visningen, s\u00e5 den kan bli sett uten internett",
"change-to-drag-and-release":"Endre kontrollmodus til Trekk og Slipp","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.",cancel:"Avbryt","storage-not-provided-bookmark":"Vedvarende lagring nektet. Pr\u00f8v \u00e5 bokmerke denne nettsiden og laste den inn p\u00e5 nytt.","dont-display-again":"Ikke vis denne informasjonen igjen",
"web-server-required":"Denne virtuelle visningen kan ikke spilles av lokalt. Vennligst last den opp til internett, og fors\u00f8k igjen.\ndersom du prefererer det, kan du dra htm filen (eller hele mappen som inneholder visningen) over 'TourViewer' appen.",download:"Last ned","change-to-click-and-move":"Endre kontrollmodus til Klikk og Flytt",yes:"Ja","delete-downloaded":"Slett","use-safari-for-vr":"Vi anbefaler Safari for \u00e5 se p\u00e5 venne visningen i VR modus","exit-fullscreen":"G\u00e5 ut av full skjerm",
no:"Nei","download-failed":"Nedlastning feilet","giroscope-disabled-http":"Du er koblet til denne nettsiden via http. Dermed er enhetens bevegelses- og orienteringstilgang og VR-modus deaktivert. Koble til via https for \u00e5 aktivere denne.","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.",
downloading:"Laster ned","cardboard-v2":"Dersom du har Cardboard versjon 2, hvilket kommer med en knapp, kan du kikke p\u00e5 en klikkbar ting i visningen, og bruke knappen for \u00e5 bruke disse tingene, p\u00e5 samme m\u00e5te som p\u00e5 en laptop eller telefon.","enable-video-audio-prompt":"Aktivere video og lyd?",downloaded:"Denne visningen er lastet ned, s\u00e5 den kan bli sett uten internett.","samsung-internet-vr-info":"Hvis du har et Gear VR-headset som er kompatibelt med denne enheten, og du har installert Samsung Internet for VR, kan du ogs\u00e5 bruke det til \u00e5 se dette innholdet i VR, du trenger bare \u00e5 sette mobiltelefonen p\u00e5 headsettet n\u00e5.",
"enable-video-prompt":"Aktivere video?","giroscope-disabled-safari-request-permission":["Din enhet sin bevegelses- og orienterings tilgang, samt VR modus er deaktivert for denne nettsiden.","For \u00e5 se denne siden korrekt, vennligst klikk p\u00e5 fortsett og godta tillatelsesforesp\u00f8rselen hvis du blir bedt om dette."],"storage-not-provided-launch-from-homescreen":"Start turen p\u00e5 nytt fra startskjermikonet for \u00e5 laste ned.","enter-fullscreen":"G\u00e5 til full skjerm","use-cardboard-v2":"Bruk Cardboard Versjon 2",
unmute:"Skru p\u00e5 lyd","enter-vr":"\u00c5pne VR Modus","use-cardboard-info":"Du kan bruke hvilke some helst Google Cardboard kompatible headsett for \u00e5 se denne visningen i VR.","refresh-downloaded":"Last inn p\u00e5 nytt","use-default-cardboard":"Bruk Standard","enable-audio-prompt":"Aktivere audio?"},"pl-pl":{mute:"Wycisz","cardboard-v1":"Je\u015bli nie masz pewno\u015bci, kt\u00f3rej wersji Cardboard u\u017cywasz, wybierz domy\u015blne sterowanie hotspotem. Nast\u0119pnie skieruj wzrok na hotspot i poczekaj na uruchomienie ich dzia\u0142ania.",
"download-tour":"Pobierz spacer do odtwarzania w trybie offline","change-to-drag-and-release":"Zmie\u0144 tryb na Przeci\u0105gnij i Upu\u015b\u0107","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.",cancel:"Anuluj","storage-not-provided-bookmark":"Odmowa zapisu w pami\u0119ci sta\u0142ej. Spr\u00f3buj doda\u0107 stron\u0119 do zak\u0142adek i za\u0142aduj j\u0105 ponownie.",
"dont-display-again":"Nie wy\u015bwietlaj tego ponownie","web-server-required":"Nie mo\u017cna odtworzy\u0107 tego spaceru z dysku lokalnego. Prze\u015blij go do internetu i spr\u00f3buj ponownie.\nMo\u017cesz te\u017c przeci\u0105gn\u0105\u0107 plik htm (lub ca\u0142y folder spaceru) na ikon\u0119 aplikacji TourViewer.",download:"Pobierz","change-to-click-and-move":"Zmie\u0144 tryb na to Kliknij i Przenie\u015b",yes:"tak","delete-downloaded":"Usu\u0144","use-safari-for-vr":"Zalecamy Safari, jako przegl\u0105dark\u0119 spacer\u00f3w w trybie VR",
"exit-fullscreen":"Wyjd\u017a z trybu pe\u0142nego ekranu",no:"nie","download-failed":"Pobieranie nie powiod\u0142o si\u0119","giroscope-disabled-http":"To jest dost\u0119p za po\u015brednictwem protoko\u0142u http, wi\u0119c dost\u0119p do ruchu i orientacji oraz tryb VR s\u0105 wy\u0142\u0105czone. Prze\u0142\u0105cz si\u0119\u00a0na protok\u00f3\u0142 https, aby je w\u0142\u0105czy\u0107.","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.",downloading:"Pobieranie","cardboard-v2":"Je\u015bli masz okulary Cardboard v2, kt\u00f3re maj\u0105 przycisk, mo\u017cesz spojrze\u0107 na hotspot i nacisn\u0105\u0107 przycisk, aby uruchomi\u0107 ich dzia\u0142anie.","enable-video-audio-prompt":"W\u0142\u0105czy\u0107 video i d\u017awi\u0119k?",downloaded:"Spacer jest pobierany do odtwarzania w trybie offline.",
"samsung-internet-vr-info":"Je\u015bli masz okulary Gear VR i zainstalowa\u0142e\u015b Samsung Internet for VR, to mo\u017cesz u\u017cy\u0107 ich do przegl\u0105dania zawarto\u015bci w VR. Umie\u015b\u0107 teraz telefon w okularach Gear VR.","enable-video-prompt":"W\u0142\u0105czy\u0107 video?","giroscope-disabled-safari-request-permission":["Dost\u0119p do funkcji ruchu i orientacji oraz tryb VR s\u0105 wy\u0142\u0105czone dla tej strony.","Aby poprawnie wy\u015bwietli\u0107 stron\u0119, kliknij kontynuuj i zaakceptuj wszystkie zgody."],
"storage-not-provided-launch-from-homescreen":"Aby pobra\u0107, uruchom ponownie spacer klikaj\u0105c ikon\u0119 strony g\u0142\u00f3wnej.","enter-fullscreen":"Uruchom pe\u0142ny ekran","use-cardboard-v2":"U\u017cyj Cardboard v2",unmute:"Wy\u0142\u0105cz Wycisz","enter-vr":"Wejd\u017a do VR","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?"},"pt-br":{mute:"Mudo","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":"Altere o modo de constroe para Arrastar e Soltar","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.",
cancel:"Cancelar","storage-not-provided-bookmark":"Armazenamento persistente negado. Tente marcar esta p\u00e1gina da Web e recarreg\u00e1-la.","dont-display-again":"N\u00e3o exibir essas informa\u00e7\u00f5es novamente","web-server-required":"Este passeio virtual n\u00e3o pode ser reproduzido a partir de uma unidade local. Envie-o para a Internet e tente novamente.\nSe preferir, arraste o arquivo htm (ou toda a pasta do tour) para o \u00edcone do aplicativo TourViewer.",download:"Download","change-to-click-and-move":"Altere o modo de controle para Clique 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.","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.",downloading:"Baixando","cardboard-v2":"Se voc\u00ea tiver um fone de ouvido Cardboard v2, que vem com um bot\u00e3o, poder\u00e1 observar um ponto de acesso e pressionar o bot\u00e3o para acionar sua a\u00e7\u00e3o.","enable-video-audio-prompt":"Ativar \u00e1udio e v\u00eddeo?",downloaded:"This tour is downloaded for offline playing.",
"samsung-internet-vr-info":"Se voc\u00ea possui um fone de ouvido Gear VR compat\u00edvel com este dispositivo e instalou o Samsung Internet for VR, tamb\u00e9m pode us\u00e1-lo para visualizar esse conte\u00fado em VR. Basta colocar o celular no fone de ouvido agora.","enable-video-prompt":"Ativar v\u00eddeo?","giroscope-disabled-safari-request-permission":["O acesso a movimento e orienta\u00e7\u00e3o do dispositivo e o modo VR est\u00e3o desativados para este site.","Para ver corretamente esta p\u00e1gina da web, clique em continuar e aceite a solicita\u00e7\u00e3o de permiss\u00e3o, se solicitado."],
"storage-not-provided-launch-from-homescreen":"Reinicie o tour no \u00edcone da tela inicial para fazer o download.","enter-fullscreen":"Entrar em tela cheia","use-cardboard-v2":"Use Cardboard v2",unmute:"silencioso","enter-vr":"Inserir conte\u00fado VR","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?"},
"pt-pt":{mute:"Mudo","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":"Altere o modo de constroe para Arrastar e Soltar","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.",
cancel:"Cancelar","storage-not-provided-bookmark":"Armazenamento persistente negado. Tente marcar esta p\u00e1gina da Web e recarreg\u00e1-la.","dont-display-again":"N\u00e3o exibir essas informa\u00e7\u00f5es novamente","web-server-required":"Este passeio virtual n\u00e3o pode ser reproduzido a partir de uma unidade local. Envie-o para a Internet e tente novamente.\nSe preferir, arraste o arquivo htm (ou toda a pasta do tour) para o \u00edcone do aplicativo TourViewer.",download:"Download","change-to-click-and-move":"Altere o modo de controle para Clique 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.","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.",downloading:"Baixando","cardboard-v2":"Se voc\u00ea tiver um fone de ouvido Cardboard v2, que vem com um bot\u00e3o, poder\u00e1 observar um ponto de acesso e pressionar o bot\u00e3o para acionar sua a\u00e7\u00e3o.","enable-video-audio-prompt":"Ativar \u00e1udio e v\u00eddeo?",downloaded:"This tour is downloaded for offline playing.",
"samsung-internet-vr-info":"Se voc\u00ea possui um fone de ouvido Gear VR compat\u00edvel com este dispositivo e instalou o Samsung Internet for VR, tamb\u00e9m pode us\u00e1-lo para visualizar esse conte\u00fado em VR. Basta colocar o celular no fone de ouvido agora.","enable-video-prompt":"Ativar v\u00eddeo?","giroscope-disabled-safari-request-permission":["O acesso a movimento e orienta\u00e7\u00e3o do dispositivo e o modo VR est\u00e3o desativados para este site.","Para ver corretamente esta p\u00e1gina da web, clique em continuar e aceite a solicita\u00e7\u00e3o de permiss\u00e3o, se solicitado."],
"storage-not-provided-launch-from-homescreen":"Reinicie o tour no \u00edcone da tela inicial para fazer o download.","enter-fullscreen":"Entrar em tela cheia","use-cardboard-v2":"Use Cardboard v2",unmute:"silencioso","enter-vr":"Inserir conte\u00fado VR","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?"},
"ru-ru":{mute:"\u0411\u0435\u0437 \u0437\u0432\u0443\u043a\u0430","cardboard-v1":"\u0415\u0441\u043b\u0438 \u0432\u044b \u043d\u0435 \u0443\u0432\u0435\u0440\u0435\u043d\u044b, \u043a\u0430\u043a\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e Cardboard \u0432\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0445\u043e\u0442\u0441\u043f\u043e\u0442 \u043a\u0430\u043a \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e. \u0417\u0430\u0442\u0435\u043c \u0432\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u043d\u0430 \u0445\u043e\u0442\u0441\u043f\u043e\u0442 \u0438 \u0434\u043e\u0436\u0434\u0438\u0442\u0435\u0441\u044c, \u043f\u043e\u043a\u0430 \u043d\u0435 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435.",
"download-tour":"\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0442\u0443\u0440 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u043e\u0433\u043e \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f","change-to-drag-and-release":"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u0435 \u0440\u0435\u0436\u0438\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u0430 \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435",
"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.",
download:"\u0421\u043a\u0430\u0447\u0430\u0442\u044c","storage-not-provided-bookmark":"\u0412 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u043c \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u043e\u0442\u043a\u0430\u0437\u0430\u043d\u043e. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u044d\u0442\u0443 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0432 \u0437\u0430\u043a\u043b\u0430\u0434\u043a\u0438 \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0435\u0435.",
"dont-display-again":"\u0411\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c \u044d\u0442\u0443 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e","web-server-required":"\u042d\u0442\u043e\u0442 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u0442\u0443\u0440 \u043d\u0435\u043b\u044c\u0437\u044f \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u0441 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430. \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0435\u0433\u043e \u0432 \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0435 \u0440\u0430\u0437.\n\u0415\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435, \u043f\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 htm-\u0444\u0430\u0439\u043b (\u0438\u043b\u0438 \u0432\u0441\u044e \u043f\u0430\u043f\u043a\u0443 \u0442\u0443\u0440\u0430) \u043d\u0430 \u0437\u043d\u0430\u0447\u043e\u043a \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f TourViewer.",
cancel:"\u041e\u0442\u043c\u0435\u043d\u0430","change-to-click-and-move":"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u0435 \u0440\u0435\u0436\u0438\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u0430 \u043d\u0430\u0436\u0430\u043d\u0438\u0435 \u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u0435",yes:"\u0434\u0430","delete-downloaded":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c","use-safari-for-vr":"\u041c\u044b \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c Safari \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u044d\u0442\u043e\u0433\u043e \u0442\u0443\u0440\u0430 \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 VR.",
"exit-fullscreen":"\u0412\u044b\u0439\u0442\u0438 \u0438\u0437 \u043f\u043e\u043b\u043d\u043e\u044d\u043a\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u0436\u0438\u043c\u0430",no:"\u043d\u0435\u0442","download-failed":"\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438","giroscope-disabled-http":"\u0412\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0435 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u044d\u0442\u043e\u0439 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0447\u0435\u0440\u0435\u0437 http, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044e \u0438 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0432\u0430\u0448\u0435\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0438 \u0440\u0435\u0436\u0438\u043c VR \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u044b, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u043e\u0439\u0434\u0438\u0442\u0435 \u043d\u0430 \u043d\u0435\u0433\u043e \u0447\u0435\u0440\u0435\u0437 https, \u0447\u0442\u043e\u0431\u044b \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0438\u0445.",
"use-cardboard":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Cardboard","launch-default-browser":"\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e","rotate-device":"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u043e\u0432\u0435\u0440\u043d\u0438\u0442\u0435 \u0432\u0430\u0448\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e",
"exit-vr":"\u0412\u044b\u0439\u0442\u0438 \u0438\u0437 VR","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..",downloading:"\u0421\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435",
"cardboard-v2":"\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0433\u0430\u0440\u043d\u0438\u0442\u0443\u0440\u0430 Cardboard v2 \u0441 \u043a\u043d\u043e\u043f\u043a\u043e\u0439, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0437\u0433\u043b\u044f\u043d\u0443\u0442\u044c \u043d\u0430 \u0445\u043e\u0442\u0441\u043f\u043e\u0442 \u0438 \u043d\u0430\u0436\u0430\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0435\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435.",
"enable-video-audio-prompt":"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0438\u0434\u0435\u043e \u0438 \u0430\u0443\u0434\u0438\u043e?",downloaded:"\u042d\u0442\u043e\u0442 \u0442\u0443\u0440 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u043e\u0433\u043e \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f.","samsung-internet-vr-info":"\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0433\u0430\u0440\u043d\u0438\u0442\u0443\u0440\u0430 Gear VR, \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u0430\u044f \u0441 \u044d\u0442\u0438\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c, \u0438 \u0432\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 Samsung Internet \u0434\u043b\u044f VR, \u0432\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0435 \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 VR, \u0432\u0430\u043c \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u0434\u0435\u0442\u044c \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u043d\u0430 \u0433\u0430\u0440\u043d\u0438\u0442\u0443\u0440\u0443 \u0441\u0435\u0439\u0447\u0430\u0441.",
"enable-video-prompt":"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0438\u0434\u0435\u043e?","giroscope-disabled-safari-request-permission":["\u0414\u043e\u0441\u0442\u0443\u043f \u043a \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044e \u0438 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0432\u0430\u0448\u0435\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0440\u0435\u0436\u0438\u043c VR \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430.",
"\u0427\u0442\u043e\u0431\u044b \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u044d\u0442\u0443 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u043d\u0430\u0436\u043c\u0438\u0442\u0435 \u00ab\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c\u00bb \u0438 \u043f\u0440\u0438\u043c\u0438\u0442\u0435 \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u0435\u0441\u043b\u0438 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u043e."],
"storage-not-provided-launch-from-homescreen":"\u0427\u0442\u043e\u0431\u044b \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c, \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0442\u0443\u0440 \u0441\u043e \u0437\u043d\u0430\u0447\u043a\u0430 \u043d\u0430 \u0433\u043b\u0430\u0432\u043d\u043e\u043c \u044d\u043a\u0440\u0430\u043d\u0435.","enter-fullscreen":"\u0412\u043e\u0439\u0442\u0438 \u0432 \u043f\u043e\u043b\u043d\u043e\u044d\u043a\u0440\u0430\u043d\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c",
"use-cardboard-v2":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Cardboard v2",unmute:"\u0421\u043e \u0437\u0432\u0443\u043a\u043e\u043c","enter-vr":"\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c VR \u043a\u043e\u043d\u0442\u0435\u043d\u0442","use-cardboard-info":"\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043b\u044e\u0431\u0443\u044e \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u0443\u044e \u0433\u0430\u0440\u043d\u0438\u0442\u0443\u0440\u0443 Google Cardboard \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 VR.",
"refresh-downloaded":"\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u044c","use-default-cardboard":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e","enable-audio-prompt":"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0430\u0443\u0434\u0438\u043e?"},"sk-sk":{mute:"Mute","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.",
"download-tour":"Download Tour for offline playing","change-to-drag-and-release":"Change control mode to Drag and Release","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.",cancel:"Cancel","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again",
"web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",download:"Download","change-to-click-and-move":"Change control mode to Click and Move",yes:"yes","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Exit fullscreen",no:"no","download-failed":"Download failed",
"giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.","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.",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?",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.","enable-video-prompt":"Enable video?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.",
"To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Enter fullscreen","use-cardboard-v2":"Use Cardboard v2",unmute:"Unmute","enter-vr":"Enter VR content","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default",
"enable-audio-prompt":"Enable audio?"},"sv-se":{mute:"Inaktivera ljud","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.","download-tour":"Download Tour for offline playing","change-to-drag-and-release":"\u00c4ndra kontrolll\u00e4ge f\u00f6r att dra och sl\u00e4ppa","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.",
download:"Download","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again","web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",cancel:"Cancel","change-to-click-and-move":"\u00c4ndra kontrolll\u00e4ge f\u00f6r att klicka och flytta",
yes:"ja","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Avsluta fullsk\u00e4rmen",no:"Nej","download-failed":"Download failed","giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.","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.",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?",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.",
"enable-video-prompt":"Aktivera video?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Ange fullsk\u00e4rm","use-cardboard-v2":"Use Cardboard v2",unmute:"Aktivera ljud","enter-vr":"Enter VR content",
"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?"},"tr-tr":{mute:"Sesi devre d\u0131s\u0131 b\u0131rakmak","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.","download-tour":"Download Tour for offline playing",
"change-to-drag-and-release":"S\u00fcr\u00fckleyip b\u0131rakmak i\u00e7in kontrol modunu de\u011fi\u015ftirin","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.",download:"Download","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again",
"web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",cancel:"Cancel","change-to-click-and-move":"T\u0131klamak ve ta\u015f\u0131mak i\u00e7in kontrol modunu de\u011fi\u015ftirin",yes:"evet","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Tam ekrandan \u00e7\u0131k",
no:"hay\u0131r","download-failed":"Download failed","giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.","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.",downloading:"Downloading",
"cardboard-v2":"If you have a Cardboard v2 headset, which comes with a button, you can gaze at a hotspot and press the button to trigger its action.","enable-video-audio-prompt":"Ses ve video etkinle\u015ftirilsin mi?",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.",
"enable-video-prompt":"Video aktif edilsin mi?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Tam ekran yap","use-cardboard-v2":"Use Cardboard v2",unmute:"Sesi etkinle\u015ftir","enter-vr":"Enter VR content",
"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?"},"zh-cn":{mute:"\u9759\u97f3","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.","download-tour":"\u4e0b\u8f7d\u5168\u666f\u6f2b\u6e38\uff0c\u4ee5\u8fdb\u884c\u79bb\u7ebf\u64ad\u653e",
"change-to-drag-and-release":"\u5c06\u63a7\u5236\u6a21\u5f0f\u66f4\u6539\u4e3a\u201c\u62d6\u653e\u201d","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.",cancel:"\u53d6\u6d88","storage-not-provided-bookmark":"\u88c5\u7f6e\u5185\u6c38\u4e45\u5b58\u50a8\u88ab\u62d2\u7edd\u3002\u5c1d\u8bd5\u5c06\u6b64\u7f51\u9875\u6dfb\u52a0\u4e3a\u4e66\u7b7e\uff0c \u5e76\u91cd\u65b0\u52a0\u8f7d\u3002",
"dont-display-again":"\u4e0d\u518d\u663e\u793a\u6b64\u4fe1\u606f","web-server-required":"\u6b64\u5168\u666f\u6f2b\u6e38\u65e0\u6cd5\u4ece\u672c\u5730\u9a71\u52a8\u5668\u4e0a\u64ad\u653e\u3002 \u8bf7\u5c06\u5176\u4e0a\u4f20\u5230\u4e92\u8054\u7f51\u670d\u52a1\u5668\uff0c\u7136\u540e\u91cd\u8bd5\u3002\n\u5982\u679c\u9700\u8981\u672c\u5730\u9884\u89c8\uff0c\u53ef\u4ee5\u5c06htm\u6587\u4ef6\uff08\u6216\u5168\u666f\u6f2b\u6e38\u7684\u6574\u4e2a\u6587\u4ef6\u5939\uff09\u62d6\u5230TourViewer\u5e94\u7528\u7a0b\u5e8f\u7684\u56fe\u6807\u4e0a\u3002",
download:"\u4e0b\u8f7d","change-to-click-and-move":"\u5c06\u63a7\u5236\u6a21\u5f0f\u66f4\u6539\u4e3a\u201c\u5355\u51fb\u5e76\u79fb\u52a8\u201d",yes:"\u662f","delete-downloaded":"\u5220\u9664","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"\u9000\u51fa\u5168\u5c4f",no:"\u5426","download-failed":"\u4e0b\u8f7d\u5931\u8d25","giroscope-disabled-http":"\u60a8\u6b63\u5728\u901a\u8fc7http(\u672a\u52a0\u5bc6)\u8bbf\u95ee\u6b64\u7f51\u9875\uff0c\u56e0\u6b64\u8bbe\u5907\u7684\u8fd0\u52a8\u548c\u65b9\u5411\u8bbf\u95ee\u6743\u9650\u4ee5\u53caVR\u6a21\u5f0f\u5747\u5df2\u7981\u7528\uff0c\u8bf7\u901a\u8fc7https(\u52a0\u5bc6)\u5bf9\u5176\u8fdb\u884c\u542f\u7528\u3002",
"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",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",downloaded:"\u6b64\u5168\u666f\u6f2b\u6e38\u5df2\u4e0b\u8f7d\uff0c\u53ef\u8fdb\u884c\u79bb\u7ebf\u64ad\u653e\u3002","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.","enable-video-prompt":"\u542f\u7528\u89c6\u9891\uff1f","giroscope-disabled-safari-request-permission":["\u8be5\u7ad9\u70b9\u5df2\u7981\u7528\u8bbe\u5907\u7684\u8fd0\u52a8\u548c\u65b9\u5411\u8bbf\u95ee\u6743\u9650\uff0cVR\u6a21\u5f0f\u4e5f\u88ab\u7981\u7528\u3002",
"\u8981\u6b63\u786e\u67e5\u770b\u6b64\u7f51\u9875\uff0c\u8bf7\u5355\u51fb\u7ee7\u7eed\uff0c\u5e76\u5728\u51fa\u73b0\u63d0\u793a\u65f6\u63a5\u53d7\u8bb8\u53ef\u8bf7\u6c42"],"storage-not-provided-launch-from-homescreen":"\u8bf7\u4ece\u4e3b\u5c4f\u5e55\u70b9\u51fb\u56fe\u6807\uff0c\u91cd\u65b0\u542f\u52a8\u5168\u666f\u6f2b\u6e38\uff0c\u4ee5\u8fdb\u884c\u4e0b\u8f7d\u3002","enter-fullscreen":"\u8fdb\u5165\u5168\u5c4f","use-cardboard-v2":"Use Cardboard v2",unmute:"\u53d6\u6d88\u9759\u97f3","enter-vr":"Enter VR content",
"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"},"zh-tw":{mute:"\u975c\u97f3","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.","download-tour":"\u4e0b\u8f09\u865b\u64ec\u5c0e\u89bd\uff0c\u4ee5\u9032\u884c\u96e2\u7dda\u64ad\u653e",
"change-to-drag-and-release":"\u5c07\u63a7\u5236\u6a21\u5f0f\u66f4\u6539\u70ba\u201c\u62d6\u653e\u6a21\u5f0f\u201c","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.",cancel:"\u53d6\u6d88","storage-not-provided-bookmark":"\u88dd\u7f6e\u5167\u6c38\u4e45\u5b58\u5132\u88ab\u62d2\u7d55\u3002\u8acb\u5617\u8a66\u5c07\u6b64\u7db2\u9801\u65b0\u589e\u70ba\u66f8\u7c64\uff0c\u4e26\u91cd\u65b0\u8f09\u5165\u3002",
"dont-display-again":"\u4e0d\u518d\u986f\u793a\u672c\u8a0a\u606f","web-server-required":"\u672c\u865b\u64ec\u5c0e\u89bd\u7121\u6cd5\u5728\u672c\u5730\u96fb\u8166\u4e0a\u64ad\u653e\u3002 \u8acb\u5c07\u5176\u4e0a\u50b3\u5230\u7db2\u969b\u7db2\u8def\u4f3a\u670d\u5668\uff0c\u7136\u5f8c\u91cd\u8a66\u3002\n\u5982\u679c\u9700\u8981\u672c\u5730\u9810\u89bd\uff0c\u8acb\u5c07htm\u6a94\u6848\uff08\u6216\u865b\u64ec\u5c0e\u89bd\u7684\u6574\u500b\u8cc7\u6599\u593e\uff09\u62d6\u653e\u5230TourViewer\u61c9\u7528\u7a0b\u793a\u7684\u5716\u793a\u4e0a\u3002",
download:"\u4e0b\u8f09","change-to-click-and-move":"\u5c07\u63a7\u5236\u6a21\u5f0f\u66f4\u6539\u70ba\u201c\u9ede\u64ca\u4e26\u79fb\u52d5\u201d",yes:"\u662f","delete-downloaded":"\u522a\u9664","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"\u9000\u51fa\u5168\u87a2\u5e55",no:"\u5426","download-failed":"\u4e0b\u8f09\u5931\u6557","giroscope-disabled-http":"\u60a8\u6b63\u5728\u901a\u904ehttp(\u672a\u52a0\u5bc6)\u700f\u89bd\u672c\u7db2\u9801\uff0c\u56e0\u6b64\u8a2d\u5099\u7684\u904b\u52d5\u548c\u65b9\u5411\u53d6\u7528\u6b0a\u9650\uff0c\u4ee5\u53caVR\u6a21\u5f0f\u5747\u5df2\u7981\u7528\uff0c\u8acb\u53e6\u901a\u904ehttps(\u52a0\u5bc6)\u7db2\u5740\u5c0d\u5176\u9032\u884c\u555f\u7528\u3002",
"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",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?",downloaded:"\u865b\u64ec\u5c0e\u89bd\u5df2\u4e0b\u8f09\uff0c\u53ef\u9032\u884c\u96e2\u7dda\u64ad\u653e\u3002","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.","enable-video-prompt":"\u5141\u8a31\u5f71\u7247\u64ad\u653e?","giroscope-disabled-safari-request-permission":["\u8a72\u7db2\u7ad9\u5df2\u7981\u7528\u60a8\u8a2d\u5099\u7684\u904b\u52d5\u548c\u65b9\u5411\u53d6\u7528\u6b0a\u9650\uff0cVR\u6a21\u5f0f\u4e5f\u88ab\u7981\u7528\u3002",
"\u8981\u6b63\u78ba\u67e5\u770b\u672c\u7db2\u9801\uff0c\u8acb\u55ae\u64ca\u7e7c\u7e8c\uff0c\u4e26\u5728\u51fa\u73fe\u63d0\u793a\u6642\u63a5\u53d7\u8a31\u53ef\u8acb\u6c42\u3002"],"storage-not-provided-launch-from-homescreen":"\u8acb\u4e3b\u9801\u9762\u87a2\u5e55\u9ede\u64ca\u5716\u793a\uff0c\u91cd\u65b0\u555f\u52d5\u865b\u64ec\u5c0e\u89bd\uff0c\u4ee5\u9032\u884c\u4e0b\u8f09\u3002","enter-fullscreen":"\u9032\u5165\u5168\u87a2\u5e55","use-cardboard-v2":"Use Cardboard v2",unmute:"\u53d6\u6d88\u975c\u97f3",
"enter-vr":"Enter VR content","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?"}}});
define("jp",["require","hp","fx"],function(a){function b(a){return d[j][a]||d.en[a]||a}var c=a("hp"),d=a("fx"),f;for(f in d)d[f.substr(0,2)]=d[f];d.en["giroscope-disabled-safari-toggle-on"]='<div>Your device\'s motion and orientation access and VR mode are disabled for this site.</div>\n<div>To properly see this webpage, please enable it:</div>\n<ul style="display:inline-block; text-align:left;">\n<li>Access you device\'s settings: "Settings > Safari > Privacy & Security" and toggle on: "Motion & Orientation Access".</li>\n<li>Refresh the browser.</li>\n</ul>';d["zh-hk"]=
d["zh-mo"]=d["zh-tw"];d.no=d.nn;var g=function(){var a=window.navigator,b=["language","browserLanguage","systemLanguage","userLanguage"],c,g,f=[],d=a.languages;if(Array.isArray(d))for(c=0;c<d.length;c++)if((g=d[c])&&g.length)g=g.toLowerCase(),-1==f.indexOf(g)&&f.push(g);for(c=0;c<b.length;c++)if((g=a[b[c]])&&g.length)g=g.toLowerCase(),-1==f.indexOf(g)&&f.push(g);return f}(),k=Object.keys(d),j=function(){for(var a=0;a<g.length;a++){var b=g[a];if(0<=k.indexOf(b))return b;b=b.substr(0,2);if(0<=k.indexOf(b))return b}return"en"}();
b.log=function(){c.log("translation lang: "+j);c.log("browser lang: "+g.join(", "))};return b});
define("fw",["require","hB"],function(a){var a=a("hB"),b={webm:"data:video/webm;base64,GkXfo0AgQoaBAUL3gQFC8oEEQvOBCEKCQAR3ZWJtQoeBAkKFgQIYU4BnQI0VSalmQCgq17FAAw9CQE2AQAZ3aGFtbXlXQUAGd2hhbW15RIlACECPQAAAAAAAFlSua0AxrkAu14EBY8WBAZyBACK1nEADdW5khkAFVl9WUDglhohAA1ZQOIOBAeBABrCBCLqBCB9DtnVAIueBAKNAHIEAAIAwAQCdASoIAAgAAUAmJaQAA3AA/vz0AAA=",U7:"data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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Acc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE="};b.src=
!a.GB&&a.wI?b.webm:b.U7;return b});
define("bV",["require","fw","t","hS"],function(a){function b(a){var b=document.createElement("video");b.setAttribute("webkit-playsinline","true");b.setAttribute("playsinline","true");b.src=g.src;var c=b.play();if(c){var h=y;c.then(function(){h=p;b.pause();a(y)})["catch"](function(){h||a(p)})}else b.pause(),a(y)}function c(a){var b=y,c=document.createElement("video");c.setAttribute("webkit-playsinline","true");c.setAttribute("playsinline","true");c.src="";(c=c.play())?c["catch"](function(a){b="NotAllowedError"!==
a.name}).then(function(){a(!b)}):a(p)}function d(a){n=a;j=p;f()}function f(){for(;h.length;)h.shift().call(window,n)}var g=a("fw"),k=a("t");a("hS");var j=y,h=[],n;(function(){k.browser()==k.$k&&11<=k.Fpa()?d(p):k.browser()==k.xh?b(d):c(function(a){a?b(d):d(y)})})();return{test:function(a){h.push(a);j&&f()}}});
define("hz",["require","jp","d","hJ","bV"],function(a){function b(a,b){this.Mv=a;this.Qn=b;this.media=0;this.m8=[];this.Ak=this.Ak.bind(this)}function c(){this.H5=[];this.XX=[];this.or=[];this.yo={};this.yo[k]=m;this.yo[j]=m;this.Ak=this.Ak.bind(this);this.pS=this.pS.bind(this);g.test(function(a){a?f.n9(this.pS):this.Ak(j|k,p)}.bind(this))}var d=a("jp");a("d");var f=a("hJ"),g=a("bV");c.prototype.o9=function(a){this.yo[j]?a.call(this,p):this.H5.push(a)};c.prototype.xra=function(a){this.yo[k]?a.call(this,
p):this.XX.push(a)};c.prototype.zpa=function(a,b){this.Fn(k,a,b)};c.prototype.nU=function(a,b){this.Fn(j,a,b)};c.prototype.Xqa=function(){this.yo[j]=m};c.prototype.pS=function(){var a=j|k;this.or.forEach(function(b){a&=~b.media});this.Bm(a,p)};c.prototype.Fn=function(a,b,c){this.yo[a]===m&&this.gaa(b,c).km(a)};c.prototype.Ak=function(a,b){this.kba();this.Bm(a,b)};c.prototype.Bm=function(a,b){a&j&&(this.yo[j]=b,this.H5.forEach(function(a){a.call(window,b)}));a&k&&(this.yo[k]=b,this.XX.forEach(function(a){a.call(window,
b)}))};c.prototype.kba=function(){var a=this.or;this.or=[];a.forEach(function(a){a.cancel()})};c.prototype.gaa=function(a,c){for(var e=q,g=0;g<this.or.length&&!e;g++)this.or[g].Mv==a&&(e=this.or[g]);e||(e=new b(a,this.Ak),this.or.push(e));0>e.m8.indexOf(c)&&e.m8.push(c);return e};var k=1,j=2;b.prototype.km=function(a){0===(a&this.media)&&(this.media|=a,"button"==this.Mv.get("mediaActivationMode")?this.Mv.IH.Apa(this.Ak):this.Mv.nF.show(this.cea(this.media),this.Ak))};b.prototype.cancel=function(){this.Mv.IH.xma(this.Ak);
this.Mv.nF.hide(this.Ak)};b.prototype.Ak=function(a){this.Qn(this.media,a!==y);this.media=0};b.prototype.cea=function(a){return a==(k|j)?d("enable-video-audio-prompt"):a==j?d("enable-video-prompt"):d("enable-audio-prompt")};return new c});
define("eB",["require","jq","bL","dZ"],function(a){function b(){var a;a=f?!g:!document[j];k.visible!=a&&(k.visible=a,k.trigger(new d(c.U)))}var c=a("jq"),d=a("bL"),f=y,g=y,k=new (a("dZ"));k.visible=p;for(var j,h,a=["hidden","msHidden","webkitHidden"],n=["visibilitychange","msvisibilitychange","webkitvisibilitychange"],e=0;e<a.length;e++)"undefined"!==typeof document[a[e]]&&(j=a[e],h=n[e]);j===m||"undefined"===typeof document[j]?(j="hidden",document[j]=y,h=function(){document[j]=y;b()},a=function(){document[j]=
p;b()},document.addEventListener?(window.addEventListener("focus",h,p),window.addEventListener("blur",a,p)):(document.attachEvent("onfocusin",h),document.attachEvent("onfocusout",a))):document.addEventListener(h,b,y);k.VI=function(a){(f=a)&&(g=y);b()};window.addEventListener("vrdisplayblur",function(){g=p;b()},p);window.addEventListener("vrdisplayfocus",function(){g=y;b()},p);return k});
define("fe","require,cL,hp,jq,ey,fh,bL,dZ,Q,fB,d,hz,eB".split(","),function(a){a("cL");var b=a("hp"),c=a("jq"),d=a("ey"),f=a("fh"),g=a("bL"),k=a("dZ"),j=a("Q"),h=a("fB"),n=a("d"),e=a("hz"),l=a("eB"),r=j.src,a=b.extend(k,function(){k.call(this);this.Wh=this.Wh.bind(this);this.sl=this.sl.bind(this);this.un=this.un.bind(this);this.ms=this.ms.bind(this);this.$K=this.$K.bind(this);this.cA=[];this.Vt="";this.Em=d.J;this.js=m;this.rr=y;this.wg=d.J;this.vk="";this.uk=m;this.Lr=y;this.Vd="inactive";l.bind(c.U,
this.zS,this);this.vF=m;this.wL=y;this.Dc=document.createElement("audio");this.Dc.autobuffer="autobuffer";this.Dc.tt="auto";this.Dc.addEventListener("progress",this.Wh,y);this.Dc.addEventListener("ended",this.sl,p);this.Dc.addEventListener("pause",this.un,y);this.Dc.addEventListener("canplaythrough",this.ms,y);e.xra(this.$K)});a.prototype.$K=function(a){if(this.Vd=="asking")this.Vd="inactive";a?this.Bm():this.na.set("mute",p)};a.prototype.qU=N("na");a.prototype.play=function(a,b){this.vk=a;this.uk=
b;this.Vz(d.Q)};a.prototype.stop=function(){this.Vz(d.J)};a.prototype.Nk=function(){return this.Dc&&this.Dc.currentTime||0};a.prototype.Ai=function(a){this.Dc.volume=a};a.prototype.Vz=function(a){this.wg=a;this.Vd=="activated"?l.visible&&this.yl():this.Vd=="inactive"&&(n.rw()?this.Bm():this.wg!=d.J?this.sx():this.yl())};a.prototype.sx=function(){this.Vd="asking";e.zpa(this.na,this)};a.prototype.Wh=function(){if(this.uk!==m){this.Dc.currentTime=this.uk;this.uk=m}};a.prototype.un=function(){if(this.Em==
d.Q||this.rr&&this.js==d.Q)!isNaN(this.Dc.duration)&&this.Dc.currentTime==this.Dc.duration?this.sl():l.visible&&this.Dc.play()};a.prototype.sl=function(){if(this.Em==d.Q||this.rr&&this.js==d.Q){this.jj(y);this.Em=d.J;this.trigger(new g(c.ua))}};a.prototype.ms=function(){this.wL=p;this.DA();this.jj(y)};a.prototype.zS=function(){l.visible?this.wg&&this.nfa?this.yl():this.Em==d.Q&&this.Dc.play():this.Em==d.Q&&this.Dc.pause()};a.prototype.Bm=function(){if(this.Vd=="inactive"||this.Vd=="asking"){this.Vd=
"activating";this.V3(r);this.x2(function(){this.Vd="activated";this.Dc.pause();this.yl()}.bind(this),function(){this.Vd="inactive";this.sx()}.bind(this))}};a.prototype.yl=function(){this.wg!=d.J&&this.Bia(this.vk,this.uk);this.Cia(this.wg);this.uk=this.wg=this.vk=m};a.prototype.Bia=function(a,b){this.V3(a||"");this.Dc.currentTime!=b&&this.Dia(b)};a.prototype.Dia=function(a){try{this.Dc.currentTime=a}catch(b){}this.vF=a;this.DA()};a.prototype.DA=function(){if(this.wL&&this.vF!==m){try{this.Dc.currentTime=
this.vF}catch(a){}this.vF=m}};a.prototype.Cia=function(a){this.js=a;this.rr||this.oG()};a.prototype.oG=function(){if(this.Em!=this.js)if(this.js==d.Q||this.js==d.kc&&this.Em!=d.Q){this.rr=p;this.jj(this.Vt!=r&&this.Vt!=""?p:y);var a=function(){if(this.rr){this.Em=d.Q;this.rr=y;this.oG()}}.bind(this),b=function(){this.rr=y;this.jj(y);setTimeout(function(){this.oG()}.bind(this),100)}.bind(this);this.x2(a,b)}else{this.jj(y);this.Dc.pause();this.Em=this.js;this.oG()}};a.prototype.x2=function(a,b){function c(){if(!g){l();
b&&b()}}function e(){g=p;l();a&&a()}var g=y,h=2E3,f,d=function(){h=Math.min(h*2,8E3);f=setTimeout(d,h);this.Dc.play()}.bind(this),j=function(){this.Dc.addEventListener("play",e,y);this.Dc.addEventListener("error",c,y);f=setTimeout(d,h)}.bind(this),l=function(){this.Dc.removeEventListener("play",e,y);this.Dc.removeEventListener("error",c,y);clearTimeout(f)}.bind(this);j();(j=this.Dc.play())&&j["catch"](c)};a.prototype.V3=function(a){if(this.Vt!=a){this.wL=y;this.Vt=a;this.Dc.src=this.Vt?this.Vt:j.src}};
a.prototype.jj=function(a){if(this.Lr!=a)(this.Lr=a)?h.a9(f.SC):h.Z8(f.SC)};return a});
define("fo",["require","cL","hS"],function(a){var b=a("cL"),c=a("hS"),a={is:function(a,f){var g=c.parse(a).Wma;return b(f).contains(g)},LB:function(a,c){return a&&b(c).any(function(b){return 0===a.indexOf(b)})},mK:[".mp4",".m4v",".m4p"],M9:[".hevc"],NV:[".mov"],SW:[".webm"],fW:[".ogv",".ogg"],Z9:[".mpg",".mpeg"],Q9:[".jpg",".jpeg"],Nj:[".m3u8"],eW:[".mpd"],g$:[".png"],L9:[".gif"],u9:[".bmp"]};a.N9=[].concat(a.Q9,a.g$,a.L9,a.u9);a.s9=[].concat(a.Nj,a.eW);a.IK=[].concat(a.s9,a.mK,a.SW,a.fW,a.Z9,a.Nj,
a.eW);a.O9=["data:image/"];return a});
define("bI",["require","hS"],function(a){function b(){this.aF=this.TO=q;this.Lm=[];this.pl=y;this.ip=m}var c=a("hS");b.prototype.Rk=function(a,b){this.TO=c.Eq(a);this.aF=b;this.G()};b.prototype.load=function(a,b){var c={};c.call=a;c.context=b||window;this.Lm.push(c);this.ip||(this.ip=this.o_());this.G()};b.prototype.ao=function(){return this.ip!==m};b.prototype.G=function(){0<this.Lm.length&&(this.ip!==m?this.Cca():this.TO&&this.Iy())};b.prototype.Iy=function(){if(!(this.pl||this.ip!==m)){this.pl=
p;var a=document.createElement("script");a.type="text/javascript";a.src=this.TO;document.getElementsByTagName("head")[0].appendChild(a);this.O5()}};b.prototype.O5=function(){var a=this.o_();if(a===m){var b=this;setTimeout(function(){b.O5()},250)}else this.ip=a,this.pl=y,this.G()};b.prototype.o_=function(){if(this.aF){for(var a=window,b=0;b<this.aF.length&&a!==m;b++)a=a[this.aF[b]];return a}};b.prototype.Cca=function(){for(;0<this.Lm.length;){var a=this.Lm.pop();a.call.call(a.context,this.ip)}};return{TW:new b,
Nj:new b,Rk:function(a){this.Nj.Rk(a.get(TDV.PlayerSettings.HLS_URL),["Hls"]);this.TW.Rk(a.get(TDV.PlayerSettings.WEBVR_POLYFILL_URL),["WebVRConfig","FORCE_ENABLE_VR"])}}});
define("da","require,hp,jq,ey,fh,bL,dZ,hB,t,fo,bI,fB,hS,d,hz,eB,fw".split(","),function(a){var b=a("hp"),c=a("jq"),d=a("ey"),f=a("fh"),g=a("bL"),k=a("dZ"),j=a("hB"),h=a("t"),n=a("fo"),e=a("bI"),l=a("fB"),r=a("hS"),o=a("d"),s=a("hz"),t=a("eB"),u=a("fw"),v=b.extend(k,function(){k.call(this);this.sl=this.sl.bind(this);this.un=this.un.bind(this);this.AP=this.AP.bind(this);this.ms=this.ms.bind(this);this.mP=this.mP.bind(this);this.sP=this.sP.bind(this);this.aL=this.aL.bind(this);this.bj=this.bj.bind(this);
this.lP=this.lP.bind(this);this.cA=[];this.ki=q;this.fc=[];this.gd=y;this.sj=1;this.Lr=y;this.qp=this.yS=this.ZA=this.rj=m;this.Zs=y;this.wg=d.J;this.sA=this.uk=this.ZF=this.vk=this.aG=m;this.na=this.ed=q;this.u=document.createElement("video");this.$y=m;this.xS=y;this.X3();t.bind(c.U,this.zS,this);this.Vd="inactive";s.o9(this.aL)});v.prototype.X3=function(){for(this.u.parentNode&&this.u.parentNode.removeChild(this.u);this.u.children.length;)this.u.removeChild(this.u.children[0]);this.u.autoplay=y;
this.u.autobuffer="autobuffer";this.u.tt=h.browser()==h.xh?"metadata":"none";this.u.setAttribute("preload",h.browser()==h.xh?"metadata":"none");this.u.setAttribute("webkit-playsinline","true");this.u.setAttribute("playsinline","true");this.u.addEventListener("ended",this.sl,p);this.u.addEventListener("pause",this.un,y);this.u.addEventListener("stalled",this.un,y);this.u.addEventListener("waiting",this.un,y);this.u.addEventListener("timeupdate",this.AP,y);this.u.addEventListener("loadedmetadata",this.sP,
p);this.u.addEventListener("canplay",this.mP,p);this.u.addEventListener("canplaythrough",this.ms,y);this.u.textTracks.addEventListener("addtrack",this.lP,y);this.bR()};v.prototype.clear=function(){this.MY();this.u=q};v.prototype.Wv=function(a,b,c){if(this.FB())try{a.drawImage(this.u,0,0,b,c);return}catch(e){}a.fillRect(0,0,b,c)};v.prototype.play=function(a,b,c,e,g){if(!(this.na==a&&this.vk==b&&this.aG==c&&this.uk==e&&this.ZF==g&&this.wg==d.Q)){this.na=a;this.vk=b;this.aG=c;this.uk=e;this.ZF=g;this.Vz(d.Q)}};
v.prototype.stop=function(){this.Vz(d.J)};v.prototype.si=P("rj");v.prototype.FB=function(){return this.vk||this.u.readyState==this.u.HAVE_NOTHING||this.u.readyState==this.u.HAVE_METADATA||this.u.currentTime===0?y:p};v.prototype.hg=function(a){if(this.gd!=a){this.gd=a;this.bR()}};v.prototype.Ai=function(a){if(this.sj!=a){this.sj=a;this.bR()}};v.prototype.bR=function(){this.u.muted=this.sj===0||this.gd;this.u.volume=this.gd?0:this.sj};v.prototype.Vz=function(a){this.wg=a;this.Vd=="activated"?t.visible&&
this.yl():this.Vd=="inactive"&&(this.na&&this.Iea()?this.Q$():this.na&&o.rw()?this.Bm():this.na&&this.wg!=d.J?this.sx():this.yl())};v.prototype.Nk=function(){return this.$y||!this.vk&&this.u&&this.u.currentTime||0};v.prototype.Wn=function(){return this.u&&this.u.duration||0};v.prototype.jc=function(){return this.u&&this.u.videoWidth||0};v.prototype.Sc=function(){return this.u&&this.u.videoHeight||0};v.prototype.sx=function(){if(this.na){this.Vd="requested";s.nU(this.na,this)}};v.prototype.Iea=function(){var a=
this.TZ();return a&&(!a.currentSrc||a.paused)&&!a.muted?p:y};v.prototype.TZ=function(){return this.na.get("settings").get(TDV.PlayerSettings.ACTIVE_VIDEO_ELEMENT)};v.prototype.Q$=function(){this.u=this.TZ();this.X3();this.Bm()};v.prototype.un=function(){(this.rj==d.Q||this.Zs&&this.qp==d.Q)&&!this.u.hasAttribute("loop")&&!isNaN(this.u.duration)&&this.u.currentTime==this.u.duration&&this.u.duration>0&&this.sl();this.AH()};v.prototype.aL=function(a){if(this.Vd=="requested")this.Vd="inactive";a&&this.Bm()};
v.prototype.Bm=function(){if(this.Vd=="inactive"||this.Vd=="requested"){this.Vd="activating";this.UG(q,q,0,y,function(){this.SP(function(){this.u.pause();this.Vd="activated";this.yl()}.bind(this),function(){this.Vd="inactive";this.sx(this.na)}.bind(this))}.bind(this))}};v.prototype.Pd=function(){this.trigger(new g(v.qf))};v.prototype.AP=function(){this.trigger(new g(v.D9))};v.prototype.sP=function(){this.v5();this.trigger(new g(v.rm));this.trigger(new g(v.C9));!isNaN(this.u.duration)&&this.u.currentTime==
this.u.duration&&this.u.duration>0&&this.sl()};v.prototype.mP=function(){this.AH()};v.prototype.ms=function(){this.xS=p;this.DA();this.AH();this.jj(y)};v.prototype.sl=function(){if(this.rj==d.Q||this.Zs&&this.qp==d.Q){this.jj(y);this.rj=d.J;this.u.paused||this.u.pause();this.trigger(new g(v.Hf))}};v.prototype.lP=function(){this.v5()};v.prototype.zS=function(){t.visible?this.wg&&this.nfa?this.yl():this.rj==d.Q&&this.u.play():this.rj==d.Q&&this.u.pause()};v.prototype.yl=function(){if(this.m3(this.vk)&&
!e.Nj.ao())e.Nj.load(this.yl,this);else{var a=function(){this.Y3(this.wg);this.uk=this.wg=this.aG=this.vk=this.ZF=m}.bind(this);this.wg==d.Q?this.UG(this.vk,this.aG,this.uk,this.ZF,a):this.ZA===m?this.UG(q,q,0,y,a):h.browser()==h.Hq?this.UG(q,q,0,y,a):this.Y3(this.wg)}};v.prototype.UG=function(a,b,c,e,g){a=a||q;b=b||q;this.Kja(e);if(this.ZA!==a||this.yS!=b){this.rj=d.J;this.Daa(a,b,c,g)}else{this.aR(c);g()}};v.prototype.Jja=function(a){a&&!this.u.hasAttribute("crossorigin")?this.u.setAttribute("crossorigin",
"anonymous"):!a&&this.u.hasAttribute("crossorigin")&&this.u.removeAttribute("crossorigin")};v.prototype.Kja=function(a){a&&!this.u.hasAttribute("loop")?this.u.setAttribute("loop",""):!a&&this.u.hasAttribute("loop")&&this.u.removeAttribute("loop")};v.prototype.aR=function(a){try{this.u.currentTime=a}catch(b){}if(h.browser()!=h.Iq&&h.browser()!=h.Hq){this.$y=a;this.DA()}};v.prototype.DA=function(){if(this.xS&&this.$y!==m){try{this.u.currentTime=this.$y}catch(a){}this.$y=m}};v.prototype.AH=function(){this.rj==
d.Q&&t.visible&&this.u.paused&&this.u.readyState>=3&&this.SP(D(),this.Yga.bind(this))};v.prototype.Yga=function(){if(h.browser()!=h.Hq){s.Xqa();s.o9(this.AH.bind(this));setTimeout(function(){s.nU(this.na,this)}.bind(this),0)}};v.prototype.bj=function(){this.B3(this.ki.track.activeCues)};v.prototype.B3=function(a){a||(a=[]);if(!(this.fc.length==0&&a.length==0)){this.fc=Array.prototype.slice.call(a);this.trigger(v.Ae,this.fc)}};v.prototype.MY=function(){if(this.ed){this.ed.destroy();this.ed=q}this.lia();
this.mia()};v.prototype.Daa=function(a,b,c,e){this.MY();this.xS=y;this.Jja(!!a&&r.B7(a));this.m3(a)?this.qaa(a,b,c,e):this.Aaa(a,b,c,e)};v.prototype.m3=function(a){return n.is(a,n.Nj)&&!j.f7};v.prototype.qaa=function(a,b,c,g){var h=e.Nj.ip;this.ZA=a;this.yS=b;var f=r.Yl("debughls",y),d=(navigator.connection?Math.max(navigator.connection.downlink,2):2)*1048576,l=d*0.66,o={debug:f,startPosition:c===0?-1:c,levelLoadingTimeOut:6E4,startLevel:-1,autoStartLoad:y,abrEwmaDefaultEstimate:d};this.jj(p);this.ed=
new h(o);this.ed.loadSource(a);this.ed.attachMedia(this.u);var k=function(){this.ed.off(h.Events.MANIFEST_PARSED,k);if(navigator.connection){var a=this.ed.levels.filter(function(a){return a.bitrate<=d});if(a.length){a.sort(function(a,b){return b.width-a.width});this.ed.startLevel=this.ed.levels.indexOf(a[0])}a=this.ed.levels.filter(function(a){return a.bitrate<=l});if(a.length){a.sort(function(a,b){return b.width-a.width});this.ed.config.minAutoBitrate=a[0].bitrate-1}a=this.ed.levels.filter(function(a){return a.width<=
j.O7[0]&&a.height<=j.O7[1]});if(a.length&&a.length<this.ed.levels.length){a.sort(function(a,b){return b.width-a.width});this.ed.autoLevelCapping=this.ed.levels.indexOf(a[0])}if(f){console.log("bandwidth:",d,"lowBandwidth:",l);console.log("levels",this.ed.levels);console.log("startLevel",this.ed.levels[this.ed.startLevel]);console.log("minLevel",this.ed.levels[this.ed.minAutoLevel])}}this.ed.startLoad(c===0?-1:c);c!=0&&this.aR(c);b&&this.JX(b);g()}.bind(this);this.ed.on(h.Events.MANIFEST_PARSED,k);
this.ed.on(h.Events.Lra,function(a,b){b.fatal&&b.type==h.ErrorTypes.Qra&&this.ed.recoverMediaError()}.bind(this))};v.prototype.Aaa=function(a,b,c,e){this.ZA=a;this.yS=b;if(a)this.dL(a);else{this.dL(u.webm,"video/webm");this.dL(u.U7,"video/mp4")}b&&this.JX(b);this.u.load();c!=0&&this.aR(c);e()};v.prototype.dL=function(a,b){var c=document.createElement("source");b||(b=this.Eea(a));if(b)c.type=b;r.LB(a)||(a=r.Ov(a,"swbypass=true"));c.src=a;this.u.appendChild(c);this.cA.push(c)};v.prototype.Eea=function(a){switch(r.getExtension(a).toLowerCase()){case ".m4v":case ".mp4":return"video/mp4";
case ".webm":return"video/webm";case ".ogv":return"video/ogg";case ".m3u8":return"application/x-mpegURL";case ".mov":return"video/quicktime"}};v.prototype.lia=function(){for(;this.cA&&this.cA.length;){var a=this.cA.shift();a.src="";this.u.removeChild(a)}};v.prototype.JX=function(a){this.ki=document.createElement("track");this.ki.kind="subtitles";this.ki.src=a;this.u.appendChild(this.ki)};v.prototype.mia=function(){if(this.ki){this.ki.track.removeEventListener("cuechange",this.bj);this.ki.track.mode=
"disabled";this.ki.src="";this.u.removeChild(this.ki);this.ki=q;this.B3([])}};v.prototype.v5=function(){for(var a=0;a<this.u.textTracks.length;a++){var b=this.u.textTracks[a];b.removeEventListener("cuechange",this.bj);b.mode=this.ki&&b==this.ki.track?"hidden":"disabled";b.mode=="hidden"&&b.addEventListener("cuechange",this.bj)}};v.prototype.Y3=function(a){this.qp=a;this.Zs||this.pG()};v.prototype.pG=function(){if(this.rj!=this.qp)if(this.qp==d.Q||this.qp==d.J&&this.rj!=d.Q){this.Zs=p;this.jj(this.ZA?
p:y);var a=function(){if(this.Zs){this.rj=d.Q;this.Zs=y;this.$Q(p);this.pG()}}.bind(this),b=function(){this.Zs=y;this.jj(y);this.$Q(y);setTimeout(function(){this.pG()}.bind(this),100)}.bind(this);this.SP(a,b)}else{this.jj(y);this.$Q(y);this.u.pause();if(this.qp==d.J)this.u.currentTime=0;this.rj=this.qp;this.pG()}};v.prototype.jj=function(a){if(this.Lr!=a)(this.Lr=a)?l.a9(f.SC):l.Z8(f.SC)};v.prototype.$Q=function(a){if(!!this.sA!=a)if(this.sA){clearInterval(this.sA);this.sA=q}else{var b=this;this.sA=
setInterval(function(){b.Pd()},16)}};v.prototype.SP=function(a,b){function c(){if(!g){l();b&&b()}}function e(){g=p;l();a&&a()}var g=y,h=2E3,f,j=function(){h=Math.min(h*2,8E3);f=setTimeout(j,h);this.u.play()}.bind(this),d=function(){this.u.addEventListener("play",e,y);this.u.addEventListener("error",c,y);f=setTimeout(j,h)}.bind(this),l=function(){this.u.removeEventListener("play",e,y);this.u.removeEventListener("error",c,y);clearTimeout(f)}.bind(this);d();(d=this.u.play())&&d["catch"](c)};v.qf="time update";
v.D9="time update native";v.rm="duration update";v.C9="size update";v.Hf="end";v.Ae="cueChange";return v});
define("dS","require,hp,cL,jq,ey,bL,dZ,t,hS,da".split(","),function(a){function b(a){this.P=a;this.H=q;this.ds=(new Date).getTime()}var c=a("hp"),d=a("cL"),f=a("jq"),g=a("ey"),k=a("bL"),j=a("dZ"),h=a("t"),n=a("hS"),e=a("da");b.prototype.HT=function(){return this.H==q};b.prototype.item=P("H");b.prototype.ena=function(){this.H.NT(this.P);this.H=q};b.prototype.ura=function(a){this.H=a;this.H.ZS(this.P);this.ds=(new Date).getTime()};var l=c.extend(j,function(){j.call(this);var a=h.ud()==h.Hi?1:n.D6("dvs");
this.Tp=[];for(var c=0;c<a;c++)this.Tp.push(new b(new e));this.lf=[];this.k=g.J});l.prototype.qt=function(){return this.y_().length>0};l.prototype.jU=function(a){this.lf=[a].concat(d(this.lf).without(a));this.RP()};l.prototype.UH=function(a){this.lf.push(a);this.RP()};l.prototype.TB=function(a){this.lf=d(this.lf).without(a);this.RP()};l.prototype.RP=function(){var a=this.lf.slice(0,this.Tp.length);this.y_().forEach(function(b){a.indexOf(b.item())<0&&b.ena()});this.jb(a.length>0?g.Q:g.J);a.forEach(function(a){this.Wda(a)||
this.Nda().ura(a)}.bind(this));this.Oda().forEach(function(a){a.P.stop()})};l.prototype.jb=function(a){if(this.k!=a){this.k=a;this.trigger(new k(this.k==g.J?f.yd:f.Ii))}};l.prototype.Nda=function(){var a=this.Tp.filter(function(a){return a.HT()});if(a.length){h.browser()==h.$k&&a.sort(function(a,b){return a.ds-b.ds});return a[0]}return q};l.prototype.Oda=function(){return this.Tp.filter(function(a){return a.HT()})};l.prototype.y_=function(){return this.Tp.filter(function(a){return!a.HT()})};l.prototype.Wda=
function(a){for(var b=0;b<this.Tp.length;b++)if(this.Tp[b].item()==a)return this.Tp[b];return q};l.tO=q;l.bind=function(){var a=l.af();a.bind.apply(a,arguments)};l.unbind=function(){var a=l.af();a.unbind.apply(a,arguments)};l.qt=function(){return l.af().qt()};l.UH=function(a){l.af().UH(a)};l.jU=function(a){l.af().jU(a)};l.TB=function(a){l.af().TB(a)};l.Lo=function(){if(l.tO===q)l.tO=new l;return l.tO};l.af=l.Lo;l.Lo();return l});
define("fi","require,cL,jq,bL,fe,t,dS".split(","),function(a){var b=a("cL"),c=a("jq"),d=a("bL"),f=a("fe"),g=a("t"),k=a("dS"),a={uy:function(){this.na=q;this.C2=g.ud()==g.Hi?1:URL.D6("das");this.Ufa=g.Na()?y:p;this.qe=[];for(var a=0;a<this.C2;a++){var b=new f;b.bind(c.ua,this.EF,this,p);this.qe.push(b)}this.bY=this.qe.slice();this.xl={};this.av=[];k.bind(c.Ii,this.G,this,p);k.bind(c.yd,this.G,this,p);this.gba=g.jd()!=g.Mw},qU:function(a){this.na=a;this.qe.forEach(function(b){b.qU(a)});this.G()},L8:function(a,
b){if(a.gd!=b){a.hg(b);this.WR(a);this.G()}},Ai:function(a,b){if(a.sj!=b){a.Ai(b);this.WR(a);this.G()}},WR:function(a){a.ya&&a.ya.Ai(a.gd?0:a.sj)},add:function(a){if(!this.Y_(a)){this.Mha(a);this.G()}},remove:function(a){if(this.Y_(a)){this.Ip(a);this.G()}},G:function(){var a=this.fea(),c=b.difference(this.av,a),a=b.difference(a,this.av);c.forEach(this.e3.bind(this));a.forEach(this.faa.bind(this))},e3:function(a){var c=a.ya;a.setTime(c.Nk());a.O8(q);c.stop();this.bY.push(c);this.av=b(this.av).without(a)},
faa:function(a){var b=this.bY.shift();a.O8(b);this.WR(a);b.play(a.fg(),a.getTime());this.av.push(a)},EF:function(a){var g=a.source,a=b(this.av).find(function(a){return a.ya==g});this.e3(a);a.dF?this.Sfa(a):this.Ip(a);a.setTime(0);a.trigger(new d(c.ua));this.G()},Mha:function(a){var b=a.Bn;this.xl[b]==m&&(this.xl[b]=[]);this.xl[b].splice(0,0,a)},Y_:function(a){return this.xl&&b(this.xl[a.Bn]).contains(a)},fea:function(){if(!this.na||!this.gba&&k.qt())return[];var a=b(this.xl).keys();a.sort(function(a,
b){return b-a});for(var c=[],g=0;g<a.length;g++)for(var e=this.xl[a[g]],f=0;f<e.length;f++){var d=e[f];if(this.Ufa||!this.ufa(d)){c.push(d);if(c.length==this.C2)return c}}return c},ufa:function(a){return a.gd||a.sj==0},Ip:function(a){var c=a.Bn,g=this.xl[c];if(g){a=b(g).indexOf(a);if(a>=0){g.splice(a,1);g.length==0&&delete this.xl[c]}}},Sfa:function(a){var c=this.xl[a.Bn];if(c){var g=b(c).indexOf(a);if(g>=0){c.splice(g,1);c.push(a)}}}};a.uy();return a});
define("gz",["require","hp","dZ"],function(a){var b=a("hp"),c=a("dZ"),a=b.extend(c,function(a,b){c.call(this);this.Eb=a;this.Bn=b;this.Wb=0;this.gd=this.dF=y;this.ya=q;this.sj=1});a.prototype.toString=function(){return"SharedAudioPlayerOrchestatorItem (url:"+this.Eb+" priority:"+this.Bn+" time:"+this.Wb+" loop:"+this.dF+")"};a.prototype.fg=P("Eb");a.prototype.setTime=N("Wb");a.prototype.getTime=P("Wb");a.prototype.FU=N("dF");a.prototype.hg=N("gd");a.prototype.Ai=N("sj");a.prototype.O8=N("ya");return a});
define("dp","require,hp,jq,bL,hH,ey,fi,gz".split(","),function(a){var b=a("hp"),c=a("jq"),d=a("bL"),f=a("hH"),g=a("ey"),k=a("fi"),j=a("gz"),a=b.extend(f,function(a,b){f.call(this);this.set("state",g.J);this.H=new j(a,b);this.H.setTime(0);this.H.bind(c.ua,this.L1,this,p)});a.prototype.clear=function(){k.remove(this.H);this.H.unbind(c.ua,this.L1,this,p);this.set("state",g.J)};a.prototype.play=function(){k.add(this.H);this.set("state",g.Q)};a.prototype.pause=function(){k.remove(this.H);this.get("state")==
g.Q&&this.set("state",g.kc)};a.prototype.stop=function(){k.remove(this.H);this.H.setTime(0);this.set("state",g.J)};a.prototype.FU=function(a){this.H.FU(a)};a.prototype.rq=function(){k.L8(this.H,p)};a.prototype.Dt=function(){k.L8(this.H,y)};a.prototype.Ai=function(a){k.Ai(this.H,a)};a.prototype.L1=function(){this.H.dF||this.set("state",g.J);this.trigger(new d(c.ua))};return a});
define("fT",["require","dp","hB"],function(a){function b(){}var c=a("dp"),d=a("hB");b.d$=3;b.c$=2;b.b$=2;b.r$=1;b.Ara="mp3";b.Cra="ogg";b.Bra="none";b.create=function(a,g,d){return new c(b.Ipa(a,g),d)};b.Ipa=function(a,b){return a&&d.q7?a:b&&d.r7?b:a||b};return b});
define("fV","require,hp,jq,ey,hH,bL,dl,fT".split(","),function(a){var b=a("hp"),c=a("jq"),d=a("ey"),f=a("hH"),g=a("bL"),k=a("dl"),j=a("fT"),h=b.extend(f,function(a){f.call(this);this.set("state",d.J);this.Bn=a||j.r$;this.Li=m});h.nd="stateChange";k.A("Audio",h).C("Object").O({audio:"AudioResource",loop:"bool",state:"enum[stopped, playing, paused]"}).Gg({play:function(){this.xg()},pause:function(){this.tk()},stop:function(){this.mj()}}).Yb([c.ua,h.nd]);h.prototype.jt=function(){if(this.Li==m){var a=
this.get("audio");if(a){this.Li=j.create(a.get("mp3Url"),a.get("oggUrl"),this.Bn);a=function(){this.Li.FU(this.get("loop",y))};a.call(this);this.bind(c.ba("loop"),a,this);a=function(){this.get("application").get("mute",y)?this.Li.rq():this.Li.Dt()};a.call(this);this.get("application").bind(c.ba("mute"),a,this,p);a=function(){this.set("state",this.Li.get("state"))};a.call(this);this.Li.bind(c.ba("state"),a,this,p);this.Li.bind(c.ua,this.fga,this,p)}else this.Li=q}return this.Li};h.prototype.set=function(a,
b){if(a=="state"){var c=this.get("state"),j=this.Li?this.Li.get("state"):d.J;j!=c&&this.trigger(new g(h.nd,{oldState:c,state:j}))}f.prototype.set.call(this,a,b)};h.prototype.Zn=function(){return[]};h.prototype.fga=function(){this.trigger(new g(c.ua))};h.prototype.xg=function(){var a=this.jt();a&&a.play()};h.prototype.mj=function(){var a=this.jt();a&&a.stop()};h.prototype.tk=function(){var a=this.jt();a&&a.pause()};return h});
define("fN",["hp","dl","fV"],function(a,b,c){a=a.extend(c,function(a){c.call(this,a)});b.A("MediaAudio",a).C("Audio").O({autoplay:"bool"});return a});define("jG",["hp","dl","fN","fT"],function(a,b,c,d){a=a.extend(c,function(){c.call(this,d.b$)});b.A("PanoramaAudio",a).C("MediaAudio");return a});define("eF",["hp","jG","dl"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("DirectionalPanoramaAudio",a).C("PanoramaAudio").O({yaw:"number",pitch:"number",maximumAngle:"number"});return a});
define("fk",["require","hp","hH","dl"],function(a){var b=a("hp"),c=a("hH"),a=a("dl"),b=b.extend(c,function(){c.call(this)});a.A("DistancePanoramaCameraMovement",b).C("DistanceRotationalCameraMovement");return b});define("eu",["require","hp","hH","dl"],function(a){var b=a("hp"),c=a("hH"),a=a("dl"),b=b.extend(c,function(){c.call(this)});a.A("DistanceRotationalCameraMovement",b).C("RotationalCameraMovement").O({hfovDelta:"number",pitchDelta:"number",yawDelta:"number"});return b});
define("v","require,cL,jq,hp,bL,dZ".split(","),function(a){function b(a,b,c,h,f){this.Xm=q;this.jP=a;this.Bd=d.ba(this.jP);this.Hea=b;this.ga=c||window;this.rO=h;this.H0=f;this.zO=y}var c=a("cL"),d=a("jq"),f=a("hp");a("bL");a("dZ");b.prototype.unwatch=function(){this.FQ(q)};b.prototype.FQ=function(a){c(this.l_()).each(function(a){a&&a.unbind(this.Bd,this.yY,this)},this);this.Xm=a;c(this.l_()).each(function(a){a&&a.bind(this.Bd,this.yY,this,this.rO)},this);this.n3()};b.prototype.l_=function(){return this.Xm?
c(this.Xm).isArray()?this.Xm:[this.Xm]:[]};b.prototype.n3=function(){this.H0&&this.H0.FQ(this.Rda())};b.prototype.Rda=function(){return this.Xm==q?q:c(this.Xm).isArray()?c(this.Xm).map(function(a){return a?a.get(this.jP):q},this):this.Xm.get(this.jP)};b.prototype.yY=function(a){if(!this.zO){try{this.zO=p;this.n3();this.Hea.call(this.ga,a)}catch(b){f.EI("ChangeWatcher._changeHandler",b)}this.zO=y}};b.watch=function(a,f,d,h,n){c.isString(f)&&(f=f.split("."));typeof n=="undefined"&&(n=y);if(f.length>
0){f=new b(f[0],d,h,n,b.watch(q,f.slice(1),d,h,n));f.FQ(a);return f}return q};return b});
define("jD",["jquery.mod","hp","jq","d"],function(a,b,c,d){var f=b.extend(d,function(){d.call(this);this.xc("DropDownArrow");this.t=q;this.Mm=p;this.bind(c.ub,this.Pca,this)});f.prototype.oa=function(){d.prototype.oa.call(this);this.f("color","#000000");this.f("direction",f.BJ)};f.prototype.Pca=function(){this.Mm=p;this.bc()};f.prototype.Ka=function(){d.prototype.Ka.call(this);this.t||(this.t=a("<canvas/>"),this.t.css({position:"absolute",left:0,top:0}),this.Pa().append(this.t))};f.prototype.da=function(){var a=
y;this.n("color")&&(a=p,this.o("color"));this.n("direction")&&(a=p,this.o("direction"));this.Mm&&(a=p,this.Mm=y);if(a){var a=this.td(),b=this.sd(),c=this.j("color"),h=this.j("direction"),n=[0.5*a,0,a],h=h==f.BJ?[b,0,0]:[0,b,b],e=this.t.get(0);e.width=a;e.height=b;e=e.getContext("2d");e.clearRect(0,0,a,b);e.beginPath();e.moveTo(n[0],h[0]);e.lineTo(n[1],h[1]);e.lineTo(n[2],h[2]);e.fillStyle=c;e.fill()}d.prototype.da.call(this)};f.BJ="down";f.Jra="up";return f});
define("eV","hp,bL,X,N,jq,c,et,jc,jD,fP".split(","),function(a,b,c,d,f,g,k,j,h,n){a=a.extend(j,function(){j.call(this);this.xc("DropDownButton");this.zo=this.ja=q;this.OO=p;this.set("autoRolledOver",p);this.set("autoPressed",p);this.set("childrenInteractionEnabled",y);this.set("contentOpaque",p);this.set("cursor",d.xd);this.bind(f.W,this.fN,this)});a.prototype.oa=function(){j.prototype.oa.call(this);this.f("arrowColor","#000000");this.f("arrowBeforeLabel");this.f("arrowWidth",9);this.f("arrowHeight",
5);this.f("arrowGap",5);this.f("shadow",y);this.f("layout",g.Be);this.f("verticalAlign",c.cc);this.f("borderRadius",5);this.f("borderColor","#AAAAAA");this.f("borderSize",1);this.f("backgroundColor",["#FAFAFA","#E5E5E5"]);this.f("backgroundColorRatios",[0,1]);this.f("backgroundColorDirection","vertical");this.f("paddingLeft",5);this.f("paddingTop",5);this.f("paddingRight",5);this.f("paddingBottom",5);this.f("fontFamily");this.f("fontSize");this.f("fontColor","#555555");this.f("fontWeight");this.f("fontStyle");
this.f("textDecoration");this.f("textShadowColor");this.f("textShadowHorizontalLength");this.f("textShadowVerticalLength");this.f("textShadowBlurRadius");this.f("textShadowOpacity");this.h("rollOverBorderColor",k.q,"borderColor");this.h("rollOverArrowColor",k.q,"arrowColor");this.h("rollOverBackgroundColor",k.q,"backgroundColor");this.h("rollOverBackgroundColorRatios",k.q,"backgroundColorRatios");this.h("rollOverShadow",k.q,"shadow");this.h("pressedBorderColor",k.sa,"borderColor");this.h("pressedArrowColor",
k.sa,"arrowColor");this.h("pressedBackgroundColor",k.sa,"backgroundColor");this.h("pressedBackgroundColorRatios",k.sa,"backgroundColorRatios");this.h("pressedShadow",k.sa,"shadow");this.h("pressedRollOverBorderColor",k.Sa,"borderColor");this.h("pressedRollOverArrowColor",k.Sa,"arrowColor");this.h("pressedRollOverBackgroundColor",k.Sa,"backgroundColor");this.h("pressedRollOverBackgroundColorRatios",k.Sa,"backgroundColorRatios");this.h("pressedRollOverShadow",k.Sa,"shadow");this.h("pressedBorderColor",
k.F,"borderColor");this.h("pressedArrowColor",k.F,"arrowColor");this.h("pressedBackgroundColor",k.F,"backgroundColor");this.h("pressedBackgroundColorRatios",k.F,"backgroundColorRatios");this.h("pressedShadow",k.F,"shadow")};a.prototype.set=function(a,b){if(a=="label"&&this.get("label")!=b){this.OO=p;this.bc()}j.prototype.set.call(this,a,b)};a.prototype.Ka=function(){j.prototype.Ka.call(this);if(!this.ja){this.ja=new n;this.ja.set("width","100%");this.pa(this.ja)}if(!this.zo){this.zo=new h;this.zo.set("direction",
h.BJ);this.pa(this.zo)}};a.prototype.fN=function(){this.open();this.trigger(new b(f.OPEN))};a.prototype.open=function(){this.unbind(f.W,this.fN,this);this.Wz(p)};a.prototype.close=function(){this.bind(f.W,this.fN,this);this.Wz(y)};a.prototype.da=function(){if(this.OO){this.ja.set("text",this.get("label"));this.OO=y}this.Ua(["horizontalAlign","fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius",
"textShadowOpacity"],{},[this.ja],p,p);if(this.n("arrowGap")){this.set("gap",this.j("arrowGap"));this.o("arrowGap")}if(this.n("arrowColor")){this.zo.set("color",this.j("arrowColor"));this.o("arrowColor")}if(this.n("arrowBeforeLabel")){this.j("arrowBeforeLabel")==p?this.wi(this.zo,0):this.wi(this.ja,0);this.o("arrowBeforeLabel")}if(this.n("arrowWidth")){this.zo.set("width",this.j("arrowWidth"));this.o("arrowWidth")}if(this.n("arrowHeight")){this.zo.set("height",this.j("arrowHeight"));this.o("arrowHeight")}j.prototype.da.call(this)};
return a});define("eL",["cL","hp","jc","c"],function(a,b,c,d){var f=b.extend(c,function(){c.call(this)});f.Za={layout:d.Ye};a.defaults(f.Za,c.Za);f.prototype.oa=function(){this.Ri(f.Za)};return f});
define("hv","require,hp,bL,X,N,fa,jq,jc,eL,fP".split(","),function(a){var b=a("hp"),c=a("bL"),d=a("X"),f=a("N"),g=a("fa"),k=a("jq"),j=a("jc"),h=a("eL"),n=a("fP"),a=b.extend(j,function(){j.call(this);this.xc("DropDownPopup");this.Sb=q;this.vD=y;this.Fa=q;this.Ey=[];this.Yp=p});a.prototype.open=function(a){this.Sb=a;this.vD=p;this.cb().wi(this,this.cb().Qa().length-1);this.set("overIndex",-1);this.set("visible",p);this.bind(k.lb,this.Ob,this);this.cb().bind(k.Gb,this.z0,this);this.cb().bind(k.ub,this.hb,
this)};a.prototype.close=function(){this.Sb=q;this.vD=p;this.set("visible",y);this.Fa.set("overflow",g.fr);this.Fa.set("contentOpaque",p);this.unbind(k.lb,this.Ob,this);this.cb().unbind(k.Gb,this.z0,this);this.cb().bind(k.ub,this.hb,this)};a.prototype.Ka=function(){j.prototype.Ka.call(this);if(!this.Fa){this.Fa=new h;this.Fa.set("overflow",g.fr);this.Fa.bind(k.ub,this.hb,this);this.Fa.bind(k.gl,this.Np,this);this.pa(this.Fa)}};a.prototype.hb=function(){this.p5()};a.prototype.Ob=function(){this.LQ=
y};a.prototype.Np=function(){this.LQ=p};a.prototype.z0=function(){this.get("overIndex")==-1&&(!this.LQ||!this.Wi)&&this.trigger(new c(k.Mq));this.LQ=y};a.prototype.uga=function(a){this.set("overIndex",this.LN(a.source))};a.prototype.vga=function(a){a=this.LN(a.source);this.get("overIndex")==a&&this.set("overIndex",-1)};a.prototype.tga=function(a){a=this.LN(a.source);this.set("overIndex",a);this.set("selectedIndex",a);this.trigger(new c(k.Bh))};a.prototype.LN=function(a){for(var b=0;b<this.Ey.length;b++)if(this.Ey[b]==
a)return b;return-1};a.prototype.oa=function(){j.prototype.oa.call(this);this.f("visible",y);this.f("width","100%");this.f("height","100%");this.f("includeInLayout",y);this.f("items",[]);this.f("selectedIndex",-1);this.f("overIndex",-1);this.f("popUpGap",0);this.f("popUpBackgroundColor");this.f("popUpBackgroundOpacity");this.f("rollOverPopUpBackgroundColor");this.f("selectedPopUpBackgroundColor");this.f("popUpFontColor");this.f("rollOverPopUpFontColor");this.f("selectedPopUpFontColor");this.f("popUpShadow",
p);this.f("popUpShadowBlurRadius");this.f("popUpShadowColor");this.f("popUpShadowHorizontalLength");this.f("popUpShadowOpacity");this.f("popUpShadowSpread");this.f("popUpShadowVerticalLength");this.f("fontFamily");this.f("fontSize");this.f("fontWeight");this.f("fontStyle");this.f("textDecoration");this.f("textShadowColor");this.f("textShadowHorizontalLength");this.f("textShadowVerticalLength");this.f("textShadowBlurRadius");this.f("textShadowOpacity");this.f("buttonWidth")};a.prototype.da=function(){var a=
y,b=y;if(this.n("items")){for(var a=this.j("items")||[],c=this.Ey.length;c<a.length;c++){var g=new n;g.S({width:"100%",paddingLeft:5,paddingRight:5,paddingBottom:2,paddingTop:2,cursor:f.xd});g.bind(k.Oj,this.uga,this);g.bind(k.sf,this.vga,this);g.bind(k.W,this.tga,this);this.Ey.push(g)}g=this.Fa.Qa();for(c=a.length;c<g.length;c++)this.Fa.removeChild(g[c]);for(c=g.length;c<a.length;c++)this.Fa.pa(this.Ey[c]);for(c=0;c<a.length;c++)g[c].set("text",a[c]);this.o("items");b=a=p}if(this.n("selectedIndex")){this.o("selectedIndex");
a=p}for(var h=["horizontalAlign","popUpBackgroundOpacity","popUpPaddingBottom","popUpPaddingLeft","popUpPaddingRight","popUpPaddingTop","fontFamily","fontSize","fontWeight","fontStyle","textDecoration","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"],c=0;c<h.length;c++){g=h[c];if(this.n(g)){this.o(g);b=p}}if(b){h={fontFamily:this.j("fontFamily"),fontSize:this.j("fontSize"),fontWeight:this.j("fontWeight"),fontStyle:this.j("fontStyle"),
horizontalAlign:this.j("horizontalAlign"),textDecoration:this.j("textDecoration"),textShadowColor:this.j("textShadowColor"),textShadowHorizontalLength:this.j("textShadowHorizontalLength"),textShadowVerticalLength:this.j("textShadowVerticalLength"),textShadowBlurRadius:this.j("textShadowBlurRadius"),textShadowOpacity:this.j("textShadowOpacity"),paddingBottom:this.j("popUpPaddingBottom"),paddingLeft:this.j("popUpPaddingLeft"),paddingRight:this.j("popUpPaddingRight"),paddingTop:this.j("popUpPaddingTop"),
backgroundOpacity:this.j("popUpBackgroundOpacity")};g=this.Fa.Qa();for(c=0;c<g.length;c++)g[c].S(h)}h=["selectedIndex","overIndex","popUpBackgroundColor","rollOverPopUpBackgroundColor","selectedPopUpBackgroundColor","popUpFontColor","rollOverPopUpFontColor","selectedPopUpFontColor"];for(c=0;c<h.length;c++){g=h[c];if(this.n(g)){this.o(g);a=p}}if(a)for(var a=this.j("popUpBackgroundColor"),h=this.j("rollOverPopUpBackgroundColor")||a,b=this.j("selectedPopUpBackgroundColor")||a,d=this.j("popUpFontColor"),
u=this.j("rollOverPopUpFontColor")||d,v=this.j("selectedPopUpFontColor")||d,x=this.j("selectedIndex"),w=this.j("overIndex"),g=this.Fa.Qa(),c=0;c<g.length;c++)c==x?g[c].S({fontColor:v,backgroundColor:b}):c==w?g[c].S({fontColor:u,backgroundColor:h}):g[c].S({fontColor:d,backgroundColor:a});if(this.vD||this.n("popUpGap")||this.n("buttonWidth")){this.Sb&&this.Fa.set("minWidth",this.Sb.Aa());this.o("popUpGap");this.p5();this.vD=y}this.Ua(["popUpShadow","popUpShadowBlurRadius","popUpShadowColor","popUpShadowHorizontalLength",
"popUpShadowOpacity","popUpShadowSpread","popUpShadowVerticalLength"],{popUpShadow:"shadow",popUpShadowBlurRadius:"shadowBlurRadius",popUpShadowColor:"shadowColor",popUpShadowHorizontalLength:"shadowHorizontalLength",popUpShadowOpacity:"shadowOpacity",popUpShadowSpread:"shadowSpread",popUpShadowVerticalLength:"shadowVerticalLength"},[this.Fa],p,p);this.f5();j.prototype.da.call(this)};a.prototype.p5=function(){if(this.Sb){var a=this.cb(),b=this.Sb.Ona(a),c=this.Sb.Aa(),h=this.Sb.bb(),f=this.j("popUpGap"),
j=this.Fa.Da,k=this.Fa.La,n=a.bb()-(b.top+h+f)-5,x=b.top-5-f,w=this.j("horizontalAlign");if(k<=n){this.Yp=p;this.Fa.set("top",b.top+h+f);this.Fa.set("maxHeight",m);this.Fa.set("overflow",g.fr)}else if(k<=x){this.Yp=y;this.Fa.set("top",b.top-k-f);this.Fa.set("maxHeight",m);this.Fa.set("overflow",g.fr)}else{if(n>=x){this.Yp=p;this.Fa.set("top",b.top+h+f);this.Fa.set("maxHeight",n)}else{this.Yp=y;this.Fa.set("top",b.top-x+f);this.Fa.set("maxHeight",x)}this.Fa.set("overflow",g.gl)}h=w==d.tc?b.left+Math.round((c-
j)*0.5):w==d.Ea?b.left+c-j:b.left;h<0?h=b.left:b.left+j>a.Aa()&&(h=b.left+c-j);this.Fa.set("left",h);this.f5()}};a.prototype.f5=function(){var a=this.j("popUpBorderRadius");this.Fa.S({borderTopRadius:this.Yp?0:a,borderBottomRadius:this.Yp?a:0});for(var b=this.Fa.Qa(),c=0;c<b.length;c++){var g=c==0,h=c==b.length-1;b[c].S({borderTopRadius:!this.Yp&&g?a:0,borderBottomRadius:this.Yp&&h?a:0})}};return a});
define("jz","require,hp,bL,jq,jc,eV,hv".split(","),function(a){var b=a("hp"),c=a("bL"),d=a("jq"),f=a("jc"),g=a("eV"),k=a("hv"),a=b.extend(f,function(){f.call(this);this.xc("DropDown");this.xy=y;this.Sb=this.Wf=q;this.e4=p;this.Pc=-1;this.jh=y});a.prototype.oa=function(){f.prototype.oa.call(this);this.f("prompt","");this.f("label","");this.f("items",[]);this.f("selectedIndex",-1);this.f("arrowBeforeLabel");this.f("arrowWidth",9);this.f("arrowHeight",5);this.f("arrowGap",5);this.f("borderRadius",5);
this.f("borderSize",1);this.f("backgroundColorDirection","vertical");this.f("horizontalAlign","left");this.f("paddingLeft",5);this.f("paddingTop",5);this.f("paddingRight",5);this.f("paddingBottom",5);this.f("fontFamily");this.f("fontSize");this.f("fontColor","#555555");this.f("fontWeight");this.f("fontStyle");this.f("textDecoration");this.f("textShadowColor");this.f("textShadowHorizontalLength");this.f("textShadowVerticalLength");this.f("textShadowBlurRadius");this.f("textShadowOpacity");this.f("popUpGap",
0);this.f("popUpBorderRadius");this.f("popUpPaddingBottom",2);this.f("popUpPaddingLeft",5);this.f("popUpPaddingRight",5);this.f("popUpPaddingTop",2);this.f("popUpShadow",p);this.f("popUpShadowBlurRadius");this.f("popUpShadowColor");this.f("popUpShadowHorizontalLength");this.f("popUpShadowOpacity");this.f("popUpShadowSpread");this.f("popUpShadowVerticalLength");this.f("popUpBackgroundColor","#FFFFFF");this.f("popUpBackgroundOpacity");this.f("rollOverPopUpBackgroundColor");this.f("selectedPopUpBackgroundColor");
this.f("popUpFontColor","#555555");this.f("rollOverPopUpFontColor");this.f("selectedPopUpFontColor");this.f("borderColor","#AAAAAA");this.f("arrowColor","#000000");this.f("backgroundColor",["#FAFAFA","#E5E5E5"]);this.f("backgroundColorRatios",[0,1]);this.f("shadow",y);this.f("rollOverBorderColor");this.f("rollOverArrowColor");this.f("rollOverBackgroundColor");this.f("rollOverBackgroundColorRatios");this.f("rollOverShadow");this.f("pressedBorderColor");this.f("pressedArrowColor");this.f("pressedBackgroundColor");
this.f("pressedBackgroundColorRatios");this.f("pressedShadow");this.f("pressedRollOverBorderColor");this.f("pressedRollOverArrowColor");this.f("pressedRollOverBackgroundColor");this.f("pressedRollOverBackgroundColorRatios");this.f("pressedRollOverShadow")};a.prototype.Ka=function(){f.prototype.Ka.call(this);if(!this.Sb){this.Sb=new g;this.Sb.bind(d.ub,this.jga,this);this.Sb.bind(d.OPEN,this.Ega,this);this.Sb.bind(d.Mq,this.nP,this);this.Sb.bind(d.rf,this.iga,this);this.Sb.set("width","100%");this.Sb.set("height",
"100%");this.pa(this.Sb)}if(!this.Wf){this.Wf=new k;this.Wf.bind(d.Mq,this.nP,this);this.Wf.bind(d.Bh,this.Rga,this);this.cb().pa(this.Wf)}};a.prototype.jga=function(){this.e4=p;this.bc()};a.prototype.Ega=function(){this.Sb.open();this.Wf.set("selectedIndex",this.get("selectedIndex"));this.Wf.open(this.Sb)};a.prototype.nP=function(){this.Sb.close();this.Wf.close()};a.prototype.iga=function(){this.Sb.close();this.Wf.close()};a.prototype.Rga=function(){this.set("selectedIndex",this.Wf.get("selectedIndex"));
this.nP();this.jh=p};a.prototype.da=function(){var a=y;if(this.n("prompt")||this.n("label")){a=p;this.o("label");this.o("prompt")}if(this.n("selectedIndex")||this.n("items")){var a=p,b=this.j("selectedIndex"),g=this.j("items");b>=0&&b>=g.length&&(b=-1);this.set("selectedIndex",b);this.Wf.set("items",this.j("items"));this.Wf.set("selectedIndex",this.j("selectedIndex"));this.o("items");this.o("selectedIndex");if(this.jh){this.jh=y;this.trigger(new c(d.U))}}if(a){a=this.j("label");if(!a){b=this.j("selectedIndex");
a=b<0?this.j("prompt"):this.j("items")[b]}this.Sb.set("label",a)}if(this.e4){this.Wf.set("minWidth",this.Sb.Aa());this.Wf.set("buttonWidth",this.Sb.Aa())}this.Ua(["fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration","horizontalAlign","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"],{},[this.Sb,this.Wf],p,p);this.Ua(["popUpBorderRadius","popUpGap","popUpPaddingBottom","popUpPaddingLeft","popUpPaddingRight",
"popUpPaddingTop","popUpBackgroundColor","popUpBackgroundOpacity","rollOverPopUpBackgroundColor","selectedPopUpBackgroundColor","popUpFontColor","rollOverPopUpFontColor","selectedPopUpFontColor","popUpShadow","popUpShadowBlurRadius","popUpShadowColor","popUpShadowHorizontalLength","popUpShadowOpacity","popUpShadowSpread","popUpShadowVerticalLength"],{},[this.Wf],p,p);this.Ua(["arrowBeforeLabel","arrowWidth","arrowHeight","arrowColor","rollOverArrowColor","pressedArrowColor","pressedRollOverArrowColor",
"arrowGap","shadow","shadowBlurRadius","shadowColor","shadowHorizontalLength","shadowOpacity","shadowSpread","shadowVerticalLength","borderRadius","borderTopRadius","borderBottomRadius","borderLeftRadius","borderRightRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","borderSize","borderLeftSize","borderTopSize","borderRightSize","borderBottomSize","borderColor","borderLeftColor","borderTopColor","borderRightColor","borderBottomColor","rollOverBorderColor",
"pressedBorderColor","pressedRollOverBorderColor","backgroundColor","backgroundColorRatios","backgroundColorDirection","backgroundOpacity","rollOverBackgroundColor","rollOverBackgroundColorRatios","rollOverShadow","pressedBackgroundColor","pressedBackgroundColorRatios","pressedShadow","pressedRollOverBackgroundColor","pressedRollOverBackgroundColorRatios","pressedRollOverShadow","paddingLeft","paddingTop","paddingRight","paddingBottom"],{},[this.Sb],p,p);f.prototype.da.call(this)};return a});
define("dE","require,hp,v,jq,jz,dl,cL".split(","),function(a){var b=a("hp"),c=a("v"),d=a("jq"),f=a("jz"),g=a("dl"),k=a("cL"),a=b.extend(f,function(){f.call(this);this.zb=q;this.h0=[];this.bind(d.U,this.mga,this)});g.A("DropDown",a).C("UIComponent").O({arrowBeforeLabel:"bool",arrowColor:"color",arrowHeight:"number",arrowWidth:"number",arrowGap:"number",fontFamily:"string",fontSize:"or[number, size]",fontColor:"color",fontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",
fontStyle:"enum[italic, normal]",gap:"number",horizontalAlign:"enum[left, center, right]",label:"string",playList:"PlayList",popUpGap:"number",popUpBackgroundColor:"color",popUpBackgroundOpacity:"number",popUpBorderRadius:"number",popUpFontColor:"color",popUpPaddingBottom:"number",popUpPaddingLeft:"number",popUpPaddingRight:"number",popUpPaddingTop:"number",popUpShadow:"bool",popUpShadowBlurRadius:"number",popUpShadowColor:"color",popUpShadowHorizontalLength:"number",popUpShadowOpacity:"number",popUpShadowSpread:"number",
popUpShadowVerticalLength:"number",pressedArrowColor:"color",pressedShadow:"bool",pressedBackgroundColor:"or[array[color], color]",pressedBackgroundColorRatios:"array[number]",pressedRollOverArrowColor:"color",pressedRollOverShadow:"bool",pressedRollOverBackgroundColor:"or[array[color], color]",pressedRollOverBackgroundColorRatios:"array[number]",prompt:"string",rollOverArrowColor:"color",rollOverBackgroundColor:"or[array[color], color]",rollOverBackgroundColorRatios:"array[number]",rollOverPopUpBackgroundColor:"color",
rollOverPopUpFontColor:"color",rollOverShadow:"bool",selectedPopUpBackgroundColor:"color",selectedPopUpFontColor:"color",textDecoration:"enum[underline, overline, line-through, none]",textShadowBlurRadius:"number",textShadowColor:"color",textShadowHorizontalLength:"number",textShadowOpacity:"number",textShadowVerticalLength:"number"}).mo(["fontSize"]).Yb([d.U]);a.prototype.set=function(a,b){if(a=="playList"){if(this.zb)for(this.zb.unbind("change",this.vn,this);this.h0.length;)this.h0.shift().unwatch();
if(this.zb=b){c.watch(this.zb,"items.label",this.vH,this);c.watch(this.zb,"items.media.label",this.vH,this);this.vH();this.zb.bind("change",this.vn,this);this.vn()}else this.vH()}f.prototype.set.call(this,a,b)};a.prototype.vH=function(){this.zb?this.set("items",k(this.zb.get("items")).map(function(a){return a.get("label")||a.get("media").get("label")})):this.set("items",[])};a.prototype.vn=function(){this.set("selectedIndex",this.zb.get("selectedIndex"))};a.prototype.mga=function(){this.zb&&this.zb.set("selectedIndex",
this.get("selectedIndex"))};return a});
define("cU","hp,hH,jq,bL,S,jf,bk".split(","),function(a,b,c,d,f,g,k){var j={},h=a.extend(b,function(){b.call(this);this.Ib=m;this.Hk=[];this.k="stopped";this.set("easing","linear");this.set("duration",1E3)});h.prototype.play=function(a){a||(a=j);if(!this.qt(a))if(this.k=="stopped"||this.Hk.indexOf(a)<0){this.k="playing";this.Hk.push(a);this.me=0;this.Ib=Math.max(this.get("duration",1E3),1);this.le=new g(this.get("easing","linear"),[new k("pos",0,1)],this.Ib);this.le.setTime(this.me);this.wv();this.Sp();
this.lG()}else this.k="playing"};h.prototype.reverse=function(){target||(target=j);if(!this.Goa())if(this.k=="stopped"||this.Hk.indexOf(target)<0){this.k="playingReverse";this.Hk.push(target);this.me=this.Ib=Math.max(this.get("duration",1E3),0);this.le=new g(this.get("easing","linear"),[new k("pos",0,1)],this.Ib);this.le.setTime(this.me);this.wv();this.Sp();this.lG()}else this.k="playingReverse"};h.prototype.end=function(){if(this.k!="stopped"){this.me=this.Ib;this.Sp();this.lG()}};h.prototype.qt=
function(a){return this.k=="playing"&&this.Hk.indexOf(a)>=0};h.prototype.Goa=function(){return this.k=="playingReverse"&&this.Hk.indexOf(target)>=0};h.prototype.ff=function(a){if(this.k!="stopped"){this.me=this.k=="playing"?Math.min(this.Ib,this.me+a):Math.max(0,this.me-a);this.le.setTime(this.me);this.Sp();this.lG()}};h.prototype.hw=function(){return this.le.kb("pos")};h.prototype.Po=function(a){if(this.Hk)for(var b=0;b<this.Hk.length;b++)a.call(this,this.Hk[b],b)};h.prototype.wv=function(){this.trigger(new d(h.AV))};
h.prototype.Sp=function(){this.trigger(new d(h.uV))};h.prototype.uv=function(){this.trigger(new d(h.Hf))};h.prototype.vv=function(){this.trigger(new d(h.zV))};h.prototype.lG=function(){if(this.k=="playingReverse"&&this.me<=0){this.vv();this.k="stopped";this.Hk=[]}else if(this.k=="playing"&&this.me>=this.Ib){this.uv();this.k="stopped";this.Hk=[]}else this.k!="stopped"&&f.Ba(this.ff,this)};h.AV="start";h.uV="frame";h.Hf="end";h.zV="reverseEnd";return h});
define("bh",["hp","jq","bL","dl","cU"],function(a,b,c,d,f){a=a.extend(f,function(){f.call(this)});d.A("Effect",a).C("Object").O({duration:"number",easing:"enum[linear, quad_in, quad_out, quad_in_out, cubic_in, cubic_out, cubic_in_out, quart_in, quart_out, quart_in_out, quint_in, quint_out, quint_in_out]"}).uh([f.AV,f.uV,f.Hf,f.zV]).Gg({play:function(){return f.prototype.play.apply(this,arguments)},reverse:function(){return f.prototype.reverse.apply(this,arguments)},getPosition:function(){return f.prototype.hw.apply(this,
arguments)}});return a});
define("Y",["hp","cU"],function(a,b){var c=a.extend(b,function(){b.call(this);this.hL=this.fL=q});c.prototype.wv=function(){b.prototype.wv.call(this);this.fL=[];this.hL=[];this.Po(function(a){this.fL.push(this.get("alphaFrom",a.ri()));this.hL.push(this.get("alphaTo",a.ri()))});this.vG()};c.prototype.Sp=function(){b.prototype.Sp.call(this);this.vG()};c.prototype.vG=function(){this.Po(function(a,b){var c=this.fL[b],c=c+(this.hL[b]-c)*this.hw(),k=0<a.ri()&&a.Yc;!k&&0<c?(a.yi(0),a.We(p),a.yi(c)):0==c?
(a.We(y),a.yi(1)):a.yi(c)})};c.prototype.uv=function(){this.vG();b.prototype.uv.call(this)};c.prototype.vv=function(){this.vG();b.prototype.vv.call(this)};return c});define("iG",["hp","Y"],function(a,b){return a.extend(b,function(){b.call(this);this.set("alphaFrom",0);this.set("alphaTo",1)})});define("iQ",["hp","iG","dl"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("FadeInEffect",a).C("Effect");return a});
define("iT",["hp","Y"],function(a,b){return a.extend(b,function(){b.call(this);this.set("alphaFrom",1);this.set("alphaTo",0)})});define("go",["hp","iT","dl"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("FadeOutEffect",a).C("Effect");return a});
define("bU",["require","hp","hH","jq","dl"],function(a){var b=a("hp"),c=a("hH"),d=a("jq"),a=a("dl"),b=b.extend(c,function(){c.call(this);this.set("enabled",p);this.set("interactionEnabled",p);this.set("enabledInCardboard",y);this.set("enabledInStandard",p);this.set("enabledInSurfaceSelection",p);this.set("items",[]);this.set("rollOverItems",[]);this.set("maps",[]);this.set("rollOverMaps",[]);this.set("areas",[]);this.set("fadeInDuration",200);this.set("fadeOutDuration",200);this.Wd=[]});a.A("HotspotPanoramaOverlay",
b).C("PanoramaOverlay").O({centerOverDisplay:"bool",rollOverDisplay:"bool",useHandCursor:"bool",enabled:"bool",enabledInSurfaceSelection:"bool",enabledInCardboard:"bool",enabledInVR:"bool",enabledInStandard:"bool",fadeInDuration:"number",fadeOutDuration:"number",interactionEnabled:"bool",rollOverEffect:"Effect",items:"array[or[FlatHotspotPanoramaOverlayImage, HotspotPanoramaOverlayImage]]",rollOverItems:"array[or[FlatHotspotPanoramaOverlayImage, HotspotPanoramaOverlayImage]]",maps:"array[or[FlatHotspotPanoramaOverlayMap, HotspotPanoramaOverlayMap]]",
rollOverMaps:"array[or[FlatHotspotPanoramaOverlayMap, HotspotPanoramaOverlayMap]]",areas:"array[or[FlatHotspotPanoramaOverlayArea, HotspotPanoramaOverlayArea]]"});b.prototype.set=function(a,b){switch(a){case "enabledInCardboard":this.set("enabledInVR",b);break;case "rollOverEffect":case "areas":this.kia(),this.Wd=[]}c.prototype.set.call(this,a,b);switch(a){case "enabledInCardboard":this.set("enabledInVR",b);break;case "rollOverEffect":case "areas":this.get("rollOverEffect")&&this.get("areas",[]).length&&
this.haa()}};b.prototype.haa=function(){this.get("areas",[]).forEach(function(a){a.bind(d.Cc,this.S0,this,p);a.bind(d.ec,this.R0,this,p)}.bind(this))};b.prototype.kia=function(){this.get("areas",[]).forEach(function(a){a.unbind(d.Cc,this.S0,this,p);a.unbind(d.ec,this.R0,this,p)}.bind(this))};b.prototype.S0=function(a){0>this.Wd.indexOf(a.source)&&(this.Wd.push(a.source),1==this.Wd.length&&(a=this.get("rollOverEffect"))&&a.play())};b.prototype.R0=function(a){a=this.Wd.indexOf(a.source);0<=a&&(this.Wd.splice(a,
1),0==this.Wd.length&&(a=this.get("rollOverEffect"))&&a.reverse())};return b});define("ic",["require","hp","dl","bU"],function(a){var b=a("hp"),c=a("dl"),d=a("bU"),a=b.extend(d,function(){d.call(this)});c.A("FlatHotspotPanoramaOverlay",a).C("HotspotPanoramaOverlay");return a});
define("s",["hp","hH","dl","jq"],function(a,b,c,d){a=a.extend(b,function(){b.call(this);this.set("displayTooltipInTouchScreens",p)});c.A("HotspotPanoramaOverlayArea",a).C("Object").O({mapColor:"or[color,enum[image,transparent,any]]",toolTip:"string",displayTooltipInTouchScreens:"bool",useHandCursor:"bool"}).Yb([d.Cc,d.ec,d.Oj,d.sf]).uh([d.W]);return a});define("dA",["dl","s"],function(a,b){a.A("FlatHotspotPanoramaOverlayArea",b).C("HotspotPanoramaOverlayArea");return b});
define("cI",["require","hp","hH","dl"],function(a){var b=a("hp"),c=a("hH"),a=a("dl"),b=b.extend(c,function(a,b,g,k,j){c.call(this);a!==m&&this.set("yaw",a);b!==m&&this.set("pitch",b);g!==m&&this.set("roll",g);this.set("opacity",k!==m?k:1);j!==m&&this.set("timestamp",j)});a.A("FlatPanoramaOverlayPlaybackPosition",b).C("Object").O({opacity:"number",pitch:"number",roll:"number",timestamp:"number",yaw:"number"});return b});
define("dY",["require","hp","hH","dl"],function(a){var b=a("hp"),c=a("hH"),a=a("dl"),b=b.extend(c,function(a,b,g,k,j,h,n,e,l){c.call(this);a!==m&&this.set("yaw",a);b!==m&&this.set("pitch",b);g!==m&&this.set("rotationX",g);k!==m&&this.set("rotationY",k);j!==m&&this.set("roll",j);h!==m&&this.set("hfov",h);n!==m&&this.set("vfov",n);this.set("opacity",e!==m?e:1);l!==m&&this.set("timestamp",l)});a.A("PanoramaOverlayPlaybackPosition",b).C("Object").O({opacity:"number",yaw:"number",pitch:"number",rotationX:"number",
rotationY:"number",roll:"number",hfov:"number",vfov:"number",timestamp:"number"});return b});
define("H",["require","hp","hH","dl"],function(a){var b=a("hp"),c=a("hH"),a=a("dl"),b=b.extend(c,function(a,b,g,k,j,h,n){c.call(this);a!==m&&this.set("yaw",a);b!==m&&this.set("pitch",b);g!==m&&this.set("rotationX",g);k!==m&&this.set("rotationY",k);j!==m&&this.set("rotationZ",j);h!==m&&this.set("hfov",h);n!==m&&this.set("timestamp",n)});a.A("PopupPanoramaOverlayPlaybackPosition",b).C("Object").O({yaw:"number",pitch:"number",rotationX:"number",rotationY:"number",rotationZ:"number",hfov:"number",timestamp:"number"});
return b});
define("gJ",["require","hH","cI","dY","H"],function(a){var b=a("hH"),c=a("cI"),d=a("dY"),f=a("H");return{vna:function(a){return this.TN(a,this.eda)},tI:function(a){return this.TN(a,this.yha)},Mna:function(a){return this.TN(a,this.Fha)},eda:function(a){return new c(b.prototype.get.call(a,"yaw",0),b.prototype.get.call(a,"pitch",0),b.prototype.get.call(a,"roll",0),b.prototype.get.call(a,"opacity",1),0)},yha:function(a){function c(f,h){return b.prototype.get.call(a,f,h)}return new d(c("yaw",0),c("pitch",
0),c("rotationX",0),c("rotationY",0),c("roll",0),c("hfov",c("vfov")===m?45:m),c("vfov"),c("opacity",1),0)},Fha:function(a){function c(f,h){return b.prototype.get.call(a,f,h)}return new f(c("yaw",0),c("pitch",0),c("rotationX",0),c("rotationY",0),c("rotationZ",0),c("hfov",45),0)},TN:function(a,c){var f=b.prototype.get.call(a,"playbackPositions")||[];return 0<f.length?f.slice().sort(function(a,b){return a.get("timestamp")-b.get("timestamp")||f.indexOf(a)-f.indexOf(b)}):[c(a)]}}});
define("fX","require,hp,hH,jq,dl,gJ".split(","),function(a){var b=a("hp"),c=a("hH"),d=a("jq"),f=a("dl"),g=a("gJ"),a=b.extend(c,function(){c.call(this);this.set("opacity",1);this.set("scale",1);this.Qd=m});f.A("FlatHotspotPanoramaOverlayImageBase",a).C("Object").O({distance:"number",height:"number",horizontalAlign:"enum[center, left, right]",image:"ImageResource",offsetX:"number",offsetY:"number",opacity:"number",pitch:"number",playbackPositions:"array[FlatPanoramaOverlayPlaybackPosition]",roll:"number",
scale:"number",scaleMode:"enum[fill, fit_inside, fit_outside, fit_to_width, fit_to_height, none]",verticalAlign:"enum[bottom, middle, top]",width:"number",yaw:"number"}).Yb([d.Ce,d.rf]);a.prototype.get=function(a,b){switch(a){case "playbackPositions":if(this.Qd===m)this.Qd=g.vna(this);return this.Qd}return c.prototype.get.call(this,a,b)};a.prototype.set=function(a,b){var g=y;switch(a){case "opacity":case "distance":case "pitch":case "roll":case "yaw":case "playbackPositions":this.Qd=m;g=p}c.prototype.set.call(this,
a,b);g&&a!="playbackPositions"&&this.trigger(d.ba("playbackPositions"))};return a});define("p",["require","hp","dl","fX"],function(a){var b=a("hp"),c=a("dl"),d=a("fX"),a=b.extend(d,function(){d.call(this)});c.A("FlatHotspotPanoramaOverlayImage",a).C("FlatHotspotPanoramaOverlayImageBase");return a});
define("cG",["require","hp","dl","fX"],function(a){var b=a("hp"),c=a("dl"),d=a("fX"),a=b.extend(d,function(){d.call(this)});c.A("FlatHotspotPanoramaOverlayMap",a).C("FlatHotspotPanoramaOverlayImageBase");return a});define("cr",["cL","hp","jc","c"],function(a,b,c,d){var f=b.extend(c,function(){c.call(this)});f.Za={layout:d.so};a.defaults(f.Za,c.Za);f.prototype.oa=function(){this.Ri(f.Za)};return f});
define("gr",["cL","hp","cr","dl"],function(a,b,c,d){a=b.extend(c,function(){c.call(this)});d.A("GridContainer",a).C("UIComponent").O({children:"array[UIComponent]",contentOpaque:"bool",childrenInteractionEnabled:"bool",creationPolicy:"enum[inAdvance, delayed]",gap:"number",horizontalAlign:"enum[center, left, right]",itemHeight:"or[number, percent]",itemMaxHeight:"number",itemMaxWidth:"number",itemMinHeight:"number",itemMinWidth:"number",itemWidth:"or[number, percent]",overflow:"enum[scroll, hidden, visible]",
scrollBarColor:"color",scrollBarWidth:"number",scrollBarMargin:"number",scrollBarHorizontalMargin:"number",scrollBarVerticalMargin:"number",scrollBarOpacity:"number",scrollBarVisible:"enum[rollOver, always]",verticalAlign:"enum[bottom, middle, top]"});return a});
define("ge","require,cL,jquery.mod,bL,dZ,jq,fh,hS,gP,fB,hp".split(","),function(a){function b(){}function c(a){this.npa=a;this.xj=[];this.Ve=0}var d=a("cL");a("jquery.mod");var f=a("bL"),g=a("dZ"),k=a("jq"),j=a("fh"),h=a("hS"),n=a("gP"),e=a("fB"),l=a("hp").extend(g,function(a){g.call(this);this.url=a;this.kU=this.Ve=0;this.status=l.BK;this.qo=q});l.prototype.YT=function(a){this.kU=this.kU+a};l.prototype.tw=function(a){this.Ve=this.Ve+a};l.prototype.start=function(){this.status=l.aD;n.VU(this.url)?
this.kp():this.Zi=e.add(this.url,j.xC,this.Aia.bind(this),this.uY.bind(this))};l.prototype.Aia=function(){this.qo=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");this.qo.open("GET",this.url);this.qo.onreadystatechange=function(){this.qo.readyState>3&&this.kp()}.bind(this);this.qo.send()};l.prototype.uY=function(){if(this.qo){this.qo.abort();this.qo=q}};l.prototype.stop=function(){if(this.status==l.aD){this.status=l.BK;this.uY();this.Zi&&this.Zi.cancel()}};l.prototype.kp=
function(){this.qo=q;if(this.Zi){this.Zi.loaded();this.Zi=q}this.status=l.m$;this.trigger(new f(k.R))};l.BK="not loaded";l.aD="loading";l.m$="loaded";c.prototype.ima=function(a){a.forEach(function(a){if(this.xj.indexOf(a)<0){this.xj.push(a);a.tw(this.Ve);a.YT(1)}}.bind(this))};c.prototype.upa=function(a){var b=this.xj;this.xj=[];b.forEach(function(b){if(a.indexOf(b)<0)this.xj.push(b);else{b.tw(-this.Ve);b.YT(-1)}}.bind(this))};c.prototype.ppa=function(){this.xj.forEach(function(a){a.tw(-this.Ve);
a.YT(-1)}.bind(this));this.xj=[];this.Ve=0};c.prototype.tw=function(a){this.Ve=this.Ve+a;this.xj.forEach(function(b){b.tw(a)})};b.mc=[];b.Z2=[];b.nda=0;b.U5=function(a,b){this.sG(a).ima(b.map(function(a){return this.H(a)}.bind(this)));this.ZG();this.G()};b.xpa=function(a,b){this.sG(a).upa(b.map(function(a){return this.H(a)}.bind(this)));this.ZG();this.G()};b.qpa=function(a){this.sG(a).ppa();this.ZG();this.G()};b.GI=function(a,b){this.sG(a).tw(b);this.ZG();this.G()};b.ZG=function(){this.mc.sort(function(a,
b){return b.Ve-a.Ve})};b.G=function(a){if(this.enabled()&&(a||!this.Kl))if(a){this.Kl&&clearTimeout(this.Kl);this.Kl=q;var a=this.Yda(),b=this.Zda();d(a).difference(b).forEach(function(a){a.stop()});d(b).difference(a).forEach(function(a){a.start()})}else this.Kl=setTimeout(function(){this.Kl=q;this.G(p)}.bind(this),1E3)};b.Kl=q;b.Yda=function(){return this.mc.filter(function(a){return a.status==l.aD})};b.Zda=function(){for(var a=this.$da(),b=[],c=0;c<this.mc.length&&b.length<a;c++){var e=this.mc[c];
e.kU>0&&(e.status==l.BK||e.status==l.aD)&&b.push(e)}return b};b.$da=function(){return this.nda>0?0:1};b.sG=function(a){var b=d(this.Z2).find(function(b){return b.npa==a});if(!b){b=new c(a);this.Z2.push(b)}return b};b.H=function(a){var b=d(this.mc).find(function(b){return b.url==a});if(!b){b=new l(a);b.bind(k.R,this.G,this);this.mc.push(b)}return b};b.enabled=function(a){if(a===m)return b.Aca||b.Bca?y:b.jN!==m?b.jN:b.V;b.V=a};b.V=p;b.OU=function(a){b.jN=a.get(TDV.PlayerSettings.BACKGROUND_PRELOAD_ENABLED)};
b.jN=m;b.Bca=h.Yl("disable-background-preload",y);b.Aca=y;return b});define("cQ",["hp","hH","dl","ge"],function(a,b,c,d){var f=a.extend(b,function(){b.call(this);this.bS=a.fo(this.bS,this)});c.A("Media",f).C("Object").O({label:"string",thumbnailUrl:"string"}).Bj(["thumbnailUrl"]);f.prototype.bS=function(){d.U5(this,this.Zn())};f.prototype.Zn=function(){return[]};f.prototype.wpa=function(){d.qpa(this)};f.prototype.set=function(a,c){b.prototype.set.call(this,a,c);this.bS()};return f});
define("fE",["require","cL","hp","dl","cQ"],function(a){a("cL");var b=a("hp"),c=a("dl"),d=a("cQ"),a=b.extend(d,function(){d.call(this);this.YE=this.xv=m;this.set("distanceToFloor",1.7)});c.A("Panorama",a).C("Media").O({adjacentPanoramas:"array[AdjacentPanorama]",audios:"array[PanoramaAudio]",cardboardMenu:"Menu",flipImageHorizontally:"bool",frames:"array[PanoramaFrame]",distanceToFloor:"number",hfov:"number",hfovMax:"number",hfovMin:"or[number,percent]",mapLocations:"array[PanoramaMapLocation]",overlays:"array[PanoramaOverlay]",
partial:"bool",pitch:"number",vfov:"number",vrMenu:"Menu"});a.prototype.get=function(a,b){switch(a){case "overlays":return this.ON();case "frames":return this.Mda()}return d.prototype.get.call(this,a,b)};a.prototype.set=function(a,b){switch(a){case "cardboardMenu":this.set("vrMenu",b)}d.prototype.set.call(this,a,b)};a.prototype.ON=function(){var a=d.prototype.get.call(this,"overlays");a||(a=[]);return this.jR(a)};a.prototype.jR=function(a){if(this.xv===m||this.YE!=a){var b=function(a){return c.tb("PopupPanoramaOverlay",
a)},d=function(a){return c.tb("LensFlarePanoramaOverlay",a)};this.YE=a;this.xv=[].concat(a.filter(function(a){return!(b(a)||d(a))}),a.filter(d),a.filter(b))}return this.xv};a.prototype.m7=function(){return 0<this.get("overlays").filter(function(a){return c.tb("TripodCapPanoramaOverlay",a)}).length};a.prototype.b7=function(){return 0<this.get("overlays").filter(function(a){return c.tb("CeilingCapPanoramaOverlay",a)}).length};a.prototype.y7=function(){if(!this.x7())return y;var a=this.get("pitch",0),
b=this.get("vfov",180);if(179.9<=b)return p;var c=this.b7()?90:a+0.5*b,a=this.m7()?-90:a-0.5*b;return 179.9<=c-a?p:y};a.prototype.x7=function(){return 359.9<=this.get("hfov")&&!this.get("partial")};a.prototype.oI=R(0);a.prototype.Mda=function(){var a=d.prototype.get.call(this,"frames",[]);a.forEach(function(a){a.nma(this)}.bind(this));return a};return a});
define("iA",["require","hp","dl","fE"],function(a){var b=a("hp"),c=a("dl"),d=a("fE"),a=b.extend(d,function(){d.call(this)});c.A("HDRPanorama",a).C("Panorama").O({minimumLuminance:"number",maximumLuminance:"number",luminanceChangeTime:"number",maxLuminanceChangeSpeed:"number"});a.prototype.oI=function(){var a=this.get("frames")||[];return Math.floor((a.length-1)/2)};return a});
define("hK",["hp","hH","dl","jq"],function(a,b,c,d){a=a.extend(b,function(){b.call(this)});c.A("HotspotMapOverlayArea",a).C("Object").O({mapColor:"or[color,enum[image,transparent,any]]",toolTip:"string",useHandCursor:"bool"}).Yb([d.Cc,d.ec]).uh([d.W]);return a});
define("hL",["require","hp","hH","dl"],function(a){var b=a("hp"),c=a("hH"),a=a("dl"),d=b.extend(c,function(){c.call(this)});a.A("ImageResourceLevel",d).C("Object").O({url:"string",width:"number",height:"number",grayscale:"bool",tags:"or[array[enum[preload,mobile,ipadpro,oculusgo,mobilevr,ondemand]], enum[preload,mobile,ipadpro,oculusgo,mobilevr,ondemand]]"}).Bj(["url"]);d.prototype.get=function(a,b){switch(a){case "tags":var k=c.prototype.get.call(this,a);k||(k=[]);Array.isArray(k)||(k=[k]);0>k.indexOf(d.vm)&&
c.prototype.get.call(this,"grayscale")&&(k=k.concat([d.vm]));return k}return c.prototype.get.call(this,a,b)};d.prototype.l7=function(a){return 0<=this.get("tags").indexOf(a)};d.vm="preload";d.DW="mobile";d.BW="ipadpro";d.EW="mobilevr";d.EK="ondemand";return d});
define("dT",["require","hL","t","hS"],function(a){var b=a("hL"),c=a("t"),d=a("hS");return{Ok:function(a){return this.ew(a,"load")},lt:function(a){return this.ew(a,"preload")},mw:function(a){return this.Ok(a)!=this.lt(a)},ew:function(a,b){var c=a.get("levels")||[],d=this.wda(c),d=this.oea(b,d),c=this.bda(c,b),h=this.s_(c,d[0],d[1],this.mea(b));h||(h=this.s_(c,d[0],d[1],m));return h},bda:function(a,g){"preload"==g?a=this.jE(a,b.vm):"load"==g&&(a=this.ada(a,b.vm));c.pq()&&(a=this.jE(a,b.BW));c.Ue()&&
(a=this.jE(a,b.EW));c.Na()&&(a=this.jE(a,b.DW));return a},wda:function(a){if(0==a.length)return 1;a.sort(function(a,b){return b.get("width")-a.get("width")});return a[0].get("width")/a[0].get("height")},oea:function(a,b){if("preload"==a)return[0,0];var d=1E4;this.gda()||(c.Ue()?d=2048:c.pq()?d=1280:c.Na()&&(d=1024));return 1>b?[d*b,d]:[d,d/b]},mea:function(a){if("load"==a)return y},gda:function(){return c.pq()&&d.Yl("recent_ipad_use_max_res",y)},jE:function(a,b){var c=a.filter(function(a){return a.l7(b)});
0==c.length&&(c=a);return c},ada:function(a,b){var c=a.filter(function(a){return!a.l7(b)});0==c.length&&(c=a);return c},s_:function(a,b,c,d){function h(a){return Math.abs(a.get("width")*a.get("height")-b*c)}a=a.filter(function(a){return d!==m&&d!=a.get("grayscale",y)?y:p});if(0==a.length)return q;a.sort(function(a,b){return h(a)-h(b)});return a[0]}}});
define("z","require,hp,hH,dl,dT,X,hO".split(","),function(a){var b=a("hp"),c=a("hH"),d=a("dl"),f=a("dT"),g=a("X"),k=a("hO"),a=b.extend(c,function(){c.call(this);this.set("x",0);this.set("y",0);this.set("offsetX",0);this.set("offsetY",0);this.set("width",0);this.set("height",0);this.set("scaleMode",k.sm);this.set("horizontalAlign",g.tc);this.set("verticalAlign",g.cc)});d.A("HotspotMapOverlayImageBase",a).C("Object").O({height:"number",horizontalAlign:"enum[center, left, right]",image:"ImageResource",
offsetX:"number",offsetY:"number",scaleMode:"enum[none, fill, fit_inside, fit_outside, fit_to_width, fit_to_height]",verticalAlign:"enum[bottom, middle, top]",width:"number",x:"number",y:"number"});a.prototype.Ok=function(){return this.get("image")?f.Ok(this.get("image")):q};a.prototype.lt=function(){return this.get("image")?f.lt(this.get("image")):q};return a});define("hq",["hp","bL"],function(a,b){return a.extend(b,function(a,d){b.call(this,a);this.rh=d})});
define("bE",["require","hp","hH","jq","hq"],function(a){var b=a("hp"),c=a("hH"),d=a("jq"),f=a("hq"),a=b.extend(c,function(){c.call(this);this.RA=[];this.rd=m;this.k="initial"});a.prototype.Pk=P("RA");a.prototype.T8=function(a){this.RA!=a&&(this.RA=a,this.kp=this.rd=m)};a.prototype.wqa=function(a){this.rd!==a&&(this.k="loading",this.rd=a,this.trigger(new f(d.dc,this.rd)))};a.prototype.EU=function(){"loaded"!==this.k&&(this.k="loaded",this.trigger(d.R))};a.prototype.aqa=function(){"loaded"!==this.k&&
(this.k="error",this.trigger(d.od))};return a});define("cl",["hp","bE"],function(a,b){var c=a.extend(b,function(a){b.call(this);this.nf=a});c.prototype.pf=P("nf");c.MW="map";c.NW="overlay";return c});define("gu",["hp","cl"],function(a,b){var c=a.extend(b,function(a,c,g){b.call(this,b.NW);this.lha=a;this.Z=c;this.$=g});c.prototype.getX=P("Z");c.prototype.getY=P("$");c.LW="image";c.KW="fov";return c});
define("hI",["hp","gu"],function(a,b){var c=a.extend(b,function(a,c,g,k,j,h,n,e,l,r,o){b.call(this,b.LW,c,g);this.Eb=a;this.r3=k;this.ks=j;this.ls=h;this.T=n;this.ca=e;this.Ic=l;this.Pf=r;this.cg=o;this.RA=[a]});c.prototype.fg=P("Eb");c.prototype.jc=P("T");c.prototype.Sc=P("ca");return c});
define("eC","require,hp,dl,z,dT,hI".split(","),function(a){var b=a("hp"),c=a("dl"),d=a("z");LevelUtil=a("dT");ImageOverlay=a("hI");a=b.extend(d,function(){d.call(this);this.jp=m});c.A("HotspotMapOverlayImage",a).C("HotspotMapOverlayImageBase");a.prototype.getItem=function(){return this.Tc()};a.prototype.Tc=function(a){if(this.jp===m)this.jp=this.bI(a);return this.jp};a.prototype.bI=function(a){var b=this.get("image");if(b){b=LevelUtil.Ok(b);return new ImageOverlay(b.get("url"),this.get("x"),this.get("y"),
a,this.get("offsetX"),this.get("offsetY"),this.get("width"),this.get("height"),this.get("scaleMode"),this.get("horizontalAlign"),this.get("verticalAlign"))}return q};return a});define("B",["require","hp","dl","z"],function(a){var b=a("hp"),c=a("dl"),d=a("z"),a=b.extend(d,function(){d.call(this)});c.A("HotspotMapOverlayMap",a).C("HotspotMapOverlayImageBase");return a});
define("dX","require,hp,hH,jq,dl,gJ".split(","),function(a){var b=a("hp"),c=a("hH"),d=a("jq"),f=a("dl"),g=a("gJ"),a=b.extend(c,function(){c.call(this);this.set("opacity",1);this.set("scale",1);this.Qd=m});f.A("HotspotPanoramaOverlayImageBase",a).C("Object").O({yaw:"number",pitch:"number",roll:"number",rotationX:"number",rotationY:"number",hfov:"number",vfov:"number",distance:"number",horizontalAlign:"enum[center, left, right]",verticalAlign:"enum[bottom, middle, top]",scaleMode:"enum[fill, fit_inside, fit_outside, fit_to_width, fit_to_height, none]",
opacity:"number",scale:"number",image:"ImageResource",playbackPositions:"array[PanoramaOverlayPlaybackPosition]"}).Yb([d.Ce,d.rf]);a.prototype.get=function(a,b){switch(a){case "playbackPositions":if(this.Qd===m)this.Qd=g.tI(this);return this.Qd}return c.prototype.get.call(this,a,b)};a.prototype.set=function(a,b){var g=y;switch(a){case "distance":case "hfov":case "vfov":case "pitch":case "rotationX":case "rotationY":case "roll":case "yaw":case "opacity":case "playbackPositions":this.Qd=m;g=p}c.prototype.set.call(this,
a,b);g&&a!="playbackPositions"&&this.trigger(d.ba("playbackPositions"))};return a});define("hA",["require","hp","dl","dX"],function(a){var b=a("hp"),c=a("dl"),d=a("dX"),a=b.extend(d,function(){d.call(this)});c.A("HotspotPanoramaOverlayImage",a).C("HotspotPanoramaOverlayImageBase");return a});define("L",["require","hp","dl","dX"],function(a){var b=a("hp"),c=a("dl"),d=a("dX"),a=b.extend(d,function(){d.call(this)});c.A("HotspotPanoramaOverlayMap",a).C("HotspotPanoramaOverlayImageBase");return a});
define("hr",[],function(){function a(a){for(var b={},a=a.split(","),c=0;c<a.length;c++)b[a[c]]=p;return b}var b=/^<([-A-Za-z0-9_]+\:?[-A-Za-z0-9_]*)((?:\s+[-A-Za-z0-9_]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,c=/^<\/([-A-Za-z0-9_]+\:?[-A-Za-z0-9_]*)[^>]*>/,d=/([-A-Za-z0-9_]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,f=a("area,base,basefont,br,col,frame,hr,img,input,isindex,link,meta,param,embed"),g=a("address,applet,blockquote,button,center,dd,del,dir,div,dl,dt,fieldset,form,frameset,hr,iframe,ins,isindex,li,map,menu,noframes,noscript,object,ol,p,pre,script,table,tbody,td,tfoot,th,thead,tr,ul"),
k=a("a,abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),j=a("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),h=a("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),n=a("script,style");return function(a,l){function r(a,b,c,e){b=b.toLowerCase();if(g[b])for(;u.last()&&k[u.last()];)o(0,u.last());j[b]&&
u.last()==b&&o(0,b);(e=f[b]||!!e)||u.push(b);if(l.start){var n=[];c.replace(d,function(a,b,c,e,g){a=c?c:e?e:g?g:h[b]?b:"";n.push({name:b,value:a,$S:a.replace(/(^|[^\\])"/g,'$1\\"')})});l.start&&l.start(b,n,e)}}function o(a,b){if(b){b=b.toLowerCase();for(c=u.length-1;0<=c&&u[c]!=b;c--);}else var c=0;if(0<=c){for(var e=u.length-1;e>=c;e--)l.end&&l.end(u[e]);u.length=c}}var s,t,u=[],v=a;for(u.last=function(){return this[this.length-1]};a;){t=p;if(!u.last()||!n[u.last()]){if(0==a.indexOf("<\!--"))s=a.indexOf("--\>"),
0<=s&&(l.Cma&&l.Cma(a.substring(4,s)),a=a.substring(s+3),t=y);else if(0==a.indexOf("</")){if(s=a.match(c))a=a.substring(s[0].length),s[0].replace(c,o),t=y}else if(0==a.indexOf("<")&&(s=a.match(b)))a=a.substring(s[0].length),s[0].replace(b,r),t=y;t&&(s=a.indexOf("<"),t=0>s?a:a.substring(0,s),a=0>s?"":a.substring(s),l.mB&&l.mB(t))}else a=a.replace(RegExp("(.*?)</"+u.last()+"[^>]*>"),function(a,b){b=b.replace(/<\!--(.*?)--\>/g,"$1").replace(/<!\[CDATA\[(.*?)]]\>/g,"$1");l.mB&&l.mB(b);return""}),o(0,
u.last());a==v&&i("Parse Error: "+a);v=a}o()}});
define("dx","require,jquery.mod,cL,hp,jq,bL,dZ,t,hr".split(","),function(a){var b=a("jquery.mod");a("cL");var c=a("hp"),d=a("jq"),f=a("bL"),g=a("dZ"),k=a("t"),j=a("hr"),h=c.extend(g,function(a){g.call(this);this.Wc=b(a);this.Pz=[];this.Mo=q});h.prototype.soa=function(a){a&&a.toLowerCase().indexOf("<script")>=0?k.Qv()==k.Nw?this.bfa(a):this.afa(a):this.$ea(a)};h.prototype.$ea=function(a){this.Wc.empty();a&&this.Wc.append(a);this.rH()};h.prototype.bfa=function(a){this.Wc.empty();var c=this.Wc,g=q,h=
[],d=q;new j(a,{start:function(a,h,f){if(a=="script"){for(var f=m,j=0;j<h.length&&f===m;j++){var n=h[j];if(n.name=="src")f=n.value}d={parent:c,previousSibling:g,src:f,content:""}}else{for(var k={},j=0;j<h.length;j++){n=h[j];k[n.name]=n.value}h=b("<"+a+"/>");h.attr(k);c.append(h);if(f)g=h;else{c=h;g=q}}},mB:function(a){d?d.content=d.content+a:c.append(a)},end:function(a){if(a=="script"){h.push(d);d=q}else{g=c;c=c.parent()}}});this.Pz=h;this.bF()};h.prototype.afa=function(a){function e(){h++;return g+
h}this.Wc.empty();var g="fragment_"+c.i8(6)+"_",h=0,d=e(),f=[d],k=m,u=[],v=q,x="";new j(a,{start:function(a,b,c){if(a=="script"){c=m;for(a=0;a<b.length&&c===m;a++){var g=b[a];if(g.name=="src")c=g.value}v={parentClsName:f[f.length-1],previousSiblingClsName:k,src:c,content:""}}else{x=x+("<"+a);for(var h=e(),d=y,a=0;a<b.length;a++){g=b[a];if(g.name=="class"){g.$S=g.$S+(" "+h);d=p}x=x+(" "+g.name+'="'+g.$S+'"')}d||(x=x+(' class="'+h+'"'));if(c){x=x+"/>";k=h}else{x=x+">";f.push(h);k=m}}},mB:function(a){v?
v.content=v.content+a:x=x+a},end:function(a){if(a=="script"){u.push(v);v=q}else{k=f[f.length-1];f.pop()}}});this.Wc.get(0).innerHTML=x;this.Wc.addClass(d);for(a=0;a<u.length;a++){var w=u[a],z=w.parentClsName;delete w.parentClsName;k=w.previousSiblingClsName;delete w.previousSiblingClsName;w.parent=b("."+z);w.previousSibling=k?b("."+k):q}this.Wc.removeClass(d);this.Pz=u;this.bF()};h.prototype.bF=function(){if(!this.Mo)if(this.Pz.length>0){this.Mo=this.Pz[0];this.Pz.splice(0,1);var a=this.Mo.src;if(a){var c=
this;h.Ffa(a,function(){c.o0()},function(){c.Kfa()})}else{var g=this.Mo.parent,a=this.Mo.previousSibling,d;d=a?a.next():g.children(":first");a=document.write;document.write=d.length?function(a){d.before(a)}:function(a){g.append(a)};b.globalEval(this.Mo.content);document.write=a;this.o0()}}else this.rH()};h.prototype.Kfa=function(){this.Mo=q;this.bF()};h.prototype.o0=function(){this.Mo=q;this.bF()};h.prototype.rH=function(){this.trigger(new f(d.ua))};h.m0={};h.Ffa=function(a,c,g){h.m0[a]?c.call(window):
b.ajax({url:a,async:y,dataType:"script",error:g,success:function(){h.m0[a]=p;c.call(window)}})};return h});
define("if",["hp","jq","bL","dZ"],function(a,b,c,d){a=a.extend(d,function(a,b){d.call(this);this.jfa=a;this.V=b;this.nj=q});a.prototype.bind=function(){var a=d.prototype.bind.apply(this,arguments);this.MA();return a};a.prototype.unbind=function(){var a=d.prototype.unbind.apply(this,arguments);this.MA();return a};a.prototype.start=function(){this.V=p;this.MA()};a.prototype.stop=function(){this.V=y;this.MA()};a.prototype.BP=function(){this.trigger(new c(b.uc))};a.prototype.MA=function(){if(this.V&&
this.a7(b.uc)){if(this.nj==q){var a=this;this.nj=setTimeout(function(){a.nj=q;a.BP();a.MA()},this.jfa)}}else this.nj!=q&&(clearTimeout(this.nj),this.nj=q)};return a});
define("hn","require,jquery.mod,cL,hp,jq,fu,X,d,dx,db,if".split(","),function(a){var b=a("jquery.mod"),c=a("cL"),d=a("hp"),f=a("jq"),g=a("fu"),k=a("X"),j=a("d"),h=a("dx"),n=a("db"),a=a("if"),e=d.extend(j,function(){j.call(this);this.xc("HTML");this.zr=e.eD;this.J2=this.K2=0;this.f4=(new Date).getTime();this.aE=this.Mf=q;this.Tt=this.Tt.bind(this);this.mL=[]});e.prototype.oa=function(){j.prototype.oa.call(this);this.f("content");this.f("horizontalAlign",k.ha);this.f("verticalAlign",k.cc);this.f("fontFamily");
this.f("fontSize");this.f("fontColor");this.f("fontWeight");this.f("fontStyle");this.f("textAlign");this.f("textDecoration");this.f("textShadowBlurRadius",3);this.f("textShadowColor","#000000");this.f("textShadowHorizontalLength",0);this.f("textShadowOpacity",0);this.f("textShadowVerticalLength",0)};e.prototype.Qp=function(a){this.na&&g.get(this.na).rpa(this.Tt);j.prototype.Qp.call(this,a);if(this.na){g.get(this.na).fma(this.Tt);g.get(this.na).Tv(this.Tt)}};e.prototype.Ka=function(){j.prototype.Ka.call(this);
if(!this.aE){this.Mf=document.createElement("div");this.aE=b(this.Mf);this.XM({position:"absolute",display:"inline",left:0,top:0,"box-sizing":"border-box"});var a=this.Pa();a.Fw(y);a.append(this.aE);this.M_=new h(this.aE);this.M_.bind(f.ua,this.Qea,this,p);this.bind(f.ub,this.N_,this)}};e.prototype.da=function(){var a={},b=y;this.n("visible")&&(b=p);if(this.n("content")){this.M_.soa(this.j("content"));this.o("content");b=p}if(this.n("fontFamily")){b=this.j("fontFamily");c(b).isString()||(b="");a.fontFamily=
n.iq(b);this.o("fontFamily");b=p}if(this.n("fontSize")){b=this.j("fontSize");c(b).isNumber()?b=b+"px":c(b).isString()||(b="");a.fontSize=b;this.o("fontSize");b=p}if(this.n("fontColor")){b=this.j("fontColor");c(b).isString()||(b="");a.color=b;this.o("fontColor");b=p}if(this.n("fontWeight")){b=this.j("fontWeight");switch(b){case "bold":case "bolder":case "lighter":case "100":case "200":case "300":case "400":case "500":case "600":case "700":case "800":case "900":case "normal":break;default:b="normal"}a.fontWeight=
b;this.o("fontWeight");b=p}if(this.n("fontStyle")){b=this.j("fontStyle");switch(b){case "italic":case "normal":break;default:b="normal"}a.fontStyle=b;this.o("fontStyle");b=p}if(this.n("textDecoration")){b=this.j("textDecoration");switch(b){case "underline":case "overline":case "line-through":case "none":break;default:b="none"}a.textDecoration=b;this.o("textDecoration");b=p}if(this.n("textAlign")){b=this.j("textAlign");switch(b){case "left":case "right":case "center":case "justify":break;default:b=
""}a["text-align"]=b;this.o("textAlign");b=p}var e=["textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];if(c(e).any(function(a){return this.n(a)},this)){var g={};c(e).each(function(a){g[a]=this.j(a);this.o(a)},this);a["-moz-text-shadow"]=a["-webkit-text-shadow"]=a["text-shadow"]=[g.textShadowHorizontalLength+"px",g.textShadowVerticalLength+"px",g.textShadowBlurRadius+"px","rgba("+parseInt("0x"+g.textShadowColor.substr(1,2))+", "+parseInt("0x"+
g.textShadowColor.substr(3,2))+", "+parseInt("0x"+g.textShadowColor.substr(5,2))+", "+g.textShadowOpacity+")"].join(" ");e=g.textShadowVerticalLength==0&&this.j("textShadowHorizontalLength")==0?135:Math.round(4*Math.atan2(g.textShadowHorizontalLength,-g.textShadowVerticalLength)/Math.PI)*45;a.filter="progid:DXImageTransform.Microsoft.Shadow(color=#"+("00"+(255*g.textShadowOpacity).toString(16)).slice(-2)+g.textShadowColor.substr(1,6)+",direction="+e+")"}c(["paddingTop","paddingRight","paddingBottom",
"paddingLeft"]).any(function(a){return this.n(a)},this)&&(b=p);this.XM(a);b&&this.G0();j.prototype.da.call(this)};e.prototype.G0=function(){this.N_();this.Ja();this.j("visible")&&this.j("content")?this.Sz(e.YW):this.Sz(e.eD)};e.prototype.Zp=function(a){for(var b=a.target;b&&b.tagName!="A"&&b.tagName!="BUTTON";)b=b.parentElement;j.prototype.Zp.call(this,a,!b)};e.prototype.mn=function(){j.prototype.mn.call(this);var a=this.Pa();this.$g=this.Mf.clientWidth+a.dw()+a.jw();this.Zg=this.Mf.clientHeight+
a.kw()+a.Zv()};e.prototype.Q3=function(a){if(this.QN()!=a){this.Mf.style.paddingLeft=a+"px";this.Ja()}};e.prototype.QN=function(){return parseInt(this.Mf.style.paddingLeft)||0};e.prototype.S3=function(a){if(this.SN()!=a){this.Mf.style.paddingTop=a+"px";this.Ja()}};e.prototype.SN=function(){return parseInt(this.Mf.style.paddingTop)||0};e.prototype.R3=function(a){if(this.RN!=a){this.Mf.style.paddingRight=a+"px";this.Ja()}};e.prototype.RN=function(){return parseInt(this.Mf.style.paddingRight)||0};e.prototype.P3=
function(a){if(this.PN()!=a){this.Mf.style.paddingBottom=a+"px";this.Ja()}};e.prototype.PN=function(){return parseInt(this.Mf.style.paddingBottom)||0};e.prototype.Qea=function(){this.mL=Array.prototype.slice.call(this.Mf.querySelectorAll("*[style]")).map(function(a){var b={};b.Tma=a;b.style=a.getAttribute("style");return b}).filter(function(a){return l.test(a.style)}).map(function(a){for(var b=a.style,c=[];;){var e=l.exec(b);if(e){c.push(function(a){return function(){return a}}(b.substr(0,e.index+
1)));c.push(function(a,b){switch(b){case "vw":return function(b){return Math.round(b*a)+"px"};case "vh":return function(b,c){return Math.round(c*a)+"px"};case "vmin":return function(b,c,e){return Math.round(e*a)+"px"};case "vmax":return function(b,c,e){return Math.round(e*a)+"px"}}}(parseFloat(e[1]),e[3].toLowerCase()));b=b.substr(e.index+e[0].length)}else{c.push(function(a){return function(){return a}}(b));a.functions=c;return a}}});this.na&&g.get(this.na).Tv(this.Tt)};e.prototype.Tt=function(a,
b,c,e){if(this.mL.length!=0){this.mL.forEach(function(g){var h=g.functions.map(function(g){return g(a,b,c,e)}).join("");g.Tma.setAttribute("style",h)});this.G0()}};e.prototype.N_=function(){var a={width:"auto",height:"auto"},b=this.Pa();if(!this.$N()){this.$g!=this.T&&this.Ja();var c=this.T-(b.dw()+b.jw());c>0&&(a.width=c+"px")}if(!this.H_()){this.Zg!=this.ca&&this.Ja();b=this.ca-(b.kw()+b.Zv());b>0&&(a.height=b+"px")}this.XM(a)};e.prototype.X0=function(){var a=this.Mf.clientWidth,b=this.Mf.clientHeight;
if(this.K2!=a||this.J2!=b){this.K2=a;this.J2=b;this.Ja();this.Sz(e.YW)}else{a=(new Date).getTime()-this.f4;a>e.N$?this.Sz(e.C$):a>e.M$&&this.Sz(e.B$)}};e.prototype.ria=function(){this.f4=(new Date).getTime()};e.prototype.Sz=function(a){this.zr==e.Hra&&this.ria();if(this.zr!=a){this.zr!=e.eD&&e.AY[this.zr].unbind(f.uc,this.X0,this);this.zr=a;this.zr!=e.eD&&e.AY[this.zr].bind(f.uc,this.X0,this,p)}};e.prototype.XM=function(a){var b=this.Mf.style,c;for(c in a)b[c]=a[c]};var l=/[^\d]((\d*\.)?\d+)\s*(vmin|vmax|vw|vh)/i;
e.eD="stopped";e.C$="slow";e.B$="normal";e.YW="fast";e.N$=3E4;e.M$=5E3;e.AY={slow:new a(2E3,p),normal:new a(500,p),fast:new a(100,p)};return e});
define("gF",["hp","hn","dl"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("HTML",a).C("UIComponent").O({content:"string",fontColor:"color",fontFamily:"string",fontSize:"or[number, size]",fontStyle:"enum[italic, normal]",fontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",textAlign:"enum[center, justify, left, right]",textDecoration:"enum[underline, overline, line-through, none]",textShadowBlurRadius:"number",textShadowColor:"color",textShadowHorizontalLength:"number",
textShadowOpacity:"number",textShadowVerticalLength:"number"}).mo(["fontSize"]);return a});define("b",["cL","hp","jc","c"],function(a,b,c,d){var f=b.extend(c,function(){c.call(this)});f.Za={layout:d.eV};a.defaults(f.Za,c.Za);f.prototype.oa=function(){this.Ri(f.Za)};return f});
define("fK",["hp","fa","b","hn"],function(a,b,c,d){a=a.extend(c,function(){c.call(this);this.Zo=q;this.set("contentOpaque",p)});a.prototype.oa=function(){c.prototype.oa.call(this);this.f("overflow",b.gl);this.f("html")};a.prototype.Ka=function(){c.prototype.Ka.call(this);this.Zo==q&&(this.Zo=new d,this.Zo.S({left:0}),this.pa(this.Zo))};a.prototype.da=function(){this.Zo.set("width",this.$N()?m:"100%");this.n("html")&&(this.Zo.set("content",this.j("html")),this.o("html"));this.Ua(["paddingLeft","paddingTop",
"paddingRight","paddingBottom"],{},[this.Zo],p,p);this.Ua(["cursor"],{},[this.Zo],p,y);c.prototype.da.call(this)};return a});
define("bf",["require","hp","fK","dl"],function(a){var b=a("hp"),c=a("fK"),a=a("dl"),b=b.extend(c,function(){c.call(this)});a.A("HTMLText",b).C("UIComponent").O({html:"string",overflow:"enum[scroll, hidden, visible]",scrollBarColor:"color",scrollBarWidth:"number",scrollBarMargin:"number",scrollBarHorizontalMargin:"number",scrollBarVerticalMargin:"number",scrollBarOpacity:"number",scrollBarVisible:"enum[rollOver, always]"});return b});
define("gD","require,jquery.mod,hp,jq,bL,hS,eJ,N,hO,et,cK,ib".split(","),function(a){function b(a,b,c){return function(e){var g;g=b=="mouse"?this.Ur(e):this.iy(e);this.b0(g)?a.call(this,e):c=="release"?a.call(this,e):this.oda(g,e)}}var c=a("jquery.mod"),d=a("hp"),f=a("jq"),g=a("bL"),k=a("hS"),j=a("eJ"),h=a("N"),n=a("hO"),e=a("et"),l=a("cK"),r=a("ib"),o=k.ph("debug"),a=d.extend(r,function(){this.xc("Button");r.call(this,3);this.set("autoRolledOver",p);this.set("autoPressed",p);this.set("cursor",h.xd);
this.set("scaleMode",n.ie);this.bM=document.createElement("canvas");this.bM.width=1;this.bM.height=1;this.cM=this.bM.getContext("2d");this.cM.globalCompositeOperation="copy";this.rN=y;this.bind(f.ec,this.Uea,this)});a.prototype.oa=function(){r.prototype.oa.call(this);this.f("buttonGroup");this.f("mode",l.Bc);this.f("pressed");this.f("iconURL");this.f("transparencyActive");this.h("rollOverOpacity",e.q,"opacity");this.h("rollOverIconURL",e.q,"iconURL");this.h("pressedOpacity",e.sa,"opacity");this.h("pressedIconURL",
e.sa,"iconURL");this.h("pressedRollOverOpacity",e.Sa,"opacity");this.h("pressedRollOverIconURL",e.Sa,"iconURL")};a.prototype.xN=b(r.prototype.xN,"touch","capture");a.prototype.PZ=b(r.prototype.tda,"touch");a.prototype.RZ=b(r.prototype.tda,"touch","release");a.prototype.GR=b(r.prototype.GR,"touch","capture");a.prototype.FR=b(r.prototype.FR,"touch");a.prototype.Zp=b(r.prototype.Zp,"touch","release");a.prototype.fP=b(r.prototype.fP,"mouse","capture");a.prototype.gP=function(a){var b=this.Ur(a);if(this.b0(b)||
this.rN){r.prototype.gP.call(this,a);this.set("cursor",h.xd)}else{this.rN=p;if(b=this.k_(b)){c(b).trigger(this.OY(a));a.preventDefault();a.stopImmediatePropagation()}this.g_(b)=="pointer"?this.set("cursor",h.xd):this.set("cursor",h.uc);this.rN=y}};a.prototype.Uea=function(){this.set("cursor",h.xd)};a.prototype.qF=b(r.prototype.qF,"mouse","release");a.prototype.b0=function(a){if(!this.gb)return y;var b=this.gb.offset(),c=a.a8-b.left,e=this.gb.width(),a=a.b8-b.top,b=this.gb.height();if(c>=0&&a>=0&&
c<e&&a<b){if(this.get("transparencyActive")||o)return p;c=c*this.Tu/e;e=a*this.Su/b;this.cM.drawImage(this.gb.get(0),c,e,1,1,0,0,1,1);if(this.cM.getImageData(0,0,1,1).data[3]>0)return p}return y};a.prototype.oda=function(a,b){var e=this.k_(a);if(e){c(e).trigger(this.OY(b));b.preventDefault();b.stopImmediatePropagation()}};a.prototype.k_=function(a){var b=this.Um(),c=b.style.pointerEvents;b.style.pointerEvents="none";a=document.elementFromPoint(a.a8,a.b8);setTimeout(function(){b.style.pointerEvents=
c},0);return a};a.prototype.OY=function(a){return c.extend(c.Event(a.type),{originalEvent:a.originalEvent,wheelDelta:a.wheelDelta,detail:a.detail,which:1,clientX:a.clientX,clientY:a.clientY,pageX:a.pageX,pageY:a.pageY,screenX:a.screenX,screenY:a.screenY})};a.prototype.g_=function(a){if(a){var b=a.style.cursor;b=="inherit"&&(b=this.g_(a.parentElement))}else b="default";return b};a.prototype.Bx=function(){if(this.get("pressed")){this.set("pressed",y);this.trigger(new g(f.Jg))}else{this.set("pressed",
p);this.trigger(new g(f.If))}};a.prototype.da=function(){var a=y;if(this.n("backgroundOpacityy")||this.n("backgroundColor"))a=p;if(this.n("iconURL")){this.set("url",this.j("iconURL"));this.o("iconURL")}var b=y;if(this.n("mode")){if(this.j("mode")==l.Bc){this.unbind(f.W,this.Bx,this,p);this.set("autoPressed",p)}else{this.bind(f.W,this.Bx,this,p);this.set("autoPressed",y)}this.o("mode");b=p}if(b||this.n("pressed"))this.j("mode")==l.Kg?this.sv(this.j("pressed")==p):b&&this.sv(y);if(this.n("buttonGroup")){(b=
this.j("buttonGroup"))?j.register(this,b):j.uC(this);this.o("buttonGroup")}r.prototype.da.call(this);if(a){a=this.mb();if(a.ri()==0||a.Br.length==0){a.yi(0.001);a.w8(["#000000"])}}};return a});
define("W",["hp","gD","dl","jq"],function(a,b,c,d){a=a.extend(b,function(){b.call(this)});c.A("IconButton",a).C("UIComponent").O({buttonGroup:"string",iconURL:"string",mode:"enum[push, toggle]",horizontalAlign:"enum[left, center, right]",verticalAlign:"enum[bottom, middle, top]",rollOverIconURL:"string",rollOverOpacity:"number",pressed:"bool",pressedIconURL:"string",pressedOpacity:"number",pressedRollOverIconURL:"string",pressedRollOverOpacity:"number",transparencyActive:"bool"}).Bj(["iconURL","rollOverIconURL",
"pressedIconURL"]).Yb([d.If,d.Jg]).uh([d.W]);return a});define("iz",["hp","dl","fv"],function(a,b,c){a=a.extend(c,function(){c.call(this,y)});b.A("IconHotspotMapOverlay",a).C("HotspotMapOverlay");return a});
define("jb",["hp","ib","dl"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("Image",a).C("UIComponent").O({horizontalAlign:"enum[center, left, right]",scaleMode:"enum[none, fill, fit_inside, fit_outside, fit_to_width, fit_to_height]",url:"string",verticalAlign:"enum[bottom, middle, top]"}).Bj(["url"]);return a});
define("fW",["hp","fP","dl"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("Label",a).C("UIComponent").O({fontFamily:"string",fontSize:"or[number, size]",fontColor:"color",fontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",fontStyle:"enum[italic, normal]",horizontalAlign:"enum[left, center, right]",verticalAlign:"enum[top, middle, bottom]",text:"string",textDecoration:"enum[underline, overline, line-through, none]",textShadowBlurRadius:"number",
textShadowColor:"color",textShadowHorizontalLength:"number",textShadowOpacity:"number",textShadowVerticalLength:"number"}).mo(["fontSize"]);return a});define("bn",["require","hp","hH","dl"],function(a){var b=a("hp"),c=a("hH"),a=a("dl"),b=b.extend(c,function(){c.call(this);this.set("bleaching",0);this.set("bleachingDistance",0.4)});a.A("LensFlarePanoramaOverlay",b).C("PanoramaOverlay").O({yaw:"number",pitch:"number",bleaching:"number",bleachingDistance:"number"});return b});
define("je",["require","hp","dl","fE"],function(a){var b=a("hp"),c=a("dl"),d=a("fE"),a=b.extend(d,function(){d.call(this)});c.A("LivePanorama",a).C("Panorama").O({frameDisplayTime:"number",frameTransitionTime:"number",initialFrameIndex:"number"});a.prototype.oI=function(){return this.get("initialFrameIndex",0)};return a});
define("bZ",["hp","cl"],function(a,b){var c=a.extend(b,function(a,c,g,k,j,h){b.call(this,b.MW);this.Eb=a;this.T=c;this.ca=g;this.Ic=k;this.qN=j;this.ej=h.slice()});c.prototype.Pk=function(){for(var a=[this.Eb],b=0;b<this.ej.length;b++)a=a.concat(this.ej[b].Pk());return a};c.prototype.fg=P("Eb");c.prototype.jc=P("T");c.prototype.Sc=P("ca");return c});
define("iw","require,cL,hp,dl,hO,cQ,dT,bZ".split(","),function(a){var b=a("cL"),c=a("hp"),d=a("dl"),f=a("hO"),g=a("cQ"),k=a("dT"),j=a("bZ"),a=c.extend(g,function(){g.call(this);this.jp=this.gQ=m});d.A("Map",a).C("Media").O({fieldOfViewOverlayInsideColor:"color",fieldOfViewOverlayInsideOpacity:"number",fieldOfViewOverlayOutsideColor:"color",fieldOfViewOverlayOutsideOpacity:"number",fieldOfViewOverlayRadiusScale:"number",flipImageHorizontally:"bool",height:"number",image:"ImageResource",initialZoomFactor:"number",
maximumZoomFactor:"number",minimumZoomFactor:"number",overlays:"array[MapOverlay]",scaleMode:"enum[none, fit_inside, fit_outside, fit_to_width, fit_to_height]",width:"number"});a.prototype.mw=function(){return!(!this.get("image")||!k.mw(this.get("image")))};a.prototype.lt=function(){return this.get("image")&&k.lt(this.get("image"))};a.prototype.Ok=function(){return this.get("image")&&k.Ok(this.get("image"))};a.prototype.N6=function(){if(this.gQ==m)this.gQ=this.mw()?new j(this.lt().get("url"),this.get("width"),
this.get("height"),this.get("scaleMode",f.Nq),this.get("flipImageHorizontally",y),[]):q;return this.gQ};a.prototype.Tc=function(){if(this.jp==m)if(this.get("image")){var a=Array.prototype.concat.apply([],b(this.get("overlays",[])).map(function(a){return a.Ena()}));this.jp=new j(this.Ok().get("url"),this.get("width"),this.get("height"),this.get("scaleMode",f.Nq),this.get("flipImageHorizontally",y),a)}else this.jp=q;return this.jp};a.prototype.Zn=function(){return[].concat(this.tE(this.N6()),this.tE(this.Tc()))};
a.prototype.tE=function(a){return a?a.Pk():[]};return a});define("hd",["hp","hH","dl"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("MapOverlay",a).C("Object");return a});
define("il","hp,cL,jq,bL,dZ,cK".split(","),function(a,b,c,d,f,g){a=a.extend(f,function(a,b,h){f.call(this);this.SY=a;this.Lha=b;this.fY=h||g.Bc;this.qg=[];this.Go={};this.Go.mode=this.fY;this.fY==g.Kg&&(this.Go.pressed=y);this.SY.bind(c.ba(b),this.U2,this);this.U2()});a.prototype.U2=function(){var a=this.SY.get(this.Lha);a||(a=[]);b.isArray(a)||(a=[a]);this.Yia(a)};a.prototype.Yia=function(a){var g=b.difference(this.qg,a);b(g).each(function(a){a.unbind(c.If,this.lY,this,p);a.unbind(c.Jg,this.mY,this,
p);a.unbind(c.W,this.eY,this,p);a.unbind(c.lb,this.gY,this,p);a.unbind(c.Gb,this.hY,this,p)},this);g=b.difference(a,this.qg);b(g).each(function(a){a.S(this.Go);a.bind(c.If,this.lY,this,p);a.bind(c.Jg,this.mY,this,p);a.bind(c.W,this.eY,this,p);a.bind(c.lb,this.gY,this,p);a.bind(c.Gb,this.hY,this,p)},this);this.qg=a};a.prototype.lY=function(){this.trigger(new d(c.If))};a.prototype.mY=function(){this.trigger(new d(c.Jg))};a.prototype.eY=function(){this.trigger(new d(c.W))};a.prototype.gY=function(){this.trigger(new d(c.lb))};
a.prototype.hY=function(){this.trigger(new d(c.Gb))};a.prototype.set=function(a,c){this.Go[a]=c;b(this.qg).each(function(a){a.S(this.Go)},this)};return a});
define("ed","require,cL,hp,jq,bL,et,N,b,d,iG,iT".split(","),function(a){var b=a("cL"),c=a("hp"),d=a("jq"),f=a("bL"),g=a("et"),k=a("N"),j=a("b"),h=a("d");a("iG");a("iT");var n=c.extend(j,function(){j.call(this);this.xc("PlaybackBar");this.gh=this.rd=q;this.fe=[];this.kG=y;this.$P=this.us=m;this.sR=y});n.Za={cursor:k.xd,overflow:"visible",height:20,position:0,duration:100,steps:m,selectedStep:m,backgroundColor:"#000000",barBackgroundColor:"#FFFFFF",barBackgroundColorDirection:m,barBackgroundColorRatios:m,
barBorderColor:m,barBorderRadius:m,barBorderSize:m,barOpacity:m,liveDragging:m,playheadBackgroundColor:"#FFFFFF",playheadBackgroundColorDirection:m,playheadBackgroundColorRatios:m,playheadBorderColor:m,playheadBorderRadius:m,playheadBorderSize:m,playheadOpacity:m,playheadWidth:5,playheadHeight:30,playheadShadow:p,playheadShadowBlurRadius:3,playheadShadowColor:"#000000",playheadShadowHorizontalLength:0,playheadShadowOpacity:m,playheadShadowSpread:0,playheadShadowVerticalLength:3,stepBackgroundColor:"#FFFFFF",
stepBackgroundColorDirection:m,stepBackgroundColorRatios:m,stepBorderColor:m,stepBorderRadius:6,stepBorderSize:0,stepOpacity:1,stepWidth:12,stepHeight:12,stepShadow:p,stepShadowBlurRadius:6,stepShadowColor:"#000000",stepShadowHorizontalLength:0,stepShadowOpacity:m,stepShadowSpread:0,stepShadowVerticalLength:0,selectedStepBackgroundColor:"#3399FF",selectedStepBackgroundColorDirection:m,selectedStepBackgroundColorRatios:m,selectedStepBorderColor:"#ffffff",selectedStepBorderRadius:10,selectedStepBorderSize:2,
selectedStepOpacity:1,selectedStepWidth:20,selectedStepHeight:20,selectedStepShadow:p,selectedStepShadowBlurRadius:3,selectedStepShadowColor:"#000000",selectedStepShadowHorizontalLength:0,selectedStepShadowOpacity:m,selectedStepShadowSpread:0,selectedStepShadowVerticalLength:0};b.defaults(n.Za,j.Za);n.prototype.oa=function(){this.Ri(n.Za)};n.prototype.Ka=function(){j.prototype.Ka.call(this);(!this.rd||!this.gh)&&this.bind(d.ub,this.zha,this,p);if(this.rd==q){this.rd=new h;this.rd.S({left:"0",height:"100%",
cursor:k.xd});this.pa(this.rd)}if(this.gh==q){this.gh=new h;this.gh.S({left:"0",cursor:k.xd});this.gh.bind(d.ub,this.Cha,this,p);this.gh.bind(d.lb,this.Aha,this,p);this.cb().bind(d.Ac,this.B2,this,p);this.bind(d.W,this.xha,this,p);this.gh.bind(d.Gb,this.Bha,this,p);this.pa(this.gh)}var a=this.get("steps")||0;if(this.fe.length!=a){for(;this.fe.length>a;)this.zca(this.fe.pop());for(;this.fe.length<a;)this.fe.push(this.rca());this.Ua(n.uX,n.UK,this.fe,y,p);this.u5();this.eS();this.wi(this.gh,this.Qa().length-
1)}};n.prototype.rca=function(){var a=new e;a.S({cursor:k.xd});a.bind(d.W,this.n4,this,p);a.bind(d.ub,this.o4,this,p);this.pa(a);return a};n.prototype.zca=function(a){a.unbind(d.W,this.n4,this,p);a.unbind(d.ub,this.o4,this,p);this.removeChild(a)};n.prototype.da=function(){var a=y;if(this.n("position")||this.n("duration")){this.o("position");this.o("duration");a=p}if(this.n("selectedStep")){this.o("selectedStep");this.u5()}if(this.n("steps")){this.o("steps");this.IB()}this.Ua(n.NK,n.gx,[this.rd],p,
p);this.Ua(n.J$,n.qX,[this.gh],p,p);this.Ua(n.uX,n.UK,this.fe,p,p);j.prototype.da.call(this);a&&this.zH()};n.prototype.u5=function(){var a=this.get("selectedStep");this.fe.forEach(function(b,c){b.lC(c===a)});this.gh.set("visible",a===m)};n.prototype.zH=function(){var a=this.Aa(),b=this.gh.Aa(),c=this.gh.bb(),e=this.So(),g=this.fy(),h=g*a/e,a=Math.round((this.kG?this.us:g)*a/e-b*0.5),a=Math.max(0,Math.min(a,this.td()-b)),b=Math.round(this.sd()*0.5-c*0.5);this.gh.S({left:a,top:b});this.rd.set("width",
Math.round(h))};n.prototype.Cha=function(){this.zH()};n.prototype.Aha=function(a){this.kG=p;this.$P=a.pageX;this.us=this.j("position")};n.prototype.B2=function(a){if(this.kG){var b=a.pageX-this.$P;this.$P=a.pageX;var a=this.Aa(),c=this.So();this.us=Math.max(0,Math.min(c,this.us+c*b/a));this.zH();if(this.get("liveDragging")){this.set("position",this.us);this.trigger(new f(d.U))}}};n.prototype.Bha=function(a){this.B2(a);this.kG=y;if(!this.get("liveDragging")){this.set("position",this.us);this.trigger(new f(d.U))}this.us=
m};n.prototype.xha=function(a){if(!this.sR){var b=this.Aa();this.set("position",this.So()*a.x/b);this.trigger(new f(d.U))}};n.prototype.o4=function(){this.eS()};n.prototype.zha=function(){this.eS();this.zH()};n.prototype.eS=function(){for(var a=this.Aa(),b=this.bb(),c=this.Z,e=this.getParent().Aa()-(c+a),g=0,h=this.fe.length;g<h;g++){var d=this.fe[g],f=d.Aa();d.S({left:g==0&&c==0?0:g==h-1&&e==0?a-f:Math.round(a*g/(h-1)-f*0.5),top:Math.round(b*0.5-d.bb()*0.5)})}};n.prototype.n4=function(a){a=this.fe.indexOf(a.source);
this.set("position",this.So()*a/(this.fe.length-1));this.sR=p;this.trigger(new f(d.U));setTimeout(function(){this.sR=y}.bind(this),0)};n.prototype.So=function(){var a=this.j("duration");return!a?1:a};n.prototype.fy=function(){return Math.max(0,Math.min(this.So(),this.j("position")))};n.gx={barBackgroundColor:"backgroundColor",barBackgroundColorDirection:"backgroundColorDirection",barBackgroundColorRatios:"backgroundColorRatios",barBorderColor:"borderColor",barBorderRadius:"borderRadius",barBorderSize:"borderSize",
barOpacity:"opacity"};n.NK=b(n.gx).keys();n.qX={playheadBackgroundColor:"backgroundColor",playheadBackgroundColorDirection:"backgroundColorDirection",playheadBackgroundColorRatios:"backgroundColorRatios",playheadBorderColor:"borderColor",playheadBorderRadius:"borderRadius",playheadBorderSize:"borderSize",playheadOpacity:"opacity",playheadWidth:"width",playheadHeight:"height",playheadShadow:"shadow",playheadShadowBlurRadius:"shadowBlurRadius",playheadShadowColor:"shadowColor",playheadShadowHorizontalLength:"shadowHorizontalLength",
playheadShadowOpacity:"shadowOpacity",playheadShadowSpread:"shadowSpread",playheadShadowVerticalLength:"shadowVerticalLength"};n.J$=b(n.qX).keys();n.UK={stepBackgroundColor:"backgroundColor",stepBackgroundColorDirection:"backgroundColorDirection",stepBackgroundColorRatios:"backgroundColorRatios",stepBorderColor:"borderColor",stepBorderRadius:"borderRadius",stepBorderSize:"borderSize",stepOpacity:"opacity",stepWidth:"width",stepHeight:"height",stepShadow:"shadow",stepShadowBlurRadius:"shadowBlurRadius",
stepShadowColor:"shadowColor",stepShadowHorizontalLength:"shadowHorizontalLength",stepShadowOpacity:"shadowOpacity",stepShadowSpread:"shadowSpread",stepShadowVerticalLength:"shadowVerticalLength",selectedStepBackgroundColor:"selectedBackgroundColor",selectedStepBackgroundColorDirection:"selectedBackgroundColorDirection",selectedStepBackgroundColorRatios:"selectedBackgroundColorRatios",selectedStepBorderColor:"selectedBorderColor",selectedStepBorderRadius:"selectedBorderRadius",selectedStepBorderSize:"selectedBorderSize",
selectedStepOpacity:"selectedOpacity",selectedStepWidth:"selectedWidth",selectedStepHeight:"selectedHeight",selectedStepShadow:"selectedShadow",selectedStepShadowBlurRadius:"selectedShadowBlurRadius",selectedStepShadowColor:"selectedShadowColor",selectedStepShadowHorizontalLength:"selectedShadowHorizontalLength",selectedStepShadowOpacity:"selectedShadowOpacity",selectedStepShadowSpread:"selectedShadowSpread",selectedStepShadowVerticalLength:"selectedShadowVerticalLength"};n.uX=b(n.UK).keys();var e=
c.extend(h,function(){h.call(this)});e.prototype.lC=function(a){this.Wz(a)};e.prototype.oa=function(){h.prototype.oa.call(this);this.f("backgroundColor");this.f("backgroundColorDirection");this.f("backgroundColorRatios");this.f("borderColor");this.f("borderRadius");this.f("borderSize");this.f("opacity");this.f("width");this.f("height");this.f("shadow");this.f("shadowBlurRadius");this.f("shadowColor");this.f("shadowHorizontalLength");this.f("shadowOpacity");this.f("shadowSpread");this.f("shadowVerticalLength");
this.h("selectedBackgroundColor",g.F,"backgroundColor");this.h("selectedBackgroundColorDirection",g.F,"backgroundColorDirection");this.h("selectedBackgroundColorRatios",g.F,"backgroundColorRatios");this.h("selectedBorderColor",g.F,"borderColor");this.h("selectedBorderRadius",g.F,"borderRadius");this.h("selectedBorderSize",g.F,"borderSize");this.h("selectedOpacity",g.F,"opacity");this.h("selectedWidth",g.F,"width");this.h("selectedHeight",g.F,"height");this.h("selectedShadow",g.F,"shadow");this.h("selectedShadowBlurRadius",
g.F,"shadowBlurRadius");this.h("selectedShadowColor",g.F,"shadowColor");this.h("selectedShadowHorizontalLength",g.F,"shadowHorizontalLength");this.h("selectedShadowOpacity",g.F,"shadowOpacity");this.h("selectedShadowSpread",g.F,"shadowSpread");this.h("selectedShadowVerticalLength",g.F,"shadowVerticalLength")};e.prototype.da=function(){h.prototype.da.call(this)};return n});
define("x",["cL","hp","b","d"],function(a,b,c,d){var f=b.extend(c,function(){c.call(this);this.xc("ProgressBar")});f.Za={percent:0,backgroundColor:"#000000",barBackgroundColor:"#FFFFFF",barBackgroundColorDirection:m,barBackgroundColorRatios:m,barBorderColor:m,barBorderRadius:m,barBorderSize:m,barOpacity:m};a.defaults(f.Za,c.Za);f.prototype.oa=function(){this.Ri(f.Za)};f.prototype.Ka=function(){c.prototype.Ka.call(this);this.rd==q&&(this.rd=new d,this.rd.S({left:"0",width:"0%",height:"100%"}),this.pa(this.rd))};
f.prototype.da=function(){this.n("percent")&&(this.rd.set("width",Math.round(this.j("percent"))+"%"),this.o("percent"));this.Ua(f.NK,f.gx,[this.rd],p,p);c.prototype.da.call(this)};f.gx={barBackgroundColor:"backgroundColor",barBackgroundColorDirection:"backgroundColorDirection",barBackgroundColorRatios:"backgroundColorRatios",barBorderColor:"borderColor",barBorderRadius:"borderRadius",barBorderSize:"borderSize",barOpacity:"opacity"};f.NK=a(f.gx).keys();return f});
define("gS",["require","cL","hp","v"],function(a){var b=a("cL"),c=a("hp"),d=a("v");return{Xt:[],Zc:function(a,b,c,d){this.CX(a,b,c,d,y)},Esa:function(a,b,c,d){this.CX(a,b,c,d,p)},CX:function(a,g,k,j,h){function n(){for(var b=[],e=0;e<g.length;e++)try{b.push(a.get(g[e]))}catch(h){b.push(m),c.EI("BindingsHandler._addBinding",h)}k.apply(this,b)}b.isArray(g)||(g=[g]);var n=h?c.fo(n,this.ga):n.bind(this.ga),e=[];b.forEach(g,function(b){e.push(d.watch(a,b,n))},this);this.Xt.push({zra:e,host:a,f8:g,Z6:k});
j&&n()},vd:function(a,c,d){var j=b(this.Xt).select(function(h){return h.Z6==d&&h.host==a&&b.isEqual(h.f8,c)});b(j).forEach(function(a){b(a.zra).forEach(function(a){a.unwatch()})});this.Xt=b.difference(this.Xt,j)},Ata:function(){for(;0<this.Xt.length;){var a=b.first(this.Xt);this.vd(a.host,a.f8,a.Z6)}}}});
define("iI",["require"],function(){var a=Math.PI/180,b=180/Math.PI;return{create:function(){return{x:0,y:0,z:0,w:0}},t6:function(b,d,f){var d=d*a,b=-b*a,g=f*a,f=Math.cos(b/2),b=Math.sin(b/2),k=Math.cos(g/2),g=Math.sin(g/2),j=Math.cos(d/2),d=Math.sin(d/2),h={};h.w=f*k*j-b*g*d;h.x=f*k*d+b*g*j;h.y=b*k*j+f*g*d;h.z=f*g*j-b*k*d;return h},ZU:function(a){var d=a.x*a.y+a.z*a.w,f={};if(0.499<d)f.qa=-2*Math.atan2(a.x,a.w),f.cd=-Math.PI/2,f.pitch=0;else if(-0.499>d)f.qa=2*Math.atan2(a.x,a.w),f.cd=Math.PI/2,f.pitch=
0;else{var g=a.x*a.x,k=a.z*a.z;f.qa=-Math.atan2(2*a.y*a.w-2*a.x*a.z,1-2*a.y*a.y-2*k);f.cd=-Math.asin(2*d);f.pitch=Math.atan2(2*a.x*a.w-2*a.y*a.z,1-2*g-2*k);f.pitch=Math.min(Math.PI/2,Math.max(-Math.PI/2,f.pitch))}f.qa*=b;f.pitch*=b;f.cd*=-b;return f},qa:function(a){var d=a.x*a.y+a.z*a.w;return 0.499<d?-2*Math.atan2(a.x,a.w)*b:-0.499>d?2*Math.atan2(a.x,a.w)*b:-Math.atan2(2*a.y*a.w-2*a.x*a.z,1-2*a.y*a.y-2*a.z*a.z)*b}}});
define("iR",["require"],function(){var a={};a.degToRad=Math.PI/180;a.radToDeg=180/Math.PI;a.Vector2=function(a,c){this.x=a||0;this.y=c||0};a.Vector2.prototype={constructor:a.Vector2,set:function(a,c){this.x=a;this.y=c;return this},copy:function(a){this.x=a.x;this.y=a.y;return this}};a.Vector3=function(a,c,d){this.x=a||0;this.y=c||0;this.z=d||0};a.Vector3.prototype={constructor:a.Vector3,set:function(a,c,d){this.x=a;this.y=c;this.z=d;return this},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;return this},
length:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)},normalize:function(){var a=this.length();0!==a?this.W7(1/a):this.z=this.y=this.x=0;return this},W7:function(a){this.x*=a;this.y*=a;this.z*=a},applyQuaternion:function(a){var c=this.x,d=this.y,f=this.z,g=a.x,k=a.y,j=a.z,a=a.w,h=a*c+k*f-j*d,n=a*d+j*c-g*f,e=a*f+g*d-k*c,c=-g*c-k*d-j*f;this.x=h*a+c*-g+n*-j-e*-k;this.y=n*a+c*-k+e*-g-h*-j;this.z=e*a+c*-j+h*-k-n*-g;return this},Qma:function(a){return this.x*a.x+this.y*a.y+this.z*
a.z},Mma:function(a,c){var d=a.x,f=a.y,g=a.z,k=c.x,j=c.y,h=c.z;this.x=f*h-g*j;this.y=g*k-d*h;this.z=d*j-f*k;return this}};a.Quaternion=function(a,c,d,f){this.x=a||0;this.y=c||0;this.z=d||0;this.w=f!==m?f:1};a.Quaternion.prototype={constructor:a.Quaternion,set:function(a,c,d,f){this.x=a;this.y=c;this.z=d;this.w=f;return this},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;this.w=a.w;return this},y8:function(a,c,d){var f=Math.cos(a/2),g=Math.cos(c/2),k=Math.cos(d/2),a=Math.sin(a/2),c=Math.sin(c/
2),d=Math.sin(d/2);this.x=a*g*k+f*c*d;this.y=f*c*k-a*g*d;this.z=f*g*d-a*c*k;this.w=f*g*k+a*c*d;return this},setFromAxisAngle:function(a,c){var d=c/2,f=Math.sin(d);this.x=a.x*f;this.y=a.y*f;this.z=a.z*f;this.w=Math.cos(d);return this},multiply:function(a){return this.V7(this,a)},V7:function(a,c){var d=a.x,f=a.y,g=a.z,k=a.w,j=c.x,h=c.y,n=c.z,e=c.w;this.x=d*e+k*j+f*n-g*h;this.y=f*e+k*h+g*j-d*n;this.z=g*e+k*n+d*h-f*j;this.w=k*e-d*j-f*h-g*n;return this},inverse:function(){this.x*=-1;this.y*=-1;this.z*=
-1;this.normalize();return this},normalize:function(){var a=Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w);0===a?(this.z=this.y=this.x=0,this.w=1):(a=1/a,this.x*=a,this.y*=a,this.z*=a,this.w*=a);return this},ara:function(a,c){if(0===c)return this;if(1===c)return this.copy(a);var d=this.x,f=this.y,g=this.z,k=this.w,j=k*a.w+d*a.x+f*a.y+g*a.z;0>j?(this.w=-a.w,this.x=-a.x,this.y=-a.y,this.z=-a.z,j=-j):this.copy(a);if(1<=j)return this.w=k,this.x=d,this.y=f,this.z=g,this;var h=Math.acos(j),
n=Math.sqrt(1-j*j);if(0.001>Math.abs(n))return this.w=0.5*(k+this.w),this.x=0.5*(d+this.x),this.y=0.5*(f+this.y),this.z=0.5*(g+this.z),this;j=Math.sin((1-c)*h)/n;h=Math.sin(c*h)/n;this.w=k*j+this.w*h;this.x=d*j+this.x*h;this.y=f*j+this.y*h;this.z=g*j+this.z*h;return this},z8:function(){var b,c;return function(d,f){b===m&&(b=new a.Vector3);c=d.Qma(f)+1;1.0E-6>c?(c=0,Math.abs(d.x)>Math.abs(d.z)?b.set(-d.y,d.x,0):b.set(0,-d.z,d.y)):b.Mma(d,f);this.x=b.x;this.y=b.y;this.z=b.z;this.w=c;this.normalize();
return this}}()};return a});
define("du",["require","jq","bL","dZ","iR"],function(a){function b(){n||(n=p,o=new h.Vector3(0,0,1),s=new h.Quaternion,t=new h.Quaternion(-Math.sqrt(0.5),0,0,Math.sqrt(0.5)),u=new h.Quaternion,d(),window.addEventListener("orientationchange",d,y),window.addEventListener("deviceorientation",f,y),c())}function c(){if(v&&!(l===m||r===m)){v=y;var a=h.degToRad*r;u.y8(h.degToRad*l.beta,h.degToRad*l.alpha,-(h.degToRad*l.gamma));u.multiply(t);u.multiply(s.setFromAxisAngle(o,-a));x||(w++,5<=w&&(x=p,e.trigger(new k(g.Mb))));
e.trigger(new k(g.U))}}function d(){r=window.orientation||0;v=p;c()}function f(a){l=a;v=p;c()}var g=a("jq"),k=a("bL"),j=a("dZ"),h=a("iR"),n=y,e=new j,l,r,o,s,t,u,v,x=y,w=0;b.prototype.em=function(){c();return u};b.prototype.bind=function(){e.bind.apply(e,arguments)};b.prototype.unbind=function(){e.unbind.apply(e,arguments)};b.prototype.stop=function(){window.removeEventListener("orientationchange",d,y);window.removeEventListener("deviceorientation",f,y)};return b});
define("fO","require,jq,bL,dZ,t,iR".split(","),function(a){function b(a){this.Noa=a;this.VS=new f;this.cI=new f;this.gU=new f;this.gt=new n.Quaternion;this.fU=new n.Quaternion;this.R5=new n.Quaternion;this.G7=y;this.eI=new n.Vector3;this.ST=new n.Vector3;this.Xna=new n.Quaternion}function c(){this.S7=y;this.R7=0;this.hB=new n.Vector3;this.vI=new n.Vector3;this.filter=new b(l);this.gpa=new d(r);this.qw=o.qw();this.ui=o.ui();o.gT();this.LT=o.woa();this.gI=new n.Quaternion;o.ui()?this.gI.setFromAxisAngle(new n.Vector3(1,
0,0),Math.PI/2):this.gI.setFromAxisAngle(new n.Vector3(1,0,0),-Math.PI/2);this.GT=new n.Quaternion;this.Iw=new n.Quaternion;this.Xoa=new n.Quaternion;this.Xoa.setFromAxisAngle(new n.Vector3(0,0,1),-window.orientation*Math.PI/180);this.R8();o.Aoa()&&this.gI.multiply(this.GT);this.n8=new n.Quaternion;this.qw=o.qw();this.ui=o.ui();this.voa=o.gT()>=66;this.st=this.st.bind(this);this.RB=this.RB.bind(this);this.QB=this.QB.bind(this);screen&&screen.orientation&&screen.orientation.addEventListener?screen.orientation.addEventListener("change",
this.st):window.addEventListener("orientationchange",this.st);this.LT?window.addEventListener("deviceorientation",this.RB):window.addEventListener("devicemotion",this.QB)}function d(a){this.hpa=a;this.MI=new n.Quaternion;this.xw=q;this.l6=new n.Quaternion;this.SB=new n.Quaternion}function f(a,b){this.set(a,b)}var g=a("jq"),k=a("bL"),j=a("dZ"),h=a("t"),n=a("iR"),e=new j,l=0.98,r=0.04;b.prototype.ema=function(a,b){this.VS.set(a,b)};b.prototype.gma=function(a,b){this.cI.set(a,b);o.Joa(b-this.gU.dJ)&&
this.Epa();this.gU.copy(this.cI)};b.prototype.Epa=function(){if(this.G7){var a=this.Yna(this.cI.sample,this.cI.dJ-this.gU.dJ);this.Xna.multiply(a);this.gt.copy(this.fU);this.gt.multiply(a);a=new n.Quaternion;a.copy(this.gt);a.inverse();this.eI.set(0,0,-1);this.eI.applyQuaternion(a);this.eI.normalize();this.ST.copy(this.VS.sample);this.ST.normalize();a=new n.Quaternion;a.z8(this.eI,this.ST);a.inverse();var b=new n.Quaternion;b.copy(this.gt);b.multiply(a);this.gt.ara(b,1-this.Noa);this.fU.copy(this.gt)}else{this.R5=
this.cma(this.VS.sample);this.fU.copy(this.R5);this.G7=p}};b.prototype.em=P("gt");b.prototype.cma=function(a){var b=new n.Vector3;b.copy(a);b.normalize();a=new n.Quaternion;a.z8(new n.Vector3(0,0,-1),b);a.inverse();return a};b.prototype.Yna=function(a,b){var c=new n.Quaternion,e=new n.Vector3;e.copy(a);e.normalize();c.setFromAxisAngle(e,a.length()*b);return c};c.prototype.stop=function(){screen&&screen.orientation&&screen.orientation.addEventListener&&screen.orientation.removeEventListener("change",
this.st);window.removeEventListener("orientationchange",this.st);window.removeEventListener("deviceorientation",this.RB);window.removeEventListener("devicemotion",this.QB)};c.prototype.hw=R(q);c.prototype.em=function(){var a=m;if(this.LT&&this.ZD){this.n6=this.n6||function(){var a=(new n.Quaternion).setFromAxisAngle(new n.Vector3(0,0,-1),0),b=new n.Quaternion;this.KG=="landscape-secondary"?b.setFromAxisAngle(new n.Vector3(0,1,0),Math.PI/-2):b.setFromAxisAngle(new n.Vector3(0,1,0),Math.PI/2);return a.multiply(b)}();
this.m6=this.m6||function(){var a=new n.Quaternion;a.setFromAxisAngle(new n.Vector3(1,0,0),-Math.PI/2);return a}();var a=this.ZD,b=new n.Quaternion;b.copy(a);b.multiply(this.m6);b.multiply(this.n8);b.multiply(this.Iw);b.V7(this.n6,b);if(this.Sta){b.x=0;b.z=0;b.normalize()}this.II[0]=b.x;this.II[1]=b.y;this.II[2]=b.z;this.II[3]=b.w;return this.II}a=this.gpa.Nna(this.filter.em(),this.vI,this.xw);b=new n.Quaternion;b.copy(this.gI);b.multiply(this.n8);b.multiply(a);b.multiply(this.Iw);return b};c.prototype.RB=
function(a){this.ZD=this.ZD||new n.Quaternion;var b=a.alpha,c=a.Ksa,a=a.Ysa,b=(b||0)*Math.PI/180,c=(c||0)*Math.PI/180,a=(a||0)*Math.PI/180;this.ZD.y8(c,b,-a)};c.prototype.QB=function(a){var b=a.rotationRate;if(b){var c=a.accelerationIncludingGravity,a=a.timeStamp/1E3;this.qw&&(a=a/1E3);var h=a-this.xw;if(h<=o.LV||h>o.KV)this.xw=a;else{this.hB.set(-c.x,-c.y,-c.z);this.vI.set(b.alpha,b.beta,b.gamma);(this.ui||this.qw||this.voa)&&this.vI.W7(Math.PI/180);this.filter.ema(this.hB,a);this.filter.gma(this.vI,
a);this.xw=a;if(!this.S7){this.R7++;if(this.R7>=5){this.S7=p;e.trigger(new k(g.Mb))}}this.KG!=this.w6()&&this.st();e.trigger(new k(g.U))}}else{this.LT=p;window.addEventListener("deviceorientation",this.RB);window.removeEventListener("devicemotion",this.QB)}};c.prototype.bind=function(){e.bind.apply(e,arguments)};c.prototype.unbind=function(){e.unbind.apply(e,arguments)};c.prototype.st=function(){this.R8();e.trigger(new k(g.U))};c.prototype.R8=function(){this.Iw.set(0,0,0,1);this.KG=this.w6();switch(this.KG){case "landscape-primary":this.Iw.setFromAxisAngle(new n.Vector3(0,
0,1),-Math.PI/2);break;case "landscape-secondary":this.Iw.setFromAxisAngle(new n.Vector3(0,0,1),Math.PI/2)}this.GT.copy(this.Iw);this.GT.inverse()};c.prototype.w6=function(){var a=screen.orientation&&screen.orientation.type;if(!a)switch(window.orientation){case 0:a="portrait-primary";break;case 90:a="landscape-primary";break;case -90:a="landscape-secondary";break;case 180:a="portrait-secondary"}a=="landscape-primary"&&(this.hB.z>4.9||this.hB.z<-4.9?a=this.KG||a:this.hB.x>0&&(a="landscape-secondary"));
return a};d.prototype.Nna=function(a,b,c){if(!this.xw){this.MI.copy(a);this.xw=c;return a}c=new n.Vector3;c.copy(b);c.normalize();b=b.length();if(b<n.degToRad*20){this.SB.copy(a);this.MI.copy(a);return this.SB}this.l6.setFromAxisAngle(c,b*this.hpa);this.SB.copy(this.MI);this.SB.multiply(this.l6);this.MI.copy(a);return this.SB};f.prototype.set=function(a,b){this.sample=a;this.dJ=b};f.prototype.copy=function(a){this.set(a.sample,a.dJ)};var o={LV:0.001,KV:1,Joa:function(a){return isNaN(a)||a<=o.LV||
a>o.KV?y:p}};o.ui=function(){var a=/iPad|iPhone|iPod/.test(navigator.platform);return function(){return a}}();o.jta=function(){var a=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);return function(){return a}}();o.qw=function(){var a=navigator.userAgent.indexOf("Firefox")!==-1&&navigator.userAgent.indexOf("Android")!==-1;return function(){return a}}();o.gT=function(){var a=navigator.userAgent.match(/.*Chrome\/([0-9]+)/),b=a?parseInt(a[1],10):q;return function(){return b}}();o.woa=function(){var a=
y;if(o.gT()===65){var b=navigator.userAgent.match(/.*Chrome\/([0-9\.]*)/);if(b)var b=b[1].split("."),c=b[3],a=parseInt(b[2],10)===3325&&parseInt(c,10)<148}else"getVRDisplays"in navigator&&h.browser()==h.Ei&&h.uB()&&h.jd()==h.DC&&(a=p);return function(){return a}}();o.Aoa=function(){return window.orientation==90||window.orientation==-90};return c});
define("iH","require,hp,jq,bL,dZ,iI,t,du,fO,iR,hS".split(","),function(a){function b(){function a(){r=p;e.trigger(new d(c.U))}function b(){var e;C&&(g||!l)?e=s:l&&(e=f);if(o!=e){if(o){o.unbind(c.U,a);o.stop()}if(o=e){o.bind(c.U,a,this,p);a()}}}var g=k.ud()==k.Hi||n.ph("debug")&&n.$n("sensor")=="deviceorientation",f=new h,l=y;f.bind(c.Mb,function(){l=p;b()},this,p);var s=new j,C=y;s.bind(c.Mb,function(){C=p;b()},this,p)}a("hp");var c=a("jq"),d=a("bL"),f=a("dZ"),g=a("iI"),k=a("t"),j=a("du"),h=a("fO");
a("iR");var n=a("hS"),e=new f,l={},r=y,o;l.lU=function(a){if(k.ud()==k.Hi&&l.disabled&&window.DeviceMotionEvent&&DeviceMotionEvent.requestPermission){var c=y,e=y;DeviceOrientationEvent.requestPermission().then(function(a){if(a==="granted"){e=p;g()}});DeviceMotionEvent.requestPermission().then(function(a){if(a==="granted"){c=p;g()}});var g=function(){if(l.disabled&&c&&e){l.disabled=y;b();a&&a()}}}};l.bind=function(a,b){e.bind(c.U,a,b)};l.unbind=function(a,b){e.unbind(c.U,a,b)};l.Woa=function(){return r};
l.em=function(){r=y;if(o){var a=o.em(),a=g.ZU(a);return{yaw:a.qa,pitch:a.pitch,roll:a.cd}}return{yaw:0,pitch:0,roll:0}};if(k.ud()==k.JK||k.ud()==k.JV){l.available=y;l.disabled=y}else if(k.ud()==k.fV&&k.browser()==k.Ei&&window.location.protocol!="https:"&&window.location.hostname!="localhost"){l.available=p;l.disabled=p}else if(k.ud()==k.Hi){l.available=p;l.disabled=p;if(k.HB()<13||!window.DeviceMotionEvent||!DeviceMotionEvent.requestPermission){var s=function(){window.removeEventListener("deviceorientation",
s,y);l.disabled=y;b()};window.addEventListener("deviceorientation",s,y)}else l.lU()}else{l.available=window.DeviceMotionEvent!=m;l.disabled=y}l.available&&!l.disabled&&b();return l});define("ie",["require"],function(){return{fsa:"single",FRONT:"front",ha:"left",BACK:"back",Ea:"right",Ya:"top",Xa:"bottom"}});
define("ew",["require","ie"],function(a){var a=a("ie"),b={},c=Math.PI/180,d=new THREE.Matrix4;new THREE.Matrix4;var f=[new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3];b.Gf=Math.pow(10,3);b.xJ=0.5*b.Gf;b.l$=b.Gf;b.FW=[a.FRONT,a.Ea,a.BACK,a.ha,a.Ya,a.Xa];b.h6=function(a,c){for(var d=b.Gf,h=b.xJ,f=a*c,e=this.Lo(),l=[],r=0,o=6*f;r<o;r++)l.push(r);var r=[],s=f;r.push(this.Rt(e,a,c,-h,+h,-h,+d,0,-d,0,l.slice(0,s)));o=s;s+=f;r.push(this.Rt(e,a,
c,+h,+h,-h,0,+d,-d,0,l.slice(o,s)));o=s;s+=f;r.push(this.Rt(e,a,c,+h,+h,+h,-d,0,-d,0,l.slice(o,s)));o=s;s+=f;r.push(this.Rt(e,a,c,-h,+h,+h,0,-d,-d,0,l.slice(o,s)));o=s;s+=f;r.push(this.Rt(e,a,c,-h,+h,+h,+d,0,0,-d,l.slice(o,s)));o=s;r.push(this.Rt(e,a,c,-h,-h,-h,+d,0,0,+d,l.slice(o,s+f)));e.mergeVertices();e.computeFaceNormals();e.userData.type="cube";e.userData.o7=a;e.userData.m9=c;e.userData.cpa=r;return e};b.qB=function(){var a=this.Lo();this.IX(a,-0.5,0.5,0,1,0,0,0,-1,0,0);a.mergeVertices();a.computeFaceNormals();
a.userData.type="plane";return a};b.N8=function(a,b,c,h,d){var e=a.faceVertexUvs[0][0];e[0].x=b;e[0].y=c+d;e[1].x=b;e[1].y=c;e[2].x=b+h;e[2].y=c;e=a.faceVertexUvs[0][1];e[0].x=b;e[0].y=c+d;e[1].x=b+h;e[1].y=c;e[2].x=b+h;e[2].y=c+d;a.uvsNeedUpdate=p};b.lq=function(){return b.xJ};b.tT=function(a,b){return 2*a*Math.tan(0.5*b*c)};b.uT=function(a,b){return 2*a*Math.tan(0.5*b*c)};b.gw=function(a){return Math.max(Math.min(3.539647*a-6.669366*a*a+4.7454*a*a*a,b.xJ),0.1)};b.Lo=function(){var a=new THREE.Geometry;
a.userData={};return a};b.Rt=function(a,b,c,h,d,e,f,r,o,s,t){for(var u={},v=0,x=0;x<c;x++){u[x]={};for(var w=0;w<b;w++)this.IX(a,h+f*w/b+0*x/c,d+0*w/b+o*x/c,e+r*w/b+s*x/c,f/b,0/b,r/b,0/c,o/c,s/c,t[v]),u[x][w]=a.faces.slice(a.faces.length-2,a.faces.length),v+=1}return u};b.cta=function(a,b,c){b=0.5*b/Math.tan(0.5*c);d.copy(a);a=f[0];a.x=0;a.y=0;a.z=0;a.applyMatrix4(d);var c=Math.sqrt(a.x*a.x+a.y*a.y+a.z*a.z),h=b/a.z,n=f[1];n.x=a.x*h;n.y=a.y*h;n.z=b;return c/Math.sqrt(n.x*n.x+n.y*n.y+n.z*n.z)};b.Gna=
function(a,c,f){d.copy(c.matrixWorldInverse).multiply(f);switch(a.userData.type){case "cube":return b.xea(a,d,c.projectionMatrix);default:return b.yea(a)}};b.Bna=function(a,c,d){switch(a.userData.type){case "plane":return b.iea(a,c,d);default:return q}};b.IX=function(a,b,c,h,d,e,f,r,o,s,t){var u=a.vertices.length;a.vertices.push(new THREE.Vector3(b,c,h));a.vertices.push(new THREE.Vector3(b+r,c+o,h+s));a.vertices.push(new THREE.Vector3(b+d+r,c+e+o,h+f+s));a.vertices.push(new THREE.Vector3(b+d,c+e,
h+f));a.faces.push(new THREE.Face3(u,u+1,u+2,q,q,t));a.faceVertexUvs[0].push([new THREE.Vector2(0,1),new THREE.Vector2(0,0),new THREE.Vector2(1,0)]);a.faces.push(new THREE.Face3(u,u+2,u+3,q,q,t));a.faceVertexUvs[0].push([new THREE.Vector2(0,1),new THREE.Vector2(1,0),new THREE.Vector2(1,1)])};b.iea=function(a,b,c){var h=a.faces[0],d=a.faces[1],e=f[0],l=f[1],r=f[2];e.copy(a.vertices[h.a]).applyMatrix4(b);l.copy(a.vertices[d.c]).applyMatrix4(b);r.copy(a.vertices[h.b]).applyMatrix4(b);var b=l.x-e.x,d=
l.y-e.y,o=l.z-e.z,l=r.x-e.x,s=r.y-e.y,r=r.z-e.z,t=d*r-o*s,u=o*l-b*r,v=b*s-d*l,x=c.direction.x*t+c.direction.y*u+c.direction.z*v;if(0!=x&&(v=-(t*(c.origin.x-e.x)+u*(c.origin.y-e.y)+v*(c.origin.z-e.z))/x,!(0>=v)))return t=c.origin.x+c.direction.x*v-e.x,u=c.origin.y+c.direction.y*v-e.y,e=c.origin.z+c.direction.z*v-e.z,c=(b*t+d*u+o*e)/(b*b+d*d+o*o),e=(l*t+s*u+r*e)/(l*l+s*s+r*r),b=a.faceVertexUvs[0][0][0],d=a.faceVertexUvs[0][1][2],l=a.faceVertexUvs[0][0][1],a=b.x+(d.x-b.x)*c+(l.x-b.x)*e,b=b.y+(d.y-b.y)*
c+(l.y-b.y)*e,0>c||1<c||0>e||1<e?m:{ora:a,vra:b,materialIndex:h.materialIndex}};b.xea=function(a,c,d){var h=Array.prototype.concat.apply([],a.userData.cpa.map(function(h){return b.w_(c,d,h,a.vertices,0,0,a.userData.o7,a.userData.m9).map(function(a){return a.materialIndex})}));return b.D_(h)};b.yea=function(a){a=a.faces.map(function(a){return a.materialIndex});return b.D_(a)};b.D_=function(a){var b={};a.forEach(function(a){b[a]=p});var a=[],c;for(c in b)a.push(c);return a};b.w_=function(a,c,d,h,f,
e,l,r){var o=[];if(b.vka(a,c,h[d[e][f][0].a],h[d[e+r-1][f][0].b],h[d[e+r-1][f+l-1][0].c],h[d[e][f+l-1][1].c]))if(1==l&&1==r)o.push(d[e][f][0]);else{e=1<r?[e,e+Math.ceil(0.5*r),e+r]:[e,e+r];f=1<l?[f,f+Math.ceil(0.5*l),f+l]:[f,f+l];for(l=1;l<e.length;l++)for(var r=e[l-1],s=e[l]-r,t=1;t<f.length;t++)var u=f[t-1],o=o.concat(b.w_(a,c,d,h,u,r,f[t]-u,s))}return o};b.vka=function(a,b,c,h,d,e){var l=[q,q,q,q,q];f[0].copy(c).applyMatrix4(a);f[1].copy(h).applyMatrix4(a);f[2].copy(d).applyMatrix4(a);f[3].copy(e).applyMatrix4(a);
c=0;h=4;for(a=0;4>a;a++){var d=f[(a+3)%4],e=f[a],r=f[(a+1)%4];if(0>=e.z)l[c++]=e;else{if(0>=d.z){var o=f[h++],s=d.z/(d.z-e.z);o.x=d.x+(e.x-d.x)*s;o.y=d.y+(e.y-d.y)*s;o.z=-1.0E-5;l[c++]=o}0>=r.z&&(o=f[h++],s=e.z/(e.z-r.z),o.x=e.x+(r.x-e.x)*s,o.y=e.y+(r.y-e.y)*s,o.z=-1.0E-5,l[c++]=o)}}if(2<c){for(a=0;a<c;a++)l[a].applyMatrix4(b);a=0;for(b=c-2;a<b;a++)if(c=l[a],h=l[a+1],d=l[a+2],!(1<c.x&&1<h.x&&1<d.x||-1>c.x&&-1>h.x&&-1>d.x||1<c.y&&1<h.y&&1<d.y||-1>c.y&&-1>h.y&&-1>d.y))return p}return y};b.TS=function(a,
d,f,h,n){for(var e=a*c,l=0.5*-e+0.5*Math.PI,r=d*c,o=0.5*(Math.PI-r)-f*c,s=0.5*b.l$,t=64/Math.PI,u=Math.max(2,Math.ceil(e/h*t)),t=Math.max(2,Math.ceil(r/n*t)),v=h*u,x=n*t,w=this.Lo(),z=0,C=[],B=0;B<=x;B++){for(var G=[],A=o+B*r/x,F=0;F<=v;F++){var J=-(l+F*e/v);w.vertices.push(new THREE.Vector3(-s*Math.cos(J)*Math.sin(A),+s*Math.cos(A),+s*Math.sin(J)*Math.sin(A)));G.push(z++)}C.push(G)}for(l=e=0;l<n;l++){r=l*t;for(o=0;o<h;o++){s=o*u;for(B=0;B<t;B++){v=1-B/t;x=1-(B+1)/t;for(F=0;F<u;F++){var z=F/u,G=(F+
1)/u,A=C[r+B][s+F],J=C[r+B+1][s+F+1],I=C[r+B][s+F+1];w.faces.push(new THREE.Face3(A,C[r+B+1][s+F],J,q,q,e));w.faceVertexUvs[0].push([new THREE.Vector2(z,v),new THREE.Vector2(z,x),new THREE.Vector2(G,x)]);w.faces.push(new THREE.Face3(A,J,I,q,q,e));w.faceVertexUvs[0].push([new THREE.Vector2(z,v),new THREE.Vector2(G,x),new THREE.Vector2(G,v)])}}e++}}w.mergeVertices();w.computeFaceNormals();w.userData.type="sphere";w.userData.Uc=a;w.userData.Xk=d;w.userData.pitch=f;w.userData.o7=h;w.userData.m9=n;return w};
return b});
define("by",["require"],function(){return{Lq:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAckAAACACAMAAABXwWJTAAAAYFBMVEUAAACAgICAgICAgIDzbUSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTz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GXcMY6LcbnnFa7aeS+i5MYfyTG212WcXJq5C9LcZnfn9xl3CvdkTs74QTTXj/nrO/sjjyB3MS9ZO8xy7sBmnL63ERT6tBx0ekwAU046xyMvI9ccy0upyZeybetQYcovyXXhNMqwdNzwOlqh76adaxAT+6tXU5NHv9C7VCL1Ujfi8hPM4YxnFkMayT1b6sd0EmNBGj9T8jqrXQRoQ6IayTqsrgWRHxhy5JfjMuVH9tOOMW4Yc3rxzcbFzFt2U5q+1dq+/greUgWHSa1faXT9TDaSelKvWNa+iZiXO3VANq0V4PXis69Wm9gak8Kr1WdeO6OvTc6GHCKF+3ZY3T9PryofS9VpoSKiQehU+MfPeMWoAd6xmC6PjW98Rag9MbZTXQSFxrNALCszgDCfjwB8NFZB8Ksg7DndDaZ6UDJTEdDkNdJd7PMrh4edxxEdHaFZcN5GTO6/1btXbVhIIqiKKhNm5RJ4f//yIixLgtxjY9Ho3GVNMtHeWCY/f1Et5WV23FH5xco3EWuociHC9DXd66ueQu9PnKrO1dPltmvs6HXpiJ/kWcTCf1xh35hpDt0pMOEjtJEKzA3tcgvpHypm/5KWxMxM1ITUWRoIqDaD1Mn2w9kaFwKbY1LUHvj4sEG0/+G1vLsryxqeazMXY2AqJolkVS57aNtb5asjCb03GZt2PPrXZuVezBqBWH71FODBg4NGhLazY5eb+20YMRger5HxfinKeTyFptCaGgnab2dHCOFuNHs6shgP2pEpanK1GB21NaPWtgsMnNlXEHs6+b38Wx+d5CIzGafSj3c1jaLm2fa5qxih+wM7gBLRE6aVGNbOn5ww8tgNqkS+R0esqPJJ66bxpZb9NDK20HiomlssWxf1hu70bS2Bjve0v2mn234zs0miTV//gHyyprZmiIc9wAAAABJRU5ErkJggg==",
w$:115,lsa:117}});
define("iu","require,jquery.mod,hp,jq,bL,dZ,t".split(","),function(a){var b=a("jquery.mod"),c=a("hp"),d=a("jq"),f=a("bL"),g=a("dZ"),a=a("t");if(a.jd()!=a.Lw){var k=function(a){return a.requestFullscreen||a.msRequestFullscreen||a.mozRequestFullScreen||a.webkitRequestFullscreen},j=function(){return document.exitFullscreen||document.msExitFullscreen||document.mozCancelFullScreen||document.webkitExitFullscreen},h=document.createElement("div");if(a=!(k(h)||j())){var n;try{n=window.self===window.top}catch(e){n=
y}a=!n}if(a){var l=c.extend(g,function(a){g.call(this);this.v=a}),r=p;l.BU=function(a){r=a=="out_of_frame"};l.prototype.available=function(){return r};l.prototype.nh=function(){this.toggle()};l.prototype.Hd=D();l.prototype.toggle=function(){r&&window.open(window.self.location.href,"_blank")};l.prototype.enabled=function(){return l.enabled()};l.enabled=R(y);l.Xl=R(q);l.Hd=D();return l}l=c.extend(g,function(a){g.call(this);this.v=a;this.Fn=k(a);this.jba=j();this.V=this.CN();var c=this;b(document).bind("msfullscreenchange webkitfullscreenchange mozfullscreenchange fullscreenchange",
function(){c.yR()});b(window).bind("resize",function(){c.yR()})});l.BU=D();l.prototype.available=function(){return!(!k(this.v||h)&&!j())};l.prototype.nh=function(){this.enabled()||this.toggle()};l.prototype.Hd=function(){this.enabled()&&this.toggle()};l.prototype.toggle=function(){this.enabled()?this.jba.call(document):this.Fn.call(this.v);this.yR()};l.prototype.enabled=function(){return this.V&&this.CN()};l.prototype.CN=function(){return this.v===l.Xl()};l.prototype.yR=function(){var a=this.CN();
if(this.V!=a){this.V=a;this.trigger(new f(d.U))}};l.enabled=function(){return!!l.Xl()};l.Xl=function(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement};l.Hd=function(){l.enabled()&&j().call(document)}}else{l=c.extend(g,function(a){g.call(this);this.v=a});l.prototype.available=R(p);l.prototype.nh=function(){this.enabled()||this.toggle()};l.prototype.Hd=function(){this.enabled()&&this.toggle()};l.prototype.toggle=function(){if(this.enabled()){o();
l.Ro=q}else{l.Ro&&l.Ro.Hd();o();var a=s();a.push("fullscreen");t(a);l.Ro=this}this.trigger(new f(d.U))};l.prototype.enabled=function(){return this==l.Ro};l.enabled=function(){return!!l.Xl()};l.Xl=function(){return l.Ro&&l.Ro.v};l.Hd=function(){l.enabled()&&l.Ro.Hd()};l.BU=D();l.Ro=q;var o=function(){for(var a=s(),b=[],c=0;c<a.length;c++)a[c]!="fullscreen"&&b.push(a[c]);t(b)},s=function(){var a=window.location.hash.substring(1);return a.length?a.split("&"):[]},t=function(a){window.location.hash="#"+
(a.length?a.join("&"):"")}}return l});
define("fL","require,jquery.mod,hp,jp,t,hS,jE,by,iu,cp".split(","),function(a){function b(a,b){this.Wla=a;this.Sba=b;this.wR=[];this.Jf=q;this.$z=y}var c=a("jquery.mod"),d=a("hp"),f=a("jp"),g=a("t"),k=a("hS"),j=a("jE"),h=a("by"),n=a("iu"),e=a("cp"),l="color:#000; font-family:Arial, Helvetica, sans-serif;",r="",o="border-color:#b2b2b2;",s=o,t="background-color:#009adb; border:none; box-sizing:border-box; color:#fff; cursor:pointer; font-family:Arial, Helvetica, sans-serif; text-align:center;",u="vertical-align:middle; padding:0;",
v='<img style="width:33vmin;" src="'+h.Lq+'"/>',x='<img style="width:24vmin;" src="'+h.Lq+'"/>',w='<img style="width:34vmin;" src="'+h.vJ+'"/>',z='<img style="width:34vmin;" src="'+h.I9+'"/>',C='<img style="width:24vmin;" src="'+h.j$+'"/>';if(g.Na()){t=t+" margin:0 1vmin; min-width:20vmin; padding:2.2vmin 4vmin; font-size:3.6vmin; font-weight:bold; min-width:30vmin;";l=l+" font-size:3.6vmin; line-height:4.3vmin;";r=r+" margin:5vmin 0;";o=o+" margin:5vmin 0;";s=s+" margin:3vmin 0;";u=u+" height:4vmin; margin:0 1vmin 0 0; width:4vmin;"}else t=
t+" font-size:19px; padding:17px 34px;";r=r+l;b.prototype.sM=function(){if(!this.Jf){this.Jf=c("<div/>");this.Jf.css({position:"fixed","z-index":j.P9,left:0,top:0,margin:0,padding:0,height:"100%",width:"100%","background-color":"rgba(255, 255, 255, 0.99)"});this.Jf.html(this.Sba);c(this.Jf).find("button").on("click",function(a){this.hga(c(a.currentTarget).attr("id"))}.bind(this))}};b.prototype.TQ=function(a,b){var c={},e;for(e in b)c[e]=a.css(e);this.wR.push({$el:a,css:c});a.css(b)};b.prototype.sia=
function(){for(;this.wR.length;){var a=this.wR.pop();a.$el.css(a.css)}};b.prototype.show=function(a,b,e){if(!this.$z){this.sM();this.dZ=a||D();this.tY=b||D();a=this.Lda();if(a===m){this.$z=p;var h=this,a=c(n.Xl()||document.body);if(e!==p)a.children().each(function(){h.TQ(c(this),{visibility:"hidden"})});else{this.TQ(a,{overflow:"hidden"});a.children().each(function(){h.TQ(c(this),{position:"absolute","z-index":0})})}a.append(this.Jf)}else{this.$z=y;a?this.dZ():this.tY()}}};b.prototype.hide=function(){if(this.$z){this.$z=
y;this.Jf.detach();this.sia()}};b.prototype.Lda=function(){var a=e.getItem(this.f_());if(a=="true")return p;if(a=="false")return y};b.prototype.H3=function(a){e.setItem(this.f_(),a?"true":"false")};b.prototype.f_=function(){return this.Wla+"DontDisplay:"+window.location.pathname};b.prototype.hga=function(a){var b=c("#tdvvriw_dontdisplay").is(":checked");this.hide();if(a=="tdvvriw_continue"){this.dZ();b&&this.H3(p)}else if(a=="tdvvriw_cancel"){this.tY();b&&this.H3(y)}};var a=d.extend(b,function(){var a=
['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">\n<div>',v,'<div style="'+r+'">'+f("use-cardboard-info")+"</div>",'<div><button style="'+t+'" id="tdvvriw_continue">'+f("use-cardboard")+"</button></div>","</div>",'<hr style="'+o+'">',"<div>",'<div style="'+r+'">','<div style="margin-bottom:2vmin;">'+f("samsung-internet-vr-app-info")+"</div>",'<div><button style="'+t+
'" id="tdvvriw_cancel">'+f("launch-default-browser")+"</button></div>","</div>",z,"</div>\n</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+r+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+u+'"><label for="tdvvriw_dontdisplay">'+f("dont-display-again")+"</label>","</div>"].join("\n");b.call(this,"ChromeAppInfoWindow",a)}),B=d.extend(b,function(){var a=['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">\n<div>',
v,'<div style="'+r+'">'+f("use-cardboard-info")+"</div>",'<div><button style="'+t+'" id="tdvvriw_continue">OK</button></div>',"</div>",'<hr style="'+o+'">',"<div>",'<div style="'+r+'">','<div style="margin-bottom:2vmin;">'+f("samsung-internet-vr-info")+"</div>","</div>",z,"</div>\n</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+r+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+u+'"><label for="tdvvriw_dontdisplay">'+
f("dont-display-again")+"</label>","</div>"].join("\n");b.call(this,"SamsungInternetInfoWindow",a)}),G=d.extend(b,function(){b.call(this,"SamsungInternetForGearVRInfoWindow",['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">\n<div>',z,'<div style="'+r+'">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="'+t+'" id="tdvvriw_cancel">OK</button></div>',"</div>\n</div></div>"].join("\n"))}),A=d.extend(b,function(){var a=['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">','<div style="'+r+'"></div>','<div style="text-align:center;"><button style="'+t+' box-shadow:0 0 4px rgba(0, 0, 0, 0.5);" id="tdvvriw_continue">'+f("exit-vr")+"</button></div>","</div></div>"].join("\n");
b.call(this,"ExternalVRDisplayVRInfoWindow",a)});A.prototype.sM=function(){b.prototype.sM.call(this);k.Yl("vrv")===p&&this.Jf.css({background:"none"})};var F=d.extend(b,function(){var a;a=g.browser()==g.xh?window.location.protocol!="https:"?"<div>"+f("giroscope-disabled-http")+"</div>":window.DeviceMotionEvent.requestPermission?f("giroscope-disabled-safari-request-permission").map(function(a){return"<div>"+a+"</div>"}).join("\n"):f("giroscope-disabled-safari-toggle-on"):"<div>"+f("giroscope-disabled-http")+
"</div>";a=['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">\n<div>','<div style="'+r+'">',a,"</div>",'<div><button style="'+t+'" id="tdvvriw_continue">OK</button></div>',"</div>\n</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+r+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+
u+'"><label for="tdvvriw_dontdisplay">'+f("dont-display-again")+"</label>","</div>"].join("\n");b.call(this,"GiroscopeDisabledInfoWindow",a)}),J=d.extend(b,function(){var a=['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">\n<div>',v,'<div style="'+r+'">'+f("use-cardboard-info")+'</div><div><button style="'+t+'" id="tdvvriw_continue">'+f("use-cardboard")+"</button></div>",
"</div>",'<hr style="'+o+'">',"<div>",z,'<div style="'+r+'">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="'+t+'" id="tdvvriw_cancel">Use Carmel web browser</button></div>',"</div>\n</div></div>"].join("\n");b.call(this,"CarmelInstallationPromptVRInfoWindow",a)}),I=d.extend(b,function(){var a=['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">\n<div>',
v,'<div style="'+l+' margin:2vmin 0;">'+f("cardboard-v1")+"</div>",'<div><button style="'+t+'" id="tdvvriw_cancel">'+f("use-default-cardboard")+"</button></div>","</div>",'<hr style="'+s+'">',"<div>",'<div style="'+l+' margin-bottom:2vmin;">'+f("cardboard-v2")+"</div>",'<div><button style="'+t+'" id="tdvvriw_continue">'+f("use-cardboard-v2")+"</button></div>",w,"</div>\n</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+r+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+
u+'"><label for="tdvvriw_dontdisplay">'+f("dont-display-again")+"</label>","</div>"].join("\n");b.call(this,"CardboardV2InfoWindow",a)}),K=d.extend(b,function(){var a=['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">','<div style="'+r+'"></div>','<div style="text-align:center;"><button style="'+t+'" id="tdvvriw_continue">'+f("enter-vr")+"</button></div>","</div></div>"].join("\n");
b.call(this,"EnterVRInfoWindow",a)}),L=d.extend(b,function(){b.call(this,"PreparingVRInfoWindow",['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">','<div style="'+r+'">Preparing VR...</div>',"</div></div>"].join("\n"))}),O=d.extend(b,function(){var a=['<div style="position: absolute; top: 7vmin; right:5vmin; ">',x,'</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;">',
C,'<div style="'+r+'">'+f("use-safari-for-vr")+"</div>",'<div style="text-align:center;"><button style="'+t+'" id="tdvvriw_continue">OK</button></div>',"</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+r+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+u+'"><label for="tdvvriw_dontdisplay">'+f("dont-display-again")+"</label>","</div>"].join("\n");b.call(this,"UseSafariVRInfoWindow",a)}),d=d.extend(b,function(){var a=
['<div style="position: absolute; top: 5vmin; right:5vmin;">','<img style="width:24vmin" src="'+h.Lq+'"/>','</div>\n<div style="box-sizing:border-box; padding:0 10vmin; display:table; height:100%; width:100vw;">\n<div style="vertical-align:middle; text-align:center; display:table-cell;">','<img style="width:22vmin" src="'+h.$w+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">'+f("rotate-device")+"</div>",
"</div>\n</div>"].join("\n");b.call(this,"RotateVRInfoWindow",a)}),M={};M.k$=new B;M.esa=new G;M.CV=new A;M.Gra=new J;M.Kra=new K;M.Zra=new L;M.QW=new O;M.$w=new d;M.FV=new F;M.w9=new a;M.vJ=new I;return M});define("cg",["require"],function(){return{Lq:"Cardboard",y$:"WebVR",z$:"WebXR"}});
define("eP",["require","hB","t","fo"],function(a){var b=a("hB"),c=a("t"),d=a("fo"),f={Loa:function(a){return this.OB(a)||this.J7(a)?p:y},wm:function(){var a=c.ipa();f.wm=function(){return a};return a},J7:function(a){return"string"==typeof a&&d.is(a,d.IK)?p:y},ita:function(a){return this.IT(a)||this.JT(a)?p:y},JT:function(a){return"string"==typeof a&&(d.is(a,d.N9)||d.LB(a,d.O9))?p:y},OB:function(a){return!!a&&!!a.tagName&&"VIDEO"==a.tagName},D7:function(a){return"string"==typeof a&&d.is(a,d.Nj)||this.OB(a)&&
d.is(a.currentSrc,d.Nj)?p:y},Koa:function(a){return"string"==typeof a&&d.is(a,d.IK)||this.OB(a)&&d.is(a.currentSrc,d.IK)?p:y},IT:function(a){return!!a&&!!a.tagName&&"IMG"==a.tagName},A7:function(a){return!!a&&!!a.tagName&&"CANVAS"==a.tagName},M6:function(a){return Math.pow(2,Math.round(Math.log(a)/Math.LN2))},I7:function(a){return 0!==a&&0===(a&a-1)},xoa:function(){return c.browser()==c.$k},Doa:function(){return c.browser()==c.Iq},ui:function(){return c.ud()==c.Hi},wra:function(a){if(k||f.Doa())return p;
if(f.ui())if(f.D7(a)){if(!b.t7||14<=c.HB())return p}else if(12>c.HB()||a&&a.videoWidth&&a.videoHeight&&589824>=a.videoWidth*a.videoHeight)return p;return y},ioa:function(){return f.xoa()||f.ui()},hoa:function(){return f.ui()&&b.t7&&11>c.HB()}},g=y;f.v7=function(){g=y};f.uoa=function(){return g};f.Rpa=function(){g=p};var k=y;f.epa=function(){f.ui()&&(k=p)};f.g6=function(a){var b={alpha:p,depth:p,stencil:p,antialias:y,premultipliedAlpha:p,preserveDrawingBuffer:y,powerPreference:"default",failIfMajorPerformanceCaveat:y,
xrCompatible:p};return a.getContext("webgl",b)||a.getContext("experimental-webgl",b)};return f});
define("cE","require,hp,jquery.mod,cL,jp,by,jq,t,d,iG,iT".split(","),function(a){function b(){this.Yc=y;this.tA=q;this.ca=this.T=100;this.mO=this.cf=m;this.nO=100;this.v=document.createElement("div");this.v.style.opacity=0;this.v.style.display="none";this.v.style.Kta="opacity 0.3s";this.v.addEventListener("transitionend",this.HR.bind(this));this.Ec=document.createElement("div");this.t8(p);this.Ec.style.position="absolute";this.Ec.style.left=0;this.Ec.style.top=0;this.Ec.style.right=0;this.Ec.style.bottom=
0;this.v.appendChild(this.Ec);this.gb=document.createElement("img");this.gb.style.cursor="pointer";this.gb.style.position="absolute";this.gb.style.left="50%";this.gb.style.top="50%";this.gb.style.transform="translate(-50%, -50%)";this.v.appendChild(this.gb);this.Lt=f(this.v)}function c(a,b){this.reason=a;this.Qn=b}var d=a("hp"),f=a("jquery.mod");a("cL");a("jp");var g=a("by");EventName=a("jq");Device=a("t");UIComponent=a("d");FadeInEffect=a("iG");FadeOutEffect=a("iT");var k=d.extend(UIComponent,function(){UIComponent.call(this);
this.xc("UserInteractionWindow");this.ib=q;this.Cl=[];var a=new FadeInEffect;a.set("duration",500);a.set("easing","cubic_in");var b=new FadeOutEffect;b.set("duration",500);b.set("easing","cubic_out");this.S({contentOpaque:p,left:0,top:0,right:0,bottom:0,hideEffect:b,showEffect:a,visible:y});this.bind(EventName.ub,this.rS,this,p);this.bind(EventName.W,this.Pla,this,p)});k.prototype.rS=function(){this.ib&&this.ib.setSize(this.td(),this.sd())};k.prototype.Pla=function(){var a=this.Cl.slice();this.Cl=
[];this.CH();a.forEach(function(a){a.Qn.call(a.context)})};k.prototype.Ka=function(){UIComponent.prototype.Ka.call(this);if(!this.ib){this.ib=new b;this.ib.setSize(this.td(),this.sd());this.ib.We(p);this.Pa().append(this.ib.fb().css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden"}));this.CH()}};k.prototype.Qj=function(){UIComponent.prototype.Qj.call(this);this.getParent().bind(EventName.ub,this.rS,this,p);k.aaa(this)};k.prototype.ei=function(){this.getParent().unbind(EventName.ub,
this.rS,this,p);UIComponent.prototype.ei.call(this);k.dia(this)};k.prototype.Apa=function(a){this.Fn(h,a)};k.prototype.mU=function(a){this.Fn(j,a)};k.prototype.Fn=function(a,b){this.Cl.push(new c(a,b));this.Cl.sort(function(a,b){return n[a.reason]-n[b.reason]});this.CH()};k.prototype.xma=function(a){this.cancel(h,a)};k.prototype.vma=function(){this.cancel(j,m)};k.prototype.cancel=function(a,b){var c=this.qea(a,b);c>=0&&this.jia(c)};k.prototype.iY=function(){this.nD(p)};k.prototype.uD=function(){this.nD(y)};
k.prototype.qea=function(a,b){for(var c=0;c<this.Cl.length;c++){var h=this.Cl[c];if(h.reason==a&&h.Qn==b)return c}return-1};k.prototype.CH=function(){if(this.ib){var a=this.zea();if(a){switch(a.reason){case j:this.ib.CU(b.HV);break;case h:this.ib.CU(b.hK)}this.set("visible",p)}else this.set("visible",y)}};k.prototype.jia=function(a){this.Cl.splice(a,1);a==this.Cl.length&&this.CH()};k.prototype.zea=function(){return this.Cl.length>0?this.Cl[0]:q};var j="vr",h="play",n={};n[j]=0;n[h]=1;b.prototype.fb=
P("Lt");b.prototype.setSize=function(a,b){if(this.T!==a||this.ca!==b){this.T=a;this.ca=b;this.FH()}};b.prototype.t8=function(a){this.Ec.style.hasOwnProperty("backdropFilter")?this.Ec.style.backdropFilter=a?"blur(8px)":"none":this.Ec.style.backgroundColor=a?"rgba(0, 0, 0, 0.6)":"none"};b.prototype.We=function(a){if(this.Yc!=a){this.Yc=a;if(this.tA){clearTimeout(this.tA);this.tA=q}if(this.Yc){this.v.style.display="block";this.v.style.opacity=0;this.tA=setTimeout(function(){this.tA=q;this.v.style.opacity=
1}.bind(this),30)}else this.v.style.opacity=0}};b.prototype.CU=function(a){if(this.cf!=a){this.cf=a;this.sla()}};b.prototype.HR=function(){if(!this.Yc)this.v.style.display="none"};b.prototype.sla=function(){switch(this.cf){case b.hK:this.mO=g.wo;this.nO=g.f$;break;case b.HV:this.mO=g.u$;this.nO=g.w$}this.gb.src=this.mO;this.FH()};b.prototype.FH=function(){if(Device.Na()){this.gb.style.maxWidth=Math.round(this.T*0.5)+"px";this.gb.style.width="20vmin"}else{this.gb.style.maxWidth=Math.round(this.T*0.33)+
"px";this.gb.style.width=this.nO+"px"}};b.hK="play";b.HV="vr";k.kW=b;k.Fc=[];k.OP=[];k.aaa=function(a){k.Fc.push(a);k.OP.forEach(function(b){k.U_(a,b)});k.OP=[]};k.dia=function(a){k.Fc.splice(k.Fc.indexOf(a),1)};k.ready=function(){return k.Fc.length>0};k.mU=function(a){k.Fc.length?k.Fc.forEach(function(b){k.U_(b,a)}):k.OP.push(a)};k.U_=function(a,b){a.mU(function(){k.Fc.forEach(function(b){b!=a&&b.vma()});b()})};return k});
define("ji",["require"],function(){var a={Gi:{}};a.Gi.NONE="none";a.Gi.ha="left";a.Gi.Ea="right";a.x$=function(){this.y=this.x=0;this.height=this.width=1};a.RW=function(){this.eye=a.Gi.NONE;this.viewport=new a.x$;this.position=new THREE.Vector3;this.orientation=new THREE.Quaternion;this.projectionMatrix=new THREE.Matrix4};a.H9=function(){this.position=new THREE.Vector3;this.orientation=new THREE.Quaternion;this.views=[];this.lI=[]};a.S9=function(){this.sB=q;this.vj=200;this.qi=100;this.iI=1};return a});
define("cH",["require"],function(){return{MC:"gaze",gK:"gaze_click"}});
define("eE","require,hp,jq,eP,dZ,cE,ji,t,fL,hS,cH".split(","),function(a){var b=a("hp"),c=a("jq"),d=a("eP"),f=a("dZ"),g=a("cE"),k=a("ji"),j=a("t"),h=a("fL"),n=a("hS"),e=a("cH"),a=b.extend(f,function(){f.call(this);this.w3=e.MC;this.Ds=[];this.Rg=new k.H9;this.yf=new k.RW;this.yf.eye=k.Gi.ha;this.Af=new k.RW;this.Af.eye=k.Gi.Ea;this.Rg.views=[this.yf,this.Af];this.nc=new k.S9;this.bind(c.U,this.xF,this,y)});a.prototype.Rk=D();a.prototype.nh=D();a.prototype.Hd=D();a.prototype.qI=P("nc");a.prototype.bm=
P("Rg");a.prototype.Ba=D();a.prototype.isPresenting=D();a.prototype.pf=D();a.prototype.uI=P("w3");a.prototype.mt=D();a.prototype.Lv=function(a){this.Ds.indexOf(a)<0&&this.Ds.push(a)};a.prototype.QI=function(a){this.Ds.splice(this.Ds.indexOf(a),1);this.mt()==a&&this.Hd()};a.prototype.nea=function(){return this.Ds.length>0?this.Ds[this.Ds.length-1]:q};a.prototype.NQ=function(){var a=this.nea();if(a==q){a=document.createElement("canvas");a=d.g6(a);this.Lv(a)}return a};a.prototype.zG=function(a){g.mU(a)};
a.prototype.hR=function(a){if(j.jd()==j.Gt){this.zQ();h.w9.show(a,function(){this.EX()}.bind(this))}else j.uB()&&j.jd()==j.EC?h.k$.show(a):j.jd()==j.AC?h.QW.show(a):j.jd()==j.BC?h.QW.show():a()};a.prototype.OQ=function(a){var b=function(b){this.w3=b;a()}.bind(this);!j.Na()||j.Ue()?b(e.MC):n.$n("cardboard_version")=="1"?b(e.MC):n.$n("cardboard_version")=="2"?b(e.gK):h.vJ.show(function(){b(e.gK)}.bind(this),function(){b(e.MC)}.bind(this))};a.prototype.xF=function(){j.Na()||(this.isPresenting()?h.CV.show(this.Hd.bind(this)):
h.CV.hide())};a.prototype.EX=function(){this.zQ();var a=this.I_();a.push("vr");this.PX(a)};a.prototype.zQ=function(){this.PX(this.I_().filter(function(a){return a!="vr"}))};a.prototype.I_=function(){var a=window.location.hash.substring(1);return a.length?a.split("&"):[]};a.prototype.PX=function(a){window.location.hash="#"+(a.length?a.join("&"):"")};return a});
define("r",["require","jquery.mod","iu"],function(a){function b(){e.get(0)==document.body&&k.height(window.innerHeight)}function c(a,b){var c={},e;for(e in b)c[e]=a.css(e);l.push({$el:a,css:c});a.css(b)}function d(a){this.v=a}var f=a("jquery.mod"),g=a("iu");d.prototype.nh=function(){this.enabled()||this.toggle()};d.prototype.Hd=function(){this.enabled()&&this.toggle()};d.prototype.toggle=function(){this.enabled()?d.cancel():d.km(this.v)};d.prototype.enabled=function(){return d.enabled(this.v)};var k=
f("<div/>").css({position:"fixed",bottom:0,left:0,height:"100vh",width:"100vw"}),j=f("<div/>"),h=q,n=q,e=q,l=[],r=q;d.km=function(a){if(a!==h){d.cancel();h=a;var l=g.Xl()||document.body;n=f(a);e=f(l);j.insertAfter(n);n.appendTo(k);e.children().each(function(){c(f(this),{visibility:"hidden"})});c(n,{position:"absolute",left:0,top:0,width:"100%",height:"100%"});l==document.body?c(k,{position:"fixed",left:0,top:"",right:"",bottom:0,height:"100vh",width:"100vw",margin:0,padding:0}):c(k,{position:"absolute",
left:0,top:0,right:"",bottom:"",width:"100%",height:"100%",margin:0,padding:0});k.appendTo(e);b();r=setInterval(b,300)}};d.cancel=function(){if(h){k.detach();n.insertBefore(j);for(j.detach();l.length;){var a=l.pop();a.$el.css(a.css)}e=n=h=q;l=[];clearInterval(r)}};d.enabled=function(a){return h==a};return d});
define("hj","require,hp,jq,bL,dZ,jp,by".split(","),function(a){var b=a("hp"),c=a("jq"),d=a("bL"),f=a("dZ"),g=a("jp"),a=a("by"),k=['<div style="position: absolute; top: 5vmin; right:5vmin;">','<img style="width:24vmin" src="'+a.Lq+'"/>','</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"),j=k+['<img style="width:22vmin" src="'+a.$w+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">'+
g("rotate-device")+"</div>"].join("\n")+"</div>\n</div>",h=k+['<img style="width:13vmin; vertical-align:middle;" src="'+a.o$+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; text-align:left; display:inline-block; vertical-align:middle; margin:5vmin 0 0 2vmin;">Please, swipe up to<br>enter Fullscreen Mode</div>'].join("\n")+"</div>\n</div>",b=b.extend(f,function(){f.call(this);this.dh=this.Oi=this.Pi=this.Fy=this.Gy=this.QO=this.RO=m;
this.JE=y;this.Np=this.aQ=this.PO=this.Wc=q;this.OZ=[];this.sO=this.Es=y;this.hb=this.hb.bind(this)});b.prototype.km=function(){if(!this.Es){this.Es=p;this.qM();window.addEventListener("resize",this.hb);document.body.appendChild(this.Wc);document.body.appendChild(this.Np);this.oka=document.body.style.overflow;document.body.style.overflow="auto";this.rz()}};b.prototype.cancel=function(){if(this.Es){this.Es=y;window.removeEventListener("resize",this.hb);document.body.style.overflow=this.oka;document.body.removeChild(this.Wc);
document.body.removeChild(this.Np);this.J3(y)}};b.prototype.enabled=P("JE");b.prototype.qM=function(){if(!this.Wc){this.Wc=this.TD({position:"fixed",top:0,left:0,zIndex:9999998},p);this.Wc.id="tdvminuictr";this.aQ=this.TD({position:"fixed",backgroundColor:"#fff",top:0,left:0,textAlign:"center"},p,j);this.Wc.appendChild(this.aQ);this.PO=this.TD({position:"fixed",backgroundColor:"#fff",top:0,left:0,textAlign:"center"},p,h);this.Wc.appendChild(this.PO);this.Np=this.TD({position:"absolute",top:0,left:0,
right:0,height:"999999999vmax",zIndex:9999999},y);this.Np.id="tdvminuiscrl";this.Np.addEventListener("touchend",this.hb)}};b.prototype.TD=function(a,b,c){var h=document.createElement("div");this.Tz(h,a);c!==m&&this.kja(h,c);b&&this.OZ.push(h);return h};b.prototype.hb=function(){[0,250,1E3,2E3].forEach(function(a){setTimeout(this.xP.bind(this),a)}.bind(this))};b.prototype.xP=function(){(this.Pi!=window.innerWidth||this.Oi!=window.innerHeight)&&this.rz()};b.prototype.rz=function(){this.Pi=window.innerWidth;
this.Oi=window.innerHeight;this.dh=this.Pi>this.Oi?"landscape":"portrait";var a;if(this.dh=="landscape"){if(this.RO&&this.QO&&this.zfa(this.RO,this.QO)&&(!this.Gy&&!this.Fy||this.Afa(this.Gy,this.Fy))){this.Gy=this.Pi;this.Fy=this.Oi}if(this.vfa()){this.Gy=this.Pi;this.Fy=this.Oi}this.RO=this.Pi;this.QO=this.Oi;a=this.Gy==this.Pi&&this.Fy==this.Oi}else a=y;this.OZ.forEach(function(a){a.style.height=this.Oi+"px";a.style.width=this.Pi+"px"}.bind(this));var b=this.Es&&this.dh=="portrait",c=this.Es&&
this.dh=="landscape"&&!a,h=this.Es&&this.dh=="landscape";this.Tz(this.Wc,{display:b||c?"block":"none"});this.Tz(this.aQ,{display:b?"block":"none"});this.Tz(this.PO,{display:c?"block":"none"});this.Tz(this.Np,{display:h?"block":"none",right:c?0:"99.9%"});this.J3(a)};b.prototype.J3=function(a){if(this.PG!=q){clearTimeout(this.PG);this.PG=q}if(this.JE!=a)this.PG=setTimeout(function(){this.PG=q;(this.JE=a)?this.trigger(new d(c.Ej)):this.trigger(new d(c.ua));this.trigger(new d(c.U))}.bind(this),a?1E3:
0)};b.prototype.vfa=function(){var a=window.innerWidth,b=window.innerHeight,c=Infinity;[[480,320],[960,640],[1136,640],[1334,750],[1920,1080],[2001,1125],[2048,1536],[2172,1125],[2208,1242],[2732,2048],[2436,1125]].forEach(function(h){c=Math.min(c,Math.abs(100-100*a*h[1]/(b*h[0])))});return c<=1?p:y};b.prototype.zfa=function(a,b){return a*window.innerHeight>b*window.innerWidth};b.prototype.Afa=function(a,b){return a*window.innerHeight>=b*window.innerWidth};b.prototype.Tz=function(a,b){for(var c in b)a.style[c]=
b[c]};b.prototype.kja=function(a,b){a.innerHTML=b};return new b});
define("ju",["require","t","da","dS"],function(a){var b=a("t");a("da");var c=a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hAAAAAQAAAABIYW5kQnJha2UgMC4xMC4yIDIwMTUwNjExMDA=",q,
0,p)};a.prototype.NT=function(){this.ab=q};var d=y,f=new a;return{enable:function(){d||(d=p,c.UH(f))},disable:function(){d&&(d=y,c.TB(f))}}}return b.browser()==b.Ei?(a=function(){this.ab=q},a.prototype.ZS=function(a){this.ab=a;this.ab.play(q,q,q,0,p)},a.prototype.NT=function(){this.ab=q},d=y,f=new a,{enable:function(){d||(d=p,c.UH(f))},disable:function(){d&&(d=y,c.TB(f))}}):{enable:D(),disable:D()}});
define("gM",["require","jquery.mod","jp","by"],function(a){function b(){this.Jf=q;this.V=y;this.hb=this.hb.bind(this);this.Oi=this.Pi=this.dh=m}var c=a("jquery.mod"),d=a("jp"),f=a("by");b.prototype.Lo=function(){this.Jf||(this.Jf=c("<div/>"),this.Jf.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.Jf.html(['<div style="position: absolute; top: 5vmin; right:5vmin;">','<img style="width:24vmin" src="'+
f.Lq+'"/>','</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="'+f.$w+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">'+d("rotate-device")+"</div>","</div>\n</div>"].join("\n")))};b.prototype.show=function(a){this.V||(this.V=p,this.Lo(),
c(a).append(this.Jf),c(window).on("resize",this.hb),this.rz())};b.prototype.hide=function(){this.V&&(this.V=y,c(window).off("resize",this.hb),this.Jf.detach())};b.prototype.hb=function(){[0,250,1E3,2E3].forEach(function(a){setTimeout(this.xP.bind(this),a)}.bind(this))};b.prototype.xP=function(){(this.Pi!=window.innerWidth||this.Oi!=window.innerHeight)&&this.rz()};b.prototype.rz=function(){this.Pi=window.innerWidth;this.Oi=window.innerHeight;this.dh=this.Pi>this.Oi?"landscape":"portrait";this.Jf.toggle("landscape"!=
this.dh)};return new b});
define("ha","require,hp,jq,bL,ew,hB,t,iH,fL,bI,cg,eE,d,S,iu,r,hj,ju,gM".split(","),function(a){var b=a("hp"),c=a("jq"),d=a("bL"),f=a("ew"),g=a("hB"),k=a("t"),j=a("iH"),h=a("fL"),n=a("bI"),e=a("cg"),l=a("eE"),r=a("d"),o=a("S"),s=a("iu"),t=a("r"),u=a("hj"),v=a("ju"),x=a("gM"),w=b.extend(l,function(){l.call(this);this.Yf=this.ee=this.Se=this.Nz=this.hn=this.Bg=this.Kb=q;this.nf=e.Lq;this.Ba=this.Ba.bind(this)});w.prototype.Rk=function(a){if(this.vy()){var b=function(b){if(this.Kb=b.length?b[0]:q){this.Kb.depthNear=
0.1;this.Kb.depthFar=2*f.Gf;this.Bg="VRFrameData"in window?new VRFrameData:q;window.addEventListener("vrdisplaypresentchange",this.hQ.bind(this),y);u.bind(c.ua,this.Hd.bind(this))}a(!!this.Kb)}.bind(this),e=window.WebVRConfig||(window.WebVRConfig={});e.BUFFER_SCALE=w.Rv;e.ALWAYS_APPEND_POLYFILL_DISPLAY=p;e.LOCK_ORIENTATION=y;n.TW.load(function(){navigator.getVRDisplays().then(b)["catch"](function(){b([])})}.bind(this))}else a(y)};w.prototype.nh=function(){!this.isPresenting()&&!this.ee&&this.Ks(function(){this.hR(function(){this.OQ(function(){if(!this.isPresenting()&&
!this.ee){this.ee=this.NQ();this.eR();this.Kb.requestPresent([{source:this.ee.canvas}]).then(function(){this.Yf=this.ee;this.ee=q;k.jd()!=k.Kw&&x.show(s.Xl());this.ev();this.bB()}.bind(this))["catch"](function(){this.ee=q;this.qA()}.bind(this))}}.bind(this))}.bind(this))}.bind(this))};w.prototype.Hd=function(){this.isPresenting()&&this.Kb.exitPresent()};w.prototype.Ba=function(a){return this.Kb.requestAnimationFrame(function(b){var c=this.ev();c&&this.at();a(b);c&&this.Kb.submitFrame()}.bind(this))};
w.prototype.isPresenting=function(){return!!this.Kb&&this.Kb.isPresenting};w.prototype.mt=P("Yf");w.prototype.pf=P("nf");w.prototype.hQ=function(){if(this.isPresenting())o.$I(this.Ba,this.Kb.cancelAnimationFrame.bind(this.Kb));else{o.oU();(this.Yf||this.ee)&&this.qA()}this.trigger(new d(c.U))};w.prototype.vy=function(){return j.available&&g.webgl&&k.Na()&&k.dt()!=k.Pw};w.prototype.Ks=function(a){if(j.disabled)h.FV.show(function(){j.lU(function(){this.Ks(a)}.bind(this))});else if(s.enabled()||!r.rw()){s.Hd();
this.zG(function(){this.Ks(a)}.bind(this))}else a()};w.prototype.eR=function(){t.km(this.ee.canvas);k.jd()==k.Lw?this.EX():v.enable();k.jd()==k.Kw&&u.km()};w.prototype.ev=function(){this.Kb.getFrameData(this.Bg);if(!this.Bg.pose||!this.Bg.pose.orientation)return y;this.hn=this.Kb.getEyeParameters("left");this.Nz=this.Kb.getEyeParameters("right");var a=this.Kb.getLayers();this.Se=a&&a.length&&a[0]||q;return!this.Se?y:p};w.prototype.bB=function(){this.nc.sB=q;this.nc.vj=this.hn.renderWidth*2;this.nc.qi=
this.hn.renderHeight;this.nc.iI=1};w.prototype.at=function(){var a=this.Bg.pose;this.Rg.orientation.fromArray(a&&a.orientation||z);this.Rg.position.fromArray(a&&a.position||C);this.GS()};w.prototype.GS=function(){this.yf.position.fromArray(this.hn.offset);this.yf.orientation.fromArray(z);this.yf.projectionMatrix.fromArray(this.Bg.leftProjectionMatrix);this.yf.viewport.x=Math.round(this.nc.vj*this.Se.leftBounds[0]);this.yf.viewport.y=Math.round(this.nc.qi*this.Se.leftBounds[1]);this.yf.viewport.width=
Math.round(this.nc.vj*this.Se.leftBounds[2]);this.yf.viewport.height=Math.round(this.nc.qi*this.Se.leftBounds[3]);this.Af.position.fromArray(this.Nz.offset);this.Af.orientation.fromArray(z);this.Af.projectionMatrix.fromArray(this.Bg.rightProjectionMatrix);this.Af.viewport.x=Math.round(this.nc.vj*this.Se.rightBounds[0]);this.Af.viewport.y=Math.round(this.nc.qi*this.Se.rightBounds[1]);this.Af.viewport.width=Math.round(this.nc.vj*this.Se.rightBounds[2]);this.Af.viewport.height=Math.round(this.nc.qi*
this.Se.rightBounds[3])};w.prototype.qA=function(){this.zQ();this.Yf=this.ee=q;u.cancel();t.cancel();v.disable();x.hide()};w.Rv=Math.min(1,1280/(Math.max(screen.width,screen.height)*window.devicePixelRatio));var z=[0,0,0,1],C=[0,0,0];return w});
define("fR","require,hp,bL,jq,t,cg,eE,ew,d,S,r".split(","),function(a){var b=a("hp"),c=a("bL"),d=a("jq"),f=a("t"),g=a("cg"),k=a("eE"),j=a("ew"),h=a("d"),n=a("S"),e=a("r"),a=b.extend(k,function(){k.call(this);this.Yf=this.ee=this.Se=this.Nz=this.hn=this.Bg=this.Kb=q;this.Ba=this.Ba.bind(this)});a.prototype.Rk=function(a){if(this.vy()){var b=function(b){if(this.Kb=b.length?b[0]:q){this.Kb.depthNear=0.1;this.Kb.depthFar=2*j.Gf;this.Bg="VRFrameData"in window?new VRFrameData:q;window.addEventListener("vrdisplaypresentchange",
this.hQ.bind(this),y);window.addEventListener("vrdisplayactivate",this.E2.bind(this));window.addEventListener("vrdisplaydeactivate",this.Hd.bind(this))}a(!!this.Kb)}.bind(this);navigator.getVRDisplays().then(b)["catch"](function(){b([])})}else a(y)};a.prototype.nh=function(){!this.isPresenting()&&!this.ee&&this.Ks(function(){this.hR(function(){this.OQ(function(){!this.isPresenting()&&!this.ee&&this.E2()}.bind(this))}.bind(this))}.bind(this))};a.prototype.Hd=function(){this.isPresenting()&&this.Kb.exitPresent()};
a.prototype.Ba=function(a){return this.Kb.requestAnimationFrame(function(b){var c=this.ev();c&&this.at();a(b);c&&this.Kb.submitFrame()}.bind(this))};a.prototype.isPresenting=function(){return!!this.Kb&&this.Kb.isPresenting};a.prototype.mt=P("Yf");a.prototype.pf=function(){return g.y$};a.prototype.vy=function(){return"getVRDisplays"in navigator&&!window.WebVRConfig};a.prototype.hQ=function(){if(this.isPresenting()){n.$I(this.Ba,this.Kb.cancelAnimationFrame.bind(this.Kb));this.ev()&&this.at()}else{n.oU();
(this.Yf||this.ee)&&this.qA()}this.trigger(new c(d.U))};a.prototype.Ks=function(a){h.rw()?a():this.zG(function(){a()})};a.prototype.E2=function(){this.ee=this.NQ();this.eR();this.Kb.requestPresent([{source:this.ee.canvas,attributes:{foveationLevel:3}}]).then(function(){this.Yf=this.ee;this.ee=q;this.ev()&&this.at()}.bind(this))["catch"](function(){this.ee=q;this.qA()}.bind(this))};a.prototype.eR=function(){e.km(this.ee.canvas)};a.prototype.ev=function(){this.Kb.getFrameData(this.Bg);if(!this.Bg.pose||
!this.Bg.pose.orientation)return y;this.hn=this.Kb.getEyeParameters("left");this.Nz=this.Kb.getEyeParameters("right");var a=this.Kb.getLayers();this.Se=a&&a.length&&a[0]||q;return!this.Se?y:p};a.prototype.at=function(){this.bB();var a=this.Bg.pose;this.Rg.orientation.fromArray(a&&a.orientation||l);this.Rg.position.fromArray(a&&a.position||r);this.GS()};a.prototype.bB=function(){this.nc.sB=q;this.nc.vj=this.hn.renderWidth*2;this.nc.qi=this.hn.renderHeight;this.nc.iI=f.Ue()?2048/this.nc.qi:1};a.prototype.GS=
function(){this.yf.position.fromArray(this.hn.offset);this.yf.orientation.fromArray(l);this.yf.projectionMatrix.fromArray(this.Bg.leftProjectionMatrix);var a=this.Se.leftBounds&&this.Se.leftBounds.length==4?this.Se.leftBounds:o;this.yf.viewport.x=Math.round(this.nc.vj*a[0]);this.yf.viewport.y=Math.round(this.nc.qi*a[1]);this.yf.viewport.width=Math.round(this.nc.vj*a[2]);this.yf.viewport.height=Math.round(this.nc.qi*a[3]);this.Af.position.fromArray(this.Nz.offset);this.Af.orientation.fromArray(l);
this.Af.projectionMatrix.fromArray(this.Bg.rightProjectionMatrix);a=this.Se.rightBounds&&this.Se.rightBounds.length==4?this.Se.rightBounds:s;this.Af.viewport.x=Math.round(this.nc.vj*a[0]);this.Af.viewport.y=Math.round(this.nc.qi*a[1]);this.Af.viewport.width=Math.round(this.nc.vj*a[2]);this.Af.viewport.height=Math.round(this.nc.qi*a[3])};a.prototype.qA=function(){this.Yf=this.ee=q;e.cancel()};var l=[0,0,0,1],r=[0,0,0],o=[0,0,0.5,1],s=[0.5,0,0.5,1];return a});
define("gV","require,hp,bL,jq,t,cg,eE,ew,d,S,r,hJ".split(","),function(a){function b(a){setTimeout(a,10)}var c=a("hp"),d=a("bL"),f=a("jq"),g=a("t"),k=a("cg"),j=a("eE"),h=a("ew"),n=a("d"),e=a("S"),l=a("r"),r=a("hJ"),o=c.extend(j,function(){j.call(this);this.bt=this.dB=this.oi=this.Yf=q;this.qv="stopped";this.Ba=this.Ba.bind(this);this.SQ=this.SQ.bind(this);this.MQ=this.MQ.bind(this);this.Hv=y;r.n9(function(){b(function(){this.Hv=p}.bind(this))}.bind(this))});o.prototype.Rk=function(a){if(this.vy())this.yka().then(function(b){b?
a(p):a(y)})["catch"](function(){a(y)});else a(y)};o.prototype.nh=function(){this.qv=="stopped"&&this.Ks(function(){this.hR(function(){this.OQ(function(){setTimeout(function(){this.gka()}.bind(this),200)}.bind(this))}.bind(this))}.bind(this))};o.prototype.gka=function(){if(this.qv=="stopped"){this.qv="starting";this.trigger(new d(f.U));e.KU(p);navigator.xr.requestSession("immersive-vr").then(function(a){this.oi=a;this.oi.addEventListener("end",this.SQ);this.oi.addEventListener("select",this.MQ);return this.oi.requestReferenceSpace("local")}.bind(this)).then(function(a){this.dB=
a;this.Yf=this.NQ();return this.Yf.makeXRCompatible()}.bind(this)).then(function(){g.Na()&&l.km(this.Yf.canvas);var a=XRWebGLLayer.getNativeFramebufferScaleFactor(this.oi),a=Math.max(a,1);g.C7()?a=a*1:g.Ue()?a=a*1.42222:g.Na()&&(a=a*o.Rv);this.bt=new XRWebGLLayer(this.oi,this.Yf,{antialias:y,framebufferScaleFactor:a});this.oi.updateRenderState({baseLayer:this.bt,depthNear:0.1,depthFar:2*h.Gf});this.bB();this.qv="started";e.$I(this.Ba,this.oi.cancelAnimationFrame.bind(this.oi));e.KU(y)}.bind(this))["catch"](function(){e.KU(y);
this.A3();this.trigger(new d(f.U))}.bind(this))}};o.prototype.Hd=function(){this.isPresenting()&&this.oi.end()};o.prototype.Ba=function(a){return this.oi.requestAnimationFrame(function(b,c){this.IS=c;this.at();a(b)}.bind(this))};o.prototype.isPresenting=function(){return this.qv!="stopped"};o.prototype.pf=function(){return k.z$};o.prototype.mt=P("Yf");o.prototype.vy=function(){return"xr"in navigator};o.prototype.yka=function(){return"isSessionSupported"in navigator.xr?navigator.xr.isSessionSupported("immersive-vr"):
"supportsSession"in navigator.xr?navigator.xr.supportsSession("immersive-vr"):Promise.reject()};o.prototype.Ks=function(a){g.jd()==g.Jq?this.Hv?a():n.rw()?b(a):this.zG(function(){b(a)}):n.rw()?a():this.zG(function(){a()})};o.prototype.SQ=function(){e.oU();this.A3();this.trigger(new d(f.U))};o.prototype.MQ=function(){this.trigger(new d(f.Bh))};o.prototype.A3=function(){this.bt=this.dB=this.oi=this.Yf=q;this.qv="stopped";l.cancel()};o.prototype.bB=function(){this.nc.sB=this.bt.framebuffer;this.nc.vj=
this.bt.framebufferWidth;this.nc.qi=(g.jd()==g.Jq?2:1)*this.bt.framebufferHeight;this.nc.iI=1};o.prototype.at=function(){var a=this.IS.getViewerPose(this.dB);if(a){var b=a&&a.transform.orientation||s;this.Rg.orientation.set(b.x,b.y,b.z,b.w);b=a&&a.transform.position||t;this.Rg.position.set(b.x,b.y,b.z);for(var a=this.IS.getViewerPose(this.dB.getOffsetReferenceSpace(a.transform)),c=0;c<a.views.length;c++){var e=a.views[c],h;if(e.eye=="left")h=this.yf;else if(e.eye=="right")h=this.Af;else continue;
b=e.transform.position;h.position.set(b.x,b.y,b.z);b=e.transform.orientation;h.orientation.set(b.x,b.y,b.z,b.w);h.projectionMatrix.fromArray(e.projectionMatrix);e=this.bt.getViewport(e);h.viewport.x=e.x;h.viewport.y=e.y;h.viewport.width=e.width;h.viewport.height=e.height}var g=[];this.oi.inputSources.forEach(function(a){if(a.targetRayMode=="tracked-pointer"&&a.gamepad){var b=a.gamepad;if(!b.pose)b.ET=this.IS.getPose(a.targetRaySpace,this.dB);if(!b.hand)b.qoa=a.handedness;if(!b.id)b.roa=b.mapping+
" "+a.handedness;g.push(b)}}.bind(this));this.Rg.lI=g}};o.Rv=Math.min(1,1280/(Math.max(screen.width,screen.height)*window.devicePixelRatio));var s={x:0,y:0,z:0,w:1},t={x:0,y:0,z:0};return o});
define("bd","require,hp,jq,dZ,t,iH,hS,ha,cH,cg,ji,fR,gV,eB".split(","),function(a){function b(a,c){if(a.length){var e=new a[0];e.Rk(function(h){h?c(e):b(a.slice(1),c)})}else c(q)}var c=a("hp"),d=a("jq"),f=a("dZ"),g=a("t"),k=a("iH"),j=a("hS"),h=a("ha"),n=a("cH"),e=a("cg"),l=a("ji"),r=a("fR"),o=a("gV"),s=a("eB"),t=y,u=[],v=new f;v.Gi=l.Gi;v.p$=n;v.ksa=e;v.available=R(p);v.bm=R(q);v.qI=R(q);v.isPresenting=R(y);v.nh=function(){t=p};v.Hd=function(){t=y};v.ata=R(q);v.Lv=function(a){u.indexOf(a)<0&&u.push(a)};
v.QI=function(a){a=u.indexOf(a);a==-1||u.splice(a,1)};v.Mqa=function(a){h.Rv=a;o.Rv=a};v.Kna=function(){return h.Rv};v.pf=R(q);v.uI=R(q);v.log=function(){v.available()?v.pf()?c.log("VR: "+v.pf()):c.log("VR: not ready"):c.log("VR: not available");c.log("gyroscope: "+k.available)};var x;x=g.browser()==g.Ei&&!g.Na()?[o,r,h]:g.C7()?[o,r]:j.$n("vr_mode")=="cardboard"?[h]:[r,o,h];v.Rk=function(a){var c=setTimeout(function(){c=q;a()},250);b(x,function(b){if(b){b.bind(d.U,function(){v.trigger(d.U)},v,p);
b.bind(d.Bh,function(){v.trigger(d.Bh)},v,p);v.available=R(p);v.qI=function(){return b.qI()};v.bm=function(){return b.bm()};v.isPresenting=function(){return b.isPresenting()};v.nh=function(){b.nh()};v.Hd=function(){b.Hd()};v.mt=function(){return b.mt()};v.Lv=function(a){b.Lv(a)};v.QI=function(a){b.QI(a)};v.pf=function(){return b.pf()};v.uI=function(){return b.uI()};u.forEach(function(a){b.Lv(a)});t&&b.nh()}else v.available=R(y);if(c){clearTimeout(c);c=q;a()}})};v.bind(d.U,function(){s.VI(v.isPresenting())},
window,p);return v});
define("cD","require,jq,hs,dZ,S,bd".split(","),function(a){function b(a){this.OD=a;this.Of=q;this.IL={};for(a=0;a<this.OD.buttons.length;a++)this.IL[this.OD.buttons[a]]=y;this.HL=0;this.Ep=q;this.zs=[new THREE.Quaternion,new THREE.Quaternion];this.ys=this.zs[0];this.Xf=[new THREE.Vector3,new THREE.Vector3];this.za=this.Xf[0]}function c(a,b,c){this.loa=a;this.buttons=b;this.jpa=c}function d(){if(!(C||w==e.kd)){w=e.kd;var a,c=l.isPresenting()&&l.bm();if(a=c&&c.lI&&c.lI.length?c.lI:navigator.getGamepads&&
navigator.getGamepads()){for(c=0;c<u.length;c++)u[c].A8(q);for(c=0;c<a.length;c++){var g=a[c];if(g&&(g.pose||g.ET)){var d=g.id||g.roa,j=x[d];if(!j){var k;a:{k=d;for(var n=0;n<r.length;n++){var t=r[n];if(k.indexOf(s[t].loa)==0){k=t;break a}}k=m}k&&u.push(j=x[d]=new b(s[k]))}j&&x[d].A8(g)}}(a=v)&&!v.KT()&&(v=q);for(c=0;c<u.length;c++){j=u[c];if(j.KT()&&j.pressed()){v=j;break}}if(!v)for(c=0;c<u.length;c++){j=u[c];if(j.KT()){if(j.hand()==o){v=j;break}v||(v=j)}}a!=v&&h.XB(f)}}}function f(){t.trigger(j.U)}
function g(){d()}function k(){if(l.isPresenting()){if(z){clearInterval(z);z=q}d();z=setInterval(g,500)}else if(z){clearInterval(z);z=q}}var j=a("jq"),h=a("hs"),n=a("dZ"),e=a("S"),l=a("bd"),r=["oculus go","oculus touch","xr-standard","gear vr","daydream","vive","vive focus","microsoft","unknown"],o="right",s={};s["oculus go"]=new c("Oculus Go",["trackpad","trigger"],"trigger");s["oculus touch"]=new c("Oculus Touch",["thumbstick","trigger","grip","abutton","bbutton","surface"],"trigger");s["xr-standard"]=
new c("xr-standard",["trigger","grip","unknow_button_0","thumbstick","abutton","bbutton","unknow_button"],"trigger");s["gear vr"]=new c("Gear VR",["trackpad","trigger"],"trigger");s.daydream=new c("Daydream Controller",["trackpad","menu","system"],"trackpad");s.vive=new c("OpenVR",["trackpad","trigger","grip","menu","system"],"trigger");s["vive focus"]=new c("HTC Vive Focus",["trackpad","trigger","grip"],"trigger");s.microsoft=new c("Spatial Controller (Spatial Interaction Source)",["thumbstick",
"trigger","grip","menu","thumbpad"],"trigger");s.unknown=new c("",[],m);b.prototype.A8=function(a){if(this.Of=a){this.Gea=this.Of.hand||this.Of.qoa;if(this.Of.pose){this.Ep=this.Of.pose;if(this.Ep.orientation){this.ys=this.zs[0]==this.ys?this.zs[1]:this.zs[0];this.ys.fromArray(this.Ep.orientation)}if(this.Ep.position){this.za=this.Xf[0]==this.za?this.Xf[1]:this.Xf[0];this.za.fromArray(this.Ep.position)}else this.za=q}else if(this.Of.ET){this.Ep=this.Of.ET.transform;this.ys=this.zs[0]==this.ys?this.zs[1]:
this.zs[0];this.ys.copy(this.Ep.orientation);this.za=this.Xf[0]==this.za?this.Xf[1]:this.Xf[0];this.za.copy(this.Ep.position)}for(var a=0,b=Math.min(this.Of.buttons.length,this.Of.buttons.length);a<b;a++)this.IL[this.OD.buttons[a]]=this.Of.buttons[a].pressed;for(a=this.HL=0;a<this.Of.buttons.length;a++)this.Of.buttons[a].pressed&&this.HL++}};b.prototype.pulse=function(a,b){var c=this.Of&&this.Of.hapticActuators;(c=c&&c.length&&c[0])&&c.pulse&&c.pulse(a,b)};b.prototype.KT=function(){return!!this.Of};
b.prototype.hand=P("Gea");b.prototype.quaternion=P("ys");b.prototype.position=P("za");b.prototype.pressed=function(a){a||(a=this.OD.jpa);return!a?this.HL>0:this.IL[a]};var t=new n;t.all=function(){d();return u};t.FI=function(){d();return v};t.ha="left";t.Ea=o;var u=[],v=q,x={},w=m,z=q,C=URL.Yl("disable-controller",y);l.bind(j.U,k);k();return t});
define("cj",["require","er","a"],function(a){function b(a,b){this.ld=a||new c(0,0,0);this.Ff=b||new c(1,0,0)}var c=a("er"),d=a("a");b.prototype.clone=function(){return new b(this.ld.clone(),this.Ff.clone())};b.prototype.apply=function(a){a.Nv(this.ld);a.Nv(this.Ff)};b.prototype.Una=function(){return d.kq(this.ld,this.Ff)};return b});
define("fp",["cj","er"],function(a,b){function c(a,b,c){this.T=a||100;this.ca=b||100;this.ia=c||Math.PI;this.mQ=m;this.il=p}c.prototype.cC=function(a){this.ia!=a&&(this.ia=a,this.il=p)};c.prototype.mq=P("ia");c.prototype.mC=function(a){this.T!=a&&(this.T=a,this.il=p)};c.prototype.jc=P("T");c.prototype.C8=function(a){this.ca!=a&&(this.ca=a,this.il=p)};c.prototype.Sc=P("ca");c.prototype.project=function(a){if(0!=a.z){this.r5();var b=1/a.z,c=this.mQ*b;a.x=0.5*this.T-a.x*c;a.y=0.5*this.ca-a.y*c;a.z=b}};
c.prototype.unproject=function(c){this.r5();return new a(new b(0,0,0),new b(0.5*this.T-c.x,0.5*this.ca-c.y,this.mQ))};c.prototype.r5=function(){this.il&&(this.mQ=0.5*this.T/Math.tan(0.5*this.ia),this.il=y)};return c});
define("jv",["require"],function(){function a(){this.cd=this.pitch=this.qa=0;this.Te=this.Uc=90;this.kB=this.XH=this.height=this.width=100;this.bU=1;this.Lb=y;this.vh=0;this.HI=y;this.nw=this.UB=p;this.mh=this.ze=q;this.enabled=y;this.kd=0;this.nC=m}a.prototype.clone=function(){var b=new a;b.qa=this.qa;b.pitch=this.pitch;b.cd=this.cd;b.Uc=this.Uc;b.Te=this.Te;b.width=this.width;b.height=this.height;b.XH=this.XH;b.kB=this.kB;b.bU=this.bU;b.Lb=this.Lb;b.vh=this.vh;b.HI=this.HI;b.UB=this.UB;b.nw=this.nw;
b.ze=this.ze;b.mh=this.mh;b.enabled=this.enabled;b.kd=this.kd;b.nC=this.nC;return b};return a});
define("cv","require,jquery.mod,cL,jq,X,S,db".split(","),function(a){function b(a){this.SU=a;this.element=document.createElement("div");this.XU=document.createElement("span");this.element.appendChild(this.XU);this.XU.innerHTML=a.text.split("<br>").join("\n").split("\n").map(d).join("<br>");this.ZH=y}function c(a){this.D=a;this.IA=g.throttle(this.IA.bind(this),100);this.JA=g.throttle(this.JA.bind(this),100);this.v=document.createElement("div");this.v.style.position="absolute";this.v.style.left=0;this.v.style.top=
0;this.v.style.right=0;this.v.style.bottom=0;this.v.style.zIndex=1;this.v.style.cursor="inherit";this.v.style.display="none";this.Lt=f(this.v);this.fh=document.createElement("div");this.fh.style.position="absolute";this.fh.style.left=0;this.fh.style.right=0;this.fh.style.zIndex=1;this.fh.style.cursor="inherit";this.v.appendChild(this.fh);this.Up=q;this.zv=[];this.Ne=[];this.LP={};this.Iv=j.Xa;this.D.bind(k.ba("subtitlesEnabled"),this.SR,this);c.lW.forEach(function(a){this.D.bind(k.ba(a),this.IA,this)}.bind(this));
c.mW.forEach(function(a){this.D.bind(k.ba(a),this.JA,this)}.bind(this));this.SR();this.IA();this.JA()}function d(a){e.innerHTML=a;return e.innerText}var f=a("jquery.mod"),g=a("cL"),k=a("jq"),j=a("X"),h=a("S"),n=a("db");c.prototype.clear=function(){this.PU(q);if(this.D){this.D.unbind(k.ba("subtitlesEnabled"),this.SR,this);c.lW.forEach(function(a){this.D.unbind(k.ba(a),this.IA,this)}.bind(this));c.mW.forEach(function(a){this.D.unbind(k.ba(a),this.JA,this)}.bind(this));this.D=q}};c.prototype.fb=P("Lt");
c.prototype.PU=function(a){if(this.Up!=a){this.Up&&this.Up.unbind(k.ba("activeSubtitles"),this.M0,this,p);(this.Up=a)&&this.Up.bind(k.ba("activeSubtitles"),this.M0,this,p)}};c.prototype.M0=function(){this.Hja(this.Up&&this.Up.get("activeSubtitles")||[])};c.prototype.SR=function(){this.V=this.D.get("subtitlesEnabled");this.fS()};c.prototype.IA=function(){this.Iv=this.ey("subtitlesVerticalAlign",[j.Ya,j.cc,j.Xa],j.Xa);this.fh.style["text-align"]=this.ey("subtitlesHorizontalAlign",[j.ha,j.Ea,j.tc],j.tc);
this.fh.style.bottom=this.Iv==j.Xa?this.ug("subtitlesBottom",0):"";this.fh.style.top=this.Iv==j.Ya?this.ug("subtitlesTop",0):this.Iv==j.cc?"50%":"";this.fh.style.transform=this.Iv==j.cc?"translate(0, -50%)":"";this.fS()};c.prototype.JA=function(){var a={};a["background-color"]=this.UN("subtitlesBackgroundColor","subtitlesBackgroundOpacity");a.border=[this.ug("subtitlesBorderSize"),"solid",this.af("subtitlesBorderColor")].join(" ");a["box-shadow"]=this.af("subtitlesShadow",y)?[this.ug("subtitlesShadowHorizontalLength"),
this.ug("subtitlesShadowVerticalLength"),this.ug("subtitlesShadowBlurRadius"),this.UN("subtitlesShadowColor","subtitlesShadowOpacity","#000000",0)].join(" "):"";a.display="inline-block";a["font-family"]=n.iq(this.af("subtitlesFontFamily"));a["font-size"]=this.ug("subtitlesFontSize");a.color=this.af("subtitlesFontColor");a["font-weight"]=this.ey("subtitlesFontWeight",["bold","bolder","lighter","100","200","300","400","500","600","700","800","900","normal"],"normal");a["font-style"]=this.ey("subtitlesFontStyle",
["italic","normal"],"normal");a["margin-bottom"]=this.ug("subtitlesGap");a.opacity=this.af("subtitlesOpacity");a["padding-top"]=this.ug("subtitlesPaddingTop");a["padding-bottom"]=this.ug("subtitlesPaddingBottom");a["padding-left"]=this.ug("subtitlesPaddingLeft");a["padding-right"]=this.ug("subtitlesPaddingRight");a.position="relative";a["text-align"]=this.ey("subtitlesHorizontalAlign",["left","right","center"],"center");a["text-decoration"]=this.af("subtitlesTextDecoration",["underline","overline",
"line-through","none"],"none");a["text-shadow"]=[this.ug("subtitlesTextShadowHorizontalLength"),this.ug("subtitlesTextShadowVerticalLength"),this.ug("subtitlesTextShadowBlurRadius"),this.UN("subtitlesTextShadowColor","subtitlesTextShadowOpacity","#000000",0)].join(" ");this.LP=a;this.xaa()};c.prototype.Hja=function(a){this.zv=a;this.fS()};c.prototype.fS=function(){for(var a=this.V?this.zv:[],c=this.Ne.length-1;c>=0;c--){var e=this.Ne[c];if(a.indexOf(e.SU)>=0)break;this.fh.removeChild(e.element)}for(var g=
[],d=y;c>=0;c--){e=this.Ne[c];if(!e.ZH&&a.indexOf(e.SU)<0){e.ZH=p;e.element.style.visibility="hidden";d=p}g.splice(0,0,e)}d&&h.Ba(this.RY,this);this.Ne=g;var f=this.Ne.filter(function(a){return!a.ZH}).map(function(a){return a.SU});a.filter(function(a){return f.indexOf(a)<0}).forEach(function(a){a=new b(a);this.SX(a);this.Iv==j.Xa&&this.Ne.length>0?this.fh.insertBefore(a.element,this.Ne[this.Ne.length-1].element):this.fh.appendChild(a.element);this.Ne.push(a)}.bind(this));this.v.style.display=this.Ne.length>
0?"block":"none"};c.prototype.RY=function(a){for(var b=y,a=Math.round(200*a/1E3),c=0;c<this.Ne.length;c++){var e=this.Ne[c];if(e.ZH){b=p;if(a>=e.element.clientHeight){a=a-e.element.clientHeight;this.fh.removeChild(e.element);this.Ne.splice(c,1);c--}else{e.element.style.height=e.element.clientHeight-a+"px";break}}}b&&h.Ba(this.RY,this)};c.prototype.xaa=function(){this.Ne.forEach(this.SX.bind(this))};c.prototype.SX=function(a){for(var b in this.LP)a.XU.style[b]=this.LP[b]};c.prototype.af=function(a,
b){return this.D.get(a,b)};c.prototype.ug=function(a,b){var c=this.D.get(a,b);isNaN(c)||(c=Math.round(c)+"px");return c};c.prototype.ey=function(a,b,c){a=this.D.get(a);return b.indexOf(a)<0?c:a};c.prototype.UN=function(a,b,c,e){a=this.D.get(a,c);b=this.D.get(b,e);return"rgba("+parseInt("0x"+a.substr(1,2))+", "+parseInt("0x"+a.substr(3,2))+", "+parseInt("0x"+a.substr(5,2))+", "+b+")"};c.lW=["subtitlesHorizontalAlign","subtitlesVerticalAlign","subtitlesTop","subtitlesBottom"];c.mW=["subtitlesBackgroundColor",
"subtitlesBackgroundOpacity","subtitlesBorderColor","subtitlesBorderSize","subtitlesFontFamily","subtitlesFontColor","subtitlesFontSize","subtitlesFontStyle","subtitlesFontWeight","subtitlesGap","subtitlesOpacity","subtitlesPaddingTop","subtitlesPaddingBottom","subtitlesPaddingLeft","subtitlesPaddingRight","subtitlesShadow","subtitlesShadowBlurRadius","subtitlesShadowHorizontalLength","subtitlesShadowVerticalLength","subtitlesShadowColor","subtitlesTextDecoration","subtitlesTextShadowBlurRadius",
"subtitlesTextShadowColor","subtitlesTextShadowHorizontalLength","subtitlesTextShadowOpacity","subtitlesTextShadowVerticalLength"];var e=document.createElement("div");return c});
define("hx",["require","hp","cv"],function(a){var b=a("hp"),c=a("cv"),a=b.extend(c,function(a,b){c.call(this,a);this.$b=b;this.$b.bind(EventName.ba("panorama"),this.uP,this);this.uP()});a.prototype.clear=function(){this.$b&&(this.$b.unbind(EventName.ba("panorama"),this.uP,this),this.$b=q);c.prototype.clear.call(this)};a.prototype.uP=function(){this.PU(this.$b.get("panorama"))};return a});
define("hb",["require","t"],function(a){var b=a("t"),a={},c=180/Math.PI,d=Math.PI/180;a.wj=function(a,b,c){return this.ct(a,b,c)};a.om=function(a,b,c){return this.ct(a,c,b)};a.ct=function(a,b,k){return 2*Math.atan(k*Math.tan(0.5*a*d)/b)*c};a.bta=function(a){return b.browser()==b.Jw?Math.max(a,20):a};return a});define("cw",["require"],function(){return{Zk:0,ha:1,Ea:2}});
define("gY",["require","fh"],function(a){function b(){this.status=b.WC;this.iU=this.ut=0;this.hU=[]}a("fh");b.LOADING="loading";b.R="loaded";b.WC="not loaded";return b});
define("hl","require,cL,hp,bL,jq,gP,gY".split(","),function(a){function b(){this.EZ={};this.mc=[];this.mp=[];this.Hc={}}var c=a("cL"),d=a("hp");a("bL");var f=a("jq"),g=a("gP"),k=a("gY");b.prototype.WU=function(a){for(var a=a.Pk(),b=0,c=a.length;b<c;b++)if(this.dy(a[b]).status!=k.R)return y;return p};b.prototype.bo=function(a,b){this.mc.push(a);this.baa(a,b)};b.prototype.Ci=function(a,b){var g=c(this.mc).indexOf(a);g<0&&i("Unloading item not loaded");this.mc.splice(g,1);this.eia(a,b)};b.prototype.Id=
function(a,b){return this.Hc[a].Id(b)};b.prototype.baa=function(a,b){this.mp.push(a);for(var c=a.Pk(),e=0,g=c.length;e<g;e++){var d=c[e],f=this.dy(d);f.ut++;f.hU.push(b);if(f.status==k.WC){f.status=k.LOADING;this.Jfa(d,Math.min.apply(Math,f.hU))}}this.m5()};b.prototype.eia=function(a,b){this.mp=c(this.mp).without(a);for(var g=a.Pk(),e=0,d=g.length;e<d;e++){var f=g[e],o=this.dy(f);o.ut--;var s=o.hU,t=s.indexOf(b);t>=0&&s.splice(t,1);if(o.ut==0&&o.status!=k.WC){o.status=k.WC;o.iU=0;this.dla(f)}}};b.prototype.m5=
function(a){for(var a=(a==m?this.mp:this.p_(a)).slice(),b=0;b<a.length;b++){for(var g=a[b],e=g.Pk(),d=0,f=0,o=e.length,s=0;s<e.length;s++){var t=this.dy(e[s]),d=d+t.iU;t.status==k.R&&f++}g.wqa(d/o);if(f==o){g.EU();this.mp=c(this.mp).without(g)}}};b.prototype.dy=function(a){var b=this.EZ[a];b||(this.EZ[a]=b=new k);return b};b.prototype.p_=function(a){for(var b=[],g=0;g<this.mp.length;g++){var e=this.mp[g];c(e.Pk()).contains(a)&&b.push(e)}return b};b.prototype.Jfa=function(a,b){var c=new g(b);this.Hc[a]=
c;c.bind(f.R,this.fz,this,p);c.bind(f.od,this.gz,this,p);c.load(a)};b.prototype.dla=function(a){var b=this.Hc[a];delete this.Hc[a];b.unbind(f.R,this.fz,this);b.unbind(f.od,this.gz,this);b.cancel()};b.prototype.fz=function(a){var a=a.source.fg(),b=this.dy(a);b.iU=100;b.status=k.R;this.m5(a)};b.prototype.gz=function(a){for(var a=a.source.fg(),b=this.p_(a),c=0;c<b.length;c++){var e=b[c];this.Ci(e);e.aqa()}d.log("Error loading: "+a)};b.ad=new b;return b.ad});
define("iN",["require","hl","eP","t"],function(a){var b=a("hl"),c=a("eP"),d=a("t"),f={eP:m,zqa:N("eP"),RM:m,Ypa:N("RM"),createTexture:function(){var a=new THREE.Texture;a.image=f.cw();a.userData={};a.userData.g9={};return a},Ama:function(a){a.image!=this.cw()&&(a.image=this.cw(),a.needsUpdate=p)},hJ:function(a,b){b=this.gna(b);a.generateMipmaps=this.iba(b);if(a.generateMipmaps)a.minFilter=THREE.LinearMipMapLinearFilter,a.anisotropy=Math.min(this.uda(b),d.W6().N7),!c.I7(b.width)||!c.I7(b.height)?(a.ql||
(a.ql=document.createElement("canvas"),a.ql.jH=p),a.image=a.ql,a.ql.xa=b,a.image.width=c.M6(b.width),a.image.height=c.M6(b.height),a.image.getContext("2d").drawImage(b,0,0,a.image.width,a.image.height)):a.image=b;else if(a.minFilter=THREE.LinearFilter,c.OB(b)&&c.wra(b)){a.fk||(a.fk=document.createElement("canvas"),a.ifa=a.fk.getContext("2d"),a.fk.jH=p);var j=b.videoWidth;c.ui()&&(j=Math.min(3168,j));var h=j*b.videoHeight/b.videoWidth;if(a.fk.width!=j||a.fk.height!=h)a.fk.width=j,a.fk.height=h;b.readyState>=
b.HAVE_CURRENT_DATA&&a.ifa.drawImage(b,0,0,j,h);a.image=a.fk}else a.image=b;a.ql&&a.image!=a.ql&&(f.dI(a.ql),delete a.ql);a.needsUpdate=p;if((j=f.vT(a))&&j.kta)j.needsUpdate=p;c.v7()},gna:function(a){a?c.JT(a)?a=b.Id(a,y):c.J7(a)?a=this.cw():c.OB(a)&&!(a.readyState>=a.HAVE_CURRENT_DATA&&0<a.videoWidth&&0<a.videoHeight)&&(a=this.cw()):a=this.cw();return a},Ima:function(a,b,d,h,f){var e=document.createElement("canvas");e.width=c.wm();e.height=c.wm();e.jH=p;var l=e.getContext("2d");if(!l)return q;l.drawImage(a,
b,d,h,f,0,0,c.wm(),c.wm());this.hI(e);return e},dI:function(a){c.A7(a)&&a.jH&&(delete a.jH,a.width=0,a.height=0)},dispose:function(a){a.fk&&a.fk!=a.image&&this.dI(a.fk);a.image&&this.dI(a.image);a.dispose()},iJ:function(a,b,c){b?(a.A4=p,a.z4=c||1):(delete a.A4,delete a.z4)},uda:function(a){return a&&a.z4||1},Qqa:function(a,b){a.userData.g9.material=b},vT:function(a){return a.userData.g9.material},sma:function(a){return c.IT(a)},j6:function(a){c.JT(a)&&(a=b.Id(a,y));c.IT(a)&&this.hI(a)},hI:function(a){var b=
document.createElement("canvas");b.width=1;b.height=1;var c=b.getContext("2d");f.hI=function(a){c.drawImage(a,0,0,1,1,0,0,1,1)};return f.hI(a)},OM:q,cw:function(){if(!this.OM){var a=document.createElement("canvas");a.width=128;a.height=128;a.getContext("2d").clearRect(0,0,a.width,a.height);this.OM=a}return this.OM},iba:function(a){if(c.Loa(a))return y;if(c.A7(a))return!!a.A4;if(d.Na()){if(this.eP!==m)return this.eP}else if(this.RM!==m)return this.RM;return y}};return f});
define("bG",["require","eP","iN"],function(a){function b(a){this.tC=(a=c.D7(a))&&c.ioa();this.JB=a&&c.hoa();this.gq=0;this.Sl=m;this.nB=this.oB=0}var c=a("eP"),d=a("iN"),f={rT:function(a){return a.map||a.uniforms&&a.uniforms.texture&&a.uniforms.texture.value},Mk:function(a,b){a||(a=d.createTexture());b||(b=new f.Fj);return b.Cpa()?this.Gma(a,b):this.aI(a)},aI:function(a){var b=new THREE.MeshBasicMaterial;b.map=a;this.UX(b);return b},Gma:function(a,b){var c={uniforms:{},transparent:p};c.uniforms.texture=
{type:"sampler2D",value:a};a.flipY=!b.tC;c.vertexShader=["varying vec2 vUV;\nvoid main() {","\tvUV = vec2( uv.x, "+(b.tC?"1.0 - uv.y":"uv.y")+");","\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}"].join("\n");if(b.JB||b.gq||b.Sl){var h=[],d=[],h=h.concat(["uniform sampler2D texture;","uniform float opacity;","varying vec2 vUV;"]);c.uniforms.opacity={type:"float",value:1};d=d.concat([" vec4 color = texture2D(texture, vUV);"," float alpha = color.a * opacity;"]);if(b.gq){var e=
a.image.width||a.image.videoWidth,f=a.image.height||a.image.videoHeight,r=0.5*Math.min(e,f)*b.gq;c.uniforms.blendingLimit={type:"v2",value:new THREE.Vector2(r/e,r/f)};h=h.concat(["uniform vec2 blendingLimit;"]);d=d.concat(" float xCoef = 0.0;, float yCoef = 0.0;, if (vUV.x < blendingLimit.x) {, xCoef = 1.0 - (vUV.x / blendingLimit.x);, xCoef = xCoef * xCoef;, } else if ((1.0 - vUV.x) < blendingLimit.x) {, xCoef = 1.0 - ((1.0 - vUV.x) / blendingLimit.x);, xCoef = xCoef * xCoef;, }, if (vUV.y < blendingLimit.y) {, yCoef = 1.0 - (vUV.y / blendingLimit.y);, yCoef = yCoef * yCoef;, } else if ((1.0 - vUV.y) < blendingLimit.y) {, yCoef = 1.0 - ((1.0 - vUV.y) / blendingLimit.y);, yCoef = yCoef * yCoef;, }, alpha = alpha * (1.0 - sqrt(xCoef + yCoef));".split(","))}b.Sl&&
(c.uniforms.chromaColor={type:"v3",value:new THREE.Vector3(parseInt(b.Sl.substr(1,2),16)/255,parseInt(b.Sl.substr(3,2),16)/255,parseInt(b.Sl.substr(5,2),16)/255)},c.uniforms.chromaThreshold={type:"f",value:b.oB},c.uniforms.chromaSmoothing={type:"f",value:b.nB},h=h.concat(["uniform vec3 chromaColor;","uniform float chromaThreshold;","uniform float chromaSmoothing;"]),d=d.concat(" float maskY = 0.2989 * chromaColor.r + 0.5866 * chromaColor.g + 0.1145 * chromaColor.b;{ float maskCr = 0.7132 * (chromaColor.r - maskY);{ float maskCb = 0.5647 * (chromaColor.b - maskY);{ float Y = 0.2989 * color.r + 0.5866 * color.g + 0.1145 * color.b;{ float Cr = 0.7132 * (color.r - Y);{ float Cb = 0.5647 * (color.b - Y);{ float chromaBlendValue = smoothstep(chromaThreshold, chromaThreshold + chromaSmoothing, distance(vec2(Cr, Cb), vec2(maskCr, maskCb)));{ alpha = alpha * chromaBlendValue;".split("{")));
d=d.concat(["\tgl_FragColor = vec4(color"+(b.JB?".bgr":".rgb")+", alpha);"]);a.format=THREE.RGBAFormat;c.fragmentShader=[].concat(h,["void main() {"],d,["}"]).join("\n")}else c.fragmentShader="uniform sampler2D texture;\nvarying vec2 vUV;\nvoid main() {\n\tgl_FragColor = texture2D(texture, vUV);\n}";c=new THREE.ShaderMaterial(c);this.UX(c);return c},dispose:function(a){Array.isArray(a)||(a=[a]);a.forEach(function(a){var b=f.rT(a);b&&d.dispose(b);a.dispose()})},UX:function(a){a.side=THREE.DoubleSide;
a.transparent=p;a.depthTest=y;a.needsUpdate=p;a.userData={};a.userData.M7={};d.Qqa(f.rT(a),a)},IU:function(a,b){a.userData.M7.TT=b},H6:function(a){return a.userData.M7.TT}};b.prototype.Cpa=function(){return this.tC||this.JB||this.gq||this.Sl};b.prototype.isEqual=function(a){return this.tC===a.tC&&this.JB===a.JB&&this.gq===a.gq&&this.Sl===a.Sl&&this.oB===a.oB&&this.nB===a.nB};f.Fj=b;return f});
define("cR",["require","ew","bG"],function(a){function b(a){return Array.isArray(a)?a:a?[a]:[]}var c=a("ew"),d=a("bG"),f={create:function(a,c){var f=new THREE.Mesh(a,c);f.overdraw=y;f.matrixAutoUpdate=y;f.userData.eo={};f.userData.eo.attributes={};b(c).forEach(function(a){d.IU(a,f)});return f},Ema:function(a){var b=new THREE.Group;f.forEach(a,function(a){b.add(a)});return b},HU:function(a,c){b(c).forEach(function(a){d.IU(a,q)});d.dispose(a.material);a.material=c;b(c).forEach(function(b){d.IU(b,a)})},
nq:function(a){return b(a.material)},Hna:function(a,b){if(a.layers.mask&b.layers.mask){var d=f.nq(a);return c.Gna(a.geometry,b,a.matrixWorld).map(function(a){return d[a]})}return[]},nT:function(a,b){var j=[];f.Ef(a,function(a){var g=f.nq(a);b.forEach(function(b){var f=c.Bna(a.geometry,a.matrixWorld,b);if(f){var k=d.rT(g[f.materialIndex]),b=k.image;b==k.ql&&(b=k.ql.xa);k=Math.round(f.ora*b.width-0.5);k=0>k?0:k>b.width-1?b.width-1:k;f=Math.round((1-f.vra)*b.height-0.5);f=0>f?0:f>b.height-1?b.height-
1:f;j.push({x:k,y:f,source:b})}})});return j},Q8:function(a,b){f.forEach(a,function(a){b?b.add(a):a.parent&&a.parent.remove(a)})},Et:"panoramaId",Ft:"panoramaFrameId",gV:"panoramaOverlayId",oJ:"levelIndex",setAttribute:function(a,b,c){f.Ef(a,function(a){a.userData.eo.attributes[b]=c})},getAttribute:function(a,b){return a.userData.eo.attributes[b]},p6:function(a,b,c){for(var h=[],d=0,e=a.length;d<e;d++){var f=a[d];f.userData.eo.attributes[b]!==c&&h.push(f)}return h},fI:function(a,b,c){for(var h=[],
d=0,e=a.length;d<e;d++){var f=a[d];f.userData.eo.attributes[b]===c&&h.push(f)}return h},Y6:function(a,b){for(var c={},h=0,d=a.length;h<d;h++){var e=a[h],f=e.userData.eo.attributes[b];f!==m&&(c[f]||(c[f]=[])).push(e)}return c},dT:function(a){a=a.userData.eo.alpha;return a===m?1:a},Vc:function(a,b){f.Ef(a,function(a){a.userData.eo.alpha=b;f.nq(a).forEach(function(a){a.opacity=b;"ShaderMaterial"==a.type&&a.uniforms&&a.uniforms.opacity&&(a.uniforms.opacity.value=b)})})},Vl:function(a,b){f.Ef(a,function(a){a.matrix.copy(b);
a.matrixWorldNeedsUpdate=p})},V6:function(a){return a.renderOrder},QU:function(a,b){f.forEach(a,function(a){a.renderOrder=b})},dispose:function(a){f.Ef(a,function(a){a.geometry&&(a.geometry.dispose(),a.geometry=m);a.material&&(d.dispose(a.material),a.material=m)})},cm:function(a){var b=[];f.Ef(a,function(a){b.push(a)});return b},forEach:function(a,b){Array.isArray(a)?a.forEach(b):a&&a.isObject3D&&(a.isMesh||"Group"==a.type)&&b(a)},Ef:function(a,b){if(Array.isArray(a))for(var c=0,d=a.length;c<d;c++)f.Ef(a[c],
b);else if(a&&a.children){c=0;for(d=a.children.length;c<d;c++)f.Ef(a.children[c],b)}a&&a.isObject3D&&a.isMesh&&b(a)}};return f});define("I",["require","cR"],function(a){var b=a("cR");return{cm:function(a){var d=[];a.children&&a.children.forEach(function(a){b.Ef(a,function(a){a.userData&&a.userData.eo&&d.push(a)})});return d},AU:function(a,b){a.userData.WH=b},fT:function(a){return a.userData.WH||[]},$v:function(a){return a.userData.WH&&0<a.userData.WH.length&&a.userData.WH[0]||q}}});
define("U","require,bd,t,cw,I,eP".split(","),function(a){function b(){if(d.Na()){var a=[Math.max(document.documentElement.clientWidth,window.innerWidth||0),Math.max(document.documentElement.clientHeight,window.innerHeight||0)].sort(function(a,b){return b-a}),b=window.devicePixelRatio||1,b=[screen.width*b,screen.height*b].sort(function(a,b){return b-a}),b=[b[0]/a[0],b[1]/a[1]].sort()[0];if(b!==Infinity)return b}return window.devicePixelRatio}var c=a("bd"),d=a("t"),f=a("cw"),g=a("I"),k=a("eP"),j=180/
Math.PI;return{a$:function(a,c){var e,d;this.setSize=function(b,c){if(e!=b||d!=c){e=b;d=c;a.setSize(b,c)}};this.start=function(e){g.AU(e,[c]);a.setPixelRatio(b())};this.stop=D();this.fov=function(){return c.fov};this.cV=D();this.mh=function(){return c};this.render=function(b,e,d){a.setRenderTarget(e);d&&a.clear();a.render(b,c)}},v$:function(a,b){var e,d,k,o,s=new THREE.Vector2,t=new THREE.PerspectiveCamera;t.layers.enable(f.ha);var u=new THREE.PerspectiveCamera;u.layers.enable(f.Ea);this.start=function(b){a.getSize(s);
e=a.getPixelRatio();d=s.width;k=s.height;o=a.getContext().getParameter(a.getContext().FRAMEBUFFER_BINDING);var f=c.qI();f.sB&&a.getContext().bindFramebuffer(a.getContext().FRAMEBUFFER,f.sB);a.setClearColor(0,1);a.setDrawingBufferSize(f.vj,f.qi,f.iI);g.AU(b,[t,u])};this.stop=function(){a.getContext().bindFramebuffer(a.getContext().FRAMEBUFFER,o);a.setClearColor(0,0);a.setDrawingBufferSize(d,k,e)};this.setSize=function(a,b){d=a;k=b};this.fov=function(){return u.fov};this.mh=function(){return u};this.cV=
function(){b.updateProjectionMatrix();b.updateMatrixWorld();c.bm().views.forEach(function(a){var e=a.eye==c.Gi.ha?t:a.eye==c.Gi.Ea?u:q;if(e){b.matrixWorld.decompose(e.position,e.quaternion,e.scale);e.applyQuaternion(a.orientation);e.translateOnAxis(a.position,1);e.projectionMatrix.copy(a.projectionMatrix);e.fov=2*Math.atan(1/e.projectionMatrix.elements[5])*j}})};this.render=function(b,e,d){var f=b.autoUpdate;if(f){b.updateMatrixWorld();b.autoUpdate=y}if(e){a.setRenderTarget(e);e.scissorTest=p}else{a.setRenderTarget(q);
a.setScissorTest(p)}(a.autoClear||d)&&a.clear();c.bm().views.forEach(function(d){var f=d.eye==c.Gi.ha?t:d.eye==c.Gi.Ea?u:q;if(f){if(e){e.viewport.set(d.viewport.x,d.viewport.y,d.viewport.width,d.viewport.height);e.scissor.set(d.viewport.x,d.viewport.y,d.viewport.width,d.viewport.height)}else{a.setViewport(d.viewport.x,d.viewport.y,d.viewport.width,d.viewport.height);a.setScissor(d.viewport.x,d.viewport.y,d.viewport.width,d.viewport.height)}a.render(b,f)}});a.getSize(s);if(e){e.viewport.set(0,0,s.width,
s.height);e.scissor.set(0,0,s.width,s.height);e.scissorTest=y;a.setRenderTarget(q)}else{a.setViewport(0,0,s.width,s.height);a.setScissorTest(y)}if(f)b.autoUpdate=p}},q$:function(a,c){var e,d,j=1,o=new THREE.WebGLCubeRenderTarget(1024),s=new THREE.CubeCamera(0.1,1E4,o);s.layers.enable(f.Zk);s.layers.enable(f.ha);o=new THREE.ShaderMaterial;o.uniforms={tCube:{value:s.renderTarget.texture},tFlip:{value:1},opacity:{value:1}};o.fragmentShader="uniform samplerCube tCube;\nuniform float tFlip;\nuniform float opacity;\nvarying vec3 vWorldPosition;\nvoid main() {\n\tgl_FragColor = textureCube( tCube, vec3( tFlip * vWorldPosition.x, vWorldPosition.yz ) );\n\tgl_FragColor.a *= opacity;\n}\n";
o.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";o.side=THREE.BackSide;o.depthWrite=y;o.transparent=p;o.depthTest=y;o.needsUpdate=p;var t=new THREE.Mesh(new THREE.SphereBufferGeometry(5,64,64),o);t.overdraw=y;t.matrixAutoUpdate=y;t.renderOrder=1E3;var u=new THREE.Matrix4;this.yt=function(a){j=a};this.setSize=
function(b,c){if(e!=b||d!=c)a.setSize(e=b,d=c)};this.start=function(e){e.add(t);e.add(s);e.traverse(function(a){if(a.layers.test(s.layers)){a.userData.MT=a.layers.mask;a.layers.mask=s.layers.mask}});s.visible=p;t.visible=p;g.AU(e,[c]);a.setClearColor(16777215,1);a.setPixelRatio(b())};this.stop=function(b){a.setClearColor(0,0);b.traverse(function(a){if(a.userData.MT!==m){a.layers.mask=a.userData.MT;delete a.userData.MT}});s.visible=y;t.visible=y;b.remove(t);b.remove(s)};this.fov=function(){return c.fov};
this.cV=function(){if(j>0){t.matrix.copy(c.matrixWorld);t.matrix.multiply(u.makeTranslation(0,0,-j*5));t.matrixWorldNeedsUpdate=p}};this.mh=function(){return c};var v=0;this.render=function(b,e,d){if(j>0){v++;if(!k.uoa()||v%10==0){k.Rpa();t.visible=y;s.update(a,b);t.visible=p}}a.setRenderTarget(e);d&&a.clear();a.render(b,c)}}}});
define("k",["require"],function(){function a(a,b){this.g=a;this.g3=b;this.Kz=new THREE.CustomRenderPass(b);this.IG=new THREE.SavePass;this.Do=new THREE.ShaderPass(THREE.v9,"tDiffuse1");this.Do.uniforms.tDiffuse2.value=this.IG.renderTarget.texture;this.Do.uniforms.mixRatio.value=0.8;this.f2=new THREE.ShaderPass(THREE.CopyShader);this.f2.vq=p;this.Dr=new THREE.EffectComposer(a);this.Dr.addPass(this.Kz);this.Dr.addPass(this.Do);this.Dr.addPass(this.IG);this.Dr.addPass(this.f2);this.eM=this.fM=this.pn=
m;this.J8(y)}var b=new THREE.Vector2;a.prototype.destroy=function(){this.Dr=this.Do=this.IG=this.Kz=this.g3=this.g=q};a.prototype.J8=function(a){if(this.pn!==a){this.pn=a;this.Kz.vq=!this.pn;this.Do.vq=this.pn;this.IG.enabled=this.pn;if(this.Do.enabled=this.pn)this.Do.uniforms.mixRatio.value=0;this.uN=3}};a.prototype.render=function(a,d){if(this.pn){this.g.getSize(b);if(this.fM!==b.width||this.eM!==b.height)this.fM=b.width,this.eM=b.height,this.Dr.setSize(this.fM,this.eM);this.Kz.pU=a;this.Kz.mh=
d;this.pn&&0<this.uN&&(this.uN--,0===this.uN&&(this.Do.uniforms.mixRatio.value=0.65));this.Dr.render()}else this.g3(this.g,a,d,q,y)};THREE.v9={uniforms:{tDiffuse1:{value:q},tDiffuse2:{value:q},mixRatio:{value:0.5},opacity:{value:1}},vertexShader:"varying vec2 vUv;\nvoid main() {\n\tvUv = uv;\n\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}",fragmentShader:"uniform float opacity;\nuniform float mixRatio;\nuniform sampler2D tDiffuse1;\nuniform sampler2D tDiffuse2;\nvarying vec2 vUv;\nvoid main() {\n\tvec4 texel1 = texture2D( tDiffuse1, vUv );\n\tvec4 texel2 = texture2D( tDiffuse2, vUv );\n\tgl_FragColor = opacity * mix( texel1, texel2, mixRatio );\n}"};
THREE.CopyShader={uniforms:{tDiffuse:{value:q},opacity:{value:1}},vertexShader:"varying vec2 vUv;\nvoid main() {\n\tvUv = uv;\n\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}",fragmentShader:"uniform float opacity;\nuniform sampler2D tDiffuse;\nvarying vec2 vUv;\nvoid main() {\n\tvec4 texel = texture2D( tDiffuse, vUv );\n\tgl_FragColor = opacity * texel;\n}"};THREE.EffectComposer=function(a,b){this.jm=a;if(b===m){var f={minFilter:THREE.LinearFilter,magFilter:THREE.LinearFilter,
format:THREE.RGBAFormat,stencilBuffer:y},g=a.getSize(new THREE.Vector2);this.xk=a.getPixelRatio();this.T=g.width;this.ca=g.height;b=new THREE.WebGLRenderTarget(this.T*this.xk,this.ca*this.xk,f);b.texture.name="EffectComposer.rt1"}else this.xk=1,this.T=b.width,this.ca=b.height;this.yw=b;this.zw=b.clone();this.zw.texture.name="EffectComposer.rt2";this.wC=this.yw;this.VB=this.zw;this.vq=p;this.tq=[];THREE.CopyShader===m&&console.error("THREE.EffectComposer relies on THREE.CopyShader");THREE.ShaderPass===
m&&console.error("THREE.EffectComposer relies on THREE.ShaderPass");this.Dma=new THREE.ShaderPass(THREE.CopyShader);this.Bma=new THREE.Clock};Object.assign(THREE.EffectComposer.prototype,{swapBuffers:function(){var a=this.VB;this.VB=this.wC;this.wC=a},addPass:function(a){this.tq.push(a);a.setSize(this.T*this.xk,this.ca*this.xk)},insertPass:function(a,b){this.tq.splice(b,0,a)},Boa:function(a){for(a+=1;a<this.tq.length;a++)if(this.tq[a].enabled)return y;return p},render:function(a){a===m&&(a=this.Bma.getDelta());
var b=this.jm.getRenderTarget(),f=y,g,k,j=this.tq.length;for(k=0;k<j;k++)if(g=this.tq[k],g.enabled!==y){g.vq=this.vq&&this.Boa(k);g.render(this.jm,this.wC,this.VB,a,f);if(g.ZT){if(f){var h=this.jm.getContext(),n=this.jm.state.buffers.stencil;n.setFunc(h.NOTEQUAL,1,4294967295);this.Dma.render(this.jm,this.wC,this.VB,a);n.setFunc(h.EQUAL,1,4294967295)}this.swapBuffers()}THREE.MaskPass!==m&&(g instanceof THREE.MaskPass?f=p:g instanceof THREE.ClearMaskPass&&(f=y))}this.jm.setRenderTarget(b)},reset:function(a){a===
m&&(a=this.jm.getSize(new THREE.Vector2),this.xk=this.jm.getPixelRatio(),this.T=a.width,this.ca=a.height,a=this.yw.clone(),a.setSize(this.T*this.xk,this.ca*this.xk));this.yw.dispose();this.zw.dispose();this.yw=a;this.zw=a.clone();this.wC=this.yw;this.VB=this.zw},setSize:function(a,b){this.T=a;this.ca=b;var f=this.T*this.xk,g=this.ca*this.xk;this.yw.setSize(f,g);this.zw.setSize(f,g);for(var k=0;k<this.tq.length;k++)this.tq[k].setSize(f,g)},setPixelRatio:function(a){this.xk=a;this.setSize(this.T,this.ca)}});
THREE.Pass=function(){this.ZT=this.enabled=p;this.vq=this.clear=y};Object.assign(THREE.Pass.prototype,{setSize:D(),render:function(){console.error("THREE.Pass: .render() must be implemented in derived pass.")}});THREE.Pass.FullScreenQuad=function(){function a(b){this.mF=new THREE.Mesh(f,b)}var b=new THREE.OrthographicCamera(-1,1,1,-1,0,1),f=new THREE.PlaneBufferGeometry(2,2);Object.defineProperty(a.prototype,"material",{get:function(){return this.mF.material},set:function(a){this.mF.material=a}});
Object.assign(a.prototype,{dispose:function(){this.mF.geometry.dispose()},render:function(a){a.render(this.mF,b)}});return a}();THREE.CustomRenderPass=function(a){THREE.Pass.call(this);this.ypa=a;this.mh=this.pU=q;this.clear=p;this.ZT=this.clearDepth=y};THREE.CustomRenderPass.prototype=Object.assign(Object.create(THREE.Pass.prototype),{constructor:THREE.CustomRenderPass,render:function(a,b,f){b=a.autoClear;a.autoClear=y;this.ypa(a,this.pU,this.mh,this.vq?q:f,this.clear);a.autoClear=b}});THREE.ShaderPass=
function(a,b){THREE.Pass.call(this);this.oC=b!==m?b:"tDiffuse";a instanceof THREE.ShaderMaterial?(this.uniforms=a.uniforms,this.material=a):a&&(this.uniforms=THREE.UniformsUtils.clone(a.uniforms),this.material=new THREE.ShaderMaterial({defines:Object.assign({},a.defines),uniforms:this.uniforms,vertexShader:a.vertexShader,fragmentShader:a.fragmentShader}));this.kI=new THREE.Pass.FullScreenQuad(this.material)};THREE.ShaderPass.prototype=Object.assign(Object.create(THREE.Pass.prototype),{constructor:THREE.ShaderPass,
render:function(a,b,f){this.uniforms[this.oC]&&(this.uniforms[this.oC].value=f.texture);this.kI.material=this.material;this.vq?a.setRenderTarget(q):(a.setRenderTarget(b),this.clear&&a.clear(a.Hsa,a.Isa,a.Jsa));this.kI.render(a)}});THREE.SavePass=function(a){THREE.Pass.call(this);THREE.CopyShader===m&&console.error("THREE.SavePass relies on THREE.CopyShader");var b=THREE.CopyShader;this.oC="tDiffuse";this.uniforms=THREE.UniformsUtils.clone(b.uniforms);this.material=new THREE.ShaderMaterial({uniforms:this.uniforms,
vertexShader:b.vertexShader,fragmentShader:b.fragmentShader});this.renderTarget=a;this.renderTarget===m&&(this.renderTarget=new THREE.WebGLRenderTarget(window.innerWidth,window.innerHeight,{minFilter:THREE.LinearFilter,magFilter:THREE.LinearFilter,format:THREE.RGBFormat,stencilBuffer:y}),this.renderTarget.texture.name="SavePass.rt");this.ZT=y;this.kI=new THREE.Pass.FullScreenQuad(this.material)};THREE.SavePass.prototype=Object.assign(Object.create(THREE.Pass.prototype),{constructor:THREE.SavePass,
render:function(a,b,f){this.uniforms[this.oC]&&(this.uniforms[this.oC].value=f.texture);a.setRenderTarget(this.renderTarget);this.clear&&a.clear();this.kI.render(a)}});return a});
define("cY","require,jquery.mod,hb,iI,cw,U,ew,k,eP,bd".split(","),function(a){function b(){this.v=c("<div/>");this.v.css({position:"absolute",left:0,top:0,right:0,bottom:0,"z-index":0,cursor:"inherit"});this.tf=new THREE.PerspectiveCamera(90,16/9,0.1,2*j.Gf);this.tf.layers.enable(g.ha);this.WD=new THREE.PerspectiveCamera;this.mv=new THREE.Scene;window.pU=this.mv;window.hsa=THREE;this.mv.add(this.tf);this.g=q;this.ds=0;this.ws=this.vf=this.nR=this.AS=q}var c=a("jquery.mod"),d=a("hb"),f=a("iI"),g=a("cw"),
k=a("U"),j=a("ew"),h=a("k"),n=a("eP"),e=a("bd");b.prototype.$v=P("WD");b.prototype.ina=function(){return this.vf.fov(this.tf)};b.prototype.getPixelRatio=function(){return this.g.getPixelRatio()};b.prototype.fb=P("v");b.prototype.lna=function(){return this.g?this.g.domElement.width:this.v.width()};b.prototype.kna=function(){return this.g?this.g.domElement.height:this.v.height()};b.prototype.update=function(a){this.Ela(a);this.pla(a);this.jla(a);this.Cla(a)};b.prototype.render=function(){this.fv()};
b.prototype.Ela=function(a){if(a.enabled){this.ds=(new Date).getTime();this.g||this.Mja(a)}};b.prototype.Mja=function(a){if(!this.g&&a.enabled){for(;l.length>=r;){l.sort(function(a,b){return a.ds-b.ds});l[0].yba()}l.push(this);var b=this.fb().get(0),c={precision:"mediump",alpha:p};if(l.length==1&&a.Lb){a=e.mt();c.context=a;c.canvas=a.canvas}else{c.canvas=document.createElement("canvas");c.context=n.g6(c.canvas)}this.g=new THREE.WebGLRenderer(c);this.g.setClearColor(0,0);b.appendChild(this.g.domElement);
this.ws=new h(this.g,function(a,b,c,e,d){this.vf.render(b,e,d)}.bind(this));this.nR=new k.a$(this.g,this.tf);this.p4=new k.q$(this.g,this.tf);this.AS=new k.v$(this.g,this.tf);e.Lv(this.g.getContext())}};b.prototype.yba=function(){if(this.g){l.splice(l.indexOf(this),1);this.vf=this.nR=this.AS=q;this.ws.destroy();this.ws=q;e.QI(this.g.getContext());this.fb().get(0).removeChild(this.g.domElement);this.g.dispose();this.g=q}};b.prototype.jla=function(a){this.tf.quaternion.copy(f.t6(a.qa,a.pitch,a.cd));
this.tf.fov=d.wj(a.Uc,a.width,a.height);this.tf.aspect=a.width/a.height;this.tf.updateProjectionMatrix();this.tf.updateMatrixWorld();this.vf&&this.vf.cV();this.vf&&this.WD.copy(this.vf.mh());this.WD.updateProjectionMatrix();this.WD.updateMatrixWorld()};b.prototype.pla=function(a){var b=a.Lb?this.AS:a.vh>0?this.p4:this.nR;if(this.vf!=b){this.vf&&this.vf.stop(this.mv);(this.vf=b)&&this.vf.start(this.mv)}if(this.vf){this.vf.setSize(a.width,a.height);this.vf==this.p4&&this.vf.yt(a.vh)}};b.prototype.Cla=
function(a){this.ws&&this.ws.J8(a.HI)};b.prototype.fv=function(){this.ws&&this.ws.render(this.mv,this.tf)};var l=[],r=10;return b});
define("fS",["require","hp","dZ","eP"],function(a){var b=a("hp"),c=a("dZ"),d=a("eP"),a=b.extend(c,function(){c.call(this);this.N=this.Va=q;this.Tb=[];this.DH=y;this.az=q;this.Sh=[this];this.Ml={};this.il={};this.ly=y;this.qQ={};this.rQ={};this.hl(["blendingActive"]);this.U$();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",y);this.set("index",0)});
a.prototype.U$=function(){var a="alpha,deltaYaw,deltaPitch,deltaRoll,translationX,translationY,translationZ".split(",");Array.isArray(a)||(a=[a]);a.forEach(function(a){this.qQ[a]=p}.bind(this))};a.prototype.hl=function(a){Array.isArray(a)||(a=[a]);a.forEach(function(a){this.rQ[a]=p}.bind(this))};a.prototype.set=function(a,b){this.Ml[a]!==b&&(this.rQ[a]&&this.Tb.forEach(function(c){c.set(a,b)}),this.oaa(a,b),this.UQ(a))};a.prototype.get=function(a){return this.Ml[a]};a.prototype.UQ=function(a){this.il[a]||
(this.il[a]=p,this.ly||(this.ly=p,this.Db()),this.qQ[a]&&this.Tb.forEach(function(b){b.UQ(a)}))};a.prototype.Aba=function(){this.ly&&(this.ly=y,this.il={})};a.prototype.B=function(){if(this.ly)for(var a=0;a<arguments.length;a++)if(this.il[arguments[a]])return p;return y};a.prototype.oaa=function(a,b){this.Ml[a]=b};a.prototype.Qa=P("Tb");a.prototype.th=function(a){for(var b=a||[],c=this.Tb.slice(),a=b.length!=c.length,d=0;d<b.length&&!a;d++)a=b[d]!=c[d];a&&(a=c.filter(function(a){return-1==b.indexOf(a)}),
d=b.filter(function(a){return-1==c.indexOf(a)}),this.Tb=b,a.forEach(function(a){a.QG(q)}),d.forEach(function(a){a.remove();a.QG(this)}.bind(this)),this.Db())};a.prototype.QG=function(a){this.N!=a&&(this.N&&this.ei(),(this.N=a)&&this.Qj(),this.ZQ(this.N&&this.N.Va))};a.prototype.Qj=function(){for(var a in this.N.qQ)this.UQ(a);for(a in this.N.rQ)this.set(a,this.N.get(a))};a.prototype.ei=D();a.prototype.ZQ=function(a){this.Va!=a&&(a||this.Pb(),(this.Va=a)&&this.Hb(),this.Tb.forEach(function(a){a.ZQ(this.Va)}.bind(this)))};
a.prototype.Hb=function(){this.jaa()};a.prototype.Pb=function(){this.$ha()};a.prototype.jaa=function(){this.Sh.forEach(function(a){this.Va.az.add(a,this)}.bind(this))};a.prototype.$ha=function(){this.Sh.forEach(function(a){this.Va.az.remove(a,this)}.bind(this))};a.prototype.tj=function(){this.N&&this.N.OS(this)};a.prototype.OS=function(a){var b=this.Tb.indexOf(a);-1==b&&i("Child not found");b!=this.Tb.length-1&&(this.Tb.splice(b,1),this.Tb.push(a),this.Db())};a.prototype.Xma=function(a){var b=this.Tb.indexOf(a);
-1==b&&i("Child not found");this.Tb.splice(b,1);a.QG(q);this.Db()};a.prototype.appendChild=function(a){a.remove();this.Tb.push(a);a.QG(this);this.Db()};a.prototype.remove=function(){this.N&&this.N.Xma(this)};a.prototype.zi=D();a.prototype.Db=function(){this.DH||(this.DH=p,this.N&&this.N.Db(this))};a.prototype.Fba=function(){this.DH=y};a.prototype.G=function(){this.h5();this.B("translationX","translationY","translationZ")&&(this.set("composedTranslationX",this.get("translationX")+(this.N?this.N.get("composedTranslationX"):
0)),this.set("composedTranslationY",this.get("translationY")+(this.N?this.N.get("composedTranslationY"):0)),this.set("composedTranslationZ",this.get("translationZ")+(this.N?this.N.get("composedTranslationZ"):0)));this.B("deltaYaw","deltaPitch","deltaRoll")&&(this.set("composedDeltaYaw",this.get("deltaYaw")+(this.N?this.N.get("composedDeltaYaw"):0)),this.set("composedDeltaPitch",this.get("deltaPitch")+(this.N?this.N.get("composedDeltaPitch"):0)),this.set("composedDeltaRoll",this.get("deltaRoll")+(this.N?
this.N.get("composedDeltaRoll"):0)),d.v7())};a.prototype.h5=function(){this.B("alpha")&&this.set("composedAlpha",this.get("alpha")*(this.N?this.N.get("composedAlpha"):1))};return a});
define("ig","require,hp,jq,dZ,cR,I".split(","),function(a){function b(a,b){return a.reduce(function(a,c){return a?p:!!(b.layers.mask&c.layers.mask)},y)}function c(a){a=g(a).loaded;return a===m?y:a}function d(a){a=g(a).dma;return a===m?p:a}function f(a){a=g(a).oma;return a===m?y:a}function g(a){return a.userData.Voa||(a.userData.Voa={})}var k=a("hp"),j=a("jq"),h=a("dZ"),n=a("cR"),e=a("I"),a=k.extend(h,function(){h.call(this);this.k=m;this.cP=y});a.prototype.update=function(a){var b=a.Lb&&this.k&&!this.k.Lb;
this.k=a.clone();this.cP||(b?this.Oea():this.vla())};a.prototype.vla=function(){var a=y,h=e.fT(this.k.ze),g=e.cm(this.k.ze);n.fI(g,n.Ft,m).forEach(function(c){var e=b(h,c)&&n.dT(c)>0&&d(c);if(c.visible!=e){c.visible=e;a=p}});var g=n.p6(g,n.Ft,m),g=n.Y6(g,n.Et),k;for(k in g){var t=g[k],u=h.map(R(y));t.sort(function(a,b){return n.V6(b)-n.V6(a)});var v=t.some(f);t.forEach(function(e){var f=b(h,e)&&n.dT(e)>0&&d(e)&&(!v||c(e));if(f){for(var f=p,g=v||c(e)&&n.dT(e)>0.999,j=0;j<h.length;j++)if(e.layers.mask&
h[j].layers.mask&&!u[j]){f=y;g&&(u[j]=p)}f=!f}if(e.visible!=f){e.visible=f;a=p}})}a&&this.trigger(j.U)};a.prototype.Oea=function(){this.cP=p;e.cm(this.k.ze).forEach(function(a){a.visible=y});setTimeout(function(){this.cP=y;this.update(this.k)}.bind(this),300);this.trigger(j.U)};a.EU=function(a,b){g(a).loaded=b};a.setActive=function(a,b){g(a).dma=b};a.Lpa=function(a,b){n.Ef(a,function(a){g(a).oma=b})};return a});
define("gL","require,hp,jq,fh,dZ,ig,bG,cR,I,t".split(","),function(a){function b(a){return(a=a.userData.Dj)&&!(!a.UT&&!a.RT)}function c(a){return a.userData.Dj||(a.userData.Dj={})}function d(a){return c(a).Bt}function f(a){return c(a).enabled||y}function g(a){return!d(a).OT()}var k=a("hp"),j=a("jq");a("fh");var h=a("dZ"),n=a("ig"),e=a("bG"),l=a("cR"),r=a("I"),o=a("t"),s=k.extend(h,function(){h.call(this);this.Ku=[];this.lp=[];this.Qt=[];this.k=m;this.Kl=q;this.aq=this.aq.bind(this)});s.prototype.update=
function(a){this.k=a.clone();this.ela()?this.aq():this.n5()};s.prototype.n5=function(){if(!this.Kl)this.Kl=setTimeout(this.aq,1E3)};var t=Math.PI/180;s.prototype.ela=function(){var a=this.k.vh>0?1E3:this.k.kB/Math.tan(Math.min(this.k.Te*0.5,89.99)*t);o.Na()||(a=a*1.5);var e=r.fT(this.k.ze),d=r.cm(this.k.ze).filter(b),h=d.filter(f),g={},g=l.p6(h,l.Ft,m),g=l.Y6(g,l.Ft);g.none=l.fI(h,l.Ft,m);var h=[],j;for(j in g)for(var k=g[j],u=0,F=k.length;u<F;u++){var J=k[u];(c(J).UT||s.TC)==s.tm&&h.push(J)}for(var I=
0,K=e.length;I<K;I++){var L=e[I];for(j in g){for(var k=g[j],O=q,M=Number.NEGATIVE_INFINITY,E=q,Q=Number.POSITIVE_INFINITY,u=0,F=k.length;u<F;u++){J=k[u];if(J.layers.mask&L.layers.mask&&(c(J).UT||s.TC)==s.TC){var H=c(J).bpa*90;if(H<a&&H>M){O=J;M=H}else if(H>=a&&H<Q){E=J;Q=H}}}if(this.k.Lb&&E&&O)M>0.75*a?h.push(O):h.push(E);else{E&&h.indexOf(E)<0&&h.push(E);O&&h.indexOf(O)<0&&h.push(O)}}}a=[];for(e=0;e<h.length;e++){j=h[e];a.indexOf(j)<0&&a.push(j)}h=a;a:{a=this.Qt;e=h;for(j=0;j<a.length;j++)if(e.indexOf(a[j])<
0){a=y;break a}for(j=0;j<e.length;j++)if(a.indexOf(e[j])<0){a=y;break a}a=p}a=!a;this.Qt=h;u=0;for(F=d.length;u<F;u++){J=d[u];f(J)&&n.setActive(J,this.Qt.indexOf(J)>=0)}return a};s.prototype.aq=function(){this.Kl=q;for(var a=[],b=[],e=[],d=(new Date).getTime()-u,h=r.fT(this.k.ze),f=r.cm(this.k.ze),o=0,n=f.length;o<n;o++){var k=f[o],t=k.userData.Dj;if(t){var I=l.nq(k);if(t.enabled){var K=[];if(this.Qt.indexOf(k)>=0){if(this.k.vh>0||(c(k).RT||s.kK)==s.cl)K=I;else for(var L=0,O=h.length;L<O;L++){var M=
l.Hna(k,h[L]);if(L==0)K=M;else for(var E=0,Q=M.length;E<Q;E++){var H=M[E];K.indexOf(H)<0&&K.push(H)}}E=0;for(Q=K.length;E<Q;E++){H=K[E];(H.userData.Dj||(H.userData.Dj={})).K7=d}}this.tL(k,K);E=0;for(Q=t.Tk.length;E<Q;E++)a.push(t.Tk[E]);E=0;for(Q=t.io.length;E<Q;E++)b.push(t.io[E])}else{t.io||this.tL(k,[]);E=0;for(Q=t.io.length;E<Q;E++){H=t.io[E];t.Tk.indexOf(H)<0&&b.push(H)}}E=0;for(Q=I.length;E<Q;E++)e.push(I[E])}}o=[];E=0;for(Q=this.lp.length;E<Q;E++){H=this.lp[E];e.indexOf(H)<0?H.userData.Dj.Bt.unload():
g(H)?this.XQ(H,y):o.push(H)}this.lp=o;E=Math.max(s.P7(),Math.round(b.length*1.25))-a.length;if(this.lp.length>E){this.lp.sort(function(a,b){return c(a).K7-c(b).K7});o=this.lp.splice(0,this.lp.length-E);E=0;for(Q=o.length;E<Q;E++){H=o[E];H.userData.Dj.Bt.unload();this.XQ(H,y)}}b=[];o=0;for(n=this.Qt.length;o<n;o++){k=this.Qt[o];t=k.userData.Dj;t.Tk.length>0&&b.push(k)}e=Number.POSITIVE_INFINITY;o=0;for(n=b.length;o<n;o++){k=b[o];t=k.userData.Dj;E=t.Ve;E=E!==m?E:Number.POSITIVE_INFINITY;E<e&&(e=E)}a=
[];o=0;for(n=b.length;o<n;o++){k=b[o];t=k.userData.Dj;E=t.Ve;E=E!==m?E:Number.POSITIVE_INFINITY;if(E==e){M=t.Tk;E=0;for(Q=M.length;E<Q;E++){H=M[E];a.push(H)}}}E=0;for(Q=this.Ku.length;E<Q;E++){H=this.Ku[E];if(a.indexOf(H)<0){H=H.userData.Dj.Bt;H.unbind(j.R,this.AR,this,p);H.unbind(j.od,this.BR,this,p);H.wma()}}o=this.Ku;this.Ku=a;n=this.Ku.slice();E=0;for(Q=n.length;E<Q;E++){H=n[E];if(o.indexOf(H)<0){H=H.userData.Dj.Bt;H.bind(j.R,this.AR,this,p);H.bind(j.od,this.BR,this,p);H.load()}}};s.prototype.AR=
function(a){this.F4(a.source);this.trigger(j.R)};s.prototype.BR=function(a){this.F4(a.source)};s.prototype.F4=function(a){a.unbind(j.R,this.AR,this,p);a.unbind(j.od,this.BR,this,p);var b=a.material(),e=this.Ku,d=e.indexOf(b);d>=0&&e.splice(d,1);this.lp.push(b);this.XQ(b,p);a=a.TT();c(a).Tk.indexOf(b)>=0&&this.tL(a,c(a).io);this.n5()};s.prototype.tL=function(a,b){var e=c(a).io,e=e?e.length:m,d=c(a).Tk,d=d?d.length:m;c(a).io=b;c(a).Tk=b.filter(g);n.EU(a,c(a).Tk.length==0&&(c(a).RT||s.kK)==s.cl);var h=
c(a).io,h=h?h.length:m,f=c(a).Tk,f=f?f.length:m;if(d!==f||e!==h)a.dispatchEvent({type:j.dc,rh:h?100-100*f/h:100});d!==f&&f===0&&a.dispatchEvent({type:j.R})};s.prototype.XQ=function(a,c){if(c!=a.visible){var h=e.H6(a),f=l.getAttribute(h,l.Et),g=l.getAttribute(h,l.oJ);if(f===m||g===m)a.visible=c;else{for(var j=r.cm(this.k.ze).filter(b),f=l.fI(j,l.Et,f),g=l.fI(f,l.oJ,g),o=l.nq(h).indexOf(a),h=g.map(function(a){return l.nq(a)[o]}),g=c,f=0;f<h.length&&g;f++)g=g&&d(h[f]).OT();for(f=0;f<h.length;f++)h[f].visible=
g}}};s.P7=function(){var a;if(o.Na()){o.ud();a=384}else a=1536;a=128;s.P7=function(){return a};return a};s.wd=function(a,b){l.Ef(a,function(a){c(a).enabled=b})};s.enabled=f;s.kC=function(a,b){l.Ef(a,function(a){c(a).bpa=b})};s.cl="all";s.kK="in view";s.Aq=function(a,b){l.Ef(a,function(a){c(a).RT=b})};s.tm="always";s.TC="on demand";s.Bq=function(a,b){l.Ef(a,function(a){c(a).UT=b})};s.ZI=function(a,b){l.Ef(a,function(a){c(a).Ve=b})};s.hC=function(a,b){l.Ef(a,function(a){c(a).rta=b;l.nq(a).forEach(function(a){d(a).vqa(b)})})};
s.nta=function(a){return 100-100*c(a).Tk.length/c(a).io.length};s.mta=function(a){return c(a).Tk.length==0};s.nm=function(a,b){(c(a).Bt=b)&&(a.visible=b.OT())};s.Bt=d;var u=(new Date).getTime();return s});
define("f","require,hp,fS,cR,I,gL,ig".split(","),function(a){var b=a("hp"),c=a("fS"),d=a("cR"),f=a("I"),g=a("gL"),k=a("ig"),a=b.extend(c,function(){c.call(this);this.set("tag","WebGLObject");this.set("zOrder",0);this.set("webglScene",q);this.set("meshGroup",q);this.set("camera",q)});a.prototype.jl=function(){return[]};a.prototype.Pb=function(){d.dispose(this.get("meshGroup"));d.Q8(this.get("meshGroup"),q);this.set("meshGroup",q);c.prototype.Pb.call(this)};a.prototype.G=function(a){c.prototype.G.call(this,
a);this.set("camera",f.$v(a.ze));this.set("webglScene",a.ze);if(!this.get("meshGroup")){this.set("meshGroup",d.Ema(this.jl()));this.get("meshGroup").userData.vta=this}this.B("webglScene","meshGroup")&&d.Q8(this.get("meshGroup"),this.get("webglScene"));this.On();this.Gv(a);this.lS();this.B("loadingActive","meshGroup")&&g.wd(this.get("meshGroup"),this.get("loadingActive"));this.B("blendingActive","meshGroup")&&k.Lpa(this.get("meshGroup"),this.get("blendingActive"))};a.prototype.On=function(){this.B("composedAlpha",
"meshGroup")&&this.pr()};a.prototype.pr=function(){d.Vc(this.get("meshGroup"),this.get("composedAlpha"))};a.prototype.Gv=function(){i("Must be overridden in descendants.")};a.prototype.lS=function(){if(this.B("index","meshGroup")){var a=this.get("meshGroup");a&&a.children.forEach(function(a,b,c){d.QU(a,this.get("index")+b/c.length)}.bind(this))}};return a});
define("cb","require,hp,jq,fh,dZ,bG,iN".split(","),function(a){var b=a("hp"),c=a("jq"),d=a("fh"),f=a("dZ"),g=a("bG"),k=a("iN"),j=b.extend(f,function(){f.call(this);this.nf=m;this.$f=k.createTexture();this.k=j.ax;this.Jy=d.dl});j.prototype.type=P("nf");j.prototype.texture=P("$f");j.prototype.material=function(){return this.$f&&k.vT(this.$f)};j.prototype.TT=function(){var a=this.$f&&k.vT(this.$f);return a&&g.H6(a)};j.prototype.vqa=N("Jy");j.prototype.load=function(){if(this.k==j.ax){this.k=j.$C;this.BL()}};
j.prototype.wma=function(){if(this.Qoa()){this.k==j.$C?this.fH():this.kA();this.k=j.ax}};j.prototype.unload=function(){if(this.k!=j.ax){this.k==j.$C?this.fH():this.k==j.AK?this.kA():this.$p();this.k=j.ax}};j.prototype.BL=D();j.prototype.fH=D();j.prototype.zL=D();j.prototype.kA=D();j.prototype.$p=function(){k.Ama(this.texture)};j.prototype.Qoa=function(){return this.k==j.$C||this.k==j.AK};j.prototype.OT=function(){return this.k==j.zK||this.k==j.zW};j.prototype.dispose=function(){k.dispose(this.$f);
this.$f=q};j.prototype.Ou=function(a){this.k=a?j.AK:j.zW;a?this.zL():this.trigger(c.od)};j.prototype.N0=function(){this.k=j.zK;this.trigger(c.R)};j.ax="initial";j.$C="loading";j.AK="adding";j.zW="error loading";j.zK="added";j.s$="custom";j.t$="image tile";j.isa="image animation";j.jsa="video 360";return j});
define("dm","require,hp,jq,bE,hl,iN,cb".split(","),function(a){var b=a("hp"),c=a("jq"),d=a("bE"),f=a("hl"),g=a("iN"),k=a("cb"),a=b.extend(k,function(a){k.call(this);this.nf=k.s$;this.Eb=a;if(!this.Eb)this.k=k.zK;this.Gd=this.Ed=q;this.lL=this.SA=m});a.prototype.Hg=function(a){this.Gd=a;g.hJ(this.$f,this.Gd);this.Gd&&this.SA!==m&&g.iJ(this.Gd,this.SA,this.lL)};a.prototype.iJ=function(a,b){if(this.SA!==a){this.SA=a;this.lL=b;this.Gd&&g.iJ(this.Gd,this.SA,this.lL)}};a.prototype.Id=function(){return f.Id(this.Eb)};
a.prototype.update=function(){g.hJ(this.$f,this.Gd)};a.prototype.BL=function(){this.Eb?this.vM():this.Ou(p)};a.prototype.fH=function(){this.Qm()};a.prototype.zL=function(){this.N0()};a.prototype.$p=function(){this.Qm()};a.prototype.dispose=function(){this.Qm();k.prototype.dispose.call(this)};a.prototype.gf=function(){this.Ou(p)};a.prototype.rp=function(){this.Ou(y)};a.prototype.vM=function(){if(!this.Ed){this.Ed=new d;this.Ed.T8([this.Eb]);this.Ed.bind(c.R,this.gf,this,p);this.Ed.bind(c.od,this.rp,
this,p);f.bo(this.Ed,this.Jy)}};a.prototype.Qm=function(){if(this.Ed){this.Ed.unbind(c.R,this.gf,this,p);this.Ed.unbind(c.od,this.rp,this,p);f.Ci(this.Ed,this.Jy);this.Ed=q}};return a});
define("gB",["require","hb","X","hO"],function(a){var b=a("hb"),c=a("X"),d=a("hO"),f=180/Math.PI,g=Math.PI/180;return{jT:function(a,b,h,f,e,g,r){b||(b=a*f/h);e||(e=d.sm);var o={};switch(e){case d.sm:o.width=a;o.height=b;break;case d.NONE:o.width=h;o.height=f;break;case d.ie:o.width=Math.min(b*h/f,a);o.height=Math.min(a*f/h,b);break;case d.bl:o.width=Math.max(b*h/f,a);o.height=Math.max(a*f/h,b);break;case d.Mj:o.width=a;o.height=a*f/h;break;case d.mg:o.width=b*h/f,o.height=b}o.width>a?(o.oo=a/o.width,
o.sC=g==c.ha?0:g==c.Ea?1-o.oo:0.5*(1-o.oo),o.width=a):(o.sC=0,o.oo=1);o.height>b?(o.po=b/o.height,o.vC=r==c.Ya?1-o.po:r==c.Xa?0:0.5*(1-o.po),o.height=b):(o.vC=0,o.po=1);return o},sT:function(a,j,h,n,e,l,r,o){j||(j=b.wj(a,h,n));e||(e=d.sm);l||(l=4096/360);var s={};switch(e){case d.sm:s.Uc=a;s.Xk=j;break;case d.NONE:s.Uc=2*Math.atan2(0.5*h,45*l)*f;s.Xk=b.wj(s.Uc,h,n);break;case d.ie:s.Uc=Math.min(b.om(j,h,n),a);s.Xk=Math.min(b.wj(a,h,n),j);break;case d.bl:s.Uc=Math.max(b.om(j,h,n),a);s.Xk=Math.max(b.wj(a,
h,n),j);break;case d.Mj:s.Uc=a;s.Xk=b.wj(a,h,n);break;case d.mg:s.Uc=b.om(j,h,n),s.Xk=j}s.Uc>a?(s.oo=Math.tan(0.5*a*g)*h/Math.tan(0.5*s.Uc*g)/h,s.sC=r==c.ha?0:r==c.Ea?1-s.oo:0.5*(1-s.oo),s.Uc=a):(s.sC=0,s.oo=1);s.Xk>j?(s.po=Math.tan(0.5*j*g)*n/Math.tan(0.5*s.Xk*g)/n,s.vC=o==c.Ya?1-s.po:o==c.Xa?0:0.5*(1-s.po),s.Xk=j):(s.vC=0,s.po=1);return s}}});
define("gg","require,hp,fh,ew,bG,cR,f,dm,gB,gL,hb,iI,X".split(","),function(a){var b=a("hp"),c=a("fh"),d=a("ew"),f=a("bG"),g=a("cR"),k=a("f"),j=a("dm"),h=a("gB"),n=a("gL"),e=a("hb"),l=a("iI"),r=a("X"),o=new THREE.Matrix4,s=Math.PI/180,t=b.extend(k,function(){k.call(this);this.set("tag","Plane");this.set("distance",m);this.set("textureSource",q);this.set("rotationX",0);this.set("rotationY",0);this.set("rotationZ",0);this.set("yaw",0);this.set("pitch",0);this.set("roll",0);this.set("scale",1);this.set("contentWidth",
100);this.set("contentHeight",100);this.set("hfov",m);this.set("vfov",q);this.set("scaleMode",q);this.set("horizontalAlign",q);this.set("verticalAlign",q);this.set("attachToCamera",y);this.set("materialConfig",this.hk=new f.Fj);this.by=this.rM();this.Ik=new THREE.Matrix4;this.wf=new THREE.Matrix4;this.vs=new THREE.Matrix4;this.Rm=new THREE.Matrix4;this.Ck=new THREE.Matrix4;this.vL=new THREE.Matrix4;this.WX=new THREE.Quaternion;this.ZY=new THREE.Matrix4;this.Ax=new THREE.Matrix4;this.Lx=new THREE.Matrix4;
this.Fo=new THREE.Matrix4;this.Ee=new THREE.Matrix4});t.Gq=0;t.pm=1;t.prototype.G=function(a){k.prototype.G.call(this,a);this.NA();this.hS()};t.prototype.NA=function(){if(this.B("textureSource")||this.B("materialConfig")&&!this.hk.isEqual(this.get("materialConfig"))){var a=this.get("meshGroup");if(a){a=g.cm(a)[t.pm];g.HU(a,this.Ox());this.pr()}}};t.prototype.hS=function(){if(this.B("hfov","vfov","contentWidth","contentHeight","panoramaPixelsPerDegree","scaleMode","horizontalAlign","verticalAlign")){var a=
h.sT(this.get("hfov"),this.get("vfov"),this.get("contentWidth"),this.get("contentHeight"),this.get("scaleMode"),this.get("panoramaPixelsPerDegree"),this.get("horizontalAlign"),this.get("verticalAlign"));d.N8(this.by[t.pm],a.sC,a.vC,a.oo,a.po)}};t.prototype.jl=function(){return[t.Gq,t.pm].map(function(a){var b=a==t.Gq?this.mM():this.Ox(),a=g.create(this.by[a],b);n.Aq(a,n.cl);n.Bq(a,n.tm);n.hC(a,c.uK);n.ZI(a,1);return a}.bind(this))};t.prototype.Ox=function(){var a=this.get("textureSource")||new j;
this.hk=this.get("materialConfig");var b=f.Mk(a.texture(),this.hk);n.nm(b,a);return[b]};t.prototype.mM=function(){var a=new j,b=f.Mk(a.texture());n.nm(b,a);return[b]};t.prototype.rM=function(){return[d.qB(),d.qB()]};t.prototype.ck=function(a){return g.nT(this.get("meshGroup"),a)};t.prototype.Gv=function(a){var b=y;if(this.B("composedTranslationX","composedTranslationY","composedTranslationZ")){this.Ik.makeTranslation(-this.get("composedTranslationX")*0.5*d.Gf,this.get("composedTranslationY")*0.5*
d.Gf,this.get("composedTranslationZ")*0.5*d.Gf);b=p}if(this.B("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")){this.wf.makeRotationY(-a.qa*s);this.wf.multiply(o.makeRotationX(-this.get("composedDeltaPitch")*s));this.wf.multiply(o.makeRotationY(this.get("composedDeltaYaw")*s));this.wf.multiply(o.makeRotationY(a.qa*s));b=p}if(this.B("yaw","pitch")){this.vs.makeRotationY(-this.get("yaw")*s);this.vs.multiply(o.makeRotationX(this.get("pitch")*s));b=p}if(this.B("distance","flipHorizontally",
"scale","hfov","vfov","contentWidth","contentHeight","scaleMode","horizontalAlign","verticalAlign","composedTranslationX","composedTranslationY","composedTranslationZ")){var c=this.N.get("composedTranslationX")==0&&this.N.get("composedTranslationY")==0&&this.N.get("composedTranslationZ")==0&&this.get("distance")!==m?d.gw(this.get("distance")):d.lq();this.Rm.makeTranslation(0,0,-c);var f=this.get("contentWidth"),j=this.get("contentHeight"),n=this.get("hfov"),k=this.get("vfov")||e.wj(n,f,j),G=(this.get("flipHorizontally")?
-1:1)*this.get("scale"),A=this.get("scale"),F=this.get("scaleMode"),J=this.get("panoramaPixelsPerDegree"),b=this.get("horizontalAlign")||r.tc,I=this.get("verticalAlign")||r.cc,f=h.sT(n,k,f,j,F,J,b,I),n=G*d.tT(c,n),k=A*d.uT(c,k);this.Ax.makeScale(n,k,1);G=G*d.tT(c,f.Uc);c=A*d.uT(c,f.Xk);this.Lx.makeScale(G,c,1);this.ZY.makeTranslation(b==r.ha?-(n-G)*0.5:b==r.Ea?(n-G)*0.5:0,I==r.Ya?(k-c)*0.5:I==r.Xa?-(k-c)*0.5:0,0);b=p}if(this.B("rotationX","rotationY","rotationZ","roll")){this.Ck.makeRotationZ(this.get("roll")*
s);this.Ck.multiply(o.makeRotationY(this.get("rotationY")*s));this.Ck.multiply(o.makeRotationX(this.get("rotationX")*s));this.Ck.multiply(o.makeRotationZ(this.get("rotationZ")*s));b=p}this.set("cameraYaw",a.qa);this.set("cameraPitch",a.pitch);this.set("cameraRoll",a.cd);if(this.get("attachToCamera")&&this.B("cameraYaw","cameraPitch","cameraRoll")){this.WX.copy(l.t6(a.qa,a.pitch,a.cd));this.vL.makeRotationFromQuaternion(this.WX);b=p}else if(this.B("attachToCamera")){this.vL.identity();b=p}if(b||this.B("meshGroup")){this.Ee.copy(this.Ik);
this.Ee.multiply(this.wf);this.Ee.multiply(this.vL);this.Ee.multiply(this.vs);this.Ee.multiply(this.Rm);this.Ee.multiply(this.Ck);this.Fo.copy(this.Ee);this.Fo.multiply(this.Ax);this.Ee.multiply(this.ZY);this.Ee.multiply(this.Lx);a=g.cm(this.get("meshGroup"));g.Vl(a[t.Gq],this.Fo);g.Vl(a[t.pm],this.Ee)}};return t});
define("cz","require,hp,jq,dZ,iN,S".split(","),function(a){function b(){if(!n){n=p;j.Ba(c,q)}}function c(){for(n=y;h.length;){var a=h.shift();a.add();if(a.Uoa())break}h.length&&b()}var d=a("hp"),f=a("jq"),g=a("dZ"),k=a("iN"),j=a("S"),h=[],n=y,e=d.extend(g,function(a,b){g.call(this);this.texture=a;this.source=b});e.prototype.Uoa=function(){return!this.source.AX&&k.sma(this.source)};e.prototype.j6=function(){if(!this.source.AX){k.j6(this.source);this.source.AX=p}};e.prototype.add=function(){k.hJ(this.texture,
this.source);this.trigger(f.R)};e.prototype.remove=function(){var a=h.indexOf(this);a>=0&&h.splice(a,1);k.hJ(this.texture,q)};return{add:function(a,c){var d=new e(a,c);h.push(d);b();return d}}});
define("ik","require,hp,jq,bE,hl,cz,cb".split(","),function(a){var b=a("hp"),c=a("jq"),d=a("bE"),f=a("hl"),g=a("cz");TextureSource=a("cb");a=b.extend(TextureSource,function(a){TextureSource.call(this);this.nf=TextureSource.t$;this.Eb=a;this.Gd=this.cv=this.Ed=q});a.prototype.Id=P("Gd");a.prototype.BL=function(){this.vM()};a.prototype.fH=function(){this.Qm()};a.prototype.zL=function(){this.pca()};a.prototype.kA=function(){this.Qm();this.VM()};a.prototype.$p=function(){this.Qm();this.VM()};a.prototype.dispose=
function(){this.Qm();this.VM();TextureSource.prototype.dispose.call(this)};a.prototype.gf=function(){this.Gd=f.Id(this.Eb);this.Ou(p)};a.prototype.rp=function(){this.Ou(y)};a.prototype.O0=function(){this.N0()};a.prototype.vM=function(){if(!this.Ed){this.Ed=new d;this.Ed.T8([this.Eb]);this.Ed.bind(c.R,this.gf,this,p);this.Ed.bind(c.od,this.rp,this,p);f.bo(this.Ed,this.Jy)}};a.prototype.Qm=function(){if(this.Ed){this.Ed.unbind(c.R,this.gf,this,p);this.Ed.unbind(c.od,this.rp,this,p);f.Ci(this.Ed,this.Jy);
this.Ed=q}};a.prototype.pca=function(){this.cv=g.add(this.$f,this.Gd);this.cv.bind(c.R,this.O0,this,p)};a.prototype.VM=function(){if(this.cv){this.cv.unbind(c.R,this.O0,this,p);this.cv.remove();this.cv=q}};return a});
define("fj",["require"],function(){function a(){this.$o=b++;this.My="_map_"+this.$o+"_key";this.UE={};this.pe=[];this.length=0}var b=0;a.prototype.set=a.prototype.add=function(a,b){var f;0>this.pe.indexOf(a)&&this.pe.push(a);if("object"===typeof a&&a!==q){if(f=a[this.My],!f){f=this.My;for(var g=[],k=0;8>k;k++)g.push(Math.floor(16*Math.random()).toString(16));f=a[f]=g.join("")}}else f=a;this.UE[f]=b;this.length=this.pe.length};a.prototype.get=function(a){return this.UE["object"===typeof a&&a!==q?a[this.My]:
a]};a.prototype.e7=function(a){return 0<=this.pe.indexOf(a)};a.prototype.remove=function(a){var b=this.pe.indexOf(a);0>b||(this.pe.splice(b,1),"object"===typeof a&&a!==q?(b=a[this.My],delete a[this.My]):b=a,delete this.UE[b],this.length=this.pe.length)};a.prototype.forEach=function(a){this.pe.slice().forEach(function(b){a(b,this.get(b))}.bind(this))};a.prototype.dispose=function(){for(;this.pe.length;)this.remove(this.pe.pop());this.pe=this.UE=q};return a});
define("gG",["require","hp","dZ","fj"],function(a){function b(){this.ft=[]}var c=a("hp"),d=a("dZ"),f=a("fj"),a=c.extend(d,function(a){d.call(this);this.Bd=a;this.Fc=[];this.Ym=new f;this.aB=[];this.gN=[];this.Nu=this.Nu.bind(this)});a.prototype.md=function(a){this.Fc.forEach(function(a){a.removeEventListener?a.removeEventListener(this.Bd,this.Nu):a.unbind?a.unbind(this.Bd,this.Nu,this,p):i("invalid instance type")}.bind(this));this.Fc=a.slice();this.Fc.forEach(function(a){a.addEventListener?a.addEventListener(this.Bd,
this.Nu):a.bind?a.bind(this.Bd,this.Nu,this,p):i("invalid instance type");this.Ym.e7(a)||this.Ym.set(a,new b)}.bind(this));this.QR()};a.prototype.dispose=function(){this.md([]);this.Fc=q;this.Ym.dispose();this.gN=this.aB=this.Ym=q};a.prototype.Di=function(a){this.aB.push(a);this.QR();return this};a.prototype.Sk=function(a){this.gN.push(a);return this};a.prototype.Tn=function(a){this.Fc.forEach(function(b){a(b,this.Ym.get(b).ft)}.bind(this))};a.prototype.vi=function(a){a=this.Ym.get(a).ft;return 0==
a.length?q:a[a.length-1]};a.prototype.Nu=function(a){var b=a.target||a.source;if(b=this.Ym&&this.Ym.get(b))b.ft.push(a),this.gN.forEach(function(b){b(a,this)}.bind(this)),this.QR()};a.prototype.QR=function(){if(0!=this.Fc.length){for(var a=0;a<this.Fc.length;a++)if(0==this.Ym.get(this.Fc[a]).ft.length)return;this.aB.length&&(a=this.aB.slice(),this.aB=[],a.forEach(function(a){a(this)}.bind(this)))}};return a});
define("eK",["require","hB","t","fo"],function(a){function b(a,b,c){if(c&&a.get("width")>c[0]&&a.get("height")>c[1])return y;if(!b)return p;c=a.get("url");a=a.get("type")||"";switch(b){case g:return f.is(c,f.SW);case k:return f.is(c,f.M9)||(f.is(c,f.mK)||f.is(c,f.NV))&&(0<=(a||"").toLowerCase().indexOf("hev1")||0<=(a||"").toLowerCase().indexOf("h265")||0<=(a||"").toLowerCase().indexOf("heic"))?p:y;case j:return f.is(c,f.mK);case h:return f.is(c,f.Nj);case n:return f.is(c,f.fW);case e:return f.is(c,
f.NV);default:return y}}var c=a("hB"),d=a("t"),f=a("fo"),g="webm",k="h265",j="mp4",h="hls",n="ogv",e="mov",l={xT:function(a){return l.select(a.get("levels"))},select:function(a){a||(a=[]);var a=a.slice(),f=c.Toa,l=[];c.coa&&l.push({type:h,im:m});c.joa&&l.push({type:k,im:f});c.wI&&l.push({type:g,im:f});c.GB&&l.push({type:j,im:f});c.koa&&l.push({type:e,im:f});c.AT&&l.push({type:n,im:f});l.push({type:j,im:f});l.push({type:g,im:f});l.push({type:j,im:m});l.push({type:g,im:m});for(var t=1E3*(d.Na()?800:
5E3),u=0;u<l.length;u++){var v=l[u].type,f=l[u].im,x=a.filter(function(a){if(b(a,v,f))return p});v!=h&&x.sort(function(a,b){return Math.abs(t-a.get("bitrate"))-Math.abs(t-b.get("bitrate"))});if(x.length)return x[0]}return q}};return l});
define("bw",["require","dl"],function(a){var b=a("dl"),c={get:function(a){return a.P$||(a.P$=this.cda(a))},cda:function(a){if(b.tb("CubicPanoramaFrame",a))return a.get("stereoCube")?c.dr:a.get("cube")?c.uo:c.yh;if(b.tb("SphericPanoramaFrame",a)){if(a.get("stereoSphere")){var f=a.get("hfov"),g=a.get("vfov"),k=a.get("stereoSphere").get("levels"),a=Math.max.apply(Math,k.map(function(a){return a.get("width")})),k=Math.max.apply(Math,k.map(function(a){return a.get("height")}));return 2==Math.round(k/g/
(a/f))?c.er:c.Kt}return c.el}},dr:"stereoCube_12_1",uo:"monoCube_6_1",yh:"monoCube_1_1",el:"monoSphere_1_1",er:"stereoSphere_1_2",Kt:"stereoSphere_2_1"};return c});
define("iB","require,dl,hL,eK,cw,ie,bw,gB,hB,t,fo,hO,gP".split(","),function(a){function b(a,b,c){return a.split(b).join(c).split(encodeURI(b)).join(c)}function c(){var a=C.pq()&&URL.Yl("recent_ipad_use_max_res",y);c=function(){return a};return a}function d(a){if(a.length==0)return 1;a.sort(function(a,b){return b.get("width")-a.get("width")});return a[0].get("width")/a[0].get("height")}function f(a,b){var e=1E4;c()||(C.Ue()?e=2048:C.pq()?e=1280:C.Na()&&(e=1024));switch(a){case w.uo:return[6*e,e];
case w.yh:return[e,e];case w.dr:return[12*e,e]}switch(a){case w.er:b=b*2;break;case w.Kt:b=b*0.5}return b>2?[e*4,e*4/b]:[e*2*b,e*2]}function g(a){if(c())return[m,m];switch(a){case w.uo:if(C.Ue()||C.Na())return[18432,1536];break;case w.er:if(C.Ue())return[5352,5352];if(C.Na())return[6086,6086];break;case w.el:if(C.Ue())return[7168,3584];if(C.Na()&&C.pq())return[8192,4096]}return[m,m]}function k(a,b){var c=g(b);return a.filter(function(a){return c[0]!==m&&a.get("width")>c[0]||c[1]!==m&&a.get("height")>
c[1]?y:p})}function j(){if(C.pq())return t.BW;if(C.Ue())return t.EW;if(C.Na())return t.DW}function h(a){a.sort(function(a,b){return a.get("width")-b.get("width")});return a}function n(a,b){function c(a){return Math.abs(a.get("width")*a.get("height")-b[0]*b[1])}a.sort(function(a,b){return c(a)-c(b)});return a.length&&a[0]||q}function e(a,b,c){a=a.filter(function(a){return a.get("tags").indexOf(b)<0});return a.length?a:c!==m?c:[]}function l(a,b,c){a=a.filter(function(a){return a.get("tags").indexOf(b)>=
0});return a.length?a:c!==m?c:[]}function r(a,b){switch(b){case w.dr:return a.get("stereoCube").get("levels");case w.uo:return a.get("cube").get("levels");case w.yh:return a.get("front").get("levels");case w.el:return a.get("sphere").get("levels");case w.er:case w.Kt:return a.get("stereoSphere").get("levels")}}function o(a){for(var b=[],c=0;c<a.length;c++){var e=a[c];b.indexOf(e)<0&&b.push(e)}return b}var s=a("dl"),t=a("hL"),u=a("eK"),v=a("cw"),x=a("ie"),w=a("bw"),z=a("gB");a("hB");var C=a("t");a("fo");
var B=a("hO"),G=a("gP"),A={I6:function(a){a=a.get("frames");if(a.length==0)return 1;var b=a[0],a=w.get(b)==w.el&&s.tb("Video360Resource",b.get("sphere"))?[A.wT(b)]:A.pT(b,y);return Math.max.apply(Math,a.map(function(a){return A.Jna(b,a)}))},Jna:function(a,b){var b=A.iT(a,b,x.FRONT),c=b.get("width"),e=a.fw().get("hfov",360);switch(w.get(a)){case w.dr:return c/1080;case w.uo:return c/540;case w.yh:return c/90;case w.el:return c/e;case w.er:return c/e;case w.Kt:return c/(2*e)}},CT:function(a,b){var c=
A.iw(a,b);return c.length<=6&&c.every(function(a){return G.VU(a)})},iw:function(a,b,c){c||(c=y);if(s.tb("Panorama",a)){c=a.get("flipImageHorizontally",y);return o(Array.prototype.concat.apply([],a.get("frames").map(function(a){return A.iw(a,b,c)})))}if(s.tb("PanoramaFrame",a)){if(w.get(a)==w.el&&s.tb("Video360Resource",a.get("sphere")))return A.iw(A.wT(a),b);var e=A.pT(a,b)[0],c=a.get("flipImageHorizontally",y);if(w.get(a)==w.yh){var d=[x.FRONT,x.ha,x.BACK,x.Ea,x.Ya,x.Xa];return Array.prototype.concat.apply([],
d.map(function(d){return(d=A.iT(a,e,d))?A.iw(d,b,c):[]}))}return A.iw(e,b,c)}if(s.tb("Video360ResourceLevel",a)){var h=a.get("posterURL");return h?[h]:[]}if(s.tb("TiledImageResourceLevel",a)){var f=[],h=Math.round(a.get("width")/a.get("height")),g;if(h==1)g=w.yh;else if(h==12)g=w.Rra;else if(h==6)g=w.uo;else return[];var j=h==12?[v.Ea,v.ha]:[v.Zk],d=[x.Ea,x.ha,x.Ya,x.Xa,x.FRONT,x.BACK],l=a.get("colCount",h)/h,n=a.get("rowCount",1);j.forEach(function(b){d.forEach(function(e){for(var d=0;d<n;d++)for(var h=
0;h<l;h++)f.push(A.S6(a,g,b,e,c,n,d,h))})});return f}return s.tb("ImageResourceLevel",a)?[a.get("url")]:[]},pT:function(a,b){var c=w.get(a),e=this.Hda(a);if(e){if(b&&!this.Z_(e)){c=this.x_(a);if(c!=e)return[c,e]}return[e]}e=l(r(a,c),t.EK);if(e.length>0)return h(e);e=this.kea(a);if(b&&!this.Z_(e)){c=this.x_(a);if(c!=e)return[c,e]}return[e]},Foa:function(a){return a.get("tags").indexOf(t.EK)>=0},iT:function(a,b,c){if(w.get(a)!=w.yh)return b;var e;switch(c){case x.FRONT:e=a.get("front");break;case x.ha:e=
a.get("left");break;case x.BACK:e=a.get("back");break;case x.Ea:e=a.get("right");break;case x.Ya:e=a.get("top");break;case x.Xa:e=a.get("bottom")}a=e&&e.get("levels")||[];if(a.length==0)return q;a=a.filter(function(a){return a.get("width")==b.get("width")&&a.get("height")==b.get("height")&&a.get("grayscale",y)==b.get("grayscale",y)&&a.get("colCount",1)==b.get("colCount",1)&&a.get("rowCount",1)==b.get("rowCount",1)});return a[0]},S6:function(a,c,e,d,h,f,g,j){var a=a.get("url"),l=0;a.indexOf("{eye}")>=
0||a.indexOf(encodeURI("{eye}"))>=0?a=b(a,"{eye}",L[e]):l=l+6*(h?I:J)[e];a.indexOf("{face}")>=0||a.indexOf(encodeURI("{face}"))>=0?a=b(a,"{face}",K[d]):c!=w.yh&&(l=l+F[d]);a=b(a,"{row}",g);return a=b(a,"{column}",j+l*f)},Lna:function(a,b){return A.wE(a.get("image").get("levels"),90,90,B.ie,b)},mna:function(a,b){return A.wE(a.get("image").get("levels"),a.get("hfov"),a.get("vfov"),a.get("scaleMode"),b)},zna:function(a,b){return A.wE(a.get("image").get("levels"),a.get("hfov"),a.get("vfov"),a.get("scaleMode"),
b)},Wna:function(a,b){return A.wE(a.get("image").get("levels"),a.get("hfov"),a.get("vfov"),a.get("scaleMode"),b)},wE:function(a,b,d,f,g){var a=e(a,t.vm,a),o=j();o&&(a=l(a,o,a));o=1E4;c()||(C.Ue()?o=2048:C.pq()?o=1280:C.Na()&&(o=1024));var k=h(a)[a.length-1],b=z.sT(b,d,k.get("width"),k.get("height"),f,g);return n(a,[b.Uc*o/90,b.Xk*o/90])},una:function(a){var b=a.get("image").get("levels"),b=e(b,t.vm,b),c=j();c&&(b=l(b,c,b));c=h(b)[b.length-1];a=z.jT(a.get("width"),a.get("height"),c.get("width"),c.get("height"),
a.get("scaleMode"));return n(b,[a.width,a.height])},wT:function(a){return u.select(r(a,w.get(a)))},x_:function(a){var b=w.get(a),a=r(a,b),a=k(a,b),a=l(a,t.vm,a);(b=j())&&(a=l(a,b,a));return n(a,[0,0])},kea:function(a){var b=w.get(a),a=r(a,b),a=k(a,b),a=e(a,t.vm,a),c=j();c&&(a=l(a,c,a));b=f(b,d(a));return n(a,b)},Hda:function(a){var b=j();if(!b)return q;var c=w.get(a),a=r(a,c),a=k(a,c),a=e(a,t.vm,a),a=l(a,b);if(a.length==0)return q;b=f(c,d(a));return n(a,b)},Z_:function(a){return a.get("tags").indexOf(t.EK)>=
0?y:C.jd()==C.Kq?p:G.VU(a.get("url"))}},F=function(){var a={};a[x.Ea]=0;a[x.ha]=1;a[x.Ya]=2;a[x.Xa]=3;a[x.FRONT]=4;a[x.BACK]=5;return a}(),J=function(){var a={};a[v.Ea]=0;a[v.ha]=1;a[v.Zk]=0;return a}(),I=function(){var a={};a[v.Ea]=1;a[v.ha]=0;a[v.Zk]=0;return a}(),K=function(){var a={};a[x.Ea]="r";a[x.ha]="l";a[x.Ya]="u";a[x.Xa]="d";a[x.FRONT]="f";a[x.BACK]="b";return a}(),L=function(){var a={};a[v.ha]="l";a[v.Ea]="r";a[v.Zk]="b";return a}();return A});
define("cW",["require"],function(){function a(a){this.Gd=a;"CANVAS"==a.tagName?this.t=a:(this.t=document.createElement("canvas"),this.t.width=a.width,this.t.height=a.height);this.ga=this.t.getContext("2d");this.ga.globalCompositeOperation="copy";this.t!=a&&this.ga.drawImage(a,0,0,a.width,a.height)}function b(a,b,c){try{if(a instanceof CanvasRenderingContext2D)return a.getImageData(b,c,1,1).data;if(a.tagName&&"CANVAS"==a.tagName)return a.getContext("2d").getImageData(b,c,1,1).data;d.drawImage(a,b,
c,1,1,0,0,1,1);return d.getImageData(0,0,1,1).data}catch(h){return[0,0,0,0]}}a.prototype.transparent=function(b,c){return a.transparent(this.ga,b,c)};a.prototype.Wk=function(b,c){return a.Wk(this.ga,b,c)};a.prototype.info=function(b,c){return a.info(this.ga,b,c)};a.prototype.dispose=function(){this.t!=this.Gd&&(this.t.width=this.t.height=0);this.Gd=this.t=this.ga=q};a.transparent=function(b,c,d){return!a.Wk(b,c,d)};a.Wk=function(a,c,d){return a.tagName&&"VIDEO"==a.tagName?p:0<b(a,c,d)[3]};a.info=
function(a,c,d){a=b(a,c,d);c=a[3];return{Wk:0<c,opacity:c,color:"#"+f[a[0]]+f[a[1]]+f[a[2]]}};var c=document.createElement("canvas");c.width=c.height=1;var d=c.getContext("2d");d.globalCompositeOperation="copy";var f=function(){for(var a=Array(256),b=0;16>b;b++)a[b]="0"+b.toString(16);for(;256>b;b++)a[b]=b.toString(16);return a}();return a});
define("hy","require,hp,gS,jq,dl,gg,ik,gG,iB,cW,hq".split(","),function(a){function b(a,b,e,d,h,f){for(a=(a-b)/f;e+180<d;)d=d-360;for(;e-180>d;)d=d+360;e=(e-d)/f;return e=a<-0.1||a>0.1?c(h,e,Math.abs(1/(1500*a))):c(h,e,0.08)}function c(a,b,c){a=(b-a)*(1-c);Math.abs(a)<1.0E-5&&(a=0);return b-a}var d=a("hp"),f=a("gS"),g=a("jq"),k=a("dl"),j=a("gg"),h=a("ik"),n=a("gG"),e=a("iB"),l=a("cW"),r=a("hq"),a=d.extend(j,function(a){j.call(this);this.m=a;this.Sh.push(this.m);this.Me=this.Me.bind(this);this.nf=
k.tb("CeilingCapPanoramaOverlay",this.m)?"ceiling":"tripod";this.set("tag","Cap");this.set("pitch",this.nf=="tripod"?-90:90);this.Zh=y;this.xs=this.kQ=this.Gz=m;this.Gha=this.nf=="tripod"?1:-1;this.qd=this.yg=this.ae=q});a.prototype.Hb=function(){j.prototype.Hb.call(this);this.ae=(new n(g.R)).Di(this.kk.bind(this));this.yg=(new n(g.dc)).Sk(this.ns.bind(this));f.Zc(this.m,["angle","distance","hfov","image","inertia","rotate"],this.Me,p)};a.prototype.Pb=function(){this.qd&&this.qd.dispose();this.qd=
q;this.ae.dispose();this.yg.dispose();f.vd(this.m,["angle","distance","hfov","image","inertia","rotate"],this.Me);j.prototype.Pb.call(this)};a.prototype.Me=function(){this.set("angle",this.m.get("angle"));this.set("distance",this.m.get("distance"));this.set("hfov",this.m.get("hfov"));this.set("image",this.m.get("image"));this.set("inertia",this.m.get("inertia"));this.set("rotate",this.m.get("rotate"))};a.prototype.jl=function(){var a=j.prototype.jl.call(this);this.ae.md(a);this.yg.md(a);return a};
a.prototype.G=function(a){this.GA();this.EH(a);j.prototype.G.call(this,a)};a.prototype.GA=function(){if(this.B("image")){var a=e.mna(this.m,this.get("panoramaPixelsPerDegree"));this.set("textureSource",new h(a.get("url")));this.set("contentWidth",a.get("width"));this.set("contentHeight",a.get("height"))}};a.prototype.kk=function(){this.qd&&this.qd.dispose();this.qd=new l(this.get("textureSource").Id());this.trigger(g.Mb);this.trigger(g.R)};a.prototype.ns=function(a,b){var c=0;b.Tn(function(a){(a=
b.vi(a))&&(c=c+a.rh)});this.trigger(new r(g.dc,c/b.Fc.length))};a.prototype.EH=function(a){this.set("rendererYaw",a.qa);if(this.B("angle","inertia","rotate")||(this.get("rotate")||this.get("inertia"))&&this.B("rendererYaw")){var c=this.get("angle"),e=this.get("rotate"),d=this.get("inertia"),h=this.Gha*a.qa;e&&(c=c+h);var f=0,g=c-h;if(this.Gz!==m){if(d)if(e){f=b(h,this.xs,c,this.Gz,this.kQ,a.kd);c=this.Gz+f*a.kd}else{f=b(h,this.xs,g,this.I2,this.kQ,a.kd);g=this.I2+f*a.kd;c=g+h}this.Gz!=c&&this.Db()}this.I2=
g;this.Gz=c;this.kQ=f;this.xs=h;this.set("rotationZ",-c)}};a.prototype.zi=function(a){if(a.Bd==g.Ah){var b=!a.Dg()&&this.Wp(a);if(b){a.dq(this.m);this.m.get("useHandCursor")&&a.fq(this.m);a.lh(this.get("distance"))}if(this.Zh!=b){this.Zh=b;this.m.trigger(this.Zh?g.Cc:g.ec);a.oq()&&this.m.trigger(this.Zh?g.Oj:g.sf)}}else if(a.Bd==g.zh&&!a.Dg()&&this.Wp(a)){this.m.vB(g.W,p).length>1&&a.ko(this.m);a.lh(this.get("distance"));this.m.trigger(g.W)}};a.prototype.Wp=function(a){return this.ck(a.zk).some(function(a){return this.qd&&
this.qd.Wk(a.x,a.y)}.bind(this))};return a});
define("cB","require,hp,fh,ew,bG,cR,f,dm,gB,gL,X".split(","),function(a){var b=a("hp"),c=a("fh"),d=a("ew"),f=a("bG"),g=a("cR"),k=a("f"),j=a("dm"),h=a("gB"),n=a("gL"),e=a("X"),l=new THREE.Matrix4,r=Math.PI/180,o=b.extend(k,function(){k.call(this);this.set("tag","FlatPlane");this.set("distance",m);this.set("textureSource",q);this.set("width",100);this.set("height",100);this.set("offsetX",m);this.set("offsetY",m);this.set("yaw",0);this.set("pitch",0);this.set("roll",0);this.set("rotationZ",0);this.set("contentWidth",
100);this.set("contentHeight",100);this.set("scale",1);this.set("scaleMode",q);this.set("horizontalAlign",q);this.set("verticalAlign",q);this.set("materialConfig",this.hk=new f.Fj);this.by=this.rM();this.Ik=new THREE.Matrix4;this.wf=new THREE.Matrix4;this.vs=new THREE.Matrix4;this.Rm=new THREE.Matrix4;this.Zt=new THREE.Matrix4;this.nv=new THREE.Matrix4;this.dY=new THREE.Matrix4;this.Ck=new THREE.Matrix4;this.cZ=new THREE.Matrix4;this.Ax=new THREE.Matrix4;this.Lx=new THREE.Matrix4;this.Fo=new THREE.Matrix4;
this.Ee=new THREE.Matrix4;this.$t=new THREE.Matrix4;this.wr=new THREE.Vector3});o.Gq=0;o.pm=1;o.prototype.G=function(a){k.prototype.G.call(this,a);this.NA();this.hS()};o.prototype.NA=function(){if(this.B("textureSource")||this.B("materialConfig")&&!this.hk.isEqual(this.get("materialConfig"))){var a=this.get("meshGroup");if(a){a=g.cm(a)[o.pm];g.HU(a,this.Ox());this.pr()}}};o.prototype.hS=function(){if(this.B("width","height","contentWidth","contentHeight","scaleMode","horizontalAlign","verticalAlign")){var a=
h.jT(this.get("width"),this.get("height"),this.get("contentWidth"),this.get("contentHeight"),this.get("scaleMode"),this.get("horizontalAlign"),this.get("verticalAlign"));d.N8(this.by[o.pm],a.sC,a.vC,a.oo,a.po)}};o.prototype.jl=function(){return[o.Gq,o.pm].map(function(a){var b=a==o.Gq?this.mM():this.Ox(),a=g.create(this.by[a],b);n.Aq(a,n.cl);n.Bq(a,n.tm);n.hC(a,c.uK);n.ZI(a,1);return a}.bind(this))};o.prototype.Ox=function(){var a=this.get("textureSource")||new j;this.hk=this.get("materialConfig");
var b=f.Mk(a.texture(),this.hk);n.nm(b,a);return[b]};o.prototype.mM=function(){var a=new j,b=f.Mk(a.texture());n.nm(b,a);return[b]};o.prototype.rM=function(){return[d.qB(),d.qB()]};o.prototype.ck=function(a){return g.nT(this.get("meshGroup"),a)};o.prototype.Gv=function(a){var b=y;if(this.B("composedTranslationX","composedTranslationY","composedTranslationZ")){this.Ik.makeTranslation(-this.get("composedTranslationX")*0.5*d.Gf,this.get("composedTranslationY")*0.5*d.Gf,this.get("composedTranslationZ")*
0.5*d.Gf);b=p}if(this.B("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")){this.wf.makeRotationY(-a.qa*r);this.wf.multiply(l.makeRotationX(-this.get("composedDeltaPitch")*r));this.wf.multiply(l.makeRotationY(this.get("composedDeltaYaw")*r));this.wf.multiply(l.makeRotationY(a.qa*r));b=p}if(this.B("yaw","pitch")){this.vs.makeRotationY(-this.get("yaw")*r);this.vs.multiply(l.makeRotationX(this.get("pitch")*r));b=p}this.B("distance","composedTranslationX","composedTranslationY","composedTranslationZ")&&
this.set("z",this.get("composedTranslationX")==0&&this.get("composedTranslationY")==0&&this.get("composedTranslationZ")==0&&this.get("distance")!==m?d.gw(this.get("distance")):d.lq());if(this.B("z")){this.Rm.makeTranslation(0,0,-this.get("z"));b=p}if(b){this.$t.copy(this.Ik);this.$t.multiply(this.wf);this.$t.multiply(this.vs);this.$t.multiply(this.Rm)}var c=y;this.set("rendererYaw",a.qa);this.set("rendererPitch",a.pitch);this.set("rendererRoll",a.cd);this.set("rendererCameraFOV",a.Te);this.set("rendererWidth",
a.width);this.set("rendererHeight",a.height);a.Te&&this.B("z","rendererCameraFOV")&&this.set("rendererHeightZ",Math.tan(a.Te*r*0.5)*this.get("z")*2);if(a.Te&&(b||this.B("rendererYaw","rendererPitch","rendererRoll","rendererCameraFOV","rendererWidth","rendererHeight","rendererHeightZ","inVR"))){if(a.Lb){this.Zt.copy(this.$t);this.nv.identity()}else{c=a.mh;this.Zt.copy(c.matrixWorld);this.wr.setFromMatrixPosition(c.matrixWorld);this.wr.applyMatrix4(this.$t);this.wr.applyMatrix4(c.matrixWorldInverse);
var f=-10,j=-10;if(this.wr.z<0){this.wr.applyMatrix4(c.projectionMatrix);f=this.wr.x*0.5;j=this.wr.y*0.5}var n=this.get("rendererHeightZ");this.nv.makeTranslation(f*n*c.aspect,j*n,0)}c=p}if(this.B("roll")){this.Ck.makeRotationZ(this.get("roll")*r);c=p}if(a.Te&&(b||this.B("rendererHeight","inVR","rendererHeightZ","width","height","contentWidth","contentHeight","scale","scaleMode","horizontalAlign","verticalAlign","flipHorizontally","offsetX","offsetY"))){var b=a.Lb?1024:a.height,c=this.get("scale")*
this.get("rendererHeightZ")/b*(a.Lb?2:1),k=this.get("width"),n=this.get("height"),C=this.get("offsetX"),B=this.get("offsetY"),j=this.get("contentWidth"),G=this.get("contentHeight"),f=(this.get("flipHorizontally")?-1:1)*c,A=this.get("scaleMode"),b=this.get("horizontalAlign")||e.tc,a=this.get("verticalAlign")||e.cc,A=h.jT(k,n,j,G,A,b,a),G=f*k,j=c*n;this.Ax.makeScale(G,j,1);k=f*(k*0.5-C);n=c*(B-n*0.5);this.dY.makeTranslation(k,n,0);f=f*A.width;c=c*A.height;this.Lx.makeScale(f,c,1);b=b==e.ha?-(G-f)*0.5:
b==e.Ea?(G-f)*0.5:0;a=a==e.Ya?(j-c)*0.5:a==e.Xa?-(j-c)*0.5:0;this.cZ.makeTranslation(b+k,a+n,0);c=p}if(c){this.Ee.copy(this.Zt);this.Ee.multiply(this.Rm);this.Ee.multiply(this.nv);this.Ee.multiply(this.Ck);this.Fo.copy(this.Ee);this.Fo.multiply(this.dY);this.Fo.multiply(this.Ax);this.Ee.multiply(this.cZ);this.Ee.multiply(this.Lx);a=g.cm(this.get("meshGroup"));g.Vl(a[o.Gq],this.Fo);g.Vl(a[o.pm],this.Ee)}};return o});
define("dV",["require","jq","ey"],function(a){function b(a,b){this.Rj=a;this.Cb=b;this.Yc=y;this.S$();this.Z$()}var c=a("jq"),d=a("ey");b.prototype.clear=function(){this.Wha();this.bia();this.Rj.set("state",d.J);this.Cb=this.Rj=q};b.prototype.We=function(a){this.Yc!=a&&(this.Yc=a,this.uH())};b.prototype.h1=function(){this.Cb.Sd(this.Rj.get("state"))};b.prototype.g1=function(){this.uH()};b.prototype.e1=function(){this.Rj.trigger(c.cr)};b.prototype.d1=function(){this.Rj.trigger(c.ua)};b.prototype.f1=
function(){this.Rj.set("state",this.Cb.si())};b.prototype.uH=function(){this.Rj.get("autoplay")&&this.Cb.Sd(this.Yc?d.Q:d.J)};b.prototype.S$=function(){this.Rj.bind(c.ba("state"),this.h1,this,p);this.Rj.bind(c.ba("autoplay"),this.g1,this,p)};b.prototype.Wha=function(){this.Rj.unbind(c.ba("state"),this.h1,this,p);this.Rj.unbind(c.ba("autoplay"),this.g1,this,p)};b.prototype.Z$=function(){this.Cb.bind(c.cr,this.e1,this,p);this.Cb.bind(c.ua,this.d1,this,p);this.Cb.bind(c.um,this.f1,this,p)};b.prototype.bia=
function(){this.Cb.unbind(c.cr,this.e1,this,p);this.Cb.unbind(c.ua,this.d1,this,p);this.Cb.unbind(c.um,this.f1,this,p)};return b});
define("iL",["require","t"],function(a){function b(){this.Xf=m;this.Bu=this.ts=0;this.Y=p;this.QY=this.I4=this.NZ=m;this.Yc=y}var a=a("t"),c=Math.PI/180,d=a.browser()==a.xh?[-0.5,0]:[0,0];b.prototype.YI=function(a){this.Xf!=a&&(this.Xf=a,this.Y=p)};b.prototype.XI=function(a){if(a<this.ts+d[0]||a>this.ts+d[1])this.ts=a,this.Y=p};b.prototype.get=function(a,b){b!==m||(b=p);this.Y&&(this.G(),this.Y=y);var c=this.NZ.get(a)||0,d=(this.I4.get(a)||0)-c;b&&(180<d?d-=360:-180>d&&(d+=360));return c+d*this.QY};
b.prototype.ri=function(){return this.get("opacity",y)};b.prototype.nt=function(){var a=this.get("hfov")||this.get("vfov"),b=this.Xf[0].get("hfov")||this.Xf[0].get("vfov");return Math.tan(0.5*a*c)/Math.tan(0.5*b*c)};b.prototype.G=function(){for(var a=this.Bu,b,c=this.Xf.length-1,d,h;;){b=Math.min(a+1,c);d=this.B_(a);h=this.B_(b);if(d<=this.ts&&this.ts<=h)break;if(d>this.ts){if(0==a){b=a;break}a-=1}else{if(a==c){b=a;break}a+=1}}this.NZ=this.Xf[a];this.I4=this.Xf[b];a=h-d;this.QY=0<a?(this.ts-d)/a:
0};b.prototype.B_=function(a){return this.Xf[a].get("timestamp")};return b});
define("iO",["require"],function(){function a(a){return[parseInt(a.substr(1,2),16),parseInt(a.substr(3,2),16),parseInt(a.substr(5,2),16)]}function b(a,b){return Math.max(Math.abs(a[0]-b[0]),Math.abs(a[1]-b[1]),Math.abs(a[2]-b[2]))}var c={Hpa:function(c,f,g){if(c&&0==c.indexOf("#")){var k=a(c),j=m,h=256;f.forEach(function(c){if(c&&0==c.indexOf("#")){var e=b(k,a(c));e<h&&(j=c,h=e)}});if(j&&h<=g)return j}return c},z6:function(c,f){return b(a(c),a(f))}};c.$T=a;return c});
define("R","require,hp,jq,ey,bL,dZ,S".split(","),function(a){function b(a,b,c,d){this.BT=a;this.src=a.src;this.RI=b;this.pB=c;this.jI=d;this.it=this.BT.width/this.pB;this.ht=this.BT.height/this.RI}var c=a("hp"),d=a("jq"),f=a("ey");a("bL");var g=a("dZ"),k=a("S"),a=c.extend(g,function(a,c,h,n,k,t,u){g.call(this);this.ne=new b(a,c,h,k);this.i3=t;this.me=n;this.IZ=u;this.nH=this.me*this.ne.jI;this.t=document.createElement("canvas");this.t.width=this.ne.it;this.t.height=this.ne.ht;this.ga=this.t.getContext("2d");
this.ga.globalCompositeOperation="copy";this.k=f.J;this.wG=this.kl=0;this.yM=m;this.Ie=j.km(this.ne);this.Ie.bind(d.U,this.Qg,this,p);this.Qg()});a.prototype.Sd=function(a){if(this.k!=a){if(a==f.kc){if(this.k!=f.Q)return}else if(a==f.Q){if(this.k==f.J)this.kl=this.wG=0}else if(a==f.J&&(this.kl!=0||this.wG==0)){this.kl=this.IZ?0:this.nH-0.1;this.Qg()}this.k=a;k.Ba(this.ff,this);this.trigger(d.um)}};a.prototype.si=P("k");a.prototype.ff=function(a){if(this.k==f.Q){this.kl=Math.min(this.kl+a,this.Ie.Ie.length*
this.me);if(this.kl>=this.nH){this.wG++;if(this.i3&&this.wG==this.i3){this.Sd(f.J);this.kl=this.IZ?0:this.nH-0.1;this.trigger(d.ua)}else{this.kl=this.kl%this.nH;this.trigger(d.cr)}}this.Qg();this.k==f.Q&&k.Ba(this.ff,this)}};a.prototype.clear=function(){this.Sd(f.J);this.t.width=this.t.height=0;this.t=q;j.opa(this.ne);this.ne=q};a.prototype.Qg=function(){var a=Math.floor(this.kl/this.me);if(this.yM!=a&&a<this.Ie.Ie.length){this.yM=a;this.ga.drawImage(this.Ie.get(this.yM),0,0);this.trigger(d.U)}};
b.prototype.isEqual=function(a){return this.src==a.src&&this.RI==a.RI&&(this.pB=a.pB)&&(this.it=a.it)&&(this.ht=a.ht)&&(this.jI=a.jI)};var j={Sf:[],K$:2E3,km:function(a){a=this.af(a);a.ut++;this.u4(a);return a.frames},opa:function(a){a=this.af(a);a.ut--;a.ut==0&&this.Wja(a)},af:function(a){for(var b=0;b<this.Sf.length;b++)if(this.Sf[b].dna.isEqual(a))return this.Sf[b];b={};b.dna=a;b.frames=new h(a);b.ut=0;this.Sf.push(b);return b},Wja:function(a){this.u4(a);a.WS=setTimeout(function(){j.yca(a)},j.K$)},
u4:function(a){if(a.WS){clearTimeout(a.WS);a.WS=q}},yca:function(a){this.Sf.splice(this.Sf.indexOf(a),1);a.frames.clear()}},h=c.extend(g,function(a){g.call(this);this.ne=a;this.Ie=[];n.add(this)});h.prototype.clear=function(){n.remove(this);this.Ie.forEach(function(a){a.width=0;a.height=0});this.Ie=q};h.prototype.get=function(a){return this.Ie[a]};h.prototype.Yma=function(){var a=this.Ie.length%this.ne.pB,b=Math.floor(this.Ie.length/this.ne.pB)%this.ne.RI,c=document.createElement("canvas");c.width=
this.ne.it;c.height=this.ne.ht;var f=c.getContext("2d");f.globalCompositeOperation="copy";f.drawImage(this.ne.BT,a*this.ne.it,b*this.ne.ht,this.ne.it,this.ne.ht,0,0,this.ne.it,this.ne.ht);h.fda(c);this.Ie.push(c);this.trigger(d.U)};h.fda=function(){var a=document.createElement("canvas");a.width=1;a.height=1;var b=a.getContext("2d");return function(a){b.drawImage(a,0,0,1,1,0,0,1,1)}}();var n={Sf:[],DR:q,add:function(a){this.Sf.push(a);this.s3()},remove:function(a){this.Sf=this.Sf.filter(function(b){return b!=
a})},s3:function(){if(!this.DR)this.DR=setTimeout(function(){this.DR=q;this.BP()}.bind(this),40)},BP:function(){if(this.Sf.length!=0){for(var a=(new Date).getTime()+10;(new Date).getTime()<a;){var b=this.Sf.filter(function(a){return a.Ie.length==0}),b=b.length>0?b[0]:this.Sf[0];b.Yma();if(b.Ie.length==b.ne.jI){this.Sf.splice(this.Sf.indexOf(b),1);if(this.Sf.length==0)return}}this.s3()}}};return a});
define("gq","require,hp,gS,jq,dl,cR,cB,dV,iL,dm,iO,cW,iB,R,fj".split(","),function(a){function b(a){a=a.get("mapColor");return a=="image"||a=="transparent"||a=="any"}function c(a){a=a.get("mapColor");return a!="image"&&a!="transparent"&&a!="any"}var d=a("hp"),f=a("gS"),g=a("jq"),k=a("dl"),j=a("cR"),h=a("cB"),n=a("dV"),e=a("iL"),l=a("dm"),r=a("iO"),o=a("cW"),s=a("iB"),t=a("R"),u=new (a("fj")),v=0,a=d.extend(h,function(a){h.call(this);this.set("tag","FlatHotspotImage");this.set("visible",y);this.set("playbackPositions",
q);this.set("image",q);this.set("beamEnabled",y);this.set("state",q);this.set("visibleOnStop",p);this.set("id","flat_hs_image_"+v++);this.m=a;this.Sh.push(this.m);this.Me=this.Me.bind(this);this.Uh=this.Uh.bind(this);this.Ab=new e;this.Wr=this.fd=this.Dh=this.Cb=q;this.Wd=[];this.qd=q});a.prototype.E8=function(a){if(this.fd!=a){this.fd&&f.vd(this.fd,["areas"],this.Uh,p);(this.fd=a)&&f.Zc(this.fd,["areas"],this.Uh,p)}};a.prototype.Hb=function(){h.prototype.Hb.call(this);f.Zc(this.m,["horizontalAlign",
"verticalAlign","scale","scaleMode","width","height","offsetX","offsetY","distance","playbackPositions","image"],this.Me,p);this.fd&&f.Zc(this.fd,["areas"],this.Uh,p)};a.prototype.Pb=function(){this.Ix();this.fd&&f.vd(this.fd,["areas"],this.Uh,p);f.vd(this.m,["horizontalAlign","verticalAlign","scale","scaleMode","width","height","offsetX","offsetY","distance","playbackPositions","image"],this.Me);h.prototype.Pb.call(this)};a.prototype.Me=function(){this.set("horizontalAlign",this.m.get("horizontalAlign"));
this.set("verticalAlign",this.m.get("verticalAlign"));this.set("scale",this.m.get("scale"));this.set("scaleMode",this.m.get("scaleMode"));this.set("width",this.m.get("width"));this.set("height",this.m.get("height"));this.set("offsetX",this.m.get("offsetX",this.m.get("width")*0.5));this.set("offsetY",this.m.get("offsetY",this.m.get("height")*0.5));this.set("distance",this.m.get("distance"));this.set("playbackPositions",this.m.get("playbackPositions"));this.set("image",this.m.get("image"))};a.prototype.Uh=
function(){var a=this.fd.get("areas",[]);this.Wr=k.tb("FlatHotspotPanoramaOverlayImage",this.m)?a.filter(b):a.filter(c);this.Wr.forEach(function(a){u.set(a,0)})};a.prototype.G=function(a){this.hv=a.qa;this.gv=a.pitch;this.Rs();this.GA();this.HA();h.prototype.G.call(this,a)};a.prototype.HA=function(){if(this.B("meshGroup","panoramaId","id")){var a=this.get("meshGroup");a&&a.children.forEach(function(a){j.setAttribute(a,j.Et,this.get("panoramaId"));j.setAttribute(a,j.gV,this.get("id"))}.bind(this))}};
a.prototype.Rs=function(){if(this.B("playbackPositions","currentTime")){this.Ab.YI(this.get("playbackPositions"));this.Ab.XI(this.get("currentTime"));this.set("yaw",this.Ab.get("yaw"));this.set("pitch",this.Ab.get("pitch"));this.set("roll",this.Ab.get("roll"));this.set("alpha",this.Ab.ri())}};a.prototype.GA=function(){if(this.B("image")){this.Ix();var a=s.una(this.m);this.set("textureSource",new l(a.get("url")));this.eL()}};a.prototype.On=function(){this.B("visible","composedAlpha","image","state",
"visibleOnStop")&&this.set("inView",this.get("visible")&&this.get("composedAlpha")>0&&(this.get("visibleOnStop")||this.get("state")!=PlaybackState.J));this.B("composedAlpha","meshGroup","inView")&&j.Vc(this.get("meshGroup"),this.get("inView")?this.get("composedAlpha"):0);this.B("inView")&&this.m.trigger(this.get("inView")?g.Ce:g.rf);this.Dh&&this.Dh.We(this.get("inView"))};a.prototype.Ix=function(){if(this.Dh){this.Dh.clear();this.Dh=q}if(this.Cb){this.Cb.unbind(g.U,this.qy,this,p);this.Cb.unbind(g.um,
this.ry,this,p);this.Cb.clear();this.Cb=q}if(this.qd){this.qd.dispose();this.qd=q}if(this.get("textureSource")){this.Cs();this.set("textureSource",q)}};a.prototype.ap=function(){this.Cs();var a,b=this.get("image");if(k.tb("AnimatedImageResource",b)){this.Cb=new t(this.get("textureSource").Id(),b.get("rowCount",1),b.get("colCount",1),b.get("frameDuration"),b.get("frameCount",b.get("rowCount",1)*b.get("colCount",1)),b.get("repeat"),b.get("finalFrame")=="first");a=this.Cb.t;this.Cb.bind(g.um,this.ry,
this,p);this.Cb.bind(g.U,this.qy,this,p);this.Dh=new n(b,this.Cb);this.set("visibleOnStop",b.get("visibleOnStop"));this.set("state",this.Cb.si())}else{a=this.get("textureSource").Id();this.qd=new o(a);this.get("textureSource").Hg(a);this.set("visibleOnStop",p);this.set("state",q)}this.On();this.set("contentWidth",a.width);this.set("contentHeight",a.height);this.get("textureSource").Hg(a);this.trigger(g.Mb);this.trigger(g.R)};a.prototype.sy=function(){this.Cs();this.trigger(g.Mb);this.trigger(g.R)};
a.prototype.ry=function(){this.set("state",this.Cb.si())};a.prototype.qy=function(){this.get("textureSource").update();this.Db()};a.prototype.eL=function(){var a=this.get("textureSource");a.bind(g.R,this.ap,this,p);a.bind(g.od,this.sy,this,p)};a.prototype.Cs=function(){var a=this.get("textureSource");a.unbind(g.R,this.ap,this,p);a.unbind(g.od,this.sy,this,p)};a.prototype.zi=function(a){if(a.Bd==g.Ah){var b=this.get("beamEnabled")&&this.get("alpha")>0&&!a.Dg()?this.cy(a):[];if(b.length>0){a.dq(b);
this.pj(b)&&a.fq(b);a.lh(this.get("distance"));var c=this.ma(b,a.qq());c&&a.TH(c,this.Xp(a.qq()))}this.NG(b,a.oq(),a.qq())}else if(a.Bd==g.zh){b=this.get("beamEnabled")&&this.get("alpha")>0&&!a.Dg()?this.cy(a):[];if(b.length>0){var e=y;b.forEach(function(a){a.trigger(g.W);!e&&a.vB(g.W,p).length>1&&(e=p)});a.lh(this.get("distance"));e&&a.ko(b)}}};a.prototype.Tr=function(a){return this.qd&&this.qd.Gd==a.source?this.qd.info(a.x,a.y):o.info(a.source,a.x,a.y)};a.prototype.cy=function(a){var b=this.ck(a.zk);
return b.length==0?[]:this.Wr.filter(function(a){var c=a.get("mapColor");return c=="any"?p:c=="image"?b.some(function(a){return this.Tr(a).Wk}.bind(this)):c=="transparent"?b.every(function(a){return!this.Tr(a).Wk}.bind(this)):c&&c[0]=="#"?b.some(function(a){return r.z6(this.Tr(a).color,c)<10}.bind(this)):y}.bind(this))};a.prototype.NG=function(a,b,c){this.Wd.forEach(function(e){if(a.indexOf(e)<0){var d=u.get(e)-1;u.set(e,d);if(d==0){e.trigger(g.ec,{lB:c});b&&e.trigger(g.sf)}}});var e=this.Wd;this.Wd=
a;this.Wd.forEach(function(a){if(e.indexOf(a)<0){var d=(u.get(a)||0)+1;u.set(a,d);if(d==1){a.trigger(g.Cc,{lB:c});b&&a.trigger(g.Oj)}}})};a.prototype.ma=function(a,b){for(var c="",e=a.length-1;e>=0&&c=="";e--){var d=a[e];if(!b||d.get("displayTooltipInTouchScreens")&&this.Va.D.get("displayTooltipInTouchScreens")!==y)c=d.get("toolTip","")}return c};a.prototype.Xp=function(a){if(a){var a=this.get("yaw")-this.hv,b=this.get("pitch")-this.gv;return Math.sqrt(a*a+b*b)}return 0};a.prototype.pj=function(a){for(var b=
this.fd.get("useHandCursor"),c=a.length-1;c>=0&&b===m;c--)b=a[c].get("useHandCursor");return!!b};return a});
define("hQ","require,hp,gS,jq,fS,gG,t,jf,bk,hq".split(","),function(a){var b=a("hp"),c=a("gS"),d=a("jq"),f=a("fS"),g=a("gG");a("t");var k=a("jf"),j=a("bk"),h=a("hq"),a=b.extend(f,function(a){f.call(this);this.m=a;this.Sh.push(this.m);this.IF=this.IF.bind(this);this.HF=this.HF.bind(this);this.JF=this.JF.bind(this);this.hl(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","Hotspot");this.set("over",y);this.set("centerOver",y);this.set("enabled",p);this.set("visible",y);this.set("alpha",
0);this.set("inVR",y);this.set("overlaysEnabled",p);this.set("enabledInVR",p);this.set("enabledInStandard",p);this.set("interactionEnabled",p);this.set("centerOverDisplay",y);this.set("rollOverDisplay",y);this.set("loadingActive",y);this.pL=this.qL=this.gj=this.sc=this.Ld=q;this.Wd=[];this.oL=[];this.kh=q});a.prototype.Hb=function(){this.Ld=(new g(d.R)).Di(this.bz.bind(this));this.sc=(new g(d.dc)).Sk(this.cz.bind(this));this.gj=(new g(d.Mb)).Di(this.kga.bind(this));this.qL=(new g(d.Cc)).Sk(this.ega.bind(this));
this.pL=(new g(d.ec)).Sk(this.dga.bind(this));f.prototype.Hb.call(this);c.Zc(this.m,["items","rollOverItems","maps","rollOverMaps"],this.IF,p);c.Zc(this.m,["fadeInDuration","fadeOutDuration","enabledInVR","enabledInStandard","enabledInSurfaceSelection","enabled","interactionEnabled","centerOverDisplay","rollOverDisplay"],this.JF,p);c.Zc(this.m,["areas"],this.HF,p)};a.prototype.Pb=function(){this.Cv([],this.Wd);this.NR([],this.oL);this.Ld.dispose();this.sc.dispose();this.gj.dispose();this.qL.dispose();
this.pL.dispose();c.vd(this.m,["items","rollOverItems","maps","rollOverMaps"],this.IF);c.vd(this.m,["fadeInDuration","fadeOutDuration","enabledInVR","enabledInStandard","enabledInSurfaceSelection","enabled","interactionEnabled","centerOverDisplay","rollOverDisplay"],this.JF);c.vd(this.m,["areas"],this.HF);f.prototype.Pb.call(this)};a.prototype.IF=function(){this.set("items",this.Va.Yn(this.m.get("items",[])));this.set("rollOverItems",this.Va.Yn(this.m.get("rollOverItems",[])));this.set("maps",this.Va.Yn(this.m.get("maps",
[])));this.set("rollOverMaps",this.Va.Yn(this.m.get("rollOverMaps",[])));var a=[].concat(this.get("maps"),this.get("items"),this.get("rollOverMaps"),this.get("rollOverItems"));a.forEach(function(a){a.E8(this.m)}.bind(this));this.th(a);this.Ld.md(a);this.sc.md(a);this.gj.md(a)};a.prototype.JF=function(){this.set("fadeInDuration",this.m.get("fadeInDuration"));this.set("fadeOutDuration",this.m.get("fadeOutDuration"));this.set("enabled",this.m.get("enabled",p));this.set("enabledInVR",this.m.get("enabledInVR"));
this.set("enabledInStandard",this.m.get("enabledInStandard",p));this.set("enabledInSurfaceSelection",this.m.get("enabledInSurfaceSelection",p));this.set("centerOverDisplay",this.m.get("centerOverDisplay"));this.set("rollOverDisplay",this.m.get("rollOverDisplay",y));this.set("interactionEnabled",this.m.get("interactionEnabled",p))};a.prototype.HF=function(){var a=this.m.get("areas");this.qL.md(a);this.pL.md(a)};a.prototype.G=function(a){this.On(a);f.prototype.G.call(this,a);this.Vs(a)};a.prototype.Vs=
function(a){this.set("inVR",a.Lb);this.set("surfaceSelection",a.nC);this.set("hotspotsEnabled",a.nw);if(this.B("items","rollOverItems","maps","rollOverMaps","over","centerOver","inVR","hotspotsEnabled","enabledInVR","enabledInStandard","surfaceSelection","enabledInSurfaceSelection","enabled","interactionEnabled","rollOverDisplay","centerOverDisplay")||this.N&&this.N.B("composedAlpha")){var b=a=y,c=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.N&&this.N.get("composedAlpha")>0,d=this.get("interactionEnabled");if(c){a=this.get("centerOver")&&!this.get("inVR");b=this.get("over")||a;a=!this.get("rollOverDisplay")&&!this.get("centerOverDisplay")||this.get("over")&&this.get("rollOverDisplay")||a&&this.get("centerOverDisplay")!==y&&this.get("rollOverDisplay")}this.get("rollOverItems").forEach(function(a){a.set("visible",b);a.set("beamEnabled",
c&&b&&d)});var h=this.get("rollOverItems").length==0;this.get("items").forEach(function(a){a.set("visible",h||!b);a.set("beamEnabled",c&&(h||!b)&&d)});this.get("rollOverMaps").forEach(function(a){a.set("visible",y);a.set("beamEnabled",c&&b&&d)});var f=this.get("rollOverMaps").length==0;this.get("maps").forEach(function(a){a.set("visible",y);a.set("beamEnabled",c&&(f||!b)&&d)});this.set("visible",a)}if(this.B("visible")){var a=this.get("alpha"),g=this.get("visible")?1:0,u=(this.get("visible")?this.get("fadeInDuration"):
this.get("fadeOutDuration"))*Math.abs(a-g);this.kh=new k("linear",[new j("alpha",a,g)],Math.max(u,1));this.Db()}};a.prototype.On=function(a){if(this.kh){if(this.kh.ge())this.kh=q;else{this.kh.eb(a.kd);this.set("alpha",this.kh.kb("alpha"))}this.Db()}};a.prototype.bz=function(){this.Lk();this.trigger(d.R)};a.prototype.kga=function(){this.Lk();this.trigger(d.Mb)};a.prototype.cz=function(){this.Lk()};a.prototype.Lk=function(){var a=0;this.sc.Tn(function(b){var c=0,d;this.Ld.vi(b)?c=100:(d=this.sc.vi(b))&&
(c=d.rh);a=a+c}.bind(this));this.trigger(new h(d.dc,a/this.sc.Fc.length))};a.prototype.ega=function(a){a.data.lB?this.NR([a.source],[]):this.Cv([a.source],[])};a.prototype.dga=function(a){a.data.lB?this.NR([],[a.source]):this.Cv([],[a.source])};a.prototype.Cv=function(a,b){this.e5(this.Wd,a,b);this.set("over",this.Wd.length>0)};a.prototype.NR=function(a,b){this.e5(this.oL,a,b);this.set("centerOver",this.oL.length>0)};a.prototype.e5=function(a,b,c){b||(b=[]);c||(c=[]);c.forEach(function(b){b=a.indexOf(b);
b>=0&&a.splice(b,1)});b.forEach(function(b){a.indexOf(b)<0&&a.push(b)})};return a});
define("gn","require,hp,gS,jq,ey,dl,cR,gg,dV,iL,dm,iO,cW,iB,R,fj".split(","),function(a){function b(a){a=a.get("mapColor");return a=="image"||a=="transparent"||a=="any"}function c(a){a=a.get("mapColor");return a!="image"&&a!="transparent"&&a!="any"}var d=a("hp"),f=a("gS"),g=a("jq"),k=a("ey"),j=a("dl"),h=a("cR"),n=a("gg"),e=a("dV"),l=a("iL"),r=a("dm"),o=a("iO"),s=a("cW"),t=a("iB"),u=a("R"),v=new (a("fj")),x=0,a=d.extend(n,function(a){n.call(this);this.set("tag","HotspotImage");this.set("visible",y);
this.set("playbackPositions",q);this.set("image",q);this.set("beamEnabled",y);this.set("state",q);this.set("visibleOnStop",p);this.set("id","hs_image_"+x++);this.m=a;this.Sh.push(this.m);this.Me=this.Me.bind(this);this.Uh=this.Uh.bind(this);this.AF=this.AF.bind(this);this.Ab=new l;this.Wr=this.fd=this.Dh=this.Cb=q;this.Wd=[];this.xa=this.qd=q});a.prototype.E8=function(a){if(this.fd!=a){this.fd&&f.vd(this.fd,["areas"],this.Uh,p);(this.fd=a)&&f.Zc(this.fd,["areas"],this.Uh,p)}};a.prototype.Hb=function(){n.prototype.Hb.call(this);
f.Zc(this.m,["horizontalAlign","verticalAlign","scale","scaleMode","distance","playbackPositions","image"],this.Me,p);this.fd&&f.Zc(this.fd,["areas"],this.Uh,p)};a.prototype.Pb=function(){this.NG([]);this.Ix();this.fd&&f.vd(this.fd,["areas"],this.Uh,p);f.vd(this.m,["horizontalAlign","verticalAlign","scale","scaleMode","distance","playbackPositions","image"],this.Me);n.prototype.Pb.call(this)};a.prototype.Me=function(){this.set("horizontalAlign",this.m.get("horizontalAlign"));this.set("verticalAlign",
this.m.get("verticalAlign"));this.set("scaleMode",this.m.get("scaleMode"));this.set("distance",this.m.get("distance"));this.set("scale",this.m.get("scale"));this.set("playbackPositions",this.m.get("playbackPositions"));this.set("image",this.m.get("image"))};a.prototype.Uh=function(){var a=this.fd.get("areas",[]);this.Wr=j.tb("HotspotPanoramaOverlayImage",this.m)?a.filter(b):a.filter(c);this.Wr.forEach(function(a){v.set(a,0)})};a.prototype.G=function(a){this.hv=a.qa;this.gv=a.pitch;this.Rs();this.GA();
this.HA();n.prototype.G.call(this,a)};a.prototype.HA=function(){if(this.B("meshGroup","panoramaId","id")){var a=this.get("meshGroup");a&&a.children.forEach(function(a){h.setAttribute(a,h.Et,this.get("panoramaId"));h.setAttribute(a,h.gV,this.get("id"))}.bind(this))}};a.prototype.Rs=function(){if(this.B("playbackPositions","currentTime")){this.Ab.YI(this.get("playbackPositions"));this.Ab.XI(this.get("currentTime"));this.set("yaw",this.Ab.get("yaw"));this.set("pitch",this.Ab.get("pitch"));this.set("roll",
this.Ab.get("roll"));this.set("rotationX",this.Ab.get("rotationX"));this.set("rotationY",this.Ab.get("rotationY"));this.set("hfov",this.Ab.get("hfov"));this.set("vfov",this.Ab.get("vfov"));this.set("alpha",this.Ab.ri())}};a.prototype.GA=function(){if(this.B("image")){this.Ix();var a=t.zna(this.m,this.get("panoramaPixelsPerDegree"));this.set("textureSource",new r(a.get("url")));this.eL();(this.xa=this.get("image"))&&this.$$()}};a.prototype.On=function(){this.B("visible","composedAlpha","image","state",
"visibleOnStop")&&this.set("inView",this.get("visible")&&this.get("composedAlpha")>0&&(this.get("visibleOnStop")||this.get("state")!=k.J));this.B("composedAlpha","meshGroup","inView")&&h.Vc(this.get("meshGroup"),this.get("inView")?this.get("composedAlpha"):0);this.B("inView")&&this.m.trigger(this.get("inView")?g.Ce:g.rf);this.Dh&&this.Dh.We(this.get("inView"))};a.prototype.AF=function(){this.xa&&j.tb("AnimatedImageResource",this.xa)?this.set("visibleOnStop",this.xa.get("visibleOnStop")):this.set("visibleOnStop",
p)};a.prototype.Ix=function(){if(this.Dh){this.Dh.clear();this.Dh=q}if(this.Cb){this.Cb.unbind(g.U,this.qy,this,p);this.Cb.unbind(g.um,this.ry,this,p);this.Cb.clear();this.Cb=q}if(this.qd){this.qd.dispose();this.qd=q}if(this.get("textureSource")){this.Cs();this.set("textureSource",q)}if(this.xa){this.cia();this.xa=q}};a.prototype.ap=function(){this.Cs();var a,b=this.get("image");if(j.tb("AnimatedImageResource",b)){this.Cb=new u(this.get("textureSource").Id(),b.get("rowCount",1),b.get("colCount",1),
b.get("frameDuration"),b.get("frameCount",b.get("rowCount",1)*b.get("colCount",1)),b.get("repeat"),b.get("finalFrame")=="first");a=this.Cb.t;this.Cb.bind(g.um,this.ry,this,p);this.Cb.bind(g.U,this.qy,this,p);this.Dh=new e(b,this.Cb);this.set("visibleOnStop",b.get("visibleOnStop"));this.set("state",this.Cb.si())}else{a=this.get("textureSource").Id();this.qd=new s(a);this.set("visibleOnStop",p);this.set("state",q)}this.On();this.set("contentWidth",a.width);this.set("contentHeight",a.height);this.get("textureSource").Hg(a);
this.trigger(g.Mb);this.trigger(g.R)};a.prototype.sy=function(){this.Cs();this.trigger(g.Mb);this.trigger(g.R)};a.prototype.ry=function(){this.set("state",this.Cb.si())};a.prototype.qy=function(){this.get("textureSource").update();this.Db()};a.prototype.eL=function(){var a=this.get("textureSource");a.bind(g.R,this.ap,this,p);a.bind(g.od,this.sy,this,p)};a.prototype.Cs=function(){var a=this.get("textureSource");a.unbind(g.R,this.ap,this,p);a.unbind(g.od,this.sy,this,p)};a.prototype.$$=function(){f.Zc(this.xa,
["visibleOnStop"],this.AF,p)};a.prototype.cia=function(){f.vd(this.xa,["visibleOnStop"],this.AF,p)};a.prototype.zi=function(a){if(a.Bd==g.Ah){var b=this.get("beamEnabled")&&this.get("alpha")>0&&!a.Dg()?this.cy(a):[];if(b.length>0){a.dq(b);this.pj(b)&&a.fq(b);a.lh(this.get("distance"));var c=this.ma(b,a.qq());c&&a.TH(c,this.Xp(a.qq()))}this.NG(b,a.oq(),a.qq())}else if(a.Bd==g.zh){b=this.get("beamEnabled")&&this.get("alpha")>0&&!a.Dg()?this.cy(a):[];if(b.length>0){var e=y;b.forEach(function(a){a.trigger(g.W);
!e&&a.vB(g.W,p).length>1&&(e=p)});a.lh(this.get("distance"));e&&a.ko(b)}}};a.prototype.Tr=function(a){return this.qd&&this.qd.Gd==a.source?this.qd.info(a.x,a.y):s.info(a.source,a.x,a.y)};a.prototype.cy=function(a){var b=this.ck(a.zk);return b.length==0?[]:this.Wr.filter(function(a){var c=a.get("mapColor");return c=="any"?p:c=="image"?b.some(function(a){return this.Tr(a).Wk}.bind(this)):c=="transparent"?b.every(function(a){return!this.Tr(a).Wk}.bind(this)):c&&c[0]=="#"?b.some(function(a){return o.z6(this.Tr(a).color,
c)<10}.bind(this)):y}.bind(this))};a.prototype.NG=function(a,b,c){this.Wd.forEach(function(e){if(a.indexOf(e)<0){var d=v.get(e)-1;v.set(e,d);if(d==0){e.trigger(g.ec,{lB:c});b&&e.trigger(g.sf)}}});var e=this.Wd;this.Wd=a;this.Wd.forEach(function(a){if(e.indexOf(a)<0){var d=(v.get(a)||0)+1;v.set(a,d);if(d==1){a.trigger(g.Cc,{lB:c});b&&a.trigger(g.Oj)}}})};a.prototype.ma=function(a,b){for(var c="",e=a.length-1;e>=0&&c=="";e--){var d=a[e];if(!b||d.get("displayTooltipInTouchScreens")&&this.Va.D.get("displayTooltipInTouchScreens")!==
y)c=d.get("toolTip","")}return c};a.prototype.Xp=function(a){if(a){var a=this.get("yaw")-this.hv,b=this.get("pitch")-this.gv;return Math.sqrt(a*a+b*b)}return 0};a.prototype.pj=function(a){for(var b=this.fd.get("useHandCursor"),c=a.length-1;c>=0&&b===m;c--)b=a[c].get("useHandCursor");return!!b};return a});
define("eO",["require","er","a"],function(a){function b(a,b,d){this.ld=a||new c(0,0,0);this.Ff=b||new c(1,0,0);this.sq=d||new c(0,1,0)}var c=a("er"),d=a("a");b.prototype.clone=function(){return new b(this.ld.clone(),this.Ff.clone(),this.sq.clone())};b.prototype.apply=function(a){a.Nv(this.ld);a.Nv(this.Ff);a.Nv(this.sq)};b.prototype.intersection=function(a,b){var k=d.kq(a.ld,a.Ff),j=d.kq(this.ld,a.ld),h=d.kq(this.ld,this.Ff);h.Lma(d.kq(this.ld,this.sq));k=k.et(h);if(!(0==k||b&&0>k))return j=-h.et(j)/
k,new c(a.ld.x+(a.Ff.x-a.ld.x)*j,a.ld.y+(a.Ff.y-a.ld.y)*j,a.ld.z+(a.Ff.z-a.ld.z)*j)};b.prototype.NI=function(a,b){var k=d.kq(this.ld,this.Ff),j=d.kq(this.ld,this.sq),h=d.kq(this.ld,a),n=k.qT(),e=j.qT();return b?new c(h.et(k)/(n*n),h.et(j)/(e*e),0):new c(h.et(k)/n,h.et(j)/e,0)};return b});
define("ds",[],function(){function a(a){a%=d;0>a&&(a+=d);return k[a*f|0]}function b(a){a%=d;0>a&&(a+=d);return g[a*f|0]}function c(){this.identity()}c.prototype.identity=function(){this.m11=1;this.m21=this.m13=this.m12=0;this.m22=1;this.m32=this.m31=this.m23=0;this.m33=1;this.ye=this.xe=this.we=0};c.prototype.clone=function(){var a=new c;a.m11=this.m11;a.m12=this.m12;a.m13=this.m13;a.m21=this.m21;a.m22=this.m22;a.m23=this.m23;a.m31=this.m31;a.m32=this.m32;a.m33=this.m33;a.we=this.we;a.xe=this.xe;
a.ye=this.ye;return a};c.prototype.concat=function(a){var b=this.m11,c=this.m12,d=this.m13,f=this.m21,g=this.m22,j=this.m23,k=this.m31,u=this.m32,v=this.m33,x=this.we,w=this.xe,z=this.ye;this.m11=b*a.m11+c*a.m21+d*a.m31;this.m12=b*a.m12+c*a.m22+d*a.m32;this.m13=b*a.m13+c*a.m23+d*a.m33;this.m21=f*a.m11+g*a.m21+j*a.m31;this.m22=f*a.m12+g*a.m22+j*a.m32;this.m23=f*a.m13+g*a.m23+j*a.m33;this.m31=k*a.m11+u*a.m21+v*a.m31;this.m32=k*a.m12+u*a.m22+v*a.m32;this.m33=k*a.m13+u*a.m23+v*a.m33;this.we=x*a.m11+w*
a.m21+z*a.m31+a.we;this.xe=x*a.m12+w*a.m22+z*a.m32+a.xe;this.ye=x*a.m13+w*a.m23+z*a.m33+a.ye};c.prototype.translate=function(a,b,c){this.we+=a;this.xe+=b;this.ye+=c};c.prototype.scale=function(a,b,c){this.m11*=a;this.m12*=b;this.m13*=c;this.m21*=a;this.m22*=b;this.m23*=c;this.m31*=a;this.m32*=b;this.m33*=c;this.we*=a;this.xe*=b;this.ye*=c};c.prototype.jo=function(c){var d=a(c),c=b(c),e=this.m12*d+this.m13*c,f=this.m22*c-this.m23*d,g=this.m22*d+this.m23*c,j=this.m32*c-this.m33*d,k=this.m32*d+this.m33*
c,t=this.xe*c-this.ye*d,u=this.xe*d+this.ye*c;this.m12=this.m12*c-this.m13*d;this.m13=e;this.m22=f;this.m23=g;this.m32=j;this.m33=k;this.xe=t;this.ye=u};c.prototype.wq=function(c){var d=a(c),c=b(c),e=-this.m11*d+this.m13*c,f=this.m21*c+this.m23*d,g=-this.m21*d+this.m23*c,j=this.m31*c+this.m33*d,k=-this.m31*d+this.m33*c,t=this.we*c+this.ye*d,u=-this.we*d+this.ye*c;this.m11=this.m11*c+this.m13*d;this.m13=e;this.m21=f;this.m23=g;this.m31=j;this.m33=k;this.we=t;this.ye=u};c.prototype.xq=function(c){var d=
a(c),c=b(c),e=this.m11*d+this.m12*c,f=this.m21*c-this.m22*d,g=this.m21*d+this.m22*c,j=this.m31*c-this.m32*d,k=this.m31*d+this.m32*c,t=this.we*c-this.xe*d,u=this.we*d+this.xe*c;this.m11=this.m11*c-this.m12*d;this.m12=e;this.m21=f;this.m22=g;this.m31=j;this.m32=k;this.we=t;this.xe=u};c.prototype.rotate=function(a,b,c){this.jo(a);this.wq(b);this.xq(c)};c.prototype.w7=function(){var a=this.nna();if(0==a)return y;var b=this.clone();this.m11=(b.m22*b.m33-b.m23*b.m32)/a;this.m12=(b.m13*b.m32-b.m12*b.m33)/
a;this.m13=(b.m12*b.m23-b.m13*b.m22)/a;this.m21=(b.m23*b.m31-b.m21*b.m33)/a;this.m22=(b.m11*b.m33-b.m13*b.m31)/a;this.m23=(b.m13*b.m21-b.m11*b.m23)/a;this.m31=(b.m21*b.m32-b.m22*b.m31)/a;this.m32=(b.m12*b.m31-b.m11*b.m32)/a;this.m33=(b.m11*b.m22-b.m12*b.m21)/a;this.we=-(b.we*this.m11+b.xe*this.m21+b.ye*this.m31);this.xe=-(b.we*this.m12+b.xe*this.m22+b.ye*this.m32);this.ye=-(b.we*this.m13+b.xe*this.m23+b.ye*this.m33);return p};c.prototype.nna=function(){return this.m11*(this.m22*this.m33-this.m23*
this.m32)+this.m12*(this.m23*this.m31-this.m21*this.m33)+this.m13*(this.m21*this.m32-this.m22*this.m31)};c.prototype.Nv=function(a){var b=a.x*this.m12+a.y*this.m22+a.z*this.m32+this.xe,c=a.x*this.m13+a.y*this.m23+a.z*this.m33+this.ye;a.x=a.x*this.m11+a.y*this.m21+a.z*this.m31+this.we;a.y=b;a.z=c};for(var d=2*Math.PI,f=18E4/d,g=new Float32Array(180001),k=new Float32Array(180001),j=0;18E4>j;j++)g[j]=Math.cos(j/f),k[j]=Math.sin(j/f);g[18E4]=g[0];k[18E4]=k[0];return c});
define("cx","require,hb,fp,cj,er,eO,ds,hO".split(","),function(a){var b=a("hb"),c=a("fp"),d=a("cj"),f=a("er"),g=a("eO"),k=a("ds"),j=a("hO"),h=Math.PI/180,n=new k,e=new c,l=new g,r=new f;return{get:function(a,b,c,d,g,j,l,k){a=a*h;b=b*h;b=new f(Math.sin(-a)*Math.cos(b),Math.sin(b),Math.cos(-a)*Math.cos(b));n.identity();n.wq(c*h);n.xq(g*h);n.jo(d*h);b.apply(n);if(b.z>0){e.mC(l);e.C8(k);e.cC(j*h);e.project(b);return b}return q},Ota:function(a,c,e,d,f,g,k,z,C,B,G,A,F,J){J||(J=j.sm);F||(F=b.wj(A,B,G));
A||(A=b.om(F,B,G));var I=B*0.5/Math.tan(A*0.5*h),K=I*Math.tan(A*0.5*h)*2,L=I*Math.tan(F*0.5*h)*2;l.ld.set(+K*0.5,+L*0.5,0);l.Ff.set(-K*0.5,+L*0.5,0);l.sq.set(+K*0.5,-L*0.5,0);n.identity();n.xq(-C*h);n.jo(-k*h);n.wq(z*h);n.translate(0,0,I);n.xq(-g*h);n.jo(-f*h);n.wq(-d*h);n.wq(e.Rb()*h);n.xq(e.Jd()*h);n.jo(e.Xb()*h);l.apply(n);r.set(a,c,0);f=l.intersection(e.unproject(r));d={x:m,y:m,xScaled:m,yScaled:m};if(f&&f.z>0){f=l.NI(f);d.xScaled=d.x=f.x/K;d.yScaled=d.y=f.y/L}if(J!=j.sm){var O,M;switch(J){case j.ie:O=
Math.min(b.om(F,B,G),A);M=Math.min(b.wj(A,B,G),F);break;case j.bl:O=Math.max(b.om(F,B,G),A);M=Math.max(b.wj(A,B,G),F);break;case j.Mj:O=A;M=b.wj(A,B,G);break;case j.mg:O=b.om(F,B,G);M=F}if(O!=A||M!=F){K=I*Math.tan(O*0.5*h)*2;L=I*Math.tan(M*0.5*h)*2;l.ld.set(+K*0.5,+L*0.5,0);l.Ff.set(-K*0.5,+L*0.5,0);l.sq.set(+K*0.5,-L*0.5,0);l.apply(n);r.set(a,c,0);if((f=l.intersection(e.unproject(r)))&&f.z>0){f=l.NI(f);d.xScaled=f.x/K;d.yScaled=f.y/L}}}return d},Psa:function(a,b,c,e,g,j,k){k=g*0.5/Math.tan(k*0.5*
h);l.ld.set(+g*0.5,+j*0.5,k);l.Ff.set(-g*0.5,+j*0.5,k);l.sq.set(+g*0.5,-j*0.5,k);n.identity();n.xq(-e*h);n.jo(-c*h);n.wq(-b*h);n.wq(a.Rb()*h);n.xq(a.Jd()*h);n.jo(a.Xb()*h);l.apply(n);a=new d(new f(0,0,0),new f(0,0,1));if((a=l.intersection(a))&&a.z>0){a=l.NI(a);return{x:a.x/g,y:a.y/j}}return q}}});
define("dz",["require","hp","ew","f","cR"],function(a){var b=a("hp"),c=a("ew"),d=a("f"),f=a("cR"),g=new THREE.Matrix4,k=Math.PI/180,a=b.extend(d,function(){d.call(this);this.set("tag","Frame");this.Ik=new THREE.Matrix4;this.wf=new THREE.Matrix4;this.Mp=new THREE.Matrix4;this.Ph=new THREE.Matrix4});a.prototype.G=function(a){d.prototype.G.call(this,a)};a.prototype.Gv=function(a){var b=y;this.B("composedTranslationX","composedTranslationY","composedTranslationZ")&&(this.Ik.makeTranslation(0.5*-this.get("composedTranslationX")*
c.Gf,0.5*this.get("composedTranslationY")*c.Gf,0.5*this.get("composedTranslationZ")*c.Gf),b=p);this.B("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&&(this.wf.makeRotationY(-a.qa*k),this.wf.multiply(g.makeRotationX(-this.get("composedDeltaPitch")*k)),this.wf.multiply(g.makeRotationY(this.get("composedDeltaYaw")*k)),this.wf.multiply(g.makeRotationY(a.qa*k)),b=p);this.B("flipHorizontally")&&(this.Mp.makeScale(this.get("flipHorizontally")?-1:1,1,1),b=p);if(b||this.B("meshGroup"))this.Ph.copy(this.Ik),
this.Ph.multiply(this.wf),this.Ph.multiply(this.Mp),f.Vl(this.get("meshGroup"),this.Ph)};return a});
define("jx",["require","hp","hl","iN","ik"],function(a){var b=a("hp"),c=a("hl"),d=a("iN"),f=a("ik"),a=b.extend(f,function(a,b,c,d,n){f.call(this,a.get("url"));this.Z=b;this.$=c;this.T=d;this.ca=n;this.Bfa=0!=this.Z||0!=this.$||this.T!=a.get("width")||this.ca!=a.get("height")});a.prototype.gf=function(){this.Bfa?(this.sca(),this.Qm(),this.Ou(!!this.Gd)):f.prototype.gf.call(this)};a.prototype.kA=function(){f.prototype.kA.call(this);this.WM()};a.prototype.$p=function(){f.prototype.$p.call(this);this.WM()};
f.prototype.dispose=function(){f.prototype.dispose.call(this);this.WM()};a.prototype.sca=function(){var a=c.Id(this.Eb);this.Gd=d.Ima(a,this.Z,this.$,this.T,this.ca)};a.prototype.WM=function(){this.Gd&&(d.dI(this.Gd),this.Gd=q)};return a});
define("ea","require,dl,cw,ie,eP,dm,ik,jx,ew,bG,cR,bw,iB,gL,t".split(","),function(a){var b=a("dl"),c=a("cw"),d=a("ie"),f=a("eP"),g=a("dm"),k=a("ik"),j=a("jx"),h=a("ew"),n=a("bG"),e=a("cR"),l=a("bw"),r=a("iB"),o=a("gL"),s=a("t"),t={Fma:function(a,b){var c=l.get(a);switch(c){case l.dr:case l.uo:case l.yh:return this.dca(c,a,b);case l.el:case l.er:case l.Kt:return this.fca(c,a,b)}},Kma:function(a,b){var d=a.get("hfov"),f=a.get("vfov"),g=a.get("pitch"),j=a.get("width"),l=b.get("posterURL"),r=new k(l),
l=n.aI(r.texture());o.nm(l,r);l.visible=y;f=h.TS(d,f,g,1,1);f=e.create(f,[l]);o.kC(f,j/d);f.layers.set(c.Zk);return f},Jma:function(a,b){var d=a.get("hfov"),f=a.get("vfov"),j=a.get("pitch"),l=a.get("width"),k=b.get("url"),r=new g,k=n.Mk(r.texture(),new n.Fj(k));o.nm(k,r);k.visible=p;f=h.TS(d,f,j,1,1);f=e.create(f,[k]);o.kC(f,l/d);f.layers.set(c.Zk);return f},Hma:function(a){var b=[d.Ea,d.ha,d.Ya,d.Xa,d.FRONT,d.BACK].map(function(){var b=new g;b.Hg(t.vea(a));var c=n.Mk(b.texture());o.nm(c,b);c.visible=
p;return c}),f=h.h6(1,1),b=e.create(f,b);o.kC(b,256/90);b.layers.set(c.Zk);return b},iR:{},vea:function(a){if(!t.iR[a]){var b=document.createElement("canvas");b.width=b.height=256;var c=b.getContext("2d");c.fillStyle=a;c.fillRect(0,0,b.width,b.height);t.iR[a]=b}return t.iR[a]},dca:function(a,g,j){var k=a==l.dr?[c.Ea,c.ha]:[c.Zk],n=g.get("flipImageHorizontally");n&&(k=k.reverse());var t=a==l.yh?1:6*k.length,s=j.get("width")/t,G=j.get("height"),A,F;if(b.tb("TiledImageResourceLevel",j)){A=j.get("colCount",
t)/t;F=j.get("rowCount",1)}else if(this.l3(a,j)){A=Math.ceil(s/f.wm());F=Math.ceil(G/f.wm())}else F=A=1;var J=[d.Ea,d.ha,d.Ya,d.Xa,d.FRONT,d.BACK];return k.map(function(c,d){var f=Array(6);J.forEach(function(e,k){var o=r.iT(g,j,e);if(b.tb("TiledImageResourceLevel",j))f[h.FW.indexOf(e)]=this.cca(o,a,c,e,n,A,F);else{var t=a==l.yh?0:Math.round((d*J.length+k)*s),w=A>1||F>1||a!=l.yh?s>256?1:0.5:0;f[h.FW.indexOf(e)]=this.fZ(o,A,F,t,0,s,G,w)}}.bind(this));var k=Array.prototype.concat.apply([],f),t=h.h6(A,
F),k=e.create(t,k);k.layers.set(c);o.kC(k,s/90);return k}.bind(this))},fca:function(a,b,d){var g=a==l.el?[c.Zk]:[c.ha,c.Ea];b.get("flipImageHorizontally")&&(g=g.reverse());var j=d.get("width"),k=d.get("height"),n=b.get("hfov"),r=b.get("vfov"),t=b.get("pitch"),s=Math.round(j/n/(k/r)),J=Math.round(j/s),I=Math.round(k/Math.round(k/r/(j/n))),K=(a=this.l3(a,d))?Math.ceil(J/f.wm()):1,L=a?Math.ceil(I/f.wm()):1;return g.map(function(a,b){var c=this.fZ(d,K,L,b%s*J,Math.floor(b/s)*I,J,I),f=h.TS(n,r,t,K,L),
c=e.create(f,c);c.layers.set(a);o.kC(c,J/n);return c}.bind(this))},l3:function(a,b){switch(a){case l.dr:case l.uo:case l.er:case l.Kt:return p;case l.yh:return y;case l.el:return s.W6().Soa<Math.max(b.get("width"),b.get("height"))?p:f.ui()||s.Na()?y:s.jd()==s.Kq?p:y}},fZ:function(a,b,c,e,d,f,h,l){l||(l=0);for(var k=[],r=0;r<c;r++)for(var t=d+l+(h-2*l)*r/c,s=d+l+(h-2*l)*(r+1)/c,K=0;K<b;K++){var L=e+l+(f-2*l)*K/b,O=e+l+(f-2*l)*(K+1)/b,L=a?new j(a,L,t,O-L,s-t):new g,O=n.aI(L.texture());o.nm(O,L);k.push(O)}return k},
cca:function(a,b,c,e,d,f,h){for(var j=[],l=0;l<h;l++)for(var t=0;t<f;t++){var s;s=a?new k(r.S6(a,b,c,e,d,h,l,t)):new g;var I=n.aI(s.texture());o.nm(I,s);I.visible=y;j.push(I)}return j}};return t});
define("ck","require,hp,jq,dz,gG,ea,gL".split(","),function(a){var b=a("hp"),c=a("jq"),d=a("dz"),f=a("gG"),g=a("ea"),k=a("gL"),a=b.extend(d,function(a){d.call(this);this.pd=a;this.set("tag","SolidFrame");this.ae=q});a.prototype.Hb=function(){this.ae=(new f(c.R)).Di(this.gf.bind(this));d.prototype.Hb.call(this)};a.prototype.Pb=function(){this.ae.dispose();d.prototype.Pb.call(this)};a.prototype.jl=function(){var a=[g.Hma(this.pd)];k.Bq(a,k.tm);k.Aq(a,k.cl);this.ae.md(a);return a};a.prototype.gf=function(){this.trigger(c.Mb);
this.trigger(c.R)};return a});
define("gs","require,hp,fh,ew,bG,cR,I,f,dm,gL".split(","),function(a){var b=a("hp"),c=a("fh"),d=a("ew"),f=a("bG"),g=a("cR");a("I");var k=a("f"),j=a("dm"),h=a("gL");new THREE.Matrix4;var n=Math.PI/180,a=b.extend(k,function(){k.call(this);this.set("tag","Sprite");this.set("distance",m);this.set("textureSource",q);this.set("width",100);this.set("height",100);this.set("offsetX",m);this.set("offsetY",m);this.set("centerX",0);this.set("centerY",0);this.set("roll",0);this.set("materialConfig",this.hk=new f.Fj);
this.sda=d.qB();this.Rm=new THREE.Matrix4;this.Zt=new THREE.Matrix4;this.nv=new THREE.Matrix4;this.L0=new THREE.Matrix4;this.Ck=new THREE.Matrix4;this.Mp=new THREE.Matrix4;this.Ph=new THREE.Matrix4});a.prototype.G=function(a){k.prototype.G.call(this,a);this.NA()};a.prototype.NA=function(){if(this.B("textureSource")||this.B("materialConfig")&&!this.hk.isEqual(this.get("materialConfig"))){var a=this.get("meshGroup");a&&g.Ef(a,function(a){g.HU(a,this.VD())}.bind(this))}};a.prototype.jl=function(){var a=
g.create(this.sda,this.VD());h.Aq(a,h.cl);h.Bq(a,h.tm);h.hC(a,c.uK);h.ZI(a,1);return[a]};a.prototype.VD=function(){var a=this.get("textureSource")||new j;this.hk=this.get("materialConfig");var b=f.Mk(a.texture(),this.hk);h.nm(b,a);return[b]};a.prototype.ck=function(a){return g.nT(this.get("meshGroup"),a)};a.prototype.Gv=function(a){var b=y;this.set("rendererYaw",a.qa);this.set("rendererPitch",a.pitch);this.set("rendererRoll",a.cd);this.set("rendererCameraFOV",a.Te);this.set("rendererWidth",a.width);
this.set("rendererHeight",a.height);this.set("inVR",a.Lb);this.B("distance","composedTranslationX","composedTranslationY","composedTranslationZ")&&this.set("z",this.get("composedTranslationX")==0&&this.get("composedTranslationY")==0&&this.get("composedTranslationZ")==0&&this.get("distance")!==m?d.gw(this.get("distance")):d.lq());if(this.B("z")){this.Rm.makeTranslation(0,0,-this.get("z"));centerMatrixChanged=p}a.Te&&this.B("z","rendererCameraFOV")&&this.set("rendererHeightZ",Math.tan(a.Te*n*0.5)*this.get("z")*
2);if(a.mh&&this.B("rendererYaw","rendererPitch","rendererRoll","rendererCameraFOV","rendererWidth","rendererHeight","rendererHeightZ","inVR","centerX","centerY")){this.Zt.copy(a.mh.matrixWorld);var b=this.get("rendererHeightZ"),c=b*a.mh.aspect,c=(this.get("centerX")-a.width*0.5)*c/a.width*0.5,b=(a.height*0.5-this.get("centerY"))*b/a.height*0.5;this.nv.makeTranslation(c,b,0);b=p}if(this.B("roll")){this.Ck.makeRotationZ(this.get("roll")*n);b=p}if(a.Te&&(centerMatrixChanged||this.B("rendererHeight",
"inVR","rendererHeightZ","width","height","flipHorizontally"))){b=a.Lb?512/a.height:1;a=(this.get("flipHorizontally")?-1:1)*this.get("width")*b;b=this.get("height")*b;this.Mp.makeScale(a,b,1);b=p}if(this.B("width","height","offsetX","offsetY")){a=0.5-this.get("offsetX")/this.get("width");b=this.get("offsetY")/this.get("height")-0.5;this.L0.makeTranslation(a,b,0);b=p}if(b){this.Ph.copy(this.Zt);this.Ph.multiply(this.Rm);this.Ph.multiply(this.nv);this.Ph.multiply(this.Ck);this.Ph.multiply(this.Mp);
this.Ph.multiply(this.L0);g.Vl(this.get("meshGroup"),this.Ph)}};return a});
define("es",["require","iO"],function(a){function b(a,c,g,k,j,h){this.lj=c;this.t=document.createElement("canvas");this.t.width=this.lj;this.t.height=this.lj;switch(a){case b.Ow:this.Kca(g,k,j,h);break;case b.RC:this.Lca(g,k,j,h)}}var c=a("iO");b.prototype.jc=P("lj");b.prototype.Sc=P("lj");b.prototype.Kca=function(a,b,g,k){for(var j=0.5*this.lj,h=0.5*this.lj,n=0.5*this.lj,e=this.t.getContext("2d"),b=c.$T(b),l=e.createRadialGradient(j,h,0,j,h,n),r=0;r<g.length;r++)l.addColorStop(k[r],"rgba("+b[0]+
","+b[1]+","+b[2]+","+g[r]+")");e.fillStyle=l;e.globalAlpha=a;e.beginPath();e.arc(j,h,n,0,2*Math.PI,p);e.closePath();e.fill()};b.prototype.Lca=function(a,b,g,k){var j=0.5*this.lj,h=0.5*this.lj,n=0.5*this.lj,e=this.t.getContext("2d");e.clearRect(0,0,this.lj,this.lj);for(var l=c.$T(b),r=e.createRadialGradient(j,h,0,j,h,n),b=0;b<g.length;b++)r.addColorStop(k[b],"rgba("+l[0]+","+l[1]+","+l[2]+","+g[b]+")");e.fillStyle=r;e.globalAlpha=a;e.beginPath();for(b=0;6>b;b++)g=45*Math.PI/180+2*Math.PI*b/6,a=j+
Math.cos(g)*n,g=h+Math.sin(g)*n,0==b?e.moveTo(a,g):e.lineTo(a,g);e.closePath();e.fill()};b.Ow="circle";b.RC="hexagon";return b});
define("iC","require,hp,gS,jq,cx,fS,ck,gs,es,dm".split(","),function(a){var b=a("hp"),c=a("gS"),d=a("jq"),f=a("cx"),g=a("fS"),k=a("ck"),j=a("gs"),h=a("es"),n=a("dm"),a=b.extend(g,function(a){g.call(this);this.m=a;this.Sh.push(this.m);this.Me=this.Me.bind(this);this.set("tag","LensFlare");this.set("translationAlpha",0);this.rL=this.Uba();this.Rc=this.uca();this.th(this.rL.concat([this.Rc]))});a.prototype.Hb=function(){g.prototype.Hb.call(this);this.trigger(d.Mb);this.trigger(d.R);c.Zc(this.m,["yaw",
"pitch","bleaching","bleachingDistance"],this.Me,p)};a.prototype.Pb=function(){c.vd(this.m,["yaw","pitch","bleaching","bleachingDistance"],this.Me,p);g.prototype.Pb.call(this)};a.prototype.Me=function(){this.set("yaw",this.m.get("yaw"));this.set("pitch",this.m.get("pitch"));this.set("bleaching",this.m.get("bleaching"));this.set("bleachingDistance",this.m.get("bleachingDistance"))};a.prototype.G=function(a){g.prototype.G.call(this,a);this.set("rendererYaw",a.qa);this.set("rendererPitch",a.pitch);this.set("rendererRoll",
a.cd);this.set("rendererCameraFOV",a.Te);this.set("rendererWidth",a.width);this.set("rendererHeight",a.height);this.set("inVR",a.Lb);if(this.B("composedTranslationX","composedTranslationY","composedTranslationZ")){var b=this.get("composedTranslationX"),c=this.get("composedTranslationY"),d=this.get("composedTranslationZ");this.set("translationAlpha",Math.max(0,1-Math.sqrt(b*b+c*c+d*d)*10))}if(this.B("rendererYaw","rendererPitch","rendererRoll","rendererCameraFOV","rendererWidth","rendererHeight","inVR",
"yaw","pitch","translationAlpha","composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")){var h=a.qa+this.get("composedDeltaYaw"),j=a.pitch+this.get("composedDeltaPitch"),k=a.cd+this.get("composedDeltaRoll"),b=this.get("translationAlpha"),d=c=0,n,w,z,C;if(!a.Lb)if(h=f.get(this.get("yaw"),this.get("pitch"),h,j,k,a.Te,a.width,a.height)){w=a.width*0.5;C=a.height*0.5;n=h.x;z=h.y;w=(w-n)*2;C=(C-z)*2;d=Math.sqrt(w*w+C*C);c=Math.sqrt(a.width*a.width,a.height*a.height);a=Math.min(a.width,a.height);c=
Math.max(0,Math.min(0.7,1-d/c))*b;h=this.get("bleaching");a=1-Math.max(0,Math.min(1,d/(a*this.get("bleachingDistance"))));d=h*a*b}for(a=0;a<this.rL.length;a++){b=this.rL[a];b.set("alpha",c);if(c>0){b.set("centerX",n+w*e[a].position);b.set("centerY",z+C*e[a].position)}}this.Rc.set("alpha",d)}};a.prototype.Uba=function(){return e.map(function(a){var b=(new h(a.form,a.At,a.opacity,a.color,a.ot,a.pt)).t,c=new n;c.Hg(b);b=new j;b.set("textureSource",c);b.set("width",a.size);b.set("height",a.size);b.set("offsetX",
a.size*0.5);b.set("offsetY",a.size*0.5);b.set("alpha",0);return b})};a.prototype.uca=function(){return new k("#ffffff")};var e=[{form:h.RC,position:0.1,size:52,At:128,opacity:0.8,color:"#FCFCFC",ot:[1,0.5],pt:[0,0.866]},{form:h.RC,position:0.2,size:52,At:128,opacity:0.6,color:"#C8FCC8",ot:[1,0.5],pt:[0,0.866]},{form:h.Ow,position:0.36,size:112,At:128,opacity:0.5,color:"#C8C8FC",ot:[1,0.9,0.6,0],pt:[0,0.2,0.4,1]},{form:h.Ow,position:0.47,size:32,At:128,opacity:0.3,color:"#96C8AF",ot:[1,1,0],pt:[0,
0.9,1]},{form:h.Ow,position:0.65,size:52,At:128,opacity:0.7,color:"#FCFCFC",ot:[0.7,0.7,0.2,0],pt:[0,0.1,0.4,1]},{form:h.RC,position:0.88,size:128,At:128,opacity:0.4,color:"#AF96C8",ot:[1,0.5],pt:[0,0.866]},{form:h.Ow,position:1,size:33,At:128,opacity:0.8,color:"#C89696",ot:[0.8,0.8,0.6,0],pt:[0,0.2,0.4,1]}];return a});
define("bs",["require","db"],function(a){function b(a,b,j){f.style.fontFamily=d.iq(b.fontFamily);f.style.fontSize=b.fontSize;f.style.fontWeight=b.fontWeight;f.style.fontStyle=b.fontStyle;f.innerHTML=a;document.body.appendChild(f);var h=new c(Math.ceil(f.clientWidth),Math.ceil(f.clientHeight));document.body.removeChild(f);j&&(j.font=b.fontSize+" "+d.iq(b.fontFamily),a=j.measureText(a).width,h.height*=a/h.width,h.width=a);return h}function c(a,b){this.width=a;this.height=b}var d=a("db"),f=document.createElement("div");
f.style.display="inline-block";f.style.margin=0;f.style.padding=0;f.style.whiteSpace="nowrap";b.AW=function(){this.fontFamily="Arial";this.fontSize="12px";this.fontWeight="400";this.fontStyle="normal"};b.gsa=c;return b});
define("iy",["require","bs","db"],function(a){function b(a,b){this.Fa=a;this.n2=5;this.mc=b.map(function(b){return new c(a,b)});this.Fu=this.Gu=this.Lg=this.Xd=0;this.XR();this.t=document.createElement("canvas");this.t.width=this.Xd;this.t.height=this.Lg;this.ga=this.t.getContext("2d");this.Y=p;this.Pc=this.g2=-1}function c(a,b){this.rt=a;this.item=b;this.label=b.get("label");this.fontFamily=this.rt.get("fontFamily","Arial");this.fontSize="12px";this.backgroundColor=this.rt.get("backgroundColor",
"#000000");this.o8=this.rt.get("rollOverBackgroundColor",this.backgroundColor);this.Jpa=this.rt.get("selectedBackgroundColor",this.o8);this.r6=this.rt.get("fontColor","#000000");this.p8=this.rt.get("rollOverFontColor",b.r6);this.Kpa=this.rt.get("selectedFontColor",b.p8);this.d9=this.c9=this.e9=this.f9=this.height=this.width=this.left=this.top=0;this.status=y;this.FT=p}var d=a("bs"),f=a("db");c.prototype.tra=function(){var a=new d.AW;a.fontFamily=this.fontFamily;a.fontSize=this.fontSize;a=d(this.label,
a);this.f9=a.width;this.e9=a.height};c.prototype.Pqa=function(a){this.status!=a&&(this.status=a,this.FT=p)};c.prototype.Rma=function(a){if(this.FT){this.FT=y;var b,c;switch(this.status){case "normal":b=this.backgroundColor;c=this.r6;break;case "over":b=this.o8;c=this.p8;break;case "selected":b=this.Jpa,c=this.Kpa}a.clearRect(this.left,this.top,this.width,this.height);a.fillStyle=b;a.fillRect(this.left,this.top,this.width,this.height);a.fillStyle=c;a.font=this.fontSize+" '"+this.fontFamily+"'";a.font=
this.fontSize+(isNaN(this.fontSize)?"":"px")+" "+f.iq(this.fontFamily);a.textBaseline="middle";a.textAlign="center";a.fillText(this.label,Math.round(this.c9),Math.round(this.d9));return p}return y};b.prototype.jc=P("Xd");b.prototype.Sc=P("Lg");b.prototype.XR=function(){var a=0,b=0;this.mc.forEach(function(c){c.tra();a=Math.max(c.f9,a);b=Math.max(c.e9,b)});this.Gu=a+2*this.n2;this.Fu=b+2*this.n2;var c=0,d=0,f=0;this.mc.forEach(function(a){20<=f&&(f=0,d+=this.Gu,c=0);a.left=d;a.top=c;a.c9=d+0.5*this.Gu;
a.d9=c+0.5*this.Fu;a.width=this.Gu;a.height=this.Fu;f+=1;c+=this.Fu}.bind(this));this.Xd=Math.ceil(this.mc.length/20)*this.Gu;this.Lg=Math.min(20,this.mc.length)*this.Fu};b.prototype.update=function(){for(var a=y,b=0;b<this.mc.length;b++)this.mc[b].Pqa(this.g2==b?"over":this.Pc==b?"selected":"normal"),a=this.mc[b].Rma(this.ga)||a;return a};b.prototype.C6=function(a,b){var c=-1;0<=a&&a<this.Xd&&0<=b&&b<this.Lg&&(c=20*Math.floor(a/this.Gu)+Math.floor(b/this.Fu),c>=this.mc.length&&(c=-1));return c};
b.prototype.JU=N("g2");b.prototype.NU=N("Pc");b.prototype.clear=function(){this.mc=this.t=this.ga=this.Fa=q};return b});
define("dP","require,hp,jq,gg,iy,dm,jf,bk".split(","),function(a){function b(a,b){var c=(b-a)*0.98;Math.abs(c)<1.0E-5&&(c=0);return b-c}var c=a("hp"),d=a("jq"),f=a("gg"),g=a("iy"),k=a("dm"),j=a("jf"),h=a("bk"),a=c.extend(f,function(a){f.call(this);this.Fa=a;this.t=q;this.Jn=this.ji=this.lQ=this.An=m;this.xY=20;this.Ad=q;this.vb=this.Fa.get("opacity",0.5);this.tz=this.Fa.get("rollOverOpacity",this.vb);this.Ofa=1;this.Qfa=0.66;this.set("tag","MenuButton");this.set("visible",y);this.set("over",y);this.set("centerDistance",
m)});a.prototype.G=function(a){this.Bf(a);this.FA(a);this.LA(a);this.Vs(a);f.prototype.G.call(this,a)};a.prototype.Bf=function(){if(this.get("visible")){if(!this.t){this.get("textureSource")||this.set("textureSource",new k);this.t=new g(this.Fa,[this.Fa]);this.get("textureSource").Hg(this.t.t);this.set("contentWidth",this.t.jc());this.set("contentHeight",this.t.Sc());this.set("hfov",2*Math.atan2(this.t.jc()*0.5,300)*e);this.set("distance",this.Fa.get("distance"))}if(this.t.update()){this.get("textureSource").update();
this.Db()}this.B("over")&&this.t.JU(this.get("over")?0:-1)}};a.prototype.FA=function(a){if(this.B("visible"))this.Ad=new j("linear",[new h("displayCoef",this.get("visible")?0:1,this.get("visible")?1:0,m)],300);if(this.Ad)this.Ad.ge()?this.Ad=q:this.Ad.eb(a.kd)};a.prototype.LA=function(a){if(this.get("visible")||this.Ad){this.ji=a.qa;this.Jn=Math.min(90,Math.max(-90,this.xY+this.xY-a.pitch));if(this.B("visible")&&this.get("visible")){this.set("yaw",a.qa);this.set("pitch",a.pitch)}else{for(;this.ji+
180<this.An;)this.An=this.An-360;for(;this.ji-180>this.An;)this.An=this.An+360;var c=(this.ji-this.An)/a.kd,e=(this.Jn-this.lQ)/a.kd,d=Math.atan2(e,c),e=Math.sqrt(e*e+c*c),e=Math.min(e,10*n),c=Math.cos(d)*e,d=Math.sin(d)*e;this.set("yaw",b(this.get("yaw"),this.ji+c));this.set("pitch",b(this.get("pitch"),this.Jn+d))}this.An=this.ji;this.lQ=this.Jn;d=this.get("yaw")-a.qa;a=this.get("pitch")-a.pitch;this.set("centerDistance",Math.sqrt(d*d+a*a))}};a.prototype.Vs=function(){if(!this.get("visible")&&!this.Ad)this.set("alpha",
0);else if(this.B("over","centerDistance")||this.Ad){var a=this.get("over")?this.tz:this.vb,b=this.Qfa,c=this.get("centerDistance")/this.get("hfov");if(c<1){b=b+(1-c)*(this.Ofa-b);a=a+(1-c)*(this.tz-a)}if(this.Ad){a=a*this.Ad.kb("displayCoef");b=b*this.Ad.kb("displayCoef")}this.set("alpha",a);this.set("scale",b)}};a.prototype.zi=function(a){if(a.Bd==d.Ah){var b=y;this.get("visible")&&!a.Dg()&&(b=this.ck(a.zk).length>0);if(b){a.dq(this.Fa);a.fq(this.Fa);a.lh(this.get("distance"))}if(this.get("over")!=
b){this.get("over")&&this.Fa.trigger(d.ec);this.set("over",b);this.get("over")&&this.Fa.trigger(d.Cc)}}else if(a.Bd==d.zh&&this.get("visible")&&!a.Dg()&&this.ck(a.zk).length>0){a.ko(this.Fa);this.Fa.trigger(d.W);this.trigger(d.W)}};var n=Math.PI/180,e=180/Math.PI;return a});
define("gj","require,hp,jq,gg,iy,dm,jf,bk".split(","),function(a){var b=a("hp"),c=a("jq"),d=a("gg"),f=a("iy"),g=a("dm"),k=a("jf"),j=a("bk"),a=b.extend(d,function(a,b){d.call(this);this.Fa=a;this.Sy=b;this.t=q;this.lQ=this.An=m;this.Ad=q;this.vb=this.Fa.get("opacity",0.5);this.tz=this.Fa.get("rollOverOpacity",this.vb);this.set("textureSource",new g);this.t=new f(this.Fa,b);this.set("tag","MenuPanel");this.get("textureSource").Hg(this.t.t);this.set("contentWidth",this.t.jc());this.set("contentHeight",
this.t.Sc());this.set("hfov",2*Math.atan2(this.t.jc()*0.5,300)*h);this.set("distance",this.Fa.get("distance"));this.set("overIndex",-1);this.set("selectedIndex",-1);this.qZ=y});a.prototype.Hb=function(){d.prototype.Hb.call(this)};a.prototype.Pb=function(){d.prototype.Pb.call(this)};a.prototype.G=function(a){this.Bf(a);this.FA(a);this.LA(a);d.prototype.G.call(this,a)};a.prototype.Bf=function(){this.B("selectedIndex")&&this.t.JU(this.get("selectedIndex"));this.B("overIndex")&&this.t.JU(this.get("overIndex"));
if(this.t.update()){this.get("textureSource").update();this.Db()}};a.prototype.FA=function(a){if(!this.Ad&&!this.qZ)this.Ad=new k("linear",[new j("alpha",0,1,m),new j("scale",0,1,m),new j("yaw",a.qa,this.get("yaw"),m),new j("pitch",a.pitch,this.get("pitch"),m)],300);if(this.Ad)if(this.Ad.ge()){this.qZ=p;this.Ad=q}else this.Ad.eb(a.kd)};a.prototype.LA=function(){if(this.Ad){var a=this.get("overIndex")<0?this.vb:this.tz;this.set("alpha",a*this.Ad.kb("alpha"));this.set("scale",this.Ad.kb("scale"));this.set("yaw",
this.Ad.kb("yaw"));this.set("pitch",this.Ad.kb("pitch"))}else if(this.B("overIndex")){a=this.get("overIndex")<0?this.vb:this.tz;this.set("alpha",a)}};a.prototype.zi=function(a){if(a.Bd==c.Ah){var b=-1;if(!a.Dg()){var d=this.ck(a.zk).filter(function(a){return a.source==this.t.t}.bind(this));d.length>0&&(b=this.t.C6(d[0].x,d[0].y))}if(b>=0){a.dq(this.Sy[b]);a.fq(this.Sy[b]);a.lh(this.get("distance"))}this.get("overIndex")>=0!=b>=0&&(b>0?this.trigger(c.Cc):this.trigger(c.ec));if(this.get("overIndex")!=
b){this.get("overIndex")>=0&&this.Sy[this.get("overIndex")].trigger(c.ec);this.set("overIndex",b);this.get("overIndex")>=0&&this.Sy[this.get("overIndex")].trigger(c.Cc)}}else if(a.Bd==c.zh&&!a.Dg()){d=this.ck(a.zk).filter(function(a){return a.source==this.t.t}.bind(this));if(d.length>0){b=this.t.C6(d[0].x,d[0].y);if(b>=0){d=this.Sy[b];this.set("selectedIndex",b);a.ko(d);a.lh(this.get("distance"));d.trigger(c.W);this.trigger(c.W,{item:d})}}}};var h=180/Math.PI;return a});
define("dN",["require","hp","jq","fS","gj"],function(a){var b=a("hp"),c=a("jq"),d=a("fS"),f=a("gj"),a=b.extend(d,function(a){d.call(this);this.Fa=a;this.Ap=[];this.Uu=q;this.set("tag","MenuPanels");this.set("visible",y)});a.prototype.G=function(a){this.B("visible")&&this.get("visible")&&(this.set("yaw",a.qa),this.set("pitch",a.pitch),this.HX(this.Fa));d.prototype.G.call(this,a)};a.prototype.HX=function(a){var a=new f(this.Fa,a.get("children",[])),b=this.get("yaw");this.Qa().forEach(function(a){b+=
a.get("hfov")+k});a.set("yaw",b);a.set("pitch",this.get("pitch"));this.daa(a);this.appendChild(a)};a.prototype.d3=function(a){this.Qa().slice(a).forEach(function(a){this.hia(a);a.remove()}.bind(this));this.Ap=this.Ap.filter(function(a){return 0<=this.Qa().indexOf(a)}.bind(this))};a.prototype.daa=function(a){a.bind(c.Cc,this.s2,this,p);a.bind(c.ec,this.r2,this,p);a.bind(c.W,this.q2,this,p)};a.prototype.hia=function(a){a.unbind(c.Cc,this.s2,this,p);a.unbind(c.ec,this.r2,this,p);a.unbind(c.W,this.q2,
this,p)};a.prototype.s2=function(a){0>this.Ap.indexOf(a.source)&&(this.Ap.push(a.source),1==this.Ap.length&&this.KY())};a.prototype.r2=function(a){a=this.Ap.indexOf(a.source);0<=a&&(this.Ap.splice(a,1),0==this.Ap.length&&this.pja())};a.prototype.q2=function(a){var b=a.source,a=a.data.item;a.get("children",[]).length?(this.d3(this.Qa().indexOf(b)+1),this.HX(a)):this.PY()};a.prototype.PY=function(){this.set("visible",y);this.d3(0);this.KY();this.trigger(c.Mq)};a.prototype.KY=function(){this.Uu&&(clearTimeout(this.Uu),
this.Uu=q)};a.prototype.pja=function(){this.Uu||(this.Uu=setTimeout(function(){this.Uu=q;this.PY()}.bind(this),g))};var g=3E3,k=1;return a});
define("dU","require,hp,jq,fS,dP,dN".split(","),function(a){var b=a("hp"),c=a("jq"),d=a("fS"),f=a("dP");MenuPanels=a("dN");a=b.extend(d,function(a){d.call(this);this.m=a;this.Sh.push(this.m);this.set("tag","Menu");this.set("visible",y);this.Sb=new f(this.m);this.Sb.bind(c.W,this.Qaa,this,y);this.Ne=new MenuPanels(this.m);this.Ne.bind(c.Mq,this.mha,this,y);this.th([this.Sb,this.Ne])});a.prototype.Hb=function(){d.prototype.Hb.call(this);this.trigger(c.Mb);this.trigger(c.R)};a.prototype.G=function(a){this.set("visible",
a.Lb);if(this.B("visible")){this.Sb.set("visible",this.get("visible"));this.Ne.set("visible",y)}d.prototype.G.call(this,a)};a.prototype.Qaa=function(){this.Sb.set("visible",y);this.Ne.set("visible",p)};a.prototype.mha=function(){this.Sb.set("visible",this.get("visible"))};return a});
define("jn","require,hp,jq,gg,dm,gG,hq".split(","),function(a){var b=a("hp"),c=a("jq"),d=a("gg"),f=a("dm");EventAggregator=a("gG");ProgressEvent=a("hq");a=b.extend(d,function(){d.call(this);this.set("tag","CustomPlane");this.set("source",q);this.set("sourceUpdated",y);this.sc=this.ae=q});a.prototype.Hb=function(){this.ae=(new EventAggregator(c.R)).Di(this.kk.bind(this));this.sc=(new EventAggregator(c.R)).Sk(this.Wh.bind(this));d.prototype.Hb.call(this)};a.prototype.Pb=function(){this.ae.dispose();
this.sc.dispose();d.prototype.Pb.call(this)};a.prototype.G=function(a){if(this.B("source","sourceUpdated","useMipmapping","anisotropy")){var b=this.get("textureSource");b||this.set("textureSource",b=new f);this.B("source")&&b.Hg(this.get("source"));this.B("sourceUpdated")&&(b.update(),this.set("sourceUpdated",y));this.B("useMipmapping")&&b.iJ(this.get("useMipmapping"),this.get("anisotropy"))}d.prototype.G.call(this,a);if(this.B("meshGroup")){a=(a=this.get("meshGroup"))&&a.children||[];if(a.length){this.ae.md(a);
this.sc.md(a)}}};a.prototype.kk=function(){this.trigger(c.Mb);this.trigger(c.R)};a.prototype.Wh=function(a,b){var d=0;b.Tn(function(a){(a=b.vi(a))&&(d=d+a.rh)});this.trigger(new ProgressEvent(c.dc,d/b.Fc.length))};return a});
define("hE",["require"],function(){function a(a){this.pd=this.my(a.get("surfaceReticleColor"));this.Fl=this.my(a.get("surfaceReticleSelectionColor"));this.vb=a.get("surfaceReticleOpacity");this.x3=a.get("surfaceReticleSelectionOpacity");this.Lg=this.Xd=128;this.gha=0.456;this.hha=0.088;this.Zea=0.18;this.t=document.createElement("canvas");this.t.width=this.Xd;this.t.height=this.Lg;this.ga=this.t.getContext("2d");this.ga.fillStyle="red";this.ga.moa=p;this.ga.fillRect(0,0,this.Xd,this.Lg);this.Zh=this.PL=
y;this.Iu=this.OF=m;this.nr=0}a.prototype.zN=function(a){return this.hj(this.Fl[0]*a+(1-a)*this.pd[0],this.Fl[1]*a+(1-a)*this.pd[1],this.Fl[2]*a+(1-a)*this.pd[2],this.x3*a+(1-a)*this.vb)};a.prototype.my=function(a){a=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a);return[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16)]};a.prototype.hj=function(a,c){return"rgba("+a.join(",")+", "+c+")"};a.prototype.Ga=function(a){this.za!=a&&(this.za=a,this.Y=p)};a.prototype.jc=P("Xd");a.prototype.Sc=P("Lg");
a.prototype.update=function(){if(!this.Y)return y;this.Y=y;this.ga.clearRect(0,0,this.Xd,this.Lg);var a=[this.Fl[0]*this.za+(1-this.za)*this.pd[0],this.Fl[1]*this.za+(1-this.za)*this.pd[1],this.Fl[2]*this.za+(1-this.za)*this.pd[2]],c=this.x3*this.za+(1-this.za)*this.vb;this.ga.strokeStyle=this.hj(a,c);this.ga.fillStyle=this.hj(a,c*this.za);this.ga.beginPath();this.ga.lineWidth=this.Xd*this.hha;this.ga.arc(0.5*this.Xd,0.5*this.Xd,this.Xd*this.gha,0,2*Math.PI,y);this.ga.stroke();this.ga.beginPath();
this.ga.arc(0.5*this.Xd,0.5*this.Xd,this.Xd*this.Zea,0,2*Math.PI,y);this.ga.fill();return p};return a});
define("eA","require,hp,gS,jq,ew,fS,jn,hE,cj,eO".split(","),function(a){function b(a,b,c){this.JI=a;this.JI.bind(f.ba("distanceToFloor"),this.G,this,y);this.dg=b;this.dg.bind(f.ba("yaw"),this.G,this,y);this.dg.bind(f.ba("distance"),this.G,this,y);this.dg.bind(f.ba("enabled"),this.G,this,y);this.dg.bind(f.ba("enabledInSurfaceSelection"),this.G,this,y);this.za=q;this.sh=new j;this.sh.set("hfov",20);this.sh.set("vfov",20);this.sh.set("pitch",-90);this.sh.set("useMipmapping",p);this.sh.set("anisotropy",
16);this.sh.set("source",c.t);this.sh.set("contentWidth",c.jc());this.sh.set("contentHeight",c.Sc());this.G()}var c=a("hp"),d=a("gS"),f=a("jq"),g=a("ew"),k=a("fS"),j=a("jn"),h=a("hE"),n=a("cj"),e=a("eO"),a=c.extend(k,function(a){k.call(this);this.zF=this.zF.bind(this);this.rl=this.rl.bind(this);this.wF=this.wF.bind(this);this.set("tag","SurfaceSelector");this.set("reticleVisible",y);this.set("enabled",y);this.K=a;this.mD=[];this.Zx=new e;this.de=new n;this.qb=new j;this.qb.set("useMipmapping",p);
this.qb.set("anisotropy",16);this.qb.set("hfov",20);this.qb.set("vfov",20);this.qb.set("pitch",-90);this.set("reticleCoef",1);this.th([this.qb])});a.prototype.Hb=function(){this.kca();k.prototype.Hb.call(this);d.Zc(this.K,["distanceToFloor"],this.zF,p);d.Zc(this.K,["adjacentPanoramas"],this.rl,p);d.Zc(this.Va.$b,["adjacentPanoramaPositionsEnabled"],this.wF,p);this.trigger(f.Mb);this.trigger(f.R)};a.prototype.Pb=function(){k.prototype.Pb.call(this);d.vd(this.K,["distanceToFloor"],this.zF);d.vd(this.K,
["adjacentPanoramas"],this.rl);d.vd(this.Va.$b,["adjacentPanoramaPositionsEnabled"],this.wF);this.D3([])};a.prototype.zF=function(){var a=this.K.get("distanceToFloor");this.qb.set("distance",a);var a=g.gw(a),b=g.tT(a,90),c=g.uT(a,90);this.Zx.ld.set(-b*0.5,-a,-c*0.5);this.Zx.Ff.set(b*0.5,-a,-c*0.5);this.Zx.sq.set(-b*0.5,-a,c*0.5);this.o3=a/g.lq()};a.prototype.rl=function(){this.D3(this.K.get("adjacentPanoramas",[]))};a.prototype.wF=function(){this.rl()};a.prototype.D3=function(a){this.mD.forEach(function(a){a.clear()});
this.mD=a.map(function(a){return new b(this.K,a,this.fQ)}.bind(this));a=[];this.Va.$b.get("adjacentPanoramaPositionsEnabled")&&(a=a.concat(this.mD.map(function(a){return a.sh})));a=a.concat([this.qb]);this.th(a)};a.prototype.G=function(a){k.prototype.G.call(this,a);this.set("enabled",a.nC);this.kS(a);this.aq(a)};a.prototype.kS=function(){if(this.B("enabled","reticleVisible","composedTranslationX","composedTranslationY","composedTranslationZ","composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")){this.qb.set("alpha",
this.get("reticleVisible")?1:0);this.set("alpha",this.get("enabled")&&!this.get("composedTranslationX")&&!this.get("composedTranslationY")&&!this.get("composedTranslationZ")&&!this.get("composedDeltaYaw")&&!this.get("composedDeltaPitch")&&!this.get("composedDeltaRoll")?1:0);this.h5()}};a.prototype.kca=function(){this.jv=new h(this.Va.D);this.jv.Ga(this.get("reticleCoef"));this.qb.set("source",this.jv.t);this.qb.set("contentWidth",this.jv.jc());this.qb.set("contentHeight",this.jv.Sc());this.fQ=new h(this.Va.D);
this.fQ.Ga(0);this.fQ.update(1)};a.prototype.aq=function(a){this.B("reticleCoef")&&this.jv.Ga(this.get("reticleCoef"));this.qb.set("sourceUpdated",this.jv.update(a.kd))};a.prototype.zi=function(a){if(!this.get("enabled")||a.zk.length==0||a.Dg()||a.Yoa())this.set("reticleVisible",y);else{var b=a.zk[0];this.de.ld.set(b.origin.x,b.origin.y,b.origin.z);this.de.Ff.set(b.origin.x+b.direction.x,b.origin.y+b.direction.y,b.origin.z+b.direction.z);if(b=this.Zx.intersection(this.de,p)){var c=this.Zx.NI(b,p),
e=2*(0.5-c.x),c=2*(0.5-c.y),d=l*Math.atan2(-e,c),h=-90+l*Math.atan2(Math.sqrt(e*e+c*c),1);if(h<-75||h>-1)this.set("reticleVisible",y);else{if(!a.oq()&&!a.E7())this.set("reticleVisible",y);else{this.set("reticleVisible",p);this.qb.set("alpha",Math.min(1,(h- -75)/5));this.qb.set("translationX",e*this.o3);this.qb.set("translationZ",-c*this.o3)}a.E7()&&a.hma([k]);var g=this.Va.$b.get("surfaceSelectionHorizontalAngle")*0.5,j=this.Va.$b.get("surfaceSelectionVerticalAngle")*0.5,e=this.mD.map(function(a){var b=
a.yna(d),c=a.Vna(h);return{dg:a.dg,n7:b,l9:c,Q7:Math.sqrt(b*b+c*c)}}).filter(function(a){return a.n7<g&&a.l9<j});if(e.length==0)this.set("reticleCoef",0);else{e.sort(function(a,b){return a.Q7-b.Q7});var k=e[0].dg;this.set("reticleCoef",Math.max(0,Math.min(1,(1-e[0].n7/g)*(1-e[0].l9/j))));b=this.K.get("distanceToFloor")*Math.sqrt(b.x*b.x+b.y*b.y+b.z*b.z)/-b.y;a.lh(b);if(a.Bd==f.zh){a.ko([k]);k.trigger(f.Bh)}else{a.dq([k]);a.oq()&&a.fq([k]);(k=this.Va.D.get("displayTooltipInSurfaceSelection")&&k.get("panorama")&&
k.get("panorama").get("label"))&&a.TH(k,0)}}}}else this.set("reticleVisible",y)}};b.prototype.clear=function(){this.JI.unbind(f.ba("distanceToFloor"),this.G,this,y);this.JI=q;this.dg.unbind(f.ba("yaw"),this.G,this,y);this.dg.unbind(f.ba("distance"),this.G,this,y);this.dg.unbind(f.ba("enabled"),this.G,this,y);this.dg.unbind(f.ba("enabledInSurfaceSelection"),this.G,this,y);this.dg=q};b.prototype.yna=function(a){if(!this.za)return Infinity;a=Math.abs(this.za.qa-a);return a>180?360-a:a};b.prototype.Vna=
function(a){return!this.za?Infinity:Math.abs(this.za.pitch-a)};b.prototype.G=function(){var a=this.dg.get("yaw"),b=this.dg.get("distance"),c=this.dg.get("enabled")&&this.dg.get("enabledInSurfaceSelection");if(a===m||b===m||!c){this.za=q;this.sh.set("alpha",0)}else{var c=this.JI.get("distanceToFloor"),e=-90+Math.atan2(b,c)*l;this.sh.set("alpha",e<-1?1:0);this.za={qa:a,pitch:e};e=-Math.cos(a*r)*b/c;a=-Math.sin(a*r)*b/c;b=g.gw(c)/g.lq();this.sh.set("translationX",a*b);this.sh.set("translationZ",e*b);
this.sh.set("distance",c)}};var l=180/Math.PI,r=Math.PI/180;return a});
define("K","require,hp,gS,jq,hq,fS,eA,gG,iB,ge".split(","),function(a){var b=a("hp"),c=a("gS"),d=a("jq"),f=a("hq"),g=a("fS"),k=a("eA"),j=a("gG"),h=a("iB"),n=a("ge"),e=0,a=b.extend(g,function(a){g.call(this);this.m=a;this.Sh.push(this.m);this.yF=this.yF.bind(this);this.Le=this.Le.bind(this);this.rl=this.rl.bind(this);this.hl(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","Panorama");this.set("loadingActive",y);this.set("blendingActive",p);this.set("currentTime",0);this.set("adjacentPanoramas",
[]);this.set("preloadEnabled",p);this.set("backgroundPreloadEnabled",p);this.set("surfaceSelectionEnabled",y);this.set("id","panorama_"+e++);this.set("ready",y);this.nG=[];this.gj=this.sc=this.Ld=q;this.Ie=new l;this.ej=new r;this.rka=new k(this.m);this.th([this.Ie,this.rka,this.ej])});a.prototype.Hb=function(){this.Ld=(new j(d.R)).Di(this.kk.bind(this));this.sc=(new j(d.dc)).Sk(this.ns.bind(this));this.gj=(new j(d.Mb)).Di(this.oga.bind(this));g.prototype.Hb.call(this);c.Zc(this.m,["currentTime"],
this.yF,p);c.Zc(this.m,["frames","overlays","vrMenu","adjacentPanoramas"],this.Le,p);c.Zc(this.m,["adjacentPanoramas"],this.rl,p)};a.prototype.Pb=function(){this.Ld.dispose();this.sc.dispose();this.gj.dispose();g.prototype.Pb.call(this);c.vd(this.m,["currentTime"],this.yF);c.vd(this.m,["frames","overlays","vrMenu","flipImageHorizontally"],this.Le);c.vd(this.m,["adjacentPanoramas"],this.rl);this.tR()};a.prototype.Le=function(){var a=this.Va.Yn(this.m.get("frames"));a.forEach(function(a){a.set("panoramaId",
this.get("id"));a.set("flipHorizontally",this.m.get("flipImageHorizontally"))}.bind(this));var b=this.Va.Yn(this.m.get("overlays"));this.m.get("vrMenu")&&b.push(this.Va.Yn(this.m.get("vrMenu")));b.forEach(function(a){a.set("panoramaId",this.get("id"))}.bind(this));this.Ld.md(a.concat(b));this.sc.md(a.concat(b));this.gj.md(a);this.Ie.th(a);this.ej.th(b);this.set("panoramaPixelsPerDegree",h.I6(this.m));this.l5()};a.prototype.yF=function(){this.set("currentTime",this.m.get("currentTime",0))};a.prototype.rl=
function(){this.set("adjacentPanoramas",this.m.get("adjacentPanoramas",[]))};a.prototype.kk=function(){this.Lk();this.trigger(d.R)};a.prototype.oga=function(){this.Lk();this.set("ready",p);this.trigger(d.Mb)};a.prototype.ns=function(){this.Lk()};a.prototype.Lk=function(){var a=0;this.sc.Tn(function(b){var c=0,e;this.Ld.vi(b)?c=100:(e=this.sc.vi(b))&&(c=e.rh);a=a+c}.bind(this));this.trigger(new f(d.dc,a/this.sc.Fc.length))};a.prototype.G=function(a){this.set("blendingActive",this.get("alpha")<1);this.set("backgroundPreloadEnabled",
this.Va.ya.get("backgroundPreloadEnabled")!==y);this.set("preloadEnabled",a.UB);this.B("adjacentPanoramas","loadingActive","preloadEnabled","backgroundPreloadEnabled")&&(this.get("loadingActive")&&this.get("backgroundPreloadEnabled")?this.bka():this.tR());this.B("index")&&this.l5();g.prototype.G.call(this,a)};a.prototype.CT=function(){return h.CT(this.m,this.get("preloadEnabled"))};a.prototype.bka=function(){this.tR();this.nG=this.get("adjacentPanoramas").map(function(a){a=a.get("panorama");return[a,
h.iw(a,this.get("preloadEnabled"))]}.bind(this));this.nG.forEach(function(a){n.U5(a[0],a[1]);n.GI(a[0],1)})};a.prototype.tR=function(){this.nG.forEach(function(a){n.GI(a[0],-1);n.xpa(a[0],a[1])});this.nG=[]};a.prototype.l5=function(){var a=this.get("index");this.Ie.Qa().forEach(function(b,c,e){b.set("panoramaIndex",a);b.set("frameIndex",c);b.set("frameCount",e.length)})};var l=b.extend(g,function(){g.call(this);this.hl(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("loadingActive",
y);this.set("currentTime",0);this.set("tag","Group")});l.prototype.G=function(a){this.Qa().forEach(function(a,b,c){a.set("frontFrame",c[c.length-1])});g.prototype.G.call(this,a)};var r=b.extend(g,function(){g.call(this);this.hl(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("loadingActive",y);this.set("currentTime",0);this.set("tag","Group")});return a});
define("bl",["require","hp","dz","cR"],function(a){var b=a("hp"),c=a("dz"),d=a("cR"),f=0,a=b.extend(c,function(){c.call(this);this.set("tag","PanoramaFrame");this.set("panoramaIndex",0);this.set("frameIndex",0);this.set("frameCount",1);this.set("id","frame_"+f++)});a.prototype.G=function(a){c.prototype.G.call(this,a);this.HA()};a.prototype.lS=function(){if(this.B("panoramaIndex","frameIndex","frameCount","meshGroup")){var a=this.get("meshGroup");if(a){var b=this.get("panoramaIndex"),c=this.get("frameIndex"),
f=this.get("frameCount"),n=a.children.length;a.children.forEach(function(a,g){d.QU(a,b+(g+c/f)/n)}.bind(this))}}};a.prototype.HA=function(){if(this.B("meshGroup","panoramaId","id")){var a=this.get("meshGroup");a&&a.children.forEach(function(a,b){d.setAttribute(a,d.Et,this.get("panoramaId"));d.setAttribute(a,d.oJ,b);d.setAttribute(a,d.Ft,this.get("id"))}.bind(this))}};return a});
define("iW","require,hp,gS,jq,fh,fS,bl,gG,iB,ea,gL,hq".split(","),function(a){var b=a("hp"),c=a("gS"),d=a("jq"),f=a("fh"),g=a("fS"),k=a("bl"),j=a("gG"),h=a("iB"),n=a("ea"),e=a("gL"),l=a("hq"),a=b.extend(k,function(a){k.call(this);this.set("tag","ImagePanoramaFrame");this.D2=p;this.m=a;this.Sh.push(this.m);this.yg=this.ae=this.gj=q;this.VO=[];this.Le=this.Le.bind(this);this.hl(["loadingActive","currentTime","panoramaId","panoramaPixelsPerDegree"]);this.th([this.ej=new r])});a.prototype.Hb=function(){this.gj=
new j(d.R);this.ae=new j(d.R);this.yg=new j(d.dc);k.prototype.Hb.call(this);c.Zc(this.m,["overlays"],this.Le,p)};a.prototype.Pb=function(){this.gj.dispose();this.ae.dispose();this.yg.dispose();c.vd(this.m,["overlays"],this.Le);k.prototype.Pb.call(this)};a.prototype.Le=function(){this.ej.th(this.Va.Yn(this.m.get("overlays")));this.d5()};a.prototype.d5=function(){this.ae.md([].concat(this.VO,this.ej.Qa()));this.yg.md([].concat(this.VO,this.ej.Qa()))};a.prototype.jl=function(){var a=[],b=[],c=[];h.pT(this.m,
this.D2).forEach(function(d,g){var j=n.Fma(this.m,d);if(h.Foa(d)){if(g==0){a=a.concat(j);b=b.concat(j)}e.Bq(j,g==0?e.tm:e.TC);e.Aq(j,g==0?e.cl:e.kK)}else{g==0&&(a=a.concat(j));b=b.concat(j);e.Bq(j,e.tm);e.Aq(j,e.cl)}e.hC(j,g==0?f.nW:f.dl);e.ZI(j,g);c=c.concat(j)}.bind(this));this.gj.md(a);this.VO=b;this.d5();this.ae.Di(this.kk.bind(this));this.gj.Di(this.Mga.bind(this));this.yg.Sk(this.ns.bind(this));this.trigger(new l(d.dc,0));return c};a.prototype.Mga=function(){this.trigger(d.Mb)};a.prototype.kk=
function(){this.trigger(d.R)};a.prototype.G=function(a){this.D2=a.UB;this.yla();k.prototype.G.call(this,a)};a.prototype.yla=function(){var a=this.get("frontFrame");if(this.B("frontFrame")||a&&a.B("alpha"))this.ej.set("alpha",!a||a==this?1:1-a.get("alpha"))};a.prototype.ns=function(){var a=0;this.yg.Tn(function(b){var c=0,e;this.ae.vi(b)?c=100:(e=this.yg.vi(b))&&(c=e.rh);a=a+c}.bind(this));this.trigger(new l(d.dc,a/this.yg.Fc.length))};var r=b.extend(g,function(){g.call(this);this.hl(["loadingActive",
"panoramaId","panoramaPixelsPerDegree"]);this.set("loadingActive",y);this.set("tag","Group")});return a});define("dH",["require","hp","hH","jq","dl"],function(a){var b=a("hp"),c=a("hH"),d=a("jq"),a=a("dl"),b=b.extend(c,function(){c.call(this)});b.Ae="cueChange";a.A("VideoCue",b).C("Object").O({startTime:"number",endTime:"number"}).Yb([d.Ej,d.ua]);return b});define("j",["require"],function(){return function(a){this.cue=a;this.text=a.text}});
define("hu",["require"],function(){function a(a,d,f){this.Eb=a;this.H4=d;this.Zd=f||b}var b=function(){var a=document.createElement("canvas");a.width=a.height=256;a.getContext("2d").clearRect(0,0,a.width,a.height);return a}();a.prototype.isEmpty=function(){return this.Zd==b};a.prototype.isEqual=function(a){return this.Eb==a.Eb&&this.H4==a.H4&&this.Zd==a.Zd};return a});
define("M","require,hp,bL,dZ,ey,da,j,hu,dS".split(","),function(a){var b=a("hp"),c=a("bL"),d=a("dZ"),f=a("ey"),g=a("da"),k=a("j"),j=a("hu"),h=a("dS"),n=b.extend(d,function(a,b,c){d.call(this);this.na=a;this.Eb=b;this.y4=c;this.k=f.J;this.Og=this.Ib=0;this.gd=y;this.sj=1;this.t=this.ab=q;this.JY=y;this.qx=[]});n.prototype.Sd=function(a){if(this.k!=a&&!(a==f.kc&&this.k!=f.Q)){this.JY&&a==f.Q&&this.k==f.J&&this.GY();this.k=a;if(this.k==f.Q)h.jU(this);else{h.TB(this);this.k==f.J&&this.Gja()}this.Xka()}};
n.prototype.si=P("k");n.prototype.Wn=P("Ib");n.prototype.Dw=function(a){this.Og=a;if(this.ab){this.ab.FB()&&this.zZ();this.ab.play(this.na,this.Eb,this.y4,this.Og)}};n.prototype.Nk=P("Og");n.prototype.Ai=function(a){this.sj=a;this.ab&&this.ab.Ai(a)};n.prototype.hg=function(a){this.gd=a;this.ab&&this.ab.hg(a)};n.prototype.Spa=function(){this.JY=p};n.prototype.Wv=function(a,b,c){this.ab&&this.ab.FB()?this.ab.Wv(a,b,c):this.t?a.drawImage(this.t,0,0,b,c):a.fillRect(0,0,b,c)};n.prototype.mI=function(){return this.ab&&
this.ab.FB()?new j(this.Eb,this.ab.Nk(),this.ab.u):this.t?new j(this.Eb,this.Og,this.t):new j(this.Eb,this.Og,q)};n.prototype.ZS=function(a){this.ab=a;setTimeout(function(){this.ab&&this.ab.bind(g.Hf,this.dz,this,p)}.bind(this),0);this.ab.bind(g.qf,this.Pd,this,p);this.ab.bind(g.rm,this.qn,this,p);this.ab.bind(g.Ae,this.bj,this,p);this.ab.hg(this.gd);this.ab.Ai(this.sj);this.ab.play(this.na,this.Eb,this.y4,this.Og)};n.prototype.NT=function(){this.ab.FB()&&this.zZ();this.Og=this.ab.Nk();this.ab.unbind(g.Hf,
this.dz,this,p);this.ab.unbind(g.qf,this.Pd,this,p);this.ab.unbind(g.rm,this.qn,this,p);this.ab.unbind(g.Ae,this.bj,this,p);this.ab=q};n.prototype.clear=function(){this.GY()};n.prototype.zZ=function(){if(!this.t)this.t=document.createElement("canvas");this.t.width=this.ab.jc();this.t.height=this.ab.Sc();this.ab.Wv(this.t.getContext("2d"),this.t.width,this.t.height)};n.prototype.GY=function(){if(this.t){this.t.width=0;this.t.height=0;this.t=q}};n.prototype.qn=function(){this.Ib=this.ab.Wn();this.Kka()};
n.prototype.Pd=function(){this.Ib!=this.ab.Wn()&&this.qn();this.Og=this.ab.Nk();this.a5()};n.prototype.bj=function(){this.qx=this.ab.fc.map(function(a){for(var b=q,c=0;c<this.qx.length&&!b;c++)this.qx[c].cue==a&&(b=this.qx[c]);b||(b=new k(a));return b}.bind(this));this.trigger(new c(n.Ae))};n.prototype.dz=function(){this.Sd(f.J);this.Lka()};n.prototype.Gja=function(){this.Og=0;this.a5()};n.prototype.a5=function(){this.trigger(new c(n.qf))};n.prototype.Kka=function(){this.trigger(new c(n.rm))};n.prototype.Lka=
function(){this.trigger(new c(n.Hf))};n.prototype.Xka=function(){this.trigger(new c(n.nd))};n.qf="time update";n.rm="duration update";n.nd="state change";n.Hf="end";n.Ae="cue change";return n});
define("hW","require,cL,jq,bL,ey,dH,M".split(","),function(a){function b(a,b){this.hd=a;this.P=b;this.Vf=y;this.uf=[];this.Hh=this.hu=m;this.fc=[];this.CL();this.pM();this.jA();this.hf()}function c(a,b,c){this.time=a;this.cue=b;this.action=c}var d=a("cL"),f=a("jq"),g=a("bL"),k=a("ey"),j=a("dH"),h=a("M");b.prototype.clear=function(){this.Hx();this.uf=[];this.LR();this.P=this.hd=q};b.prototype.CL=function(){this.P.bind(h.qf,this.Pd,this,p);this.P.bind(h.nd,this.hf,this,p);this.P.bind(h.Hf,this.qk,this,
p)};b.prototype.LR=function(){this.P.unbind(h.qf,this.Pd,this,p);this.P.unbind(h.nd,this.hf,this,p);this.P.unbind(h.Hf,this.qk,this,p)};b.prototype.hf=function(){var a=this.P.si()!=k.J;if(this.Vf!=a)(this.Vf=a)?this.jA():this.Hx()};b.prototype.qk=function(){this.Jv()};b.prototype.Pd=function(){this.Jv()};b.prototype.jA=function(){this.Hh=this.hu=0};b.prototype.Jv=function(){if(this.P&&this.Vf){var a=this.fc.slice(),b=this.P.Nk(),c=b-this.hu;if(c<0){this.fc=[];this.Hh=0}c=c>=0&&c<2;this.hu=b;var h;
for(h=this.Hh;h<this.uf.length;h++)if(this.uf[h].time>b)break;for(;this.Hh<h;this.Hh++){b=this.uf[this.Hh];if(b.action=="start"){this.fc=d(this.fc).union([b.cue]);c&&b.cue.trigger(new g(f.Ej))}else{this.fc=d(this.fc).difference([b.cue]);c&&b.cue.trigger(new g(f.ua))}}(a.length!=this.fc.length||d(a).intersection(this.fc).length!=this.fc.length)&&this.yA()}};b.prototype.Hx=function(){if(this.fc.length>0){this.fc=[];this.yA()}};b.prototype.yA=function(){this.hd.trigger(new g(j.Ae,{activeCues:this.fc.slice()}))};
b.prototype.pM=function(){this.uf=[];var a=this.hd.get("cues",[]);d(a).each(function(a){this.uf.push(new c(a.get("startTime",0),a,"start"));this.uf.push(new c(a.get("endTime",Number.POSITIVE_INFINITY),a,"end"))},this);this.uf.sort(function(a,b){return a.time==b.time?a.action==b.start?0:a.action=="start"?-1:1:a.time-b.time})};return b});
define("ii",["require","jq","ey","bL","M"],function(a){function b(a,b,c){this.ya=a;this.hd=b;this.P=c;this.P.Dw(this.Og=this.hd.get("currentTime",0));this.P.hg(this.gd=this.ya.get("mute",y));this.P.Sd(this.k=this.hd.get("state",d.J));this.Ib=this.P.Wn();this.eaa();this.kaa();this.Cm()}var c=a("jq"),d=a("ey"),f=a("bL"),g=a("M");b.prototype.clear=function(){this.iia();this.nia();this.En();this.P.Sd(d.J);this.hd.set("state",d.J);this.hd.set("currentTime",0);this.hd.set("duration",m)};b.prototype.b2=
function(){var a=this.hd.get("state",d.J);this.k!=a&&this.P.Sd(this.k=a)};b.prototype.a2=function(){var a=this.hd.get("currentTime",0);this.Og!=a&&this.P.Dw(this.Og=a)};b.prototype.K1=function(){var a=this.ya.get("mute",0);this.gd!=a&&this.P.hg(this.gd=a)};b.prototype.X1=function(){this.hd.set("currentTime",this.Og=this.P.Nk())};b.prototype.V1=function(){this.hd.set("duration",this.Ib=this.P.Wn())};b.prototype.W1=function(){this.hd.set("state",this.k=this.P.si())};b.prototype.Y1=function(){this.hd.trigger(new f(c.ua));
this.hd.get("loop")&&(this.P.Dw(this.Og=0),this.P.Sd(this.k=d.Q))};b.prototype.eaa=function(){this.ya.bind(c.ba("mute"),this.K1,this,p)};b.prototype.iia=function(){this.ya.unbind(c.ba("mute"),this.K1,this,p)};b.prototype.kaa=function(){this.hd.bind(c.ba("state"),this.b2,this,p);this.hd.bind(c.ba("currentTime"),this.a2,this,p)};b.prototype.nia=function(){this.hd.unbind(c.ba("state"),this.b2,this,p);this.hd.unbind(c.ba("currentTime"),this.a2,this,p)};b.prototype.Cm=function(){this.P.bind(g.qf,this.X1,
this,p);this.P.bind(g.rm,this.V1,this,p);this.P.bind(g.nd,this.W1,this,p);this.P.bind(g.Hf,this.Y1,this,p)};b.prototype.En=function(){this.P.unbind(g.qf,this.X1,this,p);this.P.unbind(g.rm,this.V1,this,p);this.P.unbind(g.nd,this.W1,this,p);this.P.unbind(g.Hf,this.Y1,this,p)};return b});
define("i",["require","M"],function(a){function b(a,b){this.hd=a;this.P=b;this.cL=[];this.CL();this.bj()}var c=a("M");b.prototype.clear=function(){this.zba();this.LR();this.P=this.hd=q};b.prototype.CL=function(){this.P.bind(c.Ae,this.bj,this,p)};b.prototype.LR=function(){this.P.unbind(c.Ae,this.bj,this,p)};b.prototype.bj=function(){this.hd.set("activeSubtitles",this.cL=this.P.qx)};b.prototype.zba=function(){this.hd.get("activeSubtitles")==this.cL&&this.hd.set("activeSubtitles",this.cL=[])};return b});
define("cN",["require","M"],function(a){function b(){}var c=a("M");b.create=function(a,b,g){return new c(a,b,g)};return b});
define("cC","require,hp,jq,fh,ey,bl,gG,iB,ea,hW,ii,cR,gL,i,cN,M,hq".split(","),function(a){var b=a("hp"),c=a("jq"),d=a("fh"),f=a("ey"),g=a("bl"),k=a("gG"),j=a("iB"),h=a("ea"),n=a("hW"),e=a("ii"),l=a("cR"),r=a("gL"),o=a("i"),s=a("cN"),t=a("M"),u=a("hq"),a=b.extend(g,function(a){g.call(this);this.m=a;this.Sh.push(this.m);this.hl(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","VideoPanoramaFrame");this.set("frameEmpty",m);this.set("atStart",m);this.jn=j.wT(this.m);this.yg=
this.ae=this.Cf=this.P=this.Fp=this.Kv=q});a.prototype.Hb=function(){this.ae=(new k(c.R)).Di(this.kk.bind(this));this.yg=(new k(c.dc)).Sk(this.ns.bind(this));this.P=s.create(this.Va.ya,this.jn.get("url"),this.m.get("sphere").get("subtitlesURL"));this.Xj=new n(this.m.fw(),this.P);this.$a=new e(this.Va.ya,this.m.fw(),this.P);this.nA=new o(this.m.fw(),this.P);this.Cm();g.prototype.Hb.call(this)};a.prototype.Pb=function(){this.ae.dispose();this.yg.dispose();this.En();this.Xj.clear();this.Xj=q;this.$a.clear();
this.$a=q;this.nA.clear();this.nA=q;this.P.clear();this.Cf=this.P=q;g.prototype.Pb.call(this)};a.prototype.jl=function(){var a=[];a.push(this.Kv=h.Jma(this.m,this.jn));this.Tla=r.Bt(l.nq(this.Kv)[0]);r.Bq(this.Kv,r.tm);r.Aq(this.Kv,r.cl);if(this.jn.get("posterURL")){a.push(this.Fp=h.Kma(this.m,this.jn));r.Bq(this.Fp,r.tm);r.Aq(this.Fp,r.cl);r.hC(this.Fp,d.nW)}this.ae.md(a);this.yg.md(a);this.trigger(new u(c.dc,0));return a};a.prototype.G=function(a){var b=this.P.mI();this.set("frameEmpty",b.isEmpty());
this.set("atStart",!(this.get("currentTime")>1));g.prototype.G.call(this,a);if(!this.Cf||!this.Cf.isEqual(b)){this.Cf=b;this.Tla.Hg(this.Cf.Zd);this.Db()}else this.P.si()==f.Q&&this.Db()};a.prototype.On=function(){if(this.B("composedAlpha","meshGroup","frameEmpty","atStart"))if(this.Fp&&this.get("frameEmpty")&&this.get("atStart")){l.Vc(this.Fp,this.get("composedAlpha"));l.Vc(this.Kv,0)}else{this.Fp&&l.Vc(this.Fp,0);l.Vc(this.Kv,this.get("composedAlpha"))}};a.prototype.kk=function(){this.trigger(c.Mb);
this.trigger(c.R)};a.prototype.ns=function(a,b){var e=0;b.Tn(function(a){(a=b.vi(a))&&(e=e+a.rh)});this.trigger(new u(c.dc,e/b.Fc.length))};a.prototype.hf=function(){this.Db()};a.prototype.Pd=function(){this.Db()};a.prototype.Cm=function(){this.P.bind(t.qf,this.Pd,this,p);this.P.bind(t.nd,this.hf,this,p)};a.prototype.En=function(){this.P.unbind(t.qf,this.Pd,this,p);this.P.unbind(t.nd,this.hf,this,p)};return a});
define("cq","require,hp,jq,gg,ik,gG,hq".split(","),function(a){var b=a("hp"),c=a("jq"),d=a("gg"),f=a("ik"),g=a("gG"),k=a("hq"),a=b.extend(d,function(){d.call(this);this.set("tag","ImagePlane");this.set("url",q);this.sc=this.Ld=q});a.prototype.Hb=function(){this.Ld=(new g(c.R)).Di(this.kk.bind(this));this.sc=(new g(c.dc)).Sk(this.Wh.bind(this));d.prototype.Hb.call(this)};a.prototype.Pb=function(){this.Ld.dispose();this.sc.dispose();d.prototype.Pb.call(this)};a.prototype.G=function(a){if(this.B("url")){var b=
this.get("url");this.set("textureSource",b?new f(b):q)}d.prototype.G.call(this,a);if(this.B("meshGroup")){a=(a=this.get("meshGroup"))&&a.children||[];if(a.length){this.Ld.md(a);this.sc.md(a)}}};a.prototype.kk=function(){this.trigger(c.Mb);this.trigger(c.R)};a.prototype.Wh=function(a,b){var d=0;b.Tn(function(a){(a=b.vi(a))&&(d=d+a.rh)});this.trigger(new k(c.dc,d/b.Fc.length))};return a});
define("bj","require,hp,gS,jq,ey,eK,fS,ck,jn,cq,ii,iL,gG,iB,cW,hb,F,hq,jf,bk,cN,M".split(","),function(a){function b(a,b){for(var c=a-b;c>180;)c=c-360;for(;c<-180;)c=c+360;return c+b}var c=a("hp"),d=a("gS"),f=a("jq"),g=a("ey"),k=a("eK"),j=a("fS"),h=a("ck"),n=a("jn"),e=a("cq"),l=a("ii"),r=a("iL"),o=a("gG"),s=a("iB"),t=a("cW"),u=a("hb"),v=a("F"),x=a("hq"),w=a("jf"),z=a("bk"),C=a("cN"),B=a("M"),G=Math.PI/180,a=c.extend(j,function(a){j.call(this);this.m=a;this.Sh.push(this.m);this.Le=this.Le.bind(this);
this.hl(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","Popup");this.set("inVR",y);this.set("enabledInStandard",p);this.set("interactionEnabled",p);this.set("loadingActive",y);this.set("frameEmpty",p);this.set("state",g.J);this.set("itemVisible","none");this.set("visible",y);this.set("visiblePosition",0);this.set("alpha",0);this.set("over",y);this.set("gazeOver",y);this.set("video",q);this.set("image",q);this.Ec=this.u=this.xa=this.sc=this.Ld=q;this.Ab=new r;this.Fm=this.gp=
this.kh=this.Cf=this.P=q});a.prototype.Hb=function(){this.Ld=(new o(f.R)).Di(this.bz.bind(this));this.sc=(new o(f.dc)).Sk(this.cz.bind(this));j.prototype.Hb.call(this);this.Vba();this.appendChild(this.Ec);d.Zc(this.m,["playbackPositions","popupDistance","popupMaxHeight","popupMaxWidth","image","video","state","visible"],this.Le,p)};a.prototype.Pb=function(){this.Ld.dispose();this.sc.dispose();d.vd(this.m,["playbackPositions","popupDistance","popupMaxHeight","popupMaxWidth","image","video","state",
"visible"],this.Le);this.Ux();this.Vx();this.sZ();j.prototype.Pb.call(this)};a.prototype.Le=function(){this.set("image",this.m.get("image"));this.set("video",this.m.get("video"));this.set("state",this.m.get("state"));this.set("visible",this.m.get("visible"));this.set("popupDistance",this.m.get("popupDistance"));this.set("popupMaxWidth",this.m.get("popupMaxWidth"));this.set("popupMaxHeight",this.m.get("popupMaxHeight"));this.set("playbackPositions",this.m.get("playbackPositions"))};a.prototype.G=function(a){this.hv=
a.qa;this.gv=a.pitch;this.OR(a);this.Rs(a);this.jS(a);this.Vs(a);this.ula(a);this.gla(a);j.prototype.G.call(this,a)};a.prototype.Rs=function(){if(this.B("playbackPositions","currentTime")){this.Ab.YI(this.get("playbackPositions"));this.Ab.XI(this.get("currentTime"));this.set("sourceYaw",this.Ab.get("yaw"));this.set("sourcePitch",this.Ab.get("pitch"));this.set("sourceRotationX",this.Ab.get("rotationX"));this.set("sourceRotationY",this.Ab.get("rotationY"));this.set("sourceRotationZ",this.Ab.get("rotationZ"));
this.set("sourceHFOV",this.Ab.get("hfov"))}};a.prototype.OR=function(){if(this.B("video","image")){var a=[this.Ec];if(this.B("image")){this.uM();this.xa&&a.push(this.xa)}if(this.B("video")){this.wM();this.u&&a.push(this.u)}this.Ld.md(a);this.sc.md(a);this.th(a)}};a.prototype.jS=function(){if(this.P){var a=this.P.mI();this.set("frameEmpty",!!a&&a.isEmpty());if(!this.Cf||a&&!this.Cf.isEqual(a)){this.Cf=a;this.u.set("source",this.Cf.Zd);this.u.set("sourceUpdated",p);this.Db()}else this.P.si()==g.Q&&
this.Db()}else this.set("frameEmpty",y)};a.prototype.Vs=function(a){this.set("inVR",a.Lb);this.set("hotspotsEnabled",a.nw);this.set("rendererYaw",a.qa);this.set("rendererPitch",a.pitch);this.set("rendererRoll",a.cd);this.set("rendererWidth",a.XH);this.set("rendererHeight",a.kB);this.set("rendererHFOV",a.Uc);if(this.B("visible")){var c=this.get("visiblePosition"),e=this.get("visible")?1:0,d=Math.max(1,this.m.get(this.get("visible")?"showDuration":"hideDuration")*Math.abs(e-c)),h=this.m.get(this.get("visible")?
"showEasing":"hideEasing");this.kh=new w(h,[new z("position",c,e)],d);this.get("visible")||this.P&&this.P.Sd(g.J)}if(this.kh){if(this.kh.ge()){this.kh=q;if(this.get("visible")){this.m.trigger(f.Jt);this.m.get("autoplay")&&this.P&&this.P.Sd(g.Q)}else this.m.trigger(f.br)}else this.kh.eb(a.kd);if(this.kh){this.set("visiblePosition",this.kh.kb("position"));this.Db()}}c=y;if(c=a.Lb?this.B("visible"):this.B("rendererYaw","rendererPitch","rendererRoll","rendererWidth","rendererHeight","rendererHFOV","itemVisible",
"popupMaxWidth","popupMaxHeight","sourceHFOV")){this.set("targetImageScale",this.A_(this.xa,a));this.set("targetVideoScale",this.A_(this.u,a));this.set("targetYaw",b(this.get("rendererYaw"),this.get("sourceYaw")));this.set("targetPitch",this.get("rendererPitch"));this.set("targetRotationZ",b(a.Lb?0:this.get("rendererRoll"),this.get("sourceRotationZ")))}if(this.B("visiblePosition","targetScale","targetYaw","targetPitch","targetRoll","popupDistance","hfov")){var e=this.get("visiblePosition"),j=this.get("targetYaw")*
e+this.get("sourceYaw")*(1-e),l=this.get("targetPitch")*e+this.get("sourcePitch")*(1-e),k=this.get("sourceRotationX")*(1-e),n=this.get("sourceRotationY")*(1-e),o=this.get("targetRotationZ")*e+this.get("sourceRotationZ")*(1-e),a=Math.min(1,2*e),r=this.get("popupDistance"),t=this.get("sourceHFOV"),c=this.get("targetImageScale")*e+(1-e),e=this.get("targetVideoScale")*e+(1-e);this.set("alpha",a);this.xa&&this.xa.set("scale",c);this.u&&this.u.set("scale",e);[].concat(this.u?[this.u]:[],this.xa?[this.xa]:
[]).forEach(function(a){a.set("yaw",j);a.set("pitch",l);a.set("rotationX",k);a.set("rotationY",n);a.set("rotationZ",o);a.set("distance",r);a.set("hfov",t)})}};a.prototype.ula=function(a){if(this.B("frameEmpty","state","image","video")){var b="none";this.u&&(!this.xa||!this.get("frameEmpty")&&this.get("state")!=g.J)?b="video":this.xa&&(b="image");this.set("itemVisible",b)}if(this.B("itemVisible")){this.get("itemVisible")!="video"&&this.P&&this.P.Sd(g.J);var b=this.xa?this.xa.get("alpha"):0,c=this.u?
this.u.get("alpha"):0,e=this.get("itemVisible")=="image"?1:0,d=this.get("itemVisible")=="video"?1:0,f=this.get("itemVisible")=="video"?1:Math.max(Math.abs(e-b),Math.abs(d-c))*200;this.gp=new w("linear",[new z("imageAlpha",b,e),new z("videoAlpha",c,d)],f)}if(this.gp){this.gp.ge()?this.gp=q:this.gp.eb(a.kd);if(this.gp){this.xa&&this.xa.set("alpha",this.gp.kb("imageAlpha"));this.u&&this.u.set("alpha",this.gp.kb("videoAlpha"));this.Db()}}};a.prototype.gla=function(a){if(this.B("gazeOver","inVR")){this.HY();
this.get("inVR")&&this.m.get("lookAwayToHide")&&!this.get("gazeOver")&&this.$ja()}if(a.Lb&&this.m.get("darkenBackground")&&this.m.get("lookAwayToHide")){if(this.B("visible")&&this.get("visible")){this.Ec.set("alpha",0.8);this.Fm=q}if(this.B("gazeOver"))this.Fm=new w(this.get("gazeOver")?"linear":"quad_in",[new z("alpha",this.Ec.get("alpha"),this.get("gazeOver")?0.8:0)],this.get("gazeOver")?300:this.m.get("lookAwayToHideTime"))}else{this.Fm=q;this.Ec.set("alpha",a.Lb&&this.m.get("darkenBackground")?
0.8:0)}if(this.Fm){this.Fm.ge()?this.Fm=q:this.Fm.eb(a.kd);if(this.Fm){this.Ec.set("alpha",this.Fm.kb("alpha"));this.Db()}}};a.prototype.$ja=function(){this.HY();this.cF=setTimeout(function(){this.cF=q;this.m.set("visible",y)}.bind(this),this.m.get("lookAwayToHideTime"))};a.prototype.HY=function(){if(this.cF){clearTimeout(this.cF);this.cF=q}};a.prototype.A_=function(a,b){if(!a)return 1;var c=this.get("popupMaxWidth","100%"),e=v.yj(c),d=a.get("contentWidth"),f=a.get("contentHeight"),h=this.get("popupMaxHeight",
"100%"),g=v.yj(h),j;if(this.get("inVR")){var l=j=this.get("rendererWidth")*0.5,k=Math.min(b.Te,80),n=u.ct(k,j,l),o=this.get("sourceHFOV");j=Math.min(Math.tan(n*(e!==m?e/100:c/j)*0.5*G)/Math.tan(o*0.5*G),Math.tan(k*(g!==m?g/100:h/l)*0.5*G)/Math.tan(u.ct(o,d,f)*0.5*G))}else{j=this.get("rendererWidth");l=this.get("rendererHeight");n=Math.min((e!==m?j*e/100:c)/d,(g!==m?l*g/100:h)/f);d=d*n;n=this.get("rendererHFOV");o=this.get("sourceHFOV");j=Math.tan(n*0.5*G)*d/j/Math.tan(o*0.5*G)}return j};a.prototype.uM=
function(){this.Ux();if(this.get("image")){var a=s.Lna(this.m,this.get("panoramaPixelsPerDegree"));this.xa=new e;this.xa.set("url",a.get("url"));this.xa.set("contentWidth",a.get("width"));this.xa.set("contentHeight",a.get("height"));this.xa.set("alpha",0)}};a.prototype.Ux=function(){if(this.xa){this.xa.remove();this.xa=q}};a.prototype.wM=function(){this.Vx();if(this.get("video")){this.u=new n;var a=k.xT(this.get("video"));this.u.set("contentWidth",a.get("width"));this.u.set("contentHeight",a.get("height"));
this.u.set("alpha",0);this.P=C.create(this.Va.ya,a.get("url"));this.$a=new l(this.Va.ya,this.m,this.P);this.Cm()}};a.prototype.Vx=function(){if(this.u){this.En();this.$a.clear();this.$a=q;this.P.clear();this.Cf=this.P=q;this.u.remove();this.u=q}};a.prototype.Vba=function(){this.sZ();this.Ec=new h("#000000")};a.prototype.sZ=function(){if(this.Ec){this.Ec.remove();this.Ec=q}};a.prototype.bz=function(){this.trigger(f.Mb);this.trigger(f.R)};a.prototype.cz=function(a,b){var c=0;b.Tn(function(a){var b=
0,e;this.Ld.vi(a)?b=100:(e=this.sc.vi(a))&&(b=e.rh);c=c+b}.bind(this));this.trigger(new x(f.dc,c/b.Fc.length))};a.prototype.hf=function(){this.Db()};a.prototype.Pd=function(){this.Db()};a.prototype.qk=function(){this.m.trigger(f.ua)};a.prototype.Cm=function(){this.P.bind(B.qf,this.Pd,this,p);this.P.bind(B.nd,this.hf,this,p);this.P.bind(B.Hf,this.qk,this,p)};a.prototype.En=function(){this.P.unbind(B.qf,this.Pd,this,p);this.P.unbind(B.nd,this.hf,this,p);this.P.unbind(B.Hf,this.qk,this,p)};a.prototype.zi=
function(a){if(a.Bd==f.Ah){if(!a.Dg()&&this.get("visible")){a.ko(this.m);this.set("over",this.Wp(a));this.set("gazeOver",this.wka(a))}else this.set("over",y);if(this.get("over")){a.dq(this.m);a.oq()&&a.fq(this.m);a.lh(this.get("popupDistance"))}if(this.B("over")){this.m.trigger(this.get("over")?f.Cc:f.ec);a.oq()&&this.m.trigger(this.get("over")?f.Oj:f.sf)}}else if(a.Bd==f.zh&&!a.Dg()&&this.get("visible")){a.ko(this.m);a.lh(this.get("popupDistance"));this.Wp(a)?a.yoa()||this.m.trigger(f.W):this.m.set("visible",
y)}};a.prototype.Wp=function(a){return this.D4(a.zk)};a.prototype.wka=function(a){a=a.ay;return!!a&&this.D4([a])};a.prototype.D4=function(a){if(this.get("visible"))for(var a=(this.get("itemVisible")=="video"?this.u:this.xa).ck(a),b=0;b<a.length;b++){var c=a[b];if(t.Wk(c.source,c.x,c.y))return p}return y};return a});
define("ef","require,hp,fj,jq,bL,fS".split(","),function(a){var b=a("hp"),c=a("fj"),d=a("jq"),f=a("bL"),g=a("fS"),k=b.extend(g,function(a,b,d,e){g.call(this);this.ya=a;this.D=b;this.$b=d;this.g=e;this.az=new c;this.ZQ(this);this.set("tag","Root")});k.prototype.of=function(a){return this.az.get(a)};k.prototype.all=function(){for(var a=[],b=[this];b.length>0;){var c=b.pop();a.push(c);for(var e=c.Tb.length-1;e>=0;e--)b.push(c.Tb[e])}return a};k.prototype.update=function(a){var b=this.all(),c=b.length,
e;for(e=0;e<c;e++)b[e].Fba();for(e=0;e<c;e++)b[e].set("index",e);for(e=0;e<c;e++)b[e].G(a);for(e=0;e<c;e++)b[e].Aba()};k.prototype.Db=function(){this.DH||this.trigger(new f(d.U));g.prototype.Db.call(this)};k.prototype.Yn=function(a){return Array.isArray(a)?a.map(this.Yn.bind(this)):this.az.get(a)||k.factory.create(a)};return k});
define("iE","require,hp,gS,ey,fS,t".split(","),function(a){var b=a("hp"),c=a("gS"),d=a("ey"),f=a("fS"),g=a("t"),a=b.extend(f,function(a){f.call(this);this.m=a;this.KF=this.KF.bind(this);this.LF=this.LF.bind(this);this.Ik=new THREE.Matrix4;this.C5=y;this.Ph=new THREE.Matrix4;this.oe=q;this.Mp=new THREE.Matrix4;this.rb=1;this.Cz=0;this.$f=q;this.Jz=0;this.TX()}),k=Math.PI/180;a.prototype.Hb=function(){f.prototype.Hb.call(this);this.trigger(EventName.Mb);this.trigger(EventName.R);this.m.set("state",
this.m.get("startState"));c.Zc(this.m,["intensity","speed"],this.KF,p);c.Zc(this.m,["state"],this.LF,p)};a.prototype.Pb=function(){c.vd(this.m,["intensity","speed"],this.KF);c.vd(this.m,["state"],this.LF);this.m.set("state",d.J);this.TL()};a.prototype.KF=function(){this.TX();this.pia()};a.prototype.LF=function(){this.Db()};a.prototype.TX=function(){var a=this.m.get("intensity");speed=this.m.get("speed");var b,c,e,d,f,k;if(g.Na()){b=1E3;c=350;e=1800;d=400;k=0.8;f=1.2}else if(g.Ue()){b=1500;c=500;e=
2500;d=500;k=0.8;f=1.2}else{b=3E3;c=1E3;e=5E3;d=1E3;k=0.6;f=1}this.MX=0.75;this.pZ=0.5;this.iF=4;this.Uy=-2;this.op=3;this.Nfa=35;this.Xca=7;this.pha=k+a*(f-k);this.x0=this.Oy=0.15+speed*1.35;this.oha=c+a*(b-c);this.Yca=d+a*(e-d)};a.prototype.pia=function(){if(this.oe){this.TL();this.gZ()}};a.prototype.gZ=function(){this.Nja();this.qia();this.oe=new THREE.Group;for(var a=this.m.get("initialState")==d.Q,b=this.oha,c=this.Yca;c+b>0;){var e=Math.random()*(c+b)<=c;e?c--:b--;var f=new THREE.Sprite(this.VD());
f.matrixAutoUpdate=y;f.overdraw=y;f.material.opacity=0;f.userData={Zma:e,ww:new THREE.Matrix4,V5:new THREE.Matrix4,y:m,r9:m,cU:a};this.oe.add(f);a&&this.HQ(f,this.Uy,this.op);this.oia(f)}this.Cz=a?this.oe.children.length:0;this.CS.add(this.oe);this.VX()};a.prototype.TL=function(){if(this.oe){this.oe.parent&&this.oe.parent.remove(this.oe);for(var a=0,b=this.oe&&this.oe.children.length;a<b;a++)this.oe.children[a].material.dispose();this.oe=q;this.Jz=0}};a.prototype.qia=function(){this.rb=this.pha/32;
this.Mp=(new THREE.Matrix4).makeScale(this.rb,this.rb,this.rb)};a.prototype.HQ=function(a,b,c){b=b+Math.random()*(c-b);if(a.userData.Zma){var c=this.Xca,e=360*Math.random()*k;a.userData.ww.makeTranslation(c*Math.cos(e),b,c*Math.sin(e))}else{c=Math.random()*2*Math.PI;e=this.iF*Math.sqrt(Math.random());a.userData.ww.makeTranslation(e*Math.cos(c),b,e*Math.sin(c))}a.userData.ww.multiply(this.Mp);a.userData.y=b};a.prototype.oia=function(a){var b=this.x0+Math.random()*(this.Oy-this.x0),c=Math.random()*
this.Nfa,e=Math.random()*360,d=Math.sin(e*k)*Math.sin(c*k)*b,f=-Math.cos(c*k)*b,b=Math.cos(e*k)*Math.sin(c*k)*b;a.userData.r9=f*this.rb;a.userData.V5.makeTranslation(d,f,b)};a.prototype.Nja=function(){if(!this.$f){var a=document.createElement("canvas");a.width=a.height=32;var b=a.getContext("2d"),c=b.createRadialGradient(a.width*0.5,a.height*0.5,a.height*0.2,a.width*0.5,a.height*0.5,a.height*0.5);c.addColorStop(0,"rgba(255, 255, 255, 0.8)");c.addColorStop(1,"rgba(255, 255, 255, 0)");b.fillStyle=c;
b.fillRect(0,0,a.width,a.height);this.$f=new THREE.Texture;this.$f.image=a;this.$f.needsUpdate=p}};a.prototype.VD=function(){var a=new THREE.SpriteMaterial;a.map=this.$f;a.side=THREE.DoubleSide;a.transparent=p;a.depthTest=y;a.needsUpdate=p;return a};a.prototype.G=function(a){f.prototype.G.call(this,a);this.CS=a.ze;if(this.CS!=(this.oe&&this.oe.parent)){this.TL();this.CS&&this.gZ()}else this.B("index")&&this.VX();this.Mla(a)};a.prototype.Mla=function(a){if(this.oe){if(this.B("composedTranslationX",
"composedTranslationY","composedTranslationZ")){this.C5=this.get("composedTranslationX")!=0||this.get("composedTranslationY")!=0||this.get("composedTranslationZ")!=0;this.Ik.makeTranslation(-this.get("composedTranslationX")*this.iF,this.get("composedTranslationY")*this.iF,this.get("composedTranslationZ")*this.iF)}var b=this.m.get("state")==d.Q,c=this.oe.children,e=c.length,f=b?Math.round(e*a.kd/this.m.get("startDuration")):0;if(this.Cz+f>0){this.Jz=b?0:Math.min(this.Cz,this.Jz+Math.round(e*a.kd/this.m.get("stopDuration")));
a=this.get("composedAlpha");for(b=0;b<e;b++){var g=c[b];if(!g.userData.cU)if(f>0){f--;g.userData.cU=p;this.Cz++;this.HQ(g,this.op,this.op+(this.op-this.Uy))}else continue;g.userData.ww.multiply(g.userData.V5);g.userData.y=g.userData.y+g.userData.r9;if(g.userData.y<this.Uy){if(this.Jz>0){this.Jz--;g.userData.cU=y;this.Cz--;g.material.opacity=0;continue}this.HQ(g,this.op,this.op)}var k=a;g.userData.y<this.Uy+this.pZ?k=k*((g.userData.y-this.Uy)/this.pZ):g.userData.y>this.op-this.MX&&(k=k*((this.op-g.userData.y)/
this.MX));g.material.opacity=k;if(this.C5){g.matrix.copy(this.Ik);g.matrix.multiply(g.userData.ww)}else g.matrix.copy(g.userData.ww);g.matrixWorldNeedsUpdate=p}this.Db()}}};a.prototype.VX=function(){if(this.oe)for(var a=this.get("index"),b=0;b<this.oe.children.length;b++)this.oe.children[b].renderOrder=a};return a});
define("di","require,hp,gS,jq,ey,eK,bG,fS,jn,cq,hW,ii,iL,gG,iB,cW,hq,jf,bk,cN,M".split(","),function(a){var b=a("hp"),c=a("gS"),d=a("jq"),f=a("ey"),g=a("eK"),k=a("bG"),j=a("fS"),h=a("jn"),n=a("cq"),e=a("hW"),l=a("ii"),r=a("iL"),o=a("gG"),s=a("iB"),t=a("cW"),u=a("hq"),v=a("jf"),x=a("bk"),w=a("cN"),z=a("M"),a=b.extend(j,function(a){j.call(this);this.m=a;this.Sh.push(this.m);this.Le=this.Le.bind(this);this.hl(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","VideoHotspot");this.set("enabled",
p);this.set("inVR",y);this.set("overlaysEnabled",p);this.set("enabledInVR",p);this.set("enabledInStandard",p);this.set("interactionEnabled",p);this.set("centerOverDisplay",y);this.set("loadingActive",y);this.set("frameEmpty",p);this.set("state",f.J);this.set("itemVisible","none");this.set("blending",0);this.set("chromaColor",m);this.set("chromaThreshold",0);this.set("chromaSmoothing",0);this.sc=this.Ld=q;this.Zh=y;this.u=this.xa=q;this.I5=y;this.Ab=new r;this.Cf=this.$a=this.P=q;this.Tm=[]});a.prototype.Hb=
function(){this.Ld=(new o(d.R)).Di(this.bz.bind(this));this.sc=(new o(d.dc)).Sk(this.cz.bind(this));j.prototype.Hb.call(this);c.Zc(this.m,["playbackPositions","blending","chromaColor","chromaThreshold","chromaSmoothing","distance","scaleMode","image","video","enabled","enabledInStandard","enabledInVR","fadeInDuration","fadeOutDuration","interactionEnabled","state","videoVisibleOnStop"],this.Le,p)};a.prototype.Pb=function(){this.Ld.dispose();this.sc.dispose();c.vd(this.m,["playbackPositions","blending",
"chromaColor","chromaThreshold","chromaSmoothing","distance","scaleMode","image","video","enabled","enabledInStandard","enabledInVR","fadeInDuration","fadeOutDuration","interactionEnabled","state","videoVisibleOnStop"],this.Le);this.Ux();this.Vx();j.prototype.Pb.call(this)};a.prototype.Le=function(){this.set("image",this.m.get("image"));this.set("video",this.m.get("video"));this.set("enabled",this.m.get("enabled"));this.set("enabledInStandard",this.m.get("enabledInStandard"));this.set("enabledInVR",
this.m.get("enabledInVR"));this.set("fadeInDuration",this.m.get("fadeInDuration"));this.set("fadeOutDuration",this.m.get("fadeOutDuration"));this.set("interactionEnabled",this.m.get("interactionEnabled"));this.set("state",this.m.get("state"));this.set("videoVisibleOnStop",this.m.get("videoVisibleOnStop"));this.set("scaleMode",this.m.get("scaleMode"));this.set("distance",this.m.get("distance"));this.set("playbackPositions",this.m.get("playbackPositions"));this.set("blending",this.m.get("blending"));
this.set("chromaColor",this.m.get("chromaColor"));this.set("chromaThreshold",this.m.get("chromaThreshold"));this.set("chromaSmoothing",this.m.get("chromaSmoothing"))};a.prototype.G=function(a){this.set("inVR",a.Lb);this.set("hotspotsEnabled",a.nw);this.hv=a.qa;this.gv=a.pitch;this.OR();this.hla();this.Rs();j.prototype.G.call(this,a);this.uH(a);this.jS();this.Vs(a)};a.prototype.OR=function(){if(this.B("video","image")){var a=[];if(this.B("image")){this.uM();this.xa&&a.push(this.xa)}if(this.B("video")){this.wM();
this.u&&a.push(this.u)}this.th(a);this.Ld.md(a);this.sc.md(a)}};a.prototype.Rs=function(){if(this.B("playbackPositions","currentTime")){this.Ab.YI(this.get("playbackPositions"));this.Ab.XI(this.get("currentTime"));this.set("yaw",this.Ab.get("yaw"));this.set("pitch",this.Ab.get("pitch"));this.set("roll",this.Ab.get("roll"));this.set("rotationX",this.Ab.get("rotationX"));this.set("rotationY",this.Ab.get("rotationY"));this.set("hfov",this.Ab.get("hfov"));this.set("vfov",this.Ab.get("vfov"));this.set("alpha",
this.Ab.ri())}this.B("yaw","pitch","roll","rotationX","rotationY","hfov","vfov","distance","scaleMode","image","video")&&this.Qa().forEach(function(a){a.set("yaw",this.get("yaw"));a.set("pitch",this.get("pitch"));a.set("roll",this.get("roll"));a.set("rotationX",this.get("rotationX"));a.set("rotationY",this.get("rotationY"));a.set("hfov",this.get("hfov"));a.set("vfov",this.get("vfov"));a.set("scaleMode",this.get("scaleMode"));a.set("distance",this.get("distance"))}.bind(this))};a.prototype.hla=function(){if(this.B("video",
"image","blending","chromaColor","chromaThreshold","chromaSmoothing")){if(this.u){var a=new k.Fj(this.get("video").fg());a.gq=this.get("blending");a.Sl=this.get("chromaColor");a.oB=this.get("chromaThreshold");a.nB=this.get("chromaSmoothing");this.u.set("materialConfig",a)}if(this.xa){a=new k.Fj;a.gq=this.get("blending");a.Sl=this.get("chromaColor");a.oB=this.get("chromaThreshold");a.nB=this.get("chromaSmoothing");this.xa.set("materialConfig",a)}}};a.prototype.uH=function(){var a=y;if(this.m.get("autoplay")&&
this.B("video","composedAlpha","enabledInVR","enabledInStandard","enabled","blendingActive")&&!this.get("blendingActive")&&this.get("composedAlpha")>0&&this.get("hotspotsEnabled")&&this.get("enabled")&&(!this.get("inVR")||this.get("enabledInVR"))&&(this.get("inVR")||this.get("enabledInStandard"))){this.m.set("state",f.Q);a=p}!a&&this.B("itemVisible")&&this.get("itemVisible")!="video"&&this.P&&this.P.Sd(f.J)};a.prototype.jS=function(){var a=this.P&&this.P.mI();this.set("frameEmpty",!!a&&a.isEmpty());
if(!this.Cf||a&&!this.Cf.isEqual(a)){this.Cf=a;this.u.set("source",this.Cf.Zd);this.u.set("sourceUpdated",p);this.Db()}else this.P.si()==f.Q&&this.Db()};a.prototype.Vs=function(a){var b=this.get("itemVisible");if(this.B("frameEmpty","state","image","video","inVR","hotspotsEnabled","enabledInVR","enabledInStandard","enabled","interactionEnabled")){var c="none";if(this.get("hotspotsEnabled")&&this.get("enabled")&&(!this.get("inVR")||this.get("enabledInVR"))&&(this.get("inVR")||this.get("enabledInStandard"))){this.u&&
(!this.xa||!this.get("frameEmpty")&&(this.get("state")!=f.J||this.I5&&this.get("videoVisibleOnStop")))?c="video":this.xa&&(c="image");if(this.get("state")!=f.J)this.I5=p}this.set("itemVisible",c);this.set("beamEnabled",c!="none"&&this.get("interactionEnabled"))}if(this.B("itemVisible")){var c=this.get("itemVisible")!="none",e=b!="none",b=c==e?100:c?this.get("fadeInDuration"):this.get("fadeOutDuration");c!=e&&this.m.trigger(c?d.Ce:d.rf);var e=this.xa?this.xa.get("alpha"):0,h=this.u?this.u.get("alpha"):
0,c=[{video:h,image:e}];if(this.get("itemVisible")=="video"){c.push({video:1,image:e,time:b*(1-h)});c.push({video:1,image:0,time:50*(e-0)})}else if(this.get("itemVisible")=="image"){c.push({video:h,image:1,time:b*(1-e)});c.push({video:0,image:1,time:50*(h-0)})}else c.push({video:0,image:0,time:Math.max(h,e,1/b)*b});this.Tm=[];for(b=1;b<c.length;b++)c[b].time>0&&this.Tm.push(new v("linear",[new x("imageAlpha",c[b-1].image,c[b].image),new x("videoAlpha",c[b-1].video,c[b].video)],c[b].time))}if(this.Tm.length>
0){this.Tm[0].ge()?this.Tm.shift():this.Tm[0].eb(a.kd);if(this.Tm.length>0){this.xa&&this.xa.set("alpha",this.Tm[0].kb("imageAlpha"));this.u&&this.u.set("alpha",this.Tm[0].kb("videoAlpha"));this.Db()}}};a.prototype.uM=function(){this.Ux();if(this.get("image")){var a=s.Wna(this.m,this.get("panoramaPixelsPerDegree"));this.xa=new n;this.xa.set("url",a.get("url"));this.xa.set("contentWidth",a.get("width"));this.xa.set("contentHeight",a.get("height"));this.xa.set("alpha",0)}};a.prototype.Ux=function(){if(this.xa){this.xa.remove();
this.xa=q}};a.prototype.wM=function(){this.Vx();if(this.get("video")){this.u=new h;var a=g.xT(this.get("video"));this.u.set("contentWidth",a.get("width"));this.u.set("contentHeight",a.get("height"));this.u.set("alpha",0);this.P=w.create(this.Va.ya,a.get("url"));this.P.Spa();this.Xj=new e(this.m,this.P);this.$a=new l(this.Va.ya,this.m,this.P);this.Cm()}};a.prototype.Vx=function(){if(this.u){this.En();this.$a.clear();this.$a=q;this.Xj.clear();this.Xj=q;this.P.clear();this.Cf=this.P=q;this.u.remove();
this.u=q}};a.prototype.bz=function(){this.trigger(d.Mb);this.trigger(d.R)};a.prototype.cz=function(a,b){var c=0;b.Tn(function(a){(a=b.vi(a))&&(c=c+a.rh)});this.trigger(new u(d.dc,c/b.Fc.length))};a.prototype.hf=function(){this.Db()};a.prototype.Pd=function(){this.Db()};a.prototype.Cm=function(){this.P.bind(z.qf,this.Pd,this,p);this.P.bind(z.nd,this.hf,this,p)};a.prototype.En=function(){this.P.unbind(z.qf,this.Pd,this,p);this.P.unbind(z.nd,this.hf,this,p)};a.prototype.zi=function(a){if(a.Bd==d.Ah){var b=
!a.Dg()&&this.Wp(a);if(b){a.dq(this.m);this.m.get("useHandCursor")&&a.fq(this.m);a.lh(this.get("distance"));var c=this.ma(a.qq());c&&a.TH(c,this.Xp(a.qq()))}if(this.Zh!=b){this.Zh=b;this.m.trigger(this.Zh?d.Cc:d.ec);a.oq()&&this.m.trigger(this.Zh?d.Oj:d.sf)}}else if(a.Bd==d.zh&&!a.Dg()&&this.Wp(a)){this.m.vB(d.W,p).length>1&&a.ko(this.m);a.lh(this.get("distance"));this.m.trigger(d.W)}};a.prototype.Wp=function(a){if(this.get("beamEnabled"))for(var a=(this.get("itemVisible")=="video"?this.u:this.xa).ck(a.zk),
b=0;b<a.length;b++){var c=a[b];if(t.Wk(c.source,c.x,c.y))return p}return y};a.prototype.ma=function(a){return!a||this.m.get("displayTooltipInTouchScreens")&&this.Va.D.get("displayTooltipInTouchScreens")!==y?this.m.get("toolTip",""):""};a.prototype.Xp=function(a){if(a){var a=this.get("yaw")-this.hv,b=this.get("pitch")-this.gv;return Math.sqrt(a*a+b*b)}return 0};return a});
define("cF","require,dl,fS,hy,gq,hQ,gn,iC,dU,K,iW,cC,bj,ef,iE,di,bw".split(","),function(a){function b(a,b){Array.isArray(b)||(b=[b]);for(var e=0;e<b.length;e++)if(c.tb(b[e],a))return p;return y}var c=a("dl"),d=a("fS"),f=a("hy"),g=a("gq"),k=a("hQ"),j=a("gn"),h=a("iC"),n=a("dU"),e=a("K"),l=a("iW"),r=a("cC"),o=a("bj"),s=a("ef"),t=a("iE"),u=a("di"),v=a("bw"),a={};s.factory=a;a.create=function(a){if(a instanceof d)return a;if(b(a,["HDRPanorama","LivePanorama","Panorama","VideoPanorama"]))return new e(a);
if(b(a,["CubicPanoramaFrame","SphericPanoramaFrame"]))return v.get(a)==v.el&&b(a.get("sphere"),"Video360Resource")?new r(a):new l(a);if(b(a,"HotspotPanoramaOverlay"))return new k(a);if(b(a,["HotspotPanoramaOverlayImage","HotspotPanoramaOverlayMap"]))return new j(a);if(b(a,"Menu"))return new n(a);if(b(a,["CeilingCapPanoramaOverlay","TripodCapPanoramaOverlay"]))return new f(a);if(b(a,["FlatHotspotPanoramaOverlayImage","FlatHotspotPanoramaOverlayMap"]))return new g(a);if(b(a,["LensFlarePanoramaOverlay"]))return new h(a);
if(b(a,["SnowPanoramaOverlay"]))return new t(a);if(b(a,["PopupPanoramaOverlay"]))return new o(a);if(b(a,["VideoPanoramaOverlay"]))return new u(a);i("Invalid script object")};return a});
define("jm",["require"],function(){var a={K6:function(b,c,d,f,g,k){return a.jna(b,2*(c/f)-1,2*-(d/g)+1,k)},jna:function(a,c,d,f){f||(f=new THREE.Ray);f.origin.setFromMatrixPosition(a.matrixWorld);f.direction.set(c,d,0.5).unproject(a).sub(f.origin).normalize();return f},xna:function(a,c){c||(c=new THREE.Ray);c.origin.set(0,0,0);c.direction.set(0,0,-1).applyQuaternion(a.quaternion);return c},wna:function(a,c){c||(c=new THREE.Ray);c.origin.set(0,0,0).applyMatrix4(a);c.direction.set(0,0,-1).applyMatrix4(a).sub(c.origin).normalize();
return c}};return a});
define("dO",["require"],function(){function a(a){this.pd=this.my(a.get("vrPointerColor"));this.Fl=this.my(a.get("vrPointerSelectionColor"));this.Nn=this.hj([0,0,0],0);this.XG=this.hj([0,0,0],0.125);this.Eca=this.hj(this.pd,1);this.Fca=this.hj(this.Fl,1);this.vba=this.hj(this.Fl,1);this.uba=this.hj(this.pd,0.5);this.sba=this.hj(this.pd,1);this.tba=this.hj(this.Fl,1);this.Lg=this.Xd=64;this.kL=4E3;this.uZ=0.1;this.Mg=0.16;this.kj=0.04;this.BY=this.JD=0.68-this.kj;this.ID=1-this.kj;this.t=document.createElement("canvas");
this.t.width=this.Xd;this.t.height=this.Lg;this.ga=this.t.getContext("2d");this.Zh=this.PL=y;this.Iu=this.OF=m;this.nr=0}a.prototype.my=function(a){a=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a);return[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16)]};a.prototype.hj=function(a,c){return"rgba("+a.join(",")+", "+c+")"};a.prototype.Cqa=function(a,c){this.Zh=a;this.OF=c};a.prototype.TI=N("PL");a.prototype.jc=P("Xd");a.prototype.Sc=P("Lg");a.prototype.update=function(a){return this.PL?this.Ica(a):
this.Zh?this.Nca():this.Mca()};a.prototype.KD=function(){this.ga.clearRect(0,0,this.Xd,this.Lg)};a.prototype.Mca=function(){if("initial"==this.Iu)return y;this.KD();this.yZ(this.Eca);this.Iu="initial";return p};a.prototype.Nca=function(){if(this.OF===m){if("over"==this.Iu)return y;this.KD();this.yZ(this.Fca)}else this.kha(this.OF);this.Iu="over";return p};a.prototype.Ica=function(a){for(this.nr+=a;this.nr>this.kL;)this.nr-=this.kL;this.pba(this.nr/this.kL);this.Iu="changing";return p};a.prototype.yZ=
function(a){this.Qg(this.uZ+this.kj,0,this.Nn,this.XG,0,2*Math.PI);this.Qg(this.uZ,0,this.Nn,a,0,2*Math.PI)};a.prototype.Oca=function(a){this.Qg(this.JD-0.5*(this.Mg+this.kj),this.Mg+this.kj,this.XG,this.Nn,0,2*Math.PI);this.Qg(this.JD-0.5*this.Mg,this.Mg,this.uba,this.Nn,0,2*Math.PI);this.Qg(this.JD-0.5*this.Mg,this.Mg,this.vba,this.Nn,0.5*Math.PI,(0.5+2*a)*Math.PI)};a.prototype.Jca=function(a,c){this.Qg(this.BY-0.5*(this.Mg+this.kj),this.Mg+this.kj,this.XG,this.Nn,0,2*Math.PI);this.Qg(this.BY-0.5*
this.Mg,this.Mg,this.sba,this.Nn,0,2*Math.PI);a=(0.5+2*a)*Math.PI;for(c=(0.5+2*c)*Math.PI;c<a;)c+=2*Math.PI;var d=a-this.kj/(2*this.ID*Math.PI),f=c+this.kj/(2*this.ID*Math.PI);Math.abs(f-d+2*Math.PI)<2*this.kj&&(d=0,f=c);this.Qg(this.ID-0.5*(this.Mg+this.kj),this.Mg+this.kj,this.XG,this.Nn,d,f);this.Qg(this.ID-0.5*this.Mg,this.Mg,this.tba,this.Nn,a,c)};a.prototype.Qg=function(a,c,d,f,g,k){var j=Math.round(0.5*this.Xd),h=Math.round(0.5*this.Lg),n=Math.min(j,h),a=Math.round(a*n),e=this.ga;e.moa=e.Qta=
p;e.lineWidth=c*n;e.strokeStyle=d;e.fillStyle=f;e.beginPath();e.arc(j,h,a,g,k,y);e.stroke();e.fill()};a.prototype.pba=function(a){this.KD();var c;0.25>a?(c=a/0.25,a=0.5*c):0.5>a?(c=(a-0.25)/0.25,a=0.5+c,c=1+0.5*c):0.75>a?(c=(a-0.5)/0.25,a=0.5+0.5*c,c=0.5+c):(a=c=(a-0.75)/0.25,c=0.5+0.5*c);this.Jca(a,c)};a.prototype.kha=function(a){this.KD();this.Oca(a)};return a});
define("hU","require,hp,cR,gg,dO,dm".split(","),function(a){var b=a("hp"),c=a("cR"),d=a("gg"),f=a("dO"),g=a("dm"),a=b.extend(d,function(){d.call(this);this.t=q;this.set("tag","Reticle");this.set("changing",y);this.set("over",y);this.set("overProgress",m);this.set("visible",p);this.set("attachToCamera",p)});a.prototype.G=function(a){this.Bf(a);this.LA(a);d.prototype.G.call(this,a)};a.prototype.Bf=function(a){if(!this.t){this.set("textureSource",new g);this.t=new f(this.Va.D);this.get("textureSource").Hg(this.t.t);
this.set("contentWidth",this.t.jc());this.set("contentHeight",this.t.Sc());this.set("hfov",6);this.set("distance",this.Va.D.get("vrPointerDistance"))}this.B("changing")&&this.t.TI(this.get("changing"));this.B("over","overProgress")&&this.t.Cqa(this.get("over"),this.get("overProgress"));this.t.update(a.kd)&&this.get("textureSource").update();this.get("changing")&&this.Db()};a.prototype.LA=function(){this.tj()};a.prototype.On=function(){this.B("composedAlpha","meshGroup","visible")&&this.pr()};a.prototype.pr=
function(){c.Vc(this.get("meshGroup"),this.get("visible")?this.get("composedAlpha"):0)};return a});
define("V","require,jquery.mod,cL,jq,t,jE,db".split(","),function(a){function b(a){this.na=a;this.M4=this.na.Wi;this.na.bind(f.Ac,this.Vh,this);this.v=c("<span></span>");this.v.css({position:"absolute","z-index":k.HW,"text-align":"center",display:"none"});g.Na()||this.v.css({"pointer-events":"none"});this.Ec=c("<span></span>");this.Ec.css({position:"absolute",left:0,top:0,right:0,bottom:0});this.v.append(this.Ec);this.kH=c("<span></span>");this.kH.css({position:"relative"});this.v.append(this.kH);
this.nj=this.KE=this.Ze=q;this.p2=this.o2=m;this.ep=y;this.N4=m}var c=a("jquery.mod"),d=a("cL"),f=a("jq"),g=a("t"),k=a("jE"),j=a("db"),h={toolTip:m,toolTipBackgroundColor:"#F6F6F6",toolTipBackgroundOpacity:1,toolTipBorderColor:"#767676",toolTipBorderRadius:3,toolTipBorderSize:1,toolTipFontFamily:"Segoe UI",toolTipFontSize:12,toolTipFontColor:"#606060",toolTipFontWeight:"normal",toolTipFontStyle:"normal",toolTipHorizontalAlign:"center",toolTipOpacity:1,toolTipPaddingBottom:2,toolTipPaddingLeft:4,toolTipPaddingTop:2,
toolTipPaddingRight:4,toolTipShadowBlurRadius:3,toolTipShadowColor:"#333333",toolTipShadowHorizontalLength:3,toolTipShadowOpacity:1,toolTipShadowSpread:0,toolTipShadowVerticalLength:3,toolTipTextShadowBlurRadius:3,toolTipTextShadowColor:"#000000",toolTipTextShadowHorizontalLength:0,toolTipTextShadowOpacity:0,toolTipTextShadowVerticalLength:0,toolTipDisplayTime:600};b.prototype.fb=P("v");b.prototype.Cw=function(a){if(!this.M4){for(;a&&a.get("toolTipDisabled");)a=a.getParent();this.hide();this.Ze&&
d(d(h).keys()).each(function(a){this.Ze.unbind(f.ba(a),this.wP,this)},this);if(this.Ze=a){d(d(h).keys()).each(function(a){this.Ze.bind(f.ba(a),this.wP,this)},this);this.wP()}}};b.prototype.Zqa=function(a,b){this.Ze=a;this.N4=b;this.QE()||(this.ep?this.d4():this.j4())};b.prototype.b4=function(a,b,c,d,h){this.ep&&this.Ze.trigger(f.FK);this.fla(a);this.kH.html(this.wea(b));var b=this.v.outerWidth(),g=this.v.outerHeight();if(h){c=c-this.v.width()*0.5;d=d-this.v.height()*0.5}c=Math.max(Math.min(c,this.na.Aa()-
b-3),3);d=Math.max(Math.min(d,this.na.bb()-g-3),3);this.v.css("left",c+"px");this.v.css("top",d+"px");this.v.css("display","inline");this.Ze.trigger(f.GW);this.ep=p;h&&this.Uja(a,c,d)};b.prototype.hide=function(){this.YL();this.s4();if(this.ep){this.v.css("display","none");this.Ze.trigger(f.FK);this.ep=y}};b.prototype.wP=function(){this.Ze.get("toolTip")?this.QE()||(this.ep?this.c4():this.j4()):this.QE()?this.YL():this.ep&&this.hide()};b.prototype.Vh=function(a){this.o2=a.pageX;this.p2=a.pageY};b.prototype.c4=
function(){var a=this.o2,b=this.p2+25;this.b4(this.Ze,this.Ze.get("toolTip"),a,b,y)};b.prototype.d4=function(){var a=this.Ze.fb().offset();this.b4(this.Ze,this.N4,a.left+this.Ze.Aa()*0.5,a.top+this.Ze.bb()*0.5,p)};b.prototype.QE=function(){return this.nj!=q};b.prototype.j4=function(){var a=this.Ze&&this.Ze.get("toolTipDisplayTime");if(a===m||a===q)a=h.toolTipDisplayTime;this.YL();this.nj=setTimeout(function(){this.nj=q;this.M4?this.d4():this.c4()}.bind(this),a)};b.prototype.YL=function(){if(this.QE()){clearTimeout(this.nj);
this.nj=q}};b.prototype.Uja=function(a,b,c){this.s4();var d=function(){this.v.css("display",this.ep&&!this.qfa(a,b,c)?"inline":"none")}.bind(this);this.KE=setInterval(d,300);d()};b.prototype.s4=function(){if(this.KE){clearInterval(this.KE);this.KE=q}};b.prototype.fla=function(a){function b(c){var e=a.get(c);return e===m?h[c]:e}var c={};c.opacity=b("toolTipOpacity");c.filter=c["-ms-filter"]="alpha(opacity="+Math.round(b("toolTipOpacity")*100)+")";c.paddingTop=b("toolTipPaddingTop")+"px";c.paddingBottom=
b("toolTipPaddingBottom")+"px";c.paddingLeft=b("toolTipPaddingLeft")+"px";c.paddingRight=b("toolTipPaddingRight")+"px";c["text-align"]=b("toolTipHorizontalAlign");this.v.css(c);c={};c.opacity=b("toolTipBackgroundOpacity");c.filter=c["-ms-filter"]="alpha(opacity="+Math.round(b("toolTipBackgroundOpacity")*100)+")";c["background-color"]=b("toolTipBackgroundColor");c.border=[b("toolTipBorderSize")+"px","solid",b("toolTipBorderColor")].join(" ");var f=b("toolTipShadowColor");c["-moz-box-shadow"]=c["-webkit-box-shadow"]=
c["box-shadow"]=[b("toolTipShadowHorizontalLength")+"px",b("toolTipShadowVerticalLength")+"px",b("toolTipShadowBlurRadius")+"px",b("toolTipShadowSpread")+"px","rgba("+parseInt("0x"+f.substr(1,2))+", "+parseInt("0x"+f.substr(3,2))+", "+parseInt("0x"+f.substr(5,2))+", "+b("toolTipShadowOpacity")+")"].join(" ");c["-moz-border-radius"]=c["-webkit-border-radius"]=c.borderRadius=b("toolTipBorderRadius")+"px";this.Ec.css(c);c={};c["font-family"]=j.iq(b("toolTipFontFamily"));f=b("toolTipFontSize");d(f).isNumber()?
f=f+"px":d(f).isString()||(f="");c["font-size"]=f;c["font-weight"]=b("toolTipFontWeight");c["font-style"]=b("toolTipFontStyle");c.color=b("toolTipFontColor");f=b("toolTipTextShadowColor");c["-moz-text-shadow"]=c["-webkit-text-shadow"]=c["text-shadow"]=[b("toolTipTextShadowHorizontalLength")+"px",b("toolTipTextShadowVerticalLength")+"px",b("toolTipTextShadowBlurRadius")+"px","rgba("+parseInt("0x"+f.substr(1,2))+", "+parseInt("0x"+f.substr(3,2))+", "+parseInt("0x"+f.substr(5,2))+", "+b("toolTipTextShadowOpacity")+
")"].join(" ");var g=b("toolTipTextShadowVerticalLength")==0&&b("toolTipTextShadowHorizontalLength")==0?135:Math.round(4*Math.atan2("toolTipTextShadowHorizontalLength",-b("toolTipTextShadowVerticalLength"))/Math.PI)*45;c.filter="progid:DXImageTransform.Microsoft.Shadow(color=#"+function(a){for(a=a.toString(16);a.length<2;)a="0"+a;return a}(255*b("toolTipTextShadowOpacity"))+f.substr(1,6)+",direction="+g+")";this.kH.css(c)};b.prototype.qfa=function(a,b,c){for(var b=document.elementsFromPoint(b,c),
a=a.fb()[0],c=this.na.fb()[0],d=0;d<b.length;d++){var f=b[d];if(a==f||a.contains(f))break;if(!this.v[0].contains(f)&&c.contains(f)){var h=window.getComputedStyle(f);if(h.display!="none"&&h.visibility!="hidden"&&(f.tagName=="CANVAS"?1:this.Lba(h.backgroundColor))*h.opacity>0.29)return p}}return y};b.prototype.Lba=function(a){if(!a)return 0;var a=a.toLowerCase(),b=a.match(/rgba\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*,\s*(\d*\.?\d*)\s*\)/);return b?parseFloat(b[1]):a.match(/transparent/)?0:1};b.prototype.wea=
function(a){for(var a=(a||"").split("\n"),b=0;b<a.length;b++)a[b]=this.Tca(a[b]);return a.map(function(a){return"<div>"+a+"</div>"})};b.prototype.Tca=function(a){b.vX.nodeValue=a;return b.rX.innerHTML};b.z9=h;b.rX=document.createElement("pre");b.vX=document.createTextNode("");b.rX.appendChild(b.vX);b.psa=600;return b});
define("bX",["require","V","bs","db"],function(a){function b(a,b){this.D=a;this.rA=b;this.Lja()}var c=a("V"),d=a("bs"),f=a("db");b.prototype.jc=function(){return this.t.width};b.prototype.Sc=function(){return this.t.height};b.prototype.Lja=function(){this.t=document.createElement("canvas");var a=this.t.getContext("2d"),b=this.rA.split("\n"),c=this.$d("toolTipBackgroundColor"),h=this.$d("toolTipBackgroundOpacity"),n=this.$d("toolTipBorderRadius"),e=this.$d("toolTipBorderColor"),l=this.$d("toolTipBorderSize");
this.$d("toolTipDisplayTime");var r=this.$d("toolTipFontFamily"),o=this.$d("toolTipFontSize"),s=this.$d("toolTipFontColor"),t=this.$d("toolTipFontWeight"),u=this.$d("toolTipFontStyle"),v=this.$d("toolTipPaddingBottom"),x=this.$d("toolTipPaddingLeft"),w=this.$d("toolTipPaddingTop"),z=this.$d("toolTipPaddingRight"),C=this.$d("toolTipOpacity"),B=this.$d("toolTipTextShadowBlurRadius"),G=this.$d("toolTipTextShadowColor"),A=this.$d("toolTipTextShadowHorizontalLength"),F=this.$d("toolTipTextShadowVerticalLength"),
J=this.$d("toolTipTextShadowOpacity"),I=new d.AW;I.fontFamily=r;I.fontSize=o+(isNaN(o)?"":"px");I.fontWeight=t;I.fontStyle=u;var K=b.map(function(b){return d(b,I,a)}),L=0,O=0;K.forEach(function(a){L=Math.max(a.width,L);O+=a.height});var M=1<b.length?0.25*(O/b.length):0,O=O+(b.length-1)*M,z=l+x+L+z+l,v=l+w+O+v+l;this.t=document.createElement("canvas");a=this.t.getContext("2d");this.t.width=z;this.t.height=v;a.globalAlpha=C;a.strokeStyle=e;a.fillStyle="transparent"===c?"rgba(0,0,0,0)":this.GX(h,c);
a.lineWidth=l;a.beginPath();a.moveTo(n,0);a.lineTo(z-n,0);a.quadraticCurveTo(z,0,z,n);a.lineTo(z,v-n);a.quadraticCurveTo(z,v,z-n,v);a.lineTo(n,v);a.quadraticCurveTo(0,v,0,v-n);a.lineTo(0,n);a.quadraticCurveTo(0,0,n,0);a.closePath();a.fill();0<l&&a.stroke();a.fillStyle=s;a.font=t+" "+("normal"!=u?u+" ":"")+o+(isNaN(o)?"":"px")+" "+f.iq(r);a.shadowColor=this.GX(J,G);a.shadowOffsetX=A;a.shadowOffsetY=F;a.shadowBlur=B;a.textBaseline="middle";a.textAlign="center";var E=l+x+0.5*L,Q=l+w;b.forEach(function(b,
c){a.fillText(b,Math.round(E),Math.round(Q+0.5*K[c].height));Q+=K[c].height+M})};b.prototype.$d=function(a){var b=this.D.get(a);return b===m?c.z9[a]:b};b.prototype.GX=function(a,b){return"rgba("+parseInt("0x"+b.substr(1,2))+", "+parseInt("0x"+b.substr(3,2))+", "+parseInt("0x"+b.substr(5,2))+", "+a+")"};return b});
define("jo","require,hp,ew,gg,bX,dm".split(","),function(a){var b=a("hp"),c=a("ew"),d=a("gg"),f=a("bX"),g=a("dm"),a=b.extend(d,function(){d.call(this);this.t=q;this.set("tag","ToolTip");this.set("text","");this.qj=new THREE.Vector3(0,0,-c.lq())});a.prototype.G=function(a){this.Bf(a);d.prototype.G.call(this,a)};a.prototype.Bf=function(a){if(!this.t||this.B("text")){this.get("textureSource")||this.set("textureSource",new g);this.t=new f(this.Va.D,this.get("text"));this.get("textureSource").Hg(this.t.t);
this.set("contentWidth",this.t.jc());this.set("contentHeight",this.t.Sc());this.set("hfov",2*Math.atan2(this.t.jc()*0.5,600)*k);this.set("distance",this.Va.D.get("vrPointerDistance"));var b=this.get("matrix");if(b){this.qj.applyMatrix4(b);(this.qj.x!=0||this.qj.z!=0)&&this.set("yaw",k*Math.atan2(this.qj.x,-this.qj.z));(this.qj.y!=0||this.qj.z!=0)&&this.set("pitch",k*Math.atan2(this.qj.y,Math.sqrt(this.qj.z*this.qj.z+this.qj.x*this.qj.x))+j)}else{this.set("yaw",a.qa);this.set("pitch",a.pitch+h)}}};
var k=180/Math.PI,j=2,h=5;return a});define("iZ",["require","jm","I"],function(a){function b(a,b){this.nf=a;this.g=b;this.ay=q}var c=a("jm"),d=a("I");b.prototype.update=D();b.prototype.clear=D();b.prototype.pf=P("nf");b.prototype.HN=function(){var a=this.k.ze&&d.$v(this.k.ze);return this.ay=a?c.xna(a,this.ay):q};b.bD="gaze";b.HK="gaze_click";b.cx="laser";b.dx="mouse";b.ex="touch";return b});
define("dq",["require","iZ"],function(a){function b(a,b,c,d){this.hh=a;this.zk=b;this.ay=c;this.Bd=d;this.wY=[];this.eh=[];this.HH=[];this.gO=[];this.ma="";this.Xp=Number.MAX_VALUE}function c(a){return a===m?[]:Array.isArray(a)?a:[a]}var d=a("iZ");b.prototype.oq=function(){return this.hh.pf()==d.dx};b.prototype.E7=function(){return this.hh.pf()==d.cx};b.prototype.qq=function(){return this.hh.pf()==d.ex};b.prototype.yoa=function(){return this.hh.pf()==d.bD};b.prototype.fq=function(a){this.HH=this.HH.concat(c(a))};
b.prototype.Hw=function(){return 0<this.HH.length};b.prototype.hma=function(a){this.gO=this.gO.concat(c(a))};b.prototype.Nma=function(){return 0==this.HH.length&&0<this.gO.length};b.prototype.dq=function(a){this.eh=this.eh.concat(c(a))};b.prototype.Yoa=function(){return 0<this.eh.length};b.prototype.lh=function(a){if(a&&(this.$D===m||this.$D>a))this.$D=a};b.prototype.TH=function(a,b){if(""==this.ma||this.Xp>b)this.ma=a,this.Xp=b};b.prototype.pC=P("ma");b.prototype.ko=function(a){this.wY=c(a)};b.prototype.Dg=
function(){return 0<this.wY.length};return b});
define("bR","require,hp,jq,jm,I,hU,jo,dq,iZ".split(","),function(a){var b=a("hp"),c=a("jq");a("jm");a("I");var d=a("hU"),f=a("jo"),g=a("dq"),k=a("iZ"),a=b.extend(k,function(a){k.call(this,k.bD,a);this.de=this.k=q;this.eh=[];this.mH=q;this.h2=m;this.qb=new d;this.g.add(this.qb);this.te="";this.ma=q;this.y3=this.g.D.get("vrPointerSelectionTime")});a.prototype.clear=function(){this.vR();this.g.remove(this.qb);this.qb=q;this.ma&&this.g.remove(this.ma);this.ma=q};a.prototype.update=function(a){this.k=
a;this.qb.set("changing",a.YH);this.mi()};a.prototype.bu=function(){this.kf(this.bf(c.zh));this.qb.set("over",y)};a.prototype.mi=function(){var a=this.bf(c.Ah);this.kf(a);this.Ek(a.pC());var b;a:{b=this.eh;for(var d=a.eh,e=0;e<b.length;e++)if(d.indexOf(b[e])<0){b=y;break a}for(e=0;e<d.length;e++)if(b.indexOf(d[e])<0){b=y;break a}b=p}if(!b){this.vR();this.qb.set("over",y);this.eh=a.eh;if(this.eh.length){this.qb.set("over",a.Hw());this.qb.set("overProgress",0);this.fka()}}};a.prototype.Ek=function(a){if(this.te!=
a){this.te&&this.g.remove(this.ma);if(this.te=a){this.ma=new f(this.te);this.ma.set("text",this.te);this.g.add(this.ma)}}};a.prototype.kf=function(a){this.g.EB().sort(function(a,b){return b.get("index")-a.get("index")}).forEach(function(b){b.zi(a)}.bind(this))};a.prototype.bf=function(a){this.de=this.HN();return new g(this,this.de?[this.de]:[],this.de,a)};a.prototype.vR=function(){this.mH&&(clearInterval(this.mH),this.mH=q)};a.prototype.fka=function(){this.h2=(new Date).getTime();this.mH=setInterval(this.rga.bind(this),
100)};a.prototype.rga=function(){var a=(new Date).getTime()-this.h2;if(a>=this.y3){this.vR();this.bu()}else this.qb.set("overProgress",a/this.y3)};return a});
define("ho","require,hp,jq,hU,jo,dq,iZ,bd".split(","),function(a){var b=a("hp"),c=a("jq"),d=a("hU"),f=a("jo"),g=a("dq"),k=a("iZ"),j=a("bd"),a=b.extend(k,function(a){k.call(this,k.HK,a);this.de=this.k=q;this.qb=new d;this.g.add(this.qb);this.te="";this.ma=q;this.oH=this.oH.bind(this);document.body.addEventListener("touchend",this.oH);j.bind(c.Bh,this.N5,this,p)});a.prototype.clear=function(){document.body.removeEventListener("touchend",this.oH);j.unbind(c.Bh,this.N5,this,p);this.g.remove(this.qb);
this.qb=q;this.ma&&this.g.remove(this.ma);this.ma=q};a.prototype.update=function(a){this.k=a;this.qb.set("changing",a.YH);this.mi()};a.prototype.oH=function(){this.bu()};a.prototype.N5=function(){this.bu()};a.prototype.bu=function(){this.kf(this.bf(c.zh));this.qb.set("over",y)};a.prototype.mi=function(){var a=this.bf(c.Ah);this.kf(a);this.Ek(a.pC());this.qb.set("over",a.Hw())};a.prototype.Ek=function(a){if(this.te!=a){this.te&&this.g.remove(this.ma);if(this.te=a){this.ma=new f(this.te);this.ma.set("text",
this.te);this.g.add(this.ma)}}};a.prototype.kf=function(a){this.g.EB().sort(function(a,b){return b.get("index")-a.get("index")}).forEach(function(b){b.zi(a)}.bind(this))};a.prototype.bf=function(a){this.de=this.HN();return new g(this,this.de?[this.de]:[],this.de,a)};return a});
define("gW","require,hp,ew,bG,cR,dm,f,iO".split(","),function(a){var b=a("hp"),c=a("ew"),d=a("bG"),f=a("cR"),g=a("dm"),k=a("f"),j=a("iO"),h=new THREE.Matrix4,n=Math.PI/180,a=b.extend(k,function(){k.call(this);this.set("tag","Laser");this.set("matrix",q);this.set("over",y);this.set("pressed",y);this.set("intersectionDistance",0);this.set("visible",y);this.set("attachToCamera",y);this.set("dotVisible",p);this.tQ=this.Hz=this.zl=this.sQ=q;new THREE.Matrix4;this.uQ=new THREE.Matrix4;this.uQ.multiply(h.makeRotationX(-90*
n));this.uQ.multiply(h.makeTranslation(0,e*0.5,0));this.eE=this.dE=this.cE=this.Sm=this.$M=q;new THREE.Matrix4;this.aN=new THREE.Matrix4;this.Mx=this.bE=this.ZM=q;new THREE.Matrix4;this.Fr=[new THREE.Matrix4,new THREE.Matrix4,new THREE.Matrix4];this.Fr[0].multiply(h.makeRotationX(-90*n));this.Fr[0].multiply(h.makeTranslation(0,-r*0.5,0));this.Fr[1].multiply(h.makeRotationX(-90*n));this.Fr[1].multiply(h.makeTranslation(0,-r*0.5,-l*0.5));this.Fr[2].multiply(h.makeRotationX(-90*n));this.Fr[2].multiply(h.makeTranslation(0,
-r*0.5,-l))});a.prototype.G=function(a){k.prototype.G.call(this,a);this.kS();this.aq()};a.prototype.kS=function(){if(this.B("visible"))this.get("meshGroup").visible=this.get("visible");this.B("dotVisible")&&f.Vc([this.dE,this.bE],this.get("dotVisible")?1:0)};a.prototype.aq=function(){if(this.B("over","pressed")){this.k5();this.s5()}};var e=0.35,l=0.012,r=0.1;a.prototype.jl=function(){this.bE=f.create(new THREE.SphereGeometry(2.3,32,32),this.Yba());this.dE=f.create(new THREE.SphereGeometry(2,32,32),
this.Zba());this.tQ=f.create(new THREE.CylinderGeometry(0.003,0.003,e,8),this.qca());this.fu=[];this.fu.push(f.create(new THREE.CylinderGeometry(l,l,r,32),this.oM()));this.fu.push(f.create(new THREE.BoxGeometry(2*l,r,l),this.oM()));this.fu.push(f.create(new THREE.CylinderGeometry(l,l,r,32),this.oM()));return[this.bE,this.dE,this.tQ].concat(this.fu)};a.prototype.Yba=function(){if(this.ZM==q){var a=document.createElement("canvas");a.width=a.height=256;var b=a.getContext("2d"),c=new g;c.Hg(a);this.ZM=
d.Mk(c.texture(),new d.Fj);b.fillStyle="rgba(0, 0, 0, 0.75)";b.clearRect(0,0,a.width,a.height);b.fillRect(0,0,a.width,a.height)}return[this.ZM]};a.prototype.Zba=function(){if(this.$M==q){this.Sm=document.createElement("canvas");this.Sm.width=this.Sm.height=256;this.cE=this.Sm.getContext("2d");this.eE=new g;this.eE.Hg(this.Sm);this.$M=d.Mk(this.eE.texture(),new d.Fj);this.k5()}return[this.$M]};a.prototype.k5=function(){this.cE.fillStyle=this.zN();this.cE.clearRect(0,0,this.Sm.width,this.Sm.height);
this.cE.fillRect(0,0,this.Sm.width,this.Sm.height);this.eE.update()};a.prototype.qca=function(){if(this.sQ==q){this.zl=document.createElement("canvas");this.zl.width=this.zl.height=256;this.Hz=this.zl.getContext("2d");this.vQ=new g;this.vQ.Hg(this.zl);this.sQ=d.Mk(this.vQ.texture(),new d.Fj);this.s5()}return[this.sQ]};a.prototype.s5=function(){var a=j.$T(this.zN()).join(", "),b=this.Hz.createLinearGradient(0,0,0,this.zl.height);b.addColorStop(0,"rgba("+a+", 0)");b.addColorStop(0.5,"rgba("+a+", 1)");
b.addColorStop(1,"rgba("+a+", 1)");this.Hz.fillStyle=b;this.Hz.clearRect(0,0,this.zl.width,this.zl.height);this.Hz.fillRect(0,0,this.zl.width,this.zl.height);this.vQ.update()};a.prototype.oM=function(){if(this.Mx==q){var a=document.createElement("canvas");a.width=a.height=256;var b=a.getContext("2d"),c=new g;c.Hg(a);this.Mx=d.Mk(c.texture(),new d.Fj);b.fillStyle="rgba(64, 64, 64, 1)";b.clearRect(0,0,a.width,a.height);b.fillRect(0,0,a.width,a.height)}return[this.Mx,this.Mx,this.Mx]};a.prototype.Gv=
function(){var a=y,b=y,e=y;if(this.B("intersectionDistance")){var b=(b=this.get("intersectionDistance"))?c.gw(b):c.lq(),d=b/c.lq();this.aN.makeTranslation(0,0,-b);this.aN.multiply(h.makeScale(d,d,d));b=p}if(this.B("matrix"))e=b=a=p;if(b){h.identity();(b=this.get("matrix"))&&h.multiply(b);h.multiply(this.aN);f.Vl(this.dE,h);f.Vl(this.bE,h)}if(a){h.identity();(b=this.get("matrix"))&&h.multiply(b);h.multiply(this.uQ);f.Vl(this.tQ,h)}if(e){b=this.get("matrix");for(a=0;a<this.fu.length;a++){h.identity();
b&&h.multiply(b);h.multiply(this.Fr[a]);f.Vl(this.fu[a],h)}}};a.prototype.lS=function(){if(this.B("index","meshGroup")){var a=this.get("meshGroup");a&&a.children.forEach(function(a){f.QU(a,this.get("index"))}.bind(this))}};a.prototype.zN=function(){return this.get("pressed")?this.Va.D.get("vrPointerSelectionColor"):this.get("over")?this.Va.D.get("vrPointerOverColor"):this.Va.D.get("vrPointerColor")};return a});
define("cP","require,hp,jq,jm,gW,hU,jo,dq,iZ,cD,bd,iI".split(","),function(a){var b=a("hp"),c=a("jq"),d=a("jm"),f=a("gW"),g=a("hU"),k=a("jo"),j=a("dq"),h=a("iZ"),n=a("cD"),e=a("bd"),l=a("iI"),r=new THREE.Matrix4,o=Math.PI/180,a=b.extend(h,function(a){h.call(this,h.cx,a);this.de=this.k=q;this.eh=[];this.Rf=new f;this.g.add(this.Rf);this.qb=new g;this.g.add(this.qb);this.ih=y;this.te="";this.ma=q;this.Sg=new THREE.Matrix4});a.prototype.clear=function(){this.g.remove(this.Rf);this.g.remove(this.qb);
this.qb=this.Rf=q;this.ma&&this.g.remove(this.ma);this.ma=q};a.prototype.update=function(a){this.k=a;this.qb.set("changing",a.YH);this.qb.set("visible",a.YH);var b=n.FI();if(b){var c=b.quaternion(),d=b.position(),f=e.bm().position,h=l.qa(e.bm().orientation);this.Sg.identity();if(d){this.Sg.multiply(r.makeRotationY((h-a.qa)*o));this.Sg.multiply(r.makeTranslation(-f.x,-f.y,-f.z));this.Sg.multiply(r.makeTranslation(d.x,d.y,d.z));this.Sg.multiply(r.makeRotationFromQuaternion(c))}else{this.Sg.multiply(r.makeRotationY(-a.qa*
o));b.hand()==n.ha?this.Sg.multiply(r.makeTranslation(-0.2,-0.4,0)):this.Sg.multiply(r.makeTranslation(0.2,-0.4,0));this.Sg.multiply(r.makeRotationY(h*o));this.Sg.multiply(r.makeRotationFromQuaternion(c));this.Sg.multiply(r.makeTranslation(0,0,-0.3))}this.Rf.set("matrix",q);this.Rf.set("matrix",this.Sg);this.Rf.set("pressed",b.pressed());this.Rf.set("visible",p)}else this.Rf.set("visible",y);this.mi();a=!!b&&b.pressed();if(this.ih!=a){this.ih&&this.bu();this.ih=a}this.Rf.tj();this.qb.tj()};a.prototype.bu=
function(){var a=this.bf(c.zh);this.kf(a);this.Rf.set("over",p);this.Rf.set("dotVisible",p);this.Rf.set("intersectionDistance",a.$D);(a=n.FI())&&a.pulse(0.6,50)};a.prototype.mi=function(){var a=this.bf(c.Ah);this.kf(a);this.Ek(a.pC());var b;a:{b=this.eh;for(var e=a.eh,d=0;d<b.length;d++)if(e.indexOf(b[d])<0){b=y;break a}for(d=0;d<e.length;d++)if(b.indexOf(e[d])<0){b=y;break a}b=p}if(!b&&(a.Hw()||this.Rf.get("over"))){this.eh=a.eh;(b=n.FI())&&b.pulse(0.6,5)}this.Rf.set("over",a.Hw());this.Rf.set("intersectionDistance",
a.$D);this.Rf.set("dotVisible",!a.Nma())};a.prototype.Ek=function(a){if(this.te!=a){this.te&&this.g.remove(this.ma);if(this.te=a){this.ma=new k(this.te);this.ma.set("text",this.te);this.ma.set("matrix",q);this.ma.set("matrix",this.Sg);this.g.add(this.ma)}}};a.prototype.kf=function(a){this.g.EB().sort(function(a,b){return b.get("index")-a.get("index")}).forEach(function(b){b.zi(a)}.bind(this))};a.prototype.bf=function(a){this.de=d.wna(this.Sg,this.de);return new j(this,[this.de],this.HN(),a)};return a});
define("gc","require,hp,jq,jm,I,dq,iZ,N".split(","),function(a){var b=a("hp"),c=a("jq"),d=a("jm"),f=a("I"),g=a("dq"),k=a("iZ"),j=a("N"),a=b.extend(k,function(a){k.call(this,k.dx,a);this.g.D.bind(c.Ac,this.Qh,this,p);this.g.D.bind(c.sf,this.y0,this,p);this.g.D.bind(c.lb,this.Ob,this,p);this.g.D.bind(c.Gb,this.Tf,this,p);this.zn=this.di=this.rc=this.qc=m;this.de=this.k=q;this.pj=y;this.ma=""});a.prototype.clear=function(){this.g.D.unbind(c.Ac,this.Qh,this,p);this.g.D.unbind(c.sf,this.y0,this,p);this.g.D.unbind(c.lb,
this.Ob,this,p);this.g.D.unbind(c.Gb,this.Tf,this,p);this.pj&&(this.g.vw(j.xd),this.pj=y);this.Ek("")};a.prototype.update=function(a){this.k=a;this.ZR()};a.prototype.Qh=function(a){this.qc=a.x;this.rc=a.y;this.$R()};a.prototype.y0=function(){this.rc=this.qc=m;this.$R()};a.prototype.Ob=function(a){this.qc=this.di=a.x;this.rc=this.zn=a.y;this.kf(this.bf(c.qW))};a.prototype.Tf=function(a){this.qc=a.x;this.rc=a.y;this.kf(this.bf(c.rW));this.GO(this.di,this.zn,this.qc,this.rc)&&this.kf(this.bf(c.zh))};
a.prototype.ZR=function(){if(!this.Kk)this.Kk=setTimeout(function(){this.Kk=q;this.mi()}.bind(this),300)};a.prototype.$R=function(){if(this.Kk){clearTimeout(this.Kk);this.Kk=q}this.mi()};a.prototype.mi=function(){var a=this.bf(c.Ah);this.kf(a);this.Ek(a.pC());if(this.pj!=a.Hw()){this.pj&&this.g.vw(j.xd);(this.pj=a.Hw())&&this.g.OI(j.xd)}};a.prototype.Ek=function(a){if(this.ma!=a){this.ma=a;this.g.D.set("toolTip",this.ma)}};a.prototype.kf=function(a){this.g.EB().sort(function(a,b){return b.get("index")-
a.get("index")}).forEach(function(b){b.zi(a)}.bind(this))};a.prototype.bf=function(a){return new g(this,this.yE(),q,a)};a.prototype.yE=function(){if(this.qc!==m&&this.rc!==m&&this.k.ze){var a=f.$v(this.k.ze);if(a){this.de=d.K6(a,this.qc,this.rc,this.k.width,this.k.height,this.de);return[this.de]}}return[]};a.prototype.GO=function(a,b,c,d){a=c-a;b=d-b;return Math.sqrt(a*a+b*b)<=5};return a});
define("ej","require,hp,jq,jm,I,dq,iZ".split(","),function(a){var b=a("hp"),c=a("jq"),d=a("jm"),f=a("I"),g=a("dq"),k=a("iZ"),a=b.extend(k,function(a){k.call(this,k.ex,a);this.g.D.bind(c.lb,this.Ob,this,p);this.g.D.bind(c.Gb,this.Tf,this,p);this.zn=this.di=this.rc=this.qc=m;this.k=q;this.nba=Array(j.length);this.Eha=Array(h.length);this.ma="";this.mi=this.mi.bind(this)});a.prototype.clear=function(){this.g.D.unbind(c.lb,this.Ob,this,p);this.g.D.unbind(c.Gb,this.Tf,this,p);this.Ek("")};a.prototype.update=
function(a){this.k=a;this.ZR()};a.prototype.Ob=function(a){this.qc=this.di=a.x;this.rc=this.zn=a.y;this.kf(this.bf(c.qW))};a.prototype.Tf=function(a){this.qc=a.x;this.rc=a.y;this.kf(this.bf(c.rW));this.GO(this.di,this.zn,this.qc,this.rc)&&this.kf(this.bf(c.zh))};a.prototype.ZR=function(){if(!this.Kk)this.Kk=setTimeout(this.mi,300)};a.prototype.$R=function(){if(this.Kk){clearTimeout(this.Kk);this.Kk=q}this.mi()};a.prototype.mi=function(){this.Kk=q;var a=this.bf(c.Ah);this.kf(a);this.Ek(a.pC())};a.prototype.Ek=
function(a){if(this.ma!=a){this.ma=a;a=this.g.D;a.set("toolTip",this.ma);if(!a.get("toolTipDisabled")){var b=a.cb().ma;this.ma?b.Zqa(a,this.ma):b.hide()}}};a.prototype.kf=function(a){this.g.EB().sort(function(a,b){return b.get("index")-a.get("index")}).forEach(function(b){b.zi(a)}.bind(this))};a.prototype.bf=function(a){var b;b=a==c.Ah?this.yE(this.k.width*0.5,this.k.height*0.5,j,this.nba):this.yE(this.qc,this.rc,h,this.Eha);return new g(this,b,q,a)};a.prototype.yE=function(a,b,c,h){var g=this.k.ze&&
f.$v(this.k.ze);if(g){var j=this.k.width,k=this.k.height,u=Math.min(j,k)/100;c.forEach(function(c,f){h[f]=d.K6(g,a+c[0]*u,b+c[1]*u,j,k,h[f])});return h}return[]};a.prototype.GO=function(a,b,c,d){a=c-a;b=d-b;b=Math.sqrt(a*a+b*b);d=4*Math.round(1*Math.min(window.screen.width,window.screen.height)/100);return b<=d};var j=function(){for(var a=[],b=-5;b<=5;b++)for(var c=-5;c<=5;c++){var d=Math.sqrt(c*c+b*b);d<5&&a.push([c,b,d])}for(c=-30;c<-5;c++)a.push([c,0,Math.sqrt(c*c)]);for(c=6;c<=30;c++)a.push([c,
0,Math.sqrt(c*c)]);for(b=-15;b<-5;b++)a.push([0,b,Math.sqrt(b*b)]);for(b=6;b<=15;b++)a.push([0,b,Math.sqrt(b*b)]);a.sort(function(a,b){return a[2]-b[2]});return a.map(function(a){return[a[0],a[1]]})}(),h=function(){for(var a=[],b=0;b<5;b++)for(var c=-2+4*b/4,d=0;d<5;d++){var f=-2+4*d/4,h=Math.sqrt(f*f+c*c);h<=2&&a.push([f,c,h])}a.sort(function(a,b){return a[2]-b[2]});return a.map(function(a){return[a[0],a[1]]})}();return a});
define("eH","require,bR,ho,cP,gc,iZ,ej".split(","),function(a){var b=a("bR"),c=a("ho"),d=a("cP"),f=a("gc"),g=a("iZ"),k=a("ej");return{create:function(a,h){switch(a){case g.bD:return new b(h);case g.HK:return new c(h);case g.cx:return new d(h);case g.dx:return new f(h);case g.ex:return new k(h)}}}});
define("jH",["require","N"],function(a){function b(a){this.wb=a;this.lf=[]}var c=a("N");b.prototype.push=function(a){this.lf.push(a);this.G()};b.prototype.pop=function(a){for(var b=this.lf.length-1;0<=b;b--)if(this.lf[b]==a){this.lf.splice(b,1);this.G();break}};b.prototype.clear=function(){0<this.lf.length&&(this.wb.set("cursor",c.uc),this.lf=[])};b.prototype.G=function(){this.wb.set("cursor",0<=this.lf.indexOf(c.QC)?c.QC:0<=this.lf.indexOf(c.xd)?c.xd:0<this.lf.length?this.lf[this.lf.length-1]:c.uc)};
return b});
define("dg","require,hp,gS,jq,bL,d,N,t,cD,fp,jv,hx,cY,cF,ef,eH,iZ,jH,ig,gL,hb,bd,S".split(","),function(a){var b=a("hp"),c=a("gS"),d=a("jq"),f=a("bL"),g=a("d"),k=a("N"),j=a("t"),h=a("cD"),n=a("fp"),e=a("jv"),l=a("hx"),r=a("cY"),o=a("cF"),s=a("ef"),t=a("eH"),u=a("iZ"),v=a("jH"),x=a("ig"),w=a("gL"),z=a("hb"),C=a("bd"),B=a("S"),G=Math.PI/180,A=b.extend(g,function(a,b,f){g.call(this);this.xc("Renderer");this.set("toolTipDisabled",p);this.set("cursor",k.Tw);this.set("layout","absolute");this.ya=a;this.D=
b;this.$b=f;this.LM=new v(b);this.hh=q;this.k=new e;this.Va=new s(this.ya,this.D,this.$b,this);this.Va.bind(d.U,this.Ba,this,p);this.Al=new r;this.k.ze=this.Al.mv;this.k.mh=this.Al.$v();this.j0=(new Date).getTime();this.Pa().append(this.Al.fb());this.zv=new l(b,f);this.Pa().append(this.zv.fb());this.E4=new w;this.E4.bind(d.R,this.Vga,this,p);this.K0=new x;this.K0.bind(d.U,this.Dga,this,p);this.qE=new n(this.k.width,this.k.height,this.k.Uc*G);this.bind(d.ub,this.hb,this,p);this.bind(d.Ce,this.Xh,this,
p);this.bind(d.rf,this.Th,this,p);C.bind(d.U,this.dj,this,p);h.bind(d.U,this.qga,this,p);c.Zc(this.$b,["hotspotsEnabled","preloadEnabled"],function(){this.k.nw=this.$b.get("hotspotsEnabled");this.k.UB=this.$b.get("preloadEnabled");this.Ba()}.bind(this),p);c.Zc(this.$b,["surfaceSelectionEnabled"],this.gS.bind(this));this.gS();this.dj();c.Zc(this.ya,["defaultVRPointer"],this.BH.bind(this));this.BH()});A.prototype.create=function(a){return o.create(a)};A.prototype.add=function(a){this.Va.appendChild(a)};
A.prototype.remove=function(a){(a=this.Va.of(a))&&a.remove()};A.prototype.of=function(a){return this.Va.of(a)};A.prototype.EB=function(){return this.Va.all()};A.prototype.I8=function(a){this.k.HI=a};A.prototype.OI=function(a){this.LM.push(a)};A.prototype.vw=function(a){this.LM.pop(a)};A.prototype.TI=function(a){this.k.YH=a;this.Ba()};A.prototype.getPixelRatio=function(){return this.Al.getPixelRatio()};A.prototype.BH=function(){var a;a=this.k.Lb?h.FI()&&this.ya.get("defaultVRPointer")=="laser"?u.cx:
C.uI()==C.p$.gK?u.HK:u.bD:j.Na()?u.ex:u.dx;if(!(this.hh&&this.hh.pf()==a)){this.hh&&this.hh.clear();this.hh=t.create(a,this);this.gS();this.hh.update(this.k)}};A.prototype.gS=function(){this.k.nC=this.$b.get("surfaceSelectionEnabled")&&[u.dx,u.cx,u.ex].indexOf(this.hh&&this.hh.pf())>=0};A.prototype.ei=function(){this.LM.clear();g.prototype.ei.call(this)};A.prototype.hb=function(){var a=this.Aa(),c=this.bb();if(this.k.width!=a||this.k.height!=c)if(!a||!c)b.log("Invalid size values: "+a+" "+c);else{this.k.width=
a;this.k.height=c;this.qE.mC(this.k.width);this.qE.C8(this.k.height);this.Ba()}};A.prototype.Xh=function(){this.k.enabled=p;this.Ba()};A.prototype.Th=function(){this.k.enabled=y;this.Ba()};A.prototype.dj=function(){this.k.Lb=C.isPresenting();this.BH();this.Ba()};A.prototype.qga=function(){this.BH();this.Ba()};A.prototype.Vga=function(){this.Ba()};A.prototype.Dga=function(){this.Ba()};A.prototype.yt=function(a){if(this.k.vh!=a){this.k.vh=a;this.Ba()}};A.prototype.Ga=function(a,c,e,d){if(this.k.qa!=
a||this.k.pitch!=c||this.k.cd!=e||this.k.Uc!=d)if(isNaN(a)||isNaN(c)||isNaN(e)||!d)b.log("Invalid position values: "+a+" "+c+" "+e+" "+d);else{this.k.qa=a;this.k.pitch=c;this.k.cd=e;this.k.Uc=d;this.qE.cC(this.k.Uc*G);this.Ba()}};A.prototype.Rb=function(){return this.k.qa};A.prototype.Xb=function(){return this.k.pitch};A.prototype.Jd=function(){return this.k.cd};A.prototype.ve=function(){return this.k.Uc};A.prototype.bT=function(){return this.k.Lb?this.k.Te:z.om(this.k.Te,this.k.width,this.k.height)};
A.prototype.cT=function(){return this.k.Te};A.prototype.unproject=function(a){return this.qE.unproject(a)};A.prototype.Ba=function(){B.Ba(this.ff,this)};A.prototype.ff=function(){if(B.DT){var a=(new Date).getTime(),b=Math.max(1,Math.min(a-this.j0,33));this.j0=a;this.trigger(new f(A.aK,{frameTime:b}));if(this.k.enabled){this.k.kd=b;this.Al.update(this.k);this.k.XH=this.Al.lna();this.k.kB=this.Al.kna();this.k.Te=this.Al.ina();this.k.bU=this.Al.getPixelRatio();this.Va.update(this.k);this.E4.update(this.k);
this.K0.update(this.k);this.hh.update(this.k);this.Al.render()}}else this.Ba()};A.aK="render start";A.b9=R(p);return A});define("iq",["require","hp","cv"],function(a){var b=a("hp"),c=a("cv"),a=b.extend(c,function(a,b){c.call(this,a);this.P=b;this.P.bind(EventName.ba("video"),this.CP,this);this.CP()});a.prototype.clear=function(){this.P&&(this.P.unbind(EventName.ba("video"),this.CP,this),this.P=q);c.prototype.clear.call(this)};a.prototype.CP=function(){this.PU(this.P.get("video"))};return a});
define("bu","require,jquery.mod,hp,jq,bL,dZ,X,hO,ey,S,i,M,cN".split(","),function(a){var b=a("jquery.mod"),c=a("hp"),d=a("jq"),f=a("bL"),g=a("dZ"),k=a("X"),j=a("hO"),h=a("ey"),n=a("S"),e=a("i"),l=a("M"),r=a("cN"),a=c.extend(g,function(a,c){g.call(this);this.na=a;this.H=c;this.v=document.createElement("div");this.Lt=b(this.v);this.Zd=q;this.ya=r.create(this.na,this.H.fg(),this.H.Sna());this.ya.bind(l.qf,this.Pd,this,p);this.ya.bind(l.rm,this.qn,this,p);this.ya.bind(l.nd,this.hf,this,p);this.ya.bind(l.Hf,
this.dz,this,p);this.nA=new e(this.H.u,this.ya);this.Rg=q;this.pg=0;this.gL=p;this.Ra=this.Oa=100;this.Er=p});a.prototype.clear=function(){this.nA.clear();this.nA=q;this.ya.unbind(l.qf,this.Pd,this,p);this.ya.unbind(l.rm,this.qn,this,p);this.ya.unbind(l.nd,this.hf,this,p);this.ya.unbind(l.Hf,this.dz,this,p);this.ya.clear();this.Lt=this.v=this.Zd=this.ya=q};a.prototype.fb=P("Lt");a.prototype.getItem=P("H");a.prototype.Vc=function(a){if(this.pg!=a){this.pg=a;this.gL=p}};a.prototype.lm=function(a,b){if(this.Oa!=
a||this.Ra!=b){this.Oa=a;this.Ra=b;this.Er=p}};a.prototype.rq=function(){this.ya.hg(p)};a.prototype.Dt=function(){this.ya.hg(y)};a.prototype.play=function(){this.ya.Sd(h.Q)};a.prototype.pause=function(){this.ya.Sd(h.kc)};a.prototype.stop=function(){this.ya.Sd(h.J)};a.prototype.Ai=function(a){this.ya.Ai(a)};a.prototype.Nk=function(){return this.ya.Nk()};a.prototype.Dw=function(a){this.ya.Dw(a)};a.prototype.Wn=function(){return this.ya.Wn()};a.prototype.render=function(){if(this.Er){this.Er=y;var a=
this.H.jc(),b=this.H.Sc(),c,e;switch(this.H.Ic){case j.NONE:c=a;e=b;break;case j.Mj:c=this.Oa;e=b*this.Oa/a;break;case j.mg:e=this.Ra;c=a*this.Ra/b;break;case j.bl:if(a*this.Ra>b*this.Oa){e=this.Ra;c=a*this.Ra/b}else{c=this.Oa;e=b*this.Oa/a}break;default:if(a*this.Ra>b*this.Oa){c=this.Oa;e=b*this.Oa/a}else{e=this.Ra;c=a*this.Ra/b}}a=Math.round(c);switch(this.H.Pf){case k.ha:c=0;break;case k.Ea:c=this.Oa-c;break;default:c=Math.round((this.Oa-c)*0.5)}b=Math.round(e);switch(this.H.cg){case k.Ya:e=0;
break;case k.Xa:e=this.Ra-e;break;default:e=Math.round((this.Ra-e)*0.5)}this.yaa(c,e,a,b);this.EQ()}if(this.gL){this.gL=y;this.pr(this.pg)}};a.prototype.yaa=function(a,b,c,e){this.v.style.position="absolute";this.v.style.left=a+"px";this.v.style.top=b+"px";this.v.style.width=c+"px";this.v.style.height=e+"px"};a.prototype.pr=function(a){if(a==0)this.v.style.display="none";else if(a==1){this.v.style.display="block";this.v.style.filter="";this.v.style.opacity=""}else{this.v.style.display="block";this.v.style.filter=
"alpha(opacity="+Math.round(a*100)+")";this.v.style.opacity=a}};a.prototype.hf=function(){this.EA();this.EQ()};a.prototype.EQ=function(){n.Ba(this.cga,this)};a.prototype.cga=function(){this.EA();this.ya&&this.ya.si()==h.Q&&this.EQ()};a.prototype.dz=function(){this.EA();this.trigger(new f(d.ua))};a.prototype.Pd=function(){this.EA();this.trigger(new f(d.U))};a.prototype.qn=function(){this.EA();this.trigger(new f(d.U))};a.prototype.EA=function(){var a=q;if(this.ya){a=this.ya.mI();if(!this.Rg||!this.Rg.isEqual(a)){this.Rg=
a;a=this.Rg.Zd}else a=this.Zd}if(this.Zd!=a){var b=this.Zd;if(this.Zd=a){this.Zd.removeAttribute("style");this.Zd.style.position="absolute";this.Zd.style.left=0;this.Zd.style.top=0;this.Zd.style.width="100%";this.Zd.style.height="100%";this.v.appendChild(this.Zd)}b&&this.v===b.parentElement&&this.v.removeChild(b)}};return a});
define("hR","require,cL,jquery.mod,hp,jq,bL,N,d,cE,iq,bu".split(","),function(a){var b=a("cL"),c=a("jquery.mod"),d=a("hp"),f=a("jq"),g=a("bL"),k=a("N"),j=a("d"),h=a("cE"),n=a("iq"),e=a("bu"),a=d.extend(j,function(a,b,e){j.call(this);this.ya=a;this.D=b;this.P=e;this.xc("Renderer");this.set("toolTipDisabled",p);this.set("cursor",k.Tw);this.bind(f.ub,this.hb,this,p);this.bind(f.Ce,this.Xh,this,p);this.bind(f.rf,this.Th,this,p);this.Ms=y;this.h3=c("<div/>");this.zv=new n(b,e);this.$u=new h.kW;this.$u.CU(h.kW.hK);
this.TP=y;[this.h3,this.zv.fb(),this.$u.fb()].forEach(function(a,b){this.Pa().append(a);a.css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden","z-index":b})}.bind(this));this.Cg=y;this.qe=[];this.aS()});a.prototype.iB=function(a){a=new e(this.cb(),a);a.lm(this.Aa(),this.bb());a.bind(f.ua,this.EF,this,p);a.bind(f.U,this.I1,this,p);this.h3.append(a.fb());this.qe.push(a);this.Cg=p;this.aS()};a.prototype.removeItem=function(a){if(a=this.ak(a)){if(this.LL==a)this.LL=this.qY=q;this.qe=
b.without(this.qe,a);a.unbind(f.ua,this.EF,this);a.unbind(f.U,this.I1,this,p);a.fb().detach();a.clear();this.Cg=p;this.aS()}};a.prototype.c8=function(a){this.ak(a).pause()};a.prototype.d8=function(a){this.ak(a).play()};a.prototype.fra=function(a){this.ak(a).stop()};a.prototype.oT=function(a){return this.ak(a).Nk()};a.prototype.DU=function(a,b){this.ak(a).Dw(b)};a.prototype.Cna=function(a){return this.ak(a).Wn()};a.prototype.X7=function(a){this.ak(a).rq()};a.prototype.pra=function(a){this.ak(a).Dt()};
a.prototype.Fg=function(a,b){this.ak(a).Vc(b)};a.prototype.jB=function(a){if(a=this.ak(a)){this.qe=b.without(this.qe,a);this.qe.push(a);this.Cg=p}};a.prototype.Jqa=function(a,b){if(this.TP!=a){this.TP=a;this.$u.t8(b);this.$u.We(a)}};a.prototype.aS=function(){this.$u.We(this.TP&&this.qe.length>0)};a.prototype.render=function(){this.Bl&&this.fv()};a.prototype.fv=function(){if(this.Ms){this.Ms=y;for(var a=this.Aa(),b=this.bb(),c=0;c<this.qe.length;c++)this.qe[c].lm(a,b);this.$u.setSize(a,b)}if(this.Cg){this.Cg=
y;for(c=0;c<this.qe.length;c++)this.qe[c].fb().css("z-index",c+1)}for(c=0;c<this.qe.length;c++)this.qe[c].render()};a.prototype.ak=function(a){if(this.qY==a)return this.LL;for(var b=q,c=0;c<this.qe.length&&!b;c++)this.qe[c].getItem()==a&&(b=this.qe[c]);this.qY=a;return this.LL=b};a.prototype.hb=function(){this.Ms=p;this.render()};a.prototype.Xh=function(){this.Bl=p;this.render()};a.prototype.Th=function(){this.Bl=y};a.prototype.I1=function(a){this.jh(a.source.getItem())};a.prototype.EF=function(a){this.rH(a.source.getItem())};
a.prototype.rH=function(a){this.trigger(new g(f.ua,{item:a}))};a.prototype.jh=function(a){this.trigger(new g(f.U,{item:a}))};return a});
define("bg","require,cL,hp,jq,ey,bL,dl,il,ed,x,dg,hR,cK,bW,et,jc".split(","),function(a){var b=a("cL"),c=a("hp"),d=a("jq"),f=a("ey"),g=a("bL"),k=a("dl"),j=a("il"),h=a("ed"),n=a("x"),e=a("dg"),l=a("hR"),r=a("cK"),o=a("bW"),s=a("et"),t=a("jc"),u=c.extend(t,function(){t.call(this);this.set("childrenInteractionEnabled",p);this.set("contentOpaque",p);this.set("creationPolicy",o.Uw);this.set("vrPointerColor","#ffffff");this.set("vrPointerOverColor","#007acc");this.set("vrPointerSelectionColor","#ff6600");
this.set("vrPointerDistance",2);this.set("vrPointerSelectionTime",1200);this.set("surfaceReticleColor","#ffffff");this.set("surfaceReticleSelectionColor","#ffffff");this.set("surfaceReticleOpacity",0.6);this.set("surfaceReticleSelectionOpacity",1);this.set("displayTooltipInSurfaceSelection",p);this.set("doubleClickAction","toggle_fullscreen");this.set("subtitlesEnabled",p);this.ml=this.ac=this.iE=this.re=q;this.XP=this.wl=y;this.jf=f.J;this.Ch=this.ng=q;this.Lh=y;this.bind(u.pW,this.Kga,this,p);this.bind(u.oW,
this.Jga,this,p);this.bind(d.lb,this.J1,this);this.bind(d.lb,this.J1,this);this.bind(d.Cc,this.bha,this);this.bind(d.ec,this.aha,this);this.bind(d.Ce,this.NF,this,p);this.bind(d.rf,this.$ga,this,p);this.PS=new j(this,"buttonPause",r.Kg);this.PS.bind(d.W,this.Qu,this);this.PS.set("state",s.uc);this.RS=new j(this,"buttonPlay",r.Kg);this.RS.bind(d.W,this.Ru,this);this.RS.set("state",s.uc);this.QS=new j(this,"buttonPlayPause",r.Kg);this.QS.bind(d.W,this.Gga,this);this.QS.set("state",s.uc);this.SS=new j(this,
"buttonStop",r.Kg);this.SS.bind(d.W,this.rs,this);this.SS.set("state",s.sa);this.qma=new j(this,"buttonRestart",r.Bc);this.qma.bind(d.W,this.qs,this);this.VH=new j(this,"buttonToggleSubtitles",r.Kg);this.VH.bind(d.If,function(){this.set("subtitlesEnabled",p)},this,p);this.VH.bind(d.Jg,function(){this.set("subtitlesEnabled",y)},this,p);this.bind(d.ba("subtitlesEnabled"),function(){this.VH.set("pressed",this.get("subtitlesEnabled"))},this);this.VH.set("pressed",this.get("subtitlesEnabled"));this.mfa=
c.fo(this.Ola,this);this.bind(d.UC,this.Zga,this,p)});k.A("ViewerArea",u).C("UIComponent").O({buttonPause:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPlay:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPlayPause:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonStop:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonRestart:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonToggleSubtitles:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",
cardboardPointerColor:"color",cardboardPointerSelectionTime:"number",cardboardPointerSelectionColor:"color",cardboardPointerDistance:"number",externalPlaybackBar:"PlaybackBar",vrPointerColor:"color",vrPointerOverColor:"color",vrPointerSelectionTime:"number",vrPointerSelectionColor:"color",vrPointerDistance:"number",transitionMode:"enum[blending, fade_out_fade_in]",transitionDuration:"number",blendingTransitionDuration:"number",disolveTransitionDuration:"number",displayTooltipInSurfaceSelection:"bool",
displayTooltipInTouchScreens:"bool",doubleClickAction:"enum[toggle_fullscreen, none]",firstTransitionDuration:"number",translationTransitionDuration:"number",translationTransitionEnabled:"bool",progressBackgroundColor:"or[array[color], color]",progressBackgroundColorDirection:"enum[horizontal, vertical]",progressBackgroundColorRatios:"array[number]",progressBackgroundOpacity:"number",progressBarBackgroundColor:"or[array[color], color]",progressBarBackgroundColorDirection:"enum[horizontal, vertical]",
progressBarBackgroundColorRatios:"array[number]",progressBarBorderColor:"color",progressBarBorderRadius:"number",progressBarBorderSize:"number",progressBarOpacity:"number",progressBorderColor:"color",progressBorderRadius:"number",progressBorderSize:"number",progressBottom:"or[number, percent]",progressHeight:"or[number, percent]",progressLeft:"or[number, percent]",progressOpacity:"number",progressRight:"or[number, percent]",externalProgressBar:"ProgressBar",playbackBarBackgroundColor:"or[array[color], color]",
playbackBarBackgroundColorDirection:"enum[horizontal, vertical]",playbackBarBackgroundOpacity:"number",playbackBarBorderColor:"color",playbackBarBorderRadius:"number",playbackBarBorderSize:"number",playbackBarBottom:"or[number, percent]",playbackBarHeight:"or[number, percent]",playbackBarWidth:"or[number, percent]",playbackBarLeft:"or[number, percent]",playbackBarOpacity:"number",playbackBarRight:"or[number, percent]",playbackBarRollOverDisplay:"bool",playbackBarLiveDragging:"bool",playbackBarProgressBackgroundColor:"or[array[color], color]",
playbackBarProgressBackgroundColorDirection:"enum[horizontal, vertical]",playbackBarProgressBackgroundColorRatios:"array[number]",playbackBarProgressBorderColor:"color",playbackBarProgressBorderRadius:"number",playbackBarProgressBorderSize:"number",playbackBarProgressOpacity:"number",playbackBarHeadBackgroundColor:"or[array[color], color]",playbackBarHeadBackgroundColorDirection:"enum[horizontal, vertical]",playbackBarHeadBackgroundColorRatios:"array[number]",playbackBarHeadBorderColor:"color",playbackBarHeadBorderRadius:"number",
playbackBarHeadBorderSize:"number",playbackBarHeadOpacity:"number",playbackBarHeadWidth:"or[number, percent]",playbackBarHeadHeight:"or[number, percent]",playbackBarHeadShadow:"bool",playbackBarHeadShadowBlurRadius:"number",playbackBarHeadShadowColor:"color",playbackBarHeadShadowHorizontalLength:"number",playbackBarHeadShadowOpacity:"number",playbackBarHeadShadowSpread:"number",playbackBarHeadShadowVerticalLength:"number",playbackState:"enum[stopped, playing, paused]",subtitlesBackgroundColor:"color",
subtitlesBackgroundOpacity:"number",subtitlesBorderColor:"color",subtitlesBorderSize:"number",subtitlesBottom:"or[number, percent]",subtitlesEnabled:"bool",subtitlesFontFamily:"string",subtitlesFontColor:"color",subtitlesFontSize:"or[number, size]",subtitlesFontStyle:"enum[italic, normal]",subtitlesFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",subtitlesGap:"number",subtitlesHorizontalAlign:"enum[left, center, right]",subtitlesOpacity:"number",subtitlesPaddingTop:"number",
subtitlesPaddingBottom:"number",subtitlesPaddingLeft:"number",subtitlesPaddingRight:"number",subtitlesShadow:"bool",subtitlesShadowBlurRadius:"number",subtitlesShadowColor:"color",subtitlesShadowOpacity:"number",subtitlesShadowHorizontalLength:"number",subtitlesShadowVerticalLength:"number",subtitlesTextDecoration:"enum[underline, overline, line-through, none]",subtitlesTextShadowBlurRadius:"number",subtitlesTextShadowColor:"color",subtitlesTextShadowHorizontalLength:"number",subtitlesTextShadowOpacity:"number",
subtitlesTextShadowVerticalLength:"number",subtitlesTop:"or[number, percent]",subtitlesVerticalAlign:"enum[top, middle, bottom]",surfaceReticleColor:"color",surfaceReticleOpacity:"number",surfaceReticleSelectionColor:"color",surfaceReticleSelectionOpacity:"number"}).Gg({play:function(){this.Ru()},pause:function(){this.Qu()},stop:function(){this.rs()},restart:function(){this.qs()}});u.Za={progressBackgroundColor:m,progressBackgroundColorDirection:m,progressBackgroundColorRatios:m,progressBackgroundOpacity:m,
progressBarBackgroundColor:m,progressBarBackgroundColorDirection:m,progressBarBackgroundColorRatios:m,progressBarBorderColor:m,progressBarBorderRadius:m,progressBarBorderSize:m,progressBarOpacity:m,progressBorderColor:m,progressBorderRadius:m,progressBorderSize:m,progressBottom:0,progressHeight:20,progressLeft:0,progressOpacity:m,progressPercent:0,progressRight:0,progressVisible:y,externalPlaybackBar:m,externalProgressBar:m,playbackBarBackgroundColor:m,playbackBarBackgroundColorDirection:m,playbackBarBackgroundOpacity:m,
playbackBarBorderColor:m,playbackBarBorderRadius:m,playbackBarBorderSize:m,playbackBarBottom:10,playbackBarHeight:m,playbackBarWidth:m,playbackBarLeft:m,playbackBarOpacity:m,playbackBarRight:m,playbackBarLiveDragging:m,playbackBarDuration:100,playbackBarPosition:0,playbackBarRollOverDisplay:y,plabackBarSteps:m,plabackBarSelectedStep:m,playbackBarVisible:y,playbackBarProgressBackgroundColor:m,playbackBarProgressBackgroundColorDirection:m,playbackBarProgressBackgroundColorRatios:m,playbackBarProgressBorderColor:m,
playbackBarProgressBorderRadius:m,playbackBarProgressBorderSize:m,playbackBarProgressOpacity:m,playbackBarHeadBackgroundColor:m,playbackBarHeadBackgroundColorDirection:m,playbackBarHeadBackgroundColorRatios:m,playbackBarHeadBorderColor:m,playbackBarHeadBorderRadius:m,playbackBarHeadBorderSize:m,playbackBarHeadOpacity:m,playbackBarHeadWidth:m,playbackBarHeadHeight:m,playbackBarHeadShadow:m,playbackBarHeadShadowBlurRadius:m,playbackBarHeadShadowColor:m,playbackBarHeadShadowHorizontalLength:m,playbackBarHeadShadowOpacity:m,
playbackBarHeadShadowSpread:m,playbackBarHeadShadowVerticalLength:m,playbackBarStepBackgroundColor:m,playbackBarStepBackgroundColorDirection:m,playbackBarStepBackgroundColorRatios:m,playbackBarStepBorderColor:m,playbackBarStepBorderRadius:m,playbackBarStepBorderSize:m,playbackBarStepOpacity:m,playbackBarStepWidth:m,playbackBarStepHeight:m,playbackBarStepShadow:m,playbackBarStepShadowBlurRadius:m,playbackBarStepShadowColor:m,playbackBarStepShadowHorizontalLength:m,playbackBarStepShadowOpacity:m,playbackBarStepShadowSpread:m,
playbackBarStepShadowVerticalLength:m,playbackBarStepSelectedBackgroundColor:m,playbackBarStepSelectedBackgroundColorDirection:m,playbackBarStepSelectedBackgroundColorRatios:m,playbackBarStepSelectedBorderColor:m,playbackBarStepSelectedBorderRadius:m,playbackBarStepSelectedBorderSize:m,playbackBarStepSelectedOpacity:m,playbackBarStepSelectedWidth:m,playbackBarStepSelectedHeight:m,playbackBarStepSelectedShadow:m,playbackBarStepSelectedShadowBlurRadius:m,playbackBarStepSelectedShadowColor:m,playbackBarStepSelectedShadowHorizontalLength:m,
playbackBarStepSelectedShadowOpacity:m,playbackBarStepSelectedShadowSpread:m,playbackBarStepSelectedShadowVerticalLength:m,subtitlesBackgroundColor:"#000000",subtitlesBackgroundOpacity:1,subtitlesBorderColor:m,subtitlesBorderSize:0,subtitlesBottom:"10%",subtitlesFontFamily:m,subtitlesFontColor:"#ffffff",subtitlesFontSize:"12px",subtitlesFontStyle:m,subtitlesFontWeight:m,subtitlesGap:10,subtitlesHorizontalAlign:"center",subtitlesOpacity:1,subtitlesPaddingTop:5,subtitlesPaddingBottom:5,subtitlesPaddingLeft:5,
subtitlesPaddingRight:5,subtitlesShadow:y,subtitlesShadowBlurRadius:m,subtitlesShadowHorizontalLength:0,subtitlesShadowVerticalLength:0,subtitlesShadowColor:"#000000",subtitlesShadowOpacity:0,subtitlesTextDecoration:m,subtitlesTextShadowBlurRadius:m,subtitlesTextShadowColor:"#000000",subtitlesTextShadowHorizontalLength:0,subtitlesTextShadowOpacity:0,subtitlesTextShadowVerticalLength:0,subtitlesTop:m,subtitlesVerticalAlign:"bottom",transitionDuration:500,blendingTransitionDuration:m,disolveTransitionDuration:m,
translationTransitionDuration:m,translationTransitionEnabled:p,toolTipEnabled:p};b.defaults(u.Za,t.Za);u.prototype.set=function(a,b){if(a=="playbackState"){b=this.jf;if(this.get(a)!=b){this.XP=p;this.mfa()}}switch(a){case "toolTipEnabled":this.set("toolTipDisabled",b===y);break;case "cardboardPointerDistance":this.set("vrPointerDistance",b);break;case "cardboardPointerColor":this.set("vrPointerColor",b);break;case "cardboardPointerSelectionColor":this.set("vrPointerSelectionColor",b);break;case "cardboardPointerSelectionTime":this.set("vrPointerSelectionTime",
b);break;case "playbackBarVisible":case "playbackBarRollOverDisplay":this.KA()}t.prototype.set.call(this,a,b)};u.prototype.oa=function(){this.Ri(u.Za)};u.prototype.Ka=function(){t.prototype.Ka.call(this);if(this.re==q){this.re=new n;this.pa(this.re)}if(this.ac==q){this.ac=new h;this.ac.bind(d.U,this.UP,this,p);this.pa(this.ac);this.KA()}};u.prototype.Ana=P("ac");u.prototype.wh=function(){t.prototype.wh.call(this);var a=this.Qa(),c=b(a).find(function(a){return a instanceof e}),d=b(a).find(function(a){return a instanceof
l}),f=this.re&&this.wB(this.re)>=0?this.re:q,h=this.ac&&this.wB(this.ac)>=0?this.ac:q;b([{child:c,index:0},{child:d,index:c?1:0},{child:h,index:a.length-(f?2:1)},{child:f,index:a.length-1}]).each(function(a){var b=a.child,a=a.index;b&&this.wB(b)!=a&&this.wi(b,a)},this)};u.prototype.da=function(){if(this.n("externalProgressBar")){(this.iE=this.j("externalProgressBar"))?this.removeChild(this.re):this.pa(this.re);this.o("externalProgressBar");b(u.sX).each(function(a){this.Js(a)},this)}this.Ua(u.F$,u.hX,
[this.re],p,p);var a=[this.re];this.iE&&a.push(this.iE);this.Ua(u.sX,u.tX,a,p,p);if(this.n("externalPlaybackBar")){this.ml&&this.ml.unbind(d.U,this.UP,this,p);(this.ml=this.j("externalPlaybackBar"))?this.removeChild(this.ac):this.pa(this.ac);this.KA();this.ml&&this.ml.bind(d.U,this.UP,this,p);this.o("externalPlaybackBar");b(u.oX).each(function(a){this.Js(a)},this)}this.Ua(u.E$,u.gX,[this.ac],p,p);a=[this.ac];this.ml&&a.push(this.ml);this.Ua(u.oX,u.pX,a,p,p);t.prototype.da.call(this)};u.prototype.Ola=
function(){if(this.XP){this.XP=y;this.PS.set("state",this.jf==f.kc?s.sa:s.uc);this.RS.set("state",this.jf==f.Q||this.jf==f.kc?s.sa:s.uc);this.QS.set("state",this.jf==f.Q?s.sa:s.uc);this.SS.set("state",this.jf==f.J?s.sa:s.uc)}};u.prototype.jb=function(a){this.jf=a;this.set("playbackState",a)};u.prototype.NF=function(){u.Xh(this)};u.prototype.$ga=function(){u.Th(this)};u.prototype.Qu=function(){this.jf==f.kc?this.xg():this.tk()};u.prototype.Ru=function(){this.xg()};u.prototype.Gga=function(){this.jf==
f.Q?this.tk():this.xg()};u.prototype.rs=function(){this.mj()};u.prototype.qs=function(){this.mj();this.xg()};u.prototype.Zga=function(){if(!this.ng||!this.ng.e6())switch(this.get("doubleClickAction")){case "toggle_fullscreen":var a=this.cb().tg;a&&a.available()&&a.toggle()}};u.prototype.xg=function(){this.Ch&&this.Ch.play()};u.prototype.tk=function(){this.Ch&&this.Ch.pause()};u.prototype.mj=function(){this.Ch&&this.Ch.stop()};u.prototype.Kga=function(a){this.C3(a.data.player)};u.prototype.Jga=function(a){this.ng==
a.data.player&&this.C3(q)};u.prototype.J1=function(){u.Uk(this)};u.prototype.bha=function(){this.Lh=p;this.KA()};u.prototype.aha=function(){this.Lh=y;this.KA()};u.prototype.KA=function(){this.ac&&this.ac.set("visible",this.get("playbackBarVisible")&&(this.Lh||!this.get("playbackBarRollOverDisplay")||Device.fJ()))};u.prototype.C3=function(a){if(this.ng!=a){this.set("playbackBarVisible",y);this.ng&&this.ng.Uk(y);this.Ch&&this.Ch.unbind(d.ba("state"),this.bL,this);this.Iha=this.ng;(this.ng=a)&&this.ng.Uk(!!this.Eu);
(this.Ch=this.ng&&this.ng.hba?this.ng:q)&&this.Ch.bind(d.ba("state"),this.bL,this,p);this.bL()}};u.prototype.Uk=function(a){this.Eu=a;this.ng&&this.ng.Uk(!!this.Eu)};u.prototype.yra=function(){return!this.Iha};u.prototype.bL=function(){this.Ch?this.jb(this.Ch.get("state")):this.jb(f.J)};u.prototype.UP=function(){var a=(this.ml?this.ml:this.ac).get("position");this.trigger(new g(u.YJ,{position:a}))};u.hX={progressBackgroundColor:"backgroundColor",progressBackgroundColorDirection:"backgroundColorDirection",
progressBackgroundColorRatios:"backgroundColorRatios",progressBackgroundOpacity:"backgroundOpacity",progressBarBackgroundColor:"barBackgroundColor",progressBarBackgroundColorDirection:"barBackgroundColorDirection",progressBarBackgroundColorRatios:"barBackgroundColorRatios",progressBarBorderColor:"barBorderColor",progressBarBorderRadius:"barBorderRadius",progressBarBorderSize:"barBorderSize",progressBarOpacity:"barOpacity",progressBorderColor:"borderColor",progressBorderRadius:"borderRadius",progressBorderSize:"borderSize",
progressHeight:"height",progressOpacity:"opacity",progressBottom:"bottom",progressLeft:"left",progressRight:"right"};u.F$=b(u.hX).keys();u.tX={progressPercent:"percent",progressVisible:"visible"};u.sX=b(u.tX).keys();u.gX={playbackBarBackgroundColor:"backgroundColor",playbackBarBackgroundColorDirection:"backgroundColorDirection",playbackBarBackgroundOpacity:"backgroundOpacity",playbackBarBorderColor:"borderColor",playbackBarBorderRadius:"borderRadius",playbackBarBorderSize:"borderSize",playbackBarBottom:"bottom",
playbackBarHeight:"height",playbackBarWidth:"width",playbackBarLeft:"left",playbackBarOpacity:"opacity",playbackBarRight:"right",playbackBarLiveDragging:"liveDragging",playbackBarProgressBackgroundColor:"barBackgroundColor",playbackBarProgressBackgroundColorDirection:"barBackgroundColorDirection",playbackBarProgressBackgroundColorRatios:"barBackgroundColorRatios",playbackBarProgressBorderColor:"barBorderColor",playbackBarProgressBorderRadius:"barBorderRadius",playbackBarProgressBorderSize:"barBorderSize",
playbackBarProgressOpacity:"barOpacity",playbackBarHeadBackgroundColor:"playheadBackgroundColor",playbackBarHeadBackgroundColorDirection:"playheadBackgroundColorDirection",playbackBarHeadBackgroundColorRatios:"playheadBackgroundColorRatios",playbackBarHeadBorderColor:"playheadBorderColor",playbackBarHeadBorderRadius:"playheadBorderRadius",playbackBarHeadBorderSize:"playheadBorderSize",playbackBarHeadOpacity:"playheadOpacity",playbackBarHeadWidth:"playheadWidth",playbackBarHeadHeight:"playheadHeight",
playbackBarHeadShadow:"playheadShadow",playbackBarHeadShadowBlurRadius:"playheadShadowBlurRadius",playbackBarHeadShadowColor:"playheadShadowColor",playbackBarHeadShadowHorizontalLength:"playheadShadowHorizontalLength",playbackBarHeadShadowOpacity:"playheadShadowOpacity",playbackBarHeadShadowSpread:"playheadShadowSpread",playbackBarHeadShadowVerticalLength:"playheadShadowVerticalLength",playbackBarStepBackgroundColor:"stepBackgroundColor",playbackBarStepBackgroundColorDirection:"stepBackgroundColorDirection",
playbackBarStepBackgroundColorRatios:"stepBackgroundColorRatios",playbackBarStepBorderColor:"stepBorderColor",playbackBarStepBorderRadius:"stepBorderRadius",playbackBarStepBorderSize:"stepBorderSize",playbackBarStepOpacity:"stepOpacity",playbackBarStepWidth:"stepWidth",playbackBarStepHeight:"stepHeight",playbackBarStepShadow:"stepShadow",playbackBarStepShadowBlurRadius:"stepShadowBlurRadius",playbackBarStepShadowColor:"stepShadowColor",playbackBarStepShadowHorizontalLength:"stepShadowHorizontalLength",
playbackBarStepShadowOpacity:"stepShadowOpacity",playbackBarStepShadowSpread:"stepShadowSpread",playbackBarStepShadowVerticalLength:"stepShadowVerticalLength",playbackBarSelectedStepBackgroundColor:"selectedStepBackgroundColor",playbackBarSelectedStepBackgroundColorDirection:"selectedStepBackgroundColorDirection",playbackBarSelectedStepBackgroundColorRatios:"selectedStepBackgroundColorRatios",playbackBarSelectedStepBorderColor:"selectedStepBorderColor",playbackBarSelectedStepBorderRadius:"selectedStepBorderRadius",
playbackBarSelectedStepBorderSize:"selectedStepBorderSize",playbackBarSelectedStepOpacity:"selectedStepOpacity",playbackBarSelectedStepWidth:"selectedStepWidth",playbackBarSelectedStepHeight:"selectedStepHeight",playbackBarSelectedStepShadow:"selectedStepShadow",playbackBarSelectedStepShadowBlurRadius:"selectedStepShadowBlurRadius",playbackBarSelectedStepShadowColor:"selectedStepShadowColor",playbackBarSelectedStepShadowHorizontalLength:"selectedStepShadowHorizontalLength",playbackBarSelectedStepShadowOpacity:"selectedStepShadowOpacity",
playbackBarSelectedStepShadowSpread:"selectedStepShadowSpread",playbackBarSelectedStepShadowVerticalLength:"selectedStepShadowVerticalLength"};u.E$=b(u.gX).keys();u.pX={playbackBarDuration:"duration",playbackBarPosition:"position",playbackBarSteps:"steps",playbackBarSelectedStep:"selectedStep",playbackBarVisible:"visible"};u.oX=b(u.pX).keys();u.wK="requestByPlayer";u.pW="playerShow";u.oW="playerHide";u.YJ="playbackBarPositionChange";u.cs=q;u.Uk=function(a){if(u.cs!=a){u.cs&&u.cs.Uk(y);u.cs=a;u.cs&&
u.cs.Uk(p)}};u.bq=[];u.Xh=function(a){var b=u.bq.indexOf(a);b<0&&u.bq.splice(b,1);u.bq.push(a);this.Uk(a)};u.Th=function(a){var b=u.bq.indexOf(a);b<0&&u.bq.splice(b,1);u.cs==a&&u.Uk(u.bq.length?u.bq[u.bq.length-1]:q)};return u});
define("ce","hp,hH,jq,bL,dl,bg".split(","),function(a,b,c,d,f,g){var k=a.extend(b,function(a){b.call(this);this.hba=a;this.aA=this.pp=q});k.Xe="mediaShow";k.Ig="mediaHide";k.prototype.Uk=D();k.prototype.e6=R(y);k.prototype.VG=function(a){if(this.pp!=a){this.pp&&this.MR(this.pp);(this.pp=a)&&this.DL(this.pp)}};k.prototype.DL=function(a){a.bind(g.wK,this.K5,this);a.bind(g.YJ,this.jG,this)};k.prototype.MR=function(a){a.unbind(g.wK,this.K5,this);a.unbind(g.YJ,this.jG,this)};k.prototype.xG=function(){this.pp.trigger(new d(g.wK,
{player:this}))};k.prototype.K5=function(a){a.data.player!=this&&this.lA()};k.prototype.jG=D();k.prototype.lA=D();k.prototype.lF=function(a){this.trigger(new d(k.Xe,{media:a}));this.aA=this.pp;this.aA.trigger(new d(g.pW,{player:this}))};k.prototype.kF=function(a){this.trigger(new d(k.Ig,{media:a}));if(this.aA){this.aA.trigger(new d(g.oW,{player:this}));this.aA=q}};return k});
define("fC","hp,hH,jq,bL,dl,il,ce,bg,ey,cK,et".split(","),function(a,b,c,d,f,g,k,j,h,n,e){var l=a.extend(k,function(){k.call(this,p);this.wl=y;this.rR=p;this.k=h.J;this.GL=new g(this,"buttonPlayPause",n.Kg);this.GL.bind(c.If,this.Hga,this,p);this.GL.bind(c.Jg,this.Iga,this,p);this.jY=new g(this,"buttonPause",n.Bc);this.jY.bind(c.W,this.Qu,this,p);this.kY=new g(this,"buttonPlay",n.Bc);this.kY.bind(c.W,this.Ru,this,p);this.nY=new g(this,"buttonStop",n.Bc);this.nY.bind(c.W,this.rs,this,p);this.$aa=new g(this,
"buttonRestart",n.Bc);this.$aa.bind(c.W,this.qs,this,p);this.X_=a.fo(this.Ala,this);this.X_()});l.prototype.set=function(a,b){a!="state"&&k.prototype.set.call(this,a,b)};l.prototype.get=function(a,b){switch(a){case "state":return this.k}return k.prototype.get.call(this,a,b)};l.prototype.Ala=function(){if(this.rR){this.rR=y;this.jY.set("state",this.k==h.kc?e.sa:e.uc);this.kY.set("state",this.k==h.Q||this.k==h.kc?e.sa:e.uc);this.GL.set("pressed",this.k==h.Q);this.nY.set("state",this.k==h.J?e.sa:e.uc)}};
l.prototype.rv=function(a){if(this.wl!=a)(this.wl=a)||this.jb(h.J)};l.prototype.jb=function(a){var b=this.k;this.k=a;k.prototype.set.call(this,"state",a);if(b!=this.k){this.rR=p;this.X_();this.trigger(new d(l.nd,{oldState:b,state:this.k}))}};l.prototype.Qu=function(){this.wl&&(this.k==h.kc?this.xg():this.tk())};l.prototype.Ru=function(){this.wl&&this.xg()};l.prototype.Hga=function(){this.wl&&this.xg()};l.prototype.Iga=function(){this.wl&&this.tk()};l.prototype.rs=function(){this.wl&&this.mj()};l.prototype.qs=
function(){if(this.wl){this.mj();this.xg()}};l.prototype.xg=D();l.prototype.tk=D();l.prototype.mj=D();l.nd="stateChange";return l});define("gx",[],function(){return{Nq:"constrained",G9:"free_drag",Mra:"free_drag_and_rotation",DK:"sync_with_field_of_view"}});
define("gT",["hp","gx","hO"],function(a,b,c){function d(){this.Y=p;this.$=this.Z=0.5;this.pb=0;this.ka=1;this.Ic=c.ie;this.Rh=b.Nq;this.aP=this.dP=1;this.oc=this.pc=this.Eh=this.Fh=100;this.fi=d.hr}d.prototype.i7=function(){return this.fi!==d.hr};d.prototype.h7=function(){return this.fi&d.Mt?p:y};d.prototype.j7=function(){return this.fi&d.Nt?p:y};d.prototype.k7=function(){return this.fi&d.kr?p:y};d.prototype.g7=function(){return this.fi&d.gr?p:y};d.prototype.getX=function(){this.ni();return this.Z};
d.prototype.getY=function(){this.ni();return this.$};d.prototype.Qk=function(){this.ni();return this.ka};d.prototype.Yv=function(){this.ni();return this.pb};d.prototype.ZB=function(a,b,c,d,h){this.pc=a;this.oc=b;this.Ic=c;this.dP=d;this.aP=h;this.$=this.Z=0.5;this.pb=0;this.ka=d;this.Y=p};d.prototype.Ga=function(a,b,c,d){this.Z=a;this.$=b;this.pb=c;this.ka=d;this.Y=p};d.prototype.Vk=function(a){this.Rh=a;this.Y=p};d.prototype.setSize=function(a,b){this.Fh=a;this.Eh=b;this.Y=p};d.prototype.ni=function(){if(this.Y){this.Y=
y;var a=d.hr;this.ka>this.aP?(this.ka=this.aP,a|=d.G$):this.ka<this.dP&&(this.ka=this.dP,a|=d.H$);var g,k,j,h;if(this.Rh==b.Nq){switch(this.Ic){case c.NONE:k=this.pc;h=this.oc;break;case c.Mj:k=this.Fh;h=this.oc*this.Fh/this.pc;break;case c.mg:k=this.pc*this.Eh/this.oc;h=this.Eh;break;case c.bl:this.pc*this.Eh>this.oc*this.Fh?(k=this.pc*this.Eh/this.oc,h=this.Eh):(k=this.Fh,h=this.oc*this.Fh/this.pc);break;default:case c.ie:this.pc*this.Eh>this.oc*this.Fh?(k=this.Fh,h=this.oc*this.Fh/this.pc):(k=
this.pc*this.Eh/this.oc,h=this.Eh)}k*=this.ka;h*=this.ka;g=Math.min(0.5*this.Fh/k,0.5);k=Math.max(1-0.5*this.Fh/k,0.5);j=Math.min(0.5*this.Eh/h,0.5);h=Math.max(1-0.5*this.Eh/h,0.5)}else g=0,k=1,j=0,h=1;this.Z<g?(this.Z=g,a|=d.Mt):this.Z>k&&(this.Z=k,a|=d.Nt);this.$<j?(this.$=j,a|=d.kr):this.$>h&&(this.$=h,a|=d.gr);if((this.Rh==b.Nq||this.Rh==b.G9)&&0!=this.pb)this.pb=0,a|=d.L$;this.fi=a}};d.hr=0;d.Mt=1;d.Nt=2;d.kr=4;d.gr=8;d.H$=16;d.G$=32;d.L$=64;return d});
define("ec",[],function(){function a(){this.Xx=0.1;this.XD=this.AM=this.DM=this.CM=this.KM=this.zM=this.IM=this.HM=this.gB=this.MS=this.mr=this.iL=this.eB=this.JS=this.cB=this.HS=0}a.prototype.UI=N("Xx");a.prototype.K8=function(a,c,d,f,g,k,j,h){this.HS=a;this.JS=c;this.iL=d;this.MS=f;this.cB+=g;this.eB+=k;this.mr+=j;this.gB+=h};a.prototype.bd=function(){return 0!=this.HM||0!=this.IM||0!=this.zM||0!=this.KM||0!=this.HS||0!=this.JS||0!=this.iL||0!=this.MS||0!=this.cB||0!=this.eB||0!=this.mr||0!=this.gB};
a.prototype.eb=function(a){a=1E3/a;this.CM=this.fE(this.HM/a,this.HS/a+this.cB,this.Xx);this.DM=this.fE(this.IM/a,this.JS/a+this.eB,this.Xx);this.AM=this.fE(this.zM/a,this.iL/a+this.mr,this.Xx);this.XD=this.fE(this.KM/a,this.MS/a+this.gB,this.Xx);this.HM=this.CM*a;this.IM=this.DM*a;this.zM=this.AM*a;this.KM=this.XD*a;this.gB=this.mr=this.eB=this.cB=0};a.prototype.fE=function(a,c,d){return 0==c?this.le(a,c,d):c};a.prototype.le=function(a,c,d){a=(c-a)*(1-d);0.01>Math.abs(a)&&(a=0);return c-a};return a});
define("eg",["hp","jq","bL","dZ","hO"],function(a,b,c,d){var f=a.extend(d,function(){d.call(this);this.mu=7;this.sF=this.CO=y;this.uF=m;this.pb=0;this.ka=1;this.oc=this.pc=100;this.VE=1;this.cQ=p;this.dQ=y;this.bma=p;this.LS=y;this.Ca=q});f.prototype.$B=N("mu");f.prototype.Sd=function(a,b,c,d){this.pb=a;this.ka=b;this.pc=c;this.oc=d};f.prototype.Nqa=function(a){this.cQ=a;this.RG(this.cQ&&!!this.Ca)};f.prototype.YB=function(a){this.Ca!=a&&(this.RG(y),this.cR(y),this.Ul(),this.Ca=a,this.RG(this.cQ&&
!!this.Ca),this.cR(this.bma&&!!this.Ca))};f.prototype.Ul=function(){this.RG(y);this.cR(y);this.Ca=q};f.prototype.RG=function(a){this.dQ!=a&&((this.dQ=a)?this.Laa():this.$ka())};f.prototype.cR=function(a){this.LS!=a&&((this.LS=a)?this.Maa():this.ala())};f.prototype.Laa=function(){this.Ca.bind(b.lb,this.Ob,this,p);this.Ca.bind(b.Ac,this.Qh,this,p);this.Ca.bind(b.Gb,this.Tf,this,p)};f.prototype.$ka=function(){this.Ca.unbind(b.lb,this.Ob,this);this.Ca.unbind(b.Ac,this.Qh,this);this.Ca.unbind(b.Gb,this.Tf,
this)};f.prototype.Maa=function(){this.Ca.bind(b.vo,this.hs,this,p);this.Ca.bind(b.Ht,this.Sr,this,p)};f.prototype.ala=function(){this.Ca.unbind(b.vo,this.hs,this);this.Ca.unbind(b.Ht,this.Sr,this)};f.prototype.Ob=function(a){this.aka(a)};f.prototype.Qh=function(a){this.o5(a)};f.prototype.Tf=function(){this.mN()};f.prototype.hs=function(a){this.mS(a)};f.prototype.Sr=function(a){this.nS(a)};f.prototype.aka=function(a){this.CO=p;this.sF=y;this.uF=a;this.o5(a)};f.prototype.o5=function(a){if(this.CO){var b=
a.pageX-this.uF.pageX,d=a.pageY-this.uF.pageY;this.sF||(Math.sqrt(b*b+d*d)>this.mu?this.sF=p:b=d=0);this.sF&&(this.uF=a);a=this.pb*Math.PI/180;this.trigger(new c(f.Ij,{xDelta:-((b*Math.cos(a)+d*Math.sin(a))/this.pc),yDelta:-((d*Math.cos(a)-b*Math.sin(a))/this.oc)}))}};f.prototype.mN=function(){this.CO=y};f.prototype.nS=function(a){if(this.VE!=a.scale){this.mN();var b=this.VE;this.VE=a.scale;this.trigger(new c(f.Lj,{zoomDelta:this.ka*this.VE/b-this.ka}))}};f.prototype.mS=function(a){0!=a.Sn&&(this.mN(),
this.trigger(new c(f.Lj,{zoomDelta:0.1*this.ka*a.XS})))};f.Ij="position change";f.Lj="zoom change";f.dsa="vieport navigation";f.csa="relative navigation";f.bsa="relative exponential navigation";f.asa="dragging";return f});define("gm",[],function(){return{xK:"rotateClockwise",yK:"rotateCounterClockwise",xm:"zoomIn",ym:"zoomOut",yd:"stop"}});
define("iJ","hp,bL,dZ,hO,ec,eg,gm,jq".split(","),function(a,b,c,d,f,g,k){var j=a.extend(c,function(a,b){c.call(this);this.g=a;this.I=b;this.ol=this.rG=this.V=y;this.$=this.Z=0.5;this.pb=0;this.ka=1;this.oc=this.pc=100;this.Ic=d.Nq;this.nb=new f;this.Ha=new g;if(this.g.Wi){this.Ha.$B(j.VK);this.nb.UI(j.WK)}else{this.Ha.$B(0);this.nb.UI(1)}this.Ha.bind(g.Ij,this.zga,this,p);this.Ha.bind(g.Lj,this.vp,this,p)});j.prototype.clear=function(){this.Ha.unbind(g.Ij,this.uta,this,p);this.Ha.unbind(g.Lj,this.vp,
this,p);this.Ha.Ul();this.g=this.I=this.nb=this.Ha=q};j.prototype.gg=function(a){switch(a){case k.xK:this.sb(0,0,+j.QK,0,0,0,0,0);break;case k.yK:this.sb(0,0,-j.QK,0,0,0,0,0);break;case k.xm:this.sb(0,0,0,+j.hx,0,0,0,0);break;case k.ym:this.sb(0,0,0,-j.hx,0,0,0,0);break;case k.yd:this.sb(0,0,0,0,0,0,0,0)}};j.prototype.Ga=function(a,b,c,d,f,g){this.Z=a;this.$=b;this.pb=c;this.ka=d;this.pc=f;this.oc=g;this.Ha.Sd(this.pb,this.ka,this.pc,this.oc)};j.prototype.bd=function(){return this.V&&this.nb.bd()};
j.prototype.eb=function(a){this.nb.eb(a);this.I.Ga(this.Z+this.nb.CM,this.$+this.nb.DM,this.pb+this.nb.AM,this.ka+this.nb.XD);this.Z=this.I.getX();this.$=this.I.getY();this.pb=this.I.Yv();this.ka=this.I.Qk()};j.prototype.dC=function(a){this.ol=a;this.Ha.Nqa(!this.ol)};j.prototype.wd=function(a){(this.V=a)?this.Ha.YB(this.g.getParent()):this.Ha.Ul()};j.prototype.zga=function(a){this.sb(0,0,0,0,a.data.xDelta,a.data.yDelta,0,0)};j.prototype.vp=function(a){this.sb(0,0,0,0,0,0,0,a.data.zoomDelta)};j.prototype.sb=
function(a,b,c,d,f,g,j,k){this.nb.K8(a,b,c,d,f,g,j,k);this.bg()};j.prototype.bg=function(){this.trigger(new b(j.kg))};j.kg="position change request";j.VK=7;j.WK=0.2;j.hx=0.5;j.QK=30;return j});
define("ij","hp,bL,dZ,jf,bk,ec,eg,gm,jq".split(","),function(a,b,c,d,f,g,k,j){var h=a.extend(c,function(a,b){c.call(this);this.g=a;this.I=b;this.V=y;this.$=this.Z=0.5;this.pb=0;this.ka=1;this.oc=this.pc=100;this.L=q;this.hN=p;this.ob=q;this.VF=0;this.Il=this.Ln=this.Kn=m;this.nb=new g;this.Ha=new k;if(this.g.Wi){this.Ha.$B(h.VK);this.nb.UI(h.WK)}else{this.Ha.$B(0);this.nb.UI(1)}this.Ha.bind(k.Lj,this.vp,this,p)});h.prototype.yqa=function(a,b){this.pc=a;this.oc=b;this.GH()};h.prototype.lo=function(a){if(this.ob!=
a){this.ob=a;this.VF=m;this.GH()}};h.prototype.Aj=function(a,b){if(this.ob==a){this.VF=b;this.GH()}};h.prototype.GH=function(){var a,b,c;if(this.ob&&this.VF!=m){a=this.ob.get("x",0)/this.pc;b=this.ob.get("y",0)/this.oc;c=-(this.VF+this.ob.get("angle",0))}else c=b=a=m;if(this.Il!=c){this.Il=c;this.bg()}if(this.Kn!=a||this.Ln!=b){this.Kn=a;this.Ln=b;this.lfa();this.bg()}};h.prototype.lfa=function(){this.hN=p;this.bg()};h.prototype.FA=function(){if(this.hN||this.L&&this.L.ge()){this.hN=y;this.L=q;if(this.Kn!=
m&&this.Ln!=m&&this.Il!=m){for(var a=this.Il-this.pb;a>180;)a=a-360;for(;a<-180;)a=a+360;if(this.Z!=this.Kn||this.$!=this.Ln)this.L=new d("quad_in_out",[new f("x",this.Z,this.Kn,1),new f("y",this.$,this.Ln,1),new f("angleDif",a,a,360)],500);else if(this.Il!=this.pb)this.L=new d("quad_in_out",[new f("x",this.Z,this.Z,1),new f("y",this.$,this.$,1),new f("angleDif",a,0,360)],500)}}};h.prototype.clear=function(){this.Ha.unbind(k.Lj,this.vp,this,p);this.Ha.Ul();this.g=this.I=this.L=this.nb=this.Ha=q};
h.prototype.gg=function(a){switch(a){case j.xm:this.sb(+h.hx,0);break;case j.ym:this.sb(-h.hx,0);break;case j.yd:this.sb(0,0)}};h.prototype.Ga=function(a,b,c,d,f,h){this.Z=a;this.$=b;this.pb=c;this.ka=d;this.Ha.Sd(this.pb,this.ka,f,h)};h.prototype.bd=function(){return this.V&&(this.L||this.nb.bd()||this.Kn!=m&&this.Z!=this.Kn||this.Ln!=m&&this.$!=this.Ln||this.Il!=m&&this.pb!=this.Il)?p:y};h.prototype.eb=function(a){this.FA();if(this.L){this.L.eb(a);this.Z=this.L.kb("x");this.$=this.L.kb("y");this.pb=
this.Il-this.L.kb("angleDif")}else{if(this.Kn!=m)this.Z=this.Kn;if(this.Ln!=m)this.$=this.Ln;if(this.Il!=m)this.pb=this.Il}this.nb.eb(a);this.I.Ga(this.Z,this.$,this.pb,this.ka+this.nb.XD);this.Z=this.I.getX();this.$=this.I.getY();this.pb=this.I.Yv();this.ka=this.I.Qk()};h.prototype.wd=function(a){if(this.V=a){this.Ha.YB(this.g.getParent());this.GH()}else this.Ha.Ul()};h.prototype.vp=function(a){this.sb(0,a.data.zoomDelta)};h.prototype.sb=function(a,b){this.nb.K8(0,0,0,a,0,0,0,b);this.bg()};h.prototype.bg=
function(){this.trigger(new b(h.kg))};h.kg="position change request";h.VK=7;h.WK=0.2;h.hx=0.5;h.QK=30;return h});
define("iX","hp,bL,dZ,gx,hO,gT,iJ,ij,jq".split(","),function(a,b,c,d,f,g,k,j,h){var n=a.extend(c,function(a){c.call(this);this.g=a;this.g.bind(h.ub,this.hb,this);this.Rh=d.Nq;this.ob=q;this.$=this.Z=0.5;this.pb=0;this.ka=1;this.la=q;this.GG=this.FG=this.Rl=this.Ql=y;this.ii=p;this.V=y;this.I=new g;this.I.Vk(this.Rh);this.Ma=new k(this.g,this.I);this.Ma.bind(k.kg,this.wn,this,p);this.mf=new j(this.g,this.I);this.mf.bind(j.kg,this.wn,this,p);this.tG()});n.prototype.clear=function(){this.Ma.unbind(k.kg,
this.wn,this);this.Ma.clear();this.Ma=q;this.mf.unbind(j.kg,this.wn,this);this.mf.clear();this.la=this.I=this.mf=q;this.g.unbind(h.ub,this.hb,this);this.g=q};n.prototype.stop=function(){this.Ub=this.la=q;this.V=y;this.Ma.wd(y);this.mf.wd(y);this.Hn(0,0,0,0)};n.prototype.start=function(a){var b=a.la,c=b.get("width",100),d=b.get("height",100),h=b.get("scaleMode",f.ie),g=b.get("minimumZoomFactor",1),j=b.get("maximumZoomFactor",1),k=b.get("initialZoomFactor",1);this.la=b;this.V=p;this.Ub=a.getItem();
this.Hn(0,0,0,0);this.mf.yqa(c,d);this.I.ZB(c,d,h,g,j);this.I.Ga(0.5,0.5,0,k);this.g.eC(this.Ub,this.I.getX(),this.I.getY(),this.I.Yv(),this.I.Qk());this.tG()};n.prototype.gg=function(a){this.Ma.gg(a);this.mf.gg(a)};n.prototype.Vk=function(a){if(this.Rh!=a){this.Rh=a;this.I.Vk(a);this.tG()}};n.prototype.lo=function(a){if(this.ob!=a){this.ob=a;this.mf.lo(a);this.tG()}};n.prototype.dC=function(a){this.Ma&&this.Ma.dC(a)};n.prototype.Aj=function(a,b,c,d){this.mf.Aj(a,b,c,d)};n.prototype.ho=function(a){if(this.V)if(this.mf.bd()){this.mf.eb(a);
this.gi(this.mf.Z,this.mf.$,this.mf.pb,this.mf.ka);this.ea()}else if(this.Ma.bd()){this.Ma.eb(a);this.gi(this.Ma.Z,this.Ma.$,this.Ma.pb,this.Ma.ka);this.ea()}else this.Hn(0,0,0,0)};n.prototype.ic=function(){if(this.Ub){var a=this.g.CB(this.Ub),b=this.g.DB(this.Ub),c=this.g.pI(this.Ub),d=this.g.F6(this.Ub),f=this.g.BB(this.Ub),h=this.g.AB(this.Ub),g=a-this.Z,j=b-this.$,k=c-this.pb,n=d-this.ka;this.Z=a;this.$=b;this.pb=c;this.ka=d;this.Hn(g,j,k,n);this.mf.Ga(a,b,c,d,f,h);this.Ma.Ga(a,b,c,d,f,h)}};n.prototype.tG=
function(){if(this.Rh==d.DK&&this.ob!=q&&this.ob.get("map")==this.la){this.Ma.wd(y);this.mf.wd(p)}else{this.Ma.wd(p);this.mf.wd(y)}};n.prototype.wn=function(){this.ea()};n.prototype.hb=function(){this.I.setSize(this.g.Aa(),this.g.bb());this.ea()};n.prototype.ea=function(){this.trigger(new b(n.ra))};n.prototype.gi=function(a,b,c,d){this.g.eC(this.Ub,a,b,c,d)};n.prototype.Hn=function(a,c,d,f){a=y;if(this.Rl!=f<0){this.Rl=!this.Rl;a=p}if(this.Ql!=f>0){this.Ql=!this.Ql;a=p}if(this.FG!=this.mr>0){this.FG=
!this.FG;a=p}if(this.GG!=this.mr<0){this.GG=!this.GG;a=p}if(this.ii!=(f==0)){this.ii=!this.ii;a=p}a&&this.trigger(new b(n.jg,{rotatingClockwise:this.FG,rotatingCounterClockwise:this.GG,zoomingIn:this.Ql,zoomingOut:this.Rl,stopped:this.ii}))};n.ra="request frame";n.jg="movement change";return n});
define("ep",["require","hp","hH","dl"],function(a){var b=a("hp"),c=a("hH"),a=a("dl"),b=b.extend(c,function(a,b,g){c.call(this);a!==m&&this.set("yaw",a);b!==m&&this.set("pitch",b);g!==m&&this.set("hfov",g)});a.A("RotationalCameraPosition",b).C("Object").O({stereographicFactor:"number",yaw:"number",pitch:"number",hfov:"number"});return b});
define("bQ",["require","hp","ep","dl"],function(a){var b=a("hp"),c=a("ep"),a=a("dl"),b=b.extend(c,function(){c.apply(this,arguments)});a.A("PanoramaCameraPosition",b).C("RotationalCameraPosition");return b});
define("gp","hp,bL,dZ,bQ,hO,gT,jq".split(","),function(a,b,c,d,f,g){var k=a.extend(c,function(a,b){c.call(this);this.D=a;this.g=b;this.I=new g;this.Oe=[];this.X=k.Ki;this.$e=this.Ge=q;this.oj=this.D.get("transitionDuration");this.li=m});k.prototype.Vk=function(a){this.I.Vk(a)};k.prototype.rB=function(a){a.MB()&&this.WL();this.Oe.push(a);this.DF()};k.prototype.hide=function(){this.WL();this.Oe.push(q);this.DF()};k.prototype.clear=function(){this.X=k.Ki;this.WL();this.Yha();this.xQ();this.g=q};k.prototype.ic=
function(a){if(this.X!=k.Ki&&(this.X==k.Am||this.X==k.lx)){this.li=this.li+a;a=Math.min(1,this.li/this.oj);this.X==k.Am?this.g.Fg(this.Ge.getItem(),a):this.g.Fg(this.$e.getItem(),1-a);this.li<this.oj?this.ea():this.X==k.Am?this.kN():this.lN()}};k.prototype.DF=function(){if(this.X==k.Ki){for(;this.Oe.length>0&&this.naa(this.Oe[0],this.$e);)this.Oe.shift();this.Oe.length>0&&this.Co()}};k.prototype.naa=function(a,b){return a==b||!!a&&!!b&&a.isEqual(b)};k.prototype.Co=function(){this.$e&&(!this.Oe[0]||
this.Oe[0].MB())&&this.trigger(new b(k.Qq,{map:this.$e.la}));if(this.D.get("transitionMode","blending")=="fade_out_fade_in"&&this.$e&&this.Oe[0].MB())this.wx();else(this.Ge=this.Oe.shift())?this.AL():this.$e&&this.wx()};k.prototype.AL=function(){this.V$();this.Ge.MB()&&this.Kia();this.li=0;this.X=k.Am;this.ea()};k.prototype.kN=function(){this.xQ();this.$e=this.Ge;this.Ge=q;this.Nr()};k.prototype.wx=function(){this.li=0;this.X=k.lx;this.ea()};k.prototype.lN=function(){this.xQ();this.$e=q;this.Nr()};
k.prototype.Nr=function(){this.X=k.Ki;this.$e&&this.$e.MB()&&this.trigger(new b(k.Rq,{map:this.$e.la}));this.Oe.length==0?this.$e&&this.trigger(new b(k.OJ,{level:this.$e})):this.Co()};k.prototype.Kia=function(){var a=this.Ge.la;this.Ge.ew();this.I.ZB(a.get("width",100),a.get("height",100),a.get("scaleMode",f.ie),a.get("minimumZoomFactor",1),a.get("maximumZoomFactor",1));this.I.Ga(0.5,0.5,0,a.get("initialZoomFactor",1));this.g.eC(this.Ge.getItem(),this.I.getX(),this.I.getY(),this.I.Yv(),this.I.Qk())};
k.prototype.ea=function(){this.trigger(new b(k.ra))};k.prototype.WL=function(){for(;this.Oe.length>0;){var a=this.Oe.shift();a&&this.g.Ci(a.getItem())}};k.prototype.V$=function(){if(this.Ge){this.g.iB(this.Ge.getItem());this.g.jB(this.Ge.getItem());this.g.Fg(this.Ge.getItem(),0);this.trigger(new b(k.NJ,{level:this.Ge}))}};k.prototype.xQ=function(){if(this.$e){this.g.removeItem(this.$e.getItem());this.trigger(new b(k.HC,{level:this.$e}));this.g.Ci(this.$e.getItem());this.$e=q}};k.prototype.Yha=function(){if(this.Ge){this.g.removeItem(this.Ge.getItem());
this.trigger(new b(k.HC,{level:this.Ge}));this.g.Ci(this.Ge.getItem());this.Ge=q}};k.Ki="stopped";k.Am="blending";k.lx="disolving";k.ra="request frame";k.NJ="level added";k.HC="level removed";k.OJ="level fully displayed";k.Rq="map show";k.Qq="map hide";return k});
define("he",[],function(){function a(a,c){this.la=a;this.xa=a.get("image");this.nf=c;this.AO=m}a.prototype.getItem=function(){switch(this.nf){case a.ZC:return this.la.N6();default:return this.la.Tc()}};a.prototype.ew=function(){switch(this.nf){case a.ZC:return this.la.lt();default:return this.la.Ok()}};a.prototype.MB=function(){return this.AO===m?0==this.getIndex():this.AO};a.prototype.iqa=N("AO");a.prototype.NB=function(){return this.nf==a.IV};a.prototype.isEqual=function(a){return a&&this.la==a.map&&
this.nf==a.type};a.prototype.getIndex=function(){return this.nf==a.ZC||this.la.mw()?0:1};a.prototype.x6=function(){return this.la.mw()?2:1};a.ZC="preload";a.IV="load";return a});
define("fM","require,hp,bL,dZ,jq,he,t".split(","),function(a){var b=a("hp"),c=a("bL"),d=a("dZ"),f=a("jq"),g=a("he"),k=a("t"),j=b.extend(d,function(a){d.call(this);this.g=a;this.Oe=[];this.Sx=this.es=this.Yd=q;this.Zr=y;this.XE=q});j.prototype.clear=function(){this.stop();this.g=q};j.prototype.Poa=function(a){if(this.XE!=a){this.stop();a.mw()&&k.Na()&&this.Oe.push(new g(a,g.ZC));this.Oe.push(new g(a,g.IV));this.DF()}};j.prototype.stop=function(){this.XE=q;this.Oe=[];this.t4();if(this.Zr){this.Zr=y;
this.JR();this.g.Ci(this.Yd.getItem());this.Yd=q;this.trigger(new c(j.IC))}};j.prototype.DF=function(){this.Zr||this.WO()};j.prototype.WO=function(){if(this.Oe.length>0){this.Yd=this.Oe.shift();if(!this.Zr){this.Zr=p;this.trigger(new c(j.GC,{level:this.Yd,percent:0}))}this.Gaa();this.g.bo(this.Yd.getItem());this.g.WU(this.Yd.getItem())&&this.pP()}else if(this.Zr){this.Zr=y;this.trigger(new c(j.IC))}};j.prototype.pP=function(){this.JR();this.Vja();this.Yd=q;this.WO()};j.prototype.Vja=function(){this.t4();
this.es=this.Yd;var a=this;this.Sx=setTimeout(function(){a.Sx=q;a.lga()},500)};j.prototype.lga=function(){var a=this.es.la;this.es.iqa(a!=this.XE);this.XE=a;this.trigger(new c(j.PJ,{level:this.es}));this.es=q};j.prototype.t4=function(){if(this.Sx!=q){clearTimeout(this.Sx);this.Sx=q;this.g.Ci(this.es.getItem());this.es=q}};j.prototype.Z0=function(){this.JR();this.Yd=q;this.WO()};j.prototype.$0=function(a){this.trigger(new c(j.GC,{level:this.Yd,percent:a.rh}))};j.prototype.Gaa=function(){var a=this.Yd.getItem();
a.bind(f.R,this.pP,this);a.bind(f.od,this.Z0,this);a.bind(f.dc,this.$0,this)};j.prototype.JR=function(){var a=this.Yd.getItem();a.unbind(f.R,this.pP,this);a.unbind(f.od,this.Z0,this);a.unbind(f.dc,this.$0,this)};j.GC="level loading progress";j.PJ="level loaded";j.IC="load stopped";return j});
define("bS",["require"],function(){function a(a,c){this.x=a;this.y=c}a.prototype.rotate=function(a){var c=Math.cos(a),a=Math.sin(a),d=this.x*a+this.y*c;this.x=this.x*c-this.y*a;this.y=d;return this};a.prototype.translate=function(a,c){this.x+=a;this.y+=c;return this};a.prototype.scale=function(a,c){this.x*=a;this.y*=c;return this};return a});
define("id",["require","hO","X"],function(a){function b(a,b,k){this.Gd=a;this.h4=b;this.g4=k;this.Ic=c.sm;this.Pf=d.tc;this.cg=d.cc}var c=a("hO"),d=a("X");b.prototype.Dq=N("Ic");b.prototype.Ew=N("Pf");b.prototype.Gw=N("cg");b.prototype.Wv=function(a,b,k){var j=this.h4,h=this.g4,n,e;switch(this.Ic){case c.NONE:e=n=1;break;case c.ie:n=e=Math.min(b/j,k/h);break;case c.bl:n=e=Math.max(b/j,k/h);break;case c.Mj:n=e=b/j;break;case c.mg:n=e=k/h;break;default:n=b/j,e=k/h}var l=b/n;n=Math.min(this.h4*n,b);
l=Math.min(l,j);switch(this.Pf){case d.ha:sX=tX=0;break;case d.Ea:tX=b-n;sX=j-l;break;default:tX=0.5*(b-n),sX=0.5*(j-l)}b=k/e;e=Math.min(this.g4*e,k);b=Math.min(b,h);switch(this.cg){case d.Ya:h=k=0;break;case d.Xa:k-=e;h-=b;break;default:k=0.5*(k-e),h=0.5*(h-b)}a.drawImage(this.Gd,Math.round(sX),Math.round(h),Math.round(l+sX-Math.round(sX)),Math.round(b+h-Math.round(h)),Math.round(tX),Math.round(k),Math.round(n+tX-Math.round(tX)),Math.round(e+k-Math.round(k)))};return b});
define("hT","require,jq,fh,bS,gP,id".split(","),function(a){function b(a,b,f,e){this.g=a;this.la=b;this.pc=this.la.get("width");this.oc=this.la.get("height");this.Ub=this.la.Tc();this.K_=f;this.Vi=e;this.Xr=q;if(this.Vi){this.lv=this.K_.lv;this.T=this.Vi.get("width");this.ca=this.Vi.get("height");this.Z=this.Vi.get("x",0);this.$=this.Vi.get("y",0);this.ks=this.Vi.get("offsetX",0);this.ls=this.Vi.get("offsetY",0);if(this.jn=this.Vi.Ok()){this.Ke=new g(d.dl);this.Ke.load(this.jn.get("url"));this.Ke.bind(c.R,
this.y1,this)}}else this.Ke=q}var c=a("jq"),d=a("fh"),f=a("bS"),g=a("gP"),k=a("id");b.prototype.clear=function(){this.Vi=this.K_=this.Ub=this.la=this.g=q;if(this.Ke){this.Ke.unbind(c.R,this.y1,this);this.Ke.cancel();this.Ke=q}this.Xr=q};b.prototype.G6=function(a,b){this.L_=m;if(this.Xr&&a!=m&&b!=m){var c=this.g.Aa()*0.5,d=this.g.bb()*0.5,g=this.g.pI(this.Ub)*Math.PI/180,k=this.g.BB(this.Ub),o=this.g.AB(this.Ub),s=this.g.CB(this.Ub),t=this.g.DB(this.Ub),u=new f(a,b);u.translate(-c,-d);u.rotate(-g);
u.scale(1/k,1/o);u.translate(s,t);u.scale(this.pc,this.oc);u.translate(-this.Z,-this.$);if(!this.lv){u.rotate(g);u.scale(k/this.pc,o/this.oc)}u.translate(this.ks,this.ls);c=Math.round(u.x);u=Math.round(u.y);if(c>=0&&c<this.Xr.width&&u>=0&&u<this.Xr.height){u=(this.Xr.width*u+c)*4;c=this.Xr.data;this.L_=c[u+3]>0?"#"+this.JL(c[u+0])+this.JL(c[u+1])+this.JL(c[u+2]):"transparent"}}return this.L_};b.prototype.y1=function(){var a=new k(this.Ke.Id(),this.jn.get("width"),this.jn.get("height"));a.Dq(this.Vi.get("scaleMode"));
a.Ew(this.Vi.get("horizontalAlign"));a.Gw(this.Vi.get("verticalAlign"));var b=document.createElement("canvas");b.width=Math.round(this.T);b.height=Math.round(this.ca);var c=b.getContext("2d");a.Wv(c,b.width,b.height);this.Xr=c.getImageData(0,0,b.width,b.height);b.width=b.height=0};b.prototype.JL=function(a){for(a=a.toString(16);a.length<2;)a="0"+a;return a};return b});
define("hc","require,cL,hp,jq,bL,dZ,iO,hT,N,jf,bk".split(","),function(a){var b=a("cL"),c=a("hp"),d=a("jq"),f=a("bL"),g=a("dZ"),k=a("iO"),j=a("hT"),h=a("N"),n=a("jf"),e=a("bk"),l=c.extend(g,function(a,b,c){g.call(this);this.g=a;this.la=b;this.ib=c;this.H=this.ib.getItem();this.Bk=this.ib.O6();this.Dk=this.ib.Q6();this.Zm=this.Lh=m;this.D=this.g.getParent();this.D.bind(d.Ac,this.Vh,this);this.D.bind(d.sf,this.hz,this);this.D.bind(d.lb,this.up,this);this.D.bind(d.Gb,this.iz,this);c.bind(d.ba("selected"),
this.P1,this);c.bind(d.ba("enabled"),this.nga,this);this.eF=new j(this.g,this.la,this.ib,this.ib.get("map",q));this.gF=new j(this.g,this.la,this.ib,this.ib.get("rollOverMap",this.ib.get("map",q)));this.hF=new j(this.g,this.la,this.ib,this.ib.get("selectedMap",this.ib.get("rollOverMap",this.ib.get("map",q))));this.BE=new j(this.g,this.la,this.ib,this.ib.get("image",q));this.CE=new j(this.g,this.la,this.ib,this.ib.get("rollOverImage",this.ib.get("image",q)));this.DE=new j(this.g,this.la,this.ib,this.ib.get("selectedImage",
this.ib.get("rollOverImage",this.ib.get("image",q))));this.rc=this.qc=m;this.Dv=q;this.Dm=[];this.rx=[];this.De={};this.s0=[];this.XN=y;this.pj=this.ib.get("useHandCursor")==p;this.L=q;this.yv=m;this.MG=this.DG=this.RE=0;a=this.ib.get("areas",[]);for(b=0;b<a.length;b++){var c=a[b],e=c.get("mapColor");if(e){e=e.toLowerCase();if(this.De[e]===m){this.De[e]=[];this.s0.push(e)}this.De[e].push(c)}}if(this.H){this.g.SH(this.la.Tc(),this.H);this.g.Fg(this.H,this.RE)}if(this.Bk){this.g.SH(this.la.Tc(),this.Bk);
this.g.Fg(this.Bk,this.DG)}if(this.Dk){this.g.SH(this.la.Tc(),this.Dk);this.g.Fg(this.Dk,this.MG)}this.Yz("none");this.UR();this.K3(y);this.L3(this.ib.get("selected"))});l.prototype.clear=function(){this.D.unbind(d.Ac,this.Vh,this);this.D.unbind(d.sf,this.hz,this);this.D.unbind(d.lb,this.up,this);this.D.unbind(d.Gb,this.iz,this);this.D=q;this.eF&&this.eF.clear();this.eF=q;this.gF&&this.gF.clear();this.gF=q;this.hF&&this.hF.clear();this.hF=q;this.BE&&this.BE.clear();this.BE=q;this.CE&&this.CE.clear();
this.CE=q;this.DE&&this.DE.clear();this.DE=q;this.Dm=[];this.Lh=y;this.UR();this.rx=[];this.De={};this.w4();this.PA();this.la=this.g=q;this.ib.unbind(d.ba("selected"),this.P1,this);this.Dk=this.Bk=this.H=this.ib=q};l.prototype.match=function(a){return this.ib==a};l.prototype.ic=function(a){this.Cu(y);if(this.L){this.L.eb(a);this.RE=this.L.kb("itemAlpha");this.DG=this.L.kb("rollOverItemAlpha");this.MG=this.L.kb("selectedItemAlpha");this.H&&this.g.Fg(this.H,this.RE);this.Bk&&this.g.Fg(this.Bk,this.DG);
this.Dk&&this.g.Fg(this.Dk,this.MG);this.L.ge()?this.L=q:this.ea()}};l.prototype.up=function(a){this.qc=a.x-this.D.oh();this.rc=a.y-this.D.am();this.Cu(p);this.rx=this.Dm.slice()};l.prototype.Vh=function(a){this.qc=a.x-this.D.oh();this.rc=a.y-this.D.am();this.Cu(p)};l.prototype.iz=function(a){this.qc=a.x-this.D.oh();this.rc=a.y-this.D.am();this.Cu(p);a=b.intersection(this.rx,this.Dm);this.rx=[];this.IR(a,"click")};l.prototype.hz=function(){this.rc=this.qc=m;this.Cu(p);this.rx=this.Dm.slice()};l.prototype.P1=
function(){this.L3(this.ib.get("selected"))};l.prototype.nga=function(){this.Cu(p);this.Rd();this.ea()};l.prototype.Cu=function(a){this.W_=p;a?this.Cv():this.xfa()||this.hka()};l.prototype.hka=function(){this.w4();var a=this;this.Dv=setTimeout(function(){a.Dv=q;a.Cv()},200)};l.prototype.xfa=function(){return this.Dv?p:y};l.prototype.w4=function(){if(this.Dv){clearTimeout(this.Dv);this.Dv=q}};l.prototype.Cv=function(){if(this.W_){this.W_=y;var a=this.Dm,c=this.vda();this.Dm=c;if(!this.D.Wi){this.IR(b.difference(c,
a),"rollOver");this.K3(c.length>0);this.IR(b.difference(a,c),"rollOut");this.PA()}}};l.prototype.PA=function(){for(var a="",b=0;b<this.Dm.length&&!a;b++){var c=this.Dm[b];c.get("toolTip")&&(a=c.get("toolTip"))}if(this.ma!=a){this.ma&&this.g.fpa(this.ma);(this.ma=a)&&this.g.mpa(this.ma)}};l.prototype.UR=function(){var a=this.Lh&&(this.pj||b(this.Dm).any(function(a){return a.get("useHandCursor")==p}));if(this.XN!=a)(this.XN=a)?this.g.OI(h.xd):this.g.vw(h.xd)};l.prototype.vda=function(){if(this.ib.get("enabled")===
y)return[];var a=[],b=this.Zm?this.hF:this.Lh?this.gF:this.eF;if(b)if(b=b.G6(this.qc,this.rc)){this.De.any&&(a=a.concat(this.De.any));b=="transparent"&&this.De.transparent&&(a=a.concat(this.De.transparent));if(b!="transparent"){a=this.De[b]?a.concat(this.De[b]):a.concat(this.De[k.Hpa(b,this.s0,5)]||[]);this.De.image&&(a=a.concat(this.De.image))}}if(b=this.Zm?this.DE:this.Lh?this.CE:this.BE)if(b=b.G6(this.qc,this.rc)){this.De.any&&(a=a.concat(this.De.any));b=="transparent"&&this.De.transparent&&(a=
a.concat(this.De.transparent));b!="transparent"&&this.De.image&&(a=a.concat(this.De.image))}for(var b=[],c=0;c<a.length;c++){var d=a[c];b.indexOf(d)<0&&b.push(d)}return b};l.prototype.IR=function(a,b){if(a)for(var c=0;c<a.length;c++)a[c].trigger(new f(b))};l.prototype.K3=function(a){if(this.Lh!=a){this.Lh=a;this.trigger(new f(l.JJ));this.Rd();this.UR();this.ea()}};l.prototype.L3=function(a){if(this.Zm!=a){this.Zm=a;this.Rd();this.ea()}};l.prototype.Rd=function(){(this.Lh||this.ib.get("rollOverDisplay")!=
p)&&this.ib.get("enabled")!==y?this.Zm?this.Yz("selected"):this.Lh?this.Yz("roll over"):this.Yz("visible"):this.Yz("none")};l.prototype.Yz=function(a){if(this.yv!=a){this.yv=a;var c,d;if(b(["selected"]).contains(this.yv)&&this.Dk){d=1;a=c=0}else if(b(["selected","roll over"]).contains(this.yv)&&this.Bk){c=1;a=d=0}else if(b(["selected","roll over","visible"]).contains(this.yv)){a=1;d=c=0}else a=d=c=0;var f=this.RE,h=this.DG,g=this.MG,j=this.yv=="none"?"quad_out":"quad_in",k=Math.max(200*Math.abs(a-
f),200*Math.abs(c-h),200*Math.abs(d-g));this.L=new n(j,[new e("itemAlpha",f,a),new e("rollOverItemAlpha",h,c),new e("selectedItemAlpha",g,d)],k)}};l.prototype.ea=function(){this.trigger(new f(l.ra))};l.ra="request frame";l.JJ="is over update";return l});define("ip",["hp","gu"],function(a,b){var c=a.extend(b,function(a,c,g,k,j,h,n){b.call(this,b.KW,a,c);this.cfa=g;this.dfa=k;this.iha=j;this.jha=h;this.rb=n;this.RA=[]});c.prototype.nt=P("rb");return c});
define("dC","hp,jq,bL,dZ,bS,ip".split(","),function(a,b,c,d,f,g){var k=a.extend(d,function(a,c,f){d.call(this);this.g=a;this.D=this.g.getParent();this.D.bind(b.lb,this.up,this,p);this.D.bind(b.Ac,this.Vh,this,p);this.D.bind(b.sf,this.hz,this,p);this.la=c;this.pc=this.la.get("width");this.oc=this.la.get("height");this.Oha=Math.sqrt(this.pc*this.pc+this.oc*this.oc)*this.la.get("fieldOfViewOverlayRadiusScale",1);this.Ub=this.la.Tc();this.ob=f;this.Wu=this.ob.get("x",0);this.Xu=this.ob.get("y",0);this.UF=
this.ob.get("angle",0);this.H=this.ica();this.ol=y;this.aa=0;this.ia=Math.PI*0.5;this.Ob=y;this.rc=this.qc=m;this.g.SH(this.la.Tc(),this.H)});k.prototype.M8=function(a,b){this.aa=a+this.UF-90;this.ia=b;this.ea()};k.prototype.clear=function(){this.D.unbind(b.lb,this.up,this);this.D.unbind(b.Ac,this.Vh,this);this.D.unbind(b.sf,this.hz,this);this.D=q;this.g.spa(this.la.Tc(),this.H);this.H=this.ob=this.Ub=this.la=this.g=q};k.prototype.ic=function(){this.g.mqa(this.H,this.aa,this.ia)};k.prototype.ica=
function(){return new g(this.Wu,this.Xu,this.la.get("fieldOfViewOverlayInsideColor","#FFFFFF"),this.la.get("fieldOfViewOverlayInsideOpacity",0),this.la.get("fieldOfViewOverlayOutsideColor","#000000"),this.la.get("fieldOfViewOverlayOutsideOpacity",0),this.la.get("fieldOfViewOverlayRadiusScale",1))};k.prototype.ea=function(){this.trigger(new c(k.ra))};k.prototype.VR=function(){var a=y;if(this.qc!=m&&this.rc!=m){var b=this.g.Aa()*0.5,d=this.g.bb()*0.5,e=this.g.pI(this.Ub)*Math.PI/180,g=this.g.BB(this.Ub),
r=this.g.AB(this.Ub),o=this.g.CB(this.Ub),s=this.g.DB(this.Ub),a=new f(this.qc,this.rc);a.translate(-b,-d);a.rotate(-e);a.scale(1/g,1/r);a.translate(o,s);a.scale(this.pc,this.oc);a.translate(-this.Wu,-this.Xu);a.rotate(-this.aa*Math.PI/180);b=Math.round(Math.atan2(a.y,a.x)*180/Math.PI);a=Math.round(Math.sqrt(a.x*a.x+a.y*a.y))<=this.Oha&&Math.abs(b)<this.ia*0.5}if(this.ol!=a){this.ol=a;this.trigger(new c(k.lK,{inFOV:this.ol}))}};k.prototype.noa=P("ol");k.prototype.up=function(a){this.qc=a.x;this.rc=
a.y;this.Ob=p;this.VR()};k.prototype.Vh=function(a){if(!this.Ob){this.qc=a.x;this.rc=a.y;this.VR()}};k.prototype.hz=function(){this.rc=this.qc=m;this.Ob=y;this.VR()};k.ra="request frame";k.lK="mouse in fov change";return k});
define("jj","cL,hp,bL,dZ,fv,hc,dC,N".split(","),function(a,b,c,d,f,g,k,j){var h=b.extend(d,function(a){d.call(this);this.g=a;this.Ny=[];this.ek=[];this.Jh=[];this.fj=this.ob=q});h.prototype.clear=function(){for(var a=0;a<this.ek.length;a++)this.ek[a].clear();for(a=0;a<this.Jh.length;a++)this.Jh[a].clear();this.g=this.Ny=this.ob=this.Jh=this.ek=q};h.prototype.rB=function(a){a.NB()&&this.caa(a.la)};h.prototype.zT=function(a){a.NB()&&this.fia(a.la)};h.prototype.lo=function(a){if(this.ob!=a){this.ob&&
this.b3(this.ob.get("map"));this.ob=a;this.fj=q;if(this.ob){a=this.ob.get("map");this.BO(a)&&this.DX(a)}}};h.prototype.Aj=function(a,b,c,d){this.fj={yaw:b,pitch:c,hfov:d};for(c=0;c<this.Jh.length;c++){var f=this.Jh[c];if(f.ob==a){f.M8(b,d);break}}};h.prototype.caa=function(a){if(!this.BO(a)){this.Ny.push(a);this.Y$(a);this.DX(a)}};h.prototype.fia=function(b){if(this.BO(b)){this.Ny=a(this.Ny).without(b);this.aia(b);this.b3(b)}};h.prototype.BO=function(b){return a(this.Ny).indexOf(b)>=0};h.prototype.ic=
function(a){for(var b=0;b<this.ek.length;b++)this.ek[b].ic(a);for(b=0;b<this.Jh.length;b++)this.Jh[b].ic(a)};h.prototype.Y$=function(a){for(var b=a.get("overlays",[]),c=0;c<b.length;c++){var d=b[c];if(d instanceof f){d=new g(this.g,a,d);d.bind(g.ra,this.ea,this,p);d.bind(g.JJ,this.ME,this,p);this.ek.push(d)}}this.ME()};h.prototype.DX=function(a){if(this.ob&&this.ob.get("map")==a&&this.ob.get("visible")!==y){a=new k(this.g,a,this.ob);a.bind(k.ra,this.ea,this,p);a.bind(k.lK,this.BF,this,p);this.Jh.push(a);
this.fj&&a.M8(this.fj.yaw,this.fj.hfov)}this.BF()};h.prototype.aia=function(a){for(var a=a.get("overlays",[]),b=0;b<a.length;b++)for(var c=a[b],d=0;d<this.ek.length;d++){var f=this.ek[d];if(f.match(c)){f.unbind(g.ra,this.ea,this);f.unbind(g.JJ,this.ME,this);f.clear();this.ek.splice(d,1);break}}this.ME()};h.prototype.b3=function(a){for(var b=0;b<this.Jh.length;b++){var c=this.Jh[b];if(c.la==a){c.unbind(k.ra,this.ea,this);c.unbind(k.lK,this.BF,this);c.clear();this.Jh.splice(b,1);break}}this.BF()};h.prototype.ME=
function(){for(var a=y,b=0;b<this.ek.length&&!a;b++)a=this.ek[b].Lh;this.g.getParent().set("cursor",a?j.xd:j.uc)};h.prototype.ea=function(){this.trigger(new c(h.ra))};h.prototype.BF=function(){for(var a=y,b=0;b<this.Jh.length;b++)this.Jh[b].noa()&&(a=p);this.trigger(new c(h.IJ,{inFOV:a}))};h.ra="request frame";h.IJ="in fov change";return h});
define("y","hp,jq,bL,dZ,gx,bS".split(","),function(a,b,c,d,f,g){var k=a.extend(d,function(a){d.call(this);this.g=a;this.D=this.g.getParent();this.D.bind(b.Ac,this.Vh,this,p);this.D.bind(b.lb,this.up,this,p);this.D.bind(b.Gb,this.iz,this,p);this.la=q;this.Ub=this.oc=this.pc=m;this.ob=q;this.UF=this.Xu=this.Wu=m;this.ol=y;this.rc=this.qc=this.Rh=m;this.Ob=y;this.aa=0});k.prototype.clear=function(){this.D.unbind(b.Ac,this.Vh,this);this.D.unbind(b.lb,this.up,this);this.D.unbind(b.Gb,this.iz,this);this.g=
this.ob=this.Ub=this.la=this.D=q};k.prototype.dC=function(a){this.ol=a;this.RR()};k.prototype.rB=function(a){a.NB()&&this.O3(a.la)};k.prototype.zT=function(a){a.NB()&&this.la==a.la&&this.O3(q)};k.prototype.O3=function(a){if(this.la!=a)if(this.la=a){this.pc=this.la.get("width");this.oc=this.la.get("height");this.Ub=this.la.Tc()}else{this.oc=this.pc=m;this.Ub=q}};k.prototype.lo=function(a){if(this.ob!=a)if(this.ob=a){this.Wu=this.ob.get("x",0);this.Xu=this.ob.get("y",0);this.UF=this.ob.get("angle",
0)}else this.UF=this.Xu=this.Wu=m};k.prototype.Aj=function(a,b){if(this.ob==a)this.aa=b};k.prototype.Vk=N("Rh");k.prototype.up=function(a){this.qc=a.x;this.rc=a.y;this.Ob=p;this.RR()};k.prototype.Vh=function(a){this.qc=a.x;this.rc=a.y;if(this.dN){a=this.r_();this.trigger(new c(k.lg,{yawDelta:a-this.pb}));this.pb=a}};k.prototype.iz=function(a){this.qc=a.x;this.rc=a.y;this.Ob=y;this.RR()};k.prototype.RR=function(){var a=this.Ob&&this.ob&&this.la&&(this.Rh==f.DK||this.ol);if(this.dN!=a)if(this.dN=a)this.pb=
this.r_()};k.prototype.r_=function(){var a=this.g.Aa()*0.5,b=this.g.bb()*0.5,c=new g(this.qc,this.rc);c.translate(-a,-b);if(this.Rh==f.DK)return-Math.atan2(c.y,c.x)*180/Math.PI;var a=this.g.pI(this.Ub)*Math.PI/180,b=this.g.BB(this.Ub),d=this.g.AB(this.Ub),k=this.g.CB(this.Ub),r=this.g.DB(this.Ub);c.rotate(-a);c.scale(1/b,1/d);c.translate(k,r);c.scale(this.pc,this.oc);c.translate(-this.Wu,-this.Xu);return Math.atan2(c.y,c.x)*180/Math.PI};k.lg="request yaw change";return k});
define("dj",["hp","bL","dZ","S"],function(a,b,c,d){var f=a.extend(c,function(a){c.call(this);this.V=p;this.bk=y;this.g=a});f.prototype.clear=function(){this.V=y;this.g=q};f.prototype.Ba=function(){this.bk||(this.bk=p,d.Ba(this.ff,this))};f.prototype.ff=function(a){this.V&&(this.bk=y,this.trigger(new b(f.Jj,{frameTime:a})),this.trigger(new b(f.Kj,{frameTime:a})),this.g.render())};f.Jj="frameStart";f.Kj="positionSet";return f});
define("cm","require,hp,jq,bL,dZ,iX,gp,fM,jj,y,dj".split(","),function(a){var b=a("hp"),c=a("jq"),d=a("bL"),f=a("dZ"),g=a("iX"),k=a("gp"),j=a("fM"),h=a("jj"),n=a("y"),e=a("dj"),l=b.extend(f,function(a,b){f.call(this);this.D=a;this.g=b;this.$F=q;this.wc=new e(this.g);this.Md=new j(this.g);this.wa=new k(this.D,this.g);this.fa=new g(this.g);this.sk=new h(this.g);this.ul=new n(this.g);this.D.bind(c.Ce,this.NF,this,p);this.wc.bind(e.Jj,this.xp,this,p);this.wc.bind(e.Kj,this.yp,this,p);this.Md.bind(j.IC,
this.ez,this);this.Md.bind(j.PJ,this.r1,this);this.Md.bind(j.GC,this.s1,this);this.wa.bind(k.ra,this.Zb,this,p);this.wa.bind(k.NJ,this.p1,this,p);this.wa.bind(k.HC,this.t1,this,p);this.wa.bind(k.OJ,this.q1,this,p);this.wa.bind(k.Qq,this.sp,this,p);this.wa.bind(k.Rq,this.tp,this,p);this.fa.bind(g.ra,this.Zb,this,p);this.fa.bind(g.jg,this.lk,this);this.sk.bind(h.ra,this.Zb,this,p);this.sk.bind(h.IJ,this.i1,this,p);this.ul.bind(n.lg,this.qz,this,p);this.CZ=y});l.prototype.Vk=function(a){this.fa.Vk(a);
this.wa.Vk(a);this.ul.Vk(a)};l.prototype.clear=function(){this.CZ=p;this.Md.clear();this.wc.clear();this.fa.clear();this.wa.clear();this.sk.clear();this.ul.clear();this.D.unbind(c.Ce,this.NF,this);this.Md.unbind(j.IC,this.ez,this);this.Md.unbind(j.PJ,this.r1,this);this.Md.unbind(j.GC,this.s1,this);this.wc.unbind(e.Jj,this.xp,this);this.wc.unbind(e.Kj,this.yp,this);this.wa.unbind(k.ra,this.Zb,this);this.wa.unbind(k.NJ,this.p1,this);this.wa.unbind(k.HC,this.t1,this);this.wa.unbind(k.OJ,this.q1,this);
this.wa.unbind(k.Qq,this.sp,this);this.wa.unbind(k.Rq,this.tp,this);this.fa.unbind(g.E9,this.Zb,this);this.fa.unbind(g.jg,this.lk,this);this.sk.unbind(h.ra,this.Zb,this);this.sk.unbind(h.IJ,this.i1,this);this.ul.unbind(n.lg,this.qz,this);this.D=this.g=this.ul=this.sk=this.wa=this.fa=this.wc=this.Md=q};l.prototype.NF=function(){if(this.$F){this.H8(this.$F);this.$F=q}};l.prototype.H8=function(a){this.D.fp?this.Md.Poa(a):this.$F=a};l.prototype.vt=function(){this.Md.stop();this.fa.stop();this.wa.hide()};
l.prototype.gg=function(a){this.fa.gg(a)};l.prototype.lo=function(a){if(!this.CZ){this.fa.lo(a);this.sk.lo(a);this.ul.lo(a)}};l.prototype.Aj=function(a,b,c,d){this.fa.Aj(a,b,c,d);this.sk.Aj(a,b,c,d);this.ul.Aj(a,b,c,d)};l.prototype.s1=function(a){var b=a.data.level,a=(a.data.percent+100*b.getIndex())/b.x6();this.trigger(new d(l.al,{percent:a}))};l.prototype.r1=function(a){a=a.data.level;this.fa.stop();this.wa.rB(a)};l.prototype.ez=function(){this.trigger(new d(l.Pq))};l.prototype.Zb=function(){this.wc.Ba()};
l.prototype.xp=function(a){this.fa.ho(a.data.frameTime)};l.prototype.yp=function(a){a=a.data.frameTime;this.wa.ic(a);this.fa.ic(a);this.sk.ic(a)};l.prototype.p1=function(a){a=a.data.level;this.sk.rB(a);this.ul.rB(a)};l.prototype.t1=function(a){a=a.data.level;this.sk.zT(a);this.ul.zT(a)};l.prototype.q1=function(a){a=a.data.level;a.NB()&&this.fa.start(a)};l.prototype.i1=function(a){a=a.data.inFOV;this.fa.dC(a);this.ul.dC(a)};l.prototype.tp=function(a){this.trigger(new d(l.Rq,{map:a.data.map}))};l.prototype.sp=
function(a){this.trigger(new d(l.Qq,{map:a.data.map}))};l.prototype.lk=function(a){this.trigger(new d(l.jg,a.data))};l.prototype.qz=function(a){this.trigger(new d(l.lg,{yawDelta:a.data.yawDelta}))};l.jg="movementChange";l.Pq="loadingEnd";l.al="loadingProgress";l.Rq="mapShow";l.Qq="mapHide";l.lg="requestYawChange";return l});
define("eR",["require","jquery.mod","t"],function(a){function b(a,b){this.H=a;this.N=b;this.Hy=0;this.El=this.Dl=0.5;this.Fd=0;this.vb=1;this.Mn=this.gn=this.ca=this.T=0;this.rb=1;this.uO=this.xO=p;this.v=c("<canvas/>");this.t=this.v.get(0);this.ga=this.t.getContext("2d")}var c=a("jquery.mod"),a=a("t");b.prototype.getItem=P("H");b.prototype.Xv=function(a){return this.H==a?this:q};b.prototype.tj=function(){this.N&&this.N.OS(this)};b.prototype.Vc=function(a){this.oja(a)};b.prototype.M3=function(a){this.Hy!=
a&&(this.Hy=a,this.N&&this.N.BI())};b.prototype.oja=function(a){this.vb!=a&&(this.vb=a,this.AI())};b.prototype.SG=function(a){this.Fd!=a&&(this.Fd=a,this.AI())};b.prototype.Xz=function(a,b){if(this.T!=a||this.ca!=b)this.T=a,this.ca=b,this.xI()};b.prototype.gi=function(a,b){if(this.gn!=a||this.Mn!=b)this.gn=a,this.Mn=b,this.AI()};b.prototype.AI=function(){this.N&&this.N.yI()};b.prototype.bc=function(){this.xO=p};b.prototype.da=function(){this.xO&&(this.xO=y,this.Re())};b.prototype.Re=D();b.prototype.xI=
function(){this.uO=p;this.AI()};b.prototype.gJ=function(){if(this.uO){this.uO=y;if(this.t.width!=this.T||this.t.height!=this.ca)this.t.width=Math.round(this.T),this.t.height=Math.round(this.ca);this.ga.clearRect(0,0,this.t.width,this.t.height);this.Bf()}};b.prototype.Bf=D();b.prototype.Sma=function(a){if(0<this.vb&&1<=this.T&&1<=this.ca){a.save();var b=Math.round(this.gn),c=Math.round(this.Mn),k=Math.round(this.T*this.Dl),j=Math.round(this.ca*this.El);a.scale(this.rb,this.rb);a.translate(b+k,c+j);
a.rotate(this.Fd*Math.PI/180);a.globalAlpha=this.vb;a.drawImage(this.t,-k,-j);a.restore()}};b.fl=a.Na()||a.ud()==a.JV?window.devicePixelRatio||1:1;return b});
define("ih",["require","cL","hp","eR"],function(a){var b=a("cL"),c=a("hp"),d=a("eR"),a=c.extend(d,function(a,b){d.call(this,a,b);this.xb=[];this.RH=q;this.Cg=p});a.prototype.S5=function(a){(a=this.nM(a))||i("Container renderer can't create child renderer for an item");this.xb.push(a);this.BI();this.yI()};a.prototype.nM=D();a.prototype.k8=function(a){if(a=this.Wl(a))this.xb=b.without(this.xb,a),this.BI(),this.yI()};a.prototype.Xv=function(a){for(var b=d.prototype.Xv.call(this,a),c=0;c<this.xb.length&&
!b;c++)b=this.xb[c].Xv(a);return b};a.prototype.Wl=function(a){for(var b=q,c=0;c<this.xb.length&&!b;c++)this.xb[c].getItem()==a&&(b=this.xb[c]);return b};a.prototype.OS=function(a){this.xb=b.without(this.xb,a);this.xb.push(a);this.BI();this.yI()};a.prototype.BI=function(){this.Cg=p;this.bc()};a.prototype.yI=function(){this.xI()};a.prototype.da=function(){d.prototype.da.call(this);for(var a=0;a<this.xb.length;a++)this.xb[a].da()};a.prototype.Re=function(){if(this.Cg){this.Cg=y;for(var a=[],b=0;b<this.xb.length;b++){var c=
this.xb[b];a.push({l:c.Hy,z:b,r:c})}a.sort(function(a,b){return a.l==b.l?a.z-b.z:a.l-b.l});this.RH=[];for(b=0;b<a.length;b++)this.RH.push(a[b].r);this.xI()}d.prototype.Re.call(this)};a.prototype.gJ=function(){for(var a=0;a<this.xb.length;a++)this.xb[a].gJ();d.prototype.gJ.call(this)};a.prototype.Bf=function(){for(var a=0;a<this.RH.length;a++)this.RH[a].Sma(this.ga);d.prototype.Bf.call(this)};return a});
define("D",["require","hp","eR"],function(a){var b=a("hp"),c=a("eR"),a=b.extend(c,function(a,b){c.call(this,a,b)});a.prototype.WI=D();return a});
define("fG",["require","hp","D"],function(a){var b=a("hp"),c=a("D"),a=b.extend(c,function(a,b){c.call(this,a,b);this.YF=this.N.getItem().jc();this.XF=this.N.getItem().Sc();this.rb=2;this.lu=0;this.ia=0.5*Math.PI;this.vO=this.wO=p;this.Yg=1;this.LE=p;this.M3(1)});a.prototype.WI=function(a,b){this.Yg!=b&&(this.Yg=b,this.LE=p,this.bc())};a.prototype.cqa=function(a,b){this.ia!=b&&(this.ia=b,this.wO=p,this.bc());this.lu!=a&&(this.lu=a,this.vO=p,this.bc())};a.prototype.Re=function(){this.wO&&(this.wO=y,
this.xI());if(this.LE||this.vO){this.vO=this.LE=y;this.rb=Math.max(1,Math.ceil(Math.sqrt(this.YF*this.YF+this.XF*this.XF))/4096);var a=this.Yg/this.rb,b=this.H.getX()*a,g=this.H.getY()*a,k=a*this.XF,a=Math.max(b,a*this.YF-b),k=Math.max(g,k-g),k=2*Math.ceil(Math.sqrt(a*a+k*k)),j=this.lu*Math.PI/180,a=Math.cos(j),j=Math.sin(j),b=b-this.Dl*k-(0.5-this.Dl)*k*a+(0.5-this.El)*k*j,g=g-this.El*k-(0.5-this.El)*k*a-(0.5-this.Dl)*k*j;this.LE=y;this.gi(b,g);this.Xz(k,k);this.SG(this.lu)}c.prototype.Re.call(this)};
a.prototype.Bf=function(){var a=this.H.dfa,b=this.H.jha;if(0<b||0<a){var g=this.Yg*this.YF,k=this.Yg*this.XF,g=Math.ceil(Math.sqrt(g*g+k*k))*this.H.nt()/this.rb,k=Math.round(0.5*this.T),j=Math.round(0.5*this.ca),h=this.ia*Math.PI/180,n=0.5*-h,h=n+h;0<b&&(this.ga.fillStyle=this.H.iha,this.ga.globalAlpha=b,this.ga.rect(0,0,this.T,this.ca),this.ga.fill(),this.ga.globalCompositeOperation="destination-out",this.ga.fillStyle="#FFFFFF",this.ga.globalAlpha=1,this.ga.beginPath(),this.ga.moveTo(k,j),this.ga.arc(k,
j,g,n,h,y),this.ga.lineTo(k,j),this.ga.closePath(),this.ga.fill(),this.ga.globalCompositeOperation="source-over");0<a&&(this.ga.fillStyle=this.H.cfa,this.ga.globalAlpha=a,this.ga.beginPath(),this.ga.moveTo(k,j),this.ga.arc(k,j,g,n,h,y),this.ga.lineTo(k,j),this.ga.closePath(),this.ga.fill())}c.prototype.Bf.call(this)};return a});
define("h","require,hp,eR,D,hl,id".split(","),function(a){var b=a("hp"),c=a("eR"),d=a("D"),f=a("hl"),g=a("id"),a=b.extend(d,function(a,b){d.call(this,a,b);this.M3(this.H.r3?0:2);this.gb=f.Id(this.H.fg());this.JG=new g(this.gb,this.gb.width,this.gb.height);this.JG.Dq(this.H.Ic);this.JG.Gw(this.H.cg);this.JG.Ew(this.H.Pf);this.Ly=0;this.Yg=1;this.ZO=p});a.prototype.WI=function(a,b){if(this.Ly!=a||this.Yg!=b){this.Ly=a;this.Yg=b;this.ZO=p;this.bc()}};a.prototype.Re=function(){if(this.ZO){this.ZO=y;var a=
this.H.getX(),b=this.H.getY(),f=this.H.jc(),g=this.H.Sc(),e=this.H.ks,l=this.H.ls;if(this.H.r3){this.SG(0);this.gi((a-e)*this.Yg,(b-l)*this.Yg);this.Xz(f*this.Yg,g*this.Yg)}else{var f=f*c.fl,g=g*c.fl,e=e*c.fl,l=l*c.fl,r=Math.cos(-this.Ly*Math.PI/180),o=Math.sin(-this.Ly*Math.PI/180),a=a*this.Yg-this.Dl*f-(e-this.Dl*f)*r+(l-this.El*g)*o,b=b*this.Yg-this.El*g-(l-this.El*g)*r-(e-this.Dl*f)*o;this.SG(-this.Ly);this.gi(a,b);this.Xz(f,g)}}d.prototype.Re.call(this)};a.prototype.Bf=function(){this.JG.Wv(this.ga,
this.t.width,this.t.height);d.prototype.Bf.call(this)};return a});
define("ft","require,hp,hO,hl,cl,gu,fG,h,ih".split(","),function(a){var b=a("hp"),c=a("hO"),d=a("hl"),f=a("cl"),g=a("gu"),k=a("fG"),j=a("h"),h=a("ih"),a=b.extend(h,function(a,b){h.call(this,a,b,a.ej);this.Da=this.H.jc();this.La=this.H.Sc();this.Ic=this.H.Ic;this.kE=this.H.qN;this.Ra=this.Oa=100;this.Er=p;this.$=this.Z=0.5;this.pb=0;this.ka=1;this.Dz=p;this.Oc=1;this.gb=d.Id(this.H.fg())});a.prototype.nM=function(a){a.pf()!=f.NW&&i("Invalid item type");switch(a.lha){case g.KW:a=new k(a,this);break;
case g.LW:a=new j(a,this);break;default:a=q}a&&a.WI(this.pb,this.Oc*this.ka);return a};a.prototype.getX=P("Z");a.prototype.getY=P("$");a.prototype.Yv=P("pb");a.prototype.Qk=P("ka");a.prototype.Aa=function(){return Math.round(this.Da*this.ka*this.Oc)};a.prototype.bb=function(){return Math.round(this.La*this.ka*this.Oc)};a.prototype.lm=function(a,b){if(this.Oa!=a||this.Ra!=b){this.Oa=a;this.Ra=b;this.Er=p;this.bc()}};a.prototype.Ga=function(a,b,c,d){if(this.Z!=a||this.$!=b||this.pb!=c||this.ka!=d){this.Z=
a;this.$=b;this.pb=c;this.ka=d;this.Dz=p;this.bc()}};a.prototype.Re=function(){if(this.Er){this.Er=y;switch(this.Ic){case c.NONE:this.Oc=1;break;case c.Mj:this.Oc=this.Oa/this.Da;break;case c.mg:this.Oc=this.Ra/this.La;break;case c.bl:this.Oc=this.Da*this.Ra>this.La*this.Oa?this.Ra/this.La:this.Oa/this.Da;break;default:this.Oc=this.Da*this.Ra>this.La*this.Oa?this.Oa/this.Da:this.Ra/this.La}this.Dz=p}if(this.Dz){this.Dz=y;var a=this.Aa(),b=this.bb(),d=Math.cos(this.pb*Math.PI/180),f=Math.sin(this.pb*
Math.PI/180);this.gi(this.Oa*0.5-this.Dl*a+(this.Dl-this.Z)*d*a-(this.El-this.$)*f*b,this.Ra*0.5-this.El*b+(this.El-this.$)*d*b+(this.Dl-this.Z)*f*a);this.SG(this.pb);this.Xz(a,b);for(a=0;a<this.xb.length;a++)this.xb[a].WI(this.pb,this.Oc*this.ka)}h.prototype.Re.call(this)};a.prototype.Bf=function(){var a=Math.round(this.T),b=Math.round(this.ca);if(this.kE){this.ga.save();this.ga.translate(a,0);this.ga.scale(-1,1);this.ga.drawImage(this.gb,0,0,a,b);this.ga.restore()}else this.ga.drawImage(this.gb,
0,0,a,b);h.prototype.Bf.call(this)};return a});
define("ev","require,cL,hp,cl,ih,ft".split(","),function(a){a("cL");var b=a("hp"),c=a("cl"),d=a("ih"),f=a("ft"),a=b.extend(d,function(){d.call(this,q,q);this.RL=p});a.prototype.fb=P("v");a.prototype.render=function(){this.da();this.gJ()};a.prototype.nM=function(a){a.pf()!=c.MW&&i("Invalid item type");a=new f(a,this);a.lm(this.T,this.ca);a.Ga(0.5,0.5,0,1);return a};a.prototype.setSize=function(a,b){this.Xz(a,b);this.RL=p;this.bc()};a.prototype.Re=function(){if(this.RL){this.RL=y;for(var a=0;a<this.xb.length;a++)this.xb[a].lm(this.T,
this.ca)}d.prototype.Re.call(this)};return a});
define("gN","require,cL,hp,jq,fh,hl,eR,ev,bd,N,d".split(","),function(a){var b=a("cL"),c=a("hp"),d=a("jq"),f=a("fh"),g=a("hl"),k=a("eR"),j=a("ev"),h=a("bd"),n=a("N"),e=a("d"),a=c.extend(e,function(){e.call(this);this.xc("Renderer");this.set("toolTipDisabled",p);this.set("cursor",n.Tw);this.Oo=[];this.Os=[];this.ma="";this.ef=new j;this.Pa().append(this.ef.fb());this.bind(d.ub,this.hb,this,p);this.bind(d.Ce,this.Xh,this,p);this.bind(d.rf,this.Th,this,p);h.bind(d.U,this.cS,this,p);this.Bl=this.CQ=y});
a.prototype.bo=function(a){g.bo(a,f.dl)};a.prototype.WU=function(a){return g.WU(a)};a.prototype.Ci=function(a){g.Ci(a,f.dl)};a.prototype.iB=function(a){this.ef.S5(a)};a.prototype.removeItem=function(a){this.ef.k8(a)};a.prototype.SH=function(a,b){this.ef.Wl(a).S5(b)};a.prototype.spa=function(a,b){var c=this.ef.Wl(a);c&&c.k8(b)};a.prototype.jB=function(a){this.ef.Xv(a).tj()};a.prototype.Fg=function(a,b){this.ef.Xv(a).Vc(b)};a.prototype.eC=function(a,b,c,d,e){this.ef.Wl(a).Ga(b,c,d,e)};a.prototype.mqa=
function(a,b,c){this.ef.Xv(a).cqa(b,c)};a.prototype.CB=function(a){return this.ef.Wl(a).getX()};a.prototype.DB=function(a){return this.ef.Wl(a).getY()};a.prototype.pI=function(a){return this.ef.Wl(a).Yv()};a.prototype.F6=function(a){return this.ef.Wl(a).Qk()};a.prototype.BB=function(a){return this.ef.Wl(a).Aa()/k.fl};a.prototype.AB=function(a){return this.ef.Wl(a).bb()/k.fl};a.prototype.render=function(){this.Bl&&this.ef.render()};a.prototype.OI=function(a){this.Oo.push(a);this.i5()};a.prototype.vw=
function(a){a=b(this.Oo).lastIndexOf(a);a>=0&&this.Oo.splice(a,1);this.i5()};a.prototype.i5=function(){var a;a=this.Oo.length>0?this.Oo[this.Oo.length-1]:n.uc;this.getParent().set("cursor",a)};a.prototype.MD=function(){if(this.Oo.length>0){this.getParent().set("cursor",n.uc);this.Oo=[]}};a.prototype.mpa=function(a){this.Os.push(a);this.PA()};a.prototype.fpa=function(a){a=b(this.Os).lastIndexOf(a);a>=0&&this.Os.splice(a,1);this.PA()};a.prototype.PA=function(){var a=this.Os.length==0?"":this.Os[this.Os.length-
1]||"";if(this.ma!=a){this.ma=a;this.getParent().set("toolTip",this.ma)}};a.prototype.Dba=function(){this.ma&&this.getParent().set("toolTip","");this.ma="";this.Os=[]};a.prototype.ei=function(){this.Dba();this.MD();e.prototype.ei.call(this)};a.prototype.hb=function(){this.ef.fb().css({transform:k.fl!=1?"scale("+(1/k.fl).toFixed(3)+")":"none","transform-origin":"0% 0%"});this.ef.setSize(this.Aa()*k.fl,this.bb()*k.fl);this.render()};a.prototype.Xh=function(){this.CQ=p;this.cS()};a.prototype.Th=function(){this.CQ=
y;this.cS()};a.prototype.cS=function(){var a=this.CQ&&!h.isPresenting();if(this.Bl!=a)(this.Bl=a)&&this.render()};return a});
define("E","cL,hp,hH,bL,dl,il,ce,fC,cm,gm,gN,jq,cK,et".split(","),function(a,b,c,d,f,g,k,j,h,n,e,l,r,o){var s=b.extend(k,function(){k.call(this,"map");this.tF=this.YO=this.Ag=y;this.fj=this.ob=this.p=this.g=q;this.Go={};for(var a in s.zm)this.Go[a]=this.Wba(a);this.Nc=b.fo(this.Re,this)});f.A("MapPlayer",s).C("Object").O({map:"Map",viewerArea:"ViewerArea",movementMode:"enum[constrained, free_drag, free_drag_and_rotation, sync_with_field_of_view]",buttonZoomIn:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",
buttonZoomOut:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonRotateClockwise:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonRotateCounterClockwise:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]"}).Yb([l.VC]).Gg({stop:function(){this.sb(n.yd)},rotateClockwise:function(){this.sb(n.xK)},rotateCounterClockwise:function(){this.sb(n.yK)},zoomIn:function(){this.sb(n.xm)},zoomOut:function(){this.sb(n.ym)}});s.prototype.set=function(a,
b){if(this.get(a)!=b){switch(a){case "map":this.YO=p;this.Nc();break;case "viewerArea":this.Ag=p;this.Nc();break;case "panoramaMapLocation":this.NP=p;this.Nc();break;case "movementMode":this.tF=p;this.Nc()}k.prototype.set.call(this,a,b)}};s.prototype.Wba=function(a){var b=s.zm[a],a=new g(this,a,r.Bc);a.bind(l.lb,function(){this.sb(b.movement)},this);b.stopOnRelease&&a.bind(l.Gb,function(){this.sb(n.yd)},this);return a};s.prototype.jma=function(a){this.fj=q;this.set("map",a.get("map"));this.set("panoramaMapLocation",
a)};s.prototype.vpa=function(a){this.get("panoramaMapLocation")==a&&this.set("panoramaMapLocation",q)};s.prototype.Aj=function(a,b,c,d){this.p?this.p.Aj(a,b,c,d):this.fj={yaw:b,pitch:c,hfov:d}};s.prototype.Re=function(){if(this.Ag){this.Ag=y;this.Jr();this.get("viewerArea")&&this.Gr();this.VG(this.get("viewerArea"))}if(this.p){if(this.YO){this.YO=y;var a=this.get("map");if(a){this.xG();this.p.H8(a)}else this.p.vt();this.NP=this.tF=p}if(this.NP){this.NP=y;a=this.get("panoramaMapLocation");this.p.lo(a);
a&&this.fj&&this.p.Aj(a,this.fj.yaw,this.fj.pitch,this.fj.hfov)}if(this.tF){this.tF=y;this.p.Vk(this.get("movementMode"))}}};s.prototype.lA=function(){this.set("map",q)};s.prototype.Gr=function(){var a=this.get("viewerArea");this.g=new e;this.g.S({left:0,top:0,bottom:0,right:0});a.pa(this.g);this.p=new h(a,this.g);this.p.bind(h.jg,this.lk,this);this.p.bind(h.al,this.rn,this);this.p.bind(h.Pq,this.Pu,this);this.p.bind(h.Rq,this.tp,this);this.p.bind(h.Qq,this.sp,this);this.p.bind(h.lg,this.qz,this,
p)};s.prototype.Jr=function(){if(this.g){this.p.unbind(h.jg,this.lk,this);this.p.unbind(h.al,this.rn,this);this.p.unbind(h.Pq,this.Pu,this);this.p.unbind(h.Rq,this.tp,this);this.p.unbind(h.Qq,this.sp,this);this.p.unbind(h.lg,this.qz,this);this.p.clear();this.g.getParent().removeChild(this.g);this.g=q}};s.prototype.tp=function(a){this.lF(a.data.map)};s.prototype.sp=function(a){this.kF(a.data.map)};s.prototype.lk=function(a){for(var b in s.zm)this.Go[b].set("state",a.data[s.zm[b].pressedOn]?o.sa:o.uc);
this.trigger(new d(l.VC,a.data))};s.prototype.qz=function(a){this.trigger(new d(s.lg,{yawDelta:a.data.yawDelta}))};s.prototype.rn=function(a){this.g.getParent().S({progressPercent:a.data.percent,progressVisible:p})};s.prototype.Pu=function(){this.g.getParent().set("progressVisible",y)};s.prototype.sb=function(a){this.p&&this.p.gg(a)};s.zm={buttonRotateClockwise:{movement:n.xK,pressedOn:"rotatingClockwise",stopOnRelease:p},buttonRotateCounterClockwise:{movement:n.yK,pressedOn:"rotatingCounterClockwise",
stopOnRelease:p},buttonZoomIn:{movement:n.xm,pressedOn:"zoomingIn",stopOnRelease:p},buttonZoomOut:{movement:n.ym,pressedOn:"zoomingOut",stopOnRelease:p}};s.lg="requestYawChange";return s});
define("cJ",["hp","hH","jq","bL","dl"],function(a,b,c,d,f){a=a.extend(b,function(){b.call(this);this.Vf=y});f.A("PlayListItem",a).C("Object").O({media:"Media",label:"string"}).Yb([c.Ii,c.Ej,c.yd,c.ua]);a.prototype.start=function(){this.trigger(new d(c.Ii))};a.prototype.stop=function(){this.rC()};a.prototype.rC=function(){this.trigger(new d(c.yd))};a.prototype.Pv=function(){this.Vf=p;this.trigger(new d(c.Ej))};a.prototype.end=function(){this.Vf=y;this.trigger(new d(c.ua))};return a});
define("jI",["hp","dl","ce","cJ"],function(a,b,c,d){a=a.extend(d,function(){d.call(this)});b.A("MapPlayListItem",a).C("PlayListItem").O({media:"Map",player:"MapPlayer"});a.prototype.start=function(){d.prototype.start.call(this);var a=this.get("player");a&&(a.bind(c.Xe,this.tp,this),a.set("map",this.get("media")))};a.prototype.stop=function(){var a=this.get("player");a&&a.get("map")==this.get("media")&&a.set("map",q);d.prototype.stop.call(this)};a.prototype.tp=function(){this.get("player").unbind(c.Xe,
this.tp,this);this.get("player").bind(c.Ig,this.sp,this);this.Pv()};a.prototype.sp=function(){this.get("player").unbind(c.Ig,this.sp,this);this.end()};return a});
define("ja",["require","hp","hH","jq","dl"],function(a){var b=a("hp"),c=a("hH"),d=a("jq"),a=a("dl"),b=b.extend(c,function(){c.call(this);this.set("distance",2)});a.A("Menu",b).C("MenuItem").O({backgroundColor:"color",rollOverBackgroundColor:"color",selectedBackgroundColor:"color",opacity:"number",rollOverOpacity:"number",fontFamily:"string",fontColor:"color",rollOverFontColor:"color",selectedFontColor:"color",distance:"number"}).Yb([d.Cc,d.ec]).uh([d.W]);return b});
define("o",["require","hp","hH","jq","dl"],function(a){var b=a("hp"),c=a("hH"),d=a("jq"),a=a("dl"),b=b.extend(c,function(){c.call(this)});a.A("MenuItem",b).C("Object").O({label:"string",children:"array[MenuItem]"}).Yb([d.Cc,d.ec]).uh([d.W]);return b});
define("gR",["hp","hH","dl"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("MovementPhotoCamera",a).C("PhotoCamera").O({duration:"number",easing:"enum[linear, quad_in, quad_out, quad_in_out, cubic_in, cubic_out, cubic_in_out, quart_in, quart_out, quart_in_out, quint_in, quint_out, quint_in_out]",initialPosition:"PhotoCameraPosition",targetPosition:"PhotoCameraPosition"});return a});
define("fg",["hp","hH","dl"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("Object",a).O({id:"identifier",data:"*"});return a});define("bP",[],function(){var a={Oq:"drag_acceleration",qm:"drag_rotation"};a.MV=a.Oq;a.IW=a.qm;return a});define("jA",["hp","bL"],function(a,b){return a.extend(b,function(a){b.call(this,a);this.LI=this.lJ=this.uq=this.Fq=0})});define("dn",["hp","bL"],function(a,b){return a.extend(b,function(a){b.call(this,a);this.yT=this.goa=0})});
define("dt","require,hp,cL,jq,bL,dZ,bP,jA,dn".split(","),function(a){function b(a,b){return a*b}function c(a){var b=a>0?1:-1;return b*(Math.pow(10,b*a)-1)/9}function d(a,b){return Math.min(Math.max(a/b,-1),1)}var f=a("hp");a("cL");var g=a("jq"),k=a("bL"),j=a("dZ"),h=a("bP"),n=a("jA"),e=a("dn"),l=f.extend(j,function(){j.call(this);this.u0=this.v0=1800;this.mu=7;this.Rfa=this.Hka=0;this.PE=y;this.Lp=m;this.gs=h.MV;this.O4=h.IW;this.mu=0;this.HG=m;this.UA=y;this.Wt=q;this.Vr=3;this.ia=90;this.cN=this.Ns=
this.rb=1;this.ac=this.Ca=q;this.Bz=y});l.prototype.zU=function(a){this.v0=a.get("manualRotationSpeed");this.u0=a.get("manualRotationSpeed");this.Vr=a.get("manualZoomSpeed");this.cN=a.get("draggingFactor")};l.prototype.Cq=function(a){this.gs=a;this.dS()};l.prototype.zt=function(a){this.O4=a;this.dS()};l.prototype.cC=function(a){this.ia=a;this.Ns=this.ia/90};l.prototype.YB=function(a){this.Ul();if(a){this.Ca=a;if(this.ac=a.Ana&&a.ac){this.ac.bind(g.lb,this.y2,this,p);this.ac.bind(g.Gb,this.z2,this,
p)}this.Ca.bind(g.lb,this.Ob,this,p);this.Ca.bind(g.Ac,this.Qh,this,p);this.Ca.bind(g.Gb,this.Tf,this,p);this.Ca.bind(g.vo,this.hs,this,p);this.Ca.cb().get("settings").get(TDV.PlayerSettings.e$)!==y&&this.Ca.bind(g.Ht,this.Sr,this,p);this.Ca.bind(g.OC,this.SZ,this,p);this.Ca.bind(g.NC,this.QZ,this,p);this.dS()}};l.prototype.Ul=function(){if(this.Ca!=q){if(this.ac){this.ac.unbind(g.lb,this.y2,this);this.ac.unbind(g.Gb,this.z2,this);this.ac=q}this.Ca.unbind(g.lb,this.Ob,this);this.Ca.unbind(g.Ac,this.Qh,
this);this.Ca.unbind(g.Gb,this.Tf,this);this.Ca.unbind(g.vo,this.hs,this);this.Ca.unbind(g.Ht,this.Sr,this);this.Ca.unbind(g.OC,this.SZ,this);this.Ca.unbind(g.NC,this.QZ,this);this.Ca=q;this.hE()}};l.prototype.dS=function(){if(this.Ca)if(this.Ca.Wi){this.HG=this.O4;this.mu=this.Hka}else{this.HG=this.gs;this.mu=this.Rfa}};l.prototype.y2=function(){this.Bz=p};l.prototype.z2=function(){this.Bz=y};l.prototype.Ob=function(a){if(!this.Bz){this.eka(a);this.qR()}};l.prototype.Qh=function(a){this.Bz||this.EH(a)};
l.prototype.Tf=function(){if(!this.Bz){this.nN();this.hE()}};l.prototype.hs=function(a){this.mS(a);this.qR(500)};l.prototype.SZ=function(){this.qR()};l.prototype.Sr=function(a){this.nS(a)};l.prototype.QZ=function(){this.hE()};l.prototype.eka=function(a){this.PE=p;this.Lp=a;this.EH(a)};l.prototype.EH=function(a){if(this.PE)switch(this.HG){case h.Oq:this.Ila(a);break;case h.qm:this.Hla(a)}};l.prototype.Ila=function(a){this.t5(+b(c(d(Math.abs(a.x-this.Lp.x)<3?0:a.x-this.Lp.x,this.Ca.Aa())),this.v0*this.Ns),
-b(c(d(Math.abs(a.y-this.Lp.y)<3?0:a.y-this.Lp.y,this.Ca.bb())),this.u0*this.Ns))};l.prototype.Hla=function(a){this.Gla(-b(d(a.x-this.Lp.x,this.Ca.Aa()),this.ia*this.cN),+b(d(a.y-this.Lp.y,this.Ca.Aa()),this.ia*this.cN));this.Lp=a};l.prototype.nN=function(){if(this.PE){this.PE=y;switch(this.HG){case h.Oq:this.t5(0,0)}}};l.prototype.t5=function(a,b){var c=new n(l.Rw);c.Fq=a;c.uq=b;this.trigger(c)};l.prototype.Gla=function(a,b){var c=new n(l.Rw);c.lJ=a;c.LI=b;this.trigger(c)};l.prototype.nS=function(a){if(this.rb!=
a.scale){this.nN();var b=this.rb;this.rb=a.scale;a=new e(l.Lj);a.yT=this.ia*b/this.rb-this.ia;this.trigger(a)}};l.prototype.mS=function(a){if(a.Sn!=0){this.nN();var b=new e(l.Lj);b.yT=this.ia*-a.Sn*this.Vr/100;this.trigger(b)}};l.prototype.qR=function(a){var b=this.Wt!=q;this.r4();if(a&&(b||!this.UA)){var c=this;this.Wt=setTimeout(function(){c.Wt=q;c.hE()},a)}if(!this.UA){this.UA=p;this.trigger(new k(l.Ud))}};l.prototype.hE=function(){this.r4();if(this.UA){this.UA=y;this.trigger(new k(l.Td))}};l.prototype.r4=
function(){if(this.Wt!=q){clearTimeout(this.Wt);this.Wt=q}};l.Rw="rotation change";l.Lj="zoom change";l.Ud="user interaction start";l.Td="user interaction end";return l});
define("cs",["require","t"],function(a){function b(){this.jka=d.Na()?0.066:0.1;this.Tfa=0.5;this.Xja=d.Na()?0.066:0.1;this.ama=0.1;this.bH=this.eH=y;this.reset()}function c(a,b,c){a=(b-a)*(1-c);0.01>Math.abs(a)&&(a=0);return b-a}var d=a("t");b.prototype.reset=function(){this.jZ=this.BM=this.Qx=this.Hr=this.Rx=this.FM=this.EM=this.JM=this.yu=this.Vr=this.CG=this.EG=this.wk=this.Az=this.Pl=this.fB=0};b.prototype.P8=function(a,b,c,d,h,n,e,l,r){return this.fB!=a||(this.Az=b)||this.EG!=c||0!=d||0!=h||
this.bH!=e||this.E0!=l||this.eH!=r?(this.fB=a,this.Az=b,this.EG=c,this.Pl+=d,this.wk+=h,this.CG+=n,this.bH=e,this.E0=l,this.eH=r,p):y};b.prototype.Yqa=function(a,b){return this.Vr!=a||0!=b?(this.Vr=a,this.yu+=b,p):y};b.prototype.bd=function(){return 0!=this.JM||0!=this.EM||0!=this.FM||0!=this.Rx||0!=this.fB||0!=this.Az||0!=this.EG||0!=this.Vr||0!=this.Pl||0!=this.wk||0!=this.yu};b.prototype.eb=function(a){var a=1E3/a,b=this.JM/a,d=this.fB/a+this.Pl;this.Pl=0;var j=this.EM/a,h=this.Az/a+this.wk;this.wk=
0;var n=this.FM/a,e=this.EG/a+this.CG;this.CG=0;var l=this.Vr+this.yu*a;this.yu=0;var r=0==d&&0==h&&0==e,o=0==b&&0==j&&0==n;this.bH&&o&&!r||this.eH&&r&&!o||this.E0&&!r&&!o?(r=r?this.jka:o?this.Xja:this.Tfa,this.Hr=c(b,d,r),this.Qx=c(j,h,r),this.BM=c(n,e,r)):(this.Hr=d,this.Qx=h,this.BM=e);b=0==this.Rx;d=0==l;this.Rx=this.bH&&b&&!d||this.eH&&d&&!b?c(this.Rx,l,this.ama):l;this.JM=this.Hr*a;this.EM=this.Qx*a;this.FM=this.BM*a;this.jZ=this.Rx/a};return b});
define("eY","jquery.mod,hp,d,dt,cs,S,jq".split(","),function(a,b,c,d,f,g,k){b=b.extend(c,function(){c.call(this);this.xc("Renderer");this.t=a("<canvas></canvas>");this.t.css({position:"absolute",left:0,top:0});this.Pa().append(this.t);this.bp=q;this.aa=this.Bu=this.zu=this.Au=0;this.Vf=y;this.Dha=150;this.py=0;this.Kh=q;this.bind(k.ub,this.hb,this,p);this.Ha=new d;this.Ha.Bta(720);this.Ha.$B(0);this.Ha.Cq("drag_rotation");this.Ha.cC(360);this.Ha.bind(d.Rw,this.Qga,this);this.nb=new f});b.prototype.hqa=
function(a,b,c){this.bp=a;this.Au=b;this.zu=c;this.Bu=Math.floor(this.bp.length*this.aa/360);this.GQ();this.Ha.YB(this);this.ea()};b.prototype.zma=function(){this.bp=q;this.Hl();this.GQ();this.Ha.Ul()};b.prototype.play=function(){this.Vf=p;this.ea()};b.prototype.Qga=function(a){this.Hl();this.nb.P8(a.Fq,a.uq,0,a.lJ,a.LI,0,y,p);this.ea()};b.prototype.qP=function(){this.play()};b.prototype.ff=function(a){if(this.bp)if(this.nb.bd()){this.Vf=y;this.nb.eb(a);this.KX(this.nb.Hr);this.ea()}else if(this.Vf){this.KX(this.Dha*
a/1E3);this.ea()}else this.Du()||this.hA()};b.prototype.W8=function(a){for(this.aa=a;this.aa<0;)this.aa=this.aa+360;for(;this.aa>=360;)this.aa=this.aa-360;this.tla()};b.prototype.tla=function(){if(this.bp){var a=Math.floor(this.bp.length*this.aa/360);if(this.Bu!=a){this.Bu=a;this.Y2()}}};b.prototype.KX=function(a){this.W8(this.aa+a)};b.prototype.hb=function(){this.GQ()};b.prototype.GQ=function(){var a=this.t.get(0);if(this.Au==0||this.zu==0){a.width=0;a.height=0}else{var b=this.td(),c=this.sd();if(c*
this.Au>b*this.zu){a.width=b;a.height=this.zu*b/this.Au}else{a.height=c;a.width=this.Au*c/this.zu}this.t.css({left:Math.round((b-a.width)*0.5)+"px",top:Math.round((c-a.height)*0.5)+"px"});this.Y2()}};b.prototype.Y2=function(){if(this.bp){var a=this.t.get(0),b=this.bp[this.Bu];a.getContext("2d").drawImage(b,0,0,this.Au,this.zu,0,0,a.width,a.height)}};b.prototype.Du=function(){return this.Kh?p:y};b.prototype.hA=function(){this.Hl();if(this.py>0){var a=this;this.Kh=setTimeout(function(){a.Kh=q;a.qP()},
this.py)}};b.prototype.Hl=function(){if(this.Kh){clearTimeout(this.Kh);this.Kh=q}};b.prototype.ea=function(){g.Ba(this.ff,this)};return b});
define("hZ","require,jquery.mod,cL,hp,jq,fh,bL,dl,dT,x,eY,jc,gP".split(","),function(a){a("jquery.mod");var b=a("cL"),c=a("hp"),d=a("jq"),f=a("fh"),g=a("bL"),k=a("dl");a("dT");ProgressBar=a("x");Renderer=a("eY");Container=a("jc");ImageLoader=a("gP");a=c.extend(Container,function(){Container.call(this);this.Hc=this.Nh=this.re=this.g=q;this.bind(d.Ce,this.Xh,this);this.bind(d.rf,this.Th,this)});k.A("Object3D",a).C("UIComponent").O({frames:"array[ImageResource]",yaw:"number"}).Yb([d.R]);a.prototype.Ka=
function(){Container.prototype.Ka.call(this);if(!this.g){this.g=new Renderer;this.g.S({left:0,top:0,right:0,bottom:0});this.pa(this.g)}if(!this.re){this.re=new ProgressBar;this.re.S({left:0,bottom:0,right:0,height:20,visible:y});this.pa(this.re)}};a.prototype.Xh=function(){this.Iy()};a.prototype.Th=function(){this.mj()};a.prototype.Iy=function(){this.re.set("percent",0);this.re.set("visible",p);this.g.W8(this.get("yaw"));var a=this.get("frames",[]);this.Nh=[];this.Hc=[];for(var b=0;b<a.length;b++){this.Nh.push(Level.Ok(a[b]));
var c=new ImageLoader(f.dl);c.bind(d.R,this.fz,this);c.bind(d.od,this.gz,this);this.Hc.push(c)}for(b=0;b<a.length;b++)this.Hc[b].load(this.Nh[b].get("url"))};a.prototype.fz=function(){var a=b(this.Hc).filter(function(a){return a.ao()});this.re.set("percent",100*a.length/this.Hc.length);a.length==this.Hc.length&&this.gf()};a.prototype.gz=D();a.prototype.gf=function(){this.re.set("visible",y);var a=this.Nh[0].get("width",this.Hc[0].jc()),c=this.Nh[0].get("height",this.Hc[0].Sc());this.g.hqa(b(this.Hc).map(function(a){return a.Id()}),
a,c);this.trigger(new g(d.R))};a.prototype.mj=function(){if(this.Hc){this.re.set("visible",y);this.g.zma();this.Hc=b(this.Hc).each(function(a){a.unbind(d.R,this.fz,this);a.unbind(d.od,this.gz,this);a.cancel()});this.Nh=this.Hc=q}};return a});
define("eI","require,hp,hH,dl,bQ,ep".split(","),function(a){var b=a("hp"),c=a("hH"),d=a("dl"),f=a("bQ"),g=a("ep"),k=b.extend(c,function(){c.call(this);this.set("initialPosition",new g);this.set("draggingFactor",1);this.set("manualRotationSpeed",1800);this.set("manualZoomSpeed",1);this.set("automaticRotationSpeed",10);this.set("automaticZoomSpeed",10)});d.A("RotationalCamera",k).C("Object").O({displayOriginPosition:"RotationalCameraDisplayPosition",displayMovements:"array[TargetRotationalCameraDisplayMovement]",
initialPosition:"RotationalCameraPosition",initialSequence:"RotationalCameraSequence",idleSequence:"RotationalCameraSequence",sequences:"array[RotationalCameraSequence]",timeToIdle:"number",manualDraggingFactor:"number",manualRotationSpeed:"number",manualZoomSpeed:"number",automaticRotationSpeed:"number",automaticZoomSpeed:"number"});a=b.extend(k,function(){k.call(this);this.set("initialPosition",new f)});d.A("PanoramaCamera",a).C("RotationalCamera");return a});
define("hP",["require","hp","ep","dl"],function(a){var b=a("hp"),c=a("ep"),a=a("dl"),b=b.extend(c,function(){c.apply(this,arguments)});a.A("RotationalCameraDisplayPosition",b).C("RotationalCameraPosition").O({stereographicFactor:"number"});return b});define("gZ",["require","hp","hP","dl"],function(a){var b=a("hp"),c=a("hP"),a=a("dl"),b=b.extend(c,function(){c.apply(this,arguments)});a.A("PanoramaCameraDisplayPosition",b).C("RotationalCameraDisplayPosition");return b});
define("ba",["require","hp","hH","dl"],function(a){var b=a("hp"),c=a("hH"),a=a("dl"),b=b.extend(c,function(){c.call(this)});a.A("PanoramaCameraMovement",b).C("RotationalCameraMovement");return b});
define("hf","require,hp,hH,bL,dl,jq".split(","),function(a){var b=a("hp"),c=a("hH"),d=a("bL"),f=a("dl"),g=a("jq"),a=b.extend(c,function(){c.call(this)});a.prototype.play=function(){this.trigger(new d(g.wo))};a.prototype.pause=function(){this.trigger(new d(g.YC))};f.A("RotationalCameraSequence",a).C("Object").O({movements:"array[RotationalCameraMovement]",mandatory:"bool",movementIndex:"number",repeat:"number",restartMovementOnUserInteraction:"bool",restartMovementDelay:"number"}).Gg({pause:a.prototype.pause,
play:a.prototype.play}).Yb([g.ua,g.cr]);return a});define("bp",["require","hp","dl","hf"],function(a){var b=a("hp"),c=a("dl"),d=a("hf"),a=b.extend(d,function(){d.call(this)});c.A("PanoramaCameraSequence",a).C("RotationalCameraSequence");return a});define("fD",["hp","hH","dl"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("PanoramaMapLocation",a).C("Object").O({map:"Map",x:"number",y:"number",angle:"number",visible:"bool"});return a});
define("jB",["require","hp","hH","dl"],function(a){var b=a("hp"),c=a("hH"),a=a("dl"),b=b.extend(c,function(){c.call(this)});a.A("PanoramaOverlay",b).C("Object");return b});
define("ch",["require","ey","eF","a"],function(a){function b(a){this.g=a;this.Mi=[];this.ZN=y;this.ta=this.aa=0}var c=a("ey"),d=a("eF"),f=a("a");b.prototype.clear=function(){this.stop();this.Mi=this.g=q};b.prototype.end=function(a){function b(a){return 0<=c.indexOf(a)}var c=this.t_(a);this.Mi.forEach(function(a){b(a)||a.jt().stop()});this.Mi=this.Mi.filter(b);this.ZN=y};b.prototype.start=function(a){this.end(a);this.Mi=this.t_(a);this.ZN=0<this.Mi.filter(function(a){return a instanceof d}).length;
this.j5();this.OG(c.Q,p)};b.prototype.play=function(){this.OG(c.Q)};b.prototype.pause=function(){this.OG(c.kc)};b.prototype.stop=function(){this.OG(c.J)};b.prototype.ic=function(){this.aa=this.g.Rb();this.ta=this.g.Xb();this.j5()};b.prototype.j5=function(){if(this.ZN){var a=Math.PI/180,b=this.aa*a,c=this.ta*a,h=new f(Math.sin(b)*Math.cos(c),Math.sin(c),Math.cos(b)*Math.cos(c));this.Mi.forEach(function(n){if(n instanceof d){var e=n.get("yaw",b)*a,l=n.get("pitch",c)*a,r=n.get("maximumAngle",360)*a,
e=new f(Math.sin(e)*Math.cos(l),Math.sin(l),Math.cos(e)*Math.cos(l)),r=Math.min(1,Math.max(0,1-Math.acos(h.et(e))/r));n.jt().Ai(r)}})}};b.prototype.t_=function(a){return a?a.get("audios",[]):[]};b.prototype.OG=function(a,b){(b?this.Mi.slice().reverse():this.Mi).forEach(function(b){if(b.get("autoplay",y)){var b=b.jt(),d=b.get("state");a==c.Q&&d!=c.Q?b.play():a==c.kc&&d==c.Q?b.pause():a==c.J&&d!=c.J&&b.stop()}})};return b});
define("fA","require,cL,jq,hb,ds,a,iB".split(","),function(a){function b(a){this.g=a;this.Y=y;this.fi=b.hr;this.sN=this.Q_=y;this.ig(q);this.g.bind(d.ub,this.hb,this,p);this.hb()}var c=a("cL"),d=a("jq"),f=a("hb"),g=a("ds"),k=a("a"),j=a("iB");b.prototype.i7=function(){return this.fi!==b.hr};b.prototype.h7=function(){return this.fi&b.Mt?p:y};b.prototype.j7=function(){return this.fi&b.Nt?p:y};b.prototype.k7=function(){return this.fi&b.kr?p:y};b.prototype.g7=function(){return this.fi&b.gr?p:y};b.prototype.VI=
N("Q_");b.prototype.Rb=function(){this.ni();return this.aa};b.prototype.Xb=function(){this.ni();return this.ta};b.prototype.Jd=function(){this.ni();return this.Vb};b.prototype.mq=function(){this.ni();return this.ia};b.prototype.ig=function(a){if(a){this.MP=a.get("hfov",360);this.WF=a.get("vfov",180);this.wz=a.get("pitch",0);this.ss=a.get("partial",y);this.aO=a.m7();this.YN=a.b7();this.fO=Math.min(a.get("hfovMax",170),170);this.ny=a.get("hfovMin");this.$O=j.I6(a)}else{this.MP=360;this.WF=180;this.wz=
0;this.YN=this.aO=this.ss=y;this.fO=120;this.$O=this.ny=1}this.aa=0;this.ta=this.wz;this.Vb=0;this.Y=p};b.prototype.Ga=function(a,b,c,d,e){this.aa=a;this.ta=b;this.Vb=c;this.ia=d;this.sN=e;this.Y=p};b.prototype.hb=function(){var a=this.g.Aa(),b=this.g.bb();if(this.T!=a||this.ca!=b){this.T=a;this.ca=b;this.Y=p}};b.prototype.ni=function(){if(this.Y){this.Y=y;var a=this.aa*e,d=this.ta*e,j=this.ia*e,t,u,v,x=(this.sN?f.om(this.fO,this.T,this.ca):this.fO)*e,w;a:{w=this.ny;if(c(w).isString())if((w=w.match(/^\s*([+-]?\d+\.?\d*)\s*%\s*$/))&&
w.length>=2){w=parseFloat(w[1]);break a}w=m}w=w!==m?2*Math.atan2(this.T*this.g.getPixelRatio()*0.5,this.$O*45*w/100):this.ny?(this.sN?f.om(this.ny,this.T,this.ca):this.ny)*e:2*Math.atan2(this.T*this.g.getPixelRatio()*0.5,this.$O*45);w=Math.min(x,w);if(this.Q_){t=360;v=180;u=0}else if(this.aO||this.YN){t=this.YN?90:this.wz+this.WF*0.5;var z=this.aO?-90:this.wz-this.WF*0.5;v=t-z;u=(t+z)*0.5;t=this.MP}else{t=this.MP;u=this.wz;v=this.WF}t=t*e;v=v*e;u=u*e;for(z=this.T/this.ca;a<-h;)a=a+2*h;for(;a>h;)a=
a-2*h;j=Math.max(Math.min(j,x),w);x=b.hr;d>n?x=x|b.kr:d<-n&&(x=x|b.gr);var d=Math.max(Math.min(d,h*0.5),-h*0.5),C=2*Math.atan(Math.tan(j*0.5)/z);if(C>=v){j=2*Math.atan(Math.tan(v*0.5)*z);d=u;x=x|b.kr|b.gr}else{var B=Math.min(v*0.5+u,h*0.5);v=Math.max(-v*0.5+u,-h*0.5);u=!this.ss&&B>=h*0.495?h*0.5:B-C*0.5;v=!this.ss&&v<=-h*0.495?-h*0.5:v+C*0.5;if(d>u){d=u;x=x|b.kr}else if(d<v){d=v;x=x|b.gr}}if(this.ss){v=Math.tan(j*0.5);z=v/z;z=new k(-v,d>0?z:-z,1);v=new g;v.jo(-d);z.apply(v);z=z.Rb()*2;z<0&&(z=z+2*
h);v=t*0.5-z*0.5;C=-t*0.5+z*0.5;if(z>t){a=0;j=Math.max(w,j*t/z);x=x|b.Mt|b.Nt}else if(a>v){a=v;x=x|b.Nt}else if(a<C){a=C;x=x|b.Mt}}this.aa=a*l;this.ta=d*l;this.ia=j*l;this.fi=x}};var h=Math.PI,n=Math.PI*0.5,e=Math.PI/180,l=180/Math.PI;b.hr=0;b.Mt=1;b.Nt=2;b.kr=4;b.gr=8;return b});
define("eS","hp,jq,bL,dZ,t,iH".split(","),function(a,b,c,d,f,g){a=a.extend(d,function(){d.call(this);this.F5=this.V=y;this.Vb=this.ta=this.aa=0;this.AG=y;this.wk=this.Pl=0});a.prototype.wd=function(a){if(this.V!=a)if(this.V=a){g.bind(this.xF,this,p);var a=g.em(),b=a.pitch;this.Pl=this.aa-a.yaw;this.wk=this.ta-b;this.jh()}else g.unbind(this.xF,this,p)};a.prototype.Ga=function(a,b,c){if(this.aa!=a){this.Pl=this.Fs(this.Pl+(a-this.Fs(this.aa,a)),0);this.aa=a}if(this.ta!=b){this.wk=this.wk+(b-this.ta);
this.ta=b}this.Vb=c};a.prototype.Vn=P("aa");a.prototype.Un=P("ta");a.prototype.kt=P("Vb");a.prototype.bd=function(){return g.Woa()};a.prototype.eb=function(a){var b=g.em(),a=20*a/1E3,c=b.pitch+(this.F5?this.wk:0),d=b.roll;this.aa=this.le(this.aa,this.Fs(this.Fs(b.yaw,this.aa)+this.Pl,this.aa),a);this.ta=this.le(this.ta,c,a);this.Vb=this.le(this.Vb,d,a)};a.prototype.Tqa=N("F5");a.prototype.le=function(a,b,c){a=(b-a)*(1-c);Math.abs(a)<0.01&&(a=0);return b-a};a.prototype.Fs=function(a,b){for(;a+180<
b;)a=a+360;for(;a-180>b;)a=a-360;return a};a.prototype.xF=function(){this.V&&this.jh()};a.prototype.jh=function(){this.trigger(new c(b.U))};return a});define("fb",["require"],function(){return{cD:38,FC:40,Ea:39,ha:37,nJ:65,KK:90}});define("cO",[],function(){return{Ww:"left",Xw:"right",Vw:"down",Yw:"up",vW:"rotate10x",UW:"zoom2x",Q:"playing",xm:"zoomIn",ym:"zoomOut",yd:"stop"}});
define("dw","require,hp,fb,bL,dZ,cO".split(","),function(a){var b=a("hp"),c=a("fb"),d=a("bL"),f=a("dZ"),g=a("cO"),k=b.extend(f,function(a){f.call(this);this.g=a;this.V=y;this.df={};this.fA=q;this.Zz=this.eA=y;this.TE=this.TE.bind(this);this.cn=this.cn.bind(this);this.$b=this.g.$b;document.addEventListener("keydown",this.TE);document.addEventListener("keyup",this.cn)});k.prototype.clear=function(){this.V=y;this.$b=this.g=q;document.removeEventListener("keydown",this.TE);document.removeEventListener("keyup",
this.cn)};k.prototype.wd=function(a){if(this.V!=a)(this.V=a)&&this.wH()};var j=[c.cD,c.FC,c.ha,c.Ea,c.nJ,c.KK];k.prototype.TE=function(a){var b=a.which,c=y;if(!this.df[b]&&j.indexOf(b)>=0){if(!this.fA&&!this.eA)this.fA=setTimeout(this.Tga.bind(this),100);c=this.df[b]=p}if(this.Zz!=a.shiftKey){this.Zz=a.shiftKey;c=p}c&&this.wH()};k.prototype.Tga=function(){this.eA=p;this.wH()};k.prototype.cn=function(a){var b=a.which,c=y;if(b in this.df){delete this.df[b];c=y;for(b in this.df)this.df[b]&&(c=p);if(!c){this.fA&&
clearTimeout(this.fA);this.fA=q;this.eA=y}c=p}if(this.Zz!=a.shiftKey){this.Zz=a.shiftKey;c=p}c&&this.wH()};k.prototype.wH=function(){if(this.V){var a=this.$b.get("arrowKeysAction");if(a!="none"){var a=a=="rotate",b=[];this.df[c.nJ]?b.push(g.xm):this.df[c.KK]&&b.push(g.ym);this.eA&&(this.df[c.nJ]||this.df[c.KK])&&b.push(g.UW);this.df[c.ha]?b.push(g.Ww):this.df[c.Ea]&&b.push(g.Xw);if(a||this.Zz)this.df[c.cD]?b.push(g.Yw):this.df[c.FC]&&b.push(g.Vw);this.eA&&(this.df[c.ha]||this.df[c.Ea]||this.df[c.cD]||
this.df[c.FC])&&b.push(g.vW);b.length==0&&b.push(g.yd);this.trigger(new d(k.QJ,{T7:b}))}}};k.QJ="movementsChange";return k});
define("jw",["require"],function(){function a(){this.lr=p;this.reset()}function b(a,b){var f=0.5*(b-a);0.01>Math.abs(f)&&(f=0);return b-f}a.prototype.reset=function(){this.lr&&(this.lr=y,this.hH=this.iH=this.Jn=this.ji=this.iu=this.ku=this.ju=this.No=m)};a.prototype.moveTo=function(a,b,f,g,k){this.ji=a;this.Jn=b;this.iH=f;this.hH=g;this.rO=k;this.lr=p};a.prototype.Ga=function(a,b,f,g){this.No=a;this.ju=b;this.ku=f;this.iu=g};a.prototype.Vn=P("No");a.prototype.Un=P("ju");a.prototype.kt=P("ku");a.prototype.yB=
P("iu");a.prototype.bd=P("lr");a.prototype.eb=function(){if(this.lr)if(this.rO)this.No=this.ji,this.ju=this.Jn,this.ku=this.iH,this.iu=this.hH,this.lr=y;else{for(var a=this.No,d=this.ji-180,f=this.ji+180;a<d;)a+=f-d;for(;a>f;)a-=f-d;this.No=a;this.No=b(this.No,this.ji);this.ju=b(this.ju,this.Jn);this.ku=b(this.ku,this.iH);this.iu=b(this.iu,this.hH);this.No==this.ji&&this.ju==this.Jn&&this.ku==this.iH&&this.iu==this.hH&&(this.lr=y)}};return a});
define("bH",["require","iI","hS","bd"],function(a){function b(){this.V=y;this.Vb=this.ta=this.aa=0;this.WE=m}var c=a("iI"),d=a("hS"),f=a("bd");b.prototype.wd=function(a){this.V!=a&&(this.V=a,this.WE=m)};b.prototype.Ga=function(a,b,c){this.aa=a;this.ta=b;this.Vb=c};b.prototype.Vn=P("aa");b.prototype.Un=P("ta");b.prototype.kt=P("Vb");b.prototype.bd=R(p);b.prototype.eb=function(){var a=c.ZU(f.bm().orientation);this.aa+=this.WE===m?0:a.qa-this.WE;this.WE=a.qa;this.ta=a.pitch;this.Vb=a.cd;this.ta=k===
m?a.pitch:k;this.Vb=g===m?a.cd:g};var g=d.ph("debug")?d.nI("force_vr_roll"):m,k=d.ph("debug")?d.nI("force_vr_pitch"):m;return b});
define("e","require,cL,hp,jq,bL,dZ,bP,eS,dw,cs,dt,jw,bH,cO,bd,N".split(","),function(a){var b=a("cL"),c=a("hp"),d=a("jq"),f=a("bL"),g=a("dZ"),k=a("bP"),j=a("eS"),h=a("dw"),n=a("cs"),e=a("dt"),l=a("jw"),r=a("bH"),o=a("cO"),s=a("bd"),t=a("N"),u=c.extend(g,function(a,b,c){g.call(this);this.g=a;this.$b=this.g.$b;this.I=b;this.yb=c;this.bQ=this.Wo=this.jy=this.rG=this.V=y;this.nb=new n;this.Fk=new l;this.Vb=this.ta=this.aa=0;this.ia=90;this.Ns=1;this.Fe=m;this.xL=this.ux=5;this.Hv=y;this.Ha=new e;this.Ha.bind(e.Rw,
this.A1,this,p);this.Ha.bind(e.Lj,this.vp,this,p);this.Ha.bind(e.Ud,this.pk,this,p);this.Ha.bind(e.Td,this.nk,this,p);this.Ug=new j;this.Ug.bind(d.U,this.c1,this);this.Vo=y;this.Mh=new h(this.g);this.Mh.bind(h.QJ,this.o1,this,p);this.Nl=new r;s.bind(d.U,this.dj,this,p);this.dj()});u.prototype.clear=function(){this.Ha.unbind(e.Rw,this.A1,this,p);this.Ha.unbind(e.Lj,this.vp,this,p);this.Ha.unbind(e.Ud,this.pk,this,p);this.Ha.unbind(e.Td,this.nk,this,p);this.Ha.Ul();this.Ha=q;this.Ug.unbind(d.U,this.c1,
this);this.Ug=q;this.Mh.unbind(h.QJ,this.o1,this,p);this.Mh.clear();this.Mh=q;s.unbind(d.U,this.dj,this,p);this.yb=this.I=this.nb=q;this.MD();this.g=this.$b=q};u.prototype.zU=function(a){this.nb.reset();this.Fk.reset();this.Ha.zU(a);this.ux=a.get("automaticRotationSpeed");this.xL=a.get("automaticZoomSpeed")};u.prototype.gg=function(a){function c(d){return b(a).contains(d)}b.isArray(a)||(a=[a]);var d=0,e=0,f=0,h=y;if(!c(o.yd)){c(o.Ww)?d=-this.ux:c(o.Xw)&&(d=+this.ux);c(o.Vw)?e=-this.ux:c(o.Yw)&&(e=
+this.ux);c(o.xm)?f=-this.xL:c(o.ym)&&(f=+this.xL);c(o.Q)&&(h=p);c(o.UW)&&(f=f*2);if(c(o.vW)){d=d*10;e=e*10}d=d*this.Ns;e=e*this.Ns}this.sb(d,e,0,f,0,0,0,0,h,p,p,p)};u.prototype.Ga=function(a,b,c,d){this.aa=a;this.ta=b;this.Vb=c;this.ia=d;this.Ns=this.ia/90;this.Ug.Ga(this.aa,this.ta,this.Vb);this.Nl.Ga(this.aa,this.ta,this.Vb);this.Ha.cC(this.ia);this.Fk.Ga(this.aa,this.ta,this.Vb,this.ia)};u.prototype.moveTo=function(a,b,c,d,e){this.Fk.moveTo(a,b,c,this.yb.s6(d),e);this.rG=y;this.nb.reset();this.bg()};
u.prototype.LU=function(a,b,c){this.sb(0,0,0,0,a,b,c,0,y,y,y)};u.prototype.bd=function(){return this.V&&(this.bQ||this.jJ())?p:y};u.prototype.jJ=function(){return this.V?this.Hv?p:this.Nl.V?this.Nl.bd()||this.nb.bd():this.Ug.V?this.Vo?p:this.Ug.bd()||this.nb.bd():this.nb.bd()||this.Fk.bd():y};u.prototype.eb=function(a){this.Hv=y;this.nb.eb(a);this.bQ=y;var b,c,d;d=this.ia;if(this.Nl.V){this.Nl.eb(a);a=this.Nl.Vn()+this.nb.Hr;b=this.Nl.Un();c=this.Nl.kt()}else if(this.Fk.bd()){this.Fk.eb(a);a=this.Fk.Vn();
b=this.Fk.Un();c=this.Fk.kt();d=this.Fk.yB()}else{if(this.Ug.V){this.Vo=y;this.Ug.eb(a);a=this.Ug.Vn()+this.nb.Hr;b=this.Ug.Un();this.jy&&(b=b+this.nb.Qx);c=this.Ug.kt()}else{a=this.aa+this.nb.Hr;b=this.ta+this.nb.Qx;c=0}d=d+this.nb.jZ}this.yb.mm(d);this.I.Ga(a,b,c,this.yb.ve(),this.yb.jq());this.aa=this.I.Rb();this.ta=this.I.Xb();this.Vb=this.I.Jd();this.ia=this.I.mq();if(this.rG&&this.I.i7()){d=this.nb.fB;if(this.I.h7()||this.I.j7())d=-d;a=this.nb.Az;if(this.I.k7()||this.I.g7())a=-a;this.sb(d,a,
0,0,0,0,0,0,p,y,y,p)}};u.prototype.Vn=P("aa");u.prototype.Un=P("ta");u.prototype.kt=P("Vb");u.prototype.yB=P("ia");u.prototype.wd=function(a){if(this.V!=a){if(this.V=a){this.Rp(this.Ha.gs==k.qm?t.PC:m);this.Ha.YB(this.g.getParent());this.bg()}else{this.MD();this.Ha.Ul()}this.YR()}};u.prototype.aC=function(a){if(this.Wo!=a){this.Wo=a;this.YR();this.Vo=p}};u.prototype.zq=function(a){this.Mh.wd(a)};u.prototype.YR=function(){this.Ug.wd(this.V&&this.Wo&&!s.isPresenting());this.Nl.wd(this.V&&s.isPresenting())};
u.prototype.c1=function(){this.bg()};u.prototype.bC=function(a){this.jy=a;this.Ug.Tqa(this.jy)};u.prototype.Cq=function(a){this.Ha.Cq(a);this.Rp(this.Ha.gs==k.qm?t.PC:m)};u.prototype.zt=function(a){this.Ha.zt(a)};u.prototype.dj=function(){this.YR();this.bg()};u.prototype.A1=function(a){var b=!this.Nl.V&&(!this.Ug.V||this.jy);if(this.Ha.gs==k.Oq){var c=m;if(a.Fq!=0||a.uq!=0){var d=Math.sqrt(a.uq*a.uq+a.Fq*a.Fq)>25,e=Math.atan2(a.uq,a.Fq)*180/Math.PI;e>=-22.5&&e<22.5?c=d?t.PV:t.OV:e>=22.5&&e<67.5?c=
d?t.RV:t.ZV:e>=67.5&&e<112.5?c=d?t.QV:t.YV:e>=112.5&&e<157.5?c=d?t.SV:t.$V:e>=157.5||e<-157.5?c=d?t.XV:t.dW:e>=-157.5&&e<-112.5?c=d?t.WV:t.cW:e>=-112.5&&e<-67.5?c=d?t.TV:t.aW:e>=-67.5&&e<-22.5&&(c=d?t.VV:t.bW)}this.Rp(c);this.sb(a.Fq,a.uq,0,0,a.lJ,a.LI,0,0,y,y,y,b)}else this.sb(a.Fq,a.uq,0,0,a.lJ,a.LI,0,0,y,y,b,b)};u.prototype.vp=function(a){this.sb(0,0,0,a.goa,0,0,0,a.yT,y,p,y,p)};u.prototype.sb=function(a,b,c,d,e,f,h,g,j,k,l,o){a=y||this.nb.P8(a,b,c,e,f,h,k,l,o);this.$b.get("zoomEnabled")&&(a=a||
this.nb.Yqa(d,g));if(a){this.Fk.reset();this.rG=j;this.bg()}};u.prototype.bg=function(){this.bQ=p;this.trigger(new f(u.kg))};u.prototype.pk=function(){this.Hv=p;this.trigger(new f(u.Ud));this.Ha.gs==k.qm&&this.Rp(t.QC)};u.prototype.nk=function(){this.trigger(new f(u.Td));this.Ha.gs==k.qm&&this.Rp(t.PC)};u.prototype.o1=function(a){this.gg(a.data.T7);a.data.T7.indexOf(o.yd)<0&&this.g.cb().trigger(new f(d.JC,{X8:a}))};u.prototype.Rp=function(a){if(this.Fe!=a&&this.V){this.Fe&&this.g.vw(this.Fe);(this.Fe=
a)&&this.g.OI(this.Fe)}};u.prototype.MD=function(){if(this.Fe){this.g.vw(this.Fe);this.Fe=m}};u.kg="position change request";u.Ud="user interaction start";u.Td="user interaction end";return u});define("in",["require","hp","hH","dl"],function(a){var b=a("hp"),c=a("hH"),a=a("dl"),b=b.extend(c,function(){c.call(this)});a.A("TargetRotationalCameraMovement",b).C("RotationalCameraMovement").O({path:"enum[left, right, shortest, longest]",targetYaw:"number",targetPitch:"number",targetHfov:"number"});return b});
define("C","require,hp,jq,ey,bL,dZ,dl,eu,in,jf,bk".split(","),function(a){var b=a("hp"),c=a("jq"),d=a("ey"),f=a("bL"),g=a("dZ"),k=a("dl");a("eu");a("in");var j=a("jf"),h=a("bk"),n=b.extend(g,function(a,b,c){g.call(this);this.g=a;this.I=b;this.yb=c;this.iv=this.Qc=q;this.Cp=this.Dp=y;this.Mu=[];this.DQ=0;this.L=q;this.ta=this.aa=0;this.ia=90});n.prototype.clear=function(){this.end();this.I=this.g=q};n.prototype.start=function(a){this.zja(a);this.uha();this.Dp=this.Cp=y;this.bg();this.ag()};n.prototype.end=
function(){if(this.Qc!=q){this.LY();this.Dp=this.Cp=y;this.L=q;this.ag()}};n.prototype.$oa=function(){if(this.Qc&&this.Qc.get("restartMovementOnUserInteraction")){if(!this.Dp){this.uR();this.L=q;this.Dp=p;this.ag()}}else this.end()};n.prototype.dpa=function(){if(this.Dp){this.Dp=y;this.f0()||this.dka()}};n.prototype.zja=function(a){this.LY();this.Qc=a;this.Qc.bind(c.wo,this.R1,this,p);this.Qc.bind(c.YC,this.Q1,this,p);this.Qc.bind(c.ba("movementIndex"),this.tP,this,p);this.Mu=this.Qc.get("movements",
[])};n.prototype.LY=function(){this.uR();if(this.Qc!=q){this.Qc.unbind(c.wo,this.R1,this);this.Qc.unbind(c.YC,this.Q1,this);this.Qc.unbind(c.ba("movementIndex"),this.tP,this);this.Qc.set("movementIndex",-1);this.Qc=q;this.Mu=[]}};n.prototype.eg=function(){return this.Qc?this.Cp?d.kc:d.Q:d.J};n.prototype.Ga=function(a,b,c,d){this.aa=a;this.ta=b;this.ia=d};n.prototype.bd=function(){return this.Qc&&this.L&&!this.Cp&&!this.Dp&&!this.f0()?p:y};n.prototype.eb=function(a){if(this.bd()){this.L.eb(a);a=this.L.kb("hfov");
if(this.yb.F7()){var b=this.L.ona();b.tB=this.yb.$H(b.tB);b.eJ=this.yb.$H(b.eJ);a=this.yb.$H(a)}this.I.Ga(this.L.kb("yaw"),this.L.kb("pitch"),0,a,this.yb.jq());this.aa=this.I.Rb();this.ta=this.I.Xb();this.ia=this.I.mq();this.L.ge()&&this.Aga()}};n.prototype.Vn=P("aa");n.prototype.Un=P("ta");n.prototype.yB=P("ia");n.prototype.play=function(){if(this.Cp){this.Cp=y;this.bg();this.ag()}};n.prototype.pause=function(){if(!this.Cp){this.Cp=p;this.ag()}};n.prototype.R1=function(){this.play()};n.prototype.Q1=
function(){this.pause()};n.prototype.uha=function(){this.DQ=0;var a=this.Qc.get("movementIndex",-1);a==-1&&(a=0);this.iG(a)};n.prototype.wha=function(){this.DQ++;var a=this.Qc.get("repeat",1);if(this.Mu.length>0&&(a==0||this.DQ<a))this.iG(0);else{this.Qc.trigger(new f(c.ua));this.end();this.Vka()}};n.prototype.vha=function(){this.iG(this.Qc.get("movementIndex",0)+1)};n.prototype.iG=function(a){if(a<this.Mu.length)this.Qc.get("movementIndex")!=a?this.Qc.set("movementIndex",a):this.tP();else{this.Qc.trigger(new f(c.cr));
this.wha()}};n.prototype.tP=function(){var a=this.Qc.get("movementIndex");this.L=a>=0?this.$ba(this.Mu[a]):q};n.prototype.Aga=function(){this.Mu[this.Qc.get("movementIndex")].trigger(new f(c.ua));this.vha()};n.prototype.f0=function(){return this.iv!=q};n.prototype.dka=function(){this.uR();var a=this,b=this.Qc.get("restartMovementDelay")||0;this.iv=setTimeout(function(){a.iv=q;a.Pga()},b);this.ag()};n.prototype.uR=function(){if(this.iv){clearTimeout(this.iv);this.iv=q}};n.prototype.Pga=function(){this.iG(this.Qc.get("movementIndex"));
this.bg();this.ag()};n.prototype.$ba=function(a){var b,c,d,f=this.Bs(this.aa,-180,180),g=this.ta,n=this.ia;if(k.tb("TargetRotationalCameraMovement",a)){b=a.get("targetYaw",f);c=a.get("targetPitch",g);if(d=a.get("targetHfov")){this.yb.G8(d);d=this.yb.ve()}else d=n;this.I.Ga(b,c,0,d,this.yb.jq());if(this.I.ss)b=this.I.Rb();else switch(a.get("path")){case "left":b=this.Bs(b,f-360,f);break;case "right":b=this.Bs(b,f,f+360);break;case "longest":b=this.Bs(b,f-180,f+180);b=b>=f?this.Bs(b,f-360,f):this.Bs(b,
f,f+360);break;default:b=this.Bs(b,f-180,f+180)}}else if(k.tb("DistanceRotationalCameraMovement",a)){b=f+a.get("yawDelta",0);this.I.ss&&(b=Math.min(Math.max(-180,b),180));c=g+a.get("pitchDelta",0);d=n+a.get("hfovDelta",0);this.I.Ga(b,c,0,d,this.yb.jq());this.I.ss&&(b=this.I.Rb())}c=this.I.Xb();d=this.I.mq();return new j(a.get("easing"),[new h("yaw",f,b,a.get("yawSpeed")),new h("pitch",g,c,a.get("pitchSpeed")),new h("hfov",n,d,a.get("hfovSpeed"))],a.get("duration"))};n.prototype.Bs=function(a,b,c){for(;a<
b;)a=a+(c-b);for(;a>c;)a=a-(c-b);return a};n.prototype.bg=function(){this.trigger(new f(n.kg))};n.prototype.Vka=function(){this.trigger(new f(n.cK))};n.prototype.ag=function(){this.trigger(new f(n.Fb))};n.kg="position change request";n.cK="sequence end";n.Fb="playback state change";return n});
define("bb","require,cL,hp,jq,bL,dZ,fA,e,C,cO,bd,ey".split(","),function(a){var b=a("cL"),c=a("hp"),d=a("jq"),f=a("bL"),g=a("dZ"),k=a("fA"),j=a("e"),h=a("C"),n=a("cO"),e=a("bd"),l=a("ey"),r=c.extend(g,function(a,b){g.call(this);this.g=a;this.g.bind(d.ub,this.hb,this);e.bind(d.U,this.dj,this,p);this.yb=b;this.IQ=y;this.ia=this.Vb=this.ta=this.aa=m;this.Rl=this.Ql=this.Wy=this.Zy=this.Yy=this.Xy=y;this.ii=p;this.yu=this.wk=0;this.V=y;this.Kh=q;this.py=5E3;this.ty=this.oO=q;this.pv=[];this.jf=this.Ao=
l.J;this.I=new k(a);this.Ma=new j(this.g,this.I,this.yb);this.Ma.bind(j.kg,this.wn,this,p);this.Ma.bind(j.Ud,this.pk,this,p);this.Ma.bind(j.Td,this.nk,this,p);this.Jc=new h(this.g,this.I,this.yb);this.Jc.bind(h.kg,this.wn,this,p);this.Jc.bind(h.cK,this.yP,this,p);this.Jc.bind(h.Fb,this.S1,this,p)});r.prototype.clear=function(){this.Hl();this.Ma.unbind(j.kg,this.wn,this);this.Ma.unbind(j.Ud,this.pk,this,p);this.Ma.unbind(j.Td,this.nk,this,p);this.Ma.clear();this.Ma=q;this.Jc.unbind(h.kg,this.wn,this);
this.Jc.unbind(h.cK,this.yP,this);this.Jc.unbind(h.Fb,this.S1,this);this.Jc.clear();this.I=this.Jc=q;this.g.unbind(d.ub,this.hb,this);e.unbind(d.U,this.dj,this,p);this.g=q;b(this.pv).each(function(a){a.unbind(d.wo,this.QQ,this,p)},this);this.pv=[]};r.prototype.end=function(){this.Ao=l.J;this.Hl();this.Ma.wd(y);this.Jc.end();this.V=y;this.Hn(0,0,0,0);this.ty=this.oO=q;b(this.pv).each(function(a){a.unbind(d.wo,this.QQ,this,p)},this);this.pv=[];this.Ss()};r.prototype.start=function(a,b){this.Ao=l.Q;
this.V=p;this.Hn(0,0,0,0);this.Uz(a);this.Zia(b);this.X2();this.cH(this.ty);this.Ss()};r.prototype.eg=P("jf");r.prototype.play=function(){this.Ao=l.Q;this.Jc.eg()==l.kc?this.Jc.play():this.Jc.eg()==l.J&&(this.ty?this.cH(this.ty):this.Du()||this.hA());this.Ss()};r.prototype.Dpa=function(){this.Ao==l.kc&&this.play()};r.prototype.pause=function(){this.Ma.gg(n.yd);if(this.Ao==l.Q){this.Ao=l.kc;if(this.Jc.eg()==l.Q){this.Jc.pause();this.Ss()}else this.Du()&&this.Hl()}};r.prototype.stop=function(){this.Ao=
l.J;this.Jc.eg()!=l.J&&this.Jc.end();this.Ma.gg(n.yd);this.Ss();this.Du()&&this.Hl()};r.prototype.moveTo=function(a,b,c,d,e){this.Ma.moveTo(a,b,c,d,e)};r.prototype.dj=function(){this.I.VI(e.isPresenting())};r.prototype.gg=function(a){this.Ma.gg(a)};r.prototype.LU=function(a,b,c){this.Ma.LU(a,b,c)};r.prototype.aC=function(a){if(this.Wo!=a){this.Wo=a;this.Ma.aC(this.Wo);this.ea()}};r.prototype.bC=function(a){this.Ma.bC(a)};r.prototype.Cq=function(a){this.Ma.Cq(a)};r.prototype.zt=function(a){this.Ma.zt(a)};
r.prototype.zq=function(a){this.Ma.zq(a)};r.prototype.ho=function(a){if(this.V)if(this.Ma.bd()||e.isPresenting()||this.Wo&&(this.Ma.V||!this.Ma.jy)){this.Ma.jJ()&&this.Jc.$oa();this.Ma.eb(a);this.gi(this.Ma.Vn(),this.Ma.Un(),this.Ma.kt(),this.Ma.yB());this.ea()}else if(this.Jc.Dp){this.Jc.dpa();this.ea()}else if(this.Jc.bd()){this.Jc.eb(a);this.gi(this.Jc.Vn(),this.Jc.Un(),0,this.Jc.yB());this.ea()}else if(this.IQ){this.IQ=y;this.yb.mm(this.g.ve());this.I.Ga(this.g.Rb(),this.g.Xb(),this.g.Jd(),this.yb.ve(),
this.yb.jq());this.gi(this.I.Rb(),this.I.Xb(),this.I.Jd(),this.I.mq());this.ea()}else{this.Hn(0,0,0,0);this.Ao==l.Q&&this.Jc.eg()==l.J&&(this.Du()||this.hA())}};r.prototype.ic=function(){this.Bla();this.X2()};r.prototype.Bla=function(){var a=this.g.Rb()-this.aa||0,b=this.g.Xb()-this.ta||0,c=this.g.Jd()-this.Vb||0;this.Hn(a,b,c,this.g.ve()-this.ia||0)};r.prototype.X2=function(){this.aa=this.g.Rb();this.ta=this.g.Xb();this.Vb=this.g.Jd();this.ia=this.g.ve();this.Ma.Ga(this.aa,this.ta,this.Vb,this.ia);
this.Jc.Ga(this.aa,this.ta,this.Vb,this.ia)};r.prototype.Uz=function(a){this.I.ig(a)};r.prototype.Zia=function(a){this.py=a.get("timeToIdle",5E3);this.oO=a.get("idleSequence");this.ty=a.get("initialSequence");this.Ma.zU(a);this.pv=a.get("sequences",[]);b(this.pv).each(function(a){a.bind(d.wo,this.QQ,this,p)},this)};r.prototype.QQ=function(a){this.cH(a.source)};r.prototype.wn=function(){this.Hl();this.ea()};r.prototype.pk=function(){this.trigger(new f(r.Ud))};r.prototype.nk=function(){this.trigger(new f(r.Td))};
r.prototype.cH=function(a){if(a){this.Ma.wd(!a.get("mandatory",y));this.Jc.start(a)}else this.yP()};r.prototype.yP=function(){this.Ma.wd(p);this.hA()};r.prototype.S1=function(){this.Ss()};r.prototype.hb=function(){this.IQ=p;this.ea()};r.prototype.Du=function(){return this.Kh!=q};r.prototype.hA=function(){this.Hl();var a=this;this.Kh=setTimeout(function(){a.Kh=q;a.qP()},this.py)};r.prototype.Hl=function(){if(this.Kh){clearTimeout(this.Kh);this.Kh=q}};r.prototype.qP=function(){this.cH(this.oO)};r.prototype.ea=
function(){this.trigger(new f(r.ra))};r.prototype.gi=function(a,b,c,d){this.g.Ga(a,b,c,d)};r.prototype.Hn=function(a,b,c,d){var c=y,e=Math.abs(a)<0.001&&Math.abs(b)<0.001&&Math.abs(d)<0.001;if(e||this.Wo){c=this.ii!=p;this.Rl=this.Ql=this.Wy=this.Zy=this.Yy=this.Xy=y;this.ii=p}else{if(this.Xy!=a<-0.001){this.Xy=!this.Xy;c=p}if(this.Yy!=a>0.001){this.Yy=!this.Yy;c=p}if(this.Wy!=b<-0.001){this.Wy=!this.Wy;c=p}if(this.Zy!=b>0.001){this.Zy=!this.Zy;c=p}if(this.Ql!=d<-0.001){this.Ql=!this.Ql;c=p}if(this.Rl!=
d>0.001){this.Rl=!this.Rl;c=p}if(this.ii!=e){this.ii=!this.ii;c=p}}e||this.trigger(new f(r.Ij,{yaw:this.aa,pitch:this.ta,roll:this.Vb,hfov:this.ia}));if(c){(this.V||this.ii)&&this.trigger(new f(r.jg,{movingLeft:this.Xy,movingRight:this.Yy,movingUp:this.Zy,movingDown:this.Wy,zoomingIn:this.Ql,zoomingOut:this.Rl,stopped:this.ii}));this.Ss()}};r.prototype.Ss=function(){var a;if(this.V){a=this.Jc.eg();if(!this.ii)a=l.Q}else a=l.J;if(this.jf!=a){this.jf=a;this.trigger(new f(r.Fb,{state:this.jf}))}};r.ra=
"request frame";r.jg="movement change";r.Ij="position change";r.Fb="playback state change";r.Ud="user interaction start";r.Td="user interaction end";return r});
define("O","require,jq,fA,t,iH,hS,bd,iI".split(","),function(a){function b(a,d,f){this.g=a;this.yb=d;this.Av=f;this.I=new c(a);f.Bi&&this.I.ig(f.Bi);this.Gn=new c(a);this.Hu=this.dn=m;this.aa=this.g.Rb();this.ta=this.g.Xb();this.Vb=this.g.Jd();this.ia=this.Av.Bi?this.g.ve():b.mV;this.q4=0;this.K=q;this.l0=p}a("jq");var c=a("fA");a("t");var d=a("iH"),f=a("hS"),g=a("bd"),k=a("iI");b.prototype.ig=function(a){if(this.K!=a){this.Bp=p;this.K=a}};b.prototype.xt=function(a,b){this.aa=a;this.ta=b};b.prototype.Vv=
function(a){this.yb.G8(a);return this.yb.ve()};b.prototype.mm=N("ia");b.prototype.gC=N("l0");b.prototype.yt=N("q4");b.prototype.ho=function(){if(this.yb.F7())this.ia=this.yb.$H(this.ia);if(this.Av.Lb()){var a=g.bm().orientation,a=k.ZU(a);this.aa=this.aa+(this.dn===m?0:a.qa-this.dn);this.dn=a.qa;this.ta=a.pitch;this.Vb=a.cd;this.ta=h===m?a.pitch:h;this.Vb=j===m?a.cd:j}else if(this.Av.Zna()){var a=d.em(),b=this.Fs(a.yaw,this.aa);this.aa=this.aa+(this.dn===m?0:b-this.dn);this.ta=this.ta+(this.Hu===m?
0:a.pitch-this.Hu);this.Vb=a.roll;this.dn=a.yaw;this.Hu=a.pitch}else{a=this.Fs(this.g.Rb(),this.aa);b=this.g.Xb();this.aa=this.aa+(this.dn===m?0:a-this.dn);this.ta=this.ta+(this.Hu===m?0:b-this.Hu);this.Vb=this.g.Jd();this.dn=this.aa;this.Hu=this.ta}this.Bp&&this.I.ig(this.K);this.I.VI(g.isPresenting());this.I.Ga(this.aa,this.ta,this.Vb,this.ia,this.yb.jq());if(this.Bp){this.Bp=y;if(this.Av&&this.Av.Bi)if(a=this.g.of(this.Av.Bi)){a.set("deltaYaw",this.g.Rb()-this.I.Rb());a.set("deltaPitch",this.g.Xb()-
this.I.Xb());a.set("deltaRoll",this.g.Jd()-this.I.Jd())}}this.aa=this.I.Rb();this.ta=this.I.Xb();this.Vb=this.I.Jd();this.ia=this.l0?this.I.mq():this.ia;this.g.Ga(this.aa,this.ta,this.Vb,this.ia);this.g.yt(this.q4)};b.prototype.SI=function(a,b){this.Gn.ig(a);this.Gn.Ga(0,0,0,b,this.yb.jq());return this.Gn.mq()};b.prototype.Gpa=function(a,b){this.Gn.ig(a);this.Gn.Ga(b.qa,b.pitch,b.cd,b.Uc,this.yb.jq());b.qa=this.Gn.Rb();b.pitch=this.Gn.Xb();b.cd=this.Gn.Jd();b.Uc=this.Gn.mq()};b.prototype.Fs=function(a,
b){for(;a+180<b;)a=a+360;for(;a-180>b;)a=a-360;return a};b.prototype.k6=function(){return b.mV};b.mV=TDV.tW.y9;var j=f.ph("debug")?f.nI("force_vr_roll"):m,h=f.ph("debug")?f.nI("force_vr_pitch"):m;return b});
define("jF","require,dl,ep,hP,t,bd".split(","),function(a){function b(a,c,g,e){this.g=a;a=this.g.D;this.aV=a.get("transitionMode","blending");var k=a.get("transitionDuration",500);if(this.Rea(c,g)){this.aV=b.LC;k=1500}this.Y5=a.get("blendingTransitionDuration",k);this.bna=a.get("firstTransitionDuration",k);this.Oma=a.get("disolveTransitionDuration",k);this.lra=a.get("translationTransitionDuration",1E3);this.mra=a.get("translationTransitionEnabled",p);this.Z7=a.get("originTransitionDuration",3E3);
this.mJ=1E3;this.Bi=c;this.bra=!c||c.y7();this.Kc=g;this.jra=!g||g.x7();this.UU=!g||g.y7();this.ira=!!g&&this.HO(g);a=(this.TU=e)&&e.get("initialPosition")||new d;this.qh=new d;this.qh.set("yaw",a.get("yaw",0));this.qh.set("pitch",a.get("pitch"));this.qh.set("hfov",a.get("hfov"));this.$c=new f;this.$c.set("yaw",this.qh.get("yaw"));this.$c.set("pitch",this.qh.get("pitch"));this.$c.set("hfov",this.qh.get("hfov"));this.$c.set("stereographicFactor",0);this.uj=[];if(!c){this.uj=e&&e.get("displayMovements")||
[];for(a=this.uj.length-1;a>=0;a--){this.$c.set("yaw",this.$c.get("yaw",this.uj[a].get("targetYaw")));this.$c.set("pitch",this.$c.get("pitch",this.uj[a].get("targetPitch")));this.$c.set("hfov",this.$c.get("hfov",this.uj[a].get("targethfov")));this.$c.set("stereographicFactor",this.$c.get("stereographicFactor",this.uj[a].get("stereographicFactor")))}e=e&&e.get("displayOriginPosition")||this.qh;this.$c.set("yaw",e.get("yaw"));this.$c.set("pitch",e.get("pitch"));this.$c.set("hfov",e.get("hfov"));this.$c.set("stereographicFactor",
e.get("stereographicFactor"))}this.mode=(this.qC=this.aV==b.Yk&&this.mra&&this.jra?this.Aea(c,g):q)?b.JW:c?g?this.aV=="blending"?b.Yk:b.LC:b.EV:b.DV;if(this.mode==b.Yk&&(!this.bra||!this.UU))if(this.$c.get("stereographicFactor",0)>0||this.uj.filter(function(a){return a.get("targetStereographicFactor",0)>0}).length>0)this.mode=b.LC}var c=a("dl"),d=a("ep"),f=a("hP"),g=a("t"),k=a("bd");b.prototype.Zna=function(){return this.g.$b.get("gyroscopeEnabled")};b.prototype.Lb=function(){return k.isPresenting()};
b.prototype.Aea=function(a,b){if(!a||!b)return q;var c=(a.get("adjacentPanoramas")||[]).filter(function(a){return a.get("enabled")&&a.tma()&&a.get("panorama")==b});return c.length==0?q:c[0]};b.prototype.Rea=function(a,b){return this.Lb()&&g.ud()==g.Hi&&(this.HO(a)||this.HO(b))};b.prototype.HO=function(a){a=(a=a&&a.get("frames"))&&a.length>0&&a[0].get("sphere");return!(!a||!c.tb("Video360Resource",a))};b.LC="fade_out_fade_in";b.DV="fade_in";b.EV="fade_out";b.Yk="blending";b.JW="translation";return b});
define("n",["require"],function(){function a(a,c,d,f){this.p=a;this.Wa=c;this.g=d;this.M=f}a.prototype.ti=R(y);a.prototype.zj=D();a.prototype.KB=R(y);return a});
define("eD",["require","hp","n","jf","bk"],function(a){var b=a("hp"),c=a("n"),d=a("jf"),f=a("bk"),a=b.extend(c,function(a,b,d,f){c.call(this,a,b,d,f);this.L=q;this.gc=y});a.prototype.ti=P("gc");a.prototype.zj=function(a){if(!this.gc){if(!this.L){var b=this.g.of(this.M.Kc);b.tj();b.set("alpha",0.01);this.L=new d("linear",[new f("alpha",0,1,m)],this.M.Y5)}this.L.eb(a);a=this.L.kb("alpha");b=this.g.of(this.M.Kc);b.set("alpha",a);this.L.ge()&&(this.gc=p)}};return a});
define("hM",["require","hp","n"],function(a){var b=a("hp"),c=a("n"),a=b.extend(c,function(a,b,g,k){c.call(this,a,b,g,k);this.gc=y});a.prototype.ti=P("gc");a.prototype.zj=function(){this.gc||(this.Jp(),this.gc=p)};a.prototype.Jp=D();return a});
define("eX",["require","hp","hM"],function(a){var b=a("hp"),c=a("hM"),a=b.extend(c,function(a,b,g,k){c.call(this,a,b,g,k)});a.prototype.Jp=function(){this.M.Kc&&!this.g.of(this.M.Kc)&&(this.se=this.g.create(this.M.Kc),this.se.set("alpha",0),this.g.add(this.se))};return a});define("eZ",["require","hp","hM","hz"],function(a){var b=a("hp"),c=a("hM"),d=a("hz"),a=b.extend(c,function(a,b,d,j){c.call(this,a,b,d,j)});a.prototype.Jp=function(){this.M.ira&&d.nU(this.g.cb(),this)};return a});
define("hi",["require","hp","n","jf","bk"],function(a){var b=a("hp"),c=a("n");Ease=a("jf");EaseDimension=a("bk");a=b.extend(c,function(a,b,g,k){c.call(this,a,b,g,k);this.L=q;this.gc=y});a.prototype.ti=P("gc");a.prototype.zj=function(a){if(!this.gc&&(this.L||(this.L=new Ease("linear",[new EaseDimension("alpha",0,1,m)],this.g.D.yra()?this.M.bna:this.M.Y5)),this.L.eb(a),a=this.L.kb("alpha"),this.g.of(this.M.Kc).set("alpha",a),this.L.ge()))this.gc=p};return a});
define("bm",["require","hp","n","jf","bk"],function(a){var b=a("hp"),c=a("n");Ease=a("jf");EaseDimension=a("bk");a=b.extend(c,function(a,b,g,k){c.call(this,a,b,g,k);this.L=q;this.gc=y});a.prototype.ti=P("gc");a.prototype.zj=function(a){if(!this.gc&&(this.L||(this.L=new Ease("linear",[new EaseDimension("alpha",1,0,m)],this.M.Oma)),this.L.eb(a),a=this.L.kb("alpha"),this.g.of(this.M.Bi).set("alpha",a),this.L.ge()))this.gc=p};return a});
define("cd",["require","hp","n","jf","bk"],function(a){function b(a,b,c){for(;a<b;)a+=c-b;for(;a>c;)a-=c-b;return a}var c=a("hp"),d=a("n"),f=a("jf"),g=a("bk"),a=c.extend(d,function(a,b,c,f){d.call(this,a,b,c,f);this.L=q;this.gc=y;this.rF=0});a.prototype.ti=P("gc");a.prototype.zj=function(a){if(!this.gc&&(this.L||(this.L=this.rF<this.M.uj.length?this.nca(this.rF):this.aca()),this.L.eb(a),this.Wa.xt(this.L.kb("yaw"),this.L.kb("pitch")),this.Wa.mm(this.L.kb("hfov")),this.Wa.yt(this.L.kb("stereographicFactor")),
this.L.ge()))this.L=q,this.rF++,this.rF>this.M.uj.length&&(this.Wa.gC(p),this.gc=p)};a.prototype.aca=function(){var a=b(this.g.Rb(),-180,180),c=this.g.Xb();this.g.Jd();var d=this.g.ve(),n=this.g.k.vh,e=this.M.qh.get("hfov"),e={qa:this.M.qh.get("yaw"),pitch:this.M.qh.get("pitch",c),cd:this.g.Jd(),Uc:e?this.Wa.Vv(e):d,vh:0};this.Wa.Gpa(this.M.Kc,e);e.qa=b(e.qa,a-180,a+180);var l=0.5<Math.abs(d-e.Uc),r=Math.abs(n-e.vh),o=0.01<r,l=this.M.Lb()?1:Math.max(l?this.M.mJ:1,o?this.M.Z7*r:1);return new f(o?"linear":
"cubic_in_out",[new g("yaw",a,e.qa,m),new g("pitch",c,e.pitch,m),new g("hfov",d,e.Uc,m),new g("stereographicFactor",n,e.vh,m)],l)};a.prototype.nca=function(a){var c=this.M.uj[a],d=b(this.g.Rb(),-180,180),n=this.g.Xb();this.g.Jd();var e=this.g.ve(),l=this.g.k.vh,r=c.get("targetStereographicFactor",l),o=c.get("targetHfov");if(o)o=this.Wa.Vv(o);else{for(o=y;a<this.M.uj.length&&!o;a++)o=this.M.uj[a].get("targetHfov")!==m;o?o=e:(o=this.Wa.Vv(this.M.qh.get("hfov",this.Wa.k6())),o=e+(o-e)*(l-r))}var a=c.get("targetYaw",
d),s=c.get("targetPitch",n);this.g.Jd();switch(c.get("path")){case "left":a=b(a,d-360,d);break;case "right":a=b(a,d,d+360);break;case "longest":a=b(a,-360,360);a=a>=d?b(a,d,d+360):b(a,d-360,d);break;default:a=b(a,d-180,d+180)}return new f(c.get("easing"),[new g("yaw",d,a,c.get("yawSpeed")),new g("pitch",n,s,c.get("pitchSpeed")),new g("hfov",e,o,c.get("hfovSpeed")),new g("stereographicFactor",l,r,c.get("stereographicFactorSpeed"))],c.get("duration"))};return a});
define("dM",["require","hp","n","jf","bk"],function(a){var b=a("hp"),c=a("n"),d=a("jf"),f=a("bk"),a=b.extend(c,function(a,b,d,f){c.call(this,a,b,d,f);this.L=q;this.gc=y});a.prototype.ti=P("gc");a.prototype.zj=function(a){if(!this.gc){if(!this.L){var b=this.g.Xb(),c=this.g.ve(),h=this.g.k.vh,n=this.M.$c.get("stereographicFactor",0),e=Math.abs(h-n),l=0<n?this.M.$c.get("pitch",b):b,r=this.M.$c.get("hfov"),r=r?this.Wa.Vv(r):c;0==n&&(r=Math.min(c,this.Wa.SI(this.M.Kc,r)));this.Wa.gC(y);e=this.M.Lb()?1:
Math.max(0.5<Math.abs(c-r)?this.M.mJ:1,0.01<e?this.M.Z7:1);this.L=new d("cubic_in_out",[new f("hfov",c,r,m),new f("pitch",b,l,m),new f("stereographicFactor",h,n,m)],e)}this.L.eb(a);this.Wa.mm(this.L.kb("hfov"));this.Wa.yt(this.L.kb("stereographicFactor"));this.Wa.xt(this.g.Rb(),this.L.kb("pitch"));this.L.ge()&&(this.Wa.ig(this.M.Kc),this.Wa.xt(this.M.$c.get("yaw"),this.M.$c.get("pitch",this.g.Xb())),this.gc=p)}};return a});
define("cV",["require","hp","hM"],function(a){var b=a("hp"),c=a("hM"),a=b.extend(c,function(a,b,g,k){c.call(this,a,b,g,k)});a.prototype.Jp=function(){this.g.remove(this.g.of(this.M.Bi))};return a});
define("q",["require","hp","hM"],function(a){var b=a("hp"),c=a("hM"),a=b.extend(c,function(a,b,g,k){c.call(this,a,b,g,k)});a.prototype.Jp=function(){this.Wa.ig(this.M.Kc);this.Wa.xt(this.M.qh.get("yaw"),this.M.qh.get("pitch",this.g.Xb()));var a=this.M.qh.get("hfov");a&&(a=this.Wa.Vv(a),this.Wa.mm(a))};return a});
define("eG",["require","hp","hM"],function(a){var b=a("hp"),c=a("hM"),a=b.extend(c,function(a,b,g,k){c.call(this,a,b,g,k)});a.prototype.Jp=function(){this.Wa.ig(this.M.Kc);this.Wa.yt(this.M.UU?this.M.$c.get("stereographicFactor",0):0);this.Wa.xt(this.M.$c.get("yaw"),this.M.$c.get("pitch",this.g.Xb()));var a=this.M.$c.get("hfov");!a&&!this.M.Bi&&(a=this.Wa.k6());a&&(a=this.Wa.Vv(a),this.Wa.mm(a),this.Wa.gC(!this.M.UU))};return a});
define("eb",["require","hp","hM"],function(a){var b=a("hp"),c=a("hM"),a=b.extend(c,function(a,b,g,k){c.call(this,a,b,g,k)});a.prototype.Jp=function(){this.Wa.ig(this.M.Kc);this.Wa.mm(this.Wa.SI(this.M.Kc,this.g.ve()));this.Wa.xt(this.g.Rb()+this.M.qC.y6(),this.g.Xb())};a.prototype.KB=R(p);return a});
define("jk",["require","hp","n","jf","bk"],function(a){var b=a("hp"),c=a("n"),d=a("jf"),f=a("bk"),a=b.extend(c,function(a,b,d,f){c.call(this,a,b,d,f);this.L=q;this.gc=y});a.prototype.ti=P("gc");a.prototype.zj=function(a){if(!this.gc){if(!this.L){var b=this.g.ve(),c=this.Wa.SI(this.M.Kc,b),h=!this.M.Lb()&&0.01<Math.abs(b-c)?this.M.mJ:1;this.L=new d("cubic_in_out",[new f("hfov",b,c,m)],h)}this.L.eb(a);this.Wa.mm(this.L.kb("hfov"));this.L.ge()&&(this.Wa.gC(p),this.gc=p)}};return a});
define("dF",["require","hp","n","jf","bk"],function(a){var b=a("hp"),c=a("n"),d=a("jf"),f=a("bk"),a=b.extend(c,function(a,b,d,f){c.call(this,a,b,d,f);this.L=q;this.gc=y});a.prototype.ti=P("gc");a.prototype.zj=function(a){if(!this.gc){if(!this.L){var b=this.g.ve(),c=Math.min(this.Wa.SI(this.M.Kc,b),b),h=!this.M.Lb()&&0.01<Math.abs(b-c)?this.M.mJ:1;this.L=new d("cubic_in_out",[new f("hfov",b,c,m)],h);this.Wa.gC(y)}this.L.eb(a);this.Wa.mm(this.L.kb("hfov"));this.L.ge()&&(this.Wa.ig(this.M.Kc),this.Wa.xt(this.g.Rb()+
this.M.qC.y6(),this.g.Xb()),this.gc=p)}};a.prototype.KB=R(p);return a});
define("be",["require","hp","n","t"],function(a){var b=a("hp"),c=a("n"),d=a("t"),a=b.extend(c,function(a,b,d,j){c.call(this,a,b,d,j);this.k="not initialized";this.za=0});a.prototype.ti=function(){return"ended"==this.k};a.prototype.zj=function(a){this.ti()||("not initialized"==this.k&&this.uy(),"initialized"==this.k&&(this.Gk.get("ready")||this.Gk.CT())&&this.Tja(),"started"==this.k&&this.G(a),1<=this.za&&this.Yx())};a.prototype.uy=function(){this.A2=this.M.lra;this.yx=0.25;this.Naa=0.75;this.Uha=
0.25;this.P4=this.Bea();this.ZK=0.5*this.A2;this.bla=this.A2-2*this.ZK;this.Oy=1/(this.ZK+this.bla);this.kD=this.Oy/this.ZK;this.In=0;this.Gk=this.g.of(this.M.Kc);this.kR=this.g.of(this.M.Bi);this.ou=this.M.qC.tna();this.k="initialized"};a.prototype.Bea=function(){var a=this.M.qC.get("distance");return a?Math.min(0.99,a/this.M.Bi.get("distanceToFloor")):0.75};a.prototype.Tja=function(){this.g.I8(!this.M.Lb()&&d.browser()!=d.$k);this.Gk.tj();this.k="started"};a.prototype.G=function(a){this.Gk.get("ready")||
this.za<this.Uha?this.za>=1-0.5*this.In*this.In/this.kD?this.In=Math.sqrt(2*(1-this.za)*this.kD):this.In<this.Oy&&(this.In=Math.min(this.In+this.kD*a,this.Oy)):this.In=Math.max(this.In-this.kD*a,0);this.za=Math.min(Math.max(0,this.za+this.In*a),1);this.Gk.get("ready")||(this.yx=Math.max(this.yx,this.za));this.wla(this.za,Math.max(0,Math.min(1,(this.za-this.yx)/(this.Naa-this.yx))))};a.prototype.Yx=function(){this.Gk.set("alpha",1);this.g.I8(y);this.k="ended"};a.prototype.wla=function(a,b){var c=(a-
1)*this.P4;this.Gk.set("translationX",c*this.ou.x);this.Gk.set("translationY",c*this.ou.y);this.Gk.set("translationZ",c*this.ou.z);this.Gk.get("ready");c=a*this.P4;this.kR.set("translationX",c*this.ou.x);this.kR.set("translationY",c*this.ou.y);this.kR.set("translationZ",c*this.ou.z);this.Gk.set("alpha",Math.max(0.01,Math.min(0.99,b)))};a.prototype.KB=function(){return this.za<this.yx};return a});
define("fQ",["require","hp","hM"],function(a){var b=a("hp"),c=a("hM"),a=b.extend(c,function(a,b,g,k,j){c.call(this,a,b,g,k);this.fba=j});a.prototype.Jp=function(){this.fba.call(this.p)};return a});define("dW",["require","hp","n"],function(a){var b=a("hp"),c=a("n"),a=b.extend(c,function(a,b,g,k){c.call(this,a,b,g,k)});a.prototype.ti=function(){var a=this.g.cb(),b=a&&a.IH,a=a&&a.nF;return!!b&&!b.get("visible")&&!!a&&!a.get("visible")};return a});
define("dy",["require","hp","n"],function(a){var b=a("hp"),c=a("n"),a=b.extend(c,function(a,b,g,k){c.call(this,a,b,g,k);this.uG=q});a.prototype.ti=function(){this.uG||(this.uG=this.M.Kc&&this.g.of(this.M.Kc));return this.uG&&this.uG.get("ready")};a.prototype.KB=R(p);return a});
define("jy","require,bL,dZ,O,jF,eD,eX,eZ,hi,bm,cd,dM,cV,q,eG,eb,jk,dF,be,fQ,dW,dy,hp".split(","),function(a){var b=a("bL"),c=a("dZ"),d=a("O"),f=a("jF"),g=a("eD"),k=a("eX"),j=a("eZ"),h=a("hi"),n=a("bm"),e=a("cd"),l=a("dM"),r=a("cV"),o=a("q"),s=a("eG"),t=a("eb"),u=a("jk"),v=a("dF"),x=a("be"),w=a("fQ"),z=a("dW"),C=a("dy"),B=a("hp").extend(c,function(a,b,d){c.call(this);this.D=a;this.g=b;this.yb=d;this.Wa=q;this.rZ=this.ll=this.zz=this.xn=m;this.M=q;this.fe=[]});B.prototype.clear=function(){this.AQ(this.ll);
this.M&&this.AQ(this.M.Kc);this.zz=this.xn=m;this.I=this.yb=this.g=this.D=this.M=q};B.prototype.start=function(a,b){if(!this.M&&a==this.ll||this.M&&a==this.M.Kc)this.zz=this.xn=m;else{this.xn=a;this.zz=b;this.fe.length==0&&this.dH()}};B.prototype.hide=function(){this.xn=q;!this.M&&this.ll&&this.dH()};B.prototype.pna=function(){return this.M&&this.M.Kc};B.prototype.dH=function(){this.M=new f(this.g,this.ll,this.xn,this.zz);this.Wa=new d(this.g,this.yb,this.M);this.zz=this.xn=m;this.Bb(k);switch(this.M.mode){case f.EV:this.lc(this.AA);
this.Bb(n);this.lc(this.zA);this.Bb(r);this.lc(this.Qs);break;case f.DV:this.lc(this.tH);this.Bb(C);this.Bb(j);this.Bb(s);this.lc(this.Bv);this.Bb(h);this.Bb(z);this.Bb(e);this.lc(this.sH);break;case f.LC:this.lc(this.tH);this.lc(this.AA);this.Bb(n);this.lc(this.zA);this.Bb(r);this.lc(this.Qs);this.Bb(C);this.Bb(j);this.Bb(s);this.lc(this.Bv);this.Bb(h);this.Bb(z);this.Bb(e);this.lc(this.sH);break;case f.JW:this.lc(this.tH);this.lc(this.AA);this.lc(this.zA);if(this.M.Lb()){this.Bb(t);this.lc(this.Bv);
this.Bb(x);this.Bb(r);this.lc(this.Qs)}else{this.Bb(v);this.lc(this.Bv);this.Bb(x);this.Bb(r);this.lc(this.Qs);this.Bb(u);this.Bb(j);this.Bb(z)}this.lc(this.sH);break;case f.Yk:this.lc(this.tH);this.Bb(C);if(this.M.Lb()){this.lc(this.AA);this.lc(this.zA);this.Bb(o);this.lc(this.Bv);this.Bb(g);this.Bb(r);this.lc(this.Qs)}else{this.lc(this.AA);this.lc(this.zA);this.Bb(l);this.lc(this.Bv);this.Bb(g);this.Bb(r);this.lc(this.Qs);this.Bb(j);this.Bb(z);this.Bb(e)}this.lc(this.sH)}this.ea()};B.prototype.HR=
function(){this.ll=this.M.Kc;this.rZ=this.M.TU;this.M=this.Wa=q;this.xn===m?this.ll?this.Ika(this.ll,this.rZ):this.Jka():this.dH()};B.prototype.ho=function(a){for(;this.fe.length;){var b=this.fe[0];if(this.xn!==m&&this.xn!==this.ll&&b.KB()){this.AQ(this.M.Kc);this.fe=[];this.dH();break}else{b.zj(a);this.ea();this.Wa.ho(a);if(b.ti()){this.fe.shift();this.fe.length==0&&this.HR()}else break}}};B.prototype.ic=D();B.prototype.Bb=function(a){this.fe.push(new a(this,this.Wa,this.g,this.M))};B.prototype.lc=
function(a){this.fe.push(new w(this,this.Wa,this.g,this.M,a))};B.prototype.AQ=function(a){if(a)if(a=this.g.of(a)){this.g.remove(a);this.Qs()}};B.prototype.tH=function(){this.trigger(new b(B.bK,{panorama:this.M.Kc}))};B.prototype.Qs=function(){this.trigger(new b(B.TJ,{panorama:this.M?this.M.Bi:this.ll}))};B.prototype.AA=function(){this.trigger(new b(B.Tq,{panorama:this.M.Bi}))};B.prototype.zA=function(){this.trigger(new b(B.Sq,{panorama:this.M.Bi,nextPanorama:this.M.Kc}))};B.prototype.sH=function(){this.trigger(new b(B.Uq,
{panorama:this.M.Kc,camera:this.M.TU}))};B.prototype.Bv=function(){this.trigger(new b(B.Vq,{panorama:this.M.Kc,camera:this.M.TU}))};B.prototype.Ika=function(a,c){this.trigger(new b(B.EJ,{panorama:a,camera:c}))};B.prototype.Jka=function(){this.trigger(new b(B.FJ))};B.prototype.ea=function(){this.trigger(new b(B.ra))};B.ra="request frame";B.bK="request load";B.TJ="panorama removed";B.EJ="all pending panoramas displayed";B.FJ="all pending panoramas hidden";B.Sq="panorama end";B.Vq="panorama start";B.Uq=
"panorama show";B.Tq="panorama hide";return B});
define("hh",["require","hp","bL","dZ"],function(a){var b=a("hp"),c=a("bL"),d=a("dZ"),f=b.extend(d,function(a){d.call(this);this.g=a});f.prototype.clear=function(){this.end();this.g=q};f.prototype.ow=function(a){for(var b=this.sE(a),c=a.oI(),d=0;d<b;d++)this.g.of(this.GN(a,d)).set("alpha",d==c?1:0)};f.prototype.getTime=R(0);f.prototype.start=D();f.prototype.end=D();f.prototype.play=D();f.prototype.pause=D();f.prototype.uw=D();f.prototype.Aw=D();f.prototype.cJ=D();f.prototype.stop=D();f.prototype.wt=
D();f.prototype.yq=D();f.prototype.kJ=D();f.prototype.ic=D();f.prototype.eg=D();f.prototype.sE=function(a){return a.get("frames").length};f.prototype.GN=function(a,b){return a.get("frames")[b]};f.prototype.ea=function(){this.trigger(new c(f.ra))};f.prototype.Jk=function(a,b,d,h,n,e){this.trigger(new c(f.Fi,{time:a,duration:b,transitionPosition:d,transitionLength:h,steps:n,selectedStep:e}))};f.prototype.ag=function(){this.trigger(new c(f.Fb,{state:this.eg()}))};f.ra="request frame";f.A9="frame display";
f.B9="frame hide";f.Fi="time change";f.Fb="playback state change";return f});
define("Z","require,jquery.mod,cL,hp,jq,fh,bL,hh,er,ds,hS,bd,gP".split(","),function(a){a("jquery.mod");var b=a("cL"),c=a("hp"),d=a("jq"),f=a("fh");a("bL");var g=a("hh"),k=a("er"),j=a("ds");a("hS");var h=a("bd"),n=a("gP"),e=c.extend(g,function(a){g.call(this,a);this.oE=q;this.tN=this.Rr=0;this.K=this.fs=q;this.$x=m;this.eQ=y;this.ia=360;this.G5=180;this.ta=0.5;this.$i=0.2;this.kn=0.45;this.p0=5E3;this.t0=1;this.oF=[[0.5,0.25],[0.5,0.375],[0.25,0.5],[0.375,0.5],[0.5,0.5],[0.625,0.5],[0.75,0.5],[0.5,
0.625],[0.5,0.75]];this.Pfa=[0.05,0.1,0.05,0.1,0.4,0.1,0.05,0.1,0.05]});e.prototype.ow=function(a){g.prototype.ow.call(this,a);this.Uz(a)};e.prototype.start=function(a){this.Uz(a);this.ea()};e.prototype.end=function(){this.Uz(q)};e.prototype.Uz=function(a){if(this.K!=a){if(this.K){this.Zka();this.K=q;this.cla()}if(this.K=a){this.Kaa();this.ia=a.get("hfov",360);this.G5=a.get("vfov",180);this.ta=a.get("pitch",0);this.jQ=this.xs=m;this.Ifa(a);this.za=0.5}}};e.prototype.kJ=function(){this.eQ=y};e.prototype.wt=
function(a){this.za=a/e.kx;this.ea();this.eQ=p};e.prototype.yq=function(a){this.wt(a)};e.prototype.Jk=function(){var a=this.sE(this.K),b=this.za*(a-1),c=Math.max(0,Math.min(a-2,Math.floor(b))),d=m;b-c<0.01?d=c:b-c>0.99&&(d=c+1);g.prototype.Jk.call(this,this.za*e.kx,e.kx,this.za*e.kx,e.kx,a,d)};e.prototype.ic=function(a){if(this.K){var b=this.g.Rb(),c=this.g.Xb(),d=this.g.Jd(),e=0;if(this.xs!==m&&this.jQ!==m&&this.L2!==m)var f=b-this.xs,g=c-this.jQ,n=d-this.L2,e=Math.sqrt(f*f+g*g+n*n)*1E3/a;this.xs=
b;this.jQ=c;this.L2=d;for(var f=this.sE(this.K),w=this.za*(f-1),g=Math.max(0,Math.min(f-2,Math.floor(w))),n=g+1,w=1-(w-g),z=1-w,C=[],B=0;B<f;B++)C.push(0);C[n]=z;C[g]=z<1?1:0;for(B=0;B<f;B++)this.g.of(this.GN(this.K,B)).set("alpha",C[B]);this.Jk();if(this.oE&&(e<=this.t0||h.isPresenting())&&!this.eQ){var B=Math.PI/180,e=180/Math.PI,C=this.g.Aa(),G=this.g.bb(),A=new j;A.xq(-d*B);A.jo(-c*B);A.wq(-b*B);b=[];for(B=0;B<this.oF.length;B++){d=this.g.unproject(new k(this.oF[B][0]*C,this.oF[B][1]*G,0)).Una();
d.apply(A);c=d.Rb()*e;d=d.Xb()*e;b.push(Math.round((90-d)*this.tN/180)*this.Rr+Math.round((c+180)*this.Rr/360))}c=[];for(B=0;B<f;B++){d=this.oE[B];for(C=e=0;C<this.oF.length;C++)e=e+this.Pfa[C]*d[b[C]];c.push(e)}B=c[g];b=c[n];g=w*c[g]+z*c[n];a=Math.min(1/f,a/this.p0);f=this.za;n=Math.max.apply(Math,c);w=Math.min.apply(Math,c);g<this.$i&&g<n?f=b>g?f+a:f-a:g>this.kn&&g>w&&(f=B<g?f-a:f+a);f=Math.min(1,Math.max(0,f));if(this.za!=f){this.za=f;this.ea()}}}};e.prototype.Ifa=function(a){var c=b(a.get("frames",
[])).map(function(a){return a.get("thumbnailUrl")});this.fs=b(c).map(function(a){var b=q;if(a){b=new n(f.dl);b.bind(d.R,this.w1,this);b.bind(d.od,this.x1,this)}return b},this);b(this.fs).each(function(a,b){a&&a.load(c[b])})};e.prototype.cla=function(){this.nZ();this.oE=q};e.prototype.wga=function(){this.Rr=150;this.fs.map(function(a){if(a)this.Rr=Math.min(a.jc()*360/this.ia,this.Rr)},this);this.tN=Math.round(this.Rr/2);this.oE=this.fs.map(function(a){return this.jca(a,this.Rr,this.tN,this.ia,this.G5,
this.ta)},this);this.nZ()};e.prototype.jca=function(a,b,c,d,e,f){var h=document.createElement("canvas");h.width=b;h.height=c;var g=h.getContext("2d");g.fillStyle="#000000";g.fillRect(0,0,b,c);if(a){a=a.Id();d=Math.round(b*d/360);g.drawImage(a,(b-d)*0.5,Math.round(c*(90-(f+e*0.5))/180),d,Math.round(c*e/180))}b=[];h=g.getImageData(0,0,h.width,h.height);for(c=g=0;g<h.height;g++)for(e=0;e<h.width;e++,c=c+4)b.push((0.299*h.data[c]+0.587*h.data[c+1]+0.114*h.data[c+2])/255);return b};e.prototype.nZ=function(){b(this.fs).each(function(a){if(a){a.unbind(d.R,
this.w1,this);a.unbind(d.od,this.x1,this);a.cancel()}},this);this.fs=q};e.prototype.w1=function(){b(this.fs).filter(function(a){return a&&!a.ao()}).length==0&&this.wga()};e.prototype.x1=D();e.prototype.Kaa=function(){this.K.bind(d.ba("minimumLuminance"),this.sn,this);this.K.bind(d.ba("maximumLuminance"),this.sn,this);this.K.bind(d.ba("luminanceChangeTime"),this.sn,this);this.K.bind(d.ba("maxLuminanceChangeSpeed"),this.sn,this);this.sn()};e.prototype.Zka=function(){this.K.unbind(d.ba("minimumLuminance"),
this.sn,this);this.K.unbind(d.ba("maximumLuminance"),this.sn,this);this.K.unbind(d.ba("luminanceChangeTime"),this.sn,this);this.K.unbind(d.ba("maxLuminanceChangeSpeed"),this.sn,this)};e.prototype.sn=function(){this.$i=this.K.get("minimumLuminance");this.kn=this.K.get("maximumLuminance");if(this.$i==m&&this.kn==m){this.$i=0.2;this.kn=0.45}else this.$i==m?this.$i=Math.min(0.2,this.kn):this.$i==m?this.kn=Math.max(0.45,this.$i):this.$i=Math.min(this.$i,this.kn);this.kn=Math.min(1,Math.max(0,this.kn));
this.$i=Math.min(1,Math.max(0,this.$i));this.p0=Math.max(100,this.K.get("luminanceChangeTime",5E3));this.t0=this.K.get("maxLuminanceChangeSpeed",1);this.ea()};e.kx=1E3;return e});
define("iD",["require","hp","v","ey","hh"],function(a){var b=a("hp"),c=a("v"),d=a("ey"),f=a("hh"),a=b.extend(f,function(a){f.call(this,a);this.mE=this.nE=q;this.Nf=this.He=5E3;this.Wb=m;this.Ib=this.He;this.Si=1;this.K=q;this.$r=y});a.prototype.start=function(a){this.K=a;this.$r=y;this.NE=p;this.nE=c.watch(this.K,"frameDisplayTime",this.TR,this);this.mE=c.watch(this.K,"frameTransitionTime",this.TR,this);this.Si=this.sE(this.K);this.Wb=this.K.oI()*(this.He+this.Nf);this.TR(p);this.Jk();this.ea();this.ag()};
a.prototype.TR=function(a){var b=Math.max(100,this.K.get("frameDisplayTime",5E3)),c=Math.max(100,this.K.get("frameTransitionTime",5E3));if(this.He!=b||this.Nf!=c||a){var a=this.uu(),d=this.Jda();this.BN();this.He=b;this.Nf=c;1<this.Si?(this.Wb=a*(this.He+this.Nf)+d*this.He+d*this.Nf,this.Ib=this.Si*(this.He+this.Nf)):(this.Wb=d*this.He,this.Ib=this.He)}};a.prototype.uu=function(){return 1<this.Si?Math.floor(this.Wb/(this.He+this.Nf)):0};a.prototype.Kda=function(){return 1<this.Si?(this.uu()+1)%this.Si:
0};a.prototype.Jda=function(){return 1<this.Si?Math.max(0,Math.min(1,this.Wb-this.uu()*(this.He+this.Nf))):this.Wb/this.He};a.prototype.BN=function(){return 1<this.Si?Math.max(0,Math.min(1,(this.Wb-(this.uu()*(this.He+this.Nf)+this.He))/this.Nf)):0};a.prototype.ika=function(a){var b=Math.floor(a/this.Nf);return b*(this.He+this.Nf)+this.He+(a-b*this.Nf)};a.prototype.G4=function(a){var b=Math.floor(a/(this.He+this.Nf)),a=Math.max(0,a-b*(this.He+this.Nf)-this.He);return b*this.Nf+a};a.prototype.play=
function(){this.$r&&(this.$r=y,this.NE&&this.ea(),this.ag())};a.prototype.pause=function(){this.$r=p;this.ag()};a.prototype.uw=function(){this.pause()};a.prototype.Aw=function(){this.play()};a.prototype.end=function(){this.NE=y;this.K=q;this.nE&&(this.nE.unwatch(),this.nE=q);this.mE&&(this.mE.unwatch(),this.mE=q);this.ag()};a.prototype.wt=function(a){this.Wb=a;this.ea()};a.prototype.yq=function(a){this.Wb=this.ika(a);this.ea();this.pause()};a.prototype.ic=function(a){if(this.NE){this.$r||(this.Wb+=
a);this.Wb%=this.Ib;for(var a=this.uu(),b=this.Kda(),c=this.BN(),d=b>a?c:1,c=b>a?1:1-c,f=0;f<this.Si;f++){var e;e=f==a?c:f==b?d:0;var l=this.g.of(this.GN(this.K,f));l.get("alpha")!=e&&(0<e&&1>e&&l.tj(),l.set("alpha",e))}this.Jk();this.$r||this.ea()}};a.prototype.eg=function(){return this.NE?this.$r?d.kc:d.Q:d.J};a.prototype.ag=function(){f.prototype.ag.call(this,this.eg())};a.prototype.Jk=function(){var a=this.Wb,b=this.Ib,c=this.G4(this.Wb),d=this.G4(this.Ib),n=this.Si+1,e=0===this.BN()?this.uu():
m;f.prototype.Jk.call(this,a,b,c,d,n,e)};return a});define("bo",["require","hp","hh"],function(a){var b=a("hp"),c=a("hh");return b.extend(c,function(a){c.call(this,a)})});
define("hX",["require","hp","jq","ey","hh"],function(a){var b=a("hp"),c=a("jq"),d=a("ey"),f=a("hh"),a=b.extend(f,function(a){f.call(this,a);this.gd=y});a.prototype.ow=D();a.prototype.start=function(a){this.end();this.K=a;this.K.set("mute",this.gd);this.K.set("state",d.Q);this.Cm()};a.prototype.getTime=function(){return this.K?this.K.get("currentTime"):0};a.prototype.eg=function(){return this.K?this.K.get("state"):d.J};a.prototype.play=function(){this.K&&this.K.set("state",d.Q)};a.prototype.pause=
function(){this.K&&this.K.set("state",d.kc)};a.prototype.cJ=function(){this.K&&this.K.set("state",d.kc)};a.prototype.stop=function(){this.K&&this.K.set("state",d.J)};a.prototype.end=function(){this.K&&(this.En(),this.K=q)};a.prototype.wt=function(a){this.K&&this.K.set("state",d.Q);this.K&&this.K.set("currentTime",a)};a.prototype.hg=function(a){this.gd=a;this.K&&this.K.set("mute",this.gd)};a.prototype.Cm=function(){this.K.bind(c.ba("currentTime"),this.Pd,this,p);this.K.bind(c.ba("duration"),this.qn,
this,p);this.K.bind(c.ba("state"),this.hf,this,p);this.K.get("state")!=d.J&&this.ag()};a.prototype.En=function(){this.K.unbind(c.ba("currentTime"),this.Pd,this,p);this.K.unbind(c.ba("duration"),this.qn,this,p);this.K.unbind(c.ba("state"),this.hf,this,p)};a.prototype.hf=function(){this.ag()};a.prototype.Pd=function(){this.Jk()};a.prototype.qn=function(){this.Jk()};a.prototype.Jk=function(){this.K&&f.prototype.Jk.call(this,this.K.get("currentTime"),this.K.get("duration"))};return a});
define("u","require,hp,ey,bL,dZ,dl,hh,Z,iD,bo,hX".split(","),function(a){var b=a("hp");a("ey");var c=a("bL"),d=a("dZ"),f=a("dl"),g=a("hh"),k=a("Z"),j=a("iD"),h=a("bo"),n=a("hX"),e=b.extend(d,function(a){d.call(this);this.g=a;this.UO=this.SD(j);this.cO=this.SD(k);this.NH=this.SD(n);this.oR=this.SD(h);this.Nb=q});e.prototype.clear=function(){this.LD(this.UO);this.UO=q;this.LD(this.cO);this.cO=q;this.LD(this.NH);this.NH=q;this.LD(this.oR);this.g=this.Nb=this.oR=q};e.prototype.SD=function(a){a=new a(this.g);
a.bind(g.ra,this.Zb,this,p);a.bind(g.Fi,this.zp,this,p);a.bind(g.Fb,this.Od,this,p);return a};e.prototype.LD=function(a){a.unbind(g.ra,this.Zb,this);a.unbind(g.Fi,this.zp,this);a.unbind(g.Fb,this.Od,this);a.clear()};e.prototype.FO=function(a,b){return f.tb(b,a)};e.prototype.b_=function(a){return this.FO(a,"HDRPanorama")?this.cO:this.FO(a,"LivePanorama")?this.UO:this.FO(a,"VideoPanorama")?this.NH:this.oR};e.prototype.ow=function(a){(this.Nb=this.b_(a))&&this.Nb.ow(a)};e.prototype.start=function(a){this.Zb();
(this.Nb=this.b_(a))&&this.Nb.start(a)};e.prototype.eg=function(){if(this.Nb)return this.Nb.eg()};e.prototype.getTime=function(){return this.Nb?this.Nb.getTime():0};e.prototype.play=function(){this.Nb&&this.Nb.play()};e.prototype.pause=function(){this.Nb&&this.Nb.pause()};e.prototype.uw=function(){this.Nb&&this.Nb.uw()};e.prototype.Aw=function(){this.Nb&&this.Nb.Aw()};e.prototype.cJ=function(){this.Nb&&this.Nb.cJ()};e.prototype.stop=function(){this.Nb&&this.Nb.stop();this.trigger(new c(e.Fi,{duration:0,
time:0,steps:m,selectedStep:m}))};e.prototype.end=function(){if(this.Nb){this.Nb.end();this.Nb=q}};e.prototype.wt=function(a){this.Nb&&this.Nb.wt(a)};e.prototype.yq=function(a){this.Nb&&this.Nb.yq(a)};e.prototype.kJ=function(){this.Nb&&this.Nb.kJ()};e.prototype.ic=function(a){this.Nb&&this.Nb.ic(a)};e.prototype.hg=function(a){this.NH.hg(a)};e.prototype.Zb=function(){this.trigger(new c(e.ra))};e.prototype.zp=function(a){this.trigger(new c(e.Fi,a.data))};e.prototype.Od=function(a){this.trigger(new c(e.Fb,
a.data))};e.ra="request frame";e.A9="frame display";e.B9="frame hide";e.Fi="time change";e.Fb="playback state change";return e});
define("hY",["require","hp","jq","dZ","hq"],function(a){var b=a("hp"),c=a("jq"),d=a("dZ"),f=a("hq"),a=b.extend(d,function(a){d.call(this);this.g=a;this.se=this.K=q});a.prototype.start=function(a){this.K=a;this.se=this.g.of(this.K);this.se.bind(c.R,this.gf,this,p);this.se.bind(c.dc,this.Wh,this,p);this.se.get("ready")?this.trigger(c.Mb,{panorama:this.K}):this.se.bind(c.Mb,this.GF,this,p);this.se.set("loadingActive",p)};a.prototype.stop=function(){this.K=q;this.se&&(this.se.unbind(c.Mb,this.GF,this),
this.se.unbind(c.R,this.gf,this),this.se.unbind(c.dc,this.Wh,this),this.se.set("loadingActive",y),this.se=q,this.trigger(c.yd))};a.prototype.clear=function(){this.stop()};a.prototype.GF=function(){this.se.unbind(c.Mb,this.GF,this);this.trigger(c.Mb,{panorama:this.K})};a.prototype.gf=function(){this.se.unbind(c.Mb,this.GF,this);this.se.unbind(c.R,this.gf,this);this.se.unbind(c.dc,this.Wh,this);this.se=q;this.trigger(c.R,{panorama:this.K});this.K=q;this.trigger(c.yd)};a.prototype.Wh=function(a){this.trigger(new f(c.dc,
a.rh))};return a});
define("gv",["hp","bL","dZ","E"],function(a,b,c,d){var f=a.extend(c,function(a){c.call(this);this.g=a;this.np=this.K=this.aj=q;this.ta=this.aa=0;this.ia=0.5*Math.PI});f.prototype.clear=function(){this.stop();this.aj=this.g=q};f.prototype.GU=function(a){this.aj!=a&&(this.VL(),this.aj=a,this.FX())};f.prototype.stop=function(){this.VL();this.K=q};f.prototype.ic=function(){this.aa=this.g.Rb();this.ta=this.g.Xb();this.ia=this.g.ve();this.aj&&this.np&&this.aj.Aj(this.np,this.aa,this.ta,this.ia)};f.prototype.display=
function(a){this.K!=a&&(this.VL(),this.K=a,this.FX())};f.prototype.hide=function(a){this.K==a&&this.stop()};f.prototype.VL=function(){this.np&&(this.Nea(),this.np=q)};f.prototype.FX=function(){this.aj&&this.K&&(this.np=this.wia(this.K,this.aj.get("map",q)))&&this.Pja()};f.prototype.wia=function(a,b){for(var c=a.get("mapLocations",[]),d=0;d<c.length;d++){var f=c[d];if(f.get("map")==b)return f}return 0<c.length?c[0]:q};f.prototype.Pja=function(){this.aj.jma(this.np);this.aj.bind(d.lg,this.k3,this,p)};
f.prototype.Nea=function(){this.aj&&(this.aj.vpa(this.np),this.aj.unbind(d.lg,this.k3,this))};f.prototype.k3=function(a){this.trigger(new b(f.lg,{yawDelta:a.data.yawDelta}))};f.lg="request yaw change";return f});
define("dG",["require","hp","bL","dZ","dg"],function(a){var b=a("hp"),c=a("bL"),d=a("dZ"),f=a("dg"),g=b.extend(d,function(a){d.call(this);this.g=a;this.g.bind(f.aK,this.O1,this,p)});g.prototype.clear=function(){this.g.unbind(f.aK,this.O1,this,p);this.g=q};g.prototype.Ba=function(){this.g.Ba()};g.prototype.O1=function(a){a=a.data.frameTime;this.trigger(new c(g.Jj,{frameTime:a}));this.trigger(new c(g.Kj,{frameTime:a}))};g.Jj="frameStart";g.Kj="positionSet";return g});
define("fz",["require","t","hb"],function(a){function b(){this.ca=this.T=0;this.ia=90;this.dh="landscape";this.EP=y;this.wy=c.Na()}var c=a("t"),d=a("hb");b.prototype.G8=function(a){this.ia=this.s6(a)};b.prototype.s6=function(a){return this.wy&&"portrait"==this.dh?d.ct(a,this.ca,this.T):a};b.prototype.Dna=function(a){return this.wy&&"portrait"==this.dh?d.wj(a,this.T,this.ca):a};b.prototype.mm=function(a){return this.ia=this.wy&&this.EP?d.ct(a,this.ca,this.T):a};b.prototype.F7=function(){return this.wy&&
this.EP};b.prototype.jq=function(){return this.wy&&"portrait"==this.dh};b.prototype.ve=P("ia");b.prototype.$H=function(a){return d.ct(a,this.ca,this.T)};b.prototype.setSize=function(a,b){this.T=a;this.ca=b;var c=this.hea();this.EP=this.dh!=c;this.dh=c};b.prototype.hea=function(){return 0===this.T||0===this.ca?"landscape":this.T<this.ca?"portrait":"landscape"};return b});
define("iS",["require","hp","fb","bL","dZ"],function(a){var b=a("hp"),c=a("fb"),d=a("bL"),f=a("dZ"),g=b.extend(f,function(a){f.call(this);this.g=a;this.V=y;this.cn=this.cn.bind(this);this.$b=this.g.$b});g.prototype.clear=function(){this.$b=this.g=q};g.prototype.wd=function(a){this.V!=a&&(this.V&&document.removeEventListener("keyup",this.cn),(this.V=a)&&document.addEventListener("keyup",this.cn))};g.prototype.cn=function(a){"translate"==this.$b.get("arrowKeysAction")&&(a.which==c.FC&&!a.shiftKey?this.trigger(new d(g.RJ)):
a.which==c.cD&&!a.shiftKey&&this.trigger(new d(g.SJ)))};g.SJ="moveForward";g.RJ="moveBackward";return g});
define("fI","require,cL,hp,jq,bL,dZ,iS".split(","),function(a){a("cL");var b=a("hp"),c=a("jq"),d=a("bL"),f=a("dZ"),g=a("iS"),a=b.extend(f,function(a){f.call(this);this.g=a;this.Mh=new g(a);this.Mh.bind(g.SJ,this.n1,this,p);this.Mh.bind(g.RJ,this.m1,this,p)});a.prototype.clear=function(){this.Mh.unbind(g.SJ,this.n1,this,p);this.Mh.unbind(g.RJ,this.m1,this,p);this.Mh.clear();this.Mh=q};a.prototype.zq=function(a){this.Mh.wd(a)};a.prototype.ig=N("K");a.prototype.end=function(){this.K=q};a.prototype.n1=
function(a){this.b5(a);(a=this.v3(this.g.Rb(),this.n_()))&&a.trigger(c.Bh)};a.prototype.m1=function(a){this.b5(a);(a=this.v3(this.g.Rb()-180,this.n_()))&&a.trigger(c.Bh)};a.prototype.b5=function(a){this.g.cb().trigger(new d(c.JC,{X8:a}))};a.prototype.n_=function(){return this.g.$b.get("keyboardTranslateSelectionAngle")};a.prototype.v3=function(a,b){var c,d;if(!this.K)return q;c!==m||(c=-90);d!==m||(d=360);var f=a-b*0.5,g=a+b*0.5,k=Math.max(-90,c-d*0.5),s=Math.max(90,c+d*0.5);d=this.K.get("adjacentPanoramas",
[]).slice();d=d.filter(function(b){if(!b.get("enabled"))return y;b=this.fy(b);if(!b)return y;var c;c=b.qa;for(var d=a-180,e=a+180;c<d;)c=c+(e-d);for(;c>e;)c=c-(e-d);b=b.pitch;return f<=c&&c<=g&&k<=b&&b<=s}.bind(this));if(d.length==0)return q;d.sort(function(b,d){var e=this.fy(b),f=this.fy(d);return(a-e.qa)*(a-e.qa)+(c-e.pitch)*(c-e.pitch)-((a-f.qa)*(a-f.qa)+(c-f.pitch)*(c-f.pitch))}.bind(this));return d[0]};a.prototype.fy=function(a){var b=a.get("yaw"),a=a.get("distance");if(b===m||a===m)return q;
var c=this.K.get("distanceToFloor");return{qa:b,pitch:-90+Math.atan2(a,c)*k}};var k=180/Math.PI;return a});
define("hC","require,hp,jq,bL,dZ,ch,bb,jy,u,hY,gv,dG,fz,fI,cx".split(","),function(a){var b=a("hp"),c=a("jq"),d=a("bL"),f=a("dZ"),g=a("ch"),k=a("bb"),j=a("jy"),h=a("u"),n=a("hY"),e=a("gv"),l=a("dG"),r=a("fz"),o=a("fI"),s=a("cx"),t=b.extend(f,function(a,b){f.call(this);this.D=a;this.g=b;this.g.set("visible",y);this.yb=new r;this.wc=new l(this.g);this.Md=new n(this.g);this.Ia=new j(this.D,this.g,this.yb);this.fa=new k(this.g,this.yb);this.Xc=new h(this.g);this.ln=new e(this.g);this.zd=new g(this.g);
this.qH=new o(this.g);this.wc.bind(l.Jj,this.xp,this,p);this.wc.bind(l.Kj,this.yp,this,p);this.Md.bind(c.Mb,this.u1,this,p);this.Md.bind(c.yd,this.ez,this,p);this.Md.bind(c.dc,this.rn,this,p);this.Ia.bind(j.ra,this.Zb,this,p);this.Ia.bind(j.bK,this.v1,this,p);this.Ia.bind(j.TJ,this.C1,this,p);this.Ia.bind(j.EJ,this.P0,this,p);this.Ia.bind(j.FJ,this.Q0,this,p);this.Ia.bind(j.Vq,this.lz,this,p);this.Ia.bind(j.Tq,this.wp,this,p);this.Ia.bind(j.Uq,this.tn,this,p);this.Ia.bind(j.Sq,this.kz,this,p);this.fa.bind(k.ra,
this.Zb,this,p);this.fa.bind(k.jg,this.lk,this);this.fa.bind(k.Ij,this.M1,this);this.fa.bind(k.Fb,this.Od,this,p);this.fa.bind(k.Ud,this.pk,this,p);this.fa.bind(k.Td,this.nk,this,p);this.Xc.bind(h.ra,this.Zb,this,p);this.Xc.bind(h.Fi,this.zp,this,p);this.Xc.bind(h.Fb,this.Od,this,p);this.ln.bind(e.lg,this.z1,this,p)});t.prototype.clear=function(){this.Md.clear();this.wc.clear();this.fa.clear();this.Ia.clear();this.Xc.clear();this.ln.clear();this.zd.clear();this.Md.unbind(c.Mb,this.u1,this);this.Md.unbind(c.yd,
this.ez,this);this.Md.unbind(c.dc,this.rn,this);this.wc.unbind(l.Jj,this.xp,this);this.wc.unbind(l.Kj,this.yp,this);this.Ia.unbind(j.ra,this.Zb,this);this.Ia.unbind(j.bK,this.v1,this);this.Ia.unbind(j.TJ,this.C1,this);this.Ia.unbind(j.EJ,this.P0,this);this.Ia.unbind(j.FJ,this.Q0,this);this.Ia.unbind(j.Vq,this.lz,this);this.Ia.unbind(j.Tq,this.wp,this);this.Ia.unbind(j.Uq,this.tn,this);this.Ia.unbind(j.Sq,this.kz,this);this.fa.unbind(k.E9,this.Zb,this);this.fa.unbind(k.jg,this.lk,this);this.fa.unbind(k.Ij,
this.M1,this);this.fa.unbind(k.Fb,this.Od,this,p);this.fa.unbind(k.Ud,this.pk,this);this.fa.unbind(k.Td,this.nk,this);this.Xc.unbind(h.ra,this.Zb,this);this.Xc.unbind(h.Fi,this.zp,this);this.Xc.unbind(h.Fb,this.Od,this);this.ln.unbind(e.lg,this.z1,this);this.D=this.g=this.qH=this.zd=this.ln=this.Xc=this.Ia=this.fa=this.wc=this.Md=q};t.prototype.GU=function(a){this.ln.GU(a)};t.prototype.ig=function(a,b,c){this.g.set("visible",p);this.Xc.cJ();a.set("currentTime",c);this.Ia.start(a,b)};t.prototype.fw=
function(){return this.Md.K||this.Ia.pna()||this.Ia.ll};t.prototype.vt=function(){this.Md.stop();this.Xc.end();this.fa.end();this.Ia.hide();this.ln.stop();this.zd.end();this.qH.end()};t.prototype.Aw=function(){this.fa.Dpa();this.Xc.Aw()};t.prototype.uw=function(){this.fa.pause();this.Xc.uw()};t.prototype.play=function(){this.fa.play();this.zd.play();this.Xc.play()};t.prototype.pause=function(){this.fa.pause();this.zd.pause();this.Xc.pause()};t.prototype.stop=function(){this.fa.stop();this.zd.stop();
this.Xc.stop()};t.prototype.zq=function(a){this.fa.zq(a);this.qH.zq(a)};t.prototype.getTime=function(){return this.Xc.getTime()};t.prototype.moveTo=function(a,b,c,d,e){this.fa.moveTo(a,b,c,d,e)};t.prototype.Rb=function(){return this.g?this.g.Rb():m};t.prototype.Xb=function(){return this.g?this.g.Xb():m};t.prototype.Jd=function(){return this.g?this.g.Jd():m};t.prototype.ve=function(){return this.g?this.yb.Dna(this.g.ve()):m};t.prototype.bT=function(){return this.g?this.g.bT():m};t.prototype.cT=function(){return this.g?
this.g.cT():m};t.prototype.Od=function(){var a=this.Xc.eg()||this.fa.eg();this.trigger(new d(t.Fb,{state:a}))};t.prototype.gg=function(a){this.fa.gg(a)};t.prototype.aC=function(a){this.fa.aC(a)};t.prototype.Cq=function(a){this.fa.Cq(a)};t.prototype.bC=function(a){this.fa.bC(a)};t.prototype.hg=function(a){this.Xc.hg(a)};t.prototype.zt=function(a){this.fa.zt(a)};t.prototype.Pna=function(a,b){var c=s.get(a,b,this.g.Rb(),this.g.Xb(),this.g.Jd(),this.g.ve(),this.g.Aa(),this.g.bb());return c?{x:c.x,y:c.y}:
q};t.prototype.v1=function(a){this.Md.start(a.data.panorama)};t.prototype.rn=function(a){this.g.TI(p);this.trigger(new d(t.al,{percent:a.rh}))};t.prototype.u1=function(a){this.Xc.end();this.qH.ig(a.data.panorama)};t.prototype.ez=function(){this.g.TI(y);this.trigger(new d(t.Pq))};t.prototype.Zb=function(){this.wc.Ba()};t.prototype.xp=function(a){a=a.data.frameTime;this.yb.setSize(this.g.Aa(),this.g.bb());this.Ia.ho(a);this.fa.ho(a)};t.prototype.yp=function(a){a=a.data.frameTime;this.Ia.ic(a);this.fa.ic(a);
this.Xc.ic(a);this.ln.ic(a);this.zd.ic(a)};t.prototype.lz=function(a){this.ln.display(a.data.panorama);this.Xc.ow(a.data.panorama);this.trigger(new d(t.Vq,{panorama:a.data.panorama}))};t.prototype.C1=function(a){this.ln.hide(a.data.panorama)};t.prototype.P0=function(a){this.Xc.start(a.data.panorama);this.zd.start(a.data.panorama)};t.prototype.Q0=function(){this.Xc.end();this.g.set("visible",y)};t.prototype.kz=function(a){this.fa.end();this.zd.end(a.data.nextPanorama);this.trigger(new d(t.Sq,{panorama:a.data.panorama}))};
t.prototype.tn=function(a){this.fa.start(a.data.panorama,a.data.camera);this.trigger(new d(t.Uq,{panorama:a.data.panorama}))};t.prototype.wp=function(a){this.trigger(new d(t.Tq,{panorama:a.data.panorama}))};t.prototype.z1=function(a){this.fa.LU(a.data.yawDelta,0)};t.prototype.lk=function(a){this.trigger(new d(t.jg,a.data))};t.prototype.M1=function(a){this.trigger(new d(t.Ij,a.data))};t.prototype.pk=function(){this.Xc.kJ();this.trigger(new d(t.Ud))};t.prototype.nk=function(){this.trigger(new d(t.Td))};
t.prototype.x8=function(a){this.Xc.wt(a)};t.prototype.yq=function(a){this.Xc.yq(a)};t.prototype.zp=function(a){this.trigger(new d(t.Fi,a.data))};t.al="loadingProgress";t.Pq="loadingEnd";t.jg="movementChange";t.Ij="positionChange";t.Vq="panoramaStart";t.Sq="panoramaEnd";t.Uq="panoramaShow";t.Tq="panoramaHide";t.Fb="playbackStateChange";t.Ud="userInteractionStart";t.Td="userInteractionEnd";t.Fi="timeChange";return t});
define("jg","require,cL,jquery.mod,hp,hH,jq,bL,ey,bP,dl,il,ce,fC,eI,hC,cO,dg,iH,fL,bd,cK,et".split(","),function(a){a("cL");a("jquery.mod");var b=a("hp");a("hH");var c=a("jq"),d=a("bL"),f=a("ey"),g=a("bP"),k=a("dl"),j=a("il"),h=a("ce"),n=a("fC"),e=a("eI"),l=a("hC"),r=a("cO"),o=a("dg"),s=a("iH"),t=a("fL"),u=a("bd"),v=a("cK"),x=a("et"),w=b.extend(n,function(){n.call(this,"panorama");n.prototype.set.call(this,"zoomEnabled",p);n.prototype.set.call(this,"surfaceSelectionEnabled",y);n.prototype.set.call(this,
"surfaceSelectionHorizontalAngle",90);n.prototype.set.call(this,"surfaceSelectionVerticalAngle",180);n.prototype.set.call(this,"adjacentPanoramaPositionsEnabled",y);this.xR=this.lO=this.Vo=this.fF=this.ML=this.Bp=this.Ag=this.nL=y;this.VN=p;this.Kr=this.Eu=this.RD=y;this.pE=this.vN=this.Wb=this.Ib=0;this.WP=this.YP=m;this.hP=p;this.jf=f.J;this.p=this.g=q;this.D0={};for(var a in w.zm)this.D0[a]=this.mca(a);this.xD=new j(this,"buttonToggleGyroscope",v.Kg);this.xD.bind(c.If,function(){this.set("gyroscopeEnabled",
p)},this);this.xD.bind(c.Jg,function(){this.set("gyroscopeEnabled",y)},this);this.xD.set("pressed",this.get("gyroscopeEnabled")&&s.available);this.Paa=new j(this,"buttonCardboardView",v.Bc);this.Paa.bind(c.W,function(){this.set("viewMode",w.xo)},this,p);this.bba=new j(this,"buttonVRView",v.Bc);this.bba.bind(c.W,function(){this.set("viewMode",w.xo)},this,p);u.bind(c.U,function(){this.Z4("viewMode");this.trigger(w.BV)},this,p);this.yD=new j(this,"buttonToggleHotspots",v.Kg);this.yD.bind(c.If,function(){this.set("hotspotsEnabled",
p)},this);this.yD.bind(c.Jg,function(){this.set("hotspotsEnabled",y)},this);this.yD.set("pressed",this.get("hotspotsEnabled"));this.AD=new j(this,"buttonToggleSurfaceSelection",v.Kg);this.AD.bind(c.If,function(){this.set("surfaceSelectionEnabled",p)},this);this.AD.bind(c.Jg,function(){this.set("surfaceSelectionEnabled",y)},this);this.AD.set("pressed",this.get("surfaceSelectionEnabled"));this.Nc=b.fo(this.Re,this);this.set("arrowKeysAction","rotate");this.set("doubleClickAction","inherit");this.set("hotspotsEnabled",
p);this.set("preloadEnabled",p);this.set("keyboardTranslateSelectionAngle",90)});w.tV="cameraPositionChange";w.Ud="userInteractionStart";w.Td="userInteractionEnd";w.al="loadingProgress";w.yV="preloadMediaShow";w.BV="viewModeChange";k.A("PanoramaPlayer",w).C("Object").O({actualHFOV:"number",actualVFOV:"number",arrowKeysAction:"enum[rotate, translate, none]",buttonCardboardView:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonMoveDown:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",
buttonMoveLeft:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonMoveRight:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonMoveUp:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPause:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPlay:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPlayDown:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPlayLeft:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",
buttonPlayPause:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPlayRight:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPlayUp:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonRestart:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonStop:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonToggleGyroscope:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonToggleHotspots:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",
buttonToggleSurfaceSelection:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonVRView:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonZoomIn:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonZoomOut:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",camera:"PanoramaCamera",currentTime:"number",displayPlaybackBar:"bool",doubleClickAction:"enum[toggle_fullscreen, translate, inherit]",gyroscopeEnabled:"bool",gyroscopeVerticalDraggingEnabled:"bool",
hdrPanoramaDisplayPlaybackBar:"bool",hdrPanoramaDisplayPlaybackBarSteps:"bool",hfov:"number",hotspotsEnabled:"bool",keyboardTranslateSelectionAngle:"number",livePanoramaDisplayPlaybackBar:"bool",livePanoramaDisplayPlaybackBarSteps:"bool",mapPlayer:"MapPlayer",mode:"enum[fast, quality]",mouseControlMode:"enum[drag_acceleration, drag_rotation]",panorama:"Panorama",pitch:"number",preloadEnabled:"bool",roll:"number",startTime:"number",state:"enum[stopped, playing, paused]",adjacentPanoramaPositionsEnabled:"bool",
surfaceSelectionHorizontalAngle:"number",surfaceSelectionVerticalAngle:"number",surfaceSelectionEnabled:"bool",touchControlMode:"enum[drag_acceleration, drag_rotation]",video:"Video360",viewMode:"enum[standard, cardboard, vr]",videoPanoramaDisplayPlaybackBar:"bool",viewerArea:"ViewerArea",yaw:"number",zoomEnabled:"bool"}).Yb([c.VC,w.tV,w.al,w.Ud,w.Td,w.yV,w.BV,n.nd,h.Xe,h.Ig]).Gg({moveLeft:function(){this.sb(r.Ww)},moveRight:function(){this.sb(r.Xw)},moveUp:function(){this.sb(r.Yw)},moveDown:function(){this.sb(r.Vw)},
playLeft:function(){this.sb(r.Vra)},playRight:function(){this.sb(r.Wra)},playUp:function(){this.sb(r.Xra)},playDown:function(){this.sb(r.Tra)},play:function(){this.xg()},pause:function(){this.tk()},stop:function(){this.rs()},seek:function(a){this.Rz(a)},setFramePlaybackPosition:function(a){this.ija(a)},setFrameTransitionPosition:function(a){this.jja(a)},restart:function(){this.qs()},zoomIn:function(){this.sb(r.xm)},zoomOut:function(){this.sb(r.ym)},resumeCamera:function(){this.tia()},pauseCamera:function(){this.rha()},
moveTo:function(a,b,c,d){this.C0(a,b,c,d,y)},setPosition:function(a,b,c,d){this.C0(a,b,c,d,p)},getScreenPosition:function(a,b){return this.rea(a,b)}});w.prototype.get=function(a,b){switch(a){case "currentTime":return this.p&&this.p.getTime()||0;case "viewMode":return u.isPresenting()?w.xo:w.XK;case "video":a="panorama";break;case "rendererPanorama":return this.p&&this.p.fw()}if(!b)switch(a){case "mouseControlMode":b=g.MV;break;case "touchControlMode":b=g.IW}return n.prototype.get.call(this,a,b)};
w.prototype.set=function(a,b){if(this.get(a)!=b){switch(a){case "application":this.nL=p;this.Nc();break;case "startTime":this.Bp=p;this.Nc();break;case "video":case "panorama":a="panorama";this.Bp=p;this.Nc();break;case "camera":this.ML=p;this.Nc();break;case "viewerArea":this.Ag=p;this.Nc();break;case "displayPlaybackBar":case "hdrPanoramaDisplayPlaybackBarSteps":case "livePanoramaDisplayPlaybackBarSteps":case "buttonPlay":case "buttonPlayPause":this.Kr=p;this.Nc();break;case "mapPlayer":this.fF=
p;this.Nc();break;case "gyroscopeEnabled":this.Vo=p;this.Nc();break;case "gyroscopeVerticalDraggingEnabled":this.VN=p;this.Nc();break;case "viewMode":if(b=="vr")b=w.xo;b==w.xo&&!u.isPresenting()?u.nh():b!=w.xo&&u.isPresenting()&&u.Hd();b=u.isPresenting()?w.xo:w.XK;break;case "hotspotsEnabled":this.lO=p;this.Nc();break;case "mouseControlMode":case "touchControlMode":this.RD=p;this.Nc();break;case "surfaceSelectionEnabled":o.b9()||(b=y);this.xR=p;this.Nc()}n.prototype.set.call(this,a,b)}};w.prototype.Uk=
function(a){this.Eu=a;this.p&&this.p.zq(this.Eu)};w.prototype.e6=function(){return this.get("doubleClickAction")!="inherit"};w.prototype.DL=function(a){n.prototype.DL.call(this,a);a.bind(c.UC,this.J5,this,p)};w.prototype.MR=function(a){n.prototype.MR.call(this,a);a.unbind(c.UC,this.J5,this,p)};w.prototype.J5=function(){switch(this.get("doubleClickAction")){case "toggle_fullscreen":var a=this.get("application").tg;a&&a.available()&&a.toggle()}};w.prototype.mca=function(a){var b=w.zm[a],a=new j(this,
a,v.Bc);a.bind(c.lb,function(){this.sb(b.movement)},this);b.stopOnRelease&&a.bind(c.Gb,function(){this.sb(r.yd)},this);return a};w.prototype.Re=function(){if(this.Ag||this.nL){this.Ag=this.nL=y;this.RD=this.Vo=this.fF=p;this.Jr();this.get("viewerArea")&&this.get("application")&&this.Gr();this.VG(this.get("viewerArea"))}var a=y;if(this.g){if(this.fF){this.fF=y;this.p.GU(this.get("mapPlayer"))}if(this.RD){this.RD=y;this.p.Cq(this.get("mouseControlMode"));this.p.zt(this.get("touchControlMode"))}if(this.Bp||
this.ML){this.pE=this.vN=this.Ib=this.Wb=0;this.WP=this.YP=m;a=p;this.ML=this.Bp=y;if(this.get("panorama")){this.xG();this.p.ig(this.get("panorama"),this.get("camera",new e),this.get("startTime"))}else{this.p.vt();this.hP=p;this.jf=f.J;this.jb(f.J)}}if(this.VN){this.VN=y;this.p.bC(this.get("gyroscopeVerticalDraggingEnabled",p))}if(this.Vo){this.Vo=y;var b=this.get("gyroscopeEnabled")&&s.available;if(b&&s.disabled){b=y;t.FV.show(function(){s.lU(function(){this.set("gyroscopeEnabled",p)}.bind(this))}.bind(this))}this.set("gyroscopeEnabled",
b);this.p.aC(b);this.xD.set("pressed",b)}if(this.lO){this.lO=y;this.yD.set("pressed",this.get("hotspotsEnabled"))}if(this.Kr){this.Kr=y;a=p}if(this.xR){this.xR=y;this.AD.set("pressed",this.get("surfaceSelectionEnabled"))}a&&this.OA()}};w.prototype.lA=function(){this.set("panorama",q)};w.prototype.Gr=function(){var a=this.get("viewerArea"),b=this.get("application");this.g=new o(b,a,this);this.g.S({left:0,top:0,bottom:0,right:0});a.pa(this.g);this.p=new l(a,this.g);this.p.bind(l.jg,this.lk,this);this.p.bind(l.Ij,
this.W0,this);this.p.bind(l.al,this.rn,this);this.p.bind(l.Pq,this.Pu,this);this.p.bind(l.Uq,this.tn,this,p);this.p.bind(l.Tq,this.wp,this,p);this.p.bind(l.Vq,this.lz,this,p);this.p.bind(l.Sq,this.kz,this,p);this.p.bind(l.Fb,this.Od,this);this.p.bind(l.Ud,this.pk,this);this.p.bind(l.Td,this.nk,this);this.p.bind(l.Fi,this.zp,this);this.get("application").bind(c.ba("mute"),this.jz,this);this.get("application").get("mute",y)&&this.p.hg(p);this.p&&this.p.zq(this.Eu);u.bind(c.U,this.dj,this,p);this.lM();
this.rv(p)};w.prototype.Jr=function(){if(this.g){this.p.unbind(l.jg,this.lk,this);this.p.unbind(l.Ij,this.W0,this);this.p.unbind(l.al,this.rn,this);this.p.unbind(l.Pq,this.Pu,this);this.p.unbind(l.Uq,this.tn,this,p);this.p.unbind(l.Tq,this.wp,this,p);this.p.unbind(l.Vq,this.lz,this,p);this.p.unbind(l.Sq,this.kz,this,p);this.p.unbind(l.Fb,this.Od,this);this.p.unbind(l.Ud,this.pk,this);this.p.unbind(l.Td,this.nk,this);this.p.unbind(l.Fi,this.zp,this);this.p.clear();this.p=q;this.get("application").unbind(c.ba("mute"),
this.jz,this);this.g.getParent().removeChild(this.g);this.g=q;u.unbind(c.U,this.dj,this,p);this.rv(y)}};w.prototype.jz=function(){this.g&&this.p.hg(this.get("application").get("mute",y))};w.prototype.Od=function(a){this.jf=a.data.state;this.Rd()};w.prototype.Rd=function(){this.jb(this.hP?this.jf:f.Q)};w.prototype.pk=function(){this.trigger(new d(w.Ud))};w.prototype.nk=function(){this.trigger(new d(w.Td))};w.prototype.lz=function(a){this.trigger(new d(w.yV,{panorama:a.data.panorama}))};w.prototype.kz=
D();w.prototype.tn=function(a){this.lM();this.lF(a.data.panorama)};w.prototype.wp=function(a){this.kF(a.data.panorama)};w.prototype.lk=function(a){for(var b in w.zm)this.D0[b].set("state",a.data[w.zm[b].pressedOn]?x.sa:x.uc);this.hP=a.data.stopped;this.Rd();this.trigger(new d(c.VC,a.data))};w.prototype.W0=function(a){this.lM();this.trigger(new d(w.tV,a.data))};w.prototype.lM=function(){if(this.p){this.set("yaw",this.p.Rb());this.set("pitch",this.p.Xb());this.set("roll",this.p.Jd());this.set("hfov",
this.p.ve());this.set("actualHFOV",this.p.bT());this.set("actualVFOV",this.p.cT())}};w.prototype.rn=function(a){this.g.getParent().S({progressPercent:a.data.percent,progressVisible:p});this.trigger(new d(w.al,a.data))};w.prototype.Pu=function(){this.g.getParent().set("progressVisible",y)};w.prototype.dj=function(){this.set("viewMode",u.isPresenting()?w.xo:w.XK)};w.prototype.C0=function(a,b,c,d,e){this.p&&this.p.moveTo(a,b,c,d,e)};w.prototype.sb=function(a){this.p&&this.p.gg(a)};w.prototype.xg=function(){this.p.play()};
w.prototype.mj=function(){this.p.stop()};w.prototype.tk=function(){this.p.pause()};w.prototype.Rz=function(a){this.p&&(this.e_()?this.p.yq(a):this.p.x8(a))};w.prototype.ija=function(a){this.p&&this.p.x8(a)};w.prototype.jja=function(a){this.p&&this.p.yq(a)};w.prototype.rha=function(){this.p&&this.p.uw()};w.prototype.tia=function(){this.p&&this.p.Aw()};w.prototype.rea=function(a,b){if(this.p)return this.p.Pna(a,b)};w.prototype.jG=function(a){this.Rz(a.data.position)};w.prototype.zp=function(a){this.Wb=
a.data.time;this.Ib=a.data.duration;this.vN=a.data.transitionPosition;this.pE=a.data.transitionLength;this.YP=a.data.steps;this.WP=a.data.selectedStep;this.OA()};w.prototype.OA=function(){var a=this.g.getParent(),b=y;if(this.Ida()){var c=this.e_(),d=this.jea();if(c){if(this.pE>0){a.S({playbackBarPosition:this.vN,playbackBarDuration:this.pE,playbackBarSteps:this.YP,playbackBarSelectedStep:this.WP,playbackBarLiveDragging:d});b=p}}else if(this.Ib>0){a.S({playbackBarPosition:this.Wb,playbackBarDuration:this.Ib,
playbackBarSteps:m,playbackBarSelectedStep:m,playbackBarLiveDragging:d});b=p}}a.set("playbackBarVisible",b)};w.prototype.Ida=function(){var a=this.get("panorama");return a?k.tb("HDRPanorama",a)?this.get("hdrPanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",y)):k.tb("LivePanorama",a)?this.get("livePanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",y)):k.tb("VideoPanorama",a)?this.get("videoPanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",p)):y:y};w.prototype.e_=function(){var a=
this.get("panorama");return!a?y:k.tb("HDRPanorama",a)?this.get("hdrPanoramaDisplayPlaybackBarSteps",p):k.tb("LivePanorama",a)?this.get("livePanoramaDisplayPlaybackBarSteps",p):y};w.prototype.jea=function(){var a=this.get("panorama");return!a||k.tb("VideoPanorama",a)?y:p};w.xo="cardboard";w.XK="standard";w.zm={buttonMoveLeft:{movement:r.Ww,pressedOn:"movingLeft",stopOnRelease:p},buttonMoveRight:{movement:r.Xw,pressedOn:"movingRight",stopOnRelease:p},buttonMoveUp:{movement:r.Yw,pressedOn:"movingUp",
stopOnRelease:p},buttonMoveDown:{movement:r.Vw,pressedOn:"movingDown",stopOnRelease:p},buttonPlayLeft:{movement:[r.Ww,r.Q],pressedOn:"movingLeft",stopOnRelease:y},buttonPlayRight:{movement:[r.Xw,r.Q],pressedOn:"movingRight",stopOnRelease:y},buttonPlayUp:{movement:[r.Yw,r.Q],pressedOn:"movingUp",stopOnRelease:y},buttonPlayDown:{movement:[r.Vw,r.Q],pressedOn:"movingDown",stopOnRelease:y},buttonZoomIn:{movement:r.xm,pressedOn:"zoomingIn",stopOnRelease:p},buttonZoomOut:{movement:r.ym,pressedOn:"zoomingOut",
stopOnRelease:p}};return w});
define("bN","hp,bL,dl,ce,jg,cJ".split(","),function(a,b,c,d,f,g){a=a.extend(g,function(){g.call(this)});c.A("PanoramaPlayListItem",a).C("PlayListItem").O({media:"Panorama",camera:"PanoramaCamera",player:"PanoramaPlayer"});a.prototype.start=function(){g.prototype.start.call(this);var a=this.get("player");if(a){a.bind(d.Xe,this.tn,this);a.set("panorama",this.get("media"));a.set("camera",this.get("camera"))}};a.prototype.stop=function(){var a=this.get("player");if(a){a.unbind(d.Xe,this.tn,this);a.get("panorama")==
this.get("media")&&a.set("panorama",q)}g.prototype.stop.call(this)};a.prototype.tn=function(a){if(a.data.media==this.get("media")){this.get("player").unbind(d.Xe,this.tn,this);this.get("player").bind(d.Ig,this.wp,this);this.Pv()}};a.prototype.wp=function(a){if(a.data.media==this.get("media")){this.get("player").unbind(d.Ig,this.wp,this);this.end()}};return a});
define("ht",["require","hp","hH","dl"],function(a){var b=a("hp"),c=a("hH"),a=a("dl"),b=b.extend(c,function(){c.call(this)});a.A("PanoramaSnapshot",b).C("Object").O({position:"PanoramaCameraPosition",image:"ImageResource"});return b});define("iv",["hp","bE"],function(a,b){var c=a.extend(b,function(a,c,g,k){b.call(this);this.Eb=a;this.T=c;this.ca=g;this.qN=k});c.prototype.Pk=function(){return[this.Eb]};c.prototype.fg=P("Eb");c.prototype.jc=P("T");c.prototype.Sc=P("ca");return c});
define("dI","require,cL,hp,dl,cQ,dT,iv".split(","),function(a){var b=a("cL"),c=a("hp"),d=a("dl"),f=a("cQ"),g=a("dT"),k=a("iv"),a=c.extend(f,function(){f.call(this);this.H=m});d.A("Photo",a).C("Media").O({audios:"array[PhotoAudio]",duration:"number",height:"number",image:"ImageResource",width:"number",flipImageHorizontally:"bool"});a.prototype.Tc=function(){if(this.H==m){var a=this.get("image");this.H=a?new k(g.Ok(a).get("url"),this.get("width"),this.get("height"),this.get("flipImageHorizontally",
y)):q}return this.H};a.prototype.Zn=function(){var a=this.tE(this.Tc());b(this.get("audios",[])).each(function(b){a=a.concat(b.Zn())},this);return a};a.prototype.tE=function(a){return a?a.Pk():[]};return a});
define("gh",["cL","hp","jq","cQ","dl"],function(a,b,c,d,f){b=b.extend(d,function(){d.call(this);this.set("loop",y)});f.A("PhotoAlbum",b).C("Media").O({audios:"array[PhotoAlbumAudio]",loop:"bool",playList:"PhotoPlayList"}).Yb([c.ua]);b.prototype.Zn=function(){var b=[],c=this.get("playList");c&&a(c.get("items"),[]).each(function(a){(a=a.get("media"))&&(b=b.concat(a.Zn()))});a(this.get("audios",[])).each(function(a){b=b.concat(a.Zn())});return b};return b});
define("fs",["hp","dl","fN","fT"],function(a,b,c,d){a=a.extend(c,function(){c.call(this,d.c$)});b.A("PhotoAlbumAudio",a).C("MediaAudio");return a});
define("cc",["ey"],function(a){function b(a){this.Mi=a;this.oD=[];this.Ni=[]}b.prototype.clear=function(){for(var a=0;a<this.oD.length;a++)this.oD[a].stop();this.Ni=this.oD=q};b.prototype.stop=function(){for(var a=0;a<this.Ni.length;a++)this.Ni[a].stop()};b.prototype.play=function(){for(var b=0;b<this.Ni.length;b++)this.Ni[b].get("state")!=a.Q&&this.Ni[b].play()};b.prototype.pause=function(){for(var b=0;b<this.Ni.length;b++)this.Ni[b].get("state")==a.Q&&this.Ni[b].pause()};b.prototype.start=function(){this.stop();
for(var a=0;a<this.Mi.length;a++){var b=this.Mi[a],f=b.jt();f&&(this.oD.push(f),b.get("autoplay",y)&&this.Ni.push(f))}for(a=0;a<this.Ni.length;a++)this.Ni[a].play()};return b});define("fr",["hp","cc"],function(a,b){return a.extend(b,function(a){b.call(this,a.get("audios",[]));this.hG=a})});define("eM",["hp","cc"],function(a,b){return a.extend(b,function(a){b.call(this,a.get("audios",[]));this.Lc=a})});
define("gd",["fr","eM"],function(a,b){function c(){this.og=[];this.Uf=[]}c.prototype.clear=function(){this.Y8();this.Uf=this.og=q};c.prototype.Y8=function(){for(var a=0;a<this.og.length;a++)this.og[a].clear();for(a=0;a<this.Uf.length;a++)this.Uf[a].clear();this.og=[];this.Uf=[]};c.prototype.pause=function(){for(var a=0;a<this.og.length;a++)this.og[a].pause();for(a=0;a<this.Uf.length;a++)this.Uf[a].pause()};c.prototype.play=function(){for(var a=0;a<this.og.length;a++)this.og[a].play();for(a=0;a<this.Uf.length;a++)this.Uf[a].play()};
c.prototype.stop=function(){for(var a=0;a<this.og.length;a++)this.og[a].stop();for(a=0;a<this.Uf.length;a++)this.Uf[a].clear();this.Uf=[]};c.prototype.dra=function(b){b=new a(b);this.Uf.push(b);b.start()};c.prototype.hra=function(a){for(var b=0;b<this.Uf.length;b++)if(this.Uf[b].hG==a){this.Uf[b].clear();this.Uf.splice(b,1);break}};c.prototype.RU=function(a){a=new b(a);this.og.push(a);a.start()};c.prototype.era=function(a){for(var b=0;b<this.og.length;b++)if(this.og[b].Lc==a){this.og[b].clear();this.og.splice(b,
1);break}};return c});
define("l",["hp","hO"],function(a,b){function c(){this.Y=p;this.$=this.Z=0.5;this.ka=1;this.Ic=b.ie;this.Eh=this.Fh=100}c.prototype.getX=function(){this.ni();return this.Z};c.prototype.getY=function(){this.ni();return this.$};c.prototype.Qk=function(){this.ni();return this.ka};c.prototype.ZB=function(a,b,c){this.Ic=c;this.$=this.Z=0.5;this.ka=1;this.Y=p};c.prototype.Ga=function(a,b,c){this.Z=a;this.$=b;this.ka=c;this.Y=p};c.prototype.setSize=function(a,b){this.Fh=a;this.Eh=b;this.Y=p};c.prototype.ni=
function(){if(this.Y){this.Y=y;1>this.ka&&(this.ka=1);var a=Math.min(0.5/this.ka,0.5),b=Math.max(1-0.5/this.ka,0.5);this.Z<a?this.Z=a:this.Z>b&&(this.Z=b);a=Math.min(0.5/this.ka,0.5);b=Math.max(1-0.5/this.ka,0.5);this.$<a?this.$=a:this.$>b&&(this.$=b)}};return c});
define("bi",[],function(){function a(a,c){this.g=a;this.I=c;this.$=this.Z=0.5;this.ka=1;this.AG=y}a.prototype.start=function(){this.$=this.Z=0.5;this.ka=1;this.AG=p};a.prototype.clear=function(){this.I=this.g=q};a.prototype.Ga=function(a,c,d){this.Z=a;this.$=c;this.ka=d};a.prototype.bd=P("AG");a.prototype.eb=function(){this.AG=y};return a});
define("fc",["hp","hH","dl"],function(a,b,c){a=a.extend(b,function(a,c,g){b.call(this);a!=m&&this.set("x",a);c!=m&&this.set("y",c);g!=m&&this.set("zoomFactor",g)});c.A("PhotoCameraPosition",a).C("Object").O({x:"number",y:"number",zoomFactor:"number"});return a});
define("g",["hp","bi","fc","jf","bk"],function(a,b,c,d,f){a=a.extend(b,function(a,c){b.call(this,a,c);this.L=q});a.prototype.start=function(a){var b=a.get("initialPosition",new c(0.5,0.5,1)),j=a.get("targetPosition",new c(0.5,0.5,1));this.L=new d(a.get("easing","linear"),[new f("x",b.get("x",0.5),j.get("x",0.5)),new f("y",b.get("y",0.5),j.get("y",0.5)),new f("zoom",b.get("zoomFactor",1),j.get("zoomFactor",1))],a.get("duration",1E3));this.eb(0)};a.prototype.clear=function(){this.L=q;b.prototype.clear.call(this)};
a.prototype.bd=function(){return this.L!=q};a.prototype.eb=function(a){this.L&&(this.L.eb(a),this.I.Ga(this.L.kb("x"),this.L.kb("y"),this.L.kb("zoom")),this.Z=this.I.getX(),this.$=this.I.getY(),this.ka=this.I.Qk(),this.L.ge()&&(this.L=q))};return a});
define("bT","hp,bL,dZ,dl,ey,hO,l,bi,g,jq".split(","),function(a,b,c,d,f,g,k,j,h,n){var e=a.extend(c,function(a,b){c.call(this);this.g=a;this.Qb=b;this.g.bind(n.ub,this.hb,this);this.k=f.J;this.ci=this.hG=this.tf=this.H=q;this.I=new k});e.prototype.clear=function(){this.end();this.I=q;this.g.unbind(n.ub,this.hb,this);this.g=q};e.prototype.end=function(a){if(this.H==a||typeof a=="undefined"){this.oZ();this.tf=this.hG=this.tf=this.H=q}};e.prototype.start=function(a){if(this.H!=a){this.end(this.H);var b=
a.get("media"),c=a.get("camera"),d=b.get("width",100),e=b.get("height",100),f=c?c.get("scaleMode",g.ie):g.ie;this.H=a;this.tf=c;this.hG=b;b.Tc();this.V=p;this.I.ZB(d,e,f);this.oca(c);this.ea()}};e.prototype.stop=function(){if(this.k!=f.J){this.k=f.J;if(this.ci){this.ci.start(this.tf);this.ea()}}};e.prototype.play=function(){if(this.k==f.J||this.k==f.kc){this.k=f.Q;this.ea()}};e.prototype.pause=function(){if(this.k==f.Q)this.k=f.kc};e.prototype.ho=function(a){if(this.ci&&this.ci.bd()){if(this.k==f.Q){this.ci.eb(a);
this.ea()}this.gi(this.ci.Z,this.ci.$,this.ci.ka)}};e.prototype.oca=function(a){this.oZ();this.ci=d.tb("MovementPhotoCamera",a)?new h(this.g,this.I):new j(this.g,this.I);this.ci.start(a)};e.prototype.oZ=function(){if(this.ci){this.ci.clear();this.ci=q}};e.prototype.hb=function(){this.I.setSize(this.g.Aa(),this.g.bb());this.ea()};e.prototype.ea=function(){this.trigger(new b(e.ra))};e.prototype.gi=function(a,b,c){this.Qb.Ga(this.H,a,b,c)};e.ra="request frame";return e});
define("fm","require,cL,hp,bL,dZ,jq,fh,hO".split(","),function(a){var b=a("cL"),c=a("hp"),d=a("bL"),f=a("dZ"),g=a("jq");a("fh");var k=a("hO"),j=c.extend(f,function(a,b){f.call(this);this.gA=[];this.D=a;this.g=b});j.prototype.tt=function(a){this.Uo(a).tt();return this};j.prototype.Vc=function(a,b){this.Uo(a).Vc(b);return this};j.prototype.xi=function(a,b){this.Uo(a).xi(b);return this};j.prototype.Ga=function(a,b,c,d){this.Uo(a).Ga(b,c,d);return this};j.prototype.tj=function(a){this.Uo(a).tj();return this};
j.prototype.stop=function(){this.AZ(function(a){a.clear()});this.gA=[]};j.prototype.clear=function(){this.stop();this.g=this.D=this.gA=q};j.prototype.ic=function(){this.AZ(function(a){a.update()})};j.prototype.Uo=function(a){var b=this.dda(a);if(!b){b=new h(a,this.g);b.bind(h.uW,this.Efa,this);b.bind(h.sW,this.Dfa,this);this.gA.push(b)}return b};j.prototype.AZ=function(a){b(this.gA).each(a,this)};j.prototype.dda=function(a){return b(this.gA).find(function(b){return b.getItem()==a})};j.prototype.Efa=
function(){this.ea()};j.prototype.Dfa=function(a){this.trigger(new d(j.XJ,{item:a.source.getItem()}))};j.prototype.ea=function(){this.trigger(new d(j.ra))};j.ra="request frame";j.XJ="photo preload end";var h=c.extend(f,function(a,b){f.call(this);this.H=a;this.g=b;var c=a.get("camera");this.Ic=c?c.get("scaleMode",k.ie):k.ie;this.zg=a.get("media").Tc();this.zg.bind(g.R,this.gf,this);this.zg.bind(g.od,this.rp,this);this.X=h.px;this.$=this.Z=0.5;this.ka=1;this.pg=0;this.Yt=y;this.Nd=0;this.Y=y});h.prototype.getItem=
P("H");h.prototype.tt=function(){this.X==h.px?this.mG():this.X4()};h.prototype.Vc=function(a){if(this.pg!=a){this.pg=a;this.Gc()}};h.prototype.xi=function(a){if(this.Nd!=a){this.Nd=a;this.Gc()}};h.prototype.Ga=function(a,b,c){if(this.Z!=a||this.$!=b||this.ka!=c){this.Z=a;this.$=b;this.ka=c;this.Gc()}};h.prototype.tj=function(){if(!this.Yt){this.Yt=p;this.Gc()}};h.prototype.clear=function(){this.X==h.gD&&this.Ip();(this.X==h.mx||this.X==h.ox||this.X==h.nx)&&this.$p();this.zg.unbind(g.R,this.gf);this.zg.unbind(g.od,
this.rp);this.zg=q};h.prototype.update=function(){if(this.Y){this.Y=y;if(this.Nd>-1&&this.Nd<1&&this.pg>0){this.X==h.px&&this.Iy();this.X==h.mx&&this.R$();if(this.X==h.gD){if(this.Yt){this.g.jB(this.zg);this.Yt=y}this.g.Fg(this.zg,this.pg);this.g.rqa(this.zg,this.Nd);this.g.eC(this.zg,this.Z,this.$,this.ka)}}else{this.X==h.gD&&this.Ip();(this.X==h.mx||this.X==h.nx)&&this.$p()}}};h.prototype.Gc=function(){if(!this.Y){this.Y=p;this.Db()}};h.prototype.Db=function(){this.trigger(new d(h.uW))};h.prototype.mG=
function(){this.X=h.ox;this.g.bo(this.zg)};h.prototype.Iy=function(){this.X=h.nx;this.g.bo(this.zg)};h.prototype.R$=function(){this.X=h.gD;this.g.iB(this.zg);this.g.uqa(this.zg,this.Ic)};h.prototype.Ip=function(){this.X=h.mx;this.g.removeItem(this.zg)};h.prototype.$p=function(){this.X=h.px;this.g.Ci(this.zg)};h.prototype.gf=function(){if(this.X==h.ox||this.X==h.nx){var a=this.X==h.ox;this.X=h.mx;this.Gc();a&&this.X4()}};h.prototype.rp=function(){if(this.X==h.ox||this.X==h.nx)this.X=h.px};h.prototype.X4=
function(){this.trigger(new d(h.sW))};h.uW="requestUpdate";h.sW="preloadEnd";h.px="unloaded";h.ox="preloading";h.nx="loading";h.mx="loaded";h.gD="added";return j});define("ix",[],function(){return{Yk:"blending",gl:"scroll"}});
define("bx","cL,hp,bL,dZ,jq,fm,ix".split(","),function(a,b,c,d,f,g,k){function j(b,c,d){this.pi=b;this.item=c;this.h9=d;this.index=b&&c?a(b.get("playList").get("items")).indexOf(this.item):0;this.loaded=y}j.prototype.isEqual=function(a){return a&&a.pi==this.pi&&a.item==this.item};var h=b.extend(d,function(a,b,c){d.call(this);this.D=a;this.g=b;this.Qb=c;this.Qb.bind(g.XJ,this.w2,this);this.wA=k.Yk;this.X=h.Ot;this.dd=new j(q,q,0);this.Nm=this.vg=this.ke=q;this.xA=m;this.Pp=0});h.prototype.Sqa=N("wA");
h.prototype.MU=N("Pp");h.prototype.bV=function(a,b,c){this.vg=q;a=new j(a,b,c);if(!a.isEqual(this.X==h.Ot?this.dd:this.ke)){this.vg=a;this.D1()}};h.prototype.clear=function(){(this.X==h.jD||this.X==h.hD)&&this.trigger(new c(h.ro,{album:this.ke.pi,item:this.ke.item}));this.X=h.Ot;this.g=this.D=this.Nm=this.dd=this.ke=this.vg=q;this.Qb.unbind(g.XJ,this.w2,this);this.Qb=q};h.prototype.ic=function(a){if(this.X!=h.Ot){this.xA=this.xA+a;a=this.ke.h9;a=this.xA>=a?1:this.xA/a;this.X==h.hD?this.qla(a):this.X==
h.iD?this.rla(a):this.wA==k.Yk?this.ila(a):this.Kla(a);a<1?this.ea():this.Nr()}};h.prototype.qla=function(a){this.Qb.Vc(this.ke.item,a).xi(this.ke.item,0)};h.prototype.rla=function(a){this.Qb.Vc(this.dd.item,1-a).xi(this.dd.item,0)};h.prototype.ila=function(a){this.Qb.Vc(this.ke.item,Math.min(1,a*2)).xi(this.ke.item,0);this.Qb.Vc(this.dd.item,Math.min(1,(1-a)*2)).xi(this.dd.item,0)};h.prototype.Kla=function(a){var b=this.dd.pi!=this.ke.pi||this.dd.index<this.ke.index;this.Qb.xi(this.ke.item,(b?1-
a:a-1)*(1+this.Pp)).Vc(this.ke.item,1);this.Qb.xi(this.dd.item,(b?-a:a)*(1+this.Pp)).Vc(this.dd.item,1)};h.prototype.D1=function(){this.vg&&this.X==h.Ot&&(this.vg.item&&!this.vg.loaded?this.Qb.tt(this.vg.item):this.Co())};h.prototype.w2=function(a){if(this.vg&&this.vg.item==a.data.item){this.vg.loaded=p;this.D1()}};h.prototype.Co=function(){if(this.Nm&&this.Nm!=this.vg.pi){this.trigger(new c(h.Gj,{album:this.Nm}));this.Nm=q}this.trigger(new c(h.dK));if(this.D.get("transitionMode")=="fade_out_fade_in"&&
this.vg.item!=q&&this.dd.item!=q){this.X=h.iD;this.ke=new j(this.dd.pi,q,this.dd.h9)}else{this.ke=this.vg;this.vg=q;if(this.dd.item)if(this.ke.item)this.X=h.jD;else{if(this.dd.item)this.X=h.iD}else this.X=h.hD}if(this.X==h.jD||this.X==h.hD){this.Qb.tj(this.ke.item);this.trigger(new c(h.Wq,{album:this.ke.pi,item:this.ke.item}))}this.xA=0;this.ea()};h.prototype.Nr=function(){(this.X==h.jD||this.X==h.iD)&&this.trigger(new c(h.ro,{album:this.dd.pi,item:this.dd.item}));this.dd=this.ke;if(this.Nm!=this.dd.pi){this.Nm=
this.dd.pi;this.trigger(new c(h.Hj,{album:this.Nm}))}this.X=h.Ot;if(this.vg==q){this.dd.item&&this.trigger(new c(h.Xq,{album:this.dd.pi,item:this.dd.item}));this.trigger(new c(h.eK,{album:this.dd.pi,item:this.dd.item}))}else this.Co()};h.prototype.ea=function(){this.trigger(new c(h.ra))};h.Ot="stopped";h.jD="blending";h.iD="fading_out";h.hD="fading_in";h.ra="request frame";h.dK="transition begin";h.eK="transition end";h.Wq="photo added";h.ro="photo removed";h.Xq="photo displayed";h.Hj="photo album show";
h.Gj="photo album hide";return h});
define("dD","cL,hp,bL,dZ,jq,dl,hO,fc,l,bi,g,jf,bk".split(","),function(a,b,c,d,f,g,k,j,h,n,e,l,r){var o=b.extend(d,function(a,b,c){d.call(this);this.D=a;this.g=b;this.Qb=c;this.ij=this.Yi=this.H=this.Lc=this.Ca=q;this.di=m;this.aH=0;this.ih=y;this.Nd=0;this.pF=this.ij?-1:0;this.jF=this.Yi?1:0;this.L=q;this.oj=400;this.Pp=0;this.I=new h});o.prototype.clear=function(){this.Qb=this.g=this.D=this.Nm=q};o.prototype.Zpa=function(b,c){this.Lc=b;this.H=c;var d=b&&b.get("playList")&&b.get("playList").get("items")||
[],e=a(d).indexOf(c);this.Yi=e>0?d[e-1]:q;this.ij=e<d.length-1?d[e+1]:q;this.Nd=0;this.pF=this.ij?-1:0;this.jF=this.Yi?1:0;this.mG()};o.prototype.enable=function(){if(this.Ca=this.g.getParent()){this.Ca.bind(f.lb,this.Ob,this,p);this.Ca.bind(f.Ac,this.Qh,this,p);this.Ca.bind(f.Gb,this.Tf,this,p);this.mG()}};o.prototype.disable=function(){if(this.Ca){this.Ca.unbind(f.lb,this.Ob,this);this.Ca.unbind(f.Ac,this.Qh,this);this.Ca.unbind(f.Gb,this.Tf,this);this.Ca=q}};o.prototype.Rqa=N("oj");o.prototype.MU=
N("Pp");o.prototype.mG=function(){if(this.Ca){this.Yi&&this.Qb.tt(this.Yi);this.ij&&this.Qb.tt(this.ij)}};o.prototype.J0=function(){return(new Date).getTime()};o.prototype.Ob=function(a){if(!this.ih){this.di=a.x;this.aH=0;this.iQ=this.J0();this.ih=p;this.L=q;this.trigger(new c(o.GJ));if(this.Yi){a=this.m_(this.Yi);this.Qb.Ga(this.Yi,a.x,a.y,a.zoom)}if(this.ij){a=this.m_(this.ij);this.Qb.Ga(this.ij,a.x,a.y,a.zoom)}}};o.prototype.Qh=function(a){if(this.ih){var b=a.x-this.di,c=b/this.Ca.Aa(),d=this.J0()-
this.iQ;this.aH=b/d;this.iQ=this.iQ+d;this.di=a.x;this.Nd=Math.max(this.pF,Math.min(this.jF,this.Nd+c));this.ea()}};o.prototype.Tf=function(){if(this.ih){this.ih=y;var a,b;if(this.aH>1){a="quad_out";b=this.jF}else if(this.aH<-1){a="quad_out";b=this.pF}else{a="quad_in_out";b=this.Nd<-0.5?this.pF:this.Nd>0.5?this.jF:0}this.L=new l(a,[new r("offset",this.Nd,b,1E3/this.oj)],0);this.ea()}};o.prototype.ic=function(a){if(this.ih||this.L){if(this.L){this.L.eb(a);this.Nd=this.L.kb("offset");if(this.L.ge()){this.L=
q;this.Rca()}else this.ea()}this.H&&this.Qb.xi(this.H,this.Nd*(1+this.Pp)).Vc(this.H,1);this.Yi&&this.Qb.xi(this.Yi,(this.Nd-1)*(1+this.Pp)).Vc(this.Yi,1);this.ij&&this.Qb.xi(this.ij,(this.Nd+1)*(1+this.Pp)).Vc(this.ij,1)}};o.prototype.Rca=function(){this.trigger(new c(o.HJ,{album:this.Lc,item:this.Nd<0?this.ij:this.Nd>0?this.Yi:this.H}))};o.prototype.ea=function(){this.trigger(new c(o.ra))};o.prototype.m_=function(a){var b=a&&a.get("camera"),c=a&&a.get("media"),a=c&&c.get("width",100)||100,c=c&&
c.get("height",100)||100,d=b?b.get("scaleMode",k.ie):k.ie,e={};if(g.tb("MovementPhotoCamera",b)){b=b.get("initialPosition",new j(0.5,0.5,1));e.x=b.get("x",0.5);e.y=b.get("y",0.5);e.zoom=b.get("zoomFactor",0.5)}else{e.x=0.5;e.y=0.5;e.zoom=1}this.I.ZB(a,c,d);this.I.setSize(this.g.Aa(),this.g.bb());this.I.Ga(e.x,e.y,e.zoom);e.x=this.I.getX();e.y=this.I.getY();e.zoom=this.I.Qk();return e};o.ra="request frame";o.GJ="interaction begin";o.HJ="interaction end";return o});
define("fZ","hp,bL,dZ,jq,fm,ix,bx,dD".split(","),function(a,b,c,d,f,g,k,j){var h=a.extend(c,function(a,b,d){c.call(this);this.D=a;this.g=b;this.Qb=d;this.wA=g.Yk;this.oj=1E3;this.Ia=new k(this.D,this.g,this.Qb);this.Ia.bind(k.ra,this.Zb,this,p);this.Ia.bind(k.dK,this.T0,this,p);this.Ia.bind(k.eK,this.U0,this,p);this.Ia.bind(k.Wq,this.mz,this,p);this.Ia.bind(k.ro,this.pz,this,p);this.Ia.bind(k.Xq,this.oz,this,p);this.Ia.bind(k.Gj,this.mk,this,p);this.Ia.bind(k.Hj,this.cj,this,p);this.Xg=new j(this.D,
this.g,this.Qb);this.Xg.bind(j.ra,this.Zb,this,p);this.Xg.bind(j.GJ,this.q0,this,p);this.Xg.bind(j.HJ,this.r0,this,p)});h.prototype.aJ=function(a,b){this.wA=a;this.oj=b;this.Ia.Sqa(a);this.Xg.Rqa(b);this.Ia.MU(0.05);this.Xg.MU(0.05)};h.prototype.display=function(a,b){this.Ia.bV(a,b,this.oj)};h.prototype.hide=function(){this.Ia.bV(q,q,this.oj)};h.prototype.clear=function(){this.Ia.unbind(k.ra,this.Zb,this);this.Ia.unbind(k.dK,this.T0,this);this.Ia.unbind(k.eK,this.U0,this);this.Ia.unbind(k.Wq,this.mz,
this);this.Ia.unbind(k.ro,this.pz,this);this.Ia.unbind(k.Xq,this.oz,this);this.Ia.unbind(k.Gj,this.mk,this);this.Ia.unbind(k.Hj,this.cj,this);this.Ia.clear();this.Ia=q;this.Xg.bind(j.ra,this.Zb,this,p);this.Xg.bind(j.GJ,this.q0,this,p);this.Xg.bind(j.HJ,this.r0,this,p);this.Xg.clear();this.Qb=this.g=this.D=this.Xg=q};h.prototype.ic=function(a){this.Ia.ic(a);this.Xg.ic(a)};h.prototype.Zb=function(){this.ea()};h.prototype.mz=function(a){this.trigger(new b(h.Wq,a.data))};h.prototype.pz=function(a){this.trigger(new b(h.ro,
a.data))};h.prototype.oz=function(a){this.trigger(new b(h.Xq,a.data));this.Xg.Zpa(a.data.album,a.data.item)};h.prototype.mk=function(a){this.trigger(new b(h.Gj,a.data))};h.prototype.cj=function(a){this.trigger(new b(h.Hj,a.data))};h.prototype.T0=function(){this.Xg.disable()};h.prototype.U0=function(a){this.wA==g.gl&&a.data.item&&this.Xg.enable()};h.prototype.q0=function(){this.trigger(new b(h.vV))};h.prototype.r0=function(a){this.Ia.bV(a.data.album,a.data.item,0);this.trigger(new b(h.wV,a.data))};
h.prototype.ea=function(){this.trigger(new b(h.ra))};h.ra="request frame";h.Wq="photo added";h.ro="photo removed";h.Xq="photo displayed";h.Hj="photo album show";h.Gj="photo album hide";h.vV="manual interaction begin";h.wV="manual interaction end";return h});
define("fF","require,cL,hp,v,bL,dZ,ey".split(","),function(a){var b=a("cL"),c=a("hp"),d=a("v"),f=a("bL"),g=a("dZ"),k=a("ey"),j=c.extend(g,function(){g.call(this);this.Lc=q;this.k=k.J;this.PQ=q});j.prototype.clear=function(){this.YS()};j.prototype.RU=function(a){this.YS();this.Lc=a;this.k=k.Q;this.PQ=d.watch(this.Lc,"playList.selectedIndex",this.Gs,this);this.Lc.get("playList").get("selectedIndex")==0?this.Gs():this.Lc.get("playList").set("selectedIndex",0)};j.prototype.YS=function(){if(this.Lc){this.k=
k.J;this.PQ.unwatch();this.Lc=this.PQ=q}};j.prototype.stop=function(){if(this.k!=k.J){this.k=k.J;this.Lc.get("playList").set("selectedIndex",0)}};j.prototype.play=function(){if(this.k==k.J){this.Lc.get("playList").set("selectedIndex",0);this.k=k.Q;this.Gs()}else if(this.k==k.kc)this.k=k.Q};j.prototype.pause=function(){if(this.k==k.Q)this.k=k.kc};j.prototype.next=function(){var a=this.Lc.get("playList"),b=a.get("selectedIndex"),c=a.get("items").length;(b<c-1||this.Lc.get("loop"))&&a.set("selectedIndex",
(b+1)%c)};j.prototype.eU=function(){var a=this.Lc.get("playList"),b=a.get("selectedIndex"),c=a.get("items").length;(b>0||this.Lc.get("loop"))&&a.set("selectedIndex",(b-1+c)%c)};j.prototype.CI=function(a){this.yja(a)};j.prototype.Moa=function(a){if(this.Lc){var c=b(this.Lc.get("playList").get("items")).last();if(a==c&&!this.Lc.get("loop")){this.k=k.J;this.trigger(new f(j.DJ,{album:this.Lc}))}else this.next()}};j.prototype.Gs=function(){var a=this.tea();a>=0&&(this.k!=k.Q&&a!=0?this.trigger(new f(j.ZJ)):
this.trigger(new f(j.LJ,{album:this.Lc,item:this.Lc.get("playList").get("items")[a]})))};j.prototype.tea=function(){return this.Lc?this.Lc.get("playList").get("selectedIndex"):-1};j.prototype.yja=function(a){if(this.Lc){var c=this.Lc.get("playList"),a=b(c.get("items")).indexOf(a);c.set("selectedIndex",a)}};j.ZJ="play request";j.LJ="item request";j.DJ="album end";return j});
define("bY","require,cL,hp,jq,bL,dZ,ey,eB".split(","),function(a){a("cL");var b=a("hp"),c=a("jq"),d=a("bL"),f=a("dZ"),g=a("ey"),k=a("eB"),j=b.extend(f,function(a){f.call(this);this.D=a;this.uA=this.H=q;this.As=m;this.SE=y;this.k=g.J;k.bind(c.U,this.e2,this,p)});j.prototype.CI=function(a){this.TM();if(this.H=a){a=this.H.get("media").get("duration",0);this.As=a==0?m:Math.max(0,a-this.D.get("transitionDuration"));this.SE=y;this.k==g.Q&&this.iN()}};j.prototype.clear=function(){k.unbind(c.U,this.e2,this,
p);this.CI(q)};j.prototype.stop=function(){if(this.k!=g.J){this.TM();this.jb(g.J)}};j.prototype.play=function(){if(this.k==g.J){this.jb(g.Q);if(this.H){this.SE=y;this.As=this.H.get("media").get("duration",0);this.iN()}}else if(this.k==g.kc){this.jb(g.Q);this.H&&this.iN()}};j.prototype.pause=function(){if(this.k==g.Q){this.jb(g.kc);this.u2()}};j.prototype.iN=function(){if(!this.SE){this.SE=p;this.trigger(new d(j.MJ,{item:this.H}))}this.DZ()};j.prototype.e2=function(){k.visible?this.DZ():k.visible||
this.u2()};j.prototype.DZ=function(){if(this.As!==m){var a=this;this.lH=(new Date).getTime()+this.As;this.uA=setTimeout(function(){a.uA=q;a.Aka()},this.As)}else this.lH=m};j.prototype.TM=function(){if(this.uA){clearTimeout(this.uA);this.uA=q}};j.prototype.u2=function(){if(this.lH!==m){this.TM();this.As=Math.max(1,this.lH-(new Date).getTime());this.lH=m}};j.prototype.Aka=function(){var a=this.H;this.H=q;this.As=m;this.trigger(new d(j.KJ,{item:a}))};j.prototype.jb=function(a){if(this.k!=a){this.k=a;
this.trigger(new d(j.Fb,{state:this.k}))}};j.Fb="playback state change";j.MJ="item start";j.KJ="item end";return j});
define("iK",["hp","bL","dZ","S","t"],function(a,b,c,d,f){var g=a.extend(c,function(a){c.call(this);this.V=p;this.bk=y;this.g=a;this.Si=f.browser()==f.yC&&f.ud()==f.JK?3:1;this.me=this.$x=0});g.prototype.clear=function(){this.V=y;this.g=q;this.me=this.$x=0};g.prototype.Ba=function(){this.bk||(this.bk=p,d.Ba(this.ff,this))};g.prototype.ff=function(a){this.V&&(this.$x++,this.me+=a,this.$x==this.Si?(this.$x=0,this.bk=y,a=this.me,this.me=0,this.trigger(new b(g.Jj,{frameTime:a})),this.trigger(new b(g.Kj,
{frameTime:a})),this.g.render()):d.Ba(this.ff,this))};g.Jj="frameStart";g.Kj="positionSet";return g});
define("en","hp,jq,bL,dZ,gd,bT,fZ,fF,bY,fm,iK".split(","),function(a,b,c,d,f,g,k,j,h,n,e){var l=a.extend(d,function(a,b){d.call(this);this.D=a;this.g=b;this.Pe=new j(this.g);this.$a=new h(this.D);this.Qb=new n(this.D,this.g);this.wa=new k(this.D,this.g,this.Qb);this.fa=new g(this.g,this.Qb);this.wc=new e(this.g);this.zd=new f;this.Qb.bind(n.ra,this.Zb,this,p);this.Pe.bind(j.LJ,this.k1,this,p);this.Pe.bind(j.ZJ,this.H1,this,p);this.Pe.bind(j.DJ,this.nz,this,p);this.$a.bind(h.MJ,this.l1,this);this.$a.bind(h.KJ,
this.j1,this);this.$a.bind(h.Fb,this.Od,this,p);this.wa.bind(k.ra,this.Zb,this,p);this.wa.bind(k.Wq,this.mz,this,p);this.wa.bind(k.ro,this.pz,this,p);this.wa.bind(k.Xq,this.oz,this,p);this.wa.bind(k.Gj,this.mk,this,p);this.wa.bind(k.Hj,this.cj,this,p);this.wa.bind(k.vV,this.xga,this,p);this.wa.bind(k.wV,this.yga,this,p);this.fa.bind(g.ra,this.Zb,this,p);this.wc.bind(e.Jj,this.xp,this,p);this.wc.bind(e.Kj,this.yp,this,p)});l.prototype.clear=function(){this.Pe.clear();this.$a.clear();this.wa.clear();
this.fa.clear();this.wc.clear();this.zd.clear();this.Qb.clear();this.Qb.unbind(n.ra,this.Zb,this);this.Pe.unbind(j.LJ,this.k1,this);this.Pe.unbind(j.DJ,this.nz,this);this.Pe.unbind(j.ZJ,this.H1,this);this.$a.unbind(h.MJ,this.l1,this);this.$a.unbind(h.KJ,this.j1,this);this.$a.unbind(h.Fb,this.Od,this);this.wa.unbind(k.ra,this.Zb,this);this.wa.unbind(k.Wq,this.mz,this);this.wa.unbind(k.ro,this.pz,this);this.wa.unbind(k.Xq,this.oz,this);this.wa.unbind(k.Gj,this.mk,this);this.wa.unbind(k.Hj,this.cj,this);
this.fa.unbind(g.ra,this.Zb,this);this.wc.unbind(e.Jj,this.xp,this);this.wc.unbind(e.Kj,this.yp,this);this.D=this.g=this.Qb=this.zd=this.wc=this.fa=this.wa=this.$a=this.Pe=q};l.prototype.aJ=function(a,b){this.wa.aJ(a,b)};l.prototype.Iqa=function(a){this.Pe.RU(a)};l.prototype.vt=function(){this.Pe.YS();this.$a.stop();this.wa.hide();this.fa.end();this.zd.Y8()};l.prototype.next=function(){this.Pe.next()};l.prototype.eU=function(){this.Pe.eU()};l.prototype.stop=function(){this.$a.stop();this.zd.stop();
this.Pe.stop();this.fa.stop()};l.prototype.play=function(){this.$a.play();this.zd.play();this.Pe.play();this.fa.play()};l.prototype.pause=function(){this.$a.pause();this.zd.pause();this.Pe.pause();this.fa.pause()};l.prototype.xga=function(){this.$a.pause();this.zd.pause();this.Pe.pause();this.fa.pause()};l.prototype.yga=function(){this.$a.play();this.zd.play();this.Pe.play();this.fa.play()};l.prototype.k1=function(a){this.wa.display(a.data.album,a.data.item)};l.prototype.H1=function(){this.play()};
l.prototype.Zb=function(){this.wc.Ba()};l.prototype.xp=function(a){this.fa.ho(a.data.frameTime)};l.prototype.yp=function(a){a=a.data.frameTime;this.wa.ic(a);this.Qb.ic(a)};l.prototype.mz=function(a){this.fa.start(a.data.item)};l.prototype.pz=function(a){var b=a.data.album,a=a.data.item,d=a.get("media");this.fa.end(a);this.zd.hra(d);this.trigger(new c(l.WJ,{photoAlbum:b,item:a}))};l.prototype.oz=function(a){var b=a.data.album,a=a.data.item;a.get("media");this.Pe.CI(a);this.$a.CI(a);this.trigger(new c(l.VJ,
{photoAlbum:b,item:a}))};l.prototype.l1=function(a){this.zd.dra(a.data.item.get("media"))};l.prototype.j1=function(a){this.Pe.Moa(a.data.item)};l.prototype.nz=function(a){this.$a.stop();this.zd.stop();this.trigger(new c(l.UJ,{photoAlbum:a.data.album}))};l.prototype.cj=function(a){a=a.data.album;this.zd.RU(a);this.$a.play();this.fa.play();this.trigger(new c(l.Hj,{photoAlbum:a}))};l.prototype.mk=function(a){a=a.data.album;this.zd.era(a);this.trigger(new c(l.Gj,{photoAlbum:a}))};l.prototype.Od=function(a){this.trigger(new c(l.Fb,
{state:a.data.state}))};l.Hj="photoAlbumShow";l.UJ="photoAlbumEnd";l.Gj="photoAlbumHide";l.VJ="photoBegin";l.WJ="photoEnd";l.Fb="playbackStateChange";return l});
define("eW","require,jquery.mod,cL,hO,hl,hB,t".split(","),function(a){function b(a,b){this.H=a;this.N=b;this.Da=a.jc();this.La=a.Sc();this.kE=a.qN;this.KS=this.Hy=0;this.pg=1;this.Nd=0;this.Y=p;this.qM();this.Ra=this.Oa=100;this.$=this.Z=0.5;this.ka=1;this.Dz=p;this.Oc=1;this.BZ={};this.P_={};this.B5=k.US&&j.browser()!=j.xh}var c=a("jquery.mod"),d=a("cL"),f=a("hO"),g=a("hl"),k=a("hB"),j=a("t");b.prototype.qM=function(){this.dD=c("<div></div>");var a={position:"absolute",left:"0",top:"0",width:this.Oa+
"px",height:this.Ra+"px",overflow:"hidden","-webkit-transform":"translateZ(0)"};a["-moz-transform-origin"]=a["-webkit-transform-origin"]=a["transform-origin"]="0 0 0";a["-ms-transform-origin"]="0 0";this.dD.css(a);this.MK=c(g.Id(this.H.fg()));a={display:"block",position:"absolute",left:"0",top:"0",width:this.Da+"px",height:this.La+"px"};a["-moz-transform-origin"]=a["-webkit-transform-origin"]=a["transform-origin"]="0 0 0";a["-ms-transform-origin"]="0 0";this.MK.css(a);this.dD.append(this.MK)};b.prototype.fb=
P("dD");b.prototype.getItem=P("H");b.prototype.getX=P("Z");b.prototype.getY=P("$");b.prototype.Qk=P("ka");b.prototype.Aa=function(){return Math.round(this.Da*this.ka*this.Oc)};b.prototype.bb=function(){return Math.round(this.La*this.ka*this.Oc)};b.prototype.Vc=function(a){if(this.pg!=a){this.pg=a;this.Y=p}};b.prototype.Dq=function(a){if(this.Ic!=a){this.Ic=a;this.Y=p}};b.prototype.lm=function(a,b){if(this.Oa!=a||this.Ra!=b){this.Oa=a;this.Ra=b;this.Y=p}};b.prototype.Ga=function(a,b,c){if(this.Z!=
a||this.$!=b||this.ka!=c){this.Z=a;this.$=b;this.ka=c;this.Y=p}};b.prototype.xi=function(a){if(this.Nd!=a){this.Nd=a;this.Y=p}};b.prototype.$pa=function(a){if(this.KS!=a){this.KS=a;this.Y=p}};b.prototype.render=function(){if(this.Y){this.Y=y;switch(this.Ic){case f.NONE:this.Oc=1;break;case f.Mj:this.Oc=this.Oa/this.Da;break;case f.mg:this.Oc=this.Ra/this.La;break;case f.bl:this.Oc=this.Da*this.Ra>this.La*this.Oa?this.Ra/this.La:this.Oa/this.Da;break;default:this.Oc=this.Da*this.Ra>this.La*this.Oa?
this.Oa/this.Da:this.Ra/this.La}var a=this.ka*this.Oc,b=this.Oa*0.5-this.Z*this.Da*a,c=this.Ra*0.5-this.$*this.La*a,g=this.Oa*this.Nd,j=function(a,b){return Math.round(a*Math.pow(10,b))*Math.pow(10,-b)},k={};k.width=j(this.Oa,0)+"px";k.height=j(this.Ra,0)+"px";k.transform=this.B5?"translate3d("+j(g,2)+"px, 0px, 0px)":"translate("+j(g,2)+"px, 0px)";k["-moz-transform"]=k["-webkit-transform"]=k["-ms-transform"]=k.transform;k["z-index"]=this.KS;if(this.pg==0)k.display="none";else{k.display="block";if(this.pg==
1){k.filter=k["-ms-filter"]="";k.opacity=""}else{k.filter=k["-ms-filter"]="alpha(opacity="+Math.round(this.pg*100)+")";k.opacity=this.pg}}g=[];if(this.B5){g.push("translate3d("+j(b,2)+"px, "+j(c,2)+"px, 0px)");g.push("scale3d("+a+", "+a+", "+a+")");if(this.kE){g.push("translate3d("+this.Da+"px, 0, 0)");g.push("scale3d(-1, 1, 1)")}}else{g.push("translate("+j(b,2)+"px, "+j(c,2)+"px)");g.push("scale("+a+", "+a+")");if(this.kE){g.push("translate("+this.Da+"px, 0)");g.push("scale(-1, 1)")}}a={};a["-moz-transform"]=
a["-webkit-transform"]=a["-ms-transform"]=a.transform=g.join(" ");if(!d.isEqual(this.BZ,k)){this.BZ=k;this.dD.css(k)}if(!d.isEqual(this.P_,a)){this.P_=a;this.MK.css(a)}}};return b});
define("fl","require,jquery.mod,cL,hp,jq,fh,hl,eW,N,d".split(","),function(a){var b=a("jquery.mod"),c=a("cL"),d=a("hp"),f=a("jq"),g=a("fh"),k=a("hl"),j=a("eW"),h=a("N"),n=a("d"),a=d.extend(n,function(){n.call(this);this.xc("Renderer");this.set("toolTipDisabled",p);this.set("cursor",h.Tw);this.bind(f.ub,this.hb,this,p);this.bind(f.Ce,this.Xh,this,p);this.bind(f.rf,this.Th,this,p);this.Bl=y;this.xb=[];this.Ms=this.Cg=y;this.QP=b("<div/>");this.QP.css({position:"absolute",left:0,top:0,right:0,bottom:0,
overflow:"hidden","-webkit-transform":"translateZ(0)"});this.Pa().append(this.QP)});a.prototype.bo=function(a){k.bo(a,g.dl)};a.prototype.Ci=function(a){k.Ci(a,g.dl)};a.prototype.iB=function(a){a=new j(a,this);a.lm(this.Aa(),this.bb());a.Ga(0.5,0.5,0,1);this.QP.append(a.fb());this.xb.push(a);this.Cg=p};a.prototype.removeItem=function(a){if(a=this.$j(a)){this.xb=c.without(this.xb,a);a.fb().detach();this.Cg=p}};a.prototype.jB=function(a){if(a=this.$j(a)){this.xb=c.without(this.xb,a);this.xb.push(a);
this.Cg=p}};a.prototype.uqa=function(a,b){this.$j(a).Dq(b)};a.prototype.Fg=function(a,b){this.$j(a).Vc(b)};a.prototype.rqa=function(a,b){this.$j(a).xi(b)};a.prototype.eC=function(a,b,c,d){this.$j(a).Ga(b,c,d)};a.prototype.CB=function(a){return this.$j(a).getX()};a.prototype.DB=function(a){return this.$j(a).getY()};a.prototype.F6=function(a){return this.$j(a).Qk()};a.prototype.BB=function(a){return this.$j(a).Aa()};a.prototype.AB=function(a){return this.$j(a).bb()};a.prototype.render=function(){if(this.Bl){this.Fla();
this.Sja();for(var a=0;a<this.xb.length;a++)this.xb[a].render()}};a.prototype.Fla=function(){if(this.Ms){this.Ms=y;for(var a=this.Aa(),b=this.bb(),c=0;c<this.xb.length;c++)this.xb[c].lm(a,b)}};a.prototype.Sja=function(){if(this.Cg){this.Cg=y;for(var a=[],b=0;b<this.xb.length;b++){var c=this.xb[b],d={};d.DI=c.Hy;d.index=b;d.jm=c;a.push(d)}a.sort(function(a,b){return a.DI==b.DI?a.index-b.index:a.DI-b.DI});for(b=0;b<a.length;b++)a[b].jm.$pa(b+1)}};a.prototype.$j=function(a){if(this.tsa==a)return this.ssa;
for(var b=q,c=0;c<this.xb.length&&!b;c++)this.xb[c].getItem()==a&&(b=this.xb[c]);return b};a.prototype.hb=function(){this.Ms=p;this.render()};a.prototype.Xh=function(){this.Bl=p;this.render()};a.prototype.Th=function(){this.Bl=y};return a});
define("gE","require,hp,bL,dl,il,ce,fC,en,ix,fl,cK,jq".split(","),function(a){var b=a("hp"),c=a("bL"),d=a("dl"),f=a("il"),g=a("ce"),k=a("fC"),j=a("en"),h=a("ix"),n=a("fl"),e=a("cK"),l=a("jq"),a=b.extend(k,function(){k.call(this,"photoAlbum");this.pH=this.PP=this.Ag=y;this.p=this.g=q;this.Xaa=new f(this,"buttonNext",e.Bc);this.Xaa.bind(l.W,this.Cga,this);this.Yaa=new f(this,"buttonPrevious",e.Bc);this.Yaa.bind(l.W,this.Lga,this);this.Nc=b.fo(this.Re,this)});d.A("PhotoAlbumPlayer",a).C("Object").O({photoAlbum:"PhotoAlbum",
viewerArea:"ViewerArea",state:"enum[stopped, playing, paused]",mouseTransition:"enum[blending, scroll]",mouseTransitionDuration:"number",touchTransition:"enum[blending, scroll]",touchTransitionDuration:"number",buttonNext:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPrevious:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPause:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPlay:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",
buttonPlayPause:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonStop:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonRestart:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]"}).Gg({play:function(){this.Ru()},pause:function(){this.Qu()},stop:function(){this.rs()},restart:function(){this.qs()}}).Yb([g.Xe,g.Ig,k.nd]);a.prototype.set=function(a,b){if(this.get(a)!=b){switch(a){case "photoAlbum":this.PP=p;this.Nc();break;case "viewerArea":this.Ag=
p;this.Nc();break;case "touchTransition":case "mouseTransition":case "touchTransitionDuration":case "mouseTransitionDuration":case "transitionDuration":this.pH=p;this.Nc()}k.prototype.set.call(this,a,b)}};a.prototype.Re=function(){if(this.Ag){this.Ag=y;this.pH=p;this.Jr();this.get("viewerArea")&&this.Gr();this.VG(this.get("viewerArea"))}if(this.g&&this.PP){this.PP=y;if(this.get("photoAlbum")){this.xG();this.p.Iqa(this.get("photoAlbum"))}else this.p.vt()}if(this.pH){this.pH=y;this.w5()}};a.prototype.lA=
function(){this.set("photoAlbum",q)};a.prototype.Gr=function(){var a=this.get("viewerArea");this.g=new n;this.g.S({left:0,top:0,bottom:0,right:0});a.pa(this.g);this.p=new j(a,this.g);this.w5();this.p.bind(j.Hj,this.cj,this);this.p.bind(j.Gj,this.mk,this);this.p.bind(j.UJ,this.nz,this);this.p.bind(j.VJ,this.F1,this);this.p.bind(j.WJ,this.G1,this);this.p.bind(j.Fb,this.Od,this);this.rv(p)};a.prototype.Jr=function(){if(this.g){this.p.unbind(j.Hj,this.cj,this);this.p.unbind(j.Gj,this.mk,this);this.p.unbind(j.UJ,
this.nz,this);this.p.unbind(j.VJ,this.F1,this);this.p.unbind(j.WJ,this.G1,this);this.p.unbind(j.Fb,this.Od,this);this.p.clear();this.g.getParent().removeChild(this.g);this.g=q;this.rv(y)}};a.prototype.w5=function(){var a=this.get("viewerArea");a&&this.p&&(a.Wi?this.p.aJ(this.get("touchTransition",h.Yk),this.get("touchTransitionDuration",a.get("transitionDuration",1E3))):this.p.aJ(this.get("mouseTransition",h.Yk),this.get("mouseTransitionDuration",a.get("transitionDuration",1E3))))};a.prototype.Od=
function(a){this.jb(a.data.state)};a.prototype.cj=function(a){this.lF(a.data.photoAlbum)};a.prototype.mk=function(a){this.kF(a.data.photoAlbum)};a.prototype.nz=function(a){a.data.photoAlbum.trigger(new c(l.ua))};a.prototype.F1=function(a){a.data.item.Pv()};a.prototype.G1=function(a){a.data.item.end()};a.prototype.rn=function(a){this.g.getParent().S({progressPercent:a.data.percent,progressVisible:p})};a.prototype.Pu=function(){this.g.getParent().set("progressVisible",y)};a.prototype.Cga=function(){this.p&&
this.get("photoAlbum")&&this.p.next()};a.prototype.Lga=function(){this.p&&this.get("photoAlbum")&&this.p.eU()};a.prototype.xg=function(){this.p&&this.get("photoAlbum")&&this.p.play()};a.prototype.mj=function(){this.p&&this.get("photoAlbum")&&this.p.stop()};a.prototype.tk=function(){this.p&&this.get("photoAlbum")&&this.p.pause()};return a});
define("el",["hp","dl","ce","cJ"],function(a,b,c,d){a=a.extend(d,function(){d.call(this)});b.A("PhotoAlbumPlayListItem",a).C("PlayListItem").O({media:"PhotoAlbum",player:"PhotoAlbumPlayer"});a.prototype.start=function(){d.prototype.start.call(this);var a=this.get("player");a&&(a.bind(c.Xe,this.cj,this),a.set("photoAlbum",this.get("media")))};a.prototype.stop=function(){var a=this.get("player");a&&(a.unbind(c.Xe,this.cj,this),a.get("photoAlbum")==this.get("media")&&a.set("photoAlbum",q));d.prototype.stop.call(this)};
a.prototype.rC=function(){var a=this.get("media");if(a){var b=a.get("playList");b&&(a=b.get("selectedIndex"),b=b.get("items"),0<=a&&b&&b[a].rC())}d.prototype.rC.call(this)};a.prototype.cj=function(){this.get("player").unbind(c.Xe,this.cj,this);this.get("player").bind(c.Ig,this.mk,this);this.Pv()};a.prototype.mk=function(){this.get("player").unbind(c.Ig,this.mk,this);this.end()};return a});
define("ez",["hp","dl","fN","fT"],function(a,b,c,d){a=a.extend(c,function(){c.call(this,d.d$)});b.A("PhotoAudio",a).C("MediaAudio");return a});define("iF",["hp","hH","dl"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("PhotoCamera",a).C("Object").O({scaleMode:"enum[none, fit_inside, fit_outside, fit_to_width, fit_to_height]"});return a});
define("dd","require,cL,hp,hH,bL,dl,ge,jq".split(","),function(a){var b=a("cL"),c=a("hp"),d=a("hH"),f=a("bL"),g=a("dl"),k=a("ge"),j=a("jq"),a=c.extend(d,function(){this.Pc=-1;this.mc=[];this.Fz=this.jk=this.zf=m;d.call(this)});g.A("PlayList",a).C("Object").O({items:"array[PlayListItem]",selectedIndex:"number"}).uh([j.wJ]).Yb([j.U]);a.prototype.set=function(a,b){a=="selectedIndex"?this.xja(b):a=="items"?this.mja(b):d.prototype.set.call(this,a,b)};a.prototype.get=function(a,b){return a=="selectedIndex"?
this.Pc:a=="items"?this.mc:d.prototype.get.call(this,a,b)};a.prototype.mja=function(a){a=a||[];if(!b.isEqual(this.mc,a)){var c=this.Pc;this.mc=a;a=this.q3(this.Pc);this.trigger(new f(j.wJ,{nextSelectedIndex:a}));this.Pc=a;this.T3(this.Uo(this.Pc));this.q5();this.trigger(new f(j.U,{previousSelectedIndex:c}));d.prototype.set.call(this,"items",this.mc);d.prototype.set.call(this,"selectedIndex",this.Pc)}};a.prototype.xja=function(a){a=this.q3(a);if(this.Pc!=a){var b=this.Pc;this.trigger(new f(j.wJ,{nextSelectedIndex:a}));
this.Pc=a;this.T3(this.Uo(this.Pc));this.q5();this.trigger(new f(j.U,{previousSelectedIndex:b}));d.prototype.set.call(this,"selectedIndex",this.Pc)}};a.prototype.q3=function(a){return Math.max(-1,Math.min(this.mc.length-1,a))};a.prototype.Uo=function(a){return a>=0?this.mc[a]:q};a.prototype.T3=function(a){if((this.zf!=a||this.jk!==m)&&this.jk!==a)if(this.jk===m){this.jk=a;if(this.zf)if(this.jk&&this.zf.get("player")==this.jk.get("player")){this.zf.rC();this.ps()}else this.zf.stop();else this.ps()}else this.jk=
a};a.prototype.ps=function(){if(this.zf){this.zf.unbind(j.Ej,this.vP,this);this.zf.unbind(j.yd,this.ps,this);this.zf.unbind(j.ua,this.ps,this)}if(this.jk){this.zf=this.jk;this.jk=m;this.zf.bind(j.Ej,this.vP,this);this.zf.bind(j.yd,this.ps,this);this.zf.start()}else{this.jk=this.zf=m;this.set("selectedIndex",-1)}};a.prototype.vP=function(){this.zf.unbind(j.Ej,this.vP,this);this.zf.unbind(j.yd,this.ps,this);this.zf.bind(j.ua,this.ps,this)};a.prototype.q5=function(){this.Fz&&k.GI(this.Fz.get("media"),
-1);(this.Fz=this.mc&&this.Pc>=0?this.mc[(this.Pc+1)%this.mc.length]:q)&&k.GI(this.Fz.get("media"),1)};return a});define("gK",["hp","dl","dd"],function(a,b,c){a=a.extend(c,function(){c.call(this)});b.A("PhotoPlayList",a).C("PlayList").O({items:"array[PhotoPlayListItem]"});return a});define("gX",["hp","dl","cJ"],function(a,b,c){a=a.extend(c,function(){c.call(this)});b.A("PhotoPlayListItem",a).C("PlayListItem").O({media:"Photo",camera:"PhotoCamera"});return a});
define("dR",["require","cL","hp","ed","dl"],function(a){a("cL");var b=a("hp"),c=a("ed"),a=a("dl"),b=b.extend(c,function(){c.call(this)});a.A("PlaybackBar",b).C("UIComponent").O({barBackgroundColor:"or[array[color], color]",barBackgroundColorDirection:"enum[horizontal, vertical]",barBackgroundColorRatios:"array[number]",barBorderColor:"color",barBorderRadius:"number",barBorderSize:"number",barOpacity:"number",playheadBackgroundColor:"or[array[color], color]",playheadBackgroundColorDirection:"enum[horizontal, vertical]",
playheadBackgroundColorRatios:"array[number]",playheadBorderColor:"color",playheadBorderRadius:"number",playheadBorderSize:"number",playheadOpacity:"number",playheadWidth:"or[number, percent]",playheadHeight:"or[number, percent]",playheadShadow:"bool",playheadShadowBlurRadius:"number",playheadShadowColor:"color",playheadShadowHorizontalLength:"number",playheadShadowOpacity:"number",playheadShadowSpread:"number",playheadShadowVerticalLength:"number",stepBackgroundColor:"or[array[color], color]",stepBackgroundColorDirection:"enum[horizontal, vertical]",
stepBackgroundColorRatios:"array[number]",stepBorderColor:"color",stepBorderRadius:"number",stepBorderSize:"number",stepOpacity:"number",stepWidth:"or[number, percent]",stepHeight:"or[number, percent]",stepShadow:"bool",stepShadowBlurRadius:"number",stepShadowColor:"color",stepShadowHorizontalLength:"number",stepShadowOpacity:"number",stepShadowSpread:"number",stepShadowVerticalLength:"number",selectedStepBackgroundColor:"or[array[color], color]",selectedStepBackgroundColorDirection:"enum[horizontal, vertical]",
selectedStepBackgroundColorRatios:"array[number]",selectedStepBorderColor:"color",selectedStepBorderRadius:"number",selectedStepBorderSize:"number",selectedStepOpacity:"number",selectedStepWidth:"or[number, percent]",selectedStepHeight:"or[number, percent]",selectedStepShadow:"bool",selectedStepShadowBlurRadius:"number",selectedStepShadowColor:"color",selectedStepShadowHorizontalLength:"number",selectedStepShadowOpacity:"number",selectedStepShadowSpread:"number",selectedStepShadowVerticalLength:"number",
position:"number",duration:"number",steps:"number",selectedStep:"number"});return b});
define("it",["require"],function(){function a(a){try{for(var f=(c.PT<<12)+c.WT&65535,g="",k=0,j=a.length;k<j;)var h=b.indexOf(a.charAt(k++))<<12|b.indexOf(a.charAt(k++))<<6|b.indexOf(a.charAt(k++))<<0,h=h-f+65536&65535,g=g+String.fromCharCode(h);return g}catch(n){if("{%"==a.substr(0,2))return""}}var b="";[[65,26],[97,26],[48,10]].forEach(function(a){for(var c=0;c<a[1];c++)b+=String.fromCharCode(a[0]+c)});var b=b+"+/",c={Pma:"true"};c.PT=parseInt("0")||
0;c.WT=parseInt("1262")||1;c.gra="true";c.name=a("AUhAUyAVEAVXAVhAViAVPAUOAU+AVaAVPAVnAVTAVg");c.p9=a("");return c});
define("hN",["require"],function(){function a(a){var b=a instanceof Request||a instanceof Response?a.url:a;b&&(b=b.split("#")[0]);b&&(b=b.split("?")[0]);return!b||-1!=b.indexOf("://")?Promise.resolve(b):("undefined"!==typeof window?Promise.resolve(window.location.href):clients.matchAll({type:"window"}).then(function(a){if(a.length)return a[0].url})).then(function(a){return(new URL(b,a)).toString()})}function b(a,b){return new Promise(function(c,d){(b===m?f():Promise.resolve(b)).then(function(b){(window.webkitRequestFileSystem||
window.requestFileSystem)(b?PERSISTENT:TEMPORARY,a,function(a){c(a)},function(a){console.log("Error getting file system access",a);d("error getting file system")})},function(a){console.log("error getting file system access",a);d("error getting file system")})})}function c(a,b){return a&&a.queryUsageAndQuota?new Promise(function(c,d){a.queryUsageAndQuota(function(e,f){console.log("UsedBytes:",e,"grantedBytes:",f,"freeBytesRequired:",b);var g=e+b;f>=g?c(g):a==navigator.webkitPersistentStorage||a==navigator.persistentStorage?
(console.log("requestQuota:",g),a.requestQuota(g,function(){console.log("Granted bytes:",g);c(g)},function(a){console.log("Not granted bytes:",g,a);d("not enough free space granted")})):(console.log("Not enough temporary free space."),d("not enough free space granted"))},function(a){console.log("Query quota error:",a);a&&a.message&&(a=a.message);d("not enough free space granted: "+a)})}):Promise.reject("unknown free space")}function d(){return(navigator.storage&&navigator.storage.persist?navigator.storage.persist():
Promise.resolve(y)).then(function(a){console.log("Persistence granted:",a);return a?navigator.webkitPersistentStorage||navigator.persistentStorage:navigator.webkitTemporaryStorage||navigator.temporaryStorage})}function f(){return navigator.storage&&navigator.storage.persisted?navigator.storage.persisted():Promise.resolve(y)}function g(){return!v?Promise.reject("files uninitialized, no space was requested"):Promise.resolve(v)}function k(a){a.length&&"/"==a[0]&&(a=a.substr(1));return a.split("/").filter(function(a){return""!=
a})}function j(a){return new Promise(function(b,c){a.remove(function(){b()},function(a){c("can't remove entry"+(a&&a.message?": "+a.message:"")+".")})})}function h(a){return n(a).then(function(a){return Promise.all(a.map(function(a){return a.isDirectory?h(a):j(a)}))}).then(function(){return j(a).then(function(){return Promise.resolve()},function(){return Promise.resolve()})})}function n(a){return new Promise(function(b,c){a.createReader().readEntries(function(a){b(a)},function(){c("can't list directory")})})}
function e(a,b,c){return new Promise(function(d,e){a.getDirectory(b,c,function(a){d(a)},function(){e("can't get directory entry: "+b)})})}function l(a,b){return new Promise(function(c,d){e(a,b,{create:y}).then(function(a){c(a)})["catch"](function(){e(a,b,{create:p}).then(function(a){c(a)})["catch"](function(a){console.log("Can't create directory entry: "+b,a);d("can't create directory entry: "+b)})})})}function r(a,b){return 0==b.length?a:l(a,b[0]).then(function(a){return r(a,b.slice(1))})}function o(a,
b){return 0==b.length?a:e(a,b[0]).then(function(a){return o(a,b.slice(1))})}function s(a,b,c){return new Promise(function(d,e){a.getFile(b,c,function(a){d(a)},function(){e("can't get file entry: "+b)})})}function t(a){return new Promise(function(b,c){a.createWriter(function(a){b(a)},function(){c("can't create File for writing: "+path)})})}function u(a){var b=a.lastIndexOf(".");switch((0>b?"":a.substr(b)).toLowerCase()){case ".bmp":return"image/bmp";case ".eot":return"application/vnd.ms-fontobject";
case ".gif":return"image/gif";case ".htm":case ".html":return"text/html";case ".jpeg":case ".jpg":return"image/jpeg";case ".js":return"text/javascript";case ".json":return"application/json";case ".m3u8":return"application/vnd.apple.mpegurl";case ".m4a":return"audio/mp4";case ".m4v":return"video/mp4";case ".mp3":return"audio/mpeg";case ".mp4":return"video/mp4";case ".ogg":return"audio/ogg";case ".ogv":return"video/ogg";case ".otf":return"font/otf";case ".png":return"image/png";case ".svg":return"image/svg+xml";
case ".tif":return"image/tiff";case ".tiff":return"image/tiff";case ".ts":return"video/vnd.dlna.mpeg-tts";case ".ttf":return"application/font-sfnt";case ".tts":return"video/vnd.dlna.mpeg-tts";case ".txt":return"text/plain";case ".webm":return"video/webm";case ".woff":return"font/x-woff";case ".woff2":return"font/woff2";case ".xml":return"text/xml";default:return"application/octet-stream"}}var v=q;return{KI:function(){return f()},toURL:function(b,c){return a(b).then(function(a){var a=new URL(a),b=
c?"persistent":"temporary",d=a.pathname.split("/").map(encodeURIComponent).join("/");return"filesystem:"+a.origin+"/"+b+d})},Bpa:function(a){return d().then(function(b){return c(b,a)}).then(function(a){return b(a)}).then(function(a){v=a})},tpa:function(a){var a=k(a),b=a[a.length-1],c=a.slice(0,-1);return g().then(function(a){return o(a.root,c)}).then(function(a){return s(a,b,{create:p})},function(){return Promise.resolve(q)}).then(function(a){return a&&j(a)})},l8:function(a,c){var d=k(a);return b(1024,
c).then(function(a){return o(a.root,d)}).then(function(a){return h(a)},function(){return Promise.resolve()})},q9:function(a,b,c){var d=k(a),e=d[d.length-1],f=d.slice(0,-1);return g().then(function(a){return r(a.root,f)}).then(function(a){return s(a,e,{create:y}).then(function(a){return Promise.resolve(a)},function(){return s(a,e,{create:p})})}).then(function(a){return t(a)}).then(function(d){d.seek(d.length);return new Promise(function(f,g){d.onwriteend=function(){f()};d.onerror=function(b){console.log("Error writing file:",
a,b);g("error writing file: "+a)};d.write(new Blob([b],{type:c||u(e)}))})})}}});
define("bJ",["require","hN","hS","t"],function(a){function b(a,b){this.Fn=a;this.NL=y;this.Iz=q;this.Wh=b||D()}function c(a){return a.Ct>=g}var d=a("hN"),f=a("hS"),g=1048576,k=10485760,j=a("t").Ue()?3:5,a={File:function(a,b){this.url=a;this.Ct=b;this.WB=this.Sv=0}},h=a.Files=function(a,b,c,d){this.pY=this.Eaa=a;this.vl=b.slice();this.HZ=[];var f=0;this.vl.sort(function(a,b){return a.Ct-b.Ct});this.vl.forEach(function(a){f+=a.Ct});this.K4=f;this.Mr=[];this.BD=m;this.nl=[];this.OL=y;this.rd=c||D();
this.Yx=d||D()};h.prototype.Tl=function(){return this.wba().then(function(){return this.xba()}.bind(this))};h.prototype.wba=function(){return caches["delete"](this.pY)};h.prototype.xba=function(){var a=(new f(this.Eaa)).pathname;return d.l8(a,y).then(function(){return d.l8(a,p)})};h.prototype.requestStorage=function(){return d.Bpa(Math.round(1.1*this.K4+10485760)).then(function(){return d.KI()})};h.prototype.download=function(){this.OL=y;this.BD=0;this.Tl().then(function(){this.Wx()}.bind(this))["catch"](function(a){console.log("error cleaning storage",
a);d.KI().then(function(a){this.Yx(y,a)}.bind(this))}.bind(this))};h.prototype.cancelDownload=function(){this.OL=p;this.nl.forEach(function(a){a.cancel()});this.Tl()};h.prototype.Wx=function(){if(!(this.OL||this.nl.length>=j))if(0<this.vl.length){var a;if(1==j)a=0.5<Math.random()?this.vl.shift():this.vl.pop();else if(0==this.Mr.filter(c).length)a=this.vl.pop();else{if(c(this.vl[0]))return;a=this.vl.shift()}this.Mr.push(a);var g=f.Ov(a.url,"nc="+(new Date).getTime()),h=new b(g,function(b){a.Sv=b.Sv;
this.Lk()}.bind(this));this.nl.push(h);h.fetch().then(function(b){return this.lka(a.url,b)}.bind(this)).then(function(){this.xZ(a,h,p)}.bind(this))["catch"](function(b){console.log("download error",a.url,a.Ct,a.Sv,b);this.xZ(a,h,y)}.bind(this));this.Wx()}else if(0==this.nl.length){var k=5>=this.HZ.length;d.KI().then(function(a){this.Yx(k,a)}.bind(this))}};h.prototype.xZ=function(a,b,f){f?(this.Mr.splice(this.Mr.indexOf(a),1),this.nl.splice(this.nl.indexOf(b),1),this.BD+=a.Ct,this.Lk(),this.Wx()):
(a.Sv=0,a.WB+=1,this.Lk(),20<=a.WB?(console.log("Error downloading file: "+a.url+" after "+a.WB+" retries."),this.a0(a.url)?(this.HZ.push(a),this.nl.splice(this.nl.indexOf(b),1),this.Wx()):(this.cancelDownload(),d.KI().then(function(a){this.Yx(y,a)}.bind(this)))):(console.log("Error downloading file: "+a.url+" attempt "+a.WB+" of 20. Will retry in 2000ms."),setTimeout(function(){this.Mr.splice(this.Mr.indexOf(a),1);this.nl.splice(this.nl.indexOf(b),1);c(a)?this.vl.push(a):this.vl.splice(0,0,a);this.Wx()}.bind(this),
2E3)))};h.prototype.lka=function(a,b){return this.nka(a,b).then(function(){if(!this.a0(a))return this.mka(a,b)}.bind(this))};h.prototype.mka=function(a,b){b=b.clone();return 200!=b.status?Promise.reject("response status: "+b.status):caches.open(this.pY).then(function(c){return c.put(a,b)})};h.prototype.nka=function(a,b){b=b.clone();if(200!=b.status)return Promise.reject("response status: "+b.status);var c=(new f(a)).pathname;return c.lastIndexOf("/")==c.length-1?Promise.resolve():new Promise(function(a,
e){function f(){C.read().then(function(b){var c=b.value,d=[];if(c){for(;c.length+z>=k;){var e=c.slice(0,k-z);n.push(e);d.push(g(n));n=[];z=0;c=c.slice(e.length,c.length)}0<c.length&&(n.push(c),z+=c.length)}var l=b.done;z&&l&&d.push(g(n));h(d).then(function(){l?a():f()})["catch"](j)})["catch"](j)}function g(a){if(0==a.length)return new Uint8Array(0);var b=0;a.forEach(function(a){b+=a.length});for(var c=new Uint8Array(b),d=0,e=0;e<a.length;d+=a[e].length,e++)c.set(a[e],d);return c}function h(a){if(0==
a.length)return Promise.resolve();var b=a.shift();return d.q9(c,b).then(function(){h(a)})}function j(a){console.log("Error writing response to file system:",a);d.tpa(c).then(function(){e("Error reading response body")})}var n=[],z=0,C=b.body.getReader();f()})};var n=".bmp,.gif,.jpeg,.jpg,.m3u8,.m4a,.m4v,.mp3,.mp4,.ogg,.ogv,.otf,.png,.svg,.tif,.tiff,.ts,.tts,.webm,.woff,.woff2".split(",");h.prototype.a0=function(a){var a=(new f(a)).pathname,b="."+a.split(".").pop().toLowerCase();return 0<=n.indexOf(b)&&
0>a.indexOf("loading/")};h.prototype.Lk=function(){var a=this.BD;this.Mr.forEach(function(b){a+=b.Sv});this.rd(100*a/this.K4)};b.prototype.fetch=function(){return fetch(this.Fn).then(function(a){if(this.NL)return a.body.getReader().cancel(),Promise.reject("cancel requested before server responded.");if(!a.ok)return Promise.resolve(a);var b=a.headers.get("content-length"),c=m,d=0;b!==q&&(c=parseInt(b,10));this.Iz=a.body.getReader();var f=y,g=function(a){this.NL?a.close():f=p}.bind(this),h=function(a){return this.Iz.read().then(function(b){var e=
b.value;e&&(d+=e.byteLength,a.enqueue(e));b.done&&(c=d,j(a));this.Wh({Ct:c,Sv:d})}.bind(this))["catch"](function(b){console.log("Error reading response",b);a.error(b)}.bind(this))}.bind(this),j=function(a){f&&(a.close(),f=y,this.Iz=q)}.bind(this);return new Response(new ReadableStream({start:function(a){return g(a)},pull:function(a){return h(a)},cancel:function(){j()}}))}.bind(this))};b.prototype.cancel=function(){this.NL=p;this.Iz&&this.Iz.cancel()};a.Tl=function(a){return(new h(a,[])).Tl()};return a});
define("df","require,hp,jquery.mod,jq,dZ,t,bJ,hN,hS,hq,cp".split(","),function(a){function b(a){r=a}var c=a("hp"),d=a("jquery.mod"),f=a("jq"),g=a("dZ"),k=a("t"),j=a("bJ"),h=a("hN"),n=a("hS"),e=a("hq"),l=a("cp"),r=q;window.addEventListener("beforeinstallprompt",b);var o=c.extend(g,function(a){g.call(this);this.ya=a;this.k="initial";this.RQ=this.WG=this.Qf=q;this.wQ=y;this.Qr=q;this.XA=m;this.Ir=r;this.ZE=o.L7();this.SO=n.ph("vr");if(!this.Ir&&!this.ZE){window.removeEventListener("beforeinstallprompt",
b);window.addEventListener("beforeinstallprompt",this.gga.bind(this))}this.ZE||window.addEventListener("appinstalled",this.laa.bind(this))});o.prototype.OU=function(a){this.WG=a;this.Gh=n.Eq(this.WG.get(TDV.PlayerSettings.BASE_DIR_URL)||n.getDirectory(this.WG.get(TDV.PlayerSettings.SELECTED_SCRIPT_URL)));if(this.Gh[this.Gh.length-1]!="/")this.Gh=this.Gh+"/";this.Qf=new s(this.Gh);this.XA=this.W2=a.get(TDV.PlayerSettings.QUERY_STRING_PARAMETERS);this.Pea=n.parse(n.getDirectory(window.location.href)).pathname;
this.$ca=n.Ov(n.Eq("files.json",this.Gh),this.W2);a=TDV.va.U6();this.RQ=n.Ov(this.WG.get(TDV.PlayerSettings.SERVICE_WORKER_URL),"swv="+a.MAJOR+"."+a.MINOR);this.Qf=new s(this.Gh);this.Qf.bind(f.R,this.xka,this,p);this.Qf.load()};o.prototype.pw=function(){return this.Qf.state==s.Qw};o.prototype.b6=function(){return this.k=="can_install"&&!this.SO};o.prototype.d6=function(){return this.pw()&&this.XA!=this.Qf.version&&!this.SO};o.prototype.a6=function(){return this.Qf.state!=s.oV&&!this.SO};o.prototype.u7=
function(){if(this.k=="can_install")if(this.Ir){this.Ir.userChoice.then(function(a){a.outcome!="accepted"&&this.jb("unavailable")}.bind(this));this.Ir.prompt().then(function(){this.Ir=q}.bind(this))}else this.bN()};o.prototype.cancel=function(){if(this.k=="downloading"){if(this.Qr){this.Qr.cancelDownload();this.Qr=q}this.Qf.Tl();this.jb("unavailable")}};o.prototype.Tl=function(){j.Tl(this.Gh);this.Qf.Tl()};o.prototype.xka=function(){this.ya.get("downloadEnabled")!==p?this.jb("unavailable"):k.browser()!=
k.Ei||k.jd()==k.Kq||k.jd()==k.Gt?this.jb("unavailable"):this.RQ?"serviceWorker"in navigator?this.pw()&&!this.d6()?this.jb("unavailable"):navigator.onLine?this.Vha():this.jb("unavailable"):this.jb("unavailable"):this.jb("unavailable")};o.prototype.jb=function(a){if(this.k!=a){this.k=a;a=["can_install","unavailable"].indexOf(this.k)>=0;if(this.wQ!=a)(this.wQ=a)&&this.trigger(f.Mb)}};o.prototype.Vha=function(){this.jb("registering_sw");navigator.serviceWorker.register(this.RQ,{scope:this.Pea}).then(function(){this.z3(p)}.bind(this))["catch"](function(){this.z3(y)}.bind(this))};
o.prototype.z3=function(a){if(a)if(k.Ue())this.jb("can_install");else if(this.ZE&&this.Qf.state==s.CJ){this.jb("can_install");this.bN()}else if(this.Ir)this.jb("can_install");else{this.jb("sw_registered");setTimeout(function(){this.k=="sw_registered"&&this.jb("can_install")}.bind(this),3E3)}else this.jb("unavailable")};o.prototype.gga=function(a){this.Ir=a;this.k=="sw_registered"&&this.jb("can_install")};o.prototype.laa=function(){this.k=="sw_registered"&&this.jb("can_install");this.bN()};o.prototype.bN=
function(){this.jb("downloading");this.trigger(f.Ej);this.Y4(0);this.Gfa()};o.prototype.Gfa=function(){var a=[];k.Ue()?a.push("mobilevr"):k.Na()?a.push("mobile"):a.push("desktop");var b=n.Ov(this.$ca,"nc="+(new Date).getTime());d.getJSON(b,function(b){if(this.k=="downloading"){var c=[],d;for(d in b){var e=b[d].tags;if(e){var f=y;if(Array.isArray(e))for(var g=0;g<e.length&&!f;g++)f=a.indexOf(e[g])>=0;else f=a.indexOf(e)>=0;if(!f)continue}e=n.Eq(d,this.Gh);c.push(new j.File(e,b[d].size))}var h=(new n(window.location.pathname,
window.location.href)).toString();c.filter(function(a){return a.url==h}).length==0&&c.push(new j.File(h,1024));this.Qr=new j.Files(this.Gh,c,this.Y4.bind(this),this.wZ.bind(this));this.Qr.requestStorage().then(function(a){this.Qf.storage=a?s.bx:s.CK;this.Qf.state=s.CJ;this.Qf.version=this.XA;this.Qf.save();this.Qr.download()}.bind(this))["catch"](function(){this.wZ(y,m)}.bind(this))}}.bind(this))};o.prototype.Y4=function(a){this.trigger(new e(f.dc,a))};o.prototype.wZ=function(a,b){this.Qr=q;this.jb("unavailable");
if(a){this.Qf.state=s.Qw;this.Qf.save()}a?this.trigger(f.ua,{success:p}):b?this.trigger(f.ua,{success:y,error:o.qV}):k.Ue()?this.trigger(f.ua,{success:y,error:o.pV}):this.ZE?this.trigger(f.ua,{success:y,error:o.qV}):this.trigger(f.ua,{success:y,error:o.rV})};o.L7=function(){return n.Yl("installed",y)};o.lpa=function(a,b){var c=new o.iK(a);c.bind(f.R,function(){var d=y;c.state==o.iK.Qw&&(d=o.L7()?p:!navigator.onLine);d?h.toURL(a,c.storage==o.iK.bx).then(function(a){b(a)}):b(a)},this,p);c.load()};o.rV=
"launchFromHomeScreen";o.pV="addToBookmark";o.qV="errorDownloading";var s=c.extend(g,function(a){g.call(this);this.Gh=a;this.NO="installation_state_"+a;this.qha=n.parse(this.Gh).pathname+"installation_state.json";this.state=this.storage=this.version=m;this.G3()});s.prototype.load=function(){if(this.Hfa()&&this.state==s.Qw)this.C4(this.storage==s.bx).then(function(){this.trigger(f.R)}.bind(this))["catch"](function(){this.C4(this.storage!=s.bx).then(function(){this.storage=this.storage==s.CK?s.bx:s.CK;
this.JQ();this.trigger(f.R)}.bind(this))["catch"](function(){this.state=s.CJ;this.JQ();this.trigger(f.R)}.bind(this))}.bind(this));else this.trigger(f.R)};s.prototype.save=function(){this.JQ();this.state==s.Qw&&this.via()};s.prototype.Hfa=function(){var a=l.getItem(this.NO);if(!a)return y;this.qda(a);return p};s.prototype.JQ=function(){l.setItem(this.NO,this.J4())};s.prototype.C4=function(a){return new Promise(function(b,c){h.toURL(this.Gh+"installation_state.json",a).then(function(a){d.ajax({type:"GET",
url:a,success:function(){b()},error:function(){c()}})}.bind(this))}.bind(this))};s.prototype.via=function(){h.q9(this.qha,this.J4(),"text/json")};s.prototype.J4=function(){var a={};a.version=this.version;a.storage=this.storage;a.state=this.state;return JSON.stringify(a)};s.prototype.qda=function(a){this.pda(JSON.parse(a))};s.prototype.pda=function(a){this.version=a.version;this.storage=a.storage;this.state=a.state};s.prototype.Tl=function(){l.removeItem(this.NO);this.G3()};s.prototype.G3=function(){this.version=
"";this.storage=s.n$;this.state=s.oV};s.n$="unkonwn";s.CK="temporary";s.bx="persistent";s.oV="not started";s.CJ="started";s.Qw="completed";o.iK=s;return o});
define("gU","require,hp,jq,jp,t,df,dK,dQ,X,c,jc,d,fP".split(","),function(a){function b(a){var b=new j;b.S({label:a,backgroundColor:"#0071BC",borderRadius:2,fontColor:"#ffffff",fontWeight:"400",fontFamily:"Arial, sans-serif",fontSize:14,paddingLeft:14,paddingRight:14,height:31,verticalAlign:n.cc});return b}var c=a("hp"),d=a("jq"),f=a("jp"),g=a("t"),k=a("df"),j=a("dK"),h=a("dQ"),n=a("X"),e=a("c"),l=a("jc"),r=a("d"),o=a("fP"),a=c.extend(l,function(a,b){l.call(this);this.ya=a;this.Cd=b;this.Cd.bind(d.Mb,
this.hfa,this,p);this.Cd.bind(d.Ej,this.efa,this,p);this.Cd.bind(d.dc,this.gfa,this,p);this.Cd.bind(d.ua,this.ffa,this,p);this.X="hidden";this.$A=m;this.ZP=y;this.rd=m;this.Kf=this.Km=this.sr=this.vr=this.tr=this.$G=this.ja=q;this.iaa();this.S({backgroundColor:"#000000",gap:18,height:55,width:"100%",paddingLeft:28,paddingRight:28,verticalAlign:n.cc,layout:e.Be});this.Rd()});a.prototype.hfa=function(){if(this.Cd.b6()||this.Cd.pw()&&this.Cd.a6()){this.X="ready";this.ZP&&this.k4()}else this.X="hidden";
this.Rd()};a.prototype.efa=function(){this.X="installing";this.Rd()};a.prototype.gfa=function(a){this.rd=a.rh;this.Rd()};a.prototype.ffa=function(a){this.X=a.data.success?"installed":"failed";this.FZ=a.data.error;this.Rd()};a.prototype.Vh=function(){this.kka()};a.prototype.FF=function(){if(!this.ZP){this.ZP=p;this.X=="ready"&&this.k4()}};a.prototype.k4=function(){this.$A=setTimeout(function(){this.$A=q;this.cha()}.bind(this),5E3);this.Rd()};a.prototype.kka=function(){this.f3();this.$A&&clearTimeout(this.$A);
this.$A=q};a.prototype.cha=function(){this.f3();if(this.X=="ready"){this.X="hidden";this.Rd()}};a.prototype.iaa=function(){this.bind(d.Ac,this.Vh,this);this.ya.bind(d.Ac,this.FF,this);this.ya.bind(d.lb,this.FF,this)};a.prototype.f3=function(){this.unbind(d.Ac,this.Vh,this);this.ya.unbind(d.Ac,this.FF,this);this.ya.unbind(d.lb,this.FF,this)};a.prototype.Ka=function(){l.prototype.Ka.call(this);if(this.ja==q){this.ja=new o;this.ja.S({fontColor:"#ffffff",fontWeight:"400",fontFamily:"Arial, sans-serif",
fontSize:14,text:f("download-tour")});this.pa(this.ja)}if(this.tr==q){this.tr=b(f("download"));this.pa(this.tr);this.tr.bind(d.W,this.Taa,this,p)}if(this.vr==q){this.vr=b(f("refresh-downloaded"));this.pa(this.vr);this.vr.bind(d.W,this.Zaa,this,p)}if(this.sr==q){this.sr=b(f("delete-downloaded"));this.pa(this.sr);this.sr.bind(d.W,this.Saa,this,p)}if(this.$G==q){this.$G=new r;this.$G.S({width:"100%"});this.pa(this.$G)}if(this.Km==q){this.Km=new h;this.Km.S({backgroundColor:"#ffffff",borderRadius:2,iconColor:"#000000",
iconLineWidth:1,iconWidth:17,iconHeight:17,height:31,width:31});this.pa(this.Km);this.Km.bind(d.W,this.Raa,this,p)}if(this.Kf==q){this.Kf=b(f("cancel"));this.pa(this.Kf);this.Kf.bind(d.W,this.uD,this,p)}g.Na()&&this.Ts();this.Rd()};a.prototype.Qj=function(){l.prototype.Qj.call(this);g.Na()&&this.getParent().bind(d.ub,this.Ts,this,p)};a.prototype.ei=function(){g.Na()&&this.getParent().unbind(d.ub,this.Ts,this,p);l.prototype.ei.call(this)};a.prototype.Ts=function(){var a=this.getParent();if(a){var b=
Math.min(a.Aa(),a.bb())/100,c=function(a){return Math.round(a*b)};this.S({gap:c(3.9),height:c(11.9),paddingLeft:c(6),paddingRight:c(6)});this.ja&&this.ja.S({fontSize:c(3)});[this.tr,this.Kf,this.vr,this.sr].forEach(function(a){a&&a.S({borderRadius:c(0.4),fontSize:c(3),paddingLeft:c(3),paddingRight:c(3),height:c(6.7)})});this.Km&&this.Km.S({borderRadius:c(0.4),iconLineWidth:c(0.22),iconWidth:c(3.7),iconHeight:c(3.7),height:c(6.7),width:c(6.7)})}};a.prototype.Rd=function(){var a;switch(this.X){case "ready":a=
this.Cd.pw()?f("downloaded"):f("download-tour");break;case "installing":a=f("downloading");this.rd!==m&&(a=a+("..."+this.rd.toFixed(1)+"%"));break;case "installed":a=f("downloaded");break;case "failed":a=this.FZ==k.rV?g.Na()?f("storage-not-provided-launch-from-homescreen"):f("storage-not-provided-launch-from-desktop"):this.FZ==k.pV?f("storage-not-provided-bookmark"):f("download-failed")}this.ja&&this.ja.set("text",a);this.tr&&this.tr.set("visible",this.X=="ready"&&!this.Cd.pw()&&this.Cd.b6());this.sr&&
this.sr.set("visible",this.X=="ready"&&this.Cd.pw()&&this.Cd.a6());this.vr&&this.vr.set("visible",this.X=="ready"&&this.Cd.d6());this.Kf&&this.Kf.set("visible",this.X=="installing");this.Km&&this.Km.set("visible",this.X!="installing");this.set("visible",this.X!="hidden")};a.prototype.Taa=function(){this.Cd.u7()};a.prototype.Zaa=function(){this.Cd.u7()};a.prototype.Saa=function(){this.Cd.Tl();this.X="hidden";this.Rd()};a.prototype.uD=function(){this.Cd.cancel();this.X="hidden";this.Rd()};a.prototype.Raa=
function(){this.X=="installing"&&this.Cd.cancel();this.X="hidden";this.Rd()};return a});
define("dc","require,hp,cL,jq,jp,t,X,c,jc,iG,iT,dK,fP,fK".split(","),function(a){function b(a,b){this.text=a;this.Qn=b}var c=a("hp"),d=a("cL"),f=a("jq"),g=a("jp"),k=a("t"),j=a("X"),h=a("c"),n=a("jc"),e=a("iG"),l=a("iT"),r=a("dK"),o=a("fP"),s=a("fK"),a=c.extend(n,function(){n.call(this);this.ik=[];this.Kf=this.ur=this.ja=this.Yr=this.ov=this.Ol=q;var a=new e;a.set("duration",500);a.set("easing","cubic_in");var b=new l;b.set("duration",500);b.set("easing","cubic_out");this.S({backgroundColor:"#000000",
backgroundOpacity:0.6,horizontalAlign:j.tc,gap:5,left:0,top:0,right:0,bottom:0,hideEffect:b,showEffect:a,visible:y})});a.prototype.Ka=function(){n.prototype.Ka.call(this);if(this.Ol==q){this.Ol=new n;this.Ol.S({centerX:0,centerY:0,backgroundColor:"#ffffff",horizontalAlign:j.tc,verticalAlign:j.cc,layout:h.Ye,shadow:p,shadowColor:"#000000",shadowHorizontalLength:0,shadowVerticalLength:0,shadowOpacity:0.2});this.pa(this.Ol)}if(this.ja==q){this.ja=new o;this.ja.S({fontColor:"#808080",fontWeight:"300",
fontFamily:"Tahoma, Geneva, sans-serif"});this.Ol.pa(this.ja)}if(this.Yr==q){this.Yr=new s;this.Yr.S({width:"80%"});this.Ol.pa(this.Yr)}if(this.ov==q){this.ov=new n;this.ov.S({backgroundColor:"#b3b3b3"});this.Ol.pa(this.ov)}if(this.qg==q){this.qg=new n;this.qg.S({horizontalAlign:j.tc,verticalAlign:j.cc,layout:h.Be});this.Ol.pa(this.qg)}if(this.ur==q){this.ur=new r;this.ur.S({backgroundColor:"#606060",fontColor:"#FFFFFF",fontFamily:"Tahoma, Geneva, sans-serif",horizontalAlign:j.tc,verticalAlign:j.cc,
label:g("yes").toUpperCase(),pressedBorderColor:"#808080",rollOverBorderColor:"#808080"});this.ur.bind(f.W,this.iY,this,p);this.qg.pa(this.ur)}if(this.Kf==q){this.Kf=new r;this.Kf.S({backgroundColor:"#606060",fontColor:"#FFFFFF",fontFamily:"Tahoma, Geneva, sans-serif",horizontalAlign:j.tc,verticalAlign:j.cc,label:g("no").toUpperCase(),pressedBorderColor:"#808080",rollOverBorderColor:"#808080"});this.Kf.bind(f.W,this.uD,this,p);this.qg.pa(this.Kf)}};a.prototype.Qj=function(){n.prototype.Qj.call(this);
this.getParent().bind(f.ub,this.Ts,this,p)};a.prototype.ei=function(){this.getParent().unbind(f.ub,this.Ts,this,p);n.prototype.ei.call(this)};a.prototype.Ts=function(){var a=this.getParent();if(a){var b=a.Aa(),a=a.bb();if(k.Na())var c=Math.min(b,a),b=function(a){return Math.round(a*c/100)};else b=function(a){return Math.round(a*4)};this.Ol&&this.Ol.S({borderRadius:b(1),width:b(80),height:b(40),gap:b(4),shadowBlurRadius:b(1),shadowSpread:b(1)});this.ov&&this.ov.S({width:b(60),minHeight:2,height:b(0.25)});
this.qg&&this.qg.S({gap:b(5)});this.Kf&&this.Kf.S({borderRadius:b(1),width:b(20),height:b(10),fontSize:b(4.25)});this.ur&&this.ur.S({borderRadius:b(1),width:b(20),height:b(10),fontSize:b(4.5)});this.ja&&this.ja.S({fontSize:b(5)});this.yH()}};a.prototype.show=function(a,c){this.Ts();var d=this.q_(c);d>=0&&this.c3(d);this.Nha(new b(a,c));this.Yt()};a.prototype.hide=function(a){a=this.q_(a);a>=0&&this.c3(a)};a.prototype.Yt=function(){var a=this.getParent();a&&a.wi(this,a.Qa().length-1)};a.prototype.iY=
function(){this.nD(p)};a.prototype.uD=function(){this.nD(y)};a.prototype.q_=function(a){for(var b=0;b<this.ik.length;b++)if(this.ik[b].Qn==a)return b;return-1};a.prototype.yH=function(){var a=this.C_();if(a){if(a.text.length<20){this.Yr.set("visible",y);this.ja.set("text",a.text);this.ja.set("visible",p)}else{this.ja.set("visible",y);this.Yr.set("html",this.Pda(a.text));this.Yr.set("visible",p)}this.Kf.set("visible",a.Qn?p:y);this.set("visible",p)}else this.set("visible",y)};a.prototype.Pda=function(a){return"<div style=\"color:#808080; font-weight:300; font-family:'Tahoma', 'Geneva', sans-serif; font-size: "+
this.ja.get("fontSize")+'px; text-align:center;" >'+a+"</div>"};a.prototype.nD=function(a){var b=this.C_();if(b){b=this.dea(b.text);this.gia(b);d(b).each(function(b){b.Qn&&b.Qn.call(this,a)},this)}};a.prototype.Nha=function(a){this.ik.push(a);this.yH()};a.prototype.dea=function(a){return d(this.ik).filter(function(b){return b.text==a})};a.prototype.gia=function(a){this.ik=d(this.ik).filter(function(b){return!d(a).contains(b)});this.yH()};a.prototype.c3=function(a){this.ik.splice(a,1);a==this.ik.length&&
this.yH()};a.prototype.C_=function(){return this.ik.length>0?this.ik[this.ik.length-1]:q};return a});
define("hD","require,hp,jq,bL,dZ,t,iu".split(","),function(a){function b(a){for(;a&&a!=document;){if(a.getAttribute("tdvclass")=="Button")return p;a=a.parentNode}return y}var c=a("hp"),d=a("jq"),f=a("bL"),g=a("dZ"),k=a("t"),j=a("iu"),h=[],a=[99,111,110,116,101,120,116,109,101,110,117].map(function(a){return String.fromCharCode(a)}).join("");document.addEventListener(a,function(a){(!k.Na()||!b(a.target))&&h.forEach(function(b){b(a)});a.preventDefault();a.stopImmediatePropagation()},p);var n=1,c=c.extend(g,
function(a,b){g.call(this);this.na=a;this.Xda=b;this.oP=this.oP.bind(this);this.Ob=this.Ob.bind(this);this.MO=y;this.JO=this.JO.bind(this);this.KO=this.KO.bind(this);this.IO=this.IO.bind(this);this.LO=this.LO.bind(this);this.v=document.createElement("ul");this.v.style.border="1px solid #bbb";this.v.style.pma="3px";this.v.style.position="absolute";this.v.style.zIndex=n;this.v.style.display="none";this.v.style.backgroundColor="#e5e5e5";this.v.style.fontFamily="Arial";this.v.style.color="#000000";this.v.style.fontSize=
"13px";this.v.style.listStyle="none";this.v.style.display="none";this.v.style.padding=0;this.v.style.margin=0;this.v.style.pointerEvents="all";this.v.style.textAlign="left";this.v.style.boxShadow="1px 1px 3px rgba(0, 0, 0, 0.2)";h.push(this.oP)});c.prototype.oP=function(a){var b=this.Xda();if(b.length!=0){this.v.innerHTML="";this.MO=y;var c=0;b.forEach(function(a){if(a){var b=document.createElement("li");b.textContent=a;b.style.cursor="pointer";b.style.pma="3px";b.style.padding="7px 20px";b.style.whiteSpace=
"nowrap";var d=c;c++;b.addEventListener("mouseenter",function(a){this.JO(a,d)}.bind(this));b.addEventListener("mouseleave",function(a){this.KO(a,d)}.bind(this));b.addEventListener("mousedown",function(a){this.IO(a,d)}.bind(this));b.addEventListener("mouseup",function(a){this.LO(a,d)}.bind(this))}else{b=document.createElement("li");b.style.margin="7px 5px";b.style.borderTop="1px solid #aaa";b.style.borderBottom="1px solid #fff"}this.v.appendChild(b)}.bind(this));(j.Xl()||document.body).appendChild(this.v);
this.v.style.display="block";b=a.pageX;a=a.pageY;b+this.v.clientWidth>document.body.clientWidth-5&&(b=document.body.clientWidth-this.v.clientWidth-5);a+this.v.clientHeight>document.body.clientHeight-5&&(a=document.body.clientHeight-this.v.clientHeight-5);this.v.style.left=b+"px";this.v.style.top=a+"px";this.na.bind(d.lb,this.Ob,this);document.addEventListener("mousedown",this.Ob);this.$la=setInterval(this.Zla.bind(this),200)}};c.prototype.J_=function(){clearInterval(this.$la);this.v.parentNode.removeChild(this.v);
document.removeEventListener("mousedown",this.Ob);this.na.unbind(d.lb,this.Ob,this);this.v.style.display="none"};c.prototype.Zla=function(){if(!this.v.contains(document.elementFromPoint(this.v.offsetLeft+this.v.clientWidth*0.5,this.v.offsetTop+this.v.clientHeight*0.5)))this.v.style.zIndex=n=n*10};c.prototype.Ob=function(){this.J_()};c.prototype.IO=function(a){this.MO=p;a.preventDefault();a.stopImmediatePropagation()};c.prototype.LO=function(a,b){if(this.MO){this.J_();a.preventDefault();a.stopImmediatePropagation();
this.trigger(new f(d.Bh,{index:b}))}};c.prototype.JO=function(a){a.currentTarget.style.color="#ffffff";a.currentTarget.style.backgroundColor="rgba(0, 0, 0, 0.7)"};c.prototype.KO=function(a){a.currentTarget.style.color="";a.currentTarget.style.backgroundColor=""};return c});
define("hV",["require","hS","N"],function(a){function b(a){this.na=a;this.Gl={};this.Gl[d.U9]="move";this.Gl[d.V9]="ew-resize";this.Gl[d.X9]="ns-resize";this.Gl[d.W9]="nesw-resize";this.Gl[d.Y9]="nwse-resize";this.Gl[d.xd]="pointer";this.Gl[d.Tw]="inherit";this.Gl[d.uc]="default";this.je={};this.je[d.PC]="grab.cur";this.je[d.QC]="grabbing.cur";this.je[d.YV]="N.cur";this.je[d.ZV]="NE.cur";this.je[d.OV]="E.cur";this.je[d.bW]="SE.cur";this.je[d.aW]="S.cur";this.je[d.cW]="SW.cur";this.je[d.dW]="W.cur";
this.je[d.$V]="NW.cur";this.je[d.QV]="FN.cur";this.je[d.RV]="FNE.cur";this.je[d.PV]="FE.cur";this.je[d.VV]="FSE.cur";this.je[d.TV]="FS.cur";this.je[d.WV]="FSW.cur";this.je[d.XV]="FW.cur";this.je[d.SV]="FNW.cur";this.oY={}}var c=a("hS"),d=a("N");b.prototype.v6=function(a){return this.yfa(a)?this.z_(a):this.rfa(a)?this.Gda(a):this.z_(d.uc)};b.prototype.cba=function(a){if(!(a in this.oY)){var b=new Image;b.src=this.d_(a);this.oY[a]=b}};b.prototype.yfa=function(a){return a in this.Gl};b.prototype.z_=
function(a){return this.Gl[a]};b.prototype.rfa=function(a){return this.je[a]};b.prototype.Gda=function(a){this.cba(a);return"url("+this.d_(a)+"), default"};b.prototype.d_=function(a){return c.Eq(this.na.get("settings").get(TDV.PlayerSettings.CURSORS_DIR_URL))+"/"+this.je[a]};return b});
define("bF",["cL"],function(a){function b(){this.Cn={};this.yk=[];this.Nx=0}b.prototype.push=function(b,d){if(this.Cn[d]==m)this.Cn[d]=[b],this.yk.push(d),this.yk.sort(function(a,b){return a-b}),this.Nx++;else{var f=this.Cn[d];a(f).contains(b)||(f.push(b),this.Nx++)}};b.prototype.x6=P("Nx");b.prototype.isEmpty=function(){return 0==this.yk.length};b.prototype.e8=function(){if(!this.isEmpty()){var a=this.yk[0],b=this.Cn[a].pop();0==this.Cn[a].length&&(delete this.Cn[a],this.yk=this.yk.slice(1));this.Nx--;
return b}};b.prototype.dU=function(){if(!this.isEmpty()){var a=this.yk[this.yk.length-1],b=this.Cn[a].pop();0==this.Cn[a].length&&(delete this.Cn[a],this.yk=this.yk.slice(0,this.yk.length-1));this.Nx--;return b}};return b});
define("fJ","require,cL,hp,em,bF,S,hs".split(","),function(a){function b(){this.cG=y;this.v2=m;this.V=p;this.MF=this.MF.bind(this);this.HD=new d;this.qG=new d;this.YG=new d;this.$E=new d;this.YM=new d;f.Ba(this.ff,this)}a("cL");a("hp");var c=a("em"),d=a("bF"),f=a("S"),g=a("hs");b.prototype.clear=function(){this.V=y};b.prototype.IB=function(a){this.HD.push(a,this.vu(a));this.Oz()};b.prototype.bc=function(a){this.qG.push(a,this.vu(a));this.Oz()};b.prototype.Ja=function(a){this.YG.push(a,this.vu(a));
this.Oz()};b.prototype.zc=function(a){this.$E.push(a,this.vu(a));this.Oz()};b.prototype.Eg=function(a){this.YM.push(a,this.vu(a));this.Oz()};b.prototype.G=function(){this.lla();this.Lla();this.nla()};b.prototype.lla=function(){do{for(;!this.HD.isEmpty();)this.HD.dU().Ka();this.qG.isEmpty()||this.qG.dU().da()}while(!this.qG.isEmpty()||!this.HD.isEmpty())};b.prototype.Lla=function(){for(;!this.YG.isEmpty()||!this.$E.isEmpty();){this.FH();this.XR()}};b.prototype.FH=function(){for(;!this.YG.isEmpty();){var a=
this.YG.dU();if(a.sra()){var b=a.getParent();if(b){b.Ja();b.zc()}else a.v8(0,0,a.gm(),a.fm())}}};b.prototype.XR=function(){for(;!this.$E.isEmpty();)this.$E.e8().wh()};b.prototype.nla=function(){for(;!this.YM.isEmpty();)this.YM.e8().he();c.kpa()};b.prototype.Oz=function(){if(!this.cG){this.cG=p;this.v2=(new Date).getTime()+500;g.XB(this.MF)}};b.prototype.MF=function(){this.cG=y;this.V&&this.G()};b.prototype.vu=function(a){return(a=a.getParent())?this.vu(a)+1:0};b.prototype.ff=function(){this.cG&&(new Date).getTime()>=
this.v2&&this.MF();f.Ba(this.ff,this)};return b});
define("eo","jquery.mod,cL,hp,jq,jc,hD,hV,V,fJ,iu,t".split(","),function(a,b,c,d,f,g,k,j,h,n,e){c=c.extend(f,function(b){this.St=new h;f.call(this);this.Qp(this);this.xc("Application");this.Wc=a(b);this.Wc.css({overflow:"hidden","user-select":"none","-ms-user-select":"none","-moz-user-select":"none","-webkit-user-select":"none","-ms-touch-action":"none","touch-action":"none","-webkit-tap-highlight-color":"rgba(255, 255, 255, 0)"});this.Vp=a(document.createElement("div"));this.Vp.css({position:"absolute",
left:0,top:0,right:0,bottom:0,width:"auto",height:"auto",margin:0});this.Wc.append(this.Vp);this.Vp.append(this.fb());this.x4=this.Vp.get(0);this.Ra=this.Oa=m;this.kfa=10;this.qba=500;this.Lz=q;this.MM=new k(this);this.ma=new j(this);this.v.append(this.ma.fb());this.Tba=new g(this,this.a_.bind(this));this.Tba.bind(d.Bh,this.ue(this.Y0),this,p);this.A0=p;this.set("contentOpaque",p);this.Cr=q;this.Jx=[];this.nu(["globalmousemove"]);this.Faa();this.OH=this.PH=0;this.Vu=1;try{this.PH=window.top.innerWidth;
this.OH=window.top.innerHeight;this.bO=p}catch(c){this.bO=y}this.y5();this.tg=new n(b);this.tg.bind(d.U,function(){this.wN(this.tg.enabled())},this)});c.prototype.start=function(){if(!this.l4){this.l4=p;this.trigger(d.Ii)}};c.prototype.y5=function(){if(this.bO&&!n.enabled()){this.PH=window.top.innerWidth;this.OH=window.top.innerHeight}};c.prototype.clear=function(){this.Cw(q);this.v4();this.Sca();this.St.clear();if(this.Wc){this.fb().remove();this.Wc=q}this.MM=q;this.tg.i9();this.tg=q};c.prototype.Aqa=
N("A0");c.prototype.wN=function(a){a?this.F3():this.Bba()};c.prototype.mn=function(){this.Qy=this.$g=this.Vp.width();this.Py=this.Zg=this.Vp.height()};c.prototype.Cw=function(a){if(this.Cr!=a){this.Cr!=q&&this.Cr.Qka();this.Cr=a;for(var c=[];a!=q;){c=[a].concat(c);a=a.getParent()}for(var a=this.Jx.length-1,d=p;a>=0&&d;a--)b(c).contains(this.Jx[a])?d=y:this.Jx.pop().Ska();for(a=0;a<c.length;a++)b(this.Jx).contains(c[a])||c[a].Tka();this.Jx=c;this.Cr!=q&&this.Cr.Pka();this.ma.Cw(this.Cr)}};c.prototype.Dea=
function(a){var b=this.iy(a);this.d0(a,b.x,b.y)?a.preventDefault():this.Cw(q)};c.prototype.F_=function(a){var b=this.Ur(a);this.d0(a,b.x,b.y)?a.preventDefault():this.Cw(q)};c.prototype.a_=function(){return[]};c.prototype.Y0=D();c.prototype.d0=function(a,b,c){return this.sfa(a.target)&&b>=0&&c>=0&&b<this.T&&c<this.ca};c.prototype.sfa=function(a){if(!this.Wc)return y;for(var b=this.Wc.get(0);a;){if(a===b)return p;a=a.parentElement}return y};c.prototype.Faa=function(){this.nu(["globalresize"]);this.QL=
setInterval(b.bind(function(){this.zY()},this),this.qba)};c.prototype.Sca=function(){this.Tx(["globalresize"]);if(this.QL){clearInterval(this.QL);this.QL=q}};c.prototype.zY=function(){this.tg.enabled()?this.F3():this.y5();var a=this.x4.clientWidth,b=this.x4.clientHeight;if(this.Oa!=a||this.Ra!=b){this.Oa=a;this.Ra=b;this.cka()}};c.prototype.F3=function(){var a;if(this.bO&&(e.ud()==e.fV&&e.browser()==e.Ei||e.ud()==e.Hi)){var b=n.Xl();a=b.clientWidth;var b=b.clientHeight,c=(a>b?a:b)/(this.PH>this.OH?
this.PH:this.OH),d=Math.round(a/c),f=Math.round(b/c);this.Vu=c;a={left:Math.round((a-d)*0.5)+"px",top:Math.round((b-f)*0.5)+"px",right:"auto",bottom:"auto",width:d+"px",height:f+"px",transform:"scale("+[c,c].join(", ")+")",position:"absolute"}}else{a={position:"absolute",left:0,top:0,right:"auto",bottom:"auto",width:document.body.clientWidth+"px",height:document.body.clientHeight+"px"};this.Vu=1}this.Vp.css(a)};c.prototype.Bba=function(){this.Vp.css({position:"abolute",left:0,top:0,right:0,bottom:0,
width:"auto",height:"auto",transform:""});this.Vu=1};c.prototype.cka=function(){this.v4();var a=this;this.Lz=setTimeout(function(){a.Lz=q;a.Ja()},this.kfa)};c.prototype.v4=function(){if(this.Lz){this.Lz=q;clearTimeout(this.Lz)}};c.prototype.Cea=function(){this.zY()};c.prototype.EN=function(){return b(f.prototype.EN.call(this)).defaults({globaltouchmove:[{target:a(document),name:"touchmove",handler:this.ue(this.Dea)}],globalmousemove:[{target:a(document),name:"mousemove",handler:this.ue(this.F_)},
{target:a(window),name:"mouseout",handler:this.ue(this.F_)}],globalresize:[{target:a(window),name:"resize",handler:this.ue(this.Cea)}]})};return c});
define("ek","require,jquery.mod,jE,by,jq,dZ,jp,t".split(","),function(a){function b(){r=TDV.va.em();var a=l||r;if(e!=a){e=a;n.trigger(g.U)}a=!!l&&r!=l&&h.Na();if(o!=a){if(!s){s=c("<div/>");s.css({position:"fixed","z-index":d.F9,left:0,top:0,margin:0,padding:0,height:"100%",width:"100%","background-color":"rgba(255, 255, 255, 0.99)"});s.html(['<div style="box-sizing:border-box; padding:0 10vmin; display:table; height:100%; width:100vw;">\n<div style="vertical-align:middle; text-align:center; display:table-cell;">','<img style="width:22vmin" src="'+
f.$w+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">'+j("rotate-device")+"</div>","</div>\n</div>"].join("\n"));t=s.find("img")}o&&s.detach();(o=a)&&c("body").append(s)}o&&t.css("transform",e==n.h$?"translate(-11%, 0) rotate(-90deg)":"none")}var c=a("jquery.mod"),d=a("jE"),f=a("by"),g=a("jq"),k=a("dZ"),j=a("jp"),h=a("t"),n=new k;n.Nra=TDV.va.nK;n.h$=TDV.va.oK;n.xqa=function(a){if(l!=a){l=a;b()}};
n.Fna=function(){return l};n.get=function(){return e};var e=m,l=m,r=m,o=y,s=q,t=q;window.addEventListener("resize",function(){b();setTimeout(b,500)},p);window.addEventListener("orientationchange",b,y);b();return n});
define("fH","require,hp,cL,jq,bL,bP,dl,it,jp,il,fi,gU,dc,cE,dg,iN,bd,hB,t,iH,ge,bI,df,hS,cK,eo,jc,cf,iu,ek,cp".split(","),function(a){var b=a("hp"),c=a("cL"),d=a("jq"),f=a("bL"),g=a("bP"),k=a("dl"),j=a("it"),h=a("jp"),n=a("il"),e=a("fi"),l=a("gU"),r=a("dc");UserInteractionWindow=a("cE");Renderer=a("dg");TextureUtil=a("iN");VR=a("bd");Capabilities=a("hB");Device=a("t");Gyroscope=a("iH");Preloader=a("ge");LibsLoader=a("bI");Installer=a("df");URL=a("hS");ButtonMode=a("cK");Application=a("eo");Container=
a("jc");VerticalLayout=a("cf");Fullscreen=a("iu");Orientation=a("ek");Storage=a("cp");var o=b.extend(Application,function(a){Application.call(this,a);this.Cd=new Installer(this);this.vZ=new l(this,this.Cd);this.Bo=new Container;this.Bo.S({visible:p,width:"100%",height:"100%"});this.nF=new r;this.IH=new UserInteractionWindow;a=new VerticalLayout;a.bJ(0);this.fC(a);this.We(p);this.bind(d.ba("settings"),this.Sga,this,p);this.XA=TDV.va.U6();Orientation.bind(d.U,this.Fga,this,p);this.Waa=new n(this,"buttonMute",
ButtonMode.Bc);this.Waa.bind(d.W,this.B1,this,p);this.aba=new n(this,"buttonUnmute",ButtonMode.Bc);this.aba.bind(d.W,this.T1,this,p);this.zD=new n(this,"buttonToggleMute",ButtonMode.Kg);this.zD.bind(d.If,this.B1,this,p);this.zD.bind(d.Jg,this.T1,this,p);this.bind(d.ba("mute"),this.Bga,this);this.zD.set("pressed",this.get("mute"));this.Uaa=new n(this,"buttonEnterFullscreen",ButtonMode.Bc);this.Uaa.bind(d.W,this.a1,this,p);this.Vaa=new n(this,"buttonExitFullscreen",ButtonMode.Bc);this.Vaa.bind(d.W,
this.b1,this,p);this.wD=new n(this,"buttonToggleFullscreen",ButtonMode.Kg);this.wD.bind(d.If,this.a1,this,p);this.wD.bind(d.Jg,this.b1,this,p);this.wD.set("pressed",this.get("fullscreenEnabled"));this.bind(d.ba("fullscreenEnabled"),this.pga,this,p);this.set("fullscreenEnabled",this.tg.enabled());this.set("mouseWheelEnabled",p);this.set("backgroundPreloadEnabled",p);this.set("defaultVRPointer","laser");this.set("downloadEnabled",y);this.set("mediaActivationMode","window");this.set("fullscreenFallback",
"out_of_frame");this.bind(d.Ii,this.Uga,this,p);[d.lb,d.Gb,d.vo,d.OC,d.NC].forEach(function(a){this.bind(a,function(a){this.trigger(new f(d.JC,{X8:a}))},this,p)}.bind(this))});o.xV="orientationChange";k.A("Player",o).jqa().C("Container").O({backgroundPreloadEnabled:"bool",buttonEnterFullscreen:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonExitFullscreen:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonMute:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",
buttonToggleFullscreen:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonToggleMute:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonUnmute:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",cardboardAvailable:"bool",defaultVRPointer:"enum[gaze, laser]",definitions:"array[Object]",desktopMipmappingEnabled:"bool",downloadEnabled:"bool",fullscreenAvailable:"bool",fullscreenEnabled:"bool",fullscreenFallback:"enum[out_of_frame, none]",
gyroscopeAvailable:"bool",isMobile:"bool",mediaActivationMode:"enum[window, button]",menu:"array[PlayerMenuItem]",mobileMipmappingEnabled:"bool",mouseWheelEnabled:"bool",mute:"bool",lockedOrientation:"enum[portrait, landscape]",orientation:"enum[portrait, landscape]",surfaceSelectionAvailable:"bool",touchDevice:"bool",touchEnabled:"bool",vrAvailable:"bool",vrPolyfillScale:"number"}).Bqa().Gg({logCapabilities:function(){this.Mfa()}}).uh([d.Ii,o.xV,d.JC]);o.prototype.wN=function(a){Application.prototype.wN.apply(this,
arguments);this.set("fullscreenEnabled",a)};o.prototype.oa=function(){Application.prototype.oa.call(this);this.f("mute",y);this.f("fullscreenEnabled",y)};o.prototype.Ka=function(){Application.prototype.Ka.call(this);this.vZ.getParent()!=this&&this.pa(this.vZ);if(this.Bo.getParent()!=this){this.pa(this.Bo);this.Bo.pa(this.nF);this.Bo.pa(this.IH);setTimeout(function(){e.qU(this)}.bind(this),100)}};o.prototype.da=function(){this.V2||(this.V2=c.difference(this.pea(),["visible","includeInLayout","state",
"left","right","top","bottom","centerX","centerY","width","height","minWidth","minHeight","maxWidth","maxHeight","actualWidth","actualHeight","paddingLeft","paddingTop","paddingRight","paddingBottom"]));this.Ua(this.V2,{},[this.Bo],p,p);Application.prototype.da.call(this);this.Bsa===p&&this.Asa()};o.prototype.set=function(a,b){switch(a){case "children":case "creationPolicy":this.Bo.set(a,b);return;case "fullscreenAvailable":case "gyroscopeAvailable":case "cardboardAvailable":case "isMobile":case "orientation":case "surfaceSelectionAvailable":case "touchEnabled":case "touchDevice":case "vrAvailable":b=
this.get(a);break;case "fullscreenFallback":Fullscreen.BU(b);break;case "lockedOrientation":Orientation.xqa(b);break;case "installAvailable":b=this.Cd.ready();break;case "mouseWheelEnabled":this.Aqa(URL.Yl("mousewheelenabled",b));break;case "backgroundPreloadEnabled":this.Jia(b);break;case "vrPolyfillScale":VR.Mqa(b);break;case "desktopMipmappingEnabled":TextureUtil.Ypa(b);break;case "mobileMipmappingEnabled":TextureUtil.zqa(b)}Application.prototype.set.call(this,a,b)};o.prototype.get=function(a,
b){switch(a){case "children":case "creationPolicy":return this.Bo.get(a,b);case "touchEnabled":return this.Wi;case "touchDevice":return Device.$U();case "isMobile":return Device.Na();case "orientation":return Orientation.get();case "lockedOrientation":return Orientation.Fna();case "gyroscopeAvailable":return Gyroscope.available;case "cardboardAvailable":case "vrAvailable":return VR.available();case "fullscreenAvailable":return this.tg.available();case "vrPolyfillScale":return VR.Kna();case "installAvailable":return this.Cd.ready();
case "surfaceSelectionAvailable":return Renderer.b9();default:return Application.prototype.get.apply(this,arguments)}};o.prototype.B1=function(){this.set("mute",p)};o.prototype.T1=function(){this.set("mute",y)};o.prototype.Bga=function(){this.zD.set("pressed",this.get("mute"))};o.prototype.a1=function(){this.set("fullscreenEnabled",p)};o.prototype.b1=function(){this.set("fullscreenEnabled",y)};o.prototype.pga=function(){this.get("fullscreenEnabled")?this.tg.nh():this.tg.Hd();this.wD.set("pressed",
this.get("fullscreenEnabled"));this.set("fullscreenEnabled",this.tg.enabled())};o.prototype.Sga=function(){var a=this.get("settings");if(a){LibsLoader.Rk(a);Preloader.OU(a);this.Cd.OU(a)}};o.prototype.Jia=function(a){Preloader.enabled(a)};o.prototype.a_=function(){if(URL.ph("debug"))return[];var a=[];this.eu=[];(this.get("menu")||[]).forEach(function(b){var c=b.get("label");a.push(b.get("label"));c&&this.eu.push(function(){b.trigger("click")})}.bind(this));var b=this.Zl("PanoramaPlayer");if(b.length){a.push(b[0].get("mouseControlMode")==
g.Oq?h("change-to-drag-and-release"):h("change-to-click-and-move"));this.eu.push(this.Dka.bind(this))}if(this.tg.available()){a.push(this.tg.enabled()?h("exit-fullscreen"):h("enter-fullscreen"));this.eu.push(this.Bka.bind(this))}a.push(this.get("mute")?h("unmute"):h("mute"));this.eu.push(this.Cka.bind(this));b=[].concat(j.name?[j.name]:[],j.Pma!="false"?["v:"+j.PT+"."+j.WT]:[]).join(" ");if(b!=""){a.push("");a.push(b);this.eu.push(this.fha.bind(this))}return a};o.prototype.Y0=function(a){this.eu[a.data.index]()};
o.prototype.Dka=function(){var a=this.Zl("PanoramaPlayer"),b=a[0].get("mouseControlMode")==g.Oq?g.qm:g.Oq;a.forEach(function(a){Storage.setItem(s,b);a.set("mouseControlMode",b)})};o.prototype.Uga=function(){Storage.getItem(s)==g.qm&&this.Zl("PanoramaPlayer").forEach(function(a){a.set("mouseControlMode",g.qm)});URL.ph("vr")&&VR.nh()};o.prototype.Bka=function(){this.tg.toggle()};o.prototype.Cka=function(){this.set("mute",!this.get("mute"))};o.prototype.fha=function(){j.p9&&window.open(j.p9,"_blank")};
o.prototype.Fga=function(){this.trigger(o.xV)};o.prototype.Mfa=function(){b.Uma(p);b.log("UA: "+navigator.userAgent);b.log("screen: ("+Math.max(window.screen.width,window.screen.height)+", "+Math.min(window.screen.width,window.screen.height)+") dpr: "+window.devicePixelRatio+" ("+Math.max(window.screen.width,window.screen.height)*window.devicePixelRatio+", "+Math.min(window.screen.width,window.screen.height)*window.devicePixelRatio+")");Device.log();Capabilities.log();h.log();VR.log()};var s="tdvp_"+
window.location.pathname+"_rotation_mode";return o});define("bD",["require","hp","hH","jq","dl"],function(a){var b=a("hp"),c=a("hH"),d=a("jq"),a=a("dl"),b=b.extend(c,function(){c.call(this)});a.A("PlayerMenuItem",b).C("Object").O({label:"string"}).uh([d.W]);return b});
define("G","require,hp,hH,jq,ey,dl,gJ".split(","),function(a){var b=a("hp"),c=a("hH"),d=a("jq"),f=a("ey"),g=a("dl"),k=a("gJ"),a=b.extend(c,function(){c.call(this);this.set("visible",y);this.set("state",f.J);this.set("showDuration",1E3);this.set("hideDuration",1E3);this.set("darkenBackground",p);this.set("lookAwayToHide",p);this.set("lookAwayToHideTime",2E3);this.set("showEasing","linear");this.set("hideEasing","linear");this.bind(d.ba("state"),function(){this.trigger(d.um)},this,p);this.Qd=m});a.prototype.show=
function(){this.set("visible",p)};a.prototype.hide=function(){this.set("visible",y)};a.prototype.play=function(){this.set("state",f.Q)};a.prototype.pause=function(){this.set("state",f.YC)};a.prototype.stop=function(){this.set("state",f.J)};g.A("PopupPanoramaOverlay",a).C("PanoramaOverlay").O({autoplay:"bool",darkenBackground:"bool",loop:"bool",yaw:"number",pitch:"number",hfov:"number",image:"ImageResource",video:"VideoResource",lookAwayToHide:"bool",lookAwayToHideTime:"number",popupDistance:"number",
popupMaxHeight:"or[number,percent]",popupMaxWidth:"or[number,percent]",rotationX:"number",rotationY:"number",rotationZ:"number",hideEasing:"enum[linear, quad_in, quad_out, quad_in_out, cubic_in, cubic_out, cubic_in_out, quart_in, quart_out, quart_in_out, quint_in, quint_out, quint_in_out]",hideDuration:"number",state:"enum[stopped, playing, paused]",showEasing:"enum[linear, quad_in, quad_out, quad_in_out, cubic_in, cubic_out, cubic_in_out, quart_in, quart_out, quart_in_out, quint_in, quint_out, quint_in_out]",
showDuration:"number",visible:"bool",playbackPositions:"array[PopupPanoramaOverlayPlaybackPosition]"}).Gg({hide:a.prototype.hide,pause:a.prototype.pause,play:a.prototype.play,show:a.prototype.show,stop:a.prototype.stop}).Yb([d.ua,d.Jt,d.br,d.um]).uh([d.W]);a.prototype.get=function(a,b){switch(a){case "playbackPositions":if(this.Qd===m)this.Qd=k.Mna(this);return this.Qd}return c.prototype.get.call(this,a,b)};a.prototype.set=function(a,b){var f=y;switch(a){case "hfov":case "vfov":case "pitch":case "rotationX":case "rotationY":case "rotationZ":case "yaw":case "playbackPositions":this.Qd=
m;f=p}c.prototype.set.call(this,a,b);f&&a!="playbackPositions"&&this.trigger(d.ba("playbackPositions"))};return a});define("jr",["cL","hp","x","dl"],function(a,b,c,d){a=b.extend(c,function(){c.call(this)});d.A("ProgressBar",a).C("UIComponent").O({barBackgroundColor:"or[array[color], color]",barBackgroundColorDirection:"enum[horizontal, vertical]",barBackgroundColorRatios:"array[number]",barBorderColor:"color",barBorderRadius:"number",barBorderSize:"number",barOpacity:"number",percent:"number"});return a});
define("dr",["require","hp","hH","dl","jq"],function(a){var b=a("hp"),c=a("hH"),d=a("dl"),a=a("jq"),b=b.extend(c,function(){c.call(this)});d.A("RotationalCameraMovement",b).C("Object").O({easing:"enum[linear, quad_in, quad_out, quad_in_out, cubic_in, cubic_out, cubic_in_out, quart_in, quart_out, quart_in_out, quint_in, quint_out, quint_in_out]",duration:"number",hfovSpeed:"number",pitchSpeed:"number",yawSpeed:"number"}).Yb([a.ua]);return b});
define("bc",[],function(){return{ha:"left",Ea:"right",Ya:"top",Xa:"bottom"}});
define("co",["hp","cU","J","bc"],function(a,b){var c=a.extend(b,function(){b.call(this)});c.prototype.gy=R(0);c.prototype.hy=R(0);c.prototype.wv=function(){b.prototype.wv.call(this);this.Po(function(a){a.We(p)})};c.prototype.Sp=function(){b.prototype.Sp.call(this);this.Po(function(a){a.iC(this.gy(a,this.hw()));a.jC(this.hy(a,this.hw()))})};c.prototype.uv=function(){this.Po(function(a){a.iC(this.gy(a,1));a.jC(this.hy(a,1))});b.prototype.uv.call(this)};c.prototype.vv=function(){this.Po(function(a){a.iC(this.gy(a,
0));a.jC(this.hy(a,0))});b.prototype.vv.call(this)};return c});
define("cX",["hp","co","bc"],function(a,b,c){a=a.extend(b,function(){b.call(this)});a.prototype.gy=function(a,b){switch(this.get("from")){case c.Ya:case c.Xa:return 0;case c.ha:var g=a.Z,k=a.Aa();return isNaN(k)||isNaN(g)?1E4:(-g-k)*(1-b);default:g=a.getParent();if(!g)return 0;k=g.td();g=a.Z;return isNaN(g)||isNaN(k)?1E4:(k-g)*(1-b)}};a.prototype.hy=function(a,b){switch(this.get("from")){case c.Ya:var g=a.$,k=a.bb();return isNaN(k)||isNaN(g)?1E4:(-g-k)*(1-b);case c.Xa:g=a.getParent();if(!g)return 0;
k=g.sd();g=a.$;return isNaN(g)||isNaN(k)?1E4:(k-g)*(1-b);default:return 0}};a.prototype.vv=function(){this.Po(function(a){a.iC(0);a.jC(0);a.We(y)})};return a});define("bB",["hp","cX","dl"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("SlideInEffect",a).C("Effect").O({from:"enum[left, top, right, bottom]"});return a});
define("eT",["hp","co","J","bc"],function(a,b,c,d){a=a.extend(b,function(){b.call(this)});a.prototype.gy=function(a,b){switch(this.get("to")){case d.Ya:case d.Xa:return 0;case d.ha:var c=a.Z,j=a.Aa();return isNaN(j)||isNaN(c)?1E4:(-c-j)*b;default:c=a.getParent();if(!c)return 0;j=c.td();c=a.Z;return isNaN(c)||isNaN(j)?1E4:(j-c)*b}};a.prototype.hy=function(a,b){switch(this.get("to")){case d.Ya:var c=a.$,j=a.bb();return isNaN(j)||isNaN(c)?1E4:(-c-j)*b;case d.Xa:c=a.getParent();if(!c)return 0;j=c.sd();
c=a.$;return isNaN(c)||isNaN(j)?1E4:(j-c)*b;default:return 0}};a.prototype.uv=function(){this.Po(function(a){a.iC(0);a.jC(0);a.We(y)})};return a});define("fy",["hp","eT","dl"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("SlideOutEffect",a).C("Effect").O({to:"enum[left, top, right, bottom]"});return a});
define("iV",["require","hp","hH","dl"],function(a){var b=a("hp"),c=a("hH"),a=a("dl"),b=b.extend(c,function(){c.call(this);this.set("initialState","playing");this.set("intensity",0.5);this.set("speed",0.25);this.set("state","playing");this.set("startDuration",2E4);this.set("stopDuration",2E4)});a.A("SnowPanoramaOverlay",b).C("PanoramaOverlay").O({initialState:"enum[playing, stopped]",intensity:"number",speed:"number",startDuration:"number",state:"enum[playing, stopped]",stopDuration:"number",startState:"enum[playing, stopped]"});
b.prototype.get=function(a,b){"startState"==a&&b===m&&(b=this.get("initialState"));return c.prototype.get.call(this,a,b)};return b});define("dh",["require","hp","dl","hw"],function(a){var b=a("hp"),c=a("dl"),d=a("hw"),a=b.extend(d,function(){d.call(this)});c.A("SphericPanoramaFrame",a).C("PanoramaFrame").O({sphere:"or[ImageResource, Video360Resource]",stereoSphere:"or[ImageResource]"});a.prototype.Koa=function(){var a=this.get("sphere");return a&&c.tb("Video360Resource",a)};return a});
define("ci","cL,hp,v,jc,X,J,fP".split(","),function(a,b,c,d,f,g,k){var j=b.extend(d,function(a){d.call(this);this.xc("Tab");this.IP=a;this.rA="";this.zR=y;this.i0=this.ja=q;this.uS=this.tS=y;this.set("childrenInteractionEnabled",y);this.set("contentOpaque",p)});j.prototype.oa=function(){d.prototype.oa.call(this);this.f("horizontalAlign",f.tc);this.f("verticalAlign",f.cc);this.f("fontFamily");this.f("fontSize");this.f("fontColor");this.f("fontWeight");this.f("fontStyle");this.f("textDecoration");this.f("textShadowBlurRadius");
this.f("textShadowColor");this.f("textShadowHorizontalLength");this.f("textShadowOpacity");this.f("textShadowVerticalLength")};j.prototype.V8=function(a){if(this.tS!=a){this.tS=a;this.uS=p;this.bc()}};j.prototype.Ka=function(){d.prototype.Ka.call(this);if(this.ja==q){this.ja=new k;this.ja.set("horizontalAlign","center");this.pa(this.ja)}};j.prototype.Qj=function(){d.prototype.Qj.call(this);this.i0=c.watch(this.IP,"label",this.sga,this);this.W3(this.IP.get("label"))};j.prototype.BQ=function(){d.prototype.BQ.call(this);
this.i0.unwatch()};j.prototype.sga=function(){var a=this.IP.get("label");this.W3(a?a:"")};j.prototype.W3=function(a){if(this.rA!=a){this.rA=a;this.zR=p;this.bc()}};j.prototype.da=function(){if(this.zR){this.zR=y;this.ja.set("text",this.rA)}if(this.uS){this.uS=y;this.ja.set("direction",this.tS?g.Ye:g.Be)}this.Ua(j.lX,j.Pt,[this.ja],p,p);d.prototype.da.call(this)};j.lX=["fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength",
"textShadowBlurRadius","textShadowOpacity"];j.Pt={};a(j.lX).each(function(a){j.Pt[a]=a});return j});define("dk",[],function(){return{Zw:"normal",It:"inverse",jV:"center"}});
define("ca","cL,hp,T,N,jq,jc,X,c,ci,dk,bc".split(","),function(a,b,c,d,f,g,k,j,h,n,e){b=b.extend(g,function(){g.call(this);this.xc("TabPanel");this.Pc=-1;this.Gs=y;this.pA=[];this.gH=y;this.tl=[];this.KP=y;this.oA=[];this.ce=this.Qe=q;this.Is(y)});b.prototype.oa=function(){g.prototype.oa.call(this);this.f("pages",[]);this.f("selectedIndex",-1);this.f("tabsSize",25);this.f("tabsPosition",e.Ya);this.f("tabsGap",0);this.f("tabsPadding",10);this.f("tabsAlign",n.Zw);this.f("tabsBackgroundOpacity",0.6);
this.f("tabsBackgroundColor",["#FFFFFF","#CCCCCC"]);this.f("tabsBackgroundColorRatios",[0,0.5]);this.f("tabsRollOverBackgroundOpacity",1);this.f("tabsRollOverBackgroundColor",["#FFFFFF","#CCCCCC"]);this.f("tabsRollOverBackgroundColorRatios",[0,0.5]);this.f("backgroundColor","#FFFFFF");this.f("selectedTabBackgroundOpacity",1);this.f("selectedTabBackgroundColor");this.f("selectedTabBackgroundColorRatios");this.f("borderRadius",6);this.f("pagePaddingLeft",4);this.f("pagePaddingTop",4);this.f("pagePaddingRight",
4);this.f("pagePaddingBottom",4);this.f("borderColor","#AAAAAA");this.f("borderSize",1);this.f("selectedTabFontSize");this.f("selectedTabFontColor");this.f("selectedTabFontWeight");this.f("selectedTabFontStyle");this.f("selectedTabTextDecoration");this.f("selectedTabTextShadowBlurRadius");this.f("selectedTabTextShadowColor");this.f("selectedTabTextShadowHorizontalLength");this.f("selectedTabTextShadowOpacity");this.f("selectedTabTextShadowVerticalLength");this.f("tabsFontFamily");this.f("tabsFontSize");
this.f("tabsFontColor");this.f("tabsFontWeight");this.f("tabsFontStyle");this.f("tabsTextDecoration");this.f("tabsTextShadowBlurRadius");this.f("tabsTextShadowColor");this.f("tabsTextShadowHorizontalLength");this.f("tabsTextShadowOpacity");this.f("tabsTextShadowVerticalLength");this.f("tabsRollOverFontSize");this.f("tabsRollOverFontColor");this.f("tabsRollOverFontWeight");this.f("tabsRollOverFontStyle");this.f("tabsRollOverTextDecoration");this.f("tabsRollOverTextShadowBlurRadius");this.f("tabsRollOverTextShadowColor");
this.f("tabsRollOverTextShadowHorizontalLength");this.f("tabsRollOverTextShadowOpacity");this.f("tabsRollOverTextShadowVerticalLength")};b.prototype.Ka=function(){g.prototype.Ka.call(this);if(this.ce==q){this.ce=new g;this.ce.Is(y);this.pa(this.ce)}if(this.Qe==q){this.Qe=new g;this.Qe.Is(y);this.pa(this.Qe)}};b.prototype.set=function(a,b){if(a=="pages")this.Hqa(b||[]);else if(a=="selectedIndex")this.NU(b);else if(a=="layout")b=j.Dra;g.prototype.set.call(this,a,b)};b.prototype.get=function(a,b){return a==
"pages"?this.tl:a=="selectedIndex"?this.Pc:g.prototype.get.call(this,a,b)};b.prototype.NU=function(a){if(this.Pc!=a){this.Pc=a;this.Pc=Math.min(Math.max(this.Pc,-1),this.tl.length);this.Gs=p;this.bc();this.trigger(f.U)}};b.prototype.Hqa=function(b){if(!a.isEqual(this.tl,b)){this.tl=b;this.KP=p;this.bc()}};b.prototype.uka=function(b){this.pA=a(this.pA).union([b.source]);this.gH=p;this.bc()};b.prototype.tka=function(b){this.pA=a(this.pA).difference([b.source]);this.gH=p;this.bc()};b.prototype.ska=function(b){this.NU(a(this.oA).indexOf(b.source))};
b.prototype.da=function(){var b=y,r=y,o=y,s=y,t=y,u=this.j("tabsPosition"),v=this.j("tabsAlign");if(this.KP){this.oA=[];this.Qe.j8();this.ce.j8();a(this.tl).forEach(function(b){var c=new h(b);c.Is(p);c.bind(f.Cc,a.bind(this.uka,this));c.bind(f.ec,a.bind(this.tka,this));c.bind(f.lb,a.bind(this.ska,this));this.oA.push(c);this.Qe.pa(c);b.S({top:m,left:m,right:m,bottom:m,width:"100%",height:"100%"});this.ce.pa(b)},this);this.Pc=Math.min(Math.max(this.Pc,0),this.tl.length-1);this.KP=y;r=b=t=p}if(this.n("tabsPosition")){this.o("tabsPosition");
s=r=b=p}if(this.Gs){this.Gs=y;o=r=t=p}if(this.gH){this.gH=y;o=p}a(["tabsAlign","tabsGap","tabsSize"]).forEach(function(a){if(this.n(a)){this.o(a);b=p}},this);a(["borderRadius","borderTopRadius","borderBottomRadius","borderLeftRadius","borderRightRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","borderSize","borderLeftSize","borderTopSize","borderRightSize","borderBottomSize","borderColor","borderLeftColor","borderTopColor","borderRightColor",
"borderBottomColor","shadow","shadowHorizontalLength","shadowVerticalLength","shadowBlurRadius","shadowSpread","shadowColor","backgroundOpacity","backgroundColor","backgroundColorRatios"]).forEach(function(a){if(this.n(a)){this.o(a);s=r=p}},this);a(["tabsBackgroundOpacity","tabsBackgroundColor","tabsBackgroundColorRatios","selectedTabBackgroundOpacity","selectedTabBackgroundColor","selectedTabBackgroundColorRatios","selectedTabFontSize","selectedTabFontColor","selectedTabFontWeight","selectedTabFontStyle",
"selectedTabTextDecoration","selectedTabTextShadowColor","selectedTabTextShadowHorizontalLength","selectedTabTextShadowVerticalLength","selectedTabTextShadowBlurRadius","selectedTabTextShadowOpacity","tabsFontFamily","tabsFontSize","tabsFontColor","tabsFontWeight","tabsFontStyle","tabsPadding","tabsTextDecoration","tabsRollOverFontSize","tabsRollOverFontColor","tabsTextShadowColor","tabsTextShadowHorizontalLength","tabsTextShadowVerticalLength","tabsTextShadowBlurRadius","tabsTextShadowOpacity","tabsRollOverFontWeight",
"tabsRollOverFontStyle","tabsRollOverTextDecoration","tabsRollOverTextShadowColor","tabsRollOverTextShadowHorizontalLength","tabsRollOverTextShadowVerticalLength","tabsRollOverTextShadowBlurRadius","tabsRollOverTextShadowOpacity"]).forEach(function(a){if(this.n(a)){this.o(a);r=p}},this);a(["pagePaddingLeft","pagePaddingTop","pagePaddingRight","pagePaddingBottom"]).forEach(function(a){if(this.n(a)){this.o(a);s=p}},this);this.n("backgroundColorDirection")&&this.o("backgroundColorDirection");if(b){switch(u){case e.ha:this.Qe.S({left:0,
right:m});break;case e.Ea:this.Qe.S({left:m,right:0});break;case e.Ya:this.Qe.S({bottom:m,top:0});break;case e.Xa:this.Qe.S({bottom:0,top:m})}switch(u){case e.ha:case e.Ea:this.Qe.S({layout:j.Ye,top:0,bottom:0,height:m,width:this.j("tabsSize")});switch(v){case n.It:this.Qe.set("verticalAlign",k.Xa);break;case n.jV:this.Qe.set("verticalAlign",k.cc);break;default:this.Qe.set("verticalAlign",k.Ya)}break;case e.Ya:case e.Xa:this.Qe.S({layout:j.Be,left:0,right:0,height:this.j("tabsSize"),width:m});switch(v){case n.It:this.Qe.set("horizontalAlign",
k.Ea);break;case n.jV:this.Qe.set("horizontalAlign",k.tc);break;default:this.Qe.set("horizontalAlign",k.ha)}}this.Qe.set("gap",this.j("tabsGap"))}if(r)for(var x=0;x<this.tl.length;x++){var w=this.oA[x];if(u==e.Xa||u==e.Ya){w.S({layout:j.Be,width:m,paddingLeft:this.j("tabsPadding"),paddingTop:0,paddingRight:this.j("tabsPadding"),paddingBottom:0,height:"100%",backgroundColorDirection:c.GK});w.V8(y)}else{w.S({layout:j.Ye,width:"100%",paddingLeft:0,paddingTop:this.j("tabsPadding"),paddingRight:0,paddingBottom:this.j("tabsPadding"),
height:m,backgroundColorDirection:c.jK});w.V8(p)}u==e.Xa||u==e.Ea?w.set("borderTopLeftRadius",0):w.set("borderTopLeftRadius",this.j("borderTopLeftRadius","borderTopRadius","borderLeftRadius","borderRadius"));u==e.Xa||u==e.ha?w.set("borderTopRightRadius",0):w.set("borderTopRightRadius",this.j("borderTopRightRadius","borderTopRadius","borderRightRadius","borderRadius"));u==e.Ya||u==e.Ea?w.set("borderBottomLeftRadius",0):w.set("borderBottomLeftRadius",this.j("borderBottomLeftRadius","borderBottomRadius",
"borderLeftRadius","borderRadius"));u==e.Ya||u==e.ha?w.set("borderBottomRightRadius",0):w.set("borderBottomRightRadius",this.j("borderBottomRightRadius","borderBottomRadius","borderRightRadius","borderRadius"));u==e.Ea&&w.set("borderSize",this.j("borderRightSize","borderSize"));u==e.ha&&w.set("borderSize",this.j("borderLeftSize","borderSize"));u==e.Ya&&w.set("borderSize",this.j("borderTopSize","borderSize"));u==e.Xa&&w.set("borderSize",this.j("borderBottomSize","borderSize"));var z;switch(u){case e.ha:z=
this.j("borderLeftColor","borderColor");break;case e.Ea:z=this.j("borderRightColor","borderColor");break;case e.Xa:z=this.j("borderBottomColor","borderColor");break;default:case e.Ya:z=this.j("borderTopColor","borderColor")}w.set("borderColor",z);w.S({fontFamily:this.j("tabsFontFamily"),shadow:this.j("shadow"),shadowHorizontalLength:this.j("shadowHorizontalLength"),shadowVerticalLength:this.j("shadowVerticalLength"),shadowBlurRadius:this.j("shadowBlurRadius"),shadowSpread:this.j("shadowSpread"),shadowColor:this.j("shadowColor")})}if(r||
o)for(x=0;x<this.tl.length;x++){w=this.oA[x];o=x==this.Pc;z=a(this.pA).contains(w);if(o){z=this.j("selectedTabBackgroundColor","tabsBackgroundColor");if(a(z).isUndefined()){z=this.j("backgroundColor");z=a(z).isArray()&&z.length>0?u==e.ha||u==e.Ya?z[0]:z[z.length-1]:z}w.S({backgroundOpacity:this.j("selectedTabBackgroundOpacity","tabsBackgroundOpacity","backgroundOpacity"),backgroundColor:z,backgroundColorRatios:this.j("selectedTabBackgroundColorRatios","tabsBackgroundColorRatios"),cursor:d.uc,fontSize:this.j("selectedTabFontSize",
"tabsFontSize"),fontColor:this.j("selectedTabFontColor","tabsFontColor"),fontWeight:this.j("selectedTabFontWeight","tabsFontWeight"),fontStyle:this.j("selectedTabFontStyle","tabsFontStyle"),textDecoration:this.j("selectedTabTextDecoration","tabsTextDecoration"),textShadowColor:this.j("selectedTabTextShadowColor","tabsTextShadowColor"),textShadowHorizontalLength:this.j("selectedTabTextShadowHorizontalLength","tabsTextShadowHorizontalLength"),textShadowVerticalLength:this.j("selectedTabTextShadowVerticalLength",
"tabsTextShadowVerticalLength"),textShadowBlurRadius:this.j("selectedTabTextShadowBlurRadius","tabsTextShadowBlurRadius"),textShadowOpacity:this.j("selectedTabTextShadowOpacity","tabsTextShadowOpacity")})}else z?w.S({backgroundOpacity:this.j("tabsRollOverBackgroundOpacity","tabsBackgroundOpacity","backgroundOpacity"),backgroundColor:this.j("tabsRollOverBackgroundColor","tabsBackgroundColor"),backgroundColorRatios:this.j("tabsRollOverBackgroundColorRatios","tabsBackgroundColorRatios"),cursor:d.xd,
fontSize:this.j("tabsRollOverFontSize","tabsFontSize"),fontColor:this.j("tabsRollOverFontColor","tabsFontColor"),fontWeight:this.j("tabsRollOverFontWeight","tabsFontWeight"),fontStyle:this.j("tabsRollOverFontStyle","tabsFontStyle"),textDecoration:this.j("tabsRollOverTextDecoration","tabsTextDecoration"),textShadowColor:this.j("tabsRollOverTextShadowColor","tabsTextShadowColor"),textShadowHorizontalLength:this.j("tabsRollOverTextShadowHorizontalLength","tabsTextShadowHorizontalLength"),textShadowVerticalLength:this.j("tabsRollOverTextShadowVerticalLength",
"tabsTextShadowVerticalLength"),textShadowBlurRadius:this.j("tabsRollOverTextShadowBlurRadius","tabsTextShadowBlurRadius"),textShadowOpacity:this.j("tabsRollOverTextShadowOpacity","tabsTextShadowOpacity")}):w.S({backgroundOpacity:this.j("tabsBackgroundOpacity","backgroundOpacity"),backgroundColor:this.j("tabsBackgroundColor"),backgroundColorRatios:this.j("tabsBackgroundColorRatios"),fontSize:this.j("tabsFontSize"),fontColor:this.j("tabsFontColor"),fontWeight:this.j("tabsFontWeight"),fontStyle:this.j("tabsFontStyle"),
textDecoration:this.j("tabsTextDecoration"),textShadowColor:this.j("tabsTextShadowColor"),textShadowHorizontalLength:this.j("tabsTextShadowHorizontalLength"),textShadowVerticalLength:this.j("tabsTextShadowVerticalLength"),textShadowBlurRadius:this.j("tabsTextShadowBlurRadius"),textShadowOpacity:this.j("tabsTextShadowOpacity")});w.S({borderLeftSize:u==e.Ea&&o?0:m,borderRightSize:u==e.ha&&o?0:m,borderBottomSize:u==e.Ya&&o?0:m,borderTopSize:u==e.Xa&&o?0:m})}if(s){x=this.j("tabsSize");switch(u){case e.ha:this.ce.S({left:x-
(this.j("borderLeftSize","borderSize")||0),right:0,top:0,bottom:0});break;case e.Ea:this.ce.S({left:0,right:x-(this.j("borderRightSize","borderSize")||0),top:0,bottom:0});break;case e.Ya:this.ce.S({left:0,right:0,top:x-(this.j("borderTopSize","borderSize")||0),bottom:0});break;case e.Xa:this.ce.S({left:0,right:0,top:0,bottom:x-(this.j("borderBottomSize","borderSize")||0)})}u==e.Ya&&v==n.Zw||u==e.ha&&v==n.Zw?this.ce.set("borderTopLeftRadius",0):this.ce.set("borderTopLeftRadius",this.j("borderTopLeftRadius",
"borderTopRadius","borderLeftRadius","borderRadius"));u==e.Ya&&v==n.It||u==e.Ea&&v==n.Zw?this.ce.set("borderTopRightRadius",0):this.ce.set("borderTopRightRadius",this.j("borderTopRightRadius","borderTopRadius","borderRightRadius","borderRadius"));u==e.Xa&&v==n.Zw||u==e.ha&&v==n.It?this.ce.set("borderBottomLeftRadius",0):this.ce.set("borderBottomLeftRadius",this.j("borderBottomLeftRadius","borderBottomRadius","borderLeftRadius","borderRadius"));u==e.Xa&&v==n.It||u==e.Ea&&v==n.It?this.ce.set("borderBottomRightRadius",
0):this.ce.set("borderBottomRightRadius",this.j("borderBottomRightRadius","borderBottomRadius","borderRightRadius","borderRadius"));this.ce.S({paddingLeft:this.j("pagePaddingLeft"),paddingTop:this.j("pagePaddingTop"),paddingRight:this.j("pagePaddingRight"),paddingBottom:this.j("pagePaddingBottom"),borderLeftSize:this.j("borderLeftSize","borderSize"),borderTopSize:this.j("borderTopSize","borderSize"),borderRightSize:this.j("borderRightSize","borderSize"),borderBottomSize:this.j("borderBottomSize",
"borderSize"),borderLeftColor:this.j("borderLeftColor","borderColor"),borderTopColor:this.j("borderTopColor","borderColor"),borderRightColor:this.j("borderRightColor","borderColor"),borderBottomColor:this.j("borderBottomColor","borderColor"),shadow:this.j("shadow"),shadowHorizontalLength:this.j("shadowHorizontalLength"),shadowVerticalLength:this.j("shadowVerticalLength"),shadowBlurRadius:this.j("shadowBlurRadius"),shadowSpread:this.j("shadowSpread"),shadowColor:this.j("shadowColor"),backgroundOpacity:this.j("backgroundOpacity"),
backgroundColor:this.j("backgroundColor"),backgroundColorRatios:this.j("backgroundColorRatios")});u==e.Ya||u==e.Xa?this.ce.set("backgroundColorDirection",c.GK):this.ce.set("backgroundColorDirection",c.jK)}if(t)for(x=0;x<this.tl.length;x++)this.tl[x].set("visible",x==this.Pc);g.prototype.da.call(this)};return b});
define("iY",["cL","hp","jq","ca","dl"],function(a,b,c,d,f){a=b.extend(d,function(){d.call(this)});f.A("TabPanel",a).C("Container").O({pagePaddingLeft:"number",pagePaddingTop:"number",pagePaddingRight:"number",pagePaddingBottom:"number",pages:"array[TabPanelPage]",selectedIndex:"number",selectedTabBackgroundColor:"or[color, array[color]]",selectedTabBackgroundColorRatios:"array[number]",selectedTabBackgroundOpacity:"number",selectedTabFontColor:"color",selectedTabFontSize:"or[number, size]",selectedTabFontStyle:"enum[italic, normal]",
selectedTabFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",selectedTabTextDecoration:"enum[underline, overline, line-through, none]",selectedTabTextShadowBlurRadius:"number",selectedTabTextShadowColor:"color",selectedTabTextShadowHorizontalLength:"number",selectedTabTextShadowOpacity:"number",selectedTabTextShadowVerticalLength:"number",tabsAlign:"enum[normal, inverse, center]",tabsBackgroundColor:"or[color, array[color]]",tabsBackgroundColorRatios:"array[number]",
tabsBackgroundOpacity:"number",tabsFontColor:"color",tabsFontFamily:"string",tabsFontSize:"or[number, size]",tabsFontStyle:"enum[italic, normal]",tabsFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",tabsGap:"number",tabsPadding:"number",tabsPosition:"enum[left, top, right, bottom]",tabsRollOverBackgroundColor:"or[color, array[color]]",tabsRollOverBackgroundColorRatios:"array[number]",tabsRollOverBackgroundOpacity:"number",tabsRollOverFontColor:"color",
tabsRollOverFontSize:"or[number, size]",tabsRollOverFontStyle:"enum[italic, normal]",tabsRollOverFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",tabsRollOverTextDecoration:"enum[underline, overline, line-through, none]",tabsRollOverTextShadowBlurRadius:"number",tabsRollOverTextShadowColor:"color",tabsRollOverTextShadowHorizontalLength:"number",tabsRollOverTextShadowOpacity:"number",tabsRollOverTextShadowVerticalLength:"number",tabsSize:"number",tabsTextDecoration:"enum[underline, overline, line-through, none]",
tabsTextShadowBlurRadius:"number",tabsTextShadowColor:"color",tabsTextShadowHorizontalLength:"number",tabsTextShadowOpacity:"number",tabsTextShadowVerticalLength:"number"}).mo(["selectedTabFontSize","tabsFontSize","tabsRollOverFontSize"]).Yb([c.U]);return a});define("dL",["hp","jc"],function(a,b){var c=a.extend(b,function(){b.call(this);this.xc("Page");this.set("label","")});c.prototype.oa=function(){b.prototype.oa.call(this);this.f("visible",m)};return c});
define("P",["hp","dL","dl"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("TabPanelPage",a).C("Container").O({label:"string"});return a});define("ei",["require","hp","hH","dl"],function(a){var b=a("hp"),c=a("hH"),a=a("dl"),b=b.extend(c,function(){c.call(this)});a.A("TargetPanoramaCameraMovement",b).C("TargetRotationalCameraMovement");return b});
define("cn",["require","hp","hH","dl"],function(a){var b=a("hp"),c=a("hH"),a=a("dl"),b=b.extend(c,function(){c.call(this)});a.A("TargetRotationalCameraDisplayMovement",b).C("RotationalCameraMovement").O({stereographicFactorSpeed:"number",path:"enum[left, right, shortest, longest]",targetYaw:"number",targetPitch:"number",targetHfov:"number",targetStereographicFactor:"number"});return b});
define("ff",["require","hp","hL","dl"],function(a){var b=a("hp"),c=a("hL"),a=a("dl"),b=b.extend(c,function(){c.call(this)});a.A("TiledImageResourceLevel",b).C("ImageResourceLevel").O({rowCount:"number",colCount:"number"});return b});define("gf",["require","hp","dl","fn"],function(a){var b=a("hp"),c=a("dl"),d=a("fn"),a=b.extend(d,function(){d.call(this)});c.A("TripodCapPanoramaOverlay",a).C("CapPanoramaOverlay");return a});
define("fq","require,hp,v,jq,X,bW,N,c,bc,hO,et,jc,ib,fP,cL".split(","),function(a){var b=a("hp"),c=a("v"),d=a("jq"),f=a("X"),g=a("bW"),k=a("N"),j=a("c"),h=a("bc"),n=a("hO"),e=a("et"),l=a("jc"),r=a("ib"),o=a("fP"),s=a("cL"),t=b.extend(l,function(){l.call(this);this.ja=this.yc=q;this.yr=[];this.set("autoRolledOver",p);this.set("childrenInteractionEnabled",y);this.set("contentOpaque",p);this.set("creationPolicy",g.Uw);this.set("cursor",k.xd)});t.prototype.oa=function(){l.prototype.oa.call(this);this.f("overflow",
"hidden");this.f("item");this.f("thumbnailUrlFunction",this.PM);this.f("sourceProperties");this.f("labelFunction",this.NM);this.f("labelFontFamily");this.f("labelFontColor");this.f("labelFontSize");this.f("labelFontStyle");this.f("labelFontWeight");this.f("labelGap");this.f("labelHorizontalAlign");this.f("labelMaxWidth");this.f("labelPosition");this.f("labelTextDecoration");this.f("labelTextShadowColor");this.f("labelTextShadowHorizontalLength");this.f("labelTextShadowVerticalLength");this.f("labelTextShadowBlurRadius");
this.f("labelTextShadowOpacity");this.f("thumbnailBorderRadius");this.f("thumbnailOpacity");this.f("thumbnailBorderSize");this.f("thumbnailBorderColor");this.f("thumbnailWidth");this.f("thumbnailHeight");this.f("thumbnailMaxWidth");this.f("thumbnailMaxHeight");this.f("thumbnailShadow");this.f("thumbnailShadowHorizontalLength");this.f("thumbnailShadowVerticalLength");this.f("thumbnailShadowBlurRadius");this.f("thumbnailShadowSpread");this.f("thumbnailShadowColor");this.f("thumbnailShadowOpacity");
this.h("rollOverBackgroundOpacity",e.q,"backgroundOpacity");this.h("rollOverBackgroundColor",e.q,"backgroundColor");this.h("rollOverBackgroundColorRatios",e.q,"backgroundColorRatios");this.h("rollOverBackgroundColorDirection",e.q,"backgroundColorDirection");this.h("rollOverBorderRadius",e.q,"borderRadius");this.h("rollOverBorderTopRadius",e.q,"borderTopRadius");this.h("rollOverBorderBottomRadius",e.q,"borderBottomRadius");this.h("rollOverBorderLeftRadius",e.q,"borderLeftRadius");this.h("rollOverBorderRightRadius",
e.q,"borderRightRadius");this.h("rollOverBorderTopLeftRadius",e.q,"borderTopLeftRadius");this.h("rollOverBorderTopRightRadius",e.q,"borderTopRightRadius");this.h("rollOverBorderBottomLeftRadius",e.q,"borderBottomLeftRadius");this.h("rollOverBorderBottomRightRadius",e.q,"borderBottomRightRadius");this.h("rollOverBorderSize",e.q,"borderSize");this.h("rollOverBorderLeftSize",e.q,"borderLeftSize");this.h("rollOverBorderTopSize",e.q,"borderTopSize");this.h("rollOverBorderRightSize",e.q,"borderRightSize");
this.h("rollOverBorderBottomSize",e.q,"borderBottomSize");this.h("rollOverBorderColor",e.q,"borderColor");this.h("rollOverBorderLeftColor",e.q,"borderLeftColor");this.h("rollOverBorderTopColor",e.q,"borderTopColor");this.h("rollOverBorderRightColor",e.q,"borderRightColor");this.h("rollOverBorderBottomColor",e.q,"borderBottomColor");this.h("rollOverLabelFontColor",e.q,"labelFontColor");this.h("rollOverLabelFontSize",e.q,"labelFontSize");this.h("rollOverLabelFontStyle",e.q,"labelFontStyle");this.h("rollOverLabelFontWeight",
e.q,"labelFontWeight");this.h("rollOverLabelTextDecoration",e.q,"labelTextDecoration");this.h("rollOverLabelTextShadowColor",e.q,"labelTextShadowColor");this.h("rollOverLabelTextShadowHorizontalLength",e.q,"labelTextShadowHorizontalLength");this.h("rollOverLabelTextShadowVerticalLength",e.q,"labelTextShadowVerticalLength");this.h("rollOverLabelTextShadowBlurRadius",e.q,"labelTextShadowBlurRadius");this.h("rollOverLabelTextShadowOpacity",e.q,"labelTextShadowOpacity");this.h("rollOverOpacity",e.q,"opacity");
this.h("rollOverPaddingLeft",e.q,"paddingLeft");this.h("rollOverPaddingTop",e.q,"paddingTop");this.h("rollOverPaddingRight",e.q,"paddingRight");this.h("rollOverPaddingBottom",e.q,"paddingBottom");this.h("rollOverShadow",e.q,"shadow");this.h("rollOverThumbnailOpacity",e.q,"thumbnailOpacity");this.h("rollOverThumbnailBorderSize",e.q,"thumbnailBorderSize");this.h("rollOverThumbnailBorderColor",e.q,"thumbnailBorderColor");this.h("rollOverThumbnailShadow",e.q,"thumbnailShadow");this.h("rollOverThumbnailShadowHorizontalLength",
e.q,"thumbnailShadowHorizontalLength");this.h("rollOverThumbnailShadowVerticalLength",e.q,"thumbnailShadowVerticalLength");this.h("rollOverThumbnailShadowBlurRadius",e.q,"thumbnailShadowBlurRadius");this.h("rollOverThumbnailShadowSpread",e.q,"thumbnailShadowSpread");this.h("rollOverThumbnailShadowColor",e.q,"thumbnailShadowColor");this.h("rollOverThumbnailShadowOpacity",e.q,"thumbnailShadowOpacity");this.h("selectedBackgroundOpacity",e.F,"backgroundOpacity");this.h("selectedBackgroundColor",e.F,"backgroundColor");
this.h("selectedBackgroundColorRatios",e.F,"backgroundColorRatios");this.h("selectedBackgroundColorDirection",e.F,"backgroundColorDirection");this.h("selectedBorderRadius",e.F,"borderRadius");this.h("selectedBorderTopRadius",e.F,"borderTopRadius");this.h("selectedBorderBottomRadius",e.F,"borderBottomRadius");this.h("selectedBorderLeftRadius",e.F,"borderLeftRadius");this.h("selectedBorderRightRadius",e.F,"borderRightRadius");this.h("selectedBorderTopLeftRadius",e.F,"borderTopLeftRadius");this.h("selectedBorderTopRightRadius",
e.F,"borderTopRightRadius");this.h("selectedBorderBottomLeftRadius",e.F,"borderBottomLeftRadius");this.h("selectedBorderBottomRightRadius",e.F,"borderBottomRightRadius");this.h("selectedBorderSize",e.F,"borderSize");this.h("selectedBorderLeftSize",e.F,"borderLeftSize");this.h("selectedBorderTopSize",e.F,"borderTopSize");this.h("selectedBorderRightSize",e.F,"borderRightSize");this.h("selectedBorderBottomSize",e.F,"borderBottomSize");this.h("selectedBorderColor",e.F,"borderColor");this.h("selectedBorderLeftColor",
e.F,"borderLeftColor");this.h("selectedBorderTopColor",e.F,"borderTopColor");this.h("selectedBorderRightColor",e.F,"borderRightColor");this.h("selectedBorderBottomColor",e.F,"borderBottomColor");this.h("selectedLabelFontColor",e.F,"labelFontColor");this.h("selectedLabelFontSize",e.F,"labelFontSize");this.h("selectedLabelFontStyle",e.F,"labelFontStyle");this.h("selectedLabelFontWeight",e.F,"labelFontWeight");this.h("selectedLabelTextDecoration",e.F,"labelTextDecoration");this.h("selectedLabelTextShadowColor",
e.F,"labelTextShadowColor");this.h("selectedLabelTextShadowHorizontalLength",e.F,"labelTextShadowHorizontalLength");this.h("selectedLabelTextShadowVerticalLength",e.F,"labelTextShadowVerticalLength");this.h("selectedLabelTextShadowBlurRadius",e.F,"labelTextShadowBlurRadius");this.h("selectedLabelTextShadowOpacity",e.F,"labelTextShadowOpacity");this.h("selectedOpacity",e.F,"opacity");this.h("selectedPaddingLeft",e.F,"paddingLeft");this.h("selectedPaddingTop",e.F,"paddingTop");this.h("selectedPaddingRight",
e.F,"paddingRight");this.h("selectedPaddingBottom",e.F,"paddingBottom");this.h("selectedShadow",e.F,"shadow");this.h("selectedThumbnailOpacity",e.F,"thumbnailOpacity");this.h("selectedThumbnailBorderSize",e.F,"thumbnailBorderSize");this.h("selectedThumbnailBorderColor",e.F,"thumbnailBorderColor");this.h("selectedThumbnailShadow",e.F,"thumbnailShadow");this.h("selectedThumbnailShadowHorizontalLength",e.F,"thumbnailShadowHorizontalLength");this.h("selectedThumbnailShadowVerticalLength",e.F,"thumbnailShadowVerticalLength");
this.h("selectedThumbnailShadowBlurRadius",e.F,"thumbnailShadowBlurRadius");this.h("selectedThumbnailShadowSpread",e.F,"thumbnailShadowSpread");this.h("selectedThumbnailShadowColor",e.F,"thumbnailShadowColor");this.h("selectedThumbnailShadowOpacity",e.F,"thumbnailShadowOpacity")};t.prototype.lC=function(a){this.Wz(a)};t.prototype.Ka=function(){l.prototype.Ka.call(this);if(!this.yc){this.yc=new r;this.pa(this.yc);this.yc.set("horizontalAlign",f.tc);this.yc.set("verticalAlign",f.cc);this.yc.bind(d.R,
this.CR,this)}if(!this.ja){this.ja=new o;this.pa(this.ja)}};t.prototype.PM=function(a){if(s(a).isString())return a;if(a&&a.YU)return a.YU};t.prototype.NM=function(a){if(a&&a.label)return a.label};t.prototype.da=function(){if(this.n("sourceProperties")||this.n("item")){for(;this.yr.length;)this.yr.pop().unwatch();var a=this.j("sourceProperties"),b=this.j("item");a&&b&&a.forEach(function(a){this.yr.push(c.watch(b,a,this.zP,this,p))}.bind(this))}if(this.n("sourceProperties")||this.n("item")||this.n("tooltipFunction")){b=
this.j("item");a=this.j("tooltipFunction")(b);this.set("toolTip",a)}if(this.n("sourceProperties")||this.n("item")||this.n("thumbnailUrlFunction")){b=this.j("item");(a=this.j("thumbnailUrlFunction")(b))?this.yc.get("url")!=a&&this.yc.S({url:a,visible:p,opacity:0.5}):this.yc.S({url:m,visible:y});this.o("thumbnailUrlFunction")}if(this.n("sourceProperties")||this.n("item")||this.n("labelFunction")){b=this.j("item");a=this.j("labelFunction")(b);this.ja.S({text:a,visible:a?p:y});this.o("labelFunction")}this.o("item");
this.o("sourceProperties");if(this.n("labelPosition")||this.n("listLayout")||this.n("thumbnailWidth")||this.n("thumbnailHeight")){var d=this,a=function(a,b){var c=d.j(a);return c!==m?c:b};switch(this.j("labelPosition")){case h.ha:case h.Ea:this.set("layout",j.Be);this.ja.set("width","100%");this.yc.S({height:a("thumbnailHeight","100%"),width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",n.mg)});break;default:this.set("layout",j.Ye);this.ja.set("width","100%");this.yc.S({height:a("thumbnailHeight",
"100%"),width:a("thumbnailWidth","100%"),scaleMode:a("thumbnailScaleMode",n.mg)})}switch(this.j("labelPosition")){case h.ha:case h.Ya:this.wi(this.ja,0);break;default:this.wi(this.ja,1)}this.o("labelPosition")}this.Ua(t.RK,t.kX,[this],p,p);this.Ua(t.TK,t.nX,[this.yc],p,p);this.Ua(t.SK,t.mX,[this.ja],p,p);l.prototype.da.call(this)};t.prototype.zP=function(){this.Js("item")};t.prototype.Hs=function(a){l.prototype.Hs.call(this,a)};t.prototype.CR=function(){this.yc.set("opacity",1)};t.kX={labelGap:"gap"};
t.RK=s(t.kX).keys();t.mX={labelFontFamily:"fontFamily",labelFontColor:"fontColor",labelFontSize:"fontSize",labelFontStyle:"fontStyle",labelFontWeight:"fontWeight",labelHorizontalAlign:"horizontalAlign",labelMaxWidth:"maxWidth",labelTextDecoration:"textDecoration",labelTextShadowColor:"textShadowColor",labelTextShadowHorizontalLength:"textShadowHorizontalLength",labelTextShadowVerticalLength:"textShadowVerticalLength",labelTextShadowBlurRadius:"textShadowBlurRadius",labelTextShadowOpacity:"textShadowOpacity"};
t.SK=s(t.mX).keys();t.nX={thumbnailMaxWidth:"maxWidth",thumbnailMaxHeight:"maxHeight",thumbnailBorderRadius:"borderRadius",thumbnailOpacity:"opacity",thumbnailBorderSize:"borderSize",thumbnailBorderColor:"borderColor",thumbnailShadow:"shadow",thumbnailShadowHorizontalLength:"shadowHorizontalLength",thumbnailShadowVerticalLength:"shadowVerticalLength",thumbnailShadowBlurRadius:"shadowBlurRadius",thumbnailShadowSpread:"shadowSpread",thumbnailShadowColor:"shadowColor",thumbnailShadowOpacity:"shadowOpacity"};
t.TK=s(t.nX).keys();return t});
define("bt","hp,bL,X,jq,bW,c,fa,bc,jc,fq,cL".split(","),function(a,b,c,d,f,g,k,j,h,n,e){var l=a.extend(h,function(){h.call(this);this.set("contentOpaque",p)});l.prototype.oa=function(){h.prototype.oa.call(this);this.f("layout",g.so);this.f("selectedIndex",-1);this.f("items",[]);this.f("overflow",k.gl);this.f("itemHorizontalAlign",c.tc);this.f("itemLabelFontFamily");this.f("itemLabelPosition",j.Xa);this.f("itemLabelFunction");this.f("itemLabelMaxWidth");this.f("itemLabelGap");this.f("itemLabelHorizontalAlign",
c.tc);this.f("itemSourceProperties");this.f("itemThumbnailBorderRadius");this.f("itemThumbnailScaleMode");this.f("itemThumbnailWidth");this.f("itemThumbnailHeight");this.f("itemThumbnailMaxWidth");this.f("itemThumbnailMaxHeight");this.f("itemThumbnailUrlFunction");this.f("itemTooltipFunction");this.f("itemVerticalAlign",c.cc);this.f("itemBackgroundOpacity");this.f("itemBackgroundColor");this.f("itemBackgroundColorRatios");this.f("itemBackgroundColorDirection");this.f("itemBorderRadius");this.f("itemBorderTopRadius");
this.f("itemBorderBottomRadius");this.f("itemBorderLeftRadius");this.f("itemBorderRightRadius");this.f("itemBorderTopLeftRadius");this.f("itemBorderTopRightRadius");this.f("itemBorderBottomLeftRadius");this.f("itemBorderBottomRightRadius");this.f("itemBorderSize");this.f("itemBorderLeftSize");this.f("itemBorderTopSize");this.f("itemBorderRightSize");this.f("itemBorderBottomSize");this.f("itemBorderColor");this.f("itemBorderLeftColor");this.f("itemBorderTopColor");this.f("itemBorderRightColor");this.f("itemBorderBottomColor");
this.f("itemLabelFontColor");this.f("itemLabelFontSize");this.f("itemLabelFontStyle");this.f("itemLabelFontWeight");this.f("itemLabelMaxWidth");this.f("itemLabelTextDecoration");this.f("itemLabelTextShadowColor");this.f("itemLabelTextShadowHorizontalLength");this.f("itemLabelTextShadowVerticalLength");this.f("itemLabelTextShadowBlurRadius");this.f("itemLabelTextShadowOpacity");this.f("itemOpacity");this.f("itemPaddingLeft");this.f("itemPaddingTop");this.f("itemPaddingRight");this.f("itemPaddingBottom");
this.f("itemShadow");this.f("itemThumbnailOpacity");this.f("itemThumbnailBorderSize");this.f("itemThumbnailBorderColor");this.f("itemThumbnailShadow");this.f("itemThumbnailShadowHorizontalLength");this.f("itemThumbnailShadowVerticalLength");this.f("itemThumbnailShadowBlurRadius");this.f("itemThumbnailShadowSpread");this.f("itemThumbnailShadowColor");this.f("itemThumbnailShadowOpacity");this.f("rollOverItemBackgroundOpacity");this.f("rollOverItemBackgroundColor");this.f("rollOverItemBackgroundColorRatios");
this.f("rollOverItemBackgroundColorDirection");this.f("rollOverItemBorderRadius");this.f("rollOverItemBorderTopRadius");this.f("rollOverItemBorderBottomRadius");this.f("rollOverItemBorderLeftRadius");this.f("rollOverItemBorderRightRadius");this.f("rollOverItemBorderTopLeftRadius");this.f("rollOverItemBorderTopRightRadius");this.f("rollOverItemBorderBottomLeftRadius");this.f("rollOverItemBorderBottomRightRadius");this.f("rollOverItemBorderSize");this.f("rollOverItemBorderLeftSize");this.f("rollOverItemBorderTopSize");
this.f("rollOverItemBorderRightSize");this.f("rollOverItemBorderBottomSize");this.f("rollOverItemBorderColor");this.f("rollOverItemBorderLeftColor");this.f("rollOverItemBorderTopColor");this.f("rollOverItemBorderRightColor");this.f("rollOverItemBorderBottomColor");this.f("rollOverItemLabelFontSize");this.f("rollOverItemLabelFontStyle");this.f("rollOverItemLabelFontWeight");this.f("rollOverItemLabelTextDecoration");this.f("rollOverItemLabelTextShadowColor");this.f("rollOverItemLabelTextShadowHorizontalLength");
this.f("rollOverItemLabelTextShadowVerticalLength");this.f("rollOverItemLabelTextShadowBlurRadius");this.f("rollOverItemLabelTextShadowOpacity");this.f("rollOverItemOpacity");this.f("rollOverItemPaddingLeft");this.f("rollOverItemPaddingTop");this.f("rollOverItemPaddingRight");this.f("rollOverItemPaddingBottom");this.f("rollOverItemShadow");this.f("rollOverItemThumbnailOpacity");this.f("rollOverItemThumbnailBorderSize");this.f("rollOverItemThumbnailBorderColor");this.f("rollOverItemThumbnailShadow");
this.f("rollOverItemThumbnailShadowHorizontalLength");this.f("rollOverItemThumbnailShadowVerticalLength");this.f("rollOverItemThumbnailShadowBlurRadius");this.f("rollOverItemThumbnailShadowSpread");this.f("rollOverItemThumbnailShadowColor");this.f("rollOverItemThumbnailShadowOpacity");this.f("selectedItemBackgroundOpacity");this.f("selectedItemBackgroundColor");this.f("selectedItemBackgroundColorRatios");this.f("selectedItemBackgroundColorDirection");this.f("selectedItemBorderRadius");this.f("selectedItemBorderTopRadius");
this.f("selectedItemBorderBottomRadius");this.f("selectedItemBorderLeftRadius");this.f("selectedItemBorderRightRadius");this.f("selectedItemBorderTopLeftRadius");this.f("selectedItemBorderTopRightRadius");this.f("selectedItemBorderBottomLeftRadius");this.f("selectedItemBorderBottomRightRadius");this.f("selectedItemBorderSize");this.f("selectedItemBorderLeftSize");this.f("selectedItemBorderTopSize");this.f("selectedItemBorderRightSize");this.f("selectedItemBorderBottomSize");this.f("selectedItemBorderColor");
this.f("selectedItemBorderLeftColor");this.f("selectedItemBorderTopColor");this.f("selectedItemBorderRightColor");this.f("selectedItemBorderBottomColor");this.f("selectedItemLabelFontSize");this.f("selectedItemLabelFontStyle");this.f("selectedItemLabelFontWeight");this.f("selectedItemLabelTextDecoration");this.f("selectedItemLabelTextShadowColor");this.f("selectedItemLabelTextShadowHorizontalLength");this.f("selectedItemLabelTextShadowVerticalLength");this.f("selectedItemLabelTextShadowBlurRadius");
this.f("selectedItemLabelTextShadowOpacity");this.f("selectedItemOpacity");this.f("selectedItemPaddingLeft");this.f("selectedItemPaddingTop");this.f("selectedItemPaddingRight");this.f("selectedItemPaddingBottom");this.f("selectedItemShadow");this.f("selectedItemThumbnailOpacity");this.f("selectedItemThumbnailBorderSize");this.f("selectedItemThumbnailBorderColor");this.f("selectedItemThumbnailShadow");this.f("selectedItemThumbnailShadowHorizontalLength");this.f("selectedItemThumbnailShadowVerticalLength");
this.f("selectedItemThumbnailShadowBlurRadius");this.f("selectedItemThumbnailShadowSpread");this.f("selectedItemThumbnailShadowColor");this.f("selectedItemThumbnailShadowOpacity")};l.prototype.By=function(a){this.jh=p;this.set("selectedIndex",this.KN(a.source))};l.prototype.KN=function(a){for(var b=this.Qa(),c=0;c<b.length;c++)if(b[c]==a)return c;return-1};l.prototype.da=function(){this.n("layout")&&this.j("layout")!=g.so&&this.set("layout",g.so);var a=y;if(this.n("items")){var a=p,c=this.j("items")||
[],e=this.Qa();if(e.length<c.length){for(var f=e.length;f<c.length;f++){e=new n;e.bind(d.W,this.By,this);this.Ua(l.ix,l.ir,[e],y,y);this.Ua(l.jx,l.jr,[e],y,y);this.pa(e)}e=this.Qa()}if(e.length>c.length){for(f=c.length;f<e.length;f++){var j=e[f];j.unbind(d.W,this.By,this);this.removeChild(j)}e=this.Qa()}for(f=0;f<c.length;f++)e[f].set("item",c[f]);this.o("items")}if(this.n("selectedIndex")||a){c=this.Qa();a=Math.min(c.length-1,Math.max(-1,this.j("selectedIndex")));this.set("selectedIndex",a);for(f=
0;f<c.length;f++)c[f].lC(f==a);this.o("selectedIndex");if(this.jh){this.jh=y;this.trigger(new b(d.U))}}this.Ua(l.ix,l.ir,this.Qa(),p,y);this.Ua(l.jx,l.jr,this.Qa(),p,p);h.prototype.da.call(this)};l.ir={layout:"listLayout",shadowHorizontalLength:"shadowHorizontalLength",shadowVerticalLength:"shadowVerticalLength",shadowBlurRadius:"shadowBlurRadius",shadowSpread:"shadowSpread",shadowOpacity:"shadowOpacity",shadowColor:"shadowColor"};l.jr={itemHorizontalAlign:"horizontalAlign",itemLabelFunction:"labelFunction",
itemLabelFontFamily:"labelFontFamily",itemLabelGap:"labelGap",itemLabelHorizontalAlign:"labelHorizontalAlign",itemLabelMaxWidth:"labelMaxWidth",itemLabelPosition:"labelPosition",itemSourceProperties:"sourceProperties",itemThumbnailBorderRadius:"thumbnailBorderRadius",itemThumbnailScaleMode:"thumbnailScaleMode",itemThumbnailHeight:"thumbnailHeight",itemThumbnailWidth:"thumbnailWidth",itemThumbnailMaxHeight:"thumbnailMaxHeight",itemThumbnailMaxWidth:"thumbnailMaxWidth",itemThumbnailUrlFunction:"thumbnailUrlFunction",
itemTooltipFunction:"tooltipFunction",itemVerticalAlign:"verticalAlign",itemBackgroundOpacity:"backgroundOpacity",itemBackgroundColor:"backgroundColor",itemBackgroundColorRatios:"backgroundColorRatios",itemBackgroundColorDirection:"backgroundColorDirection",itemBorderRadius:"borderRadius",itemBorderTopRadius:"borderTopRadius",itemBorderBottomRadius:"borderBottomRadius",itemBorderLeftRadius:"borderLeftRadius",itemBorderRightRadius:"borderRightRadius",itemBorderTopLeftRadius:"borderTopLeftRadius",itemBorderTopRightRadius:"borderTopRightRadius",
itemBorderBottomLeftRadius:"borderBottomLeftRadius",itemBorderBottomRightRadius:"borderBottomRightRadius",itemBorderSize:"borderSize",itemBorderLeftSize:"borderLeftSize",itemBorderTopSize:"borderTopSize",itemBorderRightSize:"borderRightSize",itemBorderBottomSize:"borderBottomSize",itemBorderColor:"borderColor",itemBorderLeftColor:"borderLeftColor",itemBorderTopColor:"borderTopColor",itemBorderRightColor:"borderRightColor",itemBorderBottomColor:"borderBottomColor",itemLabelFontColor:"labelFontColor",
itemLabelFontSize:"labelFontSize",itemLabelFontStyle:"labelFontStyle",itemLabelFontWeight:"labelFontWeight",itemLabelTextDecoration:"labelTextDecoration",itemLabelTextShadowColor:"labelTextShadowColor",itemLabelTextShadowHorizontalLength:"labelTextShadowHorizontalLength",itemLabelTextShadowVerticalLength:"labelTextShadowVerticalLength",itemLabelTextShadowBlurRadius:"labelTextShadowBlurRadius",itemLabelTextShadowOpacity:"labelTextShadowOpacity",itemOpacity:"opacity",itemPaddingLeft:"paddingLeft",itemPaddingTop:"paddingTop",
itemPaddingRight:"paddingRight",itemPaddingBottom:"paddingBottom",itemShadow:"shadow",itemThumbnailOpacity:"thumbnailOpacity",itemThumbnailBorderSize:"thumbnailBorderSize",itemThumbnailBorderColor:"thumbnailBorderColor",itemThumbnailShadow:"thumbnailShadow",itemThumbnailShadowHorizontalLength:"thumbnailShadowHorizontalLength",itemThumbnailShadowVerticalLength:"thumbnailShadowVerticalLength",itemThumbnailShadowBlurRadius:"thumbnailShadowBlurRadius",itemThumbnailShadowSpread:"thumbnailShadowSpread",
itemThumbnailShadowColor:"thumbnailShadowColor",itemThumbnailShadowOpacity:"thumbnailShadowOpacity",rollOverItemBackgroundOpacity:"rollOverBackgroundOpacity",rollOverItemBackgroundColor:"rollOverBackgroundColor",rollOverItemBackgroundColorRatios:"rollOverBackgroundColorRatios",rollOverItemBackgroundColorDirection:"rollOverBackgroundColorDirection",rollOverItemBorderRadius:"rollOverBorderRadius",rollOverItemBorderTopRadius:"rollOverBorderTopRadius",rollOverItemBorderBottomRadius:"rollOverBorderBottomRadius",
rollOverItemBorderLeftRadius:"rollOverBorderLeftRadius",rollOverItemBorderRightRadius:"rollOverBorderRightRadius",rollOverItemBorderTopLeftRadius:"rollOverBorderTopLeftRadius",rollOverItemBorderTopRightRadius:"rollOverBorderTopRightRadius",rollOverItemBorderBottomLeftRadius:"rollOverBorderBottomLeftRadius",rollOverItemBorderBottomRightRadius:"rollOverBorderBottomRightRadius",rollOverItemBorderSize:"rollOverBorderSize",rollOverItemBorderLeftSize:"rollOverBorderLeftSize",rollOverItemBorderTopSize:"rollOverBorderTopSize",
rollOverItemBorderRightSize:"rollOverBorderRightSize",rollOverItemBorderBottomSize:"rollOverBorderBottomSize",rollOverItemBorderColor:"rollOverBorderColor",rollOverItemBorderLeftColor:"rollOverBorderLeftColor",rollOverItemBorderTopColor:"rollOverBorderTopColor",rollOverItemBorderRightColor:"rollOverBorderRightColor",rollOverItemBorderBottomColor:"rollOverBorderBottomColor",rollOverItemLabelFontColor:"rollOverLabelFontColor",rollOverItemLabelFontSize:"rollOverLabelFontSize",rollOverItemLabelFontStyle:"rollOverLabelFontStyle",
rollOverItemLabelFontWeight:"rollOverLabelFontWeight",rollOverItemLabelTextDecoration:"rollOverLabelTextDecoration",rollOverItemLabelTextShadowColor:"rollOverLabelTextShadowColor",rollOverItemLabelTextShadowHorizontalLength:"rollOverLabelTextShadowHorizontalLength",rollOverItemLabelTextShadowVerticalLength:"rollOverLabelTextShadowVerticalLength",rollOverItemLabelTextShadowBlurRadius:"rollOverLabelTextShadowBlurRadius",rollOverItemLabelTextShadowOpacity:"rollOverLabelTextShadowOpacity",rollOverItemOpacity:"rollOverOpacity",
rollOverItemPaddingLeft:"rollOverPaddingLeft",rollOverItemPaddingTop:"rollOverPaddingTop",rollOverItemPaddingRight:"rollOverPaddingRight",rollOverItemPaddingBottom:"rollOverPaddingBottom",rollOverItemShadow:"rollOverShadow",rollOverItemThumbnailOpacity:"rollOverThumbnailOpacity",rollOverItemThumbnailBorderSize:"rollOverThumbnailBorderSize",rollOverItemThumbnailBorderColor:"rollOverThumbnailBorderColor",rollOverItemThumbnailShadow:"rollOverThumbnailShadow",rollOverItemThumbnailShadowHorizontalLength:"rollOverThumbnailShadowHorizontalLength",
rollOverItemThumbnailShadowVerticalLength:"rollOverThumbnailShadowVerticalLength",rollOverItemThumbnailShadowBlurRadius:"rollOverThumbnailShadowBlurRadius",rollOverItemThumbnailShadowSpread:"rollOverThumbnailShadowSpread",rollOverItemThumbnailShadowColor:"rollOverThumbnailShadowColor",rollOverItemThumbnailShadowOpacity:"rollOverThumbnailShadowOpacity",selectedItemBackgroundOpacity:"selectedBackgroundOpacity",selectedItemBackgroundColor:"selectedBackgroundColor",selectedItemBackgroundColorRatios:"selectedBackgroundColorRatios",
selectedItemBackgroundColorDirection:"selectedBackgroundColorDirection",selectedItemBorderRadius:"selectedBorderRadius",selectedItemBorderTopRadius:"selectedBorderTopRadius",selectedItemBorderBottomRadius:"selectedBorderBottomRadius",selectedItemBorderLeftRadius:"selectedBorderLeftRadius",selectedItemBorderRightRadius:"selectedBorderRightRadius",selectedItemBorderTopLeftRadius:"selectedBorderTopLeftRadius",selectedItemBorderTopRightRadius:"selectedBorderTopRightRadius",selectedItemBorderBottomLeftRadius:"selectedBorderBottomLeftRadius",
selectedItemBorderBottomRightRadius:"selectedBorderBottomRightRadius",selectedItemBorderSize:"selectedBorderSize",selectedItemBorderLeftSize:"selectedBorderLeftSize",selectedItemBorderTopSize:"selectedBorderTopSize",selectedItemBorderRightSize:"selectedBorderRightSize",selectedItemBorderBottomSize:"selectedBorderBottomSize",selectedItemBorderColor:"selectedBorderColor",selectedItemBorderLeftColor:"selectedBorderLeftColor",selectedItemBorderTopColor:"selectedBorderTopColor",selectedItemBorderRightColor:"selectedBorderRightColor",
selectedItemBorderBottomColor:"selectedBorderBottomColor",selectedItemLabelFontColor:"selectedLabelFontColor",selectedItemLabelFontSize:"selectedLabelFontSize",selectedItemLabelFontStyle:"selectedLabelFontStyle",selectedItemLabelFontWeight:"selectedLabelFontWeight",selectedItemLabelTextDecoration:"selectedLabelTextDecoration",selectedItemLabelTextShadowColor:"selectedLabelTextShadowColor",selectedItemLabelTextShadowHorizontalLength:"selectedLabelTextShadowHorizontalLength",selectedItemLabelTextShadowVerticalLength:"selectedLabelTextShadowVerticalLength",
selectedItemLabelTextShadowBlurRadius:"selectedLabelTextShadowBlurRadius",selectedItemLabelTextShadowOpacity:"selectedLabelTextShadowOpacity",selectedItemOpacity:"selectedOpacity",selectedItemPaddingLeft:"selectedPaddingLeft",selectedItemPaddingTop:"selectedPaddingTop",selectedItemPaddingRight:"selectedPaddingRight",selectedItemPaddingBottom:"selectedPaddingBottom",selectedItemShadow:"selectedShadow",selectedItemThumbnailOpacity:"selectedThumbnailOpacity",selectedItemThumbnailBorderSize:"selectedThumbnailBorderSize",
selectedItemThumbnailBorderColor:"selectedThumbnailBorderColor",selectedItemThumbnailShadow:"selectedThumbnailShadow",selectedItemThumbnailShadowHorizontalLength:"selectedThumbnailShadowHorizontalLength",selectedItemThumbnailShadowVerticalLength:"selectedThumbnailShadowVerticalLength",selectedItemThumbnailShadowBlurRadius:"selectedThumbnailShadowBlurRadius",selectedItemThumbnailShadowSpread:"selectedThumbnailShadowSpread",selectedItemThumbnailShadowColor:"selectedThumbnailShadowColor",selectedItemThumbnailShadowOpacity:"selectedThumbnailShadowOpacity",
toolTipBackgroundColor:"toolTipBackgroundColor",toolTipBackgroundOpacity:"toolTipBackgroundOpacity",toolTipBorderRadius:"toolTipBorderRadius",toolTipBorderColor:"toolTipBorderColor",toolTipBorderSize:"toolTipBorderSize",toolTipDisplayTime:"toolTipDisplayTime",toolTipFontFamily:"toolTipFontFamily",toolTipFontSize:"toolTipFontSize",toolTipFontColor:"toolTipFontColor",toolTipFontWeight:"toolTipFontWeight",toolTipFontStyle:"toolTipFontStyle",toolTipPaddingBottom:"toolTipPaddingBottom",toolTipPaddingLeft:"toolTipPaddingLeft",
toolTipPaddingTop:"toolTipPaddingTop",toolTipPaddingRight:"toolTipPaddingRight",toolTipShadowBlurRadius:"toolTipShadowBlurRadius",toolTipShadowColor:"toolTipShadowColor",toolTipShadowHorizontalLength:"toolTipShadowHorizontalLength",toolTipShadowOpacity:"toolTipShadowOpacity",toolTipShadowSpread:"toolTipShadowSpread",toolTipShadowVerticalLength:"toolTipShadowVerticalLength",toolTipOpacity:"toolTipOpacity",toolTipTextShadowBlurRadius:"toolTipTextShadowBlurRadius",toolTipTextShadowColor:"toolTipTextShadowColor",
toolTipTextShadowHorizontalLength:"toolTipTextShadowHorizontalLength",toolTipTextShadowOpacity:"toolTipTextShadowOpacity",toolTipTextShadowVerticalLength:"toolTipTextShadowVerticalLength"};l.ix=e(l.ir).keys();l.jx=e(l.jr).keys();return l});
define("gC","hp,jq,bt,dl,il,cK,br,cL".split(","),function(a,b,c,d,f,g,k){a=a.extend(c,function(){c.call(this);this.zb=q;this.set("itemMode","normal");this.dk=y;this.Cx=new f(this,"buttonScrollDown",g.Bc);this.Cx.bind(b.W,this.q8,this);this.Dx=new f(this,"buttonScrollLeft",g.Bc);this.Dx.bind(b.W,this.scrollLeft,this);this.Ex=new f(this,"buttonScrollRight",g.Bc);this.Ex.bind(b.W,this.r8,this);this.Fx=new f(this,"buttonScrollUp",g.Bc);this.Fx.bind(b.W,this.s8,this);this.bind(b.U,this.Wga,this)});d.A("ThumbnailGrid",
a).C("UIComponent").O({buttonScrollDown:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonScrollUp:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",contentOpaque:"bool",gap:"number",hideScrollButtons:"bool",horizontalAlign:"enum[center, left, right]",itemMode:"enum[normal, thumbnail-only, label-only]",itemBackgroundColor:"or[array[color], color]",itemBackgroundColorDirection:"enum[horizontal, vertical]",itemBackgroundColorRatios:"array[number]",itemBackgroundOpacity:"number",
itemBorderBottomColor:"color",itemBorderBottomLeftRadius:"number",itemBorderBottomRadius:"number",itemBorderBottomRightRadius:"number",itemBorderBottomSize:"number",itemBorderColor:"color",itemBorderLeftColor:"color",itemBorderLeftRadius:"number",itemBorderLeftSize:"number",itemBorderRadius:"number",itemBorderRightColor:"color",itemBorderRightRadius:"number",itemBorderRightSize:"number",itemBorderSize:"number",itemBorderTopColor:"color",itemBorderTopLeftRadius:"number",itemBorderTopRadius:"number",
itemBorderTopRightRadius:"number",itemBorderTopSize:"number",itemHeight:"or[number, percent]",itemHorizontalAlign:"enum[center, left, right]",itemLabelFontColor:"color",itemLabelFontFamily:"string",itemLabelFontSize:"or[number, size]",itemLabelFontStyle:"enum[italic, normal]",itemLabelFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",itemLabelGap:"number",itemLabelHorizontalAlign:"enum[center, left, right]",itemLabelMaxWidth:"number",itemLabelPosition:"enum[left, top, right, bottom]",
itemLabelTextDecoration:"enum[underline, overline, line-through, none]",itemLabelTextShadowBlurRadius:"number",itemLabelTextShadowColor:"color",itemLabelTextShadowHorizontalLength:"number",itemLabelTextShadowOpacity:"number",itemLabelTextShadowVerticalLength:"number",itemMaxHeight:"number",itemMaxWidth:"number",itemMinHeight:"number",itemMinWidth:"number",itemOpacity:"number",itemPaddingBottom:"number",itemPaddingLeft:"number",itemPaddingTop:"number",itemPaddingRight:"number",itemShadow:"bool",itemThumbnailBorderColor:"color",
itemThumbnailBorderRadius:"number",itemThumbnailBorderSize:"number",itemThumbnailScaleMode:"enum[none, fill, fit_inside, fit_outside, fit_to_width, fit_to_height]",itemThumbnailHeight:"number",itemThumbnailWidth:"number",itemThumbnailMaxHeight:"number",itemThumbnailMaxWidth:"number",itemThumbnailOpacity:"number",itemThumbnailShadow:"bool",itemThumbnailShadowBlurRadius:"number",itemThumbnailShadowColor:"color",itemThumbnailShadowHorizontalLength:"number",itemThumbnailShadowOpacity:"number",itemThumbnailShadowSpread:"number",
itemThumbnailShadowVerticalLength:"number",itemWidth:"or[number, percent]",itemVerticalAlign:"enum[bottom, middle, top]",overflow:"enum[scroll, hidden, visible]",playList:"PlayList",rollOverItemBackgroundColor:"or[array[color], color]",rollOverItemBackgroundColorDirection:"enum[horizontal, vertical]",rollOverItemBackgroundColorRatios:"array[number]",rollOverItemBackgroundOpacity:"number",rollOverItemBorderBottomColor:"color",rollOverItemBorderBottomLeftRadius:"number",rollOverItemBorderBottomRadius:"number",
rollOverItemBorderBottomRightRadius:"number",rollOverItemBorderBottomSize:"number",rollOverItemBorderColor:"color",rollOverItemBorderLeftColor:"color",rollOverItemBorderLeftRadius:"number",rollOverItemBorderLeftSize:"number",rollOverItemBorderRadius:"number",rollOverItemBorderRightColor:"color",rollOverItemBorderRightRadius:"number",rollOverItemBorderRightSize:"number",rollOverItemBorderSize:"number",rollOverItemBorderTopColor:"color",rollOverItemBorderTopLeftRadius:"number",rollOverItemBorderTopRadius:"number",
rollOverItemBorderTopRightRadius:"number",rollOverItemBorderTopSize:"number",rollOverItemLabelFontColor:"color",rollOverItemLabelFontSize:"or[number, size]",rollOverItemLabelFontStyle:"enum[italic, normal]",rollOverItemLabelFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",rollOverItemLabelTextDecoration:"enum[underline, overline, line-through, none]",rollOverItemLabelTextShadowBlurRadius:"number",rollOverItemLabelTextShadowColor:"color",rollOverItemLabelTextShadowHorizontalLength:"number",
rollOverItemLabelTextShadowOpacity:"number",rollOverItemLabelTextShadowVerticalLength:"number",rollOverItemOpacity:"number",rollOverItemPaddingBottom:"number",rollOverItemPaddingLeft:"number",rollOverItemPaddingRight:"number",rollOverItemPaddingTop:"number",rollOverItemShadow:"bool",rollOverItemThumbnailBorderColor:"color",rollOverItemThumbnailBorderSize:"number",rollOverItemThumbnailOpacity:"number",rollOverItemThumbnailShadow:"bool",rollOverItemThumbnailShadowBlurRadius:"number",rollOverItemThumbnailShadowColor:"color",
rollOverItemThumbnailShadowHorizontalLength:"number",rollOverItemThumbnailShadowOpacity:"number",rollOverItemThumbnailShadowSpread:"number",rollOverItemThumbnailShadowVerticalLength:"number",scrollBarColor:"color",scrollBarWidth:"number",scrollBarMargin:"number",scrollBarHorizontalMargin:"number",scrollBarVerticalMargin:"number",scrollBarOpacity:"number",scrollBarVisible:"enum[rollOver, always]",selectedItemBackgroundColor:"or[array[color], color]",selectedItemBackgroundColorDirection:"enum[horizontal, vertical]",
selectedItemBackgroundColorRatios:"array[number]",selectedItemBackgroundOpacity:"number",selectedItemBorderBottomColor:"color",selectedItemBorderBottomLeftRadius:"number",selectedItemBorderBottomRadius:"number",selectedItemBorderBottomRightRadius:"number",selectedItemBorderBottomSize:"number",selectedItemBorderColor:"color",selectedItemBorderLeftColor:"color",selectedItemBorderLeftRadius:"number",selectedItemBorderLeftSize:"number",selectedItemBorderRadius:"number",selectedItemBorderRightRadius:"number",
selectedItemBorderRightSize:"number",selectedItemBorderSize:"number",selectedItemBorderTopLeftRadius:"number",selectedItemBorderTopRadius:"number",selectedItemBorderTopRightRadius:"number",selectedItemBorderTopSize:"number",selectedItemBorderTopColor:"color",selectedItemBorderRightColor:"color",selectedItemLabelFontColor:"color",selectedItemLabelFontSize:"or[number, size]",selectedItemLabelFontStyle:"enum[italic, normal]",selectedItemLabelFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",
selectedItemLabelTextDecoration:"enum[underline, overline, line-through, none]",selectedItemLabelTextShadowBlurRadius:"number",selectedItemLabelTextShadowColor:"color",selectedItemLabelTextShadowHorizontalLength:"number",selectedItemLabelTextShadowOpacity:"number",selectedItemLabelTextShadowVerticalLength:"number",selectedItemOpacity:"number",selectedItemPaddingBottom:"number",selectedItemPaddingLeft:"number",selectedItemPaddingTop:"number",selectedItemPaddingRight:"number",selectedItemShadow:"bool",
selectedItemThumbnailBorderSize:"number",selectedItemThumbnailBorderColor:"color",selectedItemThumbnailOpacity:"number",selectedItemThumbnailShadow:"bool",selectedItemThumbnailShadowBlurRadius:"number",selectedItemThumbnailShadowColor:"color",selectedItemThumbnailShadowHorizontalLength:"number",selectedItemThumbnailShadowOpacity:"number",selectedItemThumbnailShadowSpread:"number",selectedItemThumbnailShadowVerticalLength:"number",verticalAlign:"enum[bottom, middle, top]"}).mo(["itemLabelFontSize",
"rollOverItemLabelFontSize","selectedItemLabelFontSize"]).Yb([b.U]);a.prototype.wh=function(){c.prototype.wh.call(this);this.Us()};a.prototype.Pn=function(){c.prototype.Pn.call(this);this.Us()};a.prototype.Us=function(){this.Cx.set("visible",!this.dk||this.CD());this.Fx.set("visible",!this.dk||this.FD());this.Dx.set("visible",!this.dk||this.DD());this.Ex.set("visible",!this.dk||this.ED())};a.prototype.set=function(a,b){if(a=="itemMode")switch(b){case "thumbnail-only":this.set("itemLabelFunction",
this.bn);this.set("itemThumbnailUrlFunction",this.Dy);this.set("itemTooltipFunction",this.as);this.set("itemSourceProperties",["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"]);break;case "label-only":this.set("itemLabelFunction",this.as);this.set("itemThumbnailUrlFunction",this.bn);this.set("itemTooltipFunction",this.bn);this.set("itemSourceProperties",["label","media.label"]);break;default:this.set("itemLabelFunction",this.as);this.set("itemThumbnailUrlFunction",this.Dy);
this.set("itemTooltipFunction",this.bn);this.set("itemSourceProperties",["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"])}else if(a=="playList"){this.zb&&this.zb.unbind("change",this.vn,this);if(this.zb=b){this.set("items",this.zb.get("items"));this.set("selectedIndex",this.zb.get("selectedIndex"));this.zb.bind("change",this.vn,this,p)}else this.set("items",[])}else if(a=="hideScrollButtons"){this.dk=b;this.Us()}else c.prototype.set.call(this,a,b)};a.prototype.get=function(a,
b){switch(a){case "playList":return this.zb;default:return c.prototype.get.call(this,a,b)}};a.prototype.vn=function(){this.set("items",this.zb.get("items"));this.set("selectedIndex",this.zb.get("selectedIndex"))};a.prototype.Wga=function(){this.zb&&this.zb.set("selectedIndex",this.get("selectedIndex"))};a.prototype.bn=D();a.prototype.as=function(a){return a.get("label")||a.get("media").get("label")};a.prototype.Dy=function(a){var a=a.get("media"),b=a.get("thumbnailUrl");a.get("flipImageHorizontally")&&
(b=k.T5(b));return b};return a});
define("gQ","require,hp,v,jq,X,bW,N,c,bc,hO,et,jc,ib,fP,cL".split(","),function(a){var b=a("hp"),c=a("v"),d=a("jq"),f=a("X"),g=a("bW"),k=a("N"),j=a("c"),h=a("bc"),n=a("hO"),e=a("et"),l=a("jc"),r=a("ib"),o=a("fP"),s=a("cL"),t=b.extend(l,function(){l.call(this);this.ja=this.yc=q;this.yr=[];this.set("autoRolledOver",p);this.set("childrenInteractionEnabled",y);this.set("contentOpaque",p);this.set("creationPolicy",g.Uw);this.set("cursor",k.xd)});t.prototype.oa=function(){l.prototype.oa.call(this);this.f("listLayout");
this.f("overflow","hidden");this.f("item");this.f("thumbnailUrlFunction",this.PM);this.f("sourceProperties");this.f("labelFunction",this.NM);this.f("labelFontFamily");this.f("labelFontColor");this.f("labelFontSize");this.f("labelFontStyle");this.f("labelFontWeight");this.f("labelGap");this.f("labelHorizontalAlign");this.f("labelPosition");this.f("labelTextDecoration");this.f("labelTextShadowColor");this.f("labelTextShadowHorizontalLength");this.f("labelTextShadowVerticalLength");this.f("labelTextShadowBlurRadius");
this.f("labelTextShadowOpacity");this.f("thumbnailBorderRadius");this.f("thumbnailOpacity");this.f("thumbnailBorderSize");this.f("thumbnailBorderColor");this.f("thumbnailWidth");this.f("thumbnailHeight");this.f("thumbnailMaxWidth");this.f("thumbnailMaxHeight");this.f("thumbnailShadow");this.f("thumbnailShadowHorizontalLength");this.f("thumbnailShadowVerticalLength");this.f("thumbnailShadowBlurRadius");this.f("thumbnailShadowSpread");this.f("thumbnailShadowColor");this.f("thumbnailShadowOpacity");
this.h("rollOverBackgroundOpacity",e.q,"backgroundOpacity");this.h("rollOverBackgroundColor",e.q,"backgroundColor");this.h("rollOverBackgroundColorRatios",e.q,"backgroundColorRatios");this.h("rollOverBackgroundColorDirection",e.q,"backgroundColorDirection");this.h("rollOverBorderRadius",e.q,"borderRadius");this.h("rollOverBorderTopRadius",e.q,"borderTopRadius");this.h("rollOverBorderBottomRadius",e.q,"borderBottomRadius");this.h("rollOverBorderLeftRadius",e.q,"borderLeftRadius");this.h("rollOverBorderRightRadius",
e.q,"borderRightRadius");this.h("rollOverBorderTopLeftRadius",e.q,"borderTopLeftRadius");this.h("rollOverBorderTopRightRadius",e.q,"borderTopRightRadius");this.h("rollOverBorderBottomLeftRadius",e.q,"borderBottomLeftRadius");this.h("rollOverBorderBottomRightRadius",e.q,"borderBottomRightRadius");this.h("rollOverBorderSize",e.q,"borderSize");this.h("rollOverBorderLeftSize",e.q,"borderLeftSize");this.h("rollOverBorderTopSize",e.q,"borderTopSize");this.h("rollOverBorderRightSize",e.q,"borderRightSize");
this.h("rollOverBorderBottomSize",e.q,"borderBottomSize");this.h("rollOverBorderColor",e.q,"borderColor");this.h("rollOverBorderLeftColor",e.q,"borderLeftColor");this.h("rollOverBorderTopColor",e.q,"borderTopColor");this.h("rollOverBorderRightColor",e.q,"borderRightColor");this.h("rollOverBorderBottomColor",e.q,"borderBottomColor");this.h("rollOverLabelFontColor",e.q,"labelFontColor");this.h("rollOverLabelFontSize",e.q,"labelFontSize");this.h("rollOverLabelFontStyle",e.q,"labelFontStyle");this.h("rollOverLabelFontWeight",
e.q,"labelFontWeight");this.h("rollOverLabelTextDecoration",e.q,"labelTextDecoration");this.h("rollOverLabelTextShadowColor",e.q,"labelTextShadowColor");this.h("rollOverLabelTextShadowHorizontalLength",e.q,"labelTextShadowHorizontalLength");this.h("rollOverLabelTextShadowVerticalLength",e.q,"labelTextShadowVerticalLength");this.h("rollOverLabelTextShadowBlurRadius",e.q,"labelTextShadowBlurRadius");this.h("rollOverLabelTextShadowOpacity",e.q,"labelTextShadowOpacity");this.h("rollOverOpacity",e.q,"opacity");
this.h("rollOverPaddingLeft",e.q,"paddingLeft");this.h("rollOverPaddingTop",e.q,"paddingTop");this.h("rollOverPaddingRight",e.q,"paddingRight");this.h("rollOverPaddingBottom",e.q,"paddingBottom");this.h("rollOverShadow",e.q,"shadow");this.h("rollOverThumbnailOpacity",e.q,"thumbnailOpacity");this.h("rollOverThumbnailBorderSize",e.q,"thumbnailBorderSize");this.h("rollOverThumbnailBorderColor",e.q,"thumbnailBorderColor");this.h("rollOverThumbnailShadow",e.q,"thumbnailShadow");this.h("rollOverThumbnailShadowHorizontalLength",
e.q,"thumbnailShadowHorizontalLength");this.h("rollOverThumbnailShadowVerticalLength",e.q,"thumbnailShadowVerticalLength");this.h("rollOverThumbnailShadowBlurRadius",e.q,"thumbnailShadowBlurRadius");this.h("rollOverThumbnailShadowSpread",e.q,"thumbnailShadowSpread");this.h("rollOverThumbnailShadowColor",e.q,"thumbnailShadowColor");this.h("rollOverThumbnailShadowOpacity",e.q,"thumbnailShadowOpacity");this.h("selectedBackgroundOpacity",e.F,"backgroundOpacity");this.h("selectedBackgroundColor",e.F,"backgroundColor");
this.h("selectedBackgroundColorRatios",e.F,"backgroundColorRatios");this.h("selectedBackgroundColorDirection",e.F,"backgroundColorDirection");this.h("selectedBorderRadius",e.F,"borderRadius");this.h("selectedBorderTopRadius",e.F,"borderTopRadius");this.h("selectedBorderBottomRadius",e.F,"borderBottomRadius");this.h("selectedBorderLeftRadius",e.F,"borderLeftRadius");this.h("selectedBorderRightRadius",e.F,"borderRightRadius");this.h("selectedBorderTopLeftRadius",e.F,"borderTopLeftRadius");this.h("selectedBorderTopRightRadius",
e.F,"borderTopRightRadius");this.h("selectedBorderBottomLeftRadius",e.F,"borderBottomLeftRadius");this.h("selectedBorderBottomRightRadius",e.F,"borderBottomRightRadius");this.h("selectedBorderSize",e.F,"borderSize");this.h("selectedBorderLeftSize",e.F,"borderLeftSize");this.h("selectedBorderTopSize",e.F,"borderTopSize");this.h("selectedBorderRightSize",e.F,"borderRightSize");this.h("selectedBorderBottomSize",e.F,"borderBottomSize");this.h("selectedBorderColor",e.F,"borderColor");this.h("selectedBorderLeftColor",
e.F,"borderLeftColor");this.h("selectedBorderTopColor",e.F,"borderTopColor");this.h("selectedBorderRightColor",e.F,"borderRightColor");this.h("selectedBorderBottomColor",e.F,"borderBottomColor");this.h("selectedLabelFontColor",e.F,"labelFontColor");this.h("selectedLabelFontSize",e.F,"labelFontSize");this.h("selectedLabelFontStyle",e.F,"labelFontStyle");this.h("selectedLabelFontWeight",e.F,"labelFontWeight");this.h("selectedLabelTextDecoration",e.F,"labelTextDecoration");this.h("selectedLabelTextShadowColor",
e.F,"labelTextShadowColor");this.h("selectedLabelTextShadowHorizontalLength",e.F,"labelTextShadowHorizontalLength");this.h("selectedLabelTextShadowVerticalLength",e.F,"labelTextShadowVerticalLength");this.h("selectedLabelTextShadowBlurRadius",e.F,"labelTextShadowBlurRadius");this.h("selectedLabelTextShadowOpacity",e.F,"labelTextShadowOpacity");this.h("selectedOpacity",e.F,"opacity");this.h("selectedPaddingLeft",e.F,"paddingLeft");this.h("selectedPaddingTop",e.F,"paddingTop");this.h("selectedPaddingRight",
e.F,"paddingRight");this.h("selectedPaddingBottom",e.F,"paddingBottom");this.h("selectedShadow",e.F,"shadow");this.h("selectedThumbnailOpacity",e.F,"thumbnailOpacity");this.h("selectedThumbnailBorderSize",e.F,"thumbnailBorderSize");this.h("selectedThumbnailBorderColor",e.F,"thumbnailBorderColor");this.h("selectedThumbnailShadow",e.F,"thumbnailShadow");this.h("selectedThumbnailShadowHorizontalLength",e.F,"thumbnailShadowHorizontalLength");this.h("selectedThumbnailShadowVerticalLength",e.F,"thumbnailShadowVerticalLength");
this.h("selectedThumbnailShadowBlurRadius",e.F,"thumbnailShadowBlurRadius");this.h("selectedThumbnailShadowSpread",e.F,"thumbnailShadowSpread");this.h("selectedThumbnailShadowColor",e.F,"thumbnailShadowColor");this.h("selectedThumbnailShadowOpacity",e.F,"thumbnailShadowOpacity")};t.prototype.lC=function(a){this.Wz(a)};t.prototype.Ka=function(){l.prototype.Ka.call(this);if(!this.yc){this.yc=new r;this.pa(this.yc);this.yc.set("horizontalAlign",f.tc);this.yc.set("verticalAlign",f.cc);this.yc.bind(d.R,
this.CR,this)}if(!this.ja){this.ja=new o;this.pa(this.ja)}};t.prototype.PM=function(a){if(s(a).isString())return a;if(a&&a.YU)return a.YU};t.prototype.NM=function(a){if(a&&a.label)return a.label};t.prototype.da=function(){if(this.n("sourceProperties")||this.n("item")){for(;this.yr.length;)this.yr.pop().unwatch();var a=this.j("sourceProperties"),b=this.j("item");a&&b&&a.forEach(function(a){this.yr.push(c.watch(b,a,this.zP,this,p))}.bind(this))}if(this.n("sourceProperties")||this.n("item")||this.n("tooltipFunction")){b=
this.j("item");a=this.j("tooltipFunction")(b);this.set("toolTip",a)}if(this.n("sourceProperties")||this.n("item")||this.n("thumbnailUrlFunction")){b=this.j("item");(a=this.j("thumbnailUrlFunction")(b))?this.yc.get("url")!=a&&this.yc.S({url:a,visible:p,opacity:0.5}):this.yc.S({url:m,visible:y});this.o("thumbnailUrlFunction")}if(this.n("sourceProperties")||this.n("item")||this.n("labelFunction")){b=this.j("item");a=this.j("labelFunction")(b);this.ja.S({text:a,visible:a?p:y});this.o("labelFunction")}this.o("sourceProperties");
this.o("item");if(this.n("listLayout"))switch(this.j("listLayout")){case j.Ye:this.S({width:"100%",height:m});break;default:this.S({height:"100%",width:m})}if(this.n("labelPosition")||this.n("listLayout")||this.n("thumbnailWidth")||this.n("thumbnailHeight")){var d=this,a=function(a,b){var c=d.j(a);c===m&&(c=b);return c};switch(this.j("labelPosition")){case h.ha:case h.Ea:this.set("layout",j.Be);this.ja.set("width","100%");switch(this.j("listLayout")){case j.Ye:this.yc.S({height:a("thumbnailHeight"),
width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",n.mg)});break;default:this.yc.S({height:a("thumbnailHeight","100%"),width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",n.mg)})}break;default:this.set("layout",j.Ye);this.ja.set("width",m);switch(this.j("listLayout")){case j.Ye:this.yc.S({height:a("thumbnailHeight"),width:a("thumbnailWidth","100%"),scaleMode:a("thumbnailScaleMode",n.Mj)});break;default:this.yc.S({height:a("thumbnailHeight","100%"),width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",
n.mg)})}}switch(this.j("labelPosition")){case h.ha:case h.Ya:this.wi(this.ja,0);break;default:this.wi(this.ja,1)}this.o("labelPosition")}this.o("listLayout");this.Ua(t.RK,t.Pt,[this],p,p);this.Ua(t.TK,t.Pt,[this.yc],p,p);this.Ua(t.SK,t.Pt,[this.ja],p,p);l.prototype.da.call(this)};t.prototype.zP=function(){this.Js("item")};t.prototype.Hs=function(a){l.prototype.Hs.call(this,a)};t.prototype.CR=function(){this.yc.set("opacity",1)};t.RK=["labelGap"];t.TK=["thumbnailBorderColor","thumbnailBorderRadius",
"thumbnailBorderSize","thumbnailMaxWidth","thumbnailMaxHeight","thumbnailOpacity","thumbnailShadow","thumbnailShadowHorizontalLength","thumbnailShadowVerticalLength","thumbnailShadowBlurRadius","thumbnailShadowSpread","thumbnailShadowColor","thumbnailShadowOpacity"];t.SK=["labelFontFamily","labelFontColor","labelFontSize","labelFontStyle","labelFontWeight","labelHorizontalAlign","labelTextDecoration","labelTextShadowColor","labelTextShadowHorizontalLength","labelTextShadowVerticalLength","labelTextShadowBlurRadius",
"labelTextShadowOpacity"];t.Pt={labelFontFamily:"fontFamily",labelFontColor:"fontColor",labelFontSize:"fontSize",labelFontStyle:"fontStyle",labelFontWeight:"fontWeight",labelGap:"gap",labelHorizontalAlign:"horizontalAlign",labelTextDecoration:"textDecoration",labelTextShadowColor:"textShadowColor",labelTextShadowHorizontalLength:"textShadowHorizontalLength",labelTextShadowVerticalLength:"textShadowVerticalLength",labelTextShadowBlurRadius:"textShadowBlurRadius",labelTextShadowOpacity:"textShadowOpacity",
thumbnailMaxWidth:"maxWidth",thumbnailMaxHeight:"maxHeight",thumbnailBorderRadius:"borderRadius",thumbnailOpacity:"opacity",thumbnailBorderSize:"borderSize",thumbnailBorderColor:"borderColor",thumbnailShadow:"shadow",thumbnailShadowHorizontalLength:"shadowHorizontalLength",thumbnailShadowVerticalLength:"shadowVerticalLength",thumbnailShadowBlurRadius:"shadowBlurRadius",thumbnailShadowSpread:"shadowSpread",thumbnailShadowColor:"shadowColor",thumbnailShadowOpacity:"shadowOpacity"};return t});
define("A","require,hp,bL,X,jq,c,fa,bc,jc,gQ,cL".split(","),function(a){var b=a("hp"),c=a("bL"),d=a("X"),f=a("jq"),g=a("c"),k=a("fa"),j=a("bc"),h=a("jc"),n=a("gQ"),a=a("cL"),e=b.extend(h,function(){h.call(this);this.set("contentOpaque",p);this.bind(f.ba("selectedIndex"),this.zia,this);this.bind(f.ub,this.zka,this)});e.prototype.oa=function(){h.prototype.oa.call(this);this.f("layout",g.Be);this.f("selectedIndex",-1);this.f("items",[]);this.f("overflow",k.gl);this.f("itemHorizontalAlign",d.tc);this.f("itemLabelFontFamily");
this.f("itemLabelPosition",j.Xa);this.f("itemLabelFunction");this.f("itemLabelGap");this.f("itemLabelHorizontalAlign",d.tc);this.f("itemThumbnailBorderRadius");this.f("itemThumbnailScaleMode");this.f("itemThumbnailWidth");this.f("itemThumbnailHeight");this.f("itemThumbnailMaxWidth");this.f("itemThumbnailMaxHeight");this.f("itemThumbnailUrlFunction");this.f("itemTooltipFunction");this.f("itemSourceProperties");this.f("itemVerticalAlign",d.cc);this.f("itemBackgroundOpacity");this.f("itemBackgroundColor");
this.f("itemBackgroundColorRatios");this.f("itemBackgroundColorDirection");this.f("itemBorderRadius");this.f("itemBorderTopRadius");this.f("itemBorderBottomRadius");this.f("itemBorderLeftRadius");this.f("itemBorderRightRadius");this.f("itemBorderTopLeftRadius");this.f("itemBorderTopRightRadius");this.f("itemBorderBottomLeftRadius");this.f("itemBorderBottomRightRadius");this.f("itemBorderSize");this.f("itemBorderLeftSize");this.f("itemBorderTopSize");this.f("itemBorderRightSize");this.f("itemBorderBottomSize");
this.f("itemBorderColor");this.f("itemBorderLeftColor");this.f("itemBorderTopColor");this.f("itemBorderRightColor");this.f("itemBorderBottomColor");this.f("itemLabelFontColor");this.f("itemLabelFontSize");this.f("itemLabelFontStyle");this.f("itemLabelFontWeight");this.f("itemLabelTextDecoration");this.f("itemLabelTextShadowColor");this.f("itemLabelTextShadowHorizontalLength");this.f("itemLabelTextShadowVerticalLength");this.f("itemLabelTextShadowBlurRadius");this.f("itemLabelTextShadowOpacity");this.f("itemOpacity");
this.f("itemPaddingLeft");this.f("itemPaddingTop");this.f("itemPaddingRight");this.f("itemPaddingBottom");this.f("itemShadow");this.f("itemThumbnailOpacity");this.f("itemThumbnailBorderSize");this.f("itemThumbnailBorderColor");this.f("itemThumbnailShadow");this.f("itemThumbnailShadowHorizontalLength");this.f("itemThumbnailShadowVerticalLength");this.f("itemThumbnailShadowBlurRadius");this.f("itemThumbnailShadowSpread");this.f("itemThumbnailShadowColor");this.f("itemThumbnailShadowOpacity");this.f("rollOverItemBackgroundOpacity");
this.f("rollOverItemBackgroundColor");this.f("rollOverItemBackgroundColorRatios");this.f("rollOverItemBackgroundColorDirection");this.f("rollOverItemBorderRadius");this.f("rollOverItemBorderTopRadius");this.f("rollOverItemBorderBottomRadius");this.f("rollOverItemBorderLeftRadius");this.f("rollOverItemBorderRightRadius");this.f("rollOverItemBorderTopLeftRadius");this.f("rollOverItemBorderTopRightRadius");this.f("rollOverItemBorderBottomLeftRadius");this.f("rollOverItemBorderBottomRightRadius");this.f("rollOverItemBorderSize");
this.f("rollOverItemBorderLeftSize");this.f("rollOverItemBorderTopSize");this.f("rollOverItemBorderRightSize");this.f("rollOverItemBorderBottomSize");this.f("rollOverItemBorderColor");this.f("rollOverItemBorderLeftColor");this.f("rollOverItemBorderTopColor");this.f("rollOverItemBorderRightColor");this.f("rollOverItemBorderBottomColor");this.f("rollOverItemLabelFontSize");this.f("rollOverItemLabelFontStyle");this.f("rollOverItemLabelFontWeight");this.f("rollOverItemLabelTextDecoration");this.f("rollOverItemLabelTextShadowColor");
this.f("rollOverItemLabelTextShadowHorizontalLength");this.f("rollOverItemLabelTextShadowVerticalLength");this.f("rollOverItemLabelTextShadowBlurRadius");this.f("rollOverItemLabelTextShadowOpacity");this.f("rollOverItemOpacity");this.f("rollOverItemPaddingLeft");this.f("rollOverItemPaddingTop");this.f("rollOverItemPaddingRight");this.f("rollOverItemPaddingBottom");this.f("rollOverItemShadow");this.f("rollOverItemThumbnailOpacity");this.f("rollOverItemThumbnailBorderSize");this.f("rollOverItemThumbnailBorderColor");
this.f("rollOverItemThumbnailShadow");this.f("rollOverItemThumbnailShadowHorizontalLength");this.f("rollOverItemThumbnailShadowVerticalLength");this.f("rollOverItemThumbnailShadowBlurRadius");this.f("rollOverItemThumbnailShadowSpread");this.f("rollOverItemThumbnailShadowColor");this.f("rollOverItemThumbnailShadowOpacity");this.f("selectedItemBackgroundOpacity");this.f("selectedItemBackgroundColor");this.f("selectedItemBackgroundColorRatios");this.f("selectedItemBackgroundColorDirection");this.f("selectedItemBorderRadius");
this.f("selectedItemBorderTopRadius");this.f("selectedItemBorderBottomRadius");this.f("selectedItemBorderLeftRadius");this.f("selectedItemBorderRightRadius");this.f("selectedItemBorderTopLeftRadius");this.f("selectedItemBorderTopRightRadius");this.f("selectedItemBorderBottomLeftRadius");this.f("selectedItemBorderBottomRightRadius");this.f("selectedItemBorderSize");this.f("selectedItemBorderLeftSize");this.f("selectedItemBorderTopSize");this.f("selectedItemBorderRightSize");this.f("selectedItemBorderBottomSize");
this.f("selectedItemBorderColor");this.f("selectedItemBorderLeftColor");this.f("selectedItemBorderTopColor");this.f("selectedItemBorderRightColor");this.f("selectedItemBorderBottomColor");this.f("selectedItemLabelFontSize");this.f("selectedItemLabelFontStyle");this.f("selectedItemLabelFontWeight");this.f("selectedItemLabelTextDecoration");this.f("selectedItemLabelTextShadowColor");this.f("selectedItemLabelTextShadowHorizontalLength");this.f("selectedItemLabelTextShadowVerticalLength");this.f("selectedItemLabelTextShadowBlurRadius");
this.f("selectedItemLabelTextShadowOpacity");this.f("selectedItemOpacity");this.f("selectedItemPaddingLeft");this.f("selectedItemPaddingTop");this.f("selectedItemPaddingRight");this.f("selectedItemPaddingBottom");this.f("selectedItemShadow");this.f("selectedItemThumbnailOpacity");this.f("selectedItemThumbnailBorderSize");this.f("selectedItemThumbnailBorderColor");this.f("selectedItemThumbnailShadow");this.f("selectedItemThumbnailShadowHorizontalLength");this.f("selectedItemThumbnailShadowVerticalLength");
this.f("selectedItemThumbnailShadowBlurRadius");this.f("selectedItemThumbnailShadowSpread");this.f("selectedItemThumbnailShadowColor");this.f("selectedItemThumbnailShadowOpacity")};e.prototype.By=function(a){this.jh=p;this.set("selectedIndex",this.KN(a.source))};e.prototype.zia=function(){this.u3()};e.prototype.zka=function(){this.u3()};e.prototype.u3=function(){var a=this.get("selectedIndex"),b=this.Qa();a>=0&&a<b.length&&this.scrollIntoView(b[a])};e.prototype.KN=function(a){for(var b=this.Qa(),
c=0;c<b.length;c++)if(b[c]==a)return c;return-1};e.prototype.da=function(){if(this.n("layout")){var a=this.j("layout");a!=g.Ye&&a!=g.Be&&this.set("layout",g.Be)}var b=y;if(this.n("items")){var b=p,a=this.j("items")||[],d=this.Qa();if(d.length<a.length){for(var j=d.length;j<a.length;j++){d=new n;d.bind(f.W,this.By,this);this.Ua(e.ix,e.ir,[d],y,y);this.Ua(e.jx,e.jr,[d],y,y);this.pa(d)}d=this.Qa()}if(d.length>a.length){for(j=a.length;j<d.length;j++){var k=d[j];k.unbind(f.W,this.By,this);this.removeChild(k)}d=
this.Qa()}for(j=0;j<a.length;j++)d[j].set("item",a[j]);this.o("items")}if(this.n("selectedIndex")||b){a=this.Qa();b=Math.min(a.length-1,Math.max(-1,this.j("selectedIndex")));this.set("selectedIndex",b);for(j=0;j<a.length;j++)a[j].lC(j==b);this.o("selectedIndex");if(this.jh){this.jh=y;this.trigger(new c(f.U))}}this.Ua(e.ix,e.ir,this.Qa(),p,y);this.Ua(e.jx,e.jr,this.Qa(),p,p);h.prototype.da.call(this)};e.ir={layout:"listLayout",shadowHorizontalLength:"shadowHorizontalLength",shadowVerticalLength:"shadowVerticalLength",
shadowBlurRadius:"shadowBlurRadius",shadowSpread:"shadowSpread",shadowOpacity:"shadowOpacity",shadowColor:"shadowColor"};e.jr={itemHorizontalAlign:"horizontalAlign",itemLabelFunction:"labelFunction",itemLabelFontFamily:"labelFontFamily",itemLabelGap:"labelGap",itemLabelHorizontalAlign:"labelHorizontalAlign",itemLabelPosition:"labelPosition",itemSourceProperties:"sourceProperties",itemThumbnailBorderRadius:"thumbnailBorderRadius",itemThumbnailScaleMode:"thumbnailScaleMode",itemThumbnailHeight:"thumbnailHeight",
itemThumbnailWidth:"thumbnailWidth",itemThumbnailMaxHeight:"thumbnailMaxHeight",itemThumbnailMaxWidth:"thumbnailMaxWidth",itemThumbnailUrlFunction:"thumbnailUrlFunction",itemTooltipFunction:"tooltipFunction",itemVerticalAlign:"verticalAlign",itemBackgroundOpacity:"backgroundOpacity",itemBackgroundColor:"backgroundColor",itemBackgroundColorRatios:"backgroundColorRatios",itemBackgroundColorDirection:"backgroundColorDirection",itemBorderRadius:"borderRadius",itemBorderTopRadius:"borderTopRadius",itemBorderBottomRadius:"borderBottomRadius",
itemBorderLeftRadius:"borderLeftRadius",itemBorderRightRadius:"borderRightRadius",itemBorderTopLeftRadius:"borderTopLeftRadius",itemBorderTopRightRadius:"borderTopRightRadius",itemBorderBottomLeftRadius:"borderBottomLeftRadius",itemBorderBottomRightRadius:"borderBottomRightRadius",itemBorderSize:"borderSize",itemBorderLeftSize:"borderLeftSize",itemBorderTopSize:"borderTopSize",itemBorderRightSize:"borderRightSize",itemBorderBottomSize:"borderBottomSize",itemBorderColor:"borderColor",itemBorderLeftColor:"borderLeftColor",
itemBorderTopColor:"borderTopColor",itemBorderRightColor:"borderRightColor",itemBorderBottomColor:"borderBottomColor",itemLabelFontColor:"labelFontColor",itemLabelFontSize:"labelFontSize",itemLabelFontStyle:"labelFontStyle",itemLabelFontWeight:"labelFontWeight",itemLabelTextDecoration:"labelTextDecoration",itemLabelTextShadowColor:"labelTextShadowColor",itemLabelTextShadowHorizontalLength:"labelTextShadowHorizontalLength",itemLabelTextShadowVerticalLength:"labelTextShadowVerticalLength",itemLabelTextShadowBlurRadius:"labelTextShadowBlurRadius",
itemLabelTextShadowOpacity:"labelTextShadowOpacity",itemOpacity:"opacity",itemPaddingLeft:"paddingLeft",itemPaddingTop:"paddingTop",itemPaddingRight:"paddingRight",itemPaddingBottom:"paddingBottom",itemShadow:"shadow",itemThumbnailOpacity:"thumbnailOpacity",itemThumbnailBorderSize:"thumbnailBorderSize",itemThumbnailBorderColor:"thumbnailBorderColor",itemThumbnailShadow:"thumbnailShadow",itemThumbnailShadowHorizontalLength:"thumbnailShadowHorizontalLength",itemThumbnailShadowVerticalLength:"thumbnailShadowVerticalLength",
itemThumbnailShadowBlurRadius:"thumbnailShadowBlurRadius",itemThumbnailShadowSpread:"thumbnailShadowSpread",itemThumbnailShadowColor:"thumbnailShadowColor",itemThumbnailShadowOpacity:"thumbnailShadowOpacity",rollOverItemBackgroundOpacity:"rollOverBackgroundOpacity",rollOverItemBackgroundColor:"rollOverBackgroundColor",rollOverItemBackgroundColorRatios:"rollOverBackgroundColorRatios",rollOverItemBackgroundColorDirection:"rollOverBackgroundColorDirection",rollOverItemBorderRadius:"rollOverBorderRadius",
rollOverItemBorderTopRadius:"rollOverBorderTopRadius",rollOverItemBorderBottomRadius:"rollOverBorderBottomRadius",rollOverItemBorderLeftRadius:"rollOverBorderLeftRadius",rollOverItemBorderRightRadius:"rollOverBorderRightRadius",rollOverItemBorderTopLeftRadius:"rollOverBorderTopLeftRadius",rollOverItemBorderTopRightRadius:"rollOverBorderTopRightRadius",rollOverItemBorderBottomLeftRadius:"rollOverBorderBottomLeftRadius",rollOverItemBorderBottomRightRadius:"rollOverBorderBottomRightRadius",rollOverItemBorderSize:"rollOverBorderSize",
rollOverItemBorderLeftSize:"rollOverBorderLeftSize",rollOverItemBorderTopSize:"rollOverBorderTopSize",rollOverItemBorderRightSize:"rollOverBorderRightSize",rollOverItemBorderBottomSize:"rollOverBorderBottomSize",rollOverItemBorderColor:"rollOverBorderColor",rollOverItemBorderLeftColor:"rollOverBorderLeftColor",rollOverItemBorderTopColor:"rollOverBorderTopColor",rollOverItemBorderRightColor:"rollOverBorderRightColor",rollOverItemBorderBottomColor:"rollOverBorderBottomColor",rollOverItemLabelFontColor:"rollOverLabelFontColor",
rollOverItemLabelFontSize:"rollOverLabelFontSize",rollOverItemLabelFontStyle:"rollOverLabelFontStyle",rollOverItemLabelFontWeight:"rollOverLabelFontWeight",rollOverItemLabelTextDecoration:"rollOverLabelTextDecoration",rollOverItemLabelTextShadowColor:"rollOverLabelTextShadowColor",rollOverItemLabelTextShadowHorizontalLength:"rollOverLabelTextShadowHorizontalLength",rollOverItemLabelTextShadowVerticalLength:"rollOverLabelTextShadowVerticalLength",rollOverItemLabelTextShadowBlurRadius:"rollOverLabelTextShadowBlurRadius",
rollOverItemLabelTextShadowOpacity:"rollOverLabelTextShadowOpacity",rollOverItemOpacity:"rollOverOpacity",rollOverItemPaddingLeft:"rollOverPaddingLeft",rollOverItemPaddingTop:"rollOverPaddingTop",rollOverItemPaddingRight:"rollOverPaddingRight",rollOverItemPaddingBottom:"rollOverPaddingBottom",rollOverItemShadow:"rollOverShadow",rollOverItemThumbnailOpacity:"rollOverThumbnailOpacity",rollOverItemThumbnailBorderSize:"rollOverThumbnailBorderSize",rollOverItemThumbnailBorderColor:"rollOverThumbnailBorderColor",
rollOverItemThumbnailShadow:"rollOverThumbnailShadow",rollOverItemThumbnailShadowHorizontalLength:"rollOverThumbnailShadowHorizontalLength",rollOverItemThumbnailShadowVerticalLength:"rollOverThumbnailShadowVerticalLength",rollOverItemThumbnailShadowBlurRadius:"rollOverThumbnailShadowBlurRadius",rollOverItemThumbnailShadowSpread:"rollOverThumbnailShadowSpread",rollOverItemThumbnailShadowColor:"rollOverThumbnailShadowColor",rollOverItemThumbnailShadowOpacity:"rollOverThumbnailShadowOpacity",selectedItemBackgroundOpacity:"selectedBackgroundOpacity",
selectedItemBackgroundColor:"selectedBackgroundColor",selectedItemBackgroundColorRatios:"selectedBackgroundColorRatios",selectedItemBackgroundColorDirection:"selectedBackgroundColorDirection",selectedItemBorderRadius:"selectedBorderRadius",selectedItemBorderTopRadius:"selectedBorderTopRadius",selectedItemBorderBottomRadius:"selectedBorderBottomRadius",selectedItemBorderLeftRadius:"selectedBorderLeftRadius",selectedItemBorderRightRadius:"selectedBorderRightRadius",selectedItemBorderTopLeftRadius:"selectedBorderTopLeftRadius",
selectedItemBorderTopRightRadius:"selectedBorderTopRightRadius",selectedItemBorderBottomLeftRadius:"selectedBorderBottomLeftRadius",selectedItemBorderBottomRightRadius:"selectedBorderBottomRightRadius",selectedItemBorderSize:"selectedBorderSize",selectedItemBorderLeftSize:"selectedBorderLeftSize",selectedItemBorderTopSize:"selectedBorderTopSize",selectedItemBorderRightSize:"selectedBorderRightSize",selectedItemBorderBottomSize:"selectedBorderBottomSize",selectedItemBorderColor:"selectedBorderColor",
selectedItemBorderLeftColor:"selectedBorderLeftColor",selectedItemBorderTopColor:"selectedBorderTopColor",selectedItemBorderRightColor:"selectedBorderRightColor",selectedItemBorderBottomColor:"selectedBorderBottomColor",selectedItemLabelFontColor:"selectedLabelFontColor",selectedItemLabelFontSize:"selectedLabelFontSize",selectedItemLabelFontStyle:"selectedLabelFontStyle",selectedItemLabelFontWeight:"selectedLabelFontWeight",selectedItemLabelTextDecoration:"selectedLabelTextDecoration",selectedItemLabelTextShadowColor:"selectedLabelTextShadowColor",
selectedItemLabelTextShadowHorizontalLength:"selectedLabelTextShadowHorizontalLength",selectedItemLabelTextShadowVerticalLength:"selectedLabelTextShadowVerticalLength",selectedItemLabelTextShadowBlurRadius:"selectedLabelTextShadowBlurRadius",selectedItemLabelTextShadowOpacity:"selectedLabelTextShadowOpacity",selectedItemOpacity:"selectedOpacity",selectedItemPaddingLeft:"selectedPaddingLeft",selectedItemPaddingTop:"selectedPaddingTop",selectedItemPaddingRight:"selectedPaddingRight",selectedItemPaddingBottom:"selectedPaddingBottom",
selectedItemShadow:"selectedShadow",selectedItemThumbnailOpacity:"selectedThumbnailOpacity",selectedItemThumbnailBorderSize:"selectedThumbnailBorderSize",selectedItemThumbnailBorderColor:"selectedThumbnailBorderColor",selectedItemThumbnailShadow:"selectedThumbnailShadow",selectedItemThumbnailShadowHorizontalLength:"selectedThumbnailShadowHorizontalLength",selectedItemThumbnailShadowVerticalLength:"selectedThumbnailShadowVerticalLength",selectedItemThumbnailShadowBlurRadius:"selectedThumbnailShadowBlurRadius",
selectedItemThumbnailShadowSpread:"selectedThumbnailShadowSpread",selectedItemThumbnailShadowColor:"selectedThumbnailShadowColor",selectedItemThumbnailShadowOpacity:"selectedThumbnailShadowOpacity",toolTipBackgroundColor:"toolTipBackgroundColor",toolTipBackgroundOpacity:"toolTipBackgroundOpacity",toolTipBorderRadius:"toolTipBorderRadius",toolTipBorderColor:"toolTipBorderColor",toolTipBorderSize:"toolTipBorderSize",toolTipDisplayTime:"toolTipDisplayTime",toolTipFontFamily:"toolTipFontFamily",toolTipFontSize:"toolTipFontSize",
toolTipFontColor:"toolTipFontColor",toolTipFontWeight:"toolTipFontWeight",toolTipFontStyle:"toolTipFontStyle",toolTipPaddingBottom:"toolTipPaddingBottom",toolTipPaddingLeft:"toolTipPaddingLeft",toolTipPaddingTop:"toolTipPaddingTop",toolTipPaddingRight:"toolTipPaddingRight",toolTipShadowBlurRadius:"toolTipShadowBlurRadius",toolTipShadowColor:"toolTipShadowColor",toolTipShadowHorizontalLength:"toolTipShadowHorizontalLength",toolTipShadowOpacity:"toolTipShadowOpacity",toolTipShadowSpread:"toolTipShadowSpread",
toolTipShadowVerticalLength:"toolTipShadowVerticalLength",toolTipOpacity:"toolTipOpacity",toolTipTextShadowBlurRadius:"toolTipTextShadowBlurRadius",toolTipTextShadowColor:"toolTipTextShadowColor",toolTipTextShadowHorizontalLength:"toolTipTextShadowHorizontalLength",toolTipTextShadowOpacity:"toolTipTextShadowOpacity",toolTipTextShadowVerticalLength:"toolTipTextShadowVerticalLength"};e.ix=a(e.ir).keys();e.jx=a(e.jr).keys();return e});
define("eN","hp,jq,A,dl,il,cK,br,cL".split(","),function(a,b,c,d,f,g,k){a=a.extend(c,function(){c.call(this);this.zb=q;this.set("itemMode","normal");this.dk=y;this.Cx=new f(this,"buttonScrollDown",g.Bc);this.Cx.bind(b.W,this.q8,this);this.Dx=new f(this,"buttonScrollLeft",g.Bc);this.Dx.bind(b.W,this.scrollLeft,this);this.Ex=new f(this,"buttonScrollRight",g.Bc);this.Ex.bind(b.W,this.r8,this);this.Fx=new f(this,"buttonScrollUp",g.Bc);this.Fx.bind(b.W,this.s8,this);this.bind(b.U,this.Xga,this)});d.A("ThumbnailList",
a).C("UIComponent").O({buttonScrollDown:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonScrollLeft:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonScrollRight:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonScrollUp:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",contentOpaque:"bool",gap:"number",hideScrollButtons:"bool",horizontalAlign:"enum[center, left, right]",itemMode:"enum[normal, thumbnail-only, label-only]",
itemBackgroundColor:"or[array[color], color]",itemBackgroundColorDirection:"enum[horizontal, vertical]",itemBackgroundColorRatios:"array[number]",itemBackgroundOpacity:"number",itemBorderBottomColor:"color",itemBorderBottomLeftRadius:"number",itemBorderBottomRadius:"number",itemBorderBottomRightRadius:"number",itemBorderBottomSize:"number",itemBorderColor:"color",itemBorderLeftColor:"color",itemBorderLeftRadius:"number",itemBorderLeftSize:"number",itemBorderRadius:"number",itemBorderRightColor:"color",
itemBorderRightRadius:"number",itemBorderRightSize:"number",itemBorderSize:"number",itemBorderTopColor:"color",itemBorderTopLeftRadius:"number",itemBorderTopRadius:"number",itemBorderTopRightRadius:"number",itemBorderTopSize:"number",itemHorizontalAlign:"enum[center, left, right]",itemLabelFontColor:"color",itemLabelFontFamily:"string",itemLabelFontSize:"or[number, size]",itemLabelFontStyle:"enum[italic, normal]",itemLabelFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",
itemLabelGap:"number",itemLabelHorizontalAlign:"enum[center, left, right]",itemLabelPosition:"enum[left, top, right, bottom]",itemLabelTextDecoration:"enum[underline, overline, line-through, none]",itemLabelTextShadowBlurRadius:"number",itemLabelTextShadowColor:"color",itemLabelTextShadowHorizontalLength:"number",itemLabelTextShadowOpacity:"number",itemLabelTextShadowVerticalLength:"number",itemOpacity:"number",itemPaddingBottom:"number",itemPaddingLeft:"number",itemPaddingTop:"number",itemPaddingRight:"number",
itemShadow:"bool",itemThumbnailBorderColor:"color",itemThumbnailBorderRadius:"number",itemThumbnailBorderSize:"number",itemThumbnailScaleMode:"enum[none, fill, fit_inside, fit_outside, fit_to_width, fit_to_height]",itemThumbnailHeight:"number",itemThumbnailWidth:"number",itemThumbnailMaxHeight:"number",itemThumbnailMaxWidth:"number",itemThumbnailOpacity:"number",itemThumbnailShadow:"bool",itemThumbnailShadowBlurRadius:"number",itemThumbnailShadowColor:"color",itemThumbnailShadowHorizontalLength:"number",
itemThumbnailShadowOpacity:"number",itemThumbnailShadowSpread:"number",itemThumbnailShadowVerticalLength:"number",itemVerticalAlign:"enum[bottom, middle, top]",layout:"enum[vertical, horizontal]",playList:"PlayList",rollOverItemBackgroundColor:"or[array[color], color]",rollOverItemBackgroundColorDirection:"enum[horizontal, vertical]",rollOverItemBackgroundColorRatios:"array[number]",rollOverItemBackgroundOpacity:"number",rollOverItemBorderBottomColor:"color",rollOverItemBorderBottomLeftRadius:"number",
rollOverItemBorderBottomRadius:"number",rollOverItemBorderBottomRightRadius:"number",rollOverItemBorderBottomSize:"number",rollOverItemBorderColor:"color",rollOverItemBorderLeftColor:"color",rollOverItemBorderLeftRadius:"number",rollOverItemBorderLeftSize:"number",rollOverItemBorderRadius:"number",rollOverItemBorderRightColor:"color",rollOverItemBorderRightRadius:"number",rollOverItemBorderRightSize:"number",rollOverItemBorderSize:"number",rollOverItemBorderTopColor:"color",rollOverItemBorderTopLeftRadius:"number",
rollOverItemBorderTopRadius:"number",rollOverItemBorderTopRightRadius:"number",rollOverItemBorderTopSize:"number",rollOverItemLabelFontColor:"color",rollOverItemLabelFontSize:"or[number, size]",rollOverItemLabelFontStyle:"enum[italic, normal]",rollOverItemLabelFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",rollOverItemLabelTextDecoration:"enum[underline, overline, line-through, none]",rollOverItemLabelTextShadowBlurRadius:"number",rollOverItemLabelTextShadowColor:"color",
rollOverItemLabelTextShadowHorizontalLength:"number",rollOverItemLabelTextShadowOpacity:"number",rollOverItemLabelTextShadowVerticalLength:"number",rollOverItemOpacity:"number",rollOverItemPaddingBottom:"number",rollOverItemPaddingLeft:"number",rollOverItemPaddingRight:"number",rollOverItemPaddingTop:"number",rollOverItemShadow:"bool",rollOverItemThumbnailBorderColor:"color",rollOverItemThumbnailBorderSize:"number",rollOverItemThumbnailOpacity:"number",rollOverItemThumbnailShadow:"bool",rollOverItemThumbnailShadowBlurRadius:"number",
rollOverItemThumbnailShadowColor:"color",rollOverItemThumbnailShadowHorizontalLength:"number",rollOverItemThumbnailShadowOpacity:"number",rollOverItemThumbnailShadowSpread:"number",rollOverItemThumbnailShadowVerticalLength:"number",scrollBarColor:"color",scrollBarWidth:"number",scrollBarMargin:"number",scrollBarHorizontalMargin:"number",scrollBarVerticalMargin:"number",scrollBarOpacity:"number",scrollBarVisible:"enum[rollOver, always]",selectedItemBackgroundColor:"or[array[color], color]",selectedItemBackgroundColorDirection:"enum[horizontal, vertical]",
selectedItemBackgroundColorRatios:"array[number]",selectedItemBackgroundOpacity:"number",selectedItemBorderBottomColor:"color",selectedItemBorderBottomLeftRadius:"number",selectedItemBorderBottomRadius:"number",selectedItemBorderBottomRightRadius:"number",selectedItemBorderBottomSize:"number",selectedItemBorderColor:"color",selectedItemBorderLeftColor:"color",selectedItemBorderLeftRadius:"number",selectedItemBorderLeftSize:"number",selectedItemBorderRadius:"number",selectedItemBorderRightRadius:"number",
selectedItemBorderRightSize:"number",selectedItemBorderSize:"number",selectedItemBorderTopLeftRadius:"number",selectedItemBorderTopRadius:"number",selectedItemBorderTopRightRadius:"number",selectedItemBorderTopSize:"number",selectedItemBorderTopColor:"color",selectedItemBorderRightColor:"color",selectedItemLabelFontColor:"color",selectedItemLabelFontSize:"or[number, size]",selectedItemLabelFontStyle:"enum[italic, normal]",selectedItemLabelFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",
selectedItemLabelTextDecoration:"enum[underline, overline, line-through, none]",selectedItemLabelTextShadowBlurRadius:"number",selectedItemLabelTextShadowColor:"color",selectedItemLabelTextShadowHorizontalLength:"number",selectedItemLabelTextShadowOpacity:"number",selectedItemLabelTextShadowVerticalLength:"number",selectedItemOpacity:"number",selectedItemPaddingBottom:"number",selectedItemPaddingLeft:"number",selectedItemPaddingTop:"number",selectedItemPaddingRight:"number",selectedItemShadow:"bool",
selectedItemThumbnailBorderSize:"number",selectedItemThumbnailBorderColor:"color",selectedItemThumbnailOpacity:"number",selectedItemThumbnailShadow:"bool",selectedItemThumbnailShadowBlurRadius:"number",selectedItemThumbnailShadowColor:"color",selectedItemThumbnailShadowHorizontalLength:"number",selectedItemThumbnailShadowOpacity:"number",selectedItemThumbnailShadowSpread:"number",selectedItemThumbnailShadowVerticalLength:"number",verticalAlign:"enum[bottom, middle, top]",itemLabelFunction:"*"}).mo(["itemLabelFontSize",
"rollOverItemLabelFontSize","selectedItemLabelFontSize"]).Yb([b.U]);a.prototype.wh=function(){c.prototype.wh.call(this);this.Us()};a.prototype.Pn=function(){c.prototype.Pn.call(this);this.Us()};a.prototype.Us=function(){this.Cx.set("visible",!this.dk||this.CD());this.Fx.set("visible",!this.dk||this.FD());this.Dx.set("visible",!this.dk||this.DD());this.Ex.set("visible",!this.dk||this.ED())};a.prototype.set=function(a,b){if(a=="itemMode")switch(b){case "thumbnail-only":this.set("itemLabelFunction",
this.bn);this.set("itemThumbnailUrlFunction",this.Dy);this.set("itemTooltipFunction",this.as);this.set("itemSourceProperties",["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"]);break;case "label-only":this.set("itemLabelFunction",this.as);this.set("itemThumbnailUrlFunction",this.bn);this.set("itemTooltipFunction",this.bn);this.set("itemSourceProperties",["label","media.label"]);break;default:this.set("itemLabelFunction",this.as);this.set("itemThumbnailUrlFunction",this.Dy);
this.set("itemTooltipFunction",this.bn);this.set("itemSourceProperties",["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"])}else if(a=="playList"){this.zb&&this.zb.unbind("change",this.vn,this);if(this.zb=b){this.set("items",this.zb.get("items"));this.zb.bind("change",this.vn,this)}else this.set("items",[])}else if(a=="hideScrollButtons"){this.dk=b;this.Us()}else c.prototype.set.call(this,a,b)};a.prototype.get=function(a,b){switch(a){case "playList":return this.zb;default:return c.prototype.get.call(this,
a,b)}};a.prototype.vn=function(){this.set("items",this.zb.get("items"));this.set("selectedIndex",this.zb.get("selectedIndex"))};a.prototype.Xga=function(){this.zb&&this.zb.set("selectedIndex",this.get("selectedIndex"))};a.prototype.bn=D();a.prototype.as=function(a){return a.get("label")||a.get("media").get("label")};a.prototype.Dy=function(a){var a=a.get("media"),b=a.get("thumbnailUrl");a.get("flipImageHorizontally")&&(b=k.T5(b));return b};return a});
define("bv",["hp","jq","d","dl"],function(a,b,c,d){a=a.extend(c,function(){c.call(this)});d.A("UIComponent",a).C("Object").O({actualHeight:"number",actualWidth:"number",backgroundColor:"or[array[color], color]",backgroundColorDirection:"enum[horizontal, vertical]",backgroundColorRatios:"array[number]",backgroundImageUrl:"string",backgroundOpacity:"number",borderBottomColor:"color",borderBottomLeftRadius:"number",borderBottomRadius:"number",borderBottomRightRadius:"number",borderBottomSize:"number",
borderColor:"color",borderLeftColor:"color",borderLeftRadius:"number",borderLeftSize:"number",borderRadius:"number",borderRightColor:"color",borderRightRadius:"number",borderRightSize:"number",borderSize:"number",borderTopColor:"color",borderTopLeftRadius:"number",borderTopRadius:"number",borderTopRightRadius:"number",borderTopSize:"number",bottom:"or[number, percent]",centerX:"number",centerY:"number",cursor:"enum[default, hand]",height:"or[number, percent]",hideEffect:"Effect",includeInLayout:"bool",
inView:"bool",left:"or[number, percent]",maxHeight:"number",maxWidth:"number",minHeight:"number",minWidth:"number",opacity:"number",paddingBottom:"number",paddingLeft:"number",paddingTop:"number",paddingRight:"number",propagateClick:"bool",right:"or[number, percent]",rollOverOpacity:"number",showEffect:"Effect",shadow:"bool",shadowBlurRadius:"number",shadowColor:"color",shadowHorizontalLength:"number",shadowOpacity:"number",shadowSpread:"number",shadowVerticalLength:"number",toolTip:"string",toolTipBackgroundColor:"or[color, enum[transparent]]",
toolTipBackgroundOpacity:"number",toolTipBorderRadius:"number",toolTipBorderColor:"color",toolTipBorderSize:"number",toolTipDisplayTime:"number",toolTipFontFamily:"string",toolTipFontSize:"or[number, size]",toolTipFontColor:"color",toolTipFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",toolTipFontStyle:"enum[italic, normal]",toolTipHorizontalAlign:"enum[left, center, right]",toolTipPaddingBottom:"number",toolTipPaddingLeft:"number",toolTipPaddingTop:"number",
toolTipPaddingRight:"number",toolTipShadowBlurRadius:"number",toolTipShadowColor:"color",toolTipShadowHorizontalLength:"number",toolTipShadowOpacity:"number",toolTipShadowSpread:"number",toolTipShadowVerticalLength:"number",toolTipOpacity:"number",toolTipTextShadowBlurRadius:"number",toolTipTextShadowColor:"color",toolTipTextShadowHorizontalLength:"number",toolTipTextShadowOpacity:"number",toolTipTextShadowVerticalLength:"number",top:"or[number, percent]",visible:"bool",width:"or[number, percent]"}).mo(["toolTipFontSize"]).Bj(["backgroundImageUrl"]).Yb([b.rf,
b.INIT,b.W,b.Oj,b.sf,b.ub,b.Cc,b.ec,b.Ce,b.GW,b.FK]);return a});
define("eU",["require","hp","eK","bE"],function(a){var b=a("hp"),c=a("eK"),d=a("bE"),a=b.extend(d,function(a){d.call(this);this.u=a;var b=c.xT(a.get("video"));this.Eb=b.get("url");this.T=b.get("width",320);this.ca=b.get("height",Math.round(3*b.get("width",320)/4));this.Ic=a.get("scaleMode");this.Pf=a.get("horizontalAlign");this.cg=a.get("verticalAlign")});a.prototype.Pk=function(){return[]};a.prototype.fg=P("Eb");a.prototype.Sna=function(){return this.u.get("video").get("subtitlesURL")};a.prototype.jc=
P("T");a.prototype.Sc=P("ca");return a});
define("w","require,hp,jq,dl,X,hO,cQ,dH,eU".split(","),function(a){var b=a("hp"),c=a("jq"),d=a("dl"),f=a("X"),g=a("hO"),k=a("cQ"),j=a("dH"),h=a("eU"),a=b.extend(k,function(){k.call(this);this.H=m;this.set("autoplay",p);this.set("scaleMode",g.ie);this.set("horizontalAlign",f.tc);this.set("verticalAlign",f.cc)});a.Ae=j.Ae;d.A("Video",a).C("Media").O({autoplay:"bool",cues:"array[VideoCue]",height:"number",horizontalAlign:"enum[center, left, right]",loop:"bool",scaleMode:"enum[none, fit_inside, fit_outside, fit_to_width, fit_to_height]",
verticalAlign:"enum[bottom, middle, top]",video:"VideoResource",width:"number"}).Yb([c.ua,a.Ae]);a.prototype.Tc=function(){if(this.H==m)this.H=this.get("video")?new h(this):q;return this.H};a.prototype.Zn=function(){this.get("video");return[]};return a});
define("ex","require,hp,jq,dl,fE,dH".split(","),function(a){var b=a("hp"),c=a("jq"),d=a("dl"),f=a("fE"),a=a("dH"),b=b.extend(f,function(){f.call(this)});b.Ae=a.Ae;d.A("VideoPanorama",b).C("Panorama").O({cues:"array[VideoCue]",loop:"bool"}).Yb([c.ua,b.Ae]);return b});
define("gi",["require","hp","hH","dl"],function(a){var b=a("hp"),c=a("hH"),a=a("dl"),b=b.extend(c,function(){c.call(this)});a.A("Video360Resource",b).C("Video360ResourceLevel").O({levels:"array[Video360ResourceLevel]",subtitlesURL:"string"}).Bj(["subtitlesURL"]);b.prototype.get=function(a,b){switch(a){case "levels":b=[this];break;case "subtitlesURL":for(var g=c.prototype.get.call(this,a),k=this.get("levels"),j=0;k&&j<k.length&&g===m;j++){var h=k[j];h!=this&&(g=h.get("subtitlesURL"))}return g!==m?
g:b}return c.prototype.get.call(this,a,b)};return b});
define("cu","require,hp,cL,dl,dh,ex,gi".split(","),function(a){var b=a("hp"),c=a("cL"),d=a("dl"),f=a("dh"),g=a("ex"),k=a("gi"),a=b.extend(g,function(){g.call(this);this.ej=this.u=m});d.A("Video360",a).C("VideoPanorama").O({video:"or[Video360Resource, array[Video360Resource]]"});a.prototype.set=function(a,b){a=="video"?this.Caa(b):g.prototype.set.call(this,a,b)};a.prototype.get=function(a,b){return a=="video"?this.u===m?b:this.u:g.prototype.get.call(this,a,b)};a.prototype.Caa=function(a){if(this.u!=
a){this.u=a;a=[];if(this.u){var b=new f;b.set("sphere",this.Vfa(this.u));a.push(b)}g.prototype.set.call(this,"frames",a)}};a.prototype.Vfa=function(a){if(c.isArray(a)){var b=[];c(a).each(function(a){b=b.concat(a.get("levels")||[a])});a=new k;a.set("levels",b)}return a};return a});define("bq",["require","hp","dl","jg"],function(a){var b=a("hp"),c=a("dl"),d=a("jg"),a=b.extend(d,function(){d.call(this)});c.A("Video360Player",a).C("PanoramaPlayer");return a});
define("gy",["hp","dl","ce","cJ"],function(a,b,c,d){a=a.extend(d,function(){d.call(this)});b.A("Video360PlayListItem",a).C("PlayListItem").O({media:"Video360",camera:"RotationalCamera",player:"PanoramaPlayer",startTime:"number"});a.prototype.start=function(){d.prototype.start.call(this);var a=this.get("player");a&&(a.bind(c.Xe,this.Yh,this),a.set("video",this.get("media")),a.set("camera",this.get("camera")),a.set("startTime",this.get("startTime")))};a.prototype.stop=function(){var a=this.get("player");
a&&(a.unbind(c.Xe,this.Yh,this),a.get("video")==this.get("media")&&a.set("video",q));d.prototype.stop.call(this)};a.prototype.Yh=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(c.Xe,this.Yh,this),this.get("player").bind(c.Ig,this.rk,this),this.Pv())};a.prototype.rk=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(c.Ig,this.rk,this),this.end())};return a});
define("jl",["require","hp","hH","dl"],function(a){var b=a("hp"),c=a("hH"),a=a("dl"),b=b.extend(c,function(){c.call(this)});a.A("Video360ResourceLevel",b).C("VideoResourceLevel");return b});
define("bA","require,hp,hH,jq,ey,bL,dl,dH,gJ".split(","),function(a){var b=a("hp"),c=a("hH"),d=a("jq"),f=a("ey"),g=a("bL"),k=a("dl"),j=a("dH"),h=a("gJ"),n=b.extend(c,function(){c.call(this);this.Qd=m;this.set("enabled",p);this.set("interactionEnabled",p);this.set("state",f.J);this.set("enabledInCardboard",p);this.set("enabledInStandard",p);this.set("blending",0);this.set("fadeInDuration",200);this.set("fadeOutDuration",200)});n.prototype.play=function(){this.set("state",f.Q)};n.prototype.pause=function(){this.set("state",
f.kc)};n.prototype.stop=function(){this.set("state",f.J)};n.Ae=j.Ae;n.nd="stateChange";k.A("VideoPanoramaOverlay",n).C("PanoramaOverlay").O({autoplay:"bool",blending:"number",chromaColor:"color",chromaThreshold:"number",chromaSmoothing:"number",cues:"array[VideoCue]",distance:"number",displayTooltipInTouchScreens:"bool",enabled:"bool",enabledInCardboard:"bool",enabledInVR:"bool",enabledInStandard:"bool",fadeInDuration:"number",fadeOutDuration:"number",interactionEnabled:"bool",videoVisibleOnStop:"bool",
hfov:"number",vfov:"number",scaleMode:"enum[fill, fit_inside, fit_outside, fit_to_width, fit_to_height, none]",image:"ImageResource",loop:"bool",pitch:"number",rotationX:"number",rotationY:"number",roll:"number",state:"enum[stopped, playing, paused]",toolTip:"string",useHandCursor:"bool",video:"VideoResource",yaw:"number",playbackPositions:"array[PanoramaOverlayPlaybackPosition]"}).Yb([d.ua,d.rf,d.Oj,d.sf,d.Cc,d.ec,d.Ce,d.Ii,n.Ae,n.nd]).uh([d.W]).Gg({pause:n.prototype.pause,play:n.prototype.play,
stop:n.prototype.stop});n.prototype.set=function(a,b){var h=y;switch(a){case "state":var j=this.get("state")||f.J;j==f.J&&b==f.Q&&this.trigger(d.Ii);j!=b&&this.trigger(new g(n.nd,{oldState:j,state:b}));break;case "enabledInCardboard":this.set("enabledInVR",b);break;case "distance":case "hfov":case "vfov":case "pitch":case "rotationX":case "rotationY":case "roll":case "yaw":case "playbackPositions":this.Qd=m;h=p}c.prototype.set.call(this,a,b);h&&a!="playbackPositions"&&this.trigger(d.ba("playbackPositions"))};
n.prototype.get=function(a,b){switch(a){case "playbackPositions":if(this.Qd===m)this.Qd=h.tI(this);return this.Qd}return c.prototype.get.call(this,a,b)};n.prototype.tI=function(){if(this.Qd===m)this.Qd=h.tI(this);return this.Qd};return n});
define("hg","cL,hp,jq,bL,dZ,ey,w".split(","),function(a,b,c,d,f,g,k){function j(a,b,c){this.time=a;this.cue=b;this.action=c}b=b.extend(f,function(a){f.call(this);this.g=a;this.g.bind(c.U,this.Jv,this,p);this.g.bind(c.ua,this.YA,this,p);this.vc=this.Yj=q;this.Vf=y;this.uf=[];this.Hh=m;this.fc=[]});b.prototype.clear=function(){this.g.unbind(c.U,this.Jv,this,p);this.g.unbind(c.ua,this.YA,this,p);this.vc=this.Yj=this.g=q;this.uf=[];this.fc=[]};b.prototype.start=function(a){this.end();this.Yj=a;this.vc=
a.Tc();this.pM();this.jA()};b.prototype.end=function(){this.Hx();this.vc=this.Yj=q};b.prototype.Sd=function(a){a=a!=g.J;if(this.Vf!=a)(this.Vf=a)?this.jA():this.Hx()};b.prototype.YA=function(){this.Jv()};b.prototype.jA=function(){this.Hh=this.hu=0};b.prototype.Jv=function(){if(this.vc&&this.Vf){var b=this.fc.slice(),f=this.g.oT(this.vc),e=f-this.hu;if(e<0){this.fc=[];this.Hh=0}e=e>=0&&e<2;this.hu=f;var g;for(g=this.Hh;g<this.uf.length;g++)if(this.uf[g].time>f)break;for(;this.Hh<g;this.Hh++){f=this.uf[this.Hh];
if(f.action=="start"){this.fc=a(this.fc).union([f.cue]);e&&f.cue.trigger(new d(c.Ej))}else{this.fc=a(this.fc).difference([f.cue]);e&&f.cue.trigger(new d(c.ua))}}(b.length!=this.fc.length||a(b).intersection(this.fc).length!=this.fc.length)&&this.yA()}};b.prototype.Hx=function(){if(this.fc.length>0){this.fc=[];this.yA()}};b.prototype.yA=function(){this.Yj.trigger(new d(k.Ae,{activeCues:this.fc.slice()}))};b.prototype.pM=function(){this.uf=[];var b=this.Yj.get("cues",[]);a(b).each(function(a){this.uf.push(new j(a.get("startTime",
0),a,"start"));this.uf.push(new j(a.get("endTime",Number.POSITIVE_INFINITY),a,"end"))},this);this.uf.sort(function(a,b){return a.time==b.time?a.action==b.start?0:a.action=="start"?-1:1:a.time-b.time})};return b});
define("iP",["hp","bL","dZ","jq","hO"],function(a,b,c){var d=a.extend(c,function(a,b){c.call(this);this.D=a;this.g=b;this.Zu=[];this.X=d.Ki;this.sg=q;this.UM=m;this.Pg=q;this.oj=this.D.get("transitionDuration");this.li=m});d.prototype.display=function(a,b){this.XL();if(this.Pg!=a||this.X!=d.Ki)this.Zu.push({video:a,startTime:b}),this.E1()};d.prototype.hide=function(){this.XL();this.Zu.push({video:q,startTime:m});this.E1()};d.prototype.clear=function(){this.X=d.Ki;this.XL();this.Zha();this.yQ();this.g=
q};d.prototype.zj=function(a){if(this.X!=d.Ki&&(this.X==d.Am||this.X==d.lx))this.li+=a,a=Math.min(1,this.li/this.oj),this.X==d.Am?this.g.Fg(this.sg.Tc(),a):this.g.Fg(this.Pg.Tc(),1-a),this.li<this.oj?this.ea():this.X==d.Am?this.kN():this.lN()};d.prototype.E1=function(){0<this.Zu.length&&this.X==d.Ki&&this.Co()};d.prototype.Co=function(){this.Pg&&this.trigger(new b(d.Zq,{video:this.Pg}));if("fade_out_fade_in"==this.D.get("transitionMode","blending")&&this.Pg)this.wx();else{var a=this.Zu.shift();this.sg=
a.video;this.UM=a.startTime;this.sg?this.AL():this.Pg&&this.wx()}};d.prototype.AL=function(){this.W$();this.li=0;this.X=d.Am;this.ea()};d.prototype.kN=function(){this.yQ();this.Pg=this.sg;this.sg=q;this.Nr()};d.prototype.wx=function(){this.li=0;this.X=d.lx;this.ea()};d.prototype.lN=function(){this.yQ();this.Pg=q;this.Nr()};d.prototype.Nr=function(){this.X=d.Ki;this.Pg&&this.trigger(new b(d.$q,{video:this.Pg}));0!=this.Zu.length&&this.Co()};d.prototype.ea=function(){this.trigger(new b(d.ra))};d.prototype.XL=
function(){this.Zu=[]};d.prototype.W$=function(){this.sg&&(this.g.iB(this.sg.Tc()),this.g.DU(this.sg.Tc(),this.UM||0),this.g.jB(this.sg.Tc()),this.g.Fg(this.sg.Tc(),0),this.trigger(new b(d.fK,{video:this.sg,startTime:this.UM})))};d.prototype.yQ=function(){this.Pg&&(this.g.removeItem(this.Pg.Tc()),this.trigger(new b(d.KC,{video:this.Pg})),this.Pg=q)};d.prototype.Zha=function(){this.sg&&(this.g.removeItem(this.sg.Tc()),this.trigger(new b(d.KC,{video:this.sg})),this.sg=q)};d.Ki="stopped";d.Am="blending";
d.lx="disolving";d.ra="request frame";d.fK="video added";d.KC="video removed";d.$q="video show";d.Zq="video hide";return d});
define("fY","require,hp,jq,bL,dZ,ey".split(","),function(a){var b=a("hp"),c=a("jq"),d=a("bL"),f=a("dZ"),g=a("ey"),k=b.extend(f,function(a){f.call(this);this.g=a;this.g.bind(c.ua,this.YA,this);this.g.bind(c.U,this.Ys,this,p);this.vc=this.Yj=q;this.gd=y;this.GM=g.J});k.prototype.start=function(a,b){this.end();this.Yj=a;if(this.vc=a.Tc()){this.gd&&this.g.X7(this.vc);if(a.get("autoplay")){this.jb(g.Q);this.g.d8(this.vc)}else{this.jb(g.kc);this.g.c8(this.vc)}this.g.DU(this.vc,b||0)}};k.prototype.end=function(){this.stop();
this.vc=this.Yj=q};k.prototype.clear=function(){this.g.unbind(c.U,this.Ys,this,p);this.g.unbind(c.ua,this.YA,this);this.g=q};k.prototype.play=function(){if(this.vc){this.jb(g.Q);this.g.d8(this.vc)}};k.prototype.pause=function(){if(this.vc){this.jb(g.kc);this.g.c8(this.vc)}};k.prototype.stop=function(){if(this.vc){this.jb(g.J);this.g.fra(this.vc)}};k.prototype.rq=function(){if(!this.gd){this.gd=p;this.vc&&this.g.X7(this.vc)}};k.prototype.Dt=function(){if(this.gd){this.gd=y;this.vc&&this.g.pra(this.vc)}};
k.prototype.setTime=function(a){this.vc&&this.g.DU(this.vc,a)};k.prototype.getTime=function(){if(this.vc)return this.g.oT(this.vc)};k.prototype.Ys=function(a){a=a.data.item;this.vc==a&&this.trigger(new d(k.ar,{video:this.Yj,time:this.g.oT(a),duration:this.g.Cna(a)}))};k.prototype.YA=function(a){if(this.vc==a.data.item){if(this.Yj.get("loop")){this.setTime(0);this.play()}else this.jb(g.J);this.trigger(new d(k.Yq,{video:this.Yj}))}};k.prototype.jb=function(a){if(this.GM!=a){this.GM=a;this.trigger(new d(k.Fb,
{state:this.GM}))}};k.Fb="playback state change";k.Yq="video end";k.ar="video time change";return k});define("gO",["hp","bL","dZ","S"],function(a,b,c,d){var f=a.extend(c,function(a){c.call(this);this.V=p;this.bk=y;this.g=a});f.prototype.clear=function(){this.V=y;this.g=q};f.prototype.Ba=function(){this.bk||(this.bk=p,d.Ba(this.ff,this))};f.prototype.ff=function(a){this.V&&(this.bk=y,this.trigger(new b(f.$J,{frameTime:a})),this.g.render())};f.$J="frame";return f});
define("bO","hp,bL,dZ,hg,iP,fY,gO".split(","),function(a,b,c,d,f,g,k){var j=a.extend(c,function(a,b){c.call(this);this.D=a;this.g=b;this.wc=new k(this.g);this.wa=new f(this.D,this.g);this.$a=new g(this.g);this.Xj=new d(this.g);this.wc.bind(k.$J,this.N1,this,p);this.wa.bind(f.ra,this.Zb,this,p);this.wa.bind(f.Zq,this.rk,this,p);this.wa.bind(f.$q,this.Yh,this,p);this.wa.bind(f.fK,this.U1,this,p);this.wa.bind(f.KC,this.Z1,this,p);this.$a.bind(g.Fb,this.Od,this,p);this.$a.bind(g.Yq,this.qk,this,p);this.$a.bind(g.ar,
this.sz,this,p)});j.prototype.clear=function(){this.wc.clear();this.wa.clear();this.$a.clear();this.Xj.clear();this.wc.unbind(k.$J,this.N1,this);this.wa.unbind(f.ra,this.Zb,this);this.wa.unbind(f.Zq,this.rk,this);this.wa.unbind(f.$q,this.Yh,this);this.wa.unbind(f.fK,this.U1,this);this.wa.unbind(f.KC,this.Z1,this);this.$a.unbind(g.Fb,this.Od,this);this.$a.unbind(g.Yq,this.qk,this);this.$a.unbind(g.ar,this.sz,this);this.D=this.g=this.Xj=this.$a=this.wa=this.wc=q};j.prototype.Wqa=function(a,b){this.wa.display(a,
b)};j.prototype.vt=function(){this.wa.hide();this.$a.end();this.Xj.end()};j.prototype.play=function(){this.$a.play()};j.prototype.stop=function(){this.$a.stop()};j.prototype.pause=function(){this.$a.pause()};j.prototype.rq=function(){this.$a.rq()};j.prototype.Dt=function(){this.$a.Dt()};j.prototype.setTime=function(a){this.$a.setTime(a)};j.prototype.getTime=function(){return this.$a.getTime()};j.prototype.Zb=function(){this.wc.Ba()};j.prototype.N1=function(a){this.wa.zj(a.data.frameTime)};j.prototype.U1=
function(a){var b=a.data.video;this.$a.start(b,a.data.startTime);this.Xj.start(b)};j.prototype.Z1=D();j.prototype.Yh=function(a){this.trigger(new b(j.$q,{video:a.data.video}))};j.prototype.rk=function(a){this.trigger(new b(j.Zq,{video:a.data.video}))};j.prototype.qk=function(a){this.trigger(new b(j.Yq,{video:a.data.video}))};j.prototype.sz=function(a){this.trigger(new b(j.ar,{video:a.data.video,time:a.data.time,duration:a.data.duration}))};j.prototype.Od=function(a){a=a.data.state;this.Xj.Sd(a);this.trigger(new b(j.Fb,
{state:a}))};j.$q="videoShow";j.Zq="videoHide";j.Yq="videoEnd";j.ar="videoTimeChange";j.Fb="playbackStateChange";return j});
define("hk","require,hp,jq,bL,dl,ce,fC,ey,bO,hR".split(","),function(a){var b=a("hp"),c=a("jq"),d=a("bL"),f=a("dl"),g=a("ce"),k=a("fC"),j=a("ey"),h=a("bO"),n=a("hR"),a=b.extend(k,function(){k.call(this,"video");this.set("clickAction","none");this.set("displayPlayOverlay",y);this.Kr=this.pR=this.Ys=this.Ag=y;this.p=this.g=q;this.Ib=this.Wb=0;this.Nc=b.fo(this.Re,this)});f.A("VideoPlayer",a).C("Object").O({buttonPause:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPlay:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",
buttonPlayPause:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonStop:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonRestart:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",clickAction:"enum[play_pause, none]",displayPlayOverlay:"bool",displayPlaybackBar:"bool",currentTime:"number",state:"enum[stopped, playing, paused]",video:"Video",viewerArea:"ViewerArea"}).Gg({seek:function(a){this.Rz(a)},play:function(){this.Ru()},pause:function(){this.Qu()},
stop:function(){this.rs()},restart:function(){this.qs()}}).Yb([g.Xe,g.Ig,k.nd]);a.prototype.set=function(a,b){if(this.get(a)!=b){switch(a){case "startTime":this.pR=p;this.Nc();break;case "video":this.Ys=p;this.Nc();break;case "viewerArea":this.Ag=p;this.Nc();break;case "displayPlaybackBar":this.Kr=p;this.Nc()}k.prototype.set.call(this,a,b)}};a.prototype.get=function(a,b){switch(a){case "currentTime":return this.p&&this.p.getTime()||0}return k.prototype.get.call(this,a,b)};a.prototype.Re=function(){if(this.Ag){this.Ag=
y;this.Jr();this.get("viewerArea")&&this.Gr();this.VG(this.get("viewerArea"));this.Ys=p}var a=y;if(this.g&&(this.Ys||this.pR)){var b=this.get("video"),c=this.get("startTime")||0;if(b&&!this.g.cb()){this.Nc();return}this.pR=this.Ys=y;this.Ib=this.Wb=0;a=p;if(b){this.xG();this.p.Wqa(b,c)}else this.p.vt()}if(this.Kr){this.Kr=y;a=p}a&&this.OA()};a.prototype.lA=function(){this.set("video",q)};a.prototype.Gr=function(){var a=this.get("application"),b=this.get("viewerArea");this.g=new n(a,b,this);this.g.S({left:0,
top:0,bottom:0,right:0});b.pa(this.g);b.bind(c.W,this.c2,this,p);this.p=new h(b,this.g);this.p.bind(h.$q,this.Yh,this);this.p.bind(h.Zq,this.rk,this);this.p.bind(h.Yq,this.qk,this,p);this.p.bind(h.ar,this.sz,this,p);this.p.bind(h.Fb,this.Od,this);a.bind(c.ba("mute"),this.jz,this);a.get("mute",y)&&this.p.rq();this.rv(p)};a.prototype.Jr=function(){if(this.g){this.p.unbind(h.$q,this.Yh,this);this.p.unbind(h.Zq,this.rk,this);this.p.unbind(h.Yq,this.qk,this);this.p.unbind(h.ar,this.sz,this);this.p.unbind(h.Fb,
this.Od,this);this.p.clear();this.get("application").unbind(c.ba("mute"),this.jz,this);var a=this.g.getParent();a.removeChild(this.g);a.unbind(c.W,this.c2,this,p);this.g=q;this.rv(y)}};a.prototype.jz=function(){this.g&&(this.get("application").get("mute",y)?this.p.rq():this.p.Dt())};a.prototype.Od=function(a){a=a.data.state;this.g&&this.g.Jqa(this.get("displayPlayOverlay")&&a!=j.Q,this.Wb<0.5);this.jb(a)};a.prototype.Yh=function(a){var b=this.get("viewerArea");(this.ac=b&&b.ac)&&this.ac.bind(c.W,
this.d2,this,p);this.VP=y;this.lF(a.data.video)};a.prototype.rk=function(a){this.ac&&this.ac.unbind(c.W,this.d2,this,p);this.ac=q;this.kF(a.data.video)};a.prototype.qk=function(){this.get("video").trigger(new d(c.ua))};a.prototype.sz=function(a){this.Wb=a.data.time;this.Ib=a.data.duration;this.OA()};a.prototype.c2=function(){if(this.VP)this.VP=y;else switch(this.get("clickAction")){case "play_pause":this.get("state")!=j.Q?this.p.play():this.p.pause()}};a.prototype.d2=function(){this.VP=p};a.prototype.jG=
function(a){this.Rz(a.data.position)};a.prototype.xg=function(){this.p.play()};a.prototype.mj=function(){this.p.stop()};a.prototype.tk=function(){this.p.pause()};a.prototype.Rz=function(a){this.p&&this.p.setTime(a)};a.prototype.OA=function(){if(this.g){var a=this.g.getParent();this.Ib>0&&this.get("displayPlaybackBar")?a.S({playbackBarPosition:this.Wb,playbackBarDuration:this.Ib,playbackBarVisible:p}):a.set("playbackBarVisible",y)}};return a});
define("dv",["hp","dl","ce","cJ"],function(a,b,c,d){a=a.extend(d,function(){d.call(this)});b.A("VideoPlayListItem",a).C("PlayListItem").O({media:"Video",player:"VideoPlayer",startTime:"number"});a.prototype.start=function(){d.prototype.start.call(this);var a=this.get("player");a&&(a.bind(c.Xe,this.Yh,this),a.set("video",this.get("media")),a.set("startTime",this.get("startTime")))};a.prototype.stop=function(){var a=this.get("player");a&&(a.unbind(c.Xe,this.Yh,this),a.get("video")==this.get("media")&&
a.set("video",q));d.prototype.stop.call(this)};a.prototype.Yh=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(c.Xe,this.Yh,this),this.get("player").bind(c.Ig,this.rk,this),this.Pv())};a.prototype.rk=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(c.Ig,this.rk,this),this.end())};return a});
define("eQ",["require","hp","hH","dl"],function(a){var b=a("hp"),c=a("hH"),a=a("dl"),b=b.extend(c,function(){c.call(this)});a.A("VideoResourceLevel",b).C("Object").O({bitrate:"number",framerate:"number",height:"number",posterURL:"string",type:"string",url:"string",width:"number"}).Bj(["posterURL","url"]);return b});
define("im","require,hp,hH,dl,hB,eQ".split(","),function(a){var b=a("hp"),c=a("hH"),d=a("dl"),f=a("hB"),g=a("eQ"),a=b.extend(c,function(){c.call(this);this.iP=new g;this.iP.set("type","video/mp4");this.kP=new g;this.kP.set("type","video/ogg");this.DS=new g;this.DS.set("type","video/webm")});d.A("VideoResource",a).C("Object").O({levels:"array[VideoResourceLevel]",mp4Url:"string",oggUrl:"string",subtitlesURL:"string",webmUrl:"string",width:"number",height:"number"}).Bj(["mp4Url","oggUrl","subtitlesURL",
"webmUrl"]);a.prototype.get=function(a,b){switch(a){case "levels":var b=[],d=this.get("mp4Url");if(d){this.iP.set("url",d);b.push(this.iP)}if(d=this.get("oggUrl")){this.kP.set("url",d);b.push(this.kP)}if(d=this.get("webmUrl")){this.DS.set("url",d);b.push(this.DS)}b.forEach(function(a){a.set("width",this.get("width"));a.set("height",this.get("height"))}.bind(this))}return c.prototype.get.call(this,a,b)};a.prototype.fg=function(){var a=this.get("webmUrl"),b=this.get("oggUrl"),c=this.get("mp4Url");return c&&
f.GB?c:a&&f.wI?a:b&&f.AT?b:c||a||b};return a});
define("eq","require,jquery.mod,hp,jq,t,hS,d,em".split(","),function(a){var b=a("jquery.mod"),c=a("hp"),d=a("jq"),f=a("t"),g=a("hS"),k=a("d"),j=a("em"),a=c.extend(k,function(){k.call(this);this.xc("WebFrame");this.Ky=this.Or=this.Je=this.cq=q;this.rP=this.rP.bind(this);this.CF=this.CF.bind(this);this.bind(d.Ce,this.eha,this,p);this.bind(d.rf,this.dha,this,p)});a.prototype.oa=function(){k.prototype.oa.call(this);this.f("url");this.f("backgroundColor","#ffffff");this.f("insetBorder",y);this.f("scrollEnabled",
p)};a.prototype.eha=function(){this.Js("url")};a.prototype.dha=function(){this.Js("url")};a.prototype.Ka=function(){k.prototype.Ka.call(this);if(!this.cq){this.cq=b("<div></div>");this.cq.css({position:"absolute",left:0,top:0,width:"100%",height:"100%"});this.Pa().append(this.cq)}if(!this.Je){this.Je=b("<iframe></iframe>");this.Je.css({position:"absolute",left:0,top:0});this.Je.attr("allowfullscreen","true");this.Je.attr("allow","fullscreen; accelerometer; gyroscope; magnetometer; vr; autoplay; camera; microphone");
this.cq.append(this.Je)}if(!this.Or){this.Or=b("<div></div>");this.Or.css({"text-shadow":"0 0 5px rgba(255,255,255,0.5)",display:"none",color:"#000000","font-weight":"300","font-family":"Tahoma, Geneva, sans-serif","font-size":f.Na()?"5vmin":"20px",position:"absolute",top:"50%",left:"50%","text-align":"center",transform:"translate(-50%, -50%)",width:"90%"});this.cq.append(this.Or)}};a.prototype.da=function(){if(this.n("url")){var a=this.j("url");a&&this.fp?this.I3(a):this.I3("");this.o("url")}if(this.n("insetBorder")){this.j("insetBorder")?
this.Je.attr("frameborder","1"):this.Je.attr("frameborder","0");this.o("insetBorder")}if(this.n("scrollEnabled")){if(this.j("scrollEnabled")){this.Je.attr("scrolling","auto");this.cq.css({overflow:"auto","-webkit-overflow-scrolling":"touch"})}else{this.Je.attr("scrolling","no");this.cq.css({overflow:"hidden","-webkit-overflow-scrolling":"auto"})}this.o("scrollEnabled")}k.prototype.da.call(this)};a.prototype.he=function(){this.Je&&j.css(this.Je.get(0),{width:this.T+"px",height:this.ca+"px"});k.prototype.he.call(this)};
a.prototype.refresh=function(){if(this.j("url")&&this.fp){this.iO();this.ND();this.KR();this.Je.attr("src","");setTimeout(function(){this.i4();this.cY();this.Je.attr("src",this.j("url"))}.bind(this),30)}};a.prototype.I3=function(a){if(this.Je.attr("src")!=a){this.iO();if(a){this.i4();this.cY()}else{this.ND();this.KR()}this.Je.attr("src",a)}};a.prototype.rP=function(){this.Ky=q;this.tfa()&&this.Oja()};a.prototype.CF=function(){this.iO();this.ND();this.KR()};a.prototype.cY=function(){this.Je.on("load",
this.CF)};a.prototype.KR=function(){this.Je.off("load",this.CF)};a.prototype.ND=function(){if(this.Ky){clearTimeout(this.Ky);this.Ky=q}};a.prototype.i4=function(){this.ND();this.Ky=setTimeout(this.rP.bind(this),3E3)};a.prototype.tfa=function(){if(window.location.protocol=="https:"){var a=this.Je.attr("src");if(g.parse(a).protocol!="https:")return p}return y};a.prototype.Oja=function(){this.Or.text("A secure web page served over HTTPS can not display insecure content served over HTTP.");this.Or.show()};
a.prototype.iO=function(){this.Or.hide()};return a});define("bC",["hp","eq","dl"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("WebFrame",a).C("UIComponent").O({url:"string",insetBorder:"bool",scrollEnabled:"bool"}).Bj(["url"]).Gg({refresh:function(){b.prototype.refresh.call(this)}});return a});define("cA",["cL","hp","jc","c"],function(a,b,c,d){var f=b.extend(c,function(){c.call(this)});f.Za={layout:d.Be};a.defaults(f.Za,c.Za);f.prototype.oa=function(){this.Ri(f.Za)};return f});
define("ia","cL,hp,jq,bL,X,c,jc,cA,eL,dQ,d,iG,iT,fP".split(","),function(a,b,c,d,f,g,k,j,h,n,e,l,r,o){var s=b.extend(h,function(){h.call(this);this.xc("Window");this.Eo=this.cu=this.vA=this.Vg=q;this.FL=new k;this.tu=q;this.eO=this.dO=0;this.Z3=this.a4=y;this.ES=this.FS=m;for(var a in s.qsa)this.Js(a);this.bind(c.ub,this.Xla,this);this.bind(c.br,this.Vla,this);this.bind(c.Jt,this.Yla,this);this.bind(c.W,this.Ula,this);this.KH=0;this.Rc=new k;this.Rc.S({visible:y,includeInLayout:y,layout:"absolute",
height:"100%",width:"100%",backgroundOpacity:0,contentOpaque:y});this.Rc.bind(c.ub,this.E5,this);this.Rc.bind(c.Jt,this.Sla,this);this.Rc.bind(c.br,this.D5,this);this.Rc.bind(c.br,this.D5,this);this.Rc.bind(c.W,this.Rla,this);this.Rc.pa(this)});s.prototype.set=function(a,b){switch(a){case "maxWidth":this.FS=b;this.xH();break;case "maxHeight":this.ES=b;this.xH();break;case "children":this.FL.set(a,b);break;case "shadow":this.a4=b;this.A5();break;default:h.prototype.set.call(this,a,b)}};s.prototype.show=
function(b,c){this.xH(b);this.set("visible",y);this.Rc.set("visible",y);this.Baa();c&&this.yma();b.set("children",b.get("children").concat([this.Rc]));var d=this;a.defer(function(){d.Rc.set("visible",p)})};s.prototype.Baa=function(){var a=this.j("modal"),b=this.j("veilShowEffect"),c=this.j("veilHideEffect");a&&b?this.Rc.set("showEffect",b):this.Rc.set("showEffect",q);a&&c?this.Rc.set("hideEffect",c):this.Rc.set("hideEffect",q)};s.prototype.hide=function(){this.get("visible")&&this.trigger(c.hV);this.KH=
0;this.TG(y);this.set("visible",y)};s.prototype.yma=function(){this.set("centerX",0);this.set("centerY",0)};s.prototype.get=function(a,b){return a=="children"?this.FL.get(a,b):h.prototype.get.call(this,a,b)};s.fX={headerBackgroundOpacity:"backgroundOpacity",headerBackgroundColor:"backgroundColor",headerBackgroundColorRatios:"backgroundColorRatios",headerBackgroundColorDirection:"backgroundColorDirection",headerBorderSize:"borderSize",headerBorderLeftSize:"borderLeftSize",headerBorderTopSize:"borderTopSize",
headerBorderRightSize:"borderRightSize",headerBorderBottomSize:"borderBottomSize",headerBorderColor:"borderColor",headerBorderLeftColor:"borderLeftColor",headerBorderTopColor:"borderTopColor",headerBorderRightColor:"borderRightColor",headerBorderBottomColor:"borderBottomColor",headerHeight:"height",headerPaddingLeft:"paddingLeft",headerPaddingTop:"paddingTop",headerPaddingRight:"paddingRight",headerPaddingBottom:"paddingBottom",headerVerticalAlign:"verticalAlign"};s.eX=a(s.fX).keys();s.PK={borderRadius:"borderTopRadius",
borderTopRadius:"borderTopRadius",borderLeftRadius:"borderTopLeftRadius",borderRightRadius:"borderTopRightRadius",borderTopLeftRadius:"borderTopLeftRadius",borderTopRightRadius:"borderTopRightRadius"};s.OK=["borderLeftRadius","borderRightRadius","borderTopLeftRadius","borderTopRightRadius","borderTopRadius","borderRadius"];s.xX={title:"text",titleFontFamily:"fontFamily",titleFontSize:"fontSize",titleFontColor:"fontColor",titleFontWeight:"fontWeight",titleFontStyle:"fontStyle",titlePaddingLeft:"paddingLeft",
titlePaddingTop:"paddingTop",titlePaddingRight:"paddingRight",titlePaddingBottom:"paddingBottom",titleTextDecoration:"textDecoration",titleTextShadowColor:"textShadowColor",titleTextShadowHorizontalLength:"textShadowHorizontalLength",titleTextShadowVerticalLength:"textShadowVerticalLength",titleTextShadowBlurRadius:"textShadowBlurRadius",titleTextShadowOpacity:"textShadowOpacity"};s.wX=a(s.xX).keys();s.$W={closeButtonBackgroundColor:"backgroundColor",closeButtonBackgroundColorDirection:"backgroundColorDirection",
closeButtonBackgroundColorRatios:"backgroundColorRatios",closeButtonBackgroundOpacity:"backgroundOpacity",closeButtonBorderColor:"borderColor",closeButtonBorderRadius:"borderRadius",closeButtonBorderSize:"borderSize",closeButtonHeight:"height",closeButtonIconColor:"iconColor",closeButtonIconHeight:"iconHeight",closeButtonIconLineWidth:"iconLineWidth",closeButtonIconWidth:"iconWidth",closeButtonOpacity:"opacity",closeButtonWidth:"width",closeButtonPaddingBottom:"paddingBottom",closeButtonPaddingLeft:"paddingLeft",
closeButtonPaddingRight:"paddingRight",closeButtonPaddingTop:"paddingTop",closeButtonRollOverBackgroundColor:"rollOverBackgroundColor",closeButtonRollOverBackgroundColorDirection:"rollOverBackgroundColorDirection",closeButtonRollOverBackgroundColorRatios:"rollOverBackgroundColorRatios",closeButtonRollOverBackgroundOpacity:"rollOverBackgroundOpacity",closeButtonRollOverBorderColor:"rollOverBorderColor",closeButtonRollOverBorderSize:"rollOverBorderSize",closeButtonRollOverIconColor:"rollOverIconColor",
closeButtonRollOverIconLineWidth:"rollOverIconLineWidth",closeButtonRollOverOpacity:"rollOverOpacity",closeButtonPressedBackgroundColor:"pressedBackgroundColor",closeButtonPressedBackgroundColorDirection:"pressedBackgroundColorDirection",closeButtonPressedBackgroundColorRatios:"pressedBackgroundColorRatios",closeButtonPressedBackgroundOpacity:"pressedBackgroundOpacity",closeButtonPressedBorderColor:"pressedBorderColor",closeButtonPressedBorderSize:"pressedBorderSize",closeButtonPressedIconColor:"pressedIconColor",
closeButtonPressedIconLineWidth:"pressedIconLineWidth",closeButtonPressedOpacity:"pressedOpacity"};s.ZW=a(s.$W).keys();s.bX={footerBackgroundOpacity:"backgroundOpacity",footerBackgroundColor:"backgroundColor",footerBackgroundColorRatios:"backgroundColorRatios",footerBackgroundColorDirection:"backgroundColorDirection",footerBorderSize:"borderSize",footerBorderLeftSize:"borderLeftSize",footerBorderTopSize:"borderTopSize",footerBorderRightSize:"borderRightSize",footerBorderBottomSize:"borderBottomSize",
footerBorderColor:"borderColor",footerBorderLeftColor:"borderLeftColor",footerBorderTopColor:"borderTopColor",footerBorderRightColor:"borderRightColor",footerBorderBottomColor:"borderBottomColor",footerHeight:"height"};s.aX=a(s.bX).keys();s.dX={borderRadius:"borderBottomRadius",borderBottomRadius:"borderBottomRadius",borderLeftRadius:"borderBottomLeftRadius",borderRightRadius:"borderBottomRightRadius",borderBottomLeftRadius:"borderBottomLeftRadius",borderBottomRightRadius:"borderBottomRightRadius"};
s.cX=["borderLeftRadius","borderRightRadius","borderBottomLeftRadius","borderBottomRightRadius","borderBottomRadius","borderRadius"];s.WW={bodyBackgroundOpacity:"backgroundOpacity",bodyBackgroundColor:"backgroundColor",bodyBackgroundColorRatios:"backgroundColorRatios",bodyBackgroundColorDirection:"backgroundColorDirection",bodyBorderSize:"borderSize",bodyBorderLeftSize:"borderLeftSize",bodyBorderTopSize:"borderTopSize",bodyBorderRightSize:"borderRightSize",bodyBorderBottomSize:"borderBottomSize",
bodyBorderColor:"borderColor",bodyBorderLeftColor:"borderLeftColor",bodyBorderTopColor:"borderTopColor",bodyBorderRightColor:"borderRightColor",bodyBorderBottomColor:"borderBottomColor",bodyPaddingLeft:"paddingLeft",bodyPaddingTop:"paddingTop",bodyPaddingRight:"paddingRight",bodyPaddingBottom:"paddingBottom",overflow:"overflow",scrollBarColor:"scrollBarColor",scrollBarWidth:"scrollBarWidth",scrollBarMargin:"scrollBarMargin",scrollBarHorizontalMargin:"scrollBarHorizontalMargin",scrollBarVerticalMargin:"scrollBarVerticalMargin",
scrollBarOpacity:"scrollBarOpacity",gap:"gap"};s.VW=a(s.WW).keys();s.XW={layout:"layout",horizontalAlign:"horizontalAlign",verticalAlign:"verticalAlign"};s.A$=a(s.XW).keys();s.zX={veilOpacity:"backgroundOpacity",veilColor:"backgroundColor",veilColorRatios:"backgroundColorRatios",veilColorDirection:"backgroundColorDirection"};s.yX=a(s.zX).keys();s.Za=function(){var b={modal:y,visible:y,centerX:0,centerY:0,veilShowEffect:m,veilHideEffect:m};a.defaults(b,k.Za);for(var c=[].concat(s.eX,s.wX,s.ZW,s.VW,
s.aX,s.yX),d=0;d<c.length;d++)b[c[d]]=m;return b}();s.prototype.oa=function(){this.Ri(s.Za)};s.prototype.Ka=function(){h.prototype.Ka.call(this);if(this.Vg==q){this.Vg=new j;this.Vg.set("width","100%");this.Vg.bind(c.lb,this.Mea,this);this.pa(this.Vg)}if(this.vA==q){this.vA=new o;this.vA.set("width","100%");this.Vg.pa(this.vA)}if(this.cu==q){this.cu=new n;this.cu.S({horizontalAlign:f.tc,verticalAlign:f.cc});this.cu.bind(c.W,this.Jba,this);this.Vg.pa(this.cu)}if(this.Eo==q){this.Eo=this.FL;this.Eo.S({width:"100%",
height:"100%"});this.pa(this.Eo)}if(this.tu==q){this.tu=new k;this.tu.set("width","100%");this.pa(this.tu)}};s.prototype.Rla=function(){this.KH++;setTimeout(function(){this.KH>0&&this.hide()}.bind(this),100)};s.prototype.Ula=function(){this.KH--};s.prototype.Jba=function(){this.hide()};s.prototype.Mea=function(a){this.dO=a.pageX;this.eO=a.pageY;this.cb().bind(c.Ac,this.P5,this,p);this.cb().bind(c.Gb,this.Q5,this,p)};s.prototype.P5=function(a){this.set("centerX",this.get("centerX")+(a.pageX-this.dO));
this.set("centerY",this.get("centerY")+(a.pageY-this.eO));this.dO=a.pageX;this.eO=a.pageY;this.z5()};s.prototype.Q5=function(){this.cb().unbind(c.Ac,this.P5,this);this.cb().unbind(c.Gb,this.Q5,this)};s.prototype.E5=function(){this.xH()};s.prototype.Sla=function(){this.set("visible",p)};s.prototype.D5=function(){this.Rc.unbind(c.ub,this.E5,this);var a=this.Rc.getParent();a&&a.removeChild(this.Rc);this.trigger(new d(c.Mq))};s.prototype.Xla=function(){this.z5()};s.prototype.Yla=function(){this.TG(p)};
s.prototype.Vla=function(){this.Rc.set("visible",y)};s.prototype.TG=function(a){this.Z3=a;this.A5()};s.prototype.A5=function(){h.prototype.set.call(this,"shadow",this.Z3&&this.a4)};s.prototype.xH=function(a){a||(a=this.N);this.FS!==m?h.prototype.set.call(this,"maxWidth",this.FS):a?h.prototype.set.call(this,"maxWidth",a.Aa()):h.prototype.set.call(this,"maxWidth",m);this.ES!==m?h.prototype.set.call(this,"maxHeight",this.ES):a?h.prototype.set.call(this,"maxHeight",a.bb()):h.prototype.set.call(this,"maxHeight",
m)};s.prototype.z5=function(){var a=this.Rc.Aa(),b=this.Aa(),c=this.get("centerX"),b=a*0.5+c-b*0.5,d=this.Vg.oh(),e=this.Vg.Aa(),f=Math.min(e,30),a=a-d-f,d=-(d+e-f);b<d?this.set("centerX",c+(d-b)):b>a&&this.set("centerX",c-(b-a));a=this.Rc.bb();b=this.bb();c=this.get("centerY");b=a*0.5+c-b*0.5;d=this.Vg.am();e=this.Vg.bb();f=Math.min(e,5);a=a-d-f;d=-(d+e-f);b<d?this.set("centerY",c+(d-b)):b>a&&this.set("centerY",c-(b-a))};s.prototype.da=function(){this.Ua(s.eX,s.fX,[this.Vg],p,p);this.Ua(s.OK,s.PK,
[this.Vg],p,y);this.get("headerHeight")===0?this.Ua(s.OK,s.PK,[this.Eo],p,y):this.Ua(s.OK,s.PK,[this.Vg],p,y);this.Ua(s.wX,s.xX,[this.vA],p,p);this.Ua(s.ZW,s.$W,[this.cu],p,p);this.Ua(s.VW,s.WW,[this.Eo],p,p);this.Ua(s.A$,s.XW,[this.Eo],p,y);this.Ua(s.aX,s.bX,[this.tu],p,p);this.get("footerHeight")===0?this.Ua(s.cX,s.dX,[this.Eo],p,y):this.Ua(s.cX,s.dX,[this.tu],p,y);if(this.j("modal")){this.Ua(s.yX,s.zX,[this.Rc],p,p);this.Rc.set("contentOpaque",p)}else{this.Rc.set("backgroundOpacity",0);this.Rc.set("contentOpaque",
y)}this.S({layout:g.Ye,horizontalAlign:f.tc,verticalAlign:f.cc});h.prototype.da.call(this);this.Xi.bJ(0)};return s});
define("cM",["cL","hp","ia","dl","jq"],function(a,b,c,d,f){a=b.extend(c,function(){c.call(this)});d.A("Window",a).C("Container").O({modal:"bool",headerBackgroundOpacity:"number",headerBackgroundColor:"or[array[color], color]",headerBackgroundColorRatios:"array[number]",headerBackgroundColorDirection:"enum[horizontal, vertical]",headerBorderSize:"number",headerBorderLeftSize:"number",headerBorderTopSize:"number",headerBorderRightSize:"number",headerBorderBottomSize:"number",headerBorderColor:"color",
headerBorderLeftColor:"color",headerBorderTopColor:"color",headerBorderRightColor:"color",headerBorderBottomColor:"color",headerHeight:"number",headerPaddingLeft:"number",headerPaddingTop:"number",headerPaddingRight:"number",headerPaddingBottom:"number",headerVerticalAlign:"enum[bottom, middle, top]",title:"string",titleFontFamily:"string",titleFontSize:"or[number, size]",titleFontColor:"color",titleFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",titleFontStyle:"enum[italic, normal]",
titlePaddingLeft:"number",titlePaddingTop:"number",titlePaddingRight:"number",titlePaddingBottom:"number",titleTextDecoration:"enum[underline, overline, line-through, none]",titleTextShadowBlurRadius:"number",titleTextShadowColor:"color",titleTextShadowHorizontalLength:"number",titleTextShadowOpacity:"number",titleTextShadowVerticalLength:"number",closeButtonBackgroundColor:"or[array[color], color]",closeButtonBackgroundColorDirection:"enum[horizontal, vertical]",closeButtonBackgroundColorRatios:"array[number]",
closeButtonBackgroundOpacity:"number",closeButtonBorderColor:"color",closeButtonBorderRadius:"number",closeButtonBorderSize:"number",closeButtonHeight:"number",closeButtonIconColor:"color",closeButtonIconHeight:"number",closeButtonIconLineWidth:"number",closeButtonIconWidth:"number",closeButtonOpacity:"number",closeButtonWidth:"number",closeButtonPaddingBottom:"number",closeButtonPaddingLeft:"number",closeButtonPaddingRight:"number",closeButtonPaddingTop:"number",closeButtonRollOverBackgroundColor:"or[array[color], color]",
closeButtonRollOverBackgroundColorDirection:"enum[horizontal, vertical]",closeButtonRollOverBackgroundColorRatios:"array[number]",closeButtonRollOverBackgroundOpacity:"number",closeButtonRollOverBorderColor:"color",closeButtonRollOverBorderSize:"number",closeButtonRollOverIconColor:"color",closeButtonRollOverIconLineWidth:"number",closeButtonRollOverOpacity:"number",closeButtonPressedBackgroundColor:"or[array[color], color]",closeButtonPressedBackgroundColorDirection:"enum[horizontal, vertical]",
closeButtonPressedBackgroundColorRatios:"array[number]",closeButtonPressedBackgroundOpacity:"number",closeButtonPressedBorderColor:"color",closeButtonPressedBorderSize:"number",closeButtonPressedIconColor:"color",closeButtonPressedIconLineWidth:"number",closeButtonPressedOpacity:"number",footerBackgroundOpacity:"number",footerBackgroundColor:"or[array[color], color]",footerBackgroundColorRatios:"array[number]",footerBackgroundColorDirection:"enum[horizontal, vertical]",footerBorderSize:"number",footerBorderLeftSize:"number",
footerBorderTopSize:"number",footerBorderRightSize:"number",footerBorderBottomSize:"number",footerBorderColor:"color",footerBorderLeftColor:"color",footerBorderTopColor:"color",footerBorderRightColor:"color",footerBorderBottomColor:"color",footerHeight:"number",bodyBackgroundOpacity:"number",bodyBackgroundColor:"or[array[color], color]",bodyBackgroundColorRatios:"array[number]",bodyBackgroundColorDirection:"enum[horizontal, vertical]",bodyBorderSize:"number",bodyBorderLeftSize:"number",bodyBorderTopSize:"number",
bodyBorderRightSize:"number",bodyBorderBottomSize:"number",bodyBorderColor:"color",bodyBorderLeftColor:"color",bodyBorderTopColor:"color",bodyBorderRightColor:"color",bodyBorderBottomColor:"color",bodyPaddingLeft:"number",bodyPaddingTop:"number",bodyPaddingRight:"number",bodyPaddingBottom:"number",veilOpacity:"number",veilColor:"or[array[color], color]",veilColorRatios:"array[number]",veilColorDirection:"enum[horizontal, vertical]",veilHideEffect:"Effect",veilShowEffect:"Effect"}).mo(["titleFontSize"]).Gg({show:a.prototype.show,
hide:a.prototype.hide}).Yb([f.hV,f.Mq]);return a});
define("ir","require,jquery.mod,cL,jq,fh,bL,dZ,S,jf,bk,gP,hO,t,hp".split(","),function(a){function b(a){this.source=a;this.width=this.source.get("width");this.height=this.source.get("height");this.url=this.source.get("url");this.lw=this.source.get("grayscale");this.co=new l(g.dl)}var c=a("jquery.mod"),d=a("cL"),f=a("jq"),g=a("fh"),k=a("bL"),j=a("dZ"),h=a("S"),n=a("jf"),e=a("bk"),l=a("gP"),r=a("hO"),o=a("t"),s=a("hp"),t=s.extend(j,function(){j.call(this);this.Yd=q;this.O_=[];this.Nh=[];this.La=this.Da=
this.Ra=this.Oa=100;this.Oc=1;this.Io=this.Ho=0.5;this.rb=1;this.Lf=this.xf=q;this.bG=y;this.xM={};this.gu={};this.gu.low={};this.gu.hight={};if(o.Qv()==o.Nw){this.gu.low.transform="translateZ(0)";this.gu.hight.transform=""}this.V=y;this.Fe="inherit";this.v=c("<div/>").css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden"});this.oy=q;this.Gc=s.fo(this.G,this)});t.prototype.fb=P("v");t.prototype.Dq=function(a){if(this.Ic!=a){this.Ic=a;this.uL(1);this.Gc()}};t.prototype.Wpa=function(a){if(this.Fe!=
a){this.Fe=a;this.Lf&&this.Lf.css("cursor",this.Fe);this.xf&&this.xf.css("cursor",this.Fe)}};t.prototype.fqa=function(a){if(this.O_!=a){this.UL();this.Yd=q;if(this.xf){this.xf.detach();this.xf=q}if(this.Lf){this.Lf.detach();this.Lf=q}if(this.le)this.le=q;this.UL();this.bG=y;d(this.Nh).each(function(a){a.co.cancel();a.co.unbind(f.R,this.k0,this)},this);a=(this.O_=a)&&a.get("levels")||[];this.Nh=d(a).map(function(a){a=new b(a);a.co.bind(f.R,this.k0,this);return a},this);if(a=this.aea()){this.Da=a.width;
this.La=a.height}else this.La=this.Da=100;this.Io=this.Ho=0.5;this.uL(1);this.Gc()}};t.prototype.lm=function(a,b){if(this.Oa!=a||this.Ra!=b){this.Oa=a;this.Ra=b;this.Gc()}};t.prototype.Xpa=function(a,b){if(this.lZ!=a||this.kZ!=b){this.lZ=a;this.kZ=b;this.Gc()}};t.prototype.wd=function(a){if(this.V!=a){this.V=a;this.Gc()}};t.prototype.move=function(a,b){var c=this.Oc*this.rb;this.Ho=this.Ho+a/(this.Da*c);this.Io=this.Io+b/(this.La*c);this.yG()};t.prototype.nt=P("rb");t.prototype.setScale=function(a){this.uL(Math.max(1,
Math.min(1/this.Oc,a)));this.Yd&&this.Yd.width<this.rb*this.Oc*this.Da&&this.Yd.width<this.Da?this.G():this.yG()};t.prototype.H7=function(a){if(!this.xf)return y;var b=this.xf.offset(),c=a.pageX-b.left,a=a.pageY-b.top;return c>=0&&a>=0&&c<this.xf.width()&&a<this.xf.height()};t.prototype.G=function(){if(this.V){this.Jla();var a=this.gea();if(a&&a.co.ao()){if(a!=this.Yd){if(!this.Yd){this.Gc();this.bG=p}this.Dca(a);this.Yd=a}this.N3(q)}else this.N3(a);this.yG()}};t.prototype.Jla=function(){var a;switch(this.Ic){case r.Mj:a=
this.Oa/this.Da;break;case r.mg:a=this.Ra/this.La;break;case r.bl:a=this.Da*this.Ra>this.La*this.Oa?this.Ra/this.La:this.Oa/this.Da;break;case r.x9:a=Math.min(this.lZ/this.Da,this.kZ/this.La);break;default:a=this.Da*this.Ra>this.La*this.Oa?this.Oa/this.Da:this.Ra/this.La}this.zaa(a)};t.prototype.k0=function(){this.Gc()};t.prototype.Dca=function(a){if(this.Lf){this.VQ(this.Lf,1);this.xf&&this.xf.detach();this.xf=this.Lf}this.Lf=this.eca(a);this.VQ(this.Lf,0);this.v.append(this.Lf);this.le=this.bca();
this.xM={}};t.prototype.gea=function(){return this.Yd?this.zda(this.rb*this.Oc*this.Da):this.uea()};t.prototype.N3=function(a){d(this.Nh).each(function(b){b==a?b.co.fg()!=b.url&&b.co.load(b.url):b.co.ao()||b.co.cancel()})};t.prototype.aea=function(){return d(this.Nh).reduce(function(a,b){a||(a=b);if(b.width>a.width||b.width==a.width&&!b.lw&&a.lw)a=b;return a},q)};t.prototype.uea=function(){return d(this.Nh).reduce(function(a,b){a||(a=b);if(b.width<a.width||b.width==a.width&&b.lw&&!a.lw)a=b;return a},
q)};t.prototype.zda=function(a){return d(this.Nh).reduce(function(b,c){b||(b=c);if(c.width>=a&&b.width<a||c.width>=a&&c.width<b.width||c.width<a&&c.width>b.width||!c.lw&&b.lw)b=c;return b},q)};t.prototype.eca=function(a){a=c(a.co.Id(p));a.css({position:"absolute",cursor:this.Fe,"pointer-events":"none"});return a};t.prototype.bca=function(){return new n("linear",[new e("alpha",0,1)],200)};t.prototype.yG=function(){h.Ba(function(a){this.fv(a,"low")},this)};t.prototype.lT=function(){return this.Da*this.rb*
this.Oc};t.prototype.kT=function(){return this.La*this.rb*this.Oc};t.prototype.A6=function(){var a=this.lT();return a>this.Oa?Math.max(this.Oa-a,Math.min(0,this.Oa*0.5-a*this.Ho)):(this.Oa-a)*0.5};t.prototype.B6=function(){var a=this.kT();return a>this.Ra?Math.max(this.Ra-a,Math.min(0,this.Ra*0.5-a*this.Io)):(this.Ra-a)*0.5};t.prototype.fv=function(a,b){var b=b||"low",c=this.lT(),d=this.A6(),e=this.kT(),g=this.B6();this.Ho=(this.Oa*0.5-d)/c;this.Io=(this.Ra*0.5-g)/e;var c={left:Math.round(d)+"px",
top:Math.round(g)+"px",width:Math.round(c)+"px",height:Math.round(e)+"px",display:"block"},h;for(h in this.gu[b])c[h]=this.gu[b][h];if(this.xM!=c){this.xf&&this.xf.css(c);this.Lf&&this.Lf.css(c);this.xM=c}this.UL();if(this.le){this.le.eb(a);this.VQ(this.Lf,this.le.kb("alpha"));if(this.le.ge()){this.le=q;this.xf&&this.xf.detach();this.xf=this.Lf;this.Lf=q}this.yG()}else b=="low"&&this.Yja();if(!this.le&&this.bG){this.bG=y;this.trigger(new k(f.R))}};t.prototype.VQ=function(a,b){a.css({opacity:b,filter:"alpha(opacity="+
Math.round(b*100)+")","-ms-filter":"alpha(opacity="+Math.round(b*100)+")"})};t.prototype.UL=function(){if(this.oy!=q){clearTimeout(this.oy);this.oy=q}};t.prototype.Yja=function(){var a=this;this.oy=setTimeout(function(){a.oy=q;a.fv(50,"hight")},50)};t.prototype.uL=function(a){if(this.rb!=a){this.rb=a;this.Uka()}};t.prototype.zaa=function(a){if(this.Oc!=a)this.Oc=a};t.prototype.Uka=function(){this.trigger(new k(t.Sw,{scale:this.rb}))};t.Sw="scaleChange";return t});
define("gI","require,jquery.mod,jq,bL,ir,hp,d,F".split(","),function(a){a("jquery.mod");var b=a("jq"),c=a("bL"),d=a("ir"),f=a("hp"),g=a("d"),k=a("F"),j=f.extend(g,function(){g.call(this);this.xc("ZoomImage");this.zn=this.di=m;this.ih=y;this.F2=m;this.S_=this.rb;this.VA=q;this.g=new d;this.g.bind(b.R,this.Nga,this);this.g.bind(d.Sw,this.Oga,this);this.Pa().append(this.g.fb());this.bind(b.ub,this.hb,this,p);this.bind(b.Ce,this.Xh,this,p);this.bind(b.rf,this.Th,this,p);this.bind(b.lb,this.Ob,this,p);
this.bind(b.Ac,this.Qh,this,p);this.bind(b.Gb,this.Tf,this,p);this.bind(b.vo,this.hs,this,p);this.bind(b.Ht,this.Sr,this,p)});j.prototype.set=function(a,b){switch(a){case "scale":this.g.setScale(b);b=this.g.nt();break;case "imageLeft":case "imageTop":case "imageWidth":case "imageHeight":return}g.prototype.set.call(this,a,b)};j.prototype.get=function(a,b){switch(a){case "scale":return this.g.nt();case "imageLeft":return this.g.A6();case "imageTop":return this.g.B6();case "imageWidth":return this.g.lT();
case "imageHeight":return this.g.kT()}return g.prototype.get.call(this,a,b)};j.prototype.oa=function(){g.prototype.oa.call(this);this.f("image");this.f("scaleMode");this.f("customHeight");this.f("customWidth");this.f("imageCursor");this.f("imageLeft");this.f("imageTop");this.f("imageWidth");this.f("imageHeight")};j.prototype.da=function(){if(this.n("scaleMode")){this.g.Dq(this.j("scaleMode"));this.o("scaleMode")}if(this.n("image")){this.g.fqa(this.j("image"));this.o("image");this.S_=this.rb}if(this.n("customHeight")||
this.n("customWidth")){this.o("customHeight");this.o("customWidth");this.hb()}if(this.n("imageCursor")){this.o("imageCursor");this.g.Wpa(this.na.MM.v6(this.get("imageCursor")))}g.prototype.da.call(this)};j.prototype.hb=function(){var a=this.Aa(),b=this.bb(),c=this.get("customWidth","100%"),d=k.yj(c),c=d!==m?a*d/100:c,d=this.get("customHeight","100%"),f=k.yj(d);this.g.Xpa(c,f!==m?b*f/100:d);this.g.lm(a,b)};j.prototype.Xh=function(){this.g.wd(p)};j.prototype.Th=function(){this.g.wd(y)};j.prototype.Ob=
function(a){this.di=a.x;this.zn=a.y;this.ih=p;this.F2=this.g.H7(a)};j.prototype.Qh=function(a){if(this.ih){this.qS();this.g.move(-(a.x-this.di),-(a.y-this.zn));this.di=a.x;this.zn=a.y}};j.prototype.Tf=function(a){this.ih=y;!this.F2&&!this.g.H7(a)&&this.trigger(new c(j.sV))};j.prototype.hs=function(a){this.qS();this.g.setScale((1+a.Sn/20)*this.g.nt())};j.prototype.Sr=function(a){this.qS();this.g.setScale(a.scale/this.S_)};j.prototype.Nga=function(){this.trigger(new c(b.R))};j.prototype.Oga=function(){g.prototype.set.call(this,
"scale",this.g.nt());this.trigger(new c(j.Sw))};j.prototype.qS=function(){if(this.VA){clearTimeout(this.VA);this.VA=q}else this.trigger(new c(j.Ud));this.VA=setTimeout(function(){this.VA=q;this.trigger(new c(j.Td))}.bind(this),300)};j.sV="backgroundClick";j.Sw="scaleChange";j.Ud="userInteractionStart";j.Td="userInteractionEnd";return j});
define("iU",["hp","jq","gI","dl"],function(a,b,c,d){a=a.extend(c,function(){c.call(this)});d.A("ZoomImage",a).C("UIComponent").O({scaleMode:"enum[fit_inside, fit_outside, fit_to_width, fit_to_height, custom]",customHeight:"or[number,percent]",customWidth:"or[number,percent]",image:"ImageResource",imageCursor:"enum[default, hand]",imageHeight:"number",imageLeft:"number",imageTop:"number",imageWidth:"number",scale:"number"}).Yb([c.sV,c.Sw,c.Ud,c.Td,b.R]);return Image});
define("fU","gb,cS,de,jd,gl,dJ,fd,ga,hG,jh,eF,fk,eu,dE,bh,iQ,go,ic,dA,p,fX,cG,cI,gr,iA,fv,hK,eC,B,bU,s,hA,dX,L,gF,bf,W,iz,jb,do,hL,fW,bn,je,iw,hd,E,jI,cQ,fN,ja,o,gR,fg,hZ,fE,jG,eI,gZ,ba,bQ,bp,hw,fD,jB,dY,jg,bN,ht,dI,gh,fs,gE,el,ez,iF,fc,gK,gX,dR,fH,bD,dd,cJ,G,jr,hP,dr,ep,hf,bB,fy,iV,dh,iY,P,ei,cn,in,ff,gf,gC,eN,bv,w,cu,bq,gy,gi,jl,dH,ex,bA,hk,dv,im,eQ,bg,bC,cM,iU".split(","),R(p));
define("ee","require,cL,jquery.mod,hp,dl,fU,hS".split(","),function(a){function b(a,b){this.type=a;this.stack=b}function c(){}var d=a("cL"),f=a("jquery.mod"),g=a("hp"),k=a("dl");a("fU");a("hS");c.prototype.Zoa=function(a,b,c,d){this.oN=[];this.Kp=this.dv(a);this.dp=m;if(this.Kp.Rn.E6()){this.dp=this.UZ(this.Kp,j.Ji);this.hca(this.dp,this.Kp,b,c,d);this.uaa(this.Kp);this.saa(this.Kp,this.dp);this.vaa(this.dp,this.Kp);this.Jaa(this.dp,this.Kp)}else this.Pj("Invalid root class",[]);return this.oN.length==
0};c.prototype.cb=function(){return this.Kp.ad};c.prototype.dv=function(a,b){b=b||[];return d(a).isArray()?this.Pha(a,b):f.isPlainObject(a)&&a["class"]?this.Sha(a,b):f.isPlainObject(a)?this.Qha(a,b):d(a).isFunction()?this.Rha(a,b):this.Tha(a,b)};c.prototype.Pha=function(a,b){for(var c=[],d=0;d<a.length;d++){b.push("Item["+d+"]");c.push(this.dv(a[d],b));b.pop()}return new h(b.slice(),c)};c.prototype.Sha=function(a,b){var c=a["class"],d=k.Zl(a["class"]);if(d){var e,c={},f={},g;for(g in a){b.push(g);
var h=a[g];switch(g){case "class":break;case "scripts":e=this.dv(h,b);break;default:d.hasAttribute(g)?c[g]=this.dv(h,b):d.c7(g)||d.d7(g)?f[g]=this.dv(h,b):this.Pj(d.aw()+" object doesn't have any attribute named "+g,b)}b.pop()}return new j(b.slice(),d,a.id,c,f,e)}this.Pj("Undefined class name: "+c,b.slice());return new l(b.slice(),q)};c.prototype.Qha=function(a,b){var c={},d;for(d in a){b.push(d);c[d]=this.dv(a[d],b);b.pop()}return new n(b.slice(),c)};c.prototype.Rha=function(a,b){return new e(b.slice(),
a)};c.prototype.Tha=function(a,b){return new l(b.slice(),a)};c.prototype.UZ=function(a,b){for(var c=!b||a.type==b?[a]:[],d=0,e=a.Qa();d<e.length;d++)c=c.concat(this.UZ(e[d],b));return c};c.prototype.hca=function(a,b,c,d,e){b.ad=b.Rn.hq(q,d,e,[c]);b.ad.set("application",b.ad);for(c=0;c<a.length;c++){var f=a[c];if(f!=b)f.ad=f.Rn.hq(b.ad,d,e)}};c.prototype.uaa=function(a){if(a.scripts)if(a.scripts.type==n.Ji)for(var b in a.scripts.value)this.taa(a,b);else this.Pj("Invalid content.",a.scripts.stack)};
c.prototype.taa=function(a,b){var c=a.ad,f=a.scripts.value[b];d(c[b]).isUndefined()?f&&f.type==e.Ji?c[b]=function(){return f.hm().apply(c,arguments)}:this.Pj("Invalid content.",f.stack):this.Pj("Identifier: "+b+" is already in use",f.stack)};c.prototype.saa=function(a,b){for(var c=a.ad,e=0;e<b.length;e++){var f=b[e],g=f.id;if(g)d(c[g]).isUndefined()?c[g]=f.ad:this.Pj("Identifier: "+g+" is arleady in use",f.stack)}};c.prototype.vaa=function(a,b){for(var c=0;c<a.length;c++){var d=a[c],e=d.attributes,
f;for(f in e)this.raa(d,f,b)}};c.prototype.raa=function(a,b,c){var d=a.Rn;if(d.hasAttribute(b)){var e=a.attributes[b].hm();try{e=d.eT(b)(e,c.ad);a.ad.set(b,e)}catch(f){this.Pj("Invalid value for property "+b+" of "+d.aw()+" instance",a.stack)}}else this.Pj(d.aw()+" object doesn't have any property named "+b,a.stack)};c.prototype.Jaa=function(a,b){for(var c=0;c<a.length;c++){var d=a[c],e;for(e in d.ft)this.Iaa(d,e,b)}};c.prototype.Iaa=function(a,b,c){var e=a.Rn,f=a.ad,g=e.c7(b),h=e.d7(b);if(g||h){var a=
a.ft[b],j=a.hm();d(j).isFunction()?f.bind(b,j,c.ad,h,j):typeof j=="string"?f.bind(b,function(){eval("var event = arguments[0];"+j)},c.ad,h,j):this.Pj("Invalid value.",a.stack)}else this.Pj(e.aw()+" object doesn't have any event named "+b,a.stack)};c.prototype.Pj=function(a,b){this.oN.push("In "+b.join(" >> ")+": "+a)};b.prototype.Qa=function(){return[]};b.prototype.hm=D();var j=g.extend(b,function(a,c,d,e,f,g){b.call(this,j.Ji,a);this.Rn=c;this.id=d;this.attributes=e;this.ft=f;this.scripts=g;this.ad=
q});j.prototype.Qa=function(){var a=this.Rn.L6(),b=[],c=d(this.attributes).clone();if(a)for(var e=0;e<a.length;e++){var f=a[e];if(c[f]!=m){b.push(c[f]);delete c[f]}}return b=b.concat(d(c).values())};j.prototype.hm=P("ad");j.Ji="instance";var h=g.extend(b,function(a,c){b.call(this,h.Ji,a);this.xj=c});h.prototype.Qa=function(){return this.xj.slice()};h.prototype.hm=function(){for(var a=[],b=0;b<this.xj.length;b++)a.push(this.xj[b].hm());return a};h.Ji="array";var n=g.extend(b,function(a,c){b.call(this,
n.Ji,a);this.value=c});n.prototype.Qa=function(){return d(this.value).values()};n.prototype.hm=function(){var a={},b;for(b in this.value)a[b]=this.value[b].hm();return a};n.Ji="dict";var e=g.extend(b,function(a,c){b.call(this,e.Ji,a);this.value=c});e.prototype.hm=P("value");e.Ji="function";var l=g.extend(b,function(a,c){b.call(this,l.Ji,a);this.value=c});l.prototype.hm=P("value");l.Ji="simple";return c});
define("io","require,cL,jq,bL,dl,ee,t,df,hS,bd,eP,it,jp,iu,hp".split(","),function(a){function b(a,b){k.Na()&&!k.Ue()&&o.Hd();var c=l.name,d=[];c&&d.push(c);d.push("v:"+l.PT+"."+l.WT);s.log(d.join(" "));this.Cj=b;if(h.zoa()||[k.Hq,k.Iq].indexOf(k.browser())>=0){this.$h=new g;if(c=this.Cj.get(TDV.PlayerSettings.BASE_DIR_URL)){c=h.Eq(c);c[c.length-1]!="/"&&(c=c+"/")}else c=h.getDirectory(this.Cj.get(TDV.PlayerSettings.SELECTED_SCRIPT_URL));this.h8=this.Cj.get(TDV.PlayerSettings.QUERY_STRING_PARAMETERS);
j.lpa(c,function(b){this.X5=b;this.nha(a)}.bind(this))}else window.alert(r("web-server-required"))}var c=a("cL"),d=a("jq");a("bL");var f=a("dl"),g=a("ee"),k=a("t"),j=a("df"),h=a("hS"),n=a("bd"),e=a("eP"),l=a("it"),r=a("jp"),o=a("iu"),s=a("hp");b.prototype.nha=function(a){a.trigger(new TDV.vK(d.i$,{},[],m));c.defer(function(){if(!this.$h.Zoa(this.Cj.get(TDV.PlayerSettings.SCRIPT_DATA),this.Cj.get(TDV.PlayerSettings.CONTAINER),this.X5,this.h8)){if(l.gra!="false"){window.alert(this.v_());return}s.log(this.v_())}this.Haa(a);
this.paa(this.Cj);this.waa();n.Rk(function(){this.Wka()}.bind(this))}.bind(this))};b.prototype.clear=function(){if(this.$h){c(this.$h.dp).each(function(a){a.ad.i9();c(a.Rn.xB()).each(function(b){switch(b){case "VideoPlayer":a.ad.stop();case "MapPlayer":case "PanoramaPlayer":case "PhotoAlbumPlayer":case "VideoPlayer":a.ad.set("viewerArea",q);break;case "ZoomImage":a.ad.set("image",q);break;case "Audio":a.ad.stop();break;case "Effect":a.ad.end();break;case "Media":a.ad.wpa()}})});e.epa();this.$h.cb().clear();
this.Cj=this.$h=q}};b.prototype.Qna=function(a){return this.$h.cb()[a]};b.prototype.P6=function(a){var b=[];c(this.$h.dp).each(function(d){var e=d.Rn.xB();c(e).contains(a)&&b.push(d.ad)});return b};b.prototype.hq=function(a){var b=f.Zl(a);b||i("Invalid className: "+a);return b.hq(this.$h.cb(),this.X5,this.h8)};b.prototype.v_=function(){for(var a=this.$h.oN,b=["Errors parsing script file:"],c=0;c<a.length;c++)b.push(a[c]);return b.join("\n")};b.prototype.Haa=function(a){c(this.$h.dp).each(function(b){var d=
b.Rn,e=b.ad,f=b.id,g=d.xB();c.union(d.hT(),d.mT()).forEach(function(b){e.bind(b,function(c){a.trigger(new TDV.vK(b,c,g,f))},this,p)})})};b.prototype.paa=function(a){this.$h.cb().set("settings",a)};b.prototype.waa=function(){var a=this.$h.cb(),b=this;a.getByClassName=a.Zl=function(){return b.P6.apply(b,arguments)};a.createInstance=a.hq=function(){return b.hq.apply(b,arguments)};a.isInstanceOfClass=a.tb=function(){return f.tb.apply(f,arguments)}};b.prototype.Wka=function(){this.$h.cb().start()};b.nra=
function(a){a.trigger(new TDV.vK(d.R9,{},[],m))};return b});define("main",["require","jquery.mod","io"],function(a){var b=a("jquery.mod"),c=a("io");b(document).ready(function(){TDV.va.Kqa(c)})});
// threejs.org/license
(function(t,e){e(t.THREE=t.THREE||{})})(this,function(k){function ua(){}function w(a,b){void 0===a&&(a=0);void 0===b&&(b=0);this.x=a;this.y=b}function xa(){this.elements=[1,0,0,0,1,0,0,0,1];0<arguments.length&&console.error("THREE.Matrix3: the constructor no longer reads arguments. use .set() instead.")}function W(a,b,c,d,e,f,g,h,l,n){Object.defineProperty(this,"id",
{value:hj++});this.uuid=K.generateUUID();this.name="";this.image=void 0!==a?a:W.DEFAULT_IMAGE;this.mipmaps=[];this.mapping=void 0!==b?b:W.DEFAULT_MAPPING;this.wrapS=void 0!==c?c:1001;this.wrapT=void 0!==d?d:1001;this.magFilter=void 0!==e?e:1006;this.minFilter=void 0!==f?f:1008;this.anisotropy=void 0!==l?l:1;this.format=void 0!==g?g:1023;this.internalFormat=null;this.type=void 0!==h?h:1009;this.offset=new w(0,0);this.repeat=new w(1,1);this.center=new w(0,0);this.rotation=0;this.matrixAutoUpdate=!0;
this.matrix=new xa;this.generateMipmaps=!0;this.premultiplyAlpha=!1;this.flipY=!0;this.unpackAlignment=4;this.encoding=void 0!==n?n:3E3;this.version=0;this.onUpdate=null}function Y(a,b,c,d){void 0===a&&(a=0);void 0===b&&(b=0);void 0===c&&(c=0);void 0===d&&(d=1);this.x=a;this.y=b;this.z=c;this.w=d}function Ha(a,b,c){this.width=a;this.height=b;this.scissor=new Y(0,0,a,b);this.scissorTest=!1;this.viewport=new Y(0,0,a,b);c=c||{};this.texture=new W(void 0,c.mapping,c.wrapS,c.wrapT,c.magFilter,c.minFilter,
c.format,c.type,c.anisotropy,c.encoding);this.texture.image={};this.texture.image.width=a;this.texture.image.height=b;this.texture.generateMipmaps=void 0!==c.generateMipmaps?c.generateMipmaps:!1;this.texture.minFilter=void 0!==c.minFilter?c.minFilter:1006;this.depthBuffer=void 0!==c.depthBuffer?c.depthBuffer:!0;this.stencilBuffer=void 0!==c.stencilBuffer?c.stencilBuffer:!0;this.depthTexture=void 0!==c.depthTexture?c.depthTexture:null}function ag(a,b,c){Ha.call(this,a,b,c);this.samples=4}function na(a,
b,c,d){void 0===a&&(a=0);void 0===b&&(b=0);void 0===c&&(c=0);void 0===d&&(d=1);this._x=a;this._y=b;this._z=c;this._w=d}function m(a,b,c){void 0===a&&(a=0);void 0===b&&(b=0);void 0===c&&(c=0);this.x=a;this.y=b;this.z=c}function M(){this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];0<arguments.length&&console.error("THREE.Matrix4: the constructor no longer reads arguments. use .set() instead.")}function Ub(a,b,c,d){void 0===a&&(a=0);void 0===b&&(b=0);void 0===c&&(c=0);void 0===d&&(d=Ub.DefaultOrder);
this._x=a;this._y=b;this._z=c;this._order=d}function Fe(){this.mask=1}function z(){Object.defineProperty(this,"id",{value:ij++});this.uuid=K.generateUUID();this.name="";this.type="Object3D";this.parent=null;this.children=[];this.up=z.DefaultUp.clone();var a=new m,b=new Ub,c=new na,d=new m(1,1,1);b._onChange(function(){c.setFromEuler(b,!1)});c._onChange(function(){b.setFromQuaternion(c,void 0,!1)});Object.defineProperties(this,{position:{configurable:!0,enumerable:!0,value:a},rotation:{configurable:!0,
enumerable:!0,value:b},quaternion:{configurable:!0,enumerable:!0,value:c},scale:{configurable:!0,enumerable:!0,value:d},modelViewMatrix:{value:new M},normalMatrix:{value:new xa}});this.matrix=new M;this.matrixWorld=new M;this.matrixAutoUpdate=z.DefaultMatrixAutoUpdate;this.matrixWorldNeedsUpdate=!1;this.layers=new Fe;this.visible=!0;this.receiveShadow=this.castShadow=!1;this.frustumCulled=!0;this.renderOrder=0;this.userData={}}function xd(){z.call(this);this.type="Scene";this.overrideMaterial=this.fog=
this.environment=this.background=null;this.autoUpdate=!0;"undefined"!==typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}function Ta(a,b){this.min=void 0!==a?a:new m(Infinity,Infinity,Infinity);this.max=void 0!==b?b:new m(-Infinity,-Infinity,-Infinity)}function bg(a,b,c,d,e){for(var f=0,g=a.length-3;f<=g;f+=3){Vb.fromArray(a,f);var h=e.x*Math.abs(Vb.x)+e.y*Math.abs(Vb.y)+e.z*Math.abs(Vb.z),l=b.dot(Vb),n=c.dot(Vb),q=d.dot(Vb);if(Math.max(-Math.max(l,
n,q),Math.min(l,n,q))>h)return!1}return!0}function eb(a,b){this.center=void 0!==a?a:new m;this.radius=void 0!==b?b:-1}function Wb(a,b){this.origin=void 0!==a?a:new m;this.direction=void 0!==b?b:new m(0,0,-1)}function Ua(a,b){this.normal=void 0!==a?a:new m(1,0,0);this.constant=void 0!==b?b:0}function wa(a,b,c){this.a=void 0!==a?a:new m;this.b=void 0!==b?b:new m;this.c=void 0!==c?c:new m}function D(a,b,c){return void 0===b&&void 0===c?this.set(a):this.setRGB(a,b,c)}function cg(a,b,c){0>c&&(c+=1);1<
c&&--c;return c<1/6?a+6*(b-a)*c:.5>c?b:c<2/3?a+6*(b-a)*(2/3-c):a}function dg(a){return.04045>a?.0773993808*a:Math.pow(.9478672986*a+.0521327014,2.4)}function eg(a){return.0031308>a?12.92*a:1.055*Math.pow(a,.41666)-.055}function zc(a,b,c,d,e,f){this.a=a;this.b=b;this.c=c;this.normal=d&&d.isVector3?d:new m;this.vertexNormals=Array.isArray(d)?d:[];this.color=e&&e.isColor?e:new D;this.vertexColors=Array.isArray(e)?e:[];this.materialIndex=void 0!==f?f:0}function G(){Object.defineProperty(this,"id",{value:jj++});
this.uuid=K.generateUUID();this.name="";this.type="Material";this.fog=!0;this.blending=1;this.side=0;this.vertexColors=this.flatShading=!1;this.opacity=1;this.transparent=!1;this.blendSrc=204;this.blendDst=205;this.blendEquation=100;this.blendEquationAlpha=this.blendDstAlpha=this.blendSrcAlpha=null;this.depthFunc=3;this.depthWrite=this.depthTest=!0;this.stencilWriteMask=255;this.stencilFunc=519;this.stencilRef=0;this.stencilFuncMask=255;this.stencilZPass=this.stencilZFail=this.stencilFail=7680;this.stencilWrite=
!1;this.clippingPlanes=null;this.clipShadows=this.clipIntersection=!1;this.shadowSide=null;this.colorWrite=!0;this.precision=null;this.polygonOffset=!1;this.polygonOffsetUnits=this.polygonOffsetFactor=0;this.dithering=!1;this.alphaTest=0;this.premultipliedAlpha=!1;this.toneMapped=this.visible=!0;this.userData={};this.version=0}function Oa(a){G.call(this);this.type="MeshBasicMaterial";this.color=new D(16777215);this.lightMap=this.map=null;this.lightMapIntensity=1;this.aoMap=null;this.aoMapIntensity=
1;this.envMap=this.alphaMap=this.specularMap=null;this.combine=0;this.reflectivity=1;this.refractionRatio=.98;this.wireframe=!1;this.wireframeLinewidth=1;this.wireframeLinejoin=this.wireframeLinecap="round";this.morphTargets=this.skinning=!1;this.setValues(a)}function H(a,b,c){if(Array.isArray(a))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.name="";this.array=a;this.itemSize=b;this.count=void 0!==a?a.length/b:0;this.normalized=!0===c;this.usage=35044;this.updateRange=
{offset:0,count:-1};this.version=0}function yd(a,b,c){H.call(this,new Int8Array(a),b,c)}function zd(a,b,c){H.call(this,new Uint8Array(a),b,c)}function Ad(a,b,c){H.call(this,new Uint8ClampedArray(a),b,c)}function Bd(a,b,c){H.call(this,new Int16Array(a),b,c)}function Xb(a,b,c){H.call(this,new Uint16Array(a),b,c)}function Cd(a,b,c){H.call(this,new Int32Array(a),b,c)}function Yb(a,b,c){H.call(this,new Uint32Array(a),b,c)}function B(a,b,c){H.call(this,new Float32Array(a),b,c)}function Dd(a,b,c){H.call(this,
new Float64Array(a),b,c)}function vh(){this.vertices=[];this.normals=[];this.colors=[];this.uvs=[];this.uvs2=[];this.groups=[];this.morphTargets={};this.skinWeights=[];this.skinIndices=[];this.boundingSphere=this.boundingBox=null;this.groupsNeedUpdate=this.uvsNeedUpdate=this.colorsNeedUpdate=this.normalsNeedUpdate=this.verticesNeedUpdate=!1}function wh(a){if(0===a.length)return-Infinity;for(var b=a[0],c=1,d=a.length;c<d;++c)a[c]>b&&(b=a[c]);return b}function F(){Object.defineProperty(this,"id",{value:kj+=
2});this.uuid=K.generateUUID();this.name="";this.type="BufferGeometry";this.index=null;this.attributes={};this.morphAttributes={};this.morphTargetsRelative=!1;this.groups=[];this.boundingSphere=this.boundingBox=null;this.drawRange={start:0,count:Infinity};this.userData={}}function X(a,b){z.call(this);this.type="Mesh";this.geometry=void 0!==a?a:new F;this.material=void 0!==b?b:new Oa;this.updateMorphTargets()}function xh(a,b,c,d,e,f,g,h){if(null===(1===b.side?d.intersectTriangle(g,f,e,!0,h):d.intersectTriangle(e,
f,g,2!==b.side,h)))return null;Ge.copy(h);Ge.applyMatrix4(a.matrixWorld);b=c.ray.origin.distanceTo(Ge);return b<c.near||b>c.far?null:{distance:b,point:Ge.clone(),object:a}}function He(a,b,c,d,e,f,g,h,l,n,q,p){Cb.fromBufferAttribute(e,n);Db.fromBufferAttribute(e,q);Eb.fromBufferAttribute(e,p);e=a.morphTargetInfluences;if(b.morphTargets&&f&&e){Ie.set(0,0,0);Je.set(0,0,0);Ke.set(0,0,0);for(var v=0,t=f.length;v<t;v++){var k=e[v],u=f[v];0!==k&&(fg.fromBufferAttribute(u,n),gg.fromBufferAttribute(u,q),hg.fromBufferAttribute(u,
p),g?(Ie.addScaledVector(fg,k),Je.addScaledVector(gg,k),Ke.addScaledVector(hg,k)):(Ie.addScaledVector(fg.sub(Cb),k),Je.addScaledVector(gg.sub(Db),k),Ke.addScaledVector(hg.sub(Eb),k)))}Cb.add(Ie);Db.add(Je);Eb.add(Ke)}a.isSkinnedMesh&&(a.boneTransform(n,Cb),a.boneTransform(q,Db),a.boneTransform(p,Eb));if(a=xh(a,b,c,d,Cb,Db,Eb,Ed))h&&(Ac.fromBufferAttribute(h,n),Bc.fromBufferAttribute(h,q),Cc.fromBufferAttribute(h,p),a.uv=wa.getUV(Ed,Cb,Db,Eb,Ac,Bc,Cc,new w)),l&&(Ac.fromBufferAttribute(l,n),Bc.fromBufferAttribute(l,
q),Cc.fromBufferAttribute(l,p),a.uv2=wa.getUV(Ed,Cb,Db,Eb,Ac,Bc,Cc,new w)),h=new zc(n,q,p),wa.getNormal(Cb,Db,Eb,h.normal),a.face=h;return a}function L(){Object.defineProperty(this,"id",{value:lj+=2});this.uuid=K.generateUUID();this.name="";this.type="Geometry";this.vertices=[];this.colors=[];this.faces=[];this.faceVertexUvs=[[]];this.morphTargets=[];this.morphNormals=[];this.skinWeights=[];this.skinIndices=[];this.lineDistances=[];this.boundingSphere=this.boundingBox=null;this.groupsNeedUpdate=this.lineDistancesNeedUpdate=
this.colorsNeedUpdate=this.normalsNeedUpdate=this.uvsNeedUpdate=this.verticesNeedUpdate=this.elementsNeedUpdate=!1}function Dc(a){var b={},c;for(c in a){b[c]={};for(var d in a[c]){var e=a[c][d];e&&(e.isColor||e.isMatrix3||e.isMatrix4||e.isVector2||e.isVector3||e.isVector4||e.isTexture)?b[c][d]=e.clone():Array.isArray(e)?b[c][d]=e.slice():b[c][d]=e}}return b}function va(a){for(var b={},c=0;c<a.length;c++){var d=Dc(a[c]),e;for(e in d)b[e]=d[e]}return b}function Ba(a){G.call(this);this.type="ShaderMaterial";
this.defines={};this.uniforms={};this.vertexShader="void main() {\n\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}";this.fragmentShader="void main() {\n\tgl_FragColor = vec4( 1.0, 0.0, 0.0, 1.0 );\n}";this.linewidth=1;this.wireframe=!1;this.wireframeLinewidth=1;this.morphNormals=this.morphTargets=this.skinning=this.clipping=this.lights=this.fog=!1;this.extensions={derivatives:!1,fragDepth:!1,drawBuffers:!1,shaderTextureLOD:!1};this.defaultAttributeValues={color:[1,1,
1],uv:[0,0],uv2:[0,0]};this.index0AttributeName=void 0;this.uniformsNeedUpdate=!1;void 0!==a&&(void 0!==a.attributes&&console.error("THREE.ShaderMaterial: attributes should now be defined in THREE.BufferGeometry instead."),this.setValues(a))}function fb(){z.call(this);this.type="Camera";this.matrixWorldInverse=new M;this.projectionMatrix=new M;this.projectionMatrixInverse=new M}function P(a,b,c,d){fb.call(this);this.type="PerspectiveCamera";this.fov=void 0!==a?a:50;this.zoom=1;this.near=void 0!==
c?c:.1;this.far=void 0!==d?d:2E3;this.focus=10;this.aspect=void 0!==b?b:1;this.view=null;this.filmGauge=35;this.filmOffset=0;this.updateProjectionMatrix()}function Ec(a,b,c){z.call(this);this.type="CubeCamera";if(!0!==c.isWebGLCubeRenderTarget)console.error("THREE.CubeCamera: The constructor now expects an instance of WebGLCubeRenderTarget as third parameter.");else{this.renderTarget=c;var d=new P(90,1,a,b);d.layers=this.layers;d.up.set(0,-1,0);d.lookAt(new m(1,0,0));this.add(d);var e=new P(90,1,
a,b);e.layers=this.layers;e.up.set(0,-1,0);e.lookAt(new m(-1,0,0));this.add(e);var f=new P(90,1,a,b);f.layers=this.layers;f.up.set(0,0,1);f.lookAt(new m(0,1,0));this.add(f);var g=new P(90,1,a,b);g.layers=this.layers;g.up.set(0,0,-1);g.lookAt(new m(0,-1,0));this.add(g);var h=new P(90,1,a,b);h.layers=this.layers;h.up.set(0,-1,0);h.lookAt(new m(0,0,1));this.add(h);var l=new P(90,1,a,b);l.layers=this.layers;l.up.set(0,-1,0);l.lookAt(new m(0,0,-1));this.add(l);this.update=function(a,b){null===this.parent&&
this.updateMatrixWorld();var n=a.xr.enabled,q=a.getRenderTarget();a.xr.enabled=!1;var t=c.texture.generateMipmaps;c.texture.generateMipmaps=!1;a.setRenderTarget(c,0);a.render(b,d);a.setRenderTarget(c,1);a.render(b,e);a.setRenderTarget(c,2);a.render(b,f);a.setRenderTarget(c,3);a.render(b,g);a.setRenderTarget(c,4);a.render(b,h);c.texture.generateMipmaps=t;a.setRenderTarget(c,5);a.render(b,l);a.setRenderTarget(q);a.xr.enabled=n};this.clear=function(a,b,d,e){for(var f=a.getRenderTarget(),g=0;6>g;g++)a.setRenderTarget(c,
g),a.clear(b,d,e);a.setRenderTarget(f)}}}function Zb(a,b,c){Number.isInteger(b)&&(console.warn("THREE.WebGLCubeRenderTarget: constructor signature is now WebGLCubeRenderTarget( size, options )"),b=c);Ha.call(this,a,a,b)}function $b(a,b,c,d,e,f,g,h,l,n,q,p){W.call(this,null,f,g,h,l,n,d,e,q,p);this.image={data:a||null,width:b||1,height:c||1};this.magFilter=void 0!==l?l:1003;this.minFilter=void 0!==n?n:1003;this.flipY=this.generateMipmaps=!1;this.unpackAlignment=1;this.needsUpdate=!0}function Fc(a,b,
c,d,e,f){this.planes=[void 0!==a?a:new Ua,void 0!==b?b:new Ua,void 0!==c?c:new Ua,void 0!==d?d:new Ua,void 0!==e?e:new Ua,void 0!==f?f:new Ua]}function yh(){function a(e,f){!1!==c&&(d(e,f),b.requestAnimationFrame(a))}var b=null,c=!1,d=null;return{start:function(){!0!==c&&null!==d&&(b.requestAnimationFrame(a),c=!0)},stop:function(){c=!1},setAnimationLoop:function(a){d=a},setContext:function(a){b=a}}}function mj(a,b){function c(b,c){var d=b.array,e=b.usage,f=a.createBuffer();a.bindBuffer(c,f);a.bufferData(c,
d,e);b.onUploadCallback();c=5126;d instanceof Float32Array?c=5126:d instanceof Float64Array?console.warn("THREE.WebGLAttributes: Unsupported data buffer format: Float64Array."):d instanceof Uint16Array?c=5123:d instanceof Int16Array?c=5122:d instanceof Uint32Array?c=5125:d instanceof Int32Array?c=5124:d instanceof Int8Array?c=5120:d instanceof Uint8Array&&(c=5121);return{buffer:f,type:c,bytesPerElement:d.BYTES_PER_ELEMENT,version:b.version}}var d=b.isWebGL2,e=new WeakMap;return{get:function(a){a.isInterleavedBufferAttribute&&
(a=a.data);return e.get(a)},remove:function(b){b.isInterleavedBufferAttribute&&(b=b.data);var c=e.get(b);c&&(a.deleteBuffer(c.buffer),e.delete(b))},update:function(b,g){b.isInterleavedBufferAttribute&&(b=b.data);var f=e.get(b);if(void 0===f)e.set(b,c(b,g));else if(f.version<b.version){var l=b.array,n=b.updateRange;a.bindBuffer(g,f.buffer);-1===n.count?a.bufferSubData(g,0,l):(d?a.bufferSubData(g,n.offset*l.BYTES_PER_ELEMENT,l,n.offset,n.count):a.bufferSubData(g,n.offset*l.BYTES_PER_ELEMENT,l.subarray(n.offset,
n.offset+n.count)),n.count=-1);f.version=b.version}}}}function Fd(a,b,c,d){L.call(this);this.type="PlaneGeometry";this.parameters={width:a,height:b,widthSegments:c,heightSegments:d};this.fromBufferGeometry(new ac(a,b,c,d));this.mergeVertices()}function ac(a,b,c,d){F.call(this);this.type="PlaneBufferGeometry";this.parameters={width:a,height:b,widthSegments:c,heightSegments:d};a=a||1;b=b||1;var e=a/2,f=b/2;c=Math.floor(c)||1;d=Math.floor(d)||1;var g=c+1,h=d+1,l=a/c,n=b/d;b=[];a=[];for(var q=[],p=[],
k=0;k<h;k++)for(var t=k*n-f,r=0;r<g;r++)a.push(r*l-e,-t,0),q.push(0,0,1),p.push(r/c),p.push(1-k/d);for(e=0;e<d;e++)for(f=0;f<c;f++)h=f+g*(e+1),l=f+1+g*(e+1),n=f+1+g*e,b.push(f+g*e,h,n),b.push(h,l,n);this.setIndex(b);this.setAttribute("position",new B(a,3));this.setAttribute("normal",new B(q,3));this.setAttribute("uv",new B(p,2))}function nj(a,b,c,d){function e(a,c){b.buffers.color.setClear(a.r,a.g,a.b,c,d)}var f=new D(0),g=0,h,l,n=null,q=0,p=null;return{getClearColor:function(){return f},setClearColor:function(a,
b){f.set(a);g=void 0!==b?b:1;e(f,g)},getClearAlpha:function(){return g},setClearAlpha:function(a){g=a;e(f,g)},render:function(b,d,k,u){d=!0===d.isScene?d.background:null;k=a.xr;(k=k.getSession&&k.getSession())&&"additive"===k.environmentBlendMode&&(d=null);null===d?e(f,g):d&&d.isColor&&(e(d,1),u=!0);(a.autoClear||u)&&a.clear(a.autoClearColor,a.autoClearDepth,a.autoClearStencil);if(d&&(d.isCubeTexture||d.isWebGLCubeRenderTarget||306===d.mapping)){void 0===l&&(l=new X(new Gd(1,1,1),new Ba({name:"BackgroundCubeMaterial",
uniforms:Dc(gb.cube.uniforms),vertexShader:gb.cube.vertexShader,fragmentShader:gb.cube.fragmentShader,side:1,depthTest:!1,depthWrite:!1,fog:!1})),l.geometry.deleteAttribute("normal"),l.geometry.deleteAttribute("uv"),l.onBeforeRender=function(a,b,c){this.matrixWorld.copyPosition(c.matrixWorld)},Object.defineProperty(l.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),c.update(l));u=d.isWebGLCubeRenderTarget?d.texture:d;l.material.uniforms.envMap.value=u;l.material.uniforms.flipEnvMap.value=
u.isCubeTexture?-1:1;if(n!==d||q!==u.version||p!==a.toneMapping)l.material.needsUpdate=!0,n=d,q=u.version,p=a.toneMapping;b.unshift(l,l.geometry,l.material,0,0,null)}else if(d&&d.isTexture){void 0===h&&(h=new X(new ac(2,2),new Ba({name:"BackgroundMaterial",uniforms:Dc(gb.background.uniforms),vertexShader:gb.background.vertexShader,fragmentShader:gb.background.fragmentShader,side:0,depthTest:!1,depthWrite:!1,fog:!1})),h.geometry.deleteAttribute("normal"),Object.defineProperty(h.material,"map",{get:function(){return this.uniforms.t2D.value}}),
c.update(h));h.material.uniforms.t2D.value=d;!0===d.matrixAutoUpdate&&d.updateMatrix();h.material.uniforms.uvTransform.value.copy(d.matrix);if(n!==d||q!==d.version||p!==a.toneMapping)h.material.needsUpdate=!0,n=d,q=d.version,p=a.toneMapping;b.unshift(h,h.geometry,h.material,0,0,null)}}}}function oj(a,b,c,d){var e=d.isWebGL2,f;this.setMode=function(a){f=a};this.render=function(b,d){a.drawArrays(f,b,d);c.update(d,f)};this.renderInstances=function(d,h,l,n){if(0!==n){if(e){d=a;var g="drawArraysInstanced"}else if(d=
b.get("ANGLE_instanced_arrays"),g="drawArraysInstancedANGLE",null===d){console.error("THREE.WebGLBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");return}d[g](f,h,l,n);c.update(l,f,n)}}}function pj(a,b,c){function d(b){if("highp"===b){if(0<a.getShaderPrecisionFormat(35633,36338).precision&&0<a.getShaderPrecisionFormat(35632,36338).precision)return"highp";b="mediump"}return"mediump"===b&&0<a.getShaderPrecisionFormat(35633,36337).precision&&
0<a.getShaderPrecisionFormat(35632,36337).precision?"mediump":"lowp"}var e,f="undefined"!==typeof WebGL2RenderingContext&&a instanceof WebGL2RenderingContext||"undefined"!==typeof WebGL2ComputeRenderingContext&&a instanceof WebGL2ComputeRenderingContext,g=void 0!==c.precision?c.precision:"highp",h=d(g);h!==g&&(console.warn("THREE.WebGLRenderer:",g,"not supported, using",h,"instead."),g=h);c=!0===c.logarithmicDepthBuffer;h=a.getParameter(34930);var l=a.getParameter(35660),n=a.getParameter(3379),q=
a.getParameter(34076),p=a.getParameter(34921),k=a.getParameter(36347),t=a.getParameter(36348),r=a.getParameter(36349),u=0<l,m=f||!!b.get("OES_texture_float"),E=u&&m,x=f?a.getParameter(36183):0;return{isWebGL2:f,getMaxAnisotropy:function(){if(void 0!==e)return e;var c=b.get("EXT_texture_filter_anisotropic");return e=null!==c?a.getParameter(c.MAX_TEXTURE_MAX_ANISOTROPY_EXT):0},getMaxPrecision:d,precision:g,logarithmicDepthBuffer:c,maxTextures:h,maxVertexTextures:l,maxTextureSize:n,maxCubemapSize:q,
maxAttributes:p,maxVertexUniforms:k,maxVaryings:t,maxFragmentUniforms:r,vertexTextures:u,floatFragmentTextures:m,floatVertexTextures:E,maxSamples:x}}function qj(){function a(){n.value!==d&&(n.value=d,n.needsUpdate=0<e);c.numPlanes=e;c.numIntersection=0}function b(a,b,d,e){var f=null!==a?a.length:0,g=null;if(0!==f){g=n.value;if(!0!==e||null===g){e=d+4*f;b=b.matrixWorldInverse;l.getNormalMatrix(b);if(null===g||g.length<e)g=new Float32Array(e);for(e=0;e!==f;++e,d+=4)h.copy(a[e]).applyMatrix4(b,l),h.normal.toArray(g,
d),g[d+3]=h.constant}n.value=g;n.needsUpdate=!0}c.numPlanes=f;c.numIntersection=0;return g}var c=this,d=null,e=0,f=!1,g=!1,h=new Ua,l=new xa,n={value:null,needsUpdate:!1};this.uniform=n;this.numIntersection=this.numPlanes=0;this.init=function(a,c,g){var h=0!==a.length||c||0!==e||f;f=c;d=b(a,g,0);e=a.length;return h};this.beginShadows=function(){g=!0;b(null)};this.endShadows=function(){g=!1;a()};this.setState=function(c,h,l,k,r,u){if(!f||null===c||0===c.length||g&&!l)g?b(null):a();else{l=g?0:e;var q=
4*l,p=r.clippingState||null;n.value=p;p=b(c,k,q,u);for(c=0;c!==q;++c)p[c]=d[c];r.clippingState=p;this.numIntersection=h?this.numPlanes:0;this.numPlanes+=l}}}function rj(a){var b={};return{get:function(c){if(void 0!==b[c])return b[c];switch(c){case "WEBGL_depth_texture":var d=a.getExtension("WEBGL_depth_texture")||a.getExtension("MOZ_WEBGL_depth_texture")||a.getExtension("WEBKIT_WEBGL_depth_texture");break;case "EXT_texture_filter_anisotropic":d=a.getExtension("EXT_texture_filter_anisotropic")||a.getExtension("MOZ_EXT_texture_filter_anisotropic")||
a.getExtension("WEBKIT_EXT_texture_filter_anisotropic");break;case "WEBGL_compressed_texture_s3tc":d=a.getExtension("WEBGL_compressed_texture_s3tc")||a.getExtension("MOZ_WEBGL_compressed_texture_s3tc")||a.getExtension("WEBKIT_WEBGL_compressed_texture_s3tc");break;case "WEBGL_compressed_texture_pvrtc":d=a.getExtension("WEBGL_compressed_texture_pvrtc")||a.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc");break;default:d=a.getExtension(c)}null===d&&console.warn("THREE.WebGLRenderer: "+c+" extension not supported.");
return b[c]=d}}}function sj(a,b,c){function d(a){var e=a.target;a=f.get(e);null!==a.index&&b.remove(a.index);for(var h in a.attributes)b.remove(a.attributes[h]);e.removeEventListener("dispose",d);f.delete(e);if(h=g.get(a))b.remove(h),g.delete(a);c.memory.geometries--}function e(a){var c=[],d=a.index,e=a.attributes.position;if(null!==d){e=d.array;d=d.version;for(var f=0,h=e.length;f<h;f+=3){var k=e[f+0],r=e[f+1],u=e[f+2];c.push(k,r,r,u,u,k)}}else for(f=e.array,d=e.version,e=0,f=f.length/3-1;e<f;e+=
3)h=e+0,k=e+1,r=e+2,c.push(h,k,k,r,r,h);c=new (65535<wh(c)?Yb:Xb)(c,1);c.version=d;b.update(c,34963);(d=g.get(a))&&b.remove(d);g.set(a,c)}var f=new WeakMap,g=new WeakMap;return{get:function(a,b){var e=f.get(b);if(e)return e;b.addEventListener("dispose",d);b.isBufferGeometry?e=b:b.isGeometry&&(void 0===b._bufferGeometry&&(b._bufferGeometry=(new F).setFromObject(a)),e=b._bufferGeometry);f.set(b,e);c.memory.geometries++;return e},update:function(a){var c=a.index,d=a.attributes;null!==c&&b.update(c,34963);
for(var e in d)b.update(d[e],34962);a=a.morphAttributes;for(var f in a)for(c=a[f],d=0,e=c.length;d<e;d++)b.update(c[d],34962)},getWireframeAttribute:function(a){var b=g.get(a);if(b){var c=a.index;null!==c&&b.version<c.version&&e(a)}else e(a);return g.get(a)}}}function tj(a,b,c,d){var e=d.isWebGL2,f,g,h;this.setMode=function(a){f=a};this.setIndex=function(a){g=a.type;h=a.bytesPerElement};this.render=function(b,d){a.drawElements(f,d,g,b*h);c.update(d,f)};this.renderInstances=function(d,n,q,p){if(0!==
p){if(e){d=a;var l="drawElementsInstanced"}else if(d=b.get("ANGLE_instanced_arrays"),l="drawElementsInstancedANGLE",null===d){console.error("THREE.WebGLIndexedBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");return}d[l](f,q,g,n*h,p);c.update(q,f,p)}}}function uj(a){var b={frame:0,calls:0,triangles:0,points:0,lines:0};return{memory:{geometries:0,textures:0},render:b,programs:null,autoReset:!0,reset:function(){b.frame++;b.calls=0;
b.triangles=0;b.points=0;b.lines=0},update:function(a,d,e){e=e||1;b.calls++;switch(d){case 4:b.triangles+=a/3*e;break;case 1:b.lines+=a/2*e;break;case 3:b.lines+=e*(a-1);break;case 2:b.lines+=e*a;break;case 0:b.points+=e*a;break;default:console.error("THREE.WebGLInfo: Unknown draw mode:",d)}}}}function vj(a,b){return Math.abs(b[1])-Math.abs(a[1])}function wj(a){var b={},c=new Float32Array(8);return{update:function(d,e,f,g){var h=d.morphTargetInfluences,l=void 0===h?0:h.length;d=b[e.id];if(void 0===
d){d=[];for(var n=0;n<l;n++)d[n]=[n,0];b[e.id]=d}n=f.morphTargets&&e.morphAttributes.position;f=f.morphNormals&&e.morphAttributes.normal;for(var q=0;q<l;q++)0!==d[q][1]&&(n&&e.deleteAttribute("morphTarget"+q),f&&e.deleteAttribute("morphNormal"+q));for(q=0;q<l;q++){var p=d[q];p[0]=q;p[1]=h[q]}d.sort(vj);for(l=h=0;8>l;l++){if(p=d[l])if(q=p[0],p=p[1]){n&&e.setAttribute("morphTarget"+l,n[q]);f&&e.setAttribute("morphNormal"+l,f[q]);c[l]=p;h+=p;continue}c[l]=0}e=e.morphTargetsRelative?1:1-h;g.getUniforms().setValue(a,
"morphTargetBaseInfluence",e);g.getUniforms().setValue(a,"morphTargetInfluences",c)}}}function xj(a,b,c,d){var e=new WeakMap;return{update:function(a){var f=d.render.frame,h=a.geometry,l=b.get(a,h);e.get(l)!==f&&(h.isGeometry&&l.updateFromObject(a),b.update(l),e.set(l,f));a.isInstancedMesh&&c.update(a.instanceMatrix,34962);return l},dispose:function(){e=new WeakMap}}}function qb(a,b,c,d,e,f,g,h,l,n){a=void 0!==a?a:[];W.call(this,a,void 0!==b?b:301,c,d,e,f,void 0!==g?g:1022,h,l,n);this.flipY=!1}function Gc(a,
b,c,d){W.call(this,null);this.image={data:a||null,width:b||1,height:c||1,depth:d||1};this.minFilter=this.magFilter=1003;this.wrapR=1001;this.flipY=this.generateMipmaps=!1;this.needsUpdate=!0}function Hc(a,b,c,d){W.call(this,null);this.image={data:a||null,width:b||1,height:c||1,depth:d||1};this.minFilter=this.magFilter=1003;this.wrapR=1001;this.flipY=this.generateMipmaps=!1;this.needsUpdate=!0}function Ic(a,b,c){var d=a[0];if(0>=d||0<d)return a;var e=b*c,f=zh[e];void 0===f&&(f=new Float32Array(e),
zh[e]=f);if(0!==b)for(d.toArray(f,0),d=1,e=0;d!==b;++d)e+=c,a[d].toArray(f,e);return f}function Pa(a,b){if(a.length!==b.length)return!1;for(var c=0,d=a.length;c<d;c++)if(a[c]!==b[c])return!1;return!0}function Ia(a,b){for(var c=0,d=b.length;c<d;c++)a[c]=b[c]}function Ah(a,b){var c=Bh[b];void 0===c&&(c=new Int32Array(b),Bh[b]=c);for(var d=0;d!==b;++d)c[d]=a.allocateTextureUnit();return c}function yj(a,b){var c=this.cache;c[0]!==b&&(a.uniform1f(this.addr,b),c[0]=b)}function zj(a,b){var c=this.cache;
if(void 0!==b.x){if(c[0]!==b.x||c[1]!==b.y)a.uniform2f(this.addr,b.x,b.y),c[0]=b.x,c[1]=b.y}else Pa(c,b)||(a.uniform2fv(this.addr,b),Ia(c,b))}function Aj(a,b){var c=this.cache;if(void 0!==b.x){if(c[0]!==b.x||c[1]!==b.y||c[2]!==b.z)a.uniform3f(this.addr,b.x,b.y,b.z),c[0]=b.x,c[1]=b.y,c[2]=b.z}else if(void 0!==b.r){if(c[0]!==b.r||c[1]!==b.g||c[2]!==b.b)a.uniform3f(this.addr,b.r,b.g,b.b),c[0]=b.r,c[1]=b.g,c[2]=b.b}else Pa(c,b)||(a.uniform3fv(this.addr,b),Ia(c,b))}function Bj(a,b){var c=this.cache;if(void 0!==
b.x){if(c[0]!==b.x||c[1]!==b.y||c[2]!==b.z||c[3]!==b.w)a.uniform4f(this.addr,b.x,b.y,b.z,b.w),c[0]=b.x,c[1]=b.y,c[2]=b.z,c[3]=b.w}else Pa(c,b)||(a.uniform4fv(this.addr,b),Ia(c,b))}function Cj(a,b){var c=this.cache,d=b.elements;void 0===d?Pa(c,b)||(a.uniformMatrix2fv(this.addr,!1,b),Ia(c,b)):Pa(c,d)||(Ch.set(d),a.uniformMatrix2fv(this.addr,!1,Ch),Ia(c,d))}function Dj(a,b){var c=this.cache,d=b.elements;void 0===d?Pa(c,b)||(a.uniformMatrix3fv(this.addr,!1,b),Ia(c,b)):Pa(c,d)||(Dh.set(d),a.uniformMatrix3fv(this.addr,
!1,Dh),Ia(c,d))}function Ej(a,b){var c=this.cache,d=b.elements;void 0===d?Pa(c,b)||(a.uniformMatrix4fv(this.addr,!1,b),Ia(c,b)):Pa(c,d)||(Eh.set(d),a.uniformMatrix4fv(this.addr,!1,Eh),Ia(c,d))}function Fj(a,b,c){var d=this.cache,e=c.allocateTextureUnit();d[0]!==e&&(a.uniform1i(this.addr,e),d[0]=e);c.safeSetTexture2D(b||Fh,e)}function Gj(a,b,c){var d=this.cache,e=c.allocateTextureUnit();d[0]!==e&&(a.uniform1i(this.addr,e),d[0]=e);c.setTexture2DArray(b||Hj,e)}function Ij(a,b,c){var d=this.cache,e=c.allocateTextureUnit();
d[0]!==e&&(a.uniform1i(this.addr,e),d[0]=e);c.setTexture3D(b||Jj,e)}function Kj(a,b,c){var d=this.cache,e=c.allocateTextureUnit();d[0]!==e&&(a.uniform1i(this.addr,e),d[0]=e);c.safeSetTextureCube(b||Gh,e)}function Lj(a,b){var c=this.cache;c[0]!==b&&(a.uniform1i(this.addr,b),c[0]=b)}function Mj(a,b){var c=this.cache;Pa(c,b)||(a.uniform2iv(this.addr,b),Ia(c,b))}function Nj(a,b){var c=this.cache;Pa(c,b)||(a.uniform3iv(this.addr,b),Ia(c,b))}function Oj(a,b){var c=this.cache;Pa(c,b)||(a.uniform4iv(this.addr,
b),Ia(c,b))}function Pj(a,b){var c=this.cache;c[0]!==b&&(a.uniform1ui(this.addr,b),c[0]=b)}function Qj(a){switch(a){case 5126:return yj;case 35664:return zj;case 35665:return Aj;case 35666:return Bj;case 35674:return Cj;case 35675:return Dj;case 35676:return Ej;case 5124:case 35670:return Lj;case 35667:case 35671:return Mj;case 35668:case 35672:return Nj;case 35669:case 35673:return Oj;case 5125:return Pj;case 35678:case 36198:case 36298:case 36306:case 35682:return Fj;case 35679:case 36299:case 36307:return Ij;
case 35680:case 36300:case 36308:case 36293:return Kj;case 36289:case 36303:case 36311:case 36292:return Gj}}function Rj(a,b){a.uniform1fv(this.addr,b)}function Sj(a,b){a.uniform1iv(this.addr,b)}function Tj(a,b){a.uniform2iv(this.addr,b)}function Uj(a,b){a.uniform3iv(this.addr,b)}function Vj(a,b){a.uniform4iv(this.addr,b)}function Wj(a,b){b=Ic(b,this.size,2);a.uniform2fv(this.addr,b)}function Xj(a,b){b=Ic(b,this.size,3);a.uniform3fv(this.addr,b)}function Yj(a,b){b=Ic(b,this.size,4);a.uniform4fv(this.addr,
b)}function Zj(a,b){b=Ic(b,this.size,4);a.uniformMatrix2fv(this.addr,!1,b)}function ak(a,b){b=Ic(b,this.size,9);a.uniformMatrix3fv(this.addr,!1,b)}function bk(a,b){b=Ic(b,this.size,16);a.uniformMatrix4fv(this.addr,!1,b)}function ck(a,b,c){var d=b.length,e=Ah(c,d);a.uniform1iv(this.addr,e);for(a=0;a!==d;++a)c.safeSetTexture2D(b[a]||Fh,e[a])}function dk(a,b,c){var d=b.length,e=Ah(c,d);a.uniform1iv(this.addr,e);for(a=0;a!==d;++a)c.safeSetTextureCube(b[a]||Gh,e[a])}function ek(a){switch(a){case 5126:return Rj;
case 35664:return Wj;case 35665:return Xj;case 35666:return Yj;case 35674:return Zj;case 35675:return ak;case 35676:return bk;case 5124:case 35670:return Sj;case 35667:case 35671:return Tj;case 35668:case 35672:return Uj;case 35669:case 35673:return Vj;case 35678:case 36198:case 36298:case 36306:case 35682:return ck;case 35680:case 36300:case 36308:case 36293:return dk}}function fk(a,b,c){this.id=a;this.addr=c;this.cache=[];this.setValue=Qj(b.type)}function Hh(a,b,c){this.id=a;this.addr=c;this.cache=
[];this.size=b.size;this.setValue=ek(b.type)}function Ih(a){this.id=a;this.seq=[];this.map={}}function Fb(a,b){this.seq=[];this.map={};for(var c=a.getProgramParameter(b,35718),d=0;d<c;++d){var e=a.getActiveUniform(b,d),f=a.getUniformLocation(b,e.name),g=this,h=e.name,l=h.length;for(ig.lastIndex=0;;){var n=ig.exec(h),q=ig.lastIndex,p=n[1],k=n[3];"]"===n[2]&&(p|=0);if(void 0===k||"["===k&&q+2===l){h=g;e=void 0===k?new fk(p,e,f):new Hh(p,e,f);h.seq.push(e);h.map[e.id]=e;break}else k=g.map[p],void 0===
k&&(k=new Ih(p),p=g,g=k,p.seq.push(g),p.map[g.id]=g),g=k}}}function Jh(a,b,c){b=a.createShader(b);a.shaderSource(b,c);a.compileShader(b);return b}function Kh(a){switch(a){case 3E3:return["Linear","( value )"];case 3001:return["sRGB","( value )"];case 3002:return["RGBE","( value )"];case 3004:return["RGBM","( value, 7.0 )"];case 3005:return["RGBM","( value, 16.0 )"];case 3006:return["RGBD","( value, 256.0 )"];case 3007:return["Gamma","( value, float( GAMMA_FACTOR ) )"];case 3003:return["LogLuv","( value )"];
default:return console.warn("THREE.WebGLProgram: Unsupported encoding:",a),["Linear","( value )"]}}function Lh(a,b,c){var d=a.getShaderParameter(b,35713),e=a.getShaderInfoLog(b).trim();if(d&&""===e)return"";a=a.getShaderSource(b).split("\n");for(b=0;b<a.length;b++)a[b]=b+1+": "+a[b];a=a.join("\n");return"THREE.WebGLShader: gl.getShaderInfoLog() "+c+"\n"+e+a}function Hd(a,b){b=Kh(b);return"vec4 "+a+"( vec4 value ) { return "+b[0]+"ToLinear"+b[1]+"; }"}function gk(a,b){b=Kh(b);return"vec4 "+a+"( vec4 value ) { return LinearTo"+
b[0]+b[1]+"; }"}function hk(a,b){switch(b){case 1:b="Linear";break;case 2:b="Reinhard";break;case 3:b="OptimizedCineon";break;case 4:b="ACESFilmic";break;default:console.warn("THREE.WebGLProgram: Unsupported toneMapping:",b),b="Linear"}return"vec3 "+a+"( vec3 color ) { return "+b+"ToneMapping( color ); }"}function ik(a){var b=[],c;for(c in a){var d=a[c];!1!==d&&b.push("#define "+c+" "+d)}return b.join("\n")}function Id(a){return""!==a}function Mh(a,b){return a.replace(/NUM_DIR_LIGHTS/g,b.numDirLights).replace(/NUM_SPOT_LIGHTS/g,
b.numSpotLights).replace(/NUM_RECT_AREA_LIGHTS/g,b.numRectAreaLights).replace(/NUM_POINT_LIGHTS/g,b.numPointLights).replace(/NUM_HEMI_LIGHTS/g,b.numHemiLights).replace(/NUM_DIR_LIGHT_SHADOWS/g,b.numDirLightShadows).replace(/NUM_SPOT_LIGHT_SHADOWS/g,b.numSpotLightShadows).replace(/NUM_POINT_LIGHT_SHADOWS/g,b.numPointLightShadows)}function Nh(a,b){return a.replace(/NUM_CLIPPING_PLANES/g,b.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g,b.numClippingPlanes-b.numClipIntersection)}function jg(a,b){a=
N[b];if(void 0===a)throw Error("Can not resolve #include <"+b+">");return a.replace(kg,jg)}function Oh(a,b,c,d){console.warn("WebGLProgram: #pragma unroll_loop shader syntax is deprecated. Please use #pragma unroll_loop_start syntax instead.");return lg(a,b,c,d)}function lg(a,b,c,d){a="";for(b=parseInt(b);b<parseInt(c);b++)a+=d.replace(/\[ i \]/g,"[ "+b+" ]").replace(/UNROLLED_LOOP_INDEX/g,b);return a}function Ph(a){var b="precision "+a.precision+" float;\nprecision "+a.precision+" int;";"highp"===
a.precision?b+="\n#define HIGH_PRECISION":"mediump"===a.precision?b+="\n#define MEDIUM_PRECISION":"lowp"===a.precision&&(b+="\n#define LOW_PRECISION");return b}function jk(a){var b="SHADOWMAP_TYPE_BASIC";1===a.shadowMapType?b="SHADOWMAP_TYPE_PCF":2===a.shadowMapType?b="SHADOWMAP_TYPE_PCF_SOFT":3===a.shadowMapType&&(b="SHADOWMAP_TYPE_VSM");return b}function kk(a){var b="ENVMAP_TYPE_CUBE";if(a.envMap)switch(a.envMapMode){case 301:case 302:b="ENVMAP_TYPE_CUBE";break;case 306:case 307:b="ENVMAP_TYPE_CUBE_UV";
break;case 303:case 304:b="ENVMAP_TYPE_EQUIREC"}return b}function lk(a){var b="ENVMAP_MODE_REFLECTION";if(a.envMap)switch(a.envMapMode){case 302:case 304:b="ENVMAP_MODE_REFRACTION"}return b}function mk(a){var b="ENVMAP_BLENDING_NONE";if(a.envMap)switch(a.combine){case 0:b="ENVMAP_BLENDING_MULTIPLY";break;case 1:b="ENVMAP_BLENDING_MIX";break;case 2:b="ENVMAP_BLENDING_ADD"}return b}function nk(a,b,c){var d=a.getContext(),e=c.defines,f=c.vertexShader,g=c.fragmentShader,h=jk(c),l=kk(c),n=lk(c),q=mk(c),
p=0<a.gammaFactor?a.gammaFactor:1,k=c.isWebGL2?"":[c.extensionDerivatives||c.envMapCubeUV||c.bumpMap||c.tangentSpaceNormalMap||c.clearcoatNormalMap||c.flatShading||"physical"===c.shaderID?"#extension GL_OES_standard_derivatives : enable":"",(c.extensionFragDepth||c.logarithmicDepthBuffer)&&c.rendererExtensionFragDepth?"#extension GL_EXT_frag_depth : enable":"",c.extensionDrawBuffers&&c.rendererExtensionDrawBuffers?"#extension GL_EXT_draw_buffers : require":"",(c.extensionShaderTextureLOD||c.envMap)&&
c.rendererExtensionShaderTextureLod?"#extension GL_EXT_shader_texture_lod : enable":""].filter(Id).join("\n"),t=ik(e),r=d.createProgram();c.isRawShaderMaterial?(e=[t].filter(Id).join("\n"),0<e.length&&(e+="\n"),h=[k,t].filter(Id).join("\n"),0<h.length&&(h+="\n")):(e=[Ph(c),"#define SHADER_NAME "+c.shaderName,t,c.instancing?"#define USE_INSTANCING":"",c.supportsVertexTextures?"#define VERTEX_TEXTURES":"","#define GAMMA_FACTOR "+p,"#define MAX_BONES "+c.maxBones,c.useFog&&c.fog?"#define USE_FOG":"",
c.useFog&&c.fogExp2?"#define FOG_EXP2":"",c.map?"#define USE_MAP":"",c.envMap?"#define USE_ENVMAP":"",c.envMap?"#define "+n:"",c.lightMap?"#define USE_LIGHTMAP":"",c.aoMap?"#define USE_AOMAP":"",c.emissiveMap?"#define USE_EMISSIVEMAP":"",c.bumpMap?"#define USE_BUMPMAP":"",c.normalMap?"#define USE_NORMALMAP":"",c.normalMap&&c.objectSpaceNormalMap?"#define OBJECTSPACE_NORMALMAP":"",c.normalMap&&c.tangentSpaceNormalMap?"#define TANGENTSPACE_NORMALMAP":"",c.clearcoatMap?"#define USE_CLEARCOATMAP":"",
c.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",c.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",c.displacementMap&&c.supportsVertexTextures?"#define USE_DISPLACEMENTMAP":"",c.specularMap?"#define USE_SPECULARMAP":"",c.roughnessMap?"#define USE_ROUGHNESSMAP":"",c.metalnessMap?"#define USE_METALNESSMAP":"",c.alphaMap?"#define USE_ALPHAMAP":"",c.vertexTangents?"#define USE_TANGENT":"",c.vertexColors?"#define USE_COLOR":"",c.vertexUvs?"#define USE_UV":"",c.uvsVertexOnly?"#define UVS_VERTEX_ONLY":
"",c.flatShading?"#define FLAT_SHADED":"",c.skinning?"#define USE_SKINNING":"",c.useVertexTexture?"#define BONE_TEXTURE":"",c.morphTargets?"#define USE_MORPHTARGETS":"",c.morphNormals&&!1===c.flatShading?"#define USE_MORPHNORMALS":"",c.doubleSided?"#define DOUBLE_SIDED":"",c.flipSided?"#define FLIP_SIDED":"",c.shadowMapEnabled?"#define USE_SHADOWMAP":"",c.shadowMapEnabled?"#define "+h:"",c.sizeAttenuation?"#define USE_SIZEATTENUATION":"",c.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",c.logarithmicDepthBuffer&&
c.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"," attribute mat4 instanceMatrix;","#endif","attribute vec3 position;","attribute vec3 normal;","attribute vec2 uv;","#ifdef USE_TANGENT","\tattribute vec4 tangent;","#endif","#ifdef USE_COLOR","\tattribute vec3 color;",
"#endif","#ifdef USE_MORPHTARGETS","\tattribute vec3 morphTarget0;","\tattribute vec3 morphTarget1;","\tattribute vec3 morphTarget2;","\tattribute vec3 morphTarget3;","\t#ifdef USE_MORPHNORMALS","\t\tattribute vec3 morphNormal0;","\t\tattribute vec3 morphNormal1;","\t\tattribute vec3 morphNormal2;","\t\tattribute vec3 morphNormal3;","\t#else","\t\tattribute vec3 morphTarget4;","\t\tattribute vec3 morphTarget5;","\t\tattribute vec3 morphTarget6;","\t\tattribute vec3 morphTarget7;","\t#endif","#endif",
"#ifdef USE_SKINNING","\tattribute vec4 skinIndex;","\tattribute vec4 skinWeight;","#endif","\n"].filter(Id).join("\n"),h=[k,Ph(c),"#define SHADER_NAME "+c.shaderName,t,c.alphaTest?"#define ALPHATEST "+c.alphaTest+(c.alphaTest%1?"":".0"):"","#define GAMMA_FACTOR "+p,c.useFog&&c.fog?"#define USE_FOG":"",c.useFog&&c.fogExp2?"#define FOG_EXP2":"",c.map?"#define USE_MAP":"",c.matcap?"#define USE_MATCAP":"",c.envMap?"#define USE_ENVMAP":"",c.envMap?"#define "+l:"",c.envMap?"#define "+n:"",c.envMap?"#define "+
q:"",c.lightMap?"#define USE_LIGHTMAP":"",c.aoMap?"#define USE_AOMAP":"",c.emissiveMap?"#define USE_EMISSIVEMAP":"",c.bumpMap?"#define USE_BUMPMAP":"",c.normalMap?"#define USE_NORMALMAP":"",c.normalMap&&c.objectSpaceNormalMap?"#define OBJECTSPACE_NORMALMAP":"",c.normalMap&&c.tangentSpaceNormalMap?"#define TANGENTSPACE_NORMALMAP":"",c.clearcoatMap?"#define USE_CLEARCOATMAP":"",c.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",c.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",
c.specularMap?"#define USE_SPECULARMAP":"",c.roughnessMap?"#define USE_ROUGHNESSMAP":"",c.metalnessMap?"#define USE_METALNESSMAP":"",c.alphaMap?"#define USE_ALPHAMAP":"",c.sheen?"#define USE_SHEEN":"",c.vertexTangents?"#define USE_TANGENT":"",c.vertexColors?"#define USE_COLOR":"",c.vertexUvs?"#define USE_UV":"",c.uvsVertexOnly?"#define UVS_VERTEX_ONLY":"",c.gradientMap?"#define USE_GRADIENTMAP":"",c.flatShading?"#define FLAT_SHADED":"",c.doubleSided?"#define DOUBLE_SIDED":"",c.flipSided?"#define FLIP_SIDED":
"",c.shadowMapEnabled?"#define USE_SHADOWMAP":"",c.shadowMapEnabled?"#define "+h:"",c.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",c.physicallyCorrectLights?"#define PHYSICALLY_CORRECT_LIGHTS":"",c.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",c.logarithmicDepthBuffer&&c.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"",(c.extensionShaderTextureLOD||c.envMap)&&c.rendererExtensionShaderTextureLod?"#define TEXTURE_LOD_EXT":"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;",
"uniform bool isOrthographic;",0!==c.toneMapping?"#define TONE_MAPPING":"",0!==c.toneMapping?N.tonemapping_pars_fragment:"",0!==c.toneMapping?hk("toneMapping",c.toneMapping):"",c.dithering?"#define DITHERING":"",N.encodings_pars_fragment,c.map?Hd("mapTexelToLinear",c.mapEncoding):"",c.matcap?Hd("matcapTexelToLinear",c.matcapEncoding):"",c.envMap?Hd("envMapTexelToLinear",c.envMapEncoding):"",c.emissiveMap?Hd("emissiveMapTexelToLinear",c.emissiveMapEncoding):"",c.lightMap?Hd("lightMapTexelToLinear",
c.lightMapEncoding):"",gk("linearToOutputTexel",c.outputEncoding),c.depthPacking?"#define DEPTH_PACKING "+c.depthPacking:"","\n"].filter(Id).join("\n"));f=f.replace(kg,jg);f=Mh(f,c);f=Nh(f,c);g=g.replace(kg,jg);g=Mh(g,c);g=Nh(g,c);f=f.replace(Qh,lg).replace(Rh,Oh);g=g.replace(Qh,lg).replace(Rh,Oh);c.isWebGL2&&!c.isRawShaderMaterial&&(l=!1,n=/^\s*#version\s+300\s+es\s*\n/,c.isShaderMaterial&&null!==f.match(n)&&null!==g.match(n)&&(l=!0,f=f.replace(n,""),g=g.replace(n,"")),e="#version 300 es\n\n#define attribute in\n#define varying out\n#define texture2D texture\n"+
e,h=["#version 300 es\n\n#define varying in",l?"":"out highp vec4 pc_fragColor;",l?"":"#define gl_FragColor pc_fragColor","#define gl_FragDepthEXT gl_FragDepth\n#define texture2D texture\n#define textureCube texture\n#define texture2DProj textureProj\n#define texture2DLodEXT textureLod\n#define texture2DProjLodEXT textureProjLod\n#define textureCubeLodEXT textureLod\n#define texture2DGradEXT textureGrad\n#define texture2DProjGradEXT textureProjGrad\n#define textureCubeGradEXT textureGrad"].join("\n")+
"\n"+h);g=h+g;f=Jh(d,35633,e+f);g=Jh(d,35632,g);d.attachShader(r,f);d.attachShader(r,g);void 0!==c.index0AttributeName?d.bindAttribLocation(r,0,c.index0AttributeName):!0===c.morphTargets&&d.bindAttribLocation(r,0,"position");d.linkProgram(r);if(a.debug.checkShaderErrors){a=d.getProgramInfoLog(r).trim();l=d.getShaderInfoLog(f).trim();n=d.getShaderInfoLog(g).trim();p=q=!0;if(!1===d.getProgramParameter(r,35714))q=!1,k=Lh(d,f,"vertex"),t=Lh(d,g,"fragment"),console.error("THREE.WebGLProgram: shader error: ",
d.getError(),"35715",d.getProgramParameter(r,35715),"gl.getProgramInfoLog",a,k,t);else if(""!==a)console.warn("THREE.WebGLProgram: gl.getProgramInfoLog()",a);else if(""===l||""===n)p=!1;p&&(this.diagnostics={runnable:q,programLog:a,vertexShader:{log:l,prefix:e},fragmentShader:{log:n,prefix:h}})}d.deleteShader(f);d.deleteShader(g);var u;this.getUniforms=function(){void 0===u&&(u=new Fb(d,r));return u};var m;this.getAttributes=function(){if(void 0===m){for(var a={},b=d.getProgramParameter(r,35721),
c=0;c<b;c++){var e=d.getActiveAttrib(r,c).name;a[e]=d.getAttribLocation(r,e)}m=a}return m};this.destroy=function(){d.deleteProgram(r);this.program=void 0};this.name=c.shaderName;this.id=ok++;this.cacheKey=b;this.usedTimes=1;this.program=r;this.vertexShader=f;this.fragmentShader=g;return this}function pk(a,b,c){function d(a){if(a)a.isTexture?b=a.encoding:a.isWebGLRenderTarget&&(console.warn("THREE.WebGLPrograms.getTextureEncodingFromMap: don't use render targets as textures. Use their .texture property instead."),
b=a.texture.encoding);else var b=3E3;return b}var e=[],f=c.isWebGL2,g=c.logarithmicDepthBuffer,h=c.floatVertexTextures,l=c.maxVertexUniforms,n=c.vertexTextures,q=c.precision,p={MeshDepthMaterial:"depth",MeshDistanceMaterial:"distanceRGBA",MeshNormalMaterial:"normal",MeshBasicMaterial:"basic",MeshLambertMaterial:"lambert",MeshPhongMaterial:"phong",MeshToonMaterial:"toon",MeshStandardMaterial:"physical",MeshPhysicalMaterial:"physical",MeshMatcapMaterial:"matcap",LineBasicMaterial:"basic",LineDashedMaterial:"dashed",
PointsMaterial:"points",ShadowMaterial:"shadow",SpriteMaterial:"sprite"},k="precision isWebGL2 supportsVertexTextures outputEncoding instancing map mapEncoding matcap matcapEncoding envMap envMapMode envMapEncoding envMapCubeUV lightMap lightMapEncoding aoMap emissiveMap emissiveMapEncoding bumpMap normalMap objectSpaceNormalMap tangentSpaceNormalMap clearcoatMap clearcoatRoughnessMap clearcoatNormalMap displacementMap specularMap roughnessMap metalnessMap gradientMap alphaMap combine vertexColors vertexTangents vertexUvs uvsVertexOnly fog useFog fogExp2 flatShading sizeAttenuation logarithmicDepthBuffer skinning maxBones useVertexTexture morphTargets morphNormals maxMorphTargets maxMorphNormals premultipliedAlpha numDirLights numPointLights numSpotLights numHemiLights numRectAreaLights numDirLightShadows numPointLightShadows numSpotLightShadows shadowMapEnabled shadowMapType toneMapping physicallyCorrectLights alphaTest doubleSided flipSided numClippingPlanes numClipIntersection depthPacking dithering sheen".split(" ");
return{getParameters:function(e,k,v,m,E,x,Ea){var r=m.fog;m=e.isMeshStandardMaterial?m.environment:null;m=e.envMap||m;var t=p[e.type];if(Ea.isSkinnedMesh){var u=Ea.skeleton.bones;if(h)u=1024;else{var A=Math.min(Math.floor((l-20)/4),u.length);A<u.length?(console.warn("THREE.WebGLRenderer: Skeleton has "+u.length+" bones. This GPU supports "+A+"."),u=0):u=A}}else u=0;null!==e.precision&&(q=c.getMaxPrecision(e.precision),q!==e.precision&&console.warn("THREE.WebGLProgram.getParameters:",e.precision,"not supported, using",
q,"instead."));t?(A=gb[t],A={name:e.name||e.type,uniforms:Sh.clone(A.uniforms),vertexShader:A.vertexShader,fragmentShader:A.fragmentShader}):A={name:e.name||e.type,uniforms:e.uniforms,vertexShader:e.vertexShader,fragmentShader:e.fragmentShader};e.onBeforeCompile(A,a);var w=a.getRenderTarget();return{isWebGL2:f,shaderID:t,shaderName:A.name,uniforms:A.uniforms,vertexShader:A.vertexShader,fragmentShader:A.fragmentShader,defines:e.defines,isRawShaderMaterial:e.isRawShaderMaterial,isShaderMaterial:e.isShaderMaterial,
precision:q,instancing:!0===Ea.isInstancedMesh,supportsVertexTextures:n,outputEncoding:null!==w?d(w.texture):a.outputEncoding,map:!!e.map,mapEncoding:d(e.map),matcap:!!e.matcap,matcapEncoding:d(e.matcap),envMap:!!m,envMapMode:m&&m.mapping,envMapEncoding:d(m),envMapCubeUV:!!m&&(306===m.mapping||307===m.mapping),lightMap:!!e.lightMap,lightMapEncoding:d(e.lightMap),aoMap:!!e.aoMap,emissiveMap:!!e.emissiveMap,emissiveMapEncoding:d(e.emissiveMap),bumpMap:!!e.bumpMap,normalMap:!!e.normalMap,objectSpaceNormalMap:1===
e.normalMapType,tangentSpaceNormalMap:0===e.normalMapType,clearcoatMap:!!e.clearcoatMap,clearcoatRoughnessMap:!!e.clearcoatRoughnessMap,clearcoatNormalMap:!!e.clearcoatNormalMap,displacementMap:!!e.displacementMap,roughnessMap:!!e.roughnessMap,metalnessMap:!!e.metalnessMap,specularMap:!!e.specularMap,alphaMap:!!e.alphaMap,gradientMap:!!e.gradientMap,sheen:!!e.sheen,combine:e.combine,vertexTangents:e.normalMap&&e.vertexTangents,vertexColors:e.vertexColors,vertexUvs:!!e.map||!!e.bumpMap||!!e.normalMap||
!!e.specularMap||!!e.alphaMap||!!e.emissiveMap||!!e.roughnessMap||!!e.metalnessMap||!!e.clearcoatMap||!!e.clearcoatRoughnessMap||!!e.clearcoatNormalMap||!!e.displacementMap,uvsVertexOnly:!(e.map||e.bumpMap||e.normalMap||e.specularMap||e.alphaMap||e.emissiveMap||e.roughnessMap||e.metalnessMap||e.clearcoatNormalMap)&&!!e.displacementMap,fog:!!r,useFog:e.fog,fogExp2:r&&r.isFogExp2,flatShading:e.flatShading,sizeAttenuation:e.sizeAttenuation,logarithmicDepthBuffer:g,skinning:e.skinning&&0<u,maxBones:u,
useVertexTexture:h,morphTargets:e.morphTargets,morphNormals:e.morphNormals,maxMorphTargets:a.maxMorphTargets,maxMorphNormals:a.maxMorphNormals,numDirLights:k.directional.length,numPointLights:k.point.length,numSpotLights:k.spot.length,numRectAreaLights:k.rectArea.length,numHemiLights:k.hemi.length,numDirLightShadows:k.directionalShadowMap.length,numPointLightShadows:k.pointShadowMap.length,numSpotLightShadows:k.spotShadowMap.length,numClippingPlanes:E,numClipIntersection:x,dithering:e.dithering,shadowMapEnabled:a.shadowMap.enabled&&
0<v.length,shadowMapType:a.shadowMap.type,toneMapping:e.toneMapped?a.toneMapping:0,physicallyCorrectLights:a.physicallyCorrectLights,premultipliedAlpha:e.premultipliedAlpha,alphaTest:e.alphaTest,doubleSided:2===e.side,flipSided:1===e.side,depthPacking:void 0!==e.depthPacking?e.depthPacking:!1,index0AttributeName:e.index0AttributeName,extensionDerivatives:e.extensions&&e.extensions.derivatives,extensionFragDepth:e.extensions&&e.extensions.fragDepth,extensionDrawBuffers:e.extensions&&e.extensions.drawBuffers,
extensionShaderTextureLOD:e.extensions&&e.extensions.shaderTextureLOD,rendererExtensionFragDepth:f||null!==b.get("EXT_frag_depth"),rendererExtensionDrawBuffers:f||null!==b.get("WEBGL_draw_buffers"),rendererExtensionShaderTextureLod:f||null!==b.get("EXT_shader_texture_lod"),customProgramCacheKey:e.customProgramCacheKey()}},getProgramCacheKey:function(b){var c=[];b.shaderID?c.push(b.shaderID):(c.push(b.fragmentShader),c.push(b.vertexShader));if(void 0!==b.defines)for(var d in b.defines)c.push(d),c.push(b.defines[d]);
if(void 0===b.isRawShaderMaterial){for(d=0;d<k.length;d++)c.push(b[k[d]]);c.push(a.outputEncoding);c.push(a.gammaFactor)}c.push(b.customProgramCacheKey);return c.join()},acquireProgram:function(b,c){for(var d,f=0,g=e.length;f<g;f++){var h=e[f];if(h.cacheKey===c){d=h;++d.usedTimes;break}}void 0===d&&(d=new nk(a,c,b),e.push(d));return d},releaseProgram:function(a){if(0===--a.usedTimes){var b=e.indexOf(a);e[b]=e[e.length-1];e.pop();a.destroy()}},programs:e}}function qk(){var a=new WeakMap;return{get:function(b){var c=
a.get(b);void 0===c&&(c={},a.set(b,c));return c},remove:function(b){a.delete(b)},update:function(b,c,d){a.get(b)[c]=d},dispose:function(){a=new WeakMap}}}function rk(a,b){return a.groupOrder!==b.groupOrder?a.groupOrder-b.groupOrder:a.renderOrder!==b.renderOrder?a.renderOrder-b.renderOrder:a.program!==b.program?a.program.id-b.program.id:a.material.id!==b.material.id?a.material.id-b.material.id:a.z!==b.z?a.z-b.z:a.id-b.id}function sk(a,b){return a.groupOrder!==b.groupOrder?a.groupOrder-b.groupOrder:
a.renderOrder!==b.renderOrder?a.renderOrder-b.renderOrder:a.z!==b.z?b.z-a.z:a.id-b.id}function Th(){function a(a,d,e,n,q,p){var g=b[c];void 0===g?(g={id:a.id,object:a,geometry:d,material:e,program:e.program||f,groupOrder:n,renderOrder:a.renderOrder,z:q,group:p},b[c]=g):(g.id=a.id,g.object=a,g.geometry=d,g.material=e,g.program=e.program||f,g.groupOrder=n,g.renderOrder=a.renderOrder,g.z=q,g.group=p);c++;return g}var b=[],c=0,d=[],e=[],f={id:-1};return{opaque:d,transparent:e,init:function(){c=0;d.length=
0;e.length=0},push:function(b,c,f,n,q,p){b=a(b,c,f,n,q,p);(!0===f.transparent?e:d).push(b)},unshift:function(b,c,f,n,q,p){b=a(b,c,f,n,q,p);(!0===f.transparent?e:d).unshift(b)},finish:function(){for(var a=c,d=b.length;a<d;a++){var e=b[a];if(null===e.id)break;e.id=null;e.object=null;e.geometry=null;e.material=null;e.program=null;e.group=null}},sort:function(a,b){1<d.length&&d.sort(a||rk);1<e.length&&e.sort(b||sk)}}}function tk(){function a(c){c=c.target;c.removeEventListener("dispose",a);b.delete(c)}
var b=new WeakMap;return{get:function(c,d){var e=b.get(c);if(void 0===e){var f=new Th;b.set(c,new WeakMap);b.get(c).set(d,f);c.addEventListener("dispose",a)}else f=e.get(d),void 0===f&&(f=new Th,e.set(d,f));return f},dispose:function(){b=new WeakMap}}}function uk(){var a={};return{get:function(b){if(void 0!==a[b.id])return a[b.id];switch(b.type){case "DirectionalLight":var c={direction:new m,color:new D};break;case "SpotLight":c={position:new m,direction:new m,color:new D,distance:0,coneCos:0,penumbraCos:0,
decay:0};break;case "PointLight":c={position:new m,color:new D,distance:0,decay:0};break;case "HemisphereLight":c={direction:new m,skyColor:new D,groundColor:new D};break;case "RectAreaLight":c={color:new D,position:new m,halfWidth:new m,halfHeight:new m}}return a[b.id]=c}}}function vk(){var a={};return{get:function(b){if(void 0!==a[b.id])return a[b.id];switch(b.type){case "DirectionalLight":var c={shadowBias:0,shadowNormalOffset:0,shadowRadius:1,shadowMapSize:new w};break;case "SpotLight":c={shadowBias:0,
shadowNormalOffset:0,shadowRadius:1,shadowMapSize:new w};break;case "PointLight":c={shadowBias:0,shadowNormalOffset:0,shadowRadius:1,shadowMapSize:new w,shadowCameraNear:1,shadowCameraFar:1E3}}return a[b.id]=c}}}function wk(a,b){return(b.castShadow?1:0)-(a.castShadow?1:0)}function xk(){for(var a=new uk,b=vk(),c={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1},ambient:[0,0,0],probe:[],directional:[],
directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotShadow:[],spotShadowMap:[],spotShadowMatrix:[],rectArea:[],point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[]},d=0;9>d;d++)c.probe.push(new m);var e=new m,f=new M,g=new M;return{setup:function(d,l,n){for(var h=l=0,p=0,k=0;9>k;k++)c.probe[k].set(0,0,0);var t=k=0,r=0,u=0,m=0,E=0,x=0,Ea=0;n=n.matrixWorldInverse;d.sort(wk);for(var ka=0,U=d.length;ka<U;ka++){var C=d[ka],w=C.color,O=C.intensity,aa=C.distance,
fa=C.shadow&&C.shadow.map?C.shadow.map.texture:null;if(C.isAmbientLight)l+=w.r*O,h+=w.g*O,p+=w.b*O;else if(C.isLightProbe)for(fa=0;9>fa;fa++)c.probe[fa].addScaledVector(C.sh.coefficients[fa],O);else if(C.isDirectionalLight){O=a.get(C);O.color.copy(C.color).multiplyScalar(C.intensity);O.direction.setFromMatrixPosition(C.matrixWorld);e.setFromMatrixPosition(C.target.matrixWorld);O.direction.sub(e);O.direction.transformDirection(n);if(C.castShadow){var ja=C.shadow;w=b.get(C);w.shadowBias=ja.bias;w.shadowNormalOffset=
ja.normalOffset;w.shadowRadius=ja.radius;w.shadowMapSize=ja.mapSize;c.directionalShadow[k]=w;c.directionalShadowMap[k]=fa;c.directionalShadowMatrix[k]=C.shadow.matrix;E++}c.directional[k]=O;k++}else C.isSpotLight?(ja=a.get(C),ja.position.setFromMatrixPosition(C.matrixWorld),ja.position.applyMatrix4(n),ja.color.copy(w).multiplyScalar(O),ja.distance=aa,ja.direction.setFromMatrixPosition(C.matrixWorld),e.setFromMatrixPosition(C.target.matrixWorld),ja.direction.sub(e),ja.direction.transformDirection(n),
ja.coneCos=Math.cos(C.angle),ja.penumbraCos=Math.cos(C.angle*(1-C.penumbra)),ja.decay=C.decay,C.castShadow&&(O=C.shadow,w=b.get(C),w.shadowBias=O.bias,w.shadowNormalOffset=O.normalOffset,w.shadowRadius=O.radius,w.shadowMapSize=O.mapSize,c.spotShadow[r]=w,c.spotShadowMap[r]=fa,c.spotShadowMatrix[r]=C.shadow.matrix,Ea++),c.spot[r]=ja,r++):C.isRectAreaLight?(fa=a.get(C),fa.color.copy(w).multiplyScalar(O),fa.position.setFromMatrixPosition(C.matrixWorld),fa.position.applyMatrix4(n),g.identity(),f.copy(C.matrixWorld),
f.premultiply(n),g.extractRotation(f),fa.halfWidth.set(.5*C.width,0,0),fa.halfHeight.set(0,.5*C.height,0),fa.halfWidth.applyMatrix4(g),fa.halfHeight.applyMatrix4(g),c.rectArea[u]=fa,u++):C.isPointLight?(O=a.get(C),O.position.setFromMatrixPosition(C.matrixWorld),O.position.applyMatrix4(n),O.color.copy(C.color).multiplyScalar(C.intensity),O.distance=C.distance,O.decay=C.decay,C.castShadow&&(ja=C.shadow,w=b.get(C),w.shadowBias=ja.bias,w.shadowNormalOffset=ja.normalOffset,w.shadowRadius=ja.radius,w.shadowMapSize=
ja.mapSize,w.shadowCameraNear=ja.camera.near,w.shadowCameraFar=ja.camera.far,c.pointShadow[t]=w,c.pointShadowMap[t]=fa,c.pointShadowMatrix[t]=C.shadow.matrix,x++),c.point[t]=O,t++):C.isHemisphereLight&&(fa=a.get(C),fa.direction.setFromMatrixPosition(C.matrixWorld),fa.direction.transformDirection(n),fa.direction.normalize(),fa.skyColor.copy(C.color).multiplyScalar(O),fa.groundColor.copy(C.groundColor).multiplyScalar(O),c.hemi[m]=fa,m++)}c.ambient[0]=l;c.ambient[1]=h;c.ambient[2]=p;d=c.hash;if(d.directionalLength!==
k||d.pointLength!==t||d.spotLength!==r||d.rectAreaLength!==u||d.hemiLength!==m||d.numDirectionalShadows!==E||d.numPointShadows!==x||d.numSpotShadows!==Ea)c.directional.length=k,c.spot.length=r,c.rectArea.length=u,c.point.length=t,c.hemi.length=m,c.directionalShadow.length=E,c.directionalShadowMap.length=E,c.pointShadow.length=x,c.pointShadowMap.length=x,c.spotShadow.length=Ea,c.spotShadowMap.length=Ea,c.directionalShadowMatrix.length=E,c.pointShadowMatrix.length=x,c.spotShadowMatrix.length=Ea,d.directionalLength=
k,d.pointLength=t,d.spotLength=r,d.rectAreaLength=u,d.hemiLength=m,d.numDirectionalShadows=E,d.numPointShadows=x,d.numSpotShadows=Ea,c.version=yk++},state:c}}function Uh(){var a=new xk,b=[],c=[];return{init:function(){b.length=0;c.length=0},state:{lightsArray:b,shadowsArray:c,lights:a},setupLights:function(d){a.setup(b,c,d)},pushLight:function(a){b.push(a)},pushShadow:function(a){c.push(a)}}}function zk(){function a(c){c=c.target;c.removeEventListener("dispose",a);b.delete(c)}var b=new WeakMap;return{get:function(c,
d){if(!1===b.has(c)){var e=new Uh;b.set(c,new WeakMap);b.get(c).set(d,e);c.addEventListener("dispose",a)}else!1===b.get(c).has(d)?(e=new Uh,b.get(c).set(d,e)):e=b.get(c).get(d);return e},dispose:function(){b=new WeakMap}}}function Gb(a){G.call(this);this.type="MeshDepthMaterial";this.depthPacking=3200;this.morphTargets=this.skinning=!1;this.displacementMap=this.alphaMap=this.map=null;this.displacementScale=1;this.displacementBias=0;this.wireframe=!1;this.wireframeLinewidth=1;this.fog=!1;this.setValues(a)}
function Hb(a){G.call(this);this.type="MeshDistanceMaterial";this.referencePosition=new m;this.nearDistance=1;this.farDistance=1E3;this.morphTargets=this.skinning=!1;this.displacementMap=this.alphaMap=this.map=null;this.displacementScale=1;this.displacementBias=0;this.fog=!1;this.setValues(a)}function Vh(a,b,c){function d(a,b,c){c=a<<0|b<<1|c<<2;var d=k[c];void 0===d&&(d=new Gb({depthPacking:3201,morphTargets:a,skinning:b}),k[c]=d);return d}function e(a,b,c){c=a<<0|b<<1|c<<2;var d=v[c];void 0===d&&
(d=new Hb({morphTargets:a,skinning:b}),v[c]=d);return d}function f(b,c,f,g,h,l,n){var q=d,k=b.customDepthMaterial;!0===g.isPointLight&&(q=e,k=b.customDistanceMaterial);void 0===k?(k=!1,!0===f.morphTargets&&(k=c.morphAttributes&&c.morphAttributes.position&&0<c.morphAttributes.position.length),c=!1,!0===b.isSkinnedMesh&&(!0===f.skinning?c=!0:console.warn("THREE.WebGLShadowMap: THREE.SkinnedMesh with material.skinning set to false:",b)),b=q(k,c,!0===b.isInstancedMesh)):b=k;a.localClippingEnabled&&!0===
f.clipShadows&&0!==f.clippingPlanes.length&&(k=b.uuid,q=f.uuid,c=t[k],void 0===c&&(c={},t[k]=c),k=c[q],void 0===k&&(k=b.clone(),c[q]=k),b=k);b.visible=f.visible;b.wireframe=f.wireframe;b.side=3===n?null!==f.shadowSide?f.shadowSide:f.side:null!==f.shadowSide?f.shadowSide:r[f.side];b.clipShadows=f.clipShadows;b.clippingPlanes=f.clippingPlanes;b.clipIntersection=f.clipIntersection;b.wireframeLinewidth=f.wireframeLinewidth;b.linewidth=f.linewidth;!0===g.isPointLight&&!0===b.isMeshDistanceMaterial&&(b.referencePosition.setFromMatrixPosition(g.matrixWorld),
b.nearDistance=h,b.farDistance=l);return b}function g(c,d,e,l,n){if(!1!==c.visible){if(c.layers.test(d.layers)&&(c.isMesh||c.isLine||c.isPoints)&&(c.castShadow||c.receiveShadow&&3===n)&&(!c.frustumCulled||h.intersectsObject(c))){c.modelViewMatrix.multiplyMatrices(e.matrixWorldInverse,c.matrixWorld);var q=b.update(c),k=c.material;if(Array.isArray(k))for(var p=q.groups,v=0,r=p.length;v<r;v++){var t=p[v],u=k[t.materialIndex];u&&u.visible&&(u=f(c,q,u,l,e.near,e.far,n),a.renderBufferDirect(e,null,q,u,
c,t))}else k.visible&&(k=f(c,q,k,l,e.near,e.far,n),a.renderBufferDirect(e,null,q,k,c,null))}c=c.children;q=0;for(k=c.length;q<k;q++)g(c[q],d,e,l,n)}}var h=new Fc,l=new w,n=new w,q=new Y,k=[],v=[],t={},r={0:1,1:0,2:2},u=new Ba({defines:{SAMPLE_RATE:.25,HALF_SAMPLE_RATE:.125},uniforms:{shadow_pass:{value:null},resolution:{value:new w},radius:{value:4}},vertexShader:"void main() {\n\tgl_Position = vec4( position, 1.0 );\n}",fragmentShader:"uniform sampler2D shadow_pass;\nuniform vec2 resolution;\nuniform float radius;\n#include <packing>\nvoid main() {\n float mean = 0.0;\n float squared_mean = 0.0;\n\tfloat depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy ) / resolution ) );\n for ( float i = -1.0; i < 1.0 ; i += SAMPLE_RATE) {\n #ifdef HORIZONAL_PASS\n vec2 distribution = unpackRGBATo2Half( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( i, 0.0 ) * radius ) / resolution ) );\n mean += distribution.x;\n squared_mean += distribution.y * distribution.y + distribution.x * distribution.x;\n #else\n float depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, i ) * radius ) / resolution ) );\n mean += depth;\n squared_mean += depth * depth;\n #endif\n }\n mean = mean * HALF_SAMPLE_RATE;\n squared_mean = squared_mean * HALF_SAMPLE_RATE;\n float std_dev = sqrt( squared_mean - mean * mean );\n gl_FragColor = pack2HalfToRGBA( vec2( mean, std_dev ) );\n}"}),
m=u.clone();m.defines.HORIZONAL_PASS=1;var E=new F;E.setAttribute("position",new H(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));var x=new X(E,u),Ea=this;this.enabled=!1;this.autoUpdate=!0;this.needsUpdate=!1;this.type=1;this.render=function(d,e,f){if(!1!==Ea.enabled&&(!1!==Ea.autoUpdate||!1!==Ea.needsUpdate)&&0!==d.length){var k=a.getRenderTarget(),p=a.getActiveCubeFace(),v=a.getActiveMipmapLevel(),r=a.state;r.setBlending(0);r.buffers.color.setClear(1,1,1,1);r.buffers.depth.setTest(!0);r.setScissorTest(!1);
for(var t=0,A=d.length;t<A;t++){var E=d[t],C=E.shadow;if(void 0===C)console.warn("THREE.WebGLShadowMap:",E,"has no shadow.");else{l.copy(C.mapSize);var w=C.getFrameExtents();l.multiply(w);n.copy(C.mapSize);if(l.x>c||l.y>c)l.x>c&&(n.x=Math.floor(c/w.x),l.x=n.x*w.x,C.mapSize.x=n.x),l.y>c&&(n.y=Math.floor(c/w.y),l.y=n.y*w.y,C.mapSize.y=n.y);null!==C.map||C.isPointLightShadow||3!==this.type||(w={minFilter:1006,magFilter:1006,format:1023},C.map=new Ha(l.x,l.y,w),C.map.texture.name=E.name+".shadowMap",
C.mapPass=new Ha(l.x,l.y,w),C.camera.updateProjectionMatrix());null===C.map&&(C.map=new Ha(l.x,l.y,{minFilter:1003,magFilter:1003,format:1023}),C.map.texture.name=E.name+".shadowMap",C.camera.updateProjectionMatrix());a.setRenderTarget(C.map);a.clear();w=C.getViewportCount();for(var U=0;U<w;U++){var ka=C.getViewport(U);q.set(n.x*ka.x,n.y*ka.y,n.x*ka.z,n.y*ka.w);r.viewport(q);C.updateMatrices(E,U);h=C.getFrustum();g(e,f,C.camera,E,this.type)}C.isPointLightShadow||3!==this.type||(E=C,C=f,w=b.update(x),
u.uniforms.shadow_pass.value=E.map.texture,u.uniforms.resolution.value=E.mapSize,u.uniforms.radius.value=E.radius,a.setRenderTarget(E.mapPass),a.clear(),a.renderBufferDirect(C,null,w,u,x,null),m.uniforms.shadow_pass.value=E.mapPass.texture,m.uniforms.resolution.value=E.mapSize,m.uniforms.radius.value=E.radius,a.setRenderTarget(E.map),a.clear(),a.renderBufferDirect(C,null,w,m,x,null))}}Ea.needsUpdate=!1;a.setRenderTarget(k,p,v)}}}function Ak(a,b,c){function d(b,c,d){var e=new Uint8Array(4),f=a.createTexture();
a.bindTexture(b,f);a.texParameteri(b,10241,9728);a.texParameteri(b,10240,9728);for(b=0;b<d;b++)a.texImage2D(c+b,0,6408,1,1,0,6408,5121,e);return f}function e(c,d){m[c]=1;0===E[c]&&(a.enableVertexAttribArray(c),E[c]=1);x[c]!==d&&((v?a:b.get("ANGLE_instanced_arrays"))[v?"vertexAttribDivisor":"vertexAttribDivisorANGLE"](c,d),x[c]=d)}function f(b){!0!==w[b]&&(a.enable(b),w[b]=!0)}function g(b){!1!==w[b]&&(a.disable(b),w[b]=!1)}function h(b,c,d,e,h,l,n,q){if(0===b)U&&(g(3042),U=!1);else if(U||(f(3042),
U=!0),5!==b){if(b!==C||q!==y){if(100!==z||100!==fa)a.blendEquation(32774),fa=z=100;if(q)switch(b){case 1:a.blendFuncSeparate(1,771,1,771);break;case 2:a.blendFunc(1,1);break;case 3:a.blendFuncSeparate(0,0,769,771);break;case 4:a.blendFuncSeparate(0,768,0,770);break;default:console.error("THREE.WebGLState: Invalid blending: ",b)}else switch(b){case 1:a.blendFuncSeparate(770,771,1,771);break;case 2:a.blendFunc(770,1);break;case 3:a.blendFunc(0,769);break;case 4:a.blendFunc(0,768);break;default:console.error("THREE.WebGLState: Invalid blending: ",
b)}B=ja=aa=O=null;C=b;y=q}}else{h=h||c;l=l||d;n=n||e;if(c!==z||h!==fa)a.blendEquationSeparate(ea[c],ea[h]),z=c,fa=h;if(d!==O||e!==aa||l!==ja||n!==B)a.blendFuncSeparate(da[d],da[e],da[l],da[n]),O=d,aa=e,ja=l,B=n;C=b;y=null}}function l(b){D!==b&&(b?a.frontFace(2304):a.frontFace(2305),D=b)}function n(b){0!==b?(f(2884),b!==F&&(1===b?a.cullFace(1029):2===b?a.cullFace(1028):a.cullFace(1032))):g(2884);F=b}function q(b,c,d){if(b){if(f(32823),H!==c||G!==d)a.polygonOffset(c,d),H=c,G=d}else g(32823)}function k(b){void 0===
b&&(b=33984+L-1);M!==b&&(a.activeTexture(b),M=b)}var v=c.isWebGL2,t=new function(){var b=!1,c=new Y,d=null,e=new Y(0,0,0,0);return{setMask:function(c){d===c||b||(a.colorMask(c,c,c,c),d=c)},setLocked:function(a){b=a},setClear:function(b,d,f,g,h){!0===h&&(b*=g,d*=g,f*=g);c.set(b,d,f,g);!1===e.equals(c)&&(a.clearColor(b,d,f,g),e.copy(c))},reset:function(){b=!1;d=null;e.set(-1,0,0,0)}}},r=new function(){var b=!1,c=null,d=null,e=null;return{setTest:function(a){a?f(2929):g(2929)},setMask:function(d){c===
d||b||(a.depthMask(d),c=d)},setFunc:function(b){if(d!==b){if(b)switch(b){case 0:a.depthFunc(512);break;case 1:a.depthFunc(519);break;case 2:a.depthFunc(513);break;case 3:a.depthFunc(515);break;case 4:a.depthFunc(514);break;case 5:a.depthFunc(518);break;case 6:a.depthFunc(516);break;case 7:a.depthFunc(517);break;default:a.depthFunc(515)}else a.depthFunc(515);d=b}},setLocked:function(a){b=a},setClear:function(b){e!==b&&(a.clearDepth(b),e=b)},reset:function(){b=!1;e=d=c=null}}},u=new function(){var b=
!1,c=null,d=null,e=null,h=null,l=null,n=null,q=null,k=null;return{setTest:function(a){b||(a?f(2960):g(2960))},setMask:function(d){c===d||b||(a.stencilMask(d),c=d)},setFunc:function(b,c,f){if(d!==b||e!==c||h!==f)a.stencilFunc(b,c,f),d=b,e=c,h=f},setOp:function(b,c,d){if(l!==b||n!==c||q!==d)a.stencilOp(b,c,d),l=b,n=c,q=d},setLocked:function(a){b=a},setClear:function(b){k!==b&&(a.clearStencil(b),k=b)},reset:function(){b=!1;k=q=n=l=h=e=d=c=null}}};c=a.getParameter(34921);var m=new Uint8Array(c),E=new Uint8Array(c),
x=new Uint8Array(c),w={},ka=null,U=null,C=null,z=null,O=null,aa=null,fa=null,ja=null,B=null,y=!1,D=null,F=null,J=null,H=null,G=null,L=a.getParameter(35661),K=!1;c=0;c=a.getParameter(7938);-1!==c.indexOf("WebGL")?(c=parseFloat(/^WebGL ([0-9])/.exec(c)[1]),K=1<=c):-1!==c.indexOf("OpenGL ES")&&(c=parseFloat(/^OpenGL ES ([0-9])/.exec(c)[1]),K=2<=c);var M=null,Ld={},R=new Y,ba=new Y,Wa={};Wa[3553]=d(3553,3553,1);Wa[34067]=d(34067,34069,6);t.setClear(0,0,0,1);r.setClear(1);u.setClear(0);f(2929);r.setFunc(3);
l(!1);n(1);f(2884);h(0);var ea={100:32774,101:32778,102:32779};v?(ea[103]=32775,ea[104]=32776):(c=b.get("EXT_blend_minmax"),null!==c&&(ea[103]=c.MIN_EXT,ea[104]=c.MAX_EXT));var da={200:0,201:1,202:768,204:770,210:776,208:774,206:772,203:769,205:771,209:775,207:773};return{buffers:{color:t,depth:r,stencil:u},initAttributes:function(){for(var a=0,b=m.length;a<b;a++)m[a]=0},enableAttribute:function(a){e(a,0)},enableAttributeAndDivisor:e,disableUnusedAttributes:function(){for(var b=0,c=E.length;b!==c;++b)E[b]!==
m[b]&&(a.disableVertexAttribArray(b),E[b]=0)},vertexAttribPointer:function(b,c,d,e,f,g){!0!==v||5124!==d&&5125!==d?a.vertexAttribPointer(b,c,d,e,f,g):a.vertexAttribIPointer(b,c,d,e,f,g)},enable:f,disable:g,useProgram:function(b){return ka!==b?(a.useProgram(b),ka=b,!0):!1},setBlending:h,setMaterial:function(a,b){2===a.side?g(2884):f(2884);var c=1===a.side;b&&(c=!c);l(c);1===a.blending&&!1===a.transparent?h(0):h(a.blending,a.blendEquation,a.blendSrc,a.blendDst,a.blendEquationAlpha,a.blendSrcAlpha,a.blendDstAlpha,
a.premultipliedAlpha);r.setFunc(a.depthFunc);r.setTest(a.depthTest);r.setMask(a.depthWrite);t.setMask(a.colorWrite);b=a.stencilWrite;u.setTest(b);b&&(u.setMask(a.stencilWriteMask),u.setFunc(a.stencilFunc,a.stencilRef,a.stencilFuncMask),u.setOp(a.stencilFail,a.stencilZFail,a.stencilZPass));q(a.polygonOffset,a.polygonOffsetFactor,a.polygonOffsetUnits)},setFlipSided:l,setCullFace:n,setLineWidth:function(b){b!==J&&(K&&a.lineWidth(b),J=b)},setPolygonOffset:q,setScissorTest:function(a){a?f(3089):g(3089)},
activeTexture:k,bindTexture:function(b,c){null===M&&k();var d=Ld[M];void 0===d&&(d={type:void 0,texture:void 0},Ld[M]=d);if(d.type!==b||d.texture!==c)a.bindTexture(b,c||Wa[b]),d.type=b,d.texture=c},unbindTexture:function(){var b=Ld[M];void 0!==b&&void 0!==b.type&&(a.bindTexture(b.type,null),b.type=void 0,b.texture=void 0)},compressedTexImage2D:function(){try{a.compressedTexImage2D.apply(a,arguments)}catch(Jd){console.error("THREE.WebGLState:",Jd)}},texImage2D:function(){try{a.texImage2D.apply(a,arguments)}catch(Jd){console.error("THREE.WebGLState:",
Jd)}},texImage3D:function(){try{a.texImage3D.apply(a,arguments)}catch(Jd){console.error("THREE.WebGLState:",Jd)}},scissor:function(b){!1===R.equals(b)&&(a.scissor(b.x,b.y,b.z,b.w),R.copy(b))},viewport:function(b){!1===ba.equals(b)&&(a.viewport(b.x,b.y,b.z,b.w),ba.copy(b))},reset:function(){for(var b=0;b<E.length;b++)1===E[b]&&(a.disableVertexAttribArray(b),E[b]=0);w={};M=null;Ld={};F=D=C=ka=null;t.reset();r.reset();u.reset()}}}function Bk(a,b,c,d,e,f,g){function h(a,b){return J?new OffscreenCanvas(a,
b):document.createElementNS("http://www.w3.org/1999/xhtml","canvas")}function l(a,b,c,d){var e=1;if(a.width>d||a.height>d)e=d/Math.max(a.width,a.height);if(1>e||!0===b){if("undefined"!==typeof HTMLImageElement&&a instanceof HTMLImageElement||"undefined"!==typeof HTMLCanvasElement&&a instanceof HTMLCanvasElement||"undefined"!==typeof ImageBitmap&&a instanceof ImageBitmap)return d=b?K.floorPowerOfTwo:Math.floor,b=d(e*a.width),e=d(e*a.height),void 0===F&&(F=h(b,e)),c=c?h(b,e):F,c.width=b,c.height=e,
c.getContext("2d").drawImage(a,0,0,b,e),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+a.width+"x"+a.height+") to ("+b+"x"+e+")."),c;"data"in a&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+a.width+"x"+a.height+").")}return a}function n(a){return K.isPowerOfTwo(a.width)&&K.isPowerOfTwo(a.height)}function q(a,b){return a.generateMipmaps&&b&&1003!==a.minFilter&&1006!==a.minFilter}function k(b,c,e,f){a.generateMipmap(b);d.get(c).__maxMipLevel=Math.log(Math.max(e,
f))*Math.LOG2E}function v(c,d,e){if(!1===aa)return d;if(null!==c){if(void 0!==a[c])return a[c];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+c+"'")}c=d;6403===d&&(5126===e&&(c=33326),5131===e&&(c=33325),5121===e&&(c=33321));6407===d&&(5126===e&&(c=34837),5131===e&&(c=34843),5121===e&&(c=32849));6408===d&&(5126===e&&(c=34836),5131===e&&(c=34842),5121===e&&(c=32856));33325!==c&&33326!==c&&34842!==c&&34836!==c||b.get("EXT_color_buffer_float");return c}function t(a){return 1003===
a||1004===a||1005===a?9728:9729}function r(b){b=b.target;b.removeEventListener("dispose",r);var c=d.get(b);void 0!==c.__webglInit&&(a.deleteTexture(c.__webglTexture),d.remove(b));b.isVideoTexture&&D.delete(b);g.memory.textures--}function u(b){b=b.target;b.removeEventListener("dispose",u);var c=d.get(b),e=d.get(b.texture);if(b){void 0!==e.__webglTexture&&a.deleteTexture(e.__webglTexture);b.depthTexture&&b.depthTexture.dispose();if(b.isWebGLCubeRenderTarget)for(e=0;6>e;e++)a.deleteFramebuffer(c.__webglFramebuffer[e]),
c.__webglDepthbuffer&&a.deleteRenderbuffer(c.__webglDepthbuffer[e]);else a.deleteFramebuffer(c.__webglFramebuffer),c.__webglDepthbuffer&&a.deleteRenderbuffer(c.__webglDepthbuffer),c.__webglMultisampledFramebuffer&&a.deleteFramebuffer(c.__webglMultisampledFramebuffer),c.__webglColorRenderbuffer&&a.deleteRenderbuffer(c.__webglColorRenderbuffer),c.__webglDepthRenderbuffer&&a.deleteRenderbuffer(c.__webglDepthRenderbuffer);d.remove(b.texture);d.remove(b)}g.memory.textures--}function m(a,b){var e=d.get(a);
if(a.isVideoTexture){var f=g.render.frame;D.get(a)!==f&&(D.set(a,f),a.update())}if(0<a.version&&e.__version!==a.version)if(f=a.image,void 0===f)console.warn("THREE.WebGLRenderer: Texture marked for update but image is undefined");else if(!1===f.complete)console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete");else{U(e,a,b);return}c.activeTexture(33984+b);c.bindTexture(3553,e.__webglTexture)}function E(b,e){if(6===b.image.length){var g=d.get(b);if(0<b.version&&g.__version!==
b.version){ka(g,b);c.activeTexture(33984+e);c.bindTexture(34067,g.__webglTexture);a.pixelStorei(37440,b.flipY);var h=b&&(b.isCompressedTexture||b.image[0].isCompressedTexture),p=b.image[0]&&b.image[0].isDataTexture;e=[];for(var r=0;6>r;r++)e[r]=h||p?p?b.image[r].image:b.image[r]:l(b.image[r],!1,!0,ja);r=e[0];var t=n(r)||aa,m=f.convert(b.format),u=f.convert(b.type),A=v(b.internalFormat,m,u);w(34067,b,t);if(h){for(p=0;6>p;p++){var x=e[p].mipmaps;for(h=0;h<x.length;h++){var R=x[h];1023!==b.format&&1022!==
b.format?null!==m?c.compressedTexImage2D(34069+p,h,A,R.width,R.height,0,R.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()"):c.texImage2D(34069+p,h,A,R.width,R.height,0,m,u,R.data)}}g.__maxMipLevel=x.length-1}else{x=b.mipmaps;for(h=0;6>h;h++)if(p)for(c.texImage2D(34069+h,0,A,e[h].width,e[h].height,0,m,u,e[h].data),R=0;R<x.length;R++){var E=x[R].image[h].image;c.texImage2D(34069+h,R+1,A,E.width,E.height,0,m,u,E.data)}else for(c.texImage2D(34069+
h,0,A,m,u,e[h]),R=0;R<x.length;R++)c.texImage2D(34069+h,R+1,A,m,u,x[R].image[h]);g.__maxMipLevel=x.length}q(b,t)&&k(34067,b,r.width,r.height);g.__version=b.version;if(b.onUpdate)b.onUpdate(b)}else c.activeTexture(33984+e),c.bindTexture(34067,g.__webglTexture)}}function x(a,b){c.activeTexture(33984+b);c.bindTexture(34067,d.get(a).__webglTexture)}function w(c,f,g){g?(a.texParameteri(c,10242,G[f.wrapS]),a.texParameteri(c,10243,G[f.wrapT]),32879!==c&&35866!==c||a.texParameteri(c,32882,G[f.wrapR]),a.texParameteri(c,
10240,L[f.magFilter]),a.texParameteri(c,10241,L[f.minFilter])):(a.texParameteri(c,10242,33071),a.texParameteri(c,10243,33071),32879!==c&&35866!==c||a.texParameteri(c,32882,33071),1001===f.wrapS&&1001===f.wrapT||console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping."),a.texParameteri(c,10240,t(f.magFilter)),a.texParameteri(c,10241,t(f.minFilter)),1003!==f.minFilter&&1006!==f.minFilter&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter."));
!(g=b.get("EXT_texture_filter_anisotropic"))||1015===f.type&&null===b.get("OES_texture_float_linear")||1016===f.type&&null===(aa||b.get("OES_texture_half_float_linear"))||!(1<f.anisotropy||d.get(f).__currentAnisotropy)||(a.texParameterf(c,g.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(f.anisotropy,e.getMaxAnisotropy())),d.get(f).__currentAnisotropy=f.anisotropy)}function ka(b,c){void 0===b.__webglInit&&(b.__webglInit=!0,c.addEventListener("dispose",r),b.__webglTexture=a.createTexture(),g.memory.textures++)}
function U(b,d,e){var g=3553;d.isDataTexture2DArray&&(g=35866);d.isDataTexture3D&&(g=32879);ka(b,d);c.activeTexture(33984+e);c.bindTexture(g,b.__webglTexture);a.pixelStorei(37440,d.flipY);a.pixelStorei(37441,d.premultiplyAlpha);a.pixelStorei(3317,d.unpackAlignment);e=aa?!1:1001!==d.wrapS||1001!==d.wrapT||1003!==d.minFilter&&1006!==d.minFilter;e=e&&!1===n(d.image);e=l(d.image,e,!1,B);var h=n(e)||aa,p=f.convert(d.format),r=f.convert(d.type),t=v(d.internalFormat,p,r);w(g,d,h);var m=d.mipmaps;if(d.isDepthTexture)t=
6402,aa?t=1015===d.type?36012:1014===d.type?33190:1020===d.type?35056:33189:1015===d.type&&console.error("WebGLRenderer: Floating point depth texture requires WebGL2."),1026===d.format&&6402===t&&1012!==d.type&&1014!==d.type&&(console.warn("THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture."),d.type=1012,r=f.convert(d.type)),1027===d.format&&6402===t&&(t=34041,1020!==d.type&&(console.warn("THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture."),
d.type=1020,r=f.convert(d.type))),c.texImage2D(3553,0,t,e.width,e.height,0,p,r,null);else if(d.isDataTexture)if(0<m.length&&h){for(var u=0,A=m.length;u<A;u++){var x=m[u];c.texImage2D(3553,u,t,x.width,x.height,0,p,r,x.data)}d.generateMipmaps=!1;b.__maxMipLevel=m.length-1}else c.texImage2D(3553,0,t,e.width,e.height,0,p,r,e.data),b.__maxMipLevel=0;else if(d.isCompressedTexture){u=0;for(A=m.length;u<A;u++)x=m[u],1023!==d.format&&1022!==d.format?null!==p?c.compressedTexImage2D(3553,u,t,x.width,x.height,
0,x.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()"):c.texImage2D(3553,u,t,x.width,x.height,0,p,r,x.data);b.__maxMipLevel=m.length-1}else if(d.isDataTexture2DArray)c.texImage3D(35866,0,t,e.width,e.height,e.depth,0,p,r,e.data),b.__maxMipLevel=0;else if(d.isDataTexture3D)c.texImage3D(32879,0,t,e.width,e.height,e.depth,0,p,r,e.data),b.__maxMipLevel=0;else if(0<m.length&&h){u=0;for(A=m.length;u<A;u++)x=m[u],c.texImage2D(3553,u,t,p,r,
x);d.generateMipmaps=!1;b.__maxMipLevel=m.length-1}else c.texImage2D(3553,0,t,p,r,e),b.__maxMipLevel=0;q(d,h)&&k(g,d,e.width,e.height);b.__version=d.version;if(d.onUpdate)d.onUpdate(d)}function C(b,e,g,h){var l=f.convert(e.texture.format),n=f.convert(e.texture.type),q=v(e.texture.internalFormat,l,n);c.texImage2D(h,0,q,e.width,e.height,0,l,n,null);a.bindFramebuffer(36160,b);a.framebufferTexture2D(36160,g,h,d.get(e.texture).__webglTexture,0);a.bindFramebuffer(36160,null)}function z(b,c,d){a.bindRenderbuffer(36161,
b);if(c.depthBuffer&&!c.stencilBuffer){var e=33189;d?((d=c.depthTexture)&&d.isDepthTexture&&(1015===d.type?e=36012:1014===d.type&&(e=33190)),d=O(c),a.renderbufferStorageMultisample(36161,d,e,c.width,c.height)):a.renderbufferStorage(36161,e,c.width,c.height);a.framebufferRenderbuffer(36160,36096,36161,b)}else c.depthBuffer&&c.stencilBuffer?(d?(d=O(c),a.renderbufferStorageMultisample(36161,d,35056,c.width,c.height)):a.renderbufferStorage(36161,34041,c.width,c.height),a.framebufferRenderbuffer(36160,
33306,36161,b)):(b=f.convert(c.texture.format),e=f.convert(c.texture.type),b=v(c.texture.internalFormat,b,e),d?(d=O(c),a.renderbufferStorageMultisample(36161,d,b,c.width,c.height)):a.renderbufferStorage(36161,b,c.width,c.height));a.bindRenderbuffer(36161,null)}function O(a){return aa&&a.isWebGLMultisampleRenderTarget?Math.min(y,a.samples):0}var aa=e.isWebGL2,fa=e.maxTextures,ja=e.maxCubemapSize,B=e.maxTextureSize,y=e.maxSamples,D=new WeakMap,F,J=!1;try{J="undefined"!==typeof OffscreenCanvas&&null!==
(new OffscreenCanvas(1,1)).getContext("2d")}catch(Ld){}var H=0,G={1E3:10497,1001:33071,1002:33648},L={1003:9728,1004:9984,1005:9986,1006:9729,1007:9985,1008:9987},M=!1,N=!1;this.allocateTextureUnit=function(){var a=H;a>=fa&&console.warn("THREE.WebGLTextures: Trying to use "+a+" texture units while this GPU supports only "+fa);H+=1;return a};this.resetTextureUnits=function(){H=0};this.setTexture2D=m;this.setTexture2DArray=function(a,b){var e=d.get(a);0<a.version&&e.__version!==a.version?U(e,a,b):(c.activeTexture(33984+
b),c.bindTexture(35866,e.__webglTexture))};this.setTexture3D=function(a,b){var e=d.get(a);0<a.version&&e.__version!==a.version?U(e,a,b):(c.activeTexture(33984+b),c.bindTexture(32879,e.__webglTexture))};this.setTextureCube=E;this.setTextureCubeDynamic=x;this.setupRenderTarget=function(b){var e=d.get(b),h=d.get(b.texture);b.addEventListener("dispose",u);h.__webglTexture=a.createTexture();g.memory.textures++;var l=!0===b.isWebGLCubeRenderTarget,p=!0===b.isWebGLMultisampleRenderTarget,r=n(b)||aa;!aa||
1022!==b.texture.format||1015!==b.texture.type&&1016!==b.texture.type||(b.texture.format=1023,console.warn("THREE.WebGLRenderer: Rendering to textures with RGB format is not supported. Using RGBA format instead."));if(l)for(e.__webglFramebuffer=[],p=0;6>p;p++)e.__webglFramebuffer[p]=a.createFramebuffer();else if(e.__webglFramebuffer=a.createFramebuffer(),p)if(aa){e.__webglMultisampledFramebuffer=a.createFramebuffer();e.__webglColorRenderbuffer=a.createRenderbuffer();a.bindRenderbuffer(36161,e.__webglColorRenderbuffer);
p=f.convert(b.texture.format);var t=f.convert(b.texture.type);p=v(b.texture.internalFormat,p,t);t=O(b);a.renderbufferStorageMultisample(36161,t,p,b.width,b.height);a.bindFramebuffer(36160,e.__webglMultisampledFramebuffer);a.framebufferRenderbuffer(36160,36064,36161,e.__webglColorRenderbuffer);a.bindRenderbuffer(36161,null);b.depthBuffer&&(e.__webglDepthRenderbuffer=a.createRenderbuffer(),z(e.__webglDepthRenderbuffer,b,!0));a.bindFramebuffer(36160,null)}else console.warn("THREE.WebGLRenderer: WebGLMultisampleRenderTarget can only be used with WebGL2.");
if(l){c.bindTexture(34067,h.__webglTexture);w(34067,b.texture,r);for(h=0;6>h;h++)C(e.__webglFramebuffer[h],b,36064,34069+h);q(b.texture,r)&&k(34067,b.texture,b.width,b.height);c.bindTexture(34067,null)}else c.bindTexture(3553,h.__webglTexture),w(3553,b.texture,r),C(e.__webglFramebuffer,b,36064,3553),q(b.texture,r)&&k(3553,b.texture,b.width,b.height),c.bindTexture(3553,null);if(b.depthBuffer){e=d.get(b);r=!0===b.isWebGLCubeRenderTarget;if(b.depthTexture){if(r)throw Error("target.depthTexture not supported in Cube render targets");
if(b&&b.isWebGLCubeRenderTarget)throw Error("Depth Texture with cube render targets is not supported");a.bindFramebuffer(36160,e.__webglFramebuffer);if(!b.depthTexture||!b.depthTexture.isDepthTexture)throw Error("renderTarget.depthTexture must be an instance of THREE.DepthTexture");d.get(b.depthTexture).__webglTexture&&b.depthTexture.image.width===b.width&&b.depthTexture.image.height===b.height||(b.depthTexture.image.width=b.width,b.depthTexture.image.height=b.height,b.depthTexture.needsUpdate=!0);
m(b.depthTexture,0);e=d.get(b.depthTexture).__webglTexture;if(1026===b.depthTexture.format)a.framebufferTexture2D(36160,36096,3553,e,0);else if(1027===b.depthTexture.format)a.framebufferTexture2D(36160,33306,3553,e,0);else throw Error("Unknown depthTexture format");}else if(r)for(e.__webglDepthbuffer=[],r=0;6>r;r++)a.bindFramebuffer(36160,e.__webglFramebuffer[r]),e.__webglDepthbuffer[r]=a.createRenderbuffer(),z(e.__webglDepthbuffer[r],b,!1);else a.bindFramebuffer(36160,e.__webglFramebuffer),e.__webglDepthbuffer=
a.createRenderbuffer(),z(e.__webglDepthbuffer,b,!1);a.bindFramebuffer(36160,null)}};this.updateRenderTargetMipmap=function(a){var b=a.texture,e=n(a)||aa;if(q(b,e)){e=a.isWebGLCubeRenderTarget?34067:3553;var f=d.get(b).__webglTexture;c.bindTexture(e,f);k(e,b,a.width,a.height);c.bindTexture(e,null)}};this.updateMultisampleRenderTarget=function(b){if(b.isWebGLMultisampleRenderTarget)if(aa){var c=d.get(b);a.bindFramebuffer(36008,c.__webglMultisampledFramebuffer);a.bindFramebuffer(36009,c.__webglFramebuffer);
var e=b.width,f=b.height,g=16384;b.depthBuffer&&(g|=256);b.stencilBuffer&&(g|=1024);a.blitFramebuffer(0,0,e,f,0,0,e,f,g,9728);a.bindFramebuffer(36160,c.__webglMultisampledFramebuffer)}else console.warn("THREE.WebGLRenderer: WebGLMultisampleRenderTarget can only be used with WebGL2.")};this.safeSetTexture2D=function(a,b){a&&a.isWebGLRenderTarget&&(!1===M&&(console.warn("THREE.WebGLTextures.safeSetTexture2D: don't use render targets as textures. Use their .texture property instead."),M=!0),a=a.texture);
m(a,b)};this.safeSetTextureCube=function(a,b){a&&a.isWebGLCubeRenderTarget&&(!1===N&&(console.warn("THREE.WebGLTextures.safeSetTextureCube: don't use cube render targets as textures. Use their .texture property instead."),N=!0),a=a.texture);a&&a.isCubeTexture||Array.isArray(a.image)&&6===a.image.length?E(a,b):x(a,b)}}function Wh(a,b,c){var d=c.isWebGL2;return{convert:function(a){if(1009===a)return 5121;if(1017===a)return 32819;if(1018===a)return 32820;if(1019===a)return 33635;if(1010===a)return 5120;
if(1011===a)return 5122;if(1012===a)return 5123;if(1013===a)return 5124;if(1014===a)return 5125;if(1015===a)return 5126;if(1016===a){if(d)return 5131;var c=b.get("OES_texture_half_float");return null!==c?c.HALF_FLOAT_OES:null}if(1021===a)return 6406;if(1022===a)return 6407;if(1023===a)return 6408;if(1024===a)return 6409;if(1025===a)return 6410;if(1026===a)return 6402;if(1027===a)return 34041;if(1028===a)return 6403;if(1029===a)return 36244;if(1030===a)return 33319;if(1031===a)return 33320;if(1032===
a)return 36248;if(1033===a)return 36249;if(33776===a||33777===a||33778===a||33779===a)if(c=b.get("WEBGL_compressed_texture_s3tc"),null!==c){if(33776===a)return c.COMPRESSED_RGB_S3TC_DXT1_EXT;if(33777===a)return c.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(33778===a)return c.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(33779===a)return c.COMPRESSED_RGBA_S3TC_DXT5_EXT}else return null;if(35840===a||35841===a||35842===a||35843===a)if(c=b.get("WEBGL_compressed_texture_pvrtc"),null!==c){if(35840===a)return c.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;
if(35841===a)return c.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(35842===a)return c.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(35843===a)return c.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}else return null;if(36196===a)return c=b.get("WEBGL_compressed_texture_etc1"),null!==c?c.COMPRESSED_RGB_ETC1_WEBGL:null;if(37492===a||37496===a)if(c=b.get("WEBGL_compressed_texture_etc"),null!==c){if(37492===a)return c.COMPRESSED_RGB8_ETC2;if(37496===a)return c.COMPRESSED_RGBA8_ETC2_EAC}if(37808===a||37809===a||37810===a||37811===a||37812===
a||37813===a||37814===a||37815===a||37816===a||37817===a||37818===a||37819===a||37820===a||37821===a||37840===a||37841===a||37842===a||37843===a||37844===a||37845===a||37846===a||37847===a||37848===a||37849===a||37850===a||37851===a||37852===a||37853===a)return c=b.get("WEBGL_compressed_texture_astc"),null!==c?a:null;if(36492===a)return c=b.get("EXT_texture_compression_bptc"),null!==c?a:null;if(1020===a){if(d)return 34042;c=b.get("WEBGL_depth_texture");return null!==c?c.UNSIGNED_INT_24_8_WEBGL:null}}}}
function Ne(a){P.call(this);this.cameras=a||[]}function Jc(){z.call(this);this.type="Group"}function Oe(){this._grip=this._targetRay=null}function Xh(a,b){function c(a){var b=r.get(a.inputSource);b&&b.dispatchEvent({type:a.type})}function d(){r.forEach(function(a,b){a.disconnect(b)});r.clear();a.setFramebuffer(null);a.setRenderTarget(a.getRenderTarget());O.stop();h.isPresenting=!1;h.dispatchEvent({type:"sessionend"})}function e(a){q=a;O.setContext(l);O.start();h.isPresenting=!0;h.dispatchEvent({type:"sessionstart"})}
function f(a){for(var b=l.inputSources,c=0;c<t.length;c++)r.set(b[c],t[c]);for(b=0;b<a.removed.length;b++){c=a.removed[b];var d=r.get(c);d&&(d.dispatchEvent({type:"disconnected",data:c}),r.delete(c))}for(b=0;b<a.added.length;b++)c=a.added[b],(d=r.get(c))&&d.dispatchEvent({type:"connected",data:c})}function g(a,b){null===b?a.matrixWorld.copy(a.matrix):a.matrixWorld.multiplyMatrices(b.matrixWorld,a.matrix);a.matrixWorldInverse.getInverse(a.matrixWorld)}var h=this,l=null,n=1,q=null,k="local-floor",v=
null,t=[],r=new Map,u=new P;u.layers.enable(1);u.viewport=new Y;var A=new P;A.layers.enable(2);A.viewport=new Y;var E=[u,A],x=new Ne;x.layers.enable(1);x.layers.enable(2);var w=null,ka=null;this.isPresenting=this.enabled=!1;this.getController=function(a){var b=t[a];void 0===b&&(b=new Oe,t[a]=b);return b.getTargetRaySpace()};this.getControllerGrip=function(a){var b=t[a];void 0===b&&(b=new Oe,t[a]=b);return b.getGripSpace()};this.setFramebufferScaleFactor=function(a){n=a;!0===h.isPresenting&&console.warn("THREE.WebXRManager: Cannot change framebuffer scale while presenting.")};
this.setReferenceSpaceType=function(a){k=a;!0===h.isPresenting&&console.warn("THREE.WebXRManager: Cannot change reference space type while presenting.")};this.getReferenceSpace=function(){return q};this.getSession=function(){return l};this.setSession=function(a){l=a;null!==l&&(l.addEventListener("select",c),l.addEventListener("selectstart",c),l.addEventListener("selectend",c),l.addEventListener("squeeze",c),l.addEventListener("squeezestart",c),l.addEventListener("squeezeend",c),l.addEventListener("end",
d),a=b.getContextAttributes(),!0!==a.xrCompatible&&b.makeXRCompatible(),a=new XRWebGLLayer(l,b,{antialias:a.antialias,alpha:a.alpha,depth:a.depth,stencil:a.stencil,framebufferScaleFactor:n}),l.updateRenderState({baseLayer:a}),l.requestReferenceSpace(k).then(e),l.addEventListener("inputsourceschange",f))};var U=new m,C=new m;this.getCamera=function(a){x.near=A.near=u.near=a.near;x.far=A.far=u.far=a.far;if(w!==x.near||ka!==x.far)l.updateRenderState({depthNear:x.near,depthFar:x.far}),w=x.near,ka=x.far;
var b=a.parent,c=x.cameras;g(x,b);for(var d=0;d<c.length;d++)g(c[d],b);a.matrixWorld.copy(x.matrixWorld);a=a.children;b=0;for(d=a.length;b<d;b++)a[b].updateMatrixWorld(!0);if(2===c.length){U.setFromMatrixPosition(u.matrixWorld);C.setFromMatrixPosition(A.matrixWorld);c=U.distanceTo(C);var e=u.projectionMatrix.elements,f=A.projectionMatrix.elements,h=e[14]/(e[10]-1);a=e[14]/(e[10]+1);b=(e[9]+1)/e[5];d=(e[9]-1)/e[5];var n=(e[8]-1)/e[0],q=(f[8]+1)/f[0];f=h*n;e=h*q;q=c/(-n+q);n=q*-n;u.matrixWorld.decompose(x.position,
x.quaternion,x.scale);x.translateX(n);x.translateZ(q);x.matrixWorld.compose(x.position,x.quaternion,x.scale);x.matrixWorldInverse.getInverse(x.matrixWorld);h+=q;q=a+q;x.projectionMatrix.makePerspective(f-n,e+(c-n),b*a/q*h,d*a/q*h,h,q)}else x.projectionMatrix.copy(u.projectionMatrix);return x};var z=null,O=new yh;O.setAnimationLoop(function(b,c){v=c.getViewerPose(q);if(null!==v){var d=v.views,e=l.renderState.baseLayer;a.setFramebuffer(e.framebuffer);var f=!1;d.length!==x.cameras.length&&(x.cameras.length=
0,f=!0);for(var g=0;g<d.length;g++){var h=d[g],n=e.getViewport(h),k=E[g];k.matrix.fromArray(h.transform.matrix);k.projectionMatrix.fromArray(h.projectionMatrix);k.viewport.set(n.x,n.y,n.width,n.height);0===g&&x.matrix.copy(k.matrix);!0===f&&x.cameras.push(k)}}d=l.inputSources;for(e=0;e<t.length;e++)t[e].update(d[e],c,q);z&&z(b,c)});this.setAnimationLoop=function(a){z=a};this.dispose=function(){}}function Ck(a){function b(b,c,f){b.opacity.value=c.opacity;c.color&&b.diffuse.value.copy(c.color);c.emissive&&
b.emissive.value.copy(c.emissive).multiplyScalar(c.emissiveIntensity);c.map&&(b.map.value=c.map);c.alphaMap&&(b.alphaMap.value=c.alphaMap);c.specularMap&&(b.specularMap.value=c.specularMap);if(f=c.envMap||f)b.envMap.value=f,b.flipEnvMap.value=f.isCubeTexture?-1:1,b.reflectivity.value=c.reflectivity,b.refractionRatio.value=c.refractionRatio,b.maxMipLevel.value=a.get(f).__maxMipLevel;c.lightMap&&(b.lightMap.value=c.lightMap,b.lightMapIntensity.value=c.lightMapIntensity);c.aoMap&&(b.aoMap.value=c.aoMap,
b.aoMapIntensity.value=c.aoMapIntensity);if(c.map)var d=c.map;else c.specularMap?d=c.specularMap:c.displacementMap?d=c.displacementMap:c.normalMap?d=c.normalMap:c.bumpMap?d=c.bumpMap:c.roughnessMap?d=c.roughnessMap:c.metalnessMap?d=c.metalnessMap:c.alphaMap?d=c.alphaMap:c.emissiveMap&&(d=c.emissiveMap);void 0!==d&&(d.isWebGLRenderTarget&&(d=d.texture),!0===d.matrixAutoUpdate&&d.updateMatrix(),b.uvTransform.value.copy(d.matrix));if(c.aoMap)var e=c.aoMap;else c.lightMap&&(e=c.lightMap);void 0!==e&&
(e.isWebGLRenderTarget&&(e=e.texture),!0===e.matrixAutoUpdate&&e.updateMatrix(),b.uv2Transform.value.copy(e.matrix))}function c(a,b,c){a.roughness.value=b.roughness;a.metalness.value=b.metalness;b.roughnessMap&&(a.roughnessMap.value=b.roughnessMap);b.metalnessMap&&(a.metalnessMap.value=b.metalnessMap);b.emissiveMap&&(a.emissiveMap.value=b.emissiveMap);b.bumpMap&&(a.bumpMap.value=b.bumpMap,a.bumpScale.value=b.bumpScale,1===b.side&&(a.bumpScale.value*=-1));b.normalMap&&(a.normalMap.value=b.normalMap,
a.normalScale.value.copy(b.normalScale),1===b.side&&a.normalScale.value.negate());b.displacementMap&&(a.displacementMap.value=b.displacementMap,a.displacementScale.value=b.displacementScale,a.displacementBias.value=b.displacementBias);if(b.envMap||c)a.envMapIntensity.value=b.envMapIntensity}return{refreshFogUniforms:function(a,b){a.fogColor.value.copy(b.color);b.isFog?(a.fogNear.value=b.near,a.fogFar.value=b.far):b.isFogExp2&&(a.fogDensity.value=b.density)},refreshMaterialUniforms:function(a,e,f,
g,h){if(e.isMeshBasicMaterial)b(a,e);else if(e.isMeshLambertMaterial)b(a,e),e.emissiveMap&&(a.emissiveMap.value=e.emissiveMap);else if(e.isMeshToonMaterial)b(a,e),a.specular.value.copy(e.specular),a.shininess.value=Math.max(e.shininess,1E-4),e.gradientMap&&(a.gradientMap.value=e.gradientMap),e.emissiveMap&&(a.emissiveMap.value=e.emissiveMap),e.bumpMap&&(a.bumpMap.value=e.bumpMap,a.bumpScale.value=e.bumpScale,1===e.side&&(a.bumpScale.value*=-1)),e.normalMap&&(a.normalMap.value=e.normalMap,a.normalScale.value.copy(e.normalScale),
1===e.side&&a.normalScale.value.negate()),e.displacementMap&&(a.displacementMap.value=e.displacementMap,a.displacementScale.value=e.displacementScale,a.displacementBias.value=e.displacementBias);else if(e.isMeshPhongMaterial)b(a,e),a.specular.value.copy(e.specular),a.shininess.value=Math.max(e.shininess,1E-4),e.emissiveMap&&(a.emissiveMap.value=e.emissiveMap),e.bumpMap&&(a.bumpMap.value=e.bumpMap,a.bumpScale.value=e.bumpScale,1===e.side&&(a.bumpScale.value*=-1)),e.normalMap&&(a.normalMap.value=e.normalMap,
a.normalScale.value.copy(e.normalScale),1===e.side&&a.normalScale.value.negate()),e.displacementMap&&(a.displacementMap.value=e.displacementMap,a.displacementScale.value=e.displacementScale,a.displacementBias.value=e.displacementBias);else if(e.isMeshStandardMaterial)b(a,e,f),e.isMeshPhysicalMaterial?(c(a,e,f),a.reflectivity.value=e.reflectivity,a.clearcoat.value=e.clearcoat,a.clearcoatRoughness.value=e.clearcoatRoughness,e.sheen&&a.sheen.value.copy(e.sheen),e.clearcoatMap&&(a.clearcoatMap.value=
e.clearcoatMap),e.clearcoatRoughnessMap&&(a.clearcoatRoughnessMap.value=e.clearcoatRoughnessMap),e.clearcoatNormalMap&&(a.clearcoatNormalScale.value.copy(e.clearcoatNormalScale),a.clearcoatNormalMap.value=e.clearcoatNormalMap,1===e.side&&a.clearcoatNormalScale.value.negate()),a.transparency.value=e.transparency):c(a,e,f);else if(e.isMeshMatcapMaterial)b(a,e),e.matcap&&(a.matcap.value=e.matcap),e.bumpMap&&(a.bumpMap.value=e.bumpMap,a.bumpScale.value=e.bumpScale,1===e.side&&(a.bumpScale.value*=-1)),
e.normalMap&&(a.normalMap.value=e.normalMap,a.normalScale.value.copy(e.normalScale),1===e.side&&a.normalScale.value.negate()),e.displacementMap&&(a.displacementMap.value=e.displacementMap,a.displacementScale.value=e.displacementScale,a.displacementBias.value=e.displacementBias);else if(e.isMeshDepthMaterial)b(a,e),e.displacementMap&&(a.displacementMap.value=e.displacementMap,a.displacementScale.value=e.displacementScale,a.displacementBias.value=e.displacementBias);else if(e.isMeshDistanceMaterial)b(a,
e),e.displacementMap&&(a.displacementMap.value=e.displacementMap,a.displacementScale.value=e.displacementScale,a.displacementBias.value=e.displacementBias),a.referencePosition.value.copy(e.referencePosition),a.nearDistance.value=e.nearDistance,a.farDistance.value=e.farDistance;else if(e.isMeshNormalMaterial)b(a,e),e.bumpMap&&(a.bumpMap.value=e.bumpMap,a.bumpScale.value=e.bumpScale,1===e.side&&(a.bumpScale.value*=-1)),e.normalMap&&(a.normalMap.value=e.normalMap,a.normalScale.value.copy(e.normalScale),
1===e.side&&a.normalScale.value.negate()),e.displacementMap&&(a.displacementMap.value=e.displacementMap,a.displacementScale.value=e.displacementScale,a.displacementBias.value=e.displacementBias);else if(e.isLineBasicMaterial)a.diffuse.value.copy(e.color),a.opacity.value=e.opacity,e.isLineDashedMaterial&&(a.dashSize.value=e.dashSize,a.totalSize.value=e.dashSize+e.gapSize,a.scale.value=e.scale);else if(e.isPointsMaterial){a.diffuse.value.copy(e.color);a.opacity.value=e.opacity;a.size.value=e.size*g;
a.scale.value=.5*h;e.map&&(a.map.value=e.map);e.alphaMap&&(a.alphaMap.value=e.alphaMap);if(e.map)var d=e.map;else e.alphaMap&&(d=e.alphaMap);void 0!==d&&(!0===d.matrixAutoUpdate&&d.updateMatrix(),a.uvTransform.value.copy(d.matrix))}else if(e.isSpriteMaterial){a.diffuse.value.copy(e.color);a.opacity.value=e.opacity;a.rotation.value=e.rotation;e.map&&(a.map.value=e.map);e.alphaMap&&(a.alphaMap.value=e.alphaMap);if(e.map)var n=e.map;else e.alphaMap&&(n=e.alphaMap);void 0!==n&&(!0===n.matrixAutoUpdate&&
n.updateMatrix(),a.uvTransform.value.copy(n.matrix))}else e.isShadowMaterial?(a.color.value.copy(e.color),a.opacity.value=e.opacity):e.isShaderMaterial&&(e.uniformsNeedUpdate=!1)}}}function Md(a){var b;function c(a,b){for(var c=0;c<a.length;c++){var d=r.getContext(a[c],b);if(null!==d)return d}return null}function d(){sa=new rj(I);Ga=new pj(I,sa,a);!1===Ga.isWebGL2&&(sa.get("WEBGL_depth_texture"),sa.get("OES_texture_float"),sa.get("OES_texture_half_float"),sa.get("OES_texture_half_float_linear"),sa.get("OES_standard_derivatives"),
sa.get("OES_element_index_uint"),sa.get("ANGLE_instanced_arrays"));sa.get("OES_texture_float_linear");ra=new Wh(I,sa,Ga);V=new Ak(I,sa,Ga);V.scissor(R.copy(ha).multiplyScalar(da).floor());V.viewport(T.copy(Z).multiplyScalar(da).floor());ca=new uj(I);P=new qk;Q=new Bk(I,sa,V,P,Ga,ra,ca);na=new mj(I,Ga);wa=new sj(I,na,ca);qa=new xj(I,wa,na,ca);za=new wj(I);ta=new pk(B,sa,Ga);ya=new Ck(P);xa=new tk;va=new zk;pa=new nj(B,V,qa,ka);Ba=new oj(I,sa,ca,Ga);Da=new tj(I,sa,ca,Ga);ca.programs=ta.programs;B.capabilities=
Ga;B.extensions=sa;B.properties=P;B.renderLists=xa;B.state=V;B.info=ca}function e(a){a.preventDefault();console.log("THREE.WebGLRenderer: Context Lost.");D=!0}function f(){console.log("THREE.WebGLRenderer: Context Restored.");D=!1;d()}function g(a){a=a.target;a.removeEventListener("dispose",g);h(a);P.remove(a)}function h(a){var b=P.get(a).program;a.program=void 0;void 0!==b&&ta.releaseProgram(b)}function l(a,b){a.render(function(a){B.renderBufferImmediate(a,b)})}function n(a,b,c,d){if(!1!==a.visible){if(a.layers.test(b.layers))if(a.isGroup)c=
a.renderOrder;else if(a.isLOD)!0===a.autoUpdate&&a.update(b);else if(a.isLight)aa.pushLight(a),a.castShadow&&aa.pushShadow(a);else if(a.isSprite){if(!a.frustumCulled||mg.intersectsSprite(a)){d&&Ib.setFromMatrixPosition(a.matrixWorld).applyMatrix4(Kd);var e=qa.update(a),f=a.material;f.visible&&O.push(a,e,f,c,Ib.z,null)}}else if(a.isImmediateRenderObject)d&&Ib.setFromMatrixPosition(a.matrixWorld).applyMatrix4(Kd),O.push(a,null,a.material,c,Ib.z,null);else if(a.isMesh||a.isLine||a.isPoints)if(a.isSkinnedMesh&&
a.skeleton.frame!==ca.render.frame&&(a.skeleton.update(),a.skeleton.frame=ca.render.frame),!a.frustumCulled||mg.intersectsObject(a))if(d&&Ib.setFromMatrixPosition(a.matrixWorld).applyMatrix4(Kd),e=qa.update(a),f=a.material,Array.isArray(f))for(var g=e.groups,h=0,l=g.length;h<l;h++){var q=g[h],k=f[q.materialIndex];k&&k.visible&&O.push(a,e,k,c,Ib.z,q)}else f.visible&&O.push(a,e,f,c,Ib.z,null);a=a.children;e=0;for(f=a.length;e<f;e++)n(a[e],b,c,d)}}function q(a,b,c){for(var d=!0===b.isScene?b.overrideMaterial:
null,e=0,f=a.length;e<f;e++){var g=a[e],h=g.object,l=g.geometry,n=null===d?g.material:d;g=g.group;if(c.isArrayCamera){X=c;for(var q=c.cameras,p=0,r=q.length;p<r;p++){var v=q[p];h.layers.test(v.layers)&&(V.viewport(T.copy(v.viewport)),aa.setupLights(v),k(h,b,v,l,n,g))}}else X=null,k(h,b,c,l,n,g)}}function k(a,c,d,e,f,g){a.onBeforeRender(B,c,d,e,f,g);aa=va.get(c,X||d);a.modelViewMatrix.multiplyMatrices(d.matrixWorldInverse,a.matrixWorld);a.normalMatrix.getNormalMatrix(a.modelViewMatrix);if(a.isImmediateRenderObject){var h=
t(d,c,f,a);V.setMaterial(f);Me=b=null;S=!1;l(a,h)}else B.renderBufferDirect(d,c,e,f,a,g);a.onAfterRender(B,c,d,e,f,g);aa=va.get(c,X||d)}function v(a,b,c){!0!==b.isScene&&(b=oa);var d=P.get(a),e=aa.state.lights,f=e.state.version;c=ta.getParameters(a,e.state,aa.state.shadowsArray,b,Va.numPlanes,Va.numIntersection,c);var l=ta.getProgramCacheKey(c),n=d.program,q=!0;if(void 0===n)a.addEventListener("dispose",g);else if(n.cacheKey!==l)h(a);else{if(d.lightsStateVersion!==f)d.lightsStateVersion=f;else if(void 0!==
c.shaderID)return;q=!1}q&&(n=ta.acquireProgram(c,l),d.program=n,d.uniforms=c.uniforms,d.outputEncoding=c.outputEncoding,a.program=n);c=n.getAttributes();if(a.morphTargets)for(l=a.numSupportedMorphTargets=0;l<B.maxMorphTargets;l++)0<=c["morphTarget"+l]&&a.numSupportedMorphTargets++;if(a.morphNormals)for(l=a.numSupportedMorphNormals=0;l<B.maxMorphNormals;l++)0<=c["morphNormal"+l]&&a.numSupportedMorphNormals++;c=d.uniforms;if(!a.isShaderMaterial&&!a.isRawShaderMaterial||!0===a.clipping)d.numClippingPlanes=
Va.numPlanes,d.numIntersection=Va.numIntersection,c.clippingPlanes=Va.uniform;d.environment=a.isMeshStandardMaterial?b.environment:null;d.fog=b.fog;d.needsLights=a.isMeshLambertMaterial||a.isMeshToonMaterial||a.isMeshPhongMaterial||a.isMeshStandardMaterial||a.isShadowMaterial||a.isShaderMaterial&&!0===a.lights;d.lightsStateVersion=f;d.needsLights&&(c.ambientLightColor.value=e.state.ambient,c.lightProbe.value=e.state.probe,c.directionalLights.value=e.state.directional,c.directionalLightShadows.value=
e.state.directionalShadow,c.spotLights.value=e.state.spot,c.spotLightShadows.value=e.state.spotShadow,c.rectAreaLights.value=e.state.rectArea,c.pointLights.value=e.state.point,c.pointLightShadows.value=e.state.pointShadow,c.hemisphereLights.value=e.state.hemi,c.directionalShadowMap.value=e.state.directionalShadowMap,c.directionalShadowMatrix.value=e.state.directionalShadowMatrix,c.spotShadowMap.value=e.state.spotShadowMap,c.spotShadowMatrix.value=e.state.spotShadowMatrix,c.pointShadowMap.value=e.state.pointShadowMap,
c.pointShadowMatrix.value=e.state.pointShadowMatrix);a=d.program.getUniforms();a=Fb.seqWithValue(a.seq,c);d.uniformsList=a}function t(a,b,c,d){!0!==b.isScene&&(b=oa);Q.resetTextureUnits();var e=b.fog,f=c.isMeshStandardMaterial?b.environment:null,g=null===G?B.outputEncoding:G.texture.encoding,h=P.get(c),l=aa.state.lights;!0!==Le||!0!==ng&&a===W||Va.setState(c.clippingPlanes,c.clipIntersection,c.clipShadows,a,h,a===W&&c.id===N);c.version===h.__version?void 0===h.program?v(c,b,d):c.fog&&h.fog!==e?v(c,
b,d):h.environment!==f?v(c,b,d):h.needsLights&&h.lightsStateVersion!==l.state.version?v(c,b,d):void 0===h.numClippingPlanes||h.numClippingPlanes===Va.numPlanes&&h.numIntersection===Va.numIntersection?h.outputEncoding!==g&&v(c,b,d):v(c,b,d):(v(c,b,d),h.__version=c.version);var n=!1,q=!1,k=!1;b=h.program;g=b.getUniforms();l=h.uniforms;V.useProgram(b.program)&&(k=q=n=!0);c.id!==N&&(N=c.id,q=!0);if(n||W!==a){g.setValue(I,"projectionMatrix",a.projectionMatrix);Ga.logarithmicDepthBuffer&&g.setValue(I,"logDepthBufFC",
2/(Math.log(a.far+1)/Math.LN2));W!==a&&(W=a,k=q=!0);if(c.isShaderMaterial||c.isMeshPhongMaterial||c.isMeshToonMaterial||c.isMeshStandardMaterial||c.envMap)n=g.map.cameraPosition,void 0!==n&&n.setValue(I,Ib.setFromMatrixPosition(a.matrixWorld));(c.isMeshPhongMaterial||c.isMeshToonMaterial||c.isMeshLambertMaterial||c.isMeshBasicMaterial||c.isMeshStandardMaterial||c.isShaderMaterial)&&g.setValue(I,"isOrthographic",!0===a.isOrthographicCamera);(c.isMeshPhongMaterial||c.isMeshToonMaterial||c.isMeshLambertMaterial||
c.isMeshBasicMaterial||c.isMeshStandardMaterial||c.isShaderMaterial||c.isShadowMaterial||c.skinning)&&g.setValue(I,"viewMatrix",a.matrixWorldInverse)}if(c.skinning&&(g.setOptional(I,d,"bindMatrix"),g.setOptional(I,d,"bindMatrixInverse"),a=d.skeleton))if(n=a.bones,Ga.floatVertexTextures){if(void 0===a.boneTexture){n=Math.sqrt(4*n.length);n=K.ceilPowerOfTwo(n);n=Math.max(n,4);var p=new Float32Array(n*n*4);p.set(a.boneMatrices);var r=new $b(p,n,n,1023,1015);a.boneMatrices=p;a.boneTexture=r;a.boneTextureSize=
n}g.setValue(I,"boneTexture",a.boneTexture,Q);g.setValue(I,"boneTextureSize",a.boneTextureSize)}else g.setOptional(I,a,"boneMatrices");if(q||h.receiveShadow!==d.receiveShadow)h.receiveShadow=d.receiveShadow,g.setValue(I,"receiveShadow",d.receiveShadow);q&&(g.setValue(I,"toneMappingExposure",B.toneMappingExposure),h.needsLights&&(q=k,l.ambientLightColor.needsUpdate=q,l.lightProbe.needsUpdate=q,l.directionalLights.needsUpdate=q,l.directionalLightShadows.needsUpdate=q,l.pointLights.needsUpdate=q,l.pointLightShadows.needsUpdate=
q,l.spotLights.needsUpdate=q,l.spotLightShadows.needsUpdate=q,l.rectAreaLights.needsUpdate=q,l.hemisphereLights.needsUpdate=q),e&&c.fog&&ya.refreshFogUniforms(l,e),ya.refreshMaterialUniforms(l,c,f,da,ea),void 0!==l.ltc_1&&(l.ltc_1.value=y.LTC_1),void 0!==l.ltc_2&&(l.ltc_2.value=y.LTC_2),Fb.upload(I,h.uniformsList,l,Q));c.isShaderMaterial&&!0===c.uniformsNeedUpdate&&(Fb.upload(I,h.uniformsList,l,Q),c.uniformsNeedUpdate=!1);c.isSpriteMaterial&&g.setValue(I,"center",d.center);g.setValue(I,"modelViewMatrix",
d.modelViewMatrix);g.setValue(I,"normalMatrix",d.normalMatrix);g.setValue(I,"modelMatrix",d.matrixWorld);return b}a=a||{};var r=void 0!==a.canvas?a.canvas:document.createElementNS("http://www.w3.org/1999/xhtml","canvas"),u=void 0!==a.context?a.context:null,A=void 0!==a.alpha?a.alpha:!1,E=void 0!==a.depth?a.depth:!0,x=void 0!==a.stencil?a.stencil:!0,Ea=void 0!==a.antialias?a.antialias:!1,ka=void 0!==a.premultipliedAlpha?a.premultipliedAlpha:!0,U=void 0!==a.preserveDrawingBuffer?a.preserveDrawingBuffer:
!1,C=void 0!==a.powerPreference?a.powerPreference:"default",z=void 0!==a.failIfMajorPerformanceCaveat?a.failIfMajorPerformanceCaveat:!1,O=null,aa=null;this.domElement=r;this.debug={checkShaderErrors:!0};this.sortObjects=this.autoClearStencil=this.autoClearDepth=this.autoClearColor=this.autoClear=!0;this.clippingPlanes=[];this.localClippingEnabled=!1;this.gammaFactor=2;this.outputEncoding=3E3;this.physicallyCorrectLights=!1;this.toneMapping=0;this.toneMappingExposure=1;this.maxMorphTargets=8;this.maxMorphNormals=
4;var B=this,D=!1,F=null,J=0,H=0,G=null,L=null,N=-1;var Me=b=null;var S=!1;var W=null,X=null,T=new Y,R=new Y,ba=null,Wa=r.width,ea=r.height,da=1,ia=null,la=null,Z=new Y(0,0,Wa,ea),ha=new Y(0,0,Wa,ea),ma=!1,mg=new Fc,Va=new qj,Le=!1,ng=!1,Kd=new M,Ib=new m,oa={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0},I=u;try{u={alpha:A,depth:E,stencil:x,antialias:Ea,premultipliedAlpha:ka,preserveDrawingBuffer:U,powerPreference:C,failIfMajorPerformanceCaveat:z};r.addEventListener("webglcontextlost",
e,!1);r.addEventListener("webglcontextrestored",f,!1);if(null===I&&(A=["webgl2","webgl","experimental-webgl"],!0===B.isWebGL1Renderer&&A.shift(),I=c(A,u),null===I)){if(c(A))throw Error("Error creating WebGL context with your selected attributes.");throw Error("Error creating WebGL context.");}void 0===I.getShaderPrecisionFormat&&(I.getShaderPrecisionFormat=function(){return{rangeMin:1,rangeMax:1,precision:1}})}catch(Yh){throw console.error("THREE.WebGLRenderer: "+Yh.message),Yh;}var sa,Ga,V,ca,P,
Q,na,wa,qa,ta,ya,xa,va,pa,za,Ba,Da,ra;d();var ua=new Xh(B,I);this.xr=ua;var Fa=new Vh(B,qa,Ga.maxTextureSize);this.shadowMap=Fa;this.getContext=function(){return I};this.getContextAttributes=function(){return I.getContextAttributes()};this.forceContextLoss=function(){var a=sa.get("WEBGL_lose_context");a&&a.loseContext()};this.forceContextRestore=function(){var a=sa.get("WEBGL_lose_context");a&&a.restoreContext()};this.getPixelRatio=function(){return da};this.setPixelRatio=function(a){void 0!==a&&
(da=a,this.setSize(Wa,ea,!1))};this.getSize=function(a){void 0===a&&(console.warn("WebGLRenderer: .getsize() now requires a Vector2 as an argument"),a=new w);return a.set(Wa,ea)};this.setSize=function(a,b,c){ua.isPresenting?console.warn("THREE.WebGLRenderer: Can't change size while VR device is presenting."):(Wa=a,ea=b,r.width=Math.floor(a*da),r.height=Math.floor(b*da),!1!==c&&(r.style.width=a+"px",r.style.height=b+"px"),this.setViewport(0,0,a,b))};this.getDrawingBufferSize=function(a){void 0===a&&
(console.warn("WebGLRenderer: .getdrawingBufferSize() now requires a Vector2 as an argument"),a=new w);return a.set(Wa*da,ea*da).floor()};this.setDrawingBufferSize=function(a,b,c){Wa=a;ea=b;da=c;r.width=Math.floor(a*c);r.height=Math.floor(b*c);this.setViewport(0,0,a,b)};this.getCurrentViewport=function(a){void 0===a&&(console.warn("WebGLRenderer: .getCurrentViewport() now requires a Vector4 as an argument"),a=new Y);return a.copy(T)};this.getViewport=function(a){return a.copy(Z)};this.setViewport=
function(a,b,c,d){a.isVector4?Z.set(a.x,a.y,a.z,a.w):Z.set(a,b,c,d);V.viewport(T.copy(Z).multiplyScalar(da).floor())};this.getScissor=function(a){return a.copy(ha)};this.setScissor=function(a,b,c,d){a.isVector4?ha.set(a.x,a.y,a.z,a.w):ha.set(a,b,c,d);V.scissor(R.copy(ha).multiplyScalar(da).floor())};this.getScissorTest=function(){return ma};this.setScissorTest=function(a){V.setScissorTest(ma=a)};this.setOpaqueSort=function(a){ia=a};this.setTransparentSort=function(a){la=a};this.getClearColor=function(){return pa.getClearColor()};
this.setClearColor=function(){pa.setClearColor.apply(pa,arguments)};this.getClearAlpha=function(){return pa.getClearAlpha()};this.setClearAlpha=function(){pa.setClearAlpha.apply(pa,arguments)};this.clear=function(a,b,c){var d=0;if(void 0===a||a)d|=16384;if(void 0===b||b)d|=256;if(void 0===c||c)d|=1024;I.clear(d)};this.clearColor=function(){this.clear(!0,!1,!1)};this.clearDepth=function(){this.clear(!1,!0,!1)};this.clearStencil=function(){this.clear(!1,!1,!0)};this.dispose=function(){r.removeEventListener("webglcontextlost",
e,!1);r.removeEventListener("webglcontextrestored",f,!1);xa.dispose();va.dispose();P.dispose();qa.dispose();ua.dispose();Aa.stop()};this.renderBufferImmediate=function(a,b){V.initAttributes();var c=P.get(a);a.hasPositions&&!c.position&&(c.position=I.createBuffer());a.hasNormals&&!c.normal&&(c.normal=I.createBuffer());a.hasUvs&&!c.uv&&(c.uv=I.createBuffer());a.hasColors&&!c.color&&(c.color=I.createBuffer());b=b.getAttributes();a.hasPositions&&(I.bindBuffer(34962,c.position),I.bufferData(34962,a.positionArray,
35048),V.enableAttribute(b.position),I.vertexAttribPointer(b.position,3,5126,!1,0,0));a.hasNormals&&(I.bindBuffer(34962,c.normal),I.bufferData(34962,a.normalArray,35048),V.enableAttribute(b.normal),I.vertexAttribPointer(b.normal,3,5126,!1,0,0));a.hasUvs&&(I.bindBuffer(34962,c.uv),I.bufferData(34962,a.uvArray,35048),V.enableAttribute(b.uv),I.vertexAttribPointer(b.uv,2,5126,!1,0,0));a.hasColors&&(I.bindBuffer(34962,c.color),I.bufferData(34962,a.colorArray,35048),V.enableAttribute(b.color),I.vertexAttribPointer(b.color,
3,5126,!1,0,0));V.disableUnusedAttributes();I.drawArrays(4,0,a.count);a.count=0};this.renderBufferDirect=function(a,c,d,e,f,g){null===c&&(c=oa);var h=f.isMesh&&0>f.matrixWorld.determinant(),l=t(a,c,e,f);V.setMaterial(e,h);var n=!1;if(b!==d.id||Me!==l.id||S!==(!0===e.wireframe))b=d.id,Me=l.id,S=!0===e.wireframe,n=!0;if(e.morphTargets||e.morphNormals)za.update(f,d,e,l),n=!0;!0===f.isInstancedMesh&&(n=!0);a=d.index;c=d.attributes.position;if(null===a){if(void 0===c||0===c.count)return}else if(0===a.count)return;
var q=1;!0===e.wireframe&&(a=wa.getWireframeAttribute(d),q=2);h=Ba;if(null!==a){var k=na.get(a);h=Da;h.setIndex(k)}if(n){if(!1!==Ga.isWebGL2||!f.isInstancedMesh&&!d.isInstancedBufferGeometry||null!==sa.get("ANGLE_instanced_arrays")){V.initAttributes();n=d.attributes;l=l.getAttributes();var p=e.defaultAttributeValues;for(U in l){var r=l[U];if(0<=r){var v=n[U];if(void 0!==v){var u=v.normalized,m=v.itemSize,A=na.get(v);if(void 0!==A){var x=A.buffer,E=A.type;A=A.bytesPerElement;if(v.isInterleavedBufferAttribute){var C=
v.data,w=C.stride;v=v.offset;C&&C.isInstancedInterleavedBuffer?(V.enableAttributeAndDivisor(r,C.meshPerAttribute),void 0===d._maxInstanceCount&&(d._maxInstanceCount=C.meshPerAttribute*C.count)):V.enableAttribute(r);I.bindBuffer(34962,x);V.vertexAttribPointer(r,m,E,u,w*A,v*A)}else v.isInstancedBufferAttribute?(V.enableAttributeAndDivisor(r,v.meshPerAttribute),void 0===d._maxInstanceCount&&(d._maxInstanceCount=v.meshPerAttribute*v.count)):V.enableAttribute(r),I.bindBuffer(34962,x),V.vertexAttribPointer(r,
m,E,u,0,0)}}else if("instanceMatrix"===U)m=na.get(f.instanceMatrix),void 0!==m&&(u=m.buffer,m=m.type,V.enableAttributeAndDivisor(r+0,1),V.enableAttributeAndDivisor(r+1,1),V.enableAttributeAndDivisor(r+2,1),V.enableAttributeAndDivisor(r+3,1),I.bindBuffer(34962,u),I.vertexAttribPointer(r+0,4,m,!1,64,0),I.vertexAttribPointer(r+1,4,m,!1,64,16),I.vertexAttribPointer(r+2,4,m,!1,64,32),I.vertexAttribPointer(r+3,4,m,!1,64,48));else if(void 0!==p&&(u=p[U],void 0!==u))switch(u.length){case 2:I.vertexAttrib2fv(r,
u);break;case 3:I.vertexAttrib3fv(r,u);break;case 4:I.vertexAttrib4fv(r,u);break;default:I.vertexAttrib1fv(r,u)}}}V.disableUnusedAttributes()}null!==a&&I.bindBuffer(34963,k.buffer)}var U=d.drawRange.start*q;n=null!==g?g.start*q:0;k=Math.max(U,n);g=Math.max(0,Math.min(null!==a?a.count:c.count,U+d.drawRange.count*q,n+(null!==g?g.count*q:Infinity))-1-k+1);0!==g&&(f.isMesh?!0===e.wireframe?(V.setLineWidth(e.wireframeLinewidth*(null===G?da:1)),h.setMode(1)):h.setMode(4):f.isLine?(e=e.linewidth,void 0===
e&&(e=1),V.setLineWidth(e*(null===G?da:1)),f.isLineSegments?h.setMode(1):f.isLineLoop?h.setMode(2):h.setMode(3)):f.isPoints?h.setMode(0):f.isSprite&&h.setMode(4),f.isInstancedMesh?h.renderInstances(d,k,g,f.count):d.isInstancedBufferGeometry?h.renderInstances(d,k,g,Math.min(d.instanceCount,d._maxInstanceCount)):h.render(k,g))};this.compile=function(a,b){aa=va.get(a,b);aa.init();a.traverse(function(a){a.isLight&&(aa.pushLight(a),a.castShadow&&aa.pushShadow(a))});aa.setupLights(b);var c=new WeakMap;
a.traverse(function(b){var d=b.material;if(d)if(Array.isArray(d))for(var e=0;e<d.length;e++){var f=d[e];!1===c.has(f)&&(v(f,a,b),c.set(f))}else!1===c.has(d)&&(v(d,a,b),c.set(d))})};var Ca=null,Aa=new yh;Aa.setAnimationLoop(function(a){ua.isPresenting||Ca&&Ca(a)});"undefined"!==typeof window&&Aa.setContext(window);this.setAnimationLoop=function(a){Ca=a;ua.setAnimationLoop(a);Aa.start()};this.render=function(a,c,d,e){if(void 0!==d){console.warn("THREE.WebGLRenderer.render(): the renderTarget argument has been removed. Use .setRenderTarget() instead.");
var f=d}if(void 0!==e){console.warn("THREE.WebGLRenderer.render(): the forceClear argument has been removed. Use .clear() instead.");var g=e}if(void 0!==c&&!0!==c.isCamera)console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");else if(!0!==D){Me=b=null;S=!1;N=-1;W=null;!0===a.autoUpdate&&a.updateMatrixWorld();null===c.parent&&c.updateMatrixWorld();!0===ua.enabled&&!0===ua.isPresenting&&(c=ua.getCamera(c));if(!0===a.isScene)a.onBeforeRender(B,a,c,f||G);aa=va.get(a,
c);aa.init();Kd.multiplyMatrices(c.projectionMatrix,c.matrixWorldInverse);mg.setFromProjectionMatrix(Kd);ng=this.localClippingEnabled;Le=Va.init(this.clippingPlanes,ng,c);O=xa.get(a,c);O.init();n(a,c,0,B.sortObjects);O.finish();!0===B.sortObjects&&O.sort(ia,la);!0===Le&&Va.beginShadows();Fa.render(aa.state.shadowsArray,a,c);aa.setupLights(c);!0===Le&&Va.endShadows();!0===this.info.autoReset&&this.info.reset();void 0!==f&&this.setRenderTarget(f);pa.render(O,a,c,g);d=O.opaque;e=O.transparent;0<d.length&&
q(d,a,c);0<e.length&&q(e,a,c);if(!0===a.isScene)a.onAfterRender(B,a,c);null!==G&&(Q.updateRenderTargetMipmap(G),Q.updateMultisampleRenderTarget(G));V.buffers.depth.setTest(!0);V.buffers.depth.setMask(!0);V.buffers.color.setMask(!0);V.setPolygonOffset(!1);aa=O=null}};this.setFramebuffer=function(a){F!==a&&null===G&&I.bindFramebuffer(36160,a);F=a};this.getActiveCubeFace=function(){return J};this.getActiveMipmapLevel=function(){return H};this.getRenderTarget=function(){return G};this.setRenderTarget=
function(a,b,c){G=a;J=b;H=c;a&&void 0===P.get(a).__webglFramebuffer&&Q.setupRenderTarget(a);var d=F,e=!1;a?(d=P.get(a).__webglFramebuffer,a.isWebGLCubeRenderTarget?(d=d[b||0],e=!0):d=a.isWebGLMultisampleRenderTarget?P.get(a).__webglMultisampledFramebuffer:d,T.copy(a.viewport),R.copy(a.scissor),ba=a.scissorTest):(T.copy(Z).multiplyScalar(da).floor(),R.copy(ha).multiplyScalar(da).floor(),ba=ma);L!==d&&(I.bindFramebuffer(36160,d),L=d);V.viewport(T);V.scissor(R);V.setScissorTest(ba);e&&(a=P.get(a.texture),
I.framebufferTexture2D(36160,36064,34069+(b||0),a.__webglTexture,c||0))};this.readRenderTargetPixels=function(a,b,c,d,e,f,g){if(a&&a.isWebGLRenderTarget){var h=P.get(a).__webglFramebuffer;a.isWebGLCubeRenderTarget&&void 0!==g&&(h=h[g]);if(h){g=!1;h!==L&&(I.bindFramebuffer(36160,h),g=!0);try{var l=a.texture,n=l.format,q=l.type;1023!==n&&ra.convert(n)!==I.getParameter(35739)?console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format."):1009===
q||ra.convert(q)===I.getParameter(35738)||1015===q&&(Ga.isWebGL2||sa.get("OES_texture_float")||sa.get("WEBGL_color_buffer_float"))||1016===q&&(Ga.isWebGL2?sa.get("EXT_color_buffer_float"):sa.get("EXT_color_buffer_half_float"))?36053===I.checkFramebufferStatus(36160)?0<=b&&b<=a.width-d&&0<=c&&c<=a.height-e&&I.readPixels(b,c,d,e,ra.convert(n),ra.convert(q),f):console.error("THREE.WebGLRenderer.readRenderTargetPixels: readPixels from renderTarget failed. Framebuffer not complete."):console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.")}finally{g&&
I.bindFramebuffer(36160,L)}}}else console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.")};this.copyFramebufferToTexture=function(a,b,c){void 0===c&&(c=0);var d=Math.pow(2,-c),e=Math.floor(b.image.width*d);d=Math.floor(b.image.height*d);var f=ra.convert(b.format);Q.setTexture2D(b,0);I.copyTexImage2D(3553,c,f,a.x,a.y,e,d,0);V.unbindTexture()};this.copyTextureToTexture=function(a,b,c,d){void 0===d&&(d=0);var e=b.image.width,f=b.image.height,g=ra.convert(c.format),
h=ra.convert(c.type);Q.setTexture2D(c,0);b.isDataTexture?I.texSubImage2D(3553,d,a.x,a.y,e,f,g,h,b.image.data):b.isCompressedTexture?I.compressedTexSubImage2D(3553,d,a.x,a.y,b.mipmaps[0].width,b.mipmaps[0].height,g,b.mipmaps[0].data):I.texSubImage2D(3553,d,a.x,a.y,g,h,b.image);0===d&&c.generateMipmaps&&I.generateMipmap(3553);V.unbindTexture()};this.initTexture=function(a){Q.setTexture2D(a,0);V.unbindTexture()};"undefined"!==typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",
{detail:this}))}function og(a){Md.call(this,a)}function Pe(a,b){this.name="";this.color=new D(a);this.density=void 0!==b?b:2.5E-4}function Qe(a,b,c){this.name="";this.color=new D(a);this.near=void 0!==b?b:1;this.far=void 0!==c?c:1E3}function Ja(a,b){this.array=a;this.stride=b;this.count=void 0!==a?a.length/b:0;this.usage=35044;this.updateRange={offset:0,count:-1};this.version=0;this.uuid=K.generateUUID()}function Jb(a,b,c,d){this.name="";this.data=a;this.itemSize=b;this.offset=c;this.normalized=!0===
d}function Kb(a){G.call(this);this.type="SpriteMaterial";this.color=new D(16777215);this.alphaMap=this.map=null;this.rotation=0;this.transparent=this.sizeAttenuation=!0;this.setValues(a)}function Nd(a){z.call(this);this.type="Sprite";if(void 0===Kc){Kc=new F;var b=new Float32Array([-.5,-.5,0,0,0,.5,-.5,0,1,0,.5,.5,0,1,1,-.5,.5,0,0,1]);b=new Ja(b,5);Kc.setIndex([0,1,2,0,2,3]);Kc.setAttribute("position",new Jb(b,3,0,!1));Kc.setAttribute("uv",new Jb(b,2,3,!1))}this.geometry=Kc;this.material=void 0!==
a?a:new Kb;this.center=new w(.5,.5)}function Re(a,b,c,d,e,f){Lc.subVectors(a,c).addScalar(.5).multiply(d);void 0!==e?(Od.x=f*Lc.x-e*Lc.y,Od.y=e*Lc.x+f*Lc.y):Od.copy(Lc);a.copy(b);a.x+=Od.x;a.y+=Od.y;a.applyMatrix4(Zh)}function Pd(){z.call(this);this._currentLevel=0;this.type="LOD";Object.defineProperties(this,{levels:{enumerable:!0,value:[]}});this.autoUpdate=!0}function Se(a,b){a&&a.isGeometry&&console.error("THREE.SkinnedMesh no longer supports THREE.Geometry. Use THREE.BufferGeometry instead.");
X.call(this,a,b);this.type="SkinnedMesh";this.bindMode="attached";this.bindMatrix=new M;this.bindMatrixInverse=new M}function Te(a,b){a=a||[];this.bones=a.slice(0);this.boneMatrices=new Float32Array(16*this.bones.length);this.frame=-1;if(void 0===b)this.calculateInverses();else if(this.bones.length===b.length)this.boneInverses=b.slice(0);else for(console.warn("THREE.Skeleton boneInverses is the wrong length."),this.boneInverses=[],a=0,b=this.bones.length;a<b;a++)this.boneInverses.push(new M)}function pg(){z.call(this);
this.type="Bone"}function Ue(a,b,c){X.call(this,a,b);this.instanceMatrix=new H(new Float32Array(16*c),16);this.count=c;this.frustumCulled=!1}function la(a){G.call(this);this.type="LineBasicMaterial";this.color=new D(16777215);this.linewidth=1;this.linejoin=this.linecap="round";this.morphTargets=!1;this.setValues(a)}function Ka(a,b,c){1===c&&console.error("THREE.Line: parameter THREE.LinePieces no longer supported. Use THREE.LineSegments instead.");z.call(this);this.type="Line";this.geometry=void 0!==
a?a:new F;this.material=void 0!==b?b:new la;this.updateMorphTargets()}function ha(a,b){Ka.call(this,a,b);this.type="LineSegments"}function Ve(a,b){Ka.call(this,a,b);this.type="LineLoop"}function Xa(a){G.call(this);this.type="PointsMaterial";this.color=new D(16777215);this.alphaMap=this.map=null;this.size=1;this.sizeAttenuation=!0;this.morphTargets=!1;this.setValues(a)}function Mc(a,b){z.call(this);this.type="Points";this.geometry=void 0!==a?a:new F;this.material=void 0!==b?b:new Xa;this.updateMorphTargets()}
function qg(a,b,c,d,e,f,g){var h=rg.distanceSqToPoint(a);h<c&&(c=new m,rg.closestPointToPoint(a,c),c.applyMatrix4(d),a=e.ray.origin.distanceTo(c),a<e.near||a>e.far||f.push({distance:a,distanceToRay:Math.sqrt(h),point:c,index:b,face:null,object:g}))}function sg(a,b,c,d,e,f,g,h,l){W.call(this,a,b,c,d,e,f,g,h,l);this.format=void 0!==g?g:1022;this.minFilter=void 0!==f?f:1006;this.magFilter=void 0!==e?e:1006;this.generateMipmaps=!1}function Nc(a,b,c,d,e,f,g,h,l,n,q,k){W.call(this,null,f,g,h,l,n,d,e,q,
k);this.image={width:b,height:c};this.mipmaps=a;this.generateMipmaps=this.flipY=!1}function Qd(a,b,c,d,e,f,g,h,l){W.call(this,a,b,c,d,e,f,g,h,l);this.needsUpdate=!0}function Rd(a,b,c,d,e,f,g,h,l,n){n=void 0!==n?n:1026;if(1026!==n&&1027!==n)throw Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");void 0===c&&1026===n&&(c=1012);void 0===c&&1027===n&&(c=1020);W.call(this,null,d,e,f,g,h,n,c,l);this.image={width:a,height:b};this.magFilter=void 0!==g?g:1003;this.minFilter=
void 0!==h?h:1003;this.generateMipmaps=this.flipY=!1}function Oc(a){F.call(this);this.type="WireframeGeometry";var b=[],c=[0,0],d={},e=["a","b","c"];if(a&&a.isGeometry){for(var f=a.faces,g=0,h=f.length;g<h;g++)for(var l=f[g],n=0;3>n;n++){var q=l[e[n]],k=l[e[(n+1)%3]];c[0]=Math.min(q,k);c[1]=Math.max(q,k);q=c[0]+","+c[1];void 0===d[q]&&(d[q]={index1:c[0],index2:c[1]})}for(var v in d)c=d[v],f=a.vertices[c.index1],b.push(f.x,f.y,f.z),f=a.vertices[c.index2],b.push(f.x,f.y,f.z)}else if(a&&a.isBufferGeometry)if(v=
new m,null!==a.index){e=a.attributes.position;g=a.index;a=a.groups;0===a.length&&(a=[{start:0,count:g.count,materialIndex:0}]);h=0;for(l=a.length;h<l;++h)for(q=a[h],n=k=q.start,q=k+q.count;n<q;n+=3)for(k=0;3>k;k++){var t=g.getX(n+k),r=g.getX(n+(k+1)%3);c[0]=Math.min(t,r);c[1]=Math.max(t,r);t=c[0]+","+c[1];void 0===d[t]&&(d[t]={index1:c[0],index2:c[1]})}for(f in d)c=d[f],v.fromBufferAttribute(e,c.index1),b.push(v.x,v.y,v.z),v.fromBufferAttribute(e,c.index2),b.push(v.x,v.y,v.z)}else for(d=a.attributes.position,
c=0,f=d.count/3;c<f;c++)for(a=0;3>a;a++)v.fromBufferAttribute(d,3*c+a),b.push(v.x,v.y,v.z),v.fromBufferAttribute(d,3*c+(a+1)%3),b.push(v.x,v.y,v.z);this.setAttribute("position",new B(b,3))}function Sd(a,b,c){L.call(this);this.type="ParametricGeometry";this.parameters={func:a,slices:b,stacks:c};this.fromBufferGeometry(new Pc(a,b,c));this.mergeVertices()}function Pc(a,b,c){F.call(this);this.type="ParametricBufferGeometry";this.parameters={func:a,slices:b,stacks:c};var d=[],e=[],f=[],g=[],h=new m,l=
new m,n=new m,q=new m,k=new m;3>a.length&&console.error("THREE.ParametricGeometry: Function must now modify a Vector3 as third parameter.");for(var v=b+1,t=0;t<=c;t++)for(var r=t/c,u=0;u<=b;u++){var A=u/b;a(A,r,l);e.push(l.x,l.y,l.z);0<=A-1E-5?(a(A-1E-5,r,n),q.subVectors(l,n)):(a(A+1E-5,r,n),q.subVectors(n,l));0<=r-1E-5?(a(A,r-1E-5,n),k.subVectors(l,n)):(a(A,r+1E-5,n),k.subVectors(n,l));h.crossVectors(q,k).normalize();f.push(h.x,h.y,h.z);g.push(A,r)}for(a=0;a<c;a++)for(h=0;h<b;h++)l=a*v+h+1,n=(a+
1)*v+h+1,q=(a+1)*v+h,d.push(a*v+h,l,q),d.push(l,n,q);this.setIndex(d);this.setAttribute("position",new B(e,3));this.setAttribute("normal",new B(f,3));this.setAttribute("uv",new B(g,2))}function Td(a,b,c,d){L.call(this);this.type="PolyhedronGeometry";this.parameters={vertices:a,indices:b,radius:c,detail:d};this.fromBufferGeometry(new Fa(a,b,c,d));this.mergeVertices()}function Fa(a,b,c,d){function e(a){h.push(a.x,a.y,a.z)}function f(b,c){b*=3;c.x=a[b+0];c.y=a[b+1];c.z=a[b+2]}function g(a,b,c,d){0>d&&
1===a.x&&(l[b]=a.x-1);0===c.x&&0===c.z&&(l[b]=d/2/Math.PI+.5)}F.call(this);this.type="PolyhedronBufferGeometry";this.parameters={vertices:a,indices:b,radius:c,detail:d};c=c||1;d=d||0;var h=[],l=[];(function(a){for(var c=new m,d=new m,g=new m,h=0;h<b.length;h+=3){f(b[h+0],c);f(b[h+1],d);f(b[h+2],g);for(var l=c,n=d,k=g,E=Math.pow(2,a),x=[],w=0;w<=E;w++){x[w]=[];for(var B=l.clone().lerp(k,w/E),U=n.clone().lerp(k,w/E),C=E-w,z=0;z<=C;z++)x[w][z]=0===z&&w===E?B:B.clone().lerp(U,z/C)}for(l=0;l<E;l++)for(n=
0;n<2*(E-l)-1;n++)k=Math.floor(n/2),0===n%2?(e(x[l][k+1]),e(x[l+1][k]),e(x[l][k])):(e(x[l][k+1]),e(x[l+1][k+1]),e(x[l+1][k]))}})(d);(function(a){for(var b=new m,c=0;c<h.length;c+=3)b.x=h[c+0],b.y=h[c+1],b.z=h[c+2],b.normalize().multiplyScalar(a),h[c+0]=b.x,h[c+1]=b.y,h[c+2]=b.z})(c);(function(){for(var a=new m,b=0;b<h.length;b+=3)a.x=h[b+0],a.y=h[b+1],a.z=h[b+2],l.push(Math.atan2(a.z,-a.x)/2/Math.PI+.5,1-(Math.atan2(-a.y,Math.sqrt(a.x*a.x+a.z*a.z))/Math.PI+.5));a=new m;b=new m;for(var c=new m,d=new m,
e=new w,f=new w,k=new w,A=0,E=0;A<h.length;A+=9,E+=6){a.set(h[A+0],h[A+1],h[A+2]);b.set(h[A+3],h[A+4],h[A+5]);c.set(h[A+6],h[A+7],h[A+8]);e.set(l[E+0],l[E+1]);f.set(l[E+2],l[E+3]);k.set(l[E+4],l[E+5]);d.copy(a).add(b).add(c).divideScalar(3);var x=Math.atan2(d.z,-d.x);g(e,E+0,a,x);g(f,E+2,b,x);g(k,E+4,c,x)}for(a=0;a<l.length;a+=6)b=l[a+0],c=l[a+2],d=l[a+4],e=Math.min(b,c,d),.9<Math.max(b,c,d)&&.1>e&&(.2>b&&(l[a+0]+=1),.2>c&&(l[a+2]+=1),.2>d&&(l[a+4]+=1))})();this.setAttribute("position",new B(h,3));
this.setAttribute("normal",new B(h.slice(),3));this.setAttribute("uv",new B(l,2));0===d?this.computeVertexNormals():this.normalizeNormals()}function Ud(a,b){L.call(this);this.type="TetrahedronGeometry";this.parameters={radius:a,detail:b};this.fromBufferGeometry(new Qc(a,b));this.mergeVertices()}function Qc(a,b){Fa.call(this,[1,1,1,-1,-1,1,-1,1,-1,1,-1,-1],[2,1,0,0,3,2,1,3,0,2,3,1],a,b);this.type="TetrahedronBufferGeometry";this.parameters={radius:a,detail:b}}function Vd(a,b){L.call(this);this.type=
"OctahedronGeometry";this.parameters={radius:a,detail:b};this.fromBufferGeometry(new bc(a,b));this.mergeVertices()}function bc(a,b){Fa.call(this,[1,0,0,-1,0,0,0,1,0,0,-1,0,0,0,1,0,0,-1],[0,2,4,0,4,3,0,3,5,0,5,2,1,2,5,1,5,3,1,3,4,1,4,2],a,b);this.type="OctahedronBufferGeometry";this.parameters={radius:a,detail:b}}function Wd(a,b){L.call(this);this.type="IcosahedronGeometry";this.parameters={radius:a,detail:b};this.fromBufferGeometry(new Rc(a,b));this.mergeVertices()}function Rc(a,b){var c=(1+Math.sqrt(5))/
2;Fa.call(this,[-1,c,0,1,c,0,-1,-c,0,1,-c,0,0,-1,c,0,1,c,0,-1,-c,0,1,-c,c,0,-1,c,0,1,-c,0,-1,-c,0,1],[0,11,5,0,5,1,0,1,7,0,7,10,0,10,11,1,5,9,5,11,4,11,10,2,10,7,6,7,1,8,3,9,4,3,4,2,3,2,6,3,6,8,3,8,9,4,9,5,2,4,11,6,2,10,8,6,7,9,8,1],a,b);this.type="IcosahedronBufferGeometry";this.parameters={radius:a,detail:b}}function Xd(a,b){L.call(this);this.type="DodecahedronGeometry";this.parameters={radius:a,detail:b};this.fromBufferGeometry(new Sc(a,b));this.mergeVertices()}function Sc(a,b){var c=(1+Math.sqrt(5))/
2,d=1/c;Fa.call(this,[-1,-1,-1,-1,-1,1,-1,1,-1,-1,1,1,1,-1,-1,1,-1,1,1,1,-1,1,1,1,0,-d,-c,0,-d,c,0,d,-c,0,d,c,-d,-c,0,-d,c,0,d,-c,0,d,c,0,-c,0,-d,c,0,-d,-c,0,d,c,0,d],[3,11,7,3,7,15,3,15,13,7,19,17,7,17,6,7,6,15,17,4,8,17,8,10,17,10,6,8,0,16,8,16,2,8,2,10,0,12,1,0,1,18,0,18,16,6,10,2,6,2,13,6,13,15,2,16,18,2,18,3,2,3,13,18,1,9,18,9,11,18,11,3,4,14,12,4,12,0,4,0,8,11,9,5,11,5,19,11,19,7,19,5,14,19,14,4,19,4,17,1,12,14,1,14,5,1,5,9],a,b);this.type="DodecahedronBufferGeometry";this.parameters={radius:a,
detail:b}}function Yd(a,b,c,d,e,f){L.call(this);this.type="TubeGeometry";this.parameters={path:a,tubularSegments:b,radius:c,radialSegments:d,closed:e};void 0!==f&&console.warn("THREE.TubeGeometry: taper has been removed.");a=new cc(a,b,c,d,e);this.tangents=a.tangents;this.normals=a.normals;this.binormals=a.binormals;this.fromBufferGeometry(a);this.mergeVertices()}function cc(a,b,c,d,e){function f(e){q=a.getPointAt(e/b,q);var f=g.normals[e];e=g.binormals[e];for(var n=0;n<=d;n++){var p=n/d*Math.PI*
2,r=Math.sin(p);p=-Math.cos(p);l.x=p*f.x+r*e.x;l.y=p*f.y+r*e.y;l.z=p*f.z+r*e.z;l.normalize();v.push(l.x,l.y,l.z);h.x=q.x+c*l.x;h.y=q.y+c*l.y;h.z=q.z+c*l.z;k.push(h.x,h.y,h.z)}}F.call(this);this.type="TubeBufferGeometry";this.parameters={path:a,tubularSegments:b,radius:c,radialSegments:d,closed:e};b=b||64;c=c||1;d=d||8;e=e||!1;var g=a.computeFrenetFrames(b,e);this.tangents=g.tangents;this.normals=g.normals;this.binormals=g.binormals;var h=new m,l=new m,n=new w,q=new m,k=[],v=[],t=[],r=[];(function(){for(var a=
0;a<b;a++)f(a);f(!1===e?b:0);for(a=0;a<=b;a++)for(var c=0;c<=d;c++)n.x=a/b,n.y=c/d,t.push(n.x,n.y);for(a=1;a<=b;a++)for(c=1;c<=d;c++){var g=(d+1)*a+(c-1),h=(d+1)*a+c,l=(d+1)*(a-1)+c;r.push((d+1)*(a-1)+(c-1),g,l);r.push(g,h,l)}})();this.setIndex(r);this.setAttribute("position",new B(k,3));this.setAttribute("normal",new B(v,3));this.setAttribute("uv",new B(t,2))}function Zd(a,b,c,d,e,f,g){L.call(this);this.type="TorusKnotGeometry";this.parameters={radius:a,tube:b,tubularSegments:c,radialSegments:d,
p:e,q:f};void 0!==g&&console.warn("THREE.TorusKnotGeometry: heightScale has been deprecated. Use .scale( x, y, z ) instead.");this.fromBufferGeometry(new Tc(a,b,c,d,e,f));this.mergeVertices()}function Tc(a,b,c,d,e,f){function g(a,b,c,d,e){var f=Math.sin(a);b=c/b*a;c=Math.cos(b);e.x=d*(2+c)*.5*Math.cos(a);e.y=d*(2+c)*f*.5;e.z=d*Math.sin(b)*.5}F.call(this);this.type="TorusKnotBufferGeometry";this.parameters={radius:a,tube:b,tubularSegments:c,radialSegments:d,p:e,q:f};a=a||1;b=b||.4;c=Math.floor(c)||
64;d=Math.floor(d)||8;e=e||2;f=f||3;for(var h=[],l=[],n=[],q=[],k=new m,v=new m,t=new m,r=new m,u=new m,A=new m,w=new m,x=0;x<=c;++x){var z=x/c*e*Math.PI*2;g(z,e,f,a,t);g(z+.01,e,f,a,r);A.subVectors(r,t);w.addVectors(r,t);u.crossVectors(A,w);w.crossVectors(u,A);u.normalize();w.normalize();for(z=0;z<=d;++z){var ka=z/d*Math.PI*2,U=-b*Math.cos(ka);ka=b*Math.sin(ka);k.x=t.x+(U*w.x+ka*u.x);k.y=t.y+(U*w.y+ka*u.y);k.z=t.z+(U*w.z+ka*u.z);l.push(k.x,k.y,k.z);v.subVectors(k,t).normalize();n.push(v.x,v.y,v.z);
q.push(x/c);q.push(z/d)}}for(a=1;a<=c;a++)for(b=1;b<=d;b++)e=(d+1)*a+(b-1),f=(d+1)*a+b,k=(d+1)*(a-1)+b,h.push((d+1)*(a-1)+(b-1),e,k),h.push(e,f,k);this.setIndex(h);this.setAttribute("position",new B(l,3));this.setAttribute("normal",new B(n,3));this.setAttribute("uv",new B(q,2))}function $d(a,b,c,d,e){L.call(this);this.type="TorusGeometry";this.parameters={radius:a,tube:b,radialSegments:c,tubularSegments:d,arc:e};this.fromBufferGeometry(new Uc(a,b,c,d,e));this.mergeVertices()}function Uc(a,b,c,d,e){F.call(this);
this.type="TorusBufferGeometry";this.parameters={radius:a,tube:b,radialSegments:c,tubularSegments:d,arc:e};a=a||1;b=b||.4;c=Math.floor(c)||8;d=Math.floor(d)||6;e=e||2*Math.PI;for(var f=[],g=[],h=[],l=[],n=new m,k=new m,p=new m,v=0;v<=c;v++)for(var t=0;t<=d;t++){var r=t/d*e,u=v/c*Math.PI*2;k.x=(a+b*Math.cos(u))*Math.cos(r);k.y=(a+b*Math.cos(u))*Math.sin(r);k.z=b*Math.sin(u);g.push(k.x,k.y,k.z);n.x=a*Math.cos(r);n.y=a*Math.sin(r);p.subVectors(k,n).normalize();h.push(p.x,p.y,p.z);l.push(t/d);l.push(v/
c)}for(a=1;a<=c;a++)for(b=1;b<=d;b++)e=(d+1)*(a-1)+b-1,n=(d+1)*(a-1)+b,k=(d+1)*a+b,f.push((d+1)*a+b-1,e,k),f.push(e,n,k);this.setIndex(f);this.setAttribute("position",new B(g,3));this.setAttribute("normal",new B(h,3));this.setAttribute("uv",new B(l,2))}function $h(a,b,c,d,e){for(var f,g=0,h=b,l=c-d;h<c;h+=d)g+=(a[l]-a[h])*(a[h+1]+a[l+1]),l=h;if(e===0<g)for(e=b;e<c;e+=d)f=ai(e,a[e],a[e+1],f);else for(e=c-d;e>=b;e-=d)f=ai(e,a[e],a[e+1],f);f&&We(f,f.next)&&(ae(f),f=f.next);return f}function Lb(a,b){if(!a)return a;
b||(b=a);do{var c=!1;if(a.steiner||!We(a,a.next)&&0!==ma(a.prev,a,a.next))a=a.next;else{ae(a);a=b=a.prev;if(a===a.next)break;c=!0}}while(c||a!==b);return b}function be(a,b,c,d,e,f,g){if(a){if(!g&&f){var h=a,l=h;do null===l.z&&(l.z=tg(l.x,l.y,d,e,f)),l.prevZ=l.prev,l=l.nextZ=l.next;while(l!==h);l.prevZ.nextZ=null;l.prevZ=null;h=l;var n,k,p,v,t=1;do{l=h;var r=h=null;for(k=0;l;){k++;var m=l;for(n=p=0;n<t&&(p++,m=m.nextZ,m);n++);for(v=t;0<p||0<v&&m;)0!==p&&(0===v||!m||l.z<=m.z)?(n=l,l=l.nextZ,p--):(n=
m,m=m.nextZ,v--),r?r.nextZ=n:h=n,n.prevZ=r,r=n;l=m}r.nextZ=null;t*=2}while(1<k)}for(h=a;a.prev!==a.next;){l=a.prev;m=a.next;if(f)r=Dk(a,d,e,f);else a:if(r=a,k=r.prev,p=r,t=r.next,0<=ma(k,p,t))r=!1;else{for(n=r.next.next;n!==r.prev;){if(Vc(k.x,k.y,p.x,p.y,t.x,t.y,n.x,n.y)&&0<=ma(n.prev,n,n.next)){r=!1;break a}n=n.next}r=!0}if(r)b.push(l.i/c),b.push(a.i/c),b.push(m.i/c),ae(a),h=a=m.next;else if(a=m,a===h){if(!g)be(Lb(a),b,c,d,e,f,1);else if(1===g){a=Lb(a);g=b;h=c;l=a;do m=l.prev,r=l.next.next,!We(m,
r)&&bi(m,l,l.next,r)&&ce(m,r)&&ce(r,m)&&(g.push(m.i/h),g.push(l.i/h),g.push(r.i/h),ae(l),ae(l.next),l=a=r),l=l.next;while(l!==a);a=Lb(l);be(a,b,c,d,e,f,2)}else if(2===g)a:{g=a;do{for(h=g.next.next;h!==g.prev;){if(l=g.i!==h.i){l=g;m=h;if(r=l.next.i!==m.i&&l.prev.i!==m.i){b:{r=l;do{if(r.i!==l.i&&r.next.i!==l.i&&r.i!==m.i&&r.next.i!==m.i&&bi(r,r.next,l,m)){r=!0;break b}r=r.next}while(r!==l);r=!1}r=!r}if(r){if(r=ce(l,m)&&ce(m,l)){r=l;k=!1;p=(l.x+m.x)/2;t=(l.y+m.y)/2;do r.y>t!==r.next.y>t&&r.next.y!==
r.y&&p<(r.next.x-r.x)*(t-r.y)/(r.next.y-r.y)+r.x&&(k=!k),r=r.next;while(r!==l);r=k}r=r&&(ma(l.prev,l,m.prev)||ma(l,m.prev,m))||We(l,m)&&0<ma(l.prev,l,l.next)&&0<ma(m.prev,m,m.next)}l=r}if(l){a=ci(g,h);g=Lb(g,g.next);a=Lb(a,a.next);be(g,b,c,d,e,f);be(a,b,c,d,e,f);break a}h=h.next}g=g.next}while(g!==a)}break}}}}function Dk(a,b,c,d){var e=a.prev,f=a.next;if(0<=ma(e,a,f))return!1;var g=e.x>a.x?e.x>f.x?e.x:f.x:a.x>f.x?a.x:f.x,h=e.y>a.y?e.y>f.y?e.y:f.y:a.y>f.y?a.y:f.y,l=tg(e.x<a.x?e.x<f.x?e.x:f.x:a.x<f.x?
a.x:f.x,e.y<a.y?e.y<f.y?e.y:f.y:a.y<f.y?a.y:f.y,b,c,d);b=tg(g,h,b,c,d);c=a.prevZ;for(d=a.nextZ;c&&c.z>=l&&d&&d.z<=b;){if(c!==a.prev&&c!==a.next&&Vc(e.x,e.y,a.x,a.y,f.x,f.y,c.x,c.y)&&0<=ma(c.prev,c,c.next))return!1;c=c.prevZ;if(d!==a.prev&&d!==a.next&&Vc(e.x,e.y,a.x,a.y,f.x,f.y,d.x,d.y)&&0<=ma(d.prev,d,d.next))return!1;d=d.nextZ}for(;c&&c.z>=l;){if(c!==a.prev&&c!==a.next&&Vc(e.x,e.y,a.x,a.y,f.x,f.y,c.x,c.y)&&0<=ma(c.prev,c,c.next))return!1;c=c.prevZ}for(;d&&d.z<=b;){if(d!==a.prev&&d!==a.next&&Vc(e.x,
e.y,a.x,a.y,f.x,f.y,d.x,d.y)&&0<=ma(d.prev,d,d.next))return!1;d=d.nextZ}return!0}function Ek(a,b){return a.x-b.x}function Fk(a,b){var c=b,d=a.x,e=a.y,f=-Infinity;do{if(e<=c.y&&e>=c.next.y&&c.next.y!==c.y){var g=c.x+(e-c.y)*(c.next.x-c.x)/(c.next.y-c.y);if(g<=d&&g>f){f=g;if(g===d){if(e===c.y)return c;if(e===c.next.y)return c.next}var h=c.x<c.next.x?c:c.next}}c=c.next}while(c!==b);if(!h)return null;if(d===f)return h;b=h;g=h.x;var l=h.y,n=Infinity;c=h;do{if(d>=c.x&&c.x>=g&&d!==c.x&&Vc(e<l?d:f,e,g,l,
e<l?f:d,e,c.x,c.y)){var k=Math.abs(e-c.y)/(d-c.x);var p;if((p=ce(c,a))&&!(p=k<n)&&(p=k===n)&&!(p=c.x>h.x)&&(p=c.x===h.x)){p=h;var v=c;p=0>ma(p.prev,p,v.prev)&&0>ma(v.next,p,p.next)}p&&(h=c,n=k)}c=c.next}while(c!==b);return h}function tg(a,b,c,d,e){a=32767*(a-c)*e;b=32767*(b-d)*e;a=(a|a<<8)&16711935;a=(a|a<<4)&252645135;a=(a|a<<2)&858993459;b=(b|b<<8)&16711935;b=(b|b<<4)&252645135;b=(b|b<<2)&858993459;return(a|a<<1)&1431655765|((b|b<<1)&1431655765)<<1}function Gk(a){var b=a,c=a;do{if(b.x<c.x||b.x===
c.x&&b.y<c.y)c=b;b=b.next}while(b!==a);return c}function Vc(a,b,c,d,e,f,g,h){return 0<=(e-g)*(b-h)-(a-g)*(f-h)&&0<=(a-g)*(d-h)-(c-g)*(b-h)&&0<=(c-g)*(f-h)-(e-g)*(d-h)}function ma(a,b,c){return(b.y-a.y)*(c.x-b.x)-(b.x-a.x)*(c.y-b.y)}function We(a,b){return a.x===b.x&&a.y===b.y}function bi(a,b,c,d){var e=Xe(ma(a,b,c)),f=Xe(ma(a,b,d)),g=Xe(ma(c,d,a)),h=Xe(ma(c,d,b));return e!==f&&g!==h||0===e&&Ye(a,c,b)||0===f&&Ye(a,d,b)||0===g&&Ye(c,a,d)||0===h&&Ye(c,b,d)?!0:!1}function Ye(a,b,c){return b.x<=Math.max(a.x,
c.x)&&b.x>=Math.min(a.x,c.x)&&b.y<=Math.max(a.y,c.y)&&b.y>=Math.min(a.y,c.y)}function Xe(a){return 0<a?1:0>a?-1:0}function ce(a,b){return 0>ma(a.prev,a,a.next)?0<=ma(a,b,a.next)&&0<=ma(a,a.prev,b):0>ma(a,b,a.prev)||0>ma(a,a.next,b)}function ci(a,b){var c=new ug(a.i,a.x,a.y),d=new ug(b.i,b.x,b.y),e=a.next,f=b.prev;a.next=b;b.prev=a;c.next=e;e.prev=c;d.next=c;c.prev=d;f.next=d;d.prev=f;return d}function ai(a,b,c,d){a=new ug(a,b,c);d?(a.next=d.next,a.prev=d,d.next.prev=a,d.next=a):(a.prev=a,a.next=a);
return a}function ae(a){a.next.prev=a.prev;a.prev.next=a.next;a.prevZ&&(a.prevZ.nextZ=a.nextZ);a.nextZ&&(a.nextZ.prevZ=a.prevZ)}function ug(a,b,c){this.i=a;this.x=b;this.y=c;this.nextZ=this.prevZ=this.z=this.next=this.prev=null;this.steiner=!1}function di(a){var b=a.length;2<b&&a[b-1].equals(a[0])&&a.pop()}function ei(a,b){for(var c=0;c<b.length;c++)a.push(b[c].x),a.push(b[c].y)}function dc(a,b){L.call(this);this.type="ExtrudeGeometry";this.parameters={shapes:a,options:b};this.fromBufferGeometry(new hb(a,
b));this.mergeVertices()}function hb(a,b){function c(a){function c(a,b,c){b||console.error("THREE.ExtrudeGeometry: vec does not exist");return b.clone().multiplyScalar(c).add(a)}function g(a,b,c){var d=a.x-b.x;var e=a.y-b.y;var f=c.x-a.x;var g=c.y-a.y,h=d*d+e*e;if(Math.abs(d*g-e*f)>Number.EPSILON){var l=Math.sqrt(h),n=Math.sqrt(f*f+g*g);h=b.x-e/l;b=b.y+d/l;g=((c.x-g/n-h)*g-(c.y+f/n-b)*f)/(d*g-e*f);f=h+d*g-a.x;d=b+e*g-a.y;e=f*f+d*d;if(2>=e)return new w(f,d);e=Math.sqrt(e/2)}else a=!1,d>Number.EPSILON?
f>Number.EPSILON&&(a=!0):d<-Number.EPSILON?f<-Number.EPSILON&&(a=!0):Math.sign(e)===Math.sign(g)&&(a=!0),a?(f=-e,e=Math.sqrt(h)):(f=d,d=e,e=Math.sqrt(h/2));return new w(f/e,d/e)}function h(a,b){for(var c=a.length;0<=--c;){var f=c,g=c-1;0>g&&(g=a.length-1);for(var h=0,l=x+2*O;h<l;h++){var n=T*h,k=T*(h+1),q=b+g+n,p=b+g+k;k=b+f+k;r(b+f+n);r(q);r(k);r(q);r(p);r(k);n=e.length/3;n=F.generateSideWallUV(d,e,n-6,n-3,n-2,n-1);u(n[0]);u(n[1]);u(n[3]);u(n[1]);u(n[2]);u(n[3])}}}function l(a,b,c){A.push(a);A.push(b);
A.push(c)}function k(a,b,c){r(a);r(b);r(c);a=e.length/3;a=F.generateTopUV(d,e,a-3,a-2,a-1);u(a[0]);u(a[1]);u(a[2])}function r(a){e.push(A[3*a]);e.push(A[3*a+1]);e.push(A[3*a+2])}function u(a){f.push(a.x);f.push(a.y)}var A=[],E=void 0!==b.curveSegments?b.curveSegments:12,x=void 0!==b.steps?b.steps:1,B=void 0!==b.depth?b.depth:100,z=void 0!==b.bevelEnabled?b.bevelEnabled:!0,U=void 0!==b.bevelThickness?b.bevelThickness:6,C=void 0!==b.bevelSize?b.bevelSize:U-2,D=void 0!==b.bevelOffset?b.bevelOffset:0,
O=void 0!==b.bevelSegments?b.bevelSegments:3,y=b.extrudePath,F=void 0!==b.UVGenerator?b.UVGenerator:Hk;void 0!==b.amount&&(console.warn("THREE.ExtrudeBufferGeometry: amount has been renamed to depth."),B=b.amount);var G=!1;if(y){var J=y.getSpacedPoints(x);G=!0;z=!1;var H=y.computeFrenetFrames(x,!1);var L=new m;var M=new m;var K=new m}z||(D=C=U=O=0);a=a.extractPoints(E);y=a.shape;var N=a.holes;if(!rb.isClockWise(y))for(y=y.reverse(),a=0,E=N.length;a<E;a++){var P=N[a];rb.isClockWise(P)&&(N[a]=P.reverse())}var W=
rb.triangulateShape(y,N),S=y;a=0;for(E=N.length;a<E;a++)y=y.concat(N[a]);var T=y.length,ca=W.length;a=[];E=0;P=S.length;for(var R=P-1,ba=E+1;E<P;E++,R++,ba++)R===P&&(R=0),ba===P&&(ba=0),a[E]=g(S[E],S[R],S[ba]);E=[];P=a.concat();ba=0;for(var Q=N.length;ba<Q;ba++){var ea=N[ba];R=[];for(var da=0,X=ea.length,Z=X-1,Y=da+1;da<X;da++,Z++,Y++)Z===X&&(Z=0),Y===X&&(Y=0),R[da]=g(ea[da],ea[Z],ea[Y]);E.push(R);P=P.concat(R)}for(ba=0;ba<O;ba++){R=ba/O;Q=U*Math.cos(R*Math.PI/2);ea=C*Math.sin(R*Math.PI/2)+D;R=0;
for(da=S.length;R<da;R++)X=c(S[R],a[R],ea),l(X.x,X.y,-Q);da=0;for(X=N.length;da<X;da++){Z=N[da];R=E[da];Y=0;for(var ha=Z.length;Y<ha;Y++){var ia=c(Z[Y],R[Y],ea);l(ia.x,ia.y,-Q)}}}R=C+D;for(ba=0;ba<T;ba++)Q=z?c(y[ba],P[ba],R):y[ba],G?(M.copy(H.normals[0]).multiplyScalar(Q.x),L.copy(H.binormals[0]).multiplyScalar(Q.y),K.copy(J[0]).add(M).add(L),l(K.x,K.y,K.z)):l(Q.x,Q.y,0);for(ba=1;ba<=x;ba++)for(Q=0;Q<T;Q++)ea=z?c(y[Q],P[Q],R):y[Q],G?(M.copy(H.normals[ba]).multiplyScalar(ea.x),L.copy(H.binormals[ba]).multiplyScalar(ea.y),
K.copy(J[ba]).add(M).add(L),l(K.x,K.y,K.z)):l(ea.x,ea.y,B/x*ba);for(H=O-1;0<=H;H--){M=H/O;L=U*Math.cos(M*Math.PI/2);M=C*Math.sin(M*Math.PI/2)+D;K=0;for(y=S.length;K<y;K++)P=c(S[K],a[K],M),l(P.x,P.y,B+L);K=0;for(y=N.length;K<y;K++)for(P=N[K],R=E[K],ba=0,Q=P.length;ba<Q;ba++)ea=c(P[ba],R[ba],M),G?l(ea.x,ea.y+J[x-1].y,J[x-1].x+L):l(ea.x,ea.y,B+L)}(function(){var a=e.length/3;if(z){for(var b=0*T,c=0;c<ca;c++){var f=W[c];k(f[2]+b,f[1]+b,f[0]+b)}b=T*(x+2*O);for(c=0;c<ca;c++)f=W[c],k(f[0]+b,f[1]+b,f[2]+
b)}else{for(b=0;b<ca;b++)c=W[b],k(c[2],c[1],c[0]);for(b=0;b<ca;b++)c=W[b],k(c[0]+T*x,c[1]+T*x,c[2]+T*x)}d.addGroup(a,e.length/3-a,0)})();(function(){var a=e.length/3,b=0;h(S,b);b+=S.length;for(var c=0,f=N.length;c<f;c++){var g=N[c];h(g,b);b+=g.length}d.addGroup(a,e.length/3-a,1)})()}F.call(this);this.type="ExtrudeBufferGeometry";this.parameters={shapes:a,options:b};a=Array.isArray(a)?a:[a];for(var d=this,e=[],f=[],g=0,h=a.length;g<h;g++)c(a[g]);this.setAttribute("position",new B(e,3));this.setAttribute("uv",
new B(f,2));this.computeVertexNormals()}function fi(a,b,c){c.shapes=[];if(Array.isArray(a))for(var d=0,e=a.length;d<e;d++)c.shapes.push(a[d].uuid);else c.shapes.push(a.uuid);void 0!==b.extrudePath&&(c.options.extrudePath=b.extrudePath.toJSON());return c}function de(a,b){L.call(this);this.type="TextGeometry";this.parameters={text:a,parameters:b};this.fromBufferGeometry(new Wc(a,b));this.mergeVertices()}function Wc(a,b){b=b||{};var c=b.font;if(!c||!c.isFont)return console.error("THREE.TextGeometry: font parameter is not an instance of THREE.Font."),
new L;a=c.generateShapes(a,b.size);b.depth=void 0!==b.height?b.height:50;void 0===b.bevelThickness&&(b.bevelThickness=10);void 0===b.bevelSize&&(b.bevelSize=8);void 0===b.bevelEnabled&&(b.bevelEnabled=!1);hb.call(this,a,b);this.type="TextBufferGeometry"}function ee(a,b,c,d,e,f,g){L.call(this);this.type="SphereGeometry";this.parameters={radius:a,widthSegments:b,heightSegments:c,phiStart:d,phiLength:e,thetaStart:f,thetaLength:g};this.fromBufferGeometry(new ec(a,b,c,d,e,f,g));this.mergeVertices()}function ec(a,
b,c,d,e,f,g){F.call(this);this.type="SphereBufferGeometry";this.parameters={radius:a,widthSegments:b,heightSegments:c,phiStart:d,phiLength:e,thetaStart:f,thetaLength:g};a=a||1;b=Math.max(3,Math.floor(b)||8);c=Math.max(2,Math.floor(c)||6);d=void 0!==d?d:0;e=void 0!==e?e:2*Math.PI;f=void 0!==f?f:0;g=void 0!==g?g:Math.PI;for(var h=Math.min(f+g,Math.PI),l=0,n=[],k=new m,p=new m,v=[],t=[],r=[],u=[],A=0;A<=c;A++){var w=[],x=A/c,z=0;0==A&&0==f?z=.5/b:A==c&&h==Math.PI&&(z=-.5/b);for(var y=0;y<=b;y++){var U=
y/b;k.x=-a*Math.cos(d+U*e)*Math.sin(f+x*g);k.y=a*Math.cos(f+x*g);k.z=a*Math.sin(d+U*e)*Math.sin(f+x*g);t.push(k.x,k.y,k.z);p.copy(k).normalize();r.push(p.x,p.y,p.z);u.push(U+z,1-x);w.push(l++)}n.push(w)}for(a=0;a<c;a++)for(d=0;d<b;d++)e=n[a][d+1],g=n[a][d],l=n[a+1][d],k=n[a+1][d+1],(0!==a||0<f)&&v.push(e,g,k),(a!==c-1||h<Math.PI)&&v.push(g,l,k);this.setIndex(v);this.setAttribute("position",new B(t,3));this.setAttribute("normal",new B(r,3));this.setAttribute("uv",new B(u,2))}function fe(a,b,c,d,e,
f){L.call(this);this.type="RingGeometry";this.parameters={innerRadius:a,outerRadius:b,thetaSegments:c,phiSegments:d,thetaStart:e,thetaLength:f};this.fromBufferGeometry(new Xc(a,b,c,d,e,f));this.mergeVertices()}function Xc(a,b,c,d,e,f){F.call(this);this.type="RingBufferGeometry";this.parameters={innerRadius:a,outerRadius:b,thetaSegments:c,phiSegments:d,thetaStart:e,thetaLength:f};a=a||.5;b=b||1;e=void 0!==e?e:0;f=void 0!==f?f:2*Math.PI;c=void 0!==c?Math.max(3,c):8;d=void 0!==d?Math.max(1,d):1;var g=
[],h=[],l=[],n=[],k=a;a=(b-a)/d;for(var p=new m,v=new w,t=0;t<=d;t++){for(var r=0;r<=c;r++){var u=e+r/c*f;p.x=k*Math.cos(u);p.y=k*Math.sin(u);h.push(p.x,p.y,p.z);l.push(0,0,1);v.x=(p.x/b+1)/2;v.y=(p.y/b+1)/2;n.push(v.x,v.y)}k+=a}for(b=0;b<d;b++)for(e=b*(c+1),f=0;f<c;f++)k=f+e,a=k+c+1,p=k+c+2,v=k+1,g.push(k,a,v),g.push(a,p,v);this.setIndex(g);this.setAttribute("position",new B(h,3));this.setAttribute("normal",new B(l,3));this.setAttribute("uv",new B(n,2))}function ge(a,b,c,d){L.call(this);this.type=
"LatheGeometry";this.parameters={points:a,segments:b,phiStart:c,phiLength:d};this.fromBufferGeometry(new Yc(a,b,c,d));this.mergeVertices()}function Yc(a,b,c,d){F.call(this);this.type="LatheBufferGeometry";this.parameters={points:a,segments:b,phiStart:c,phiLength:d};b=Math.floor(b)||12;c=c||0;d=d||2*Math.PI;d=K.clamp(d,0,2*Math.PI);for(var e=[],f=[],g=[],h=1/b,l=new m,n=new w,k=0;k<=b;k++){var p=c+k*h*d,v=Math.sin(p);p=Math.cos(p);for(var t=0;t<=a.length-1;t++)l.x=a[t].x*v,l.y=a[t].y,l.z=a[t].x*p,
f.push(l.x,l.y,l.z),n.x=k/b,n.y=t/(a.length-1),g.push(n.x,n.y)}for(c=0;c<b;c++)for(h=0;h<a.length-1;h++)l=h+c*a.length,n=l+a.length,k=l+a.length+1,v=l+1,e.push(l,n,v),e.push(n,k,v);this.setIndex(e);this.setAttribute("position",new B(f,3));this.setAttribute("uv",new B(g,2));this.computeVertexNormals();if(d===2*Math.PI)for(d=this.attributes.normal.array,e=new m,f=new m,g=new m,b=b*a.length*3,h=c=0;c<a.length;c++,h+=3)e.x=d[h+0],e.y=d[h+1],e.z=d[h+2],f.x=d[b+h+0],f.y=d[b+h+1],f.z=d[b+h+2],g.addVectors(e,
f).normalize(),d[h+0]=d[b+h+0]=g.x,d[h+1]=d[b+h+1]=g.y,d[h+2]=d[b+h+2]=g.z}function fc(a,b){L.call(this);this.type="ShapeGeometry";"object"===typeof b&&(console.warn("THREE.ShapeGeometry: Options parameter has been removed."),b=b.curveSegments);this.parameters={shapes:a,curveSegments:b};this.fromBufferGeometry(new gc(a,b));this.mergeVertices()}function gc(a,b){function c(a){var c=e.length/3,h=a.extractPoints(b);a=h.shape;var n=h.holes;!1===rb.isClockWise(a)&&(a=a.reverse());h=0;for(var k=n.length;h<
k;h++){var q=n[h];!0===rb.isClockWise(q)&&(n[h]=q.reverse())}h=rb.triangulateShape(a,n);k=0;for(q=n.length;k<q;k++)a=a.concat(n[k]);n=0;for(k=a.length;n<k;n++)q=a[n],e.push(q.x,q.y,0),f.push(0,0,1),g.push(q.x,q.y);a=0;for(n=h.length;a<n;a++)k=h[a],d.push(k[0]+c,k[1]+c,k[2]+c),l+=3}F.call(this);this.type="ShapeBufferGeometry";this.parameters={shapes:a,curveSegments:b};b=b||12;var d=[],e=[],f=[],g=[],h=0,l=0;if(!1===Array.isArray(a))c(a);else for(var n=0;n<a.length;n++)c(a[n]),this.addGroup(h,l,n),
h+=l,l=0;this.setIndex(d);this.setAttribute("position",new B(e,3));this.setAttribute("normal",new B(f,3));this.setAttribute("uv",new B(g,2))}function gi(a,b){b.shapes=[];if(Array.isArray(a))for(var c=0,d=a.length;c<d;c++)b.shapes.push(a[c].uuid);else b.shapes.push(a.uuid);return b}function Zc(a,b){F.call(this);this.type="EdgesGeometry";this.parameters={thresholdAngle:b};var c=[];b=Math.cos(K.DEG2RAD*(void 0!==b?b:1));var d=[0,0],e={},f=["a","b","c"];if(a.isBufferGeometry){var g=new L;g.fromBufferGeometry(a)}else g=
a.clone();g.mergeVertices();g.computeFaceNormals();a=g.vertices;g=g.faces;for(var h=0,l=g.length;h<l;h++)for(var n=g[h],k=0;3>k;k++){var p=n[f[k]];var m=n[f[(k+1)%3]];d[0]=Math.min(p,m);d[1]=Math.max(p,m);p=d[0]+","+d[1];void 0===e[p]?e[p]={index1:d[0],index2:d[1],face1:h,face2:void 0}:e[p].face2=h}for(p in e)if(d=e[p],void 0===d.face2||g[d.face1].normal.dot(g[d.face2].normal)<=b)f=a[d.index1],c.push(f.x,f.y,f.z),f=a[d.index2],c.push(f.x,f.y,f.z);this.setAttribute("position",new B(c,3))}function hc(a,
b,c,d,e,f,g,h){L.call(this);this.type="CylinderGeometry";this.parameters={radiusTop:a,radiusBottom:b,height:c,radialSegments:d,heightSegments:e,openEnded:f,thetaStart:g,thetaLength:h};this.fromBufferGeometry(new sb(a,b,c,d,e,f,g,h));this.mergeVertices()}function sb(a,b,c,d,e,f,g,h){function l(c){var e,f=new w,l=new m,q=0,u=!0===c?a:b,x=!0===c?1:-1;var z=r;for(e=1;e<=d;e++)p.push(0,A*x,0),v.push(0,x,0),t.push(.5,.5),r++;e=r;for(var B=0;B<=d;B++){var y=B/d*h+g,D=Math.cos(y);y=Math.sin(y);l.x=u*y;l.y=
A*x;l.z=u*D;p.push(l.x,l.y,l.z);v.push(0,x,0);f.x=.5*D+.5;f.y=.5*y*x+.5;t.push(f.x,f.y);r++}for(f=0;f<d;f++)l=z+f,u=e+f,!0===c?k.push(u,u+1,l):k.push(u+1,u,l),q+=3;n.addGroup(E,q,!0===c?1:2);E+=q}F.call(this);this.type="CylinderBufferGeometry";this.parameters={radiusTop:a,radiusBottom:b,height:c,radialSegments:d,heightSegments:e,openEnded:f,thetaStart:g,thetaLength:h};var n=this;a=void 0!==a?a:1;b=void 0!==b?b:1;c=c||1;d=Math.floor(d)||8;e=Math.floor(e)||1;f=void 0!==f?f:!1;g=void 0!==g?g:0;h=void 0!==
h?h:2*Math.PI;var k=[],p=[],v=[],t=[],r=0,u=[],A=c/2,E=0;(function(){for(var f=new m,l=new m,q=0,w=(b-a)/c,C=0;C<=e;C++){for(var z=[],B=C/e,y=B*(b-a)+a,D=0;D<=d;D++){var F=D/d,G=F*h+g,H=Math.sin(G);G=Math.cos(G);l.x=y*H;l.y=-B*c+A;l.z=y*G;p.push(l.x,l.y,l.z);f.set(H,w,G).normalize();v.push(f.x,f.y,f.z);t.push(F,1-B);z.push(r++)}u.push(z)}for(f=0;f<d;f++)for(l=0;l<e;l++)w=u[l+1][f],C=u[l+1][f+1],z=u[l][f+1],k.push(u[l][f],w,z),k.push(w,C,z),q+=6;n.addGroup(E,q,0);E+=q})();!1===f&&(0<a&&l(!0),0<b&&
l(!1));this.setIndex(k);this.setAttribute("position",new B(p,3));this.setAttribute("normal",new B(v,3));this.setAttribute("uv",new B(t,2))}function he(a,b,c,d,e,f,g){hc.call(this,0,a,b,c,d,e,f,g);this.type="ConeGeometry";this.parameters={radius:a,height:b,radialSegments:c,heightSegments:d,openEnded:e,thetaStart:f,thetaLength:g}}function ie(a,b,c,d,e,f,g){sb.call(this,0,a,b,c,d,e,f,g);this.type="ConeBufferGeometry";this.parameters={radius:a,height:b,radialSegments:c,heightSegments:d,openEnded:e,thetaStart:f,
thetaLength:g}}function je(a,b,c,d){L.call(this);this.type="CircleGeometry";this.parameters={radius:a,segments:b,thetaStart:c,thetaLength:d};this.fromBufferGeometry(new $c(a,b,c,d));this.mergeVertices()}function $c(a,b,c,d){F.call(this);this.type="CircleBufferGeometry";this.parameters={radius:a,segments:b,thetaStart:c,thetaLength:d};a=a||1;b=void 0!==b?Math.max(3,b):8;c=void 0!==c?c:0;d=void 0!==d?d:2*Math.PI;var e=[],f=[],g=[],h=[],l=new m,n=new w;f.push(0,0,0);g.push(0,0,1);h.push(.5,.5);for(var k=
0,p=3;k<=b;k++,p+=3){var v=c+k/b*d;l.x=a*Math.cos(v);l.y=a*Math.sin(v);f.push(l.x,l.y,l.z);g.push(0,0,1);n.x=(f[p]/a+1)/2;n.y=(f[p+1]/a+1)/2;h.push(n.x,n.y)}for(a=1;a<=b;a++)e.push(a,a+1,0);this.setIndex(e);this.setAttribute("position",new B(f,3));this.setAttribute("normal",new B(g,3));this.setAttribute("uv",new B(h,2))}function ic(a){G.call(this);this.type="ShadowMaterial";this.color=new D(0);this.transparent=!0;this.setValues(a)}function tb(a){Ba.call(this,a);this.type="RawShaderMaterial"}function ib(a){G.call(this);
this.defines={STANDARD:""};this.type="MeshStandardMaterial";this.color=new D(16777215);this.roughness=1;this.metalness=0;this.lightMap=this.map=null;this.lightMapIntensity=1;this.aoMap=null;this.aoMapIntensity=1;this.emissive=new D(0);this.emissiveIntensity=1;this.bumpMap=this.emissiveMap=null;this.bumpScale=1;this.normalMap=null;this.normalMapType=0;this.normalScale=new w(1,1);this.displacementMap=null;this.displacementScale=1;this.displacementBias=0;this.envMap=this.alphaMap=this.metalnessMap=this.roughnessMap=
null;this.envMapIntensity=1;this.refractionRatio=.98;this.wireframe=!1;this.wireframeLinewidth=1;this.wireframeLinejoin=this.wireframeLinecap="round";this.vertexTangents=this.morphNormals=this.morphTargets=this.skinning=!1;this.setValues(a)}function jc(a){ib.call(this);this.defines={STANDARD:"",PHYSICAL:""};this.type="MeshPhysicalMaterial";this.clearcoat=0;this.clearcoatMap=null;this.clearcoatRoughness=0;this.clearcoatRoughnessMap=null;this.clearcoatNormalScale=new w(1,1);this.clearcoatNormalMap=
null;this.reflectivity=.5;this.sheen=null;this.transparency=0;this.setValues(a)}function Mb(a){G.call(this);this.type="MeshPhongMaterial";this.color=new D(16777215);this.specular=new D(1118481);this.shininess=30;this.lightMap=this.map=null;this.lightMapIntensity=1;this.aoMap=null;this.aoMapIntensity=1;this.emissive=new D(0);this.emissiveIntensity=1;this.bumpMap=this.emissiveMap=null;this.bumpScale=1;this.normalMap=null;this.normalMapType=0;this.normalScale=new w(1,1);this.displacementMap=null;this.displacementScale=
1;this.displacementBias=0;this.envMap=this.alphaMap=this.specularMap=null;this.combine=0;this.reflectivity=1;this.refractionRatio=.98;this.wireframe=!1;this.wireframeLinewidth=1;this.wireframeLinejoin=this.wireframeLinecap="round";this.morphNormals=this.morphTargets=this.skinning=!1;this.setValues(a)}function kc(a){G.call(this);this.defines={TOON:""};this.type="MeshToonMaterial";this.color=new D(16777215);this.specular=new D(1118481);this.shininess=30;this.lightMap=this.gradientMap=this.map=null;
this.lightMapIntensity=1;this.aoMap=null;this.aoMapIntensity=1;this.emissive=new D(0);this.emissiveIntensity=1;this.bumpMap=this.emissiveMap=null;this.bumpScale=1;this.normalMap=null;this.normalMapType=0;this.normalScale=new w(1,1);this.displacementMap=null;this.displacementScale=1;this.displacementBias=0;this.alphaMap=this.specularMap=null;this.wireframe=!1;this.wireframeLinewidth=1;this.wireframeLinejoin=this.wireframeLinecap="round";this.morphNormals=this.morphTargets=this.skinning=!1;this.setValues(a)}
function lc(a){G.call(this);this.type="MeshNormalMaterial";this.bumpMap=null;this.bumpScale=1;this.normalMap=null;this.normalMapType=0;this.normalScale=new w(1,1);this.displacementMap=null;this.displacementScale=1;this.displacementBias=0;this.wireframe=!1;this.wireframeLinewidth=1;this.morphNormals=this.morphTargets=this.skinning=this.fog=!1;this.setValues(a)}function mc(a){G.call(this);this.type="MeshLambertMaterial";this.color=new D(16777215);this.lightMap=this.map=null;this.lightMapIntensity=1;
this.aoMap=null;this.aoMapIntensity=1;this.emissive=new D(0);this.emissiveIntensity=1;this.envMap=this.alphaMap=this.specularMap=this.emissiveMap=null;this.combine=0;this.reflectivity=1;this.refractionRatio=.98;this.wireframe=!1;this.wireframeLinewidth=1;this.wireframeLinejoin=this.wireframeLinecap="round";this.morphNormals=this.morphTargets=this.skinning=!1;this.setValues(a)}function nc(a){G.call(this);this.defines={MATCAP:""};this.type="MeshMatcapMaterial";this.color=new D(16777215);this.bumpMap=
this.map=this.matcap=null;this.bumpScale=1;this.normalMap=null;this.normalMapType=0;this.normalScale=new w(1,1);this.displacementMap=null;this.displacementScale=1;this.displacementBias=0;this.alphaMap=null;this.morphNormals=this.morphTargets=this.skinning=!1;this.setValues(a)}function oc(a){la.call(this);this.type="LineDashedMaterial";this.scale=1;this.dashSize=3;this.gapSize=1;this.setValues(a)}function La(a,b,c,d){this.parameterPositions=a;this._cachedIndex=0;this.resultBuffer=void 0!==d?d:new b.constructor(c);
this.sampleValues=b;this.valueSize=c}function Ze(a,b,c,d){La.call(this,a,b,c,d);this._offsetNext=this._weightNext=this._offsetPrev=this._weightPrev=-0}function ke(a,b,c,d){La.call(this,a,b,c,d)}function $e(a,b,c,d){La.call(this,a,b,c,d)}function ta(a,b,c,d){if(void 0===a)throw Error("THREE.KeyframeTrack: track name is undefined");if(void 0===b||0===b.length)throw Error("THREE.KeyframeTrack: no keyframes in track named "+a);this.name=a;this.times=Z.convertArray(b,this.TimeBufferType);this.values=Z.convertArray(c,
this.ValueBufferType);this.setInterpolation(d||this.DefaultInterpolation)}function af(a,b,c){ta.call(this,a,b,c)}function bf(a,b,c,d){ta.call(this,a,b,c,d)}function ad(a,b,c,d){ta.call(this,a,b,c,d)}function cf(a,b,c,d){La.call(this,a,b,c,d)}function le(a,b,c,d){ta.call(this,a,b,c,d)}function df(a,b,c,d){ta.call(this,a,b,c,d)}function bd(a,b,c,d){ta.call(this,a,b,c,d)}function Qa(a,b,c,d){this.name=a;this.tracks=c;this.duration=void 0!==b?b:-1;this.blendMode=void 0!==d?d:2500;this.uuid=K.generateUUID();
0>this.duration&&this.resetDuration()}function Ik(a){switch(a.toLowerCase()){case "scalar":case "double":case "float":case "number":case "integer":return ad;case "vector":case "vector2":case "vector3":case "vector4":return bd;case "color":return bf;case "quaternion":return le;case "bool":case "boolean":return af;case "string":return df}throw Error("THREE.KeyframeTrack: Unsupported typeName: "+a);}function Jk(a){if(void 0===a.type)throw Error("THREE.KeyframeTrack: track type undefined, can not parse");
var b=Ik(a.type);if(void 0===a.times){var c=[],d=[];Z.flattenJSON(a.keys,c,d,"value");a.times=c;a.values=d}return void 0!==b.parse?b.parse(a):new b(a.name,a.times,a.values,a.interpolation)}function vg(a,b,c){var d=this,e=!1,f=0,g=0,h=void 0,l=[];this.onStart=void 0;this.onLoad=a;this.onProgress=b;this.onError=c;this.itemStart=function(a){g++;if(!1===e&&void 0!==d.onStart)d.onStart(a,f,g);e=!0};this.itemEnd=function(a){f++;if(void 0!==d.onProgress)d.onProgress(a,f,g);if(f===g&&(e=!1,void 0!==d.onLoad))d.onLoad()};
this.itemError=function(a){if(void 0!==d.onError)d.onError(a)};this.resolveURL=function(a){return h?h(a):a};this.setURLModifier=function(a){h=a;return this};this.addHandler=function(a,b){l.push(a,b);return this};this.removeHandler=function(a){a=l.indexOf(a);-1!==a&&l.splice(a,2);return this};this.getHandler=function(a){for(var b=0,c=l.length;b<c;b+=2){var d=l[b],e=l[b+1];d.global&&(d.lastIndex=0);if(d.test(a))return e}return null}}function S(a){this.manager=void 0!==a?a:hi;this.crossOrigin="anonymous";
this.resourcePath=this.path="";this.requestHeader={}}function Ra(a){S.call(this,a)}function wg(a){S.call(this,a)}function xg(a){S.call(this,a)}function ef(a){S.call(this,a)}function cd(a){S.call(this,a)}function ff(a){S.call(this,a)}function gf(a){S.call(this,a)}function J(){this.type="Curve";this.arcLengthDivisions=200}function Ma(a,b,c,d,e,f,g,h){J.call(this);this.type="EllipseCurve";this.aX=a||0;this.aY=b||0;this.xRadius=c||1;this.yRadius=d||1;this.aStartAngle=e||0;this.aEndAngle=f||2*Math.PI;
this.aClockwise=g||!1;this.aRotation=h||0}function dd(a,b,c,d,e,f){Ma.call(this,a,b,c,c,d,e,f);this.type="ArcCurve"}function yg(){var a=0,b=0,c=0,d=0;return{initCatmullRom:function(e,f,g,h,l){e=l*(g-e);h=l*(h-f);a=f;b=e;c=-3*f+3*g-2*e-h;d=2*f-2*g+e+h},initNonuniformCatmullRom:function(e,f,g,h,l,n,k){e=((f-e)/l-(g-e)/(l+n)+(g-f)/n)*n;h=((g-f)/n-(h-f)/(n+k)+(h-g)/k)*n;a=f;b=e;c=-3*f+3*g-2*e-h;d=2*f-2*g+e+h},calc:function(e){var f=e*e;return a+b*e+c*f+d*f*e}}}function pa(a,b,c,d){J.call(this);this.type=
"CatmullRomCurve3";this.points=a||[];this.closed=b||!1;this.curveType=c||"centripetal";this.tension=d||.5}function ii(a,b,c,d,e){b=.5*(d-b);e=.5*(e-c);var f=a*a;return(2*c-2*d+b+e)*a*f+(-3*c+3*d-2*b-e)*f+b*a+c}function me(a,b,c,d){var e=1-a;return e*e*b+2*(1-a)*a*c+a*a*d}function ne(a,b,c,d,e){var f=1-a,g=1-a;return f*f*f*b+3*g*g*a*c+3*(1-a)*a*a*d+a*a*a*e}function Ya(a,b,c,d){J.call(this);this.type="CubicBezierCurve";this.v0=a||new w;this.v1=b||new w;this.v2=c||new w;this.v3=d||new w}function jb(a,
b,c,d){J.call(this);this.type="CubicBezierCurve3";this.v0=a||new m;this.v1=b||new m;this.v2=c||new m;this.v3=d||new m}function Ca(a,b){J.call(this);this.type="LineCurve";this.v1=a||new w;this.v2=b||new w}function Za(a,b){J.call(this);this.type="LineCurve3";this.v1=a||new m;this.v2=b||new m}function $a(a,b,c){J.call(this);this.type="QuadraticBezierCurve";this.v0=a||new w;this.v1=b||new w;this.v2=c||new w}function kb(a,b,c){J.call(this);this.type="QuadraticBezierCurve3";this.v0=a||new m;this.v1=b||
new m;this.v2=c||new m}function ab(a){J.call(this);this.type="SplineCurve";this.points=a||[]}function ub(){J.call(this);this.type="CurvePath";this.curves=[];this.autoClose=!1}function bb(a){ub.call(this);this.type="Path";this.currentPoint=new w;a&&this.setFromPoints(a)}function Nb(a){bb.call(this,a);this.uuid=K.generateUUID();this.type="Shape";this.holes=[]}function T(a,b){z.call(this);this.type="Light";this.color=new D(a);this.intensity=void 0!==b?b:1;this.receiveShadow=void 0}function hf(a,b,c){T.call(this,
a,c);this.type="HemisphereLight";this.castShadow=void 0;this.position.copy(z.DefaultUp);this.updateMatrix();this.groundColor=new D(b)}function lb(a){this.camera=a;this.normalOffset=this.bias=0;this.radius=1;this.mapSize=new w(512,512);this.mapPass=this.map=null;this.matrix=new M;this._frustum=new Fc;this._frameExtents=new w(1,1);this._viewportCount=1;this._viewports=[new Y(0,0,1,1)]}function jf(){lb.call(this,new P(50,1,.5,500))}function kf(a,b,c,d,e,f){T.call(this,a,b);this.type="SpotLight";this.position.copy(z.DefaultUp);
this.updateMatrix();this.target=new z;Object.defineProperty(this,"power",{get:function(){return this.intensity*Math.PI},set:function(a){this.intensity=a/Math.PI}});this.distance=void 0!==c?c:0;this.angle=void 0!==d?d:Math.PI/3;this.penumbra=void 0!==e?e:0;this.decay=void 0!==f?f:1;this.shadow=new jf}function zg(){lb.call(this,new P(90,1,.5,500));this._frameExtents=new w(4,2);this._viewportCount=6;this._viewports=[new Y(2,1,1,1),new Y(0,1,1,1),new Y(3,1,1,1),new Y(1,1,1,1),new Y(3,0,1,1),new Y(1,0,
1,1)];this._cubeDirections=[new m(1,0,0),new m(-1,0,0),new m(0,0,1),new m(0,0,-1),new m(0,1,0),new m(0,-1,0)];this._cubeUps=[new m(0,1,0),new m(0,1,0),new m(0,1,0),new m(0,1,0),new m(0,0,1),new m(0,0,-1)]}function lf(a,b,c,d){T.call(this,a,b);this.type="PointLight";Object.defineProperty(this,"power",{get:function(){return 4*this.intensity*Math.PI},set:function(a){this.intensity=a/(4*Math.PI)}});this.distance=void 0!==c?c:0;this.decay=void 0!==d?d:1;this.shadow=new zg}function ed(a,b,c,d,e,f){fb.call(this);
this.type="OrthographicCamera";this.zoom=1;this.view=null;this.left=void 0!==a?a:-1;this.right=void 0!==b?b:1;this.top=void 0!==c?c:1;this.bottom=void 0!==d?d:-1;this.near=void 0!==e?e:.1;this.far=void 0!==f?f:2E3;this.updateProjectionMatrix()}function mf(){lb.call(this,new ed(-5,5,5,-5,.5,500))}function nf(a,b){T.call(this,a,b);this.type="DirectionalLight";this.position.copy(z.DefaultUp);this.updateMatrix();this.target=new z;this.shadow=new mf}function of(a,b){T.call(this,a,b);this.type="AmbientLight";
this.castShadow=void 0}function pf(a,b,c,d){T.call(this,a,b);this.type="RectAreaLight";this.width=void 0!==c?c:10;this.height=void 0!==d?d:10}function qf(){this.coefficients=[];for(var a=0;9>a;a++)this.coefficients.push(new m)}function Sa(a,b){T.call(this,void 0,b);this.type="LightProbe";this.sh=void 0!==a?a:new qf}function rf(a){S.call(this,a);this.textures={}}function oe(){F.call(this);this.type="InstancedBufferGeometry";this.instanceCount=Infinity}function sf(a,b,c,d){"number"===typeof c&&(d=c,
c=!1,console.error("THREE.InstancedBufferAttribute: The constructor now expects normalized as the third argument."));H.call(this,a,b,c);this.meshPerAttribute=d||1}function tf(a){S.call(this,a)}function uf(a){S.call(this,a)}function Ag(a){"undefined"===typeof createImageBitmap&&console.warn("THREE.ImageBitmapLoader: createImageBitmap() not supported.");"undefined"===typeof fetch&&console.warn("THREE.ImageBitmapLoader: fetch() not supported.");S.call(this,a);this.options=void 0}function Bg(){this.type=
"ShapePath";this.color=new D;this.subPaths=[];this.currentPath=null}function Cg(a){this.type="Font";this.data=a}function Dg(a){S.call(this,a)}function vf(a){S.call(this,a)}function Eg(a,b,c){Sa.call(this,void 0,c);a=(new D).set(a);c=(new D).set(b);b=new m(a.r,a.g,a.b);a=new m(c.r,c.g,c.b);c=Math.sqrt(Math.PI);var d=c*Math.sqrt(.75);this.sh.coefficients[0].copy(b).add(a).multiplyScalar(c);this.sh.coefficients[1].copy(b).sub(a).multiplyScalar(d)}function Fg(a,b){Sa.call(this,void 0,b);a=(new D).set(a);
this.sh.coefficients[0].set(a.r,a.g,a.b).multiplyScalar(2*Math.sqrt(Math.PI))}function ji(){this.type="StereoCamera";this.aspect=1;this.eyeSep=.064;this.cameraL=new P;this.cameraL.layers.enable(1);this.cameraL.matrixAutoUpdate=!1;this.cameraR=new P;this.cameraR.layers.enable(2);this.cameraR.matrixAutoUpdate=!1;this._cache={focus:null,fov:null,aspect:null,near:null,far:null,zoom:null,eyeSep:null}}function Gg(a){this.autoStart=void 0!==a?a:!0;this.elapsedTime=this.oldTime=this.startTime=0;this.running=
!1}function Hg(){z.call(this);this.type="AudioListener";this.context=Ig.getContext();this.gain=this.context.createGain();this.gain.connect(this.context.destination);this.filter=null;this.timeDelta=0;this._clock=new Gg}function fd(a){z.call(this);this.type="Audio";this.listener=a;this.context=a.context;this.gain=this.context.createGain();this.gain.connect(a.getInput());this.autoplay=!1;this.buffer=null;this.detune=0;this.loop=!1;this.offset=this.loopEnd=this.loopStart=0;this.duration=void 0;this.playbackRate=
1;this.isPlaying=!1;this.hasPlaybackControl=!0;this.sourceType="empty";this._progress=this._startedAt=0;this.filters=[]}function Jg(a){fd.call(this,a);this.panner=this.context.createPanner();this.panner.panningModel="HRTF";this.panner.connect(this.gain)}function Kg(a,b){this.analyser=a.context.createAnalyser();this.analyser.fftSize=void 0!==b?b:2048;this.data=new Uint8Array(this.analyser.frequencyBinCount);a.getOutput().connect(this.analyser)}function Lg(a,b,c){this.binding=a;this.valueSize=c;switch(b){case "quaternion":a=
this._slerp;b=this._slerpAdditive;var d=this._setAdditiveIdentityQuaternion;this.buffer=new Float64Array(6*c);this._workIndex=5;break;case "string":case "bool":b=a=this._select;d=this._setAdditiveIdentityOther;this.buffer=Array(5*c);break;default:a=this._lerp,b=this._lerpAdditive,d=this._setAdditiveIdentityNumeric,this.buffer=new Float64Array(5*c)}this._mixBufferRegion=a;this._mixBufferRegionAdditive=b;this._setIdentity=d;this._origIndex=3;this._addIndex=4;this.referenceCount=this.useCount=this.cumulativeWeightAdditive=
this.cumulativeWeight=0}function ki(a,b,c){c=c||za.parseTrackName(b);this._targetGroup=a;this._bindings=a.subscribe_(b,c)}function za(a,b,c){this.path=b;this.parsedPath=c||za.parseTrackName(b);this.node=za.findNode(a,this.parsedPath.nodeName)||a;this.rootNode=a}function li(){this.uuid=K.generateUUID();this._objects=Array.prototype.slice.call(arguments);this.nCachedObjects_=0;var a={};this._indicesByUUID=a;for(var b=0,c=arguments.length;b!==c;++b)a[arguments[b].uuid]=b;this._paths=[];this._parsedPaths=
[];this._bindings=[];this._bindingsIndicesByPath={};var d=this;this.stats={objects:{get total(){return d._objects.length},get inUse(){return this.total-d.nCachedObjects_}},get bindingsPerObject(){return d._bindings.length}}}function mi(a,b,c,d){this._mixer=a;this._clip=b;this._localRoot=c||null;this.blendMode=d||b.blendMode;a=b.tracks;b=a.length;c=Array(b);d={endingStart:2400,endingEnd:2400};for(var e=0;e!==b;++e){var f=a[e].createInterpolant(null);c[e]=f;f.settings=d}this._interpolantSettings=d;
this._interpolants=c;this._propertyBindings=Array(b);this._weightInterpolant=this._timeScaleInterpolant=this._byClipCacheIndex=this._cacheIndex=null;this.loop=2201;this._loopCount=-1;this._startTime=null;this.time=0;this._effectiveWeight=this.weight=this._effectiveTimeScale=this.timeScale=1;this.repetitions=Infinity;this.paused=!1;this.enabled=!0;this.clampWhenFinished=!1;this.zeroSlopeAtEnd=this.zeroSlopeAtStart=!0}function Mg(a){this._root=a;this._initMemoryManager();this.time=this._accuIndex=0;
this.timeScale=1}function wf(a,b){"string"===typeof a&&(console.warn("THREE.Uniform: Type parameter is no longer needed."),a=b);this.value=a}function Ng(a,b,c){Ja.call(this,a,b);this.meshPerAttribute=c||1}function Og(a,b,c,d){this.ray=new Wb(a,b);this.near=c||0;this.far=d||Infinity;this.camera=null;this.layers=new Fe;this.params={Mesh:{},Line:{threshold:1},LOD:{},Points:{threshold:1},Sprite:{}};Object.defineProperties(this.params,{PointCloud:{get:function(){console.warn("THREE.Raycaster: params.PointCloud has been renamed to params.Points.");
return this.Points}}})}function ni(a,b){return a.distance-b.distance}function Pg(a,b,c,d){a.layers.test(b.layers)&&a.raycast(b,c);if(!0===d){a=a.children;d=0;for(var e=a.length;d<e;d++)Pg(a[d],b,c,!0)}}function oi(a,b,c){this.radius=void 0!==a?a:1;this.phi=void 0!==b?b:0;this.theta=void 0!==c?c:0;return this}function pi(a,b,c){this.radius=void 0!==a?a:1;this.theta=void 0!==b?b:0;this.y=void 0!==c?c:0;return this}function Qg(a,b){this.min=void 0!==a?a:new w(Infinity,Infinity);this.max=void 0!==b?b:
new w(-Infinity,-Infinity)}function Rg(a,b){this.start=void 0!==a?a:new m;this.end=void 0!==b?b:new m}function pe(a){z.call(this);this.material=a;this.render=function(){};this.hasUvs=this.hasColors=this.hasNormals=this.hasPositions=!1;this.uvArray=this.colorArray=this.normalArray=this.positionArray=null;this.count=0}function gd(a,b){z.call(this);this.light=a;this.light.updateMatrixWorld();this.matrix=a.matrixWorld;this.matrixAutoUpdate=!1;this.color=b;a=new F;b=[0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,-1,0,
1,0,0,0,0,1,1,0,0,0,0,-1,1];for(var c=0,d=1;32>c;c++,d++){var e=c/32*Math.PI*2,f=d/32*Math.PI*2;b.push(Math.cos(e),Math.sin(e),1,Math.cos(f),Math.sin(f),1)}a.setAttribute("position",new B(b,3));b=new la({fog:!1,toneMapped:!1});this.cone=new ha(a,b);this.add(this.cone);this.update()}function qi(a){var b=[];a&&a.isBone&&b.push(a);for(var c=0;c<a.children.length;c++)b.push.apply(b,qi(a.children[c]));return b}function pc(a){for(var b=qi(a),c=new F,d=[],e=[],f=new D(0,0,1),g=new D(0,1,0),h=0;h<b.length;h++){var l=
b[h];l.parent&&l.parent.isBone&&(d.push(0,0,0),d.push(0,0,0),e.push(f.r,f.g,f.b),e.push(g.r,g.g,g.b))}c.setAttribute("position",new B(d,3));c.setAttribute("color",new B(e,3));d=new la({vertexColors:!0,depthTest:!1,depthWrite:!1,toneMapped:!1,transparent:!0});ha.call(this,c,d);this.type="SkeletonHelper";this.root=a;this.bones=b;this.matrix=a.matrixWorld;this.matrixAutoUpdate=!1}function hd(a,b,c){this.light=a;this.light.updateMatrixWorld();this.color=c;a=new ec(b,4,2);b=new Oa({wireframe:!0,fog:!1,
toneMapped:!1});X.call(this,a,b);this.type="PointLightHelper";this.matrix=this.light.matrixWorld;this.matrixAutoUpdate=!1;this.update()}function id(a,b,c){z.call(this);this.light=a;this.light.updateMatrixWorld();this.matrix=a.matrixWorld;this.matrixAutoUpdate=!1;this.color=c;a=new bc(b);a.rotateY(.5*Math.PI);this.material=new Oa({wireframe:!0,fog:!1,toneMapped:!1});void 0===this.color&&(this.material.vertexColors=!0);b=a.getAttribute("position");b=new Float32Array(3*b.count);a.setAttribute("color",
new H(b,3));this.add(new X(a,this.material));this.update()}function xf(a,b,c,d){a=a||10;b=b||10;c=new D(void 0!==c?c:4473924);d=new D(void 0!==d?d:8947848);var e=b/2,f=a/b,g=a/2;a=[];for(var h=[],l=0,n=0,k=-g;l<=b;l++,k+=f){a.push(-g,0,k,g,0,k);a.push(k,0,-g,k,0,g);var p=l===e?c:d;p.toArray(h,n);n+=3;p.toArray(h,n);n+=3;p.toArray(h,n);n+=3;p.toArray(h,n);n+=3}b=new F;b.setAttribute("position",new B(a,3));b.setAttribute("color",new B(h,3));c=new la({vertexColors:!0,toneMapped:!1});ha.call(this,b,c);
this.type="GridHelper"}function yf(a,b,c,d,e,f){a=a||10;b=b||16;c=c||8;d=d||64;e=new D(void 0!==e?e:4473924);f=new D(void 0!==f?f:8947848);for(var g=[],h=[],l=0;l<=b;l++){var n=l/b*2*Math.PI,k=Math.sin(n)*a;n=Math.cos(n)*a;g.push(0,0,0);g.push(k,0,n);k=l&1?e:f;h.push(k.r,k.g,k.b);h.push(k.r,k.g,k.b)}for(b=0;b<=c;b++)for(l=b&1?e:f,k=a-a/c*b,n=0;n<d;n++){var p=n/d*2*Math.PI,m=Math.sin(p)*k;p=Math.cos(p)*k;g.push(m,0,p);h.push(l.r,l.g,l.b);p=(n+1)/d*2*Math.PI;m=Math.sin(p)*k;p=Math.cos(p)*k;g.push(m,
0,p);h.push(l.r,l.g,l.b)}a=new F;a.setAttribute("position",new B(g,3));a.setAttribute("color",new B(h,3));g=new la({vertexColors:!0,toneMapped:!1});ha.call(this,a,g);this.type="PolarGridHelper"}function jd(a,b,c){z.call(this);this.light=a;this.light.updateMatrixWorld();this.matrix=a.matrixWorld;this.matrixAutoUpdate=!1;this.color=c;void 0===b&&(b=1);a=new F;a.setAttribute("position",new B([-b,b,0,b,b,0,b,-b,0,-b,-b,0,-b,b,0],3));b=new la({fog:!1,toneMapped:!1});this.lightPlane=new Ka(a,b);this.add(this.lightPlane);
a=new F;a.setAttribute("position",new B([0,0,0,0,0,1],3));this.targetLine=new Ka(a,b);this.add(this.targetLine);this.update()}function qe(a){function b(a,b,d){c(a,d);c(b,d)}function c(a,b){f.push(0,0,0);g.push(b.r,b.g,b.b);void 0===h[a]&&(h[a]=[]);h[a].push(f.length/3-1)}var d=new F,e=new la({color:16777215,vertexColors:!0,toneMapped:!1}),f=[],g=[],h={},l=new D(16755200),n=new D(16711680),k=new D(43775),p=new D(16777215),m=new D(3355443);b("n1","n2",l);b("n2","n4",l);b("n4","n3",l);b("n3","n1",l);
b("f1","f2",l);b("f2","f4",l);b("f4","f3",l);b("f3","f1",l);b("n1","f1",l);b("n2","f2",l);b("n3","f3",l);b("n4","f4",l);b("p","n1",n);b("p","n2",n);b("p","n3",n);b("p","n4",n);b("u1","u2",k);b("u2","u3",k);b("u3","u1",k);b("c","t",p);b("p","c",m);b("cn1","cn2",m);b("cn3","cn4",m);b("cf1","cf2",m);b("cf3","cf4",m);d.setAttribute("position",new B(f,3));d.setAttribute("color",new B(g,3));ha.call(this,d,e);this.type="CameraHelper";this.camera=a;this.camera.updateProjectionMatrix&&this.camera.updateProjectionMatrix();
this.matrix=a.matrixWorld;this.matrixAutoUpdate=!1;this.pointMap=h;this.update()}function ca(a,b,c,d,e,f,g){zf.set(e,f,g).unproject(d);a=b[a];if(void 0!==a)for(c=c.getAttribute("position"),b=0,d=a.length;b<d;b++)c.setXYZ(a[b],zf.x,zf.y,zf.z)}function vb(a,b){this.object=a;void 0===b&&(b=16776960);a=new Uint16Array([0,1,1,2,2,3,3,0,4,5,5,6,6,7,7,4,0,4,1,5,2,6,3,7]);var c=new Float32Array(24),d=new F;d.setIndex(new H(a,1));d.setAttribute("position",new H(c,3));ha.call(this,d,new la({color:b,toneMapped:!1}));
this.type="BoxHelper";this.matrixAutoUpdate=!1;this.update()}function re(a,b){this.type="Box3Helper";this.box=a;b=b||16776960;a=new Uint16Array([0,1,1,2,2,3,3,0,4,5,5,6,6,7,7,4,0,4,1,5,2,6,3,7]);var c=new F;c.setIndex(new H(a,1));c.setAttribute("position",new B([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));ha.call(this,c,new la({color:b,toneMapped:!1}));this.type="Box3Helper";this.geometry.computeBoundingSphere()}function se(a,b,c){this.plane=a;this.size=void 0===b?1:b;a=void 0!==
c?c:16776960;b=new F;b.setAttribute("position",new B([1,-1,1,-1,1,1,-1,-1,1,1,1,1,-1,1,1,-1,-1,1,1,-1,1,1,1,1,0,0,1,0,0,0],3));b.computeBoundingSphere();Ka.call(this,b,new la({color:a,toneMapped:!1}));this.type="PlaneHelper";b=new F;b.setAttribute("position",new B([1,1,1,-1,1,1,-1,-1,1,1,1,1,-1,-1,1,1,-1,1],3));b.computeBoundingSphere();this.add(new X(b,new Oa({color:a,opacity:.2,transparent:!0,depthWrite:!1,toneMapped:!1})))}function wb(a,b,c,d,e,f){z.call(this);this.type="ArrowHelper";void 0===
a&&(a=new m(0,0,1));void 0===b&&(b=new m(0,0,0));void 0===c&&(c=1);void 0===d&&(d=16776960);void 0===e&&(e=.2*c);void 0===f&&(f=.2*e);void 0===Af&&(Af=new F,Af.setAttribute("position",new B([0,0,0,0,1,0],3)),Sg=new sb(0,.5,1,5,1),Sg.translate(0,-.5,0));this.position.copy(b);this.line=new Ka(Af,new la({color:d,toneMapped:!1}));this.line.matrixAutoUpdate=!1;this.add(this.line);this.cone=new X(Sg,new Oa({color:d,toneMapped:!1}));this.cone.matrixAutoUpdate=!1;this.add(this.cone);this.setDirection(a);
this.setLength(c,e,f)}function te(a){a=a||1;var b=[0,0,0,a,0,0,0,0,0,0,a,0,0,0,0,0,0,a];a=new F;a.setAttribute("position",new B(b,3));a.setAttribute("color",new B([1,0,0,1,.6,0,0,1,0,.6,1,0,0,0,1,0,.6,1],3));b=new la({vertexColors:!0,toneMapped:!1});ha.call(this,a,b);this.type="AxesHelper"}function Tg(a){this._renderer=a;this._pingPongRenderTarget=null;a=new Float32Array(20);var b=new m(0,1,0);this._blurMaterial=new tb({name:"SphericalGaussianBlur",defines:{n:20},uniforms:{envMap:{value:null},samples:{value:1},
weights:{value:a},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:b},inputEncoding:{value:mb[3E3]},outputEncoding:{value:mb[3E3]}},vertexShader:Ug(),fragmentShader:"\nprecision mediump float;\nprecision mediump int;\nvarying vec3 vOutputDirection;\nuniform sampler2D envMap;\nuniform int samples;\nuniform float weights[n];\nuniform bool latitudinal;\nuniform float dTheta;\nuniform float mipInt;\nuniform vec3 poleAxis;\n\n"+Vg()+"\n\n#define ENVMAP_TYPE_CUBE_UV\n#include <cube_uv_reflection_fragment>\n\nvec3 getSample(float theta, vec3 axis) {\n\tfloat cosTheta = cos(theta);\n\t// Rodrigues' axis-angle rotation\n\tvec3 sampleDirection = vOutputDirection * cosTheta\n\t\t+ cross(axis, vOutputDirection) * sin(theta)\n\t\t+ axis * dot(axis, vOutputDirection) * (1.0 - cosTheta);\n\treturn bilinearCubeUV(envMap, sampleDirection, mipInt);\n}\n\nvoid main() {\n\tvec3 axis = latitudinal ? poleAxis : cross(poleAxis, vOutputDirection);\n\tif (all(equal(axis, vec3(0.0))))\n\t\taxis = vec3(vOutputDirection.z, 0.0, - vOutputDirection.x);\n\taxis = normalize(axis);\n\tgl_FragColor = vec4(0.0);\n\tgl_FragColor.rgb += weights[0] * getSample(0.0, axis);\n\tfor (int i = 1; i < n; i++) {\n\t\tif (i >= samples)\n\t\t\tbreak;\n\t\tfloat theta = dTheta * float(i);\n\t\tgl_FragColor.rgb += weights[i] * getSample(-1.0 * theta, axis);\n\t\tgl_FragColor.rgb += weights[i] * getSample(theta, axis);\n\t}\n\tgl_FragColor = linearToOutputTexel(gl_FragColor);\n}\n\t\t",
blending:0,depthTest:!1,depthWrite:!1});this._cubemapShader=this._equirectShader=null;this._compileMaterial(this._blurMaterial)}function ri(a){a=new Ha(3*nb,3*nb,a);a.texture.mapping=306;a.texture.name="PMREM.cubeUv";a.scissorTest=!0;return a}function Wg(a,b,c,d,e){a.viewport.set(b,c,d,e);a.scissor.set(b,c,d,e)}function si(){var a=new w(1,1);return new tb({name:"EquirectangularToCubeUV",uniforms:{envMap:{value:null},texelSize:{value:a},inputEncoding:{value:mb[3E3]},outputEncoding:{value:mb[3E3]}},
vertexShader:Ug(),fragmentShader:"\nprecision mediump float;\nprecision mediump int;\nvarying vec3 vOutputDirection;\nuniform sampler2D envMap;\nuniform vec2 texelSize;\n\n"+Vg()+"\n\n#include <common>\n\nvoid main() {\n\tgl_FragColor = vec4(0.0);\n\tvec3 outputDirection = normalize(vOutputDirection);\n\tvec2 uv = equirectUv( outputDirection );\n\tvec2 f = fract(uv / texelSize - 0.5);\n\tuv -= f * texelSize;\n\tvec3 tl = envMapTexelToLinear(texture2D(envMap, uv)).rgb;\n\tuv.x += texelSize.x;\n\tvec3 tr = envMapTexelToLinear(texture2D(envMap, uv)).rgb;\n\tuv.y += texelSize.y;\n\tvec3 br = envMapTexelToLinear(texture2D(envMap, uv)).rgb;\n\tuv.x -= texelSize.x;\n\tvec3 bl = envMapTexelToLinear(texture2D(envMap, uv)).rgb;\n\tvec3 tm = mix(tl, tr, f.x);\n\tvec3 bm = mix(bl, br, f.x);\n\tgl_FragColor.rgb = mix(tm, bm, f.y);\n\tgl_FragColor = linearToOutputTexel(gl_FragColor);\n}\n\t\t",
blending:0,depthTest:!1,depthWrite:!1})}function ti(){return new tb({name:"CubemapToCubeUV",uniforms:{envMap:{value:null},inputEncoding:{value:mb[3E3]},outputEncoding:{value:mb[3E3]}},vertexShader:Ug(),fragmentShader:"\nprecision mediump float;\nprecision mediump int;\nvarying vec3 vOutputDirection;\nuniform samplerCube envMap;\n\n"+Vg()+"\n\nvoid main() {\n\tgl_FragColor = vec4(0.0);\n\tgl_FragColor.rgb = envMapTexelToLinear(textureCube(envMap, vec3( - vOutputDirection.x, vOutputDirection.yz ))).rgb;\n\tgl_FragColor = linearToOutputTexel(gl_FragColor);\n}\n\t\t",
blending:0,depthTest:!1,depthWrite:!1})}function Ug(){return"\nprecision mediump float;\nprecision mediump int;\nattribute vec3 position;\nattribute vec2 uv;\nattribute float faceIndex;\nvarying vec3 vOutputDirection;\n\n// RH coordinate system; PMREM face-indexing convention\nvec3 getDirection(vec2 uv, float face) {\n\tuv = 2.0 * uv - 1.0;\n\tvec3 direction = vec3(uv, 1.0);\n\tif (face == 0.0) {\n\t\tdirection = direction.zyx; // ( 1, v, u ) pos x\n\t} else if (face == 1.0) {\n\t\tdirection = direction.xzy;\n\t\tdirection.xz *= -1.0; // ( -u, 1, -v ) pos y\n\t} else if (face == 2.0) {\n\t\tdirection.x *= -1.0; // ( -u, v, 1 ) pos z\n\t} else if (face == 3.0) {\n\t\tdirection = direction.zyx;\n\t\tdirection.xz *= -1.0; // ( -1, v, -u ) neg x\n\t} else if (face == 4.0) {\n\t\tdirection = direction.xzy;\n\t\tdirection.xy *= -1.0; // ( -u, -1, v ) neg y\n\t} else if (face == 5.0) {\n\t\tdirection.z *= -1.0; // ( u, v, -1 ) neg z\n\t}\n\treturn direction;\n}\n\nvoid main() {\n\tvOutputDirection = getDirection(uv, faceIndex);\n\tgl_Position = vec4( position, 1.0 );\n}\n\t"}
function Vg(){return"\nuniform int inputEncoding;\nuniform int outputEncoding;\n\n#include <encodings_pars_fragment>\n\nvec4 inputTexelToLinear(vec4 value){\n\tif(inputEncoding == 0){\n\t\treturn value;\n\t}else if(inputEncoding == 1){\n\t\treturn sRGBToLinear(value);\n\t}else if(inputEncoding == 2){\n\t\treturn RGBEToLinear(value);\n\t}else if(inputEncoding == 3){\n\t\treturn RGBMToLinear(value, 7.0);\n\t}else if(inputEncoding == 4){\n\t\treturn RGBMToLinear(value, 16.0);\n\t}else if(inputEncoding == 5){\n\t\treturn RGBDToLinear(value, 256.0);\n\t}else{\n\t\treturn GammaToLinear(value, 2.2);\n\t}\n}\n\nvec4 linearToOutputTexel(vec4 value){\n\tif(outputEncoding == 0){\n\t\treturn value;\n\t}else if(outputEncoding == 1){\n\t\treturn LinearTosRGB(value);\n\t}else if(outputEncoding == 2){\n\t\treturn LinearToRGBE(value);\n\t}else if(outputEncoding == 3){\n\t\treturn LinearToRGBM(value, 7.0);\n\t}else if(outputEncoding == 4){\n\t\treturn LinearToRGBM(value, 16.0);\n\t}else if(outputEncoding == 5){\n\t\treturn LinearToRGBD(value, 256.0);\n\t}else{\n\t\treturn LinearToGamma(value, 2.2);\n\t}\n}\n\nvec4 envMapTexelToLinear(vec4 color) {\n\treturn inputTexelToLinear(color);\n}\n\t"}
function ui(a){console.warn("THREE.ClosedSplineCurve3 has been deprecated. Use THREE.CatmullRomCurve3 instead.");pa.call(this,a);this.type="catmullrom";this.closed=!0}function vi(a){console.warn("THREE.SplineCurve3 has been deprecated. Use THREE.CatmullRomCurve3 instead.");pa.call(this,a);this.type="catmullrom"}function Xg(a){console.warn("THREE.Spline has been removed. Use THREE.CatmullRomCurve3 instead.");pa.call(this,a);this.type="catmullrom"}void 0===Number.EPSILON&&(Number.EPSILON=Math.pow(2,
-52));void 0===Number.isInteger&&(Number.isInteger=function(a){return"number"===typeof a&&isFinite(a)&&Math.floor(a)===a});void 0===Math.sign&&(Math.sign=function(a){return 0>a?-1:0<a?1:+a});!1==="name"in Function.prototype&&Object.defineProperty(Function.prototype,"name",{get:function(){return this.toString().match(/^\s*function\s*([^\(\s]*)/)[1]}});void 0===Object.assign&&(Object.assign=function(a){if(void 0===a||null===a)throw new TypeError("Cannot convert undefined or null to object");for(var b=
Object(a),c=1;c<arguments.length;c++){var d=arguments[c];if(void 0!==d&&null!==d)for(var e in d)Object.prototype.hasOwnProperty.call(d,e)&&(b[e]=d[e])}return b});Object.assign(ua.prototype,{addEventListener:function(a,b){void 0===this._listeners&&(this._listeners={});var c=this._listeners;void 0===c[a]&&(c[a]=[]);-1===c[a].indexOf(b)&&c[a].push(b)},hasEventListener:function(a,b){if(void 0===this._listeners)return!1;var c=this._listeners;return void 0!==c[a]&&-1!==c[a].indexOf(b)},removeEventListener:function(a,
b){void 0!==this._listeners&&(a=this._listeners[a],void 0!==a&&(b=a.indexOf(b),-1!==b&&a.splice(b,1)))},dispatchEvent:function(a){if(void 0!==this._listeners){var b=this._listeners[a.type];if(void 0!==b){a.target=this;b=b.slice(0);for(var c=0,d=b.length;c<d;c++)b[c].call(this,a)}}}});for(var ya=[],ue=0;256>ue;ue++)ya[ue]=(16>ue?"0":"")+ue.toString(16);var K={DEG2RAD:Math.PI/180,RAD2DEG:180/Math.PI,generateUUID:function(){var a=4294967295*Math.random()|0,b=4294967295*Math.random()|0,c=4294967295*Math.random()|
0,d=4294967295*Math.random()|0;return(ya[a&255]+ya[a>>8&255]+ya[a>>16&255]+ya[a>>24&255]+"-"+ya[b&255]+ya[b>>8&255]+"-"+ya[b>>16&15|64]+ya[b>>24&255]+"-"+ya[c&63|128]+ya[c>>8&255]+"-"+ya[c>>16&255]+ya[c>>24&255]+ya[d&255]+ya[d>>8&255]+ya[d>>16&255]+ya[d>>24&255]).toUpperCase()},clamp:function(a,b,c){return Math.max(b,Math.min(c,a))},euclideanModulo:function(a,b){return(a%b+b)%b},mapLinear:function(a,b,c,d,e){return d+(a-b)*(e-d)/(c-b)},lerp:function(a,b,c){return(1-c)*a+c*b},smoothstep:function(a,
b,c){if(a<=b)return 0;if(a>=c)return 1;a=(a-b)/(c-b);return a*a*(3-2*a)},smootherstep:function(a,b,c){if(a<=b)return 0;if(a>=c)return 1;a=(a-b)/(c-b);return a*a*a*(a*(6*a-15)+10)},randInt:function(a,b){return a+Math.floor(Math.random()*(b-a+1))},randFloat:function(a,b){return a+Math.random()*(b-a)},randFloatSpread:function(a){return a*(.5-Math.random())},degToRad:function(a){return a*K.DEG2RAD},radToDeg:function(a){return a*K.RAD2DEG},isPowerOfTwo:function(a){return 0===(a&a-1)&&0!==a},ceilPowerOfTwo:function(a){return Math.pow(2,
Math.ceil(Math.log(a)/Math.LN2))},floorPowerOfTwo:function(a){return Math.pow(2,Math.floor(Math.log(a)/Math.LN2))},setQuaternionFromProperEuler:function(a,b,c,d,e){var f=Math.cos,g=Math.sin,h=f(c/2);c=g(c/2);var l=f((b+d)/2),n=g((b+d)/2),k=f((b-d)/2),p=g((b-d)/2);f=f((d-b)/2);b=g((d-b)/2);switch(e){case "XYX":a.set(h*n,c*k,c*p,h*l);break;case "YZY":a.set(c*p,h*n,c*k,h*l);break;case "ZXZ":a.set(c*k,c*p,h*n,h*l);break;case "XZX":a.set(h*n,c*b,c*f,h*l);break;case "YXY":a.set(c*f,h*n,c*b,h*l);break;case "ZYZ":a.set(c*
b,c*f,h*n,h*l);break;default:console.warn("THREE.MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: "+e)}}};Object.defineProperties(w.prototype,{width:{get:function(){return this.x},set:function(a){this.x=a}},height:{get:function(){return this.y},set:function(a){this.y=a}}});Object.assign(w.prototype,{isVector2:!0,set:function(a,b){this.x=a;this.y=b;return this},setScalar:function(a){this.y=this.x=a;return this},setX:function(a){this.x=a;return this},setY:function(a){this.y=
a;return this},setComponent:function(a,b){switch(a){case 0:this.x=b;break;case 1:this.y=b;break;default:throw Error("index is out of range: "+a);}return this},getComponent:function(a){switch(a){case 0:return this.x;case 1:return this.y;default:throw Error("index is out of range: "+a);}},clone:function(){return new this.constructor(this.x,this.y)},copy:function(a){this.x=a.x;this.y=a.y;return this},add:function(a,b){if(void 0!==b)return console.warn("THREE.Vector2: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),
this.addVectors(a,b);this.x+=a.x;this.y+=a.y;return this},addScalar:function(a){this.x+=a;this.y+=a;return this},addVectors:function(a,b){this.x=a.x+b.x;this.y=a.y+b.y;return this},addScaledVector:function(a,b){this.x+=a.x*b;this.y+=a.y*b;return this},sub:function(a,b){if(void 0!==b)return console.warn("THREE.Vector2: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(a,b);this.x-=a.x;this.y-=a.y;return this},subScalar:function(a){this.x-=a;this.y-=a;return this},
subVectors:function(a,b){this.x=a.x-b.x;this.y=a.y-b.y;return this},multiply:function(a){this.x*=a.x;this.y*=a.y;return this},multiplyScalar:function(a){this.x*=a;this.y*=a;return this},divide:function(a){this.x/=a.x;this.y/=a.y;return this},divideScalar:function(a){return this.multiplyScalar(1/a)},applyMatrix3:function(a){var b=this.x,c=this.y;a=a.elements;this.x=a[0]*b+a[3]*c+a[6];this.y=a[1]*b+a[4]*c+a[7];return this},min:function(a){this.x=Math.min(this.x,a.x);this.y=Math.min(this.y,a.y);return this},
max:function(a){this.x=Math.max(this.x,a.x);this.y=Math.max(this.y,a.y);return this},clamp:function(a,b){this.x=Math.max(a.x,Math.min(b.x,this.x));this.y=Math.max(a.y,Math.min(b.y,this.y));return this},clampScalar:function(a,b){this.x=Math.max(a,Math.min(b,this.x));this.y=Math.max(a,Math.min(b,this.y));return this},clampLength:function(a,b){var c=this.length();return this.divideScalar(c||1).multiplyScalar(Math.max(a,Math.min(b,c)))},floor:function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);
return this},ceil:function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this},round:function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this},roundToZero:function(){this.x=0>this.x?Math.ceil(this.x):Math.floor(this.x);this.y=0>this.y?Math.ceil(this.y):Math.floor(this.y);return this},negate:function(){this.x=-this.x;this.y=-this.y;return this},dot:function(a){return this.x*a.x+this.y*a.y},cross:function(a){return this.x*a.y-this.y*a.x},lengthSq:function(){return this.x*
this.x+this.y*this.y},length:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},manhattanLength:function(){return Math.abs(this.x)+Math.abs(this.y)},normalize:function(){return this.divideScalar(this.length()||1)},angle:function(){return Math.atan2(-this.y,-this.x)+Math.PI},distanceTo:function(a){return Math.sqrt(this.distanceToSquared(a))},distanceToSquared:function(a){var b=this.x-a.x;a=this.y-a.y;return b*b+a*a},manhattanDistanceTo:function(a){return Math.abs(this.x-a.x)+Math.abs(this.y-
a.y)},setLength:function(a){return this.normalize().multiplyScalar(a)},lerp:function(a,b){this.x+=(a.x-this.x)*b;this.y+=(a.y-this.y)*b;return this},lerpVectors:function(a,b,c){this.x=a.x+(b.x-a.x)*c;this.y=a.y+(b.y-a.y)*c;return this},equals:function(a){return a.x===this.x&&a.y===this.y},fromArray:function(a,b){void 0===b&&(b=0);this.x=a[b];this.y=a[b+1];return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);a[b]=this.x;a[b+1]=this.y;return a},fromBufferAttribute:function(a,b,c){void 0!==
c&&console.warn("THREE.Vector2: offset has been removed from .fromBufferAttribute().");this.x=a.getX(b);this.y=a.getY(b);return this},rotateAround:function(a,b){var c=Math.cos(b);b=Math.sin(b);var d=this.x-a.x,e=this.y-a.y;this.x=d*c-e*b+a.x;this.y=d*b+e*c+a.y;return this},random:function(){this.x=Math.random();this.y=Math.random();return this}});Object.assign(xa.prototype,{isMatrix3:!0,set:function(a,b,c,d,e,f,g,h,l){var n=this.elements;n[0]=a;n[1]=d;n[2]=g;n[3]=b;n[4]=e;n[5]=h;n[6]=c;n[7]=f;n[8]=
l;return this},identity:function(){this.set(1,0,0,0,1,0,0,0,1);return this},clone:function(){return(new this.constructor).fromArray(this.elements)},copy:function(a){var b=this.elements;a=a.elements;b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];b[4]=a[4];b[5]=a[5];b[6]=a[6];b[7]=a[7];b[8]=a[8];return this},extractBasis:function(a,b,c){a.setFromMatrix3Column(this,0);b.setFromMatrix3Column(this,1);c.setFromMatrix3Column(this,2);return this},setFromMatrix4:function(a){a=a.elements;this.set(a[0],a[4],a[8],a[1],
a[5],a[9],a[2],a[6],a[10]);return this},multiply:function(a){return this.multiplyMatrices(this,a)},premultiply:function(a){return this.multiplyMatrices(a,this)},multiplyMatrices:function(a,b){var c=a.elements,d=b.elements;b=this.elements;a=c[0];var e=c[3],f=c[6],g=c[1],h=c[4],l=c[7],n=c[2],k=c[5];c=c[8];var p=d[0],m=d[3],t=d[6],r=d[1],u=d[4],A=d[7],w=d[2],x=d[5];d=d[8];b[0]=a*p+e*r+f*w;b[3]=a*m+e*u+f*x;b[6]=a*t+e*A+f*d;b[1]=g*p+h*r+l*w;b[4]=g*m+h*u+l*x;b[7]=g*t+h*A+l*d;b[2]=n*p+k*r+c*w;b[5]=n*m+k*
u+c*x;b[8]=n*t+k*A+c*d;return this},multiplyScalar:function(a){var b=this.elements;b[0]*=a;b[3]*=a;b[6]*=a;b[1]*=a;b[4]*=a;b[7]*=a;b[2]*=a;b[5]*=a;b[8]*=a;return this},determinant:function(){var a=this.elements,b=a[0],c=a[1],d=a[2],e=a[3],f=a[4],g=a[5],h=a[6],l=a[7];a=a[8];return b*f*a-b*g*l-c*e*a+c*g*h+d*e*l-d*f*h},getInverse:function(a,b){void 0!==b&&console.warn("THREE.Matrix3: .getInverse() can no longer be configured to throw on degenerate.");var c=a.elements;a=this.elements;b=c[0];var d=c[1],
e=c[2],f=c[3],g=c[4],h=c[5],l=c[6],n=c[7];c=c[8];var k=c*g-h*n,p=h*l-c*f,m=n*f-g*l,t=b*k+d*p+e*m;if(0===t)return this.set(0,0,0,0,0,0,0,0,0);t=1/t;a[0]=k*t;a[1]=(e*n-c*d)*t;a[2]=(h*d-e*g)*t;a[3]=p*t;a[4]=(c*b-e*l)*t;a[5]=(e*f-h*b)*t;a[6]=m*t;a[7]=(d*l-n*b)*t;a[8]=(g*b-d*f)*t;return this},transpose:function(){var a=this.elements;var b=a[1];a[1]=a[3];a[3]=b;b=a[2];a[2]=a[6];a[6]=b;b=a[5];a[5]=a[7];a[7]=b;return this},getNormalMatrix:function(a){return this.setFromMatrix4(a).getInverse(this).transpose()},
transposeIntoArray:function(a){var b=this.elements;a[0]=b[0];a[1]=b[3];a[2]=b[6];a[3]=b[1];a[4]=b[4];a[5]=b[7];a[6]=b[2];a[7]=b[5];a[8]=b[8];return this},setUvTransform:function(a,b,c,d,e,f,g){var h=Math.cos(e);e=Math.sin(e);this.set(c*h,c*e,-c*(h*f+e*g)+f+a,-d*e,d*h,-d*(-e*f+h*g)+g+b,0,0,1)},scale:function(a,b){var c=this.elements;c[0]*=a;c[3]*=a;c[6]*=a;c[1]*=b;c[4]*=b;c[7]*=b;return this},rotate:function(a){var b=Math.cos(a);a=Math.sin(a);var c=this.elements,d=c[0],e=c[3],f=c[6],g=c[1],h=c[4],
l=c[7];c[0]=b*d+a*g;c[3]=b*e+a*h;c[6]=b*f+a*l;c[1]=-a*d+b*g;c[4]=-a*e+b*h;c[7]=-a*f+b*l;return this},translate:function(a,b){var c=this.elements;c[0]+=a*c[2];c[3]+=a*c[5];c[6]+=a*c[8];c[1]+=b*c[2];c[4]+=b*c[5];c[7]+=b*c[8];return this},equals:function(a){var b=this.elements;a=a.elements;for(var c=0;9>c;c++)if(b[c]!==a[c])return!1;return!0},fromArray:function(a,b){void 0===b&&(b=0);for(var c=0;9>c;c++)this.elements[c]=a[c+b];return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);var c=
this.elements;a[b]=c[0];a[b+1]=c[1];a[b+2]=c[2];a[b+3]=c[3];a[b+4]=c[4];a[b+5]=c[5];a[b+6]=c[6];a[b+7]=c[7];a[b+8]=c[8];return a}});var kd,Ob={getDataURL:function(a){if(/^data:/i.test(a.src)||"undefined"==typeof HTMLCanvasElement)return a.src;if(!(a instanceof HTMLCanvasElement)){void 0===kd&&(kd=document.createElementNS("http://www.w3.org/1999/xhtml","canvas"));kd.width=a.width;kd.height=a.height;var b=kd.getContext("2d");a instanceof ImageData?b.putImageData(a,0,0):b.drawImage(a,0,0,a.width,a.height);
a=kd}return 2048<a.width||2048<a.height?a.toDataURL("image/jpeg",.6):a.toDataURL("image/png")}},hj=0;W.DEFAULT_IMAGE=void 0;W.DEFAULT_MAPPING=300;W.prototype=Object.assign(Object.create(ua.prototype),{constructor:W,isTexture:!0,updateMatrix:function(){this.matrix.setUvTransform(this.offset.x,this.offset.y,this.repeat.x,this.repeat.y,this.rotation,this.center.x,this.center.y)},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.name=a.name;this.image=a.image;this.mipmaps=
a.mipmaps.slice(0);this.mapping=a.mapping;this.wrapS=a.wrapS;this.wrapT=a.wrapT;this.magFilter=a.magFilter;this.minFilter=a.minFilter;this.anisotropy=a.anisotropy;this.format=a.format;this.internalFormat=a.internalFormat;this.type=a.type;this.offset.copy(a.offset);this.repeat.copy(a.repeat);this.center.copy(a.center);this.rotation=a.rotation;this.matrixAutoUpdate=a.matrixAutoUpdate;this.matrix.copy(a.matrix);this.generateMipmaps=a.generateMipmaps;this.premultiplyAlpha=a.premultiplyAlpha;this.flipY=
a.flipY;this.unpackAlignment=a.unpackAlignment;this.encoding=a.encoding;return this},toJSON:function(a){var b=void 0===a||"string"===typeof a;if(!b&&void 0!==a.textures[this.uuid])return a.textures[this.uuid];var c={metadata:{version:4.5,type:"Texture",generator:"Texture.toJSON"},uuid:this.uuid,name:this.name,mapping:this.mapping,repeat:[this.repeat.x,this.repeat.y],offset:[this.offset.x,this.offset.y],center:[this.center.x,this.center.y],rotation:this.rotation,wrap:[this.wrapS,this.wrapT],format:this.format,
type:this.type,encoding:this.encoding,minFilter:this.minFilter,magFilter:this.magFilter,anisotropy:this.anisotropy,flipY:this.flipY,premultiplyAlpha:this.premultiplyAlpha,unpackAlignment:this.unpackAlignment};if(void 0!==this.image){var d=this.image;void 0===d.uuid&&(d.uuid=K.generateUUID());if(!b&&void 0===a.images[d.uuid]){if(Array.isArray(d)){var e=[];for(var f=0,g=d.length;f<g;f++)e.push(Ob.getDataURL(d[f]))}else e=Ob.getDataURL(d);a.images[d.uuid]={uuid:d.uuid,url:e}}c.image=d.uuid}b||(a.textures[this.uuid]=
c);return c},dispose:function(){this.dispatchEvent({type:"dispose"})},transformUv:function(a){if(300!==this.mapping)return a;a.applyMatrix3(this.matrix);if(0>a.x||1<a.x)switch(this.wrapS){case 1E3:a.x-=Math.floor(a.x);break;case 1001:a.x=0>a.x?0:1;break;case 1002:a.x=1===Math.abs(Math.floor(a.x)%2)?Math.ceil(a.x)-a.x:a.x-Math.floor(a.x)}if(0>a.y||1<a.y)switch(this.wrapT){case 1E3:a.y-=Math.floor(a.y);break;case 1001:a.y=0>a.y?0:1;break;case 1002:a.y=1===Math.abs(Math.floor(a.y)%2)?Math.ceil(a.y)-
a.y:a.y-Math.floor(a.y)}this.flipY&&(a.y=1-a.y);return a}});Object.defineProperty(W.prototype,"needsUpdate",{set:function(a){!0===a&&this.version++}});Object.defineProperties(Y.prototype,{width:{get:function(){return this.z},set:function(a){this.z=a}},height:{get:function(){return this.w},set:function(a){this.w=a}}});Object.assign(Y.prototype,{isVector4:!0,set:function(a,b,c,d){this.x=a;this.y=b;this.z=c;this.w=d;return this},setScalar:function(a){this.w=this.z=this.y=this.x=a;return this},setX:function(a){this.x=
a;return this},setY:function(a){this.y=a;return this},setZ:function(a){this.z=a;return this},setW:function(a){this.w=a;return this},setComponent:function(a,b){switch(a){case 0:this.x=b;break;case 1:this.y=b;break;case 2:this.z=b;break;case 3:this.w=b;break;default:throw Error("index is out of range: "+a);}return this},getComponent:function(a){switch(a){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw Error("index is out of range: "+a);}},clone:function(){return new this.constructor(this.x,
this.y,this.z,this.w)},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;this.w=void 0!==a.w?a.w:1;return this},add:function(a,b){if(void 0!==b)return console.warn("THREE.Vector4: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(a,b);this.x+=a.x;this.y+=a.y;this.z+=a.z;this.w+=a.w;return this},addScalar:function(a){this.x+=a;this.y+=a;this.z+=a;this.w+=a;return this},addVectors:function(a,b){this.x=a.x+b.x;this.y=a.y+b.y;this.z=a.z+b.z;this.w=a.w+b.w;return this},
addScaledVector:function(a,b){this.x+=a.x*b;this.y+=a.y*b;this.z+=a.z*b;this.w+=a.w*b;return this},sub:function(a,b){if(void 0!==b)return console.warn("THREE.Vector4: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(a,b);this.x-=a.x;this.y-=a.y;this.z-=a.z;this.w-=a.w;return this},subScalar:function(a){this.x-=a;this.y-=a;this.z-=a;this.w-=a;return this},subVectors:function(a,b){this.x=a.x-b.x;this.y=a.y-b.y;this.z=a.z-b.z;this.w=a.w-b.w;return this},multiplyScalar:function(a){this.x*=
a;this.y*=a;this.z*=a;this.w*=a;return this},applyMatrix4:function(a){var b=this.x,c=this.y,d=this.z,e=this.w;a=a.elements;this.x=a[0]*b+a[4]*c+a[8]*d+a[12]*e;this.y=a[1]*b+a[5]*c+a[9]*d+a[13]*e;this.z=a[2]*b+a[6]*c+a[10]*d+a[14]*e;this.w=a[3]*b+a[7]*c+a[11]*d+a[15]*e;return this},divideScalar:function(a){return this.multiplyScalar(1/a)},setAxisAngleFromQuaternion:function(a){this.w=2*Math.acos(a.w);var b=Math.sqrt(1-a.w*a.w);1E-4>b?(this.x=1,this.z=this.y=0):(this.x=a.x/b,this.y=a.y/b,this.z=a.z/
b);return this},setAxisAngleFromRotationMatrix:function(a){a=a.elements;var b=a[0];var c=a[4];var d=a[8],e=a[1],f=a[5],g=a[9];var h=a[2];var l=a[6];var n=a[10];if(.01>Math.abs(c-e)&&.01>Math.abs(d-h)&&.01>Math.abs(g-l)){if(.1>Math.abs(c+e)&&.1>Math.abs(d+h)&&.1>Math.abs(g+l)&&.1>Math.abs(b+f+n-3))return this.set(1,0,0,0),this;a=Math.PI;b=(b+1)/2;f=(f+1)/2;n=(n+1)/2;c=(c+e)/4;d=(d+h)/4;g=(g+l)/4;b>f&&b>n?.01>b?(l=0,c=h=.707106781):(l=Math.sqrt(b),h=c/l,c=d/l):f>n?.01>f?(l=.707106781,h=0,c=.707106781):
(h=Math.sqrt(f),l=c/h,c=g/h):.01>n?(h=l=.707106781,c=0):(c=Math.sqrt(n),l=d/c,h=g/c);this.set(l,h,c,a);return this}a=Math.sqrt((l-g)*(l-g)+(d-h)*(d-h)+(e-c)*(e-c));.001>Math.abs(a)&&(a=1);this.x=(l-g)/a;this.y=(d-h)/a;this.z=(e-c)/a;this.w=Math.acos((b+f+n-1)/2);return this},min:function(a){this.x=Math.min(this.x,a.x);this.y=Math.min(this.y,a.y);this.z=Math.min(this.z,a.z);this.w=Math.min(this.w,a.w);return this},max:function(a){this.x=Math.max(this.x,a.x);this.y=Math.max(this.y,a.y);this.z=Math.max(this.z,
a.z);this.w=Math.max(this.w,a.w);return this},clamp:function(a,b){this.x=Math.max(a.x,Math.min(b.x,this.x));this.y=Math.max(a.y,Math.min(b.y,this.y));this.z=Math.max(a.z,Math.min(b.z,this.z));this.w=Math.max(a.w,Math.min(b.w,this.w));return this},clampScalar:function(a,b){this.x=Math.max(a,Math.min(b,this.x));this.y=Math.max(a,Math.min(b,this.y));this.z=Math.max(a,Math.min(b,this.z));this.w=Math.max(a,Math.min(b,this.w));return this},clampLength:function(a,b){var c=this.length();return this.divideScalar(c||
1).multiplyScalar(Math.max(a,Math.min(b,c)))},floor:function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);this.z=Math.floor(this.z);this.w=Math.floor(this.w);return this},ceil:function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);this.z=Math.ceil(this.z);this.w=Math.ceil(this.w);return this},round:function(){this.x=Math.round(this.x);this.y=Math.round(this.y);this.z=Math.round(this.z);this.w=Math.round(this.w);return this},roundToZero:function(){this.x=0>this.x?Math.ceil(this.x):Math.floor(this.x);
this.y=0>this.y?Math.ceil(this.y):Math.floor(this.y);this.z=0>this.z?Math.ceil(this.z):Math.floor(this.z);this.w=0>this.w?Math.ceil(this.w):Math.floor(this.w);return this},negate:function(){this.x=-this.x;this.y=-this.y;this.z=-this.z;this.w=-this.w;return this},dot:function(a){return this.x*a.x+this.y*a.y+this.z*a.z+this.w*a.w},lengthSq:function(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w},length:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)},
manhattanLength:function(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)},normalize:function(){return this.divideScalar(this.length()||1)},setLength:function(a){return this.normalize().multiplyScalar(a)},lerp:function(a,b){this.x+=(a.x-this.x)*b;this.y+=(a.y-this.y)*b;this.z+=(a.z-this.z)*b;this.w+=(a.w-this.w)*b;return this},lerpVectors:function(a,b,c){this.x=a.x+(b.x-a.x)*c;this.y=a.y+(b.y-a.y)*c;this.z=a.z+(b.z-a.z)*c;this.w=a.w+(b.w-a.w)*c;return this},equals:function(a){return a.x===
this.x&&a.y===this.y&&a.z===this.z&&a.w===this.w},fromArray:function(a,b){void 0===b&&(b=0);this.x=a[b];this.y=a[b+1];this.z=a[b+2];this.w=a[b+3];return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);a[b]=this.x;a[b+1]=this.y;a[b+2]=this.z;a[b+3]=this.w;return a},fromBufferAttribute:function(a,b,c){void 0!==c&&console.warn("THREE.Vector4: offset has been removed from .fromBufferAttribute().");this.x=a.getX(b);this.y=a.getY(b);this.z=a.getZ(b);this.w=a.getW(b);return this},random:function(){this.x=
Math.random();this.y=Math.random();this.z=Math.random();this.w=Math.random();return this}});Ha.prototype=Object.assign(Object.create(ua.prototype),{constructor:Ha,isWebGLRenderTarget:!0,setSize:function(a,b){if(this.width!==a||this.height!==b)this.width=a,this.height=b,this.texture.image.width=a,this.texture.image.height=b,this.dispose();this.viewport.set(0,0,a,b);this.scissor.set(0,0,a,b)},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.width=a.width;this.height=a.height;
this.viewport.copy(a.viewport);this.texture=a.texture.clone();this.depthBuffer=a.depthBuffer;this.stencilBuffer=a.stencilBuffer;this.depthTexture=a.depthTexture;return this},dispose:function(){this.dispatchEvent({type:"dispose"})}});ag.prototype=Object.assign(Object.create(Ha.prototype),{constructor:ag,isWebGLMultisampleRenderTarget:!0,copy:function(a){Ha.prototype.copy.call(this,a);this.samples=a.samples;return this}});Object.assign(na,{slerp:function(a,b,c,d){return c.copy(a).slerp(b,d)},slerpFlat:function(a,
b,c,d,e,f,g){var h=c[d+0],l=c[d+1],n=c[d+2];c=c[d+3];d=e[f+0];var k=e[f+1],p=e[f+2];e=e[f+3];if(c!==e||h!==d||l!==k||n!==p){f=1-g;var m=h*d+l*k+n*p+c*e,t=0<=m?1:-1,r=1-m*m;r>Number.EPSILON&&(r=Math.sqrt(r),m=Math.atan2(r,m*t),f=Math.sin(f*m)/r,g=Math.sin(g*m)/r);t*=g;h=h*f+d*t;l=l*f+k*t;n=n*f+p*t;c=c*f+e*t;f===1-g&&(g=1/Math.sqrt(h*h+l*l+n*n+c*c),h*=g,l*=g,n*=g,c*=g)}a[b]=h;a[b+1]=l;a[b+2]=n;a[b+3]=c},multiplyQuaternionsFlat:function(a,b,c,d,e,f){var g=c[d],h=c[d+1],l=c[d+2];c=c[d+3];d=e[f];var n=
e[f+1],k=e[f+2];e=e[f+3];a[b]=g*e+c*d+h*k-l*n;a[b+1]=h*e+c*n+l*d-g*k;a[b+2]=l*e+c*k+g*n-h*d;a[b+3]=c*e-g*d-h*n-l*k;return a}});Object.defineProperties(na.prototype,{x:{get:function(){return this._x},set:function(a){this._x=a;this._onChangeCallback()}},y:{get:function(){return this._y},set:function(a){this._y=a;this._onChangeCallback()}},z:{get:function(){return this._z},set:function(a){this._z=a;this._onChangeCallback()}},w:{get:function(){return this._w},set:function(a){this._w=a;this._onChangeCallback()}}});
Object.assign(na.prototype,{isQuaternion:!0,set:function(a,b,c,d){this._x=a;this._y=b;this._z=c;this._w=d;this._onChangeCallback();return this},clone:function(){return new this.constructor(this._x,this._y,this._z,this._w)},copy:function(a){this._x=a.x;this._y=a.y;this._z=a.z;this._w=a.w;this._onChangeCallback();return this},setFromEuler:function(a,b){if(!a||!a.isEuler)throw Error("THREE.Quaternion: .setFromEuler() now expects an Euler rotation rather than a Vector3 and order.");var c=a._x,d=a._y,
e=a._z;a=a.order;var f=Math.cos,g=Math.sin,h=f(c/2),l=f(d/2);f=f(e/2);c=g(c/2);d=g(d/2);e=g(e/2);switch(a){case "XYZ":this._x=c*l*f+h*d*e;this._y=h*d*f-c*l*e;this._z=h*l*e+c*d*f;this._w=h*l*f-c*d*e;break;case "YXZ":this._x=c*l*f+h*d*e;this._y=h*d*f-c*l*e;this._z=h*l*e-c*d*f;this._w=h*l*f+c*d*e;break;case "ZXY":this._x=c*l*f-h*d*e;this._y=h*d*f+c*l*e;this._z=h*l*e+c*d*f;this._w=h*l*f-c*d*e;break;case "ZYX":this._x=c*l*f-h*d*e;this._y=h*d*f+c*l*e;this._z=h*l*e-c*d*f;this._w=h*l*f+c*d*e;break;case "YZX":this._x=
c*l*f+h*d*e;this._y=h*d*f+c*l*e;this._z=h*l*e-c*d*f;this._w=h*l*f-c*d*e;break;case "XZY":this._x=c*l*f-h*d*e;this._y=h*d*f-c*l*e;this._z=h*l*e+c*d*f;this._w=h*l*f+c*d*e;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: "+a)}!1!==b&&this._onChangeCallback();return this},setFromAxisAngle:function(a,b){b/=2;var c=Math.sin(b);this._x=a.x*c;this._y=a.y*c;this._z=a.z*c;this._w=Math.cos(b);this._onChangeCallback();return this},setFromRotationMatrix:function(a){var b=
a.elements,c=b[0];a=b[4];var d=b[8],e=b[1],f=b[5],g=b[9],h=b[2],l=b[6];b=b[10];var n=c+f+b;0<n?(c=.5/Math.sqrt(n+1),this._w=.25/c,this._x=(l-g)*c,this._y=(d-h)*c,this._z=(e-a)*c):c>f&&c>b?(c=2*Math.sqrt(1+c-f-b),this._w=(l-g)/c,this._x=.25*c,this._y=(a+e)/c,this._z=(d+h)/c):f>b?(c=2*Math.sqrt(1+f-c-b),this._w=(d-h)/c,this._x=(a+e)/c,this._y=.25*c,this._z=(g+l)/c):(c=2*Math.sqrt(1+b-c-f),this._w=(e-a)/c,this._x=(d+h)/c,this._y=(g+l)/c,this._z=.25*c);this._onChangeCallback();return this},setFromUnitVectors:function(a,
b){var c=a.dot(b)+1;1E-6>c?(c=0,Math.abs(a.x)>Math.abs(a.z)?(this._x=-a.y,this._y=a.x,this._z=0):(this._x=0,this._y=-a.z,this._z=a.y)):(this._x=a.y*b.z-a.z*b.y,this._y=a.z*b.x-a.x*b.z,this._z=a.x*b.y-a.y*b.x);this._w=c;return this.normalize()},angleTo:function(a){return 2*Math.acos(Math.abs(K.clamp(this.dot(a),-1,1)))},rotateTowards:function(a,b){var c=this.angleTo(a);if(0===c)return this;this.slerp(a,Math.min(1,b/c));return this},inverse:function(){return this.conjugate()},conjugate:function(){this._x*=
-1;this._y*=-1;this._z*=-1;this._onChangeCallback();return this},dot:function(a){return this._x*a._x+this._y*a._y+this._z*a._z+this._w*a._w},lengthSq:function(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w},length:function(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)},normalize:function(){var a=this.length();0===a?(this._z=this._y=this._x=0,this._w=1):(a=1/a,this._x*=a,this._y*=a,this._z*=a,this._w*=a);this._onChangeCallback();return this},
multiply:function(a,b){return void 0!==b?(console.warn("THREE.Quaternion: .multiply() now only accepts one argument. Use .multiplyQuaternions( a, b ) instead."),this.multiplyQuaternions(a,b)):this.multiplyQuaternions(this,a)},premultiply:function(a){return this.multiplyQuaternions(a,this)},multiplyQuaternions:function(a,b){var c=a._x,d=a._y,e=a._z;a=a._w;var f=b._x,g=b._y,h=b._z;b=b._w;this._x=c*b+a*f+d*h-e*g;this._y=d*b+a*g+e*f-c*h;this._z=e*b+a*h+c*g-d*f;this._w=a*b-c*f-d*g-e*h;this._onChangeCallback();
return this},slerp:function(a,b){if(0===b)return this;if(1===b)return this.copy(a);var c=this._x,d=this._y,e=this._z,f=this._w,g=f*a._w+c*a._x+d*a._y+e*a._z;0>g?(this._w=-a._w,this._x=-a._x,this._y=-a._y,this._z=-a._z,g=-g):this.copy(a);if(1<=g)return this._w=f,this._x=c,this._y=d,this._z=e,this;a=1-g*g;if(a<=Number.EPSILON)return g=1-b,this._w=g*f+b*this._w,this._x=g*c+b*this._x,this._y=g*d+b*this._y,this._z=g*e+b*this._z,this.normalize(),this._onChangeCallback(),this;a=Math.sqrt(a);var h=Math.atan2(a,
g);g=Math.sin((1-b)*h)/a;b=Math.sin(b*h)/a;this._w=f*g+this._w*b;this._x=c*g+this._x*b;this._y=d*g+this._y*b;this._z=e*g+this._z*b;this._onChangeCallback();return this},equals:function(a){return a._x===this._x&&a._y===this._y&&a._z===this._z&&a._w===this._w},fromArray:function(a,b){void 0===b&&(b=0);this._x=a[b];this._y=a[b+1];this._z=a[b+2];this._w=a[b+3];this._onChangeCallback();return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);a[b]=this._x;a[b+1]=this._y;a[b+2]=this._z;a[b+
3]=this._w;return a},fromBufferAttribute:function(a,b){this._x=a.getX(b);this._y=a.getY(b);this._z=a.getZ(b);this._w=a.getW(b);return this},_onChange:function(a){this._onChangeCallback=a;return this},_onChangeCallback:function(){}});var Yg=new m,wi=new na;Object.assign(m.prototype,{isVector3:!0,set:function(a,b,c){this.x=a;this.y=b;this.z=c;return this},setScalar:function(a){this.z=this.y=this.x=a;return this},setX:function(a){this.x=a;return this},setY:function(a){this.y=a;return this},setZ:function(a){this.z=
a;return this},setComponent:function(a,b){switch(a){case 0:this.x=b;break;case 1:this.y=b;break;case 2:this.z=b;break;default:throw Error("index is out of range: "+a);}return this},getComponent:function(a){switch(a){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw Error("index is out of range: "+a);}},clone:function(){return new this.constructor(this.x,this.y,this.z)},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;return this},add:function(a,b){if(void 0!==b)return console.warn("THREE.Vector3: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),
this.addVectors(a,b);this.x+=a.x;this.y+=a.y;this.z+=a.z;return this},addScalar:function(a){this.x+=a;this.y+=a;this.z+=a;return this},addVectors:function(a,b){this.x=a.x+b.x;this.y=a.y+b.y;this.z=a.z+b.z;return this},addScaledVector:function(a,b){this.x+=a.x*b;this.y+=a.y*b;this.z+=a.z*b;return this},sub:function(a,b){if(void 0!==b)return console.warn("THREE.Vector3: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(a,b);this.x-=a.x;this.y-=a.y;this.z-=a.z;
return this},subScalar:function(a){this.x-=a;this.y-=a;this.z-=a;return this},subVectors:function(a,b){this.x=a.x-b.x;this.y=a.y-b.y;this.z=a.z-b.z;return this},multiply:function(a,b){if(void 0!==b)return console.warn("THREE.Vector3: .multiply() now only accepts one argument. Use .multiplyVectors( a, b ) instead."),this.multiplyVectors(a,b);this.x*=a.x;this.y*=a.y;this.z*=a.z;return this},multiplyScalar:function(a){this.x*=a;this.y*=a;this.z*=a;return this},multiplyVectors:function(a,b){this.x=a.x*
b.x;this.y=a.y*b.y;this.z=a.z*b.z;return this},applyEuler:function(a){a&&a.isEuler||console.error("THREE.Vector3: .applyEuler() now expects an Euler rotation rather than a Vector3 and order.");return this.applyQuaternion(wi.setFromEuler(a))},applyAxisAngle:function(a,b){return this.applyQuaternion(wi.setFromAxisAngle(a,b))},applyMatrix3:function(a){var b=this.x,c=this.y,d=this.z;a=a.elements;this.x=a[0]*b+a[3]*c+a[6]*d;this.y=a[1]*b+a[4]*c+a[7]*d;this.z=a[2]*b+a[5]*c+a[8]*d;return this},applyNormalMatrix:function(a){return this.applyMatrix3(a).normalize()},
applyMatrix4:function(a){var b=this.x,c=this.y,d=this.z;a=a.elements;var e=1/(a[3]*b+a[7]*c+a[11]*d+a[15]);this.x=(a[0]*b+a[4]*c+a[8]*d+a[12])*e;this.y=(a[1]*b+a[5]*c+a[9]*d+a[13])*e;this.z=(a[2]*b+a[6]*c+a[10]*d+a[14])*e;return this},applyQuaternion:function(a){var b=this.x,c=this.y,d=this.z,e=a.x,f=a.y,g=a.z;a=a.w;var h=a*b+f*d-g*c,l=a*c+g*b-e*d,n=a*d+e*c-f*b;b=-e*b-f*c-g*d;this.x=h*a+b*-e+l*-g-n*-f;this.y=l*a+b*-f+n*-e-h*-g;this.z=n*a+b*-g+h*-f-l*-e;return this},project:function(a){return this.applyMatrix4(a.matrixWorldInverse).applyMatrix4(a.projectionMatrix)},
unproject:function(a){return this.applyMatrix4(a.projectionMatrixInverse).applyMatrix4(a.matrixWorld)},transformDirection:function(a){var b=this.x,c=this.y,d=this.z;a=a.elements;this.x=a[0]*b+a[4]*c+a[8]*d;this.y=a[1]*b+a[5]*c+a[9]*d;this.z=a[2]*b+a[6]*c+a[10]*d;return this.normalize()},divide:function(a){this.x/=a.x;this.y/=a.y;this.z/=a.z;return this},divideScalar:function(a){return this.multiplyScalar(1/a)},min:function(a){this.x=Math.min(this.x,a.x);this.y=Math.min(this.y,a.y);this.z=Math.min(this.z,
a.z);return this},max:function(a){this.x=Math.max(this.x,a.x);this.y=Math.max(this.y,a.y);this.z=Math.max(this.z,a.z);return this},clamp:function(a,b){this.x=Math.max(a.x,Math.min(b.x,this.x));this.y=Math.max(a.y,Math.min(b.y,this.y));this.z=Math.max(a.z,Math.min(b.z,this.z));return this},clampScalar:function(a,b){this.x=Math.max(a,Math.min(b,this.x));this.y=Math.max(a,Math.min(b,this.y));this.z=Math.max(a,Math.min(b,this.z));return this},clampLength:function(a,b){var c=this.length();return this.divideScalar(c||
1).multiplyScalar(Math.max(a,Math.min(b,c)))},floor:function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);this.z=Math.floor(this.z);return this},ceil:function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);this.z=Math.ceil(this.z);return this},round:function(){this.x=Math.round(this.x);this.y=Math.round(this.y);this.z=Math.round(this.z);return this},roundToZero:function(){this.x=0>this.x?Math.ceil(this.x):Math.floor(this.x);this.y=0>this.y?Math.ceil(this.y):Math.floor(this.y);this.z=
0>this.z?Math.ceil(this.z):Math.floor(this.z);return this},negate:function(){this.x=-this.x;this.y=-this.y;this.z=-this.z;return this},dot:function(a){return this.x*a.x+this.y*a.y+this.z*a.z},lengthSq:function(){return this.x*this.x+this.y*this.y+this.z*this.z},length:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)},manhattanLength:function(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)},normalize:function(){return this.divideScalar(this.length()||1)},setLength:function(a){return this.normalize().multiplyScalar(a)},
lerp:function(a,b){this.x+=(a.x-this.x)*b;this.y+=(a.y-this.y)*b;this.z+=(a.z-this.z)*b;return this},lerpVectors:function(a,b,c){this.x=a.x+(b.x-a.x)*c;this.y=a.y+(b.y-a.y)*c;this.z=a.z+(b.z-a.z)*c;return this},cross:function(a,b){return void 0!==b?(console.warn("THREE.Vector3: .cross() now only accepts one argument. Use .crossVectors( a, b ) instead."),this.crossVectors(a,b)):this.crossVectors(this,a)},crossVectors:function(a,b){var c=a.x,d=a.y;a=a.z;var e=b.x,f=b.y;b=b.z;this.x=d*b-a*f;this.y=a*
e-c*b;this.z=c*f-d*e;return this},projectOnVector:function(a){var b=a.lengthSq();if(0===b)return this.set(0,0,0);b=a.dot(this)/b;return this.copy(a).multiplyScalar(b)},projectOnPlane:function(a){Yg.copy(this).projectOnVector(a);return this.sub(Yg)},reflect:function(a){return this.sub(Yg.copy(a).multiplyScalar(2*this.dot(a)))},angleTo:function(a){var b=Math.sqrt(this.lengthSq()*a.lengthSq());if(0===b)return Math.PI/2;a=this.dot(a)/b;return Math.acos(K.clamp(a,-1,1))},distanceTo:function(a){return Math.sqrt(this.distanceToSquared(a))},
distanceToSquared:function(a){var b=this.x-a.x,c=this.y-a.y;a=this.z-a.z;return b*b+c*c+a*a},manhattanDistanceTo:function(a){return Math.abs(this.x-a.x)+Math.abs(this.y-a.y)+Math.abs(this.z-a.z)},setFromSpherical:function(a){return this.setFromSphericalCoords(a.radius,a.phi,a.theta)},setFromSphericalCoords:function(a,b,c){var d=Math.sin(b)*a;this.x=d*Math.sin(c);this.y=Math.cos(b)*a;this.z=d*Math.cos(c);return this},setFromCylindrical:function(a){return this.setFromCylindricalCoords(a.radius,a.theta,
a.y)},setFromCylindricalCoords:function(a,b,c){this.x=a*Math.sin(b);this.y=c;this.z=a*Math.cos(b);return this},setFromMatrixPosition:function(a){a=a.elements;this.x=a[12];this.y=a[13];this.z=a[14];return this},setFromMatrixScale:function(a){var b=this.setFromMatrixColumn(a,0).length(),c=this.setFromMatrixColumn(a,1).length();a=this.setFromMatrixColumn(a,2).length();this.x=b;this.y=c;this.z=a;return this},setFromMatrixColumn:function(a,b){return this.fromArray(a.elements,4*b)},setFromMatrix3Column:function(a,
b){return this.fromArray(a.elements,3*b)},equals:function(a){return a.x===this.x&&a.y===this.y&&a.z===this.z},fromArray:function(a,b){void 0===b&&(b=0);this.x=a[b];this.y=a[b+1];this.z=a[b+2];return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);a[b]=this.x;a[b+1]=this.y;a[b+2]=this.z;return a},fromBufferAttribute:function(a,b,c){void 0!==c&&console.warn("THREE.Vector3: offset has been removed from .fromBufferAttribute().");this.x=a.getX(b);this.y=a.getY(b);this.z=a.getZ(b);return this},
random:function(){this.x=Math.random();this.y=Math.random();this.z=Math.random();return this}});var ld=new m,Q=new M,Kk=new m(0,0,0),Lk=new m(1,1,1),Pb=new m,Bf=new m,Da=new m;Object.assign(M.prototype,{isMatrix4:!0,set:function(a,b,c,d,e,f,g,h,l,n,k,p,m,t,r,u){var q=this.elements;q[0]=a;q[4]=b;q[8]=c;q[12]=d;q[1]=e;q[5]=f;q[9]=g;q[13]=h;q[2]=l;q[6]=n;q[10]=k;q[14]=p;q[3]=m;q[7]=t;q[11]=r;q[15]=u;return this},identity:function(){this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);return this},clone:function(){return(new M).fromArray(this.elements)},
copy:function(a){var b=this.elements;a=a.elements;b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];b[4]=a[4];b[5]=a[5];b[6]=a[6];b[7]=a[7];b[8]=a[8];b[9]=a[9];b[10]=a[10];b[11]=a[11];b[12]=a[12];b[13]=a[13];b[14]=a[14];b[15]=a[15];return this},copyPosition:function(a){var b=this.elements;a=a.elements;b[12]=a[12];b[13]=a[13];b[14]=a[14];return this},extractBasis:function(a,b,c){a.setFromMatrixColumn(this,0);b.setFromMatrixColumn(this,1);c.setFromMatrixColumn(this,2);return this},makeBasis:function(a,b,c){this.set(a.x,
b.x,c.x,0,a.y,b.y,c.y,0,a.z,b.z,c.z,0,0,0,0,1);return this},extractRotation:function(a){var b=this.elements,c=a.elements,d=1/ld.setFromMatrixColumn(a,0).length(),e=1/ld.setFromMatrixColumn(a,1).length();a=1/ld.setFromMatrixColumn(a,2).length();b[0]=c[0]*d;b[1]=c[1]*d;b[2]=c[2]*d;b[3]=0;b[4]=c[4]*e;b[5]=c[5]*e;b[6]=c[6]*e;b[7]=0;b[8]=c[8]*a;b[9]=c[9]*a;b[10]=c[10]*a;b[11]=0;b[12]=0;b[13]=0;b[14]=0;b[15]=1;return this},makeRotationFromEuler:function(a){a&&a.isEuler||console.error("THREE.Matrix4: .makeRotationFromEuler() now expects a Euler rotation rather than a Vector3 and order.");
var b=this.elements,c=a.x,d=a.y,e=a.z,f=Math.cos(c);c=Math.sin(c);var g=Math.cos(d);d=Math.sin(d);var h=Math.cos(e);e=Math.sin(e);if("XYZ"===a.order){a=f*h;var l=f*e,n=c*h,k=c*e;b[0]=g*h;b[4]=-g*e;b[8]=d;b[1]=l+n*d;b[5]=a-k*d;b[9]=-c*g;b[2]=k-a*d;b[6]=n+l*d;b[10]=f*g}else"YXZ"===a.order?(a=g*h,l=g*e,n=d*h,k=d*e,b[0]=a+k*c,b[4]=n*c-l,b[8]=f*d,b[1]=f*e,b[5]=f*h,b[9]=-c,b[2]=l*c-n,b[6]=k+a*c,b[10]=f*g):"ZXY"===a.order?(a=g*h,l=g*e,n=d*h,k=d*e,b[0]=a-k*c,b[4]=-f*e,b[8]=n+l*c,b[1]=l+n*c,b[5]=f*h,b[9]=
k-a*c,b[2]=-f*d,b[6]=c,b[10]=f*g):"ZYX"===a.order?(a=f*h,l=f*e,n=c*h,k=c*e,b[0]=g*h,b[4]=n*d-l,b[8]=a*d+k,b[1]=g*e,b[5]=k*d+a,b[9]=l*d-n,b[2]=-d,b[6]=c*g,b[10]=f*g):"YZX"===a.order?(a=f*g,l=f*d,n=c*g,k=c*d,b[0]=g*h,b[4]=k-a*e,b[8]=n*e+l,b[1]=e,b[5]=f*h,b[9]=-c*h,b[2]=-d*h,b[6]=l*e+n,b[10]=a-k*e):"XZY"===a.order&&(a=f*g,l=f*d,n=c*g,k=c*d,b[0]=g*h,b[4]=-e,b[8]=d*h,b[1]=a*e+k,b[5]=f*h,b[9]=l*e-n,b[2]=n*e-l,b[6]=c*h,b[10]=k*e+a);b[3]=0;b[7]=0;b[11]=0;b[12]=0;b[13]=0;b[14]=0;b[15]=1;return this},makeRotationFromQuaternion:function(a){return this.compose(Kk,
a,Lk)},lookAt:function(a,b,c){var d=this.elements;Da.subVectors(a,b);0===Da.lengthSq()&&(Da.z=1);Da.normalize();Pb.crossVectors(c,Da);0===Pb.lengthSq()&&(1===Math.abs(c.z)?Da.x+=1E-4:Da.z+=1E-4,Da.normalize(),Pb.crossVectors(c,Da));Pb.normalize();Bf.crossVectors(Da,Pb);d[0]=Pb.x;d[4]=Bf.x;d[8]=Da.x;d[1]=Pb.y;d[5]=Bf.y;d[9]=Da.y;d[2]=Pb.z;d[6]=Bf.z;d[10]=Da.z;return this},multiply:function(a,b){return void 0!==b?(console.warn("THREE.Matrix4: .multiply() now only accepts one argument. Use .multiplyMatrices( a, b ) instead."),
this.multiplyMatrices(a,b)):this.multiplyMatrices(this,a)},premultiply:function(a){return this.multiplyMatrices(a,this)},multiplyMatrices:function(a,b){var c=a.elements,d=b.elements;b=this.elements;a=c[0];var e=c[4],f=c[8],g=c[12],h=c[1],l=c[5],k=c[9],q=c[13],p=c[2],m=c[6],t=c[10],r=c[14],u=c[3],A=c[7],w=c[11];c=c[15];var x=d[0],z=d[4],B=d[8],y=d[12],C=d[1],D=d[5],F=d[9],G=d[13],H=d[2],J=d[6],K=d[10],L=d[14],M=d[3],N=d[7],P=d[11];d=d[15];b[0]=a*x+e*C+f*H+g*M;b[4]=a*z+e*D+f*J+g*N;b[8]=a*B+e*F+f*K+
g*P;b[12]=a*y+e*G+f*L+g*d;b[1]=h*x+l*C+k*H+q*M;b[5]=h*z+l*D+k*J+q*N;b[9]=h*B+l*F+k*K+q*P;b[13]=h*y+l*G+k*L+q*d;b[2]=p*x+m*C+t*H+r*M;b[6]=p*z+m*D+t*J+r*N;b[10]=p*B+m*F+t*K+r*P;b[14]=p*y+m*G+t*L+r*d;b[3]=u*x+A*C+w*H+c*M;b[7]=u*z+A*D+w*J+c*N;b[11]=u*B+A*F+w*K+c*P;b[15]=u*y+A*G+w*L+c*d;return this},multiplyScalar:function(a){var b=this.elements;b[0]*=a;b[4]*=a;b[8]*=a;b[12]*=a;b[1]*=a;b[5]*=a;b[9]*=a;b[13]*=a;b[2]*=a;b[6]*=a;b[10]*=a;b[14]*=a;b[3]*=a;b[7]*=a;b[11]*=a;b[15]*=a;return this},determinant:function(){var a=
this.elements,b=a[0],c=a[4],d=a[8],e=a[12],f=a[1],g=a[5],h=a[9],l=a[13],k=a[2],q=a[6],p=a[10],m=a[14];return a[3]*(+e*h*q-d*l*q-e*g*p+c*l*p+d*g*m-c*h*m)+a[7]*(+b*h*m-b*l*p+e*f*p-d*f*m+d*l*k-e*h*k)+a[11]*(+b*l*q-b*g*m-e*f*q+c*f*m+e*g*k-c*l*k)+a[15]*(-d*g*k-b*h*q+b*g*p+d*f*q-c*f*p+c*h*k)},transpose:function(){var a=this.elements;var b=a[1];a[1]=a[4];a[4]=b;b=a[2];a[2]=a[8];a[8]=b;b=a[6];a[6]=a[9];a[9]=b;b=a[3];a[3]=a[12];a[12]=b;b=a[7];a[7]=a[13];a[13]=b;b=a[11];a[11]=a[14];a[14]=b;return this},setPosition:function(a,
b,c){var d=this.elements;a.isVector3?(d[12]=a.x,d[13]=a.y,d[14]=a.z):(d[12]=a,d[13]=b,d[14]=c);return this},getInverse:function(a,b){void 0!==b&&console.warn("THREE.Matrix4: .getInverse() can no longer be configured to throw on degenerate.");b=this.elements;var c=a.elements;a=c[0];var d=c[1],e=c[2],f=c[3],g=c[4],h=c[5],l=c[6],k=c[7],q=c[8],p=c[9],m=c[10],t=c[11],r=c[12],u=c[13],A=c[14];c=c[15];var w=p*A*k-u*m*k+u*l*t-h*A*t-p*l*c+h*m*c,x=r*m*k-q*A*k-r*l*t+g*A*t+q*l*c-g*m*c,z=q*u*k-r*p*k+r*h*t-g*u*
t-q*h*c+g*p*c,B=r*p*l-q*u*l-r*h*m+g*u*m+q*h*A-g*p*A,y=a*w+d*x+e*z+f*B;if(0===y)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);y=1/y;b[0]=w*y;b[1]=(u*m*f-p*A*f-u*e*t+d*A*t+p*e*c-d*m*c)*y;b[2]=(h*A*f-u*l*f+u*e*k-d*A*k-h*e*c+d*l*c)*y;b[3]=(p*l*f-h*m*f-p*e*k+d*m*k+h*e*t-d*l*t)*y;b[4]=x*y;b[5]=(q*A*f-r*m*f+r*e*t-a*A*t-q*e*c+a*m*c)*y;b[6]=(r*l*f-g*A*f-r*e*k+a*A*k+g*e*c-a*l*c)*y;b[7]=(g*m*f-q*l*f+q*e*k-a*m*k-g*e*t+a*l*t)*y;b[8]=z*y;b[9]=(r*p*f-q*u*f-r*d*t+a*u*t+q*d*c-a*p*c)*y;b[10]=(g*u*f-r*h*f+r*d*k-
a*u*k-g*d*c+a*h*c)*y;b[11]=(q*h*f-g*p*f-q*d*k+a*p*k+g*d*t-a*h*t)*y;b[12]=B*y;b[13]=(q*u*e-r*p*e+r*d*m-a*u*m-q*d*A+a*p*A)*y;b[14]=(r*h*e-g*u*e-r*d*l+a*u*l+g*d*A-a*h*A)*y;b[15]=(g*p*e-q*h*e+q*d*l-a*p*l-g*d*m+a*h*m)*y;return this},scale:function(a){var b=this.elements,c=a.x,d=a.y;a=a.z;b[0]*=c;b[4]*=d;b[8]*=a;b[1]*=c;b[5]*=d;b[9]*=a;b[2]*=c;b[6]*=d;b[10]*=a;b[3]*=c;b[7]*=d;b[11]*=a;return this},getMaxScaleOnAxis:function(){var a=this.elements;return Math.sqrt(Math.max(a[0]*a[0]+a[1]*a[1]+a[2]*a[2],a[4]*
a[4]+a[5]*a[5]+a[6]*a[6],a[8]*a[8]+a[9]*a[9]+a[10]*a[10]))},makeTranslation:function(a,b,c){this.set(1,0,0,a,0,1,0,b,0,0,1,c,0,0,0,1);return this},makeRotationX:function(a){var b=Math.cos(a);a=Math.sin(a);this.set(1,0,0,0,0,b,-a,0,0,a,b,0,0,0,0,1);return this},makeRotationY:function(a){var b=Math.cos(a);a=Math.sin(a);this.set(b,0,a,0,0,1,0,0,-a,0,b,0,0,0,0,1);return this},makeRotationZ:function(a){var b=Math.cos(a);a=Math.sin(a);this.set(b,-a,0,0,a,b,0,0,0,0,1,0,0,0,0,1);return this},makeRotationAxis:function(a,
b){var c=Math.cos(b);b=Math.sin(b);var d=1-c,e=a.x,f=a.y;a=a.z;var g=d*e,h=d*f;this.set(g*e+c,g*f-b*a,g*a+b*f,0,g*f+b*a,h*f+c,h*a-b*e,0,g*a-b*f,h*a+b*e,d*a*a+c,0,0,0,0,1);return this},makeScale:function(a,b,c){this.set(a,0,0,0,0,b,0,0,0,0,c,0,0,0,0,1);return this},makeShear:function(a,b,c){this.set(1,b,c,0,a,1,c,0,a,b,1,0,0,0,0,1);return this},compose:function(a,b,c){var d=this.elements,e=b._x,f=b._y,g=b._z,h=b._w,l=e+e,k=f+f,q=g+g;b=e*l;var p=e*k;e*=q;var m=f*k;f*=q;g*=q;l*=h;k*=h;h*=q;q=c.x;var t=
c.y;c=c.z;d[0]=(1-(m+g))*q;d[1]=(p+h)*q;d[2]=(e-k)*q;d[3]=0;d[4]=(p-h)*t;d[5]=(1-(b+g))*t;d[6]=(f+l)*t;d[7]=0;d[8]=(e+k)*c;d[9]=(f-l)*c;d[10]=(1-(b+m))*c;d[11]=0;d[12]=a.x;d[13]=a.y;d[14]=a.z;d[15]=1;return this},decompose:function(a,b,c){var d=this.elements,e=ld.set(d[0],d[1],d[2]).length(),f=ld.set(d[4],d[5],d[6]).length(),g=ld.set(d[8],d[9],d[10]).length();0>this.determinant()&&(e=-e);a.x=d[12];a.y=d[13];a.z=d[14];Q.copy(this);a=1/e;d=1/f;var h=1/g;Q.elements[0]*=a;Q.elements[1]*=a;Q.elements[2]*=
a;Q.elements[4]*=d;Q.elements[5]*=d;Q.elements[6]*=d;Q.elements[8]*=h;Q.elements[9]*=h;Q.elements[10]*=h;b.setFromRotationMatrix(Q);c.x=e;c.y=f;c.z=g;return this},makePerspective:function(a,b,c,d,e,f){void 0===f&&console.warn("THREE.Matrix4: .makePerspective() has been redefined and has a new signature. Please check the docs.");var g=this.elements;g[0]=2*e/(b-a);g[4]=0;g[8]=(b+a)/(b-a);g[12]=0;g[1]=0;g[5]=2*e/(c-d);g[9]=(c+d)/(c-d);g[13]=0;g[2]=0;g[6]=0;g[10]=-(f+e)/(f-e);g[14]=-2*f*e/(f-e);g[3]=
0;g[7]=0;g[11]=-1;g[15]=0;return this},makeOrthographic:function(a,b,c,d,e,f){var g=this.elements,h=1/(b-a),l=1/(c-d),k=1/(f-e);g[0]=2*h;g[4]=0;g[8]=0;g[12]=-((b+a)*h);g[1]=0;g[5]=2*l;g[9]=0;g[13]=-((c+d)*l);g[2]=0;g[6]=0;g[10]=-2*k;g[14]=-((f+e)*k);g[3]=0;g[7]=0;g[11]=0;g[15]=1;return this},equals:function(a){var b=this.elements;a=a.elements;for(var c=0;16>c;c++)if(b[c]!==a[c])return!1;return!0},fromArray:function(a,b){void 0===b&&(b=0);for(var c=0;16>c;c++)this.elements[c]=a[c+b];return this},toArray:function(a,
b){void 0===a&&(a=[]);void 0===b&&(b=0);var c=this.elements;a[b]=c[0];a[b+1]=c[1];a[b+2]=c[2];a[b+3]=c[3];a[b+4]=c[4];a[b+5]=c[5];a[b+6]=c[6];a[b+7]=c[7];a[b+8]=c[8];a[b+9]=c[9];a[b+10]=c[10];a[b+11]=c[11];a[b+12]=c[12];a[b+13]=c[13];a[b+14]=c[14];a[b+15]=c[15];return a}});var xi=new M,yi=new na;Ub.RotationOrders="XYZ YZX ZXY XZY YXZ ZYX".split(" ");Ub.DefaultOrder="XYZ";Object.defineProperties(Ub.prototype,{x:{get:function(){return this._x},set:function(a){this._x=a;this._onChangeCallback()}},y:{get:function(){return this._y},
set:function(a){this._y=a;this._onChangeCallback()}},z:{get:function(){return this._z},set:function(a){this._z=a;this._onChangeCallback()}},order:{get:function(){return this._order},set:function(a){this._order=a;this._onChangeCallback()}}});Object.assign(Ub.prototype,{isEuler:!0,set:function(a,b,c,d){this._x=a;this._y=b;this._z=c;this._order=d||this._order;this._onChangeCallback();return this},clone:function(){return new this.constructor(this._x,this._y,this._z,this._order)},copy:function(a){this._x=
a._x;this._y=a._y;this._z=a._z;this._order=a._order;this._onChangeCallback();return this},setFromRotationMatrix:function(a,b,c){var d=K.clamp,e=a.elements;a=e[0];var f=e[4],g=e[8],h=e[1],l=e[5],k=e[9],q=e[2],p=e[6];e=e[10];b=b||this._order;switch(b){case "XYZ":this._y=Math.asin(d(g,-1,1));.9999999>Math.abs(g)?(this._x=Math.atan2(-k,e),this._z=Math.atan2(-f,a)):(this._x=Math.atan2(p,l),this._z=0);break;case "YXZ":this._x=Math.asin(-d(k,-1,1));.9999999>Math.abs(k)?(this._y=Math.atan2(g,e),this._z=Math.atan2(h,
l)):(this._y=Math.atan2(-q,a),this._z=0);break;case "ZXY":this._x=Math.asin(d(p,-1,1));.9999999>Math.abs(p)?(this._y=Math.atan2(-q,e),this._z=Math.atan2(-f,l)):(this._y=0,this._z=Math.atan2(h,a));break;case "ZYX":this._y=Math.asin(-d(q,-1,1));.9999999>Math.abs(q)?(this._x=Math.atan2(p,e),this._z=Math.atan2(h,a)):(this._x=0,this._z=Math.atan2(-f,l));break;case "YZX":this._z=Math.asin(d(h,-1,1));.9999999>Math.abs(h)?(this._x=Math.atan2(-k,l),this._y=Math.atan2(-q,a)):(this._x=0,this._y=Math.atan2(g,
e));break;case "XZY":this._z=Math.asin(-d(f,-1,1));.9999999>Math.abs(f)?(this._x=Math.atan2(p,l),this._y=Math.atan2(g,a)):(this._x=Math.atan2(-k,e),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+b)}this._order=b;!1!==c&&this._onChangeCallback();return this},setFromQuaternion:function(a,b,c){xi.makeRotationFromQuaternion(a);return this.setFromRotationMatrix(xi,b,c)},setFromVector3:function(a,b){return this.set(a.x,a.y,a.z,b||this._order)},
reorder:function(a){yi.setFromEuler(this);return this.setFromQuaternion(yi,a)},equals:function(a){return a._x===this._x&&a._y===this._y&&a._z===this._z&&a._order===this._order},fromArray:function(a){this._x=a[0];this._y=a[1];this._z=a[2];void 0!==a[3]&&(this._order=a[3]);this._onChangeCallback();return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);a[b]=this._x;a[b+1]=this._y;a[b+2]=this._z;a[b+3]=this._order;return a},toVector3:function(a){return a?a.set(this._x,this._y,this._z):
new m(this._x,this._y,this._z)},_onChange:function(a){this._onChangeCallback=a;return this},_onChangeCallback:function(){}});Object.assign(Fe.prototype,{set:function(a){this.mask=1<<a|0},enable:function(a){this.mask=this.mask|1<<a|0},enableAll:function(){this.mask=-1},toggle:function(a){this.mask^=1<<a|0},disable:function(a){this.mask&=~(1<<a|0)},disableAll:function(){this.mask=0},test:function(a){return 0!==(this.mask&a.mask)}});var ij=0,zi=new m,md=new na,xb=new M,Cf=new m,ve=new m,Mk=new m,Nk=
new na,Ai=new m(1,0,0),Bi=new m(0,1,0),Ci=new m(0,0,1),Ok={type:"added"},Pk={type:"removed"};z.DefaultUp=new m(0,1,0);z.DefaultMatrixAutoUpdate=!0;z.prototype=Object.assign(Object.create(ua.prototype),{constructor:z,isObject3D:!0,onBeforeRender:function(){},onAfterRender:function(){},applyMatrix4:function(a){this.matrixAutoUpdate&&this.updateMatrix();this.matrix.premultiply(a);this.matrix.decompose(this.position,this.quaternion,this.scale)},applyQuaternion:function(a){this.quaternion.premultiply(a);
return this},setRotationFromAxisAngle:function(a,b){this.quaternion.setFromAxisAngle(a,b)},setRotationFromEuler:function(a){this.quaternion.setFromEuler(a,!0)},setRotationFromMatrix:function(a){this.quaternion.setFromRotationMatrix(a)},setRotationFromQuaternion:function(a){this.quaternion.copy(a)},rotateOnAxis:function(a,b){md.setFromAxisAngle(a,b);this.quaternion.multiply(md);return this},rotateOnWorldAxis:function(a,b){md.setFromAxisAngle(a,b);this.quaternion.premultiply(md);return this},rotateX:function(a){return this.rotateOnAxis(Ai,
a)},rotateY:function(a){return this.rotateOnAxis(Bi,a)},rotateZ:function(a){return this.rotateOnAxis(Ci,a)},translateOnAxis:function(a,b){zi.copy(a).applyQuaternion(this.quaternion);this.position.add(zi.multiplyScalar(b));return this},translateX:function(a){return this.translateOnAxis(Ai,a)},translateY:function(a){return this.translateOnAxis(Bi,a)},translateZ:function(a){return this.translateOnAxis(Ci,a)},localToWorld:function(a){return a.applyMatrix4(this.matrixWorld)},worldToLocal:function(a){return a.applyMatrix4(xb.getInverse(this.matrixWorld))},
lookAt:function(a,b,c){a.isVector3?Cf.copy(a):Cf.set(a,b,c);a=this.parent;this.updateWorldMatrix(!0,!1);ve.setFromMatrixPosition(this.matrixWorld);this.isCamera||this.isLight?xb.lookAt(ve,Cf,this.up):xb.lookAt(Cf,ve,this.up);this.quaternion.setFromRotationMatrix(xb);a&&(xb.extractRotation(a.matrixWorld),md.setFromRotationMatrix(xb),this.quaternion.premultiply(md.inverse()))},add:function(a){if(1<arguments.length){for(var b=0;b<arguments.length;b++)this.add(arguments[b]);return this}if(a===this)return console.error("THREE.Object3D.add: object can't be added as a child of itself.",
a),this;a&&a.isObject3D?(null!==a.parent&&a.parent.remove(a),a.parent=this,this.children.push(a),a.dispatchEvent(Ok)):console.error("THREE.Object3D.add: object not an instance of THREE.Object3D.",a);return this},remove:function(a){if(1<arguments.length){for(var b=0;b<arguments.length;b++)this.remove(arguments[b]);return this}b=this.children.indexOf(a);-1!==b&&(a.parent=null,this.children.splice(b,1),a.dispatchEvent(Pk));return this},attach:function(a){this.updateWorldMatrix(!0,!1);xb.getInverse(this.matrixWorld);
null!==a.parent&&(a.parent.updateWorldMatrix(!0,!1),xb.multiply(a.parent.matrixWorld));a.applyMatrix4(xb);a.updateWorldMatrix(!1,!1);this.add(a);return this},getObjectById:function(a){return this.getObjectByProperty("id",a)},getObjectByName:function(a){return this.getObjectByProperty("name",a)},getObjectByProperty:function(a,b){if(this[a]===b)return this;for(var c=0,d=this.children.length;c<d;c++){var e=this.children[c].getObjectByProperty(a,b);if(void 0!==e)return e}},getWorldPosition:function(a){void 0===
a&&(console.warn("THREE.Object3D: .getWorldPosition() target is now required"),a=new m);this.updateMatrixWorld(!0);return a.setFromMatrixPosition(this.matrixWorld)},getWorldQuaternion:function(a){void 0===a&&(console.warn("THREE.Object3D: .getWorldQuaternion() target is now required"),a=new na);this.updateMatrixWorld(!0);this.matrixWorld.decompose(ve,a,Mk);return a},getWorldScale:function(a){void 0===a&&(console.warn("THREE.Object3D: .getWorldScale() target is now required"),a=new m);this.updateMatrixWorld(!0);
this.matrixWorld.decompose(ve,Nk,a);return a},getWorldDirection:function(a){void 0===a&&(console.warn("THREE.Object3D: .getWorldDirection() target is now required"),a=new m);this.updateMatrixWorld(!0);var b=this.matrixWorld.elements;return a.set(b[8],b[9],b[10]).normalize()},raycast:function(){},traverse:function(a){a(this);for(var b=this.children,c=0,d=b.length;c<d;c++)b[c].traverse(a)},traverseVisible:function(a){if(!1!==this.visible){a(this);for(var b=this.children,c=0,d=b.length;c<d;c++)b[c].traverseVisible(a)}},
traverseAncestors:function(a){var b=this.parent;null!==b&&(a(b),b.traverseAncestors(a))},updateMatrix:function(){this.matrix.compose(this.position,this.quaternion,this.scale);this.matrixWorldNeedsUpdate=!0},updateMatrixWorld:function(a){this.matrixAutoUpdate&&this.updateMatrix();if(this.matrixWorldNeedsUpdate||a)null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix),this.matrixWorldNeedsUpdate=!1,a=!0;for(var b=this.children,c=
0,d=b.length;c<d;c++)b[c].updateMatrixWorld(a)},updateWorldMatrix:function(a,b){var c=this.parent;!0===a&&null!==c&&c.updateWorldMatrix(!0,!1);this.matrixAutoUpdate&&this.updateMatrix();null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix);if(!0===b)for(a=this.children,b=0,c=a.length;b<c;b++)a[b].updateWorldMatrix(!1,!0)},toJSON:function(a){function b(b,c){void 0===b[c.uuid]&&(b[c.uuid]=c.toJSON(a));return c.uuid}function c(a){var b=
[],c;for(c in a){var d=a[c];delete d.metadata;b.push(d)}return b}var d=void 0===a||"string"===typeof a,e={};d&&(a={geometries:{},materials:{},textures:{},images:{},shapes:{}},e.metadata={version:4.5,type:"Object",generator:"Object3D.toJSON"});var f={};f.uuid=this.uuid;f.type=this.type;""!==this.name&&(f.name=this.name);!0===this.castShadow&&(f.castShadow=!0);!0===this.receiveShadow&&(f.receiveShadow=!0);!1===this.visible&&(f.visible=!1);!1===this.frustumCulled&&(f.frustumCulled=!1);0!==this.renderOrder&&
(f.renderOrder=this.renderOrder);"{}"!==JSON.stringify(this.userData)&&(f.userData=this.userData);f.layers=this.layers.mask;f.matrix=this.matrix.toArray();!1===this.matrixAutoUpdate&&(f.matrixAutoUpdate=!1);this.isInstancedMesh&&(f.type="InstancedMesh",f.count=this.count,f.instanceMatrix=this.instanceMatrix.toJSON());if(this.isMesh||this.isLine||this.isPoints){f.geometry=b(a.geometries,this.geometry);var g=this.geometry.parameters;if(void 0!==g&&void 0!==g.shapes)if(g=g.shapes,Array.isArray(g))for(var h=
0,l=g.length;h<l;h++)b(a.shapes,g[h]);else b(a.shapes,g)}if(void 0!==this.material)if(Array.isArray(this.material)){g=[];h=0;for(l=this.material.length;h<l;h++)g.push(b(a.materials,this.material[h]));f.material=g}else f.material=b(a.materials,this.material);if(0<this.children.length)for(f.children=[],g=0;g<this.children.length;g++)f.children.push(this.children[g].toJSON(a).object);if(d){d=c(a.geometries);g=c(a.materials);h=c(a.textures);l=c(a.images);var k=c(a.shapes);0<d.length&&(e.geometries=d);
0<g.length&&(e.materials=g);0<h.length&&(e.textures=h);0<l.length&&(e.images=l);0<k.length&&(e.shapes=k)}e.object=f;return e},clone:function(a){return(new this.constructor).copy(this,a)},copy:function(a,b){void 0===b&&(b=!0);this.name=a.name;this.up.copy(a.up);this.position.copy(a.position);this.quaternion.copy(a.quaternion);this.scale.copy(a.scale);this.matrix.copy(a.matrix);this.matrixWorld.copy(a.matrixWorld);this.matrixAutoUpdate=a.matrixAutoUpdate;this.matrixWorldNeedsUpdate=a.matrixWorldNeedsUpdate;
this.layers.mask=a.layers.mask;this.visible=a.visible;this.castShadow=a.castShadow;this.receiveShadow=a.receiveShadow;this.frustumCulled=a.frustumCulled;this.renderOrder=a.renderOrder;this.userData=JSON.parse(JSON.stringify(a.userData));if(!0===b)for(b=0;b<a.children.length;b++)this.add(a.children[b].clone());return this}});xd.prototype=Object.assign(Object.create(z.prototype),{constructor:xd,isScene:!0,copy:function(a,b){z.prototype.copy.call(this,a,b);null!==a.background&&(this.background=a.background.clone());
null!==a.environment&&(this.environment=a.environment.clone());null!==a.fog&&(this.fog=a.fog.clone());null!==a.overrideMaterial&&(this.overrideMaterial=a.overrideMaterial.clone());this.autoUpdate=a.autoUpdate;this.matrixAutoUpdate=a.matrixAutoUpdate;return this},toJSON:function(a){var b=z.prototype.toJSON.call(this,a);null!==this.background&&(b.object.background=this.background.toJSON(a));null!==this.environment&&(b.object.environment=this.environment.toJSON(a));null!==this.fog&&(b.object.fog=this.fog.toJSON());
return b},dispose:function(){this.dispatchEvent({type:"dispose"})}});var yb=[new m,new m,new m,new m,new m,new m,new m,new m],we=new m,Zg=new Ta,nd=new m,od=new m,pd=new m,Qb=new m,Rb=new m,qc=new m,xe=new m,Df=new m,Ef=new m,Vb=new m;Object.assign(Ta.prototype,{isBox3:!0,set:function(a,b){this.min.copy(a);this.max.copy(b);return this},setFromArray:function(a){for(var b=Infinity,c=Infinity,d=Infinity,e=-Infinity,f=-Infinity,g=-Infinity,h=0,l=a.length;h<l;h+=3){var k=a[h],q=a[h+1],p=a[h+2];k<b&&(b=
k);q<c&&(c=q);p<d&&(d=p);k>e&&(e=k);q>f&&(f=q);p>g&&(g=p)}this.min.set(b,c,d);this.max.set(e,f,g);return this},setFromBufferAttribute:function(a){for(var b=Infinity,c=Infinity,d=Infinity,e=-Infinity,f=-Infinity,g=-Infinity,h=0,l=a.count;h<l;h++){var k=a.getX(h),q=a.getY(h),p=a.getZ(h);k<b&&(b=k);q<c&&(c=q);p<d&&(d=p);k>e&&(e=k);q>f&&(f=q);p>g&&(g=p)}this.min.set(b,c,d);this.max.set(e,f,g);return this},setFromPoints:function(a){this.makeEmpty();for(var b=0,c=a.length;b<c;b++)this.expandByPoint(a[b]);
return this},setFromCenterAndSize:function(a,b){b=we.copy(b).multiplyScalar(.5);this.min.copy(a).sub(b);this.max.copy(a).add(b);return this},setFromObject:function(a){this.makeEmpty();return this.expandByObject(a)},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.min.copy(a.min);this.max.copy(a.max);return this},makeEmpty:function(){this.min.x=this.min.y=this.min.z=Infinity;this.max.x=this.max.y=this.max.z=-Infinity;return this},isEmpty:function(){return this.max.x<
this.min.x||this.max.y<this.min.y||this.max.z<this.min.z},getCenter:function(a){void 0===a&&(console.warn("THREE.Box3: .getCenter() target is now required"),a=new m);return this.isEmpty()?a.set(0,0,0):a.addVectors(this.min,this.max).multiplyScalar(.5)},getSize:function(a){void 0===a&&(console.warn("THREE.Box3: .getSize() target is now required"),a=new m);return this.isEmpty()?a.set(0,0,0):a.subVectors(this.max,this.min)},expandByPoint:function(a){this.min.min(a);this.max.max(a);return this},expandByVector:function(a){this.min.sub(a);
this.max.add(a);return this},expandByScalar:function(a){this.min.addScalar(-a);this.max.addScalar(a);return this},expandByObject:function(a){a.updateWorldMatrix(!1,!1);var b=a.geometry;void 0!==b&&(null===b.boundingBox&&b.computeBoundingBox(),Zg.copy(b.boundingBox),Zg.applyMatrix4(a.matrixWorld),this.union(Zg));a=a.children;b=0;for(var c=a.length;b<c;b++)this.expandByObject(a[b]);return this},containsPoint:function(a){return a.x<this.min.x||a.x>this.max.x||a.y<this.min.y||a.y>this.max.y||a.z<this.min.z||
a.z>this.max.z?!1:!0},containsBox:function(a){return this.min.x<=a.min.x&&a.max.x<=this.max.x&&this.min.y<=a.min.y&&a.max.y<=this.max.y&&this.min.z<=a.min.z&&a.max.z<=this.max.z},getParameter:function(a,b){void 0===b&&(console.warn("THREE.Box3: .getParameter() target is now required"),b=new m);return b.set((a.x-this.min.x)/(this.max.x-this.min.x),(a.y-this.min.y)/(this.max.y-this.min.y),(a.z-this.min.z)/(this.max.z-this.min.z))},intersectsBox:function(a){return a.max.x<this.min.x||a.min.x>this.max.x||
a.max.y<this.min.y||a.min.y>this.max.y||a.max.z<this.min.z||a.min.z>this.max.z?!1:!0},intersectsSphere:function(a){this.clampPoint(a.center,we);return we.distanceToSquared(a.center)<=a.radius*a.radius},intersectsPlane:function(a){if(0<a.normal.x){var b=a.normal.x*this.min.x;var c=a.normal.x*this.max.x}else b=a.normal.x*this.max.x,c=a.normal.x*this.min.x;0<a.normal.y?(b+=a.normal.y*this.min.y,c+=a.normal.y*this.max.y):(b+=a.normal.y*this.max.y,c+=a.normal.y*this.min.y);0<a.normal.z?(b+=a.normal.z*
this.min.z,c+=a.normal.z*this.max.z):(b+=a.normal.z*this.max.z,c+=a.normal.z*this.min.z);return b<=-a.constant&&c>=-a.constant},intersectsTriangle:function(a){if(this.isEmpty())return!1;this.getCenter(xe);Df.subVectors(this.max,xe);nd.subVectors(a.a,xe);od.subVectors(a.b,xe);pd.subVectors(a.c,xe);Qb.subVectors(od,nd);Rb.subVectors(pd,od);qc.subVectors(nd,pd);a=[0,-Qb.z,Qb.y,0,-Rb.z,Rb.y,0,-qc.z,qc.y,Qb.z,0,-Qb.x,Rb.z,0,-Rb.x,qc.z,0,-qc.x,-Qb.y,Qb.x,0,-Rb.y,Rb.x,0,-qc.y,qc.x,0];if(!bg(a,nd,od,pd,Df))return!1;
a=[1,0,0,0,1,0,0,0,1];if(!bg(a,nd,od,pd,Df))return!1;Ef.crossVectors(Qb,Rb);a=[Ef.x,Ef.y,Ef.z];return bg(a,nd,od,pd,Df)},clampPoint:function(a,b){void 0===b&&(console.warn("THREE.Box3: .clampPoint() target is now required"),b=new m);return b.copy(a).clamp(this.min,this.max)},distanceToPoint:function(a){return we.copy(a).clamp(this.min,this.max).sub(a).length()},getBoundingSphere:function(a){void 0===a&&console.error("THREE.Box3: .getBoundingSphere() target is now required");this.getCenter(a.center);
a.radius=.5*this.getSize(we).length();return a},intersect:function(a){this.min.max(a.min);this.max.min(a.max);this.isEmpty()&&this.makeEmpty();return this},union:function(a){this.min.min(a.min);this.max.max(a.max);return this},applyMatrix4:function(a){if(this.isEmpty())return this;yb[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(a);yb[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(a);yb[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(a);yb[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(a);
yb[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(a);yb[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(a);yb[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(a);yb[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(a);this.setFromPoints(yb);return this},translate:function(a){this.min.add(a);this.max.add(a);return this},equals:function(a){return a.min.equals(this.min)&&a.max.equals(this.max)}});var Qk=new Ta;Object.assign(eb.prototype,{set:function(a,b){this.center.copy(a);this.radius=
b;return this},setFromPoints:function(a,b){var c=this.center;void 0!==b?c.copy(b):Qk.setFromPoints(a).getCenter(c);for(var d=b=0,e=a.length;d<e;d++)b=Math.max(b,c.distanceToSquared(a[d]));this.radius=Math.sqrt(b);return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.center.copy(a.center);this.radius=a.radius;return this},isEmpty:function(){return 0>this.radius},makeEmpty:function(){this.center.set(0,0,0);this.radius=-1;return this},containsPoint:function(a){return a.distanceToSquared(this.center)<=
this.radius*this.radius},distanceToPoint:function(a){return a.distanceTo(this.center)-this.radius},intersectsSphere:function(a){var b=this.radius+a.radius;return a.center.distanceToSquared(this.center)<=b*b},intersectsBox:function(a){return a.intersectsSphere(this)},intersectsPlane:function(a){return Math.abs(a.distanceToPoint(this.center))<=this.radius},clampPoint:function(a,b){var c=this.center.distanceToSquared(a);void 0===b&&(console.warn("THREE.Sphere: .clampPoint() target is now required"),
b=new m);b.copy(a);c>this.radius*this.radius&&(b.sub(this.center).normalize(),b.multiplyScalar(this.radius).add(this.center));return b},getBoundingBox:function(a){void 0===a&&(console.warn("THREE.Sphere: .getBoundingBox() target is now required"),a=new Ta);if(this.isEmpty())return a.makeEmpty(),a;a.set(this.center,this.center);a.expandByScalar(this.radius);return a},applyMatrix4:function(a){this.center.applyMatrix4(a);this.radius*=a.getMaxScaleOnAxis();return this},translate:function(a){this.center.add(a);
return this},equals:function(a){return a.center.equals(this.center)&&a.radius===this.radius}});var zb=new m,$g=new m,Ff=new m,Sb=new m,ah=new m,Gf=new m,bh=new m;Object.assign(Wb.prototype,{set:function(a,b){this.origin.copy(a);this.direction.copy(b);return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.origin.copy(a.origin);this.direction.copy(a.direction);return this},at:function(a,b){void 0===b&&(console.warn("THREE.Ray: .at() target is now required"),b=new m);
return b.copy(this.direction).multiplyScalar(a).add(this.origin)},lookAt:function(a){this.direction.copy(a).sub(this.origin).normalize();return this},recast:function(a){this.origin.copy(this.at(a,zb));return this},closestPointToPoint:function(a,b){void 0===b&&(console.warn("THREE.Ray: .closestPointToPoint() target is now required"),b=new m);b.subVectors(a,this.origin);a=b.dot(this.direction);return 0>a?b.copy(this.origin):b.copy(this.direction).multiplyScalar(a).add(this.origin)},distanceToPoint:function(a){return Math.sqrt(this.distanceSqToPoint(a))},
distanceSqToPoint:function(a){var b=zb.subVectors(a,this.origin).dot(this.direction);if(0>b)return this.origin.distanceToSquared(a);zb.copy(this.direction).multiplyScalar(b).add(this.origin);return zb.distanceToSquared(a)},distanceSqToSegment:function(a,b,c,d){$g.copy(a).add(b).multiplyScalar(.5);Ff.copy(b).sub(a).normalize();Sb.copy(this.origin).sub($g);var e=.5*a.distanceTo(b),f=-this.direction.dot(Ff),g=Sb.dot(this.direction),h=-Sb.dot(Ff),l=Sb.lengthSq(),k=Math.abs(1-f*f);if(0<k){a=f*h-g;b=f*
g-h;var q=e*k;0<=a?b>=-q?b<=q?(e=1/k,a*=e,b*=e,f=a*(a+f*b+2*g)+b*(f*a+b+2*h)+l):(b=e,a=Math.max(0,-(f*b+g)),f=-a*a+b*(b+2*h)+l):(b=-e,a=Math.max(0,-(f*b+g)),f=-a*a+b*(b+2*h)+l):b<=-q?(a=Math.max(0,-(-f*e+g)),b=0<a?-e:Math.min(Math.max(-e,-h),e),f=-a*a+b*(b+2*h)+l):b<=q?(a=0,b=Math.min(Math.max(-e,-h),e),f=b*(b+2*h)+l):(a=Math.max(0,-(f*e+g)),b=0<a?e:Math.min(Math.max(-e,-h),e),f=-a*a+b*(b+2*h)+l)}else b=0<f?-e:e,a=Math.max(0,-(f*b+g)),f=-a*a+b*(b+2*h)+l;c&&c.copy(this.direction).multiplyScalar(a).add(this.origin);
d&&d.copy(Ff).multiplyScalar(b).add($g);return f},intersectSphere:function(a,b){zb.subVectors(a.center,this.origin);var c=zb.dot(this.direction),d=zb.dot(zb)-c*c;a=a.radius*a.radius;if(d>a)return null;a=Math.sqrt(a-d);d=c-a;c+=a;return 0>d&&0>c?null:0>d?this.at(c,b):this.at(d,b)},intersectsSphere:function(a){return this.distanceSqToPoint(a.center)<=a.radius*a.radius},distanceToPlane:function(a){var b=a.normal.dot(this.direction);if(0===b)return 0===a.distanceToPoint(this.origin)?0:null;a=-(this.origin.dot(a.normal)+
a.constant)/b;return 0<=a?a:null},intersectPlane:function(a,b){a=this.distanceToPlane(a);return null===a?null:this.at(a,b)},intersectsPlane:function(a){var b=a.distanceToPoint(this.origin);return 0===b||0>a.normal.dot(this.direction)*b?!0:!1},intersectBox:function(a,b){var c=1/this.direction.x;var d=1/this.direction.y;var e=1/this.direction.z,f=this.origin;if(0<=c){var g=(a.min.x-f.x)*c;c*=a.max.x-f.x}else g=(a.max.x-f.x)*c,c*=a.min.x-f.x;if(0<=d){var h=(a.min.y-f.y)*d;d*=a.max.y-f.y}else h=(a.max.y-
f.y)*d,d*=a.min.y-f.y;if(g>d||h>c)return null;if(h>g||g!==g)g=h;if(d<c||c!==c)c=d;0<=e?(h=(a.min.z-f.z)*e,a=(a.max.z-f.z)*e):(h=(a.max.z-f.z)*e,a=(a.min.z-f.z)*e);if(g>a||h>c)return null;if(h>g||g!==g)g=h;if(a<c||c!==c)c=a;return 0>c?null:this.at(0<=g?g:c,b)},intersectsBox:function(a){return null!==this.intersectBox(a,zb)},intersectTriangle:function(a,b,c,d,e){ah.subVectors(b,a);Gf.subVectors(c,a);bh.crossVectors(ah,Gf);b=this.direction.dot(bh);if(0<b){if(d)return null;d=1}else if(0>b)d=-1,b=-b;else return null;
Sb.subVectors(this.origin,a);a=d*this.direction.dot(Gf.crossVectors(Sb,Gf));if(0>a)return null;c=d*this.direction.dot(ah.cross(Sb));if(0>c||a+c>b)return null;a=-d*Sb.dot(bh);return 0>a?null:this.at(a/b,e)},applyMatrix4:function(a){this.origin.applyMatrix4(a);this.direction.transformDirection(a);return this},equals:function(a){return a.origin.equals(this.origin)&&a.direction.equals(this.direction)}});var ch=new m,Rk=new m,Sk=new xa;Object.assign(Ua.prototype,{isPlane:!0,set:function(a,b){this.normal.copy(a);
this.constant=b;return this},setComponents:function(a,b,c,d){this.normal.set(a,b,c);this.constant=d;return this},setFromNormalAndCoplanarPoint:function(a,b){this.normal.copy(a);this.constant=-b.dot(this.normal);return this},setFromCoplanarPoints:function(a,b,c){b=ch.subVectors(c,b).cross(Rk.subVectors(a,b)).normalize();this.setFromNormalAndCoplanarPoint(b,a);return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.normal.copy(a.normal);this.constant=a.constant;
return this},normalize:function(){var a=1/this.normal.length();this.normal.multiplyScalar(a);this.constant*=a;return this},negate:function(){this.constant*=-1;this.normal.negate();return this},distanceToPoint:function(a){return this.normal.dot(a)+this.constant},distanceToSphere:function(a){return this.distanceToPoint(a.center)-a.radius},projectPoint:function(a,b){void 0===b&&(console.warn("THREE.Plane: .projectPoint() target is now required"),b=new m);return b.copy(this.normal).multiplyScalar(-this.distanceToPoint(a)).add(a)},
intersectLine:function(a,b){void 0===b&&(console.warn("THREE.Plane: .intersectLine() target is now required"),b=new m);var c=a.delta(ch),d=this.normal.dot(c);if(0===d){if(0===this.distanceToPoint(a.start))return b.copy(a.start)}else if(d=-(a.start.dot(this.normal)+this.constant)/d,!(0>d||1<d))return b.copy(c).multiplyScalar(d).add(a.start)},intersectsLine:function(a){var b=this.distanceToPoint(a.start);a=this.distanceToPoint(a.end);return 0>b&&0<a||0>a&&0<b},intersectsBox:function(a){return a.intersectsPlane(this)},
intersectsSphere:function(a){return a.intersectsPlane(this)},coplanarPoint:function(a){void 0===a&&(console.warn("THREE.Plane: .coplanarPoint() target is now required"),a=new m);return a.copy(this.normal).multiplyScalar(-this.constant)},applyMatrix4:function(a,b){b=b||Sk.getNormalMatrix(a);a=this.coplanarPoint(ch).applyMatrix4(a);b=this.normal.applyMatrix3(b).normalize();this.constant=-a.dot(b);return this},translate:function(a){this.constant-=a.dot(this.normal);return this},equals:function(a){return a.normal.equals(this.normal)&&
a.constant===this.constant}});var cb=new m,Ab=new m,dh=new m,Bb=new m,qd=new m,rd=new m,Di=new m,eh=new m,fh=new m,gh=new m;Object.assign(wa,{getNormal:function(a,b,c,d){void 0===d&&(console.warn("THREE.Triangle: .getNormal() target is now required"),d=new m);d.subVectors(c,b);cb.subVectors(a,b);d.cross(cb);a=d.lengthSq();return 0<a?d.multiplyScalar(1/Math.sqrt(a)):d.set(0,0,0)},getBarycoord:function(a,b,c,d,e){cb.subVectors(d,b);Ab.subVectors(c,b);dh.subVectors(a,b);a=cb.dot(cb);b=cb.dot(Ab);c=cb.dot(dh);
var f=Ab.dot(Ab);d=Ab.dot(dh);var g=a*f-b*b;void 0===e&&(console.warn("THREE.Triangle: .getBarycoord() target is now required"),e=new m);if(0===g)return e.set(-2,-1,-1);g=1/g;f=(f*c-b*d)*g;a=(a*d-b*c)*g;return e.set(1-f-a,a,f)},containsPoint:function(a,b,c,d){wa.getBarycoord(a,b,c,d,Bb);return 0<=Bb.x&&0<=Bb.y&&1>=Bb.x+Bb.y},getUV:function(a,b,c,d,e,f,g,h){this.getBarycoord(a,b,c,d,Bb);h.set(0,0);h.addScaledVector(e,Bb.x);h.addScaledVector(f,Bb.y);h.addScaledVector(g,Bb.z);return h},isFrontFacing:function(a,
b,c,d){cb.subVectors(c,b);Ab.subVectors(a,b);return 0>cb.cross(Ab).dot(d)?!0:!1}});Object.assign(wa.prototype,{set:function(a,b,c){this.a.copy(a);this.b.copy(b);this.c.copy(c);return this},setFromPointsAndIndices:function(a,b,c,d){this.a.copy(a[b]);this.b.copy(a[c]);this.c.copy(a[d]);return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.a.copy(a.a);this.b.copy(a.b);this.c.copy(a.c);return this},getArea:function(){cb.subVectors(this.c,this.b);Ab.subVectors(this.a,
this.b);return.5*cb.cross(Ab).length()},getMidpoint:function(a){void 0===a&&(console.warn("THREE.Triangle: .getMidpoint() target is now required"),a=new m);return a.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)},getNormal:function(a){return wa.getNormal(this.a,this.b,this.c,a)},getPlane:function(a){void 0===a&&(console.warn("THREE.Triangle: .getPlane() target is now required"),a=new Ua);return a.setFromCoplanarPoints(this.a,this.b,this.c)},getBarycoord:function(a,b){return wa.getBarycoord(a,
this.a,this.b,this.c,b)},getUV:function(a,b,c,d,e){return wa.getUV(a,this.a,this.b,this.c,b,c,d,e)},containsPoint:function(a){return wa.containsPoint(a,this.a,this.b,this.c)},isFrontFacing:function(a){return wa.isFrontFacing(this.a,this.b,this.c,a)},intersectsBox:function(a){return a.intersectsTriangle(this)},closestPointToPoint:function(a,b){void 0===b&&(console.warn("THREE.Triangle: .closestPointToPoint() target is now required"),b=new m);var c=this.a,d=this.b,e=this.c;qd.subVectors(d,c);rd.subVectors(e,
c);eh.subVectors(a,c);var f=qd.dot(eh),g=rd.dot(eh);if(0>=f&&0>=g)return b.copy(c);fh.subVectors(a,d);var h=qd.dot(fh),l=rd.dot(fh);if(0<=h&&l<=h)return b.copy(d);var k=f*l-h*g;if(0>=k&&0<=f&&0>=h)return d=f/(f-h),b.copy(c).addScaledVector(qd,d);gh.subVectors(a,e);a=qd.dot(gh);var q=rd.dot(gh);if(0<=q&&a<=q)return b.copy(e);f=a*g-f*q;if(0>=f&&0<=g&&0>=q)return k=g/(g-q),b.copy(c).addScaledVector(rd,k);g=h*q-a*l;if(0>=g&&0<=l-h&&0<=a-q)return Di.subVectors(e,d),k=(l-h)/(l-h+(a-q)),b.copy(d).addScaledVector(Di,
k);e=1/(g+f+k);d=f*e;k*=e;return b.copy(c).addScaledVector(qd,d).addScaledVector(rd,k)},equals:function(a){return a.a.equals(this.a)&&a.b.equals(this.b)&&a.c.equals(this.c)}});var Ei={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},Aa={h:0,s:0,l:0},Hf={h:0,s:0,l:0};Object.assign(D.prototype,{isColor:!0,r:1,g:1,b:1,set:function(a){a&&a.isColor?this.copy(a):"number"===typeof a?this.setHex(a):"string"===
typeof a&&this.setStyle(a);return this},setScalar:function(a){this.b=this.g=this.r=a;return this},setHex:function(a){a=Math.floor(a);this.r=(a>>16&255)/255;this.g=(a>>8&255)/255;this.b=(a&255)/255;return this},setRGB:function(a,b,c){this.r=a;this.g=b;this.b=c;return this},setHSL:function(a,b,c){a=K.euclideanModulo(a,1);b=K.clamp(b,0,1);c=K.clamp(c,0,1);0===b?this.r=this.g=this.b=c:(b=.5>=c?c*(1+b):c+b-c*b,c=2*c-b,this.r=cg(c,b,a+1/3),this.g=cg(c,b,a),this.b=cg(c,b,a-1/3));return this},setStyle:function(a){function b(b){void 0!==
b&&1>parseFloat(b)&&console.warn("THREE.Color: Alpha component of "+a+" will be ignored.")}var c;if(c=/^((?:rgb|hsl)a?)\(\s*([^\)]*)\)/.exec(a)){var d=c[2];switch(c[1]){case "rgb":case "rgba":if(c=/^(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([0-9]*\.?[0-9]+)\s*)?$/.exec(d))return this.r=Math.min(255,parseInt(c[1],10))/255,this.g=Math.min(255,parseInt(c[2],10))/255,this.b=Math.min(255,parseInt(c[3],10))/255,b(c[5]),this;if(c=/^(\d+)%\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([0-9]*\.?[0-9]+)\s*)?$/.exec(d))return this.r=
Math.min(100,parseInt(c[1],10))/100,this.g=Math.min(100,parseInt(c[2],10))/100,this.b=Math.min(100,parseInt(c[3],10))/100,b(c[5]),this;break;case "hsl":case "hsla":if(c=/^([0-9]*\.?[0-9]+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([0-9]*\.?[0-9]+)\s*)?$/.exec(d)){d=parseFloat(c[1])/360;var e=parseInt(c[2],10)/100,f=parseInt(c[3],10)/100;b(c[5]);return this.setHSL(d,e,f)}}}else if(c=/^#([A-Fa-f0-9]+)$/.exec(a)){c=c[1];d=c.length;if(3===d)return this.r=parseInt(c.charAt(0)+c.charAt(0),16)/255,this.g=parseInt(c.charAt(1)+
c.charAt(1),16)/255,this.b=parseInt(c.charAt(2)+c.charAt(2),16)/255,this;if(6===d)return this.r=parseInt(c.charAt(0)+c.charAt(1),16)/255,this.g=parseInt(c.charAt(2)+c.charAt(3),16)/255,this.b=parseInt(c.charAt(4)+c.charAt(5),16)/255,this}return a&&0<a.length?this.setColorName(a):this},setColorName:function(a){var b=Ei[a];void 0!==b?this.setHex(b):console.warn("THREE.Color: Unknown color "+a);return this},clone:function(){return new this.constructor(this.r,this.g,this.b)},copy:function(a){this.r=a.r;
this.g=a.g;this.b=a.b;return this},copyGammaToLinear:function(a,b){void 0===b&&(b=2);this.r=Math.pow(a.r,b);this.g=Math.pow(a.g,b);this.b=Math.pow(a.b,b);return this},copyLinearToGamma:function(a,b){void 0===b&&(b=2);b=0<b?1/b:1;this.r=Math.pow(a.r,b);this.g=Math.pow(a.g,b);this.b=Math.pow(a.b,b);return this},convertGammaToLinear:function(a){this.copyGammaToLinear(this,a);return this},convertLinearToGamma:function(a){this.copyLinearToGamma(this,a);return this},copySRGBToLinear:function(a){this.r=
dg(a.r);this.g=dg(a.g);this.b=dg(a.b);return this},copyLinearToSRGB:function(a){this.r=eg(a.r);this.g=eg(a.g);this.b=eg(a.b);return this},convertSRGBToLinear:function(){this.copySRGBToLinear(this);return this},convertLinearToSRGB:function(){this.copyLinearToSRGB(this);return this},getHex:function(){return 255*this.r<<16^255*this.g<<8^255*this.b<<0},getHexString:function(){return("000000"+this.getHex().toString(16)).slice(-6)},getHSL:function(a){void 0===a&&(console.warn("THREE.Color: .getHSL() target is now required"),
a={h:0,s:0,l:0});var b=this.r,c=this.g,d=this.b,e=Math.max(b,c,d),f=Math.min(b,c,d),g,h=(f+e)/2;if(f===e)f=g=0;else{var l=e-f;f=.5>=h?l/(e+f):l/(2-e-f);switch(e){case b:g=(c-d)/l+(c<d?6:0);break;case c:g=(d-b)/l+2;break;case d:g=(b-c)/l+4}g/=6}a.h=g;a.s=f;a.l=h;return a},getStyle:function(){return"rgb("+(255*this.r|0)+","+(255*this.g|0)+","+(255*this.b|0)+")"},offsetHSL:function(a,b,c){this.getHSL(Aa);Aa.h+=a;Aa.s+=b;Aa.l+=c;this.setHSL(Aa.h,Aa.s,Aa.l);return this},add:function(a){this.r+=a.r;this.g+=
a.g;this.b+=a.b;return this},addColors:function(a,b){this.r=a.r+b.r;this.g=a.g+b.g;this.b=a.b+b.b;return this},addScalar:function(a){this.r+=a;this.g+=a;this.b+=a;return this},sub:function(a){this.r=Math.max(0,this.r-a.r);this.g=Math.max(0,this.g-a.g);this.b=Math.max(0,this.b-a.b);return this},multiply:function(a){this.r*=a.r;this.g*=a.g;this.b*=a.b;return this},multiplyScalar:function(a){this.r*=a;this.g*=a;this.b*=a;return this},lerp:function(a,b){this.r+=(a.r-this.r)*b;this.g+=(a.g-this.g)*b;this.b+=
(a.b-this.b)*b;return this},lerpHSL:function(a,b){this.getHSL(Aa);a.getHSL(Hf);a=K.lerp(Aa.h,Hf.h,b);var c=K.lerp(Aa.s,Hf.s,b);b=K.lerp(Aa.l,Hf.l,b);this.setHSL(a,c,b);return this},equals:function(a){return a.r===this.r&&a.g===this.g&&a.b===this.b},fromArray:function(a,b){void 0===b&&(b=0);this.r=a[b];this.g=a[b+1];this.b=a[b+2];return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);a[b]=this.r;a[b+1]=this.g;a[b+2]=this.b;return a},fromBufferAttribute:function(a,b){this.r=a.getX(b);
this.g=a.getY(b);this.b=a.getZ(b);!0===a.normalized&&(this.r/=255,this.g/=255,this.b/=255);return this},toJSON:function(){return this.getHex()}});D.NAMES=Ei;Object.assign(zc.prototype,{clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.a=a.a;this.b=a.b;this.c=a.c;this.normal.copy(a.normal);this.color.copy(a.color);this.materialIndex=a.materialIndex;for(var b=0,c=a.vertexNormals.length;b<c;b++)this.vertexNormals[b]=a.vertexNormals[b].clone();b=0;for(c=a.vertexColors.length;b<
c;b++)this.vertexColors[b]=a.vertexColors[b].clone();return this}});var jj=0;G.prototype=Object.assign(Object.create(ua.prototype),{constructor:G,isMaterial:!0,onBeforeCompile:function(){},customProgramCacheKey:function(){return this.onBeforeCompile.toString()},setValues:function(a){if(void 0!==a)for(var b in a){var c=a[b];if(void 0===c)console.warn("THREE.Material: '"+b+"' parameter is undefined.");else if("shading"===b)console.warn("THREE."+this.type+": .shading has been removed. Use the boolean .flatShading instead."),
this.flatShading=1===c?!0:!1;else{var d=this[b];void 0===d?console.warn("THREE."+this.type+": '"+b+"' is not a property of this material."):d&&d.isColor?d.set(c):d&&d.isVector3&&c&&c.isVector3?d.copy(c):this[b]=c}}},toJSON:function(a){function b(a){var b=[],c;for(c in a){var d=a[c];delete d.metadata;b.push(d)}return b}var c=void 0===a||"string"===typeof a;c&&(a={textures:{},images:{}});var d={metadata:{version:4.5,type:"Material",generator:"Material.toJSON"}};d.uuid=this.uuid;d.type=this.type;""!==
this.name&&(d.name=this.name);this.color&&this.color.isColor&&(d.color=this.color.getHex());void 0!==this.roughness&&(d.roughness=this.roughness);void 0!==this.metalness&&(d.metalness=this.metalness);this.sheen&&this.sheen.isColor&&(d.sheen=this.sheen.getHex());this.emissive&&this.emissive.isColor&&(d.emissive=this.emissive.getHex());this.emissiveIntensity&&1!==this.emissiveIntensity&&(d.emissiveIntensity=this.emissiveIntensity);this.specular&&this.specular.isColor&&(d.specular=this.specular.getHex());
void 0!==this.shininess&&(d.shininess=this.shininess);void 0!==this.clearcoat&&(d.clearcoat=this.clearcoat);void 0!==this.clearcoatRoughness&&(d.clearcoatRoughness=this.clearcoatRoughness);this.clearcoatMap&&this.clearcoatMap.isTexture&&(d.clearcoatMap=this.clearcoatMap.toJSON(a).uuid);this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(d.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(a).uuid);this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(d.clearcoatNormalMap=
this.clearcoatNormalMap.toJSON(a).uuid,d.clearcoatNormalScale=this.clearcoatNormalScale.toArray());this.map&&this.map.isTexture&&(d.map=this.map.toJSON(a).uuid);this.matcap&&this.matcap.isTexture&&(d.matcap=this.matcap.toJSON(a).uuid);this.alphaMap&&this.alphaMap.isTexture&&(d.alphaMap=this.alphaMap.toJSON(a).uuid);this.lightMap&&this.lightMap.isTexture&&(d.lightMap=this.lightMap.toJSON(a).uuid);this.aoMap&&this.aoMap.isTexture&&(d.aoMap=this.aoMap.toJSON(a).uuid,d.aoMapIntensity=this.aoMapIntensity);
this.bumpMap&&this.bumpMap.isTexture&&(d.bumpMap=this.bumpMap.toJSON(a).uuid,d.bumpScale=this.bumpScale);this.normalMap&&this.normalMap.isTexture&&(d.normalMap=this.normalMap.toJSON(a).uuid,d.normalMapType=this.normalMapType,d.normalScale=this.normalScale.toArray());this.displacementMap&&this.displacementMap.isTexture&&(d.displacementMap=this.displacementMap.toJSON(a).uuid,d.displacementScale=this.displacementScale,d.displacementBias=this.displacementBias);this.roughnessMap&&this.roughnessMap.isTexture&&
(d.roughnessMap=this.roughnessMap.toJSON(a).uuid);this.metalnessMap&&this.metalnessMap.isTexture&&(d.metalnessMap=this.metalnessMap.toJSON(a).uuid);this.emissiveMap&&this.emissiveMap.isTexture&&(d.emissiveMap=this.emissiveMap.toJSON(a).uuid);this.specularMap&&this.specularMap.isTexture&&(d.specularMap=this.specularMap.toJSON(a).uuid);this.envMap&&this.envMap.isTexture&&(d.envMap=this.envMap.toJSON(a).uuid,d.reflectivity=this.reflectivity,d.refractionRatio=this.refractionRatio,void 0!==this.combine&&
(d.combine=this.combine),void 0!==this.envMapIntensity&&(d.envMapIntensity=this.envMapIntensity));this.gradientMap&&this.gradientMap.isTexture&&(d.gradientMap=this.gradientMap.toJSON(a).uuid);void 0!==this.size&&(d.size=this.size);void 0!==this.sizeAttenuation&&(d.sizeAttenuation=this.sizeAttenuation);1!==this.blending&&(d.blending=this.blending);!0===this.flatShading&&(d.flatShading=this.flatShading);0!==this.side&&(d.side=this.side);this.vertexColors&&(d.vertexColors=!0);1>this.opacity&&(d.opacity=
this.opacity);!0===this.transparent&&(d.transparent=this.transparent);d.depthFunc=this.depthFunc;d.depthTest=this.depthTest;d.depthWrite=this.depthWrite;d.stencilWrite=this.stencilWrite;d.stencilWriteMask=this.stencilWriteMask;d.stencilFunc=this.stencilFunc;d.stencilRef=this.stencilRef;d.stencilFuncMask=this.stencilFuncMask;d.stencilFail=this.stencilFail;d.stencilZFail=this.stencilZFail;d.stencilZPass=this.stencilZPass;this.rotation&&0!==this.rotation&&(d.rotation=this.rotation);!0===this.polygonOffset&&
(d.polygonOffset=!0);0!==this.polygonOffsetFactor&&(d.polygonOffsetFactor=this.polygonOffsetFactor);0!==this.polygonOffsetUnits&&(d.polygonOffsetUnits=this.polygonOffsetUnits);this.linewidth&&1!==this.linewidth&&(d.linewidth=this.linewidth);void 0!==this.dashSize&&(d.dashSize=this.dashSize);void 0!==this.gapSize&&(d.gapSize=this.gapSize);void 0!==this.scale&&(d.scale=this.scale);!0===this.dithering&&(d.dithering=!0);0<this.alphaTest&&(d.alphaTest=this.alphaTest);!0===this.premultipliedAlpha&&(d.premultipliedAlpha=
this.premultipliedAlpha);!0===this.wireframe&&(d.wireframe=this.wireframe);1<this.wireframeLinewidth&&(d.wireframeLinewidth=this.wireframeLinewidth);"round"!==this.wireframeLinecap&&(d.wireframeLinecap=this.wireframeLinecap);"round"!==this.wireframeLinejoin&&(d.wireframeLinejoin=this.wireframeLinejoin);!0===this.morphTargets&&(d.morphTargets=!0);!0===this.morphNormals&&(d.morphNormals=!0);!0===this.skinning&&(d.skinning=!0);!1===this.visible&&(d.visible=!1);!1===this.toneMapped&&(d.toneMapped=!1);
"{}"!==JSON.stringify(this.userData)&&(d.userData=this.userData);c&&(c=b(a.textures),a=b(a.images),0<c.length&&(d.textures=c),0<a.length&&(d.images=a));return d},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.name=a.name;this.fog=a.fog;this.blending=a.blending;this.side=a.side;this.flatShading=a.flatShading;this.vertexColors=a.vertexColors;this.opacity=a.opacity;this.transparent=a.transparent;this.blendSrc=a.blendSrc;this.blendDst=a.blendDst;this.blendEquation=a.blendEquation;
this.blendSrcAlpha=a.blendSrcAlpha;this.blendDstAlpha=a.blendDstAlpha;this.blendEquationAlpha=a.blendEquationAlpha;this.depthFunc=a.depthFunc;this.depthTest=a.depthTest;this.depthWrite=a.depthWrite;this.stencilWriteMask=a.stencilWriteMask;this.stencilFunc=a.stencilFunc;this.stencilRef=a.stencilRef;this.stencilFuncMask=a.stencilFuncMask;this.stencilFail=a.stencilFail;this.stencilZFail=a.stencilZFail;this.stencilZPass=a.stencilZPass;this.stencilWrite=a.stencilWrite;var b=a.clippingPlanes,c=null;if(null!==
b){var d=b.length;c=Array(d);for(var e=0;e!==d;++e)c[e]=b[e].clone()}this.clippingPlanes=c;this.clipIntersection=a.clipIntersection;this.clipShadows=a.clipShadows;this.shadowSide=a.shadowSide;this.colorWrite=a.colorWrite;this.precision=a.precision;this.polygonOffset=a.polygonOffset;this.polygonOffsetFactor=a.polygonOffsetFactor;this.polygonOffsetUnits=a.polygonOffsetUnits;this.dithering=a.dithering;this.alphaTest=a.alphaTest;this.premultipliedAlpha=a.premultipliedAlpha;this.visible=a.visible;this.toneMapped=
a.toneMapped;this.userData=JSON.parse(JSON.stringify(a.userData));return this},dispose:function(){this.dispatchEvent({type:"dispose"})}});Object.defineProperty(G.prototype,"needsUpdate",{set:function(a){!0===a&&this.version++}});Oa.prototype=Object.create(G.prototype);Oa.prototype.constructor=Oa;Oa.prototype.isMeshBasicMaterial=!0;Oa.prototype.copy=function(a){G.prototype.copy.call(this,a);this.color.copy(a.color);this.map=a.map;this.lightMap=a.lightMap;this.lightMapIntensity=a.lightMapIntensity;
this.aoMap=a.aoMap;this.aoMapIntensity=a.aoMapIntensity;this.specularMap=a.specularMap;this.alphaMap=a.alphaMap;this.envMap=a.envMap;this.combine=a.combine;this.reflectivity=a.reflectivity;this.refractionRatio=a.refractionRatio;this.wireframe=a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;this.wireframeLinecap=a.wireframeLinecap;this.wireframeLinejoin=a.wireframeLinejoin;this.skinning=a.skinning;this.morphTargets=a.morphTargets;return this};var ia=new m,If=new w;Object.defineProperty(H.prototype,
"needsUpdate",{set:function(a){!0===a&&this.version++}});Object.assign(H.prototype,{isBufferAttribute:!0,onUploadCallback:function(){},setUsage:function(a){this.usage=a;return this},copy:function(a){this.name=a.name;this.array=new a.array.constructor(a.array);this.itemSize=a.itemSize;this.count=a.count;this.normalized=a.normalized;this.usage=a.usage;return this},copyAt:function(a,b,c){a*=this.itemSize;c*=b.itemSize;for(var d=0,e=this.itemSize;d<e;d++)this.array[a+d]=b.array[c+d];return this},copyArray:function(a){this.array.set(a);
return this},copyColorsArray:function(a){for(var b=this.array,c=0,d=0,e=a.length;d<e;d++){var f=a[d];void 0===f&&(console.warn("THREE.BufferAttribute.copyColorsArray(): color is undefined",d),f=new D);b[c++]=f.r;b[c++]=f.g;b[c++]=f.b}return this},copyVector2sArray:function(a){for(var b=this.array,c=0,d=0,e=a.length;d<e;d++){var f=a[d];void 0===f&&(console.warn("THREE.BufferAttribute.copyVector2sArray(): vector is undefined",d),f=new w);b[c++]=f.x;b[c++]=f.y}return this},copyVector3sArray:function(a){for(var b=
this.array,c=0,d=0,e=a.length;d<e;d++){var f=a[d];void 0===f&&(console.warn("THREE.BufferAttribute.copyVector3sArray(): vector is undefined",d),f=new m);b[c++]=f.x;b[c++]=f.y;b[c++]=f.z}return this},copyVector4sArray:function(a){for(var b=this.array,c=0,d=0,e=a.length;d<e;d++){var f=a[d];void 0===f&&(console.warn("THREE.BufferAttribute.copyVector4sArray(): vector is undefined",d),f=new Y);b[c++]=f.x;b[c++]=f.y;b[c++]=f.z;b[c++]=f.w}return this},applyMatrix3:function(a){if(2===this.itemSize)for(var b=
0,c=this.count;b<c;b++)If.fromBufferAttribute(this,b),If.applyMatrix3(a),this.setXY(b,If.x,If.y);else if(3===this.itemSize)for(b=0,c=this.count;b<c;b++)ia.fromBufferAttribute(this,b),ia.applyMatrix3(a),this.setXYZ(b,ia.x,ia.y,ia.z);return this},applyMatrix4:function(a){for(var b=0,c=this.count;b<c;b++)ia.x=this.getX(b),ia.y=this.getY(b),ia.z=this.getZ(b),ia.applyMatrix4(a),this.setXYZ(b,ia.x,ia.y,ia.z);return this},applyNormalMatrix:function(a){for(var b=0,c=this.count;b<c;b++)ia.x=this.getX(b),ia.y=
this.getY(b),ia.z=this.getZ(b),ia.applyNormalMatrix(a),this.setXYZ(b,ia.x,ia.y,ia.z);return this},transformDirection:function(a){for(var b=0,c=this.count;b<c;b++)ia.x=this.getX(b),ia.y=this.getY(b),ia.z=this.getZ(b),ia.transformDirection(a),this.setXYZ(b,ia.x,ia.y,ia.z);return this},set:function(a,b){void 0===b&&(b=0);this.array.set(a,b);return this},getX:function(a){return this.array[a*this.itemSize]},setX:function(a,b){this.array[a*this.itemSize]=b;return this},getY:function(a){return this.array[a*
this.itemSize+1]},setY:function(a,b){this.array[a*this.itemSize+1]=b;return this},getZ:function(a){return this.array[a*this.itemSize+2]},setZ:function(a,b){this.array[a*this.itemSize+2]=b;return this},getW:function(a){return this.array[a*this.itemSize+3]},setW:function(a,b){this.array[a*this.itemSize+3]=b;return this},setXY:function(a,b,c){a*=this.itemSize;this.array[a+0]=b;this.array[a+1]=c;return this},setXYZ:function(a,b,c,d){a*=this.itemSize;this.array[a+0]=b;this.array[a+1]=c;this.array[a+2]=
d;return this},setXYZW:function(a,b,c,d,e){a*=this.itemSize;this.array[a+0]=b;this.array[a+1]=c;this.array[a+2]=d;this.array[a+3]=e;return this},onUpload:function(a){this.onUploadCallback=a;return this},clone:function(){return(new this.constructor(this.array,this.itemSize)).copy(this)},toJSON:function(){return{itemSize:this.itemSize,type:this.array.constructor.name,array:Array.prototype.slice.call(this.array),normalized:this.normalized}}});yd.prototype=Object.create(H.prototype);yd.prototype.constructor=
yd;zd.prototype=Object.create(H.prototype);zd.prototype.constructor=zd;Ad.prototype=Object.create(H.prototype);Ad.prototype.constructor=Ad;Bd.prototype=Object.create(H.prototype);Bd.prototype.constructor=Bd;Xb.prototype=Object.create(H.prototype);Xb.prototype.constructor=Xb;Cd.prototype=Object.create(H.prototype);Cd.prototype.constructor=Cd;Yb.prototype=Object.create(H.prototype);Yb.prototype.constructor=Yb;B.prototype=Object.create(H.prototype);B.prototype.constructor=B;Dd.prototype=Object.create(H.prototype);
Dd.prototype.constructor=Dd;Object.assign(vh.prototype,{computeGroups:function(a){var b=[],c=void 0,d=a.faces;for(a=0;a<d.length;a++){var e=d[a];if(e.materialIndex!==c){c=e.materialIndex;void 0!==f&&(f.count=3*a-f.start,b.push(f));var f={start:3*a,materialIndex:c}}}void 0!==f&&(f.count=3*a-f.start,b.push(f));this.groups=b},fromGeometry:function(a){var b=a.faces,c=a.vertices,d=a.faceVertexUvs,e=d[0]&&0<d[0].length,f=d[1]&&0<d[1].length,g=a.morphTargets,h=g.length;if(0<h){var l=[];for(var k=0;k<h;k++)l[k]=
{name:g[k].name,data:[]};this.morphTargets.position=l}k=a.morphNormals;var q=k.length;if(0<q){var p=[];for(var m=0;m<q;m++)p[m]={name:k[m].name,data:[]};this.morphTargets.normal=p}m=a.skinIndices;var t=a.skinWeights,r=m.length===c.length,u=t.length===c.length;0<c.length&&0===b.length&&console.error("THREE.DirectGeometry: Faceless geometries are not supported.");for(var A=0;A<b.length;A++){var E=b[A];this.vertices.push(c[E.a],c[E.b],c[E.c]);var x=E.vertexNormals;3===x.length?this.normals.push(x[0],
x[1],x[2]):(x=E.normal,this.normals.push(x,x,x));x=E.vertexColors;3===x.length?this.colors.push(x[0],x[1],x[2]):(x=E.color,this.colors.push(x,x,x));!0===e&&(x=d[0][A],void 0!==x?this.uvs.push(x[0],x[1],x[2]):(console.warn("THREE.DirectGeometry.fromGeometry(): Undefined vertexUv ",A),this.uvs.push(new w,new w,new w)));!0===f&&(x=d[1][A],void 0!==x?this.uvs2.push(x[0],x[1],x[2]):(console.warn("THREE.DirectGeometry.fromGeometry(): Undefined vertexUv2 ",A),this.uvs2.push(new w,new w,new w)));for(x=0;x<
h;x++){var y=g[x].vertices;l[x].data.push(y[E.a],y[E.b],y[E.c])}for(x=0;x<q;x++)y=k[x].vertexNormals[A],p[x].data.push(y.a,y.b,y.c);r&&this.skinIndices.push(m[E.a],m[E.b],m[E.c]);u&&this.skinWeights.push(t[E.a],t[E.b],t[E.c])}this.computeGroups(a);this.verticesNeedUpdate=a.verticesNeedUpdate;this.normalsNeedUpdate=a.normalsNeedUpdate;this.colorsNeedUpdate=a.colorsNeedUpdate;this.uvsNeedUpdate=a.uvsNeedUpdate;this.groupsNeedUpdate=a.groupsNeedUpdate;null!==a.boundingSphere&&(this.boundingSphere=a.boundingSphere.clone());
null!==a.boundingBox&&(this.boundingBox=a.boundingBox.clone());return this}});var kj=1,ob=new M,hh=new z,sd=new m,Na=new Ta,ye=new Ta,qa=new m;F.prototype=Object.assign(Object.create(ua.prototype),{constructor:F,isBufferGeometry:!0,getIndex:function(){return this.index},setIndex:function(a){Array.isArray(a)?this.index=new (65535<wh(a)?Yb:Xb)(a,1):this.index=a},getAttribute:function(a){return this.attributes[a]},setAttribute:function(a,b){this.attributes[a]=b;return this},deleteAttribute:function(a){delete this.attributes[a];
return this},addGroup:function(a,b,c){this.groups.push({start:a,count:b,materialIndex:void 0!==c?c:0})},clearGroups:function(){this.groups=[]},setDrawRange:function(a,b){this.drawRange.start=a;this.drawRange.count=b},applyMatrix4:function(a){var b=this.attributes.position;void 0!==b&&(b.applyMatrix4(a),b.needsUpdate=!0);b=this.attributes.normal;if(void 0!==b){var c=(new xa).getNormalMatrix(a);b.applyNormalMatrix(c);b.needsUpdate=!0}b=this.attributes.tangent;void 0!==b&&(b.transformDirection(a),b.needsUpdate=
!0);null!==this.boundingBox&&this.computeBoundingBox();null!==this.boundingSphere&&this.computeBoundingSphere();return this},rotateX:function(a){ob.makeRotationX(a);this.applyMatrix4(ob);return this},rotateY:function(a){ob.makeRotationY(a);this.applyMatrix4(ob);return this},rotateZ:function(a){ob.makeRotationZ(a);this.applyMatrix4(ob);return this},translate:function(a,b,c){ob.makeTranslation(a,b,c);this.applyMatrix4(ob);return this},scale:function(a,b,c){ob.makeScale(a,b,c);this.applyMatrix4(ob);
return this},lookAt:function(a){hh.lookAt(a);hh.updateMatrix();this.applyMatrix4(hh.matrix);return this},center:function(){this.computeBoundingBox();this.boundingBox.getCenter(sd).negate();this.translate(sd.x,sd.y,sd.z);return this},setFromObject:function(a){var b=a.geometry;if(a.isPoints||a.isLine){a=new B(3*b.vertices.length,3);var c=new B(3*b.colors.length,3);this.setAttribute("position",a.copyVector3sArray(b.vertices));this.setAttribute("color",c.copyColorsArray(b.colors));b.lineDistances&&b.lineDistances.length===
b.vertices.length&&(a=new B(b.lineDistances.length,1),this.setAttribute("lineDistance",a.copyArray(b.lineDistances)));null!==b.boundingSphere&&(this.boundingSphere=b.boundingSphere.clone());null!==b.boundingBox&&(this.boundingBox=b.boundingBox.clone())}else a.isMesh&&b&&b.isGeometry&&this.fromGeometry(b);return this},setFromPoints:function(a){for(var b=[],c=0,d=a.length;c<d;c++){var e=a[c];b.push(e.x,e.y,e.z||0)}this.setAttribute("position",new B(b,3));return this},updateFromObject:function(a){var b=
a.geometry;if(a.isMesh){var c=b.__directGeometry;!0===b.elementsNeedUpdate&&(c=void 0,b.elementsNeedUpdate=!1);if(void 0===c)return this.fromGeometry(b);c.verticesNeedUpdate=b.verticesNeedUpdate;c.normalsNeedUpdate=b.normalsNeedUpdate;c.colorsNeedUpdate=b.colorsNeedUpdate;c.uvsNeedUpdate=b.uvsNeedUpdate;c.groupsNeedUpdate=b.groupsNeedUpdate;b.verticesNeedUpdate=!1;b.normalsNeedUpdate=!1;b.colorsNeedUpdate=!1;b.uvsNeedUpdate=!1;b.groupsNeedUpdate=!1;b=c}!0===b.verticesNeedUpdate&&(c=this.attributes.position,
void 0!==c&&(c.copyVector3sArray(b.vertices),c.needsUpdate=!0),b.verticesNeedUpdate=!1);!0===b.normalsNeedUpdate&&(c=this.attributes.normal,void 0!==c&&(c.copyVector3sArray(b.normals),c.needsUpdate=!0),b.normalsNeedUpdate=!1);!0===b.colorsNeedUpdate&&(c=this.attributes.color,void 0!==c&&(c.copyColorsArray(b.colors),c.needsUpdate=!0),b.colorsNeedUpdate=!1);b.uvsNeedUpdate&&(c=this.attributes.uv,void 0!==c&&(c.copyVector2sArray(b.uvs),c.needsUpdate=!0),b.uvsNeedUpdate=!1);b.lineDistancesNeedUpdate&&
(c=this.attributes.lineDistance,void 0!==c&&(c.copyArray(b.lineDistances),c.needsUpdate=!0),b.lineDistancesNeedUpdate=!1);b.groupsNeedUpdate&&(b.computeGroups(a.geometry),this.groups=b.groups,b.groupsNeedUpdate=!1);return this},fromGeometry:function(a){a.__directGeometry=(new vh).fromGeometry(a);return this.fromDirectGeometry(a.__directGeometry)},fromDirectGeometry:function(a){var b=new Float32Array(3*a.vertices.length);this.setAttribute("position",(new H(b,3)).copyVector3sArray(a.vertices));0<a.normals.length&&
(b=new Float32Array(3*a.normals.length),this.setAttribute("normal",(new H(b,3)).copyVector3sArray(a.normals)));0<a.colors.length&&(b=new Float32Array(3*a.colors.length),this.setAttribute("color",(new H(b,3)).copyColorsArray(a.colors)));0<a.uvs.length&&(b=new Float32Array(2*a.uvs.length),this.setAttribute("uv",(new H(b,2)).copyVector2sArray(a.uvs)));0<a.uvs2.length&&(b=new Float32Array(2*a.uvs2.length),this.setAttribute("uv2",(new H(b,2)).copyVector2sArray(a.uvs2)));this.groups=a.groups;for(var c in a.morphTargets){b=
[];for(var d=a.morphTargets[c],e=0,f=d.length;e<f;e++){var g=d[e],h=new B(3*g.data.length,3);h.name=g.name;b.push(h.copyVector3sArray(g.data))}this.morphAttributes[c]=b}0<a.skinIndices.length&&(c=new B(4*a.skinIndices.length,4),this.setAttribute("skinIndex",c.copyVector4sArray(a.skinIndices)));0<a.skinWeights.length&&(c=new B(4*a.skinWeights.length,4),this.setAttribute("skinWeight",c.copyVector4sArray(a.skinWeights)));null!==a.boundingSphere&&(this.boundingSphere=a.boundingSphere.clone());null!==
a.boundingBox&&(this.boundingBox=a.boundingBox.clone());return this},computeBoundingBox:function(){null===this.boundingBox&&(this.boundingBox=new Ta);var a=this.attributes.position,b=this.morphAttributes.position;if(void 0!==a){if(this.boundingBox.setFromBufferAttribute(a),b){a=0;for(var c=b.length;a<c;a++)Na.setFromBufferAttribute(b[a]),this.morphTargetsRelative?(qa.addVectors(this.boundingBox.min,Na.min),this.boundingBox.expandByPoint(qa),qa.addVectors(this.boundingBox.max,Na.max),this.boundingBox.expandByPoint(qa)):
(this.boundingBox.expandByPoint(Na.min),this.boundingBox.expandByPoint(Na.max))}}else this.boundingBox.makeEmpty();(isNaN(this.boundingBox.min.x)||isNaN(this.boundingBox.min.y)||isNaN(this.boundingBox.min.z))&&console.error('THREE.BufferGeometry.computeBoundingBox: Computed min/max have NaN values. The "position" attribute is likely to have NaN values.',this)},computeBoundingSphere:function(){null===this.boundingSphere&&(this.boundingSphere=new eb);var a=this.attributes.position,b=this.morphAttributes.position;
if(a){var c=this.boundingSphere.center;Na.setFromBufferAttribute(a);if(b)for(var d=0,e=b.length;d<e;d++)ye.setFromBufferAttribute(b[d]),this.morphTargetsRelative?(qa.addVectors(Na.min,ye.min),Na.expandByPoint(qa),qa.addVectors(Na.max,ye.max),Na.expandByPoint(qa)):(Na.expandByPoint(ye.min),Na.expandByPoint(ye.max));Na.getCenter(c);e=d=0;for(var f=a.count;e<f;e++)qa.fromBufferAttribute(a,e),d=Math.max(d,c.distanceToSquared(qa));if(b)for(e=0,f=b.length;e<f;e++)for(var g=b[e],h=this.morphTargetsRelative,
l=0,k=g.count;l<k;l++)qa.fromBufferAttribute(g,l),h&&(sd.fromBufferAttribute(a,l),qa.add(sd)),d=Math.max(d,c.distanceToSquared(qa));this.boundingSphere.radius=Math.sqrt(d);isNaN(this.boundingSphere.radius)&&console.error('THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values.',this)}},computeFaceNormals:function(){},computeVertexNormals:function(){var a=this.index,b=this.getAttribute("position");if(void 0!==b){var c=this.getAttribute("normal");
if(void 0===c)c=new H(new Float32Array(3*b.count),3),this.setAttribute("normal",c);else for(var d=0,e=c.count;d<e;d++)c.setXYZ(d,0,0,0);d=new m;e=new m;var f=new m,g=new m,h=new m,l=new m,k=new m,q=new m;if(a)for(var p=0,v=a.count;p<v;p+=3){var t=a.getX(p+0),r=a.getX(p+1),u=a.getX(p+2);d.fromBufferAttribute(b,t);e.fromBufferAttribute(b,r);f.fromBufferAttribute(b,u);k.subVectors(f,e);q.subVectors(d,e);k.cross(q);g.fromBufferAttribute(c,t);h.fromBufferAttribute(c,r);l.fromBufferAttribute(c,u);g.add(k);
h.add(k);l.add(k);c.setXYZ(t,g.x,g.y,g.z);c.setXYZ(r,h.x,h.y,h.z);c.setXYZ(u,l.x,l.y,l.z)}else for(a=0,g=b.count;a<g;a+=3)d.fromBufferAttribute(b,a+0),e.fromBufferAttribute(b,a+1),f.fromBufferAttribute(b,a+2),k.subVectors(f,e),q.subVectors(d,e),k.cross(q),c.setXYZ(a+0,k.x,k.y,k.z),c.setXYZ(a+1,k.x,k.y,k.z),c.setXYZ(a+2,k.x,k.y,k.z);this.normalizeNormals();c.needsUpdate=!0}},merge:function(a,b){if(a&&a.isBufferGeometry){void 0===b&&(b=0,console.warn("THREE.BufferGeometry.merge(): Overwriting original geometry, starting at offset=0. Use BufferGeometryUtils.mergeBufferGeometries() for lossless merge."));
var c=this.attributes,d;for(d in c)if(void 0!==a.attributes[d]){var e=c[d].array,f=a.attributes[d],g=f.array,h=f.itemSize*b;f=Math.min(g.length,e.length-h);for(var l=0;l<f;l++,h++)e[h]=g[l]}return this}console.error("THREE.BufferGeometry.merge(): geometry not an instance of THREE.BufferGeometry.",a)},normalizeNormals:function(){for(var a=this.attributes.normal,b=0,c=a.count;b<c;b++)qa.fromBufferAttribute(a,b),qa.normalize(),a.setXYZ(b,qa.x,qa.y,qa.z)},toNonIndexed:function(){function a(a,b){var c=
a.array,d=a.itemSize;a=a.normalized;for(var e=new c.constructor(b.length*d),f,g=0,h=0,l=b.length;h<l;h++){f=b[h]*d;for(var k=0;k<d;k++)e[g++]=c[f++]}return new H(e,d,a)}if(null===this.index)return console.warn("THREE.BufferGeometry.toNonIndexed(): Geometry is already non-indexed."),this;var b=new F,c=this.index.array,d=this.attributes;for(g in d){var e=a(d[g],c);b.setAttribute(g,e)}d=this.morphAttributes;for(var f in d){var g=[];e=d[f];for(var h=0,l=e.length;h<l;h++){var k=a(e[h],c);g.push(k)}b.morphAttributes[f]=
g}b.morphTargetsRelative=this.morphTargetsRelative;c=this.groups;f=0;for(d=c.length;f<d;f++)g=c[f],b.addGroup(g.start,g.count,g.materialIndex);return b},toJSON:function(){var a={metadata:{version:4.5,type:"BufferGeometry",generator:"BufferGeometry.toJSON"}};a.uuid=this.uuid;a.type=this.type;""!==this.name&&(a.name=this.name);0<Object.keys(this.userData).length&&(a.userData=this.userData);if(void 0!==this.parameters){var b=this.parameters;for(c in b)void 0!==b[c]&&(a[c]=b[c]);return a}a.data={attributes:{}};
var c=this.index;null!==c&&(a.data.index={type:c.array.constructor.name,array:Array.prototype.slice.call(c.array)});c=this.attributes;for(var d in c){var e=c[d],f=e.toJSON(a.data);""!==e.name&&(f.name=e.name);a.data.attributes[d]=f}d={};c=!1;for(b in this.morphAttributes){e=this.morphAttributes[b];f=[];for(var g=0,h=e.length;g<h;g++){var l=e[g],k=l.toJSON(a.data);""!==l.name&&(k.name=l.name);f.push(k)}0<f.length&&(d[b]=f,c=!0)}c&&(a.data.morphAttributes=d,a.data.morphTargetsRelative=this.morphTargetsRelative);
b=this.groups;0<b.length&&(a.data.groups=JSON.parse(JSON.stringify(b)));b=this.boundingSphere;null!==b&&(a.data.boundingSphere={center:b.center.toArray(),radius:b.radius});return a},clone:function(){return(new F).copy(this)},copy:function(a){this.index=null;this.attributes={};this.morphAttributes={};this.groups=[];this.boundingSphere=this.boundingBox=null;var b={};this.name=a.name;var c=a.index;null!==c&&this.setIndex(c.clone(b));c=a.attributes;for(var d in c)this.setAttribute(d,c[d].clone(b));d=
a.morphAttributes;for(var e in d){c=[];for(var f=d[e],g=0,h=f.length;g<h;g++)c.push(f[g].clone(b));this.morphAttributes[e]=c}this.morphTargetsRelative=a.morphTargetsRelative;b=a.groups;e=0;for(d=b.length;e<d;e++)c=b[e],this.addGroup(c.start,c.count,c.materialIndex);b=a.boundingBox;null!==b&&(this.boundingBox=b.clone());b=a.boundingSphere;null!==b&&(this.boundingSphere=b.clone());this.drawRange.start=a.drawRange.start;this.drawRange.count=a.drawRange.count;this.userData=a.userData;return this},dispose:function(){this.dispatchEvent({type:"dispose"})}});
var Fi=new M,rc=new Wb,ih=new eb,Cb=new m,Db=new m,Eb=new m,fg=new m,gg=new m,hg=new m,Ie=new m,Je=new m,Ke=new m,Ac=new w,Bc=new w,Cc=new w,Ed=new m,Ge=new m;X.prototype=Object.assign(Object.create(z.prototype),{constructor:X,isMesh:!0,copy:function(a){z.prototype.copy.call(this,a);void 0!==a.morphTargetInfluences&&(this.morphTargetInfluences=a.morphTargetInfluences.slice());void 0!==a.morphTargetDictionary&&(this.morphTargetDictionary=Object.assign({},a.morphTargetDictionary));this.material=a.material;
this.geometry=a.geometry;return this},updateMorphTargets:function(){var a=this.geometry;if(a.isBufferGeometry){a=a.morphAttributes;var b=Object.keys(a);if(0<b.length&&(a=a[b[0]],void 0!==a)){this.morphTargetInfluences=[];this.morphTargetDictionary={};b=0;for(var c=a.length;b<c;b++){var d=a[b].name||String(b);this.morphTargetInfluences.push(0);this.morphTargetDictionary[d]=b}}}else a=a.morphTargets,void 0!==a&&0<a.length&&console.error("THREE.Mesh.updateMorphTargets() no longer supports THREE.Geometry. Use THREE.BufferGeometry instead.")},
raycast:function(a,b){var c=this.geometry,d=this.material,e=this.matrixWorld;if(void 0!==d&&(null===c.boundingSphere&&c.computeBoundingSphere(),ih.copy(c.boundingSphere),ih.applyMatrix4(e),!1!==a.ray.intersectsSphere(ih)&&(Fi.getInverse(e),rc.copy(a.ray).applyMatrix4(Fi),null===c.boundingBox||!1!==rc.intersectsBox(c.boundingBox))))if(c.isBufferGeometry){var f=c.index,g=c.attributes.position;e=c.morphAttributes.position;var h=c.morphTargetsRelative,l=c.attributes.uv,k=c.attributes.uv2,q=c.groups,p=
c.drawRange;if(null!==f)if(Array.isArray(d))for(var m=0,t=q.length;m<t;m++)for(var r=q[m],u=d[r.materialIndex],A=Math.max(r.start,p.start),E=Math.min(r.start+r.count,p.start+p.count);A<E;A+=3){c=f.getX(A);var x=f.getX(A+1),y=f.getX(A+2);if(c=He(this,u,a,rc,g,e,h,l,k,c,x,y))c.faceIndex=Math.floor(A/3),c.face.materialIndex=r.materialIndex,b.push(c)}else for(q=Math.max(0,p.start),p=Math.min(f.count,p.start+p.count);q<p;q+=3){if(c=f.getX(q),m=f.getX(q+1),t=f.getX(q+2),c=He(this,d,a,rc,g,e,h,l,k,c,m,t))c.faceIndex=
Math.floor(q/3),b.push(c)}else if(void 0!==g)if(Array.isArray(d))for(f=0,m=q.length;f<m;f++)for(t=q[f],r=d[t.materialIndex],u=Math.max(t.start,p.start),A=Math.min(t.start+t.count,p.start+p.count);u<A;u+=3){if(c=He(this,r,a,rc,g,e,h,l,k,u,u+1,u+2))c.faceIndex=Math.floor(u/3),c.face.materialIndex=t.materialIndex,b.push(c)}else for(q=Math.max(0,p.start),p=Math.min(g.count,p.start+p.count);q<p;q+=3)if(c=He(this,d,a,rc,g,e,h,l,k,q,q+1,q+2))c.faceIndex=Math.floor(q/3),b.push(c)}else if(c.isGeometry)for(e=
Array.isArray(d),h=c.vertices,l=c.faces,c=c.faceVertexUvs[0],0<c.length&&(g=c),k=0,p=l.length;k<p;k++)if(q=l[k],c=e?d[q.materialIndex]:d,void 0!==c&&(f=h[q.a],m=h[q.b],t=h[q.c],c=xh(this,c,a,rc,f,m,t,Ed)))g&&g[k]&&(r=g[k],Ac.copy(r[0]),Bc.copy(r[1]),Cc.copy(r[2]),c.uv=wa.getUV(Ed,f,m,t,Ac,Bc,Cc,new w)),c.face=q,c.faceIndex=k,b.push(c)}});var lj=0,pb=new M,jh=new z,Jf=new m;L.prototype=Object.assign(Object.create(ua.prototype),{constructor:L,isGeometry:!0,applyMatrix4:function(a){for(var b=(new xa).getNormalMatrix(a),
c=0,d=this.vertices.length;c<d;c++)this.vertices[c].applyMatrix4(a);a=0;for(c=this.faces.length;a<c;a++){d=this.faces[a];d.normal.applyMatrix3(b).normalize();for(var e=0,f=d.vertexNormals.length;e<f;e++)d.vertexNormals[e].applyMatrix3(b).normalize()}null!==this.boundingBox&&this.computeBoundingBox();null!==this.boundingSphere&&this.computeBoundingSphere();this.normalsNeedUpdate=this.verticesNeedUpdate=!0;return this},rotateX:function(a){pb.makeRotationX(a);this.applyMatrix4(pb);return this},rotateY:function(a){pb.makeRotationY(a);
this.applyMatrix4(pb);return this},rotateZ:function(a){pb.makeRotationZ(a);this.applyMatrix4(pb);return this},translate:function(a,b,c){pb.makeTranslation(a,b,c);this.applyMatrix4(pb);return this},scale:function(a,b,c){pb.makeScale(a,b,c);this.applyMatrix4(pb);return this},lookAt:function(a){jh.lookAt(a);jh.updateMatrix();this.applyMatrix4(jh.matrix);return this},fromBufferGeometry:function(a){function b(a,b,d,e){var f=void 0===h?[]:[c.colors[a].clone(),c.colors[b].clone(),c.colors[d].clone()],n=
void 0===g?[]:[(new m).fromBufferAttribute(g,a),(new m).fromBufferAttribute(g,b),(new m).fromBufferAttribute(g,d)];e=new zc(a,b,d,n,f,e);c.faces.push(e);void 0!==l&&c.faceVertexUvs[0].push([(new w).fromBufferAttribute(l,a),(new w).fromBufferAttribute(l,b),(new w).fromBufferAttribute(l,d)]);void 0!==k&&c.faceVertexUvs[1].push([(new w).fromBufferAttribute(k,a),(new w).fromBufferAttribute(k,b),(new w).fromBufferAttribute(k,d)])}var c=this,d=null!==a.index?a.index:void 0,e=a.attributes;if(void 0===e.position)return console.error("THREE.Geometry.fromBufferGeometry(): Position attribute required for conversion."),
this;var f=e.position,g=e.normal,h=e.color,l=e.uv,k=e.uv2;void 0!==k&&(this.faceVertexUvs[1]=[]);for(e=0;e<f.count;e++)c.vertices.push((new m).fromBufferAttribute(f,e)),void 0!==h&&c.colors.push((new D).fromBufferAttribute(h,e));e=a.groups;if(0<e.length)for(f=0;f<e.length;f++){var q=e[f],p=q.start,v=p;for(p+=q.count;v<p;v+=3)void 0!==d?b(d.getX(v),d.getX(v+1),d.getX(v+2),q.materialIndex):b(v,v+1,v+2,q.materialIndex)}else if(void 0!==d)for(e=0;e<d.count;e+=3)b(d.getX(e),d.getX(e+1),d.getX(e+2));else for(d=
0;d<f.count;d+=3)b(d,d+1,d+2);this.computeFaceNormals();null!==a.boundingBox&&(this.boundingBox=a.boundingBox.clone());null!==a.boundingSphere&&(this.boundingSphere=a.boundingSphere.clone());return this},center:function(){this.computeBoundingBox();this.boundingBox.getCenter(Jf).negate();this.translate(Jf.x,Jf.y,Jf.z);return this},normalize:function(){this.computeBoundingSphere();var a=this.boundingSphere.center,b=this.boundingSphere.radius;b=0===b?1:1/b;var c=new M;c.set(b,0,0,-b*a.x,0,b,0,-b*a.y,
0,0,b,-b*a.z,0,0,0,1);this.applyMatrix4(c);return this},computeFaceNormals:function(){for(var a=new m,b=new m,c=0,d=this.faces.length;c<d;c++){var e=this.faces[c],f=this.vertices[e.a],g=this.vertices[e.b];a.subVectors(this.vertices[e.c],g);b.subVectors(f,g);a.cross(b);a.normalize();e.normal.copy(a)}},computeVertexNormals:function(a){void 0===a&&(a=!0);for(var b=Array(this.vertices.length),c=0,d=this.vertices.length;c<d;c++)b[c]=new m;if(a){a=new m;c=new m;d=0;for(var e=this.faces.length;d<e;d++){var f=
this.faces[d],g=this.vertices[f.a],h=this.vertices[f.b];a.subVectors(this.vertices[f.c],h);c.subVectors(g,h);a.cross(c);b[f.a].add(a);b[f.b].add(a);b[f.c].add(a)}}else for(this.computeFaceNormals(),a=0,c=this.faces.length;a<c;a++)d=this.faces[a],b[d.a].add(d.normal),b[d.b].add(d.normal),b[d.c].add(d.normal);a=0;for(c=this.vertices.length;a<c;a++)b[a].normalize();a=0;for(c=this.faces.length;a<c;a++)d=this.faces[a],e=d.vertexNormals,3===e.length?(e[0].copy(b[d.a]),e[1].copy(b[d.b]),e[2].copy(b[d.c])):
(e[0]=b[d.a].clone(),e[1]=b[d.b].clone(),e[2]=b[d.c].clone());0<this.faces.length&&(this.normalsNeedUpdate=!0)},computeFlatVertexNormals:function(){this.computeFaceNormals();for(var a=0,b=this.faces.length;a<b;a++){var c=this.faces[a],d=c.vertexNormals;3===d.length?(d[0].copy(c.normal),d[1].copy(c.normal),d[2].copy(c.normal)):(d[0]=c.normal.clone(),d[1]=c.normal.clone(),d[2]=c.normal.clone())}0<this.faces.length&&(this.normalsNeedUpdate=!0)},computeMorphNormals:function(){for(var a=0,b=this.faces.length;a<
b;a++){var c=this.faces[a];c.__originalFaceNormal?c.__originalFaceNormal.copy(c.normal):c.__originalFaceNormal=c.normal.clone();c.__originalVertexNormals||(c.__originalVertexNormals=[]);for(var d=0,e=c.vertexNormals.length;d<e;d++)c.__originalVertexNormals[d]?c.__originalVertexNormals[d].copy(c.vertexNormals[d]):c.__originalVertexNormals[d]=c.vertexNormals[d].clone()}a=new L;a.faces=this.faces;b=0;for(c=this.morphTargets.length;b<c;b++){if(!this.morphNormals[b]){this.morphNormals[b]={};this.morphNormals[b].faceNormals=
[];this.morphNormals[b].vertexNormals=[];d=this.morphNormals[b].faceNormals;e=this.morphNormals[b].vertexNormals;for(var f=0,g=this.faces.length;f<g;f++){var h=new m,l={a:new m,b:new m,c:new m};d.push(h);e.push(l)}}d=this.morphNormals[b];a.vertices=this.morphTargets[b].vertices;a.computeFaceNormals();a.computeVertexNormals();e=0;for(f=this.faces.length;e<f;e++)g=this.faces[e],h=d.vertexNormals[e],d.faceNormals[e].copy(g.normal),h.a.copy(g.vertexNormals[0]),h.b.copy(g.vertexNormals[1]),h.c.copy(g.vertexNormals[2])}a=
0;for(b=this.faces.length;a<b;a++)c=this.faces[a],c.normal=c.__originalFaceNormal,c.vertexNormals=c.__originalVertexNormals},computeBoundingBox:function(){null===this.boundingBox&&(this.boundingBox=new Ta);this.boundingBox.setFromPoints(this.vertices)},computeBoundingSphere:function(){null===this.boundingSphere&&(this.boundingSphere=new eb);this.boundingSphere.setFromPoints(this.vertices)},merge:function(a,b,c){if(a&&a.isGeometry){var d,e=this.vertices.length,f=this.vertices,g=a.vertices,h=this.faces,
l=a.faces,k=this.colors,q=a.colors;void 0===c&&(c=0);void 0!==b&&(d=(new xa).getNormalMatrix(b));for(var p=0,m=g.length;p<m;p++){var t=g[p].clone();void 0!==b&&t.applyMatrix4(b);f.push(t)}b=0;for(f=q.length;b<f;b++)k.push(q[b].clone());k=0;for(q=l.length;k<q;k++){b=l[k];m=b.vertexNormals;g=b.vertexColors;f=new zc(b.a+e,b.b+e,b.c+e);f.normal.copy(b.normal);void 0!==d&&f.normal.applyMatrix3(d).normalize();t=0;for(var r=m.length;t<r;t++)p=m[t].clone(),void 0!==d&&p.applyMatrix3(d).normalize(),f.vertexNormals.push(p);
f.color.copy(b.color);m=0;for(t=g.length;m<t;m++)p=g[m],f.vertexColors.push(p.clone());f.materialIndex=b.materialIndex+c;h.push(f)}c=0;for(d=a.faceVertexUvs.length;c<d;c++)for(e=a.faceVertexUvs[c],void 0===this.faceVertexUvs[c]&&(this.faceVertexUvs[c]=[]),h=0,l=e.length;h<l;h++){k=e[h];q=[];b=0;for(f=k.length;b<f;b++)q.push(k[b].clone());this.faceVertexUvs[c].push(q)}}else console.error("THREE.Geometry.merge(): geometry not an instance of THREE.Geometry.",a)},mergeMesh:function(a){a&&a.isMesh?(a.matrixAutoUpdate&&
a.updateMatrix(),this.merge(a.geometry,a.matrix)):console.error("THREE.Geometry.mergeMesh(): mesh not an instance of THREE.Mesh.",a)},mergeVertices:function(){for(var a={},b=[],c=[],d=Math.pow(10,4),e=0,f=this.vertices.length;e<f;e++){var g=this.vertices[e];g=Math.round(g.x*d)+"_"+Math.round(g.y*d)+"_"+Math.round(g.z*d);void 0===a[g]?(a[g]=e,b.push(this.vertices[e]),c[e]=b.length-1):c[e]=c[a[g]]}a=[];d=0;for(e=this.faces.length;d<e;d++)for(f=this.faces[d],f.a=c[f.a],f.b=c[f.b],f.c=c[f.c],f=[f.a,f.b,
f.c],g=0;3>g;g++)if(f[g]===f[(g+1)%3]){a.push(d);break}for(c=a.length-1;0<=c;c--)for(d=a[c],this.faces.splice(d,1),e=0,f=this.faceVertexUvs.length;e<f;e++)this.faceVertexUvs[e].splice(d,1);c=this.vertices.length-b.length;this.vertices=b;return c},setFromPoints:function(a){this.vertices=[];for(var b=0,c=a.length;b<c;b++){var d=a[b];this.vertices.push(new m(d.x,d.y,d.z||0))}return this},sortFacesByMaterialIndex:function(){for(var a=this.faces,b=a.length,c=0;c<b;c++)a[c]._id=c;a.sort(function(a,b){return a.materialIndex-
b.materialIndex});c=this.faceVertexUvs[0];var d=this.faceVertexUvs[1],e,f;c&&c.length===b&&(e=[]);d&&d.length===b&&(f=[]);for(var g=0;g<b;g++){var h=a[g]._id;e&&e.push(c[h]);f&&f.push(d[h])}e&&(this.faceVertexUvs[0]=e);f&&(this.faceVertexUvs[1]=f)},toJSON:function(){function a(a,b,c){return c?a|1<<b:a&~(1<<b)}function b(a){var b=a.x.toString()+a.y.toString()+a.z.toString();if(void 0!==k[b])return k[b];k[b]=l.length/3;l.push(a.x,a.y,a.z);return k[b]}function c(a){var b=a.r.toString()+a.g.toString()+
a.b.toString();if(void 0!==p[b])return p[b];p[b]=q.length;q.push(a.getHex());return p[b]}function d(a){var b=a.x.toString()+a.y.toString();if(void 0!==t[b])return t[b];t[b]=m.length/2;m.push(a.x,a.y);return t[b]}var e={metadata:{version:4.5,type:"Geometry",generator:"Geometry.toJSON"}};e.uuid=this.uuid;e.type=this.type;""!==this.name&&(e.name=this.name);if(void 0!==this.parameters){var f=this.parameters,g;for(g in f)void 0!==f[g]&&(e[g]=f[g]);return e}f=[];for(g=0;g<this.vertices.length;g++){var h=
this.vertices[g];f.push(h.x,h.y,h.z)}g=[];var l=[],k={},q=[],p={},m=[],t={};for(h=0;h<this.faces.length;h++){var r=this.faces[h],u=void 0!==this.faceVertexUvs[0][h],A=0<r.normal.length(),w=0<r.vertexNormals.length,x=1!==r.color.r||1!==r.color.g||1!==r.color.b,y=0<r.vertexColors.length,z=0;z=a(z,0,0);z=a(z,1,!0);z=a(z,2,!1);z=a(z,3,u);z=a(z,4,A);z=a(z,5,w);z=a(z,6,x);z=a(z,7,y);g.push(z);g.push(r.a,r.b,r.c);g.push(r.materialIndex);u&&(u=this.faceVertexUvs[0][h],g.push(d(u[0]),d(u[1]),d(u[2])));A&&
g.push(b(r.normal));w&&(A=r.vertexNormals,g.push(b(A[0]),b(A[1]),b(A[2])));x&&g.push(c(r.color));y&&(r=r.vertexColors,g.push(c(r[0]),c(r[1]),c(r[2])))}e.data={};e.data.vertices=f;e.data.normals=l;0<q.length&&(e.data.colors=q);0<m.length&&(e.data.uvs=[m]);e.data.faces=g;return e},clone:function(){return(new L).copy(this)},copy:function(a){this.vertices=[];this.colors=[];this.faces=[];this.faceVertexUvs=[[]];this.morphTargets=[];this.morphNormals=[];this.skinWeights=[];this.skinIndices=[];this.lineDistances=
[];this.boundingSphere=this.boundingBox=null;this.name=a.name;for(var b=a.vertices,c=0,d=b.length;c<d;c++)this.vertices.push(b[c].clone());b=a.colors;c=0;for(d=b.length;c<d;c++)this.colors.push(b[c].clone());b=a.faces;c=0;for(d=b.length;c<d;c++)this.faces.push(b[c].clone());b=0;for(c=a.faceVertexUvs.length;b<c;b++){d=a.faceVertexUvs[b];void 0===this.faceVertexUvs[b]&&(this.faceVertexUvs[b]=[]);for(var e=0,f=d.length;e<f;e++){for(var g=d[e],h=[],l=0,k=g.length;l<k;l++)h.push(g[l].clone());this.faceVertexUvs[b].push(h)}}b=
a.morphTargets;c=0;for(d=b.length;c<d;c++){e={};e.name=b[c].name;if(void 0!==b[c].vertices)for(e.vertices=[],f=0,g=b[c].vertices.length;f<g;f++)e.vertices.push(b[c].vertices[f].clone());if(void 0!==b[c].normals)for(e.normals=[],f=0,g=b[c].normals.length;f<g;f++)e.normals.push(b[c].normals[f].clone());this.morphTargets.push(e)}b=a.morphNormals;c=0;for(d=b.length;c<d;c++){e={};if(void 0!==b[c].vertexNormals)for(e.vertexNormals=[],f=0,g=b[c].vertexNormals.length;f<g;f++)h=b[c].vertexNormals[f],l={},
l.a=h.a.clone(),l.b=h.b.clone(),l.c=h.c.clone(),e.vertexNormals.push(l);if(void 0!==b[c].faceNormals)for(e.faceNormals=[],f=0,g=b[c].faceNormals.length;f<g;f++)e.faceNormals.push(b[c].faceNormals[f].clone());this.morphNormals.push(e)}b=a.skinWeights;c=0;for(d=b.length;c<d;c++)this.skinWeights.push(b[c].clone());b=a.skinIndices;c=0;for(d=b.length;c<d;c++)this.skinIndices.push(b[c].clone());b=a.lineDistances;c=0;for(d=b.length;c<d;c++)this.lineDistances.push(b[c]);b=a.boundingBox;null!==b&&(this.boundingBox=
b.clone());b=a.boundingSphere;null!==b&&(this.boundingSphere=b.clone());this.elementsNeedUpdate=a.elementsNeedUpdate;this.verticesNeedUpdate=a.verticesNeedUpdate;this.uvsNeedUpdate=a.uvsNeedUpdate;this.normalsNeedUpdate=a.normalsNeedUpdate;this.colorsNeedUpdate=a.colorsNeedUpdate;this.lineDistancesNeedUpdate=a.lineDistancesNeedUpdate;this.groupsNeedUpdate=a.groupsNeedUpdate;return this},dispose:function(){this.dispatchEvent({type:"dispose"})}});var kh=function(a){function b(b,d,e,f,g,h){a.call(this);
this.type="BoxGeometry";this.parameters={width:b,height:d,depth:e,widthSegments:f,heightSegments:g,depthSegments:h};this.fromBufferGeometry(new Gd(b,d,e,f,g,h));this.mergeVertices()}a&&(b.__proto__=a);b.prototype=Object.create(a&&a.prototype);return b.prototype.constructor=b}(L),Gd=function(a){function b(b,d,e,f,g,h){function c(a,b,c,d,e,f,g,h,l,n,w){var A=f/l,x=g/n,y=f/2,z=g/2,C=h/2;g=l+1;for(var E=n+1,B=f=0,D=new m,F=0;F<E;F++)for(var G=F*x-z,H=0;H<g;H++)D[a]=(H*A-y)*d,D[b]=G*e,D[c]=C,p.push(D.x,
D.y,D.z),D[a]=0,D[b]=0,D[c]=0<h?1:-1,v.push(D.x,D.y,D.z),t.push(H/l),t.push(1-F/n),f+=1;for(a=0;a<n;a++)for(b=0;b<l;b++)c=r+b+g*(a+1),d=r+(b+1)+g*(a+1),e=r+(b+1)+g*a,q.push(r+b+g*a,c,e),q.push(c,d,e),B+=6;k.addGroup(u,B,w);u+=B;r+=f}a.call(this);this.type="BoxBufferGeometry";this.parameters={width:b,height:d,depth:e,widthSegments:f,heightSegments:g,depthSegments:h};var k=this;b=b||1;d=d||1;e=e||1;f=Math.floor(f)||1;g=Math.floor(g)||1;h=Math.floor(h)||1;var q=[],p=[],v=[],t=[],r=0,u=0;c("z","y","x",
-1,-1,e,d,b,h,g,0);c("z","y","x",1,-1,e,d,-b,h,g,1);c("x","z","y",1,1,b,e,d,f,h,2);c("x","z","y",1,-1,b,e,-d,f,h,3);c("x","y","z",1,-1,b,d,e,f,g,4);c("x","y","z",-1,-1,b,d,-e,f,g,5);this.setIndex(q);this.setAttribute("position",new B(p,3));this.setAttribute("normal",new B(v,3));this.setAttribute("uv",new B(t,2))}a&&(b.__proto__=a);b.prototype=Object.create(a&&a.prototype);return b.prototype.constructor=b}(F),Sh={clone:Dc,merge:va};Ba.prototype=Object.create(G.prototype);Ba.prototype.constructor=Ba;
Ba.prototype.isShaderMaterial=!0;Ba.prototype.copy=function(a){G.prototype.copy.call(this,a);this.fragmentShader=a.fragmentShader;this.vertexShader=a.vertexShader;this.uniforms=Dc(a.uniforms);this.defines=Object.assign({},a.defines);this.wireframe=a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;this.lights=a.lights;this.clipping=a.clipping;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;this.extensions=Object.assign({},a.extensions);return this};
Ba.prototype.toJSON=function(a){var b=G.prototype.toJSON.call(this,a);b.uniforms={};for(var c in this.uniforms){var d=this.uniforms[c].value;b.uniforms[c]=d&&d.isTexture?{type:"t",value:d.toJSON(a).uuid}:d&&d.isColor?{type:"c",value:d.getHex()}:d&&d.isVector2?{type:"v2",value:d.toArray()}:d&&d.isVector3?{type:"v3",value:d.toArray()}:d&&d.isVector4?{type:"v4",value:d.toArray()}:d&&d.isMatrix3?{type:"m3",value:d.toArray()}:d&&d.isMatrix4?{type:"m4",value:d.toArray()}:{value:d}}0<Object.keys(this.defines).length&&
(b.defines=this.defines);b.vertexShader=this.vertexShader;b.fragmentShader=this.fragmentShader;a={};for(var e in this.extensions)!0===this.extensions[e]&&(a[e]=!0);0<Object.keys(a).length&&(b.extensions=a);return b};fb.prototype=Object.assign(Object.create(z.prototype),{constructor:fb,isCamera:!0,copy:function(a,b){z.prototype.copy.call(this,a,b);this.matrixWorldInverse.copy(a.matrixWorldInverse);this.projectionMatrix.copy(a.projectionMatrix);this.projectionMatrixInverse.copy(a.projectionMatrixInverse);
return this},getWorldDirection:function(a){void 0===a&&(console.warn("THREE.Camera: .getWorldDirection() target is now required"),a=new m);this.updateMatrixWorld(!0);var b=this.matrixWorld.elements;return a.set(-b[8],-b[9],-b[10]).normalize()},updateMatrixWorld:function(a){z.prototype.updateMatrixWorld.call(this,a);this.matrixWorldInverse.getInverse(this.matrixWorld)},updateWorldMatrix:function(a,b){z.prototype.updateWorldMatrix.call(this,a,b);this.matrixWorldInverse.getInverse(this.matrixWorld)},
clone:function(){return(new this.constructor).copy(this)}});P.prototype=Object.assign(Object.create(fb.prototype),{constructor:P,isPerspectiveCamera:!0,copy:function(a,b){fb.prototype.copy.call(this,a,b);this.fov=a.fov;this.zoom=a.zoom;this.near=a.near;this.far=a.far;this.focus=a.focus;this.aspect=a.aspect;this.view=null===a.view?null:Object.assign({},a.view);this.filmGauge=a.filmGauge;this.filmOffset=a.filmOffset;return this},setFocalLength:function(a){a=.5*this.getFilmHeight()/a;this.fov=2*K.RAD2DEG*
Math.atan(a);this.updateProjectionMatrix()},getFocalLength:function(){var a=Math.tan(.5*K.DEG2RAD*this.fov);return.5*this.getFilmHeight()/a},getEffectiveFOV:function(){return 2*K.RAD2DEG*Math.atan(Math.tan(.5*K.DEG2RAD*this.fov)/this.zoom)},getFilmWidth:function(){return this.filmGauge*Math.min(this.aspect,1)},getFilmHeight:function(){return this.filmGauge/Math.max(this.aspect,1)},setViewOffset:function(a,b,c,d,e,f){this.aspect=a/b;null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,
offsetX:0,offsetY:0,width:1,height:1});this.view.enabled=!0;this.view.fullWidth=a;this.view.fullHeight=b;this.view.offsetX=c;this.view.offsetY=d;this.view.width=e;this.view.height=f;this.updateProjectionMatrix()},clearViewOffset:function(){null!==this.view&&(this.view.enabled=!1);this.updateProjectionMatrix()},updateProjectionMatrix:function(){var a=this.near,b=a*Math.tan(.5*K.DEG2RAD*this.fov)/this.zoom,c=2*b,d=this.aspect*c,e=-.5*d,f=this.view;if(null!==this.view&&this.view.enabled){var g=f.fullWidth,
h=f.fullHeight;e+=f.offsetX*d/g;b-=f.offsetY*c/h;d*=f.width/g;c*=f.height/h}f=this.filmOffset;0!==f&&(e+=a*f/this.getFilmWidth());this.projectionMatrix.makePerspective(e,e+d,b,b-c,a,this.far);this.projectionMatrixInverse.getInverse(this.projectionMatrix)},toJSON:function(a){a=z.prototype.toJSON.call(this,a);a.object.fov=this.fov;a.object.zoom=this.zoom;a.object.near=this.near;a.object.far=this.far;a.object.focus=this.focus;a.object.aspect=this.aspect;null!==this.view&&(a.object.view=Object.assign({},
this.view));a.object.filmGauge=this.filmGauge;a.object.filmOffset=this.filmOffset;return a}});Ec.prototype=Object.create(z.prototype);Ec.prototype.constructor=Ec;Zb.prototype=Object.create(Ha.prototype);Zb.prototype.constructor=Zb;Zb.prototype.isWebGLCubeRenderTarget=!0;Zb.prototype.fromEquirectangularTexture=function(a,b){this.texture.type=b.type;this.texture.format=b.format;this.texture.encoding=b.encoding;var c=new xd,d=new Ba({name:"CubemapFromEquirect",uniforms:Dc({tEquirect:{value:null}}),vertexShader:"varying vec3 vWorldDirection;\nvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n}\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n}",
fragmentShader:"uniform sampler2D tEquirect;\nvarying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvec3 direction = normalize( vWorldDirection );\n\tvec2 sampleUV = equirectUv( direction );\n\tgl_FragColor = texture2D( tEquirect, sampleUV );\n}",side:1,blending:0});d.uniforms.tEquirect.value=b;b=new X(new Gd(5,5,5),d);c.add(b);(new Ec(1,10,this)).update(a,c);b.geometry.dispose();b.material.dispose();return this};$b.prototype=Object.create(W.prototype);$b.prototype.constructor=$b;$b.prototype.isDataTexture=
!0;var td=new eb,Kf=new m;Object.assign(Fc.prototype,{set:function(a,b,c,d,e,f){var g=this.planes;g[0].copy(a);g[1].copy(b);g[2].copy(c);g[3].copy(d);g[4].copy(e);g[5].copy(f);return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){for(var b=this.planes,c=0;6>c;c++)b[c].copy(a.planes[c]);return this},setFromProjectionMatrix:function(a){var b=this.planes,c=a.elements;a=c[0];var d=c[1],e=c[2],f=c[3],g=c[4],h=c[5],l=c[6],k=c[7],q=c[8],p=c[9],m=c[10],t=c[11],r=c[12],u=
c[13],w=c[14];c=c[15];b[0].setComponents(f-a,k-g,t-q,c-r).normalize();b[1].setComponents(f+a,k+g,t+q,c+r).normalize();b[2].setComponents(f+d,k+h,t+p,c+u).normalize();b[3].setComponents(f-d,k-h,t-p,c-u).normalize();b[4].setComponents(f-e,k-l,t-m,c-w).normalize();b[5].setComponents(f+e,k+l,t+m,c+w).normalize();return this},intersectsObject:function(a){var b=a.geometry;null===b.boundingSphere&&b.computeBoundingSphere();td.copy(b.boundingSphere).applyMatrix4(a.matrixWorld);return this.intersectsSphere(td)},
intersectsSprite:function(a){td.center.set(0,0,0);td.radius=.7071067811865476;td.applyMatrix4(a.matrixWorld);return this.intersectsSphere(td)},intersectsSphere:function(a){var b=this.planes,c=a.center;a=-a.radius;for(var d=0;6>d;d++)if(b[d].distanceToPoint(c)<a)return!1;return!0},intersectsBox:function(a){for(var b=this.planes,c=0;6>c;c++){var d=b[c];Kf.x=0<d.normal.x?a.max.x:a.min.x;Kf.y=0<d.normal.y?a.max.y:a.min.y;Kf.z=0<d.normal.z?a.max.z:a.min.z;if(0>d.distanceToPoint(Kf))return!1}return!0},
containsPoint:function(a){for(var b=this.planes,c=0;6>c;c++)if(0>b[c].distanceToPoint(a))return!1;return!0}});var y={common:{diffuse:{value:new D(15658734)},opacity:{value:1},map:{value:null},uvTransform:{value:new xa},uv2Transform:{value:new xa},alphaMap:{value:null}},specularmap:{specularMap:{value:null}},envmap:{envMap:{value:null},flipEnvMap:{value:-1},reflectivity:{value:1},refractionRatio:{value:.98},maxMipLevel:{value:0}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1}},lightmap:{lightMap:{value:null},
lightMapIntensity:{value:1}},emissivemap:{emissiveMap:{value:null}},bumpmap:{bumpMap:{value:null},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalScale:{value:new w(1,1)}},displacementmap:{displacementMap:{value:null},displacementScale:{value:1},displacementBias:{value:0}},roughnessmap:{roughnessMap:{value:null}},metalnessmap:{metalnessMap:{value:null}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:2.5E-4},fogNear:{value:1},fogFar:{value:2E3},fogColor:{value:new D(16777215)}},
lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowBias:{},shadowNormalOffset:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowBias:{},shadowNormalOffset:{},shadowRadius:{},
shadowMapSize:{}}},spotShadowMap:{value:[]},spotShadowMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowBias:{},shadowNormalOffset:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},
height:{}}}},points:{diffuse:{value:new D(15658734)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},uvTransform:{value:new xa}},sprite:{diffuse:{value:new D(15658734)},opacity:{value:1},center:{value:new w(.5,.5)},rotation:{value:0},map:{value:null},alphaMap:{value:null},uvTransform:{value:new xa}}};Fd.prototype=Object.create(L.prototype);Fd.prototype.constructor=Fd;ac.prototype=Object.create(F.prototype);ac.prototype.constructor=ac;var N={alphamap_fragment:"#ifdef USE_ALPHAMAP\n\tdiffuseColor.a *= texture2D( alphaMap, vUv ).g;\n#endif",
alphamap_pars_fragment:"#ifdef USE_ALPHAMAP\n\tuniform sampler2D alphaMap;\n#endif",alphatest_fragment:"#ifdef ALPHATEST\n\tif ( diffuseColor.a < ALPHATEST ) discard;\n#endif",aomap_fragment:"#ifdef USE_AOMAP\n\tfloat ambientOcclusion = ( texture2D( aoMap, vUv2 ).r - 1.0 ) * aoMapIntensity + 1.0;\n\treflectedLight.indirectDiffuse *= ambientOcclusion;\n\t#if defined( USE_ENVMAP ) && defined( STANDARD )\n\t\tfloat dotNV = saturate( dot( geometry.normal, geometry.viewDir ) );\n\t\treflectedLight.indirectSpecular *= computeSpecularOcclusion( dotNV, ambientOcclusion, material.specularRoughness );\n\t#endif\n#endif",
aomap_pars_fragment:"#ifdef USE_AOMAP\n\tuniform sampler2D aoMap;\n\tuniform float aoMapIntensity;\n#endif",begin_vertex:"vec3 transformed = vec3( position );",beginnormal_vertex:"vec3 objectNormal = vec3( normal );\n#ifdef USE_TANGENT\n\tvec3 objectTangent = vec3( tangent.xyz );\n#endif",bsdfs:"vec2 integrateSpecularBRDF( const in float dotNV, const in float roughness ) {\n\tconst vec4 c0 = vec4( - 1, - 0.0275, - 0.572, 0.022 );\n\tconst vec4 c1 = vec4( 1, 0.0425, 1.04, - 0.04 );\n\tvec4 r = roughness * c0 + c1;\n\tfloat a004 = min( r.x * r.x, exp2( - 9.28 * dotNV ) ) * r.x + r.y;\n\treturn vec2( -1.04, 1.04 ) * a004 + r.zw;\n}\nfloat punctualLightIntensityToIrradianceFactor( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) {\n#if defined ( PHYSICALLY_CORRECT_LIGHTS )\n\tfloat distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 );\n\tif( cutoffDistance > 0.0 ) {\n\t\tdistanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) );\n\t}\n\treturn distanceFalloff;\n#else\n\tif( cutoffDistance > 0.0 && decayExponent > 0.0 ) {\n\t\treturn pow( saturate( -lightDistance / cutoffDistance + 1.0 ), decayExponent );\n\t}\n\treturn 1.0;\n#endif\n}\nvec3 BRDF_Diffuse_Lambert( const in vec3 diffuseColor ) {\n\treturn RECIPROCAL_PI * diffuseColor;\n}\nvec3 F_Schlick( const in vec3 specularColor, const in float dotLH ) {\n\tfloat fresnel = exp2( ( -5.55473 * dotLH - 6.98316 ) * dotLH );\n\treturn ( 1.0 - specularColor ) * fresnel + specularColor;\n}\nvec3 F_Schlick_RoughnessDependent( const in vec3 F0, const in float dotNV, const in float roughness ) {\n\tfloat fresnel = exp2( ( -5.55473 * dotNV - 6.98316 ) * dotNV );\n\tvec3 Fr = max( vec3( 1.0 - roughness ), F0 ) - F0;\n\treturn Fr * fresnel + F0;\n}\nfloat G_GGX_Smith( const in float alpha, const in float dotNL, const in float dotNV ) {\n\tfloat a2 = pow2( alpha );\n\tfloat gl = dotNL + sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) );\n\tfloat gv = dotNV + sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) );\n\treturn 1.0 / ( gl * gv );\n}\nfloat G_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const in float dotNV ) {\n\tfloat a2 = pow2( alpha );\n\tfloat gv = dotNL * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) );\n\tfloat gl = dotNV * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) );\n\treturn 0.5 / max( gv + gl, EPSILON );\n}\nfloat D_GGX( const in float alpha, const in float dotNH ) {\n\tfloat a2 = pow2( alpha );\n\tfloat denom = pow2( dotNH ) * ( a2 - 1.0 ) + 1.0;\n\treturn RECIPROCAL_PI * a2 / pow2( denom );\n}\nvec3 BRDF_Specular_GGX( const in IncidentLight incidentLight, const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float roughness ) {\n\tfloat alpha = pow2( roughness );\n\tvec3 halfDir = normalize( incidentLight.direction + viewDir );\n\tfloat dotNL = saturate( dot( normal, incidentLight.direction ) );\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\tfloat dotLH = saturate( dot( incidentLight.direction, halfDir ) );\n\tvec3 F = F_Schlick( specularColor, dotLH );\n\tfloat G = G_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n\tfloat D = D_GGX( alpha, dotNH );\n\treturn F * ( G * D );\n}\nvec2 LTC_Uv( const in vec3 N, const in vec3 V, const in float roughness ) {\n\tconst float LUT_SIZE = 64.0;\n\tconst float LUT_SCALE = ( LUT_SIZE - 1.0 ) / LUT_SIZE;\n\tconst float LUT_BIAS = 0.5 / LUT_SIZE;\n\tfloat dotNV = saturate( dot( N, V ) );\n\tvec2 uv = vec2( roughness, sqrt( 1.0 - dotNV ) );\n\tuv = uv * LUT_SCALE + LUT_BIAS;\n\treturn uv;\n}\nfloat LTC_ClippedSphereFormFactor( const in vec3 f ) {\n\tfloat l = length( f );\n\treturn max( ( l * l + f.z ) / ( l + 1.0 ), 0.0 );\n}\nvec3 LTC_EdgeVectorFormFactor( const in vec3 v1, const in vec3 v2 ) {\n\tfloat x = dot( v1, v2 );\n\tfloat y = abs( x );\n\tfloat a = 0.8543985 + ( 0.4965155 + 0.0145206 * y ) * y;\n\tfloat b = 3.4175940 + ( 4.1616724 + y ) * y;\n\tfloat v = a / b;\n\tfloat theta_sintheta = ( x > 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v;\n\treturn cross( v1, v2 ) * theta_sintheta;\n}\nvec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) {\n\tvec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ];\n\tvec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ];\n\tvec3 lightNormal = cross( v1, v2 );\n\tif( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 );\n\tvec3 T1, T2;\n\tT1 = normalize( V - N * dot( V, N ) );\n\tT2 = - cross( N, T1 );\n\tmat3 mat = mInv * transposeMat3( mat3( T1, T2, N ) );\n\tvec3 coords[ 4 ];\n\tcoords[ 0 ] = mat * ( rectCoords[ 0 ] - P );\n\tcoords[ 1 ] = mat * ( rectCoords[ 1 ] - P );\n\tcoords[ 2 ] = mat * ( rectCoords[ 2 ] - P );\n\tcoords[ 3 ] = mat * ( rectCoords[ 3 ] - P );\n\tcoords[ 0 ] = normalize( coords[ 0 ] );\n\tcoords[ 1 ] = normalize( coords[ 1 ] );\n\tcoords[ 2 ] = normalize( coords[ 2 ] );\n\tcoords[ 3 ] = normalize( coords[ 3 ] );\n\tvec3 vectorFormFactor = vec3( 0.0 );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] );\n\tfloat result = LTC_ClippedSphereFormFactor( vectorFormFactor );\n\treturn vec3( result );\n}\nvec3 BRDF_Specular_GGX_Environment( const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float roughness ) {\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tvec2 brdf = integrateSpecularBRDF( dotNV, roughness );\n\treturn specularColor * brdf.x + brdf.y;\n}\nvoid BRDF_Specular_Multiscattering_Environment( const in GeometricContext geometry, const in vec3 specularColor, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\n\tfloat dotNV = saturate( dot( geometry.normal, geometry.viewDir ) );\n\tvec3 F = F_Schlick_RoughnessDependent( specularColor, dotNV, roughness );\n\tvec2 brdf = integrateSpecularBRDF( dotNV, roughness );\n\tvec3 FssEss = F * brdf.x + brdf.y;\n\tfloat Ess = brdf.x + brdf.y;\n\tfloat Ems = 1.0 - Ess;\n\tvec3 Favg = specularColor + ( 1.0 - specularColor ) * 0.047619;\tvec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg );\n\tsingleScatter += FssEss;\n\tmultiScatter += Fms * Ems;\n}\nfloat G_BlinnPhong_Implicit( ) {\n\treturn 0.25;\n}\nfloat D_BlinnPhong( const in float shininess, const in float dotNH ) {\n\treturn RECIPROCAL_PI * ( shininess * 0.5 + 1.0 ) * pow( dotNH, shininess );\n}\nvec3 BRDF_Specular_BlinnPhong( const in IncidentLight incidentLight, const in GeometricContext geometry, const in vec3 specularColor, const in float shininess ) {\n\tvec3 halfDir = normalize( incidentLight.direction + geometry.viewDir );\n\tfloat dotNH = saturate( dot( geometry.normal, halfDir ) );\n\tfloat dotLH = saturate( dot( incidentLight.direction, halfDir ) );\n\tvec3 F = F_Schlick( specularColor, dotLH );\n\tfloat G = G_BlinnPhong_Implicit( );\n\tfloat D = D_BlinnPhong( shininess, dotNH );\n\treturn F * ( G * D );\n}\nfloat GGXRoughnessToBlinnExponent( const in float ggxRoughness ) {\n\treturn ( 2.0 / pow2( ggxRoughness + 0.0001 ) - 2.0 );\n}\nfloat BlinnExponentToGGXRoughness( const in float blinnExponent ) {\n\treturn sqrt( 2.0 / ( blinnExponent + 2.0 ) );\n}\n#if defined( USE_SHEEN )\nfloat D_Charlie(float roughness, float NoH) {\n\tfloat invAlpha = 1.0 / roughness;\n\tfloat cos2h = NoH * NoH;\n\tfloat sin2h = max(1.0 - cos2h, 0.0078125);\treturn (2.0 + invAlpha) * pow(sin2h, invAlpha * 0.5) / (2.0 * PI);\n}\nfloat V_Neubelt(float NoV, float NoL) {\n\treturn saturate(1.0 / (4.0 * (NoL + NoV - NoL * NoV)));\n}\nvec3 BRDF_Specular_Sheen( const in float roughness, const in vec3 L, const in GeometricContext geometry, vec3 specularColor ) {\n\tvec3 N = geometry.normal;\n\tvec3 V = geometry.viewDir;\n\tvec3 H = normalize( V + L );\n\tfloat dotNH = saturate( dot( N, H ) );\n\treturn specularColor * D_Charlie( roughness, dotNH ) * V_Neubelt( dot(N, V), dot(N, L) );\n}\n#endif",
bumpmap_pars_fragment:"#ifdef USE_BUMPMAP\n\tuniform sampler2D bumpMap;\n\tuniform float bumpScale;\n\tvec2 dHdxy_fwd() {\n\t\tvec2 dSTdx = dFdx( vUv );\n\t\tvec2 dSTdy = dFdy( vUv );\n\t\tfloat Hll = bumpScale * texture2D( bumpMap, vUv ).x;\n\t\tfloat dBx = bumpScale * texture2D( bumpMap, vUv + dSTdx ).x - Hll;\n\t\tfloat dBy = bumpScale * texture2D( bumpMap, vUv + dSTdy ).x - Hll;\n\t\treturn vec2( dBx, dBy );\n\t}\n\tvec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy ) {\n\t\tvec3 vSigmaX = vec3( dFdx( surf_pos.x ), dFdx( surf_pos.y ), dFdx( surf_pos.z ) );\n\t\tvec3 vSigmaY = vec3( dFdy( surf_pos.x ), dFdy( surf_pos.y ), dFdy( surf_pos.z ) );\n\t\tvec3 vN = surf_norm;\n\t\tvec3 R1 = cross( vSigmaY, vN );\n\t\tvec3 R2 = cross( vN, vSigmaX );\n\t\tfloat fDet = dot( vSigmaX, R1 );\n\t\tfDet *= ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t\tvec3 vGrad = sign( fDet ) * ( dHdxy.x * R1 + dHdxy.y * R2 );\n\t\treturn normalize( abs( fDet ) * surf_norm - vGrad );\n\t}\n#endif",
clipping_planes_fragment:"#if NUM_CLIPPING_PLANES > 0\n\tvec4 plane;\n\t#pragma unroll_loop_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:"#ifdef USE_COLOR\n\tdiffuseColor.rgb *= vColor;\n#endif",color_pars_fragment:"#ifdef USE_COLOR\n\tvarying vec3 vColor;\n#endif",color_pars_vertex:"#ifdef USE_COLOR\n\tvarying vec3 vColor;\n#endif",
color_vertex:"#ifdef USE_COLOR\n\tvColor.xyz = color.xyz;\n#endif",common:"#define PI 3.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; }\nfloat pow3( const in float x ) { return x*x*x; }\nfloat pow4( const in float x ) { float x2 = x*x; return x2*x2; }\nfloat average( const in vec3 color ) { return dot( color, vec3( 0.3333 ) ); }\nhighp float rand( const in vec2 uv ) {\n\tconst highp float a = 12.9898, b = 78.233, c = 43758.5453;\n\thighp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI );\n\treturn fract(sin(sn) * c);\n}\n#ifdef HIGH_PRECISION\n\tfloat precisionSafeLength( vec3 v ) { return length( v ); }\n#else\n\tfloat max3( vec3 v ) { return max( max( v.x, v.y ), v.z ); }\n\tfloat precisionSafeLength( vec3 v ) {\n\t\tfloat maxComponent = max3( abs( v ) );\n\t\treturn length( v / maxComponent ) * maxComponent;\n\t}\n#endif\nstruct IncidentLight {\n\tvec3 color;\n\tvec3 direction;\n\tbool visible;\n};\nstruct ReflectedLight {\n\tvec3 directDiffuse;\n\tvec3 directSpecular;\n\tvec3 indirectDiffuse;\n\tvec3 indirectSpecular;\n};\nstruct GeometricContext {\n\tvec3 position;\n\tvec3 normal;\n\tvec3 viewDir;\n#ifdef CLEARCOAT\n\tvec3 clearcoatNormal;\n#endif\n};\nvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n}\nvec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) {\n\treturn normalize( ( vec4( dir, 0.0 ) * matrix ).xyz );\n}\nvec3 projectOnPlane(in vec3 point, in vec3 pointOnPlane, in vec3 planeNormal ) {\n\tfloat distance = dot( planeNormal, point - pointOnPlane );\n\treturn - distance * planeNormal + point;\n}\nfloat sideOfPlane( in vec3 point, in vec3 pointOnPlane, in vec3 planeNormal ) {\n\treturn sign( dot( point - pointOnPlane, planeNormal ) );\n}\nvec3 linePlaneIntersect( in vec3 pointOnLine, in vec3 lineDirection, in vec3 pointOnPlane, in vec3 planeNormal ) {\n\treturn lineDirection * ( dot( planeNormal, pointOnPlane - pointOnLine ) / dot( planeNormal, lineDirection ) ) + pointOnLine;\n}\nmat3 transposeMat3( const in mat3 m ) {\n\tmat3 tmp;\n\ttmp[ 0 ] = vec3( m[ 0 ].x, m[ 1 ].x, m[ 2 ].x );\n\ttmp[ 1 ] = vec3( m[ 0 ].y, m[ 1 ].y, m[ 2 ].y );\n\ttmp[ 2 ] = vec3( m[ 0 ].z, m[ 1 ].z, m[ 2 ].z );\n\treturn tmp;\n}\nfloat linearToRelativeLuminance( const in vec3 color ) {\n\tvec3 weights = vec3( 0.2126, 0.7152, 0.0722 );\n\treturn dot( weights, color.rgb );\n}\nbool isPerspectiveMatrix( mat4 m ) {\n return m[ 2 ][ 3 ] == - 1.0;\n}\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}",
cube_uv_reflection_fragment:"#ifdef ENVMAP_TYPE_CUBE_UV\n#define cubeUV_maxMipLevel 8.0\n#define cubeUV_minMipLevel 4.0\n#define cubeUV_maxTileSize 256.0\n#define cubeUV_minTileSize 16.0\nfloat getFace(vec3 direction) {\n vec3 absDirection = abs(direction);\n float face = -1.0;\n if (absDirection.x > absDirection.z) {\n if (absDirection.x > absDirection.y)\n face = direction.x > 0.0 ? 0.0 : 3.0;\n else\n face = direction.y > 0.0 ? 1.0 : 4.0;\n } else {\n if (absDirection.z > absDirection.y)\n face = direction.z > 0.0 ? 2.0 : 5.0;\n else\n face = direction.y > 0.0 ? 1.0 : 4.0;\n }\n return face;\n}\nvec2 getUV(vec3 direction, float face) {\n vec2 uv;\n if (face == 0.0) {\n uv = vec2(direction.z, direction.y) / abs(direction.x); } else if (face == 1.0) {\n uv = vec2(-direction.x, -direction.z) / abs(direction.y); } else if (face == 2.0) {\n uv = vec2(-direction.x, direction.y) / abs(direction.z); } else if (face == 3.0) {\n uv = vec2(-direction.z, direction.y) / abs(direction.x); } else if (face == 4.0) {\n uv = vec2(-direction.x, direction.z) / abs(direction.y); } else {\n uv = vec2(direction.x, direction.y) / abs(direction.z); }\n return 0.5 * (uv + 1.0);\n}\nvec3 bilinearCubeUV(sampler2D envMap, vec3 direction, float mipInt) {\n float face = getFace(direction);\n float filterInt = max(cubeUV_minMipLevel - mipInt, 0.0);\n mipInt = max(mipInt, cubeUV_minMipLevel);\n float faceSize = exp2(mipInt);\n float texelSize = 1.0 / (3.0 * cubeUV_maxTileSize);\n vec2 uv = getUV(direction, face) * (faceSize - 1.0);\n vec2 f = fract(uv);\n uv += 0.5 - f;\n if (face > 2.0) {\n uv.y += faceSize;\n face -= 3.0;\n }\n uv.x += face * faceSize;\n if(mipInt < cubeUV_maxMipLevel){\n uv.y += 2.0 * cubeUV_maxTileSize;\n }\n uv.y += filterInt * 2.0 * cubeUV_minTileSize;\n uv.x += 3.0 * max(0.0, cubeUV_maxTileSize - 2.0 * faceSize);\n uv *= texelSize;\n vec3 tl = envMapTexelToLinear(texture2D(envMap, uv)).rgb;\n uv.x += texelSize;\n vec3 tr = envMapTexelToLinear(texture2D(envMap, uv)).rgb;\n uv.y += texelSize;\n vec3 br = envMapTexelToLinear(texture2D(envMap, uv)).rgb;\n uv.x -= texelSize;\n vec3 bl = envMapTexelToLinear(texture2D(envMap, uv)).rgb;\n vec3 tm = mix(tl, tr, f.x);\n vec3 bm = mix(bl, br, f.x);\n return mix(tm, bm, f.y);\n}\n#define r0 1.0\n#define v0 0.339\n#define m0 -2.0\n#define r1 0.8\n#define v1 0.276\n#define m1 -1.0\n#define r4 0.4\n#define v4 0.046\n#define m4 2.0\n#define r5 0.305\n#define v5 0.016\n#define m5 3.0\n#define r6 0.21\n#define v6 0.0038\n#define m6 4.0\nfloat roughnessToMip(float roughness) {\n float mip = 0.0;\n if (roughness >= r1) {\n mip = (r0 - roughness) * (m1 - m0) / (r0 - r1) + m0;\n } else if (roughness >= r4) {\n mip = (r1 - roughness) * (m4 - m1) / (r1 - r4) + m1;\n } else if (roughness >= r5) {\n mip = (r4 - roughness) * (m5 - m4) / (r4 - r5) + m4;\n } else if (roughness >= r6) {\n mip = (r5 - roughness) * (m6 - m5) / (r5 - r6) + m5;\n } else {\n mip = -2.0 * log2(1.16 * roughness); }\n return mip;\n}\nvec4 textureCubeUV(sampler2D envMap, vec3 sampleDir, float roughness) {\n float mip = clamp(roughnessToMip(roughness), m0, cubeUV_maxMipLevel);\n float mipF = fract(mip);\n float mipInt = floor(mip);\n vec3 color0 = bilinearCubeUV(envMap, sampleDir, mipInt);\n if (mipF == 0.0) {\n return vec4(color0, 1.0);\n } else {\n vec3 color1 = bilinearCubeUV(envMap, sampleDir, mipInt + 1.0);\n return vec4(mix(color0, color1, mipF), 1.0);\n }\n}\n#endif",
defaultnormal_vertex:"vec3 transformedNormal = objectNormal;\n#ifdef USE_INSTANCING\n\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, vUv ).x * displacementScale + displacementBias );\n#endif",emissivemap_fragment:"#ifdef USE_EMISSIVEMAP\n\tvec4 emissiveColor = texture2D( emissiveMap, vUv );\n\temissiveColor.rgb = emissiveMapTexelToLinear( emissiveColor ).rgb;\n\ttotalEmissiveRadiance *= emissiveColor.rgb;\n#endif",
emissivemap_pars_fragment:"#ifdef USE_EMISSIVEMAP\n\tuniform sampler2D emissiveMap;\n#endif",encodings_fragment:"gl_FragColor = linearToOutputTexel( gl_FragColor );",encodings_pars_fragment:"\nvec4 LinearToLinear( in vec4 value ) {\n\treturn value;\n}\nvec4 GammaToLinear( in vec4 value, in float gammaFactor ) {\n\treturn vec4( pow( value.rgb, vec3( gammaFactor ) ), value.a );\n}\nvec4 LinearToGamma( in vec4 value, in float gammaFactor ) {\n\treturn vec4( pow( value.rgb, vec3( 1.0 / gammaFactor ) ), value.a );\n}\nvec4 sRGBToLinear( in vec4 value ) {\n\treturn vec4( mix( pow( value.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), value.rgb * 0.0773993808, vec3( lessThanEqual( value.rgb, vec3( 0.04045 ) ) ) ), value.a );\n}\nvec4 LinearTosRGB( in vec4 value ) {\n\treturn vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a );\n}\nvec4 RGBEToLinear( in vec4 value ) {\n\treturn vec4( value.rgb * exp2( value.a * 255.0 - 128.0 ), 1.0 );\n}\nvec4 LinearToRGBE( in vec4 value ) {\n\tfloat maxComponent = max( max( value.r, value.g ), value.b );\n\tfloat fExp = clamp( ceil( log2( maxComponent ) ), -128.0, 127.0 );\n\treturn vec4( value.rgb / exp2( fExp ), ( fExp + 128.0 ) / 255.0 );\n}\nvec4 RGBMToLinear( in vec4 value, in float maxRange ) {\n\treturn vec4( value.rgb * value.a * maxRange, 1.0 );\n}\nvec4 LinearToRGBM( in vec4 value, in float maxRange ) {\n\tfloat maxRGB = max( value.r, max( value.g, value.b ) );\n\tfloat M = clamp( maxRGB / maxRange, 0.0, 1.0 );\n\tM = ceil( M * 255.0 ) / 255.0;\n\treturn vec4( value.rgb / ( M * maxRange ), M );\n}\nvec4 RGBDToLinear( in vec4 value, in float maxRange ) {\n\treturn vec4( value.rgb * ( ( maxRange / 255.0 ) / value.a ), 1.0 );\n}\nvec4 LinearToRGBD( in vec4 value, in float maxRange ) {\n\tfloat maxRGB = max( value.r, max( value.g, value.b ) );\n\tfloat D = max( maxRange / maxRGB, 1.0 );\n\tD = clamp( floor( D ) / 255.0, 0.0, 1.0 );\n\treturn vec4( value.rgb * ( D * ( 255.0 / maxRange ) ), D );\n}\nconst mat3 cLogLuvM = mat3( 0.2209, 0.3390, 0.4184, 0.1138, 0.6780, 0.7319, 0.0102, 0.1130, 0.2969 );\nvec4 LinearToLogLuv( in vec4 value ) {\n\tvec3 Xp_Y_XYZp = cLogLuvM * value.rgb;\n\tXp_Y_XYZp = max( Xp_Y_XYZp, vec3( 1e-6, 1e-6, 1e-6 ) );\n\tvec4 vResult;\n\tvResult.xy = Xp_Y_XYZp.xy / Xp_Y_XYZp.z;\n\tfloat Le = 2.0 * log2(Xp_Y_XYZp.y) + 127.0;\n\tvResult.w = fract( Le );\n\tvResult.z = ( Le - ( floor( vResult.w * 255.0 ) ) / 255.0 ) / 255.0;\n\treturn vResult;\n}\nconst mat3 cLogLuvInverseM = mat3( 6.0014, -2.7008, -1.7996, -1.3320, 3.1029, -5.7721, 0.3008, -1.0882, 5.6268 );\nvec4 LogLuvToLinear( in vec4 value ) {\n\tfloat Le = value.z * 255.0 + value.w;\n\tvec3 Xp_Y_XYZp;\n\tXp_Y_XYZp.y = exp2( ( Le - 127.0 ) / 2.0 );\n\tXp_Y_XYZp.z = Xp_Y_XYZp.y / value.y;\n\tXp_Y_XYZp.x = value.x * Xp_Y_XYZp.z;\n\tvec3 vRGB = cLogLuvInverseM * Xp_Y_XYZp.rgb;\n\treturn vec4( max( vRGB, 0.0 ), 1.0 );\n}",
envmap_fragment:"#ifdef USE_ENVMAP\n\t#ifdef ENV_WORLDPOS\n\t\tvec3 cameraToFrag;\n\t\t\n\t\tif ( isOrthographic ) {\n\t\t\tcameraToFrag = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n\t\t} else {\n\t\t\tcameraToFrag = normalize( vWorldPosition - cameraPosition );\n\t\t}\n\t\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t\tvec3 reflectVec = reflect( cameraToFrag, worldNormal );\n\t\t#else\n\t\t\tvec3 reflectVec = refract( cameraToFrag, worldNormal, refractionRatio );\n\t\t#endif\n\t#else\n\t\tvec3 reflectVec = vReflect;\n\t#endif\n\t#ifdef ENVMAP_TYPE_CUBE\n\t\tvec4 envColor = textureCube( envMap, vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) );\n\t#elif defined( ENVMAP_TYPE_CUBE_UV )\n\t\tvec4 envColor = textureCubeUV( envMap, reflectVec, 0.0 );\n\t#elif defined( ENVMAP_TYPE_EQUIREC )\n\t\treflectVec = normalize( reflectVec );\n\t\tvec2 sampleUV = equirectUv( reflectVec );\n\t\tvec4 envColor = texture2D( envMap, sampleUV );\n\t#else\n\t\tvec4 envColor = vec4( 0.0 );\n\t#endif\n\t#ifndef ENVMAP_TYPE_CUBE_UV\n\t\tenvColor = envMapTexelToLinear( envColor );\n\t#endif\n\t#ifdef ENVMAP_BLENDING_MULTIPLY\n\t\toutgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity );\n\t#elif defined( ENVMAP_BLENDING_MIX )\n\t\toutgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity );\n\t#elif defined( ENVMAP_BLENDING_ADD )\n\t\toutgoingLight += envColor.xyz * specularStrength * reflectivity;\n\t#endif\n#endif",
envmap_common_pars_fragment:"#ifdef USE_ENVMAP\n\tuniform float envMapIntensity;\n\tuniform float flipEnvMap;\n\tuniform int maxMipLevel;\n\t#ifdef ENVMAP_TYPE_CUBE\n\t\tuniform samplerCube envMap;\n\t#else\n\t\tuniform sampler2D envMap;\n\t#endif\n\t\n#endif",envmap_pars_fragment:"#ifdef USE_ENVMAP\n\tuniform float reflectivity;\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG )\n\t\t#define ENV_WORLDPOS\n\t#endif\n\t#ifdef ENV_WORLDPOS\n\t\tvarying vec3 vWorldPosition;\n\t\tuniform float refractionRatio;\n\t#else\n\t\tvarying vec3 vReflect;\n\t#endif\n#endif",
envmap_pars_vertex:"#ifdef USE_ENVMAP\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) ||defined( PHONG )\n\t\t#define ENV_WORLDPOS\n\t#endif\n\t#ifdef ENV_WORLDPOS\n\t\t\n\t\tvarying vec3 vWorldPosition;\n\t#else\n\t\tvarying vec3 vReflect;\n\t\tuniform float refractionRatio;\n\t#endif\n#endif",envmap_physical_pars_fragment:"#if defined( USE_ENVMAP )\n\t#ifdef ENVMAP_MODE_REFRACTION\n\t\tuniform float refractionRatio;\n\t#endif\n\tvec3 getLightProbeIndirectIrradiance( const in GeometricContext geometry, const in int maxMIPLevel ) {\n\t\tvec3 worldNormal = inverseTransformDirection( geometry.normal, viewMatrix );\n\t\t#ifdef ENVMAP_TYPE_CUBE\n\t\t\tvec3 queryVec = vec3( flipEnvMap * worldNormal.x, worldNormal.yz );\n\t\t\t#ifdef TEXTURE_LOD_EXT\n\t\t\t\tvec4 envMapColor = textureCubeLodEXT( envMap, queryVec, float( maxMIPLevel ) );\n\t\t\t#else\n\t\t\t\tvec4 envMapColor = textureCube( envMap, queryVec, float( maxMIPLevel ) );\n\t\t\t#endif\n\t\t\tenvMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb;\n\t\t#elif defined( ENVMAP_TYPE_CUBE_UV )\n\t\t\tvec4 envMapColor = textureCubeUV( envMap, worldNormal, 1.0 );\n\t\t#else\n\t\t\tvec4 envMapColor = vec4( 0.0 );\n\t\t#endif\n\t\treturn PI * envMapColor.rgb * envMapIntensity;\n\t}\n\tfloat getSpecularMIPLevel( const in float roughness, const in int maxMIPLevel ) {\n\t\tfloat maxMIPLevelScalar = float( maxMIPLevel );\n\t\tfloat sigma = PI * roughness * roughness / ( 1.0 + roughness );\n\t\tfloat desiredMIPLevel = maxMIPLevelScalar + log2( sigma );\n\t\treturn clamp( desiredMIPLevel, 0.0, maxMIPLevelScalar );\n\t}\n\tvec3 getLightProbeIndirectRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness, const in int maxMIPLevel ) {\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t vec3 reflectVec = reflect( -viewDir, normal );\n\t\t reflectVec = normalize( mix( reflectVec, normal, roughness * roughness) );\n\t\t#else\n\t\t vec3 reflectVec = refract( -viewDir, normal, refractionRatio );\n\t\t#endif\n\t\treflectVec = inverseTransformDirection( reflectVec, viewMatrix );\n\t\tfloat specularMIPLevel = getSpecularMIPLevel( roughness, maxMIPLevel );\n\t\t#ifdef ENVMAP_TYPE_CUBE\n\t\t\tvec3 queryReflectVec = vec3( flipEnvMap * reflectVec.x, reflectVec.yz );\n\t\t\t#ifdef TEXTURE_LOD_EXT\n\t\t\t\tvec4 envMapColor = textureCubeLodEXT( envMap, queryReflectVec, specularMIPLevel );\n\t\t\t#else\n\t\t\t\tvec4 envMapColor = textureCube( envMap, queryReflectVec, specularMIPLevel );\n\t\t\t#endif\n\t\t\tenvMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb;\n\t\t#elif defined( ENVMAP_TYPE_CUBE_UV )\n\t\t\tvec4 envMapColor = textureCubeUV( envMap, reflectVec, roughness );\n\t\t#elif defined( ENVMAP_TYPE_EQUIREC )\n\t\t\tvec2 sampleUV = equirectUv( reflectVec );\n\t\t\t#ifdef TEXTURE_LOD_EXT\n\t\t\t\tvec4 envMapColor = texture2DLodEXT( envMap, sampleUV, specularMIPLevel );\n\t\t\t#else\n\t\t\t\tvec4 envMapColor = texture2D( envMap, sampleUV, specularMIPLevel );\n\t\t\t#endif\n\t\t\tenvMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb;\n\t\t#endif\n\t\treturn envMapColor.rgb * envMapIntensity;\n\t}\n#endif",
envmap_vertex:"#ifdef USE_ENVMAP\n\t#ifdef ENV_WORLDPOS\n\t\tvWorldPosition = worldPosition.xyz;\n\t#else\n\t\tvec3 cameraToVertex;\n\t\tif ( isOrthographic ) { \n\t\t\tcameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n\t\t} else {\n\t\t\tcameraToVertex = normalize( worldPosition.xyz - cameraPosition );\n\t\t}\n\t\tvec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t\tvReflect = reflect( cameraToVertex, worldNormal );\n\t\t#else\n\t\t\tvReflect = refract( cameraToVertex, worldNormal, refractionRatio );\n\t\t#endif\n\t#endif\n#endif",
fog_vertex:"#ifdef USE_FOG\n\tfogDepth = -mvPosition.z;\n#endif",fog_pars_vertex:"#ifdef USE_FOG\n\tvarying float fogDepth;\n#endif",fog_fragment:"#ifdef USE_FOG\n\t#ifdef FOG_EXP2\n\t\tfloat fogFactor = 1.0 - exp( - fogDensity * fogDensity * fogDepth * fogDepth );\n\t#else\n\t\tfloat fogFactor = smoothstep( fogNear, fogFar, fogDepth );\n\t#endif\n\tgl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor );\n#endif",fog_pars_fragment:"#ifdef USE_FOG\n\tuniform vec3 fogColor;\n\tvarying float fogDepth;\n\t#ifdef FOG_EXP2\n\t\tuniform float fogDensity;\n\t#else\n\t\tuniform float fogNear;\n\t\tuniform float fogFar;\n\t#endif\n#endif",
gradientmap_pars_fragment:"#ifdef USE_GRADIENTMAP\n\tuniform sampler2D gradientMap;\n#endif\nvec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) {\n\tfloat dotNL = dot( normal, lightDirection );\n\tvec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 );\n\t#ifdef USE_GRADIENTMAP\n\t\treturn texture2D( gradientMap, coord ).rgb;\n\t#else\n\t\treturn ( coord.x < 0.7 ) ? vec3( 0.7 ) : vec3( 1.0 );\n\t#endif\n}",lightmap_fragment:"#ifdef USE_LIGHTMAP\n\tvec4 lightMapTexel= texture2D( lightMap, vUv2 );\n\treflectedLight.indirectDiffuse += PI * lightMapTexelToLinear( lightMapTexel ).rgb * lightMapIntensity;\n#endif",
lightmap_pars_fragment:"#ifdef USE_LIGHTMAP\n\tuniform sampler2D lightMap;\n\tuniform float lightMapIntensity;\n#endif",lights_lambert_vertex:"vec3 diffuse = vec3( 1.0 );\nGeometricContext geometry;\ngeometry.position = mvPosition.xyz;\ngeometry.normal = normalize( transformedNormal );\ngeometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( -mvPosition.xyz );\nGeometricContext backGeometry;\nbackGeometry.position = geometry.position;\nbackGeometry.normal = -geometry.normal;\nbackGeometry.viewDir = geometry.viewDir;\nvLightFront = vec3( 0.0 );\nvIndirectFront = vec3( 0.0 );\n#ifdef DOUBLE_SIDED\n\tvLightBack = vec3( 0.0 );\n\tvIndirectBack = vec3( 0.0 );\n#endif\nIncidentLight directLight;\nfloat dotNL;\nvec3 directLightColor_Diffuse;\nvIndirectFront += getAmbientLightIrradiance( ambientLightColor );\nvIndirectFront += getLightProbeIrradiance( lightProbe, geometry );\n#ifdef DOUBLE_SIDED\n\tvIndirectBack += getAmbientLightIrradiance( ambientLightColor );\n\tvIndirectBack += getLightProbeIrradiance( lightProbe, backGeometry );\n#endif\n#if NUM_POINT_LIGHTS > 0\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\n\t\tgetPointDirectLightIrradiance( pointLights[ i ], geometry, directLight );\n\t\tdotNL = dot( geometry.normal, directLight.direction );\n\t\tdirectLightColor_Diffuse = PI * directLight.color;\n\t\tvLightFront += saturate( dotNL ) * directLightColor_Diffuse;\n\t\t#ifdef DOUBLE_SIDED\n\t\t\tvLightBack += saturate( -dotNL ) * directLightColor_Diffuse;\n\t\t#endif\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if NUM_SPOT_LIGHTS > 0\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\n\t\tgetSpotDirectLightIrradiance( spotLights[ i ], geometry, directLight );\n\t\tdotNL = dot( geometry.normal, directLight.direction );\n\t\tdirectLightColor_Diffuse = PI * directLight.color;\n\t\tvLightFront += saturate( dotNL ) * directLightColor_Diffuse;\n\t\t#ifdef DOUBLE_SIDED\n\t\t\tvLightBack += saturate( -dotNL ) * directLightColor_Diffuse;\n\t\t#endif\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if NUM_DIR_LIGHTS > 0\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n\t\tgetDirectionalDirectLightIrradiance( directionalLights[ i ], geometry, directLight );\n\t\tdotNL = dot( geometry.normal, directLight.direction );\n\t\tdirectLightColor_Diffuse = PI * directLight.color;\n\t\tvLightFront += saturate( dotNL ) * directLightColor_Diffuse;\n\t\t#ifdef DOUBLE_SIDED\n\t\t\tvLightBack += saturate( -dotNL ) * directLightColor_Diffuse;\n\t\t#endif\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if NUM_HEMI_LIGHTS > 0\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\n\t\tvIndirectFront += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry );\n\t\t#ifdef DOUBLE_SIDED\n\t\t\tvIndirectBack += getHemisphereLightIrradiance( hemisphereLights[ i ], backGeometry );\n\t\t#endif\n\t}\n\t#pragma unroll_loop_end\n#endif",
lights_pars_begin:"uniform bool receiveShadow;\nuniform vec3 ambientLightColor;\nuniform vec3 lightProbe[ 9 ];\nvec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) {\n\tfloat x = normal.x, y = normal.y, z = normal.z;\n\tvec3 result = shCoefficients[ 0 ] * 0.886227;\n\tresult += shCoefficients[ 1 ] * 2.0 * 0.511664 * y;\n\tresult += shCoefficients[ 2 ] * 2.0 * 0.511664 * z;\n\tresult += shCoefficients[ 3 ] * 2.0 * 0.511664 * x;\n\tresult += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y;\n\tresult += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z;\n\tresult += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 );\n\tresult += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z;\n\tresult += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y );\n\treturn result;\n}\nvec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in GeometricContext geometry ) {\n\tvec3 worldNormal = inverseTransformDirection( geometry.normal, viewMatrix );\n\tvec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe );\n\treturn irradiance;\n}\nvec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) {\n\tvec3 irradiance = ambientLightColor;\n\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\tirradiance *= PI;\n\t#endif\n\treturn irradiance;\n}\n#if NUM_DIR_LIGHTS > 0\n\tstruct DirectionalLight {\n\t\tvec3 direction;\n\t\tvec3 color;\n\t};\n\tuniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ];\n\tvoid getDirectionalDirectLightIrradiance( const in DirectionalLight directionalLight, const in GeometricContext geometry, out IncidentLight directLight ) {\n\t\tdirectLight.color = directionalLight.color;\n\t\tdirectLight.direction = directionalLight.direction;\n\t\tdirectLight.visible = true;\n\t}\n#endif\n#if NUM_POINT_LIGHTS > 0\n\tstruct PointLight {\n\t\tvec3 position;\n\t\tvec3 color;\n\t\tfloat distance;\n\t\tfloat decay;\n\t};\n\tuniform PointLight pointLights[ NUM_POINT_LIGHTS ];\n\tvoid getPointDirectLightIrradiance( const in PointLight pointLight, const in GeometricContext geometry, out IncidentLight directLight ) {\n\t\tvec3 lVector = pointLight.position - geometry.position;\n\t\tdirectLight.direction = normalize( lVector );\n\t\tfloat lightDistance = length( lVector );\n\t\tdirectLight.color = pointLight.color;\n\t\tdirectLight.color *= punctualLightIntensityToIrradianceFactor( lightDistance, pointLight.distance, pointLight.decay );\n\t\tdirectLight.visible = ( directLight.color != vec3( 0.0 ) );\n\t}\n#endif\n#if NUM_SPOT_LIGHTS > 0\n\tstruct SpotLight {\n\t\tvec3 position;\n\t\tvec3 direction;\n\t\tvec3 color;\n\t\tfloat distance;\n\t\tfloat decay;\n\t\tfloat coneCos;\n\t\tfloat penumbraCos;\n\t};\n\tuniform SpotLight spotLights[ NUM_SPOT_LIGHTS ];\n\tvoid getSpotDirectLightIrradiance( const in SpotLight spotLight, const in GeometricContext geometry, out IncidentLight directLight ) {\n\t\tvec3 lVector = spotLight.position - geometry.position;\n\t\tdirectLight.direction = normalize( lVector );\n\t\tfloat lightDistance = length( lVector );\n\t\tfloat angleCos = dot( directLight.direction, spotLight.direction );\n\t\tif ( angleCos > spotLight.coneCos ) {\n\t\t\tfloat spotEffect = smoothstep( spotLight.coneCos, spotLight.penumbraCos, angleCos );\n\t\t\tdirectLight.color = spotLight.color;\n\t\t\tdirectLight.color *= spotEffect * punctualLightIntensityToIrradianceFactor( lightDistance, spotLight.distance, spotLight.decay );\n\t\t\tdirectLight.visible = true;\n\t\t} else {\n\t\t\tdirectLight.color = vec3( 0.0 );\n\t\t\tdirectLight.visible = false;\n\t\t}\n\t}\n#endif\n#if NUM_RECT_AREA_LIGHTS > 0\n\tstruct RectAreaLight {\n\t\tvec3 color;\n\t\tvec3 position;\n\t\tvec3 halfWidth;\n\t\tvec3 halfHeight;\n\t};\n\tuniform sampler2D ltc_1;\tuniform sampler2D ltc_2;\n\tuniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ];\n#endif\n#if NUM_HEMI_LIGHTS > 0\n\tstruct HemisphereLight {\n\t\tvec3 direction;\n\t\tvec3 skyColor;\n\t\tvec3 groundColor;\n\t};\n\tuniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ];\n\tvec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in GeometricContext geometry ) {\n\t\tfloat dotNL = dot( geometry.normal, hemiLight.direction );\n\t\tfloat hemiDiffuseWeight = 0.5 * dotNL + 0.5;\n\t\tvec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight );\n\t\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\t\tirradiance *= PI;\n\t\t#endif\n\t\treturn irradiance;\n\t}\n#endif",
lights_toon_fragment:"ToonMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularColor = specular;\nmaterial.specularShininess = shininess;\nmaterial.specularStrength = specularStrength;",lights_toon_pars_fragment:"varying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\nstruct ToonMaterial {\n\tvec3\tdiffuseColor;\n\tvec3\tspecularColor;\n\tfloat\tspecularShininess;\n\tfloat\tspecularStrength;\n};\nvoid RE_Direct_Toon( const in IncidentLight directLight, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n\tvec3 irradiance = getGradientIrradiance( geometry.normal, directLight.direction ) * directLight.color;\n\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\tirradiance *= PI;\n\t#endif\n\treflectedLight.directDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n\treflectedLight.directSpecular += irradiance * BRDF_Specular_BlinnPhong( directLight, geometry, material.specularColor, material.specularShininess ) * material.specularStrength;\n}\nvoid RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_Toon\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Toon\n#define Material_LightProbeLOD( material )\t(0)",
lights_phong_fragment:"BlinnPhongMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularColor = specular;\nmaterial.specularShininess = shininess;\nmaterial.specularStrength = specularStrength;",lights_phong_pars_fragment:"varying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\nstruct BlinnPhongMaterial {\n\tvec3\tdiffuseColor;\n\tvec3\tspecularColor;\n\tfloat\tspecularShininess;\n\tfloat\tspecularStrength;\n};\nvoid RE_Direct_BlinnPhong( const in IncidentLight directLight, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\tirradiance *= PI;\n\t#endif\n\treflectedLight.directDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n\treflectedLight.directSpecular += irradiance * BRDF_Specular_BlinnPhong( directLight, geometry, material.specularColor, material.specularShininess ) * material.specularStrength;\n}\nvoid RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_BlinnPhong\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_BlinnPhong\n#define Material_LightProbeLOD( material )\t(0)",
lights_physical_fragment:"PhysicalMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor );\nvec3 dxy = max( abs( dFdx( geometryNormal ) ), abs( dFdy( geometryNormal ) ) );\nfloat geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z );\nmaterial.specularRoughness = max( roughnessFactor, 0.0525 );material.specularRoughness += geometryRoughness;\nmaterial.specularRoughness = min( material.specularRoughness, 1.0 );\n#ifdef REFLECTIVITY\n\tmaterial.specularColor = mix( vec3( MAXIMUM_SPECULAR_COEFFICIENT * pow2( reflectivity ) ), diffuseColor.rgb, metalnessFactor );\n#else\n\tmaterial.specularColor = mix( vec3( DEFAULT_SPECULAR_COEFFICIENT ), diffuseColor.rgb, metalnessFactor );\n#endif\n#ifdef CLEARCOAT\n\tmaterial.clearcoat = clearcoat;\n\tmaterial.clearcoatRoughness = clearcoatRoughness;\n\t#ifdef USE_CLEARCOATMAP\n\t\tmaterial.clearcoat *= texture2D( clearcoatMap, vUv ).x;\n\t#endif\n\t#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\t\tmaterial.clearcoatRoughness *= texture2D( clearcoatRoughnessMap, vUv ).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_SHEEN\n\tmaterial.sheenColor = sheen;\n#endif",
lights_physical_pars_fragment:"struct PhysicalMaterial {\n\tvec3\tdiffuseColor;\n\tfloat\tspecularRoughness;\n\tvec3\tspecularColor;\n#ifdef CLEARCOAT\n\tfloat clearcoat;\n\tfloat clearcoatRoughness;\n#endif\n#ifdef USE_SHEEN\n\tvec3 sheenColor;\n#endif\n};\n#define MAXIMUM_SPECULAR_COEFFICIENT 0.16\n#define DEFAULT_SPECULAR_COEFFICIENT 0.04\nfloat clearcoatDHRApprox( const in float roughness, const in float dotNL ) {\n\treturn DEFAULT_SPECULAR_COEFFICIENT + ( 1.0 - DEFAULT_SPECULAR_COEFFICIENT ) * ( pow( 1.0 - dotNL, 5.0 ) * pow( 1.0 - roughness, 2.0 ) );\n}\n#if NUM_RECT_AREA_LIGHTS > 0\n\tvoid RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\t\tvec3 normal = geometry.normal;\n\t\tvec3 viewDir = geometry.viewDir;\n\t\tvec3 position = geometry.position;\n\t\tvec3 lightPos = rectAreaLight.position;\n\t\tvec3 halfWidth = rectAreaLight.halfWidth;\n\t\tvec3 halfHeight = rectAreaLight.halfHeight;\n\t\tvec3 lightColor = rectAreaLight.color;\n\t\tfloat roughness = material.specularRoughness;\n\t\tvec3 rectCoords[ 4 ];\n\t\trectCoords[ 0 ] = lightPos + halfWidth - halfHeight;\t\trectCoords[ 1 ] = lightPos - halfWidth - halfHeight;\n\t\trectCoords[ 2 ] = lightPos - halfWidth + halfHeight;\n\t\trectCoords[ 3 ] = lightPos + halfWidth + halfHeight;\n\t\tvec2 uv = LTC_Uv( normal, viewDir, roughness );\n\t\tvec4 t1 = texture2D( ltc_1, uv );\n\t\tvec4 t2 = texture2D( ltc_2, uv );\n\t\tmat3 mInv = mat3(\n\t\t\tvec3( t1.x, 0, t1.y ),\n\t\t\tvec3( 0, 1, 0 ),\n\t\t\tvec3( t1.z, 0, t1.w )\n\t\t);\n\t\tvec3 fresnel = ( material.specularColor * t2.x + ( vec3( 1.0 ) - material.specularColor ) * t2.y );\n\t\treflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords );\n\t\treflectedLight.directDiffuse += lightColor * material.diffuseColor * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords );\n\t}\n#endif\nvoid RE_Direct_Physical( const in IncidentLight directLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\tirradiance *= PI;\n\t#endif\n\t#ifdef CLEARCOAT\n\t\tfloat ccDotNL = saturate( dot( geometry.clearcoatNormal, directLight.direction ) );\n\t\tvec3 ccIrradiance = ccDotNL * directLight.color;\n\t\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\t\tccIrradiance *= PI;\n\t\t#endif\n\t\tfloat clearcoatDHR = material.clearcoat * clearcoatDHRApprox( material.clearcoatRoughness, ccDotNL );\n\t\treflectedLight.directSpecular += ccIrradiance * material.clearcoat * BRDF_Specular_GGX( directLight, geometry.viewDir, geometry.clearcoatNormal, vec3( DEFAULT_SPECULAR_COEFFICIENT ), material.clearcoatRoughness );\n\t#else\n\t\tfloat clearcoatDHR = 0.0;\n\t#endif\n\t#ifdef USE_SHEEN\n\t\treflectedLight.directSpecular += ( 1.0 - clearcoatDHR ) * irradiance * BRDF_Specular_Sheen(\n\t\t\tmaterial.specularRoughness,\n\t\t\tdirectLight.direction,\n\t\t\tgeometry,\n\t\t\tmaterial.sheenColor\n\t\t);\n\t#else\n\t\treflectedLight.directSpecular += ( 1.0 - clearcoatDHR ) * irradiance * BRDF_Specular_GGX( directLight, geometry.viewDir, geometry.normal, material.specularColor, material.specularRoughness);\n\t#endif\n\treflectedLight.directDiffuse += ( 1.0 - clearcoatDHR ) * irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\n\t#ifdef CLEARCOAT\n\t\tfloat ccDotNV = saturate( dot( geometry.clearcoatNormal, geometry.viewDir ) );\n\t\treflectedLight.indirectSpecular += clearcoatRadiance * material.clearcoat * BRDF_Specular_GGX_Environment( geometry.viewDir, geometry.clearcoatNormal, vec3( DEFAULT_SPECULAR_COEFFICIENT ), material.clearcoatRoughness );\n\t\tfloat ccDotNL = ccDotNV;\n\t\tfloat clearcoatDHR = material.clearcoat * clearcoatDHRApprox( material.clearcoatRoughness, ccDotNL );\n\t#else\n\t\tfloat clearcoatDHR = 0.0;\n\t#endif\n\tfloat clearcoatInv = 1.0 - clearcoatDHR;\n\tvec3 singleScattering = vec3( 0.0 );\n\tvec3 multiScattering = vec3( 0.0 );\n\tvec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI;\n\tBRDF_Specular_Multiscattering_Environment( geometry, material.specularColor, material.specularRoughness, singleScattering, multiScattering );\n\tvec3 diffuse = material.diffuseColor * ( 1.0 - ( singleScattering + multiScattering ) );\n\treflectedLight.indirectSpecular += clearcoatInv * radiance * singleScattering;\n\treflectedLight.indirectSpecular += multiScattering * cosineWeightedIrradiance;\n\treflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance;\n}\n#define RE_Direct\t\t\t\tRE_Direct_Physical\n#define RE_Direct_RectArea\t\tRE_Direct_RectArea_Physical\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Physical\n#define RE_IndirectSpecular\t\tRE_IndirectSpecular_Physical\nfloat computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) {\n\treturn saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion );\n}",
lights_fragment_begin:"\nGeometricContext geometry;\ngeometry.position = - vViewPosition;\ngeometry.normal = normal;\ngeometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition );\n#ifdef CLEARCOAT\n\tgeometry.clearcoatNormal = clearcoatNormal;\n#endif\nIncidentLight directLight;\n#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct )\n\tPointLight pointLight;\n\t#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\tgetPointDirectLightIrradiance( 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 *= all( bvec2( 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\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\tgetSpotDirectLightIrradiance( spotLight, geometry, directLight );\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n\t\tspotLightShadow = spotLightShadows[ i ];\n\t\tdirectLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getShadow( spotShadowMap[ i ], spotLightShadow.shadowMapSize, spotLightShadow.shadowBias, spotLightShadow.shadowRadius, vSpotShadowCoord[ 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\tgetDirectionalDirectLightIrradiance( 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 *= all( bvec2( 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 );\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 );\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, vUv2 );\n\t\tvec3 lightMapIrradiance = lightMapTexelToLinear( lightMapTexel ).rgb * lightMapIntensity;\n\t\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\t\tlightMapIrradiance *= PI;\n\t\t#endif\n\t\tirradiance += lightMapIrradiance;\n\t#endif\n\t#if defined( USE_ENVMAP ) && defined( STANDARD ) && defined( ENVMAP_TYPE_CUBE_UV )\n\t\tiblIrradiance += getLightProbeIndirectIrradiance( geometry, maxMipLevel );\n\t#endif\n#endif\n#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular )\n\tradiance += getLightProbeIndirectRadiance( geometry.viewDir, geometry.normal, material.specularRoughness, maxMipLevel );\n\t#ifdef CLEARCOAT\n\t\tclearcoatRadiance += getLightProbeIndirectRadiance( geometry.viewDir, geometry.clearcoatNormal, material.clearcoatRoughness, maxMipLevel );\n\t#endif\n#endif",
lights_fragment_end:"#if defined( RE_IndirectDiffuse )\n\tRE_IndirectDiffuse( irradiance, geometry, material, reflectedLight );\n#endif\n#if defined( RE_IndirectSpecular )\n\tRE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometry, material, reflectedLight );\n#endif",logdepthbuf_fragment:"#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\n\tgl_FragDepthEXT = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5;\n#endif",logdepthbuf_pars_fragment:"#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\n\tuniform float logDepthBufFC;\n\tvarying float vFragDepth;\n\tvarying float vIsPerspective;\n#endif",
logdepthbuf_pars_vertex:"#ifdef USE_LOGDEPTHBUF\n\t#ifdef USE_LOGDEPTHBUF_EXT\n\t\tvarying float vFragDepth;\n\t\tvarying float vIsPerspective;\n\t#else\n\t\tuniform float logDepthBufFC;\n\t#endif\n#endif",logdepthbuf_vertex:"#ifdef USE_LOGDEPTHBUF\n\t#ifdef USE_LOGDEPTHBUF_EXT\n\t\tvFragDepth = 1.0 + gl_Position.w;\n\t\tvIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) );\n\t#else\n\t\tif ( isPerspectiveMatrix( projectionMatrix ) ) {\n\t\t\tgl_Position.z = log2( max( EPSILON, gl_Position.w + 1.0 ) ) * logDepthBufFC - 1.0;\n\t\t\tgl_Position.z *= gl_Position.w;\n\t\t}\n\t#endif\n#endif",
map_fragment:"#ifdef USE_MAP\n\tvec4 texelColor = texture2D( map, vUv );\n\ttexelColor = mapTexelToLinear( texelColor );\n\tdiffuseColor *= texelColor;\n#endif",map_pars_fragment:"#ifdef USE_MAP\n\tuniform sampler2D map;\n#endif",map_particle_fragment:"#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n\tvec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy;\n#endif\n#ifdef USE_MAP\n\tvec4 mapTexel = texture2D( map, uv );\n\tdiffuseColor *= mapTexelToLinear( mapTexel );\n#endif\n#ifdef USE_ALPHAMAP\n\tdiffuseColor.a *= texture2D( alphaMap, uv ).g;\n#endif",
map_particle_pars_fragment:"#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n\tuniform mat3 uvTransform;\n#endif\n#ifdef USE_MAP\n\tuniform sampler2D map;\n#endif\n#ifdef USE_ALPHAMAP\n\tuniform sampler2D alphaMap;\n#endif",metalnessmap_fragment:"float metalnessFactor = metalness;\n#ifdef USE_METALNESSMAP\n\tvec4 texelMetalness = texture2D( metalnessMap, vUv );\n\tmetalnessFactor *= texelMetalness.b;\n#endif",metalnessmap_pars_fragment:"#ifdef USE_METALNESSMAP\n\tuniform sampler2D metalnessMap;\n#endif",
morphnormal_vertex:"#ifdef USE_MORPHNORMALS\n\tobjectNormal *= morphTargetBaseInfluence;\n\tobjectNormal += morphNormal0 * morphTargetInfluences[ 0 ];\n\tobjectNormal += morphNormal1 * morphTargetInfluences[ 1 ];\n\tobjectNormal += morphNormal2 * morphTargetInfluences[ 2 ];\n\tobjectNormal += morphNormal3 * morphTargetInfluences[ 3 ];\n#endif",morphtarget_pars_vertex:"#ifdef USE_MORPHTARGETS\n\tuniform float morphTargetBaseInfluence;\n\t#ifndef USE_MORPHNORMALS\n\tuniform float morphTargetInfluences[ 8 ];\n\t#else\n\tuniform float morphTargetInfluences[ 4 ];\n\t#endif\n#endif",
morphtarget_vertex:"#ifdef USE_MORPHTARGETS\n\ttransformed *= morphTargetBaseInfluence;\n\ttransformed += morphTarget0 * morphTargetInfluences[ 0 ];\n\ttransformed += morphTarget1 * morphTargetInfluences[ 1 ];\n\ttransformed += morphTarget2 * morphTargetInfluences[ 2 ];\n\ttransformed += morphTarget3 * morphTargetInfluences[ 3 ];\n\t#ifndef USE_MORPHNORMALS\n\ttransformed += morphTarget4 * morphTargetInfluences[ 4 ];\n\ttransformed += morphTarget5 * morphTargetInfluences[ 5 ];\n\ttransformed += morphTarget6 * morphTargetInfluences[ 6 ];\n\ttransformed += morphTarget7 * morphTargetInfluences[ 7 ];\n\t#endif\n#endif",
normal_fragment_begin:"#ifdef FLAT_SHADED\n\tvec3 fdx = vec3( dFdx( vViewPosition.x ), dFdx( vViewPosition.y ), dFdx( vViewPosition.z ) );\n\tvec3 fdy = vec3( dFdy( vViewPosition.x ), dFdy( vViewPosition.y ), dFdy( vViewPosition.z ) );\n\tvec3 normal = normalize( cross( fdx, fdy ) );\n#else\n\tvec3 normal = normalize( vNormal );\n\t#ifdef DOUBLE_SIDED\n\t\tnormal = normal * ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t#endif\n\t#ifdef USE_TANGENT\n\t\tvec3 tangent = normalize( vTangent );\n\t\tvec3 bitangent = normalize( vBitangent );\n\t\t#ifdef DOUBLE_SIDED\n\t\t\ttangent = tangent * ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t\t\tbitangent = bitangent * ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t\t#endif\n\t\t#if defined( TANGENTSPACE_NORMALMAP ) || defined( USE_CLEARCOAT_NORMALMAP )\n\t\t\tmat3 vTBN = mat3( tangent, bitangent, normal );\n\t\t#endif\n\t#endif\n#endif\nvec3 geometryNormal = normal;",
normal_fragment_maps:"#ifdef OBJECTSPACE_NORMALMAP\n\tnormal = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\n\t#ifdef FLIP_SIDED\n\t\tnormal = - normal;\n\t#endif\n\t#ifdef DOUBLE_SIDED\n\t\tnormal = normal * ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t#endif\n\tnormal = normalize( normalMatrix * normal );\n#elif defined( TANGENTSPACE_NORMALMAP )\n\tvec3 mapN = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\n\tmapN.xy *= normalScale;\n\t#ifdef USE_TANGENT\n\t\tnormal = normalize( vTBN * mapN );\n\t#else\n\t\tnormal = perturbNormal2Arb( -vViewPosition, normal, mapN );\n\t#endif\n#elif defined( USE_BUMPMAP )\n\tnormal = perturbNormalArb( -vViewPosition, normal, dHdxy_fwd() );\n#endif",
normalmap_pars_fragment:"#ifdef USE_NORMALMAP\n\tuniform sampler2D normalMap;\n\tuniform vec2 normalScale;\n#endif\n#ifdef OBJECTSPACE_NORMALMAP\n\tuniform mat3 normalMatrix;\n#endif\n#if ! defined ( USE_TANGENT ) && ( defined ( TANGENTSPACE_NORMALMAP ) || defined ( USE_CLEARCOAT_NORMALMAP ) )\n\tvec3 perturbNormal2Arb( vec3 eye_pos, vec3 surf_norm, vec3 mapN ) {\n\t\tvec3 q0 = vec3( dFdx( eye_pos.x ), dFdx( eye_pos.y ), dFdx( eye_pos.z ) );\n\t\tvec3 q1 = vec3( dFdy( eye_pos.x ), dFdy( eye_pos.y ), dFdy( eye_pos.z ) );\n\t\tvec2 st0 = dFdx( vUv.st );\n\t\tvec2 st1 = dFdy( vUv.st );\n\t\tfloat scale = sign( st1.t * st0.s - st0.t * st1.s );\n\t\tvec3 S = normalize( ( q0 * st1.t - q1 * st0.t ) * scale );\n\t\tvec3 T = normalize( ( - q0 * st1.s + q1 * st0.s ) * scale );\n\t\tvec3 N = normalize( surf_norm );\n\t\tmat3 tsn = mat3( S, T, N );\n\t\tmapN.xy *= ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t\treturn normalize( tsn * mapN );\n\t}\n#endif",
clearcoat_normal_fragment_begin:"#ifdef CLEARCOAT\n\tvec3 clearcoatNormal = geometryNormal;\n#endif",clearcoat_normal_fragment_maps:"#ifdef USE_CLEARCOAT_NORMALMAP\n\tvec3 clearcoatMapN = texture2D( clearcoatNormalMap, vUv ).xyz * 2.0 - 1.0;\n\tclearcoatMapN.xy *= clearcoatNormalScale;\n\t#ifdef USE_TANGENT\n\t\tclearcoatNormal = normalize( vTBN * clearcoatMapN );\n\t#else\n\t\tclearcoatNormal = perturbNormal2Arb( - vViewPosition, clearcoatNormal, clearcoatMapN );\n\t#endif\n#endif",clearcoat_pars_fragment:"#ifdef USE_CLEARCOATMAP\n\tuniform sampler2D clearcoatMap;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\tuniform sampler2D clearcoatRoughnessMap;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n\tuniform sampler2D clearcoatNormalMap;\n\tuniform vec2 clearcoatNormalScale;\n#endif",
packing:"vec3 packNormalToRGB( const in vec3 normal ) {\n\treturn normalize( normal ) * 0.5 + 0.5;\n}\nvec3 unpackRGBToNormal( const in vec3 rgb ) {\n\treturn 2.0 * rgb.xyz - 1.0;\n}\nconst float PackUpscale = 256. / 255.;const float UnpackDownscale = 255. / 256.;\nconst vec3 PackFactors = vec3( 256. * 256. * 256., 256. * 256., 256. );\nconst vec4 UnpackFactors = UnpackDownscale / vec4( PackFactors, 1. );\nconst float ShiftRight8 = 1. / 256.;\nvec4 packDepthToRGBA( const in float v ) {\n\tvec4 r = vec4( fract( v * PackFactors ), v );\n\tr.yzw -= r.xyz * ShiftRight8;\treturn r * PackUpscale;\n}\nfloat unpackRGBAToDepth( const in vec4 v ) {\n\treturn dot( v, UnpackFactors );\n}\nvec4 pack2HalfToRGBA( vec2 v ) {\n\tvec4 r = vec4( v.x, fract( v.x * 255.0 ), v.y, fract( v.y * 255.0 ));\n\treturn vec4( r.x - r.y / 255.0, r.y, r.z - r.w / 255.0, r.w);\n}\nvec2 unpackRGBATo2Half( vec4 v ) {\n\treturn vec2( v.x + ( v.y / 255.0 ), v.z + ( v.w / 255.0 ) );\n}\nfloat viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) {\n\treturn ( viewZ + near ) / ( near - far );\n}\nfloat orthographicDepthToViewZ( const in float linearClipZ, const in float near, const in float far ) {\n\treturn linearClipZ * ( near - far ) - near;\n}\nfloat viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) {\n\treturn (( near + viewZ ) * far ) / (( far - near ) * viewZ );\n}\nfloat perspectiveDepthToViewZ( const in float invClipZ, const in float near, const in float far ) {\n\treturn ( near * far ) / ( ( far - near ) * invClipZ - far );\n}",
premultiplied_alpha_fragment:"#ifdef PREMULTIPLIED_ALPHA\n\tgl_FragColor.rgb *= gl_FragColor.a;\n#endif",project_vertex:"vec4 mvPosition = vec4( transformed, 1.0 );\n#ifdef USE_INSTANCING\n\tmvPosition = instanceMatrix * mvPosition;\n#endif\nmvPosition = modelViewMatrix * mvPosition;\ngl_Position = projectionMatrix * mvPosition;",dithering_fragment:"#ifdef DITHERING\n\tgl_FragColor.rgb = dithering( gl_FragColor.rgb );\n#endif",dithering_pars_fragment:"#ifdef DITHERING\n\tvec3 dithering( vec3 color ) {\n\t\tfloat grid_position = rand( gl_FragCoord.xy );\n\t\tvec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 );\n\t\tdither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position );\n\t\treturn color + dither_shift_RGB;\n\t}\n#endif",
roughnessmap_fragment:"float roughnessFactor = roughness;\n#ifdef USE_ROUGHNESSMAP\n\tvec4 texelRoughness = texture2D( roughnessMap, vUv );\n\troughnessFactor *= texelRoughness.g;\n#endif",roughnessmap_pars_fragment:"#ifdef USE_ROUGHNESSMAP\n\tuniform sampler2D roughnessMap;\n#endif",shadowmap_pars_fragment:"#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t\tuniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tstruct DirectionalLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalOffset;\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\tvarying vec4 vSpotShadowCoord[ NUM_SPOT_LIGHT_SHADOWS ];\n\t\tstruct SpotLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalOffset;\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 shadowNormalOffset;\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\tbvec4 inFrustumVec = bvec4 ( shadowCoord.x >= 0.0, shadowCoord.x <= 1.0, shadowCoord.y >= 0.0, shadowCoord.y <= 1.0 );\n\t\tbool inFrustum = all( inFrustumVec );\n\t\tbvec2 frustumTestVec = bvec2( inFrustum, shadowCoord.z <= 1.0 );\n\t\tbool frustumTest = all( frustumTestVec );\n\t\tif ( frustumTest ) {\n\t\t#if defined( SHADOWMAP_TYPE_PCF )\n\t\t\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n\t\t\tfloat dx0 = - texelSize.x * shadowRadius;\n\t\t\tfloat dy0 = - texelSize.y * shadowRadius;\n\t\t\tfloat dx1 = + texelSize.x * shadowRadius;\n\t\t\tfloat dy1 = + texelSize.y * shadowRadius;\n\t\t\tfloat dx2 = dx0 / 2.0;\n\t\t\tfloat dy2 = dy0 / 2.0;\n\t\t\tfloat dx3 = dx1 / 2.0;\n\t\t\tfloat dy3 = dy1 / 2.0;\n\t\t\tshadow = (\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z )\n\t\t\t) * ( 1.0 / 17.0 );\n\t\t#elif defined( SHADOWMAP_TYPE_PCF_SOFT )\n\t\t\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n\t\t\tfloat 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:"#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 shadowNormalOffset;\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 mat4 spotShadowMatrix[ NUM_SPOT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vSpotShadowCoord[ NUM_SPOT_LIGHT_SHADOWS ];\n\t\tstruct SpotLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalOffset;\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 shadowNormalOffset;\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:"#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0 || NUM_SPOT_LIGHT_SHADOWS > 0 || NUM_POINT_LIGHT_SHADOWS > 0\n\t\tvec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n\t\tvec4 shadowWorldPosition;\n\t#endif\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n\t\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * directionalLightShadows[ i ].shadowNormalOffset, 0 );\n\t\tvDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * shadowWorldPosition;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {\n\t\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * spotLightShadows[ i ].shadowNormalOffset, 0 );\n\t\tvSpotShadowCoord[ i ] = spotShadowMatrix[ i ] * shadowWorldPosition;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n\t\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * pointLightShadows[ i ].shadowNormalOffset, 0 );\n\t\tvPointShadowCoord[ i ] = pointShadowMatrix[ i ] * shadowWorldPosition;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n#endif",
shadowmask_pars_fragment:"float getShadowMask() {\n\tfloat shadow = 1.0;\n\t#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\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, vSpotShadowCoord[ 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\t#ifdef BONE_TEXTURE\n\t\tuniform highp sampler2D boneTexture;\n\t\tuniform int boneTextureSize;\n\t\tmat4 getBoneMatrix( const in float i ) {\n\t\t\tfloat j = i * 4.0;\n\t\t\tfloat x = mod( j, float( boneTextureSize ) );\n\t\t\tfloat y = floor( j / float( boneTextureSize ) );\n\t\t\tfloat dx = 1.0 / float( boneTextureSize );\n\t\t\tfloat dy = 1.0 / float( boneTextureSize );\n\t\t\ty = dy * ( y + 0.5 );\n\t\t\tvec4 v1 = texture2D( boneTexture, vec2( dx * ( x + 0.5 ), y ) );\n\t\t\tvec4 v2 = texture2D( boneTexture, vec2( dx * ( x + 1.5 ), y ) );\n\t\t\tvec4 v3 = texture2D( boneTexture, vec2( dx * ( x + 2.5 ), y ) );\n\t\t\tvec4 v4 = texture2D( boneTexture, vec2( dx * ( x + 3.5 ), y ) );\n\t\t\tmat4 bone = mat4( v1, v2, v3, v4 );\n\t\t\treturn bone;\n\t\t}\n\t#else\n\t\tuniform mat4 boneMatrices[ MAX_BONES ];\n\t\tmat4 getBoneMatrix( const in float i ) {\n\t\t\tmat4 bone = boneMatrices[ int(i) ];\n\t\t\treturn bone;\n\t\t}\n\t#endif\n#endif",
skinning_vertex:"#ifdef USE_SKINNING\n\tvec4 skinVertex = bindMatrix * vec4( transformed, 1.0 );\n\tvec4 skinned = vec4( 0.0 );\n\tskinned += boneMatX * skinVertex * skinWeight.x;\n\tskinned += boneMatY * skinVertex * skinWeight.y;\n\tskinned += boneMatZ * skinVertex * skinWeight.z;\n\tskinned += boneMatW * skinVertex * skinWeight.w;\n\ttransformed = ( bindMatrixInverse * skinned ).xyz;\n#endif",skinnormal_vertex:"#ifdef USE_SKINNING\n\tmat4 skinMatrix = mat4( 0.0 );\n\tskinMatrix += skinWeight.x * boneMatX;\n\tskinMatrix += skinWeight.y * boneMatY;\n\tskinMatrix += skinWeight.z * boneMatZ;\n\tskinMatrix += skinWeight.w * boneMatW;\n\tskinMatrix = bindMatrixInverse * skinMatrix * bindMatrix;\n\tobjectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz;\n\t#ifdef USE_TANGENT\n\t\tobjectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz;\n\t#endif\n#endif",
specularmap_fragment:"float specularStrength;\n#ifdef USE_SPECULARMAP\n\tvec4 texelSpecular = texture2D( specularMap, vUv );\n\tspecularStrength = texelSpecular.r;\n#else\n\tspecularStrength = 1.0;\n#endif",specularmap_pars_fragment:"#ifdef USE_SPECULARMAP\n\tuniform sampler2D specularMap;\n#endif",tonemapping_fragment:"#if defined( TONE_MAPPING )\n\tgl_FragColor.rgb = toneMapping( gl_FragColor.rgb );\n#endif",tonemapping_pars_fragment:"#ifndef saturate\n#define saturate(a) clamp( a, 0.0, 1.0 )\n#endif\nuniform float toneMappingExposure;\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 vec3 a = v * ( v + 0.0245786 ) - 0.000090537;\n vec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081;\n return a / b;\n}\nvec3 ACESFilmicToneMapping( vec3 color ) {\n const mat3 ACESInputMat = mat3(\n vec3( 0.59719, 0.07600, 0.02840 ), vec3( 0.35458, 0.90834, 0.13383 ),\n vec3( 0.04823, 0.01566, 0.83777 )\n );\n const mat3 ACESOutputMat = mat3(\n vec3( 1.60475, -0.10208, -0.00327 ), vec3( -0.53108, 1.10813, -0.07276 ),\n vec3( -0.07367, -0.00605, 1.07602 )\n );\n color *= toneMappingExposure;\n color = ACESInputMat * color;\n color = RRTAndODTFit( color );\n color = ACESOutputMat * color;\n return saturate( color );\n}",
uv_pars_fragment:"#if ( defined( USE_UV ) && ! defined( UVS_VERTEX_ONLY ) )\n\tvarying vec2 vUv;\n#endif",uv_pars_vertex:"#ifdef USE_UV\n\t#ifdef UVS_VERTEX_ONLY\n\t\tvec2 vUv;\n\t#else\n\t\tvarying vec2 vUv;\n\t#endif\n\tuniform mat3 uvTransform;\n#endif",uv_vertex:"#ifdef USE_UV\n\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n#endif",uv2_pars_fragment:"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\n\tvarying vec2 vUv2;\n#endif",uv2_pars_vertex:"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\n\tattribute vec2 uv2;\n\tvarying vec2 vUv2;\n\tuniform mat3 uv2Transform;\n#endif",
uv2_vertex:"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\n\tvUv2 = ( uv2Transform * vec3( uv2, 1 ) ).xy;\n#endif",worldpos_vertex:"#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP )\n\tvec4 worldPosition = vec4( transformed, 1.0 );\n\t#ifdef USE_INSTANCING\n\t\tworldPosition = instanceMatrix * worldPosition;\n\t#endif\n\tworldPosition = modelMatrix * worldPosition;\n#endif",background_frag:"uniform sampler2D t2D;\nvarying vec2 vUv;\nvoid main() {\n\tvec4 texColor = texture2D( t2D, vUv );\n\tgl_FragColor = mapTexelToLinear( texColor );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",
background_vert:"varying vec2 vUv;\nuniform mat3 uvTransform;\nvoid main() {\n\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n\tgl_Position = vec4( position.xy, 1.0, 1.0 );\n}",cube_frag:"#include <envmap_common_pars_fragment>\nuniform float opacity;\nvarying vec3 vWorldDirection;\n#include <cube_uv_reflection_fragment>\nvoid main() {\n\tvec3 vReflect = vWorldDirection;\n\t#include <envmap_fragment>\n\tgl_FragColor = envColor;\n\tgl_FragColor.a *= opacity;\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",
cube_vert:"varying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n\tgl_Position.z = gl_Position.w;\n}",depth_frag:"#if DEPTH_PACKING == 3200\n\tuniform float opacity;\n#endif\n#include <common>\n#include <packing>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\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}",
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}",
distanceRGBA_frag:"#define DISTANCE\nuniform vec3 referencePosition;\nuniform float nearDistance;\nuniform float farDistance;\nvarying vec3 vWorldPosition;\n#include <common>\n#include <packing>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main () {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( 1.0 );\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\tfloat dist = length( vWorldPosition - referencePosition );\n\tdist = ( dist - nearDistance ) / ( farDistance - nearDistance );\n\tdist = saturate( dist );\n\tgl_FragColor = packDepthToRGBA( dist );\n}",
distanceRGBA_vert:"#define DISTANCE\nvarying vec3 vWorldPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <skinbase_vertex>\n\t#ifdef USE_DISPLACEMENTMAP\n\t\t#include <beginnormal_vertex>\n\t\t#include <morphnormal_vertex>\n\t\t#include <skinnormal_vertex>\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <worldpos_vertex>\n\t#include <clipping_planes_vertex>\n\tvWorldPosition = worldPosition.xyz;\n}",
equirect_frag:"uniform sampler2D tEquirect;\nvarying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvec3 direction = normalize( vWorldDirection );\n\tvec2 sampleUV = equirectUv( direction );\n\tvec4 texColor = texture2D( tEquirect, sampleUV );\n\tgl_FragColor = mapTexelToLinear( texColor );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",equirect_vert:"varying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n}",
linedashed_frag:"uniform vec3 diffuse;\nuniform float opacity;\nuniform float dashSize;\nuniform float totalSize;\nvarying float vLineDistance;\n#include <common>\n#include <color_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tif ( mod( vLineDistance, totalSize ) > dashSize ) {\n\t\tdiscard;\n\t}\n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <color_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n}",
linedashed_vert:"uniform float scale;\nattribute float lineDistance;\nvarying float vLineDistance;\n#include <common>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\tvLineDistance = scale * lineDistance;\n\t#include <color_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}",
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 <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <cube_uv_reflection_fragment>\n#include <fog_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <specularmap_fragment>\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\t#ifdef USE_LIGHTMAP\n\t\n\t\tvec4 lightMapTexel= texture2D( lightMap, vUv2 );\n\t\treflectedLight.indirectDiffuse += lightMapTexelToLinear( lightMapTexel ).rgb * lightMapIntensity;\n\t#else\n\t\treflectedLight.indirectDiffuse += vec3( 1.0 );\n\t#endif\n\t#include <aomap_fragment>\n\treflectedLight.indirectDiffuse *= diffuseColor.rgb;\n\tvec3 outgoingLight = reflectedLight.indirectDiffuse;\n\t#include <envmap_fragment>\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",
meshbasic_vert:"#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <uv2_vertex>\n\t#include <color_vertex>\n\t#include <skinbase_vertex>\n\t#ifdef USE_ENVMAP\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <worldpos_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <envmap_vertex>\n\t#include <fog_vertex>\n}",
meshlambert_frag:"uniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\nvarying vec3 vLightFront;\nvarying vec3 vIndirectFront;\n#ifdef DOUBLE_SIDED\n\tvarying vec3 vLightBack;\n\tvarying vec3 vIndirectBack;\n#endif\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <cube_uv_reflection_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <fog_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <shadowmask_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <specularmap_fragment>\n\t#include <emissivemap_fragment>\n\t#ifdef DOUBLE_SIDED\n\t\treflectedLight.indirectDiffuse += ( gl_FrontFacing ) ? vIndirectFront : vIndirectBack;\n\t#else\n\t\treflectedLight.indirectDiffuse += vIndirectFront;\n\t#endif\n\t#include <lightmap_fragment>\n\treflectedLight.indirectDiffuse *= BRDF_Diffuse_Lambert( diffuseColor.rgb );\n\t#ifdef DOUBLE_SIDED\n\t\treflectedLight.directDiffuse = ( gl_FrontFacing ) ? vLightFront : vLightBack;\n\t#else\n\t\treflectedLight.directDiffuse = vLightFront;\n\t#endif\n\treflectedLight.directDiffuse *= BRDF_Diffuse_Lambert( diffuseColor.rgb ) * getShadowMask();\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n\t#include <envmap_fragment>\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",
meshlambert_vert:"#define LAMBERT\nvarying vec3 vLightFront;\nvarying vec3 vIndirectFront;\n#ifdef DOUBLE_SIDED\n\tvarying vec3 vLightBack;\n\tvarying vec3 vIndirectBack;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <envmap_pars_vertex>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <uv2_vertex>\n\t#include <color_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <lights_lambert_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",
meshmatcap_frag:"#define MATCAP\nuniform vec3 diffuse;\nuniform float opacity;\nuniform sampler2D matcap;\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include <common>\n#include <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 <fog_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <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\tmatcapColor = matcapTexelToLinear( matcapColor );\n\t#else\n\t\tvec4 matcapColor = vec4( 1.0 );\n\t#endif\n\tvec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb;\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <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#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\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 <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 <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#ifndef FLAT_SHADED\n\t\tvNormal = normalize( transformedNormal );\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n\tvViewPosition = - mvPosition.xyz;\n}",
meshtoon_frag:"#define TOON\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform vec3 specular;\nuniform float shininess;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <gradientmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <lights_toon_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <specularmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_toon_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",
meshtoon_vert:"#define TOON\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <uv2_vertex>\n\t#include <color_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n#ifndef FLAT_SHADED\n\tvNormal = normalize( transformedNormal );\n#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",
meshphong_frag:"#define PHONG\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform vec3 specular;\nuniform float shininess;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <cube_uv_reflection_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <lights_phong_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <specularmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_phong_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\n\t#include <envmap_fragment>\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",
meshphong_vert:"#define PHONG\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <uv2_vertex>\n\t#include <color_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n#ifndef FLAT_SHADED\n\tvNormal = normalize( transformedNormal );\n#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",
meshphysical_frag:"#define STANDARD\n#ifdef PHYSICAL\n\t#define REFLECTIVITY\n\t#define CLEARCOAT\n\t#define TRANSPARENCY\n#endif\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float roughness;\nuniform float metalness;\nuniform float opacity;\n#ifdef TRANSPARENCY\n\tuniform float transparency;\n#endif\n#ifdef REFLECTIVITY\n\tuniform float reflectivity;\n#endif\n#ifdef CLEARCOAT\n\tuniform float clearcoat;\n\tuniform float clearcoatRoughness;\n#endif\n#ifdef USE_SHEEN\n\tuniform vec3 sheen;\n#endif\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <bsdfs>\n#include <cube_uv_reflection_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_physical_pars_fragment>\n#include <fog_pars_fragment>\n#include <lights_pars_begin>\n#include <lights_physical_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <clearcoat_pars_fragment>\n#include <roughnessmap_pars_fragment>\n#include <metalnessmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <roughnessmap_fragment>\n\t#include <metalnessmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <clearcoat_normal_fragment_begin>\n\t#include <clearcoat_normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_physical_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\n\t#ifdef TRANSPARENCY\n\t\tdiffuseColor.a *= saturate( 1. - transparency + linearToRelativeLuminance( reflectedLight.directSpecular + reflectedLight.indirectSpecular ) );\n\t#endif\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",
meshphysical_vert:"#define STANDARD\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <uv2_vertex>\n\t#include <color_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n#ifndef FLAT_SHADED\n\tvNormal = normalize( transformedNormal );\n\t#ifdef USE_TANGENT\n\t\tvTangent = normalize( transformedTangent );\n\t\tvBitangent = normalize( cross( vNormal, vTangent ) * tangent.w );\n\t#endif\n#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",
normal_frag:"#define NORMAL\nuniform float opacity;\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\n\tvarying vec3 vViewPosition;\n#endif\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif\n#include <packing>\n#include <uv_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\t#include <logdepthbuf_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\tgl_FragColor = vec4( packNormalToRGB( normal ), opacity );\n}",
normal_vert:"#define NORMAL\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\n\tvarying vec3 vViewPosition;\n#endif\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n#ifndef FLAT_SHADED\n\tvNormal = normalize( transformedNormal );\n\t#ifdef USE_TANGENT\n\t\tvTangent = normalize( transformedTangent );\n\t\tvBitangent = normalize( cross( vNormal, vTangent ) * tangent.w );\n\t#endif\n#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\n\tvViewPosition = - mvPosition.xyz;\n#endif\n}",
points_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#include <common>\n#include <color_pars_fragment>\n#include <map_particle_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_particle_fragment>\n\t#include <color_fragment>\n\t#include <alphatest_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n}",
points_vert:"uniform float size;\nuniform float scale;\n#include <common>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <color_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <project_vertex>\n\tgl_PointSize = size;\n\t#ifdef USE_SIZEATTENUATION\n\t\tbool isPerspective = isPerspectiveMatrix( projectionMatrix );\n\t\tif ( isPerspective ) gl_PointSize *= ( scale / - mvPosition.z );\n\t#endif\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <worldpos_vertex>\n\t#include <fog_vertex>\n}",
shadow_frag:"uniform vec3 color;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <shadowmap_pars_fragment>\n#include <shadowmask_pars_fragment>\nvoid main() {\n\tgl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n}",shadow_vert:"#include <common>\n#include <fog_pars_vertex>\n#include <shadowmap_pars_vertex>\nvoid main() {\n\t#include <begin_vertex>\n\t#include <project_vertex>\n\t#include <worldpos_vertex>\n\t#include <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 <shadowmap_vertex>\n\t#include <fog_vertex>\n}",
sprite_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#include <common>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n}",
sprite_vert:"uniform float rotation;\nuniform vec2 center;\n#include <common>\n#include <uv_pars_vertex>\n#include <fog_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\tvec4 mvPosition = modelViewMatrix * vec4( 0.0, 0.0, 0.0, 1.0 );\n\tvec2 scale;\n\tscale.x = length( vec3( modelMatrix[ 0 ].x, modelMatrix[ 0 ].y, modelMatrix[ 0 ].z ) );\n\tscale.y = length( vec3( modelMatrix[ 1 ].x, modelMatrix[ 1 ].y, modelMatrix[ 1 ].z ) );\n\t#ifndef USE_SIZEATTENUATION\n\t\tbool isPerspective = isPerspectiveMatrix( projectionMatrix );\n\t\tif ( isPerspective ) scale *= - mvPosition.z;\n\t#endif\n\tvec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale;\n\tvec2 rotatedPosition;\n\trotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y;\n\trotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y;\n\tmvPosition.xy += rotatedPosition;\n\tgl_Position = projectionMatrix * mvPosition;\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n}"},
gb={basic:{uniforms:va([y.common,y.specularmap,y.envmap,y.aomap,y.lightmap,y.fog]),vertexShader:N.meshbasic_vert,fragmentShader:N.meshbasic_frag},lambert:{uniforms:va([y.common,y.specularmap,y.envmap,y.aomap,y.lightmap,y.emissivemap,y.fog,y.lights,{emissive:{value:new D(0)}}]),vertexShader:N.meshlambert_vert,fragmentShader:N.meshlambert_frag},phong:{uniforms:va([y.common,y.specularmap,y.envmap,y.aomap,y.lightmap,y.emissivemap,y.bumpmap,y.normalmap,y.displacementmap,y.fog,y.lights,{emissive:{value:new D(0)},
specular:{value:new D(1118481)},shininess:{value:30}}]),vertexShader:N.meshphong_vert,fragmentShader:N.meshphong_frag},standard:{uniforms:va([y.common,y.envmap,y.aomap,y.lightmap,y.emissivemap,y.bumpmap,y.normalmap,y.displacementmap,y.roughnessmap,y.metalnessmap,y.fog,y.lights,{emissive:{value:new D(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:N.meshphysical_vert,fragmentShader:N.meshphysical_frag},toon:{uniforms:va([y.common,y.specularmap,y.aomap,y.lightmap,
y.emissivemap,y.bumpmap,y.normalmap,y.displacementmap,y.gradientmap,y.fog,y.lights,{emissive:{value:new D(0)},specular:{value:new D(1118481)},shininess:{value:30}}]),vertexShader:N.meshtoon_vert,fragmentShader:N.meshtoon_frag},matcap:{uniforms:va([y.common,y.bumpmap,y.normalmap,y.displacementmap,y.fog,{matcap:{value:null}}]),vertexShader:N.meshmatcap_vert,fragmentShader:N.meshmatcap_frag},points:{uniforms:va([y.points,y.fog]),vertexShader:N.points_vert,fragmentShader:N.points_frag},dashed:{uniforms:va([y.common,
y.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:N.linedashed_vert,fragmentShader:N.linedashed_frag},depth:{uniforms:va([y.common,y.displacementmap]),vertexShader:N.depth_vert,fragmentShader:N.depth_frag},normal:{uniforms:va([y.common,y.bumpmap,y.normalmap,y.displacementmap,{opacity:{value:1}}]),vertexShader:N.normal_vert,fragmentShader:N.normal_frag},sprite:{uniforms:va([y.sprite,y.fog]),vertexShader:N.sprite_vert,fragmentShader:N.sprite_frag},background:{uniforms:{uvTransform:{value:new xa},
t2D:{value:null}},vertexShader:N.background_vert,fragmentShader:N.background_frag},cube:{uniforms:va([y.envmap,{opacity:{value:1}}]),vertexShader:N.cube_vert,fragmentShader:N.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:N.equirect_vert,fragmentShader:N.equirect_frag},distanceRGBA:{uniforms:va([y.common,y.displacementmap,{referencePosition:{value:new m},nearDistance:{value:1},farDistance:{value:1E3}}]),vertexShader:N.distanceRGBA_vert,fragmentShader:N.distanceRGBA_frag},shadow:{uniforms:va([y.lights,
y.fog,{color:{value:new D(0)},opacity:{value:1}}]),vertexShader:N.shadow_vert,fragmentShader:N.shadow_frag}};gb.physical={uniforms:va([gb.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatNormalScale:{value:new w(1,1)},clearcoatNormalMap:{value:null},sheen:{value:new D(0)},transparency:{value:0}}]),vertexShader:N.meshphysical_vert,fragmentShader:N.meshphysical_frag};qb.prototype=Object.create(W.prototype);qb.prototype.constructor=
qb;qb.prototype.isCubeTexture=!0;Object.defineProperty(qb.prototype,"images",{get:function(){return this.image},set:function(a){this.image=a}});Gc.prototype=Object.create(W.prototype);Gc.prototype.constructor=Gc;Gc.prototype.isDataTexture2DArray=!0;Hc.prototype=Object.create(W.prototype);Hc.prototype.constructor=Hc;Hc.prototype.isDataTexture3D=!0;var Fh=new W,Hj=new Gc,Jj=new Hc,Gh=new qb,zh=[],Bh=[],Eh=new Float32Array(16),Dh=new Float32Array(9),Ch=new Float32Array(4);Hh.prototype.updateCache=function(a){var b=
this.cache;a instanceof Float32Array&&b.length!==a.length&&(this.cache=new Float32Array(a.length));Ia(b,a)};Ih.prototype.setValue=function(a,b,c){for(var d=this.seq,e=0,f=d.length;e!==f;++e){var g=d[e];g.setValue(a,b[g.id],c)}};var ig=/([\w\d_]+)(\])?(\[|\.)?/g;Fb.prototype.setValue=function(a,b,c,d){b=this.map[b];void 0!==b&&b.setValue(a,c,d)};Fb.prototype.setOptional=function(a,b,c){b=b[c];void 0!==b&&this.setValue(a,c,b)};Fb.upload=function(a,b,c,d){for(var e=0,f=b.length;e!==f;++e){var g=b[e],
h=c[g.id];!1!==h.needsUpdate&&g.setValue(a,h.value,d)}};Fb.seqWithValue=function(a,b){for(var c=[],d=0,e=a.length;d!==e;++d){var f=a[d];f.id in b&&c.push(f)}return c};var ok=0,kg=/^[ \t]*#include +<([\w\d./]+)>/gm,Rh=/#pragma unroll_loop[\s]+?for \( int i = (\d+); i < (\d+); i \+\+ \) \{([\s\S]+?)(?=\})\}/g,Qh=/#pragma unroll_loop_start[\s]+?for \( int i = (\d+); i < (\d+); i \+\+ \) \{([\s\S]+?)(?=\})\}[\s]+?#pragma unroll_loop_end/g,yk=0;Gb.prototype=Object.create(G.prototype);Gb.prototype.constructor=
Gb;Gb.prototype.isMeshDepthMaterial=!0;Gb.prototype.copy=function(a){G.prototype.copy.call(this,a);this.depthPacking=a.depthPacking;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.map=a.map;this.alphaMap=a.alphaMap;this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias;this.wireframe=a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;return this};Hb.prototype=Object.create(G.prototype);Hb.prototype.constructor=
Hb;Hb.prototype.isMeshDistanceMaterial=!0;Hb.prototype.copy=function(a){G.prototype.copy.call(this,a);this.referencePosition.copy(a.referencePosition);this.nearDistance=a.nearDistance;this.farDistance=a.farDistance;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.map=a.map;this.alphaMap=a.alphaMap;this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias;return this};Ne.prototype=Object.assign(Object.create(P.prototype),
{constructor:Ne,isArrayCamera:!0});Jc.prototype=Object.assign(Object.create(z.prototype),{constructor:Jc,isGroup:!0});Object.assign(Oe.prototype,{constructor:Oe,getTargetRaySpace:function(){null===this._targetRay&&(this._targetRay=new Jc,this._targetRay.matrixAutoUpdate=!1,this._targetRay.visible=!1);return this._targetRay},getGripSpace:function(){null===this._grip&&(this._grip=new Jc,this._grip.matrixAutoUpdate=!1,this._grip.visible=!1);return this._grip},dispatchEvent:function(a){null!==this._targetRay&&
this._targetRay.dispatchEvent(a);null!==this._grip&&this._grip.dispatchEvent(a);return this},disconnect:function(a){this.dispatchEvent({type:"disconnected",data:a});null!==this._targetRay&&(this._targetRay.visible=!1);null!==this._grip&&(this._grip.visible=!1);return this},update:function(a,b,c){var d=null,e=null,f=this._targetRay,g=this._grip;a&&(null!==f&&(d=b.getPose(a.targetRaySpace,c),null!==d&&(f.matrix.fromArray(d.transform.matrix),f.matrix.decompose(f.position,f.rotation,f.scale))),null!==
g&&a.gripSpace&&(e=b.getPose(a.gripSpace,c),null!==e&&(g.matrix.fromArray(e.transform.matrix),g.matrix.decompose(g.position,g.rotation,g.scale))));null!==f&&(f.visible=null!==d);null!==g&&(g.visible=null!==e);return this}});Object.assign(Xh.prototype,ua.prototype);og.prototype=Object.assign(Object.create(Md.prototype),{constructor:og,isWebGL1Renderer:!0});Object.assign(Pe.prototype,{isFogExp2:!0,clone:function(){return new Pe(this.color,this.density)},toJSON:function(){return{type:"FogExp2",color:this.color.getHex(),
density:this.density}}});Object.assign(Qe.prototype,{isFog:!0,clone:function(){return new Qe(this.color,this.near,this.far)},toJSON:function(){return{type:"Fog",color:this.color.getHex(),near:this.near,far:this.far}}});Object.defineProperty(Ja.prototype,"needsUpdate",{set:function(a){!0===a&&this.version++}});Object.assign(Ja.prototype,{isInterleavedBuffer:!0,onUploadCallback:function(){},setUsage:function(a){this.usage=a;return this},copy:function(a){this.array=new a.array.constructor(a.array);this.count=
a.count;this.stride=a.stride;this.usage=a.usage;return this},copyAt:function(a,b,c){a*=this.stride;c*=b.stride;for(var d=0,e=this.stride;d<e;d++)this.array[a+d]=b.array[c+d];return this},set:function(a,b){void 0===b&&(b=0);this.array.set(a,b);return this},clone:function(a){void 0===a.arrayBuffers&&(a.arrayBuffers={});void 0===this.array.buffer._uuid&&(this.array.buffer._uuid=K.generateUUID());void 0===a.arrayBuffers[this.array.buffer._uuid]&&(a.arrayBuffers[this.array.buffer._uuid]=this.array.slice(0).buffer);
a=new this.array.constructor(a.arrayBuffers[this.array.buffer._uuid]);a=new Ja(a,this.stride);a.setUsage(this.usage);return a},onUpload:function(a){this.onUploadCallback=a;return this},toJSON:function(a){void 0===a.arrayBuffers&&(a.arrayBuffers={});void 0===this.array.buffer._uuid&&(this.array.buffer._uuid=K.generateUUID());void 0===a.arrayBuffers[this.array.buffer._uuid]&&(a.arrayBuffers[this.array.buffer._uuid]=Array.prototype.slice.call(new Uint32Array(this.array.buffer)));return{uuid:this.uuid,
buffer:this.array.buffer._uuid,type:this.array.constructor.name,stride:this.stride}}});var sc=new m;Object.defineProperties(Jb.prototype,{count:{get:function(){return this.data.count}},array:{get:function(){return this.data.array}}});Object.assign(Jb.prototype,{isInterleavedBufferAttribute:!0,applyMatrix4:function(a){for(var b=0,c=this.data.count;b<c;b++)sc.x=this.getX(b),sc.y=this.getY(b),sc.z=this.getZ(b),sc.applyMatrix4(a),this.setXYZ(b,sc.x,sc.y,sc.z);return this},setX:function(a,b){this.data.array[a*
this.data.stride+this.offset]=b;return this},setY:function(a,b){this.data.array[a*this.data.stride+this.offset+1]=b;return this},setZ:function(a,b){this.data.array[a*this.data.stride+this.offset+2]=b;return this},setW:function(a,b){this.data.array[a*this.data.stride+this.offset+3]=b;return this},getX:function(a){return this.data.array[a*this.data.stride+this.offset]},getY:function(a){return this.data.array[a*this.data.stride+this.offset+1]},getZ:function(a){return this.data.array[a*this.data.stride+
this.offset+2]},getW:function(a){return this.data.array[a*this.data.stride+this.offset+3]},setXY:function(a,b,c){a=a*this.data.stride+this.offset;this.data.array[a+0]=b;this.data.array[a+1]=c;return this},setXYZ:function(a,b,c,d){a=a*this.data.stride+this.offset;this.data.array[a+0]=b;this.data.array[a+1]=c;this.data.array[a+2]=d;return this},setXYZW:function(a,b,c,d,e){a=a*this.data.stride+this.offset;this.data.array[a+0]=b;this.data.array[a+1]=c;this.data.array[a+2]=d;this.data.array[a+3]=e;return this},
clone:function(a){if(void 0===a){console.log("THREE.InterleavedBufferAttribute.clone(): Cloning an interlaved buffer attribute will deinterleave buffer data.");a=[];for(var b=0;b<this.count;b++)for(var c=b*this.data.stride+this.offset,d=0;d<this.itemSize;d++)a.push(this.data.array[c+d]);return new H(new this.array.constructor(a),this.itemSize,this.normalized)}void 0===a.interleavedBuffers&&(a.interleavedBuffers={});void 0===a.interleavedBuffers[this.data.uuid]&&(a.interleavedBuffers[this.data.uuid]=
this.data.clone(a));return new Jb(a.interleavedBuffers[this.data.uuid],this.itemSize,this.offset,this.normalized)},toJSON:function(a){if(void 0===a){console.log("THREE.InterleavedBufferAttribute.toJSON(): Serializing an interlaved buffer attribute will deinterleave buffer data.");a=[];for(var b=0;b<this.count;b++)for(var c=b*this.data.stride+this.offset,d=0;d<this.itemSize;d++)a.push(this.data.array[c+d]);return{itemSize:this.itemSize,type:this.array.constructor.name,array:a,normalized:this.normalized}}void 0===
a.interleavedBuffers&&(a.interleavedBuffers={});void 0===a.interleavedBuffers[this.data.uuid]&&(a.interleavedBuffers[this.data.uuid]=this.data.toJSON(a));return{isInterleavedBufferAttribute:!0,itemSize:this.itemSize,data:this.data.uuid,offset:this.offset,normalized:this.normalized}}});Kb.prototype=Object.create(G.prototype);Kb.prototype.constructor=Kb;Kb.prototype.isSpriteMaterial=!0;Kb.prototype.copy=function(a){G.prototype.copy.call(this,a);this.color.copy(a.color);this.map=a.map;this.alphaMap=
a.alphaMap;this.rotation=a.rotation;this.sizeAttenuation=a.sizeAttenuation;return this};var Kc,ze=new m,ud=new m,vd=new m,Lc=new w,Od=new w,Zh=new M,Lf=new m,Ae=new m,Mf=new m,Gi=new w,lh=new w,Hi=new w;Nd.prototype=Object.assign(Object.create(z.prototype),{constructor:Nd,isSprite:!0,raycast:function(a,b){null===a.camera&&console.error('THREE.Sprite: "Raycaster.camera" needs to be set in order to raycast against sprites.');ud.setFromMatrixScale(this.matrixWorld);Zh.copy(a.camera.matrixWorld);this.modelViewMatrix.multiplyMatrices(a.camera.matrixWorldInverse,
this.matrixWorld);vd.setFromMatrixPosition(this.modelViewMatrix);a.camera.isPerspectiveCamera&&!1===this.material.sizeAttenuation&&ud.multiplyScalar(-vd.z);var c=this.material.rotation;if(0!==c){var d=Math.cos(c);var e=Math.sin(c)}c=this.center;Re(Lf.set(-.5,-.5,0),vd,c,ud,e,d);Re(Ae.set(.5,-.5,0),vd,c,ud,e,d);Re(Mf.set(.5,.5,0),vd,c,ud,e,d);Gi.set(0,0);lh.set(1,0);Hi.set(1,1);var f=a.ray.intersectTriangle(Lf,Ae,Mf,!1,ze);if(null===f&&(Re(Ae.set(-.5,.5,0),vd,c,ud,e,d),lh.set(0,1),f=a.ray.intersectTriangle(Lf,
Mf,Ae,!1,ze),null===f))return;e=a.ray.origin.distanceTo(ze);e<a.near||e>a.far||b.push({distance:e,point:ze.clone(),uv:wa.getUV(ze,Lf,Ae,Mf,Gi,lh,Hi,new w),face:null,object:this})},copy:function(a){z.prototype.copy.call(this,a);void 0!==a.center&&this.center.copy(a.center);this.material=a.material;return this}});var Nf=new m,Ii=new m;Pd.prototype=Object.assign(Object.create(z.prototype),{constructor:Pd,isLOD:!0,copy:function(a){z.prototype.copy.call(this,a,!1);for(var b=a.levels,c=0,d=b.length;c<d;c++){var e=
b[c];this.addLevel(e.object.clone(),e.distance)}this.autoUpdate=a.autoUpdate;return this},addLevel:function(a,b){void 0===b&&(b=0);b=Math.abs(b);var c=this.levels,d;for(d=0;d<c.length&&!(b<c[d].distance);d++);c.splice(d,0,{distance:b,object:a});this.add(a);return this},getCurrentLevel:function(){return this._currentLevel},getObjectForDistance:function(a){var b=this.levels;if(0<b.length){var c;var d=1;for(c=b.length;d<c&&!(a<b[d].distance);d++);return b[d-1].object}return null},raycast:function(a,
b){if(0<this.levels.length){Nf.setFromMatrixPosition(this.matrixWorld);var c=a.ray.origin.distanceTo(Nf);this.getObjectForDistance(c).raycast(a,b)}},update:function(a){var b=this.levels;if(1<b.length){Nf.setFromMatrixPosition(a.matrixWorld);Ii.setFromMatrixPosition(this.matrixWorld);a=Nf.distanceTo(Ii)/a.zoom;b[0].object.visible=!0;var c;var d=1;for(c=b.length;d<c;d++)if(a>=b[d].distance)b[d-1].object.visible=!1,b[d].object.visible=!0;else break;for(this._currentLevel=d-1;d<c;d++)b[d].object.visible=
!1}},toJSON:function(a){a=z.prototype.toJSON.call(this,a);!1===this.autoUpdate&&(a.object.autoUpdate=!1);a.object.levels=[];for(var b=this.levels,c=0,d=b.length;c<d;c++){var e=b[c];a.object.levels.push({object:e.object.uuid,distance:e.distance})}return a}});Se.prototype=Object.assign(Object.create(X.prototype),{constructor:Se,isSkinnedMesh:!0,copy:function(a){X.prototype.copy.call(this,a);this.bindMode=a.bindMode;this.bindMatrix.copy(a.bindMatrix);this.bindMatrixInverse.copy(a.bindMatrixInverse);
this.skeleton=a.skeleton;return this},bind:function(a,b){this.skeleton=a;void 0===b&&(this.updateMatrixWorld(!0),this.skeleton.calculateInverses(),b=this.matrixWorld);this.bindMatrix.copy(b);this.bindMatrixInverse.getInverse(b)},pose:function(){this.skeleton.pose()},normalizeSkinWeights:function(){for(var a=new Y,b=this.geometry.attributes.skinWeight,c=0,d=b.count;c<d;c++){a.x=b.getX(c);a.y=b.getY(c);a.z=b.getZ(c);a.w=b.getW(c);var e=1/a.manhattanLength();Infinity!==e?a.multiplyScalar(e):a.set(1,
0,0,0);b.setXYZW(c,a.x,a.y,a.z,a.w)}},updateMatrixWorld:function(a){X.prototype.updateMatrixWorld.call(this,a);"attached"===this.bindMode?this.bindMatrixInverse.getInverse(this.matrixWorld):"detached"===this.bindMode?this.bindMatrixInverse.getInverse(this.bindMatrix):console.warn("THREE.SkinnedMesh: Unrecognized bindMode: "+this.bindMode)},boneTransform:function(){var a=new m,b=new Y,c=new Y,d=new m,e=new M;return function(f,g){var h=this.skeleton,l=this.geometry;b.fromBufferAttribute(l.attributes.skinIndex,
f);c.fromBufferAttribute(l.attributes.skinWeight,f);a.fromBufferAttribute(l.attributes.position,f).applyMatrix4(this.bindMatrix);g.set(0,0,0);for(f=0;4>f;f++)if(l=c.getComponent(f),0!==l){var k=b.getComponent(f);e.multiplyMatrices(h.bones[k].matrixWorld,h.boneInverses[k]);g.addScaledVector(d.copy(a).applyMatrix4(e),l)}return g.applyMatrix4(this.bindMatrixInverse)}}()});var Ji=new M,Tk=new M;Object.assign(Te.prototype,{calculateInverses:function(){this.boneInverses=[];for(var a=0,b=this.bones.length;a<
b;a++){var c=new M;this.bones[a]&&c.getInverse(this.bones[a].matrixWorld);this.boneInverses.push(c)}},pose:function(){for(var a=0,b=this.bones.length;a<b;a++){var c=this.bones[a];c&&c.matrixWorld.getInverse(this.boneInverses[a])}a=0;for(b=this.bones.length;a<b;a++)if(c=this.bones[a])c.parent&&c.parent.isBone?(c.matrix.getInverse(c.parent.matrixWorld),c.matrix.multiply(c.matrixWorld)):c.matrix.copy(c.matrixWorld),c.matrix.decompose(c.position,c.quaternion,c.scale)},update:function(){for(var a=this.bones,
b=this.boneInverses,c=this.boneMatrices,d=this.boneTexture,e=0,f=a.length;e<f;e++)Ji.multiplyMatrices(a[e]?a[e].matrixWorld:Tk,b[e]),Ji.toArray(c,16*e);void 0!==d&&(d.needsUpdate=!0)},clone:function(){return new Te(this.bones,this.boneInverses)},getBoneByName:function(a){for(var b=0,c=this.bones.length;b<c;b++){var d=this.bones[b];if(d.name===a)return d}},dispose:function(){this.boneTexture&&(this.boneTexture.dispose(),this.boneTexture=void 0)}});pg.prototype=Object.assign(Object.create(z.prototype),
{constructor:pg,isBone:!0});var Ki=new M,Li=new M,Of=[],Be=new X;Ue.prototype=Object.assign(Object.create(X.prototype),{constructor:Ue,isInstancedMesh:!0,copy:function(a){X.prototype.copy.call(this,a);this.instanceMatrix.copy(a.instanceMatrix);this.count=a.count;return this},getMatrixAt:function(a,b){b.fromArray(this.instanceMatrix.array,16*a)},raycast:function(a,b){var c=this.matrixWorld,d=this.count;Be.geometry=this.geometry;Be.material=this.material;if(void 0!==Be.material)for(var e=0;e<d;e++){this.getMatrixAt(e,
Ki);Li.multiplyMatrices(c,Ki);Be.matrixWorld=Li;Be.raycast(a,Of);for(var f=0,g=Of.length;f<g;f++){var h=Of[f];h.instanceId=e;h.object=this;b.push(h)}Of.length=0}},setMatrixAt:function(a,b){b.toArray(this.instanceMatrix.array,16*a)},updateMorphTargets:function(){}});la.prototype=Object.create(G.prototype);la.prototype.constructor=la;la.prototype.isLineBasicMaterial=!0;la.prototype.copy=function(a){G.prototype.copy.call(this,a);this.color.copy(a.color);this.linewidth=a.linewidth;this.linecap=a.linecap;
this.linejoin=a.linejoin;this.morphTargets=a.morphTargets;return this};var Mi=new m,Ni=new m,Oi=new M,Pf=new Wb,Ce=new eb;Ka.prototype=Object.assign(Object.create(z.prototype),{constructor:Ka,isLine:!0,copy:function(a){z.prototype.copy.call(this,a);this.material=a.material;this.geometry=a.geometry;return this},computeLineDistances:function(){var a=this.geometry;if(a.isBufferGeometry)if(null===a.index){for(var b=a.attributes.position,c=[0],d=1,e=b.count;d<e;d++)Mi.fromBufferAttribute(b,d-1),Ni.fromBufferAttribute(b,
d),c[d]=c[d-1],c[d]+=Mi.distanceTo(Ni);a.setAttribute("lineDistance",new B(c,1))}else console.warn("THREE.Line.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");else if(a.isGeometry)for(b=a.vertices,a=a.lineDistances,a[0]=0,c=1,d=b.length;c<d;c++)a[c]=a[c-1],a[c]+=b[c-1].distanceTo(b[c]);return this},raycast:function(a,b){var c=this.geometry,d=this.matrixWorld,e=a.params.Line.threshold;null===c.boundingSphere&&c.computeBoundingSphere();Ce.copy(c.boundingSphere);
Ce.applyMatrix4(d);Ce.radius+=e;if(!1!==a.ray.intersectsSphere(Ce)){Oi.getInverse(d);Pf.copy(a.ray).applyMatrix4(Oi);d=e/((this.scale.x+this.scale.y+this.scale.z)/3);d*=d;var f=new m,g=new m;e=new m;var h=new m,l=this&&this.isLineSegments?2:1;if(c.isBufferGeometry){var k=c.index;c=c.attributes.position.array;if(null!==k){k=k.array;for(var q=0,p=k.length-1;q<p;q+=l){var v=k[q+1];f.fromArray(c,3*k[q]);g.fromArray(c,3*v);Pf.distanceSqToSegment(f,g,h,e)>d||(h.applyMatrix4(this.matrixWorld),v=a.ray.origin.distanceTo(h),
v<a.near||v>a.far||b.push({distance:v,point:e.clone().applyMatrix4(this.matrixWorld),index:q,face:null,faceIndex:null,object:this}))}}else for(k=0,q=c.length/3-1;k<q;k+=l)f.fromArray(c,3*k),g.fromArray(c,3*k+3),Pf.distanceSqToSegment(f,g,h,e)>d||(h.applyMatrix4(this.matrixWorld),p=a.ray.origin.distanceTo(h),p<a.near||p>a.far||b.push({distance:p,point:e.clone().applyMatrix4(this.matrixWorld),index:k,face:null,faceIndex:null,object:this}))}else if(c.isGeometry)for(f=c.vertices,g=f.length,c=0;c<g-1;c+=
l)Pf.distanceSqToSegment(f[c],f[c+1],h,e)>d||(h.applyMatrix4(this.matrixWorld),k=a.ray.origin.distanceTo(h),k<a.near||k>a.far||b.push({distance:k,point:e.clone().applyMatrix4(this.matrixWorld),index:c,face:null,faceIndex:null,object:this}))}},updateMorphTargets:function(){var a=this.geometry;if(a.isBufferGeometry){a=a.morphAttributes;var b=Object.keys(a);if(0<b.length&&(a=a[b[0]],void 0!==a)){this.morphTargetInfluences=[];this.morphTargetDictionary={};b=0;for(var c=a.length;b<c;b++){var d=a[b].name||
String(b);this.morphTargetInfluences.push(0);this.morphTargetDictionary[d]=b}}}else a=a.morphTargets,void 0!==a&&0<a.length&&console.error("THREE.Line.updateMorphTargets() does not support THREE.Geometry. Use THREE.BufferGeometry instead.")}});var Qf=new m,Rf=new m;ha.prototype=Object.assign(Object.create(Ka.prototype),{constructor:ha,isLineSegments:!0,computeLineDistances:function(){var a=this.geometry;if(a.isBufferGeometry)if(null===a.index){for(var b=a.attributes.position,c=[],d=0,e=b.count;d<
e;d+=2)Qf.fromBufferAttribute(b,d),Rf.fromBufferAttribute(b,d+1),c[d]=0===d?0:c[d-1],c[d+1]=c[d]+Qf.distanceTo(Rf);a.setAttribute("lineDistance",new B(c,1))}else console.warn("THREE.LineSegments.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");else if(a.isGeometry)for(b=a.vertices,a=a.lineDistances,c=0,d=b.length;c<d;c+=2)Qf.copy(b[c]),Rf.copy(b[c+1]),a[c]=0===c?0:a[c-1],a[c+1]=a[c]+Qf.distanceTo(Rf);return this}});Ve.prototype=Object.assign(Object.create(Ka.prototype),
{constructor:Ve,isLineLoop:!0});Xa.prototype=Object.create(G.prototype);Xa.prototype.constructor=Xa;Xa.prototype.isPointsMaterial=!0;Xa.prototype.copy=function(a){G.prototype.copy.call(this,a);this.color.copy(a.color);this.map=a.map;this.alphaMap=a.alphaMap;this.size=a.size;this.sizeAttenuation=a.sizeAttenuation;this.morphTargets=a.morphTargets;return this};var Pi=new M,rg=new Wb,De=new eb,Sf=new m;Mc.prototype=Object.assign(Object.create(z.prototype),{constructor:Mc,isPoints:!0,copy:function(a){z.prototype.copy.call(this,
a);this.material=a.material;this.geometry=a.geometry;return this},raycast:function(a,b){var c=this.geometry,d=this.matrixWorld,e=a.params.Points.threshold;null===c.boundingSphere&&c.computeBoundingSphere();De.copy(c.boundingSphere);De.applyMatrix4(d);De.radius+=e;if(!1!==a.ray.intersectsSphere(De))if(Pi.getInverse(d),rg.copy(a.ray).applyMatrix4(Pi),e/=(this.scale.x+this.scale.y+this.scale.z)/3,e*=e,c.isBufferGeometry){var f=c.index;c=c.attributes.position.array;if(null!==f){f=f.array;for(var g=0,
h=f.length;g<h;g++){var k=f[g];Sf.fromArray(c,3*k);qg(Sf,k,e,d,a,b,this)}}else for(f=0,g=c.length/3;f<g;f++)Sf.fromArray(c,3*f),qg(Sf,f,e,d,a,b,this)}else for(c=c.vertices,f=0,g=c.length;f<g;f++)qg(c[f],f,e,d,a,b,this)},updateMorphTargets:function(){var a=this.geometry;if(a.isBufferGeometry){a=a.morphAttributes;var b=Object.keys(a);if(0<b.length&&(a=a[b[0]],void 0!==a)){this.morphTargetInfluences=[];this.morphTargetDictionary={};b=0;for(var c=a.length;b<c;b++){var d=a[b].name||String(b);this.morphTargetInfluences.push(0);
this.morphTargetDictionary[d]=b}}}else a=a.morphTargets,void 0!==a&&0<a.length&&console.error("THREE.Points.updateMorphTargets() does not support THREE.Geometry. Use THREE.BufferGeometry instead.")}});sg.prototype=Object.assign(Object.create(W.prototype),{constructor:sg,isVideoTexture:!0,update:function(){var a=this.image;a.readyState>=a.HAVE_CURRENT_DATA&&(this.needsUpdate=!0)}});Nc.prototype=Object.create(W.prototype);Nc.prototype.constructor=Nc;Nc.prototype.isCompressedTexture=!0;Qd.prototype=
Object.create(W.prototype);Qd.prototype.constructor=Qd;Qd.prototype.isCanvasTexture=!0;Rd.prototype=Object.create(W.prototype);Rd.prototype.constructor=Rd;Rd.prototype.isDepthTexture=!0;Oc.prototype=Object.create(F.prototype);Oc.prototype.constructor=Oc;Sd.prototype=Object.create(L.prototype);Sd.prototype.constructor=Sd;Pc.prototype=Object.create(F.prototype);Pc.prototype.constructor=Pc;Td.prototype=Object.create(L.prototype);Td.prototype.constructor=Td;Fa.prototype=Object.create(F.prototype);Fa.prototype.constructor=
Fa;Ud.prototype=Object.create(L.prototype);Ud.prototype.constructor=Ud;Qc.prototype=Object.create(Fa.prototype);Qc.prototype.constructor=Qc;Vd.prototype=Object.create(L.prototype);Vd.prototype.constructor=Vd;bc.prototype=Object.create(Fa.prototype);bc.prototype.constructor=bc;Wd.prototype=Object.create(L.prototype);Wd.prototype.constructor=Wd;Rc.prototype=Object.create(Fa.prototype);Rc.prototype.constructor=Rc;Xd.prototype=Object.create(L.prototype);Xd.prototype.constructor=Xd;Sc.prototype=Object.create(Fa.prototype);
Sc.prototype.constructor=Sc;Yd.prototype=Object.create(L.prototype);Yd.prototype.constructor=Yd;cc.prototype=Object.create(F.prototype);cc.prototype.constructor=cc;cc.prototype.toJSON=function(){var a=F.prototype.toJSON.call(this);a.path=this.parameters.path.toJSON();return a};Zd.prototype=Object.create(L.prototype);Zd.prototype.constructor=Zd;Tc.prototype=Object.create(F.prototype);Tc.prototype.constructor=Tc;$d.prototype=Object.create(L.prototype);$d.prototype.constructor=$d;Uc.prototype=Object.create(F.prototype);
Uc.prototype.constructor=Uc;var Uk={triangulate:function(a,b,c){c=c||2;var d=b&&b.length,e=d?b[0]*c:a.length,f=$h(a,0,e,c,!0),g=[];if(!f||f.next===f.prev)return g;var h;if(d){var k=c;d=[];var n;var q=0;for(n=b.length;q<n;q++){var m=b[q]*k;var v=q<n-1?b[q+1]*k:a.length;m=$h(a,m,v,k,!1);m===m.next&&(m.steiner=!0);d.push(Gk(m))}d.sort(Ek);for(q=0;q<d.length;q++){k=d[q];b=f;if(b=Fk(k,b))k=ci(b,k),Lb(b,b.next),Lb(k,k.next);f=Lb(f,f.next)}}if(a.length>80*c){var t=h=a[0];var r=d=a[1];for(k=c;k<e;k+=c)q=
a[k],b=a[k+1],q<t&&(t=q),b<r&&(r=b),q>h&&(h=q),b>d&&(d=b);h=Math.max(h-t,d-r);h=0!==h?1/h:0}be(f,g,c,t,r,h);return g}},rb={area:function(a){for(var b=a.length,c=0,d=b-1,e=0;e<b;d=e++)c+=a[d].x*a[e].y-a[e].x*a[d].y;return.5*c},isClockWise:function(a){return 0>rb.area(a)},triangulateShape:function(a,b){var c=[],d=[],e=[];di(a);ei(c,a);a=a.length;b.forEach(di);for(var f=0;f<b.length;f++)d.push(a),a+=b[f].length,ei(c,b[f]);b=Uk.triangulate(c,d);for(c=0;c<b.length;c+=3)e.push(b.slice(c,c+3));return e}};
dc.prototype=Object.create(L.prototype);dc.prototype.constructor=dc;dc.prototype.toJSON=function(){var a=L.prototype.toJSON.call(this);return fi(this.parameters.shapes,this.parameters.options,a)};hb.prototype=Object.create(F.prototype);hb.prototype.constructor=hb;hb.prototype.toJSON=function(){var a=F.prototype.toJSON.call(this);return fi(this.parameters.shapes,this.parameters.options,a)};var Hk={generateTopUV:function(a,b,c,d,e){a=b[3*d];d=b[3*d+1];var f=b[3*e];e=b[3*e+1];return[new w(b[3*c],b[3*
c+1]),new w(a,d),new w(f,e)]},generateSideWallUV:function(a,b,c,d,e,f){a=b[3*c];var g=b[3*c+1];c=b[3*c+2];var h=b[3*d],k=b[3*d+1];d=b[3*d+2];var n=b[3*e],m=b[3*e+1];e=b[3*e+2];var p=b[3*f],v=b[3*f+1];b=b[3*f+2];return.01>Math.abs(g-k)?[new w(a,1-c),new w(h,1-d),new w(n,1-e),new w(p,1-b)]:[new w(g,1-c),new w(k,1-d),new w(m,1-e),new w(v,1-b)]}};de.prototype=Object.create(L.prototype);de.prototype.constructor=de;Wc.prototype=Object.create(hb.prototype);Wc.prototype.constructor=Wc;ee.prototype=Object.create(L.prototype);
ee.prototype.constructor=ee;ec.prototype=Object.create(F.prototype);ec.prototype.constructor=ec;fe.prototype=Object.create(L.prototype);fe.prototype.constructor=fe;Xc.prototype=Object.create(F.prototype);Xc.prototype.constructor=Xc;ge.prototype=Object.create(L.prototype);ge.prototype.constructor=ge;Yc.prototype=Object.create(F.prototype);Yc.prototype.constructor=Yc;fc.prototype=Object.create(L.prototype);fc.prototype.constructor=fc;fc.prototype.toJSON=function(){var a=L.prototype.toJSON.call(this);
return gi(this.parameters.shapes,a)};gc.prototype=Object.create(F.prototype);gc.prototype.constructor=gc;gc.prototype.toJSON=function(){var a=F.prototype.toJSON.call(this);return gi(this.parameters.shapes,a)};Zc.prototype=Object.create(F.prototype);Zc.prototype.constructor=Zc;hc.prototype=Object.create(L.prototype);hc.prototype.constructor=hc;sb.prototype=Object.create(F.prototype);sb.prototype.constructor=sb;he.prototype=Object.create(hc.prototype);he.prototype.constructor=he;ie.prototype=Object.create(sb.prototype);
ie.prototype.constructor=ie;je.prototype=Object.create(L.prototype);je.prototype.constructor=je;$c.prototype=Object.create(F.prototype);$c.prototype.constructor=$c;var ra=Object.freeze({__proto__:null,WireframeGeometry:Oc,ParametricGeometry:Sd,ParametricBufferGeometry:Pc,TetrahedronGeometry:Ud,TetrahedronBufferGeometry:Qc,OctahedronGeometry:Vd,OctahedronBufferGeometry:bc,IcosahedronGeometry:Wd,IcosahedronBufferGeometry:Rc,DodecahedronGeometry:Xd,DodecahedronBufferGeometry:Sc,PolyhedronGeometry:Td,
PolyhedronBufferGeometry:Fa,TubeGeometry:Yd,TubeBufferGeometry:cc,TorusKnotGeometry:Zd,TorusKnotBufferGeometry:Tc,TorusGeometry:$d,TorusBufferGeometry:Uc,TextGeometry:de,TextBufferGeometry:Wc,SphereGeometry:ee,SphereBufferGeometry:ec,RingGeometry:fe,RingBufferGeometry:Xc,PlaneGeometry:Fd,PlaneBufferGeometry:ac,LatheGeometry:ge,LatheBufferGeometry:Yc,ShapeGeometry:fc,ShapeBufferGeometry:gc,ExtrudeGeometry:dc,ExtrudeBufferGeometry:hb,EdgesGeometry:Zc,ConeGeometry:he,ConeBufferGeometry:ie,CylinderGeometry:hc,
CylinderBufferGeometry:sb,CircleGeometry:je,CircleBufferGeometry:$c,BoxGeometry:kh,BoxBufferGeometry:Gd});ic.prototype=Object.create(G.prototype);ic.prototype.constructor=ic;ic.prototype.isShadowMaterial=!0;ic.prototype.copy=function(a){G.prototype.copy.call(this,a);this.color.copy(a.color);return this};tb.prototype=Object.create(Ba.prototype);tb.prototype.constructor=tb;tb.prototype.isRawShaderMaterial=!0;ib.prototype=Object.create(G.prototype);ib.prototype.constructor=ib;ib.prototype.isMeshStandardMaterial=
!0;ib.prototype.copy=function(a){G.prototype.copy.call(this,a);this.defines={STANDARD:""};this.color.copy(a.color);this.roughness=a.roughness;this.metalness=a.metalness;this.map=a.map;this.lightMap=a.lightMap;this.lightMapIntensity=a.lightMapIntensity;this.aoMap=a.aoMap;this.aoMapIntensity=a.aoMapIntensity;this.emissive.copy(a.emissive);this.emissiveMap=a.emissiveMap;this.emissiveIntensity=a.emissiveIntensity;this.bumpMap=a.bumpMap;this.bumpScale=a.bumpScale;this.normalMap=a.normalMap;this.normalMapType=
a.normalMapType;this.normalScale.copy(a.normalScale);this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias;this.roughnessMap=a.roughnessMap;this.metalnessMap=a.metalnessMap;this.alphaMap=a.alphaMap;this.envMap=a.envMap;this.envMapIntensity=a.envMapIntensity;this.refractionRatio=a.refractionRatio;this.wireframe=a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;this.wireframeLinecap=a.wireframeLinecap;this.wireframeLinejoin=
a.wireframeLinejoin;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;this.vertexTangents=a.vertexTangents;return this};jc.prototype=Object.create(ib.prototype);jc.prototype.constructor=jc;jc.prototype.isMeshPhysicalMaterial=!0;jc.prototype.copy=function(a){ib.prototype.copy.call(this,a);this.defines={STANDARD:"",PHYSICAL:""};this.clearcoat=a.clearcoat;this.clearcoatMap=a.clearcoatMap;this.clearcoatRoughness=a.clearcoatRoughness;this.clearcoatRoughnessMap=
a.clearcoatRoughnessMap;this.clearcoatNormalMap=a.clearcoatNormalMap;this.clearcoatNormalScale.copy(a.clearcoatNormalScale);this.reflectivity=a.reflectivity;this.sheen=a.sheen?(this.sheen||new D).copy(a.sheen):null;this.transparency=a.transparency;return this};Mb.prototype=Object.create(G.prototype);Mb.prototype.constructor=Mb;Mb.prototype.isMeshPhongMaterial=!0;Mb.prototype.copy=function(a){G.prototype.copy.call(this,a);this.color.copy(a.color);this.specular.copy(a.specular);this.shininess=a.shininess;
this.map=a.map;this.lightMap=a.lightMap;this.lightMapIntensity=a.lightMapIntensity;this.aoMap=a.aoMap;this.aoMapIntensity=a.aoMapIntensity;this.emissive.copy(a.emissive);this.emissiveMap=a.emissiveMap;this.emissiveIntensity=a.emissiveIntensity;this.bumpMap=a.bumpMap;this.bumpScale=a.bumpScale;this.normalMap=a.normalMap;this.normalMapType=a.normalMapType;this.normalScale.copy(a.normalScale);this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias;
this.specularMap=a.specularMap;this.alphaMap=a.alphaMap;this.envMap=a.envMap;this.combine=a.combine;this.reflectivity=a.reflectivity;this.refractionRatio=a.refractionRatio;this.wireframe=a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;this.wireframeLinecap=a.wireframeLinecap;this.wireframeLinejoin=a.wireframeLinejoin;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;return this};kc.prototype=Object.create(G.prototype);kc.prototype.constructor=kc;kc.prototype.isMeshToonMaterial=
!0;kc.prototype.copy=function(a){G.prototype.copy.call(this,a);this.color.copy(a.color);this.specular.copy(a.specular);this.shininess=a.shininess;this.map=a.map;this.gradientMap=a.gradientMap;this.lightMap=a.lightMap;this.lightMapIntensity=a.lightMapIntensity;this.aoMap=a.aoMap;this.aoMapIntensity=a.aoMapIntensity;this.emissive.copy(a.emissive);this.emissiveMap=a.emissiveMap;this.emissiveIntensity=a.emissiveIntensity;this.bumpMap=a.bumpMap;this.bumpScale=a.bumpScale;this.normalMap=a.normalMap;this.normalMapType=
a.normalMapType;this.normalScale.copy(a.normalScale);this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias;this.specularMap=a.specularMap;this.alphaMap=a.alphaMap;this.wireframe=a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;this.wireframeLinecap=a.wireframeLinecap;this.wireframeLinejoin=a.wireframeLinejoin;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;return this};lc.prototype=
Object.create(G.prototype);lc.prototype.constructor=lc;lc.prototype.isMeshNormalMaterial=!0;lc.prototype.copy=function(a){G.prototype.copy.call(this,a);this.bumpMap=a.bumpMap;this.bumpScale=a.bumpScale;this.normalMap=a.normalMap;this.normalMapType=a.normalMapType;this.normalScale.copy(a.normalScale);this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias;this.wireframe=a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;this.skinning=
a.skinning;this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;return this};mc.prototype=Object.create(G.prototype);mc.prototype.constructor=mc;mc.prototype.isMeshLambertMaterial=!0;mc.prototype.copy=function(a){G.prototype.copy.call(this,a);this.color.copy(a.color);this.map=a.map;this.lightMap=a.lightMap;this.lightMapIntensity=a.lightMapIntensity;this.aoMap=a.aoMap;this.aoMapIntensity=a.aoMapIntensity;this.emissive.copy(a.emissive);this.emissiveMap=a.emissiveMap;this.emissiveIntensity=
a.emissiveIntensity;this.specularMap=a.specularMap;this.alphaMap=a.alphaMap;this.envMap=a.envMap;this.combine=a.combine;this.reflectivity=a.reflectivity;this.refractionRatio=a.refractionRatio;this.wireframe=a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;this.wireframeLinecap=a.wireframeLinecap;this.wireframeLinejoin=a.wireframeLinejoin;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;return this};nc.prototype=Object.create(G.prototype);nc.prototype.constructor=
nc;nc.prototype.isMeshMatcapMaterial=!0;nc.prototype.copy=function(a){G.prototype.copy.call(this,a);this.defines={MATCAP:""};this.color.copy(a.color);this.matcap=a.matcap;this.map=a.map;this.bumpMap=a.bumpMap;this.bumpScale=a.bumpScale;this.normalMap=a.normalMap;this.normalMapType=a.normalMapType;this.normalScale.copy(a.normalScale);this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias;this.alphaMap=a.alphaMap;this.skinning=a.skinning;
this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;return this};oc.prototype=Object.create(la.prototype);oc.prototype.constructor=oc;oc.prototype.isLineDashedMaterial=!0;oc.prototype.copy=function(a){la.prototype.copy.call(this,a);this.scale=a.scale;this.dashSize=a.dashSize;this.gapSize=a.gapSize;return this};var Vk=Object.freeze({__proto__:null,ShadowMaterial:ic,SpriteMaterial:Kb,RawShaderMaterial:tb,ShaderMaterial:Ba,PointsMaterial:Xa,MeshPhysicalMaterial:jc,MeshStandardMaterial:ib,
MeshPhongMaterial:Mb,MeshToonMaterial:kc,MeshNormalMaterial:lc,MeshLambertMaterial:mc,MeshDepthMaterial:Gb,MeshDistanceMaterial:Hb,MeshBasicMaterial:Oa,MeshMatcapMaterial:nc,LineDashedMaterial:oc,LineBasicMaterial:la,Material:G}),Z={arraySlice:function(a,b,c){return Z.isTypedArray(a)?new a.constructor(a.subarray(b,void 0!==c?c:a.length)):a.slice(b,c)},convertArray:function(a,b,c){return!a||!c&&a.constructor===b?a:"number"===typeof b.BYTES_PER_ELEMENT?new b(a):Array.prototype.slice.call(a)},isTypedArray:function(a){return ArrayBuffer.isView(a)&&
!(a instanceof DataView)},getKeyframeOrder:function(a){for(var b=a.length,c=Array(b),d=0;d!==b;++d)c[d]=d;c.sort(function(b,c){return a[b]-a[c]});return c},sortedArray:function(a,b,c){for(var d=a.length,e=new a.constructor(d),f=0,g=0;g!==d;++f)for(var h=c[f]*b,k=0;k!==b;++k)e[g++]=a[h+k];return e},flattenJSON:function(a,b,c,d){for(var e=1,f=a[0];void 0!==f&&void 0===f[d];)f=a[e++];if(void 0!==f){var g=f[d];if(void 0!==g)if(Array.isArray(g)){do g=f[d],void 0!==g&&(b.push(f.time),c.push.apply(c,g)),
f=a[e++];while(void 0!==f)}else if(void 0!==g.toArray){do g=f[d],void 0!==g&&(b.push(f.time),g.toArray(c,c.length)),f=a[e++];while(void 0!==f)}else{do g=f[d],void 0!==g&&(b.push(f.time),c.push(g)),f=a[e++];while(void 0!==f)}}},subclip:function(a,b,c,d,e){e=e||30;a=a.clone();a.name=b;b=[];for(var f=0;f<a.tracks.length;++f){for(var g=a.tracks[f],h=g.getValueSize(),k=[],n=[],m=0;m<g.times.length;++m){var p=g.times[m]*e;if(!(p<c||p>=d))for(k.push(g.times[m]),p=0;p<h;++p)n.push(g.values[m*h+p])}0!==k.length&&
(g.times=Z.convertArray(k,g.times.constructor),g.values=Z.convertArray(n,g.values.constructor),b.push(g))}a.tracks=b;c=Infinity;for(d=0;d<a.tracks.length;++d)c>a.tracks[d].times[0]&&(c=a.tracks[d].times[0]);for(d=0;d<a.tracks.length;++d)a.tracks[d].shift(-1*c);a.resetDuration();return a},makeClipAdditive:function(a,b,c,d){void 0===b&&(b=0);void 0===c&&(c=a);if(void 0===d||0>=d)d=30;var e=a.tracks.length,f=b/d;b=function(b){var d=c.tracks[b],e=d.ValueTypeName;if("bool"!==e&&"string"!==e&&(b=a.tracks.find(function(a){return a.name===
d.name&&a.ValueTypeName===e}),void 0!==b)){var g=d.getValueSize(),k=d.times.length-1,m=void 0;f<=d.times[0]?m=Z.arraySlice(d.values,0,d.valueSize):f>=d.times[k]?m=Z.arraySlice(d.values,k*g):(m=d.createInterpolant(),m.evaluate(f),m=m.resultBuffer);"quaternion"===e&&(new na(m[0],m[1],m[2],m[3])).normalize().conjugate().toArray(m);k=b.times.length;for(var v=0;v<k;++v){var t=v*g;if("quaternion"===e)na.multiplyQuaternionsFlat(b.values,t,m,0,b.values,t);else for(var r=0;r<g;++r)b.values[t+r]-=m[r]}}};for(d=
0;d<e;++d)b(d);a.blendMode=2501;return a}};Object.assign(La.prototype,{evaluate:function(a){var b=this.parameterPositions,c=this._cachedIndex,d=b[c],e=b[c-1];a:{b:{c:{d:if(!(a<d)){for(var f=c+2;;){if(void 0===d){if(a<e)break d;this._cachedIndex=c=b.length;return this.afterEnd_(c-1,a,e)}if(c===f)break;e=d;d=b[++c];if(a<d)break b}d=b.length;break c}if(a>=e)break a;else{f=b[1];a<f&&(c=2,e=f);for(f=c-2;;){if(void 0===e)return this._cachedIndex=0,this.beforeStart_(0,a,d);if(c===f)break;d=e;e=b[--c-1];
if(a>=e)break b}d=c;c=0}}for(;c<d;)e=c+d>>>1,a<b[e]?d=e:c=e+1;d=b[c];e=b[c-1];if(void 0===e)return this._cachedIndex=0,this.beforeStart_(0,a,d);if(void 0===d)return this._cachedIndex=c=b.length,this.afterEnd_(c-1,e,a)}this._cachedIndex=c;this.intervalChanged_(c,e,d)}return this.interpolate_(c,e,a,d)},settings:null,DefaultSettings_:{},getSettings_:function(){return this.settings||this.DefaultSettings_},copySampleValue_:function(a){var b=this.resultBuffer,c=this.sampleValues,d=this.valueSize;a*=d;for(var e=
0;e!==d;++e)b[e]=c[a+e];return b},interpolate_:function(){throw Error("call to abstract method");},intervalChanged_:function(){}});Object.assign(La.prototype,{beforeStart_:La.prototype.copySampleValue_,afterEnd_:La.prototype.copySampleValue_});Ze.prototype=Object.assign(Object.create(La.prototype),{constructor:Ze,DefaultSettings_:{endingStart:2400,endingEnd:2400},intervalChanged_:function(a,b,c){var d=this.parameterPositions,e=a-2,f=a+1,g=d[e],h=d[f];if(void 0===g)switch(this.getSettings_().endingStart){case 2401:e=
a;g=2*b-c;break;case 2402:e=d.length-2;g=b+d[e]-d[e+1];break;default:e=a,g=c}if(void 0===h)switch(this.getSettings_().endingEnd){case 2401:f=a;h=2*c-b;break;case 2402:f=1;h=c+d[1]-d[0];break;default:f=a-1,h=b}a=.5*(c-b);d=this.valueSize;this._weightPrev=a/(b-g);this._weightNext=a/(h-c);this._offsetPrev=e*d;this._offsetNext=f*d},interpolate_:function(a,b,c,d){var e=this.resultBuffer,f=this.sampleValues,g=this.valueSize;a*=g;var h=a-g,k=this._offsetPrev,n=this._offsetNext,m=this._weightPrev,p=this._weightNext,
v=(c-b)/(d-b);c=v*v;d=c*v;b=-m*d+2*m*c-m*v;m=(1+m)*d+(-1.5-2*m)*c+(-.5+m)*v+1;v=(-1-p)*d+(1.5+p)*c+.5*v;p=p*d-p*c;for(c=0;c!==g;++c)e[c]=b*f[k+c]+m*f[h+c]+v*f[a+c]+p*f[n+c];return e}});ke.prototype=Object.assign(Object.create(La.prototype),{constructor:ke,interpolate_:function(a,b,c,d){var e=this.resultBuffer,f=this.sampleValues,g=this.valueSize;a*=g;var h=a-g;b=(c-b)/(d-b);c=1-b;for(d=0;d!==g;++d)e[d]=f[h+d]*c+f[a+d]*b;return e}});$e.prototype=Object.assign(Object.create(La.prototype),{constructor:$e,
interpolate_:function(a){return this.copySampleValue_(a-1)}});Object.assign(ta,{toJSON:function(a){var b=a.constructor;if(void 0!==b.toJSON)b=b.toJSON(a);else{b={name:a.name,times:Z.convertArray(a.times,Array),values:Z.convertArray(a.values,Array)};var c=a.getInterpolation();c!==a.DefaultInterpolation&&(b.interpolation=c)}b.type=a.ValueTypeName;return b}});Object.assign(ta.prototype,{constructor:ta,TimeBufferType:Float32Array,ValueBufferType:Float32Array,DefaultInterpolation:2301,InterpolantFactoryMethodDiscrete:function(a){return new $e(this.times,
this.values,this.getValueSize(),a)},InterpolantFactoryMethodLinear:function(a){return new ke(this.times,this.values,this.getValueSize(),a)},InterpolantFactoryMethodSmooth:function(a){return new Ze(this.times,this.values,this.getValueSize(),a)},setInterpolation:function(a){switch(a){case 2300:var b=this.InterpolantFactoryMethodDiscrete;break;case 2301:b=this.InterpolantFactoryMethodLinear;break;case 2302:b=this.InterpolantFactoryMethodSmooth}if(void 0===b){b="unsupported interpolation for "+this.ValueTypeName+
" keyframe track named "+this.name;if(void 0===this.createInterpolant)if(a!==this.DefaultInterpolation)this.setInterpolation(this.DefaultInterpolation);else throw Error(b);console.warn("THREE.KeyframeTrack:",b);return this}this.createInterpolant=b;return this},getInterpolation:function(){switch(this.createInterpolant){case this.InterpolantFactoryMethodDiscrete:return 2300;case this.InterpolantFactoryMethodLinear:return 2301;case this.InterpolantFactoryMethodSmooth:return 2302}},getValueSize:function(){return this.values.length/
this.times.length},shift:function(a){if(0!==a)for(var b=this.times,c=0,d=b.length;c!==d;++c)b[c]+=a;return this},scale:function(a){if(1!==a)for(var b=this.times,c=0,d=b.length;c!==d;++c)b[c]*=a;return this},trim:function(a,b){for(var c=this.times,d=c.length,e=0,f=d-1;e!==d&&c[e]<a;)++e;for(;-1!==f&&c[f]>b;)--f;++f;if(0!==e||f!==d)e>=f&&(f=Math.max(f,1),e=f-1),a=this.getValueSize(),this.times=Z.arraySlice(c,e,f),this.values=Z.arraySlice(this.values,e*a,f*a);return this},validate:function(){var a=!0,
b=this.getValueSize();0!==b-Math.floor(b)&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),a=!1);var c=this.times;b=this.values;var d=c.length;0===d&&(console.error("THREE.KeyframeTrack: Track is empty.",this),a=!1);for(var e=null,f=0;f!==d;f++){var g=c[f];if("number"===typeof g&&isNaN(g)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,f,g);a=!1;break}if(null!==e&&e>g){console.error("THREE.KeyframeTrack: Out of order keys.",this,f,g,e);a=!1;break}e=
g}if(void 0!==b&&Z.isTypedArray(b))for(c=0,d=b.length;c!==d;++c)if(e=b[c],isNaN(e)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,c,e);a=!1;break}return a},optimize:function(){for(var a=Z.arraySlice(this.times),b=Z.arraySlice(this.values),c=this.getValueSize(),d=2302===this.getInterpolation(),e=a.length-1,f=1,g=1;g<e;++g){var h=!1,k=a[g];if(k!==a[g+1]&&(1!==g||k!==k[0]))if(d)h=!0;else{k=g*c;for(var n=k-c,m=k+c,p=0;p!==c;++p){var v=b[k+p];if(v!==b[n+p]||v!==b[m+p]){h=!0;break}}}if(h){if(g!==
f)for(a[f]=a[g],h=g*c,k=f*c,n=0;n!==c;++n)b[k+n]=b[h+n];++f}}if(0<e){a[f]=a[e];d=e*c;e=f*c;for(g=0;g!==c;++g)b[e+g]=b[d+g];++f}f!==a.length?(this.times=Z.arraySlice(a,0,f),this.values=Z.arraySlice(b,0,f*c)):(this.times=a,this.values=b);return this},clone:function(){var a=Z.arraySlice(this.times,0),b=Z.arraySlice(this.values,0);a=new this.constructor(this.name,a,b);a.createInterpolant=this.createInterpolant;return a}});af.prototype=Object.assign(Object.create(ta.prototype),{constructor:af,ValueTypeName:"bool",
ValueBufferType:Array,DefaultInterpolation:2300,InterpolantFactoryMethodLinear:void 0,InterpolantFactoryMethodSmooth:void 0});bf.prototype=Object.assign(Object.create(ta.prototype),{constructor:bf,ValueTypeName:"color"});ad.prototype=Object.assign(Object.create(ta.prototype),{constructor:ad,ValueTypeName:"number"});cf.prototype=Object.assign(Object.create(La.prototype),{constructor:cf,interpolate_:function(a,b,c,d){var e=this.resultBuffer,f=this.sampleValues,g=this.valueSize;b=(c-b)/(d-b);a*=g;for(c=
a+g;a!==c;a+=4)na.slerpFlat(e,0,f,a-g,f,a,b);return e}});le.prototype=Object.assign(Object.create(ta.prototype),{constructor:le,ValueTypeName:"quaternion",DefaultInterpolation:2301,InterpolantFactoryMethodLinear:function(a){return new cf(this.times,this.values,this.getValueSize(),a)},InterpolantFactoryMethodSmooth:void 0});df.prototype=Object.assign(Object.create(ta.prototype),{constructor:df,ValueTypeName:"string",ValueBufferType:Array,DefaultInterpolation:2300,InterpolantFactoryMethodLinear:void 0,
InterpolantFactoryMethodSmooth:void 0});bd.prototype=Object.assign(Object.create(ta.prototype),{constructor:bd,ValueTypeName:"vector"});Object.assign(Qa,{parse:function(a){for(var b=[],c=a.tracks,d=1/(a.fps||1),e=0,f=c.length;e!==f;++e)b.push(Jk(c[e]).scale(d));return new Qa(a.name,a.duration,b,a.blendMode)},toJSON:function(a){var b=[],c=a.tracks;a={name:a.name,duration:a.duration,tracks:b,uuid:a.uuid,blendMode:a.blendMode};for(var d=0,e=c.length;d!==e;++d)b.push(ta.toJSON(c[d]));return a},CreateFromMorphTargetSequence:function(a,
b,c,d){for(var e=b.length,f=[],g=0;g<e;g++){var h=[],k=[];h.push((g+e-1)%e,g,(g+1)%e);k.push(0,1,0);var n=Z.getKeyframeOrder(h);h=Z.sortedArray(h,1,n);k=Z.sortedArray(k,1,n);d||0!==h[0]||(h.push(e),k.push(k[0]));f.push((new ad(".morphTargetInfluences["+b[g].name+"]",h,k)).scale(1/c))}return new Qa(a,-1,f)},findByName:function(a,b){var c=a;Array.isArray(a)||(c=a.geometry&&a.geometry.animations||a.animations);for(a=0;a<c.length;a++)if(c[a].name===b)return c[a];return null},CreateClipsFromMorphTargetSequences:function(a,
b,c){for(var d={},e=/^([\w-]*?)([\d]+)$/,f=0,g=a.length;f<g;f++){var h=a[f],k=h.name.match(e);if(k&&1<k.length){k=k[1];var n=d[k];n||(d[k]=n=[]);n.push(h)}}a=[];for(var m in d)a.push(Qa.CreateFromMorphTargetSequence(m,d[m],b,c));return a},parseAnimation:function(a,b){if(!a)return console.error("THREE.AnimationClip: No animation in JSONLoader data."),null;var c=function(a,b,c,d,e){if(0!==c.length){var f=[],g=[];Z.flattenJSON(c,f,g,d);0!==f.length&&e.push(new a(b,f,g))}},d=[],e=a.name||"default",f=
a.fps||30,g=a.blendMode,h=a.length||-1;a=a.hierarchy||[];for(var k=0;k<a.length;k++){var n=a[k].keys;if(n&&0!==n.length)if(n[0].morphTargets){h={};var m=void 0;for(m=0;m<n.length;m++)if(n[m].morphTargets)for(var p=0;p<n[m].morphTargets.length;p++)h[n[m].morphTargets[p]]=-1;for(var v in h){p=[];for(var t=[],r=0;r!==n[m].morphTargets.length;++r){var u=n[m];p.push(u.time);t.push(u.morphTarget===v?1:0)}d.push(new ad(".morphTargetInfluence["+v+"]",p,t))}h=h.length*(f||1)}else m=".bones["+b[k].name+"]",
c(bd,m+".position",n,"pos",d),c(le,m+".quaternion",n,"rot",d),c(bd,m+".scale",n,"scl",d)}return 0===d.length?null:new Qa(e,h,d,g)}});Object.assign(Qa.prototype,{resetDuration:function(){for(var a=0,b=0,c=this.tracks.length;b!==c;++b){var d=this.tracks[b];a=Math.max(a,d.times[d.times.length-1])}this.duration=a;return this},trim:function(){for(var a=0;a<this.tracks.length;a++)this.tracks[a].trim(0,this.duration);return this},validate:function(){for(var a=!0,b=0;b<this.tracks.length;b++)a=a&&this.tracks[b].validate();
return a},optimize:function(){for(var a=0;a<this.tracks.length;a++)this.tracks[a].optimize();return this},clone:function(){for(var a=[],b=0;b<this.tracks.length;b++)a.push(this.tracks[b].clone());return new Qa(this.name,this.duration,a,this.blendMode)}});var tc={enabled:!1,files:{},add:function(a,b){!1!==this.enabled&&(this.files[a]=b)},get:function(a){if(!1!==this.enabled)return this.files[a]},remove:function(a){delete this.files[a]},clear:function(){this.files={}}},hi=new vg;Object.assign(S.prototype,
{load:function(){},loadAsync:function(a,b){var c=this;return new Promise(function(d,e){c.load(a,d,b,e)})},parse:function(){},setCrossOrigin:function(a){this.crossOrigin=a;return this},setPath:function(a){this.path=a;return this},setResourcePath:function(a){this.resourcePath=a;return this},setRequestHeader:function(a){this.requestHeader=a;return this}});var db={};Ra.prototype=Object.assign(Object.create(S.prototype),{constructor:Ra,load:function(a,b,c,d){void 0===a&&(a="");void 0!==this.path&&(a=this.path+
a);a=this.manager.resolveURL(a);var e=this,f=tc.get(a);if(void 0!==f)return e.manager.itemStart(a),setTimeout(function(){b&&b(f);e.manager.itemEnd(a)},0),f;if(void 0!==db[a])db[a].push({onLoad:b,onProgress:c,onError:d});else{var g=a.match(/^data:(.*?)(;base64)?,(.*)$/);if(g){c=g[1];var h=!!g[2];g=g[3];g=decodeURIComponent(g);h&&(g=atob(g));try{var k=(this.responseType||"").toLowerCase();switch(k){case "arraybuffer":case "blob":var n=new Uint8Array(g.length);for(h=0;h<g.length;h++)n[h]=g.charCodeAt(h);
var m="blob"===k?new Blob([n.buffer],{type:c}):n.buffer;break;case "document":m=(new DOMParser).parseFromString(g,c);break;case "json":m=JSON.parse(g);break;default:m=g}setTimeout(function(){b&&b(m);e.manager.itemEnd(a)},0)}catch(v){setTimeout(function(){d&&d(v);e.manager.itemError(a);e.manager.itemEnd(a)},0)}}else{db[a]=[];db[a].push({onLoad:b,onProgress:c,onError:d});var p=new XMLHttpRequest;p.open("GET",a,!0);p.addEventListener("load",function(b){var c=this.response,d=db[a];delete db[a];if(200===
this.status||0===this.status){0===this.status&&console.warn("THREE.FileLoader: HTTP Status 0 received.");tc.add(a,c);b=0;for(var f=d.length;b<f;b++){var g=d[b];if(g.onLoad)g.onLoad(c)}}else{c=0;for(f=d.length;c<f;c++)if(g=d[c],g.onError)g.onError(b);e.manager.itemError(a)}e.manager.itemEnd(a)},!1);p.addEventListener("progress",function(b){for(var c=db[a],d=0,e=c.length;d<e;d++){var f=c[d];if(f.onProgress)f.onProgress(b)}},!1);p.addEventListener("error",function(b){var c=db[a];delete db[a];for(var d=
0,f=c.length;d<f;d++){var g=c[d];if(g.onError)g.onError(b)}e.manager.itemError(a);e.manager.itemEnd(a)},!1);p.addEventListener("abort",function(b){var c=db[a];delete db[a];for(var d=0,f=c.length;d<f;d++){var g=c[d];if(g.onError)g.onError(b)}e.manager.itemError(a);e.manager.itemEnd(a)},!1);void 0!==this.responseType&&(p.responseType=this.responseType);void 0!==this.withCredentials&&(p.withCredentials=this.withCredentials);p.overrideMimeType&&p.overrideMimeType(void 0!==this.mimeType?this.mimeType:
"text/plain");for(h in this.requestHeader)p.setRequestHeader(h,this.requestHeader[h]);p.send(null)}e.manager.itemStart(a);return p}},setResponseType:function(a){this.responseType=a;return this},setWithCredentials:function(a){this.withCredentials=a;return this},setMimeType:function(a){this.mimeType=a;return this}});wg.prototype=Object.assign(Object.create(S.prototype),{constructor:wg,load:function(a,b,c,d){var e=this,f=new Ra(e.manager);f.setPath(e.path);f.load(a,function(c){try{b(e.parse(JSON.parse(c)))}catch(h){d?
d(h):console.error(h),e.manager.itemError(a)}},c,d)},parse:function(a){for(var b=[],c=0;c<a.length;c++){var d=Qa.parse(a[c]);b.push(d)}return b}});xg.prototype=Object.assign(Object.create(S.prototype),{constructor:xg,load:function(a,b,c,d){function e(e){k.load(a[e],function(a){a=f.parse(a,!0);g[e]={width:a.width,height:a.height,format:a.format,mipmaps:a.mipmaps};n+=1;6===n&&(1===a.mipmapCount&&(h.minFilter=1006),h.format=a.format,h.needsUpdate=!0,b&&b(h))},c,d)}var f=this,g=[],h=new Nc;h.image=g;
var k=new Ra(this.manager);k.setPath(this.path);k.setResponseType("arraybuffer");var n=0;if(Array.isArray(a))for(var m=0,p=a.length;m<p;++m)e(m);else k.load(a,function(a){a=f.parse(a,!0);if(a.isCubemap)for(var c=a.mipmaps.length/a.mipmapCount,d=0;d<c;d++){g[d]={mipmaps:[]};for(var e=0;e<a.mipmapCount;e++)g[d].mipmaps.push(a.mipmaps[d*a.mipmapCount+e]),g[d].format=a.format,g[d].width=a.width,g[d].height=a.height}else h.image.width=a.width,h.image.height=a.height,h.mipmaps=a.mipmaps;1===a.mipmapCount&&
(h.minFilter=1006);h.format=a.format;h.needsUpdate=!0;b&&b(h)},c,d);return h}});ef.prototype=Object.assign(Object.create(S.prototype),{constructor:ef,load:function(a,b,c,d){var e=this,f=new $b,g=new Ra(this.manager);g.setResponseType("arraybuffer");g.setPath(this.path);g.load(a,function(a){if(a=e.parse(a))void 0!==a.image?f.image=a.image:void 0!==a.data&&(f.image.width=a.width,f.image.height=a.height,f.image.data=a.data),f.wrapS=void 0!==a.wrapS?a.wrapS:1001,f.wrapT=void 0!==a.wrapT?a.wrapT:1001,
f.magFilter=void 0!==a.magFilter?a.magFilter:1006,f.minFilter=void 0!==a.minFilter?a.minFilter:1006,f.anisotropy=void 0!==a.anisotropy?a.anisotropy:1,void 0!==a.format&&(f.format=a.format),void 0!==a.type&&(f.type=a.type),void 0!==a.mipmaps&&(f.mipmaps=a.mipmaps,f.minFilter=1008),1===a.mipmapCount&&(f.minFilter=1006),f.needsUpdate=!0,b&&b(f,a)},c,d);return f}});cd.prototype=Object.assign(Object.create(S.prototype),{constructor:cd,load:function(a,b,c,d){function e(){k.removeEventListener("load",e,
!1);k.removeEventListener("error",f,!1);tc.add(a,this);b&&b(this);g.manager.itemEnd(a)}function f(b){k.removeEventListener("load",e,!1);k.removeEventListener("error",f,!1);d&&d(b);g.manager.itemError(a);g.manager.itemEnd(a)}void 0!==this.path&&(a=this.path+a);a=this.manager.resolveURL(a);var g=this,h=tc.get(a);if(void 0!==h)return g.manager.itemStart(a),setTimeout(function(){b&&b(h);g.manager.itemEnd(a)},0),h;var k=document.createElementNS("http://www.w3.org/1999/xhtml","img");k.addEventListener("load",
e,!1);k.addEventListener("error",f,!1);"data:"!==a.substr(0,5)&&void 0!==this.crossOrigin&&(k.crossOrigin=this.crossOrigin);g.manager.itemStart(a);k.src=a;return k}});ff.prototype=Object.assign(Object.create(S.prototype),{constructor:ff,load:function(a,b,c,d){function e(c){g.load(a[c],function(a){f.images[c]=a;h++;6===h&&(f.needsUpdate=!0,b&&b(f))},void 0,d)}var f=new qb,g=new cd(this.manager);g.setCrossOrigin(this.crossOrigin);g.setPath(this.path);var h=0;for(c=0;c<a.length;++c)e(c);return f}});
gf.prototype=Object.assign(Object.create(S.prototype),{constructor:gf,load:function(a,b,c,d){var e=new W,f=new cd(this.manager);f.setCrossOrigin(this.crossOrigin);f.setPath(this.path);f.load(a,function(c){e.image=c;c=0<a.search(/\.jpe?g($|\?)/i)||0===a.search(/^data:image\/jpeg/);e.format=c?1022:1023;e.needsUpdate=!0;void 0!==b&&b(e)},c,d);return e}});Object.assign(J.prototype,{getPoint:function(){console.warn("THREE.Curve: .getPoint() not implemented.");return null},getPointAt:function(a,b){a=this.getUtoTmapping(a);
return this.getPoint(a,b)},getPoints:function(a){void 0===a&&(a=5);for(var b=[],c=0;c<=a;c++)b.push(this.getPoint(c/a));return b},getSpacedPoints:function(a){void 0===a&&(a=5);for(var b=[],c=0;c<=a;c++)b.push(this.getPointAt(c/a));return b},getLength:function(){var a=this.getLengths();return a[a.length-1]},getLengths:function(a){void 0===a&&(a=this.arcLengthDivisions);if(this.cacheArcLengths&&this.cacheArcLengths.length===a+1&&!this.needsUpdate)return this.cacheArcLengths;this.needsUpdate=!1;var b=
[],c=this.getPoint(0),d=0;b.push(0);for(var e=1;e<=a;e++){var f=this.getPoint(e/a);d+=f.distanceTo(c);b.push(d);c=f}return this.cacheArcLengths=b},updateArcLengths:function(){this.needsUpdate=!0;this.getLengths()},getUtoTmapping:function(a,b){var c=this.getLengths(),d=c.length;b=b?b:a*c[d-1];for(var e=0,f=d-1,g;e<=f;)if(a=Math.floor(e+(f-e)/2),g=c[a]-b,0>g)e=a+1;else if(0<g)f=a-1;else{f=a;break}a=f;if(c[a]===b)return a/(d-1);e=c[a];return(a+(b-e)/(c[a+1]-e))/(d-1)},getTangent:function(a,b){var c=
a-1E-4;a+=1E-4;0>c&&(c=0);1<a&&(a=1);c=this.getPoint(c);a=this.getPoint(a);b=b||(c.isVector2?new w:new m);b.copy(a).sub(c).normalize();return b},getTangentAt:function(a,b){a=this.getUtoTmapping(a);return this.getTangent(a,b)},computeFrenetFrames:function(a,b){for(var c=new m,d=[],e=[],f=[],g=new m,h=new M,k=0;k<=a;k++)d[k]=this.getTangentAt(k/a,new m),d[k].normalize();e[0]=new m;f[0]=new m;k=Number.MAX_VALUE;var n=Math.abs(d[0].x),q=Math.abs(d[0].y),p=Math.abs(d[0].z);n<=k&&(k=n,c.set(1,0,0));q<=
k&&(k=q,c.set(0,1,0));p<=k&&c.set(0,0,1);g.crossVectors(d[0],c).normalize();e[0].crossVectors(d[0],g);f[0].crossVectors(d[0],e[0]);for(c=1;c<=a;c++)e[c]=e[c-1].clone(),f[c]=f[c-1].clone(),g.crossVectors(d[c-1],d[c]),g.length()>Number.EPSILON&&(g.normalize(),k=Math.acos(K.clamp(d[c-1].dot(d[c]),-1,1)),e[c].applyMatrix4(h.makeRotationAxis(g,k))),f[c].crossVectors(d[c],e[c]);if(!0===b)for(b=Math.acos(K.clamp(e[0].dot(e[a]),-1,1)),b/=a,0<d[0].dot(g.crossVectors(e[0],e[a]))&&(b=-b),g=1;g<=a;g++)e[g].applyMatrix4(h.makeRotationAxis(d[g],
b*g)),f[g].crossVectors(d[g],e[g]);return{tangents:d,normals:e,binormals:f}},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.arcLengthDivisions=a.arcLengthDivisions;return this},toJSON:function(){var a={metadata:{version:4.5,type:"Curve",generator:"Curve.toJSON"}};a.arcLengthDivisions=this.arcLengthDivisions;a.type=this.type;return a},fromJSON:function(a){this.arcLengthDivisions=a.arcLengthDivisions;return this}});Ma.prototype=Object.create(J.prototype);Ma.prototype.constructor=
Ma;Ma.prototype.isEllipseCurve=!0;Ma.prototype.getPoint=function(a,b){b=b||new w;for(var c=2*Math.PI,d=this.aEndAngle-this.aStartAngle,e=Math.abs(d)<Number.EPSILON;0>d;)d+=c;for(;d>c;)d-=c;d<Number.EPSILON&&(d=e?0:c);!0!==this.aClockwise||e||(d=d===c?-c:d-c);c=this.aStartAngle+a*d;a=this.aX+this.xRadius*Math.cos(c);var f=this.aY+this.yRadius*Math.sin(c);0!==this.aRotation&&(c=Math.cos(this.aRotation),d=Math.sin(this.aRotation),e=a-this.aX,f-=this.aY,a=e*c-f*d+this.aX,f=e*d+f*c+this.aY);return b.set(a,
f)};Ma.prototype.copy=function(a){J.prototype.copy.call(this,a);this.aX=a.aX;this.aY=a.aY;this.xRadius=a.xRadius;this.yRadius=a.yRadius;this.aStartAngle=a.aStartAngle;this.aEndAngle=a.aEndAngle;this.aClockwise=a.aClockwise;this.aRotation=a.aRotation;return this};Ma.prototype.toJSON=function(){var a=J.prototype.toJSON.call(this);a.aX=this.aX;a.aY=this.aY;a.xRadius=this.xRadius;a.yRadius=this.yRadius;a.aStartAngle=this.aStartAngle;a.aEndAngle=this.aEndAngle;a.aClockwise=this.aClockwise;a.aRotation=
this.aRotation;return a};Ma.prototype.fromJSON=function(a){J.prototype.fromJSON.call(this,a);this.aX=a.aX;this.aY=a.aY;this.xRadius=a.xRadius;this.yRadius=a.yRadius;this.aStartAngle=a.aStartAngle;this.aEndAngle=a.aEndAngle;this.aClockwise=a.aClockwise;this.aRotation=a.aRotation;return this};dd.prototype=Object.create(Ma.prototype);dd.prototype.constructor=dd;dd.prototype.isArcCurve=!0;var Tf=new m,mh=new yg,nh=new yg,oh=new yg;pa.prototype=Object.create(J.prototype);pa.prototype.constructor=pa;pa.prototype.isCatmullRomCurve3=
!0;pa.prototype.getPoint=function(a,b){b=b||new m;var c=this.points,d=c.length;a*=d-(this.closed?0:1);var e=Math.floor(a);a-=e;this.closed?e+=0<e?0:(Math.floor(Math.abs(e)/d)+1)*d:0===a&&e===d-1&&(e=d-2,a=1);if(this.closed||0<e)var f=c[(e-1)%d];else Tf.subVectors(c[0],c[1]).add(c[0]),f=Tf;var g=c[e%d];var h=c[(e+1)%d];this.closed||e+2<d?c=c[(e+2)%d]:(Tf.subVectors(c[d-1],c[d-2]).add(c[d-1]),c=Tf);if("centripetal"===this.curveType||"chordal"===this.curveType){var k="chordal"===this.curveType?.5:.25;
d=Math.pow(f.distanceToSquared(g),k);e=Math.pow(g.distanceToSquared(h),k);k=Math.pow(h.distanceToSquared(c),k);1E-4>e&&(e=1);1E-4>d&&(d=e);1E-4>k&&(k=e);mh.initNonuniformCatmullRom(f.x,g.x,h.x,c.x,d,e,k);nh.initNonuniformCatmullRom(f.y,g.y,h.y,c.y,d,e,k);oh.initNonuniformCatmullRom(f.z,g.z,h.z,c.z,d,e,k)}else"catmullrom"===this.curveType&&(mh.initCatmullRom(f.x,g.x,h.x,c.x,this.tension),nh.initCatmullRom(f.y,g.y,h.y,c.y,this.tension),oh.initCatmullRom(f.z,g.z,h.z,c.z,this.tension));b.set(mh.calc(a),
nh.calc(a),oh.calc(a));return b};pa.prototype.copy=function(a){J.prototype.copy.call(this,a);this.points=[];for(var b=0,c=a.points.length;b<c;b++)this.points.push(a.points[b].clone());this.closed=a.closed;this.curveType=a.curveType;this.tension=a.tension;return this};pa.prototype.toJSON=function(){var a=J.prototype.toJSON.call(this);a.points=[];for(var b=0,c=this.points.length;b<c;b++)a.points.push(this.points[b].toArray());a.closed=this.closed;a.curveType=this.curveType;a.tension=this.tension;return a};
pa.prototype.fromJSON=function(a){J.prototype.fromJSON.call(this,a);this.points=[];for(var b=0,c=a.points.length;b<c;b++){var d=a.points[b];this.points.push((new m).fromArray(d))}this.closed=a.closed;this.curveType=a.curveType;this.tension=a.tension;return this};Ya.prototype=Object.create(J.prototype);Ya.prototype.constructor=Ya;Ya.prototype.isCubicBezierCurve=!0;Ya.prototype.getPoint=function(a,b){b=b||new w;var c=this.v0,d=this.v1,e=this.v2,f=this.v3;b.set(ne(a,c.x,d.x,e.x,f.x),ne(a,c.y,d.y,e.y,
f.y));return b};Ya.prototype.copy=function(a){J.prototype.copy.call(this,a);this.v0.copy(a.v0);this.v1.copy(a.v1);this.v2.copy(a.v2);this.v3.copy(a.v3);return this};Ya.prototype.toJSON=function(){var a=J.prototype.toJSON.call(this);a.v0=this.v0.toArray();a.v1=this.v1.toArray();a.v2=this.v2.toArray();a.v3=this.v3.toArray();return a};Ya.prototype.fromJSON=function(a){J.prototype.fromJSON.call(this,a);this.v0.fromArray(a.v0);this.v1.fromArray(a.v1);this.v2.fromArray(a.v2);this.v3.fromArray(a.v3);return this};
jb.prototype=Object.create(J.prototype);jb.prototype.constructor=jb;jb.prototype.isCubicBezierCurve3=!0;jb.prototype.getPoint=function(a,b){b=b||new m;var c=this.v0,d=this.v1,e=this.v2,f=this.v3;b.set(ne(a,c.x,d.x,e.x,f.x),ne(a,c.y,d.y,e.y,f.y),ne(a,c.z,d.z,e.z,f.z));return b};jb.prototype.copy=function(a){J.prototype.copy.call(this,a);this.v0.copy(a.v0);this.v1.copy(a.v1);this.v2.copy(a.v2);this.v3.copy(a.v3);return this};jb.prototype.toJSON=function(){var a=J.prototype.toJSON.call(this);a.v0=this.v0.toArray();
a.v1=this.v1.toArray();a.v2=this.v2.toArray();a.v3=this.v3.toArray();return a};jb.prototype.fromJSON=function(a){J.prototype.fromJSON.call(this,a);this.v0.fromArray(a.v0);this.v1.fromArray(a.v1);this.v2.fromArray(a.v2);this.v3.fromArray(a.v3);return this};Ca.prototype=Object.create(J.prototype);Ca.prototype.constructor=Ca;Ca.prototype.isLineCurve=!0;Ca.prototype.getPoint=function(a,b){b=b||new w;1===a?b.copy(this.v2):(b.copy(this.v2).sub(this.v1),b.multiplyScalar(a).add(this.v1));return b};Ca.prototype.getPointAt=
function(a,b){return this.getPoint(a,b)};Ca.prototype.getTangent=function(a,b){a=b||new w;a.copy(this.v2).sub(this.v1).normalize();return a};Ca.prototype.copy=function(a){J.prototype.copy.call(this,a);this.v1.copy(a.v1);this.v2.copy(a.v2);return this};Ca.prototype.toJSON=function(){var a=J.prototype.toJSON.call(this);a.v1=this.v1.toArray();a.v2=this.v2.toArray();return a};Ca.prototype.fromJSON=function(a){J.prototype.fromJSON.call(this,a);this.v1.fromArray(a.v1);this.v2.fromArray(a.v2);return this};
Za.prototype=Object.create(J.prototype);Za.prototype.constructor=Za;Za.prototype.isLineCurve3=!0;Za.prototype.getPoint=function(a,b){b=b||new m;1===a?b.copy(this.v2):(b.copy(this.v2).sub(this.v1),b.multiplyScalar(a).add(this.v1));return b};Za.prototype.getPointAt=function(a,b){return this.getPoint(a,b)};Za.prototype.copy=function(a){J.prototype.copy.call(this,a);this.v1.copy(a.v1);this.v2.copy(a.v2);return this};Za.prototype.toJSON=function(){var a=J.prototype.toJSON.call(this);a.v1=this.v1.toArray();
a.v2=this.v2.toArray();return a};Za.prototype.fromJSON=function(a){J.prototype.fromJSON.call(this,a);this.v1.fromArray(a.v1);this.v2.fromArray(a.v2);return this};$a.prototype=Object.create(J.prototype);$a.prototype.constructor=$a;$a.prototype.isQuadraticBezierCurve=!0;$a.prototype.getPoint=function(a,b){b=b||new w;var c=this.v0,d=this.v1,e=this.v2;b.set(me(a,c.x,d.x,e.x),me(a,c.y,d.y,e.y));return b};$a.prototype.copy=function(a){J.prototype.copy.call(this,a);this.v0.copy(a.v0);this.v1.copy(a.v1);
this.v2.copy(a.v2);return this};$a.prototype.toJSON=function(){var a=J.prototype.toJSON.call(this);a.v0=this.v0.toArray();a.v1=this.v1.toArray();a.v2=this.v2.toArray();return a};$a.prototype.fromJSON=function(a){J.prototype.fromJSON.call(this,a);this.v0.fromArray(a.v0);this.v1.fromArray(a.v1);this.v2.fromArray(a.v2);return this};kb.prototype=Object.create(J.prototype);kb.prototype.constructor=kb;kb.prototype.isQuadraticBezierCurve3=!0;kb.prototype.getPoint=function(a,b){b=b||new m;var c=this.v0,d=
this.v1,e=this.v2;b.set(me(a,c.x,d.x,e.x),me(a,c.y,d.y,e.y),me(a,c.z,d.z,e.z));return b};kb.prototype.copy=function(a){J.prototype.copy.call(this,a);this.v0.copy(a.v0);this.v1.copy(a.v1);this.v2.copy(a.v2);return this};kb.prototype.toJSON=function(){var a=J.prototype.toJSON.call(this);a.v0=this.v0.toArray();a.v1=this.v1.toArray();a.v2=this.v2.toArray();return a};kb.prototype.fromJSON=function(a){J.prototype.fromJSON.call(this,a);this.v0.fromArray(a.v0);this.v1.fromArray(a.v1);this.v2.fromArray(a.v2);
return this};ab.prototype=Object.create(J.prototype);ab.prototype.constructor=ab;ab.prototype.isSplineCurve=!0;ab.prototype.getPoint=function(a,b){b=b||new w;var c=this.points,d=(c.length-1)*a;a=Math.floor(d);d-=a;var e=c[0===a?a:a-1],f=c[a],g=c[a>c.length-2?c.length-1:a+1];c=c[a>c.length-3?c.length-1:a+2];b.set(ii(d,e.x,f.x,g.x,c.x),ii(d,e.y,f.y,g.y,c.y));return b};ab.prototype.copy=function(a){J.prototype.copy.call(this,a);this.points=[];for(var b=0,c=a.points.length;b<c;b++)this.points.push(a.points[b].clone());
return this};ab.prototype.toJSON=function(){var a=J.prototype.toJSON.call(this);a.points=[];for(var b=0,c=this.points.length;b<c;b++)a.points.push(this.points[b].toArray());return a};ab.prototype.fromJSON=function(a){J.prototype.fromJSON.call(this,a);this.points=[];for(var b=0,c=a.points.length;b<c;b++){var d=a.points[b];this.points.push((new w).fromArray(d))}return this};var ph=Object.freeze({__proto__:null,ArcCurve:dd,CatmullRomCurve3:pa,CubicBezierCurve:Ya,CubicBezierCurve3:jb,EllipseCurve:Ma,
LineCurve:Ca,LineCurve3:Za,QuadraticBezierCurve:$a,QuadraticBezierCurve3:kb,SplineCurve:ab});ub.prototype=Object.assign(Object.create(J.prototype),{constructor:ub,add:function(a){this.curves.push(a)},closePath:function(){var a=this.curves[0].getPoint(0),b=this.curves[this.curves.length-1].getPoint(1);a.equals(b)||this.curves.push(new Ca(b,a))},getPoint:function(a){var b=a*this.getLength(),c=this.getCurveLengths();for(a=0;a<c.length;){if(c[a]>=b)return b=c[a]-b,a=this.curves[a],c=a.getLength(),a.getPointAt(0===
c?0:1-b/c);a++}return null},getLength:function(){var a=this.getCurveLengths();return a[a.length-1]},updateArcLengths:function(){this.needsUpdate=!0;this.cacheLengths=null;this.getCurveLengths()},getCurveLengths:function(){if(this.cacheLengths&&this.cacheLengths.length===this.curves.length)return this.cacheLengths;for(var a=[],b=0,c=0,d=this.curves.length;c<d;c++)b+=this.curves[c].getLength(),a.push(b);return this.cacheLengths=a},getSpacedPoints:function(a){void 0===a&&(a=40);for(var b=[],c=0;c<=a;c++)b.push(this.getPoint(c/
a));this.autoClose&&b.push(b[0]);return b},getPoints:function(a){a=a||12;for(var b=[],c,d=0,e=this.curves;d<e.length;d++){var f=e[d];f=f.getPoints(f&&f.isEllipseCurve?2*a:f&&(f.isLineCurve||f.isLineCurve3)?1:f&&f.isSplineCurve?a*f.points.length:a);for(var g=0;g<f.length;g++){var h=f[g];c&&c.equals(h)||(b.push(h),c=h)}}this.autoClose&&1<b.length&&!b[b.length-1].equals(b[0])&&b.push(b[0]);return b},copy:function(a){J.prototype.copy.call(this,a);this.curves=[];for(var b=0,c=a.curves.length;b<c;b++)this.curves.push(a.curves[b].clone());
this.autoClose=a.autoClose;return this},toJSON:function(){var a=J.prototype.toJSON.call(this);a.autoClose=this.autoClose;a.curves=[];for(var b=0,c=this.curves.length;b<c;b++)a.curves.push(this.curves[b].toJSON());return a},fromJSON:function(a){J.prototype.fromJSON.call(this,a);this.autoClose=a.autoClose;this.curves=[];for(var b=0,c=a.curves.length;b<c;b++){var d=a.curves[b];this.curves.push((new ph[d.type]).fromJSON(d))}return this}});bb.prototype=Object.assign(Object.create(ub.prototype),{constructor:bb,
setFromPoints:function(a){this.moveTo(a[0].x,a[0].y);for(var b=1,c=a.length;b<c;b++)this.lineTo(a[b].x,a[b].y);return this},moveTo:function(a,b){this.currentPoint.set(a,b);return this},lineTo:function(a,b){var c=new Ca(this.currentPoint.clone(),new w(a,b));this.curves.push(c);this.currentPoint.set(a,b);return this},quadraticCurveTo:function(a,b,c,d){a=new $a(this.currentPoint.clone(),new w(a,b),new w(c,d));this.curves.push(a);this.currentPoint.set(c,d);return this},bezierCurveTo:function(a,b,c,d,
e,f){a=new Ya(this.currentPoint.clone(),new w(a,b),new w(c,d),new w(e,f));this.curves.push(a);this.currentPoint.set(e,f);return this},splineThru:function(a){var b=[this.currentPoint.clone()].concat(a);b=new ab(b);this.curves.push(b);this.currentPoint.copy(a[a.length-1]);return this},arc:function(a,b,c,d,e,f){this.absarc(a+this.currentPoint.x,b+this.currentPoint.y,c,d,e,f);return this},absarc:function(a,b,c,d,e,f){this.absellipse(a,b,c,c,d,e,f);return this},ellipse:function(a,b,c,d,e,f,g,h){this.absellipse(a+
this.currentPoint.x,b+this.currentPoint.y,c,d,e,f,g,h);return this},absellipse:function(a,b,c,d,e,f,g,h){a=new Ma(a,b,c,d,e,f,g,h);0<this.curves.length&&(b=a.getPoint(0),b.equals(this.currentPoint)||this.lineTo(b.x,b.y));this.curves.push(a);a=a.getPoint(1);this.currentPoint.copy(a);return this},copy:function(a){ub.prototype.copy.call(this,a);this.currentPoint.copy(a.currentPoint);return this},toJSON:function(){var a=ub.prototype.toJSON.call(this);a.currentPoint=this.currentPoint.toArray();return a},
fromJSON:function(a){ub.prototype.fromJSON.call(this,a);this.currentPoint.fromArray(a.currentPoint);return this}});Nb.prototype=Object.assign(Object.create(bb.prototype),{constructor:Nb,getPointsHoles:function(a){for(var b=[],c=0,d=this.holes.length;c<d;c++)b[c]=this.holes[c].getPoints(a);return b},extractPoints:function(a){return{shape:this.getPoints(a),holes:this.getPointsHoles(a)}},copy:function(a){bb.prototype.copy.call(this,a);this.holes=[];for(var b=0,c=a.holes.length;b<c;b++)this.holes.push(a.holes[b].clone());
return this},toJSON:function(){var a=bb.prototype.toJSON.call(this);a.uuid=this.uuid;a.holes=[];for(var b=0,c=this.holes.length;b<c;b++)a.holes.push(this.holes[b].toJSON());return a},fromJSON:function(a){bb.prototype.fromJSON.call(this,a);this.uuid=a.uuid;this.holes=[];for(var b=0,c=a.holes.length;b<c;b++){var d=a.holes[b];this.holes.push((new bb).fromJSON(d))}return this}});T.prototype=Object.assign(Object.create(z.prototype),{constructor:T,isLight:!0,copy:function(a){z.prototype.copy.call(this,
a);this.color.copy(a.color);this.intensity=a.intensity;return this},toJSON:function(a){a=z.prototype.toJSON.call(this,a);a.object.color=this.color.getHex();a.object.intensity=this.intensity;void 0!==this.groundColor&&(a.object.groundColor=this.groundColor.getHex());void 0!==this.distance&&(a.object.distance=this.distance);void 0!==this.angle&&(a.object.angle=this.angle);void 0!==this.decay&&(a.object.decay=this.decay);void 0!==this.penumbra&&(a.object.penumbra=this.penumbra);void 0!==this.shadow&&
(a.object.shadow=this.shadow.toJSON());return a}});hf.prototype=Object.assign(Object.create(T.prototype),{constructor:hf,isHemisphereLight:!0,copy:function(a){T.prototype.copy.call(this,a);this.groundColor.copy(a.groundColor);return this}});Object.assign(lb.prototype,{_projScreenMatrix:new M,_lightPositionWorld:new m,_lookTarget:new m,getViewportCount:function(){return this._viewportCount},getFrustum:function(){return this._frustum},updateMatrices:function(a){var b=this.camera,c=this.matrix,d=this._projScreenMatrix,
e=this._lookTarget,f=this._lightPositionWorld;f.setFromMatrixPosition(a.matrixWorld);b.position.copy(f);e.setFromMatrixPosition(a.target.matrixWorld);b.lookAt(e);b.updateMatrixWorld();d.multiplyMatrices(b.projectionMatrix,b.matrixWorldInverse);this._frustum.setFromProjectionMatrix(d);c.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1);c.multiply(b.projectionMatrix);c.multiply(b.matrixWorldInverse)},getViewport:function(a){return this._viewports[a]},getFrameExtents:function(){return this._frameExtents},copy:function(a){this.camera=
a.camera.clone();this.bias=a.bias;this.radius=a.radius;this.mapSize.copy(a.mapSize);return this},clone:function(){return(new this.constructor).copy(this)},toJSON:function(){var a={};0!==this.bias&&(a.bias=this.bias);0!==this.normalOffset&&(a.normalOffset=this.normalOffset);1!==this.radius&&(a.radius=this.radius);if(512!==this.mapSize.x||512!==this.mapSize.y)a.mapSize=this.mapSize.toArray();a.camera=this.camera.toJSON(!1).object;delete a.camera.matrix;return a}});jf.prototype=Object.assign(Object.create(lb.prototype),
{constructor:jf,isSpotLightShadow:!0,updateMatrices:function(a){var b=this.camera,c=2*K.RAD2DEG*a.angle,d=this.mapSize.width/this.mapSize.height,e=a.distance||b.far;if(c!==b.fov||d!==b.aspect||e!==b.far)b.fov=c,b.aspect=d,b.far=e,b.updateProjectionMatrix();lb.prototype.updateMatrices.call(this,a)}});kf.prototype=Object.assign(Object.create(T.prototype),{constructor:kf,isSpotLight:!0,copy:function(a){T.prototype.copy.call(this,a);this.distance=a.distance;this.angle=a.angle;this.penumbra=a.penumbra;
this.decay=a.decay;this.target=a.target.clone();this.shadow=a.shadow.clone();return this}});zg.prototype=Object.assign(Object.create(lb.prototype),{constructor:zg,isPointLightShadow:!0,updateMatrices:function(a,b){void 0===b&&(b=0);var c=this.camera,d=this.matrix,e=this._lightPositionWorld,f=this._lookTarget,g=this._projScreenMatrix;e.setFromMatrixPosition(a.matrixWorld);c.position.copy(e);f.copy(c.position);f.add(this._cubeDirections[b]);c.up.copy(this._cubeUps[b]);c.lookAt(f);c.updateMatrixWorld();
d.makeTranslation(-e.x,-e.y,-e.z);g.multiplyMatrices(c.projectionMatrix,c.matrixWorldInverse);this._frustum.setFromProjectionMatrix(g)}});lf.prototype=Object.assign(Object.create(T.prototype),{constructor:lf,isPointLight:!0,copy:function(a){T.prototype.copy.call(this,a);this.distance=a.distance;this.decay=a.decay;this.shadow=a.shadow.clone();return this}});ed.prototype=Object.assign(Object.create(fb.prototype),{constructor:ed,isOrthographicCamera:!0,copy:function(a,b){fb.prototype.copy.call(this,
a,b);this.left=a.left;this.right=a.right;this.top=a.top;this.bottom=a.bottom;this.near=a.near;this.far=a.far;this.zoom=a.zoom;this.view=null===a.view?null:Object.assign({},a.view);return this},setViewOffset:function(a,b,c,d,e,f){null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1});this.view.enabled=!0;this.view.fullWidth=a;this.view.fullHeight=b;this.view.offsetX=c;this.view.offsetY=d;this.view.width=e;this.view.height=f;this.updateProjectionMatrix()},
clearViewOffset:function(){null!==this.view&&(this.view.enabled=!1);this.updateProjectionMatrix()},updateProjectionMatrix:function(){var a=(this.right-this.left)/(2*this.zoom),b=(this.top-this.bottom)/(2*this.zoom),c=(this.right+this.left)/2,d=(this.top+this.bottom)/2,e=c-a;c+=a;a=d+b;b=d-b;null!==this.view&&this.view.enabled&&(d=(this.right-this.left)/this.view.fullWidth/this.zoom,b=(this.top-this.bottom)/this.view.fullHeight/this.zoom,e+=d*this.view.offsetX,c=e+d*this.view.width,a-=b*this.view.offsetY,
b=a-b*this.view.height);this.projectionMatrix.makeOrthographic(e,c,a,b,this.near,this.far);this.projectionMatrixInverse.getInverse(this.projectionMatrix)},toJSON:function(a){a=z.prototype.toJSON.call(this,a);a.object.zoom=this.zoom;a.object.left=this.left;a.object.right=this.right;a.object.top=this.top;a.object.bottom=this.bottom;a.object.near=this.near;a.object.far=this.far;null!==this.view&&(a.object.view=Object.assign({},this.view));return a}});mf.prototype=Object.assign(Object.create(lb.prototype),
{constructor:mf,isDirectionalLightShadow:!0,updateMatrices:function(a){lb.prototype.updateMatrices.call(this,a)}});nf.prototype=Object.assign(Object.create(T.prototype),{constructor:nf,isDirectionalLight:!0,copy:function(a){T.prototype.copy.call(this,a);this.target=a.target.clone();this.shadow=a.shadow.clone();return this}});of.prototype=Object.assign(Object.create(T.prototype),{constructor:of,isAmbientLight:!0});pf.prototype=Object.assign(Object.create(T.prototype),{constructor:pf,isRectAreaLight:!0,
copy:function(a){T.prototype.copy.call(this,a);this.width=a.width;this.height=a.height;return this},toJSON:function(a){a=T.prototype.toJSON.call(this,a);a.object.width=this.width;a.object.height=this.height;return a}});Object.assign(qf.prototype,{isSphericalHarmonics3:!0,set:function(a){for(var b=0;9>b;b++)this.coefficients[b].copy(a[b]);return this},zero:function(){for(var a=0;9>a;a++)this.coefficients[a].set(0,0,0);return this},getAt:function(a,b){var c=a.x,d=a.y;a=a.z;var e=this.coefficients;b.copy(e[0]).multiplyScalar(.282095);
b.addScaledVector(e[1],.488603*d);b.addScaledVector(e[2],.488603*a);b.addScaledVector(e[3],.488603*c);b.addScaledVector(e[4],1.092548*c*d);b.addScaledVector(e[5],1.092548*d*a);b.addScaledVector(e[6],.315392*(3*a*a-1));b.addScaledVector(e[7],1.092548*c*a);b.addScaledVector(e[8],.546274*(c*c-d*d));return b},getIrradianceAt:function(a,b){var c=a.x,d=a.y;a=a.z;var e=this.coefficients;b.copy(e[0]).multiplyScalar(.886227);b.addScaledVector(e[1],1.023328*d);b.addScaledVector(e[2],1.023328*a);b.addScaledVector(e[3],
1.023328*c);b.addScaledVector(e[4],.858086*c*d);b.addScaledVector(e[5],.858086*d*a);b.addScaledVector(e[6],.743125*a*a-.247708);b.addScaledVector(e[7],.858086*c*a);b.addScaledVector(e[8],.429043*(c*c-d*d));return b},add:function(a){for(var b=0;9>b;b++)this.coefficients[b].add(a.coefficients[b]);return this},addScaledSH:function(a,b){for(var c=0;9>c;c++)this.coefficients[c].addScaledVector(a.coefficients[c],b);return this},scale:function(a){for(var b=0;9>b;b++)this.coefficients[b].multiplyScalar(a);
return this},lerp:function(a,b){for(var c=0;9>c;c++)this.coefficients[c].lerp(a.coefficients[c],b);return this},equals:function(a){for(var b=0;9>b;b++)if(!this.coefficients[b].equals(a.coefficients[b]))return!1;return!0},copy:function(a){return this.set(a.coefficients)},clone:function(){return(new this.constructor).copy(this)},fromArray:function(a,b){void 0===b&&(b=0);for(var c=this.coefficients,d=0;9>d;d++)c[d].fromArray(a,b+3*d);return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&
(b=0);for(var c=this.coefficients,d=0;9>d;d++)c[d].toArray(a,b+3*d);return a}});Object.assign(qf,{getBasisAt:function(a,b){var c=a.x,d=a.y;a=a.z;b[0]=.282095;b[1]=.488603*d;b[2]=.488603*a;b[3]=.488603*c;b[4]=1.092548*c*d;b[5]=1.092548*d*a;b[6]=.315392*(3*a*a-1);b[7]=1.092548*c*a;b[8]=.546274*(c*c-d*d)}});Sa.prototype=Object.assign(Object.create(T.prototype),{constructor:Sa,isLightProbe:!0,copy:function(a){T.prototype.copy.call(this,a);this.sh.copy(a.sh);return this},fromJSON:function(a){this.intensity=
a.intensity;this.sh.fromArray(a.sh);return this},toJSON:function(a){a=T.prototype.toJSON.call(this,a);a.object.sh=this.sh.toArray();return a}});rf.prototype=Object.assign(Object.create(S.prototype),{constructor:rf,load:function(a,b,c,d){var e=this,f=new Ra(e.manager);f.setPath(e.path);f.load(a,function(c){try{b(e.parse(JSON.parse(c)))}catch(h){d?d(h):console.error(h),e.manager.itemError(a)}},c,d)},parse:function(a){function b(a){void 0===c[a]&&console.warn("THREE.MaterialLoader: Undefined texture",
a);return c[a]}var c=this.textures,d=new Vk[a.type];void 0!==a.uuid&&(d.uuid=a.uuid);void 0!==a.name&&(d.name=a.name);void 0!==a.color&&d.color.setHex(a.color);void 0!==a.roughness&&(d.roughness=a.roughness);void 0!==a.metalness&&(d.metalness=a.metalness);void 0!==a.sheen&&(d.sheen=(new D).setHex(a.sheen));void 0!==a.emissive&&d.emissive.setHex(a.emissive);void 0!==a.specular&&d.specular.setHex(a.specular);void 0!==a.shininess&&(d.shininess=a.shininess);void 0!==a.clearcoat&&(d.clearcoat=a.clearcoat);
void 0!==a.clearcoatRoughness&&(d.clearcoatRoughness=a.clearcoatRoughness);void 0!==a.fog&&(d.fog=a.fog);void 0!==a.flatShading&&(d.flatShading=a.flatShading);void 0!==a.blending&&(d.blending=a.blending);void 0!==a.combine&&(d.combine=a.combine);void 0!==a.side&&(d.side=a.side);void 0!==a.opacity&&(d.opacity=a.opacity);void 0!==a.transparent&&(d.transparent=a.transparent);void 0!==a.alphaTest&&(d.alphaTest=a.alphaTest);void 0!==a.depthTest&&(d.depthTest=a.depthTest);void 0!==a.depthWrite&&(d.depthWrite=
a.depthWrite);void 0!==a.colorWrite&&(d.colorWrite=a.colorWrite);void 0!==a.stencilWrite&&(d.stencilWrite=a.stencilWrite);void 0!==a.stencilWriteMask&&(d.stencilWriteMask=a.stencilWriteMask);void 0!==a.stencilFunc&&(d.stencilFunc=a.stencilFunc);void 0!==a.stencilRef&&(d.stencilRef=a.stencilRef);void 0!==a.stencilFuncMask&&(d.stencilFuncMask=a.stencilFuncMask);void 0!==a.stencilFail&&(d.stencilFail=a.stencilFail);void 0!==a.stencilZFail&&(d.stencilZFail=a.stencilZFail);void 0!==a.stencilZPass&&(d.stencilZPass=
a.stencilZPass);void 0!==a.wireframe&&(d.wireframe=a.wireframe);void 0!==a.wireframeLinewidth&&(d.wireframeLinewidth=a.wireframeLinewidth);void 0!==a.wireframeLinecap&&(d.wireframeLinecap=a.wireframeLinecap);void 0!==a.wireframeLinejoin&&(d.wireframeLinejoin=a.wireframeLinejoin);void 0!==a.rotation&&(d.rotation=a.rotation);1!==a.linewidth&&(d.linewidth=a.linewidth);void 0!==a.dashSize&&(d.dashSize=a.dashSize);void 0!==a.gapSize&&(d.gapSize=a.gapSize);void 0!==a.scale&&(d.scale=a.scale);void 0!==a.polygonOffset&&
(d.polygonOffset=a.polygonOffset);void 0!==a.polygonOffsetFactor&&(d.polygonOffsetFactor=a.polygonOffsetFactor);void 0!==a.polygonOffsetUnits&&(d.polygonOffsetUnits=a.polygonOffsetUnits);void 0!==a.skinning&&(d.skinning=a.skinning);void 0!==a.morphTargets&&(d.morphTargets=a.morphTargets);void 0!==a.morphNormals&&(d.morphNormals=a.morphNormals);void 0!==a.dithering&&(d.dithering=a.dithering);void 0!==a.vertexTangents&&(d.vertexTangents=a.vertexTangents);void 0!==a.visible&&(d.visible=a.visible);void 0!==
a.toneMapped&&(d.toneMapped=a.toneMapped);void 0!==a.userData&&(d.userData=a.userData);void 0!==a.vertexColors&&(d.vertexColors="number"===typeof a.vertexColors?0<a.vertexColors?!0:!1:a.vertexColors);if(void 0!==a.uniforms)for(var e in a.uniforms){var f=a.uniforms[e];d.uniforms[e]={};switch(f.type){case "t":d.uniforms[e].value=b(f.value);break;case "c":d.uniforms[e].value=(new D).setHex(f.value);break;case "v2":d.uniforms[e].value=(new w).fromArray(f.value);break;case "v3":d.uniforms[e].value=(new m).fromArray(f.value);
break;case "v4":d.uniforms[e].value=(new Y).fromArray(f.value);break;case "m3":d.uniforms[e].value=(new xa).fromArray(f.value);case "m4":d.uniforms[e].value=(new M).fromArray(f.value);break;default:d.uniforms[e].value=f.value}}void 0!==a.defines&&(d.defines=a.defines);void 0!==a.vertexShader&&(d.vertexShader=a.vertexShader);void 0!==a.fragmentShader&&(d.fragmentShader=a.fragmentShader);if(void 0!==a.extensions)for(var g in a.extensions)d.extensions[g]=a.extensions[g];void 0!==a.shading&&(d.flatShading=
1===a.shading);void 0!==a.size&&(d.size=a.size);void 0!==a.sizeAttenuation&&(d.sizeAttenuation=a.sizeAttenuation);void 0!==a.map&&(d.map=b(a.map));void 0!==a.matcap&&(d.matcap=b(a.matcap));void 0!==a.alphaMap&&(d.alphaMap=b(a.alphaMap));void 0!==a.bumpMap&&(d.bumpMap=b(a.bumpMap));void 0!==a.bumpScale&&(d.bumpScale=a.bumpScale);void 0!==a.normalMap&&(d.normalMap=b(a.normalMap));void 0!==a.normalMapType&&(d.normalMapType=a.normalMapType);void 0!==a.normalScale&&(e=a.normalScale,!1===Array.isArray(e)&&
(e=[e,e]),d.normalScale=(new w).fromArray(e));void 0!==a.displacementMap&&(d.displacementMap=b(a.displacementMap));void 0!==a.displacementScale&&(d.displacementScale=a.displacementScale);void 0!==a.displacementBias&&(d.displacementBias=a.displacementBias);void 0!==a.roughnessMap&&(d.roughnessMap=b(a.roughnessMap));void 0!==a.metalnessMap&&(d.metalnessMap=b(a.metalnessMap));void 0!==a.emissiveMap&&(d.emissiveMap=b(a.emissiveMap));void 0!==a.emissiveIntensity&&(d.emissiveIntensity=a.emissiveIntensity);
void 0!==a.specularMap&&(d.specularMap=b(a.specularMap));void 0!==a.envMap&&(d.envMap=b(a.envMap));void 0!==a.envMapIntensity&&(d.envMapIntensity=a.envMapIntensity);void 0!==a.reflectivity&&(d.reflectivity=a.reflectivity);void 0!==a.refractionRatio&&(d.refractionRatio=a.refractionRatio);void 0!==a.lightMap&&(d.lightMap=b(a.lightMap));void 0!==a.lightMapIntensity&&(d.lightMapIntensity=a.lightMapIntensity);void 0!==a.aoMap&&(d.aoMap=b(a.aoMap));void 0!==a.aoMapIntensity&&(d.aoMapIntensity=a.aoMapIntensity);
void 0!==a.gradientMap&&(d.gradientMap=b(a.gradientMap));void 0!==a.clearcoatMap&&(d.clearcoatMap=b(a.clearcoatMap));void 0!==a.clearcoatRoughnessMap&&(d.clearcoatRoughnessMap=b(a.clearcoatRoughnessMap));void 0!==a.clearcoatNormalMap&&(d.clearcoatNormalMap=b(a.clearcoatNormalMap));void 0!==a.clearcoatNormalScale&&(d.clearcoatNormalScale=(new w).fromArray(a.clearcoatNormalScale));return d},setTextures:function(a){this.textures=a;return this}});var qh={decodeText:function(a){if("undefined"!==typeof TextDecoder)return(new TextDecoder).decode(a);
for(var b="",c=0,d=a.length;c<d;c++)b+=String.fromCharCode(a[c]);try{return decodeURIComponent(escape(b))}catch(e){return b}},extractUrlBase:function(a){var b=a.lastIndexOf("/");return-1===b?"./":a.substr(0,b+1)}};oe.prototype=Object.assign(Object.create(F.prototype),{constructor:oe,isInstancedBufferGeometry:!0,copy:function(a){F.prototype.copy.call(this,a);this.instanceCount=a.instanceCount;return this},clone:function(){return(new this.constructor).copy(this)},toJSON:function(){var a=F.prototype.toJSON.call(this);
a.instanceCount=this.instanceCount;a.isInstancedBufferGeometry=!0;return a}});sf.prototype=Object.assign(Object.create(H.prototype),{constructor:sf,isInstancedBufferAttribute:!0,copy:function(a){H.prototype.copy.call(this,a);this.meshPerAttribute=a.meshPerAttribute;return this},toJSON:function(){var a=H.prototype.toJSON.call(this);a.meshPerAttribute=this.meshPerAttribute;a.isInstancedBufferAttribute=!0;return a}});tf.prototype=Object.assign(Object.create(S.prototype),{constructor:tf,load:function(a,
b,c,d){var e=this,f=new Ra(e.manager);f.setPath(e.path);f.load(a,function(c){try{b(e.parse(JSON.parse(c)))}catch(h){d?d(h):console.error(h),e.manager.itemError(a)}},c,d)},parse:function(a){function b(a,b){if(void 0!==c[b])return c[b];var e=a.interleavedBuffers[b];var f=e.buffer;void 0!==d[f]?f=d[f]:(a=(new Uint32Array(a.arrayBuffers[f])).buffer,f=d[f]=a);f=new Uf[e.type](f);f=new Ja(f,e.stride);f.uuid=e.uuid;return c[b]=f}var c={},d={},e=a.isInstancedBufferGeometry?new oe:new F,f=a.data.index;void 0!==
f&&(f=new Uf[f.type](f.array),e.setIndex(new H(f,1)));f=a.data.attributes;for(var g in f){var h=f[g],k=void 0;h.isInterleavedBufferAttribute?(k=b(a.data,h.data),k=new Jb(k,h.itemSize,h.offset,h.normalized)):(k=new Uf[h.type](h.array),k=new (h.isInstancedBufferAttribute?sf:H)(k,h.itemSize,h.normalized));void 0!==h.name&&(k.name=h.name);e.setAttribute(g,k)}if(g=a.data.morphAttributes)for(var n in g){f=g[n];h=[];k=0;for(var q=f.length;k<q;k++){var p=f[k],v=void 0;p.isInterleavedBufferAttribute?(v=b(a.data,
p.data),v=new Jb(v,p.itemSize,p.offset,p.normalized)):(v=new Uf[p.type](p.array),v=new H(v,p.itemSize,p.normalized));void 0!==p.name&&(v.name=p.name);h.push(v)}e.morphAttributes[n]=h}a.data.morphTargetsRelative&&(e.morphTargetsRelative=!0);n=a.data.groups||a.data.drawcalls||a.data.offsets;if(void 0!==n)for(g=0,f=n.length;g!==f;++g)h=n[g],e.addGroup(h.start,h.count,h.materialIndex);n=a.data.boundingSphere;void 0!==n&&(g=new m,void 0!==n.center&&g.fromArray(n.center),e.boundingSphere=new eb(g,n.radius));
a.name&&(e.name=a.name);a.userData&&(e.userData=a.userData);return e}});var Uf={Int8Array:Int8Array,Uint8Array:Uint8Array,Uint8ClampedArray:"undefined"!==typeof Uint8ClampedArray?Uint8ClampedArray:Uint8Array,Int16Array:Int16Array,Uint16Array:Uint16Array,Int32Array:Int32Array,Uint32Array:Uint32Array,Float32Array:Float32Array,Float64Array:Float64Array};uf.prototype=Object.assign(Object.create(S.prototype),{constructor:uf,load:function(a,b,c,d){var e=this,f=""===this.path?qh.extractUrlBase(a):this.path;
this.resourcePath=this.resourcePath||f;f=new Ra(e.manager);f.setPath(this.path);f.load(a,function(c){var f=null;try{f=JSON.parse(c)}catch(l){void 0!==d&&d(l);console.error("THREE:ObjectLoader: Can't parse "+a+".",l.message);return}c=f.metadata;void 0===c||void 0===c.type||"geometry"===c.type.toLowerCase()?console.error("THREE.ObjectLoader: Can't load "+a):e.parse(f,b)},c,d)},parse:function(a,b){var c=this.parseShape(a.shapes);c=this.parseGeometries(a.geometries,c);var d=this.parseImages(a.images,
function(){void 0!==b&&b(e)});d=this.parseTextures(a.textures,d);d=this.parseMaterials(a.materials,d);var e=this.parseObject(a.object,c,d);a.animations&&(e.animations=this.parseAnimations(a.animations));void 0!==a.images&&0!==a.images.length||void 0===b||b(e);return e},parseShape:function(a){var b={};if(void 0!==a)for(var c=0,d=a.length;c<d;c++){var e=(new Nb).fromJSON(a[c]);b[e.uuid]=e}return b},parseGeometries:function(a,b){var c={};if(void 0!==a)for(var d=new tf,e=0,f=a.length;e<f;e++){var g=void 0;
var h=a[e];switch(h.type){case "PlaneGeometry":case "PlaneBufferGeometry":g=new ra[h.type](h.width,h.height,h.widthSegments,h.heightSegments);break;case "BoxGeometry":case "BoxBufferGeometry":case "CubeGeometry":g=new ra[h.type](h.width,h.height,h.depth,h.widthSegments,h.heightSegments,h.depthSegments);break;case "CircleGeometry":case "CircleBufferGeometry":g=new ra[h.type](h.radius,h.segments,h.thetaStart,h.thetaLength);break;case "CylinderGeometry":case "CylinderBufferGeometry":g=new ra[h.type](h.radiusTop,
h.radiusBottom,h.height,h.radialSegments,h.heightSegments,h.openEnded,h.thetaStart,h.thetaLength);break;case "ConeGeometry":case "ConeBufferGeometry":g=new ra[h.type](h.radius,h.height,h.radialSegments,h.heightSegments,h.openEnded,h.thetaStart,h.thetaLength);break;case "SphereGeometry":case "SphereBufferGeometry":g=new ra[h.type](h.radius,h.widthSegments,h.heightSegments,h.phiStart,h.phiLength,h.thetaStart,h.thetaLength);break;case "DodecahedronGeometry":case "DodecahedronBufferGeometry":case "IcosahedronGeometry":case "IcosahedronBufferGeometry":case "OctahedronGeometry":case "OctahedronBufferGeometry":case "TetrahedronGeometry":case "TetrahedronBufferGeometry":g=
new ra[h.type](h.radius,h.detail);break;case "RingGeometry":case "RingBufferGeometry":g=new ra[h.type](h.innerRadius,h.outerRadius,h.thetaSegments,h.phiSegments,h.thetaStart,h.thetaLength);break;case "TorusGeometry":case "TorusBufferGeometry":g=new ra[h.type](h.radius,h.tube,h.radialSegments,h.tubularSegments,h.arc);break;case "TorusKnotGeometry":case "TorusKnotBufferGeometry":g=new ra[h.type](h.radius,h.tube,h.tubularSegments,h.radialSegments,h.p,h.q);break;case "TubeGeometry":case "TubeBufferGeometry":g=
new ra[h.type]((new ph[h.path.type]).fromJSON(h.path),h.tubularSegments,h.radius,h.radialSegments,h.closed);break;case "LatheGeometry":case "LatheBufferGeometry":g=new ra[h.type](h.points,h.segments,h.phiStart,h.phiLength);break;case "PolyhedronGeometry":case "PolyhedronBufferGeometry":g=new ra[h.type](h.vertices,h.indices,h.radius,h.details);break;case "ShapeGeometry":case "ShapeBufferGeometry":g=[];for(var k=0,n=h.shapes.length;k<n;k++)g.push(b[h.shapes[k]]);g=new ra[h.type](g,h.curveSegments);
break;case "ExtrudeGeometry":case "ExtrudeBufferGeometry":g=[];k=0;for(n=h.shapes.length;k<n;k++)g.push(b[h.shapes[k]]);k=h.options.extrudePath;void 0!==k&&(h.options.extrudePath=(new ph[k.type]).fromJSON(k));g=new ra[h.type](g,h.options);break;case "BufferGeometry":case "InstancedBufferGeometry":g=d.parse(h);break;case "Geometry":console.error('THREE.ObjectLoader: Loading "Geometry" is not supported anymore.');break;default:console.warn('THREE.ObjectLoader: Unsupported geometry type "'+h.type+'"');
continue}g.uuid=h.uuid;void 0!==h.name&&(g.name=h.name);!0===g.isBufferGeometry&&void 0!==h.userData&&(g.userData=h.userData);c[h.uuid]=g}return c},parseMaterials:function(a,b){var c={},d={};if(void 0!==a){var e=new rf;e.setTextures(b);b=0;for(var f=a.length;b<f;b++){var g=a[b];if("MultiMaterial"===g.type){for(var h=[],k=0;k<g.materials.length;k++){var n=g.materials[k];void 0===c[n.uuid]&&(c[n.uuid]=e.parse(n));h.push(c[n.uuid])}d[g.uuid]=h}else void 0===c[g.uuid]&&(c[g.uuid]=e.parse(g)),d[g.uuid]=
c[g.uuid]}}return d},parseAnimations:function(a){for(var b=[],c=0;c<a.length;c++){var d=a[c],e=Qa.parse(d);void 0!==d.uuid&&(e.uuid=d.uuid);b.push(e)}return b},parseImages:function(a,b){function c(a){d.manager.itemStart(a);return f.load(a,function(){d.manager.itemEnd(a)},void 0,function(){d.manager.itemError(a);d.manager.itemEnd(a)})}var d=this,e={};if(void 0!==a&&0<a.length){b=new vg(b);var f=new cd(b);f.setCrossOrigin(this.crossOrigin);b=0;for(var g=a.length;b<g;b++){var h=a[b],k=h.url;if(Array.isArray(k)){e[h.uuid]=
[];for(var n=0,m=k.length;n<m;n++){var p=k[n];p=/^(\/\/)|([a-z]+:(\/\/)?)/i.test(p)?p:d.resourcePath+p;e[h.uuid].push(c(p))}}else k=/^(\/\/)|([a-z]+:(\/\/)?)/i.test(h.url)?h.url:d.resourcePath+h.url,e[h.uuid]=c(k)}}return e},parseTextures:function(a,b){function c(a,b){if("number"===typeof a)return a;console.warn("THREE.ObjectLoader.parseTexture: Constant should be in numeric form.",a);return b[a]}var d={};if(void 0!==a)for(var e=0,f=a.length;e<f;e++){var g=a[e];void 0===g.image&&console.warn('THREE.ObjectLoader: No "image" specified for',
g.uuid);void 0===b[g.image]&&console.warn("THREE.ObjectLoader: Undefined image",g.image);var h=void 0;h=Array.isArray(b[g.image])?new qb(b[g.image]):new W(b[g.image]);h.needsUpdate=!0;h.uuid=g.uuid;void 0!==g.name&&(h.name=g.name);void 0!==g.mapping&&(h.mapping=c(g.mapping,Wk));void 0!==g.offset&&h.offset.fromArray(g.offset);void 0!==g.repeat&&h.repeat.fromArray(g.repeat);void 0!==g.center&&h.center.fromArray(g.center);void 0!==g.rotation&&(h.rotation=g.rotation);void 0!==g.wrap&&(h.wrapS=c(g.wrap[0],
Qi),h.wrapT=c(g.wrap[1],Qi));void 0!==g.format&&(h.format=g.format);void 0!==g.type&&(h.type=g.type);void 0!==g.encoding&&(h.encoding=g.encoding);void 0!==g.minFilter&&(h.minFilter=c(g.minFilter,Ri));void 0!==g.magFilter&&(h.magFilter=c(g.magFilter,Ri));void 0!==g.anisotropy&&(h.anisotropy=g.anisotropy);void 0!==g.flipY&&(h.flipY=g.flipY);void 0!==g.premultiplyAlpha&&(h.premultiplyAlpha=g.premultiplyAlpha);void 0!==g.unpackAlignment&&(h.unpackAlignment=g.unpackAlignment);d[g.uuid]=h}return d},parseObject:function(a,
b,c){function d(a){void 0===b[a]&&console.warn("THREE.ObjectLoader: Undefined geometry",a);return b[a]}function e(a){if(void 0!==a){if(Array.isArray(a)){for(var b=[],d=0,e=a.length;d<e;d++){var f=a[d];void 0===c[f]&&console.warn("THREE.ObjectLoader: Undefined material",f);b.push(c[f])}return b}void 0===c[a]&&console.warn("THREE.ObjectLoader: Undefined material",a);return c[a]}}switch(a.type){case "Scene":var f=new xd;void 0!==a.background&&Number.isInteger(a.background)&&(f.background=new D(a.background));
void 0!==a.fog&&("Fog"===a.fog.type?f.fog=new Qe(a.fog.color,a.fog.near,a.fog.far):"FogExp2"===a.fog.type&&(f.fog=new Pe(a.fog.color,a.fog.density)));break;case "PerspectiveCamera":f=new P(a.fov,a.aspect,a.near,a.far);void 0!==a.focus&&(f.focus=a.focus);void 0!==a.zoom&&(f.zoom=a.zoom);void 0!==a.filmGauge&&(f.filmGauge=a.filmGauge);void 0!==a.filmOffset&&(f.filmOffset=a.filmOffset);void 0!==a.view&&(f.view=Object.assign({},a.view));break;case "OrthographicCamera":f=new ed(a.left,a.right,a.top,a.bottom,
a.near,a.far);void 0!==a.zoom&&(f.zoom=a.zoom);void 0!==a.view&&(f.view=Object.assign({},a.view));break;case "AmbientLight":f=new of(a.color,a.intensity);break;case "DirectionalLight":f=new nf(a.color,a.intensity);break;case "PointLight":f=new lf(a.color,a.intensity,a.distance,a.decay);break;case "RectAreaLight":f=new pf(a.color,a.intensity,a.width,a.height);break;case "SpotLight":f=new kf(a.color,a.intensity,a.distance,a.angle,a.penumbra,a.decay);break;case "HemisphereLight":f=new hf(a.color,a.groundColor,
a.intensity);break;case "LightProbe":f=(new Sa).fromJSON(a);break;case "SkinnedMesh":console.warn("THREE.ObjectLoader.parseObject() does not support SkinnedMesh yet.");case "Mesh":f=d(a.geometry);var g=e(a.material);f=new X(f,g);break;case "InstancedMesh":f=d(a.geometry);g=e(a.material);var h=a.instanceMatrix;f=new Ue(f,g,a.count);f.instanceMatrix=new H(new Float32Array(h.array),16);break;case "LOD":f=new Pd;break;case "Line":f=new Ka(d(a.geometry),e(a.material),a.mode);break;case "LineLoop":f=new Ve(d(a.geometry),
e(a.material));break;case "LineSegments":f=new ha(d(a.geometry),e(a.material));break;case "PointCloud":case "Points":f=new Mc(d(a.geometry),e(a.material));break;case "Sprite":f=new Nd(e(a.material));break;case "Group":f=new Jc;break;default:f=new z}f.uuid=a.uuid;void 0!==a.name&&(f.name=a.name);void 0!==a.matrix?(f.matrix.fromArray(a.matrix),void 0!==a.matrixAutoUpdate&&(f.matrixAutoUpdate=a.matrixAutoUpdate),f.matrixAutoUpdate&&f.matrix.decompose(f.position,f.quaternion,f.scale)):(void 0!==a.position&&
f.position.fromArray(a.position),void 0!==a.rotation&&f.rotation.fromArray(a.rotation),void 0!==a.quaternion&&f.quaternion.fromArray(a.quaternion),void 0!==a.scale&&f.scale.fromArray(a.scale));void 0!==a.castShadow&&(f.castShadow=a.castShadow);void 0!==a.receiveShadow&&(f.receiveShadow=a.receiveShadow);a.shadow&&(void 0!==a.shadow.bias&&(f.shadow.bias=a.shadow.bias),void 0!==a.shadow.normalOffset&&(f.shadow.normalOffset=a.shadow.normalOffset),void 0!==a.shadow.radius&&(f.shadow.radius=a.shadow.radius),
void 0!==a.shadow.mapSize&&f.shadow.mapSize.fromArray(a.shadow.mapSize),void 0!==a.shadow.camera&&(f.shadow.camera=this.parseObject(a.shadow.camera)));void 0!==a.visible&&(f.visible=a.visible);void 0!==a.frustumCulled&&(f.frustumCulled=a.frustumCulled);void 0!==a.renderOrder&&(f.renderOrder=a.renderOrder);void 0!==a.userData&&(f.userData=a.userData);void 0!==a.layers&&(f.layers.mask=a.layers);if(void 0!==a.children)for(h=a.children,g=0;g<h.length;g++)f.add(this.parseObject(h[g],b,c));if("LOD"===a.type)for(void 0!==
a.autoUpdate&&(f.autoUpdate=a.autoUpdate),a=a.levels,h=0;h<a.length;h++){g=a[h];var k=f.getObjectByProperty("uuid",g.object);void 0!==k&&f.addLevel(k,g.distance)}return f}});var Wk={UVMapping:300,CubeReflectionMapping:301,CubeRefractionMapping:302,EquirectangularReflectionMapping:303,EquirectangularRefractionMapping:304,CubeUVReflectionMapping:306,CubeUVRefractionMapping:307},Qi={RepeatWrapping:1E3,ClampToEdgeWrapping:1001,MirroredRepeatWrapping:1002},Ri={NearestFilter:1003,NearestMipmapNearestFilter:1004,
NearestMipmapLinearFilter:1005,LinearFilter:1006,LinearMipmapNearestFilter:1007,LinearMipmapLinearFilter:1008};Ag.prototype=Object.assign(Object.create(S.prototype),{constructor:Ag,setOptions:function(a){this.options=a;return this},load:function(a,b,c,d){void 0===a&&(a="");void 0!==this.path&&(a=this.path+a);a=this.manager.resolveURL(a);var e=this,f=tc.get(a);if(void 0!==f)return e.manager.itemStart(a),setTimeout(function(){b&&b(f);e.manager.itemEnd(a)},0),f;fetch(a).then(function(a){return a.blob()}).then(function(a){return void 0===
e.options?createImageBitmap(a):createImageBitmap(a,e.options)}).then(function(c){tc.add(a,c);b&&b(c);e.manager.itemEnd(a)}).catch(function(b){d&&d(b);e.manager.itemError(a);e.manager.itemEnd(a)});e.manager.itemStart(a)}});Object.assign(Bg.prototype,{moveTo:function(a,b){this.currentPath=new bb;this.subPaths.push(this.currentPath);this.currentPath.moveTo(a,b);return this},lineTo:function(a,b){this.currentPath.lineTo(a,b);return this},quadraticCurveTo:function(a,b,c,d){this.currentPath.quadraticCurveTo(a,
b,c,d);return this},bezierCurveTo:function(a,b,c,d,e,f){this.currentPath.bezierCurveTo(a,b,c,d,e,f);return this},splineThru:function(a){this.currentPath.splineThru(a);return this},toShapes:function(a,b){function c(a){for(var b=[],c=0,d=a.length;c<d;c++){var e=a[c],f=new Nb;f.curves=e.curves;b.push(f)}return b}function d(a,b){for(var c=b.length,d=!1,e=c-1,f=0;f<c;e=f++){var g=b[e],h=b[f],k=h.x-g.x,l=h.y-g.y;if(Math.abs(l)>Number.EPSILON){if(0>l&&(g=b[f],k=-k,h=b[e],l=-l),!(a.y<g.y||a.y>h.y))if(a.y===
g.y){if(a.x===g.x)return!0}else{e=l*(a.x-g.x)-k*(a.y-g.y);if(0===e)return!0;0>e||(d=!d)}}else if(a.y===g.y&&(h.x<=a.x&&a.x<=g.x||g.x<=a.x&&a.x<=h.x))return!0}return d}var e=rb.isClockWise,f=this.subPaths;if(0===f.length)return[];if(!0===b)return c(f);b=[];if(1===f.length){var g=f[0];var h=new Nb;h.curves=g.curves;b.push(h);return b}var k=!e(f[0].getPoints());k=a?!k:k;h=[];var n=[],m=[],p=0;n[p]=void 0;m[p]=[];for(var v=0,t=f.length;v<t;v++){g=f[v];var r=g.getPoints();var u=e(r);(u=a?!u:u)?(!k&&n[p]&&
p++,n[p]={s:new Nb,p:r},n[p].s.curves=g.curves,k&&p++,m[p]=[]):m[p].push({h:g,p:r[0]})}if(!n[0])return c(f);if(1<n.length){a=!1;e=[];f=0;for(g=n.length;f<g;f++)h[f]=[];f=0;for(g=n.length;f<g;f++)for(u=m[f],k=0;k<u.length;k++){p=u[k];r=!0;for(v=0;v<n.length;v++)d(p.p,n[v].p)&&(f!==v&&e.push({froms:f,tos:v,hole:k}),r?(r=!1,h[v].push(p)):a=!0);r&&h[f].push(p)}0<e.length&&(a||(m=h))}e=0;for(f=n.length;e<f;e++)for(h=n[e].s,b.push(h),a=m[e],g=0,u=a.length;g<u;g++)h.holes.push(a[g].h);return b}});Object.assign(Cg.prototype,
{isFont:!0,generateShapes:function(a,b){void 0===b&&(b=100);var c=[],d=b;b=this.data;var e=Array.from?Array.from(a):String(a).split("");d/=b.resolution;var f=(b.boundingBox.yMax-b.boundingBox.yMin+b.underlineThickness)*d;a=[];for(var g=0,h=0,k=0;k<e.length;k++){var n=e[k];if("\n"===n)g=0,h-=f;else{var m=n;n=d;var p=g,v=h,t=b,r=t.glyphs[m]||t.glyphs["?"];if(r){m=new Bg;if(r.o){t=r._cachedOutline||(r._cachedOutline=r.o.split(" "));for(var u=0,w=t.length;u<w;)switch(t[u++]){case "m":var y=t[u++]*n+p;
var x=t[u++]*n+v;m.moveTo(y,x);break;case "l":y=t[u++]*n+p;x=t[u++]*n+v;m.lineTo(y,x);break;case "q":var z=t[u++]*n+p;var B=t[u++]*n+v;var D=t[u++]*n+p;var C=t[u++]*n+v;m.quadraticCurveTo(D,C,z,B);break;case "b":z=t[u++]*n+p,B=t[u++]*n+v,D=t[u++]*n+p,C=t[u++]*n+v,y=t[u++]*n+p,x=t[u++]*n+v,m.bezierCurveTo(D,C,y,x,z,B)}}n={offsetX:r.ha*n,path:m}}else console.error('THREE.Font: character "'+m+'" does not exists in font family '+t.familyName+"."),n=void 0;g+=n.offsetX;a.push(n.path)}}b=0;for(e=a.length;b<
e;b++)Array.prototype.push.apply(c,a[b].toShapes());return c}});Dg.prototype=Object.assign(Object.create(S.prototype),{constructor:Dg,load:function(a,b,c,d){var e=this,f=new Ra(this.manager);f.setPath(this.path);f.load(a,function(a){try{var c=JSON.parse(a)}catch(l){console.warn("THREE.FontLoader: typeface.js support is being deprecated. Use typeface.json instead."),c=JSON.parse(a.substring(65,a.length-2))}a=e.parse(c);b&&b(a)},c,d)},parse:function(a){return new Cg(a)}});var Vf,Ig={getContext:function(){void 0===
Vf&&(Vf=new (window.AudioContext||window.webkitAudioContext));return Vf},setContext:function(a){Vf=a}};vf.prototype=Object.assign(Object.create(S.prototype),{constructor:vf,load:function(a,b,c,d){var e=this,f=new Ra(e.manager);f.setResponseType("arraybuffer");f.setPath(e.path);f.load(a,function(c){try{var f=c.slice(0);Ig.getContext().decodeAudioData(f,function(a){b(a)})}catch(l){d?d(l):console.error(l),e.manager.itemError(a)}},c,d)}});Eg.prototype=Object.assign(Object.create(Sa.prototype),{constructor:Eg,
isHemisphereLightProbe:!0,copy:function(a){Sa.prototype.copy.call(this,a);return this},toJSON:function(a){return Sa.prototype.toJSON.call(this,a)}});Fg.prototype=Object.assign(Object.create(Sa.prototype),{constructor:Fg,isAmbientLightProbe:!0,copy:function(a){Sa.prototype.copy.call(this,a);return this},toJSON:function(a){return Sa.prototype.toJSON.call(this,a)}});var Si=new M,Ti=new M;Object.assign(ji.prototype,{update:function(a){var b=this._cache;if(b.focus!==a.focus||b.fov!==a.fov||b.aspect!==
a.aspect*this.aspect||b.near!==a.near||b.far!==a.far||b.zoom!==a.zoom||b.eyeSep!==this.eyeSep){b.focus=a.focus;b.fov=a.fov;b.aspect=a.aspect*this.aspect;b.near=a.near;b.far=a.far;b.zoom=a.zoom;b.eyeSep=this.eyeSep;var c=a.projectionMatrix.clone(),d=b.eyeSep/2,e=d*b.near/b.focus,f=b.near*Math.tan(K.DEG2RAD*b.fov*.5)/b.zoom;Ti.elements[12]=-d;Si.elements[12]=d;d=-f*b.aspect+e;var g=f*b.aspect+e;c.elements[0]=2*b.near/(g-d);c.elements[8]=(g+d)/(g-d);this.cameraL.projectionMatrix.copy(c);d=-f*b.aspect-
e;g=f*b.aspect-e;c.elements[0]=2*b.near/(g-d);c.elements[8]=(g+d)/(g-d);this.cameraR.projectionMatrix.copy(c)}this.cameraL.matrixWorld.copy(a.matrixWorld).multiply(Ti);this.cameraR.matrixWorld.copy(a.matrixWorld).multiply(Si)}});Object.assign(Gg.prototype,{start:function(){this.oldTime=this.startTime=("undefined"===typeof performance?Date:performance).now();this.elapsedTime=0;this.running=!0},stop:function(){this.getElapsedTime();this.autoStart=this.running=!1},getElapsedTime:function(){this.getDelta();
return this.elapsedTime},getDelta:function(){var a=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){var b=("undefined"===typeof performance?Date:performance).now();a=(b-this.oldTime)/1E3;this.oldTime=b;this.elapsedTime+=a}return a}});var uc=new m,Ui=new na,Xk=new m,vc=new m;Hg.prototype=Object.assign(Object.create(z.prototype),{constructor:Hg,getInput:function(){return this.gain},removeFilter:function(){null!==this.filter&&(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination),
this.gain.connect(this.context.destination),this.filter=null);return this},getFilter:function(){return this.filter},setFilter:function(a){null!==this.filter?(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination)):this.gain.disconnect(this.context.destination);this.filter=a;this.gain.connect(this.filter);this.filter.connect(this.context.destination);return this},getMasterVolume:function(){return this.gain.gain.value},setMasterVolume:function(a){this.gain.gain.setTargetAtTime(a,
this.context.currentTime,.01);return this},updateMatrixWorld:function(a){z.prototype.updateMatrixWorld.call(this,a);a=this.context.listener;var b=this.up;this.timeDelta=this._clock.getDelta();this.matrixWorld.decompose(uc,Ui,Xk);vc.set(0,0,-1).applyQuaternion(Ui);if(a.positionX){var c=this.context.currentTime+this.timeDelta;a.positionX.linearRampToValueAtTime(uc.x,c);a.positionY.linearRampToValueAtTime(uc.y,c);a.positionZ.linearRampToValueAtTime(uc.z,c);a.forwardX.linearRampToValueAtTime(vc.x,c);
a.forwardY.linearRampToValueAtTime(vc.y,c);a.forwardZ.linearRampToValueAtTime(vc.z,c);a.upX.linearRampToValueAtTime(b.x,c);a.upY.linearRampToValueAtTime(b.y,c);a.upZ.linearRampToValueAtTime(b.z,c)}else a.setPosition(uc.x,uc.y,uc.z),a.setOrientation(vc.x,vc.y,vc.z,b.x,b.y,b.z)}});fd.prototype=Object.assign(Object.create(z.prototype),{constructor:fd,getOutput:function(){return this.gain},setNodeSource:function(a){this.hasPlaybackControl=!1;this.sourceType="audioNode";this.source=a;this.connect();return this},
setMediaElementSource:function(a){this.hasPlaybackControl=!1;this.sourceType="mediaNode";this.source=this.context.createMediaElementSource(a);this.connect();return this},setMediaStreamSource:function(a){this.hasPlaybackControl=!1;this.sourceType="mediaStreamNode";this.source=this.context.createMediaStreamSource(a);this.connect();return this},setBuffer:function(a){this.buffer=a;this.sourceType="buffer";this.autoplay&&this.play();return this},play:function(a){void 0===a&&(a=0);if(!0===this.isPlaying)console.warn("THREE.Audio: Audio is already playing.");
else if(!1===this.hasPlaybackControl)console.warn("THREE.Audio: this Audio has no playback control.");else return this._startedAt=this.context.currentTime+a,a=this.context.createBufferSource(),a.buffer=this.buffer,a.loop=this.loop,a.loopStart=this.loopStart,a.loopEnd=this.loopEnd,a.onended=this.onEnded.bind(this),a.start(this._startedAt,this._progress+this.offset,this.duration),this.isPlaying=!0,this.source=a,this.setDetune(this.detune),this.setPlaybackRate(this.playbackRate),this.connect()},pause:function(){if(!1===
this.hasPlaybackControl)console.warn("THREE.Audio: this Audio has no playback control.");else return!0===this.isPlaying&&(this._progress+=Math.max(this.context.currentTime-this._startedAt,0)*this.playbackRate,!0===this.loop&&(this._progress%=this.duration||this.buffer.duration),this.source.stop(),this.source.onended=null,this.isPlaying=!1),this},stop:function(){if(!1===this.hasPlaybackControl)console.warn("THREE.Audio: this Audio has no playback control.");else return this._progress=0,this.source.stop(),
this.source.onended=null,this.isPlaying=!1,this},connect:function(){if(0<this.filters.length){this.source.connect(this.filters[0]);for(var a=1,b=this.filters.length;a<b;a++)this.filters[a-1].connect(this.filters[a]);this.filters[this.filters.length-1].connect(this.getOutput())}else this.source.connect(this.getOutput());return this},disconnect:function(){if(0<this.filters.length){this.source.disconnect(this.filters[0]);for(var a=1,b=this.filters.length;a<b;a++)this.filters[a-1].disconnect(this.filters[a]);
this.filters[this.filters.length-1].disconnect(this.getOutput())}else this.source.disconnect(this.getOutput());return this},getFilters:function(){return this.filters},setFilters:function(a){a||(a=[]);!0===this.isPlaying?(this.disconnect(),this.filters=a,this.connect()):this.filters=a;return this},setDetune:function(a){this.detune=a;if(void 0!==this.source.detune)return!0===this.isPlaying&&this.source.detune.setTargetAtTime(this.detune,this.context.currentTime,.01),this},getDetune:function(){return this.detune},
getFilter:function(){return this.getFilters()[0]},setFilter:function(a){return this.setFilters(a?[a]:[])},setPlaybackRate:function(a){if(!1===this.hasPlaybackControl)console.warn("THREE.Audio: this Audio has no playback control.");else return this.playbackRate=a,!0===this.isPlaying&&this.source.playbackRate.setTargetAtTime(this.playbackRate,this.context.currentTime,.01),this},getPlaybackRate:function(){return this.playbackRate},onEnded:function(){this.isPlaying=!1},getLoop:function(){return!1===this.hasPlaybackControl?
(console.warn("THREE.Audio: this Audio has no playback control."),!1):this.loop},setLoop:function(a){if(!1===this.hasPlaybackControl)console.warn("THREE.Audio: this Audio has no playback control.");else return this.loop=a,!0===this.isPlaying&&(this.source.loop=this.loop),this},setLoopStart:function(a){this.loopStart=a;return this},setLoopEnd:function(a){this.loopEnd=a;return this},getVolume:function(){return this.gain.gain.value},setVolume:function(a){this.gain.gain.setTargetAtTime(a,this.context.currentTime,
.01);return this}});var wc=new m,Vi=new na,Yk=new m,xc=new m;Jg.prototype=Object.assign(Object.create(fd.prototype),{constructor:Jg,getOutput:function(){return this.panner},getRefDistance:function(){return this.panner.refDistance},setRefDistance:function(a){this.panner.refDistance=a;return this},getRolloffFactor:function(){return this.panner.rolloffFactor},setRolloffFactor:function(a){this.panner.rolloffFactor=a;return this},getDistanceModel:function(){return this.panner.distanceModel},setDistanceModel:function(a){this.panner.distanceModel=
a;return this},getMaxDistance:function(){return this.panner.maxDistance},setMaxDistance:function(a){this.panner.maxDistance=a;return this},setDirectionalCone:function(a,b,c){this.panner.coneInnerAngle=a;this.panner.coneOuterAngle=b;this.panner.coneOuterGain=c;return this},updateMatrixWorld:function(a){z.prototype.updateMatrixWorld.call(this,a);if(!0!==this.hasPlaybackControl||!1!==this.isPlaying)if(this.matrixWorld.decompose(wc,Vi,Yk),xc.set(0,0,1).applyQuaternion(Vi),a=this.panner,a.positionX){var b=
this.context.currentTime+this.listener.timeDelta;a.positionX.linearRampToValueAtTime(wc.x,b);a.positionY.linearRampToValueAtTime(wc.y,b);a.positionZ.linearRampToValueAtTime(wc.z,b);a.orientationX.linearRampToValueAtTime(xc.x,b);a.orientationY.linearRampToValueAtTime(xc.y,b);a.orientationZ.linearRampToValueAtTime(xc.z,b)}else a.setPosition(wc.x,wc.y,wc.z),a.setOrientation(xc.x,xc.y,xc.z)}});Object.assign(Kg.prototype,{getFrequencyData:function(){this.analyser.getByteFrequencyData(this.data);return this.data},
getAverageFrequency:function(){for(var a=0,b=this.getFrequencyData(),c=0;c<b.length;c++)a+=b[c];return a/b.length}});Object.assign(Lg.prototype,{accumulate:function(a,b){var c=this.buffer,d=this.valueSize;a=a*d+d;var e=this.cumulativeWeight;if(0===e){for(e=0;e!==d;++e)c[a+e]=c[e];e=b}else e+=b,this._mixBufferRegion(c,a,0,b/e,d);this.cumulativeWeight=e},accumulateAdditive:function(a){var b=this.buffer,c=this.valueSize,d=c*this._addIndex;0===this.cumulativeWeightAdditive&&this._setIdentity();this._mixBufferRegionAdditive(b,
d,0,a,c);this.cumulativeWeightAdditive+=a},apply:function(a){var b=this.valueSize,c=this.buffer;a=a*b+b;var d=this.cumulativeWeight,e=this.cumulativeWeightAdditive,f=this.binding;this.cumulativeWeightAdditive=this.cumulativeWeight=0;1>d&&this._mixBufferRegion(c,a,b*this._origIndex,1-d,b);0<e&&this._mixBufferRegionAdditive(c,a,this._addIndex*b,1,b);d=b;for(e=b+b;d!==e;++d)if(c[d]!==c[d+b]){f.setValue(c,a);break}},saveOriginalState:function(){var a=this.buffer,b=this.valueSize,c=b*this._origIndex;this.binding.getValue(a,
c);for(var d=b;d!==c;++d)a[d]=a[c+d%b];this._setIdentity();this.cumulativeWeightAdditive=this.cumulativeWeight=0},restoreOriginalState:function(){this.binding.setValue(this.buffer,3*this.valueSize)},_setAdditiveIdentityNumeric:function(){for(var a=this._addIndex*this.valueSize,b=a+this.valueSize;a<b;a++)this.buffer[a]=0},_setAdditiveIdentityQuaternion:function(){this._setAdditiveIdentityNumeric();this.buffer[4*this._addIndex+3]=1},_setAdditiveIdentityOther:function(){for(var a=this._origIndex*this.valueSize,
b=this._addIndex*this.valueSize,c=0;c<this.valueSize;c++)this.buffer[b+c]=this.buffer[a+c]},_select:function(a,b,c,d,e){if(.5<=d)for(d=0;d!==e;++d)a[b+d]=a[c+d]},_slerp:function(a,b,c,d){na.slerpFlat(a,b,a,b,a,c,d)},_slerpAdditive:function(a,b,c,d,e){e*=this._workIndex;na.multiplyQuaternionsFlat(a,e,a,b,a,c);na.slerpFlat(a,b,a,b,a,e,d)},_lerp:function(a,b,c,d,e){for(var f=1-d,g=0;g!==e;++g){var h=b+g;a[h]=a[h]*f+a[c+g]*d}},_lerpAdditive:function(a,b,c,d,e){for(var f=0;f!==e;++f){var g=b+f;a[g]+=a[c+
f]*d}}});var Zk=/[\[\]\.:\/]/g,$k="[^"+"\\[\\]\\.:\\/".replace("\\.","")+"]",al=/((?:WC+[\/:])*)/.source.replace("WC","[^\\[\\]\\.:\\/]"),bl=/(WCOD+)?/.source.replace("WCOD",$k),cl=/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC","[^\\[\\]\\.:\\/]"),dl=/\.(WC+)(?:\[(.+)\])?/.source.replace("WC","[^\\[\\]\\.:\\/]"),el=new RegExp("^"+al+bl+cl+dl+"$"),fl=["material","materials","bones"];Object.assign(ki.prototype,{getValue:function(a,b){this.bind();var c=this._bindings[this._targetGroup.nCachedObjects_];
void 0!==c&&c.getValue(a,b)},setValue:function(a,b){for(var c=this._bindings,d=this._targetGroup.nCachedObjects_,e=c.length;d!==e;++d)c[d].setValue(a,b)},bind:function(){for(var a=this._bindings,b=this._targetGroup.nCachedObjects_,c=a.length;b!==c;++b)a[b].bind()},unbind:function(){for(var a=this._bindings,b=this._targetGroup.nCachedObjects_,c=a.length;b!==c;++b)a[b].unbind()}});Object.assign(za,{Composite:ki,create:function(a,b,c){return a&&a.isAnimationObjectGroup?new za.Composite(a,b,c):new za(a,
b,c)},sanitizeNodeName:function(a){return a.replace(/\s/g,"_").replace(Zk,"")},parseTrackName:function(a){var b=el.exec(a);if(!b)throw Error("PropertyBinding: Cannot parse trackName: "+a);b={nodeName:b[2],objectName:b[3],objectIndex:b[4],propertyName:b[5],propertyIndex:b[6]};var c=b.nodeName&&b.nodeName.lastIndexOf(".");if(void 0!==c&&-1!==c){var d=b.nodeName.substring(c+1);-1!==fl.indexOf(d)&&(b.nodeName=b.nodeName.substring(0,c),b.objectName=d)}if(null===b.propertyName||0===b.propertyName.length)throw Error("PropertyBinding: can not parse propertyName from trackName: "+
a);return b},findNode:function(a,b){if(!b||""===b||"."===b||-1===b||b===a.name||b===a.uuid)return a;if(a.skeleton){var c=a.skeleton.getBoneByName(b);if(void 0!==c)return c}if(a.children){var d=function(a){for(var c=0;c<a.length;c++){var e=a[c];if(e.name===b||e.uuid===b||(e=d(e.children)))return e}return null};if(a=d(a.children))return a}return null}});Object.assign(za.prototype,{_getValue_unavailable:function(){},_setValue_unavailable:function(){},BindingType:{Direct:0,EntireArray:1,ArrayElement:2,
HasFromToArray:3},Versioning:{None:0,NeedsUpdate:1,MatrixWorldNeedsUpdate:2},GetterByBindingType:[function(a,b){a[b]=this.node[this.propertyName]},function(a,b){for(var c=this.resolvedProperty,d=0,e=c.length;d!==e;++d)a[b++]=c[d]},function(a,b){a[b]=this.resolvedProperty[this.propertyIndex]},function(a,b){this.resolvedProperty.toArray(a,b)}],SetterByBindingTypeAndVersioning:[[function(a,b){this.targetObject[this.propertyName]=a[b]},function(a,b){this.targetObject[this.propertyName]=a[b];this.targetObject.needsUpdate=
!0},function(a,b){this.targetObject[this.propertyName]=a[b];this.targetObject.matrixWorldNeedsUpdate=!0}],[function(a,b){for(var c=this.resolvedProperty,d=0,e=c.length;d!==e;++d)c[d]=a[b++]},function(a,b){for(var c=this.resolvedProperty,d=0,e=c.length;d!==e;++d)c[d]=a[b++];this.targetObject.needsUpdate=!0},function(a,b){for(var c=this.resolvedProperty,d=0,e=c.length;d!==e;++d)c[d]=a[b++];this.targetObject.matrixWorldNeedsUpdate=!0}],[function(a,b){this.resolvedProperty[this.propertyIndex]=a[b]},function(a,
b){this.resolvedProperty[this.propertyIndex]=a[b];this.targetObject.needsUpdate=!0},function(a,b){this.resolvedProperty[this.propertyIndex]=a[b];this.targetObject.matrixWorldNeedsUpdate=!0}],[function(a,b){this.resolvedProperty.fromArray(a,b)},function(a,b){this.resolvedProperty.fromArray(a,b);this.targetObject.needsUpdate=!0},function(a,b){this.resolvedProperty.fromArray(a,b);this.targetObject.matrixWorldNeedsUpdate=!0}]],getValue:function(a,b){this.bind();this.getValue(a,b)},setValue:function(a,
b){this.bind();this.setValue(a,b)},bind:function(){var a=this.node,b=this.parsedPath,c=b.objectName,d=b.propertyName,e=b.propertyIndex;a||(this.node=a=za.findNode(this.rootNode,b.nodeName)||this.rootNode);this.getValue=this._getValue_unavailable;this.setValue=this._setValue_unavailable;if(a){if(c){var f=b.objectIndex;switch(c){case "materials":if(!a.material){console.error("THREE.PropertyBinding: Can not bind to material as node does not have a material.",this);return}if(!a.material.materials){console.error("THREE.PropertyBinding: Can not bind to material.materials as node.material does not have a materials array.",
this);return}a=a.material.materials;break;case "bones":if(!a.skeleton){console.error("THREE.PropertyBinding: Can not bind to bones as node does not have a skeleton.",this);return}a=a.skeleton.bones;for(c=0;c<a.length;c++)if(a[c].name===f){f=c;break}break;default:if(void 0===a[c]){console.error("THREE.PropertyBinding: Can not bind to objectName of node undefined.",this);return}a=a[c]}if(void 0!==f){if(void 0===a[f]){console.error("THREE.PropertyBinding: Trying to bind to objectIndex of objectName, but is undefined.",
this,a);return}a=a[f]}}f=a[d];if(void 0===f)console.error("THREE.PropertyBinding: Trying to update property for track: "+b.nodeName+"."+d+" but it wasn't found.",a);else{b=this.Versioning.None;this.targetObject=a;void 0!==a.needsUpdate?b=this.Versioning.NeedsUpdate:void 0!==a.matrixWorldNeedsUpdate&&(b=this.Versioning.MatrixWorldNeedsUpdate);c=this.BindingType.Direct;if(void 0!==e){if("morphTargetInfluences"===d){if(!a.geometry){console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.",
this);return}if(a.geometry.isBufferGeometry){if(!a.geometry.morphAttributes){console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.morphAttributes.",this);return}void 0!==a.morphTargetDictionary[e]&&(e=a.morphTargetDictionary[e])}else{console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences on THREE.Geometry. Use THREE.BufferGeometry instead.",this);return}}c=this.BindingType.ArrayElement;this.resolvedProperty=f;this.propertyIndex=
e}else void 0!==f.fromArray&&void 0!==f.toArray?(c=this.BindingType.HasFromToArray,this.resolvedProperty=f):Array.isArray(f)?(c=this.BindingType.EntireArray,this.resolvedProperty=f):this.propertyName=d;this.getValue=this.GetterByBindingType[c];this.setValue=this.SetterByBindingTypeAndVersioning[c][b]}}else console.error("THREE.PropertyBinding: Trying to update node for track: "+this.path+" but it wasn't found.")},unbind:function(){this.node=null;this.getValue=this._getValue_unbound;this.setValue=
this._setValue_unbound}});Object.assign(za.prototype,{_getValue_unbound:za.prototype.getValue,_setValue_unbound:za.prototype.setValue});Object.assign(li.prototype,{isAnimationObjectGroup:!0,add:function(){for(var a=this._objects,b=this._indicesByUUID,c=this._paths,d=this._parsedPaths,e=this._bindings,f=e.length,g=void 0,h=a.length,k=this.nCachedObjects_,n=0,m=arguments.length;n!==m;++n){var p=arguments[n],v=p.uuid,t=b[v];if(void 0===t){t=h++;b[v]=t;a.push(p);t=0;for(var r=f;t!==r;++t)e[t].push(new za(p,
c[t],d[t]))}else if(t<k){g=a[t];r=--k;var u=a[r];b[u.uuid]=t;a[t]=u;b[v]=r;a[r]=p;v=0;for(u=f;v!==u;++v){var w=e[v],y=w[t];w[t]=w[r];void 0===y&&(y=new za(p,c[v],d[v]));w[r]=y}}else a[t]!==g&&console.error("THREE.AnimationObjectGroup: Different objects with the same UUID detected. Clean the caches or recreate your infrastructure when reloading scenes.")}this.nCachedObjects_=k},remove:function(){for(var a=this._objects,b=this._indicesByUUID,c=this._bindings,d=c.length,e=this.nCachedObjects_,f=0,g=
arguments.length;f!==g;++f){var h=arguments[f],k=h.uuid,n=b[k];if(void 0!==n&&n>=e){var m=e++,p=a[m];b[p.uuid]=n;a[n]=p;b[k]=m;a[m]=h;h=0;for(k=d;h!==k;++h){p=c[h];var v=p[n];p[n]=p[m];p[m]=v}}}this.nCachedObjects_=e},uncache:function(){for(var a=this._objects,b=this._indicesByUUID,c=this._bindings,d=c.length,e=this.nCachedObjects_,f=a.length,g=0,h=arguments.length;g!==h;++g){var k=arguments[g].uuid,n=b[k];if(void 0!==n)if(delete b[k],n<e){k=--e;var m=a[k],p=--f,v=a[p];b[m.uuid]=n;a[n]=m;b[v.uuid]=
k;a[k]=v;a.pop();m=0;for(v=d;m!==v;++m){var t=c[m],r=t[p];t[n]=t[k];t[k]=r;t.pop()}}else for(k=--f,p=a[k],b[p.uuid]=n,a[n]=p,a.pop(),p=0,m=d;p!==m;++p)v=c[p],v[n]=v[k],v.pop()}this.nCachedObjects_=e},subscribe_:function(a,b){var c=this._bindingsIndicesByPath,d=c[a],e=this._bindings;if(void 0!==d)return e[d];var f=this._paths,g=this._parsedPaths,h=this._objects,k=this.nCachedObjects_,n=Array(h.length);d=e.length;c[a]=d;f.push(a);g.push(b);e.push(n);c=k;for(d=h.length;c!==d;++c)n[c]=new za(h[c],a,b);
return n},unsubscribe_:function(a){var b=this._bindingsIndicesByPath,c=b[a];if(void 0!==c){var d=this._paths,e=this._parsedPaths,f=this._bindings,g=f.length-1,h=f[g];b[a[g]]=c;f[c]=h;f.pop();e[c]=e[g];e.pop();d[c]=d[g];d.pop()}}});Object.assign(mi.prototype,{play:function(){this._mixer._activateAction(this);return this},stop:function(){this._mixer._deactivateAction(this);return this.reset()},reset:function(){this.paused=!1;this.enabled=!0;this.time=0;this._loopCount=-1;this._startTime=null;return this.stopFading().stopWarping()},
isRunning:function(){return this.enabled&&!this.paused&&0!==this.timeScale&&null===this._startTime&&this._mixer._isActiveAction(this)},isScheduled:function(){return this._mixer._isActiveAction(this)},startAt:function(a){this._startTime=a;return this},setLoop:function(a,b){this.loop=a;this.repetitions=b;return this},setEffectiveWeight:function(a){this.weight=a;this._effectiveWeight=this.enabled?a:0;return this.stopFading()},getEffectiveWeight:function(){return this._effectiveWeight},fadeIn:function(a){return this._scheduleFading(a,
0,1)},fadeOut:function(a){return this._scheduleFading(a,1,0)},crossFadeFrom:function(a,b,c){a.fadeOut(b);this.fadeIn(b);if(c){c=this._clip.duration;var d=a._clip.duration,e=c/d;a.warp(1,d/c,b);this.warp(e,1,b)}return this},crossFadeTo:function(a,b,c){return a.crossFadeFrom(this,b,c)},stopFading:function(){var a=this._weightInterpolant;null!==a&&(this._weightInterpolant=null,this._mixer._takeBackControlInterpolant(a));return this},setEffectiveTimeScale:function(a){this.timeScale=a;this._effectiveTimeScale=
this.paused?0:a;return this.stopWarping()},getEffectiveTimeScale:function(){return this._effectiveTimeScale},setDuration:function(a){this.timeScale=this._clip.duration/a;return this.stopWarping()},syncWith:function(a){this.time=a.time;this.timeScale=a.timeScale;return this.stopWarping()},halt:function(a){return this.warp(this._effectiveTimeScale,0,a)},warp:function(a,b,c){var d=this._mixer,e=d.time,f=this.timeScale,g=this._timeScaleInterpolant;null===g&&(this._timeScaleInterpolant=g=d._lendControlInterpolant());
d=g.parameterPositions;g=g.sampleValues;d[0]=e;d[1]=e+c;g[0]=a/f;g[1]=b/f;return this},stopWarping:function(){var a=this._timeScaleInterpolant;null!==a&&(this._timeScaleInterpolant=null,this._mixer._takeBackControlInterpolant(a));return this},getMixer:function(){return this._mixer},getClip:function(){return this._clip},getRoot:function(){return this._localRoot||this._mixer._root},_update:function(a,b,c,d){if(this.enabled){var e=this._startTime;if(null!==e){b=(a-e)*c;if(0>b||0===c)return;this._startTime=
null;b*=c}b*=this._updateTimeScale(a);c=this._updateTime(b);a=this._updateWeight(a);if(0<a)switch(b=this._interpolants,e=this._propertyBindings,this.blendMode){case 2501:d=0;for(var f=b.length;d!==f;++d)b[d].evaluate(c),e[d].accumulateAdditive(a);break;default:f=0;for(var g=b.length;f!==g;++f)b[f].evaluate(c),e[f].accumulate(d,a)}}else this._updateWeight(a)},_updateWeight:function(a){var b=0;if(this.enabled){b=this.weight;var c=this._weightInterpolant;if(null!==c){var d=c.evaluate(a)[0];b*=d;a>c.parameterPositions[1]&&
(this.stopFading(),0===d&&(this.enabled=!1))}}return this._effectiveWeight=b},_updateTimeScale:function(a){var b=0;if(!this.paused){b=this.timeScale;var c=this._timeScaleInterpolant;if(null!==c){var d=c.evaluate(a)[0];b*=d;a>c.parameterPositions[1]&&(this.stopWarping(),0===b?this.paused=!0:this.timeScale=b)}}return this._effectiveTimeScale=b},_updateTime:function(a){var b=this._clip.duration,c=this.loop,d=this.time+a,e=this._loopCount,f=2202===c;if(0===a)return-1===e?d:f&&1===(e&1)?b-d:d;if(2200===
c)a:{if(-1===e&&(this._loopCount=0,this._setEndings(!0,!0,!1)),d>=b)d=b;else if(0>d)d=0;else{this.time=d;break a}this.clampWhenFinished?this.paused=!0:this.enabled=!1;this.time=d;this._mixer.dispatchEvent({type:"finished",action:this,direction:0>a?-1:1})}else{-1===e&&(0<=a?(e=0,this._setEndings(!0,0===this.repetitions,f)):this._setEndings(0===this.repetitions,!0,f));if(d>=b||0>d){c=Math.floor(d/b);d-=b*c;e+=Math.abs(c);var g=this.repetitions-e;0>=g?(this.clampWhenFinished?this.paused=!0:this.enabled=
!1,this.time=d=0<a?b:0,this._mixer.dispatchEvent({type:"finished",action:this,direction:0<a?1:-1})):(1===g?(a=0>a,this._setEndings(a,!a,f)):this._setEndings(!1,!1,f),this._loopCount=e,this.time=d,this._mixer.dispatchEvent({type:"loop",action:this,loopDelta:c}))}else this.time=d;if(f&&1===(e&1))return b-d}return d},_setEndings:function(a,b,c){var d=this._interpolantSettings;c?(d.endingStart=2401,d.endingEnd=2401):(d.endingStart=a?this.zeroSlopeAtStart?2401:2400:2402,d.endingEnd=b?this.zeroSlopeAtEnd?
2401:2400:2402)},_scheduleFading:function(a,b,c){var d=this._mixer,e=d.time,f=this._weightInterpolant;null===f&&(this._weightInterpolant=f=d._lendControlInterpolant());d=f.parameterPositions;f=f.sampleValues;d[0]=e;f[0]=b;d[1]=e+a;f[1]=c;return this}});Mg.prototype=Object.assign(Object.create(ua.prototype),{constructor:Mg,_bindAction:function(a,b){var c=a._localRoot||this._root,d=a._clip.tracks,e=d.length,f=a._propertyBindings;a=a._interpolants;var g=c.uuid,h=this._bindingsByRootAndName,k=h[g];void 0===
k&&(k={},h[g]=k);for(h=0;h!==e;++h){var n=d[h],m=n.name,p=k[m];if(void 0===p){p=f[h];if(void 0!==p){null===p._cacheIndex&&(++p.referenceCount,this._addInactiveBinding(p,g,m));continue}p=new Lg(za.create(c,m,b&&b._propertyBindings[h].binding.parsedPath),n.ValueTypeName,n.getValueSize());++p.referenceCount;this._addInactiveBinding(p,g,m)}f[h]=p;a[h].resultBuffer=p.buffer}},_activateAction:function(a){if(!this._isActiveAction(a)){if(null===a._cacheIndex){var b=(a._localRoot||this._root).uuid,c=a._clip.uuid,
d=this._actionsByClip[c];this._bindAction(a,d&&d.knownActions[0]);this._addInactiveAction(a,c,b)}b=a._propertyBindings;c=0;for(d=b.length;c!==d;++c){var e=b[c];0===e.useCount++&&(this._lendBinding(e),e.saveOriginalState())}this._lendAction(a)}},_deactivateAction:function(a){if(this._isActiveAction(a)){for(var b=a._propertyBindings,c=0,d=b.length;c!==d;++c){var e=b[c];0===--e.useCount&&(e.restoreOriginalState(),this._takeBackBinding(e))}this._takeBackAction(a)}},_initMemoryManager:function(){this._actions=
[];this._nActiveActions=0;this._actionsByClip={};this._bindings=[];this._nActiveBindings=0;this._bindingsByRootAndName={};this._controlInterpolants=[];this._nActiveControlInterpolants=0;var a=this;this.stats={actions:{get total(){return a._actions.length},get inUse(){return a._nActiveActions}},bindings:{get total(){return a._bindings.length},get inUse(){return a._nActiveBindings}},controlInterpolants:{get total(){return a._controlInterpolants.length},get inUse(){return a._nActiveControlInterpolants}}}},
_isActiveAction:function(a){a=a._cacheIndex;return null!==a&&a<this._nActiveActions},_addInactiveAction:function(a,b,c){var d=this._actions,e=this._actionsByClip,f=e[b];void 0===f?(f={knownActions:[a],actionByRoot:{}},a._byClipCacheIndex=0,e[b]=f):(b=f.knownActions,a._byClipCacheIndex=b.length,b.push(a));a._cacheIndex=d.length;d.push(a);f.actionByRoot[c]=a},_removeInactiveAction:function(a){var b=this._actions,c=b[b.length-1],d=a._cacheIndex;c._cacheIndex=d;b[d]=c;b.pop();a._cacheIndex=null;b=a._clip.uuid;
c=this._actionsByClip;d=c[b];var e=d.knownActions,f=e[e.length-1],g=a._byClipCacheIndex;f._byClipCacheIndex=g;e[g]=f;e.pop();a._byClipCacheIndex=null;delete d.actionByRoot[(a._localRoot||this._root).uuid];0===e.length&&delete c[b];this._removeInactiveBindingsForAction(a)},_removeInactiveBindingsForAction:function(a){a=a._propertyBindings;for(var b=0,c=a.length;b!==c;++b){var d=a[b];0===--d.referenceCount&&this._removeInactiveBinding(d)}},_lendAction:function(a){var b=this._actions,c=a._cacheIndex,
d=this._nActiveActions++,e=b[d];a._cacheIndex=d;b[d]=a;e._cacheIndex=c;b[c]=e},_takeBackAction:function(a){var b=this._actions,c=a._cacheIndex,d=--this._nActiveActions,e=b[d];a._cacheIndex=d;b[d]=a;e._cacheIndex=c;b[c]=e},_addInactiveBinding:function(a,b,c){var d=this._bindingsByRootAndName,e=this._bindings,f=d[b];void 0===f&&(f={},d[b]=f);f[c]=a;a._cacheIndex=e.length;e.push(a)},_removeInactiveBinding:function(a){var b=this._bindings,c=a.binding,d=c.rootNode.uuid;c=c.path;var e=this._bindingsByRootAndName,
f=e[d],g=b[b.length-1];a=a._cacheIndex;g._cacheIndex=a;b[a]=g;b.pop();delete f[c];0===Object.keys(f).length&&delete e[d]},_lendBinding:function(a){var b=this._bindings,c=a._cacheIndex,d=this._nActiveBindings++,e=b[d];a._cacheIndex=d;b[d]=a;e._cacheIndex=c;b[c]=e},_takeBackBinding:function(a){var b=this._bindings,c=a._cacheIndex,d=--this._nActiveBindings,e=b[d];a._cacheIndex=d;b[d]=a;e._cacheIndex=c;b[c]=e},_lendControlInterpolant:function(){var a=this._controlInterpolants,b=this._nActiveControlInterpolants++,
c=a[b];void 0===c&&(c=new ke(new Float32Array(2),new Float32Array(2),1,this._controlInterpolantsResultBuffer),c.__cacheIndex=b,a[b]=c);return c},_takeBackControlInterpolant:function(a){var b=this._controlInterpolants,c=a.__cacheIndex,d=--this._nActiveControlInterpolants,e=b[d];a.__cacheIndex=d;b[d]=a;e.__cacheIndex=c;b[c]=e},_controlInterpolantsResultBuffer:new Float32Array(1),clipAction:function(a,b,c){var d=b||this._root,e=d.uuid;d="string"===typeof a?Qa.findByName(d,a):a;a=null!==d?d.uuid:a;var f=
this._actionsByClip[a],g=null;void 0===c&&(c=null!==d?d.blendMode:2500);if(void 0!==f){g=f.actionByRoot[e];if(void 0!==g&&g.blendMode===c)return g;g=f.knownActions[0];null===d&&(d=g._clip)}if(null===d)return null;b=new mi(this,d,b,c);this._bindAction(b,g);this._addInactiveAction(b,a,e);return b},existingAction:function(a,b){var c=b||this._root;b=c.uuid;c="string"===typeof a?Qa.findByName(c,a):a;a=this._actionsByClip[c?c.uuid:a];return void 0!==a?a.actionByRoot[b]||null:null},stopAllAction:function(){for(var a=
this._actions,b=this._nActiveActions-1;0<=b;--b)a[b].stop();return this},update:function(a){a*=this.timeScale;for(var b=this._actions,c=this._nActiveActions,d=this.time+=a,e=Math.sign(a),f=this._accuIndex^=1,g=0;g!==c;++g)b[g]._update(d,a,e,f);a=this._bindings;b=this._nActiveBindings;for(c=0;c!==b;++c)a[c].apply(f);return this},setTime:function(a){for(var b=this.time=0;b<this._actions.length;b++)this._actions[b].time=0;return this.update(a)},getRoot:function(){return this._root},uncacheClip:function(a){var b=
this._actions;a=a.uuid;var c=this._actionsByClip,d=c[a];if(void 0!==d){d=d.knownActions;for(var e=0,f=d.length;e!==f;++e){var g=d[e];this._deactivateAction(g);var h=g._cacheIndex,k=b[b.length-1];g._cacheIndex=null;g._byClipCacheIndex=null;k._cacheIndex=h;b[h]=k;b.pop();this._removeInactiveBindingsForAction(g)}delete c[a]}},uncacheRoot:function(a){a=a.uuid;var b=this._actionsByClip;for(d in b){var c=b[d].actionByRoot[a];void 0!==c&&(this._deactivateAction(c),this._removeInactiveAction(c))}var d=this._bindingsByRootAndName[a];
if(void 0!==d)for(var e in d)a=d[e],a.restoreOriginalState(),this._removeInactiveBinding(a)},uncacheAction:function(a,b){a=this.existingAction(a,b);null!==a&&(this._deactivateAction(a),this._removeInactiveAction(a))}});wf.prototype.clone=function(){return new wf(void 0===this.value.clone?this.value:this.value.clone())};Ng.prototype=Object.assign(Object.create(Ja.prototype),{constructor:Ng,isInstancedInterleavedBuffer:!0,copy:function(a){Ja.prototype.copy.call(this,a);this.meshPerAttribute=a.meshPerAttribute;
return this},clone:function(a){a=Ja.prototype.clone.call(this,a);a.meshPerAttribute=this.meshPerAttribute;return a},toJSON:function(a){a=Ja.prototype.toJSON.call(this,a);a.isInstancedInterleavedBuffer=!0;a.meshPerAttribute=this.meshPerAttribute;return a}});Object.assign(Og.prototype,{set:function(a,b){this.ray.set(a,b)},setFromCamera:function(a,b){b&&b.isPerspectiveCamera?(this.ray.origin.setFromMatrixPosition(b.matrixWorld),this.ray.direction.set(a.x,a.y,.5).unproject(b).sub(this.ray.origin).normalize(),
this.camera=b):b&&b.isOrthographicCamera?(this.ray.origin.set(a.x,a.y,(b.near+b.far)/(b.near-b.far)).unproject(b),this.ray.direction.set(0,0,-1).transformDirection(b.matrixWorld),this.camera=b):console.error("THREE.Raycaster: Unsupported camera type.")},intersectObject:function(a,b,c){c=c||[];Pg(a,this,c,b);c.sort(ni);return c},intersectObjects:function(a,b,c){c=c||[];if(!1===Array.isArray(a))return console.warn("THREE.Raycaster.intersectObjects: objects is not an Array."),c;for(var d=0,e=a.length;d<
e;d++)Pg(a[d],this,c,b);c.sort(ni);return c}});Object.assign(oi.prototype,{set:function(a,b,c){this.radius=a;this.phi=b;this.theta=c;return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.radius=a.radius;this.phi=a.phi;this.theta=a.theta;return this},makeSafe:function(){this.phi=Math.max(1E-6,Math.min(Math.PI-1E-6,this.phi));return this},setFromVector3:function(a){return this.setFromCartesianCoords(a.x,a.y,a.z)},setFromCartesianCoords:function(a,b,c){this.radius=
Math.sqrt(a*a+b*b+c*c);0===this.radius?this.phi=this.theta=0:(this.theta=Math.atan2(a,c),this.phi=Math.acos(K.clamp(b/this.radius,-1,1)));return this}});Object.assign(pi.prototype,{set:function(a,b,c){this.radius=a;this.theta=b;this.y=c;return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.radius=a.radius;this.theta=a.theta;this.y=a.y;return this},setFromVector3:function(a){return this.setFromCartesianCoords(a.x,a.y,a.z)},setFromCartesianCoords:function(a,b,
c){this.radius=Math.sqrt(a*a+c*c);this.theta=Math.atan2(a,c);this.y=b;return this}});var Wi=new w;Object.assign(Qg.prototype,{set:function(a,b){this.min.copy(a);this.max.copy(b);return this},setFromPoints:function(a){this.makeEmpty();for(var b=0,c=a.length;b<c;b++)this.expandByPoint(a[b]);return this},setFromCenterAndSize:function(a,b){b=Wi.copy(b).multiplyScalar(.5);this.min.copy(a).sub(b);this.max.copy(a).add(b);return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.min.copy(a.min);
this.max.copy(a.max);return this},makeEmpty:function(){this.min.x=this.min.y=Infinity;this.max.x=this.max.y=-Infinity;return this},isEmpty:function(){return this.max.x<this.min.x||this.max.y<this.min.y},getCenter:function(a){void 0===a&&(console.warn("THREE.Box2: .getCenter() target is now required"),a=new w);return this.isEmpty()?a.set(0,0):a.addVectors(this.min,this.max).multiplyScalar(.5)},getSize:function(a){void 0===a&&(console.warn("THREE.Box2: .getSize() target is now required"),a=new w);return this.isEmpty()?
a.set(0,0):a.subVectors(this.max,this.min)},expandByPoint:function(a){this.min.min(a);this.max.max(a);return this},expandByVector:function(a){this.min.sub(a);this.max.add(a);return this},expandByScalar:function(a){this.min.addScalar(-a);this.max.addScalar(a);return this},containsPoint:function(a){return a.x<this.min.x||a.x>this.max.x||a.y<this.min.y||a.y>this.max.y?!1:!0},containsBox:function(a){return this.min.x<=a.min.x&&a.max.x<=this.max.x&&this.min.y<=a.min.y&&a.max.y<=this.max.y},getParameter:function(a,
b){void 0===b&&(console.warn("THREE.Box2: .getParameter() target is now required"),b=new w);return b.set((a.x-this.min.x)/(this.max.x-this.min.x),(a.y-this.min.y)/(this.max.y-this.min.y))},intersectsBox:function(a){return a.max.x<this.min.x||a.min.x>this.max.x||a.max.y<this.min.y||a.min.y>this.max.y?!1:!0},clampPoint:function(a,b){void 0===b&&(console.warn("THREE.Box2: .clampPoint() target is now required"),b=new w);return b.copy(a).clamp(this.min,this.max)},distanceToPoint:function(a){return Wi.copy(a).clamp(this.min,
this.max).sub(a).length()},intersect:function(a){this.min.max(a.min);this.max.min(a.max);return this},union:function(a){this.min.min(a.min);this.max.max(a.max);return this},translate:function(a){this.min.add(a);this.max.add(a);return this},equals:function(a){return a.min.equals(this.min)&&a.max.equals(this.max)}});var Xi=new m,Wf=new m;Object.assign(Rg.prototype,{set:function(a,b){this.start.copy(a);this.end.copy(b);return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.start.copy(a.start);
this.end.copy(a.end);return this},getCenter:function(a){void 0===a&&(console.warn("THREE.Line3: .getCenter() target is now required"),a=new m);return a.addVectors(this.start,this.end).multiplyScalar(.5)},delta:function(a){void 0===a&&(console.warn("THREE.Line3: .delta() target is now required"),a=new m);return a.subVectors(this.end,this.start)},distanceSq:function(){return this.start.distanceToSquared(this.end)},distance:function(){return this.start.distanceTo(this.end)},at:function(a,b){void 0===
b&&(console.warn("THREE.Line3: .at() target is now required"),b=new m);return this.delta(b).multiplyScalar(a).add(this.start)},closestPointToPointParameter:function(a,b){Xi.subVectors(a,this.start);Wf.subVectors(this.end,this.start);a=Wf.dot(Wf);a=Wf.dot(Xi)/a;b&&(a=K.clamp(a,0,1));return a},closestPointToPoint:function(a,b,c){a=this.closestPointToPointParameter(a,b);void 0===c&&(console.warn("THREE.Line3: .closestPointToPoint() target is now required"),c=new m);return this.delta(c).multiplyScalar(a).add(this.start)},
applyMatrix4:function(a){this.start.applyMatrix4(a);this.end.applyMatrix4(a);return this},equals:function(a){return a.start.equals(this.start)&&a.end.equals(this.end)}});pe.prototype=Object.create(z.prototype);pe.prototype.constructor=pe;pe.prototype.isImmediateRenderObject=!0;var Yi=new m;gd.prototype=Object.create(z.prototype);gd.prototype.constructor=gd;gd.prototype.dispose=function(){this.cone.geometry.dispose();this.cone.material.dispose()};gd.prototype.update=function(){this.light.updateMatrixWorld();
var a=this.light.distance?this.light.distance:1E3,b=a*Math.tan(this.light.angle);this.cone.scale.set(b,b,a);Yi.setFromMatrixPosition(this.light.target.matrixWorld);this.cone.lookAt(Yi);void 0!==this.color?this.cone.material.color.set(this.color):this.cone.material.color.copy(this.light.color)};var Tb=new m,Xf=new M,rh=new M;pc.prototype=Object.create(ha.prototype);pc.prototype.constructor=pc;pc.prototype.isSkeletonHelper=!0;pc.prototype.updateMatrixWorld=function(a){var b=this.bones,c=this.geometry,
d=c.getAttribute("position");rh.getInverse(this.root.matrixWorld);for(var e=0,f=0;e<b.length;e++){var g=b[e];g.parent&&g.parent.isBone&&(Xf.multiplyMatrices(rh,g.matrixWorld),Tb.setFromMatrixPosition(Xf),d.setXYZ(f,Tb.x,Tb.y,Tb.z),Xf.multiplyMatrices(rh,g.parent.matrixWorld),Tb.setFromMatrixPosition(Xf),d.setXYZ(f+1,Tb.x,Tb.y,Tb.z),f+=2)}c.getAttribute("position").needsUpdate=!0;z.prototype.updateMatrixWorld.call(this,a)};hd.prototype=Object.create(X.prototype);hd.prototype.constructor=hd;hd.prototype.dispose=
function(){this.geometry.dispose();this.material.dispose()};hd.prototype.update=function(){void 0!==this.color?this.material.color.set(this.color):this.material.color.copy(this.light.color)};var gl=new m,Zi=new D,$i=new D;id.prototype=Object.create(z.prototype);id.prototype.constructor=id;id.prototype.dispose=function(){this.children[0].geometry.dispose();this.children[0].material.dispose()};id.prototype.update=function(){var a=this.children[0];if(void 0!==this.color)this.material.color.set(this.color);
else{var b=a.geometry.getAttribute("color");Zi.copy(this.light.color);$i.copy(this.light.groundColor);for(var c=0,d=b.count;c<d;c++){var e=c<d/2?Zi:$i;b.setXYZ(c,e.r,e.g,e.b)}b.needsUpdate=!0}a.lookAt(gl.setFromMatrixPosition(this.light.matrixWorld).negate())};xf.prototype=Object.assign(Object.create(ha.prototype),{constructor:xf,copy:function(a){ha.prototype.copy.call(this,a);this.geometry.copy(a.geometry);this.material.copy(a.material);return this},clone:function(){return(new this.constructor).copy(this)}});
yf.prototype=Object.create(ha.prototype);yf.prototype.constructor=yf;var aj=new m,Yf=new m,bj=new m;jd.prototype=Object.create(z.prototype);jd.prototype.constructor=jd;jd.prototype.dispose=function(){this.lightPlane.geometry.dispose();this.lightPlane.material.dispose();this.targetLine.geometry.dispose();this.targetLine.material.dispose()};jd.prototype.update=function(){aj.setFromMatrixPosition(this.light.matrixWorld);Yf.setFromMatrixPosition(this.light.target.matrixWorld);bj.subVectors(Yf,aj);this.lightPlane.lookAt(Yf);
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(Yf);this.targetLine.scale.z=bj.length()};var zf=new m,oa=new fb;qe.prototype=Object.create(ha.prototype);qe.prototype.constructor=qe;qe.prototype.update=function(){var a=this.geometry,b=this.pointMap;oa.projectionMatrixInverse.copy(this.camera.projectionMatrixInverse);
ca("c",b,a,oa,0,0,-1);ca("t",b,a,oa,0,0,1);ca("n1",b,a,oa,-1,-1,-1);ca("n2",b,a,oa,1,-1,-1);ca("n3",b,a,oa,-1,1,-1);ca("n4",b,a,oa,1,1,-1);ca("f1",b,a,oa,-1,-1,1);ca("f2",b,a,oa,1,-1,1);ca("f3",b,a,oa,-1,1,1);ca("f4",b,a,oa,1,1,1);ca("u1",b,a,oa,.7,1.1,-1);ca("u2",b,a,oa,-.7,1.1,-1);ca("u3",b,a,oa,0,2,-1);ca("cf1",b,a,oa,-1,0,1);ca("cf2",b,a,oa,1,0,1);ca("cf3",b,a,oa,0,-1,1);ca("cf4",b,a,oa,0,1,1);ca("cn1",b,a,oa,-1,0,-1);ca("cn2",b,a,oa,1,0,-1);ca("cn3",b,a,oa,0,-1,-1);ca("cn4",b,a,oa,0,1,-1);a.getAttribute("position").needsUpdate=
!0};var Zf=new Ta;vb.prototype=Object.create(ha.prototype);vb.prototype.constructor=vb;vb.prototype.update=function(a){void 0!==a&&console.warn("THREE.BoxHelper: .update() has no longer arguments.");void 0!==this.object&&Zf.setFromObject(this.object);if(!Zf.isEmpty()){a=Zf.min;var b=Zf.max,c=this.geometry.attributes.position,d=c.array;d[0]=b.x;d[1]=b.y;d[2]=b.z;d[3]=a.x;d[4]=b.y;d[5]=b.z;d[6]=a.x;d[7]=a.y;d[8]=b.z;d[9]=b.x;d[10]=a.y;d[11]=b.z;d[12]=b.x;d[13]=b.y;d[14]=a.z;d[15]=a.x;d[16]=b.y;d[17]=
a.z;d[18]=a.x;d[19]=a.y;d[20]=a.z;d[21]=b.x;d[22]=a.y;d[23]=a.z;c.needsUpdate=!0;this.geometry.computeBoundingSphere()}};vb.prototype.setFromObject=function(a){this.object=a;this.update();return this};vb.prototype.copy=function(a){ha.prototype.copy.call(this,a);this.object=a.object;return this};vb.prototype.clone=function(){return(new this.constructor).copy(this)};re.prototype=Object.create(ha.prototype);re.prototype.constructor=re;re.prototype.updateMatrixWorld=function(a){var b=this.box;b.isEmpty()||
(b.getCenter(this.position),b.getSize(this.scale),this.scale.multiplyScalar(.5),z.prototype.updateMatrixWorld.call(this,a))};se.prototype=Object.create(Ka.prototype);se.prototype.constructor=se;se.prototype.updateMatrixWorld=function(a){var b=-this.plane.constant;1E-8>Math.abs(b)&&(b=1E-8);this.scale.set(.5*this.size,.5*this.size,b);this.children[0].material.side=0>b?1:0;this.lookAt(this.plane.normal);z.prototype.updateMatrixWorld.call(this,a)};var cj=new m,Af,Sg;wb.prototype=Object.create(z.prototype);
wb.prototype.constructor=wb;wb.prototype.setDirection=function(a){.99999<a.y?this.quaternion.set(0,0,0,1):-.99999>a.y?this.quaternion.set(1,0,0,0):(cj.set(a.z,0,-a.x).normalize(),this.quaternion.setFromAxisAngle(cj,Math.acos(a.y)))};wb.prototype.setLength=function(a,b,c){void 0===b&&(b=.2*a);void 0===c&&(c=.2*b);this.line.scale.set(1,Math.max(1E-4,a-b),1);this.line.updateMatrix();this.cone.scale.set(c,b,c);this.cone.position.y=a;this.cone.updateMatrix()};wb.prototype.setColor=function(a){this.line.material.color.set(a);
this.cone.material.color.set(a)};wb.prototype.copy=function(a){z.prototype.copy.call(this,a,!1);this.line.copy(a.line);this.cone.copy(a.cone);return this};wb.prototype.clone=function(){return(new this.constructor).copy(this)};te.prototype=Object.create(ha.prototype);te.prototype.constructor=te;var nb=Math.pow(2,8),dj=[.125,.215,.35,.446,.526,.582],ej=5+dj.length,mb={3E3:0,3001:1,3002:2,3004:3,3005:4,3006:5,3007:6},sh=new ed,th=function(){for(var a=[],b=[],c=[],d=8,e=0;e<ej;e++){var f=Math.pow(2,d);
b.push(f);var g=1/f;4<e?g=dj[e-8+4-1]:0==e&&(g=0);c.push(g);g=1/(f-1);f=-g/2;g=1+g/2;var h=[f,f,g,f,g,g,f,f,g,g,f,g];f=new Float32Array(108);g=new Float32Array(72);for(var k=new Float32Array(36),n=0;6>n;n++){var m=n%3*2/3-1,p=2<n?0:-1;f.set([m,p,0,m+2/3,p,0,m+2/3,p+1,0,m,p,0,m+2/3,p+1,0,m,p+1,0],18*n);g.set(h,12*n);k.set([n,n,n,n,n,n],6*n)}h=new F;h.setAttribute("position",new H(f,3));h.setAttribute("uv",new H(g,2));h.setAttribute("faceIndex",new H(k,1));a.push(h);4<d&&d--}return{_lodPlanes:a,_sizeLods:b,
_sigmas:c}}(),Ee=th._lodPlanes,fj=th._sizeLods,$f=th._sigmas,uh=null,yc=(1+Math.sqrt(5))/2,wd=1/yc,gj=[new m(1,1,1),new m(-1,1,1),new m(1,1,-1),new m(-1,1,-1),new m(0,yc,wd),new m(0,yc,-wd),new m(wd,0,yc),new m(-wd,0,yc),new m(yc,wd,0),new m(-yc,wd,0)];Tg.prototype={constructor:Tg,fromScene:function(a,b,c,d){void 0===b&&(b=0);void 0===c&&(c=.1);void 0===d&&(d=100);uh=this._renderer.getRenderTarget();var e=this._allocateTargets();this._sceneToCubeUV(a,c,d,e);0<b&&this._blur(e,0,0,b);this._applyPMREM(e);
this._cleanup(e);return e},fromEquirectangular:function(a){return this._fromTexture(a)},fromCubemap:function(a){return this._fromTexture(a)},compileCubemapShader:function(){null===this._cubemapShader&&(this._cubemapShader=ti(),this._compileMaterial(this._cubemapShader))},compileEquirectangularShader:function(){null===this._equirectShader&&(this._equirectShader=si(),this._compileMaterial(this._equirectShader))},dispose:function(){this._blurMaterial.dispose();null!==this._cubemapShader&&this._cubemapShader.dispose();
null!==this._equirectShader&&this._equirectShader.dispose();for(var a=0;a<Ee.length;a++)Ee[a].dispose()},_cleanup:function(a){this._pingPongRenderTarget.dispose();this._renderer.setRenderTarget(uh);a.scissorTest=!1;a.setSize(a.width,a.height)},_fromTexture:function(a){uh=this._renderer.getRenderTarget();var b=this._allocateTargets(a);this._textureToCubeUV(a,b);this._applyPMREM(b);this._cleanup(b);return b},_allocateTargets:function(a){var b=void 0===a||1009!==a.type?!1:3E3===a.encoding||3001===a.encoding||
3007===a.encoding;b={magFilter:1003,minFilter:1003,generateMipmaps:!1,type:1009,format:1023,encoding:b?a.encoding:3002,depthBuffer:!1,stencilBuffer:!1};var c=ri(b);c.depthBuffer=a?!1:!0;this._pingPongRenderTarget=ri(b);return c},_compileMaterial:function(a){a=new X(Ee[0],a);this._renderer.compile(a,sh)},_sceneToCubeUV:function(a,b,c,d){b=new P(90,1,b,c);c=[1,-1,1,1,1,1];var e=[1,1,1,-1,-1,-1],f=this._renderer,g=f.outputEncoding,h=f.toneMapping,k=f.getClearColor(),n=f.getClearAlpha();f.toneMapping=
0;f.outputEncoding=3E3;var m=a.background;if(m&&m.isColor){m.convertSRGBToLinear();var p=Math.min(Math.max(Math.ceil(Math.log2(Math.max(m.r,m.g,m.b))),-128),127);m=m.multiplyScalar(Math.pow(2,-p));f.setClearColor(m,(p+128)/255);a.background=null}for(m=0;6>m;m++)p=m%3,0==p?(b.up.set(0,c[m],0),b.lookAt(e[m],0,0)):1==p?(b.up.set(0,0,c[m]),b.lookAt(0,e[m],0)):(b.up.set(0,c[m],0),b.lookAt(0,0,e[m])),Wg(d,p*nb,2<m?nb:0,nb,nb),f.setRenderTarget(d),f.render(a,b);f.toneMapping=h;f.outputEncoding=g;f.setClearColor(k,
n)},_textureToCubeUV:function(a,b){var c=this._renderer;a.isCubeTexture?null==this._cubemapShader&&(this._cubemapShader=ti()):null==this._equirectShader&&(this._equirectShader=si());var d=a.isCubeTexture?this._cubemapShader:this._equirectShader,e=new X(Ee[0],d);d=d.uniforms;d.envMap.value=a;a.isCubeTexture||d.texelSize.value.set(1/a.image.width,1/a.image.height);d.inputEncoding.value=mb[a.encoding];d.outputEncoding.value=mb[b.texture.encoding];Wg(b,0,0,3*nb,2*nb);c.setRenderTarget(b);c.render(e,sh)},
_applyPMREM:function(a){var b=this._renderer,c=b.autoClear;b.autoClear=!1;for(var d=1;d<ej;d++)this._blur(a,d-1,d,Math.sqrt($f[d]*$f[d]-$f[d-1]*$f[d-1]),gj[(d-1)%gj.length]);b.autoClear=c},_blur:function(a,b,c,d,e){var f=this._pingPongRenderTarget;this._halfBlur(a,f,b,c,d,"latitudinal",e);this._halfBlur(f,a,c,c,d,"longitudinal",e)},_halfBlur:function(a,b,c,d,e,f,g){var h=this._renderer,k=this._blurMaterial;"latitudinal"!==f&&"longitudinal"!==f&&console.error("blur direction must be either latitudinal or longitudinal!");
var m=new X(Ee[d],k);k=k.uniforms;var q=fj[c]-1;q=isFinite(e)?Math.PI/(2*q):2*Math.PI/39;var p=e/q,v=isFinite(e)?1+Math.floor(3*p):20;20<v&&console.warn("sigmaRadians, "+e+", is too large and will clip, as it requested "+v+" samples when the maximum is set to 20");e=[];for(var t=0,r=0;20>r;++r){var u=r/p;u=Math.exp(-u*u/2);e.push(u);0==r?t+=u:r<v&&(t+=2*u)}for(p=0;p<e.length;p++)e[p]/=t;k.envMap.value=a.texture;k.samples.value=v;k.weights.value=e;k.latitudinal.value="latitudinal"===f;g&&(k.poleAxis.value=
g);k.dTheta.value=q;k.mipInt.value=8-c;k.inputEncoding.value=mb[a.texture.encoding];k.outputEncoding.value=mb[a.texture.encoding];a=fj[d];Wg(b,3*Math.max(0,nb-2*a),(0===d?0:2*nb)+2*a*(4<d?d-8+4:0),3*a,2*a);h.setRenderTarget(b);h.render(m,sh)}};J.create=function(a,b){console.log("THREE.Curve.create() has been deprecated");a.prototype=Object.create(J.prototype);a.prototype.constructor=a;a.prototype.getPoint=b;return a};Object.assign(ub.prototype,{createPointsGeometry:function(a){console.warn("THREE.CurvePath: .createPointsGeometry() has been removed. Use new THREE.Geometry().setFromPoints( points ) instead.");
a=this.getPoints(a);return this.createGeometry(a)},createSpacedPointsGeometry:function(a){console.warn("THREE.CurvePath: .createSpacedPointsGeometry() has been removed. Use new THREE.Geometry().setFromPoints( points ) instead.");a=this.getSpacedPoints(a);return this.createGeometry(a)},createGeometry:function(a){console.warn("THREE.CurvePath: .createGeometry() has been removed. Use new THREE.Geometry().setFromPoints( points ) instead.");for(var b=new L,c=0,d=a.length;c<d;c++){var e=a[c];b.vertices.push(new m(e.x,
e.y,e.z||0))}return b}});Object.assign(bb.prototype,{fromPoints:function(a){console.warn("THREE.Path: .fromPoints() has been renamed to .setFromPoints().");return this.setFromPoints(a)}});ui.prototype=Object.create(pa.prototype);vi.prototype=Object.create(pa.prototype);Xg.prototype=Object.create(pa.prototype);Object.assign(Xg.prototype,{initFromArray:function(){console.error("THREE.Spline: .initFromArray() has been removed.")},getControlPointsArray:function(){console.error("THREE.Spline: .getControlPointsArray() has been removed.")},
reparametrizeByArcLength:function(){console.error("THREE.Spline: .reparametrizeByArcLength() has been removed.")}});xf.prototype.setColors=function(){console.error("THREE.GridHelper: setColors() has been deprecated, pass them in the constructor instead.")};pc.prototype.update=function(){console.error("THREE.SkeletonHelper: update() no longer needs to be called.")};Object.assign(S.prototype,{extractUrlBase:function(a){console.warn("THREE.Loader: .extractUrlBase() has been deprecated. Use THREE.LoaderUtils.extractUrlBase() instead.");
return qh.extractUrlBase(a)}});S.Handlers={add:function(){console.error("THREE.Loader: Handlers.add() has been removed. Use LoadingManager.addHandler() instead.")},get:function(){console.error("THREE.Loader: Handlers.get() has been removed. Use LoadingManager.getHandler() instead.")}};Object.assign(uf.prototype,{setTexturePath:function(a){console.warn("THREE.ObjectLoader: .setTexturePath() has been renamed to .setResourcePath().");return this.setResourcePath(a)}});Object.assign(Qg.prototype,{center:function(a){console.warn("THREE.Box2: .center() has been renamed to .getCenter().");
return this.getCenter(a)},empty:function(){console.warn("THREE.Box2: .empty() has been renamed to .isEmpty().");return this.isEmpty()},isIntersectionBox:function(a){console.warn("THREE.Box2: .isIntersectionBox() has been renamed to .intersectsBox().");return this.intersectsBox(a)},size:function(a){console.warn("THREE.Box2: .size() has been renamed to .getSize().");return this.getSize(a)}});Object.assign(Ta.prototype,{center:function(a){console.warn("THREE.Box3: .center() has been renamed to .getCenter().");
return this.getCenter(a)},empty:function(){console.warn("THREE.Box3: .empty() has been renamed to .isEmpty().");return this.isEmpty()},isIntersectionBox:function(a){console.warn("THREE.Box3: .isIntersectionBox() has been renamed to .intersectsBox().");return this.intersectsBox(a)},isIntersectionSphere:function(a){console.warn("THREE.Box3: .isIntersectionSphere() has been renamed to .intersectsSphere().");return this.intersectsSphere(a)},size:function(a){console.warn("THREE.Box3: .size() has been renamed to .getSize().");
return this.getSize(a)}});Object.assign(eb.prototype,{empty:function(){console.warn("THREE.Sphere: .empty() has been renamed to .isEmpty().");return this.isEmpty()}});Fc.prototype.setFromMatrix=function(a){console.warn("THREE.Frustum: .setFromMatrix() has been renamed to .setFromProjectionMatrix().");return this.setFromProjectionMatrix(a)};Rg.prototype.center=function(a){console.warn("THREE.Line3: .center() has been renamed to .getCenter().");return this.getCenter(a)};Object.assign(K,{random16:function(){console.warn("THREE.Math: .random16() has been deprecated. Use Math.random() instead.");
return Math.random()},nearestPowerOfTwo:function(a){console.warn("THREE.Math: .nearestPowerOfTwo() has been renamed to .floorPowerOfTwo().");return K.floorPowerOfTwo(a)},nextPowerOfTwo:function(a){console.warn("THREE.Math: .nextPowerOfTwo() has been renamed to .ceilPowerOfTwo().");return K.ceilPowerOfTwo(a)}});Object.assign(xa.prototype,{flattenToArrayOffset:function(a,b){console.warn("THREE.Matrix3: .flattenToArrayOffset() has been deprecated. Use .toArray() instead.");return this.toArray(a,b)},
multiplyVector3:function(a){console.warn("THREE.Matrix3: .multiplyVector3() has been removed. Use vector.applyMatrix3( matrix ) instead.");return a.applyMatrix3(this)},multiplyVector3Array:function(){console.error("THREE.Matrix3: .multiplyVector3Array() has been removed.")},applyToBufferAttribute:function(a){console.warn("THREE.Matrix3: .applyToBufferAttribute() has been removed. Use attribute.applyMatrix3( matrix ) instead.");return a.applyMatrix3(this)},applyToVector3Array:function(){console.error("THREE.Matrix3: .applyToVector3Array() has been removed.")}});
Object.assign(M.prototype,{extractPosition:function(a){console.warn("THREE.Matrix4: .extractPosition() has been renamed to .copyPosition().");return this.copyPosition(a)},flattenToArrayOffset:function(a,b){console.warn("THREE.Matrix4: .flattenToArrayOffset() has been deprecated. Use .toArray() instead.");return this.toArray(a,b)},getPosition:function(){console.warn("THREE.Matrix4: .getPosition() has been removed. Use Vector3.setFromMatrixPosition( matrix ) instead.");return(new m).setFromMatrixColumn(this,
3)},setRotationFromQuaternion:function(a){console.warn("THREE.Matrix4: .setRotationFromQuaternion() has been renamed to .makeRotationFromQuaternion().");return this.makeRotationFromQuaternion(a)},multiplyToArray:function(){console.warn("THREE.Matrix4: .multiplyToArray() has been removed.")},multiplyVector3:function(a){console.warn("THREE.Matrix4: .multiplyVector3() has been removed. Use vector.applyMatrix4( matrix ) instead.");return a.applyMatrix4(this)},multiplyVector4:function(a){console.warn("THREE.Matrix4: .multiplyVector4() has been removed. Use vector.applyMatrix4( matrix ) instead.");
return a.applyMatrix4(this)},multiplyVector3Array:function(){console.error("THREE.Matrix4: .multiplyVector3Array() has been removed.")},rotateAxis:function(a){console.warn("THREE.Matrix4: .rotateAxis() has been removed. Use Vector3.transformDirection( matrix ) instead.");a.transformDirection(this)},crossVector:function(a){console.warn("THREE.Matrix4: .crossVector() has been removed. Use vector.applyMatrix4( matrix ) instead.");return a.applyMatrix4(this)},translate:function(){console.error("THREE.Matrix4: .translate() has been removed.")},
rotateX:function(){console.error("THREE.Matrix4: .rotateX() has been removed.")},rotateY:function(){console.error("THREE.Matrix4: .rotateY() has been removed.")},rotateZ:function(){console.error("THREE.Matrix4: .rotateZ() has been removed.")},rotateByAxis:function(){console.error("THREE.Matrix4: .rotateByAxis() has been removed.")},applyToBufferAttribute:function(a){console.warn("THREE.Matrix4: .applyToBufferAttribute() has been removed. Use attribute.applyMatrix4( matrix ) instead.");return a.applyMatrix4(this)},
applyToVector3Array:function(){console.error("THREE.Matrix4: .applyToVector3Array() has been removed.")},makeFrustum:function(a,b,c,d,e,f){console.warn("THREE.Matrix4: .makeFrustum() has been removed. Use .makePerspective( left, right, top, bottom, near, far ) instead.");return this.makePerspective(a,b,d,c,e,f)}});Ua.prototype.isIntersectionLine=function(a){console.warn("THREE.Plane: .isIntersectionLine() has been renamed to .intersectsLine().");return this.intersectsLine(a)};na.prototype.multiplyVector3=
function(a){console.warn("THREE.Quaternion: .multiplyVector3() has been removed. Use is now vector.applyQuaternion( quaternion ) instead.");return a.applyQuaternion(this)};Object.assign(Wb.prototype,{isIntersectionBox:function(a){console.warn("THREE.Ray: .isIntersectionBox() has been renamed to .intersectsBox().");return this.intersectsBox(a)},isIntersectionPlane:function(a){console.warn("THREE.Ray: .isIntersectionPlane() has been renamed to .intersectsPlane().");return this.intersectsPlane(a)},isIntersectionSphere:function(a){console.warn("THREE.Ray: .isIntersectionSphere() has been renamed to .intersectsSphere().");
return this.intersectsSphere(a)}});Object.assign(wa.prototype,{area:function(){console.warn("THREE.Triangle: .area() has been renamed to .getArea().");return this.getArea()},barycoordFromPoint:function(a,b){console.warn("THREE.Triangle: .barycoordFromPoint() has been renamed to .getBarycoord().");return this.getBarycoord(a,b)},midpoint:function(a){console.warn("THREE.Triangle: .midpoint() has been renamed to .getMidpoint().");return this.getMidpoint(a)},normal:function(a){console.warn("THREE.Triangle: .normal() has been renamed to .getNormal().");
return this.getNormal(a)},plane:function(a){console.warn("THREE.Triangle: .plane() has been renamed to .getPlane().");return this.getPlane(a)}});Object.assign(wa,{barycoordFromPoint:function(a,b,c,d,e){console.warn("THREE.Triangle: .barycoordFromPoint() has been renamed to .getBarycoord().");return wa.getBarycoord(a,b,c,d,e)},normal:function(a,b,c,d){console.warn("THREE.Triangle: .normal() has been renamed to .getNormal().");return wa.getNormal(a,b,c,d)}});Object.assign(Nb.prototype,{extractAllPoints:function(a){console.warn("THREE.Shape: .extractAllPoints() has been removed. Use .extractPoints() instead.");
return this.extractPoints(a)},extrude:function(a){console.warn("THREE.Shape: .extrude() has been removed. Use ExtrudeGeometry() instead.");return new dc(this,a)},makeGeometry:function(a){console.warn("THREE.Shape: .makeGeometry() has been removed. Use ShapeGeometry() instead.");return new fc(this,a)}});Object.assign(w.prototype,{fromAttribute:function(a,b,c){console.warn("THREE.Vector2: .fromAttribute() has been renamed to .fromBufferAttribute().");return this.fromBufferAttribute(a,b,c)},distanceToManhattan:function(a){console.warn("THREE.Vector2: .distanceToManhattan() has been renamed to .manhattanDistanceTo().");
return this.manhattanDistanceTo(a)},lengthManhattan:function(){console.warn("THREE.Vector2: .lengthManhattan() has been renamed to .manhattanLength().");return this.manhattanLength()}});Object.assign(m.prototype,{setEulerFromRotationMatrix:function(){console.error("THREE.Vector3: .setEulerFromRotationMatrix() has been removed. Use Euler.setFromRotationMatrix() instead.")},setEulerFromQuaternion:function(){console.error("THREE.Vector3: .setEulerFromQuaternion() has been removed. Use Euler.setFromQuaternion() instead.")},
getPositionFromMatrix:function(a){console.warn("THREE.Vector3: .getPositionFromMatrix() has been renamed to .setFromMatrixPosition().");return this.setFromMatrixPosition(a)},getScaleFromMatrix:function(a){console.warn("THREE.Vector3: .getScaleFromMatrix() has been renamed to .setFromMatrixScale().");return this.setFromMatrixScale(a)},getColumnFromMatrix:function(a,b){console.warn("THREE.Vector3: .getColumnFromMatrix() has been renamed to .setFromMatrixColumn().");return this.setFromMatrixColumn(b,
a)},applyProjection:function(a){console.warn("THREE.Vector3: .applyProjection() has been removed. Use .applyMatrix4( m ) instead.");return this.applyMatrix4(a)},fromAttribute:function(a,b,c){console.warn("THREE.Vector3: .fromAttribute() has been renamed to .fromBufferAttribute().");return this.fromBufferAttribute(a,b,c)},distanceToManhattan:function(a){console.warn("THREE.Vector3: .distanceToManhattan() has been renamed to .manhattanDistanceTo().");return this.manhattanDistanceTo(a)},lengthManhattan:function(){console.warn("THREE.Vector3: .lengthManhattan() has been renamed to .manhattanLength().");
return this.manhattanLength()}});Object.assign(Y.prototype,{fromAttribute:function(a,b,c){console.warn("THREE.Vector4: .fromAttribute() has been renamed to .fromBufferAttribute().");return this.fromBufferAttribute(a,b,c)},lengthManhattan:function(){console.warn("THREE.Vector4: .lengthManhattan() has been renamed to .manhattanLength().");return this.manhattanLength()}});Object.assign(L.prototype,{computeTangents:function(){console.error("THREE.Geometry: .computeTangents() has been removed.")},computeLineDistances:function(){console.error("THREE.Geometry: .computeLineDistances() has been removed. Use THREE.Line.computeLineDistances() instead.")},
applyMatrix:function(a){console.warn("THREE.Geometry: .applyMatrix() has been renamed to .applyMatrix4().");return this.applyMatrix4(a)}});Object.assign(z.prototype,{getChildByName:function(a){console.warn("THREE.Object3D: .getChildByName() has been renamed to .getObjectByName().");return this.getObjectByName(a)},renderDepth:function(){console.warn("THREE.Object3D: .renderDepth has been removed. Use .renderOrder, instead.")},translate:function(a,b){console.warn("THREE.Object3D: .translate() has been removed. Use .translateOnAxis( axis, distance ) instead.");
return this.translateOnAxis(b,a)},getWorldRotation:function(){console.error("THREE.Object3D: .getWorldRotation() has been removed. Use THREE.Object3D.getWorldQuaternion( target ) instead.")},applyMatrix:function(a){console.warn("THREE.Object3D: .applyMatrix() has been renamed to .applyMatrix4().");return this.applyMatrix4(a)}});Object.defineProperties(z.prototype,{eulerOrder:{get:function(){console.warn("THREE.Object3D: .eulerOrder is now .rotation.order.");return this.rotation.order},set:function(a){console.warn("THREE.Object3D: .eulerOrder is now .rotation.order.");
this.rotation.order=a}},useQuaternion:{get:function(){console.warn("THREE.Object3D: .useQuaternion has been removed. The library now uses quaternions by default.")},set:function(){console.warn("THREE.Object3D: .useQuaternion has been removed. The library now uses quaternions by default.")}}});Object.assign(X.prototype,{setDrawMode:function(){console.error("THREE.Mesh: .setDrawMode() has been removed. The renderer now always assumes THREE.TrianglesDrawMode. Transform your geometry via BufferGeometryUtils.toTrianglesDrawMode() if necessary.")}});
Object.defineProperties(X.prototype,{drawMode:{get:function(){console.error("THREE.Mesh: .drawMode has been removed. The renderer now always assumes THREE.TrianglesDrawMode.");return 0},set:function(){console.error("THREE.Mesh: .drawMode has been removed. The renderer now always assumes THREE.TrianglesDrawMode. Transform your geometry via BufferGeometryUtils.toTrianglesDrawMode() if necessary.")}}});Object.defineProperties(Pd.prototype,{objects:{get:function(){console.warn("THREE.LOD: .objects has been renamed to .levels.");
return this.levels}}});Object.defineProperty(Te.prototype,"useVertexTexture",{get:function(){console.warn("THREE.Skeleton: useVertexTexture has been removed.")},set:function(){console.warn("THREE.Skeleton: useVertexTexture has been removed.")}});Se.prototype.initBones=function(){console.error("THREE.SkinnedMesh: initBones() has been removed.")};Object.defineProperty(J.prototype,"__arcLengthDivisions",{get:function(){console.warn("THREE.Curve: .__arcLengthDivisions is now .arcLengthDivisions.");return this.arcLengthDivisions},
set:function(a){console.warn("THREE.Curve: .__arcLengthDivisions is now .arcLengthDivisions.");this.arcLengthDivisions=a}});P.prototype.setLens=function(a,b){console.warn("THREE.PerspectiveCamera.setLens is deprecated. Use .setFocalLength and .filmGauge for a photographic setup.");void 0!==b&&(this.filmGauge=b);this.setFocalLength(a)};Object.defineProperties(T.prototype,{onlyShadow:{set:function(){console.warn("THREE.Light: .onlyShadow has been removed.")}},shadowCameraFov:{set:function(a){console.warn("THREE.Light: .shadowCameraFov is now .shadow.camera.fov.");
this.shadow.camera.fov=a}},shadowCameraLeft:{set:function(a){console.warn("THREE.Light: .shadowCameraLeft is now .shadow.camera.left.");this.shadow.camera.left=a}},shadowCameraRight:{set:function(a){console.warn("THREE.Light: .shadowCameraRight is now .shadow.camera.right.");this.shadow.camera.right=a}},shadowCameraTop:{set:function(a){console.warn("THREE.Light: .shadowCameraTop is now .shadow.camera.top.");this.shadow.camera.top=a}},shadowCameraBottom:{set:function(a){console.warn("THREE.Light: .shadowCameraBottom is now .shadow.camera.bottom.");
this.shadow.camera.bottom=a}},shadowCameraNear:{set:function(a){console.warn("THREE.Light: .shadowCameraNear is now .shadow.camera.near.");this.shadow.camera.near=a}},shadowCameraFar:{set:function(a){console.warn("THREE.Light: .shadowCameraFar is now .shadow.camera.far.");this.shadow.camera.far=a}},shadowCameraVisible:{set:function(){console.warn("THREE.Light: .shadowCameraVisible has been removed. Use new THREE.CameraHelper( light.shadow.camera ) instead.")}},shadowBias:{set:function(a){console.warn("THREE.Light: .shadowBias is now .shadow.bias.");
this.shadow.bias=a}},shadowDarkness:{set:function(){console.warn("THREE.Light: .shadowDarkness has been removed.")}},shadowMapWidth:{set:function(a){console.warn("THREE.Light: .shadowMapWidth is now .shadow.mapSize.width.");this.shadow.mapSize.width=a}},shadowMapHeight:{set:function(a){console.warn("THREE.Light: .shadowMapHeight is now .shadow.mapSize.height.");this.shadow.mapSize.height=a}}});Object.defineProperties(H.prototype,{length:{get:function(){console.warn("THREE.BufferAttribute: .length has been deprecated. Use .count instead.");
return this.array.length}},dynamic:{get:function(){console.warn("THREE.BufferAttribute: .dynamic has been deprecated. Use .usage instead.");return 35048===this.usage},set:function(){console.warn("THREE.BufferAttribute: .dynamic has been deprecated. Use .usage instead.");this.setUsage(35048)}}});Object.assign(H.prototype,{setDynamic:function(a){console.warn("THREE.BufferAttribute: .setDynamic() has been deprecated. Use .setUsage() instead.");this.setUsage(!0===a?35048:35044);return this},copyIndicesArray:function(){console.error("THREE.BufferAttribute: .copyIndicesArray() has been removed.")},
setArray:function(){console.error("THREE.BufferAttribute: .setArray has been removed. Use BufferGeometry .setAttribute to replace/resize attribute buffers")}});Object.assign(F.prototype,{addIndex:function(a){console.warn("THREE.BufferGeometry: .addIndex() has been renamed to .setIndex().");this.setIndex(a)},addAttribute:function(a,b,c){console.warn("THREE.BufferGeometry: .addAttribute() has been renamed to .setAttribute().");return b&&b.isBufferAttribute||b&&b.isInterleavedBufferAttribute?"index"===
a?(console.warn("THREE.BufferGeometry.addAttribute: Use .setIndex() for index attribute."),this.setIndex(b),this):this.setAttribute(a,b):(console.warn("THREE.BufferGeometry: .addAttribute() now expects ( name, attribute )."),this.setAttribute(a,new H(b,c)))},addDrawCall:function(a,b,c){void 0!==c&&console.warn("THREE.BufferGeometry: .addDrawCall() no longer supports indexOffset.");console.warn("THREE.BufferGeometry: .addDrawCall() is now .addGroup().");this.addGroup(a,b)},clearDrawCalls:function(){console.warn("THREE.BufferGeometry: .clearDrawCalls() is now .clearGroups().");
this.clearGroups()},computeTangents:function(){console.warn("THREE.BufferGeometry: .computeTangents() has been removed.")},computeOffsets:function(){console.warn("THREE.BufferGeometry: .computeOffsets() has been removed.")},removeAttribute:function(a){console.warn("THREE.BufferGeometry: .removeAttribute() has been renamed to .deleteAttribute().");return this.deleteAttribute(a)},applyMatrix:function(a){console.warn("THREE.BufferGeometry: .applyMatrix() has been renamed to .applyMatrix4().");return this.applyMatrix4(a)}});
Object.defineProperties(F.prototype,{drawcalls:{get:function(){console.error("THREE.BufferGeometry: .drawcalls has been renamed to .groups.");return this.groups}},offsets:{get:function(){console.warn("THREE.BufferGeometry: .offsets has been renamed to .groups.");return this.groups}}});Object.defineProperties(oe.prototype,{maxInstancedCount:{get:function(){console.warn("THREE.InstancedBufferGeometry: .maxInstancedCount has been renamed to .instanceCount.");return this.instanceCount},set:function(a){console.warn("THREE.InstancedBufferGeometry: .maxInstancedCount has been renamed to .instanceCount.");
this.instanceCount=a}}});Object.defineProperties(Og.prototype,{linePrecision:{get:function(){console.warn("THREE.Raycaster: .linePrecision has been deprecated. Use .params.Line.threshold instead.");return this.params.Line.threshold},set:function(a){console.warn("THREE.Raycaster: .linePrecision has been deprecated. Use .params.Line.threshold instead.");this.params.Line.threshold=a}}});Object.defineProperties(Ja.prototype,{dynamic:{get:function(){console.warn("THREE.InterleavedBuffer: .length has been deprecated. Use .usage instead.");
return 35048===this.usage},set:function(a){console.warn("THREE.InterleavedBuffer: .length has been deprecated. Use .usage instead.");this.setUsage(a)}}});Object.assign(Ja.prototype,{setDynamic:function(a){console.warn("THREE.InterleavedBuffer: .setDynamic() has been deprecated. Use .setUsage() instead.");this.setUsage(!0===a?35048:35044);return this},setArray:function(){console.error("THREE.InterleavedBuffer: .setArray has been removed. Use BufferGeometry .setAttribute to replace/resize attribute buffers")}});
Object.assign(hb.prototype,{getArrays:function(){console.error("THREE.ExtrudeBufferGeometry: .getArrays() has been removed.")},addShapeList:function(){console.error("THREE.ExtrudeBufferGeometry: .addShapeList() has been removed.")},addShape:function(){console.error("THREE.ExtrudeBufferGeometry: .addShape() has been removed.")}});Object.defineProperties(wf.prototype,{dynamic:{set:function(){console.warn("THREE.Uniform: .dynamic has been removed. Use object.onBeforeRender() instead.")}},onUpdate:{value:function(){console.warn("THREE.Uniform: .onUpdate() has been removed. Use object.onBeforeRender() instead.");
return this}}});Object.defineProperties(G.prototype,{wrapAround:{get:function(){console.warn("THREE.Material: .wrapAround has been removed.")},set:function(){console.warn("THREE.Material: .wrapAround has been removed.")}},overdraw:{get:function(){console.warn("THREE.Material: .overdraw has been removed.")},set:function(){console.warn("THREE.Material: .overdraw has been removed.")}},wrapRGB:{get:function(){console.warn("THREE.Material: .wrapRGB has been removed.");return new D}},shading:{get:function(){console.error("THREE."+
this.type+": .shading has been removed. Use the boolean .flatShading instead.")},set:function(a){console.warn("THREE."+this.type+": .shading has been removed. Use the boolean .flatShading instead.");this.flatShading=1===a}},stencilMask:{get:function(){console.warn("THREE."+this.type+": .stencilMask has been removed. Use .stencilFuncMask instead.");return this.stencilFuncMask},set:function(a){console.warn("THREE."+this.type+": .stencilMask has been removed. Use .stencilFuncMask instead.");this.stencilFuncMask=
a}}});Object.defineProperties(Mb.prototype,{metal:{get:function(){console.warn("THREE.MeshPhongMaterial: .metal has been removed. Use THREE.MeshStandardMaterial instead.");return!1},set:function(){console.warn("THREE.MeshPhongMaterial: .metal has been removed. Use THREE.MeshStandardMaterial instead")}}});Object.defineProperties(Ba.prototype,{derivatives:{get:function(){console.warn("THREE.ShaderMaterial: .derivatives has been moved to .extensions.derivatives.");return this.extensions.derivatives},
set:function(a){console.warn("THREE. ShaderMaterial: .derivatives has been moved to .extensions.derivatives.");this.extensions.derivatives=a}}});Object.assign(Md.prototype,{clearTarget:function(a,b,c,d){console.warn("THREE.WebGLRenderer: .clearTarget() has been deprecated. Use .setRenderTarget() and .clear() instead.");this.setRenderTarget(a);this.clear(b,c,d)},animate:function(a){console.warn("THREE.WebGLRenderer: .animate() is now .setAnimationLoop().");this.setAnimationLoop(a)},getCurrentRenderTarget:function(){console.warn("THREE.WebGLRenderer: .getCurrentRenderTarget() is now .getRenderTarget().");
return this.getRenderTarget()},getMaxAnisotropy:function(){console.warn("THREE.WebGLRenderer: .getMaxAnisotropy() is now .capabilities.getMaxAnisotropy().");return this.capabilities.getMaxAnisotropy()},getPrecision:function(){console.warn("THREE.WebGLRenderer: .getPrecision() is now .capabilities.precision.");return this.capabilities.precision},resetGLState:function(){console.warn("THREE.WebGLRenderer: .resetGLState() is now .state.reset().");return this.state.reset()},supportsFloatTextures:function(){console.warn("THREE.WebGLRenderer: .supportsFloatTextures() is now .extensions.get( 'OES_texture_float' ).");
return this.extensions.get("OES_texture_float")},supportsHalfFloatTextures:function(){console.warn("THREE.WebGLRenderer: .supportsHalfFloatTextures() is now .extensions.get( 'OES_texture_half_float' ).");return this.extensions.get("OES_texture_half_float")},supportsStandardDerivatives:function(){console.warn("THREE.WebGLRenderer: .supportsStandardDerivatives() is now .extensions.get( 'OES_standard_derivatives' ).");return this.extensions.get("OES_standard_derivatives")},supportsCompressedTextureS3TC:function(){console.warn("THREE.WebGLRenderer: .supportsCompressedTextureS3TC() is now .extensions.get( 'WEBGL_compressed_texture_s3tc' ).");
return this.extensions.get("WEBGL_compressed_texture_s3tc")},supportsCompressedTexturePVRTC:function(){console.warn("THREE.WebGLRenderer: .supportsCompressedTexturePVRTC() is now .extensions.get( 'WEBGL_compressed_texture_pvrtc' ).");return this.extensions.get("WEBGL_compressed_texture_pvrtc")},supportsBlendMinMax:function(){console.warn("THREE.WebGLRenderer: .supportsBlendMinMax() is now .extensions.get( 'EXT_blend_minmax' ).");return this.extensions.get("EXT_blend_minmax")},supportsVertexTextures:function(){console.warn("THREE.WebGLRenderer: .supportsVertexTextures() is now .capabilities.vertexTextures.");
return this.capabilities.vertexTextures},supportsInstancedArrays:function(){console.warn("THREE.WebGLRenderer: .supportsInstancedArrays() is now .extensions.get( 'ANGLE_instanced_arrays' ).");return this.extensions.get("ANGLE_instanced_arrays")},enableScissorTest:function(a){console.warn("THREE.WebGLRenderer: .enableScissorTest() is now .setScissorTest().");this.setScissorTest(a)},initMaterial:function(){console.warn("THREE.WebGLRenderer: .initMaterial() has been removed.")},addPrePlugin:function(){console.warn("THREE.WebGLRenderer: .addPrePlugin() has been removed.")},
addPostPlugin:function(){console.warn("THREE.WebGLRenderer: .addPostPlugin() has been removed.")},updateShadowMap:function(){console.warn("THREE.WebGLRenderer: .updateShadowMap() has been removed.")},setFaceCulling:function(){console.warn("THREE.WebGLRenderer: .setFaceCulling() has been removed.")},allocTextureUnit:function(){console.warn("THREE.WebGLRenderer: .allocTextureUnit() has been removed.")},setTexture:function(){console.warn("THREE.WebGLRenderer: .setTexture() has been removed.")},setTexture2D:function(){console.warn("THREE.WebGLRenderer: .setTexture2D() has been removed.")},
setTextureCube:function(){console.warn("THREE.WebGLRenderer: .setTextureCube() has been removed.")},getActiveMipMapLevel:function(){console.warn("THREE.WebGLRenderer: .getActiveMipMapLevel() is now .getActiveMipmapLevel().");return this.getActiveMipmapLevel()}});Object.defineProperties(Md.prototype,{shadowMapEnabled:{get:function(){return this.shadowMap.enabled},set:function(a){console.warn("THREE.WebGLRenderer: .shadowMapEnabled is now .shadowMap.enabled.");this.shadowMap.enabled=a}},shadowMapType:{get:function(){return this.shadowMap.type},
set:function(a){console.warn("THREE.WebGLRenderer: .shadowMapType is now .shadowMap.type.");this.shadowMap.type=a}},shadowMapCullFace:{get:function(){console.warn("THREE.WebGLRenderer: .shadowMapCullFace has been removed. Set Material.shadowSide instead.")},set:function(){console.warn("THREE.WebGLRenderer: .shadowMapCullFace has been removed. Set Material.shadowSide instead.")}},context:{get:function(){console.warn("THREE.WebGLRenderer: .context has been removed. Use .getContext() instead.");return this.getContext()}},
vr:{get:function(){console.warn("THREE.WebGLRenderer: .vr has been renamed to .xr");return this.xr}},gammaInput:{get:function(){console.warn("THREE.WebGLRenderer: .gammaInput has been removed. Set the encoding for textures via Texture.encoding instead.");return!1},set:function(){console.warn("THREE.WebGLRenderer: .gammaInput has been removed. Set the encoding for textures via Texture.encoding instead.")}},gammaOutput:{get:function(){console.warn("THREE.WebGLRenderer: .gammaOutput has been removed. Set WebGLRenderer.outputEncoding instead.");
return!1},set:function(a){console.warn("THREE.WebGLRenderer: .gammaOutput has been removed. Set WebGLRenderer.outputEncoding instead.");this.outputEncoding=!0===a?3001:3E3}},toneMappingWhitePoint:{get:function(){console.warn("THREE.WebGLRenderer: .toneMappingWhitePoint has been removed.");return 1},set:function(){console.warn("THREE.WebGLRenderer: .toneMappingWhitePoint has been removed.")}}});Object.defineProperties(Vh.prototype,{cullFace:{get:function(){console.warn("THREE.WebGLRenderer: .shadowMap.cullFace has been removed. Set Material.shadowSide instead.")},
set:function(){console.warn("THREE.WebGLRenderer: .shadowMap.cullFace has been removed. Set Material.shadowSide instead.")}},renderReverseSided:{get:function(){console.warn("THREE.WebGLRenderer: .shadowMap.renderReverseSided has been removed. Set Material.shadowSide instead.")},set:function(){console.warn("THREE.WebGLRenderer: .shadowMap.renderReverseSided has been removed. Set Material.shadowSide instead.")}},renderSingleSided:{get:function(){console.warn("THREE.WebGLRenderer: .shadowMap.renderSingleSided has been removed. Set Material.shadowSide instead.")},
set:function(){console.warn("THREE.WebGLRenderer: .shadowMap.renderSingleSided has been removed. Set Material.shadowSide instead.")}}});Object.defineProperties(Ha.prototype,{wrapS:{get:function(){console.warn("THREE.WebGLRenderTarget: .wrapS is now .texture.wrapS.");return this.texture.wrapS},set:function(a){console.warn("THREE.WebGLRenderTarget: .wrapS is now .texture.wrapS.");this.texture.wrapS=a}},wrapT:{get:function(){console.warn("THREE.WebGLRenderTarget: .wrapT is now .texture.wrapT.");return this.texture.wrapT},
set:function(a){console.warn("THREE.WebGLRenderTarget: .wrapT is now .texture.wrapT.");this.texture.wrapT=a}},magFilter:{get:function(){console.warn("THREE.WebGLRenderTarget: .magFilter is now .texture.magFilter.");return this.texture.magFilter},set:function(a){console.warn("THREE.WebGLRenderTarget: .magFilter is now .texture.magFilter.");this.texture.magFilter=a}},minFilter:{get:function(){console.warn("THREE.WebGLRenderTarget: .minFilter is now .texture.minFilter.");return this.texture.minFilter},
set:function(a){console.warn("THREE.WebGLRenderTarget: .minFilter is now .texture.minFilter.");this.texture.minFilter=a}},anisotropy:{get:function(){console.warn("THREE.WebGLRenderTarget: .anisotropy is now .texture.anisotropy.");return this.texture.anisotropy},set:function(a){console.warn("THREE.WebGLRenderTarget: .anisotropy is now .texture.anisotropy.");this.texture.anisotropy=a}},offset:{get:function(){console.warn("THREE.WebGLRenderTarget: .offset is now .texture.offset.");return this.texture.offset},
set:function(a){console.warn("THREE.WebGLRenderTarget: .offset is now .texture.offset.");this.texture.offset=a}},repeat:{get:function(){console.warn("THREE.WebGLRenderTarget: .repeat is now .texture.repeat.");return this.texture.repeat},set:function(a){console.warn("THREE.WebGLRenderTarget: .repeat is now .texture.repeat.");this.texture.repeat=a}},format:{get:function(){console.warn("THREE.WebGLRenderTarget: .format is now .texture.format.");return this.texture.format},set:function(a){console.warn("THREE.WebGLRenderTarget: .format is now .texture.format.");
this.texture.format=a}},type:{get:function(){console.warn("THREE.WebGLRenderTarget: .type is now .texture.type.");return this.texture.type},set:function(a){console.warn("THREE.WebGLRenderTarget: .type is now .texture.type.");this.texture.type=a}},generateMipmaps:{get:function(){console.warn("THREE.WebGLRenderTarget: .generateMipmaps is now .texture.generateMipmaps.");return this.texture.generateMipmaps},set:function(a){console.warn("THREE.WebGLRenderTarget: .generateMipmaps is now .texture.generateMipmaps.");
this.texture.generateMipmaps=a}}});Object.defineProperties(fd.prototype,{load:{value:function(a){console.warn("THREE.Audio: .load has been deprecated. Use THREE.AudioLoader instead.");var b=this;(new vf).load(a,function(a){b.setBuffer(a)});return this}},startTime:{set:function(){console.warn("THREE.Audio: .startTime is now .play( delay ).")}}});Kg.prototype.getData=function(){console.warn("THREE.AudioAnalyser: .getData() is now .getFrequencyData().");return this.getFrequencyData()};Ec.prototype.updateCubeMap=
function(a,b){console.warn("THREE.CubeCamera: .updateCubeMap() is now .update().");return this.update(a,b)};Ob.crossOrigin=void 0;Ob.loadTexture=function(a,b,c,d){console.warn("THREE.ImageUtils.loadTexture has been deprecated. Use THREE.TextureLoader() instead.");var e=new gf;e.setCrossOrigin(this.crossOrigin);a=e.load(a,c,void 0,d);b&&(a.mapping=b);return a};Ob.loadTextureCube=function(a,b,c,d){console.warn("THREE.ImageUtils.loadTextureCube has been deprecated. Use THREE.CubeTextureLoader() instead.");
var e=new ff;e.setCrossOrigin(this.crossOrigin);a=e.load(a,c,void 0,d);b&&(a.mapping=b);return a};Ob.loadCompressedTexture=function(){console.error("THREE.ImageUtils.loadCompressedTexture has been removed. Use THREE.DDSLoader instead.")};Ob.loadCompressedTextureCube=function(){console.error("THREE.ImageUtils.loadCompressedTextureCube has been removed. Use THREE.DDSLoader instead.")};"undefined"!==typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:"118dev"}}));
k.ACESFilmicToneMapping=4;k.AddEquation=100;k.AddOperation=2;k.AdditiveAnimationBlendMode=2501;k.AdditiveBlending=2;k.AlphaFormat=1021;k.AlwaysDepth=1;k.AlwaysStencilFunc=519;k.AmbientLight=of;k.AmbientLightProbe=Fg;k.AnimationClip=Qa;k.AnimationLoader=wg;k.AnimationMixer=Mg;k.AnimationObjectGroup=li;k.AnimationUtils=Z;k.ArcCurve=dd;k.ArrayCamera=Ne;k.ArrowHelper=wb;k.Audio=fd;k.AudioAnalyser=Kg;k.AudioContext=Ig;k.AudioListener=Hg;k.AudioLoader=vf;k.AxesHelper=te;k.AxisHelper=function(a){console.warn("THREE.AxisHelper has been renamed to THREE.AxesHelper.");
return new te(a)};k.BackSide=1;k.BasicDepthPacking=3200;k.BasicShadowMap=0;k.BinaryTextureLoader=function(a){console.warn("THREE.BinaryTextureLoader has been renamed to THREE.DataTextureLoader.");return new ef(a)};k.Bone=pg;k.BooleanKeyframeTrack=af;k.BoundingBoxHelper=function(a,b){console.warn("THREE.BoundingBoxHelper has been deprecated. Creating a THREE.BoxHelper instead.");return new vb(a,b)};k.Box2=Qg;k.Box3=Ta;k.Box3Helper=re;k.BoxBufferGeometry=Gd;k.BoxGeometry=kh;k.BoxHelper=vb;k.BufferAttribute=
H;k.BufferGeometry=F;k.BufferGeometryLoader=tf;k.ByteType=1010;k.Cache=tc;k.Camera=fb;k.CameraHelper=qe;k.CanvasRenderer=function(){console.error("THREE.CanvasRenderer has been removed")};k.CanvasTexture=Qd;k.CatmullRomCurve3=pa;k.CineonToneMapping=3;k.CircleBufferGeometry=$c;k.CircleGeometry=je;k.ClampToEdgeWrapping=1001;k.Clock=Gg;k.ClosedSplineCurve3=ui;k.Color=D;k.ColorKeyframeTrack=bf;k.CompressedTexture=Nc;k.CompressedTextureLoader=xg;k.ConeBufferGeometry=ie;k.ConeGeometry=he;k.CubeCamera=Ec;
k.CubeGeometry=kh;k.CubeReflectionMapping=301;k.CubeRefractionMapping=302;k.CubeTexture=qb;k.CubeTextureLoader=ff;k.CubeUVReflectionMapping=306;k.CubeUVRefractionMapping=307;k.CubicBezierCurve=Ya;k.CubicBezierCurve3=jb;k.CubicInterpolant=Ze;k.CullFaceBack=1;k.CullFaceFront=2;k.CullFaceFrontBack=3;k.CullFaceNone=0;k.Curve=J;k.CurvePath=ub;k.CustomBlending=5;k.CylinderBufferGeometry=sb;k.CylinderGeometry=hc;k.Cylindrical=pi;k.DataTexture=$b;k.DataTexture2DArray=Gc;k.DataTexture3D=Hc;k.DataTextureLoader=
ef;k.DecrementStencilOp=7683;k.DecrementWrapStencilOp=34056;k.DefaultLoadingManager=hi;k.DepthFormat=1026;k.DepthStencilFormat=1027;k.DepthTexture=Rd;k.DirectionalLight=nf;k.DirectionalLightHelper=jd;k.DirectionalLightShadow=mf;k.DiscreteInterpolant=$e;k.DodecahedronBufferGeometry=Sc;k.DodecahedronGeometry=Xd;k.DoubleSide=2;k.DstAlphaFactor=206;k.DstColorFactor=208;k.DynamicBufferAttribute=function(a,b){console.warn("THREE.DynamicBufferAttribute has been removed. Use new THREE.BufferAttribute().setUsage( THREE.DynamicDrawUsage ) instead.");
return(new H(a,b)).setUsage(35048)};k.DynamicCopyUsage=35050;k.DynamicDrawUsage=35048;k.DynamicReadUsage=35049;k.EdgesGeometry=Zc;k.EdgesHelper=function(a,b){console.warn("THREE.EdgesHelper has been removed. Use THREE.EdgesGeometry instead.");return new ha(new Zc(a.geometry),new la({color:void 0!==b?b:16777215}))};k.EllipseCurve=Ma;k.EqualDepth=4;k.EqualStencilFunc=514;k.EquirectangularReflectionMapping=303;k.EquirectangularRefractionMapping=304;k.Euler=Ub;k.EventDispatcher=ua;k.ExtrudeBufferGeometry=
hb;k.ExtrudeGeometry=dc;k.Face3=zc;k.Face4=function(a,b,c,d,e,f,g){console.warn("THREE.Face4 has been removed. A THREE.Face3 will be created instead.");return new zc(a,b,c,e,f,g)};k.FaceColors=1;k.FileLoader=Ra;k.FlatShading=1;k.Float32Attribute=function(a,b){console.warn("THREE.Float32Attribute has been removed. Use new THREE.Float32BufferAttribute() instead.");return new B(a,b)};k.Float32BufferAttribute=B;k.Float64Attribute=function(a,b){console.warn("THREE.Float64Attribute has been removed. Use new THREE.Float64BufferAttribute() instead.");
return new Dd(a,b)};k.Float64BufferAttribute=Dd;k.FloatType=1015;k.Fog=Qe;k.FogExp2=Pe;k.Font=Cg;k.FontLoader=Dg;k.FrontFaceDirectionCCW=1;k.FrontFaceDirectionCW=0;k.FrontSide=0;k.Frustum=Fc;k.GammaEncoding=3007;k.Geometry=L;k.GeometryUtils={merge:function(a,b,c){console.warn("THREE.GeometryUtils: .merge() has been moved to Geometry. Use geometry.merge( geometry2, matrix, materialIndexOffset ) instead.");if(b.isMesh){b.matrixAutoUpdate&&b.updateMatrix();var d=b.matrix;b=b.geometry}a.merge(b,d,c)},
center:function(a){console.warn("THREE.GeometryUtils: .center() has been moved to Geometry. Use geometry.center() instead.");return a.center()}};k.GreaterDepth=6;k.GreaterEqualDepth=5;k.GreaterEqualStencilFunc=518;k.GreaterStencilFunc=516;k.GridHelper=xf;k.Group=Jc;k.HalfFloatType=1016;k.HemisphereLight=hf;k.HemisphereLightHelper=id;k.HemisphereLightProbe=Eg;k.IcosahedronBufferGeometry=Rc;k.IcosahedronGeometry=Wd;k.ImageBitmapLoader=Ag;k.ImageLoader=cd;k.ImageUtils=Ob;k.ImmediateRenderObject=pe;k.IncrementStencilOp=
7682;k.IncrementWrapStencilOp=34055;k.InstancedBufferAttribute=sf;k.InstancedBufferGeometry=oe;k.InstancedInterleavedBuffer=Ng;k.InstancedMesh=Ue;k.Int16Attribute=function(a,b){console.warn("THREE.Int16Attribute has been removed. Use new THREE.Int16BufferAttribute() instead.");return new Bd(a,b)};k.Int16BufferAttribute=Bd;k.Int32Attribute=function(a,b){console.warn("THREE.Int32Attribute has been removed. Use new THREE.Int32BufferAttribute() instead.");return new Cd(a,b)};k.Int32BufferAttribute=Cd;
k.Int8Attribute=function(a,b){console.warn("THREE.Int8Attribute has been removed. Use new THREE.Int8BufferAttribute() instead.");return new yd(a,b)};k.Int8BufferAttribute=yd;k.IntType=1013;k.InterleavedBuffer=Ja;k.InterleavedBufferAttribute=Jb;k.Interpolant=La;k.InterpolateDiscrete=2300;k.InterpolateLinear=2301;k.InterpolateSmooth=2302;k.InvertStencilOp=5386;k.JSONLoader=function(){console.error("THREE.JSONLoader has been removed.")};k.KeepStencilOp=7680;k.KeyframeTrack=ta;k.LOD=Pd;k.LatheBufferGeometry=
Yc;k.LatheGeometry=ge;k.Layers=Fe;k.LensFlare=function(){console.error("THREE.LensFlare has been moved to /examples/jsm/objects/Lensflare.js")};k.LessDepth=2;k.LessEqualDepth=3;k.LessEqualStencilFunc=515;k.LessStencilFunc=513;k.Light=T;k.LightProbe=Sa;k.LightShadow=lb;k.Line=Ka;k.Line3=Rg;k.LineBasicMaterial=la;k.LineCurve=Ca;k.LineCurve3=Za;k.LineDashedMaterial=oc;k.LineLoop=Ve;k.LinePieces=1;k.LineSegments=ha;k.LineStrip=0;k.LinearEncoding=3E3;k.LinearFilter=1006;k.LinearInterpolant=ke;k.LinearMipMapLinearFilter=
1008;k.LinearMipMapNearestFilter=1007;k.LinearMipmapLinearFilter=1008;k.LinearMipmapNearestFilter=1007;k.LinearToneMapping=1;k.Loader=S;k.LoaderUtils=qh;k.LoadingManager=vg;k.LogLuvEncoding=3003;k.LoopOnce=2200;k.LoopPingPong=2202;k.LoopRepeat=2201;k.LuminanceAlphaFormat=1025;k.LuminanceFormat=1024;k.MOUSE={LEFT:0,MIDDLE:1,RIGHT:2,ROTATE:0,DOLLY:1,PAN:2};k.Material=G;k.MaterialLoader=rf;k.Math=K;k.MathUtils=K;k.Matrix3=xa;k.Matrix4=M;k.MaxEquation=104;k.Mesh=X;k.MeshBasicMaterial=Oa;k.MeshDepthMaterial=
Gb;k.MeshDistanceMaterial=Hb;k.MeshFaceMaterial=function(a){console.warn("THREE.MeshFaceMaterial has been removed. Use an Array instead.");return a};k.MeshLambertMaterial=mc;k.MeshMatcapMaterial=nc;k.MeshNormalMaterial=lc;k.MeshPhongMaterial=Mb;k.MeshPhysicalMaterial=jc;k.MeshStandardMaterial=ib;k.MeshToonMaterial=kc;k.MinEquation=103;k.MirroredRepeatWrapping=1002;k.MixOperation=1;k.MultiMaterial=function(a){void 0===a&&(a=[]);console.warn("THREE.MultiMaterial has been removed. Use an Array instead.");
a.isMultiMaterial=!0;a.materials=a;a.clone=function(){return a.slice()};return a};k.MultiplyBlending=4;k.MultiplyOperation=0;k.NearestFilter=1003;k.NearestMipMapLinearFilter=1005;k.NearestMipMapNearestFilter=1004;k.NearestMipmapLinearFilter=1005;k.NearestMipmapNearestFilter=1004;k.NeverDepth=0;k.NeverStencilFunc=512;k.NoBlending=0;k.NoColors=0;k.NoToneMapping=0;k.NormalAnimationBlendMode=2500;k.NormalBlending=1;k.NotEqualDepth=7;k.NotEqualStencilFunc=517;k.NumberKeyframeTrack=ad;k.Object3D=z;k.ObjectLoader=
uf;k.ObjectSpaceNormalMap=1;k.OctahedronBufferGeometry=bc;k.OctahedronGeometry=Vd;k.OneFactor=201;k.OneMinusDstAlphaFactor=207;k.OneMinusDstColorFactor=209;k.OneMinusSrcAlphaFactor=205;k.OneMinusSrcColorFactor=203;k.OrthographicCamera=ed;k.PCFShadowMap=1;k.PCFSoftShadowMap=2;k.PMREMGenerator=Tg;k.ParametricBufferGeometry=Pc;k.ParametricGeometry=Sd;k.Particle=function(a){console.warn("THREE.Particle has been renamed to THREE.Sprite.");return new Nd(a)};k.ParticleBasicMaterial=function(a){console.warn("THREE.ParticleBasicMaterial has been renamed to THREE.PointsMaterial.");
return new Xa(a)};k.ParticleSystem=function(a,b){console.warn("THREE.ParticleSystem has been renamed to THREE.Points.");return new Mc(a,b)};k.ParticleSystemMaterial=function(a){console.warn("THREE.ParticleSystemMaterial has been renamed to THREE.PointsMaterial.");return new Xa(a)};k.Path=bb;k.PerspectiveCamera=P;k.Plane=Ua;k.PlaneBufferGeometry=ac;k.PlaneGeometry=Fd;k.PlaneHelper=se;k.PointCloud=function(a,b){console.warn("THREE.PointCloud has been renamed to THREE.Points.");return new Mc(a,b)};k.PointCloudMaterial=
function(a){console.warn("THREE.PointCloudMaterial has been renamed to THREE.PointsMaterial.");return new Xa(a)};k.PointLight=lf;k.PointLightHelper=hd;k.Points=Mc;k.PointsMaterial=Xa;k.PolarGridHelper=yf;k.PolyhedronBufferGeometry=Fa;k.PolyhedronGeometry=Td;k.PositionalAudio=Jg;k.PropertyBinding=za;k.PropertyMixer=Lg;k.QuadraticBezierCurve=$a;k.QuadraticBezierCurve3=kb;k.Quaternion=na;k.QuaternionKeyframeTrack=le;k.QuaternionLinearInterpolant=cf;k.REVISION="118dev";k.RGBADepthPacking=3201;k.RGBAFormat=
1023;k.RGBAIntegerFormat=1033;k.RGBA_ASTC_10x10_Format=37819;k.RGBA_ASTC_10x5_Format=37816;k.RGBA_ASTC_10x6_Format=37817;k.RGBA_ASTC_10x8_Format=37818;k.RGBA_ASTC_12x10_Format=37820;k.RGBA_ASTC_12x12_Format=37821;k.RGBA_ASTC_4x4_Format=37808;k.RGBA_ASTC_5x4_Format=37809;k.RGBA_ASTC_5x5_Format=37810;k.RGBA_ASTC_6x5_Format=37811;k.RGBA_ASTC_6x6_Format=37812;k.RGBA_ASTC_8x5_Format=37813;k.RGBA_ASTC_8x6_Format=37814;k.RGBA_ASTC_8x8_Format=37815;k.RGBA_BPTC_Format=36492;k.RGBA_ETC2_EAC_Format=37496;k.RGBA_PVRTC_2BPPV1_Format=
35843;k.RGBA_PVRTC_4BPPV1_Format=35842;k.RGBA_S3TC_DXT1_Format=33777;k.RGBA_S3TC_DXT3_Format=33778;k.RGBA_S3TC_DXT5_Format=33779;k.RGBDEncoding=3006;k.RGBEEncoding=3002;k.RGBEFormat=1023;k.RGBFormat=1022;k.RGBIntegerFormat=1032;k.RGBM16Encoding=3005;k.RGBM7Encoding=3004;k.RGB_ETC1_Format=36196;k.RGB_ETC2_Format=37492;k.RGB_PVRTC_2BPPV1_Format=35841;k.RGB_PVRTC_4BPPV1_Format=35840;k.RGB_S3TC_DXT1_Format=33776;k.RGFormat=1030;k.RGIntegerFormat=1031;k.RawShaderMaterial=tb;k.Ray=Wb;k.Raycaster=Og;k.RectAreaLight=
pf;k.RedFormat=1028;k.RedIntegerFormat=1029;k.ReinhardToneMapping=2;k.RepeatWrapping=1E3;k.ReplaceStencilOp=7681;k.ReverseSubtractEquation=102;k.RingBufferGeometry=Xc;k.RingGeometry=fe;k.SRGB8_ALPHA8_ASTC_10x10_Format=37851;k.SRGB8_ALPHA8_ASTC_10x5_Format=37848;k.SRGB8_ALPHA8_ASTC_10x6_Format=37849;k.SRGB8_ALPHA8_ASTC_10x8_Format=37850;k.SRGB8_ALPHA8_ASTC_12x10_Format=37852;k.SRGB8_ALPHA8_ASTC_12x12_Format=37853;k.SRGB8_ALPHA8_ASTC_4x4_Format=37840;k.SRGB8_ALPHA8_ASTC_5x4_Format=37841;k.SRGB8_ALPHA8_ASTC_5x5_Format=
37842;k.SRGB8_ALPHA8_ASTC_6x5_Format=37843;k.SRGB8_ALPHA8_ASTC_6x6_Format=37844;k.SRGB8_ALPHA8_ASTC_8x5_Format=37845;k.SRGB8_ALPHA8_ASTC_8x6_Format=37846;k.SRGB8_ALPHA8_ASTC_8x8_Format=37847;k.Scene=xd;k.SceneUtils={createMultiMaterialObject:function(){console.error("THREE.SceneUtils has been moved to /examples/jsm/utils/SceneUtils.js")},detach:function(){console.error("THREE.SceneUtils has been moved to /examples/jsm/utils/SceneUtils.js")},attach:function(){console.error("THREE.SceneUtils has been moved to /examples/jsm/utils/SceneUtils.js")}};
k.ShaderChunk=N;k.ShaderLib=gb;k.ShaderMaterial=Ba;k.ShadowMaterial=ic;k.Shape=Nb;k.ShapeBufferGeometry=gc;k.ShapeGeometry=fc;k.ShapePath=Bg;k.ShapeUtils=rb;k.ShortType=1011;k.Skeleton=Te;k.SkeletonHelper=pc;k.SkinnedMesh=Se;k.SmoothShading=2;k.Sphere=eb;k.SphereBufferGeometry=ec;k.SphereGeometry=ee;k.Spherical=oi;k.SphericalHarmonics3=qf;k.Spline=Xg;k.SplineCurve=ab;k.SplineCurve3=vi;k.SpotLight=kf;k.SpotLightHelper=gd;k.SpotLightShadow=jf;k.Sprite=Nd;k.SpriteMaterial=Kb;k.SrcAlphaFactor=204;k.SrcAlphaSaturateFactor=
210;k.SrcColorFactor=202;k.StaticCopyUsage=35046;k.StaticDrawUsage=35044;k.StaticReadUsage=35045;k.StereoCamera=ji;k.StreamCopyUsage=35042;k.StreamDrawUsage=35040;k.StreamReadUsage=35041;k.StringKeyframeTrack=df;k.SubtractEquation=101;k.SubtractiveBlending=3;k.TOUCH={ROTATE:0,PAN:1,DOLLY_PAN:2,DOLLY_ROTATE:3};k.TangentSpaceNormalMap=0;k.TetrahedronBufferGeometry=Qc;k.TetrahedronGeometry=Ud;k.TextBufferGeometry=Wc;k.TextGeometry=de;k.Texture=W;k.TextureLoader=gf;k.TorusBufferGeometry=Uc;k.TorusGeometry=
$d;k.TorusKnotBufferGeometry=Tc;k.TorusKnotGeometry=Zd;k.Triangle=wa;k.TriangleFanDrawMode=2;k.TriangleStripDrawMode=1;k.TrianglesDrawMode=0;k.TubeBufferGeometry=cc;k.TubeGeometry=Yd;k.UVMapping=300;k.Uint16Attribute=function(a,b){console.warn("THREE.Uint16Attribute has been removed. Use new THREE.Uint16BufferAttribute() instead.");return new Xb(a,b)};k.Uint16BufferAttribute=Xb;k.Uint32Attribute=function(a,b){console.warn("THREE.Uint32Attribute has been removed. Use new THREE.Uint32BufferAttribute() instead.");
return new Yb(a,b)};k.Uint32BufferAttribute=Yb;k.Uint8Attribute=function(a,b){console.warn("THREE.Uint8Attribute has been removed. Use new THREE.Uint8BufferAttribute() instead.");return new zd(a,b)};k.Uint8BufferAttribute=zd;k.Uint8ClampedAttribute=function(a,b){console.warn("THREE.Uint8ClampedAttribute has been removed. Use new THREE.Uint8ClampedBufferAttribute() instead.");return new Ad(a,b)};k.Uint8ClampedBufferAttribute=Ad;k.Uniform=wf;k.UniformsLib=y;k.UniformsUtils=Sh;k.UnsignedByteType=1009;
k.UnsignedInt248Type=1020;k.UnsignedIntType=1014;k.UnsignedShort4444Type=1017;k.UnsignedShort5551Type=1018;k.UnsignedShort565Type=1019;k.UnsignedShortType=1012;k.VSMShadowMap=3;k.Vector2=w;k.Vector3=m;k.Vector4=Y;k.VectorKeyframeTrack=bd;k.Vertex=function(a,b,c){console.warn("THREE.Vertex has been removed. Use THREE.Vector3 instead.");return new m(a,b,c)};k.VertexColors=2;k.VideoTexture=sg;k.WebGL1Renderer=og;k.WebGLCubeRenderTarget=Zb;k.WebGLMultisampleRenderTarget=ag;k.WebGLRenderTarget=Ha;k.WebGLRenderTargetCube=
function(a,b,c){console.warn("THREE.WebGLRenderTargetCube( width, height, options ) is now WebGLCubeRenderTarget( size, options ).");return new Zb(a,c)};k.WebGLRenderer=Md;k.WebGLUtils=Wh;k.WireframeGeometry=Oc;k.WireframeHelper=function(a,b){console.warn("THREE.WireframeHelper has been removed. Use THREE.WireframeGeometry instead.");return new ha(new Oc(a.geometry),new la({color:void 0!==b?b:16777215}))};k.WrapAroundEnding=2402;k.XHRLoader=function(a){console.warn("THREE.XHRLoader has been renamed to THREE.FileLoader.");
return new Ra(a)};k.ZeroCurvatureEnding=2400;k.ZeroFactor=200;k.ZeroSlopeEnding=2401;k.ZeroStencilOp=0;k.sRGBEncoding=3001;Object.defineProperty(k,"__esModule",{value:!0})});
})();