AnonSec Shell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.59
Web Server : Apache
System : Linux webm006.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : awebpaca ( 35430)
PHP Version : 8.5.0
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/awebpaca/360/camping-la-baume/lib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/awebpaca/360/camping-la-baume/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});(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={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},T=m.invert(B),R=function(n){var t=function(t){return n[t]},r="(?:"+m.keys(n).join("|")+")",e=RegExp(r),u=RegExp(r,"g");return function(n){return n=null==n?"":""+n,e.test(n)?n.replace(u,t):n}};m.escape=R(B),m.unescape=R(T),m.result=function(n,t,r){var e=null==n?void 0:
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 h(a){throw a;}var m=void 0,p=!0,r=null,z=!1;function D(){return function(){}}function P(a){return function(b){this[a]=b}}function R(a){return function(){return this[a]}}function S(a){return function(){return a}}
(function(){function a(a){this.Bk=a;this.Bo=r;this.Qc={}}function b(){this.Kj={};this.Kj[b.SCRIPT_URL]=[];this.Kj[b.THREE_JS_WEBGL_URL]="lib/ThreeWebGL.js";this.Kj[b.WEBVR_POLYFILL_URL]="lib/WebVRPolyfill.js";this.Kj[b.HLS_URL]="lib/Hls.js";this.Kj[b.CURSORS_DIR_URL]="lib/cursors";this.Kj[b.SERVICE_WORKER_URL]="tdvplayersw.js";this.Kj[b.BACKGROUND_PRELOAD_ENABLED]=m}function c(){this.VB=[];this.CJ=[];this.Kna=[];this.GF=r}function e(a){return"[object Array]"==Object.prototype.toString.call(a)}function d(a){return 0<=
g.search(a.toLowerCase())}var f=window.TDV=window.TDV||{},g=navigator.userAgent.toLowerCase();c.prototype.getVersion=c.prototype.sL=function(){return{MAJOR:"0",MINOR:"1401"}};c.prototype.r7=function(){if(this.GF)for(;0<this.VB.length;){var a=this.VB[0];this.VB=this.VB.slice(1);this.CJ.push(a);this.yia(a)}};c.prototype.k5=function(a){var b=document.createElement("a");b.href=a;return b.href};c.prototype.qka=function(){var a=document.currentScript;a||(a=document.getElementsByTagName("head")[0].getElementsByTagName("script"),
a=a[a.length-1]);return this.k5(a.src)};c.prototype.yia=function(a){var f=this,g=a.Bk.get(b.SELECTED_SCRIPT_URL);setTimeout(function(){var b=document.createElement("script");b.type="text/javascript";b.src=g;document.getElementsByTagName("head")[0].appendChild(b);f.GF.cya(a)},1)};c.prototype.defineScript=c.prototype.wza=function(a){for(var f=[],g=this.qka(),d=0;d<this.CJ.length;d++){var c=this.CJ[d],e=this.k5(c.Bk.get(b.SELECTED_SCRIPT_URL));e==g?(c.Bk.set(b.SCRIPT_DATA,a),c.qxa(new this.GF(c,c.Bk)),
this.Kna.push(c)):f.push(e)}this.CJ=f};c.prototype.create=c.prototype.create=function(a){var g=a.get(b.SCRIPT_URL),g=e(g)?this.yoa(g):"string"===typeof g?g:"script.js";a.set(b.SELECTED_SCRIPT_URL,g);a=new f.A_(a);this.VB.push(a);this.r7();return a};c.prototype.setPlayerClass=c.prototype.pxa=function(a){this.GF=a;this.r7()};c.prototype.getOrientation=c.prototype.cn=function(){var a=screen.orientation&&screen.orientation.type||window.orientation;return"portrait-primary"==a||"portrait-secondary"==a||
0===a||180==a?f.za.HN:"landscape-primary"==a||"landscape-secondary"==a||90==a||-90==a?f.za.GN:window.innerWidth<window.innerHeight?f.za.HN:f.za.GN};c.prototype.yoa=function(a){if(0<a.length){for(var b=0;b<a.length;b++){var f=a[b];if(e(f)){if(this.o9(f[0]))return f[1]}else if("string"===typeof f)return f}return a[0][1]}return"script.js"};c.prototype.o9=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.ge==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.Fu==b[1].toLowerCase();if(b=a.match(/^\s*screen_size\s*(<|>|=|<=|>=)\s*(\d+)\s*x\s*(\d+)\s*$/)){var a=parseInt(b[2]),f=parseInt(b[3]),g;switch(b[1]){case "<":g=function(a,b){return a<b};break;case ">":g=function(a,b){return a>b};break;case "=":g=function(a,b){return a==b};break;case "<=":g=function(a,b){return a<=b};break;case ">=":g=function(a,b){return a>=b}}return g(screen.width,
a)&&g(screen.height,f)||this.VX&&g(screen.width,f)&&g(screen.height,a)}return z}if(e(a)){for(b=0;b<a.length;b++)if(!this.o9(a[b]))return z;return p}return z};c.prototype.ORIENTATION_LANDSCAPE=c.prototype.GN="landscape";c.prototype.ORIENTATION_PORTRAIT=c.prototype.HN="portrait";c.prototype.OS_IOS=c.prototype.wF="ios";c.prototype.OS_ANDROID=c.prototype.IN="android";c.prototype.OS_WINDOWS=c.prototype.o_="windows";c.prototype.OS_WINDOWS_PHONE=c.prototype.MN="windows_phone";c.prototype.OS_MACOSX=c.prototype.JN=
"osx";c.prototype.OS_LINUX=c.prototype.n_="linux";c.prototype.OS_QNX=c.prototype.LN="qnx";c.prototype.OS_OTHER=c.prototype.KN="other";c.prototype.BROWSER_TYPE_WEBKIT=c.prototype.jz="webkit";c.prototype.BROWSER_TYPE_OPERA=c.prototype.GM="opera";c.prototype.BROWSER_TYPE_MSIE=c.prototype.FM="msie";c.prototype.BROWSER_TYPE_MOZILLA=c.prototype.EM="mozilla";c.prototype.BROWSER_TYPE_OTHER=c.prototype.HM="other";c.prototype.BROWSER_SAFARI_IOS=c.prototype.qg="safari_ios";c.prototype.BROWSER_OPERA=c.prototype.$E=
"opera";c.prototype.BROWSER_SAFARI=c.prototype.wh="safari";c.prototype.BROWSER_CHROME=c.prototype.uj="chrome";c.prototype.BROWSER_EDGE=c.prototype.xv="edge";c.prototype.BROWSER_MSIE=c.prototype.ds="msie";c.prototype.BROWSER_ANDROID=c.prototype.ez="android";c.prototype.BROWSER_MOZILLA=c.prototype.fz="mozilla";c.prototype.BROWSER_OTHER=c.prototype.DM="other";c.prototype.BROWSER_SUBTYPE_SAMSUNG_INTERNET=c.prototype.dF="samsunginternet";c.prototype.BROWSER_SUBTYPE_OCULUS_BROWSER=c.prototype.un="oculusbrowser";
c.prototype.BROWSER_SUBTYPE_SAMSUNG_INTERNET_FOR_GEAR_VR=c.prototype.eF="samsunginternetgearvr";c.prototype.BROWSER_SUBTYPE_CHROME_IOS=c.prototype.aF="chromeios";c.prototype.BROWSER_SUBTYPE_SAFARI_IOS=c.prototype.hz="safari_ios";c.prototype.BROWSER_SUBTYPE_CHROME_WEBVIEW=c.prototype.yv="chrome_webview";c.prototype.BROWSER_SUBTYPE_SAFARI_WEBVIEW=c.prototype.iz="safari_webview";c.prototype.BROWSER_SUBTYPE_TOUR_LAUNCHER=c.prototype.es="tour_launcher";c.prototype.BROWSER_SUBTYPE_CHROMIUM_EDGE=c.prototype.yv=
"chromium_edge";c.prototype.BROWSER_SUBTYPE_FIREFOX_REALITY=c.prototype.gz="firefox_reality";c.prototype.BROWSER_SUBTYPE_VR_APP=c.prototype.zv="vrapp";c.prototype.BROWSER_SUBTYPE_FACEBOOK_IOS_WEBVIEW=c.prototype.bF="facebook_ios_webview";c.prototype.BROWSER_SUBTYPE_OTHER=c.prototype.cF="other";c.prototype.BROWSER_VERSION_UNKNOWN=c.prototype.IM=-1;c.prototype.DEVICE_IPHONE=c.prototype.NM="iphone";c.prototype.DEVICE_IPAD=c.prototype.lz="ipad";c.prototype.DEVICE_IPOD=c.prototype.OM="ipod";c.prototype.DEVICE_OTHER=
c.prototype.PM="other";c.prototype.os=c.prototype.ge=d("iphone")||d("ipad")||d("ipod")?c.prototype.wF:d("qnx")?c.prototype.LN:d("android")||d("oculusbrowser")&&d("linux")?c.prototype.IN:d("windows phone")?c.prototype.MN:d("windows")?c.prototype.o_:d("mac_powerpc")?c.prototype.JN:d("macintosh")?1<navigator.maxTouchPoints?c.prototype.wF:c.prototype.JN:d("linux")||d("x11")?c.prototype.n_:c.prototype.KN;c.prototype.browser=c.prototype.browser=d("ipad")||d("iphone")||d("ipod")||d("macintosh")&&1<navigator.maxTouchPoints?
c.prototype.qg:d("opera")?c.prototype.$E:d("edge")?c.prototype.xv:d("chrome")||d("crmo")?c.prototype.uj:d("android")?c.prototype.ez:d("safari")?c.prototype.wh:d("trident")||d("msie")?c.prototype.ds:!d("compatible")&&d("mozilla")?c.prototype.fz:c.prototype.DM;c.prototype.browserType=c.prototype.ey=c.prototype.browser==c.prototype.qg||c.prototype.browser==c.prototype.uj||c.prototype.browser==c.prototype.ez||c.prototype.browser==c.prototype.wh||d("webkit")?c.prototype.jz:c.prototype.browser==c.prototype.$E||
d("opera")?c.prototype.GM:d("trident")||d("msie")?c.prototype.FM:!d("compatible")&&d("mozilla")?c.prototype.EM:c.prototype.HM;c.prototype.browserSubtype=c.prototype.Wc=d("oculusbrowser")?c.prototype.un:d("samsungbrowser")&&d("android")?d("mobile vr")?c.prototype.eF:c.prototype.dF:d("ipad")||d("iphone")||d("ipod")?d("crios")?c.prototype.aF:d("fban")||d("fbav")?c.prototype.bF:d("safari")&&d("version")&&!navigator.eAa?c.prototype.hz:c.prototype.iz:d("electron")?c.prototype.es:d("chrome")&&d("wv")?c.prototype.yv:
d("edg/")?c.prototype.iZ:window.location.hash&&0<=window.location.hash.indexOf("vrapp")?c.prototype.zv:!d("compatible")&&d("mozilla")&&d("mobile vr")?c.prototype.gz:c.prototype.cF;c.prototype.browserVersion=c.prototype.P$=function(){if(c.prototype.browser==c.prototype.ds){var a=g.match(/MSIE ([0-9]{1,}[.0-9]{0,})/);if(a!=r)return parseFloat(a[1]);a=g.match(/Trident\/.*rv:([0-9]{1,}[.0-9]{0,})/);if(a!=r)return parseFloat(a[1])}return c.prototype.IM}();c.prototype.device=c.prototype.Fu=d("ipad")||d("macintosh")&&
1<navigator.maxTouchPoints?c.prototype.lz:d("iphone")?c.prototype.NM:d("ipod")?c.prototype.OM:c.prototype.PM;var k;a:{switch(c.prototype.ge){case c.prototype.IN:case c.prototype.wF:case c.prototype.MN:case c.prototype.LN:k=p;break a}k=z}c.prototype.mobile=c.prototype.VX=k;f.PlayerAPI=f.za=new c;b.prototype.append=b.prototype.append=function(a,f,g){a==b.SCRIPT_URL&&("undefined"==typeof g&&(g=f,f="default"),f=[f,g]);e(this.Kj[a])||(this.Kj[a]=[]);this.Kj[a].push(f)};b.prototype.set=b.prototype.set=
function(a,b){this.Kj[a]=b};b.prototype.get=b.prototype.get=function(a){return this.Kj[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.xea="PinchToZoomEnabled";f.PlayerSettings=f.PlayerSettings=b;f.PlayerEvent=f.zF=function(a,b,f,g){this.name=a;this.data=this.originalEvent=b;this.sourceClassName=f[f.length-1];this.sourceClassPath=f;this.sourceId=g};a.prototype.qxa=P("Bo");a.prototype["delete"]=function(){this.Bo&&(this.Bo.clear(),
this.Bo=r)};a.prototype.getById=a.prototype.Cza=function(a){return this.Bo?this.Bo.hua(a):r};a.prototype.getByClassName=a.prototype.Ym=function(a){return this.Bo?this.Bo.Naa(a):[]};a.prototype.createInstance=a.prototype.Ir=function(a){return this.Bo.Ir(a)};a.prototype.bind=a.prototype.bind=function(a,b,f,g){var d=a.split(":"),a=d[0],d=1<d.length?d[1]:"*";this.Qc[a]=this.Qc[a]||{};this.Qc[a][d]=this.Qc[a][d]||[];this.Qc[a][d].push({handler:b,context:f,immediate:g});return this};a.prototype.unbind=
a.prototype.unbind=function(a,b,f,g){var d=a.split(":"),a=d[0],d=1<d.length?d[1]:"*";if(a in this.Qc&&d in this.Qc[a]){for(var c=[],e=this.Qc[a][d],k=0;k<e.length;k++){var u=e[k];(u.handler!=b||u.context!=f||u.immediate!=g)&&c.push(u)}this.Qc[a][d]=c}};a.prototype.bindOnObject=a.prototype.oza=function(a,b,f,g,d){return this.bind(b+":"+this.ZQ(a),f,g,d)};a.prototype.unbindOnObject=a.prototype.lAa=function(a,b,f,g,d){return this.unbind(b+":"+this.ZQ(a),f,g,d)};a.prototype.bindOnObjectsOf=a.prototype.pza=
function(a,b,f,g,d){return this.bind(b+":"+this.OQ(a),f,g,d)};a.prototype.unbindOnObjectsOf=a.prototype.mAa=function(a,b,f,g,d){return this.unbind(b+":"+this.OQ(a),f,g,d)};a.prototype.cookiesEnabled=a.prototype.Ssa=z;a.DEFAULT_PANORAMA_HFOV=a.Pda=c.prototype.VX?90:110;a.prototype.trigger=function(a){if(a.name in this.Qc){this.Xz(a,p);var b=this;setTimeout(function(){b.Xz(a,z)},0)}};a.prototype.Xz=function(a,b){for(var f=this.Lja(a,b),g=0;g<f.length;g++)try{f[g].handler.call(f[g].context||window,a)}catch(d){setTimeout(function(){h(d)},
0)}};a.prototype.Lja=function(a,b){var f=[];if(a.name in this.Qc){for(var g=[],d=0;d<a.sourceClassPath.length;d++)g.push(this.OQ(a.sourceClassPath[d]));a.sourceId&&g.push(this.ZQ(a.sourceId));g.push("*");for(var c=this.Qc[a.name],d=0;d<g.length;d++)for(var e=c[g[d]]||[],k=0;k<e.length;k++)!!e[k].immediate==!!b&&f.push(e[k])}return f};a.prototype.ZQ=function(a){return"instance("+a+")"};a.prototype.OQ=function(a){return"className("+a+")"};f.Player=f.A_=a})();define("jquery.mod",["jquery"],function(a){return a.noConflict(p)});
(function(){(function(){function a(a,b){return a.Tga?o(b).chain():b}function b(a){return"\\"+J[a]}function c(a){function b(f){return a[f]}var f="(?:"+o.keys(a).join("|")+")",g=RegExp(f),d=RegExp(f,"g");return function(a){return a=r==a?"":""+a,g.test(a)?a.replace(d,b):a}}function e(a,b,f,g){if(a===b)return 0!==a||1/a===1/b;if(r==a||r==b)return a===b;a instanceof o&&(a=a.yu);b instanceof o&&(b=b.yu);var d=K.call(a);if(d!==K.call(b))return z;switch(d){case "[object RegExp]":case "[object String]":return""+
a==""+b;case "[object Number]":return+a!==+a?+b!==+b:0===+a?1/+a===1/b:+a===+b;case "[object Date]":case "[object Boolean]":return+a===+b}d="[object Array]"===d;if(!d){if("object"!=typeof a||"object"!=typeof b)return z;var j=a.constructor,c=b.constructor;if(j!==c&&(!o.isFunction(j)||!(j instanceof j&&o.isFunction(c)&&c instanceof c))&&"constructor"in a&&"constructor"in b)return z}f=f||[];g=g||[];for(j=f.length;j--;)if(f[j]===a)return g[j]===b;if(f.push(a),g.push(b),d){if(j=a.length,j!==b.length)return z;
for(;j--;)if(!e(a[j],b[j],f,g))return z}else{var i,d=o.keys(a);if(j=d.length,o.keys(b).length!==j)return z;for(;j--;)if(i=d[j],!o.has(b,i)||!e(a[i],b[i],f,g))return z}return f.pop(),g.pop(),p}function d(a,b,f,g,d){if(!(g instanceof b))return a.apply(f,d);b=n(a.prototype);a=a.apply(b,d);return o.Ey(a)?a:b}function f(a,b,g,d){for(var j=[],c=0,d=d||0,i=C(a);i>d;d++){var e=a[d];if(k(e)&&(o.isArray(e)||o.isArguments(e))){b||(e=f(e,b,g));var l=0,n=e.length;for(j.length+=n;n>l;)j[c++]=e[l++]}else g||(j[c++]=
e)}return j}function g(a){return function(b,f,g){var d={};return f=l(f,g),o.each(b,function(g,j){var c=f(g,j,b);a(d,g,c)}),d}}function k(a){a=C(a);return"number"==typeof a&&0<=a&&O>=a}function j(a){return function(b){return r==b?m:b[a]}}function n(a){if(!o.Ey(a))return{};if(N)return N(a);t.prototype=a;a=new t;return t.prototype=r,a}function i(a,b){return function(f){var g=arguments.length;if(2>g||r==f)return f;for(var d=1;g>d;d++)for(var j=arguments[d],c=a(j),i=c.length,e=0;i>e;e++){var k=c[e];b&&
f[k]!==m||(f[k]=j[k])}return f}}function l(a,b,f){return r==a?o.identity:o.isFunction(a)?q(a,b,f):o.Ey(a)?o.QX(a):o.ica(a)}function q(a,b,f){if(b===m)return a;switch(r==f?3:f){case 1:return function(f){return a.call(b,f)};case 2:return function(f,g){return a.call(b,f,g)};case 3:return function(f,g,d){return a.call(b,f,g,d)};case 4:return function(f,g,d,j){return a.call(b,f,g,d,j)}}return function(){return a.apply(b,arguments)}}function o(a){return a instanceof o?a:this instanceof o?void(this.yu=a):
new o(a)}function t(){}function s(a){return function(b,f,g,d){var f=q(f,d,4),j=!k(b)&&o.keys(b),c=(j||b).length,i=0<a?0:c-1;3>arguments.length&&(g=b[j?j[i]:i],i+=a);for(var e=f,l=g;0<=i&&c>i;i+=a)var n=j?j[i]:i,l=e(l,b[n],n,b);return l}}function u(a){return function(b,f,g){for(var f=l(f,g),g=C(b),d=0<a?0:g-1;0<=d&&g>d;d+=a)if(f(b[d],d,b))return d;return-1}}function v(a,b,f){return function(g,d,j){var c=0,i=C(g);if("number"==typeof j)0<a?c=0<=j?j:Math.max(j+i,c):i=0<=j?Math.min(j+1,i):j+i+1;else if(f&&
j&&i)return j=f(g,d),g[j]===d?j:-1;if(d!==d)return j=b(A.call(g,c,i),o.isNaN),0<=j?j+c:-1;for(j=0<a?c:i-1;0<=j&&i>j;j+=a)if(g[j]===d)return j;return-1}}function w(a,b){var f=L.length,g=a.constructor,g=o.isFunction(g)&&g.prototype||B,d="constructor";for(o.has(a,d)&&!o.contains(b,d)&&b.push(d);f--;)d=L[f],d in a&&a[d]!==g[d]&&!o.contains(b,d)&&b.push(d)}var x=this,y=x.bO,E=Array.prototype,B=Object.prototype,M=E.push,A=E.slice,K=B.toString,G=B.hasOwnProperty,F=Array.isArray,H=Object.keys,I=Function.prototype.bind,
N=Object.create;"undefined"!=typeof exports?("undefined"!=typeof module&&module.kta&&(exports=module.kta=o),exports.bO=o):x.bO=o;o.VERSION="1.8.3";o.Pza=function(a,b){return l(a,b,1/0)};var O=Math.pow(2,53)-1,C=j("length");o.each=o.forEach=function(a,b,f){var b=q(b,f),g;if(k(a)){f=0;for(g=a.length;g>f;f++)b(a[f],f,a)}else{var d=o.keys(a),f=0;for(g=d.length;g>f;f++)b(a[d[f]],d[f],a)}return a};o.map=o.sza=function(a,b,f){for(var b=l(b,f),f=!k(a)&&o.keys(a),g=(f||a).length,d=Array(g),j=0;g>j;j++){var c=
f?f[j]:j;d[j]=b(a[c],c,a)}return d};o.reduce=o.zza=o.Kza=s(1);o.reduceRight=o.Aza=s(-1);o.find=o.detect=function(a,b,f){var g;return g=k(a)?o.maa(a,b,f):o.qta(a,b,f),g!==m&&-1!==g?a[g]:m};o.filter=o.select=function(a,b,f){var g=[];return b=l(b,f),o.each(a,function(a,f,d){b(a,f,d)&&g.push(a)}),g};o.reject=function(a,b,f){return o.filter(a,o.Wba(l(b)),f)};o.every=o.all=function(a,b,f){for(var b=l(b,f),f=!k(a)&&o.keys(a),g=(f||a).length,d=0;g>d;d++){var j=f?f[d]:d;if(!b(a[j],j,a))return z}return p};
o.some=o.any=function(a,b,f){for(var b=l(b,f),f=!k(a)&&o.keys(a),g=(f||a).length,d=0;g>d;d++){var j=f?f[d]:d;if(b(a[j],j,a))return p}return z};o.contains=o.Iza=o.include=function(a,b,f,g){return k(a)||(a=o.values(a)),("number"!=typeof f||g)&&(f=0),0<=o.indexOf(a,b,f)};o.invoke=function(a,b){var f=A.call(arguments,2),g=o.isFunction(b);return o.map(a,function(a){var d=g?b:a[b];return r==d?d:d.apply(a,f)})};o.pluck=function(a,b){return o.map(a,o.ica(b))};o.pAa=function(a,b){return o.filter(a,o.QX(b))};
o.yza=function(a,b){return o.find(a,o.QX(b))};o.max=function(a,b,f){var g,d=-1/0,j=-1/0;if(r==b&&r!=a)for(var a=k(a)?a:o.values(a),c=0,i=a.length;i>c;c++)f=a[c],f>d&&(d=f);else b=l(b,f),o.each(a,function(a,f,c){g=b(a,f,c);(g>j||g===-1/0&&d===-1/0)&&(d=a,j=g)});return d};o.min=function(a,b,f){var g,d=1/0,j=1/0;if(r==b&&r!=a)for(var a=k(a)?a:o.values(a),c=0,i=a.length;i>c;c++)f=a[c],d>f&&(d=f);else b=l(b,f),o.each(a,function(a,f,c){g=b(a,f,c);(j>g||1/0===g&&1/0===d)&&(d=a,j=g)});return d};o.Ixa=function(a){for(var b=
k(a)?a:o.values(a),f=b.length,g=Array(f),d=0;f>d;d++)a=o.random(0,d),a!==d&&(g[d]=g[a]),g[a]=b[d];return g};o.sample=function(a,b,f){return r==b||f?(k(a)||(a=o.values(a)),a[o.random(a.length-1)]):o.Ixa(a).slice(0,Math.max(0,b))};o.sortBy=function(a,b,f){return b=l(b,f),o.pluck(o.map(a,function(a,f,g){return{value:a,index:f,caa:b(a,f,g)}}).sort(function(a,b){var f=a.caa,g=b.caa;if(f!==g){if(f>g||f===m)return 1;if(g>f||g===m)return-1}return a.index-b.index}),"value")};o.groupBy=g(function(a,b,f){o.has(a,
f)?a[f].push(b):a[f]=[b]});o.Jza=g(function(a,b,f){a[f]=b});o.uza=g(function(a,b,f){o.has(a,f)?a[f]++:a[f]=1});o.toArray=function(a){return a?o.isArray(a)?A.call(a):k(a)?o.map(a,o.identity):o.values(a):[]};o.size=function(a){return r==a?0:k(a)?a.length:o.keys(a).length};o.Zza=function(a,b,f){var b=l(b,f),g=[],d=[];return o.each(a,function(a,f,j){(b(a,f,j)?g:d).push(a)}),[g,d]};o.first=o.head=o.hAa=function(a,b,f){return r==a?m:r==b||f?a[0]:o.Iua(a,a.length-b)};o.Iua=function(a,b){return A.call(a,
0,Math.max(0,a.length-(r==b?1:b)))};o.last=function(a,b,f){return r==a?m:r==b||f?a[a.length-1]:o.rest(a,Math.max(0,a.length-b))};o.rest=o.gAa=o.xza=function(a,b,f){return A.call(a,r==b||f?1:b)};o.compact=function(a){return o.filter(a,o.identity)};o.flatten=function(a,b){return f(a,b,z)};o.without=function(a){return o.difference(a,A.call(arguments,1))};o.uniq=o.unique=function(a,b,f,g){o.isBoolean(b)||(g=f,f=b,b=z);r!=f&&(f=l(f,g));for(var g=[],d=[],j=0,c=C(a);c>j;j++){var i=a[j],e=f?f(i,j,a):i;b?
(j&&d===e||g.push(i),d=e):f?o.contains(d,e)||(d.push(e),g.push(i)):o.contains(g,i)||g.push(i)}return g};o.union=function(){return o.uniq(f(arguments,p,p))};o.intersection=function(a){for(var b=[],f=arguments.length,g=0,d=C(a);d>g;g++){var j=a[g];if(!o.contains(b,j)){for(var c=1;f>c&&o.contains(arguments[c],j);c++);c===f&&b.push(j)}}return b};o.difference=function(a){var b=f(arguments,p,p,1);return o.filter(a,function(a){return!o.contains(b,a)})};o.zip=function(){return o.eya(arguments)};o.eya=function(a){for(var b=
a&&o.max(a,C).length||0,f=Array(b),g=0;b>g;g++)f[g]=o.pluck(a,g);return f};o.object=function(a,b){for(var f={},g=0,d=C(a);d>g;g++)b?f[a[g]]=b[g]:f[a[g][0]]=a[g][1];return f};o.maa=u(1);o.rta=u(-1);o.sortedIndex=function(a,b,f,g){for(var f=l(f,g,1),b=f(b),g=0,d=C(a);d>g;){var j=Math.floor((g+d)/2);f(a[j])<b?g=j+1:d=j}return g};o.indexOf=v(1,o.maa,o.sortedIndex);o.lastIndexOf=v(-1,o.rta);o.range=function(a,b,f){r==b&&(b=a||0,a=0);for(var f=f||1,b=Math.max(Math.ceil((b-a)/f),0),g=Array(b),d=0;b>d;d++,
a+=f)g[d]=a;return g};o.bind=function(a,b){function f(){return d(a,f,b,this,g.concat(A.call(arguments)))}if(I&&a.bind===I)return I.apply(a,A.call(arguments,1));o.isFunction(a)||h(new TypeError("Bind must be called on a function"));var g=A.call(arguments,2);return f};o.$X=function(a){function b(){for(var g=0,j=f.length,c=Array(j),i=0;j>i;i++)c[i]=f[i]===o?arguments[g++]:f[i];for(;g<arguments.length;)c.push(arguments[g++]);return d(a,b,this,this,c)}var f=A.call(arguments,1);return b};o.bindAll=function(a){var b,
f,g=arguments.length;1>=g&&h(Error("bindAll must be passed function names"));for(b=1;g>b;b++)f=arguments[b],a[f]=o.bind(a[f],a);return a};o.memoize=function(a,b){function f(g){var d=f.Asa,j=""+(b?b.apply(this,arguments):g);return o.has(d,j)||(d[j]=a.apply(this,arguments)),d[j]}return f.Asa={},f};o.delay=function(a,b){var f=A.call(arguments,2);return setTimeout(function(){return a.apply(r,f)},b)};o.defer=o.$X(o.delay,o,1);o.throttle=function(a,b,f){function g(){e=f.hva===z?0:o.now();i=r;c=a.apply(d,
j);i||(d=j=r)}var d,j,c,i=r,e=0;f||(f={});return function(){var k=o.now();e||f.hva!==z||(e=k);var l=b-(k-e);return d=this,j=arguments,0>=l||l>b?(i&&(clearTimeout(i),i=r),e=k,c=a.apply(d,j),i||(d=j=r)):i||f.iAa===z||(i=setTimeout(g,l)),c}};o.debounce=function(a,b,f){function g(){var k=o.now()-i;b>k&&0<=k?d=setTimeout(g,b-k):(d=r,f||(e=a.apply(c,j),d||(c=j=r)))}var d,j,c,i,e;return function(){c=this;j=arguments;i=o.now();var k=f&&!d;return d||(d=setTimeout(g,b)),k&&(e=a.apply(c,j),c=j=r),e}};o.wrap=
function(a,b){return o.$X(b,a)};o.Wba=function(a){return function(){return!a.apply(this,arguments)}};o.compose=function(){var a=arguments,b=a.length-1;return function(){for(var f=b,g=a[b].apply(this,arguments);f--;)g=a[f].call(this,g);return g}};o.after=function(a,b){return function(){return 1>--a?b.apply(this,arguments):m}};o.before=function(a,b){var f;return function(){return 0<--a&&(f=b.apply(this,arguments)),1>=a&&(b=r),f}};o.once=o.$X(o.before,2);var Q=!{toString:r}.propertyIsEnumerable("toString"),
L="valueOf,isPrototypeOf,toString,propertyIsEnumerable,hasOwnProperty,toLocaleString".split(",");o.keys=function(a){if(!o.Ey(a))return[];if(H)return H(a);var b=[],f;for(f in a)o.has(a,f)&&b.push(f);return Q&&w(a,b),b};o.BW=function(a){if(!o.Ey(a))return[];var b=[],f;for(f in a)b.push(f);return Q&&w(a,b),b};o.values=function(a){for(var b=o.keys(a),f=b.length,g=Array(f),d=0;f>d;d++)g[d]=a[b[d]];return g};o.Sza=function(a,b,f){for(var b=l(b,f),g=o.keys(a),d=g.length,j={},c=0;d>c;c++)f=g[c],j[f]=b(a[f],
f,a);return j};o.Yza=function(a){for(var b=o.keys(a),f=b.length,g=Array(f),d=0;f>d;d++)g[d]=[b[d],a[b[d]]];return g};o.xba=function(a){for(var b={},f=o.keys(a),g=0,d=f.length;d>g;g++)b[a[f[g]]]=f[g];return b};o.functions=o.Vza=function(a){var b=[],f;for(f in a)o.isFunction(a[f])&&b.push(f);return b.sort()};o.extend=i(o.BW);o.kaa=o.assign=i(o.keys);o.qta=function(a,b,f){for(var b=l(b,f),g,f=o.keys(a),d=0,j=f.length;j>d;d++)if(g=f[d],b(a[g],g,a))return g};o.Fva=function(a,b,g){var d,j,c={},i=a;if(r==
i)return c;o.isFunction(b)?(j=o.BW(i),d=q(b,g)):(j=f(arguments,z,z,1),d=function(a,b,f){return b in f},i=Object(i));for(var e=0,k=j.length;k>e;e++){var l=j[e],n=i[l];d(n,l,i)&&(c[l]=n)}return c};o.Wza=function(a,b,g){if(o.isFunction(b))b=o.Wba(b);else var d=o.map(f(arguments,z,z,1),String),b=function(a,b){return!o.contains(d,b)};return o.Fva(a,b,g)};o.defaults=i(o.BW,p);o.create=function(a,b){var f=n(a);return b&&o.kaa(f,b),f};o.clone=function(a){return o.Ey(a)?o.isArray(a)?a.slice():o.extend({},
a):a};o.tap=function(a,b){return b(a),a};o.Yua=function(a,b){var f=o.keys(b),g=f.length;if(r==a)return!g;for(var d=Object(a),j=0;g>j;j++){var c=f[j];if(b[c]!==d[c]||!(c in d))return z}return p};o.isEqual=function(a,b){return e(a,b)};o.isEmpty=function(a){return r==a?p:k(a)&&(o.isArray(a)||o.isString(a)||o.isArguments(a))?0===a.length:0===o.keys(a).length};o.isElement=function(a){return!(!a||1!==a.nodeType)};o.isArray=F||function(a){return"[object Array]"===K.call(a)};o.Ey=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 K.call(b)==="[object "+a+"]"}});o.isArguments(arguments)||(o.isArguments=function(a){return o.has(a,"callee")});"function"!=typeof/./&&"object"!=typeof Int8Array&&(o.isFunction=function(a){return"function"==typeof a||z});o.Lza=function(a){return isFinite(a)&&!isNaN(parseFloat(a))};o.isNaN=function(a){return o.isNumber(a)&&a!==+a};o.isBoolean=function(a){return a===
p||a===z||"[object Boolean]"===K.call(a)};o.isNull=function(a){return r===a};o.isUndefined=function(a){return a===m};o.has=function(a,b){return r!=a&&G.call(a,b)};o.noConflict=function(){return x.bO=y,this};o.identity=function(a){return a};o.tza=function(a){return function(){return a}};o.noop=D();o.ica=j;o.$za=function(a){return r==a?D():function(b){return a[b]}};o.QX=o.Tza=function(a){return a=o.kaa({},a),function(b){return o.Yua(b,a)}};o.times=function(a,b,f){for(var g=Array(Math.max(0,a)),b=q(b,
f,1),f=0;a>f;f++)g[f]=b(f);return g};o.random=function(a,b){return r==b&&(b=a,a=0),a+Math.floor(Math.random()*(b-a+1))};o.now=Date.now||function(){return(new Date).getTime()};var F={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},ea=o.xba(F);o.escape=c(F);o.unescape=c(ea);o.result=function(a,b,f){b=r==a?m:a[b];return b===m&&(b=f),o.isFunction(b)?b.call(a):b};var fa=0;o.uniqueId=function(a){var b=++fa+"";return a?a+b:b};o.Yxa={evaluate:/<%([\s\S]+?)%>/g,Mua:/<%=([\s\S]+?)%>/g,
escape:/<%-([\s\S]+?)%>/g};var T=/(.)^/,J={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},U=/\\|'|\r|\n|\u2028|\u2029/g;o.template=function(a,f,g){function d(a){return i.call(this,a,o)}!f&&g&&(f=g);var f=o.defaults({},f,o.Yxa),j=0,c="__p+='";a.replace(RegExp([(f.escape||T).source,(f.Mua||T).source,(f.evaluate||T).source].join("|")+"|$","g"),function(f,g,d,i,e){return c+=a.slice(j,e).replace(U,b),j=e+f.length,g?c+="'+\n((__t=("+g+"))==null?'':_.escape(__t))+\n'":d?c+="'+\n((__t=("+
d+"))==null?'':__t)+\n'":i&&(c+="';\n"+i+"\n__p+='"),f});c+="';\n";f.yda||(c="with(obj||{}){\n"+c+"}\n");c="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+c+"return __p;\n";try{var i=new Function(f.yda||"obj","_",c)}catch(e){h((e.source=c,e))}return d.source="function("+(f.yda||"obj")+"){\n"+c+"}",d};o.chain=function(a){a=o(a);return a.Tga=p,a};o.mixin=function(b){o.each(o.functions(b),function(f){var g=o[f]=b[f];o.prototype[f]=function(){var b=[this.yu];
return M.apply(b,arguments),a(this,g.apply(o,b))}})};o.mixin(o);o.each("pop,push,reverse,shift,sort,splice,unshift".split(","),function(b){var f=E[b];o.prototype[b]=function(){var g=this.yu;return f.apply(g,arguments),"shift"!==b&&"splice"!==b||0!==g.length||delete g[0],a(this,g)}});o.each(["concat","join","slice"],function(b){var f=E[b];o.prototype[b]=function(){return a(this,f.apply(this.yu,arguments))}});o.prototype.value=R("yu");o.prototype.valueOf=o.prototype.toJSON=o.prototype.value;o.prototype.toString=
function(){return""+this.yu};"function"==typeof define&&define.hza&&define("lj",[],function(){return o})}).call(this)}).call(window.TDV||(window.TDV={}));define("underscore-min",D());define("dl",["underscore-min"],function(){return window.TDV._.noConflict()});
define("kV",[],function(){return{G:function(a){return a+"_change"},$c:"default",ub:"mouseDown",Hc:"mouseMove",Xb:"mouseUp",Kp:"mouseWheel",T:"click",tF:"doubleClick",pc:"rollOver",Mb:"rollOut",yh:"mouseEnter",Le:"mouseLeave",xi:"pointerOver",Fya:"pointerOut",x_:"pointerDown",y_:"pointerUp",wi:"pointerClick",oF:"gestureStart",$da:"gestureChange",nF:"gestureEnd",aea:"gestureRotate",Cv:"gestureScale",oc:"progress",gs:"close",OPEN:"open",zi:"select",vb:"resize",KM:"changing",aa:"change",vc:"stateChange",
xf:"cueChange",R:"loaded",ie:"loadingError",Ai:"start",je:"stop",zs:"play",xF:"pause",Ab:"ready",Dk:"begin",Da:"end",rya:"cancel",rg:"press",zh:"release",As:"repeatEnd",cm:"scroll",uF:"movementChange",qya:"beforeShow",hZ:"beforeHide",INIT:"init",ld:"show",wd:"hide",Kv:"showEnd",xs:"hideEnd",iea:"loadingScript",Bea:"processingScript",Av:"enableCookies",Hda:"applicationSet",jF:"userInteraction",M_:"toolTipShow",XN:"toolTipHide"}});
define("bY",[],function(){return function(a,b){this.name=a;this.source=m;this.data=b}});
define("kj",[],function(){function a(){this.Qe=[];this.Nm=[]}a.prototype.fH=function(a){for(var c=0;c<this.Qe.length;c++)if(this.Qe[c]==a)return c;return-1};a.prototype.set=function(a,c){var e=this.fH(a);0<=e?this.Nm[e]=c:(this.Qe.push(a),this.Nm.push(c))};a.prototype.bba=function(a){return 0<=this.fH(a)};a.prototype.get=function(a){a=this.fH(a);if(0<=a)return this.Nm[a]};a.prototype.keys=function(){return this.Qe.slice()};a.prototype.values=function(){return this.Nm.slice()};a.prototype.length=function(){return this.Qe.length};
a.prototype.clear=function(a){a=this.fH(a);0<=a&&(this.Qe.splice(a,1),this.Nm.splice(a,1))};a.prototype.each=function(a,c){for(var e=0;e<this.Qe.length;e++)a.call(c,this.Qe[e],this.Nm[e])};return a});
define("gm",["require","dl","kV"],function(a){function b(a){var b=d[a];if(b)return b;if("string"!=typeof a)return d[a]=function(){return a};var j=(b=f.exec(a))&&parseFloat(b[1]);switch(b&&b[4]&&b[4].toLowerCase()){case "vw":return d[a]=function(a){return a*j};case "vh":return d[a]=function(a,b){return b*j};case "vmin":return d[a]=function(a,b,f){return f*j};case "vmax":return d[a]=function(a,b,f,g){return g*j};default:return d[a]=function(){return a}}}function c(a){this.Aa=a;this.hy=this.hy.bind(this);
this.Aa.bind(e.vb,this.lb,this,p);this.HU={};this.On=[];this.lb()}a("dl");var e=a("kV");c.prototype.lb=function(){this.Ura();for(var a in this.HU)this.hy(this.HU[a]);this.On.forEach(this.hy)};c.prototype.Ura=function(){var a=this.Aa.eb();this.HK=0.01*this.Aa.Ba();this.CK=0.01*a;this.D$=Math.min(this.HK,this.CK);this.C$=Math.max(this.HK,this.CK)};c.prototype.hy=function(a){a(this.HK,this.CK,this.D$,this.C$)};c.prototype.psa=function(a){this.On.push(a)};c.prototype.Xva=function(a){a=this.On.indexOf(a);
0<=a&&this.On.splice(a,1)};c.prototype.vsa=function(a,f,d,c){function i(b,c,i,n){f.call(a,d,e(b,c,i,n))}var e=b(c);this.HU[a.Dq+"."+d]=i;i(this.HK,this.CK,this.D$,this.C$)};c.Rc={};c.get=function(a){var b=a.Dq,f=c.Rc[b];f||(f=new c(a),c.Rc[b]=f);return f};var d={},f=/^\s*((\+|\-)?(\d*\.)?\d+)\s*(vmin|vmax|vw|vh|px|%)?\s*$/i;return c});
define("jf",[],function(){function a(a,b){var d=a.split(b),f=d[0];(d=d.slice(1).join(b))&&(d=b+d);return[f,d]}var b=window.URL||D();b.Ri=document.createElement("a");b.Dba=function(a){if(b.FX(a)){var e=window.location.protocol+"//"+window.location.hostname;return a.substring(0,e.length)!=e}return z};b.bs=function(a,e){if(b.ava(a))a=window.location.protocol+a;else if(!b.FX(a)&&!b.By(a)){if(e)if(0==a.indexOf("/")){var d=e.indexOf("//"),f="";0<=d&&(f=e.substr(0,d+2),e=e.substr(d+2));d=e.indexOf("/");
0<d&&(e=e.substr(0,d));a=f+e+a}else a=e+a;b.Ri.href=a;a=b.Ri.href}return a};b.Sua=function(){switch(window.location.protocol){case "http:":case "https:":return p;default:return z}};b.ava=function(a){return 0===a.indexOf("//")};b.FX=function(a){if(!a)return z;var b=a.indexOf("://");return 3<=b&&5>=b?p:0==a.indexOf("filesystem:")};b.By=function(a){return a&&0==a.indexOf("data:")};b.getDirectory=function(a){a=b.bs(a);a=a.split("?")[0];a=a.split("/");1<a.length&&a.splice(a.length-1,1);return a.join("/")+
"/"};b.Wf=function(a){b.mx||(b.mx=b.Q3());return b.mx[a]!==m};b.hn=function(a){b.mx||(b.mx=b.Q3());return b.mx[a]};b.Cu=function(b,e){if(!e)return b;var d=a(b,"#"),f=d[1],d=a(d[0],"?"),g=d[0],d=d[1];return 0<=d.indexOf(e)?b:g+(d+(d?"&":"?")+e)+f};b.parse=function(a){b.Ri.href=a;a={};a.protocol=b.Ri.protocol;a.hostname=b.Ri.hostname;a.port=b.Ri.port;a.pathname=b.Ri.pathname;a.search=b.Ri.search;a.hash=b.Ri.hash;a.host=b.Ri.host;var e=a.pathname?a.pathname.lastIndexOf("."):-1;a.lta=0<=e?a.pathname.substr(e).toLowerCase():
"";return a};b.qza=function(a){return a.protocol+"//"+a.hostname+a.pathname+a.search+a.hash};b.getExtension=function(a){var a=b.parse(a).pathname,e=a.lastIndexOf(".");return 0<=e?a.substr(e,a.length):""};b.ph=function(a,e){switch((b.hn(a)||"").toLowerCase()){case "false":case "0":case "no":case "n":return z;case "true":case "1":case "yes":case "y":return p;default:return e}};b.Aaa=function(a,e){var d=parseInt(b.hn(a));return isNaN(d)?e:d};b.lL=function(a){a=parseFloat(b.hn(a));return isNaN(a)?m:a};
b.mx=r;b.Q3=function(){for(var a={},b=window.location.search.substring(1).split("&"),d=0;d<b.length;d++){var f=b[d].split("=");a[decodeURIComponent(f[0])]=1<f.length?decodeURIComponent(f[1]):r}return a};return b});
define("fb",["require","dl","jquery.mod"],function(a){var b=a("dl"),c=a("jquery.mod"),e={Hua:function(a,b){function d(){}d.prototype=b.prototype;a.prototype=new d;a.prototype.constructor=a},xsa:function(a,b){b.forEach(function(b){Object.getOwnPropertyNames(b).forEach(function(d){a.prototype[d]=b[d]})})},extend:function(){var a=arguments[0],b=arguments[arguments.length-1],d=Array.prototype.slice.call(arguments,1,arguments.length-1);e.Hua(b,a);e.xsa(b,d);return b},deferred:function(a,d){return function(){var c=
arguments;b.defer(function(){a.apply(d,c)})}},op:function(a,d){var c=z;return function(){c||(c=p,b.defer(function(){c=z;a.apply(d||window)}))}},memoize:function(a,b,d,j){a.jB||(a.jB=[],a.AS=[]);for(var c=a.jB,i=0,e=c.length;i<e;i++){var q=c[i];if(j.length==q.length){for(var o=p,t=0,s=j.length;t<s&&o;t++)o=q[t]==j[t];if(o)return a.AS[i]}}d=d.apply(window,j);a.jB.length==b&&(a.jB.shift(),a.AS.shift());a.jB.push(j);a.AS.push(d);return d},Iw:[],nza:function(a,b){var d=e.fia();window[d]=function(){a.apply(b,
arguments)};e.Iw.push({handler:a,context:b,callback:d});return d},Dza:function(a,b){for(var d=0;d<e.Iw.length;d++){var j=e.Iw[d];if(j.handler==a&&j.context==b)return j.callback}},kAa:function(a,b){for(var d=0;d<e.Iw.length;d++){var j=e.Iw[d];if(j.handler==a&&j.context==b)return j=j.callback,e.Iw.splice(d,1),delete window[j],j}},fia:function(){var a;do a="__callback_"+e.kca(8);while(window[a]);return a},kca:function(a){for(var b=[],d=0;d<a;d++)b.push(Math.floor(16*Math.random()).toString(16));return b.join("")},
ita:function(a){e.Ww=c("<div></div>");e.Ww.css({overflow:"auto",position:"absolute",bottom:0,left:0,right:0,padding:"20px",fontFamily:"Verdana",backgroundColor:"#FFFFFF",color:"#000000","z-index":100});a?e.Ww.css({top:0}):e.Ww.css({width:"40%",right:"0",left:"auto",height:"50%",filter:"alpha(opacity=60)",opacity:0.6});c("body").append(e.Ww);console.log=function(a){e.log(a)}}},d;e.log=function(a){if(a!=d){d=a;try{e.Ww?c("<div></div>").text(a).prependTo(e.Ww):console.log(a)}catch(b){}}};e.aAa=function(a){this.BQ.push(a)};
e.BQ=[];e.debug=function(a,b){try{b.apply(this,arguments)}catch(d){e.OL(a,d),h(d)}};e.OL=function(a,b){var d=[];d.push("Exception: "+a);b.message?(d.push(b.message),d.push(b.stack)):d.push(b);this.log(d.join("\n"));for(d=0;d<this.BQ.length;d++)this.BQ[d](b)};e.clone=function(a,b){var b=b||0,d=new a.constructor,j;for(j in a)if(a.hasOwnProperty(j)){var c=a[j];0<b&&c&&"object"===typeof c&&(c=e.clone(c,b-1));d[j]=c}return d};e.toArray=function(a){return a===m||a===r?[]:!Array.isArray(a)?[a]:a};"function"!=
typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(a,b){a==r&&h(new TypeError("Cannot convert undefined or null to object"));for(var d=Object(a),j=1;j<arguments.length;j++){var c=arguments[j];if(c!=r)for(var i in c)Object.prototype.hasOwnProperty.call(c,i)&&(d[i]=c[i])}return d},writable:p,configurable:p});return e});
define("dR","require,jquery.mod,dl,kj,gm,jf,fb".split(","),function(a){function b(a,b){this.fw=a;this.nP=b;this.UB=r;this.fT={};this.bT=this.Ms=this.Xv=m;this.T6=[];this.pD=this.uu=m;this.S6=[];this.DC=this.ju=m;this.R6={};this.lB=m;this.P6=[];this.rq=m;this.Q6=[];this.Fq=m;this.E4=this.G4=z}var c=a("jquery.mod"),e=a("dl"),d=a("kj"),f=a("gm"),g=a("jf"),k=a("fb");b.prototype.B=function(a){this.UB=a;this.O1();this.S1();this.hP();return this};b.prototype.Zta=function(){if(this.UB)return b.Ym(this.UB)};
b.prototype.ry=R("fw");b.prototype.XD=function(){return this.Aq()?this.ao().XD().concat(this.fw):[this.fw]};b.prototype.M=function(a){this.fT=a;this.O1();return this};b.prototype.hasAttributes=function(){return this.qaa().length>0};b.prototype.hasAttribute=function(a){return this.aX(a)?p:z};b.prototype.qaa=function(){this.Xv==m&&this.n2();return this.Xv};b.prototype.gxa=function(){this.bT=["definitions"];return this};b.prototype.Jaa=function(){if(this.bT)return this.bT;if(this.Aq())this.ao().Jaa();
else return[]};b.prototype.aX=function(a){this.Ms==m&&this.n2();return this.Ms[a]};b.prototype.vh=function(a){this.T6=a;this.kha();return this};b.prototype.yua=function(){return this.Raa().length>0};b.prototype.Raa=function(){this.uu==m&&this.t2();return this.uu};b.prototype.jua=function(){this.pD==m&&this.t2();return this.pD};b.prototype.zp=function(a){this.S6=a;this.iha();return this};b.prototype.xua=function(){return this.Paa().length>0};b.prototype.Paa=function(){this.ju==m&&this.s2();return this.ju};
b.prototype.iua=function(){this.DC==m&&this.s2();return this.DC};b.prototype.Rb=function(a){this.P6=a;this.hP();return this};b.prototype.sua=function(){return this.eX().length>0};b.prototype.$aa=function(a){this.rq==m&&this.BG();return e(this.rq).contains(a)};b.prototype.eX=function(){this.rq==m&&this.BG();return this.rq};b.prototype.Xf=function(a){this.Q6=a;this.hP();return this};b.prototype.vua=function(){return this.jX().length>0};b.prototype.aba=function(a){this.Fq==m&&this.BG();return e(this.Fq).contains(a)};
b.prototype.jX=function(){this.Fq==m&&this.BG();return this.Fq};b.prototype.Qg=function(a){this.R6=a;this.S1();return this};b.prototype.Haa=function(){this.lB==m&&this.Xha();return this.lB};b.prototype.Pwa=function(){this.G4=p;return this};b.prototype.Baa=function(){return this.G4||this.Aq()&&this.ao().Baa()};b.prototype.Ir=function(a,b,f,d){this.Hna(b,f);var g=this.nP,c;c=d&&d.length>0?new (k.extend(g,function(){g.apply(this,d)})):new g;c.set("application",a);c.set("baseDirectoy",b);c.set("queryStringParameters",
f);c.set("class",this.ry());return c};b.prototype.Hna=function(a,b){if(!this.E4){this.E4=p;this.iia(a,b);this.Pia()}};b.prototype.iia=function(a,b){if(this.yua()||this.xua()){var d=this.nP.prototype,c=this.jua(),e=this.iua(),k=d.set;d.set=function(d,i){if(c[d]){!g.By(i)&&!g.FX(i)&&(i=g.Cu(g.bs(i,a),b));k.call(this,d,i)}else e[d]?f.get(this.get("application")||this.Sa()).vsa(this,k,d,i):k.call(this,d,i)}}};b.prototype.Pia=function(){var a=this.nP.prototype,b=this;if(this.hasAttributes()){a.set=a.set;
a.get=a.get}if(this.sua()||this.vua()){a.bind=a.bind;a.getBindings=a.VD;a.hasBindings=a.Yaa;a.trigger=a.trigger;a.unbind=a.unbind}a.getClassName=function(){return b.ry()};a.getClassPath=function(){return b.XD()};var f=this.Haa(),d;for(d in f)a[d]=f[d]};b.prototype.O1=function(){this.Ms=this.Xv=m};b.prototype.n2=function(){this.Xv=[];this.Ms={};for(var a in this.fT){this.Xv.push(a);this.Ms[a]=b.TQ(this.fT[a])}if(this.Aq())for(var f=this.ao(),d=f.qaa(),g=0;g<d.length;g++){a=d[g];if(!this.Ms[a]){this.Xv.push(a);
this.Ms[a]=f.aX(a)}}};b.prototype.kha=function(){this.pD=m};b.prototype.t2=function(){this.uu=this.T6.slice();if(this.Aq())this.uu=e(this.uu).union(this.ao().Raa());this.pD={};for(var a=0;a<this.uu.length;a++)this.pD[this.uu[a]]=p};b.prototype.iha=function(){this.DC=m};b.prototype.s2=function(){this.ju=this.S6.slice();if(this.Aq())this.ju=e(this.ju).union(this.ao().Paa());this.DC={};for(var a=0;a<this.ju.length;a++)this.DC[this.ju[a]]=p};b.prototype.hP=function(){this.Fq=this.rq=m};b.prototype.BG=
function(){this.rq=this.P6.slice();this.Fq=this.Q6.slice();if(this.Aq()){this.rq=e(this.rq).union(this.ao().eX());this.Fq=e(this.Fq).union(this.ao().jX())}};b.prototype.S1=function(){this.lB=m};b.prototype.Xha=function(){this.lB=e(this.R6).clone();this.Aq()&&e(this.lB).defaults(this.ao().Haa())};b.prototype.Aq=function(){return this.UB?p:z};b.prototype.ao=function(){return b.Ym(this.UB)};b.M1=new d;b.L1=new d;b.dza={};b.A=function(a,f){var d=new b(a,f);b.M1.set(a,d);b.L1.set(f,d);return d};b.Ym=function(a){return b.M1.get(a)};
b.xta=function(a){return b.L1.get(a)};b.zb=function(a,f){var d=b.Ym(a);if(e(f).isNull())return p;if(f&&f.constructor)for(var g=b.xta(f.constructor);g;){if(g==d)return p;g=g.Zta()}return z};b.TQ=function(a){switch(a){case "string":case "code":return b.uqa;case "number":return b.Rla;case "bool":return b.rga;case "color":return b.qha;case "percent":return b.sna;case "size":return b.Tpa;case "identifier":return b.Ska;case "array":return b.Y0;case "dict":return b.tna;case "*":return b.Hia;default:if(b.lla(a))switch(b.yja(a)){case "array":var f=
b.TQ(b.o3(a));return function(a,d){for(var a=b.Y0(a,d),g=0;g<a.length;g++)a[g]=f(a[g],d);return a};case "enum":var d=b.p3(a);return b.zja(d);case "or":var d=b.p3(a),g=e(d).map(function(a){return b.TQ(a)});return function(a,b){for(var f=0;f<g.length;f++)try{return g[f](a,b)}catch(d){}h("Invalid value")};default:h("Invalid type validator definition: "+a)}else return b.Zk(function(f){return b.zb(a,f)})}};b.lla=function(a){return a.indexOf("[")>=0&&a.lastIndexOf("]")==a.length-1};b.yja=function(a){return a.substring(0,
a.indexOf("["))};b.o3=function(a){return a.substring(a.indexOf("[")+1,a.lastIndexOf("]"))};b.p3=function(a){for(var a=b.o3(a),f=[],d="",g=0,c=0;c<a.length;c++){var k=a.charAt(c),d=d+k;switch(k){case "[":g++;break;case "]":g--;break;case ",":if(g==0){f.push(d.substr(0,d.length-1));d=""}}}d!=""&&f.push(d);return e(f).map(function(a){return b.cra(a)})};b.cra=function(a){return a.replace(/^\s+|\s+$/g,"")};b.Zk=function(a){return function(f,d){if(!a(f)){typeof f!="string"&&h("Invalid value");f=b.Nia(f,
d);a(f)||h("Invalid value")}return f}};b.Nia=function(a,b){return function(){return eval(a)}.call(b)};b.Hia=function(a){return a};b.Rla=b.Zk(function(a){return Object.prototype.toString.call(a)=="[object Number]"});b.uqa=b.Zk(function(a){return typeof a=="string"||a===r});b.rga=b.Zk(function(a){return a===p||a===z});b.Y0=b.Zk(function(a){return Object.prototype.toString.call(a)=="[object Array]"});b.zja=function(a){return b.Zk(function(b){return e(a).contains(b)})};b.UG=function(a,b){return e(a).isString()&&
b.test(a)};b.Ska=b.Zk(function(a){return b.UG(a,/^[a-z][a-z0-9_]*$/i)});b.sna=b.Zk(function(a){return b.UG(a,/^\s*([+-]?\d+\.?\d*)%\s*$/i)});b.Tpa=b.Zk(function(a){return b.UG(a,/^\s*([+-]?\d+\.?\d*)\s*((vw)|(vh)|(vmin)|(vmax)|(px))\s*$/i)});b.qha=b.Zk(function(a){return b.UG(a,/^#[0-9a-f]{6}$/i)});b.tna=b.Zk(function(a){try{return c.isPlainObject(a)}catch(b){return z}});return b});
define("gB",["require"],function(){function a(){f[0]=f[1]=f[2]=f[3]=f[4]=f[5]=f[6]=f[7]=f[8]=f[9]=f[10]=f[11]=f[12]=f[13]=f[14]=f[15]=f[16]=0;this.FW=f;this.uL=1779033703;this.vL=3144134277;this.wL=1013904242;this.xL=2773480762;this.yL=1359893119;this.zL=2600822924;this.AL=528734635;this.BL=1541459225;this.ID=this.start=this.Gr=this.vX=0;this.XW=this.CL=z;this.first=p}var b="0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f".split(","),c=[-2147483648,8388608,32768,128],e=[24,16,8,0],d=[1116352408,1899447441,3049323471,
3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,
659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],f=[];a.prototype.update=function(a){if(!this.XW){for(var b,f=0,d,c=a.length,l=this.FW;f<c;){this.CL&&(this.CL=z,l[0]=this.ID,l[16]=l[1]=l[2]=l[3]=l[4]=l[5]=l[6]=l[7]=l[8]=l[9]=l[10]=l[11]=l[12]=l[13]=l[14]=l[15]=0);for(d=this.start;f<c&&64>d;++f)b=a.charCodeAt(f),128>b?l[d>>2]|=b<<e[d++&3]:(2048>b?l[d>>2]|=(192|b>>6)<<e[d++&3]:(55296>b||57344<=b?l[d>>
2]|=(224|b>>12)<<e[d++&3]:(b=65536+((b&1023)<<10|a.charCodeAt(++f)&1023),l[d>>2]|=(240|b>>18)<<e[d++&3],l[d>>2]|=(128|b>>12&63)<<e[d++&3]),l[d>>2]|=(128|b>>6&63)<<e[d++&3]),l[d>>2]|=(128|b&63)<<e[d++&3]);this.gva=d;this.Gr+=d-this.start;64<=d?(this.ID=l[16],this.start=d-64,this.hash(),this.CL=p):this.start=d}4294967295<this.Gr&&(this.vX+=this.Gr/4294967296<<0,this.Gr%=4294967296);return this}};a.prototype.pta=function(){if(!this.XW){this.XW=p;var a=this.FW,b=this.gva;a[16]=this.ID;a[b>>2]|=c[b&3];
this.ID=a[16];56<=b&&(this.CL||this.hash(),a[0]=this.ID,a[16]=a[1]=a[2]=a[3]=a[4]=a[5]=a[6]=a[7]=a[8]=a[9]=a[10]=a[11]=a[12]=a[13]=a[14]=a[15]=0);a[14]=this.vX<<3|this.Gr>>>29;a[15]=this.Gr<<3;this.hash()}};a.prototype.hash=function(){var a=this.uL,b=this.vL,f=this.wL,c=this.xL,i=this.yL,e=this.zL,q=this.AL,o=this.BL,t=this.FW,s,u,v,w,x,y,E;for(s=16;64>s;++s)v=t[s-15],u=(v>>>7|v<<25)^(v>>>18|v<<14)^v>>>3,v=t[s-2],v=(v>>>17|v<<15)^(v>>>19|v<<13)^v>>>10,t[s]=t[s-16]+u+t[s-7]+v<<0;E=b&f;for(s=0;64>s;s+=
4)this.first?(y=704751109,v=t[0]-210244248,o=v-1521486534<<0,c=v+143694565<<0,this.first=z):(u=(a>>>2|a<<30)^(a>>>13|a<<19)^(a>>>22|a<<10),v=(i>>>6|i<<26)^(i>>>11|i<<21)^(i>>>25|i<<7),y=a&b,w=y^a&f^E,x=i&e^~i&q,v=o+v+x+d[s]+t[s],u+=w,o=c+v<<0,c=v+u<<0),u=(c>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10),v=(o>>>6|o<<26)^(o>>>11|o<<21)^(o>>>25|o<<7),E=c&a,w=E^c&b^y,x=o&i^~o&e,v=q+v+x+d[s+1]+t[s+1],u+=w,q=f+v<<0,f=v+u<<0,u=(f>>>2|f<<30)^(f>>>13|f<<19)^(f>>>22|f<<10),v=(q>>>6|q<<26)^(q>>>11|q<<21)^(q>>>25|
q<<7),y=f&c,w=y^f&a^E,x=q&o^~q&i,v=e+v+x+d[s+2]+t[s+2],u+=w,e=b+v<<0,b=v+u<<0,u=(b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10),v=(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7),E=b&f,w=E^b&c^y,x=e&q^~e&o,v=i+v+x+d[s+3]+t[s+3],u+=w,i=a+v<<0,a=v+u<<0;this.uL=this.uL+a<<0;this.vL=this.vL+b<<0;this.wL=this.wL+f<<0;this.xL=this.xL+c<<0;this.yL=this.yL+i<<0;this.zL=this.zL+e<<0;this.AL=this.AL+q<<0;this.BL=this.BL+o<<0};a.prototype.Aua=function(){this.pta();var a=this.uL,f=this.vL,d=this.wL,c=this.xL,e=this.yL,
l=this.zL,q=this.AL,o=this.BL;return b[a>>28&15]+b[a>>24&15]+b[a>>20&15]+b[a>>16&15]+b[a>>12&15]+b[a>>8&15]+b[a>>4&15]+b[a&15]+b[f>>28&15]+b[f>>24&15]+b[f>>20&15]+b[f>>16&15]+b[f>>12&15]+b[f>>8&15]+b[f>>4&15]+b[f&15]+b[d>>28&15]+b[d>>24&15]+b[d>>20&15]+b[d>>16&15]+b[d>>12&15]+b[d>>8&15]+b[d>>4&15]+b[d&15]+b[c>>28&15]+b[c>>24&15]+b[c>>20&15]+b[c>>16&15]+b[c>>12&15]+b[c>>8&15]+b[c>>4&15]+b[c&15]+b[e>>28&15]+b[e>>24&15]+b[e>>20&15]+b[e>>16&15]+b[e>>12&15]+b[e>>8&15]+b[e>>4&15]+b[e&15]+b[l>>28&15]+b[l>>
24&15]+b[l>>20&15]+b[l>>16&15]+b[l>>12&15]+b[l>>8&15]+b[l>>4&15]+b[l&15]+b[q>>28&15]+b[q>>24&15]+b[q>>20&15]+b[q>>16&15]+b[q>>12&15]+b[q>>8&15]+b[q>>4&15]+b[q&15]+b[o>>28&15]+b[o>>24&15]+b[o>>20&15]+b[o>>16&15]+b[o>>12&15]+b[o>>8&15]+b[o>>4&15]+b[o&15]};return function(b){return(new a).update(b).Aua()}});define("jq",["require","jf"],function(a){var a=a("jf"),b={};b.pZ=a.ph("debug",z);b.dea=a.Wf("hqhls");b.Jda=a.ph("audiocontext",p);b.Kea=a.ph("testhash",z);b.Vda=a.ph("exitvronblur",z);return b});
define("bD",["require","gB","jq"],function(a){function b(a){switch(Array.isArray(a)?"array":a===r?"null":typeof a){case "array":return"["+a.map(b).join(",")+"]";case "object":return"{"+Object.keys(a).sort().map(function(d){return b(d)+":"+b(a[d])}).join(",")+"}";case "boolean":return a?"true":"false";case "number":return a.toFixed(3);case "string":return'"'+a.split('"').join('\\"')+'"';case "null":return"null";case "undefined":return"undefined";case "function":return"<function>"}return""}var c=a("gB"),
e=a("jq"),d=TDV.za.sL().MAJOR+"."+TDV.za.sL().MINOR;return{jya:function(a){var g=a.hash;delete a.hash;var a=b(a),k=c(d+a);e.Kea&&k!=g&&(console.log(d+a),console.log(k),console.log(g))}}});
define("iz",[],function(){function a(){var a=f.length,b=f.splice(0,a);d+=a;for(var g=0;g<a;g++){var c=b[g];c&&c()}}var b=window.MutationObserver,c=window.Promise,e=0,d=0,f=[],g;setInterval(function(){0<f.length&&100<(new Date).getTime()-k&&a()},100);var k,j;c&&(j=new c(function(a){a()}));b&&(g=document.createTextNode(""),(new b(a)).observe(g,{characterData:p}));return{gv:function(d,i){if(i>0||!b&&!c)return~setTimeout(d,i||1);if(f.length==0){c?j.then(a):g.textContent=e;k=(new Date).getTime()}e++;f.push(d);
return e-1},cancel:function(a){if(a<0)clearTimeout(~a);else{var b=a-d;if(b>=0){f[b]||h("invalid async handle: "+a);f[b]=r}}}}});
define("eJ",["dl","iz","bY","fb"],function(a,b,c,e){function d(){this.Qc={}}d.prototype.bind=function(a,b,d,c,e){a===m&&h("Event name undefined");b===m&&h("Event handler undefined");a in this.Qc||(this.Qc[a]=[]);this.Qc[a].push({handler:b,handlerDef:e||b,context:d||this,immediate:c?p:z});return this};d.prototype.unbind=function(b,d,c){if(b in this.Qc){var c=c||this,e=a(this.Qc[b]).select(function(a){return a.handler!=d||a.context!=c});0<e.length?this.Qc[b]=e:delete this.Qc[b]}return this};d.prototype.dya=
function(a){a in this.Qc&&delete this.Qc[a]};d.prototype.uda=function(){this.Qc={}};d.prototype.trigger=function(a,b){var d="string"==typeof a,e=d?a:a.name;e in this.Qc&&(d&&(a=new c(a,b)),a.source=this,this.Xz(a,p),e in this.Qc&&this.jia(a));return this};d.prototype.jia=function(a){d.EG.push({caller:this,event:a});d.bQ||(d.bQ=p,b.gv(d.A2))};d.EG=[];d.bQ=z;d.A2=function(){for(var a=(new Date).getTime()+1E3;d.EG.length;){var g=d.EG.shift();d.prototype.Xz.call(g.caller,g.event,z);if((new Date).getTime()>
a)break}0<d.EG.length?b.gv(d.A2,1):d.bQ=z};d.prototype.Yaa=function(a){return a in this.Qc};d.prototype.VD=function(a,b){for(var d=[],c=this.Qc[a]||[],e=0;e<c.length;e++){var i=c[e];(b===m||i.immediate==b)&&d.push(i.handlerDef)}return d};d.prototype.Xz=function(a,b){if(a.name in this.Qc)for(var d=this.Qc[a.name],c=0;c<d.length;c++){var n=d[c];if(n.immediate==b)try{n.handler.call(n.context,a)}catch(i){e.OL("Exception handling event "+a.name,i)}}};return d});
define("iP",["kV","fb","bY","eJ"],function(a,b,c,e){b=b.extend(e,function(){e.call(this);this.Oz={}});b.prototype.set=function(a,b){this.Oz[a]!=b&&(this.Oz[a]=b,this.M9(a))};b.prototype.M9=function(b){this.trigger(new c(a.G(b)))};b.prototype.get=function(a,b){var g=this.Oz[a];return g!==m?g:b};return b});
define("ff",[],function(){function a(a,c,e){this.set("undefined"!=typeof a?a:0,"undefined"!=typeof c?c:0,"undefined"!=typeof e?e:0)}a.prototype.set=function(a,c,e){this.x=a;this.y=c;this.z=e};a.prototype.clone=function(){return new a(this.x,this.y,this.z)};a.prototype.apply=function(a){a.cy(this)};a.prototype.project=function(a){a.project(this)};return a});
define("a",["fb","ff"],function(a,b){var c=a.extend(b,function(a,d,f){b.call(this,a,d,f)});c.prototype.clone=function(){return new c(this.x,this.y,this.z)};c.prototype.Qb=function(){return 0==this.x&&0==this.z?0:-Math.atan2(this.x,this.z)};c.prototype.Vb=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.lX=function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)};c.prototype.KE=function(a){a/=this.lX();this.x*=a;this.y*=a;
this.z*=a;return this};c.prototype.normalize=function(){return this.KE(1)};c.prototype.Gu=function(a){return this.x*a.x+this.y*a.y+this.z*a.z};c.prototype.XK=function(a){var b=this.z*a.x-this.x*a.z,f=this.x*a.y-this.y*a.x;this.x=this.y*a.z-this.z*a.y;this.y=b;this.z=f;return this};c.Lr=function(a,b){return new c(b.x-a.x,b.y-a.y,b.z-a.z)};c.dp=function(a,b){return new c(Math.cos(b)*Math.sin(a),Math.sin(b),Math.cos(b)*Math.cos(a))};return c});
define("gW","require,fb,iP,kV,dR,a".split(","),function(a){var b=a("fb"),c=a("iP"),e=a("kV"),d=a("dR"),f=a("a"),a=b.extend(c,function(){c.call(this);this.fW=this.Un=m;this.set("enabled",p);this.set("enabledInSurfaceSelection",p)});d.A("AdjacentPanorama",a).B("Object").M({enabled:"bool",enabledInSurfaceSelection:"bool",yaw:"number",distance:"number",panorama:"Panorama",backwardYaw:"number"}).Xf([e.zi]);a.prototype.uaa=function(){if(this.Un===m){for(this.Un=this.B3()-this.get("yaw");this.Un>180;)this.Un=
this.Un-360;for(;this.Un<-180;)this.Un=this.Un+360}return this.Un};a.prototype.Jta=function(){if(this.fW===m)this.fW=f.dp(this.B3()*Math.PI/180,0);return this.fW};a.prototype.Esa=function(){return this.get("yaw")!==m&&this.get("backwardYaw")!==m};a.prototype.B3=function(){return this.get("backwardYaw")-180};return a});define("fp",[],function(){return{K:"stopped",S:"playing",uc:"paused"}});
define("dT",["require","fb","iP","dR"],function(a){var b=a("fb"),c=a("iP"),a=a("dR"),b=b.extend(c,function(){c.call(this)});a.A("ImageResource",b).B("Object").M({levels:"array[ImageResourceLevel]"});return b});
define("dt","require,fb,kV,fp,dT,dR".split(","),function(a){var b=a("fb"),c=a("kV"),e=a("fp"),d=a("dT"),a=a("dR"),b=b.extend(d,function(){d.call(this);this.set("state",e.K);this.set("autoplay",p);this.set("repeat",0);this.set("visibleOnStop",p);this.set("finalFrame","last")});b.prototype.play=function(){this.set("state",e.S)};b.prototype.pause=function(){this.set("state",e.uc)};b.prototype.stop=function(){this.set("state",e.K)};a.A("AnimatedImageResource",b).B("ImageResource").M({autoplay:"bool",
finalFrame:"enum[first, last]",frameCount:"number",frameDuration:"number",rowCount:"number",colCount:"number",repeat:"number",state:"enum[stopped, playing, paused]",visibleOnStop:"bool"}).Rb([c.Da,c.As,c.Ai]).Qg({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")||e.K)==e.K&&b==e.S&&this.trigger(c.Ai)}d.prototype.set.call(this,a,b)};b.prototype.Lg=function(a,b,c){b||(b=1);c||(c=1);return d.prototype.Lg.call(this,
a,b*this.get("colCount",1),c*this.get("rowCount",1))};return b});
define("gn",["fb","iP","dR"],function(a,b,c){a=a.extend(b,function(a){b.call(this);this.Bx=a===m?p:a;this.Uw=this.yl=this.xl=this.X=m;this.set("enabled",p);this.set("selected",z)});c.A("HotspotMapOverlay",a).B("MapOverlay").M({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.X===m){var a=this.get("image");this.X=a?a.WK(this.Bx):r}return this.X};a.prototype.Maa=function(){if(this.xl===m){var a=this.get("rollOverImage");this.xl=a?a.WK(this.Bx):r}return this.xl};a.prototype.Oaa=function(){if(this.yl===m){var a=this.get("selectedImage");this.yl=a?a.WK(this.Bx):r}return this.yl};a.prototype.Uta=function(){if(this.Uw===m){this.Uw=[];var a=this.getItem();a&&this.Uw.push(a);(a=this.Maa())&&this.Uw.push(a);
(a=this.Oaa())&&this.Uw.push(a)}return this.Uw};return a});define("dJ",["fb","dR","gn"],function(a,b,c){a=a.extend(c,function(){c.call(this,p)});b.A("AreaHotspotMapOverlay",a).B("HotspotMapOverlay");return a});
define("kE",["require","fb","iP","dR"],function(a){var b=a("fb"),c=a("iP"),a=a("dR"),b=b.extend(c,function(){c.call(this);this.set("gain",1);this.set("fadeOutTime",0)});a.A("AudioResource",b).B("Object").M({fadeOutTime:"number",gain:"number",mp3Url:"string",oggUrl:"string"}).vh(["mp3Url","oggUrl"]);return b});define("cj",[],function(){return{ys:"inAdvance",rZ:"delayed"}});
define("R",[],function(){return{pF:"grab",qF:"grabbing",nea:"move",e_:"move-n",f_:"move-ne",WZ:"move-e",i_:"move-se",h_:"move-s",j_:"move-sw",k_:"move-w",g_:"move-nw",oea:"move-ew",qea:"move-ns",pea:"move-nesw",rea:"move-nwse",YZ:"move-fast-n",ZZ:"move-fast-ne",XZ:"move-fast-e",b_:"move-fast-se",a_:"move-fast-s",c_:"move-fast-sw",d_:"move-fast-w",$Z:"move-fast-nw",he:"hand",$c:"default",Dv:"inherit"}});
define("fA",["require","kV"],function(a){function b(){this.ag=[]}var c=a("kV");b.prototype.register=function(a){this.ofa(a);this.ag.push(a);a.get("pressed")&&this.n8(a)};b.prototype.WE=function(a){this.Xna(a)};b.prototype.ofa=function(a){a.bind(c.rg,this.A5,this,p)};b.prototype.Xna=function(a){a.unbind(c.rg,this.A5,this)};b.prototype.A5=function(a){this.n8(a.source)};b.prototype.n8=function(a){this.ag.forEach(function(b){b.set("pressed",b==a)})};b.register=function(a,b){this.WE(a);var f=this.Ef(b);
a.qO=f;f.register(a)};b.WE=function(a){a.qO&&(a.qO.WE(a),delete a.qO)};b.Ef=function(a){return this.u4[a]||(this.u4[a]=new b)};b.u4={};return b});define("dj",[],function(){return{ad:"push",Ah:"toggle"}});define("fQ",[],function(){return{Cs:"visible",MZ:"hidden",cm:"scroll"}});define("fh",[],function(){return{$c:m,v:"over",ya:"pressed",Wa:"pressedOver",F:"selected"}});define("ek",[],function(){return{pc:"rollOver",ALWAYS:"always"}});
define("r",["require","fb","jf"],function(a){function b(){}var c=a("fb"),e=a("jf");b.zj=TDV.za.wF;b.gZ=TDV.za.IN;b.$N=TDV.za.o_;b.Vya=TDV.za.MN;b.kea=TDV.za.JN;b.Aya=TDV.za.n_;b.Hya=TDV.za.LN;b.KN=TDV.za.KN;b.jz=TDV.za.jz;b.GM=TDV.za.GM;b.FM=TDV.za.FM;b.EM=TDV.za.EM;b.HM=TDV.za.HM;b.qg=TDV.za.qg;b.$E=TDV.za.$E;b.wh=TDV.za.wh;b.uj=TDV.za.uj;b.xv=TDV.za.xv;b.ds=TDV.za.ds;b.ez=TDV.za.ez;b.fz=TDV.za.fz;b.DM=TDV.za.DM;b.dF=TDV.za.dF;b.un=TDV.za.un;b.eF=TDV.za.eF;b.hz=TDV.za.hz;b.aF=TDV.za.aF;b.yv=TDV.za.yv;
b.iz=TDV.za.iz;b.es=TDV.za.es;b.iZ=TDV.za.iZ;b.gz=TDV.za.gz;b.zv=TDV.za.zv;b.bF=TDV.za.bF;b.cF=TDV.za.cF;b.IM=TDV.za.IM;b.NM=TDV.za.NM;b.lz=TDV.za.lz;b.OM=TDV.za.OM;b.PM=TDV.za.PM;b.vq=function(a){a="force_"+a;if(e.Wf("debug")&&e.Wf(a))return e.hn(a)};b.gja=b.vq("os");b.ge=function(){return b.gja||TDV.za.ge};b.bja=b.vq("browser");b.browser=function(){return b.bja||TDV.za.browser};b.cja=b.vq("browser_type");b.ey=function(){return b.cja||TDV.za.ey};b.c3=b.vq("browser_subtype");b.Wc=function(){return b.c3?
b.c3:TDV.za.Wc};b.dja=b.vq("browser_version");b.P$=function(){return b.dja||TDV.za.P$};b.fja=b.vq("device");b.Fu=function(){return b.fja||TDV.za.Fu};b.Va=function(){return TDV.za.VX};b.Tia=function(){for(var a=navigator.userAgent.toLowerCase(),b=["SM-G960","SM-G965"],d=0;d<b.length;d++)if(0<=a.indexOf(b[d].toLowerCase()))return p;return z}();b.lja=function(){for(var a=navigator.userAgent.toLowerCase(),b="SM-G920,SM-G925,SM-G928,SM-N920,SM-G930,SM-G935,SC-02H,SM-G950,SM-G955,SM-N950,SM-G960,SM-G965,SM-N960,SM-G970,SM-G973,SM-G975,SM-G977,SM-N970,SM-N975".split(","),
d=0;d<b.length;d++)if(0<=a.indexOf(b[d].toLowerCase()))return p;return z}();b.d3=b.vq("gearvrcompatible");b.TD=function(){return b.d3!==m?"true"==b.d3:b.lja};b.Wga=b.browser()!=b.uj||0>navigator.userAgent.indexOf("; wv")?z:p;b.eja=!!b.vq("chromewebview");b.Y$=function(){return b.eja||b.Wga};b.Ye=function(){return b.Wc()==b.un||b.Wc()==b.eF||b.Wc()==b.zv||b.Wc()==b.gz};b.KL=function(){return b.Wc()==b.un&&0<=navigator.userAgent.indexOf("Quest 2")};b.bva=function(){return b.Wc()==b.un&&0<=navigator.userAgent.indexOf("Quest")&&
0>navigator.userAgent.indexOf("Quest 2")};b.Mza=function(){return b.Wc()==b.un&&0>navigator.userAgent.indexOf("Quest")};b.Eba=function(){return b.Ye()&&b.TD()};b.dC=m;b.Nva=function(){b.dC===m&&(b.dC=parseInt(e.hn("sts")),isNaN(b.dC)&&(b.dC=b.Ye()&&!b.Tia?512:b.Va()&&b.ge()==b.zj?512:b.Va()?256:1024));return b.dC};b.Pka=parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||z;b.eE=
function(){return b.Pka};b.c4=function(){var a={Vaa:"unknown",Oba:1},b=document.createElement("canvas");if(b&&(b=b.getContext("webgl")||b.getContext("experimental-webgl"))){var d=b.getExtension("WEBGL_debug_renderer_info");d&&(a.Vaa=b.getParameter(d.UNMASKED_RENDERER_WEBGL));a.nva=b.getParameter(b.MAX_TEXTURE_SIZE);if(d=b.getExtension("EXT_texture_filter_anisotropic")||b.getExtension("MOZ_EXT_texture_filter_anisotropic")||b.getExtension("WEBKIT_EXT_texture_filter_anisotropic"))a.Oba=b.getParameter(d.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}return a}();
b.Uaa=function(){return b.c4};b.Jfa=function(){var a=b.c4.Vaa.match(/Apple\s+(.+)\s+GPU/);return a?a[1].toUpperCase():"unknown"}();b.iza=function(){return b.Jfa};b.sla=b.Fu()==b.lz?p:z;b.lp=function(){return b.sla};var d;b.browser()==b.wh&&(d=parseFloat(/Version\/([0-9]+\.[0-9]+)/i.exec(navigator.userAgent)[1]));b.voa=d;b.yca=function(){return b.voa};b.Q$=function(){return b.browser()==b.wh&&14<=b.yca()};b.yla="ontouchstart"in window||"undefined"!==typeof window.PointerEvent&&"undefined"!==typeof navigator.maxTouchPoints&&
0<navigator.maxTouchPoints?p:z;b.ZY=function(){return b.yla};b.Rj=e.Wf("touchenabled")?e.ph("touchenabled"):"ontouchstart"in window?b.ge()==b.$N?z:p:z;b.rM=function(){return b.Rj};b.summary=function(){return["browser: "+b.browser(),"browserType: "+b.ey(),"browserSubtype: "+b.Wc(),"device: "+b.Fu(),"isMobile: "+b.Va(),"gearVRCompatibleDevice: "+b.TD(),"chromeWebView: "+b.Y$(),"touchDevice"+b.ZY(),"touchEnabled"+b.rM()].join(", ")};b.log=function(){c.log("browser: "+b.browser());c.log("browserType: "+
b.ey());c.log("browserSubtype: "+b.Wc());c.log("device: "+b.Fu());c.log("isMobile: "+b.Va());c.log("gearVRCompatibleDevice: "+b.TD());c.log("chromeWebView: "+b.Y$());c.log("touchDevice: "+b.ZY());c.log("touchEnabled: "+b.rM())};return b});
define("iS",["require","r"],function(a){function b(){for(;n.length;)n.shift()();document.body.removeEventListener("click",b,p);document.body.removeEventListener("touchstart",d,p);document.body.removeEventListener("touchmove",e,p);document.body.removeEventListener("touchend",c,p);k=z}function c(){j&&b()}function e(){j=z}function d(){j=p;g.ge()==g.zj&&b()}function f(){document.body.addEventListener("click",b,p);document.body.addEventListener("touchstart",d,p);document.body.addEventListener("touchmove",
e,p);document.body.addEventListener("touchend",c,p)}var g=a("r"),k=z,j=z,n=[];return{vM:function(){b()},bz:function(a){n.push(a);k||(k=p,document.body?f():document.addEventListener("DOMContentLoaded",f))},fAa:function(a){a=n.indexOf(a);0<=a&&n.splice(a,1)}}});define("fZ",[],function(){return{mea:7,ZE:6,SZ:5,Bj:4,F_:3,qz:2,u_:1,Bya:0,wea:1,vea:2,uea:2,Dj:2,Lea:3,Oea:4}});define("W",[],function(){return{BN:"horizontal",YN:"vertical"}});
define("ll",[],function(){return{V_:"auto",U_:"auto",E_:"1",q_:"2",p_:"auto",ZE:"2",mZ:"3",lZ:"auto",D_:"3",N_:"100",V_:"1",U_:"auto",E_:"1",q_:"2",p_:"auto",ZE:"2",mZ:"3",lZ:"auto",D_:"5",N_:"100",uya:"101",Wda:999998,Uya:999999,gea:1E6}});
define("eZ",[],function(){var a=1,b={};return{css:function(c,e){var d=c.__duqid;d===m&&(d=a.toString(),c.__duqid=d,a++);var d=b[d]||(b[d]={e:c,s:{}}),f;for(f in e)d.s[f]=e[f]},Pva:function(){for(var a in b){var e=b[a],d=e.e.style,e=e.s,f;for(f in e)d[f]=e[f]}b={}}}});
define("by",["require"],function(){return{tua:function(a){return!!a&&0<=a.indexOf("&tdvflipx")},K$:function(a){a&&(0>a.indexOf("#")&&(a+="#"),a+="&tdvflipx");return a},tta:function(a,b,c){var e=document.createElement("canvas");e.width=b;e.height=c;c=e.getContext("2d");c.translate(b,0);c.scale(-1,1);c.drawImage(a,0,0);a.src=e.toDataURL()}}});
define("cH",["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=z}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 e={};a.setItem=function(a,b){e[a]=b};a.getItem=
function(a){return e[a]};a.removeItem=function(a){delete e[a]};a.clear=function(){e={}}}return a});
define("gs",["require","r","jf","iz","cH"],function(a){function b(a,b,d,c,e){this.url=a;this.Nd=b;this.time=d;this.Lxa=c;this.Fsa=e}var c=a("r");URL=a("jf");async=a("iz");Storage=a("cH");b.prototype.loaded=function(){e.zU(this.url);e.kC(this)};b.prototype.cancel=function(){e.kC(this)};var e={jr:[],rm:[],NC:[],YV:r,P4:{},add:function(a,d,c,e){a=new b(a,d,(new Date).getTime(),c,e);this.jr.push(a);this.I();return a},Rxa:function(a){this.NC.push(a);this.I()},Qxa:function(a){var b=this.NC,a=b.indexOf(a);
0<=a&&b.splice(a,1);this.I()}};if(c.Wc()==c.es)e.eZ=S(p),e.zU=D();else if(!URL.Wf("debug")||!URL.ph("disable-cache")){e.eZ=function(a){return this.P4[a]||Storage.getItem("tdvp_"+a)};var d=z;e.zU=function(a){this.P4[a]=p;try{Storage.setItem("tdvp_"+a,p)}catch(b){d||(d=p,Storage.clear())}}}else e.eZ=S(z),e.zU=D();e.I=function(){this.YV||(this.YV=async.gv(e.tra))};e.tra=function(){e.YV=r;for(var a=this.Aoa(),b=0,d=this.rm.length;b<d;b++){var c=this.rm[b];0>a.indexOf(c)&&c.Fsa()}var n=this.rm;this.rm=
a;b=0;for(d=this.rm.length;b<d;b++)c=this.rm[b],0>n.indexOf(c)&&c.Lxa()}.bind(e);e.Upa=function(){this.jr.sort(function(a,b){return a.Nd-b.Nd||b.time-a.time});this.NC.sort(function(a,b){return a-b})};e.Aoa=function(){this.Upa();var a=[];if(this.jr.length)for(var b=this.NC.length?this.NC[0]:this.jr[0].Nd,d=0;10>d&&d<this.jr.length&&this.jr[d].Nd<=b;d++)a.push(this.jr[d]);return a};e.kC=function(a){var b=this.jr,a=b.indexOf(a);0<=a&&b.splice(a,1);this.I()};return e});
define("hS","require,fb,bY,eJ,kV,fZ,jf,by,gs".split(","),function(a){var b=a("fb"),c=a("bY"),e=a("eJ"),d=a("kV"),f=a("fZ"),g=a("jf"),k=a("by"),j=a("gs"),a=b.extend(e,function(a){e.call(this);this.gC=a||f.mea;this.ea=this.W=this.qb=this.Jd=r;this.Nq=z;this.Ax=this.Uj=r;this.rJ=0;this.MR=[];this.uH=this.uH.bind(this);this.vH=this.vH.bind(this)});a.prototype.load=function(a){this.cancel();this.Jd=a;this.rJ=0;this.N7()};a.prototype.N7=function(){this.Uj=j.add(this.Jd,this.gC,this.cqa.bind(this),this.Qga.bind(this))};
a.prototype.cancel=function(){if(this.Uj){this.Uj.cancel();this.Uj=r}this.N1()};a.prototype.Wua=function(){return!!this.qb&&!this.Nq||this.Ax};a.prototype.kp=R("Nq");a.prototype.pe=function(a){if(a){a=this.qb.cloneNode(p);this.MR.push(a);return a}return this.qb};a.prototype.Xc=R("W");a.prototype.Kd=R("ea");a.prototype.uk=R("Jd");a.prototype.cqa=function(){this.qb=this.Sha(this.Jd)};a.prototype.Qga=function(){this.Wua()&&this.N1()};a.prototype.N1=function(){if(this.qb){if(this.Ax){clearTimeout(this.Ax);
this.Ax=r}for(this.Nq=z;this.MR.length;)this.J2(this.MR.shift());this.J2(this.qb);this.qb=r}};a.prototype.sfa=function(a){a.addEventListener("load",this.uH);a.addEventListener("error",this.vH)};a.prototype.G7=function(a){a.removeEventListener("load",this.uH);a.removeEventListener("error",this.vH)};a.prototype.uH=function(){this.Uj.loaded();this.Uj=r;this.G7(this.qb);this.Nq=p;this.W=this.qb.width;this.ea=this.qb.height;k.tua(this.Jd)&&k.tta(this.qb,this.W,this.ea);this.trigger(new c(d.R))};a.prototype.vH=
function(){this.cancel();if(this.rJ<l){this.rJ++;this.Ax=setTimeout(function(){this.Ax=r;this.N7()}.bind(this),Math.pow(2,this.rJ)*1E3)}else this.trigger(new c(d.ie))};a.prototype.Sha=function(a){var b;if(i.length>0)b=i.pop();else{b=document.createElement("img");if(g.Dba(a))b.crossOrigin="Anonymous"}b.setAttribute("draggable","false");b.style.position="static";b.style.border="none";b.style.display="none";this.sfa(b);b.src=a;return b};a.prototype.J2=function(a){this.G7(a);a.parentNode&&a.parentNode.removeChild(a);
a.src="";i.length>n&&i.push(a)};var n=100,i=[],l=5;a.UY=function(a){return j.eZ(a)};return a});
define("eT","require,dl,jquery.mod,kV,fZ,W,ll,eZ,hS".split(","),function(a){function b(){this.Tk=this.Vk=this.Wk=this.Uk=this.Kn=this.Jn=this.Mn=this.Ln=0;this.TF=this.VF=this.WF=this.UF="";this.rb=1;this.Od=m;this.Zs=[];this.rP=[];this.oP=g.YN;this.kG=z;this.rH=m;this.mf=r;this.nR=this.nW=0;this.ab=document.createElement("canvas");this.ab.setAttribute("tdvlayer","background");this.J=e(this.ab);j.css(this.ab,{position:"absolute",left:0,top:0,"z-index":k.ZE,"user-select":"none","-ms-user-select":"none",
"-moz-user-select":"none","-webkit-user-select":"none"});this.le=p}var c=a("dl"),e=a("jquery.mod"),d=a("kV"),f=a("fZ"),g=a("W"),k=a("ll"),j=a("eZ"),n=a("hS");b.prototype.setSize=function(a,b){if(this.nW!=a||this.nR!=b){this.nW=a||0;this.nR=b||0;this.le=p}};b.prototype.Uca=function(a){if(this.cl!=a){this.cl=a;this.le=p}};b.prototype.Kb=R("J");b.prototype.YD=R("ab");b.prototype.Mwa=function(a){if(this.rH!=a){if(this.mf){this.mf.unbind(d.R,this.JA,this);this.mf.cancel();this.mf=r}if(this.rH=a){this.mf=
new n(f.F_);this.mf.bind(d.R,this.JA,this);this.mf.load(this.rH)}this.le=p}};b.prototype.uY=function(a){if(this.Ln!=a){this.Ln=a;this.le=p}};b.prototype.vY=function(a){if(this.Mn!=a){this.Mn=a;this.le=p}};b.prototype.pY=function(a){if(this.Jn!=a){this.Jn=a;this.le=p}};b.prototype.qY=function(a){if(this.Kn!=a){this.Kn=a;this.le=p}};b.prototype.sY=function(a){if(this.Uk!=a){this.Uk=a;this.le=p}};b.prototype.wY=function(a){if(this.Wk!=a){this.Wk=a;this.le=p}};b.prototype.tY=function(a){if(this.Vk!=a){this.Vk=
a;this.le=p}};b.prototype.rY=function(a){if(this.Tk!=a){this.Tk=a;this.le=p}};b.prototype.qwa=function(a){if(this.UF!=a){this.UF=a;this.le=p}};b.prototype.swa=function(a){if(this.WF!=a){this.WF=a;this.le=p}};b.prototype.rwa=function(a){if(this.VF!=a){this.VF=a;this.le=p}};b.prototype.pwa=function(a){if(this.TF!=a){this.TF=a;this.le=p}};b.prototype.qj=function(a){if(this.rb!=a){this.rb=a;this.le=p}};b.prototype.qh=R("rb");b.prototype.Ty=function(a){if(!c.isEqual(this.Od,a)){this.Od=a;c(a).isArray()||
(a=[a]);a=c(a).filter(function(a){return c(a).isString()});this.Mca(a)}};b.prototype.Mca=function(a){if(!c.isEqual(this.Zs,a)){this.Zs=a;this.le=p}};b.prototype.wwa=function(a){if(this.aza!=a){this.rP=a;this.le=p}};b.prototype.vwa=function(a){if(this.oP!=a){this.oP=a;this.le=p}};b.prototype.JA=function(){this.le=p;this.Je()};b.prototype.Je=function(){if(this.le){this.I();this.le=z}};b.prototype.I=function(){var a=Math.max(0,this.nW-(this.Uk+this.Vk)),b=Math.max(0,this.nR-(this.Wk+this.Tk)),d=this.J.get(0);
d.width=a;d.height=b;var d=d.getContext("2d"),f=this.Kga(),e=f.length>0,j=this.mf&&this.mf.kp(),k=this.Uk>0&&this.UF||this.Wk>0&&this.WF||this.Vk>0&&this.VF||this.Tk>0&&this.TF,k=e||j||k;if(e){var n;n=this.oP==g.BN?d.createLinearGradient(0,0,a,0):d.createLinearGradient(0,0,0,b);c(f).forEach(function(a){n.addColorStop(a.ratio,a.color)});d.fillStyle=n;d.fillRect(0,0,a,b);this.kG=p}else if(this.kG){d.clearRect(0,0,a,b);this.kG=z}if(j){d.drawImage(this.mf.pe(),0,0,a,b);this.kG=p}this.ab.style.opacity=
this.rb;this.ab.style.filter="alpha(opacity="+Math.round(this.rb*100)+")";this.ab.style["-ms-filter"]="alpha(opacity="+Math.round(this.rb*100)+")";this.ab.style.borderTopLeftRadius=this.Ln+"px";this.ab.style.borderTopRightRadius=this.Mn+"px";this.ab.style.borderBottomLeftRadius=this.Jn+"px";this.ab.style.borderBottomRightRadius=this.Kn+"px";this.ab.style.borderLeft=this.bH(this.Uk,this.UF);this.ab.style.borderTop=this.bH(this.Wk,this.WF);this.ab.style.borderRight=this.bH(this.Vk,this.VF);this.ab.style.borderBottom=
this.bH(this.Tk,this.TF);this.ab.style.width=a+"px";this.ab.style.height=b+"px";this.ab.style.cursor="inherit";this.ab.style.display=k?"block":"none";if(this.ab.clientWidth===0&&a!==0){this.ab.style.width=0;this.ab.style.width=a+"px"}};b.prototype.bH=function(a,b){return a>0?b?a+"px solid "+b:a+"px solid transparent":"none"};b.prototype.Kga=function(){var a=[];if(this.Zs.length>0){for(var b=this.Zs.slice(),b=[].concat([b[0]],b,[b[b.length-1]]),d=this.Jga(),d=[].concat([0],d,[1]),f=0;f<b.length;f++){var g=
d[f];g>=0&&a.push({color:b[f],ratio:g})}for(f=0;f<a.length-1;)a[f].ratio==a[f+1].ratio&&a[f].color==a[f+1].color?a.splice(f,1):f++;for(f=1;f<a.length-1;)a[f-1].ratio==a[f+1].ratio?a.splice(f,1):f++}return a};b.prototype.Jga=function(){var a=this.Zs.length,b;for(b=this.rP.length>0?c(this.rP).map(function(a){return Math.min(1,Math.max(0,a))}):a==1?[0.5]:c(c.range(a)).map(function(b,d){return 1*d/(a-1)});b.length<a;)b.push(1);b.length>a&&b.splice(a,b.length-a);return b};return b});
define("dE",["jquery.mod","ll","eZ"],function(a,b,c){function e(){this.EI=this.GI=this.HI=this.FI=this.Tk=this.Vk=this.Wk=this.Uk=0;this.SB=this.cl=p;this.jW=this.ER=0;this.Z=p;this.rC=document.createElement("div");this.rC.setAttribute("tdvlayer","content");this.Z7=a(this.rC);c.css(this.rC,{position:"absolute"});this.aA=document.createElement("div");this.i2=a(this.aA);c.css(this.aA,{position:"absolute"});this.Z7.append(this.i2)}e.prototype.append=function(a){this.i2.append(a)};e.prototype.DW=function(a){this.aA.appendChild(a)};
e.prototype.$va=function(a){this.aA.removeChild(a)};e.prototype.Kb=R("Z7");e.prototype.YD=R("rC");e.prototype.Jwa=function(a){this.ER!=a&&(this.ER=a,this.Z=p)};e.prototype.Exa=function(a){this.jW!=a&&(this.jW=a,this.Z=p)};e.prototype.uy=function(){return this.FI+this.Uk};e.prototype.xy=function(){return this.HI+this.Wk};e.prototype.wy=function(){return this.GI+this.Vk};e.prototype.qy=function(){return this.EI+this.Tk};e.prototype.Vy=function(a){this.SB!=a&&(this.SB=a,this.Z=p)};e.prototype.jxa=function(a){this.FI!=
a&&(this.FI=a,this.Z=p)};e.prototype.lxa=function(a){this.HI!=a&&(this.HI=a,this.Z=p)};e.prototype.kxa=function(a){this.GI!=a&&(this.GI=a,this.Z=p)};e.prototype.ixa=function(a){this.EI!=a&&(this.EI=a,this.Z=p)};e.prototype.sY=function(a){this.Uk!=a&&(this.Uk=a,this.Z=p)};e.prototype.wY=function(a){this.Wk!=a&&(this.Wk=a,this.Z=p)};e.prototype.tY=function(a){this.Vk!=a&&(this.Vk=a,this.Z=p)};e.prototype.rY=function(a){this.Tk!=a&&(this.Tk=a,this.Z=p)};e.prototype.Uca=function(a){this.cl!=a&&(this.cl=
a,this.Z=p)};e.prototype.Je=function(){this.Z&&(this.I(),this.Z=z)};e.prototype.I=function(){c.css(this.rC,{overflow:this.SB?"visible":"hidden","z-index":this.cl?b.mZ:b.lZ,left:this.uy()+"px",top:this.xy()+"px",right:this.wy()+"px",bottom:this.qy()+"px",cursor:"inherit"});c.css(this.aA,{left:-this.ER+"px",top:-this.jW+"px",right:this.SB?0:"initial",bottom:this.SB?0:"initial",cursor:"inherit"})};return e});
define("hv",["dl","jquery.mod","fb","ll","eZ"],function(a,b,c,e,d){function f(){this.ea=this.W=this.da=this.ca=m;this.Kn=this.Jn=this.Mn=this.Ln=0;this.Dc=z;this.DR=0;this.iW=4;this.UO=6;this.QU=0;this.Od="#000000";this.rb=1;this.ab=document.createElement("div");this.ab.setAttribute("tdvlayer","shadow");this.J=b(this.ab);d.css(this.ab,{position:"absolute",left:0,top:0,right:0,bottom:"0"});this.Z=z}f.prototype.Kb=R("J");f.prototype.YD=R("ab");f.prototype.uY=function(a){this.Ln!=a&&(this.Ln=a,this.Z=
p)};f.prototype.vY=function(a){this.Mn!=a&&(this.Mn=a,this.Z=p)};f.prototype.pY=function(a){this.Jn!=a&&(this.Jn=a,this.Z=p)};f.prototype.qY=function(a){this.Kn!=a&&(this.Kn=a,this.Z=p)};f.prototype.qj=function(a){this.rb!=a&&(this.rb=a,this.Z=p)};f.prototype.qh=R("rb");f.prototype.Ze=function(a){this.Dc!=a&&(this.Dc=a,this.Z=p)};f.prototype.Iwa=function(a){this.DR!=a&&(this.DR=a,this.Z=p)};f.prototype.Dxa=function(a){this.iW!=a&&(this.iW=a,this.Z=p)};f.prototype.owa=function(a){this.UO!=a&&(this.UO=
a,this.Z=p)};f.prototype.uxa=function(a){this.QU!=a&&(this.QU=a,this.Z=p)};f.prototype.Ty=function(a){this.Od!=a&&(this.Od=a,this.Z=p)};f.prototype.Je=function(){this.Z&&(this.I(),this.Z=z)};f.prototype.I=function(){var a=this.DR+"px "+this.iW+"px "+this.UO+"px "+this.QU+"px "+this.Od;this.ab.style.display=this.Dc?"block":"none";this.ab.style.boxShadow=a;this.ab.style["-webkit-box-shadow"]=a;this.ab.style["-moz-box-shadow"]=a;this.ab.style.borderTopLeftRadius=this.Ln+"px";this.ab.style.borderTopRightRadius=
this.Mn+"px";this.ab.style.borderBottomLeftRadius=this.Jn+"px";this.ab.style.borderBottomRightRadius=this.Kn+"px";this.ab.style.filter="alpha(opacity="+Math.round(100*this.rb)+")";this.ab.style["-ms-filter"]="alpha(opacity="+Math.round(100*this.rb)+")";this.ab.style.opacity=this.rb;this.ab.style.zIndex=e.E_};return f});
define("jN","require,jquery.mod,dl,fb,iP,R,kV,eT,dE,hv,ll,bY,eZ,r".split(","),function(a){var b=a("jquery.mod");a("dl");var c=a("fb"),e=a("iP"),d=a("R"),f=a("kV"),g=a("eT"),k=a("dE"),j=a("hv"),n=a("ll"),i=a("bY"),l=a("eZ");a("r");var q=c.extend(e,function(){e.call(this);this.Dq=q.Dq++;this.xP=this.bd=this.eT=this.RB=this.JU=this.J=this.ab=r;this.O9=this.y4=z;this.P=this.Aa=r;this.ea=this.W=this.Ht=this.Gt=0;this.Iq=this.Dc=z;this.q4=p;this.hB=this.iB=this.Nh=this.Oh=0;this.rb=1;this.hf=d.$c;this.set("inView",
z);this.set("toolTip",m);this.gu(p);this.BU(p)});q.prototype.Tc=P("fw");q.prototype.toString=function(){return"["+this.J.attr("tdvclass")+"::"+this.Dq+"]"};q.prototype.log=function(a){c.log(a+" "+this.toString()+" "+(new Date).getTime().toString())};q.prototype.Sa=R("Aa");q.prototype.Em=function(a){(this.Aa=a)&&this.OR();this.Vx();this.trigger(f.Hda)};q.prototype.Kb=function(){this.J=b(this.Zn());this.Kb=R("J");return this.J};q.prototype.Zn=function(){this.ab=document.createElement("div");this.ab.setAttribute("id",
this.Dq);this.fw&&this.ab.setAttribute("tdvclass",this.fw);l.css(this.ab,{margin:0,padding:0,position:"absolute",overflow:"visible",display:"block"});this.Zn=R("ab");return this.ab};q.prototype.Gh=function(){this.JU=new j;this.Gh=R("JU");return this.JU};q.prototype.xb=function(){this.bd=new g;this.xb=R("bd");return this.bd};q.prototype.Hw=function(){this.RB=document.createElement("div");this.RB.setAttribute("tdvlayer","overShadow");l.css(this.RB,{position:"absolute",left:0,top:0,cursor:"inherit"});
this.Hw=R("RB");return this.RB};q.prototype.dR=function(){this.eT=b(this.Hw());this.dR=R("eT");return this.eT};q.prototype.Pa=function(){this.xP=new k;this.Pa=R("xP");return this.xP};q.prototype.getParent=R("P");q.prototype.Ba=R("W");q.prototype.eb=R("ea");q.prototype.rua=function(){return this.W!==m&&this.ea!==m};q.prototype.Dd=function(){return this.W-this.Pa().uy()-this.Pa().wy()};q.prototype.Cd=function(){return this.ea-this.Pa().xy()-this.Pa().qy()};q.prototype.ki=function(){return this.Pa().uy()};
q.prototype.$m=function(){return this.Pa().xy()};q.prototype.Zm=function(){return this.Pa().wy()};q.prototype.sy=function(){return this.Pa().qy()};q.prototype.Ze=function(a){if(this.Dc!=a){this.Dc=a;this.yc();if(this.P){this.P.Ta();this.P.Fc()}this.Vx()}};q.prototype.Vx=function(){var a=z;this.Aa&&this.Dc&&this.qh()>0&&(this==this.Aa?a=p:this.P&&(a=this.P.Iq));this.Iq!=a&&this.HO(a)};q.prototype.HO=function(a){this.Iq=a;this.set("inView",a);this.Iq?this.trigger(new i(f.ld)):this.trigger(new i(f.wd))};
q.prototype.mpa=function(a){if(this.q4!=a){this.q4=a;this.P&&this.P.Fc()}};q.prototype.gpa=function(a){if(this.Cw!=a){this.Cw=a;this.Ta()}};q.prototype.fpa=function(a){if(this.Bw!=a){this.Bw=a;this.Ta()}};q.prototype.epa=function(a){if(this.Aw!=a){this.Aw=a;this.Ta()}};q.prototype.dpa=function(a){if(this.zw!=a){this.zw=a;this.Ta()}};q.prototype.hpa=function(a){if(this.Ji!=a){this.Ji=a;if(this.Ji!=m)this.Yi=m;this.Ta()}};q.prototype.cpa=function(a){if(this.kt!=a){this.kt=a;if(this.kt!=m)this.Xi=m;
this.Ta()}};q.prototype.xpa=function(a){if(this.Yi!=a){this.Yi=a;if(this.Yi!=m)this.Ji=m;this.Ta()}};q.prototype.tpa=function(a){if(this.Xi!=a){this.Xi=a;if(this.Xi!=m)this.kt=m;this.Ta()}};q.prototype.opa=function(a){if(this.mo!=a){if(a!=m)this.TI=m;this.mo=a;this.P&&this.P.Fc();this.Ta()}};q.prototype.Jpa=function(a){if(this.So!=a){if(a!=m)this.VI=m;this.So=a;this.P&&this.P.Fc();this.Ta()}};q.prototype.ypa=function(a){if(this.nC!=a){if(a!=m)this.UI=m;this.nC=a;this.P&&this.P.Fc();this.Ta()}};q.prototype.Woa=
function(a){if(this.Qz!=a){if(a!=m)this.SI=m;this.Qz=a;this.P&&this.P.Fc();this.Ta()}};q.prototype.upa=function(a){if(this.TI!=a){if(a!=m)this.mo=m;this.TI=a;this.P&&this.P.Fc();this.Ta()}};q.prototype.wpa=function(a){if(this.VI!=a){if(a!=m)this.So=m;this.VI=a;this.P&&this.P.Fc();this.Ta()}};q.prototype.vpa=function(a){if(this.UI!=a){if(a!=m)this.nC=m;this.UI=a;this.P&&this.P.Fc();this.Ta()}};q.prototype.spa=function(a){if(this.SI!=a){if(a!=m)this.Qz=m;this.SI=a;this.P&&this.P.Fc();this.Ta()}};q.prototype.Zoa=
function(a){if(this.aq!=a){this.aq=a;this.P&&this.P.Fc()}};q.prototype.$oa=function(a){if(this.bq!=a){this.bq=a;this.P&&this.P.Fc()}};q.prototype.gn=function(){return isNaN(this.Ji)?this.Oh:this.Ji};q.prototype.dn=function(){return isNaN(this.kt)?this.Nh:this.kt};q.prototype.fka=function(){return isNaN(this.Oia)?this.Y4:this.Oia};q.prototype.bn=function(){return isNaN(this.Cw)?this.iB:this.Cw};q.prototype.gp=function(){return isNaN(this.Bw)?this.hB:this.Bw};q.prototype.qL=function(){return isNaN(this.Aw)?
1E4:this.Aw};q.prototype.pL=function(){return isNaN(this.zw)?1E4:this.zw};q.prototype.A8=function(a){if(this.gR()!=a){this.Pa().jxa(a);this.Ta()}};q.prototype.gR=function(){return this.Pa().FI};q.prototype.C8=function(a){if(this.iR()!=a){this.Pa().lxa(a);this.Ta()}};q.prototype.iR=function(){return this.Pa().HI};q.prototype.B8=function(a){if(this.hR()!=a){this.Pa().kxa(a);this.Ta()}};q.prototype.hR=function(){return this.Pa().GI};q.prototype.z8=function(a){if(this.fR()!=a){this.Pa().ixa(a);this.Ta()}};
q.prototype.fR=function(){return this.Pa().EI};q.prototype.LE=function(a){if(this.Gt!=a){this.Gt=a;this.rh()}};q.prototype.ME=function(a){if(this.Ht!=a){this.Ht=a;this.rh()}};q.prototype.qj=function(a){if(this.rb!=a){this.rb=a;l.css(this.Hw(),{filter:"alpha(opacity="+Math.round(this.rb*100)+") ",opacity:this.rb});this.Vx();this.rh()}};q.prototype.qh=R("rb");q.prototype.Toa=function(a){if(this.xb().Ln!=a){this.Gh().uY(a);this.xb().uY(a)}};q.prototype.wja=function(){return this.xb().Ln};q.prototype.Uoa=
function(a){if(this.xb().Mn!=a){this.Gh().vY(a);this.xb().vY(a)}};q.prototype.xja=function(){return this.xb().Mn};q.prototype.Loa=function(a){if(this.xb().Jn!=a){this.Gh().pY(a);this.xb().pY(a)}};q.prototype.uja=function(){return this.xb().Jn};q.prototype.Moa=function(a){if(this.xb().Kn!=a){this.Gh().qY(a);this.xb().qY(a)}};q.prototype.vja=function(){return this.xb().Kn};q.prototype.Poa=function(a){if(this.xb().Uk!=a){this.xb().sY(a);this.Pa().sY(a);this.Ta()}};q.prototype.r3=function(){return this.xb().Uk};
q.prototype.Voa=function(a){if(this.xb().Wk!=a){this.xb().wY(a);this.Pa().wY(a);this.Ta()}};q.prototype.t3=function(){return this.xb().Wk};q.prototype.Roa=function(a){if(this.xb().Vk!=a){this.xb().tY(a);this.Pa().tY(a);this.Ta()}};q.prototype.s3=function(){return this.xb().Vk};q.prototype.Noa=function(a){if(this.xb().Tk!=a){this.xb().rY(a);this.Pa().rY(a);this.Ta()}};q.prototype.q3=function(){return this.xb().Tk};q.prototype.Ooa=function(a){this.xb().qwa(a)};q.prototype.Soa=function(a){this.xb().swa(a)};
q.prototype.Qoa=function(a){this.xb().rwa(a)};q.prototype.Koa=function(a){this.xb().pwa(a)};q.prototype.LJ=function(a){this.Gh().Ze(a)};q.prototype.Epa=function(a){this.Gh().Iwa(a)};q.prototype.Hpa=function(a){this.Gh().Dxa(a)};q.prototype.Cpa=function(a){this.Gh().owa(a)};q.prototype.Gpa=function(a){this.Gh().uxa(a)};q.prototype.Fpa=function(a){this.Gh().qj(a)};q.prototype.Dpa=function(a){this.Gh().Ty(a)};q.prototype.Hoa=function(a){this.sja()!=a&&this.xb().qj(a)};q.prototype.sja=function(){return this.xb().qh()};
q.prototype.Doa=function(a){this.rja()!=a&&this.xb().Ty(a)};q.prototype.rja=function(){return this.xb().Od};q.prototype.Foa=function(a){this.xb().wwa(a)};q.prototype.Eoa=function(a){this.xb().vwa(a)};q.prototype.Goa=function(a){this.xb().Mwa(a)};q.prototype.sr=function(a){if(this.hf!=a){this.hf=a;this.rh()}};q.prototype.gu=function(a){if(this.cl!=a){this.cl=a;l.css(this.Hw(),{"z-index":this.cl?n.q_:n.p_});this.Pa().Uca(this.cl);this.rh()}};q.prototype.BU=function(a){if(this.a7!=a){this.a7=a;l.css(this.Zn(),
{"z-index":this.a7?n.V_:n.U_});this.rh()}};q.prototype.Pk=function(){this.Vx();this.fE()};q.prototype.aj=function(){this.Vx()};q.prototype.bU=D();q.prototype.OR=function(){this.fE();this.yc();this.Ta();this.Fc();this.rh()};q.prototype.ro=function(){this.hB=this.iB=this.Nh=this.Oh=0;this.Y4=m};q.prototype.fE=function(){var a=this.Sa();a&&a.Uv.fE(this)};q.prototype.yc=function(){var a=this.Sa();a&&a.Uv.yc(this)};q.prototype.Ta=function(){var a=this.Sa();a&&a.Uv.Ta(this)};q.prototype.Fc=function(){var a=
this.Sa();a&&a.Uv.Fc(this)};q.prototype.rh=function(){var a=this.Sa();a&&a.Uv.rh(this)};q.prototype.sR=function(){var a=isNaN(this.TI)&&isNaN(this.mo),b=isNaN(this.UI)&&isNaN(this.nC);return isNaN(this.Ji)&&isNaN(this.Yi)&&(a||b)?p:z};q.prototype.d4=function(){var a=isNaN(this.VI)&&isNaN(this.So),b=isNaN(this.SI)&&isNaN(this.Qz);return isNaN(this.kt)&&isNaN(this.Xi)&&(a||b)?p:z};q.prototype.Kra=function(){this.ro();var a=this.fka();if(a){var b=this.sR(),f=this.d4();if(b&&!f){b=this.Cd();if(b!=0){this.Oh=
b*a+this.ki()+this.Zm();this.Nh=b+this.$m()+this.sy()}}else if(!b&&f){b=this.Dd();if(b!=0){this.Nh=b/a+this.ki()+this.Zm();this.Oh=b+this.ki()+this.Zm()}}}if(!isNaN(this.Cw)&&this.Oh<this.Cw)this.Oh=this.Cw;if(!isNaN(this.Aw)&&this.Oh>this.Aw)this.Oh=this.Aw;if(!isNaN(this.Bw)&&this.Nh<this.Bw)this.Nh=this.Bw;if(!isNaN(this.zw)&&this.Nh>this.zw)this.Nh=this.zw};q.prototype.Ha=function(){if(!this.O9){this.O9=p;var a=this.Zn(),b=this.Hw();a.appendChild(this.Gh().YD());a.appendChild(b);b.appendChild(this.xb().YD());
b.appendChild(this.Pa().YD())}};q.prototype.gya=function(){this.Kra();var a=this.gn(),b=this.dn(),f=this.bn(),d=this.gp();if(a!=this.Xla||b!=this.Wla||f!=this.Tla||d!=this.Sla||this.Yi!=this.Vla||this.Xi!=this.Ula){this.Xla=a;this.Wla=b;this.Tla=f;this.Sla=d;this.Vla=this.Yi;this.Ula=this.Xi;return p}return z};q.prototype.ga=function(){this.rh()};q.prototype.ti=D();q.prototype.Lca=function(a,b,d,c){if(this.ca!=a||this.da!=b||this.W!=d||this.ea!=c){this.ca=a;this.da=b;this.W=d;this.ea=c;this.xb().setSize(this.W,
this.ea);this.Fc();this.rh();this.trigger(new i(f.vb))}};q.prototype.Je=function(){var a=this.Zn(),b=this.Hw();if(this.Dc){b.style.width=this.W+"px";b.style.height=this.ea+"px";a.style.left=this.ca+this.Gt+"px";a.style.top=this.da+this.Ht+"px";a.style.width=this.W+"px";a.style.height=this.ea+"px";a.style.visibility="inherit";a.style.overflow="visible";a.style.cursor=this.Aa&&this.Aa.YP.raa(this.hf);if(b.clientWidth===0&&this.W!==0){a.style.width=0;a.style.width=this.W+"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.Gh().Je();this.xb().Je();this.Pa().Je();if(!this.y4&&this.Aa){this.y4=p;this.Aa.W8?this.PR():this.Aa.bind(f.Ai,this.PR,this,p)}};q.prototype.PR=function(){this.trigger(f.INIT)};q.prototype.fua=function(a){var a=a.Kb().offset(),b=this.Kb().offset(),f={};f.left=b.left-a.left;f.top=b.top-a.top;if(this.Aa){f.left=f.left/this.Aa.jx;f.top=f.top/this.Aa.jx}return f};q.Dq=0;return q});
define("J","require,dl,fb,kV,bY,fh,jN".split(","),function(a){var b=a("dl"),c=a("fb"),e=a("kV"),d=a("bY"),f=a("fh"),g=a("jN"),k=c.extend(g,function(){this.U={};this.Go=this.e3=m;this.ir={};this.b3=p;this.X8={};g.call(this);this.kia();this.xa();this.Tc("UICustomizable");this.yc()});k.ib={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:z,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};k.prototype.kia=function(){this.X8[f.Wa]=f.ya};k.prototype.xa=function(){this.Lj(k.ib)};k.prototype.Lj=function(a){for(var b in a){var f=a[b],d=f&&f.length;!d||typeof f=="string"?this.f(b,f):d==1?this.f(b,f[0]):d==2?this.h(b,f[0],f[1]):d==3&&this.h(b,f[0],f[1],f[2])}};k.prototype.f=function(a,b){this.U[a]={i:p,d:b}};k.prototype.lka=function(){var a=[],b;for(b in this.U)a.push(b);
return a};k.prototype.h=function(a,b,f,d){this.ir[b]||(this.ir[b]={});this.f(a,d);this.ir[b][f]=a};k.prototype.Hx=function(a,b){if(b)this.e3=a;else if(this.e3!=m)return;if(this.Go!=a){var f=this.ir[this.Go];if(f)for(var d in f)(this.U[d]||(this.U[d]={})).i=p;this.Go=a;if(f=this.ir[this.Go])for(d in f)(this.U[d]||(this.U[d]={})).i=p;this.yc()}};k.prototype.N=function(a){if(b(a).isString())this.set(a,m);else{var f=a;for(a in f)this.set(a,f[a])}};k.prototype.set=function(a,f){var d=this.U[a];if(d){f==
m&&(f=d.d);if(!b.isEqual(this.get(a),f)){a=="state"&&this.Hx(f,p);g.prototype.set.call(this,a,f);d.i=p;this.yc()}}else g.prototype.set.call(this,a,f)};k.prototype.get=function(a,b){switch(a){case "actualWidth":return this.Ba();case "actualHeight":return this.eb();default:var f=g.prototype.get.call(this,a);if(f===m){var d=this.U[a];d&&(f=d.d);f===m&&(f=b)}return f}};k.prototype.X0=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 z};k.prototype.n=function(a){if((this.U[a]||{}).i)return p;if(this.Go!==m){a=this.ir[this.Go][a];return!!(this.U[a]||{}).i}};k.prototype.hu=function(a){(this.U[a]||(this.U[a]={})).i=p;this.yc()};k.prototype.p=function(a){(this.U[a]||
(this.U[a]={})).i=z;if(this.Go!=m)(a=this.ir[this.Go][a])&&((this.U[a]||(this.U[a]={})).i=z)};k.prototype.j=function(){for(var a,b=0;b<arguments.length;b++){for(var f=arguments[b],d=this.Go;d;){if(a=this.ir[d][f]){a=this.get(a);if(a!=m&&a!=r)return a}d=this.X8[d]}a=this.get(f);if(a!=m&&a!=r)return a}};k.prototype.KU=function(a){a.source.unbind(e.Da,this.KU,this);this.trigger(new d(e.Kv))};k.prototype.AR=function(a){a.source.unbind(e.Da,this.AR,this);this.trigger(new d(e.xs))};k.prototype.ga=function(){if(this.b3)this.b3=
z;else if(this.n("visible")){var a=this.j("visible"),b=this.get(a?"hideEffect":"showEffect");if(b&&b.Fy(this)){b.unbind(e.Da,a?this.AR:this.KU,this);b.end()}if(b=this.get(a?"showEffect":"hideEffect")){if(!b.Fy(this)){this.p("visible");b.bind(e.Da,a?this.KU:this.AR,this);b.play(this)}}else this.trigger(new d(a?e.Kv:e.xs))}if(this.n("visible")){this.Ze(this.j("visible"));this.p("visible")}if(this.n("includeInLayout")){this.mpa(this.j("includeInLayout"));this.p("includeInLayout")}if(this.n("left")){b=
this.j("left");a=k.zk(b);b=a===m?b:m;this.upa(a);this.opa(b);this.p("left")}if(this.n("top")){b=this.j("top");a=k.zk(b);b=a===m?b:m;this.wpa(a);this.Jpa(b);this.p("top")}if(this.n("right")){b=this.j("right");a=k.zk(b);b=a===m?b:m;this.vpa(a);this.ypa(b);this.p("right")}if(this.n("bottom")){b=this.j("bottom");a=k.zk(b);b=a===m?b:m;this.spa(a);this.Woa(b);this.p("bottom")}if(this.n("centerX")){this.Zoa(this.j("centerX"));this.p("centerX")}if(this.n("centerY")){this.$oa(this.j("centerY"));this.p("centerY")}if(this.n("width")){b=
this.j("width");a=k.zk(b);b=a===m?b:m;this.xpa(a);this.hpa(b);this.p("width")}if(this.n("height")){b=this.j("height");a=k.zk(b);b=a===m?b:m;this.tpa(a);this.cpa(b);this.p("height")}if(this.n("minWidth")){b=this.j("minWidth");this.gpa(b);this.p("minWidth")}if(this.n("minHeight")){b=this.j("minHeight");this.fpa(b);this.p("minHeight")}if(this.n("maxWidth")){b=this.j("maxWidth");this.epa(b);this.p("maxWidth")}if(this.n("maxHeight")){b=this.j("maxHeight");this.dpa(b);this.p("maxHeight")}if(this.n("paddingLeft")){this.A8(this.j("paddingLeft"));
this.p("paddingLeft")}if(this.n("paddingTop")){this.C8(this.j("paddingTop"));this.p("paddingTop")}if(this.n("paddingRight")){this.B8(this.j("paddingRight"));this.p("paddingRight")}if(this.n("paddingBottom")){this.z8(this.j("paddingBottom"));this.p("paddingBottom")}a=z;if(this.n("borderRadius")){this.p("borderRadius");a=p}b=z;if(this.n("borderLeftRadius")){this.p("borderLeftRadius");b=p}var f=z;if(this.n("borderTopRadius")){this.p("borderTopRadius");f=p}var c=z;if(this.n("borderRightRadius")){this.p("borderRightRadius");
c=p}var q=z;if(this.n("borderBottomRadius")){this.p("borderBottomRadius");q=p}if(this.n("borderTopLeftRadius")||f||b||a){this.Toa(this.j("borderTopLeftRadius","borderLeftRadius","borderTopRadius","borderRadius"));this.p("borderTopLeftRadius")}if(this.n("borderTopRightRadius")||f||c||a){this.Uoa(this.j("borderTopRightRadius","borderRightRadius","borderTopRadius","borderRadius"));this.p("borderTopRightRadius")}if(this.n("borderBottomLeftRadius")||q||b||a){this.Loa(this.j("borderBottomLeftRadius","borderLeftRadius",
"borderBottomRadius","borderRadius"));this.p("borderBottomLeftRadius")}if(this.n("borderBottomRightRadius")||q||c||a){this.Moa(this.j("borderBottomRightRadius","borderRightRadius","borderBottomRadius","borderRadius"));this.p("borderBottomRightRadius")}a=z;if(this.n("borderSize")){this.p("borderSize");a=p}if(this.n("borderLeftSize")||a){this.Poa(this.j("borderLeftSize","borderSize"));this.p("borderLeftSize")}if(this.n("borderTopSize")||a){this.Voa(this.j("borderTopSize","borderSize"));this.p("borderTopSize")}if(this.n("borderRightSize")||
a){this.Roa(this.j("borderRightSize","borderSize"));this.p("borderRightSize")}if(this.n("borderBottomSize")||a){this.Noa(this.j("borderBottomSize","borderSize"));this.p("borderBottomSize")}a=z;if(this.n("borderColor")){this.p("borderColor");a=p}if(this.n("borderLeftColor")||a){this.Ooa(this.j("borderLeftColor","borderColor"));this.p("borderLeftColor")}if(this.n("borderTopColor")||a){this.Soa(this.j("borderTopColor","borderColor"));this.p("borderTopColor")}if(this.n("borderRightColor")||a){this.Qoa(this.j("borderRightColor",
"borderColor"));this.p("borderRightColor")}if(this.n("borderBottomColor")||a){this.Koa(this.j("borderBottomColor","borderColor"));this.p("borderBottomColor")}if(this.n("shadow")){this.LJ(this.j("shadow"));this.p("shadow")}if(this.n("shadowHorizontalLength")){this.Epa(this.j("shadowHorizontalLength"));this.p("shadowHorizontalLength")}if(this.n("shadowVerticalLength")){this.Hpa(this.j("shadowVerticalLength"));this.p("shadowVerticalLength")}if(this.n("shadowBlurRadius")){this.Cpa(this.j("shadowBlurRadius"));
this.p("shadowBlurRadius")}if(this.n("shadowSpread")){this.Gpa(this.j("shadowSpread"));this.p("shadowSpread")}if(this.n("shadowColor")){this.Dpa(this.j("shadowColor"));this.p("shadowColor")}a=z;if(this.n("opacity")){this.qj(this.j("opacity"));this.p("opacity");a=p}if(this.n("shadowOpacity")||a){this.Fpa(this.j("shadowOpacity","opacity"));this.p("shadowOpacity")}if(this.n("backgroundOpacity")){this.Hoa(this.j("backgroundOpacity"));this.p("backgroundOpacity")}if(this.n("backgroundColor")){this.Doa(this.j("backgroundColor"));
this.p("backgroundColor")}if(this.n("backgroundColorRatios")){this.Foa(this.j("backgroundColorRatios"));this.p("backgroundColorRatios")}if(this.n("backgroundColorDirection")){this.Eoa(this.j("backgroundColorDirection"));this.p("backgroundColorDirection")}if(this.n("backgroundImageUrl")){this.Goa(this.j("backgroundImageUrl"));this.p("backgroundImageUrl")}g.prototype.ga.call(this)};k.zk=function(a){if(b(a).isString())if((a=a.match(/^\s*([+-]?\d+\.?\d*)\s*%\s*$/))&&a.length>=2)return parseFloat(a[1])};
return k});define("hh",["dl","fb","bY"],function(a,b,c){return b.extend(c,function(b,d,f){a.isNumber(d)||(d=1);a.isNumber(f)||(f=0);c.call(this,b);this.scale=d;this.rotation=f})});define("kZ",["dl","fb","bY"],function(a,b,c){return b.extend(c,function(a,b,f,g,k,j,n){c.call(this,a);this.x=b;this.y=f;this.pageX=g;this.pageY=k;this.ap=j;this.SW=n})});
define("d","require,jquery.mod,dl,fb,kV,fh,iS,J,hh,kZ,eZ,r,jf".split(","),function(a){var b=a("jquery.mod"),c=a("dl"),e=a("fb"),d=a("kV"),f=a("fh"),g=a("iS"),k=a("J"),j=a("hh"),n=a("kZ");a("eZ");var i=a("r"),a=a("jf"),l=e.extend(k,function(){k.call(this);this.Tc("UIComponent");this.OG=[];this.nB=[];this.xia=500;this.Eb=1;this.Rj=i.rM();this.NA=this.fo=this.BH=z;this.set("propagateClick",p)});l.ib={autoRolledOver:z,autoPressed:z,contentOpaque:p,cursor:m,inheritedCursor:m,inheritedInteractionEnabled:p,
interactionEnabled:p,rollOverOpacity:[f.v,"opacity"],rollOverShadow:[f.v,"shadow"]};c.defaults(l.ib,k.ib);l.prototype.xa=function(){this.Lj(l.ib)};l.prototype.j1=function(){this.F8(p)};l.prototype.i1=function(){this.F8(z)};l.prototype.g1=function(){this.Gx(p)};l.prototype.h1=function(){this.Gx(z)};l.prototype.wC=function(a){if(this.fo!=a){this.fo=a;this.fe()}};l.prototype.Gx=function(a){if(this.NA!=a){this.NA=a;this.fe()}};l.prototype.F8=function(a){if(this.BH!=a){this.BH=a;this.fe()}};l.prototype.fe=
function(){this.fo?this.Hx(f.F):this.NA&&this.BH?this.Hx(f.Wa):this.NA?this.Hx(f.ya):this.BH?this.Hx(f.v):this.Hx(f.$c)};l.prototype.trigger=function(){k.prototype.trigger.apply(this,arguments)};l.prototype.H9=function(a){this.trigger(new n(d.ub,a.x,a.y,a.pageX,a.pageY))};l.prototype.I9=function(a){this.trigger(new n(d.Hc,a.x,a.y,a.pageX,a.pageY))};l.prototype.J9=function(a){this.trigger(new n(d.Xb,a.x,a.y,a.pageX,a.pageY))};l.prototype.Xqa=function(a,b){this.trigger(new n(d.Kp,a.x,a.y,a.pageX,a.pageY,
b.ap,b.SW))};l.prototype.C9=function(a){this.trigger(new n(d.T,a.x,a.y,a.pageX,a.pageY))};l.prototype.D9=function(a){this.trigger(new n(d.tF,a.x,a.y,a.pageX,a.pageY))};l.prototype.Zqa=function(){this.trigger(new n(d.pc))};l.prototype.Yqa=function(){this.trigger(new n(d.Mb))};l.prototype.Vqa=function(){this.trigger(new n(d.yh))};l.prototype.Wqa=function(){this.trigger(new n(d.Le))};l.prototype.Uqa=function(a,b){this.trigger(new j(d.oF,a,b))};l.prototype.Sqa=function(a,b){this.trigger(new j(d.$da,a,
b))};l.prototype.Tqa=function(a,b){this.trigger(new j(d.nF,a,b))};l.prototype.F9=function(a){this.trigger(new j(d.aea,m,a))};l.prototype.G9=function(a){this.trigger(new j(d.Cv,a))};l.prototype.oV=function(a){a.stopImmediatePropagation();this.vw(["touchend"]);if(this.$R(a))this.NT(a);else{this.s4();this.y7(a,p)}};l.prototype.y7=function(a,b){var f=this.AA(a);b&&this.Oqa(f);this.H9(f);this.P&&this.P.y7(a,b&&this.get("propagateClick"))};l.prototype.nV=function(a){a.preventDefault();a.stopImmediatePropagation();
this.$R(a)?this.LT(a):this.x7(a)};l.prototype.x7=function(a){var b=this.AA(a);this.Nqa(b);this.I9(b);this.P&&this.P.x7(a)};l.prototype.w3=function(a,b){var f=a.pageX-b.pageX,d=a.pageY-b.pageY;return Math.sqrt(f*f+d*d)};l.prototype.wr=function(a,b){this.lA(["touchend"]);b!==z&&a.preventDefault();a.stopImmediatePropagation();this.$R(a)?this.MT(a):this.w7(a,this.B4());this.Iz()};l.prototype.w7=function(a,b){this.J9(this.AA(a));this.Mqa(b);this.P&&this.P.w7(a)};l.prototype.Oqa=function(a){this.bind(d.Mb,
this.x9,this,p);this.mu=a};l.prototype.Nqa=function(a){if(this.mu){var a=this.w3(this.mu,a),b;if(i.Va()){b=this.Sa();b=Math.min(b.Ba(),b.eb())*0.01;b=l.cfa*b}else b=l.ifa;a>b&&this.mV()}};l.prototype.Mqa=function(a){if(this.mu){this.C9(this.mu);a&&this.D9(this.mu);this.mV()}};l.prototype.mV=function(){if(this.mu){this.unbind(d.Mb,this.x9,this);this.mu=m}};l.prototype.x9=function(){this.mV()};l.prototype.NQ=function(a){this.vw(["gesturechange","gestureend"]);a.preventDefault();a.stopImmediatePropagation();
this.NT(a)};l.prototype.NT=function(a){var b=this.YQ(a);this.sx=b;this.Uqa(b.scale,b.rotation);this.P&&this.P.NT(a)};l.prototype.h3=function(a){a.preventDefault();a.stopImmediatePropagation();this.LT(a)};l.prototype.LT=function(a){var b=this.YQ(a,this.sx),f=b.rotation-this.sx.rotation,d=b.scale/this.sx.scale;this.sx=b;this.Eb=this.Eb*d;for(this.ee=this.ee+f;this.ee>180;)this.ee=this.ee-360;for(;this.ee<-180;)this.ee=this.ee+360;this.Sqa(this.Eb,this.ee);f!=0&&this.F9(this.ee);d!=1&&this.G9(this.Eb);
this.P&&this.P.LT(a)};l.prototype.j3=function(a){this.lA(["gesturechange","gestureend"]);a.preventDefault();a.stopImmediatePropagation();this.MT(a)};l.prototype.MT=function(a){var b=this.YQ(a),f=b.rotation-this.sx.rotation,b=b.scale/this.sx.scale;this.Eb=this.Eb*b;for(this.ee=this.ee+f;this.ee>180;)this.ee=this.ee-360;for(;this.ee<-180;)this.ee=this.ee+360;this.Tqa(this.Eb,this.ee);f!=0&&this.F9(this.ee);b!=1&&this.G9(this.Eb);this.P&&this.P.MT(a)};l.prototype.ES=function(a){this.vw(["mouseup"]);
a.stopImmediatePropagation();this.s4();this.s7(a,p);q&&this.Jla(a.ctrlKey)};l.prototype.s7=function(a,b){var f=this.pt(a);b&&this.oha(f);this.H9(f);this.P&&this.P.s7(a,b&&this.get("propagateClick"))};l.prototype.FS=function(a){a.preventDefault();a.stopImmediatePropagation();this.Sa().jv(this);this.t7(a)};l.prototype.t7=function(a){var b=this.pt(a);this.nha(b);this.I9(b);this.P&&this.P.t7(a)};l.prototype.bI=function(a){this.lA(["mouseup"]);a.preventDefault();a.stopImmediatePropagation();this.u7(a,
this.B4())};l.prototype.u7=function(a,b){this.J9(this.pt(a));this.mha(b);this.P&&this.P.u7(a,b)};l.prototype.oha=function(a){this.bind(d.Mb,this.W1,this,p);this.Ys=a};l.prototype.nha=function(a){this.Ys&&this.w3(this.Ys,a)>l.Yea&&this.mP()};l.prototype.mha=function(a){if(this.Ys){this.C9(this.Ys);a&&this.D9(this.Ys);this.mP()}};l.prototype.mP=function(){if(this.Ys){this.unbind(d.Mb,this.W1,this);this.Ys=m}};l.prototype.W1=function(){this.mP()};l.prototype.d5=function(a){if(this.Aa.c5){a.preventDefault();
a.stopImmediatePropagation();this.v7(a)}};l.prototype.D1=S(z);l.prototype.v7=function(a){var b=this.pt(a),f=this.Zja(a);this.P&&!this.D1(f.ap)&&this.P.v7(a);this.Xqa(b,f)};l.prototype.pt=function(a){return this.QQ(a.pageX,a.pageY)};l.prototype.Zja=function(a){var a=window.event||a.originalEvent||a,b={};b.ap=Math.max(-1,Math.min(1,a.wheelDelta||-a.detail));b.SW=a.wheelDelta?a.wheelDelta*0.01:b.ap;return b};l.prototype.AA=function(a){var b=this.VQ(a);return this.Jna=a=b===m?this.QQ(a.pageX,a.pageY):
b.length==0?this.Jna:this.QQ(b[0].pageX,b[0].pageY)};l.prototype.$R=function(a){if((a=this.VQ(a))&&a.length>1)for(var b=0,f=0;f<a.length;f++)if(this.mla(a[f].target)){b++;if(b>1)return p}return z};l.prototype.mla=function(a){for(;a;){if(a==this.ab)return p;a=a.parentNode}return z};l.prototype.VQ=function(a){return a.originalEvent.touches||a.originalEvent.targetTouches||a.originalEvent.changedTouches};l.prototype.QQ=function(a,b){var f=this.Kb().offset(),d=this.Aa?this.Aa.jx:1,c={};c.x=(a-f.left)/
d;c.y=(b-f.top)/d;c.pageX=a/d;c.pageY=b/d;c.Yba=a;c.Zba=b;return c};l.prototype.YQ=function(a,b){if(a.originalEvent.scale!==m||a.originalEvent.rotation!==m)return{scale:a.originalEvent.scale,rotation:a.originalEvent.rotation};if(b){var f=this.D3(a);return{scale:b.scale*f/b.touchesDistance,rotation:0,touchesDistance:f}}return{scale:1,rotation:0,touchesDistance:this.D3(a)}};l.prototype.D3=function(a){var b=this.VQ(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.vw=function(a){this.OG=c(this.OG).union(a);for(var a=this.C3(a),b=0;b<a.length;b++){var f=a[b];f.target.bind(f.name,f.handler)}};l.prototype.s4=function(){this.nB.push((new Date).getTime());this.nB=this.nB.slice(-2)};l.prototype.B4=function(){var a=(new Date).getTime();if(this.nB.length>1){var b=this.nB.slice(-2)[0];if(a-b<=this.xia)return p}return z};l.prototype.lA=function(a){this.OG=c(this.OG).difference(a);for(var a=this.C3(a),b=0;b<a.length;b++){var f=
a[b];f.target.unbind(f.name,f.handler)}};l.prototype.C3=function(a){this.W2||(this.W2=this.UQ());for(var b=[],f=0;f<a.length;f++)b=b.concat(this.W2[a[f]]);return b};l.prototype.UQ=function(){var a=this.Kb(),f=b(document),d=b(window);return{touchstart:[{target:a,name:"touchstart",handler:this.We(this.oV)}],touchmove:[{target:a,name:"touchmove",handler:this.We(this.nV)}],touchend:[{target:a,name:"touchend",handler:this.We(this.wr,p)},{target:f,name:"touchend",handler:this.We(this.wr,p)},{target:a,name:"touchcancel",
handler:this.We(this.wr,p)},{target:f,name:"touchcancel",handler:this.We(this.wr,p)}],gesturestart:[{target:a,name:"gesturestart",handler:this.We(this.NQ)}],gesturechange:[{target:a,name:"gesturechange",handler:this.We(this.h3)}],gestureend:[{target:a,name:"gestureend",handler:this.We(this.j3)}],mousedown:[{target:a,name:"mousedown",handler:this.We(this.ES)}],mousemove:[{target:a,name:"mousemove",handler:this.We(this.FS)}],mouseup:[{target:a,name:"mouseup",handler:this.We(this.bI,p)},{target:d,name:"mouseup",
handler:this.We(this.bI,p)}],mousewheel:[{target:a,name:"mousewheel",handler:this.We(this.d5)},{target:a,name:"DOMMouseScroll",handler:this.We(this.d5)}]}};l.prototype.We=function(a,b){var f=this;return function(){b&&g.vM();l.sD=l.sD+1;var d=a.apply(f,arguments);l.sD=l.sD-1;return d}};l.prototype.ga=function(){if(this.n("autoRolledOver")){this.unbind(d.pc,this.j1,this);this.unbind(d.Mb,this.i1,this);if(this.j("autoRolledOver")){this.bind(d.pc,this.j1,this);this.bind(d.Mb,this.i1,this)}this.p("autoRolledOver")}if(this.n("autoPressed")){this.unbind(d.ub,
this.g1);this.unbind(d.Xb,this.h1);if(this.j("autoPressed")){this.bind(d.ub,this.g1);this.bind(d.Xb,this.h1)}this.p("autoPressed")}var a=z;if(this.n("contentOpaque")){a=p;this.p("contentOpaque")}if(this.n("inheritedInteractionEnabled")){a=p;this.p("inheritedInteractionEnabled")}if(this.n("interactionEnabled")){a=p;this.p("interactionEnabled")}if(this.n("backgroundOpacity")||this.n("backgroundColor"))a=p;k.prototype.ga.call(this);if(a){var b=this.xb(),b=b.qh()>0&&b.Zs.length>0,f=this.j("contentOpaque"),
c=this.j("inheritedInteractionEnabled"),g=this.j("interactionEnabled");this.fu(c&&g&&(f||b))}if(a||this.n("cursor")||this.n("inheritedCursor")){this.p("cursor");this.p("inheritedCursor");this.NF?this.sr(this.j("cursor")):this.sr(this.j("inheritedCursor"))}};l.prototype.fu=function(a){if(this.NF!=a){(this.NF=a)?this.vw(l.I0):this.lA(l.I0);this.Iz()}};l.prototype.Iz=function(){this.Zn().style["pointer-events"]=this.NF?"auto":"none"};l.prototype.Jla=function(a){if(a){for(var a=[],b=this;b;){a.push(b);
b=b.getParent()}console.log(a.map(function(a){return a.Oz}))}else console.log(this.Oz)};l.jE=function(){return l.sD>0};l.I0=function(){var a=[],a=a.concat(["touchstart","touchmove","gesturestart"]);i.ge()!=i.zj&&(a=a.concat(["mousedown","mousemove","mousewheel"]));return a}();l.sD=0;l.Yya=1E3;l.ifa=10;l.cfa=5;l.Yea=10;var q=a.ph("debug");return l});define("jJ",[],function(){return{na:"left",Ja:"right",Gc:"center",hb:"top",gb:"bottom",nc:"middle"}});
define("c",[],function(){return{AM:"absolute",ue:"horizontal",Ip:"grid",df:"vertical"}});define("bZ",[],function(){return function(a){this.Oc=a;this.height=this.width=this.y=this.x=0}});define("cT",[],function(){return function(){this.minHeight=this.minWidth=this.height=this.width=0}});
define("bK",["jJ","bZ","cT"],function(a,b,c){function e(){this.Jb=r;this.fi=a.hb;this.Jh=a.na;this.vu=this.bo=0}e.prototype.Tca=function(a){this.bo!=a&&(this.bo=a,this.cd())};e.prototype.nM=function(a){this.vu!=a&&(this.vu=a,this.cd())};e.prototype.bda=function(a){this.Jb=a;this.cd()};e.prototype.Uy=function(a){this.Jh!=a&&(this.Jh=a,this.cd())};e.prototype.Zy=function(a){this.fi!=a&&(this.fi=a,this.cd())};e.prototype.nE=function(){return new c};e.prototype.update=function(){var a=this.Fha();this.Ux(a);
this.apa(a)};e.prototype.Ux=function(a){this.eD(a);this.dD(a)};e.prototype.gH=function(){for(var a=this.a4(),b=[],c=0;c<a.length;c++){var e=a[c];e.get("includeInLayout")&&b.push(e)}return b};e.prototype.a4=function(){for(var a=this.Jb.Na(),b=[],c=0;c<a.length;c++){var e=a[c];e.get("visible")&&b.push(e)}return b};e.prototype.Fha=function(){for(var a=this.a4(),f=[],c=0;c<a.length;c++)f.push(new b(a[c]));return f};e.prototype.apa=function(a){for(var b=0;b<a.length;b++){var c=a[b];c.Oc.Lca(c.x,c.y,c.width,
c.height)}};e.prototype.cd=function(){this.Jb&&this.Jb.Ta()};return e});
define("cM",["fb","jJ","bK","cT"],function(a,b,c,e){a=a.extend(c,function(){c.call(this)});a.prototype.nE=function(){for(var a=new e,b=this.gH(),c=0;c<b.length;c++){var k=b[c],j=k.mo,n=k.nC,i=0;isNaN(j)||(i+=j);isNaN(n)||(i+=n);a.width=Math.max(i+k.gn(),a.width);a.minWidth=Math.max(i+k.bn(),a.minWidth);j=k.So;n=k.Qz;i=0;isNaN(j)||(i+=j);isNaN(n)||(i+=n);a.height=Math.max(i+k.dn(),a.height);a.minHeight=Math.max(i+k.gp(),a.minHeight)}b=this.Jb.ki()+this.Jb.Zm();a.width+=b;a.minWidth+=b;b=this.Jb.$m()+
this.Jb.sy();a.height+=b;a.minHeight+=b;return a};a.prototype.Ux=function(a){this.eD(a);this.dD(a)};a.prototype.Ux=function(a){for(var b=this.Jb.Dd(),c=this.Jb.Cd(),e=0;e<a.length;e++){var j=a[e],n=j.Oc,i=n.mo;if(isNaN(i)){var l=n.TI;isNaN(l)||(i=Math.round(0.01*l*b))}l=n.nC;if(isNaN(l)){var q=n.UI;isNaN(q)||(l=Math.round(0.01*q*b))}var q=n.aq,o=n.Ji;if(isNaN(o)){var t=n.Yi;isNaN(t)?!isNaN(i)&&!isNaN(l)&&(o=b-i-l):o=Math.round(0.01*t*b)}t=n.So;if(isNaN(t)){var s=n.VI;isNaN(s)||(t=Math.round(0.01*
s*c))}s=n.Qz;if(isNaN(s)){var u=n.SI;isNaN(u)||(s=Math.round(0.01*u*c))}var u=n.bq,v=n.kt;if(isNaN(v)){var w=n.Xi;isNaN(w)?!isNaN(t)&&!isNaN(s)&&(v=c-t-s):v=Math.round(0.01*w*c)}j.width=isNaN(o)?n.gn():Math.max(n.bn(),Math.min(n.qL(),o));j.height=isNaN(v)?n.dn():Math.max(n.gp(),Math.min(n.pL(),v));j.x=!isNaN(i)&&!isNaN(l)?Math.round(i+0.5*(b-l-i-j.width)):isNaN(i)?isNaN(l)?isNaN(q)?0:0.5*b+q-0.5*j.width:b-l-j.width:i;j.y=!isNaN(t)&&!isNaN(s)?Math.round(t+0.5*(c-s-t-j.height)):isNaN(t)?isNaN(s)?isNaN(u)?
0:0.5*c+u-0.5*j.height:c-s-j.height:t}};return a});
define("hJ",["fb","jJ","bK","cT"],function(a,b,c,e){a=a.extend(c,function(){c.call(this);this.PA=this.QA=this.RA=this.yt=this.ho=this.io=this.TA=this.Kq=this.Ji=m});a.prototype.Ewa=function(a){this.Ji!=a&&(this.Ji=a,this.cd())};a.prototype.Rwa=function(a){this.io!=a&&(this.io=a,this.io!=m&&(this.Kq=m),this.cd())};a.prototype.Qwa=function(a){this.ho!=a&&(this.ho=a,this.ho!=m&&(this.TA=m),this.cd())};a.prototype.Zwa=function(a){this.Kq!=a&&(this.Kq=a,this.io!=m&&(this.io=m),this.cd())};a.prototype.Ywa=
function(a){this.TA!=a&&(this.TA=a,this.ho!=m&&(this.ho=m),this.cd())};a.prototype.Wwa=function(a){this.yt!=a&&(this.yt=a,this.cd())};a.prototype.Vwa=function(a){this.RA!=a&&(this.RA=a,this.cd())};a.prototype.Uwa=function(a){this.QA!=a&&(this.QA=a,this.cd())};a.prototype.Twa=function(a){this.PA!=a&&(this.PA=a,this.cd())};a.prototype.nE=function(){for(var a=new e,b=this.gH(),c=0,k=0;k<b.length;k++)b[k].get("includeInLayout")&&c++;if(!isNaN(this.Kq)){isNaN(this.yt)||(a.minWidth=this.yt);for(k=0;k<b.length;k++){var j=
b[k].bn();isNaN(j)||(a.minWidth=Math.max(j,a.minWidth))}}if(isNaN(this.io))for(k=0;k<b.length;k++)j=b[k].gn(),isNaN(j)||(a.width=Math.max(j,a.width));else a.width=this.io;if(isNaN(this.ho))for(k=0;k<b.length;k++)j=b[k].dn(),isNaN(j)||(a.height=Math.max(j,a.height));else a.height=this.ho;isNaN(this.Kq)?isNaN(this.Ji)?b=Math.ceil(Math.sqrt(c)):(b=this.Ji-this.Jb.ki()-this.Jb.Zm(),b=Math.max(1,Math.floor((b+this.bo)/(a.width+this.bo)))):b=Math.max(1,Math.floor(100/this.Kq));c=Math.ceil(c/b);a.width=
a.width*b+Math.max(0,b-1)*this.bo+this.Jb.ki()+this.Jb.Zm();a.minWidth=a.minWidth+this.Jb.ki()+this.Jb.Zm();a.height=a.height*c+Math.max(0,c-1)*this.vu+this.Jb.$m()+this.Jb.sy();a.minHeight=0;return a};a.prototype.Ux=function(a){for(var f,c,e=[],j=[],n=0;n<a.length;n++)c=a[n].Oc,c.get("includeInLayout")?e.push(a[n]):j.push(a[n]);var i=e.length,l=this.Jb.Dd(),q=this.bo,o;if(isNaN(this.io))if(isNaN(this.Kq)){for(n=a=0;n<e.length;n++)c=e[n].Oc,a=Math.max(c.bn(),c.gn(),a);a=Math.min(l,a)}else{if(a=Math.max(1,
Math.floor(100/this.Kq)),a=(l-(a-1)*q)/a,n=z,!isNaN(this.QA)&&this.QA<a&&(a=this.QA,n=p),!isNaN(this.yt)&&this.yt>a&&(a=this.yt,n=p),n)a=Math.max(1,Math.floor((l+q)/(a+q))),a=(l-(a-1)*q)/a}else a=this.io;a=Math.max(1,a);o=Math.max(1,Math.floor(0.001+(l+q)/(a+q)));var n=o*a,t=o*(a+q)-q,s=0;if(l>=t)switch(this.Jh){case b.Ja:s=l-t;break;case b.Gc:s=Math.round(0.5*(l-t));break;default:s=0}for(var l=[],t=[],u=0;u<o;u++)c=Math.round(n/(o-u)),n-=c,t.push(s),s+=c+q,l.push(c);s=this.Jb.Cd();u=this.vu;if(isNaN(this.ho))if(isNaN(this.TA)){q=
1;for(n=0;n<e.length;n++)c=e[n].Oc,q=Math.max(c.gp(),c.dn(),q)}else{if(q=Math.max(1,100/this.TA),q=(s-(q-1)*u)/q,n=z,!isNaN(this.PA)&&this.PA<q&&(q=this.PA,n=p),!isNaN(this.RA)&&this.RA>q&&(q=this.RA,n=p),n)q=Math.max(1,Math.floor((s+u)/(q+u))),q=(s-(q-1)*u)/q}else q=this.ho;n=Math.max(1,Math.ceil(i/o));f=n*q;var i=n*(q+u)-u,v=0;if(s>=i)switch(this.fi){case b.gb:v=s-i;break;case b.nc:v=Math.round(0.5*(s-i))}i=[];s=[];for(c=0;c<n;c++){var w=Math.round(f/(n-c));f-=w;s.push(v);v+=w+u;i.push(w)}for(n=
0;n<e.length;n++)f=e[n],u=n%o,c=Math.floor(n/o),f.x=t[u],f.width=l[u],f.y=s[c],f.height=i[c];for(n=0;n<j.length;n++)f=j[n],f.x=0,f.width=Math.round(a),f.y=0,f.height=Math.round(q)};return a});
define("ex",["fb","jJ","bK","cT"],function(a,b,c,e){a=a.extend(c,function(){c.call(this)});a.prototype.nE=function(){for(var a=new e,b=this.gH(),c=0;c<b.length;c++){var k=b[c];a.height=Math.max(k.dn(),a.height);a.minHeight=Math.max(k.gp(),a.minHeight);a.width+=k.gn();a.minWidth+=k.bn()}b=Math.max(0,b.length-1)*this.bo+this.Jb.ki()+this.Jb.Zm();a.width+=b;a.minWidth+=b;b=this.Jb.$m()+this.Jb.sy();a.height+=b;a.minHeight+=b;return a};a.prototype.Ux=function(a){this.eD(a);this.dD(a)};a.prototype.eD=
function(a){for(var b=0,c=0;c<a.length;c++)a[c].Oc.get("includeInLayout")&&b++;for(var c=Math.max(0,b-1)*this.bo,e=this.Jb.Dd()-c,j=this.Jb.Cd(),b=e,n=0,i=[],c=0;c<a.length;c++){var l=a[c],q=l.Oc,o=q.Xi;l.height=isNaN(o)?q.dn():Math.max(q.gp(),Math.min(q.pL(),Math.round(0.01*j*o)));o=q.Yi;isNaN(o)?(l.width=q.gn(),b-=l.width):q.get("includeInLayout")?(n+=o,i.push(l)):l.width=Math.max(q.bn(),Math.min(q.qL(),Math.round(0.01*e*o)))}c=Math.max(0,b-0.01*e*n);b-=c;do{a=z;e=Math.max(0,0<n?b/n:0);j=[];for(c=
n=0;c<i.length;c++){var l=i[c],q=l.Oc,o=Math.round(q.Yi*e),t=q.bn(),s=q.qL();o<t?(l.width=t,b-=l.width,a=p):o>s?(l.width=s,b-=l.width,a=p):(n+=q.Yi,j.push(l))}i=j}while(a);for(c=0;c<i.length;c++)l=i[c],q=l.Oc,e=Math.max(0,0<n?b/n:0),l.width=Math.round(q.Yi*e),b-=l.width,n-=q.Yi};a.prototype.dD=function(a){for(var f=this.bo,c=this.Jb.Dd(),e=this.Jb.Cd(),j=0,n=0,i=0;i<a.length;i++){var l=a[i];l.Oc.get("includeInLayout")&&(j+=a[i].width,n++)}j+=f*(n-1);if(c>=j)switch(this.Jh){case b.Ja:c-=j;break;case b.Gc:c=
Math.round(0.5*(c-j));break;default:c=0}else c=0;for(i=0;i<a.length;i++)if(l=a[i],l.Oc.get("includeInLayout")){if(e>=l.height)switch(this.fi){case b.gb:l.y=e-l.height;break;case b.nc:l.y=Math.round(0.5*(e-l.height));break;default:l.y=0}else l.y=0;l.x=c;c+=l.width+f}else l.x=0,l.y=0};return a});
define("cu",["fb","jJ","bK","cT"],function(a,b,c,e){a=a.extend(c,function(){c.call(this)});a.prototype.nE=function(){for(var a=new e,b=this.gH(),c=0;c<b.length;c++){var k=b[c];a.width=Math.max(k.gn(),a.width);a.minWidth=Math.max(k.bn(),a.minWidth);a.height+=k.dn();a.minHeight+=k.gp()}b=Math.max(0,b.length-1)*this.vu+this.Jb.$m()+this.Jb.sy();a.height+=b;a.minHeight+=b;b=this.Jb.ki()+this.Jb.Zm();a.width+=b;a.minWidth+=b;return a};a.prototype.Ux=function(a){this.eD(a);this.dD(a)};a.prototype.eD=function(a){for(var b=
0,c=0;c<a.length;c++)a[c].Oc.get("includeInLayout")&&b++;for(var c=Math.max(0,b-1)*this.vu,e=this.Jb.Dd(),j=this.Jb.Cd()-c,b=j,n=0,i=[],c=0;c<a.length;c++){var l=a[c],q=l.Oc,o=q.Yi;l.width=isNaN(o)?q.gn():Math.max(q.bn(),Math.min(q.qL(),Math.round(0.01*e*o)));o=q.Xi;isNaN(o)?(l.height=q.dn(),b-=l.height):q.get("includeInLayout")?(n+=o,i.push(l)):l.height=Math.max(q.gp(),Math.min(q.pL(),Math.round(0.01*j*o)))}c=Math.max(0,b-0.01*j*n);b-=c;do{a=z;e=Math.max(0,0<n?b/n:0);j=[];for(c=n=0;c<i.length;c++){var l=
i[c],q=l.Oc,o=Math.round(q.Xi*e),t=q.gp(),s=q.pL();o<t?(l.height=t,b-=l.height,a=p):o>s?(l.height=s,b-=l.height,a=p):(n+=q.Xi,j.push(l))}i=j}while(a);for(c=0;c<i.length;c++)l=i[c],q=l.Oc,e=Math.max(0,0<n?b/n:0),l.height=Math.round(q.Xi*e),b-=l.height,n-=q.Xi};a.prototype.dD=function(a){for(var f=this.vu,c=this.Jb.Dd(),e=this.Jb.Cd(),j=0,n=0,i=0;i<a.length;i++){var l=a[i];l.Oc.get("includeInLayout")&&(j+=l.height,l.width>c&&(c=l.width),n++)}j+=f*(n-1);if(e>=j)switch(this.fi){case b.gb:e-=j;break;case b.nc:e=
Math.round(0.5*(e-j));break;default:e=0}else e=0;for(i=0;i<a.length;i++)if(l=a[i],l.Oc.get("includeInLayout")){switch(this.Jh){case b.Ja:l.x=c-l.width;break;case b.Gc:l.x=Math.round(0.5*(c-l.width));break;default:l.x=0}l.y=e;e+=l.height+f}else l.x=0,l.y=0};return a});
define("k","fb,dl,d,J,jJ,cj,c,cM,hJ,ex,cu".split(","),function(a,b,c,e,d,f,g,k,j,n,i){var l=a.extend(c,function(){c.call(this);this.Tc("BaseContainer");this.Sj=r;this.rc=[];this.Xk=[];this.gA=f.rZ;this.set("contentOpaque",z)});l.ib={children:[[]],childrenInteractionEnabled:p,gap:0,horizontalAlign:d.na,itemHeight:m,itemMaxHeight:m,itemMaxWidth:m,itemMinHeight:m,itemMinWidth:m,itemWidth:m,layout:g.AM,verticalAlign:d.hb};b.defaults(l.ib,c.ib);l.prototype.xa=function(){this.Lj(l.ib)};l.prototype.set=
function(a,b){a=="children"?this.uh(b):a=="creationPolicy"?this.xwa(b):c.prototype.set.call(this,a,b)};l.prototype.get=function(a,b){return a=="children"?this.Na():a=="creationPolicy"?this.gA:c.prototype.get.call(this,a,b)};l.prototype.xwa=function(a){if(this.gA!=a){this.gA=a;this.BV()}};l.prototype.uh=function(a){for(var f=this.Na(),a=a||[],c=b(f).difference(a),d=0;d<c.length;d++)this.removeChild(c[d]);f=b(a).difference(f);for(d=0;d<f.length;d++)this.la(f[d]);for(d=0;d<a.length;d++)this.oj(a[d],
d)};l.prototype.Na=R("rc");l.prototype.la=function(a){a.getParent()&&a.getParent().removeChild(a);this.rc.push(a);a.P=this;this.$0(a);a.BU(this.cl);this.Xk.push(a);this.BV();a.Pk()};l.prototype.removeChild=function(a){if(a.getParent()==this){a.aj();a.P=r;if(b(this.Xk).contains(a))this.Xk=b.without(this.Xk,a);else{a.Kb().detach();a.Em(r);this.Ta();this.Fc()}this.rc=b.without(this.rc,a);a.bU()}};l.prototype.lca=function(){b(this.Na()).forEach(function(a){this.removeChild(a)})};l.prototype.WD=function(a){return b(this.rc).indexOf(a)};
l.prototype.oj=function(a,f){var c=this.WD(a);c<0&&h("Can't set index. This is not a child of this container");var d=this.rc.slice();d.splice(c,1);d.splice(f,0,a);if(!b.isEqual(this.rc,d)){this.rc=d;if(!b(this.Xk).contains(a)){c=this.WD(a);a.Kb().detach();for(var e=d=r,g=c-1;g>=0&&!d;g--)b(this.Xk).contains(this.rc[g])||(d=this.rc[g]);for(g=c+1;g<this.rc.length&&!e&&!d;g++)b(this.Xk).contains(this.rc[g])||(e=this.rc[g]);d?a.Kb().insertAfter(d.Kb()):e?a.Kb().insertBefore(e.Kb()):this.Pa().DW(a.Zn());
this.Fc()}}};l.prototype.fu=function(a){c.prototype.fu.call(this,a);this.T9()};l.prototype.T9=function(){b(this.rc).forEach(function(a){this.$0(a)},this)};l.prototype.$0=function(a){a.set("inheritedInteractionEnabled",this.j("interactionEnabled")&&this.j("inheritedInteractionEnabled")&&this.j("childrenInteractionEnabled"))};l.prototype.Iz=function(){c.prototype.Iz.call(this);this.rc.forEach(function(a){a.Iz()})};l.prototype.gu=function(a){c.prototype.gu.call(this,a);b(this.rc).forEach(function(a){a.BU(this.cl)},
this)};l.prototype.HO=function(a){c.prototype.HO.call(this,a);b(this.Na()).forEach(function(a){a.Vx()});this.BV()};l.prototype.Em=function(a){c.prototype.Em.call(this,a);b(this.Na()).forEach(function(f){b(this.Xk).contains(f)||f.Em(a)},this)};l.prototype.BV=function(){if((this.gA==f.rZ&&this.Iq||this.gA==f.ys)&&this.Xk.length>0){b(this.Xk).forEach(function(a){this.Pa().DW(a.Zn());a.Em(this.Sa())},this);this.Xk=[];this.Ta();this.Fc()}};l.prototype.HE=function(a){if(this.Sj!=a){this.Sj&&this.Sj.bda(r);
(this.Sj=a)&&this.Sj.bda(this)}};l.prototype.ga=function(){var a=z,b=this.j("layout");if(this.n("layout")){switch(b){case g.Ip:this.HE(new j);break;case g.ue:this.HE(new n);break;case g.df:this.HE(new i);break;default:this.HE(new k)}this.p("layout");a=p}var f=this.Sj;if(this.n("horizontalAlign")||a){f.Uy(this.j("horizontalAlign"));this.p("horizontalAlign")}if(this.n("verticalAlign")||a){f.Zy(this.j("verticalAlign"));this.p("verticalAlign")}if(this.n("gap")||a){if(b==g.Ip){f.Tca(this.j("gap"));f.nM(this.j("gap"))}else b==
g.ue?f.Tca(this.j("gap")):b==g.df&&f.nM(this.j("gap"));this.p("gap")}if(b==g.Ip){if(this.n("itemWidth")||a){var d=this.j("itemWidth"),l=e.zk(d);l!==m?f.Zwa(l):f.Rwa(d);this.p("itemWidth")}if(this.n("itemHeight")||a){d=this.j("itemHeight");l=e.zk(d);l!==m?f.Ywa(l):f.Qwa(d);this.p("itemHeight")}if(this.n("itemMinWidth")){f.Wwa(this.j("itemMinWidth"));this.p("itemMinWidth")}if(this.n("itemMinHeight")){f.Vwa(this.j("itemMinHeight"));this.p("itemMinHeight")}if(this.n("itemMaxWidth")){f.Uwa(this.j("itemMaxWidth"));
this.p("itemMaxWidth")}if(this.n("itemMaxHeight")){f.Twa(this.j("itemMaxHeight"));this.p("itemMaxHeight")}}if(this.n("childrenInteractionEnabled")){this.p("childrenInteractionEnabled");this.T9()}this.cb(["cursor"],{cursor:"inheritedCursor"},this.rc,p,z);c.prototype.ga.call(this);b==g.Ip&&f.Ewa(this.Ji)};l.prototype.cb=function(a,b,f,c,d){for(var e=0;e<a.length;e++){var g=a[e];if(!c||this.n(g)){for(var i=0;i<f.length;i++)f[i].set(b[g]?b[g]:g,this.j(g));d&&this.p(g)}}};l.prototype.ro=function(){if(this.Sj){var a=
this.Sj.nE();this.Oh=a.width;this.Nh=a.height;this.iB=a.minWidth;this.hB=a.minHeight}else c.prototype.ro.call(this)};l.prototype.ti=function(){this.Sj&&this.Sj.update(this);c.prototype.ti.call(this)};return l});
define("kX",["jquery.mod","fb","ll","eZ"],function(a,b,c,e){function d(b,d){this.tw=b;this.Od="#000000";this.rb=0.5;this.W=10;this.vD=this.CA=5;this.xd=d;this.vG=this.hT=this.sa=0;this.V0=this.Dc=this.XF=z;this.Z=p;this.iw=document.createElement("div");this.iw.setAttribute("tdvlayer","scrollbar");this.$z=a(this.iw);e.css(this.iw,{position:"absolute","z-index":c.D_});this.Mz=document.createElement("div");this.OO=a(this.Mz);e.css(this.Mz,{position:"absolute",left:0,top:0});this.$z.append(this.OO)}d.prototype.Xc=
function(){return this.$z.width()};d.prototype.Kd=function(){return this.$z.height()};d.prototype.Fa=function(a){this.sa!=a&&(this.sa=a,this.V7(),this.Z=p)};d.prototype.Pr=R("sa");d.prototype.setSize=function(a,b){this.hT=a;this.vG=b;this.V7();this.Z=p};d.prototype.Ze=function(a){this.Dc!=a&&(this.Dc=a,this.Z=p)};d.prototype.Kca=function(a){this.XF!=a&&(this.XF=a,this.Z=p)};d.prototype.Ty=function(a){this.Od!=a&&(this.Od=a,this.Z=p)};d.prototype.qj=function(a){this.rb!=a&&(this.rb=a,this.Z=p)};d.prototype.OE=
function(a){this.W!=a&&(this.W=a,this.Z=p)};d.prototype.Rca=function(a){this.CA!=a&&(this.CA=a,this.Z=p)};d.prototype.cda=function(a){this.vD!=a&&(this.vD=a,this.Z=p)};d.prototype.Je=function(){this.Z&&(this.V0!=this.Dc&&(this.Dc?this.xd.append(this.$z):this.$z.detach(),this.V0=this.Dc),this.I(),this.Z=z)};d.prototype.I=function(){var a=Math.round(100*this.hT/this.vG),b=Math.round(100*this.sa/this.vG);e.css(this.iw,{filter:"alpha(opacity="+Math.round(100*this.rb)+")",opacity:this.rb,display:this.Dc?
"block":"none"});e.css(this.Mz,{backgroundColor:this.Od,"border-radius":Math.floor(this.W/2)+"px"});this.tw==d.ue?(e.css(this.iw,{left:this.CA+"px",right:(this.XF?this.W:0)+this.CA+"px",height:this.W+"px",bottom:this.vD+"px"}),e.css(this.Mz,{left:b+"%",width:a+"%",height:this.W+"px"})):(e.css(this.iw,{top:this.vD+"px",right:this.CA+"px",width:this.W+"px",bottom:(this.XF?this.W:0)+this.vD+"px"}),e.css(this.Mz,{top:b+"%",width:this.W+"px",height:a+"%"}))};d.prototype.V7=function(){var a=this.vG-this.hT;
0>this.sa?this.sa=0:this.sa>a&&(this.sa=a)};d.ue="horizontal";d.df="vertical";return d});define("hr",["fb","kX"],function(a,b){return a.extend(b,function(a){b.call(this,b.ue,a)})});define("du",["fb","kX"],function(a,b){return a.extend(b,function(a){b.call(this,b.df,a)})});
define("V",["require"],function(){function a(){}function b(f){var c=g;g=[];a.BX=p;var e=f-a.td,e=1<e?100>e?e:100:1;a.td=f;for(f=0;f<c.length;f++){var j=c[f];j.callback.call(j.context,e)}a.BX=z;k=0<g.length?d(b):m}var c=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame,e=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||
window.msCancelAnimationFrame,d=c,f=e,g=[],k=m,j=z;a.La=function(a,f){for(var c=0;c<g.length;c++){var e=g[c];if(e.callback==a&&e.context==f)return}g.push({callback:a,context:f});!j&&k===m&&(k=d(b))};a.FY=function(a){j!=a&&((j=a)?k!==m&&(f(k),k=m):0<g.length&&(k=d(b)))};a.kM=function(a,g){a=a||c;g=g||e;d!=a&&(k!==m&&(f(k),k=a(b)),d=a,f=g)};a.nY=function(){a.kM(r,r)};a.td=(new Date).getTime();a.BX=z;return a});
define("kH",[],function(){function a(a){var b={YW:function(b,c,d,e){d=0>=d?0:d>=e?1:d/e;0.5>d?d=Math.pow(2*d,a):(d=1-Math.pow(1-(2*d-1),a),d+=1);return b+(c-b)*0.5*d}};b.UX=e(a);return b}function b(a){var b={YW:function(b,d,c,e){return b+(d-b)*(1-Math.pow(1-(0>=c?0:c>=e?1:c/e),a))}};b.UX=e(a);return b}function c(a){var b={YW:function(b,d,c,e){return b+(d-b)*Math.pow(0>=c?0:c>=e?1:c/e,a)}};b.UX=e(a);return b}function e(a){return function(b,d,c){b=Math.abs(d-b);return 1>b/c?0:1/(1-Math.pow((b-c)/b,
1/a))}}function d(f,d,e){this.Yg=r;switch(f){case "quad_in":this.Yg=c(2);break;case "quad_out":this.Yg=b(2);break;case "quad_in_out":this.Yg=a(2);break;case "cubic_in":this.Yg=c(3);break;case "cubic_out":this.Yg=b(3);break;case "cubic_in_out":this.Yg=a(3);break;case "quart_in":this.Yg=c(4);break;case "quart_out":this.Yg=b(4);break;case "quart_in_out":this.Yg=a(4);break;case "quint_in":this.Yg=c(5);break;case "quint_out":this.Yg=b(5);break;case "quint_in_out":this.Yg=a(5);break;default:this.Yg=c(1)}this.Vn=
d.slice();this.Vc=0;this.Hb=this.uq(d,e);this.dQ={};for(f=0;f<this.Vn.length;f++)this.dQ[this.Vn[f].name]=d[f].Lu}d.prototype.vaa=function(a){for(var b=0;b<this.Vn.length;b++)if(this.Vn[b].name==a)return this.Vn[b];return r};d.prototype.tb=function(a){return this.dQ[a]};d.prototype.He=function(){return this.Vc>=this.Hb};d.prototype.kj=R("Hb");d.prototype.setTime=function(a){this.Vc=Math.min(Math.max(0,a),this.Hb);for(a=0;a<this.Vn.length;a++){var b=this.Vn[a];this.dQ[b.name]=this.Yg.YW(b.Lu,b.$y,
this.Vc,this.Hb)}};d.prototype.$a=function(a){this.setTime(this.Vc+a)};d.prototype.uq=function(a,b,d){for(var c=[],e=0;e<this.Vn.length;e++){var i=this.Vn[e],l=d?d:i.mva;l!==m&&0<l&&c.push(this.Yg.UX(i.Lu,i.$y,l/1E3))}if(0<c.length){a=c[0];for(e=1;e<c.length;e++)a=Math.max(a,c[e]);return 0<b?Math.max(b,a):a}return 0<b?b:this.uq(a,b,1E3)};return d});define("bq",[],function(){return function(a,b,c,e){this.name=a;this.Lu=b;this.$y=c;this.mva=e}});
define("kC","require,dl,fb,kV,bY,fQ,ek,k,hr,du,V,kH,bq".split(","),function(a){var b=a("dl"),c=a("fb"),e=a("kV"),d=a("bY"),f=a("fQ"),g=a("ek"),k=a("k"),j=a("hr"),n=a("du"),i=a("V"),l=a("kH"),q=a("bq"),o=c.extend(k,function(){k.call(this);this.Tc("Container");this.bc=this.Ac=this.be=this.Ae=this.Ua=this.Ka=this.k2=this.j2=0;this.VR=this.aS=this.Qh=this.Ph=z;this.d2=0;this.uP=this.tP=m;this.wP=this.vP=0;this.qr=r;this.DI=f.MZ;this.zq=z;this.kH=r;this.Mm=z;this.yK=r});o.ib={overflow:f.Cs,scrollBarColor:"#000000",
scrollBarWidth:10,scrollBarMargin:5,scrollBarHorizontalMargin:m,scrollBarVerticalMargin:m,scrollBarOpacity:0.5,scrollBarVisible:g.pc};b.defaults(o.ib,k.ib);o.prototype.Nj=function(){this.kH=new j(this.dR());this.kH.OO.bind("mousedown touchstart",b.bind(this.Dka,this));this.Nj=R("kH");return this.kH};o.prototype.Oj=function(){this.yK=new n(this.dR());this.yK.OO.bind("mousedown touchstart",b.bind(this.Zra,this));this.Oj=R("yK");return this.yK};o.prototype.scrollIntoView=function(a){var b=a.ca,b=Math.min(b,
Math.max(b+a.Ba()-this.Ae,this.Ac)),f=a.da,a=Math.min(f,Math.max(f+a.eb()-this.be,this.bc));this.scrollTo(b,a)};o.prototype.scrollTo=function(a,b){var f=this.Ac;a>this.Ac?this.hG()&&(f=Math.min(a,this.Ka-this.Ae)):a<this.Ac&&this.gG()&&(f=Math.max(a,0));var d=this.bc;b>this.bc?this.fG()&&(d=Math.min(b,this.Ua-this.be)):b<this.bc&&this.iG()&&(d=Math.max(b,0));this.JC(f,d)};o.prototype.Fca=function(){if(this.fG()){for(var a=Math.max(0,this.Ua-this.be),b=Math.min(a,this.bc+this.be*0.5),f=a=Math.min(a,
this.bc+this.be),d=this.Na().slice(),c=d.shift();d.length;c=d.shift())if(c.get("visible")){var e=c.da;e+c.eb()>this.bc+this.be&&e>=b&&e<a&&e<f&&(f=e)}this.JC(this.Ac,f)}};o.prototype.fG=function(){return this.B1()&&this.bc+this.be<this.Ua};o.prototype.Hca=function(){if(this.iG()){for(var a=Math.max(0,this.bc-this.be),b=Math.max(0,this.bc-this.be*0.5),f=a,d=this.Na().slice(),c=d.shift();d.length;c=d.shift())if(c.get("visible")){var e=c.da,c=e+c.eb();e<this.bc&&c>=a+this.be&&c<b+this.be&&c>f+this.be&&
(f=c-this.be)}this.JC(this.Ac,f)}};o.prototype.iG=function(){return this.B1()&&this.bc>0};o.prototype.Gca=function(){if(this.hG()){for(var a=Math.max(0,this.Ka-this.Ae),b=Math.min(a,this.Ac+this.Ae*0.5),f=a=Math.min(a,this.Ac+this.Ae),d=this.Na().slice(),c=d.shift();d.length;c=d.shift())if(c.get("visible")){var e=c.ca;e+c.Ba()>this.Ac+this.Ae&&e>=b&&e<a&&e<f&&(f=e)}this.JC(f,this.bc)}};o.prototype.hG=function(){return this.A1()&&this.Ac+this.Ae<this.Ka};o.prototype.scrollLeft=function(){if(this.gG()){for(var a=
Math.max(0,this.Ac-this.Ae),b=Math.max(0,this.Ac-this.Ae*0.5),f=a,d=this.Na().slice(),c=d.shift();d.length;c=d.shift())if(c.get("visible")){var e=c.ca,c=e+c.Ba();e<this.Ac&&c>=a+this.Ae&&c<b+this.Ae&&c>f+this.Ae&&(f=c-this.Ae)}this.JC(f,this.bc)}};o.prototype.gG=function(){return this.A1()&&this.Ac>0};o.prototype.JC=function(a,b){this.Ph=this.Ac!=a;this.Qh=this.bc!=b;this.Jm();this.qr=new l("cubic_in_out",[new q("hScrollPosition",this.Ac,a),new q("vScrollPosition",this.bc,b)],500);i.La(this.yO,this)};
o.prototype.B1=function(){return this.Mm&&this.be<this.Ua};o.prototype.A1=function(){return this.zq&&this.Ae<this.Ka};o.prototype.xa=function(){this.Lj(o.ib)};o.prototype.yha=function(){this.aS=p;this.Jm()};o.prototype.xha=function(){this.aS=z;this.Jm()};o.prototype.Dka=function(){this.Ph=p};o.prototype.Zra=function(){this.Qh=p};o.prototype.uha=function(a){if(this.Ph||this.Qh){this.Sa().bind(e.Hc,this.b2,this);this.Sa().bind(e.Xb,this.c2,this);this.gq=a.pageX;this.hq=a.pageY;this.Jm()}else this.e2(a)};
o.prototype.b2=function(a){if(this.Ph){var b=(a.pageX-this.gq)*this.Ka/this.Nj().Xc();this.Ac=this.Ac+b}else if(this.Qh){b=(a.pageY-this.hq)*this.Ua/this.Oj().Kd();this.bc=this.bc+b}this.gq=a.pageX;this.hq=a.pageY;this.Wo()};o.prototype.c2=function(){this.Sa().unbind(e.Hc,this.b2,this);this.Sa().unbind(e.Xb,this.c2,this);this.Qh=this.Ph=z;this.Jm()};o.prototype.D1=function(a){return this.Mm&&(a>0&&this.bc>0||a<0&&this.bc<this.Ua-this.be)?p:z};o.prototype.wha=function(a){if(this.Mm){this.bc=this.bc-
a.ap*this.be*0.1;this.Wo()}};o.prototype.e2=function(a){if(this.zq||this.Mm){this.Sa().bind(e.Hc,this.f2,this);this.Sa().bind(e.Xb,this.g2,this);this.VR=p;this.gq=a.pageX;this.hq=a.pageY;this.Jm();this.Vka()}};o.prototype.f2=function(a){var b=a.pageX-this.gq,f=a.pageY-this.hq;if(!this.Ph&&!this.Qh&&b*b+f*f>25){this.Ph=this.zq;this.Qh=this.Mm;this.Jm()}if(this.Ph||this.Qh){this.Ac=this.Ac-b;this.bc=this.bc-f;this.gq=a.pageX;this.hq=a.pageY;this.Wo();this.pra()}};o.prototype.g2=function(){this.Sa().unbind(e.Hc,
this.f2,this);this.Sa().unbind(e.Xb,this.g2,this);this.VR=z;this.Jm();var a=Math.max(Math.abs(this.vP/0.001),Math.abs(this.wP/0.001));this.qr=new l("linear",[new q("hScrollPosition",this.Ac,this.Ac-0.5*this.vP*a),new q("vScrollPosition",this.bc,this.bc-0.5*this.wP*a)],a);i.La(this.yO,this)};o.prototype.Vka=function(){this.tP=this.gq;this.uP=this.hq};o.prototype.pra=function(){var a=(new Date).getTime(),b=a-this.d2;if(b>10){this.d2=a;this.vP=(this.gq-this.tP)/b;this.wP=(this.hq-this.uP)/b;this.tP=
this.gq;this.uP=this.hq}};o.prototype.yO=function(a){if(this.qr&&!this.qr.He()&&(this.Ph||this.Qh)){this.qr.$a(a);if(this.Ph){this.Ac=this.qr.tb("hScrollPosition");if(this.Ac<0||this.Ac>this.Ka-this.Ae)this.Ph=z}if(this.Qh){this.bc=this.qr.tb("vScrollPosition");if(this.bc<0||this.bc>this.Ua-this.be)this.Qh=z}this.Wo();i.La(this.yO,this)}else{this.Qh=this.Ph=z;this.qr=r;this.Jm()}};o.prototype.Wo=function(){this.Ac=this.zq?Math.max(0,Math.min(this.Ka-this.Ae,this.Ac)):0;this.bc=this.Mm?Math.max(0,
Math.min(this.Ua-this.be,this.bc)):0;this.Nj().Fa(this.Ac);this.Oj().Fa(this.bc);this.Pa().Jwa(this.Ac);this.Pa().Exa(this.bc);this.rh();if(this.l7!=this.Ac||this.m7!=this.bc){this.l7!==m&&this.m7!==m&&this.trigger(new d(e.cm));this.l7=this.Ac;this.m7=this.bc}};o.prototype.Jm=function(){var a;a=this.get("scrollBarVisible")==g.ALWAYS?p:this.Rj?this.Ph||this.Qh||this.VR:this.Ph||this.Qh||this.aS;this.Nj().Ze(this.zq&&a);this.Oj().Ze(this.Mm&&a);this.rh()};o.prototype.Ha=function(){k.prototype.Ha.call(this);
if(!this.vha){this.vha=p;if(this.Rj)this.bind(e.ub,this.e2,this);else{this.bind(e.ub,this.uha,this);this.bind(e.pc,this.yha,this);this.bind(e.Mb,this.xha,this);this.bind(e.Kp,this.wha,this)}}};o.prototype.ga=function(){if(this.n("overflow")){this.DI=this.j("overflow");this.p("overflow");this.Fc()}if(this.n("scrollBarColor")){this.Nj().Ty(this.j("scrollBarColor"));this.Oj().Ty(this.j("scrollBarColor"));this.p("scrollBarColor")}if(this.n("scrollBarWidth")){this.Nj().OE(this.j("scrollBarWidth"));this.Oj().OE(this.j("scrollBarWidth"));
this.p("scrollBarWidth")}if(this.n("scrollBarMargin")||this.n("scrollBarVerticalMargin")||this.n("scrollBarHorizontalMargin")){var a=this.j("scrollBarHorizontalMargin","scrollBarMargin"),b=this.j("scrollBarVerticalMargin","scrollBarMargin");this.Nj().Rca(a);this.Nj().cda(b);this.Oj().Rca(a);this.Oj().cda(b);this.p("scrollBarMargin");this.p("scrollBarVerticalMargin");this.p("scrollBarHorizontalMargin")}if(this.n("scrollBarOpacity")){this.Nj().qj(this.j("scrollBarOpacity"));this.Oj().qj(this.j("scrollBarOpacity"));
this.p("scrollBarOpacity")}k.prototype.ga.call(this)};o.prototype.ti=function(){k.prototype.ti.call(this);this.rra();this.Era();this.Cra();this.Jm();this.rh()};o.prototype.rra=function(){for(var a=0,b=0,f=0,c=0,d=this.Na(),e=0;e<d.length;e++){var g=d[e];if(g.get("visible")){c=Math.min(c,g.ca);f=Math.min(f,g.da);a=Math.max(a,g.ca+g.Ba());b=Math.max(b,g.da+g.eb())}}this.j2=c;this.k2=f;this.Ka=a;this.Ua=b};o.prototype.Era=function(){if(this.DI==f.Cs){this.Ae=this.Ka;this.be=this.Ua}else{this.Ae=Math.min(this.Dd(),
this.Ka);this.be=Math.min(this.Cd(),this.Ua)}};o.prototype.Cra=function(){var a=this.j2<0||this.k2<0||this.Ka>this.Ae||this.Ua>this.be;if(this.DI==f.cm){this.zq=this.Ae<this.Ka;var b=(this.Mm=this.be<this.Ua)&&this.zq;this.Nj().setSize(this.Ae,this.Ka);this.Nj().Kca(b);this.Oj().setSize(this.be,this.Ua);this.Oj().Kca(b);this.Pa().Vy(!a)}else{this.Mm=this.zq=z;this.DI==f.Cs?this.Pa().Vy(p):this.Pa().Vy(!a)}this.Wo()};o.prototype.Je=function(){this.Oj().Je();this.Nj().Je();k.prototype.Je.call(this)};
return o});define("N",[],function(){return{df:"vertical",ue:"horizontal"}});define("dG",["require"],function(){return{Kr: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("gJ","require,jquery.mod,dl,fb,jJ,N,d,eZ,dG".split(","),function(a){function b(a){var b=a.cj.width(),f=a.cj.height();a.get("fontStyle")=="italic"&&(b=b+f*1/5);return Math.round(b)}var c=a("jquery.mod"),e=a("dl"),d=a("fb"),f=a("jJ"),g=a("N"),k=a("d");a("eZ");var j=a("dG"),a=d.extend(k,function(){k.call(this);this.Tc("Label");this.cj=this.EC=r});a.ib={};a.prototype.xa=function(){k.prototype.xa.call(this);this.f("fontFamily");this.f("fontSize");this.f("fontColor");this.f("fontWeight");this.f("fontStyle");
this.f("horizontalAlign",f.na);this.f("verticalAlign",f.nc);this.f("direction",g.ue);this.f("text","");this.f("textDecoration");this.f("textShadowBlurRadius",3);this.f("textShadowColor","#000000");this.f("textShadowHorizontalLength",0);this.f("textShadowOpacity",0);this.f("textShadowVerticalLength",0)};a.prototype.Ha=function(){k.prototype.Ha.call(this);if(!this.cj){this.EC=document.createElement("span");this.cj=c(this.EC);this.PU({position:"absolute","text-align":"center",cursor:"inherit","white-space":"nowrap",
transform:"translate3d(0, 0, 0)"});var a=this.Pa();a.Vy(z);a.append(this.cj)}};a.prototype.ro=function(){k.prototype.ro.call(this);var a=this.Pa();this.Oh=b(this)+a.uy()+a.wy();this.Nh=this.cj.height()+a.xy()+a.qy();n(this)};a.prototype.ga=function(){var a,b={};if(this.n("direction")||this.n("text")){switch(this.j("direction")){case g.df:b["line-height"]="100%";this.cj.html(this.cj.text(this.j("text")).text().split("").join("<br/>"));break;default:b["line-height"]="normal";this.cj.text(this.j("text"));
this.cj.html(this.cj.html().split(" ").join("&nbsp;"))}this.p("direction");this.p("text");setTimeout(function(){this.Ta();this.Fc()}.bind(this),0)}if(this.n("fontFamily")){a=this.j("fontFamily");e(a).isString()||(a="");b.fontFamily=j.Kr(a);this.p("fontFamily");this.Ta();this.Fc()}if(this.n("fontSize")){a=this.j("fontSize");e(a).isNumber()?a=a+"px":e(a).isString()||(a="");b.fontSize=a;this.p("fontSize");this.Ta();this.Fc()}if(this.n("fontColor")){a=this.j("fontColor");e(a).isString()||(a="");b.color=
a;this.p("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.p("fontWeight");this.Ta();this.Fc()}if(this.n("fontStyle")){a=this.j("fontStyle");switch(a){case "italic":case "normal":break;default:a="normal"}b.fontStyle=a;this.p("fontStyle");this.Ta();this.Fc()}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.p("textDecoration");this.Ta();this.Fc()}if(this.n("horizontalAlign")){this.Fc();this.p("horizontalAlign")}if(this.n("verticalAlign")){this.Fc();this.p("verticalAlign")}a=["textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];if(e(a).any(function(a){return this.n(a)},this)){var f={};e(a).each(function(a){f[a]=
this.j(a);this.p(a)},this);b["-moz-text-shadow"]=b["-webkit-text-shadow"]=b["text-shadow"]=[f.textShadowHorizontalLength+"px",f.textShadowVerticalLength+"px",f.textShadowBlurRadius+"px","rgba("+parseInt("0x"+f.textShadowColor.substr(1,2))+", "+parseInt("0x"+f.textShadowColor.substr(3,2))+", "+parseInt("0x"+f.textShadowColor.substr(5,2))+", "+f.textShadowOpacity+")"].join(" ");a=f.textShadowVerticalLength==0&&this.j("textShadowHorizontalLength")==0?135:Math.round(4*Math.atan2(f.textShadowHorizontalLength,
-f.textShadowVerticalLength)/Math.PI)*45;b.filter="progid:DXImageTransform.Microsoft.Shadow(color=#"+("00"+(255*f.textShadowOpacity).toString(16)).slice(-2)+f.textShadowColor.substr(1,6)+",direction="+a+")";this.Pa().Vy((f.textShadowHorizontalLength>0||f.textShadowVerticalLength>0||f.textShadowBlurRadius>0)&&f.textShadowOpacity>0)}this.PU(b);k.prototype.ga.call(this)};a.prototype.ti=function(){var a={left:"auto",right:"auto",top:"auto",bottom:"auto"};switch(this.j("horizontalAlign")){case f.na:a.left=
"0";break;case f.Ja:this.Je();a.left=this.Dd()-b(this)+"px";break;case f.Gc:this.Je();a.left=Math.max(0,Math.round((this.Dd()-b(this))*0.5))+"px"}switch(this.j("verticalAlign")){case f.hb:a.top="0";break;case f.gb:this.Je();a.top=this.Cd()-this.EC.clientHeight+"px";break;case f.nc:this.Je();a.top=Math.max(0,Math.round((this.Cd()-this.EC.clientHeight)*0.5))+"px"}this.PU(a)};a.prototype.PU=function(a){var b=this.EC.style,f;for(f in a)b[f]=a[f]};var n=function(){function a(){!e&&f()&&(e=setTimeout(function(){e=
r;var f=(new Date).getTime()-5E3,c;for(c in d){var g=d[c];g.timestamp<f&&delete d[c];var j=g.label;if(g.width!=b(j)||g.height!=j.cj.height()){j.Ta();j.Fc()}}a()},500))}function f(){for(var a in d)return p;return z}var c=1,d={},e=r;return function(f){f.h5||(f.h5=c++);d[f.h5]={label:f,timestamp:(new Date).getTime(),width:b(f),height:f.cj.height()};a()}}();return a});
define("iN","require,fb,dl,cj,R,kV,bY,fA,dj,fQ,fh,kC,gJ".split(","),function(a){var b=a("fb"),c=a("dl"),e=a("cj"),d=a("R"),f=a("kV"),g=a("bY"),k=a("fA"),j=a("dj"),n=a("fQ"),i=a("fh"),l=a("kC"),q=a("gJ"),o=b.extend(l,function(){this.Tc("Button");l.call(this);this.Gf=this.oa=r;this.set("childrenInteractionEnabled",z);this.set("contentOpaque",p);this.set("creationPolicy",e.ys);this.set("overflow",n.MZ);this.set("autoRolledOver",p);this.set("autoPressed",p);this.set("cursor",d.he)});o.prototype.xa=function(){l.prototype.xa.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",j.ad);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",i.v,"opacity");this.h("rollOverIconWidth",i.v,"iconWidth");this.h("rollOverIconHeight",i.v,"iconHeight");this.h("rollOverFontSize",i.v,"fontSize");this.h("rollOverFontColor",i.v,"fontColor");this.h("rollOverFontWeight",i.v,"fontWeight");this.h("rollOverFontStyle",i.v,"fontStyle");this.h("rollOverTextDecoration",i.v,"textDecoration");this.h("rollOverTextShadowBlurRadius",i.v,"textShadowBlurRadius");this.h("rollOverTextShadowColor",
i.v,"textShadowColor");this.h("rollOverTextShadowHorizontalLength",i.v,"textShadowHorizontalLength");this.h("rollOverTextShadowOpacity",i.v,"textShadowOpacity");this.h("rollOverTextShadowVerticalLength",i.v,"textShadowVerticalLength");this.h("rollOverBorderSize",i.v,"borderSize");this.h("rollOverBorderLeftSize",i.v,"borderLeftSize");this.h("rollOverBorderTopSize",i.v,"borderTopSize");this.h("rollOverBorderRightSize",i.v,"borderRightSize");this.h("rollOverBorderBottomSize",i.v,"borderBottomSize");
this.h("rollOverBorderColor",i.v,"borderColor");this.h("rollOverBorderLeftColor",i.v,"borderLeftColor");this.h("rollOverBorderTopColor",i.v,"borderTopColor");this.h("rollOverBorderRightColor",i.v,"borderRightColor");this.h("rollOverBorderBottomColor",i.v,"borderBottomColor");this.h("rollOverShadow",i.v,"shadow");this.h("rollOverShadowHorizontalLength",i.v,"shadowHorizontalLength");this.h("rollOverShadowVerticalLength",i.v,"shadowVerticalLength");this.h("rollOverShadowBlurRadius",i.v,"shadowBlurRadius");
this.h("rollOverShadowSpread",i.v,"shadowSpread");this.h("rollOverShadowOpacity",i.v,"shadowOpacity");this.h("rollOverShadowColor",i.v,"shadowColor");this.h("rollOverBackgroundOpacity",i.v,"backgroundOpacity");this.h("rollOverBackgroundColor",i.v,"backgroundColor");this.h("rollOverBackgroundColorRatios",i.v,"backgroundColorRatios");this.h("rollOverBackgroundColorDirection",i.v,"backgroundColorDirection");this.h("pressedLabel",i.ya,"label");this.h("pressedOpacity",i.ya,"opacity");this.h("pressedIconWidth",
i.ya,"iconWidth");this.h("pressedIconHeight",i.ya,"iconHeight");this.h("pressedFontSize",i.ya,"fontSize");this.h("pressedFontColor",i.ya,"fontColor");this.h("pressedFontWeight",i.ya,"fontWeight");this.h("pressedFontStyle",i.ya,"fontStyle");this.h("pressedTextDecoration",i.ya,"textDecoration");this.h("pressedTextShadowBlurRadius",i.ya,"textShadowBlurRadius");this.h("pressedTextShadowColor",i.ya,"textShadowColor");this.h("pressedTextShadowHorizontalLength",i.ya,"textShadowHorizontalLength");this.h("pressedTextShadowOpacity",
i.ya,"textShadowOpacity");this.h("pressedTextShadowVerticalLength",i.ya,"textShadowVerticalLength");this.h("pressedBorderSize",i.ya,"borderSize");this.h("pressedBorderLeftSize",i.ya,"borderLeftSize");this.h("pressedBorderTopSize",i.ya,"borderTopSize");this.h("pressedBorderRightSize",i.ya,"borderRightSize");this.h("pressedBorderBottomSize",i.ya,"borderBottomSize");this.h("pressedBorderColor",i.ya,"borderColor");this.h("pressedBorderLeftColor",i.ya,"borderLeftColor");this.h("pressedBorderTopColor",
i.ya,"borderTopColor");this.h("pressedBorderRightColor",i.ya,"borderRightColor");this.h("pressedBorderBottomColor",i.ya,"borderBottomColor");this.h("pressedShadow",i.ya,"shadow");this.h("pressedShadowHorizontalLength",i.ya,"shadowHorizontalLength");this.h("pressedShadowVerticalLength",i.ya,"shadowVerticalLength");this.h("pressedShadowBlurRadius",i.ya,"shadowBlurRadius");this.h("pressedShadowSpread",i.ya,"shadowSpread");this.h("pressedShadowOpacity",i.ya,"shadowOpacity");this.h("pressedShadowColor",
i.ya,"shadowColor");this.h("pressedBackgroundOpacity",i.ya,"backgroundOpacity");this.h("pressedBackgroundColor",i.ya,"backgroundColor");this.h("pressedBackgroundColorRatios",i.ya,"backgroundColorRatios");this.h("pressedBackgroundColorDirection",i.ya,"backgroundColorDirection");this.h("pressedLabel",i.Wa,"label");this.h("pressedRollOverOpacity",i.Wa,"opacity");this.h("pressedRollOverIconWidth",i.Wa,"iconWidth");this.h("pressedRollOverIconHeight",i.Wa,"iconHeight");this.h("pressedRollOverFontSize",
i.Wa,"fontSize");this.h("pressedRollOverFontColor",i.Wa,"fontColor");this.h("pressedRollOverFontWeight",i.Wa,"fontWeight");this.h("pressedRollOverFontStyle",i.Wa,"fontStyle");this.h("pressedRollOverTextDecoration",i.Wa,"textDecoration");this.h("pressedRollOverTextShadowBlurRadius",i.Wa,"textShadowBlurRadius");this.h("pressedRollOverTextShadowColor",i.Wa,"textShadowColor");this.h("pressedRollOverTextShadowHorizontalLength",i.Wa,"textShadowHorizontalLength");this.h("pressedRollOverTextShadowOpacity",
i.Wa,"textShadowOpacity");this.h("pressedRollOverTextShadowVerticalLength",i.Wa,"textShadowVerticalLength");this.h("pressedRollOverBorderSize",i.Wa,"borderSize");this.h("pressedRollOverBorderLeftSize",i.Wa,"borderLeftSize");this.h("pressedRollOverBorderTopSize",i.Wa,"borderTopSize");this.h("pressedRollOverBorderRightSize",i.Wa,"borderRightSize");this.h("pressedRollOverBorderBottomSize",i.Wa,"borderBottomSize");this.h("pressedRollOverBorderColor",i.Wa,"borderColor");this.h("pressedRollOverBorderLeftColor",
i.Wa,"borderLeftColor");this.h("pressedRollOverBorderTopColor",i.Wa,"borderTopColor");this.h("pressedRollOverBorderRightColor",i.Wa,"borderRightColor");this.h("pressedRollOverBorderBottomColor",i.Wa,"borderBottomColor");this.h("pressedRollOverShadow",i.Wa,"shadow");this.h("pressedRollOverShadowHorizontalLength",i.Wa,"shadowHorizontalLength");this.h("pressedRollOverShadowVerticalLength",i.Wa,"shadowVerticalLength");this.h("pressedRollOverShadowBlurRadius",i.Wa,"shadowBlurRadius");this.h("pressedRollOverShadowSpread",
i.Wa,"shadowSpread");this.h("pressedRollOverShadowOpacity",i.Wa,"shadowOpacity");this.h("pressedRollOverShadowColor",i.Wa,"shadowColor");this.h("pressedRollOverBackgroundOpacity",i.Wa,"backgroundOpacity");this.h("pressedRollOverBackgroundColor",i.Wa,"backgroundColor");this.h("pressedRollOverBackgroundColorRatios",i.Wa,"backgroundColorRatios");this.h("pressedRollOverBackgroundColorDirection",i.Wa,"backgroundColorDirection")};o.prototype.FP=D();o.prototype.Ha=function(){l.prototype.Ha.call(this);if(!this.Gf){this.Gf=
this.FP();this.la(this.Gf)}if(!this.oa){this.oa=new q;this.la(this.oa)}};o.prototype.Sz=function(){if(this.get("pressed")){this.set("pressed",z);this.trigger(new g(f.zh))}else{this.set("pressed",p);this.trigger(new g(f.rg))}};o.prototype.ga=function(){var a=z;if(this.n("mode")){if(this.j("mode")==j.ad){this.unbind(f.T,this.Sz,this,p);this.set("autoPressed",p)}else{this.bind(f.T,this.Sz,this,p);this.set("autoPressed",z)}this.p("mode");a=p}if(a||this.n("pressed"))this.j("mode")==j.Ah?this.Gx(this.j("pressed")==
p):a&&this.Gx(z);if(this.n("label")){a=this.j("label");this.oa.set("text",a);this.oa.set("visible",a?p:z);this.p("label")}this.cb(o.o0,o.p0,[this.oa],p,p);if(this.n("iconBeforeLabel")){this.j("iconBeforeLabel")==z?this.oj(this.oa,0):this.oj(this.Gf,0);this.p("iconBeforeLabel")}if(this.n("iconWidth")){this.Gf.set("width",this.j("iconWidth"));this.p("iconWidth")}if(this.n("iconHeight")){this.Gf.set("height",this.j("iconHeight"));this.p("iconHeight")}if(this.n("buttonGroup")){(a=this.j("buttonGroup"))?
k.register(this,a):k.WE(this);this.p("buttonGroup")}this.cb(["horizontalAlign","verticalAlign"],{},[this.Gf],p,z);l.prototype.ga.call(this)};o.o0=["fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];o.p0={};c(o.o0).each(function(a){o.p0[a]=a});return o});
define("hi",["require","fb","iN","dR","kV"],function(a){var b=a("fb"),c=a("iN"),e=a("dR"),a=a("kV"),b=b.extend(c,function(){c.call(this)});e.A("BaseButton",b).B("UIComponent").M({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]"}).zp(["fontSize","rollOverFontSize","pressedFontSize","pressedRollOverFontSize"]).Rb([a.rg,a.zh]).Xf([a.T]);return b});
define("iZ",[],function(){return{NONE:"none",yn:"fill",Ke:"fit_inside",am:"fit_outside",Kk:"fit_to_width",Vg:"fit_to_height",Nda:"custom"}});
define("jr","require,dl,jquery.mod,fb,kV,fZ,r,jJ,iZ,d,eZ,hS".split(","),function(a){function b(a){this.$O=a;this.dd=[];this.Dh=r}var c=a("dl"),e=a("jquery.mod"),d=a("fb"),f=a("kV"),g=a("fZ"),k=a("r"),j=a("jJ"),n=a("iZ"),i=a("d"),l=a("eZ"),q=a("hS");b.Ri=document.createElement("a");b.prototype.sha=function(a){b.Ri.href=a;return b.Ri.href};b.prototype.load=function(a,b,d){a=this.sha(a);if(this.Dh&&!this.Dh.kp()){this.Dh.cancel();this.dd=c(this.dd).without(this.Dh)}if(this.Dh=c(this.dd).find(function(b){return b.uk()==
a}))this.dd=c(this.dd).without(this.Dh);else{this.Dh=new q(g.F_);this.Dh.load(a)}for(this.dd.splice(0,0,this.Dh);this.dd.length>this.$O;)this.dd.pop().cancel();if(b){var e=this.Dh,j=function(){b.call(d||window,e.pe(),e.Xc(),e.Kd())};this.Dh.kp()?j():this.Dh.bind(f.R,j)}};b.prototype.clear=function(){this.dd.forEach(function(a){a.cancel()});this.Dh=r};a=d.extend(i,function(a){i.call(this);this.Tc("Image");this.$O=a||1;this.bW=z;this.Jh=j.na;this.mH=z;this.fi=j.hb;this.BK=z;this.Ad=n.NONE;this.kU=z;
this.gx=this.hx=0;this.LR=this.dT=z;this.Ua=this.Ka=0;this.Pn=z;this.tS=this.Kh=this.qb=this.tH=this.sH=r;this.bind(f.vb,this.Tka,this);this.bind(f.ld,this.Uka,this)});a.prototype.cR=function(){this.tS=new b(this.$O);this.cR=R("tS");return this.tS};a.prototype.xa=function(){i.prototype.xa.call(this);this.f("horizontalAlign",j.na);this.f("verticalAlign",j.hb);this.f("scaleMode",n.NONE)};a.prototype.set=function(a,b){if(a=="url"&&this.get("url")!=b){this.bW=p;this.yc()}i.prototype.set.call(this,a,b)};
a.prototype.Uy=function(a){if(this.Jh!=a){this.Jh=a;this.mH=p;this.yc()}};a.prototype.Zy=function(a){if(this.fi!=a){this.fi=a;this.BK=p;this.yc()}};a.prototype.$r=function(a){if(this.Ad!=a){this.Ad=a;this.kU=p;this.yc();this.Ta()}};a.prototype.Tka=function(){this.Pn=p;this.yc()};a.prototype.Uka=function(){this.m$()};var o={position:"static",cursor:"inherit",display:"inline",verticalAlign:"top",visibility:"hidden","pointer-events":"none","user-select":"none","-ms-user-select":"none","-moz-user-select":"none",
"-webkit-user-select":"none","touch-callout":"none","-webkit-touch-callout":"none"};k.browser()==k.uj&&k.Va()&&(o.transform="translate3d(0,0,0)");a.prototype.a1=function(a,b,c){this.hx=b?b:0;this.gx=c?c:0;if(this.qb){this.qb.remove();this.qb=r}if(this.Kh=a){this.qb=e(this.Kh);l.css(this.Kh,o);this.sH.append(this.qb)}this.dT=this.LR=p;this.yc();this.Ta();this.qb&&this.trigger(f.R)};a.prototype.Ha=function(){i.prototype.Ha.call(this);if(!this.sH){this.tH=document.createElement("div");this.sH=e(this.tH);
l.css(this.tH,{position:"static",overflow:"hidden",cursor:"inherit"});this.Pa().append(this.sH)}};a.prototype.ro=function(){this.Oh=this.hx+this.ki()+this.Zm();this.Nh=this.gx+this.$m()+this.sy();this.Y4=this.hx==0&&this.gx==0?0:this.hx/this.gx;this.hB=this.iB=0};a.prototype.ga=function(){if(this.n("scaleMode")){this.$r(this.j("scaleMode"));this.p("scaleMode")}if(this.n("horizontalAlign")){this.Uy(this.j("horizontalAlign"));this.p("horizontalAlign")}if(this.n("verticalAlign")){this.Zy(this.j("verticalAlign"));
this.p("verticalAlign")}if(this.X0())this.Pn=p;i.prototype.ga.call(this);this.m$();if(this.rua()){var a=z;if(this.kU||this.dT||this.Pn){var b=this.Dd(),f=this.Cd(),c=this.hx,d=this.gx,e,g;if(c==0||d==0)g=e=0;else switch(this.Ad){case n.NONE:e=c;g=d;break;case n.yn:e=b;g=f;break;case n.Ke:if(c*f>d*b){e=b;g=d*b/c}else{e=c*f/d;g=f}break;case n.am:if(c*f>d*b){e=c*f/d;g=f}else{e=b;g=d*b/c}break;case n.Kk:e=b;g=d*b/c;break;case n.Vg:e=c*f/d;g=f}if(this.Ka!=e||this.Ua!=g){this.Ka=e;this.Ua=g;a=p}this.dT=
this.kU=z}if(a||this.Pn||this.LR){this.BK=this.mH=p;this.Kh&&l.css(this.Kh,{width:this.Ka+"px",height:this.Ua+"px",visibility:"inherit"});l.css(this.tH,{width:this.Dd()+"px",height:this.Cd()+"px","border-top-left-radius":this.iH(this.wja(),this.t3(),this.r3())+"px","border-top-right-radius":this.iH(this.xja(),this.t3(),this.s3())+"px","border-bottom-left-radius":this.iH(this.uja(),this.q3(),this.r3())+"px","border-bottom-right-radius":this.iH(this.vja(),this.q3(),this.s3())+"px"});this.Ta();this.LR=
this.Pn=z}if(this.mH&&this.Kh){switch(this.Jh){case j.na:l.css(this.Kh,{"margin-left":0,"margin-right":this.Dd()-this.Ka+"px"});break;case j.Ja:l.css(this.Kh,{"margin-left":this.Dd()-this.Ka+"px","margin-right":0});break;case j.Gc:l.css(this.Kh,{"margin-left":Math.floor((this.Dd()-this.Ka)*0.5)+"px","margin-right":Math.ceil((this.Dd()-this.Ka)*0.5)+"px"})}this.mH=z}if(this.BK&&this.Kh){switch(this.fi){case j.hb:l.css(this.Kh,{"margin-top":0,"margin-bottom":this.Cd()-this.Ua+"px"});break;case j.gb:l.css(this.Kh,
{"margin-top":this.Cd()-this.Ua+"px","margin-bottom":0});break;case j.nc:l.css(this.Kh,{"margin-top":Math.floor((this.Cd()-this.Ua)*0.5)+"px","margin-bottom":Math.ceil((this.Cd()-this.Ua)*0.5)+"px"})}this.BK=z}}};a.prototype.m$=function(){if(this.bW){var a=this.get("url");if(a)this.cR().load(a,this.a1,this);else{this.cR().clear();this.a1(r,0,0)}this.bW=z}};a.prototype.iH=function(a,b,f){if(!a)return 0;var c=0;b&&(c=Math.max(c,b));f&&(c=Math.max(c,f));return Math.max(0,a-c)};return a});
define("eu",["fb","iZ","fh","iN","jr"],function(a,b,c,e,d){a=a.extend(e,function(){e.call(this)});a.prototype.xa=function(){e.prototype.xa.call(this);this.f("iconURL");this.h("rollOverIconURL",c.v,"iconURL");this.h("pressedIconURL",c.ya,"iconURL");this.h("pressedRollOverIconURL",c.Wa,"iconURL")};a.prototype.FP=function(){var a=new d(3);a.set("scaleMode",b.Ke);return a};a.prototype.ga=function(){if(this.n("iconURL")){var a=this.j("iconURL");this.Gf.set("url",a);this.Gf.set("visible",a?p:z);this.p("iconURL")}e.prototype.ga.call(this)};
return a});define("et",["fb","eu","dR"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("Button",a).B("BaseButton").M({iconURL:"string",rollOverIconURL:"string",pressedIconURL:"string",pressedRollOverIconURL:"string"}).vh(["iconURL","rollOverIconURL","pressedIconURL","pressedRollOverIconURL"]);return a});
define("gf",["require","fb","iP","kV","dR"],function(a){var b=a("fb"),c=a("iP"),e=a("kV"),a=a("dR"),b=b.extend(c,function(){c.call(this);this.set("angle",0);this.set("rotate",z);this.set("inertia",z)});a.A("CapPanoramaOverlay",b).B("PanoramaOverlay").M({angle:"number",distance:"number",hfov:"number",image:"ImageResource",inertia:"bool",rotate:"bool",useHandCursor:"bool"}).Rb([e.pc,e.Mb,e.yh,e.Le]).Xf([e.T]);return b});
define("fW",["fb","dR","gf"],function(a,b,c){a=a.extend(c,function(){c.call(this)});b.A("CeilingCapPanoramaOverlay",a).B("CapPanoramaOverlay");return a});
define("bX","dl,jquery.mod,fb,kV,bY,d".split(","),function(a,b,c,e,d,f){a=c.extend(f,function(){f.call(this);this.Tc("Canvas");this.rQ=p;this.t=r;this.bind(e.vb,this.Rga,this)});a.prototype.Rga=function(){this.GL()};a.prototype.GL=function(){this.rQ=p;this.rh()};a.prototype.Ha=function(){f.prototype.Ha.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.ga=function(){this.X0()&&this.GL();f.prototype.ga.call(this)};
a.prototype.Je=function(){if(this.rQ){this.rQ=z;var a=this.t.get(0);a.width=this.Dd();a.height=this.Cd();this.fya()}f.prototype.Je.call(this)};a.prototype.Ita=function(){return this.t.get(0).width};a.prototype.Hta=function(){return this.t.get(0).height};a.prototype.Gta=function(){return this.t.get(0).getContext("2d")};a.prototype.fya=function(){this.trigger(new d(e.aa))};return a});
define("hz",["fb","kV","fh","iN","bX"],function(a,b,c,e,d){a=a.extend(e,function(){e.call(this)});a.prototype.ti=function(){e.prototype.ti.call(this)};a.prototype.xa=function(){e.prototype.xa.call(this);this.f("iconColor");this.h("rollOverIconColor",c.v,"iconColor");this.h("pressedIconColor",c.ya,"iconColor");this.h("pressedRollOverIconColor",c.Wa,"iconColor")};a.prototype.FP=function(){var a=new d;a.bind(b.aa,this.vda,this,p);return a};a.prototype.ga=function(){this.n("iconColor")&&(this.Gf.GL(),
this.p("iconColor"));e.prototype.ga.call(this)};a.prototype.Nja=function(){return this.j("iconColor")};a.prototype.Oja=function(){return this.Gf.Gta()};a.prototype.Qja=function(){return this.Gf.Ita()};a.prototype.Pja=function(){return this.Gf.Hta()};a.prototype.vda=D();return a});
define("eA",["fb","hz","jJ","fh"],function(a,b,c,e){a=a.extend(b,function(){b.call(this);this.N({horizontalAlign:c.Gc,verticalAlign:c.nc})});a.prototype.xa=function(){b.prototype.xa.call(this);this.f("iconLineWidth");this.h("rollOverIconLineWidth",e.v,"iconLineWidth");this.h("pressedIconLineWidth",e.ya,"iconLineWidth");this.h("pressedRollOverIconLineWidth",e.Wa,"iconLineWidth")};a.prototype.Xja=function(){return this.j("iconLineWidth")};a.prototype.ga=function(){this.n("iconLineWidth")&&(this.Gf.GL(),
this.p("iconLineWidth"));b.prototype.ga.call(this)};a.prototype.vda=function(){var a=this.Oja(),b=this.Nja(),c=this.Qja(),e=this.Pja(),j=this.Xja();a.clearRect(0,0,c,e);a.lineWidth=j||1;a.strokeStyle=b||"#000000";a.beginPath();a.moveTo(0,0);a.lineTo(c,e);a.moveTo(0,e);a.lineTo(c,0);a.closePath();a.stroke()};return a});
define("gV",["fb","eA","dR"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("CloseButton",a).B("BaseButton").M({iconColor:"color",iconLineWidth:"number",rollOverIconColor:"color",rollOverIconLineWidth:"number",pressedIconColor:"color",pressedIconLineWidth:"number",pressedRollOverIconColor:"color",pressedRollOverIconLineWidth:"number"});return a});
define("hB",["require","fb","iP","dR"],function(a){var b=a("fb"),c=a("iP"),a=a("dR"),b=b.extend(c,function(){c.call(this)});a.A("CookiesPolicy",b).B("Object").M({url:"string",geographicArea:"or[array[string], string]"}).vh(["url"]);return b});
define("iO","require,dl,iz,fb,kC,dR".split(","),function(a){a("dl");var b=a("iz"),c=a("fb"),e=a("kC"),a=a("dR"),c=c.extend(e,function(){e.call(this)});a.A("Container",c).B("UIComponent").M({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]"}).Qg({scrollTo:function(a,b){e.prototype.scrollTo.call(this,a,b)},scrollIntoView:function(a){b.gv(function(){e.prototype.scrollIntoView.call(this,a)}.bind(this))}});return c});
define("iD",["require","fb","iP","dR"],function(a){var b=a("fb"),c=a("iP"),e=a("dR"),a=b.extend(c,function(){c.call(this);this.L=r});e.A("PanoramaFrame",a).B("Object").M({thumbnailUrl:"string",snapshots:"array[PanoramaSnapshot]",overlays:"array[PanoramaOverlay]"}).vh(["thumbnailUrl"]);a.prototype.get=function(a,b){switch(a){case "overlays":return this.eR();case "hfov":case "vfov":case "pitch":case "flipImageHorizontally":if(this.L)return this.L.get(a,b)}return c.prototype.get.call(this,a,b)};a.prototype.eR=
function(){var a=c.prototype.get.call(this,"overlays");a||(a=[]);return this.NU(a)};a.prototype.NU=function(a){if(this.Lx===m||this.KH!=a){var b=function(a){return e.zb("PopupPanoramaOverlay",a)},c=function(a){return e.zb("LensFlarePanoramaOverlay",a)};this.KH=a;this.Lx=[].concat(a.filter(function(a){return!(b(a)||c(a))}),a.filter(c),a.filter(b))}return this.Lx};a.prototype.ysa=P("L");a.prototype.vy=R("L");a.prototype.sh=S(z);return a});
define("kK",["require","fb","dR","iD"],function(a){var b=a("fb"),c=a("dR"),e=a("iD"),a=b.extend(e,function(){e.call(this)});c.A("CubicPanoramaFrame",a).B("PanoramaFrame").M({cube:"ImageResource",stereoCube:"ImageResource",front:"ImageResource",left:"ImageResource",back:"ImageResource",right:"ImageResource",top:"ImageResource",bottom:"ImageResource"});return a});
define("go",["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",
accept:"\u0642\u0628\u0648\u0644",download:"Download","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again","web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",cancel:"Cancel","change-to-click-and-move":"\u062a\u063a\u064a\u064a\u0631 \u0648\u0636\u0639 \u0627\u0644\u062a\u062d\u0643\u0645 \u0644\u0644\u0646\u0642\u0631 \u0648\u0627\u0644\u062a\u062d\u0631\u0643",
yes:"\u0646\u0639\u0645 \u0641\u0639\u0644\u0627","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"\u0627\u0644\u062e\u0631\u0648\u062c \u0645\u0646 \u0648\u0636\u0639 \u0645\u0644\u0626 \u0644\u0644\u0634\u0627\u0634\u0629",no:"\u0644\u0627","download-failed":"Download failed","giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.",
"cookies-notice":"\u062a\u0633\u062a\u062e\u062f\u0645 \u0635\u0641\u062d\u0629 \u0627\u0644\u0648\u064a\u0628 \u0647\u0630\u0647 \u0645\u0644\u0641\u0627\u062a \u062a\u0639\u0631\u064a\u0641 \u0627\u0644\u0627\u0631\u062a\u0628\u0627\u0637 \u0644\u062c\u0645\u0639 \u0625\u062d\u0635\u0627\u0626\u064a\u0627\u062a \u0627\u0644\u0627\u0633\u062a\u062e\u062f\u0627\u0645. \u0644\u0645\u0632\u064a\u062f \u0645\u0646 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062a \u060c \u064a\u0631\u062c\u0649 \u0632\u064a\u0627\u0631\u0629 <a> \u0633\u064a\u0627\u0633\u0629 \u0645\u0644\u0641\u0627\u062a \u062a\u0639\u0631\u064a\u0641 \u0627\u0644\u0627\u0631\u062a\u0628\u0627\u0637 </a>.",
"use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please, rotate your device","exit-vr":"Exit VR",reject:"\u064a\u0631\u0641\u0636","disable-measure":"Stop measuring",downloading:"Downloading","cardboard-v2":"If you have a Cardboard v2 headset, which comes with a button, you can gaze at a hotspot and press the button to trigger its action.","enable-video-audio-prompt":"\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u0635\u0648\u062a \u0648\u0627\u0644\u0641\u064a\u062f\u064a\u0648\u061f",
"storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-app-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you need to make Samsung Internet your default browser.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.",
"enable-video-prompt":"\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u0641\u064a\u062f\u064a\u0648\u061f","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"\u0623\u062f\u062e\u0644 \u0645\u0644\u0621 \u0627\u0644\u0634\u0627\u0634\u0629",
"use-cardboard-v2":"Use Cardboard v2",unmute:"\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u0635\u0648\u062a","enter-vr":"Enter VR content","enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u0635\u0648\u062a\u061f"},"bg-bg":{mute:"\u0417\u0430\u0433\u043b\u0443\u0448\u0430\u0432\u0430\u043d\u0435",
"cardboard-v1":"\u0410\u043a\u043e \u043d\u0435 \u0441\u0442\u0435 \u0441\u0438\u0433\u0443\u0440\u043d\u0438 \u043a\u043e\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043d\u0430 Cardboard \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435, \u0438\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b \u043d\u0430 \u0445\u043e\u0442\u0441\u043f\u043e\u0442 \u043f\u043e \u043f\u043e\u0434\u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043d\u0435. \u0421\u043b\u0435\u0434 \u0442\u043e\u0432\u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u0449\u0435 \u043f\u043e\u0433\u043b\u0435\u0434\u043d\u0435\u0442\u0435 \u0445\u043e\u0442\u0441\u043f\u043e\u0442\u0430 \u0438 \u0449\u0435 \u0438\u0437\u0447\u0430\u043a\u0430\u0442\u0435, \u0434\u043e\u043a\u0430\u0442\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u0442\u043e \u0441\u0435 \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u0430.",
"download-tour":"\u0418\u0437\u0442\u0435\u0433\u043b\u044f\u043d\u0435 \u043d\u0430 \u0442\u0443\u0440\u0430 \u0437\u0430 \u0432\u044a\u0437\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0436\u0434\u0430\u043d\u0435 \u043e\u0444\u043b\u0430\u0439\u043d","change-to-drag-and-release":"\u041f\u0440\u043e\u043c\u0435\u043d\u0435\u0442\u0435 \u0440\u0435\u0436\u0438\u043c\u0430 \u043d\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u041f\u043b\u044a\u0437\u0433\u0430\u043d\u0435 \u0438 \u041f\u0443\u0441\u043a\u0430\u043d\u0435",
accept:"\u041f\u0440\u0438\u0435\u043c\u0435\u0442\u0435",cancel:"\u041e\u0442\u043a\u0430\u0437","storage-not-provided-bookmark":"\u041f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u0442\u043e \u0441\u044a\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0435 \u043e\u0442\u043a\u0430\u0437\u0430\u043d\u043e. \u041e\u043f\u0438\u0442\u0430\u0439\u0442\u0435 \u0434\u0430 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u0435 \u0442\u0430\u0437\u0438 \u0443\u0435\u0431 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0432 \u043e\u0442\u043c\u0435\u0442\u043a\u0438 \u0438 \u0434\u0430 \u044f \u043f\u0440\u0435\u0437\u0430\u0440\u0435\u0434\u0438\u0442\u0435.",
"dont-display-again":"\u041d\u0435 \u043f\u043e\u043a\u0430\u0437\u0432\u0430\u0439 \u0442\u0430\u0437\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e\u0442\u043d\u043e\u0432\u043e","web-server-required":"\u0422\u043e\u0437\u0438 \u0432\u0438\u0440\u0442\u0443\u0430\u0435\u043b\u0435\u043d \u0442\u0443\u0440 \u043d\u0435 \u043c\u043e\u0436\u0435 \u0434\u0430 \u0431\u044a\u0434\u0435 \u043f\u0443\u0441\u043d\u0430\u0442 \u043e\u0442 \u043b\u043e\u043a\u0430\u043b\u043d\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e. \u041c\u043e\u043b\u044f, \u043a\u0430\u0447\u0435\u0442\u0435 \u0433\u043e \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0438 \u043e\u043f\u0438\u0442\u0430\u0439\u0442\u0435 \u043e\u0442\u043d\u043e\u0432\u043e.\n\u0410\u043a\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u0442\u0435, \u0438\u0437\u0442\u0435\u0433\u043b\u0435\u0442\u0435 htm \u0444\u0430\u0439\u043b\u0430 (\u0438\u043b\u0438 \u0446\u044f\u043b\u0430\u0442\u0430 \u043f\u0430\u043f\u043a\u0430 \u043d\u0430 \u0442\u0443\u0440\u0430) \u0432\u044a\u0440\u0445\u0443 \u0438\u043a\u043e\u043d\u0430\u0442\u0430 \u043d\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u0442\u043e TourViewer.",
download:"\u0418\u0437\u0442\u0435\u0433\u043b\u044f\u043d\u0435","change-to-click-and-move":"\u041f\u0440\u043e\u043c\u0435\u043d\u0435\u0442\u0435 \u0440\u0435\u0436\u0438\u043c\u0430 \u043d\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u041a\u043b\u0438\u043a\u0432\u0430\u043d\u0435 \u0438 \u041f\u0440\u0435\u043c\u0435\u0441\u0442\u0432\u0430\u043d\u0435",yes:"\u0434\u0430","delete-downloaded":"\u0418\u0437\u0442\u0440\u0438\u0432\u0430\u043d\u0435","use-safari-for-vr":"\u041f\u0440\u0435\u043f\u043e\u0440\u044a\u0447\u0432\u0430\u043c\u0435 Safari, \u0437\u0430 \u0434\u0430 \u0440\u0430\u0437\u0433\u043b\u0435\u0434\u0430\u0442\u0435 \u0442\u043e\u0437\u0438 \u0442\u0443\u0440 \u0432 \u0440\u0435\u0436\u0438\u043c VR",
"exit-fullscreen":"\u0418\u0437\u043b\u0435\u0437\u0442\u0435 \u043e\u0442 \u0446\u044f\u043b \u0435\u043a\u0440\u0430\u043d",no:"\u043d\u0435","download-failed":"\u0418\u0437\u0442\u0435\u0433\u043b\u044f\u043d\u0435\u0442\u043e \u0441\u0435 \u043f\u0440\u043e\u0432\u0430\u043b\u0438","giroscope-disabled-http":"\u0418\u043c\u0430\u0442\u0435 \u0434\u043e\u0441\u0442\u044a\u043f \u0434\u043e \u0442\u0430\u0437\u0438 \u0443\u0435\u0431 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0447\u0440\u0435\u0437 http, \u0442\u0430\u043a\u0430 \u0447\u0435 \u0434\u043e\u0441\u0442\u044a\u043f\u044a\u0442 \u0434\u043e \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435\u0442\u043e \u0438 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u044f\u0442\u0430 \u043d\u0430 \u0432\u0430\u0448\u0435\u0442\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0438 \u0440\u0435\u0436\u0438\u043c\u044a\u0442 VR \u0441\u0430 \u0434\u0435\u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u043d\u0438, \u043c\u043e\u043b\u044f, \u043e\u0442\u0432\u043e\u0440\u0435\u0442\u0435 \u0433\u043e \u0447\u0440\u0435\u0437 https, \u0437\u0430 \u0434\u0430 \u0433\u0438 \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u0442\u0435.",
"cookies-notice":"\u0422\u0430\u0437\u0438 \u0443\u0435\u0431 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430 \u0431\u0438\u0441\u043a\u0432\u0438\u0442\u043a\u0438 \u0437\u0430 \u0441\u044a\u0431\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0434\u0430\u043d\u043d\u0438 \u0437\u0430 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043d\u0435\u0442\u043e. \u0417\u0430 \u043f\u043e\u0432\u0435\u0447\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f, \u043c\u043e\u043b\u044f, \u043f\u043e\u0441\u0435\u0442\u0435\u0442\u0435 <a> \u041f\u0440\u0430\u0432\u0438\u043b\u0430\u0442\u0430 \u0437\u0430 \u0431\u0438\u0441\u043a\u0432\u0438\u0442\u043a\u0438\u0442\u0435 </a>.",
"use-cardboard":"\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0439 Cardboard","launch-default-browser":"\u0421\u0442\u0430\u0440\u0442\u0438\u0440\u0430\u043d\u0435 \u0432 \u0431\u0440\u0430\u0443\u0437\u044a\u0440\u0430 \u043f\u043e \u043f\u043e\u0434\u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043d\u0435","rotate-device":"\u041c\u043e\u043b\u044f \u0437\u0430\u0432\u044a\u0440\u0442\u0435\u0442\u0435 \u0432\u0430\u0448\u0435\u0442\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e",
"exit-vr":"\u0418\u0437\u043b\u0438\u0437\u0430\u043d\u0435 \u043e\u0442 \u0440\u0435\u0436\u0438\u043c VR","storage-not-provided-launch-from-desktop":"\u041c\u043e\u043b\u044f, \u0440\u0435\u0441\u0442\u0430\u0440\u0442\u0438\u0440\u0430\u0439\u0442\u0435 \u043e\u0431\u0438\u043a\u043e\u043b\u043a\u0430\u0442\u0430 \u043e\u0442 \u0438\u043a\u043e\u043d\u0430\u0442\u0430 \u043d\u0430 \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u0430, \u0437\u0430 \u0434\u0430 \u044f \u0438\u0437\u0442\u0435\u0433\u043b\u0438\u0442\u0435.",
"disable-measure":"Stop measuring",downloading:"\u0418\u0437\u0442\u0435\u0433\u043b\u044f\u043d\u0435","cardboard-v2":"\u0410\u043a\u043e \u0438\u043c\u0430\u0442\u0435 \u043e\u0447\u0438\u043b\u0430 Cardboard v2, \u043a\u043e\u0438\u0442\u043e \u0440\u0430\u0437\u043f\u043e\u043b\u0430\u0433\u0430\u0442 \u0441 \u0431\u0443\u0442\u043e\u043d, \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430 \u043f\u043e\u0433\u043b\u0435\u0434\u043d\u0435\u0442\u0435 \u0445\u043e\u0442\u0441\u043f\u043e\u0442\u0430 \u0438 \u0434\u0430 \u043d\u0430\u0442\u0438\u0441\u043d\u0435\u0442\u0435 \u0431\u0443\u0442\u043e\u043d\u0430, \u0437\u0430 \u0434\u0430 \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u0442\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u0442\u043e \u043c\u0443.",
"enable-video-audio-prompt":"\u0410\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0432\u0438\u0434\u0435\u043e \u0438 \u0430\u0443\u0434\u0438\u043e?",reject:"\u041e\u0442\u0445\u0432\u044a\u0440\u043b\u0435\u0442\u0435",downloaded:"\u0422\u043e\u0437\u0438 \u0442\u0443\u0440 \u0435 \u0438\u0437\u0442\u0435\u0433\u043b\u0435\u043d \u0437\u0430 \u0432\u044a\u0437\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0436\u0434\u0430\u043d\u0435 \u043e\u0444\u043b\u0430\u0439\u043d.","samsung-internet-vr-app-info":"\u0410\u043a\u043e \u0438\u043c\u0430\u0442\u0435 \u043e\u0447\u0438\u043b\u0430 Gear VR, \u0441\u044a\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u0438 \u0441 \u0442\u043e\u0432\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u0438 \u0441\u0442\u0435 \u0438\u043d\u0441\u0442\u0430\u043b\u0438\u0440\u0430\u043b\u0438 Samsung Internet for VR, \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430 \u0433\u0438 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435 \u0438 \u0437\u0430 \u043f\u0440\u0435\u0433\u043b\u0435\u0434 \u043d\u0430 \u0442\u043e\u0432\u0430 \u0441\u044a\u0434\u044a\u0440\u0436\u0430\u043d\u0438\u0435 \u0432\u044a\u0432 VR. \u0422\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u043d\u0430\u043f\u0440\u0430\u0432\u0438\u0442\u0435 Samsung Internet \u0431\u0440\u0430\u0443\u0437\u044a\u0440 \u043f\u043e \u043f\u043e\u0434\u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043d\u0435.",
"samsung-internet-vr-info":"\u0410\u043a\u043e \u0438\u043c\u0430\u0442\u0435 \u043e\u0447\u0438\u043b\u0430 Gear VR, \u0441\u044a\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u0438 \u0441 \u0442\u043e\u0432\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u0438 \u0441\u0442\u0435 \u0438\u043d\u0441\u0442\u0430\u043b\u0438\u0440\u0430\u043b\u0438 Samsung Internet for VR, \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430 \u0433\u0438 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435 \u0438 \u0437\u0430 \u043f\u0440\u0435\u0433\u043b\u0435\u0434 \u043d\u0430 \u0442\u043e\u0432\u0430 \u0441\u044a\u0434\u044a\u0440\u0436\u0430\u043d\u0438\u0435 \u0432\u044a\u0432 VR. \u0421\u0435\u0433\u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0441\u043b\u043e\u0436\u0438\u0442\u0435 \u043c\u043e\u0431\u0438\u043b\u043d\u0438\u044f \u0441\u0438 \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u0432 \u043e\u0447\u0438\u043b\u0430\u0442\u0430 \u0437\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u043d\u0430 \u0440\u0435\u0430\u043b\u043d\u043e\u0441\u0442.",
"enable-video-prompt":"\u0410\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0432\u0438\u0434\u0435\u043e?","giroscope-disabled-safari-request-permission":["\u0414\u043e\u0441\u0442\u044a\u043f\u044a\u0442 \u0437\u0430 \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435 \u0438 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043d\u0430 \u0432\u0430\u0448\u0435\u0442\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0438 \u0440\u0435\u0436\u0438\u043c\u044a\u0442 VR \u0441\u0430 \u0434\u0435\u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u043d\u0438 \u0437\u0430 \u0442\u043e\u0437\u0438 \u0441\u0430\u0439\u0442.",
"\u0417\u0430 \u0434\u0430 \u0432\u0438\u0434\u0438\u0442\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043d\u043e \u0442\u0430\u0437\u0438 \u0443\u0435\u0431 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430, \u043c\u043e\u043b\u044f, \u043a\u043b\u0438\u043a\u043d\u0435\u0442\u0435 \u0432\u044a\u0440\u0445\u0443 \u043f\u0440\u043e\u0434\u044a\u043b\u0436\u0438 \u0438 \u043f\u0440\u0438\u0435\u043c\u0435\u0442\u0435 \u0438\u0441\u043a\u0430\u043d\u0435\u0442\u043e \u0437\u0430 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435."],
"storage-not-provided-launch-from-homescreen":"\u041c\u043e\u043b\u044f, \u0440\u0435\u0441\u0442\u0430\u0440\u0442\u0438\u0440\u0430\u0439\u0442\u0435 \u043e\u0431\u0438\u043a\u043e\u043b\u043a\u0430\u0442\u0430 \u043e\u0442 \u0438\u043a\u043e\u043d\u0430\u0442\u0430 \u043d\u0430 \u043d\u0430\u0447\u0430\u043b\u043d\u0438\u044f \u0435\u043a\u0440\u0430\u043d, \u0437\u0430 \u0434\u0430 \u044f \u0438\u0437\u0442\u0435\u0433\u043b\u0438\u0442\u0435.","enter-fullscreen":"\u0412\u043b\u0435\u0437\u0442\u0435 \u0432 \u0446\u044f\u043b \u0435\u043a\u0440\u0430\u043d",
"use-cardboard-v2":"\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0439 Cardboard v2",unmute:"\u041f\u0443\u0441\u043a\u0430\u043d\u0435 \u0437\u0432\u0443\u043a","enter-vr":"\u0412\u043b\u0435\u0437 \u0432\u044a\u0432 VR \u0441\u044a\u0434\u044a\u0440\u0436\u0430\u043d\u0438\u0435","enable-measure":"Start measuring","use-cardboard-info":"\u041c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435 \u0432\u0441\u044f\u043a\u0430\u043a\u0432\u0438 \u0441\u044a\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u0438 Google Cardboard \u043e\u0447\u0438\u043b\u0430, \u0437\u0430 \u0434\u0430 \u0432\u0438\u0434\u0438\u0442\u0435 \u0442\u043e\u0432\u0430 \u0441\u044a\u0434\u044a\u0440\u0436\u0430\u043d\u0438\u0435 \u0432\u044a\u0432 VR.",
"refresh-downloaded":"\u041e\u0431\u043d\u043e\u0432\u044f\u0432\u0430\u043d\u0435","use-default-cardboard":"\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u043e \u043f\u043e\u0434\u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043d\u0435","enable-audio-prompt":"\u0410\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0430\u0443\u0434\u0438\u043e?"},"ca-es":{mute:"Silenciar","cardboard-v1":"Si no esteu segurs de quina versi\u00f3 de cartr\u00f3 utilitzeu, seleccioneu el control de punt d'acc\u00e9s per defecte. Despr\u00e9s, simplement veureu un punt d'acc\u00e9s i espereu fins que s'activi l'acci\u00f3.",
"download-tour":"Descarregueu la visita virtual per a jugar fora de l\u00ednia","change-to-drag-and-release":"Canvieu el mode de control a Arrossegar i deixeu anar",accept:"Accepta",cancel:"Cancel\u00b7lar","storage-not-provided-bookmark":"S'ha denegat l'emmagatzematge persistent. Proveu de marcar aquesta p\u00e0gina web i torneu-la a carregar.","dont-display-again":"No tornis a mostrar aquesta informaci\u00f3","web-server-required":"Aquesta visita virtual no es pot reproduir des d'una unitat local. Carregueu-lo a Internet i torneu-ho a provar.\nSi ho preferiu, arrossegueu el fitxer htm (o tota la carpeta de la visita virtual) a la icona de l'aplicaci\u00f3 TourViewer.",
download:"Descarregar","change-to-click-and-move":"Canvieu el mode de control a Fer clic i desplaceu",yes:"s\u00ed","delete-downloaded":"Suprimeix","use-safari-for-vr":"Recomanem Safari per a visualitzar aquesta visita virtual en mode VR","exit-fullscreen":"Surt de pantalla completa",no:"no","download-failed":"Error de desc\u00e0rrega","giroscope-disabled-http":"Accediu a aquesta p\u00e0gina web a trav\u00e9s de http de manera que el moviment i l\u2019orientaci\u00f3 del dispositiu i el mode VR estan desactivats, accediu-hi mitjan\u00e7ant https per habilitar-les.",
"cookies-notice":"Aquesta p\u00e0gina web utilitza cookies per recopilar estad\u00edstiques d\u2019\u00fas. Per obtenir m\u00e9s informaci\u00f3, visiteu la <a>Pol\u00edtica de cookies</a>.","use-cardboard":"Utilitzeu Cardboard","launch-default-browser":"Inicieu el navegador per defecte","rotate-device":"Gireu el dispositiu","exit-vr":"Surt de VR","storage-not-provided-launch-from-desktop":"Torneu a iniciar la visita virtual des de la icona de l'escriptori per a descarregar-la.","disable-measure":"Stop measuring",
downloading:"Baixant","cardboard-v2":"Si teniu unes Cardboard v2, que venen amb un bot\u00f3, podeu mirar cap a un punt de vista i pr\u00e9mer el bot\u00f3 per activar-lo.","enable-video-audio-prompt":"Habilitar v\u00eddeo i \u00e0udio?",reject:"Rebutjar",downloaded:"Aquesta visita virtual es descarrega per a reproduir-la fora de l\u00ednia.","samsung-internet-vr-app-info":"Si teniu un auricular Gear VR compatible amb aquest dispositiu i heu instal\u00b7lat Samsung Internet per a VR, tamb\u00e9 podeu utilitzar-lo per visualitzar aquest contingut en VR, heu de fer que Samsung Internet sigui el vostre navegador predeterminat.",
"samsung-internet-vr-info":"Si teniu un auricular Gear VR compatible amb aquest dispositiu i heu instal\u00b7lat Samsung Internet per a VR, tamb\u00e9 podeu utilitzar-lo per visualitzar aquest contingut en VR, nom\u00e9s heu de posar el tel\u00e8fon m\u00f2bil als auriculars.","enable-video-prompt":"Activar v\u00eddeo?","giroscope-disabled-safari-request-permission":["Aquest lloc web est\u00e0 desactivat en el moviment i en la direcci\u00f3 o en mode VR del dispositiu.","Per veure correctament aquesta p\u00e0gina web, feu clic a Continuar i accepteu la sol\u00b7licitud de perm\u00eds si se us demana."],
"storage-not-provided-launch-from-homescreen":"Torneu a iniciar la visita virtual des de la icona de la pantalla inicial.","enter-fullscreen":"Entra a pantalla completa","use-cardboard-v2":"Utilitzeu Cardboard v2",unmute:"No activa","enter-vr":"Introdu\u00efu contingut de VR","enable-measure":"Start measuring","use-cardboard-info":"Podeu utilitzar qualsevol auricular de Google Cardboard compatible per a visualitzar aquest contingut en VR.","refresh-downloaded":"Actualitzaci\u00f3","use-default-cardboard":"\u00das per defecte",
"enable-audio-prompt":"Activar \u00e0udio?"},"da-dk":{mute:"Deaktiver lyd","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.","download-tour":"Download Tour for offline playing","change-to-drag-and-release":"Skift kontroltilstand for at tr\u00e6kke og slippe",accept:"Acceptere",download:"Download","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.",
"dont-display-again":"Don't display this info again","web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",cancel:"Cancel","change-to-click-and-move":"Skift kontroltilstand for at klikke og flytte",yes:"Ja","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Afslut fuldsk\u00e6rm",
no:"ingen","download-failed":"Download failed","giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.","cookies-notice":"Denne webside bruger cookies til at indsamle brugsstatistikker. For mere information, se venligst <a> Cookiepolitik </a>.","use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please, rotate your device",
"exit-vr":"Exit VR",reject:"Afvise","disable-measure":"Stop measuring",downloading:"Downloading","cardboard-v2":"If you have a Cardboard v2 headset, which comes with a button, you can gaze at a hotspot and press the button to trigger its action.","enable-video-audio-prompt":"Aktiv\u00e9r lyd og video?","storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-app-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you need to make Samsung Internet your default browser.",
"samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.","enable-video-prompt":"Aktiv\u00e9r video?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],
"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Indtast fuldsk\u00e6rm","use-cardboard-v2":"Use Cardboard v2",unmute:"Aktiv\u00e9r lyd","enter-vr":"Enter VR content","enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"Aktiv\u00e9r lyd?"},"de-de":{mute:"Deaktiviere Audio",
"cardboard-v1":"Wenn Sie sich nicht sicher sind, welche Cardboard-Version Sie verwenden, w\u00e4hlen Sie die Standard-Hotspot-Steuerung. Sie schauen dann einfach auf einen Hotspot und warten, bis die jeweilige Aktion ausgel\u00f6st wird.","download-tour":"Tour zum Offline-Abspielen herunterladen","giroscope-disabled-safari-request-permission":["Der Bewegungs- und Orientierungszugriff, sowie VR Modus Ihres Ger\u00e4ts ist f\u00fcr diese Seite deaktiviert.","Um diese Webseite korrekt anzuzeigen, klicken Sie auf Weiter und akzeptieren Sie die Erlaubnisanfrage, wenn Sie dazu aufgefordert werden."],
accept:"Akzeptieren",download:"Download",downloading:"Downloading","dont-display-again":"Diese Info nicht mehr anzeigen","web-server-required":"Diese Virtual Tour kann nicht von einem lokalen Laufwerk abgespielt werden. Laden Sie Ihre Tour ins Internet und versuchen Sie es erneut.\nAlternativ, ziehen Sie die htm Datei (oder den ganzen Tour Ordner) auf das Icon der Tour Viewer App, um die Tour direkt lokal abzuspielen.",cancel:"Abbrechen","change-to-click-and-move":"\u00c4ndern Sie den Steuerungsmodus, um zu klicken und zu drehen",
yes:"ja","delete-downloaded":"L\u00f6schen","use-safari-for-vr":"Wir empfehlen Safari, um diese Tour im VR-Modus zu sehen","exit-fullscreen":"Vollbild verlassen",no:"nein","storage-not-provided-bookmark":"Dauerhafte Speicherung verweigert. Versuchen Sie, diese Seite als Lesezeichen zu speichern und erneut zu laden.","download-failed":"Download fehlgeschlagen","giroscope-disabled-http":"Der Bewegungs- und Ausrichtungsszugriff Ihres Ger\u00e4ts ist f\u00fcr diese Webseite deaktiviert. Greifen Sie bitte \u00fcber https darauf zu.",
"cookies-notice":"Diese Webseite verwendet Cookies, um Nutzungsstatistiken zu sammeln. Weitere Informationen finden Sie in der <a>Cookie-Richtlinie</a>.","use-cardboard":"Cardboard verwenden","launch-default-browser":"Im Standardbrowser starten","rotate-device":"Bitte drehen Sie Ihr Ger\u00e4t","exit-vr":"VR verlassen",reject:"Ablehnen","disable-measure":"Messung beenden","change-to-drag-and-release":"\u00c4ndern Sie den Steuerungsmodus zu Ziehen und Loslassen","cardboard-v2":"Wenn Sie ein Cardboard v2-Headset haben, das mit einer Taste ausgestattet ist, k\u00f6nnen Sie auf einen Hotspot blicken und die Taste dr\u00fccken, um dessen Aktion auszul\u00f6sen.",
"enable-video-audio-prompt":"Video und Audio aktivieren?","storage-not-provided-launch-from-desktop":"Bitte starten Sie die Tour erneut \u00fcber das Desktop-Symbol, um sie herunterzuladen.",downloaded:"Diese Tour ist zum Offline-Abspielen heruntergeladen.","samsung-internet-vr-app-info":"Wenn Sie ein Gear VR-Headset haben, das mit diesem Ger\u00e4t kompatibel ist, und Sie Samsung Internet f\u00fcr VR installiert haben, k\u00f6nnen Sie es auch verwenden, um diese Inhalte in VR anzusehen. Machen Sie dazu Samsung Internet zu Ihrem Standardbrowser.",
"samsung-internet-vr-info":"Wenn Sie ein Gear VR-Headset haben, das mit diesem Ger\u00e4t kompatibel ist, und Sie Samsung Internet f\u00fcr VR installiert haben, k\u00f6nnen Sie es auch verwenden, um diese Inhalte in VR zu sehen. Setzen Sie dazu nun das Mobiltelefon auf das Headset.","enable-video-prompt":"Video aktivieren?","storage-not-provided-launch-from-homescreen":"Bitte starten Sie die Tour erneut \u00fcber das Symbol auf dem Startbildschirm, um sie herunterzuladen.","enter-fullscreen":"Vollbildmodus aktivieren",
"use-cardboard-v2":"Cardboard v2 verwenden",unmute:"Audio aktivieren","enter-vr":"VR Inhalt eingeben","enable-measure":"Messung beginnen","use-cardboard-info":"Sie k\u00f6nnen jedes kompatible Google Cardboard-Headset verwenden, um diese Inhalte in VR zu sehen.","refresh-downloaded":"Aktualisieren","use-default-cardboard":"Standard verwenden","enable-audio-prompt":"Audio aktivieren?"},"el-gr":{mute:"\u0391\u03c0\u03b5\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03c4\u03b5 \u03c4\u03bf\u03bd \u03ae\u03c7\u03bf",
"cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.","download-tour":"Download Tour for offline playing","change-to-drag-and-release":"\u0391\u03bb\u03bb\u03ac\u03be\u03c4\u03b5 \u03c4\u03b7 \u03bb\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03af\u03b1 \u03b5\u03bb\u03ad\u03b3\u03c7\u03bf\u03c5 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c3\u03cd\u03c1\u03b5\u03c4\u03b5 \u03ba\u03b1\u03b9 \u03bd\u03b1 \u03b1\u03c0\u03b5\u03bb\u03b5\u03c5\u03b8\u03b5\u03c1\u03ce\u03c3\u03b5\u03c4\u03b5",
accept:"\u0391\u03c0\u03bf\u03b4\u03ad\u03c7\u03bf\u03bc\u03b1\u03b9",download:"Download","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again","web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",cancel:"Cancel","change-to-click-and-move":"\u0391\u03bb\u03bb\u03ac\u03be\u03c4\u03b5 \u03c4\u03b7 \u03bb\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03af\u03b1 \u03b5\u03bb\u03ad\u03b3\u03c7\u03bf\u03c5 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03ba\u03ac\u03bd\u03b5\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03ba\u03b1\u03b9 \u03bd\u03b1 \u03bc\u03b5\u03c4\u03b1\u03ba\u03b9\u03bd\u03b7\u03b8\u03b5\u03af\u03c4\u03b5",
yes:"\u039d\u03b1\u03af","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"\u0388\u03be\u03bf\u03b4\u03bf\u03c2 \u03b1\u03c0\u03cc \u03c4\u03b7\u03bd \u03c0\u03bb\u03ae\u03c1\u03b7 \u03bf\u03b8\u03cc\u03bd\u03b7",no:"\u03cc\u03c7\u03b9","download-failed":"Download failed","giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.",
"cookies-notice":"\u0391\u03c5\u03c4\u03ae \u03b7 \u03b9\u03c3\u03c4\u03bf\u03c3\u03b5\u03bb\u03af\u03b4\u03b1 \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03b5\u03af cookie \u03b3\u03b9\u03b1 \u03c4\u03b7 \u03c3\u03c5\u03bb\u03bb\u03bf\u03b3\u03ae \u03c3\u03c4\u03b1\u03c4\u03b9\u03c3\u03c4\u03b9\u03ba\u03ce\u03bd \u03c3\u03c4\u03bf\u03b9\u03c7\u03b5\u03af\u03c9\u03bd \u03c7\u03c1\u03ae\u03c3\u03b7\u03c2. \u0393\u03b9\u03b1 \u03c0\u03b5\u03c1\u03b9\u03c3\u03c3\u03cc\u03c4\u03b5\u03c1\u03b5\u03c2 \u03c0\u03bb\u03b7\u03c1\u03bf\u03c6\u03bf\u03c1\u03af\u03b5\u03c2, \u03b5\u03c0\u03b9\u03c3\u03ba\u03b5\u03c6\u03b8\u03b5\u03af\u03c4\u03b5 \u03c4\u03b7\u03bd <a> \u03a0\u03bf\u03bb\u03b9\u03c4\u03b9\u03ba\u03ae cookie </a>.",
"use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please, rotate your device","exit-vr":"Exit VR",reject:"\u0391\u03c0\u03bf\u03c1\u03c1\u03af\u03c0\u03c4\u03c9","disable-measure":"Stop measuring",downloading:"Downloading","cardboard-v2":"If you have a Cardboard v2 headset, which comes with a button, you can gaze at a hotspot and press the button to trigger its action.","enable-video-audio-prompt":"\u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03ae\u03c7\u03bf\u03c5 \u03ba\u03b1\u03b9 \u03b2\u03af\u03bd\u03c4\u03b5\u03bf;",
"storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-app-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you need to make Samsung Internet your default browser.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.",
"enable-video-prompt":"\u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03b2\u03af\u03bd\u03c4\u03b5\u03bf;","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"\u0395\u03b9\u03c3\u03ac\u03b3\u03b5\u03c4\u03b5 \u03c4\u03b7\u03bd \u03c0\u03bb\u03ae\u03c1\u03b7 \u03bf\u03b8\u03cc\u03bd\u03b7",
"use-cardboard-v2":"Use Cardboard v2",unmute:"\u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03ae\u03c7\u03bf\u03c5","enter-vr":"Enter VR content","enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"\u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03ae\u03c7\u03bf\u03c5;"},
"en-us":{mute:"Mute","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.","download-tour":"Download Tour for offline playing","change-to-drag-and-release":"Change control mode to Drag and Release",accept:"Accept",cancel:"Cancel","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again",
"web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",download:"Download","change-to-click-and-move":"Change control mode to Click and Move",yes:"yes","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Exit fullscreen",no:"no","download-failed":"Download failed",
"giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.","cookies-notice":"This web page uses cookies to collect usage statistics. For more information, please visit the <a>Cookie Policy</a>.","use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please, rotate your device","exit-vr":"Exit VR","storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.",
"disable-measure":"Stop measuring",downloading:"Downloading","cardboard-v2":"If you have a Cardboard v2 headset, which comes with a button, you can gaze at a hotspot and press the button to trigger its action.","enable-video-audio-prompt":"Enable video and audio?",reject:"Reject",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-app-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you need to make Samsung Internet your default browser.",
"samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.","enable-video-prompt":"Enable video?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],
"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Enter fullscreen","use-cardboard-v2":"Use Cardboard v2",unmute:"Unmute","enter-vr":"Enter VR content","enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"Enable audio?"},"es-es":{mute:"Silenciar",
"cardboard-v1":"Si no esta seguro de que versi\u00f3n de Cardboard debe usar escoja la selecci\u00f3n de hotspot por defecto. Solo tendr\u00e1 que apuntar al hotspot y esperar para que se ejecute la acci\u00f3n.","download-tour":"Descargar el tour para reproducirlo sin conexi\u00f3n","change-to-drag-and-release":"Cambiar el modo de control a arrastrar y soltar",accept:"Aceptar","use-cardboard-v2":"Usar Cardboard v2","storage-not-provided-bookmark":"Almacenamiento persistente denagado. Intente a\u00f1adir la p\u00e1gina a los marcadores y recargarla.",
"dont-display-again":"No volver a mostrar esta informaci\u00f3n","web-server-required":"Este tour virtual no puede reproducirse desde una unidad local. Por favor s\u00fabalo a internet y pruebe de nuevo.\nSi lo prefiere puede arrastrar el archivo html o la carpeta con el tour sobre el icono de la aplicaci\u00f3n Tour Viewer de su escritorio.",download:"Descargar","change-to-click-and-move":"Cambiar el modo de control a pulsar y mover",yes:"si","delete-downloaded":"Borrar","use-safari-for-vr":"Recomendamos Safari para ver este tour en modo VR",
"exit-fullscreen":"Salir de pantalla completa",no:"no","download-failed":"La descarga ha fallado","giroscope-disabled-http":"Est\u00e1 accediendo a esta p\u00e1gina web por http por lo que el acceso al movimiento y la orientaci\u00f3n del dispositivo est\u00e1 deshabilitado, por favor acceda por https.","cookies-notice":"Esta p\u00e1gina usa cookies para recolectar estad\u00edsticas de uso. Para m\u00e1s informaci\u00f3n, visite la <a>Pol\u00edtica de Cookies</a>.","use-cardboard":"Usar Cardboard",
"launch-default-browser":"Lanzar en el navegador por defecto","rotate-device":"Por favor, gire el dispositivo","exit-vr":"Salir de VR","storage-not-provided-launch-from-desktop":"Por favor lance el tour desde el escritorio para descargarlo.","disable-measure":"Stop measuring",cancel:"Cancel",downloading:"Descargando","cardboard-v2":"Si tiene unas gafas Cardboard v2, que vienen con un bot\u00f3n, puede apuntar al hotspot y pulsar el bot\u00f3n para que se ejecute su acci\u00f3n.","enable-video-audio-prompt":"\u00bfActivar v\u00eddeo y audio?",
reject:"Rechazar",downloaded:"Este tour esta descargado para reproducirlo sin conexi\u00f3n.","samsung-internet-vr-app-info":"Si tiene unas gafas Gear VR compatibles con este dispositivo y tiene instalado Samsung Internet for VR puede usarlo para ver este contenido en VR, necesita hacer Samsung Internet su navegador por defecto.","samsung-internet-vr-info":"Si tiene unas gafas Gear VR compatibles con este dispositivo y tiene instalado Samsung Internet for VR puede usarlo para ver este contenido en VR, solo tiene que poner ahora el dispositivo en las gafas.",
"enable-video-prompt":"\u00bfActivar v\u00eddeo?","giroscope-disabled-safari-request-permission":["El acceso al movimiento y la orientaci\u00f3n del dispositivo est\u00e1 deshabiltado para este sitio.","Para ver correctamente la p\u00e1gina por favor pulse Continuar y acepte la petici\u00f3n de permiso si se muestra."],"storage-not-provided-launch-from-homescreen":"Por favor lance el tour desde el icono de la pantalla de inicio para descargarlo.","enter-fullscreen":"Mostrar en pantalla completa",
unmute:"Habilitar sonido","enter-vr":"Entrar al contenido VR","enable-measure":"Start measuring","use-cardboard-info":"Puede usar unas gafas compatibles con Google Cardboard para ver este contenido en VR.","refresh-downloaded":"Actualizar","use-default-cardboard":"Usar versi\u00f3n por defecto","enable-audio-prompt":"\u00bfActivar audio?"},"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",accept:"Hyv\u00e4ksy",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.",
"cookies-notice":"T\u00e4m\u00e4 verkkosivu k\u00e4ytt\u00e4\u00e4 ev\u00e4steit\u00e4 ker\u00e4\u00e4m\u00e4\u00e4n k\u00e4ytt\u00f6tilastoja. Lis\u00e4tietoja on <a>ev\u00e4stek\u00e4yt\u00e4nn\u00f6ss\u00e4</a>.","use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please, rotate your device","exit-vr":"Exit VR",reject:"Hylk\u00e4\u00e4","disable-measure":"Stop measuring",downloading:"Downloading","cardboard-v2":"If you have a Cardboard v2 headset, which comes with a button, you can gaze at a hotspot and press the button to trigger its action.",
"enable-video-audio-prompt":"Ota \u00e4\u00e4ni ja video k\u00e4ytt\u00f6\u00f6n?","storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-app-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you need to make Samsung Internet your default browser.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.",
"enable-video-prompt":"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","enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"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."],accept:"Accepter",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.",
"cookies-notice":"Cette page Web utilise des cookies pour collecter des statistiques d'utilisation. Pour plus d'informations, veuillez consulter la <a>Politique relative aux cookies</a>.","use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please, rotate your device","exit-vr":"Exit VR",reject:"Rejeter","disable-measure":"Stop measuring","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?","storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-app-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you need to make Samsung Internet your default browser.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.",
"enable-video-prompt":"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","enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default",
"enable-audio-prompt":"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",accept:"Prihvatiti",download:"Download","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.",
"dont-display-again":"Don't display this info again","web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",cancel:"Cancel","change-to-click-and-move":"Promijenite na\u010din upravljanja na Klik i Premjesti",yes:"Da","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Iza\u0111ite s punog zaslona",
no:"Ne","download-failed":"Download failed","giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.","cookies-notice":"Ova web stranica koristi kola\u010di\u0107e za prikupljanje statistike upotrebe. Za vi\u0161e informacija posjetite <a>Pravila o kola\u010di\u0107ima</a>.","use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please, rotate your device",
"exit-vr":"Exit VR",reject:"Odbiti","disable-measure":"Stop measuring",downloading:"Downloading","cardboard-v2":"If you have a Cardboard v2 headset, which comes with a button, you can gaze at a hotspot and press the button to trigger its action.","enable-video-audio-prompt":"Omogu\u0107iti videozapis i zvuk?","storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-app-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you need to make Samsung Internet your default browser.",
"samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.","enable-video-prompt":"Omogu\u0107ite videozapis?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],
"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Unesite cijeli zaslon","use-cardboard-v2":"Use Cardboard v2",unmute:"Uklju\u010di mikrofon","enter-vr":"Enter VR content","enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"\u017delite li omogu\u0107iti zvuk?"},
"hu-hu":{mute:"N\u00e9m\u00edt\u00e1s","cardboard-v1":"Ha nem vagy biztos benne, hogy milyen VR eszk\u00f6zt haszn\u00e1lsz, akkor v\u00e1laszd az alap\u00e9rtelmezettet \u00e9s az egyes hotspot-ok megtekint\u00e9s\u00e9hez csak tartsd ott a jel\u00f6l\u0151t.","download-tour":"T\u00fara let\u00f6lt\u00e9se offline megtekint\u00e9shez","change-to-drag-and-release":"Ir\u00e1ny\u00edt\u00e1s \u00e1t\u00e1ll\u00edt\u00e1sa: megfog \u00e9s mozgat m\u00f3dra",accept:"Elfogad",cancel:"M\u00e9gsem","storage-not-provided-bookmark":"Pr\u00f3b\u00e1lja meg az oldalt megjel\u00f6lni \u00e9s \u00fajrat\u00f6lteni!",
"dont-display-again":"Ne mutasd \u00fajra","web-server-required":"Ez a t\u00fara nem j\u00e1tszat\u00f3 le helyi futtat\u00e1ssal, k\u00e9rlek t\u00f6lsd fel az internetre \u00e9s pr\u00f3b\u00e1ld meg \u00fajra\nM\u00e1sik megold\u00e1s, ha a Tourviewer applik\u00e1ci\u00f3ra h\u00fazod a t\u00fara f\u00e1jlt, vagy az azt tartalmaz\u00f3 t\u00fara mapp\u00e1t.",download:"Let\u00f6lt\u00e9s","change-to-click-and-move":"Ir\u00e1ny\u00edt\u00e1s \u00e1t\u00e1ll\u00edt\u00e1sa kattint \u00e9s k\u00f6rben\u00e9z m\u00f3dra",
yes:"igen","delete-downloaded":"T\u00f6rl\u00e9s","use-safari-for-vr":"Azt javasoljuk, hogy haszn\u00e1lj Safari b\u00f6ng\u00e9sz\u0151t a VR n\u00e9zet megtekint\u00e9s\u00e9hez","exit-fullscreen":"Kil\u00e9p\u00e9s a teljesk\u00e9perny\u0151 m\u00f3db\u00f3l",no:"nem","download-failed":"Let\u00f6lt\u00e9s sikertelen","giroscope-disabled-http":"Az oldalt https el\u0151taggal sz\u00fcks\u00e9ges megnyitnod ahhoz, hogy a k\u00e9sz\u00fcl\u00e9ked mozg\u00e1s\u00e1t \u00e9rz\u00e9kelni tudja.","cookies-notice":"Ez a weboldal s\u00fctiket haszn\u00e1l a haszn\u00e1lati statisztik\u00e1k gy\u0171jt\u00e9s\u00e9hez. Tov\u00e1bbi inform\u00e1ci\u00f3\u00e9rt l\u00e1togasson el a <a>s\u00fctikre vonatkoz\u00f3 ir\u00e1nyelvekbe</a>.",
"use-cardboard":"Cardboard haszn\u00e1lata","launch-default-browser":"Futtat\u00e1s az alap\u00e9rtelmezett b\u00f6ng\u00e9sz\u0151ben","rotate-device":"Forgasd el a telefont!","exit-vr":"Kil\u00e9p\u00e9s a VR m\u00f3db\u00f3l","storage-not-provided-launch-from-desktop":"K\u00e9rlek ind\u00edtsd \u00fajra az oldalt az asztalon tal\u00e1lhat\u00f3 iconra kattintva.","disable-measure":"Stop measuring",downloading:"Let\u00f6lt\u00e9s","cardboard-v2":"Ha Cardboard 2.0 t\u00edpus\u00fa eszk\u00f6zt haszn\u00e1lsz, akkor a kapcsol\u00f3kkal ir\u00e1ny\u00edthatod a t\u00far\u00e1t, kattinthatsz az egyes hotspotokra",
"enable-video-audio-prompt":"Hang \u00e9s vide\u00f3 enged\u00e9lyez\u00e9se",reject:"Elutas\u00edt",downloaded:"Let\u00f6ltve offline megtekint\u00e9shez","samsung-internet-vr-app-info":"Ha Samsung Gear VR szem\u00fcveget szeretn\u00e9l haszn\u00e1lni, akkor nyisd meg a Samsung internetb\u00f6ng\u00e9sz\u0151ben a t\u00far\u00e1t.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.",
"enable-video-prompt":"Vide\u00f3 enged\u00e9lyez\u00e9se","giroscope-disabled-safari-request-permission":["A megjelen\u00edt\u0151 eszk\u00f6z\u00f6d nem adott hozz\u00e1f\u00e9r\u00e9st a mozg\u00e1s \u00e9rz\u00e9kel\u00e9s\u00e9hez ezen az oldalon.","Ahhoz hogy megfelel\u0151en l\u00e1sd az oldalt k\u00e9rlek enged\u00e9lyezd a hozz\u00e1f\u00e9r\u00e9st."],"storage-not-provided-launch-from-homescreen":"Ind\u00edtsd \u00fajra a t\u00far\u00e1t a home ikonra kattintva.","enter-fullscreen":"Teljesk\u00e9perny\u0151",
"use-cardboard-v2":"Cardboard 2.0 haszn\u00e1lata",unmute:"N\u00e9m\u00edt\u00e1s kikapcsol\u00e1sa","enter-vr":"VR tartalom megtekint\u00e9se","enable-measure":"Start measuring","use-cardboard-info":"Haszn\u00e1lhatsz b\u00e1rmilyen google cardboard-ot ahhoz, hogy VR m\u00f3dban l\u00e1sd a t\u00far\u00e1t.","refresh-downloaded":"Friss\u00edt\u00e9s","use-default-cardboard":"Alap\u00e9rtelmezett haszn\u00e1lata","enable-audio-prompt":"Hang enged\u00e9lyez\u00e9se"},"id-id":{mute:"Mute","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.",
"download-tour":"Download Tour for offline playing","change-to-drag-and-release":"Change control mode to Drag and Release",accept:"Menerima",cancel:"Cancel","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again","web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",
download:"Download","change-to-click-and-move":"Change control mode to Click and Move",yes:"yes","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Exit fullscreen",no:"no","download-failed":"Download failed","giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.","cookies-notice":"Halaman web ini menggunakan cookie untuk mengumpulkan statistik penggunaan. Untuk informasi lebih lanjut, silakan kunjungi <a>Kebijakan Cookie</a>.",
"use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please, rotate your device","exit-vr":"Exit VR","storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.","disable-measure":"Stop measuring",downloading:"Downloading","cardboard-v2":"If you have a Cardboard v2 headset, which comes with a button, you can gaze at a hotspot and press the button to trigger its action.","enable-video-audio-prompt":"Enable video and audio?",
reject:"Menolak",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-app-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you need to make Samsung Internet your default browser.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.",
"enable-video-prompt":"Enable video?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Enter fullscreen","use-cardboard-v2":"Use Cardboard v2",unmute:"Unmute","enter-vr":"Enter VR content",
"enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"Enable audio?"},"it-it":{mute:"Disabilita audio","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.","download-tour":"Download Tour for offline playing",
"change-to-drag-and-release":"Cambia la modalit\u00e0 di controllo per trascinare e rilasciare",accept:"Accettare",download:"Download","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again","web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",
cancel:"Cancel","change-to-click-and-move":"Cambia la modalit\u00e0 di controllo per fare clic e spostare",yes:"s\u00ec","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Esci dalla modalit\u00e0 schermo intero",no:"no","download-failed":"Download failed","giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.",
"cookies-notice":"Questa pagina web utilizza i cookie per raccogliere statistiche sull'utilizzo. Per ulteriori informazioni, visita la <a>Cookie Policy</a>.","use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please, rotate your device","exit-vr":"Exit VR",reject:"Rifiutare","disable-measure":"Stop measuring",downloading:"Downloading","cardboard-v2":"If you have a Cardboard v2 headset, which comes with a button, you can gaze at a hotspot and press the button to trigger its action.",
"enable-video-audio-prompt":"Abilita audio e video?","storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-app-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you need to make Samsung Internet your default browser.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.",
"enable-video-prompt":"Abilita il video?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Entra a schermo intero","use-cardboard-v2":"Use Cardboard v2",unmute:"Abilita audio","enter-vr":"Enter VR content",
"enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"Abilita l'audio?"},"ja-jp":{mute:"\u30df\u30e5\u30fc\u30c8","cardboard-v1":"\u4f7f\u7528\u3057\u3066\u3044\u308bCardboard\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u308f\u304b\u3089\u306a\u3044\u5834\u5408\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30db\u30c3\u30c8\u30b9\u30dd\u30c3\u30c8\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u6b21\u306b\u3001\u30db\u30c3\u30c8\u30b9\u30dd\u30c3\u30c8\u3092\u6ce8\u8996\u3057\u3001\u30a2\u30af\u30b7\u30e7\u30f3\u304c\u52d5\u4f5c\u3059\u308b\u307e\u3067\u5f85\u6a5f\u3057\u307e\u3059\u3002\uff08\u4e00\u90e8\u52d5\u4f5c\u3057\u306a\u3044\u30a2\u30af\u30b7\u30e7\u30f3\u6709\u308a\uff09",
"download-tour":"\u30aa\u30d5\u30e9\u30a4\u30f3\u518d\u751f\u7528\u30c4\u30a2\u30fc\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b","change-to-drag-and-release":"\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30e2\u30fc\u30c9\u3092\u30c9\u30e9\u30c3\u30b0\uff06\u30ea\u30ea\u30fc\u30b9\u306b\u5909\u66f4",accept:"\u53d7\u3051\u5165\u308c\u308b",cancel:"\u30ad\u30e3\u30f3\u30bb\u30eb","storage-not-provided-bookmark":"\u6c38\u7d9a\u7684\u306a\u4fdd\u5b58\u304c\u62d2\u5426\u3055\u308c\u305f\u3002\u3053\u306eWeb\u30da\u30fc\u30b8\u3092\u30d6\u30c3\u30af\u30de\u30fc\u30af\u3057\u3001\u66f4\u65b0\u3057\u3066\u304f\u3060\u3055\u3044",
"dont-display-again":"\u4eca\u5f8c\u3053\u306e\u60c5\u5831\u3092\u8868\u793a\u3057\u306a\u3044","web-server-required":"\u3053\u306e\u30d0\u30fc\u30c1\u30e3\u30eb\u30c4\u30a2\u30fc\u306f\u3001\u30ed\u30fc\u30ab\u30eb\u30c9\u30e9\u30a4\u30d6\u304b\u3089\u518d\u751f\u3067\u304d\u307e\u305b\u3093\u3002\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306b\u63a5\u7d9a\u3057\u3001\u3082\u3046\u4e00\u5ea6\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3092\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\n\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u3001htm\u30d5\u30a1\u30a4\u30eb\uff08\u307e\u305f\u306f\u30c4\u30a2\u30fc\u306e\u30d5\u30a9\u30eb\u30c0\u30fc\u5168\u4f53\uff09\u3092\u300eTourViewer\u300f\u30a2\u30d7\u30ea\u306e\u30a2\u30a4\u30b3\u30f3\u306b\u30c9\u30e9\u30c3\u30b0\u3057\u307e\u3059",
download:"\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9","change-to-click-and-move":"\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30e2\u30fc\u30c9\u3092\u30af\u30ea\u30c3\u30af\uff06\u30e0\u30fc\u30d6\u306b\u5909\u66f4",yes:"\u306f\u3044","delete-downloaded":"\u524a\u9664","use-safari-for-vr":"\u3053\u306e\u30c4\u30a2\u30fc\u3092VR\u30d3\u30e5\u30fc\u3067\u8868\u793a\u3059\u308b\u306b\u306f\u3001Safari\u30d6\u30e9\u30a6\u30b6\u306e\u5229\u7528\u3092\u304a\u52e7\u3081\u3057\u307e\u3059","exit-fullscreen":"\u30d5\u30eb\u30b9\u30af\u30ea\u30fc\u30f3\u3092\u7d42\u4e86\u3059\u308b",
no:"\u3044\u3044\u3048","download-failed":"\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u5931\u6557\u3057\u307e\u3057\u305f","giroscope-disabled-http":"\u3053\u306eWeb\u30da\u30fc\u30b8\u306b\u300ehttp\u300f\u7d4c\u7531\u3067\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u3054\u5229\u7528\u7aef\u672b\u306e\u30e2\u30fc\u30b7\u30e7\u30f3\u3068\u753b\u9762\u306e\u5411\u304d\u3078\u30a2\u30af\u30bb\u30b9\u304c\u3067\u304d\u305a\u3001VR\u30e2\u30fc\u30c9\u304c\u7121\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u300ehttps\u300f\u7d4c\u7531\u3067\u30a2\u30af\u30bb\u30b9\u3057\u6709\u52b9\u306b\u3057\u3066\u304f\u3060\u3055\u3044",
"cookies-notice":"\u3053\u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306fCookie\u3092\u4f7f\u7528\u3057\u3066\u4f7f\u7528\u7d71\u8a08\u3092\u53ce\u96c6\u3057\u307e\u3059\u3002 \u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001<a>Cookie\u30dd\u30ea\u30b7\u30fc</a>\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002","use-cardboard":"Cardboard\u5229\u7528","launch-default-browser":"\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d6\u30e9\u30a6\u30b6\u3067\u8d77\u52d5","rotate-device":"\u7aef\u672b\u3092\u56de\u8ee2\u3055\u305b\u3066\u304f\u3060\u3055\u3044",
"exit-vr":"VR\u30d3\u30e5\u30fc \u7d42\u4e86","storage-not-provided-launch-from-desktop":"\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u306e\u30a2\u30a4\u30b3\u30f3\u304b\u3089\u30c4\u30a2\u30fc\u3092\u518d\u8d77\u52d5\u3057\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044","disable-measure":"Stop measuring",downloading:"\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u4e2d","cardboard-v2":"\u30dc\u30bf\u30f3\u304c\u4ed8\u5c5e\u3057\u3066\u3044\u308bCardboard v2\u30d8\u30c3\u30c9\u30bb\u30c3\u30c8\u3092\u304a\u6301\u3061\u306e\u5834\u5408\u306f\u3053\u3061\u3089\u3002",
"enable-video-audio-prompt":"\u30d3\u30c7\u30aa\u3068\u97f3\u58f0\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u304b\uff1f",reject:"\u62d2\u5426\u3059\u308b",downloaded:"\u3053\u306e\u30c4\u30a2\u30fc\u306f\u3001\u30aa\u30d5\u30e9\u30a4\u30f3\u3067\u518d\u751f\u3059\u308b\u305f\u3081\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3092\u3059\u308b","samsung-internet-vr-app-info":"\u3053\u306e\u7aef\u672b\u3068\u4e92\u63db\u6027\u306e\u3042\u308bVR\u30d8\u30c3\u30c9\u30bb\u30c3\u30c8\u6a5f\u5668\u3092\u304a\u6301\u3061\u3067\u3001VR\u7528\u306e\u300eSamsung Internet\u300f\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u5834\u5408\u3002VR\u30d3\u30e5\u30fc\u3067\u3053\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u8868\u793a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u305d\u306e\u969b\u3001\u300eSamsung Internet\u300f\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d6\u30e9\u30a6\u30b6\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059",
"samsung-internet-vr-info":"\u3053\u306e\u7aef\u672b\u3068\u4e92\u63db\u6027\u306e\u3042\u308bVR\u30d8\u30c3\u30c9\u30bb\u30c3\u30c8\u6a5f\u5668\u3092\u304a\u6301\u3061\u3067\u3001VR\u7528\u306e\u300eSamsung Internet\u300f\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u5834\u5408\u3002VR\u30d3\u30e5\u30fc\u3067\u3053\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u8868\u793a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u305d\u306e\u969b\u3001\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u3092\u30d8\u30c3\u30c9\u30bb\u30c3\u30c8\u306b\u88c5\u7740\u3059\u308b\u3060\u3051\u3067\u3059",
"enable-video-prompt":"\u30d3\u30c7\u30aa\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u304b\uff1f","giroscope-disabled-safari-request-permission":["\u3054\u5229\u7528\u7aef\u672b\u306e\u30e2\u30fc\u30b7\u30e7\u30f3\u3068\u753b\u9762\u306e\u5411\u304d\u3078\u30a2\u30af\u30bb\u30b9\u304c\u3067\u304d\u305a\u3001VR\u30e2\u30fc\u30c9\u304c\u7121\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002","\u3053\u306eWeb\u30da\u30fc\u30b8\u3092\u6b63\u3057\u304f\u8868\u793a\u3059\u308b\u306b\u306f\u3001\u300eOK\u300f\u3092\u30af\u30ea\u30c3\u30af\u3057\u300e\u8a31\u53ef\u300f\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u5165\u308c\u3066\u304f\u3060\u3055\u3044"],
"storage-not-provided-launch-from-homescreen":"\u30db\u30fc\u30e0\u753b\u9762\u306e\u30a2\u30a4\u30b3\u30f3\u304b\u3089\u30c4\u30a2\u30fc\u3092\u518d\u8d77\u52d5\u3057\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044","enter-fullscreen":"\u30d5\u30eb\u30b9\u30af\u30ea\u30fc\u30f3\u3067\u5165\u529b\u3059\u308b","use-cardboard-v2":"Cardboard v2\u5229\u7528",unmute:"\u30df\u30e5\u30fc\u30c8\u89e3\u9664","enter-vr":"VR\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u5165\u529b","enable-measure":"Start measuring",
"use-cardboard-info":"\u3053\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092VR\u30d3\u30e5\u30fc\u3067\u8868\u793a\u3059\u308b\u306b\u306f\u3001\u4e92\u63db\u6027\u306e\u3042\u308b\u4efb\u610f\u306eGoogle Cardboard\u30d8\u30c3\u30c9\u30bb\u30c3\u30c8\u3092\u5229\u7528\u3067\u304d\u307e\u3059","refresh-downloaded":"\u66f4\u65b0","use-default-cardboard":"\u30c7\u30d5\u30a9\u30eb\u30c8\u5229\u7528","enable-audio-prompt":"\u97f3\u58f0\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u304b\uff1f"},"nb-no":{mute:"Skru av lyd",
"cardboard-v1":"Hvis du ikke er sikker, hvilken Cardboard versjon du bruker, velger du standard hotspot-kontrollen. Du vil da bare se p\u00e5 et hotspot og vente til handlingen utl\u00f8ses.","download-tour":"Last ned visningen, s\u00e5 den kan bli sett uten internett","change-to-drag-and-release":"Endre kontrollmodus til Trekk og Slipp",accept:"Aksepterer",cancel:"Avbryt","storage-not-provided-bookmark":"Vedvarende lagring nektet. Pr\u00f8v \u00e5 bokmerke denne nettsiden og laste den inn p\u00e5 nytt.",
"dont-display-again":"Ikke vis denne informasjonen igjen","web-server-required":"Denne virtuelle visningen kan ikke spilles av lokalt. Vennligst last den opp til internett, og fors\u00f8k igjen.\ndersom du prefererer det, kan du dra htm filen (eller hele mappen som inneholder visningen) over 'TourViewer' appen.",download:"Last ned","change-to-click-and-move":"Endre kontrollmodus til Klikk og Flytt",yes:"Ja","delete-downloaded":"Slett","use-safari-for-vr":"Vi anbefaler Safari for \u00e5 se p\u00e5 venne visningen i VR modus",
"exit-fullscreen":"G\u00e5 ut av full skjerm",no:"Nei","download-failed":"Nedlastning feilet","giroscope-disabled-http":"Du er koblet til denne nettsiden via http. Dermed er enhetens bevegelses- og orienteringstilgang og VR-modus deaktivert. Koble til via https for \u00e5 aktivere denne.","cookies-notice":"Denne websiden bruker informasjonskapsler for \u00e5 samle inn bruksstatistikk. For mer informasjon, bes\u00f8k <a>retningslinjer for informasjonskapsler</a>.","use-cardboard":"Bruk Cardboard",
"launch-default-browser":"\u00c5pne i standard nettleser","rotate-device":"Vennligst roter enheten","exit-vr":"G\u00e5 ut av VR","storage-not-provided-launch-from-desktop":"Start turen p\u00e5 nytt fra skrivebordsikonet for \u00e5 laste ned.","disable-measure":"Stop measuring",downloading:"Laster ned","cardboard-v2":"Dersom du har Cardboard versjon 2, hvilket kommer med en knapp, kan du kikke p\u00e5 en klikkbar ting i visningen, og bruke knappen for \u00e5 bruke disse tingene, p\u00e5 samme m\u00e5te som p\u00e5 en laptop eller telefon.",
"enable-video-audio-prompt":"Aktivere video og lyd?",reject:"Avvis",downloaded:"Denne visningen er lastet ned, s\u00e5 den kan bli sett uten internett.","samsung-internet-vr-app-info":"Hvis du har et Gear VR-headset som er kompatibelt med denne enheten og har installert Samsung Internet for VR, kan du ogs\u00e5 bruke det til \u00e5 se dette innholdet i VR, du m\u00e5 ogs\u00e5 gj\u00f8re Samsung Internet til standard nettleser.","samsung-internet-vr-info":"Hvis du har et Gear VR-headset som er kompatibelt med denne enheten, og du har installert Samsung Internet for VR, kan du ogs\u00e5 bruke det til \u00e5 se dette innholdet i VR, du trenger bare \u00e5 sette mobiltelefonen p\u00e5 headsettet n\u00e5.",
"enable-video-prompt":"Aktivere video?","giroscope-disabled-safari-request-permission":["Din enhet sin bevegelses- og orienterings tilgang, samt VR modus er deaktivert for denne nettsiden.","For \u00e5 se denne siden korrekt, vennligst klikk p\u00e5 fortsett og godta tillatelsesforesp\u00f8rselen hvis du blir bedt om dette."],"storage-not-provided-launch-from-homescreen":"Start turen p\u00e5 nytt fra startskjermikonet for \u00e5 laste ned.","enter-fullscreen":"G\u00e5 til full skjerm","use-cardboard-v2":"Bruk Cardboard Versjon 2",
unmute:"Skru p\u00e5 lyd","enter-vr":"\u00c5pne VR Modus","enable-measure":"Start measuring","use-cardboard-info":"Du kan bruke hvilke some helst Google Cardboard kompatible headsett for \u00e5 se denne visningen i VR.","refresh-downloaded":"Last inn p\u00e5 nytt","use-default-cardboard":"Bruk Standard","enable-audio-prompt":"Aktivere audio?"},"nl-nl":{mute:"Schakel audio uit","cardboard-v1":"Als u niet weet wat voor versie van Cardboard u gebruikt, selecteer dan de default hotspot control. Dan zult u moeten wachten op een hotspot tot er een bepaald actie is gestart.",
"download-tour":"Download Tour voor offline afspelen","change-to-drag-and-release":"Verander de besturingsmodus om te slepen en los te laten",accept:"Aanvaarden",download:"Download","storage-not-provided-bookmark":"Aanhoudende inhoud geweigerd. Probeer deze pagina als bookmark op te slaan en te verversen.","dont-display-again":"Niet meer laten zien","web-server-required":"Deze virtuele tour kan niet worden afgespeeld vanaf een lokale schijf. Upload dit alstublieft op het internet. Je kan ook de htm bestand slepen naar het icoon van de TourViewer app.",
cancel:"Annuleren","change-to-click-and-move":"Verander de bedieningsmodus om te klikken en te verplaatsen",yes:"Ja","delete-downloaded":"Verwijderen","use-safari-for-vr":"We raden aan om in Safari deze tour te bekijken in VR mode","exit-fullscreen":"Volledig scherm verlaten",no:"Nee","download-failed":"Download mislukt","giroscope-disabled-http":"Jij betreedt deze pagina door http, dus uw toestel's motion en orientation access en VR modus zijn uitgeschakeld. Betreed deze pagina door https om ze weer aan te schakelen.",
"cookies-notice":"Deze webpagina maakt gebruik van cookies om gebruiksstatistieken te verzamelen. Raadpleeg het <a>Cookiebeleid</a> voor meer informatie.","use-cardboard":"Gebruik Cardboard","launch-default-browser":"Start op in standaard browser","rotate-device":"Draai uw toestel om, alstublieft","exit-vr":"VR verlaten",reject:"Weigeren","disable-measure":"Stop meten",downloading:"Downloaden","cardboard-v2":"Als u een Cardboard v2 headset heeft, wat met een knop komt, kunt u wachten op een hotspot en een op een knop drukken om een actie te starten.",
"enable-video-audio-prompt":"Audio en video inschakelen?","storage-not-provided-launch-from-desktop":"Start de tour alstublieft opnieuw up vanaf het bureaublad om te kunnen downloaden.",downloaded:"Deze tour is gedownload voor offline afspelen.","samsung-internet-vr-app-info":"Als u een Gear VR headset heeft dat werkt met dit toestel en u Samsung Internet voor VR heeft ge\u00efnstalleerd, kunt u dit ook bekijken in VR. U moet alleen Samsung Internet instellen als uw standaard browser.","samsung-internet-vr-info":"Als u een Gear VR headset heeft dat werkt met dit toestel en u Samsung Internet voor VR heeft ge\u00efnstalleerd, kunt u dit ook bekijken in VR, u moet alleen uw mobiele toestel op uw headset zetten.",
"enable-video-prompt":"Video inschakelen?","giroscope-disabled-safari-request-permission":["Uw toestel's motion en orientation access en VR modus zijn uitgeschakeld voor deze site..","Om deze pagina goed te kunnen zien, druk op doorgaan en geef toestemming als dat gevraagd wordt."],"storage-not-provided-launch-from-homescreen":"Start de tour alstublieft opnieuw up vanaf het homescherm om te kunnen downloaden.","enter-fullscreen":"Volledig scherm inschakelen","use-cardboard-v2":"Gebruik Cardboard v2",
unmute:"Schakel audio in","enter-vr":"Voer VR inhoud in","enable-measure":"Begin meten","use-cardboard-info":"U kunt elk werkend Google Cardboard headset gebruiken om dit te bekijken.","refresh-downloaded":"Verversen","use-default-cardboard":"Standaard gebruiken","enable-audio-prompt":"Audio inschakelen?"},"nn-no":{mute:"Skru av lyd","cardboard-v1":"Hvis du ikke er sikker, hvilken Cardboard versjon du bruker, velger du standard hotspot-kontrollen. Du vil da bare se p\u00e5 et hotspot og vente til handlingen utl\u00f8ses.",
"download-tour":"Last ned visningen, s\u00e5 den kan bli sett uten internett","change-to-drag-and-release":"Endre kontrollmodus til Trekk og Slipp",accept:"Aksepterer",cancel:"Avbryt","storage-not-provided-bookmark":"Vedvarende lagring nektet. Pr\u00f8v \u00e5 bokmerke denne nettsiden og laste den inn p\u00e5 nytt.","dont-display-again":"Ikke vis denne informasjonen igjen","web-server-required":"Denne virtuelle visningen kan ikke spilles av lokalt. Vennligst last den opp til internett, og fors\u00f8k igjen.\ndersom du prefererer det, kan du dra htm filen (eller hele mappen som inneholder visningen) over 'TourViewer' appen.",
download:"Last ned","change-to-click-and-move":"Endre kontrollmodus til Klikk og Flytt",yes:"Ja","delete-downloaded":"Slett","use-safari-for-vr":"Vi anbefaler Safari for \u00e5 se p\u00e5 venne visningen i VR modus","exit-fullscreen":"G\u00e5 ut av full skjerm",no:"Nei","download-failed":"Nedlastning feilet","giroscope-disabled-http":"Du er koblet til denne nettsiden via http. Dermed er enhetens bevegelses- og orienteringstilgang og VR-modus deaktivert. Koble til via https for \u00e5 aktivere denne.",
"cookies-notice":"Denne websiden bruker informasjonskapsler for \u00e5 samle inn bruksstatistikk. For mer informasjon, bes\u00f8k <a>retningslinjer for informasjonskapsler</a>.","use-cardboard":"Bruk Cardboard","launch-default-browser":"\u00c5pne i standard nettleser","rotate-device":"Vennligst roter enheten","exit-vr":"G\u00e5 ut av VR","storage-not-provided-launch-from-desktop":"Start turen p\u00e5 nytt fra skrivebordsikonet for \u00e5 laste ned.","disable-measure":"Stop measuring",downloading:"Laster ned",
"cardboard-v2":"Dersom du har Cardboard versjon 2, hvilket kommer med en knapp, kan du kikke p\u00e5 en klikkbar ting i visningen, og bruke knappen for \u00e5 bruke disse tingene, p\u00e5 samme m\u00e5te som p\u00e5 en laptop eller telefon.","enable-video-audio-prompt":"Aktivere video og lyd?",reject:"Avvis",downloaded:"Denne visningen er lastet ned, s\u00e5 den kan bli sett uten internett.","samsung-internet-vr-app-info":"Hvis du har et Gear VR-headset som er kompatibelt med denne enheten og har installert Samsung Internet for VR, kan du ogs\u00e5 bruke det til \u00e5 se dette innholdet i VR, du m\u00e5 ogs\u00e5 gj\u00f8re Samsung Internet til standard nettleser.",
"samsung-internet-vr-info":"Hvis du har et Gear VR-headset som er kompatibelt med denne enheten, og du har installert Samsung Internet for VR, kan du ogs\u00e5 bruke det til \u00e5 se dette innholdet i VR, du trenger bare \u00e5 sette mobiltelefonen p\u00e5 headsettet n\u00e5.","enable-video-prompt":"Aktivere video?","giroscope-disabled-safari-request-permission":["Din enhet sin bevegelses- og orienterings tilgang, samt VR modus er deaktivert for denne nettsiden.","For \u00e5 se denne siden korrekt, vennligst klikk p\u00e5 fortsett og godta tillatelsesforesp\u00f8rselen hvis du blir bedt om dette."],
"storage-not-provided-launch-from-homescreen":"Start turen p\u00e5 nytt fra startskjermikonet for \u00e5 laste ned.","enter-fullscreen":"G\u00e5 til full skjerm","use-cardboard-v2":"Bruk Cardboard Versjon 2",unmute:"Skru p\u00e5 lyd","enter-vr":"\u00c5pne VR Modus","enable-measure":"Start measuring","use-cardboard-info":"Du kan bruke hvilke some helst Google Cardboard kompatible headsett for \u00e5 se denne visningen i VR.","refresh-downloaded":"Last inn p\u00e5 nytt","use-default-cardboard":"Bruk Standard",
"enable-audio-prompt":"Aktivere audio?"},"pl-pl":{mute:"Wycisz","cardboard-v1":"Je\u015bli nie masz pewno\u015bci, kt\u00f3rej wersji Cardboard u\u017cywasz, wybierz domy\u015blne sterowanie hotspotem. Nast\u0119pnie skieruj wzrok na hotspot i poczekaj na uruchomienie ich dzia\u0142ania.","download-tour":"Pobierz spacer do odtwarzania w trybie offline","change-to-drag-and-release":"Zmie\u0144 tryb na Przeci\u0105gnij i Upu\u015b\u0107",accept:"Zaakceptowa\u0107",cancel:"Anuluj","storage-not-provided-bookmark":"Odmowa zapisu w pami\u0119ci sta\u0142ej. Spr\u00f3buj doda\u0107 stron\u0119 do zak\u0142adek i za\u0142aduj j\u0105 ponownie.",
"dont-display-again":"Nie wy\u015bwietlaj tego ponownie","web-server-required":"Nie mo\u017cna odtworzy\u0107 tego spaceru z dysku lokalnego. Prze\u015blij go do internetu i spr\u00f3buj ponownie.\nMo\u017cesz te\u017c przeci\u0105gn\u0105\u0107 plik htm (lub ca\u0142y folder spaceru) na ikon\u0119 aplikacji TourViewer.",download:"Pobierz","change-to-click-and-move":"Zmie\u0144 tryb na to Kliknij i Przenie\u015b",yes:"tak","delete-downloaded":"Usu\u0144","use-safari-for-vr":"Zalecamy Safari, jako przegl\u0105dark\u0119 spacer\u00f3w w trybie VR",
"exit-fullscreen":"Wyjd\u017a z trybu pe\u0142nego ekranu",no:"nie","download-failed":"Pobieranie nie powiod\u0142o si\u0119","giroscope-disabled-http":"To jest dost\u0119p za po\u015brednictwem protoko\u0142u http, wi\u0119c dost\u0119p do ruchu i orientacji oraz tryb VR s\u0105 wy\u0142\u0105czone. Prze\u0142\u0105cz si\u0119\u00a0na protok\u00f3\u0142 https, aby je w\u0142\u0105czy\u0107.","cookies-notice":"Ta strona u\u017cywa plik\u00f3w cookie do zbierania statystyk u\u017cytkowania. Aby uzyska\u0107 wi\u0119cej informacji, odwied\u017a <a>Zasady dotycz\u0105ce plik\u00f3w cookie</a>.",
"use-cardboard":"U\u017cyj Cardboard","launch-default-browser":"Uruchom w domy\u015blnej przegl\u0105darce","rotate-device":"Obr\u00f3\u0107 urz\u0105dzenie","exit-vr":"Wyjd\u017a z VR","storage-not-provided-launch-from-desktop":"Aby pobra\u0107, uruchom ponownie spacer klikaj\u0105c ikon\u0119 pulpitu.","disable-measure":"Stop measuring",downloading:"Pobieranie","cardboard-v2":"Je\u015bli masz okulary Cardboard v2, kt\u00f3re maj\u0105 przycisk, mo\u017cesz spojrze\u0107 na hotspot i nacisn\u0105\u0107 przycisk, aby uruchomi\u0107 ich dzia\u0142anie.",
"enable-video-audio-prompt":"W\u0142\u0105czy\u0107 video i d\u017awi\u0119k?",reject:"Odrzuca\u0107",downloaded:"Spacer jest pobierany do odtwarzania w trybie offline.","samsung-internet-vr-app-info":"Je\u015bli masz okulary zgodne z Gear VR i zainstalowa\u0142e\u015b Samsung Internet for VR, mo\u017cesz je u\u017cy\u0107 do przegl\u0105dania zawarto\u015bci w VR. Musisz w tym przypadku ustawi\u0107 Samsung Internet jako domy\u015bln\u0105 przegl\u0105dark\u0119.","samsung-internet-vr-info":"Je\u015bli masz okulary Gear VR i zainstalowa\u0142e\u015b Samsung Internet for VR, to mo\u017cesz u\u017cy\u0107 ich do przegl\u0105dania zawarto\u015bci w VR. Umie\u015b\u0107 teraz telefon w okularach Gear VR.",
"enable-video-prompt":"W\u0142\u0105czy\u0107 video?","giroscope-disabled-safari-request-permission":["Dost\u0119p do funkcji ruchu i orientacji oraz tryb VR s\u0105 wy\u0142\u0105czone dla tej strony.","Aby poprawnie wy\u015bwietli\u0107 stron\u0119, kliknij kontynuuj i zaakceptuj wszystkie zgody."],"storage-not-provided-launch-from-homescreen":"Aby pobra\u0107, uruchom ponownie spacer klikaj\u0105c ikon\u0119 strony g\u0142\u00f3wnej.","enter-fullscreen":"Uruchom pe\u0142ny ekran","use-cardboard-v2":"U\u017cyj Cardboard v2",
unmute:"Wy\u0142\u0105cz Wycisz","enter-vr":"Wejd\u017a do VR","enable-measure":"Start measuring","use-cardboard-info":"Do wy\u015bwietlania w VR mo\u017cesz u\u017cy\u0107 oklular\u00f3w zgodnych z Google Cardboard.","refresh-downloaded":"Od\u015bwie\u017c","use-default-cardboard":"U\u017cyj Domy\u015blnych","enable-audio-prompt":"W\u0142\u0105czy\u0107 d\u017awi\u0119k?"},"pt-br":{mute:"Desativar som","cardboard-v1":"Se voc\u00ea n\u00e3o tiver certeza de qual vers\u00e3o do Cardboard est\u00e1 usando, selecione o controle de ponto de acesso padr\u00e3o. Voc\u00ea simplesmente olha para um ponto de acesso e espera at\u00e9 que a a\u00e7\u00e3o seja acionada.",
"download-tour":"Download do Tour para reprodu\u00e7\u00e3o offline","change-to-drag-and-release":"Alterar controle para arrastar e soltar",accept:"Aceitar",cancel:"Cancelar","storage-not-provided-bookmark":"Armazenamento persistente negado. Tente marcar esta p\u00e1gina da Web e recarreg\u00e1-la.","dont-display-again":"N\u00e3o exibir essas informa\u00e7\u00f5es novamente","web-server-required":"Este passeio virtual n\u00e3o pode ser reproduzido a partir de uma unidade local. Envie-o para a Internet e tente novamente.\nSe preferir, arraste o arquivo htm (ou toda a pasta do tour) para o \u00edcone do aplicativo TourViewer.",
download:"Download","change-to-click-and-move":"Alterar controle para clicar e mover",yes:"sim","delete-downloaded":"Apagar","use-safari-for-vr":"Recomendamos o Safari para ver este passeio no modo VR","exit-fullscreen":"Sair tela cheia",no:"n\u00e3o","download-failed":"Falha no Download","giroscope-disabled-http":"Voc\u00ea est\u00e1 acessando esta p\u00e1gina da Web por meio do http, para que o acesso \u00e0 orienta\u00e7\u00e3o e movimento do dispositivo e o modo VR sejam desativados, acesse-o atrav\u00e9s de https para ativ\u00e1-los.",
"cookies-notice":"Esta p\u00e1gina da web usa cookies para coletar estat\u00edsticas de uso. Para obter mais informa\u00e7\u00f5es, visite a <a>Pol\u00edtica de cookies</a>.","use-cardboard":"Use Cardboard","launch-default-browser":"Iniciar no navegador padr\u00e3o","rotate-device":"Por favor, gire seu dispositivo","exit-vr":"Sair do VR","storage-not-provided-launch-from-desktop":"Por favor, reinicie o tour no \u00edcone da \u00e1rea de trabalho para fazer o download.","disable-measure":"Stop measuring",
downloading:"Baixando","cardboard-v2":"Se voc\u00ea tiver um fone de ouvido Cardboard v2, que vem com um bot\u00e3o, poder\u00e1 observar um ponto de acesso e pressionar o bot\u00e3o para acionar sua a\u00e7\u00e3o.","enable-video-audio-prompt":"Ativar \u00e1udio e v\u00eddeo?",reject:"Rejeitar",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-app-info":"Se voc\u00ea possui um fone de ouvido Gear VR compat\u00edvel com este dispositivo e instalou o Samsung Internet for VR, tamb\u00e9m pode us\u00e1-lo para visualizar esse conte\u00fado em VR. Voc\u00ea precisa tornar o Samsung Internet o seu padr\u00e3o. browser.",
"samsung-internet-vr-info":"Se voc\u00ea possui um fone de ouvido Gear VR compat\u00edvel com este dispositivo e instalou o Samsung Internet for VR, tamb\u00e9m pode us\u00e1-lo para visualizar esse conte\u00fado em VR. Basta colocar o celular no fone de ouvido agora.","enable-video-prompt":"Ativar v\u00eddeo?","giroscope-disabled-safari-request-permission":["O acesso a movimento e orienta\u00e7\u00e3o do dispositivo e o modo VR est\u00e3o desativados para este site.","Para ver corretamente esta p\u00e1gina da web, clique em continuar e aceite a solicita\u00e7\u00e3o de permiss\u00e3o, se solicitado."],
"storage-not-provided-launch-from-homescreen":"Reinicie o tour no \u00edcone da tela inicial para fazer o download.","enter-fullscreen":"Entrar tela cheia","use-cardboard-v2":"Use Cardboard v2",unmute:"Ativar som","enter-vr":"Inserir conte\u00fado VR","enable-measure":"Start measuring","use-cardboard-info":"Voc\u00ea pode usar qualquer fone de ouvido compat\u00edvel do Google Cardboard para visualizar este conte\u00fado em VR","refresh-downloaded":"Atualizar","use-default-cardboard":"Use o padr\u00e3o",
"enable-audio-prompt":"Ativar \u00e1udio?"},"pt-pt":{mute:"Desativar som","cardboard-v1":"Se voc\u00ea n\u00e3o tiver certeza de qual vers\u00e3o do Cardboard est\u00e1 usando, selecione o controle de ponto de acesso padr\u00e3o. Voc\u00ea simplesmente olha para um ponto de acesso e espera at\u00e9 que a a\u00e7\u00e3o seja acionada.","download-tour":"Download do Tour para reprodu\u00e7\u00e3o offline","change-to-drag-and-release":"Alterar controle para arrastar e soltar",accept:"Aceitar",cancel:"Cancelar",
"storage-not-provided-bookmark":"Armazenamento persistente negado. Tente marcar esta p\u00e1gina da Web e recarreg\u00e1-la.","dont-display-again":"N\u00e3o exibir essas informa\u00e7\u00f5es novamente","web-server-required":"Este passeio virtual n\u00e3o pode ser reproduzido a partir de uma unidade local. Envie-o para a Internet e tente novamente.\nSe preferir, arraste o arquivo htm (ou toda a pasta do tour) para o \u00edcone do aplicativo TourViewer.",download:"Download","change-to-click-and-move":"Alterar controle para clicar e mover",
yes:"sim","delete-downloaded":"Apagar","use-safari-for-vr":"Recomendamos o Safari para ver este passeio no modo VR","exit-fullscreen":"Sair tela cheia",no:"n\u00e3o","download-failed":"Falha no Download","giroscope-disabled-http":"Voc\u00ea est\u00e1 acessando esta p\u00e1gina da Web por meio do http, para que o acesso \u00e0 orienta\u00e7\u00e3o e movimento do dispositivo e o modo VR sejam desativados, acesse-o atrav\u00e9s de https para ativ\u00e1-los.","cookies-notice":"Esta p\u00e1gina da web usa cookies para coletar estat\u00edsticas de uso. Para obter mais informa\u00e7\u00f5es, visite a <a>Pol\u00edtica de cookies</a>.",
"use-cardboard":"Use Cardboard","launch-default-browser":"Iniciar no navegador padr\u00e3o","rotate-device":"Por favor, gire seu dispositivo","exit-vr":"Sair do VR","storage-not-provided-launch-from-desktop":"Por favor, reinicie o tour no \u00edcone da \u00e1rea de trabalho para fazer o download.","disable-measure":"Stop measuring",downloading:"Baixando","cardboard-v2":"Se voc\u00ea tiver um fone de ouvido Cardboard v2, que vem com um bot\u00e3o, poder\u00e1 observar um ponto de acesso e pressionar o bot\u00e3o para acionar sua a\u00e7\u00e3o.",
"enable-video-audio-prompt":"Ativar \u00e1udio e v\u00eddeo?",reject:"Rejeitar",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-app-info":"Se voc\u00ea possui um fone de ouvido Gear VR compat\u00edvel com este dispositivo e instalou o Samsung Internet for VR, tamb\u00e9m pode us\u00e1-lo para visualizar esse conte\u00fado em VR. Voc\u00ea precisa tornar o Samsung Internet o seu padr\u00e3o. browser.","samsung-internet-vr-info":"Se voc\u00ea possui um fone de ouvido Gear VR compat\u00edvel com este dispositivo e instalou o Samsung Internet for VR, tamb\u00e9m pode us\u00e1-lo para visualizar esse conte\u00fado em VR. Basta colocar o celular no fone de ouvido agora.",
"enable-video-prompt":"Ativar v\u00eddeo?","giroscope-disabled-safari-request-permission":["O acesso a movimento e orienta\u00e7\u00e3o do dispositivo e o modo VR est\u00e3o desativados para este site.","Para ver corretamente esta p\u00e1gina da web, clique em continuar e aceite a solicita\u00e7\u00e3o de permiss\u00e3o, se solicitado."],"storage-not-provided-launch-from-homescreen":"Reinicie o tour no \u00edcone da tela inicial para fazer o download.","enter-fullscreen":"Entrar tela cheia","use-cardboard-v2":"Use Cardboard v2",
unmute:"Ativar som","enter-vr":"Inserir conte\u00fado VR","enable-measure":"Start measuring","use-cardboard-info":"Voc\u00ea pode usar qualquer fone de ouvido compat\u00edvel do Google Cardboard para visualizar este conte\u00fado em VR","refresh-downloaded":"Atualizar","use-default-cardboard":"Use o padr\u00e3o","enable-audio-prompt":"Ativar \u00e1udio?"},"ru-ru":{mute:"\u0411\u0435\u0437 \u0437\u0432\u0443\u043a\u0430","cardboard-v1":"\u0415\u0441\u043b\u0438 \u0432\u044b \u043d\u0435 \u0443\u0432\u0435\u0440\u0435\u043d\u044b, \u043a\u0430\u043a\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e Cardboard \u0432\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0445\u043e\u0442\u0441\u043f\u043e\u0442 \u043a\u0430\u043a \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e. \u0417\u0430\u0442\u0435\u043c \u0432\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u043d\u0430 \u0445\u043e\u0442\u0441\u043f\u043e\u0442 \u0438 \u0434\u043e\u0436\u0434\u0438\u0442\u0435\u0441\u044c, \u043f\u043e\u043a\u0430 \u043d\u0435 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435.",
"download-tour":"\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0442\u0443\u0440  \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u043e\u0433\u043e \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f","change-to-drag-and-release":"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u0435 \u0440\u0435\u0436\u0438\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u0430 \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435",
accept:"\u041f\u0440\u0438\u043d\u044f\u0442\u044c",download:"\u0421\u043a\u0430\u0447\u0430\u0442\u044c","storage-not-provided-bookmark":"\u0412 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u043c \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u043e\u0442\u043a\u0430\u0437\u0430\u043d\u043e. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u044d\u0442\u0443 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0432 \u0437\u0430\u043a\u043b\u0430\u0434\u043a\u0438 \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0435\u0435.",
"dont-display-again":"\u0411\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c \u044d\u0442\u0443 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e","web-server-required":"\u042d\u0442\u043e\u0442 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u0442\u0443\u0440 \u043d\u0435\u043b\u044c\u0437\u044f \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u0441 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430. \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0435\u0433\u043e \u0432 \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0435 \u0440\u0430\u0437.\n\u0415\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435, \u043f\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 htm-\u0444\u0430\u0439\u043b (\u0438\u043b\u0438 \u0432\u0441\u044e \u043f\u0430\u043f\u043a\u0443 \u0442\u0443\u0440\u0430) \u043d\u0430 \u0437\u043d\u0430\u0447\u043e\u043a \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f TourViewer.",
cancel:"\u041e\u0442\u043c\u0435\u043d\u0430","change-to-click-and-move":"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u0435 \u0440\u0435\u0436\u0438\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u0430 \u043d\u0430\u0436\u0430\u043d\u0438\u0435 \u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u0435",yes:"\u0434\u0430","delete-downloaded":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c","use-safari-for-vr":"\u041c\u044b \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c Safari \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u044d\u0442\u043e\u0433\u043e \u0442\u0443\u0440\u0430 \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 VR.",
"exit-fullscreen":"\u0412\u044b\u0439\u0442\u0438 \u0438\u0437 \u043f\u043e\u043b\u043d\u043e\u044d\u043a\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u0436\u0438\u043c\u0430",no:"\u043d\u0435\u0442","download-failed":"\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438","giroscope-disabled-http":"\u0412\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0435 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u044d\u0442\u043e\u0439 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0447\u0435\u0440\u0435\u0437 http, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044e \u0438 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0432\u0430\u0448\u0435\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0438 \u0440\u0435\u0436\u0438\u043c VR \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u044b, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u043e\u0439\u0434\u0438\u0442\u0435 \u043d\u0430 \u043d\u0435\u0433\u043e \u0447\u0435\u0440\u0435\u0437 https, \u0447\u0442\u043e\u0431\u044b \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0438\u0445.",
"cookies-notice":"\u042d\u0442\u0430 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0444\u0430\u0439\u043b\u044b cookie \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u0430 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f. \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0441\u043c. <a>\u041f\u043e\u043b\u0438\u0442\u0438\u043a\u0430 \u0432 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 cookie</a>.",
"use-cardboard":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Cardboard","launch-default-browser":"\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e","rotate-device":"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u043e\u0432\u0435\u0440\u043d\u0438\u0442\u0435 \u0432\u0430\u0448\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e",
"exit-vr":"\u0412\u044b\u0439\u0442\u0438 \u0438\u0437 VR",reject:"\u041e\u0442\u043a\u043b\u043e\u043d\u0438\u0442\u044c","disable-measure":"\u041f\u0440\u0435\u043a\u0440\u0430\u0442\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f",downloading:"\u0421\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435","cardboard-v2":"\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0433\u0430\u0440\u043d\u0438\u0442\u0443\u0440\u0430 Cardboard v2 \u0441 \u043a\u043d\u043e\u043f\u043a\u043e\u0439, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0437\u0433\u043b\u044f\u043d\u0443\u0442\u044c \u043d\u0430 \u0445\u043e\u0442\u0441\u043f\u043e\u0442 \u0438 \u043d\u0430\u0436\u0430\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0435\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435.",
"enable-video-audio-prompt":"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0438\u0434\u0435\u043e \u0438 \u0430\u0443\u0434\u0438\u043e?","storage-not-provided-launch-from-desktop":"\u0427\u0442\u043e\u0431\u044b \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c, \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0442\u0443\u0440 \u0441\u043e \u0437\u043d\u0430\u0447\u043a\u0430 \u043d\u0430 \u0440\u0430\u0431\u043e\u0447\u0435\u043c \u0441\u0442\u043e\u043b\u0435..",
downloaded:"\u042d\u0442\u043e\u0442 \u0442\u0443\u0440 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u043e\u0433\u043e \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f.","samsung-internet-vr-app-info":"\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0433\u0430\u0440\u043d\u0438\u0442\u0443\u0440\u0430 Gear VR, \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u0430\u044f \u0441 \u044d\u0442\u0438\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c, \u0438 \u0432\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 Samsung Internet \u0434\u043b\u044f VR, \u0432\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0435 \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 VR, \u0432\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c Samsung Internet \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u043c \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e.",
"samsung-internet-vr-info":"\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0433\u0430\u0440\u043d\u0438\u0442\u0443\u0440\u0430 Gear VR, \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u0430\u044f \u0441 \u044d\u0442\u0438\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c, \u0438 \u0432\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 Samsung Internet \u0434\u043b\u044f VR, \u0432\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0435 \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 VR, \u0432\u0430\u043c \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u0434\u0435\u0442\u044c \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u043d\u0430 \u0433\u0430\u0440\u043d\u0438\u0442\u0443\u0440\u0443 \u0441\u0435\u0439\u0447\u0430\u0441.",
"enable-video-prompt":"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0438\u0434\u0435\u043e?","giroscope-disabled-safari-request-permission":["\u0414\u043e\u0441\u0442\u0443\u043f \u043a \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044e \u0438 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0432\u0430\u0448\u0435\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0440\u0435\u0436\u0438\u043c VR \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430.",
"\u0427\u0442\u043e\u0431\u044b \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u044d\u0442\u0443 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u043d\u0430\u0436\u043c\u0438\u0442\u0435 \u00ab\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c\u00bb \u0438 \u043f\u0440\u0438\u043c\u0438\u0442\u0435 \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u0435\u0441\u043b\u0438 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u043e."],
"storage-not-provided-launch-from-homescreen":"\u0427\u0442\u043e\u0431\u044b \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c, \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0442\u0443\u0440 \u0441\u043e \u0437\u043d\u0430\u0447\u043a\u0430 \u043d\u0430 \u0433\u043b\u0430\u0432\u043d\u043e\u043c \u044d\u043a\u0440\u0430\u043d\u0435.","enter-fullscreen":"\u0412\u043e\u0439\u0442\u0438 \u0432 \u043f\u043e\u043b\u043d\u043e\u044d\u043a\u0440\u0430\u043d\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c",
"use-cardboard-v2":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Cardboard v2",unmute:"\u0421\u043e \u0437\u0432\u0443\u043a\u043e\u043c","enter-vr":"\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c VR \u043a\u043e\u043d\u0442\u0435\u043d\u0442","enable-measure":"\u041d\u0430\u0447\u0430\u0442\u044c \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f","use-cardboard-info":"\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043b\u044e\u0431\u0443\u044e \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u0443\u044e \u0433\u0430\u0440\u043d\u0438\u0442\u0443\u0440\u0443 Google Cardboard \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 VR.",
"refresh-downloaded":"\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u044c","use-default-cardboard":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e","enable-audio-prompt":"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0430\u0443\u0434\u0438\u043e?"},"sk-sk":{mute:"St\u00ed\u0161i\u0165","cardboard-v1":"Ak ste si nie ist\u00ed, ktor\u00fa verziu Cardboardu pou\u017e\u00edvate, vyberte si predvolen\u00e9 ovl\u00e1danie hotspotu. Potom sa jednoducho pozriete na hotspot a po\u010dkajte, k\u00fdm sa akcia nespust\u00ed.",
"download-tour":"Stiahnu\u0165 prehliadku na hranie v offline re\u017eime","change-to-drag-and-release":"Zmeni\u0165 re\u017eim ovl\u00e1dania na Presun\u00fa\u0165 a Uvo\u013eni\u0165",accept:"s\u00fahlasi\u0165",cancel:"Zru\u0161i\u0165","storage-not-provided-bookmark":"Trval\u00e9 \u00falo\u017eisko odmietnut\u00e9. Sk\u00faste si t\u00fato webov\u00fa str\u00e1nku ulo\u017ei\u0165 a na\u010d\u00edta\u0165 ju znova.","dont-display-again":"Tieto inform\u00e1cie u\u017e nezobrazova\u0165","web-server-required":"T\u00e1to virtu\u00e1lna prehliadka sa ned\u00e1 prehra\u0165 z lok\u00e1lneho disku. Nahrajte ju na internet a sk\u00faste to znova.\nAk chcete, potiahnite s\u00fabor htm (alebo cel\u00fd prie\u010dinok prehliadky) na ikonu aplik\u00e1cie TourViewer.",
download:"Stiahnu\u0165","change-to-click-and-move":"Zmeni\u0165 re\u017eim ovl\u00e1dania na Klikn\u00fa\u0165 a Presun\u00fa\u0165",yes:"\u00e1no","delete-downloaded":"Zmaza\u0165","use-safari-for-vr":"Odpor\u00fa\u010dame pou\u017e\u00edva\u0165 Safari prehliada\u010d pre t\u00fato prehliadku v re\u017eime VR","exit-fullscreen":"Ukon\u010di\u0165 cel\u00fa obrazovku",no:"nie","download-failed":"S\u0165ahovanie zlyhalo","giroscope-disabled-http":"Na t\u00fato webov\u00fa str\u00e1nku pristupujete cez http protokol, preto pr\u00edstup k pohybu a orient\u00e1cii v\u00e1\u0161ho zariadenia a re\u017eim VR s\u00fa deaktivovan\u00e9. Ak ich chcete povoli\u0165, nav\u0161t\u00edvte str\u00e1nku cez https.",
"cookies-notice":"T\u00e1to webov\u00e1 str\u00e1nka pou\u017e\u00edva s\u00fabory cookie na zhroma\u017e\u010fovanie \u0161tatist\u00edk pou\u017e\u00edvania. \u010eal\u0161ie inform\u00e1cie n\u00e1jdete v <a> pravidl\u00e1ch pou\u017e\u00edvania s\u00faborov cookie </a>.","use-cardboard":"Pou\u017eite Cardboard okuliare.","launch-default-browser":"Spusti\u0165 v predvolenom prehliada\u010di","rotate-device":"Oto\u010dte svoje zariadenie","exit-vr":"Ukon\u010denie VR","storage-not-provided-launch-from-desktop":"Znovu na\u010d\u00edtajte prehliadku pomocou desktop ikony pre jej stiahnite.",
"disable-measure":"Ukon\u010di\u0165 meranie",downloading:"S\u0165ahovanie","cardboard-v2":"Ak m\u00e1te n\u00e1hlavn\u00fa s\u00fapravu Cardboard v2, ktor\u00e1 je dod\u00e1van\u00e1 s tla\u010didlom, m\u00f4\u017eete sa pozrie\u0165 na hotspot a stla\u010den\u00edm tla\u010didla spusti\u0165 akciu.","enable-video-audio-prompt":"Povoli\u0165 video a zvuk?",reject:"Odmietnu\u0165",downloaded:"T\u00e1to prehliadka je stiahnut\u00e1 na hranie v offline re\u017eime.","samsung-internet-vr-app-info":"Ak m\u00e1te Gear VR sl\u00fachadl\u00e1\u00e1 kompatibiln\u00e9 s t\u00fdmto zariaden\u00edm a m\u00e1te nain\u0161talovan\u00fd program Samsung Internet pre VR, m\u00f4\u017eete ho tie\u017e pou\u017ei\u0165 na prezeranie tohto obsahu vo VR. Mus\u00edte si nastavi\u0165 Samsung Internet ako predvolen\u00fd prehliada\u010d.",
"samsung-internet-vr-info":"Ak m\u00e1te Gear VR sl\u00fachadl\u00e1 kompatibiln\u00e9 s t\u00fdmto zariaden\u00edm a m\u00e1te nain\u0161talovan\u00fd program Samsung Internet pre VR, m\u00f4\u017eete ho tie\u017e pou\u017ei\u0165 na prezeranie tohto obsahu vo VR. Sta\u010d\u00ed teraz vlo\u017ei\u0165 mobiln\u00fd telef\u00f3n do n\u00e1hlavnej s\u00fapravy.","enable-video-prompt":"Povoli\u0165 video?","giroscope-disabled-safari-request-permission":["Pre t\u00fato str\u00e1nku s\u00fa pr\u00edstup k pohybu a orient\u00e1cii v\u00e1\u0161ho zariadenia a re\u017eim VR deaktivovan\u00e9.",
"Aby ste korektne videli t\u00fato webov\u00fa str\u00e1nku, pros\u00edm kliknite pokra\u010dova\u0165 a akceptujte po\u017eadovan\u00e9 povolenie."],"storage-not-provided-launch-from-homescreen":"Znovu na\u010d\u00edtajte prehliadku pomocou ikony na ploche pre jej stiahnite.","enter-fullscreen":"Prejs\u0165 na cel\u00fa obrazovku","use-cardboard-v2":"Pou\u017eite Cardboard v2",unmute:"Zapn\u00fa\u0165 zvuk","enter-vr":"Vlo\u017ei\u0165 VR obsah","enable-measure":"Za\u010da\u0165 meranie","use-cardboard-info":"Na zobrazenie tohto obsahu vo VR m\u00f4\u017eete pou\u017ei\u0165 \u013eubovo\u013en\u00fa kompatibiln\u00fa n\u00e1hlavn\u00fa s\u00fapravu Google Cardboard.",
"refresh-downloaded":"Obnovi\u0165","use-default-cardboard":"Pou\u017ei\u0165 predvolen\u00e9","enable-audio-prompt":"Povoli\u0165 zvuk?"},"sv-se":{mute:"Inaktivera ljud","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.","download-tour":"Download Tour for offline playing","change-to-drag-and-release":"\u00c4ndra kontrolll\u00e4ge f\u00f6r att dra och sl\u00e4ppa",
accept:"Acceptera",download:"Download","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again","web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",cancel:"Cancel","change-to-click-and-move":"\u00c4ndra kontrolll\u00e4ge f\u00f6r att klicka och flytta",
yes:"ja","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Avsluta fullsk\u00e4rmen",no:"Nej","download-failed":"Download failed","giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.","cookies-notice":"Denna webbsida anv\u00e4nder cookies f\u00f6r att samla in anv\u00e4ndningsstatistik. F\u00f6r mer information, bes\u00f6k <a>Cookie Policy</a>.",
"use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please, rotate your device","exit-vr":"Exit VR",reject:"Avvisa","disable-measure":"Stop measuring",downloading:"Downloading","cardboard-v2":"If you have a Cardboard v2 headset, which comes with a button, you can gaze at a hotspot and press the button to trigger its action.","enable-video-audio-prompt":"Aktivera ljud och video?","storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.",
downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-app-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you need to make Samsung Internet your default browser.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.",
"enable-video-prompt":"Aktivera video?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Ange fullsk\u00e4rm","use-cardboard-v2":"Use Cardboard v2",unmute:"Aktivera ljud","enter-vr":"Enter VR content",
"enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"Aktivera ljud?"},"tr-tr":{mute:"Sesi devre d\u0131s\u0131 b\u0131rakmak","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.","download-tour":"Download Tour for offline playing",
"change-to-drag-and-release":"S\u00fcr\u00fckleyip b\u0131rakmak i\u00e7in kontrol modunu de\u011fi\u015ftirin",accept:"Kabul etmek",download:"Download","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again","web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",
cancel:"Cancel","change-to-click-and-move":"T\u0131klamak ve ta\u015f\u0131mak i\u00e7in kontrol modunu de\u011fi\u015ftirin",yes:"evet","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Tam ekrandan \u00e7\u0131k",no:"hay\u0131r","download-failed":"Download failed","giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.",
"cookies-notice":"Bu web sayfas\u0131, kullan\u0131m istatistiklerini toplamak i\u00e7in tan\u0131mlama bilgileri kullan\u0131r. Daha fazla bilgi i\u00e7in l\u00fctfen <a>\u00c7erez Politikas\u0131n\u0131</a> ziyaret edin.","use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please, rotate your device","exit-vr":"Exit VR",reject:"Reddet","disable-measure":"Stop measuring",downloading:"Downloading","cardboard-v2":"If you have a Cardboard v2 headset, which comes with a button, you can gaze at a hotspot and press the button to trigger its action.",
"enable-video-audio-prompt":"Ses ve video etkinle\u015ftirilsin mi?","storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-app-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you need to make Samsung Internet your default browser.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.",
"enable-video-prompt":"Video aktif edilsin mi?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Tam ekran yap","use-cardboard-v2":"Use Cardboard v2",unmute:"Sesi etkinle\u015ftir","enter-vr":"Enter VR content",
"enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"Ses aktif edilsin mi?"},"uk-ua":{mute:"Mute","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.","download-tour":"Download Tour for offline playing",
"change-to-drag-and-release":"Change control mode to Drag and Release",accept:"\u041f\u0440\u0438\u0439\u043c\u0456\u0442\u044c",cancel:"Cancel","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again","web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",
download:"Download","change-to-click-and-move":"Change control mode to Click and Move",yes:"yes","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Exit fullscreen",no:"no","download-failed":"Download failed","giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.","cookies-notice":"\u0426\u044f \u0432\u0435\u0431-\u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454 \u0444\u0430\u0439\u043b\u0438 cookie \u0434\u043b\u044f \u0437\u0431\u043e\u0440\u0443 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f. \u0414\u043b\u044f \u043e\u0442\u0440\u0438\u043c\u0430\u043d\u043d\u044f \u0434\u043e\u0434\u0430\u0442\u043a\u043e\u0432\u043e\u0457 \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u0457 \u0432\u0456\u0434\u0432\u0456\u0434\u0430\u0439\u0442\u0435 <a> \u041f\u043e\u043b\u0456\u0442\u0438\u043a\u0443 \u0449\u043e\u0434\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f \u0444\u0430\u0439\u043b\u0456\u0432 cookie</a>.",
"use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please, rotate your device","exit-vr":"Exit VR","storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.","disable-measure":"Stop measuring",downloading:"Downloading","cardboard-v2":"If you have a Cardboard v2 headset, which comes with a button, you can gaze at a hotspot and press the button to trigger its action.","enable-video-audio-prompt":"Enable video and audio?",
reject:"\u0412\u0456\u0434\u0445\u0438\u043b\u0438\u0442\u0438",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-app-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you need to make Samsung Internet your default browser.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.",
"enable-video-prompt":"Enable video?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Enter fullscreen","use-cardboard-v2":"Use Cardboard v2",unmute:"Unmute","enter-vr":"Enter VR content",
"enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"Enable audio?"},"zh-cn":{mute:"\u9759\u97f3","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.","download-tour":"\u4e0b\u8f7d\u5168\u666f\u6f2b\u6e38\uff0c\u4ee5\u8fdb\u884c\u79bb\u7ebf\u64ad\u653e",
"change-to-drag-and-release":"\u5c06\u63a7\u5236\u6a21\u5f0f\u66f4\u6539\u4e3a\u201c\u62d6\u653e\u201d",accept:"\u63a5\u53d7",cancel:"\u53d6\u6d88","storage-not-provided-bookmark":"\u88c5\u7f6e\u5185\u6c38\u4e45\u5b58\u50a8\u88ab\u62d2\u7edd\u3002\u5c1d\u8bd5\u5c06\u6b64\u7f51\u9875\u6dfb\u52a0\u4e3a\u4e66\u7b7e\uff0c \u5e76\u91cd\u65b0\u52a0\u8f7d\u3002","dont-display-again":"\u4e0d\u518d\u663e\u793a\u6b64\u4fe1\u606f","web-server-required":"\u6b64\u5168\u666f\u6f2b\u6e38\u65e0\u6cd5\u4ece\u672c\u5730\u9a71\u52a8\u5668\u4e0a\u64ad\u653e\u3002 \u8bf7\u5c06\u5176\u4e0a\u4f20\u5230\u4e92\u8054\u7f51\u670d\u52a1\u5668\uff0c\u7136\u540e\u91cd\u8bd5\u3002\n\u5982\u679c\u9700\u8981\u672c\u5730\u9884\u89c8\uff0c\u53ef\u4ee5\u5c06htm\u6587\u4ef6\uff08\u6216\u5168\u666f\u6f2b\u6e38\u7684\u6574\u4e2a\u6587\u4ef6\u5939\uff09\u62d6\u5230TourViewer\u5e94\u7528\u7a0b\u5e8f\u7684\u56fe\u6807\u4e0a\u3002",
download:"\u4e0b\u8f7d","change-to-click-and-move":"\u5c06\u63a7\u5236\u6a21\u5f0f\u66f4\u6539\u4e3a\u201c\u5355\u51fb\u5e76\u79fb\u52a8\u201d",yes:"\u662f","delete-downloaded":"\u5220\u9664","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"\u9000\u51fa\u5168\u5c4f",no:"\u5426","download-failed":"\u4e0b\u8f7d\u5931\u8d25","giroscope-disabled-http":"\u60a8\u6b63\u5728\u901a\u8fc7http(\u672a\u52a0\u5bc6)\u8bbf\u95ee\u6b64\u7f51\u9875\uff0c\u56e0\u6b64\u8bbe\u5907\u7684\u8fd0\u52a8\u548c\u65b9\u5411\u8bbf\u95ee\u6743\u9650\u4ee5\u53caVR\u6a21\u5f0f\u5747\u5df2\u7981\u7528\uff0c\u8bf7\u901a\u8fc7https(\u52a0\u5bc6)\u5bf9\u5176\u8fdb\u884c\u542f\u7528\u3002",
"cookies-notice":"\u8be5\u7f51\u9875\u4f7f\u7528cookie\u6765\u6536\u96c6\u4f7f\u7528\u60c5\u51b5\u7edf\u8ba1\u4fe1\u606f\u3002 \u6709\u5173\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u8bbf\u95ee<a>Cookie\u653f\u7b56</a>\u3002","use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please, rotate your device","exit-vr":"Exit VR","storage-not-provided-launch-from-desktop":"\u8bf7\u4ece\u684c\u9762\u70b9\u51fb\u56fe\u6807\uff0c\u91cd\u65b0\u542f\u52a8\u5168\u666f\u6f2b\u6e38\uff0c\u4ee5\u8fdb\u884c\u4e0b\u8f7d\u3002",
"disable-measure":"Stop measuring",downloading:"\u6b63\u5728\u4e0b\u8f7d","cardboard-v2":"If you have a Cardboard v2 headset, which comes with a button, you can gaze at a hotspot and press the button to trigger its action.","enable-video-audio-prompt":"\u542f\u7528\u89c6\u9891\u548c\u97f3\u9891\uff1f",reject:"\u62d2\u7edd",downloaded:"\u6b64\u5168\u666f\u6f2b\u6e38\u5df2\u4e0b\u8f7d\uff0c\u53ef\u8fdb\u884c\u79bb\u7ebf\u64ad\u653e\u3002","samsung-internet-vr-app-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you need to make Samsung Internet your default browser.",
"samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.","enable-video-prompt":"\u542f\u7528\u89c6\u9891\uff1f","giroscope-disabled-safari-request-permission":["\u8be5\u7ad9\u70b9\u5df2\u7981\u7528\u8bbe\u5907\u7684\u8fd0\u52a8\u548c\u65b9\u5411\u8bbf\u95ee\u6743\u9650\uff0cVR\u6a21\u5f0f\u4e5f\u88ab\u7981\u7528\u3002",
"\u8981\u6b63\u786e\u67e5\u770b\u6b64\u7f51\u9875\uff0c\u8bf7\u5355\u51fb\u7ee7\u7eed\uff0c\u5e76\u5728\u51fa\u73b0\u63d0\u793a\u65f6\u63a5\u53d7\u8bb8\u53ef\u8bf7\u6c42"],"storage-not-provided-launch-from-homescreen":"\u8bf7\u4ece\u4e3b\u5c4f\u5e55\u70b9\u51fb\u56fe\u6807\uff0c\u91cd\u65b0\u542f\u52a8\u5168\u666f\u6f2b\u6e38\uff0c\u4ee5\u8fdb\u884c\u4e0b\u8f7d\u3002","enter-fullscreen":"\u8fdb\u5165\u5168\u5c4f","use-cardboard-v2":"Use Cardboard v2",unmute:"\u53d6\u6d88\u9759\u97f3","enter-vr":"Enter VR content",
"enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"\u5237\u65b0","use-default-cardboard":"Use Default","enable-audio-prompt":"\u542f\u7528\u97f3\u9891\uff1f"},"zh-tw":{mute:"\u975c\u97f3","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.","download-tour":"\u4e0b\u8f09\u865b\u64ec\u5c0e\u89bd\uff0c\u4ee5\u9032\u884c\u96e2\u7dda\u64ad\u653e",
"change-to-drag-and-release":"\u5c07\u63a7\u5236\u6a21\u5f0f\u66f4\u6539\u70ba\u201c\u62d6\u653e\u6a21\u5f0f\u201c",accept:"\u63a5\u53d7",cancel:"\u53d6\u6d88","storage-not-provided-bookmark":"\u88dd\u7f6e\u5167\u6c38\u4e45\u5b58\u5132\u88ab\u62d2\u7d55\u3002\u8acb\u5617\u8a66\u5c07\u6b64\u7db2\u9801\u65b0\u589e\u70ba\u66f8\u7c64\uff0c\u4e26\u91cd\u65b0\u8f09\u5165\u3002","dont-display-again":"\u4e0d\u518d\u986f\u793a\u672c\u8a0a\u606f","web-server-required":"\u672c\u865b\u64ec\u5c0e\u89bd\u7121\u6cd5\u5728\u672c\u5730\u96fb\u8166\u4e0a\u64ad\u653e\u3002 \u8acb\u5c07\u5176\u4e0a\u50b3\u5230\u7db2\u969b\u7db2\u8def\u4f3a\u670d\u5668\uff0c\u7136\u5f8c\u91cd\u8a66\u3002\n\u5982\u679c\u9700\u8981\u672c\u5730\u9810\u89bd\uff0c\u8acb\u5c07htm\u6a94\u6848\uff08\u6216\u865b\u64ec\u5c0e\u89bd\u7684\u6574\u500b\u8cc7\u6599\u593e\uff09\u62d6\u653e\u5230TourViewer\u61c9\u7528\u7a0b\u793a\u7684\u5716\u793a\u4e0a\u3002",
download:"\u4e0b\u8f09","change-to-click-and-move":"\u5c07\u63a7\u5236\u6a21\u5f0f\u66f4\u6539\u70ba\u201c\u9ede\u64ca\u4e26\u79fb\u52d5\u201d",yes:"\u662f","delete-downloaded":"\u522a\u9664","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"\u9000\u51fa\u5168\u87a2\u5e55",no:"\u5426","download-failed":"\u4e0b\u8f09\u5931\u6557","giroscope-disabled-http":"\u60a8\u6b63\u5728\u901a\u904ehttp(\u672a\u52a0\u5bc6)\u700f\u89bd\u672c\u7db2\u9801\uff0c\u56e0\u6b64\u8a2d\u5099\u7684\u904b\u52d5\u548c\u65b9\u5411\u53d6\u7528\u6b0a\u9650\uff0c\u4ee5\u53caVR\u6a21\u5f0f\u5747\u5df2\u7981\u7528\uff0c\u8acb\u53e6\u901a\u904ehttps(\u52a0\u5bc6)\u7db2\u5740\u5c0d\u5176\u9032\u884c\u555f\u7528\u3002",
"cookies-notice":"\u8a72\u7db2\u9801\u4f7f\u7528cookie\u4f86\u6536\u96c6\u4f7f\u7528\u60c5\u6cc1\u7d71\u8a08\u4fe1\u606f\u3002 \u6709\u95dc\u66f4\u591a\u4fe1\u606f\uff0c\u8acb\u8a2a\u554f<a> Cookie\u653f\u7b56</a>\u3002","use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please, rotate your device","exit-vr":"Exit VR","storage-not-provided-launch-from-desktop":"\u8acb\u5f9e\u684c\u9762\u9ede\u64ca\u5716\u793a\uff0c\u91cd\u65b0\u555f\u52d5\u865b\u64ec\u5c0e\u89bd\uff0c\u4ee5\u9032\u884c\u4e0b\u8f09\u3002",
"disable-measure":"Stop measuring",downloading:"\u6b63\u5728\u4e0b\u8f09","cardboard-v2":"If you have a Cardboard v2 headset, which comes with a button, you can gaze at a hotspot and press the button to trigger its action.","enable-video-audio-prompt":"\u5141\u8a31\u5f71\u7247\u53ca\u8072\u97f3\u64ad\u653e?",reject:"\u62d2\u7d55",downloaded:"\u865b\u64ec\u5c0e\u89bd\u5df2\u4e0b\u8f09\uff0c\u53ef\u9032\u884c\u96e2\u7dda\u64ad\u653e\u3002","samsung-internet-vr-app-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you need to make Samsung Internet your default browser.",
"samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.","enable-video-prompt":"\u5141\u8a31\u5f71\u7247\u64ad\u653e?","giroscope-disabled-safari-request-permission":["\u8a72\u7db2\u7ad9\u5df2\u7981\u7528\u60a8\u8a2d\u5099\u7684\u904b\u52d5\u548c\u65b9\u5411\u53d6\u7528\u6b0a\u9650\uff0cVR\u6a21\u5f0f\u4e5f\u88ab\u7981\u7528\u3002",
"\u8981\u6b63\u78ba\u67e5\u770b\u672c\u7db2\u9801\uff0c\u8acb\u55ae\u64ca\u7e7c\u7e8c\uff0c\u4e26\u5728\u51fa\u73fe\u63d0\u793a\u6642\u63a5\u53d7\u8a31\u53ef\u8acb\u6c42\u3002"],"storage-not-provided-launch-from-homescreen":"\u8acb\u4e3b\u9801\u9762\u87a2\u5e55\u9ede\u64ca\u5716\u793a\uff0c\u91cd\u65b0\u555f\u52d5\u865b\u64ec\u5c0e\u89bd\uff0c\u4ee5\u9032\u884c\u4e0b\u8f09\u3002","enter-fullscreen":"\u9032\u5165\u5168\u87a2\u5e55","use-cardboard-v2":"Use Cardboard v2",unmute:"\u53d6\u6d88\u975c\u97f3",
"enter-vr":"Enter VR content","enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"\u91cd\u65b0\u6574\u7406","use-default-cardboard":"Use Default","enable-audio-prompt":"\u5141\u8a31\u8072\u97f3\u64ad\u653e?"}}});
define("kU",["require","fb","go","jf"],function(a){function b(a){return e[j][a]||e.en[a]||a}var c=a("fb"),e=a("go"),d=a("jf"),f;for(f in e)e[f.substr(0,2)]=e[f];e.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>';
e["zh-hk"]=e["zh-mo"]=e["zh-tw"];e.no=e.nn;var g=function(){var a=window.navigator,b=["language","browserLanguage","systemLanguage","userLanguage"],f,c,e=[];(f=d.hn("language"))&&e.push(f.toLowerCase());var g=a.languages;if(Array.isArray(g))for(f=0;f<g.length;f++)if((c=g[f])&&c.length)c=c.toLowerCase(),-1==e.indexOf(c)&&e.push(c);for(f=0;f<b.length;f++)if((c=a[b[f]])&&c.length)c=c.toLowerCase(),-1==e.indexOf(c)&&e.push(c);return e}(),k=Object.keys(e),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("iJ",["require","jquery.mod","fb","r","jf"],function(a){function b(){}a("jquery.mod");var c=a("fb"),e=a("r"),a=a("jf");b.Gka=function(){window.MediaSource=window.MediaSource||window.WebKitMediaSource;return window.MediaSource&&"function"===typeof window.MediaSource.isTypeSupported&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')};b.Qka=function(){if(e.browser()==e.qg){var a=e.eE();if(10<=a&&11>a||11.3<=a)return p}return z};b.Hka=function(){return e.browser()==
e.wh||e.browser()==e.qg?p:z};var d;b.T$=function(a){try{return d||(d=document.createElement("audio")),!!d.canPlayType(a).replace(/^no$/,"")}catch(b){}return z};var f;b.iy=function(a){try{return f||(f=document.createElement("video"),f.setAttribute("webkit-playsinline","true"),f.setAttribute("playsinline","true")),!!f.canPlayType(a).replace(/^no$/,"")}catch(b){}return z};b.Ika=function(){try{if(document.createElement("canvas").getContext("webgl"))return p}catch(a){}try{if(document.createElement("canvas").getContext("experimental-webgl"))return p}catch(b){}return z};
b.lda=function(a,b,f){if(e.ge()==e.zj)if(!f||30<f){if(3168>=a&&1584>=b)return p}else{if(4096>=a&&2048>=b)return p}else if(e.KL())if(!f||30<f){if(4096>=a&&4096>=b||5760>=a&&5760>=b||5760>=a&&2880>=b||8192>=a&&4096>=b)return p}else{if(5760>=a&&5760>=b||8192>=a&&4096>=b)return p}else if(e.bva())if(!f||30<f){if(2880>=a&&2880>=b||4096>=a&&2048>=b)return p}else{if(3840>=a&&3840>=b||4096>=a&&4096>=b||5760>=a&&2880>=b||2880>=a&&5760>=b)return p}else if(e.Va()){if(3840>=a&&2160>=b)return p}else if(4096>=a&&
2048>=b)return p;return z};b.Zxa=function(a,f){return b.lda(a,f,30)};b.log=function(){c.log("webgl: "+b.fZ);c.log("html5 audio: "+b.qba);c.log("html5 video: "+b.tba)};b.vqa=function(){return["webgl:"+b.fZ,"html5audio:"+b.qba,"html5video:"+b.tba].join(" ")};b.sba=b.T$('audio/ogg; codecs="vorbis"');b.rba=b.T$("audio/mpeg");b.qba=b.sba||b.rba;b.yX=b.iy('video/ogg; codecs="theora"');b.Hza=b.iy('video/mp4; codecs="avc1.42E01E"');b.DL=b.iy('video/webm; codecs="vp8, vorbis"');b.Cua=b.iy('video/mp4; codecs="hev1"');
b.dE=b.iy("video/mp4");b.Dua=b.iy("video/quicktime");b.uba=b.Qka();b.cba=b.Hka();b.uua=b.cba||b.dE&&b.Gka();b.tba=b.yX||b.dE||b.DL;b.fZ=b.Ika();a.Wf("debug")&&a.Wf("capabilities")&&b.log();b.summary=b.vqa();return b});
define("lg",["require","iJ"],function(a){var a=a("iJ"),b={oya:"data:video/webm;base64,GkXfo0AgQoaBAUL3gQFC8oEEQvOBCEKCQAR3ZWJtQoeBAkKFgQIYU4BnQI0VSalmQCgq17FAAw9CQE2AQAZ3aGFtbXlXQUAGd2hhbW15RIlACECPQAAAAAAAFlSua0AxrkAu14EBY8WBAZyBACK1nEADdW5khkAFVl9WUDglhohAA1ZQOIOBAeBABrCBCLqBCB9DtnVAIueBAKNAHIEAAIAwAQCdASoIAAgAAUAmJaQAA3AA/vz0AAA=",qva:"data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE="};
b.src=!a.dE&&a.DL?b.oya:b.qva;return b});
define("dg",["require","lg","r"],function(a){function b(a){var b=document.createElement("video");b.setAttribute("webkit-playsinline","true");b.setAttribute("playsinline","true");b.src=g.src;var f=b.play();if(f){var c=z;f.then(function(){c=p;b.pause();a(z)})["catch"](function(){c||a(p)})}else b.pause(),a(z)}function c(a){var b=z,f=document.createElement("video");f.setAttribute("webkit-playsinline","true");f.setAttribute("playsinline","true");f.src="";(f=f.play())?f["catch"](function(a){b="NotAllowedError"!==
a.name}).then(function(){a(!b)}):a(p)}function e(a){l=a;n=p;d()}function d(){for(;i.length;)i.shift().call(window,l)}function f(){j||(j=p,k.browser()==k.wh&&11<=k.yca()?e(p):k.browser()==k.qg?b(e):c(function(a){a?b(e):e(z)}))}var g=a("lg"),k=a("r"),j=z,n=z,i=[],l;return{test:function(a){!n&&!j&&f();i.push(a);n&&d()}}});
define("bp",["require","kU","iS","dg"],function(a){function b(a,b){this.Bu=a;this.Zo=b;this.vl=this.vl.bind(this);this.wl=z}function c(){this.vl=this.vl.bind(this);this.cW=this.cW.bind(this);this.m="not tested";this.H0=[];this.Ls=[];this.oT=z;d.bz(this.cW)}var e=a("kU"),d=a("iS"),f=a("dg");c.prototype.$xa=function(){"not tested"==this.m&&(this.m="testing",f.test(function(a){this.m=a?"requires action":"allowed";this.bma()}.bind(this)))};c.prototype.bma=function(){"allowed"==this.m?this.vl(p):this.oT&&
(this.oT=z,this.Ls.forEach(function(a){a.Pg()}))};c.prototype.dZ=function(a){"allowed"==this.m?a.call(this,p):this.H0.push(a)};c.prototype.Pg=function(a){this.nr(a)};c.prototype.zW=function(){return"allowed"==this.m};c.prototype.txa=function(){"allowed"==this.m&&(this.m="requires action")};c.prototype.cW=function(){this.fm(p)};c.prototype.nr=function(a){"testing"==this.m||"not tested"==this.m?(this.J0(a),this.oT=p):"requires action"==this.m&&this.J0(a).Pg()};c.prototype.vl=function(a){var b=this.Ls;
this.Ls=[];b.forEach(function(b){a||b.Bu.set("mute",p);b.cancel()});this.fm(a)};c.prototype.fm=function(a){this.m="allowed";this.H0.forEach(function(b){b.call(window,a)})};c.prototype.J0=function(a){for(var f=r,c=0;c<this.Ls.length&&!f;c++)this.Ls[c].Bu==a&&(f=this.Ls[c]);f||(f=new b(a,this.vl),this.Ls.push(f));return f};b.prototype.Pg=function(){this.wl||(this.wl=p,"button"==this.Bu.get("AudioActivationMode")?this.Bu.Yx.gwa(this.vl):this.Bu.Yw.show(e("enable-audio-prompt"),this.vl))};b.prototype.cancel=
function(){this.Bu.Yx.Isa(this.vl);this.Bu.Yw.hide(this.vl)};b.prototype.vl=function(a){this.Zo(a!==z);this.wl=z};return new c});
define("fs",["require","kV","bY","eJ"],function(a){function b(){var a;a=d?!f:!document[k];g.visible!=a&&(g.visible=a,g.trigger(new e(c.aa)))}var c=a("kV"),e=a("bY"),d=z,f=z,g=new (a("eJ"));g.visible=p;for(var k,j,a=["hidden","msHidden","webkitHidden"],n=["visibilitychange","msvisibilitychange","webkitvisibilitychange"],i=0;i<a.length;i++)"undefined"!==typeof document[a[i]]&&(k=a[i],j=n[i]);k===m||"undefined"===typeof document[k]?(k="hidden",document[k]=z,j=function(){document[k]=z;b()},a=function(){document[k]=
p;b()},document.addEventListener?(window.addEventListener("focus",j,p),window.addEventListener("blur",a,p)):(document.attachEvent("onfocusin",j),document.attachEvent("onfocusout",a))):document.addEventListener(j,b,z);g.gM=function(a){(d=a)&&(f=z);b()};g.OY=function(a){f=a;b()};return g});
define("gb",["require","kV","jq","bp","fs"],function(a){var b=a("kV"),c=a("jq"),e=a("bp"),d=a("fs");if(!c.Jda||"AudioContext"in window===z)return r;var f=new AudioContext;e.dZ(function(){"running"!==f.state&&f.resume()});d.bind(b.aa,function(){d.visible&&"interrupted"==f.state&&f.resume()});return f});
define("dk",["require","gb","r"],function(a){function b(a){this.Mf=this.Mf.bind(this);this.Xq=this.Xq.bind(this);this.u=r;this.ae=z;this.Jl=this.aH=1;this.lH=p;this.tq=this.Jz=r;this.u=a;this.u.addEventListener("play",this.Mf,p);this.u.addEventListener("playing",this.Xq,p);this.Mpa();this.su()}var c=a("gb"),e=a("r"),d;b.prototype.clear=function(){this.u&&(this.Aqa(),this.u.removeEventListener("play",this.Mf,p),this.u.removeEventListener("playing",this.Xq,p),this.u=r)};b.prototype.Mpa=function(){e.browser()==
e.qg&&c&&(d||(e.browser()==e.wh||e.browser()==e.qg?(d=c.createDelay(),d.delayTime.value=0.3,d.connect(c.destination)):d=c.destination),this.Jz=c.createMediaElementSource(this.u),this.tq=c.createGain(),this.Jz.connect(this.tq),this.tq.connect(d))};b.prototype.Aqa=function(){this.Jz&&(this.Jz.disconnect(),this.Jz=r);this.tq&&(this.tq.disconnect(),this.tq=r)};b.prototype.Hwa=function(a){this.lH!=a&&(this.u.log("AudioController","set hasAudio: "+a),this.lH=a,this.su())};b.prototype.Fd=function(a){this.ae!=
a&&(this.u.log("AudioController","set muted: "+a),this.ae=a,this.su())};b.prototype.Ap=function(a){this.Jl!=a&&(this.u.log("AudioController","set volume: "+a),this.Jl=a,this.su())};b.prototype.CE=function(a){this.aH!=a&&(this.u.log("AudioController","set gain: "+a),this.aH=Math.max(0,Math.min(1,a)),this.su())};b.prototype.Mf=function(){this.su()};b.prototype.Xq=function(){this.su()};b.prototype.su=function(){this.u.log("AudioController","updateVolume paused: "+this.u.paused+" outputVolume: "+(!this.lH||
this.ae?0:this.Jl*this.aH));if(!this.u.paused){var a=!this.lH||this.ae?0:this.Jl*this.aH;this.tq?(this.tq.gain.value=a,this.u.volume=1):this.u.volume=a;this.u.muted=0==a}};return b});define("fV",["require"],function(){return{Dj:"video",Ida:"audio"}});
define("jR","require,fb,kV,fp,fZ,bY,eJ,r,jf,gs,fs".split(","),function(a){var b=a("fb"),c=a("kV"),e=a("fp"),d=a("fZ"),f=a("bY"),g=a("eJ"),k=a("r"),j=a("jf"),n=a("gs"),i=a("fs"),l=b.extend(g,function(a){g.call(this);this.u=a;this.Jt=this.Jt.bind(this);this.so=this.so.bind(this);this.Rh=this.Rh.bind(this);this.Nt=this.Nt.bind(this);this.Eg=this.Eg.bind(this);this.Sh=this.Sh.bind(this);this.Mf=this.Mf.bind(this);this.Xq=this.Xq.bind(this);this.kD=this.kD.bind(this);this.u.addEventListener("ended",this.Rh,
p);this.u.addEventListener("pause",this.Sh,z);this.u.addEventListener("stalled",this.Sh,z);this.u.addEventListener("waiting",this.Sh,z);this.u.addEventListener("canplay",this.Jt,p);this.u.addEventListener("canplaythrough",this.so,z);this.u.addEventListener("loadedmetadata",this.Eg,p);this.u.addEventListener("play",this.Mf,z);this.u.addEventListener("playing",this.Xq,z);this.u.addEventListener("error",this.Nt,z);this.oQ=z;this.m=e.K;this.nx=this.Uf=r;i.bind(c.aa,this.csa,this)});l.prototype.clear=
function(){if(this.u){this.u.removeEventListener("ended",this.Rh,p);this.u.removeEventListener("pause",this.Sh,z);this.u.removeEventListener("stalled",this.Sh,z);this.u.removeEventListener("waiting",this.Sh,z);this.u.removeEventListener("canplay",this.Jt,p);this.u.removeEventListener("canplaythrough",this.so,z);this.u.removeEventListener("loadedmetadata",this.Eg,p);this.u.removeEventListener("play",this.Mf,z);this.u.removeEventListener("error",this.Nt,z);this.u=r}};l.prototype.play=function(){this.u.log("PlaybackController",
"play");this.nx=e.S;this.hC()};l.prototype.stop=function(){this.u.log("PlaybackController","stop");this.nx=e.K;this.hC()};l.prototype.Ge=function(){return this.Uf||this.m};l.prototype.Vu=function(){return this.u.readyState==this.u.HAVE_NOTHING||this.u.readyState==this.u.HAVE_METADATA||this.u.currentTime===0?z:p};l.prototype.hC=function(){if(!this.Uf&&this.nx){this.Uf=this.nx;this.nx=r;this.Uf==e.S?this.UU():this.TU()}};l.prototype.csa=function(){if(i.visible){this.u.log("PlaybackController","visibile changed to true, setting state to "+
this.m);this.Uf=this.m;this.Uf==e.S?this.UU():this.TU()}else if(!this.u.paused){this.u.log("PlaybackController","paused by visibile changed to false");var a=this.u.pause();a&&a["catch"](this.Nt)}};l.prototype.lR=function(){return this.u.currentSrc||this.u.children.length&&this.u.children[0].src||""};l.prototype.UU=function(){var a=this.lR();this.FJ(a&&!j.By(a));this.RF=k.browser()==k.qg;if(this.u.paused){this.u.log("PlaybackController","startPlaying calling play");this.u.muted=p;this.u.log("PlaybackController",
"this._media.play()");(a=this.u.play())&&a["catch"](this.Nt)}else{this.u.log("PlaybackController","startPlaying already playing");this.Mf()}};l.prototype.Xq=function(){this.u.log("PlaybackController","onPlaying event received. Visible: "+i.visible)};l.prototype.Mf=function(){if(this.Uf==e.S){this.u.log("PlaybackController","onPlay event received when waiting to play");this.Uf=r;this.m=e.S;this.trigger(new f(l.pN));this.hC()}else this.u.log("PlaybackController","onPlay event received. Visible: "+i.visible)};
l.prototype.TU=function(){this.FJ(z);this.RF=z;if(this.u.paused){this.u.log("PlaybackController","startPausing already paused");this.Sh()}else{this.u.log("PlaybackController","startPausing calling pause");var a=this.u.pause();a&&a["catch"](this.Nt)}};l.prototype.Sh=function(){if(this.Uf==e.K){this.u.log("PlaybackController","onPause event received when waiting to stop");this.Uf=r;this.m=e.K;this.hC()}else if(i.visible){this.u.log("PlaybackController","onPause event received without calling to pause");
(this.m==e.S&&!this.Uf||this.Uf==e.S)&&!this.u.hasAttribute("loop")&&!isNaN(this.u.duration)&&this.u.currentTime==this.u.duration&&this.u.duration>0&&this.Rh();this.kD()}else this.u.log("PlaybackController","onPause event received when not visible")};l.prototype.Jt=function(){this.u.log("PlaybackController","on can play");this.kD()};l.prototype.so=function(){this.u.log("PlaybackController","can play through");this.kD();this.FJ(z)};l.prototype.kD=function(){if(this.L8()){if(this.RF&&this.u.currentTime==
0){this.u.log("PlaybackController","updatePlaying applying ios hack");this.RF=z;try{this.u.currentTime=0.3}catch(a){}}k.browser()!=k.xv&&this.T7()}};l.prototype.L8=function(){return this.m==e.S&&i.visible&&this.u.paused&&this.u.readyState>=3};l.prototype.T7=function(a){if(!this.U7)if(a){if(this.L8()){this.u.log("PlaybackController","updatePlaying retrying play");this.Uf=e.S;this.UU()}}else this.U7=setTimeout(function(){this.U7=r;this.T7(p)}.bind(this),500)};l.prototype.Nt=function(){if(this.Uf==e.S){this.u.log("PlaybackController",
"onError waiting to play");this.Uf=r;this.nx?this.hC():k.browser()==k.qg&&this.trigger(new f(l.XM))}};l.prototype.Eg=function(){this.u.log("PlaybackController","on loaded metadata");!isNaN(this.u.duration)&&this.u.currentTime==this.u.duration&&this.u.duration>0&&this.Rh()};l.prototype.Rh=function(){this.u.log("PlaybackController","onEnded");this.RF=z;if(this.m==e.S&&!this.Uf||this.Uf==e.K){this.u.log("PlaybackController","onEnded finalizing video");this.FJ(z);this.Uf=e.K;this.TU();this.trigger(new f(l.vj))}};
l.prototype.FJ=function(a){if(this.oQ!=a){this.u.log("PlaybackController","downloading changed to: "+a);(this.oQ=a)?n.Rxa(d.SZ):n.Qxa(d.SZ)}};l.XM="deactivated";l.vj="end";l.pN="play";return l});
define("x",["require","fb","kV","bY","eJ"],function(a){var b=a("fb"),c=a("kV");a("bY");var e=a("eJ"),a=b.extend(e,function(a){e.call(this);this.Eg=this.Eg.bind(this);this.LS=this.LS.bind(this);this.Kf=this.Kf.bind(this);this.u=a;this.jh=r;this.Ic=[];this.u.addEventListener("loadedmetadata",this.Eg,p);this.u.textTracks.addEventListener("addtrack",this.LS,z)});a.prototype.set=function(a){a&&this.Dfa(a)};a.prototype.clear=function(){this.moa()};a.prototype.UD=function(){var a=this.jh&&this.jh.track.activeCues;
a&&(a=Array.prototype.slice.call(a,0));return a||[]};a.prototype.Eg=function(){this.k$()};a.prototype.LS=function(){this.k$()};a.prototype.Kf=function(){this.j8(this.jh.track.activeCues)};a.prototype.j8=function(a){a||(a=[]);0==this.Ic.length&&0==a.length||(this.Ic=Array.prototype.slice.call(a),this.trigger(c.xf,this.Ic))};a.prototype.Dfa=function(a){this.u.log("TextTracksController","add text track src: "+a);this.jh=document.createElement("track");this.jh.kind="subtitles";this.jh.src=a;this.u.appendChild(this.jh)};
a.prototype.moa=function(){this.jh&&(this.u.log("TextTracksController","remove text track"),this.jh.track.removeEventListener("cuechange",this.Kf),this.jh.track.mode="disabled",this.jh.src="",this.u.removeChild(this.jh),this.jh=r,this.j8([]))};a.prototype.k$=function(){for(var a=0;a<this.u.textTracks.length;a++){var b=this.u.textTracks[a];b.removeEventListener("cuechange",this.Kf);b.mode=this.jh&&b==this.jh.track?"hidden":"disabled";"hidden"==b.mode&&b.addEventListener("cuechange",this.Kf)}};return a});
define("gg",["require","dl","jf"],function(a){var b=a("dl"),c=a("jf"),a={is:function(a,d){var f=c.parse(a).lta;return b(d).contains(f)},By:function(a,c){return a&&b(c).any(function(b){return 0===a.indexOf(b)})},FN:[".mp4",".m4v",".m4p"],cea:[".hevc"],VZ:[".mov"],Y_:[".webm"],m_:[".ogv",".ogg"],sea:[".mpg",".mpeg"],hea:[".jpg",".jpeg"],yj:[".m3u8"],l_:[".mpd"],zea:[".png"],bea:[".gif"],Kda:[".bmp"]};a.eea=[].concat(a.hea,a.zea,a.bea,a.Kda);a.Gda=[].concat(a.yj,a.l_);a.Dj=[].concat(a.Gda,a.FN,a.Y_,
a.m_,a.sea,a.yj,a.l_);a.fea=["data:image/"];return a});
define("dy","require,fb,kV,bY,eJ,r,gg".split(","),function(a){var b=a("fb");a("kV");var c=a("bY"),e=a("eJ"),d=a("r"),f=a("gg"),g=b.extend(e,function(a){e.call(this);this.u=a;this.so=this.so.bind(this);this.Sh=this.Sh.bind(this);this.Mf=this.Mf.bind(this);this.Eg=this.Eg.bind(this);this.Rh=this.Rh.bind(this);this.zI=this.zI.bind(this);this.ed=this.ed.bind(this);this.$w=this.TC=m;this.u.addEventListener("ended",this.Rh,p);this.u.addEventListener("pause",this.Sh,z);this.u.addEventListener("canplaythrough",
this.so,z);this.u.addEventListener("timeupdate",this.zI,z);this.u.addEventListener("play",this.Mf,z)});g.prototype.clear=function(){if(this.u){this.u.removeEventListener("ended",this.Rh,p);this.u.removeEventListener("pause",this.Sh,z);this.u.removeEventListener("canplaythrough",this.so,z);this.u.removeEventListener("timeupdate",this.zI,z);this.u.removeEventListener("play",this.Mf,z);this.u=r}};g.prototype.setTime=function(a){this.u.log("TimeController","setTime: "+a);this.QF=d.Q$()&&!f.is(this.lR(),
f.yj)?a||0:m;try{this.u.currentTime=a}catch(b){}if(d.browser()!=d.ds&&d.browser()!=d.xv){this.$w=a;this.V9()}};g.prototype.getTime=function(){return this.$w||this.u.currentTime||0};g.prototype.kj=function(){return this.u.duration||0};g.prototype.Mf=function(){this.FU(p)};g.prototype.Sh=function(){this.FU(z)};g.prototype.so=function(){this.u.log("TimeController","on can play through");this.V9()};g.prototype.Rh=function(){this.QF=m;this.FU(z)};g.prototype.Eg=function(){this.trigger(new c(g.Yf))};g.prototype.V9=
function(){if(this.u.readyState>=this.u.HAVE_ENOUGH_DATA&&this.$w!==m){this.u.log("TimeController","updateCurrentTime when can play through set time to: "+this.$w);try{this.u.currentTime=this.$w}catch(a){}this.$w=m}};g.prototype.ed=function(){this.trigger(new c(g.Hd))};g.prototype.zI=function(){if(this.QF!==m&&this.u.currentTime>this.QF){this.QF=m;try{this.u.currentTime=this.u.currentTime-0.01}catch(a){}}this.ed()};g.prototype.FU=function(a){if(!!this.TC!=a)if(this.TC){clearInterval(this.TC);this.TC=
r}else this.TC=setInterval(this.ed,16)};g.prototype.lR=function(){return this.u.currentSrc||this.u.children.length&&this.u.children[0].src||""};g.Hd="time update";g.Yf="duration update";return g});
define("bV",["require","jf"],function(a){function b(){this.NH=this.pS=r;this.On=[];this.rm=z;this.Lq=m}var c=a("jf");b.prototype.Rl=function(a,b){this.pS=c.bs(a);this.NH=b;this.I()};b.prototype.load=function(a,b){var f={};f.call=a;f.context=b||window;this.On.push(f);this.Lq||(this.Lq=this.K3());this.I()};b.prototype.kp=function(){return this.Lq!==m};b.prototype.I=function(){0<this.On.length&&(this.Lq!==m?this.pia():this.pS&&this.ZA())};b.prototype.ZA=function(){if(!(this.rm||this.Lq!==m)){this.rm=
p;var a=document.createElement("script");a.type="text/javascript";a.src=this.pS;document.getElementsByTagName("head")[0].appendChild(a);this.F$()}};b.prototype.F$=function(){var a=this.K3();if(a===m){var b=this;setTimeout(function(){b.F$()},250)}else this.Lq=a,this.rm=z,this.I()};b.prototype.K3=function(){if(this.NH){for(var a=window,b=0;b<this.NH.length&&a!==m;b++)a=a[this.NH[b]];return a}};b.prototype.pia=function(){for(;0<this.On.length;){var a=this.On.pop();a.call.call(a.context,this.Lq)}};return{Z_:new b,
yj:new b,Rl:function(a){this.yj.Rl(a.get(TDV.PlayerSettings.HLS_URL),["Hls"]);this.Z_.Rl(a.get(TDV.PlayerSettings.WEBVR_POLYFILL_URL),["WebVRConfig","FORCE_ENABLE_VR"])}}});
define("dN",["require","iJ"],function(a){a("iJ");a={Tba:"data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU2LjM2LjEwMAAAAAAAAAAAAAAA//OEAAAAAAAAAAAAAAAAAAAAAAAASW5mbwAAAA8AAAAEAAABIADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV6urq6urq6urq6urq6urq6urq6urq6urq6v////////////////////////////////8AAAAATGF2YzU2LjQxAAAAAAAAAAAAAAAAJAAAAAAAAAAAASDs90hvAAAAAAAAAAAAAAAAAAAA//MUZAAAAAGkAAAAAAAAA0gAAAAATEFN//MUZAMAAAGkAAAAAAAAA0gAAAAARTMu//MUZAYAAAGkAAAAAAAAA0gAAAAAOTku//MUZAkAAAGkAAAAAAAAA0gAAAAANVVV"};a.src=
a.Tba;return a});
define("cQ","require,fb,kV,bY,eJ,iJ,jf,jq,gg,bV,dN".split(","),function(a){function b(a,b,f){this.src=a||"";this.ri=b||"";this.startTime=f||0}var c=a("fb"),e=a("kV"),d=a("bY"),f=a("eJ"),g=a("iJ"),k=a("jf"),j=a("jq"),n=a("gg"),i=a("bV"),l=a("dN"),a=c.extend(f,function(a,b){f.call(this);this.u=a;this.fj=b;this.uS=z;this.SJ=[];this.nd=this.fd=this.iA=r});a.prototype.set=function(a,f,c){this.u.log("SrcSetter","set: "+a+" subtitles: "+f+" startTime: "+c);a=new b(a,f,c);if(!this.fd||!this.fd.isEqual(a))if(!this.fd&&this.iA&&
this.iA.isEqual(a))this.tV();else{this.fd=a;this.Ela()}};a.prototype.clear=function(){if(this.nd){this.nd.destroy();this.nd=r}this.iA=r;this.loa();this.fj.clear()};a.prototype.wua=function(){return!!this.fd};a.prototype.Ela=function(){this.uS=p;if(this.Q7(this.fd.src)&&!i.yj.kp()){this.u.log("SrcSetter","hls lib required");i.yj.load(this.M4,this)}else this.M4()};a.prototype.M4=function(){if(this.uS){this.uS=z;this.bga()}};a.prototype.bga=function(){this.clear();this.bpa(!!this.fd.src&&k.Dba(this.fd.src));
this.Q7(this.fd.src)?this.Rfa():this.cga()};a.prototype.Rfa=function(){var a=i.yj.Lq,b=(navigator.connection?Math.max(navigator.connection.downlink,2):2)*1048576,f=b*0.66;this.nd=new a({debug:j.pZ,startPosition:this.fd.startTime===0?-1:this.fd.startTime,levelLoadingTimeOut:6E4,startLevel:-1,autoStartLoad:z,abrEwmaDefaultEstimate:b});this.nd.loadSource(this.fd.src);this.nd.attachMedia(this.u);var c=function(){this.nd.off(a.Events.MANIFEST_PARSED,c);if(navigator.connection){var d=this.nd.levels.filter(function(a){return a.bitrate<=
b});if(d.length){d.sort(function(a,b){return b.width-a.width});var e=this.nd.levels.indexOf(d[0]);this.nd.startLevel=e}d=this.nd.levels.filter(function(a){return a.bitrate<=f});if(d.length){d.sort(function(a,b){return b.width-a.width});this.nd.config.minAutoBitrate=d[0].bitrate-1}d=this.nd.levels.filter(function(a){return g.Zxa(a.width,a.height)});if(j.dea){d.sort(function(a,b){return b.width-a.width});e=this.nd.levels.indexOf(d[0]);this.nd.startLevel=e}if(d.length&&d.length<this.nd.levels.length){d.sort(function(a,
b){return b.width-a.width});this.nd.autoLevelCapping=this.nd.levels.indexOf(d[0])}this.u.log("SrcSetter","bandwidth: "+b+" lowBandwidth: "+f);this.u.log("SrcSetter","levels: "+this.nd.levels);this.u.log("SrcSetter","startLevel: "+this.nd.levels[this.nd.startLevel]);this.u.log("SrcSetter","minLevel: "+this.nd.levels[this.nd.minAutoLevel])}this.nd.startLoad(this.fd.startTime===0?-1:this.fd.startTime);this.fd.startTime!=0&&this.H8(this.fd.startTime);this.fd.ri&&this.fj.set(this.fd.ri);this.iA=this.fd;
this.fd=r;this.tV()}.bind(this);this.nd.on(a.Events.MANIFEST_PARSED,c);this.nd.on(a.Events.xya,function(b,f){f.fatal&&f.type==a.ErrorTypes.Cya&&this.nd.recoverMediaError()}.bind(this))};a.prototype.cga=function(){this.fd.src?this.T0(this.fd.src):this.T0(l.Tba,"audio/mpeg");this.fd.ri&&this.fj.set(this.fd.ri);this.u.load();this.fd.startTime!=0&&this.H8(this.fd.startTime);this.iA=this.fd;this.fd=r;this.tV()};a.prototype.tV=function(){this.u.log("SrcSetter","src ready");this.trigger(new d(e.Ab))};a.prototype.Q7=
function(a){return a&&n.is(a,n.yj)&&!g.cba};a.prototype.bpa=function(a){a&&!this.u.hasAttribute("crossorigin")?this.u.setAttribute("crossorigin","anonymous"):!a&&this.u.hasAttribute("crossorigin")&&this.u.removeAttribute("crossorigin")};a.prototype.H8=function(a){try{this.u.currentTime=a}catch(b){}};a.prototype.T0=function(a,b){var f=document.createElement("source");b||(b=this.Cka(a));if(b)f.type=b;k.By(a)||(a=k.Cu(a,"swbypass=true"));f.src=a;this.u.appendChild(f);this.SJ.push(f)};a.prototype.loa=
function(){for(;this.SJ&&this.SJ.length;){var a=this.SJ.shift();a.src="";this.u.removeChild(a)}};a.prototype.Cka=function(a){switch(k.getExtension(a).toLowerCase()){case ".mp3":return"audio/mpeg";case ".ogg":return"audio/ogg";case ".m4v":case ".mp4":return"video/mp4";case ".webm":return"video/webm";case ".ogv":return"video/ogg";case ".m3u8":return"application/x-mpegURL";case ".mov":return"video/quicktime"}};b.prototype.isEqual=function(a){return this.src==a.src&&this.ri==a.ri};return a});
define("kA","require,fb,kV,bY,eJ,r,jq,d,bp,iS,dk,fV,jR,x,dy,cQ".split(","),function(a){function b(a){setTimeout(a,0)}var c=a("fb"),e=a("kV"),d=a("bY"),f=a("eJ"),g=a("r"),k=a("jq"),j=a("d"),n=a("bp"),i=a("iS"),l=a("dk"),q=a("fV"),o=a("jR"),t=a("x"),s=a("dy"),u=a("cQ"),v=0,w=c.extend(f,function(a,b){f.call(this);this.Td=a;this.dsa=b;this.Eg=this.Eg.bind(this);this.fm=this.fm.bind(this);this.WS=this.WS.bind(this);this.xm=this.rw=r;this.QI=m;this.bb=this.Aa=r;this.Fj="inactive";this.kk=this.ra=this.fc=
this.No=this.fj=r;this.I8(document.createElement(this.Td));b&&i.bz(this.fm)});w.prototype.I8=function(a){this.n9();this.bb=a;for(this.bb.parentNode&&this.bb.parentNode.removeChild(this.bb);this.bb.children.length;)this.bb.removeChild(this.bb.children[0]);this.Opa();this.bb.autoplay=z;this.bb.autobuffer="autobuffer";this.bb.Ny=g.browser()==g.qg?"metadata":"none";this.bb.setAttribute("preload",g.browser()==g.qg?"metadata":"none");this.bb.setAttribute("webkit-playsinline","true");this.bb.setAttribute("playsinline",
"true");this.bb.addEventListener("loadedmetadata",this.Eg,p);this.fj=new t(this.bb);this.fj.bind(e.xf,this.Kf,this,p);this.No=new u(this.bb,this.fj);this.No.bind(e.Ab,this.D6,this,p);this.fc=new l(this.bb);this.ra=new o(this.bb);this.ra.bind(o.XM,this.G5,this,p);this.ra.bind(o.vj,this.Rh,this,p);this.ra.bind(o.pN,this.Mf,this,p);this.kk=new s(this.bb);this.kk.bind(s.Hd,this.ed,this,p);this.kk.bind(s.Yf,this.Ti,this,p)};w.prototype.Opa=function(){if(k.pZ){var a="["+this.Td+" "+v++ +"]";this.bb.log=
function(b,f){console.log(a+"["+(new Date).toISOString().split("T")[1]+"] "+b+" "+f)}}else this.bb.log=D()};w.prototype.n9=function(){if(this.bb){this.bb.removeEventListener("loadedmetadata",this.Eg,p);if(this.No){this.No.unbind(e.Ab,this.D6,this,p);this.No.clear();this.No=r}if(this.fj){this.fj.unbind(e.xf,this.Kf,this,p);this.fj.clear();this.fj=r}if(this.fc){this.fc.clear();this.fc=r}if(this.ra){this.ra.unbind(o.XM,this.G5,this,p);this.ra.unbind(o.vj,this.Rh,this,p);this.ra.unbind(o.pN,this.Mf,this,
p);this.ra.clear();this.ra=r}if(this.kk){this.kk.unbind(s.Hd,this.ed,this,p);this.kk.unbind(s.Yf,this.Ti,this,p);this.kk.clear();this.kk=r}this.bb=r}};w.prototype.clear=function(){this.n9()};w.prototype.my=function(a,b,f){if(this.sh()&&this.Vu())try{a.drawImage(this.bb,0,0,b,f);return p}catch(c){}a.fillRect(0,0,b,f);return z};w.prototype.play=function(a,b,f){this.bb.log("HTMLMediaPlayer","src: "+b.src+" subtitlesSrc: "+b.ri+" hasAudio: "+b.jp+" gain: "+b.gain);this.Aa=a;this.rw=r;this.xm=b.clone();
this.QI=f||0;this.Nfa()};w.prototype.JL=function(){return this.Fj=="activated"};w.prototype.xM=R("dsa");w.prototype.stop=function(){this.ra.stop()};w.prototype.Ge=function(){return this.ra.Ge()};w.prototype.Vu=function(){return this.No.wua()?z:this.ra.Vu()};w.prototype.Fd=function(a){this.fc.Fd(a)};w.prototype.Ap=function(a){this.fc.Ap(a)};w.prototype.CE=function(a){this.fc.CE(a)};w.prototype.mv=function(a){this.Yfa(a)};w.prototype.jj=function(){return this.kk.getTime()};w.prototype.xp=function(a){return this.kk.setTime(a)};
w.prototype.kj=function(){return this.kk.kj()};w.prototype.sh=function(){return this.Td==q.Dj};w.prototype.qe=R("Td");w.prototype.Xc=function(){return this.bb&&this.sh()&&this.bb.videoWidth||0};w.prototype.Kd=function(){return this.bb&&this.sh()&&this.bb.videoHeight||0};w.prototype.UD=function(){return this.fj.UD()};w.prototype.Nfa=function(){this.bb.log("HTMLMediaPlayer","assert can play");if(this.Fj=="activated"||!this.xm.jp){this.bb.log("HTMLMediaPlayer","can play activationState: "+this.Fj+" pending media has audio: "+
this.xm.jp);this.Jt()}else if(this.Fj=="inactive"){this.bb.log("HTMLMediaPlayer","needs activation");this.Aa&&this.Td==q.Dj&&this.Fka()?this.lfa():this.Aa&&j.jE()?this.fm():this.Aa&&this.Mfa()}};w.prototype.Fka=function(){var a=this.l3();return a&&(!a.currentSrc||a.paused)&&!a.muted?p:z};w.prototype.l3=function(){return this.Aa.get("settings").get(TDV.PlayerSettings.ACTIVE_VIDEO_ELEMENT)};w.prototype.lfa=function(){this.bb.log("HTMLMediaPlayer","activate with application parameter");this.I8(this.l3());
this.fm()};w.prototype.Mfa=function(){this.bb.log("HTMLMediaPlayer","ask for activation");this.Fj="requested";n.dZ(this.fm);this.Aa&&n.Pg(this.Aa)};w.prototype.fm=function(){if(this.Fj=="inactive"||this.Fj=="requested"){this.bb.log("HTMLMediaPlayer","activate received when state: "+this.Fj+" and has media: "+!!this.rw);if(this.rw)b(function(){i.bz(this.fm)}.bind(this));else{this.Fj="activating";this.No.set("","",0)}}};w.prototype.Jt=function(){this.bb.log("HTMLMediaPlayer","media can play. Has pending properties: "+
!!this.xm);this.xm&&this.No.set(this.xm.src,this.xm.ri,this.QI)};w.prototype.D6=function(){this.Fj=="activating"?this.Tma():this.xm&&this.Cma()};w.prototype.Tma=function(){this.bb.log("HTMLMediaPlayer","on src ready activating");this.ra.play()};w.prototype.Mf=function(){if(this.Fj=="activating"){this.bb.log("HTMLMediaPlayer","on play activating");this.ra.stop();this.Fj="activated";this.Jt()}};w.prototype.Cma=function(){this.bb.log("HTMLMediaPlayer","on pending src ready");this.rw=this.xm;this.xm=
r;this.Sfa(this.rw.jp);this.Qfa(this.rw.gain);this.kk.setTime(this.QI);this.QI=m;this.ra.play()};w.prototype.Sfa=function(a){this.fc.Hwa(a)};w.prototype.Qfa=function(a){this.fc.CE(a)};w.prototype.Yfa=function(a){a&&!this.bb.hasAttribute("loop")?this.bb.setAttribute("loop",""):!a&&this.bb.hasAttribute("loop")&&this.bb.removeAttribute("loop")};w.prototype.G5=function(){this.bb.log("HTMLMediaPlayer","on deactivated");n.txa();i.bz(this.WS);this.Aa&&b(function(){n.Pg(this.Aa)}.bind(this))};w.prototype.WS=
function(){this.bb.log("HTMLMediaPlayer","on reactivated");this.ra.play()};w.prototype.Kf=function(){this.trigger(e.xf,this.fj.UD())};w.prototype.Eg=function(){this.trigger(new d(w.Tda))};w.prototype.ed=function(){this.trigger(new d(w.Hd))};w.prototype.Ti=function(){this.trigger(new d(w.Yf))};w.prototype.Rh=function(){this.trigger(new d(w.vj))};w.Hd="time update";w.Yf="duration update";w.Tda="size update";w.vj="end";return w});
define("cO",["require"],function(){return function(a){this.cue=a;this.text=a.text}});define("jL",["require"],function(){function a(){this.ri=this.src=m;this.jp=z;this.gain=1}a.prototype.clone=function(){var b=new a;b.src=this.src;b.ri=this.ri;b.jp=this.jp;b.gain=this.gain;return b};return a});
define("bC","require,fb,dl,kV,fp,bY,eJ,r,jf,kA,fV".split(","),function(a){function b(a){this.Lz=a;this.X=r;this.At=(new Date).getTime()}var c=a("fb"),e=a("dl"),d=a("kV"),f=a("fp"),g=a("bY"),k=a("eJ"),j=a("r"),n=a("jf"),i=a("kA"),l=a("fV");b.prototype.HX=function(){return this.X==r};b.prototype.JL=function(){return this.Lz.JL()};b.prototype.xM=function(){return this.Lz.xM()};b.prototype.item=R("X");b.prototype.vta=function(){this.X.OX(this.Lz);this.X=r};b.prototype.iya=function(a){this.X=a;this.X.VW(this.Lz);
this.At=(new Date).getTime()};var q=c.extend(k,function(){k.call(this);this.Lo=[];for(var a=n.Aaa("avs",10),c=n.Aaa("avpas",4),d=0;d<a;d++)this.Lo.push(new b(new i(l.Dj,d<c)));this.Rf=[];this.m=f.K});q.prototype.Fy=function(){return this.U3().length>0};q.prototype.$L=function(a){this.Rf=[a].concat(e(this.Rf).without(a));this.rT()};q.prototype.EW=function(a){this.Rf.push(a);this.rT()};q.prototype.Ly=function(a){this.Rf=e(this.Rf).without(a);this.rT()};q.prototype.rT=function(){var a=this.kka();if(q.kba())for(;this.Lo.length<
a.length;)this.Lo.push(new b(new i(l.Dj,z)));this.U3().forEach(function(b){a.indexOf(b.item())<0&&b.vta()});this.$b(a.length>0?f.S:f.K);a.forEach(function(a){this.Rja(a)||this.Hja(a.mY()).iya(a)}.bind(this));this.Ija().forEach(function(a){a.Lz.stop()})};q.prototype.kka=function(){return this.Rf.map(function(a,b){var f={};f.index=b;f.Nd=a.sX();f.item=a;return f}).sort(function(a,b){return a.Nd-b.Nd||a.index-b.index}).map(function(a){return a.item})};q.prototype.$b=function(a){if(this.m!=a){this.m=
a;this.trigger(new g(this.m==f.K?d.je:d.Ai))}};q.prototype.Hja=function(a){var b=this.Lo.filter(function(a){return a.HX()});if(b.length){if(a){a=b.filter(function(a){return a.JL()});a.length||(a=b.filter(function(a){return a.xM()}))}else{a=b.filter(function(a){return!a.xM()});a.length||(a=b.filter(function(a){return!a.JL()}))}a.length&&(b=a);if(j.browser()==j.wh){b.sort(function(a,b){return b.At-a.At});return b[Math.min(2,b.length-1)]}return b[0]}return r};q.prototype.Ija=function(){return this.Lo.filter(function(a){return a.HX()})};
q.prototype.U3=function(){return this.Lo.filter(function(a){return!a.HX()})};q.prototype.Rja=function(a){for(var b=0;b<this.Lo.length;b++)if(this.Lo[b].item()==a)return this.Lo[b];return r};q.QR=r;q.bind=function(){var a=q.Ef();a.bind.apply(a,arguments)};q.unbind=function(){var a=q.Ef();a.unbind.apply(a,arguments)};var o=[j.gz,j.zv].indexOf(j.Wc())>=0;q.kba=function(){return o};q.Fy=function(){return q.Ef().Fy()};q.EW=function(a){q.Ef().EW(a)};q.$L=function(a){q.Ef().$L(a)};q.Ly=function(a){q.Ef().Ly(a)};
q.Qn=function(){if(q.QR===r)q.QR=new q;return q.QR};q.Ef=q.Qn;q.Qn();return q});
define("z","require,fb,bY,eJ,kV,fp,kA,cO,jL,fV,bC,V,iJ".split(","),function(a){var b=a("fb"),c=a("bY"),e=a("eJ"),d=a("kV"),f=a("fp"),g=a("kA"),k=a("cO"),j=a("jL"),n=a("fV"),i=a("bC"),l=a("V"),q=a("iJ"),o=b.extend(e,function(a,b,c){e.call(this);this.Aa=a;this.k=b;this.gC=c;this.U=r;this.zC();this.kI=this.kI.bind(this);this.k.bind(d.G("gain"),this.lI,this,p);this.m=f.K;this.bB=z;this.gf=this.Hb=0;this.ae=z;this.Jl=1;this.pA=z;this.Dw=1;this.ac=r;this.gm=[]});o.prototype.Sa=R("Aa");o.prototype.ec=function(a){if(this.m!=
a&&!(a==f.uc&&this.m!=f.S)){this.m=a;if(this.m==f.S){this.Pga();i.$L(this)}else this.aqa();this.uV()}};o.prototype.aqa=function(){if(!this.pA){this.pA=p;this.X2=this.k.get("fadeOutTime");this.X2==0?this.g9():this.kI(0)}};o.prototype.kI=function(a){if(!this.ac||this.Dw==0||!this.pA||this.kla())this.g9();else{this.Dw=Math.max(0,this.Dw-a/this.X2);this.SF();l.La(this.kI)}};o.prototype.Pga=function(){this.pA=z;this.Dw=1;this.SF()};o.prototype.g9=function(){this.pA=z;this.Dw=1;if(this.ac){i.Ly(this);this.m==
f.K&&this.EU()}};o.prototype.Ge=R("m");o.prototype.kj=R("Hb");o.prototype.xp=function(a){this.gf=a;this.ac&&this.ac.play(this.Aa,this.U,this.gf)};o.prototype.jj=R("gf");o.prototype.Ap=function(a){this.Jl=a;this.SF()};o.prototype.SF=function(){this.ac&&this.ac.Ap(this.Jl*this.Dw)};o.prototype.Fd=function(a){this.ae=a;this.ac&&this.ac.Fd(a)};o.prototype.mv=function(a){this.bB=a;this.ac&&this.ac.mv(a)};o.prototype.mY=function(){return!this.ae};o.prototype.qe=function(){return n.Ida};o.prototype.sX=R("gC");
o.prototype.VW=function(a){this.ac=a;setTimeout(function(){this.ac&&this.ac.bind(g.vj,this.tB,this,p)}.bind(this),0);this.zC();this.ac.bind(g.Hd,this.ed,this,p);this.ac.bind(g.Yf,this.Ti,this,p);this.ac.bind(d.xf,this.Kf,this,p);this.ac.Fd(this.ae);this.SF();this.ac.mv(this.bB);this.ac.play(this.Aa,this.U,this.gf)};o.prototype.OX=function(){this.gf=this.ac.jj();this.ac.unbind(g.vj,this.tB,this,p);this.ac.unbind(g.Hd,this.ed,this,p);this.ac.unbind(g.Yf,this.Ti,this,p);this.ac.unbind(d.xf,this.Kf,this,
p);this.ac=r};o.prototype.clear=function(){this.ec(f.K);if(this.k){this.k.unbind(d.G("gain"),this.lI,this,p);this.k=r}};o.prototype.lI=function(){if(this.ac){var a=this.k.get("gain");if(this.U.gain!=a){this.U.gain=a;this.ac.CE(this.U.gain)}}};o.prototype.zC=function(){this.U=new j;var a=this.k.get("mp3Url"),b=this.k.get("oggUrl");this.U.src=a&&q.rba?a:b&&q.sba?b:a||b;this.U.jp=p;this.U.gain=this.k.get("gain")};o.prototype.Ti=function(){this.Hb=this.ac.kj();this.rV()};o.prototype.ed=function(){this.Hb!=
this.ac.kj()&&this.Ti();this.gf=this.ac.jj();this.bD()};o.prototype.Kf=function(){this.gm=this.ac.UD().map(function(a){for(var b=r,f=0;f<this.gm.length&&!b;f++)this.gm[f].cue==a&&(b=this.gm[f]);b||(b=new k(a));return b}.bind(this));this.trigger(new c(d.xf))};o.prototype.tB=function(){this.ec(f.K);this.sV()};o.prototype.kla=function(){return this.ac&&this.ac.jj()&&this.ac.jj()==this.ac.kj()};o.prototype.EU=function(){this.gf=0;this.bD()};o.prototype.bD=function(){this.trigger(new c(o.Hd))};o.prototype.rV=
function(){this.trigger(new c(o.Yf))};o.prototype.sV=function(){this.trigger(new c(d.Da))};o.prototype.uV=function(){this.trigger(new c(d.vc))};o.Hd="time update";o.Yf="duration update";return o});
define("jY","require,fb,kV,fZ,fp,iP,bY,dR,z".split(","),function(a){var b=a("fb"),c=a("kV"),e=a("fZ"),d=a("fp"),f=a("iP"),g=a("bY"),k=a("dR"),j=a("z"),a=b.extend(f,function(a){f.call(this);this.set("state",d.K);this.gC=a||e.Lea;this.Rk=m});k.A("Audio",a).B("Object").M({audio:"AudioResource",loop:"bool",state:"enum[stopped, playing, paused]"}).Qg({play:function(){this.fh()},pause:function(){this.pl()},stop:function(){this.jk()}}).Rb([c.Da,c.vc]);a.prototype.Mu=function(){if(this.Rk==m){var a=this.get("audio");
if(a){this.Rk=new j(this.get("application"),a,this.gC);a=function(){this.Rk.mv(this.get("loop",z))};a.call(this);this.bind(c.G("loop"),a,this);a=function(){this.Rk.Fd(this.get("application").get("mute",z))};a.call(this);this.get("application").bind(c.G("mute"),a,this,p);a=function(){this.set("state",this.Rk.Ge())};a.call(this);this.Rk.bind(c.vc,a,this,p);this.Rk.bind(c.Da,this.ama,this,p)}else this.Rk=r}return this.Rk};a.prototype.set=function(a,b){if(a=="state"){var e=this.get("state"),j=this.Rk?
this.Rk.Ge():d.K;j!=e&&this.trigger(new g(c.vc,{oldState:e,state:j}))}f.prototype.set.call(this,a,b)};a.prototype.ip=function(){return[]};a.prototype.ama=function(){this.trigger(new g(c.Da))};a.prototype.fh=function(){var a=this.Mu();a&&a.ec(d.S)};a.prototype.jk=function(){var a=this.Mu();a&&a.ec(d.K)};a.prototype.pl=function(){var a=this.Mu();a&&a.ec(d.uc)};return a});
define("gH",["fb","dR","jY"],function(a,b,c){a=a.extend(c,function(a){c.call(this,a)});b.A("MediaAudio",a).B("Audio").M({autoplay:"bool"});return a});define("ln","require,fb,fZ,dR,gH,z".split(","),function(a){var b=a("fb"),c=a("fZ"),e=a("dR"),d=a("gH");a("z");a=b.extend(d,function(){d.call(this,c.uea)});e.A("PanoramaAudio",a).B("MediaAudio");return a});
define("fw",["fb","ln","dR"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("DirectionalPanoramaAudio",a).B("PanoramaAudio").M({yaw:"number",pitch:"number",maximumAngle:"number"});return a});define("gc",["require","fb","iP","dR"],function(a){var b=a("fb"),c=a("iP"),a=a("dR"),b=b.extend(c,function(){c.call(this)});a.A("DistancePanoramaCameraMovement",b).B("DistanceRotationalCameraMovement");return b});
define("fj",["require","fb","iP","dR"],function(a){var b=a("fb"),c=a("iP"),a=a("dR"),b=b.extend(c,function(){c.call(this)});a.A("DistanceRotationalCameraMovement",b).B("RotationalCameraMovement").M({hfovDelta:"number",pitchDelta:"number",yawDelta:"number"});return b});
define("u","require,dl,kV,fb,bY,eJ".split(","),function(a){function b(a,b,c,d,n){this.Mi=r;this.IS=a;this.Xd=e.G(this.IS);this.pR=b;this.ia=c||window;this.NR=d;this.j5=n;this.WR=z}var c=a("dl"),e=a("kV"),d=a("fb");a("bY");a("eJ");b.prototype.unwatch=function(){this.fU(r)};b.prototype.fU=function(a){c(this.H3()).each(function(a){a&&a.unbind(this.Xd,this.G1,this)},this);this.Mi=a;c(this.H3()).each(function(a){a&&a.bind(this.Xd,this.G1,this,this.NR)},this);this.R7()};b.prototype.H3=function(){return this.Mi?
c(this.Mi).isArray()?this.Mi:[this.Mi]:[]};b.prototype.R7=function(){this.j5&&this.j5.fU(this.Mja())};b.prototype.Mja=function(){return this.Mi==r?r:c(this.Mi).isArray()?c(this.Mi).map(function(a){return a?a.get(this.IS):r},this):this.Mi.get(this.IS)};b.prototype.G1=function(a){if(!this.WR){try{this.WR=p;this.R7();this.pR.call(this.ia,a)}catch(b){d.OL("ChangeWatcher._changeHandler",b)}this.WR=z}};b.watch=function(a,d,e,j,n){c.isString(d)&&(d=d.split("."));typeof n=="undefined"&&(n=z);if(d.length>
0){d=new b(d[0],e,j,n,b.watch(r,d.slice(1),e,j,n));d.fU(a);return d}return r};return b});
define("lk",["jquery.mod","fb","kV","d"],function(a,b,c,e){var d=b.extend(e,function(){e.call(this);this.Tc("DropDownArrow");this.t=r;this.Pn=p;this.bind(c.vb,this.Gia,this)});d.prototype.xa=function(){e.prototype.xa.call(this);this.f("color","#000000");this.f("direction",d.QM)};d.prototype.Gia=function(){this.Pn=p;this.yc()};d.prototype.Ha=function(){e.prototype.Ha.call(this);this.t||(this.t=a("<canvas/>"),this.t.css({position:"absolute",left:0,top:0}),this.Pa().append(this.t))};d.prototype.ga=function(){var a=
z;this.n("color")&&(a=p,this.p("color"));this.n("direction")&&(a=p,this.p("direction"));this.Pn&&(a=p,this.Pn=z);if(a){var a=this.Dd(),b=this.Cd(),c=this.j("color"),j=this.j("direction"),n=[0.5*a,0,a],j=j==d.QM?[b,0,0]:[0,b,b],i=this.t.get(0);i.width=a;i.height=b;i=i.getContext("2d");i.clearRect(0,0,a,b);i.beginPath();i.moveTo(n[0],j[0]);i.lineTo(n[1],j[1]);i.lineTo(n[2],j[2]);i.fillStyle=c;i.fill()}e.prototype.ga.call(this)};d.QM="down";d.vya="up";return d});
define("fL","fb,bY,jJ,R,kV,c,fh,kC,lk,gJ".split(","),function(a,b,c,e,d,f,g,k,j,n){a=a.extend(k,function(){k.call(this);this.Tc("DropDownButton");this.Sp=this.oa=r;this.kS=p;this.set("autoRolledOver",p);this.set("autoPressed",p);this.set("childrenInteractionEnabled",z);this.set("contentOpaque",p);this.set("cursor",e.he);this.bind(d.T,this.sQ,this)});a.prototype.xa=function(){k.prototype.xa.call(this);this.f("arrowColor","#000000");this.f("arrowBeforeLabel");this.f("arrowWidth",9);this.f("arrowHeight",
5);this.f("arrowGap",5);this.f("shadow",z);this.f("layout",f.ue);this.f("verticalAlign",c.nc);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",g.v,"borderColor");this.h("rollOverArrowColor",g.v,"arrowColor");this.h("rollOverBackgroundColor",g.v,"backgroundColor");this.h("rollOverBackgroundColorRatios",g.v,"backgroundColorRatios");this.h("rollOverShadow",g.v,"shadow");this.h("pressedBorderColor",g.ya,"borderColor");this.h("pressedArrowColor",
g.ya,"arrowColor");this.h("pressedBackgroundColor",g.ya,"backgroundColor");this.h("pressedBackgroundColorRatios",g.ya,"backgroundColorRatios");this.h("pressedShadow",g.ya,"shadow");this.h("pressedRollOverBorderColor",g.Wa,"borderColor");this.h("pressedRollOverArrowColor",g.Wa,"arrowColor");this.h("pressedRollOverBackgroundColor",g.Wa,"backgroundColor");this.h("pressedRollOverBackgroundColorRatios",g.Wa,"backgroundColorRatios");this.h("pressedRollOverShadow",g.Wa,"shadow");this.h("pressedBorderColor",
g.F,"borderColor");this.h("pressedArrowColor",g.F,"arrowColor");this.h("pressedBackgroundColor",g.F,"backgroundColor");this.h("pressedBackgroundColorRatios",g.F,"backgroundColorRatios");this.h("pressedShadow",g.F,"shadow")};a.prototype.set=function(a,b){if(a=="label"&&this.get("label")!=b){this.kS=p;this.yc()}k.prototype.set.call(this,a,b)};a.prototype.Ha=function(){k.prototype.Ha.call(this);if(!this.oa){this.oa=new n;this.oa.set("width","100%");this.la(this.oa)}if(!this.Sp){this.Sp=new j;this.Sp.set("direction",
j.QM);this.la(this.Sp)}};a.prototype.sQ=function(){this.open();this.trigger(new b(d.OPEN))};a.prototype.open=function(){this.unbind(d.T,this.sQ,this);this.wC(p)};a.prototype.close=function(){this.bind(d.T,this.sQ,this);this.wC(z)};a.prototype.ga=function(){if(this.kS){this.oa.set("text",this.get("label"));this.kS=z}this.cb(["horizontalAlign","fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius",
"textShadowOpacity"],{},[this.oa],p,p);if(this.n("arrowGap")){this.set("gap",this.j("arrowGap"));this.p("arrowGap")}if(this.n("arrowColor")){this.Sp.set("color",this.j("arrowColor"));this.p("arrowColor")}if(this.n("arrowBeforeLabel")){this.j("arrowBeforeLabel")==p?this.oj(this.Sp,0):this.oj(this.oa,0);this.p("arrowBeforeLabel")}if(this.n("arrowWidth")){this.Sp.set("width",this.j("arrowWidth"));this.p("arrowWidth")}if(this.n("arrowHeight")){this.Sp.set("height",this.j("arrowHeight"));this.p("arrowHeight")}k.prototype.ga.call(this)};
return a});define("fB",["dl","fb","kC","c"],function(a,b,c,e){var d=b.extend(c,function(){c.call(this)});d.ib={layout:e.df};a.defaults(d.ib,c.ib);d.prototype.xa=function(){this.Lj(d.ib)};return d});
define("iC","require,fb,bY,jJ,R,fQ,kV,kC,fB,gJ".split(","),function(a){var b=a("fb"),c=a("bY"),e=a("jJ"),d=a("R"),f=a("fQ"),g=a("kV"),k=a("kC"),j=a("fB"),n=a("gJ"),a=b.extend(k,function(){k.call(this);this.Tc("DropDownPopup");this.qc=r;this.ZF=z;this.Ma=r;this.VA=[];this.vr=p});a.prototype.open=function(a){this.qc=a;this.ZF=p;this.Sa().oj(this,this.Sa().Na().length-1);this.set("overIndex",-1);this.set("visible",p);this.bind(g.ub,this.hc,this);this.Sa().bind(g.Xb,this.b5,this);this.Sa().bind(g.vb,
this.lb,this)};a.prototype.close=function(){this.qc=r;this.ZF=p;this.set("visible",z);this.Ma.set("overflow",f.Cs);this.Ma.set("contentOpaque",p);this.unbind(g.ub,this.hc,this);this.Sa().unbind(g.Xb,this.b5,this);this.Sa().bind(g.vb,this.lb,this)};a.prototype.Ha=function(){k.prototype.Ha.call(this);if(!this.Ma){this.Ma=new j;this.Ma.set("overflow",f.Cs);this.Ma.bind(g.vb,this.lb,this);this.Ma.bind(g.cm,this.pr,this);this.la(this.Ma)}};a.prototype.lb=function(){this.e$()};a.prototype.hc=function(){this.lU=
z};a.prototype.pr=function(){this.lU=p};a.prototype.b5=function(){this.get("overIndex")==-1&&(!this.lU||!this.Rj)&&this.trigger(new c(g.gs));this.lU=z};a.prototype.qma=function(a){this.set("overIndex",this.bR(a.source))};a.prototype.rma=function(a){a=this.bR(a.source);this.get("overIndex")==a&&this.set("overIndex",-1)};a.prototype.pma=function(a){a=this.bR(a.source);this.set("overIndex",a);this.set("selectedIndex",a);this.trigger(new c(g.zi))};a.prototype.bR=function(a){for(var b=0;b<this.VA.length;b++)if(this.VA[b]==
a)return b;return-1};a.prototype.xa=function(){k.prototype.xa.call(this);this.f("visible",z);this.f("width","100%");this.f("height","100%");this.f("includeInLayout",z);this.f("items",[]);this.f("selectedIndex",-1);this.f("overIndex",-1);this.f("popUpGap",0);this.f("popUpBackgroundColor");this.f("popUpBackgroundOpacity");this.f("rollOverPopUpBackgroundColor");this.f("selectedPopUpBackgroundColor");this.f("popUpFontColor");this.f("rollOverPopUpFontColor");this.f("selectedPopUpFontColor");this.f("popUpShadow",
p);this.f("popUpShadowBlurRadius");this.f("popUpShadowColor");this.f("popUpShadowHorizontalLength");this.f("popUpShadowOpacity");this.f("popUpShadowSpread");this.f("popUpShadowVerticalLength");this.f("fontFamily");this.f("fontSize");this.f("fontWeight");this.f("fontStyle");this.f("textDecoration");this.f("textShadowColor");this.f("textShadowHorizontalLength");this.f("textShadowVerticalLength");this.f("textShadowBlurRadius");this.f("textShadowOpacity");this.f("buttonWidth")};a.prototype.ga=function(){var a=
z,b=z;if(this.n("items")){for(var a=this.j("items")||[],f=this.VA.length;f<a.length;f++){var c=new n;c.N({width:"100%",paddingLeft:5,paddingRight:5,paddingBottom:2,paddingTop:2,cursor:d.he});c.bind(g.yh,this.qma,this);c.bind(g.Le,this.rma,this);c.bind(g.T,this.pma,this);this.VA.push(c)}c=this.Ma.Na();for(f=a.length;f<c.length;f++)this.Ma.removeChild(c[f]);for(f=c.length;f<a.length;f++)this.Ma.la(this.VA[f]);for(f=0;f<a.length;f++)c[f].set("text",a[f]);this.p("items");b=a=p}if(this.n("selectedIndex")){this.p("selectedIndex");
a=p}for(var e=["horizontalAlign","popUpBackgroundOpacity","popUpPaddingBottom","popUpPaddingLeft","popUpPaddingRight","popUpPaddingTop","fontFamily","fontSize","fontWeight","fontStyle","textDecoration","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"],f=0;f<e.length;f++){c=e[f];if(this.n(c)){this.p(c);b=p}}if(b){e={fontFamily:this.j("fontFamily"),fontSize:this.j("fontSize"),fontWeight:this.j("fontWeight"),fontStyle:this.j("fontStyle"),
horizontalAlign:this.j("horizontalAlign"),textDecoration:this.j("textDecoration"),textShadowColor:this.j("textShadowColor"),textShadowHorizontalLength:this.j("textShadowHorizontalLength"),textShadowVerticalLength:this.j("textShadowVerticalLength"),textShadowBlurRadius:this.j("textShadowBlurRadius"),textShadowOpacity:this.j("textShadowOpacity"),paddingBottom:this.j("popUpPaddingBottom"),paddingLeft:this.j("popUpPaddingLeft"),paddingRight:this.j("popUpPaddingRight"),paddingTop:this.j("popUpPaddingTop"),
backgroundOpacity:this.j("popUpBackgroundOpacity")};c=this.Ma.Na();for(f=0;f<c.length;f++)c[f].N(e)}e=["selectedIndex","overIndex","popUpBackgroundColor","rollOverPopUpBackgroundColor","selectedPopUpBackgroundColor","popUpFontColor","rollOverPopUpFontColor","selectedPopUpFontColor"];for(f=0;f<e.length;f++){c=e[f];if(this.n(c)){this.p(c);a=p}}if(a)for(var a=this.j("popUpBackgroundColor"),e=this.j("rollOverPopUpBackgroundColor")||a,b=this.j("selectedPopUpBackgroundColor")||a,j=this.j("popUpFontColor"),
u=this.j("rollOverPopUpFontColor")||j,v=this.j("selectedPopUpFontColor")||j,w=this.j("selectedIndex"),x=this.j("overIndex"),c=this.Ma.Na(),f=0;f<c.length;f++)f==w?c[f].N({fontColor:v,backgroundColor:b}):f==x?c[f].N({fontColor:u,backgroundColor:e}):c[f].N({fontColor:j,backgroundColor:a});if(this.ZF||this.n("popUpGap")||this.n("buttonWidth")){this.qc&&this.Ma.set("minWidth",this.qc.Ba());this.p("popUpGap");this.e$();this.ZF=z}this.cb(["popUpShadow","popUpShadowBlurRadius","popUpShadowColor","popUpShadowHorizontalLength",
"popUpShadowOpacity","popUpShadowSpread","popUpShadowVerticalLength"],{popUpShadow:"shadow",popUpShadowBlurRadius:"shadowBlurRadius",popUpShadowColor:"shadowColor",popUpShadowHorizontalLength:"shadowHorizontalLength",popUpShadowOpacity:"shadowOpacity",popUpShadowSpread:"shadowSpread",popUpShadowVerticalLength:"shadowVerticalLength"},[this.Ma],p,p);this.S9();k.prototype.ga.call(this)};a.prototype.e$=function(){if(this.qc){var a=this.Sa(),b=this.qc.fua(a),c=this.qc.Ba(),d=this.qc.eb(),g=this.j("popUpGap"),
j=this.Ma.Ka,k=this.Ma.Ua,n=a.eb()-(b.top+d+g)-5,w=b.top-5-g,x=this.j("horizontalAlign");if(k<=n){this.vr=p;this.Ma.set("top",b.top+d+g);this.Ma.set("maxHeight",m);this.Ma.set("overflow",f.Cs)}else if(k<=w){this.vr=z;this.Ma.set("top",b.top-k-g);this.Ma.set("maxHeight",m);this.Ma.set("overflow",f.Cs)}else{if(n>=w){this.vr=p;this.Ma.set("top",b.top+d+g);this.Ma.set("maxHeight",n)}else{this.vr=z;this.Ma.set("top",b.top-w+g);this.Ma.set("maxHeight",w)}this.Ma.set("overflow",f.cm)}d=x==e.Gc?b.left+Math.round((c-
j)*0.5):x==e.Ja?b.left+c-j:b.left;d<0?d=b.left:b.left+j>a.Ba()&&(d=b.left+c-j);this.Ma.set("left",d);this.S9()}};a.prototype.S9=function(){var a=this.j("popUpBorderRadius");this.Ma.N({borderTopRadius:this.vr?0:a,borderBottomRadius:this.vr?a:0});for(var b=this.Ma.Na(),f=0;f<b.length;f++){var c=f==0,d=f==b.length-1;b[f].N({borderTopRadius:!this.vr&&c?a:0,borderBottomRadius:this.vr&&d?a:0})}};return a});
define("lf","require,fb,bY,kV,kC,fL,iC".split(","),function(a){var b=a("fb"),c=a("bY"),e=a("kV"),d=a("kC"),f=a("fL"),g=a("iC"),a=b.extend(d,function(){d.call(this);this.Tc("DropDown");this.NA=z;this.qc=this.Fg=r;this.Q8=p;this.qd=-1;this.lk=z});a.prototype.xa=function(){d.prototype.xa.call(this);this.f("prompt","");this.f("label","");this.f("items",[]);this.f("selectedIndex",-1);this.f("arrowBeforeLabel");this.f("arrowWidth",9);this.f("arrowHeight",5);this.f("arrowGap",5);this.f("borderRadius",5);
this.f("borderSize",1);this.f("backgroundColorDirection","vertical");this.f("horizontalAlign","left");this.f("paddingLeft",5);this.f("paddingTop",5);this.f("paddingRight",5);this.f("paddingBottom",5);this.f("fontFamily");this.f("fontSize");this.f("fontColor","#555555");this.f("fontWeight");this.f("fontStyle");this.f("textDecoration");this.f("textShadowColor");this.f("textShadowHorizontalLength");this.f("textShadowVerticalLength");this.f("textShadowBlurRadius");this.f("textShadowOpacity");this.f("popUpGap",
0);this.f("popUpBorderRadius");this.f("popUpPaddingBottom",2);this.f("popUpPaddingLeft",5);this.f("popUpPaddingRight",5);this.f("popUpPaddingTop",2);this.f("popUpShadow",p);this.f("popUpShadowBlurRadius");this.f("popUpShadowColor");this.f("popUpShadowHorizontalLength");this.f("popUpShadowOpacity");this.f("popUpShadowSpread");this.f("popUpShadowVerticalLength");this.f("popUpBackgroundColor","#FFFFFF");this.f("popUpBackgroundOpacity");this.f("rollOverPopUpBackgroundColor");this.f("selectedPopUpBackgroundColor");
this.f("popUpFontColor","#555555");this.f("rollOverPopUpFontColor");this.f("selectedPopUpFontColor");this.f("borderColor","#AAAAAA");this.f("arrowColor","#000000");this.f("backgroundColor",["#FAFAFA","#E5E5E5"]);this.f("backgroundColorRatios",[0,1]);this.f("shadow",z);this.f("rollOverBorderColor");this.f("rollOverArrowColor");this.f("rollOverBackgroundColor");this.f("rollOverBackgroundColorRatios");this.f("rollOverShadow");this.f("pressedBorderColor");this.f("pressedArrowColor");this.f("pressedBackgroundColor");
this.f("pressedBackgroundColorRatios");this.f("pressedShadow");this.f("pressedRollOverBorderColor");this.f("pressedRollOverArrowColor");this.f("pressedRollOverBackgroundColor");this.f("pressedRollOverBackgroundColorRatios");this.f("pressedRollOverShadow")};a.prototype.Ha=function(){d.prototype.Ha.call(this);if(!this.qc){this.qc=new f;this.qc.bind(e.vb,this.fma,this);this.qc.bind(e.OPEN,this.Ama,this);this.qc.bind(e.gs,this.NS,this);this.qc.bind(e.wd,this.ema,this);this.qc.set("width","100%");this.qc.set("height",
"100%");this.la(this.qc)}if(!this.Fg){this.Fg=new g;this.Fg.bind(e.gs,this.NS,this);this.Fg.bind(e.zi,this.Qma,this);this.Sa().la(this.Fg)}};a.prototype.fma=function(){this.Q8=p;this.yc()};a.prototype.Ama=function(){this.qc.open();this.Fg.set("selectedIndex",this.get("selectedIndex"));this.Fg.open(this.qc)};a.prototype.NS=function(){this.qc.close();this.Fg.close()};a.prototype.ema=function(){this.qc.close();this.Fg.close()};a.prototype.Qma=function(){this.set("selectedIndex",this.Fg.get("selectedIndex"));
this.NS();this.lk=p};a.prototype.ga=function(){var a=z;if(this.n("prompt")||this.n("label")){a=p;this.p("label");this.p("prompt")}if(this.n("selectedIndex")||this.n("items")){var a=p,b=this.j("selectedIndex"),f=this.j("items");b>=0&&b>=f.length&&(b=-1);this.set("selectedIndex",b);this.Fg.set("items",this.j("items"));this.Fg.set("selectedIndex",this.j("selectedIndex"));this.p("items");this.p("selectedIndex");if(this.lk){this.lk=z;this.trigger(new c(e.aa))}}if(a){a=this.j("label");if(!a){b=this.j("selectedIndex");
a=b<0?this.j("prompt"):this.j("items")[b]}this.qc.set("label",a)}if(this.Q8){this.Fg.set("minWidth",this.qc.Ba());this.Fg.set("buttonWidth",this.qc.Ba())}this.cb(["fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration","horizontalAlign","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"],{},[this.qc,this.Fg],p,p);this.cb(["popUpBorderRadius","popUpGap","popUpPaddingBottom","popUpPaddingLeft","popUpPaddingRight",
"popUpPaddingTop","popUpBackgroundColor","popUpBackgroundOpacity","rollOverPopUpBackgroundColor","selectedPopUpBackgroundColor","popUpFontColor","rollOverPopUpFontColor","selectedPopUpFontColor","popUpShadow","popUpShadowBlurRadius","popUpShadowColor","popUpShadowHorizontalLength","popUpShadowOpacity","popUpShadowSpread","popUpShadowVerticalLength"],{},[this.Fg],p,p);this.cb(["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.qc],p,p);d.prototype.ga.call(this)};return a});
define("en","require,fb,u,kV,lf,dR,dl".split(","),function(a){var b=a("fb"),c=a("u"),e=a("kV"),d=a("lf"),f=a("dR"),g=a("dl"),a=b.extend(d,function(){d.call(this);this.Ob=r;this.H4=[];this.bind(e.aa,this.ima,this)});f.A("DropDown",a).B("UIComponent").M({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"}).zp(["fontSize"]).Rb([e.aa]);a.prototype.set=function(a,b){if(a=="playList"){if(this.Ob)for(this.Ob.unbind("change",this.yo,this);this.H4.length;)this.H4.shift().unwatch();
if(this.Ob=b){c.watch(this.Ob,"items.label",this.oK,this);c.watch(this.Ob,"items.media.label",this.oK,this);this.oK();this.Ob.bind("change",this.yo,this);this.yo()}else this.oK()}d.prototype.set.call(this,a,b)};a.prototype.oK=function(){this.Ob?this.set("items",g(this.Ob.get("items")).map(function(a){return a.get("label")||a.get("media")&&a.get("media").get("label")})):this.set("items",[])};a.prototype.yo=function(){this.set("selectedIndex",this.Ob.get("selectedIndex"))};a.prototype.ima=function(){this.Ob&&
this.Ob.set("selectedIndex",this.get("selectedIndex"))};return a});
define("dv","fb,iP,kV,bY,V,kH,bq".split(","),function(a,b,c,e,d,f,g){var k={},j=a.extend(b,function(){b.call(this);this.Hb=m;this.Cl=[];this.m="stopped";this.set("easing","linear");this.set("duration",1E3);this.set("loop",z);this.set("animationDirection","normal")});j.prototype.play=function(a){a||(a=k);if(!this.Fy(a))if(this.m=="stopped"||this.Cl.indexOf(a)<0){this.m="playing";this.Cl.push(a);this.ke=0;this.Hb=Math.max(this.get("duration",1E3),1);this.xe=new f(this.get("easing","linear"),[new g("pos",
0,1)],this.Hb);this.xe.setTime(this.ke);this.Kx();this.Ko();this.bC()}else this.m="playing"};j.prototype.reverse=function(a){a||(a=k);if(!this.$ua(a))if(this.m=="stopped"||this.Cl.indexOf(a)<0){this.m="playingReverse";this.Cl.push(a);this.ke=this.Hb=Math.max(this.get("duration",1E3),0);this.xe=new f(this.get("easing","linear"),[new g("pos",0,1)],this.Hb);this.xe.setTime(this.ke);this.Kx();this.Ko();this.bC()}else this.m="playingReverse"};j.prototype.stop=function(){this.m="stopped";if(this.ke!==0){this.ke=
0;this.Ko();this.bC()}};j.prototype.end=function(){if(this.m!="stopped"){this.ke=this.Hb;this.Ko();this.bC()}};j.prototype.Fy=function(a){return this.m=="playing"&&this.Cl.indexOf(a)>=0};j.prototype.$ua=function(a){return this.m=="playingReverse"&&this.Cl.indexOf(a)>=0};j.prototype.Dg=function(a){if(this.m!="stopped"){this.ke=this.m=="playing"?Math.min(this.Hb,this.ke+a):Math.max(0,this.ke-a);this.xe.setTime(this.ke);this.Ko();this.bC()}};j.prototype.Pr=function(){return this.xe&&this.xe.tb("pos")||
0};j.prototype.qq=function(a){if(this.Cl)for(var b=0;b<this.Cl.length;b++)a.call(this,this.Cl[b],b)};j.prototype.Kx=function(){this.trigger(new e(j.EZ))};j.prototype.Ko=function(){this.trigger(new e(j.zZ))};j.prototype.Ix=function(){this.trigger(new e(j.vj))};j.prototype.Jx=function(){this.trigger(new e(j.Bv))};j.prototype.bC=function(){if(this.m=="playingReverse"&&this.ke<=0){this.Jx();this.Cl=[];if(this.m!="stopped"){this.stop();this.get("loop")&&this.play()}}else if(this.m=="playing"&&this.ke>=
this.Hb){this.Ix();this.Cl=[];if(this.m!="stopped"){this.stop();this.get("animationDirection")=="alternate"?this.reverse():this.get("loop")&&this.play()}}else this.m!="stopped"&&d.La(this.Dg,this)};j.EZ="start";j.zZ="frame";j.vj="end";j.Bv="reverseEnd";return j});
define("bm",["require","fb","dR","dv"],function(a){var b=a("fb"),c=a("dR"),e=a("dv"),a=b.extend(e,function(){e.call(this)});c.A("Effect",a).B("Object").M({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]",animationDirection:"enum[normal, alternate]",loop:"bool"}).Xf([e.EZ,e.zZ,e.vj,e.Bv]).Qg({play:function(){return e.prototype.play.apply(this,arguments)},reverse:function(){return e.prototype.reverse.apply(this,
arguments)},getPosition:function(){return e.prototype.Pr.apply(this,arguments)}});return a});
define("bb",["fb","dv"],function(a,b){var c=a.extend(b,function(){b.call(this);this.wO=this.vO=r});c.prototype.Kx=function(){b.prototype.Kx.call(this);this.vO=[];this.wO=[];this.qq(function(a){this.vO.push(this.get("alphaFrom",a.qh()));this.wO.push(this.get("alphaTo",a.qh()))});this.lJ()};c.prototype.Ko=function(){b.prototype.Ko.call(this);this.lJ()};c.prototype.lJ=function(){this.qq(function(a,b){var f=this.vO[b],f=f+(this.wO[b]-f)*this.Pr(),c=0<a.qh()&&a.Dc;!c&&0<f?(a.qj(0),a.Ze(p),a.qj(f)):0==
f?(a.Ze(z),a.qj(1)):a.qj(f)})};c.prototype.Ix=function(){this.lJ();b.prototype.Ix.call(this)};c.prototype.Jx=function(){this.lJ();b.prototype.Jx.call(this)};return c});define("kd",["fb","bb"],function(a,b){return a.extend(b,function(){b.call(this);this.set("alphaFrom",0);this.set("alphaTo",1)})});define("kn",["fb","kd","dR"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("FadeInEffect",a).B("Effect");return a});
define("kq",["fb","bb"],function(a,b){return a.extend(b,function(){b.call(this);this.set("alphaFrom",1);this.set("alphaTo",0)})});define("hl",["fb","kq","dR"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("FadeOutEffect",a).B("Effect");return a});
define("ci","require,fb,iP,kV,dR,dv".split(","),function(a){var b=a("fb"),c=a("iP"),e=a("kV"),d=a("dR"),f=a("dv"),a=b.extend(c,function(){c.call(this);this.set("enabled",p);this.set("interactionEnabled",p);this.set("enabledInCardboard",z);this.set("enabledInStandard",p);this.set("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.bind(e.ld,
this.bh,this,p);this.bind(e.wd,this.ah,this,p);this.Af=[];this.Dc=z});d.A("HotspotPanoramaOverlay",a).B("PanoramaOverlay").M({centerOverDisplay:"bool",rollOverDisplay:"bool",useHandCursor:"bool",enabled:"bool",enabledInSurfaceSelection:"bool",enabledInCardboard:"bool",enabledInVR:"bool",enabledInStandard:"bool",fadeInDuration:"number",fadeOutDuration:"number",interactionEnabled:"bool",effect:"Effect",rollOverEffect:"Effect",items:"array[or[FlatHotspotPanoramaOverlayImage, HotspotPanoramaOverlayImage, QuadHotspotPanoramaOverlayImage]]",
rollOverItems:"array[or[FlatHotspotPanoramaOverlayImage, HotspotPanoramaOverlayImage, QuadHotspotPanoramaOverlayImage]]",maps:"array[or[FlatHotspotPanoramaOverlayMap, HotspotPanoramaOverlayMap, QuadHotspotPanoramaOverlayMap]]",rollOverMaps:"array[or[FlatHotspotPanoramaOverlayMap, HotspotPanoramaOverlayMap, QuadHotspotPanoramaOverlayMap]]",areas:"array[or[FlatHotspotPanoramaOverlayArea, HotspotPanoramaOverlayArea, QuadHotspotPanoramaOverlayArea]]"});a.prototype.set=function(a,b){switch(a){case "enabledInCardboard":this.set("enabledInVR",
b);break;case "effect":case "rollOverEffect":case "areas":this.$na();this.Af=[]}c.prototype.set.call(this,a,b);switch(a){case "enabledInCardboard":this.set("enabledInVR",b);break;case "effect":case "rollOverEffect":case "areas":this.rfa()}};a.prototype.rfa=function(){this.get("effect")&&this.get("effect").bind(f.Bv,this.H5,this,p);this.get("rollOverEffect")&&this.get("rollOverEffect").bind(f.Bv,this.y6,this,p);this.get("areas",[]).forEach(function(a){a.bind(e.pc,this.x5,this,p);a.bind(e.Mb,this.w5,
this,p)}.bind(this))};a.prototype.$na=function(){this.get("effect")&&this.get("effect").unbind(f.Bv,this.H5,this,p);this.get("rollOverEffect")&&this.get("rollOverEffect").unbind(f.Bv,this.y6,this,p);this.get("areas",[]).forEach(function(a){a.unbind(e.pc,this.x5,this,p);a.unbind(e.Mb,this.w5,this,p)}.bind(this))};a.prototype.x5=function(a){if(this.Af.indexOf(a.source)<0){this.Af.push(a.source);this.Af.length==1&&this.Oma()}};a.prototype.w5=function(a){a=this.Af.indexOf(a.source);if(a>=0){this.Af.splice(a,
1);this.Af.length==0&&this.Nma()}};a.prototype.Oma=function(){var a=this.get("effect"),b=this.get("rollOverEffect");b&&(a&&a.Pr()>0?a.reverse():b.play())};a.prototype.Nma=function(){var a=this.get("rollOverEffect");if(a){var b=this.get("effect");a.Pr()>0?a.reverse():b&&b.get("loop")&&b.play()}};a.prototype.H5=function(){if(this.Af.length>0){var a=this.get("rollOverEffect");if(a){this.get("effect").stop();a.play()}}};a.prototype.y6=function(){if(this.Af.length==0){this.get("rollOverEffect").stop();
var a=this.get("effect");a&&a.get("loop")&&a.play()}};a.prototype.bh=function(){var a=this.get("effect");a&&a.play()};a.prototype.ah=function(){var a=this.get("effect");a&&a.stop();(a=this.get("rollOverEffect"))&&a.stop()};return a});define("js",["require","fb","dR","ci"],function(a){var b=a("fb"),c=a("dR"),e=a("ci"),a=b.extend(e,function(){e.call(this)});c.A("FlatHotspotPanoramaOverlay",a).B("HotspotPanoramaOverlay");return a});
define("q",["fb","iP","dR","kV"],function(a,b,c,e){a=a.extend(b,function(){b.call(this);this.set("displayTooltipInTouchScreens",p)});c.A("HotspotPanoramaOverlayArea",a).B("Object").M({mapColor:"or[color,enum[image,transparent,any]]",toolTip:"string",displayTooltipInTouchScreens:"bool",useHandCursor:"bool"}).Rb([e.pc,e.Mb,e.yh,e.Le]).Xf([e.T]);return a});define("ei",["dR","q"],function(a,b){a.A("FlatHotspotPanoramaOverlayArea",b).B("HotspotPanoramaOverlayArea");return b});
define("bc",["require","fb","iP","dR"],function(a){var b=a("fb"),c=a("iP"),a=a("dR"),b=b.extend(c,function(a,b,f){c.call(this);a!==m&&this.set("vertices",a);this.set("opacity",b!==m?b:1);f!==m&&this.set("timestamp",f)});a.A("QuadPanoramaOverlayPlaybackPosition",b).B("Object").M({opacity:"number",timestamp:"number",vertices:"array[PanoramaPoint]"});return b});
define("gt",["require","fb","iP","dR"],function(a){var b=a("fb"),c=a("iP"),a=a("dR"),b=b.extend(c,function(a,b,f,g,k){c.call(this);a!==m&&this.set("yaw",a);b!==m&&this.set("pitch",b);f!==m&&this.set("roll",f);this.set("opacity",g!==m?g:1);k!==m&&this.set("timestamp",k)});a.A("FlatPanoramaOverlayPlaybackPosition",b).B("Object").M({opacity:"number",pitch:"number",roll:"number",timestamp:"number",yaw:"number"});return b});
define("eI",["require","fb","iP","dR"],function(a){var b=a("fb"),c=a("iP"),a=a("dR"),b=b.extend(c,function(a,b,f,g,k,j,n,i,l){c.call(this);a!==m&&this.set("yaw",a);b!==m&&this.set("pitch",b);f!==m&&this.set("rotationX",f);g!==m&&this.set("rotationY",g);k!==m&&this.set("roll",k);j!==m&&this.set("hfov",j);n!==m&&this.set("vfov",n);this.set("opacity",i!==m?i:1);l!==m&&this.set("timestamp",l)});a.A("PanoramaOverlayPlaybackPosition",b).B("Object").M({opacity:"number",yaw:"number",pitch:"number",rotationX:"number",
rotationY:"number",roll:"number",hfov:"number",vfov:"number",timestamp:"number"});return b});define("cb",["require","fb","iP","dR"],function(a){var b=a("fb"),c=a("iP"),a=a("dR"),b=b.extend(c,function(a,b){c.call(this);this.set("yaw",a);this.set("pitch",b)});a.A("PanoramaPoint",b).B("Object").M({pitch:"number",yaw:"number"});return b});
define("L",["require","fb","iP","dR"],function(a){var b=a("fb"),c=a("iP"),a=a("dR"),b=b.extend(c,function(a,b,f,g,k,j,n){c.call(this);a!==m&&this.set("yaw",a);b!==m&&this.set("pitch",b);f!==m&&this.set("rotationX",f);g!==m&&this.set("rotationY",g);k!==m&&this.set("rotationZ",k);j!==m&&this.set("hfov",j);n!==m&&this.set("timestamp",n)});a.A("PopupPanoramaOverlayPlaybackPosition",b).B("Object").M({yaw:"number",pitch:"number",rotationX:"number",rotationY:"number",rotationZ:"number",hfov:"number",timestamp:"number"});
return b});
define("hL","require,iP,bc,gt,eI,cb,L".split(","),function(a){var b=a("iP"),c=a("bc"),e=a("gt"),d=a("eI"),f=a("cb"),g=a("L");return{Lta:function(a){return this.hH(a,this.Zia)},rX:function(a){return this.hH(a,this.yna)},cua:function(a){return this.hH(a,this.Fna)},tX:function(a){return this.hH(a,this.Nna)},Zia:function(a){return new e(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)},Nna:function(a){var d=b.prototype.get.call(a,
"vertices",[r,r,r,r]);return new c([d[0]||new f(0,0),d[1]||new f(0,0),d[2]||new f(0,0),d[3]||new f(0,0)],b.prototype.get.call(a,"opacity",1),0)},yna:function(a){function f(c,d){return b.prototype.get.call(a,c,d)}return new d(f("yaw",0),f("pitch",0),f("rotationX",0),f("rotationY",0),f("roll",0),f("hfov",f("vfov")===m?45:m),f("vfov"),f("opacity",1),0)},Fna:function(a){function f(c,d){return b.prototype.get.call(a,c,d)}return new g(f("yaw",0),f("pitch",0),f("rotationX",0),f("rotationY",0),f("rotationZ",
0),f("hfov",45),0)},hH:function(a,f){var c=b.prototype.get.call(a,"playbackPositions")||[];return c.length>0?c.slice().sort(function(a,b){return a.get("timestamp")-b.get("timestamp")||c.indexOf(a)-c.indexOf(b)}):[f(a)]}}});
define("gS","require,fb,iP,kV,dR,hL".split(","),function(a){var b=a("fb"),c=a("iP"),e=a("kV"),d=a("dR"),f=a("hL"),a=b.extend(c,function(){c.call(this);this.set("opacity",1);this.set("scale",1);this.Ib=m});d.A("FlatHotspotPanoramaOverlayImageBase",a).B("Object").M({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"}).Rb([e.ld,e.wd]);a.prototype.get=function(a,b){switch(a){case "playbackPositions":if(this.Ib===m)this.Ib=f.Lta(this);return this.Ib}return c.prototype.get.call(this,a,b)};a.prototype.set=function(a,b){var f=z;switch(a){case "opacity":case "distance":case "pitch":case "roll":case "yaw":case "playbackPositions":this.Ib=m;f=p}c.prototype.set.call(this,
a,b);f&&a!="playbackPositions"&&this.trigger(e.G("playbackPositions"))};return a});define("n",["require","fb","dR","gS"],function(a){var b=a("fb"),c=a("dR"),e=a("gS"),a=b.extend(e,function(){e.call(this)});c.A("FlatHotspotPanoramaOverlayImage",a).B("FlatHotspotPanoramaOverlayImageBase");return a});
define("dc",["require","fb","dR","gS"],function(a){var b=a("fb"),c=a("dR"),e=a("gS"),a=b.extend(e,function(){e.call(this)});c.A("FlatHotspotPanoramaOverlayMap",a).B("FlatHotspotPanoramaOverlayImageBase");return a});
define("jF","require,fb,iP,kV,dR,hL".split(","),function(a){var b=a("fb"),c=a("iP"),e=a("kV"),d=a("dR"),f=a("hL"),a=b.extend(c,function(){c.call(this);this.Ib=m;this.set("enabled",p);this.set("interactionEnabled",p);this.set("contentInteractive",z);this.set("transparent",z)});d.A("FramePanoramaOverlay",a).B("PanoramaOverlay").M({contentInteractive:"bool",displayTooltipInTouchScreens:"bool",enabled:"bool",hfov:"number",height:"number",image:"ImageResource",interactionEnabled:"bool",pitch:"number",
roll:"number",rotationX:"number",rotationY:"number",toolTip:"string",transparent:"bool",url:"string",useHandCursor:"bool",playbackPositions:"array[PanoramaOverlayPlaybackPosition]",vfov:"number",width:"number",yaw:"number"}).Rb([e.wd,e.yh,e.Le,e.pc,e.Mb,e.ld]).Xf([e.T]).vh(["url"]);a.prototype.set=function(a,b){var f=z;switch(a){case "hfov":case "pitch":case "rotationX":case "rotationY":case "roll":case "vfov":case "yaw":case "playbackPositions":this.Ib=m;f=p}c.prototype.set.call(this,a,b);f&&a!=
"playbackPositions"&&this.trigger(e.G("playbackPositions"))};a.prototype.get=function(a,b){switch(a){case "playbackPositions":if(this.Ib===m)this.Ib=f.rX(this);return this.Ib}return c.prototype.get.call(this,a,b)};return a});define("cD",["dl","fb","kC","c"],function(a,b,c,e){var d=b.extend(c,function(){c.call(this)});d.ib={layout:e.Ip};a.defaults(d.ib,c.ib);d.prototype.xa=function(){this.Lj(d.ib)};return d});
define("ho",["dl","fb","cD","dR"],function(a,b,c,e){a=b.extend(c,function(){c.call(this)});e.A("GridContainer",a).B("UIComponent").M({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("ha","require,dl,jquery.mod,bY,eJ,kV,fZ,jf,hS,gs,fb".split(","),function(a){function b(){}function c(a){this.Sva=a;this.wk=[];this.Nd=0}var e=a("dl");a("jquery.mod");var d=a("bY"),f=a("eJ"),g=a("kV"),k=a("fZ"),j=a("jf"),n=a("hS"),i=a("gs"),l=a("fb").extend(f,function(a){f.call(this);this.url=a;this.jY=this.Nd=0;this.status=l.SN;this.Fp=r});l.prototype.WX=function(a){this.jY=this.jY+a};l.prototype.Hy=function(a){this.Nd=this.Nd+a};l.prototype.start=function(){this.status=l.BF;n.UY(this.url)?
this.Nq():this.Uj=i.add(this.url,k.ZE,this.Coa.bind(this),this.C1.bind(this))};l.prototype.Coa=function(){this.Fp=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");this.Fp.open("GET",this.url);this.Fp.onreadystatechange=function(){this.Fp.readyState>3&&this.Nq()}.bind(this);this.Fp.send()};l.prototype.C1=function(){if(this.Fp){this.Fp.abort();this.Fp=r}};l.prototype.stop=function(){if(this.status==l.BF){this.status=l.SN;this.C1();this.Uj&&this.Uj.cancel()}};l.prototype.Nq=
function(){this.Fp=r;if(this.Uj){this.Uj.loaded();this.Uj=r}this.status=l.Fea;this.trigger(new d(g.R))};l.SN="not loaded";l.BF="loading";l.Fea="loaded";c.prototype.tsa=function(a){a.forEach(function(a){if(this.wk.indexOf(a)<0){this.wk.push(a);a.Hy(this.Nd);a.WX(1)}}.bind(this))};c.prototype.bwa=function(a){var b=this.wk;this.wk=[];b.forEach(function(b){if(a.indexOf(b)<0)this.wk.push(b);else{b.Hy(-this.Nd);b.WX(-1)}}.bind(this))};c.prototype.Uva=function(){this.wk.forEach(function(a){a.Hy(-this.Nd);
a.WX(-1)}.bind(this));this.wk=[];this.Nd=0};c.prototype.Hy=function(a){this.Nd=this.Nd+a;this.wk.forEach(function(b){b.Hy(a)})};b.Kc=[];b.E7=[];b.hja=0;b.L$=function(a,b){this.hJ(a).tsa(b.map(function(a){return this.X(a)}.bind(this)));this.RJ();this.I()};b.ewa=function(a,b){this.hJ(a).bwa(b.map(function(a){return this.X(a)}.bind(this)));this.RJ();this.I()};b.Vva=function(a){this.hJ(a).Uva();this.RJ();this.I()};b.SL=function(a,b){this.hJ(a).Hy(b);this.RJ();this.I()};b.RJ=function(){this.Kc.sort(function(a,
b){return b.Nd-a.Nd})};b.I=function(a){if(this.enabled()&&(a||!this.Km))if(a){this.Km&&clearTimeout(this.Km);this.Km=r;var a=this.Tja(),b=this.Uja();e(a).difference(b).forEach(function(a){a.stop()});e(b).difference(a).forEach(function(a){a.start()})}else this.Km=setTimeout(function(){this.Km=r;this.I(p)}.bind(this),1E3)};b.Km=r;b.Tja=function(){return this.Kc.filter(function(a){return a.status==l.BF})};b.Uja=function(){for(var a=this.Vja(),b=[],f=0;f<this.Kc.length&&b.length<a;f++){var c=this.Kc[f];
c.jY>0&&(c.status==l.SN||c.status==l.BF)&&b.push(c)}return b};b.Vja=function(){return this.hja>0?0:1};b.hJ=function(a){var b=e(this.E7).find(function(b){return b.Sva==a});if(!b){b=new c(a);this.E7.push(b)}return b};b.X=function(a){var b=e(this.Kc).find(function(b){return b.url==a});if(!b){b=new l(a);b.bind(g.R,this.I,this);this.Kc.push(b)}return b};b.enabled=function(a){if(a===m)return b.nia||b.oia?z:b.wQ!==m?b.wQ:b.V;b.V=a};b.V=p;b.LY=function(a){b.wQ=a.get(TDV.PlayerSettings.BACKGROUND_PRELOAD_ENABLED)};
b.wQ=m;b.oia=j.ph("disable-background-preload",z);b.nia=z;return b});define("dr",["fb","iP","dR","ha"],function(a,b,c,e){var d=a.extend(b,function(){b.call(this);this.OV=a.op(this.OV,this)});c.A("Media",d).B("Object").M({label:"string",thumbnailUrl:"string"}).vh(["thumbnailUrl"]);d.prototype.OV=function(){e.L$(this,this.ip())};d.prototype.ip=function(){return[]};d.prototype.dwa=function(){e.Vva(this)};d.prototype.set=function(a,c){b.prototype.set.call(this,a,c);this.OV()};return d});
define("gx",["require","dl","fb","dR","dr"],function(a){a("dl");var b=a("fb"),c=a("dR"),e=a("dr"),a=b.extend(e,function(){e.call(this);this.KH=this.Lx=m;this.set("distanceToFloor",1.7)});c.A("Panorama",a).B("Media").M({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.eR();case "frames":return this.G3()}return e.prototype.get.call(this,a,b)};a.prototype.set=function(a,b){switch(a){case "cardboardMenu":this.set("vrMenu",b)}e.prototype.set.call(this,a,b)};a.prototype.eR=function(){var a=e.prototype.get.call(this,"overlays");a||(a=[]);return this.NU(a)};a.prototype.NU=function(a){if(this.Lx===m||this.KH!=a){var b=function(a){return c.zb("PopupPanoramaOverlay",
a)},e=function(a){return c.zb("LensFlarePanoramaOverlay",a)};this.KH=a;this.Lx=[].concat(a.filter(function(a){return!(b(a)||e(a))}),a.filter(e),a.filter(b))}return this.Lx};a.prototype.jba=function(){return 0<this.get("overlays").filter(function(a){return c.zb("TripodCapPanoramaOverlay",a)}).length};a.prototype.Zaa=function(){return 0<this.get("overlays").filter(function(a){return c.zb("CeilingCapPanoramaOverlay",a)}).length};a.prototype.zba=function(){if(!this.yba())return z;var a=this.get("pitch",
0),b=this.get("vfov",180);if(179.9<=b)return p;var c=this.Zaa()?90:a+0.5*b,a=this.jba()?-90:a-0.5*b;return 179.9<=c-a?p:z};a.prototype.yba=function(){return 359.9<=this.get("hfov")&&!this.get("partial")};a.prototype.sh=function(){var a=this.G3();return 0<a.length&&a[0].sh()};a.prototype.mL=S(0);a.prototype.G3=function(){var a=e.prototype.get.call(this,"frames",[]);a.forEach(function(a){a.ysa(this)}.bind(this));return a};return a});
define("jW",["require","fb","dR","gx"],function(a){var b=a("fb"),c=a("dR"),e=a("gx"),a=b.extend(e,function(){e.call(this)});c.A("HDRPanorama",a).B("Panorama").M({minimumLuminance:"number",maximumLuminance:"number",luminanceChangeTime:"number",maxLuminanceChangeSpeed:"number"});a.prototype.mL=function(){var a=this.get("frames")||[];return Math.floor((a.length-1)/2)};return a});
define("iT",["fb","iP","dR","kV"],function(a,b,c,e){a=a.extend(b,function(){b.call(this)});c.A("HotspotMapOverlayArea",a).B("Object").M({mapColor:"or[color,enum[image,transparent,any]]",toolTip:"string",useHandCursor:"bool"}).Rb([e.pc,e.Mb]).Xf([e.T]);return a});
define("iV",["require","fb","iP","dR"],function(a){var b=a("fb"),c=a("iP"),a=a("dR"),e=b.extend(c,function(){c.call(this)});a.A("ImageResourceLevel",e).B("Object").M({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]]"}).vh(["url"]);e.prototype.get=function(a,b){switch(a){case "tags":var g=c.prototype.get.call(this,a);g||(g=[]);Array.isArray(g)||(g=[g]);0>g.indexOf(e.em)&&
c.prototype.get.call(this,"grayscale")&&(g=g.concat([e.em]));return g}return c.prototype.get.call(this,a,b)};e.prototype.iba=function(a){return 0<=this.get("tags").indexOf(a)};e.em="preload";e.J_="mobile";e.I_="ipadpro";e.VN="mobilevr";e.K_="mobilevr2gen";e.WN="ondemand";return e});
define("eC",["require","iV","r","jf"],function(a){var b=a("iV"),c=a("r"),e=a("jf");return{Ol:function(a){return this.Lg(a,"load")},Pu:function(a){return this.Lg(a,"preload")},zy:function(a){return this.Ol(a)!=this.Pu(a)},Lg:function(a,b){var c=a.get("levels")||[],e=this.qja(c),e=this.ika(b,e),c=this.Wia(c,b),j=this.O3(c,e[0],e[1],this.gka(b));j||(j=this.O3(c,e[0],e[1],m));return j},Wia:function(a,f){"preload"==f?a=this.qA(a,b.em):"load"==f&&(a=this.Via(a,b.em));c.lp()&&(a=this.qA(a,b.I_));c.KL()&&
(a=this.qA(a,b.K_));c.Ye()&&(a=this.qA(a,b.VN));c.Va()&&(a=this.qA(a,b.J_));return a},qja: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")},ika:function(a,b){if("preload"==a)return[0,0];var e=1E4;this.aja()||(c.Ye()?e=2048:c.lp()?e=1280:c.Va()&&(e=1024));return 1>b?[e*b,e]:[e,e/b]},gka:function(a){if("load"==a)return z},aja:function(){return c.lp()&&e.ph("recent_ipad_use_max_res",z)},qA:function(a,b){var c=
a.filter(function(a){return a.iba(b)});0==c.length&&(c=a);return c},Via:function(a,b){var c=a.filter(function(a){return!a.iba(b)});0==c.length&&(c=a);return c},O3:function(a,b,c,e){function j(a){return Math.abs(a.get("width")*a.get("height")-b*c)}a=a.filter(function(a){return e!==m&&e!=a.get("grayscale",z)?z:p});if(0==a.length)return r;a.sort(function(a,b){return j(a)-j(b)});return a[0]}}});
define("C","require,fb,iP,dR,eC,jJ,iZ".split(","),function(a){var b=a("fb"),c=a("iP"),e=a("dR"),d=a("eC"),f=a("jJ"),g=a("iZ"),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",g.yn);this.set("horizontalAlign",f.Gc);this.set("verticalAlign",f.nc)});e.A("HotspotMapOverlayImageBase",a).B("Object").M({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.Ol=function(){return this.get("image")?d.Ol(this.get("image")):r};a.prototype.Pu=function(){return this.get("image")?d.Pu(this.get("image")):r};return a});define("ix",["fb","bY"],function(a,b){return a.extend(b,function(a,e){b.call(this,a);this.th=e})});
define("bR",["require","fb","iP","kV","ix"],function(a){var b=a("fb"),c=a("iP"),e=a("kV"),d=a("ix"),a=b.extend(c,function(){c.call(this);this.qD=[];this.Sd=m;this.m="initial"});a.prototype.jn=R("qD");a.prototype.NY=function(a){this.qD!=a&&(this.qD=a,this.Nq=this.Sd=m)};a.prototype.bxa=function(a){this.Sd!==a&&(this.m="loading",this.Sd=a,this.trigger(new d(e.oc,this.Sd)))};a.prototype.BY=function(){"loaded"!==this.m&&(this.m="loaded",this.trigger(e.R))};a.prototype.Dwa=function(){"loaded"!==this.m&&
(this.m="error",this.trigger(e.ie))};return a});define("cC",["fb","bR"],function(a,b){var c=a.extend(b,function(a){b.call(this);this.Td=a});c.prototype.qe=R("Td");c.S_="map";c.T_="overlay";return c});define("hs",["fb","cC"],function(a,b){var c=a.extend(b,function(a,c,f){b.call(this,b.T_);this.lna=a;this.ca=c;this.da=f});c.prototype.getX=R("ca");c.prototype.getY=R("da");c.R_="image";c.Q_="fov";return c});
define("iR",["fb","hs"],function(a,b){var c=a.extend(b,function(a,c,f,g,k,j,n,i,l,q,o){b.call(this,b.R_,c,f);this.Jd=a;this.X7=g;this.Gt=k;this.Ht=j;this.W=n;this.ea=i;this.Ad=l;this.Jh=q;this.fi=o;this.qD=[a]});c.prototype.uk=R("Jd");c.prototype.Xc=R("W");c.prototype.Kd=R("ea");return c});
define("ft","require,fb,dR,C,eC,iR".split(","),function(a){var b=a("fb"),c=a("dR"),e=a("C");LevelUtil=a("eC");ImageOverlay=a("iR");a=b.extend(e,function(){e.call(this);this.Mq=m});c.A("HotspotMapOverlayImage",a).B("HotspotMapOverlayImageBase");a.prototype.getItem=function(){return this.Mg()};a.prototype.Mg=function(a){if(this.Mq===m)this.Mq=this.WK(a);return this.Mq};a.prototype.WK=function(a){var b=this.get("image");if(b){b=LevelUtil.Ol(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 r};return a});define("F",["require","fb","dR","C"],function(a){var b=a("fb"),c=a("dR"),e=a("C"),a=b.extend(e,function(){e.call(this)});c.A("HotspotMapOverlayMap",a).B("HotspotMapOverlayImageBase");return a});
define("eH","require,fb,iP,kV,dR,hL".split(","),function(a){var b=a("fb"),c=a("iP"),e=a("kV"),d=a("dR"),f=a("hL"),a=b.extend(c,function(){c.call(this);this.set("opacity",1);this.set("scale",1);this.Ib=m});d.A("HotspotPanoramaOverlayImageBase",a).B("Object").M({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]"}).Rb([e.ld,e.wd]);a.prototype.get=function(a,b){switch(a){case "playbackPositions":if(this.Ib===m)this.Ib=f.rX(this);return this.Ib}return c.prototype.get.call(this,a,b)};a.prototype.set=function(a,b){var f=z;switch(a){case "distance":case "hfov":case "vfov":case "pitch":case "rotationX":case "rotationY":case "roll":case "yaw":case "opacity":case "playbackPositions":this.Ib=m;f=p}c.prototype.set.call(this,
a,b);f&&a!="playbackPositions"&&this.trigger(e.G("playbackPositions"))};return a});define("iI",["require","fb","dR","eH"],function(a){var b=a("fb"),c=a("dR"),e=a("eH"),a=b.extend(e,function(){e.call(this)});c.A("HotspotPanoramaOverlayImage",a).B("HotspotPanoramaOverlayImageBase");return a});define("P",["require","fb","dR","eH"],function(a){var b=a("fb"),c=a("dR"),e=a("eH"),a=b.extend(e,function(){e.call(this)});c.A("HotspotPanoramaOverlayMap",a).B("HotspotPanoramaOverlayImageBase");return a});
define("iy",[],function(){function a(a){for(var b={},a=a.split(","),f=0;f<a.length;f++)b[a[f]]=p;return b}var b=/^<([-A-Za-z0-9_]+\:?[-A-Za-z0-9_]*)((?:\s+[-A-Za-z0-9_]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,c=/^<\/([-A-Za-z0-9_]+\:?[-A-Za-z0-9_]*)[^>]*>/,e=/([-A-Za-z0-9_]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,d=a("area,base,basefont,br,col,frame,hr,img,input,isindex,link,meta,param,embed"),f=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"),
g=a("a,abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),k=a("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),j=a("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),n=a("script,style");return function(a,l){function q(a,b,c,i){b=b.toLowerCase();if(f[b])for(;u.last()&&g[u.last()];)o(0,u.last());k[b]&&
u.last()==b&&o(0,b);(i=d[b]||!!i)||u.push(b);if(l.start){var n=[];c.replace(e,function(a,b,f,c,d){a=f?f:c?c:d?d:j[b]?b:"";n.push({name:b,value:a,WW:a.replace(/(^|[^\\])"/g,'$1\\"')})});l.start&&l.start(b,n,i)}}function o(a,b){if(b){b=b.toLowerCase();for(f=u.length-1;0<=f&&u[f]!=b;f--);}else var f=0;if(0<=f){for(var c=u.length-1;c>=f;c--)l.end&&l.end(u[c]);u.length=f}}var t,s,u=[],v=a;for(u.last=function(){return this[this.length-1]};a;){s=p;if(!u.last()||!n[u.last()]){if(0==a.indexOf("<\!--"))t=a.indexOf("--\>"),
0<=t&&(l.Rsa&&l.Rsa(a.substring(4,t)),a=a.substring(t+3),s=z);else if(0==a.indexOf("</")){if(t=a.match(c))a=a.substring(t[0].length),t[0].replace(c,o),s=z}else if(0==a.indexOf("<")&&(t=a.match(b)))a=a.substring(t[0].length),t[0].replace(b,q),s=z;s&&(t=a.indexOf("<"),s=0>t?a:a.substring(0,t),a=0>t?"":a.substring(t),l.KD&&l.KD(s))}else a=a.replace(RegExp("(.*?)</"+u.last()+"[^>]*>"),function(a,b){b=b.replace(/<\!--(.*?)--\>/g,"$1").replace(/<!\[CDATA\[(.*?)]]\>/g,"$1");l.KD&&l.KD(b);return""}),o(0,
u.last());a==v&&h("Parse Error: "+a);v=a}o()}});
define("ee","require,jquery.mod,dl,fb,kV,bY,eJ,r,iy".split(","),function(a){var b=a("jquery.mod");a("dl");var c=a("fb"),e=a("kV"),d=a("bY"),f=a("eJ"),g=a("r"),k=a("iy"),j=c.extend(f,function(a){f.call(this);this.xd=b(a);this.qC=[];this.mq=r});j.prototype.Lua=function(a){a&&a.toLowerCase().indexOf("<script")>=0?g.ey()==g.jz?this.Zka(a):this.Yka(a):this.Xka(a)};j.prototype.Xka=function(a){this.xd.empty();a&&this.xd.append(a);this.E9()};j.prototype.Zka=function(a){this.xd.empty();var f=this.xd,c=r,d=
[],e=r;new k(a,{start:function(a,d,g){if(a=="script"){for(var g=m,j=0;j<d.length&&g===m;j++){var k=d[j];if(k.name=="src")g=k.value}e={parent:f,previousSibling:c,src:g,content:""}}else{for(var n={},j=0;j<d.length;j++){k=d[j];n[k.name]=k.value}d=b("<"+a+"/>");d.attr(n);f.append(d);if(g)c=d;else{f=d;c=r}}},KD:function(a){e?e.content=e.content+a:f.append(a)},end:function(a){if(a=="script"){d.push(e);e=r}else{c=f;f=f.parent()}}});this.qC=d;this.OH()};j.prototype.Yka=function(a){function f(){e++;return d+
e}this.xd.empty();var d="fragment_"+c.kca(6)+"_",e=0,g=f(),j=[g],s=m,u=[],v=r,w="";new k(a,{start:function(a,b,c){if(a=="script"){c=m;for(a=0;a<b.length&&c===m;a++){var d=b[a];if(d.name=="src")c=d.value}v={parentClsName:j[j.length-1],previousSiblingClsName:s,src:c,content:""}}else{w=w+("<"+a);for(var e=f(),g=z,a=0;a<b.length;a++){d=b[a];if(d.name=="class"){d.WW=d.WW+(" "+e);g=p}w=w+(" "+d.name+'="'+d.WW+'"')}g||(w=w+(' class="'+e+'"'));if(c){w=w+"/>";s=e}else{w=w+">";j.push(e);s=m}}},KD:function(a){v?
v.content=v.content+a:w=w+a},end:function(a){if(a=="script"){u.push(v);v=r}else{s=j[j.length-1];j.pop()}}});this.xd.get(0).innerHTML=w;this.xd.addClass(g);for(a=0;a<u.length;a++){var x=u[a],y=x.parentClsName;delete x.parentClsName;s=x.previousSiblingClsName;delete x.previousSiblingClsName;x.parent=b("."+y);x.previousSibling=s?b("."+s):r}this.xd.removeClass(g);this.qC=u;this.OH()};j.prototype.OH=function(){if(!this.mq)if(this.qC.length>0){this.mq=this.qC[0];this.qC.splice(0,1);var a=this.mq.src;if(a){var f=
this;j.Bla(a,function(){f.Q4()},function(){f.Ila()})}else{var c=this.mq.parent,a=this.mq.previousSibling,d;d=a?a.next():c.children(":first");a=document.write;document.write=d.length?function(a){d.before(a)}:function(a){c.append(a)};b.globalEval(this.mq.content);document.write=a;this.Q4()}}else this.E9()};j.prototype.Ila=function(){this.mq=r;this.OH()};j.prototype.Q4=function(){this.mq=r;this.OH()};j.prototype.E9=function(){this.trigger(new d(e.Da))};j.O4={};j.Bla=function(a,f,c){j.O4[a]?f.call(window):
b.ajax({url:a,async:z,dataType:"script",error:c,success:function(){j.O4[a]=p;f.call(window)}})};return j});
define("jx",["fb","kV","bY","eJ"],function(a,b,c,e){a=a.extend(e,function(a,b){e.call(this);this.gla=a;this.V=b;this.lg=r});a.prototype.bind=function(){var a=e.prototype.bind.apply(this,arguments);this.lD();return a};a.prototype.unbind=function(){var a=e.prototype.unbind.apply(this,arguments);this.lD();return a};a.prototype.start=function(){this.V=p;this.lD()};a.prototype.stop=function(){this.V=z;this.lD()};a.prototype.KB=function(){this.trigger(new c(b.$c))};a.prototype.lD=function(){if(this.V&&
this.Yaa(b.$c)){if(this.lg==r){var a=this;this.lg=setTimeout(function(){a.lg=r;a.KB();a.lD()},this.gla)}}else this.lg!=r&&(clearTimeout(this.lg),this.lg=r)};return a});
define("iu","require,jquery.mod,dl,fb,kV,gm,jJ,d,ee,dG,jx".split(","),function(a){var b=a("jquery.mod"),c=a("dl"),e=a("fb"),d=a("kV"),f=a("gm"),g=a("jJ"),k=a("d"),j=a("ee"),n=a("dG"),a=a("jx"),i=e.extend(k,function(){k.call(this);this.Tc("HTML");this.Vs=i.FF;this.o7=this.p7=0;this.R8=(new Date).getTime();this.HG=this.vg=r;this.Vv=this.Vv.bind(this);this.BO=[]});i.prototype.xa=function(){k.prototype.xa.call(this);this.f("content");this.f("horizontalAlign",g.na);this.f("verticalAlign",g.nc);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)};i.prototype.Em=function(a){this.Aa&&f.get(this.Aa).Xva(this.Vv);k.prototype.Em.call(this,a);if(this.Aa){f.get(this.Aa).psa(this.Vv);f.get(this.Aa).hy(this.Vv)}};i.prototype.Ha=function(){k.prototype.Ha.call(this);
if(!this.HG){this.vg=document.createElement("div");this.HG=b(this.vg);this.iQ({position:"absolute",display:"inline",left:0,top:0,"box-sizing":"border-box"});var a=this.Pa();a.Vy(z);a.append(this.HG);this.i4=new j(this.HG);this.i4.bind(d.Da,this.Nka,this,p);this.bind(d.vb,this.j4,this)}};i.prototype.ga=function(){var a={},b=z;this.n("visible")&&(b=p);if(this.n("content")){this.i4.Lua(this.j("content"));this.p("content");b=p}if(this.n("fontFamily")){b=this.j("fontFamily");c(b).isString()||(b="");a.fontFamily=
n.Kr(b);this.p("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.p("fontSize");b=p}if(this.n("fontColor")){b=this.j("fontColor");c(b).isString()||(b="");a.color=b;this.p("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.p("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.p("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.p("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.p("textAlign");b=p}var f=["textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];if(c(f).any(function(a){return this.n(a)},this)){var d={};c(f).each(function(a){d[a]=this.j(a);this.p(a)},this);a["-moz-text-shadow"]=a["-webkit-text-shadow"]=a["text-shadow"]=[d.textShadowHorizontalLength+"px",d.textShadowVerticalLength+"px",d.textShadowBlurRadius+"px","rgba("+parseInt("0x"+d.textShadowColor.substr(1,2))+", "+parseInt("0x"+
d.textShadowColor.substr(3,2))+", "+parseInt("0x"+d.textShadowColor.substr(5,2))+", "+d.textShadowOpacity+")"].join(" ");f=d.textShadowVerticalLength==0&&this.j("textShadowHorizontalLength")==0?135:Math.round(4*Math.atan2(d.textShadowHorizontalLength,-d.textShadowVerticalLength)/Math.PI)*45;a.filter="progid:DXImageTransform.Microsoft.Shadow(color=#"+("00"+(255*d.textShadowOpacity).toString(16)).slice(-2)+d.textShadowColor.substr(1,6)+",direction="+f+")"}c(["paddingTop","paddingRight","paddingBottom",
"paddingLeft"]).any(function(a){return this.n(a)},this)&&(b=p);this.iQ(a);b&&this.i5();k.prototype.ga.call(this)};i.prototype.i5=function(){this.j4();this.Ta();this.j("visible")&&this.j("content")?this.tC(i.d0):this.tC(i.FF)};i.prototype.wr=function(a){for(var b=a.target;b&&b.tagName!="A"&&b.tagName!="BUTTON";)b=b.parentElement;k.prototype.wr.call(this,a,!b)};i.prototype.ro=function(){k.prototype.ro.call(this);var a=this.Pa();this.Oh=this.vg.clientWidth+a.uy()+a.wy();this.Nh=this.vg.clientHeight+
a.xy()+a.qy()};i.prototype.A8=function(a){if(this.gR()!=a){this.vg.style.paddingLeft=a+"px";this.Ta()}};i.prototype.gR=function(){return parseInt(this.vg.style.paddingLeft)||0};i.prototype.C8=function(a){if(this.iR()!=a){this.vg.style.paddingTop=a+"px";this.Ta()}};i.prototype.iR=function(){return parseInt(this.vg.style.paddingTop)||0};i.prototype.B8=function(a){if(this.hR!=a){this.vg.style.paddingRight=a+"px";this.Ta()}};i.prototype.hR=function(){return parseInt(this.vg.style.paddingRight)||0};i.prototype.z8=
function(a){if(this.fR()!=a){this.vg.style.paddingBottom=a+"px";this.Ta()}};i.prototype.fR=function(){return parseInt(this.vg.style.paddingBottom)||0};i.prototype.Nka=function(){this.BO=Array.prototype.slice.call(this.vg.querySelectorAll("*[style]")).map(function(a){var b={};b.hta=a;b.style=a.getAttribute("style");return b}).filter(function(a){return l.test(a.style)}).map(function(a){for(var b=a.style,f=[];;){var c=l.exec(b);if(c){f.push(function(a){return function(){return a}}(b.substr(0,c.index+
1)));f.push(function(a,b){switch(b){case "vw":return function(b){return Math.round(b*a)+"px"};case "vh":return function(b,f){return Math.round(f*a)+"px"};case "vmin":return function(b,f,c){return Math.round(c*a)+"px"};case "vmax":return function(b,f,c){return Math.round(c*a)+"px"}}}(parseFloat(c[1]),c[3].toLowerCase()));b=b.substr(c.index+c[0].length)}else{f.push(function(a){return function(){return a}}(b));a.functions=f;return a}}});this.Aa&&f.get(this.Aa).hy(this.Vv)};i.prototype.Vv=function(a,
b,f,c){if(this.BO.length!=0){this.BO.forEach(function(d){var e=d.functions.map(function(d){return d(a,b,f,c)}).join("");d.hta.setAttribute("style",e)});this.i5()}};i.prototype.j4=function(){var a={width:"auto",height:"auto"},b=this.Pa();if(!this.sR()){this.Oh!=this.W&&this.Ta();var f=this.W-(b.uy()+b.wy());f>0&&(a.width=f+"px")}if(!this.d4()){this.Nh!=this.ea&&this.Ta();b=this.ea-(b.xy()+b.qy());b>0&&(a.height=b+"px")}this.iQ(a)};i.prototype.C5=function(){var a=this.vg.clientWidth,b=this.vg.clientHeight;
if(this.p7!=a||this.o7!=b){this.p7=a;this.o7=b;this.Ta();this.tC(i.d0)}else{a=(new Date).getTime()-this.R8;a>i.hfa?this.tC(i.Xea):a>i.gfa&&this.tC(i.Wea)}};i.prototype.roa=function(){this.R8=(new Date).getTime()};i.prototype.tC=function(a){this.Vs==i.tya&&this.roa();if(this.Vs!=a){this.Vs!=i.FF&&i.J1[this.Vs].unbind(d.$c,this.C5,this);this.Vs=a;this.Vs!=i.FF&&i.J1[this.Vs].bind(d.$c,this.C5,this,p)}};i.prototype.iQ=function(a){var b=this.vg.style,f;for(f in a)b[f]=a[f]};var l=/[^\d]((\d*\.)?\d+)\s*(vmin|vmax|vw|vh)/i;
i.FF="stopped";i.Xea="slow";i.Wea="normal";i.d0="fast";i.hfa=3E4;i.gfa=5E3;i.J1={slow:new a(2E3,p),normal:new a(500,p),fast:new a(100,p)};return i});
define("hG",["fb","iu","dR"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("HTML",a).B("UIComponent").M({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"}).zp(["fontSize"]);return a});define("b",["dl","fb","kC","c"],function(a,b,c,e){var d=b.extend(c,function(){c.call(this)});d.ib={layout:e.AM};a.defaults(d.ib,c.ib);d.prototype.xa=function(){this.Lj(d.ib)};return d});
define("gD",["fb","fQ","b","iu"],function(a,b,c,e){a=a.extend(c,function(){c.call(this);this.Cq=r;this.set("contentOpaque",p)});a.prototype.xa=function(){c.prototype.xa.call(this);this.f("overflow",b.cm);this.f("html")};a.prototype.Ha=function(){c.prototype.Ha.call(this);this.Cq==r&&(this.Cq=new e,this.Cq.N({left:0}),this.la(this.Cq))};a.prototype.ga=function(){this.Cq.set("width",this.sR()?m:"100%");this.n("html")&&(this.Cq.set("content",this.j("html")),this.p("html"));this.cb(["paddingLeft","paddingTop",
"paddingRight","paddingBottom"],{},[this.Cq],p,p);this.cb(["cursor"],{},[this.Cq],p,z);c.prototype.ga.call(this)};return a});
define("bk",["require","fb","gD","dR"],function(a){var b=a("fb"),c=a("gD"),a=a("dR"),b=b.extend(c,function(){c.call(this)});a.A("HTMLText",b).B("UIComponent").M({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("hD","require,jquery.mod,fb,kV,bY,jf,fA,R,iZ,fh,dj,jr".split(","),function(a){function b(a,b,f){return function(c){var d;d=b=="mouse"?this.pt(c):this.AA(c);this.A4(d)?a.call(this,c):f=="release"?a.call(this,c):this.ija(d,c)}}var c=a("jquery.mod"),e=a("fb"),d=a("kV"),f=a("bY"),g=a("jf"),k=a("fA"),j=a("R"),n=a("iZ"),i=a("fh"),l=a("dj"),q=a("jr"),o=g.Wf("debug"),a=e.extend(q,function(){this.Tc("Button");q.call(this,3);this.set("autoRolledOver",p);this.set("autoPressed",p);this.set("cursor",j.he);
this.set("scaleMode",n.Ke);this.pP=document.createElement("canvas");this.pP.width=1;this.pP.height=1;this.qP=this.pP.getContext("2d");this.qP.globalCompositeOperation="copy";this.EQ=z;this.bind(d.Mb,this.Rka,this)});a.prototype.xa=function(){q.prototype.xa.call(this);this.f("buttonGroup");this.f("mode",l.ad);this.f("pressed");this.f("iconURL");this.f("transparencyActive");this.h("rollOverOpacity",i.v,"opacity");this.h("rollOverIconURL",i.v,"iconURL");this.h("pressedOpacity",i.ya,"opacity");this.h("pressedIconURL",
i.ya,"iconURL");this.h("pressedRollOverOpacity",i.Wa,"opacity");this.h("pressedRollOverIconURL",i.Wa,"iconURL")};a.prototype.NQ=b(q.prototype.NQ,"touch","capture");a.prototype.h3=b(q.prototype.nja,"touch");a.prototype.j3=b(q.prototype.nja,"touch","release");a.prototype.oV=b(q.prototype.oV,"touch","capture");a.prototype.nV=b(q.prototype.nV,"touch");a.prototype.wr=b(q.prototype.wr,"touch","release");a.prototype.ES=b(q.prototype.ES,"mouse","capture");a.prototype.FS=function(a){var b=this.pt(a);if(this.A4(b)||
this.EQ){q.prototype.FS.call(this,a);this.set("cursor",j.he)}else{this.EQ=p;if(b=this.F3(b)){c(b).trigger(this.X1(a));a.preventDefault();a.stopImmediatePropagation()}this.A3(b)=="pointer"?this.set("cursor",j.he):this.set("cursor",j.$c);this.EQ=z}};a.prototype.Rka=function(){this.set("cursor",j.he)};a.prototype.bI=b(q.prototype.bI,"mouse","release");a.prototype.A4=function(a){if(!this.qb)return z;if(this.get("transparencyActive"))return p;var b=this.qb.offset(),f=a.Yba-b.left,c=this.qb.width(),a=a.Zba-
b.top,b=this.qb.height();if(f>=0&&a>=0&&f<c&&a<b){if(o)return p;f=f*this.hx/c;c=a*this.gx/b;this.qP.drawImage(this.qb.get(0),f,c,1,1,0,0,1,1);if(this.qP.getImageData(0,0,1,1).data[3]>0)return p}return z};a.prototype.ija=function(a,b){var f=this.F3(a);if(f){c(f).trigger(this.X1(b));b.preventDefault();b.stopImmediatePropagation()}};a.prototype.F3=function(a){var b=this.Zn(),f=b.style.pointerEvents;b.style.pointerEvents="none";a=document.elementFromPoint(a.Yba,a.Zba);setTimeout(function(){b.style.pointerEvents=
f},0);return a};a.prototype.X1=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.A3=function(a){if(a){var b=a.style.cursor;b=="inherit"&&(b=this.A3(a.parentElement))}else b="default";return b};a.prototype.Sz=function(){if(this.get("pressed")){this.set("pressed",z);this.trigger(new f(d.zh))}else{this.set("pressed",
p);this.trigger(new f(d.rg))}};a.prototype.ga=function(){var a=z;if(this.n("backgroundOpacityy")||this.n("backgroundColor"))a=p;if(this.n("iconURL")){this.set("url",this.j("iconURL"));this.p("iconURL")}var b=z;if(this.n("mode")){if(this.j("mode")==l.ad){this.unbind(d.T,this.Sz,this,p);this.set("autoPressed",p)}else{this.bind(d.T,this.Sz,this,p);this.set("autoPressed",z)}this.p("mode");b=p}if(b||this.n("pressed"))this.j("mode")==l.Ah?this.Gx(this.j("pressed")==p):b&&this.Gx(z);if(this.n("buttonGroup")){(b=
this.j("buttonGroup"))?k.register(this,b):k.WE(this);this.p("buttonGroup")}q.prototype.ga.call(this);if(a){a=this.xb();if(a.qh()==0||a.Zs.length==0){a.qj(0.001);a.Mca(["#000000"])}}};return a});
define("Z",["fb","hD","dR","kV"],function(a,b,c,e){a=a.extend(b,function(){b.call(this)});c.A("IconButton",a).B("UIComponent").M({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"}).vh(["iconURL","rollOverIconURL",
"pressedIconURL"]).Rb([e.rg,e.zh]).Xf([e.T]);return a});define("jV",["fb","dR","gn"],function(a,b,c){a=a.extend(c,function(){c.call(this,z)});b.A("IconHotspotMapOverlay",a).B("HotspotMapOverlay");return a});
define("kB",["require","fb","kV","jr","dR"],function(a){var b=a("fb"),c=a("kV"),e=a("jr"),a=a("dR"),b=b.extend(e,function(){e.call(this)});a.A("Image",b).B("UIComponent").M({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]"}).vh(["url"]).Xf([c.T]);return b});
define("gQ",["fb","gJ","dR"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("Label",a).B("UIComponent").M({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"}).zp(["fontSize"]);return a});define("bu",["require","fb","iP","dR"],function(a){var b=a("fb"),c=a("iP"),a=a("dR"),b=b.extend(c,function(){c.call(this);this.set("bleaching",0);this.set("bleachingDistance",0.4)});a.A("LensFlarePanoramaOverlay",b).B("PanoramaOverlay").M({yaw:"number",pitch:"number",bleaching:"number",bleachingDistance:"number"});return b});
define("kF",["require","fb","dR","gx"],function(a){var b=a("fb"),c=a("dR"),e=a("gx"),a=b.extend(e,function(){e.call(this)});c.A("LivePanorama",a).B("Panorama").M({frameDisplayTime:"number",frameTransitionTime:"number",initialFrameIndex:"number"});a.prototype.mL=function(){return this.get("initialFrameIndex",0)};return a});
define("co",["fb","cC"],function(a,b){var c=a.extend(b,function(a,c,f,g,k,j){b.call(this,b.S_);this.Jd=a;this.W=c;this.ea=f;this.Ad=g;this.DQ=k;this.Yj=j.slice()});c.prototype.jn=function(){for(var a=[this.Jd],b=0;b<this.Yj.length;b++)a=a.concat(this.Yj[b].jn());return a};c.prototype.uk=R("Jd");c.prototype.Xc=R("W");c.prototype.Kd=R("ea");return c});
define("jS","require,dl,fb,dR,iZ,dr,eC,co".split(","),function(a){var b=a("dl"),c=a("fb"),e=a("dR"),d=a("iZ"),f=a("dr"),g=a("eC"),k=a("co"),a=c.extend(f,function(){f.call(this);this.Mq=this.ET=m});e.A("Map",a).B("Media").M({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.zy=function(){return!(!this.get("image")||!g.zy(this.get("image")))};a.prototype.Pu=function(){return this.get("image")&&g.Pu(this.get("image"))};a.prototype.Ol=function(){return this.get("image")&&g.Ol(this.get("image"))};a.prototype.Laa=function(){if(this.ET==m)this.ET=this.zy()?new k(this.Pu().get("url"),this.get("width"),
this.get("height"),this.get("scaleMode",d.hs),this.get("flipImageHorizontally",z),[]):r;return this.ET};a.prototype.Mg=function(){if(this.Mq==m)if(this.get("image")){var a=Array.prototype.concat.apply([],b(this.get("overlays",[])).map(function(a){return a.Uta()}));this.Mq=new k(this.Ol().get("url"),this.get("width"),this.get("height"),this.get("scaleMode",d.hs),this.get("flipImageHorizontally",z),a)}else this.Mq=r;return this.Mq};a.prototype.ip=function(){return[].concat(this.eH(this.Laa()),this.eH(this.Mg()))};
a.prototype.eH=function(a){return a?a.jn():[]};return a});define("ik",["fb","iP","dR"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("MapOverlay",a).B("Object");return a});
define("jE","require,fb,dl,kV,bY,eJ,dj,fh".split(","),function(a){var b=a("fb"),c=a("dl"),e=a("kV"),d=a("bY"),f=a("eJ"),g=a("dj"),k=a("fh"),a=b.extend(f,function(a,b,c){f.call(this);this.a2=a;this.Lna=b;this.n1=c||g.ad;this.ag=[];this.Ss=[];this.Zp={};this.Zp.mode=this.n1;this.n1==g.Ah&&(this.Zp.pressed=z);this.a2.bind(e.G(b),this.z7,this);this.z7()});a.prototype.z7=function(){var a=this.a2.get(this.Lna);a||(a=[]);c.isArray(a)||(a=[a]);this.Xoa(a)};a.prototype.Xoa=function(a){var b=c.difference(this.ag,
a);c(b).each(function(a){a.unbind(e.rg,this.t1,this,p);a.unbind(e.zh,this.u1,this,p);a.unbind(e.T,this.m1,this,p);a.unbind(e.ub,this.o1,this,p);a.unbind(e.Xb,this.p1,this,p);a.unbind(e.pc,this.w1,this,p);a.unbind(e.Mb,this.v1,this,p)},this);b=c.difference(a,this.ag);c(b).each(function(a){a.N(this.Zp);a.bind(e.rg,this.t1,this,p);a.bind(e.zh,this.u1,this,p);a.bind(e.T,this.m1,this,p);a.bind(e.ub,this.o1,this,p);a.bind(e.Xb,this.p1,this,p);a.bind(e.pc,this.w1,this,p);a.bind(e.Mb,this.v1,this,p)},this);
this.ag=a;this.Ss=this.Ss.filter(function(a){return this.ag.indexOf(a)>=0}.bind(this))};a.prototype.t1=function(){this.trigger(new d(e.rg))};a.prototype.u1=function(){this.trigger(new d(e.zh))};a.prototype.m1=function(){this.trigger(new d(e.T))};a.prototype.o1=function(){this.trigger(new d(e.ub))};a.prototype.p1=function(){this.trigger(new d(e.Xb))};a.prototype.w1=function(a){this.Ss.push(a.source);this.ng()};a.prototype.v1=function(a){this.Ss=this.Ss.filter(function(b){return b!=a.source});this.ng()};
a.prototype.set=function(a,b){this.Zp[a]=b;this.ag.forEach(function(a){a.N(this.Zp)}.bind(this));this.ng()};a.prototype.ng=function(){this.ag.forEach(function(a){a.get("state")==k.ya&&this.Ss.indexOf(a)>=0?a.set("state",k.Wa):a.get("state")==k.Wa&&this.Ss.indexOf(a)<0&&a.set("state",k.ya)}.bind(this))};return a});
define("eO","require,dl,fb,kV,bY,fh,R,b,d,kd,kq".split(","),function(a){var b=a("dl"),c=a("fb"),e=a("kV"),d=a("bY"),f=a("fh"),g=a("R"),k=a("b"),j=a("d");a("kd");a("kq");var n=c.extend(k,function(){k.call(this);this.Tc("PlaybackBar");this.Xh=this.Sd=r;this.Ee=[];this.aJ=z;this.yT=this.Vt=m;this.YU=z});n.ib={cursor:g.he,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.ib,k.ib);n.prototype.xa=function(){this.Lj(n.ib)};n.prototype.Ha=function(){k.prototype.Ha.call(this);(!this.Sd||!this.Xh)&&this.bind(e.vb,this.zna,this,p);if(this.Sd==r){this.Sd=new j;this.Sd.N({left:"0",height:"100%",
cursor:g.he});this.la(this.Sd)}if(this.Xh==r){this.Xh=new j;this.Xh.N({left:"0",cursor:g.he});this.Xh.bind(e.vb,this.Cna,this,p);this.Xh.bind(e.ub,this.Ana,this,p);this.Sa().bind(e.Hc,this.h7,this,p);this.bind(e.T,this.xna,this,p);this.Xh.bind(e.Xb,this.Bna,this,p);this.la(this.Xh)}var a=this.get("steps")||0;if(this.Ee.length!=a){for(;this.Ee.length>a;)this.mia(this.Ee.pop());for(;this.Ee.length<a;)this.Ee.push(this.cia());this.cb(n.A0,n.mO,this.Ee,z,p);this.j$();this.SV();this.oj(this.Xh,this.Na().length-
1)}};n.prototype.cia=function(){var a=new i;a.N({cursor:g.he});a.bind(e.T,this.Y8,this,p);a.bind(e.vb,this.Z8,this,p);this.la(a);return a};n.prototype.mia=function(a){a.unbind(e.T,this.Y8,this,p);a.unbind(e.vb,this.Z8,this,p);this.removeChild(a)};n.prototype.ga=function(){var a=z;if(this.n("position")||this.n("duration")){this.p("position");this.p("duration");a=p}if(this.n("selectedStep")){this.p("selectedStep");this.j$()}if(this.n("steps")){this.p("steps");this.fE()}this.cb(n.eO,n.xz,[this.Sd],p,
p);this.cb(n.dfa,n.w0,[this.Xh],p,p);this.cb(n.A0,n.mO,this.Ee,p,p);k.prototype.ga.call(this);a&&this.tK()};n.prototype.j$=function(){var a=this.get("selectedStep");this.Ee.forEach(function(b,f){b.NE(f===a)});this.Xh.set("visible",a===m)};n.prototype.tK=function(){var a=this.Ba(),b=this.Xh.Ba(),f=this.Xh.eb(),c=this.uq(),d=this.xA(),e=d*a/c,a=Math.round((this.aJ?this.Vt:d)*a/c-b*0.5),a=Math.max(0,Math.min(a,this.Dd()-b)),b=Math.round(this.Cd()*0.5-f*0.5);this.Xh.N({left:a,top:b});this.Sd.set("width",
Math.round(e))};n.prototype.Cna=function(){this.tK()};n.prototype.Ana=function(a){this.aJ=p;this.yT=a.pageX;this.Vt=this.j("position")};n.prototype.h7=function(a){if(this.aJ){var b=a.pageX-this.yT;this.yT=a.pageX;var a=this.Ba(),f=this.uq();this.Vt=Math.max(0,Math.min(f,this.Vt+f*b/a));this.tK();if(this.get("liveDragging")){this.set("position",this.Vt);this.trigger(new d(e.aa))}}};n.prototype.Bna=function(a){this.h7(a);this.aJ=z;if(!this.get("liveDragging")){this.set("position",this.Vt);this.trigger(new d(e.aa))}this.Vt=
m};n.prototype.xna=function(a){if(!this.YU){var b=this.Ba();this.set("position",this.uq()*a.x/b);this.trigger(new d(e.aa))}};n.prototype.Z8=function(){this.SV()};n.prototype.zna=function(){this.SV();this.tK()};n.prototype.SV=function(){for(var a=this.Ba(),b=this.eb(),f=this.ca,c=this.getParent().Ba()-(f+a),d=0,e=this.Ee.length;d<e;d++){var g=this.Ee[d],j=g.Ba();g.N({left:d==0&&f==0?0:d==e-1&&c==0?a-j:Math.round(a*d/(e-1)-j*0.5),top:Math.round(b*0.5-g.eb()*0.5)})}};n.prototype.Y8=function(a){a=this.Ee.indexOf(a.source);
this.set("position",this.uq()*a/(this.Ee.length-1));this.YU=p;this.trigger(new d(e.aa));setTimeout(function(){this.YU=z}.bind(this),0)};n.prototype.uq=function(){var a=this.j("duration");return!a?1:a};n.prototype.xA=function(){return Math.max(0,Math.min(this.uq(),this.j("position")))};n.xz={barBackgroundColor:"backgroundColor",barBackgroundColorDirection:"backgroundColorDirection",barBackgroundColorRatios:"backgroundColorRatios",barBorderColor:"borderColor",barBorderRadius:"borderRadius",barBorderSize:"borderSize",
barOpacity:"opacity"};n.eO=b(n.xz).keys();n.w0={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.dfa=b(n.w0).keys();n.mO={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.A0=b(n.mO).keys();var i=
c.extend(j,function(){j.call(this)});i.prototype.NE=function(a){this.wC(a)};i.prototype.xa=function(){j.prototype.xa.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",f.F,"backgroundColor");this.h("selectedBackgroundColorDirection",f.F,"backgroundColorDirection");this.h("selectedBackgroundColorRatios",f.F,"backgroundColorRatios");this.h("selectedBorderColor",f.F,"borderColor");this.h("selectedBorderRadius",f.F,"borderRadius");this.h("selectedBorderSize",f.F,"borderSize");this.h("selectedOpacity",f.F,"opacity");this.h("selectedWidth",f.F,"width");this.h("selectedHeight",f.F,"height");this.h("selectedShadow",f.F,"shadow");this.h("selectedShadowBlurRadius",
f.F,"shadowBlurRadius");this.h("selectedShadowColor",f.F,"shadowColor");this.h("selectedShadowHorizontalLength",f.F,"shadowHorizontalLength");this.h("selectedShadowOpacity",f.F,"shadowOpacity");this.h("selectedShadowSpread",f.F,"shadowSpread");this.h("selectedShadowVerticalLength",f.F,"shadowVerticalLength")};i.prototype.ga=function(){j.prototype.ga.call(this)};return n});
define("cq",["dl","fb","b","d"],function(a,b,c,e){var d=b.extend(c,function(){c.call(this);this.Tc("ProgressBar")});d.ib={percent:0,backgroundColor:"#000000",barBackgroundColor:"#FFFFFF",barBackgroundColorDirection:m,barBackgroundColorRatios:m,barBorderColor:m,barBorderRadius:m,barBorderSize:m,barOpacity:m};a.defaults(d.ib,c.ib);d.prototype.xa=function(){this.Lj(d.ib)};d.prototype.Ha=function(){c.prototype.Ha.call(this);this.Sd==r&&(this.Sd=new e,this.Sd.N({left:"0",width:"0%",height:"100%"}),this.la(this.Sd))};
d.prototype.ga=function(){this.n("percent")&&(this.Sd.set("width",Math.round(this.j("percent"))+"%"),this.p("percent"));this.cb(d.eO,d.xz,[this.Sd],p,p);c.prototype.ga.call(this)};d.xz={barBackgroundColor:"backgroundColor",barBackgroundColorDirection:"backgroundColorDirection",barBackgroundColorRatios:"backgroundColorRatios",barBorderColor:"borderColor",barBorderRadius:"borderRadius",barBorderSize:"borderSize",barOpacity:"opacity"};d.eO=a(d.xz).keys();return d});
define("hW",["require","dl","fb","u"],function(a){var b=a("dl"),c=a("fb"),e=a("u");return{$v:[],xc:function(a,b,c,e){this.L0(a,b,c,e,z)},gza:function(a,b,c,e){this.L0(a,b,c,e,p)},L0:function(a,f,g,k,j){function n(){for(var b=[],e=0;e<f.length;e++)try{b.push(a.get(f[e]))}catch(j){b.push(m),c.OL("BindingsHandler._addBinding",j)}g.apply(this,b)}b.isArray(f)||(f=[f]);var n=j?c.op(n,this.ia):n.bind(this.ia),i=[];b.forEach(f,function(b){i.push(e.watch(a,b,n))},this);this.$v.push({nya:i,host:a,qp:f,Xaa:g});
k&&n()},Pc:function(a,f,c){var e=b(this.$v).select(function(e){return e.Xaa==c&&e.host==a&&b.isEqual(e.qp,f)});b(e).forEach(function(a){b(a.nya).forEach(function(a){a.unwatch()})});this.$v=b.difference(this.$v,e)},bAa:function(){for(;0<this.$v.length;){var a=b.first(this.$v);this.Pc(a.host,a.qp,a.Xaa)}}}});
define("kf",["require"],function(){var a=Math.PI/180,b=180/Math.PI;return{create:function(){return{x:0,y:0,z:0,w:0}},paa:function(b,e,d){var e=e*a,b=-b*a,f=d*a,d=Math.cos(b/2),b=Math.sin(b/2),g=Math.cos(f/2),f=Math.sin(f/2),k=Math.cos(e/2),e=Math.sin(e/2),j={};j.w=d*g*k-b*f*e;j.x=d*g*e+b*f*k;j.y=b*g*k+d*f*e;j.z=d*f*k-b*g*e;return j},YY:function(a){var e=a.x*a.y+a.z*a.w,d={};if(0.499<e)d.ha=-2*Math.atan2(a.x,a.w),d.jd=-Math.PI/2,d.pitch=0;else if(-0.499>e)d.ha=2*Math.atan2(a.x,a.w),d.jd=Math.PI/2,
d.pitch=0;else{var f=a.x*a.x,g=a.z*a.z;d.ha=-Math.atan2(2*a.y*a.w-2*a.x*a.z,1-2*a.y*a.y-2*g);d.jd=-Math.asin(2*e);d.pitch=Math.atan2(2*a.x*a.w-2*a.y*a.z,1-2*f-2*g);d.pitch=Math.min(Math.PI/2,Math.max(-Math.PI/2,d.pitch))}d.ha*=b;d.pitch*=b;d.jd*=-b;return d},ha:function(a){var e=a.x*a.y+a.z*a.w;return 0.499<e?-2*Math.atan2(a.x,a.w)*b:-0.499>e?2*Math.atan2(a.x,a.w)*b:-Math.atan2(2*a.y*a.w-2*a.x*a.z,1-2*a.y*a.y-2*a.z*a.z)*b}}});
define("ko",["require"],function(){var a={};a.degToRad=Math.PI/180;a.radToDeg=180/Math.PI;a.Vector2=function(a,c){this.x=a||0;this.y=c||0};a.Vector2.prototype={constructor:a.Vector2,set:function(a,c){this.x=a;this.y=c;return this},copy:function(a){this.x=a.x;this.y=a.y;return this}};a.Vector3=function(a,c,e){this.x=a||0;this.y=c||0;this.z=e||0};a.Vector3.prototype={constructor:a.Vector3,set:function(a,c,e){this.x=a;this.y=c;this.z=e;return this},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;return this},
length:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)},normalize:function(){var a=this.length();0!==a?this.Vba(1/a):this.z=this.y=this.x=0;return this},Vba:function(a){this.x*=a;this.y*=a;this.z*=a},applyQuaternion:function(a){var c=this.x,e=this.y,d=this.z,f=a.x,g=a.y,k=a.z,a=a.w,j=a*c+g*d-k*e,n=a*e+k*c-f*d,i=a*d+f*e-g*c,c=-f*c-g*e-k*d;this.x=j*a+c*-f+n*-k-i*-g;this.y=n*a+c*-g+i*-f-j*-k;this.z=i*a+c*-k+j*-g-n*-f;return this},eta:function(a){return this.x*a.x+this.y*a.y+this.z*
a.z},ata:function(a,c){var e=a.x,d=a.y,f=a.z,g=c.x,k=c.y,j=c.z;this.x=d*j-f*k;this.y=f*g-e*j;this.z=e*k-d*g;return this}};a.Quaternion=function(a,c,e,d){this.x=a||0;this.y=c||0;this.z=e||0;this.w=d!==m?d:1};a.Quaternion.prototype={constructor:a.Quaternion,set:function(a,c,e,d){this.x=a;this.y=c;this.z=e;this.w=d;return this},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;this.w=a.w;return this},Oca:function(a,c,e){var d=Math.cos(a/2),f=Math.cos(c/2),g=Math.cos(e/2),a=Math.sin(a/2),c=Math.sin(c/
2),e=Math.sin(e/2);this.x=a*f*g+d*c*e;this.y=d*c*g-a*f*e;this.z=d*f*e-a*c*g;this.w=d*f*g+a*c*e;return this},setFromAxisAngle:function(a,c){var e=c/2,d=Math.sin(e);this.x=a.x*d;this.y=a.y*d;this.z=a.z*d;this.w=Math.cos(e);return this},multiply:function(a){return this.Uba(this,a)},Uba:function(a,c){var e=a.x,d=a.y,f=a.z,g=a.w,k=c.x,j=c.y,n=c.z,i=c.w;this.x=e*i+g*k+d*n-f*j;this.y=d*i+g*j+f*k-e*n;this.z=f*i+g*n+e*j-d*k;this.w=g*i-e*k-d*j-f*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},Jxa:function(a,c){if(0===c)return this;if(1===c)return this.copy(a);var e=this.x,d=this.y,f=this.z,g=this.w,k=g*a.w+e*a.x+d*a.y+f*a.z;0>k?(this.w=-a.w,this.x=-a.x,this.y=-a.y,this.z=-a.z,k=-k):this.copy(a);if(1<=k)return this.w=g,this.x=e,this.y=d,this.z=f,this;var j=Math.acos(k),
n=Math.sqrt(1-k*k);if(0.001>Math.abs(n))return this.w=0.5*(g+this.w),this.x=0.5*(e+this.x),this.y=0.5*(d+this.y),this.z=0.5*(f+this.z),this;k=Math.sin((1-c)*j)/n;j=Math.sin(c*j)/n;this.w=g*k+this.w*j;this.x=e*k+this.x*j;this.y=d*k+this.y*j;this.z=f*k+this.z*j;return this},Pca:function(){var b,c;return function(e,d){b===m&&(b=new a.Vector3);c=e.eta(d)+1;1.0E-6>c?(c=0,Math.abs(e.x)>Math.abs(e.z)?b.set(-e.y,e.x,0):b.set(0,-e.z,e.y)):b.ata(e,d);this.x=b.x;this.y=b.y;this.z=b.z;this.w=c;this.normalize();
return this}}()};return a});
define("ea",["require","kV","bY","eJ","ko"],function(a){function b(){n||(n=p,o=new j.Vector3(0,0,1),t=new j.Quaternion,s=new j.Quaternion(-Math.sqrt(0.5),0,0,Math.sqrt(0.5)),u=new j.Quaternion,e(),window.addEventListener("orientationchange",e,z),window.addEventListener("deviceorientation",d,z),c())}function c(){if(v&&!(l===m||q===m)){v=z;var a=j.degToRad*q;u.Oca(j.degToRad*l.beta,j.degToRad*l.alpha,-(j.degToRad*l.gamma));u.multiply(s);u.multiply(t.setFromAxisAngle(o,-a));w||(x++,5<=x&&(w=p,i.trigger(new g(f.Ab))));
i.trigger(new g(f.aa))}}function e(){q=window.orientation||0;v=p;c()}function d(a){l=a;v=p;c()}var f=a("kV"),g=a("bY"),k=a("eJ"),j=a("ko"),n=z,i=new k,l,q,o,t,s,u,v,w=z,x=0;b.prototype.cn=function(){c();return u};b.prototype.bind=function(){i.bind.apply(i,arguments)};b.prototype.unbind=function(){i.unbind.apply(i,arguments)};b.prototype.stop=function(){window.removeEventListener("orientationchange",e,z);window.removeEventListener("deviceorientation",d,z)};return b});
define("gI","require,kV,bY,eJ,r,ko".split(","),function(a){function b(a){this.fva=a;this.PW=new d;this.YK=new d;this.fY=new d;this.Iu=new n.Quaternion;this.eY=new n.Quaternion;this.I$=new n.Quaternion;this.Hba=z;this.aL=new n.Vector3;this.SX=new n.Vector3;this.oua=new n.Quaternion}function c(){this.Rba=z;this.Qba=0;this.HD=new n.Vector3;this.tL=new n.Vector3;this.filter=new b(l);this.Lva=new e(q);this.Dy=o.Dy();this.mj=o.mj();o.cX();this.MX=o.Pua();this.cL=new n.Quaternion;o.mj()?this.cL.setFromAxisAngle(new n.Vector3(1,
0,0),Math.PI/2):this.cL.setFromAxisAngle(new n.Vector3(1,0,0),-Math.PI/2);this.EX=new n.Quaternion;this.cz=new n.Quaternion;this.Ava=new n.Quaternion;this.Ava.setFromAxisAngle(new n.Vector3(0,0,1),-window.orientation*Math.PI/180);this.ada();o.Uua()&&this.cL.multiply(this.EX);this.sca=new n.Quaternion;this.Dy=o.Dy();this.mj=o.mj();this.Oua=o.cX()>=66;this.Zu=this.Zu.bind(this);this.sE=this.sE.bind(this);this.rE=this.rE.bind(this);screen&&screen.orientation&&screen.orientation.addEventListener?screen.orientation.addEventListener("change",
this.Zu):window.addEventListener("orientationchange",this.Zu);this.MX?window.addEventListener("deviceorientation",this.sE):window.addEventListener("devicemotion",this.rE)}function e(a){this.Mva=a;this.XL=new n.Quaternion;this.Oy=r;this.faa=new n.Quaternion;this.uE=new n.Quaternion}function d(a,b){this.set(a,b)}var f=a("kV"),g=a("bY"),k=a("eJ"),j=a("r"),n=a("ko"),i=new k,l=0.98,q=0.04;b.prototype.osa=function(a,b){this.PW.set(a,b)};b.prototype.rsa=function(a,b){this.YK.set(a,b);o.cva(b-this.fY.qM)&&
this.jwa();this.fY.copy(this.YK)};b.prototype.jwa=function(){if(this.Hba){var a=this.pua(this.YK.sample,this.YK.qM-this.fY.qM);this.oua.multiply(a);this.Iu.copy(this.eY);this.Iu.multiply(a);a=new n.Quaternion;a.copy(this.Iu);a.inverse();this.aL.set(0,0,-1);this.aL.applyQuaternion(a);this.aL.normalize();this.SX.copy(this.PW.sample);this.SX.normalize();a=new n.Quaternion;a.Pca(this.aL,this.SX);a.inverse();var b=new n.Quaternion;b.copy(this.Iu);b.multiply(a);this.Iu.Jxa(b,1-this.fva);this.eY.copy(this.Iu)}else{this.I$=
this.nsa(this.PW.sample);this.eY.copy(this.I$);this.Hba=p}};b.prototype.cn=R("Iu");b.prototype.nsa=function(a){var b=new n.Vector3;b.copy(a);b.normalize();a=new n.Quaternion;a.Pca(new n.Vector3(0,0,-1),b);a.inverse();return a};b.prototype.pua=function(a,b){var f=new n.Quaternion,c=new n.Vector3;c.copy(a);c.normalize();f.setFromAxisAngle(c,a.length()*b);return f};c.prototype.stop=function(){screen&&screen.orientation&&screen.orientation.addEventListener&&screen.orientation.removeEventListener("change",
this.Zu);window.removeEventListener("orientationchange",this.Zu);window.removeEventListener("deviceorientation",this.sE);window.removeEventListener("devicemotion",this.rE)};c.prototype.Pr=S(r);c.prototype.cn=function(){var a=m;if(this.MX&&this.FG){this.haa=this.haa||function(){var a=(new n.Quaternion).setFromAxisAngle(new n.Vector3(0,0,-1),0),b=new n.Quaternion;this.BJ=="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.gaa=this.gaa||function(){var a=new n.Quaternion;a.setFromAxisAngle(new n.Vector3(1,0,0),-Math.PI/2);return a}();var a=this.FG,b=new n.Quaternion;b.copy(a);b.multiply(this.gaa);b.multiply(this.sca);b.multiply(this.cz);b.Uba(this.haa,b);if(this.qAa){b.x=0;b.z=0;b.normalize()}this.UL[0]=b.x;this.UL[1]=b.y;this.UL[2]=b.z;this.UL[3]=b.w;return this.UL}a=this.Lva.dua(this.filter.cn(),this.tL,this.Oy);b=new n.Quaternion;b.copy(this.cL);b.multiply(this.sca);b.multiply(a);b.multiply(this.cz);return b};
c.prototype.sE=function(a){this.FG=this.FG||new n.Quaternion;var b=a.alpha,f=a.mza,a=a.Bza,b=(b||0)*Math.PI/180,f=(f||0)*Math.PI/180,a=(a||0)*Math.PI/180;this.FG.Oca(f,b,-a)};c.prototype.rE=function(a){var b=a.rotationRate;if(b){var c=a.accelerationIncludingGravity,a=a.timeStamp/1E3;this.Dy&&(a=a/1E3);var d=a-this.Oy;if(d<=o.TZ||d>o.RZ)this.Oy=a;else{this.HD.set(-c.x,-c.y,-c.z);this.tL.set(b.alpha,b.beta,b.gamma);(this.mj||this.Dy||this.Oua)&&this.tL.Vba(Math.PI/180);this.filter.osa(this.HD,a);this.filter.rsa(this.tL,
a);this.Oy=a;if(!this.Rba){this.Qba++;if(this.Qba>=5){this.Rba=p;i.trigger(new g(f.Ab))}}this.BJ!=this.saa()&&this.Zu();i.trigger(new g(f.aa))}}else{this.MX=p;window.addEventListener("deviceorientation",this.sE);window.removeEventListener("devicemotion",this.rE)}};c.prototype.bind=function(){i.bind.apply(i,arguments)};c.prototype.unbind=function(){i.unbind.apply(i,arguments)};c.prototype.Zu=function(){this.ada();i.trigger(new g(f.aa))};c.prototype.ada=function(){this.cz.set(0,0,0,1);this.BJ=this.saa();
switch(this.BJ){case "landscape-primary":this.cz.setFromAxisAngle(new n.Vector3(0,0,1),-Math.PI/2);break;case "landscape-secondary":this.cz.setFromAxisAngle(new n.Vector3(0,0,1),Math.PI/2)}this.EX.copy(this.cz);this.EX.inverse()};c.prototype.saa=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.HD.z>4.9||this.HD.z<-4.9?a=this.BJ||a:this.HD.x>0&&(a="landscape-secondary"));return a};e.prototype.dua=function(a,b,f){if(!this.Oy){this.XL.copy(a);this.Oy=f;return a}f=new n.Vector3;f.copy(b);f.normalize();b=b.length();if(b<n.degToRad*20){this.uE.copy(a);this.XL.copy(a);return this.uE}this.faa.setFromAxisAngle(f,b*this.Mva);this.uE.copy(this.XL);this.uE.multiply(this.faa);this.XL.copy(a);return this.uE};d.prototype.set=function(a,b){this.sample=a;this.qM=b};d.prototype.copy=function(a){this.set(a.sample,
a.qM)};var o={TZ:0.001,RZ:1,cva:function(a){return isNaN(a)||a<=o.TZ||a>o.RZ?z:p}};o.mj=function(){var a=/iPad|iPhone|iPod/.test(navigator.platform);return function(){return a}}();o.Oza=function(){var a=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);return function(){return a}}();o.Dy=function(){var a=navigator.userAgent.indexOf("Firefox")!==-1&&navigator.userAgent.indexOf("Android")!==-1;return function(){return a}}();o.cX=function(){var a=navigator.userAgent.match(/.*Chrome\/([0-9]+)/),
b=a?parseInt(a[1],10):r;return function(){return b}}();o.Pua=function(){var a=z;if(o.cX()===65){var b=navigator.userAgent.match(/.*Chrome\/([0-9\.]*)/);if(b)var b=b[1].split("."),f=b[3],a=parseInt(b[2],10)===3325&&parseInt(f,10)<148}else"getVRDisplays"in navigator&&j.browser()==j.uj&&j.TD()&&j.Wc()==j.cF&&(a=p);return function(){return a}}();o.Uua=function(){return window.orientation==90||window.orientation==-90};return c});
define("fO","require,fb,kV,bY,eJ,kf,r,ea,gI,jf".split(","),function(a){function b(){function a(){q=p;i.trigger(new e(c.aa))}function b(){var e;s&&(f||!l)?e=u:l&&(e=d);if(o!=e){if(o){o.unbind(c.aa,a);o.stop()}if(o=e){o.bind(c.aa,a,this,p);a()}}}var f=g.ge()==g.zj||n.Wf("debug")&&n.hn("sensor")=="deviceorientation",d=new j,l=z;d.bind(c.Ab,function(){l=p;b()},this,p);var u=new k,s=z;u.bind(c.Ab,function(){s=p;b()},this,p)}a("fb");var c=a("kV"),e=a("bY"),d=a("eJ"),f=a("kf"),g=a("r"),k=a("ea"),j=a("gI"),
n=a("jf"),i=new d,l={},q=z,o,t=[],s=z,u=z;l.kY=function(a){a&&t.push(a);if(l.disabled){if(g.ge()==g.zj&&window.DeviceMotionEvent&&DeviceMotionEvent.requestPermission){DeviceOrientationEvent.requestPermission().then(function(a){if(a==="granted"){u=p;f()}});DeviceMotionEvent.requestPermission().then(function(a){if(a==="granted"){s=p;f()}});var f=function(){if(l.disabled&&s&&u){l.disabled=z;for(b();t.length;)t.pop()()}};f()}}else for(;t.length;)t.pop()()};l.bind=function(a,b){i.bind(c.aa,a,b)};l.unbind=
function(a,b){i.unbind(c.aa,a,b)};l.zva=function(){return q};l.cn=function(){q=z;if(o){var a=o.cn(),a=f.YY(a);return{yaw:a.ha,pitch:a.pitch,roll:a.jd}}return{yaw:0,pitch:0,roll:0}};if(g.ge()==g.$N||g.ge()==g.kea){l.available=z;l.disabled=z}else if(g.ge()==g.gZ&&g.browser()==g.uj&&window.location.protocol!="https:"&&window.location.hostname!="localhost"){l.available=p;l.disabled=p}else if(g.ge()==g.zj){l.available=p;l.disabled=p;if(!window.DeviceMotionEvent||!DeviceMotionEvent.requestPermission){var v=
function(){window.removeEventListener("deviceorientation",v,z);l.disabled=z;b()};window.addEventListener("deviceorientation",v,z)}else l.kY()}else{l.available=window.DeviceMotionEvent!=m;l.disabled=z}l.available&&!l.disabled&&b();return l});define("jw",["require"],function(){return{Nya:"single",FRONT:"front",na:"left",BACK:"back",Ja:"right",hb:"top",gb:"bottom"}});
define("gP",["require","jw"],function(a){var a=a("jw"),b={},c=Math.PI/180,e=new THREE.Matrix4;new THREE.Matrix4;var d=[new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3];b.Gd=Math.pow(10,3);b.MM=0.5*b.Gd;b.Eea=b.Gd;b.L_=[a.FRONT,a.Ja,a.BACK,a.na,a.hb,a.gb];b.aaa=function(a,c){for(var d=b.Gd,e=b.MM,n=a*c,i=this.Qn(),l=[],q=0,o=6*n;q<o;q++)l.push(q);var q=[],t=n;q.push(this.Sv(i,a,c,-e,+e,-e,+d,0,-d,0,l.slice(0,t)));o=t;t+=n;q.push(this.Sv(i,
a,c,+e,+e,-e,0,+d,-d,0,l.slice(o,t)));o=t;t+=n;q.push(this.Sv(i,a,c,+e,+e,+e,-d,0,-d,0,l.slice(o,t)));o=t;t+=n;q.push(this.Sv(i,a,c,-e,+e,+e,0,-d,-d,0,l.slice(o,t)));o=t;t+=n;q.push(this.Sv(i,a,c,-e,+e,+e,+d,0,0,-d,l.slice(o,t)));o=t;q.push(this.Sv(i,a,c,-e,-e,-e,+d,0,0,+d,l.slice(o,t+n)));i.mergeVertices();i.computeFaceNormals();i.userData.type="cube";i.userData.pba=a;i.userData.Ada=c;i.userData.Hva=q;return i};b.ly=function(){var a=this.Qn();this.S0(a,-0.5,0.5,0,1,0,0,0,-1,0,0);a.mergeVertices();
a.computeFaceNormals();a.userData.type="plane";return a};b.$$=function(a,b,c,d,e,i,l,q,o,t,s,u){var v=this.Qn();v.vertices.push(new THREE.Vector3(a,b,c));v.vertices.push(new THREE.Vector3(d,e,i));v.vertices.push(new THREE.Vector3(l,q,o));v.vertices.push(new THREE.Vector3(t,s,u));v.faces.push(new THREE.Face3(0,2,1,r,r,0));v.faceVertexUvs[0].push([new THREE.Vector2(0,1),new THREE.Vector2(1,0),new THREE.Vector2(1,1)]);v.faces.push(new THREE.Face3(0,3,2,r,r,0));v.faceVertexUvs[0].push([new THREE.Vector2(0,
1),new THREE.Vector2(0,0),new THREE.Vector2(1,0)]);v.mergeVertices();v.computeFaceNormals();v.userData.type="quad";return v};b.$ca=function(a,b,c,d,e){var i=a.faceVertexUvs[0][0];i[0].x=b;i[0].y=c+e;i[1].x=b;i[1].y=c;i[2].x=b+d;i[2].y=c;i=a.faceVertexUvs[0][1];i[0].x=b;i[0].y=c+e;i[1].x=b+d;i[1].y=c;i[2].x=b+d;i[2].y=c+e;a.uvsNeedUpdate=p};b.ep=function(){return b.MM};b.pX=function(a,b){return 2*a*Math.tan(0.5*b*c)};b.qX=function(a,b){return 2*a*Math.tan(0.5*b*c)};b.Ou=function(a){return Math.max(Math.min(3.539647*
a-6.669366*a*a+4.7454*a*a*a,b.MM),0.1)};b.Qn=function(){var a=new THREE.Geometry;a.userData={};return a};b.Sv=function(a,b,c,d,e,i,l,q,o,t,s){for(var u={},v=0,w=0;w<c;w++){u[w]={};for(var x=0;x<b;x++)this.S0(a,d+l*x/b+0*w/c,e+0*x/b+o*w/c,i+q*x/b+t*w/c,l/b,0/b,q/b,0/c,o/c,t/c,s[v]),u[w][x]=a.faces.slice(a.faces.length-2,a.faces.length),v+=1}return u};b.Gza=function(a,b,c){b=0.5*b/Math.tan(0.5*c);e.copy(a);a=d[0];a.x=0;a.y=0;a.z=0;a.applyMatrix4(e);var c=Math.sqrt(a.x*a.x+a.y*a.y+a.z*a.z),j=b/a.z,n=
d[1];n.x=a.x*j;n.y=a.y*j;n.z=b;return c/Math.sqrt(n.x*n.x+n.y*n.y+n.z*n.z)};b.Vta=function(a,c,d){e.copy(c.matrixWorldInverse).multiply(d);switch(a.userData.type){case "cube":return b.vka(a,e,c.projectionMatrix);default:return b.wka(a)}};b.Rta=function(a,c,d){switch(a.userData.type){case "plane":return b.cka(a,c,d);case "quad":return b.E3(a,1,c,d)||b.E3(a,0,c,d);default:return r}};b.S0=function(a,b,c,d,e,i,l,q,o,t,s){var u=a.vertices.length;a.vertices.push(new THREE.Vector3(b,c,d));a.vertices.push(new THREE.Vector3(b+
q,c+o,d+t));a.vertices.push(new THREE.Vector3(b+e+q,c+i+o,d+l+t));a.vertices.push(new THREE.Vector3(b+e,c+i,d+l));a.faces.push(new THREE.Face3(u,u+1,u+2,r,r,s));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,r,r,s));a.faceVertexUvs[0].push([new THREE.Vector2(0,1),new THREE.Vector2(1,0),new THREE.Vector2(1,1)])};b.cka=function(a,b,c){var e=a.faces[0],n=a.faces[1],i=d[0],l=d[1],q=d[2];i.copy(a.vertices[e.a]).applyMatrix4(b);
l.copy(a.vertices[n.c]).applyMatrix4(b);q.copy(a.vertices[e.b]).applyMatrix4(b);var b=l.x-i.x,n=l.y-i.y,o=l.z-i.z,l=q.x-i.x,t=q.y-i.y,q=q.z-i.z,s=n*q-o*t,u=o*l-b*q,v=b*t-n*l,w=c.direction.x*s+c.direction.y*u+c.direction.z*v;if(0!=w&&(v=-(s*(c.origin.x-i.x)+u*(c.origin.y-i.y)+v*(c.origin.z-i.z))/w,!(0>=v)))return s=c.origin.x+c.direction.x*v-i.x,u=c.origin.y+c.direction.y*v-i.y,i=c.origin.z+c.direction.z*v-i.z,c=(b*s+n*u+o*i)/(b*b+n*n+o*o),i=(l*s+t*u+q*i)/(l*l+t*t+q*q),b=a.faceVertexUvs[0][0][0],n=
a.faceVertexUvs[0][1][2],l=a.faceVertexUvs[0][0][1],a=b.x+(n.x-b.x)*c+(l.x-b.x)*i,b=b.y+(n.y-b.y)*c+(l.y-b.y)*i,0>c||1<c||0>i||1<i?m:{tda:a,xda:b,materialIndex:e.materialIndex}};b.E3=function(a,b,c,e){var n=a.faces[b],i=d[0],l=d[1],q=d[2];i.copy(a.vertices[n.a]).applyMatrix4(c);l.copy(a.vertices[n.b]).applyMatrix4(c);q.copy(a.vertices[n.c]).applyMatrix4(c);var c=l.x-i.x,o=l.y-i.y,t=l.z-i.z,l=q.x-i.x,s=q.y-i.y,q=q.z-i.z,u=o*q-t*s,v=t*l-c*q,w=c*s-o*l,x=e.direction.x*u+e.direction.y*v+e.direction.z*
w;if(0!=x&&(w=-(u*(e.origin.x-i.x)+v*(e.origin.y-i.y)+w*(e.origin.z-i.z))/x,!(0>=w))){u=e.origin.x+e.direction.x*w-i.x;v=e.origin.y+e.direction.y*w-i.y;e=e.origin.z+e.direction.z*w-i.z;if(0!=(i=s*c-l*o))c=(v*c-u*o)/i,o=(v*l-u*s)/-i;else if(0!=(i=q*c-l*t))c=(v*c-u*o)/i,o=(v*l-u*s)/-i;else if(0!=(i=q*o-s*t))c=(e*o-v*t)/i,o=(e*s-v*q)/-i;else return;if(!(0>o||1<o||0>c||1<c||1<o+c))return l=a.faceVertexUvs[0][b][0],s=a.faceVertexUvs[0][b][1],a=a.faceVertexUvs[0][b][2],{tda:l.x+(s.x-l.x)*o+(a.x-l.x)*c,
xda:l.y+(s.y-l.y)*o+(a.y-l.y)*c,materialIndex:n.materialIndex}}};b.vka=function(a,c,d){var e=Array.prototype.concat.apply([],a.userData.Hva.map(function(e){return b.S3(c,d,e,a.vertices,0,0,a.userData.pba,a.userData.Ada).map(function(a){return a.materialIndex})}));return b.Z3(e)};b.wka=function(a){a=a.faces.map(function(a){return a.materialIndex});return b.Z3(a)};b.Z3=function(a){var b={};a.forEach(function(a){b[a]=p});var a=[],c;for(c in b)a.push(c);return a};b.S3=function(a,c,d,e,n,i,l,q){var o=
[];if(b.Dqa(a,c,e[d[i][n][0].a],e[d[i+q-1][n][0].b],e[d[i+q-1][n+l-1][0].c],e[d[i][n+l-1][1].c]))if(1==l&&1==q)o.push(d[i][n][0]);else{i=1<q?[i,i+Math.ceil(0.5*q),i+q]:[i,i+q];n=1<l?[n,n+Math.ceil(0.5*l),n+l]:[n,n+l];for(l=1;l<i.length;l++)for(var q=i[l-1],t=i[l]-q,s=1;s<n.length;s++)var u=n[s-1],o=o.concat(b.S3(a,c,d,e,u,q,n[s]-u,t))}return o};b.Dqa=function(a,b,c,e,n,i){var l=[r,r,r,r,r];d[0].copy(c).applyMatrix4(a);d[1].copy(e).applyMatrix4(a);d[2].copy(n).applyMatrix4(a);d[3].copy(i).applyMatrix4(a);
c=0;e=4;for(a=0;4>a;a++){var n=d[(a+3)%4],i=d[a],q=d[(a+1)%4];if(0>=i.z)l[c++]=i;else{if(0>=n.z){var o=d[e++],t=n.z/(n.z-i.z);o.x=n.x+(i.x-n.x)*t;o.y=n.y+(i.y-n.y)*t;o.z=-1.0E-5;l[c++]=o}0>=q.z&&(o=d[e++],t=i.z/(i.z-q.z),o.x=i.x+(q.x-i.x)*t,o.y=i.y+(q.y-i.y)*t,o.z=-1.0E-5,l[c++]=o)}}if(2<c){for(a=0;a<c;a++)l[a].applyMatrix4(b);a=0;for(b=c-2;a<b;a++)if(c=l[a],e=l[a+1],n=l[a+2],!(1<c.x&&1<e.x&&1<n.x||-1>c.x&&-1>e.x&&-1>n.x||1<c.y&&1<e.y&&1<n.y||-1>c.y&&-1>e.y&&-1>n.y))return p}return z};b.baa=function(a,
d,e,j,n,i,l,q,o){for(var t=a*c,s=0.5*-t+0.5*Math.PI,u=d*c,v=0.5*(Math.PI-u)-e*c,w=0.5*b.Eea,x=64/Math.PI,y=Math.max(2,Math.ceil(t/j*x)),x=Math.max(2,Math.ceil(u/n*x)),E=j*y,B=n*x,M=this.Qn(),A=0,K=[],G=0;G<=B;G++){for(var F=[],H=v+G*u/B,I=0;I<=E;I++){var N=-(s+I*t/E);M.vertices.push(new THREE.Vector3(-w*Math.cos(N)*Math.sin(H),+w*Math.cos(H),+w*Math.sin(N)*Math.sin(H)));F.push(A++)}K.push(F)}for(s=t=0;s<n;s++){u=s*x;for(v=0;v<j;v++){w=v*y;for(G=0;G<x;G++){E=l+(1-G/x)*o;B=l+(1-(G+1)/x)*o;for(I=0;I<
y;I++){var A=i+I/y*q,F=i+(I+1)/y*q,H=K[u+G][w+I],N=K[u+G+1][w+I+1],O=K[u+G][w+I+1];M.faces.push(new THREE.Face3(H,K[u+G+1][w+I],N,r,r,t));M.faceVertexUvs[0].push([new THREE.Vector2(A,E),new THREE.Vector2(A,B),new THREE.Vector2(F,B)]);M.faces.push(new THREE.Face3(H,N,O,r,r,t));M.faceVertexUvs[0].push([new THREE.Vector2(A,E),new THREE.Vector2(F,B),new THREE.Vector2(F,E)])}}t++}}M.mergeVertices();M.computeFaceNormals();M.userData.type="sphere";M.userData.Yc=a;M.userData.Yl=d;M.userData.pitch=e;M.userData.pba=
j;M.userData.Ada=n;return M};return b});
define("bI",["require"],function(){return{fs:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAckAAACACAMAAABXwWJTAAAAYFBMVEUAAACAgICAgICAgIDzbUSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUSAgIBEWPGZAAAAHnRSTlMAgL9AgBDvn2Aw388gj69wUO8QRb9gn98gzzCvcI9pmC3GAAAPKUlEQVR42uyc65raIBBABxAISUiy6rq3Vt7/LXvb7YATIEmxX9ScX7YiZnMyyGUANu6O1+fdbfH8ChuU55fz7XE8wEbI+9v5NjkujEvRW87dT2resaGFe+H5fLM8vcNcZNUpF9JYA/fA4XzDzFXZauXGqCsJq8J9wmAyr0/nW+ZtP8uji6IYrIkFJk/n22YHk2EuSS1gPcw3+Xq+cZ6mBqVpXA67niZ2vsnv51vnGSZRuQk0q+nHzjd5qwMQ5ART0G4Sai292PkmzzfP2yKR3LJf6MaFWFgHj2jyPFuksgLfkoP/poaVsJkcxYZDR7hAMrU2kZvJbGdH9TCC1CsTuZkcw6gJnVOhViVyMzlGM+lnsG04rIjNJIUlRSJyPdMCm8kxpFpfx3QzOc7UAUgDN8Rm8pIWe62rmYnbTEaY+CvZwy2xmbxEuU9quCk2kxcM7osKborN5AW6VEia3vJfdExISCKY5r+wvclVqT9rnGFSDuzrOh7LZF1kjaNltfPoqrhG7Txq20IE6VdZMwlg+R+qhEnROUTZ9nFMYs/VwGKkHkngGvfISUlOXeKcPaIG4OguYtKQ6tnDmKzcJwoWUyk3AjdUT+fGYEAw9UixrEnmKI15EJPMfdLBUrQbR1VpPUgjpyWipE1KHUlyeAyTHd6QZcjGRanIiksEZYjI+SZ5tPKHMMmTYxDuonBahFKlRSKqJSLnmtSJyh/KpJhpUmGyQQKsVdYOSTawxi0x2QcXxzn3K99MpgIOfiEcUv8ZHg5aef8nsRlHukoCQFv51dsx5coKTCRKmmy9L9Xmdz0VVsQ2kzmT9VjSiOyooGG0Nyk8a4Z2QK3EpOqMST1Wvcb2dTMZxwR3vTGRLksLF8o1GZcEnec20mHSSZNt0EzTD9kHMsnmmhToB1tRqtJehKQmXxE6t6FIpEuZtIFI+pOr5N2btHjH58ck+jHRelWooYlnLNhwaYaRggmT9WgfmHvxffcmGY4q5v9Oagw0KsiXLF28Ea8CyQOJclqQmjT4j8hMcH33JoVnhmIEQWN5jJ828Ygw3w9PzeFLP5b7eEFqssdGFOfpA1R77ybBfTHAJDpsNdvETF/4JkvNP1g/XjlqJdioSY3fheMPj6a6/x4P8Jl5dQ1Gl8D4SYRak/EDwneSSg4boia595pur9fmEWYGvLkRCROQXv+ETRvBeK9VpEpqUgOljZps/l7IwF1I3cvFM+jH42m3Ox5figt5OR53u9PxWNQkjsTYrO2yVc4kGzHJc3kcInkxEZP4uqtdSDcsXZ98+4ZHbewPp6diFp9Ohz0eD7R7KWYSuDfmQrKlW8+VXIvJEMXapdkfp1cI2X97KRONZIP54VjKZOVmLFEK/B3LxaRdYtIsM6kchZPe1b+dR7XfFYhH9Oi7fCtjEuoZ3Vc+OrYYkkXD15R26u+kyfV4EKUNEGbe7vInpR33MM6ujMmKrsnmi7Z+gNpUHi33pxBMqtJ+ed+V9nJG+OejqPYf1zrv4fBUwiQ0ZBEqglFhQ5xKsBz86OpRFkWPjifbeEFqkjkPLf4l3/XtFRKcrnUEy/tTCZMitw+WrhyK8BEQCT8VAJiEc5zJI1NDIVJFTQ5eOmX8LyhxONzyqPwOSd5LmARLkl4yO5+77KStCJc46nhQ2qBSE+9JMxc1KROD4mqWyYxI2C/9rfwocswl5KDruJRKkcSY1sUEySaUbPGjUeUVBM478iDFTUIX7SlZTKgtcjLc+9UOKvsoYbJVudPpWu4c9cbzi4kVkJXgcT/qMmWAkWcjbrKKXUjlpTOUOblo2WDkAFn2TwVMgkkPxQY0E0SL8O0ikvurSTQ7AxEK/ZAd1haQtklnf9TjKpmf517kfsP+Zcn4A8o8I/MPrVO6Ml+SK62iecaeYS7GctKHkahnEs8gpd3m3vsmQfYWxEwO3oPW4t6FIMuozP2Gb8tCskhQzt4SgLmGKp0wLpX/DhuECL13ACgI6XohBOvG8ym5Q2qLVSZNQhdciBBisPXFhSwdJ9AbPpe3UoddQop8ZjEViYjJhbVLwcjTQUiblCp7IdleydUO/P1W6gDaxfsCKN2cLRzKTK1ek2dqrkkwKi0yb/Ljasfiv8I0XpaZpDCXowdClRWZV6lJ8zDfJBiVFgmFIgf2sxdAip0lDFNpuSNktzoOKlJaTt3VxSad/qzqhEn6KdqO5LslhUKHBnupaIfpCB73KGL+u6nn3w+1ozQCCNLSYoYnTNJP0eT4YrfpeK2T6A8FTQK0VjmK0mKWf91CaqsyUlfTqtQSoiaRVpPrllDc5Me1TL6XuUREMB6Ggx0gg7FNuIMnyqAVatRDqso6XG4MTbJPBAS0vXchvJcA5U3uyh5EX/QSKUb0n3fKwDSkqNhPBpEPe8F+0os2W3BgP/mapECTGfwLWYPJQzmT9wGPJM3+99t0ulbr+vogJn+0d6bbbcJAFNZibQgBDt5iJ/X7v2Xt1OogRmx2RFyX+6enwYiTfB6BRsMdSAdN0//6xPMMEtqK7ioEkYjk8aVWIc+grypy11mFYEkiktsXygw8gzSLF2+Zh8287quYwqqTZeveX4mk6yj/EPYxM6//KYP+HMphsWmiIDOSiuSv+od3tVYvRZK4IM+GrSV0OpKb8Y8lSVaU69ciKWTTxaXihPPAVZLcrW/6gyer/vj49VokBzaveUqSm3+/IuuppHtAOpKAJOgjVa/n/ZgqyZcj2YNSkbQk18dU7Uh3w7ffFyRJdAqQ5DtiZ9d95mm1Wp3W94b7cf2SJInJ4nvGD2l8q/npIHc+mOvTvW/4vCZJQqiMbF4nJAkoj5NA4nPq9YSohHNeliQRmiHr+4QkQeuaxHV47wrIt3FvAZ3eutcfL0zyIsEpdUxRygFjKpLDf/GP9cDDzDDKfR39hmx+vTpJpLQkQesVYrndd07HU94d2dSI42XKXkgmIOl12jZg1p/rae/THXuejj+PDYzbSzwuJNOQBL1vVlftNndkbz56Q37zubrqy7NpIZmE5HR9PlQhspB8GpLrt969xoXkVf8EyW1/JcdC8qp/geT7wNbGT5E0pbfws0oL8h3K+UXGm/4KMqv4VSIlyXpgu/FnSGp7DlRw8rio9/9gsLk4m2BDMxHJzfCW9PwkdXZGKvKFZK/qoX2q+UkKdo5JVgvJ/pCcOSgnbSJljDX+pxeSvSE5c1CONouwvnMyd56mXkj2hOTcQTkSJOMRWxe7kOwJybmDcpTnhyxjvXjVMrs+Uoi3n5Wk6zSRVGe1PPE8VBy7nZMkB5BIelmFPPg+0H5GkqzbynzJDPS/fzV/UA6HpBubehtbtsF7SMJhLMNNZ+otH+uQkM9AckfGaT8bSTWyVQhX2fkqWWgRJFWFd/7Ibm1WdCHB9wWTrG6HCzQN6FvWNys0CSRK5k1IgLNP6Iqv6zEn/ljQ2NtySiQmeSDjtJ2NpBwVkoahulOPiUNj17JlnsQMIsmzLktgnXW59FAZ8+m6DVxJMPoVKnB2QiTnDUkoWp+xa6GZaBlaiAZJ8IsT7V7qUvOQpEY2eF3pQiY6jsiqQTLo32uy1ggsHckDGas6PUmAkU0u7rdwMtjWqYgzXRiT6LDyuGynoyg+UgFJCsb52IGQIZKJQzJ9HcjQbbIY55KeKUoZhMCNJIQMv0ak/6TzPweSXozSApKBAUjrqLMBSgcnqcy74nuSVsIlhMTDJyN5IONVz0OSjTCdKpp3NUGheQQF43QjeEl4kPUTDpME72x+A2YauFQemM85eFnd+ZMgkuFtWS5MxW8XkH74LCXJHZmizdOQVNJHSGOuVQ2SOujQpUK/eiAZZiCE+nuMwzDBdM49O93KLF6JtyZhjYZPSPJApqh+GpJElJnMW/dWCSQrhNiLt0lKg2Kd+2OagDS4qPMgZyik/2gIkmRoeJaM5I5M0+ZpSF5k0Mol9yQdjIVac9EWyRI7CiiSR5ITrtFcS4j2iFe0YSMZHhs+FckDmab6mUhCgVNjlU+DXmYisp8pQpKSgCC4y5j9DpAJK7u4HzCcAFzkGdwlIvlJpmozF0k3xr/X/n0u5bRJ0oZTqcBPS0DSxbx3TAFMQKrxQ11IMGwNSFZ9v4dJQxKKlecPyuEM94CEChfnTZIKDdWdQa9iTUwr5mMZdQJn2HJbBiRzlCxPn0FfEfJjQTm46BeTW4kASYruYE21cjzRuR1T8CfKuA0+kCRe+NfA10wekumDctBcTA+BHE2SfivJM4AcQ5IkJQkh+XNBOdiwkI1p5Kyq/Iq+UnOS1L5f79dxXtoEJNOFJKhOT7Lsd56CNTeHOLbdJBk6eZBkmflDyJfX+mSDQPdPTBJvBLQGnjEksXbJSQo51KC5QKyLKEkdS8a7gGQZfSRBKyH4XhjUctYgkgBNo77BiGT6kEz5Ft6a9In2eRZdg0Gi41mUpInFRRaQZDE/bOH8YgadSEvUfVvHSRaRnQDdIrlOHJLpg3IzxrtRxRcfVhD0TFTF75OAHMRbOZ4cT64WxkMncrzpZuMkdXT4cNzTjCGJdUiXkwAwGCWkq61o58FE1kHSISLCtkiy4MJ+ZJjgw2tkkOKF22ScpMDD63bedZs4JNMH5XGcN67l0UIB6ydIoNNBMkdJcoX2QlR7cSOFn+CtaF+DoglSo1WIl8LDt0m+rWcMSaxDsskVu/4rjo3lzy78GxnbXk+iGmgOnfMQSWhgWco/tCDKrQmbMmei/eWg506SuUTDI0PYjzlDEms3Q620gkZXJb+IFo2SDu6LpHIiKtWZGQAiZ3b9KHcyutMsHSck918UG5jzqkp8XQMYMPiOmTLDmQGQbgxv/PBAEq3PE5i0Jg7Kz4d6iOomBC+GSHZmg2xAEh2WAjDgSwNjEEMkvVS8YSVHNmSTBeavj2k7x64oz2IcrYm1QNYUkexCaaswg+6nZtR+QGOQ0e+YFYhkJ0qNsxFvmzlBYpQpIxJ3hsRFp3kAQJMOkvijSrSydYKhSsj4VynjUcZWkE6ScG/0t2sg2esjONot9HHV+3sn9nqSDWcRtOCsCIhmjWpkotlF/l8dMSyAyizDLnKEEHc7p7IQr+jEaOGyKYI+s35AdhXq4wQfFXDNQG/b0x0wT1vykODq73dg3NVkqnhJFWOKaoOOUMcYLfNRZjDoo+iwK03sCC1YgS+ea1owRSsyLFHdPrroZfUb1yq7sW9wtnAAAAAASUVORK5CYII=",Zda:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAdAAAADzCAMAAAABzLceAAAAdVBMVEUAAAAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyAjHyBXyBg6AAAAJ3RSTlMAsx6tiweSVEKneZtMoGZ/E1kLlyhGM4MjhmIaLXM9Fjlebg9qT6R+WQwnAAAdy0lEQVR42uyc65aiMAyAU66CAgKCIBcFxPd/xD07QtOm3Zk9zJ79wfT75RWcfCQpEQcMBoPBYDD8Y+7FLfGO0dFzurR04f+RlfOtC5NwHE6X/7Fft5yfYV3X1y493GGvtInNBKJhUuIe1omIM4NEKT1d33j8uqv0REV23L3E/cYWiNyc+gMnhQ+m6/pAiVuoxc0X/ONc3w+MIGHFEUPsuoc94o6MEpVUOSN4IOEzCXtNtobJPEAgU3ecgoDHFuqljLCVE6ycmMgR3hRsIQAR32aE6xl2h+swDcRowQhBBiIzk2nWVPlks1POVJ6AXNlCuAjlPg6wctDut2cLOQg8mUpQwd4ImQ57kqsff5wtVESoXtzpkwz1mI5iu1BM3YdOqM90vDLYFyXTcwMEYxuENsZUE6xgsTRLSfHi7nrgpExL4H5HaPhnoQ3TM8K+uGIDGk5pjm0URKI1QIUtCad2gmfAo4Rb90bVhBuwlTyOr4zTbxaKnaDUCB2FV3mRVKb3xJkHycsAwK3ZigWIxRZqHtQERAZe83JxGeO+7yU+FlS1MnSuJGbcIBR5/EloFmBdniArI7wLe6Ilbe9C7pMSFmKuutoeW74tHF1Rwa1Qg5eSGtvxhecmofZy5hXrhOIfhu3AsvdZc/EIfy/gp0C3fvGxszraShWzhfYmPtsu8e9RqFIBHbJ8crZl6JwLBltVaE+bdIInRXvihK2ElOAekI4LwZul9ozgcljEimc71YOHXV1ce+SDeNuElk/sFDqhM91+jEfQnijYSvwWGtkL2jOMErulDwjmm1Ut5sWguTzsvnqM2NY/ydBLKRwyF1VoSrcf42v2REnP4bJpwQXOZHNfeAR0WqGVux4eWNZe+KZU7bosv3/s11poNmaoK7Tg6i+EDsz+YGcZemfIM/tq5RRleNsDXU1u4Sg0pvwdQky/QTd7ej2AsEFoAR5ORP5GaNacP2gm2BUOQ6ICKLQc4hEQnHXjpnLRcBQa8hM3cBOPJGS8f1voCQZczFkaoftsmV9NipwSNMRCZN2Idy2t0KWW2ndsZScUGktVGrGH7JtC57V2jD9cKIxMImk/iewgpnQBSIJCcZmLN2fN7D2LmEg0f1eoG/FT4Mb+wUIXGUjXgAwmZSG2y1i3jRYqfOmw1uYTCkWaiEnk/XeE+vzQvHwttBkEZtgbI5OxTyBhsZULiYwa+3bNvBvX7AEU2qlM4zGZq/UtoQ9eRu5fCH0wEdgdJ5vJhBkI9Nz0XQzhywVOjUKX2wlf5HaC0I4eSoRis9CUj2s9gHPwudBS/lZ8fzS07B7vusn70ZWmv5VmrdyuU6Och9UXhIYg00dMJt0sFAt/Y4QC9EcmEU2aJexVDmuvEXpZh2z2tC5yS1Uokg2kOvgbhQ54blvAZISC6wdMpAaOJ3fAiGQTFdout9ZgN0LYE1BoSN1ttwm94QtCcF+fC22DKAp2LhTgHNNvFmkcfblfhhrnFz4oPEDKv2c7YI5ruEgFP98mNMaPFgB8IRRc1013LxSg4q7E2JfE8aiGHnIulNtNoeM2DjTvP2ul7Xah/rqF6Ovz0PkHCAVINRf3zGQV5LMF+8zrtSS0W+qzw5vbgUaTkglJmm4S+hROsIa/EervU+jgrZT0Mr1G+aIrk89iWMmFHrlzHrt6mUcc9EKv+YKTyfbYuFkofhuQ/1ihCSNBCjEf6YLHoxdznNQxXsWN522Aj6hf0eDiNiPX/ISbhI7i1LlxfqzQjl5tVzIyfJ9opM/8gadeqLVcRIjjB43QI70wtlOEJnTHnwntxE9/ShShviJ0n19wd3RVW9EMvTA6vM2VJc704m/is9/giK/p1eAd6cDpqUyTQiqUfFZV6Hq+kqgZWtCPMOxzWh/TqduDXDUGhVJhr8q6CZO2whdgFuuEejhPJNPDWBkMHmnxKFWhoXiA2uos90ErT47v3BO4hHWIrcjlykkYn8q1u/dAeiSmP054iMND2qtvpDKc1CW3T76LbzRCyX0qtMHJ0G+j505YVe+JC+OElgvNUzkPrRV9M+270NjSawqGlFSoshEWW1NzCEgGyQO6sawKj2giQmmfpa90GOfahS8m7G9X5AzJPZvRRHEjLLBKoAe90JYhZ0lolGkvQXnhftE57pqSaoQm9PijQnsms88WSv9O9feClvqXV4y2H0vO4swmEUWhE+neKgfgFH/8aBxlqDjrhWIzoezu94Qh09KjcLr6zF4kXlQoeKhcFvo6w4rrMR3h15/tAYgyVLT+KDTT7nCHP+LWHrk+LKSaQufRlXBFlit0xVHy5LoLAXaYSkLnHiqF9kJxj/YQ9Td0bsgoxxJ2yMAoER63tSaQNU2WCxHqkwR4iM8jg81k7BQIfsBkvBZE+uD1QZDgO16cgDTIg8NEomFvv/ZdsJ5HqU7NGXAexQpWy0uxYsEHU7Hyfue9WHn3zHOxcMjkHQ+5YDNPG1A4z84LE6p7gIx7P7/J8B0CExAuc5JHgW0HRyd+7FTn8t9exsTxPCeMTxf4n1T9HI/jGM+9BX/g3B5OfjoXj8qFf0F2b5od/rMMg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDIZf7J3bmpowFIUTQJCTylEQFATp+z9ie9GvVnfIDquZXtT+l51xhuFvVnYOkP/85z//+c8W5qa+VckSLNW+Lv+ts6Q+jrkOouKb/A039g77f+4xSoAhC17IOmGG8/7Bn6ceBTqS/Vh2O/FnOMk5lWr8qf6HH+4x4iTfmNBncPPnU5ha3KK91IMAyfdHqSV99OKjub7fEGHELpSvHMjDyTrCY4I8W9XdU8njVeKDGeUbPfaxkghlCKdSbGM4uNKM4t86npGBa2pQw44FEcoTNeDbj3n8f/C9BF+Zufn7zb0QoUYccmFI6cttRIP4TGjmQomLCZWxYe5mcjPhh3alOclcPHGpUJ5K8Myt1PIhZ5ETDOUAHe8FFyozPm5jieE74gOpSXwiiYsLlRf2t8GEnzgo3aUkc/FG7UiAjD3gF2cUn8dE9ECJiwuVN9Ynzj/5Hq6NmdtjiYsLdU+ai8P4Z19NCmUu3qQdCXEWKzSu1OL+gOtHP29pbWvmputVjWO3q8vTdZX+YxnLbhg6p78FUyFXST9uBYZmLlgWU6Fx8CS7TOdYqomFklaucFwG8Uq3nJn2z5OXVXC4Rufz8frIqvokYHblPjhcj+djNN0T4Af91cx9aGQ4zL3cddU1lAr2G+aH3EOjzueDqymjOerM+/YW1v7hhrgolzZ9+0H3Wjw57V9pntfw+oX65dY5/Xjb3+pyEAROUbpJ/10j1BOUOVMoLVSCpJLH+l80XMFXQjeXlcwOo3EnttAFvlRRZB0pKskRtOFaU2mCNv51SUVUORYztyd3ixFKGUg6Kn+l8h77vdAxflN+iCnbz1JDEeQb3gLryjXcw+ntdpNA9KXyPM1bS7uRm7bRfdswefMgbYsVSrnSdqc63oMyce3ldJQK7mKdupUM6SKMGB5MwR0gQktPqigcO3XuLib3ChAqSJtI303lLjiVf5CUaD0iI2lAMQqeJZQcXrlZ6CJXGLDClU9cSGhOorHnvbg19j7zdC/WqEJpxnXm0raVJiQbhd7lCo9Nhc7FOHF9AQkVt9UzAchxNcQ5x8F0GT2/Wlu6HV1pxl2UG4QGco0GGorw6jNQqCj0qXjHJtppoLfrIk6+3MJeF7fSmMQxFkrcG9d5NfFvmrgOKjTQDlx2KTKapJ8OE01IpnIbCZPyhpxdQ6GRiHXXAgwuKQeiARVaKg4jerJH5nvoD59OYpWGdOOw0YsE4IVOmVzDzQWFH4xQiHhUKF2Ec7STfuG8/aCXttcVMaHcTsWEjV2hqQtsr2GKV/bbYKHC05Q8HdOB8cQyrYSGU2pteXWU1oTCi4L88PJilLi+wIVGmnsVMDUAzzjpQ8mXtpZuB/frhQK342CUue/aM4tCR13i1sIuD6nEj4JbX5blmBxadSR7q0lDSb1zdD16sX2hiWApSZgC32RJKB2E+sIutfL+3/uXlqd+MGoxHLC0SZ//TL9mH4VWhbqz4IkN6twLbca40PO60JEpRiwsGBLiakcL4YkN3VkZuOHdeeuyg/jPhIZpHKfhc33GTuYWRDoslF59vT6sC3fCKhdJuKh/Re8z88JXpaKT6uEcFxUaTlWT74TYzWVydU33SfV8IdWQxMWF0sn3Zr3xXoVVOpq2pI/WnOjZMGu2RS+UOB4kNFzy17YuY2EEX+deaM+GC+01A80UHLOgTyvHnVjnqmuikSSc8/UfBQj1BtKuemhKW8Zs4mZ/IjRbj/jOZVaKLDfQdN52vvBT/6BdqaNMm4V6ggOfW2jU87j2J+d7hesvHLK4DrznKqPFLRMOG4V+ywVOyjTAjCYuLrTXLJ/djP/TX9qzKW2w1nnftg5yvu1oN0XX6dX4jFDTa7NR5/pUAS7U19Rgi/EGkkJy0MPQq+0V13FlhFVun5IbXEYoELhg5ja0K8GF3nU7czPjeZFWclBx5+2D9GZlavxO3bAEjFCggYJzC3ciCxe61z5UeOH/LFzo7JI/kqdV73P1kPFyzAjFxt/A1HtBEhcWmkiCo7mO0abQG12G5dkrsyt3kTX4xFzoUcDw2xFo4qJC50kSzroytLYp9ED+lYVOLlfK++WegJcg6IRmAoZfTMlMXDl8ET9kKbPO+IUtlH6kaD0TXJWDBWtQEyuU3hX7mcvXuLzQXd4HEanyyPd9UR86PTdKQFB1D2xCa2SEkoTEKUnmMrMKnNAwenL0YpfZk/ilVe6DXCFOoRrNuJ0A8psIpRGOQyf3tiQufrsO+rLhDguldXQtUWj56YETWj4j1OKTrXeSueaJiwuNmU3YVytCMzKtgOMOdNuOeU16NRQa7wQIH6wO+YJFoQ1TbftWhCZ0XI/jKB7neEDNxr5Qo8FmQO8xLpSpeehqy8mG0JF2HTiNoi+8C0OWLxfKL3l6RLQ1oRU/fLrZENrQ1oFTUqHmo8bkq4XymxI6LnFxoTeDyfAJ3YxJp4QuHyZ0pc4NmBoXFpr2QkFG16vU3LJghaRVZ01mUWhIxJiRAUKt1rk0cRdLQqOcWYDEVx3O6ucpA3tC8xTc+fQAhFqdW6CJO1gRGldCzewyU4g83UpXXdkTuivAxcszIBQnVpQ/C5O4oNDOfBtPiSUN7fVHaYVekVvhDOwKhoXimcslLi70br7E5P3pVupCfYVegrAsJ+XTOUAI4kLxzOUSF+9DO2a6E+9Fk7UF9DwkWQ5zIb/DiAAQanduYWF6NFjokdnFQwpdY9LVzPbsLWjssUNvfECozcxtSY+WGAt10xfM91TdzPa7AluWHuzgER+018CnUKF45n6rv5HENRXq5fOTfI7Mu8YUeYSOXgb1VhHTJtQnk47aA6bmUaF45rqpOnGBHQud+ZtNAkmogb+AriwOyINt83f2zm47URgIwDMJIBRUQIlgQPwB3v8R9+yVzTbNZJTK9hy/655o+chEhmQGp9jHjQISgS8XWqCbEfxnKHUUICVLMNyRLfP1lP2ZP2Btjb5/76Cl66enQBK8XqhANz1DKPnrdWRMUVSPHhYUjhO6R+9VqNNUAoRO/434YqF0yrsBhlDyYiclMUUNssd8bp0tNlvvAhSyCKmjKifq1lhCaEFFXL5Q+p4m4hmzB4mJcD4STbn/8cM0pgqgtOBAJIsIFehCs4TSNbdyYrUxiRS4aG3R5UpsP97dGLn0xjCWsipM1hMuIJSIuQE8JTRMvB8wNbtLZT7Y34RSr8XT2hFvOzQwl9KKsy6oBBcSWjAiLlMojP5BKkM7nQIb+pL4vULfMwrxisBd9Sn1bnUZbhCXEiqI/W5soc4oFRGLl4WoaEMw0PFWfqPfa539EFYJK2odV2hBWqqaxykuIJSOuQ08KzS2TSH++c90e4nbWvda7FV2DQyblqtC16IZvsTdstohIpFVPqCN9dEYTY87xCWE0jE3e1oopOid1NYS3dCdlWr/jmpNUd9nVq6GNdpQnpXhgqFqdd/r/el4kIjLCq0Zte7YQk+Mu6TFJznxgvnUdJtLUWy6IPEtDR6jBwsJpWPuAfhC6UCalD/VzW4kcgU09H90/Q1CC7RTzSH0zGkKqyQ+zgq+QyfoCV0BJ/gFQgWjaiBbKAScbMV+mscn3fiQJhFgodz9/0IhYmwxYAttWa+v+whp+OGk5RuVNVi5pcigkUsILRiXiC0UGlbXirLDB0gUOOEXnZ/qOfpLrMQiM1SgjXwmoXtmCbRMIpeDBgodIIfAMWK5RU+61+36o2PuAWYSCltmVxax5S+fNOGADnht1y7eC6ZaRuiKiLgcofQf0t/+xKoaVoMf5xT9SE9zDCUrWEyoZmQV+EKh48+pLEU/ojN4E14kenAMfYZCgkDAckIhYERcvtCc31sGwixCmiAGFvpKKu0EeCE+0EEyAiwpdMWIuHyhMFiWFxp1ndDFdFXARlzWriGHGrzZdxLtTJcc7EKH77Lc6xB+Nub2bKEREFOUv4u9PG12aGd9jUt4iPA82J0mXcUcUo/NV6fy8GkYJU2O96AoDaIQZqUhswr0DGX9LOzO4Ieujh87abhsNlkdwhOE+9VgZOSTqCtUCQ/QZ59HksGQ9cYn5Qb9/TNuucEN5qWshUEJJKEw6Z32/6XWHAE30Z6rKsuqWNV5CbNQ6vb8d8jq1IrnLudNqDgbs1iJG7x58+bNmzd/2INjEwBhIACAkWglWoWAPIQX99/RDcRKLO4OAAAAAAAAAAAAAAA+FK33HE8ye4ul8HtXnsdapzfqNu8jCnd7Z7ruKAqEYcp939eoMRr1/i9x5ggGXKLmxJlx+vH90zkqSvioooC0dWIirYPP4GPlMtSzogjwG3T5X5VULMsyc9DFFpEAv8VX0KFspyfpPHSxjgXfYK+azPGC8peg6zgCfIcZoBUOF1T9cwTNgicaU+Zfmwdnwtc80BvOJmgSKoTwHvz3r52QZnlGbWi+1VMF+N8o+rWgFjB0NYf+W3yoZmnf6y/9rXlcvv45pxP0BrxEMHn80sMPObuFCnAM6qLrP6GgEp0CGSaAgj7j7IJacBQCWuLEgv5NqQP/aUc8t6A5HEeLFji3oCj5OPv5yQX14TCW+/rJBUX2p57l3IIqcCTbNRE9ES3jlI54rKCJ4lZylG0I2n7cPU4tqA9Hwj/XxbjZvq6nTTST+V5IKq/qWuvgv0O5bVt6s0xuW/k+FTT5OcrMlh4/f3MvoSTAxIa4JugD+Ax9wqkFjeBY3LXROn73pm+Fdiv15rxyuwbjnGb6VFB5Eon1CoYLa19+uCJoxLxNNzFutSVHIsJwOZU6y5/U9IPheCBb9c3gaIzVl8irpkUER6maxn2IiMUJq9qSgzVBxYfLlBOD/MmWzwPxg8xrfNrctmhsFRbQ977GumbMU5vFyqI5Trjy6HvBVFBj8qrdXkMF39MHlmJFUOU19EcpYEyS4byguwCeChrTBUJcLWGap7UGjSTuHRIDq6RhmD71HA4K0VtBDXOoyvB9Utas6XfYznbZyQ7agxdKn6wuVG/feRzPV5xE/UtBb6QZfbUvKa4IaoFOa5g2bqWpAMKTBBgRE2s86UTPIf9CbLm1BNARIy2g/qlGmmL1ExPAL6qbxjNJ2DgdoNMqtzABWhQvCOqiAkCq3ZsNAKlIshdxbBxhoEUeMCN10G4amFFtBV88ECyqNHumRQcI6vU6FpyInLzhgVsbQ00ohnoU+IlPGcAXf27Dv2pZ9LfG+BCTNiYpAO4q6CKx0JsFVjbYSwcqLlTWAOHrILhPHCnwYBQLgrbWkOE9a8ig8mSHswZUES1y+3JxYK5ouuoK9DbIklBgU1hl0OMbQZY8NNDQEYLmbFW4aC3KtQByUuTGTs5rPCL5ZFjg1Xp4VIbtgwOwmPR1LhHUZG5TQJfRz6pH9IIHs6zRLQjagS0yI5XMVgVHGNbeRGHq88skSaa44nBrcagklaLG5krOBB4jaPBrQSN6ZsaN7bSeBaQPSfQwvnWC/QpHKmA/B5/bYo9bsx2jIl+8BuZoxiaN9VQISf3dcRLfuaDgI4qGv21EOh6p1d7cpfKX60zLjyJBjj3RN3vFs9pixfJfC8rh/pMtC2oaBLlQhzEqmKTU16HBjqUlrdoiARTS4CmuOBPncKR4ze46uaMYsQCb2DBicBcFZatSku+kQ/0ywxQt46izeeTX89h8UfdpFvxeYON1xkGU7y2UbjgIlVKuDzO8OzSsOXEpPm7cGOHBNEMG2MTUWlwPcdQBDCwXM7ppo4jijuX1x+7SWRLURywpVtIdfHb2fquS+355vdm1LWpMsydZQ1jU4jO/FzReFDShigmGN90+E1LhhzQuQmdo/ImXuONeFgLv9c+XelMhvi/DFwTJC86HCgsqsPWxOHqF3I9nTxWUiUXMBa0nFY6ppfbKdrsTnGvfJwO9v73qhijh8LQbVnaKv8flhu8FRRHjfPRoOobOiaFZWm5wcA8tQO7vf+/7orSYDb8h89AV71X2yflHtXkzbWGRQSBXxsQZVP+5oNV0FUnBTyOmWi0LGlF7eS9ouiwocixzuVI3kPYLilKwEBLxzMfoa6yDSx5uMuimvCCoarJIz17Qx6ag1aSJhaERSjxIZbszM0roU4pdLleerty3w/qNiz9MkcYyKHNBh6M+W4gKihfP4g4w2ZagxcTvhyTgN0DvPS52eryHOICE+GQPzajHY7qLpnjdZE3AnAs6sSsL7CGylGlwtS8oggx9iL4VFFFB9GnW1mo4Y6IpwjjklhcFjehHGkoriEWMahzw5huCtkw0ww6GDgCHCmgRIj63JcUTgGxDUA3qpYlesbEda4MpjktYTKDm8BB9IIeFPuO+Lyl9NnF8HAwulVveGdfGw2O8KGjyugs9gwVlUXgA0G8bgmbjkqI6tLMAIRrWmgwosIsk9rIhaLsUvVTjqUSxJCgY4/3C6FXHALuMt8Sr08htRHNnNl1hlNnf651jJ778JB8gQsIOzQmd9SwJKqqjeUvMCCpG4/G4KzYERTbo4yjcGVSxksGvO9CVKgTDJaa4LqgD0C71nIKdzy0Kys7jBOrAUrghAeSP0vjpT7TCdoew1xaNycJm5DNbbQaeXOA9yySGOyOhnmGRu7mgzONdZn5JQ3stG1pQ3WOhiGPrbtBmzsC0QX41rvZq3nL8ZcW5oKgBPppd0gDIVE9+adoigV/SLgJ36g+FBMD5bDtUz9Feynh/xnEBeqTabcjHzmPWGPpNiSalUZVPdkdzLmp4mAvKOvxUSRJDAIwyXMQX9+zplWF/fy1aFZSM85Li9XuPBRvvC4zfatnZVzgUQGKpaM2CoKIE0OBUlV5QCQk+KABo/XYmZwFE9YKgoQFq++zjOoHdaRQ7Xl+fiXgqzClyD20jctVS4WR3/JW/Wz0M5/tAc0Hf5ttX2Oi9M4eHidPtsjmPDoAXtNgcR+QyE/yXo+UORQXgJdtOzdeaTDFelXvGfQJSO5Z42jaeDQC6bfvwY8DCbNKWgttHgYIWd5Ow5oafv0INS3SptkWKm2r/vCdhCsznJCwFrvseQTN1UdBEX/mtk9xpaBnnpgMQe6ZkvhnSGKaLEaWsfMAIFlar6ppJ1KgBptPoL2GUFPufpvy5o4HGNF2LUK7RqlAyfmtmGcCxGCsOOmXFCRAl8pd+xeKyx37K+gv/+4xjbFSQsX3PE9TXiMUT37ud5BEquTM56LE2h8ZwURjeg3LlN3BOoIRKxHnjYo9QCTx694XnlVEYRiUaY4KB1hHgSFQRrXCPASNMaiXKg6RqzdEI0Maq8FqAGr5TU2zpqtqpTCwtE0klGXnq3xDLL28+ENI7+lOIALzNS47ERetwD7lylQTNydumqN3H2Diyh1y1/e8wvdIpnzTN9HNU1HDdMBhOvaQWc8MqCitM0J+DvWNxNj3SQK/3LfxT0I2zLTg4jj/Ht50TC0y0TQtHoaGLfxJPhRvagQbH4F8O95/F2LsyK8ARqCW6+CcRTZB2mrIE38P/SdHkKcnVTtnrnL+3UfPS85/Gc577rbmA70gvf3syQhW+oEIXZ6Msfm+eAbo4IUHxOzkf6OKkcK4En+Fbl3Wem0SxUr3jeViH51VdqI0cXZyfLHiERiuv0RrhI+eulaGLi4uLi4uLi/8dfwG1HApczIfKrQAAAABJRU5ErkJggg==",
Cea:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUsAAAFLCAMAAABoaV6sAAADAFBMVEUAAAAJCQkDAwMDAwMLCwsFBQXb29qgoKDg4ODy8vJRUVHBwcH19fWXl5fZ2djW1tX5+fny8vLY2Njp6el5eXnV1dSwsK/v7+/Ly8vu7u6goKDu7u7ExMO1tbTOzs10dHO6urnJycnAwL/Z2djQ0dDIyMja2tktnuotmez09PQso+koYMf8/Pwule3v7+8sp+cvke/6UFPOFR4nZcWsrKwrr+Urq+br7OwqtOMvi/EnasQncMfn6Ocoe8zj4+MqueLDw8QndckoeMongMwnbMYog8/d3dwojtModM3g4OAohtApktUomNUni9ApndgpsOAofNApptspq94qqOEocMssmOUqmdowh/EpcdEpodkpd9Eqf9cqitgqj9kro+MqdNYpidQpldkrnuMretgse90rbdUpbMwqa9Epf9MoZ8krmd8qhtsqg9kqnd4qot4tlegrkt8theUqZ88skeQrjd0pZMwtf+QugOkteOIsjeIphdUshuAsgd4ti+YrcNktkOgsdN4uiesqetQsdtru8vUujusvgu7Hx8jR0tMog9MveufMzc0snecrgdsWQG8sieEolNEqktvg6/UrleHM4fXn7/UobMnX5/W7v8Z3uPIqitwaS4AuhenA3PRcqfCcyvMgd6ao0PSEvvJPp+9Hm++11fORxfNts/FskMk5mO8caI9lr/Cwucijs8sklcOEn8mZq8hTne8ecZo2bsgwaMcbXIQ7n+1EpO5GeMo/cshhicmvv9SaueSpwuNnldXGzNMkhMEnoM4/gdl1pOZlnOfM1d9Vg8shYaq1yeNNfMdAhuV4l8kdUpTe5OrS3OeOpcpAju62trcghq3gMDY4d9IkY7gijrcifLRUkOhKjdmBrd0fWp+8xdKJsejAzd7E0+aTsNZ5oNTwVlrDHid8hZ4wWX1bjtVCpdSpqquINUgldb2sJTOipaqIlaFefZfMZXNrjLRLaoo1aI1kRl6an6W5b3s+UnLdWmPlu7ybdpBVmr+yhYlYU3CLmraxbYKtSmBvYR20AAAAJnRSTlMADRUdLSTtHFmoOi7dUODF681AbUnWbL+wlWSAmnm8NIajjKeLetZ4Pp0AAF5LSURBVHja7JpLbuJAEIbDChBeGHuBEAdIWspIs+UkuVCfwLJledG2/JblFRu4Ro40VZVulw2ewEQzDCT5jcbdcrCaj78ebebhW19Nk4dvfRyePsYufJO9jCDBQk0XzszdrOeg1Wq5XK1wtN64M2cxpT/4hvo+xykQdNzN3LKf35OwlvPNzAGq0+/wP4GIRpwBQ8sWzxfLtoGp68B7vx2KQhALoLi0nz8sa7V2HQz8L2xScBMkxfWKI/rDEjZG/WL6JQ2KFWYKHEcxftygm9l08rVokiFdjOu/Lnu5njlfpiIByKmzAY7/TBYUpK/gzsnDwlmL538ua+N86uSJOdJxIUVeRfbc/bQ0MUm61vNVtZwtPh9OsiQ48uqy1p8rdSLI2fqPLCm9UKk0qbIsi6KoBkURjKsqLZUfevJP7rXcLCafhifsbOaXW9JTSRbHu11RND9P1TRFscvjNktVcPEtrc0nyZyTqbu8yIp+WUVx8fNyNUWbJSqUFxWi2b17E9zguOdbSQ8w1jH7cEvHRfpR5HEEQIPzNO96S4Rd+dnKLfw0i5uf2+0IxctV1FXpncM5n90tTGjLzzSTMiyz1tjxAoo/8BgVXGvyOlGeOOfNh3vUZHImT/ppVGzJj+zGcZpNGxVA65wAdJyV3vs0nburQpOH6ey96A78rNmSGF9v2KR+1TDLVAi1N8CaxCv1ZNygeTpejrRll3dGE/rJJS//RCrbbUm/KzWVELKmqCaFQnitoRUFQlbv+7OJs+AYIU/s+eJu8iZuFte9xYvuQIkw2bEhGeIuKeO+EUWGIEdYZlKIlLFVKhrlGZeB4SjgGCC13XtJm5Pp5vcVp6xfNcktkmRXplKEHcsMWCbNOMsKrrEva3BwPO7OQxSe+NLMl/fQbsISN1bnSDqxO1RWEEi2I2dIBYh2ZhaD99RhlGWTwB+yFRXPRpRXgJOX0ee6mt142sSOcm2zG+DE57A2JEEEss05ykuEQiNggCz9fJTlPgUn0oTkwdtqZpfWJzRltwzBSQcGlju9bZZT1+ZF909BGm8NSY2vUCKofhqh3VJTbfJAiHCc5UFhVD9p7QXMuj+sAxFkJ4UoUtqYx/8sb7l3nzhzm9cK4noTv/ZJkmoPzNexjNCKjQEG9IJ4yFLTy324lBuWrQDojZklALYy92AVdeodkyTZ6xut6JgpbSbYy5dBtXtBkFx0CGccIpUuRXpA5WC8BMBkNGBZG5Y46VhikVJPRj5cip7GmqRWySOaugbdYtbEpxhLJtjLUF71+mI4Mkkq3VitDUvyWxetpTCNDzLqs0TmzDLBW3QBj9bGSxrngOqhRJonUSPmt/fEQ3fnJzRl2m572lVZ0dXvCE0FU9KwpiBmRSRPWAYwOegJJc/asMT7lWYCBazK8kHeDMGMg6gh3dyuEp72Co4cfRZAsgBPcngXYL6y6DohD6wYme1NRlbUQr/5QGSEpcRcMGpSNHMFZ06s/lFR9wWT5C7+lgo6ZErH4j6S2yAVb4faBUCvBXhdHyRTs1GMBH12nnijLFsM5D1PGOw+xJs/GWV47em4pnsaIAOF6fyGfmHDokNLg3Xx4UWaIPfnjeIUCaKP25kGJvJJ58iDgMl+jGXdrzYVRvWeo5/SJRcimercySqSoFslvWhgObeBcjKZUnz3F4hHUgxRUtXJ0Hxcu0PsFfttd95LkSENxmpPwrwoqjldph3/XPKbjgK9C27eEtmbG6hAWL+tDiRv1lLTBjFMkyIlN+hpP0f6tB00VSWKDiMsHwFSFtEIxwG+hcYIliZG6YDsj/2BadZ+940zzRt4eAQPMiwDkL9tP3vtUDaJqtCimp7ErNgPct88jKwkm4zFLAkZvvQIsAoqPdwRSW7i0fKcPFulsoatmQS8YKG5Yqv5f8QoNb7eS5bFC7uyxTjs2soWjRmb3xxyr9dUtuCykszIejz2peFIZypXMKKDtkA4ICWSLnHvhHtSVqQYpKmXtvs/nx1N4EGlbVK5eZEpewGOHzgoCCVWH+rCG90I7ctewsxDrh1M8vHYlz1lWHrg3G2Bku5daEs2eSTRwIPWPfHMws26Aeb1myPOlc5KgJ4Hh9q9gJhlEdDDyK7eYFy2iBJVd5/xzTxBPASJB/uSKb4Naf/9qNVKDdxU+5CfgCiE3gyLUBSapWugAirQ1TdBvNWxngXBZKBBrUmyMClKbip9/FxEkmBWhLLrcKo+yUGMG2aM823b+WjUJrH5Aghewq0mp9IeziaRBqIwOFeLK7PkAs4c9RESSmLJmx00QIokSVhiQqoDrN4ekEnywSxhwqJdD7Nkyk+Uh2vOltyTDmAiY/YlUZ1fEya70rUZ49tSZPJC6pMERZL2ilo5os2GJPkBmtcHqcOaWQ5FW6ADz1kJwoMyxpkUw9/AZOVIubMmybre/4tjV25MbHQrke3WoIyVag3Nt7D2d/2m0m+YZKc9ZtbDoFI/vseyQr+PoaQbRY/Glj63mjRPkgP/9Caej2has2uznPzi5WxC4yjDOI4nFXuwepDi3WQD2SYFjYHepBSUnKTkYkU99pKIhz2FsDAbpPTiuMMwkNnNzn6x3YsbcBZEIaAICoWVHmyQXvxAtEL8oJb6/X+eed955mN3u7tO8p/JNhtLiL/8n/f5v8+720dzIiZKTUej7JVRx70woXft6NaxwptyQSmivwb/CMfxLHmWMcqWJgwbfJsWNXFB6dPMQ8xJIU3EQJ88UZgo8OgqySibGiWxpEhSC4/AOQjZeuvY4FgkKEUuVb9knwewXHDZfXERPKKVc4NnENtyPlSbVhx/UWCqfi4N6PGTKXPZgava0D+G5a1qlNCgxSXPKBmmyc2bpIZAlrRvkWNwMTLI8SwXcFVsdl9aPD3qSgjV8YjJ8gygGWtBNUNXuPbFCR4EPXZGknmA02wDpbDEoJKLnmuceFbJDIsqVXYsTiwplHNU/S7TSbPsAqBchNOxACn6VS32va+esEmrYbzyCRyjFZp+i2ZHUXOeOqFRB1ypUMpmp9xdF5SsriVDDNAktgbyukx67SG7xfqIkNM0kogXIFoH3YWEWaE+2Sy0cd3igzelOc+SDVEkHOXEHCfqTJyA58SRuGFAQanUqRGvdnj+7dgmT31ZFAwNJ71b9Il4N70w1lutCv1JlxI+qVEI009xaZ5c1CF6GNFs+Tqq8sgDE88UTDtCk515EptznDYKSIWyISi1OKEbbhiEOpVuZ0l2HByeRbrfAI9VSZIkF+JBqCmmVUqtwRe02JYuMY4EJM9BvasKD5rgkKhZMaX74BPAPG5nShgSGTUNslH1OpLRKyZPMWBLrchPnoMqAjLc+zXdeGPWhhOKIr/adJKAobYxbKFgmohH8YLoV2t1PXB3cyLu5sccjYDyTC4hmgqxGi64DmTLwynPWRKUIk6SrY4CqUkmJRij7pvjW8RPI0x5CEw+TtOsm1Qr0RBmyK6BPBvFeXyhXXKlJAfZNrJ6PDOPvPiKgNkdQSnikGfXYzOMISAh8eNYCVPOPI58h4iCCu8KSi8HyR4I/1l2QZwzBeYxoZQ64ClvyJIzuNHWtkS/4Z7ZSaNEcZmqnY4wpThSKE6Gk8q4rNfOOM0W/zyqDqC2mQu2QAIzXuenjm/QgSEbdXDxpcRKUjAQMj32ZTgSsloplvo4xvS1KdOe1I6cFmadbamfxWhWCGWtzyRJlbKKZgKzGsl6EMMUnNlO0U8l2g42OzvSw9fbFu8x2JYk/h+zOymUUN3gOQY0DKUiOYO6HFHl9yA0VYVzGQSTON2IBGYj6cynjmnS/tBjp+OuNJQrJQ8xzHKFUMpQo9ZJoYSqhqVPFNKeDFFMq7P9mmF4sZ6kYXpUJB4+UVm2xmaQbCRpLbpqPsoxM3tXJtKQ5SVQQrytaFKqZJodntE4KZSQ3+36TDILTwrLhX677cf6Oi666xzR+uHEo2VS40yl9gZgxvT0MTiT5hlxtdZVgQvLdQQhgkkgWZza7EYKpSiVy5UpZ4V59mz6i5TgeYGuh8OkLleQP2TY7uZiotPJjEmmgqXhKJI9r7IKlFo1g8ta06xYsZfxJ/c6aZSQPAx13tmkFugaKknxVSoQb06rbfNiNC/qHH66LWUe1SOZw3wk0XeqqsAHZcN0oseOLvd3eWkGV3kSpW4AyfIet04ys9Ea394tqXCSa/BiKfI/vPuT+o1jDhPT6WyTEWZDnIZETV3gXTzJO5EDHsDFPlmqvMnJQ6EURw5v4GOKdwKB9XBv9nmpiWwsLQprvqDsfbF8hJHqcJh4uWumLfypBMqBZjngUNlaFfVcA8fhoXjRr/pxV6YbeBhiJirrKf3ZMvRmSHxZi6BsHC3fOw+WSuxiUf5Mds38odRAozwASdV4cLYDOaEvU++t5V7eZpRiyzRKTkKzOnK8OzmaNf1IcO87XuSQ7oOj5ZtvGzVfsyw5DFOU4aEFto4x2b0dYqlgNmwOSPLKQGg1JImhAR9P1xeHrZVCMgtLiuKZ06VoWVfbING80rf3ls8dGfCpvN+3ndPSB71Z2fKJx+MoKzsk2YiXCWaV523J94GrkgHrmCtxJ+s7A0uOMKeXo9VRdfUkzbkP7i4D5flW7CUyS54V7z94cUw2yfJ0PA2114WlKnPeeHdSNa7PJCwUecySuIWk4MyApCj8No5B+/AFDTPG8tK394Dy5jO8em7EXyATFZbMLFyZrPAqOCZgVlx2pvgyzrLvNb3kCD2q6dfJ53BN7M1+zXT7scAZ6vD+10B57s8Wo9yIOLPhxiM7Umb2ybI22NGSPU/gTI9IRttOGNH7I1COiJSAMI4iLi31fITU76Rfr0cGyaJrPx8tL9+8ee7oQx8k39qIn1qUs06ZSJZxlLZCOagMqPsUmSWcWc4pmOJLhTKRLJMoh+6/R2FMS6COtuZZIRn15ZVvYUq48uZ7jPKt+GZyqW0lU2bG23CzF6Bs2PkbXWrmgFkscqrMh69SHYlybthamQHJcTjjsV0mR9cO0XQI5bm//fnNVzaBkuQ37ZraADmJKQeWuwzGv6KWKu92Pp+3K+sAuV4ESyh05mqa5bg9+EQoheP0OLUtE2VO9c0o//UvvfPKxYuX1Gla+Pa3pcSY49TD/xMlZpasPN9GdadQYJZdCzCt1gAgmWWRnYm/4sGZYyo8FSwfuFI+h3sajbOmwDz8Z1mjPLz82mtrFy5v8qyd8Tmqyjk55/X9P986iZdo5PnbKZWxWBZwQd4KYK40e7AlRB281Cjn4cxaimViNDR+WDmzJUXMf/y+8ud7AUros4svvvDChQubxNKxKQmV+4rlUju7Xo44BDoiqweMWpVyHrI9IknXaqnUaOZ5wjZqtWRfpoaVKVPOTlI0dtG8cn9Zo/zmrxcPoAtrm+/O+1WLp68d+Qd6PCPRyx+avYfTSEN8XiNXkvgRNQ2ZTqnIKpWWSj3wRWifzJaCUjQZyWejmoBlgubh0dehK+/8SCh/PHhtc8P3gJJP16SXd8rRKs+fmXnJVCONvAyHClfBMfTmejWo8wY5s8Qw4UzArCVtKWkoXuEzkHx2mKax5quI54Jy7+BL6GDt8ma9afAxajQYYWRoxiZGGLLPug9fUb8RvuxKIRDbcre4Wxx4ZaLpNpQxQbPvsjMbaVsOD5ZjWE6GUTQZzD8YJUd0VPgvX+7t7YHlxcsVl1DaTodZCsyWpQDwH7O+zwIVrlDyh+XtMMaA5u7OLlQMFk1Hs4TqTXyBnDlBSh/bdYaRnJGmwHwDSUi7EvoBJMHy4MV3fDsnpxZRY3aaGgDDRMicgSRHS/mdUIVrlvjYLewyzF5tJb/SLlKJK/VdgllP2jJV4RO7UkBOjzPB8vv796Io7/y6t7dPLC9uVngRY5QJY9ZNJhlQyJ9C+5lpPKQx0m12r14t4Bp0bxFNBrkLNw6q5epAfAnV3aEspe/IbCjVwWcnKRpN83sypaD85re9/f2v9vYO1t651DfRwGVqICy5yokiPcjAaNqDxzxRVMrdLhSAsnDrxsoNbwCWRJNxapVCNaqut6jnVyMrPK5EPJ+JpNCM8JSs+QZWSkFJFb7/1f4+Vsu1l97FpL3q4QcUlvWaSeGI37nAAPKMY6YzXrzgRZbcfM7eYZSF2ysr55HQgxovCk6BuYR7cXFDWKb24ezIyVwJLDOgjHtTm/Luchzlne+uM8uDl67oKbuwdPht/oExuyYx0NnwNFhObUtCqK689QlIkj65sQLd+HiAJZMFiFu4Ncvt7eCRaRLP+GIpGm3LmU0pSsN89YOvkyh/v379OqFcu3ItGAzTFajf4oxeDVh2WsQwvLD7mfbNjgFEpdbO1YDl7scBzOYtJsm+3CoVt7aC9rMd3NvbGxBwxtbLCVt4gmQGNIHynzhK6DdGicXydaCMG7NrAyWfRCuYVj7CAucVU2/E82JMc3CVxDRvfWgyTW8QXzGVKxXJRdLGPMarRPNavMKTrsyYZBomklAS5Q/fBbZce/2NOZIYs99kkmYLKIkl5KxIjU4b2OkfyQlQBh+tgmYJfX47sGYNMN8Ey6DMt0Bxa2sbtgTQDdBUmsc12payWErXEZQZwXwVZzqCUun391WFA6WSMqWbI9mOL60c2zmBkTuNFXCa1fJ0XvsSD2VtS0Wz99F5pukM3iSazBIwt9iVSiFLtiVpCluOR/l8Qg+A+YduOoISceh9sKRkyYulwKwHZ2aWMqU2Zh0UBMg0xkRMVxQDog6jBEmtwW33PMGs9opv0lq5RQ+KYykgKSwv4ebqidtyPMpRGBmkpimfjob5Mo/XBKWucLYl+s5/tJ15bGVTHMeDRIgt9oiIP+wSW4KnyVNCGGPGVFuDKmo203QUNYMaY4zdjIqqSlX0VddHihiihHYwbaVp0hpLpNNM1TpDRGKJXcT39zvn3O+5976lz/I9S5mSyCff33LOffeBLan+Vj1J3tvWiqcWZAl1CAmdPEnO9n1HL1ue2IzC42jaCnTrxh6BmZxoRd0xMCGyJMyFmGrNbCeeAnLlGbkkoONiU0mU0g7BlpIs59Xwibn0mI+rKXFVBIWN2eQFagEnSdgycSLVlA5IWj2FWdc6kxCabd2Ib8UJIcydyHLhwgYNdMLMZsscKMHJMYsyzGXO70jSQ/n5zwblW0DpPZhMK8l77aE8Ysz2Ez0leJLMmy1hS6pHsqWrPbdYmlDKWLOt9Q7KI0mYEuUNDcdgMsILRAmSeRXHWRpF6SL8FYlw6Sy9J+b9vU2KskNRxozZ7dmrgIyJJ+K2ZGmbPqlFfGxoYFhZyqZ7XV3nhNLs2Rgl6YX4woWSMhceuxAoARN7iGRGlnFPxp3IlRXmDmbKEMpvHMpFtfofwU+3wpRpxUiWr6ZeNcbstIdpnbxhz2PLncO2NJ6cHk+O92y8xbB8CiChp4Z7xpOSNdP3WZZYKyP50klZYkJ5bFmAKYlUZpjmF5lQMsKBcrG1JTKlLd/tr2pnRJidTfe2pJRld3PEmDvNqvIkT6TkfqgeLEeTooFJkMREvqwTZ94l1kziGNQdciaArmS6FJBA2aAolWgmlAWRzF+FdugzHeqDgOWPJlm+MK/We5NFUTanlSRxms9utBtj9vos+X5Fblse6f9LHVLE6+s3TCdV44NbbkGM191iWNbdsbFNrJmYSTtnKsqVd96wkqXHsQRH5ZnTlv+GJAOdJx260otwoGysvdo+SutvN5lSP4NNkuYNIL3isF/O4GGZ3Wu8cuShmoY3QGLN4cFxQ3N0uA4oA40NTeBPEzMbaUyQDMX4sYAZSP7zG/4XlBRNGXUlrjRMsmykK5uVZJu+uE5jdqFBEuHtc7A0xuSxnD1m7guihG/LsXolCY05mhODw2QJaw63w5rojUQAianVZyWzpVpTtRjOBMqrMXDP/a9QnqUjg0p+x4PGuCt54EGybFywOGAJ9+F9/a7gUK4ke5vNqby971nXFnX5GTMBY+aH6dtyvA8cEeIC85YNtw7NWG9OeijvqLuzd6ZZO6OVrvawT1fRl4uPWXwMUBpX5meZg6QqI8svSJKu5IFHUL6gtqQvzWvrNGYaJM0BiF1RpMfEBXv+r/4NFfH764UlBJbQ2NCo0pz2jQmY3RvvNLa8A6lS8iVsKWMhjSkgMTXKAXNWtsyFUV3JvwokDxrjrmSEa92ZX+s9Me9rN6akMV2D1CmncrLsGyeZWbRFkYZoGhwFpLKsF5pPTc8UJ4uHgfAWRxILIsuVClNFloJS1LD4+KuvBkqZcZZ5UZIiJoH68U2IdKUf4U+//1HjgqsDlnxpkr7s1EflHV08+qie7fCD/Mg8LHeSRxNU25Z6JwEJa4qGBobQZ3q+DHTbHcISE5a0vrQ41ZMiYSowoX+C0rHTWWLIkiaLTsiVjHCpO++/8AJQKksq7Mu+5ntBMnL0gVItvjF3BsycttwtassNGDJhS6c6XX6UPxLQvA00IfElFlDSmOpK7HCmKCdLHnYoSw4MMfmXDrCg/InxTVfSlposP3ph/vX+Jzl4jKQx+zrT/fIzasyeWRzK2Vzu6//TY86UyhMw64nz9oDmI3fUWY6YK28zKDGUI7U40NVWjiRGXlsqMGdGX7RnCYsOXRlLlu+/8LbYMpcxMZzIUtXqO+0Issx/QzR6qwE5tNVFOVHq7mDCl7eBpZXCXLgSLFcGHGUYNYRolp+ECZTxZ46ZwlsXRZry5zv+IkKi9PQjUCLCGyuAMp8x4yzjB0m+qJLZlgfDjW4khhXh1pniuYNDYxrkluftZtTJeKTukUcAUykqzpVU2JcNzpYyrIASLMvjtgxzxFSY2VXGO6EISiZLsDR1x4ofZMeMG5Ms03jib2B2+nzQYuauPDCmmSdOmMozXAzNHR1SkpTCVJZ1hqeQxAJL50ysuDF9V8KXzJY05hlxWxr35dBv2VDySoPJsjBfpjqa7nVfvp0iH7SYO++UJ8SD2bth3TqwnJwoVuG4ozjXKEjNmGB5+yPGlohyq5AtH8uULgUmbVke2BIzR4DnEo/fMZSMcEX5dunpZOnTzJIwU51o20XWmM1qTOtOBHmu5pIok5Nqy3W3DA+OzFVvTgwOTYKj4tQQVylL8WUE5mMrHyPKiC0phHg5WJadVk6UYZZsgLJpB6/XMlRwtkOoO40LysHSiSRlxn35al97iyH5eFu3rT7qSEXJK+E4Sb1tI8wO2BK+hIRmsWp8ZnrSBfgasoyixFKaj4EmFHVmmCWkxiyPsyTNXOKDxjhK1nDTWQKlxzJ3IceTNFxvKEmcgFz1aXMgsQ5mixkPcedf+dlXLywNzbHJgdEJY86ZweExE+drrDProjBpTIVp7FnDICdIGZZmSflpp5WQZRhkSa74/iUXSiZL1J0XFlwf/uxb9oTZn+q1JO9t6WjtQiG36nV8sPEThBm+2BK/T9h/bmLLOlW9FY7iSJymDk0JzTUwZp0aE0NQEuaNKzGFpIKssTFeE6D0aAYSX5ZYaxbgyhIWnThKRrhNlhXlGVjSl2SZRr0xJHlTZJQyljREd2P1ib3MA5KgmZDVs0FJBjCX1i8dm56Z63BOjq25BRz9MA9QKkzgvFFZ1ghNDLAMRF9iMyTLy+DLEiwdYZAlBZmSKPkMV5IlUGqRy5swu9pbjrMgewBSRZjjykc3Bnn8g8CWpK5hYBTJD5CUsbR+bHj0fEtzZnrMwYQvyXKVbIblY4hyBHcNjAmkQFkTz5gWJFRWVgaKqtnaEtdreVEywhuB0oqVPO7Lvp4m9+5nbxdIRlm2g46DxEoereKHJqjk/esCLQVMkBSatywdHkDiVE1MT4LjGkmYrgABpEF5IxTkyxqrWsGIjV1ROXW6wlRfwpZUDlfyc76ZmiGitBFeUUqUEV/yIVq62cb24836InSUZdHJqQTFII+9zZOgRiXEacx1whIob1m6Zs1WXLsZjQxbX2IQJVhaX94IjjKM1Ja1skDx+usVZUCzTIx5WpnzJaZRYUWHKOPJcgGKG1lmPPm86logXLj1vRo/Raq6JxLUkWQZ+WybZ8tpwUhneloDDU8bcw7EUqZzJgSURjWBgBIwoVjtKUG+hC+dQjcaGcU7oWwBzmSpNxqlp5FloLAr220L1NNpQMZZFmENmmypOpiVPHQW3z9JlhMbjSfH6hHh96xDeDuhgAPn7ZODE0iaU+GMuWqVwFzFKDc4gxCvqa2pFZbwJKapPs6WZRDCu8z5soQN0eybSqL0DzzaWVaUeyxPz9xhdpjr9FY+Jc8U5K0Jqng/sgx9ICtBmSo+Nnj0yOjU8GbxpQ1yoWk0hjthosS6Db40lWcVOFqYPkuQFGPWXr34ekgCvdyLcqVZEnJm9puhL06ZLcqvte68vQBtQgZjhtNla9PjLb19PPp4LPtb21ua0+YWM5mgDmUlD4c4Na0sh0fOP/984BwYmhzzo9zifOR2GNSL8ieBcxWkLD2UFmatDBWMCZYyCLK8pOw0GDOgKSRlZTblZ/lQ8sBjj+GnZWXJhNnfl+4yDSYmWT7ble5ofpz/l9W2BMXb9dCNesLTFu2IJsHSaGRwatNmRxIj0O2OJiL8SSWpNAP52VJRwpeoPkpSQ/x6W8ZBUgs5YSrNTBGOTigfSka4TZYlOVnGTz5k2Z9uR9+uau5yXREVT5g7hTuiCVvFhwZHjlaWas8h+tIjaWk+efuTQvE2x5IiTWdLLIlxiXQ2RZovy0uoLNdDO34rACUi/GlEeIWizFJ86EsnfqUWQDY3uca9rdW8zp0ez9wVkeU+CUrvNdaqNYHTmfNjx9LCvN3QXLFihY3xVcBpRJCCkkGugi2NynWQpUS4V8uFJmb+okOUsRqux/AKJMssLPP4Uiq7PZX3pOFK1cbsXREPkE7JIYBUoYbfc8/mKcNzlG2R04o1K5QmcD75JMLcGpNJUyp5xJaGpLoSHLGEYzkGSw8zZsyUpxSA8nNph4gyJ8uMvuxqMo5sbk+zjoeDnN8c4aXLPf2OaO06jLVAiQmcS8cmp0cHJ2MsHwbMNYhyYYnSA1vSl1gGZk0NZphlLYZRaXk5pvWlOpPSvihy0ikI5ddyDGeyLNyX/W3SI7V3dUtPRKX94sOEyU+3Jb2O6H7huPaetYak0VIZTg87mGrNFXDmk5CrPX4tf7TGc6ZlqcughD3LFSdhMs7ts9r8RYcofX0NWxIlWUKz8yWM2dGe7g/3lxjd/mF7v51jLP3ucnCD8eU9ShIElSW1BiwfNiwfVpZAaUWYFuWNNZfa6nMpmyKwZM4UlDbGLcQyOtM35V+FofxckyVRkiWU92o9fvChiloS1P6uKyLLUHdZvxYosRQlFbjyYcAERqyHV4ClwrydLFXAqCxFilKNeamfMxnmLmFCQOlAoiNiU4QHjYWh/FHrztvos/65L8nS9+XJownqCMOS7z/ufLgNcf0xDJCWJmASqAb5EiywhBQlYGKqM1esWGVhkuUiIXkjQOoUaxo5jjIlwgnT9yVACk7Rb78UhhLt0EsvfSQRfkZOlkSZ15dUrwfL3WGy9Oynv8PAnJhcG8gzJRZIOmdSKwKpM4nyUdDEBpzACJSyZ/BleWmp+tIpFOLgKeJHrvKhZDukdacM5Ss/S5AsxJfsMFl8/IsNAWlZD46pLT/cunXzPdQSkARLpVlJmNcBpvNlOMiBEkO0CBAVJlAGLOlMsESUR1DSmXzQmB8l9adGOFxJlIXX8ThL12HSmHuyW2ennlRjarpURw6MfPzG1KebfJ5LlyxRmJUCkzTJEnJx/uhVynIRSD566aJLNcbBMm7MUmVJmF4dxyjhp1sKQfm1dpalEVvyougf5ctn+1pti9ljcWEljyJL7x44aRY6dWjoaKuZwSk4FCGuGJdAUnywgPE6kMT0gvxKwLQoAVN8ucjCxDAxvgCjora2wpC0NBnnmjHpyrd//+wfoPzyJRvh/40vu7tSnW0tOJe3dSvNQaVovHeISZi8JNo3mRTQCnujstx0NDXyMe42JjcvsTJBXqk0FaZFeeUKsJSxatVVq8ASQ1A++uilnmqdDMlSTMuS1vT69bIvCkYJ/WybdMsSq/Bzj0PZn2rt7Gl53H7owDizV02HDch2D7Pc+ajiBGRti05dNPXxiIKkPh4cgkPhTQQ5WGKAo3gTMB3OVVdeaVCCI7UoDHPBggXCskKzpRVMSZpwpvHl78iUhaOUdki6Ifs21T/1ZT/c2CNupJrSyrLPlWpo151dkPPUoxPOHN+wdpnC3Lx1+9TgTAjo+SMjHw9MDz9cuVRJVoKjypGEM6+88sknr3ryKgi2FIzqTcCUGNeMiRiHhCWkLGnMiDVpykJQfiPJ8m2N8Dz5kih9X9obop7mJuNGkrTXwUWpcc2HZuwSZnmIQ6mPzYAS06hq69DAGyMjpHm+EJ2qNNY0IHVTlpgi+BIDEo4QfOk5U0BWAChgyvRI6mLKxPG7EJQ88AClSZZkWcD95aupVutG6vGm5o7evmddY7RxQmxn43i/MMvd8SurxPS6ZcvI8p61Vbgp2rrpk9ERC1NuNEeuA0xlialyKBUmfAmUKrA0c5HhqAswUX3UljFn0pjf/VIYSrZDirIkC8t8nyjC+2bkaJ4A9bSmusDRgsTs7klSu4VZ7p20AtPhdYrS4axaW1VVpQ3m1qGpAc2hYPlwJXxZCZCUeBJTpRhdnC9S0ZgKE8YUlsiXFaWUlzHf/umzAlGyHXJ1p6AyjqlK3RtAhBk70+Y7wEhSt94kdaQUH7KcKxQx9EWotcugtdhDLBXn5q1bNw0Mjo5OLak0IklVwJI0NV9CGuZkCVU4hVFiYfuC8V0Yym9+QJNOlLNtLxniXS1CsaWtozed6upne+n7smg6SR0RZpmkJiaFJFbYl1VLqu5ZYrV5swFJYzLGnZwvAXNR2JkAifIjztQwv54oacwKFJ3CUPJKQ5KloCw0XQZqbevpbE31s72M+7JoaJzE9gFLotwjSfVsAUZFiRGwxABNB7MStlxCX5JmlCXEICdMSFAGiqAs/f2nglEywrVJz4HSZ5mZ5qv92R+PW1/2TdiMCB28BxImL9WT1OBYQLJKfRkI3iTMeJBfR2MKSyriS9KkSinQxPG7UJS80tBkeUZ2lvl9KQzjLCmglEIeaF8t5GwvqYENzpdVsoFoFXkSZuVSR5O+XL3imisJ06s/ZEmSYZoBSKypXwt2JR+HS7KsAMOC0yVpRk7j8WsibFtm2PnMPchneUSSQksk2rxp0/btWzcvAcdAuCsiTCpafZwyBTlrT9yaqOgVYLljJvFrgSgZ4aazPIsoZ1vGc/iSKOnLk01TpECLj0LC5C1RkhpapyifeMBo27Y33nj+081qSj9jxmGuvu46NkWEaY7lCtJLmJGcWSrDahQfuqUzC0P5A5NlrhAv3JfP4nYj1dre1tLSqr4sGiSx7CyHtYZvP/vsBzy9QZYUUbrzD1hiRPqieYblPJAMaJJlLGNO6QsIvxaAkvpSbzSyoGSIz+owTpbdHR09zbjcMC18S7f4smgg3mBq6dn54BjL18SX1JtMl3RmNMhXr74OKZO2dCy96kOYTjSm6G2Dks4sACXaIXaWBdqSvoy/ENnVHD6TdxeJOkMNJlke7rFMoFVXY37yxrZt2x566CH60sDEEpK6keZqCXHZpZZf41C6KJ83T4xJmibGM1pz1H20/teCXfm1nh1LSnLasvDLSz0HUR3PZme5E1jum6S2gCX14ebt2zd9uunDKqu7nS3vDmXM9caXq1esXh1LmJBAnGdY0pgRmqVKc9CApDNnj/IbRUlb5q88VK73IV9t07uNluae9s7WvhTSpag1Se3j+3LXJDW2dvny5ct8VYXFGPdlgxwsV1/jSBqYcxxMFvP5mITpObMvaUFiTwBmASg//1OTpT7ZUI75bTnLS/Wu9t7WVKqru9uVcVE6SR1MX4ZZbljmsbx82eVVy6qwAl9W3X238SZ+WIzVasxKhQmW18hwxSfImWBpaM6XOAdNkqQxd4woSiyGeR6UjHBJlvZ2SDa+eUWWBfsyY6eudTyVheVec/nn42ApcjCxDEnSBEagxKgMYK6uvK5yvbjS0IQE5hwhOWfeVTpEixTm/PnizPnzA5iYhuaojXAsDDozB0peaZgIh87AxIqwzG3L2LPxOEu26qJUsXfwycJywrBcRmuGovwKxxKbg1mNWa2FxypgOWeOCXIoCjNgWcEw7wM/R5POzImSNdyhPANDSNKYRBnriEhzVt9rUGR2PUSOk9muPsviKEugxFSQIImfwIglAkPFiVmtIKuF5XoI6RJTYarA8koFOW8OMF61CJuixIQAkzgxEOHjoMd8ydaIKLPqR32vrMRJaM4qwkkyvy0J0hzIyXKXzCxn6l2MywpwQkLzCjgTKVMjXH15d3W1IFWagTGFIyak3rQRDpaQsBSOusK1/GPPkPgLwiTKHMnyBblKp8BSx+k5bckQz21LS7OI+dJnOXeXnbOwvElZGpIsQCCpMDEUphVMaeZ6lB+40sFUnHMgiXFJmQYkhrpSls2ZzpsVU3xH2I/zoz/LjpJXGu9rZ6kiTCzl6KHMfBYv2JeFsyRM50vVFVcApVWlMSUEmKvXR2N8zjVzEOWASYEl5fVFOybIj3GuBYgos0X4S0AZZVkuNMsF5emZUZJmyJe5Ltxm50ud0Oi65Tctv2nZ62/k0PYrBKMBqhyxKc7VlbSlao7IwnTmhCkXWZIezh1zw7bkjjDPjfJzRLgkS6qMtgyzJMoczSW2dGtWpawvRxSZGT5L/UPdwFJ8+eHzD+bQ83DmFcqz+uJqDXMlWV0NYxqYmjJNlMOdEGAGaXP+PPoSw4T5lILTFQ1zwATKXO2QdpaOIfYyNSX+Cp9Ud9+acFKYZfbmEuptejyrWgzMbrwU6rBFWEJqS2EJmK+98dBDGTEeLdsbyJmeqgNJMQ87U0lim0eBpINJolPmwEOE9CgK0a+f57Lln5IsS2lKWUpUJb4sY+HJXnmYLtNNx+VQs6C8rHsmaZTJl5AwRoyLMT/d9mZWbduECuQ46jLOXE+WhDlHhswIS0ytPRjYd3yc0ZH2Tx489afP8yTLUlBTfo6nUMQ4PfieGfzMZksfpdBMteRi2WFiHCzpy2i+pC9vAs7tm7Jq6xXCEkEuuriaIksfppKECFNB+oG+Q6806EtSlfXgqad+9Uf2CJdk+bYBid0glZ/yGjUGRE9m7y1pS/Bsbc6uto2ujisw2cMsiwWlbqjjEuSCU6WN++XLl13uJHVcYWIIy7svRs4MYELMmColiT1UywOUC0yE8xuUCJWuFP1BZ0Y+8KIRXuai2uz6F6fhTWpIcIovZ2dLjOxVvEhlWQouCChDdVxeBre/UpZhkgKSuuJyISmuvAIgIbB05kSUa/nB8o2JqfKMSWcCprZDYVtS578Hktmd+bWeHS09J3lT9XQwtBKQfozHQeZ/BEmcmJYlpA7cNc4SSipLFWhiQZfLooASOIUmLAmcMgzL89aDpUiNuT4W5XKUpDRpqjPfnqEluRmkxpV0ZhwlIhwsKetN9SNpYtGVWW0JX+a918AkS6MoSwdzRGNcFiYVNqbqbtA0MCGFyfqz/pr1FzqUF6k14ywDIcK91jJsTaAkzAwR/r2J8IiAESss/UrDqzGiICmSjNuSbXoelufbnhOaqHemJEcZnsSXGucK0wN5nsAUSZRfCJhOQfUhzcaAplxpMFvSkTLOB0IqXs1/fP99h7I0N0mhiC+QE5ageXUWW4JmTlsKSSx7T1RsR5Slgzm+AYYMopw4SVJZGpiwpUQ6pElzvbJUZ2JdaGlelCXKXb78WKDRisQJV0qupJgzmSzxsCy7JynFCJ2kIwKygPMjfanNkGxhlgfsWkxZlqzkpBn25sUm1C1J50yQRN6EYExIYfrlB8sZs7FRbjkGw070/44BzpwZP/DAkqVlboBjJpJg6aRBDpoNIBlv04EzC8siM5xSrlpjO9BjebhhmdR9bDlt+fKHr732zjvy7Gy5Z0ymTJDEDGgaomBppCwvFJYXASZZMsoBc2g8SJaUSaB0JZ0ZhDmTJUgCoh1sK0tJEpM6XoZMoRh9NpHHlvTlZX3F1D4+y71Zx4u3LFOQL7+z/ZlP330eD3bfxIPdT9SapEmYwtLRFKDrwfI8pQmOmGpMpelLQWLM3zE30qQz2okyFOaf80pDUFY4iILU0cSErrcgFWV5BOXi4xvADyu/Lbs7O1vTqe5n2V+CZWuI5U4+S+WomlSWH764bdsDDwXaJiBlXYBlfliQsiiNc8BUmibGwfOiiy4SX16Eoc6EBKWwHHCNJZeFezRRRp3pIvyjj4AyLrEkNoWpNEnS8WxwubIhqy+Jsufex/FIt6Wtraeno6N3o4E57byHeYTHchdh6XAOL7sZLF8XgtTzasuA5RUXaJMpirNUkhe6IAdOgYmceZGQxHJFCPmycWrcOZErkc2VLEC80siIEsvKfG2PKhTn+J53UMRGklTElpHPGrRtsSwpfNaALPehLS3Ld9SUcpHxxvOffLJJ+nUspYmBHT+A8UyFySA/r/o8lHOw1GFQSqwbjtgp8eUORne4v0wcTXhZChBRxliq4Eod+k1I1GLMhsWKEQO7Z8rM58foZ2CMMQecK6EjfZZHePlyaO3N0MuI8ec++RQfHHwNdQe6drkE+bVCU4lCrD/05XnAaYL8QiwaE1KWOlwJmj/I4u3XHT04UvEw1ysNTZZZpO/4Q9gcRMKU70DT/zWGosTEYrKMVZ5n023NLXjTx9qzWX152WAxxc+5KUtqet3NMCYmpL3RtddeqyyvvXz5Bcsvv+ASG+nGmFhnCs4zA5ga4zbOAfRCI1QfiM4EzcY50QOPg0pXZnUm2iF8Y21pBZwZBwovYoEnJlyJGYMpJNWbbNL9ZEmWVDfe5ettb+8uUo3Sfucf5rM8spgaqFeW2IyuxQRIHWB57SUKEjF+DjYJ8zMvuNixhM5DoFNAqT07WaoxG+eA5LxNE14N9x0KlPlgaoRXCEZDk0jBEcOoXFmCJnaNbqsGTA/mQt+SuRoilvEtM94R8iCf5UHF1ODYzUbWm8vhS10YCPFLLr/kAksTppRdRZjASZrwpVPgS0xV4wRrOInyOiOHvn1fvnS+QkSOFiWmJ8tRMApMLAfTw9kAfrltWeSGY7nRY7n3Xh5LXGBSo1sMSehmmPJa+FI4AiT2Sy5BkIspsQxG7IjyM4HS4jxXaGqk05jXhGjKwNRLy/gFMHJlXpRP46KtsaIU+dLArJAh0wY4URqcIFirNCFHUwa0ULZjZcg8IcuRx9mSLEc8loeTJYw5l7+ZmbzZyQY5gAbevOTDd5759PlPtl9AKVJD08JUY1bTmLQmvWnbIV3c2Fdm19+knVlsplMcxq1zITFuEBH78t0IkfRCzCDDVPlscWFfEvu+1dIOnaKkg8qoXTE6jKLMVFst2moZ3aYL0xKiHTpGgsgEQcSdxPN/zjnfc973/b7O4DnL+5kxN788//M/57zL+fPXlz83lE4E6eR+gR5aypv0o+RoepQ4xIVHWN5asOX7b4qlfBnb8vyhfDxVT7CMFuT5mdvlSz9ckuUXPaOtU1vWcR30QcCIAh0PlpDCnCS9YpZKQGH/N2lOLRxLJvFfiJIRnhHfrxRKyaPUaGnF5A69MoTWHcn3xV95+qXXVr/BNyBlTHIUy7mI5aEFlpqsa4KZdCZ8eQEW5R0fgKLXR6dKyEEEaYW+RDGGLqUnfSmYA3Il5X9vy5U/f/+OoTzj46IgMyhvtspPbl5xC0pSdCUaTwoEyVtvZXyv9W/dP/fKGn5YXUDFEtNL6ZDopWdO1qW5ewNIa109Pa3tHW32uLVIfrQFgyYFjqdeZDS9MVk5ZC4NtkTJGvM7RHjBlZoTbWus/OVXoHz77TP0nGERoFCBZUEYMSOM5xpJcoQsvu2sWitH3npk8zNkyQ8wP4fX+dY2t2RsOR1PL/cWy/QEc+D+4Mqu0b7JjnWOojh+04Z9I89SoS5rosKcgAmaciZRFmDO5otO0uXKEvH9B97fAUo+GFcKp4PoUXqaBClDGkuLbUb4rbiGQ/yhI997Te+O+481rl7zRkuCJZ40kHYXyx3txTOEf56FO+sEOblOmxsPWQPFLd+NnnqOianc+/IkFMvmivOlS88GyKVQ8SHzlG/JLj1i5raRdH5/y+L748cBkZVAWSW8mW4QL0Tvv3VGlKymG8CRlSJQi3GCtI4voaxd80rmmwbPvLSmubPFoTy/s4K8WCo0XHLA3B9/RxnNBrKcfMiLHL/5YOrH8Z6uc6655hwvYLRGW2LQZCoXTkAkS1yppDM3Kbrlym2hNFN+tf5tkPz4LLQL0RFkoEoBInDaJRZx3nCFFRNJWvMcrXiBJRoeEmxpeXXNa+E7oor55x3LteAUtJAs5cvdF3jK1s0w+UwFlN+0dUyOAqJ0jgFV7kE5Hv70AknrCDIFk7IIj6bnSkEnbCPp4BX7r95+G9vHRpIgWShDWWhEiUpbFmTnDrDdDIxWJcY4OsqcWX9k/dHUq8+//tpzsUPxNNH50Bxdx6IpUdjB3Mv9HfshsrS3pZo+mOqDG4Hv2SRJKjEvIkxp6fGWgEQzdubsmKZBcub8aefPP3jeKFBCBo+dI6lf5lD+uhlVchF+g2MJjFZi0Zbem7RlfZhbGtKWlubXX+O3l8Wyn6ic+w7VcKmdIv6t392Aevt6uu16PWQMBVMKxrwIJSJpzrSpUUApmOjPHCBH12nrd96k86sdNwqUJAmO6EvqZrRsjNsndkETwkEjSRGihINXQbK+vh6dFuKd9jbk04hxQ4mdDbIizMPTLA8LtkQZWEaW5EiUaZgyJiolX0oK8ijO0T5MLBu3x5U//2rHXPsAjx6CZZ8BSUv6RhlFXgiTzhRGVJYAEqX+PjI0nolp+nRLZydHy3hnI4+dDbLUpGjfvPTtxBFH3HUXqndllmZsTCn2JWoIcRmTNGdHojuOocyL8vs/6Mr1jG9Pkj0uRXEWvs51HuoNdKSEk1ueig5iE0YPEzTrCyJIVs2HoOGNorVw9zTLA/NSxcztR4BmBJNdMWMGmBblnqZ4AmOG5mmX9ROjAnxba/A/YUoGeIQyhHpG51k1gibSBMu07PAWOdNOBbVKkJB1BZRoxx5dH08tqbkCK6Sews6GVuR5aeheoZQxny3qzESYuzFTOEWzwFILHmXweVH+/q5QCiarK6hCyUKFa8KUGi2fIkfZ0pASJlGiEiUbWKLGLAdI0TqmnjTLA6K/7r+fvgRNOlKaJ8pPtBQEmMSpXB7TNKCXfUqQCnKoYr6R0pFc//YZYimginnFu0gKZYIl5M5gI01jeQdR0pNUIshlS7EcyUuHB5YK8v3y0lgDWCZ92TXa2telqZFYxjBPOglRfhJoCqdElKf1y47hxwmflTZlQHnm42cA5uOoMcxQ+Igx4UlCmY5yeDKwvMMKUeJwaom2pOrgS7CsQ8GGRkA5HeIbrWLfQhrX1voCGfPbmSMIE8Wc+Wxv39Q6TNrbn30WNE02x5RO9DBhS4BEI02PNAlzi+ZCmleWXn6/G+JbDP1P2ZJvV6LDxTtSVMERJNlTOGeEAk3oDsCkQBNdMZZvPPf0850tdQazjiCptXlp4Z4pW2Jrfc+FUfIZQoBDDPKuvvZ17iMHbQxysgTNZyOaRHmi4fQKINmL5uhxiWf6hbJEfHMqBJQGEJVPIKUjHQxRSyrQ9DBJkzDB0FgSI0AC5R0ZmC124LhtvgEmTBlo9uelQ33qkXbCtlte6kfyMV3fNd7eFj68sWTSgt078xw0GTPQTMMkTqE8jY+0bV+A//TnH3aIPV0ZlPDl6fKmt+XlaFmQ7OFIVOuo21yPo+0A1CzJI+hF0qOs63zyKMoOSOqc9iSxSZSXDtFwqeRzcF7a3ECU3ZN0JGE2tY93I5ejUiAaYC5GA0ZjeZKxFE3UBM1wh0c1X9KVvxpKuvIUcjwdDfzw2Aw58sL+crE8jy2t28677YbLcZSDESTLwPOOICYesJQ1DSTa9CtHBeHw0lc6HcuhjXlpb7HUgLl/PtLEtcZytGkJBJgdkwAZBIwmjZiLfZiTpqQw9zC/kyX9taL08tsPldifw+1fsmSFK60TT6AMij4nxR/+J1CGY0bQsacpJWKMSNbeVwuUqHV1LWtXvwRzUvhYcAhx6UClHvly99QMExpfB5RNbe3jXZpkWis3ll09fT0B5mIHEzEOlQrz2XCHhyw1RS+2J/TDuyGBkySEHiwJlSzlT2v2liUrvSmo/PlEOH5ASIFSvoxwHnlfbS1Qugg3AWhLM3YzyfM5Z8yxvLSXbBlvFcUD5kCDj/G2ydHuI8qOAEEJIMvPGZ1at6StJ7BcDHMCJFGKprK50RzY3p2hn39/USjJkiBPMZZssGagycvlVvXVniAPlV8lhzefuAGdwWQ1X6JJsGPn66+vra+F6muJUup8A8frPvn6NDc2KvLSfkVZ7nxI+H80K+ru6S3DpSwF85zx1o6mhx59qKkvDJkQjekUxbnM+aFA8qK0k54JEeXL3pVkaT1g0pans/G9FkjhXVw4deAJCtZEpStNnqNUe0ftfauPOe7TV9a0wJvGsjaGef6xLc3N0yuMZXNeWsDZZZblvolZEZbkVBlBloGgdbRlD+5eUE2j5YsFEzQzMDVp91sa7OTKUvEdUFKPo1qzwjg3lGgQwxym5JvpxVk6lArygBLd3bfdTYo4zh+X2je/5depX1rTUldLkCJpbcX5K1ZYFw+Xe2i4lMBy5z0qALEij4Igt2UkZca8HkQ9yt6+MEla0taHkZMQrTvRfqRYhmn70uMV4Z5nvsSNCB/fL5MkMg8gFlDqCW2CJMvwAyRL0GSjL9M8gRICSoOJcfJ1O2aCONe20JbsyBI0PcrpzcaHmCoqFOIRSswwdz04T5bUSEOBZRlwogdPkmwKJFt7n4XKGeYO5onosmFOxfdwIQV4CuUPQPkuTbke3DxNGpOhTqQRy0DSmlnT0WTvENKYhjKpu9EA8W62uyHgrK1tef41f1zMp68931InrUCpWwGWaJ05IiIqzYjSQb53RUH5/DCDPPC8y0B2jXcEkOvae8rLny2HLKkvDlFOmmIpmh8CZbSbXmJe+fMfLxaGSlA0gSZK0OP+koEJjGjsAfLSS4Mfn8AvP1iykSMKeoooTRgjqZbVGwPOVzqnCXKVoQRLQwn105BeB4plJJsVLYxgDtwbs4S6LN9gtonSNtpbXn59uZkSDaFthSRZszS/GBNKVKFMmfIxoLT4RoA7EaO/0J6JNytxSYumLJw5cClYFkZLu9xJlncCJ2pCtUFvruVZmjTnmulVxFlgiTYSsdxrZ7DMouTShxHu2sj0EZG6+zAFclo3OX49VE7RnIufBUmhLMS5kvlAcmuoovieEEi+iKESrlx6pkRbWh+ABnN6opIL8ieAE1ENjAbTsPIKluFMOxRIGH2ES81rng44V78xXbfKtMJrGHgoI6oQLxLkYbzEdeZaoWxtbwokW3u6y8QSxiRMRTivXoHl6HGapSvAUyh/eBEB/glR4l6lUFolzseJk648E0mISsHERyiswplgacU6MjVPBpk70zAjmnUW6q8XaL6yts5IBppzQBhSz4LdS7M8MFchDSzzIHsm2wLI9tHu6y0JLVokmhbqlsJFEyVBk9MhpZ6KojcaX9RQqeeOEkANJzqFO2I8401+bZOfIo/lsXqSkEhmvVm5qraysrK+eTWyOvX0mmbihJDFK6Q9dtWtnvSAuesBBt2X3IzbeBttc55s6piEJYOI0gsoUSlvzCTMsQJIa1w4ZqfnkEO59DSvkjyBUbZEd4pAkmVx3SmRJYo4NtY2FlB6rarvfP01h/O4jaubvTGHciJUcZBsWTSTS3NXk2WHJ9nXVRYJ9ixftEiDplDGcyPuHH1XmFOW2hn6HkkHrvx6g0N5poFEScMExVDA1CASJ6s1fFeKLNGyJMlSJNkVaDaiNjbGMOsqV6FMv/HSp96bK5xiW+YOnI/lngsi6psnyHKyCdsbU6OepLQIkjMh0VSUQ9zSYNXCMbXn++JjHCqJ8mTvSeLM8kQBUnSnSERauPALclmWqBmRIFGiGEQjiQsoguYqu0w3r37aJknP1BHlTGzLA5TFMzAxXd8jxu6mmF2THa09uKZIWpQLpgJdYe59ORA/ZylXRjcaHwNK7mVstTtsCnG5UyjZFQway3wJkkWVBdl4591ojeQYXFlZUK1hBEuqcw1ovla9ohosNwmPsnjpIBf3sI7UajIOcjrz+tiZiHRCDAVChIOitjOKJJ3HiJLxvf5kp6VnAilQWk3izE7gw6dR+LEzwMTFI72E3SV2ufMS4MMJTS9EMd6IM2sB0gsDZmNlZWOlhkt21SioncOrqgHTMo/wLDxwfpa7LozBTyD7SEbSmrx5fTLMuTiXyPLHvOeosTJrSqCEK0+EK8HxNOI8k/4ERs+TTdI83kiyEiFosidBXFDw21heYofaBZg4RhksHcQaa4BaiWulSDqWAGkFIktkHmmfnZnFS8HceefDY5ZDVxfxZff4uB87jSRYSohyOZMwTxqJJpaZsfKn7/967MXHMFR+veGrrScRpQOpp4/iWC9m0PC9nsvct85Ikp/d5OeK0fkeJ9pdCprEyYYKpDWQJ0pfBkd6U1oHVRrQFdXVq/ojljlNLufJPjkWaGAiG+SjHU1NU1GUJ2FKDqa+0qbbZEo6MCUT+IaXX966nk8joFAu2g2iSe5ETWYiOtL3/HiplUtOIUEv9xswrUo1KESJilJZU1MZND3X34mLYVzF6jX8EeAEPHvtKpalp5jS0L2pIB/v4ARJcS5r2iVGaeXD47Rjmc8uvx3KTza8vHVx4RY6OgiO5MVLzhTQ8B71ZSzsKAczQJQIUCRhRZox0DSFGH8Fn00eW1tXaX6UVkwkbHnI/ChhzF0TU8z+ZQLp7lksEUuA9DR7Jvu6iJM0JWxpgGQJV/7qUX4NlBbgnia7oPXE6mCGJvnVpb6CZATRXRYRTOG8EcUCnGrEYf6kSMmYVfxU28aBaTgzpjnzcIW0UCG+fdlnZPjqiGQrSJqmemRLlK5WLIzagzdjlNjS0M5QJukw63Co3OpurklM5sZRLKGQ2yn6ks1ASiCJmsXIc+2gF1B9dN/oIPaPfDtsRBXj/Z+6T3qvHq6O1Z/IPFo/lg7ygxOL8kHtFHU0RQsg0eyZsj/vcCwTML87Tmvwz1JJx5uSKE8USsEMOBXqkmgSZZpmcWPqnFoKvxzMTnt1pH+WWOFJ8+XE0Bho0pudE7JlYs2jyWUplm4XM8dCY+JRTKq3vcnvExlJqbvVbXxMEiVYiuao39KwAG/KJB3IhsoNX8KVYpmlyWmS3rjKShAFM1Q2oaSMIkFCBnPYvVE7XFNTRWfWVIHnxBDinDT7WwLLTUTi4fBGz/wsbe1ziEdPnri5S3X4vctuy0Ay5bj/8z5gJMwoBW2mK7VwjE0J0ZQbtp540vFLDebx65euJ1PloIyCIQPFM0UyRdNXHs3kgpu9MEKFGOfXxD4dmOGYWRU0PHaCi/Th6qrq6obqVQ+TidOCvTW5LCXLPgfmHEdq84xjSfd1jCcn7N19zpQdo0BpMF3vaH5YeLL/hCXJG43OlC8SJQKczyK4lwVSKjDk2Gk19mP0oyhOZ0crQhkrjJiNQ986a87Qk66gTsxtJMy5amooJ4t5WwpmyeyzT+EfaRuzdV1Tx2hqJdnjTdm6CCmIIkxO2stH/c2yMEXXjcYYpdmSAk0405QMeA2a+oKHcFqj0jTx/U0jeRlJuqrzk/GTtlxeU7N8ObqaiQFaM98/UbPcaHpVVlukb7QE1NAw8U1AYtf9Mbmcj6QW5Qv0j7CN6VJ5b0+3ZuzE6dN6Wy+nRp5mwZmM8GyA05R+qARK3amkBDKaIZGmoAqlZC/8x0RB0T4bid6DhO6JSa5EW37jSgO5HKVxeMS9Oz8EkoUwB8OJof7OVRbhDbClLLbXnkC5bZaar3ue/RwxJW/L3imX1ie7CRI1VvmWkMKPI0olHe/Kr9/Z8OViuJICRFZ0GYli5NAAEKUgfG+TH950vnTiyS2X2NnJl9wEiCjWr1wJjqigaOJlYiB/AhP6RJVUjVLVAFU3THzkiVAHpdc8pXfe9ueICVk/gq23tGhKN4KSZAbmKBc8hnJJcqUTUH69YeuizE10Ai1FE1021vFDzrxHHysOV8ADSLrRiv3GMd/05I0rgXBljUOJftiPmsM+wANPx3JTbEttAm/bmLvtk4s01pBBOTrlwruPpgw0hbI3rzV40pQaKsujG5WoniQvVrJAKeGkSBP2hO4poptQKcc0+o0gB03glCZcQs8PTFdJjmTDzEcxkcNky20bc99cLLddJPUiEVl4t49HJHn16mKEo+abons6fwklZpWL9eCrB4oilMWVBkqWRHkPa1GcN6W10mQ9WUqYoudtdjQ2POFBsjNtKZwXjn6PPbcXJUfMvdw/ZcnxZoXEhQ7nmsZPNOVMW/Aw7TQlJ5VCuWgr76uhRiyX2lRTmh+mgOJrZwBa1JziGIsg0VIokcJpTY2aDSiM8ZmHc1LF/ttjSy0k915QyphdfW1uKTnenSSpZD7uH3iJXPmL4tu7koppplM6W1GaSaAkCZZUEV+iJEnKm0mSVrHe4VuhtGYDKnBiPgRbSgt3236UO2RGzBFtsIf03RpICiiLRfgHWjgq6ThxqCwrT91AT7gTCE8KA2dJf+rTKFKWJiA+QnLEKZiBpWgK6Ey/S+hzgEmU0HewpXSIbLl9I+buOQm3d8Pe26gj2d57RJqkNjSn3LwSkyE93UJxW+jrL78sB8OIppWg9aDJojBfb0gzM3h217HgSo6epx0wQqq48uiwi8EUx7GhEiV+iCRqwZVXXbXcStXw5jDXBMhlZssEyr1oS7Lc3hFzj1ykzWGLo809vtGtKXvGl+MjR5k0GfrTko6GyrKysOkelLYmR07JYSw696SuC6EOjihBF1sxfKlj0kkzwLQCASM6XKqszIw5a05UASVgfpeLpbnldo+Yey5MRHnDXQWWHT2as2e1aDMDHK4MSYcchVKbcjFNmZPOlDUV6MVo0pfsfIhHn3lHuwn/XTjAMiDFdflKLwBEA0oWCAkIRIc5ag5XAeWyhh8/SthSKLePpdvHjOXvVvS0rWuFKbWY7J6cVHhbpNs7PAxwTSqdXNb5crEURXpgKZ7emsIpi/pNEG9IXtiDIQmyEOxN15GlxFBfOTc251AaSSAMAkf2y5ZNYNTciKvBbIs5LFAS/xcj5m6YF0naYc/c/5mK0xCf/+UUPWPKT0ByUcAYLlmYwin5RabbTcKVOO27cWgmehNVokEdSbSkbA3TP3jVxSuvMpzU7Ni3Qw7qsquWLatCnRmeAErA3JQYLff71yjdvCgXS7d+InH7cl1XNGZuTIyVvxZHKaWTUBZoBqk+5GE4zyZS03UopHkyQBIjCmtKN22ypeCmlVeuvNhQGs3lm/BU+ZyhBD12xMj+o4QtD+QG0XbD1BZHOspT6rYbPQlfdn9QcKVmQorvRembvuwTOLMrIa0vdT278FEpVHIMrsQviTyzGhwzmP2DoOg12M+3QGedL2NVbcn9D1sqle++IJPLs3clm6Zgy6APbcGTX+IfuUqj5M4matacpSMdLJNxjoYClGiGkU2fd0dNwswG+ZUXzxLmlkHD6IAOj4BlxcDw8jTN72RLv3qELf+FtCmcizUwkULpJu0RyvG8uTKgfDHK3w4lYEIxRauKdK2FirxvJQkrCKJJaZCogaRQojmY/QB3JZrpw818e2SIHKXBb4oknn8Nk8a09CPNhSjXAghZXSh7NnOsdDsZeCUiGioNpSnzfIdykCSO8wElRsZ6UmmcpCmQKNDsWM7GzOVXFnDODlQYzDlkHPGsshwu7bObbPmvjXlQLhZuSgqlm7X3RXP2rg9sO8Oh/PVrovRrHaFc5FmKZnBmyXFTNFETLIkyrRDoD3iUDxQwUsSJ6py56Sr8URgzN1UwzmcjmB8mVzx7/uvRMt7ITE4ytWHU08ShsjfM2dH1dhQWjr/88QkYFgLckww0QZL5nJ1EnB4lO4i9aLo+rSxM5iA78Iok7UBQO8cfHRVg5nKWgDzJB9GGNxvNjcP3WzJHd38S5YK9hfLfs8xGeXgik2MlUOpuWld7DuudJWbKvzd8TZYoQilt1bOvsfQ+iySYkdIcMzR9JrLDFtHxcO/rAJMcJTgzZ858EIU0A8zNE/cDJDT4QS7WAbuJ5X+CuX8utS2svMNVOQVf9nY8jIVjkyWdcaB0LH3WCduaMudWwszQVJwrrZekKZ4omXgHRDT0F5MmBJr4lYKZy20avPLBB42mdfb0VX5k9n64EurIJWz5HyNc6Yebb9KIf7miq42PHQQB5UMnuAD/u+vLDURpJDVUUgp0smRJx3maJolmlIQZMrpw8lQ7XLwIEZGe1OAIszkoOpz3owzhLvZV95s0WCa32v6jLwlzYRLmRDzLVCYiSjNl95ewpVB+KVdKivTFWRHnv/WmsyZPX+OFrjThF30pU0oPDg6AJcZMknzQIZyYCSg/SubwXZDDxfI/RvmC5JDZUATl1JLcMcc9ZCjLyr5khAtlWTbEC9ZEnyZprZiKw2TvD7FDpXglTTTAJEmUNElo8CNOjcAR5jSCD6Jctcx+DbYlI3z3/2xLPV608y6cGEn9mmVqfvTwcZhX/vQbJpsFW4KkR4lbba2EmB02qQxNqChOMSVGCTwJEEALNA0jQc5u6f8QKLNADeYAszlIOtGSDmUyh+8rlP9RLsq5LSwNp2D2YoPjBMwr/8YdINoSvkQxlG4K/0975/PaSBmHccTqYcH20pZQuku3h1x63KMiFUT0nkPxkoO2Za+Bgqey2EMLvZf8CTlkSGBymEzXFLJudkMOQYiH1rq0IMWDiopXwef7fd83z/xKXG22P1afyUwzVj18eL6/3pnOVPXmjkx9aPVyNFnYP5bPxw6kPKtYt6hA0sA828u/OP7ysyK+JlEC5vO8FqAEy8/7e4k5/JIsIc7lIwdzHyjz7wFlU/pM2BIsXXyLGv1VskzDzKZpeGYEutIESUMU3nTPeMcmRGNAjTMfy1u+25o9i0OaxWIRMFF0juHMvHWmhrhKx3Bqju3Q5Vi+ObWcj+krFHO6sra6uvf+6k+/+tq1G5YWpSosy50ypJeEKZsoq0HCMVPAKJuRwQmS+KSE6nO+B52BI/gpzKLVTsKZtOVFHOU0u/RLG3MqEeXPvxjCbMCVu5/s/tm1neaz77777Xcb3ypfFpPqTfk6ima2NxntWUiFpO7ui/rS/nQqKsy2GPPpcfHLTz8rgqO68ksHE/uxganOtChP8zHdneKSxqVhzt7Lj1gyCkHqo2969gwh/uznP/745dm3K5ZloybDZteCHeFMN6Wzqsft6ZAWkkA/cA+FNc7UQ1Tm/d7HhybKi07tF1hwE5SfFdWZJswlwJUmqntMi1NvsR2aAMzpRDF/RJb73zSHKL999usfP/34A1xpVTERzsuU2RKSYIpDMtIdznjMA6KB6WjK6wfs+4TW5AcOVOtIohwQBSfM+X0+L6egKR/AfCFloL2zDZDbj9rV/IRmx+z7rqfYZcZX2f162fNXnJ49+/VHzD6Vb91FyqZGuP+AGgVzdBniTxz4RF1QZMIEQrNLDVrDgTDx1vnBGVgeHRedcJp/evKZhbmzvSOT9/f4CZg7O/V8THPSWfK6xCRS5mI+AdM6s9Ft4OiyZRcov6mrKxnhgSAcbiO9+a727hnW1M0dsH9cUJTEKYXI0nRM9W2g4In3+ANnW4zptRnje/m9vXP9vr0jh3brov1oWzTo5+NakAgnyEnA5PIb14yS+rb5DVRvrsQivJK6wWN0TR9XhohVHxJJX1KmNQJGoSnbGjJmkVHudHEIlkdPAFE2aGdb9Wh7R3t06m3cWvDmJOoOFzkkZSaK+d7Xm6lrvHVhGZrHQ0mE16W1tBFOXyrMbmM8zfR6XOxCcEGURXMAW4IlDkqziENxrYgoh0yUr2GXpmfvRRscYUxBiV0P54qSus9kORmUXMuMKXnJvCHoymHD/Xm03y+zhsfvLmz0M3tO/vWAMh1d1FHSsaW9OfD2j1oCElKYTu1TreVFpxbKjZ5vU0BZS6DMTRmUk4OpLAEzUcxfJGD2BJ1b1XQRXovfcmRpSgNfHRPqOHC9OJNo/AHv7qn5F/IutoG8pjYpjfJz06evF4uDE1BDCo2xbJtxh5rhmuVkYfKuTMKMjubdsqy1+zz3bJeezpdmrnzwdyxH8iyYI6U8heUR3nx1jBBP0Rx4YHl6UXTSqM+f7WxTAw7hkQs8ZDlJmOyMsgpQUNV7OJg8NeKJMkpTsJc7epJNU3cmTgVqn2lIhAQ5pDmo7+/v1d1bakmyCJga5cfr60X9aGeENnN7XTkWgdJLocS8M3lbjuqMnvJujlCTJW3aYYSn1FPHmiKEfXQD73jacf3AuhIbRaRQS4w5gC/TOtmDzhHhskHtQ3FqOlfyWhmT5YRxEmZMT76gL8sVomSXHhNn9BBfCHNktLsqpIeCQUk7JqTFB2/x35Cva4WoM9eLa9qxt9YMyqKBebZujTmo5+OavmtRUpMOc17/SY6T3VpnheqLTTu8eh6VWtgfNpscLmv1MIWTLNWbBxCeOFMo+D2vB5pJnYPl6QCvpNYYJ0rsgyMxYnFt3al9cj4AS2wI8HzClQblpFny5jf27H93B5yZwxvu6rkfNBu0pXDuG5QuzpVmT1qoKEcLkzJBfoCtUNndPw0TIOHH7ilgXoDchq057YHjuWlqORy5hg0IRdtFRVlNolwCSs47k6dpYN5LwvwKNw1TjPC+a4+k06xy/OlWhZkjaZslSPvTMJExcQwqHcI0R2w1vB2w5iCS5sc1aYuUJN7wvTnwjrwAGNdkN3N520S4HsET8b3eOcwntGxRvmKYaWc+/7qU0bVXg1jn6TmUWuDrjWjrbr42lXGqAMk9IhWLkkwPKnjZolcoHGDbiBhzo7MPdTYKxpgXkj4HgAqWttwcDhQkQ71YsVWHSufKVwRzljBjjSYVlsVhRCsuHZZ0sAEcdkjWmOYX1SDVKFXkP45zPMDekfcEAmQBryCACu6wVgW+c5AsbBY214Ts6QVIroPl5nrrVOdygKQGtkOnpq0rkzCvJsyfumUj3rjlNYhWXDqcJStyxuxJX3bKrPyjWboY9z08uHhwAJKyR1SRIA/sm/wHhzjzBptWa/19RPnFelT9lCvnR+fKyQ9As4spmI+PGeeAAnZEWxcaDbvioWeVrA5eFuh6DPoMloSJTx0sKwdQnGUhKIsx8U1YbrbEmC3BiG0TmVGMuU516nsjys6rZEmYbI2SV9Q4AvUSc3oHNUgF0ByHYiJk8nxAlkmcNbCsbXwoJOMw+4JPUKozD8WmzpeI8v0Yy85pPtUMXQFKwtSmneNket0o6IVE2SiL3x7YO+IariFKO1OyatetzDH2laVUoYRCsKwDIxTH2d0FvtbGJmgCZ3iq+VONiZS5eX54NhimSs46yRb9Kli+4WAuE2ZyoKSYLd2UHkgu7WSxDMSwjZQvDcsHYJng2UXxqTYPnMhyTWaf/kBMiY+eHXY2hxoAKD4QUdKVC1fgyrQz59POfI44T0oHxl4s4KsPstTRp5uN8KV8MctHeIQpdiioopAHDz90JKkOjHnU2ShpnONM0JIlyrk5dlz9pmbe4bRzBSLMBa5n8k+qHmXakq2mpwE/fP5JrxmbLOsPRvgyVtyBEvJRfFY7eKC2CfFOr2lRlnxpi2pCEjxLazJWHrUdypL7UkujvDd7Ra5Mw3xnJp8uQbypkNmyEiPrBXaybPSA2Y9OlqE9yfKlnlmYqooUH/eyq3B3vxrE2qIBvgAlQtlzfRG1HlbT8b14hy36FYkwZzNgPo+vtndWoeaQbE3ADO/LrutVSqOml76gQV+6eVP3h3haMSTFx7MsD3raIW1gA0IfYb1bUY+WNksl7YsC+eacuV45zacElFfuSq4avXVnOZ/S3mNjTfaatdhAVHZkdTCvuiAPeBIXY9zRFIFmAHzlhkGpJq1u6FsXcV4HTA+uBEscB2fCEgwVJ/aQq0LxAs71yisQUZpG887SXIY1nwy26MR6r8mVOBltuJhkMiSv//YbY1hSsKXAbKxqwjQKyoAZaLhD2ggF4GgU1L0KEELCMmCmpGYWODdesdi1v0OYVNSaPnYO5tEF45rWIVuI+tFxyA9DP5tlEIZqzIf4yBTZe2hVxUnoXkrt16V2g5xkTKdNcwyxKHQjqk6UpYPJ6Zx68aS9ld1qek3euWlSqYHkRUtPv1zuZ7JsemXevFDD+2/6jqUkzD5eGFiSk1KIID/sKkg5UEE/w5Rv4zL4daJkBbqTY6cZnSlZg7gUF02emi7dXwjpWpKrQ1r8G3GWbEI99xaHUE78SJBXA3uytVHd392vlR4qSMqv0JTxsdG2ldcBkzMQYDLOEzQ3EyvEUnnYamqGHII1nTqoQsEqlOnLbjnSRqFbx//P4tN1o4pzaakmxtwqbZXA02mT1TsV3wbl9YlxPsu1jtjiUfxp902Pf2EF1W3yZEsvJGFSNwKlWQJfZGWkWTdtlMFXkyB/6NSt4gwkIwp40TaqpTuugF+vGOdL05k042mzW683eSYh3mVNF5O6cciwXMnIl8JymAp6mmMFJj7Bqg1yvDQde1ivBWLLLZgTQi3PJDk3PzWsOtdKk0sdHIKSNE/Sl9YY1fVGtA517Iniq5oCn2Qp/143PnaCpOxSyVcrLmGqgNHKZ8mJKWdMee0BnojzKVozpr2TdimLpZiqwvA3qZS/8hK+XNGtUYuW+65lLtZc0Upe97ecMZ3gzS49mWoqYcqbEN9ODuYCS1CiQdqJUaQTfXdmph42ntrSG4D0Jcna6+6+udAOH65gD3URbiulZu00n6nc7DC+bwpMjXNaM7sKXbBDIjCPNZ0BD/WjvVPUlwjr2CXNqssMW9j8/u5qzX+4he9UI2TFSZhyfupG1O8UTpc1F9hrJrz5+EIHS8qv1boMeC09UZaVGEvO92JgkOWwFMpXVbMS+pbkivnZDL2jfKamF2dtfN8gVyZgTnFAT+qr9CwUHydjPX0nm6XeqAB2/F3PdvuCD8JxSLLHzjyVKTW8b1SqTHVHbI+y9PhrmjN5z0y5MWTJQpRi6Xtm8OSzKkLDkjIkmxxxssP7hmXKRNJ0WXOeE3ranK1Mms2a1yOvahZLxv9uh4+b8tzds5S1JNNkavqetZnypqXKzEBfYLOZGeullUzRlyzqZMnMGoz/z4MeC3eaZA6J8ib1lGN7TQ30uwz0tJ4ePuGfVGao61VDuhThH0YdXOdZpsOzHcmrY0B580lCDPQ7i6SZpcdP2j55jlO311l5Ofndnpcfo7fn7jqSN698jw302eXxNJ+iTyquTEyNSv2Ujsyeve9M3aiR8R/QRKSjQRqv52fn0nheTn6ndoYUOV45FG8leaNrTvrvBOjNuzNs3kf58/nZSavT9P8NUb/ZrdS8UzbkIyvO7fNkzJrWm6zp44B+9fikdTwo/QOgzQ4wjg1rdkELUyZR3sQ555/QnJ2/x8Q5PoE+P3x8dt7qdINm029kYW34zWbQ7YS9vnd4ekSOYwvO/QXrydtnSiHpaGqko9+8T5ovDfXs/Py8Umm1QqjVqlRw2j/zDg9fAOHLa2Z5duoWk1SRpsWJxPlv9VH+X2o6946AZMW59sXzS3oTMDVxLuRgzqvU3KKSvPWeHBJl4oTmc9Nw5xUIWRKLaja4b7cn6U3SVJxw5/0roAlH3nGWvEX95MsQTeB8Z3HmFUb7XG4JoU2QrxNJFWlanMtz+VeimaVZdeRraEmH0pnTVSKN9gnbc+7eEhrJKMjXIU2OkKMJWZyz84v35i4P9O3pmdzywtCQr2lsJ82pXZJzJ3iqP5dzlzHo3Mx99SNBvp6xPcKctKfz5+zCkjiUHdPLmHFuLrd4F3Ykx9c+tFNNkgt28KQ/tSIt3F26f2+GRLMhSkjfX3IUlSMNeTtWeSenFFASJdb5pcXFxVwud0+Vy91fXFy+O78gjSNlIDqMr3eOHE/TyPEEUSIdKUJ0GP/jHCNAyZNMAdUoxc8iJERi/C+kyLEo40DfINGxchD/t+OIimSJOqwEKx8n/YUR3fgfN+SYFjQlGlD0vxVfliS/m819sLkv7vfXf1P07dAbmf/gZofzX6k1ap8efBKGAAAAAElFTkSuQmCC",
rz:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAE4CAMAAADW5D7KAAAAM1BMVEUAAACAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIBprCkqAAAAEHRSTlMAQIC/758wECDPYK/fcFCPt8VnWAAABehJREFUeNrt3N2WmzAMRWHABmx+/f5P20672kwSIBYI8MA+110T+sUWQnGSZeQyqZu2C1+xxpiiaPIak7kUNrzFjH2FzPuy8mEupsjxibT6szHbhj35PyZ8jMfrb/oQlXaAKstsiExX3H55DUGQ0t0bqwwBLsXyDpe4ZH3jqsGKj+3ZhoL4ezb2bViX8Y57sVmJFbobLq7artUKxQ3HM6uxgr9dF1F367Xs7bZitX4jhtCjJelQb7cT2w1a/nY9RFV2lHnJ8sq/MhRFa4Tb0t77g406L1qLlmRr9i1akhXWtGhJvPoOLUEGQwchSG7Q0uVqUXpsxo+1awTpUeo/DnMakL51Xp5boiAjRV5S6C0Dm/i45a3IWZvnOr94OsKyEQWFi27rJQ0bUUmrYyMKtGjkJVoOnpcsPPsYdF6z0EHwRYO3eJaWoDu1jB8EQ4j59gGct/R0poIYqpZgBGG5ISpsRAZbkv6BNv49OadzFRp5uoepGk+JV3iipsQLnnosNIKqRRcvqFrsw6m03A+391qcfJhKx1dVNncPjB4kJV7vBZrSh6Pj236XB1y/axPfHA+154/wFDsWraYLZ8aqTwSq3Q6JVD6cHfUvg08/8vjtyyqkEOXF1e5T4cuQRnQfRvpdKnwqVsqnzvI9PmwdQzpRXVs7bPYmpBTNuuXVV6+zSWFpTn5L9Qcek5aV5hCl0H6BIaQWvbnAoN07dMlh2b1vh+ozsjOjdpDKKX8uXSaI5XfuHVbfQmyCWHpHEnSxUtyFivtQF6tIEmt1G18Vz5n588//qI8dpbVJYplj33obue1NklhBddepreQOrPiVHC6Ftfat709pRGZuufPpVbFW/vRdmSWEddwDySqtMrsn1hqtMrsrllyrzO6LJdWS9L/Xw5JpiZ4VLogl0ZI9V10RK15L+Ax6SaxYLenz+jWx4rTEs42LYsVoyedAV8X6rLViZnZZrE9aa+aL18Va1lo1i70w1pLWurn1lbHmtVbO+C+NNae19vOQa2NNa63+7OjiWFNa64/LXR3rXWvD0cLLY71qbTmGeX2sZ61NR1ZvgPVda9vx3jtgPbQ2HoW+BdY/ra3Hxu+B9Vdr8xH7m2BlrjTbz/XeBUslYIEFFlhggQUWWGCBBRZYYIEFFlhggQUWWGCBBRZYYIEFFlhggQUWWGCBBRZYYIEFFlhggQUWWGCBBRZYYIEFFlhgCbAqc1DGYnA/HevQ367vRgeWICYHS8LlwIqPbcBa+auvYAm0wBJogfU5I1iCDGAJ7ok1WOKNCFZUHFjSOyJYgqoFVlwasIT7EKzI8RZYgtRgxScHS/bIA1Zkih+G5YpD0l0C66AYsMACCyywwAILLLDAAgsssMACCyywwAILLLDAAgsssMACCyywwAILLLDAAgsssMACCyywwAILLLDAAgsssMACCyywwAILLLDAAgsssMACCyywwAILLLDAAgsssMACCyywwAILLLDAAgsssMACCyywwAILLLDAAgsssJIIWGCBBRZYYIEFFlhggbUnli/yOqvz3oP1kerxLJkbsBYzPr1WD9ZCmpcXa8CKXFdKa+uiWD765cCanBM6sCbTTb5eC9bc33hPA1b8tN6BNRU3/YJgCf5XYE2lPhArP/PR/gvL/qCadSpWr9A/Hnk3HM7EyhWw/C59lpn8q8WZWJXGBezSwZfpYaksbbNHA9/v81ywdQfVQf8/tn1G4wT39GMyKr1dr/Osyqq8jfr9yNaSpXKLeV5bjQ377MLq7F34O932P2Ue28YpFBZb79OPKOwelWtom6916hqVGjzdu2XleVaPQZQPaWVmYWlsgbUZkqgFy1eWSslqU2n2IhvSLBsTWeplQlZ+bnJy2i601fOFpFO2fC071nxCWajb1K1OW/12SKkiPNWrWSt30hV11eSwyJ5OZZv5We9JN6F25t2ri2SX1e+LO+Wt9AvfNKmL8/o+O7qlDxHOqBLtpy/l5OMZcxA/DsuXdXjF6trGRX0U5PJj45K7pMmi/gv70+gtsjuKIwAAAABJRU5ErkJggg==",
Hea:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAADcCAMAAADA8VqlAAAAM1BMVEUAAACAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIBprCkqAAAAEHRSTlMAQL8QgO/fn89gMHAgUI+vkrzZGQAAB8pJREFUeNrtXduW2yAM5H63zf9/bdukjdYBjI0t4KHz1Obsnp0INJKQjMl//MeM4I7MDaM4mRk6xo1MDB9/Q5BpYeMLlEwKJ98E5aTbMMj4F4bMCG7iByuZEFv8gYVMBx1/Qk6n1zbuYSZzFBq/oclMcDIm8GQecBUzmGgbmpjDPGmDjnkwMgdElt08aYPNcpsnbXDxADKQ0Qgyy2yatIHnHXietIHFGixpALLAzJM2OPZBBMyZNnzb7SUw9IUpCa5kNsybKGQJSjIb6JxpAoDOmCUcEKT5sLgIT8kApASzP8Le23OMdWktReB6rHLTSkXHzeDYQisF3fZmtrJRMk6PfWT5hL/wMmUgvRF2BJMlVFDkcTmmqt/VmxkDglkt/ERPHMYR/dNoHGzcE4epjNodyJkh5d6RE/O9dushsVAdODHda7cY4CVQPYGIFBnRIekOO4jEsKYgSaQ39IHKsK9lH+LGoqQy4LZD3RgIQrOuaDE24vyVHqTT33tONOhMV4J2hBtzIGiPCIIu9gYQpDWCfIjOmDJBCZV88kE/MCBY00HCRnTzBASSKsF1hBv7CwQ9qGU/0DLB7du16YikmmcJgjCPd+M6QYAaEY3ZBYLbCC9ZswQhtA33Ep8czJRTaNr/kBPcmJUJAj6VgVvZq1clmUCPLUWCLlUV9laeRe0KfkvwAIWdylNPN6zmW9JTQbQiDM4cE4TDEGU6d878IcFQkHVmX1ZznqF3WCgQrARjyM7Uj48Dw55nuUJwzZ21euR5FlYiuKWba8mWLxZ38EskBMtlHIcKNWEoN+EpRqhe4Hy1SpCYUlgEmKfFmycp/0HoXWE1088Bag2Pb0JajXVgbn1ijEnz5zbhBYK8FHZCOlVgn1VCm/+beUu5oq/JQP329KyfLLQ6cwRFSfS4gpNkLuSjzSl9QDBkzc3Kw1bqTXd9kqEFcTsOJRB4eCEvgr1C5XOrzMEodYKsGDbsPrMM5rkmOUs8s9x5EOXsRe5HM7iE/92Er8Y6gIOdlucOy+rk26CO0ps0Q5mgLtgpHPQmA3xxgNKUtMNUlDpNwe1Bdi4KU2ys3Y6+SNAUUnB9kHfI4qC2vbPGPu/dheFNVpL8PQ/21PAVOw4lqd7Jo9xSJSYU3N4rDSwQ/KLiCu0pkoWQ0WhP03alg73RBC6PQ0kqyPRa0cg+v+hb4zHLe6UvqMly+pvDvqSy3VMoEKw2l9SVbM/+HK2zN8ZPFasoNcCLJVyoef6YzXgOdNseFxDgek83sSkNez/f2qQQ/o15bL41O0ruayEcm3PVOoyfc0uMgSgKi3wfDONcXzz2xAUI4fOLbEgz8Lvsy63Epkfjgd1UB/RpHnrThPjTPOzeF8ef5qE3HRl/msc8VdQzpB6DfS3NtDrzt3oR8+oMIeKG0mBP84A+2Hl1hhDdrDT4+QwoTZg0n3lB3anjewz/+nv9e/zhXy4fcZNlt5cndBOHN0jhXm4ya7rwLyCv06YLjW5C/eKQyxIAvxxN3PvoTwcCEMk6POsm20XHf4OFshsPjCY+AgSyG0M08dfCmmHQqiy58ZCkC+IutwoY4rkxJEvuemLgX5vRF914gBQCQWhiSY7pxlCbyIsEIQwJVDcGKVxacj/xMiGmG8MG0i1hF5Kh1I0HrDEQ3Km8QnVjqD+XiwRBASimG4Mh9PnAo/Y7csN0YwilsumsbXntPVQ3hjVuKD8gUKZuPGiNoYCDgTGTbUaMWGPw1r2bBPwZ/rpWp08QA2OPcQaXavV60tQqyQ8Z4hlc/eHvdIo7rQs5+kMGvJpzgdPazEf4T+6aeiQAc6W1P7bOwFaqq6DJkbbIOgO2qedaPveh5LgE4XH/uhq5bF1ocBMuCCZ1V8q7dtQIp5ipwrWdlnODfKUeWCe0tQ2dxCUIQmPbCBKHQLAeJK4MeNjqLbf4m/A4p/K4V0rBJmzWIo1KEDZhe4FqotSOYGKtp1z24M7s4AgylnpPkN9skOL3BPW4a8fPlRWhcWSp3wjR2i53fVpuXLUOH/bqnNPO95Ndf4BeD7wJWJ7501y2jTr0G4BZWoJa10E71vUSuobrbILsc+1N+0CvH3ZV8dm1M2MiHmRc04rhenZz6QY/6TrCwEf5iTp7FuwHxRN/ever7hdYwdL59iFdfKynDcPG5F3htHvSQa8qMadXTo9Z5PW0XbhsYdhzko02HHfgF5/pkRHr7ClA8CxDeahLQwkSK6s3Bo0lSJyJL5hi2BtKEO4iwLdi++VtjjVQ7Dv3Tj8UBbJHg1C3UpQ6EERAqGunGNlCMphgLNjp5KobBOg7eWhY4dWFNtmNUzzBwb2Ci4P3HKd52o7q+AHzgbww1/OK3BvgqPTynCHDYydrblURoLR1jwQRA7XkUxwBRt/ek/rpAw0nTNxhs/f4IZS6fFl3JNVygx/WkRVfBJNgRX6HnyNYCFarGy9Z4Qz44WFhrQydAX6ooKrpXU9eAj9k8IZ7rALDvIc0ZXjVF4XsW92GayZcVPc3bK0X4illsX158Z8PsSo2mw9/VhGyXxZIX4i60nALJQ4lveEqSRO3WxxBD6AOVNd5Fj/QjgzBkv/rYZdUROU5GQX9bwGZ+AvN9qmjXMcYDxgeQenxL4u3ssSO+TlevAmuCmDaz/DeZoCji/gLP8t7Xv/jP87hF6zG3Qlg7TIVAAAAAElFTkSuQmCC",
JM:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAF+CAMAAADDZlLkAAAAz1BMVEX///8MDAwTExP29vYWFhb7+/siIiLm5uYnJyceHh7p6ek5OTlmZmYaGhra2tpRUVGdnZ00NDTx8fHi4uI9PT23t7d6enosLCzf39+CgoKlpaXW1tbt7e1CQkJGRkbFxcWhoaF2dnZxcXFMTEzJycnMzMyvr68wMDBcXFy/v7+zs7PR0dFra2u7u7uMjIx9fX2VlZVYWFjBwcGSkpKsrKyPj4+Hh4dgYGDPz89UVFQqKiqpqalubm5KSkqZmZnz8/NiYmLv7+/T09OJiYmFhYX9Q91KAAAtFElEQVR42uzay07CUBCA4ZlWChWEyiWgICZNERMDIgXlYmJ5/5cypQgs3AAbmvm/7dn+Z3ImOQIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAdm3CJKmMJ3FcFVhU9DTzKLCIAIwjAOMIwDgCMK7ha2YtsOhNdyKBRQvdGQgsWjABbCMA4wjAOAIwjgCMYw00LmINtK2lmZuOwCICMI4AjCMA4wjgYu5GcowALrW+byfz6EdyigAuE9V0q/QxHvUkh0Z/AfAt/AyNb0cPvP5nK3f3aK0ZvyE4kTv3NVX2dM9/Cl86BcmPWDPDuuA0s7Km+lMpjsa1ku45zUrQdSUfJpppE8BpBktNrYKCbLnTOFnpQbsSP+dhEhDAWYqhs73r7z05Uq8GX2VH90rL+fRWrlugmWEear0WhYmnqdfuP2fVWdi8O4qg/9C6uvfVL3t3tp0oEIQBuFpAVFARFBfccEHFFXHXmEwy7/9ME2DMNKJZXGmH72LuJueEFNZPdTcy2lprOmTkWHXZZ9FWJKV73Y3uNP90H47JZfKlKPpAl3pryU+XlTGQBx1uOSIdCHxi4TT/yIiBT4mZmRFG/3AbYeGbj9kEjY4q+alUfScmO81fjcE3/GpMjRb6EMrORxV/zAyH6JjQKwSOYbYRZFkq8G2iUp1z2A23qg8qLNzbrwg6QoXAMZm00/w1+CllInNYMozWZZ1l4J4EdFiE6KWtq3ptI0vYpOAkkjasu5JhrZBg4F4YDrkFh4Q/VxzSdofcsGf9lE7eiGBFkNoUmgzchY4OeYLAQcIKWZJNOFusOVq2Qmgn1DJGzRjcXh0dsIDAAR2n+ac0uBBqUe2laKzzJvOdWxdBM4Q8ZAh4KbyT3KbPcFGJgpzG/gjxpKzdNBny3gQYLAh4iXknvvM5uDyG1VU8GcbT8kSBG5HoIAF+reA0//oYrobtzJJZPBny1S4FNzBEbmUI7BmXkaW1hisTG4KRxfpByjAXRbgyMYJwoS4EXHJOl4zPRLiJhVDDV5PDxixz3SIQghngJ55nTnPmE3A7VG5dK2O9OfqU1yS4ForDEyCRm1qvZ5JCllIHbk7KqE/4PkNOvVYy1IMEeESzjiyrKtwJOzaTEWxcxM0FRYSLqwczwEOknn3p6WER7omqjHg8GWbn04Z44UIPBQnQgzKd5t/2w8o49TrquZPh4KLJkA8S4D4tvdvx5ReUpPXKcawISvlMAi4jRwcJ0KWZdC7IFnxG6s/KWDKk05tJgoLz5YMEiJFUZ8eXfP89O4fE+tMllgxRmt8q1CWmQXUIWMQsshh+XhSlGlM+hY3vIi9mh4IzbIME+IEpWbeVDn73rFR51wmU5KDDnr43KEiAroZYATIktFopiidD+cSzyZNwkAB3xgihKZBD0t/w1eRQqVfNUfBDTNAAPlARhFqEXQ+xM2vjZ5NTPaEZnO04Zy4S4jukXUCxac5dybC9HQe7e06h7Q539/1+rNeDUtY8fvhg9fTbBydQiKOlkSP8siYwGyUmw1IcX02WNck3JxLJwAgp9Fd8XiXxFmL1fDKKzwxrVQUC3/c8aGGHuAQiX59VrOQNfJ9hli80SAs2d1RFGLo0JfMG+tXctlvYuKi1NBvEJZt7oGQa7SkNCX2yYrqFDRd3nUAhL97eWMWOgTSN3Di5Q2qayq2HZeyTgK4P1757a41vUHn7UiWV2NaII7esmiHzc+BdLCMnI/gJFHXySmpBX9Nryb5HTLBI63ZkvwZedHI/QWOV6dJ1AuWluvDHC0t8Y0qjd08K7BR1fr8GIu0quTUAVKP6kqXxZDgIkuGO8mTPUWcM4KiMmkJu8faIuJcC4xShhh9LjS5nBH+uXY5g9/x0BTyoippGbnRy5Ic9oydjchMV32cYLw81oov6bOwSWWTm2PNU3t6C4R4Q+Hnr0DdInWEZT4bcRvtvk6FgD0+5MXyiOyrRyC09rBD7YOAojrcGvs+Qexl1/7+FRHaOLBsRvpAQliHklpL7hNcAUM1tL4X9Xqv2oPJfFcFkZQdiHb4jJ7TjyC2i6sRfLyohbFzJMDnQSVwKO4FYQxa+CN/Frueeh8P5A1wuJqfv7zPUiVwL+xE9a/8BNfiRmM6vkFvUKJBfAwBsf1B3ff1Fr5Agvcd9glKRxZBO+K+63PI8HJI9INgR+2Y7jCdD3lw8ZhGM0/ZHXQFOQ429A4KySebq8T5qYfKca5+h2Sc+6eyh8siSzMHpmEW+tD8g4N4e5MvYqUShl8bfZ1h/6z/QQmLDLnB6BOd6Nb0DApX0AcGHREYuub8YTSfqi9G+WPmpd+ESEkKSRm6pGrmrx/tYfZCM4vW9EUhPht26fftP4WIk74BgVdMep22KlUE76zqBQnLiHdHYys/FsNqBAcH6ER4O/xK7oxfuAd4tnEsiS56Bi4tleivkFl5WCb5VPJiutuGiRBdAwc40XAWug8p4BgShpZl4iOC0E6uRWwA5A1nUZ7gepjNM79dA2WzCXcSkxrvJpNJoNKUiXEQjS2wBTOwundXhypjFsLxfA9ygAbdDKZmRanCraDz0DiHr32iY47cdFs40phEKEVkARR5Zar/gFhTvgIBTGyJcX6zyVm+F0BHRNC80WDiZEkfod5bEAnBWfrITuJmEUI8jt9bmyjNVtmpE0JeiJX5UKTLwc8of6s5zO3EkiMJ1WxIoIjJIIHLOYIKNAYed93+m9dJrLxlsNaz5/viccZKnr1SlW13VKvAsBe5PALzwi1mQbkow3JCxjdoZX00DiVcLF2N5nUE3+E1Np4AC6fcngJEBAIEC3R69ttdiEGhcwyCQwnFsY0XKjQ9eG3bO0HAQzZgNuhe/pYTmwANR8N4EoPTxD40Y/T/o3U5qVwO2aIPAreM/5LrtjB9j0uc8oaRn4ThyxP7TymTpHNkI4ND9CSBvAIC1Ij+INwhkuxciUVTLGxXJ5DijfAUh1zRwEfPyYlXRlRM6jgMO3Z8AeMtf+f8v1XedPYNgOamKsrc5VmNrqkGNJwUILE1n5bqDjmfhJHL8dfrclo6v/90JIMMrP79jApxU3TcI4r08+eRlBs4yHNxKCiIAEDFX7bevaKhXVp2yipOwgNcZJHa2iEsesKC7EwAv/HptEsDLy1s6nX6sVCoj1x1/fMik09mX7xsEOXlve7mvo+X1HNa8VvYPPpmXRhLtob/XinZdxknY3Hvt1R7TevSDdNsGTLo3AYTKAMAciX6GlA2G8rXCxFk0hrlcPZWSt4cHyPK87pUbi2kh8R58Ub6xg2DfIGhm6Wek61jTp02CDQCGGz3pFvYadQtnkAOpD2QAJt2bAHjPT7zy/fOb8rWwU2rkjADDQRhje/+Uys36q0RGutQg0LBN4GcGQSiCNX9ok2YKqLvKJacUPSziFi7ApDsTQKzBKz8SXUo203V7C9vQ5J17IGKUbdPs//VX4dntViuVtq7rHx+6rttzzEY5Ppc3vtjrTFqXyCD7PAvsGQTjIH2PRxVrHmiTAgMWOl2Iks0POksVh0i5vekHq1aI7kwArra+/i5dQDQ0CidtQ91sj0kZuddkz221MzFdUs78B8YyzXB/5tWt/x4Hyed29LxBYPo0CGpcemxFm7iA7B6RXfaYBay3x8XlXhFhQZ/clwCC/1Z+sueWPp3oveZSDOBYqmHOzFq3HYvS91FilVrPjH8GjpTtJM4dCi01+6k9g+AhRJfxwPj6t2iTJmCNaJ+q8xSfz+dGblgM5w9fmNRO9IYpC1+U0tF7FEBrvl6AxOmTuQrJ/+amyKnyouc2QxIlDMP3abAF5/PkN5ZLnusaUpqOgR3KvUeFzvFiYk2gub0+6vb6B9vddlChjL3T4r4oHPOA04nJIi6DM5+F7k0A2Q5/LQoe39r03C9r7HNqUiNZyOvSxqmqPSFHO7ifx4Nb3jTxdsYg+HPAIKjQSd7jWJPa+bpXYPz1lyaKEYuBWblwAJDLHWcyKZnlCAP3gJNHB4RIHvDKHQO1dl8CaNYBQDsWBCsPn4c1s9Sy6Lb3noUeLF1UJMr3bJ5cqU9uiE6SmSz3DYKqcsbiAOIx2qICdIijFCLYwEj/957T7DUin0nHwQsrAn0iPfNsAii93I8ApOTxyk+20rPnfO1V22llDtsveaBE4sjmH8oBHg2mGeWcQaBhG2PRjNIB2ktwnnb/iBmsIK3pGgDU2SqR7/YBxkzaQqkW+E5mVn5I0w4uUCZOQgUio3sRAC/8agXaIzR4VcH97mLh5PjPBuQMCSVbS/Knbm76rpzZ0THb1UCqtDeHIlRk4JSU3V+lfmbuUwCey781CdlVTdpD6vL5N6zhbgWpjAxV/7qmIcB6dyEA6c/hyo+UcOKM34XF8bnEnDIMQ/GXVp3yUWTeIHRGLe5M3dNAYWMfV6Uog8MeaJcq0Fpnog3AGii0JmihRJZJh1CqDu+TLTXpk6gBtnnPDzTAln6/ADKfwx539+uneLTsJGJ0CcUrHSAV6nkMgGXXpDMa2DcIWKCeG3aSyWQnzgCOlqA9XLAYEUVzQDyzcRpGW5HN40lxkteNOrU0zyN3naUEYPx+AfC0aPm+lYw3TRU812nTpegaPLoO74M4ANT7mbP958kUTrM8JOcC5ChRzABmUfrEQUBRUmU6jtI1Nd7j3s+/PQM7YnGA/G8PAXzYI7aGPVb5Ngx1Mda/J6VrHqma788BYJhQ6DTKiAfow7D+we8P/yOAbBwobnzahKfQOX/DZq88Q54bUPXdoNj47TnAild+NiLXW3jJAKidmvSDg0TrEl0N6fmJAfDC0vlmrGkOB/GOBKkxmE7lnRV6hU30JJ/8dTE2JCk/5YVKZhSfY5sCYpnfLYAg7/nZuCkySRWAPKxl6Qe4QI+uSaaoApj3Lri60GSvUCN7YYUOUwVGU6BDmyQRkaiP0OnEh0sqmOBZBjRvOnr7/Jmd3/0aWNCArZfV/JABMH7cxczdoKuSHRgA1EskQNn3pjstDYdeJJIbvv51aoBXNoA4Q3lbHw+wotRF+OQDIL4hT5e3g2P+tMooZMOK/WYBBBv8lfgr6WnZAJiZ8GMnAiW6Nq0luAREYgMIBGk3ic/Qi5Y7aX7kd6pUE97XgvgQcH6zE1hbizXytdyjMgCtmCFfDLkbdF24VOcDicRRABDedzZcoiS6J2Je59DQg89JWN60/VsF8NYBAFb8+lsbANSpTj55Z2jQDeh6AIyawNBiYa7QNlIKRaKgrLXpMG15/nZsjCiPBrIjzgfQ8+6f0gd/XP9zaau8pKE+jEeZYJSifQZof+nknyIwolvQigOwqyQIyYOcpx2esORxzQ4fqgHHAqieKm/3cgyIJHwLQMmGRoOOp+KL+ZOr+9O7hy+s1DIFsGKM/MPdIIVugVJIAawvkRhiGuK7F+5A04mo+sQAo7hbX8qrqNFp2jaATvBnApCiejVRcDpPcRX7qMU0+aAtA4jkVIDz9EiCmABjug3ZvgwYCXEXPqG9LLDK7+ZEMgLIW/0jA8gtOktYBdTC5QJ4C7bzreeHaamxjAQYdlE/YOBof/yI/y8AnvQWe2wN+jPbJWFI3A26DY82gEWWRKAYkKu0RZAh/PXp0MpmQMThLQPNHCKPF2+zszNcAA5tI0l6LFatdlvjyaS4eCob84AmsyMjCmaTUeztg1j3L5t/TdxPBIzjSq6NCzzQzSgEgHlLjJoYIjt9PREUtxYzUUoBgaE7Mb7RN9GKrJNBKQCYj4/VWm086fVKprnMxesRVdNwElmNLDu9WjW4UyDjexLC9GMqDGDvdAU8HjlvRNDkXqYAHoDhrjvwtCeT1dqGcIJ0MVGHAUZBxcUw658q5mIaruUz+pH4x7s3HfoxDoCcQuJp3vh9d6wCXoYEYO76WEUEooeGF+QV+haPZZyBb6m3zZIzKdSa7ZiknP+hHgAU6adIBoABXYEnyCG6IWkbsGrkH2m5o4A8UCQhhAPb3XFqPeXlco2G6Tirwng0SgezUembspJM+FrCCnAd3+6dYUY3pccAh/yTNQBv8xW7IazCHVwAYKVuLV+tZtL/NI+SfxwAqPy+ILAARnRTmnNgGCXf6PH1K3Z1w75jLVHXaADaXwqJpASgQz9FigCYkHiCFhfWDUnngHiafJPtGQBQLki0psnEKUDqyUB9TCIxgIDkJ12DnCbxTIEa3RbFBFJtIXNpGjKAef+Rp5gMWJEYeJ9RQ2TY/QtAy5dzD5vEE50jpdCNmQKamMiTdiIAmL3uPE/IfBu5GFwVkHsSiaLN4CfhkuoAwiQeFxjQrQlD2ONaSQxlAKnkO1GmDuQyJAi9yIBIS6DrAi1LvoKAlSbxeAjodGvGjPvzQghN6wDQGJPU4E0zgsgvAZhpEsMAwJh+XxDoAn26OQkLLEGikGo2A5CahFYaMORLJsoU0B4UMTqVAdtXtL5SEHji6eWNyVtgIxJHqJ8CYJnJOWDxoCbMFIg3SQRlwAr6uWmw/QPu1w1a02XQHkkgUs2WAQQAIJcnUYw8UXEgDMBXfOoAaJB4OmB5uj1jhnmMhJJxUuCwUkyYsB40MXEgJgM58kFWBfBMwglaWCp0e8JA/IXEIhVscLQHiQSRngHw/MeBoV8zJ8F3RAvH4RbFzXFwjeDzXkxhTd0VJuuEAaBzZvHOCs6FX6vKvE4QeFERUegkb+2u61ZiCgnFvM5Wl+h4yfAPRuGFxKBMNMCanFzjsh06u6EZHvlBV3GVts7CGTeowg+MA4svhJ4ZKsWBBF2DajHAnwIDURJImwAizycj2vS84JEhP4wBqFkSjWJAzZ6b1sawJuWkSRghC2qQxMN7Z7kEVqIkO8oBsCt0GD2AepROU/O/u28GwCThJIDkqdDFzHEmlq6GZ3MAVlLcmtUAm65FtcTPURtESQzhFMA6oWN3d+JsbAoAhkJ+0AO4SsZmg6WPt2PWH7/uq9YTgMCDQoIoASu6Gnoht5aAqDeCqGMBcjF20FA1L/prUSX/QUAn0Twed4NaO4rLNwB4VRKDZFx5W9poEQDfgSCEkMkAufS+t2PjopJKU8CZlMPrBAHz6I6l1d7e4W4ckFckhgpDma5KDQDUMYmB3wDsNbT7Rlu4rBfDdzNG2sI1UueYdWwdwnsCIKnHAFNQZO0DYboiigHN5O31gqi+rp8Csa325NzFJb28/wo+UlESzfRYbtEFmrRLPgIYIRJCBFqQrkcRWFFNBepNEkVoIQOa87UK3qWdGxUIGMzwBGBBonlRjySounYobGVngDoS1Z4wo6uRZ3haH6/AhD4432cAUgXl0wL4c/HjCGrUv3cPdEk0hWOP4iFU6bCRa7VE5R9NuhJvKWgxft+IzZ34oI7ciIiCGiLS5fY3EgKW6hp9ncfcoMSRN7UCE2RLBjUYCl2H0md2FvqbunNdS5WLovAcICqCoqJpZabiMQ/pLk0tO+77v6bv2fCImqDAmlrf+2v/2JbBhLHWPIwVB5JvxIV7bpVuhgrgOYABiWIJK4nPjb736xrLe35AYqpOvp6sMbEILNxrxm6QKk9VQNUlDELN+qofDBnUU0x0WIiZnlfRL9yGMaYIKOztNLgFIAsMkvyjkOUXAIjnQw224pmlwVBjF4GW5KOSC0hN8qIYgzTkWQfW6QS8rAXA/CfTT9CIE7dCIL1fU1CuJZY17wqn6OXUIc19cg8d2e8dkG6SOMZJ8oFDYOKmz4b0AGlcJnZqSSD2JVNAqkAsxdJiiiYxU07D8Ct16r4im2S4qNcS3ombSnKdn23bK68MANXIskdaqg5AG4ZoDbxi6TL333vw9wZ1gazvlkTLs7x8rokZHWiv+yhsm7hZDv+wLj8VYqVZtfcDgVsDuySMcnMKEfjwywZVlpB6vkHTZekM0ImXtiu2DXcko3fp2K4VLv/wxYDrMZUNKHdQMzyzZtKcmMn6VWdbMd/WjSdgRsLU7VcAswAknLu+HaJK/2uFf5R4L56pAzDkgLn8AYkzAvid/pScX6ayBhRk78+wNHaZ3K8AHXhel2pV89vpVVYaqBIvRS1YrjElIVdnmjbEJTFz5/sz//oGuBnnKOe88L4C2sD7gXJjuc5fhJQXwbpbancKcfAZA2LsImAhbfo+Uu++UWMpJMh1jDO7mUhimVqLl9eXUzpQy8TLRwmxPp2PGYACtwi0/EuNhm8Cus6RyHnnnHzrurJ04/Nm6Um4kYmXphTghnAK9ik8JHXAJ4plyzcCVsAjQ+jNiIkrV44ffC/RJTAgZkbHCsPsAce/fS7HYBzo42/4TSzEPsXVpyQTC6aKZX6dMfN9Jg1gRsxYkM4pAvcAquw/1H9Rb2qALnumxCVobyRGm82+egLcue3OTfKhkgNqxEsmFmVrJuYh+UC8fMT9y/OVFbCQfV5+L+L21SviYHMw4NXBxcl1HNIz8TIKElSsIsBfRhkf+BtkC6hWyANDPBsw4xG0RBydj3WrSentiBm/GwHcmRR/frsIHPwb5Ceg8+m98YonhJcf9ySO4TZLvB8LyqHEHgHF83ruyKUTGAm3D66O6kC86P2prrB2L2WOdHbdvRf6sdvF/w4wQmxneWreUE3ipXrwR059fEsHwJ1w5N0x1LQ7zms/3wnwTirGuFdRf4BLOiONE9iHtQ5vkR/TwED2Kr8s86K96TqDAPTIph7o4b5VuXeDBuLhL8Mv85B8B+bkT18DCn2vlHBdNJrVFJcA/AEWFIB+nLnFdgjU6Iz0AO/8PX9vkEuqC8T2o84QXcbfAjXBL77uk5G1oFclowFdmfjQsKJzMjiBCNSB4VHn//fU/raqK/o6m5AIltspNwu+ODarQDVBbEwjPAe/zT6sEkeBDtIrAaXifk23L6oBFbHThO4jpOTkLtDhu2fXEqZ0Tu5OYB/2CkxlOsSHDqCe/76T10U1oE2RyUiu3VU1XCg2gHSRuLiJYgb1yzwklSSgPaSOWqqXdu+XvncufWKeUkLlNXSR7avUdOP3b9h3h5RlzKX26ZykltwiIOsSAKj1Fh2g3AXQzWwLw7cnuF2NSbGbaeqw3iQSihtBAiXBB9d/o6yG7plux4ALhVgwYwGGkH61CHxYgIO0KB49V2Embz/Bf3fWkg7JV/Lj8z4Xj6tJrTu+lZ1Czm3kSpw7LjWJMHDcTNrHGbGwsKXonDyxikBZAwBDhc1BJag0AJSuPjZ2Dy87C4nkuDeuArBM8uRegktOH8qKilF0AWiRzWOknX2iCmjXxMFVlNnN32Mf1kwCQJbMUQc28UbrwP+2AJQadwnZGZJ53XypNHIJWxgKQPzOZ/EV645qtdGLlrZj4FJDNfJUy8i9GKUPCs+bDsSHxEBFxYDOyzOfh2QxDUC1pVy+suBgtBX/eC8AQCxn3KSBXGVbk3tkI18AmHmWzqoZcjCv9DgAREwGziW3b30QeSsxA6RXnmV5PE/npQvwRF3WFu3bjU+sCpvcQ8Lfq3+ShINVJhcNFq1pq17NRNauu1rl0UJUCw0NUl/cc+Y5DdQVlqLwI52XBJMIXNqyX6YN5jQHG/Vl7q9Bt6/1rj693c2HZHcTrpa853ZzT7tcNyRcRnt2v8hGFnKdapWARYWEKWFBofkNHpIDADC+KajSNiTYGI8yBaW9O7tWmewlXFteIbuCFWVSzk38XYjVExIW0JkzPEfnP4lnIe4h+WEA3n2fzZc0bLRpIrCW7LpnKoPvk8RDr3TdLIJ8KgXErl2bC0vUsgjqHcPs5pTOTFnYOSZRgP/QcWK0VoJGK2gAVPZKTCt5J/Ertbyqqc0IujXehEJGfEOF8f8uHews34Ra61tJHDzUQm5bcLAe5ZBvAHfXZyg7q4S2V2fgOHwFoUqbQRCGxZT4UvBVwBdaSAQaYtu/dPuIBft6T/BlRggAetr5gvklLr3MFPWwh2u7T33GXgsIB8DkBljIonaOdTo3ZRXRTRezEoDSLR0h9aDBJj1ohg8A2doxSDG8sj7dsPfwAnigrUEQ8QD4qlSBG5NEmAi8jYVEoPMWedQUuUywE/pgIxltOWQAUCKJ9OaXjLyc6WYhU0FNyT0Evwbcc+ynL0jWgVxZcFdWpLOzAlCP6KgGWB8UjH4jDpvO1AwXANRKI9nbKuCPvJIo/VAC4IZUQkVHZgkAZ+Ri2aToyEmB7qZz24flDQB4V0JcpnHOVYJQAZAvbBcuqx5ls3K40vaW1cMTMCSuAKAxkL6l6NSd3gh++D0kTXf7FwLlbgEH40oOGgDmvQps+UlkPd6T+VKYrzIEFpuxAp34AoBeAfWTItMEsnR+VuGdYz47EXe+85e1EozKQQIg5dz+rW+YV2F51HUnIdpI3ebftyXiFb4AcCKgJPAQa+ypAH4RcLd/sedoV2u83hPozWMBUJk64bKUtqoWM49ti45CmGa+7Oafj8QaADQGDKHu4D6dn2lIEchKTvUvKsOFBJvq1duBAMhPlwDsgzYeANegp6LuN9HPgk8Y9QBjkw2aEF8AeFeW+Ydd+VHC2YfNANHjX+b1tRLMTJ8AkF9L+Ef8MuF0bLkGPbP9VUAtcDY330G6vNkMmOwBIJdEGq0MdBQSQMRDsh9itBCrFIlReSjAJja49QgApabBefoTmzNw627qvaBErQY0gNpWOYCrqx/jbTlSRFIBQ/oBvgLbh8kTAHhiCFPlbqME+d0AkGs5JzhezG1jC7RdnX3dW8a0g/bCdte3jc0nYbhTD3mAVKao5JPQ6ScoABgF3v5dEA/9etw9X3irGvioObe/kdndra4LuIr2faD+LR3sYU5teVJUuSz6lAK2df9a6GjTAdQK/QD9WCAj4XkHvB5DqexaCZ56RDUkFXq8gc0gs9/GrMnex64qHdwHdoN1GLPNeI8AVJXt0lRVyCugRj/BfRAj4WHc2f6xUpysleBuinhtBZunPU3P5wAM3GDofUsEDMIJQDm9jiaO43ik1m5rj0khEQgfJmTteGanJgFQe8RN5iIJmxjg8DT37uLdOdBlt5C2oKN8LDe9fxO24zOM7ynRlpAGzCBl6CdoAkd+9dde9Y9XCVwWc//KpdT3dHMboBD4PAj38yw87x/Jd4OC0LjqXxJATARWx7Z/1RSdiGJXgs2id2CF5PYILnZ72e7RCbLF0jdjGEuZb9K+uFddaf7vUgFEcu6QCLxNgB1bDH4+/ymBMTymU7ojArt13BmS8vF0jdsCrbMNRTUAdPcnPetCQ2I9+hFuAaQzPoFeBXDyjqXK6/Mxh3g3SGs7RqO146fxdzcCMAS6fNdMNb3OzhUZEnshAQSj2fK+8CUAmNKP8wh3yT0B2js5xKBusPT2H3t3upVKDoVheL81QBXIPKMMgogoiDjRilPb5/6vqbtlKRxBpoSpO8/vc1wuCVXJl52d3PBfq3PDQHxaMlTcvyjgIyeH+E/LP6soO+CYzw3XkDf23TvFOZz3Ang8GlUEFvVFAPWpnVPr2+t7pb+HZNEBAi3ZBXaazz28zFiZSAca814A56NUOSb6IoBDmVRQ2dZ1E8RkS2rAw7TdYnIXshuika+XUXa0h5mZk2MWoTZ6bDtRfRFAQaZIWdRkZb+UogD1RsLVyYcupZDsinP43DIrQWahAZB3RmuGS7jTHAFM6hP4cw+jgOFLIJL/1g8Nerbsju5Xd5u8j59aZADEoKP9goaQB3RkqpZSdV+dhC1bcgD0fm+CAseyS9w6EPss6iy78wdAFWpjV7Q09L0v3+QHYZU0MA7XsiUhb3wlEE3syPLvN6nAV/eQLNTmDIBhaJSUiYMgiq4BPzjrM9ynfjEjGYCn4SSk5e/M8m/ydzz/fLjH5w2AB2iNTnLnbH27Z1X5Scinv49RwPAlAFbs7rZ6YAH+biz/JssSA/nhEwurMnsAvIy9w3pwre9XqM8KLFQKg1oKSYXGjn87tfybPNX87H7EJg5ecNYAiEZGU6pTaOurpbfeZxcKdvcyCvjHS45PpZTspJAHZD/fts+jziGTyliVUcWdF9JZBTBLDC+5f1UBQ0fFWABw0je7tPz7zfVoGpCF7uDH+djVWAnjk7ZOXEWYt1Q7h+peRgFDwZNK5VB22N1o7/IBmgRCP/0lw/Zo0Jxp7LLZkdnChN29jAL2xBmQtocXev7c8/J59AKww9ouy2ov0l3rSmXCWYVdnH3vkqMcn/lO1IemTHM1FtYXIK41Aph/oeqDShRwIMZMDeur5X0lQviHApK0Ozr+VBbRWAUwV1dlJtcmcCTGTHH4vIL8jNj0IxujxUFJ2708fwH1xZaKx/sZBeyLg68i0Tpv0z+pXzLWDU5fBOAsNJbeVDp+JKiLMVvyq0g0QVYmXIy9AFIRwrbeKoD5Kir7KJc4UTFme3eAFxE7ws20U++jeDAGJ7ojgPnK5GyFKOBejDmKgNUYnQ6eaAeu/SBIKLBEZ8VTKO7fAYG98gQ07cqU73fDoWyP9uYeXzcYAYwyfYVmAbe7Voixk+w0UCtiRSf/9k5UtB8EuV7ugpIbhTDILkNVjEVaXHmT79ru2ASsA28aI4CqLOxIJQwKenAtxhy3AJQm77Mvj9oIarsh7xfwLEsoqNwI2XAImJXAXF0mX8t2eOyU2zEMRItDC5zDJW+EfFKa46aTYszmlicPaBYYrQsrFg+iRx0oLBtWBV6V7mPqmaXAPHmfbzuvJ+MP6rS2y3iqsPQubQdO1fY8u2LM0f62G/yaGDvccA9XokXIZ/lZmf3IgVIHKrMUmO8vsKLTu8HKoUNJ49bDwQr/y7NldalHnIoYc/PAhnxpWcTGK0L+EC1aq91Reg4VUVBxCOTFmKUCxA7H24HnRftBEDsBVFe6CqggKgZmKTBPHsCqBSdfAKkICVdfBBCTFdSJiZIC9MWY278W//JIRE7GP6czbVnau8WK+7PHyoeRzqy4GDPdpgFoVl2x7xOpsZTwSWMEcLnqDOVClBydiDGHfeUBkM6I2GM93LwjfRFA2F41PhyIsXZHhQgADycyfnmDxiqAiqzEfqQgxgbk2xYAb/mvdduZvqiJtqwoxoMYG1HpAeAFh+s2/KC2CEChs1yNhBgbkknz2eiqC3HR1wugqHCKzTMl/hvjViPAy0dz8WfRowDEVCoWrHcxNiYDOFFJayurvrBQ+lnX5pzfZmWB+iX8JXo8o/azDh1OxdgcOwxA2tVaBbC6oG92dDerYQGRE41VAC1RYHvmiMeG3QF1jVUAbVGS45cYm+SWIZLXNaVUbiyUMCc8Nq2IpkIwuwkURU3dbOduWigCpR2IAIZivImxWQfAoaaDAHkzAPbPOdDVEwFcihkA++fVg7CrpwrADIB99ARU9BwEUBYzk8DNa6BeDnbw9TPMMnDvuGHwXkVFZtR/0gRB+6cLZJQjgIGocx9NFLwFF0B/6xHAsKDQbAZtQxn8kHoVgLqoY8qCt+EGqCqNHy5Fh4opCNmKlAMPKn1odbWWPIU/xNi8GFip1Ys4tJ0qi+Pv6MUr/3EDhSvv+kBN9CiQM21etiHkQ0khAkiKHn1KYmxDH6x31QhAXZq2GNuQAbqKEYC6I2fn7l79v7A9SLgrRgB50aRhVoFbcwxUVosA7kSXOJZp97lWbjBa+ZAPTUYwPK0UAaRd0aVmboBbl+R75qoWC3u+w4eIn6tnB4fftgTtVSKAE9Hm2ZwOX4f8abacs5jCSt+kxmdzpyoRgLqQb/pDaGdXYxYAlp94qF0WB63rf3QG8Wzv0QIiheSoqPNNJQJQ1zJzQO0yYYDHXqF4kpTvLm7qQKIjH0oseXPXawK4FX26+KY7gF73QCLbSMpPrutAzZZ/vADVZSOAB9GoTEwMne7Bj9syU9WH0uFwS5C6LK4xjAD0CUbMFECvFpRSMk+qB5GiiDyAlZeFlYAb0ShjpgCapb/uf3Ebxftut1BtuDLFvQVdkcFSdR1XQNoWjWp4JgXQqQEv8q/MQQSGvKJMkfGgn7QDkF4mArAqopHbNLeA63Xz8Yp2q00o/2pFU6lopRDgRqbIlyD9WgP+UIgA1FzDrRga1Wi6kkng3UTlU7JEVqaw+9C8t6Cw+IFC70/RKUskKIZGx6SDNZwrW8YkH3j6aVHnWCx4B2uyie7vq/1oToVpdoPf5Cwlv3P79F9lirgFi/b4yYLu2P4WzsXQqQMUZVKNZ1umOHUADhSqAFTEyJk1gF62h9WVKS4Jp2SKkwBAqT3Iu9ojgPljyqRA2v2Rg3pQJl3RPJQpomELAKuUrdjyo5dhFYBWBzimIFy71DMkLmTSAH/qes9Nnf/q5wDIFa5lupQP1ololY+YctC1qIFzKpM6lpWRHyQv7mI+QPolOCMC0OrJFIOtyYs1Pd+t+DOXccHbng/4TxdTI4DHV9HqAp7EWItMAPq2TIjmiMssqZcSQK8iv3nNAaeiVwzHPADW5TAB5ZRMSIW5l9laBw5wVvkeAfREr1vMEmCNkj3INWTCUZmsLbPljyNAO/V7BJASrZI5vD/FWJ8uOLcywe1RkXny2Qj4d/b6IgBpY24JWLP49K3+Kg2ZL9oG0p1hvLyGCODc3Pe6fp0AtF355skKyiJaJfh4XaQiwIloFfLwzDbg2l0k4OFIfvcYlgVdRSAdlR5wLHrFzC7QRiRjfA+AW/wli8rHINIG7WVbx5jekJvhtsFryZj6Um1hLgG0f1vjUDZNQTbkEpyBfMksGeheN/VHAB3LTAA2qOjAX6MSnGVLsIJ1yGVEo4aP0xBjY1r+KHTvM1jlhU3tSHQ58c0EcMOiCTizhzWAT7K8Uw+8or7P33SG3bRUHcpBkSrPtqwg2Afq16JBIwBXYmyYfQbhaJVESFZzmwDeLkRVx4cbMTbvCRzKIVmVfemDdaA4BKoWVlyMbbhX3dHPZx2g11LcnzLzv22Jg6/2139vW0B94MpKgj3wTsTYlqIFRVGSP/aB5n1elldJQMmUAG1TRn0ESPCyCUTOOrYs596CtjkFsl2dCBRFkT14toBE9lAW9/4Mjpn+bd0fHhRFWSMbAIjdpGQh7l0ESuZWiB1wEYCiqEsOG9FFHoopmes6DXTN438nXAR0HfGOXoYB/FgxKrPkD4B0RYzdcOLo6/LSKDQBrOfLQ1emCw3LS83u/+7Quxvf6iYASGczrzIhdB8A2uYE6E6J6y3ItRuFMgCBfvxdxh0eB4AH8/TfNU9wLVpF47EAgJWonUdlqNV3gHpHjF0TClAS3YKd44QF4JSPT1P5Qhqweib53Ul3EJc1uIi/ecNB4ACBrFn576jXBIGQrIXduDt7BIi9mCbgu+vv9u4lBWEgCMJwl0QTYVwYIS587BQRMmIgyywCuf+ZcopAQv3fKWa6iu5WSrGY+ytnUp91SxQzvY2VDlTznb2lT8BYop3trb6quAV8dTs9iGidTdIvYGzgL+jtctSJpNbZl0UN5hqpCfjaP9nW562smAZ4a6VzHfCVpT8PQWep6APGSk53AgAAAACA7ZoB7FRpPjg6f/IAAAAASUVORK5CYII=",
zs:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHMAAAB0CAMAAACBmP1sAAAAmVBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACRkZHz8/M8PDzLy8ufn5/u7u4UFBT8/PxmZmbz8/NNTU07Ozuvr6/i4uJwcHDm5uZfX1/o6Oi8vLy9vb2AgIAoKCj29vbT09OsrKzZ2dkoKCiGhoagoKDb29vJycnQ0NDHx8f4+Pj///9ot3XMAAAAMnRSTlOyALYLBLrAvRUiGsMxKS004vxC8WfNyPNP2tLP6rXa+NbBgu3eyeibdvTMWuWojp2P5xSTSb8AAAbBSURBVGje5NfrUuJAEAVg1l0SNTEJAUK4KRdRvLu8/8NtTyeHw5CKEwzln21rt7RK+ep09wyh8+vn62TzT7Ucf9HKpPIb5YBbmrAqRfu85oF3ab5Q+sOhex6TILDr60v5ksL/aoNtZ1IEqMTVcRFG2HZmCZqA4G6OC7CyTdSOSwRYcFEUSr0MUHloKipgYRH22yZEyaCe0d7fhqPdYf0dvq3yWN2mascRsoxowPx9Sc6u0XyVxsJqWHT4dJOigun7GECvv05Q/f7eXZYs1cYmSYrxYF5y62SSBYHHCoLNIukjbV6oQJubDFmK26G+5N3rdM/5RcENFrNeEXYgKqICdZkkNaTJqGJvZkBqfrfbxbclu1Z1KFkdUWHaJEKGca7i3W1mQLUqtWefEw37lsbRjUQF6jRJasiPkYoaEeCFVXvXqJmqoy2iAnWZIG+iOB+briYiAqRlu1RfdaxpGBF1mhil9HVlQq4ziAA7VlmsUadmix9epL9Aa02mBDk3IRcmJEVaVXev3puoqzgk+oVJMgpTszz9IiTB2rLU6ZP87ZzoVybJODWj1ElqRogutkSzmUHTGrRTT/ZkXRESYkM1CBJBx4rqkak3i40FOUVfm4ryj+gtUY6Upr2ysj4kbbF5VM9TdBlHV0Atk51tR1IlOheUI62aIOPlEXnRAn3kSGmSxP58yK9OQLoAJ7qtjBQmOxsP5BdvSX5LBSpHZpRLdxWtmvthyoU3I/ktkahcDsOYQWlax0SG+RQErVIyabDpcaQVE53d6v4wZZukvqALmVSuuytBaZK8CtOH3e5eSL9NSiySdnct3WXQqqk7+6TDxLlsjWbS3a1ZIwbtYGk1Zq7HpG1n7ZHey7spgtJkzLns7JlIjvRO3kytiXYQU0yNufE8DvMs3Z3IBwwEhcmlrYnZtrt9K6hlRumIMVntg8p5GTOoMbFBN+GnienY2Qutk4LqRAeRbWKDxrK0jpjFA15ztQgqqzuXoDguNMMXeXrGNOtfYuHz2cEplkEzuepjBu2wtW9yBTlj+rv+ptmaMaheRtuwakbxg2yQ49XkBeQ4vWZUnUGxRWyumBhnrtceYtaZnn5Iuw+wa46ymlsxw5U8z3ou01dTBj/Brdy4uS8YqJgY59Jsrd91mMGurPUzGtxwcz/DqinjdLZWTVSSuVVculN57sRAxcQlJJ9OvJNMedDHWN3NxZuLZQ5kHz2/kcnqO8aKzdU7N42OzXc5nWiV02TNMFbHQGe8/tTU97FHs0KI6TbZ4CRjg+vNpHxvoSkrNNQbobnJultwrLUndGKe/2BibcX0TjQ5Vjwp1qE0Lw/NcQtTxlo2uNbcFI9/tomjcqLJsQKtGaiYOCznMHEdej9ncqyb7n9g/uvVDloTBoIwDBcPkWI0l0K1pZdSELzU///rOpnk6+u6LmucmL0UCuVh1nTdzHzRvZ3/Gdok5lL/K5iLnglm8v8ZPfua+84+PxM4b597xq/9jG+vv1eW/C7TFezR72zEsqnvbEzuJpvJd5Nmwt2ky+4m3YN3sLLII5Tewbj3dc+/a9pjm5rtedqdGvHeO7Ue24t7/BLvDph8oKcJ70iI9TL7dyQ9Qm7qA+3fBTfPexf0jxPTTyJ/58UMv/NCJlu70Lv95kdbK5PNpYfxMlMPg67UW7sdmzWYhnrr9kSh8cUTdGBrzcxab5jzkENPSoeQTG2u994oNE4OZX7YWasyE3PuHiNleo9RT1DS16RQHt0ZyLGX2tHuw0x7xmvQ8M56z5gyZVKoeuPsbsCkN86niUmhwwwg3hxPZwA3+/EMAYZZB2iwdXuynf1VmZl5NdNZx1D7W2Y6hfkKu6vZVQB1ktmVyKL52vqM7jOEOrkeZ3TpzsoEZRYZQP/H2j6L7MmSCeqTZdBVhPzKB725aegO9MmzZQrt0fdk1LuaXuQ4Q4fMzAzdH3RNp9SpWQHIsglKJkIo6pRMREqWTaF59uMe0YtU9iMjMQuoMi6ViIvALOOSk5gllCwPKm7iIZLlKZOYoASIlFlqXIVlAY4BLTJLkLlZRq3U45DNyqNZrFI2C7Jsgt7MoDVpBs2xYgatnZRBA1WpZO0auYJLWTuyYEbWTVAyhd9kCuVq3cwUWpGQBbOe1kyzk8092UnIukmpqMYGMqKBLGy3P1eysCYGsrCgZH53xna3Mr9Hz/w6iAgZyjb7Hveru8g2d87ttg66SJE1s64qUm2yLddNM848gYjBrDqsu/mqZNWjmXxl5N3uf+IhhkxUZwUny34BiBgwYXF9YeEBxk1YX0BwgLOauKyqFzdZWA+sP5AziIxB81g8AAAAAElFTkSuQmCC",
yea:115,Eya:115,Pea:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHMAAAB1CAMAAABKxC7JAAAAh1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACQkJBMTEwAAADz8/M8PDzLy8ugoKDu7u5wcHA6Ojr8/PxmZmYUFBTz8/Pi4uKvr6+AgIAnJyfo6Oi8vLzm5ua9vb1fX1/S0tL4+PjZ2dmPj4/JycmsrKyGhoafn58UFBTb29v///9i05URAAAALHRSTlO0AL0KwyYRGDMuHuPUyfxC8WbN29DzT8jaterfzMGC+e3XnOf15Y52W+fOqAzih28AAAcuSURBVGje1JWJcqpAEEUJkrxBZHHfUNEY1/n/73s9wzQ31ACiUq/qXVKpklKPp7uncT7+ff4TZs/6s9IJEzT9j5O/ArlrZk9ddQG1OybkvnT+mEsHzt0xWTCn2dFoYN9lAmhw/X7/sxy6Y7igvsYEEUDg7PQZi86+xASx4Pm+L4S4DDkzQfH9HEtcyD7JBJEV+zmPaKf7aCp/53t03yqy5oL6KlMhWZF4s9MGuHKmy21MWFCh+gyTq9rPDePTggFRkgWcJJGcDWF9H9QXmKaPueJwaXBZMJh75aT7IGFbKrKhQrUlE2XVxPNIquyuE0K4VhR4v4py2aGhKtXWnqirIQ41MVoBWIPNNHVErlBtwcS8fhnkTBN343kJ6HBK2DTQsvfYqPYorT11XbXkYaqJUDSo4lIBda6p07MQqG8rJuo6W6iqBgWxoHH4JbDzq26rVtX1bcEEUoitksx0VQGsir7L1EmiNsWlqG8DE71k5FJJ7kGs5sHX4QqvJWUrBKDNTIOkJaCGJzGSUGwIqJMjfXYJaDOzVyBVKwOWBK8Nlbq6UtC4BurUI6MxSyKtqQFBFwqKc1rDLCEnjHyOaqBjQGuY0KTxARLEZwLoRvhcXZuJkS0jQXyuvgxdAlrJZKTYAPlaXEAPQu2Gcksdu5kHeusAli8F0LPdUsdq5pDeOIblW6YrWr4zVNdicjNp4a3etIQpLYeROqVVTFSWmnmE5bumaWRaylAwoXlW8wPLt0331ClTXTBLmiL+lnJtbZ93WppRdSFqMfOZPaKZXYjOI5pdFgUTmjN9TGDZhelaym8WBROaS5rZjiwxuzsptyzKTAyt0kyh2ZHoAKLMxNB2qwnTBKIlptKMp9DsiMjnZcGizOx95Jqnek233VUjSh0dKtGCiQla8NBavLaxqa4Z3aUWNUyU9iLljjXtz7WIxlaJzmnVC78oroMJupsVZFuug7YZu5U/ODN7wTC5nb6gtZdWaLpuItsncCu3LooLz/xwHqu66U7kE4lct7a4YHI7t1IGlcyBfCae1RtT3IvPj1GnaOeGplYj3S6YCC/dk+CGOnw6VTsrJ8h7mQlRj/qzMQ2Fpx9LmVSclPeYEOWdCya1cyjl1SNk9568c2OfmTxCJzqd0Ozcc0Xrj7cCMfPn2IFHqEtPNDTIny1l5ggbodbzOE5v+0SWkw1uk3VUzYQofcmBN5HTA9N74JmFYeiF4aqEHIcqt2OjJ5hf7KmOysIw6z2jW+hRwnD32zLMb04eeKZSjgomH08pkwee19DTCztcS2SgbxI0afb0iCkKzx6YzZ57Zg4kEvLNn3pPMD9RWzCdBs8f/vq9RNK/tJnbTsMwDEDFijTESlXYG1TqyxBi4v+/D9eLdZTaklct9QtlgbnHcRxf7MPPlBOdNSeYnnOUnVvMWDnRV7HtddjA2eWcuKi6i/yODNPtw9+/LZxP+X4CJXJWosv01uvD3C9HRVRu5eSshJxQjeOsD/NVNJXzcRlH0Z5wTtF+fiTn0wQzq68ieRzSs0LsU51TwonMonJpd8GXcMY6LcbnnFa7aeS+i5MYfyTG212WcXJq5C9LcZnfn9xl3CvdkTs74QTTXj/nrO/sjjyB3MS9ZO8xy7sBmnL63ERT6tBx0ekwAU046xyMvI9ccy0upyZeybetQYcovyXXhNMqwdNzwOlqh76adaxAT+6tXU5NHv9C7VCL1Ujfi8hPM4YxnFkMayT1b6sd0EmNBGj9T8jqrXQRoQ6IayTqsrgWRHxhy5JfjMuVH9tOOMW4Yc3rxzcbFzFt2U5q+1dq+/greUgWHSa1faXT9TDaSelKvWNa+iZiXO3VANq0V4PXis69Wm9gak8Kr1WdeO6OvTc6GHCKF+3ZY3T9PryofS9VpoSKiQehU+MfPeMWoAd6xmC6PjW98Rag9MbZTXQSFxrNALCszgDCfjwB8NFZB8Ksg7DndDaZ6UDJTEdDkNdJd7PMrh4edxxEdHaFZcN5GTO6/1btXbVhIIqiKKhNm5RJ4f//yIixLgtxjY9Ho3GVNMtHeWCY/f1Et5WV23FH5xco3EWuociHC9DXd66ueQu9PnKrO1dPltmvs6HXpiJ/kWcTCf1xh35hpDt0pMOEjtJEKzA3tcgvpHypm/5KWxMxM1ITUWRoIqDaD1Mn2w9kaFwKbY1LUHvj4sEG0/+G1vLsryxqeazMXY2AqJolkVS57aNtb5asjCb03GZt2PPrXZuVezBqBWH71FODBg4NGhLazY5eb+20YMRger5HxfinKeTyFptCaGgnab2dHCOFuNHs6shgP2pEpanK1GB21NaPWtgsMnNlXEHs6+b38Wx+d5CIzGafSj3c1jaLm2fa5qxih+wM7gBLRE6aVGNbOn5ww8tgNqkS+R0esqPJJ66bxpZb9NDK20HiomlssWxf1hu70bS2Bjve0v2mn234zs0miTV//gHyyprZmiIc9wAAAABJRU5ErkJggg==",
Rea:115,Tya:117}});
define("jP","require,jquery.mod,fb,kV,bY,eJ,r".split(","),function(a){var b=a("jquery.mod"),c=a("fb"),e=a("kV"),d=a("bY"),f=a("eJ"),a=a("r");if(a.Wc()!=a.iz){var g=function(a){return a.requestFullscreen||a.msRequestFullscreen||a.mozRequestFullScreen||a.webkitRequestFullscreen},k=function(){return document.exitFullscreen||document.msExitFullscreen||document.mozCancelFullScreen||document.webkitExitFullscreen},j=document.createElement("div");if(a=!(g(j)||k())){var n;try{n=window.self===window.top}catch(i){n=
z}a=!n}if(a){var l=c.extend(f,function(a){f.call(this);this.J=a}),q=p;l.zY=function(a){q=a=="out_of_frame"};l.prototype.available=function(){return q};l.prototype.oh=function(){this.toggle()};l.prototype.Vd=D();l.prototype.toggle=function(){q&&window.open(window.self.location.href,"_blank")};l.prototype.enabled=function(){return l.enabled()};l.enabled=S(z);l.Ll=S(r);l.Vd=D();return l}l=c.extend(f,function(a){f.call(this);this.J=a;this.nr=g(a);this.Oga=k();this.V=this.SQ();var c=this;b(document).bind("msfullscreenchange webkitfullscreenchange mozfullscreenchange fullscreenchange",
function(){c.dV()});b(window).bind("resize",function(){c.dV()})});l.zY=D();l.prototype.available=function(){return!(!g(this.J||j)&&!k())};l.prototype.oh=function(){this.enabled()||this.toggle()};l.prototype.Vd=function(){this.enabled()&&this.toggle()};l.prototype.toggle=function(){this.enabled()?this.Oga.call(document):this.nr.call(this.J);this.dV()};l.prototype.enabled=function(){return this.V&&this.SQ()};l.prototype.SQ=function(){return this.J===l.Ll()};l.prototype.dV=function(){var a=this.SQ();
if(this.V!=a){this.V=a;this.trigger(new d(e.aa))}};l.enabled=function(){return!!l.Ll()};l.Ll=function(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement};l.Vd=function(){l.enabled()&&k().call(document)}}else{l=c.extend(f,function(a){f.call(this);this.J=a});l.prototype.available=S(p);l.prototype.oh=function(){this.enabled()||this.toggle()};l.prototype.Vd=function(){this.enabled()&&this.toggle()};l.prototype.toggle=function(){if(this.enabled()){o();
l.sq=r}else{l.sq&&l.sq.Vd();o();var a=t();a.push("fullscreen");s(a);l.sq=this}this.trigger(new d(e.aa))};l.prototype.enabled=function(){return this==l.sq};l.enabled=function(){return!!l.Ll()};l.Ll=function(){return l.sq&&l.sq.J};l.Vd=function(){l.enabled()&&l.sq.Vd()};l.zY=D();l.sq=r;var o=function(){for(var a=t(),b=[],c=0;c<a.length;c++)a[c]!="fullscreen"&&b.push(a[c]);s(b)},t=function(){var a=window.location.hash.substring(1);return a.length?a.split("&"):[]},s=function(a){window.location.hash="#"+
(a.length?a.join("&"):"")}}return l});
define("gF","require,jquery.mod,fb,kU,r,jf,ll,bI,jP,cH".split(","),function(a){function b(a,b){this.gsa=a;this.zha=b;this.bV=[];this.sg=r;this.BC=z}var c=a("jquery.mod"),e=a("fb"),d=a("kU"),f=a("r"),g=a("jf"),k=a("ll"),j=a("bI"),n=a("jP"),i=a("cH"),l="color:#000; font-family:Arial, Helvetica, sans-serif;",q="",o="border-color:#b2b2b2;",t=o,s="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="'+j.fs+'"/>',w='<img style="width:24vmin;" src="'+j.fs+'"/>',x='<img style="width:34vmin;" src="'+j.JM+'"/>',y='<img style="width:34vmin;" src="'+j.Zda+'"/>',E='<img style="width:24vmin;" src="'+j.Cea+'"/>';if(f.Va()){s=s+" 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;";q=q+" margin:5vmin 0;";o=o+"  margin:5vmin 0;";t=t+"  margin:3vmin 0;";u=u+" height:4vmin; margin:0 1vmin 0 0; width:4vmin;"}else s=
s+" font-size:19px; padding:17px 34px;";q=q+l;b.prototype.EP=function(){if(!this.sg){this.sg=c("<div/>");this.sg.css({position:"fixed","z-index":k.gea,left:0,top:0,margin:0,padding:0,height:"100%",width:"100%","background-color":"rgba(255, 255, 255, 0.99)"});this.sg.html(this.zha);c(this.sg).find("button").on("click",function(a){this.dma(c(a.currentTarget).attr("id"))}.bind(this))}};b.prototype.vU=function(a,b){var c={},f;for(f in b)c[f]=a.css(f);this.bV.push({$el:a,css:c});a.css(b)};b.prototype.soa=
function(){for(;this.bV.length;){var a=this.bV.pop();a.$el.css(a.css)}};b.prototype.show=function(a,b,f){a||(a=D());b||(b=D());if(this.BC){var d=this.wG;this.wG=function(){d();a()};var e=this.jG;this.jG=function(){e();b()}}else{this.EP();this.wG=a;this.jG=b;var g=this.Gja();if(g===m){this.BC=p;var j=this,g=c(n.Ll()||document.body);if(f!==p)g.children().each(function(){j.vU(c(this),{visibility:"hidden"})});else{this.vU(g,{overflow:"hidden"});g.children().each(function(){j.vU(c(this),{position:"absolute",
"z-index":0})})}g.append(this.sg)}else{this.BC=z;g?this.wG():this.jG()}}};b.prototype.hide=function(){if(this.BC){this.BC=z;this.sg.detach();this.soa()}};b.prototype.Gja=function(){var a=i.getItem(this.z3());if(a=="true")return p;if(a=="false")return z};b.prototype.q8=function(a){i.setItem(this.z3(),a?"true":"false")};b.prototype.z3=function(){return this.gsa+"DontDisplay:"+window.location.pathname};b.prototype.dma=function(a){var b=c("#tdvvriw_dontdisplay").is(":checked");this.hide();if(a=="tdvvriw_continue"){this.wG();
b&&this.q8(p)}else if(a=="tdvvriw_cancel"){this.jG();b&&this.q8(z)}};var a=e.extend(b,function(){var a=['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">\n<div>',v,'<div style="'+q+'">'+d("use-cardboard-info")+"</div>",'<div><button style="'+s+'" id="tdvvriw_continue">'+d("use-cardboard")+"</button></div>","</div>",'<hr style="'+o+'">',"<div>",'<div style="'+q+'">','<div style="margin-bottom:2vmin;">'+
d("samsung-internet-vr-app-info")+"</div>",'<div><button style="'+s+'" id="tdvvriw_cancel">'+d("launch-default-browser")+"</button></div>","</div>",y,"</div>\n</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+q+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+u+'"><label for="tdvvriw_dontdisplay">'+d("dont-display-again")+"</label>","</div>"].join("\n");b.call(this,"ChromeAppInfoWindow",a)}),B=e.extend(b,
function(){var a=['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">\n<div>',v,'<div style="'+q+'">'+d("use-cardboard-info")+"</div>",'<div><button style="'+s+'" id="tdvvriw_continue">OK</button></div>',"</div>",'<hr style="'+o+'">',"<div>",'<div style="'+q+'">','<div style="margin-bottom:2vmin;">'+d("samsung-internet-vr-info")+"</div>","</div>",y,"</div>\n</div></div>",
'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+q+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+u+'"><label for="tdvvriw_dontdisplay">'+d("dont-display-again")+"</label>","</div>"].join("\n");b.call(this,"SamsungInternetInfoWindow",a)}),M=e.extend(b,function(){b.call(this,"SamsungInternetForGearVRInfoWindow",['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">\n<div>',
y,'<div style="'+q+'">This content requires access to the WebVR API.<br>To enable WebVR open the "More" menu you\'ll find above this window and then click on the "Labs" item.</div>','<div><button style="'+s+'" id="tdvvriw_cancel">OK</button></div>',"</div>\n</div></div>"].join("\n"))}),A=e.extend(b,function(){var a=['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">','<div style="'+
q+'"></div>','<div style="text-align:center;"><button style="'+s+' box-shadow:0 0 4px rgba(0, 0, 0, 0.5);" id="tdvvriw_continue">'+d("exit-vr")+"</button></div>","</div></div>"].join("\n");b.call(this,"ExternalVRDisplayVRInfoWindow",a)});A.prototype.EP=function(){b.prototype.EP.call(this);g.ph("vrv")===p&&this.sg.css({background:"none"})};var K=e.extend(b,function(){var a;a=f.browser()==f.qg?window.location.protocol!="https:"?"<div>"+d("giroscope-disabled-http")+"</div>":window.DeviceMotionEvent.requestPermission?
d("giroscope-disabled-safari-request-permission").map(function(a){return"<div>"+a+"</div>"}).join("\n"):d("giroscope-disabled-safari-toggle-on"):"<div>"+d("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="'+q+'">',a,"</div>",'<div><button style="'+s+'" id="tdvvriw_continue">OK</button></div>',"</div>\n</div></div>",
'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+q+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+u+'"><label for="tdvvriw_dontdisplay">'+d("dont-display-again")+"</label>","</div>"].join("\n");b.call(this,"GiroscopeDisabledInfoWindow",a)}),G=e.extend(b,function(){var a=['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">\n<div>',
v,'<div style="'+q+'">'+d("use-cardboard-info")+'</div><div><button style="'+s+'" id="tdvvriw_continue">'+d("use-cardboard")+"</button></div>","</div>",'<hr style="'+o+'">',"<div>",y,'<div style="'+q+'">It looks like this device is compatible with Gear VR. If you have a Gear VR headset you can view this content using the Carmel Web Browser (by Oculus).</div>','<div><button style="'+s+'" id="tdvvriw_cancel">Use Carmel web browser</button></div>',"</div>\n</div></div>"].join("\n");b.call(this,"CarmelInstallationPromptVRInfoWindow",
a)}),F=e.extend(b,function(){var a=['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">\n<div>',v,'<div style="'+l+' margin:2vmin 0;">'+d("cardboard-v1")+"</div>",'<div><button style="'+s+'" id="tdvvriw_cancel">'+d("use-default-cardboard")+"</button></div>","</div>",'<hr style="'+t+'">',"<div>",'<div style="'+l+' margin-bottom:2vmin;">'+d("cardboard-v2")+"</div>",'<div><button style="'+
s+'" id="tdvvriw_continue">'+d("use-cardboard-v2")+"</button></div>",x,"</div>\n</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+q+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+u+'"><label for="tdvvriw_dontdisplay">'+d("dont-display-again")+"</label>","</div>"].join("\n");b.call(this,"CardboardV2InfoWindow",a)}),H=e.extend(b,function(){var a=['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">',
'<div style="'+q+'"></div>','<div style="text-align:center;"><button style="'+s+'" id="tdvvriw_continue">'+d("enter-vr")+"</button></div>","</div></div>"].join("\n");b.call(this,"EnterVRInfoWindow",a)}),I=e.extend(b,function(){b.call(this,"PreparingVRInfoWindow",['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">','<div style="'+q+'">Preparing VR...</div>',"</div></div>"].join("\n"))}),
N=e.extend(b,function(){var a=['<div style="position: absolute; top: 7vmin; right:5vmin; ">',w,'</div>\n<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">',E,'<div style="'+q+'">'+d("use-safari-for-vr")+"</div>",'<div style="text-align:center;"><button style="'+s+'" id="tdvvriw_continue">OK</button></div>',"</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+
q+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+u+'"><label for="tdvvriw_dontdisplay">'+d("dont-display-again")+"</label>","</div>"].join("\n");b.call(this,"UseSafariVRInfoWindow",a)}),e=e.extend(b,function(){var a=['<div style="position: absolute; top: 5vmin; right:5vmin;">','<img style="width:24vmin" src="'+j.fs+'"/>','</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="'+j.rz+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">'+d("rotate-device")+"</div>","</div>\n</div>"].join("\n");b.call(this,"RotateVRInfoWindow",a)}),O={};O.Dea=new B;O.Mya=new M;O.GZ=new A;O.sya=new G;O.wya=new H;O.Gya=new I;O.W_=new N;O.rz=new e;O.LZ=new K;O.Lda=new a;O.JM=new F;return O});define("cv",["require"],function(){return{fs:"Cardboard",Tea:"WebVR",Uea:"WebXR"}});
define("fF","require,iJ,r,gg,jf,V".split(","),function(a){var b=a("iJ"),c=a("r"),e=a("gg"),d=a("jf");a("V");var f={dva:function(a){return this.lE(a)||this.Kba(a)?p:z},Bn:function(){var a=c.Nva();f.Bn=function(){return a};return a},Kba:function(a){return typeof a=="string"&&e.is(a,e.Dj)?p:z},Nza:function(a){return this.IX(a)||this.JX(a)?p:z},JX:function(a){return typeof a=="string"&&(e.is(a,e.eea)||e.By(a,e.fea))?p:z},lE:function(a){return!!a&&!!a.tagName&&a.tagName=="VIDEO"},Qr:function(a){return typeof a==
"string"&&e.is(a,e.yj)||this.lE(a)&&e.is(a.currentSrc,e.yj)?p:z},sh:function(a){return typeof a=="string"&&e.is(a,e.Dj)||this.lE(a)&&e.is(a.currentSrc,e.Dj)?p:z},IX:function(a){return!!a&&!!a.tagName&&a.tagName=="IMG"},Cba:function(a){return!!a&&!!a.tagName&&a.tagName=="CANVAS"},Kaa:function(a){return Math.pow(2,Math.round(Math.log(a)/Math.LN2))},Jba:function(a){return a!==0&&(a&a-1)===0},Qua:function(){return c.browser()==c.wh},Xua:function(){return c.browser()==c.ds},mj:function(){return c.ge()==
c.zj},Bda:function(a){if(k||c.Q$()&&f.Qr(a)||f.Xua())return p;if(f.mj())if(f.Qr(a)){if(!b.uba||c.eE()>=14&&c.eE()<14.6)return p}else if(c.eE()<12||a&&a.videoWidth&&a.videoHeight&&a.videoWidth*a.videoHeight<=589824)return p;return z},mba:function(){return f.Qua()||f.mj()},lba:function(){return f.mj()&&b.uba&&c.eE()<11}},g=z;f.wba=function(){g=z};f.Nua=function(){return g};f.twa=function(){g=p};var k=d.Wf("vic");f.Jva=function(){f.mj()&&(k=p)};f.OW=function(a,b){var c={alpha:p,depth:p,stencil:p,antialias:b||
z,premultipliedAlpha:p,preserveDrawingBuffer:z,powerPreference:"default",failIfMajorPerformanceCaveat:z,xrCompatible:p};return a.getContext("webgl",c)||a.getContext("experimental-webgl",c)};f.getPixelRatio=function(){if(c.Va()){var a,b,f;try{a=window.top.innerWidth;b=window.top.innerHeight;f=p}catch(d){f=z}var e=window.devicePixelRatio||1;if(f){a=[Math.max(document.documentElement.clientWidth,a||0),Math.max(document.documentElement.clientHeight,b||0)].sort(function(a,b){return b-a});e=[screen.width*
e,screen.height*e].sort(function(a,b){return b-a});e=[e[0]/a[0],e[1]/a[1]].sort()[0]}if(e!==Infinity)return e}return window.devicePixelRatio};return f});
define("da","require,fb,jquery.mod,dl,kU,bI,kV,r,d,kd,kq".split(","),function(a){function b(){this.Dc=z;this.UC=r;this.ea=this.W=100;this.HR=this.Gf=m;this.IR=100;this.J=document.createElement("div");this.J.style.opacity=0;this.J.style.display="none";this.J.style.jAa="opacity 0.3s";this.J.addEventListener("transitionend",this.pV.bind(this));this.bd=document.createElement("div");this.Ica(p);this.bd.style.position="absolute";this.bd.style.left=0;this.bd.style.top=0;this.bd.style.right=0;this.bd.style.bottom=
0;this.J.appendChild(this.bd);this.qb=document.createElement("img");this.qb.style.cursor="pointer";this.qb.style.position="absolute";this.qb.style.left="50%";this.qb.style.top="50%";this.qb.style.transform="translate(-50%, -50%)";this.J.appendChild(this.qb);this.cO=d(this.J)}function c(a,b){this.reason=a;this.Zo=b}var e=a("fb"),d=a("jquery.mod");a("dl");a("kU");var f=a("bI");EventName=a("kV");Device=a("r");UIComponent=a("d");FadeInEffect=a("kd");FadeOutEffect=a("kq");var g=e.extend(UIComponent,function(){UIComponent.call(this);
this.Tc("UserInteractionWindow");this.Ya=r;this.Am=[];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.N({contentOpaque:p,left:0,top:0,right:0,bottom:0,hideEffect:b,showEffect:a,visible:z});this.bind(EventName.vb,this.eW,this,p);this.bind(EventName.T,this.Yra,this,p)});g.prototype.eW=function(){this.Ya&&this.Ya.setSize(this.Dd(),this.Cd())};g.prototype.Yra=function(){var a=this.Am.slice();this.Am=
[];this.uK();a.forEach(function(a){a.Zo.call(a.context)})};g.prototype.Ha=function(){UIComponent.prototype.Ha.call(this);if(!this.Ya){this.Ya=new b;this.Ya.setSize(this.Dd(),this.Cd());this.Ya.Ze(p);this.Pa().append(this.Ya.Kb().css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden"}));this.uK()}};g.prototype.Pk=function(){UIComponent.prototype.Pk.call(this);this.getParent().bind(EventName.vb,this.eW,this,p);g.wfa(this)};g.prototype.aj=function(){this.getParent().unbind(EventName.vb,
this.eW,this,p);UIComponent.prototype.aj.call(this);g.eoa(this)};g.prototype.gwa=function(a){this.nr(j,a)};g.prototype.lY=function(a){this.nr(k,a)};g.prototype.nr=function(a,b){this.Am.push(new c(a,b));this.Am.sort(function(a,b){return n[a.reason]-n[b.reason]});this.uK()};g.prototype.Isa=function(a){this.cancel(j,a)};g.prototype.Gsa=function(){this.cancel(k,m)};g.prototype.cancel=function(a,b){var c=this.oka(a,b);c>=0&&this.koa(c)};g.prototype.q1=function(){this.PF(p)};g.prototype.YF=function(){this.PF(z)};
g.prototype.oka=function(a,b){for(var c=0;c<this.Am.length;c++){var f=this.Am[c];if(f.reason==a&&f.Zo==b)return c}return-1};g.prototype.uK=function(){if(this.Ya){var a=this.xka();if(a){switch(a.reason){case k:this.Ya.AY(b.NZ);break;case j:this.Ya.AY(b.zN)}this.set("visible",p)}else this.set("visible",z)}};g.prototype.koa=function(a){this.Am.splice(a,1);a==this.Am.length&&this.uK()};g.prototype.xka=function(){return this.Am.length>0?this.Am[0]:r};var k="vr",j="play",n={};n[k]=0;n[j]=1;b.prototype.Kb=
R("cO");b.prototype.setSize=function(a,b){if(this.W!==a||this.ea!==b){this.W=a;this.ea=b;this.vK()}};b.prototype.Ica=function(a){this.bd.style.hasOwnProperty("backdropFilter")?this.bd.style.backdropFilter=a?"blur(8px)":"none":this.bd.style.backgroundColor=a?"rgba(0, 0, 0, 0.6)":"none"};b.prototype.Ze=function(a){if(this.Dc!=a){this.Dc=a;if(this.UC){clearTimeout(this.UC);this.UC=r}if(this.Dc){this.J.style.display="block";this.J.style.opacity=0;this.UC=setTimeout(function(){this.UC=r;this.J.style.opacity=
1}.bind(this),30)}else this.J.style.opacity=0}};b.prototype.AY=function(a){if(this.Gf!=a){this.Gf=a;this.xra()}};b.prototype.pV=function(){if(!this.Dc)this.J.style.display="none"};b.prototype.xra=function(){switch(this.Gf){case b.zN:this.HR=f.zs;this.IR=f.yea;break;case b.NZ:this.HR=f.Pea;this.IR=f.Rea}this.qb.src=this.HR;this.vK()};b.prototype.vK=function(){if(Device.Va()){this.qb.style.maxWidth=Math.round(this.W*0.5)+"px";this.qb.style.width="20vmin"}else{this.qb.style.maxWidth=Math.round(this.W*
0.33)+"px";this.qb.style.width=this.IR+"px"}};b.zN="play";b.NZ="vr";g.r_=b;g.Rc=[];g.nT=[];g.wfa=function(a){g.Rc.push(a);g.nT.forEach(function(b){g.t4(a,b)});g.nT=[]};g.eoa=function(a){g.Rc.splice(g.Rc.indexOf(a),1)};g.ready=function(){return g.Rc.length>0};g.lY=function(a){g.Rc.length?g.Rc.forEach(function(b){g.t4(b,a)}):g.nT.push(a)};g.t4=function(a,b){a.lY(function(){g.Rc.forEach(function(b){b!=a&&b.Gsa()});b()})};return g});
define("kL",["require"],function(){var a={xj:{}};a.xj.NONE="none";a.xj.na="left";a.xj.Ja="right";a.Wg=function(){this.y=this.x=0;this.height=this.width=1};a.X_=function(){this.eye=a.xj.NONE;this.viewport=new a.Wg;this.position=new THREE.Vector3;this.orientation=new THREE.Quaternion;this.projectionMatrix=new THREE.Matrix4};a.Yda=function(){this.position=new THREE.Vector3;this.orientation=new THREE.Quaternion;this.views=[];this.iL=[]};a.jea=function(){this.SD=r;this.tk=200;this.ij=100;this.eL=1};return a});
define("de",["require"],function(){return{mF:"gaze",yN:"gaze_click"}});
define("fv","require,fb,kV,fF,eJ,da,kL,r,gF,jf,de".split(","),function(a){var b=a("fb"),c=a("kV"),e=a("fF"),d=a("eJ"),f=a("da"),g=a("kL"),k=a("r"),j=a("gF"),n=a("jf"),i=a("de"),a=b.extend(d,function(){d.call(this);this.d8=i.mF;this.dk=[];this.sc=new g.Yda;this.gg=new g.X_;this.gg.eye=g.xj.na;this.jg=new g.X_;this.jg.eye=g.xj.Ja;this.sc.views=[this.gg,this.jg];this.Lc=new g.jea;this.bind(c.aa,this.Kt,this,z)});a.prototype.Rl=D();a.prototype.oh=D();a.prototype.Vd=D();a.prototype.oL=R("Lc");a.prototype.an=
R("sc");a.prototype.La=D();a.prototype.isPresenting=D();a.prototype.qe=D();a.prototype.rL=R("d8");a.prototype.Ru=D();a.prototype.by=function(a){this.dk.indexOf(a)<0&&this.dk.push(a)};a.prototype.aM=function(a){this.dk.splice(this.dk.indexOf(a),1);this.Ru()==a&&this.Vd()};a.prototype.jM=function(a){var b=this.dk.indexOf(a);if(!(b<0||b==this.dk.length-1)){this.dk.splice(b,1);this.dk.splice(this.dk.length,0,a)}};a.prototype.hka=function(){return this.dk.length>0?this.dk[this.dk.length-1]:r};a.prototype.mU=
function(){var a=this.hka();if(a==r){a=document.createElement("canvas");a=e.OW(a);this.by(a)}return a};a.prototype.pJ=function(a){f.lY(a)};a.prototype.LU=function(a){if(k.Wc()==k.yv){this.YT();j.Lda.show(a,function(){this.O0()}.bind(this))}else k.TD()&&k.Wc()==k.dF?j.Dea.show(a):k.Wc()==k.aF?j.W_.show(a):k.Wc()==k.bF?j.W_.show():a()};a.prototype.nU=function(a){var b=function(b){this.d8=b;a()}.bind(this);!k.Va()||k.Ye()?b(i.mF):n.hn("cardboard_version")=="1"?b(i.mF):n.hn("cardboard_version")=="2"?
b(i.yN):j.JM.show(function(){b(i.yN)}.bind(this),function(){b(i.mF)}.bind(this))};a.prototype.Kt=function(){k.Va()||(this.isPresenting()?j.GZ.show(this.Vd.bind(this)):j.GZ.hide())};a.prototype.O0=function(){this.YT();var a=this.e4();a.push("vr");this.Z0(a)};a.prototype.YT=function(){this.Z0(this.e4().filter(function(a){return a!="vr"}))};a.prototype.e4=function(){var a=window.location.hash.substring(1);return a.length?a.split("&"):[]};a.prototype.Z0=function(a){window.location.hash="#"+(a.length?
a.join("&"):"")};return a});
define("p",["require","jquery.mod","jP"],function(a){function b(){i.get(0)==document.body&&g.height(window.innerHeight)}function c(a,b){var c={},f;for(f in b)c[f]=a.css(f);l.push({$el:a,css:c});a.css(b)}function e(a){this.J=a}var d=a("jquery.mod"),f=a("jP");e.prototype.oh=function(){this.enabled()||this.toggle()};e.prototype.Vd=function(){this.enabled()&&this.toggle()};e.prototype.toggle=function(){this.enabled()?e.cancel():e.Pg(this.J)};e.prototype.enabled=function(){return e.enabled(this.J)};var g=
d("<div/>").css({position:"fixed",bottom:0,left:0,height:"100vh",width:"100vw"}),k=d("<div/>"),j=r,n=r,i=r,l=[],q=r;e.Pg=function(a){if(a!==j){e.cancel();j=a;var l=f.Ll()||document.body;n=d(a);i=d(l);k.insertAfter(n);n.appendTo(g);i.children().each(function(){c(d(this),{visibility:"hidden"})});c(n,{position:"absolute",left:0,top:0,width:"100%",height:"100%"});l==document.body?c(g,{position:"fixed",left:0,top:"",right:"",bottom:0,height:"100vh",width:"100vw",margin:0,padding:0}):c(g,{position:"absolute",
left:0,top:0,right:"",bottom:"",width:"100%",height:"100%",margin:0,padding:0});g.appendTo(i);b();q=setInterval(b,300)}};e.cancel=function(){if(j){g.detach();n.insertBefore(k);for(k.detach();l.length;){var a=l.pop();a.$el.css(a.css)}i=n=j=r;l=[];clearInterval(q)}};e.enabled=function(a){return j==a};return e});
define("iq","require,fb,kV,bY,eJ,kU,bI".split(","),function(a){var b=a("fb"),c=a("kV"),e=a("bY"),d=a("eJ"),f=a("kU"),a=a("bI"),g=['<div style="position: absolute; top: 5vmin; right:5vmin;">','<img style="width:24vmin" src="'+a.fs+'"/>','</div>\n<div style="box-sizing:border-box; padding:0 10vmin; display:table; height:100%; width:100vw;">\n<div style="vertical-align:middle; text-align:center; display:table-cell;">'].join("\n"),k=g+['<img style="width:22vmin" src="'+a.rz+'"/>','<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>"].join("\n")+"</div>\n</div>",j=g+['<img style="width:13vmin; vertical-align:middle;" src="'+a.Hea+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; text-align:left; display:inline-block; vertical-align:middle; margin:5vmin 0 0 2vmin;">Please, swipe up to<br>enter Fullscreen Mode</div>'].join("\n")+"</div>\n</div>",b=b.extend(d,function(){d.call(this);this.Th=this.Ij=this.Jj=this.WA=this.XA=this.mS=this.nS=m;
this.xH=z;this.pr=this.zT=this.lS=this.xd=r;this.g3=[];this.PR=this.wl=z;this.lb=this.lb.bind(this)});b.prototype.Pg=function(){if(!this.wl){this.wl=p;this.DP();window.addEventListener("resize",this.lb);document.body.appendChild(this.xd);document.body.appendChild(this.pr);this.tqa=document.documentElement.style.overflow;this.sqa=document.body.style.overflow;document.documentElement.style.overflow="auto";document.body.style.overflow="auto";this.JB()}};b.prototype.cancel=function(){if(this.wl){this.wl=
z;window.removeEventListener("resize",this.lb);document.body.style.overflow=this.sqa;document.documentElement.style.overflow=this.tqa;document.body.removeChild(this.xd);document.body.removeChild(this.pr);this.s8(z)}};b.prototype.enabled=R("xH");b.prototype.DP=function(){if(!this.xd){this.xd=this.AG({position:"fixed",top:0,left:0,zIndex:9999998},p);this.xd.id="tdvminuictr";this.zT=this.AG({position:"fixed",backgroundColor:"#fff",top:0,left:0,textAlign:"center"},p,k);this.xd.appendChild(this.zT);this.lS=
this.AG({position:"fixed",backgroundColor:"#fff",top:0,left:0,textAlign:"center"},p,j);this.xd.appendChild(this.lS);this.pr=this.AG({position:"absolute",top:0,left:0,right:0,height:"999999999vmax",zIndex:9999999},z);this.pr.id="tdvminuiscrl";this.pr.addEventListener("touchend",this.lb)}};b.prototype.AG=function(a,b,c){var f=document.createElement("div");this.uC(f,a);c!==m&&this.kpa(f,c);b&&this.g3.push(f);return f};b.prototype.lb=function(){[0,250,1E3,2E3].forEach(function(a){setTimeout(this.XS.bind(this),
a)}.bind(this))};b.prototype.XS=function(){(this.Jj!=window.innerWidth||this.Ij!=window.innerHeight)&&this.JB()};b.prototype.JB=function(){this.Jj=window.innerWidth;this.Ij=window.innerHeight;this.Th=this.Jj>this.Ij?"landscape":"portrait";var a;if(this.Th=="landscape"){if(this.nS&&this.mS&&this.vla(this.nS,this.mS)&&(!this.XA&&!this.WA||this.wla(this.XA,this.WA))){this.XA=this.Jj;this.WA=this.Ij}if(this.rla()){this.XA=this.Jj;this.WA=this.Ij}this.nS=this.Jj;this.mS=this.Ij;a=this.XA==this.Jj&&this.WA==
this.Ij}else a=z;this.g3.forEach(function(a){a.style.height=this.Ij+"px";a.style.width=this.Jj+"px"}.bind(this));var b=this.wl&&this.Th=="portrait",c=this.wl&&this.Th=="landscape"&&!a,f=this.wl&&this.Th=="landscape";this.uC(this.xd,{display:b||c?"block":"none"});this.uC(this.zT,{display:b?"block":"none"});this.uC(this.lS,{display:c?"block":"none"});this.uC(this.pr,{display:f?"block":"none",right:c?0:"99.9%"});this.s8(a)};b.prototype.s8=function(a){if(this.GJ!=r){clearTimeout(this.GJ);this.GJ=r}if(this.xH!=
a)this.GJ=setTimeout(function(){this.GJ=r;(this.xH=a)?this.trigger(new e(c.Dk)):this.trigger(new e(c.Da));this.trigger(new e(c.aa))}.bind(this),a?1E3:0)};b.prototype.rla=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(f){c=Math.min(c,Math.abs(100-100*a*f[1]/(b*f[0])))});return c<=1?p:z};b.prototype.vla=function(a,b){return a*window.innerHeight>
b*window.innerWidth};b.prototype.wla=function(a,b){return a*window.innerHeight>=b*window.innerWidth};b.prototype.uC=function(a,b){for(var c in b)a.style[c]=b[c]};b.prototype.kpa=function(a,b){a.innerHTML=b};return new b});
define("la","require,fZ,r,jL,fV,bC".split(","),function(a){var b=a("fZ"),c=a("r"),e=a("jL");MediaType=a("fV");SharedPlayerOrchestrator=a("bC");if(c.browser()==c.uj){a=function(){this.U=new e;this.U.src="data:video/mp4;base64,AAAAIGZ0eXBtcDQyAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQAACKBtZGF0AAAC8wYF///v3EXpvebZSLeWLNgg2SPu73gyNjQgLSBjb3JlIDE0MiByMjQ3OSBkZDc5YTYxIC0gSC4yNjQvTVBFRy00IEFWQyBjb2RlYyAtIENvcHlsZWZ0IDIwMDMtMjAxNCAtIGh0dHA6Ly93d3cudmlkZW9sYW4ub3JnL3gyNjQuaHRtbCAtIG9wdGlvbnM6IGNhYmFjPTEgcmVmPTEgZGVibG9jaz0xOjA6MCBhbmFseXNlPTB4MToweDExMSBtZT1oZXggc3VibWU9MiBwc3k9MSBwc3lfcmQ9MS4wMDowLjAwIG1peGVkX3JlZj0wIG1lX3JhbmdlPTE2IGNocm9tYV9tZT0xIHRyZWxsaXM9MCA4eDhkY3Q9MCBjcW09MCBkZWFkem9uZT0yMSwxMSBmYXN0X3Bza2lwPTEgY2hyb21hX3FwX29mZnNldD0wIHRocmVhZHM9NiBsb29rYWhlYWRfdGhyZWFkcz0xIHNsaWNlZF90aHJlYWRzPTAgbnI9MCBkZWNpbWF0ZT0xIGludGVybGFjZWQ9MCBibHVyYXlfY29tcGF0PTAgY29uc3RyYWluZWRfaW50cmE9MCBiZnJhbWVzPTMgYl9weXJhbWlkPTIgYl9hZGFwdD0xIGJfYmlhcz0wIGRpcmVjdD0xIHdlaWdodGI9MSBvcGVuX2dvcD0wIHdlaWdodHA9MSBrZXlpbnQ9MzAwIGtleWludF9taW49MzAgc2NlbmVjdXQ9NDAgaW50cmFfcmVmcmVzaD0wIHJjX2xvb2thaGVhZD0xMCByYz1jcmYgbWJ0cmVlPTEgY3JmPTIwLjAgcWNvbXA9MC42MCBxcG1pbj0wIHFwbWF4PTY5IHFwc3RlcD00IHZidl9tYXhyYXRlPTIwMDAwIHZidl9idWZzaXplPTI1MDAwIGNyZl9tYXg9MC4wIG5hbF9ocmQ9bm9uZSBmaWxsZXI9MCBpcF9yYXRpbz0xLjQwIGFxPTE6MS4wMACAAAAAOWWIhAA3//p+C7v8tDDSTjf97w55i3SbRPO4ZY+hkjD5hbkAkL3zpJ6h/LR1CAABzgB1kqqzUorlhQAAAAxBmiQYhn/+qZYADLgAAAAJQZ5CQhX/AAj5IQADQGgcIQADQGgcAAAACQGeYUQn/wALKCEAA0BoHAAAAAkBnmNEJ/8ACykhAANAaBwhAANAaBwAAAANQZpoNExDP/6plgAMuSEAA0BoHAAAAAtBnoZFESwr/wAI+SEAA0BoHCEAA0BoHAAAAAkBnqVEJ/8ACykhAANAaBwAAAAJAZ6nRCf/AAsoIQADQGgcIQADQGgcAAAADUGarDRMQz/+qZYADLghAANAaBwAAAALQZ7KRRUsK/8ACPkhAANAaBwAAAAJAZ7pRCf/AAsoIQADQGgcIQADQGgcAAAACQGe60Qn/wALKCEAA0BoHAAAAA1BmvA0TEM//qmWAAy5IQADQGgcIQADQGgcAAAAC0GfDkUVLCv/AAj5IQADQGgcAAAACQGfLUQn/wALKSEAA0BoHCEAA0BoHAAAAAkBny9EJ/8ACyghAANAaBwAAAANQZs0NExDP/6plgAMuCEAA0BoHAAAAAtBn1JFFSwr/wAI+SEAA0BoHCEAA0BoHAAAAAkBn3FEJ/8ACyghAANAaBwAAAAJAZ9zRCf/AAsoIQADQGgcIQADQGgcAAAADUGbeDRMQz/+qZYADLkhAANAaBwAAAALQZ+WRRUsK/8ACPghAANAaBwhAANAaBwAAAAJAZ+1RCf/AAspIQADQGgcAAAACQGft0Qn/wALKSEAA0BoHCEAA0BoHAAAAA1Bm7w0TEM//qmWAAy4IQADQGgcAAAAC0Gf2kUVLCv/AAj5IQADQGgcAAAACQGf+UQn/wALKCEAA0BoHCEAA0BoHAAAAAkBn/tEJ/8ACykhAANAaBwAAAANQZvgNExDP/6plgAMuSEAA0BoHCEAA0BoHAAAAAtBnh5FFSwr/wAI+CEAA0BoHAAAAAkBnj1EJ/8ACyghAANAaBwhAANAaBwAAAAJAZ4/RCf/AAspIQADQGgcAAAADUGaJDRMQz/+qZYADLghAANAaBwAAAALQZ5CRRUsK/8ACPkhAANAaBwhAANAaBwAAAAJAZ5hRCf/AAsoIQADQGgcAAAACQGeY0Qn/wALKSEAA0BoHCEAA0BoHAAAAA1Bmmg0TEM//qmWAAy5IQADQGgcAAAAC0GehkUVLCv/AAj5IQADQGgcIQADQGgcAAAACQGepUQn/wALKSEAA0BoHAAAAAkBnqdEJ/8ACyghAANAaBwAAAANQZqsNExDP/6plgAMuCEAA0BoHCEAA0BoHAAAAAtBnspFFSwr/wAI+SEAA0BoHAAAAAkBnulEJ/8ACyghAANAaBwhAANAaBwAAAAJAZ7rRCf/AAsoIQADQGgcAAAADUGa8DRMQz/+qZYADLkhAANAaBwhAANAaBwAAAALQZ8ORRUsK/8ACPkhAANAaBwAAAAJAZ8tRCf/AAspIQADQGgcIQADQGgcAAAACQGfL0Qn/wALKCEAA0BoHAAAAA1BmzQ0TEM//qmWAAy4IQADQGgcAAAAC0GfUkUVLCv/AAj5IQADQGgcIQADQGgcAAAACQGfcUQn/wALKCEAA0BoHAAAAAkBn3NEJ/8ACyghAANAaBwhAANAaBwAAAANQZt4NExC//6plgAMuSEAA0BoHAAAAAtBn5ZFFSwr/wAI+CEAA0BoHCEAA0BoHAAAAAkBn7VEJ/8ACykhAANAaBwAAAAJAZ+3RCf/AAspIQADQGgcAAAADUGbuzRMQn/+nhAAYsAhAANAaBwhAANAaBwAAAAJQZ/aQhP/AAspIQADQGgcAAAACQGf+UQn/wALKCEAA0BoHCEAA0BoHCEAA0BoHCEAA0BoHCEAA0BoHCEAA0BoHAAACiFtb292AAAAbG12aGQAAAAA1YCCX9WAgl8AAAPoAAAH/AABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAGGlvZHMAAAAAEICAgAcAT////v7/AAAF+XRyYWsAAABcdGtoZAAAAAPVgIJf1YCCXwAAAAEAAAAAAAAH0AAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAygAAAMoAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAB9AAABdwAAEAAAAABXFtZGlhAAAAIG1kaGQAAAAA1YCCX9WAgl8AAV+QAAK/IFXEAAAAAAAtaGRscgAAAAAAAAAAdmlkZQAAAAAAAAAAAAAAAFZpZGVvSGFuZGxlcgAAAAUcbWluZgAAABR2bWhkAAAAAQAAAAAAAAAAAAAAJGRpbmYAAAAcZHJlZgAAAAAAAAABAAAADHVybCAAAAABAAAE3HN0YmwAAACYc3RzZAAAAAAAAAABAAAAiGF2YzEAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAygDKAEgAAABIAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY//8AAAAyYXZjQwFNQCj/4QAbZ01AKOyho3ySTUBAQFAAAAMAEAAr8gDxgxlgAQAEaO+G8gAAABhzdHRzAAAAAAAAAAEAAAA8AAALuAAAABRzdHNzAAAAAAAAAAEAAAABAAAB8GN0dHMAAAAAAAAAPAAAAAEAABdwAAAAAQAAOpgAAAABAAAXcAAAAAEAAAAAAAAAAQAAC7gAAAABAAA6mAAAAAEAABdwAAAAAQAAAAAAAAABAAALuAAAAAEAADqYAAAAAQAAF3AAAAABAAAAAAAAAAEAAAu4AAAAAQAAOpgAAAABAAAXcAAAAAEAAAAAAAAAAQAAC7gAAAABAAA6mAAAAAEAABdwAAAAAQAAAAAAAAABAAALuAAAAAEAADqYAAAAAQAAF3AAAAABAAAAAAAAAAEAAAu4AAAAAQAAOpgAAAABAAAXcAAAAAEAAAAAAAAAAQAAC7gAAAABAAA6mAAAAAEAABdwAAAAAQAAAAAAAAABAAALuAAAAAEAADqYAAAAAQAAF3AAAAABAAAAAAAAAAEAAAu4AAAAAQAAOpgAAAABAAAXcAAAAAEAAAAAAAAAAQAAC7gAAAABAAA6mAAAAAEAABdwAAAAAQAAAAAAAAABAAALuAAAAAEAADqYAAAAAQAAF3AAAAABAAAAAAAAAAEAAAu4AAAAAQAAOpgAAAABAAAXcAAAAAEAAAAAAAAAAQAAC7gAAAABAAA6mAAAAAEAABdwAAAAAQAAAAAAAAABAAALuAAAAAEAAC7gAAAAAQAAF3AAAAABAAAAAAAAABxzdHNjAAAAAAAAAAEAAAABAAAAAQAAAAEAAAEEc3RzegAAAAAAAAAAAAAAPAAAAzQAAAAQAAAADQAAAA0AAAANAAAAEQAAAA8AAAANAAAADQAAABEAAAAPAAAADQAAAA0AAAARAAAADwAAAA0AAAANAAAAEQAAAA8AAAANAAAADQAAABEAAAAPAAAADQAAAA0AAAARAAAADwAAAA0AAAANAAAAEQAAAA8AAAANAAAADQAAABEAAAAPAAAADQAAAA0AAAARAAAADwAAAA0AAAANAAAAEQAAAA8AAAANAAAADQAAABEAAAAPAAAADQAAAA0AAAARAAAADwAAAA0AAAANAAAAEQAAAA8AAAANAAAADQAAABEAAAANAAAADQAAAQBzdGNvAAAAAAAAADwAAAAwAAADZAAAA3QAAAONAAADoAAAA7kAAAPQAAAD6wAAA/4AAAQXAAAELgAABEMAAARcAAAEbwAABIwAAAShAAAEugAABM0AAATkAAAE/wAABRIAAAUrAAAFQgAABV0AAAVwAAAFiQAABaAAAAW1AAAFzgAABeEAAAX+AAAGEwAABiwAAAY/AAAGVgAABnEAAAaEAAAGnQAABrQAAAbPAAAG4gAABvUAAAcSAAAHJwAAB0AAAAdTAAAHcAAAB4UAAAeeAAAHsQAAB8gAAAfjAAAH9gAACA8AAAgmAAAIQQAACFQAAAhnAAAIhAAACJcAAAMsdHJhawAAAFx0a2hkAAAAA9WAgl/VgIJfAAAAAgAAAAAAAAf8AAAAAAAAAAAAAAABAQAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAACsm1kaWEAAAAgbWRoZAAAAADVgIJf1YCCXwAArEQAAWAAVcQAAAAAACdoZGxyAAAAAAAAAABzb3VuAAAAAAAAAAAAAAAAU3RlcmVvAAAAAmNtaW5mAAAAEHNtaGQAAAAAAAAAAAAAACRkaW5mAAAAHGRyZWYAAAAAAAAAAQAAAAx1cmwgAAAAAQAAAidzdGJsAAAAZ3N0c2QAAAAAAAAAAQAAAFdtcDRhAAAAAAAAAAEAAAAAAAAAAAACABAAAAAArEQAAAAAADNlc2RzAAAAAAOAgIAiAAIABICAgBRAFQAAAAADDUAAAAAABYCAgAISEAaAgIABAgAAABhzdHRzAAAAAAAAAAEAAABYAAAEAAAAABxzdHNjAAAAAAAAAAEAAAABAAAAAQAAAAEAAAAUc3RzegAAAAAAAAAGAAAAWAAAAXBzdGNvAAAAAAAAAFgAAAOBAAADhwAAA5oAAAOtAAADswAAA8oAAAPfAAAD5QAAA/gAAAQLAAAEEQAABCgAAAQ9AAAEUAAABFYAAARpAAAEgAAABIYAAASbAAAErgAABLQAAATHAAAE3gAABPMAAAT5AAAFDAAABR8AAAUlAAAFPAAABVEAAAVXAAAFagAABX0AAAWDAAAFmgAABa8AAAXCAAAFyAAABdsAAAXyAAAF+AAABg0AAAYgAAAGJgAABjkAAAZQAAAGZQAABmsAAAZ+AAAGkQAABpcAAAauAAAGwwAABskAAAbcAAAG7wAABwYAAAcMAAAHIQAABzQAAAc6AAAHTQAAB2QAAAdqAAAHfwAAB5IAAAeYAAAHqwAAB8IAAAfXAAAH3QAAB/AAAAgDAAAICQAACCAAAAg1AAAIOwAACE4AAAhhAAAIeAAACH4AAAiRAAAIpAAACKoAAAiwAAAItgAACLwAAAjCAAAAFnVkdGEAAAAObmFtZVN0ZXJlbwAAAHB1ZHRhAAAAaG1ldGEAAAAAAAAAIWhkbHIAAAAAAAAAAG1kaXJhcHBsAAAAAAAAAAAAAAAAO2lsc3QAAAAzqXRvbwAAACtkYXRhAAAAAQAAAABIYW5kQnJha2UgMC4xMC4yIDIwMTUwNjExMDA=";this.U.loop=
p;this.U.jp=p;this.Ga=r};a.prototype.mY=S(p);a.prototype.qe=function(){return MediaType.Dj};a.prototype.sX=function(){return b.Oea};a.prototype.VW=function(a){this.Ga=a;this.Ga.play(r,this.U,0)};a.prototype.OX=function(){this.Ga=r};var d=z,f=new a;return{enable:function(){if(!d){d=p;SharedPlayerOrchestrator.EW(f)}},disable:function(){if(d){d=z;SharedPlayerOrchestrator.Ly(f)}}}}return{enable:D(),disable:D()}});
define("hP",["require","jquery.mod","kU","bI"],function(a){function b(){this.sg=r;this.V=z;this.lb=this.lb.bind(this);this.Ij=this.Jj=this.Th=m}var c=a("jquery.mod"),e=a("kU"),d=a("bI");b.prototype.Qn=function(){this.sg||(this.sg=c("<div/>"),this.sg.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.sg.html(['<div style="position: absolute; top: 5vmin; right:5vmin;">','<img style="width:24vmin" src="'+
d.fs+'"/>','</div>\n<div style="box-sizing:border-box; padding:0 10vmin; display:table; height:100%; width:100vw;">\n<div style="vertical-align:middle; text-align:center; display:table-cell;">','<img style="width:22vmin" src="'+d.rz+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">'+e("rotate-device")+"</div>","</div>\n</div>"].join("\n")))};b.prototype.show=function(a){this.V||(this.V=p,this.Qn(),
c(a).append(this.sg),c(window).on("resize",this.lb),this.JB())};b.prototype.hide=function(){this.V&&(this.V=z,c(window).off("resize",this.lb),this.sg.detach())};b.prototype.lb=function(){[0,250,1E3,2E3].forEach(function(a){setTimeout(this.XS.bind(this),a)}.bind(this))};b.prototype.XS=function(){(this.Jj!=window.innerWidth||this.Ij!=window.innerHeight)&&this.JB()};b.prototype.JB=function(){this.Jj=window.innerWidth;this.Ij=window.innerHeight;this.Th=this.Jj>this.Ij?"landscape":"portrait";this.sg.toggle("landscape"!=
this.Th)};return new b});
define("ig","require,fb,kV,bY,gP,iJ,r,fO,gF,bV,cv,fv,d,V,jP,p,iq,la,hP".split(","),function(a){var b=a("fb"),c=a("kV"),e=a("bY"),d=a("gP"),f=a("iJ"),g=a("r"),k=a("fO"),j=a("gF"),n=a("bV"),i=a("cv"),l=a("fv"),q=a("d"),o=a("V"),t=a("jP"),s=a("p"),u=a("iq"),v=a("la"),w=a("hP"),x=b.extend(l,function(){l.call(this);this.Hg=this.De=this.uf=this.oC=this.oo=this.mh=this.cc=r;this.Td=i.fs;this.La=this.La.bind(this)});x.prototype.Rl=function(a){if(this.LA()){var b=function(b){if(this.cc=b.length?b[0]:r){this.cc.depthNear=
0.1;this.cc.depthFar=2*d.Gd;this.mh="VRFrameData"in window?new VRFrameData:r;window.addEventListener("vrdisplaypresentchange",this.FT.bind(this),z);u.bind(c.Da,this.Vd.bind(this))}a(!!this.cc)}.bind(this),f=window.WebVRConfig||(window.WebVRConfig={});f.BUFFER_SCALE=x.fy;f.ALWAYS_APPEND_POLYFILL_DISPLAY=p;f.LOCK_ORIENTATION=z;n.Z_.load(function(){navigator.getVRDisplays().then(b)["catch"](function(){b([])})}.bind(this))}else a(z)};x.prototype.oh=function(){!this.isPresenting()&&!this.De&&this.iu(function(){this.LU(function(){this.nU(function(){if(!this.isPresenting()&&
!this.De){this.De=this.mU();this.IU();this.cc.requestPresent([{source:this.De.canvas}]).then(function(){this.Hg=this.De;this.De=r;g.Wc()!=g.hz&&w.show(t.Ll());this.wx();this.BD()}.bind(this))["catch"](function(){this.De=r;this.SC()}.bind(this))}}.bind(this))}.bind(this))}.bind(this))};x.prototype.Vd=function(){this.isPresenting()&&this.cc.exitPresent()};x.prototype.La=function(a){return this.cc.requestAnimationFrame(function(b){var c=this.wx();c&&this.zu();a(b);c&&this.cc.submitFrame()}.bind(this))};
x.prototype.isPresenting=function(){return!!this.cc&&this.cc.isPresenting};x.prototype.Ru=R("Hg");x.prototype.qe=R("Td");x.prototype.FT=function(){if(this.isPresenting())o.kM(this.La,this.cc.cancelAnimationFrame.bind(this.cc));else{o.nY();(this.Hg||this.De)&&this.SC()}this.trigger(new e(c.aa))};x.prototype.LA=function(){return k.available&&f.fZ&&g.Va()&&g.Fu()!=g.lz};x.prototype.iu=function(a){if(k.disabled)j.LZ.show(function(){k.kY(function(){this.iu(a)}.bind(this))});else if(t.enabled()||!q.jE()){t.Vd();
this.pJ(function(){this.iu(a)}.bind(this))}else a()};x.prototype.IU=function(){s.Pg(this.De.canvas);g.Wc()==g.iz?this.O0():v.enable();g.Wc()==g.hz&&u.Pg()};x.prototype.wx=function(){this.cc.getFrameData(this.mh);if(!this.mh.pose||!this.mh.pose.orientation)return z;this.oo=this.cc.getEyeParameters("left");this.oC=this.cc.getEyeParameters("right");var a=this.cc.getLayers();this.uf=a&&a.length&&a[0]||r;return!this.uf?z:p};x.prototype.BD=function(){this.Lc.SD=r;this.Lc.tk=this.oo.renderWidth*2;this.Lc.ij=
this.oo.renderHeight;this.Lc.eL=1};x.prototype.zu=function(){var a=this.mh.pose;this.sc.orientation.fromArray(a&&a.orientation||y);this.sc.position.fromArray(a&&a.position||E);this.sW()};x.prototype.sW=function(){this.gg.position.fromArray(this.oo.offset);this.gg.orientation.fromArray(y);this.gg.projectionMatrix.fromArray(this.mh.leftProjectionMatrix);this.gg.viewport.x=Math.round(this.Lc.tk*this.uf.leftBounds[0]);this.gg.viewport.y=Math.round(this.Lc.ij*this.uf.leftBounds[1]);this.gg.viewport.width=
Math.round(this.Lc.tk*this.uf.leftBounds[2]);this.gg.viewport.height=Math.round(this.Lc.ij*this.uf.leftBounds[3]);this.jg.position.fromArray(this.oC.offset);this.jg.orientation.fromArray(y);this.jg.projectionMatrix.fromArray(this.mh.rightProjectionMatrix);this.jg.viewport.x=Math.round(this.Lc.tk*this.uf.rightBounds[0]);this.jg.viewport.y=Math.round(this.Lc.ij*this.uf.rightBounds[1]);this.jg.viewport.width=Math.round(this.Lc.tk*this.uf.rightBounds[2]);this.jg.viewport.height=Math.round(this.Lc.ij*
this.uf.rightBounds[3])};x.prototype.SC=function(){this.YT();this.Hg=this.De=r;u.cancel();s.cancel();v.disable();w.hide()};x.fy=Math.min(1,1280/(Math.max(screen.width,screen.height)*window.devicePixelRatio));var y=[0,0,0,1],E=[0,0,0];return x});
define("gL","require,fb,bY,kV,r,cv,fv,gP,d,V,p".split(","),function(a){var b=a("fb"),c=a("bY"),e=a("kV"),d=a("r"),f=a("cv"),g=a("fv"),k=a("gP"),j=a("d"),n=a("V"),i=a("p"),a=b.extend(g,function(){g.call(this);this.Hg=this.De=this.uf=this.oC=this.oo=this.mh=this.cc=r;this.La=this.La.bind(this)});a.prototype.Rl=function(a){if(this.LA()){var b=function(b){if(this.cc=b.length?b[0]:r){this.cc.depthNear=0.1;this.cc.depthFar=2*k.Gd;this.mh="VRFrameData"in window?new VRFrameData:r;window.addEventListener("vrdisplaypresentchange",
this.FT.bind(this),z);window.addEventListener("vrdisplayactivate",this.j7.bind(this));window.addEventListener("vrdisplaydeactivate",this.Vd.bind(this))}a(!!this.cc)}.bind(this);navigator.getVRDisplays().then(b)["catch"](function(){b([])})}else a(z)};a.prototype.oh=function(a){!this.isPresenting()&&!this.De&&this.iu(a,function(){this.LU(function(){this.nU(function(){!this.isPresenting()&&!this.De&&this.j7()}.bind(this))}.bind(this))}.bind(this))};a.prototype.Vd=function(){this.isPresenting()&&this.cc.exitPresent()};
a.prototype.La=function(a){return this.cc.requestAnimationFrame(function(b){var c=this.wx();c&&this.zu();a(b);c&&this.cc.submitFrame()}.bind(this))};a.prototype.isPresenting=function(){return!!this.cc&&this.cc.isPresenting};a.prototype.Ru=R("Hg");a.prototype.qe=function(){return f.Tea};a.prototype.LA=function(){return"getVRDisplays"in navigator&&!window.WebVRConfig};a.prototype.FT=function(){if(this.isPresenting()){n.kM(this.La,this.cc.cancelAnimationFrame.bind(this.cc));this.wx()&&this.zu()}else{n.nY();
(this.Hg||this.De)&&this.SC()}this.trigger(new c(e.aa))};a.prototype.iu=function(a,b){a||j.jE()?b():this.pJ(function(){b()})};a.prototype.j7=function(){this.De=this.mU();this.IU();this.cc.requestPresent([{source:this.De.canvas,attributes:{foveationLevel:3}}]).then(function(){this.Hg=this.De;this.De=r;this.wx()&&this.zu()}.bind(this))["catch"](function(){this.De=r;this.SC()}.bind(this))};a.prototype.IU=function(){i.Pg(this.De.canvas)};a.prototype.wx=function(){this.cc.getFrameData(this.mh);if(!this.mh.pose||
!this.mh.pose.orientation)return z;this.oo=this.cc.getEyeParameters("left");this.oC=this.cc.getEyeParameters("right");var a=this.cc.getLayers();this.uf=a&&a.length&&a[0]||r;return!this.uf?z:p};a.prototype.zu=function(){this.BD();var a=this.mh.pose;this.sc.orientation.fromArray(a&&a.orientation||l);this.sc.position.fromArray(a&&a.position||q);this.sW()};a.prototype.BD=function(){this.Lc.SD=r;this.Lc.tk=this.oo.renderWidth*2;this.Lc.ij=this.oo.renderHeight;this.Lc.eL=d.Ye()?2048/this.Lc.ij:1};a.prototype.sW=
function(){this.gg.position.fromArray(this.oo.offset);this.gg.orientation.fromArray(l);this.gg.projectionMatrix.fromArray(this.mh.leftProjectionMatrix);var a=this.uf.leftBounds&&this.uf.leftBounds.length==4?this.uf.leftBounds:o;this.gg.viewport.x=Math.round(this.Lc.tk*a[0]);this.gg.viewport.y=Math.round(this.Lc.ij*a[1]);this.gg.viewport.width=Math.round(this.Lc.tk*a[2]);this.gg.viewport.height=Math.round(this.Lc.ij*a[3]);this.jg.position.fromArray(this.oC.offset);this.jg.orientation.fromArray(l);
this.jg.projectionMatrix.fromArray(this.mh.rightProjectionMatrix);a=this.uf.rightBounds&&this.uf.rightBounds.length==4?this.uf.rightBounds:t;this.jg.viewport.x=Math.round(this.Lc.tk*a[0]);this.jg.viewport.y=Math.round(this.Lc.ij*a[1]);this.jg.viewport.width=Math.round(this.Lc.tk*a[2]);this.jg.viewport.height=Math.round(this.Lc.ij*a[3])};a.prototype.SC=function(){this.Hg=this.De=r;i.cancel()};var l=[0,0,0,1],q=[0,0,0],o=[0,0,0.5,1],t=[0.5,0,0.5,1];return a});
define("hZ","require,fb,bY,kV,r,jq,cv,fv,gP,d,V,p,iS,fs".split(","),function(a){function b(a){setTimeout(a,10)}var c=a("fb"),e=a("bY"),d=a("kV"),f=a("r"),g=a("jq"),k=a("cv"),j=a("fv"),n=a("gP"),i=a("d"),l=a("V"),q=a("p"),o=a("iS"),t=a("fs"),s=c.extend(j,function(){j.call(this);this.Au=this.DD=this.og=this.Hg=r;this.Ex="stopped";this.La=this.La.bind(this);this.rU=this.rU.bind(this);this.sU=this.sU.bind(this);this.tU=this.tU.bind(this);this.Ar=z;o.bz(function(){b(function(){this.Ar=p}.bind(this))}.bind(this))});
s.prototype.Rl=function(a){if(this.LA())this.Gqa().then(function(b){b?a(p):a(z)})["catch"](function(){a(z)});else a(z)};s.prototype.oh=function(){this.Ex=="stopped"&&this.iu(function(){this.LU(function(){this.nU(function(){setTimeout(function(){this.kqa()}.bind(this),200)}.bind(this))}.bind(this))}.bind(this))};s.prototype.kqa=function(){if(this.Ex=="stopped"){this.Ex="starting";this.trigger(new e(d.aa));l.FY(p);navigator.xr.requestSession("immersive-vr").then(function(a){this.og=a;this.og.addEventListener("end",
this.rU);this.og.addEventListener("select",this.sU);this.og.addEventListener("visibilitychange",this.tU);return this.og.requestReferenceSpace("local")}.bind(this)).then(function(a){this.DD=a;this.Hg=this.mU();return this.Hg.makeXRCompatible()}.bind(this)).then(function(){f.Va()&&q.Pg(this.Hg.canvas);var a=XRWebGLLayer.getNativeFramebufferScaleFactor(this.og),a=Math.max(a,1);f.Eba()?a=a*1:f.Ye()?a=a*1.42222:f.Va()&&(a=a*s.fy);this.Au=new XRWebGLLayer(this.og,this.Hg,{antialias:z,framebufferScaleFactor:a});
this.og.updateRenderState({baseLayer:this.Au,depthNear:0.1,depthFar:2*n.Gd});this.BD();this.Ex="started";l.kM(this.La,this.og.cancelAnimationFrame.bind(this.og));l.FY(z)}.bind(this))["catch"](function(){l.FY(z);this.i8();this.trigger(new e(d.aa))}.bind(this))}};s.prototype.Vd=function(){this.isPresenting()&&this.og.end()};s.prototype.La=function(a){return this.og.requestAnimationFrame(function(b,c){this.uW=c;this.zu();a(b)}.bind(this))};s.prototype.isPresenting=function(){return this.Ex!="stopped"};
s.prototype.qe=function(){return k.Uea};s.prototype.Ru=R("Hg");s.prototype.LA=function(){return"xr"in navigator};s.prototype.Gqa=function(){return"isSessionSupported"in navigator.xr?navigator.xr.isSessionSupported("immersive-vr"):"supportsSession"in navigator.xr?navigator.xr.supportsSession("immersive-vr"):Promise.reject()};s.prototype.iu=function(a){f.Wc()==f.un?this.Ar?a():i.jE()?b(a):this.pJ(function(){b(a)}):i.jE()?a():this.pJ(function(){a()})};s.prototype.rU=function(){l.nY();this.i8();this.trigger(new e(d.aa))};
s.prototype.sU=function(){this.trigger(new e(d.zi))};s.prototype.tU=function(){t.OY(!this.og||this.og.lya!="visible");g.Vda&&this.og.lya!="visible"&&this.Vd()};s.prototype.i8=function(){this.Au=this.DD=this.og=this.Hg=r;this.Ex="stopped";q.cancel()};s.prototype.BD=function(){this.Lc.SD=this.Au.framebuffer;this.Lc.tk=this.Au.framebufferWidth;this.Lc.ij=(f.Wc()==f.un?2:1)*this.Au.framebufferHeight;this.Lc.eL=1};s.prototype.zu=function(){var a=this.uW.getViewerPose(this.DD);if(a){var b=a&&a.transform.orientation||
u;this.sc.orientation.set(b.x,b.y,b.z,b.w);b=a&&a.transform.position||v;this.sc.position.set(b.x,b.y,b.z);for(var a=this.uW.getViewerPose(this.DD.getOffsetReferenceSpace(a.transform)),c=0;c<a.views.length;c++){var f=a.views[c],d;if(f.eye=="left")d=this.gg;else if(f.eye=="right")d=this.jg;else continue;b=f.transform.position;d.position.set(b.x,b.y,b.z);b=f.transform.orientation;d.orientation.set(b.x,b.y,b.z,b.w);d.projectionMatrix.fromArray(f.projectionMatrix);f=this.Au.getViewport(f);d.viewport.x=
f.x;d.viewport.y=f.y;d.viewport.width=f.width;d.viewport.height=f.height}var e=[];this.og.inputSources.forEach(function(a){if(a.targetRayMode=="tracked-pointer"&&a.gamepad){var b=a.gamepad;if(!b.pose)b.CX=this.uW.getPose(a.targetRaySpace,this.DD);if(!b.hand)b.Jua=a.handedness;if(!b.id)b.Kua=b.mapping+" "+a.handedness;e.push(b)}}.bind(this));this.sc.iL=e}};s.fy=Math.min(1,1280/(Math.max(screen.width,screen.height)*window.devicePixelRatio));var u={x:0,y:0,z:0,w:1},v={x:0,y:0,z:0};return s});
define("bi","require,fb,kV,eJ,r,fO,jf,ig,de,cv,kL,gL,hZ,fs".split(","),function(a){function b(a,c){if(a.length){var f=new a[0];f.Rl(function(d){d?c(f):b(a.slice(1),c)})}else c(r)}var c=a("fb"),e=a("kV"),d=a("eJ"),f=a("r"),g=a("fO"),k=a("jf"),j=a("ig"),n=a("de"),i=a("cv"),l=a("kL"),q=a("gL"),o=a("hZ"),t=a("fs"),s=z,u=[],v=new d;v.xj=l.xj;v.Iea=n;v.Sya=i;v.available=S(p);v.an=S(r);v.oL=S(r);v.isPresenting=S(z);v.oh=function(){s=p};v.Vd=function(){s=z};v.Eza=S(r);v.by=function(a){u.indexOf(a)<0&&u.push(a)};
v.aM=function(a){a=u.indexOf(a);a==-1||u.splice(a,1)};v.jM=D();v.rxa=function(a){j.fy=a;o.fy=a};v.aua=function(){return j.fy};v.qe=S(r);v.rL=S(r);v.log=function(){v.available()?v.qe()?c.log("VR: "+v.qe()):c.log("VR: not ready"):c.log("VR: not available");c.log("gyroscope: "+g.available)};var w;w=f.browser()==f.uj&&!f.Va()?[o,q,j]:f.Eba()?[o,q]:k.hn("vr_mode")=="cardboard"?[j]:[q,o,j];v.Rl=function(a){var c=setTimeout(function(){c=r;a()},250);b(w,function(b){var d=b;if(d){d.bind(e.aa,function(){v.trigger(e.aa)},
v,p);d.bind(e.zi,function(){v.trigger(e.zi)},v,p);v.available=S(p);v.oL=function(){return d.oL()};v.an=function(){return d.an()};v.isPresenting=function(){return d.isPresenting()};v.oh=function(){d.oh()};v.Vd=function(){d.Vd()};v.Ru=function(){return d.Ru()};v.by=function(a){d.by(a)};v.aM=function(a){d.aM(a)};v.jM=function(a){d.jM(a)};v.qe=function(){return d.qe()};v.rL=function(){return d.rL()};u.forEach(function(a){d.by(a)});f.Wc()==f.zv?function(){function a(){f++;c=setTimeout(b,f*1E3)}function b(){c=
r;if(f>5)window.location.reload();else if(!document.hidden&&!d.isPresenting()){d.oh(p);a()}}var c,f;document.addEventListener("visibilitychange",function(){if(!document.hidden){if(c){clearTimeout(c);c=r}f=0;a()}},z);if(c){clearTimeout(c);c=r}f=0;a()}():s&&d.oh()}else v.available=S(z);if(c){clearTimeout(c);c=r;a()}})};v.bind(e.aa,function(){t.gM(v.isPresenting())},window,p);window.addEventListener("vrdisplayblur",function(){t.OY(p)},p);window.addEventListener("vrdisplayfocus",function(){t.OY(z)},p);
return v});
define("cZ","require,kV,iz,eJ,V,bi".split(","),function(a){function b(a){this.uG=a;this.xg=r;this.YO={};for(a=0;a<this.uG.buttons.length;a++)this.YO[this.uG.buttons[a]]=z;this.XO=0;this.gr=r;this.Zt=[new THREE.Quaternion,new THREE.Quaternion];this.hh=this.Zt[0];this.Gg=[new THREE.Vector3,new THREE.Vector3];this.sa=this.Gg[0];this.tx=new THREE.Vector3;this.Xt=new THREE.Quaternion;this.H1=0}function c(a,b,c){this.Eua=a;this.buttons=b;this.Ova=c}function e(){if(!(E||x==i.td)){x=i.td;var a,c=l.isPresenting()&&
l.an();if(a=c&&c.iL&&c.iL.length?c.iL:navigator.getGamepads&&navigator.getGamepads()){for(c=0;c<u.length;c++)u[c].Qca(r);for(c=0;c<a.length;c++){var f=a[c];if(f&&(f.pose||f.CX)){var e=f.id||f.Kua,g=w[e];if(!g){var k;a:{k=e;for(var n=0;n<q.length;n++){var s=q[n];if(k.indexOf(t[s].Eua)==0){k=s;break a}}k=m}k&&u.push(g=w[e]=new b(t[k]))}g&&w[e].Qca(f)}}(a=v)&&!v.KX()&&(v=r);for(c=0;c<u.length;c++){g=u[c];if(g.KX()&&g.pressed()){v=g;break}}if(!v)for(c=0;c<u.length;c++){g=u[c];if(g.KX()){if(g.hand()==
o){v=g;break}v||(v=g)}}a!=v&&j.gv(d)}}}function d(){s.trigger(k.aa)}function f(){e()}function g(){if(l.isPresenting()){if(y){clearInterval(y);y=r}e();y=setInterval(f,500)}else if(y){clearInterval(y);y=r}}var k=a("kV"),j=a("iz"),n=a("eJ"),i=a("V"),l=a("bi"),q=["oculus go","oculus touch","xr-standard","gear vr","daydream","vive","vive focus","microsoft","unknown"],o="right",t={};t["oculus go"]=new c("Oculus Go",["trackpad","trigger"],"trigger");t["oculus touch"]=new c("Oculus Touch",["thumbstick","trigger",
"grip","abutton","bbutton","surface"],"trigger");t["xr-standard"]=new c("xr-standard",["trigger","grip","unknow_button_0","thumbstick","abutton","bbutton","unknow_button"],"trigger");t["gear vr"]=new c("Gear VR",["trackpad","trigger"],"trigger");t.daydream=new c("Daydream Controller",["trackpad","menu","system"],"trackpad");t.vive=new c("OpenVR",["trackpad","trigger","grip","menu","system"],"trigger");t["vive focus"]=new c("HTC Vive Focus",["trackpad","trigger","grip"],"trigger");t.microsoft=new c("Spatial Controller (Spatial Interaction Source)",
["thumbstick","trigger","grip","menu","thumbpad"],"trigger");t.unknown=new c("",[],m);b.prototype.Qca=function(a){if(this.xg=a){this.Eka=this.xg.hand||this.xg.Jua;if(this.xg.pose){this.gr=this.xg.pose;if(this.gr.orientation){this.hh=this.Zt[0]==this.hh?this.Zt[1]:this.Zt[0];this.hh.fromArray(this.gr.orientation)}if(this.gr.position){this.sa=this.Gg[0]==this.sa?this.Gg[1]:this.Gg[0];this.sa.fromArray(this.gr.position)}else this.sa=r}else if(this.xg.CX){this.gr=this.xg.CX.transform;this.hh=this.Zt[0]==
this.hh?this.Zt[1]:this.Zt[0];this.hh.copy(this.gr.orientation);this.sa=this.Gg[0]==this.sa?this.Gg[1]:this.Gg[0];this.sa.copy(this.gr.position)}for(var a=0,b=Math.min(this.xg.buttons.length,this.xg.buttons.length);a<b;a++)this.YO[this.uG.buttons[a]]=this.xg.buttons[a].pressed;for(a=this.XO=0;a<this.xg.buttons.length;a++)this.xg.buttons[a].pressed&&this.XO++;(a=!!this.tx!=!!this.sa||this.sa&&this.tx.x!=this.sa.x&&this.tx.y!=this.sa.y&&this.tx.z!=this.sa.z)&&(this.sa?this.tx.copy(this.sa):this.tx.set(0,
0,0,0));(b=!!this.Xt!=!!this.hh||this.hh&&(this.Xt.x!=this.hh.x||this.Xt.y!=this.hh.y||this.Xt.z!=this.hh.z||this.Xt.w!=this.hh.w))&&(this.hh?this.Xt.copy(this.hh):this.Xt.set(0,0,0));if(a||b)this.H1=i.td}};b.prototype.pulse=function(a,b){var c=this.xg&&this.xg.hapticActuators;(c=c&&c.length&&c[0])&&c.pulse&&c.pulse(a,b)};b.prototype.KX=function(){return!!this.xg};b.prototype.Tua=function(){return i.td-this.H1>500};b.prototype.hand=R("Eka");b.prototype.quaternion=R("hh");b.prototype.position=R("sa");
b.prototype.pressed=function(a){a||(a=this.uG.Ova);return!a?this.XO>0:this.YO[a]};var s=new n;s.all=function(){e();return u};s.PL=function(){e();return v};s.na="left";s.Ja=o;var u=[],v=r,w={},x=m,y=r,E=URL.ph("disable-controller",z);l.bind(k.aa,g);g();return s});
define("cA",["require","ff","a"],function(a){function b(a,b){this.Md=a||new c(0,0,0);this.pg=b||new c(1,0,0)}var c=a("ff"),e=a("a");b.prototype.clone=function(){return new b(this.Md.clone(),this.pg.clone())};b.prototype.apply=function(a){a.cy(this.Md);a.cy(this.pg)};b.prototype.Saa=function(){return e.Lr(this.Md,this.pg)};return b});
define("gh",["cA","ff"],function(a,b){function c(a,b,c){this.W=a||100;this.ea=b||100;this.ba=c||Math.PI;this.KT=m;this.jm=p}c.prototype.lv=function(a){this.ba!=a&&(this.ba=a,this.jm=p)};c.prototype.fp=R("ba");c.prototype.OE=function(a){this.W!=a&&(this.W=a,this.jm=p)};c.prototype.Xc=R("W");c.prototype.Sca=function(a){this.ea!=a&&(this.ea=a,this.jm=p)};c.prototype.Kd=R("ea");c.prototype.project=function(a){if(0!=a.z){this.g$();var b=1/a.z,c=this.KT*b;a.x=0.5*this.W-a.x*c;a.y=0.5*this.ea-a.y*c;a.z=
b}};c.prototype.unproject=function(c){this.g$();return new a(new b(0,0,0),new b(0.5*this.W-c.x,0.5*this.ea-c.y,this.KT))};c.prototype.g$=function(){this.jm&&(this.KT=0.5*this.W/Math.tan(0.5*this.ba),this.jm=z)};return c});
define("lb",["require"],function(){function a(){this.jd=this.pitch=this.ha=0;this.vf=this.Yc=90;this.JD=this.SK=this.height=this.width=100;this.Og=1;this.Lb=z;this.qi=0;this.hL=this.MK=this.TL=z;this.Wu=this.vE=p;this.Ec=this.QD=this.PD=this.re=r;this.enabled=z;this.td=0;this.PE=m}a.prototype.clone=function(){var b=new a;b.ha=this.ha;b.pitch=this.pitch;b.jd=this.jd;b.Yc=this.Yc;b.vf=this.vf;b.width=this.width;b.height=this.height;b.SK=this.SK;b.JD=this.JD;b.Og=this.Og;b.Lb=this.Lb;b.qi=this.qi;b.TL=
this.TL;b.hL=this.hL;b.MK=this.MK;b.vE=this.vE;b.Wu=this.Wu;b.re=this.re;b.PD=this.PD;b.QD=this.QD;b.Ec=this.Ec;b.enabled=this.enabled;b.td=this.td;b.PE=this.PE;return b};return a});
define("cP","require,jquery.mod,dl,kV,jJ,V,dG".split(","),function(a){function b(a){this.QY=a;this.element=document.createElement("div");this.WY=document.createElement("span");this.element.appendChild(this.WY);this.WY.innerHTML=a.text.split("<br>").join("\n").split("\n").map(e).join("<br>");this.UK=z}function c(a){this.D=a;this.gD=f.throttle(this.gD.bind(this),100);this.hD=f.throttle(this.hD.bind(this),100);this.J=document.createElement("div");this.J.style.position="absolute";this.J.style.left=0;
this.J.style.top=0;this.J.style.right=0;this.J.style.bottom=0;this.J.style.zIndex=1;this.J.style.cursor="inherit";this.J.style.display="none";this.cO=d(this.J);this.Vh=document.createElement("div");this.Vh.style.position="absolute";this.Vh.style.left=0;this.Vh.style.right=0;this.Vh.style.zIndex=1;this.Vh.style.cursor="inherit";this.J.appendChild(this.Vh);this.tr=r;this.Ox=[];this.of=[];this.jT={};this.Zx=k.gb;this.D.bind(g.G("subtitlesEnabled"),this.EV,this);c.s_.forEach(function(a){this.D.bind(g.G(a),
this.gD,this)}.bind(this));c.t_.forEach(function(a){this.D.bind(g.G(a),this.hD,this)}.bind(this));this.EV();this.gD();this.hD()}function e(a){i.innerHTML=a;return i.innerText}var d=a("jquery.mod"),f=a("dl"),g=a("kV"),k=a("jJ"),j=a("V"),n=a("dG");c.prototype.clear=function(){this.MY(r);if(this.D){this.D.unbind(g.G("subtitlesEnabled"),this.EV,this);c.s_.forEach(function(a){this.D.unbind(g.G(a),this.gD,this)}.bind(this));c.t_.forEach(function(a){this.D.unbind(g.G(a),this.hD,this)}.bind(this));this.D=
r}};c.prototype.Kb=R("cO");c.prototype.MY=function(a){if(this.tr!=a){this.tr&&this.tr.unbind(g.G("activeSubtitles"),this.p5,this,p);(this.tr=a)&&this.tr.bind(g.G("activeSubtitles"),this.p5,this,p)}};c.prototype.p5=function(){this.Ipa(this.tr&&this.tr.get("activeSubtitles")||[])};c.prototype.EV=function(){this.V=this.D.get("subtitlesEnabled");this.TV()};c.prototype.gD=function(){this.Zx=this.vA("subtitlesVerticalAlign",[k.hb,k.nc,k.gb],k.gb);this.Vh.style["text-align"]=this.vA("subtitlesHorizontalAlign",
[k.na,k.Ja,k.Gc],k.Gc);this.Vh.style.bottom=this.Zx==k.gb?this.Zg("subtitlesBottom",0):"";this.Vh.style.top=this.Zx==k.hb?this.Zg("subtitlesTop",0):this.Zx==k.nc?"50%":"";this.Vh.style.transform=this.Zx==k.nc?"translate(0, -50%)":"";this.TV()};c.prototype.hD=function(){var a={};a["background-color"]=this.kR("subtitlesBackgroundColor","subtitlesBackgroundOpacity");a.border=[this.Zg("subtitlesBorderSize"),"solid",this.Ef("subtitlesBorderColor")].join(" ");a["box-shadow"]=this.Ef("subtitlesShadow",z)?
[this.Zg("subtitlesShadowHorizontalLength"),this.Zg("subtitlesShadowVerticalLength"),this.Zg("subtitlesShadowBlurRadius"),this.kR("subtitlesShadowColor","subtitlesShadowOpacity","#000000",0)].join(" "):"";a.display="inline-block";a["font-family"]=n.Kr(this.Ef("subtitlesFontFamily"));a["font-size"]=this.Zg("subtitlesFontSize");a.color=this.Ef("subtitlesFontColor");a["font-weight"]=this.vA("subtitlesFontWeight",["bold","bolder","lighter","100","200","300","400","500","600","700","800","900","normal"],
"normal");a["font-style"]=this.vA("subtitlesFontStyle",["italic","normal"],"normal");a["margin-bottom"]=this.Zg("subtitlesGap");a.opacity=this.Ef("subtitlesOpacity");a["padding-top"]=this.Zg("subtitlesPaddingTop");a["padding-bottom"]=this.Zg("subtitlesPaddingBottom");a["padding-left"]=this.Zg("subtitlesPaddingLeft");a["padding-right"]=this.Zg("subtitlesPaddingRight");a.position="relative";a["text-align"]=this.vA("subtitlesHorizontalAlign",["left","right","center"],"center");a["text-decoration"]=this.Ef("subtitlesTextDecoration",
["underline","overline","line-through","none"],"none");a["text-shadow"]=[this.Zg("subtitlesTextShadowHorizontalLength"),this.Zg("subtitlesTextShadowVerticalLength"),this.Zg("subtitlesTextShadowBlurRadius"),this.kR("subtitlesTextShadowColor","subtitlesTextShadowOpacity","#000000",0)].join(" ");this.jT=a;this.$fa()};c.prototype.Ipa=function(a){this.Ox=a;this.TV()};c.prototype.TV=function(){for(var a=this.V?this.Ox:[],c=this.of.length-1;c>=0;c--){var f=this.of[c];if(a.indexOf(f.QY)>=0)break;this.Vh.removeChild(f.element)}for(var d=
[],e=z;c>=0;c--){f=this.of[c];if(!f.UK&&a.indexOf(f.QY)<0){f.UK=p;f.element.style.visibility="hidden";e=p}d.splice(0,0,f)}e&&j.La(this.Z1,this);this.of=d;var g=this.of.filter(function(a){return!a.UK}).map(function(a){return a.QY});a.filter(function(a){return g.indexOf(a)<0}).forEach(function(a){a=new b(a);this.b1(a);this.Zx==k.gb&&this.of.length>0?this.Vh.insertBefore(a.element,this.of[this.of.length-1].element):this.Vh.appendChild(a.element);this.of.push(a)}.bind(this));this.J.style.display=this.of.length>
0?"block":"none"};c.prototype.Z1=function(a){for(var b=z,a=Math.round(200*a/1E3),c=0;c<this.of.length;c++){var f=this.of[c];if(f.UK){b=p;if(a>=f.element.clientHeight){a=a-f.element.clientHeight;this.Vh.removeChild(f.element);this.of.splice(c,1);c--}else{f.element.style.height=f.element.clientHeight-a+"px";break}}}b&&j.La(this.Z1,this)};c.prototype.$fa=function(){this.of.forEach(this.b1.bind(this))};c.prototype.b1=function(a){for(var b in this.jT)a.WY.style[b]=this.jT[b]};c.prototype.Ef=function(a,
b){return this.D.get(a,b)};c.prototype.Zg=function(a,b){var c=this.D.get(a,b);isNaN(c)||(c=Math.round(c)+"px");return c};c.prototype.vA=function(a,b,c){a=this.D.get(a);return b.indexOf(a)<0?c:a};c.prototype.kR=function(a,b,c,f){a=this.D.get(a,c);b=this.D.get(b,f);return"rgba("+parseInt("0x"+a.substr(1,2))+", "+parseInt("0x"+a.substr(3,2))+", "+parseInt("0x"+a.substr(5,2))+", "+b+")"};c.s_=["subtitlesHorizontalAlign","subtitlesVerticalAlign","subtitlesTop","subtitlesBottom"];c.t_=["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 i=document.createElement("div");return c});
define("hp",["require","fb","cP"],function(a){var b=a("fb"),c=a("cP"),a=b.extend(c,function(a,b){c.call(this,a);this.Nb=b;this.Nb.bind(EventName.G("panorama"),this.SS,this);this.SS()});a.prototype.clear=function(){this.Nb&&(this.Nb.unbind(EventName.G("panorama"),this.SS,this),this.Nb=r);c.prototype.clear.call(this)};a.prototype.SS=function(){this.MY(this.Nb.get("panorama"))};return a});
define("ih",["require","r"],function(a){var b=a("r"),a={},c=180/Math.PI,e=Math.PI/180;a.vk=function(a,b,c){return this.Du(a,b,c)};a.sn=function(a,b,c){return this.Du(a,c,b)};a.Du=function(a,b,g){return 2*Math.atan(g*Math.tan(0.5*a*e)/b)*c};a.Fza=function(a){return b.browser()==b.ez?Math.max(a,20):a};return a});define("cR",["require"],function(){return{tn:0,na:1,Ja:2}});
define("hy",["require"],function(){THREE.CopyShader={uniforms:{tDiffuse:{value:r},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}"};return THREE.CopyShader});
define("gG",["require"],function(){THREE.Pass=function(){this.XX=this.enabled=p;this.sp=this.clear=z};Object.assign(THREE.Pass.prototype,{setSize:D(),render:function(){console.error("THREE.Pass: .render() must be implemented in derived pass.")}});return THREE.Pass});
define("hV",["require","gG"],function(a){a("gG");THREE.Pass.FullScreenQuad=function(){function a(b){this.YH=new THREE.Mesh(e,b)}var c=new THREE.OrthographicCamera(-1,1,1,-1,0,1),e=new THREE.PlaneBufferGeometry(2,2);Object.defineProperty(a.prototype,"material",{get:function(){return this.YH.material},set:function(a){this.YH.material=a}});Object.assign(a.prototype,{dispose:function(){this.YH.geometry.dispose()},render:function(a){a.render(this.YH,c)}});return a}();return THREE.Pass.FullScreenQuad});
define("fG",["require","gG","hV"],function(a){a("gG");a("hV");THREE.ShaderPass=function(a,c){THREE.Pass.call(this);this.QE=c!==m?c:"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.gL=new THREE.Pass.FullScreenQuad(this.material)};THREE.ShaderPass.prototype=
Object.assign(Object.create(THREE.Pass.prototype),{constructor:THREE.ShaderPass,render:function(a,c,e){this.uniforms[this.QE]&&(this.uniforms[this.QE].value=e.texture);this.gL.material=this.material;this.sp?a.setRenderTarget(r):(a.setRenderTarget(c),this.clear&&a.clear(a.jza,a.kza,a.lza));this.gL.render(a)}});return THREE.ShaderPass});
define("cL",["require","hy","fG"],function(a){a("hy");a("fG");THREE.EffectComposer=function(a,c){this.wf=a;if(c===m){var e={minFilter:THREE.LinearFilter,magFilter:THREE.LinearFilter,format:THREE.RGBAFormat,stencilBuffer:z},d=a.getSize(new THREE.Vector2);this.rl=a.getPixelRatio();this.W=d.width;this.ea=d.height;c=new THREE.WebGLRenderTarget(this.W*this.rl,this.ea*this.rl,e);c.texture.name="EffectComposer.rt1"}else this.rl=1,this.W=c.width,this.ea=c.height;this.Qy=c;this.Ry=c.clone();this.Ry.texture.name=
"EffectComposer.rt2";this.YE=this.Qy;this.xE=this.Ry;this.sp=p;this.Tr=[];this.Tsa=new THREE.ShaderPass(THREE.CopyShader);this.Qsa=new THREE.Clock};Object.assign(THREE.EffectComposer.prototype,{swapBuffers:function(){var a=this.xE;this.xE=this.YE;this.YE=a},addPass:function(a){this.Tr.push(a);a.setSize(this.W*this.rl,this.ea*this.rl)},insertPass:function(a,c){this.Tr.splice(c,0,a)},Vua:function(a){for(a+=1;a<this.Tr.length;a++)if(this.Tr[a].enabled)return z;return p},render:function(a){a===m&&(a=
this.Qsa.getDelta());var c=this.wf.getRenderTarget(),e=z,d,f,g=this.Tr.length;for(f=0;f<g;f++)if(d=this.Tr[f],d.enabled!==z){d.sp=this.sp&&this.Vua(f);d.render(this.wf,this.YE,this.xE,a,e);if(d.XX){if(e){var k=this.wf.getContext(),j=this.wf.state.buffers.stencil;j.setFunc(k.NOTEQUAL,1,4294967295);this.Tsa.render(this.wf,this.YE,this.xE,a);j.setFunc(k.EQUAL,1,4294967295)}this.swapBuffers()}THREE.MaskPass!==m&&(d instanceof THREE.MaskPass?e=p:d instanceof THREE.ClearMaskPass&&(e=z))}this.wf.setRenderTarget(c)},
reset:function(a){a===m&&(a=this.wf.getSize(new THREE.Vector2),this.rl=this.wf.getPixelRatio(),this.W=a.width,this.ea=a.height,a=this.Qy.clone(),a.setSize(this.W*this.rl,this.ea*this.rl));this.Qy.dispose();this.Ry.dispose();this.Qy=a;this.Ry=a.clone();this.YE=this.Qy;this.xE=this.Ry},setSize:function(a,c){this.W=a;this.ea=c;var e=this.W*this.rl,d=this.ea*this.rl;this.Qy.setSize(e,d);this.Ry.setSize(e,d);for(var f=0;f<this.Tr.length;f++)this.Tr[f].setSize(e,d)},setPixelRatio:function(a){this.rl=a;
this.setSize(this.W,this.ea)}});return THREE.EffectComposer});
define("w",["require"],function(){THREE.jZ={uniforms:{tDiffuse1:{value:r},tDiffuse2:{value:r},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}"};return THREE.jZ});
define("iw",["require","gG"],function(a){a("gG");THREE.CustomRenderPass=function(a){THREE.Pass.call(this);this.fwa=a;this.Ec=this.nj=r;this.clear=p;this.XX=this.clearDepth=z};THREE.CustomRenderPass.prototype=Object.assign(Object.create(THREE.Pass.prototype),{constructor:THREE.CustomRenderPass,render:function(a,c,e){c=a.autoClear;a.autoClear=z;this.fwa(a,this.nj,this.Ec,this.sp?r:e,this.clear);a.autoClear=c}});return THREE.CustomRenderPass});
define("iE",["require","gG","hy","hV"],function(a){a("gG");a("hy");a("hV");THREE.SavePass=function(a){THREE.Pass.call(this);var c=THREE.CopyShader;this.QE="tDiffuse";this.uniforms=THREE.UniformsUtils.clone(c.uniforms);this.material=new THREE.ShaderMaterial({uniforms:this.uniforms,vertexShader:c.vertexShader,fragmentShader:c.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:z}),this.renderTarget.texture.name="SavePass.rt");this.XX=z;this.gL=new THREE.Pass.FullScreenQuad(this.material)};THREE.SavePass.prototype=Object.assign(Object.create(THREE.Pass.prototype),{constructor:THREE.SavePass,render:function(a,c,e){this.uniforms[this.QE]&&(this.uniforms[this.QE].value=e.texture);a.setRenderTarget(this.renderTarget);this.clear&&a.clear();this.gL.render(a)}});return THREE.SavePass});
define("cz","require,cL,w,iw,hy,iE,fG".split(","),function(a){function b(a,b){this.g=a;this.xx=b;this.ul=new THREE.CustomRenderPass(b);this.ul.sp=z;this.zJ=new THREE.SavePass;this.zJ.enabled=p;this.Wp=new THREE.ShaderPass(THREE.jZ,"tDiffuse1");this.Wp.uniforms.tDiffuse2.value=this.zJ.renderTarget.texture;this.Wp.uniforms.mixRatio.value=0.8;this.Wp.sp=p;this.Wp.enabled=p;this.M6=new THREE.ShaderPass(THREE.CopyShader);this.M6.sp=p;this.Fi=new THREE.EffectComposer(a);this.Fi.addPass(this.ul);this.Fi.addPass(this.Wp);
this.Fi.addPass(this.zJ);this.Fi.addPass(this.M6);this.dq=this.fq=m}a("cL");a("w");a("iw");a("hy");a("iE");a("fG");var c=new THREE.Vector2;b.prototype.destroy=function(){this.Fi=this.Wp=this.zJ=this.ul=this.xx=this.g=r};b.prototype.start=function(){this.Wp.uniforms.mixRatio.value=0;this.IQ=3};b.prototype.render=function(a,b){this.g.getSize(c);if(this.fq!==c.width||this.dq!==c.height){this.fq=c.width;this.dq=c.height;this.Fi.setSize(this.fq,this.dq)}this.ul.nj=a;this.ul.Ec=b;if(this.IQ>0){this.IQ--;
if(this.IQ===0)this.Wp.uniforms.mixRatio.value=0.65}this.Fi.render()};return b});
define("ji",["require"],function(){THREE.KZ={uniforms:{tDiffuse:{value:r},resolution:{value:new THREE.Vector2(1/1024,1/512)}},vertexShader:"varying vec2 vUv;\nvoid main() {\n\tvUv = uv;\n\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}",fragmentShader:'precision highp float;\n\nuniform sampler2D tDiffuse;\n\nuniform vec2 resolution;\n\nvarying vec2 vUv;\n\n// FXAA 3.11 implementation by NVIDIA, ported to WebGL by Agost Biro (biro@archilogic.com)\n\n//----------------------------------------------------------------------------------\n// File:        es3-keplerFXAAassetsshaders/FXAA_DefaultES.frag\n// SDK Version: v3.00\n// Email:       gameworks@nvidia.com\n// Site:        http://developer.nvidia.com/\n//\n// Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved.\n//\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions\n// are met:\n//  * Redistributions of source code must retain the above copyright\n//    notice, this list of conditions and the following disclaimer.\n//  * Redistributions in binary form must reproduce the above copyright\n//    notice, this list of conditions and the following disclaimer in the\n//    documentation and/or other materials provided with the distribution.\n//  * Neither the name of NVIDIA CORPORATION nor the names of its\n//    contributors may be used to endorse or promote products derived\n//    from this software without specific prior written permission.\n//\n// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS\'\' AND ANY\n// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n// PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR\n// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\n// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n//\n//----------------------------------------------------------------------------------\n\n#define FXAA_PC 1\n#define FXAA_GLSL_100 1\n#define FXAA_QUALITY_PRESET 12\n\n#define FXAA_GREEN_AS_LUMA 1\n\n/*--------------------------------------------------------------------------*/\n#ifndef FXAA_PC_CONSOLE\n    //\n    // The console algorithm for PC is included\n    // for developers targeting really low spec machines.\n    // Likely better to just run FXAA_PC, and use a really low preset.\n    //\n    #define FXAA_PC_CONSOLE 0\n#endif\n/*--------------------------------------------------------------------------*/\n#ifndef FXAA_GLSL_120\n    #define FXAA_GLSL_120 0\n#endif\n/*--------------------------------------------------------------------------*/\n#ifndef FXAA_GLSL_130\n    #define FXAA_GLSL_130 0\n#endif\n/*--------------------------------------------------------------------------*/\n#ifndef FXAA_HLSL_3\n    #define FXAA_HLSL_3 0\n#endif\n/*--------------------------------------------------------------------------*/\n#ifndef FXAA_HLSL_4\n    #define FXAA_HLSL_4 0\n#endif\n/*--------------------------------------------------------------------------*/\n#ifndef FXAA_HLSL_5\n    #define FXAA_HLSL_5 0\n#endif\n/*==========================================================================*/\n#ifndef FXAA_GREEN_AS_LUMA\n    //\n    // For those using non-linear color,\n    // and either not able to get luma in alpha, or not wanting to,\n    // this enables FXAA to run using green as a proxy for luma.\n    // So with this enabled, no need to pack luma in alpha.\n    //\n    // This will turn off AA on anything which lacks some amount of green.\n    // Pure red and blue or combination of only R and B, will get no AA.\n    //\n    // Might want to lower the settings for both,\n    //    fxaaConsoleEdgeThresholdMin\n    //    fxaaQualityEdgeThresholdMin\n    // In order to insure AA does not get turned off on colors\n    // which contain a minor amount of green.\n    //\n    // 1 = On.\n    // 0 = Off.\n    //\n    #define FXAA_GREEN_AS_LUMA 0\n#endif\n/*--------------------------------------------------------------------------*/\n#ifndef FXAA_EARLY_EXIT\n    //\n    // Controls algorithm\'s early exit path.\n    // On PS3 turning this ON adds 2 cycles to the shader.\n    // On 360 turning this OFF adds 10ths of a millisecond to the shader.\n    // Turning this off on console will result in a more blurry image.\n    // So this defaults to on.\n    //\n    // 1 = On.\n    // 0 = Off.\n    //\n    #define FXAA_EARLY_EXIT 1\n#endif\n/*--------------------------------------------------------------------------*/\n#ifndef FXAA_DISCARD\n    //\n    // Only valid for PC OpenGL currently.\n    // Probably will not work when FXAA_GREEN_AS_LUMA = 1.\n    //\n    // 1 = Use discard on pixels which don\'t need AA.\n    //     For APIs which enable concurrent TEX+ROP from same surface.\n    // 0 = Return unchanged color on pixels which don\'t need AA.\n    //\n    #define FXAA_DISCARD 0\n#endif\n/*--------------------------------------------------------------------------*/\n#ifndef FXAA_FAST_PIXEL_OFFSET\n    //\n    // Used for GLSL 120 only.\n    //\n    // 1 = GL API supports fast pixel offsets\n    // 0 = do not use fast pixel offsets\n    //\n    #ifdef GL_EXT_gpu_shader4\n        #define FXAA_FAST_PIXEL_OFFSET 1\n    #endif\n    #ifdef GL_NV_gpu_shader5\n        #define FXAA_FAST_PIXEL_OFFSET 1\n    #endif\n    #ifdef GL_ARB_gpu_shader5\n        #define FXAA_FAST_PIXEL_OFFSET 1\n    #endif\n    #ifndef FXAA_FAST_PIXEL_OFFSET\n        #define FXAA_FAST_PIXEL_OFFSET 0\n    #endif\n#endif\n/*--------------------------------------------------------------------------*/\n#ifndef FXAA_GATHER4_ALPHA\n    //\n    // 1 = API supports gather4 on alpha channel.\n    // 0 = API does not support gather4 on alpha channel.\n    //\n    #if (FXAA_HLSL_5 == 1)\n        #define FXAA_GATHER4_ALPHA 1\n    #endif\n    #ifdef GL_ARB_gpu_shader5\n        #define FXAA_GATHER4_ALPHA 1\n    #endif\n    #ifdef GL_NV_gpu_shader5\n        #define FXAA_GATHER4_ALPHA 1\n    #endif\n    #ifndef FXAA_GATHER4_ALPHA\n        #define FXAA_GATHER4_ALPHA 0\n    #endif\n#endif\n\n\n/*============================================================================\n                        FXAA QUALITY - TUNING KNOBS\n------------------------------------------------------------------------------\nNOTE the other tuning knobs are now in the shader function inputs!\n============================================================================*/\n#ifndef FXAA_QUALITY_PRESET\n    //\n    // Choose the quality preset.\n    // This needs to be compiled into the shader as it effects code.\n    // Best option to include multiple presets is to\n    // in each shader define the preset, then include this file.\n    //\n    // OPTIONS\n    // -----------------------------------------------------------------------\n    // 10 to 15 - default medium dither (10=fastest, 15=highest quality)\n    // 20 to 29 - less dither, more expensive (20=fastest, 29=highest quality)\n    // 39       - no dither, very expensive\n    //\n    // NOTES\n    // -----------------------------------------------------------------------\n    // 12 = slightly faster then FXAA 3.9 and higher edge quality (default)\n    // 13 = about same speed as FXAA 3.9 and better than 12\n    // 23 = closest to FXAA 3.9 visually and performance wise\n    //  _ = the lowest digit is directly related to performance\n    // _  = the highest digit is directly related to style\n    //\n    #define FXAA_QUALITY_PRESET 12\n#endif\n\n\n/*============================================================================\n\n                           FXAA QUALITY - PRESETS\n\n============================================================================*/\n\n/*============================================================================\n                     FXAA QUALITY - MEDIUM DITHER PRESETS\n============================================================================*/\n#if (FXAA_QUALITY_PRESET == 10)\n    #define FXAA_QUALITY_PS 3\n    #define FXAA_QUALITY_P0 1.5\n    #define FXAA_QUALITY_P1 3.0\n    #define FXAA_QUALITY_P2 12.0\n#endif\n/*--------------------------------------------------------------------------*/\n#if (FXAA_QUALITY_PRESET == 11)\n    #define FXAA_QUALITY_PS 4\n    #define FXAA_QUALITY_P0 1.0\n    #define FXAA_QUALITY_P1 1.5\n    #define FXAA_QUALITY_P2 3.0\n    #define FXAA_QUALITY_P3 12.0\n#endif\n/*--------------------------------------------------------------------------*/\n#if (FXAA_QUALITY_PRESET == 12)\n    #define FXAA_QUALITY_PS 5\n    #define FXAA_QUALITY_P0 1.0\n    #define FXAA_QUALITY_P1 1.5\n    #define FXAA_QUALITY_P2 2.0\n    #define FXAA_QUALITY_P3 4.0\n    #define FXAA_QUALITY_P4 12.0\n#endif\n/*--------------------------------------------------------------------------*/\n#if (FXAA_QUALITY_PRESET == 13)\n    #define FXAA_QUALITY_PS 6\n    #define FXAA_QUALITY_P0 1.0\n    #define FXAA_QUALITY_P1 1.5\n    #define FXAA_QUALITY_P2 2.0\n    #define FXAA_QUALITY_P3 2.0\n    #define FXAA_QUALITY_P4 4.0\n    #define FXAA_QUALITY_P5 12.0\n#endif\n/*--------------------------------------------------------------------------*/\n#if (FXAA_QUALITY_PRESET == 14)\n    #define FXAA_QUALITY_PS 7\n    #define FXAA_QUALITY_P0 1.0\n    #define FXAA_QUALITY_P1 1.5\n    #define FXAA_QUALITY_P2 2.0\n    #define FXAA_QUALITY_P3 2.0\n    #define FXAA_QUALITY_P4 2.0\n    #define FXAA_QUALITY_P5 4.0\n    #define FXAA_QUALITY_P6 12.0\n#endif\n/*--------------------------------------------------------------------------*/\n#if (FXAA_QUALITY_PRESET == 15)\n    #define FXAA_QUALITY_PS 8\n    #define FXAA_QUALITY_P0 1.0\n    #define FXAA_QUALITY_P1 1.5\n    #define FXAA_QUALITY_P2 2.0\n    #define FXAA_QUALITY_P3 2.0\n    #define FXAA_QUALITY_P4 2.0\n    #define FXAA_QUALITY_P5 2.0\n    #define FXAA_QUALITY_P6 4.0\n    #define FXAA_QUALITY_P7 12.0\n#endif\n\n/*============================================================================\n                     FXAA QUALITY - LOW DITHER PRESETS\n============================================================================*/\n#if (FXAA_QUALITY_PRESET == 20)\n    #define FXAA_QUALITY_PS 3\n    #define FXAA_QUALITY_P0 1.5\n    #define FXAA_QUALITY_P1 2.0\n    #define FXAA_QUALITY_P2 8.0\n#endif\n/*--------------------------------------------------------------------------*/\n#if (FXAA_QUALITY_PRESET == 21)\n    #define FXAA_QUALITY_PS 4\n    #define FXAA_QUALITY_P0 1.0\n    #define FXAA_QUALITY_P1 1.5\n    #define FXAA_QUALITY_P2 2.0\n    #define FXAA_QUALITY_P3 8.0\n#endif\n/*--------------------------------------------------------------------------*/\n#if (FXAA_QUALITY_PRESET == 22)\n    #define FXAA_QUALITY_PS 5\n    #define FXAA_QUALITY_P0 1.0\n    #define FXAA_QUALITY_P1 1.5\n    #define FXAA_QUALITY_P2 2.0\n    #define FXAA_QUALITY_P3 2.0\n    #define FXAA_QUALITY_P4 8.0\n#endif\n/*--------------------------------------------------------------------------*/\n#if (FXAA_QUALITY_PRESET == 23)\n    #define FXAA_QUALITY_PS 6\n    #define FXAA_QUALITY_P0 1.0\n    #define FXAA_QUALITY_P1 1.5\n    #define FXAA_QUALITY_P2 2.0\n    #define FXAA_QUALITY_P3 2.0\n    #define FXAA_QUALITY_P4 2.0\n    #define FXAA_QUALITY_P5 8.0\n#endif\n/*--------------------------------------------------------------------------*/\n#if (FXAA_QUALITY_PRESET == 24)\n    #define FXAA_QUALITY_PS 7\n    #define FXAA_QUALITY_P0 1.0\n    #define FXAA_QUALITY_P1 1.5\n    #define FXAA_QUALITY_P2 2.0\n    #define FXAA_QUALITY_P3 2.0\n    #define FXAA_QUALITY_P4 2.0\n    #define FXAA_QUALITY_P5 3.0\n    #define FXAA_QUALITY_P6 8.0\n#endif\n/*--------------------------------------------------------------------------*/\n#if (FXAA_QUALITY_PRESET == 25)\n    #define FXAA_QUALITY_PS 8\n    #define FXAA_QUALITY_P0 1.0\n    #define FXAA_QUALITY_P1 1.5\n    #define FXAA_QUALITY_P2 2.0\n    #define FXAA_QUALITY_P3 2.0\n    #define FXAA_QUALITY_P4 2.0\n    #define FXAA_QUALITY_P5 2.0\n    #define FXAA_QUALITY_P6 4.0\n    #define FXAA_QUALITY_P7 8.0\n#endif\n/*--------------------------------------------------------------------------*/\n#if (FXAA_QUALITY_PRESET == 26)\n    #define FXAA_QUALITY_PS 9\n    #define FXAA_QUALITY_P0 1.0\n    #define FXAA_QUALITY_P1 1.5\n    #define FXAA_QUALITY_P2 2.0\n    #define FXAA_QUALITY_P3 2.0\n    #define FXAA_QUALITY_P4 2.0\n    #define FXAA_QUALITY_P5 2.0\n    #define FXAA_QUALITY_P6 2.0\n    #define FXAA_QUALITY_P7 4.0\n    #define FXAA_QUALITY_P8 8.0\n#endif\n/*--------------------------------------------------------------------------*/\n#if (FXAA_QUALITY_PRESET == 27)\n    #define FXAA_QUALITY_PS 10\n    #define FXAA_QUALITY_P0 1.0\n    #define FXAA_QUALITY_P1 1.5\n    #define FXAA_QUALITY_P2 2.0\n    #define FXAA_QUALITY_P3 2.0\n    #define FXAA_QUALITY_P4 2.0\n    #define FXAA_QUALITY_P5 2.0\n    #define FXAA_QUALITY_P6 2.0\n    #define FXAA_QUALITY_P7 2.0\n    #define FXAA_QUALITY_P8 4.0\n    #define FXAA_QUALITY_P9 8.0\n#endif\n/*--------------------------------------------------------------------------*/\n#if (FXAA_QUALITY_PRESET == 28)\n    #define FXAA_QUALITY_PS 11\n    #define FXAA_QUALITY_P0 1.0\n    #define FXAA_QUALITY_P1 1.5\n    #define FXAA_QUALITY_P2 2.0\n    #define FXAA_QUALITY_P3 2.0\n    #define FXAA_QUALITY_P4 2.0\n    #define FXAA_QUALITY_P5 2.0\n    #define FXAA_QUALITY_P6 2.0\n    #define FXAA_QUALITY_P7 2.0\n    #define FXAA_QUALITY_P8 2.0\n    #define FXAA_QUALITY_P9 4.0\n    #define FXAA_QUALITY_P10 8.0\n#endif\n/*--------------------------------------------------------------------------*/\n#if (FXAA_QUALITY_PRESET == 29)\n    #define FXAA_QUALITY_PS 12\n    #define FXAA_QUALITY_P0 1.0\n    #define FXAA_QUALITY_P1 1.5\n    #define FXAA_QUALITY_P2 2.0\n    #define FXAA_QUALITY_P3 2.0\n    #define FXAA_QUALITY_P4 2.0\n    #define FXAA_QUALITY_P5 2.0\n    #define FXAA_QUALITY_P6 2.0\n    #define FXAA_QUALITY_P7 2.0\n    #define FXAA_QUALITY_P8 2.0\n    #define FXAA_QUALITY_P9 2.0\n    #define FXAA_QUALITY_P10 4.0\n    #define FXAA_QUALITY_P11 8.0\n#endif\n\n/*============================================================================\n                     FXAA QUALITY - EXTREME QUALITY\n============================================================================*/\n#if (FXAA_QUALITY_PRESET == 39)\n    #define FXAA_QUALITY_PS 12\n    #define FXAA_QUALITY_P0 1.0\n    #define FXAA_QUALITY_P1 1.0\n    #define FXAA_QUALITY_P2 1.0\n    #define FXAA_QUALITY_P3 1.0\n    #define FXAA_QUALITY_P4 1.0\n    #define FXAA_QUALITY_P5 1.5\n    #define FXAA_QUALITY_P6 2.0\n    #define FXAA_QUALITY_P7 2.0\n    #define FXAA_QUALITY_P8 2.0\n    #define FXAA_QUALITY_P9 2.0\n    #define FXAA_QUALITY_P10 4.0\n    #define FXAA_QUALITY_P11 8.0\n#endif\n\n\n\n/*============================================================================\n\n                                API PORTING\n\n============================================================================*/\n#if (FXAA_GLSL_100 == 1) || (FXAA_GLSL_120 == 1) || (FXAA_GLSL_130 == 1)\n    #define FxaaBool bool\n    #define FxaaDiscard discard\n    #define FxaaFloat float\n    #define FxaaFloat2 vec2\n    #define FxaaFloat3 vec3\n    #define FxaaFloat4 vec4\n    #define FxaaHalf float\n    #define FxaaHalf2 vec2\n    #define FxaaHalf3 vec3\n    #define FxaaHalf4 vec4\n    #define FxaaInt2 ivec2\n    #define FxaaSat(x) clamp(x, 0.0, 1.0)\n    #define FxaaTex sampler2D\n#else\n    #define FxaaBool bool\n    #define FxaaDiscard clip(-1)\n    #define FxaaFloat float\n    #define FxaaFloat2 float2\n    #define FxaaFloat3 float3\n    #define FxaaFloat4 float4\n    #define FxaaHalf half\n    #define FxaaHalf2 half2\n    #define FxaaHalf3 half3\n    #define FxaaHalf4 half4\n    #define FxaaSat(x) saturate(x)\n#endif\n/*--------------------------------------------------------------------------*/\n#if (FXAA_GLSL_100 == 1)\n  #define FxaaTexTop(t, p) texture2D(t, p, 0.0)\n  #define FxaaTexOff(t, p, o, r) texture2D(t, p + (o * r), 0.0)\n#endif\n/*--------------------------------------------------------------------------*/\n#if (FXAA_GLSL_120 == 1)\n    // Requires,\n    //  #version 120\n    // And at least,\n    //  #extension GL_EXT_gpu_shader4 : enable\n    //  (or set FXAA_FAST_PIXEL_OFFSET 1 to work like DX9)\n    #define FxaaTexTop(t, p) texture2DLod(t, p, 0.0)\n    #if (FXAA_FAST_PIXEL_OFFSET == 1)\n        #define FxaaTexOff(t, p, o, r) texture2DLodOffset(t, p, 0.0, o)\n    #else\n        #define FxaaTexOff(t, p, o, r) texture2DLod(t, p + (o * r), 0.0)\n    #endif\n    #if (FXAA_GATHER4_ALPHA == 1)\n        // use #extension GL_ARB_gpu_shader5 : enable\n        #define FxaaTexAlpha4(t, p) textureGather(t, p, 3)\n        #define FxaaTexOffAlpha4(t, p, o) textureGatherOffset(t, p, o, 3)\n        #define FxaaTexGreen4(t, p) textureGather(t, p, 1)\n        #define FxaaTexOffGreen4(t, p, o) textureGatherOffset(t, p, o, 1)\n    #endif\n#endif\n/*--------------------------------------------------------------------------*/\n#if (FXAA_GLSL_130 == 1)\n    // Requires "#version 130" or better\n    #define FxaaTexTop(t, p) textureLod(t, p, 0.0)\n    #define FxaaTexOff(t, p, o, r) textureLodOffset(t, p, 0.0, o)\n    #if (FXAA_GATHER4_ALPHA == 1)\n        // use #extension GL_ARB_gpu_shader5 : enable\n        #define FxaaTexAlpha4(t, p) textureGather(t, p, 3)\n        #define FxaaTexOffAlpha4(t, p, o) textureGatherOffset(t, p, o, 3)\n        #define FxaaTexGreen4(t, p) textureGather(t, p, 1)\n        #define FxaaTexOffGreen4(t, p, o) textureGatherOffset(t, p, o, 1)\n    #endif\n#endif\n/*--------------------------------------------------------------------------*/\n#if (FXAA_HLSL_3 == 1)\n    #define FxaaInt2 float2\n    #define FxaaTex sampler2D\n    #define FxaaTexTop(t, p) tex2Dlod(t, float4(p, 0.0, 0.0))\n    #define FxaaTexOff(t, p, o, r) tex2Dlod(t, float4(p + (o * r), 0, 0))\n#endif\n/*--------------------------------------------------------------------------*/\n#if (FXAA_HLSL_4 == 1)\n    #define FxaaInt2 int2\n    struct FxaaTex { SamplerState smpl; Texture2D tex; };\n    #define FxaaTexTop(t, p) t.tex.SampleLevel(t.smpl, p, 0.0)\n    #define FxaaTexOff(t, p, o, r) t.tex.SampleLevel(t.smpl, p, 0.0, o)\n#endif\n/*--------------------------------------------------------------------------*/\n#if (FXAA_HLSL_5 == 1)\n    #define FxaaInt2 int2\n    struct FxaaTex { SamplerState smpl; Texture2D tex; };\n    #define FxaaTexTop(t, p) t.tex.SampleLevel(t.smpl, p, 0.0)\n    #define FxaaTexOff(t, p, o, r) t.tex.SampleLevel(t.smpl, p, 0.0, o)\n    #define FxaaTexAlpha4(t, p) t.tex.GatherAlpha(t.smpl, p)\n    #define FxaaTexOffAlpha4(t, p, o) t.tex.GatherAlpha(t.smpl, p, o)\n    #define FxaaTexGreen4(t, p) t.tex.GatherGreen(t.smpl, p)\n    #define FxaaTexOffGreen4(t, p, o) t.tex.GatherGreen(t.smpl, p, o)\n#endif\n\n\n/*============================================================================\n                   GREEN AS LUMA OPTION SUPPORT FUNCTION\n============================================================================*/\n#if (FXAA_GREEN_AS_LUMA == 0)\n    FxaaFloat FxaaLuma(FxaaFloat4 rgba) { return rgba.w; }\n#else\n    FxaaFloat FxaaLuma(FxaaFloat4 rgba) { return rgba.y; }\n#endif\n\n\n\n\n/*============================================================================\n\n                             FXAA3 QUALITY - PC\n\n============================================================================*/\n#if (FXAA_PC == 1)\n/*--------------------------------------------------------------------------*/\nFxaaFloat4 FxaaPixelShader(\n    //\n    // Use noperspective interpolation here (turn off perspective interpolation).\n    // {xy} = center of pixel\n    FxaaFloat2 pos,\n    //\n    // Used only for FXAA Console, and not used on the 360 version.\n    // Use noperspective interpolation here (turn off perspective interpolation).\n    // {xy_} = upper left of pixel\n    // {_zw} = lower right of pixel\n    FxaaFloat4 fxaaConsolePosPos,\n    //\n    // Input color texture.\n    // {rgb_} = color in linear or perceptual color space\n    // if (FXAA_GREEN_AS_LUMA == 0)\n    //     {__a} = luma in perceptual color space (not linear)\n    FxaaTex tex,\n    //\n    // Only used on the optimized 360 version of FXAA Console.\n    // For everything but 360, just use the same input here as for "tex".\n    // For 360, same texture, just alias with a 2nd sampler.\n    // This sampler needs to have an exponent bias of -1.\n    FxaaTex fxaaConsole360TexExpBiasNegOne,\n    //\n    // Only used on the optimized 360 version of FXAA Console.\n    // For everything but 360, just use the same input here as for "tex".\n    // For 360, same texture, just alias with a 3nd sampler.\n    // This sampler needs to have an exponent bias of -2.\n    FxaaTex fxaaConsole360TexExpBiasNegTwo,\n    //\n    // Only used on FXAA Quality.\n    // This must be from a constant/uniform.\n    // {x_} = 1.0/screenWidthInPixels\n    // {_y} = 1.0/screenHeightInPixels\n    FxaaFloat2 fxaaQualityRcpFrame,\n    //\n    // Only used on FXAA Console.\n    // This must be from a constant/uniform.\n    // This effects sub-pixel AA quality and inversely sharpness.\n    //   Where N ranges between,\n    //     N = 0.50 (default)\n    //     N = 0.33 (sharper)\n    // {x__} = -N/screenWidthInPixels\n    // {_y_} = -N/screenHeightInPixels\n    // {_z_} =  N/screenWidthInPixels\n    // {__w} =  N/screenHeightInPixels\n    FxaaFloat4 fxaaConsoleRcpFrameOpt,\n    //\n    // Only used on FXAA Console.\n    // Not used on 360, but used on PS3 and PC.\n    // This must be from a constant/uniform.\n    // {x__} = -2.0/screenWidthInPixels\n    // {_y_} = -2.0/screenHeightInPixels\n    // {_z_} =  2.0/screenWidthInPixels\n    // {__w} =  2.0/screenHeightInPixels\n    FxaaFloat4 fxaaConsoleRcpFrameOpt2,\n    //\n    // Only used on FXAA Console.\n    // Only used on 360 in place of fxaaConsoleRcpFrameOpt2.\n    // This must be from a constant/uniform.\n    // {x__} =  8.0/screenWidthInPixels\n    // {_y_} =  8.0/screenHeightInPixels\n    // {_z_} = -4.0/screenWidthInPixels\n    // {__w} = -4.0/screenHeightInPixels\n    FxaaFloat4 fxaaConsole360RcpFrameOpt2,\n    //\n    // Only used on FXAA Quality.\n    // This used to be the FXAA_QUALITY_SUBPIX define.\n    // It is here now to allow easier tuning.\n    // Choose the amount of sub-pixel aliasing removal.\n    // This can effect sharpness.\n    //   1.00 - upper limit (softer)\n    //   0.75 - default amount of filtering\n    //   0.50 - lower limit (sharper, less sub-pixel aliasing removal)\n    //   0.25 - almost off\n    //   0.00 - completely off\n    FxaaFloat fxaaQualitySubpix,\n    //\n    // Only used on FXAA Quality.\n    // This used to be the FXAA_QUALITY_EDGE_THRESHOLD define.\n    // It is here now to allow easier tuning.\n    // The minimum amount of local contrast required to apply algorithm.\n    //   0.333 - too little (faster)\n    //   0.250 - low quality\n    //   0.166 - default\n    //   0.125 - high quality\n    //   0.063 - overkill (slower)\n    FxaaFloat fxaaQualityEdgeThreshold,\n    //\n    // Only used on FXAA Quality.\n    // This used to be the FXAA_QUALITY_EDGE_THRESHOLD_MIN define.\n    // It is here now to allow easier tuning.\n    // Trims the algorithm from processing darks.\n    //   0.0833 - upper limit (default, the start of visible unfiltered edges)\n    //   0.0625 - high quality (faster)\n    //   0.0312 - visible limit (slower)\n    // Special notes when using FXAA_GREEN_AS_LUMA,\n    //   Likely want to set this to zero.\n    //   As colors that are mostly not-green\n    //   will appear very dark in the green channel!\n    //   Tune by looking at mostly non-green content,\n    //   then start at zero and increase until aliasing is a problem.\n    FxaaFloat fxaaQualityEdgeThresholdMin,\n    //\n    // Only used on FXAA Console.\n    // This used to be the FXAA_CONSOLE_EDGE_SHARPNESS define.\n    // It is here now to allow easier tuning.\n    // This does not effect PS3, as this needs to be compiled in.\n    //   Use FXAA_CONSOLE_PS3_EDGE_SHARPNESS for PS3.\n    //   Due to the PS3 being ALU bound,\n    //   there are only three safe values here: 2 and 4 and 8.\n    //   These options use the shaders ability to a free *|/ by 2|4|8.\n    // For all other platforms can be a non-power of two.\n    //   8.0 is sharper (default!!!)\n    //   4.0 is softer\n    //   2.0 is really soft (good only for vector graphics inputs)\n    FxaaFloat fxaaConsoleEdgeSharpness,\n    //\n    // Only used on FXAA Console.\n    // This used to be the FXAA_CONSOLE_EDGE_THRESHOLD define.\n    // It is here now to allow easier tuning.\n    // This does not effect PS3, as this needs to be compiled in.\n    //   Use FXAA_CONSOLE_PS3_EDGE_THRESHOLD for PS3.\n    //   Due to the PS3 being ALU bound,\n    //   there are only two safe values here: 1/4 and 1/8.\n    //   These options use the shaders ability to a free *|/ by 2|4|8.\n    // The console setting has a different mapping than the quality setting.\n    // Other platforms can use other values.\n    //   0.125 leaves less aliasing, but is softer (default!!!)\n    //   0.25 leaves more aliasing, and is sharper\n    FxaaFloat fxaaConsoleEdgeThreshold,\n    //\n    // Only used on FXAA Console.\n    // This used to be the FXAA_CONSOLE_EDGE_THRESHOLD_MIN define.\n    // It is here now to allow easier tuning.\n    // Trims the algorithm from processing darks.\n    // The console setting has a different mapping than the quality setting.\n    // This only applies when FXAA_EARLY_EXIT is 1.\n    // This does not apply to PS3,\n    // PS3 was simplified to avoid more shader instructions.\n    //   0.06 - faster but more aliasing in darks\n    //   0.05 - default\n    //   0.04 - slower and less aliasing in darks\n    // Special notes when using FXAA_GREEN_AS_LUMA,\n    //   Likely want to set this to zero.\n    //   As colors that are mostly not-green\n    //   will appear very dark in the green channel!\n    //   Tune by looking at mostly non-green content,\n    //   then start at zero and increase until aliasing is a problem.\n    FxaaFloat fxaaConsoleEdgeThresholdMin,\n    //\n    // Extra constants for 360 FXAA Console only.\n    // Use zeros or anything else for other platforms.\n    // These must be in physical constant registers and NOT immediates.\n    // Immediates will result in compiler un-optimizing.\n    // {xyzw} = float4(1.0, -1.0, 0.25, -0.25)\n    FxaaFloat4 fxaaConsole360ConstDir\n) {\n/*--------------------------------------------------------------------------*/\n    FxaaFloat2 posM;\n    posM.x = pos.x;\n    posM.y = pos.y;\n    #if (FXAA_GATHER4_ALPHA == 1)\n        #if (FXAA_DISCARD == 0)\n            FxaaFloat4 rgbyM = FxaaTexTop(tex, posM);\n            #if (FXAA_GREEN_AS_LUMA == 0)\n                #define lumaM rgbyM.w\n            #else\n                #define lumaM rgbyM.y\n            #endif\n        #endif\n        #if (FXAA_GREEN_AS_LUMA == 0)\n            FxaaFloat4 luma4A = FxaaTexAlpha4(tex, posM);\n            FxaaFloat4 luma4B = FxaaTexOffAlpha4(tex, posM, FxaaInt2(-1, -1));\n        #else\n            FxaaFloat4 luma4A = FxaaTexGreen4(tex, posM);\n            FxaaFloat4 luma4B = FxaaTexOffGreen4(tex, posM, FxaaInt2(-1, -1));\n        #endif\n        #if (FXAA_DISCARD == 1)\n            #define lumaM luma4A.w\n        #endif\n        #define lumaE luma4A.z\n        #define lumaS luma4A.x\n        #define lumaSE luma4A.y\n        #define lumaNW luma4B.w\n        #define lumaN luma4B.z\n        #define lumaW luma4B.x\n    #else\n        FxaaFloat4 rgbyM = FxaaTexTop(tex, posM);\n        #if (FXAA_GREEN_AS_LUMA == 0)\n            #define lumaM rgbyM.w\n        #else\n            #define lumaM rgbyM.y\n        #endif\n        #if (FXAA_GLSL_100 == 1)\n          FxaaFloat lumaS = FxaaLuma(FxaaTexOff(tex, posM, FxaaFloat2( 0.0, 1.0), fxaaQualityRcpFrame.xy));\n          FxaaFloat lumaE = FxaaLuma(FxaaTexOff(tex, posM, FxaaFloat2( 1.0, 0.0), fxaaQualityRcpFrame.xy));\n          FxaaFloat lumaN = FxaaLuma(FxaaTexOff(tex, posM, FxaaFloat2( 0.0,-1.0), fxaaQualityRcpFrame.xy));\n          FxaaFloat lumaW = FxaaLuma(FxaaTexOff(tex, posM, FxaaFloat2(-1.0, 0.0), fxaaQualityRcpFrame.xy));\n        #else\n          FxaaFloat lumaS = FxaaLuma(FxaaTexOff(tex, posM, FxaaInt2( 0, 1), fxaaQualityRcpFrame.xy));\n          FxaaFloat lumaE = FxaaLuma(FxaaTexOff(tex, posM, FxaaInt2( 1, 0), fxaaQualityRcpFrame.xy));\n          FxaaFloat lumaN = FxaaLuma(FxaaTexOff(tex, posM, FxaaInt2( 0,-1), fxaaQualityRcpFrame.xy));\n          FxaaFloat lumaW = FxaaLuma(FxaaTexOff(tex, posM, FxaaInt2(-1, 0), fxaaQualityRcpFrame.xy));\n        #endif\n    #endif\n/*--------------------------------------------------------------------------*/\n    FxaaFloat maxSM = max(lumaS, lumaM);\n    FxaaFloat minSM = min(lumaS, lumaM);\n    FxaaFloat maxESM = max(lumaE, maxSM);\n    FxaaFloat minESM = min(lumaE, minSM);\n    FxaaFloat maxWN = max(lumaN, lumaW);\n    FxaaFloat minWN = min(lumaN, lumaW);\n    FxaaFloat rangeMax = max(maxWN, maxESM);\n    FxaaFloat rangeMin = min(minWN, minESM);\n    FxaaFloat rangeMaxScaled = rangeMax * fxaaQualityEdgeThreshold;\n    FxaaFloat range = rangeMax - rangeMin;\n    FxaaFloat rangeMaxClamped = max(fxaaQualityEdgeThresholdMin, rangeMaxScaled);\n    FxaaBool earlyExit = range < rangeMaxClamped;\n/*--------------------------------------------------------------------------*/\n    if(earlyExit)\n        #if (FXAA_DISCARD == 1)\n            FxaaDiscard;\n        #else\n            return rgbyM;\n        #endif\n/*--------------------------------------------------------------------------*/\n    #if (FXAA_GATHER4_ALPHA == 0)\n        #if (FXAA_GLSL_100 == 1)\n          FxaaFloat lumaNW = FxaaLuma(FxaaTexOff(tex, posM, FxaaFloat2(-1.0,-1.0), fxaaQualityRcpFrame.xy));\n          FxaaFloat lumaSE = FxaaLuma(FxaaTexOff(tex, posM, FxaaFloat2( 1.0, 1.0), fxaaQualityRcpFrame.xy));\n          FxaaFloat lumaNE = FxaaLuma(FxaaTexOff(tex, posM, FxaaFloat2( 1.0,-1.0), fxaaQualityRcpFrame.xy));\n          FxaaFloat lumaSW = FxaaLuma(FxaaTexOff(tex, posM, FxaaFloat2(-1.0, 1.0), fxaaQualityRcpFrame.xy));\n        #else\n          FxaaFloat lumaNW = FxaaLuma(FxaaTexOff(tex, posM, FxaaInt2(-1,-1), fxaaQualityRcpFrame.xy));\n          FxaaFloat lumaSE = FxaaLuma(FxaaTexOff(tex, posM, FxaaInt2( 1, 1), fxaaQualityRcpFrame.xy));\n          FxaaFloat lumaNE = FxaaLuma(FxaaTexOff(tex, posM, FxaaInt2( 1,-1), fxaaQualityRcpFrame.xy));\n          FxaaFloat lumaSW = FxaaLuma(FxaaTexOff(tex, posM, FxaaInt2(-1, 1), fxaaQualityRcpFrame.xy));\n        #endif\n    #else\n        FxaaFloat lumaNE = FxaaLuma(FxaaTexOff(tex, posM, FxaaInt2(1, -1), fxaaQualityRcpFrame.xy));\n        FxaaFloat lumaSW = FxaaLuma(FxaaTexOff(tex, posM, FxaaInt2(-1, 1), fxaaQualityRcpFrame.xy));\n    #endif\n/*--------------------------------------------------------------------------*/\n    FxaaFloat lumaNS = lumaN + lumaS;\n    FxaaFloat lumaWE = lumaW + lumaE;\n    FxaaFloat subpixRcpRange = 1.0/range;\n    FxaaFloat subpixNSWE = lumaNS + lumaWE;\n    FxaaFloat edgeHorz1 = (-2.0 * lumaM) + lumaNS;\n    FxaaFloat edgeVert1 = (-2.0 * lumaM) + lumaWE;\n/*--------------------------------------------------------------------------*/\n    FxaaFloat lumaNESE = lumaNE + lumaSE;\n    FxaaFloat lumaNWNE = lumaNW + lumaNE;\n    FxaaFloat edgeHorz2 = (-2.0 * lumaE) + lumaNESE;\n    FxaaFloat edgeVert2 = (-2.0 * lumaN) + lumaNWNE;\n/*--------------------------------------------------------------------------*/\n    FxaaFloat lumaNWSW = lumaNW + lumaSW;\n    FxaaFloat lumaSWSE = lumaSW + lumaSE;\n    FxaaFloat edgeHorz4 = (abs(edgeHorz1) * 2.0) + abs(edgeHorz2);\n    FxaaFloat edgeVert4 = (abs(edgeVert1) * 2.0) + abs(edgeVert2);\n    FxaaFloat edgeHorz3 = (-2.0 * lumaW) + lumaNWSW;\n    FxaaFloat edgeVert3 = (-2.0 * lumaS) + lumaSWSE;\n    FxaaFloat edgeHorz = abs(edgeHorz3) + edgeHorz4;\n    FxaaFloat edgeVert = abs(edgeVert3) + edgeVert4;\n/*--------------------------------------------------------------------------*/\n    FxaaFloat subpixNWSWNESE = lumaNWSW + lumaNESE;\n    FxaaFloat lengthSign = fxaaQualityRcpFrame.x;\n    FxaaBool horzSpan = edgeHorz >= edgeVert;\n    FxaaFloat subpixA = subpixNSWE * 2.0 + subpixNWSWNESE;\n/*--------------------------------------------------------------------------*/\n    if(!horzSpan) lumaN = lumaW;\n    if(!horzSpan) lumaS = lumaE;\n    if(horzSpan) lengthSign = fxaaQualityRcpFrame.y;\n    FxaaFloat subpixB = (subpixA * (1.0/12.0)) - lumaM;\n/*--------------------------------------------------------------------------*/\n    FxaaFloat gradientN = lumaN - lumaM;\n    FxaaFloat gradientS = lumaS - lumaM;\n    FxaaFloat lumaNN = lumaN + lumaM;\n    FxaaFloat lumaSS = lumaS + lumaM;\n    FxaaBool pairN = abs(gradientN) >= abs(gradientS);\n    FxaaFloat gradient = max(abs(gradientN), abs(gradientS));\n    if(pairN) lengthSign = -lengthSign;\n    FxaaFloat subpixC = FxaaSat(abs(subpixB) * subpixRcpRange);\n/*--------------------------------------------------------------------------*/\n    FxaaFloat2 posB;\n    posB.x = posM.x;\n    posB.y = posM.y;\n    FxaaFloat2 offNP;\n    offNP.x = (!horzSpan) ? 0.0 : fxaaQualityRcpFrame.x;\n    offNP.y = ( horzSpan) ? 0.0 : fxaaQualityRcpFrame.y;\n    if(!horzSpan) posB.x += lengthSign * 0.5;\n    if( horzSpan) posB.y += lengthSign * 0.5;\n/*--------------------------------------------------------------------------*/\n    FxaaFloat2 posN;\n    posN.x = posB.x - offNP.x * FXAA_QUALITY_P0;\n    posN.y = posB.y - offNP.y * FXAA_QUALITY_P0;\n    FxaaFloat2 posP;\n    posP.x = posB.x + offNP.x * FXAA_QUALITY_P0;\n    posP.y = posB.y + offNP.y * FXAA_QUALITY_P0;\n    FxaaFloat subpixD = ((-2.0)*subpixC) + 3.0;\n    FxaaFloat lumaEndN = FxaaLuma(FxaaTexTop(tex, posN));\n    FxaaFloat subpixE = subpixC * subpixC;\n    FxaaFloat lumaEndP = FxaaLuma(FxaaTexTop(tex, posP));\n/*--------------------------------------------------------------------------*/\n    if(!pairN) lumaNN = lumaSS;\n    FxaaFloat gradientScaled = gradient * 1.0/4.0;\n    FxaaFloat lumaMM = lumaM - lumaNN * 0.5;\n    FxaaFloat subpixF = subpixD * subpixE;\n    FxaaBool lumaMLTZero = lumaMM < 0.0;\n/*--------------------------------------------------------------------------*/\n    lumaEndN -= lumaNN * 0.5;\n    lumaEndP -= lumaNN * 0.5;\n    FxaaBool doneN = abs(lumaEndN) >= gradientScaled;\n    FxaaBool doneP = abs(lumaEndP) >= gradientScaled;\n    if(!doneN) posN.x -= offNP.x * FXAA_QUALITY_P1;\n    if(!doneN) posN.y -= offNP.y * FXAA_QUALITY_P1;\n    FxaaBool doneNP = (!doneN) || (!doneP);\n    if(!doneP) posP.x += offNP.x * FXAA_QUALITY_P1;\n    if(!doneP) posP.y += offNP.y * FXAA_QUALITY_P1;\n/*--------------------------------------------------------------------------*/\n    if(doneNP) {\n        if(!doneN) lumaEndN = FxaaLuma(FxaaTexTop(tex, posN.xy));\n        if(!doneP) lumaEndP = FxaaLuma(FxaaTexTop(tex, posP.xy));\n        if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5;\n        if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5;\n        doneN = abs(lumaEndN) >= gradientScaled;\n        doneP = abs(lumaEndP) >= gradientScaled;\n        if(!doneN) posN.x -= offNP.x * FXAA_QUALITY_P2;\n        if(!doneN) posN.y -= offNP.y * FXAA_QUALITY_P2;\n        doneNP = (!doneN) || (!doneP);\n        if(!doneP) posP.x += offNP.x * FXAA_QUALITY_P2;\n        if(!doneP) posP.y += offNP.y * FXAA_QUALITY_P2;\n/*--------------------------------------------------------------------------*/\n        #if (FXAA_QUALITY_PS > 3)\n        if(doneNP) {\n            if(!doneN) lumaEndN = FxaaLuma(FxaaTexTop(tex, posN.xy));\n            if(!doneP) lumaEndP = FxaaLuma(FxaaTexTop(tex, posP.xy));\n            if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5;\n            if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5;\n            doneN = abs(lumaEndN) >= gradientScaled;\n            doneP = abs(lumaEndP) >= gradientScaled;\n            if(!doneN) posN.x -= offNP.x * FXAA_QUALITY_P3;\n            if(!doneN) posN.y -= offNP.y * FXAA_QUALITY_P3;\n            doneNP = (!doneN) || (!doneP);\n            if(!doneP) posP.x += offNP.x * FXAA_QUALITY_P3;\n            if(!doneP) posP.y += offNP.y * FXAA_QUALITY_P3;\n/*--------------------------------------------------------------------------*/\n            #if (FXAA_QUALITY_PS > 4)\n            if(doneNP) {\n                if(!doneN) lumaEndN = FxaaLuma(FxaaTexTop(tex, posN.xy));\n                if(!doneP) lumaEndP = FxaaLuma(FxaaTexTop(tex, posP.xy));\n                if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5;\n                if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5;\n                doneN = abs(lumaEndN) >= gradientScaled;\n                doneP = abs(lumaEndP) >= gradientScaled;\n                if(!doneN) posN.x -= offNP.x * FXAA_QUALITY_P4;\n                if(!doneN) posN.y -= offNP.y * FXAA_QUALITY_P4;\n                doneNP = (!doneN) || (!doneP);\n                if(!doneP) posP.x += offNP.x * FXAA_QUALITY_P4;\n                if(!doneP) posP.y += offNP.y * FXAA_QUALITY_P4;\n/*--------------------------------------------------------------------------*/\n                #if (FXAA_QUALITY_PS > 5)\n                if(doneNP) {\n                    if(!doneN) lumaEndN = FxaaLuma(FxaaTexTop(tex, posN.xy));\n                    if(!doneP) lumaEndP = FxaaLuma(FxaaTexTop(tex, posP.xy));\n                    if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5;\n                    if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5;\n                    doneN = abs(lumaEndN) >= gradientScaled;\n                    doneP = abs(lumaEndP) >= gradientScaled;\n                    if(!doneN) posN.x -= offNP.x * FXAA_QUALITY_P5;\n                    if(!doneN) posN.y -= offNP.y * FXAA_QUALITY_P5;\n                    doneNP = (!doneN) || (!doneP);\n                    if(!doneP) posP.x += offNP.x * FXAA_QUALITY_P5;\n                    if(!doneP) posP.y += offNP.y * FXAA_QUALITY_P5;\n/*--------------------------------------------------------------------------*/\n                    #if (FXAA_QUALITY_PS > 6)\n                    if(doneNP) {\n                        if(!doneN) lumaEndN = FxaaLuma(FxaaTexTop(tex, posN.xy));\n                        if(!doneP) lumaEndP = FxaaLuma(FxaaTexTop(tex, posP.xy));\n                        if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5;\n                        if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5;\n                        doneN = abs(lumaEndN) >= gradientScaled;\n                        doneP = abs(lumaEndP) >= gradientScaled;\n                        if(!doneN) posN.x -= offNP.x * FXAA_QUALITY_P6;\n                        if(!doneN) posN.y -= offNP.y * FXAA_QUALITY_P6;\n                        doneNP = (!doneN) || (!doneP);\n                        if(!doneP) posP.x += offNP.x * FXAA_QUALITY_P6;\n                        if(!doneP) posP.y += offNP.y * FXAA_QUALITY_P6;\n/*--------------------------------------------------------------------------*/\n                        #if (FXAA_QUALITY_PS > 7)\n                        if(doneNP) {\n                            if(!doneN) lumaEndN = FxaaLuma(FxaaTexTop(tex, posN.xy));\n                            if(!doneP) lumaEndP = FxaaLuma(FxaaTexTop(tex, posP.xy));\n                            if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5;\n                            if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5;\n                            doneN = abs(lumaEndN) >= gradientScaled;\n                            doneP = abs(lumaEndP) >= gradientScaled;\n                            if(!doneN) posN.x -= offNP.x * FXAA_QUALITY_P7;\n                            if(!doneN) posN.y -= offNP.y * FXAA_QUALITY_P7;\n                            doneNP = (!doneN) || (!doneP);\n                            if(!doneP) posP.x += offNP.x * FXAA_QUALITY_P7;\n                            if(!doneP) posP.y += offNP.y * FXAA_QUALITY_P7;\n/*--------------------------------------------------------------------------*/\n    #if (FXAA_QUALITY_PS > 8)\n    if(doneNP) {\n        if(!doneN) lumaEndN = FxaaLuma(FxaaTexTop(tex, posN.xy));\n        if(!doneP) lumaEndP = FxaaLuma(FxaaTexTop(tex, posP.xy));\n        if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5;\n        if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5;\n        doneN = abs(lumaEndN) >= gradientScaled;\n        doneP = abs(lumaEndP) >= gradientScaled;\n        if(!doneN) posN.x -= offNP.x * FXAA_QUALITY_P8;\n        if(!doneN) posN.y -= offNP.y * FXAA_QUALITY_P8;\n        doneNP = (!doneN) || (!doneP);\n        if(!doneP) posP.x += offNP.x * FXAA_QUALITY_P8;\n        if(!doneP) posP.y += offNP.y * FXAA_QUALITY_P8;\n/*--------------------------------------------------------------------------*/\n        #if (FXAA_QUALITY_PS > 9)\n        if(doneNP) {\n            if(!doneN) lumaEndN = FxaaLuma(FxaaTexTop(tex, posN.xy));\n            if(!doneP) lumaEndP = FxaaLuma(FxaaTexTop(tex, posP.xy));\n            if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5;\n            if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5;\n            doneN = abs(lumaEndN) >= gradientScaled;\n            doneP = abs(lumaEndP) >= gradientScaled;\n            if(!doneN) posN.x -= offNP.x * FXAA_QUALITY_P9;\n            if(!doneN) posN.y -= offNP.y * FXAA_QUALITY_P9;\n            doneNP = (!doneN) || (!doneP);\n            if(!doneP) posP.x += offNP.x * FXAA_QUALITY_P9;\n            if(!doneP) posP.y += offNP.y * FXAA_QUALITY_P9;\n/*--------------------------------------------------------------------------*/\n            #if (FXAA_QUALITY_PS > 10)\n            if(doneNP) {\n                if(!doneN) lumaEndN = FxaaLuma(FxaaTexTop(tex, posN.xy));\n                if(!doneP) lumaEndP = FxaaLuma(FxaaTexTop(tex, posP.xy));\n                if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5;\n                if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5;\n                doneN = abs(lumaEndN) >= gradientScaled;\n                doneP = abs(lumaEndP) >= gradientScaled;\n                if(!doneN) posN.x -= offNP.x * FXAA_QUALITY_P10;\n                if(!doneN) posN.y -= offNP.y * FXAA_QUALITY_P10;\n                doneNP = (!doneN) || (!doneP);\n                if(!doneP) posP.x += offNP.x * FXAA_QUALITY_P10;\n                if(!doneP) posP.y += offNP.y * FXAA_QUALITY_P10;\n/*--------------------------------------------------------------------------*/\n                #if (FXAA_QUALITY_PS > 11)\n                if(doneNP) {\n                    if(!doneN) lumaEndN = FxaaLuma(FxaaTexTop(tex, posN.xy));\n                    if(!doneP) lumaEndP = FxaaLuma(FxaaTexTop(tex, posP.xy));\n                    if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5;\n                    if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5;\n                    doneN = abs(lumaEndN) >= gradientScaled;\n                    doneP = abs(lumaEndP) >= gradientScaled;\n                    if(!doneN) posN.x -= offNP.x * FXAA_QUALITY_P11;\n                    if(!doneN) posN.y -= offNP.y * FXAA_QUALITY_P11;\n                    doneNP = (!doneN) || (!doneP);\n                    if(!doneP) posP.x += offNP.x * FXAA_QUALITY_P11;\n                    if(!doneP) posP.y += offNP.y * FXAA_QUALITY_P11;\n/*--------------------------------------------------------------------------*/\n                    #if (FXAA_QUALITY_PS > 12)\n                    if(doneNP) {\n                        if(!doneN) lumaEndN = FxaaLuma(FxaaTexTop(tex, posN.xy));\n                        if(!doneP) lumaEndP = FxaaLuma(FxaaTexTop(tex, posP.xy));\n                        if(!doneN) lumaEndN = lumaEndN - lumaNN * 0.5;\n                        if(!doneP) lumaEndP = lumaEndP - lumaNN * 0.5;\n                        doneN = abs(lumaEndN) >= gradientScaled;\n                        doneP = abs(lumaEndP) >= gradientScaled;\n                        if(!doneN) posN.x -= offNP.x * FXAA_QUALITY_P12;\n                        if(!doneN) posN.y -= offNP.y * FXAA_QUALITY_P12;\n                        doneNP = (!doneN) || (!doneP);\n                        if(!doneP) posP.x += offNP.x * FXAA_QUALITY_P12;\n                        if(!doneP) posP.y += offNP.y * FXAA_QUALITY_P12;\n/*--------------------------------------------------------------------------*/\n                    }\n                    #endif\n/*--------------------------------------------------------------------------*/\n                }\n                #endif\n/*--------------------------------------------------------------------------*/\n            }\n            #endif\n/*--------------------------------------------------------------------------*/\n        }\n        #endif\n/*--------------------------------------------------------------------------*/\n    }\n    #endif\n/*--------------------------------------------------------------------------*/\n                        }\n                        #endif\n/*--------------------------------------------------------------------------*/\n                    }\n                    #endif\n/*--------------------------------------------------------------------------*/\n                }\n                #endif\n/*--------------------------------------------------------------------------*/\n            }\n            #endif\n/*--------------------------------------------------------------------------*/\n        }\n        #endif\n/*--------------------------------------------------------------------------*/\n    }\n/*--------------------------------------------------------------------------*/\n    FxaaFloat dstN = posM.x - posN.x;\n    FxaaFloat dstP = posP.x - posM.x;\n    if(!horzSpan) dstN = posM.y - posN.y;\n    if(!horzSpan) dstP = posP.y - posM.y;\n/*--------------------------------------------------------------------------*/\n    FxaaBool goodSpanN = (lumaEndN < 0.0) != lumaMLTZero;\n    FxaaFloat spanLength = (dstP + dstN);\n    FxaaBool goodSpanP = (lumaEndP < 0.0) != lumaMLTZero;\n    FxaaFloat spanLengthRcp = 1.0/spanLength;\n/*--------------------------------------------------------------------------*/\n    FxaaBool directionN = dstN < dstP;\n    FxaaFloat dst = min(dstN, dstP);\n    FxaaBool goodSpan = directionN ? goodSpanN : goodSpanP;\n    FxaaFloat subpixG = subpixF * subpixF;\n    FxaaFloat pixelOffset = (dst * (-spanLengthRcp)) + 0.5;\n    FxaaFloat subpixH = subpixG * fxaaQualitySubpix;\n/*--------------------------------------------------------------------------*/\n    FxaaFloat pixelOffsetGood = goodSpan ? pixelOffset : 0.0;\n    FxaaFloat pixelOffsetSubpix = max(pixelOffsetGood, subpixH);\n    if(!horzSpan) posM.x += pixelOffsetSubpix * lengthSign;\n    if( horzSpan) posM.y += pixelOffsetSubpix * lengthSign;\n    #if (FXAA_DISCARD == 1)\n        return FxaaTexTop(tex, posM);\n    #else\n        return FxaaFloat4(FxaaTexTop(tex, posM).xyz, lumaM);\n    #endif\n}\n/*==========================================================================*/\n#endif\n\nvoid main() {\n  gl_FragColor = FxaaPixelShader(\n    vUv,\n    vec4(0.0),\n    tDiffuse,\n    tDiffuse,\n    tDiffuse,\n    resolution,\n    vec4(0.0),\n    vec4(0.0),\n    vec4(0.0),\n    0.75,\n    0.166,\n    0.0833,\n    0.0,\n    0.0,\n    0.0,\n    vec4(0.0)\n  );\n\n  // TODO avoid querying texture twice for same texel\n  gl_FragColor.a = texture2D(tDiffuse, vUv).a;\n}'};return THREE.KZ});
define("gZ",["require","cL","ji","iw","fG"],function(a){function b(a,b){this.g=a;this.xx=b;this.Fi=new THREE.EffectComposer(a);this.ul=new THREE.CustomRenderPass(b);this.ul.sp=z;this.Fi.addPass(this.ul);this.$G=new THREE.ShaderPass(THREE.KZ);this.Fi.addPass(this.$G);this.dq=this.fq=m}a("cL");a("ji");a("iw");a("fG");var c=new THREE.Vector2;b.prototype.destroy=function(){this.Fi=this.$G=this.ul=this.xx=this.g=r};b.prototype.render=function(a,b){this.g.getSize(c);if(this.fq!==c.width||this.dq!==c.height)this.fq=
c.width,this.dq=c.height,this.Fi.setSize(this.fq,this.dq),this.$G.material.uniforms.resolution.value.x=1/this.fq,this.$G.material.uniforms.resolution.value.y=1/this.dq;this.ul.nj=a;this.ul.Ec=b;this.Fi.render()};return b});
define("ij",["require","cz","gZ"],function(a){function b(a,f){this.g=a;this.xx=f;this.aI=new c(a,f);this.MQ=new e(a,f);this.NG=b.NONE}var c=a("cz"),e=a("gZ");b.JZ="fxaa";b.DN="motionBlur";b.NONE="none";b.prototype.destroy=function(){this.aI.destroy();this.aI=r;this.MQ.destroy();this.xx=this.g=this.MQ=r};b.prototype.yY=function(a){this.NG!=a&&(this.NG=a,this.NG==b.DN&&this.aI.start())};b.prototype.render=function(a,c){switch(this.NG){case b.JZ:this.MQ.render(a,c);break;case b.DN:this.aI.render(a,c);
break;default:this.xx(this.g,a,c,r,z)}};return b});
define("bJ",["require","r"],function(a){function b(a){THREE.Object3D.call(this);this.Ud=document.createElement("div");this.Ud.style.position="absolute";this.Ud.style.pointerEvents="none";this.Ud.style.overflow="hidden";this.Hr=document.createElement("div");this.Ud.appendChild(this.Hr);this.Hr.style.transformStyle="preserve-3d";this.Hr.style.position="absolute";this.Hr.style.pointerEvents="none";this.element=a||document.createElement("div");this.Hr.appendChild(this.element);this.element.style.position=
"absolute";this.element.style.pointerEvents="none";this.qk=this.rk=100;this.vertices=[new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3];this.wE=[new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3];this.addEventListener("removed",function(){this.traverse(function(a){a.Ud instanceof Element&&a.Ud.parentNode!==r&&a.Ud.parentNode.removeChild(a.Ud)})})}function c(a){THREE.Object3D.call(this,a);this.qk=this.rk=100;this.vertices=[new THREE.Vector3,new THREE.Vector3,
new THREE.Vector3,new THREE.Vector3];this.wE=[new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3];this.Ud=document.createElement("div");this.Ud.style.position="absolute";this.Ud.style.pointerEvents="none";this.Ud.style.overflow="hidden";this.element=a||document.createElement("div");this.Ud.appendChild(this.element);this.element.style.position="absolute";this.element.style.pointerEvents="none"}function e(a){THREE.LM.call(this,a)}function d(a,b){for(var c=0;c<a.vertices.length;c++){var f=
a.wE[c];f.copy(a.vertices[c]);f.applyMatrix4(a.matrixWorld);f.applyMatrix4(b.matrixWorldInverse);var d=f.z;f.applyMatrix4(b.projectionMatrix);f.z=d}}function f(){for(var a=arguments[0],b=1;b<arguments.length;b++)a[b-1]=arguments[b]}function g(a,b){f(b,a[4]*a[8]-a[5]*a[7],a[2]*a[7]-a[1]*a[8],a[1]*a[5]-a[2]*a[4],a[5]*a[6]-a[3]*a[8],a[0]*a[8]-a[2]*a[6],a[2]*a[3]-a[0]*a[5],a[3]*a[7]-a[4]*a[6],a[1]*a[6]-a[0]*a[7],a[0]*a[4]-a[1]*a[3])}function k(a,b,c){for(var f=0;3!=f;++f)for(var d=0;3!=d;++d){for(var e=
0,g=0;3!=g;++g)e+=a[3*f+g]*b[3*g+d];c[3*f+d]=e}}function j(a,b,c,d,e,j,i,l,n){f(q,a,c,e,b,d,j,1,1,1);g(q,t);f(s,i,l,1);f(u,t[0]*s[0]+t[1]*s[1]+t[2]*s[2],t[3]*s[0]+t[4]*s[1]+t[5]*s[2],t[6]*s[0]+t[7]*s[1]+t[8]*s[2]);f(o,u[0],0,0,0,u[1],0,0,0,u[2]);k(q,o,n)}a("r");var n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;b.prototype=Object.create(THREE.Object3D.prototype);b.prototype.constructor=b;b.prototype.copy=function(a,b){THREE.Object3D.prototype.copy.call(this,a,b);this.element=a.element.cloneNode(p);
return this};b.prototype.wda=function(){this.vertices[0].set(0.5*-this.rk,0.5*+this.qk,0);this.vertices[1].set(0.5*+this.rk,0.5*+this.qk,0);this.vertices[2].set(0.5*+this.rk,0.5*-this.qk,0);this.vertices[3].set(0.5*-this.rk,0.5*-this.qk,0)};b.prototype.iY=function(a){this.matrixWorldNeedsUpdate&&this.updateMatrixWorld();d(this,a);var b=this.wE;this.GX=p;var b=b.filter(function(a){return 0>a.z}),c=0,f=0,e=0,g=0;b.forEach(function(b){-1>b.x?c-=1:1<b.x&&(c+=1);-1>b.y?f-=1:1<b.y&&(f+=1);e=Math.max(b.x*
a.aspect,b.y,e);g=Math.min(b.x*a.aspect,b.y,g)});this.LL=this.GX&&Math.abs(c)<b.length&&Math.abs(f)<b.length&&e<n&&g>i};b.prototype.Aba=p;THREE.nZ=b;c.prototype=Object.create(THREE.Object3D.prototype);c.prototype.constructor=c;c.prototype.copy=function(a,b){THREE.Object3D.prototype.copy.call(this,a,b);for(var c=0;4>c;c++)this.vertices[c].copy(a.vertices[c]);return this};c.prototype.iY=function(a){this.matrixWorldNeedsUpdate&&this.updateMatrixWorld();d(this,a);var b=this.wE;this.GX=0>b[0].z&&0>b[1].z&&
0>b[2].z&&0>b[3].z;var c=0,f=0,e=0,g=0;b.forEach(function(b){-1>b.x?c-=1:1<b.x&&(c+=1);-1>b.y?f-=1:1<b.y&&(f+=1);e=Math.max(b.x*a.aspect,b.y,e);g=Math.min(b.x*a.aspect,b.y,g)});this.LL=this.GX&&Math.abs(c)<b.length&&Math.abs(f)<b.length&&e<n&&g>i};c.prototype.Bba=p;THREE.LM=c;e.prototype=Object.create(THREE.LM.prototype);e.prototype.constructor=e;e.prototype.wda=function(){this.vertices[0].set(0.5*-this.rk,0.5*+this.qk,0);this.vertices[1].set(0.5*+this.rk,0.5*+this.qk,0);this.vertices[2].set(0.5*
+this.rk,0.5*-this.qk,0);this.vertices[3].set(0.5*-this.rk,0.5*-this.qk,0)};THREE.Mda=e;var l=new THREE.Matrix4;THREE.oZ=function(){var a;function b(n,o,t){if(n.Aba||n.Bba){n.onBeforeRender(d,o,t);var F=a.get(n)||{},H=z;if(n.LL){if(n.Bba){var T=n.wE,J=n.rk,U=n.qk,V=l.elements,W=0.5*(1+T[0].x)*e,Y=0.5*(1-T[0].y)*i,Z=0.5*(1+T[1].x)*e,aa=0.5*(1-T[1].y)*i,X=0.5*(1+T[3].x)*e,ba=0.5*(1-T[3].y)*i,ca=0.5*(1+T[2].x)*e,T=0.5*(1-T[2].y)*i,da=y;j(0,0,J,0,0,U,J,U,v);j(W,Y,Z,aa,X,ba,ca,T,w);g(v,x);k(w,x,da);f(V,
y[0]/y[8],y[3]/y[8],0,y[6]/y[8],y[1]/y[8],y[4]/y[8],0,y[7]/y[8],0,0,1,0,y[2]/y[8],y[5]/y[8],0,1);J=l.elements;J="matrix3d("+c(J[0])+","+c(J[1])+","+c(J[2])+","+c(J[3])+","+c(J[4])+","+c(J[5])+","+c(J[6])+","+c(J[7])+","+c(J[8])+","+c(J[9])+","+c(J[10])+","+c(J[11])+","+c(J[12])+","+c(J[13])+","+c(J[14])+","+c(J[15])+")";F.TW!=J&&(F.TW=n.element.style.transform=J,H=p);if(F.width!==e||F.height!==i)n.Ud.style.width=(F.width=e)+"px",n.Ud.style.height=(F.height=i)+"px",H=p}else{J=n.matrixWorld.elements;
J="translate(-50%,-50%)"+("matrix3d("+c(J[0])+","+c(J[1])+","+c(J[2])+","+c(J[3])+","+c(-J[4])+","+c(-J[5])+","+c(-J[6])+","+c(-J[7])+","+c(J[8])+","+c(J[9])+","+c(J[10])+","+c(J[11])+","+c(J[12])+","+c(J[13])+","+c(J[14])+","+c(J[15])+")");F.Bsa!==q&&(n.Ud.style.perspective=(F.Bsa=q)+"px",H=p);if(F.width!==e||F.height!==i)n.Hr.style.width=n.Ud.style.width=(F.width=e)+"px",n.Hr.style.height=n.Ud.style.height=(F.height=i)+"px",H=p;F.Csa!==u&&(F.Csa=n.Hr.style.transform=u,H=p);F.TW!==J&&(F.TW=n.element.style.transform=
J,H=p)}n.Ud.style.left="0"}else n.Ud.style.left=e+"px";H&&a.set(n,F);n.Ud.style.display=n.visible?"":"none";n.Ud.parentNode!==s&&s.appendChild(n.Ud);n.onAfterRender(d,o,t)}F=0;for(H=n.children.length;F<H;F++)b(n.children[F],o,t)}function c(a){return 1.0E-10>a&&-1.0E-10<a?0:a}var d=this,e,i,n,o,q,u;a=new WeakMap;var s=document.createElement("div");s.style.overflow="hidden";this.domElement=s;this.getSize=function(){return{width:e,height:i}};this.render=function(a,f){q=f.projectionMatrix.elements[5]*
o;a.autoUpdate===p&&a.updateMatrixWorld();var d=f.matrixWorldInverse.elements;u="translateZ("+q+"px)"+("matrix3d("+c(d[0])+","+c(-d[1])+","+c(d[2])+","+c(d[3])+","+c(d[4])+","+c(-d[5])+","+c(d[6])+","+c(d[7])+","+c(d[8])+","+c(-d[9])+","+c(d[10])+","+c(d[11])+","+c(d[12])+","+c(-d[13])+","+c(d[14])+","+c(d[15])+")")+"translate("+n+"px,"+o+"px)";b(a,a,f)};this.setSize=function(a,b){e=a;i=b;n=e/2;o=i/2;s.style.width=e+"px";s.style.height=i+"px"}};var q=Array(9),o=Array(9),t=Array(9),s=Array(3),u=Array(3),
v=Array(9),w=Array(9),x=Array(9),y=Array(9);return THREE});define("id",["require","fZ"],function(a){function b(){this.status=b.vF;this.hY=this.cv=0;this.gY=[]}a("fZ");b.LOADING="loading";b.R="loaded";b.vF="not loaded";return b});
define("is","require,dl,fb,bY,kV,hS,id".split(","),function(a){function b(){this.U2={};this.Kc=[];this.Pq=[];this.dd={}}var c=a("dl"),e=a("fb");a("bY");var d=a("kV"),f=a("hS"),g=a("id");b.prototype.VY=function(a){for(var a=a.jn(),b=0,c=a.length;b<c;b++)if(this.uA(a[b]).status!=g.R)return z;return p};b.prototype.ln=function(a,b){this.Kc.push(a);this.xfa(a,b)};b.prototype.si=function(a,b){var f=c(this.Kc).indexOf(a);f<0&&h("Unloading item not loaded");this.Kc.splice(f,1);this.foa(a,b)};b.prototype.pe=
function(a,b){return this.dd[a].pe(b)};b.prototype.xfa=function(a,b){this.Pq.push(a);for(var c=a.jn(),f=0,d=c.length;f<d;f++){var e=c[f],o=this.uA(e);o.cv++;o.gY.push(b);if(o.status==g.vF){o.status=g.LOADING;this.Hla(e,Math.min.apply(Math,o.gY))}}this.a$()};b.prototype.foa=function(a,b){this.Pq=c(this.Pq).without(a);for(var f=a.jn(),d=0,e=f.length;d<e;d++){var q=f[d],o=this.uA(q);o.cv--;var t=o.gY,s=t.indexOf(b);s>=0&&t.splice(s,1);if(o.cv==0&&o.status!=g.vF){o.status=g.vF;o.hY=0;this.jra(q)}}};b.prototype.a$=
function(a){for(var a=(a==m?this.Pq:this.L3(a)).slice(),b=0;b<a.length;b++){for(var f=a[b],d=f.jn(),e=0,q=0,o=d.length,t=0;t<d.length;t++){var s=this.uA(d[t]),e=e+s.hY;s.status==g.R&&q++}f.bxa(e/o);if(q==o){f.BY();this.Pq=c(this.Pq).without(f)}}};b.prototype.uA=function(a){var b=this.U2[a];b||(this.U2[a]=b=new g);return b};b.prototype.L3=function(a){for(var b=[],f=0;f<this.Pq.length;f++){var d=this.Pq[f];c(d.jn()).contains(a)&&b.push(d)}return b};b.prototype.Hla=function(a,b){var c=new f(b);this.dd[a]=
c;c.bind(d.R,this.vB,this,p);c.bind(d.ie,this.wB,this,p);c.load(a)};b.prototype.jra=function(a){var b=this.dd[a];delete this.dd[a];b.unbind(d.R,this.vB,this);b.unbind(d.ie,this.wB,this);b.cancel()};b.prototype.vB=function(a){var a=a.source.uk(),b=this.uA(a);b.hY=100;b.status=g.R;this.a$(a)};b.prototype.wB=function(a){for(var a=a.source.uk(),b=this.L3(a),c=0;c<b.length;c++){var f=b[c];this.si(f);f.Dwa()}e.log("Error loading: "+a)};b.Ed=new b;return b.Ed});
define("kk",["require","is","fF","r"],function(a){var b=a("is"),c=a("fF"),e=a("r"),d={DS:m,exa:P("DS"),cQ:m,Awa:P("cQ"),createTexture:function(){var a=new THREE.Texture;a.image=d.ty();a.userData={};a.userData.qda={};return a},Osa:function(a){a.image!=this.ty()&&(a.image=this.ty(),a.needsUpdate=p)},tM:function(a,b){b=this.wta(b);a.generateMipmaps=this.Nga(b);if(a.generateMipmaps)a.minFilter=THREE.LinearMipMapLinearFilter,a.anisotropy=Math.min(this.oja(b),e.Uaa().Oba),!c.Jba(b.width)||!c.Jba(b.height)?
(a.sm||(a.sm=document.createElement("canvas"),a.sm.dK=p),a.image=a.sm,a.sm.ja=b,a.image.width=c.Kaa(b.width),a.image.height=c.Kaa(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.lE(b)&&c.Bda(b)){a.bl||(a.bl=document.createElement("canvas"),a.fla=a.bl.getContext("2d"),a.bl.dK=p);var k=b.videoWidth;c.mj()&&(k=Math.min(4096,k));var j=k*b.videoHeight/b.videoWidth;if(a.bl.width!=k||a.bl.height!=j)a.bl.width=k,a.bl.height=
j;b.readyState>=b.HAVE_CURRENT_DATA&&a.fla.drawImage(b,0,0,k,j);a.image=a.bl}else a.image=b;a.sm&&a.image!=a.sm&&(d.ZK(a.sm),delete a.sm);a.needsUpdate=p;if((k=d.uX(a))&&k.isShaderMaterial)k.needsUpdate=p;c.wba()},wta:function(a){a?c.JX(a)?a=b.pe(a,z):c.Kba(a)?a=this.ty():c.lE(a)&&!(a.readyState>=a.HAVE_CURRENT_DATA&&0<a.videoWidth&&0<a.videoHeight)&&(a=this.ty()):a=this.ty();return a},Ysa:function(a,b,d,e,n){var i=document.createElement("canvas");i.width=c.Bn();i.height=c.Bn();i.dK=p;var l=i.getContext("2d");
if(!l)return r;l.drawImage(a,b,d,e,n,0,0,c.Bn(),c.Bn());this.dL(i);return i},ZK:function(a){c.Cba(a)&&a.dK&&(delete a.dK,a.width=0,a.height=0)},dispose:function(a){a.bl&&a.bl!=a.image&&this.ZK(a.bl);a.image&&this.ZK(a.image);a.dispose()},uM:function(a,b,c){b?(a.m9=p,a.l9=c||1):(delete a.m9,delete a.l9)},oja:function(a){return a&&a.l9||1},wxa:function(a,b){a.userData.qda.material=b},uX:function(a){return a.userData.qda.material},Dsa:function(a){return c.IX(a)},daa:function(a){c.JX(a)&&(a=b.pe(a,z));
c.IX(a)&&this.dL(a)},dL:function(a){var b=document.createElement("canvas");b.width=1;b.height=1;var c=b.getContext("2d");d.dL=function(a){c.drawImage(a,0,0,1,1,0,0,1,1)};return d.dL(a)},$P:r,ty:function(){if(!this.$P){var a=document.createElement("canvas");a.width=128;a.height=128;a.getContext("2d").clearRect(0,0,a.width,a.height);this.$P=a}return this.$P},Nga:function(a){if(c.dva(a))return z;if(c.Cba(a))return!!a.m9;if(e.Va()){if(this.DS!==m)return this.DS}else if(this.cQ!==m)return this.cQ;return z}};
return d});
define("bT",["require","fF","kk"],function(a){function b(a){this.VE=(a=c.Qr(a))&&c.mba();this.gE=a&&c.lba();this.Fr=0;this.Um=m;this.LD=this.MD=0;this.YX={}}var c=a("fF"),e=a("kk"),d={mX:function(a){return a.map||a.uniforms&&a.uniforms.texture&&a.uniforms.texture.value},Jr:function(a,b){a||(a=e.createTexture());b||(b=new d.vn);var c;c=b.iwa()?this.Vsa(a,b):this.NW(a);for(var j in b.YX)c[j]=b.YX[j];return c},NW:function(a){var b=new THREE.MeshBasicMaterial;b.map=a;this.d1(b);return b},Vsa:function(a,b){var c=
{uniforms:{},transparent:p};c.uniforms.texture={type:"sampler2D",value:a};a.flipY=!b.VE;c.vertexShader=["varying vec2 vUV;\nvoid main() {","\tvUV = vec2( uv.x, "+(b.VE?"1.0 - uv.y":"uv.y")+");","\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}"].join("\n");if(b.gE||b.Fr||b.Um){var d=[],e=[],d=d.concat(["uniform sampler2D texture;","uniform float opacity;","varying vec2 vUV;"]);c.uniforms.opacity={type:"float",value:1};e=e.concat(["   vec4 color = texture2D(texture, vUV);",
"   float alpha = color.a * opacity;"]);if(b.Fr){var i=a.image.width||a.image.videoWidth,l=a.image.height||a.image.videoHeight,q=0.5*Math.min(i,l)*b.Fr;c.uniforms.blendingLimit={type:"v2",value:new THREE.Vector2(q/i,q/l)};d=d.concat(["uniform vec2 blendingLimit;"]);e=e.concat("   float xCoef = 0.0;,   float yCoef = 0.0;,   if (vUV.x < blendingLimit.x) {,      xCoef = 1.0 - (vUV.x / blendingLimit.x);,      xCoef = xCoef * xCoef;,   } else if ((1.0 - vUV.x) < blendingLimit.x) {,      xCoef = 1.0 - ((1.0 - vUV.x) / blendingLimit.x);,      xCoef = xCoef * xCoef;,   },   if (vUV.y < blendingLimit.y) {,      yCoef = 1.0 - (vUV.y / blendingLimit.y);,      yCoef = yCoef * yCoef;,   } else if ((1.0 - vUV.y) < blendingLimit.y) {,      yCoef = 1.0 - ((1.0 - vUV.y) / blendingLimit.y);,      yCoef = yCoef * yCoef;,   },   alpha = alpha * (1.0 - sqrt(xCoef + yCoef));".split(","))}b.Um&&
(c.uniforms.chromaColor={type:"v3",value:new THREE.Vector3(parseInt(b.Um.substr(1,2),16)/255,parseInt(b.Um.substr(3,2),16)/255,parseInt(b.Um.substr(5,2),16)/255)},c.uniforms.chromaThreshold={type:"f",value:b.MD},c.uniforms.chromaSmoothing={type:"f",value:b.LD},d=d.concat(["uniform vec3 chromaColor;","uniform float chromaThreshold;","uniform float chromaSmoothing;"]),e=e.concat("    float maskY = 0.2989 * chromaColor.r + 0.5866 * chromaColor.g + 0.1145 * chromaColor.b;{    float maskCr = 0.7132 * (chromaColor.r - maskY);{    float maskCb = 0.5647 * (chromaColor.b - maskY);{    float Y = 0.2989 * color.r + 0.5866 * color.g + 0.1145 * color.b;{    float Cr = 0.7132 * (color.r - Y);{    float Cb = 0.5647 * (color.b - Y);{    float chromaBlendValue = smoothstep(chromaThreshold, chromaThreshold + chromaSmoothing, distance(vec2(Cr, Cb), vec2(maskCr, maskCb)));{    alpha = alpha * chromaBlendValue;".split("{")));
e=e.concat(["\tgl_FragColor = vec4(color"+(b.gE?".bgr":".rgb")+", alpha);"]);a.format=THREE.RGBAFormat;c.fragmentShader=[].concat(d,["void main() {"],e,["}"]).join("\n")}else c.fragmentShader="uniform sampler2D texture;\nvarying vec2 vUV;\nvoid main() {\n\tgl_FragColor = texture2D(texture, vUV);\n}";c=new THREE.ShaderMaterial(c);this.d1(c);return c},dispose:function(a){Array.isArray(a)||(a=[a]);a.forEach(function(a){var b=d.mX(a);b&&e.dispose(b);a.dispose()})},d1:function(a){a.side=THREE.DoubleSide;
a.transparent=p;a.depthTest=z;a.needsUpdate=p;a.userData={};a.userData.Nba={};e.wxa(d.mX(a),a)},DY:function(a,b){a.userData.Nba.xk=b},Faa:function(a){return a.userData.Nba.xk}};b.prototype.iwa=function(){return this.VE||this.gE||this.Fr||this.Um};b.prototype.isEqual=function(a){return this.VE===a.VE&&this.gE===a.gE&&this.Fr===a.Fr&&this.Um===a.Um&&this.MD===a.MD&&this.LD===a.LD};d.vn=b;return d});
define("ds",["require","gP","bT"],function(a){function b(a){return Array.isArray(a)?a:a?[a]:[]}var c=a("gP"),e=a("bT"),d={create:function(a,c){var d=new THREE.Mesh(a,c);d.overdraw=z;d.matrixAutoUpdate=z;d.userData.np={};d.userData.np.attributes={};b(c).forEach(function(a){e.DY(a,d)});return d},Z$:function(a){var b=new THREE.Group;d.forEach(a,function(a){b.add(a)});return b},dxa:function(a,c){b(c).forEach(function(a){e.DY(a,r)});e.dispose(a.material);a.material=c;b(c).forEach(function(b){e.DY(b,a)})},
Or:function(a){return b(a.material)},Wta:function(a,b){if(a.layers.mask&b.layers.mask){var e=d.Or(a);return c.Vta(a.geometry,b,a.matrixWorld).map(function(a){return e[a]})}return[]},Gwa:function(a,b){a.geometry=b},Sta:function(a,b){var k=[];d.Kg(a,function(a){var f=d.Or(a);b.forEach(function(b){var d=c.Rta(a.geometry,a.matrixWorld,b);if(d){var g=e.mX(f[d.materialIndex]),b=g.image;b==g.sm&&(b=g.sm.ja);g=Math.round(d.tda*b.width-0.5);g=0>g?0:g>b.width-1?b.width-1:g;d=Math.round((1-d.xda)*b.height-0.5);
d=0>d?0:d>b.height-1?b.height-1:d;k.push({x:g,y:d,source:b})}})});return k},lM:function(a,b){d.forEach(a,function(a){b?b.add(a):a.parent&&a.parent.remove(a)})},cs:"panoramaId",wv:"panoramaFrameId",CM:"panoramaOverlayId",BM:"levelIndex",setAttribute:function(a,b,c){d.Kg(a,function(a){a.userData.np.attributes[b]=c})},getAttribute:function(a,b){return a.userData.np.attributes[b]},laa:function(a,b,c){for(var d=[],e=0,i=a.length;e<i;e++){var l=a[e];l.userData.np.attributes[b]!==c&&d.push(l)}return d},
bL:function(a,b,c){for(var d=[],e=0,i=a.length;e<i;e++){var l=a[e];l.userData.np.attributes[b]===c&&d.push(l)}return d},Waa:function(a,b){for(var c={},d=0,e=a.length;d<e;d++){var i=a[d],l=i.userData.np.attributes[b];l!==m&&(c[l]||(c[l]=[])).push(i)}return c},jL:function(a){a=a.userData.np.alpha;return a===m?1:a},ud:function(a,b){d.Kg(a,function(a){a.userData.np.alpha=b;d.Or(a).forEach(function(a){a.opacity=b;"ShaderMaterial"==a.type&&a.uniforms&&a.uniforms.opacity&&(a.uniforms.opacity.value=b)})})},
Kl:function(a,b){d.Kg(a,function(a){a.matrix.copy(b);a.matrixWorldNeedsUpdate=p})},Taa:function(a){return a.renderOrder},oM:function(a,b){d.forEach(a,function(a){a.renderOrder=b})},dispose:function(a){d.Kg(a,function(a){a.geometry&&(a.geometry.dispose(),a.geometry=m);a.material&&(e.dispose(a.material),a.material=m)})},li:function(a){var b=[];d.Kg(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)},Kg:function(a,
b){if(Array.isArray(a))for(var c=0,e=a.length;c<e;c++)d.Kg(a[c],b);else if(a&&a.children){c=0;for(e=a.children.length;c<e;c++)d.Kg(a.children[c],b)}a&&a.isObject3D&&a.isMesh&&b(a)}};return d});
define("M",["require","ds"],function(a){var b=a("ds");return{li:function(a){var e=[];a.children&&a.children.forEach(function(a){b.Kg(a,function(a){a.userData&&a.userData.np&&e.push(a)})});return e},xY:function(a,b){a.userData.RK=b},bX:function(a){return a.userData.RK||[]},Mr:function(a){return a.userData.RK&&0<a.userData.RK.length&&a.userData.RK[0]||r}}});
define("X","require,bi,r,cR,M,fF".split(","),function(a){var b=a("bi");a("r");var c=a("cR"),e=a("M"),d=a("fF"),f=180/Math.PI;return{tea:function(a,b){var c,f;this.setSize=function(b,d){if(c!=b||f!=d){c=b;f=d;a.setSize(b,d)}};this.start=function(c){e.xY(c,[b]);a.setPixelRatio(d.getPixelRatio())};this.stop=D();this.fov=function(){return b.fov};this.bZ=D();this.Ec=function(){return b};this.render=function(c,d,f){a.setRenderTarget(d);f&&a.clear();a.render(c,b)}},Qea:function(a,d){var j,n,i,l,q=new THREE.Vector2,
o=new THREE.PerspectiveCamera;o.layers.enable(c.na);var t=new THREE.PerspectiveCamera;t.layers.enable(c.Ja);this.start=function(c){a.getSize(q);j=a.getPixelRatio();n=q.width;i=q.height;l=a.getContext().getParameter(a.getContext().FRAMEBUFFER_BINDING);var d=b.oL();d.SD&&a.getContext().bindFramebuffer(a.getContext().FRAMEBUFFER,d.SD);a.setClearColor(0,1);a.setDrawingBufferSize(d.tk,d.ij,d.eL);e.xY(c,[o,t])};this.stop=function(){a.getContext().bindFramebuffer(a.getContext().FRAMEBUFFER,l);a.setClearColor(0,
0);a.setDrawingBufferSize(n,i,j)};this.setSize=function(a,b){n=a;i=b};this.fov=function(){return t.fov};this.Ec=function(){return t};this.bZ=function(){d.updateProjectionMatrix();d.updateMatrixWorld();b.an().views.forEach(function(a){var c=a.eye==b.xj.na?o:a.eye==b.xj.Ja?t:r;if(c){d.matrixWorld.decompose(c.position,c.quaternion,c.scale);c.applyQuaternion(a.orientation);c.translateOnAxis(a.position,1);c.projectionMatrix.copy(a.projectionMatrix);c.fov=2*Math.atan(1/c.projectionMatrix.elements[5])*f}})};
this.render=function(c,d,f){var e=c.autoUpdate;if(e){c.updateMatrixWorld();c.autoUpdate=z}if(d){a.setRenderTarget(d);d.scissorTest=p}else{a.setRenderTarget(r);a.setScissorTest(p)}(a.autoClear||f)&&a.clear();b.an().views.forEach(function(f){var e=f.eye==b.xj.na?o:f.eye==b.xj.Ja?t:r;if(e){if(d){d.viewport.set(f.viewport.x,f.viewport.y,f.viewport.width,f.viewport.height);d.scissor.set(f.viewport.x,f.viewport.y,f.viewport.width,f.viewport.height)}else{a.setViewport(f.viewport.x,f.viewport.y,f.viewport.width,
f.viewport.height);a.setScissor(f.viewport.x,f.viewport.y,f.viewport.width,f.viewport.height)}a.render(c,e)}});a.getSize(q);if(d){d.viewport.set(0,0,q.width,q.height);d.scissor.set(0,0,q.width,q.height);d.scissorTest=z;a.setRenderTarget(r)}else{a.setViewport(0,0,q.width,q.height);a.setScissorTest(z)}if(e)c.autoUpdate=p}},Jea:function(a,b){var f,n,i=1,l=new THREE.WebGLCubeRenderTarget(1024),q=new THREE.CubeCamera(0.1,1E4,l);q.layers.enable(c.tn);q.layers.enable(c.na);l=new THREE.ShaderMaterial;l.uniforms=
{tCube:{value:q.renderTarget.texture},tFlip:{value:1},opacity:{value:1}};l.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";l.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";
l.side=THREE.BackSide;l.depthWrite=z;l.transparent=p;l.depthTest=z;l.needsUpdate=p;var o=new THREE.Mesh(new THREE.SphereBufferGeometry(5,64,64),l);o.overdraw=z;o.matrixAutoUpdate=z;o.renderOrder=1E3;var t=new THREE.Matrix4;this.qv=function(a){i=a};this.setSize=function(b,c){if(f!=b||n!=c)a.setSize(f=b,n=c)};this.start=function(c){c.add(o);c.add(q);c.traverse(function(a){if(a.layers.test(q.layers)){a.userData.NX=a.layers.mask;a.layers.mask=q.layers.mask}});q.visible=p;o.visible=p;e.xY(c,[b]);a.setClearColor(16777215,
1);a.setPixelRatio(d.getPixelRatio())};this.stop=function(b){a.setClearColor(0,0);b.traverse(function(a){if(a.userData.NX!==m){a.layers.mask=a.userData.NX;delete a.userData.NX}});q.visible=z;o.visible=z;b.remove(o);b.remove(q)};this.fov=function(){return b.fov};this.bZ=function(){if(i>0){o.matrix.copy(b.matrixWorld);o.matrix.multiply(t.makeTranslation(0,0,-i*5));o.matrixWorldNeedsUpdate=p}};this.Ec=function(){return b};var s=0;this.render=function(c,f,e){if(i>0){s++;if(!d.Nua()||s%10==0){d.twa();
o.visible=z;q.update(a,c);o.visible=p}}a.setRenderTarget(f);e&&a.clear();a.render(c,b)}}}});
define("dD","require,jquery.mod,ih,kf,cR,ij,bJ,X,gP,fF,bi".split(","),function(a){function b(){this.J=c("<div/>");this.J.css({position:"absolute",left:0,top:0,right:0,bottom:0,"z-index":0,cursor:"inherit"});this.pb=new THREE.PerspectiveCamera(90,16/9,0.1,2*j.Gd);this.pb.layers.enable(f.na);this.CG=new THREE.PerspectiveCamera;this.gk=new THREE.Scene;this.v2=new THREE.Scene;this.w2=new THREE.Scene;window.Pya=THREE;this.gk.add(this.pb);this.Sn=this.kq=this.g=r;this.At=0;this.Co=this.cg=this.RU=this.mW=
r;this.JP=z}var c=a("jquery.mod"),e=a("ih"),d=a("kf"),f=a("cR"),g=a("ij");a("bJ");var k=a("X"),j=a("gP"),n=a("fF"),i=a("bi");b.prototype.Mr=R("CG");b.prototype.yta=function(){return this.cg.fov(this.pb)};b.prototype.getPixelRatio=function(){return this.g.getPixelRatio()};b.prototype.Kb=R("J");b.prototype.Bta=function(){return this.g?this.g.domElement.width:this.J.width()};b.prototype.Ata=function(){return this.g?this.g.domElement.height:this.J.height()};b.prototype.update=function(a){this.Lra(a);
this.ura(a);this.ora(a);this.Jra(a)};b.prototype.render=function(){this.jJ()};b.prototype.Lra=function(a){if(a.enabled){this.At=(new Date).getTime();this.g||this.Ppa(a);i.jM(this.g.getContext())}if(this.JP=a.enabled&&!a.Lb){this.kq.setSize(a.width,a.height);this.Sn.setSize(a.width,a.height)}};b.prototype.Ppa=function(a){if(!this.g&&a.enabled){for(;l.length>=q;){l.sort(function(a,b){return a.At-b.At});l[0].cha()}l.push(this);var b=this.Kb().get(0);this.kq=new THREE.oZ;this.kq.domElement.style.position=
"absolute";this.kq.domElement.style.zIndex=0;b.appendChild(this.kq.domElement);var c={precision:"mediump",alpha:p};if(l.length==1&&a.Lb){a=i.Ru();c.context=a;c.canvas=a.canvas}else{c.canvas=document.createElement("canvas");c.context=n.OW(c.canvas,a.MK)}this.g=new THREE.WebGLRenderer(c);this.g.domElement.style.position="absolute";this.g.domElement.style.zIndex=1;this.g.domElement.style.pointerEvents="none";this.g.setClearColor(0,0);b.appendChild(this.g.domElement);this.Sn=new THREE.oZ;this.Sn.domElement.style.position=
"absolute";this.Sn.domElement.style.zIndex=2;this.Sn.domElement.style.pointerEvents="none";b.appendChild(this.Sn.domElement);this.Co=new g(this.g,function(a,b,c,d,f){this.cg.render(b,d,f)}.bind(this));this.RU=new k.tea(this.g,this.pb);this.a9=new k.Jea(this.g,this.pb);this.mW=new k.Qea(this.g,this.pb);i.by(this.g.getContext())}};b.prototype.cha=function(){if(this.g){l.splice(l.indexOf(this),1);this.cg=this.RU=this.mW=r;this.Co.destroy();this.Co=r;i.aM(this.g.getContext());var a=this.Kb().get(0);a.Yva(this.Sn.domElement);
this.Sn=r;a.removeChild(this.g.domElement);this.g.dispose();this.g=r;a.Yva(this.kq.domElement);this.kq=r}};b.prototype.ora=function(a){this.pb.quaternion.copy(d.paa(a.ha,a.pitch,a.jd));this.pb.fov=e.vk(a.Yc,a.width,a.height);this.pb.aspect=a.width/a.height;this.pb.updateProjectionMatrix();this.pb.updateMatrixWorld();this.cg&&this.cg.bZ();this.cg&&this.CG.copy(this.cg.Ec());this.CG.updateProjectionMatrix();this.CG.updateMatrixWorld();this.gk.autoUpdate===p&&this.gk.updateMatrixWorld()};b.prototype.ura=
function(a){var b=a.Lb?this.mW:a.qi>0?this.a9:this.RU;if(this.cg!=b){this.cg&&this.cg.stop(this.gk);(this.cg=b)&&this.cg.start(this.gk)}if(this.cg){this.cg.setSize(a.width,a.height);this.cg==this.a9&&this.cg.qv(a.qi)}};b.prototype.Jra=function(a){this.Co&&(a.TL?this.Co.yY(g.DN):a.hL&&!a.Lb?this.Co.yY(g.JZ):this.Co.yY(g.NONE))};b.prototype.jJ=function(){this.Co&&this.Co.render(this.gk,this.pb);if(this.JP){this.kq.render(this.v2,this.pb);this.Sn.render(this.w2,this.pb)}};var l=[],q=10;return b});
define("gN",["require","fb","eJ","fF"],function(a){var b=a("fb"),c=a("eJ"),e=a("fF"),a=b.extend(c,function(){c.call(this);this.P=this.Za=r;this.rc=[];this.wH=this.Vo=z;this.sB=r;this.$g=[this];this.Nm={};this.jm={};this.DA=z;this.OT={};this.PT={};this.Ok(["blendingActive"]);this.pfa();this.set("alpha",1);this.set("translationX",0);this.set("translationY",0);this.set("translationZ",0);this.set("deltaYaw",0);this.set("deltaPitch",0);this.set("deltaRoll",0);this.set("flipHorizontally",z);this.set("index",
0)});a.prototype.pfa=function(){var a="alpha,deltaYaw,deltaPitch,deltaRoll,translationX,translationY,translationZ".split(",");Array.isArray(a)||(a=[a]);a.forEach(function(a){this.OT[a]=p}.bind(this))};a.prototype.Ok=function(a){Array.isArray(a)||(a=[a]);a.forEach(function(a){this.PT[a]=p}.bind(this))};a.prototype.set=function(a,b){this.Nm[a]!==b&&(this.PT[a]&&this.rc.forEach(function(c){c.set(a,b)}),this.Ofa(a,b),this.wU(a))};a.prototype.get=function(a){return this.Nm[a]};a.prototype.wU=function(a){this.jm[a]||
(this.jm[a]=p,this.DA||(this.DA=p,this.Oa()),this.OT[a]&&this.rc.forEach(function(b){b.wU(a)}))};a.prototype.eha=function(){this.DA&&(this.DA=z,this.jm={})};a.prototype.o=function(){if(this.DA)for(var a=0;a<arguments.length;a++)if(this.jm[arguments[a]])return p;return z};a.prototype.Ofa=function(a,b){this.Nm[a]=b};a.prototype.Na=R("rc");a.prototype.uh=function(a){for(var b=a||[],c=this.rc.slice(),a=b.length!=c.length,e=0;e<b.length&&!a;e++)a=b[e]!=c[e];a&&(a=c.filter(function(a){return-1==b.indexOf(a)}),
e=b.filter(function(a){return-1==c.indexOf(a)}),this.rc=b,a.forEach(function(a){a.HJ(r)}),e.forEach(function(a){a.remove();a.HJ(this)}.bind(this)),this.Oa())};a.prototype.HJ=function(a){this.P!=a&&(this.P&&this.aj(),(this.P=a)&&this.Pk(),this.DU(this.P&&this.P.Za))};a.prototype.Pk=function(){for(var a in this.P.OT)this.wU(a);for(a in this.P.PT)this.set(a,this.P.get(a))};a.prototype.aj=D();a.prototype.DU=function(a){this.Za!=a&&(a||this.mb(),(this.Za=a)&&this.jb(),this.rc.forEach(function(a){a.DU(this.Za)}.bind(this)))};
a.prototype.jb=function(){this.Gfa()};a.prototype.mb=function(){this.aoa()};a.prototype.Gfa=function(){this.$g.forEach(function(a){this.Za.sB.add(a,this)}.bind(this))};a.prototype.aoa=function(){this.$g.forEach(function(a){this.Za.sB.remove(a,this)}.bind(this))};a.prototype.nk=function(){this.P&&this.P.GW(this)};a.prototype.GW=function(a){var b=this.rc.indexOf(a);-1==b&&h("Child not found");b!=this.rc.length-1&&(this.rc.splice(b,1),this.rc.push(a),this.Oa())};a.prototype.mta=function(a){var b=this.rc.indexOf(a);
-1==b&&h("Child not found");this.rc.splice(b,1);a.HJ(r);this.Oa()};a.prototype.appendChild=function(a){a.remove();this.rc.push(a);a.HJ(this);this.Oa()};a.prototype.remove=function(){this.P&&this.P.mta(this)};a.prototype.sj=D();a.prototype.Oa=function(){this.Vo||(this.Vo=p,this.P&&this.P.Oa(this))};a.prototype.lha=function(){this.Vo=z};a.prototype.eU=function(){this.wH||(this.wH=p,this.P&&this.P.eU())};a.prototype.hha=function(){this.wH=z};a.prototype.I=function(){this.U9();this.o("translationX","translationY",
"translationZ")&&(this.set("composedTranslationX",this.get("translationX")+(this.P?this.P.get("composedTranslationX"):0)),this.set("composedTranslationY",this.get("translationY")+(this.P?this.P.get("composedTranslationY"):0)),this.set("composedTranslationZ",this.get("translationZ")+(this.P?this.P.get("composedTranslationZ"):0)));this.o("deltaYaw","deltaPitch","deltaRoll")&&(this.set("composedDeltaYaw",this.get("deltaYaw")+(this.P?this.P.get("composedDeltaYaw"):0)),this.set("composedDeltaPitch",this.get("deltaPitch")+
(this.P?this.P.get("composedDeltaPitch"):0)),this.set("composedDeltaRoll",this.get("deltaRoll")+(this.P?this.P.get("composedDeltaRoll"):0)),e.wba())};a.prototype.U9=function(){this.o("alpha")&&this.set("composedAlpha",this.get("alpha")*(this.P?this.P.get("composedAlpha"):1))};return a});
define("jK","require,fb,kV,fZ,eJ,bT,kk".split(","),function(a){var b=a("fb"),c=a("kV"),e=a("fZ"),d=a("eJ"),f=a("bT"),g=a("kk"),k=b.extend(d,function(){d.call(this);this.Td=m;this.lc=g.createTexture();this.m=k.sz;this.$A=e.Bj});k.prototype.type=R("Td");k.prototype.texture=R("lc");k.prototype.material=function(){return this.lc&&g.uX(this.lc)};k.prototype.xk=function(){var a=this.lc&&g.uX(this.lc);return a&&f.Faa(a)};k.prototype.axa=P("$A");k.prototype.load=function(){if(this.m==k.sz){this.m=k.AF;this.RO()}};
k.prototype.Hsa=function(){if(this.jva()){this.m==k.AF?this.$J():this.LC();this.m=k.sz}};k.prototype.unload=function(){if(this.m!=k.sz){this.m==k.AF?this.$J():this.m==k.RN?this.LC():this.yr();this.m=k.sz}};k.prototype.RO=D();k.prototype.$J=D();k.prototype.PO=D();k.prototype.LC=D();k.prototype.yr=function(){g.Osa(this.texture)};k.prototype.jva=function(){return this.m==k.AF||this.m==k.RN};k.prototype.PX=function(){return this.m==k.QN||this.m==k.G_};k.prototype.dispose=function(){g.dispose(this.lc);
this.lc=r};k.prototype.bx=function(a){this.m=a?k.RN:k.G_;a?this.PO():this.trigger(c.ie)};k.prototype.q5=function(){this.m=k.QN;this.trigger(c.R)};k.sz="initial";k.AF="loading";k.RN="adding";k.G_="error loading";k.QN="added";k.Mea="custom";k.Nea="image tile";k.Qya="image animation";k.Rya="video 360";return k});
define("dS","require,fb,kV,bR,is,kk,jK".split(","),function(a){var b=a("fb"),c=a("kV"),e=a("bR"),d=a("is"),f=a("kk"),g=a("jK"),a=b.extend(g,function(a){g.call(this);this.Td=g.Mea;this.Jd=a;if(!this.Jd)this.m=g.QN;this.oe=this.de=r;this.AO=this.rD=m});a.prototype.pi=function(a){this.oe=a;f.tM(this.lc,this.oe);this.oe&&this.rD!==m&&f.uM(this.oe,this.rD,this.AO)};a.prototype.uM=function(a,b){if(this.rD!==a){this.rD=a;this.AO=b;this.oe&&f.uM(this.oe,this.rD,this.AO)}};a.prototype.pe=function(){return d.pe(this.Jd)};
a.prototype.update=function(){f.tM(this.lc,this.oe)};a.prototype.RO=function(){this.Jd?this.HP():this.bx(p)};a.prototype.$J=function(){this.Wn()};a.prototype.PO=function(){this.q5()};a.prototype.yr=function(){this.Wn()};a.prototype.dispose=function(){this.Wn();g.prototype.dispose.call(this)};a.prototype.Lf=function(){this.bx(p)};a.prototype.Sq=function(){this.bx(z)};a.prototype.HP=function(){if(!this.de){this.de=new e;this.de.NY([this.Jd]);this.de.bind(c.R,this.Lf,this,p);this.de.bind(c.ie,this.Sq,
this,p);d.ln(this.de,this.$A)}};a.prototype.Wn=function(){if(this.de){this.de.unbind(c.R,this.Lf,this,p);this.de.unbind(c.ie,this.Sq,this,p);d.si(this.de,this.$A);this.de=r}};return a});
define("jy","require,fb,kV,eJ,ds,M".split(","),function(a){function b(a,b){return a.reduce(function(a,c){return a?p:!!(b.layers.mask&c.layers.mask)},z)}function c(a){a=f(a).loaded;return a===m?z:a}function e(a){a=f(a).zW;return a===m?p:a}function d(a){a=f(a).blending;return a===m?z:a}function f(a){return a.userData.tva||(a.userData.tva={})}var g=a("fb"),k=a("kV"),j=a("eJ"),n=a("ds"),i=a("M"),a=g.extend(j,function(){j.call(this);this.m=m;this.BS=z});a.prototype.update=function(a){var b=a.Lb&&this.m&&
!this.m.Lb;this.m=a.clone();this.BS||(b?this.Lka():this.Ara())};a.prototype.Ara=function(){var a=z,f=i.bX(this.m.re),g=i.li(this.m.re);n.bL(g,n.wv,m).forEach(function(c){var d=b(f,c)&&n.jL(c)>0&&e(c);if(c.visible!=d){c.visible=d;a=p}});var g=n.laa(g,n.wv,m),g=n.Waa(g,n.cs),j;for(j in g){var s=g[j],u=f.map(S(z));s.sort(function(a,b){return n.Taa(b)-n.Taa(a)});var v=s.some(d);s.forEach(function(d){var g=b(f,d)&&n.jL(d)>0&&e(d)&&(!v||c(d));if(g){for(var g=p,i=v||c(d)&&n.jL(d)>0.999,j=0;j<f.length;j++)if(d.layers.mask&
f[j].layers.mask&&!u[j]){g=z;i&&(u[j]=p)}g=!g}if(d.visible!=g){d.visible=g;a=p}})}a&&this.trigger(k.aa)};a.prototype.Lka=function(){this.BS=p;i.li(this.m.re).forEach(function(a){a.visible=z});setTimeout(function(){this.BS=z;this.update(this.m)}.bind(this),300);this.trigger(k.aa)};a.BY=function(a,b){f(a).loaded=b};a.setActive=function(a,b){f(a).zW=b};a.Jca=function(a,b){n.Kg(a,function(a){f(a).blending=b})};return a});
define("hO","require,fb,kV,fZ,eJ,jy,bT,ds,M,r".split(","),function(a){function b(a){return(a=a.userData.Ck)&&!(!a.TX&&!a.RX)}function c(a){return a.userData.Ck||(a.userData.Ck={})}function e(a){return c(a).tv}function d(a){return c(a).enabled||z}function f(a){return!e(a).PX()}var g=a("fb"),k=a("kV");a("fZ");var j=a("eJ"),n=a("jy"),i=a("bT"),l=a("ds"),q=a("M"),o=a("r"),t=g.extend(j,function(){j.call(this);this.Vw=[];this.Oq=[];this.Rv=[];this.m=m;this.Km=r;this.zr=this.zr.bind(this)});t.prototype.update=
function(a){this.m=a.clone();this.kra()?this.zr():this.c$()};t.prototype.c$=function(){if(!this.Km)this.Km=setTimeout(this.zr,1E3)};var s=Math.PI/180;t.prototype.kra=function(){var a=this.m.qi>0?1E3:this.m.JD/Math.tan(Math.min(this.m.vf*0.5,89.99)*s);o.Va()||(a=a*1.5);var f=q.bX(this.m.re),e=q.li(this.m.re).filter(b),g=e.filter(d),i={},i=l.laa(g,l.wv,m),i=l.Waa(i,l.wv);i.none=l.bL(g,l.wv,m);var g=[],j;for(j in i)for(var k=i[j],u=0,K=k.length;u<K;u++){var G=k[u];(c(G).TX||t.sF)==t.Lk&&g.push(G)}for(var F=
0,H=f.length;F<H;F++){var I=f[F];for(j in i){for(var k=i[j],N=r,O=Number.NEGATIVE_INFINITY,C=r,Q=Number.POSITIVE_INFINITY,u=0,K=k.length;u<K;u++){G=k[u];if(G.layers.mask&I.layers.mask&&(c(G).TX||t.sF)==t.sF){var L=c(G).Gva*90;if(L<a&&L>O){N=G;O=L}else if(L>=a&&L<Q){C=G;Q=L}}}if(this.m.Lb&&C&&N)O>0.75*a?g.push(N):g.push(C);else{C&&g.indexOf(C)<0&&g.push(C);N&&g.indexOf(N)<0&&g.push(N)}}}a=[];for(f=0;f<g.length;f++){j=g[f];a.indexOf(j)<0&&a.push(j)}g=a;a:{a=this.Rv;f=g;for(j=0;j<a.length;j++)if(f.indexOf(a[j])<
0){a=z;break a}for(j=0;j<f.length;j++)if(a.indexOf(f[j])<0){a=z;break a}a=p}a=!a;this.Rv=g;u=0;for(K=e.length;u<K;u++){G=e[u];d(G)&&n.setActive(G,this.Rv.indexOf(G)>=0)}return a};t.prototype.zr=function(){this.Km=r;for(var a=[],b=[],d=[],e=(new Date).getTime()-u,g=q.bX(this.m.re),j=q.li(this.m.re),i=0,n=j.length;i<n;i++){var o=j[i],s=o.userData.Ck;if(s){var F=l.Or(o);if(s.enabled){var H=[];if(this.Rv.indexOf(o)>=0){if(this.m.qi>0||(c(o).RX||t.CN)==t.Aj)H=F;else for(var I=0,N=g.length;I<N;I++){var O=
l.Wta(o,g[I]);if(I==0)H=O;else for(var C=0,Q=O.length;C<Q;C++){var L=O[C];H.indexOf(L)<0&&H.push(L)}}C=0;for(Q=H.length;C<Q;C++){L=H[C];(L.userData.Ck||(L.userData.Ck={})).Lba=e}}this.IO(o,H);C=0;for(Q=s.Sl.length;C<Q;C++)a.push(s.Sl[C]);C=0;for(Q=s.tp.length;C<Q;C++)b.push(s.tp[C])}else{s.tp||this.IO(o,[]);C=0;for(Q=s.tp.length;C<Q;C++){L=s.tp[C];s.Sl.indexOf(L)<0&&b.push(L)}}C=0;for(Q=F.length;C<Q;C++)d.push(F[C])}}i=[];C=0;for(Q=this.Oq.length;C<Q;C++){L=this.Oq[C];d.indexOf(L)<0?L.userData.Ck.tv.unload():
f(L)?this.AU(L,z):i.push(L)}this.Oq=i;C=Math.max(t.Pba(),Math.round(b.length*1.25))-a.length;if(this.Oq.length>C){this.Oq.sort(function(a,b){return c(a).Lba-c(b).Lba});i=this.Oq.splice(0,this.Oq.length-C);C=0;for(Q=i.length;C<Q;C++){L=i[C];L.userData.Ck.tv.unload();this.AU(L,z)}}b=[];i=0;for(n=this.Rv.length;i<n;i++){o=this.Rv[i];s=o.userData.Ck;s.Sl.length>0&&b.push(o)}d=Number.POSITIVE_INFINITY;i=0;for(n=b.length;i<n;i++){o=b[i];s=o.userData.Ck;C=s.Nd;C=C!==m?C:Number.POSITIVE_INFINITY;C<d&&(d=
C)}a=[];i=0;for(n=b.length;i<n;i++){o=b[i];s=o.userData.Ck;C=s.Nd;C=C!==m?C:Number.POSITIVE_INFINITY;if(C==d){O=s.Sl;C=0;for(Q=O.length;C<Q;C++){L=O[C];a.push(L)}}}C=0;for(Q=this.Vw.length;C<Q;C++){L=this.Vw[C];if(a.indexOf(L)<0){L=L.userData.Ck.tv;L.unbind(k.R,this.hV,this,p);L.unbind(k.ie,this.iV,this,p);L.Hsa()}}i=this.Vw;this.Vw=a;n=this.Vw.slice();C=0;for(Q=n.length;C<Q;C++){L=n[C];if(i.indexOf(L)<0){L=L.userData.Ck.tv;L.bind(k.R,this.hV,this,p);L.bind(k.ie,this.iV,this,p);L.load()}}};t.prototype.hV=
function(a){this.s9(a.source);this.trigger(k.R)};t.prototype.iV=function(a){this.s9(a.source)};t.prototype.s9=function(a){a.unbind(k.R,this.hV,this,p);a.unbind(k.ie,this.iV,this,p);var b=a.material(),d=this.Vw,f=d.indexOf(b);f>=0&&d.splice(f,1);this.Oq.push(b);this.AU(b,p);a=a.xk();c(a).Sl.indexOf(b)>=0&&this.IO(a,c(a).tp);this.c$()};t.prototype.IO=function(a,b){var d=c(a).tp,d=d?d.length:m,e=c(a).Sl,e=e?e.length:m;c(a).tp=b;c(a).Sl=b.filter(f);n.BY(a,c(a).Sl.length==0&&(c(a).RX||t.CN)==t.Aj);var g=
c(a).tp,g=g?g.length:m,i=c(a).Sl,i=i?i.length:m;if(e!==i||d!==g)a.dispatchEvent({type:k.oc,th:g?100-100*i/g:100});e!==i&&i===0&&a.dispatchEvent({type:k.R})};t.prototype.AU=function(a,c){if(c!=a.visible){var d=i.Faa(a),f=l.getAttribute(d,l.cs),g=l.getAttribute(d,l.BM);if(f===m||g===m)a.visible=c;else{for(var j=q.li(this.m.re).filter(b),f=l.bL(j,l.cs,f),g=l.bL(f,l.BM,g),k=l.Or(d).indexOf(a),d=g.map(function(a){return l.Or(a)[k]}),g=c,f=0;f<d.length&&g;f++)g=g&&e(d[f]).PX();for(f=0;f<d.length;f++)d[f].visible=
g}}};t.Pba=function(){var a;if(o.Va()){o.ge();a=384}else a=1536;a=128;t.Pba=function(){return a};return a};t.kd=function(a,b){l.Kg(a,function(a){c(a).enabled=b})};t.enabled=d;t.iM=function(a,b){l.Kg(a,function(a){c(a).Gva=b})};t.Aj="all";t.CN="in view";t.pn=function(a,b){l.Kg(a,function(a){c(a).RX=b})};t.Lk="always";t.sF="on demand";t.qn=function(a,b){l.Kg(a,function(a){c(a).TX=b})};t.Wy=function(a,b){l.Kg(a,function(a){c(a).Nd=b})};t.nv=function(a,b){l.Kg(a,function(a){c(a).Uza=b;l.Or(a).forEach(function(a){e(a).axa(b)})})};
t.Rza=function(a){return 100-100*c(a).Sl.length/c(a).tp.length};t.Qza=function(a){return c(a).Sl.length==0};t.Xy=function(a,b){(c(a).tv=b)&&(a.visible=b.PX())};t.tv=e;var u=(new Date).getTime();return t});
define("eb","require,fb,gN,dS,bT,ds,M,hO,jy".split(","),function(a){var b=a("fb"),c=a("gN"),e=a("dS"),d=a("bT"),f=a("ds"),g=a("M"),k=a("hO"),j=a("jy"),a=b.extend(c,function(){c.call(this);this.set("tag","ComposedWebGLObject");this.set("webglScene",r);this.set("meshGroup",r);this.set("camera",r);this.set("textureSource",r);this.set("materialConfig",this.xS=new d.vn);this.Rn&&this.Rn();this.bt&&this.bt();this.jq&&this.jq();this.Hj&&this.Hj()});a.prototype.jb=function(){c.prototype.jb.call(this);this.Zj&&
this.Zj();this.fB&&this.fB();this.px&&this.px()};a.prototype.mb=function(){this.Xw&&this.Xw();this.qx&&this.qx();this.ak&&this.ak();f.dispose(this.get("meshGroup"));f.lM(this.get("meshGroup"),r);this.set("meshGroup",r);c.prototype.mb.call(this)};a.prototype.I=function(a){this.Tf&&this.Tf(a);c.prototype.I.call(this,a);this.set("camera",g.Mr(a.re));this.set("webglScene",a.re);if(!this.get("meshGroup")){this.set("meshGroup",f.Z$(this.Gi()));this.get("meshGroup").userData.Cva=this}this.o("webglScene",
"meshGroup")&&f.lM(this.get("meshGroup"),this.get("webglScene"));this.ei();this.Wx&&this.Wx(a);this.Tra();this.Uo&&this.Uo(a);this.Hl&&this.Hl(a);this.tu();this.o("loadingActive","meshGroup")&&k.kd(this.get("meshGroup"),this.get("loadingActive"));this.o("blendingActive","meshGroup")&&j.Jca(this.get("meshGroup"),this.get("blendingActive"))};a.prototype.ei=function(){this.o("composedAlpha","meshGroup")&&this.Tp()};a.prototype.Tp=function(){f.ud(this.get("meshGroup"),this.get("composedAlpha"))};a.prototype.Tra=
function(){if(this.o("textureSource")||this.o("materialConfig")&&!this.xS.isEqual(this.get("materialConfig"))){var a=this.cH();if(a){f.dxa(a,this.lw());this.Tp()}}};a.prototype.tu=function(){if(this.o("index","meshGroup")){var a=this.get("meshGroup");a&&a.children.forEach(function(a,b,c){f.oM(a,this.get("index")+b/c.length)}.bind(this))}};a.prototype.lw=function(){var a=this.get("textureSource")||new e;this.xS=this.get("materialConfig");var b=d.Jr(a.texture(),this.xS);k.Xy(b,a);return[b]};a.prototype.o2=
function(){var a=new e,b=d.Jr(a.texture());k.Xy(b,a);return[b]};a.prototype.$n=function(a){return f.Sta(this.get("meshGroup"),a)};return a});
define("hA",["require","ih","jJ","iZ"],function(a){var b=a("ih"),c=a("jJ"),e=a("iZ"),d=180/Math.PI,f=Math.PI/180;return{gX:function(a,b,d,f,i,l,q){b||(b=a*f/d);i||(i=e.yn);var o={};switch(i){case e.yn:o.width=a;o.height=b;break;case e.NONE:o.width=d;o.height=f;break;case e.Ke:o.width=Math.min(b*d/f,a);o.height=Math.min(a*f/d,b);break;case e.am:o.width=Math.max(b*d/f,a);o.height=Math.max(a*f/d,b);break;case e.Kk:o.width=a;o.height=a*f/d;break;case e.Vg:o.width=b*d/f,o.height=b}o.width>a?(o.Cp=a/o.width,
o.UE=l==c.na?0:l==c.Ja?1-o.Cp:0.5*(1-o.Cp),o.width=a):(o.UE=0,o.Cp=1);o.height>b?(o.Dp=b/o.height,o.XE=q==c.hb?1-o.Dp:q==c.gb?0:0.5*(1-o.Dp),o.height=b):(o.XE=0,o.Dp=1);return o},oX:function(a,k,j,n,i,l,q,o){k||(k=b.vk(a,j,n));i||(i=e.yn);l||(l=4096/360);var t={};switch(i){case e.yn:t.Yc=a;t.Yl=k;break;case e.NONE:t.Yc=2*Math.atan2(0.5*j,45*l)*d;t.Yl=b.vk(t.Yc,j,n);break;case e.Ke:t.Yc=Math.min(b.sn(k,j,n),a);t.Yl=Math.min(b.vk(a,j,n),k);break;case e.am:t.Yc=Math.max(b.sn(k,j,n),a);t.Yl=Math.max(b.vk(a,
j,n),k);break;case e.Kk:t.Yc=a;t.Yl=b.vk(a,j,n);break;case e.Vg:t.Yc=b.sn(k,j,n),t.Yl=k}t.Yc>a?(t.Cp=Math.tan(0.5*a*f)*j/Math.tan(0.5*t.Yc*f)/j,t.UE=q==c.na?0:q==c.Ja?1-t.Cp:0.5*(1-t.Cp),t.Yc=a):(t.UE=0,t.Cp=1);t.Yl>k?(t.Dp=Math.tan(0.5*k*f)*n/Math.tan(0.5*t.Yl*f)/n,t.XE=o==c.hb?1-t.Dp:o==c.gb?0:0.5*(1-t.Dp),t.Yl=k):(t.XE=0,t.Dp=1);return t}}});
define("ky","require,fZ,gP,ds,hA,hO,ih,kf,jJ".split(","),function(a){var b=a("fZ"),c=a("gP"),e=a("ds"),d=a("hA"),f=a("hO"),g=a("ih"),k=a("kf"),j=a("jJ"),n=new THREE.Matrix4,i=Math.PI/180;return{Rn:function(){this.set("distance",m);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",r);this.set("scaleMode",r);
this.set("horizontalAlign",r);this.set("verticalAlign",r);this.set("attachToCamera",z);this.Li=this.iq();this.Ve=new THREE.Matrix4;this.Zb=new THREE.Matrix4;this.$j=new THREE.Matrix4;this.Ii=new THREE.Matrix4;this.kg=new THREE.Matrix4;this.KO=new THREE.Matrix4;this.f1=new THREE.Quaternion;this.h2=new THREE.Matrix4;this.Rz=new THREE.Matrix4;this.bA=new THREE.Matrix4;this.Yp=new THREE.Matrix4;this.ff=new THREE.Matrix4},Uo:function(a){this.Fl(a);this.XV()},XV:function(){if(this.o("hfov","vfov","contentWidth",
"contentHeight","panoramaPixelsPerDegree","scaleMode","horizontalAlign","verticalAlign")){var a=d.oX(this.get("hfov"),this.get("vfov"),this.get("contentWidth"),this.get("contentHeight"),this.get("scaleMode"),this.get("panoramaPixelsPerDegree"),this.get("horizontalAlign"),this.get("verticalAlign"));c.$ca(this.Li[1],a.UE,a.XE,a.Cp,a.Dp)}},cH:function(){var a=this.get("meshGroup");return a?e.li(a)[1]:r},Gi:function(){return[0,1].map(function(a){var c=a==0?this.o2():this.lw(),a=e.create(this.Li[a],c);
f.pn(a,f.Aj);f.qn(a,f.Lk);f.nv(a,b.qz);f.Wy(a,1);return a}.bind(this))},iq:function(){return[c.ly(),c.ly()]},Fl:function(a){var b=z;if(this.o("composedTranslationX","composedTranslationY","composedTranslationZ")){this.Ve.makeTranslation(-this.get("composedTranslationX")*0.5*c.Gd,this.get("composedTranslationY")*0.5*c.Gd,this.get("composedTranslationZ")*0.5*c.Gd);b=p}if(this.o("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")){this.Zb.makeRotationY(-a.ha*i);this.Zb.multiply(n.makeRotationX(-this.get("composedDeltaPitch")*
i));this.Zb.multiply(n.makeRotationY(this.get("composedDeltaYaw")*i));this.Zb.multiply(n.makeRotationY(a.ha*i));b=p}if(this.o("yaw","pitch")){this.$j.makeRotationY(-this.get("yaw")*i);this.$j.multiply(n.makeRotationX(this.get("pitch")*i));b=p}if(this.o("distance","flipHorizontally","scale","hfov","vfov","contentWidth","contentHeight","scaleMode","horizontalAlign","verticalAlign","composedTranslationX","composedTranslationY","composedTranslationZ")){var f=this.P.get("composedTranslationX")==0&&this.P.get("composedTranslationY")==
0&&this.P.get("composedTranslationZ")==0&&this.get("distance")!==m?c.Ou(this.get("distance")):c.ep();this.Ii.makeTranslation(0,0,-f);var t=this.get("contentWidth"),s=this.get("contentHeight"),u=this.get("hfov"),v=this.get("vfov")||g.vk(u,t,s),w=(this.get("flipHorizontally")?-1:1)*this.get("scale"),x=this.get("scale"),y=this.get("scaleMode"),E=this.get("panoramaPixelsPerDegree"),b=this.get("horizontalAlign")||j.Gc,B=this.get("verticalAlign")||j.nc,t=d.oX(u,v,t,s,y,E,b,B),u=w*c.pX(f,u),v=x*c.qX(f,v);
this.Rz.makeScale(u,v,1);w=w*c.pX(f,t.Yc);f=x*c.qX(f,t.Yl);this.bA.makeScale(w,f,1);this.h2.makeTranslation(b==j.na?-(u-w)*0.5:b==j.Ja?(u-w)*0.5:0,B==j.hb?(v-f)*0.5:B==j.gb?-(v-f)*0.5:0,0);b=p}if(this.o("rotationX","rotationY","rotationZ","roll")){this.kg.makeRotationZ(this.get("roll")*i);this.kg.multiply(n.makeRotationY(this.get("rotationY")*i));this.kg.multiply(n.makeRotationX(this.get("rotationX")*i));this.kg.multiply(n.makeRotationZ(this.get("rotationZ")*i));b=p}this.set("cameraYaw",a.ha);this.set("cameraPitch",
a.pitch);this.set("cameraRoll",a.jd);if(this.get("attachToCamera")&&this.o("cameraYaw","cameraPitch","cameraRoll")){this.f1.copy(k.paa(a.ha,a.pitch,a.jd));this.KO.makeRotationFromQuaternion(this.f1);b=p}else if(this.o("attachToCamera")){this.KO.identity();b=p}if(b||this.o("meshGroup")){this.ff.copy(this.Ve);this.ff.multiply(this.Zb);this.ff.multiply(this.KO);this.ff.multiply(this.$j);this.ff.multiply(this.Ii);this.ff.multiply(this.kg);this.Yp.copy(this.ff);this.Yp.multiply(this.Rz);this.ff.multiply(this.h2);
this.ff.multiply(this.bA);a=e.li(this.get("meshGroup"));e.Kl(a[0],this.Yp);e.Kl(a[1],this.ff)}}}});define("hc",["require","fb","eb","ky"],function(a){var b=a("fb"),c=a("eb"),a=a("ky");return b.extend(c,a,function(){c.call(this);this.set("tag","Plane")})});
define("cU","require,fb,kV,eJ,kk,V".split(","),function(a){function b(){if(!n){n=p;k.La(c,r)}}function c(){for(n=z;j.length;){var a=j.shift();a.add();if(a.rva())break}j.length&&b()}var e=a("fb"),d=a("kV"),f=a("eJ"),g=a("kk"),k=a("V"),j=[],n=z,i=e.extend(f,function(a,b){f.call(this);this.texture=a;this.source=b});i.prototype.rva=function(){return!this.source.G0&&g.Dsa(this.source)};i.prototype.daa=function(){if(!this.source.G0){g.daa(this.source);this.source.G0=p}};i.prototype.add=function(){g.tM(this.texture,
this.source);this.trigger(d.R)};i.prototype.remove=function(){var a=j.indexOf(this);a>=0&&j.splice(a,1);g.tM(this.texture,r)};return{add:function(a,c){var f=new i(a,c);j.push(f);b();return f}}});
define("jD","require,fb,kV,bR,is,cU,jK".split(","),function(a){var b=a("fb"),c=a("kV"),e=a("bR"),d=a("is"),f=a("cU");TextureSource=a("jK");a=b.extend(TextureSource,function(a){TextureSource.call(this);this.Td=TextureSource.Nea;this.Jd=a;this.oe=this.ux=this.de=r});a.prototype.pe=R("oe");a.prototype.RO=function(){this.HP()};a.prototype.$J=function(){this.Wn()};a.prototype.PO=function(){this.aia()};a.prototype.LC=function(){this.Wn();this.gQ()};a.prototype.yr=function(){this.Wn();this.gQ()};a.prototype.dispose=
function(){this.Wn();this.gQ();TextureSource.prototype.dispose.call(this)};a.prototype.Lf=function(){this.oe=d.pe(this.Jd);this.bx(p)};a.prototype.Sq=function(){this.bx(z)};a.prototype.r5=function(){this.q5()};a.prototype.HP=function(){if(!this.de){this.de=new e;this.de.NY([this.Jd]);this.de.bind(c.R,this.Lf,this,p);this.de.bind(c.ie,this.Sq,this,p);d.ln(this.de,this.$A)}};a.prototype.Wn=function(){if(this.de){this.de.unbind(c.R,this.Lf,this,p);this.de.unbind(c.ie,this.Sq,this,p);d.si(this.de,this.$A);
this.de=r}};a.prototype.aia=function(){this.ux=f.add(this.lc,this.oe);this.ux.bind(c.R,this.r5,this,p)};a.prototype.gQ=function(){if(this.ux){this.ux.unbind(c.R,this.r5,this,p);this.ux.remove();this.ux=r}};return a});
define("ga",["require"],function(){function a(){this.Dq=b++;this.dB="_map_"+this.Dq+"_key";this.GH={};this.Qe=[];this.length=0}var b=0;a.prototype.set=a.prototype.add=function(a,b){var d;0>this.Qe.indexOf(a)&&this.Qe.push(a);if("object"===typeof a&&a!==r){if(d=a[this.dB],!d){d=this.dB;for(var f=[],g=0;8>g;g++)f.push(Math.floor(16*Math.random()).toString(16));d=a[d]=f.join("")}}else d=a;this.GH[d]=b;this.length=this.Qe.length};a.prototype.get=function(a){return this.GH["object"===typeof a&&a!==r?a[this.dB]:
a]};a.prototype.bba=function(a){return 0<=this.Qe.indexOf(a)};a.prototype.remove=function(a){var b=this.Qe.indexOf(a);0>b||(this.Qe.splice(b,1),"object"===typeof a&&a!==r?(b=a[this.dB],delete a[this.dB]):b=a,delete this.GH[b],this.length=this.Qe.length)};a.prototype.forEach=function(a){this.Qe.slice().forEach(function(b){a(b,this.get(b))}.bind(this))};a.prototype.dispose=function(){for(;this.Qe.length;)this.remove(this.Qe.pop());this.Qe=this.GH=r};return a});
define("hH",["require","fb","eJ","ga"],function(a){function b(){this.Hu=[]}var c=a("fb"),e=a("eJ"),d=a("ga"),a=c.extend(e,function(a){e.call(this);this.Xd=a;this.Rc=[];this.eo=new d;this.zD=[];this.tQ=[];this.ax=this.ax.bind(this)});a.prototype.vd=function(a){this.Rc.forEach(function(a){a.removeEventListener?a.removeEventListener(this.Xd,this.ax):a.unbind?a.unbind(this.Xd,this.ax,this,p):h("invalid instance type")}.bind(this));this.Rc=a.slice();this.Rc.forEach(function(a){a.addEventListener?a.addEventListener(this.Xd,
this.ax):a.bind?a.bind(this.Xd,this.ax,this,p):h("invalid instance type");this.eo.bba(a)||this.eo.set(a,new b)}.bind(this));this.CV()};a.prototype.dispose=function(){this.vd([]);this.Rc=r;this.eo.dispose();this.tQ=this.zD=this.eo=r};a.prototype.ui=function(a){this.zD.push(a);this.CV();return this};a.prototype.yk=function(a){this.tQ.push(a);return this};a.prototype.Xm=function(a){this.Rc.forEach(function(b){a(b,this.eo.get(b).Hu)}.bind(this))};a.prototype.ni=function(a){a=this.eo.get(a).Hu;return 0==
a.length?r:a[a.length-1]};a.prototype.ax=function(a){var b=a.target||a.source;if(b=this.eo&&this.eo.get(b))b.Hu.push(a),this.tQ.forEach(function(b){b(a,this)}.bind(this)),this.CV()};a.prototype.CV=function(){if(0!=this.Rc.length){for(var a=0;a<this.Rc.length;a++)if(0==this.eo.get(this.Rc[a]).Hu.length)return;this.zD.length&&(a=this.zD.slice(),this.zD=[],a.forEach(function(a){a(this)}.bind(this)))}};return a});
define("bF",["require","dR"],function(a){var b=a("dR"),c={get:function(a){return a.jfa||(a.jfa=this.Xia(a))},Xia:function(a){if(b.zb("CubicPanoramaFrame",a))return a.get("stereoCube")?c.Bs:a.get("cube")?c.Jp:c.vi;if(b.zb("SphericPanoramaFrame",a)){if(a.get("stereoSphere")){var d=a.get("hfov"),f=a.get("vfov"),g=a.get("stereoSphere").get("levels"),a=Math.max.apply(Math,g.map(function(a){return a.get("width")})),g=Math.max.apply(Math,g.map(function(a){return a.get("height")}));return 2==Math.round(g/
f/(a/d))?c.dm:c.An}return c.zn}},Bs:"stereoCube_12_1",Jp:"monoCube_6_1",vi:"monoCube_1_1",zn:"monoSphere_1_1",dm:"stereoSphere_1_2",An:"stereoSphere_2_1"};return c});
define("fk",["require"],function(){function a(a,e,d){this.Jd=a;this.u9=e;this.it=d||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.it==b};a.prototype.isEqual=function(a){return this.Jd==a.Jd&&this.u9==a.u9&&this.it==a.it};return a});
define("cw",["require","iJ","r","gg"],function(a){function b(a){return e.lda(a.get("width"),a.get("height"),a.get("framerate"))}function c(a,b){if(!b)return p;var c=a.get("url"),d=a.get("type")||"";switch(b){case g:return f.is(c,f.Y_);case k:return f.is(c,f.cea)||(f.is(c,f.FN)||f.is(c,f.VZ))&&(0<=(d||"").toLowerCase().indexOf("hev1")||0<=(d||"").toLowerCase().indexOf("h265")||0<=(d||"").toLowerCase().indexOf("heic"))?p:z;case j:return f.is(c,f.FN);case n:return f.is(c,f.yj);case i:return f.is(c,f.m_);
case l:return f.is(c,f.VZ);default:return z}}var e=a("iJ"),d=a("r"),f=a("gg"),g="webm",k="h265",j="mp4",n="hls",i="ogv",l="mov",q={nua:function(a){return q.select(a.get("levels"))},lua:function(a){return q.select(a.get("levels"))},select:function(a){a||(a=[]);var a=a.slice(),f=[];e.uua&&f.push({type:n,rn:z});e.Cua&&f.push({type:k,rn:p});e.DL&&f.push({type:g,rn:p});e.dE&&f.push({type:j,rn:p});e.Dua&&f.push({type:l,rn:p});e.yX&&f.push({type:i,rn:p});f.push({type:j,rn:p});f.push({type:g,rn:p});f.push({type:j,
rn:z});f.push({type:g,rn:z});for(var q=1E3*(d.Va()?800:5E3),u=0;u<f.length;u++){var v=a;f[u].rn&&(v=v.filter(b));v=v.filter(function(a){if(c(a,f[u].type))return p});f[u].type!=n&&v.sort(function(a,b){return Math.abs(q-a.get("bitrate"))-Math.abs(q-b.get("bitrate"))});if(v.length)return v[0]}return r}};return q});
define("kD","require,fb,bY,eJ,kV,fp,fZ,dR,r,jf,kA,cO,fk,jL,fV,bC,cw".split(","),function(a){var b=a("fb"),c=a("bY"),e=a("eJ"),d=a("kV"),f=a("fp"),g=a("fZ"),k=a("dR"),j=a("r"),n=a("jf"),i=a("kA"),l=a("cO"),q=a("fk"),o=a("jL"),t=a("fV"),s=a("bC"),u=a("cw"),v=b.extend(e,function(a,b){e.call(this);this.Aa=a;this.k=b;this.Pd=v.Lg(this.k);this.U=r;this.zC();this.k.bind(d.G("subtitlesURL"),this.Vma,this,p);this.k.bind(d.G("gain"),this.lI,this,p);this.m=f.K;this.gf=this.Hb=0;this.ae=z;this.Jl=1;this.bB=z;
this.t=this.Ga=r;this.dw=z;this.lG=m;this.T1=z;this.gm=[]});v.prototype.Sa=R("Aa");v.prototype.ec=function(a){if(this.m!=a&&!(a==f.uc&&this.m!=f.S)){this.T1&&a==f.S&&this.m==f.K&&this.gP();this.m=a;if(this.m==f.S){this.Ga&&this.Ga.play(this.Aa,this.U,this.gf);s.$L(this)}else{s.kba()?this.Ga&&this.Ga.stop():s.Ly(this);this.m==f.K&&this.EU()}this.uV()}};v.prototype.Ge=R("m");v.prototype.kj=R("Hb");v.prototype.xp=function(a){this.gf=a;if(this.Ga){this.Ga.Vu()&&this.P2();this.Ga.play(this.Aa,this.U,this.gf)}};
v.prototype.jj=R("gf");v.prototype.Ap=function(a){this.Jl=a;this.Ga&&this.Ga.Ap(a)};v.prototype.Fd=function(a){this.ae=a;this.Ga&&this.Ga.Fd(a)};v.prototype.mv=function(a){this.bB=a;this.Ga&&this.Ga.mv(a)};v.prototype.uwa=function(){this.T1=p};v.prototype.my=function(a,b,c){this.Ga&&this.Ga.Vu()?this.Ga.my(a,b,c):this.dw?a.drawImage(this.t,0,0,b,c):a.fillRect(0,0,b,c)};v.prototype.kL=function(){if(this.Ga&&this.Ga.Vu()){var a=this.Ga.jj(),b=this.Ga.bb;if(this.dw&&Math.abs(a-this.lG)<0.15)return new q(this.U.src,
this.lG,this.t);this.gP();return new q(this.U.src,a,b)}return this.dw?new q(this.U.src,this.gf,this.t):new q(this.U.src,this.gf,r)};v.prototype.mY=function(){return!this.ae&&this.k.get("hasAudio")};v.prototype.qe=function(){return t.Dj};v.prototype.sX=function(){return g.Dj};v.prototype.VW=function(a){this.Ga=a;setTimeout(function(){this.Ga&&this.Ga.bind(i.vj,this.tB,this,p)}.bind(this),0);this.zC();this.Ga.bind(i.Hd,this.ed,this,p);this.Ga.bind(i.Yf,this.Ti,this,p);this.Ga.bind(d.xf,this.Kf,this,
p);this.Ga.Fd(this.ae);this.Ga.Ap(this.Jl);this.Ga.mv(this.bB);this.Ga.play(this.Aa,this.U,this.gf)};v.prototype.OX=function(){this.Ga.Vu()&&this.P2();this.gf=this.Ga.jj();this.Ga.unbind(i.vj,this.tB,this,p);this.Ga.unbind(i.Hd,this.ed,this,p);this.Ga.unbind(i.Yf,this.Ti,this,p);this.Ga.unbind(d.xf,this.Kf,this,p);if(this.m==f.K){this.Ga.stop();this.Ga.xp(0)}this.Ga=r};v.prototype.clear=function(){s.Ly(this);this.gP()};v.prototype.Vma=function(){if(this.Ga){var a=this.k.get("subtitlesURL")||this.Pd.get("subtitlesURL");
if(this.U.ri!=a){this.U.ri=a;this.Ga.play(this.Aa,this.U,this.gf)}}};v.prototype.lI=function(){if(this.Ga){var a=this.k.get("gain");if(this.U.gain!=a){this.U.gain=a;this.Ga.CE(this.U.gain)}}};v.prototype.zC=function(){var a=this.U=new o,b=this.Pd.get("url");j.browser()==j.wh&&(b=n.Cu(b,"playbacksession="+(new Date).getTime()));a.src=b;this.U.ri=this.k.get("subtitlesURL")||this.Pd.get("subtitlesURL");this.U.jp=this.k.get("hasAudio");this.U.gain=this.k.get("gain")};v.prototype.P2=function(){if(!this.t)this.t=
document.createElement("canvas");this.t.width=this.Ga.Xc();this.t.height=this.Ga.Kd();this.lG=this.Ga.jj();var a=this.t.getContext("2d");a.clearRect(0,0,this.t.width,this.t.height);this.dw=this.Ga.my(a,this.t.width,this.t.height)};v.prototype.gP=function(){if(this.dw){this.lG=m;this.dw=z;if(j.browser()!=j.wh){this.t.width=0;this.t.height=0;this.t=r}}};v.prototype.Ti=function(){this.Hb=this.Ga.kj();this.rV()};v.prototype.ed=function(){this.Hb!=this.Ga.kj()&&this.Ti();this.gf=this.Ga.jj();this.bD()};
v.prototype.Kf=function(){this.gm=this.Ga.UD().map(function(a){for(var b=r,c=0;c<this.gm.length&&!b;c++)this.gm[c].cue==a&&(b=this.gm[c]);b||(b=new l(a));return b}.bind(this));this.trigger(new c(d.xf))};v.prototype.tB=function(){this.ec(f.K);this.sV()};v.prototype.EU=function(){this.gf=0;this.bD()};v.prototype.bD=function(){this.trigger(new c(v.Hd))};v.prototype.rV=function(){this.trigger(new c(v.Yf))};v.prototype.sV=function(){this.trigger(new c(d.Da))};v.prototype.uV=function(){this.trigger(new c(d.vc))};
v.Hd="time update";v.Yf="duration update";v.Lg=function(a){if(k.zb("Video360Resource",a))return u.lua(a);if(k.zb("VideoResource",a))return u.nua(a);h("invalid video resource object: "+a)};return v});
define("jX","require,dR,iV,cR,jw,bF,hA,iJ,r,gg,iZ,hS,kD".split(","),function(a){function b(a,b,c){return a.split(b).join(c).split(encodeURI(b)).join(c)}function c(){var a=y.lp()&&URL.ph("recent_ipad_use_max_res",z);c=function(){return a};return a}function e(a){if(a.length==0)return 1;a.sort(function(a,b){return b.get("width")-a.get("width")});return a[0].get("width")/a[0].get("height")}function d(a,b){var d=1E4;c()||(y.Ye()?d=2048:y.lp()?d=1280:y.Va()&&(d=1024));switch(a){case w.Jp:return[6*d,d];
case w.vi:return[d,d];case w.Bs:return[12*d,d]}switch(a){case w.dm:b=b*2;break;case w.An:b=b*0.5}return b>2?[d*4,d*4/b]:[d*2*b,d*2]}function f(a){if(c())return[m,m];switch(a){case w.Jp:if(y.Ye()||y.Va())return[18432,1536];break;case w.dm:if(y.Ye())return[5352,5352];if(y.Va())return[6086,6086];break;case w.zn:if(y.Ye())return[7168,3584];if(y.Va()&&y.lp())return[8192,4096]}return[m,m]}function g(a,b){var c=f(b);return a.filter(function(a){return t.zb("TiledImageResourceLevel",a)?p:c[0]!==m&&a.get("width")>
c[0]||c[1]!==m&&a.get("height")>c[1]?z:p})}function k(){return y.lp()?[s.I_]:y.KL()?[s.K_,s.VN]:y.Ye()?[s.VN]:y.Va()?[s.J_]:[]}function j(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]||r}function i(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 q(a,b){switch(b){case w.Bs:return a.get("stereoCube").get("levels");case w.Jp:return a.get("cube").get("levels");case w.vi:return a.get("front").get("levels");case w.zn:return a.get("sphere").get("levels");case w.dm:case w.An:return a.get("stereoSphere").get("levels")}}function o(a){for(var b=[],c=0;c<a.length;c++){var d=a[c];b.indexOf(d)<0&&b.push(d)}return b}var t=a("dR"),s=a("iV"),u=a("cR"),v=a("jw"),w=a("bF"),x=a("hA");a("iJ");var y=a("r");a("gg");var E=
a("iZ"),B=a("hS"),M=a("kD"),A={Gaa:function(a){a=a.get("frames");if(a.length==0)return 1;var b=a[0],a=w.get(b)==w.zn&&b.sh()?[M.Lg(b.get("sphere"))]:(w.get(b)==w.dm||w.get(b)==w.An)&&b.sh()?[M.Lg(b.get("stereoSphere"))]:A.kX(b,z);return Math.max.apply(Math,a.map(function(a){return A.$ta(b,a)}))},$ta:function(a,b){var b=A.fX(a,b,v.FRONT),c=b.get("width"),d=a.vy().get("hfov",360);switch(w.get(a)){case w.Bs:return c/1080;case w.Jp:return c/540;case w.vi:return c/90;case w.zn:return c/d;case w.dm:return c/
d;case w.An:return c/(2*d)}},AX:function(a,b){var c=A.Qu(a,b);return c.length<=6&&c.every(function(a){return B.UY(a)})},Qu:function(a,b,c){c||(c=z);if(t.zb("Panorama",a)){c=a.get("flipImageHorizontally",z);return o(Array.prototype.concat.apply([],a.get("frames").map(function(a){return A.Qu(a,b,c)})))}if(t.zb("PanoramaFrame",a)){if(w.get(a)==w.zn&&a.sh())return A.Qu(M.Lg(a.get("sphere")),b);if((w.get(a)==w.dm||w.get(a)==w.An)&&a.sh())return A.Qu(M.Lg(a.get("stereoSphere")),b);var d=A.kX(a,b)[0],c=
a.get("flipImageHorizontally",z);if(w.get(a)==w.vi){var f=[v.FRONT,v.na,v.BACK,v.Ja,v.hb,v.gb];return Array.prototype.concat.apply([],f.map(function(f){return(f=A.fX(a,d,f))?A.Qu(f,b,c):[]}))}return A.Qu(d,b,c)}if(t.zb("Video360ResourceLevel",a)){var e=a.get("posterURL");return e?[e]:[]}if(t.zb("TiledImageResourceLevel",a)){var g=[],e=Math.round(a.get("width")/a.get("height")),i;if(e==1)i=w.vi;else if(e==12)i=w.Dya;else if(e==6)i=w.Jp;else return[];var j=e==12?[u.Ja,u.na]:[u.tn],f=[v.Ja,v.na,v.hb,
v.gb,v.FRONT,v.BACK],k=a.get("colCount",e)/e,n=a.get("rowCount",1);j.forEach(function(b){f.forEach(function(d){for(var f=0;f<n;f++)for(var e=0;e<k;e++)g.push(A.Qaa(a,i,b,d,c,n,f,e))})});return g}return t.zb("ImageResourceLevel",a)?[a.get("url")]:[]},kX:function(a,b){var c=w.get(a),d=this.Cja(a);if(d){if(b&&!this.x4(d)){c=this.T3(a);if(c!=d)return[c,d]}return[d]}d=l(q(a,c),s.WN);if(d.length>0)return j(d);d=this.eka(a);if(b&&!this.x4(d)){c=this.T3(a);if(c!=d)return[c,d]}return[d]},Zua:function(a){return a.get("tags").indexOf(s.WN)>=
0},fX:function(a,b,c){if(w.get(a)!=w.vi)return b;var d;switch(c){case v.FRONT:d=a.get("front");break;case v.na:d=a.get("left");break;case v.BACK:d=a.get("back");break;case v.Ja:d=a.get("right");break;case v.hb:d=a.get("top");break;case v.gb:d=a.get("bottom")}a=d&&d.get("levels")||[];if(a.length==0)return r;a=a.filter(function(a){return a.get("width")==b.get("width")&&a.get("height")==b.get("height")&&a.get("grayscale",z)==b.get("grayscale",z)&&a.get("colCount",1)==b.get("colCount",1)&&a.get("rowCount",
1)==b.get("rowCount",1)});return a[0]},Qaa:function(a,c,d,f,e,g,i,j){var a=a.get("url"),k=0;a.indexOf("{eye}")>=0||a.indexOf(encodeURI("{eye}"))>=0?a=b(a,"{eye}",I[d]):k=k+6*(e?F:G)[d];a.indexOf("{face}")>=0||a.indexOf(encodeURI("{face}"))>=0?a=b(a,"{face}",H[f]):c!=w.vi&&(k=k+K[f]);a=b(a,"{row}",i);return a=b(a,"{column}",j+k*g)},bua:function(a,b){return A.wA(a.get("image").get("levels"),90,90,E.Ke,b)},Cta:function(a,b){return A.wA(a.get("image").get("levels"),a.get("hfov"),a.get("vfov"),a.get("scaleMode"),
b)},Pta:function(a,b){return A.wA(a.get("image").get("levels"),a.get("hfov"),a.get("vfov"),a.get("scaleMode"),b)},mua:function(a,b){return A.wA(a.get("image").get("levels"),a.get("hfov"),a.get("vfov"),a.get("scaleMode"),b)},waa:function(a,b){return A.wA(a.get("image").get("levels"),a.get("hfov"),a.get("vfov"),a.get("scaleMode"),b)},wA:function(a,b,d,f,e){for(var a=i(a,s.em,a),g=k(),o=0;o<g.length;o++)a=l(a,g[o],a);g=1E4;c()||(y.Ye()?g=2048:y.lp()?g=1280:y.Va()&&(g=1024));o=j(a)[a.length-1];b=x.oX(b,
d,o.get("width"),o.get("height"),f,e);return n(a,[b.Yc*g/90,b.Yl*g/90])},Kta:function(a){for(var b=a.get("image").get("levels"),b=i(b,s.em,b),c=k(),d=0;d<c.length;d++)b=l(b,c[d],b);c=j(b)[b.length-1];a=x.gX(a.get("width"),a.get("height"),c.get("width"),c.get("height"),a.get("scaleMode"));return n(b,[a.width,a.height])},eua:function(a){for(var b=a.get("image").get("levels"),b=i(b,s.em,b),d=k(),f=0;f<d.length;f++)b=l(b,d[f],b);d=1E4;c()||(y.Ye()?d=2048:y.lp()?d=1280:y.Va()&&(d=1024));var e=f=20;if((a=
a.get("vertices"))&&a.length==4){f=a[0].get("yaw");e=a[1].get("yaw");e<f&&(e=e+360);f=e-f;e=a[0].get("pitch");a=a[3].get("pitch");e=e-a}return n(b,[f*d/90,e*d/90])},T3:function(a){for(var b=w.get(a),a=q(a,b),a=g(a,b),a=l(a,s.em,a),b=k(),c=0;c<b.length;c++)a=l(a,b[c],a);return n(a,[0,0])},eka:function(a){for(var b=w.get(a),a=q(a,b),a=g(a,b),a=i(a,s.em,a),c=k(),f=0;f<c.length;f++)a=l(a,c[f],a);b=d(b,e(a));return n(a,b)},Cja:function(a){var b=k();if(b.length==0)return r;for(var c=w.get(a),f=q(a,c),f=
g(f,c),f=i(f,s.em,f),a=[],j=0;j<b.length&&a.length==0;j++)a=l(f,b[j]);if(a.length==0)return r;b=d(c,e(a));return n(a,b)},x4:function(a){return a.get("tags").indexOf(s.WN)>=0?z:y.Wc()==y.es?p:B.UY(a.get("url"))}},K=function(){var a={};a[v.Ja]=0;a[v.na]=1;a[v.hb]=2;a[v.gb]=3;a[v.FRONT]=4;a[v.BACK]=5;return a}(),G=function(){var a={};a[u.Ja]=0;a[u.na]=1;a[u.tn]=0;return a}(),F=function(){var a={};a[u.Ja]=1;a[u.na]=0;a[u.tn]=0;return a}(),H=function(){var a={};a[v.Ja]="r";a[v.na]="l";a[v.hb]="u";a[v.gb]=
"d";a[v.FRONT]="f";a[v.BACK]="b";return a}(),I=function(){var a={};a[u.na]="l";a[u.Ja]="r";a[u.tn]="b";return a}();return A});
define("dA",["require"],function(){function a(a){this.oe=a;"CANVAS"==a.tagName?this.t=a:(this.t=document.createElement("canvas"),this.t.width=a.width,this.t.height=a.height);this.ia=this.t.getContext("2d");this.ia.globalCompositeOperation="copy";this.t!=a&&this.ia.drawImage(a,0,0,a.width,a.height)}function b(a,b,c){try{if(a instanceof CanvasRenderingContext2D)return a.getImageData(b,c,1,1).data;if(a.tagName&&"CANVAS"==a.tagName)return a.getContext("2d").getImageData(b,c,1,1).data;e.drawImage(a,b,
c,1,1,0,0,1,1);return e.getImageData(0,0,1,1).data}catch(d){return[0,0,0,0]}}a.prototype.transparent=function(b,c){return a.transparent(this.ia,b,c)};a.prototype.Bp=function(b,c){return a.Bp(this.ia,b,c)};a.prototype.info=function(b,c){return a.info(this.ia,b,c)};a.prototype.dispose=function(){this.t!=this.oe&&(this.t.width=this.t.height=0);this.oe=this.t=this.ia=r};a.transparent=function(b,c,d){return!a.Bp(b,c,d)};a.Bp=function(a,c,d){return a.tagName&&"VIDEO"==a.tagName?p:0<b(a,c,d)[3]};a.info=
function(a,c,e){a=b(a,c,e);c=a[3];return{Bp:0<c,opacity:c,color:"#"+d[a[0]]+d[a[1]]+d[a[2]]}};var c=document.createElement("canvas");c.width=c.height=1;var e=c.getContext("2d");e.globalCompositeOperation="copy";var d=function(){for(var a=Array(256),b=0;16>b;b++)a[b]="0"+b.toString(16);for(;256>b;b++)a[b]=b.toString(16);return a}();return a});
define("iG","require,fb,hW,kV,dR,hc,jD,hH,jX,dA,ix".split(","),function(a){function b(a,b,d,f,e,i){for(a=(a-b)/i;d+180<f;)f=f-360;for(;d-180>f;)f=f+360;d=(d-f)/i;return d=a<-0.1||a>0.1?c(e,d,Math.abs(1/(1500*a))):c(e,d,0.08)}function c(a,b,c){a=(b-a)*(1-c);Math.abs(a)<1.0E-5&&(a=0);return b-a}var e=a("fb"),d=a("hW"),f=a("kV"),g=a("dR"),k=a("hc"),j=a("jD"),n=a("hH"),i=a("jX"),l=a("dA"),q=a("ix"),a=e.extend(k,function(a){k.call(this);this.k=a;this.$g.push(this.k);this.Rd=this.Rd.bind(this);this.Td=
g.zb("CeilingCapPanoramaOverlay",this.k)?"ceiling":"tripod";this.set("tag","Cap");this.set("pitch",this.Td=="tripod"?-90:90);this.Nf=z;this.Yt=this.IT=this.fC=m;this.Gna=this.Td=="tripod"?1:-1;this.tg=this.gh=this.ze=r});a.prototype.jb=function(){k.prototype.jb.call(this);this.ze=(new n(f.R)).ui(this.hl.bind(this));this.gh=(new n(f.oc)).yk(this.Mt.bind(this));d.xc(this.k,["angle","distance","hfov","image","inertia","rotate"],this.Rd,p)};a.prototype.mb=function(){this.tg&&this.tg.dispose();this.tg=
r;this.ze.dispose();this.gh.dispose();d.Pc(this.k,["angle","distance","hfov","image","inertia","rotate"],this.Rd);k.prototype.mb.call(this)};a.prototype.Rd=function(){this.set("angle",this.k.get("angle"));this.set("distance",this.k.get("distance"));this.set("hfov",this.k.get("hfov"));this.set("image",this.k.get("image"));this.set("inertia",this.k.get("inertia"));this.set("rotate",this.k.get("rotate"))};a.prototype.Gi=function(){var a=k.prototype.Gi.call(this);this.ze.vd(a);this.gh.vd(a);return a};
a.prototype.I=function(a){this.IV();this.Xx(a);k.prototype.I.call(this,a)};a.prototype.IV=function(){if(this.o("image")){var a=i.Cta(this.k,this.get("panoramaPixelsPerDegree"));this.set("textureSource",new j(a.get("url")));this.set("contentWidth",a.get("width"));this.set("contentHeight",a.get("height"))}};a.prototype.hl=function(){this.tg&&this.tg.dispose();this.tg=new l(this.get("textureSource").pe());this.trigger(f.Ab);this.trigger(f.R)};a.prototype.Mt=function(a,b){var c=0;b.Xm(function(a){(a=
b.ni(a))&&(c=c+a.th)});this.trigger(new q(f.oc,c/b.Rc.length))};a.prototype.Xx=function(a){this.set("rendererYaw",a.ha);if(this.o("angle","inertia","rotate")||(this.get("rotate")||this.get("inertia"))&&this.o("rendererYaw")){var c=this.get("angle"),d=this.get("rotate"),f=this.get("inertia"),e=this.Gna*a.ha;d&&(c=c+e);var i=0,g=c-e;if(this.fC!==m){if(f)if(d){i=b(e,this.Yt,c,this.fC,this.IT,a.td);c=this.fC+i*a.td}else{i=b(e,this.Yt,g,this.n7,this.IT,a.td);g=this.n7+i*a.td;c=g+e}this.fC!=c&&this.Oa()}this.n7=
g;this.fC=c;this.IT=i;this.Yt=e;this.set("rotationZ",-c)}};a.prototype.sj=function(a){if(a.Xd==f.xi){var b=!a.nh()&&this.Dl(a);if(b){a.Cr(this.k);this.k.get("useHandCursor")&&a.Dr(this.k);a.hi(this.get("distance"))}if(this.Nf!=b){this.Nf=b;this.k.trigger(this.Nf?f.pc:f.Mb);a.Rr()&&this.k.trigger(this.Nf?f.yh:f.Le)}}else if(a.Xd==f.wi&&!a.nh()&&this.Dl(a)){this.k.VD(f.T,p).length>1&&a.wp(this.k);a.hi(this.get("distance"));this.k.trigger(f.T)}};a.prototype.Dl=function(a){return this.$n(a.tl).some(function(a){return this.tg&&
this.tg.Bp(a.x,a.y)}.bind(this))};return a});
define("kS","require,fb,fZ,gP,ds,hA,hO,jJ".split(","),function(a){a("fb");var b=a("fZ"),c=a("gP"),e=a("ds"),d=a("hA"),f=a("hO"),g=a("jJ"),k=new THREE.Matrix4,j=Math.PI/180;return{Rn:function(){this.set("distance",m);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",r);this.set("horizontalAlign",
r);this.set("verticalAlign",r);this.Li=this.iq();this.Ve=new THREE.Matrix4;this.Zb=new THREE.Matrix4;this.$j=new THREE.Matrix4;this.Ii=new THREE.Matrix4;this.cw=new THREE.Matrix4;this.Cx=new THREE.Matrix4;this.l1=new THREE.Matrix4;this.kg=new THREE.Matrix4;this.l2=new THREE.Matrix4;this.Rz=new THREE.Matrix4;this.bA=new THREE.Matrix4;this.Yp=new THREE.Matrix4;this.ff=new THREE.Matrix4;this.ew=new THREE.Matrix4;this.Ts=new THREE.Vector3},Uo:function(a){this.Fl(a);this.XV()},XV:function(){if(this.o("width",
"height","contentWidth","contentHeight","scaleMode","horizontalAlign","verticalAlign")){var a=d.gX(this.get("width"),this.get("height"),this.get("contentWidth"),this.get("contentHeight"),this.get("scaleMode"),this.get("horizontalAlign"),this.get("verticalAlign"));c.$ca(this.Li[1],a.UE,a.XE,a.Cp,a.Dp)}},cH:function(){var a=this.get("meshGroup");return a?e.li(a)[1]:r},Gi:function(){return[0,1].map(function(a){var c=a==0?this.o2():this.lw(),a=e.create(this.Li[a],c);f.pn(a,f.Aj);f.qn(a,f.Lk);f.nv(a,b.qz);
f.Wy(a,1);return a}.bind(this))},iq:function(){return[c.ly(),c.ly()]},Fl:function(a){var b=z;if(this.o("composedTranslationX","composedTranslationY","composedTranslationZ")){this.Ve.makeTranslation(-this.get("composedTranslationX")*0.5*c.Gd,this.get("composedTranslationY")*0.5*c.Gd,this.get("composedTranslationZ")*0.5*c.Gd);b=p}if(this.o("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")){this.Zb.makeRotationY(-a.ha*j);this.Zb.multiply(k.makeRotationX(-this.get("composedDeltaPitch")*j));
this.Zb.multiply(k.makeRotationY(this.get("composedDeltaYaw")*j));this.Zb.multiply(k.makeRotationY(a.ha*j));b=p}if(this.o("yaw","pitch")){this.$j.makeRotationY(-this.get("yaw")*j);this.$j.multiply(k.makeRotationX(this.get("pitch")*j));b=p}this.o("distance","composedTranslationX","composedTranslationY","composedTranslationZ")&&this.set("z",this.get("composedTranslationX")==0&&this.get("composedTranslationY")==0&&this.get("composedTranslationZ")==0&&this.get("distance")!==m?c.Ou(this.get("distance")):
c.ep());if(this.o("z")){this.Ii.makeTranslation(0,0,-this.get("z"));b=p}if(b){this.ew.copy(this.Ve);this.ew.multiply(this.Zb);this.ew.multiply(this.$j);this.ew.multiply(this.Ii)}var f=z;this.set("rendererYaw",a.ha);this.set("rendererPitch",a.pitch);this.set("rendererRoll",a.jd);this.set("rendererCameraFOV",a.vf);this.set("rendererWidth",a.width);this.set("rendererHeight",a.height);a.vf&&this.o("z","rendererCameraFOV")&&this.set("rendererHeightZ",Math.tan(a.vf*j*0.5)*this.get("z")*2);if(a.vf&&(b||
this.o("rendererYaw","rendererPitch","rendererRoll","rendererCameraFOV","rendererWidth","rendererHeight","rendererHeightZ","inVR"))){if(a.Lb){this.cw.copy(this.ew);this.Cx.identity()}else{f=a.Ec;this.cw.copy(f.matrixWorld);this.Ts.setFromMatrixPosition(f.matrixWorld);this.Ts.applyMatrix4(this.ew);this.Ts.applyMatrix4(f.matrixWorldInverse);var q=-10,o=-10;if(this.Ts.z<0){this.Ts.applyMatrix4(f.projectionMatrix);q=this.Ts.x*0.5;o=this.Ts.y*0.5}var t=this.get("rendererHeightZ");this.Cx.makeTranslation(q*
t*f.aspect,o*t,0)}f=p}if(this.o("roll")){this.kg.makeRotationZ(this.get("roll")*j);f=p}if(a.vf&&(b||this.o("rendererHeight","inVR","rendererHeightZ","width","height","contentWidth","contentHeight","scale","scaleMode","horizontalAlign","verticalAlign","flipHorizontally","offsetX","offsetY"))){var b=a.Lb?1024:a.height,f=this.get("scale")*this.get("rendererHeightZ")/b*(a.Lb?2:1),s=this.get("width"),t=this.get("height"),u=this.get("offsetX"),v=this.get("offsetY"),o=this.get("contentWidth"),w=this.get("contentHeight"),
q=(this.get("flipHorizontally")?-1:1)*f,x=this.get("scaleMode"),b=this.get("horizontalAlign")||g.Gc,a=this.get("verticalAlign")||g.nc,x=d.gX(s,t,o,w,x,b,a),w=q*s,o=f*t;this.Rz.makeScale(w,o,1);s=q*(s*0.5-u);t=f*(v-t*0.5);this.l1.makeTranslation(s,t,0);q=q*x.width;f=f*x.height;this.bA.makeScale(q,f,1);b=b==g.na?-(w-q)*0.5:b==g.Ja?(w-q)*0.5:0;a=a==g.hb?(o-f)*0.5:a==g.gb?-(o-f)*0.5:0;this.l2.makeTranslation(b+s,a+t,0);f=p}if(f){this.ff.copy(this.cw);this.ff.multiply(this.Ii);this.ff.multiply(this.Cx);
this.ff.multiply(this.kg);this.Yp.copy(this.ff);this.Yp.multiply(this.l1);this.Yp.multiply(this.Rz);this.ff.multiply(this.l2);this.ff.multiply(this.bA);a=e.li(this.get("meshGroup"));e.Kl(a[0],this.Yp);e.Kl(a[1],this.ff)}}}});
define("eF",["require","kV","fp"],function(a){function b(a,b){this.Qk=a;this.Yd=b;this.Dc=z;this.nfa();this.ufa()}var c=a("kV"),e=a("fp");b.prototype.clear=function(){this.Wna();this.coa();this.Qk.set("state",e.K);this.Yd=this.Qk=r};b.prototype.Ze=function(a){this.Dc!=a&&(this.Dc=a,this.ou())};b.prototype.P5=function(){this.Yd.ec(this.Qk.get("state"))};b.prototype.O5=function(){this.ou()};b.prototype.M5=function(){this.Qk.trigger(c.As)};b.prototype.L5=function(){this.Qk.trigger(c.Da)};b.prototype.N5=
function(){this.Qk.set("state",this.Yd.Ge())};b.prototype.ou=function(){this.Qk.get("autoplay")&&this.Yd.ec(this.Dc?e.S:e.K)};b.prototype.nfa=function(){this.Qk.bind(c.G("state"),this.P5,this,p);this.Qk.bind(c.G("autoplay"),this.O5,this,p)};b.prototype.Wna=function(){this.Qk.unbind(c.G("state"),this.P5,this,p);this.Qk.unbind(c.G("autoplay"),this.O5,this,p)};b.prototype.ufa=function(){this.Yd.bind(c.As,this.M5,this,p);this.Yd.bind(c.Da,this.L5,this,p);this.Yd.bind(c.vc,this.N5,this,p)};b.prototype.coa=
function(){this.Yd.unbind(c.As,this.M5,this,p);this.Yd.unbind(c.Da,this.L5,this,p);this.Yd.unbind(c.vc,this.N5,this,p)};return b});
define("U","require,fb,kV,fp,bY,eJ,V".split(","),function(a){function b(a,b,c,d){this.zX=a;this.src=a.src;this.cM=b;this.ND=c;this.fL=d;this.Ku=this.zX.width/this.ND;this.Ju=this.zX.height/this.cM}var c=a("fb"),e=a("kV"),d=a("fp");a("bY");var f=a("eJ"),g=a("V"),a=c.extend(f,function(a,c,g,j,n,s,u){f.call(this);this.Oe=new b(a,c,g,n);this.M7=s;this.ke=j;this.a3=u;this.iK=this.ke*this.Oe.fL;this.t=document.createElement("canvas");this.t.width=this.Oe.Ku;this.t.height=this.Oe.Ju;this.ia=this.t.getContext("2d");
this.ia.globalCompositeOperation="copy";this.m=d.K;this.mJ=this.km=0;this.KP=m;this.lf=k.Pg(this.Oe);this.lf.bind(e.aa,this.Eh,this,p);this.Eh()});a.prototype.ec=function(a){if(this.m!=a){if(a==d.uc){if(this.m!=d.S)return}else if(a==d.S){if(this.m==d.K)this.km=this.mJ=0}else if(a==d.K&&(this.km!=0||this.mJ==0)){this.km=this.a3?0:this.iK-0.1;this.Eh()}this.m=a;g.La(this.Dg,this);this.trigger(e.vc)}};a.prototype.Ge=R("m");a.prototype.Dg=function(a){if(this.m==d.S){this.km=Math.min(this.km+a,this.lf.lf.length*
this.ke);if(this.km>=this.iK){this.mJ++;if(this.M7&&this.mJ==this.M7){this.ec(d.K);this.km=this.a3?0:this.iK-0.1;this.trigger(e.Da)}else{this.km=this.km%this.iK;this.trigger(e.As)}}this.Eh();this.m==d.S&&g.La(this.Dg,this)}};a.prototype.clear=function(){this.ec(d.K);this.t.width=this.t.height=0;this.t=r;k.Tva(this.Oe);this.Oe=r};a.prototype.Eh=function(){var a=Math.floor(this.km/this.ke);if(this.KP!=a&&a<this.lf.lf.length){this.KP=a;this.ia.drawImage(this.lf.get(this.KP),0,0);this.trigger(e.aa)}};
b.prototype.isEqual=function(a){return this.src==a.src&&this.cM==a.cM&&(this.ND=a.ND)&&(this.Ku=a.Ku)&&(this.Ju=a.Ju)&&(this.fL=a.fL)};var k={Ag:[],efa:2E3,Pg:function(a){a=this.Ef(a);a.cv++;this.f9(a);return a.frames},Tva:function(a){a=this.Ef(a);a.cv--;a.cv==0&&this.Zpa(a)},Ef:function(a){for(var b=0;b<this.Ag.length;b++)if(this.Ag[b].uta.isEqual(a))return this.Ag[b];b={};b.uta=a;b.frames=new j(a);b.cv=0;this.Ag.push(b);return b},Zpa:function(a){this.f9(a);a.RW=setTimeout(function(){k.lia(a)},k.efa)},
f9:function(a){if(a.RW){clearTimeout(a.RW);a.RW=r}},lia:function(a){this.Ag.splice(this.Ag.indexOf(a),1);a.frames.clear()}},j=c.extend(f,function(a){f.call(this);this.Oe=a;this.lf=[];n.add(this)});j.prototype.clear=function(){n.remove(this);this.lf.forEach(function(a){a.width=0;a.height=0});this.lf=r};j.prototype.get=function(a){return this.lf[a]};j.prototype.nta=function(){var a=this.lf.length%this.Oe.ND,b=Math.floor(this.lf.length/this.Oe.ND)%this.Oe.cM,c=document.createElement("canvas");c.width=
this.Oe.Ku;c.height=this.Oe.Ju;var d=c.getContext("2d");d.globalCompositeOperation="copy";d.drawImage(this.Oe.zX,a*this.Oe.Ku,b*this.Oe.Ju,this.Oe.Ku,this.Oe.Ju,0,0,this.Oe.Ku,this.Oe.Ju);j.$ia(c);this.lf.push(c);this.trigger(e.aa)};j.$ia=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={Ag:[],kV:r,add:function(a){this.Ag.push(a);this.Y7()},remove:function(a){this.Ag=this.Ag.filter(function(b){return b!=
a})},Y7:function(){if(!this.kV)this.kV=setTimeout(function(){this.kV=r;this.KB()}.bind(this),40)},KB:function(){if(this.Ag.length!=0){for(var a=(new Date).getTime()+10;(new Date).getTime()<a;){var b=this.Ag.filter(function(a){return a.lf.length==0}),b=b.length>0?b[0]:this.Ag[0];b.nta();if(b.lf.length==b.Oe.fL){this.Ag.splice(this.Ag.indexOf(b),1);if(this.Ag.length==0)return}}this.Y7()}}};return a});
define("fn","require,hW,kV,fp,dR,bT,ds,eF,dS,dA,U".split(","),function(a){var b=a("hW"),c=a("kV"),e=a("fp"),d=a("dR"),f=a("bT"),g=a("ds"),k=a("eF"),j=a("dS"),n=a("dA"),i=a("U");return{bt:function(){this.set("visible",z);this.set("inView",z);this.set("blending",0);this.set("chromaColor",m);this.set("chromaThreshold",0);this.set("chromaSmoothing",0);this.set("image",r);this.set("level",r);this.set("state",r);this.set("visibleOnStop",p);this.nI=this.nI.bind(this);this.tg=this.ja=this.Tv=this.Yd=r},Wx:function(){this.IV();
this.cD()},IV:function(){if(this.o("image","level")){this.R1();this.ja=this.get("image");this.set("textureSource",new j(this.ja&&this.get("level").get("url")));this.Efa();if(this.ja)this.vfa();else{this.trigger(c.Ab);this.trigger(c.R)}}},cD:function(){if(this.o("blending","chromaColor","chromaThreshold","chromaSmoothing")){var a=new f.vn;a.Fr=this.get("blending");a.Um=this.get("chromaColor");a.MD=this.get("chromaThreshold");a.LD=this.get("chromaSmoothing");this.set("materialConfig",a)}},ei:function(){this.o("visible",
"composedAlpha","image","state","visibleOnStop")&&this.set("inView",this.get("visible")&&this.get("composedAlpha")>0&&(this.get("visibleOnStop")||this.get("state")!=e.K));this.o("composedAlpha","meshGroup","inView")&&g.ud(this.get("meshGroup"),this.get("inView")?this.get("composedAlpha"):0);this.Tv&&this.Tv.Ze(this.get("inView"))},nI:function(){this.ja&&d.zb("AnimatedImageResource",this.ja)?this.set("visibleOnStop",this.ja.get("visibleOnStop")):this.set("visibleOnStop",p)},Xw:function(){this.R1()},
R1:function(){if(this.Tv){this.Tv.clear();this.Tv=r}if(this.Yd){this.Yd.unbind(c.aa,this.k4,this,p);this.Yd.unbind(c.vc,this.l4,this,p);this.Yd.clear();this.Yd=r}if(this.tg){this.tg.dispose();this.tg=r}if(this.get("textureSource")){this.aU();this.set("textureSource",r)}if(this.ja){this.doa();this.ja=r}},vfa:function(){b.xc(this.ja,["visibleOnStop"],this.nI,p)},doa:function(){b.Pc(this.ja,["visibleOnStop"],this.nI,p)},JA:function(){this.aU();var a,b=this.get("image");if(d.zb("AnimatedImageResource",
b)){this.Yd=new i(this.get("textureSource").pe(),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.Yd.t;this.Yd.bind(c.vc,this.l4,this,p);this.Yd.bind(c.aa,this.k4,this,p);this.Tv=new k(b,this.Yd);this.set("visibleOnStop",b.get("visibleOnStop"));this.set("state",this.Yd.Ge())}else{a=this.get("textureSource").pe();this.tg=new n(a);this.set("visibleOnStop",p);this.set("state",
r)}this.ei();this.set("contentWidth",a.width);this.set("contentHeight",a.height);this.get("textureSource").pi(a);this.trigger(c.Ab);this.trigger(c.R)},m4:function(){this.aU();this.trigger(c.Ab);this.trigger(c.R)},l4:function(){this.set("state",this.Yd.Ge())},k4:function(){this.get("textureSource").update();this.Oa()},Efa:function(){var a=this.get("textureSource");a.bind(c.R,this.JA,this,p);a.bind(c.ie,this.m4,this,p)},aU:function(){var a=this.get("textureSource");a.unbind(c.R,this.JA,this,p);a.unbind(c.ie,
this.m4,this,p)},$Q:function(a){return this.tg&&this.tg.oe==a.source?this.tg.info(a.x,a.y):n.info(a.source,a.x,a.y)}}});
define("kl",["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={lwa:function(c,d,f){if(c&&0==c.indexOf("#")){var g=a(c),k=m,j=256;d.forEach(function(c){if(c&&0==c.indexOf("#")){var d=b(g,a(c));d<j&&(k=c,j=d)}});if(k&&j<=f)return k}return c},dX:function(c,d){return b(a(c),a(d))}};c.ZX=a;return c});
define("kT","require,hW,kV,dR,kl,ga".split(","),function(a){function b(a){a=a.get("mapColor");return a=="image"||a=="transparent"||a=="any"}function c(a){a=a.get("mapColor");return a!="image"&&a!="transparent"&&a!="any"}var e=a("hW"),d=a("kV"),f=a("dR"),g=a("kl"),k=new (a("ga"));return{jq:function(){this.set("beamEnabled",z);this.mI=this.mI.bind(this);this.FR=r;this.Af=[];this.Bq=r},Kwa:function(a){if(this.Bq!=a){this.VT();this.Bq=a;this.K0()}},Hl:function(a){this.mr=a.ha;this.lr=a.pitch},VT:function(){this.Bq&&
e.Pc(this.Bq,["areas"],this.mI,p)},K0:function(){this.Bq&&e.xc(this.Bq,["areas"],this.mI,p)},px:function(){this.VT();this.K0()},qx:function(){this.m8([]);this.VT()},mI:function(){var a=this.Bq.get("areas",[]);this.FR=f.zb("HotspotPanoramaOverlayImage",this.k)||f.zb("FlatHotspotPanoramaOverlayImage",this.k)||f.zb("QuadHotspotPanoramaOverlayImage",this.k)?a.filter(b):a.filter(c);this.FR.forEach(function(a){k.set(a,0)})},sj:function(a){if(a.Xd==d.xi){var b=this.get("beamEnabled")&&this.get("alpha")>
0&&!a.nh()?this.n3(a):[];if(b.length>0){a.Cr(b);this.Lm(b)&&a.Dr(b);a.hi(this.get("distance"));var c=this.wa(b,a.Xu());c&&a.OK(c,this.ur(a.Xu()))}this.m8(b,a.Rr(),a.Xu())}else if(a.Xd==d.wi){b=this.get("beamEnabled")&&this.get("alpha")>0&&!a.nh()?this.n3(a):[];if(b.length>0){var f=z;b.forEach(function(a){a.trigger(d.T);!f&&a.VD(d.T,p).length>1&&(f=p)});a.hi(this.get("distance"));f&&a.wp(b)}}},n3:function(a){var b=this.$n(a.tl);return b.length==0?[]:this.FR.filter(function(a){var c=a.get("mapColor");
return c=="any"?p:c=="image"?b.some(function(a){return this.$Q(a).Bp}.bind(this)):c=="transparent"?b.every(function(a){return!this.$Q(a).Bp}.bind(this)):c&&c[0]=="#"?b.some(function(a){return g.dX(this.$Q(a).color,c)<10}.bind(this)):z}.bind(this))},m8:function(a,b,c){this.Af.forEach(function(f){if(a.indexOf(f)<0){var e=k.get(f)-1;k.set(f,e);if(e==0){f.trigger(d.Mb,{MW:c});b&&f.trigger(d.Le)}}});var f=this.Af;this.Af=a;this.Af.forEach(function(a){if(f.indexOf(a)<0){var e=(k.get(a)||0)+1;k.set(a,e);
if(e==1){a.trigger(d.pc,{MW:c});b&&a.trigger(d.yh)}}})},wa:function(a,b){for(var c="",d=a.length-1;d>=0&&c=="";d--){var f=a[d];if(!b||f.get("displayTooltipInTouchScreens")&&this.Za.D.get("displayTooltipInTouchScreens")!==z)c=f.get("toolTip","")}return c},ur:function(a){if(a){var a=this.get("yaw")-this.mr,b=this.get("pitch")-this.lr;return Math.sqrt(a*a+b*b)}return 0},Lm:function(a){for(var b=this.Bq.get("useHandCursor"),c=a.length-1;c>=0&&b===m;c--)b=a[c].get("useHandCursor");return!!b}}});
define("ki",["require","r","cb"],function(a){function b(){this.Gg=m;this.Mw=this.Ut=0;this.Z=p;this.tG=this.lV=this.KQ=m;this.Dc=z}var c=a("r"),e=a("cb"),d=Math.PI/180,f=c.browser()==c.qg?[-0.5,0]:[0,0];b.prototype.Zr=function(a){this.Gg!=a&&(this.Gg=a,this.Z=p)};b.prototype.Yr=function(a){if(a<this.Ut+f[0]||a>this.Ut+f[1])this.Ut=a,this.Z=p};b.prototype.get=function(a,b){b!==m||(b=p);this.Z&&(this.I(),this.Z=z);var c=this.KQ.get(a)||0,d=(this.lV.get(a)||0)-c;b&&(180<d?d-=360:-180>d&&(d+=360));return c+
d*this.tG};b.prototype.nX=function(){this.Z&&(this.I(),this.Z=z);for(var a=this.KQ.get("vertices"),b=this.lV.get("vertices"),c=[],d=0;d<a.length;d++){var f=a[d].get("yaw")||0,l=(b[d].get("yaw")||0)-f;180<l?l-=360:-180>l&&(l+=360);var q=a[d].get("pitch")||0,o=(b[d].get("pitch")||0)-q;c.push(new e(f+l*this.tG,q+o*this.tG))}return c};b.prototype.qh=function(){return this.get("opacity",z)};b.prototype.Su=function(){var a=this.get("hfov")||this.get("vfov"),b=this.Gg[0].get("hfov")||this.Gg[0].get("vfov");
return Math.tan(0.5*a*d)/Math.tan(0.5*b*d)};b.prototype.I=function(){for(var a=this.Mw,b,c=this.Gg.length-1,d,f;;){b=Math.min(a+1,c);d=this.X3(a);f=this.X3(b);if(d<=this.Ut&&this.Ut<=f)break;if(d>this.Ut){if(0==a){b=a;break}a-=1}else{if(a==c){b=a;break}a+=1}}this.KQ=this.Gg[a];this.lV=this.Gg[b];a=f-d;this.tG=0<a?(this.Ut-d)/a:0};b.prototype.X3=function(a){return this.Gg[a].get("timestamp")};return b});
define("g",["require","hW","ki"],function(a){var b=a("hW"),c=a("ki");return{Hj:function(){this.set("playbackPositions",r);this.set("scaleMode",m);this.set("distance",m);this.ic=this.ic.bind(this);this.va=new c},Zj:function(){b.xc(this.k,"horizontalAlign,verticalAlign,scale,scaleMode,width,height,offsetX,offsetY,distance,playbackPositions".split(","),this.ic,p)},ak:function(){b.Pc(this.k,"horizontalAlign,verticalAlign,scale,scaleMode,width,height,offsetX,offsetY,distance,playbackPositions".split(","),
this.ic)},ic:function(){this.set("horizontalAlign",this.k.get("horizontalAlign"));this.set("verticalAlign",this.k.get("verticalAlign"));this.set("scale",this.k.get("scale"));this.set("scaleMode",this.k.get("scaleMode"));this.set("width",this.k.get("width"));this.set("height",this.k.get("height"));this.set("offsetX",this.k.get("offsetX",0.5*this.k.get("width")));this.set("offsetY",this.k.get("offsetY",0.5*this.k.get("height")));this.set("distance",this.k.get("distance"));this.set("playbackPositions",
this.k.get("playbackPositions"))},Tf:function(){this.o("playbackPositions","currentTime")&&(this.va.Zr(this.get("playbackPositions")),this.va.Yr(this.get("currentTime")),this.set("yaw",this.va.get("yaw")),this.set("pitch",this.va.get("pitch")),this.set("roll",this.va.get("roll")),this.set("alpha",this.va.qh()))}}});
define("hn","require,fb,hW,kV,ds,eb,kS,fn,kT,g,jX".split(","),function(a){var b=a("fb"),c=a("hW"),e=a("kV"),d=a("ds"),f=a("eb"),g=a("kS"),k=a("fn"),j=a("kT"),n=a("g"),i=a("jX"),l=0,a=b.extend(f,g,n,k,j,function(a){f.call(this);this.set("tag","FlatHotspotImage");this.set("id","flat_hs_image_"+l++);this.k=a;this.$g.push(this.k);this.Rd=this.Rd.bind(this)});a.prototype.jb=function(){f.prototype.jb.call(this);c.xc(this.k,["image"],this.Rd,p)};a.prototype.mb=function(){c.Pc(this.k,["image"],this.Rd);f.prototype.mb.call(this)};
a.prototype.Rd=function(){this.set("image",this.k.get("image"));this.set("level",i.Kta(this.k))};a.prototype.I=function(a){this.pu();f.prototype.I.call(this,a);this.o("inView")&&this.k.trigger(this.get("inView")?e.ld:e.wd)};a.prototype.pu=function(){if(this.o("meshGroup","panoramaId","id")){var a=this.get("meshGroup");a&&a.children.forEach(function(a){d.setAttribute(a,d.cs,this.get("panoramaId"));d.setAttribute(a,d.CM,this.get("id"))}.bind(this))}};return a});
define("jc","require,fb,hW,kV,gN,hH,r,kH,bq,ix".split(","),function(a){var b=a("fb"),c=a("hW"),e=a("kV"),d=a("gN"),f=a("hH");a("r");var g=a("kH"),k=a("bq"),j=a("ix"),a=b.extend(d,function(a){d.call(this);this.k=a;this.$g.push(this.k);this.vI=this.vI.bind(this);this.uI=this.uI.bind(this);this.wI=this.wI.bind(this);this.Ok(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","Hotspot");this.set("over",z);this.set("centerOver",z);this.set("enabled",p);this.set("visible",z);this.set("alpha",
0);this.set("inVR",z);this.set("overlaysEnabled",p);this.set("enabledInVR",p);this.set("enabledInStandard",p);this.set("interactionEnabled",p);this.set("centerOverDisplay",z);this.set("rollOverDisplay",z);this.set("loadingActive",z);this.EO=this.FO=this.bk=this.jc=this.zd=r;this.Af=[];this.DO=[];this.gi=r});a.prototype.jb=function(){this.zd=(new f(e.R)).ui(this.It.bind(this));this.jc=(new f(e.oc)).yk(this.Lt.bind(this));this.bk=(new f(e.Ab)).ui(this.gma.bind(this));this.FO=(new f(e.pc)).yk(this.$la.bind(this));
this.EO=(new f(e.Mb)).yk(this.Zla.bind(this));d.prototype.jb.call(this);c.xc(this.k,["items","rollOverItems","maps","rollOverMaps"],this.vI,p);c.xc(this.k,["fadeInDuration","fadeOutDuration","enabledInVR","enabledInStandard","enabledInSurfaceSelection","enabled","interactionEnabled","centerOverDisplay","rollOverDisplay"],this.wI,p);c.xc(this.k,["areas"],this.uI,p)};a.prototype.mb=function(){this.Sx([],this.Af);this.zV([],this.DO);this.zd.dispose();this.jc.dispose();this.bk.dispose();this.FO.dispose();
this.EO.dispose();c.Pc(this.k,["items","rollOverItems","maps","rollOverMaps"],this.vI);c.Pc(this.k,["fadeInDuration","fadeOutDuration","enabledInVR","enabledInStandard","enabledInSurfaceSelection","enabled","interactionEnabled","centerOverDisplay","rollOverDisplay"],this.wI);c.Pc(this.k,["areas"],this.uI);this.get("visible")&&this.k.trigger(e.wd);d.prototype.mb.call(this)};a.prototype.vI=function(){this.set("items",this.Za.hp(this.k.get("items",[])));this.set("rollOverItems",this.Za.hp(this.k.get("rollOverItems",
[])));this.set("maps",this.Za.hp(this.k.get("maps",[])));this.set("rollOverMaps",this.Za.hp(this.k.get("rollOverMaps",[])));var a=[].concat(this.get("maps"),this.get("items"),this.get("rollOverMaps"),this.get("rollOverItems"));a.forEach(function(a){a.Kwa(this.k)}.bind(this));this.uh(a);this.zd.vd(a);this.jc.vd(a);this.bk.vd(a)};a.prototype.wI=function(){this.set("fadeInDuration",this.k.get("fadeInDuration"));this.set("fadeOutDuration",this.k.get("fadeOutDuration"));this.set("enabled",this.k.get("enabled",
p));this.set("enabledInVR",this.k.get("enabledInVR"));this.set("enabledInStandard",this.k.get("enabledInStandard",p));this.set("enabledInSurfaceSelection",this.k.get("enabledInSurfaceSelection",p));this.set("centerOverDisplay",this.k.get("centerOverDisplay"));this.set("rollOverDisplay",this.k.get("rollOverDisplay",z));this.set("interactionEnabled",this.k.get("interactionEnabled",p))};a.prototype.uI=function(){var a=this.k.get("areas");this.FO.vd(a);this.EO.vd(a)};a.prototype.I=function(a){this.ei(a);
d.prototype.I.call(this,a);this.Xo(a)};a.prototype.Xo=function(a){this.set("inVR",a.Lb);this.set("surfaceSelection",a.PE);this.set("hotspotsEnabled",a.Wu);if(this.o("items","rollOverItems","maps","rollOverMaps","over","centerOver","inVR","hotspotsEnabled","enabledInVR","enabledInStandard","surfaceSelection","enabledInSurfaceSelection","enabled","interactionEnabled","rollOverDisplay","centerOverDisplay")||this.P&&this.P.o("composedAlpha")){var b=a=z,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.P&&this.P.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")!==z&&this.get("rollOverDisplay")}this.get("rollOverItems").forEach(function(a){a.set("visible",
b);a.set("beamEnabled",c&&b&&d)});var f=this.get("rollOverItems").length==0;this.get("items").forEach(function(a){a.set("visible",f||!b);a.set("beamEnabled",c&&(f||!b)&&d)});this.get("rollOverMaps").forEach(function(a){a.set("visible",z);a.set("beamEnabled",c&&b&&d)});var j=this.get("rollOverMaps").length==0;this.get("maps").forEach(function(a){a.set("visible",z);a.set("beamEnabled",c&&(j||!b)&&d)});this.set("visible",a)}if(this.o("visible")){var a=this.get("alpha"),s=this.get("visible")?1:0,u=(this.get("visible")?
this.get("fadeInDuration"):this.get("fadeOutDuration"))*Math.abs(a-s);this.gi=new g("linear",[new k("alpha",a,s)],Math.max(u,1));this.Oa();this.get("visible")?this.k.trigger(e.ld):this.k.trigger(e.wd)}};a.prototype.ei=function(a){if(this.gi){if(this.gi.He())this.gi=r;else{this.gi.$a(a.td);this.set("alpha",this.gi.tb("alpha"))}this.Oa()}};a.prototype.It=function(){this.Il();this.trigger(e.R)};a.prototype.gma=function(){this.Il();this.trigger(e.Ab)};a.prototype.Lt=function(){this.Il()};a.prototype.Il=
function(){var a=0;this.jc.Xm(function(b){var c=0,d;this.zd.ni(b)?c=100:(d=this.jc.ni(b))&&(c=d.th);a=a+c}.bind(this));this.trigger(new j(e.oc,a/this.jc.Rc.length))};a.prototype.$la=function(a){a.data.MW?this.zV([a.source],[]):this.Sx([a.source],[])};a.prototype.Zla=function(a){a.data.MW?this.zV([],[a.source]):this.Sx([],[a.source])};a.prototype.Sx=function(a,b){this.Q9(this.Af,a,b);this.set("over",this.Af.length>0)};a.prototype.zV=function(a,b){this.Q9(this.DO,a,b);this.set("centerOver",this.DO.length>
0)};a.prototype.Q9=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("cc",["require","hW","ki"],function(a){var b=a("hW"),c=a("ki");return{Hj:function(){this.set("playbackPositions",r);this.set("scaleMode",m);this.set("distance",m);this.ic=this.ic.bind(this);this.va=new c},Zj:function(){b.xc(this.k,"horizontalAlign,verticalAlign,scale,scaleMode,distance,playbackPositions".split(","),this.ic,p)},ak:function(){b.Pc(this.k,"horizontalAlign,verticalAlign,scale,scaleMode,distance,playbackPositions".split(","),this.ic)},ic:function(){this.set("horizontalAlign",this.k.get("horizontalAlign"));
this.set("verticalAlign",this.k.get("verticalAlign"));this.set("scaleMode",this.k.get("scaleMode"));this.set("distance",this.k.get("distance"));this.set("scale",this.k.get("scale"));this.set("playbackPositions",this.k.get("playbackPositions"))},Tf:function(){this.o("playbackPositions","currentTime")&&(this.va.Zr(this.get("playbackPositions")),this.va.Yr(this.get("currentTime")),this.set("yaw",this.va.get("yaw")),this.set("pitch",this.va.get("pitch")),this.set("roll",this.va.get("roll")),this.set("rotationX",
this.va.get("rotationX")),this.set("rotationY",this.va.get("rotationY")),this.set("hfov",this.va.get("hfov")),this.set("vfov",this.va.get("vfov")),this.set("alpha",this.va.qh()))}}});
define("hk","require,fb,hW,kV,ds,eb,ky,fn,kT,cc,jX".split(","),function(a){var b=a("fb"),c=a("hW"),e=a("kV"),d=a("ds"),f=a("eb"),g=a("ky"),k=a("fn"),j=a("kT"),n=a("cc"),i=a("jX"),l=0,a=b.extend(f,g,k,j,n,function(a){f.call(this);this.set("tag","HotspotImage");this.set("id","hs_image_"+l++);this.k=a;this.$g.push(this.k);this.Rd=this.Rd.bind(this)});a.prototype.jb=function(){f.prototype.jb.call(this);c.xc(this.k,["image"],this.Rd,p)};a.prototype.mb=function(){c.Pc(this.k,["image"],this.Rd);f.prototype.mb.call(this)};
a.prototype.Rd=function(){this.set("image",this.k.get("image"));this.set("level",i.Pta(this.k,this.get("panoramaPixelsPerDegree")))};a.prototype.I=function(a){this.pu();f.prototype.I.call(this,a);this.o("inView")&&this.k.trigger(this.get("inView")?e.ld:e.wd)};a.prototype.pu=function(){if(this.o("meshGroup","panoramaId","id")){var a=this.get("meshGroup");a&&a.children.forEach(function(a){d.setAttribute(a,d.cs,this.get("panoramaId"));d.setAttribute(a,d.CM,this.get("id"))}.bind(this))}};return a});
define("fE",["require","ff","a"],function(a){function b(a,b,e){this.Md=a||new c(0,0,0);this.pg=b||new c(1,0,0);this.Sr=e||new c(0,1,0)}var c=a("ff"),e=a("a");b.prototype.clone=function(){return new b(this.Md.clone(),this.pg.clone(),this.Sr.clone())};b.prototype.apply=function(a){a.cy(this.Md);a.cy(this.pg);a.cy(this.Sr)};b.prototype.intersection=function(a,b){var g=e.Lr(a.Md,a.pg),k=e.Lr(this.Md,a.Md),j=e.Lr(this.Md,this.pg);j.XK(e.Lr(this.Md,this.Sr));g=g.Gu(j);if(!(0==g||b&&0>g))return k=-j.Gu(k)/
g,new c(a.Md.x+(a.pg.x-a.Md.x)*k,a.Md.y+(a.pg.y-a.Md.y)*k,a.Md.z+(a.pg.z-a.Md.z)*k)};b.prototype.YL=function(a,b){var g=e.Lr(this.Md,this.pg),k=e.Lr(this.Md,this.Sr),j=e.Lr(this.Md,a),n=g.lX(),i=k.lX();return b?new c(j.Gu(g)/(n*n),j.Gu(k)/(i*i),0):new c(j.Gu(g)/n,j.Gu(k)/i,0)};return b});
define("dY",[],function(){function a(a){a%=e;0>a&&(a+=e);return g[a*d|0]}function b(a){a%=e;0>a&&(a+=e);return f[a*d|0]}function c(){this.identity()}c.prototype.identity=function(){this.m11=1;this.m21=this.m13=this.m12=0;this.m22=1;this.m32=this.m31=this.m23=0;this.m33=1;this.bf=this.af=this.$e=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.$e=this.$e;a.af=this.af;
a.bf=this.bf;return a};c.prototype.concat=function(a){var b=this.m11,c=this.m12,d=this.m13,f=this.m21,e=this.m22,g=this.m23,k=this.m31,u=this.m32,v=this.m33,w=this.$e,x=this.af,y=this.bf;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+e*a.m21+g*a.m31;this.m22=f*a.m12+e*a.m22+g*a.m32;this.m23=f*a.m13+e*a.m23+g*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.$e=w*a.m11+x*
a.m21+y*a.m31+a.$e;this.af=w*a.m12+x*a.m22+y*a.m32+a.af;this.bf=w*a.m13+x*a.m23+y*a.m33+a.bf};c.prototype.translate=function(a,b,c){this.$e+=a;this.af+=b;this.bf+=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.$e*=a;this.af*=b;this.bf*=c};c.prototype.mn=function(c){var d=a(c),c=b(c),f=this.m12*d+this.m13*c,e=this.m22*c-this.m23*d,g=this.m22*d+this.m23*c,k=this.m32*c-this.m33*d,t=this.m32*d+this.m33*
c,s=this.af*c-this.bf*d,u=this.af*d+this.bf*c;this.m12=this.m12*c-this.m13*d;this.m13=f;this.m22=e;this.m23=g;this.m32=k;this.m33=t;this.af=s;this.bf=u};c.prototype.up=function(c){var d=a(c),c=b(c),f=-this.m11*d+this.m13*c,e=this.m21*c+this.m23*d,g=-this.m21*d+this.m23*c,k=this.m31*c+this.m33*d,t=-this.m31*d+this.m33*c,s=this.$e*c+this.bf*d,u=-this.$e*d+this.bf*c;this.m11=this.m11*c+this.m13*d;this.m13=f;this.m21=e;this.m23=g;this.m31=k;this.m33=t;this.$e=s;this.bf=u};c.prototype.vp=function(c){var d=
a(c),c=b(c),f=this.m11*d+this.m12*c,e=this.m21*c-this.m22*d,g=this.m21*d+this.m22*c,k=this.m31*c-this.m32*d,t=this.m31*d+this.m32*c,s=this.$e*c-this.af*d,u=this.$e*d+this.af*c;this.m11=this.m11*c-this.m12*d;this.m12=f;this.m21=e;this.m22=g;this.m31=k;this.m32=t;this.$e=s;this.af=u};c.prototype.rotate=function(a,b,c){this.mn(a);this.up(b);this.vp(c)};c.prototype.xba=function(){var a=this.Eta();if(0==a)return z;var b=this.clone();this.m11=(b.m22*b.m33-b.m23*b.m32)/a;this.m12=(b.m13*b.m32-b.m12*b.m33)/
a;this.m13=(b.m12*b.m23-b.m13*b.m22)/a;this.m21=(b.m23*b.m31-b.m21*b.m33)/a;this.m22=(b.m11*b.m33-b.m13*b.m31)/a;this.m23=(b.m13*b.m21-b.m11*b.m23)/a;this.m31=(b.m21*b.m32-b.m22*b.m31)/a;this.m32=(b.m12*b.m31-b.m11*b.m32)/a;this.m33=(b.m11*b.m22-b.m12*b.m21)/a;this.$e=-(b.$e*this.m11+b.af*this.m21+b.bf*this.m31);this.af=-(b.$e*this.m12+b.af*this.m22+b.bf*this.m32);this.bf=-(b.$e*this.m13+b.af*this.m23+b.bf*this.m33);return p};c.prototype.Eta=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.cy=function(a){var b=a.x*this.m12+a.y*this.m22+a.z*this.m32+this.af,c=a.x*this.m13+a.y*this.m23+a.z*this.m33+this.bf;a.x=a.x*this.m11+a.y*this.m21+a.z*this.m31+this.$e;a.y=b;a.z=c};for(var e=2*Math.PI,d=18E4/e,f=new Float32Array(180001),g=new Float32Array(180001),k=0;18E4>k;k++)f[k]=Math.cos(k/d),g[k]=Math.sin(k/d);f[18E4]=f[0];g[18E4]=g[0];return c});
define("cS","require,ih,gh,cA,ff,fE,dY,iZ".split(","),function(a){var b=a("ih"),c=a("gh"),e=a("cA"),d=a("ff"),f=a("fE"),g=a("dY"),k=a("iZ"),j=Math.PI/180,n=180/Math.PI,i=new g,l=new c,q=new f,o=new d;return{get:function(a,b,c,f,e,g,k,n){a=a*j;b=b*j;b=new d(Math.sin(-a)*Math.cos(b),Math.sin(b),Math.cos(-a)*Math.cos(b));i.identity();i.up(c*j);i.vp(e*j);i.mn(f*j);b.apply(i);if(b.z>0){l.OE(k);l.Sca(n);l.lv(g*j);l.project(b);return b}return r},kya:function(a,b,c){i.identity();i.mn(-c.Vb()*j);i.vp(-c.Ld()*
j);i.up(-c.Qb()*j);o.set(a,b,0);a=c.unproject(o).Saa();a.apply(i);return{ha:a.Qb()*n,pitch:a.Vb()*n}},nAa:function(a,c,d,f,e,g,l,n,B,M,A,K,G,F){F||(F=k.yn);G||(G=b.vk(K,M,A));K||(K=b.sn(G,M,A));var H=M*0.5/Math.tan(K*0.5*j),I=H*Math.tan(K*0.5*j)*2,N=H*Math.tan(G*0.5*j)*2;q.Md.set(+I*0.5,+N*0.5,0);q.pg.set(-I*0.5,+N*0.5,0);q.Sr.set(+I*0.5,-N*0.5,0);i.identity();i.vp(-B*j);i.mn(-l*j);i.up(n*j);i.translate(0,0,H);i.vp(-g*j);i.mn(-e*j);i.up(-f*j);i.up(d.Qb()*j);i.vp(d.Ld()*j);i.mn(d.Vb()*j);q.apply(i);
o.set(a,c,0);e=q.intersection(d.unproject(o));f={x:m,y:m,xScaled:m,yScaled:m};if(e&&e.z>0){e=q.YL(e);f.xScaled=f.x=e.x/I;f.yScaled=f.y=e.y/N}if(F!=k.yn){var O,C;switch(F){case k.Ke:O=Math.min(b.sn(G,M,A),K);C=Math.min(b.vk(K,M,A),G);break;case k.am:O=Math.max(b.sn(G,M,A),K);C=Math.max(b.vk(K,M,A),G);break;case k.Kk:O=K;C=b.vk(K,M,A);break;case k.Vg:O=b.sn(G,M,A);C=G}if(O!=K||C!=G){I=H*Math.tan(O*0.5*j)*2;N=H*Math.tan(C*0.5*j)*2;q.Md.set(+I*0.5,+N*0.5,0);q.pg.set(-I*0.5,+N*0.5,0);q.Sr.set(+I*0.5,-N*
0.5,0);q.apply(i);o.set(a,c,0);if((e=q.intersection(d.unproject(o)))&&e.z>0){e=q.YL(e);f.xScaled=e.x/I;f.yScaled=e.y/N}}}return f},rza:function(a,b,c,f,g,k,l){l=g*0.5/Math.tan(l*0.5*j);q.Md.set(+g*0.5,+k*0.5,l);q.pg.set(-g*0.5,+k*0.5,l);q.Sr.set(+g*0.5,-k*0.5,l);i.identity();i.vp(-f*j);i.mn(-c*j);i.up(-b*j);i.up(a.Qb()*j);i.vp(a.Ld()*j);i.mn(a.Vb()*j);q.apply(i);a=new e(new d(0,0,0),new d(0,0,1));if((a=q.intersection(a))&&a.z>0){a=q.YL(a);return{x:a.x/g,y:a.y/k}}return r}}});
define("y","require,fb,gN,ds,M,hO,jy".split(","),function(a){var b=a("fb"),c=a("gN"),e=a("ds"),d=a("M"),f=a("hO"),g=a("jy"),a=b.extend(c,function(){c.call(this);this.set("tag","WebGLObject");this.set("zOrder",0);this.set("webglScene",r);this.set("meshGroup",r);this.set("camera",r)});a.prototype.Gi=function(){return[]};a.prototype.mb=function(){e.dispose(this.get("meshGroup"));e.lM(this.get("meshGroup"),r);this.set("meshGroup",r);c.prototype.mb.call(this)};a.prototype.I=function(a){c.prototype.I.call(this,
a);this.set("camera",d.Mr(a.re));this.set("webglScene",a.re);if(!this.get("meshGroup")){this.set("meshGroup",e.Z$(this.Gi()));this.get("meshGroup").userData.Cva=this}this.o("webglScene","meshGroup")&&e.lM(this.get("meshGroup"),this.get("webglScene"));this.ei();this.Fl(a);this.tu();this.o("loadingActive","meshGroup")&&f.kd(this.get("meshGroup"),this.get("loadingActive"));this.o("blendingActive","meshGroup")&&g.Jca(this.get("meshGroup"),this.get("blendingActive"))};a.prototype.ei=function(){this.o("composedAlpha",
"meshGroup")&&this.Tp()};a.prototype.Tp=function(){e.ud(this.get("meshGroup"),this.get("composedAlpha"))};a.prototype.Fl=function(){h("Must be overridden in descendants.")};a.prototype.tu=function(){if(this.o("index","meshGroup")){var a=this.get("meshGroup");a&&a.children.forEach(function(a,b,c){e.oM(a,this.get("index")+b/c.length)}.bind(this))}};return a});
define("eh",["require","fb","gP","y","ds"],function(a){var b=a("fb"),c=a("gP"),e=a("y"),d=a("ds"),f=new THREE.Matrix4,g=Math.PI/180,a=b.extend(e,function(){e.call(this);this.set("tag","Frame");this.Ve=new THREE.Matrix4;this.Zb=new THREE.Matrix4;this.ai=new THREE.Matrix4;this.Jf=new THREE.Matrix4});a.prototype.I=function(a){e.prototype.I.call(this,a)};a.prototype.Fl=function(a){var b=z;this.o("composedTranslationX","composedTranslationY","composedTranslationZ")&&(this.Ve.makeTranslation(0.5*-this.get("composedTranslationX")*
c.Gd,0.5*this.get("composedTranslationY")*c.Gd,0.5*this.get("composedTranslationZ")*c.Gd),b=p);this.o("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&&(this.Zb.makeRotationY(-a.ha*g),this.Zb.multiply(f.makeRotationX(-this.get("composedDeltaPitch")*g)),this.Zb.multiply(f.makeRotationY(this.get("composedDeltaYaw")*g)),this.Zb.multiply(f.makeRotationY(a.ha*g)),b=p);this.o("flipHorizontally")&&(this.ai.makeScale(this.get("flipHorizontally")?-1:1,1,1),b=p);if(b||this.o("meshGroup"))this.Jf.copy(this.Ve),
this.Jf.multiply(this.Zb),this.Jf.multiply(this.ai),d.Kl(this.get("meshGroup"),this.Jf)};return a});
define("ld",["require","fb","is","kk","jD"],function(a){var b=a("fb"),c=a("is"),e=a("kk"),d=a("jD"),a=b.extend(d,function(a,b,c,e,n){d.call(this,a.get("url"));this.ca=b;this.da=c;this.W=e;this.ea=n;this.xla=0!=this.ca||0!=this.da||this.W!=a.get("width")||this.ea!=a.get("height")});a.prototype.Lf=function(){this.xla?(this.eia(),this.Wn(),this.bx(!!this.oe)):d.prototype.Lf.call(this)};a.prototype.LC=function(){d.prototype.LC.call(this);this.hQ()};a.prototype.yr=function(){d.prototype.yr.call(this);
this.hQ()};d.prototype.dispose=function(){d.prototype.dispose.call(this);this.hQ()};a.prototype.eia=function(){var a=c.pe(this.Jd);this.oe=e.Ysa(a,this.ca,this.da,this.W,this.ea)};a.prototype.hQ=function(){this.oe&&(e.ZK(this.oe),this.oe=r)};return a});
define("eL","require,dR,cR,jw,fF,dS,jD,ld,gP,bT,ds,bF,jX,hO,r".split(","),function(a){var b=a("dR"),c=a("cR"),e=a("jw"),d=a("fF"),f=a("dS"),g=a("jD"),k=a("ld"),j=a("gP"),n=a("bT"),i=a("ds"),l=a("bF"),q=a("jX"),o=a("hO"),t=a("r"),s={Usa:function(a,b){var c=l.get(a);switch(c){case l.Bs:case l.Jp:case l.vi:return this.Pha(c,a,b);case l.zn:case l.dm:case l.An:return this.Rha(c,a,b)}},$sa:function(a,b){var c=new g(b.get("posterURL"));return this.u2(a,b,c)},Zsa:function(a,b){var c=new f;return this.u2(a,
b,c)},u2:function(a,b,d){var f=a.get("hfov"),e=a.get("vfov"),g=a.get("pitch"),k=b.get("width"),b=b.get("url"),a=l.get(a),q=a==l.An?2:1,s=a==l.dm?2:1,a=q+s>2?[c.na,c.Ja]:[c.tn],t=Math.round(k/q),G=n.Jr(d.texture(),new n.vn(b));o.Xy(G,d);G.visible=p;return a.map(function(a,b){var c=j.baa(f,e,g,1,1,b%q/q,(s-1-Math.floor(b/q))/s,1/q,1/s),c=i.create(c,[G]);c.layers.set(a);o.iM(c,t/f);return c}.bind(this))},Wsa:function(a){var b=[e.Ja,e.na,e.hb,e.gb,e.FRONT,e.BACK].map(function(){var b=new f;b.pi(s.tka(a));
var c=n.Jr(b.texture());o.Xy(c,b);c.visible=p;return c}),d=j.aaa(1,1),b=i.create(d,b);o.iM(b,256/90);b.layers.set(c.tn);return b},MU:{},tka:function(a){if(!s.MU[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);s.MU[a]=b}return s.MU[a]},Pha:function(a,f,g){var k=a==l.Bs?[c.Ja,c.na]:[c.tn],n=f.get("flipImageHorizontally");n&&(k=k.reverse());var s=a==l.vi?1:6*k.length,t=g.get("width")/s,M=g.get("height"),A,K;if(b.zb("TiledImageResourceLevel",
g)){A=g.get("colCount",s)/s;K=g.get("rowCount",1)}else if(this.P7(a,g)){A=Math.ceil(t/d.Bn());K=Math.ceil(M/d.Bn())}else K=A=1;var G=[e.Ja,e.na,e.hb,e.gb,e.FRONT,e.BACK];return k.map(function(c,d){var e=Array(6);G.forEach(function(i,k){var o=q.fX(f,g,i);if(b.zb("TiledImageResourceLevel",g))e[j.L_.indexOf(i)]=this.Lha(o,a,c,i,n,A,K);else{var s=a==l.vi?0:Math.round((d*G.length+k)*t),x=A>1||K>1||a!=l.vi?t>256?1:0.5:0;e[j.L_.indexOf(i)]=this.q2(o,A,K,s,0,t,M,x)}}.bind(this));var k=Array.prototype.concat.apply([],
e),s=j.aaa(A,K),k=i.create(s,k);k.layers.set(c);o.iM(k,t/90);return k}.bind(this))},Rha:function(a,b,f){var e=a==l.zn?[c.tn]:[c.na,c.Ja];b.get("flipImageHorizontally")&&(e=e.reverse());var g=f.get("width"),k=f.get("height"),n=b.get("hfov"),q=b.get("vfov"),s=b.get("pitch"),t=Math.round(g/n/(k/q)),G=Math.round(g/t),F=Math.round(k/Math.round(k/q/(g/n))),H=(a=this.P7(a,f))?Math.ceil(G/d.Bn()):1,I=a?Math.ceil(F/d.Bn()):1;return e.map(function(a,b){var c=this.q2(f,H,I,b%t*G,Math.floor(b/t)*F,G,F),d=j.baa(n,
q,s,H,I,0,0,1,1),c=i.create(d,c);c.layers.set(a);o.iM(c,G/n);return c}.bind(this))},P7:function(a,b){switch(a){case l.Bs:case l.Jp:case l.dm:case l.An:return p;case l.vi:return z;case l.zn:return t.Uaa().nva<Math.max(b.get("width"),b.get("height"))?p:d.mj()||t.Va()?z:t.Wc()==t.es?p:z}},q2:function(a,b,c,d,e,g,i,j){j||(j=0);for(var l=[],q=0;q<c;q++)for(var s=e+j+(i-2*j)*q/c,t=e+j+(i-2*j)*(q+1)/c,H=0;H<b;H++){var I=d+j+(g-2*j)*H/b,N=d+j+(g-2*j)*(H+1)/b,I=a?new k(a,I,s,N-I,t-s):new f,N=n.NW(I.texture());
o.Xy(N,I);l.push(N)}return l},Lha:function(a,b,c,d,e,i,j){for(var k=[],l=0;l<j;l++)for(var s=0;s<i;s++){var t;t=a?new g(q.Qaa(a,b,c,d,e,j,l,s)):new f;var F=n.NW(t.texture());o.Xy(F,t);F.visible=z;k.push(F)}return k}};return s});
define("cB","require,fb,kV,eh,hH,eL,hO".split(","),function(a){var b=a("fb"),c=a("kV"),e=a("eh"),d=a("hH"),f=a("eL"),g=a("hO"),a=b.extend(e,function(a){e.call(this);this.Od=a;this.set("tag","SolidFrame");this.ze=r});a.prototype.jb=function(){this.ze=(new d(c.R)).ui(this.Lf.bind(this));e.prototype.jb.call(this)};a.prototype.mb=function(){this.ze.dispose();e.prototype.mb.call(this)};a.prototype.Gi=function(){var a=[f.Wsa(this.Od)];g.qn(a,g.Lk);g.pn(a,g.Aj);this.ze.vd(a);return a};a.prototype.Lf=function(){this.trigger(c.Ab);
this.trigger(c.R)};return a});
define("dd",["require","fZ","gP","ds","hO"],function(a){var b=a("fZ"),c=a("gP"),e=a("ds"),d=a("hO"),f=Math.PI/180;return{Rn:function(){this.set("distance",m);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.Li=this.iq();this.mja=c.ly();this.Ii=new THREE.Matrix4;this.cw=new THREE.Matrix4;this.Cx=new THREE.Matrix4;this.o5=new THREE.Matrix4;this.kg=new THREE.Matrix4;this.ai=new THREE.Matrix4;this.Jf=
new THREE.Matrix4},Uo:function(a){this.Fl(a)},cH:function(){var a=this.get("meshGroup");return a?e.li(a)[0]:r},Gi:function(){var a=e.create(this.mja,this.lw());d.pn(a,d.Aj);d.qn(a,d.Lk);d.nv(a,b.qz);d.Wy(a,1);return[a]},Gi:function(){return[0].map(function(a){var c=this.lw(),a=e.create(this.Li[a],c);d.pn(a,d.Aj);d.qn(a,d.Lk);d.nv(a,b.qz);d.Wy(a,1);return a}.bind(this))},iq:function(){return[c.ly()]},Fl:function(a){var b=z;this.set("rendererYaw",a.ha);this.set("rendererPitch",a.pitch);this.set("rendererRoll",
a.jd);this.set("rendererCameraFOV",a.vf);this.set("rendererWidth",a.width);this.set("rendererHeight",a.height);this.set("inVR",a.Lb);this.o("distance","composedTranslationX","composedTranslationY","composedTranslationZ")&&this.set("z",0==this.get("composedTranslationX")&&0==this.get("composedTranslationY")&&0==this.get("composedTranslationZ")&&this.get("distance")!==m?c.Ou(this.get("distance")):c.ep());this.o("z")&&(this.Ii.makeTranslation(0,0,-this.get("z")),centerMatrixChanged=p);a.vf&&this.o("z",
"rendererCameraFOV")&&this.set("rendererHeightZ",2*Math.tan(0.5*a.vf*f)*this.get("z"));if(a.Ec&&this.o("rendererYaw","rendererPitch","rendererRoll","rendererCameraFOV","rendererWidth","rendererHeight","rendererHeightZ","inVR","centerX","centerY")){this.cw.copy(a.Ec.matrixWorld);var b=this.get("rendererHeightZ"),d=b*a.Ec.aspect,d=0.5*((this.get("centerX")-0.5*a.width)*d/a.width),b=0.5*((0.5*a.height-this.get("centerY"))*b/a.height);this.Cx.makeTranslation(d,b,0);b=p}this.o("roll")&&(this.kg.makeRotationZ(this.get("roll")*
f),b=p);if(a.vf&&(centerMatrixChanged||this.o("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"),this.ai.makeScale(a,b,1),b=p;this.o("width","height","offsetX","offsetY")&&(a=0.5-this.get("offsetX")/this.get("width"),b=this.get("offsetY")/this.get("height")-0.5,this.o5.makeTranslation(a,b,0),b=p);b&&(this.Jf.copy(this.cw),this.Jf.multiply(this.Ii),this.Jf.multiply(this.Cx),
this.Jf.multiply(this.kg),this.Jf.multiply(this.ai),this.Jf.multiply(this.o5),e.Kl(this.get("meshGroup"),this.Jf))}}});define("jt",["require","fb","eb","dd"],function(a){var b=a("fb"),c=a("eb"),a=a("dd");return b.extend(c,a,function(){c.call(this);this.set("tag","Sprite")})});
define("fg",["require","kl"],function(a){function b(a,c,f,g,k,j){this.ik=c;this.t=document.createElement("canvas");this.t.width=this.ik;this.t.height=this.ik;switch(a){case b.kz:this.Bia(f,g,k,j);break;case b.rF:this.Cia(f,g,k,j)}}var c=a("kl");b.prototype.Xc=R("ik");b.prototype.Kd=R("ik");b.prototype.Bia=function(a,b,f,g){for(var k=0.5*this.ik,j=0.5*this.ik,n=0.5*this.ik,i=this.t.getContext("2d"),b=c.ZX(b),l=i.createRadialGradient(k,j,0,k,j,n),q=0;q<f.length;q++)l.addColorStop(g[q],"rgba("+b[0]+
","+b[1]+","+b[2]+","+f[q]+")");i.fillStyle=l;i.globalAlpha=a;i.beginPath();i.arc(k,j,n,0,2*Math.PI,p);i.closePath();i.fill()};b.prototype.Cia=function(a,b,f,g){var k=0.5*this.ik,j=0.5*this.ik,n=0.5*this.ik,i=this.t.getContext("2d");i.clearRect(0,0,this.ik,this.ik);for(var l=c.ZX(b),q=i.createRadialGradient(k,j,0,k,j,n),b=0;b<f.length;b++)q.addColorStop(g[b],"rgba("+l[0]+","+l[1]+","+l[2]+","+f[b]+")");i.fillStyle=q;i.globalAlpha=a;i.beginPath();for(b=0;6>b;b++)f=45*Math.PI/180+2*Math.PI*b/6,a=k+
Math.cos(f)*n,f=j+Math.sin(f)*n,0==b?i.moveTo(a,f):i.lineTo(a,f);i.closePath();i.fill()};b.kz="circle";b.rF="hexagon";return b});
define("jZ","require,fb,hW,kV,cS,gN,cB,jt,fg,dS".split(","),function(a){var b=a("fb"),c=a("hW"),e=a("kV"),d=a("cS"),f=a("gN"),g=a("cB"),k=a("jt"),j=a("fg"),n=a("dS"),a=b.extend(f,function(a){f.call(this);this.k=a;this.$g.push(this.k);this.Rd=this.Rd.bind(this);this.set("tag","LensFlare");this.set("translationAlpha",0);this.GO=this.Bha();this.sd=this.gia();this.uh(this.GO.concat([this.sd]))});a.prototype.jb=function(){f.prototype.jb.call(this);this.trigger(e.Ab);this.trigger(e.R);c.xc(this.k,["yaw",
"pitch","bleaching","bleachingDistance"],this.Rd,p)};a.prototype.mb=function(){c.Pc(this.k,["yaw","pitch","bleaching","bleachingDistance"],this.Rd,p);f.prototype.mb.call(this)};a.prototype.Rd=function(){this.set("yaw",this.k.get("yaw"));this.set("pitch",this.k.get("pitch"));this.set("bleaching",this.k.get("bleaching"));this.set("bleachingDistance",this.k.get("bleachingDistance"))};a.prototype.I=function(a){f.prototype.I.call(this,a);this.set("rendererYaw",a.ha);this.set("rendererPitch",a.pitch);this.set("rendererRoll",
a.jd);this.set("rendererCameraFOV",a.vf);this.set("rendererWidth",a.width);this.set("rendererHeight",a.height);this.set("inVR",a.Lb);if(this.o("composedTranslationX","composedTranslationY","composedTranslationZ")){var b=this.get("composedTranslationX"),c=this.get("composedTranslationY"),e=this.get("composedTranslationZ");this.set("translationAlpha",Math.max(0,1-Math.sqrt(b*b+c*c+e*e)*10))}if(this.o("rendererYaw","rendererPitch","rendererRoll","rendererCameraFOV","rendererWidth","rendererHeight","inVR",
"yaw","pitch","translationAlpha","composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")){var g=a.ha+this.get("composedDeltaYaw"),j=a.pitch+this.get("composedDeltaPitch"),k=a.jd+this.get("composedDeltaRoll"),b=this.get("translationAlpha"),e=c=0,n,x,y,E;if(!a.Lb)if(g=d.get(this.get("yaw"),this.get("pitch"),g,j,k,a.vf,a.width,a.height)){x=a.width*0.5;E=a.height*0.5;n=g.x;y=g.y;x=(x-n)*2;E=(E-y)*2;e=Math.sqrt(x*x+E*E);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-e/c))*b;g=this.get("bleaching");a=1-Math.max(0,Math.min(1,e/(a*this.get("bleachingDistance"))));e=g*a*b}for(a=0;a<this.GO.length;a++){b=this.GO[a];b.set("alpha",c);if(c>0){b.set("centerX",n+x*i[a].position);b.set("centerY",y+E*i[a].position)}}this.sd.set("alpha",e)}};a.prototype.Bha=function(){return i.map(function(a){var b=(new j(a.form,a.sv,a.opacity,a.color,a.Tu,a.Uu)).t,c=new n;c.pi(b);b=new k;b.set("textureSource",c);b.set("width",a.size);b.set("height",a.size);b.set("offsetX",
a.size*0.5);b.set("offsetY",a.size*0.5);b.set("alpha",0);return b})};a.prototype.gia=function(){return new g("#ffffff")};var i=[{form:j.rF,position:0.1,size:52,sv:128,opacity:0.8,color:"#FCFCFC",Tu:[1,0.5],Uu:[0,0.866]},{form:j.rF,position:0.2,size:52,sv:128,opacity:0.6,color:"#C8FCC8",Tu:[1,0.5],Uu:[0,0.866]},{form:j.kz,position:0.36,size:112,sv:128,opacity:0.5,color:"#C8C8FC",Tu:[1,0.9,0.6,0],Uu:[0,0.2,0.4,1]},{form:j.kz,position:0.47,size:32,sv:128,opacity:0.3,color:"#96C8AF",Tu:[1,1,0],Uu:[0,
0.9,1]},{form:j.kz,position:0.65,size:52,sv:128,opacity:0.7,color:"#FCFCFC",Tu:[0.7,0.7,0.2,0],Uu:[0,0.1,0.4,1]},{form:j.rF,position:0.88,size:128,sv:128,opacity:0.4,color:"#AF96C8",Tu:[1,0.5],Uu:[0,0.866]},{form:j.kz,position:1,size:33,sv:128,opacity:0.8,color:"#C89696",Tu:[0.8,0.8,0.6,0],Uu:[0,0.2,0.4,1]}];return a});
define("bz",["require","dG"],function(a){function b(a,b,k){d.style.fontFamily=e.Kr(b.fontFamily);d.style.fontSize=b.fontSize;d.style.fontWeight=b.fontWeight;d.style.fontStyle=b.fontStyle;d.innerHTML=a;document.body.appendChild(d);var j=new c(Math.ceil(d.clientWidth),Math.ceil(d.clientHeight));document.body.removeChild(d);k&&(k.font=b.fontSize+" "+e.Kr(b.fontFamily),a=k.measureText(a).width,j.height*=a/j.width,j.width=a);return j}function c(a,b){this.width=a;this.height=b}var e=a("dG"),d=document.createElement("div");
d.style.display="inline-block";d.style.margin=0;d.style.padding=0;d.style.whiteSpace="nowrap";b.H_=function(){this.fontFamily="Arial";this.fontSize="12px";this.fontWeight="400";this.fontStyle="normal"};b.Oya=c;return b});
define("jU",["require","bz","dG"],function(a){function b(a,b){this.Ma=a;this.U6=5;this.Kc=b.map(function(b){return new c(a,b)});this.Qw=this.Rw=this.Bh=this.ve=0;this.KV();this.t=document.createElement("canvas");this.t.width=this.ve;this.t.height=this.Bh;this.ia=this.t.getContext("2d");this.Z=p;this.qd=this.N6=-1}function c(a,b){this.Yu=a;this.item=b;this.label=b.get("label");this.fontFamily=this.Yu.get("fontFamily","Arial");this.fontSize="12px";this.backgroundColor=this.Yu.get("backgroundColor",
"#000000");this.tca=this.Yu.get("rollOverBackgroundColor",this.backgroundColor);this.mwa=this.Yu.get("selectedBackgroundColor",this.tca);this.naa=this.Yu.get("fontColor","#000000");this.uca=this.Yu.get("rollOverFontColor",b.naa);this.nwa=this.Yu.get("selectedFontColor",b.uca);this.nda=this.mda=this.oda=this.pda=this.height=this.width=this.left=this.top=0;this.status=z;this.DX=p}var e=a("bz"),d=a("dG");c.prototype.hya=function(){var a=new e.H_;a.fontFamily=this.fontFamily;a.fontSize=this.fontSize;
a=e(this.label,a);this.pda=a.width;this.oda=a.height};c.prototype.vxa=function(a){this.status!=a&&(this.status=a,this.DX=p)};c.prototype.fta=function(a){if(this.DX){this.DX=z;var b,c;switch(this.status){case "normal":b=this.backgroundColor;c=this.naa;break;case "over":b=this.tca;c=this.uca;break;case "selected":b=this.mwa,c=this.nwa}a.clearRect(this.left,this.top,this.width,this.height);a.fillStyle=b;a.fillRect(this.left,this.top,this.width,this.height);a.fillStyle=c;a.font=this.fontSize+" '"+this.fontFamily+
"'";a.font=this.fontSize+(isNaN(this.fontSize)?"":"px")+" "+d.Kr(this.fontFamily);a.textBaseline="middle";a.textAlign="center";a.fillText(this.label,Math.round(this.mda),Math.round(this.nda));return p}return z};b.prototype.Xc=R("ve");b.prototype.Kd=R("Bh");b.prototype.KV=function(){var a=0,b=0;this.Kc.forEach(function(c){c.hya();a=Math.max(c.pda,a);b=Math.max(c.oda,b)});this.Rw=a+2*this.U6;this.Qw=b+2*this.U6;var c=0,d=0,e=0;this.Kc.forEach(function(a){20<=e&&(e=0,d+=this.Rw,c=0);a.left=d;a.top=c;
a.mda=d+0.5*this.Rw;a.nda=c+0.5*this.Qw;a.width=this.Rw;a.height=this.Qw;e+=1;c+=this.Qw}.bind(this));this.ve=Math.ceil(this.Kc.length/20)*this.Rw;this.Bh=Math.min(20,this.Kc.length)*this.Qw};b.prototype.update=function(){for(var a=z,b=0;b<this.Kc.length;b++)this.Kc[b].vxa(this.N6==b?"over":this.qd==b?"selected":"normal"),a=this.Kc[b].fta(this.ia)||a;return a};b.prototype.zaa=function(a,b){var c=-1;0<=a&&a<this.ve&&0<=b&&b<this.Bh&&(c=20*Math.floor(a/this.Rw)+Math.floor(b/this.Qw),c>=this.Kc.length&&
(c=-1));return c};b.prototype.EY=P("N6");b.prototype.KY=P("qd");b.prototype.clear=function(){this.Kc=this.t=this.ia=this.Ma=r};return b});
define("ez","require,fb,kV,hc,jU,dS,kH,bq".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("fb"),e=a("kV"),d=a("hc"),f=a("jU"),g=a("dS"),k=a("kH"),j=a("bq"),a=c.extend(d,function(a){d.call(this);this.Ma=a;this.t=r;this.Po=this.ej=this.JT=this.Eo=m;this.F1=20;this.Wd=r;this.rb=this.Ma.get("opacity",0.5);this.QB=this.Ma.get("rollOverOpacity",this.rb);this.Mla=1;this.Ola=0.66;this.set("tag","MenuButton");this.set("visible",z);this.set("over",z);this.set("centerDistance",
m)});a.prototype.I=function(a){this.mg(a);this.fD(a);this.Tf(a);this.Xo(a);d.prototype.I.call(this,a)};a.prototype.mg=function(){if(this.get("visible")){if(!this.t){this.get("textureSource")||this.set("textureSource",new g);this.t=new f(this.Ma,[this.Ma]);this.get("textureSource").pi(this.t.t);this.set("contentWidth",this.t.Xc());this.set("contentHeight",this.t.Kd());this.set("hfov",2*Math.atan2(this.t.Xc()*0.5,300)*i);this.set("distance",this.Ma.get("distance"))}if(this.t.update()){this.get("textureSource").update();
this.Oa()}this.o("over")&&this.t.EY(this.get("over")?0:-1)}};a.prototype.fD=function(a){if(this.o("visible"))this.Wd=new k("linear",[new j("displayCoef",this.get("visible")?0:1,this.get("visible")?1:0,m)],300);if(this.Wd)this.Wd.He()?this.Wd=r:this.Wd.$a(a.td)};a.prototype.Tf=function(a){if(this.get("visible")||this.Wd){this.ej=a.ha;this.Po=Math.min(90,Math.max(-90,this.F1+this.F1-a.pitch));if(this.o("visible")&&this.get("visible")){this.set("yaw",a.ha);this.set("pitch",a.pitch)}else{for(;this.ej+
180<this.Eo;)this.Eo=this.Eo-360;for(;this.ej-180>this.Eo;)this.Eo=this.Eo+360;var c=(this.ej-this.Eo)/a.td,d=(this.Po-this.JT)/a.td,f=Math.atan2(d,c),d=Math.sqrt(d*d+c*c),d=Math.min(d,10*n),c=Math.cos(f)*d,f=Math.sin(f)*d;this.set("yaw",b(this.get("yaw"),this.ej+c));this.set("pitch",b(this.get("pitch"),this.Po+f))}this.Eo=this.ej;this.JT=this.Po;f=this.get("yaw")-a.ha;a=this.get("pitch")-a.pitch;this.set("centerDistance",Math.sqrt(f*f+a*a))}};a.prototype.Xo=function(){if(!this.get("visible")&&!this.Wd)this.set("alpha",
0);else if(this.o("over","centerDistance")||this.Wd){var a=this.get("over")?this.QB:this.rb,b=this.Ola,c=this.get("centerDistance")/this.get("hfov");if(c<1){b=b+(1-c)*(this.Mla-b);a=a+(1-c)*(this.QB-a)}if(this.Wd){a=a*this.Wd.tb("displayCoef");b=b*this.Wd.tb("displayCoef")}this.set("alpha",a);this.set("scale",b)}};a.prototype.sj=function(a){if(a.Xd==e.xi){var b=z;this.get("visible")&&!a.nh()&&(b=this.$n(a.tl).length>0);if(b){a.Cr(this.Ma);a.Dr(this.Ma);a.hi(this.get("distance"))}if(this.get("over")!=
b){this.get("over")&&this.Ma.trigger(e.Mb);this.set("over",b);this.get("over")&&this.Ma.trigger(e.pc)}}else if(a.Xd==e.wi&&this.get("visible")&&!a.nh()&&this.$n(a.tl).length>0){a.wp(this.Ma);this.Ma.trigger(e.T);this.trigger(e.T)}};var n=Math.PI/180,i=180/Math.PI;return a});
define("hf","require,fb,kV,hc,jU,dS,kH,bq".split(","),function(a){var b=a("fb"),c=a("kV"),e=a("hc"),d=a("jU"),f=a("dS"),g=a("kH"),k=a("bq"),a=b.extend(e,function(a,b){e.call(this);this.Ma=a;this.kB=b;this.t=r;this.JT=this.Eo=m;this.Wd=r;this.rb=this.Ma.get("opacity",0.5);this.QB=this.Ma.get("rollOverOpacity",this.rb);this.set("textureSource",new f);this.t=new d(this.Ma,b);this.set("tag","MenuPanel");this.get("textureSource").pi(this.t.t);this.set("contentWidth",this.t.Xc());this.set("contentHeight",
this.t.Kd());this.set("hfov",2*Math.atan2(this.t.Xc()*0.5,300)*j);this.set("distance",this.Ma.get("distance"));this.set("overIndex",-1);this.set("selectedIndex",-1);this.E2=z});a.prototype.jb=function(){e.prototype.jb.call(this)};a.prototype.mb=function(){e.prototype.mb.call(this)};a.prototype.I=function(a){this.mg(a);this.fD(a);this.Tf(a);e.prototype.I.call(this,a)};a.prototype.mg=function(){this.o("selectedIndex")&&this.t.EY(this.get("selectedIndex"));this.o("overIndex")&&this.t.EY(this.get("overIndex"));
if(this.t.update()){this.get("textureSource").update();this.Oa()}};a.prototype.fD=function(a){if(!this.Wd&&!this.E2)this.Wd=new g("linear",[new k("alpha",0,1,m),new k("scale",0,1,m),new k("yaw",a.ha,this.get("yaw"),m),new k("pitch",a.pitch,this.get("pitch"),m)],300);if(this.Wd)if(this.Wd.He()){this.E2=p;this.Wd=r}else this.Wd.$a(a.td)};a.prototype.Tf=function(){if(this.Wd){var a=this.get("overIndex")<0?this.rb:this.QB;this.set("alpha",a*this.Wd.tb("alpha"));this.set("scale",this.Wd.tb("scale"));this.set("yaw",
this.Wd.tb("yaw"));this.set("pitch",this.Wd.tb("pitch"))}else if(this.o("overIndex")){a=this.get("overIndex")<0?this.rb:this.QB;this.set("alpha",a)}};a.prototype.sj=function(a){if(a.Xd==c.xi){var b=-1;if(!a.nh()){var d=this.$n(a.tl).filter(function(a){return a.source==this.t.t}.bind(this));d.length>0&&(b=this.t.zaa(d[0].x,d[0].y))}if(b>=0){a.Cr(this.kB[b]);a.Dr(this.kB[b]);a.hi(this.get("distance"))}this.get("overIndex")>=0!=b>=0&&(b>0?this.trigger(c.pc):this.trigger(c.Mb));if(this.get("overIndex")!=
b){this.get("overIndex")>=0&&this.kB[this.get("overIndex")].trigger(c.Mb);this.set("overIndex",b);this.get("overIndex")>=0&&this.kB[this.get("overIndex")].trigger(c.pc)}}else if(a.Xd==c.wi&&!a.nh()){d=this.$n(a.tl).filter(function(a){return a.source==this.t.t}.bind(this));if(d.length>0){b=this.t.zaa(d[0].x,d[0].y);if(b>=0){d=this.kB[b];this.set("selectedIndex",b);a.wp(d);a.hi(this.get("distance"));d.trigger(c.T);this.trigger(c.T,{item:d})}}}};var j=180/Math.PI;return a});
define("it",["require","fb","kV","gN","hf"],function(a){var b=a("fb"),c=a("kV"),e=a("gN"),d=a("hf"),a=b.extend(e,function(a){e.call(this);this.Ma=a;this.br=[];this.ix=r;this.set("tag","MenuPanels");this.set("visible",z)});a.prototype.I=function(a){this.o("visible")&&this.get("visible")&&(this.set("yaw",a.ha),this.set("pitch",a.pitch),this.R0(this.Ma));e.prototype.I.call(this,a)};a.prototype.R0=function(a){var a=new d(this.Ma,a.get("children",[])),b=this.get("yaw");this.Na().forEach(function(a){b+=
a.get("hfov")+g});a.set("yaw",b);a.set("pitch",this.get("pitch"));this.Bfa(a);this.appendChild(a)};a.prototype.K7=function(a){this.Na().slice(a).forEach(function(a){this.ioa(a);a.remove()}.bind(this));this.br=this.br.filter(function(a){return 0<=this.Na().indexOf(a)}.bind(this))};a.prototype.Bfa=function(a){a.bind(c.pc,this.Z6,this,p);a.bind(c.Mb,this.Y6,this,p);a.bind(c.T,this.X6,this,p)};a.prototype.ioa=function(a){a.unbind(c.pc,this.Z6,this,p);a.unbind(c.Mb,this.Y6,this,p);a.unbind(c.T,this.X6,
this,p)};a.prototype.Z6=function(a){0>this.br.indexOf(a.source)&&(this.br.push(a.source),1==this.br.length&&this.U1())};a.prototype.Y6=function(a){a=this.br.indexOf(a.source);0<=a&&(this.br.splice(a,1),0==this.br.length&&this.rpa())};a.prototype.X6=function(a){var b=a.source,a=a.data.item;a.get("children",[]).length?(this.K7(this.Na().indexOf(b)+1),this.R0(a)):this.Y1()};a.prototype.Y1=function(){this.set("visible",z);this.K7(0);this.U1();this.trigger(c.gs)};a.prototype.U1=function(){this.ix&&(clearTimeout(this.ix),
this.ix=r)};a.prototype.rpa=function(){this.ix||(this.ix=setTimeout(function(){this.ix=r;this.Y1()}.bind(this),f))};var f=3E3,g=1;return a});
define("eD","require,fb,kV,gN,ez,it".split(","),function(a){var b=a("fb"),c=a("kV"),e=a("gN"),d=a("ez");MenuPanels=a("it");a=b.extend(e,function(a){e.call(this);this.k=a;this.$g.push(this.k);this.set("tag","Menu");this.set("visible",z);this.qc=new d(this.k);this.qc.bind(c.T,this.uga,this,z);this.of=new MenuPanels(this.k);this.of.bind(c.gs,this.mna,this,z);this.uh([this.qc,this.of])});a.prototype.jb=function(){e.prototype.jb.call(this);this.trigger(c.Ab);this.trigger(c.R)};a.prototype.I=function(a){this.set("visible",
a.Lb);if(this.o("visible")){this.qc.set("visible",this.get("visible"));this.of.set("visible",z)}e.prototype.I.call(this,a)};a.prototype.uga=function(){this.qc.set("visible",z);this.of.set("visible",p)};a.prototype.mna=function(){this.qc.set("visible",this.get("visible"))};return a});
define("kQ","require,fb,kV,hc,dS,hH,ix".split(","),function(a){var b=a("fb"),c=a("kV"),e=a("hc"),d=a("dS");EventAggregator=a("hH");ProgressEvent=a("ix");a=b.extend(e,function(){e.call(this);this.set("tag","CustomPlane");this.set("source",r);this.set("sourceUpdated",z);this.jc=this.ze=r});a.prototype.jb=function(){this.ze=(new EventAggregator(c.R)).ui(this.hl.bind(this));this.jc=(new EventAggregator(c.R)).yk(this.zo.bind(this));e.prototype.jb.call(this)};a.prototype.mb=function(){this.ze.dispose();
this.jc.dispose();e.prototype.mb.call(this)};a.prototype.I=function(a){if(this.o("source","sourceUpdated","useMipmapping","anisotropy")){var b=this.get("textureSource");b||this.set("textureSource",b=new d);this.o("source")&&b.pi(this.get("source"));this.o("sourceUpdated")&&(b.update(),this.set("sourceUpdated",z));this.o("useMipmapping")&&b.uM(this.get("useMipmapping"),this.get("anisotropy"))}e.prototype.I.call(this,a);if(this.o("meshGroup")){a=(a=this.get("meshGroup"))&&a.children||[];if(a.length){this.ze.vd(a);
this.jc.vd(a)}}};a.prototype.hl=function(){this.trigger(c.Ab);this.trigger(c.R)};a.prototype.zo=function(a,b){var d=0;b.Xm(function(a){(a=b.ni(a))&&(d=d+a.th)});this.trigger(new ProgressEvent(c.oc,d/b.Rc.length))};return a});
define("hm",["require"],function(){function a(a){this.Od=this.EA(a.get("surfaceReticleColor"));this.Dm=this.EA(a.get("surfaceReticleSelectionColor"));this.rb=a.get("surfaceReticleOpacity");this.e8=a.get("surfaceReticleSelectionOpacity");this.Bh=this.ve=128;this.gna=0.456;this.hna=0.088;this.Wka=0.18;this.t=document.createElement("canvas");this.t.width=this.ve;this.t.height=this.Bh;this.ia=this.t.getContext("2d");this.ia.fillStyle="red";this.ia.Fua=p;this.ia.fillRect(0,0,this.ve,this.Bh);this.Nf=this.dP=
z;this.Tw=this.CI=m;this.Ks=0}a.prototype.PQ=function(a){return this.ek(this.Dm[0]*a+(1-a)*this.Od[0],this.Dm[1]*a+(1-a)*this.Od[1],this.Dm[2]*a+(1-a)*this.Od[2],this.e8*a+(1-a)*this.rb)};a.prototype.EA=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.ek=function(a,c){return"rgba("+a.join(",")+", "+c+")"};a.prototype.Fa=function(a){this.sa!=a&&(this.sa=a,this.Z=p)};a.prototype.Xc=R("ve");a.prototype.Kd=R("Bh");
a.prototype.update=function(){if(!this.Z)return z;this.Z=z;this.ia.clearRect(0,0,this.ve,this.Bh);var a=[this.Dm[0]*this.sa+(1-this.sa)*this.Od[0],this.Dm[1]*this.sa+(1-this.sa)*this.Od[1],this.Dm[2]*this.sa+(1-this.sa)*this.Od[2]],c=this.e8*this.sa+(1-this.sa)*this.rb;this.ia.strokeStyle=this.ek(a,c);this.ia.fillStyle=this.ek(a,c*this.sa);this.ia.beginPath();this.ia.lineWidth=this.ve*this.hna;this.ia.arc(0.5*this.ve,0.5*this.ve,this.ve*this.gna,0,2*Math.PI,z);this.ia.stroke();this.ia.beginPath();
this.ia.arc(0.5*this.ve,0.5*this.ve,this.ve*this.Wka,0,2*Math.PI,z);this.ia.fill();return p};return a});
define("fr","require,fb,hW,kV,gP,gN,kQ,hm,cA,fE".split(","),function(a){function b(a,b,c){this.VL=a;this.VL.bind(d.G("distanceToFloor"),this.I,this,z);this.Jg=b;this.Jg.bind(d.G("yaw"),this.I,this,z);this.Jg.bind(d.G("distance"),this.I,this,z);this.Jg.bind(d.G("enabled"),this.I,this,z);this.Jg.bind(d.G("enabledInSurfaceSelection"),this.I,this,z);this.sa=r;this.oi=new k;this.oi.set("hfov",20);this.oi.set("vfov",20);this.oi.set("pitch",-90);this.oi.set("useMipmapping",p);this.oi.set("anisotropy",16);
this.oi.set("source",c.t);this.oi.set("contentWidth",c.Xc());this.oi.set("contentHeight",c.Kd());this.I()}var c=a("fb"),e=a("hW"),d=a("kV"),f=a("gP"),g=a("gN"),k=a("kQ"),j=a("hm"),n=a("cA"),i=a("fE"),a=c.extend(g,function(a){g.call(this);this.jI=this.jI.bind(this);this.tm=this.tm.bind(this);this.hI=this.hI.bind(this);this.set("tag","SurfaceSelector");this.set("reticleVisible",z);this.set("enabled",z);this.L=a;this.OF=[];this.rA=new i;this.Ce=new n;this.Cb=new k;this.Cb.set("useMipmapping",p);this.Cb.set("anisotropy",
16);this.Cb.set("hfov",20);this.Cb.set("vfov",20);this.Cb.set("pitch",-90);this.set("reticleCoef",1);this.uh([this.Cb])});a.prototype.jb=function(){this.Wha();g.prototype.jb.call(this);e.xc(this.L,["distanceToFloor"],this.jI,p);e.xc(this.L,["adjacentPanoramas"],this.tm,p);e.xc(this.Za.Nb,["adjacentPanoramaPositionsEnabled"],this.hI,p);this.trigger(d.Ab);this.trigger(d.R)};a.prototype.mb=function(){g.prototype.mb.call(this);e.Pc(this.L,["distanceToFloor"],this.jI);e.Pc(this.L,["adjacentPanoramas"],
this.tm);e.Pc(this.Za.Nb,["adjacentPanoramaPositionsEnabled"],this.hI);this.l8([])};a.prototype.jI=function(){var a=this.L.get("distanceToFloor");this.Cb.set("distance",a);var a=f.Ou(a),b=f.pX(a,90),c=f.qX(a,90);this.rA.Md.set(-b*0.5,-a,-c*0.5);this.rA.pg.set(b*0.5,-a,-c*0.5);this.rA.Sr.set(-b*0.5,-a,c*0.5);this.S7=a/f.ep()};a.prototype.tm=function(){this.l8(this.L.get("adjacentPanoramas",[]))};a.prototype.hI=function(){this.tm()};a.prototype.l8=function(a){this.OF.forEach(function(a){a.clear()});
this.OF=a.map(function(a){return new b(this.L,a,this.DT)}.bind(this));a=[];this.Za.Nb.get("adjacentPanoramaPositionsEnabled")&&(a=a.concat(this.OF.map(function(a){return a.oi})));a=a.concat([this.Cb]);this.uh(a)};a.prototype.I=function(a){g.prototype.I.call(this,a);this.set("enabled",a.PE);this.ZV(a);this.zr(a)};a.prototype.ZV=function(){if(this.o("enabled","reticleVisible","composedTranslationX","composedTranslationY","composedTranslationZ","composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")){this.Cb.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.U9()}};a.prototype.Wha=function(){this.zx=new j(this.Za.D);this.zx.Fa(this.get("reticleCoef"));this.Cb.set("source",this.zx.t);this.Cb.set("contentWidth",this.zx.Xc());this.Cb.set("contentHeight",this.zx.Kd());this.DT=new j(this.Za.D);
this.DT.Fa(0);this.DT.update(1)};a.prototype.zr=function(a){this.o("reticleCoef")&&this.zx.Fa(this.get("reticleCoef"));this.Cb.set("sourceUpdated",this.zx.update(a.td))};a.prototype.sj=function(a){if(!this.get("enabled")||a.tl.length==0||a.nh()||a.Bva())this.set("reticleVisible",z);else{var b=a.tl[0];this.Ce.Md.set(b.origin.x,b.origin.y,b.origin.z);this.Ce.pg.set(b.origin.x+b.direction.x,b.origin.y+b.direction.y,b.origin.z+b.direction.z);if(b=this.rA.intersection(this.Ce,p)){var c=this.rA.YL(b,p),
f=2*(0.5-c.x),c=2*(0.5-c.y),e=l*Math.atan2(-f,c),g=-90+l*Math.atan2(Math.sqrt(f*f+c*c),1);if(g<-75||g>-1)this.set("reticleVisible",z);else{var i={x:f*this.S7,y:-c*this.S7};if(!a.Rr()&&!a.Fba())this.set("reticleVisible",z);else{this.set("reticleVisible",p);this.Cb.set("alpha",Math.min(1,(g- -75)/5));this.Cb.set("translationX",i.x);this.Cb.set("translationZ",i.y)}a.Fba()&&a.ssa([n]);var j=this.Za.Nb.get("surfaceSelectionHorizontalAngle")*0.5,k=this.Za.Nb.get("surfaceSelectionVerticalAngle")*0.5,f=this.OF.map(function(a){var b=
a.Ota(e),c=a.kua(g),d=a.dX(i);return{Jg:a.Jg,nba:b,zda:c,iaa:d}}).filter(function(a){return a.nba<j&&a.zda<k});if(f.length==0)this.set("reticleCoef",0);else{f.sort(function(a,b){return a.iaa-b.iaa});var n=f[0].Jg;this.set("reticleCoef",Math.max(0,Math.min(1,(1-f[0].nba/j)*(1-f[0].zda/k))));b=this.L.get("distanceToFloor")*Math.sqrt(b.x*b.x+b.y*b.y+b.z*b.z)/-b.y;a.hi(b);if(a.Xd==d.wi){a.wp([n]);n.trigger(d.zi)}else{a.Cr([n]);a.Rr()&&a.Dr([n]);(n=this.Za.D.get("displayTooltipInSurfaceSelection")&&n.get("panorama")&&
n.get("panorama").get("label"))&&a.OK(n,0)}}}}else this.set("reticleVisible",z)}};b.prototype.clear=function(){this.VL.unbind(d.G("distanceToFloor"),this.I,this,z);this.VL=r;this.Jg.unbind(d.G("yaw"),this.I,this,z);this.Jg.unbind(d.G("distance"),this.I,this,z);this.Jg.unbind(d.G("enabled"),this.I,this,z);this.Jg.unbind(d.G("enabledInSurfaceSelection"),this.I,this,z);this.Jg=r};b.prototype.Ota=function(a){if(!this.sa)return Infinity;a=Math.abs(this.sa.ha-a);return a>180?360-a:a};b.prototype.kua=function(a){return!this.sa?
Infinity:Math.abs(this.sa.pitch-a)};b.prototype.dX=function(a){if(!this.Qx)return Infinity;var b=a.x-this.Qx.x,a=a.y-this.Qx.y;return Math.sqrt(b*b+a*a)};b.prototype.I=function(){var a=this.Jg.get("yaw"),b=this.Jg.get("distance"),c=this.Jg.get("enabled")&&this.Jg.get("enabledInSurfaceSelection");if(a===m||b===m||!c){this.Qx=this.sa=r;this.oi.set("alpha",0)}else{var c=this.VL.get("distanceToFloor"),d=-90+Math.atan2(b,c)*l;this.oi.set("alpha",d<-1?1:0);this.sa={ha:a,pitch:d};d=-Math.cos(a*q)*b/c;a=
-Math.sin(a*q)*b/c;b=f.Ou(c)/f.ep();this.Qx={x:a*b,y:d*b};this.oi.set("translationX",this.Qx.x);this.oi.set("translationZ",this.Qx.y);this.oi.set("distance",c)}};var l=180/Math.PI,q=Math.PI/180;return a});
define("O","require,fb,hW,kV,ix,gN,fr,hH,jX,ha".split(","),function(a){var b=a("fb"),c=a("hW"),e=a("kV"),d=a("ix"),f=a("gN"),g=a("fr"),k=a("hH"),j=a("jX"),n=a("ha"),i=0,a=b.extend(f,function(a){f.call(this);this.k=a;this.$g.push(this.k);this.iI=this.iI.bind(this);this.Qd=this.Qd.bind(this);this.tm=this.tm.bind(this);this.Ok(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","Panorama");this.set("loadingActive",z);this.set("blendingActive",p);this.set("currentTime",0);this.set("adjacentPanoramas",
[]);this.set("preloadEnabled",p);this.set("backgroundPreloadEnabled",p);this.set("surfaceSelectionEnabled",z);this.set("id","panorama_"+i++);this.set("ready",z);this.eJ=[];this.bk=this.jc=this.zd=r;this.lf=new l;this.Yj=new q;this.wqa=new g(this.k);this.uh([this.lf,this.wqa,this.Yj])});a.prototype.jb=function(){this.zd=(new k(e.R)).ui(this.hl.bind(this));this.jc=(new k(e.oc)).yk(this.Mt.bind(this));this.bk=(new k(e.Ab)).ui(this.kma.bind(this));f.prototype.jb.call(this);c.xc(this.k,["currentTime"],
this.iI,p);c.xc(this.k,["frames","overlays","vrMenu","adjacentPanoramas"],this.Qd,p);c.xc(this.k,["adjacentPanoramas"],this.tm,p)};a.prototype.mb=function(){this.zd.dispose();this.jc.dispose();this.bk.dispose();f.prototype.mb.call(this);c.Pc(this.k,["currentTime"],this.iI);c.Pc(this.k,["frames","overlays","vrMenu","flipImageHorizontally"],this.Qd);c.Pc(this.k,["adjacentPanoramas"],this.tm);this.ZU()};a.prototype.Qd=function(){var a=this.Za.hp(this.k.get("frames"));a.forEach(function(a){a.set("panoramaId",
this.get("id"));a.set("flipHorizontally",this.k.get("flipImageHorizontally"))}.bind(this));var b=this.Za.hp(this.k.get("overlays"));this.k.get("vrMenu")&&b.push(this.Za.hp(this.k.get("vrMenu")));b.forEach(function(a){a.set("panoramaId",this.get("id"))}.bind(this));this.zd.vd(a.concat(b));this.jc.vd(a.concat(b));this.bk.vd(a);this.lf.uh(a);this.Yj.uh(b);this.set("panoramaPixelsPerDegree",j.Gaa(this.k));this.Z9()};a.prototype.iI=function(){this.set("currentTime",this.k.get("currentTime",0))};a.prototype.tm=
function(){this.set("adjacentPanoramas",this.k.get("adjacentPanoramas",[]))};a.prototype.hl=function(){this.Il();this.trigger(e.R)};a.prototype.kma=function(){this.Il();this.set("ready",p);this.trigger(e.Ab)};a.prototype.Mt=function(){this.Il()};a.prototype.Il=function(){var a=0;this.jc.Xm(function(b){var c=0,d;this.zd.ni(b)?c=100:(d=this.jc.ni(b))&&(c=d.th);a=a+c}.bind(this));this.trigger(new d(e.oc,a/this.jc.Rc.length))};a.prototype.I=function(a){this.set("blendingActive",this.get("alpha")<1);this.set("backgroundPreloadEnabled",
this.Za.ob.get("backgroundPreloadEnabled")!==z);this.set("preloadEnabled",a.vE);this.o("adjacentPanoramas","loadingActive","preloadEnabled","backgroundPreloadEnabled")&&(this.get("loadingActive")&&this.get("backgroundPreloadEnabled")?this.fqa():this.ZU());this.o("index")&&this.Z9();f.prototype.I.call(this,a)};a.prototype.AX=function(){return j.AX(this.k,this.get("preloadEnabled"))};a.prototype.fqa=function(){this.ZU();this.eJ=this.get("adjacentPanoramas").map(function(a){a=a.get("panorama");return[a,
j.Qu(a,this.get("preloadEnabled"))]}.bind(this));this.eJ.forEach(function(a){n.L$(a[0],a[1]);n.SL(a[0],1)})};a.prototype.ZU=function(){this.eJ.forEach(function(a){n.SL(a[0],-1);n.ewa(a[0],a[1])});this.eJ=[]};a.prototype.Z9=function(){var a=this.get("index");this.lf.Na().forEach(function(b,c,d){b.set("panoramaIndex",a);b.set("frameIndex",c);b.set("frameCount",d.length)})};var l=b.extend(f,function(){f.call(this);this.Ok(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("loadingActive",
z);this.set("currentTime",0);this.set("tag","Group")});l.prototype.I=function(a){this.Na().forEach(function(a,b,c){a.set("frontFrame",c[c.length-1])});f.prototype.I.call(this,a)};var q=b.extend(f,function(){f.call(this);this.Ok(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("loadingActive",z);this.set("currentTime",0);this.set("tag","Group")});return a});
define("bs",["require","fb","eh","ds"],function(a){var b=a("fb"),c=a("eh"),e=a("ds"),d=0,a=b.extend(c,function(){c.call(this);this.set("tag","PanoramaFrame");this.set("panoramaIndex",0);this.set("frameIndex",0);this.set("frameCount",1);this.set("id","frame_"+d++)});a.prototype.I=function(a){c.prototype.I.call(this,a);this.pu()};a.prototype.tu=function(){if(this.o("panoramaIndex","frameIndex","frameCount","meshGroup")){var a=this.get("meshGroup");if(a){var b=this.get("panoramaIndex"),c=this.get("frameIndex"),
d=this.get("frameCount"),n=a.children.length;a.children.forEach(function(a,f){e.oM(a,b+(f+c/d)/n)}.bind(this))}}};a.prototype.pu=function(){if(this.o("meshGroup","panoramaId","id")){var a=this.get("meshGroup");a&&a.children.forEach(function(a,b){e.setAttribute(a,e.cs,this.get("panoramaId"));e.setAttribute(a,e.BM,b);e.setAttribute(a,e.wv,this.get("id"))}.bind(this))}};return a});
define("kt","require,fb,hW,kV,fZ,gN,bs,hH,jX,eL,hO,ix".split(","),function(a){var b=a("fb"),c=a("hW"),e=a("kV"),d=a("fZ"),f=a("gN"),g=a("bs"),k=a("hH"),j=a("jX"),n=a("eL"),i=a("hO"),l=a("ix"),a=b.extend(g,function(a){g.call(this);this.set("tag","ImagePanoramaFrame");this.i7=p;this.k=a;this.$g.push(this.k);this.gh=this.ze=this.bk=r;this.rS=[];this.Qd=this.Qd.bind(this);this.Ok(["loadingActive","currentTime","panoramaId","panoramaPixelsPerDegree"]);this.uh([this.Yj=new q])});a.prototype.jb=function(){this.bk=
new k(e.R);this.ze=new k(e.R);this.gh=new k(e.oc);g.prototype.jb.call(this);c.xc(this.k,["overlays"],this.Qd,p)};a.prototype.mb=function(){this.bk.dispose();this.ze.dispose();this.gh.dispose();c.Pc(this.k,["overlays"],this.Qd);g.prototype.mb.call(this)};a.prototype.Qd=function(){this.Yj.uh(this.Za.hp(this.k.get("overlays")));this.P9()};a.prototype.P9=function(){this.ze.vd([].concat(this.rS,this.Yj.Na()));this.gh.vd([].concat(this.rS,this.Yj.Na()))};a.prototype.Gi=function(){var a=[],b=[],c=[];j.kX(this.k,
this.i7).forEach(function(f,e){var g=n.Usa(this.k,f);if(j.Zua(f)){if(e==0){a=a.concat(g);b=b.concat(g)}i.qn(g,e==0?i.Lk:i.sF);i.pn(g,e==0?i.Aj:i.CN)}else{e==0&&(a=a.concat(g));b=b.concat(g);i.qn(g,i.Lk);i.pn(g,i.Aj)}i.nv(g,e==0?d.u_:d.Bj);i.Wy(g,e);c=c.concat(g)}.bind(this));this.bk.vd(a);this.rS=b;this.P9();this.ze.ui(this.hl.bind(this));this.bk.ui(this.Jma.bind(this));this.gh.yk(this.Mt.bind(this));this.trigger(new l(e.oc,0));return c};a.prototype.Jma=function(){this.trigger(e.Ab)};a.prototype.hl=
function(){this.trigger(e.R)};a.prototype.I=function(a){this.i7=a.vE;this.Dra();g.prototype.I.call(this,a)};a.prototype.Dra=function(){var a=this.get("frontFrame");if(this.o("frontFrame")||a&&a.o("alpha"))this.Yj.set("alpha",!a||a==this?1:1-a.get("alpha"))};a.prototype.Mt=function(){var a=0;this.gh.Xm(function(b){var c=0,d;this.ze.ni(b)?c=100:(d=this.gh.ni(b))&&(c=d.th);a=a+c}.bind(this));this.trigger(new l(e.oc,a/this.gh.Rc.length))};var q=b.extend(f,function(){f.call(this);this.Ok(["loadingActive",
"panoramaId","panoramaPixelsPerDegree"]);this.set("loadingActive",z);this.set("tag","Group")});return a});
define("jk","require,dl,kV,bY,fp,kD".split(","),function(a){function b(a,b){this.Pb=a;this.C=b;this.hg=z;this.bg=[];this.Hi=this.nw=m;this.Ic=[];this.SO();this.CP();this.XJ();this.dh()}function c(a,b,c){this.time=a;this.cue=b;this.action=c}var e=a("dl"),d=a("kV"),f=a("bY"),g=a("fp"),k=a("kD");b.prototype.clear=function(){this.Yz();this.bg=[];this.xV();this.C=this.Pb=r};b.prototype.SO=function(){this.C.bind(k.Hd,this.ed,this,p);this.C.bind(d.vc,this.dh,this,p);this.C.bind(d.Da,this.ar,this,p)};b.prototype.xV=
function(){this.C.unbind(k.Hd,this.ed,this,p);this.C.unbind(d.vc,this.dh,this,p);this.C.unbind(d.Da,this.ar,this,p)};b.prototype.dh=function(){var a=this.C.Ge()!=g.K;if(this.hg!=a)(this.hg=a)?this.XJ():this.Yz()};b.prototype.ar=function(){this.wu()};b.prototype.ed=function(){this.wu()};b.prototype.XJ=function(){this.Hi=this.nw=0};b.prototype.wu=function(){if(this.C&&this.hg){var a=this.Ic.slice(),b=this.C.jj(),c=b-this.nw;if(c<0){this.Ic=[];this.Hi=0}c=c>=0&&c<2;this.nw=b;var g;for(g=this.Hi;g<this.bg.length;g++)if(this.bg[g].time>
b)break;for(;this.Hi<g;this.Hi++){b=this.bg[this.Hi];if(b.action=="start"){this.Ic=e(this.Ic).union([b.cue]);c&&b.cue.trigger(new f(d.Dk))}else{this.Ic=e(this.Ic).difference([b.cue]);c&&b.cue.trigger(new f(d.Da))}}(a.length!=this.Ic.length||e(a).intersection(this.Ic).length!=this.Ic.length)&&this.ZC()}};b.prototype.Yz=function(){if(this.Ic.length>0){this.Ic=[];this.ZC()}};b.prototype.ZC=function(){this.Pb.trigger(new f(d.xf,{activeCues:this.Ic.slice()}))};b.prototype.CP=function(){this.bg=[];var a=
this.Pb.get("cues",[]);e(a).each(function(a){this.bg.push(new c(a.get("startTime",0),a,"start"));this.bg.push(new c(a.get("endTime",Number.POSITIVE_INFINITY),a,"end"))},this);this.bg.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("dP",["require","kV","fp","bY","kD"],function(a){function b(a,b,c){this.ob=a;this.Pb=b;this.C=c;this.C.xp(this.lm=this.Pb.get("currentTime",0));this.C.Fd(this.ae=this.ob.get("mute",z));this.C.ec(this.m=this.Pb.get("state",e.K));this.Hb=this.C.kj();this.Cfa();this.Hfa();this.Gn()}var c=a("kV"),e=a("fp"),d=a("bY"),f=a("kD");b.prototype.clear=function(){this.joa();this.noa();this.Ho();this.C.ec(e.K);this.Pb.set("state",e.K);this.Pb.set("currentTime",0);this.Pb.set("duration",m)};b.prototype.I6=
function(){var a=this.Pb.get("state",e.K);this.m!=a&&this.C.ec(this.m=a)};b.prototype.H6=function(){var a=this.Pb.get("currentTime",0);this.lm!=a&&this.C.xp(this.lm=a)};b.prototype.HB=function(){var a=this.ob.get("mute",0);this.ae!=a&&this.C.Fd(this.ae=a)};b.prototype.NB=function(){this.Pb.set("currentTime",this.lm=this.C.jj())};b.prototype.LB=function(){this.Pb.set("duration",this.Hb=this.C.kj())};b.prototype.MB=function(){this.Pb.set("state",this.m=this.C.Ge())};b.prototype.OB=function(){this.Pb.trigger(new d(c.Da));
this.Pb.get("loop")&&(this.C.xp(this.lm=0),this.C.ec(this.m=e.S))};b.prototype.Cfa=function(){this.ob.bind(c.G("mute"),this.HB,this,p)};b.prototype.joa=function(){this.ob.unbind(c.G("mute"),this.HB,this,p)};b.prototype.Hfa=function(){this.Pb.bind(c.G("state"),this.I6,this,p);this.Pb.bind(c.G("currentTime"),this.H6,this,p)};b.prototype.noa=function(){this.Pb.unbind(c.G("state"),this.I6,this,p);this.Pb.unbind(c.G("currentTime"),this.H6,this,p)};b.prototype.Gn=function(){this.C.bind(f.Hd,this.NB,this,
p);this.C.bind(f.Yf,this.LB,this,p);this.C.bind(c.vc,this.MB,this,p);this.C.bind(c.Da,this.OB,this,p)};b.prototype.Ho=function(){this.C.unbind(f.Hd,this.NB,this,p);this.C.unbind(f.Yf,this.LB,this,p);this.C.unbind(c.vc,this.MB,this,p);this.C.unbind(c.Da,this.OB,this,p)};return b});
define("hI",["require","kD","kV"],function(a){function b(a,b){this.Pb=a;this.C=b;this.tO=[];this.SO();this.Kf()}a("kD");var c=a("kV");b.prototype.clear=function(){this.dha();this.xV();this.C=this.Pb=r};b.prototype.SO=function(){this.C.bind(c.xf,this.Kf,this,p)};b.prototype.xV=function(){this.C.unbind(c.xf,this.Kf,this,p)};b.prototype.Kf=function(){this.Pb.set("activeSubtitles",this.tO=this.C.gm)};b.prototype.dha=function(){this.Pb.get("activeSubtitles")==this.tO&&this.Pb.set("activeSubtitles",this.tO=
[])};return b});
define("cY","require,fb,kV,fZ,fp,bs,hH,eL,jk,dP,ds,hO,hI,kD,ix".split(","),function(a){var b=a("fb"),c=a("kV"),e=a("fZ"),d=a("fp"),f=a("bs"),g=a("hH"),k=a("eL"),j=a("jk"),n=a("dP"),i=a("ds"),l=a("hO"),q=a("hI"),o=a("kD"),t=a("ix"),a=b.extend(f,function(a){f.call(this);this.k=a;this.$g.push(this.k);this.Ok(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","VideoPanoramaFrame");this.set("frameEmpty",m);this.set("atStart",m);this.x$=this.k.get("stereoSphere")||this.k.get("sphere");
this.Pd=o.Lg(this.x$);this.$x=[];this.Wt=[];this.gh=this.ze=this.tf=this.C=r});a.prototype.jb=function(){this.ze=(new g(c.R)).ui(this.hl.bind(this));this.gh=(new g(c.oc)).yk(this.Mt.bind(this));this.C=new o(this.Za.ob,this.x$);this.Yk=new j(this.k.vy(),this.C);this.ra=new n(this.Za.ob,this.k.vy(),this.C);this.OC=new q(this.k.vy(),this.C);this.Gn();f.prototype.jb.call(this)};a.prototype.mb=function(){this.ze.dispose();this.gh.dispose();this.Ho();this.Yk.clear();this.Yk=r;this.ra.clear();this.ra=r;
this.OC.clear();this.OC=r;this.C.clear();this.tf=this.C=r;f.prototype.mb.call(this)};a.prototype.Gi=function(){this.$x=k.Zsa(this.k,this.Pd);this.bsa=l.tv(i.Or(this.$x[0])[0]);this.$x.forEach(function(a){l.qn(a,l.Lk);l.pn(a,l.Aj)});if(this.Pd.get("posterURL")){this.Wt=k.$sa(this.k,this.Pd);this.Wt.forEach(function(a){l.qn(a,l.Lk);l.pn(a,l.Aj);l.nv(a,e.u_)})}else this.Wt=[];var a=[].concat(this.$x,this.Wt);this.ze.vd(a);this.gh.vd(a);this.trigger(new t(c.oc,0));return a};a.prototype.I=function(a){var b=
this.C.kL();this.set("frameEmpty",b.isEmpty());this.set("atStart",!(this.get("currentTime")>1));f.prototype.I.call(this,a);if(!this.tf||!this.tf.isEqual(b)){this.tf=b;this.bsa.pi(this.tf.it);this.Oa()}else this.C.Ge()==d.S&&this.Oa()};a.prototype.ei=function(){if(this.o("composedAlpha","meshGroup","frameEmpty","atStart"))if(this.Wt.length&&this.get("frameEmpty")&&this.get("atStart")){this.Wt.forEach(function(a){i.ud(a,this.get("composedAlpha"))}.bind(this));this.$x.forEach(function(a){i.ud(a,0)}.bind(this))}else{this.Wt.forEach(function(a){i.ud(a,
0)}.bind(this));this.$x.forEach(function(a){i.ud(a,this.get("composedAlpha"))}.bind(this))}};a.prototype.hl=function(){this.trigger(c.Ab);this.trigger(c.R)};a.prototype.Mt=function(a,b){var d=0;b.Xm(function(a){(a=b.ni(a))&&(d=d+a.th)});this.trigger(new t(c.oc,d/b.Rc.length))};a.prototype.dh=function(){this.Oa()};a.prototype.ed=function(){this.Oa()};a.prototype.Gn=function(){this.C.bind(o.Hd,this.ed,this,p);this.C.bind(c.vc,this.dh,this,p)};a.prototype.Ho=function(){this.C.unbind(o.Hd,this.ed,this,
p);this.C.unbind(c.vc,this.dh,this,p)};return a});
define("cI","require,fb,kV,hc,jD,hH,ix".split(","),function(a){var b=a("fb"),c=a("kV"),e=a("hc"),d=a("jD"),f=a("hH"),g=a("ix"),a=b.extend(e,function(){e.call(this);this.set("tag","ImagePlane");this.set("url",r);this.jc=this.zd=r});a.prototype.jb=function(){this.zd=(new f(c.R)).ui(this.hl.bind(this));this.jc=(new f(c.oc)).yk(this.zo.bind(this));e.prototype.jb.call(this)};a.prototype.mb=function(){this.zd.dispose();this.jc.dispose();e.prototype.mb.call(this)};a.prototype.I=function(a){if(this.o("url")){var b=
this.get("url");this.set("textureSource",b?new d(b):r)}e.prototype.I.call(this,a);if(this.o("meshGroup")){a=(a=this.get("meshGroup"))&&a.children||[];if(a.length){this.zd.vd(a);this.jc.vd(a)}}};a.prototype.hl=function(){this.trigger(c.Ab);this.trigger(c.R)};a.prototype.zo=function(a,b){var d=0;b.Xm(function(a){(a=b.ni(a))&&(d=d+a.th)});this.trigger(new g(c.oc,d/b.Rc.length))};return a});
define("bo","require,fb,hW,kV,fp,fF,gN,cB,kQ,cI,dP,ki,hH,jX,dA,ih,J,ix,kH,bq,kD,kD".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("fb"),e=a("hW"),d=a("kV"),f=a("fp");a("fF");var g=a("gN"),k=a("cB"),j=a("kQ"),n=a("cI"),i=a("dP"),l=a("ki"),q=a("hH"),o=a("jX"),t=a("dA"),s=a("ih"),u=a("J"),v=a("ix"),w=a("kH"),x=a("bq"),y=a("kD"),y=a("kD"),E=Math.PI/180,a=c.extend(g,function(a){g.call(this);this.k=a;this.$g.push(this.k);this.Qd=this.Qd.bind(this);
this.Ok(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","Popup");this.set("inVR",z);this.set("enabledInStandard",p);this.set("interactionEnabled",p);this.set("loadingActive",z);this.set("frameEmpty",p);this.set("state",f.K);this.set("itemVisible","none");this.set("visible",z);this.set("visiblePosition",0);this.set("alpha",0);this.set("over",z);this.set("gazeOver",z);this.set("video",r);this.set("image",r);this.bd=this.Ea=this.ja=this.jc=this.zd=r;this.va=new l;this.In=this.Jq=
this.gi=this.tf=this.C=r});a.prototype.jb=function(){this.zd=(new q(d.R)).ui(this.It.bind(this));this.jc=(new q(d.oc)).yk(this.Lt.bind(this));g.prototype.jb.call(this);this.Cha();this.appendChild(this.bd);e.xc(this.k,["playbackPositions","popupDistance","popupMaxHeight","popupMaxWidth","image","video","state","visible"],this.Qd,p)};a.prototype.mb=function(){this.zd.dispose();this.jc.dispose();e.Pc(this.k,["playbackPositions","popupDistance","popupMaxHeight","popupMaxWidth","image","video","state",
"visible"],this.Qd);this.gt();this.pq();this.G2();g.prototype.mb.call(this)};a.prototype.Qd=function(){this.set("image",this.k.get("image"));this.set("video",this.k.get("video"));this.set("state",this.k.get("state"));this.set("visible",this.k.get("visible"));this.set("popupDistance",this.k.get("popupDistance"));this.set("popupMaxWidth",this.k.get("popupMaxWidth"));this.set("popupMaxHeight",this.k.get("popupMaxHeight"));this.set("playbackPositions",this.k.get("playbackPositions"))};a.prototype.I=function(a){this.mr=
a.ha;this.lr=a.pitch;this.AV(a);this.Gra();this.oD(a);this.Xo(a);this.zra(a);this.mra(a);g.prototype.I.call(this,a)};a.prototype.Gra=function(){if(this.o("playbackPositions","currentTime")){this.va.Zr(this.get("playbackPositions"));this.va.Yr(this.get("currentTime"));this.set("sourceYaw",this.va.get("yaw"));this.set("sourcePitch",this.va.get("pitch"));this.set("sourceRotationX",this.va.get("rotationX"));this.set("sourceRotationY",this.va.get("rotationY"));this.set("sourceRotationZ",this.va.get("rotationZ"));
this.set("sourceHFOV",this.va.get("hfov"))}};a.prototype.AV=function(){if(this.o("video","image")){var a=[this.bd];if(this.o("image")){this.eA();this.ja&&a.push(this.ja)}if(this.o("video")){this.fA();this.Ea&&a.push(this.Ea)}this.zd.vd(a);this.jc.vd(a);this.uh(a)}};a.prototype.oD=function(){if(this.C){var a=this.C.kL();this.set("frameEmpty",!!a&&a.isEmpty());if(!this.tf||a&&!this.tf.isEqual(a)){this.tf=a;this.Ea.set("source",this.tf.it);this.Ea.set("sourceUpdated",p);this.Oa()}else this.C.Ge()==f.S&&
this.Oa()}else this.set("frameEmpty",z)};a.prototype.Xo=function(a){this.set("inVR",a.Lb);this.set("hotspotsEnabled",a.Wu);this.set("rendererYaw",a.ha);this.set("rendererPitch",a.pitch);this.set("rendererRoll",a.jd);this.set("rendererWidth",a.SK);this.set("rendererHeight",a.JD);this.set("rendererHFOV",a.Yc);if(this.o("visible")){var c=this.get("visiblePosition"),e=this.get("visible")?1:0,g=Math.max(1,this.k.get(this.get("visible")?"showDuration":"hideDuration")*Math.abs(e-c)),i=this.k.get(this.get("visible")?
"showEasing":"hideEasing");this.gi=new w(i,[new x("position",c,e)],g);this.get("visible")||this.C&&this.C.ec(f.K)}if(this.gi){if(this.gi.He()){this.gi=r;if(this.get("visible")){this.k.trigger(d.Kv);this.k.get("autoplay")&&this.C&&this.C.ec(f.S)}else this.k.trigger(d.xs)}else this.gi.$a(a.td);if(this.gi){this.set("visiblePosition",this.gi.tb("position"));this.Oa()}}c=z;if(c=a.Lb?this.o("visible"):this.o("rendererYaw","rendererPitch","rendererRoll","rendererWidth","rendererHeight","rendererHFOV","itemVisible",
"popupMaxWidth","popupMaxHeight","sourceHFOV")){this.set("targetImageScale",this.W3(this.ja,a));this.set("targetVideoScale",this.W3(this.Ea,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.o("visiblePosition","targetScale","targetYaw","targetPitch","targetRoll","popupDistance","hfov")){var e=this.get("visiblePosition"),j=this.get("targetYaw")*
e+this.get("sourceYaw")*(1-e),k=this.get("targetPitch")*e+this.get("sourcePitch")*(1-e),l=this.get("sourceRotationX")*(1-e),n=this.get("sourceRotationY")*(1-e),q=this.get("targetRotationZ")*e+this.get("sourceRotationZ")*(1-e),a=Math.min(1,2*e),o=this.get("popupDistance"),u=this.get("sourceHFOV"),c=this.get("targetImageScale")*e+(1-e),e=this.get("targetVideoScale")*e+(1-e);this.set("alpha",a);this.ja&&this.ja.set("scale",c);this.Ea&&this.Ea.set("scale",e);[].concat(this.Ea?[this.Ea]:[],this.ja?[this.ja]:
[]).forEach(function(a){a.set("yaw",j);a.set("pitch",k);a.set("rotationX",l);a.set("rotationY",n);a.set("rotationZ",q);a.set("distance",o);a.set("hfov",u)})}};a.prototype.zra=function(a){if(this.o("frameEmpty","state","image","video")){var b="none";this.Ea&&(!this.ja||!this.get("frameEmpty")&&this.get("state")!=f.K)?b="video":this.ja&&(b="image");this.set("itemVisible",b)}if(this.o("itemVisible")){this.get("itemVisible")!="video"&&this.C&&this.C.ec(f.K);var b=this.ja?this.ja.get("alpha"):0,c=this.Ea?
this.Ea.get("alpha"):0,d=this.get("itemVisible")=="image"?1:0,e=this.get("itemVisible")=="video"?1:0,g=this.get("itemVisible")=="video"?1:Math.max(Math.abs(d-b),Math.abs(e-c))*200;this.Jq=new w("linear",[new x("imageAlpha",b,d),new x("videoAlpha",c,e)],g)}if(this.Jq){this.Jq.He()?this.Jq=r:this.Jq.$a(a.td);if(this.Jq){this.ja&&this.ja.set("alpha",this.Jq.tb("imageAlpha"));this.Ea&&this.Ea.set("alpha",this.Jq.tb("videoAlpha"));this.Oa()}}};a.prototype.mra=function(a){if(this.o("gazeOver","inVR")){this.Q1();
this.get("inVR")&&this.k.get("lookAwayToHide")&&!this.get("gazeOver")&&this.dqa()}if(a.Lb&&this.k.get("darkenBackground")&&this.k.get("lookAwayToHide")){if(this.o("visible")&&this.get("visible")){this.bd.set("alpha",0.8);this.In=r}if(this.o("gazeOver"))this.In=new w(this.get("gazeOver")?"linear":"quad_in",[new x("alpha",this.bd.get("alpha"),this.get("gazeOver")?0.8:0)],this.get("gazeOver")?300:this.k.get("lookAwayToHideTime"))}else{this.In=r;this.bd.set("alpha",a.Lb&&this.k.get("darkenBackground")?
0.8:0)}if(this.In){this.In.He()?this.In=r:this.In.$a(a.td);if(this.In){this.bd.set("alpha",this.In.tb("alpha"));this.Oa()}}};a.prototype.dqa=function(){this.Q1();this.PH=setTimeout(function(){this.PH=r;this.k.set("visible",z)}.bind(this),this.k.get("lookAwayToHideTime"))};a.prototype.Q1=function(){if(this.PH){clearTimeout(this.PH);this.PH=r}};a.prototype.W3=function(a,b){if(!a)return 1;var c=this.get("popupMaxWidth","100%"),d=u.zk(c),f=a.get("contentWidth"),e=a.get("contentHeight"),g=this.get("popupMaxHeight",
"100%"),i=u.zk(g),j;if(this.get("inVR")){var k=j=this.get("rendererWidth")*0.5,l=Math.min(b.vf,80),n=s.Du(l,j,k),q=this.get("sourceHFOV");j=Math.min(Math.tan(n*(d!==m?d/100:c/j)*0.5*E)/Math.tan(q*0.5*E),Math.tan(l*(i!==m?i/100:g/k)*0.5*E)/Math.tan(s.Du(q,f,e)*0.5*E))}else{j=this.get("rendererWidth");k=this.get("rendererHeight");n=Math.min((d!==m?j*d/100:c)/f,(i!==m?k*i/100:g)/e);f=f*n;n=this.get("rendererHFOV");q=this.get("sourceHFOV");j=Math.tan(n*0.5*E)*f/j/Math.tan(q*0.5*E)}return j};a.prototype.eA=
function(){this.gt();if(this.get("image")){var a=o.bua(this.k,this.get("panoramaPixelsPerDegree"));this.ja=new n;this.ja.set("url",a.get("url"));this.ja.set("contentWidth",a.get("width"));this.ja.set("contentHeight",a.get("height"));this.ja.set("alpha",0)}};a.prototype.gt=function(){if(this.ja){this.ja.remove();this.ja=r}};a.prototype.fA=function(){this.pq();if(this.get("video")){this.Ea=new j;var a=y.Lg(this.get("video"));this.Ea.set("contentWidth",a.get("width"));this.Ea.set("contentHeight",a.get("height"));
this.Ea.set("alpha",0);this.C=new y(this.Za.ob,this.get("video"));this.ra=new i(this.Za.ob,this.k,this.C);this.Gn()}};a.prototype.pq=function(){if(this.Ea){this.Ho();this.ra.clear();this.ra=r;this.C.clear();this.tf=this.C=r;this.Ea.remove();this.Ea=r}};a.prototype.Cha=function(){this.G2();this.bd=new k("#000000")};a.prototype.G2=function(){if(this.bd){this.bd.remove();this.bd=r}};a.prototype.It=function(){this.trigger(d.Ab);this.trigger(d.R)};a.prototype.Lt=function(a,b){var c=0;b.Xm(function(a){var b=
0,d;this.zd.ni(a)?b=100:(d=this.jc.ni(a))&&(b=d.th);c=c+b}.bind(this));this.trigger(new v(d.oc,c/b.Rc.length))};a.prototype.dh=function(){this.Oa()};a.prototype.ed=function(){this.Oa()};a.prototype.ar=function(){this.k.trigger(d.Da)};a.prototype.Gn=function(){this.C.bind(y.Hd,this.ed,this,p);this.C.bind(d.vc,this.dh,this,p);this.C.bind(d.Da,this.ar,this,p)};a.prototype.Ho=function(){this.C.unbind(y.Hd,this.ed,this,p);this.C.unbind(d.vc,this.dh,this,p);this.C.unbind(d.Da,this.ar,this,p)};a.prototype.sj=
function(a){if(a.Xd==d.xi){if(!a.nh()&&this.get("visible")){a.wp(this.k);this.set("over",this.Dl(a));this.set("gazeOver",this.Eqa(a))}else this.set("over",z);if(this.get("over")){a.Cr(this.k);a.Rr()&&a.Dr(this.k);a.hi(this.get("popupDistance"))}if(this.o("over")){this.k.trigger(this.get("over")?d.pc:d.Mb);a.Rr()&&this.k.trigger(this.get("over")?d.yh:d.Le)}}else if(a.Xd==d.wi&&!a.nh()&&this.get("visible")){a.wp(this.k);a.hi(this.get("popupDistance"));this.Dl(a)?a.Rua()||this.k.trigger(d.T):this.k.set("visible",
z)}};a.prototype.Dl=function(a){return this.q9(a.tl)};a.prototype.Eqa=function(a){a=a.tA;return!!a&&this.q9([a])};a.prototype.q9=function(a){if(this.get("visible"))for(var a=(this.get("itemVisible")=="video"?this.Ea:this.ja).$n(a),b=0;b<a.length;b++){var c=a[b];if(t.Bp(c.source,c.x,c.y))return p}return z};return a});
define("cm",["require","fb","gN"],function(a){var b=a("fb"),c=a("gN"),a=b.extend(c,function(){c.call(this);this.jq&&this.jq();this.Hj&&this.Hj()});a.prototype.jb=function(){c.prototype.jb.call(this);this.Zj&&this.Zj();this.px&&this.px()};a.prototype.mb=function(){this.ak&&this.ak();this.qx&&this.qx();c.prototype.mb.call(this)};a.prototype.I=function(a){this.Tf&&this.Tf(a);c.prototype.I.call(this,a);this.Hl&&this.Hl(a)};return a});
define("fq",["require","kV"],function(a){var b=a("kV");return{jq:function(){this.set("beamEnabled",z);this.Nf=z;this.lr=this.mr=m},Hl:function(a){this.mr=a.ha;this.lr=a.pitch},sj:function(a){if(a.Xd==b.xi){var e=!a.nh()&&this.Dl(a);if(e){a.Cr(this.k);this.k.get("useHandCursor")&&a.Dr(this.k);a.hi(this.get("distance"));var d=this.wa(a.Xu());d&&a.OK(d,this.ur(a.Xu()))}this.Nf!=e&&(this.Nf=e,this.k.trigger(this.Nf?b.pc:b.Mb),a.Rr()&&this.k.trigger(this.Nf?b.yh:b.Le))}else a.Xd==b.wi&&!a.nh()&&this.Dl(a)&&
(1<this.k.VD(b.T,p).length&&a.wp(this.k),a.hi(this.get("distance")),this.k.trigger(b.T))},Dl:function(a){return this.get("beamEnabled")&&0<this.jR().$n(a.tl).length?p:z},wa:function(a){return!a||this.k.get("displayTooltipInTouchScreens")&&this.Za.D.get("displayTooltipInTouchScreens")!==z?this.k.get("toolTip",""):""},ur:function(a){if(a){var a=this.get("yaw")-this.mr,b=this.get("pitch")-this.lr;return Math.sqrt(a*a+b*b)}return 0}}});
define("bB","require,fb,hW,kV,cm,hH,jX,fq".split(","),function(a){var b=a("fb"),c=a("hW"),e=a("kV"),d=a("cm"),f=a("hH"),g=a("jX"),a=a("fq"),b=b.extend(d,a,function(a){d.call(this);this.k=a;this.ut=this.GQ=this.CR=r;this.$g.push(this.k);this.Qd=this.Qd.bind(this);this.Ok(["loadingActive","panoramaPixelsPerDegree"]);this.set("tag","FrameHotspot");this.set("enabled",p);this.set("inVR",z);this.set("overlaysEnabled",p);this.set("interactionEnabled",p);this.set("contentInteractive",z);this.set("transparent",
z);this.set("centerOverDisplay",z);this.set("loadingActive",z);this.set("visible",z);this.set("loaded",z);this.set("inView",z);this.set("frameHidden",p);this.sc=this.pm=this.jc=this.zd=r});b.prototype.jb=function(){this.zd=(new f(e.R)).ui(this.It.bind(this));this.jc=(new f(e.oc)).yk(this.Lt.bind(this));this.Eha();d.prototype.jb.call(this);c.xc(this.k,["url","enabled","image","fadeInDuration","fadeOutDuration","contentInteractive","interactionEnabled","transparent"],this.Qd,p)};b.prototype.mb=function(){this.zd.dispose();
this.jc.dispose();c.Pc(this.k,["url","enabled","image","fadeInDuration","fadeOutDuration","contentInteractive","interactionEnabled","transparent"],this.Qd);this.H2();this.I2();d.prototype.mb.call(this)};b.prototype.Qd=function(){this.set("url",this.k.get("url"));this.sc.set("url",this.get("url"));this.set("image",this.k.get("image"));this.ja.set("image",this.get("image"));this.ja.set("level",this.get("image")&&g.waa(this.k,this.get("panoramaPixelsPerDegree")));this.set("enabled",this.k.get("enabled"));
this.set("fadeInDuration",this.k.get("fadeInDuration"));this.set("fadeOutDuration",this.k.get("fadeOutDuration"));this.set("interactionEnabled",this.k.get("interactionEnabled"));this.set("contentInteractive",this.k.get("contentInteractive"));this.set("transparent",this.k.get("transparent"));this.Oa()};b.prototype.I=function(a){this.set("inVR",a.Lb);this.set("hotspotsEnabled",a.Wu);d.prototype.I.call(this,a);this.Xo(a)};b.prototype.Eha=function(){this.eA();this.Nha();this.Mha();var a=[this.ja,this.pm,
this.sc];this.zd.vd(a);this.jc.vd(a);this.uh(a)};b.prototype.Xo=function(){if(this.o("blendingActive","url","inVR","hotspotsEnabled","enabled","interactionEnabled","contentInteractive","composedTranslationX","composedTranslationY","composedTranslationZ")){var a=!(this.get("composedTranslationX")!=0||this.get("composedTranslationY")!=0||this.get("composedTranslationZ")!=0)&&!this.get("blendingActive")&&this.get("hotspotsEnabled")&&this.get("enabled")&&!this.get("inVR")&&!!this.get("url");this.set("visible",
a);this.set("beamEnabled",a&&this.get("interactionEnabled"));this.sc.set("contentInteractive",a&&this.get("interactionEnabled")&&this.get("contentInteractive"))}this.set("frameHidden",!this.sc.get("geometryVisible"));if(this.o("visible","loaded","frameHidden","transparent")){this.get("visible")||this.set("loaded",z);this.ja.set("alpha",this.get("visible")&&(this.get("frameHidden")||!this.get("loaded"))?1:0);this.ja.set("alpha",1);this.pm.set("alpha",this.get("visible")&&!this.get("frameHidden")&&
this.get("loaded")&&!this.get("transparent")?1:0);this.sc.set("alpha",this.get("visible")?1:0);this.sc.set("transparent",this.get("transparent"));this.set("inView",this.get("visible")&&(this.get("loaded")||this.get("image")));this.Oa()}this.o("inView")&&this.k.trigger(this.get("inView")?e.ld:e.wd)};b.prototype.eA=function(){this.gt();this.ja=new this.ut;this.ja.set("image",this.get("image"));this.ja.set("level",this.get("image")&&g.waa(this.k,this.get("panoramaPixelsPerDegree")));this.ja.set("visible",
p);this.ja.set("alpha",0);this.set("imagePlane",this.ja)};b.prototype.gt=function(){if(this.ja){this.ja.remove();this.ja=r;this.set("imagePlane",r)}};b.prototype.Mha=function(){this.H2();this.sc=new this.GQ;this.sc.bind(e.R,this.f3,this,p);this.sc.set("url",this.get("url"));this.sc.set("visible",p);this.sc.set("alpha",1);this.set("framePlane",this.sc)};b.prototype.H2=function(){if(this.sc){this.sc.unbind(e.R,this.f3,this,p);this.sc.remove();this.sc=r;this.set("framePlane",r)}};b.prototype.Nha=function(){this.I2();
this.pm=new this.CR;this.pm.set("visible",p);this.pm.set("alpha",1);this.set("holePlane",this.pm)};b.prototype.I2=function(){if(this.pm){this.pm.remove();this.pm=r;this.set("holePlane",r)}};b.prototype.jR=R("pm");b.prototype.f3=function(){this.set("loaded",p);this.Oa()};b.prototype.It=function(){this.trigger(e.Ab);this.trigger(e.R)};b.prototype.Lt=function(a,b){var c=0;b.Xm(function(a){(a=b.ni(a))&&(c=c+a.th)});this.trigger(new ProgressEvent(e.oc,c/b.Rc.length))};return b});
define("eq",["require","fb","gN"],function(a){var b=a("fb"),c=a("gN"),a=b.extend(c,function(){c.call(this);this.set("tag","ComposedCSSObject");this.set("transparent",z);this.set("cssScene",r);this.set("cssSceneOver",r);this.set("cssObject",this.zP());this.Rn&&this.Rn();this.bt&&this.bt();this.jq&&this.jq();this.Hj&&this.Hj()});a.prototype.zP=function(){var a=new THREE.nZ;a.matrixAutoUpdate=z;return a};a.prototype.jb=function(){c.prototype.jb.call(this);this.Zj&&this.Zj();this.fB&&this.fB();this.px&&
this.px()};a.prototype.mb=function(){this.Xw&&this.Xw();this.qx&&this.qx();this.ak&&this.ak();var a=this.get("cssObject");a&&a.parent&&a.parent.remove(a);this.set("cssScene",r);c.prototype.mb.call(this)};a.prototype.I=function(a){this.Tf&&this.Tf(a);c.prototype.I.call(this,a);this.set("cssScene",a.PD);this.set("cssSceneOver",a.QD);if(this.o("transparent")){var b=this.get("cssObject");b&&b.parent&&b.parent.remove(b)}this.o("cssScene","cssSceneOver","transparent")&&(b=this.get("transparent")?a.QD:a.PD)&&
b.add(this.get("cssObject"));this.ei();this.Wx&&this.Wx(a);this.Uo&&this.Uo(a);this.tu()};a.prototype.ei=function(){this.o("composedAlpha","meshGroup")&&this.Tp()};a.prototype.Tp=function(){this.get("cssObject").element.style.display=0<this.get("composedAlpha")?"block":"none"};a.prototype.tu=function(){this.o("index")&&(this.get("cssObject").Ud.style.zIndex=this.get("index"))};return a});
define("dn",["require","gP","a"],function(a){var b=a("gP"),c=a("a"),e=new THREE.Matrix4,d=Math.PI/180;return{Rn:function(){this.set("vertices",m);this.Ve=new THREE.Matrix4;this.Zb=new THREE.Matrix4;this.$j=new THREE.Matrix4;this.Ii=new THREE.Matrix4;this.gl=new THREE.Matrix4},zP:function(){var a=new THREE.LM;a.matrixAutoUpdate=z;return a},Uo:function(a){var g=z;if(this.o("vertices","contentWidth","contentHeight")){var k=this.get("vertices"),g=c.dp(k[0].get("yaw")*d,k[0].get("pitch")*d).normalize(),
j=c.dp(k[1].get("yaw")*d,k[1].get("pitch")*d).normalize(),n=c.dp(k[2].get("yaw")*d,k[2].get("pitch")*d).normalize(),k=c.dp(k[3].get("yaw")*d,k[3].get("pitch")*d).normalize(),i=this.get("cssObject");i.vertices[0].set(g.x,g.y,-g.z);i.vertices[1].set(j.x,j.y,-j.z);i.vertices[2].set(n.x,n.y,-n.z);i.vertices[3].set(k.x,k.y,-k.z);i.rk=this.get("contentWidth");i.qk=this.get("contentHeight");g=p}j=z;this.o("composedTranslationX","composedTranslationY","composedTranslationZ")&&(this.Ve.makeTranslation(0.5*
-this.get("composedTranslationX")*b.Gd,0.5*this.get("composedTranslationY")*b.Gd,0.5*this.get("composedTranslationZ")*b.Gd),j=p);this.o("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&&(this.Zb.makeRotationY(-a.ha*d),this.Zb.multiply(e.makeRotationX(-this.get("composedDeltaPitch")*d)),this.Zb.multiply(e.makeRotationY(this.get("composedDeltaYaw")*d)),this.Zb.multiply(e.makeRotationY(a.ha*d)),j=p);if(j||this.o("meshGroup"))this.gl.copy(this.Ve),this.gl.multiply(this.Zb),this.get("cssObject").matrix.copy(this.gl),
this.get("cssObject").matrixWorldNeedsUpdate=p;this.set("cameraYaw",a.ha);this.set("cameraPitch",a.pitch);this.set("cameraRoll",a.jd);this.set("cameraHfov",a.Yc);this.set("cameraWidth",a.width);this.set("cameraHeight",a.height);if(a.Ec&&(j||g||this.o("cameraYaw","cameraPitch","cameraRoll","cameraHfov","cameraWidth","cameraHeight")))this.get("cssObject").iY(a.Ec),this.set("geometryVisible",this.get("cssObject").LL),this.o("geometryVisible")&&this.eU()}}});
define("cJ","require,fZ,gP,ds,hO,a".split(","),function(a){var b=a("fZ"),c=a("gP"),e=a("ds"),d=a("hO"),f=a("a"),g=new THREE.Matrix4,k=Math.PI/180;return{Rn:function(){this.set("distance",m);this.set("vertices",m);this.Li=r;this.Ve=new THREE.Matrix4;this.Zb=new THREE.Matrix4;this.ai=new THREE.Matrix4;this.Jf=new THREE.Matrix4},Uo:function(a){this.Vra(a);this.Fl(a)},cH:function(){var a=this.get("meshGroup");return a?e.li(a)[0]:r},Gi:function(){this.Li||(this.Li=this.iq());return[0].map(function(a){var c=
this.lw(),a=e.create(this.Li[a],c);d.pn(a,d.Aj);d.qn(a,d.Lk);d.nv(a,b.qz);d.Wy(a,1);return a}.bind(this))},Vra:function(){if(this.o("vertices")){var a=this.get("meshGroup");if(a){this.Li=this.iq();return e.li(a).map(function(a,b){e.Gwa(a,this.Li[b])}.bind(this))}}},iq:function(){function a(b){return b==0||isNaN(b)||!isFinite(b)}var b=this.get("vertices")||[];if(b.length!=4)return[c.$$(-1,1,1,1,1,1,1,-1,1,-1,-1,1)];var d=f.dp(b[0].get("yaw")*k,b[0].get("pitch")*k).normalize(),e=f.dp(b[1].get("yaw")*
k,b[1].get("pitch")*k).normalize(),g=f.dp(b[2].get("yaw")*k,b[2].get("pitch")*k).normalize(),b=f.dp(b[3].get("yaw")*k,b[3].get("pitch")*k).normalize(),o=d.clone().XK(g),t=b.clone().XK(e),s=o.clone().XK(t).normalize(),t=(d.y*2*s.x/d.x-2*s.y)/(-g.y+d.y*g.x/d.x);a(t)&&(t=(d.z*2*s.x/d.x-2*s.z)/(-g.z+d.z*g.x/d.x));a(t)&&(t=(d.z*2*s.y/d.y-2*s.z)/(-g.z+d.z*g.y/d.y));var u=(2*s.x-g.x*t)/d.x;a(u)&&(u=(2*s.y-g.y*t)/d.y);a(u)&&(u=(2*s.z-g.z*t)/d.z);o=(e.y*2*s.x/e.x-2*s.y)/(-b.y+e.y*b.x/e.x);a(o)&&(o=(e.z*2*
s.x/e.x-2*s.z)/(-b.z+e.z*b.x/e.x));a(o)&&(o=(e.z*2*s.y/e.y-2*s.z)/(-b.z+e.z*b.y/e.y));var v=(2*s.x-b.x*o)/e.x;a(v)&&(v=(2*s.y-b.y*o)/e.y);a(v)&&(v=(2*s.z-b.z*o)/e.z);d=d.KE(u);e=e.KE(v);g=g.KE(t);b=b.KE(o);return[c.$$(d.x,d.y,-d.z,e.x,e.y,-e.z,g.x,g.y,-g.z,b.x,b.y,-b.z)]},Fl:function(a){var b=z;if(this.o("composedTranslationX","composedTranslationY","composedTranslationZ")){this.Ve.makeTranslation(-this.get("composedTranslationX")*0.5*c.Gd,this.get("composedTranslationY")*0.5*c.Gd,this.get("composedTranslationZ")*
0.5*c.Gd);b=p}if(this.o("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")){this.Zb.makeRotationY(-a.ha*k);this.Zb.multiply(g.makeRotationX(-this.get("composedDeltaPitch")*k));this.Zb.multiply(g.makeRotationY(this.get("composedDeltaYaw")*k));this.Zb.multiply(g.makeRotationY(a.ha*k));b=p}if(this.o("distance","composedTranslationX","composedTranslationY","composedTranslationZ")){a=this.P.get("composedTranslationX")==0&&this.P.get("composedTranslationY")==0&&this.P.get("composedTranslationZ")==
0&&this.get("distance")!==m?c.Ou(this.get("distance")):c.ep();this.ai.makeScale(a,a,a);b=p}if(b||this.o("meshGroup")){this.Jf.copy(this.Ve);this.Jf.multiply(this.Zb);this.Jf.multiply(this.ai);a=e.li(this.get("meshGroup"));e.Kl(a[0],this.Jf)}}}});
define("bQ",["require"],function(){return{bt:function(){this.set("visible",z);this.set("inView",z);this.set("url",z);this.set("contentWidth",100);this.set("contentHeight",100);this.set("contentInteractive",z);this.kb=this.mc=r;this.IA=m;this.IK=this.IK.bind(this);this.JK=this.JK.bind(this);this.KK=this.KK.bind(this);this.tt=this.tt.bind(this);this.KR=this.KR.bind(this)},Wx:function(){this.o("cssObject")&&(this.Oha(),this.get("cssObject").element.appendChild(this.mc));this.o("url")&&this.lpa(this.get("url"));
this.o("contentWidth","contentHeight")&&(this.mc.style.width=this.get("contentWidth")+2+"px",this.mc.style.height=this.get("contentHeight")+2+"px");this.o("contentInteractive")&&(this.mc.style.pointerEvents=this.get("contentInteractive")?"auto":"none")},ei:function(){this.o("composedAlpha")&&(0<this.get("composedAlpha")?this.kb&&!this.kb.parentNode&&(this.Y9(),this.mc.appendChild(this.kb)):this.kb&&this.kb.parentNode&&this.mc.removeChild(this.kb))},fB:function(){this.trigger(EventName.Ab)},Xw:function(){this.gha()},
JK:function(a){a.preventDefault();a.stopImmediatePropagation()},IK:function(){this.Za.ob.jv(r)},KK:function(a){a.preventDefault();a.stopImmediatePropagation()},tt:function(){this.trigger(EventName.R)},KR:function(){this.nH=r;this.tt()},Oha:function(){this.kb||(this.mc=document.createElement("div"),this.mc.style.position="absolute",this.mc.style.left=this.mc.style.top="-1px",this.get("cssObject").Aba&&(this.mc.style.transform="translate(-50%, -50%)"),this.mc.style.overflow="hidden",this.mc.style["-webkit-overflow-scrolling"]=
"touch",this.mc.addEventListener("mouseenter",this.IK,p),this.mc.addEventListener("mousemove",this.JK,p),this.mc.addEventListener("mousewheel",this.KK,p),this.kb=document.createElement("iframe"),this.kb.setAttribute("allow","fullscreen; accelerometer; gyroscope; magnetometer; vr; autoplay; camera; microphone"),this.kb.setAttribute("frameborder","0"),this.kb.setAttribute("scrolling","auto"),this.kb.style.width="100%",this.kb.style.height="100%",this.kb.addEventListener("load",this.tt,p),0<this.get("composedAlpha")&&
this.mc.appendChild(this.kb))},gha:function(){this.kb&&(this.kb.src="",this.ZT(),this.cq(),this.kb.parentNode&&this.kb.parentNode.removeChild(this.kb),this.kb=r);this.mc&&(this.mc.parentNode&&this.mc.parentNode.removeChild(this.mc),this.mc.removeEventListener("mouseenter",this.IK,p),this.mc.removeEventListener("mousemove",this.JK,p),this.mc.removeEventListener("mousewheel",this.KK,p),this.mc=r)},lpa:function(a){this.IA!=a&&(this.IA=a,this.Y9())},Y9:function(){this.IA?(this.ppa(),this.yfa(),this.kb.src=
this.IA):(this.cq(),this.ZT(),this.IA.src="",this.tt())},ppa:function(){this.cq();this.nH=setTimeout(this.KR,3E3)},cq:function(){this.nH&&(clearTimeout(this.nH),this.nH=r)},yfa:function(){this.ZT();this.kb.addEventListener("load",this.tt,p)},ZT:function(){this.kb.removeEventListener("load",this.tt,p)}}});
define("hR",["require","ds"],function(a){var b=a("ds");return{bt:function(){this.get("materialConfig").YX.blending=THREE.NoBlending},fB:function(){this.trigger(EventName.Ab);this.trigger(EventName.R)},ei:function(){this.o("meshGroup","composedAlpha")&&b.ud(this.get("meshGroup"),0<this.get("composedAlpha")?0.001:0)}}});
define("hq",["require","hW","ki"],function(a){var b=a("hW"),c=a("ki");return{Hj:function(){this.set("playbackPositions",r);this.ic=this.ic.bind(this);this.va=new c},Zj:function(){b.xc(this.k,["playbackPositions","width","height"],this.ic,p)},ak:function(){b.Pc(this.k,["playbackPositions","width","height"],this.ic)},ic:function(){this.set("playbackPositions",this.k.get("playbackPositions"));this.set("contentWidth",this.k.get("width"));this.set("contentHeight",this.k.get("height"))},Tf:function(){this.o("playbackPositions",
"currentTime")&&(this.va.Zr(this.get("playbackPositions")),this.va.Yr(this.get("currentTime")),this.set("vertices",this.va.nX()));this.o("framePlane","holePlane","imagePlane","vertices")&&this.Na().forEach(function(a){a.set("vertices",this.get("vertices"));a.set("contentWidth",this.get("contentWidth"));a.set("contentHeight",this.get("contentHeight"))}.bind(this))}}});
define("hg","require,fb,bB,eq,eb,dn,cJ,bQ,fn,hR,hq".split(","),function(a){var b=a("fb"),c=a("bB"),e=a("eq"),d=a("eb"),f=a("dn"),g=a("cJ"),k=a("bQ"),j=a("fn"),n=a("hR"),a=a("hq"),i=b.extend(d,g,j,function(){d.call(this);this.set("tag","QuadFrameHotspotImage")}),l=b.extend(e,f,k,function(){e.call(this);this.set("tag","QuadFrameHotspotFrame")}),q=b.extend(d,g,n,function(){d.call(this);this.set("tag","QuadFrameHotspotHole")});return b.extend(c,a,function(a){c.call(this,a);this.ut=i;this.GQ=l;this.CR=
q})});
define("io",["require","hW","ki"],function(a){var b=a("hW"),c=a("ki");return{Hj:function(){this.set("playbackPositions",r);this.set("distance",m);this.ic=this.ic.bind(this);this.va=new c},Zj:function(){b.xc(this.k,["vertices","distance","playbackPositions"],this.ic,p)},ak:function(){b.Pc(this.k,["vertices","distance","playbackPositions"],this.ic)},ic:function(){this.set("distance",this.k.get("distance"));this.set("vertices",this.k.get("vertices"));this.set("playbackPositions",this.k.get("playbackPositions"))},Tf:function(){this.o("playbackPositions",
"currentTime")&&(this.va.Zr(this.get("playbackPositions")),this.va.Yr(this.get("currentTime")),this.set("vertices",this.va.nX()),this.set("alpha",this.va.qh()))}}});
define("gR","require,fb,hW,kV,ds,eb,cJ,fn,kT,io,jX".split(","),function(a){var b=a("fb"),c=a("hW"),e=a("kV"),d=a("ds"),f=a("eb"),g=a("cJ"),k=a("fn"),j=a("kT"),n=a("io"),i=a("jX"),l=0,a=b.extend(f,g,n,k,j,function(a){f.call(this);this.set("tag","QuadHotspotImage");this.set("id","quad_hs_image_"+l++);this.k=a;this.$g.push(this.k);this.Rd=this.Rd.bind(this)});a.prototype.jb=function(){f.prototype.jb.call(this);c.xc(this.k,["image"],this.Rd,p)};a.prototype.mb=function(){c.Pc(this.k,["image"],this.Rd);
f.prototype.mb.call(this)};a.prototype.Rd=function(){this.set("image",this.k.get("image"));this.set("level",i.eua(this.k))};a.prototype.I=function(a){this.pu();f.prototype.I.call(this,a);this.o("inView")&&this.k.trigger(this.get("inView")?e.ld:e.wd)};a.prototype.pu=function(){if(this.o("meshGroup","panoramaId","id")){var a=this.get("meshGroup");a&&a.children.forEach(function(a){d.setAttribute(a,d.cs,this.get("panoramaId"));d.setAttribute(a,d.CM,this.get("id"))}.bind(this))}};return a});
define("gM",["require","kV","fp"],function(a){function b(a,b){this.ob=a;this.Pb=b;this.Dc=z;this.II=p;this.NO=this.lT=z;this.uO();this.MS()}var c=a("kV"),e=a("fp");b.prototype.clear=function(){this.k6();this.XT()};b.prototype.Ze=function(a){this.Dc!=a&&(this.Dc=a,this.ou())};b.prototype.nxa=function(a){this.II!=a&&((this.II=a)&&this.k6(),this.ou())};b.prototype.ou=function(){if(!this.Dc||this.II)this.Pb.set("state",e.K);else if(this.Pb.get("autoplay")||this.NO)this.NO=z,this.Pb.set("state",e.S)};
b.prototype.MS=function(){if(!this.lT){var a=this.Pb.get("video").get("autoplayTime");this.Pb.set("currentTime",a);this.NO=a!==m}};b.prototype.k6=function(){this.lT||(this.lT=p,this.Pb.get("state")==e.S?this.Pb.get("video").set("autoplayTime",this.Pb.get("currentTime",0)):this.Pb.get("video").set("autoplayTime",m))};b.prototype.uO=function(){this.Pb.get("video").bind(c.G("autoplayTime"),this.MS,this,p)};b.prototype.XT=function(){this.Pb.get("video").unbind(c.G("autoplayTime"),this.MS,this,p)};return b});
define("dC",["require","kV","dA"],function(a){var b=a("kV"),c=a("dA");return{jq:function(){this.set("beamEnabled",z);this.Nf=z;this.lr=this.mr=m},Hl:function(a){this.mr=a.ha;this.lr=a.pitch},sj:function(a){if(a.Xd==b.xi){var c=!a.nh()&&this.Dl(a);if(c){a.Cr(this.k);this.k.get("useHandCursor")&&a.Dr(this.k);a.hi(this.get("distance"));var f=this.wa(a.Xu());f&&a.OK(f,this.ur(a.Xu()))}this.Nf!=c&&(this.Nf=c,this.k.trigger(this.Nf?b.pc:b.Mb),a.Rr()&&this.k.trigger(this.Nf?b.yh:b.Le))}else a.Xd==b.wi&&
!a.nh()&&this.Dl(a)&&(1<this.k.VD(b.T,p).length&&a.wp(this.k),a.hi(this.get("distance")),this.k.trigger(b.T))},Dl:function(a){if(this.get("beamEnabled"))for(var a=this.jR().$n(a.tl),b=0;b<a.length;b++){var f=a[b];if(c.Bp(f.source,f.x,f.y))return p}return z},wa:function(a){return!a||this.k.get("displayTooltipInTouchScreens")&&this.Za.D.get("displayTooltipInTouchScreens")!==z?this.k.get("toolTip",""):""},ur:function(a){if(a){var a=this.get("yaw")-this.mr,b=this.get("pitch")-this.lr;return Math.sqrt(a*
a+b*b)}return 0}}});
define("dO","require,fb,hW,kV,fp,kD,cm,gM,hH,jX,dC,ix,kH,bq".split(","),function(a){var b=a("fb"),c=a("hW"),e=a("kV"),d=a("fp"),f=a("kD"),g=a("cm"),k=a("gM"),j=a("hH"),n=a("jX"),i=a("dC"),l=a("ix"),q=a("kH"),o=a("bq"),a=b.extend(g,i,function(a){g.call(this);this.k=a;this.kW=this.ut=r;this.$g.push(this.k);this.Qd=this.Qd.bind(this);this.Ok(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","VideoHotspot");this.set("enabled",p);this.set("inVR",z);this.set("overlaysEnabled",p);
this.set("enabledInVR",p);this.set("enabledInStandard",p);this.set("interactionEnabled",p);this.set("centerOverDisplay",z);this.set("loadingActive",z);this.set("frameEmpty",p);this.set("state",d.K);this.set("itemVisible","none");this.set("blending",0);this.set("chromaColor",m);this.set("chromaThreshold",0);this.set("chromaSmoothing",0);this.Ea=this.ja=this.jc=this.zd=r;this.lW=z;this.Yn=[]});a.prototype.jb=function(){this.zd=(new j(e.R)).ui(this.It.bind(this));this.jc=(new j(e.oc)).yk(this.Lt.bind(this));
this.MO=new k(this.Za.ob,this.k);g.prototype.jb.call(this);c.xc(this.k,["blending","chromaColor","chromaThreshold","chromaSmoothing","distance","scaleMode","image","video","enabled","enabledInStandard","enabledInVR","fadeInDuration","fadeOutDuration","interactionEnabled","state","videoVisibleOnStop"],this.Qd,p)};a.prototype.mb=function(){this.MO.clear();this.zd.dispose();this.jc.dispose();c.Pc(this.k,["blending","chromaColor","chromaThreshold","chromaSmoothing","distance","scaleMode","image","video",
"enabled","enabledInStandard","enabledInVR","fadeInDuration","fadeOutDuration","interactionEnabled","state","videoVisibleOnStop"],this.Qd);this.gt();this.pq();g.prototype.mb.call(this)};a.prototype.Qd=function(){this.set("image",this.k.get("image"));this.set("video",this.k.get("video"));this.set("enabled",this.k.get("enabled"));this.set("enabledInStandard",this.k.get("enabledInStandard"));this.set("enabledInVR",this.k.get("enabledInVR"));this.set("fadeInDuration",this.k.get("fadeInDuration"));this.set("fadeOutDuration",
this.k.get("fadeOutDuration"));this.set("interactionEnabled",this.k.get("interactionEnabled"));this.set("state",this.k.get("state"));this.set("videoVisibleOnStop",this.k.get("videoVisibleOnStop"));this.set("blending",this.k.get("blending"));this.set("chromaColor",this.k.get("chromaColor"));this.set("chromaThreshold",this.k.get("chromaThreshold"));this.set("chromaSmoothing",this.k.get("chromaSmoothing"))};a.prototype.I=function(a){this.set("inVR",a.Lb);this.set("hotspotsEnabled",a.Wu);this.AV();this.cD();
g.prototype.I.call(this,a);this.ou(a);this.oD();this.Xo(a)};a.prototype.AV=function(){if(this.o("video","image")){var a=[];if(this.o("image")){this.eA();this.ja&&a.push(this.ja)}if(this.o("video")){this.fA();this.Ea&&a.push(this.Ea)}this.uh(a);this.zd.vd(a);this.jc.vd(a)}};a.prototype.cD=function(){this.o("video","image","blending","chromaColor","chromaThreshold","chromaSmoothing")&&this.Na().forEach(function(a){a.set("blending",this.get("blending"));a.set("chromaColor",this.get("chromaColor"));a.set("chromaThreshold",
this.get("chromaThreshold"));a.set("chromaSmoothing",this.get("chromaSmoothing"))}.bind(this))};a.prototype.ou=function(){this.o("video","composedAlpha","enabledInVR","enabledInStandard","enabled","inVR")&&this.MO.Ze(this.get("composedAlpha")>0&&this.get("hotspotsEnabled")&&this.get("enabled")&&(!this.get("inVR")||this.get("enabledInVR"))&&(this.get("inVR")||this.get("enabledInStandard")));this.o("blendingActive")&&this.MO.nxa(this.get("blendingActive"))};a.prototype.oD=function(){this.set("frameEmpty",
!this.Ea||this.Ea.get("frameEmpty"))};a.prototype.Xo=function(a){var b=this.get("itemVisible");if(this.o("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.Ea&&(!this.ja||!this.get("frameEmpty")&&(this.get("state")!=d.K||this.lW&&this.get("videoVisibleOnStop")))?
c="video":this.ja&&(c="image");if(this.get("state")!=d.K)this.lW=p}this.set("itemVisible",c);this.set("beamEnabled",c!="none"&&this.get("interactionEnabled"))}if(this.o("itemVisible")){var c=this.get("itemVisible")!="none",f=b!="none",b=c==f?100:c?this.get("fadeInDuration"):this.get("fadeOutDuration");c!=f&&this.k.trigger(c?e.ld:e.wd);var f=this.ja?this.ja.get("alpha"):0,g=this.Ea?this.Ea.get("alpha"):0,c=[{vv:g,image:f}];if(this.get("itemVisible")=="video"){c.push({vv:1,image:f,time:b*(1-g)});c.push({vv:1,
image:0,time:50*(f-0)})}else if(this.get("itemVisible")=="image"){c.push({vv:g,image:1,time:b*(1-f)});c.push({vv:0,image:1,time:50*(g-0)})}else c.push({vv:0,image:0,time:Math.max(g,f,1/b)*b});this.Yn=[];for(b=1;b<c.length;b++)c[b].time>0&&this.Yn.push(new q("linear",[new o("imageAlpha",c[b-1].image,c[b].image),new o("videoAlpha",c[b-1].vv,c[b].vv)],c[b].time))}if(this.Yn.length>0){this.Yn[0].He()?this.Yn.shift():this.Yn[0].$a(a.td);if(this.Yn.length>0){this.ja&&this.ja.set("alpha",this.Yn[0].tb("imageAlpha"));
this.Ea&&this.Ea.set("alpha",this.Yn[0].tb("videoAlpha"));this.Oa()}}};a.prototype.eA=function(){this.gt();if(this.get("image")){this.ja=new this.ut;this.ja.set("image",this.get("image"));this.ja.set("level",n.mua(this.k,this.get("panoramaPixelsPerDegree")));this.ja.set("visible",p);this.ja.set("alpha",0)}};a.prototype.gt=function(){if(this.ja){this.ja.remove();this.ja=r}};a.prototype.fA=function(){this.pq();if(this.get("video")){this.Ea=new this.kW;this.Ea.set("scriptObject",this.k);this.Ea.set("video",
this.get("video"));this.Ea.set("level",f.Lg(this.get("video")));this.Ea.set("visible",p);this.Ea.set("alpha",0)}};a.prototype.pq=function(){if(this.Ea){this.Ea.remove();this.Ea=r}};a.prototype.It=function(){this.trigger(e.Ab);this.trigger(e.R)};a.prototype.Lt=function(a,b){var c=0;b.Xm(function(a){(a=b.ni(a))&&(c=c+a.th)});this.trigger(new l(e.oc,c/b.Rc.length))};a.prototype.jR=function(){return this.get("itemVisible")=="video"?this.Ea:this.ja};return a});
define("fd","require,kV,fp,bT,ds,fF,jk,dP,dS,kD".split(","),function(a){var b=a("kV"),c=a("fp"),e=a("bT"),d=a("ds");a("fF");var f=a("jk"),g=a("dP"),k=a("dS"),j=a("kD");return{bt:function(){this.set("visible",z);this.set("inView",z);this.set("frameEmpty",p);this.set("blending",0);this.set("chromaColor",m);this.set("chromaThreshold",0);this.set("chromaSmoothing",0);this.set("scriptObject",r);this.set("video",r);this.set("level",r);this.set("loop",z);this.Pd=this.Ea=r;this.lW=z;this.fK=this.tf=this.ra=
this.Yk=this.C=r},Xw:function(){this.pq()},Wx:function(){this.Wra();this.cD();this.oD()},Wra:function(){if(this.o("scriptObject","video","level")){this.pq();this.Ea=this.get("video");this.Pd=this.get("level");this.k=this.get("scriptObject");this.fA()}},cD:function(){if(this.o("video","blending","chromaColor","chromaThreshold","chromaSmoothing")&&this.Ea){var a=new e.vn(this.Ea.uk());a.Fr=this.get("blending");a.Um=this.get("chromaColor");a.MD=this.get("chromaThreshold");a.LD=this.get("chromaSmoothing");
this.set("materialConfig",a)}},ei:function(){this.o("visible","composedAlpha","image","state")&&this.set("inView",this.get("visible")&&this.get("composedAlpha")>0);this.o("composedAlpha","meshGroup","inView")&&d.ud(this.get("meshGroup"),this.get("inView")?this.get("composedAlpha"):0)},oD:function(){var a=this.C&&this.C.kL(),b=!!a&&a.isEmpty();if(b&&!this.get("frameEmpty")&&this.C.Ge()==c.S&&this.k.get("loop")){a=this.tf;b=z}this.set("frameEmpty",b);if(!this.tf||a&&!this.tf.isEqual(a)){this.tf=a;this.fK.pi(this.tf.it);
this.fK.update();this.Oa()}else this.C.Ge()==c.S&&this.Oa()},fA:function(){if(this.Ea&&this.Pd&&this.k){this.set("textureSource",this.fK=new k);this.set("contentWidth",this.Pd.get("width"));this.set("contentHeight",this.Pd.get("height"));this.set("alpha",0);this.C=new j(this.Za.ob,this.Ea);this.C.uwa();this.Yk=new f(this.k,this.C);this.ra=new g(this.Za.ob,this.k,this.C);this.Gn();this.trigger(b.Ab);this.trigger(b.R)}},pq:function(){if(this.C){this.set("textureSource",this.fK=r);this.Ho();this.ra.clear();
this.ra=r;this.Yk.clear();this.Yk=r;this.C.clear();this.tf=this.C=r;this.set("frameEmpty",p);this.Pd=this.Ea=r}},Gn:function(){this.C.bind(j.Hd,this.ed,this,p);this.C.bind(b.vc,this.dh,this,p)},Ho:function(){this.C.unbind(j.Hd,this.ed,this,p);this.C.unbind(b.vc,this.dh,this,p)},dh:function(){this.Oa()},ed:function(){this.Oa()}}});
define("kG",["require","hW","ki"],function(a){var b=a("hW"),c=a("ki");return{Hj:function(){this.set("playbackPositions",r);this.set("distance",m);this.ic=this.ic.bind(this);this.va=new c},Zj:function(){b.xc(this.k,["playbackPositions","distance"],this.ic,p)},ak:function(){b.Pc(this.k,["playbackPositions","distance"],this.ic)},ic:function(){this.set("distance",this.k.get("distance"));this.set("playbackPositions",this.k.get("playbackPositions"))},Tf:function(){this.o("playbackPositions","currentTime")&&
(this.va.Zr(this.get("playbackPositions")),this.va.Yr(this.get("currentTime")),this.set("vertices",this.va.nX()),this.set("alpha",this.va.qh()));this.o("video","image","vertices","distance")&&this.Na().forEach(function(a){a.set("vertices",this.get("vertices"));a.set("distance",this.get("distance"))}.bind(this))}}});
define("hF","require,fb,dO,eb,cJ,fn,fd,kG".split(","),function(a){var b=a("fb"),c=a("dO"),e=a("eb"),d=a("cJ"),f=a("fn"),g=a("fd"),a=a("kG"),k=b.extend(e,d,f,function(){e.call(this);this.set("tag","QuadVideoHotspotImage")}),j=b.extend(e,d,g,function(){e.call(this);this.set("tag","QuadVideoHotspotVideo")});return b.extend(c,a,function(a){c.call(this,a);this.ut=k;this.kW=j})});
define("eR","require,fb,ga,kV,bY,gN".split(","),function(a){var b=a("fb"),c=a("ga"),e=a("kV"),d=a("bY"),f=a("gN"),g=b.extend(f,function(a,b,d,e){f.call(this);this.ob=a;this.D=b;this.Nb=d;this.g=e;this.sB=new c;this.DU(this);this.set("tag","Root")});g.prototype.Vf=function(a){return this.sB.get(a)};g.prototype.all=function(){for(var a=[],b=[this];b.length>0;){var c=b.pop();a.push(c);for(var d=c.rc.length-1;d>=0;d--)b.push(c.rc[d])}return a};g.prototype.update=function(a){var b=this.all(),c=b.length,
d;for(d=0;d<c;d++)b[d].lha();for(d=0;d<c;d++)b[d].set("index",d);for(d=0;d<c;d++)b[d].I(a);for(d=0;d<c;d++)b[d].eha();if(this.wH){for(d=0;d<c;d++)b[d].hha();this.update(a)}};g.prototype.Oa=function(){this.Vo||this.trigger(new d(e.aa));f.prototype.Oa.call(this)};g.prototype.hp=function(a){return Array.isArray(a)?a.map(this.hp.bind(this)):this.sB.get(a)||g.factory.create(a)};return g});
define("kb","require,fb,hW,fp,gN,r".split(","),function(a){var b=a("fb"),c=a("hW"),e=a("fp"),d=a("gN"),f=a("r"),a=b.extend(d,function(a){d.call(this);this.k=a;this.xI=this.xI.bind(this);this.yI=this.yI.bind(this);this.Ve=new THREE.Matrix4;this.s$=z;this.Jf=new THREE.Matrix4;this.Pe=r;this.ai=new THREE.Matrix4;this.Eb=1;this.ZB=0;this.lc=r;this.lC=0;this.c1()}),g=Math.PI/180;a.prototype.jb=function(){d.prototype.jb.call(this);this.trigger(EventName.Ab);this.trigger(EventName.R);this.k.set("state",
this.k.get("startState"));c.xc(this.k,["intensity","speed"],this.xI,p);c.xc(this.k,["state"],this.yI,p)};a.prototype.mb=function(){c.Pc(this.k,["intensity","speed"],this.xI);c.Pc(this.k,["state"],this.yI);this.k.set("state",e.K);this.iP()};a.prototype.xI=function(){this.c1();this.poa()};a.prototype.yI=function(){this.Oa()};a.prototype.c1=function(){var a=this.k.get("intensity");speed=this.k.get("speed");var b,c,d,e,g,o;if(f.Va()||f.browser()==f.fz){b=1E3;c=350;d=1800;e=400;o=0.8;g=1.2}else if(f.Ye()){b=
1500;c=500;d=2500;e=500;o=0.8;g=1.2}else{b=3E3;c=1E3;d=5E3;e=1E3;o=0.6;g=1}this.W0=0.75;this.D2=0.5;this.UH=4;this.mB=-2;this.Qq=3;this.Lla=35;this.Ria=7;this.pna=o+a*(g-o);this.Z4=this.gB=0.15+speed*1.35;this.ona=c+a*(b-c);this.Sia=e+a*(d-e)};a.prototype.poa=function(){if(this.Pe){this.iP();this.r2()}};a.prototype.r2=function(){this.Rpa();this.qoa();this.Pe=new THREE.Group;for(var a=this.k.get("initialState")==e.S,b=this.ona,c=this.Sia;c+b>0;){var d=Math.random()*(c+b)<=c;d?c--:b--;var f=new THREE.Sprite(this.GP());
f.matrixAutoUpdate=z;f.overdraw=z;f.material.opacity=0;f.userData={ota:d,My:new THREE.Matrix4,M$:new THREE.Matrix4,y:m,Fda:m,aY:a};this.Pe.add(f);a&&this.hU(f,this.mB,this.Qq);this.ooa(f)}this.ZB=a?this.Pe.children.length:0;this.oW.add(this.Pe);this.e1()};a.prototype.iP=function(){if(this.Pe){this.Pe.parent&&this.Pe.parent.remove(this.Pe);for(var a=0,b=this.Pe&&this.Pe.children.length;a<b;a++)this.Pe.children[a].material.dispose();this.Pe=r;this.lC=0}};a.prototype.qoa=function(){this.Eb=this.pna/
32;this.ai=(new THREE.Matrix4).makeScale(this.Eb,this.Eb,this.Eb)};a.prototype.hU=function(a,b,c){b=b+Math.random()*(c-b);if(a.userData.ota){var c=this.Ria,d=360*Math.random()*g;a.userData.My.makeTranslation(c*Math.cos(d),b,c*Math.sin(d))}else{c=Math.random()*2*Math.PI;d=this.UH*Math.sqrt(Math.random());a.userData.My.makeTranslation(d*Math.cos(c),b,d*Math.sin(c))}a.userData.My.multiply(this.ai);a.userData.y=b};a.prototype.ooa=function(a){var b=this.Z4+Math.random()*(this.gB-this.Z4),c=Math.random()*
this.Lla,d=Math.random()*360,f=Math.sin(d*g)*Math.sin(c*g)*b,e=-Math.cos(c*g)*b,b=Math.cos(d*g)*Math.sin(c*g)*b;a.userData.Fda=e*this.Eb;a.userData.M$.makeTranslation(f,e,b)};a.prototype.Rpa=function(){if(!this.lc){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.lc=new THREE.Texture;this.lc.image=a;this.lc.needsUpdate=p}};a.prototype.GP=function(){var a=new THREE.SpriteMaterial;a.map=this.lc;a.side=THREE.DoubleSide;a.transparent=p;a.depthTest=z;a.needsUpdate=p;return a};a.prototype.I=function(a){d.prototype.I.call(this,a);this.oW=a.re;if(this.oW!=(this.Pe&&this.Pe.parent)){this.iP();this.oW&&this.r2()}else this.o("index")&&this.e1();this.Sra(a)};a.prototype.Sra=function(a){if(this.Pe){if(this.o("composedTranslationX",
"composedTranslationY","composedTranslationZ")){this.s$=this.get("composedTranslationX")!=0||this.get("composedTranslationY")!=0||this.get("composedTranslationZ")!=0;this.Ve.makeTranslation(-this.get("composedTranslationX")*this.UH,this.get("composedTranslationY")*this.UH,this.get("composedTranslationZ")*this.UH)}var b=this.k.get("state")==e.S,c=this.Pe.children,d=c.length,f=b?Math.round(d*a.td/this.k.get("startDuration")):0;if(this.ZB+f>0){this.lC=b?0:Math.min(this.ZB,this.lC+Math.round(d*a.td/this.k.get("stopDuration")));
a=this.get("composedAlpha");for(b=0;b<d;b++){var g=c[b];if(!g.userData.aY)if(f>0){f--;g.userData.aY=p;this.ZB++;this.hU(g,this.Qq,this.Qq+(this.Qq-this.mB))}else continue;g.userData.My.multiply(g.userData.M$);g.userData.y=g.userData.y+g.userData.Fda;if(g.userData.y<this.mB){if(this.lC>0){this.lC--;g.userData.aY=z;this.ZB--;g.material.opacity=0;continue}this.hU(g,this.Qq,this.Qq)}var o=a;g.userData.y<this.mB+this.D2?o=o*((g.userData.y-this.mB)/this.D2):g.userData.y>this.Qq-this.W0&&(o=o*((this.Qq-
g.userData.y)/this.W0));g.material.opacity=o;if(this.s$){g.matrix.copy(this.Ve);g.matrix.multiply(g.userData.My)}else g.matrix.copy(g.userData.My);g.matrixWorldNeedsUpdate=p}this.Oa()}}};a.prototype.e1=function(){if(this.Pe)for(var a=this.get("index"),b=0;b<this.Pe.children.length;b++)this.Pe.children[b].renderOrder=a};return a});
define("cn",["require","gP","r"],function(a){var b=a("gP"),c=a("r"),e=new THREE.Matrix4,d=Math.PI/180;return{Rn:function(){this.set("rotationX",0);this.set("rotationY",0);this.set("rotationZ",0);this.set("yaw",0);this.set("pitch",0);this.set("roll",0);this.set("scale",1);this.set("hfov",m);this.set("vfov",r);this.Ve=new THREE.Matrix4;this.Zb=new THREE.Matrix4;this.$j=new THREE.Matrix4;this.Ii=new THREE.Matrix4;this.kg=new THREE.Matrix4;this.ai=new THREE.Matrix4;this.gl=new THREE.Matrix4},zP:function(){var a=
c.ge()==c.zj?new THREE.Mda:new THREE.nZ;a.matrixAutoUpdate=z;return a},Uo:function(a){if(this.o("contentWidth","contentHeight")){var c=this.get("cssObject");c.rk=this.get("contentWidth");c.qk=this.get("contentHeight");c.wda()}c=z;this.o("composedTranslationX","composedTranslationY","composedTranslationZ")&&(this.Ve.makeTranslation(0.5*-this.get("composedTranslationX")*b.Gd,0.5*this.get("composedTranslationY")*b.Gd,0.5*this.get("composedTranslationZ")*b.Gd),c=p);this.o("composedDeltaYaw","composedDeltaPitch",
"composedDeltaRoll")&&(this.Zb.makeRotationY(-a.ha*d),this.Zb.multiply(e.makeRotationX(-this.get("composedDeltaPitch")*d)),this.Zb.multiply(e.makeRotationY(this.get("composedDeltaYaw")*d)),this.Zb.multiply(e.makeRotationY(a.ha*d)),c=p);this.o("yaw","pitch")&&(this.$j.makeRotationY(-this.get("yaw")*d),this.$j.multiply(e.makeRotationX(this.get("pitch")*d)),c=p);if(this.o("flipHorizontally","hfov","vfov","composedTranslationX","composedTranslationY","composedTranslationZ")){var c=this.get("contentWidth"),
k=this.get("contentHeight"),j=this.get("hfov"),n=this.get("vfov");this.Ii.makeTranslation(0,0,-(c/(2*Math.tan(0.5*j*d))));var i=(this.get("flipHorizontally")?-1:1)*this.get("scale"),l=this.get("scale");n&&(l*=c*Math.tan(0.5*n*d)/(k*Math.tan(0.5*j*d)));this.ai.makeScale(i,l,1);c=p}this.o("rotationX","rotationY","rotationZ","roll")&&(this.kg.makeRotationZ(this.get("roll")*d),this.kg.multiply(e.makeRotationY(this.get("rotationY")*d)),this.kg.multiply(e.makeRotationX(this.get("rotationX")*d)),this.kg.multiply(e.makeRotationZ(this.get("rotationZ")*
d)),c=p);if(c||this.o("meshGroup"))this.gl.copy(this.Ve),this.gl.multiply(this.Zb),this.gl.multiply(this.$j),this.gl.multiply(this.Ii),this.gl.multiply(this.kg),this.gl.multiply(this.ai),this.get("cssObject").matrix.copy(this.gl),this.get("cssObject").matrixWorldNeedsUpdate=p;this.set("cameraYaw",a.ha);this.set("cameraPitch",a.pitch);this.set("cameraRoll",a.jd);this.set("cameraHfov",a.Yc);this.set("cameraWidth",a.width);this.set("cameraHeight",a.height);if(a.Ec&&(c||this.o("cameraYaw","cameraPitch",
"cameraRoll","cameraHfov","cameraWidth","cameraHeight")))this.get("cssObject").iY(a.Ec),this.set("geometryVisible",this.get("cssObject").LL),this.o("geometryVisible")&&this.eU()}}});
define("fm",["require","hW","ki"],function(a){var b=a("hW"),c=a("ki");return{Hj:function(){this.set("playbackPositions",r);this.ic=this.ic.bind(this);this.va=new c},Zj:function(){b.xc(this.k,["playbackPositions","width","height"],this.ic,p)},ak:function(){b.Pc(this.k,["playbackPositions","width","height"],this.ic)},ic:function(){this.set("playbackPositions",this.k.get("playbackPositions"));this.set("contentWidth",this.k.get("width"));this.set("contentHeight",this.k.get("height"))},Tf:function(){this.o("playbackPositions",
"currentTime")&&(this.va.Zr(this.get("playbackPositions")),this.va.Yr(this.get("currentTime")),this.set("yaw",this.va.get("yaw")),this.set("pitch",this.va.get("pitch")),this.set("roll",this.va.get("roll")),this.set("rotationX",this.va.get("rotationX")),this.set("rotationY",this.va.get("rotationY")),this.set("hfov",this.va.get("hfov")),this.set("vfov",this.va.get("vfov")));this.o("framePlane","holePlane","imagePlane","yaw","pitch","roll","rotationX","rotationY","hfov","vfov","contentWidth","contentHeight")&&
this.Na().forEach(function(a){a.set("yaw",this.get("yaw"));a.set("pitch",this.get("pitch"));a.set("roll",this.get("roll"));a.set("rotationX",this.get("rotationX"));a.set("rotationY",this.get("rotationY"));a.set("hfov",this.get("hfov"));a.set("vfov",this.get("vfov"));a.set("contentWidth",this.get("contentWidth"));a.set("contentHeight",this.get("contentHeight"))}.bind(this))}}});
define("jv","require,fb,bB,eq,eb,cn,ky,bQ,fn,hR,fm".split(","),function(a){var b=a("fb"),c=a("bB"),e=a("eq"),d=a("eb"),f=a("cn"),g=a("ky"),k=a("bQ"),j=a("fn"),n=a("hR"),a=a("fm"),i=b.extend(d,g,j,function(){d.call(this);this.set("tag","RectangleFrameHotspotImage")}),l=b.extend(e,f,k,function(){e.call(this);this.set("tag","RectangleFrameHotspotFrame")}),q=b.extend(d,g,n,function(){d.call(this);this.set("tag","RectangleFrameHotspotHole")});return b.extend(c,a,function(a){c.call(this,a);this.ut=i;this.GQ=
l;this.CR=q})});
define("kz",["require","hW","ki"],function(a){var b=a("hW"),c=a("ki");return{Hj:function(){this.set("playbackPositions",r);this.set("scaleMode",m);this.set("distance",m);this.ic=this.ic.bind(this);this.va=new c},Zj:function(){b.xc(this.k,["playbackPositions","distance","scaleMode"],this.ic,p)},ak:function(){b.Pc(this.k,["playbackPositions","distance","scaleMode"],this.ic)},ic:function(){this.set("scaleMode",this.k.get("scaleMode"));this.set("distance",this.k.get("distance"));this.set("playbackPositions",this.k.get("playbackPositions"))},
Tf:function(){this.o("playbackPositions","currentTime")&&(this.va.Zr(this.get("playbackPositions")),this.va.Yr(this.get("currentTime")),this.set("yaw",this.va.get("yaw")),this.set("pitch",this.va.get("pitch")),this.set("roll",this.va.get("roll")),this.set("rotationX",this.va.get("rotationX")),this.set("rotationY",this.va.get("rotationY")),this.set("hfov",this.va.get("hfov")),this.set("vfov",this.va.get("vfov")),this.set("alpha",this.va.qh()));this.o("video","image","yaw","pitch","roll","rotationX",
"rotationY","hfov","vfov","distance","scaleMode","image","video")&&this.Na().forEach(function(a){a.set("yaw",this.get("yaw"));a.set("pitch",this.get("pitch"));a.set("roll",this.get("roll"));a.set("rotationX",this.get("rotationX"));a.set("rotationY",this.get("rotationY"));a.set("hfov",this.get("hfov"));a.set("vfov",this.get("vfov"));a.set("scaleMode",this.get("scaleMode"));a.set("distance",this.get("distance"))}.bind(this))}}});
define("kY","require,fb,dO,eb,ky,fn,fd,kz".split(","),function(a){var b=a("fb"),c=a("dO"),e=a("eb"),d=a("ky"),f=a("fn"),g=a("fd"),a=a("kz"),k=b.extend(e,d,f,function(){e.call(this);this.set("tag","RectangleVideoHotspotImage")}),j=b.extend(e,d,g,function(){e.call(this);this.set("tag","RectangleVideoHotspotVideo")});return b.extend(c,a,function(a){c.call(this,a);this.ut=k;this.kW=j})});
define("db","require,dR,gN,iG,hn,jc,hk,jZ,eD,O,kt,cY,bo,hg,gR,hF,eR,kb,jv,kY,bF".split(","),function(a){function b(a,b){Array.isArray(b)||(b=[b]);for(var d=0;d<b.length;d++)if(c.zb(b[d],a))return p;return z}var c=a("dR"),e=a("gN"),d=a("iG"),f=a("hn"),g=a("jc"),k=a("hk"),j=a("jZ"),n=a("eD"),i=a("O"),l=a("kt"),q=a("cY"),o=a("bo"),t=a("hg"),s=a("gR"),u=a("hF"),v=a("eR"),w=a("kb"),x=a("jv"),y=a("kY");a("bF");a={};v.factory=a;a.create=function(a){if(a instanceof e)return a;if(b(a,["HDRPanorama","LivePanorama",
"Panorama","VideoPanorama"]))return new i(a);if(b(a,["CubicPanoramaFrame","SphericPanoramaFrame"]))return b(a,"SphericPanoramaFrame")&&a.sh()?new q(a):new l(a);if(b(a,"HotspotPanoramaOverlay"))return new g(a);if(b(a,["HotspotPanoramaOverlayImage","HotspotPanoramaOverlayMap"]))return new k(a);if(b(a,"Menu"))return new n(a);if(b(a,["CeilingCapPanoramaOverlay","TripodCapPanoramaOverlay"]))return new d(a);if(b(a,["FlatHotspotPanoramaOverlayImage","FlatHotspotPanoramaOverlayMap"]))return new f(a);if(b(a,
["LensFlarePanoramaOverlay"]))return new j(a);if(b(a,["SnowPanoramaOverlay"]))return new w(a);if(b(a,["PopupPanoramaOverlay"]))return new o(a);if(b(a,["QuadFramePanoramaOverlay"]))return new t(a);if(b(a,["QuadHotspotPanoramaOverlayImage","QuadHotspotPanoramaOverlayMap"]))return new s(a);if(b(a,["QuadVideoPanoramaOverlay"]))return new u(a);if(b(a,["FramePanoramaOverlay"]))return new x(a);if(b(a,["VideoPanoramaOverlay"]))return new y(a);h("Invalid script object")};return a});
define("kP",["require"],function(){var a={Iaa:function(b,c,e,d,f,g){return a.zta(b,2*(c/d)-1,2*-(e/f)+1,g)},zta:function(a,c,e,d){d||(d=new THREE.Ray);d.origin.setFromMatrixPosition(a.matrixWorld);d.direction.set(c,e,0.5).unproject(a).sub(d.origin).normalize();return d},Nta: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},Mta: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("ey",["require"],function(){function a(a){this.Od=this.EA(a.get("vrPointerColor"));this.Dm=this.EA(a.get("vrPointerSelectionColor"));this.To=this.ek([0,0,0],0);this.OJ=this.ek([0,0,0],0.125);this.via=this.ek(this.Od,1);this.wia=this.ek(this.Dm,1);this.$ga=this.ek(this.Dm,1);this.Zga=this.ek(this.Od,0.5);this.Xga=this.ek(this.Od,1);this.Yga=this.ek(this.Dm,1);this.Bh=this.ve=64;this.zO=4E3;this.K2=0.1;this.Ch=0.16;this.hk=0.04;this.K1=this.oG=0.68-this.hk;this.nG=1-this.hk;this.t=document.createElement("canvas");
this.t.width=this.ve;this.t.height=this.Bh;this.ia=this.t.getContext("2d");this.Nf=this.dP=z;this.Tw=this.CI=m;this.Ks=0}a.prototype.EA=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.ek=function(a,c){return"rgba("+a.join(",")+", "+c+")"};a.prototype.hxa=function(a,c){this.Nf=a;this.CI=c};a.prototype.eM=P("dP");a.prototype.Xc=R("ve");a.prototype.Kd=R("Bh");a.prototype.update=function(a){return this.dP?this.zia(a):
this.Nf?this.Eia():this.Dia()};a.prototype.pG=function(){this.ia.clearRect(0,0,this.ve,this.Bh)};a.prototype.Dia=function(){if("initial"==this.Tw)return z;this.pG();this.O2(this.via);this.Tw="initial";return p};a.prototype.Eia=function(){if(this.CI===m){if("over"==this.Tw)return z;this.pG();this.O2(this.wia)}else this.kna(this.CI);this.Tw="over";return p};a.prototype.zia=function(a){for(this.Ks+=a;this.Ks>this.zO;)this.Ks-=this.zO;this.Uga(this.Ks/this.zO);this.Tw="changing";return p};a.prototype.O2=
function(a){this.Eh(this.K2+this.hk,0,this.To,this.OJ,0,2*Math.PI);this.Eh(this.K2,0,this.To,a,0,2*Math.PI)};a.prototype.Fia=function(a){this.Eh(this.oG-0.5*(this.Ch+this.hk),this.Ch+this.hk,this.OJ,this.To,0,2*Math.PI);this.Eh(this.oG-0.5*this.Ch,this.Ch,this.Zga,this.To,0,2*Math.PI);this.Eh(this.oG-0.5*this.Ch,this.Ch,this.$ga,this.To,0.5*Math.PI,(0.5+2*a)*Math.PI)};a.prototype.Aia=function(a,c){this.Eh(this.K1-0.5*(this.Ch+this.hk),this.Ch+this.hk,this.OJ,this.To,0,2*Math.PI);this.Eh(this.K1-0.5*
this.Ch,this.Ch,this.Xga,this.To,0,2*Math.PI);a=(0.5+2*a)*Math.PI;for(c=(0.5+2*c)*Math.PI;c<a;)c+=2*Math.PI;var e=a-this.hk/(2*this.nG*Math.PI),d=c+this.hk/(2*this.nG*Math.PI);Math.abs(d-e+2*Math.PI)<2*this.hk&&(e=0,d=c);this.Eh(this.nG-0.5*(this.Ch+this.hk),this.Ch+this.hk,this.OJ,this.To,e,d);this.Eh(this.nG-0.5*this.Ch,this.Ch,this.Yga,this.To,a,c)};a.prototype.Eh=function(a,c,e,d,f,g){var k=Math.round(0.5*this.ve),j=Math.round(0.5*this.Bh),n=Math.min(k,j),a=Math.round(a*n),i=this.ia;i.Fua=i.oAa=
p;i.lineWidth=c*n;i.strokeStyle=e;i.fillStyle=d;i.beginPath();i.arc(k,j,a,f,g,z);i.stroke();i.fill()};a.prototype.Uga=function(a){this.pG();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.Aia(a,c)};a.prototype.kna=function(a){this.pG();this.Fia(a)};return a});
define("jh","require,fb,ds,hc,ey,dS".split(","),function(a){var b=a("fb"),c=a("ds"),e=a("hc"),d=a("ey"),f=a("dS"),a=b.extend(e,function(){e.call(this);this.t=r;this.set("tag","Reticle");this.set("changing",z);this.set("over",z);this.set("overProgress",m);this.set("visible",p);this.set("attachToCamera",p)});a.prototype.I=function(a){this.mg(a);this.Tf(a);e.prototype.I.call(this,a)};a.prototype.mg=function(a){if(!this.t){this.set("textureSource",new f);this.t=new d(this.Za.D);this.get("textureSource").pi(this.t.t);
this.set("contentWidth",this.t.Xc());this.set("contentHeight",this.t.Kd());this.set("hfov",6);this.set("distance",this.Za.D.get("vrPointerDistance"))}this.o("changing")&&this.t.eM(this.get("changing"));this.o("over","overProgress")&&this.t.hxa(this.get("over"),this.get("overProgress"));this.t.update(a.td)&&this.get("textureSource").update();this.get("changing")&&this.Oa()};a.prototype.Tf=function(){this.nk()};a.prototype.ei=function(){this.o("composedAlpha","meshGroup","visible")&&this.Tp()};a.prototype.Tp=
function(){c.ud(this.get("meshGroup"),this.get("visible")?this.get("composedAlpha"):0)};return a});
define("Y","require,jquery.mod,dl,kV,r,ll,dG".split(","),function(a){function b(a){this.Aa=a;this.y9=this.Aa.Rj;this.Aa.bind(d.Hc,this.Ui,this);this.J=c("<span></span>");this.J.css({position:"absolute","z-index":g.N_,"text-align":"center",display:"none"});f.Va()||this.J.css({"pointer-events":"none"});this.bd=c("<span></span>");this.bd.css({position:"absolute",left:0,top:0,right:0,bottom:0});this.J.append(this.bd);this.eK=c("<span></span>");this.eK.css({position:"relative"});this.J.append(this.eK);
this.lg=this.yH=this.Bf=r;this.W6=this.V6=m;this.Hq=z;this.z9=m}var c=a("jquery.mod"),e=a("dl"),d=a("kV"),f=a("r"),g=a("ll"),k=a("dG"),j={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.Kb=R("J");b.prototype.jv=function(a){if(!this.y9){for(;a&&a.get("toolTipDisabled");)a=a.getParent();this.hide();this.Bf&&
e(e(j).keys()).each(function(a){this.Bf.unbind(d.G(a),this.VS,this)},this);if(this.Bf=a){e(e(j).keys()).each(function(a){this.Bf.bind(d.G(a),this.VS,this)},this);this.VS()}}};b.prototype.Hxa=function(a,b){this.Bf=a;this.z9=b;this.CH()||(this.Hq?this.O8():this.KC())};b.prototype.M8=function(a,b,c,f,e){this.Hq&&this.Bf.trigger(d.XN);this.lra(a);this.eK.html(this.uka(b));var b=this.J.outerWidth(),g=this.J.outerHeight();if(e){c=c-this.J.width()*0.5;f=f-this.J.height()*0.5}c=Math.max(Math.min(c,this.Aa.Ba()-
b-3),3);f=Math.max(Math.min(f,this.Aa.eb()-g-3),3);this.J.css("left",c+"px");this.J.css("top",f+"px");this.J.css("display","inline");this.Bf.trigger(d.M_);this.Hq=p;(e||a.get("checkToolTipOcclusion"))&&this.Xpa(a,c,f)};b.prototype.hide=function(){this.Xs();this.d9();if(this.Hq){this.J.css("display","none");this.Bf.trigger(d.XN);this.Hq=z}};b.prototype.VS=function(){this.Bf.get("toolTip")?this.CH()||(this.Hq?this.N8():this.KC()):this.CH()?this.Xs():this.Hq&&this.hide()};b.prototype.Ui=function(a){this.V6=
a.pageX;this.W6=a.pageY};b.prototype.N8=function(){var a=this.V6,b=this.W6+25;this.M8(this.Bf,this.Bf.get("toolTip"),a,b,z)};b.prototype.O8=function(){var a=this.Bf.Kb().offset();this.M8(this.Bf,this.z9,a.left+this.Bf.Ba()*0.5,a.top+this.Bf.eb()*0.5,p)};b.prototype.CH=function(){return this.lg!=r};b.prototype.KC=function(){var a=this.Bf&&this.Bf.get("toolTipDisplayTime");if(a===m||a===r)a=j.toolTipDisplayTime;this.Xs();this.lg=setTimeout(function(){this.lg=r;this.y9?this.O8():this.N8()}.bind(this),
a)};b.prototype.Xs=function(){if(this.CH()){clearTimeout(this.lg);this.lg=r}};b.prototype.Xpa=function(a,b,c){this.d9();var d=function(){this.J.css("display",this.Hq&&!this.nla(a,b,c)?"inline":"none")}.bind(this);this.yH=setInterval(d,300);d()};b.prototype.d9=function(){if(this.yH){clearInterval(this.yH);this.yH=r}};b.prototype.lra=function(a){function b(c){var d=a.get(c);return d===m?j[c]:d}var c={};c.opacity=b("toolTipOpacity");c.filter=c["-ms-filter"]="alpha(opacity="+Math.round(b("toolTipOpacity")*
100)+")";c.paddingTop=b("toolTipPaddingTop")+"px";c.paddingBottom=b("toolTipPaddingBottom")+"px";c.paddingLeft=b("toolTipPaddingLeft")+"px";c.paddingRight=b("toolTipPaddingRight")+"px";c["text-align"]=b("toolTipHorizontalAlign");this.J.css(c);c={};c.opacity=b("toolTipBackgroundOpacity");c.filter=c["-ms-filter"]="alpha(opacity="+Math.round(b("toolTipBackgroundOpacity")*100)+")";c["background-color"]=b("toolTipBackgroundColor");c.border=[b("toolTipBorderSize")+"px","solid",b("toolTipBorderColor")].join(" ");
var d=b("toolTipShadowColor");c["-moz-box-shadow"]=c["-webkit-box-shadow"]=c["box-shadow"]=[b("toolTipShadowHorizontalLength")+"px",b("toolTipShadowVerticalLength")+"px",b("toolTipShadowBlurRadius")+"px",b("toolTipShadowSpread")+"px","rgba("+parseInt("0x"+d.substr(1,2))+", "+parseInt("0x"+d.substr(3,2))+", "+parseInt("0x"+d.substr(5,2))+", "+b("toolTipShadowOpacity")+")"].join(" ");c["-moz-border-radius"]=c["-webkit-border-radius"]=c.borderRadius=b("toolTipBorderRadius")+"px";this.bd.css(c);c={};
c["font-family"]=k.Kr(b("toolTipFontFamily"));d=b("toolTipFontSize");e(d).isNumber()?d=d+"px":e(d).isString()||(d="");c["font-size"]=d;c["font-weight"]=b("toolTipFontWeight");c["font-style"]=b("toolTipFontStyle");c.color=b("toolTipFontColor");d=b("toolTipTextShadowColor");c["-moz-text-shadow"]=c["-webkit-text-shadow"]=c["text-shadow"]=[b("toolTipTextShadowHorizontalLength")+"px",b("toolTipTextShadowVerticalLength")+"px",b("toolTipTextShadowBlurRadius")+"px","rgba("+parseInt("0x"+d.substr(1,2))+", "+
parseInt("0x"+d.substr(3,2))+", "+parseInt("0x"+d.substr(5,2))+", "+b("toolTipTextShadowOpacity")+")"].join(" ");var f=b("toolTipTextShadowVerticalLength")==0&&b("toolTipTextShadowHorizontalLength")==0?135:Math.round(4*Math.atan2("toolTipTextShadowHorizontalLength",-b("toolTipTextShadowVerticalLength"))/Math.PI)*45;c.filter="progid:DXImageTransform.Microsoft.Shadow(color=#"+function(a){for(a=a.toString(16);a.length<2;)a="0"+a;return a}(255*b("toolTipTextShadowOpacity"))+d.substr(1,6)+",direction="+
f+")";this.eK.css(c)};b.prototype.nla=function(a,b,c){for(var b=document.elementsFromPoint(b,c),a=a.Kb()[0],c=this.Aa.Kb()[0],d=0;d<b.length;d++){var f=b[d];if(a==f||a.contains(f))break;if(!this.J[0].contains(f)&&c.contains(f)){var e=window.getComputedStyle(f);if(e.display!="none"&&e.visibility!="hidden"&&(f.tagName=="CANVAS"?1:this.rha(e.backgroundColor))*e.opacity>0.29)return p}}return z};b.prototype.rha=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.uka=function(a){for(var a=(a||"").split("\n"),b=0;b<a.length;b++)a[b]=this.Mia(a[b]);return a.map(function(a){return"<div>"+a+"</div>"})};b.prototype.Mia=function(a){b.B0.nodeValue=a;return b.x0.innerHTML};b.Qda=j;b.x0=document.createElement("pre");b.B0=document.createTextNode("");b.x0.appendChild(b.B0);b.Wya=600;return b});
define("ck",["require","Y","bz","dG"],function(a){function b(a,b){this.D=a;this.ci=b;this.Npa()}var c=a("Y"),e=a("bz"),d=a("dG");b.prototype.Xc=function(){return this.t.width};b.prototype.Kd=function(){return this.t.height};b.prototype.Npa=function(){this.t=document.createElement("canvas");var a=this.t.getContext("2d"),b=this.ci.split("\n"),c=this.ye("toolTipBackgroundColor"),j=this.ye("toolTipBackgroundOpacity"),n=this.ye("toolTipBorderRadius"),i=this.ye("toolTipBorderColor"),l=this.ye("toolTipBorderSize");
this.ye("toolTipDisplayTime");var q=this.ye("toolTipFontFamily"),o=this.ye("toolTipFontSize"),t=this.ye("toolTipFontColor"),s=this.ye("toolTipFontWeight"),u=this.ye("toolTipFontStyle"),v=this.ye("toolTipPaddingBottom"),w=this.ye("toolTipPaddingLeft"),x=this.ye("toolTipPaddingTop"),y=this.ye("toolTipPaddingRight"),E=this.ye("toolTipOpacity"),B=this.ye("toolTipTextShadowBlurRadius"),M=this.ye("toolTipTextShadowColor"),A=this.ye("toolTipTextShadowHorizontalLength"),K=this.ye("toolTipTextShadowVerticalLength"),
G=this.ye("toolTipTextShadowOpacity"),F=new e.H_;F.fontFamily=q;F.fontSize=o+(isNaN(o)?"":"px");F.fontWeight=s;F.fontStyle=u;var H=b.map(function(b){return e(b,F,a)}),I=0,N=0;H.forEach(function(a){I=Math.max(a.width,I);N+=a.height});var O=1<b.length?0.25*(N/b.length):0,N=N+(b.length-1)*O,y=l+w+I+y+l,v=l+x+N+v+l;this.t=document.createElement("canvas");a=this.t.getContext("2d");this.t.width=y;this.t.height=v;a.globalAlpha=E;a.strokeStyle=i;a.fillStyle="transparent"===c?"rgba(0,0,0,0)":this.Q0(j,c);
a.lineWidth=l;a.beginPath();a.moveTo(n,0);a.lineTo(y-n,0);a.quadraticCurveTo(y,0,y,n);a.lineTo(y,v-n);a.quadraticCurveTo(y,v,y-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=t;a.font=s+" "+("normal"!=u?u+" ":"")+o+(isNaN(o)?"":"px")+" "+d.Kr(q);a.shadowColor=this.Q0(G,M);a.shadowOffsetX=A;a.shadowOffsetY=K;a.shadowBlur=B;a.textBaseline="middle";a.textAlign="center";var C=l+w+0.5*I,Q=l+x;b.forEach(function(b,
c){a.fillText(b,Math.round(C),Math.round(Q+0.5*H[c].height));Q+=H[c].height+O})};b.prototype.ye=function(a){var b=this.D.get(a);return b===m?c.Qda[a]:b};b.prototype.Q0=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("kR","require,fb,gP,hc,ck,dS".split(","),function(a){var b=a("fb"),c=a("gP"),e=a("hc"),d=a("ck"),f=a("dS"),a=b.extend(e,function(){e.call(this);this.t=r;this.set("tag","ToolTip");this.set("text","");this.mk=new THREE.Vector3(0,0,-c.ep())});a.prototype.I=function(a){this.mg(a);e.prototype.I.call(this,a)};a.prototype.mg=function(a){if(!this.t||this.o("text")){this.get("textureSource")||this.set("textureSource",new f);this.t=new d(this.Za.D,this.get("text"));this.get("textureSource").pi(this.t.t);
this.set("contentWidth",this.t.Xc());this.set("contentHeight",this.t.Kd());this.set("hfov",2*Math.atan2(this.t.Xc()*0.5,600)*g);this.set("distance",this.Za.D.get("vrPointerDistance"));var b=this.get("matrix");if(b){this.mk.applyMatrix4(b);(this.mk.x!=0||this.mk.z!=0)&&this.set("yaw",g*Math.atan2(this.mk.x,-this.mk.z));(this.mk.y!=0||this.mk.z!=0)&&this.set("pitch",g*Math.atan2(this.mk.y,Math.sqrt(this.mk.z*this.mk.z+this.mk.x*this.mk.x))+k)}else{this.set("yaw",a.ha);this.set("pitch",a.pitch+j)}}};
var g=180/Math.PI,k=2,j=5;return a});define("kx",["require","kP","M"],function(a){function b(a,b){this.Td=a;this.g=b;this.tA=r}var c=a("kP"),e=a("M");b.prototype.update=D();b.prototype.clear=D();b.prototype.qe=R("Td");b.prototype.XQ=function(){var a=this.m.re&&e.Mr(this.m.re);return this.tA=a?c.Nta(a,this.tA):r};b.CF="gaze";b.ZN="gaze_click";b.uz="laser";b.vz="mouse";b.wz="touch";return b});
define("dW",["require","kx"],function(a){function b(a,b,c,e){this.Yh=a;this.tl=b;this.tA=c;this.Xd=e;this.E1=[];this.Uh=[];this.xK=[];this.zR=[];this.wa="";this.ur=Number.MAX_VALUE}function c(a){return a===m?[]:Array.isArray(a)?a:[a]}var e=a("kx");b.prototype.Rr=function(){return this.Yh.qe()==e.vz};b.prototype.Fba=function(){return this.Yh.qe()==e.uz};b.prototype.Xu=function(){return this.Yh.qe()==e.wz};b.prototype.Rua=function(){return this.Yh.qe()==e.CF};b.prototype.Dr=function(a){this.xK=this.xK.concat(c(a))};
b.prototype.az=function(){return 0<this.xK.length};b.prototype.ssa=function(a){this.zR=this.zR.concat(c(a))};b.prototype.bta=function(){return 0==this.xK.length&&0<this.zR.length};b.prototype.Cr=function(a){this.Uh=this.Uh.concat(c(a))};b.prototype.Bva=function(){return 0<this.Uh.length};b.prototype.hi=function(a){if(a&&(this.GG===m||this.GG>a))this.GG=a};b.prototype.OK=function(a,b){if(""==this.wa||this.ur>b)this.wa=a,this.ur=b};b.prototype.RE=R("wa");b.prototype.wp=function(a){this.E1=c(a)};b.prototype.nh=
function(){return 0<this.E1.length};return b});
define("cf","require,fb,kV,kP,M,jh,kR,dW,kx".split(","),function(a){var b=a("fb"),c=a("kV");a("kP");a("M");var e=a("jh"),d=a("kR"),f=a("dW"),g=a("kx"),a=b.extend(g,function(a){g.call(this,g.CF,a);this.Ce=this.m=r;this.Uh=[];this.hK=r;this.O6=m;this.Cb=new e;this.g.add(this.Cb);this.Ue="";this.wa=r;this.f8=this.g.D.get("vrPointerSelectionTime")});a.prototype.clear=function(){this.aV();this.g.remove(this.Cb);this.Cb=r;this.wa&&this.g.remove(this.wa);this.wa=r};a.prototype.update=function(a){this.m=
a;this.Cb.set("changing",a.TK);this.ng()};a.prototype.gw=function(){this.Qf(this.Ff(c.wi));this.Cb.set("over",z)};a.prototype.ng=function(){var a=this.Ff(c.xi);this.Qf(a);this.zl(a.RE());var b;a:{b=this.Uh;for(var d=a.Uh,f=0;f<b.length;f++)if(d.indexOf(b[f])<0){b=z;break a}for(f=0;f<d.length;f++)if(b.indexOf(d[f])<0){b=z;break a}b=p}if(!b){this.aV();this.Cb.set("over",z);this.Uh=a.Uh;if(this.Uh.length){this.Cb.set("over",a.az());this.Cb.set("overProgress",0);this.jqa()}}};a.prototype.zl=function(a){if(this.Ue!=
a){this.Ue&&this.g.remove(this.wa);if(this.Ue=a){this.wa=new d(this.Ue);this.wa.set("text",this.Ue);this.g.add(this.wa)}}};a.prototype.Qf=function(a){this.g.cE().sort(function(a,b){return b.get("index")-a.get("index")}).forEach(function(b){b.sj(a)}.bind(this))};a.prototype.Ff=function(a){this.Ce=this.XQ();return new f(this,this.Ce?[this.Ce]:[],this.Ce,a)};a.prototype.aV=function(){this.hK&&(clearInterval(this.hK),this.hK=r)};a.prototype.jqa=function(){this.O6=(new Date).getTime();this.hK=setInterval(this.nma.bind(this),
100)};a.prototype.nma=function(){var a=(new Date).getTime()-this.O6;if(a>=this.f8){this.aV();this.gw()}else this.Cb.set("overProgress",a/this.f8)};return a});
define("iv","require,fb,kV,jh,kR,dW,kx,bi".split(","),function(a){var b=a("fb"),c=a("kV"),e=a("jh"),d=a("kR"),f=a("dW"),g=a("kx"),k=a("bi"),a=b.extend(g,function(a){g.call(this,g.ZN,a);this.Ce=this.m=r;this.Cb=new e;this.g.add(this.Cb);this.Ue="";this.wa=r;this.jK=this.jK.bind(this);document.body.addEventListener("touchend",this.jK);k.bind(c.zi,this.E$,this,p)});a.prototype.clear=function(){document.body.removeEventListener("touchend",this.jK);k.unbind(c.zi,this.E$,this,p);this.g.remove(this.Cb);
this.Cb=r;this.wa&&this.g.remove(this.wa);this.wa=r};a.prototype.update=function(a){this.m=a;this.Cb.set("changing",a.TK);this.ng()};a.prototype.jK=function(){this.gw()};a.prototype.E$=function(){this.gw()};a.prototype.gw=function(){this.Qf(this.Ff(c.wi));this.Cb.set("over",z)};a.prototype.ng=function(){var a=this.Ff(c.xi);this.Qf(a);this.zl(a.RE());this.Cb.set("over",a.az())};a.prototype.zl=function(a){if(this.Ue!=a){this.Ue&&this.g.remove(this.wa);if(this.Ue=a){this.wa=new d(this.Ue);this.wa.set("text",
this.Ue);this.g.add(this.wa)}}};a.prototype.Qf=function(a){this.g.cE().sort(function(a,b){return b.get("index")-a.get("index")}).forEach(function(b){b.sj(a)}.bind(this))};a.prototype.Ff=function(a){this.Ce=this.XQ();return new f(this,this.Ce?[this.Ce]:[],this.Ce,a)};return a});
define("ia","require,fb,gP,bT,ds,dS,y,kl".split(","),function(a){var b=a("fb"),c=a("gP"),e=a("bT"),d=a("ds"),f=a("dS"),g=a("y"),k=a("kl"),j=new THREE.Matrix4,n=Math.PI/180,a=b.extend(g,function(){g.call(this);this.set("tag","Laser");this.set("matrix",r);this.set("over",z);this.set("pressed",z);this.set("intersectionDistance",0);this.set("visible",z);this.set("attachToCamera",z);this.set("dotVisible",p);this.RT=this.iC=this.zm=this.QT=r;new THREE.Matrix4;this.ST=new THREE.Matrix4;this.ST.multiply(j.makeRotationX(-90*
n));this.ST.multiply(j.makeTranslation(0,i*0.5,0));this.LG=this.KG=this.JG=this.Xn=this.lQ=r;new THREE.Matrix4;this.mQ=new THREE.Matrix4;this.cA=this.IG=this.kQ=r;new THREE.Matrix4;this.at=[new THREE.Matrix4,new THREE.Matrix4,new THREE.Matrix4];this.at[0].multiply(j.makeRotationX(-90*n));this.at[0].multiply(j.makeTranslation(0,-q*0.5,0));this.at[1].multiply(j.makeRotationX(-90*n));this.at[1].multiply(j.makeTranslation(0,-q*0.5,-l*0.5));this.at[2].multiply(j.makeRotationX(-90*n));this.at[2].multiply(j.makeTranslation(0,
-q*0.5,-l))});a.prototype.I=function(a){g.prototype.I.call(this,a);this.ZV();this.zr()};a.prototype.ZV=function(){if(this.o("visible"))this.get("meshGroup").visible=this.get("visible");this.o("dotVisible")&&d.ud([this.KG,this.IG],this.get("dotVisible")?1:0)};a.prototype.zr=function(){if(this.o("over","pressed")){this.X9();this.h$()}};var i=0.35,l=0.012,q=0.1;a.prototype.Gi=function(){this.IG=d.create(new THREE.SphereGeometry(2.3,32,32),this.Gha());this.KG=d.create(new THREE.SphereGeometry(2,32,32),
this.Hha());this.RT=d.create(new THREE.CylinderGeometry(0.003,0.003,i,8),this.bia());this.kw=[];this.kw.push(d.create(new THREE.CylinderGeometry(l,l,q,32),this.BP()));this.kw.push(d.create(new THREE.BoxGeometry(2*l,q,l),this.BP()));this.kw.push(d.create(new THREE.CylinderGeometry(l,l,q,32),this.BP()));return[this.IG,this.KG,this.RT].concat(this.kw)};a.prototype.Gha=function(){if(this.kQ==r){var a=document.createElement("canvas");a.width=a.height=256;var b=a.getContext("2d"),c=new f;c.pi(a);this.kQ=
e.Jr(c.texture(),new e.vn);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.kQ]};a.prototype.Hha=function(){if(this.lQ==r){this.Xn=document.createElement("canvas");this.Xn.width=this.Xn.height=256;this.JG=this.Xn.getContext("2d");this.LG=new f;this.LG.pi(this.Xn);this.lQ=e.Jr(this.LG.texture(),new e.vn);this.X9()}return[this.lQ]};a.prototype.X9=function(){this.JG.fillStyle=this.PQ();this.JG.clearRect(0,0,this.Xn.width,this.Xn.height);
this.JG.fillRect(0,0,this.Xn.width,this.Xn.height);this.LG.update()};a.prototype.bia=function(){if(this.QT==r){this.zm=document.createElement("canvas");this.zm.width=this.zm.height=256;this.iC=this.zm.getContext("2d");this.TT=new f;this.TT.pi(this.zm);this.QT=e.Jr(this.TT.texture(),new e.vn);this.h$()}return[this.QT]};a.prototype.h$=function(){var a=k.ZX(this.PQ()).join(", "),b=this.iC.createLinearGradient(0,0,0,this.zm.height);b.addColorStop(0,"rgba("+a+", 0)");b.addColorStop(0.5,"rgba("+a+", 1)");
b.addColorStop(1,"rgba("+a+", 1)");this.iC.fillStyle=b;this.iC.clearRect(0,0,this.zm.width,this.zm.height);this.iC.fillRect(0,0,this.zm.width,this.zm.height);this.TT.update()};a.prototype.BP=function(){if(this.cA==r){var a=document.createElement("canvas");a.width=a.height=256;var b=a.getContext("2d"),c=new f;c.pi(a);this.cA=e.Jr(c.texture(),new e.vn);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.cA,this.cA,this.cA]};a.prototype.Fl=
function(){var a=z,b=z,f=z;if(this.o("intersectionDistance")){var b=(b=this.get("intersectionDistance"))?c.Ou(b):c.ep(),e=b/c.ep();this.mQ.makeTranslation(0,0,-b);this.mQ.multiply(j.makeScale(e,e,e));b=p}if(this.o("matrix"))f=b=a=p;if(b){j.identity();(b=this.get("matrix"))&&j.multiply(b);j.multiply(this.mQ);d.Kl(this.KG,j);d.Kl(this.IG,j)}if(a){j.identity();(b=this.get("matrix"))&&j.multiply(b);j.multiply(this.ST);d.Kl(this.RT,j)}if(f){b=this.get("matrix");for(a=0;a<this.kw.length;a++){j.identity();
b&&j.multiply(b);j.multiply(this.at[a]);d.Kl(this.kw[a],j)}}};a.prototype.tu=function(){if(this.o("index","meshGroup")){var a=this.get("meshGroup");a&&a.children.forEach(function(a){d.oM(a,this.get("index"))}.bind(this))}};a.prototype.PQ=function(){return this.get("pressed")?this.Za.D.get("vrPointerSelectionColor"):this.get("over")?this.Za.D.get("vrPointerOverColor"):this.Za.D.get("vrPointerColor")};return a});
define("dp","require,fb,kV,kP,ia,jh,kR,dW,kx,cZ,bi,kf".split(","),function(a){var b=a("fb"),c=a("kV"),e=a("kP"),d=a("ia"),f=a("jh"),g=a("kR"),k=a("dW"),j=a("kx"),n=a("cZ"),i=a("bi"),l=a("kf"),q=new THREE.Matrix4,o=Math.PI/180,a=b.extend(j,function(a){j.call(this,j.uz,a);this.Ce=this.m=r;this.Uh=[];this.zg=new d;this.g.add(this.zg);this.Cb=new f;this.g.add(this.Cb);this.Zh=z;this.Ue="";this.wa=r;this.Fh=new THREE.Matrix4});a.prototype.clear=function(){this.g.remove(this.zg);this.g.remove(this.Cb);
this.Cb=this.zg=r;this.wa&&this.g.remove(this.wa);this.wa=r};a.prototype.update=function(a){this.m=a;this.Cb.set("changing",a.TK);this.Cb.set("visible",a.TK);var b=n.PL();if(b&&!b.Tua()){var c=b.quaternion(),d=b.position(),f=i.an().position,e=l.ha(i.an().orientation);this.Fh.identity();if(d){this.Fh.multiply(q.makeRotationY((e-a.ha)*o));this.Fh.multiply(q.makeTranslation(-f.x,-f.y,-f.z));this.Fh.multiply(q.makeTranslation(d.x,d.y,d.z));this.Fh.multiply(q.makeRotationFromQuaternion(c))}else{this.Fh.multiply(q.makeRotationY(-a.ha*
o));b.hand()==n.na?this.Fh.multiply(q.makeTranslation(-0.2,-0.4,0)):this.Fh.multiply(q.makeTranslation(0.2,-0.4,0));this.Fh.multiply(q.makeRotationY(e*o));this.Fh.multiply(q.makeRotationFromQuaternion(c));this.Fh.multiply(q.makeTranslation(0,0,-0.3))}this.zg.set("matrix",r);this.zg.set("matrix",this.Fh);this.zg.set("pressed",b.pressed());this.zg.set("visible",p)}else this.zg.set("visible",z);this.ng();a=!!b&&b.pressed();if(this.Zh!=a){this.Zh&&this.gw();this.Zh=a}this.zg.nk();this.Cb.nk()};a.prototype.gw=
function(){var a=this.Ff(c.wi);this.Qf(a);this.zg.set("over",p);this.zg.set("dotVisible",p);this.zg.set("intersectionDistance",a.GG);(a=n.PL())&&a.pulse(0.6,50)};a.prototype.ng=function(){var a=this.Ff(c.xi);this.Qf(a);this.zl(a.RE());var b;a:{b=this.Uh;for(var d=a.Uh,f=0;f<b.length;f++)if(d.indexOf(b[f])<0){b=z;break a}for(f=0;f<d.length;f++)if(b.indexOf(d[f])<0){b=z;break a}b=p}if(!b&&(a.az()||this.zg.get("over"))){this.Uh=a.Uh;(b=n.PL())&&b.pulse(0.6,5)}this.zg.set("over",a.az());this.zg.set("intersectionDistance",
a.GG);this.zg.set("dotVisible",!a.bta())};a.prototype.zl=function(a){if(this.Ue!=a){this.Ue&&this.g.remove(this.wa);if(this.Ue=a){this.wa=new g(this.Ue);this.wa.set("text",this.Ue);this.wa.set("matrix",r);this.wa.set("matrix",this.Fh);this.g.add(this.wa)}}};a.prototype.Qf=function(a){this.g.cE().sort(function(a,b){return b.get("index")-a.get("index")}).forEach(function(b){b.sj(a)}.bind(this))};a.prototype.Ff=function(a){this.Ce=e.Mta(this.Fh,this.Ce);return new k(this,[this.Ce],this.XQ(),a)};return a});
define("gX","require,fb,kV,kP,M,dW,kx,R".split(","),function(a){var b=a("fb"),c=a("kV"),e=a("kP"),d=a("M"),f=a("dW"),g=a("kx"),k=a("R"),a=b.extend(g,function(a){g.call(this,g.vz,a);this.g.D.bind(c.Hc,this.Bg,this,p);this.g.D.bind(c.Le,this.a5,this,p);this.g.D.bind(c.Mb,this.uoa,this,p);this.g.D.bind(c.ub,this.hc,this,p);this.g.D.bind(c.Xb,this.Cg,this,p);this.Do=this.$i=this.Cc=this.Bc=m;this.Ce=this.m=r;this.Lm=z;this.wa=""});a.prototype.clear=function(){this.g.D.unbind(c.Hc,this.Bg,this,p);this.g.D.unbind(c.Le,
this.a5,this,p);this.g.D.unbind(c.ub,this.hc,this,p);this.g.D.unbind(c.Xb,this.Cg,this,p);this.Lm&&(this.g.Ky(k.he),this.Lm=z);this.zl("")};a.prototype.update=function(a){this.m=a;this.MV()};a.prototype.Bg=function(a){this.Bc=a.x;this.Cc=a.y;this.sK()};a.prototype.a5=function(){this.Cc=this.Bc=m;this.sK()};a.prototype.uoa=function(){this.Cc=this.Bc=m;this.sK()};a.prototype.hc=function(a){this.Bc=this.$i=a.x;this.Cc=this.Do=a.y;this.Qf(this.Ff(c.x_))};a.prototype.Cg=function(a){this.Bc=a.x;this.Cc=
a.y;this.Qf(this.Ff(c.y_));this.cS(this.$i,this.Do,this.Bc,this.Cc)&&this.Qf(this.Ff(c.wi))};a.prototype.MV=function(){if(!this.Gl)this.Gl=setTimeout(function(){this.Gl=r;this.ng()}.bind(this),300)};a.prototype.sK=function(){if(this.Gl){clearTimeout(this.Gl);this.Gl=r}this.ng()};a.prototype.ng=function(){var a=this.Ff(c.xi);this.Qf(a);this.zl(a.RE());if(this.Lm!=a.az()){this.Lm&&this.g.Ky(k.he);(this.Lm=a.az())&&this.g.ZL(k.he)}};a.prototype.zl=function(a){if(this.wa!=a){this.wa=a;this.g.D.set("toolTip",
this.wa)}};a.prototype.Qf=function(a){this.g.cE().sort(function(a,b){return b.get("index")-a.get("index")}).forEach(function(b){b.sj(a)}.bind(this))};a.prototype.Ff=function(a){return new f(this,this.jH(),r,a)};a.prototype.jH=function(){if(this.Bc!==m&&this.Cc!==m&&this.m.re){var a=d.Mr(this.m.re);if(a){this.Ce=e.Iaa(a,this.Bc,this.Cc,this.m.width,this.m.height,this.Ce);return[this.Ce]}}return[]};a.prototype.cS=function(a,b,c,d){a=c-a;b=d-b;return Math.sqrt(a*a+b*b)<=5};return a});
define("eW","require,fb,kV,kP,M,dW,kx".split(","),function(a){var b=a("fb"),c=a("kV"),e=a("kP"),d=a("M"),f=a("dW"),g=a("kx"),a=b.extend(g,function(a){g.call(this,g.wz,a);this.g.D.bind(c.ub,this.hc,this,p);this.g.D.bind(c.Xb,this.Cg,this,p);this.Do=this.$i=this.Cc=this.Bc=m;this.m=r;this.Sga=Array(k.length);this.Ena=Array(j.length);this.wa="";this.ng=this.ng.bind(this)});a.prototype.clear=function(){this.g.D.unbind(c.ub,this.hc,this,p);this.g.D.unbind(c.Xb,this.Cg,this,p);this.zl("")};a.prototype.update=
function(a){this.m=a;this.MV()};a.prototype.hc=function(a){this.Bc=this.$i=a.x;this.Cc=this.Do=a.y;this.Qf(this.Ff(c.x_))};a.prototype.Cg=function(a){this.Bc=a.x;this.Cc=a.y;this.Qf(this.Ff(c.y_));this.cS(this.$i,this.Do,this.Bc,this.Cc)&&this.Qf(this.Ff(c.wi))};a.prototype.MV=function(){if(!this.Gl)this.Gl=setTimeout(this.ng,300)};a.prototype.sK=function(){if(this.Gl){clearTimeout(this.Gl);this.Gl=r}this.ng()};a.prototype.ng=function(){this.Gl=r;var a=this.Ff(c.xi);this.Qf(a);this.zl(a.RE())};a.prototype.zl=
function(a){if(this.wa!=a){this.wa=a;a=this.g.D;a.set("toolTip",this.wa);if(!a.get("toolTipDisabled")){var b=a.Sa().wa;this.wa?b.Hxa(a,this.wa):b.hide()}}};a.prototype.Qf=function(a){this.g.cE().sort(function(a,b){return b.get("index")-a.get("index")}).forEach(function(b){b.sj(a)}.bind(this))};a.prototype.Ff=function(a){var b;b=a==c.xi?this.jH(this.m.width*0.5,this.m.height*0.5,k,this.Sga):this.jH(this.Bc,this.Cc,j,this.Ena);return new f(this,b,r,a)};a.prototype.jH=function(a,b,c,f){var g=this.m.re&&
d.Mr(this.m.re);if(g){var j=this.m.width,k=this.m.height,u=Math.min(j,k)/100;c.forEach(function(c,d){f[d]=e.Iaa(g,a+c[0]*u,b+c[1]*u,j,k,f[d])});return f}return[]};a.prototype.cS=function(a,b,c,d){a=c-a;b=d-b;b=Math.sqrt(a*a+b*b);d=4*Math.round(1*Math.min(window.screen.width,window.screen.height)/100);return b<=d};var k=function(){for(var a=[],b=-5;b<=5;b++)for(var c=-5;c<=5;c++){var d=Math.sqrt(c*c+b*b);d<5&&a.push([c,b,d])}for(c=-30;c<-5;c++)a.push([c,0,Math.sqrt(c*c)]);for(c=6;c<=30;c++)a.push([c,
0,Math.sqrt(c*c)]);for(b=-15;b<-5;b++)a.push([0,b,Math.sqrt(b*b)]);for(b=6;b<=15;b++)a.push([0,b,Math.sqrt(b*b)]);a.sort(function(a,b){return a[2]-b[2]});return a.map(function(a){return[a[0],a[1]]})}(),j=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,e=Math.sqrt(f*f+c*c);e<=2&&a.push([f,c,e])}a.sort(function(a,b){return a[2]-b[2]});return a.map(function(a){return[a[0],a[1]]})}();return a});
define("fy","require,cf,iv,dp,gX,kx,eW".split(","),function(a){var b=a("cf"),c=a("iv"),e=a("dp"),d=a("gX"),f=a("kx"),g=a("eW");return{create:function(a,j){switch(a){case f.CF:return new b(j);case f.ZN:return new c(j);case f.uz:return new e(j);case f.vz:return new d(j);case f.wz:return new g(j)}}}});
define("lo",["require","R"],function(a){function b(a){this.Jb=a;this.Rf=[]}var c=a("R");b.prototype.push=function(a){this.Rf.push(a);this.I()};b.prototype.pop=function(a){for(var b=this.Rf.length-1;0<=b;b--)if(this.Rf[b]==a){this.Rf.splice(b,1);this.I();break}};b.prototype.clear=function(){0<this.Rf.length&&(this.Jb.set("cursor",c.$c),this.Rf=[])};b.prototype.I=function(){this.Jb.set("cursor",0<=this.Rf.indexOf(c.qF)?c.qF:0<=this.Rf.indexOf(c.he)?c.he:0<this.Rf.length?this.Rf[this.Rf.length-1]:c.$c)};
return b});
define("dM","require,fb,hW,kV,bY,d,R,r,cZ,gh,lb,hp,dD,db,eR,fy,kx,lo,jy,hO,ih,bi,V".split(","),function(a){var b=a("fb"),c=a("hW"),e=a("kV"),d=a("bY"),f=a("d"),g=a("R"),k=a("r"),j=a("cZ"),n=a("gh"),i=a("lb"),l=a("hp"),q=a("dD"),o=a("db"),t=a("eR"),s=a("fy"),u=a("kx"),v=a("lo"),w=a("jy"),x=a("hO"),y=a("ih"),E=a("bi"),B=a("V"),M=Math.PI/180,A=b.extend(f,function(a,b,d){f.call(this);this.Tc("Renderer");this.set("toolTipDisabled",p);this.set("cursor",g.Dv);this.set("layout","absolute");this.ob=a;this.D=
b;this.Nb=d;this.XP=new v(b);this.Yh=r;this.m=new i;this.Za=new t(this.ob,this.D,this.Nb,this);this.Za.bind(e.aa,this.La,this,p);this.ck=new q;this.m.re=this.ck.gk;this.m.PD=this.ck.v2;this.m.QD=this.ck.w2;this.m.Ec=this.ck.Mr();this.J4=(new Date).getTime();this.Pa().append(this.ck.Kb());this.Ox=new l(b,d);this.Pa().append(this.Ox.Kb());this.r9=new x;this.r9.bind(e.R,this.Wma,this,p);this.n5=new w;this.n5.bind(e.aa,this.zma,this,p);this.ZG=new n(this.m.width,this.m.height,this.m.Yc*M);this.bind(e.vb,
this.lb,this,p);this.bind(e.ld,this.bh,this,p);this.bind(e.wd,this.ah,this,p);E.bind(e.aa,this.Xj,this,p);j.bind(e.aa,this.mma,this,p);c.xc(this.Nb,["fxaaEnabled","aaEnabled","hotspotsEnabled","preloadEnabled"],function(){this.m.Wu=this.Nb.get("hotspotsEnabled");this.m.vE=this.Nb.get("preloadEnabled");this.m.hL=this.Nb.get("fxaaEnabled");this.m.MK=this.Nb.get("aaEnabled");this.La()}.bind(this),p);c.xc(this.Nb,["surfaceSelectionEnabled"],this.VV.bind(this));this.VV();this.Xj();c.xc(this.ob,["defaultVRPointer"],
this.Hl.bind(this));this.Hl()});A.prototype.create=function(a){return o.create(a)};A.prototype.add=function(a){this.Za.appendChild(a)};A.prototype.remove=function(a){(a=this.Za.Vf(a))&&a.remove()};A.prototype.Vf=function(a){return this.Za.Vf(a)};A.prototype.cE=function(){return this.Za.all()};A.prototype.Xca=function(a){this.m.TL=a};A.prototype.ZL=function(a){this.XP.push(a)};A.prototype.Ky=function(a){this.XP.pop(a)};A.prototype.eM=function(a){this.m.TK=a;this.La()};A.prototype.getPixelRatio=function(){return this.ck.getPixelRatio()};
A.prototype.Hl=function(){var a;a=this.m.Lb?j.PL()&&this.ob.get("defaultVRPointer")=="laser"?u.uz:E.rL()==E.Iea.yN?u.ZN:u.CF:k.Va()?u.wz:u.vz;if(!(this.Yh&&this.Yh.qe()==a)){this.Yh&&this.Yh.clear();this.Yh=s.create(a,this);this.VV();this.Yh.update(this.m)}};A.prototype.VV=function(){this.m.PE=this.Nb.get("surfaceSelectionEnabled")&&[u.vz,u.uz,u.wz].indexOf(this.Yh&&this.Yh.qe())>=0};A.prototype.aj=function(){this.XP.clear();f.prototype.aj.call(this)};A.prototype.lb=function(){var a=this.Ba(),c=this.eb();
if(this.m.width!=a||this.m.height!=c)if(!a||!c)b.log("Invalid size values: "+a+" "+c);else{this.m.width=a;this.m.height=c;this.ZG.OE(this.m.width);this.ZG.Sca(this.m.height);this.La()}};A.prototype.bh=function(){this.m.enabled=p;this.La()};A.prototype.ah=function(){this.m.enabled=z;this.La()};A.prototype.Xj=function(){this.m.Lb=E.isPresenting();this.Hl();this.La()};A.prototype.mma=function(){this.Hl();this.La()};A.prototype.Wma=function(){this.La()};A.prototype.zma=function(){this.La()};A.prototype.qv=
function(a){if(this.m.qi!=a){this.m.qi=a;this.La()}};A.prototype.Fa=function(a,c,d,f){if(this.m.ha!=a||this.m.pitch!=c||this.m.jd!=d||this.m.Yc!=f)if(isNaN(a)||isNaN(c)||isNaN(d)||!f)b.log("Invalid position values: "+a+" "+c+" "+d+" "+f);else{this.m.ha=a;this.m.pitch=c;this.m.jd=d;this.m.Yc=f;this.ZG.lv(this.m.Yc*M);this.La()}};A.prototype.Qb=function(){return this.m.ha};A.prototype.Vb=function(){return this.m.pitch};A.prototype.Ld=function(){return this.m.jd};A.prototype.Fe=function(){return this.m.Yc};
A.prototype.ZW=function(){return this.m.Lb?this.m.vf:y.sn(this.m.vf,this.m.width,this.m.height)};A.prototype.$W=function(){return this.m.vf};A.prototype.unproject=function(a){return this.ZG.unproject(a)};A.prototype.La=function(){B.La(this.Dg,this)};A.prototype.Dg=function(){if(B.BX){var a=(new Date).getTime(),b=Math.max(1,Math.min(a-this.J4,33));this.J4=a;this.trigger(new d(A.sN,{frameTime:b}));if(this.m.enabled){this.m.td=b;this.ck.update(this.m);this.m.SK=this.ck.Bta();this.m.JD=this.ck.Ata();
this.m.vf=this.ck.yta();this.m.Og=this.ck.getPixelRatio();this.Za.update(this.m);this.r9.update(this.m);this.n5.update(this.m);this.Yh.update(this.m);this.ck.render()}}else this.La()};A.sN="render start";A.kda=S(p);return A});
define("dq",["require"],function(){function a(){}a.prototype.clear=D();a.vza=function(b){return a.create(b,D())};a.create=function(b,c){c.prototype=Object.create(a.prototype);c.prototype.constructor=c;c.id=b;c.not="!"+b;return c};a.Eu=function(b,c){var e=a.create(b,c);e.LX=p;return e};return a});
define("ej",["require","dq"],function(a){var a=a("dq"),b={};b.Geometry=a.create("GeometryComponent",function(){this.geometry=r});b.Lp=a.create("MaterialComponent",function(){this.material=r});b.Mesh=a.create("MeshComponent",function(){this.xk=r});b.bm=a.Eu("MeshSystemStateComponent",function(){this.xk=r});b.OrthographicCamera=a.create("OrthographicCameraComponent",D());b.Jv=a.Eu("OrthographicCameraSystemStateComponent",function(){this.Ec=r});b.yi=a.create("ParentComponent",function(){this.$K=r});
b.Mk=a.Eu("ParentSystemStateComponent",function(){this.Oc=this.parent=r});b.Mv=a.create("TransformComponent",function(){this.xca=this.wca=this.vca=this.cY=this.gca=this.fca=0;this.Cca=this.Bca=this.Aca=1});b.zf=a.create("RendererComponent",function(){this.canvas=r;this.antialias=p;this.height=this.width=100;this.QK=this.oY=this.wf=r});b.Mp=a.Eu("RendererSystemStateComponent",function(){this.height=this.width=m;this.Ec=this.nj=this.wf=r});b.Scene=a.create("SceneComponent",function(){this.nj=r});b.Lv=
a.Eu("SceneSystemStateComponent",function(){this.nj=r});b.Texture=a.create("TextureComponent",function(){this.texture=r});b.Np=a.create("VideoMaterialComponent",function(){this.jaa=this.Cda=this.qp=r});b.Op=a.Eu("VideoMaterialSystemStateComponent",function(){this.QL=r});b.Wg=a.create("ViewportComponent",function(){this.height=this.width=this.dv=r});b.Pp=a.create("ViewportPlaneGeometryComponent",function(){this.qp=this.dv=r});b.Cn=a.Eu("ViewportPlaneGeometrySystemStateComponent",function(){this.geometry=
r;this.zIndex=this.zca=this.verticalAlign=this.oba=this.hda=this.ida=m});return b});
define("iU",["require"],function(){function a(b,c){this.Ep=b;this.Sxa=c||"Entity";this.id=this.Sxa+"_"+a.sva++;this.pk={};this.yE={};this.RY=0}a.prototype.dc=function(a){return this.pk[a.id]};a.prototype.Pl=function(a){var c=this.pk[a.id];c&&this.Ep.Ksa(this,a);return c};a.prototype.Xe=function(a){if(a.id in this.pk)return this.pk[a.id];a.LX&&this.RY++;var c=this.pk[a.id]=new a;this.Ep.qsa(this,a);return c};a.prototype.Tl=function(a){a.id in this.pk&&(a.LX&&this.RY--,this.yE[a.id]=this.pk[a.id],delete this.pk[a.id],
this.Ep.oca(this,a,m))};a.prototype.Nsa=function(){for(var a in this.yE)this.yE[a].clear(),delete this.yE[a]};a.prototype.Wva=function(){for(var a in this.pk){var c=this.pk[a].constructor;c.LX||(this.yE[a]=this.pk[a],delete this.pk[a],this.Ep.oca(this,c,z))}};a.sva=0;return a});define("bG",["require"],function(){function a(){this.id=a.JS++;this.entities=[]}a.JS=0;return a});
define("ie",["require"],function(){function a(b,c){this.id=a.JS++;this.name=c;this.entities=b.entities;this.Er=b.entities.slice();this.ii=[];this.bM=[]}a.prototype.Lsa=function(){!this.Er.length||(this.Er=[]);!this.ii.length||(this.ii=[]);!this.bM.length||(this.bM=[])};a.JS=0;return a});
define("bd",["require","bG","ie"],function(a){function b(){this.zua={};this.Fb={};this.bv={};this.ny={};this.bp={};this.av={};this.OD={};this.$u={}}function c(a){return"string"==typeof a?a:a.id}var e=a("bG"),d=a("ie");b.prototype.Ie=function(a){this.OD[a.id]={};this.OD[a.not]={}};b.prototype.Xsa=function(a,b){var c=this.mka(a),e=new d(c,b);this.bv[c.id].push(e);return e};b.prototype.mka=function(a){var b=this.zua[this.nka(a)];if(b)return b;b=new e;this.Fb[b.id]=b;a=a.map(c);this.$u[b.id]={};for(var d=
0;d<a.length;d++){var j=a[d];this.$u[b.id][j]=p;this.OD[j][b.id]=p}this.av[b.id]={};this.bv[b.id]=[];return b};b.prototype.nka=function(a){a=a.map(c);a.sort();return a.join("-")};b.prototype.xva=function(a){this.ny[a.id]={};this.bp[a.id]={}};b.prototype.yva=function(a){delete this.ny[a.id];delete this.bp[a.id]};b.prototype.uva=function(a,b){var c=b.id,d=b.not,e=a.id;this.ny[e][c]=p;for(var i in this.bp[e])if(d in this.$u[i]){delete this.av[i][e];delete this.bp[e][i];var l=this.Fb[i].entities;l.splice(l.indexOf(a),
1);for(var l=this.bv[i],q=0,o=l.length;q<o;q++){var t=l[q];t.bM.push(a)}}for(i in this.OD[c])if(!(e in this.av[i])){var d=p,s;for(s in this.$u[i])if(l="!"!=s[0],(l?s:s.slice(1))in this.ny[e]!=l){d=z;break}if(d){this.av[i][e]=p;this.bp[e][i]=p;this.Fb[i].entities.push(a);l=this.bv[i];q=0;for(o=l.length;q<o;q++)t=l[q],t.Er.push(a)}}};b.prototype.wva=function(a,b){var c=b.id,d="!"+c,e=a.id;delete this.ny[e][c];for(var i in this.bp[e])if(c in this.$u[i]){delete this.av[i][e];delete this.bp[e][i];var l=
this.Fb[i].entities;l.splice(l.indexOf(a),1);for(var l=this.bv[i],q=0,o=l.length;q<o;q++){var t=l[q];t.bM.push(a)}}for(i in this.OD[d])if(!(e in this.av[i])){var c=p,s;for(s in this.$u[i])if(l="!"!=s[0],(l?s:s.slice(1))in this.ny[e]!=l){c=z;break}if(c){this.av[i][e]=p;this.bp[e][i]=p;this.Fb[i].entities.push(a);l=this.bv[i];q=0;for(o=l.length;q<o;q++)t=l[q],t.Er.push(a)}}};b.prototype.vva=function(a,b){var c=b.id,d=a.id,e;for(e in this.bp[d])if(c in this.$u[e])for(var i=this.bv[e],l=0,q=i.length;l<
q;l++){var o=i[l];0>o.ii.indexOf(a)&&o.ii.push(a)}};return b});
define("ip",["require","V","iU","bd"],function(a){function b(a){this.ob=a;this.zQ={};this.kA=[];this.tha={};this.PC=[];this.$t=new d;this.QG=[];this.fr=z}var c=a("V"),e=a("iU"),d=a("bd");b.prototype.Ie=function(a){this.tha[a.id]=a;this.$t.Ie(a);return this};b.prototype.Py=function(a,b){var c=new a(this,b);c.order=this.PC.length;this.PC.push(c);for(var d in a.Fb)c[d]=this.$t.Xsa(a.Fb[d],b+"."+d);this.PC.sort(function(a,b){return a.Nd-b.Nd||a.order-b.order});return this};b.prototype.ky=function(a){a=
new e(this,a);this.zQ[a.id]=a;this.$t.xva(a);this.fv();return a};b.prototype.QW=function(a){a.id in this.zQ&&(delete this.zQ[a.id],this.kA.push(a),a.Wva(),this.fv())};b.prototype.qsa=function(a,b){this.$t.uva(a,b);this.fv()};b.prototype.oca=function(a,b,c){this.$t.wva(a,b);c||this.QG.push(a);this.fv()};b.prototype.Ksa=function(a,b){this.$t.vva(a,b);this.fv()};b.prototype.fv=function(){this.fr||(this.fr=p,c.La(this.update,this))};b.prototype.update=function(){this.fr=z;var a=(new Date).getTime(),b=
this.K4?a-this.K4:0;this.K4=a;for(var c=0;c<this.PC.length;c++){var d=this.PC[c];d.execute(b,a);for(var e in d.constructor.Fb)d[e].Lsa()}for(c=0;c<this.QG.length;c++)this.QG[c].Nsa();this.QG.length=0;for(c=this.kA.length-1;0<=c;c--)0==this.kA[c].RY&&(this.$t.yva(this.kA[c]),this.kA.splice(c,1))};return b});define("iF",["require"],function(){function a(a,c){this.Ep=a;this.name=c;this.Nd=0}a.prototype.execute=D();return a});
define("fU",["require","ej"],function(a){var b=a("ej"),a={Yy:function(a){var c=a.Xe(b.bm);a.Xe(b.Mv);var f=a.Pl(b.Mesh);c.xk=f.xk=new THREE.Mesh(a.dc(b.Geometry).geometry,a.dc(b.Lp).material)}},c=new THREE.Euler;a.update=function(a){var d=a.Pl(b.bm);d.xk.geometry=a.dc(b.Geometry).geometry;d.xk.material=a.dc(b.Lp).material;var a=a.dc(b.Mv),d=d.xk,f=z;if(d.position.x!=a.fca||d.position.y!=a.gca||d.position.z!=a.cY)d.position.x=a.fca,d.position.y=a.gca,d.position.z=a.cY,f=p;if(d.rotation.x!=a.vca||d.rotation.y!=
a.wca||d.rotation.z!=a.xca)c.x=a.vca,c.y=a.wca,c.z=a.xca,d.dAa(c),f=p;if(d.scale.x!=a.Aca||d.scale.y!=a.Bca||d.scale.z!=a.Cca)d.scale.x=a.Aca,d.scale.y=a.Bca,d.scale.z=a.Cca,f=p;f&&d.updateMatrix()};a.as=function(a){a.dc(b.bm).xk=r;a.Tl(b.bm)};return a});
define("ec",["require","fb","iF","ej","fU"],function(a){var b=a("fb"),c=a("iF"),e=a("ej"),d=a("fU"),a=b.extend(c,function(){c.apply(this,arguments)});a.prototype.execute=function(){this.pE.entities.length&&this.pE.entities.forEach(function(a){d.Yy(a)});this.oE.ii.length&&this.oE.ii.forEach(function(a){d.update(a)});this.RL.entities.length&&this.RL.entities.forEach(function(a){d.as(a)});this.ova.entities.length&&this.RL.entities.forEach(function(a){d.as(a)});this.pva.entities.length&&this.RL.entities.forEach(function(a){d.as(a)})};
a.Fb={};a.Fb.pE=[e.Mesh,e.Geometry,e.Lp,e.bm.not];a.Fb.oE=[e.Mesh,e.Geometry,e.Lp,e.Mv,e.bm];a.Fb.RL=[e.Mesh.not,e.bm];a.Fb.ova=[e.Geometry.not,e.bm];a.Fb.pva=[e.Lp.not,e.bm];return a});
define("fT",["require","ej"],function(a){function b(a){if(!a)return r;var b=a.dc(c.Scene);return b?b.nj:(b=a.dc(c.Mesh))?b.xk:(a=a.dc(c.OrthographicCamera))?a.Ec:r}var c=a("ej");return{Yy:function(a){var d=a.Xe(c.Mk);d.parent=b(a.dc(c.yi).$K);d.Oc=b(a);d.parent&&d.Oc&&d.parent.add(d.Oc)},update:function(a){var d=a.Pl(c.Mk),f=b(a.dc(c.yi).$K),a=b(a);if(d.parent!=f||d.Oc!=a)d.parent&&d.Oc&&d.parent.remove(d.Oc),d.parent=f,d.Oc=a,d.parent&&d.Oc&&d.parent.add(d.Oc)},as:function(a){var b=a.dc(c.Mk);b.parent&&
b.Oc&&b.parent.remove(b.Oc);b.parent=r;b.Oc=r;a.Tl(c.Mk)}}});
define("jz",["require","fb","iF","ej","fT"],function(a){var b=a("fb"),c=a("iF"),e=a("ej"),d=a("fT"),a=b.extend(c,function(){c.apply(this,arguments)});a.prototype.execute=function(){this.pE.entities.length&&this.pE.entities.forEach(function(a){d.Yy(a)});this.tE.entities.length&&this.tE.entities.forEach(function(a){d.Yy(a)});this.oE.ii.length&&this.oE.ii.forEach(function(a){d.update(a)});this.$ba.ii.length&&this.$ba.ii.forEach(function(a){d.update(a)});this.W$.entities.length&&this.W$.entities.forEach(function(a){d.as(a)});
this.X$.entities.length&&this.X$.entities.forEach(function(a){d.as(a)})};a.Fb={};a.Fb.pE=[e.Mesh,e.yi,e.Mk.not];a.Fb.tE=[e.OrthographicCamera,e.yi,e.Mk.not];a.Fb.oE=[e.Mesh,e.yi,e.Mk];a.Fb.$ba=[e.OrthographicCamera,e.yi,e.Mk];a.Fb.W$=[e.OrthographicCamera.not,e.Mesh.not,e.yi,e.Mk];a.Fb.X$=[e.yi.not,e.Mk];return a});define("eE",["require","fF"],function(a){return a("fF")});
define("iB",["require","fb","iF","ej","eE"],function(a){var b=a("fb"),c=a("iF"),e=a("ej");Util=a("eE");a=b.extend(c,function(){c.apply(this,arguments)});a.prototype.execute=function(){for(var a=0,b=this.Dca.entities.length;a<b;a++)this.Bxa(this.Dca.entities[a]);a=0;for(b=this.tE.entities.length;a<b;a++)this.zxa(this.tE.entities[a]);a=0;for(b=this.qca.entities.length;a<b;a++)this.Axa(this.qca.entities[a]);a=0;for(b=this.ev.entities.length;a<b;a++)this.jta(this.ev.entities[a]);a=0;for(b=this.Eca.entities.length;a<
b;a++)this.Xxa(this.Eca.entities[a]);a=0;for(b=this.aca.entities.length;a<b;a++)this.Vxa(this.aca.entities[a]);a=0;for(b=this.rca.entities.length;a<b;a++)this.Wxa(this.rca.entities[a])};a.prototype.Bxa=function(a){var b=a.Pl(e.Scene);a.Xe(e.Lv).nj=b.nj=new THREE.Scene};a.prototype.zxa=function(a){var b=a.Pl(e.OrthographicCamera);a.Xe(e.Jv).Ec=b.Ec=new THREE.OrthographicCamera};a.prototype.Axa=function(a){var b=a.dc(e.zf),a=a.Xe(e.Mp);a.wf=new THREE.WebGLRenderer({precision:"mediump",alpha:p,canvas:b.canvas,
context:Util.OW(b.canvas,b.antialias||z)});a.wf.setPixelRatio(Util.getPixelRatio());a.wf.autoClear=z;a.wf.setClearColor(0,0);a.width=b.width;a.height=b.height};a.prototype.jta=function(a){var b=a.dc(e.zf),a=a.dc(e.Mp),c=a.wf,k=b.QK&&b.QK.dc(e.OrthographicCamera).Ec,j=b.width,n=b.height;if(a.width!=j||a.height!=n||a.Ec!=k)a.width=j,a.height=n,a.Ec=k,c.setSize(j,n),k&&(k.left=-0.5*j,k.right=0.5*j,k.top=0.5*n,k.bottom=-0.5*n,k.updateProjectionMatrix());b=b.oY&&b.oY.dc(e.Scene).nj;a.nj!=b&&(a.nj=b);c.clear();
b&&k&&c.render(b,k)};a.prototype.Wxa=function(a){var b=a.dc(e.Mp);b.wf.dispose();b.wf=r;a.Tl(e.Mp)};a.prototype.Vxa=function(a){var b=a.dc(e.Jv);b.Ec.parent&&b.Ec.parent.remove(b.Ec);b.Ec=r;a.Tl(e.Jv)};a.prototype.Xxa=function(a){a.dc(e.Lv).nj=r;a.Tl(e.Lv)};a.Fb={};a.Fb.qca=[e.zf,e.Mp.not];a.Fb.rca=[e.zf.not,e.Mp];a.Fb.ev=[e.zf,e.Mp];a.Fb.Dca=[e.Scene,e.Lv.not];a.Fb.Eca=[e.Scene.not,e.Lv];a.Fb.tE=[e.OrthographicCamera,e.Jv.not];a.Fb.aca=[e.OrthographicCamera.not,e.Jv];return a});
define("eQ",["require","kV","fp","bY","kD"],function(a){function b(a,b,c,d){this.C=a;this.U=b;this.RG=c;this.Oa=d;this.ob=a.Sa();this.lm=this.U.get("currentTime");this.m=this.U.get("state");this.$I=this.ob.get("mute");this.gI=this.U.get("mute");this.m=this.U.get("autoplay")?e.S:e.uc;this.uO();this.U.set("state",this.m);this.C.Fd(this.$I||this.gI);this.C.xp(this.lm);this.C.ec(this.m)}var c=a("kV"),e=a("fp"),d=a("bY"),f=a("kD");b.prototype.dispose=function(){this.XT()};b.prototype.u6=function(){var a=
this.U.get("currentTime",0);this.lm!=a&&this.C.xp(this.lm=a)};b.prototype.w6=function(){var a=this.U.get("state",e.K);this.m!=a&&this.C.ec(this.m=a)};b.prototype.v6=function(){var a=this.U.get("mute",z);this.gI!=a&&this.C.Fd(this.$I||(this.gI=a))};b.prototype.HB=function(){var a=this.ob.get("mute",z);this.$I!=a&&this.C.Fd((this.$I=a)||this.gI)};b.prototype.NB=function(){this.U.set("currentTime",this.lm=this.C.jj())};b.prototype.LB=function(){this.U.set("duration",this.C.kj())};b.prototype.MB=function(){this.U.set("state",
this.m=this.C.Ge());this.Oa()};b.prototype.OB=function(){this.RG.trigger(new d(c.Da));this.U.get("loop")&&(this.C.xp(this.lm=0),this.C.ec(this.m=e.S))};b.prototype.uO=function(){this.ob.bind(c.G("mute"),this.HB,this,p);this.C.bind(f.Hd,this.NB,this,p);this.C.bind(f.Yf,this.LB,this,p);this.C.bind(c.vc,this.MB,this,p);this.C.bind(c.Da,this.OB,this,p);this.U.bind(c.G("currentTime"),this.u6,this,p);this.U.bind(c.G("state"),this.w6,this,p);this.U.bind(c.G("mute"),this.v6,this,p)};b.prototype.XT=function(){this.ob.unbind(c.G("mute"),
this.HB,this,p);this.C.unbind(f.Hd,this.NB,this,p);this.C.unbind(f.Yf,this.LB,this,p);this.C.unbind(c.vc,this.MB,this,p);this.C.unbind(c.Da,this.OB,this,p);this.U.unbind(c.G("currentTime"),this.u6,this,p);this.U.unbind(c.G("state"),this.w6,this,p);this.U.unbind(c.G("mute"),this.v6,this,p);this.U.unbind(c.G("opacity"),this.US,this,p)};return b});
define("s","require,kV,fp,fZ,bR,is,eE".split(","),function(a){function b(a,b,c,d,e,f){this.lc=a;this.C=b;this.U=c;this.cJ=d;this.Oa=f;this.sc=r;this.Gla();this.Oa();this.ia=(this.t=k.Bda(e)?document.createElement("canvas"):r)&&this.t.getContext("2d")}var c=a("kV"),e=a("fp"),d=a("fZ"),f=a("bR"),g=a("is"),k=a("eE");b.prototype.update=function(){var a=this.C.kL();a.isEmpty()&&(a=r);if(a&&(!this.sc||this.sc&&!this.sc.isEqual(a))){this.sc=a;a=this.sc.it;if(this.t&&k.sh(a)){this.ia.drawImage(a,0,0,this.t.width=
a.videoWidth,this.t.height=a.videoHeight);a=this.t}this.lc.image=a;this.lc.needsUpdate=p}else if(!this.sc&&this.bJ&&this.lc.image!=this.bJ){this.lc.image=this.bJ;this.lc.needsUpdate=p}(this.lc.needsUpdate||this.C.Ge()==e.S)&&this.Oa()};b.prototype.Gla=function(){if(this.cJ){this.bJ=r;this.cC=new f;this.cC.NY([this.cJ]);this.cC.bind(c.R,this.t6,this,p);g.ln(this.cC,this.U.get("loadPriority",d.Bj))}};b.prototype.ira=function(){if(this.cJ){this.cC.unbind(c.R,this.t6,this,p);g.si(this.cC,this.U.get("loadPriority",
d.Bj))}};b.prototype.t6=function(){this.bJ=g.pe(this.cJ);this.Oa()};b.prototype.dispose=function(){this.ira();this.ia=r;this.t&&(this.t=this.t.width=this.t.height=0);this.Oa=this.tf=this.C=this.lc=r};return b});
define("ic",["require","eE"],function(a){var b=a("eE");return{Oda:function(){this.blending=0;this.Gy=m;this.fda=this.rda=0},Sea:function(){this.Qr=z;this.height=this.width=100},create:function(a,e,d){var f=a.Qr&&b.mba(),g=a.Qr&&b.lba(),k={uniforms:{},transparent:p};k.uniforms.texture={type:"sampler2D",value:d};k.uniforms.opacity={type:"float",value:1};d.flipY=!f;k.vertexShader=["varying vec2 vUV;\nvoid main() {","\tvUV = vec2( uv.x, "+(f?"1.0 - uv.y":"uv.y")+");","\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}"].join("\n");
if(g||e.blending||e.Gy){var f=[],j=[],f=f.concat(["uniform sampler2D texture;","uniform float opacity;","varying vec2 vUV;"]),j=j.concat(["   vec4 color = texture2D(texture, vUV);","   float alpha = color.a * opacity;"]);if(e.blending){var n=0.5*Math.min(a.width,a.height)*e.blending;k.uniforms.blendingLimit={type:"v2",value:new THREE.Vector2(n/a.width,n/a.height)};f=f.concat(["uniform vec2 blendingLimit;"]);j=j.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(","))}e.Gy&&
(k.uniforms.chromaColor={type:"v3",value:new THREE.Vector3(parseInt(e.Gy.substr(1,2),16)/255,parseInt(e.Gy.substr(3,2),16)/255,parseInt(e.Gy.substr(5,2),16)/255)},k.uniforms.chromaThreshold={type:"f",value:e.rda},k.uniforms.chromaSmoothing={type:"f",value:e.fda},f=f.concat(["uniform vec3 chromaColor;","uniform float chromaThreshold;","uniform float chromaSmoothing;"]),j=j.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("{")));
j=j.concat(["\tgl_FragColor = vec4(color"+(g?".bgr":".rgb")+", alpha);"]);d.format=THREE.RGBAFormat;k.fragmentShader=[].concat(f,["void main() {"],j,["}"]).join("\n")}else k.fragmentShader="uniform sampler2D texture;\nuniform float opacity;\nvarying vec2 vUV;\nvoid main() {\n   vec4 color = texture2D(texture, vUV);\n   float alpha = color.a * opacity;\n\tgl_FragColor = vec4(color.rgb, alpha);\n}";a=new THREE.ShaderMaterial(k);a.transparent=p;a.depthWrite=p;a.side=THREE.DoubleSide;a.depthTest=p;a.needsUpdate=
p;return a}}});define("dF",["require"],function(){var a={},b=r;a.Dta=function(){if(!b){var a=document.createElement("canvas");a.width=128;a.height=128;a.getContext("2d").clearRect(0,0,a.width,a.height);b=a}return b};return a});
define("Q","require,kV,fp,eQ,s,ic,dF,eE,ej,jf,hI,kD".split(","),function(a){function b(a){this.xw=a;a=a.dc(n.Np);this.RG=a.jaa;this.U=a.qp;this.z$=a.Cda;this.Pd=l.Lg(this.z$);this.ob=this.xw.Ep.ob;this.dia();this.GP();this.hia();this.Oa=this.Oa.bind(this);this.y$=new d(this.C,this.U,this.RG,this.Oa);this.gV=new f(this.lc,this.C,this.U,this.Pd.get("posterURL"),this.Pd.get("url"),this.Oa);this.U.bind(c.G("opacity"),this.US,this,p);this.y8(this.rb=this.U.get("opacity",1));this.Vo=z;this.Oa()}var c=a("kV"),
e=a("fp"),d=a("eQ"),f=a("s"),g=a("ic"),k=a("dF"),j=a("eE"),n=a("ej");a("jf");var i=a("hI"),l=a("kD");b.prototype.update=function(){if(this.Vo){this.Vo=z;this.gV.update()}};b.prototype.Oa=function(){if(!this.Vo){this.Vo=p;this.xw.Ep.fv()}};b.prototype.dia=function(){this.lc=new THREE.Texture;this.lc.image=k.Dta();this.lc.generateMipmaps=z;this.lc.minFilter=THREE.LinearFilter;this.lc.magFilter=THREE.LinearFilter;this.lc.format=THREE.RGBFormat};b.prototype.tia=function(){this.lc.dispose();this.lc=r};
b.prototype.hia=function(){this.C=new l(this.xw.Ep.ob,this.z$);this.OC=new i(this.U,this.C)};b.prototype.uia=function(){this.C.ec(e.K);this.C.clear();this.C=r;this.OC.clear();this.OC=r};b.prototype.GP=function(){var a=new g.Sea;a.Qr=j.Qr(this.Pd.get("url"));a.width=this.Pd.get("width");a.height=this.Pd.get("height");var b=new g.Oda;b.blending=this.U.get("blending",0);b.Gy=this.U.get("chromaColor");b.rda=this.U.get("chromaThreshold",0);b.fda=this.U.get("chromaSmoothing",0);this.Dt=g.create(a,b,this.lc);
this.xw.Xe(n.Lp).material=this.Dt};b.prototype.sia=function(){this.Dt.dispose();this.Dt=r;this.xw.Tl(n.Lp)};b.prototype.dispose=function(){this.y$.dispose();this.y$=r;this.gV.dispose();this.gV=r;this.sia();this.tia();this.uia();this.ob=r;this.U.unbind(c.G("opacity"),this.US,this,p);this.U.set("state",e.K);this.xw=this.RG=this.U=r};b.prototype.US=function(){var a=this.U.get("opacity");if(this.rb!=a){this.y8(this.rb=a);this.Oa()}};b.prototype.y8=function(a){this.Dt.opacity=a;if(this.Dt.isShaderMaterial&&
this.Dt.uniforms.opacity)this.Dt.uniforms.opacity.value=a};b.Yy=function(a){a.Xe(n.Op).QL=new b(a)};b.as=function(a){var b=a.dc(n.Op);b.QL.dispose();b.QL=r;a.Tl(n.Op)};b.update=function(a){a.dc(n.Op).QL.update()};return b});
define("dx",["require","fb","iF","ej","Q"],function(a){var b=a("fb"),c=a("iF"),e=a("ej"),d=a("Q"),a=b.extend(c,function(){c.apply(this,arguments)});a.prototype.execute=function(){this.kva.entities.forEach(function(a){d.Yy(a)});this.lva.entities.forEach(function(a){d.as(a)});this.materials.entities.forEach(function(a){d.update(a)})};a.Fb={};a.Fb.kva=[e.Np,e.Op.not];a.Fb.materials=[e.Np,e.Op];a.Fb.lva=[e.Np.not,e.Op];return a});
define("in",["require","fb","iF","ej"],function(a){var b=a("fb"),c=a("iF"),e=a("ej"),a=b.extend(c,function(){c.apply(this,arguments)});a.prototype.execute=function(){for(var a=0,b=this.cZ.Er.length;a<b;a++)this.Lpa(this.cZ.Er[a]);a=0;for(b=this.ev.ii.length;a<b;a++)this.o$(this.ev.ii[a]);a=0;for(b=this.ev.Er.length;a<b;a++)this.o$(this.ev.Er[a])};a.prototype.Lpa=function(a){var b=a.dc(e.Wg),c=b.dv.dc(e.zf),k=c&&c.height||100;if(b.width!=(c&&c.width||100)||b.height!=k)b=a.Pl(e.Wg),b.width=c&&c.width||
100,b.height=c&&c.height||100};a.prototype.o$=function(a){var b=a.dc(e.zf);this.cZ.entities.forEach(function(c){if(c.dc(e.Wg).dv==a){var k=c.dc(e.Wg);if(k.width!=b.width||k.height!=b.height)k=c.Pl(e.Wg),k.width=b.width,k.height=b.height}})};a.Fb={};a.Fb.cZ=[e.Wg];a.Fb.ev=[e.zf];return a});
define("df",["require"],function(){return{create:function(){var a=new THREE.BufferGeometry;a.setAttribute("position",new THREE.BufferAttribute(new Float32Array(18),3));a.setAttribute("normal",new THREE.BufferAttribute(new Float32Array(18),3));a.setAttribute("uv",new THREE.BufferAttribute(new Float32Array(12),2));a.setIndex(new THREE.BufferAttribute(new Uint32Array(6),1));return a},set:function(a,b,c,e,d,f,g,k,j,n,i,l,q,o,t){var s=a.getAttribute("position").array,u=a.getAttribute("normal").array,v=
a.getAttribute("uv").array,w=a.getIndex().array;s[9]=s[0]=b;s[10]=s[1]=c;s[11]=s[2]=e;v[6]=v[0]=d;v[7]=v[1]=f;s[3]=s[0]+i;s[4]=s[1]+l;s[5]=s[2]+q;v[2]=v[0];v[3]=v[1]+o;s[12]=s[6]=s[3]+g;s[13]=s[7]=s[4]+k;s[14]=s[8]=s[5]+j;v[8]=v[4]=v[2]+n;v[9]=v[5]=v[3];s[15]=s[12]-i;s[16]=s[13]-l;s[17]=s[14]-q;v[10]=v[8];v[11]=v[9]-o;b=k*q-j*l;j=j*i-g*q;g=g*l-k*i;k=1/Math.sqrt(b*b+j*j+g*g);u[0]=u[3]=u[6]=u[9]=u[12]=u[15]=b*k;u[1]=u[4]=u[7]=u[10]=u[13]=u[16]=j*k;u[2]=u[5]=u[8]=u[11]=u[14]=u[17]=g*k;w[0]=0;w[1]=1;
w[2]=2;w[3]=3;w[4]=4;w[5]=5;a.getAttribute("position").needsUpdate=p;a.getAttribute("normal").needsUpdate=p;a.getAttribute("uv").needsUpdate=p;a.clearGroups();a.addGroup(0,6,t);a.computeBoundingBox();a.computeBoundingSphere();return a}}});
define("kI",["require","kV","iz"],function(a){function b(a,b,e){this.Mi=a;this.U=b;this.pR=e;this.yJ=this.yJ.bind(this);this.Wv=m;this.U.forEach(function(a){this.Mi.bind(c.G(a),this.Kt,this,p)}.bind(this));this.yJ()}var c=a("kV"),e=a("iz");b.prototype.stop=function(){this.U.forEach(function(a){this.Mi.unbind(c.G(a),this.Kt,this,p)}.bind(this));this.Wv&&(e.cancel(this.Wv),this.Wv=m)};b.prototype.Kt=function(){this.Wv||(this.Wv=e.gv(this.yJ))};b.prototype.yJ=function(){this.Wv=m;var a=this.Mi;this.pR.apply(window,
this.U.map(function(b){return a.get(b)}))};return b});
define("ef","require,fb,iF,ej,df,kI,jJ,iZ".split(","),function(a){var b=a("fb"),c=a("iF"),e=a("ej"),d=a("df"),f=a("kI"),g=a("jJ"),k=a("iZ"),j=b.extend(c,function(){c.apply(this,arguments)});j.prototype.execute=function(){for(var a=0,b=this.cca.entities.length;a<b;a++)this.Kpa(this.cca.entities[a]);a=0;for(b=this.bca.ii.length;a<b;a++)this.Fra(this.bca.ii[a]);a=0;for(b=this.dca.entities.length;a<b;a++)this.Bqa(this.dca.entities[a])};j.prototype.Kpa=function(a){var b=a.dc(e.Pp),c=a.Xe(e.Wg);c.dv=b.dv;
var g=b.dv.dc(e.zf);if(g){c.width=g.width;c.height=g.height}c=a.Xe(e.Cn);c.geometry=d.create();c.hca=new f(b.qp,["width","height","horizontalAlign","verticalAlign","scaleMode","zIndex"],function(b,c,d,f,g,i){var j=a.Pl(e.Cn);j.ida=b;j.hda=c;j.oba=d;j.verticalAlign=f;j.zca=g;j.zIndex=i});a.Xe(e.Geometry).geometry=c.geometry};j.prototype.Bqa=function(a){var b=a.dc(e.Cn);b.geometry.dispose();b.geometry=r;b.hca.stop();b.hca=r;a.Tl(e.Geometry);a.Tl(e.Wg);a.Tl(e.Cn)};j.prototype.Fra=function(a){var b=a.dc(e.Cn),
c=a.dc(e.Wg),f=c.width,o=c.height,t=b.ida,s=b.hda,u;switch(b.zca){case k.NONE:c=t;u=s;break;case k.Kk:c=f;u=s*f/t;break;case k.Vg:u=o;c=t*o/s;break;case k.am:if(t*o>s*f){u=o;c=t*o/s}else{c=f;u=s*f/t}break;default:if(t*o>s*f){c=f;u=s*f/t}else{u=o;c=t*o/s}}switch(b.oba){case g.na:f=-f*0.5;break;case g.Ja:f=f*0.5-c;break;default:f=-c*0.5}switch(b.verticalAlign){case g.hb:o=o*0.5-u;break;case g.gb:o=-o*0.5;break;default:o=-u*0.5}t=b.zIndex-j.lea;d.set(b.geometry,f,o,0,0,0,c,0,0,1,0,u,0,1,0);(a.Pl(e.Mv)||
a.Xe(e.Mv)).cY=t;a.Ep.fv()};j.lea=100;j.Fb={};j.Fb.cca=[e.Pp,e.Cn.not];j.Fb.bca=[e.Pp,e.Cn,e.Wg];j.Fb.dca=[e.Pp.not,e.Cn];return j});define("gy","require,ec,jz,iB,dx,in,ef".split(","),function(a){var b=a("ec"),c=a("jz"),e=a("iB"),d=a("dx"),f=a("in"),a=a("ef"),g={};g.Mesh=b;g.yi=c;g.zf=e;g.Np=d;g.Wg=f;g.Pp=a;return g});
define("eK","require,fb,d,ip,ej,gy".split(","),function(a){var b=a("fb"),c=a("d"),e=a("ip"),d=a("ej"),f=a("gy"),a=b.extend(c,function(a){c.call(this);this.AD=(new e(a)).Ie(d.Geometry).Ie(d.Lp).Ie(d.Mesh).Ie(d.bm).Ie(d.OrthographicCamera).Ie(d.Jv).Ie(d.yi).Ie(d.Mk).Ie(d.Mv).Ie(d.zf).Ie(d.Mp).Ie(d.Scene).Ie(d.Lv).Ie(d.Texture).Ie(d.Np).Ie(d.Op).Ie(d.Wg).Ie(d.Pp).Ie(d.Cn).Py(f.Wg,"Viewport").Py(f.yi,"Parent").Py(f.Np,"VideoMaterial").Py(f.Pp,"ViewportPlaneGeometry").Py(f.Mesh,"Mesh").Py(f.zf,"Renderer");
this.gk=this.AD.ky("Scene");this.gk.Xe(d.Scene);this.pb=this.AD.ky("Camera");this.pb.Xe(d.OrthographicCamera);this.pb.Xe(d.yi).$K=this.gk;this.g=this.AD.ky("Renderer");this.bind(EventName.vb,this.lb,this,p);this.bind(EventName.ld,this.bh,this,p);this.bind(EventName.wd,this.ah,this,p)});a.prototype.ky=function(a){return this.AD.ky(a)};a.prototype.QW=function(a){this.AD.QW(a)};a.prototype.Mr=R("pb");a.prototype.Ur=function(a){if(this.pb!=a){this.pb=a;if(a=this.g.Pl(d.zf))a.QK=this.pb}};a.prototype.lb=
function(){var a=this.g.Pl(d.zf);if(a){a.width=this.Dd();a.height=this.Cd()}};a.prototype.bh=function(){this.Qpa()};a.prototype.ah=function(){this.Cqa()};a.prototype.Qpa=function(){var a=this.g.dc(d.zf);if(!a){a=this.g.Xe(d.zf);a.canvas=document.createElement("canvas");this.Pa().DW(a.canvas);a.QK=this.pb;a.oY=this.gk;a.antialias=p;a.width=this.Dd();a.height=this.Cd()}};a.prototype.Cqa=function(){var a=this.g.dc(d.zf);if(a){this.Pa().$va(a.canvas);this.g.Tl(d.zf)}};return a});
define("ba",["require","fb","cP"],function(a){var b=a("fb"),c=a("cP"),a=b.extend(c,function(a,b){c.call(this,a);this.C=b;this.C.bind(EventName.G("video"),this.aT,this);this.aT()});a.prototype.clear=function(){this.C&&(this.C.unbind(EventName.G("video"),this.aT,this),this.C=r);c.prototype.clear.call(this)};a.prototype.aT=function(){this.MY(this.C.get("video"))};return a});
define("dU","require,fb,kV,R,d,da,ba".split(","),function(a){var b=a("fb"),c=a("kV"),e=a("R"),d=a("d"),f=a("da"),g=a("ba"),a=b.extend(d,function(a,b,n){d.call(this);this.ob=a;this.D=b;this.C=n;this.set("toolTipDisabled",p);this.set("cursor",e.Dv);this.bind(c.vb,this.lb,this,p);this.Ox=new g(b,n);this.ox=new f.r_;this.ox.AY(f.r_.zN);this.ox.Ze(this.YI=z);[this.Ox.Kb(),this.ox.Kb()].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))});a.prototype.GY=function(a,b){if(this.YI!=a){this.YI=a;this.ox.Ica(b);this.ox.Ze(a)}};a.prototype.lb=function(){this.PJ=p;this.ox.setSize(this.Ba(),this.eb())};return a});
define("jd","require,fb,R,c,kC,ej,eK,dU".split(","),function(a){var b=a("fb"),c=a("R"),e=a("c"),d=a("kC"),f=a("ej"),g=a("eK"),k=a("dU"),a=b.extend(d,function(a,b,f){d.call(this);this.ob=a;this.D=b;this.C=f;this.Tc("Renderer");this.set("toolTipDisabled",p);this.set("cursor",c.Dv);this.set("layout",e.AM);this.Ya=this.Pm=r;this.EK=[];this.xD=[];this.iD()});a.prototype.Ha=function(){d.prototype.Ha.call(this);if(this.Pm==r){this.Pm=new g(this.ob);this.Pm.N({left:0,top:0,right:0,bottom:0});this.la(this.Pm);
this.EK.forEach(function(a){this.p2(a)}.bind(this))}if(this.Ya==r){this.Ya=new k(this.ob,this.D,this.C);this.Ya.N({left:0,top:0,right:0,bottom:0});this.la(this.Ya);this.iD()}};a.prototype.wsa=function(a){this.EK.push(a);this.Pm&&this.p2(a)};a.prototype.p2=function(a){var b=this.Pm.ky("Video");b.Xe(f.yi).$K=this.Pm.gk;b.Xe(f.Mesh).qp=a;var c=b.Xe(f.Pp);c.qp=a;c.dv=this.Pm.g;c=b.Xe(f.Np);c.qp=a;c.Cda=a.get("video");c.jaa=a;this.xD.push(b);this.iD()};a.prototype.pca=function(a){a=this.EK.indexOf(a);
if(!(a<0)){this.EK.splice(a,1);this.Pm&&this.ria(this.xD[a])}};a.prototype.ria=function(a){var b=this.xD.indexOf(a);if(!(b<0)){this.xD.splice(b,1);this.Pm.QW(a);this.iD()}};a.prototype.GY=function(a){this.YI=a;this.iD()};a.prototype.iD=function(){this.Ya&&this.Ya.GY(this.YI&&this.xD.length>0)};return a});
define("bl","require,dl,fb,kV,fp,bY,dR,jE,eO,cq,dM,jd,dj,cj,fh,kC".split(","),function(a){var b=a("dl"),c=a("fb"),e=a("kV"),d=a("fp"),f=a("bY"),g=a("dR"),k=a("jE"),j=a("eO"),n=a("cq"),i=a("dM"),l=a("jd"),q=a("dj"),o=a("cj"),t=a("fh"),s=a("kC"),u=c.extend(s,function(){s.call(this);this.set("childrenInteractionEnabled",p);this.set("contentOpaque",p);this.set("creationPolicy",o.ys);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.set("checkToolTipOcclusion",p);this.nm=this.wc=this.SG=this.Se=r;this.vT=this.ym=z;this.Pf=d.K;this.Bi=this.Xg=r;this.Qj=
z;this.bind(u.w_,this.Hma,this,p);this.bind(u.v_,this.Gma,this,p);this.bind(e.ub,this.r6,this);this.bind(e.ub,this.r6,this);this.bind(e.pc,this.bna,this);this.bind(e.Mb,this.ana,this);this.bind(e.ld,this.BI,this,p);this.bind(e.wd,this.$ma,this,p);this.IW=new k(this,"buttonPause",q.Ah);this.IW.bind(e.T,this.dx,this);this.IW.set("state",t.$c);this.KW=new k(this,"buttonPlay",q.Ah);this.KW.bind(e.T,this.ex,this);this.KW.set("state",t.$c);this.JW=new k(this,"buttonPlayPause",q.Ah);this.JW.bind(e.T,this.Dma,
this);this.JW.set("state",t.$c);this.LW=new k(this,"buttonStop",q.Ah);this.LW.bind(e.T,this.Qt,this);this.LW.set("state",t.ya);this.zsa=new k(this,"buttonRestart",q.ad);this.zsa.bind(e.T,this.Pt,this);this.PK=new k(this,"buttonToggleSubtitles",q.Ah);this.PK.bind(e.rg,function(){this.set("subtitlesEnabled",p)},this,p);this.PK.bind(e.zh,function(){this.set("subtitlesEnabled",z)},this,p);this.bind(e.G("subtitlesEnabled"),function(){this.PK.set("pressed",this.get("subtitlesEnabled"))},this);this.PK.set("pressed",
this.get("subtitlesEnabled"));this.jla=c.op(this.Xra,this);this.bind(e.tF,this.Zma,this,p)});g.A("ViewerArea",u).B("UIComponent").M({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"}).Qg({play:function(){this.ex()},pause:function(){this.dx()},stop:function(){this.Qt()},restart:function(){this.Pt()}});u.ib=
{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:z,
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:z,plabackBarSteps:m,plabackBarSelectedStep:m,playbackBarVisible:z,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:z,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.ib,s.ib);u.prototype.set=function(a,b){if(a=="playbackState"){b=this.Pf;if(this.get(a)!=b){this.vT=p;this.jla()}}switch(a){case "toolTipEnabled":this.set("toolTipDisabled",b===z);break;case "cardboardPointerDistance":this.set("vrPointerDistance",
b);break;case "cardboardPointerColor":this.set("vrPointerColor",b);break;case "cardboardPointerSelectionColor":this.set("vrPointerSelectionColor",b);break;case "cardboardPointerSelectionTime":this.set("vrPointerSelectionTime",b);break;case "playbackBarVisible":case "playbackBarRollOverDisplay":this.jD()}s.prototype.set.call(this,a,b)};u.prototype.xa=function(){this.Lj(u.ib)};u.prototype.Ha=function(){s.prototype.Ha.call(this);if(this.Se==r){this.Se=new n;this.la(this.Se)}if(this.wc==r){this.wc=new j;
this.wc.bind(e.aa,this.sT,this,p);this.la(this.wc);this.jD()}};u.prototype.Qta=R("wc");u.prototype.ti=function(){s.prototype.ti.call(this);var a=this.Na(),c=b(a).find(function(a){return a instanceof i}),d=b(a).find(function(a){return a instanceof l}),e=this.Se&&this.WD(this.Se)>=0?this.Se:r,f=this.wc&&this.WD(this.wc)>=0?this.wc:r;b([{child:c,index:0},{child:d,index:c?1:0},{child:f,index:a.length-(e?2:1)},{child:e,index:a.length-1}]).each(function(a){var b=a.child,a=a.index;b&&this.WD(b)!=a&&this.oj(b,
a)},this)};u.prototype.ga=function(){if(this.n("externalProgressBar")){(this.SG=this.j("externalProgressBar"))?this.removeChild(this.Se):this.la(this.Se);this.p("externalProgressBar");b(u.y0).each(function(a){this.hu(a)},this)}this.cb(u.$ea,u.n0,[this.Se],p,p);var a=[this.Se];this.SG&&a.push(this.SG);this.cb(u.y0,u.z0,a,p,p);if(this.n("externalPlaybackBar")){this.nm&&this.nm.unbind(e.aa,this.sT,this,p);(this.nm=this.j("externalPlaybackBar"))?this.removeChild(this.wc):this.la(this.wc);this.jD();this.nm&&
this.nm.bind(e.aa,this.sT,this,p);this.p("externalPlaybackBar");b(u.u0).each(function(a){this.hu(a)},this)}this.cb(u.Zea,u.m0,[this.wc],p,p);a=[this.wc];this.nm&&a.push(this.nm);this.cb(u.u0,u.v0,a,p,p);s.prototype.ga.call(this)};u.prototype.Xra=function(){if(this.vT){this.vT=z;this.IW.set("state",this.Pf==d.uc?t.ya:t.$c);this.KW.set("state",this.Pf==d.S||this.Pf==d.uc?t.ya:t.$c);this.JW.set("state",this.Pf==d.S?t.ya:t.$c);this.LW.set("state",this.Pf==d.K?t.ya:t.$c)}};u.prototype.$b=function(a){this.Pf=
a;this.set("playbackState",a)};u.prototype.BI=function(){u.bh(this)};u.prototype.$ma=function(){u.ah(this)};u.prototype.dx=function(){this.Pf==d.uc?this.fh():this.pl()};u.prototype.ex=function(){this.fh()};u.prototype.Dma=function(){this.Pf==d.S?this.pl():this.fh()};u.prototype.Qt=function(){this.jk()};u.prototype.Pt=function(){this.jk();this.fh()};u.prototype.Zma=function(){if(!this.Xg||!this.Xg.V$())switch(this.get("doubleClickAction")){case "toggle_fullscreen":var a=this.Sa().eg;a&&a.available()&&
a.toggle()}};u.prototype.fh=function(){this.Bi&&this.Bi.play()};u.prototype.pl=function(){this.Bi&&this.Bi.pause()};u.prototype.jk=function(){this.Bi&&this.Bi.stop()};u.prototype.Hma=function(a){this.k8(a.data.player)};u.prototype.Gma=function(a){this.Xg==a.data.player&&this.k8(r)};u.prototype.r6=function(){u.Wl(this)};u.prototype.bna=function(){this.Qj=p;this.jD()};u.prototype.ana=function(){this.Qj=z;this.jD()};u.prototype.jD=function(){this.wc&&this.wc.set("visible",this.get("playbackBarVisible")&&
(this.Qj||!this.get("playbackBarRollOverDisplay")||Device.rM()))};u.prototype.k8=function(a){if(this.Xg!=a){this.set("playbackBarVisible",z);this.Xg&&this.Xg.Wl(z);this.Bi&&this.Bi.unbind(e.G("state"),this.sO,this);this.Ina=this.Xg;(this.Xg=a)&&this.Xg.Wl(!!this.Pw);(this.Bi=this.Xg&&this.Xg.Mga?this.Xg:r)&&this.Bi.bind(e.G("state"),this.sO,this,p);this.sO()}};u.prototype.Wl=function(a){this.Pw=a;this.Xg&&this.Xg.Wl(!!this.Pw)};u.prototype.mya=function(){return!this.Ina};u.prototype.sO=function(){this.Bi?
this.$b(this.Bi.get("state")):this.$b(d.K)};u.prototype.sT=function(){var a=(this.nm?this.nm:this.wc).get("position");this.trigger(new f(u.qN,{position:a}))};u.n0={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.$ea=b(u.n0).keys();u.z0={progressPercent:"percent",progressVisible:"visible"};u.y0=b(u.z0).keys();u.m0={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.Zea=b(u.m0).keys();u.v0={playbackBarDuration:"duration",playbackBarPosition:"position",playbackBarSteps:"steps",playbackBarSelectedStep:"selectedStep",playbackBarVisible:"visible"};u.u0=b(u.v0).keys();u.NN="requestByPlayer";
u.w_="playerShow";u.v_="playerHide";u.qN="playbackBarPositionChange";u.zt=r;u.Wl=function(a){if(u.zt!=a){u.zt&&u.zt.Wl(z);u.zt=a;u.zt&&u.zt.Wl(p)}};u.Br=[];u.bh=function(a){var b=u.Br.indexOf(a);b<0&&u.Br.splice(b,1);u.Br.push(a);this.Wl(a)};u.ah=function(a){var b=u.Br.indexOf(a);b<0&&u.Br.splice(b,1);u.zt==a&&u.Wl(u.Br.length?u.Br[u.Br.length-1]:r)};return u});
define("ct","fb,iP,kV,bY,dR,bl".split(","),function(a,b,c,e,d,f){var g=a.extend(b,function(a){b.call(this);this.Mga=a;this.CC=this.Rq=r});g.yf="mediaShow";g.xh="mediaHide";g.prototype.Wl=D();g.prototype.V$=S(z);g.prototype.MJ=function(a){if(this.Rq!=a){this.Rq&&this.yV(this.Rq);(this.Rq=a)&&this.TO(this.Rq)}};g.prototype.TO=function(a){a.bind(f.NN,this.B$,this);a.bind(f.qN,this.ZI,this)};g.prototype.yV=function(a){a.unbind(f.NN,this.B$,this);a.unbind(f.qN,this.ZI,this)};g.prototype.nJ=function(){this.Rq.trigger(new e(f.NN,
{player:this}))};g.prototype.B$=function(a){a.data.player!=this&&this.MC()};g.prototype.ZI=D();g.prototype.MC=D();g.prototype.XH=function(a){this.trigger(new e(g.yf,{media:a}));this.CC=this.Rq;this.CC.trigger(new e(f.w_,{player:this}))};g.prototype.WH=function(a){this.trigger(new e(g.xh,{media:a}));if(this.CC){this.CC.trigger(new e(f.v_,{player:this}));this.CC=r}};return g});
define("dh","fb,iP,kV,bY,dR,jE,ct,bl,fp,dj,fh".split(","),function(a,b,c,e,d,f,g,k,j,n,i){b=a.extend(g,function(){g.call(this,p);this.ym=z;this.Mx=p;this.m=j.K;this.WO=new f(this,"buttonPlayPause",n.Ah);this.WO.bind(c.rg,this.Ema,this,p);this.WO.bind(c.zh,this.Fma,this,p);this.r1=new f(this,"buttonPause",n.ad);this.r1.bind(c.T,this.dx,this,p);this.s1=new f(this,"buttonPlay",n.ad);this.s1.bind(c.T,this.ex,this,p);this.x1=new f(this,"buttonStop",n.ad);this.x1.bind(c.T,this.Qt,this,p);this.Fga=new f(this,
"buttonRestart",n.ad);this.Fga.bind(c.T,this.Pt,this,p);this.w4=a.op(this.Hra,this);this.w4()});b.prototype.set=function(a,b){a!="state"&&g.prototype.set.call(this,a,b)};b.prototype.get=function(a,b){switch(a){case "state":return this.m}return g.prototype.get.call(this,a,b)};b.prototype.Hra=function(){if(this.Mx){this.Mx=z;this.r1.set("state",this.m==j.uc?i.ya:i.$c);this.s1.set("state",this.m==j.S||this.m==j.uc?i.ya:i.$c);this.WO.set("pressed",this.m==j.S);this.x1.set("state",this.m==j.K?i.ya:i.$c)}};
b.prototype.Fx=function(a){if(this.ym!=a)(this.ym=a)||this.$b(j.K)};b.prototype.$b=function(a){var b=this.m;this.m=a;g.prototype.set.call(this,"state",a);if(b!=this.m){this.Mx=p;this.w4();this.trigger(new e(c.vc,{oldState:b,state:this.m}))}};b.prototype.dx=function(){this.ym&&(this.m==j.uc?this.fh():this.pl())};b.prototype.ex=function(){this.ym&&this.fh()};b.prototype.Ema=function(){this.ym&&this.fh()};b.prototype.Fma=function(){this.ym&&this.pl()};b.prototype.Qt=function(){this.ym&&this.jk()};b.prototype.Pt=
function(){if(this.ym){this.jk();this.fh()}};b.prototype.fh=D();b.prototype.pl=D();b.prototype.jk=D();return b});define("hw",[],function(){return{hs:"constrained",Xda:"free_drag",yya:"free_drag_and_rotation",UN:"sync_with_field_of_view"}});
define("hX",["fb","hw","iZ"],function(a,b,c){function e(){this.Z=p;this.da=this.ca=0.5;this.Bb=0;this.pa=1;this.Ad=c.Ke;this.Si=b.hs;this.zS=this.CS=1;this.Mc=this.Nc=this.Ci=this.Di=100;this.bj=e.Es}e.prototype.fba=function(){return this.bj!==e.Es};e.prototype.eba=function(){return this.bj&e.Nv?p:z};e.prototype.gba=function(){return this.bj&e.Ov?p:z};e.prototype.hba=function(){return this.bj&e.Hs?p:z};e.prototype.dba=function(){return this.bj&e.Ds?p:z};e.prototype.getX=function(){this.gj();return this.ca};
e.prototype.getY=function(){this.gj();return this.da};e.prototype.Ql=function(){this.gj();return this.pa};e.prototype.py=function(){this.gj();return this.Bb};e.prototype.AE=function(a,b,c,e,j){this.Nc=a;this.Mc=b;this.Ad=c;this.CS=e;this.zS=j;this.da=this.ca=0.5;this.Bb=0;this.pa=e;this.Z=p};e.prototype.Fa=function(a,b,c,e){this.ca=a;this.da=b;this.Bb=c;this.pa=e;this.Z=p};e.prototype.Xl=function(a){this.Si=a;this.Z=p};e.prototype.setSize=function(a,b){this.Di=a;this.Ci=b;this.Z=p};e.prototype.gj=
function(){if(this.Z){this.Z=z;var a=e.Es;this.pa>this.zS?(this.pa=this.zS,a|=e.afa):this.pa<this.CS&&(this.pa=this.CS,a|=e.bfa);var f,g,k,j;if(this.Si==b.hs){switch(this.Ad){case c.NONE:g=this.Nc;j=this.Mc;break;case c.Kk:g=this.Di;j=this.Mc*this.Di/this.Nc;break;case c.Vg:g=this.Nc*this.Ci/this.Mc;j=this.Ci;break;case c.am:this.Nc*this.Ci>this.Mc*this.Di?(g=this.Nc*this.Ci/this.Mc,j=this.Ci):(g=this.Di,j=this.Mc*this.Di/this.Nc);break;default:case c.Ke:this.Nc*this.Ci>this.Mc*this.Di?(g=this.Di,
j=this.Mc*this.Di/this.Nc):(g=this.Nc*this.Ci/this.Mc,j=this.Ci)}g*=this.pa;j*=this.pa;f=Math.min(0.5*this.Di/g,0.5);g=Math.max(1-0.5*this.Di/g,0.5);k=Math.min(0.5*this.Ci/j,0.5);j=Math.max(1-0.5*this.Ci/j,0.5)}else f=0,g=1,k=0,j=1;this.ca<f?(this.ca=f,a|=e.Nv):this.ca>g&&(this.ca=g,a|=e.Ov);this.da<k?(this.da=k,a|=e.Hs):this.da>j&&(this.da=j,a|=e.Ds);if((this.Si==b.hs||this.Si==b.Xda)&&0!=this.Bb)this.Bb=0,a|=e.ffa;this.bj=a}};e.Es=0;e.Nv=1;e.Ov=2;e.Hs=4;e.Ds=8;e.bfa=16;e.afa=32;e.ffa=64;return e});
define("eN",[],function(){function a(){this.nA=0.1;this.DG=this.MP=this.PP=this.OP=this.WP=this.LP=this.UP=this.TP=this.GD=this.yW=this.Js=this.xO=this.ED=this.vW=this.CD=this.tW=0}a.prototype.fM=P("nA");a.prototype.Yca=function(a,c,e,d,f,g,k,j){this.tW=a;this.vW=c;this.xO=e;this.yW=d;this.CD+=f;this.ED+=g;this.Js+=k;this.GD+=j};a.prototype.hd=function(){return 0!=this.TP||0!=this.UP||0!=this.LP||0!=this.WP||0!=this.tW||0!=this.vW||0!=this.xO||0!=this.yW||0!=this.CD||0!=this.ED||0!=this.Js||0!=this.GD};
a.prototype.$a=function(a){a=1E3/a;this.OP=this.MG(this.TP/a,this.tW/a+this.CD,this.nA);this.PP=this.MG(this.UP/a,this.vW/a+this.ED,this.nA);this.MP=this.MG(this.LP/a,this.xO/a+this.Js,this.nA);this.DG=this.MG(this.WP/a,this.yW/a+this.GD,this.nA);this.TP=this.OP*a;this.UP=this.PP*a;this.LP=this.MP*a;this.WP=this.DG*a;this.GD=this.Js=this.ED=this.CD=0};a.prototype.MG=function(a,c,e){return 0==c?this.xe(a,c,e):c};a.prototype.xe=function(a,c,e){a=(c-a)*(1-e);0.01>Math.abs(a)&&(a=0);return c-a};return a});
define("eS",["fb","kV","bY","eJ","iZ"],function(a,b,c,e){var d=a.extend(e,function(){e.call(this);this.uw=7;this.dI=this.ZR=z;this.fI=m;this.Bb=0;this.pa=1;this.Mc=this.Nc=100;this.HH=1;this.AT=p;this.BT=z;this.msa=p;this.xW=z;this.qa=r});d.prototype.BE=P("uw");d.prototype.ec=function(a,b,c,d){this.Bb=a;this.pa=b;this.Nc=c;this.Mc=d};d.prototype.sxa=function(a){this.AT=a;this.IJ(this.AT&&!!this.qa)};d.prototype.hv=function(a){this.qa!=a&&(this.IJ(z),this.GU(z),this.ji(),this.qa=a,this.IJ(this.AT&&
!!this.qa),this.GU(this.msa&&!!this.qa))};d.prototype.ji=function(){this.IJ(z);this.GU(z);this.qa=r};d.prototype.IJ=function(a){this.BT!=a&&((this.BT=a)?this.oga():this.era())};d.prototype.GU=function(a){this.xW!=a&&((this.xW=a)?this.pga():this.fra())};d.prototype.oga=function(){this.qa.bind(b.ub,this.hc,this,p);this.qa.bind(b.Hc,this.Bg,this,p);this.qa.bind(b.Xb,this.Cg,this,p)};d.prototype.era=function(){this.qa.unbind(b.ub,this.hc,this);this.qa.unbind(b.Hc,this.Bg,this);this.qa.unbind(b.Xb,this.Cg,
this)};d.prototype.pga=function(){this.qa.bind(b.Kp,this.Ft,this,p);this.qa.bind(b.Cv,this.ot,this,p)};d.prototype.fra=function(){this.qa.unbind(b.Kp,this.Ft,this);this.qa.unbind(b.Cv,this.ot,this)};d.prototype.hc=function(a){this.eqa(a)};d.prototype.Bg=function(a){this.d$(a)};d.prototype.Cg=function(){this.xQ()};d.prototype.Ft=function(a){this.$V(a)};d.prototype.ot=function(a){this.aW(a)};d.prototype.eqa=function(a){this.ZR=p;this.dI=z;this.fI=a;this.d$(a)};d.prototype.d$=function(a){if(this.ZR){var b=
a.pageX-this.fI.pageX,e=a.pageY-this.fI.pageY;this.dI||(Math.sqrt(b*b+e*e)>this.uw?this.dI=p:b=e=0);this.dI&&(this.fI=a);a=this.Bb*Math.PI/180;this.trigger(new c(d.Gk,{xDelta:-((b*Math.cos(a)+e*Math.sin(a))/this.Nc),yDelta:-((e*Math.cos(a)-b*Math.sin(a))/this.Mc)}))}};d.prototype.xQ=function(){this.ZR=z};d.prototype.aW=function(a){if(this.HH!=a.scale){this.xQ();var b=this.HH;this.HH=a.scale;this.trigger(new c(d.Jk,{zoomDelta:this.pa*this.HH/b-this.pa}))}};d.prototype.$V=function(a){0!=a.ap&&(this.xQ(),
this.trigger(new c(d.Jk,{zoomDelta:0.1*this.pa*a.SW})))};d.Gk="position change";d.Jk="zoom change";d.Lya="vieport navigation";d.Kya="relative navigation";d.Jya="relative exponential navigation";d.Iya="dragging";return d});define("hj",[],function(){return{ON:"rotateClockwise",PN:"rotateCounterClockwise",Dn:"zoomIn",En:"zoomOut",je:"stop"}});
define("kg","fb,bY,eJ,iZ,eN,eS,hj,kV".split(","),function(a,b,c,e,d,f,g){var k=a.extend(c,function(a,b){c.call(this);this.g=a;this.H=b;this.qm=this.gJ=this.V=z;this.da=this.ca=0.5;this.Bb=0;this.pa=1;this.Mc=this.Nc=100;this.Ad=e.hs;this.Xa=new d;this.ua=new f;if(this.g.Rj){this.ua.BE(k.nO);this.Xa.fM(k.oO)}else{this.ua.BE(0);this.Xa.fM(1)}this.ua.bind(f.Gk,this.vma,this,p);this.ua.bind(f.Jk,this.Vq,this,p)});k.prototype.clear=function(){this.ua.unbind(f.Gk,this.Xza,this,p);this.ua.unbind(f.Jk,this.Vq,
this,p);this.ua.ji();this.g=this.H=this.Xa=this.ua=r};k.prototype.Rg=function(a){switch(a){case g.ON:this.sb(0,0,+k.hO,0,0,0,0,0);break;case g.PN:this.sb(0,0,-k.hO,0,0,0,0,0);break;case g.Dn:this.sb(0,0,0,+k.yz,0,0,0,0);break;case g.En:this.sb(0,0,0,-k.yz,0,0,0,0);break;case g.je:this.sb(0,0,0,0,0,0,0,0)}};k.prototype.Fa=function(a,b,c,d,e,f){this.ca=a;this.da=b;this.Bb=c;this.pa=d;this.Nc=e;this.Mc=f;this.ua.ec(this.Bb,this.pa,this.Nc,this.Mc)};k.prototype.hd=function(){return this.V&&this.Xa.hd()};
k.prototype.$a=function(a){this.Xa.$a(a);this.H.Fa(this.ca+this.Xa.OP,this.da+this.Xa.PP,this.Bb+this.Xa.MP,this.pa+this.Xa.DG);this.ca=this.H.getX();this.da=this.H.getY();this.Bb=this.H.py();this.pa=this.H.Ql()};k.prototype.FE=function(a){this.qm=a;this.ua.sxa(!this.qm)};k.prototype.kd=function(a){(this.V=a)?this.ua.hv(this.g.getParent()):this.ua.ji()};k.prototype.vma=function(a){this.sb(0,0,0,0,a.data.xDelta,a.data.yDelta,0,0)};k.prototype.Vq=function(a){this.sb(0,0,0,0,0,0,0,a.data.zoomDelta)};
k.prototype.sb=function(a,b,c,d,e,f,g,k){this.Xa.Yca(a,b,c,d,e,f,g,k);this.rf()};k.prototype.rf=function(){this.trigger(new b(k.cf))};k.cf="position change request";k.nO=7;k.oO=0.2;k.yz=0.5;k.hO=30;return k});
define("jC","fb,bY,eJ,kH,bq,eN,eS,hj,kV".split(","),function(a,b,c,e,d,f,g,k){var j=a.extend(c,function(a,b){c.call(this);this.g=a;this.H=b;this.V=z;this.da=this.ca=0.5;this.Bb=0;this.pa=1;this.Mc=this.Nc=100;this.O=r;this.uQ=p;this.yb=r;this.KI=0;this.Hm=this.Ro=this.Qo=m;this.Xa=new f;this.ua=new g;if(this.g.Rj){this.ua.BE(j.nO);this.Xa.fM(j.oO)}else{this.ua.BE(0);this.Xa.fM(1)}this.ua.bind(g.Jk,this.Vq,this,p)});j.prototype.cxa=function(a,b){this.Nc=a;this.Mc=b;this.wK()};j.prototype.yp=function(a){if(this.yb!=
a){this.yb=a;this.KI=m;this.wK()}};j.prototype.rj=function(a,b){if(this.yb==a){this.KI=b;this.wK()}};j.prototype.wK=function(){var a,b,c;if(this.yb&&this.KI!=m){a=this.yb.get("x",0)/this.Nc;b=this.yb.get("y",0)/this.Mc;c=-(this.KI+this.yb.get("angle",0))}else c=b=a=m;if(this.Hm!=c){this.Hm=c;this.rf()}if(this.Qo!=a||this.Ro!=b){this.Qo=a;this.Ro=b;this.ila();this.rf()}};j.prototype.ila=function(){this.uQ=p;this.rf()};j.prototype.fD=function(){if(this.uQ||this.O&&this.O.He()){this.uQ=z;this.O=r;if(this.Qo!=
m&&this.Ro!=m&&this.Hm!=m){for(var a=this.Hm-this.Bb;a>180;)a=a-360;for(;a<-180;)a=a+360;if(this.ca!=this.Qo||this.da!=this.Ro)this.O=new e("quad_in_out",[new d("x",this.ca,this.Qo,1),new d("y",this.da,this.Ro,1),new d("angleDif",a,a,360)],500);else if(this.Hm!=this.Bb)this.O=new e("quad_in_out",[new d("x",this.ca,this.ca,1),new d("y",this.da,this.da,1),new d("angleDif",a,0,360)],500)}}};j.prototype.clear=function(){this.ua.unbind(g.Jk,this.Vq,this,p);this.ua.ji();this.g=this.H=this.O=this.Xa=this.ua=
r};j.prototype.Rg=function(a){switch(a){case k.Dn:this.sb(+j.yz,0);break;case k.En:this.sb(-j.yz,0);break;case k.je:this.sb(0,0)}};j.prototype.Fa=function(a,b,c,d,e,f){this.ca=a;this.da=b;this.Bb=c;this.pa=d;this.ua.ec(this.Bb,this.pa,e,f)};j.prototype.hd=function(){return this.V&&(this.O||this.Xa.hd()||this.Qo!=m&&this.ca!=this.Qo||this.Ro!=m&&this.da!=this.Ro||this.Hm!=m&&this.Bb!=this.Hm)?p:z};j.prototype.$a=function(a){this.fD();if(this.O){this.O.$a(a);this.ca=this.O.tb("x");this.da=this.O.tb("y");
this.Bb=this.Hm-this.O.tb("angleDif")}else{if(this.Qo!=m)this.ca=this.Qo;if(this.Ro!=m)this.da=this.Ro;if(this.Hm!=m)this.Bb=this.Hm}this.Xa.$a(a);this.H.Fa(this.ca,this.da,this.Bb,this.pa+this.Xa.DG);this.ca=this.H.getX();this.da=this.H.getY();this.Bb=this.H.py();this.pa=this.H.Ql()};j.prototype.kd=function(a){if(this.V=a){this.ua.hv(this.g.getParent());this.wK()}else this.ua.ji()};j.prototype.Vq=function(a){this.sb(0,a.data.zoomDelta)};j.prototype.sb=function(a,b){this.Xa.Yca(0,0,0,a,0,0,0,b);this.rf()};
j.prototype.rf=function(){this.trigger(new b(j.cf))};j.cf="position change request";j.nO=7;j.oO=0.2;j.yz=0.5;j.hO=30;return j});
define("ku","fb,bY,eJ,hw,iZ,hX,kg,jC,kV".split(","),function(a,b,c,e,d,f,g,k,j){var n=a.extend(c,function(a){c.call(this);this.g=a;this.g.bind(j.vb,this.lb,this);this.Si=e.hs;this.yb=r;this.da=this.ca=0.5;this.Bb=0;this.pa=1;this.ta=r;this.wJ=this.vJ=this.Tm=this.Sm=z;this.dj=p;this.V=z;this.H=new f;this.H.Xl(this.Si);this.Qa=new g(this.g,this.H);this.Qa.bind(g.cf,this.kl,this,p);this.Sf=new k(this.g,this.H);this.Sf.bind(k.cf,this.kl,this,p);this.iJ()});n.prototype.clear=function(){this.Qa.unbind(g.cf,
this.kl,this);this.Qa.clear();this.Qa=r;this.Sf.unbind(k.cf,this.kl,this);this.Sf.clear();this.ta=this.H=this.Sf=r;this.g.unbind(j.vb,this.lb,this);this.g=r};n.prototype.stop=function(){this.tc=this.ta=r;this.V=z;this.Qa.kd(z);this.Sf.kd(z);this.Jo(0,0,0,0)};n.prototype.start=function(a){var b=a.ta,c=b.get("width",100),e=b.get("height",100),f=b.get("scaleMode",d.Ke),g=b.get("minimumZoomFactor",1),j=b.get("maximumZoomFactor",1),k=b.get("initialZoomFactor",1);this.ta=b;this.V=p;this.tc=a.getItem();
this.Jo(0,0,0,0);this.Sf.cxa(c,e);this.H.AE(c,e,f,g,j);this.H.Fa(0.5,0.5,0,k);this.g.GE(this.tc,this.H.getX(),this.H.getY(),this.H.py(),this.H.Ql());this.iJ()};n.prototype.Rg=function(a){this.Qa.Rg(a);this.Sf.Rg(a)};n.prototype.Xl=function(a){if(this.Si!=a){this.Si=a;this.H.Xl(a);this.iJ()}};n.prototype.yp=function(a){if(this.yb!=a){this.yb=a;this.Sf.yp(a);this.iJ()}};n.prototype.FE=function(a){this.Qa&&this.Qa.FE(a)};n.prototype.rj=function(a,b,c,d){this.Sf.rj(a,b,c,d)};n.prototype.rp=function(a){if(this.V)if(this.Sf.hd()){this.Sf.$a(a);
this.bi(this.Sf.ca,this.Sf.da,this.Sf.Bb,this.Sf.pa);this.fa()}else if(this.Qa.hd()){this.Qa.$a(a);this.bi(this.Qa.ca,this.Qa.da,this.Qa.Bb,this.Qa.pa);this.fa()}else this.Jo(0,0,0,0)};n.prototype.Ub=function(){if(this.tc){var a=this.g.aE(this.tc),b=this.g.bE(this.tc),c=this.g.nL(this.tc),d=this.g.Caa(this.tc),e=this.g.$D(this.tc),f=this.g.ZD(this.tc),g=a-this.ca,j=b-this.da,k=c-this.Bb,n=d-this.pa;this.ca=a;this.da=b;this.Bb=c;this.pa=d;this.Jo(g,j,k,n);this.Sf.Fa(a,b,c,d,e,f);this.Qa.Fa(a,b,c,d,
e,f)}};n.prototype.iJ=function(){if(this.Si==e.UN&&this.yb!=r&&this.yb.get("map")==this.ta){this.Qa.kd(z);this.Sf.kd(p)}else{this.Qa.kd(p);this.Sf.kd(z)}};n.prototype.kl=function(){this.fa()};n.prototype.lb=function(){this.H.setSize(this.g.Ba(),this.g.eb());this.fa()};n.prototype.fa=function(){this.trigger(new b(n.Ia))};n.prototype.bi=function(a,b,c,d){this.g.GE(this.tc,a,b,c,d)};n.prototype.Jo=function(a,c,d,e){a=z;if(this.Tm!=e<0){this.Tm=!this.Tm;a=p}if(this.Sm!=e>0){this.Sm=!this.Sm;a=p}if(this.vJ!=
this.Js>0){this.vJ=!this.vJ;a=p}if(this.wJ!=this.Js<0){this.wJ=!this.wJ;a=p}if(this.dj!=(e==0)){this.dj=!this.dj;a=p}a&&this.trigger(new b(n.Tg,{rotatingClockwise:this.vJ,rotatingCounterClockwise:this.wJ,zoomingIn:this.Sm,zoomingOut:this.Tm,stopped:this.dj}))};n.Ia="request frame";n.Tg="movement change";return n});
define("iM","require,fb,bY,eJ,iZ,hX".split(","),function(a){var b=a("fb"),c=a("bY"),e=a("eJ"),d=a("iZ"),f=a("hX"),g=b.extend(e,function(a,b){e.call(this);this.D=a;this.g=b;this.H=new f;this.Re=[];this.Y=g.Ej;this.Cf=this.jf=r;this.kh=this.D.get("transitionDuration");this.di=m});g.prototype.Xl=function(a){this.H.Xl(a)};g.prototype.RD=function(a){a.iE()&&this.kP();this.Re.push(a);this.rI()};g.prototype.hide=function(){this.kP();this.Re.push(r);this.rI()};g.prototype.clear=function(){this.Y=g.Ej;this.kP();
this.Yna();this.WT();this.g=r};g.prototype.Ub=function(a){if(this.Y!=g.Ej&&(this.Y==g.Qp||this.Y==g.Cz)){this.di=this.di+a;a=Math.min(1,this.di/this.kh);this.Y==g.Qp?this.g.Vl(this.jf.getItem(),a):this.g.Vl(this.Cf.getItem(),1-a);this.di<this.kh?this.fa():this.Y==g.Qp?this.Jia():this.Lia()}};g.prototype.rI=function(){if(this.Y==g.Ej){for(;this.Re.length>0&&this.Lfa(this.Re[0],this.Cf);)this.Re.shift();this.Re.length>0&&this.Vp()}};g.prototype.Lfa=function(a,b){return a==b||!!a&&!!b&&a.isEqual(b)};
g.prototype.Vp=function(){this.Cf&&(!this.Re[0]||this.Re[0].iE())&&this.trigger(new c(g.ls,{map:this.Cf.ta}));if(this.D.get("transitionMode","blending")=="fade_out_fade_in"&&this.Cf&&(!this.Re[0]||this.Re[0].iE()))this.Nz();else(this.jf=this.Re.shift())?this.QO():this.Cf&&this.Nz()};g.prototype.QO=function(){this.qfa();this.jf.iE()&&this.Joa();this.di=0;this.Y=g.Qp;this.fa()};g.prototype.Jia=function(){this.WT();this.Cf=this.jf;this.jf=r;this.ww()};g.prototype.Nz=function(){this.di=0;this.Y=g.Cz;
this.fa()};g.prototype.Lia=function(){this.WT();this.Cf=r;this.ww()};g.prototype.ww=function(){this.Y=g.Ej;this.Cf&&this.Cf.iE()&&this.trigger(new c(g.ms,{map:this.Cf.ta}));this.Re.length==0?this.Cf?this.trigger(new c(g.fN,{level:this.Cf})):this.trigger(new c(g.TM)):this.Vp()};g.prototype.Joa=function(){var a=this.jf.ta;this.jf.Lg();this.H.AE(a.get("width",100),a.get("height",100),a.get("scaleMode",d.Ke),a.get("minimumZoomFactor",1),a.get("maximumZoomFactor",1));this.H.Fa(0.5,0.5,0,a.get("initialZoomFactor",
1));this.g.GE(this.jf.getItem(),this.H.getX(),this.H.getY(),this.H.py(),this.H.Ql())};g.prototype.fa=function(){this.trigger(new c(g.Ia))};g.prototype.kP=function(){for(;this.Re.length>0;){var a=this.Re.shift();a&&this.g.si(a.getItem())}};g.prototype.qfa=function(){if(this.jf){this.g.AW(this.jf.getItem());this.g.HW(this.jf.getItem());this.g.Vl(this.jf.getItem(),0);this.trigger(new c(g.eN,{level:this.jf}))}};g.prototype.WT=function(){if(this.Cf){this.g.removeItem(this.Cf.getItem());this.trigger(new c(g.hF,
{level:this.Cf}));this.g.si(this.Cf.getItem());this.Cf=r}};g.prototype.Yna=function(){if(this.jf){this.g.removeItem(this.jf.getItem());this.trigger(new c(g.hF,{level:this.jf}));this.g.si(this.jf.getItem());this.jf=r}};g.Ej="stopped";g.Qp="blending";g.Cz="disolving";g.Ia="request frame";g.eN="level added";g.hF="level removed";g.fN="level fully displayed";g.TM="all pending maps hidden";g.ms="map show";g.ls="map hide";return g});
define("il",[],function(){function a(a,c){this.ta=a;this.ja=a.get("image");this.Td=c;this.XR=m}a.prototype.getItem=function(){switch(this.Td){case a.yF:return this.ta.Laa();default:return this.ta.Mg()}};a.prototype.Lg=function(){switch(this.Td){case a.yF:return this.ta.Pu();default:return this.ta.Ol()}};a.prototype.iE=function(){return this.XR===m?0==this.getIndex():this.XR};a.prototype.Owa=P("XR");a.prototype.kE=function(){return this.Td==a.OZ};a.prototype.isEqual=function(a){return a&&this.ta==
a.map&&this.Td==a.type};a.prototype.getIndex=function(){return this.Td==a.yF||this.ta.zy()?0:1};a.prototype.taa=function(){return this.ta.zy()?2:1};a.yF="preload";a.OZ="load";return a});
define("hu","require,fb,bY,eJ,kV,il,r".split(","),function(a){var b=a("fb"),c=a("bY"),e=a("eJ"),d=a("kV"),f=a("il"),g=a("r"),k=b.extend(e,function(a){e.call(this);this.g=a;this.Re=[];this.jA=this.Bt=this.we=r;this.vt=z;this.JH=r});k.prototype.clear=function(){this.stop();this.g=r};k.prototype.iva=function(a){if(this.JH!=a){this.stop();a.zy()&&g.Va()&&this.Re.push(new f(a,f.yF));this.Re.push(new f(a,f.OZ));this.rI()}};k.prototype.stop=function(){this.JH=r;this.Re=[];this.e9();if(this.vt){this.vt=z;
this.vV();this.g.si(this.we.getItem());this.we=r;this.trigger(new c(k.iF))}};k.prototype.rI=function(){this.vt||this.sS()};k.prototype.sS=function(){if(this.Re.length>0){this.we=this.Re.shift();if(!this.vt){this.vt=p;this.trigger(new c(k.gF,{level:this.we,percent:0}))}this.jga();this.g.ln(this.we.getItem());this.g.VY(this.we.getItem())&&this.PS()}else if(this.vt){this.vt=z;this.trigger(new c(k.iF))}};k.prototype.PS=function(){this.vV();this.Ypa();this.we=r;this.sS()};k.prototype.Ypa=function(){this.e9();
this.Bt=this.we;var a=this;this.jA=setTimeout(function(){a.jA=r;a.hma()},500)};k.prototype.hma=function(){var a=this.Bt.ta;this.Bt.Owa(a!=this.JH);this.JH=a;this.trigger(new c(k.gN,{level:this.Bt}));this.Bt=r};k.prototype.e9=function(){if(this.jA!=r){clearTimeout(this.jA);this.jA=r;this.g.si(this.Bt.getItem());this.Bt=r}};k.prototype.E5=function(){this.vV();this.we=r;this.sS()};k.prototype.F5=function(a){this.trigger(new c(k.gF,{level:this.we,percent:a.th}))};k.prototype.jga=function(){var a=this.we.getItem();
a.bind(d.R,this.PS,this);a.bind(d.ie,this.E5,this);a.bind(d.oc,this.F5,this)};k.prototype.vV=function(){var a=this.we.getItem();a.unbind(d.R,this.PS,this);a.unbind(d.ie,this.E5,this);a.unbind(d.oc,this.F5,this)};k.gF="level loading progress";k.gN="level loaded";k.iF="load stopped";return k});
define("cg",["require"],function(){function a(a,c){this.x=a;this.y=c}a.prototype.rotate=function(a){var c=Math.cos(a),a=Math.sin(a),e=this.x*a+this.y*c;this.x=this.x*c-this.y*a;this.y=e;return this};a.prototype.translate=function(a,c){this.x+=a;this.y+=c;return this};a.prototype.scale=function(a,c){this.x*=a;this.y*=c;return this};return a});
define("ju",["require","iZ","jJ"],function(a){function b(a,b,g){this.oe=a;this.T8=b;this.S8=g;this.Ad=c.yn;this.Jh=e.Gc;this.fi=e.nc}var c=a("iZ"),e=a("jJ");b.prototype.$r=P("Ad");b.prototype.Uy=P("Jh");b.prototype.Zy=P("fi");b.prototype.my=function(a,b,g){var k=this.T8,j=this.S8,n,i;switch(this.Ad){case c.NONE:i=n=1;break;case c.Ke:n=i=Math.min(b/k,g/j);break;case c.am:n=i=Math.max(b/k,g/j);break;case c.Kk:n=i=b/k;break;case c.Vg:n=i=g/j;break;default:n=b/k,i=g/j}var l=b/n;n=Math.min(this.T8*n,b);
l=Math.min(l,k);switch(this.Jh){case e.na:sX=tX=0;break;case e.Ja:tX=b-n;sX=k-l;break;default:tX=0.5*(b-n),sX=0.5*(k-l)}b=g/i;i=Math.min(this.S8*i,g);b=Math.min(b,j);switch(this.fi){case e.hb:j=g=0;break;case e.gb:g-=i;j-=b;break;default:g=0.5*(g-i),j=0.5*(j-b)}a.drawImage(this.oe,Math.round(sX),Math.round(j),Math.round(l+sX-Math.round(sX)),Math.round(b+j-Math.round(j)),Math.round(tX),Math.round(g),Math.round(n+tX-Math.round(tX)),Math.round(i+g-Math.round(g)))};return b});
define("jg","require,kV,fZ,cg,hS,ju".split(","),function(a){function b(a,b,d,g){this.g=a;this.ta=b;this.Nc=this.ta.get("width");this.Mc=this.ta.get("height");this.tc=this.ta.Mg();this.g4=d;this.Pj=g;this.rt=r;if(this.Pj){this.Bx=this.g4.Bx;this.W=this.Pj.get("width");this.ea=this.Pj.get("height");this.ca=this.Pj.get("x",0);this.da=this.Pj.get("y",0);this.Gt=this.Pj.get("offsetX",0);this.Ht=this.Pj.get("offsetY",0);if(this.Pd=this.Pj.Ol()){this.mf=new f(e.Bj);this.mf.load(this.Pd.get("url"));this.mf.bind(c.R,
this.h6,this)}}else this.mf=r}var c=a("kV"),e=a("fZ"),d=a("cg"),f=a("hS"),g=a("ju");b.prototype.clear=function(){this.Pj=this.g4=this.tc=this.ta=this.g=r;if(this.mf){this.mf.unbind(c.R,this.h6,this);this.mf.cancel();this.mf=r}this.rt=r};b.prototype.Eaa=function(a,b){this.h4=m;if(this.rt&&a!=m&&b!=m){var c=this.g.Ba()*0.5,e=this.g.eb()*0.5,f=this.g.nL(this.tc)*Math.PI/180,g=this.g.$D(this.tc),o=this.g.ZD(this.tc),t=this.g.aE(this.tc),s=this.g.bE(this.tc),u=new d(a,b);u.translate(-c,-e);u.rotate(-f);
u.scale(1/g,1/o);u.translate(t,s);u.scale(this.Nc,this.Mc);u.translate(-this.ca,-this.da);if(!this.Bx){u.rotate(f);u.scale(g/this.Nc,o/this.Mc)}u.translate(this.Gt,this.Ht);c=Math.round(u.x);u=Math.round(u.y);if(c>=0&&c<this.rt.width&&u>=0&&u<this.rt.height){u=(this.rt.width*u+c)*4;c=this.rt.data;this.h4=c[u+3]>0?"#"+this.ZO(c[u+0])+this.ZO(c[u+1])+this.ZO(c[u+2]):"transparent"}}return this.h4};b.prototype.h6=function(){var a=new g(this.mf.pe(),this.Pd.get("width"),this.Pd.get("height"));a.$r(this.Pj.get("scaleMode"));
a.Uy(this.Pj.get("horizontalAlign"));a.Zy(this.Pj.get("verticalAlign"));var b=document.createElement("canvas");b.width=Math.round(this.W);b.height=Math.round(this.ea);var c=b.getContext("2d");a.my(c,b.width,b.height);this.rt=c.getImageData(0,0,b.width,b.height);b.width=b.height=0};b.prototype.ZO=function(a){for(a=a.toString(16);a.length<2;)a="0"+a;return a};return b});
define("ii","require,dl,fb,kV,bY,eJ,kl,jg,R,kH,bq".split(","),function(a){var b=a("dl"),c=a("fb"),e=a("kV"),d=a("bY"),f=a("eJ"),g=a("kl"),k=a("jg"),j=a("R"),n=a("kH"),i=a("bq"),l=c.extend(f,function(a,b,c){f.call(this);this.g=a;this.ta=b;this.Ya=c;this.X=this.Ya.getItem();this.xl=this.Ya.Maa();this.yl=this.Ya.Oaa();this.fo=this.Qj=m;this.D=this.g.getParent();this.D.bind(e.Hc,this.Ui,this);this.D.bind(e.Le,this.xB,this);this.D.bind(e.ub,this.Uq,this);this.D.bind(e.Xb,this.zB,this);c.bind(e.G("selected"),
this.z6,this);c.bind(e.G("enabled"),this.jma,this);this.QH=new k(this.g,this.ta,this.Ya,this.Ya.get("map",r));this.SH=new k(this.g,this.ta,this.Ya,this.Ya.get("rollOverMap",this.Ya.get("map",r)));this.TH=new k(this.g,this.ta,this.Ya,this.Ya.get("selectedMap",this.Ya.get("rollOverMap",this.Ya.get("map",r))));this.oH=new k(this.g,this.ta,this.Ya,this.Ya.get("image",r));this.pH=new k(this.g,this.ta,this.Ya,this.Ya.get("rollOverImage",this.Ya.get("image",r)));this.qH=new k(this.g,this.ta,this.Ya,this.Ya.get("selectedImage",
this.Ya.get("rollOverImage",this.Ya.get("image",r))));this.Cc=this.Bc=m;this.Tx=r;this.Hn=[];this.Hz=[];this.ef={};this.U4=[];this.oR=z;this.Lm=this.Ya.get("useHandCursor");this.O=r;this.Nx=m;this.DJ=this.tJ=this.DH=0;a=this.Ya.get("areas",[]);for(b=0;b<a.length;b++){var c=a[b],d=c.get("mapColor");if(d){d=d.toLowerCase();if(this.ef[d]===m){this.ef[d]=[];this.U4.push(d)}this.ef[d].push(c)}}if(this.X){this.g.NK(this.ta.Mg(),this.X);this.g.Vl(this.X,this.DH)}if(this.xl){this.g.NK(this.ta.Mg(),this.xl);
this.g.Vl(this.xl,this.tJ)}if(this.yl){this.g.NK(this.ta.Mg(),this.yl);this.g.Vl(this.yl,this.DJ)}this.yC("none");this.HV();this.t8(z);this.u8(this.Ya.get("selected"))});l.prototype.clear=function(){this.D.unbind(e.Hc,this.Ui,this);this.D.unbind(e.Le,this.xB,this);this.D.unbind(e.ub,this.Uq,this);this.D.unbind(e.Xb,this.zB,this);this.D=r;this.QH&&this.QH.clear();this.QH=r;this.SH&&this.SH.clear();this.SH=r;this.TH&&this.TH.clear();this.TH=r;this.oH&&this.oH.clear();this.oH=r;this.pH&&this.pH.clear();
this.pH=r;this.qH&&this.qH.clear();this.qH=r;this.Hn=[];this.Qj=z;this.HV();this.Hz=[];this.ef={};this.i9();this.nD();this.ta=this.g=r;this.Ya.unbind(e.G("selected"),this.z6,this);this.yl=this.xl=this.X=this.Ya=r};l.prototype.match=function(a){return this.Ya==a};l.prototype.Ub=function(a){this.Nw(z);if(this.O){this.O.$a(a);this.DH=this.O.tb("itemAlpha");this.tJ=this.O.tb("rollOverItemAlpha");this.DJ=this.O.tb("selectedItemAlpha");this.X&&this.g.Vl(this.X,this.DH);this.xl&&this.g.Vl(this.xl,this.tJ);
this.yl&&this.g.Vl(this.yl,this.DJ);this.O.He()?this.O=r:this.fa()}};l.prototype.Uq=function(a){this.Bc=a.x-this.D.ki();this.Cc=a.y-this.D.$m();this.Nw(p);this.Hz=this.Hn.slice()};l.prototype.Ui=function(a){this.Bc=a.x-this.D.ki();this.Cc=a.y-this.D.$m();this.Nw(p)};l.prototype.zB=function(a){this.Bc=a.x-this.D.ki();this.Cc=a.y-this.D.$m();this.Nw(p);a=b.intersection(this.Hz,this.Hn);this.Hz=[];this.qV(a,"click")};l.prototype.xB=function(){this.Cc=this.Bc=m;this.Nw(p);this.Hz=this.Hn.slice()};l.prototype.z6=
function(){this.u8(this.Ya.get("selected"))};l.prototype.jma=function(){this.Nw(p);this.fe();this.fa()};l.prototype.Nw=function(a){this.v4=p;a?this.Sx():this.tla()||this.lqa()};l.prototype.lqa=function(){this.i9();var a=this;this.Tx=setTimeout(function(){a.Tx=r;a.Sx()},200)};l.prototype.tla=function(){return this.Tx?p:z};l.prototype.i9=function(){if(this.Tx){clearTimeout(this.Tx);this.Tx=r}};l.prototype.Sx=function(){if(this.v4){this.v4=z;var a=this.Hn,c=this.pja();this.Hn=c;if(!this.D.Rj){this.qV(b.difference(c,
a),"rollOver");this.t8(c.length>0);this.qV(b.difference(a,c),"rollOut");this.nD()}}};l.prototype.nD=function(){for(var a="",b=0;b<this.Hn.length&&!a;b++){var c=this.Hn[b];c.get("toolTip")&&(a=c.get("toolTip"))}if(this.wa!=a){this.wa&&this.g.Kva(this.wa);(this.wa=a)&&this.g.Rva(this.wa)}};l.prototype.HV=function(){var a=this.Qj&&(this.Lm!==z||b(this.Hn).any(function(a){return a.get("useHandCursor")===p}));if(this.oR!=a)(this.oR=a)?this.g.ZL(j.he):this.g.Ky(j.he)};l.prototype.pja=function(){if(this.Ya.get("enabled")===
z)return[];var a=[],b=this.fo?this.TH:this.Qj?this.SH:this.QH;if(b)if(b=b.Eaa(this.Bc,this.Cc)){this.ef.any&&(a=a.concat(this.ef.any));b=="transparent"&&this.ef.transparent&&(a=a.concat(this.ef.transparent));if(b!="transparent"){a=this.ef[b]?a.concat(this.ef[b]):a.concat(this.ef[g.lwa(b,this.U4,5)]||[]);this.ef.image&&(a=a.concat(this.ef.image))}}if(b=this.fo?this.qH:this.Qj?this.pH:this.oH)if(b=b.Eaa(this.Bc,this.Cc)){this.ef.any&&(a=a.concat(this.ef.any));b=="transparent"&&this.ef.transparent&&
(a=a.concat(this.ef.transparent));b!="transparent"&&this.ef.image&&(a=a.concat(this.ef.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.qV=function(a,b){if(a)for(var c=0;c<a.length;c++)a[c].trigger(new d(b))};l.prototype.t8=function(a){if(this.Qj!=a){this.Qj=a;this.trigger(new d(l.aN));this.fe();this.HV();this.fa()}};l.prototype.u8=function(a){if(this.fo!=a){this.fo=a;this.fe();this.fa()}};l.prototype.fe=function(){(this.Qj||this.Ya.get("rollOverDisplay")!=
p)&&this.Ya.get("enabled")!==z?this.fo?this.yC("selected"):this.Qj?this.yC("roll over"):this.yC("visible"):this.yC("none")};l.prototype.yC=function(a){if(this.Nx!=a){this.Nx=a;var c,d;if(b(["selected"]).contains(this.Nx)&&this.yl){d=1;a=c=0}else if(b(["selected","roll over"]).contains(this.Nx)&&this.xl){c=1;a=d=0}else if(b(["selected","roll over","visible"]).contains(this.Nx)){a=1;d=c=0}else a=d=c=0;var e=this.DH,f=this.tJ,g=this.DJ,j=this.Nx=="none"?"quad_out":"quad_in",k=Math.max(200*Math.abs(a-
e),200*Math.abs(c-f),200*Math.abs(d-g));this.O=new n(j,[new i("itemAlpha",e,a),new i("rollOverItemAlpha",f,c),new i("selectedItemAlpha",g,d)],k)}};l.prototype.fa=function(){this.trigger(new d(l.Ia))};l.Ia="request frame";l.aN="is over update";return l});define("jI",["fb","hs"],function(a,b){var c=a.extend(b,function(a,c,f,g,k,j,n){b.call(this,b.Q_,a,c);this.$ka=f;this.ala=g;this.ina=k;this.jna=j;this.Eb=n;this.qD=[]});c.prototype.Su=R("Eb");return c});
define("el","fb,kV,bY,eJ,cg,jI".split(","),function(a,b,c,e,d,f){var g=a.extend(e,function(a,c,d){e.call(this);this.g=a;this.D=this.g.getParent();this.D.bind(b.ub,this.Uq,this,p);this.D.bind(b.Hc,this.Ui,this,p);this.D.bind(b.Le,this.xB,this,p);this.ta=c;this.Nc=this.ta.get("width");this.Mc=this.ta.get("height");this.Ona=Math.sqrt(this.Nc*this.Nc+this.Mc*this.Mc)*this.ta.get("fieldOfViewOverlayRadiusScale",1);this.tc=this.ta.Mg();this.yb=d;this.kx=this.yb.get("x",0);this.lx=this.yb.get("y",0);this.JI=
this.yb.get("angle",0);this.X=this.Uha();this.qm=z;this.$=0;this.ba=Math.PI*0.5;this.hc=z;this.Cc=this.Bc=m;this.g.NK(this.ta.Mg(),this.X)});g.prototype.Zca=function(a,b){this.$=a+this.JI-90;this.ba=b;this.fa()};g.prototype.clear=function(){this.D.unbind(b.ub,this.Uq,this);this.D.unbind(b.Hc,this.Ui,this);this.D.unbind(b.Le,this.xB,this);this.D=r;this.g.Zva(this.ta.Mg(),this.X);this.X=this.yb=this.tc=this.ta=this.g=r};g.prototype.Ub=function(){this.g.Swa(this.X,this.$,this.ba)};g.prototype.Uha=function(){return new f(this.kx,
this.lx,this.ta.get("fieldOfViewOverlayInsideColor","#FFFFFF"),this.ta.get("fieldOfViewOverlayInsideOpacity",0),this.ta.get("fieldOfViewOverlayOutsideColor","#000000"),this.ta.get("fieldOfViewOverlayOutsideOpacity",0),this.ta.get("fieldOfViewOverlayRadiusScale",1))};g.prototype.fa=function(){this.trigger(new c(g.Ia))};g.prototype.JV=function(){var a=z;if(this.Bc!=m&&this.Cc!=m){var b=this.g.Ba()*0.5,e=this.g.eb()*0.5,f=this.g.nL(this.tc)*Math.PI/180,l=this.g.$D(this.tc),q=this.g.ZD(this.tc),o=this.g.aE(this.tc),
t=this.g.bE(this.tc),a=new d(this.Bc,this.Cc);a.translate(-b,-e);a.rotate(-f);a.scale(1/l,1/q);a.translate(o,t);a.scale(this.Nc,this.Mc);a.translate(-this.kx,-this.lx);a.rotate(-this.$*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.Ona&&Math.abs(b)<this.ba*0.5}if(this.qm!=a){this.qm=a;this.trigger(new c(g.EN,{inFOV:this.qm}))}};g.prototype.Gua=R("qm");g.prototype.Uq=function(a){this.Bc=a.x;this.Cc=a.y;this.hc=p;this.JV()};g.prototype.Ui=function(a){if(!this.hc){this.Bc=
a.x;this.Cc=a.y;this.JV()}};g.prototype.xB=function(){this.Cc=this.Bc=m;this.hc=z;this.JV()};g.Ia="request frame";g.EN="mouse in fov change";return g});
define("kM","dl,fb,bY,eJ,gn,ii,el,R".split(","),function(a,b,c,e,d,f,g){var k=b.extend(e,function(a){e.call(this);this.g=a;this.eB=[];this.co=[];this.Ki=[];this.Wi=this.yb=r});k.prototype.clear=function(){for(var a=0;a<this.co.length;a++)this.co[a].clear();for(a=0;a<this.Ki.length;a++)this.Ki[a].clear();this.g=this.eB=this.yb=this.Ki=this.co=r};k.prototype.RD=function(a){a.kE()&&this.zfa(a.ta)};k.prototype.xX=function(a){a.kE()&&this.goa(a.ta)};k.prototype.yp=function(a){if(this.yb!=a){this.yb&&this.H7(this.yb.get("map"));
this.yb=a;this.Wi=r;if(this.yb){a=this.yb.get("map");this.YR(a)&&this.N0(a)}}};k.prototype.rj=function(a,b,c,d){this.Wi={yaw:b,pitch:c,hfov:d};for(c=0;c<this.Ki.length;c++){var e=this.Ki[c];if(e.yb==a){e.Zca(b,d);break}}};k.prototype.zfa=function(a){if(!this.YR(a)){this.eB.push(a);this.tfa(a);this.N0(a)}};k.prototype.goa=function(b){if(this.YR(b)){this.eB=a(this.eB).without(b);this.boa(b);this.H7(b)}};k.prototype.YR=function(b){return a(this.eB).indexOf(b)>=0};k.prototype.Ub=function(a){for(var b=
0;b<this.co.length;b++)this.co[b].Ub(a);for(b=0;b<this.Ki.length;b++)this.Ki[b].Ub(a)};k.prototype.tfa=function(a){for(var b=a.get("overlays",[]),c=0;c<b.length;c++){var e=b[c];if(e instanceof d){e=new f(this.g,a,e);e.bind(f.Ia,this.fa,this,p);e.bind(f.aN,this.D4,this,p);this.co.push(e)}}};k.prototype.N0=function(a){if(this.yb&&this.yb.get("map")==a&&this.yb.get("visible")!==z){a=new g(this.g,a,this.yb);a.bind(g.Ia,this.fa,this,p);a.bind(g.EN,this.oI,this,p);this.Ki.push(a);this.Wi&&a.Zca(this.Wi.yaw,
this.Wi.hfov)}this.oI()};k.prototype.boa=function(a){for(var a=a.get("overlays",[]),b=0;b<a.length;b++)for(var c=a[b],d=0;d<this.co.length;d++){var e=this.co[d];if(e.match(c)){e.unbind(f.Ia,this.fa,this);e.unbind(f.aN,this.D4,this);e.clear();this.co.splice(d,1);break}}};k.prototype.H7=function(a){for(var b=0;b<this.Ki.length;b++){var c=this.Ki[b];if(c.ta==a){c.unbind(g.Ia,this.fa,this);c.unbind(g.EN,this.oI,this);c.clear();this.Ki.splice(b,1);break}}this.oI()};k.prototype.D4=D();k.prototype.fa=function(){this.trigger(new c(k.Ia))};
k.prototype.oI=function(){for(var a=z,b=0;b<this.Ki.length;b++)this.Ki[b].Gua()&&(a=p);this.trigger(new c(k.$M,{inFOV:a}))};k.Ia="request frame";k.$M="in fov change";return k});
define("B","fb,kV,bY,eJ,hw,cg".split(","),function(a,b,c,e,d,f){var g=a.extend(e,function(a){e.call(this);this.g=a;this.D=this.g.getParent();this.D.bind(b.Hc,this.Ui,this,p);this.D.bind(b.ub,this.Uq,this,p);this.D.bind(b.Xb,this.zB,this,p);this.ta=r;this.tc=this.Mc=this.Nc=m;this.yb=r;this.JI=this.lx=this.kx=m;this.qm=z;this.Cc=this.Bc=this.Si=m;this.hc=z;this.$=0});g.prototype.clear=function(){this.D.unbind(b.Hc,this.Ui,this);this.D.unbind(b.ub,this.Uq,this);this.D.unbind(b.Xb,this.zB,this);this.g=
this.yb=this.tc=this.ta=this.D=r};g.prototype.FE=function(a){this.qm=a;this.DV()};g.prototype.RD=function(a){a.kE()&&this.x8(a.ta)};g.prototype.xX=function(a){a.kE()&&this.ta==a.ta&&this.x8(r)};g.prototype.x8=function(a){if(this.ta!=a)if(this.ta=a){this.Nc=this.ta.get("width");this.Mc=this.ta.get("height");this.tc=this.ta.Mg()}else{this.Mc=this.Nc=m;this.tc=r}};g.prototype.yp=function(a){if(this.yb!=a)if(this.yb=a){this.kx=this.yb.get("x",0);this.lx=this.yb.get("y",0);this.JI=this.yb.get("angle",
0)}else this.JI=this.lx=this.kx=m};g.prototype.rj=function(a,b){if(this.yb==a)this.$=b};g.prototype.Xl=P("Si");g.prototype.Uq=function(a){this.Bc=a.x;this.Cc=a.y;this.hc=p;this.DV()};g.prototype.Ui=function(a){this.Bc=a.x;this.Cc=a.y;if(this.qQ){a=this.N3();this.trigger(new c(g.Ug,{yawDelta:a-this.Bb}));this.Bb=a}};g.prototype.zB=function(a){this.Bc=a.x;this.Cc=a.y;this.hc=z;this.DV()};g.prototype.DV=function(){var a=this.hc&&this.yb&&this.ta&&(this.Si==d.UN||this.qm);if(this.qQ!=a)if(this.qQ=a)this.Bb=
this.N3()};g.prototype.N3=function(){var a=this.g.Ba()*0.5,b=this.g.eb()*0.5,c=new f(this.Bc,this.Cc);c.translate(-a,-b);if(this.Si==d.UN)return-Math.atan2(c.y,c.x)*180/Math.PI;var a=this.g.nL(this.tc)*Math.PI/180,b=this.g.$D(this.tc),e=this.g.ZD(this.tc),g=this.g.aE(this.tc),q=this.g.bE(this.tc);c.rotate(-a);c.scale(1/b,1/e);c.translate(g,q);c.scale(this.Nc,this.Mc);c.translate(-this.kx,-this.lx);return Math.atan2(c.y,c.x)*180/Math.PI};g.Ug="request yaw change";return g});
define("jB",["fb","bY","eJ","V"],function(a,b,c,e){var d=a.extend(c,function(a){c.call(this);this.V=p;this.mt=z;this.g=a});d.prototype.clear=function(){this.V=z;this.g=r};d.prototype.La=function(){this.mt||(this.mt=p,e.La(this.Dg,this))};d.prototype.Dg=function(a){this.V&&(this.mt=z,this.trigger(new b(d.Hk,{frameTime:a})),this.trigger(new b(d.Ik,{frameTime:a})),this.g.render())};d.Hk="frameStart";d.Ik="positionSet";return d});
define("iY","require,fb,kV,bY,eJ,ku,iM,hu,kM,B,jB".split(","),function(a){var b=a("fb"),c=a("kV"),e=a("bY"),d=a("eJ"),f=a("ku"),g=a("iM"),k=a("hu"),j=a("kM"),n=a("B"),i=a("jB"),l=b.extend(d,function(a,b){d.call(this);this.D=a;this.g=b;this.g.set("visible",z);this.OI=r;this.ce=new i(this.g);this.$d=new k(this.g);this.Ca=new g(this.D,this.g);this.ka=new f(this.g);this.ol=new j(this.g);this.vm=new n(this.g);this.D.bind(c.ld,this.BI,this,p);this.ce.bind(i.Hk,this.Yq,this,p);this.ce.bind(i.Ik,this.Zq,
this,p);this.$d.bind(k.iF,this.uB,this);this.$d.bind(k.gN,this.Z5,this);this.$d.bind(k.gF,this.a6,this);this.Ca.bind(g.Ia,this.Sc,this,p);this.Ca.bind(g.eN,this.X5,this,p);this.Ca.bind(g.hF,this.b6,this,p);this.Ca.bind(g.fN,this.Y5,this,p);this.Ca.bind(g.ls,this.vo,this,p);this.Ca.bind(g.ms,this.Tq,this,p);this.Ca.bind(g.TM,this.s5,this,p);this.ka.bind(f.Ia,this.Sc,this,p);this.ka.bind(f.Tg,this.il,this);this.ol.bind(j.Ia,this.Sc,this,p);this.ol.bind(j.$M,this.Q5,this,p);this.vm.bind(n.Ug,this.IB,
this,p);this.S2=z});l.prototype.Xl=function(a){this.ka.Xl(a);this.Ca.Xl(a);this.vm.Xl(a)};l.prototype.clear=function(){this.S2=p;this.$d.clear();this.ce.clear();this.ka.clear();this.Ca.clear();this.ol.clear();this.vm.clear();this.D.unbind(c.ld,this.BI,this);this.$d.unbind(k.iF,this.uB,this);this.$d.unbind(k.gN,this.Z5,this);this.$d.unbind(k.gF,this.a6,this);this.ce.unbind(i.Hk,this.Yq,this);this.ce.unbind(i.Ik,this.Zq,this);this.Ca.unbind(g.Ia,this.Sc,this);this.Ca.unbind(g.eN,this.X5,this);this.Ca.unbind(g.hF,
this.b6,this);this.Ca.unbind(g.fN,this.Y5,this);this.Ca.unbind(g.ls,this.vo,this);this.Ca.unbind(g.ms,this.Tq,this);this.Ca.unbind(g.TM,this.s5,this);this.ka.unbind(f.Uda,this.Sc,this);this.ka.unbind(f.Tg,this.il,this);this.ol.unbind(j.Ia,this.Sc,this);this.ol.unbind(j.$M,this.Q5,this);this.vm.unbind(n.Ug,this.IB,this);this.D=this.g=this.vm=this.ol=this.Ca=this.ka=this.ce=this.$d=r};l.prototype.BI=function(){if(this.OI){this.Wca(this.OI);this.OI=r}};l.prototype.Wca=function(a){this.g.set("visible",
p);if(this.D.Iq)this.$d.iva(a);else{this.$d.stop();this.ka.stop();this.Ca.hide();this.OI=a}};l.prototype.iv=function(){this.$d.stop();this.ka.stop();this.Ca.hide()};l.prototype.Rg=function(a){this.ka.Rg(a)};l.prototype.yp=function(a){if(!this.S2){this.ka.yp(a);this.ol.yp(a);this.vm.yp(a)}};l.prototype.rj=function(a,b,c,d){this.ka.rj(a,b,c,d);this.ol.rj(a,b,c,d);this.vm.rj(a,b,c,d)};l.prototype.a6=function(a){var b=a.data.level,a=(a.data.percent+100*b.getIndex())/b.taa();this.trigger(new e(l.$l,{percent:a}))};
l.prototype.Z5=function(a){a=a.data.level;this.ka.stop();this.Ca.RD(a)};l.prototype.uB=function(){this.trigger(new e(l.ks))};l.prototype.Sc=function(){this.ce.La()};l.prototype.Yq=function(a){this.ka.rp(a.data.frameTime)};l.prototype.Zq=function(a){a=a.data.frameTime;this.Ca.Ub(a);this.ka.Ub(a);this.ol.Ub(a)};l.prototype.X5=function(a){a=a.data.level;this.ol.RD(a);this.vm.RD(a)};l.prototype.b6=function(a){a=a.data.level;this.ol.xX(a);this.vm.xX(a)};l.prototype.Y5=function(a){a=a.data.level;a.kE()&&
this.ka.start(a)};l.prototype.s5=function(){this.g.set("visible",z)};l.prototype.Q5=function(a){a=a.data.inFOV;this.ka.FE(a);this.vm.FE(a)};l.prototype.Tq=function(a){this.trigger(new e(l.ms,{map:a.data.map}))};l.prototype.vo=function(a){this.trigger(new e(l.ls,{map:a.data.map}))};l.prototype.il=function(a){this.trigger(new e(l.Tg,a.data))};l.prototype.IB=function(a){this.trigger(new e(l.Ug,{yawDelta:a.data.yawDelta}))};l.Tg="movementChange";l.ks="loadingEnd";l.$l="loadingProgress";l.ms="mapShow";
l.ls="mapHide";l.Ug="requestYawChange";return l});
define("fI",["require","jquery.mod","r"],function(a){function b(a,b){this.X=a;this.P=b;this.YA=0;this.Cm=this.Bm=0.5;this.ee=0;this.rb=1;this.So=this.mo=this.ea=this.W=0;this.Eb=1;this.RR=this.UR=p;this.J=c("<canvas/>");this.t=this.J.get(0);this.ia=this.t.getContext("2d")}var c=a("jquery.mod"),a=a("r");b.prototype.getItem=R("X");b.prototype.oy=function(a){return this.X==a?this:r};b.prototype.nk=function(){this.P&&this.P.GW(this)};b.prototype.ud=function(a){this.qpa(a)};b.prototype.v8=function(a){this.YA!=
a&&(this.YA=a,this.P&&this.P.IL())};b.prototype.qpa=function(a){this.rb!=a&&(this.rb=a,this.HL())};b.prototype.JJ=function(a){this.ee!=a&&(this.ee=a,this.HL())};b.prototype.xC=function(a,b){if(this.W!=a||this.ea!=b)this.W=a,this.ea=b,this.EL()};b.prototype.bi=function(a,b){if(this.mo!=a||this.So!=b)this.mo=a,this.So=b,this.HL()};b.prototype.HL=function(){this.P&&this.P.FL()};b.prototype.yc=function(){this.UR=p};b.prototype.ga=function(){this.UR&&(this.UR=z,this.sf())};b.prototype.sf=D();b.prototype.EL=
function(){this.RR=p;this.HL()};b.prototype.sM=function(){if(this.RR){this.RR=z;if(this.t.width!=this.W||this.t.height!=this.ea)this.t.width=Math.round(this.W),this.t.height=Math.round(this.ea);this.ia.clearRect(0,0,this.t.width,this.t.height);this.mg()}};b.prototype.mg=D();b.prototype.gta=function(a){if(0<this.rb&&1<=this.W&&1<=this.ea){a.save();var b=Math.round(this.mo),c=Math.round(this.So),g=Math.round(this.W*this.Bm),k=Math.round(this.ea*this.Cm);a.scale(this.Eb,this.Eb);a.translate(b+g,c+k);
a.rotate(this.ee*Math.PI/180);a.globalAlpha=this.rb;a.drawImage(this.t,-g,-k);a.restore()}};b.QZ=window.devicePixelRatio||1;b.Og=b.QZ;b.PZ=a.ge()==a.zj?16E6:256E6;return b});
define("jA",["require","dl","fb","fI"],function(a){var b=a("dl"),c=a("fb"),e=a("fI"),a=c.extend(e,function(a,b){e.call(this,a,b);this.Gb=[];this.LK=r;this.Yo=p});a.prototype.J$=function(a){(a=this.AP(a))||h("Container renderer can't create child renderer for an item");this.Gb.push(a);this.IL();this.FL()};a.prototype.AP=D();a.prototype.mca=function(a){if(a=this.Wm(a))this.Gb=b.without(this.Gb,a),this.IL(),this.FL()};a.prototype.oy=function(a){for(var b=e.prototype.oy.call(this,a),c=0;c<this.Gb.length&&
!b;c++)b=this.Gb[c].oy(a);return b};a.prototype.Wm=function(a){for(var b=r,c=0;c<this.Gb.length&&!b;c++)this.Gb[c].getItem()==a&&(b=this.Gb[c]);return b};a.prototype.GW=function(a){this.Gb=b.without(this.Gb,a);this.Gb.push(a);this.IL();this.FL()};a.prototype.IL=function(){this.Yo=p;this.yc()};a.prototype.FL=function(){this.EL()};a.prototype.ga=function(){e.prototype.ga.call(this);for(var a=0;a<this.Gb.length;a++)this.Gb[a].ga()};a.prototype.sf=function(){if(this.Yo){this.Yo=z;for(var a=[],b=0;b<this.Gb.length;b++){var c=
this.Gb[b];a.push({l:c.YA,z:b,r:c})}a.sort(function(a,b){return a.l==b.l?a.z-b.z:a.l-b.l});this.LK=[];for(b=0;b<a.length;b++)this.LK.push(a[b].r);this.EL()}e.prototype.sf.call(this)};a.prototype.sM=function(){for(var a=0;a<this.Gb.length;a++)this.Gb[a].sM();e.prototype.sM.call(this)};a.prototype.mg=function(){for(var a=0;a<this.LK.length;a++)this.LK[a].gta(this.ia);e.prototype.mg.call(this)};return a});
define("H",["require","fb","fI"],function(a){var b=a("fb"),c=a("fI"),a=b.extend(c,function(a,b){c.call(this,a,b)});a.prototype.hM=D();return a});
define("jb",["require","fb","H"],function(a){var b=a("fb"),c=a("H"),a=b.extend(c,function(a,b){c.call(this,a,b);this.NI=this.P.getItem().Xc();this.MI=this.P.getItem().Kd();this.Eb=2;this.tw=0;this.ba=0.5*Math.PI;this.SR=this.TR=p;this.Mh=1;this.zH=p;this.v8(1)});a.prototype.hM=function(a,b){this.Mh!=b&&(this.Mh=b,this.zH=p,this.yc())};a.prototype.Fwa=function(a,b){this.ba!=b&&(this.ba=b,this.TR=p,this.yc());this.tw!=a&&(this.tw=a,this.SR=p,this.yc())};a.prototype.sf=function(){this.TR&&(this.TR=z,
this.EL());if(this.zH||this.SR){this.SR=this.zH=z;this.Eb=Math.max(1,Math.ceil(Math.sqrt(this.NI*this.NI+this.MI*this.MI))/4096);var a=this.Mh/this.Eb,b=this.X.getX()*a,f=this.X.getY()*a,g=a*this.MI,a=Math.max(b,a*this.NI-b),g=Math.max(f,g-f),g=2*Math.ceil(Math.sqrt(a*a+g*g)),k=this.tw*Math.PI/180,a=Math.cos(k),k=Math.sin(k),b=b-this.Bm*g-(0.5-this.Bm)*g*a+(0.5-this.Cm)*g*k,f=f-this.Cm*g-(0.5-this.Cm)*g*a-(0.5-this.Bm)*g*k;this.zH=z;this.bi(b,f);this.xC(g,g);this.JJ(this.tw)}c.prototype.sf.call(this)};
a.prototype.mg=function(){var a=this.X.ala,b=this.X.jna;if(0<b||0<a){var f=this.Mh*this.NI,g=this.Mh*this.MI,f=Math.ceil(Math.sqrt(f*f+g*g))*this.X.Su()/this.Eb,g=Math.round(0.5*this.W),k=Math.round(0.5*this.ea),j=this.ba*Math.PI/180,n=0.5*-j,j=n+j;0<b&&(this.ia.fillStyle=this.X.ina,this.ia.globalAlpha=b,this.ia.rect(0,0,this.W,this.ea),this.ia.fill(),this.ia.globalCompositeOperation="destination-out",this.ia.fillStyle="#FFFFFF",this.ia.globalAlpha=1,this.ia.beginPath(),this.ia.moveTo(g,k),this.ia.arc(g,
k,f,n,j,z),this.ia.lineTo(g,k),this.ia.closePath(),this.ia.fill(),this.ia.globalCompositeOperation="source-over");0<a&&(this.ia.fillStyle=this.X.$ka,this.ia.globalAlpha=a,this.ia.beginPath(),this.ia.moveTo(g,k),this.ia.arc(g,k,f,n,j,z),this.ia.lineTo(g,k),this.ia.closePath(),this.ia.fill())}c.prototype.mg.call(this)};return a});
define("i","require,fb,fI,H,is,ju".split(","),function(a){var b=a("fb"),c=a("fI"),e=a("H"),d=a("is"),f=a("ju"),a=b.extend(e,function(a,b){e.call(this,a,b);this.v8(this.X.X7?0:2);this.qb=d.pe(this.X.uk());this.AJ=new f(this.qb,this.qb.width,this.qb.height);this.AJ.$r(this.X.Ad);this.AJ.Zy(this.X.fi);this.AJ.Uy(this.X.Jh);this.cB=0;this.Mh=1;this.wS=p});a.prototype.hM=function(a,b){if(this.cB!=a||this.Mh!=b){this.cB=a;this.Mh=b;this.wS=p;this.yc()}};a.prototype.sf=function(){if(this.wS){this.wS=z;var a=
this.X.getX(),b=this.X.getY(),d=this.X.Xc(),f=this.X.Kd(),i=this.X.Gt,l=this.X.Ht;if(this.X.X7){this.JJ(0);this.bi((a-i)*this.Mh,(b-l)*this.Mh);this.xC(d*this.Mh,f*this.Mh)}else{var d=d*c.Og,f=f*c.Og,i=i*c.Og,l=l*c.Og,q=Math.cos(-this.cB*Math.PI/180),o=Math.sin(-this.cB*Math.PI/180),a=a*this.Mh-this.Bm*d-(i-this.Bm*d)*q+(l-this.Cm*f)*o,b=b*this.Mh-this.Cm*f-(l-this.Cm*f)*q-(i-this.Bm*d)*o;this.JJ(-this.cB);this.bi(a,b);this.xC(d,f)}}e.prototype.sf.call(this)};a.prototype.mg=function(){this.AJ.my(this.ia,
this.t.width,this.t.height);e.prototype.mg.call(this)};return a});
define("gl","require,fb,iZ,is,cC,hs,jb,i,jA".split(","),function(a){var b=a("fb"),c=a("iZ"),e=a("is"),d=a("cC"),f=a("hs"),g=a("jb"),k=a("i"),j=a("jA"),a=b.extend(j,function(a,b){j.call(this,a,b,a.Yj);this.Ka=this.X.Xc();this.Ua=this.X.Kd();this.Ad=this.X.Ad;this.TG=this.X.DQ;this.Yb=this.Tb=100;this.sP=p;this.da=this.ca=0.5;this.Bb=0;this.pa=1;this.aC=p;this.pd=1;this.qb=e.pe(this.X.uk())});a.prototype.AP=function(a){a.qe()!=d.T_&&h("Invalid item type");switch(a.lna){case f.Q_:a=new g(a,this);break;
case f.R_:a=new k(a,this);break;default:a=r}a&&a.hM(this.Bb,this.pd*this.pa);return a};a.prototype.getX=R("ca");a.prototype.getY=R("da");a.prototype.py=R("Bb");a.prototype.Ql=R("pa");a.prototype.Ba=function(){return Math.round(this.Ka*this.pa*this.pd)};a.prototype.eb=function(){return Math.round(this.Ua*this.pa*this.pd)};a.prototype.kv=function(a,b){if(this.Tb!=a||this.Yb!=b){this.Tb=a;this.Yb=b;this.sP=p;this.yc()}};a.prototype.Fa=function(a,b,c,d){if(this.ca!=a||this.da!=b||this.Bb!=c||this.pa!=
d){this.ca=a;this.da=b;this.Bb=c;this.pa=d;this.aC=p;this.yc()}};a.prototype.sf=function(){if(this.sP){this.sP=z;switch(this.Ad){case c.NONE:this.pd=1;break;case c.Kk:this.pd=this.Tb/this.Ka;break;case c.Vg:this.pd=this.Yb/this.Ua;break;case c.am:this.pd=this.Ka*this.Yb>this.Ua*this.Tb?this.Yb/this.Ua:this.Tb/this.Ka;break;default:this.pd=this.Ka*this.Yb>this.Ua*this.Tb?this.Tb/this.Ka:this.Yb/this.Ua}this.aC=p}if(this.aC){this.aC=z;var a=this.Ba(),b=this.eb(),d=Math.cos(this.Bb*Math.PI/180),e=Math.sin(this.Bb*
Math.PI/180);this.bi(this.Tb*0.5-this.Bm*a+(this.Bm-this.ca)*d*a-(this.Cm-this.da)*e*b,this.Yb*0.5-this.Cm*b+(this.Cm-this.da)*d*b+(this.Bm-this.ca)*e*a);this.JJ(this.Bb);this.xC(a,b);for(a=0;a<this.Gb.length;a++)this.Gb[a].hM(this.Bb,this.pd*this.pa)}j.prototype.sf.call(this)};a.prototype.mg=function(){var a=Math.round(this.W),b=Math.round(this.ea);if(this.TG){this.ia.save();this.ia.translate(a,0);this.ia.scale(-1,1);this.ia.drawImage(this.qb,0,0,a,b);this.ia.restore()}else this.ia.drawImage(this.qb,
0,0,a,b);j.prototype.mg.call(this)};return a});
define("fl","require,dl,fb,cC,jA,gl".split(","),function(a){a("dl");var b=a("fb"),c=a("cC"),e=a("jA"),d=a("gl"),a=b.extend(e,function(){e.call(this,r,r);this.fP=p});a.prototype.Kb=R("J");a.prototype.render=function(){this.ga();this.sM()};a.prototype.Xta=function(){for(var a=1,b=0;b<this.Gb.length;b++){var c=this.Gb[b],c=c.Ba()*c.eb();a<c&&(a=c)}return a};a.prototype.AP=function(a){a.qe()!=c.S_&&h("Invalid item type");a=new d(a,this);a.kv(this.W,this.ea);a.Fa(0.5,0.5,0,1);return a};a.prototype.setSize=
function(a,b){this.xC(a,b);this.fP=p;this.yc()};a.prototype.sf=function(){if(this.fP){this.fP=z;for(var a=0;a<this.Gb.length;a++)this.Gb[a].kv(this.W,this.ea)}e.prototype.sf.call(this)};return a});
define("hQ","require,dl,fb,kV,fZ,is,fI,fl,bi,R,d".split(","),function(a){var b=a("dl"),c=a("fb"),e=a("kV"),d=a("fZ"),f=a("is"),g=a("fI"),k=a("fl"),j=a("bi"),n=a("R"),i=a("d"),a=c.extend(i,function(){i.call(this);this.Tc("Renderer");this.set("toolTipDisabled",p);this.set("cursor",n.Dv);this.oq=[];this.lu=[];this.wa="";this.nf=new k;this.Pa().append(this.nf.Kb());this.bind(e.vb,this.lb,this,p);this.bind(e.ld,this.bh,this,p);this.bind(e.wd,this.ah,this,p);j.bind(e.aa,this.PV,this,p);this.cu=this.cU=
z});a.prototype.ln=function(a){f.ln(a,d.Bj)};a.prototype.VY=function(a){return f.VY(a)};a.prototype.si=function(a){f.si(a,d.Bj)};a.prototype.AW=function(a){this.nf.J$(a)};a.prototype.removeItem=function(a){this.nf.mca(a)};a.prototype.NK=function(a,b){this.nf.Wm(a).J$(b);this.NV()};a.prototype.Zva=function(a,b){var c=this.nf.Wm(a);c&&c.mca(b)};a.prototype.HW=function(a){this.nf.oy(a).nk()};a.prototype.Vl=function(a,b){this.nf.oy(a).ud(b)};a.prototype.GE=function(a,b,c,d,e){this.nf.Wm(a).Fa(b,c,d,e);
this.NV()};a.prototype.NV=function(){var a=this.nf.Xta();if(a>g.PZ){newPixelRatio=g.QZ/Math.sqrt(a/g.PZ);if(newPixelRatio<g.Og){g.Og=newPixelRatio;this.b$()}}};a.prototype.Swa=function(a,b,c){this.nf.oy(a).Fwa(b,c)};a.prototype.aE=function(a){return this.nf.Wm(a).getX()};a.prototype.bE=function(a){return this.nf.Wm(a).getY()};a.prototype.nL=function(a){return this.nf.Wm(a).py()};a.prototype.Caa=function(a){return this.nf.Wm(a).Ql()};a.prototype.$D=function(a){return this.nf.Wm(a).Ba()/g.Og};a.prototype.ZD=
function(a){return this.nf.Wm(a).eb()/g.Og};a.prototype.render=function(){this.cu&&this.nf.render()};a.prototype.ZL=function(a){this.oq.push(a);this.W9()};a.prototype.Ky=function(a){a=b(this.oq).lastIndexOf(a);a>=0&&this.oq.splice(a,1);this.W9()};a.prototype.W9=function(){var a;a=this.oq.length>0?this.oq[this.oq.length-1]:n.$c;this.getParent().set("cursor",a)};a.prototype.rG=function(){if(this.oq.length>0){this.getParent().set("cursor",n.$c);this.oq=[]}};a.prototype.Rva=function(a){this.lu.push(a);
this.nD()};a.prototype.Kva=function(a){a=b(this.lu).lastIndexOf(a);a>=0&&this.lu.splice(a,1);this.nD()};a.prototype.nD=function(){var a=this.lu.length==0?"":this.lu[this.lu.length-1]||"";if(this.wa!=a){this.wa=a;this.getParent().set("toolTip",this.wa)}};a.prototype.jha=function(){this.wa&&this.getParent().set("toolTip","");this.wa="";this.lu=[]};a.prototype.aj=function(){this.jha();this.rG();i.prototype.aj.call(this)};a.prototype.lb=function(){this.b$();this.NV()};a.prototype.b$=function(){this.nf.Kb().css({transform:g.Og!=
1?"scale("+(1/g.Og).toFixed(3)+")":"none","transform-origin":"0% 0%"});this.nf.setSize(this.Ba()*g.Og,this.eb()*g.Og);this.render()};a.prototype.bh=function(){this.cU=p;this.PV()};a.prototype.ah=function(){this.cU=z;this.PV()};a.prototype.PV=function(){var a=this.cU&&!j.isPresenting();if(this.cu!=a)(this.cu=a)&&this.render()};return a});
define("I","dl,fb,iP,bY,dR,jE,ct,dh,iY,hj,hQ,kV,dj,fh".split(","),function(a,b,c,e,d,f,g,k,j,n,i,l,q,o){var t=b.extend(g,function(){g.call(this,"map");this.eI=this.vS=this.lh=z;this.Wi=this.yb=this.q=this.g=r;this.Zp={};for(var a in t.Fn)this.Zp[a]=this.Dha(a);this.od=b.op(this.sf,this)});d.A("MapPlayer",t).B("Object").M({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]]"}).Rb([l.uF]).Qg({stop:function(){this.sb(n.je)},rotateClockwise:function(){this.sb(n.ON)},rotateCounterClockwise:function(){this.sb(n.PN)},zoomIn:function(){this.sb(n.Dn)},zoomOut:function(){this.sb(n.En)}});t.prototype.set=function(a,
b){if(this.get(a)!=b){switch(a){case "map":this.vS=p;this.od();break;case "viewerArea":this.lh=p;this.od();break;case "panoramaMapLocation":this.mT=p;this.od();break;case "movementMode":this.eI=p;this.od()}g.prototype.set.call(this,a,b)}};t.prototype.Dha=function(a){var b=t.Fn[a],a=new f(this,a,q.ad);a.bind(l.ub,function(){this.sb(b.movement)},this);b.stopOnRelease&&a.bind(l.Xb,function(){this.sb(n.je)},this);return a};t.prototype.usa=function(a){this.Wi=r;this.set("map",a.get("map"));this.set("panoramaMapLocation",
a)};t.prototype.cwa=function(a){if(this.get("panoramaMapLocation")==a){this.set("panoramaMapLocation",r);this.Wi=r}};t.prototype.rj=function(a,b,c,d){this.q&&this.q.rj(a,b,c,d);this.Wi={yaw:b,pitch:c,hfov:d}};t.prototype.sf=function(){if(this.lh){this.lh=z;this.et();this.get("viewerArea")&&this.ct();this.MJ(this.get("viewerArea"))}if(this.q){if(this.vS){this.vS=z;var a=this.get("map");if(a){this.nJ();this.q.Wca(a)}else this.q.iv();this.mT=this.eI=p}if(this.mT){this.mT=z;a=this.get("panoramaMapLocation");
this.q.yp(a);a&&this.Wi&&this.q.rj(a,this.Wi.yaw,this.Wi.pitch,this.Wi.hfov)}if(this.eI){this.eI=z;this.q.Xl(this.get("movementMode"))}}};t.prototype.MC=function(){this.set("map",r)};t.prototype.ct=function(){var a=this.get("viewerArea");this.g=new i;this.g.N({left:0,top:0,bottom:0,right:0});a.la(this.g);this.q=new j(a,this.g);this.q.bind(j.Tg,this.il,this);this.q.bind(j.$l,this.uo,this);this.q.bind(j.ks,this.cx,this);this.q.bind(j.ms,this.Tq,this);this.q.bind(j.ls,this.vo,this);this.q.bind(j.Ug,
this.IB,this,p)};t.prototype.et=function(){if(this.g){this.q.unbind(j.Tg,this.il,this);this.q.unbind(j.$l,this.uo,this);this.q.unbind(j.ks,this.cx,this);this.q.unbind(j.ms,this.Tq,this);this.q.unbind(j.ls,this.vo,this);this.q.unbind(j.Ug,this.IB,this);this.q.clear();this.g.getParent().removeChild(this.g);this.g=r}};t.prototype.Tq=function(a){this.XH(a.data.map)};t.prototype.vo=function(a){this.WH(a.data.map)};t.prototype.il=function(a){for(var b in t.Fn)this.Zp[b].set("state",a.data[t.Fn[b].pressedOn]?
o.ya:o.$c);this.trigger(new e(l.uF,a.data))};t.prototype.IB=function(a){this.trigger(new e(t.Ug,{yawDelta:a.data.yawDelta}))};t.prototype.uo=function(a){this.g.getParent().N({progressPercent:a.data.percent,progressVisible:p})};t.prototype.cx=function(){this.g.getParent().set("progressVisible",z)};t.prototype.sb=function(a){this.q&&this.q.Rg(a)};t.Fn={buttonRotateClockwise:{movement:n.ON,pressedOn:"rotatingClockwise",stopOnRelease:p},buttonRotateCounterClockwise:{movement:n.PN,pressedOn:"rotatingCounterClockwise",
stopOnRelease:p},buttonZoomIn:{movement:n.Dn,pressedOn:"zoomingIn",stopOnRelease:p},buttonZoomOut:{movement:n.En,pressedOn:"zoomingOut",stopOnRelease:p}};t.Ug="requestYawChange";return t});
define("di",["fb","iP","kV","bY","dR"],function(a,b,c,e,d){a=a.extend(b,function(){b.call(this);this.hg=z});d.A("PlayListItem",a).B("Object").M({media:"Media",label:"string"}).Rb([c.Ai,c.Dk,c.je,c.Da]);a.prototype.start=function(){this.trigger(new e(c.Ai))};a.prototype.stop=function(){this.TE()};a.prototype.TE=function(){this.trigger(new e(c.je))};a.prototype.dy=function(){this.hg=p;this.trigger(new e(c.Dk))};a.prototype.end=function(){this.hg=z;this.trigger(new e(c.Da))};return a});
define("lp",["fb","dR","ct","di"],function(a,b,c,e){a=a.extend(e,function(){e.call(this)});b.A("MapPlayListItem",a).B("PlayListItem").M({media:"Map",player:"MapPlayer"});a.prototype.start=function(){e.prototype.start.call(this);var a=this.get("player");a&&(a.bind(c.yf,this.Tq,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",r);e.prototype.stop.call(this)};a.prototype.Tq=function(){this.get("player").unbind(c.yf,
this.Tq,this);this.get("player").bind(c.xh,this.vo,this);this.dy();this.get("player").get("map")!=this.get("media")&&this.vo()};a.prototype.vo=function(){this.get("player").unbind(c.xh,this.vo,this);this.end()};return a});
define("gv",["require","fb","iP","kV","dR"],function(a){var b=a("fb"),c=a("iP"),e=a("kV"),a=a("dR"),b=b.extend(c,function(){c.call(this);this.set("distance",2)});a.A("Menu",b).B("MenuItem").M({backgroundColor:"color",rollOverBackgroundColor:"color",selectedBackgroundColor:"color",opacity:"number",rollOverOpacity:"number",fontFamily:"string",fontColor:"color",rollOverFontColor:"color",selectedFontColor:"color",distance:"number"}).Rb([e.pc,e.Mb]).Xf([e.T]);return b});
define("m",["require","fb","iP","kV","dR"],function(a){var b=a("fb"),c=a("iP"),e=a("kV"),a=a("dR"),b=b.extend(c,function(){c.call(this)});a.A("MenuItem",b).B("Object").M({label:"string",children:"array[MenuItem]"}).Rb([e.pc,e.Mb]).Xf([e.T]);return b});
define("hU",["fb","iP","dR"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("MovementPhotoCamera",a).B("PhotoCamera").M({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("fY",["fb","iP","dR"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("Object",a).M({id:"identifier",data:"*"});return a});define("cd",[],function(){var a={js:"drag_acceleration",wn:"drag_rotation"};a.UZ=a.js;a.O_=a.wn;return a});define("lh",["fb","bY"],function(a,b){return a.extend(b,function(a){b.call(this,a);this.Jy=this.dz=this.pp=this.Gp=0})});define("ke",["fb","bY"],function(a,b){return a.extend(b,function(a){b.call(this,a);this.wX=this.Bua=0})});
define("dZ","require,fb,dl,kV,bY,eJ,cd,lh,ke".split(","),function(a){function b(a,b){return a*b}function c(a){var b=a>0?1:-1;return b*(Math.pow(10,b*a)-1)/9}function e(a,b){return Math.min(Math.max(a/b,-1),1)}var d=a("fb");a("dl");var f=a("kV"),g=a("bY"),k=a("eJ"),j=a("cd"),n=a("lh"),i=a("ke"),l=d.extend(k,function(){k.call(this);this.W4=this.X4=1800;this.uw=7;this.Pla=this.Pqa=0;this.OA=z;this.$h=m;this.Et=j.UZ;this.A9=j.O_;this.uw=0;this.xJ=m;this.tD=z;this.Zv=r;this.qt=3;this.ba=90;this.pQ=this.ku=
this.Eb=1;this.wc=this.qa=r;this.YB=z});l.prototype.Ur=function(a){this.X4=a.get("manualRotationSpeed");this.W4=a.get("manualRotationSpeed");this.qt=a.get("manualZoomSpeed");this.pQ=a.get("draggingFactor")};l.prototype.Xr=function(a){this.Et=a;this.RV()};l.prototype.rv=function(a){this.A9=a;this.RV()};l.prototype.lv=function(a){this.ba=a;this.ku=this.ba/90};l.prototype.hv=function(a){this.ji();if(a){this.qa=a;if(this.wc=a.Qta&&a.wc){this.wc.bind(f.ub,this.e7,this,p);this.wc.bind(f.Xb,this.f7,this,
p)}this.qa.bind(f.ub,this.hc,this,p);this.qa.bind(f.Hc,this.Bg,this,p);this.qa.bind(f.Xb,this.Cg,this,p);this.qa.bind(f.Kp,this.Ft,this,p);this.qa.Sa().get("settings").get(TDV.PlayerSettings.xea)!==z&&this.qa.bind(f.Cv,this.ot,this,p);this.qa.bind(f.oF,this.k3,this,p);this.qa.bind(f.nF,this.i3,this,p);this.RV()}};l.prototype.ji=function(){if(this.qa!=r){if(this.wc){this.wc.unbind(f.ub,this.e7,this);this.wc.unbind(f.Xb,this.f7,this);this.wc=r}this.qa.unbind(f.ub,this.hc,this);this.qa.unbind(f.Hc,this.Bg,
this);this.qa.unbind(f.Xb,this.Cg,this);this.qa.unbind(f.Kp,this.Ft,this);this.qa.unbind(f.Cv,this.ot,this);this.qa.unbind(f.oF,this.k3,this);this.qa.unbind(f.nF,this.i3,this);this.qa=r;this.PG()}};l.prototype.RV=function(){if(this.qa)if(this.qa.Rj){this.xJ=this.A9;this.uw=this.Pqa}else{this.xJ=this.Et;this.uw=this.Pla}};l.prototype.e7=function(){this.YB=p};l.prototype.f7=function(){this.YB=z};l.prototype.hc=function(a){if(!this.YB){this.iqa(a);this.WU()}};l.prototype.Bg=function(a){this.YB||this.Xx(a)};
l.prototype.Cg=function(){if(!this.YB){this.yQ();this.PG()}};l.prototype.Ft=function(a){this.$V(a);this.WU(500)};l.prototype.k3=function(){this.WU()};l.prototype.ot=function(a){this.aW(a)};l.prototype.i3=function(){this.PG()};l.prototype.iqa=function(a){this.OA=p;this.$h=a;this.Xx(a)};l.prototype.Xx=function(a){if(this.OA)switch(this.xJ){case j.js:this.Ora(a);break;case j.wn:this.Nra(a)}};l.prototype.Ora=function(a){this.i$(+b(c(e(Math.abs(a.x-this.$h.x)<3?0:a.x-this.$h.x,this.qa.Ba())),this.X4*this.ku),
-b(c(e(Math.abs(a.y-this.$h.y)<3?0:a.y-this.$h.y,this.qa.eb())),this.W4*this.ku))};l.prototype.Nra=function(a){this.QV(-b(e(a.x-this.$h.x,this.qa.Ba()),this.ba*this.pQ),+b(e(a.y-this.$h.y,this.qa.Ba()),this.ba*this.pQ));this.$h=a};l.prototype.yQ=function(){if(this.OA){this.OA=z;switch(this.xJ){case j.js:this.i$(0,0)}}};l.prototype.i$=function(a,b){var c=new n(l.xn);c.Gp=a;c.pp=b;this.trigger(c)};l.prototype.QV=function(a,b){var c=new n(l.xn);c.dz=a;c.Jy=b;this.trigger(c)};l.prototype.aW=function(a){if(this.Eb!=
a.scale){this.yQ();var b=this.Eb;this.Eb=a.scale;a=new i(l.Jk);a.wX=this.ba*b/this.Eb-this.ba;this.trigger(a)}};l.prototype.$V=function(a){if(a.ap!=0){this.yQ();var b=new i(l.Jk);b.wX=this.ba*-a.ap*this.qt/100;this.trigger(b)}};l.prototype.WU=function(a){var b=this.Zv!=r;this.c9();if(a&&(b||!this.tD)){var c=this;this.Zv=setTimeout(function(){c.Zv=r;c.PG()},a)}if(!this.tD){this.tD=p;this.trigger(new g(l.te))}};l.prototype.PG=function(){this.c9();if(this.tD){this.tD=z;this.trigger(new g(l.se))}};l.prototype.c9=
function(){if(this.Zv!=r){clearTimeout(this.Zv);this.Zv=r}};l.xn="rotation change";l.Jk="zoom change";l.te="user interaction start";l.se="user interaction end";return l});
define("cK",["require","r"],function(a){function b(){this.nqa=e.Va()?0.066:0.1;this.Qla=0.5;this.$pa=e.Va()?0.066:0.1;this.lsa=0.1;this.VJ=this.ZJ=z;this.reset()}function c(a,b,c){a=(b-a)*(1-c);0.01>Math.abs(a)&&(a=0);return b-a}var e=a("r");b.prototype.reset=function(){this.x2=this.NP=this.ow=this.lq=this.hA=this.RP=this.QP=this.VP=this.Jw=this.qt=this.sJ=this.uJ=this.ql=this.XB=this.Rm=this.FD=0};b.prototype.HY=function(a,b,c,e,j,n,i,l,q){return this.FD!=a||(this.XB=b)||this.uJ!=c||0!=e||0!=j||
this.VJ!=i||this.g5!=l||this.ZJ!=q?(this.FD=a,this.XB=b,this.uJ=c,this.Rm+=e,this.ql+=j,this.sJ+=n,this.VJ=i,this.g5=l,this.ZJ=q,p):z};b.prototype.Gxa=function(a,b){return this.qt!=a||0!=b?(this.qt=a,this.Jw+=b,p):z};b.prototype.hd=function(){return 0!=this.VP||0!=this.QP||0!=this.RP||0!=this.hA||0!=this.FD||0!=this.XB||0!=this.uJ||0!=this.qt||0!=this.Rm||0!=this.ql||0!=this.Jw};b.prototype.$a=function(a){var a=1E3/a,b=this.VP/a,e=this.FD/a+this.Rm;this.Rm=0;var k=this.QP/a,j=this.XB/a+this.ql;this.ql=
0;var n=this.RP/a,i=this.uJ/a+this.sJ;this.sJ=0;var l=this.qt+this.Jw*a;this.Jw=0;var q=0==e&&0==j&&0==i,o=0==b&&0==k&&0==n;this.VJ&&o&&!q||this.ZJ&&q&&!o||this.g5&&!q&&!o?(q=q?this.nqa:o?this.$pa:this.Qla,this.lq=c(b,e,q),this.ow=c(k,j,q),this.NP=c(n,i,q)):(this.lq=e,this.ow=j,this.NP=i);b=0==this.hA;e=0==l;this.hA=this.VJ&&b&&!e||this.ZJ&&e&&!b?c(this.hA,l,this.lsa):l;this.VP=this.lq*a;this.QP=this.ow*a;this.RP=this.NP*a;this.x2=this.hA/a};return b});
define("cs","jquery.mod,fb,d,dZ,cK,V,kV".split(","),function(a,b,c,e,d,f,g){b=b.extend(c,function(){c.call(this);this.Tc("Renderer");this.t=a("<canvas></canvas>");this.t.css({position:"absolute",left:0,top:0});this.Pa().append(this.t);this.Eq=r;this.$=this.Mw=this.Kw=this.Lw=0;this.hg=z;this.Dna=150;this.HA=0;this.Oi=r;this.bind(g.vb,this.lb,this,p);this.ua=new e;this.ua.cAa(720);this.ua.BE(0);this.ua.Xr("drag_rotation");this.ua.lv(360);this.ua.bind(e.xn,this.Pma,this);this.Xa=new d});b.prototype.Nwa=
function(a,b,c){this.Eq=a;this.Lw=b;this.Kw=c;this.Mw=Math.floor(this.Eq.length*this.$/360);this.gU();this.ua.hv(this);this.fa()};b.prototype.Msa=function(){this.Eq=r;this.Gm();this.gU();this.ua.ji()};b.prototype.play=function(){this.hg=p;this.fa()};b.prototype.Pma=function(a){this.Gm();this.Xa.HY(a.Gp,a.pp,0,a.dz,a.Jy,0,z,p);this.fa()};b.prototype.QS=function(){this.play()};b.prototype.Dg=function(a){if(this.Eq)if(this.Xa.hd()){this.hg=z;this.Xa.$a(a);this.U0(this.Xa.lq);this.fa()}else if(this.hg){this.U0(this.Dna*
a/1E3);this.fa()}else this.Ow()||this.IC()};b.prototype.eda=function(a){for(this.$=a;this.$<0;)this.$=this.$+360;for(;this.$>=360;)this.$=this.$-360;this.yra()};b.prototype.yra=function(){if(this.Eq){var a=Math.floor(this.Eq.length*this.$/360);if(this.Mw!=a){this.Mw=a;this.D7()}}};b.prototype.U0=function(a){this.eda(this.$+a)};b.prototype.lb=function(){this.gU()};b.prototype.gU=function(){var a=this.t.get(0);if(this.Lw==0||this.Kw==0){a.width=0;a.height=0}else{var b=this.Dd(),c=this.Cd();if(c*this.Lw>
b*this.Kw){a.width=b;a.height=this.Kw*b/this.Lw}else{a.height=c;a.width=this.Lw*c/this.Kw}this.t.css({left:Math.round((b-a.width)*0.5)+"px",top:Math.round((c-a.height)*0.5)+"px"});this.D7()}};b.prototype.D7=function(){if(this.Eq){var a=this.t.get(0),b=this.Eq[this.Mw];a.getContext("2d").drawImage(b,0,0,this.Lw,this.Kw,0,0,a.width,a.height)}};b.prototype.Ow=function(){return this.Oi?p:z};b.prototype.IC=function(){this.Gm();if(this.HA>0){var a=this;this.Oi=setTimeout(function(){a.Oi=r;a.QS()},this.HA)}};
b.prototype.Gm=function(){if(this.Oi){clearTimeout(this.Oi);this.Oi=r}};b.prototype.fa=function(){f.La(this.Dg,this)};return b});
define("jo","require,jquery.mod,dl,fb,kV,fZ,bY,dR,eC,cq,cs,kC,hS".split(","),function(a){a("jquery.mod");var b=a("dl"),c=a("fb"),e=a("kV"),d=a("fZ"),f=a("bY"),g=a("dR");a("eC");ProgressBar=a("cq");Renderer=a("cs");Container=a("kC");ImageLoader=a("hS");a=c.extend(Container,function(){Container.call(this);this.dd=this.Qi=this.Se=this.g=r;this.bind(e.ld,this.bh,this);this.bind(e.wd,this.ah,this)});g.A("Object3D",a).B("UIComponent").M({frames:"array[ImageResource]",yaw:"number"}).Rb([e.R]);a.prototype.Ha=
function(){Container.prototype.Ha.call(this);if(!this.g){this.g=new Renderer;this.g.N({left:0,top:0,right:0,bottom:0});this.la(this.g)}if(!this.Se){this.Se=new ProgressBar;this.Se.N({left:0,bottom:0,right:0,height:20,visible:z});this.la(this.Se)}};a.prototype.bh=function(){this.ZA()};a.prototype.ah=function(){this.jk()};a.prototype.ZA=function(){this.Se.set("percent",0);this.Se.set("visible",p);this.g.eda(this.get("yaw"));var a=this.get("frames",[]);this.Qi=[];this.dd=[];for(var b=0;b<a.length;b++){this.Qi.push(Level.Ol(a[b]));
var c=new ImageLoader(d.Bj);c.bind(e.R,this.vB,this);c.bind(e.ie,this.wB,this);this.dd.push(c)}for(b=0;b<a.length;b++)this.dd[b].load(this.Qi[b].get("url"))};a.prototype.vB=function(){var a=b(this.dd).filter(function(a){return a.kp()});this.Se.set("percent",100*a.length/this.dd.length);a.length==this.dd.length&&this.Lf()};a.prototype.wB=D();a.prototype.Lf=function(){this.Se.set("visible",z);var a=this.Qi[0].get("width",this.dd[0].Xc()),c=this.Qi[0].get("height",this.dd[0].Kd());this.g.Nwa(b(this.dd).map(function(a){return a.pe()}),
a,c);this.trigger(new f(e.R))};a.prototype.jk=function(){if(this.dd){this.Se.set("visible",z);this.g.Msa();this.dd=b(this.dd).each(function(a){a.unbind(e.R,this.vB,this);a.unbind(e.ie,this.wB,this);a.cancel()});this.Qi=this.dd=r}};return a});
define("fe",["require","fb","iP","dR"],function(a){var b=a("fb"),c=a("iP"),a=a("dR"),b=b.extend(c,function(a,b,f){c.call(this);a!==m&&this.set("yaw",a);b!==m&&this.set("pitch",b);f!==m&&this.set("hfov",f)});a.A("RotationalCameraPosition",b).B("Object").M({stereographicFactor:"number",yaw:"number",pitch:"number",hfov:"number"});return b});
define("ce",["require","fb","fe","dR"],function(a){var b=a("fb"),c=a("fe"),a=a("dR"),b=b.extend(c,function(){c.apply(this,arguments)});a.A("PanoramaCameraPosition",b).B("RotationalCameraPosition");return b});
define("fz","require,fb,iP,dR,ce,fe".split(","),function(a){var b=a("fb"),c=a("iP"),e=a("dR"),d=a("ce"),f=a("fe"),g=b.extend(c,function(){c.call(this);this.set("initialPosition",new f);this.set("draggingFactor",1);this.set("hoverFactor",0);this.set("manualRotationSpeed",1800);this.set("manualZoomSpeed",1);this.set("automaticRotationSpeed",10);this.set("automaticZoomSpeed",10)});e.A("RotationalCamera",g).B("Object").M({displayOriginPosition:"RotationalCameraDisplayPosition",displayMovements:"array[TargetRotationalCameraDisplayMovement]",
draggingFactor:"number",hoverFactor:"number",initialPosition:"RotationalCameraPosition",initialSequence:"RotationalCameraSequence",idleSequence:"RotationalCameraSequence",sequences:"array[RotationalCameraSequence]",timeToIdle:"number",manualRotationSpeed:"number",manualZoomSpeed:"number",automaticRotationSpeed:"number",automaticZoomSpeed:"number"});a=b.extend(g,function(){g.call(this);this.set("initialPosition",new d)});e.A("PanoramaCamera",a).B("RotationalCamera");return a});
define("ja",["require","fb","fe","dR"],function(a){var b=a("fb"),c=a("fe"),a=a("dR"),b=b.extend(c,function(){c.apply(this,arguments)});a.A("RotationalCameraDisplayPosition",b).B("RotationalCameraPosition").M({stereographicFactor:"number"});return b});define("if",["require","fb","ja","dR"],function(a){var b=a("fb"),c=a("ja"),a=a("dR"),b=b.extend(c,function(){c.apply(this,arguments)});a.A("PanoramaCameraDisplayPosition",b).B("RotationalCameraDisplayPosition");return b});
define("bf",["require","fb","iP","dR"],function(a){var b=a("fb"),c=a("iP"),a=a("dR"),b=b.extend(c,function(){c.call(this)});a.A("PanoramaCameraMovement",b).B("RotationalCameraMovement");return b});
define("im","require,fb,iP,bY,dR,kV".split(","),function(a){var b=a("fb"),c=a("iP"),e=a("bY"),d=a("dR"),f=a("kV"),a=b.extend(c,function(){c.call(this)});a.prototype.play=function(){this.trigger(new e(f.zs))};a.prototype.pause=function(){this.trigger(new e(f.xF))};d.A("RotationalCameraSequence",a).B("Object").M({movements:"array[RotationalCameraMovement]",mandatory:"bool",movementIndex:"number",repeat:"number",restartMovementOnUserInteraction:"bool",restartMovementDelay:"number"}).Qg({pause:a.prototype.pause,
play:a.prototype.play}).Rb([f.Da,f.As]);return a});define("bw",["require","fb","dR","im"],function(a){var b=a("fb"),c=a("dR"),e=a("im"),a=b.extend(e,function(){e.call(this)});c.A("PanoramaCameraSequence",a).B("RotationalCameraSequence");return a});define("gu",["fb","iP","dR"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("PanoramaMapLocation",a).B("Object").M({map:"Map",x:"number",y:"number",angle:"number",visible:"bool"});return a});
define("li",["require","fb","iP","dR"],function(a){var b=a("fb"),c=a("iP"),a=a("dR"),b=b.extend(c,function(){c.call(this)});a.A("PanoramaOverlay",b).B("Object");return b});
define("cx",["require","fp","fw","a"],function(a){function b(a){this.g=a;this.Sk=[];this.rR=z;this.ma=this.$=0}var c=a("fp"),e=a("fw"),d=a("a");b.prototype.clear=function(){this.stop();this.Sk=this.g=r};b.prototype.end=function(a){var b=[],d=[],e=this.P3(a);this.Sk.forEach(function(a){0>e.indexOf(a)?b.push(a):d.push(a)});b.forEach(function(a){a.Mu().ec(c.K)});this.Sk=d;this.rR=z};b.prototype.start=function(a){this.end(a);this.Sk=this.P3(a);this.rR=0<this.Sk.filter(function(a){return a instanceof e}).length;
this.R9();this.EJ(c.S,p)};b.prototype.play=function(){this.EJ(c.S)};b.prototype.pause=function(){this.EJ(c.uc)};b.prototype.stop=function(){this.EJ(c.K)};b.prototype.Ub=function(){this.$=this.g.Qb();this.ma=this.g.Vb();this.R9()};b.prototype.R9=function(){if(this.rR){var a=Math.PI/180,b=this.$*a,c=this.ma*a,j=new d(Math.sin(b)*Math.cos(c),Math.sin(c),Math.cos(b)*Math.cos(c));this.Sk.forEach(function(n){if(n instanceof e){var i=n.get("yaw",b)*a,l=n.get("pitch",c)*a,q=n.get("maximumAngle",360)*a,i=
new d(Math.sin(i)*Math.cos(l),Math.sin(l),Math.cos(i)*Math.cos(l)),q=Math.min(1,Math.max(0,1-Math.acos(j.Gu(i))/q));n.Mu().Ap(q)}}.bind(this))}};b.prototype.P3=function(a){return a?a.get("audios",[]):[]};b.prototype.EJ=function(a,b){(b?this.Sk.slice().reverse():this.Sk).forEach(function(b){if(b.get("autoplay",z)){var b=b.Mu(),d=b.Ge();a==c.S&&d!=c.S?b.ec(c.S):a==c.uc&&d==c.S?b.ec(c.uc):a==c.K&&d!=c.K&&b.ec(c.K)}})};return b});
define("gr","require,dl,kV,ih,dY,a,jX".split(","),function(a){function b(a){this.g=a;this.Z=z;this.bj=b.Es;this.FQ=this.p4=z;this.Sg(r);this.g.bind(e.vb,this.lb,this,p);this.lb()}var c=a("dl"),e=a("kV"),d=a("ih"),f=a("dY"),g=a("a"),k=a("jX");b.prototype.fba=function(){return this.bj!==b.Es};b.prototype.eba=function(){return this.bj&b.Nv?p:z};b.prototype.gba=function(){return this.bj&b.Ov?p:z};b.prototype.hba=function(){return this.bj&b.Hs?p:z};b.prototype.dba=function(){return this.bj&b.Ds?p:z};b.prototype.gM=
P("p4");b.prototype.Qb=function(){this.gj();return this.$};b.prototype.Vb=function(){this.gj();return this.ma};b.prototype.Ld=function(){this.gj();return this.Db};b.prototype.fp=function(){this.gj();return this.ba};b.prototype.Sg=function(a){if(a){this.kT=a.get("hfov",360);this.LI=a.get("vfov",180);this.TB=a.get("pitch",0);this.Rt=a.get("partial",z);this.tR=a.jba();this.qR=a.Zaa();this.yR=Math.min(a.get("hfovMax",170),170);this.FA=a.get("hfovMin");this.yS=k.Gaa(a)}else{this.kT=360;this.LI=180;this.TB=
0;this.qR=this.tR=this.Rt=z;this.yR=120;this.yS=this.FA=1}this.$=0;this.ma=this.TB;this.Db=0;this.Z=p};b.prototype.Fa=function(a,b,c,d,e){this.$=a;this.ma=b;this.Db=c;this.ba=d;this.FQ=e;this.Z=p};b.prototype.lb=function(){var a=this.g.Ba(),b=this.g.eb();if(this.W!=a||this.ea!=b){this.W=a;this.ea=b;this.Z=p}};b.prototype.gj=function(){if(this.Z){this.Z=z;var a=this.$*i,e=this.ma*i,k=this.ba*i,s,u,v,w=(this.FQ?d.sn(this.yR,this.W,this.ea):this.yR)*i,x;a:{x=this.FA;if(c(x).isString())if((x=x.match(/^\s*([+-]?\d+\.?\d*)\s*%\s*$/))&&
x.length>=2){x=parseFloat(x[1]);break a}x=m}x=x!==m?2*Math.atan2(this.W*this.g.getPixelRatio()*0.5,this.yS*45*x/100):this.FA?(this.FQ?d.sn(this.FA,this.W,this.ea):this.FA)*i:2*Math.atan2(this.W*this.g.getPixelRatio()*0.5,this.yS*45);x=Math.min(w,x);if(this.p4){s=360;v=180;u=0}else if(this.tR||this.qR){s=this.qR?90:this.TB+this.LI*0.5;var y=this.tR?-90:this.TB-this.LI*0.5;v=s-y;u=(s+y)*0.5;s=this.kT}else{s=this.kT;u=this.TB;v=this.LI}s=s*i;v=v*i;u=u*i;for(y=this.W/this.ea;a<-j;)a=a+2*j;for(;a>j;)a=
a-2*j;k=Math.max(Math.min(k,w),x);w=b.Es;e>n?w=w|b.Hs:e<-n&&(w=w|b.Ds);var e=Math.max(Math.min(e,j*0.5),-j*0.5),E=2*Math.atan(Math.tan(k*0.5)/y);if(E>=v){k=2*Math.atan(Math.tan(v*0.5)*y);e=u;w=w|b.Hs|b.Ds}else{var B=Math.min(v*0.5+u,j*0.5);v=Math.max(-v*0.5+u,-j*0.5);u=!this.Rt&&B>=j*0.495?j*0.5:B-E*0.5;v=!this.Rt&&v<=-j*0.495?-j*0.5:v+E*0.5;if(e>u){e=u;w=w|b.Hs}else if(e<v){e=v;w=w|b.Ds}}if(this.Rt){v=Math.tan(k*0.5);y=v/y;y=new g(-v,e>0?y:-y,1);v=new f;v.mn(-e);y.apply(v);y=y.Qb()*2;y<0&&(y=y+2*
j);v=s*0.5-y*0.5;E=-s*0.5+y*0.5;if(y>s){a=0;k=Math.max(x,k*s/y);w=w|b.Nv|b.Ov}else if(a>v){a=v;w=w|b.Ov}else if(a<E){a=E;w=w|b.Nv}}this.$=a*l;this.ma=e*l;this.ba=k*l;this.bj=w}};var j=Math.PI,n=Math.PI*0.5,i=Math.PI/180,l=180/Math.PI;b.Es=0;b.Nv=1;b.Ov=2;b.Hs=4;b.Ds=8;return b});
define("S",["require","fb","kV","eJ","lh"],function(a){function b(a,b){return a*b}var c=a("fb"),e=a("kV"),d=a("eJ"),f=a("lh"),g=c.extend(d,function(){d.call(this);this.OA=z;this.$h=m;this.ba=90;this.CQ=0.1;this.pb=this.qa=r});g.prototype.Ur=function(a){this.pb&&this.pb.unbind(e.G("hoverFactor"),this.FV,this);if(this.pb=a)this.pb.bind(e.G("hoverFactor"),this.FV,this),this.FV()};g.prototype.FV=function(){this.CQ=this.pb.get("hoverFactor")};g.prototype.lv=P("ba");g.prototype.hv=function(a){this.ji();
a&&(this.qa=a,this.$h=m,this.qa.bind(e.Hc,this.Bg,this,p))};g.prototype.ji=function(){this.qa!=r&&(this.qa.unbind(e.Hc,this.Bg,this),this.qa=r)};g.prototype.Bg=function(a){this.Xx(a)};g.prototype.Xx=function(a){this.$h&&this.QV(+b(Math.min(Math.max((a.x-this.$h.x)/this.qa.Ba(),-1),1),this.ba*this.CQ),-b(Math.min(Math.max((a.y-this.$h.y)/this.qa.Ba(),-1),1),this.ba*this.CQ));this.$h=a};g.prototype.QV=function(a,b){if(!(0==a&&0==b)){var c=new f(g.xn);c.dz=a;c.Jy=b;this.trigger(c)}};g.xn="rotation change";
return g});
define("fu","require,dl,fb,bY,eJ,cK,S".split(","),function(a){a("dl");var b=a("fb"),c=a("bY"),e=a("eJ"),d=a("cK"),f=a("S"),g=b.extend(e,function(a,b,c){e.call(this);this.g=a;this.Nb=this.g.Nb;this.H=b;this.nb=c;this.hr=this.MF=this.V=z;this.Xa=new d;this.lg=r;this.Db=this.ma=this.$=0;this.ba=90;this.ua=new f;this.ua.bind(f.xn,this.yB,this,p)});g.prototype.clear=function(){this.ua.unbind(f.xn,this.yB,this,p);this.ua.ji();this.ua=r;this.Xs();this.g=this.Nb=this.nb=this.H=this.Xa=r};g.prototype.Ur=function(a){this.Xa.reset();
this.ua.Ur(a)};g.prototype.Fa=function(a,b,c,d){if(this.$!=a||this.ma!=b||this.Db!=c||this.ba!=d){this.$=a;this.ma=b;this.Db=c;this.ba=d;this.ua.lv(this.ba);this.uU(z);this.KC()}};g.prototype.hd=function(){return this.MF&&this.hr?p:z};g.prototype.$a=function(a){this.Ar=z;this.Xa.$a(a);this.hr=z;var a=this.$+this.Xa.lq,b=this.ma+this.Xa.ow;this.nb.Ul(this.ba);this.H.Fa(a,b,this.Db,this.nb.Fe(),this.nb.cp());this.$=this.H.Qb();this.ma=this.H.Vb();this.Db=this.H.Ld();this.ba=this.H.fp()};g.prototype.Nl=
R("$");g.prototype.Ml=R("ma");g.prototype.Nr=R("Db");g.prototype.Nu=R("ba");g.prototype.kd=function(a){if(this.V!=a)if(this.V=a)this.KC();else{this.Xs();this.uU(z)}};g.prototype.yB=function(a){this.sb(a.Gp,a.pp,0,0,a.dz,a.Jy,0,0,z,z,p,p)};g.prototype.sb=function(a,b,c,d,e,f,g,t,s,u,v,w){var x=this.Xa.HY(a,b,c,e,f,g,u,v,w)||x;x&&this.rf()};g.prototype.rf=function(){this.hr=p;this.trigger(new c(g.cf))};g.prototype.KC=function(){this.Xs();this.lg=setTimeout(this.KB.bind(this),30)};g.prototype.Xs=function(){if(this.lg){clearTimeout(this.lg);
this.lg=r}};g.prototype.KB=function(){this.uU(this.V)};g.prototype.uU=function(a){if(this.MF!=a)if(this.MF=a){this.Xa.reset();this.ua.hv(this.g.getParent());this.rf()}else this.ua.ji()};g.cf="position change request";return g});
define("fJ","fb,kV,bY,eJ,r,fO".split(","),function(a,b,c,e,d,f){a=a.extend(e,function(){e.call(this);this.v$=this.V=z;this.Db=this.ma=this.$=0;this.qJ=z;this.ql=this.Rm=0});a.prototype.kd=function(a){if(this.V!=a)if(this.V=a){f.bind(this.Kt,this,p);var a=f.cn(),b=a.pitch;this.Rm=this.$-a.yaw;this.ql=this.ma-b;this.lk()}else f.unbind(this.Kt,this,p)};a.prototype.Fa=function(a,b,c){if(this.$!=a){this.Rm=this.du(this.Rm+(a-this.du(this.$,a)),0);this.$=a}if(this.ma!=b){this.ql=this.ql+(b-this.ma);this.ma=
b}this.Db=c};a.prototype.Nl=R("$");a.prototype.Ml=R("ma");a.prototype.Nr=R("Db");a.prototype.hd=function(){return f.zva()};a.prototype.$a=function(a){var b=f.cn(),a=20*a/1E3,c=b.pitch+(this.v$?this.ql:0),d=b.roll;this.$=this.xe(this.$,this.du(this.du(b.yaw,this.$)+this.Rm,this.$),a);this.ma=this.xe(this.ma,c,a);this.Db=this.xe(this.Db,d,a)};a.prototype.Cxa=P("v$");a.prototype.xe=function(a,b,c){a=(b-a)*(1-c);Math.abs(a)<0.01&&(a=0);return b-a};a.prototype.du=function(a,b){for(;a+180<b;)a=a+360;for(;a-
180>b;)a=a-360;return a};a.prototype.Kt=function(){this.V&&this.lk()};a.prototype.lk=function(){this.trigger(new c(b.aa))};return a});define("fR",["require"],function(){return{DF:38,fF:40,Ja:39,na:37,zM:65,aO:90}});define("do",[],function(){return{Gv:"left",Hv:"right",Fv:"down",Iv:"up",C_:"rotate10x",$_:"zoom2x",S:"playing",Dn:"zoomIn",En:"zoomOut",je:"stop"}});
define("ed","require,fb,fR,bY,eJ,do".split(","),function(a){var b=a("fb"),c=a("fR"),e=a("bY"),d=a("eJ"),f=a("do"),g=b.extend(d,function(a){d.call(this);this.g=a;this.V=z;this.Hf={};this.GC=r;this.AC=this.FC=z;this.FH=this.FH.bind(this);this.ko=this.ko.bind(this);this.Nb=this.g.Nb;document.addEventListener("keydown",this.FH);document.addEventListener("keyup",this.ko)});g.prototype.clear=function(){this.V=z;this.Nb=this.g=r;document.removeEventListener("keydown",this.FH);document.removeEventListener("keyup",
this.ko)};g.prototype.kd=function(a){if(this.V!=a)(this.V=a)&&this.pK()};var k=[c.DF,c.fF,c.na,c.Ja,c.zM,c.aO];g.prototype.FH=function(a){var b=a.which,c=z;if(!this.Hf[b]&&k.indexOf(b)>=0){if(!this.GC&&!this.FC)this.GC=setTimeout(this.Sma.bind(this),100);c=this.Hf[b]=p}if(this.AC!=a.shiftKey){this.AC=a.shiftKey;c=p}c&&this.pK()};g.prototype.Sma=function(){this.FC=p;this.pK()};g.prototype.ko=function(a){var b=a.which,c=z;if(b in this.Hf){delete this.Hf[b];c=z;for(b in this.Hf)this.Hf[b]&&(c=p);if(!c){this.GC&&
clearTimeout(this.GC);this.GC=r;this.FC=z}c=p}if(this.AC!=a.shiftKey){this.AC=a.shiftKey;c=p}c&&this.pK()};g.prototype.pK=function(){if(this.V){var a=this.Nb.get("arrowKeysAction");if(a!="none"){var a=a=="rotate",b=[];this.Hf[c.zM]?b.push(f.Dn):this.Hf[c.aO]&&b.push(f.En);this.FC&&(this.Hf[c.zM]||this.Hf[c.aO])&&b.push(f.$_);this.Hf[c.na]?b.push(f.Gv):this.Hf[c.Ja]&&b.push(f.Hv);if(a||this.AC)this.Hf[c.DF]?b.push(f.Iv):this.Hf[c.fF]&&b.push(f.Fv);this.FC&&(this.Hf[c.na]||this.Hf[c.Ja]||this.Hf[c.DF]||
this.Hf[c.fF])&&b.push(f.C_);b.length==0&&b.push(f.je);this.trigger(new e(g.hN,{Sba:b}))}}};g.hN="movementsChange";return g});
define("lc",["require"],function(){function a(){this.Is=p;this.reset()}function b(a,b){var d=0.5*(b-a);0.01>Math.abs(d)&&(d=0);return b-d}a.prototype.reset=function(){this.Is&&(this.Is=z,this.bK=this.cK=this.Po=this.ej=this.pw=this.sw=this.qw=this.nq=m)};a.prototype.moveTo=function(a,b,d,f,g){this.ej=a;this.Po=b;this.cK=d;this.bK=f;this.NR=g;this.Is=p};a.prototype.Fa=function(a,b,d,f){this.nq=a;this.qw=b;this.sw=d;this.pw=f};a.prototype.Nl=R("nq");a.prototype.Ml=R("qw");a.prototype.Nr=R("sw");a.prototype.Nu=
R("pw");a.prototype.hd=R("Is");a.prototype.$a=function(){if(this.Is)if(this.NR)this.nq=this.ej,this.qw=this.Po,this.sw=this.cK,this.pw=this.bK,this.Is=z;else{for(var a=this.nq,e=this.ej-180,d=this.ej+180;a<e;)a+=d-e;for(;a>d;)a-=d-e;this.nq=a;this.nq=b(this.nq,this.ej);this.qw=b(this.qw,this.Po);this.sw=b(this.sw,this.cK);this.pw=b(this.pw,this.bK);this.nq==this.ej&&this.qw==this.Po&&this.sw==this.cK&&this.pw==this.bK&&(this.Is=z)}};return a});
define("bU",["require","kf","jf","bi"],function(a){function b(){this.V=z;this.Db=this.ma=this.$=0;this.IH=m}var c=a("kf"),e=a("jf"),d=a("bi");b.prototype.kd=function(a){this.V!=a&&(this.V=a,this.IH=m)};b.prototype.Fa=function(a,b,c){this.$=a;this.ma=b;this.Db=c};b.prototype.Nl=R("$");b.prototype.Ml=R("ma");b.prototype.Nr=R("Db");b.prototype.hd=S(p);b.prototype.$a=function(){var a=c.YY(d.an().orientation);this.$+=this.IH===m?0:a.ha-this.IH;this.IH=a.ha;this.ma=a.pitch;this.Db=a.jd;this.ma=g===m?a.pitch:
g;this.Db=f===m?a.jd:f};var f=e.Wf("debug")?e.lL("force_vr_roll"):m,g=e.Wf("debug")?e.lL("force_vr_pitch"):m;return b});
define("f","require,dl,fb,kV,bY,eJ,cd,fJ,ed,cK,dZ,lc,bU,do,bi,R".split(","),function(a){var b=a("dl"),c=a("fb"),e=a("kV"),d=a("bY"),f=a("eJ"),g=a("cd"),k=a("fJ"),j=a("ed"),n=a("cK"),i=a("dZ"),l=a("lc"),q=a("bU"),o=a("do"),t=a("bi"),s=a("R"),u=c.extend(f,function(a,b,c){f.call(this);this.g=a;this.Nb=this.g.Nb;this.H=b;this.nb=c;this.hr=this.yq=this.BA=this.gJ=this.V=z;this.Xa=new n;this.Al=new l;this.Db=this.ma=this.$=0;this.ba=90;this.ku=1;this.hf=m;this.LO=this.Kz=5;this.Ar=z;this.ua=new i;this.ua.bind(i.xn,
this.yB,this,p);this.ua.bind(i.Jk,this.Vq,this,p);this.ua.bind(i.te,this.ml,this,p);this.ua.bind(i.se,this.ll,this,p);this.Hh=new k;this.Hh.bind(e.aa,this.K5,this);this.xq=z;this.Pi=new j(this.g);this.Pi.bind(j.hN,this.W5,this,p);this.Om=new q;t.bind(e.aa,this.Xj,this,p);this.Xj()});u.prototype.clear=function(){this.ua.unbind(i.xn,this.yB,this,p);this.ua.unbind(i.Jk,this.Vq,this,p);this.ua.unbind(i.te,this.ml,this,p);this.ua.unbind(i.se,this.ll,this,p);this.ua.ji();this.ua=r;this.Hh.unbind(e.aa,this.K5,
this);this.Hh=r;this.Pi.unbind(j.hN,this.W5,this,p);this.Pi.clear();this.Pi=r;t.unbind(e.aa,this.Xj,this,p);this.nb=this.H=this.Xa=r;this.rG();this.g=this.Nb=r};u.prototype.Ur=function(a){this.Xa.reset();this.Al.reset();this.ua.Ur(a);this.Kz=a.get("automaticRotationSpeed");this.LO=a.get("automaticZoomSpeed")};u.prototype.Rg=function(a){function c(d){return b(a).contains(d)}b.isArray(a)||(a=[a]);var d=0,e=0,f=0,g=z;if(!c(o.je)){c(o.Gv)?d=-this.Kz:c(o.Hv)&&(d=+this.Kz);c(o.Fv)?e=-this.Kz:c(o.Iv)&&(e=
+this.Kz);c(o.Dn)?f=-this.LO:c(o.En)&&(f=+this.LO);c(o.S)&&(g=p);c(o.$_)&&(f=f*2);if(c(o.C_)){d=d*10;e=e*10}d=d*this.ku;e=e*this.ku}this.sb(d,e,0,f,0,0,0,0,g,p,p,p)};u.prototype.Fa=function(a,b,c,d){this.$=a;this.ma=b;this.Db=c;this.ba=d;this.ku=this.ba/90;this.Hh.Fa(this.$,this.ma,this.Db);this.Om.Fa(this.$,this.ma,this.Db);this.ua.lv(this.ba);this.Al.Fa(this.$,this.ma,this.Db,this.ba)};u.prototype.moveTo=function(a,b,c,d,e){this.Al.moveTo(a,b,c,this.nb.oaa(d),e);this.gJ=z;this.Xa.reset();this.rf()};
u.prototype.IY=function(a,b,c){this.sb(0,0,0,0,a,b,c,0,z,z,z)};u.prototype.hd=function(){return this.V&&(this.hr||this.vM())?p:z};u.prototype.Psa=function(){this.hr=this.Ar=z};u.prototype.vM=function(){return this.V?this.Ar?p:this.Om.V?this.Om.hd()||this.Xa.hd():this.Hh.V?this.xq?p:this.Hh.hd()||this.Xa.hd():this.Xa.hd()||this.Al.hd():z};u.prototype.$a=function(a){this.Ar=z;this.Xa.$a(a);this.hr=z;var b,c,d;d=this.ba;if(this.Om.V){this.Om.$a(a);a=this.Om.Nl()+this.Xa.lq;b=this.Om.Ml();c=this.Om.Nr()}else if(this.Al.hd()){this.Al.$a(a);
a=this.Al.Nl();b=this.Al.Ml();c=this.Al.Nr();d=this.Al.Nu()}else{if(this.Hh.V){this.xq=z;this.Hh.$a(a);a=this.Hh.Nl()+this.Xa.lq;b=this.Hh.Ml();this.BA&&(b=b+this.Xa.ow);c=this.Hh.Nr()}else{a=this.$+this.Xa.lq;b=this.ma+this.Xa.ow;c=0}d=d+this.Xa.x2}this.nb.Ul(d);this.H.Fa(a,b,c,this.nb.Fe(),this.nb.cp());this.$=this.H.Qb();this.ma=this.H.Vb();this.Db=this.H.Ld();this.ba=this.H.fp();if(this.gJ&&this.H.fba()){d=this.Xa.FD;if(this.H.eba()||this.H.gba())d=-d;a=this.Xa.XB;if(this.H.hba()||this.H.dba())a=
-a;this.sb(d,a,0,0,0,0,0,0,p,z,z,p)}};u.prototype.Nl=R("$");u.prototype.Ml=R("ma");u.prototype.Nr=R("Db");u.prototype.Nu=R("ba");u.prototype.kd=function(a){if(this.V!=a){if(this.V=a){this.sr(this.ua.Et==g.wn?s.pF:m);this.ua.hv(this.g.getParent());this.rf()}else{this.rG();this.ua.ji()}this.LV()}};u.prototype.DE=function(a){if(this.yq!=a){this.yq=a;this.LV();this.xq=p}};u.prototype.Wr=function(a){this.Pi.kd(a)};u.prototype.LV=function(){this.Hh.kd(this.V&&this.yq&&!t.isPresenting());this.Om.kd(this.V&&
t.isPresenting())};u.prototype.K5=function(){this.rf()};u.prototype.EE=function(a){this.BA=a;this.Hh.Cxa(this.BA)};u.prototype.Xr=function(a){this.ua.Xr(a);this.sr(this.ua.Et==g.wn?s.pF:m)};u.prototype.rv=function(a){this.ua.rv(a)};u.prototype.Xj=function(){this.LV();this.rf()};u.prototype.yB=function(a){var b=!this.Om.V&&(!this.Hh.V||this.BA);if(this.ua.Et==g.js){var c=m;if(a.Gp!=0||a.pp!=0){var d=Math.sqrt(a.pp*a.pp+a.Gp*a.Gp)>25,e=Math.atan2(a.pp,a.Gp)*180/Math.PI;e>=-22.5&&e<22.5?c=d?s.XZ:s.WZ:
e>=22.5&&e<67.5?c=d?s.ZZ:s.f_:e>=67.5&&e<112.5?c=d?s.YZ:s.e_:e>=112.5&&e<157.5?c=d?s.$Z:s.g_:e>=157.5||e<-157.5?c=d?s.d_:s.k_:e>=-157.5&&e<-112.5?c=d?s.c_:s.j_:e>=-112.5&&e<-67.5?c=d?s.a_:s.h_:e>=-67.5&&e<-22.5&&(c=d?s.b_:s.i_)}this.sr(c);this.sb(a.Gp,a.pp,0,0,a.dz,a.Jy,0,0,z,z,z,b)}else this.sb(a.Gp,a.pp,0,0,a.dz,a.Jy,0,0,z,z,b,b)};u.prototype.Vq=function(a){this.sb(0,0,0,a.Bua,0,0,0,a.wX,z,p,z,p)};u.prototype.sb=function(a,b,c,d,e,f,g,i,j,k,l,n){a=this.Xa.HY(a,b,c,e,f,g,k,l,n)||z;this.Nb.get("zoomEnabled")&&
(a=this.Xa.Gxa(d,i)||a);if(a){this.Al.reset();this.gJ=j;this.rf()}};u.prototype.rf=function(){this.hr=p;this.trigger(new d(u.cf))};u.prototype.ml=function(){this.Ar=p;this.trigger(new d(u.te));this.ua.Et==g.wn&&this.sr(s.qF)};u.prototype.ll=function(){this.trigger(new d(u.se));this.ua.Et==g.wn&&this.sr(s.pF)};u.prototype.W5=function(a){this.Rg(a.data.Sba);a.data.Sba.indexOf(o.je)<0&&this.g.Sa().trigger(new d(e.jF,{gda:a}))};u.prototype.sr=function(a){if(this.hf!=a&&this.V){this.hf&&this.g.Ky(this.hf);
(this.hf=a)&&this.g.ZL(this.hf)}};u.prototype.rG=function(){if(this.hf){this.g.Ky(this.hf);this.hf=m}};u.cf="position change request";u.te="user interaction start";u.se="user interaction end";return u});
define("jG",["require","fb","iP","dR"],function(a){var b=a("fb"),c=a("iP"),a=a("dR"),b=b.extend(c,function(){c.call(this)});a.A("TargetRotationalCameraMovement",b).B("RotationalCameraMovement").M({path:"enum[left, right, shortest, longest]",targetYaw:"number",targetPitch:"number",targetHfov:"number"});return b});
define("G","require,fb,kV,fp,bY,eJ,dR,fj,jG,kH,bq".split(","),function(a){var b=a("fb"),c=a("kV"),e=a("fp"),d=a("bY"),f=a("eJ"),g=a("dR");a("fj");a("jG");var k=a("kH"),j=a("bq"),n=b.extend(f,function(a,b,c){f.call(this);this.g=a;this.H=b;this.nb=c;this.yx=this.rd=r;this.dr=this.er=z;this.St=m;this.Zw=[];this.dU=0;this.O=r;this.ma=this.$=0;this.ba=90});n.prototype.clear=function(){this.end();this.H=this.g=r};n.prototype.start=function(a){this.Bpa(a);this.una();this.dr=z;this.P1();this.er=z;this.rf();
this.Ig()};n.prototype.end=function(){if(this.rd!=r){this.V1();this.er=this.dr=z;this.O=r;this.Ig()}};n.prototype.Eva=function(){if(this.rd&&this.rd.get("restartMovementOnUserInteraction")){if(!this.er){this.j9();this.$U();this.O=r;this.er=p;this.Ig()}}else this.pause()};n.prototype.Iva=function(){if(this.er){this.er=z;this.F4()||this.hqa()}};n.prototype.Bpa=function(a){this.V1();this.rd=a;this.rd.bind(c.zs,this.B6,this,p);this.rd.bind(c.xF,this.A6,this,p);this.rd.bind(c.G("movementIndex"),this.qI,
this,p);this.Zw=this.rd.get("movements",[])};n.prototype.V1=function(){this.$U();if(this.rd!=r){this.rd.unbind(c.zs,this.B6,this);this.rd.unbind(c.xF,this.A6,this);this.rd.unbind(c.G("movementIndex"),this.qI,this);this.rd.set("movementIndex",-1);this.rd=r;this.Zw=[]}};n.prototype.Ng=function(){return this.rd?this.dr?e.uc:e.S:e.K};n.prototype.Fa=function(a,b,c,d){this.$=a;this.ma=b;this.ba=d};n.prototype.hd=function(){return this.rd&&this.O&&!this.dr&&!this.er&&!this.F4()?p:z};n.prototype.$a=function(a){if(this.hd()){this.O.$a(a);
a=this.O.tb("hfov");if(this.nb.Gba()){var b=this.O.vaa("hfov");b.Lu=this.nb.VK(b.Lu);b.$y=this.nb.VK(b.$y);a=this.nb.VK(a)}this.H.Fa(this.O.tb("yaw"),this.O.tb("pitch"),0,a,this.nb.cp());this.$=this.H.Qb();this.ma=this.H.Vb();this.ba=this.H.fp();this.O.He()&&this.wma()}};n.prototype.Nl=R("$");n.prototype.Ml=R("ma");n.prototype.Nu=R("ba");n.prototype.play=function(){if(this.dr){this.dr=z;this.qI();this.P1();this.rf();this.Ig()}};n.prototype.pause=function(){if(!this.dr){this.dr=p;this.j9();this.Ig()}};
n.prototype.B6=function(){this.play()};n.prototype.A6=function(){this.pause()};n.prototype.una=function(){this.dU=0;var a=this.rd.get("movementIndex",-1);a==-1&&(a=0);this.XI(a)};n.prototype.wna=function(){this.dU++;var a=this.rd.get("repeat",1);if(this.Zw.length>0&&(a==0||this.dU<a))this.XI(0);else{this.rd.trigger(new d(c.Da));this.end();this.ara()}};n.prototype.vna=function(){this.XI(this.rd.get("movementIndex",0)+1)};n.prototype.XI=function(a){if(a<this.Zw.length)this.rd.get("movementIndex")!=
a?this.rd.set("movementIndex",a):this.qI();else{this.rd.trigger(new d(c.As));this.wna()}};n.prototype.qI=function(){var a=this.rd.get("movementIndex");this.O=a>=0?this.Iha(this.Zw[a]):r};n.prototype.wma=function(){this.Zw[this.rd.get("movementIndex")].trigger(new d(c.Da));this.vna()};n.prototype.F4=function(){return this.yx!=r};n.prototype.hqa=function(){this.$U();var a=this,b=this.rd.get("restartMovementDelay")||0;this.yx=setTimeout(function(){a.yx=r;a.Mma()},b);this.Ig()};n.prototype.$U=function(){if(this.yx){clearTimeout(this.yx);
this.yx=r}};n.prototype.Mma=function(){this.XI(this.rd.get("movementIndex"));this.rf();this.Ig()};n.prototype.Iha=function(a){var b,c,d,e=this.bu(this.$,-180,180),f=this.ma,n=this.ba;if(g.zb("TargetRotationalCameraMovement",a)){b=a.get("targetYaw",e);c=a.get("targetPitch",f);if(d=a.get("targetHfov")){this.nb.Vca(d);d=this.nb.Fe()}else d=n;this.H.Fa(b,c,0,d,this.nb.cp());if(this.H.Rt)b=this.H.Qb();else switch(this.Qia(a)){case "left":b=this.bu(b,e-360,e);break;case "right":b=this.bu(b,e,e+360);break;
case "longest":b=this.bu(b,e-180,e+180);b=b>=e?this.bu(b,e-360,e):this.bu(b,e,e+360);break;default:b=this.bu(b,e-180,e+180)}}else if(g.zb("DistanceRotationalCameraMovement",a)){b=e+a.get("yawDelta",0);this.H.Rt&&(b=Math.min(Math.max(-180,b),180));c=f+a.get("pitchDelta",0);d=n+a.get("hfovDelta",0);this.H.Fa(b,c,0,d,this.nb.cp());this.H.Rt&&(b=this.H.Qb())}c=this.H.Vb();d=this.H.fp();return new k(a.get("easing"),[new j("yaw",e,b,a.get("yawSpeed")),new j("pitch",f,c,a.get("pitchSpeed")),new j("hfov",
n,d,a.get("hfovSpeed"))],a.get("duration"))};n.prototype.P1=function(){this.St=m};n.prototype.j9=function(){if(this.O){this.St=m;var a=this.O&&this.O.vaa("yaw");if(a)if(a.$y>a.Lu)this.St="right";else if(a.$y<a.Lu)this.St="left"}};n.prototype.Qia=function(a){a=a.get("path");if(a=="longest"&&this.St)a=this.St;this.St=m;return a};n.prototype.bu=function(a,b,c){for(;a<b;)a=a+(c-b);for(;a>c;)a=a-(c-b);return a};n.prototype.rf=function(){this.trigger(new d(n.cf))};n.prototype.ara=function(){this.trigger(new d(n.uN))};
n.prototype.Ig=function(){this.trigger(new d(n.Wb))};n.cf="position change request";n.uN="sequence end";n.Wb="playback state change";return n});
define("bg","require,dl,fb,kV,bY,eJ,gr,fu,f,G,do,bi,fp".split(","),function(a){a("dl");var b=a("fb"),c=a("kV"),e=a("bY"),d=a("eJ"),f=a("gr"),g=a("fu"),k=a("f"),j=a("G"),n=a("do"),i=a("bi"),l=a("fp"),q=b.extend(d,function(a,b){d.call(this);this.g=a;this.g.bind(c.vb,this.lb,this);i.bind(c.aa,this.Xj,this,p);this.nb=b;this.iU=z;this.ba=this.Db=this.ma=this.$=m;this.Tm=this.Sm=this.oB=this.rB=this.qB=this.pB=z;this.dj=p;this.Jw=this.ql=0;this.V=z;this.Oi=r;this.HA=5E3;this.KA=this.JR=r;this.pU=[];this.Pf=
this.Up=l.K;this.H=new f(a);this.Qa=new k(this.g,this.H,this.nb);this.Qa.bind(k.cf,this.kl,this,p);this.Qa.bind(k.te,this.ml,this,p);this.Qa.bind(k.se,this.ll,this,p);this.Ni=new g(this.g,this.H,this.nb);this.Ni.bind(g.cf,this.kl,this,p);this.gd=new j(this.g,this.H,this.nb);this.gd.bind(j.cf,this.kl,this,p);this.gd.bind(j.uN,this.YS,this,p);this.gd.bind(j.Wb,this.C6,this,p)});q.prototype.clear=function(){this.Gm();this.Qa.unbind(k.cf,this.kl,this);this.Qa.unbind(k.te,this.ml,this,p);this.Qa.unbind(k.se,
this.ll,this,p);this.Qa.clear();this.Qa=r;this.Ni.unbind(g.cf,this.kl,this,p);this.Ni.clear();this.Ni=r;this.gd.unbind(j.cf,this.kl,this);this.gd.unbind(j.uN,this.YS,this);this.gd.unbind(j.Wb,this.C6,this);this.gd.clear();this.H=this.gd=r;this.g.unbind(c.vb,this.lb,this);i.unbind(c.aa,this.Xj,this,p);this.g=r;if(this.pb){this.pb.unbind(c.G("sequences"),this.ZS,this,p);this.pb=r}this.KJ([])};q.prototype.end=function(){this.Up=l.K;this.Gm();this.Qa.kd(z);this.Ni.kd(z);this.gd.end();this.V=z;this.Jo(0,
0,0,0);this.KA=this.JR=r;if(this.pb){this.pb.unbind(c.G("sequences"),this.ZS,this,p);this.pb=r}this.KJ([]);this.qu()};q.prototype.start=function(a,b){this.Up=l.S;this.V=p;this.Jo(0,0,0,0);this.vC(a);this.Yoa(b);this.C7();this.WJ(this.KA);this.Ni.kd(p);this.qu()};q.prototype.Ng=R("Pf");q.prototype.play=function(){this.Up=l.S;this.gd.Ng()==l.uc?this.gd.play():this.gd.Ng()==l.K&&(this.KA?this.WJ(this.KA):this.Ow()||this.IC());this.qu()};q.prototype.resume=function(){if(this.Up==l.uc){this.Qa.Psa();this.play()}};
q.prototype.pause=function(){this.Qa.Rg(n.je);if(this.Up==l.S){this.Up=l.uc;if(this.gd.Ng()==l.S){this.gd.pause();this.qu()}else this.Ow()&&this.Gm()}};q.prototype.stop=function(){this.Up=l.K;this.gd.Ng()!=l.K&&this.gd.end();this.Qa.Rg(n.je);this.qu();this.Ow()&&this.Gm()};q.prototype.moveTo=function(a,b,c,d,e){this.Qa.moveTo(a,b,c,d,e)};q.prototype.KJ=function(a){this.pU.forEach(function(a){a.unbind(c.zs,this.g8,this,p)}.bind(this));this.pU=a;this.pU.forEach(function(a){a.bind(c.zs,this.g8,this,
p)}.bind(this))};q.prototype.Xj=function(){this.H.gM(i.isPresenting())};q.prototype.Rg=function(a){this.Qa.Rg(a)};q.prototype.IY=function(a,b,c){this.Qa.IY(a,b,c)};q.prototype.DE=function(a){if(this.yq!=a){this.yq=a;this.Qa.DE(this.yq);this.fa()}};q.prototype.EE=function(a){this.Qa.EE(a)};q.prototype.Xr=function(a){this.Qa.Xr(a)};q.prototype.rv=function(a){this.Qa.rv(a)};q.prototype.Wr=function(a){this.Qa.Wr(a)};q.prototype.rp=function(a){if(this.V)if(this.Qa.hd()||i.isPresenting()||this.yq&&(this.Qa.V||
!this.Qa.BA)){this.Qa.vM()&&this.gd.Eva();this.Qa.$a(a);this.bi(this.Qa.Nl(),this.Qa.Ml(),this.Qa.Nr(),this.Qa.Nu());this.fa()}else if(this.gd.er){this.gd.Iva();this.fa()}else if(this.gd.hd()){this.gd.$a(a);this.bi(this.gd.Nl(),this.gd.Ml(),0,this.gd.Nu());this.fa()}else if(this.Ni.hd()){this.Ni.$a(a);this.bi(this.Ni.Nl(),this.Ni.Ml(),0,this.Ni.Nu());this.fa()}else if(this.iU){this.iU=z;this.nb.Ul(this.g.Fe());this.H.Fa(this.g.Qb(),this.g.Vb(),this.g.Ld(),this.nb.Fe(),this.nb.cp());this.bi(this.H.Qb(),
this.H.Vb(),this.H.Ld(),this.H.fp());this.fa()}else{this.Jo(0,0,0,0);this.Up==l.S&&this.gd.Ng()!=l.S&&(this.Ow()||this.IC())}};q.prototype.Ub=function(){this.Ira();this.C7()};q.prototype.Ira=function(){var a=this.g.Qb()-this.$||0,b=this.g.Vb()-this.ma||0,c=this.g.Ld()-this.Db||0;this.Jo(a,b,c,this.g.Fe()-this.ba||0)};q.prototype.C7=function(){this.$=this.g.Qb();this.ma=this.g.Vb();this.Db=this.g.Ld();this.ba=this.g.Fe();this.Qa.Fa(this.$,this.ma,this.Db,this.ba);this.gd.Fa(this.$,this.ma,this.Db,
this.ba);this.Ni.Fa(this.$,this.ma,this.Db,this.ba)};q.prototype.vC=function(a){this.H.Sg(a)};q.prototype.Yoa=function(a){this.pb=a;this.HA=a.get("timeToIdle",5E3);this.JR=a.get("idleSequence");this.KA=a.get("initialSequence");this.Qa.Ur(a);this.Ni.Ur(a);a.bind(c.G("sequences"),this.ZS,this,p);this.KJ(a.get("sequences",[]))};q.prototype.ZS=function(){this.KJ(this.pb.get("sequences",[]))};q.prototype.g8=function(a){this.WJ(a.source)};q.prototype.kl=function(){this.Gm();this.fa()};q.prototype.ml=function(){this.trigger(new e(q.te))};
q.prototype.ll=function(){this.trigger(new e(q.se))};q.prototype.WJ=function(a){if(a){this.Qa.kd(!a.get("mandatory",z));this.gd.start(a)}else this.YS()};q.prototype.YS=function(){this.Qa.kd(p);this.IC()};q.prototype.C6=function(){this.qu()};q.prototype.lb=function(){this.iU=p;this.fa()};q.prototype.Ow=function(){return this.Oi!=r};q.prototype.IC=function(){this.Gm();var a=this;this.Oi=setTimeout(function(){a.Oi=r;a.QS()},this.HA)};q.prototype.Gm=function(){if(this.Oi){clearTimeout(this.Oi);this.Oi=
r}};q.prototype.QS=function(){this.WJ(this.JR)};q.prototype.fa=function(){this.trigger(new e(q.Ia))};q.prototype.bi=function(a,b,c,d){this.g.Fa(a,b,c,d)};q.prototype.Jo=function(a,b,c,d){var c=z,f=Math.abs(a)<0.001&&Math.abs(b)<0.001&&Math.abs(d)<0.001;if(f||this.yq){c=this.dj!=p;this.Tm=this.Sm=this.oB=this.rB=this.qB=this.pB=z;this.dj=p}else{if(this.pB!=a<-0.001){this.pB=!this.pB;c=p}if(this.qB!=a>0.001){this.qB=!this.qB;c=p}if(this.oB!=b<-0.001){this.oB=!this.oB;c=p}if(this.rB!=b>0.001){this.rB=
!this.rB;c=p}if(this.Sm!=d<-0.001){this.Sm=!this.Sm;c=p}if(this.Tm!=d>0.001){this.Tm=!this.Tm;c=p}if(this.dj!=f){this.dj=!this.dj;c=p}}f||this.trigger(new e(q.Gk,{yaw:this.$,pitch:this.ma,roll:this.Db,hfov:this.ba}));if(c){(this.V||this.dj)&&this.trigger(new e(q.Tg,{movingLeft:this.pB,movingRight:this.qB,movingUp:this.rB,movingDown:this.oB,zoomingIn:this.Sm,zoomingOut:this.Tm,stopped:this.dj}));this.qu()}};q.prototype.qu=function(){var a;if(this.V){a=this.gd.Ng();if(!this.dj)a=l.S}else a=l.K;if(this.Pf!=
a){this.Pf=a;this.trigger(new e(q.Wb,{state:this.Pf}))}};q.Ia="request frame";q.Tg="movement change";q.Gk="position change";q.Wb="playback state change";q.te="user interaction start";q.se="user interaction end";return q});
define("fi","require,kV,gr,r,fO,jf,bi,kf".split(","),function(a){function b(a,d,e){this.g=a;this.nb=d;this.Px=e;this.H=new c(a);e.tj&&this.H.Sg(e.tj);this.Io=new c(a);this.Sw=this.lo=m;this.$=this.g.Qb();this.ma=this.g.Vb();this.Db=this.g.Ld();this.ba=this.Px.tj?this.g.Fe():b.qZ;this.b9=0;this.L=r;this.N4=p}a("kV");var c=a("gr");a("r");var e=a("fO"),d=a("jf"),f=a("bi"),g=a("kf");b.prototype.Sg=function(a){if(this.L!=a){this.cr=p;this.L=a}};b.prototype.pv=function(a,b){this.$=a;this.ma=b};b.prototype.jy=
function(a){this.nb.Vca(a);return this.nb.Fe()};b.prototype.Ul=P("ba");b.prototype.IE=P("N4");b.prototype.qv=P("b9");b.prototype.rp=function(){if(this.nb.Gba())this.ba=this.nb.VK(this.ba);if(this.Px.Lb()){var a=f.an().orientation,a=g.YY(a);this.$=this.$+(this.lo===m?0:a.ha-this.lo);this.lo=a.ha;this.ma=a.pitch;this.Db=a.jd;this.ma=j===m?a.pitch:j;this.Db=k===m?a.jd:k}else if(this.Px.qua()){var a=e.cn(),b=this.du(a.yaw,this.$);this.$=this.$+(this.lo===m?0:b-this.lo);this.ma=this.ma+(this.Sw===m?0:
a.pitch-this.Sw);this.Db=a.roll;this.lo=a.yaw;this.Sw=a.pitch}else{a=this.du(this.g.Qb(),this.$);b=this.g.Vb();this.$=this.$+(this.lo===m?0:a-this.lo);this.ma=this.ma+(this.Sw===m?0:b-this.Sw);this.Db=this.g.Ld();this.lo=this.$;this.Sw=this.ma}this.cr&&this.H.Sg(this.L);this.H.gM(f.isPresenting());this.H.Fa(this.$,this.ma,this.Db,this.ba,this.nb.cp());if(this.cr){this.cr=z;if(this.Px&&this.Px.tj)if(a=this.g.Vf(this.Px.tj)){a.set("deltaYaw",this.g.Qb()-this.H.Qb());a.set("deltaPitch",this.g.Vb()-this.H.Vb());
a.set("deltaRoll",this.g.Ld()-this.H.Ld())}}this.$=this.H.Qb();this.ma=this.H.Vb();this.Db=this.H.Ld();this.ba=this.N4?this.H.fp():this.ba;this.g.Fa(this.$,this.ma,this.Db,this.ba);this.g.qv(this.b9)};b.prototype.dM=function(a,b){this.Io.Sg(a);this.Io.Fa(0,0,0,b,this.nb.cp());return this.Io.fp()};b.prototype.kwa=function(a,b){this.Io.Sg(a);this.Io.Fa(b.ha,b.pitch,b.jd,b.Yc,this.nb.cp());b.ha=this.Io.Qb();b.pitch=this.Io.Vb();b.jd=this.Io.Ld();b.Yc=this.Io.fp()};b.prototype.du=function(a,b){for(;a+
180<b;)a=a+360;for(;a-180>b;)a=a-360;return a};b.prototype.eaa=function(){return b.qZ};b.qZ=TDV.A_.Pda;var k=d.Wf("debug")?d.lL("force_vr_roll"):m,j=d.Wf("debug")?d.lL("force_vr_pitch"):m;return b});
define("lm","require,dR,fe,ja,r,bi".split(","),function(a){function b(a,d,f,n){this.g=a;a=this.g.D;this.$Y=a.get("transitionMode","blending");var i=a.get("transitionDuration",500);if(this.Oka(d,f)){this.$Y=b.lF;i=1500}this.O$=a.get("blendingTransitionDuration",i);this.sta=a.get("firstTransitionDuration",i);this.cta=a.get("disolveTransitionDuration",i);this.aya=a.get("translationTransitionDuration",1E3);this.bya=a.get("translationTransitionEnabled",p);this.Xba=a.get("originTransitionDuration",3E3);
this.yM=1E3;this.tj=d;this.Kxa=!d||d.zba();this.Zc=f;this.Uxa=!f||f.yba();this.TY=!f||f.zba();this.Txa=!!f&&this.dS(f);a=(this.SY=n)&&n.get("initialPosition")||new c;this.mi=new c;this.mi.set("yaw",a.get("yaw",0));this.mi.set("pitch",a.get("pitch"));this.mi.set("hfov",a.get("hfov"));this.Bd=new e;this.Bd.set("yaw",this.mi.get("yaw"));this.Bd.set("pitch",this.mi.get("pitch"));this.Bd.set("hfov",this.mi.get("hfov"));this.Bd.set("stereographicFactor",0);this.sk=[];if(!d){this.sk=n&&n.get("displayMovements")||
[];for(a=this.sk.length-1;a>=0;a--){this.Bd.set("yaw",this.Bd.get("yaw",this.sk[a].get("targetYaw")));this.Bd.set("pitch",this.Bd.get("pitch",this.sk[a].get("targetPitch")));this.Bd.set("hfov",this.Bd.get("hfov",this.sk[a].get("targethfov")));this.Bd.set("stereographicFactor",this.Bd.get("stereographicFactor",this.sk[a].get("stereographicFactor")))}n=n&&n.get("displayOriginPosition")||this.mi;this.Bd.set("yaw",n.get("yaw"));this.Bd.set("pitch",n.get("pitch"));this.Bd.set("hfov",n.get("hfov"));this.Bd.set("stereographicFactor",
n.get("stereographicFactor"))}this.mode=(this.SE=this.$Y==b.Zl&&this.bya&&this.Uxa?this.yka(d,f):r)?b.P_:d?f?this.$Y=="blending"?b.Zl:b.lF:b.IZ:b.HZ;if(this.mode==b.Zl&&(!this.Kxa||!this.TY))if(this.Bd.get("stereographicFactor",0)>0||this.sk.filter(function(a){return a.get("targetStereographicFactor",0)>0}).length>0)this.mode=b.lF}a("dR");var c=a("fe"),e=a("ja"),d=a("r"),f=a("bi");b.prototype.qua=function(){return this.g.Nb.get("gyroscopeEnabled")};b.prototype.Lb=function(){return f.isPresenting()};
b.prototype.yka=function(a,b){if(!a||!b)return r;var c=(a.get("adjacentPanoramas")||[]).filter(function(a){return a.get("enabled")&&a.Esa()&&a.get("panorama")==b});return c.length==0?r:c[0]};b.prototype.Oka=function(a,b){return this.Lb()&&d.ge()==d.zj&&(this.dS(a)||this.dS(b))};b.prototype.dS=function(a){return!!a&&a.sh()};b.lF="fade_out_fade_in";b.HZ="fade_in";b.IZ="fade_out";b.Zl="blending";b.P_="translation";return b});
define("l",["require"],function(){function a(a,c,e,d){this.q=a;this.fb=c;this.g=e;this.Q=d}a.prototype.lj=S(z);a.prototype.Ak=D();a.prototype.hE=S(z);return a});
define("iQ",["require","fb","l","kH","bq"],function(a){var b=a("fb"),c=a("l"),e=a("kH"),d=a("bq"),a=b.extend(c,function(a,b,d,e){c.call(this,a,b,d,e);this.O=r;this.zc=z});a.prototype.lj=R("zc");a.prototype.Ak=function(a){if(!this.zc){if(!this.O){var b=this.g.Vf(this.Q.Zc);b.nk();b.set("alpha",0.01);this.O=new e("linear",[new d("alpha",0,1,m)],this.Q.O$)}this.O.$a(a);a=this.O.tb("alpha");b=this.g.Vf(this.Q.Zc);b.set("alpha",a);this.O.He()&&(this.zc=p)}};return a});
define("iW",["require","fb","l"],function(a){var b=a("fb"),c=a("l"),a=b.extend(c,function(a,b,f,g){c.call(this,a,b,f,g);this.zc=z});a.prototype.lj=R("zc");a.prototype.Ak=function(){this.zc||(this.kr(),this.zc=p)};a.prototype.kr=D();return a});
define("fN",["require","fb","iW"],function(a){var b=a("fb"),c=a("iW"),a=b.extend(c,function(a,b,f,g){c.call(this,a,b,f,g)});a.prototype.kr=function(){this.Q.Zc&&!this.g.Vf(this.Q.Zc)&&(this.Te=this.g.create(this.Q.Zc),this.Te.set("alpha",0),this.g.add(this.Te))};return a});define("fP",["require","fb","iW","bp"],function(a){var b=a("fb"),c=a("iW"),e=a("bp"),a=b.extend(c,function(a,b,e,k){c.call(this,a,b,e,k)});a.prototype.kr=function(){this.Q.Txa&&e.Pg(this.g.Sa())};return a});
define("dV",["require","fb","l","kH","bq"],function(a){var b=a("fb"),c=a("l");Ease=a("kH");EaseDimension=a("bq");a=b.extend(c,function(a,b,f,g){c.call(this,a,b,f,g);this.O=r;this.zc=z});a.prototype.lj=R("zc");a.prototype.Ak=function(a){if(!this.zc&&(this.O||(this.O=new Ease("linear",[new EaseDimension("alpha",0,1,m)],this.g.D.mya()?this.Q.sta:this.Q.O$)),this.O.$a(a),a=this.O.tb("alpha"),this.g.Vf(this.Q.Zc).set("alpha",a),this.O.He()))this.zc=p};return a});
define("bt",["require","fb","l","kH","bq"],function(a){var b=a("fb"),c=a("l");Ease=a("kH");EaseDimension=a("bq");a=b.extend(c,function(a,b,f,g){c.call(this,a,b,f,g);this.O=r;this.zc=z});a.prototype.lj=R("zc");a.prototype.Ak=function(a){if(!this.zc&&(this.O||(this.O=new Ease("linear",[new EaseDimension("alpha",1,0,m)],this.Q.cta)),this.O.$a(a),a=this.O.tb("alpha"),this.g.Vf(this.Q.tj).set("alpha",a),this.O.He()))this.zc=p};return a});
define("bM",["require","fb","l","kH","bq"],function(a){function b(a,b,c){for(;a<b;)a+=c-b;for(;a>c;)a-=c-b;return a}var c=a("fb"),e=a("l"),d=a("kH"),f=a("bq"),a=c.extend(e,function(a,b,c,d){e.call(this,a,b,c,d);this.O=r;this.zc=z;this.cI=0});a.prototype.lj=R("zc");a.prototype.Ak=function(a){if(!this.zc&&(this.O||(this.O=this.cI<this.Q.sk.length?this.Zha(this.cI):this.Jha()),this.O.$a(a),this.fb.pv(this.O.tb("yaw"),this.O.tb("pitch")),this.fb.Ul(this.O.tb("hfov")),this.fb.qv(this.O.tb("stereographicFactor")),
this.O.He()))this.O=r,this.cI++,this.cI>this.Q.sk.length&&(this.fb.IE(p),this.zc=p)};a.prototype.Jha=function(){var a=b(this.g.Qb(),-180,180),c=this.g.Vb();this.g.Ld();var e=this.g.Fe(),n=this.g.m.qi,i=this.Q.mi.get("hfov"),i={ha:this.Q.mi.get("yaw"),pitch:this.Q.mi.get("pitch",c),jd:this.g.Ld(),Yc:i?this.fb.jy(i):e,qi:0};this.fb.kwa(this.Q.Zc,i);i.ha=b(i.ha,a-180,a+180);var l=0.5<Math.abs(e-i.Yc),q=Math.abs(n-i.qi),o=0.01<q,l=this.Q.Lb()?1:Math.max(l?this.Q.yM:1,o?this.Q.Xba*q:1);return new d(o?
"linear":"cubic_in_out",[new f("yaw",a,i.ha,m),new f("pitch",c,i.pitch,m),new f("hfov",e,i.Yc,m),new f("stereographicFactor",n,i.qi,m)],l)};a.prototype.Zha=function(a){var c=this.Q.sk[a],e=b(this.g.Qb(),-180,180),n=this.g.Vb();this.g.Ld();var i=this.g.Fe(),l=this.g.m.qi,q=c.get("targetStereographicFactor",l),o=c.get("targetHfov");if(o)o=this.fb.jy(o);else{for(o=z;a<this.Q.sk.length&&!o;a++)o=this.Q.sk[a].get("targetHfov")!==m;o?o=i:(o=this.fb.jy(this.Q.mi.get("hfov",this.fb.eaa())),o=i+(o-i)*(l-q))}var a=
c.get("targetYaw",e),t=c.get("targetPitch",n);this.g.Ld();switch(c.get("path")){case "left":a=b(a,e-360,e);break;case "right":a=b(a,e,e+360);break;case "longest":a=b(a,-360,360);a=a>=e?b(a,e,e+360):b(a,e-360,e);break;default:a=b(a,e-180,e+180)}return new d(c.get("easing"),[new f("yaw",e,a,c.get("yawSpeed")),new f("pitch",n,t,c.get("pitchSpeed")),new f("hfov",i,o,c.get("hfovSpeed")),new f("stereographicFactor",l,q,c.get("stereographicFactorSpeed"))],c.get("duration"))};return a});
define("ew",["require","fb","l","kH","bq"],function(a){var b=a("fb"),c=a("l"),e=a("kH"),d=a("bq"),a=b.extend(c,function(a,b,d,e){c.call(this,a,b,d,e);this.O=r;this.zc=z});a.prototype.lj=R("zc");a.prototype.Ak=function(a){if(!this.zc){if(!this.O){var b=this.g.Vb(),c=this.g.Fe(),j=this.g.m.qi,n=this.Q.Bd.get("stereographicFactor",0),i=Math.abs(j-n),l=0<n?this.Q.Bd.get("pitch",b):b,q=this.Q.Bd.get("hfov"),q=q?this.fb.jy(q):c;0==n&&(q=Math.min(c,this.fb.dM(this.Q.Zc,q)));this.fb.IE(z);i=this.Q.Lb()?1:
Math.max(0.5<Math.abs(c-q)?this.Q.yM:1,0.01<i?this.Q.Xba:1);this.O=new e("cubic_in_out",[new d("hfov",c,q,m),new d("pitch",b,l,m),new d("stereographicFactor",j,n,m)],i)}this.O.$a(a);this.fb.Ul(this.O.tb("hfov"));this.fb.qv(this.O.tb("stereographicFactor"));this.fb.pv(this.g.Qb(),this.O.tb("pitch"));this.O.He()&&(this.fb.Sg(this.Q.Zc),this.fb.pv(this.Q.Bd.get("yaw"),this.Q.Bd.get("pitch",this.g.Vb())),this.zc=p)}};return a});
define("dz",["require","fb","iW"],function(a){var b=a("fb"),c=a("iW"),a=b.extend(c,function(a,b,f,g){c.call(this,a,b,f,g)});a.prototype.kr=function(){this.g.remove(this.g.Vf(this.Q.tj))};return a});
define("o",["require","fb","iW"],function(a){var b=a("fb"),c=a("iW"),a=b.extend(c,function(a,b,f,g){c.call(this,a,b,f,g)});a.prototype.kr=function(){this.fb.Sg(this.Q.Zc);this.fb.pv(this.Q.mi.get("yaw"),this.Q.mi.get("pitch",this.g.Vb()));var a=this.Q.mi.get("hfov");a&&(a=this.fb.jy(a),this.fb.Ul(a))};return a});
define("fx",["require","fb","iW"],function(a){var b=a("fb"),c=a("iW"),a=b.extend(c,function(a,b,f,g){c.call(this,a,b,f,g)});a.prototype.kr=function(){this.fb.Sg(this.Q.Zc);this.fb.qv(this.Q.TY?this.Q.Bd.get("stereographicFactor",0):0);this.fb.pv(this.Q.Bd.get("yaw"),this.Q.Bd.get("pitch",this.g.Vb()));var a=this.Q.Bd.get("hfov");!a&&!this.Q.tj&&(a=this.fb.eaa());a&&(a=this.fb.jy(a),this.fb.Ul(a),this.fb.IE(!this.Q.TY))};return a});
define("eM",["require","fb","iW"],function(a){var b=a("fb"),c=a("iW"),a=b.extend(c,function(a,b,f,g){c.call(this,a,b,f,g)});a.prototype.kr=function(){this.fb.Sg(this.Q.Zc);this.fb.Ul(this.fb.dM(this.Q.Zc,this.g.Fe()));this.fb.pv(this.g.Qb()+this.Q.SE.uaa(),this.g.Vb())};a.prototype.hE=S(p);return a});
define("kN",["require","fb","l","kH","bq"],function(a){var b=a("fb"),c=a("l"),e=a("kH"),d=a("bq"),a=b.extend(c,function(a,b,d,e){c.call(this,a,b,d,e);this.O=r;this.zc=z});a.prototype.lj=R("zc");a.prototype.Ak=function(a){if(!this.zc){if(!this.O){var b=this.g.Fe(),c=this.fb.dM(this.Q.Zc,b),j=!this.Q.Lb()&&0.01<Math.abs(b-c)?this.Q.yM:1;this.O=new e("cubic_in_out",[new d("hfov",b,c,m)],j)}this.O.$a(a);this.fb.Ul(this.O.tb("hfov"));this.O.He()&&(this.fb.IE(p),this.zc=p)}};return a});
define("eo",["require","fb","l","kH","bq"],function(a){var b=a("fb"),c=a("l"),e=a("kH"),d=a("bq"),a=b.extend(c,function(a,b,d,e){c.call(this,a,b,d,e);this.O=r;this.zc=z});a.prototype.lj=R("zc");a.prototype.Ak=function(a){if(!this.zc){if(!this.O){var b=this.g.Fe(),c=Math.min(this.fb.dM(this.Q.Zc,b),b),j=!this.Q.Lb()&&0.01<Math.abs(b-c)?this.Q.yM:1;this.O=new e("cubic_in_out",[new d("hfov",b,c,m)],j);this.fb.IE(z)}this.O.$a(a);this.fb.Ul(this.O.tb("hfov"));this.O.He()&&(this.fb.Sg(this.Q.Zc),this.fb.pv(this.g.Qb()+
this.Q.SE.uaa(),this.g.Vb()),this.zc=p)}};a.prototype.hE=S(p);return a});
define("bj",["require","fb","l","r"],function(a){var b=a("fb"),c=a("l"),e=a("r"),a=b.extend(c,function(a,b,e,k){c.call(this,a,b,e,k);this.m="not initialized";this.sa=0});a.prototype.lj=function(){return"ended"==this.m};a.prototype.Ak=function(a){this.lj()||("not initialized"==this.m&&this.OR(),"initialized"==this.m&&(this.Bl.get("ready")||this.Bl.AX())&&this.Wpa(),"started"==this.m&&this.I(a),1<=this.sa&&this.oA())};a.prototype.OR=function(){this.g7=this.Q.aya;this.Pz=0.25;this.qga=0.75;this.Una=
0.25;this.B9=this.zka();this.rO=0.5*this.g7;this.gra=this.g7-2*this.rO;this.gB=1/(this.rO+this.gra);this.LF=this.gB/this.rO;this.Mo=0;this.Bl=this.g.Vf(this.Q.Zc);this.OU=this.g.Vf(this.Q.tj);this.yw=this.Q.SE.Jta();this.m="initialized"};a.prototype.zka=function(){var a=this.Q.SE.get("distance");return a?Math.min(0.99,a/this.Q.tj.get("distanceToFloor")):0.75};a.prototype.Wpa=function(){this.g.Xca(!this.Q.Lb()&&e.browser()!=e.wh);this.Bl.nk();this.m="started"};a.prototype.I=function(a){this.Bl.get("ready")||
this.sa<this.Una?this.sa>=1-0.5*this.Mo*this.Mo/this.LF?this.Mo=Math.sqrt(2*(1-this.sa)*this.LF):this.Mo<this.gB&&(this.Mo=Math.min(this.Mo+this.LF*a,this.gB)):this.Mo=Math.max(this.Mo-this.LF*a,0);this.sa=Math.min(Math.max(0,this.sa+this.Mo*a),1);this.Bl.get("ready")||(this.Pz=Math.max(this.Pz,this.sa));this.Bra(this.sa,Math.max(0,Math.min(1,(this.sa-this.Pz)/(this.qga-this.Pz))))};a.prototype.oA=function(){this.Bl.set("alpha",1);this.g.Xca(z);this.m="ended"};a.prototype.Bra=function(a,b){var c=
(a-1)*this.B9;this.Bl.set("translationX",c*this.yw.x);this.Bl.set("translationY",c*this.yw.y);this.Bl.set("translationZ",c*this.yw.z);this.Bl.get("ready");c=a*this.B9;this.OU.set("translationX",c*this.yw.x);this.OU.set("translationY",c*this.yw.y);this.OU.set("translationZ",c*this.yw.z);this.Bl.set("alpha",Math.max(0.01,Math.min(0.99,b)))};a.prototype.hE=function(){return this.sa<this.Pz};return a});
define("gK",["require","fb","iW"],function(a){var b=a("fb"),c=a("iW"),a=b.extend(c,function(a,b,f,g,k){c.call(this,a,b,f,g);this.Lga=k});a.prototype.kr=function(){this.Lga.call(this.q)};return a});define("eG",["require","fb","l"],function(a){var b=a("fb"),c=a("l"),a=b.extend(c,function(a,b,f,g){c.call(this,a,b,f,g)});a.prototype.lj=function(){var a=this.g.Sa(),b=a&&a.Yx,a=a&&a.Yw;return!!b&&!b.get("visible")&&!!a&&!a.get("visible")};return a});
define("E",["require","fb","l"],function(a){var b=a("fb"),c=a("l"),a=b.extend(c,function(a,b,f,g){c.call(this,a,b,f,g);this.kJ=r});a.prototype.lj=function(){this.kJ||(this.kJ=this.Q.Zc&&this.g.Vf(this.Q.Zc));return this.kJ&&this.kJ.get("ready")};a.prototype.hE=S(p);return a});
define("le","require,bY,eJ,fi,lm,iQ,fN,fP,dV,bt,bM,ew,dz,o,fx,eM,kN,eo,bj,gK,eG,E,fb".split(","),function(a){var b=a("bY"),c=a("eJ"),e=a("fi"),d=a("lm"),f=a("iQ"),g=a("fN"),k=a("fP"),j=a("dV"),n=a("bt"),i=a("bM"),l=a("ew"),q=a("dz"),o=a("o"),t=a("fx"),s=a("eM"),u=a("kN"),v=a("eo"),w=a("bj"),x=a("gK"),y=a("eG"),E=a("E"),B=a("fb").extend(c,function(a,b,d){c.call(this);this.D=a;this.g=b;this.nb=d;this.fb=r;this.F2=this.mm=this.WB=this.Ao=m;this.Q=r;this.Ee=[]});B.prototype.clear=function(){this.$T(this.mm);
this.Q&&this.$T(this.Q.Zc);this.WB=this.Ao=m;this.H=this.nb=this.g=this.D=this.Q=r};B.prototype.start=function(a,b){if(!this.Q&&a==this.mm||this.Q&&a==this.Q.Zc)this.WB=this.Ao=m;else{this.Ao=a;this.WB=b;this.Ee.length==0&&this.YJ()}};B.prototype.hide=function(){this.Ao=r;!this.Q&&this.mm&&this.YJ()};B.prototype.Fta=function(){return this.Q&&this.Q.Zc};B.prototype.YJ=function(){this.Q=new d(this.g,this.mm,this.Ao,this.WB);this.fb=new e(this.g,this.nb,this.Q);this.WB=this.Ao=m;this.Sb(g);switch(this.Q.mode){case d.IZ:this.Jc(this.aD);
this.Sb(n);this.Jc(this.$C);this.Sb(q);this.Jc(this.nu);break;case d.HZ:this.Jc(this.nK);this.Sb(E);this.Sb(k);this.Sb(t);this.Jc(this.Rx);this.Sb(j);this.Sb(y);this.Sb(i);this.Jc(this.mK);break;case d.lF:this.Jc(this.nK);this.Jc(this.aD);this.Sb(n);this.Jc(this.$C);this.Sb(q);this.Jc(this.nu);this.Sb(E);this.Sb(k);this.Sb(t);this.Jc(this.Rx);this.Sb(j);this.Sb(y);this.Sb(i);this.Jc(this.mK);break;case d.P_:this.Jc(this.nK);this.Jc(this.aD);this.Jc(this.$C);if(this.Q.Lb()){this.Sb(s);this.Jc(this.Rx);
this.Sb(w);this.Sb(q);this.Jc(this.nu)}else{this.Sb(v);this.Jc(this.Rx);this.Sb(w);this.Sb(q);this.Jc(this.nu);this.Sb(u);this.Sb(k);this.Sb(y)}this.Jc(this.mK);break;case d.Zl:this.Jc(this.nK);this.Sb(E);if(this.Q.Lb()){this.Jc(this.aD);this.Jc(this.$C);this.Sb(o);this.Jc(this.Rx);this.Sb(f);this.Sb(q);this.Jc(this.nu)}else{this.Jc(this.aD);this.Jc(this.$C);this.Sb(l);this.Jc(this.Rx);this.Sb(f);this.Sb(q);this.Jc(this.nu);this.Sb(k);this.Sb(y);this.Sb(i)}this.Jc(this.mK)}this.fa()};B.prototype.pV=
function(){this.mm=this.Q.Zc;this.F2=this.Q.SY;this.Q=this.fb=r;this.Ao===m?this.mm?this.Qqa(this.mm,this.F2):this.Rqa():this.YJ()};B.prototype.rp=function(a){for(;this.Ee.length;){var b=this.Ee[0];if(this.Ao!==m&&this.Ao!==this.mm&&b.hE()){this.$T(this.Q.Zc);this.Ee=[];this.YJ();break}else{b.Ak(a);this.fa();this.fb.rp(a);if(b.lj()){this.Ee.shift();this.Ee.length==0&&this.pV()}else break}}};B.prototype.Ub=D();B.prototype.Sb=function(a){this.Ee.push(new a(this,this.fb,this.g,this.Q))};B.prototype.Jc=
function(a){this.Ee.push(new x(this,this.fb,this.g,this.Q,a))};B.prototype.$T=function(a){if(a)if(a=this.g.Vf(a)){this.g.remove(a);this.nu()}};B.prototype.nK=function(){this.trigger(new b(B.tN,{panorama:this.Q.Zc}))};B.prototype.nu=function(){this.trigger(new b(B.kN,{panorama:this.Q?this.Q.tj:this.mm,nextPanorama:this.Q?this.Q.Zc:r}))};B.prototype.aD=function(){this.trigger(new b(B.ps,{panorama:this.Q.tj}))};B.prototype.$C=function(){this.trigger(new b(B.ns,{panorama:this.Q.tj,nextPanorama:this.Q.Zc}))};
B.prototype.mK=function(){this.trigger(new b(B.qs,{panorama:this.Q.Zc,camera:this.Q.SY}))};B.prototype.Rx=function(){this.trigger(new b(B.rs,{panorama:this.Q.Zc,camera:this.Q.SY}))};B.prototype.Qqa=function(a,c){this.trigger(new b(B.UM,{panorama:a,camera:c}))};B.prototype.Rqa=function(){this.trigger(new b(B.VM))};B.prototype.fa=function(){this.trigger(new b(B.Ia))};B.Ia="request frame";B.tN="request load";B.kN="panorama removed";B.UM="all pending panoramas displayed";B.VM="all pending panoramas hidden";
B.ns="panorama end";B.rs="panorama start";B.qs="panorama show";B.ps="panorama hide";return B});
define("je",["require","fb","bY","eJ"],function(a){var b=a("fb"),c=a("bY"),e=a("eJ"),d=b.extend(e,function(a){e.call(this);this.g=a});d.prototype.clear=function(){this.end();this.g=r};d.prototype.Ay=function(a){for(var b=this.dH(a),c=a.mL(),d=0;d<b;d++)this.g.Vf(this.WQ(a,d)).set("alpha",d==c?1:0)};d.prototype.getTime=S(0);d.prototype.start=D();d.prototype.end=D();d.prototype.play=D();d.prototype.pause=D();d.prototype.Iy=D();d.prototype.Sy=D();d.prototype.pM=D();d.prototype.stop=D();d.prototype.ov=
D();d.prototype.Vr=D();d.prototype.wM=D();d.prototype.Ub=D();d.prototype.Ng=D();d.prototype.dH=function(a){return a.get("frames").length};d.prototype.WQ=function(a,b){return a.get("frames")[b]};d.prototype.fa=function(){this.trigger(new c(d.Ia))};d.prototype.El=function(a,b,e,j,n,i){this.trigger(new c(d.wj,{time:a,duration:b,transitionPosition:e,transitionLength:j,steps:n,selectedStep:i}))};d.prototype.Ig=function(){this.trigger(new c(d.Wb,{state:this.Ng()}))};d.Ia="request frame";d.Rda="frame display";
d.Sda="frame hide";d.wj="time change";d.Wb="playback state change";return d});
define("be","require,jquery.mod,dl,fb,kV,fZ,bY,je,ff,dY,jf,bi,hS".split(","),function(a){a("jquery.mod");var b=a("dl"),c=a("fb"),e=a("kV"),d=a("fZ");a("bY");var f=a("je"),g=a("ff"),k=a("dY");a("jf");var j=a("bi"),n=a("hS"),i=c.extend(f,function(a){f.call(this,a);this.XG=r;this.HQ=this.nt=0;this.L=this.Ct=r;this.sA=m;this.CT=z;this.ba=360;this.w$=180;this.ma=0.5;this.Vj=0.2;this.po=0.45;this.R4=5E3;this.V4=1;this.ZH=[[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.Nla=[0.05,0.1,0.05,0.1,0.4,0.1,0.05,0.1,0.05]});i.prototype.Ay=function(a){f.prototype.Ay.call(this,a);this.vC(a)};i.prototype.start=function(a){this.vC(a);this.fa()};i.prototype.end=function(){this.vC(r)};i.prototype.vC=function(a){if(this.L!=a){if(this.L){this.dra();this.L=r;this.hra()}if(this.L=a){this.nga();this.ba=a.get("hfov",360);this.w$=a.get("vfov",180);this.ma=a.get("pitch",0);this.HT=this.Yt=m;this.Fla(a);this.sa=0.5}}};i.prototype.wM=function(){this.CT=z};i.prototype.ov=
function(a){this.sa=a/i.Bz;this.fa();this.CT=p};i.prototype.Vr=function(a){this.ov(a)};i.prototype.El=function(){var a=this.dH(this.L),b=this.sa*(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);f.prototype.El.call(this,this.sa*i.Bz,i.Bz,this.sa*i.Bz,i.Bz,a,d)};i.prototype.Ub=function(a){if(this.L){var b=this.g.Qb(),c=this.g.Vb(),d=this.g.Ld(),e=0;if(this.Yt!==m&&this.HT!==m&&this.q7!==m)var f=b-this.Yt,i=c-this.HT,n=d-this.q7,e=Math.sqrt(f*f+i*i+n*n)*1E3/a;this.Yt=
b;this.HT=c;this.q7=d;for(var f=this.dH(this.L),x=this.sa*(f-1),i=Math.max(0,Math.min(f-2,Math.floor(x))),n=i+1,x=1-(x-i),y=1-x,E=[],B=0;B<f;B++)E.push(0);E[n]=y;E[i]=y<1?1:0;for(B=0;B<f;B++)this.g.Vf(this.WQ(this.L,B)).set("alpha",E[B]);this.El();if(this.XG&&(e<=this.V4||j.isPresenting())&&!this.CT){var B=Math.PI/180,e=180/Math.PI,E=this.g.Ba(),M=this.g.eb(),A=new k;A.vp(-d*B);A.mn(-c*B);A.up(-b*B);b=[];for(B=0;B<this.ZH.length;B++){d=this.g.unproject(new g(this.ZH[B][0]*E,this.ZH[B][1]*M,0)).Saa();
d.apply(A);c=d.Qb()*e;d=d.Vb()*e;b.push(Math.round((90-d)*this.HQ/180)*this.nt+Math.round((c+180)*this.nt/360))}c=[];for(B=0;B<f;B++){d=this.XG[B];for(E=e=0;E<this.ZH.length;E++)e=e+this.Nla[E]*d[b[E]];c.push(e)}B=c[i];b=c[n];i=x*c[i]+y*c[n];a=Math.min(1/f,a/this.R4);f=this.sa;n=Math.max.apply(Math,c);x=Math.min.apply(Math,c);i<this.Vj&&i<n?f=b>i?f+a:f-a:i>this.po&&i>x&&(f=B<i?f-a:f+a);f=Math.min(1,Math.max(0,f));if(this.sa!=f){this.sa=f;this.fa()}}}};i.prototype.Fla=function(a){var c=b(a.get("frames",
[])).map(function(a){return a.get("thumbnailUrl")});this.Ct=b(c).map(function(a){var b=r;if(a){b=new n(d.Bj);b.bind(e.R,this.e6,this);b.bind(e.ie,this.f6,this)}return b},this);b(this.Ct).each(function(a,b){a&&a.load(c[b])})};i.prototype.hra=function(){this.B2();this.XG=r};i.prototype.sma=function(){this.nt=150;this.Ct.map(function(a){if(a)this.nt=Math.min(a.Xc()*360/this.ba,this.nt)},this);this.HQ=Math.round(this.nt/2);this.XG=this.Ct.map(function(a){return this.Vha(a,this.nt,this.HQ,this.ba,this.w$,
this.ma)},this);this.B2()};i.prototype.Vha=function(a,b,c,d,e,f){var g=document.createElement("canvas");g.width=b;g.height=c;var i=g.getContext("2d");i.fillStyle="#000000";i.fillRect(0,0,b,c);if(a){a=a.pe();d=Math.round(b*d/360);i.drawImage(a,(b-d)*0.5,Math.round(c*(90-(f+e*0.5))/180),d,Math.round(c*e/180))}b=[];g=i.getImageData(0,0,g.width,g.height);for(c=i=0;i<g.height;i++)for(e=0;e<g.width;e++,c=c+4)b.push((0.299*g.data[c]+0.587*g.data[c+1]+0.114*g.data[c+2])/255);return b};i.prototype.B2=function(){b(this.Ct).each(function(a){if(a){a.unbind(e.R,
this.e6,this);a.unbind(e.ie,this.f6,this);a.cancel()}},this);this.Ct=r};i.prototype.e6=function(){b(this.Ct).filter(function(a){return a&&!a.kp()}).length==0&&this.sma()};i.prototype.f6=D();i.prototype.nga=function(){this.L.bind(e.G("minimumLuminance"),this.wo,this);this.L.bind(e.G("maximumLuminance"),this.wo,this);this.L.bind(e.G("luminanceChangeTime"),this.wo,this);this.L.bind(e.G("maxLuminanceChangeSpeed"),this.wo,this);this.wo()};i.prototype.dra=function(){this.L.unbind(e.G("minimumLuminance"),
this.wo,this);this.L.unbind(e.G("maximumLuminance"),this.wo,this);this.L.unbind(e.G("luminanceChangeTime"),this.wo,this);this.L.unbind(e.G("maxLuminanceChangeSpeed"),this.wo,this)};i.prototype.wo=function(){this.Vj=this.L.get("minimumLuminance");this.po=this.L.get("maximumLuminance");if(this.Vj==m&&this.po==m){this.Vj=0.2;this.po=0.45}else this.Vj==m?this.Vj=Math.min(0.2,this.po):this.Vj==m?this.po=Math.max(0.45,this.Vj):this.Vj=Math.min(this.Vj,this.po);this.po=Math.min(1,Math.max(0,this.po));this.Vj=
Math.min(1,Math.max(0,this.Vj));this.R4=Math.max(100,this.L.get("luminanceChangeTime",5E3));this.V4=this.L.get("maxLuminanceChangeSpeed",1);this.fa()};i.Bz=1E3;return i});
define("ka",["require","fb","u","fp","je"],function(a){var b=a("fb"),c=a("u"),e=a("fp"),d=a("je"),a=b.extend(d,function(a){d.call(this,a);this.VG=this.WG=r;this.wg=this.kf=5E3;this.Vc=m;this.Hb=this.kf;this.Mj=1;this.L=r;this.wt=z});a.prototype.start=function(a){this.L=a;this.wt=z;this.AH=p;this.WG=c.watch(this.L,"frameDisplayTime",this.GV,this);this.VG=c.watch(this.L,"frameTransitionTime",this.GV,this);this.Mj=this.dH(this.L);this.Vc=this.L.mL()*(this.kf+this.wg);this.GV(p);this.El();this.fa();this.Ig()};
a.prototype.GV=function(a){var b=Math.max(100,this.L.get("frameDisplayTime",5E3)),c=Math.max(100,this.L.get("frameTransitionTime",5E3));if(this.kf!=b||this.wg!=c||a){var a=this.Fw(),d=this.Eja();this.RQ();this.kf=b;this.wg=c;1<this.Mj?(this.Vc=a*(this.kf+this.wg)+d*this.kf+d*this.wg,this.Hb=this.Mj*(this.kf+this.wg)):(this.Vc=d*this.kf,this.Hb=this.kf)}};a.prototype.Fw=function(){return 1<this.Mj?Math.floor(this.Vc/(this.kf+this.wg)):0};a.prototype.Fja=function(){return 1<this.Mj?(this.Fw()+1)%this.Mj:
0};a.prototype.Eja=function(){return 1<this.Mj?Math.max(0,Math.min(1,this.Vc-this.Fw()*(this.kf+this.wg))):this.Vc/this.kf};a.prototype.RQ=function(){return 1<this.Mj?Math.max(0,Math.min(1,(this.Vc-(this.Fw()*(this.kf+this.wg)+this.kf))/this.wg)):0};a.prototype.mqa=function(a){var b=Math.floor(a/this.wg);return b*(this.kf+this.wg)+this.kf+(a-b*this.wg)};a.prototype.t9=function(a){var b=Math.floor(a/(this.kf+this.wg)),a=Math.max(0,a-b*(this.kf+this.wg)-this.kf);return b*this.wg+a};a.prototype.play=
function(){this.wt&&(this.wt=z,this.AH&&this.fa(),this.Ig())};a.prototype.pause=function(){this.wt=p;this.Ig()};a.prototype.Iy=function(){this.pause()};a.prototype.Sy=function(){this.play()};a.prototype.end=function(){this.AH=z;this.L=r;this.WG&&(this.WG.unwatch(),this.WG=r);this.VG&&(this.VG.unwatch(),this.VG=r);this.Ig()};a.prototype.ov=function(a){this.Vc=a;this.fa()};a.prototype.Vr=function(a){this.Vc=this.mqa(a);this.fa();this.pause()};a.prototype.Ub=function(a){if(this.AH){this.wt||(this.Vc+=
a);this.Vc%=this.Hb;for(var a=this.Fw(),b=this.Fja(),c=this.RQ(),d=b>a?c:1,c=b>a?1:1-c,e=0;e<this.Mj;e++){var i;i=e==a?c:e==b?d:0;var l=this.g.Vf(this.WQ(this.L,e));l.get("alpha")!=i&&(0<i&&1>i&&l.nk(),l.set("alpha",i))}this.El();this.wt||this.fa()}};a.prototype.Ng=function(){return this.AH?this.wt?e.uc:e.S:e.K};a.prototype.Ig=function(){d.prototype.Ig.call(this,this.Ng())};a.prototype.El=function(){var a=this.Vc,b=this.Hb,c=this.t9(this.Vc),e=this.t9(this.Hb),n=this.Mj+1,i=0===this.RQ()?this.Fw():
m;d.prototype.El.call(this,a,b,c,e,n,i)};return a});define("bv",["require","fb","je"],function(a){var b=a("fb"),c=a("je");return b.extend(c,function(a){c.call(this,a)})});
define("jm",["require","fb","kV","fp","je"],function(a){var b=a("fb"),c=a("kV"),e=a("fp"),d=a("je"),a=b.extend(d,function(a){d.call(this,a);this.ae=z});a.prototype.Ay=D();a.prototype.start=function(a){this.end();this.L=a;this.L.set("mute",this.ae);this.L.set("state",e.S);this.Gn()};a.prototype.getTime=function(){return this.L?this.L.get("currentTime"):0};a.prototype.Ng=function(){return this.L?this.L.get("state"):e.K};a.prototype.play=function(){this.L&&this.L.set("state",e.S)};a.prototype.pause=
function(){this.L&&this.L.set("state",e.uc)};a.prototype.pM=function(){this.L&&this.L.set("state",e.uc)};a.prototype.stop=function(){this.L&&this.L.set("state",e.K)};a.prototype.end=function(){this.L&&(this.Ho(),this.L=r)};a.prototype.ov=function(a){this.L&&this.L.set("state",e.S);this.L&&this.L.set("currentTime",a)};a.prototype.Fd=function(a){this.ae=a;this.L&&this.L.set("mute",this.ae)};a.prototype.Gn=function(){this.L.bind(c.G("currentTime"),this.ed,this,p);this.L.bind(c.G("duration"),this.Ti,
this,p);this.L.bind(c.G("state"),this.dh,this,p);this.L.get("state")!=e.K&&this.Ig()};a.prototype.Ho=function(){this.L.unbind(c.G("currentTime"),this.ed,this,p);this.L.unbind(c.G("duration"),this.Ti,this,p);this.L.unbind(c.G("state"),this.dh,this,p)};a.prototype.dh=function(){this.Ig()};a.prototype.ed=function(){this.El()};a.prototype.Ti=function(){this.El()};a.prototype.El=function(){this.L&&d.prototype.El.call(this,this.L.get("currentTime"),this.L.get("duration"))};return a});
define("t","require,fb,fp,bY,eJ,dR,je,be,ka,bv,jm".split(","),function(a){var b=a("fb");a("fp");var c=a("bY"),e=a("eJ"),d=a("dR"),f=a("je"),g=a("be"),k=a("ka"),j=a("bv"),n=a("jm"),i=b.extend(e,function(a){e.call(this);this.g=a;this.qS=this.zG(k);this.vR=this.zG(g);this.DK=this.zG(n);this.SU=this.zG(j);this.gc=r});i.prototype.clear=function(){this.qG(this.qS);this.qS=r;this.qG(this.vR);this.vR=r;this.qG(this.DK);this.DK=r;this.qG(this.SU);this.g=this.gc=this.SU=r};i.prototype.zG=function(a){a=new a(this.g);
a.bind(f.Ia,this.Sc,this,p);a.bind(f.wj,this.$q,this,p);a.bind(f.Wb,this.ne,this,p);return a};i.prototype.qG=function(a){a.unbind(f.Ia,this.Sc,this);a.unbind(f.wj,this.$q,this);a.unbind(f.Wb,this.ne,this);a.clear()};i.prototype.bS=function(a,b){return d.zb(b,a)};i.prototype.v3=function(a){return this.bS(a,"HDRPanorama")?this.vR:this.bS(a,"LivePanorama")?this.qS:this.bS(a,"VideoPanorama")?this.DK:this.SU};i.prototype.Ay=function(a){(this.gc=this.v3(a))&&this.gc.Ay(a)};i.prototype.start=function(a){this.Sc();
(this.gc=this.v3(a))&&this.gc.start(a)};i.prototype.Ng=function(){if(this.gc)return this.gc.Ng()};i.prototype.getTime=function(){return this.gc?this.gc.getTime():0};i.prototype.play=function(){this.gc&&this.gc.play()};i.prototype.pause=function(){this.gc&&this.gc.pause()};i.prototype.Iy=function(){this.gc&&this.gc.Iy()};i.prototype.Sy=function(){this.gc&&this.gc.Sy()};i.prototype.pM=function(){this.gc&&this.gc.pM()};i.prototype.stop=function(){this.gc&&this.gc.stop();this.trigger(new c(i.wj,{duration:0,
time:0,steps:m,selectedStep:m}))};i.prototype.end=function(){if(this.gc){this.gc.end();this.gc=r}};i.prototype.ov=function(a){this.gc&&this.gc.ov(a)};i.prototype.Vr=function(a){this.gc&&this.gc.Vr(a)};i.prototype.wM=function(){this.gc&&this.gc.wM()};i.prototype.Ub=function(a){this.gc&&this.gc.Ub(a)};i.prototype.Fd=function(a){this.DK.Fd(a)};i.prototype.Sc=function(){this.trigger(new c(i.Ia))};i.prototype.$q=function(a){this.trigger(new c(i.wj,a.data))};i.prototype.ne=function(a){this.trigger(new c(i.Wb,
a.data))};i.Ia="request frame";i.Rda="frame display";i.Sda="frame hide";i.wj="time change";i.Wb="playback state change";return i});
define("jn",["require","fb","kV","eJ","ix"],function(a){var b=a("fb"),c=a("kV"),e=a("eJ"),d=a("ix"),a=b.extend(e,function(a){e.call(this);this.g=a;this.Te=this.L=r});a.prototype.start=function(a){this.L=a;this.Te=this.g.Vf(this.L);this.Te.bind(c.R,this.Lf,this,p);this.Te.bind(c.oc,this.zo,this,p);this.Te.get("ready")?this.trigger(c.Ab,{panorama:this.L}):this.Te.bind(c.Ab,this.tI,this,p);this.Te.set("loadingActive",p)};a.prototype.stop=function(){this.L=r;this.Te&&(this.Te.unbind(c.Ab,this.tI,this),
this.Te.unbind(c.R,this.Lf,this),this.Te.unbind(c.oc,this.zo,this),this.Te.set("loadingActive",z),this.Te=r,this.trigger(c.je))};a.prototype.clear=function(){this.stop()};a.prototype.tI=function(){this.Te.unbind(c.Ab,this.tI,this);this.trigger(c.Ab,{panorama:this.L})};a.prototype.Lf=function(){this.Te.unbind(c.Ab,this.tI,this);this.Te.unbind(c.R,this.Lf,this);this.Te.unbind(c.oc,this.zo,this);this.Te=r;this.trigger(c.R,{panorama:this.L});this.L=r;this.trigger(c.je)};a.prototype.zo=function(a){this.trigger(new d(c.oc,
a.th))};return a});
define("ht","require,fb,kV,bY,eJ,I".split(","),function(a){var b=a("fb"),c=a("kV"),e=a("bY"),d=a("eJ"),f=a("I"),g=b.extend(d,function(a){d.call(this);this.g=a;this.dl=this.L=this.If=r;this.ma=this.$=0;this.ba=Math.PI*0.5});g.prototype.clear=function(){this.stop();this.I7();this.If=this.g=r};g.prototype.CY=function(a){if(this.If!=a){this.I7();this.sG();this.If=a;this.P0();this.Afa()}};g.prototype.Afa=function(){this.If&&this.If.bind(c.G("map"),this.g6,this,z)};g.prototype.I7=function(){this.If&&this.If.unbind(c.G("map"),
this.g6,this,z)};g.prototype.stop=function(){this.sG();this.L=r};g.prototype.Ub=function(){this.$=this.g.Qb();this.ma=this.g.Vb();this.ba=this.g.Fe();this.If&&this.dl&&this.If.rj(this.dl,this.$,this.ma,this.ba)};g.prototype.g6=function(){if(this.L){this.sG();(this.dl=this.c8(this.L,this.If.get("map",r),z))&&this.P8()}};g.prototype.display=function(a){if(this.L!=a){this.sG();this.L=a;this.P0()}};g.prototype.hide=function(a){this.L==a&&this.stop()};g.prototype.sG=function(){if(this.dl){this.Kka();this.dl=
r}};g.prototype.P0=function(){if(this.If&&this.L)(this.dl=this.c8(this.L,this.If.get("map",r),p))&&this.P8()};g.prototype.c8=function(a,b,c){for(var a=a.get("mapLocations",[]),d=0;d<a.length;d++){var e=a[d];if(e.get("map")==b)return e}return c&&a.length>0?a[0]:r};g.prototype.P8=function(){this.If.usa(this.dl);this.If.bind(f.Ug,this.O7,this,p);this.If.rj(this.dl,this.$,this.ma,this.ba)};g.prototype.Kka=function(){if(this.If){this.If.cwa(this.dl);this.If.unbind(f.Ug,this.O7,this)}};g.prototype.O7=function(a){this.trigger(new e(g.Ug,
{yawDelta:a.data.yawDelta}))};g.Ug="request yaw change";return g});
define("ep",["require","fb","bY","eJ","dM"],function(a){var b=a("fb"),c=a("bY"),e=a("eJ"),d=a("dM"),f=b.extend(e,function(a){e.call(this);this.g=a;this.g.bind(d.sN,this.x6,this,p)});f.prototype.clear=function(){this.g.unbind(d.sN,this.x6,this,p);this.g=r};f.prototype.La=function(){this.g.La()};f.prototype.x6=function(a){a=a.data.frameTime;this.trigger(new c(f.Hk,{frameTime:a}));this.trigger(new c(f.Ik,{frameTime:a}))};f.Hk="frameStart";f.Ik="positionSet";return f});
define("gq",["require","r","ih"],function(a){function b(){this.ea=this.W=0;this.ba=90;this.Th="landscape";this.cT=z;this.MA=c.Va()}var c=a("r"),e=a("ih");b.prototype.Vca=function(a){this.ba=this.oaa(a)};b.prototype.oaa=function(a){return this.MA&&"portrait"==this.Th?e.Du(a,this.ea,this.W):a};b.prototype.Tta=function(a){return this.MA&&"portrait"==this.Th?e.vk(a,this.W,this.ea):a};b.prototype.Ul=function(a){return this.ba=this.MA&&this.cT?e.Du(a,this.ea,this.W):a};b.prototype.Gba=function(){return this.MA&&
this.cT};b.prototype.cp=function(){return this.MA&&"portrait"==this.Th};b.prototype.Fe=R("ba");b.prototype.VK=function(a){return e.Du(a,this.ea,this.W)};b.prototype.setSize=function(a,b){this.W=a;this.ea=b;var c=this.aka();this.cT=this.Th!=c;this.Th=c};b.prototype.aka=function(){return 0===this.W||0===this.ea?"landscape":this.W<this.ea?"portrait":"landscape"};return b});
define("kp",["require","fb","fR","bY","eJ"],function(a){var b=a("fb"),c=a("fR"),e=a("bY"),d=a("eJ"),f=b.extend(d,function(a){d.call(this);this.g=a;this.V=z;this.ko=this.ko.bind(this);this.Nb=this.g.Nb});f.prototype.clear=function(){this.Nb=this.g=r};f.prototype.kd=function(a){this.V!=a&&(this.V&&document.removeEventListener("keyup",this.ko),(this.V=a)&&document.addEventListener("keyup",this.ko))};f.prototype.ko=function(a){"translate"==this.Nb.get("arrowKeysAction")&&(a.which==c.fF&&!a.shiftKey?this.trigger(new e(f.iN)):
a.which==c.DF&&!a.shiftKey&&this.trigger(new e(f.jN)))};f.jN="moveForward";f.iN="moveBackward";return f});
define("gA","require,dl,fb,kV,bY,eJ,kp".split(","),function(a){a("dl");var b=a("fb"),c=a("kV"),e=a("bY"),d=a("eJ"),f=a("kp"),a=b.extend(d,function(a){d.call(this);this.g=a;this.Pi=new f(a);this.Pi.bind(f.jN,this.V5,this,p);this.Pi.bind(f.iN,this.U5,this,p)});a.prototype.clear=function(){this.Pi.unbind(f.jN,this.V5,this,p);this.Pi.unbind(f.iN,this.U5,this,p);this.Pi.clear();this.Pi=r};a.prototype.Wr=function(a){this.Pi.kd(a)};a.prototype.Sg=P("L");a.prototype.end=function(){this.L=r};a.prototype.V5=
function(a){this.N9(a);(a=this.b8(this.g.Qb(),this.J3()))&&a.trigger(c.zi)};a.prototype.U5=function(a){this.N9(a);(a=this.b8(this.g.Qb()-180,this.J3()))&&a.trigger(c.zi)};a.prototype.N9=function(a){this.g.Sa().trigger(new e(c.jF,{gda:a}))};a.prototype.J3=function(){return this.g.Nb.get("keyboardTranslateSelectionAngle")};a.prototype.b8=function(a,b){var c,d;if(!this.L)return r;c!==m||(c=-90);d!==m||(d=360);var e=a-b*0.5,f=a+b*0.5,g=Math.max(-90,c-d*0.5),t=Math.max(90,c+d*0.5);d=this.L.get("adjacentPanoramas",
[]).slice();d=d.filter(function(b){if(!b.get("enabled"))return z;b=this.xA(b);if(!b)return z;var c;c=b.ha;for(var d=a-180,i=a+180;c<d;)c=c+(i-d);for(;c>i;)c=c-(i-d);b=b.pitch;return e<=c&&c<=f&&g<=b&&b<=t}.bind(this));if(d.length==0)return r;d.sort(function(b,d){var e=this.xA(b),f=this.xA(d);return(a-e.ha)*(a-e.ha)+(c-e.pitch)*(c-e.pitch)-((a-f.ha)*(a-f.ha)+(c-f.pitch)*(c-f.pitch))}.bind(this));return d[0]};a.prototype.xA=function(a){var b=a.get("yaw"),a=a.get("distance");if(b===m||a===m)return r;
var c=this.L.get("distanceToFloor");return{ha:b,pitch:-90+Math.atan2(a,c)*g}};var g=180/Math.PI;return a});
define("iK","require,fb,kV,bY,eJ,cx,bg,le,t,jn,ht,ep,gq,gA,cS".split(","),function(a){var b=a("fb"),c=a("kV"),e=a("bY"),d=a("eJ"),f=a("cx"),g=a("bg"),k=a("le"),j=a("t"),n=a("jn"),i=a("ht"),l=a("ep"),q=a("gq"),o=a("gA"),t=a("cS"),s=b.extend(d,function(a,b){d.call(this);this.D=a;this.g=b;this.g.set("visible",z);this.nb=new q;this.ce=new l(this.g);this.$d=new n(this.g);this.Ra=new k(this.D,this.g,this.nb);this.ka=new g(this.g,this.nb);this.yd=new j(this.g);this.qo=new i(this.g);this.fc=new f(this.g);
this.lK=new o(this.g);this.ce.bind(l.Hk,this.Yq,this,p);this.ce.bind(l.Ik,this.Zq,this,p);this.$d.bind(c.Ab,this.c6,this,p);this.$d.bind(c.je,this.uB,this,p);this.$d.bind(c.oc,this.uo,this,p);this.Ra.bind(k.Ia,this.Sc,this,p);this.Ra.bind(k.tN,this.d6,this,p);this.Ra.bind(k.kN,this.l6,this,p);this.Ra.bind(k.UM,this.t5,this,p);this.Ra.bind(k.VM,this.u5,this,p);this.Ra.bind(k.rs,this.CB,this,p);this.Ra.bind(k.ps,this.Wq,this,p);this.Ra.bind(k.qs,this.xo,this,p);this.Ra.bind(k.ns,this.BB,this,p);this.ka.bind(g.Ia,
this.Sc,this,p);this.ka.bind(g.Tg,this.il,this);this.ka.bind(g.Gk,this.s6,this);this.ka.bind(g.Wb,this.ne,this,p);this.ka.bind(g.te,this.ml,this,p);this.ka.bind(g.se,this.ll,this,p);this.yd.bind(j.Ia,this.Sc,this,p);this.yd.bind(j.wj,this.$q,this,p);this.yd.bind(j.Wb,this.ne,this,p);this.qo.bind(i.Ug,this.i6,this,p)});s.prototype.clear=function(){this.$d.clear();this.ce.clear();this.ka.clear();this.Ra.clear();this.yd.clear();this.qo.clear();this.fc.clear();this.$d.unbind(c.Ab,this.c6,this);this.$d.unbind(c.je,
this.uB,this);this.$d.unbind(c.oc,this.uo,this);this.ce.unbind(l.Hk,this.Yq,this);this.ce.unbind(l.Ik,this.Zq,this);this.Ra.unbind(k.Ia,this.Sc,this);this.Ra.unbind(k.tN,this.d6,this);this.Ra.unbind(k.kN,this.l6,this);this.Ra.unbind(k.UM,this.t5,this);this.Ra.unbind(k.VM,this.u5,this);this.Ra.unbind(k.rs,this.CB,this);this.Ra.unbind(k.ps,this.Wq,this);this.Ra.unbind(k.qs,this.xo,this);this.Ra.unbind(k.ns,this.BB,this);this.ka.unbind(g.Uda,this.Sc,this);this.ka.unbind(g.Tg,this.il,this);this.ka.unbind(g.Gk,
this.s6,this);this.ka.unbind(g.Wb,this.ne,this,p);this.ka.unbind(g.te,this.ml,this);this.ka.unbind(g.se,this.ll,this);this.yd.unbind(j.Ia,this.Sc,this);this.yd.unbind(j.wj,this.$q,this);this.yd.unbind(j.Wb,this.ne,this);this.qo.unbind(i.Ug,this.i6,this);this.D=this.g=this.lK=this.fc=this.qo=this.yd=this.Ra=this.ka=this.ce=this.$d=r};s.prototype.CY=function(a){this.qo.CY(a)};s.prototype.Sg=function(a,b,c){this.g.set("visible",p);this.yd.pM();a.set("currentTime",c);this.Ra.start(a,b)};s.prototype.vy=
function(){return this.$d.L||this.Ra.Fta()||this.Ra.mm};s.prototype.iv=function(){this.$d.stop();this.yd.end();this.ka.end();this.Ra.hide();this.qo.stop();this.fc.end();this.lK.end()};s.prototype.Sy=function(){this.ka.resume();this.yd.Sy()};s.prototype.Iy=function(){this.ka.pause();this.yd.Iy()};s.prototype.play=function(){this.ka.play();this.fc.play();this.yd.play()};s.prototype.pause=function(){this.ka.pause();this.fc.pause();this.yd.pause()};s.prototype.stop=function(){this.ka.stop();this.fc.stop();
this.yd.stop()};s.prototype.Wr=function(a){this.ka.Wr(a);this.lK.Wr(a)};s.prototype.getTime=function(){return this.yd.getTime()};s.prototype.moveTo=function(a,b,c,d,e){this.ka.moveTo(a,b,c,d,e)};s.prototype.Qb=function(){return this.g?this.g.Qb():m};s.prototype.Vb=function(){return this.g?this.g.Vb():m};s.prototype.Ld=function(){return this.g?this.g.Ld():m};s.prototype.Fe=function(){return this.g?this.nb.Tta(this.g.Fe()):m};s.prototype.ZW=function(){return this.g?this.g.ZW():m};s.prototype.$W=function(){return this.g?
this.g.$W():m};s.prototype.ne=function(){var a=this.yd.Ng()||this.ka.Ng();this.trigger(new e(s.Wb,{state:a}))};s.prototype.Rg=function(a){this.ka.Rg(a)};s.prototype.DE=function(a){this.ka.DE(a)};s.prototype.Xr=function(a){this.ka.Xr(a)};s.prototype.EE=function(a){this.ka.EE(a)};s.prototype.Fd=function(a){this.yd.Fd(a)};s.prototype.rv=function(a){this.ka.rv(a)};s.prototype.gua=function(a,b){var c=t.get(a,b,this.g.Qb(),this.g.Vb(),this.g.Ld(),this.g.Fe(),this.g.Ba(),this.g.eb());return c?{x:c.x,y:c.y}:
r};s.prototype.Yta=function(a,b){var c=t.kya(a,b,this.g);return c?{yaw:c.ha,pitch:c.pitch}:r};s.prototype.d6=function(a){this.$d.start(a.data.panorama)};s.prototype.uo=function(a){this.g.eM(p);this.trigger(new e(s.$l,{percent:a.th}))};s.prototype.c6=function(a){this.yd.end();this.lK.Sg(a.data.panorama)};s.prototype.uB=function(){this.g.eM(z);this.trigger(new e(s.ks))};s.prototype.Sc=function(){this.ce.La()};s.prototype.Yq=function(a){a=a.data.frameTime;this.nb.setSize(this.g.Ba(),this.g.eb());this.Ra.rp(a);
this.ka.rp(a)};s.prototype.Zq=function(a){a=a.data.frameTime;this.Ra.Ub(a);this.ka.Ub(a);this.yd.Ub(a);this.qo.Ub(a);this.fc.Ub(a)};s.prototype.CB=function(a){this.qo.display(a.data.panorama);this.yd.Ay(a.data.panorama);this.trigger(new e(s.rs,{panorama:a.data.panorama}))};s.prototype.l6=function(a){this.qo.hide(a.data.panorama)};s.prototype.t5=function(a){this.yd.start(a.data.panorama);this.fc.start(a.data.panorama)};s.prototype.u5=function(){this.yd.end();this.g.set("visible",z)};s.prototype.BB=
function(a){this.ka.end();this.fc.end(a.data.nextPanorama);this.trigger(new e(s.ns,{panorama:a.data.panorama}))};s.prototype.xo=function(a){this.ka.start(a.data.panorama,a.data.camera);this.trigger(new e(s.qs,{panorama:a.data.panorama}))};s.prototype.Wq=function(a){this.trigger(new e(s.ps,{panorama:a.data.panorama}))};s.prototype.i6=function(a){this.ka.IY(a.data.yawDelta,0)};s.prototype.il=function(a){this.trigger(new e(s.Tg,a.data))};s.prototype.s6=function(a){this.trigger(new e(s.Gk,a.data))};s.prototype.ml=
function(){this.yd.wM();this.trigger(new e(s.te))};s.prototype.ll=function(){this.trigger(new e(s.se))};s.prototype.Nca=function(a){this.yd.ov(a)};s.prototype.Vr=function(a){this.yd.Vr(a)};s.prototype.$q=function(a){this.trigger(new e(s.wj,a.data))};s.$l="loadingProgress";s.ks="loadingEnd";s.Tg="movementChange";s.Gk="positionChange";s.rs="panoramaStart";s.ns="panoramaEnd";s.qs="panoramaShow";s.ps="panoramaHide";s.Wb="playbackStateChange";s.te="userInteractionStart";s.se="userInteractionEnd";s.wj=
"timeChange";return s});
define("kJ","require,dl,jquery.mod,fb,iP,kV,bY,fp,cd,dR,jE,ct,dh,fz,iK,do,dM,fO,gF,bi,dj,fh".split(","),function(a){a("dl");a("jquery.mod");var b=a("fb");a("iP");var c=a("kV"),e=a("bY"),d=a("fp"),f=a("cd"),g=a("dR"),k=a("jE"),j=a("ct"),n=a("dh"),i=a("fz"),l=a("iK"),q=a("do"),o=a("dM"),t=a("fO"),s=a("gF"),u=a("bi"),v=a("dj"),w=a("fh"),x=b.extend(n,function(){n.call(this,"panorama");n.prototype.set.call(this,"zoomEnabled",p);n.prototype.set.call(this,"surfaceSelectionEnabled",z);n.prototype.set.call(this,
"surfaceSelectionHorizontalAngle",90);n.prototype.set.call(this,"surfaceSelectionVerticalAngle",180);n.prototype.set.call(this,"adjacentPanoramaPositionsEnabled",z);n.prototype.set.call(this,"fxaaEnabled",z);n.prototype.set.call(this,"aaEnabled",z);this.cV=this.GR=this.xq=this.RH=this.aP=this.cr=this.lh=this.CO=z;this.mR=p;this.ft=this.Pw=this.xG=z;this.YG=this.JQ=this.Vc=this.Hb=0;this.uT=this.wT=m;this.GS=p;this.Pf=d.K;this.q=this.g=r;this.f5={};for(var a in x.Fn)this.f5[a]=this.Yha(a);this.aG=
new k(this,"buttonToggleGyroscope",v.Ah);this.aG.bind(c.rg,function(){this.set("gyroscopeEnabled",p)},this);this.aG.bind(c.zh,function(){this.set("gyroscopeEnabled",z)},this);this.aG.set("pressed",this.get("gyroscopeEnabled")&&t.available);this.tga=new k(this,"buttonCardboardView",v.ad);this.tga.bind(c.T,function(){this.set("viewMode",x.Rp)},this,p);this.Hga=new k(this,"buttonVRView",v.ad);this.Hga.bind(c.T,function(){this.set("viewMode",x.Rp)},this,p);u.bind(c.aa,function(){this.M9("viewMode");this.trigger(x.FZ)},
this,p);this.bG=new k(this,"buttonToggleHotspots",v.Ah);this.bG.bind(c.rg,function(){this.set("hotspotsEnabled",p)},this);this.bG.bind(c.zh,function(){this.set("hotspotsEnabled",z)},this);this.bG.set("pressed",this.get("hotspotsEnabled"));this.dG=new k(this,"buttonToggleSurfaceSelection",v.Ah);this.dG.bind(c.rg,function(){this.set("surfaceSelectionEnabled",p)},this);this.dG.bind(c.zh,function(){this.set("surfaceSelectionEnabled",z)},this);this.dG.set("pressed",this.get("surfaceSelectionEnabled"));
this.od=b.op(this.sf,this);this.set("arrowKeysAction","rotate");this.set("doubleClickAction","inherit");this.set("hotspotsEnabled",p);this.set("preloadEnabled",p);this.set("keyboardTranslateSelectionAngle",90)});x.yZ="cameraPositionChange";x.te="userInteractionStart";x.se="userInteractionEnd";x.$l="loadingProgress";x.DZ="preloadMediaShow";x.FZ="viewModeChange";g.A("PanoramaPlayer",x).B("Object").M({aaEnabled:"bool",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]",fxaaEnabled:"bool",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"}).Rb([c.uF,x.yZ,x.$l,x.te,x.se,x.DZ,x.FZ,c.vc,j.yf,j.xh]).Qg({moveLeft:function(){this.sb(q.Gv)},moveRight:function(){this.sb(q.Hv)},moveUp:function(){this.sb(q.Iv)},moveDown:function(){this.sb(q.Fv)},playLeft:function(){this.sb([q.Gv,q.S])},playRight:function(){this.sb([q.Hv,q.S])},playUp:function(){this.sb([q.Iv,q.S])},playDown:function(){this.sb([q.Fv,q.S])},play:function(){this.fh()},pause:function(){this.pl()},stop:function(){this.Qt()},seek:function(a){this.sC(a)},
setFramePlaybackPosition:function(a){this.ipa(a)},setFrameTransitionPosition:function(a){this.jpa(a)},restart:function(){this.Pt()},zoomIn:function(){this.sb(q.Dn)},zoomOut:function(){this.sb(q.En)},resumeCamera:function(){this.toa()},pauseCamera:function(){this.rna()},moveTo:function(a,b,c,d){this.e5(a,b,c,d,z)},setPosition:function(a,b,c,d){this.e5(a,b,c,d,p)},getScreenPosition:function(a,b){return this.pka(a,b)},getPanoramaPosition:function(a,b){return this.bka(a,b)}});x.prototype.get=function(a,
b){switch(a){case "currentTime":return this.q&&this.q.getTime()||0;case "viewMode":return u.isPresenting()?x.Rp:x.pO;case "video":a="panorama";break;case "rendererPanorama":return this.q&&this.q.vy()}if(!b)switch(a){case "mouseControlMode":b=f.UZ;break;case "touchControlMode":b=f.O_}return n.prototype.get.call(this,a,b)};x.prototype.set=function(a,b){if(this.get(a)!=b){switch(a){case "application":this.CO=p;this.od();break;case "startTime":this.cr=p;this.od();break;case "video":case "panorama":a=
"panorama";this.cr=p;this.od();break;case "camera":this.aP=p;this.od();break;case "viewerArea":this.lh=p;this.od();break;case "displayPlaybackBar":case "hdrPanoramaDisplayPlaybackBarSteps":case "livePanoramaDisplayPlaybackBarSteps":case "buttonPlay":case "buttonPlayPause":this.ft=p;this.od();break;case "mapPlayer":this.RH=p;this.od();break;case "gyroscopeEnabled":this.xq=p;this.od();break;case "gyroscopeVerticalDraggingEnabled":this.mR=p;this.od();break;case "viewMode":if(b=="vr")b=x.Rp;b==x.Rp&&
!u.isPresenting()?u.oh():b!=x.Rp&&u.isPresenting()&&u.Vd();b=u.isPresenting()?x.Rp:x.pO;break;case "hotspotsEnabled":this.GR=p;this.od();break;case "mouseControlMode":case "touchControlMode":this.xG=p;this.od();break;case "surfaceSelectionEnabled":o.kda()||(b=z);this.cV=p;this.od()}n.prototype.set.call(this,a,b)}};x.prototype.Wl=function(a){this.Pw=a;this.q&&this.q.Wr(this.Pw)};x.prototype.V$=function(){return this.get("doubleClickAction")!="inherit"};x.prototype.TO=function(a){n.prototype.TO.call(this,
a);a.bind(c.tF,this.A$,this,p)};x.prototype.yV=function(a){n.prototype.yV.call(this,a);a.unbind(c.tF,this.A$,this,p)};x.prototype.A$=function(){switch(this.get("doubleClickAction")){case "toggle_fullscreen":var a=this.get("application").eg;a&&a.available()&&a.toggle()}};x.prototype.Yha=function(a){var b=x.Fn[a],a=new k(this,a,v.ad);a.bind(c.ub,function(){this.sb(b.movement)},this);b.stopOnRelease&&a.bind(c.Xb,function(){this.sb(q.je)},this);return a};x.prototype.sf=function(){if(this.lh||this.CO){this.lh=
this.CO=z;this.xG=this.xq=this.RH=p;this.et();this.get("viewerArea")&&this.get("application")&&this.ct();this.MJ(this.get("viewerArea"))}var a=z;if(this.g){if(this.RH){this.RH=z;this.q.CY(this.get("mapPlayer"))}if(this.xG){this.xG=z;this.q.Xr(this.get("mouseControlMode"));this.q.rv(this.get("touchControlMode"))}if(this.cr||this.aP){this.YG=this.JQ=this.Hb=this.Vc=0;this.uT=this.wT=m;a=p;this.aP=this.cr=z;if(this.get("panorama")){this.nJ();this.q.Sg(this.get("panorama"),this.get("camera",new i),this.get("startTime"))}else{this.q.iv();
this.GS=p;this.Pf=d.K;this.$b(d.K)}}if(this.mR){this.mR=z;this.q.EE(this.get("gyroscopeVerticalDraggingEnabled",p))}if(this.xq){this.xq=z;var b=this.get("gyroscopeEnabled")&&t.available;if(b&&t.disabled){b=z;s.LZ.show(function(){t.kY(function(){this.set("gyroscopeEnabled",p)}.bind(this))}.bind(this))}this.set("gyroscopeEnabled",b);this.q.DE(b);this.aG.set("pressed",b)}if(this.GR){this.GR=z;this.bG.set("pressed",this.get("hotspotsEnabled"))}if(this.ft){this.ft=z;a=p}if(this.cV){this.cV=z;this.dG.set("pressed",
this.get("surfaceSelectionEnabled"))}a&&this.mD()}};x.prototype.MC=function(){this.set("panorama",r)};x.prototype.ct=function(){var a=this.get("viewerArea"),b=this.get("application");this.g=new o(b,a,this);this.g.N({left:0,top:0,bottom:0,right:0});a.la(this.g);this.q=new l(a,this.g);this.q.bind(l.Tg,this.il,this);this.q.bind(l.Gk,this.B5,this);this.q.bind(l.$l,this.uo,this);this.q.bind(l.ks,this.cx,this);this.q.bind(l.qs,this.xo,this,p);this.q.bind(l.ps,this.Wq,this,p);this.q.bind(l.rs,this.CB,this,
p);this.q.bind(l.ns,this.BB,this,p);this.q.bind(l.Wb,this.ne,this);this.q.bind(l.te,this.ml,this);this.q.bind(l.se,this.ll,this);this.q.bind(l.wj,this.$q,this);this.get("application").bind(c.G("mute"),this.AB,this);this.get("application").get("mute",z)&&this.q.Fd(p);this.q&&this.q.Wr(this.Pw);u.bind(c.aa,this.Xj,this,p);this.yP();this.Fx(p)};x.prototype.et=function(){if(this.g){this.q.unbind(l.Tg,this.il,this);this.q.unbind(l.Gk,this.B5,this);this.q.unbind(l.$l,this.uo,this);this.q.unbind(l.ks,this.cx,
this);this.q.unbind(l.qs,this.xo,this,p);this.q.unbind(l.ps,this.Wq,this,p);this.q.unbind(l.rs,this.CB,this,p);this.q.unbind(l.ns,this.BB,this,p);this.q.unbind(l.Wb,this.ne,this);this.q.unbind(l.te,this.ml,this);this.q.unbind(l.se,this.ll,this);this.q.unbind(l.wj,this.$q,this);this.q.clear();this.q=r;this.get("application").unbind(c.G("mute"),this.AB,this);this.g.getParent().removeChild(this.g);this.g=r;u.unbind(c.aa,this.Xj,this,p);this.Fx(z)}};x.prototype.AB=function(){this.g&&this.q.Fd(this.get("application").get("mute",
z))};x.prototype.ne=function(a){this.Pf=a.data.state;this.fe()};x.prototype.fe=function(){this.$b(this.GS||u.isPresenting()?this.Pf:d.S)};x.prototype.ml=function(){this.trigger(new e(x.te))};x.prototype.ll=function(){this.trigger(new e(x.se))};x.prototype.CB=function(a){this.trigger(new e(x.DZ,{panorama:a.data.panorama}))};x.prototype.BB=D();x.prototype.xo=function(a){this.yP();this.XH(a.data.panorama)};x.prototype.Wq=function(a){this.WH(a.data.panorama)};x.prototype.il=function(a){for(var b in x.Fn)this.f5[b].set("state",
a.data[x.Fn[b].pressedOn]?w.ya:w.$c);this.GS=a.data.stopped;this.fe();this.trigger(new e(c.uF,a.data))};x.prototype.B5=function(a){this.yP();this.trigger(new e(x.yZ,a.data))};x.prototype.yP=function(){if(this.q){this.set("yaw",this.q.Qb());this.set("pitch",this.q.Vb());this.set("roll",this.q.Ld());this.set("hfov",this.q.Fe());this.set("actualHFOV",this.q.ZW());this.set("actualVFOV",this.q.$W())}};x.prototype.uo=function(a){this.g.getParent().N({progressPercent:a.data.percent,progressVisible:p});this.trigger(new e(x.$l,
a.data))};x.prototype.cx=function(){this.g.getParent().set("progressVisible",z)};x.prototype.Xj=function(){this.set("viewMode",u.isPresenting()?x.Rp:x.pO);this.fe()};x.prototype.e5=function(a,b,c,d,e){this.q&&this.q.moveTo(a,b,c,d,e)};x.prototype.sb=function(a){this.q&&this.q.Rg(a)};x.prototype.fh=function(){this.q.play()};x.prototype.jk=function(){this.q.stop()};x.prototype.pl=function(){this.q.pause()};x.prototype.sC=function(a){this.q&&(this.y3()?this.q.Vr(a):this.q.Nca(a))};x.prototype.ipa=function(a){this.q&&
this.q.Nca(a)};x.prototype.jpa=function(a){this.q&&this.q.Vr(a)};x.prototype.rna=function(){this.q&&this.q.Iy()};x.prototype.toa=function(){this.q&&this.q.Sy()};x.prototype.pka=function(a,b){if(this.q)return this.q.gua(a,b)};x.prototype.bka=function(a,b){if(this.q)return this.q.Yta(a,b)};x.prototype.ZI=function(a){this.sC(a.data.position)};x.prototype.$q=function(a){this.Vc=a.data.time;this.Hb=a.data.duration;this.JQ=a.data.transitionPosition;this.YG=a.data.transitionLength;this.wT=a.data.steps;this.uT=
a.data.selectedStep;this.mD()};x.prototype.mD=function(){var a=this.g.getParent(),b=z;if(this.Dja()){var c=this.y3(),d=this.dka();if(c){if(this.YG>0){a.N({playbackBarPosition:this.JQ,playbackBarDuration:this.YG,playbackBarSteps:this.wT,playbackBarSelectedStep:this.uT,playbackBarLiveDragging:d});b=p}}else if(this.Hb>0){a.N({playbackBarPosition:this.Vc,playbackBarDuration:this.Hb,playbackBarSteps:m,playbackBarSelectedStep:m,playbackBarLiveDragging:d});b=p}}a.set("playbackBarVisible",b)};x.prototype.Dja=
function(){var a=this.get("panorama");return a?g.zb("HDRPanorama",a)?this.get("hdrPanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",z)):g.zb("LivePanorama",a)?this.get("livePanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",z)):g.zb("VideoPanorama",a)?this.get("videoPanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",p)):z:z};x.prototype.y3=function(){var a=this.get("panorama");return!a?z:g.zb("HDRPanorama",a)?this.get("hdrPanoramaDisplayPlaybackBarSteps",p):g.zb("LivePanorama",
a)?this.get("livePanoramaDisplayPlaybackBarSteps",p):z};x.prototype.dka=function(){var a=this.get("panorama");return!a||g.zb("VideoPanorama",a)?z:p};x.Rp="cardboard";x.pO="standard";x.Fn={buttonMoveLeft:{movement:q.Gv,pressedOn:"movingLeft",stopOnRelease:p},buttonMoveRight:{movement:q.Hv,pressedOn:"movingRight",stopOnRelease:p},buttonMoveUp:{movement:q.Iv,pressedOn:"movingUp",stopOnRelease:p},buttonMoveDown:{movement:q.Fv,pressedOn:"movingDown",stopOnRelease:p},buttonPlayLeft:{movement:[q.Gv,q.S],
pressedOn:"movingLeft",stopOnRelease:z},buttonPlayRight:{movement:[q.Hv,q.S],pressedOn:"movingRight",stopOnRelease:z},buttonPlayUp:{movement:[q.Iv,q.S],pressedOn:"movingUp",stopOnRelease:z},buttonPlayDown:{movement:[q.Fv,q.S],pressedOn:"movingDown",stopOnRelease:z},buttonZoomIn:{movement:q.Dn,pressedOn:"zoomingIn",stopOnRelease:p},buttonZoomOut:{movement:q.En,pressedOn:"zoomingOut",stopOnRelease:p}};return x});
define("ca","fb,bY,dR,ct,kJ,di".split(","),function(a,b,c,e,d,f){a=a.extend(f,function(){f.call(this)});c.A("PanoramaPlayListItem",a).B("PlayListItem").M({media:"Panorama",camera:"PanoramaCamera",player:"PanoramaPlayer"});a.prototype.start=function(){f.prototype.start.call(this);var a=this.get("player");if(a){a.bind(e.yf,this.xo,this);a.set("panorama",this.get("media"));a.set("camera",this.get("camera"))}};a.prototype.stop=function(){var a=this.get("player");if(a){a.unbind(e.yf,this.xo,this);a.get("panorama")==
this.get("media")&&a.set("panorama",r)}f.prototype.stop.call(this)};a.prototype.xo=function(a){if(a.data.media==this.get("media")){this.get("player").unbind(e.yf,this.xo,this);this.get("player").bind(e.xh,this.Wq,this);this.dy()}};a.prototype.Wq=function(a){if(a.data.media==this.get("media")){this.get("player").unbind(e.xh,this.Wq,this);this.end()}};return a});
define("iA",["require","fb","iP","dR"],function(a){var b=a("fb"),c=a("iP"),a=a("dR"),b=b.extend(c,function(){c.call(this)});a.A("PanoramaSnapshot",b).B("Object").M({position:"PanoramaCameraPosition",image:"ImageResource"});return b});define("jQ",["fb","bR"],function(a,b){var c=a.extend(b,function(a,c,f,g){b.call(this);this.Jd=a;this.W=c;this.ea=f;this.DQ=g});c.prototype.jn=function(){return[this.Jd]};c.prototype.uk=R("Jd");c.prototype.Xc=R("W");c.prototype.Kd=R("ea");return c});
define("es","require,dl,fb,dR,dr,eC,jQ".split(","),function(a){var b=a("dl"),c=a("fb"),e=a("dR"),d=a("dr"),f=a("eC"),g=a("jQ"),a=c.extend(d,function(){d.call(this);this.X=m});e.A("Photo",a).B("Media").M({audios:"array[PhotoAudio]",duration:"number",height:"number",image:"ImageResource",width:"number",flipImageHorizontally:"bool"});a.prototype.Mg=function(){if(this.X==m){var a=this.get("image");this.X=a?new g(f.Ol(a).get("url"),this.get("width"),this.get("height"),this.get("flipImageHorizontally",
z)):r}return this.X};a.prototype.ip=function(){var a=this.eH(this.Mg());b(this.get("audios",[])).each(function(b){a=a.concat(b.ip())},this);return a};a.prototype.eH=function(a){return a?a.jn():[]};return a});
define("hd",["dl","fb","kV","dr","dR"],function(a,b,c,e,d){b=b.extend(e,function(){e.call(this);this.set("loop",z)});d.A("PhotoAlbum",b).B("Media").M({audios:"array[PhotoAlbumAudio]",loop:"bool",playList:"PhotoPlayList"}).Rb([c.Da]);b.prototype.ip=function(){var b=[],c=this.get("playList");c&&a(c.get("items"),[]).each(function(a){(a=a.get("media"))&&(b=b.concat(a.ip()))});a(this.get("audios",[])).each(function(a){b=b.concat(a.ip())});return b};return b});
define("gk","require,fb,fZ,dR,gH,z".split(","),function(a){var b=a("fb"),c=a("fZ"),e=a("dR"),d=a("gH");a("z");a=b.extend(d,function(){d.call(this,c.vea)});e.A("PhotoAlbumAudio",a).B("MediaAudio");return a});
define("cr",["require","fp"],function(a){function b(a,b){this.g=a;this.Sk=b;this.Yv=[];this.hm=[];this.Jl=1}var c=a("fp");b.prototype.clear=function(){for(var a=0;a<this.Yv.length;a++)this.Yv[a].ec(c.K);this.Kfa();this.hm=this.Yv=r};b.prototype.stop=function(){for(var a=0;a<this.hm.length;a++)this.hm[a].ec(c.K)};b.prototype.play=function(){for(var a=0;a<this.hm.length;a++){var b=this.hm[a];b.Ge()!=c.S&&b.ec(c.S)}};b.prototype.pause=function(){for(var a=0;a<this.hm.length;a++){var b=this.hm[a];b.Ge()==
c.S&&b.ec(c.uc)}};b.prototype.start=function(){this.stop();for(var a=0;a<this.Sk.length;a++){var b=this.Sk[a],f=b.Mu();f&&(this.Yv.push(f),b.get("autoplay",z)&&this.hm.push(f))}for(a=0;a<this.hm.length;a++)this.hm[a].ec(c.S)};b.prototype.Ub=D();b.prototype.Kfa=function(){for(var a=0;a<this.Yv.length;a++)this.Yv[a].Ap(1)};return b});define("gj",["fb","cr"],function(a,b){return a.extend(b,function(a,e){b.call(this,a,e.get("audios",[]));this.WI=e})});
define("fC",["fb","cr"],function(a,b){return a.extend(b,function(a,e){b.call(this,a,e.get("audios",[]));this.md=e})});
define("gY",["gj","fC"],function(a,b){function c(a){this.g=a;this.Zf=[];this.Of=[]}c.prototype.clear=function(){this.jda();this.Of=this.Zf=r};c.prototype.jda=function(){for(var a=0;a<this.Zf.length;a++)this.Zf[a].clear();for(a=0;a<this.Of.length;a++)this.Of[a].clear();this.Zf=[];this.Of=[]};c.prototype.pause=function(){for(var a=0;a<this.Zf.length;a++)this.Zf[a].pause();for(a=0;a<this.Of.length;a++)this.Of[a].pause()};c.prototype.play=function(){for(var a=0;a<this.Zf.length;a++)this.Zf[a].play();
for(a=0;a<this.Of.length;a++)this.Of[a].play()};c.prototype.stop=function(){for(var a=0;a<this.Zf.length;a++)this.Zf[a].stop();for(a=0;a<this.Of.length;a++)this.Of[a].clear();this.Of=[]};c.prototype.Mxa=function(b){b=new a(this.g,b);this.Of.push(b);b.start()};c.prototype.Pxa=function(a){for(var b=0;b<this.Of.length;b++)if(this.Of[b].WI==a){this.Of[b].clear();this.Of.splice(b,1);break}};c.prototype.PY=function(a){a=new b(this.g,a);this.Zf.push(a);a.start()};c.prototype.Nxa=function(a){for(var b=0;b<
this.Zf.length;b++)if(this.Zf[b].md==a){this.Zf[b].clear();this.Zf.splice(b,1);break}};c.prototype.Ub=function(a){for(var b=0;b<this.Zf.length;b++)this.Zf[b].Ub(a);for(b=0;b<this.Of.length;b++)this.Of[b].Ub(a)};return c});
define("j",["fb","iZ"],function(a,b){function c(){this.Z=p;this.da=this.ca=0.5;this.pa=1;this.Ad=b.Ke;this.Ci=this.Di=100}c.prototype.getX=function(){this.gj();return this.ca};c.prototype.getY=function(){this.gj();return this.da};c.prototype.Ql=function(){this.gj();return this.pa};c.prototype.AE=function(a,b,c){this.Ad=c;this.da=this.ca=0.5;this.pa=1;this.Z=p};c.prototype.Fa=function(a,b,c){this.ca=a;this.da=b;this.pa=c;this.Z=p};c.prototype.setSize=function(a,b){this.Di=a;this.Ci=b;this.Z=p};c.prototype.gj=
function(){if(this.Z){this.Z=z;1>this.pa&&(this.pa=1);var a=Math.min(0.5/this.pa,0.5),b=Math.max(1-0.5/this.pa,0.5);this.ca<a?this.ca=a:this.ca>b&&(this.ca=b);a=Math.min(0.5/this.pa,0.5);b=Math.max(1-0.5/this.pa,0.5);this.da<a?this.da=a:this.da>b&&(this.da=b)}};return c});
define("bn",[],function(){function a(a,c){this.g=a;this.H=c;this.da=this.ca=0.5;this.pa=1;this.qJ=z}a.prototype.start=function(){this.da=this.ca=0.5;this.pa=1;this.qJ=p};a.prototype.clear=function(){this.H=this.g=r};a.prototype.Fa=function(a,c,e){this.ca=a;this.da=c;this.pa=e};a.prototype.hd=R("qJ");a.prototype.$a=function(){this.qJ=z};return a});
define("fS",["fb","iP","dR"],function(a,b,c){a=a.extend(b,function(a,c,f){b.call(this);a!=m&&this.set("x",a);c!=m&&this.set("y",c);f!=m&&this.set("zoomFactor",f)});c.A("PhotoCameraPosition",a).B("Object").M({x:"number",y:"number",zoomFactor:"number"});return a});
define("h",["fb","bn","fS","kH","bq"],function(a,b,c,e,d){a=a.extend(b,function(a,c){b.call(this,a,c);this.O=r});a.prototype.start=function(a){var b=a.get("initialPosition",new c(0.5,0.5,1)),k=a.get("targetPosition",new c(0.5,0.5,1));this.O=new e(a.get("easing","linear"),[new d("x",b.get("x",0.5),k.get("x",0.5)),new d("y",b.get("y",0.5),k.get("y",0.5)),new d("zoom",b.get("zoomFactor",1),k.get("zoomFactor",1))],a.get("duration",1E3));this.$a(0)};a.prototype.clear=function(){this.O=r;b.prototype.clear.call(this)};
a.prototype.hd=function(){return this.O!=r};a.prototype.$a=function(a){this.O&&(this.O.$a(a),this.H.Fa(this.O.tb("x"),this.O.tb("y"),this.O.tb("zoom")),this.ca=this.H.getX(),this.da=this.H.getY(),this.pa=this.H.Ql(),this.O.He()&&(this.O=r))};return a});
define("ch","fb,bY,eJ,dR,fp,iZ,j,bn,h,kV".split(","),function(a,b,c,e,d,f,g,k,j,n){var i=a.extend(c,function(a,b){c.call(this);this.g=a;this.kc=b;this.g.bind(n.vb,this.lb,this);this.m=d.K;this.Zi=this.WI=this.pb=this.X=r;this.H=new g});i.prototype.clear=function(){this.end();this.H=r;this.g.unbind(n.vb,this.lb,this);this.g=r};i.prototype.end=function(a){if(this.X==a||typeof a=="undefined"){this.C2();this.pb=this.WI=this.pb=this.X=r}};i.prototype.start=function(a){if(this.X!=a){this.end(this.X);var b=
a.get("media"),c=a.get("camera"),d=b.get("width",100),e=b.get("height",100),g=c?c.get("scaleMode",f.Ke):f.Ke;this.X=a;this.pb=c;this.WI=b;b.Mg();this.V=p;this.H.AE(d,e,g);this.$ha(c);this.fa()}};i.prototype.stop=function(){if(this.m!=d.K){this.m=d.K;if(this.Zi){this.Zi.start(this.pb);this.fa()}}};i.prototype.play=function(){if(this.m==d.K||this.m==d.uc){this.m=d.S;this.fa()}};i.prototype.pause=function(){if(this.m==d.S)this.m=d.uc};i.prototype.rp=function(a){if(this.Zi&&this.Zi.hd()){if(this.m==d.S){this.Zi.$a(a);
this.fa()}this.bi(this.Zi.ca,this.Zi.da,this.Zi.pa)}};i.prototype.$ha=function(a){this.C2();this.Zi=e.zb("MovementPhotoCamera",a)?new j(this.g,this.H):new k(this.g,this.H);this.Zi.start(a)};i.prototype.C2=function(){if(this.Zi){this.Zi.clear();this.Zi=r}};i.prototype.lb=function(){this.H.setSize(this.g.Ba(),this.g.eb());this.fa()};i.prototype.fa=function(){this.trigger(new b(i.Ia))};i.prototype.bi=function(a,b,c){this.kc.Fa(this.X,a,b,c)};i.Ia="request frame";return i});
define("ge","require,dl,fb,bY,eJ,kV,fZ,iZ".split(","),function(a){var b=a("dl"),c=a("fb"),e=a("bY"),d=a("eJ"),f=a("kV");a("fZ");var g=a("iZ"),k=c.extend(d,function(a,b){d.call(this);this.HC=[];this.D=a;this.g=b});k.prototype.Ny=function(a){this.wq(a).Ny();return this};k.prototype.ud=function(a,b){this.wq(a).ud(b);return this};k.prototype.pj=function(a,b){this.wq(a).pj(b);return this};k.prototype.Fa=function(a,b,c,d){this.wq(a).Fa(b,c,d);return this};k.prototype.nk=function(a){this.wq(a).nk();return this};
k.prototype.stop=function(){this.Q2(function(a){a.clear()});this.HC=[]};k.prototype.clear=function(){this.stop();this.g=this.D=this.HC=r};k.prototype.Ub=function(){this.Q2(function(a){a.update()})};k.prototype.wq=function(a){var b=this.Yia(a);if(!b){b=new j(a,this.g);b.bind(j.B_,this.Ala,this);b.bind(j.z_,this.zla,this);this.HC.push(b)}return b};k.prototype.Q2=function(a){b(this.HC).each(a,this)};k.prototype.Yia=function(a){return b(this.HC).find(function(b){return b.getItem()==a})};k.prototype.Ala=
function(){this.fa()};k.prototype.zla=function(a){this.trigger(new e(k.oN,{item:a.source.getItem()}))};k.prototype.fa=function(){this.trigger(new e(k.Ia))};k.Ia="request frame";k.oN="photo preload end";var j=c.extend(d,function(a,b){d.call(this);this.X=a;this.g=b;var c=a.get("camera");this.Ad=c?c.get("scaleMode",g.Ke):g.Ke;this.ih=a.get("media").Mg();this.ih.bind(f.R,this.Lf,this);this.ih.bind(f.ie,this.Sq,this);this.Y=j.Gz;this.da=this.ca=0.5;this.pa=1;this.Gj=0;this.aw=z;this.me=0;this.Z=z});j.prototype.getItem=
R("X");j.prototype.Ny=function(){this.Y==j.Gz?this.dJ():this.K9()};j.prototype.ud=function(a){if(this.Gj!=a){this.Gj=a;this.cd()}};j.prototype.pj=function(a){if(this.me!=a){this.me=a;this.cd()}};j.prototype.Fa=function(a,b,c){if(this.ca!=a||this.da!=b||this.pa!=c){this.ca=a;this.da=b;this.pa=c;this.cd()}};j.prototype.nk=function(){if(!this.aw){this.aw=p;this.cd()}};j.prototype.clear=function(){this.Y==j.HF&&this.kC();(this.Y==j.Dz||this.Y==j.Fz||this.Y==j.Ez)&&this.yr();this.ih.unbind(f.R,this.Lf);
this.ih.unbind(f.ie,this.Sq);this.ih=r};j.prototype.update=function(){if(this.Z){this.Z=z;if(this.me>-1&&this.me<1&&this.Gj>0){this.Y==j.Gz&&this.ZA();this.Y==j.Dz&&this.mfa();if(this.Y==j.HF){if(this.aw){this.g.HW(this.ih);this.aw=z}this.g.Vl(this.ih,this.Gj);this.g.Xwa(this.ih,this.me);this.g.GE(this.ih,this.ca,this.da,this.pa)}}else{this.Y==j.HF&&this.kC();(this.Y==j.Dz||this.Y==j.Ez)&&this.yr()}}};j.prototype.cd=function(){if(!this.Z){this.Z=p;this.Oa()}};j.prototype.Oa=function(){this.trigger(new e(j.B_))};
j.prototype.dJ=function(){this.Y=j.Fz;this.g.ln(this.ih)};j.prototype.ZA=function(){this.Y=j.Ez;this.g.ln(this.ih)};j.prototype.mfa=function(){this.Y=j.HF;this.g.AW(this.ih);this.g.$wa(this.ih,this.Ad)};j.prototype.kC=function(){this.Y=j.Dz;this.g.removeItem(this.ih)};j.prototype.yr=function(){this.Y=j.Gz;this.g.si(this.ih)};j.prototype.Lf=function(){if(this.Y==j.Fz||this.Y==j.Ez){var a=this.Y==j.Fz;this.Y=j.Dz;this.cd();a&&this.K9()}};j.prototype.Sq=function(){if(this.Y==j.Fz||this.Y==j.Ez)this.Y=
j.Gz};j.prototype.K9=function(){this.trigger(new e(j.z_))};j.B_="requestUpdate";j.z_="preloadEnd";j.Gz="unloaded";j.Fz="preloading";j.Ez="loading";j.Dz="loaded";j.HF="added";return k});define("jT",[],function(){return{Zl:"blending",cm:"scroll"}});
define("bH","dl,fb,bY,eJ,kV,ge,jT".split(","),function(a,b,c,e,d,f,g){function k(b,c,d){this.hj=b;this.item=c;this.sda=d;this.index=b&&c?a(b.get("playList").get("items")).indexOf(this.item):0;this.loaded=z}k.prototype.isEqual=function(a){return a&&a.hj==this.hj&&a.item==this.item};var j=b.extend(e,function(a,b,c){e.call(this);this.D=a;this.g=b;this.kc=c;this.kc.bind(f.oN,this.d7,this);this.XC=g.Zl;this.Y=j.Pv;this.Id=new k(r,r,0);this.Tn=this.eh=this.Ne=r;this.YC=m;this.rr=0});j.prototype.yxa=P("XC");
j.prototype.JY=P("rr");j.prototype.aZ=function(a,b,c){this.eh=r;a=new k(a,b,c);if(!a.isEqual(this.Y==j.Pv?this.Id:this.Ne)){this.eh=a;this.m6()}};j.prototype.clear=function(){(this.Y==j.KF||this.Y==j.IF)&&this.trigger(new c(j.Hp,{album:this.Ne.hj,item:this.Ne.item}));this.Y=j.Pv;this.g=this.D=this.Tn=this.Id=this.Ne=this.eh=r;this.kc.unbind(f.oN,this.d7,this);this.kc=r};j.prototype.Ub=function(a){if(this.Y!=j.Pv){this.YC=this.YC+a;a=this.Ne.sda;a=this.YC>=a?1:this.YC/a;this.Y==j.IF?this.vra(a):this.Y==
j.JF?this.wra(a):this.XC==g.Zl?this.nra(a):this.Qra(a);a<1?this.fa():this.ww()}};j.prototype.vra=function(a){this.kc.ud(this.Ne.item,a).pj(this.Ne.item,0)};j.prototype.wra=function(a){this.kc.ud(this.Id.item,1-a).pj(this.Id.item,0)};j.prototype.nra=function(a){this.kc.ud(this.Ne.item,Math.min(1,a*2)).pj(this.Ne.item,0);this.kc.ud(this.Id.item,Math.min(1,(1-a)*2)).pj(this.Id.item,0)};j.prototype.Qra=function(a){var b=this.Id.hj!=this.Ne.hj||this.Id.index<this.Ne.index;this.kc.pj(this.Ne.item,(b?1-
a:a-1)*(1+this.rr)).ud(this.Ne.item,1);this.kc.pj(this.Id.item,(b?-a:a)*(1+this.rr)).ud(this.Id.item,1)};j.prototype.m6=function(){this.eh&&this.Y==j.Pv&&(this.eh.item&&!this.eh.loaded?this.kc.Ny(this.eh.item):this.Vp())};j.prototype.d7=function(a){if(this.eh&&this.eh.item==a.data.item){this.eh.loaded=p;this.m6()}};j.prototype.Vp=function(){if(this.Tn&&this.Tn!=this.eh.hj){this.trigger(new c(j.Ek,{album:this.Tn}));this.Tn=r}this.trigger(new c(j.vN));if(this.D.get("transitionMode")=="fade_out_fade_in"&&
this.eh.item!=r&&this.Id.item!=r){this.Y=j.JF;this.Ne=new k(this.Id.hj,r,this.Id.sda)}else{this.Ne=this.eh;this.eh=r;if(this.Id.item)if(this.Ne.item)this.Y=j.KF;else{if(this.Id.item)this.Y=j.JF}else this.Y=j.IF}if(this.Y==j.KF||this.Y==j.IF){this.kc.nk(this.Ne.item);this.trigger(new c(j.ss,{album:this.Ne.hj,item:this.Ne.item}))}this.YC=0;this.fa()};j.prototype.ww=function(){(this.Y==j.KF||this.Y==j.JF)&&this.trigger(new c(j.Hp,{album:this.Id.hj,item:this.Id.item}));this.Id=this.Ne;if(this.Tn!=this.Id.hj){this.Tn=
this.Id.hj;this.trigger(new c(j.Fk,{album:this.Tn}))}this.Y=j.Pv;if(this.eh==r){this.Id.item&&this.trigger(new c(j.ts,{album:this.Id.hj,item:this.Id.item}));this.trigger(new c(j.wN,{album:this.Id.hj,item:this.Id.item}))}else this.Vp()};j.prototype.fa=function(){this.trigger(new c(j.Ia))};j.Pv="stopped";j.KF="blending";j.JF="fading_out";j.IF="fading_in";j.Ia="request frame";j.vN="transition begin";j.wN="transition end";j.ss="photo added";j.Hp="photo removed";j.ts="photo displayed";j.Fk="photo album show";
j.Ek="photo album hide";return j});
define("em","dl,fb,bY,eJ,kV,dR,iZ,fS,j,bn,h,kH,bq".split(","),function(a,b,c,e,d,f,g,k,j,n,i,l,q){var o=b.extend(e,function(a,b,c){e.call(this);this.D=a;this.g=b;this.kc=c;this.fk=this.Tj=this.X=this.md=this.qa=r;this.$i=m;this.UJ=0;this.Zh=z;this.me=0;this.$H=this.fk?-1:0;this.VH=this.Tj?1:0;this.O=r;this.kh=400;this.rr=0;this.H=new j});o.prototype.clear=function(){this.kc=this.g=this.D=this.Tn=r};o.prototype.Bwa=function(b,c){this.md=b;this.X=c;var d=b&&b.get("playList")&&b.get("playList").get("items")||
[],e=a(d).indexOf(c);this.Tj=e>0?d[e-1]:r;this.fk=e<d.length-1?d[e+1]:r;this.me=0;this.$H=this.fk?-1:0;this.VH=this.Tj?1:0;this.dJ()};o.prototype.enable=function(){if(this.qa=this.g.getParent()){this.qa.bind(d.ub,this.hc,this,p);this.qa.bind(d.Hc,this.Bg,this,p);this.qa.bind(d.Xb,this.Cg,this,p);this.dJ()}};o.prototype.disable=function(){if(this.qa){this.qa.unbind(d.ub,this.hc,this);this.qa.unbind(d.Hc,this.Bg,this);this.qa.unbind(d.Xb,this.Cg,this);this.qa=r}};o.prototype.xxa=P("kh");o.prototype.JY=
P("rr");o.prototype.dJ=function(){if(this.qa){this.Tj&&this.kc.Ny(this.Tj);this.fk&&this.kc.Ny(this.fk)}};o.prototype.m5=function(){return(new Date).getTime()};o.prototype.hc=function(a){if(!this.Zh){this.$i=a.x;this.UJ=0;this.GT=this.m5();this.Zh=p;this.O=r;this.trigger(new c(o.YM));if(this.Tj){a=this.I3(this.Tj);this.kc.Fa(this.Tj,a.x,a.y,a.zoom)}if(this.fk){a=this.I3(this.fk);this.kc.Fa(this.fk,a.x,a.y,a.zoom)}}};o.prototype.Bg=function(a){if(this.Zh){var b=a.x-this.$i,c=b/this.qa.Ba(),d=this.m5()-
this.GT;this.UJ=b/d;this.GT=this.GT+d;this.$i=a.x;this.me=Math.max(this.$H,Math.min(this.VH,this.me+c));this.fa()}};o.prototype.Cg=function(){if(this.Zh){this.Zh=z;var a,b;if(this.UJ>1){a="quad_out";b=this.VH}else if(this.UJ<-1){a="quad_out";b=this.$H}else{a="quad_in_out";b=this.me<-0.5?this.$H:this.me>0.5?this.VH:0}this.O=new l(a,[new q("offset",this.me,b,1E3/this.kh)],0);this.fa()}};o.prototype.Ub=function(a){if(this.Zh||this.O){if(this.O){this.O.$a(a);this.me=this.O.tb("offset");if(this.O.He()){this.O=
r;this.Iia()}else this.fa()}this.X&&this.kc.pj(this.X,this.me*(1+this.rr)).ud(this.X,1);this.Tj&&this.kc.pj(this.Tj,(this.me-1)*(1+this.rr)).ud(this.Tj,1);this.fk&&this.kc.pj(this.fk,(this.me+1)*(1+this.rr)).ud(this.fk,1)}};o.prototype.Iia=function(){this.trigger(new c(o.ZM,{album:this.md,item:this.me<0?this.fk:this.me>0?this.Tj:this.X}))};o.prototype.fa=function(){this.trigger(new c(o.Ia))};o.prototype.I3=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",g.Ke):g.Ke,e={};if(f.zb("MovementPhotoCamera",b)){b=b.get("initialPosition",new k(0.5,0.5,1));e.x=b.get("x",0.5);e.y=b.get("y",0.5);e.zoom=b.get("zoomFactor",0.5)}else{e.x=0.5;e.y=0.5;e.zoom=1}this.H.AE(a,c,d);this.H.setSize(this.g.Ba(),this.g.eb());this.H.Fa(e.x,e.y,e.zoom);e.x=this.H.getX();e.y=this.H.getY();e.zoom=this.H.Ql();return e};o.Ia="request frame";o.YM="interaction begin";o.ZM="interaction end";return o});
define("gU","fb,bY,eJ,kV,ge,jT,bH,em".split(","),function(a,b,c,e,d,f,g,k){var j=a.extend(c,function(a,b,d){c.call(this);this.D=a;this.g=b;this.kc=d;this.XC=f.Zl;this.kh=1E3;this.Ra=new g(this.D,this.g,this.kc);this.Ra.bind(g.Ia,this.Sc,this,p);this.Ra.bind(g.vN,this.y5,this,p);this.Ra.bind(g.wN,this.z5,this,p);this.Ra.bind(g.ss,this.DB,this,p);this.Ra.bind(g.Hp,this.GB,this,p);this.Ra.bind(g.ts,this.FB,this,p);this.Ra.bind(g.Ek,this.jl,this,p);this.Ra.bind(g.Fk,this.Wj,this,p);this.Lh=new k(this.D,
this.g,this.kc);this.Lh.bind(k.Ia,this.Sc,this,p);this.Lh.bind(k.YM,this.S4,this,p);this.Lh.bind(k.ZM,this.T4,this,p)});j.prototype.mM=function(a,b){this.XC=a;this.kh=b;this.Ra.yxa(a);this.Lh.xxa(b);this.Ra.JY(0.05);this.Lh.JY(0.05)};j.prototype.display=function(a,b){this.Ra.aZ(a,b,this.kh)};j.prototype.hide=function(){this.Ra.aZ(r,r,this.kh)};j.prototype.clear=function(){this.Ra.unbind(g.Ia,this.Sc,this);this.Ra.unbind(g.vN,this.y5,this);this.Ra.unbind(g.wN,this.z5,this);this.Ra.unbind(g.ss,this.DB,
this);this.Ra.unbind(g.Hp,this.GB,this);this.Ra.unbind(g.ts,this.FB,this);this.Ra.unbind(g.Ek,this.jl,this);this.Ra.unbind(g.Fk,this.Wj,this);this.Ra.clear();this.Ra=r;this.Lh.bind(k.Ia,this.Sc,this,p);this.Lh.bind(k.YM,this.S4,this,p);this.Lh.bind(k.ZM,this.T4,this,p);this.Lh.clear();this.kc=this.g=this.D=this.Lh=r};j.prototype.Ub=function(a){this.Ra.Ub(a);this.Lh.Ub(a)};j.prototype.Sc=function(){this.fa()};j.prototype.DB=function(a){this.trigger(new b(j.ss,a.data))};j.prototype.GB=function(a){this.trigger(new b(j.Hp,
a.data))};j.prototype.FB=function(a){this.trigger(new b(j.ts,a.data));this.Lh.Bwa(a.data.album,a.data.item)};j.prototype.jl=function(a){this.trigger(new b(j.Ek,a.data))};j.prototype.Wj=function(a){this.trigger(new b(j.Fk,a.data))};j.prototype.y5=function(){this.Lh.disable()};j.prototype.z5=function(a){this.XC==f.cm&&a.data.item&&this.Lh.enable();a.data.album||this.trigger(new b(j.WM))};j.prototype.S4=function(){this.trigger(new b(j.AZ))};j.prototype.T4=function(a){this.Ra.aZ(a.data.album,a.data.item,
0);this.trigger(new b(j.BZ,a.data))};j.prototype.fa=function(){this.trigger(new b(j.Ia))};j.Ia="request frame";j.ss="photo added";j.Hp="photo removed";j.ts="photo displayed";j.Fk="photo album show";j.Ek="photo album hide";j.AZ="manual interaction begin";j.BZ="manual interaction end";j.WM="all pending photo albums hidden";return j});
define("gw","require,dl,fb,u,bY,eJ,fp".split(","),function(a){var b=a("dl"),c=a("fb"),e=a("u"),d=a("bY"),f=a("eJ"),g=a("fp"),k=c.extend(f,function(){f.call(this);this.md=r;this.m=g.K;this.oU=r});k.prototype.clear=function(){this.UW()};k.prototype.PY=function(a){this.UW();this.md=a;this.m=g.S;this.oU=e.watch(this.md,"playList.selectedIndex",this.eu,this);this.md.get("playList").get("selectedIndex")==0?this.eu():this.md.get("playList").set("selectedIndex",0)};k.prototype.UW=function(){if(this.md){this.m=
g.K;this.oU.unwatch();this.md=this.oU=r}};k.prototype.stop=function(){if(this.m!=g.K){this.m=g.K;this.md.get("playList").set("selectedIndex",0)}};k.prototype.play=function(){if(this.m==g.K){this.md.get("playList").set("selectedIndex",0);this.m=g.S;this.eu()}else if(this.m==g.uc)this.m=g.S};k.prototype.pause=function(){if(this.m==g.S)this.m=g.uc};k.prototype.next=function(){var a=this.md.get("playList"),b=a.get("selectedIndex"),c=a.get("items").length;(b<c-1||this.md.get("loop"))&&a.set("selectedIndex",
(b+1)%c)};k.prototype.dY=function(){var a=this.md.get("playList"),b=a.get("selectedIndex"),c=a.get("items").length;(b>0||this.md.get("loop"))&&a.set("selectedIndex",(b-1+c)%c)};k.prototype.ML=function(a){this.Apa(a)};k.prototype.eva=function(a){if(this.md){var c=b(this.md.get("playList").get("items")).last();if(a==c&&!this.md.get("loop")){this.m=g.K;this.trigger(new d(k.SM,{album:this.md}))}else this.next()}};k.prototype.eu=function(){var a=this.rka();a>=0&&(this.m!=g.S&&a!=0?this.trigger(new d(k.rN)):
this.trigger(new d(k.cN,{album:this.md,item:this.md.get("playList").get("items")[a]})))};k.prototype.rka=function(){return this.md?this.md.get("playList").get("selectedIndex"):-1};k.prototype.Apa=function(a){if(this.md){var c=this.md.get("playList"),a=b(c.get("items")).indexOf(a);c.set("selectedIndex",a)}};k.rN="play request";k.cN="item request";k.SM="album end";return k});
define("cl","require,dl,fb,kV,bY,eJ,fp,fs".split(","),function(a){a("dl");var b=a("fb"),c=a("kV"),e=a("bY"),d=a("eJ"),f=a("fp"),g=a("fs"),k=b.extend(d,function(a){d.call(this);this.D=a;this.VC=this.X=r;this.au=m;this.EH=z;this.m=f.K;g.bind(c.aa,this.L6,this,p)});k.prototype.ML=function(a){this.eQ();if(this.X=a){a=this.X.get("media").get("duration",0);this.au=a==0?m:Math.max(0,a-this.D.get("transitionDuration"));this.EH=z;this.m==f.S&&this.vQ()}};k.prototype.clear=function(){g.unbind(c.aa,this.L6,
this,p);this.ML(r)};k.prototype.stop=function(){if(this.m!=f.K){this.eQ();this.$b(f.K)}};k.prototype.play=function(){if(this.m==f.K){this.$b(f.S);if(this.X){this.EH=z;var a=this.X.get("media").get("duration",0);this.au=a==0?m:a;this.vQ()}}else if(this.m==f.uc){this.$b(f.S);this.X&&this.vQ()}};k.prototype.pause=function(){if(this.m==f.S){this.$b(f.uc);this.b7()}};k.prototype.vQ=function(){if(!this.EH){this.EH=p;this.trigger(new e(k.dN,{item:this.X}))}this.T2()};k.prototype.L6=function(){g.visible?
this.T2():g.visible||this.b7()};k.prototype.T2=function(){if(this.au!==m){var a=this;this.gK=(new Date).getTime()+this.au;this.VC=setTimeout(function(){a.VC=r;a.Iqa()},this.au)}else this.gK=m};k.prototype.eQ=function(){if(this.VC){clearTimeout(this.VC);this.VC=r}};k.prototype.b7=function(){if(this.gK!==m){this.eQ();this.au=Math.max(1,this.gK-(new Date).getTime());this.gK=m}};k.prototype.Iqa=function(){var a=this.X;this.X=r;this.au=m;this.trigger(new e(k.bN,{item:a}))};k.prototype.$b=function(a){if(this.m!=
a){this.m=a;this.trigger(new e(k.Wb,{state:this.m}))}};k.Wb="playback state change";k.dN="item start";k.bN="item end";return k});
define("kh",["fb","bY","eJ","V","r"],function(a,b,c,e,d){var f=a.extend(c,function(a){c.call(this);this.V=p;this.mt=z;this.g=a;this.Mj=d.browser()==d.fz&&d.ge()==d.$N?3:1;this.ke=this.sA=0});f.prototype.clear=function(){this.V=z;this.g=r;this.ke=this.sA=0};f.prototype.La=function(){this.mt||(this.mt=p,e.La(this.Dg,this))};f.prototype.Dg=function(a){this.V&&(this.sA++,this.ke+=a,this.sA==this.Mj?(this.sA=0,this.mt=z,a=this.ke,this.ke=0,this.trigger(new b(f.Hk,{frameTime:a})),this.trigger(new b(f.Ik,
{frameTime:a})),this.g.render()):e.La(this.Dg,this))};f.Hk="frameStart";f.Ik="positionSet";return f});
define("fa","fb,kV,bY,eJ,gY,ch,gU,gw,cl,ge,kh".split(","),function(a,b,c,e,d,f,g,k,j,n,i){var l=a.extend(e,function(a,b){e.call(this);this.D=a;this.g=b;this.g.set("visible",z);this.pf=new k(this.g);this.ra=new j(this.D);this.kc=new n(this.D,this.g);this.Ca=new g(this.D,this.g,this.kc);this.ka=new f(this.g,this.kc);this.ce=new i(this.g);this.fc=new d(this.g);this.kc.bind(n.Ia,this.Sc,this,p);this.pf.bind(k.cN,this.S5,this,p);this.pf.bind(k.rN,this.q6,this,p);this.pf.bind(k.SM,this.EB,this,p);this.ra.bind(j.dN,
this.T5,this);this.ra.bind(j.bN,this.R5,this);this.ra.bind(j.Wb,this.ne,this,p);this.Ca.bind(g.Ia,this.Sc,this,p);this.Ca.bind(g.ss,this.DB,this,p);this.Ca.bind(g.Hp,this.GB,this,p);this.Ca.bind(g.ts,this.FB,this,p);this.Ca.bind(g.Ek,this.jl,this,p);this.Ca.bind(g.Fk,this.Wj,this,p);this.Ca.bind(g.AZ,this.tma,this,p);this.Ca.bind(g.BZ,this.uma,this,p);this.Ca.bind(g.WM,this.v5,this,p);this.ka.bind(f.Ia,this.Sc,this,p);this.ce.bind(i.Hk,this.Yq,this,p);this.ce.bind(i.Ik,this.Zq,this,p)});l.prototype.clear=
function(){this.pf.clear();this.ra.clear();this.Ca.clear();this.ka.clear();this.ce.clear();this.fc.clear();this.kc.clear();this.kc.unbind(n.Ia,this.Sc,this);this.pf.unbind(k.cN,this.S5,this);this.pf.unbind(k.SM,this.EB,this);this.pf.unbind(k.rN,this.q6,this);this.ra.unbind(j.dN,this.T5,this);this.ra.unbind(j.bN,this.R5,this);this.ra.unbind(j.Wb,this.ne,this);this.Ca.unbind(g.Ia,this.Sc,this);this.Ca.unbind(g.ss,this.DB,this);this.Ca.unbind(g.Hp,this.GB,this);this.Ca.unbind(g.ts,this.FB,this);this.Ca.unbind(g.Ek,
this.jl,this);this.Ca.unbind(g.Fk,this.Wj,this);this.Ca.unbind(g.WM,this.v5,this);this.ka.unbind(f.Ia,this.Sc,this);this.ce.unbind(i.Hk,this.Yq,this);this.ce.unbind(i.Ik,this.Zq,this);this.D=this.g=this.kc=this.fc=this.ce=this.ka=this.Ca=this.ra=this.pf=r};l.prototype.mM=function(a,b){this.Ca.mM(a,b)};l.prototype.oxa=function(a){this.g.set("visible",p);this.pf.PY(a)};l.prototype.iv=function(){this.pf.UW();this.ra.stop();this.Ca.hide();this.ka.end();this.fc.jda()};l.prototype.next=function(){this.pf.next()};
l.prototype.dY=function(){this.pf.dY()};l.prototype.stop=function(){this.ra.stop();this.fc.stop();this.pf.stop();this.ka.stop()};l.prototype.play=function(){this.ra.play();this.fc.play();this.pf.play();this.ka.play()};l.prototype.pause=function(){this.ra.pause();this.fc.pause();this.pf.pause();this.ka.pause()};l.prototype.tma=function(){this.ra.pause();this.fc.pause();this.pf.pause();this.ka.pause()};l.prototype.uma=function(){this.ra.play();this.fc.play();this.pf.play();this.ka.play()};l.prototype.S5=
function(a){this.Ca.display(a.data.album,a.data.item)};l.prototype.q6=function(){this.play()};l.prototype.Sc=function(){this.ce.La()};l.prototype.Yq=function(a){this.ka.rp(a.data.frameTime)};l.prototype.Zq=function(a){a=a.data.frameTime;this.Ca.Ub(a);this.kc.Ub(a);this.fc.Ub(a)};l.prototype.DB=function(a){this.ka.start(a.data.item)};l.prototype.GB=function(a){var b=a.data.album,a=a.data.item,d=a.get("media");this.ka.end(a);this.fc.Pxa(d);this.trigger(new c(l.nN,{photoAlbum:b,item:a}))};l.prototype.FB=
function(a){var b=a.data.album,a=a.data.item;a.get("media");this.pf.ML(a);this.ra.ML(a);this.trigger(new c(l.mN,{photoAlbum:b,item:a}))};l.prototype.T5=function(a){this.fc.Mxa(a.data.item.get("media"))};l.prototype.R5=function(a){this.pf.eva(a.data.item)};l.prototype.EB=function(a){this.ra.stop();this.fc.stop();this.trigger(new c(l.lN,{photoAlbum:a.data.album}))};l.prototype.Wj=function(a){a=a.data.album;this.fc.PY(a);this.ra.play();this.ka.play();this.trigger(new c(l.Fk,{photoAlbum:a}))};l.prototype.jl=
function(a){a=a.data.album;this.fc.Nxa(a);this.trigger(new c(l.Ek,{photoAlbum:a}))};l.prototype.v5=function(){this.g.set("visible",z)};l.prototype.ne=function(a){this.trigger(new c(l.Wb,{state:a.data.state}))};l.Fk="photoAlbumShow";l.lN="photoAlbumEnd";l.Ek="photoAlbumHide";l.mN="photoBegin";l.nN="photoEnd";l.Wb="playbackStateChange";return l});
define("fM","require,jquery.mod,dl,iZ,is,iJ,r".split(","),function(a){function b(a,b){this.X=a;this.P=b;this.Ka=a.Xc();this.Ua=a.Kd();this.TG=a.DQ;this.wW=this.YA=0;this.Gj=1;this.me=0;this.Z=p;this.DP();this.Yb=this.Tb=100;this.da=this.ca=0.5;this.pa=1;this.aC=p;this.pd=1;this.R2={};this.o4={};this.r$=g.browser()!=g.qg}var c=a("jquery.mod"),e=a("dl"),d=a("iZ"),f=a("is");a("iJ");var g=a("r");b.prototype.DP=function(){this.EF=c("<div></div>");var a={position:"absolute",left:"0",top:"0",width:this.Tb+
"px",height:this.Yb+"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.EF.css(a);this.dO=c(f.pe(this.X.uk()));a={display:"block",position:"absolute",left:"0",top:"0",width:this.Ka+"px",height:this.Ua+"px"};a["-moz-transform-origin"]=a["-webkit-transform-origin"]=a["transform-origin"]="0 0 0";a["-ms-transform-origin"]="0 0";this.dO.css(a);this.EF.append(this.dO)};b.prototype.Kb=
R("EF");b.prototype.getItem=R("X");b.prototype.getX=R("ca");b.prototype.getY=R("da");b.prototype.Ql=R("pa");b.prototype.Ba=function(){return Math.round(this.Ka*this.pa*this.pd)};b.prototype.eb=function(){return Math.round(this.Ua*this.pa*this.pd)};b.prototype.ud=function(a){if(this.Gj!=a){this.Gj=a;this.Z=p}};b.prototype.jL=R("Gj");b.prototype.$r=function(a){if(this.Ad!=a){this.Ad=a;this.Z=p}};b.prototype.kv=function(a,b){if(this.Tb!=a||this.Yb!=b){this.Tb=a;this.Yb=b;this.Z=p}};b.prototype.Fa=function(a,
b,c){if(this.ca!=a||this.da!=b||this.pa!=c){this.ca=a;this.da=b;this.pa=c;this.Z=p}};b.prototype.pj=function(a){if(this.me!=a){this.me=a;this.Z=p}};b.prototype.Cwa=function(a){if(this.wW!=a){this.wW=a;this.Z=p}};b.prototype.render=function(){if(this.Z){this.Z=z;switch(this.Ad){case d.NONE:this.pd=1;break;case d.Kk:this.pd=this.Tb/this.Ka;break;case d.Vg:this.pd=this.Yb/this.Ua;break;case d.am:this.pd=this.Ka*this.Yb>this.Ua*this.Tb?this.Yb/this.Ua:this.Tb/this.Ka;break;default:this.pd=this.Ka*this.Yb>
this.Ua*this.Tb?this.Tb/this.Ka:this.Yb/this.Ua}var a=this.pa*this.pd,b=this.Tb*0.5-this.ca*this.Ka*a,c=this.Yb*0.5-this.da*this.Ua*a,f=this.Tb*this.me,g=function(a,b){return Math.round(a*Math.pow(10,b))*Math.pow(10,-b)},q={};q.width=g(this.Tb,0)+"px";q.height=g(this.Yb,0)+"px";q.transform=this.r$?"translate3d("+g(f,2)+"px, 0px, 0px)":"translate("+g(f,2)+"px, 0px)";q["-moz-transform"]=q["-webkit-transform"]=q["-ms-transform"]=q.transform;q["z-index"]=this.wW;if(this.Gj==0)q.display="none";else{q.display=
"block";if(this.Gj==1){q.filter=q["-ms-filter"]="";q.opacity=""}else{q.filter=q["-ms-filter"]="alpha(opacity="+Math.round(this.Gj*100)+")";q.opacity=this.Gj}}f=[];if(this.r$){f.push("translate3d("+g(b,2)+"px, "+g(c,2)+"px, 0px)");f.push("scale3d("+a+", "+a+", "+a+")");if(this.TG){f.push("translate3d("+this.Ka+"px, 0, 0)");f.push("scale3d(-1, 1, 1)")}}else{f.push("translate("+g(b,2)+"px, "+g(c,2)+"px)");f.push("scale("+a+", "+a+")");if(this.TG){f.push("translate("+this.Ka+"px, 0)");f.push("scale(-1, 1)")}}a=
{};a["-moz-transform"]=a["-webkit-transform"]=a["-ms-transform"]=a.transform=f.join(" ");if(!e.isEqual(this.R2,q)){this.R2=q;this.EF.css(q)}if(!e.isEqual(this.o4,a)){this.o4=a;this.dO.css(a)}}};return b});
define("gd","require,jquery.mod,dl,fb,kV,fZ,is,fM,R,d".split(","),function(a){var b=a("jquery.mod"),c=a("dl"),e=a("fb"),d=a("kV"),f=a("fZ"),g=a("is"),k=a("fM"),j=a("R"),n=a("d"),a=e.extend(n,function(){n.call(this);this.Tc("Renderer");this.set("toolTipDisabled",p);this.set("cursor",j.Dv);this.bind(d.vb,this.lb,this,p);this.bind(d.ld,this.bh,this,p);this.bind(d.wd,this.ah,this,p);this.cu=z;this.Gb=[];this.PJ=this.Yo=z;this.qT=b("<div/>");this.qT.css({position:"absolute",left:0,top:0,right:0,bottom:0,
overflow:"hidden","-webkit-transform":"translateZ(0)"});this.Pa().append(this.qT)});a.prototype.ln=function(a){g.ln(a,f.Bj)};a.prototype.si=function(a){g.si(a,f.Bj)};a.prototype.AW=function(a){a=new k(a,this);a.kv(this.Ba(),this.eb());a.Fa(0.5,0.5,0,1);this.qT.append(a.Kb());this.Gb.push(a);this.Yo=p};a.prototype.removeItem=function(a){if(a=this.$k(a)){this.Gb=c.without(this.Gb,a);a.Kb().detach();this.Yo=p}};a.prototype.HW=function(a){if(a=this.$k(a)){this.Gb=c.without(this.Gb,a);this.Gb.push(a);
this.Yo=p}};a.prototype.$wa=function(a,b){this.$k(a).$r(b)};a.prototype.Vl=function(a,b){this.$k(a).ud(b)};a.prototype.Xwa=function(a,b){this.$k(a).pj(b)};a.prototype.GE=function(a,b,c,d){this.$k(a).Fa(b,c,d)};a.prototype.aE=function(a){return this.$k(a).getX()};a.prototype.bE=function(a){return this.$k(a).getY()};a.prototype.Caa=function(a){return this.$k(a).Ql()};a.prototype.$D=function(a){return this.$k(a).Ba()};a.prototype.ZD=function(a){return this.$k(a).eb()};a.prototype.render=function(){if(this.cu){this.Mra();
this.Vpa();for(var a=0;a<this.Gb.length;a++)this.Gb[a].render()}};a.prototype.Mra=function(){if(this.PJ){this.PJ=z;for(var a=this.Ba(),b=this.eb(),c=0;c<this.Gb.length;c++)this.Gb[c].kv(a,b)}};a.prototype.Vpa=function(){if(this.Yo){this.Yo=z;for(var a=[],b=0;b<this.Gb.length;b++){var c=this.Gb[b],d={};d.NL=c.YA;d.index=b;d.wf=c;a.push(d)}a.sort(function(a,b){return a.NL==b.NL?a.index-b.index:a.NL-b.NL});for(b=0;b<a.length;b++)a[b].wf.Cwa(b+1)}};a.prototype.$k=function(a){if(this.$ya==a)return this.Zya;
for(var b=r,c=0;c<this.Gb.length&&!b;c++)this.Gb[c].getItem()==a&&(b=this.Gb[c]);return b};a.prototype.lb=function(){this.PJ=p;this.render()};a.prototype.bh=function(){this.cu=p;this.render()};a.prototype.ah=function(){this.cu=z};return a});
define("hE","require,fb,bY,dR,jE,ct,dh,fa,jT,gd,dj,kV".split(","),function(a){var b=a("fb"),c=a("bY"),e=a("dR"),d=a("jE"),f=a("ct"),g=a("dh"),k=a("fa"),j=a("jT"),n=a("gd"),i=a("dj"),l=a("kV"),a=b.extend(g,function(){g.call(this,"photoAlbum");this.kK=this.pT=this.lh=z;this.q=this.g=r;this.Bga=new d(this,"buttonNext",i.ad);this.Bga.bind(l.T,this.yma,this);this.Cga=new d(this,"buttonPrevious",i.ad);this.Cga.bind(l.T,this.Ima,this);this.od=b.op(this.sf,this)});e.A("PhotoAlbumPlayer",a).B("Object").M({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]]"}).Qg({play:function(){this.ex()},pause:function(){this.dx()},stop:function(){this.Qt()},restart:function(){this.Pt()}}).Rb([f.yf,f.xh,l.vc]);a.prototype.set=function(a,b){if(this.get(a)!=b){switch(a){case "photoAlbum":this.pT=p;this.od();break;case "viewerArea":this.lh=
p;this.od();break;case "touchTransition":case "mouseTransition":case "touchTransitionDuration":case "mouseTransitionDuration":case "transitionDuration":this.kK=p;this.od()}g.prototype.set.call(this,a,b)}};a.prototype.sf=function(){if(this.lh){this.lh=z;this.kK=p;this.et();this.get("viewerArea")&&this.ct();this.MJ(this.get("viewerArea"))}if(this.g&&this.pT){this.pT=z;if(this.get("photoAlbum")){this.nJ();this.q.oxa(this.get("photoAlbum"))}else this.q.iv()}if(this.kK){this.kK=z;this.l$()}};a.prototype.MC=
function(){this.set("photoAlbum",r)};a.prototype.ct=function(){var a=this.get("viewerArea");this.g=new n;this.g.N({left:0,top:0,bottom:0,right:0});a.la(this.g);this.q=new k(a,this.g);this.l$();this.q.bind(k.Fk,this.Wj,this);this.q.bind(k.Ek,this.jl,this);this.q.bind(k.lN,this.EB,this);this.q.bind(k.mN,this.o6,this);this.q.bind(k.nN,this.p6,this);this.q.bind(k.Wb,this.ne,this);this.Fx(p)};a.prototype.et=function(){if(this.g){this.q.unbind(k.Fk,this.Wj,this);this.q.unbind(k.Ek,this.jl,this);this.q.unbind(k.lN,
this.EB,this);this.q.unbind(k.mN,this.o6,this);this.q.unbind(k.nN,this.p6,this);this.q.unbind(k.Wb,this.ne,this);this.q.clear();this.g.getParent().removeChild(this.g);this.g=r;this.Fx(z)}};a.prototype.l$=function(){var a=this.get("viewerArea");a&&this.q&&(a.Rj?this.q.mM(this.get("touchTransition",j.Zl),this.get("touchTransitionDuration",a.get("transitionDuration",1E3))):this.q.mM(this.get("mouseTransition",j.Zl),this.get("mouseTransitionDuration",a.get("transitionDuration",1E3))))};a.prototype.ne=
function(a){this.$b(a.data.state)};a.prototype.Wj=function(a){this.XH(a.data.photoAlbum)};a.prototype.jl=function(a){this.WH(a.data.photoAlbum)};a.prototype.EB=function(a){a.data.photoAlbum.trigger(new c(l.Da))};a.prototype.o6=function(a){a.data.item.dy()};a.prototype.p6=function(a){a.data.item.end()};a.prototype.uo=function(a){this.g.getParent().N({progressPercent:a.data.percent,progressVisible:p})};a.prototype.cx=function(){this.g.getParent().set("progressVisible",z)};a.prototype.yma=function(){this.q&&
this.get("photoAlbum")&&this.q.next()};a.prototype.Ima=function(){this.q&&this.get("photoAlbum")&&this.q.dY()};a.prototype.fh=function(){this.q&&this.get("photoAlbum")&&this.q.play()};a.prototype.jk=function(){this.q&&this.get("photoAlbum")&&this.q.stop()};a.prototype.pl=function(){this.q&&this.get("photoAlbum")&&this.q.pause()};return a});
define("eY",["fb","dR","ct","di"],function(a,b,c,e){a=a.extend(e,function(){e.call(this)});b.A("PhotoAlbumPlayListItem",a).B("PlayListItem").M({media:"PhotoAlbum",player:"PhotoAlbumPlayer"});a.prototype.start=function(){e.prototype.start.call(this);var a=this.get("player");a&&(a.bind(c.yf,this.Wj,this),a.set("photoAlbum",this.get("media")))};a.prototype.stop=function(){var a=this.get("player");a&&(a.unbind(c.yf,this.Wj,this),a.get("photoAlbum")==this.get("media")&&a.set("photoAlbum",r));e.prototype.stop.call(this)};
a.prototype.TE=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].TE())}e.prototype.TE.call(this)};a.prototype.Wj=function(){this.get("player").unbind(c.yf,this.Wj,this);this.get("player").bind(c.xh,this.jl,this);this.dy()};a.prototype.jl=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(c.xh,this.jl,this),this.end())};return a});
define("iH","require,fb,fZ,dR,gH,z".split(","),function(a){var b=a("fb"),c=a("fZ"),e=a("dR"),d=a("gH");a("z");a=b.extend(d,function(){d.call(this,c.wea)});e.A("PhotoAudio",a).B("MediaAudio");return a});define("kc",["fb","iP","dR"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("PhotoCamera",a).B("Object").M({scaleMode:"enum[none, fit_inside, fit_outside, fit_to_width, fit_to_height]"});return a});
define("dI","require,dl,fb,iP,bY,dR,ha,kV".split(","),function(a){var b=a("dl"),c=a("fb"),e=a("iP"),d=a("bY"),f=a("dR"),g=a("ha"),k=a("kV"),a=c.extend(e,function(){this.qd=-1;this.Kc=[];this.eC=this.fl=this.ig=m;e.call(this)});f.A("PlayList",a).B("Object").M({items:"array[PlayListItem]",selectedIndex:"number"}).Xf([k.KM]).Rb([k.aa]);a.prototype.set=function(a,b){a=="selectedIndex"?this.zpa(b):a=="items"?this.npa(b):e.prototype.set.call(this,a,b)};a.prototype.get=function(a,b){return a=="selectedIndex"?
this.qd:a=="items"?this.Kc:e.prototype.get.call(this,a,b)};a.prototype.npa=function(a){a=a||[];if(!b.isEqual(this.Kc,a)){var c=this.qd;this.Kc=a;a=this.W7(this.qd);this.trigger(new d(k.KM,{nextSelectedIndex:a}));this.qd=a;this.D8(this.wq(this.qd));this.f$();this.trigger(new d(k.aa,{previousSelectedIndex:c}));e.prototype.set.call(this,"items",this.Kc);e.prototype.set.call(this,"selectedIndex",this.qd)}};a.prototype.zpa=function(a){a=this.W7(a);if(this.qd!=a){var b=this.qd;this.trigger(new d(k.KM,{nextSelectedIndex:a}));
this.qd=a;this.D8(this.wq(this.qd));this.f$();this.trigger(new d(k.aa,{previousSelectedIndex:b}));e.prototype.set.call(this,"selectedIndex",this.qd)}};a.prototype.W7=function(a){return Math.max(-1,Math.min(this.Kc.length-1,a))};a.prototype.wq=function(a){return a>=0?this.Kc[a]:r};a.prototype.D8=function(a){if((this.ig!=a||this.fl!==m)&&this.fl!==a)if(this.fl===m){this.fl=a;if(this.ig)if(this.fl&&this.ig.get("player")==this.fl.get("player")){this.ig.TE();this.Ot()}else this.ig.stop();else this.Ot()}else this.fl=
a};a.prototype.Ot=function(){if(this.ig){this.ig.unbind(k.Dk,this.TS,this);this.ig.unbind(k.je,this.Ot,this);this.ig.unbind(k.Da,this.Ot,this)}if(this.fl){this.ig=this.fl;this.fl=m;this.ig.bind(k.Dk,this.TS,this);this.ig.bind(k.je,this.Ot,this);this.ig.start()}else{this.fl=this.ig=m;this.set("selectedIndex",-1)}};a.prototype.TS=function(){this.ig.unbind(k.Dk,this.TS,this);this.ig.unbind(k.je,this.Ot,this);this.ig.bind(k.Da,this.Ot,this)};a.prototype.f$=function(){this.eC&&g.SL(this.eC.get("media"),
-1);(this.eC=this.Kc&&this.qd>=0?this.Kc[(this.qd+1)%this.Kc.length]:r)&&g.SL(this.eC.get("media"),1)};return a});define("hN",["fb","dR","dI"],function(a,b,c){a=a.extend(c,function(){c.call(this)});b.A("PhotoPlayList",a).B("PlayList").M({items:"array[PhotoPlayListItem]"});return a});define("ib",["fb","dR","di"],function(a,b,c){a=a.extend(c,function(){c.call(this)});b.A("PhotoPlayListItem",a).B("PlayListItem").M({media:"Photo",camera:"PhotoCamera"});return a});
define("eB",["require","dl","fb","eO","dR"],function(a){a("dl");var b=a("fb"),c=a("eO"),a=a("dR"),b=b.extend(c,function(){c.call(this)});a.A("PlaybackBar",b).B("UIComponent").M({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("jO",["require"],function(){function a(a){try{for(var d=(c.mE<<12)+c.qE&65535,f="",g=0,k=a.length;g<k;)var j=b.indexOf(a.charAt(g++))<<12|b.indexOf(a.charAt(g++))<<6|b.indexOf(a.charAt(g++))<<0,j=j-d+65536&65535,f=f+String.fromCharCode(j);return f}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={dta:"true"};c.mE=parseInt("0")||
0;c.qE=parseInt("1401")||1;c.Oxa="true";c.name=a("AWsAW9AXPAXiAXsAXtAXaAWZAXJAXlAXaAXyAXeAXr");c.Dda=a("");return c});define("bh",[],function(){return{na:"left",Ja:"right",hb:"top",gb:"bottom"}});
define("cG",["fb","dv","N","bh"],function(a,b){var c=a.extend(b,function(){b.call(this)});c.prototype.yA=S(0);c.prototype.zA=S(0);c.prototype.Kx=function(){b.prototype.Kx.call(this);this.qq(function(a){a.Ze(p)})};c.prototype.Ko=function(){b.prototype.Ko.call(this);this.qq(function(a){a.LE(this.yA(a,this.Pr()));a.ME(this.zA(a,this.Pr()))})};c.prototype.Ix=function(){this.qq(function(a){a.LE(this.yA(a,1));a.ME(this.zA(a,1))});b.prototype.Ix.call(this)};c.prototype.Jx=function(){this.qq(function(a){a.LE(this.yA(a,
0));a.ME(this.zA(a,0))});b.prototype.Jx.call(this)};return c});
define("dB",["fb","cG","bh"],function(a,b,c){a=a.extend(b,function(){b.call(this)});a.prototype.yA=function(a,b){switch(this.get("from")){case c.hb:case c.gb:return 0;case c.na:var f=a.ca,g=a.Ba();return isNaN(g)||isNaN(f)?1E4:(-f-g)*(1-b);default:f=a.getParent();if(!f)return 0;g=f.Dd();f=a.ca;return isNaN(f)||isNaN(g)?1E4:(g-f)*(1-b)}};a.prototype.zA=function(a,b){switch(this.get("from")){case c.hb:var f=a.da,g=a.eb();return isNaN(g)||isNaN(f)?1E4:(-f-g)*(1-b);case c.gb:f=a.getParent();if(!f)return 0;
g=f.Cd();f=a.da;return isNaN(f)||isNaN(g)?1E4:(g-f)*(1-b);default:return 0}};a.prototype.Jx=function(){this.qq(function(a){a.LE(0);a.ME(0);a.Ze(z)})};return a});
define("fK",["fb","cG","N","bh"],function(a,b,c,e){a=a.extend(b,function(){b.call(this)});a.prototype.yA=function(a,b){switch(this.get("to")){case e.hb:case e.gb:return 0;case e.na:var c=a.ca,k=a.Ba();return isNaN(k)||isNaN(c)?1E4:(-c-k)*b;default:c=a.getParent();if(!c)return 0;k=c.Dd();c=a.ca;return isNaN(c)||isNaN(k)?1E4:(k-c)*b}};a.prototype.zA=function(a,b){switch(this.get("to")){case e.hb:var c=a.da,k=a.eb();return isNaN(k)||isNaN(c)?1E4:(-c-k)*b;case e.gb:c=a.getParent();if(!c)return 0;k=c.Cd();
c=a.da;return isNaN(c)||isNaN(k)?1E4:(k-c)*b;default:return 0}};a.prototype.Ix=function(){this.qq(function(a){a.LE(0);a.ME(0);a.Ze(z)})};return a});
define("A","require,jquery.mod,fb,kV,kU,r,eu,jJ,cj,c,kC,dB,fK,hG".split(","),function(a){function b(a){try{return window.localStorage.getItem(a)}catch(b){}}var c=a("jquery.mod"),e=a("fb"),d=a("kV"),f=a("kU"),g=a("r"),k=a("eu"),j=a("jJ"),n=a("cj"),i=a("c"),l=a("kC"),q=a("dB"),o=a("fK"),t=a("hG"),a=e.extend(l,function(a){l.call(this);this.ob=a;this.$f=this.Ns=this.$p=this.ci=r;a=new q;a.set("duration",500);a.set("from","bottom");a=new o;a.set("duration",500);a.set("to","bottom");this.N({creationPolicy:n.ys,
verticalAlign:j.nc,horizontalAlign:j.Gc,visible:z,showEffect:this.eza,hideEffect:this.fza});this.fV="";a=this.jka();if(a===p)setTimeout(function(){this.trigger(d.Av)}.bind(this),0);else if(a===m){this.ob.bind(d.G("cookiesPolicy"),this.m2,this);setTimeout(function(){this.m2()}.bind(this),0)}});a.prototype.Ha=function(){l.prototype.Ha.call(this);this.N({backgroundColor:"#1a1a1a",width:"100%",left:0,bottom:0});if(this.ci==r){this.ci=new t;this.ci.N({content:this.fV,fontColor:"#ffffff",fontWeight:"400",
fontFamily:"Open Sans, Arial, sans-serif",width:"100%"});this.la(this.ci)}if(this.$p==r){this.$p=new l;this.la(this.$p);this.$p.N({creationPolicy:n.ys,verticalAlign:j.nc,layout:i.ue})}if(this.Ns==r){this.Ns=new k;this.Ns.N({backgroundColor:"#2aabe2",fontColor:"#ffffff",fontFamily:"Open Sans, Arial, sans-serif",label:f("accept").toUpperCase(),verticalAlign:"middle"});this.$p.la(this.Ns);this.Ns.bind(d.T,this.sga,this,p)}if(this.bw==r){this.bw=new k;this.bw.N({backgroundColor:"#1a1a1a",fontColor:"#808080",
fontFamily:"Open Sans, Arial, sans-serif",label:f("reject").toUpperCase(),textDecoration:"underline",verticalAlign:"middle"});this.$p.la(this.bw);this.bw.bind(d.T,this.Ega,this,p)}};a.prototype.Em=function(){l.prototype.Em.apply(this,arguments);var a=this.Sa();if(a){a.bind(d.vb,this.Im,this,p);this.Im()}};a.prototype.Im=function(){var a=this.Sa();if(a){var b=g.Va(),c=a.eb()>a.Ba(),d=Math.min(a.Ba(),a.eb())/100,a=function(a){return Math.round(a*d)};this.N({gap:b?a(4.63):20,paddingLeft:b?a(4.63):20,
paddingRight:b?a(4.63):20,paddingTop:b?a(4.63):14,paddingBottom:b?a(4.63):14,layout:b&&c?i.df:i.ue});this.ci&&this.ci.N({fontSize:b?a(3.15):14,textAlign:b&&c?"center":"left"});this.$p&&this.$p.N({gap:b?0:13});this.Ns&&this.Ns.N({borderRadius:b?a(4.63):15,fontSize:b?a(3.15):14,height:b?a(9.26):30,paddingLeft:b?a(6):20,paddingRight:b?a(6):20});this.bw&&this.bw.N({borderRadius:b?a(4.63):15,fontSize:b?a(3.15):14,height:b?a(9.26):30,paddingLeft:b?a(6):20,paddingRight:b?a(6):20});this.Fc()}};a.prototype.m2=
function(){var a=e.toArray(this.ob.get("cookiesPolicy"));if(this.$B!=a){this.$B=a;this.zoa()}};a.prototype.zoa=function(){if(this.$B.length==0)this.CU(r);else{var a=this.$B[0];e.toArray(a.get("geographicArea")).length==0?this.CU(a):this.Jja(function(a){for(var b=r,c=0;c<this.$B.length&&!b;c++){var d=this.$B[c],f=e.toArray(d.get("geographicArea"));if(f.length==0)b=d;else for(var g=0;g<f.length&&!b;g++)a.indexOf(f[g])>=0&&(b=d)}this.CU(b)}.bind(this))}};a.prototype.CU=function(a){if(this.rx!==a){this.rx&&
this.rx.unbind(d.G("url"),this.WV,this);if(this.rx=a){this.rx.bind(d.G("url"),this.WV,this);this.WV();this.set("visible",p)}else{this.trigger(d.Av);this.set("visible",z)}}};a.prototype.WV=function(){var a=c(document.createElement("div")).html(f("cookies-notice"));a.find("a").css({color:"#2aabe2",cursor:"pointer","text-decoration":"underline"}).attr({href:this.rx.get("url"),target:"_blank"});this.fV=a.html();this.ci&&this.ci.set("content",this.fV)};a.prototype.sga=function(){this.E8(p);this.set("visible",
z);this.trigger(d.Av)};a.prototype.Ega=function(){this.E8(z);this.set("visible",z)};var s=["AT","BE","BG","CY","CZ","DE","DK","EE","EL","ES","FI","FR","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK"];a.prototype.Jja=function(a){this.Aja(function(b){var c=[b];s.indexOf(b)&&c.push("EU");a(c)})};a.prototype.Aja=function(a){var d=b("tdvp_country_code");if(d)a(d);else if(!this.Z2){this.Z2=p;c.get("https://geoloc.3dvista.com",function(b){this.Z2=z;b=b.country.toUpperCase();try{window.localStorage.setItem("tdvp_country_code",
b)}catch(c){}a(b)}.bind(this))}};var u="tdvp_accept_cookies_"+window.location.origin+window.location.pathname;a.prototype.jka=function(){var a=b(u);if(a=="yes")return p;if(a=="no")return z};a.prototype.E8=function(a){try{window.localStorage.setItem(u,a?"yes":"no")}catch(b){}};return a});
define("iX",["require"],function(){function a(a){var b=a instanceof Request||a instanceof Response?a.url:a;b&&(b=b.split("#")[0]);b&&(b=b.split("?")[0]);return!b||-1!=b.indexOf("://")?Promise.resolve(b):("undefined"!==typeof window?Promise.resolve(window.location.href):clients.matchAll({type:"window"}).then(function(a){if(a.length)return a[0].url})).then(function(a){return(new URL(b,a)).toString()})}function b(a,b){return new Promise(function(c,e){(b===m?d():Promise.resolve(b)).then(function(b){(window.webkitRequestFileSystem||
window.requestFileSystem)(b?PERSISTENT:TEMPORARY,a,function(a){c(a)},function(a){console.log("Error getting file system access",a);e("error getting file system")})},function(a){console.log("error getting file system access",a);e("error getting file system")})})}function c(a,b){return a&&a.queryUsageAndQuota?new Promise(function(c,d){a.queryUsageAndQuota(function(e,f){console.log("UsedBytes:",e,"grantedBytes:",f,"freeBytesRequired:",b);var g=e+b;f>=g?c(g):a==navigator.webkitPersistentStorage||a==navigator.persistentStorage?
(console.log("requestQuota:",g),a.requestQuota(g,function(){console.log("Granted bytes:",g);c(g)},function(a){console.log("Not granted bytes:",g,a);d("not enough free space granted")})):(console.log("Not enough temporary free space."),d("not enough free space granted"))},function(a){console.log("Query quota error:",a);a&&a.message&&(a=a.message);d("not enough free space granted: "+a)})}):Promise.reject("unknown free space")}function e(){return(navigator.storage&&navigator.storage.persist?navigator.storage.persist():
Promise.resolve(z)).then(function(a){console.log("Persistence granted:",a);return a?navigator.webkitPersistentStorage||navigator.persistentStorage:navigator.webkitTemporaryStorage||navigator.temporaryStorage})}function d(){return navigator.storage&&navigator.storage.persisted?navigator.storage.persisted():Promise.resolve(z)}function f(){return!v?Promise.reject("files uninitialized, no space was requested"):Promise.resolve(v)}function g(a){a.length&&"/"==a[0]&&(a=a.substr(1));return a.split("/").filter(function(a){return""!=
a})}function k(a){return new Promise(function(b,c){a.remove(function(){b()},function(a){c("can't remove entry"+(a&&a.message?": "+a.message:"")+".")})})}function j(a){return n(a).then(function(a){return Promise.all(a.map(function(a){return a.isDirectory?j(a):k(a)}))}).then(function(){return k(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 i(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){i(a,b,{create:z}).then(function(a){c(a)})["catch"](function(){i(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 q(a,b){return 0==b.length?a:l(a,b[0]).then(function(a){return q(a,b.slice(1))})}function o(a,
b){return 0==b.length?a:i(a,b[0]).then(function(a){return o(a,b.slice(1))})}function t(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 s(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=r;return{WL:function(){return d()},toURL:function(b,c){return a(b).then(function(a){var a=new URL(a),b=
c?"persistent":"temporary",d=a.pathname.split("/").map(encodeURIComponent).join("/");return"filesystem:"+a.origin+"/"+b+d})},hwa:function(a){return e().then(function(b){return c(b,a)}).then(function(a){return b(a)}).then(function(a){v=a})},awa:function(a){var a=g(a),b=a[a.length-1],c=a.slice(0,-1);return f().then(function(a){return o(a.root,c)}).then(function(a){return t(a,b,{create:p})},function(){return Promise.resolve(r)}).then(function(a){return a&&k(a)})},nca:function(a,c){var d=g(a);return b(1024,
c).then(function(a){return o(a.root,d)}).then(function(a){return j(a)},function(){return Promise.resolve()})},Eda:function(a,b,c){var d=g(a),e=d[d.length-1],i=d.slice(0,-1);return f().then(function(a){return q(a.root,i)}).then(function(a){return t(a,e,{create:z}).then(function(a){return Promise.resolve(a)},function(){return t(a,e,{create:p})})}).then(function(a){return s(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("bW",["require","iX","jf","r"],function(a){function b(a,b){this.nr=a;this.bP=z;this.jC=r;this.zo=b||D()}function c(a){return a.uv>=f}var e=a("iX"),d=a("jf"),f=1048576,g=10485760,k=a("r").Ye()?3:5,a={File:function(a,b){this.url=a;this.uv=b;this.zE=this.gy=0}},j=a.Files=function(a,b,c,d){this.z1=this.gga=a;this.wm=b.slice();this.Y2=[];var e=0;this.wm.sort(function(a,b){return a.uv-b.uv});this.wm.forEach(function(a){e+=a.uv});this.w9=e;this.ht=[];this.eG=m;this.om=[];this.cP=z;this.Sd=c||D();
this.oA=d||D()};j.prototype.Vm=function(){return this.aha().then(function(){return this.bha()}.bind(this))};j.prototype.aha=function(){return caches["delete"](this.z1)};j.prototype.bha=function(){var a=(new d(this.gga)).pathname;return e.nca(a,z).then(function(){return e.nca(a,p)})};j.prototype.requestStorage=function(){return e.hwa(Math.round(1.1*this.w9+10485760)).then(function(){return e.WL()})};j.prototype.download=function(){this.cP=z;this.eG=0;this.Vm().then(function(){this.mA()}.bind(this))["catch"](function(a){console.log("error cleaning storage",
a);e.WL().then(function(a){this.oA(z,a)}.bind(this))}.bind(this))};j.prototype.cancelDownload=function(){this.cP=p;this.om.forEach(function(a){a.cancel()});this.Vm()};j.prototype.mA=function(){if(!(this.cP||this.om.length>=k))if(0<this.wm.length){var a;if(1==k)a=0.5<Math.random()?this.wm.shift():this.wm.pop();else if(0==this.ht.filter(c).length)a=this.wm.pop();else{if(c(this.wm[0]))return;a=this.wm.shift()}this.ht.push(a);var f=d.Cu(a.url,"nc="+(new Date).getTime()),g=new b(f,function(b){a.gy=b.gy;
this.Il()}.bind(this));this.om.push(g);g.fetch().then(function(b){return this.pqa(a.url,b)}.bind(this)).then(function(){this.N2(a,g,p)}.bind(this))["catch"](function(b){console.log("download error",a.url,a.uv,a.gy,b);this.N2(a,g,z)}.bind(this));this.mA()}else if(0==this.om.length){var j=5>=this.Y2.length;e.WL().then(function(a){this.oA(j,a)}.bind(this))}};j.prototype.N2=function(a,b,d){d?(this.ht.splice(this.ht.indexOf(a),1),this.om.splice(this.om.indexOf(b),1),this.eG+=a.uv,this.Il(),this.mA()):
(a.gy=0,a.zE+=1,this.Il(),20<=a.zE?(console.log("Error downloading file: "+a.url+" after "+a.zE+" retries."),this.z4(a.url)?(this.Y2.push(a),this.om.splice(this.om.indexOf(b),1),this.mA()):(this.cancelDownload(),e.WL().then(function(a){this.oA(z,a)}.bind(this)))):(console.log("Error downloading file: "+a.url+" attempt "+a.zE+" of 20. Will retry in 2000ms."),setTimeout(function(){this.ht.splice(this.ht.indexOf(a),1);this.om.splice(this.om.indexOf(b),1);c(a)?this.wm.push(a):this.wm.splice(0,0,a);this.mA()}.bind(this),
2E3)))};j.prototype.pqa=function(a,b){return this.rqa(a,b).then(function(){if(!this.z4(a))return this.qqa(a,b)}.bind(this))};j.prototype.qqa=function(a,b){b=b.clone();return 200!=b.status?Promise.reject("response status: "+b.status):caches.open(this.z1).then(function(c){return c.put(a,b)})};j.prototype.rqa=function(a,b){b=b.clone();if(200!=b.status)return Promise.reject("response status: "+b.status);var c=(new d(a)).pathname;return c.lastIndexOf("/")==c.length-1?Promise.resolve():new Promise(function(a,
d){function f(){E.read().then(function(b){var c=b.value,d=[];if(c){for(;c.length+y>=g;){var e=c.slice(0,g-y);n.push(e);d.push(i(n));n=[];y=0;c=c.slice(e.length,c.length)}0<c.length&&(n.push(c),y+=c.length)}var l=b.done;y&&l&&d.push(i(n));j(d).then(function(){l?a():f()})["catch"](k)})["catch"](k)}function i(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 j(a){if(0==
a.length)return Promise.resolve();var b=a.shift();return e.Eda(c,b).then(function(){j(a)})}function k(a){console.log("Error writing response to file system:",a);e.awa(c).then(function(){d("Error reading response body")})}var n=[],y=0,E=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(",");j.prototype.z4=function(a){var a=(new d(a)).pathname,b="."+a.split(".").pop().toLowerCase();return 0<=n.indexOf(b)&&
0>a.indexOf("loading/")};j.prototype.Il=function(){var a=this.eG;this.ht.forEach(function(b){a+=b.gy});this.Sd(100*a/this.w9)};b.prototype.fetch=function(){return fetch(this.nr).then(function(a){if(this.bP)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!==r&&(c=parseInt(b,10));this.jC=a.body.getReader();var e=z,f=function(a){this.bP?a.close():e=p}.bind(this),g=function(a){return this.jC.read().then(function(b){var e=
b.value;e&&(d+=e.byteLength,a.enqueue(e));b.done&&(c=d,j(a));this.zo({uv:c,gy:d})}.bind(this))["catch"](function(b){console.log("Error reading response",b);a.error(b)}.bind(this))}.bind(this),j=function(a){e&&(a.close(),e=z,this.jC=r)}.bind(this);return new Response(new ReadableStream({start:function(a){return f(a)},pull:function(a){return g(a)},cancel:function(){j()}}))}.bind(this))};b.prototype.cancel=function(){this.bP=p;this.jC&&this.jC.cancel()};a.Vm=function(a){return(new j(a,[])).Vm()};return a});
define("dK","require,fb,jquery.mod,kV,eJ,r,bW,iX,jf,ix,cH".split(","),function(a){function b(a){q=a}var c=a("fb"),e=a("jquery.mod"),d=a("kV"),f=a("eJ"),g=a("r"),k=a("bW"),j=a("iX"),n=a("jf"),i=a("ix"),l=a("cH"),q=r;window.addEventListener("beforeinstallprompt",b);var o=c.extend(f,function(a){f.call(this);this.ob=a;this.m="initial";this.qU=this.NJ=this.yg=r;this.UT=z;this.lt=r;this.AK=m;this.dt=q;this.LH=o.Mba();this.oS=n.Wf("vr");if(!this.dt&&!this.LH){window.removeEventListener("beforeinstallprompt",
b);window.addEventListener("beforeinstallprompt",this.cma.bind(this))}this.LH||window.addEventListener("appinstalled",this.Ifa.bind(this))});o.prototype.LY=function(a){this.NJ=a;this.Ei=n.bs(this.NJ.get(TDV.PlayerSettings.BASE_DIR_URL)||n.getDirectory(this.NJ.get(TDV.PlayerSettings.SELECTED_SCRIPT_URL)));if(this.Ei[this.Ei.length-1]!="/")this.Ei=this.Ei+"/";this.yg=new t(this.Ei);this.AK=this.B7=a.get(TDV.PlayerSettings.QUERY_STRING_PARAMETERS);this.Mka=n.parse(n.getDirectory(window.location.href)).pathname;
this.Uia=n.Cu(n.bs("files.json",this.Ei),this.B7);a=TDV.za.sL();this.qU=n.Cu(this.NJ.get(TDV.PlayerSettings.SERVICE_WORKER_URL),"swv="+a.MAJOR+"."+a.MINOR);this.yg=new t(this.Ei);this.yg.bind(d.R,this.Fqa,this,p);this.yg.load()};o.prototype.Cy=function(){return this.yg.state==t.mz};o.prototype.S$=function(){return this.m=="can_install"&&!this.oS};o.prototype.U$=function(){return this.Cy()&&this.AK!=this.yg.version&&!this.oS};o.prototype.R$=function(){return this.yg.state!=t.sZ&&!this.oS};o.prototype.vba=
function(){if(this.m=="can_install")if(this.dt){this.dt.userChoice.then(function(a){a.outcome!="accepted"&&this.$b("unavailable")}.bind(this));this.dt.prompt().then(function(){this.dt=r}.bind(this))}else this.nQ()};o.prototype.cancel=function(){if(this.m=="downloading"){if(this.lt){this.lt.cancelDownload();this.lt=r}this.yg.Vm();this.$b("unavailable")}};o.prototype.Vm=function(){k.Vm(this.Ei);this.yg.Vm()};o.prototype.Fqa=function(){this.ob.get("downloadEnabled")!==p?this.$b("unavailable"):g.browser()!=
g.uj||g.Wc()==g.es||g.Wc()==g.yv?this.$b("unavailable"):this.qU?"serviceWorker"in navigator?this.Cy()&&!this.U$()?this.$b("unavailable"):navigator.onLine?this.Vna():this.$b("unavailable"):this.$b("unavailable"):this.$b("unavailable")};o.prototype.$b=function(a){if(this.m!=a){this.m=a;a=["can_install","unavailable"].indexOf(this.m)>=0;if(this.UT!=a)(this.UT=a)&&this.trigger(d.Ab)}};o.prototype.Vna=function(){this.$b("registering_sw");navigator.serviceWorker.register(this.qU,{scope:this.Mka}).then(function(){this.h8(p)}.bind(this))["catch"](function(){this.h8(z)}.bind(this))};
o.prototype.h8=function(a){if(a)if(g.Ye())this.$b("can_install");else if(this.LH&&this.yg.state==t.RM){this.$b("can_install");this.nQ()}else if(this.dt)this.$b("can_install");else{this.$b("sw_registered");setTimeout(function(){this.m=="sw_registered"&&this.$b("can_install")}.bind(this),3E3)}else this.$b("unavailable")};o.prototype.cma=function(a){this.dt=a;this.m=="sw_registered"&&this.$b("can_install")};o.prototype.Ifa=function(){this.m=="sw_registered"&&this.$b("can_install");this.nQ()};o.prototype.nQ=
function(){this.$b("downloading");this.trigger(d.Dk);this.L9(0);this.Cla()};o.prototype.Cla=function(){var a=n.Cu(this.Uia,"nc="+(new Date).getTime());e.getJSON(a,function(a){if(this.m=="downloading"){var b=[],c;for(c in a){var d=a[c].tags;if(d){Array.isArray(d)||(d=[d]);for(var e=0;e<d.length;e++)b.indexOf(d[e])<0&&b.push(d[e])}}var f=[];b.indexOf("mobilevr2gen")>=0&&g.KL()?f.push("mobilevr2gen"):b.indexOf("mobilevr")>=0&&g.Ye()?f.push("mobilevr"):b.indexOf("mobile")>=0&&g.Va()?f.push("mobile"):
b.indexOf("desktop")>=0&&!g.Va()&&f.push("desktop");b=[];for(c in a){if(d=a[c].tags){var i=z;if(Array.isArray(d))for(var e=0,j=d.length;e<j&&!i;e++)i=f.indexOf(d[e])>=0;else i=f.indexOf(d)>=0;if(!i)continue}d=n.bs(c,this.Ei);b.push(new k.File(d,a[c].size))}var l=(new n(window.location.pathname,window.location.href)).toString();b.filter(function(a){return a.url==l}).length==0&&b.push(new k.File(l,1024));this.lt=new k.Files(this.Ei,b,this.L9.bind(this),this.M2.bind(this));this.lt.requestStorage().then(function(a){this.yg.storage=
a?t.tz:t.TN;this.yg.state=t.RM;this.yg.version=this.AK;this.yg.save();this.lt.download()}.bind(this))["catch"](function(){this.M2(z,m)}.bind(this))}}.bind(this))};o.prototype.L9=function(a){this.trigger(new i(d.oc,a))};o.prototype.M2=function(a,b){this.lt=r;this.$b("unavailable");if(a){this.yg.state=t.mz;this.yg.save()}a?this.trigger(d.Da,{success:p}):b?this.trigger(d.Da,{success:z,error:o.uZ}):g.Ye()?this.trigger(d.Da,{success:z,error:o.tZ}):this.LH?this.trigger(d.Da,{success:z,error:o.uZ}):this.trigger(d.Da,
{success:z,error:o.vZ})};o.Mba=function(){return n.ph("installed",z)};o.Qva=function(a,b){var c=new o.AN(a);c.bind(d.R,function(){var d=z;c.state==o.AN.mz&&(d=o.Mba()?p:!navigator.onLine);d?j.toURL(a,c.storage==o.AN.tz).then(function(a){b(a)}):b(a)},this,p);c.load()};o.vZ="launchFromHomeScreen";o.tZ="addToBookmark";o.uZ="errorDownloading";var t=c.extend(f,function(a){f.call(this);this.Ei=a;this.jS="installation_state_"+a;this.qna=n.parse(this.Ei).pathname+"installation_state.json";this.state=this.storage=
this.version=m;this.p8()});t.prototype.load=function(){if(this.Dla()&&this.state==t.mz)this.p9(this.storage==t.tz).then(function(){this.trigger(d.R)}.bind(this))["catch"](function(){this.p9(this.storage!=t.tz).then(function(){this.storage=this.storage==t.TN?t.tz:t.TN;this.jU();this.trigger(d.R)}.bind(this))["catch"](function(){this.state=t.RM;this.jU();this.trigger(d.R)}.bind(this))}.bind(this));else this.trigger(d.R)};t.prototype.save=function(){this.jU();this.state==t.mz&&this.xoa()};t.prototype.Dla=
function(){var a=l.getItem(this.jS);if(!a)return z;this.kja(a);return p};t.prototype.jU=function(){l.setItem(this.jS,this.v9())};t.prototype.p9=function(a){return new Promise(function(b,c){j.toURL(this.Ei+"installation_state.json",a).then(function(a){e.ajax({type:"GET",url:a,success:function(){b()},error:function(){c()}})}.bind(this))}.bind(this))};t.prototype.xoa=function(){j.Eda(this.qna,this.v9(),"text/json")};t.prototype.v9=function(){var a={};a.version=this.version;a.storage=this.storage;a.state=
this.state;return JSON.stringify(a)};t.prototype.kja=function(a){this.jja(JSON.parse(a))};t.prototype.jja=function(a){this.version=a.version;this.storage=a.storage;this.state=a.state};t.prototype.Vm=function(){l.removeItem(this.jS);this.p8()};t.prototype.p8=function(){this.version="";this.storage=t.Gea;this.state=t.sZ};t.Gea="unkonwn";t.TN="temporary";t.tz="persistent";t.sZ="not started";t.RM="started";t.mz="completed";o.AN=t;return o});
define("hY","require,fb,kV,kU,r,dK,eu,eA,jJ,c,kC,d,gJ".split(","),function(a){function b(a){var b=new k;b.N({label:a,backgroundColor:"#0071BC",borderRadius:2,fontColor:"#ffffff",fontWeight:"400",fontFamily:"Arial, sans-serif",fontSize:14,paddingLeft:14,paddingRight:14,height:31,verticalAlign:n.nc});return b}var c=a("fb"),e=a("kV"),d=a("kU"),f=a("r"),g=a("dK"),k=a("eu"),j=a("eA"),n=a("jJ"),i=a("c"),l=a("kC"),q=a("d"),o=a("gJ"),a=c.extend(l,function(a,b){l.call(this);this.ob=a;this.Zd=b;this.Zd.bind(e.Ab,
this.ela,this,p);this.Zd.bind(e.Dk,this.bla,this,p);this.Zd.bind(e.oc,this.dla,this,p);this.Zd.bind(e.Da,this.cla,this,p);this.Y="hidden";this.yD=m;this.xT=z;this.Sd=m;this.$f=this.Nn=this.Os=this.Rs=this.Ps=this.TJ=this.oa=r;this.Ffa();this.N({backgroundColor:"#000000",gap:18,height:55,width:"100%",paddingLeft:28,paddingRight:28,verticalAlign:n.nc,layout:i.ue});this.fe()});a.prototype.ela=function(){if(this.Zd.S$()||this.Zd.Cy()&&this.Zd.R$()){this.Y="ready";this.xT&&this.V8()}else this.Y="hidden";
this.fe()};a.prototype.bla=function(){this.Y="installing";this.fe()};a.prototype.dla=function(a){this.Sd=a.th;this.fe()};a.prototype.cla=function(a){this.Y=a.data.success?"installed":"failed";this.V2=a.data.error;this.fe()};a.prototype.Ui=function(){this.oqa()};a.prototype.sI=function(){if(!this.xT){this.xT=p;this.Y=="ready"&&this.V8()}};a.prototype.V8=function(){this.yD=setTimeout(function(){this.yD=r;this.cna()}.bind(this),5E3);this.fe()};a.prototype.oqa=function(){this.L7();this.yD&&clearTimeout(this.yD);
this.yD=r};a.prototype.cna=function(){this.L7();if(this.Y=="ready"){this.Y="hidden";this.fe()}};a.prototype.Ffa=function(){this.bind(e.Hc,this.Ui,this);this.ob.bind(e.Hc,this.sI,this);this.ob.bind(e.ub,this.sI,this)};a.prototype.L7=function(){this.unbind(e.Hc,this.Ui,this);this.ob.unbind(e.Hc,this.sI,this);this.ob.unbind(e.ub,this.sI,this)};a.prototype.Ha=function(){l.prototype.Ha.call(this);if(this.oa==r){this.oa=new o;this.oa.N({fontColor:"#ffffff",fontWeight:"400",fontFamily:"Arial, sans-serif",
fontSize:14,text:d("download-tour")});this.la(this.oa)}if(this.Ps==r){this.Ps=b(d("download"));this.la(this.Ps);this.Ps.bind(e.T,this.xga,this,p)}if(this.Rs==r){this.Rs=b(d("refresh-downloaded"));this.la(this.Rs);this.Rs.bind(e.T,this.Dga,this,p)}if(this.Os==r){this.Os=b(d("delete-downloaded"));this.la(this.Os);this.Os.bind(e.T,this.wga,this,p)}if(this.TJ==r){this.TJ=new q;this.TJ.N({width:"100%"});this.la(this.TJ)}if(this.Nn==r){this.Nn=new j;this.Nn.N({backgroundColor:"#ffffff",borderRadius:2,iconColor:"#000000",
iconLineWidth:1,iconWidth:17,iconHeight:17,height:31,width:31});this.la(this.Nn);this.Nn.bind(e.T,this.vga,this,p)}if(this.$f==r){this.$f=b(d("cancel"));this.la(this.$f);this.$f.bind(e.T,this.YF,this,p)}f.Va()&&this.Im();this.fe()};a.prototype.Pk=function(){l.prototype.Pk.call(this);f.Va()&&this.getParent().bind(e.vb,this.Im,this,p)};a.prototype.aj=function(){f.Va()&&this.getParent().unbind(e.vb,this.Im,this,p);l.prototype.aj.call(this)};a.prototype.Im=function(){var a=this.getParent();if(a){var b=
Math.min(a.Ba(),a.eb())/100,c=function(a){return Math.round(a*b)};this.N({gap:c(3.9),height:c(11.9),paddingLeft:c(6),paddingRight:c(6)});this.oa&&this.oa.N({fontSize:c(3)});[this.Ps,this.$f,this.Rs,this.Os].forEach(function(a){a&&a.N({borderRadius:c(0.4),fontSize:c(3),paddingLeft:c(3),paddingRight:c(3),height:c(6.7)})});this.Nn&&this.Nn.N({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.fe=function(){var a;switch(this.Y){case "ready":a=
this.Zd.Cy()?d("downloaded"):d("download-tour");break;case "installing":a=d("downloading");this.Sd!==m&&(a=a+("..."+this.Sd.toFixed(1)+"%"));break;case "installed":a=d("downloaded");break;case "failed":a=this.V2==g.vZ?f.Va()?d("storage-not-provided-launch-from-homescreen"):d("storage-not-provided-launch-from-desktop"):this.V2==g.tZ?d("storage-not-provided-bookmark"):d("download-failed")}this.oa&&this.oa.set("text",a);this.Ps&&this.Ps.set("visible",this.Y=="ready"&&!this.Zd.Cy()&&this.Zd.S$());this.Os&&
this.Os.set("visible",this.Y=="ready"&&this.Zd.Cy()&&this.Zd.R$());this.Rs&&this.Rs.set("visible",this.Y=="ready"&&this.Zd.U$());this.$f&&this.$f.set("visible",this.Y=="installing");this.Nn&&this.Nn.set("visible",this.Y!="installing");this.set("visible",this.Y!="hidden")};a.prototype.xga=function(){this.Zd.vba()};a.prototype.Dga=function(){this.Zd.vba()};a.prototype.wga=function(){this.Zd.Vm();this.Y="hidden";this.fe()};a.prototype.YF=function(){this.Zd.cancel();this.Y="hidden";this.fe()};a.prototype.vga=
function(){this.Y=="installing"&&this.Zd.cancel();this.Y="hidden";this.fe()};return a});
define("dH","require,fb,dl,kV,kU,r,jJ,c,kC,kd,kq,eu,gJ,gD".split(","),function(a){function b(a,b){this.text=a;this.Zo=b}var c=a("fb"),e=a("dl"),d=a("kV"),f=a("kU"),g=a("r"),k=a("jJ"),j=a("c"),n=a("kC"),i=a("kd"),l=a("kq"),q=a("eu"),o=a("gJ"),t=a("gD"),a=c.extend(n,function(){n.call(this);this.el=[];this.$f=this.Qs=this.oa=this.st=this.Dx=this.Qm=r;var a=new i;a.set("duration",500);a.set("easing","cubic_in");var b=new l;b.set("duration",500);b.set("easing","cubic_out");this.N({backgroundColor:"#000000",
backgroundOpacity:0.6,horizontalAlign:k.Gc,gap:5,left:0,top:0,right:0,bottom:0,hideEffect:b,showEffect:a,visible:z})});a.prototype.Ha=function(){n.prototype.Ha.call(this);if(this.Qm==r){this.Qm=new n;this.Qm.N({centerX:0,centerY:0,backgroundColor:"#ffffff",horizontalAlign:k.Gc,verticalAlign:k.nc,layout:j.df,shadow:p,shadowColor:"#000000",shadowHorizontalLength:0,shadowVerticalLength:0,shadowOpacity:0.2});this.la(this.Qm)}if(this.oa==r){this.oa=new o;this.oa.N({fontColor:"#808080",fontWeight:"300",
fontFamily:"Tahoma, Geneva, sans-serif"});this.Qm.la(this.oa)}if(this.st==r){this.st=new t;this.st.N({width:"80%"});this.Qm.la(this.st)}if(this.Dx==r){this.Dx=new n;this.Dx.N({backgroundColor:"#b3b3b3"});this.Qm.la(this.Dx)}if(this.ag==r){this.ag=new n;this.ag.N({horizontalAlign:k.Gc,verticalAlign:k.nc,layout:j.ue});this.Qm.la(this.ag)}if(this.Qs==r){this.Qs=new q;this.Qs.N({backgroundColor:"#606060",fontColor:"#FFFFFF",fontFamily:"Tahoma, Geneva, sans-serif",horizontalAlign:k.Gc,verticalAlign:k.nc,
label:f("yes").toUpperCase(),pressedBorderColor:"#808080",rollOverBorderColor:"#808080"});this.Qs.bind(d.T,this.q1,this,p);this.ag.la(this.Qs)}if(this.$f==r){this.$f=new q;this.$f.N({backgroundColor:"#606060",fontColor:"#FFFFFF",fontFamily:"Tahoma, Geneva, sans-serif",horizontalAlign:k.Gc,verticalAlign:k.nc,label:f("no").toUpperCase(),pressedBorderColor:"#808080",rollOverBorderColor:"#808080"});this.$f.bind(d.T,this.YF,this,p);this.ag.la(this.$f)}};a.prototype.Pk=function(){n.prototype.Pk.call(this);
this.getParent().bind(d.vb,this.Im,this,p)};a.prototype.aj=function(){this.getParent().unbind(d.vb,this.Im,this,p);n.prototype.aj.call(this)};a.prototype.Im=function(){var a=this.getParent();if(a){var b=a.Ba(),a=a.eb();if(g.Va())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.Qm&&this.Qm.N({borderRadius:b(1),width:b(80),height:b(40),gap:b(4),shadowBlurRadius:b(1),shadowSpread:b(1)});this.Dx&&this.Dx.N({width:b(60),minHeight:2,height:b(0.25)});
this.ag&&this.ag.N({gap:b(5)});this.$f&&this.$f.N({borderRadius:b(1),width:b(20),height:b(10),fontSize:b(4.25)});this.Qs&&this.Qs.N({borderRadius:b(1),width:b(20),height:b(10),fontSize:b(4.5)});this.oa&&this.oa.N({fontSize:b(5)});this.rK()}};a.prototype.show=function(a,c){this.Im();var d=this.M3(c);d>=0&&this.J7(d);this.Mna(new b(a,c));this.aw()};a.prototype.hide=function(a){a=this.M3(a);a>=0&&this.J7(a)};a.prototype.aw=function(){var a=this.getParent();a&&a.oj(this,a.Na().length-1)};a.prototype.q1=
function(){this.PF(p)};a.prototype.YF=function(){this.PF(z)};a.prototype.M3=function(a){for(var b=0;b<this.el.length;b++)if(this.el[b].Zo==a)return b;return-1};a.prototype.rK=function(){var a=this.Y3();if(a){if(a.text.length<20){this.st.set("visible",z);this.oa.set("text",a.text);this.oa.set("visible",p)}else{this.oa.set("visible",z);this.st.set("html",this.Kja(a.text));this.st.set("visible",p)}this.$f.set("visible",a.Zo?p:z);this.set("visible",p)}else this.set("visible",z)};a.prototype.Kja=function(a){return"<div style=\"color:#808080; font-weight:300; font-family:'Tahoma', 'Geneva', sans-serif; font-size: "+
this.oa.get("fontSize")+'px; text-align:center;" >'+a+"</div>"};a.prototype.PF=function(a){var b=this.Y3();if(b){b=this.Yja(b.text);this.hoa(b);e(b).each(function(b){b.Zo&&b.Zo.call(this,a)},this)}};a.prototype.Mna=function(a){this.el.push(a);this.rK()};a.prototype.Yja=function(a){return e(this.el).filter(function(b){return b.text==a})};a.prototype.hoa=function(a){this.el=e(this.el).filter(function(b){return!e(a).contains(b)});this.rK()};a.prototype.J7=function(a){this.el.splice(a,1);a==this.el.length&&
this.rK()};a.prototype.Y3=function(){return this.el.length>0?this.el[this.el.length-1]:r};return a});
define("iL","require,fb,kV,bY,eJ,r,jP".split(","),function(a){function b(a){for(;a&&a!=document;){if(a.getAttribute("tdvclass")=="Button")return p;a=a.parentNode}return z}var c=a("fb"),e=a("kV"),d=a("bY"),f=a("eJ"),g=a("r"),k=a("jP"),j=[],a=[99,111,110,116,101,120,116,109,101,110,117].map(function(a){return String.fromCharCode(a)}).join("");document.addEventListener(a,function(a){(!g.Va()||!b(a.target))&&j.forEach(function(b){b(a)});a.preventDefault();a.stopImmediatePropagation()},p);var n=1,c=c.extend(f,
function(a,b){f.call(this);this.Aa=a;this.Sja=b;this.OS=this.OS.bind(this);this.hc=this.hc.bind(this);this.iS=z;this.fS=this.fS.bind(this);this.gS=this.gS.bind(this);this.eS=this.eS.bind(this);this.hS=this.hS.bind(this);this.J=document.createElement("div");this.J.style.setProperty("border","1px solid #bbb","important");this.J.style.setProperty("border-radius","3px","important");this.J.style.setProperty("position","absolute","important");this.J.style.setProperty("z-index",n,"important");this.J.style.setProperty("display",
"none","important");this.J.style.setProperty("background-color","#e5e5e5","important");this.J.style.setProperty("display","none","important");this.J.style.setProperty("opacity",1,"important");this.J.style.setProperty("padding",0,"important");this.J.style.setProperty("margin",0,"important");this.J.style.setProperty("pointer-events","all","important");this.J.style.setProperty("text-align","left","important");this.J.style.setProperty("box-shadow","1px 1px 3px rgba(0, 0, 0, 0.2)","important");j.push(this.OS)});
c.prototype.OS=function(a){var b=this.Sja();if(b.length!=0){this.J.innerHTML="";this.iS=z;var c=0;b.forEach(function(a){var b=document.createElement("div");if(a){b.textContent=a;b.style.setProperty("cursor","pointer","important");b.style.setProperty("border-radius","3px","important");b.style.setProperty("padding","7px 20px","important");b.style.setProperty("white-space","nowrap","important");var d=c;c++;b.addEventListener("mouseenter",function(a){this.fS(a,d)}.bind(this));b.addEventListener("mouseleave",
function(a){this.gS(a,d)}.bind(this));b.addEventListener("mousedown",function(a){this.eS(a,d)}.bind(this));b.addEventListener("mouseup",function(a){this.hS(a,d)}.bind(this))}else{b.style.setProperty("margin","7px 5px","important");b.style.setProperty("border-top","1px solid #aaa","important");b.style.setProperty("border-bottom","1px solid #fff","important")}b.style.setProperty("font-family","Arial","important");b.style.setProperty("font-size","13px","important");b.style.setProperty("color","#000000",
"important");b.style.setProperty("opacity",1,"important");b.style.setProperty("display","block","important");b.style.setProperty("pointer-events","all","important");this.J.appendChild(b)}.bind(this));(k.Ll()||document.body).appendChild(this.J);this.J.style.setProperty("display","block","important");b=a.pageX;a=a.pageY;b+this.J.clientWidth>document.body.clientWidth-5&&(b=document.body.clientWidth-this.J.clientWidth-5);a+this.J.clientHeight>document.body.clientHeight-5&&(a=document.body.clientHeight-
this.J.clientHeight-5);this.J.style.setProperty("left",b+"px","important");this.J.style.setProperty("top",a+"px","important");this.Aa.bind(e.ub,this.hc,this);document.addEventListener("mousedown",this.hc);this.ksa=setInterval(this.jsa.bind(this),200)}};c.prototype.f4=function(){clearInterval(this.ksa);this.J.parentNode.removeChild(this.J);document.removeEventListener("mousedown",this.hc);this.Aa.unbind(e.ub,this.hc,this);this.J.style.setProperty("display","none","important")};c.prototype.jsa=function(){this.J.contains(document.elementFromPoint(this.J.offsetLeft+
this.J.clientWidth*0.5,this.J.offsetTop+this.J.clientHeight*0.5))||this.J.style.setProperty("z-index",n=n*10,"important")};c.prototype.hc=function(){this.f4()};c.prototype.eS=function(a){this.iS=p;a.preventDefault();a.stopImmediatePropagation()};c.prototype.hS=function(a,b){if(this.iS){this.f4();a.preventDefault();a.stopImmediatePropagation();this.trigger(new d(e.zi,{index:b}))}};c.prototype.fS=function(a){a.currentTarget.style.setProperty("color","#ffffff","important");a.currentTarget.style.setProperty("background-color",
"rgba(0, 0, 0, 0.7)","important")};c.prototype.gS=function(a){a.currentTarget.style.setProperty("color","#000000","important");a.currentTarget.style.setProperty("background-color","","important")};return c});
define("jj",["require","jf","R"],function(a){function b(a){this.Aa=a;this.Fm={};this.Fm[e.nea]="move";this.Fm[e.oea]="ew-resize";this.Fm[e.qea]="ns-resize";this.Fm[e.pea]="nesw-resize";this.Fm[e.rea]="nwse-resize";this.Fm[e.he]="pointer";this.Fm[e.Dv]="inherit";this.Fm[e.$c]="default";this.Me={};this.Me[e.pF]="grab.cur";this.Me[e.qF]="grabbing.cur";this.Me[e.e_]="N.cur";this.Me[e.f_]="NE.cur";this.Me[e.WZ]="E.cur";this.Me[e.i_]="SE.cur";this.Me[e.h_]="S.cur";this.Me[e.j_]="SW.cur";this.Me[e.k_]="W.cur";
this.Me[e.g_]="NW.cur";this.Me[e.YZ]="FN.cur";this.Me[e.ZZ]="FNE.cur";this.Me[e.XZ]="FE.cur";this.Me[e.b_]="FSE.cur";this.Me[e.a_]="FS.cur";this.Me[e.c_]="FSW.cur";this.Me[e.d_]="FW.cur";this.Me[e.$Z]="FNW.cur";this.y1={}}var c=a("jf"),e=a("R");b.prototype.raa=function(a){return this.ula(a)?this.V3(a):this.ola(a)?this.Bja(a):this.V3(e.$c)};b.prototype.Iga=function(a){if(!(a in this.y1)){var b=new Image;b.src=this.x3(a);this.y1[a]=b}};b.prototype.ula=function(a){return a in this.Fm};b.prototype.V3=
function(a){return this.Fm[a]};b.prototype.ola=function(a){return this.Me[a]};b.prototype.Bja=function(a){this.Iga(a);return"url("+this.x3(a)+"), default"};b.prototype.x3=function(a){return c.bs(this.Aa.get("settings").get(TDV.PlayerSettings.CURSORS_DIR_URL))+"/"+this.Me[a]};return b});
define("bS",["dl"],function(a){function b(){this.Fo={};this.sl=[];this.dA=0}b.prototype.push=function(b,e){if(this.Fo[e]==m)this.Fo[e]=[b],this.sl.push(e),this.sl.sort(function(a,b){return a-b}),this.dA++;else{var d=this.Fo[e];a(d).contains(b)||(d.push(b),this.dA++)}};b.prototype.taa=R("dA");b.prototype.isEmpty=function(){return 0==this.sl.length};b.prototype.eca=function(){if(!this.isEmpty()){var a=this.sl[0],b=this.Fo[a].pop();0==this.Fo[a].length&&(delete this.Fo[a],this.sl=this.sl.slice(1));this.dA--;
return b}};b.prototype.bY=function(){if(!this.isEmpty()){var a=this.sl[this.sl.length-1],b=this.Fo[a].pop();0==this.Fo[a].length&&(delete this.Fo[a],this.sl=this.sl.slice(0,this.sl.length-1));this.dA--;return b}};return b});
define("gC","require,dl,fb,eZ,bS,V,iz".split(","),function(a){function b(){this.fr=z;this.c7=m;this.V=p;this.AI=this.AI.bind(this);this.mG=new e;this.fJ=new e;this.QJ=new e;this.MH=new e;this.jQ=new e;d.La(this.Dg,this)}a("dl");a("fb");var c=a("eZ"),e=a("bS"),d=a("V"),f=a("iz");b.prototype.clear=function(){this.V=z};b.prototype.fE=function(a){this.mG.push(a,this.Gw(a));this.pC()};b.prototype.yc=function(a){this.fJ.push(a,this.Gw(a));this.pC()};b.prototype.Ta=function(a){this.QJ.push(a,this.Gw(a));
this.pC()};b.prototype.Fc=function(a){this.MH.push(a,this.Gw(a));this.pC()};b.prototype.rh=function(a){this.jQ.push(a,this.Gw(a));this.pC()};b.prototype.I=function(){this.qra();this.Rra();this.sra()};b.prototype.qra=function(){do{for(;!this.mG.isEmpty();)this.mG.bY().Ha();this.fJ.isEmpty()||this.fJ.bY().ga()}while(!this.fJ.isEmpty()||!this.mG.isEmpty())};b.prototype.Rra=function(){for(;!this.QJ.isEmpty()||!this.MH.isEmpty();){this.vK();this.KV()}};b.prototype.vK=function(){for(;!this.QJ.isEmpty();){var a=
this.QJ.bY();if(a.gya()){var b=a.getParent();if(b){b.Ta();b.Fc()}else a.Lca(0,0,a.gn(),a.dn())}}};b.prototype.KV=function(){for(;!this.MH.isEmpty();)this.MH.eca().ti()};b.prototype.sra=function(){for(;!this.jQ.isEmpty();)this.jQ.eca().Je();c.Pva()};b.prototype.pC=function(){if(!this.fr){this.fr=p;this.c7=(new Date).getTime()+500;f.gv(this.AI)}};b.prototype.AI=function(){this.fr=z;this.V&&this.I()};b.prototype.Gw=function(a){return(a=a.getParent())?this.Gw(a)+1:0};b.prototype.Dg=function(){this.fr&&
(new Date).getTime()>=this.c7&&this.AI();d.La(this.Dg,this)};return b});
define("fc","jquery.mod,dl,fb,kV,kC,iL,jj,Y,gC,jP,r".split(","),function(a,b,c,e,d,f,g,k,j,n,i){c=c.extend(d,function(b){this.Uv=new j;d.call(this);this.Em(this);this.Tc("Application");this.xd=a(b);this.xd.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.Oo=a(document.createElement("div"));this.Oo.css({position:"absolute",
left:0,top:0,right:0,bottom:0,width:"auto",height:"auto",margin:0});this.xd.append(this.Oo);this.Oo.append(this.Kb());this.k9=this.Oo.get(0);this.Yb=this.Tb=m;this.hla=10;this.Vga=500;this.mC=r;this.YP=new g(this);this.wa=new k(this);this.J.append(this.wa.Kb());this.Aha=new f(this,this.u3.bind(this));this.Aha.bind(e.zi,this.We(this.D5),this,p);this.c5=p;this.set("contentOpaque",p);this.$s=r;this.Zz=[];this.vw(["globalmousemove"]);this.hga();this.FK=this.GK=0;this.jx=1;try{this.GK=window.top.innerWidth;
this.FK=window.top.innerHeight;this.uR=p}catch(c){this.uR=z}this.n$();this.eg=new n(b);this.eg.bind(e.aa,function(){this.LQ(this.eg.enabled())},this)});c.prototype.start=function(){if(!this.W8){this.W8=p;this.trigger(e.Ai)}};c.prototype.n$=function(){if(this.uR&&!n.enabled()){this.GK=window.top.innerWidth;this.FK=window.top.innerHeight}};c.prototype.clear=function(){this.jv(r);this.h9();this.Kia();this.Uv.clear();if(this.xd){this.Kb().remove();this.Oo.remove();this.xd=r}this.YP=r;this.eg.uda();this.eg=
r};c.prototype.fxa=P("c5");c.prototype.LQ=function(a){a?this.o8():this.fha()};c.prototype.ro=function(){this.iB=this.Oh=this.Oo.width();this.hB=this.Nh=this.Oo.height()};c.prototype.jv=function(a){if(this.$s!=a){this.$s!=r&&this.$s.Wqa();this.$s=a;for(var c=[];a!=r;){c=[a].concat(c);a=a.getParent()}for(var a=this.Zz.length-1,d=p;a>=0&&d;a--)b(c).contains(this.Zz[a])?d=z:this.Zz.pop().Yqa();for(a=0;a<c.length;a++)b(this.Zz).contains(c[a])||c[a].Zqa();this.Zz=c;this.$s!=r&&this.$s.Vqa();this.wa.jv(this.$s)}};
c.prototype.Bka=function(a){var b=this.AA(a);this.C4(a,b.x,b.y)?a.preventDefault():this.jv(r)};c.prototype.b4=function(a){var b=this.pt(a);this.C4(a,b.x,b.y)?a.preventDefault():this.jv(r)};c.prototype.u3=function(){return[]};c.prototype.D5=D();c.prototype.C4=function(a,b,c){return this.pla(a.target)&&b>=0&&c>=0&&b<this.W&&c<this.ea};c.prototype.pla=function(a){if(!this.xd)return z;for(var b=this.xd.get(0);a;){if(a===b)return p;a=a.parentElement}return z};c.prototype.hga=function(){this.vw(["globalresize"]);
this.eP=setInterval(b.bind(function(){this.I1()},this),this.Vga)};c.prototype.Kia=function(){this.lA(["globalresize"]);if(this.eP){clearInterval(this.eP);this.eP=r}};c.prototype.I1=function(){this.eg.enabled()?this.o8():this.n$();var a=this.k9.clientWidth,b=this.k9.clientHeight;if(this.Tb!=a||this.Yb!=b){this.Tb=a;this.Yb=b;this.gqa()}};c.prototype.o8=function(){var a;if(this.uR&&(i.ge()==i.gZ&&i.browser()==i.uj||i.ge()==i.zj)){var b=n.Ll();a=b.clientWidth;var b=b.clientHeight,c=(a>b?a:b)/(this.GK>
this.FK?this.GK:this.FK),d=Math.round(a/c),e=Math.round(b/c);this.jx=c;a={left:Math.round((a-d)*0.5)+"px",top:Math.round((b-e)*0.5)+"px",right:"auto",bottom:"auto",width:d+"px",height:e+"px",transform:"scale("+[c,c].join(", ")+")",position:"absolute"}}else{a={position:"absolute",left:0,top:0,right:"auto",bottom:"auto",width:document.body.clientWidth+"px",height:document.body.clientHeight+"px"};this.jx=1}this.Oo.css(a)};c.prototype.fha=function(){this.Oo.css({position:"abolute",left:0,top:0,right:0,
bottom:0,width:"auto",height:"auto",transform:""});this.jx=1};c.prototype.gqa=function(){this.h9();var a=this;this.mC=setTimeout(function(){a.mC=r;a.Ta()},this.hla)};c.prototype.h9=function(){if(this.mC){this.mC=r;clearTimeout(this.mC)}};c.prototype.Aka=function(){this.I1()};c.prototype.UQ=function(){return b(d.prototype.UQ.call(this)).defaults({globaltouchmove:[{target:a(document),name:"touchmove",handler:this.We(this.Bka)}],globalmousemove:[{target:a(document),name:"mousemove",handler:this.We(this.b4)},
{target:a(window),name:"mouseout",handler:this.We(this.b4)}],globalresize:[{target:a(window),name:"resize",handler:this.We(this.Aka)}]})};return c});
define("eX","require,jquery.mod,ll,bI,jP,kV,eJ,kU,r".split(","),function(a){function b(){o=TDV.za.cn();var a=q||o;if(l!=a){l=a;i.trigger(g.aa)}a=!!q&&o!=q&&n.Va();if(t!=a){if(!s){s=c("<div/>");s.css({position:"fixed","z-index":e.Wda,left:0,top:0,margin:0,padding:0,height:"100%",width:"100%","background-color":"rgba(255, 255, 255, 0.99)"});s.html(['<div style="box-sizing:border-box; padding:0 10vmin; display:table; height:100%; width:100vw;">\n<div style="vertical-align:middle; text-align:center; display:table-cell;">','<img style="width:22vmin" src="'+
d.rz+'"/>','<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"));u=s.find("img")}t&&s.detach();(t=a)&&(f.enabled()?c(f.Ll()):c("body")).append(s)}t&&u.css("transform",l==i.Aea?"translate(-11%, 0) rotate(-90deg)":"none")}var c=a("jquery.mod"),e=a("ll"),d=a("bI"),f=a("jP"),g=a("kV"),k=a("eJ"),j=a("kU"),n=a("r"),i=new k;i.zya=TDV.za.GN;i.Aea=TDV.za.HN;i.JE=
function(a){if(q!=a){q=a;b()}};i.Daa=function(){return q};i.get=function(){return l};var l=m,q=m,o=m,t=z,s=r,u=r;window.addEventListener("resize",function(){b();setTimeout(b,500)},p);try{window.screen.orientation.addEventListener("change",b)}catch(v){window.addEventListener("orientationchange",b,z)}b();return i});
define("gz","require,fb,dl,kV,bY,cd,dR,jO,kU,jE,A,hY,dH,da,dM,kk,iJ,r,fO,dK,bV,ha,jf,bi,dj,fc,kC,cu,jP,bp,eX,iS,cH".split(","),function(a){var b=a("fb"),c=a("dl"),e=a("kV"),d=a("bY"),f=a("cd"),g=a("dR"),k=a("jO"),j=a("kU"),n=a("jE"),i=a("A"),l=a("hY"),q=a("dH");UserInteractionWindow=a("da");Renderer=a("dM");TextureUtil=a("kk");Capabilities=a("iJ");Device=a("r");Gyroscope=a("fO");Installer=a("dK");LibsLoader=a("bV");Preloader=a("ha");URL=a("jf");VR=a("bi");ButtonMode=a("dj");Application=a("fc");Container=
a("kC");VerticalLayout=a("cu");Fullscreen=a("jP");AudioActivation=a("bp");Orientation=a("eX");UserInitiatedAction=a("iS");Storage=a("cH");var o=b.extend(Application,function(a){Application.call(this,a);this.Zd=new Installer(this);this.L2=new l(this,this.Zd);this.im=new Container;this.im.N({visible:p,width:"100%",height:"100%"});this.Yw=new q;this.Yx=new UserInteractionWindow;this.yG=new i(this);a=new VerticalLayout;a.nM(0);this.HE(a);this.Ze(p);this.bind(e.G("settings"),this.Rma,this,p);this.AK=TDV.za.sL();
Orientation.bind(e.aa,this.Bma,this,p);AudioActivation.$xa();this.Aga=new n(this,"buttonMute",ButtonMode.ad);this.Aga.bind(e.T,this.j6,this,p);this.Gga=new n(this,"buttonUnmute",ButtonMode.ad);this.Gga.bind(e.T,this.E6,this,p);this.cG=new n(this,"buttonToggleMute",ButtonMode.Ah);this.cG.bind(e.rg,this.j6,this,p);this.cG.bind(e.zh,this.E6,this,p);this.bind(e.G("mute"),this.xma,this);this.cG.set("pressed",this.get("mute"));this.yga=new n(this,"buttonEnterFullscreen",ButtonMode.ad);this.yga.bind(e.T,
this.I5,this,p);this.zga=new n(this,"buttonExitFullscreen",ButtonMode.ad);this.zga.bind(e.T,this.J5,this,p);this.$F=new n(this,"buttonToggleFullscreen",ButtonMode.Ah);this.$F.bind(e.rg,this.I5,this,p);this.$F.bind(e.zh,this.J5,this,p);this.$F.set("pressed",this.get("fullscreenEnabled"));this.bind(e.G("fullscreenEnabled"),this.lma,this,p);this.set("fullscreenEnabled",this.eg.enabled());this.set("mouseWheelEnabled",p);this.set("backgroundPreloadEnabled",p);this.set("defaultVRPointer","laser");this.set("downloadEnabled",
z);this.set("mediaActivationMode","window");this.set("fullscreenFallback","out_of_frame");this.set("defaultMenu",["fullscreen","mute","rotation"]);this.bind(e.Ai,this.Uma,this,p);[e.ub,e.Xb,e.Kp,e.oF,e.nF].forEach(function(a){this.bind(a,function(a){this.trigger(new d(e.jF,{gda:a}))},this,p)}.bind(this));VR.bind(e.aa,function(){VR.isPresenting()?Orientation.JE(m):Orientation.JE(Application.prototype.get.call(this,"lockedOrientation"))},this);this.eg.bind(e.aa,function(){var a=Orientation.Daa();Orientation.JE(m);
Orientation.JE(a)},this)});o.CZ="orientationChange";g.A("Player",o).Pwa().B("Container").M({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",cookiesPolicy:"or[array[CookiesPolicy], CookiesPolicy]",defaultVRPointer:"enum[gaze, laser]",definitions:"array[Object]",desktopMipmappingEnabled:"bool",downloadEnabled:"bool",fullscreenAvailable:"bool",fullscreenEnabled:"bool",fullscreenFallback:"enum[out_of_frame, none]",gyroscopeAvailable:"bool",hash:"string",isMobile:"bool",mediaActivationMode:"enum[window, button]",menu:"array[PlayerMenuItem]",
defaultMenu:"array[enum[fullscreen, mute, rotation]]",mobileMipmappingEnabled:"bool",mouseWheelEnabled:"bool",mute:"bool",lockedOrientation:"enum[portrait, landscape]",orientation:"enum[portrait, landscape]",surfaceSelectionAvailable:"bool",touchDevice:"bool",touchEnabled:"bool",vrAvailable:"bool",vrPolyfillScale:"number"}).gxa().Qg({logCapabilities:function(){this.Kla()},activateAudio:function(a){this.kfa(a)}}).Xf([e.Ai,o.CZ,e.jF]);o.prototype.LQ=function(a){Application.prototype.LQ.apply(this,arguments);
this.set("fullscreenEnabled",a)};o.prototype.xa=function(){Application.prototype.xa.call(this);this.f("mute",z);this.f("fullscreenEnabled",z)};o.prototype.Ha=function(){Application.prototype.Ha.call(this);this.L2.getParent()!=this&&this.la(this.L2);if(this.im.getParent()!=this){this.la(this.im);this.im.la(this.yG);this.im.la(this.Yw);this.im.la(this.Yx)}};o.prototype.woa=function(a){var b=[];this.Yw&&b.push(this.Yw);this.Yx&&b.push(this.Yx);this.yG&&b.push(this.yG);for(var c=p,d=0;d<=b.length&&c;d++){c=
a.indexOf(b[d]);c=a.length-(b.length-d)==c}return c?a:a.filter(function(a){return b.indexOf(a)<0}).concat(b)};o.prototype.ga=function(){this.A7||(this.A7=c.difference(this.lka(),["visible","includeInLayout","state","left","right","top","bottom","centerX","centerY","width","height","minWidth","minHeight","maxWidth","maxHeight","actualWidth","actualHeight","paddingLeft","paddingTop","paddingRight","paddingBottom"]));this.cb(this.A7,{},[this.im],p,p);Application.prototype.ga.call(this);this.cza===p&&
this.bza()};o.prototype.set=function(a,b){switch(a){case "children":this.im.set(a,this.woa(b));return;case "creationPolicy":this.im.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 "fullscreenEnabled":b=this.eg.available()&&b;break;case "fullscreenFallback":Fullscreen.zY(b);break;case "lockedOrientation":Orientation.JE(b);
break;case "installAvailable":b=this.Zd.ready();break;case "mouseWheelEnabled":this.fxa(URL.ph("mousewheelenabled",b));break;case "backgroundPreloadEnabled":this.Ioa(b);break;case "vrPolyfillScale":VR.rxa(b);break;case "desktopMipmappingEnabled":TextureUtil.Awa(b);break;case "mobileMipmappingEnabled":TextureUtil.exa(b)}Application.prototype.set.call(this,a,b)};o.prototype.get=function(a,b){switch(a){case "children":case "creationPolicy":return this.im.get(a,b);case "touchEnabled":return this.Rj;case "touchDevice":return Device.ZY();
case "isMobile":return Device.Va();case "orientation":return Orientation.get();case "lockedOrientation":return Orientation.Daa();case "gyroscopeAvailable":return Gyroscope.available;case "cardboardAvailable":case "vrAvailable":return VR.available();case "fullscreenAvailable":return this.eg.available();case "vrPolyfillScale":return VR.aua();case "installAvailable":return this.Zd.ready();case "surfaceSelectionAvailable":return Renderer.kda();default:return Application.prototype.get.apply(this,arguments)}};
o.prototype.j6=function(){this.set("mute",p)};o.prototype.E6=function(){this.set("mute",z)};o.prototype.xma=function(){this.cG.set("pressed",this.get("mute"))};o.prototype.I5=function(){this.set("fullscreenEnabled",p)};o.prototype.J5=function(){this.set("fullscreenEnabled",z)};o.prototype.lma=function(){this.get("fullscreenEnabled")?this.eg.oh():this.eg.Vd();this.$F.set("pressed",this.get("fullscreenEnabled"));this.set("fullscreenEnabled",this.eg.enabled())};o.prototype.Rma=function(){var a=this.get("settings");
if(a){LibsLoader.Rl(a);Preloader.LY(a);this.Zd.LY(a)}};o.prototype.Ioa=function(a){Preloader.enabled(a)};o.prototype.u3=function(){if(URL.Wf("debug"))return[];var a=[];this.jw=[];(this.get("menu")||[]).forEach(function(b){var c=b.get("label");a.push(b.get("label"));c&&this.jw.push(function(){b.trigger("click")})}.bind(this));var b=this.get("defaultMenu",[]);if(b.indexOf("rotation")>=0){var c=this.Ym("PanoramaPlayer");if(c.length){a.push(c[0].get("mouseControlMode")==f.js?j("change-to-drag-and-release"):
j("change-to-click-and-move"));this.jw.push(this.Lqa.bind(this))}}if(b.indexOf("fullscreen")>=0&&this.eg.available()){a.push(this.eg.enabled()?j("exit-fullscreen"):j("enter-fullscreen"));this.jw.push(this.Jqa.bind(this))}if(b.indexOf("mute")>=0){a.push(this.get("mute")?j("unmute"):j("mute"));this.jw.push(this.Kqa.bind(this))}b=[].concat(k.name?[k.name]:[],k.dta!="false"?k.mE?["v:"+k.mE+"."+k.qE]:["v:"+k.qE]:[]).join(" ");if(b!=""){a.length>0&&a.push("");a.push(b);this.jw.push(this.fna.bind(this))}return a};
o.prototype.D5=function(a){this.jw[a.data.index]()};o.prototype.Lqa=function(){var a=this.Ym("PanoramaPlayer"),b=a[0].get("mouseControlMode")==f.js?f.wn:f.js;a.forEach(function(a){Storage.setItem(t,b);a.set("mouseControlMode",b)})};o.prototype.Uma=function(){Storage.getItem(t)==f.wn&&this.Ym("PanoramaPlayer").forEach(function(a){a.set("mouseControlMode",f.wn)});URL.Wf("mute")&&this.set("mute",URL.ph("mute",this.get("mute")));URL.Wf("vr")&&VR.oh()};o.prototype.Jqa=function(){this.eg.toggle()};o.prototype.Kqa=
function(){this.set("mute",!this.get("mute"))};o.prototype.fna=function(){k.Dda&&window.open(k.Dda,"_blank")};o.prototype.Bma=function(){this.trigger(o.CZ)};o.prototype.Kla=function(){b.ita(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();j.log();VR.log()};o.prototype.kfa=function(a){if(AudioActivation.zW())UserInitiatedAction.bz(a);else{AudioActivation.dZ(a);AudioActivation.Pg(this)}};var t="tdvp_"+window.location.pathname+"_rotation_mode";return o});define("bP",["require","fb","iP","kV","dR"],function(a){var b=a("fb"),c=a("iP"),e=a("kV"),a=a("dR"),b=b.extend(c,function(){c.call(this)});a.A("PlayerMenuItem",b).B("Object").M({label:"string"}).Xf([e.T]);return b});
define("K","require,fb,iP,kV,fp,dR,hL".split(","),function(a){var b=a("fb"),c=a("iP"),e=a("kV"),d=a("fp"),f=a("dR"),g=a("hL"),a=b.extend(c,function(){c.call(this);this.set("visible",z);this.set("state",d.K);this.set("showDuration",1E3);this.set("hideDuration",1E3);this.set("darkenBackground",p);this.set("lookAwayToHide",p);this.set("lookAwayToHideTime",2E3);this.set("showEasing","linear");this.set("hideEasing","linear");this.bind(e.G("state"),function(){this.trigger(e.vc)},this,p);this.Ib=m});a.prototype.show=
function(){this.set("visible",p)};a.prototype.hide=function(){this.set("visible",z)};a.prototype.play=function(){this.set("state",d.S)};a.prototype.pause=function(){this.set("state",d.xF)};a.prototype.stop=function(){this.set("state",d.K)};f.A("PopupPanoramaOverlay",a).B("PanoramaOverlay").M({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]"}).Qg({hide:a.prototype.hide,pause:a.prototype.pause,play:a.prototype.play,show:a.prototype.show,stop:a.prototype.stop}).Rb([e.Da,e.Kv,e.xs,e.vc]).Xf([e.T]);a.prototype.get=function(a,b){switch(a){case "playbackPositions":if(this.Ib===m)this.Ib=g.cua(this);return this.Ib}return c.prototype.get.call(this,a,b)};a.prototype.set=function(a,b){var d=z;switch(a){case "hfov":case "vfov":case "pitch":case "rotationX":case "rotationY":case "rotationZ":case "yaw":case "playbackPositions":this.Ib=
m;d=p}c.prototype.set.call(this,a,b);d&&a!="playbackPositions"&&this.trigger(e.G("playbackPositions"))};return a});define("kW",["dl","fb","cq","dR"],function(a,b,c,e){a=b.extend(c,function(){c.call(this)});e.A("ProgressBar",a).B("UIComponent").M({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("cW","require,fb,iP,kV,dR,hL".split(","),function(a){var b=a("fb"),c=a("iP"),e=a("kV"),d=a("dR"),f=a("hL"),a=b.extend(c,function(){c.call(this);this.Ib=m;this.set("enabled",p);this.set("interactionEnabled",p);this.set("contentInteractive",z);this.set("transparent",z)});d.A("QuadFramePanoramaOverlay",a).B("PanoramaOverlay").M({displayTooltipInTouchScreens:"bool",contentInteractive:"bool",enabled:"bool",image:"ImageResource",interactionEnabled:"bool",height:"number",playbackPositions:"array[QuadPanoramaOverlayPlaybackPosition]",
transparent:"bool",toolTip:"string",url:"string",useHandCursor:"bool",vertices:"array[PanoramaPoint]",width:"number"}).Rb([e.wd,e.yh,e.Le,e.pc,e.Mb,e.ld]).Xf([e.T]).vh(["url"]);a.prototype.set=function(a,b){var d=z;switch(a){case "vertices":case "playbackPositions":this.Ib=m;d=p}c.prototype.set.call(this,a,b);d&&a!="playbackPositions"&&this.trigger(e.G("playbackPositions"))};a.prototype.get=function(a,b){switch(a){case "playbackPositions":if(this.Ib===m)this.Ib=f.tX(this);return this.Ib}return c.prototype.get.call(this,
a,b)};return a});define("br",["require","fb","dR","ci"],function(a){var b=a("fb"),c=a("dR"),e=a("ci"),a=b.extend(e,function(){e.call(this)});c.A("QuadHotspotPanoramaOverlay",a).B("HotspotPanoramaOverlay");return a});define("gE",["dR","q"],function(a,b){a.A("QuadHotspotPanoramaOverlayArea",b).B("HotspotPanoramaOverlayArea");return b});
define("cV","require,fb,iP,kV,dR,hL".split(","),function(a){var b=a("fb"),c=a("iP"),e=a("kV"),d=a("dR"),f=a("hL"),a=b.extend(c,function(){c.call(this);this.set("opacity",1);this.Ib=m});d.A("QuadHotspotPanoramaOverlayImageBase",a).B("Object").M({distance:"number",image:"ImageResource",playbackPositions:"array[QuadPanoramaOverlayPlaybackPosition]",opacity:"number",vertices:"array[PanoramaPoint]"}).Rb([e.ld,e.wd]);a.prototype.get=function(a,b){switch(a){case "playbackPositions":if(this.Ib===m)this.Ib=
f.tX(this);return this.Ib}return c.prototype.get.call(this,a,b)};a.prototype.set=function(a,b){var d=z;switch(a){case "opacity":case "distance":case "vertices":case "playbackPositions":this.Ib=m;d=p}c.prototype.set.call(this,a,b);d&&a!="playbackPositions"&&this.trigger(e.G("playbackPositions"))};return a});
define("eg",["require","fb","dR","cV"],function(a){var b=a("fb"),c=a("dR"),e=a("cV"),a=b.extend(e,function(){e.call(this)});c.A("QuadHotspotPanoramaOverlayImage",a).B("QuadHotspotPanoramaOverlayImageBase");return a});define("hM",["require","fb","dR","cV"],function(a){var b=a("fb"),c=a("dR"),e=a("cV"),a=b.extend(e,function(){e.call(this)});c.A("QuadHotspotPanoramaOverlayMap",a).B("QuadHotspotPanoramaOverlayImageBase");return a});
define("dL","require,fb,iP,kV,fp,bY,dR,hL".split(","),function(a){var b=a("fb"),c=a("iP"),e=a("kV"),d=a("fp"),f=a("bY"),g=a("dR"),k=a("hL"),a=b.extend(c,function(){c.call(this);this.Ib=m;this.set("enabled",p);this.set("interactionEnabled",p);this.set("state",d.K);this.set("enabledInCardboard",p);this.set("enabledInStandard",p);this.set("blending",0);this.set("opacity",1);this.set("fadeInDuration",200);this.set("fadeOutDuration",200)});a.prototype.play=function(){this.set("state",d.S)};a.prototype.pause=
function(){this.set("state",d.uc)};a.prototype.stop=function(){this.set("state",d.K)};g.A("QuadVideoPanoramaOverlay",a).B("PanoramaOverlay").M({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",
vertices:"array[PanoramaPoint]",image:"ImageResource",loop:"bool",opacity:"number",playbackPositions:"array[QuadPanoramaOverlayPlaybackPosition]",state:"enum[stopped, playing, paused]",toolTip:"string",useHandCursor:"bool",video:"VideoResource"}).Rb([e.Da,e.wd,e.yh,e.Le,e.pc,e.Mb,e.ld,e.Ai,e.xf,e.vc]).Xf([e.T]).Qg({pause:a.prototype.pause,play:a.prototype.play,stop:a.prototype.stop});a.prototype.set=function(a,b){var g=z;switch(a){case "state":var k=this.get("state")||d.K;k==d.K&&b==d.S&&this.trigger(e.Ai);
k!=b&&this.trigger(new f(e.vc,{oldState:k,state:b}));break;case "enabledInCardboard":this.set("enabledInVR",b);break;case "distance":case "opacity":case "playbackPositions":case "vertices":this.Ib=m;g=p}c.prototype.set.call(this,a,b);g&&a!="playbackPositions"&&this.trigger(e.G("playbackPositions"))};a.prototype.get=function(a,b){switch(a){case "playbackPositions":if(this.Ib===m)this.Ib=k.tX(this);return this.Ib}return c.prototype.get.call(this,a,b)};return a});
define("dX",["require","fb","iP","dR","kV"],function(a){var b=a("fb"),c=a("iP"),e=a("dR"),a=a("kV"),b=b.extend(c,function(){c.call(this)});e.A("RotationalCameraMovement",b).B("Object").M({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"}).Rb([a.Da]);return b});
define("bN",["fb","dB","dR"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("SlideInEffect",a).B("Effect").M({from:"enum[left, top, right, bottom]"});return a});define("gp",["fb","fK","dR"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("SlideOutEffect",a).B("Effect").M({to:"enum[left, top, right, bottom]"});return a});
define("ks",["require","fb","iP","dR"],function(a){var b=a("fb"),c=a("iP"),a=a("dR"),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).B("PanoramaOverlay").M({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("jl",["require","fb","dR","iD"],function(a){var b=a("fb"),c=a("dR"),e=a("iD"),a=b.extend(e,function(){e.call(this)});c.A("SphericPanoramaFrame",a).B("PanoramaFrame").M({sphere:"or[ImageResource, Video360Resource]",stereoSphere:"or[ImageResource, Video360Resource]"});a.prototype.sh=function(){var a=this.get("sphere");return a&&c.zb("Video360Resource",a)?p:(a=this.get("stereoSphere"))&&c.zb("Video360Resource",a)?p:z};return a});
define("cy","dl,fb,u,kC,jJ,N,gJ".split(","),function(a,b,c,e,d,f,g){var k=b.extend(e,function(a){e.call(this);this.Tc("Tab");this.gT=a;this.ci="";this.eV=z;this.I4=this.oa=r;this.hW=this.gW=z;this.set("childrenInteractionEnabled",z);this.set("contentOpaque",p)});k.prototype.xa=function(){e.prototype.xa.call(this);this.f("horizontalAlign",d.Gc);this.f("verticalAlign",d.nc);this.f("fontFamily");this.f("fontSize");this.f("fontColor");this.f("fontWeight");this.f("fontStyle");this.f("textDecoration");
this.f("textShadowBlurRadius");this.f("textShadowColor");this.f("textShadowHorizontalLength");this.f("textShadowOpacity");this.f("textShadowVerticalLength")};k.prototype.dda=function(a){if(this.gW!=a){this.gW=a;this.hW=p;this.yc()}};k.prototype.Ha=function(){e.prototype.Ha.call(this);if(this.oa==r){this.oa=new g;this.oa.set("horizontalAlign","center");this.la(this.oa)}};k.prototype.Pk=function(){e.prototype.Pk.call(this);this.I4=c.watch(this.gT,"label",this.oma,this);this.G8(this.gT.get("label"))};
k.prototype.bU=function(){e.prototype.bU.call(this);this.I4.unwatch()};k.prototype.oma=function(){var a=this.gT.get("label");this.G8(a?a:"")};k.prototype.G8=function(a){if(this.ci!=a){this.ci=a;this.eV=p;this.yc()}};k.prototype.ga=function(){if(this.eV){this.eV=z;this.oa.set("text",this.ci)}if(this.hW){this.hW=z;this.oa.set("direction",this.gW?f.df:f.ue)}this.cb(k.r0,k.Qv,[this.oa],p,p);e.prototype.ga.call(this)};k.r0=["fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration",
"textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];k.Qv={};a(k.r0).each(function(a){k.Qv[a]=a});return k});define("dQ",[],function(){return{pz:"normal",Ev:"inverse",kZ:"center"}});
define("cp","dl,fb,W,R,kV,kC,jJ,c,cy,dQ,bh".split(","),function(a,b,c,e,d,f,g,k,j,n,i){b=b.extend(f,function(){f.call(this);this.Tc("TabPanel");this.qd=-1;this.eu=z;this.RC=[];this.aK=z;this.um=[];this.iT=z;this.QC=[];this.Be=this.qf=r;this.gu(z)});b.prototype.xa=function(){f.prototype.xa.call(this);this.f("pages",[]);this.f("selectedIndex",-1);this.f("tabsSize",25);this.f("tabsPosition",i.hb);this.f("tabsGap",0);this.f("tabsPadding",10);this.f("tabsAlign",n.pz);this.f("tabsBackgroundOpacity",0.6);
this.f("tabsBackgroundColor",["#FFFFFF","#CCCCCC"]);this.f("tabsBackgroundColorRatios",[0,0.5]);this.f("tabsRollOverBackgroundOpacity",1);this.f("tabsRollOverBackgroundColor",["#FFFFFF","#CCCCCC"]);this.f("tabsRollOverBackgroundColorRatios",[0,0.5]);this.f("backgroundColor","#FFFFFF");this.f("selectedTabBackgroundOpacity",1);this.f("selectedTabBackgroundColor");this.f("selectedTabBackgroundColorRatios");this.f("borderRadius",6);this.f("pagePaddingLeft",4);this.f("pagePaddingTop",4);this.f("pagePaddingRight",
4);this.f("pagePaddingBottom",4);this.f("borderColor","#AAAAAA");this.f("borderSize",1);this.f("selectedTabFontSize");this.f("selectedTabFontColor");this.f("selectedTabFontWeight");this.f("selectedTabFontStyle");this.f("selectedTabTextDecoration");this.f("selectedTabTextShadowBlurRadius");this.f("selectedTabTextShadowColor");this.f("selectedTabTextShadowHorizontalLength");this.f("selectedTabTextShadowOpacity");this.f("selectedTabTextShadowVerticalLength");this.f("tabsFontFamily");this.f("tabsFontSize");
this.f("tabsFontColor");this.f("tabsFontWeight");this.f("tabsFontStyle");this.f("tabsTextDecoration");this.f("tabsTextShadowBlurRadius");this.f("tabsTextShadowColor");this.f("tabsTextShadowHorizontalLength");this.f("tabsTextShadowOpacity");this.f("tabsTextShadowVerticalLength");this.f("tabsRollOverFontSize");this.f("tabsRollOverFontColor");this.f("tabsRollOverFontWeight");this.f("tabsRollOverFontStyle");this.f("tabsRollOverTextDecoration");this.f("tabsRollOverTextShadowBlurRadius");this.f("tabsRollOverTextShadowColor");
this.f("tabsRollOverTextShadowHorizontalLength");this.f("tabsRollOverTextShadowOpacity");this.f("tabsRollOverTextShadowVerticalLength")};b.prototype.Ha=function(){f.prototype.Ha.call(this);if(this.Be==r){this.Be=new f;this.Be.gu(z);this.la(this.Be)}if(this.qf==r){this.qf=new f;this.qf.gu(z);this.la(this.qf)}};b.prototype.set=function(a,b){if(a=="pages")this.mxa(b||[]);else if(a=="selectedIndex")this.KY(b);else if(a=="layout")b=k.pya;f.prototype.set.call(this,a,b)};b.prototype.get=function(a,b){return a==
"pages"?this.um:a=="selectedIndex"?this.qd:f.prototype.get.call(this,a,b)};b.prototype.KY=function(a){if(this.qd!=a){this.qd=a;this.qd=Math.min(Math.max(this.qd,-1),this.um.length);this.eu=p;this.yc();this.trigger(d.aa)}};b.prototype.mxa=function(b){if(!a.isEqual(this.um,b)){this.um=b;this.iT=p;this.yc()}};b.prototype.zqa=function(b){this.RC=a(this.RC).union([b.source]);this.aK=p;this.yc()};b.prototype.yqa=function(b){this.RC=a(this.RC).difference([b.source]);this.aK=p;this.yc()};b.prototype.xqa=
function(b){this.KY(a(this.QC).indexOf(b.source))};b.prototype.ga=function(){var b=z,q=z,o=z,t=z,s=z,u=this.j("tabsPosition"),v=this.j("tabsAlign");if(this.iT){this.QC=[];this.qf.lca();this.Be.lca();a(this.um).forEach(function(b){var c=new j(b);c.gu(p);c.bind(d.pc,a.bind(this.zqa,this));c.bind(d.Mb,a.bind(this.yqa,this));c.bind(d.ub,a.bind(this.xqa,this));this.QC.push(c);this.qf.la(c);b.N({top:m,left:m,right:m,bottom:m,width:"100%",height:"100%"});this.Be.la(b)},this);this.qd=Math.min(Math.max(this.qd,
0),this.um.length-1);this.iT=z;q=b=s=p}if(this.n("tabsPosition")){this.p("tabsPosition");t=q=b=p}if(this.eu){this.eu=z;o=q=s=p}if(this.aK){this.aK=z;o=p}a(["tabsAlign","tabsGap","tabsSize"]).forEach(function(a){if(this.n(a)){this.p(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.p(a);t=q=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.p(a);q=p}},this);a(["pagePaddingLeft","pagePaddingTop","pagePaddingRight","pagePaddingBottom"]).forEach(function(a){if(this.n(a)){this.p(a);
t=p}},this);this.n("backgroundColorDirection")&&this.p("backgroundColorDirection");if(b){switch(u){case i.na:this.qf.N({left:0,right:m});break;case i.Ja:this.qf.N({left:m,right:0});break;case i.hb:this.qf.N({bottom:m,top:0});break;case i.gb:this.qf.N({bottom:0,top:m})}switch(u){case i.na:case i.Ja:this.qf.N({layout:k.df,top:0,bottom:0,height:m,width:this.j("tabsSize")});switch(v){case n.Ev:this.qf.set("verticalAlign",g.gb);break;case n.kZ:this.qf.set("verticalAlign",g.nc);break;default:this.qf.set("verticalAlign",
g.hb)}break;case i.hb:case i.gb:this.qf.N({layout:k.ue,left:0,right:0,height:this.j("tabsSize"),width:m});switch(v){case n.Ev:this.qf.set("horizontalAlign",g.Ja);break;case n.kZ:this.qf.set("horizontalAlign",g.Gc);break;default:this.qf.set("horizontalAlign",g.na)}}this.qf.set("gap",this.j("tabsGap"))}if(q)for(var w=0;w<this.um.length;w++){var x=this.QC[w];if(u==i.gb||u==i.hb){x.N({layout:k.ue,width:m,paddingLeft:this.j("tabsPadding"),paddingTop:0,paddingRight:this.j("tabsPadding"),paddingBottom:0,
height:"100%",backgroundColorDirection:c.YN});x.dda(z)}else{x.N({layout:k.df,width:"100%",paddingLeft:0,paddingTop:this.j("tabsPadding"),paddingRight:0,paddingBottom:this.j("tabsPadding"),height:m,backgroundColorDirection:c.BN});x.dda(p)}u==i.gb||u==i.Ja?x.set("borderTopLeftRadius",0):x.set("borderTopLeftRadius",this.j("borderTopLeftRadius","borderTopRadius","borderLeftRadius","borderRadius"));u==i.gb||u==i.na?x.set("borderTopRightRadius",0):x.set("borderTopRightRadius",this.j("borderTopRightRadius",
"borderTopRadius","borderRightRadius","borderRadius"));u==i.hb||u==i.Ja?x.set("borderBottomLeftRadius",0):x.set("borderBottomLeftRadius",this.j("borderBottomLeftRadius","borderBottomRadius","borderLeftRadius","borderRadius"));u==i.hb||u==i.na?x.set("borderBottomRightRadius",0):x.set("borderBottomRightRadius",this.j("borderBottomRightRadius","borderBottomRadius","borderRightRadius","borderRadius"));u==i.Ja&&x.set("borderSize",this.j("borderRightSize","borderSize"));u==i.na&&x.set("borderSize",this.j("borderLeftSize",
"borderSize"));u==i.hb&&x.set("borderSize",this.j("borderTopSize","borderSize"));u==i.gb&&x.set("borderSize",this.j("borderBottomSize","borderSize"));var y;switch(u){case i.na:y=this.j("borderLeftColor","borderColor");break;case i.Ja:y=this.j("borderRightColor","borderColor");break;case i.gb:y=this.j("borderBottomColor","borderColor");break;default:case i.hb:y=this.j("borderTopColor","borderColor")}x.set("borderColor",y);x.N({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(q||o)for(w=0;w<this.um.length;w++){x=this.QC[w];o=w==this.qd;y=a(this.RC).contains(x);if(o){y=this.j("selectedTabBackgroundColor","tabsBackgroundColor");if(a(y).isUndefined()){y=this.j("backgroundColor");y=a(y).isArray()&&y.length>0?u==i.na||u==i.hb?y[0]:y[y.length-1]:y}x.N({backgroundOpacity:this.j("selectedTabBackgroundOpacity",
"tabsBackgroundOpacity","backgroundOpacity"),backgroundColor:y,backgroundColorRatios:this.j("selectedTabBackgroundColorRatios","tabsBackgroundColorRatios"),cursor:e.$c,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 y?x.N({backgroundOpacity:this.j("tabsRollOverBackgroundOpacity","tabsBackgroundOpacity","backgroundOpacity"),
backgroundColor:this.j("tabsRollOverBackgroundColor","tabsBackgroundColor"),backgroundColorRatios:this.j("tabsRollOverBackgroundColorRatios","tabsBackgroundColorRatios"),cursor:e.he,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")}):x.N({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")});
x.N({borderLeftSize:u==i.Ja&&o?0:m,borderRightSize:u==i.na&&o?0:m,borderBottomSize:u==i.hb&&o?0:m,borderTopSize:u==i.gb&&o?0:m})}if(t){w=this.j("tabsSize");switch(u){case i.na:this.Be.N({left:w-(this.j("borderLeftSize","borderSize")||0),right:0,top:0,bottom:0});break;case i.Ja:this.Be.N({left:0,right:w-(this.j("borderRightSize","borderSize")||0),top:0,bottom:0});break;case i.hb:this.Be.N({left:0,right:0,top:w-(this.j("borderTopSize","borderSize")||0),bottom:0});break;case i.gb:this.Be.N({left:0,right:0,
top:0,bottom:w-(this.j("borderBottomSize","borderSize")||0)})}u==i.hb&&v==n.pz||u==i.na&&v==n.pz?this.Be.set("borderTopLeftRadius",0):this.Be.set("borderTopLeftRadius",this.j("borderTopLeftRadius","borderTopRadius","borderLeftRadius","borderRadius"));u==i.hb&&v==n.Ev||u==i.Ja&&v==n.pz?this.Be.set("borderTopRightRadius",0):this.Be.set("borderTopRightRadius",this.j("borderTopRightRadius","borderTopRadius","borderRightRadius","borderRadius"));u==i.gb&&v==n.pz||u==i.na&&v==n.Ev?this.Be.set("borderBottomLeftRadius",
0):this.Be.set("borderBottomLeftRadius",this.j("borderBottomLeftRadius","borderBottomRadius","borderLeftRadius","borderRadius"));u==i.gb&&v==n.Ev||u==i.Ja&&v==n.Ev?this.Be.set("borderBottomRightRadius",0):this.Be.set("borderBottomRightRadius",this.j("borderBottomRightRadius","borderBottomRadius","borderRightRadius","borderRadius"));this.Be.N({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==i.hb||u==i.gb?this.Be.set("backgroundColorDirection",c.YN):this.Be.set("backgroundColorDirection",c.BN)}if(s)for(w=0;w<this.um.length;w++)this.um[w].set("visible",w==this.qd);f.prototype.ga.call(this)};
return b});
define("kv",["dl","fb","kV","cp","dR"],function(a,b,c,e,d){a=b.extend(e,function(){e.call(this)});d.A("TabPanel",a).B("Container").M({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"}).zp(["selectedTabFontSize","tabsFontSize","tabsRollOverFontSize"]).Rb([c.aa]);return a});define("ev",["fb","kC"],function(a,b){var c=a.extend(b,function(){b.call(this);this.Tc("Page");this.set("label","")});c.prototype.xa=function(){b.prototype.xa.call(this);this.f("visible",m)};return c});
define("T",["fb","ev","dR"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("TabPanelPage",a).B("Container").M({label:"string"});return a});define("eV",["require","fb","iP","dR"],function(a){var b=a("fb"),c=a("iP"),a=a("dR"),b=b.extend(c,function(){c.call(this)});a.A("TargetPanoramaCameraMovement",b).B("TargetRotationalCameraMovement");return b});
define("cE",["require","fb","iP","dR"],function(a){var b=a("fb"),c=a("iP"),a=a("dR"),b=b.extend(c,function(){c.call(this)});a.A("TargetRotationalCameraDisplayMovement",b).B("RotationalCameraMovement").M({stereographicFactorSpeed:"number",path:"enum[left, right, shortest, longest]",targetYaw:"number",targetPitch:"number",targetHfov:"number",targetStereographicFactor:"number"});return b});
define("fX",["require","fb","iV","dR"],function(a){var b=a("fb"),c=a("iV"),a=a("dR"),b=b.extend(c,function(){c.call(this)});a.A("TiledImageResourceLevel",b).B("ImageResourceLevel").M({rowCount:"number",colCount:"number"});return b});define("hb",["require","fb","dR","gf"],function(a){var b=a("fb"),c=a("dR"),e=a("gf"),a=b.extend(e,function(){e.call(this)});c.A("TripodCapPanoramaOverlay",a).B("CapPanoramaOverlay");return a});
define("gi","require,fb,u,kV,jJ,cj,R,c,bh,iZ,fh,kC,jr,gJ,dl".split(","),function(a){var b=a("fb"),c=a("u"),e=a("kV"),d=a("jJ"),f=a("cj"),g=a("R"),k=a("c"),j=a("bh"),n=a("iZ"),i=a("fh"),l=a("kC"),q=a("jr"),o=a("gJ"),t=a("dl"),s=b.extend(l,function(){l.call(this);this.oa=this.Uc=r;this.Us=[];this.set("autoRolledOver",p);this.set("childrenInteractionEnabled",z);this.set("contentOpaque",p);this.set("creationPolicy",f.ys);this.set("cursor",g.he)});s.prototype.xa=function(){l.prototype.xa.call(this);this.f("overflow",
"hidden");this.f("item");this.f("thumbnailUrlFunction",this.aQ);this.f("sourceProperties");this.f("labelFunction",this.ZP);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",i.v,"backgroundOpacity");this.h("rollOverBackgroundColor",i.v,"backgroundColor");this.h("rollOverBackgroundColorRatios",i.v,"backgroundColorRatios");this.h("rollOverBackgroundColorDirection",i.v,"backgroundColorDirection");this.h("rollOverBorderRadius",i.v,"borderRadius");this.h("rollOverBorderTopRadius",i.v,"borderTopRadius");this.h("rollOverBorderBottomRadius",i.v,"borderBottomRadius");this.h("rollOverBorderLeftRadius",i.v,"borderLeftRadius");this.h("rollOverBorderRightRadius",
i.v,"borderRightRadius");this.h("rollOverBorderTopLeftRadius",i.v,"borderTopLeftRadius");this.h("rollOverBorderTopRightRadius",i.v,"borderTopRightRadius");this.h("rollOverBorderBottomLeftRadius",i.v,"borderBottomLeftRadius");this.h("rollOverBorderBottomRightRadius",i.v,"borderBottomRightRadius");this.h("rollOverBorderSize",i.v,"borderSize");this.h("rollOverBorderLeftSize",i.v,"borderLeftSize");this.h("rollOverBorderTopSize",i.v,"borderTopSize");this.h("rollOverBorderRightSize",i.v,"borderRightSize");
this.h("rollOverBorderBottomSize",i.v,"borderBottomSize");this.h("rollOverBorderColor",i.v,"borderColor");this.h("rollOverBorderLeftColor",i.v,"borderLeftColor");this.h("rollOverBorderTopColor",i.v,"borderTopColor");this.h("rollOverBorderRightColor",i.v,"borderRightColor");this.h("rollOverBorderBottomColor",i.v,"borderBottomColor");this.h("rollOverLabelFontColor",i.v,"labelFontColor");this.h("rollOverLabelFontSize",i.v,"labelFontSize");this.h("rollOverLabelFontStyle",i.v,"labelFontStyle");this.h("rollOverLabelFontWeight",
i.v,"labelFontWeight");this.h("rollOverLabelTextDecoration",i.v,"labelTextDecoration");this.h("rollOverLabelTextShadowColor",i.v,"labelTextShadowColor");this.h("rollOverLabelTextShadowHorizontalLength",i.v,"labelTextShadowHorizontalLength");this.h("rollOverLabelTextShadowVerticalLength",i.v,"labelTextShadowVerticalLength");this.h("rollOverLabelTextShadowBlurRadius",i.v,"labelTextShadowBlurRadius");this.h("rollOverLabelTextShadowOpacity",i.v,"labelTextShadowOpacity");this.h("rollOverOpacity",i.v,"opacity");
this.h("rollOverPaddingLeft",i.v,"paddingLeft");this.h("rollOverPaddingTop",i.v,"paddingTop");this.h("rollOverPaddingRight",i.v,"paddingRight");this.h("rollOverPaddingBottom",i.v,"paddingBottom");this.h("rollOverShadow",i.v,"shadow");this.h("rollOverThumbnailOpacity",i.v,"thumbnailOpacity");this.h("rollOverThumbnailBorderSize",i.v,"thumbnailBorderSize");this.h("rollOverThumbnailBorderColor",i.v,"thumbnailBorderColor");this.h("rollOverThumbnailShadow",i.v,"thumbnailShadow");this.h("rollOverThumbnailShadowHorizontalLength",
i.v,"thumbnailShadowHorizontalLength");this.h("rollOverThumbnailShadowVerticalLength",i.v,"thumbnailShadowVerticalLength");this.h("rollOverThumbnailShadowBlurRadius",i.v,"thumbnailShadowBlurRadius");this.h("rollOverThumbnailShadowSpread",i.v,"thumbnailShadowSpread");this.h("rollOverThumbnailShadowColor",i.v,"thumbnailShadowColor");this.h("rollOverThumbnailShadowOpacity",i.v,"thumbnailShadowOpacity");this.h("selectedBackgroundOpacity",i.F,"backgroundOpacity");this.h("selectedBackgroundColor",i.F,"backgroundColor");
this.h("selectedBackgroundColorRatios",i.F,"backgroundColorRatios");this.h("selectedBackgroundColorDirection",i.F,"backgroundColorDirection");this.h("selectedBorderRadius",i.F,"borderRadius");this.h("selectedBorderTopRadius",i.F,"borderTopRadius");this.h("selectedBorderBottomRadius",i.F,"borderBottomRadius");this.h("selectedBorderLeftRadius",i.F,"borderLeftRadius");this.h("selectedBorderRightRadius",i.F,"borderRightRadius");this.h("selectedBorderTopLeftRadius",i.F,"borderTopLeftRadius");this.h("selectedBorderTopRightRadius",
i.F,"borderTopRightRadius");this.h("selectedBorderBottomLeftRadius",i.F,"borderBottomLeftRadius");this.h("selectedBorderBottomRightRadius",i.F,"borderBottomRightRadius");this.h("selectedBorderSize",i.F,"borderSize");this.h("selectedBorderLeftSize",i.F,"borderLeftSize");this.h("selectedBorderTopSize",i.F,"borderTopSize");this.h("selectedBorderRightSize",i.F,"borderRightSize");this.h("selectedBorderBottomSize",i.F,"borderBottomSize");this.h("selectedBorderColor",i.F,"borderColor");this.h("selectedBorderLeftColor",
i.F,"borderLeftColor");this.h("selectedBorderTopColor",i.F,"borderTopColor");this.h("selectedBorderRightColor",i.F,"borderRightColor");this.h("selectedBorderBottomColor",i.F,"borderBottomColor");this.h("selectedLabelFontColor",i.F,"labelFontColor");this.h("selectedLabelFontSize",i.F,"labelFontSize");this.h("selectedLabelFontStyle",i.F,"labelFontStyle");this.h("selectedLabelFontWeight",i.F,"labelFontWeight");this.h("selectedLabelTextDecoration",i.F,"labelTextDecoration");this.h("selectedLabelTextShadowColor",
i.F,"labelTextShadowColor");this.h("selectedLabelTextShadowHorizontalLength",i.F,"labelTextShadowHorizontalLength");this.h("selectedLabelTextShadowVerticalLength",i.F,"labelTextShadowVerticalLength");this.h("selectedLabelTextShadowBlurRadius",i.F,"labelTextShadowBlurRadius");this.h("selectedLabelTextShadowOpacity",i.F,"labelTextShadowOpacity");this.h("selectedOpacity",i.F,"opacity");this.h("selectedPaddingLeft",i.F,"paddingLeft");this.h("selectedPaddingTop",i.F,"paddingTop");this.h("selectedPaddingRight",
i.F,"paddingRight");this.h("selectedPaddingBottom",i.F,"paddingBottom");this.h("selectedShadow",i.F,"shadow");this.h("selectedThumbnailOpacity",i.F,"thumbnailOpacity");this.h("selectedThumbnailBorderSize",i.F,"thumbnailBorderSize");this.h("selectedThumbnailBorderColor",i.F,"thumbnailBorderColor");this.h("selectedThumbnailShadow",i.F,"thumbnailShadow");this.h("selectedThumbnailShadowHorizontalLength",i.F,"thumbnailShadowHorizontalLength");this.h("selectedThumbnailShadowVerticalLength",i.F,"thumbnailShadowVerticalLength");
this.h("selectedThumbnailShadowBlurRadius",i.F,"thumbnailShadowBlurRadius");this.h("selectedThumbnailShadowSpread",i.F,"thumbnailShadowSpread");this.h("selectedThumbnailShadowColor",i.F,"thumbnailShadowColor");this.h("selectedThumbnailShadowOpacity",i.F,"thumbnailShadowOpacity")};s.prototype.NE=function(a){this.wC(a)};s.prototype.Ha=function(){l.prototype.Ha.call(this);if(!this.Uc){this.Uc=new q;this.la(this.Uc);this.Uc.set("horizontalAlign",d.Gc);this.Uc.set("verticalAlign",d.nc);this.Uc.bind(e.R,
this.jV,this)}if(!this.oa){this.oa=new o;this.la(this.oa)}};s.prototype.aQ=function(a){if(t(a).isString())return a;if(a&&a.XY)return a.XY};s.prototype.ZP=function(a){if(a&&a.label)return a.label};s.prototype.ga=function(){if(this.n("sourceProperties")||this.n("item")){for(;this.Us.length;)this.Us.pop().unwatch();var a=this.j("sourceProperties"),b=this.j("item");a&&b&&a.forEach(function(a){this.Us.push(c.watch(b,a,this.$S,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.Uc.get("url")!=a&&this.Uc.N({url:a,visible:p,opacity:0.5}):this.Uc.N({url:m,visible:z});this.p("thumbnailUrlFunction")}if(this.n("sourceProperties")||this.n("item")||this.n("labelFunction")){b=this.j("item");a=this.j("labelFunction")(b);this.oa.N({text:a,visible:a?p:z});this.p("labelFunction")}this.p("item");
this.p("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 j.na:case j.Ja:this.set("layout",k.ue);this.oa.set("width","100%");this.Uc.N({height:a("thumbnailHeight","100%"),width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",n.Vg)});break;default:this.set("layout",k.df);this.oa.set("width","100%");this.Uc.N({height:a("thumbnailHeight",
"100%"),width:a("thumbnailWidth","100%"),scaleMode:a("thumbnailScaleMode",n.Vg)})}switch(this.j("labelPosition")){case j.na:case j.hb:this.oj(this.oa,0);break;default:this.oj(this.oa,1)}this.p("labelPosition")}this.cb(s.iO,s.q0,[this],p,p);this.cb(s.kO,s.t0,[this.Uc],p,p);this.cb(s.jO,s.s0,[this.oa],p,p);l.prototype.ga.call(this)};s.prototype.$S=function(){this.hu("item")};s.prototype.fu=function(a){l.prototype.fu.call(this,a)};s.prototype.jV=function(){this.Uc.set("opacity",1)};s.q0={labelGap:"gap"};
s.iO=t(s.q0).keys();s.s0={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"};
s.jO=t(s.s0).keys();s.t0={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"};
s.kO=t(s.t0).keys();return s});
define("bA","fb,bY,jJ,kV,cj,c,fQ,bh,kC,gi,dl".split(","),function(a,b,c,e,d,f,g,k,j,n,i){var l=a.extend(j,function(){j.call(this);this.set("contentOpaque",p)});l.prototype.xa=function(){j.prototype.xa.call(this);this.f("layout",f.Ip);this.f("selectedIndex",-1);this.f("items",[]);this.f("overflow",g.cm);this.f("itemHorizontalAlign",c.Gc);this.f("itemLabelFontFamily");this.f("itemLabelPosition",k.gb);this.f("itemLabelFunction");this.f("itemLabelMaxWidth");this.f("itemLabelGap");this.f("itemLabelHorizontalAlign",
c.Gc);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.nc);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.SA=function(a){this.lk=p;this.set("selectedIndex",this.aR(a.source))};l.prototype.aR=function(a){for(var b=this.Na(),c=0;c<b.length;c++)if(b[c]==a)return c;return-1};l.prototype.ga=function(){this.n("layout")&&this.j("layout")!=f.Ip&&this.set("layout",f.Ip);var a=z;if(this.n("items")){var a=p,c=this.j("items")||
[],d=this.Na();if(d.length<c.length){for(var g=d.length;g<c.length;g++){d=new n;d.bind(e.T,this.SA,this);this.cb(l.zz,l.Fs,[d],z,z);this.cb(l.Az,l.Gs,[d],z,z);this.la(d)}d=this.Na()}if(d.length>c.length){for(g=c.length;g<d.length;g++){var i=d[g];i.unbind(e.T,this.SA,this);this.removeChild(i)}d=this.Na()}for(g=0;g<c.length;g++)d[g].set("item",c[g]);this.p("items")}if(this.n("selectedIndex")||a){c=this.Na();a=Math.min(c.length-1,Math.max(-1,this.j("selectedIndex")));this.set("selectedIndex",a);for(g=
0;g<c.length;g++)c[g].NE(g==a);this.p("selectedIndex");if(this.lk){this.lk=z;this.trigger(new b(e.aa))}}this.cb(l.zz,l.Fs,this.Na(),p,z);this.cb(l.Az,l.Gs,this.Na(),p,p);j.prototype.ga.call(this)};l.Fs={layout:"listLayout",shadowHorizontalLength:"shadowHorizontalLength",shadowVerticalLength:"shadowVerticalLength",shadowBlurRadius:"shadowBlurRadius",shadowSpread:"shadowSpread",shadowOpacity:"shadowOpacity",shadowColor:"shadowColor"};l.Gs={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.zz=i(l.Fs).keys();l.Az=i(l.Gs).keys();return l});
define("hC","fb,kV,bA,dR,jE,dj,by,dl".split(","),function(a,b,c,e,d,f,g){a=a.extend(c,function(){c.call(this);this.Ob=r;this.set("itemMode","normal");this.al=z;this.Tz=new d(this,"buttonScrollDown",f.ad);this.Tz.bind(b.T,this.Fca,this);this.Uz=new d(this,"buttonScrollLeft",f.ad);this.Uz.bind(b.T,this.scrollLeft,this);this.Vz=new d(this,"buttonScrollRight",f.ad);this.Vz.bind(b.T,this.Gca,this);this.Wz=new d(this,"buttonScrollUp",f.ad);this.Wz.bind(b.T,this.Hca,this);this.bind(b.aa,this.Xma,this)});
e.A("ThumbnailGrid",a).B("UIComponent").M({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]"}).zp(["itemLabelFontSize",
"rollOverItemLabelFontSize","selectedItemLabelFontSize"]).Rb([b.aa]);a.prototype.ti=function(){c.prototype.ti.call(this);this.ru()};a.prototype.Wo=function(){c.prototype.Wo.call(this);this.ru()};a.prototype.ru=function(){this.Tz.set("visible",!this.al||this.fG());this.Wz.set("visible",!this.al||this.iG());this.Uz.set("visible",!this.al||this.gG());this.Vz.set("visible",!this.al||this.hG())};a.prototype.set=function(a,b){if(a=="itemMode")switch(b){case "thumbnail-only":this.set("itemLabelFunction",
this.jo);this.set("itemThumbnailUrlFunction",this.UA);this.set("itemTooltipFunction",this.xt);this.set("itemSourceProperties",["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"]);break;case "label-only":this.set("itemLabelFunction",this.xt);this.set("itemThumbnailUrlFunction",this.jo);this.set("itemTooltipFunction",this.jo);this.set("itemSourceProperties",["label","media.label"]);break;default:this.set("itemLabelFunction",this.xt);this.set("itemThumbnailUrlFunction",this.UA);
this.set("itemTooltipFunction",this.jo);this.set("itemSourceProperties",["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"])}else if(a=="playList"){this.Ob&&this.Ob.unbind("change",this.yo,this);if(this.Ob=b){this.set("items",this.Ob.get("items"));this.set("selectedIndex",this.Ob.get("selectedIndex"));this.Ob.bind("change",this.yo,this,p)}else this.set("items",[])}else if(a=="hideScrollButtons"){this.al=b;this.ru()}else c.prototype.set.call(this,a,b)};a.prototype.get=function(a,
b){switch(a){case "playList":return this.Ob;default:return c.prototype.get.call(this,a,b)}};a.prototype.yo=function(){this.set("items",this.Ob.get("items"));this.set("selectedIndex",this.Ob.get("selectedIndex"))};a.prototype.Xma=function(){this.Ob&&this.Ob.set("selectedIndex",this.get("selectedIndex"))};a.prototype.jo=D();a.prototype.xt=function(a){return a.get("label")||a.get("media").get("label")};a.prototype.UA=function(a){var a=a.get("media"),b=a.get("thumbnailUrl");a.get("flipImageHorizontally")&&
(b=g.K$(b));return b};return a});
define("hT","require,fb,u,kV,jJ,cj,R,c,bh,iZ,fh,kC,jr,gJ,dl".split(","),function(a){var b=a("fb"),c=a("u"),e=a("kV"),d=a("jJ"),f=a("cj"),g=a("R"),k=a("c"),j=a("bh"),n=a("iZ"),i=a("fh"),l=a("kC"),q=a("jr"),o=a("gJ"),t=a("dl"),s=b.extend(l,function(){l.call(this);this.oa=this.Uc=r;this.Us=[];this.set("autoRolledOver",p);this.set("childrenInteractionEnabled",z);this.set("contentOpaque",p);this.set("creationPolicy",f.ys);this.set("cursor",g.he)});s.prototype.xa=function(){l.prototype.xa.call(this);this.f("listLayout");
this.f("overflow","hidden");this.f("item");this.f("thumbnailUrlFunction",this.aQ);this.f("sourceProperties");this.f("labelFunction",this.ZP);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",i.v,"backgroundOpacity");this.h("rollOverBackgroundColor",i.v,"backgroundColor");this.h("rollOverBackgroundColorRatios",i.v,"backgroundColorRatios");this.h("rollOverBackgroundColorDirection",i.v,"backgroundColorDirection");this.h("rollOverBorderRadius",i.v,"borderRadius");this.h("rollOverBorderTopRadius",i.v,"borderTopRadius");this.h("rollOverBorderBottomRadius",i.v,"borderBottomRadius");this.h("rollOverBorderLeftRadius",i.v,"borderLeftRadius");this.h("rollOverBorderRightRadius",
i.v,"borderRightRadius");this.h("rollOverBorderTopLeftRadius",i.v,"borderTopLeftRadius");this.h("rollOverBorderTopRightRadius",i.v,"borderTopRightRadius");this.h("rollOverBorderBottomLeftRadius",i.v,"borderBottomLeftRadius");this.h("rollOverBorderBottomRightRadius",i.v,"borderBottomRightRadius");this.h("rollOverBorderSize",i.v,"borderSize");this.h("rollOverBorderLeftSize",i.v,"borderLeftSize");this.h("rollOverBorderTopSize",i.v,"borderTopSize");this.h("rollOverBorderRightSize",i.v,"borderRightSize");
this.h("rollOverBorderBottomSize",i.v,"borderBottomSize");this.h("rollOverBorderColor",i.v,"borderColor");this.h("rollOverBorderLeftColor",i.v,"borderLeftColor");this.h("rollOverBorderTopColor",i.v,"borderTopColor");this.h("rollOverBorderRightColor",i.v,"borderRightColor");this.h("rollOverBorderBottomColor",i.v,"borderBottomColor");this.h("rollOverLabelFontColor",i.v,"labelFontColor");this.h("rollOverLabelFontSize",i.v,"labelFontSize");this.h("rollOverLabelFontStyle",i.v,"labelFontStyle");this.h("rollOverLabelFontWeight",
i.v,"labelFontWeight");this.h("rollOverLabelTextDecoration",i.v,"labelTextDecoration");this.h("rollOverLabelTextShadowColor",i.v,"labelTextShadowColor");this.h("rollOverLabelTextShadowHorizontalLength",i.v,"labelTextShadowHorizontalLength");this.h("rollOverLabelTextShadowVerticalLength",i.v,"labelTextShadowVerticalLength");this.h("rollOverLabelTextShadowBlurRadius",i.v,"labelTextShadowBlurRadius");this.h("rollOverLabelTextShadowOpacity",i.v,"labelTextShadowOpacity");this.h("rollOverOpacity",i.v,"opacity");
this.h("rollOverPaddingLeft",i.v,"paddingLeft");this.h("rollOverPaddingTop",i.v,"paddingTop");this.h("rollOverPaddingRight",i.v,"paddingRight");this.h("rollOverPaddingBottom",i.v,"paddingBottom");this.h("rollOverShadow",i.v,"shadow");this.h("rollOverThumbnailOpacity",i.v,"thumbnailOpacity");this.h("rollOverThumbnailBorderSize",i.v,"thumbnailBorderSize");this.h("rollOverThumbnailBorderColor",i.v,"thumbnailBorderColor");this.h("rollOverThumbnailShadow",i.v,"thumbnailShadow");this.h("rollOverThumbnailShadowHorizontalLength",
i.v,"thumbnailShadowHorizontalLength");this.h("rollOverThumbnailShadowVerticalLength",i.v,"thumbnailShadowVerticalLength");this.h("rollOverThumbnailShadowBlurRadius",i.v,"thumbnailShadowBlurRadius");this.h("rollOverThumbnailShadowSpread",i.v,"thumbnailShadowSpread");this.h("rollOverThumbnailShadowColor",i.v,"thumbnailShadowColor");this.h("rollOverThumbnailShadowOpacity",i.v,"thumbnailShadowOpacity");this.h("selectedBackgroundOpacity",i.F,"backgroundOpacity");this.h("selectedBackgroundColor",i.F,"backgroundColor");
this.h("selectedBackgroundColorRatios",i.F,"backgroundColorRatios");this.h("selectedBackgroundColorDirection",i.F,"backgroundColorDirection");this.h("selectedBorderRadius",i.F,"borderRadius");this.h("selectedBorderTopRadius",i.F,"borderTopRadius");this.h("selectedBorderBottomRadius",i.F,"borderBottomRadius");this.h("selectedBorderLeftRadius",i.F,"borderLeftRadius");this.h("selectedBorderRightRadius",i.F,"borderRightRadius");this.h("selectedBorderTopLeftRadius",i.F,"borderTopLeftRadius");this.h("selectedBorderTopRightRadius",
i.F,"borderTopRightRadius");this.h("selectedBorderBottomLeftRadius",i.F,"borderBottomLeftRadius");this.h("selectedBorderBottomRightRadius",i.F,"borderBottomRightRadius");this.h("selectedBorderSize",i.F,"borderSize");this.h("selectedBorderLeftSize",i.F,"borderLeftSize");this.h("selectedBorderTopSize",i.F,"borderTopSize");this.h("selectedBorderRightSize",i.F,"borderRightSize");this.h("selectedBorderBottomSize",i.F,"borderBottomSize");this.h("selectedBorderColor",i.F,"borderColor");this.h("selectedBorderLeftColor",
i.F,"borderLeftColor");this.h("selectedBorderTopColor",i.F,"borderTopColor");this.h("selectedBorderRightColor",i.F,"borderRightColor");this.h("selectedBorderBottomColor",i.F,"borderBottomColor");this.h("selectedLabelFontColor",i.F,"labelFontColor");this.h("selectedLabelFontSize",i.F,"labelFontSize");this.h("selectedLabelFontStyle",i.F,"labelFontStyle");this.h("selectedLabelFontWeight",i.F,"labelFontWeight");this.h("selectedLabelTextDecoration",i.F,"labelTextDecoration");this.h("selectedLabelTextShadowColor",
i.F,"labelTextShadowColor");this.h("selectedLabelTextShadowHorizontalLength",i.F,"labelTextShadowHorizontalLength");this.h("selectedLabelTextShadowVerticalLength",i.F,"labelTextShadowVerticalLength");this.h("selectedLabelTextShadowBlurRadius",i.F,"labelTextShadowBlurRadius");this.h("selectedLabelTextShadowOpacity",i.F,"labelTextShadowOpacity");this.h("selectedOpacity",i.F,"opacity");this.h("selectedPaddingLeft",i.F,"paddingLeft");this.h("selectedPaddingTop",i.F,"paddingTop");this.h("selectedPaddingRight",
i.F,"paddingRight");this.h("selectedPaddingBottom",i.F,"paddingBottom");this.h("selectedShadow",i.F,"shadow");this.h("selectedThumbnailOpacity",i.F,"thumbnailOpacity");this.h("selectedThumbnailBorderSize",i.F,"thumbnailBorderSize");this.h("selectedThumbnailBorderColor",i.F,"thumbnailBorderColor");this.h("selectedThumbnailShadow",i.F,"thumbnailShadow");this.h("selectedThumbnailShadowHorizontalLength",i.F,"thumbnailShadowHorizontalLength");this.h("selectedThumbnailShadowVerticalLength",i.F,"thumbnailShadowVerticalLength");
this.h("selectedThumbnailShadowBlurRadius",i.F,"thumbnailShadowBlurRadius");this.h("selectedThumbnailShadowSpread",i.F,"thumbnailShadowSpread");this.h("selectedThumbnailShadowColor",i.F,"thumbnailShadowColor");this.h("selectedThumbnailShadowOpacity",i.F,"thumbnailShadowOpacity")};s.prototype.NE=function(a){this.wC(a)};s.prototype.Ha=function(){l.prototype.Ha.call(this);if(!this.Uc){this.Uc=new q;this.la(this.Uc);this.Uc.set("horizontalAlign",d.Gc);this.Uc.set("verticalAlign",d.nc);this.Uc.bind(e.R,
this.jV,this)}if(!this.oa){this.oa=new o;this.la(this.oa)}};s.prototype.aQ=function(a){if(t(a).isString())return a;if(a&&a.XY)return a.XY};s.prototype.ZP=function(a){if(a&&a.label)return a.label};s.prototype.ga=function(){if(this.n("sourceProperties")||this.n("item")){for(;this.Us.length;)this.Us.pop().unwatch();var a=this.j("sourceProperties"),b=this.j("item");a&&b&&a.forEach(function(a){this.Us.push(c.watch(b,a,this.$S,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.Uc.get("url")!=a&&this.Uc.N({url:a,visible:p,opacity:0.5}):this.Uc.N({url:m,visible:z});this.p("thumbnailUrlFunction")}if(this.n("sourceProperties")||this.n("item")||this.n("labelFunction")){b=this.j("item");a=this.j("labelFunction")(b);this.oa.N({text:a,visible:a?p:z});this.p("labelFunction")}this.p("sourceProperties");
this.p("item");if(this.n("listLayout"))switch(this.j("listLayout")){case k.df:this.N({width:"100%",height:m});break;default:this.N({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 j.na:case j.Ja:this.set("layout",k.ue);this.oa.set("width","100%");switch(this.j("listLayout")){case k.df:this.Uc.N({height:a("thumbnailHeight"),
width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",n.Vg)});break;default:this.Uc.N({height:a("thumbnailHeight","100%"),width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",n.Vg)})}break;default:this.set("layout",k.df);this.oa.set("width",m);switch(this.j("listLayout")){case k.df:this.Uc.N({height:a("thumbnailHeight"),width:a("thumbnailWidth","100%"),scaleMode:a("thumbnailScaleMode",n.Kk)});break;default:this.Uc.N({height:a("thumbnailHeight","100%"),width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",
n.Vg)})}}switch(this.j("labelPosition")){case j.na:case j.hb:this.oj(this.oa,0);break;default:this.oj(this.oa,1)}this.p("labelPosition")}this.p("listLayout");this.cb(s.iO,s.Qv,[this],p,p);this.cb(s.kO,s.Qv,[this.Uc],p,p);this.cb(s.jO,s.Qv,[this.oa],p,p);l.prototype.ga.call(this)};s.prototype.$S=function(){this.hu("item")};s.prototype.fu=function(a){l.prototype.fu.call(this,a)};s.prototype.jV=function(){this.Uc.set("opacity",1)};s.iO=["labelGap"];s.kO=["thumbnailBorderColor","thumbnailBorderRadius",
"thumbnailBorderSize","thumbnailMaxWidth","thumbnailMaxHeight","thumbnailOpacity","thumbnailShadow","thumbnailShadowHorizontalLength","thumbnailShadowVerticalLength","thumbnailShadowBlurRadius","thumbnailShadowSpread","thumbnailShadowColor","thumbnailShadowOpacity"];s.jO=["labelFontFamily","labelFontColor","labelFontSize","labelFontStyle","labelFontWeight","labelHorizontalAlign","labelTextDecoration","labelTextShadowColor","labelTextShadowHorizontalLength","labelTextShadowVerticalLength","labelTextShadowBlurRadius",
"labelTextShadowOpacity"];s.Qv={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 s});
define("D","require,fb,bY,jJ,kV,c,fQ,bh,kC,hT,dl".split(","),function(a){var b=a("fb"),c=a("bY"),e=a("jJ"),d=a("kV"),f=a("c"),g=a("fQ"),k=a("bh"),j=a("kC"),n=a("hT"),a=a("dl"),i=b.extend(j,function(){j.call(this);this.set("contentOpaque",p);this.bind(d.G("selectedIndex"),this.Boa,this);this.bind(d.vb,this.Hqa,this)});i.prototype.xa=function(){j.prototype.xa.call(this);this.f("layout",f.ue);this.f("selectedIndex",-1);this.f("items",[]);this.f("overflow",g.cm);this.f("itemHorizontalAlign",e.Gc);this.f("itemLabelFontFamily");
this.f("itemLabelPosition",k.gb);this.f("itemLabelFunction");this.f("itemLabelGap");this.f("itemLabelHorizontalAlign",e.Gc);this.f("itemThumbnailBorderRadius");this.f("itemThumbnailScaleMode");this.f("itemThumbnailWidth");this.f("itemThumbnailHeight");this.f("itemThumbnailMaxWidth");this.f("itemThumbnailMaxHeight");this.f("itemThumbnailUrlFunction");this.f("itemTooltipFunction");this.f("itemSourceProperties");this.f("itemVerticalAlign",e.nc);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")};i.prototype.SA=function(a){this.lk=p;this.set("selectedIndex",this.aR(a.source))};i.prototype.Boa=function(){this.a8()};i.prototype.Hqa=function(){this.a8()};i.prototype.a8=function(){var a=this.get("selectedIndex"),b=this.Na();a>=0&&a<b.length&&this.scrollIntoView(b[a])};i.prototype.aR=function(a){for(var b=this.Na(),
c=0;c<b.length;c++)if(b[c]==a)return c;return-1};i.prototype.ga=function(){if(this.n("layout")){var a=this.j("layout");a!=f.df&&a!=f.ue&&this.set("layout",f.ue)}var b=z;if(this.n("items")){var b=p,a=this.j("items")||[],e=this.Na();if(e.length<a.length){for(var g=e.length;g<a.length;g++){e=new n;e.bind(d.T,this.SA,this);this.cb(i.zz,i.Fs,[e],z,z);this.cb(i.Az,i.Gs,[e],z,z);this.la(e)}e=this.Na()}if(e.length>a.length){for(g=a.length;g<e.length;g++){var k=e[g];k.unbind(d.T,this.SA,this);this.removeChild(k)}e=
this.Na()}for(g=0;g<a.length;g++)e[g].set("item",a[g]);this.p("items")}if(this.n("selectedIndex")||b){a=this.Na();b=Math.min(a.length-1,Math.max(-1,this.j("selectedIndex")));this.set("selectedIndex",b);for(g=0;g<a.length;g++)a[g].NE(g==b);this.p("selectedIndex");if(this.lk){this.lk=z;this.trigger(new c(d.aa))}}this.cb(i.zz,i.Fs,this.Na(),p,z);this.cb(i.Az,i.Gs,this.Na(),p,p);j.prototype.ga.call(this)};i.Fs={layout:"listLayout",shadowHorizontalLength:"shadowHorizontalLength",shadowVerticalLength:"shadowVerticalLength",
shadowBlurRadius:"shadowBlurRadius",shadowSpread:"shadowSpread",shadowOpacity:"shadowOpacity",shadowColor:"shadowColor"};i.Gs={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"};i.zz=a(i.Fs).keys();i.Az=a(i.Gs).keys();return i});
define("fD","fb,kV,D,dR,jE,dj,by,dl".split(","),function(a,b,c,e,d,f,g){a=a.extend(c,function(){c.call(this);this.Ob=r;this.set("itemMode","normal");this.al=z;this.Tz=new d(this,"buttonScrollDown",f.ad);this.Tz.bind(b.T,this.Fca,this);this.Uz=new d(this,"buttonScrollLeft",f.ad);this.Uz.bind(b.T,this.scrollLeft,this);this.Vz=new d(this,"buttonScrollRight",f.ad);this.Vz.bind(b.T,this.Gca,this);this.Wz=new d(this,"buttonScrollUp",f.ad);this.Wz.bind(b.T,this.Hca,this);this.bind(b.aa,this.Yma,this)});
e.A("ThumbnailList",a).B("UIComponent").M({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:"*"}).zp(["itemLabelFontSize",
"rollOverItemLabelFontSize","selectedItemLabelFontSize"]).Rb([b.aa]);a.prototype.ti=function(){c.prototype.ti.call(this);this.ru()};a.prototype.Wo=function(){c.prototype.Wo.call(this);this.ru()};a.prototype.ru=function(){this.Tz.set("visible",!this.al||this.fG());this.Wz.set("visible",!this.al||this.iG());this.Uz.set("visible",!this.al||this.gG());this.Vz.set("visible",!this.al||this.hG())};a.prototype.set=function(a,b){if(a=="itemMode")switch(b){case "thumbnail-only":this.set("itemLabelFunction",
this.jo);this.set("itemThumbnailUrlFunction",this.UA);this.set("itemTooltipFunction",this.xt);this.set("itemSourceProperties",["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"]);break;case "label-only":this.set("itemLabelFunction",this.xt);this.set("itemThumbnailUrlFunction",this.jo);this.set("itemTooltipFunction",this.jo);this.set("itemSourceProperties",["label","media.label"]);break;default:this.set("itemLabelFunction",this.xt);this.set("itemThumbnailUrlFunction",this.UA);
this.set("itemTooltipFunction",this.jo);this.set("itemSourceProperties",["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"])}else if(a=="playList"){this.Ob&&this.Ob.unbind("change",this.yo,this);if(this.Ob=b){this.set("items",this.Ob.get("items"));this.Ob.bind("change",this.yo,this)}else this.set("items",[])}else if(a=="hideScrollButtons"){this.al=b;this.ru()}else c.prototype.set.call(this,a,b)};a.prototype.get=function(a,b){switch(a){case "playList":return this.Ob;default:return c.prototype.get.call(this,
a,b)}};a.prototype.yo=function(){this.set("items",this.Ob.get("items"));this.set("selectedIndex",this.Ob.get("selectedIndex"))};a.prototype.Yma=function(){this.Ob&&this.Ob.set("selectedIndex",this.get("selectedIndex"))};a.prototype.jo=D();a.prototype.xt=function(a){return a.get("label")||a.get("media").get("label")};a.prototype.UA=function(a){var a=a.get("media"),b=a.get("thumbnailUrl");a.get("flipImageHorizontally")&&(b=g.K$(b));return b};return a});
define("bE",["fb","kV","d","dR"],function(a,b,c,e){a=a.extend(c,function(){c.call(this)});e.A("UIComponent",a).B("Object").M({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",
interactionEnabled:"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]"}).zp(["toolTipFontSize"]).vh(["backgroundImageUrl"]).Rb([b.wd,b.INIT,b.T,b.yh,b.Le,b.vb,b.pc,b.Mb,b.ld,b.M_,b.XN]);return a});define("er",["require","fb","iP","kV","dR"],function(a){var b=a("fb"),c=a("iP"),e=a("kV"),a=a("dR"),b=b.extend(c,function(){c.call(this)});a.A("VideoCue",b).B("Object").M({startTime:"number",endTime:"number"}).Rb([e.Dk,e.Da]);return b});
define("v","require,fb,kV,dR,jJ,iZ,dr,er".split(","),function(a){var b=a("fb"),c=a("kV"),e=a("dR"),d=a("jJ"),f=a("iZ"),g=a("dr");a("er");a=b.extend(g,function(){g.call(this);this.X=m;this.set("autoplay",p);this.set("blending",0);this.set("mute",z);this.set("scaleMode",f.Ke);this.set("horizontalAlign",d.Gc);this.set("verticalAlign",d.nc)});e.A("Video",a).B("Media").M({autoplay:"bool",blending:"number",chromaColor:"color",chromaThreshold:"number",chromaSmoothing:"number",cues:"array[VideoCue]",currentTime:"number",
duration:"number",state:"enum[playing, paused, stopped]",height:"number",horizontalAlign:"enum[center, left, right]",mute:"bool",loop:"bool",scaleMode:"enum[none, fit_inside, fit_outside, fit_to_width, fit_to_height]",verticalAlign:"enum[bottom, middle, top]",video:"VideoResource",width:"number"}).Rb([c.Da,c.xf]);a.prototype.ip=function(){this.get("video");return[]};return a});
define("fo",["require","fb","kV","dR","gx"],function(a){var b=a("fb"),c=a("kV"),e=a("dR"),d=a("gx"),a=b.extend(d,function(){d.call(this)});e.A("VideoPanorama",a).B("Panorama").M({cues:"array[VideoCue]",loop:"bool"}).Rb([c.Da,c.xf]);return a});
define("he",["require","fb","iP","dR"],function(a){var b=a("fb"),c=a("iP"),a=a("dR"),b=b.extend(c,function(){c.call(this);this.set("gain",1);this.set("hasAudio",p)});a.A("Video360Resource",b).B("Video360ResourceLevel").M({gain:"number",hasAudio:"bool",levels:"array[Video360ResourceLevel]",subtitlesURL:"string"}).vh(["subtitlesURL"]);b.prototype.get=function(a,b){switch(a){case "levels":b=[this];break;case "subtitlesURL":for(var f=c.prototype.get.call(this,a),g=this.get("levels"),k=0;g&&k<g.length&&
f===m;k++){var j=g[k];j!=this&&(f=j.get("subtitlesURL"))}return f!==m?f:b}return c.prototype.get.call(this,a,b)};return b});
define("cN","require,fb,dl,dR,jl,fo,he".split(","),function(a){var b=a("fb"),c=a("dl"),e=a("dR"),d=a("jl"),f=a("fo"),g=a("he"),a=b.extend(f,function(){f.call(this);this.Yj=this.ay=this.Ea=m});e.A("Video360",a).B("VideoPanorama").M({video:"or[Video360Resource, array[Video360Resource]]",videoStereo:"or[Video360Resource, array[Video360Resource]]"});a.prototype.set=function(a,b){a=="video"?this.ega(b):a=="videoStereo"?this.fga(b):f.prototype.set.call(this,a,b)};a.prototype.get=function(a,b){return a==
"video"?this.Ea!==m?this.Ea:b:a=="videoStereo"?this.ay!==m?this.ay:b:f.prototype.get.call(this,a,b)};a.prototype.ega=function(a){if(this.Ea!=a){this.Ea=a;a=f.prototype.get.call(this,"frames")||[];if(this.Ea){a.length==0&&a.push(new d);a[0].set("sphere",this.l5(this.Ea))}f.prototype.set.call(this,"frames",a.slice())}};a.prototype.fga=function(a){if(this.ay!=a){this.ay=a;a=f.prototype.get.call(this,"frames")||[];if(this.ay){a.length==0&&a.push(new d);a[0].set("stereoSphere",this.l5(this.ay))}f.prototype.set.call(this,
"frames",a.slice())}};a.prototype.l5=function(a){if(c.isArray(a)){var b=[];c(a).each(function(a){b=b.concat(a.get("levels")||[a])});a=new g;a.set("levels",b)}return a};return a});define("bx",["require","fb","dR","kJ"],function(a){var b=a("fb"),c=a("dR"),e=a("kJ"),a=b.extend(e,function(){e.call(this)});c.A("Video360Player",a).B("PanoramaPlayer");return a});
define("hx",["fb","dR","ct","di"],function(a,b,c,e){a=a.extend(e,function(){e.call(this)});b.A("Video360PlayListItem",a).B("PlayListItem").M({media:"Video360",camera:"RotationalCamera",player:"PanoramaPlayer",startTime:"number"});a.prototype.start=function(){e.prototype.start.call(this);var a=this.get("player");a&&(a.bind(c.yf,this.Vi,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.yf,this.Vi,this),a.get("video")==this.get("media")&&a.set("video",r));e.prototype.stop.call(this)};a.prototype.Vi=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(c.yf,this.Vi,this),this.get("player").bind(c.xh,this.nl,this),this.dy())};a.prototype.nl=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(c.xh,this.nl,this),this.end())};return a});
define("kO",["require","fb","iP","dR"],function(a){var b=a("fb"),c=a("iP"),a=a("dR"),b=b.extend(c,function(){c.call(this)});a.A("Video360ResourceLevel",b).B("VideoResourceLevel");return b});
define("bL","require,fb,iP,kV,fp,bY,dR,hL".split(","),function(a){var b=a("fb"),c=a("iP"),e=a("kV"),d=a("fp"),f=a("bY"),g=a("dR"),k=a("hL"),a=b.extend(c,function(){c.call(this);this.Ib=m;this.set("enabled",p);this.set("interactionEnabled",p);this.set("state",d.K);this.set("enabledInCardboard",p);this.set("enabledInStandard",p);this.set("blending",0);this.set("opacity",1);this.set("fadeInDuration",200);this.set("fadeOutDuration",200)});a.prototype.play=function(){this.set("state",d.S)};a.prototype.pause=
function(){this.set("state",d.uc)};a.prototype.stop=function(){this.set("state",d.K)};g.A("VideoPanoramaOverlay",a).B("PanoramaOverlay").M({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",opacity:"number",pitch:"number",rotationX:"number",rotationY:"number",roll:"number",state:"enum[stopped, playing, paused]",toolTip:"string",useHandCursor:"bool",video:"VideoResource",yaw:"number",playbackPositions:"array[PanoramaOverlayPlaybackPosition]"}).Rb([e.Da,e.wd,e.yh,e.Le,e.pc,e.Mb,e.ld,e.Ai,e.xf,e.vc]).Xf([e.T]).Qg({pause:a.prototype.pause,play:a.prototype.play,
stop:a.prototype.stop});a.prototype.set=function(a,b){var g=z;switch(a){case "state":var k=this.get("state")||d.K;k==d.K&&b==d.S&&this.trigger(e.Ai);k!=b&&this.trigger(new f(e.vc,{oldState:k,state:b}));break;case "enabledInCardboard":this.set("enabledInVR",b);break;case "distance":case "hfov":case "opacity":case "pitch":case "rotationX":case "rotationY":case "roll":case "vfov":case "yaw":case "playbackPositions":this.Ib=m;g=p}c.prototype.set.call(this,a,b);g&&a!="playbackPositions"&&this.trigger(e.G("playbackPositions"))};
a.prototype.get=function(a,b){switch(a){case "playbackPositions":if(this.Ib===m)this.Ib=k.rX(this);return this.Ib}return c.prototype.get.call(this,a,b)};return a});
define("cF","require,dl,fb,kV,bY,eJ,fp".split(","),function(a){function b(a,b,c){this.time=a;this.cue=b;this.action=c}var c=a("dl"),e=a("fb"),d=a("kV"),f=a("bY"),g=a("eJ"),k=a("fp"),a=e.extend(g,function(a){g.call(this);this.g=a;this.wb=r;this.hg=z;this.bg=[];this.Hi=m;this.Ic=[]});a.prototype.clear=function(){this.g=r;this.Ws();this.bg=[];this.Ic=[]};a.prototype.start=function(a){this.end();this.xU(a);this.CP();this.XU();this.wu()};a.prototype.xU=function(a){this.Ws();this.wb=a;this.wb.bind(d.G("currentTime"),
this.wu,this,p);this.wb.bind(d.G("state"),this.XU,this,p);this.wb.bind(d.Da,this.wD,this,p)};a.prototype.Ws=function(){if(this.wb){this.wb.unbind(d.G("currentTime"),this.wu,this);this.wb.unbind(d.G("state"),this.XU,this);this.wb.unbind(d.Da,this.wD,this);this.wb=r}};a.prototype.end=function(){this.Yz();this.Ws();this.hg=z};a.prototype.XU=function(a){a=a!=k.K;if(this.hg!=a)(this.hg=a)?this.XJ():this.Yz()};a.prototype.wD=function(){this.wu()};a.prototype.XJ=function(){this.Hi=this.nw=0};a.prototype.wu=
function(){if(this.wb&&this.hg){var a=this.Ic.slice(),b=this.wb.get("currentTime",0),e=b-this.nw;if(e<0){this.Ic=[];this.Hi=0}e=e>=0&&e<2;this.nw=b;var g;for(g=this.Hi;g<this.bg.length;g++)if(this.bg[g].time>b)break;for(;this.Hi<g;this.Hi++){b=this.bg[this.Hi];if(b.action=="start"){this.Ic=c(this.Ic).union([b.cue]);e&&b.cue.trigger(new f(d.Dk))}else{this.Ic=c(this.Ic).difference([b.cue]);e&&b.cue.trigger(new f(d.Da))}}(a.length!=this.Ic.length||c(a).intersection(this.Ic).length!=this.Ic.length)&&
this.ZC()}};a.prototype.Yz=function(){if(this.Ic.length>0){this.Ic=[];this.ZC()}};a.prototype.ZC=function(){this.wb.trigger(new f(d.xf,{activeCues:this.Ic.slice()}))};a.prototype.CP=function(){this.bg=[];var a=this.wb.get("cues",[]);c(a).each(function(a){this.bg.push(new b(a.get("startTime",0),a,"start"));this.bg.push(new b(a.get("endTime",Number.POSITIVE_INFINITY),a,"end"))},this);this.bg.sort(function(a,b){return a.time==b.time?a.action==b.start?0:a.action=="start"?-1:1:a.time-b.time})};return a});
define("km","require,fb,V,bY,eJ,kV,iZ".split(","),function(a){var b=a("fb"),c=a("V"),e=a("bY"),d=a("eJ");a("kV");a("iZ");var f=b.extend(d,function(a,b){d.call(this);this.D=a;this.g=b;this.Tt=[];this.Y=f.Ej;this.Df=r;this.fQ=m;this.dg=r;this.di=this.kh=m});f.prototype.display=function(a,b){this.lP();if(this.dg!=a||this.Y!=f.Ej){this.Tt.push({video:a,startTime:b});this.n6()}};f.prototype.hide=function(){this.lP();this.Tt.push({video:r,startTime:m});this.n6()};f.prototype.clear=function(){this.Y=f.Ej;
this.lP();this.Zna();this.F7();this.g=r};f.prototype.Ak=function(a){if(this.Y!=f.Ej&&(this.Y==f.Qp||this.Y==f.Cz||this.Y==f.lO)){this.di=this.di+a;a=Math.min(1,this.di/this.kh);if(this.Y==f.Qp)this.Df.set("opacity",a);else if(this.Y==f.lO){this.Df.set("opacity",Math.min(1,a*2));this.dg.set("opacity",Math.min(1,(1-a)*2))}else this.dg.set("opacity",1-a);this.di<this.kh?this.fa():this.ww()}};f.prototype.n6=function(){this.Tt.length>0&&this.Y==f.Ej&&this.Vp()};f.prototype.Vp=function(){this.dg&&this.trigger(new e(f.us,
{video:this.dg}));if(this.D.get("transitionMode","blending")=="fade_out_fade_in"&&this.dg)this.Nz();else{var a=this.Tt.shift();this.Df=a.video;this.fQ=a.startTime;this.Df?this.Df.get("chromaColor")&&this.dg?this.iga():this.QO():this.dg&&this.Nz()}};f.prototype.QO=function(){this.M0();this.di=0;this.kh=this.D.get("transitionDuration");this.Y=f.Qp;this.fa()};f.prototype.iga=function(){this.M0();this.di=0;this.kh=this.D.get("transitionDuration")*2;this.Y=f.lO;this.fa()};f.prototype.Nz=function(){this.Df=
r;this.di=0;this.kh=this.D.get("transitionDuration");this.Y=f.Cz;this.fa()};f.prototype.ww=function(){this.F7();this.dg=this.Df;this.Df=r;this.Y=f.Ej;this.dg?this.trigger(new e(f.vs,{video:this.dg})):this.Tt.length==0&&this.trigger(new e(f.wZ));this.Tt.length!=0&&this.Vp()};f.prototype.fa=function(){c.La(this.Ak,this)};f.prototype.lP=function(){this.Tt=[]};f.prototype.M0=function(){if(this.Df){this.Df.set("opacity",0);this.Df.set("zIndex",1);this.dg&&this.dg.set("zIndex",0);this.Df.set("currentTime",
this.fQ||0);this.g.wsa(this.Df);this.trigger(new e(f.xN,{video:this.Df,startTime:this.fQ}))}};f.prototype.F7=function(){if(this.dg){this.g.pca(this.dg);this.trigger(new e(f.kF,{video:this.dg}));this.dg=r}};f.prototype.Zna=function(){if(this.Df){this.g.pca(this.Df);this.trigger(new e(f.kF,{video:this.Df}));this.Df=r}};f.Ej="stopped";f.Qp="blending";f.lO="double blending";f.Cz="disolving";f.Ia="request frame";f.xN="video added";f.kF="video removed";f.vs="video show";f.us="video hide";f.wZ="all pending videos hidden";
return f});
define("gT","require,fb,kV,bY,eJ,fp".split(","),function(a){var b=a("fb"),c=a("kV"),e=a("bY"),d=a("eJ"),f=a("fp"),g=b.extend(d,function(){d.call(this);this.wb=r;this.ae=z;this.SP=f.K});g.prototype.start=function(a){this.end();this.xU(a)};g.prototype.end=function(){this.stop();this.Ws()};g.prototype.clear=function(){this.Ws()};g.prototype.play=function(){this.wb&&this.wb.set("state",f.S)};g.prototype.pause=function(){this.wb&&this.wb.set("state",f.uc)};g.prototype.stop=function(){this.wb&&this.wb.set("state",
f.K)};g.prototype.Fd=function(a){this.ae=a;this.wb&&this.wb.set("muted",this.ae)};g.prototype.setTime=function(a){this.wb&&this.wb.set("currentTime",a)};g.prototype.getTime=function(){if(this.wb)return this.wb.get("currentTime")};g.prototype.xU=function(a){this.Ws();this.wb=a;this.wb.set("mute",this.ae);this.wb.bind(c.G("state"),this.Mx,this,p);this.wb.bind(c.G("currentTime"),this.xu,this,p);this.wb.bind(c.Da,this.wD,this,p)};g.prototype.Ws=function(){if(this.wb){this.wb.unbind(c.G("state"),this.Mx,
this);this.wb.unbind(c.G("currentTime"),this.xu,this);this.wb.unbind(c.Da,this.wD,this);this.wb=r}};g.prototype.xu=function(){this.trigger(new e(g.ws,{video:this.wb,time:this.wb.get("currentTime"),duration:this.wb.get("duration")}))};g.prototype.wD=function(){this.trigger(new e(g.oz,{video:this.wb}))};g.prototype.Mx=function(a){a=this.wb.get("state");if(this.SP!=a){this.SP=a;this.trigger(new e(g.Wb,{state:this.SP}))}};g.Wb="playback state change";g.oz="video end";g.ws="video time change";return g});
define("kw","fb,fp,bY,eJ,cF,km,gT".split(","),function(a,b,c,e,d,f,g){var k=a.extend(e,function(a,b){e.call(this);this.D=a;this.g=b;this.g.set("visible",z);this.Ca=new f(this.D,this.g);this.ra=new g(this.g);this.Yk=new d(this.g);this.Ca.bind(f.us,this.nl,this,p);this.Ca.bind(f.vs,this.Vi,this,p);this.Ca.bind(f.xN,this.F6,this,p);this.Ca.bind(f.kF,this.G6,this,p);this.Ca.bind(f.wZ,this.Yla,this,p);this.ra.bind(g.Wb,this.ne,this,p);this.ra.bind(g.oz,this.ar,this,p);this.ra.bind(g.ws,this.PB,this,p)});
k.prototype.clear=function(){this.Ca.clear();this.ra.clear();this.Yk.clear();this.Ca.unbind(f.us,this.nl,this);this.Ca.unbind(f.vs,this.Vi,this);this.Ca.unbind(f.xN,this.F6,this);this.Ca.unbind(f.kF,this.G6,this);this.ra.unbind(g.Wb,this.ne,this);this.ra.unbind(g.oz,this.ar,this);this.ra.unbind(g.ws,this.PB,this);this.D=this.g=this.Yk=this.ra=this.Ca=r};k.prototype.Fxa=function(a,b){this.g.set("visible",p);this.Ca.display(a,b)};k.prototype.iv=function(){this.Ca.hide();this.ra.end();this.Yk.end()};
k.prototype.play=function(){this.ra.play()};k.prototype.stop=function(){this.ra.stop()};k.prototype.pause=function(){this.ra.pause()};k.prototype.Fd=function(a){this.ra.Fd(a)};k.prototype.setTime=function(a){this.ra.setTime(a)};k.prototype.getTime=function(){return this.ra.getTime()};k.prototype.F6=function(a){var b=a.data.video;this.ra.start(b,a.data.startTime);this.Yk.start(b)};k.prototype.G6=D();k.prototype.Vi=function(a){a=a.data.video;a.get("autoplay")&&a.get("state")!=b.S&&a.set("state",b.S);
this.trigger(new c(k.vs,{video:a}))};k.prototype.nl=function(a){this.trigger(new c(k.us,{video:a.data.video}))};k.prototype.Yla=function(){this.g.set("visible",z)};k.prototype.ar=function(a){this.trigger(new c(k.oz,{video:a.data.video}))};k.prototype.PB=function(a){this.trigger(new c(k.ws,{video:a.data.video,time:a.data.time,duration:a.data.duration}))};k.prototype.ne=function(a){this.trigger(new c(k.Wb,{state:a.data.state}))};k.vs="videoShow";k.us="videoHide";k.oz="videoEnd";k.ws="videoTimeChange";
k.Wb="playbackStateChange";return k});
define("ir","require,fb,kV,bY,dR,ct,dh,fp,kw,jd".split(","),function(a){var b=a("fb"),c=a("kV");a("bY");var e=a("dR"),d=a("ct"),f=a("dh"),g=a("fp"),k=a("kw"),j=a("jd"),a=b.extend(f,function(){f.call(this,"video");this.set("clickAction","none");this.set("displayPlayOverlay",z);this.ft=this.VU=this.xu=this.lh=z;this.q=this.g=r;this.Hb=this.Vc=0;this.od=b.op(this.sf,this)});e.A("VideoPlayer",a).B("Object").M({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"}).Qg({seek:function(a){this.sC(a)},play:function(){this.ex()},pause:function(){this.dx()},
stop:function(){this.Qt()},restart:function(){this.Pt()}}).Rb([d.yf,d.xh,c.vc]);a.prototype.set=function(a,b){if(this.get(a)!=b){switch(a){case "startTime":this.VU=p;this.od();break;case "video":this.xu=p;this.od();break;case "viewerArea":this.lh=p;this.od();break;case "displayPlaybackBar":this.ft=p;this.od()}f.prototype.set.call(this,a,b)}};a.prototype.get=function(a,b){switch(a){case "currentTime":return this.q&&this.q.getTime()||0}return f.prototype.get.call(this,a,b)};a.prototype.sf=function(){if(this.lh){this.lh=
z;this.et();this.get("viewerArea")&&this.ct();this.MJ(this.get("viewerArea"));this.xu=p}var a=z;if(this.g&&(this.xu||this.VU)){var b=this.get("video"),c=this.get("startTime")||0;if(b&&!this.g.Sa()){this.od();return}this.VU=this.xu=z;this.Hb=this.Vc=0;a=p;if(b){this.nJ();this.q.Fxa(b,c)}else this.q.iv()}if(this.ft){this.ft=z;a=p}a&&this.mD()};a.prototype.MC=function(){this.set("video",r)};a.prototype.ct=function(){var a=this.get("application"),b=this.get("viewerArea");this.g=new j(a,b,this);this.g.N({left:0,
top:0,bottom:0,right:0});b.la(this.g);b.bind(c.T,this.J6,this,p);this.q=new k(b,this.g);this.q.bind(k.vs,this.Vi,this);this.q.bind(k.us,this.nl,this);this.q.bind(k.ws,this.PB,this,p);this.q.bind(k.Wb,this.ne,this);a.bind(c.G("mute"),this.AB,this);this.q.Fd(a.get("mute",z));this.Fx(p)};a.prototype.et=function(){if(this.g){this.q.unbind(k.vs,this.Vi,this);this.q.unbind(k.us,this.nl,this);this.q.unbind(k.ws,this.PB,this);this.q.unbind(k.Wb,this.ne,this);this.q.clear();this.get("application").unbind(c.G("mute"),
this.AB,this);var a=this.g.getParent();a.removeChild(this.g);a.unbind(c.T,this.J6,this,p);this.g=r;this.Fx(z)}};a.prototype.AB=function(){this.g&&this.q.Fd(this.get("application").get("mute",z))};a.prototype.ne=function(a){a=a.data.state;this.g&&this.g.GY(this.get("displayPlayOverlay")&&a!=g.S,this.Vc<0.5);this.$b(a)};a.prototype.Vi=function(a){var b=this.get("viewerArea");(this.wc=b&&b.wc)&&this.wc.bind(c.T,this.K6,this,p);this.tT=z;this.XH(a.data.video)};a.prototype.nl=function(a){this.wc&&this.wc.unbind(c.T,
this.K6,this,p);this.wc=r;this.WH(a.data.video)};a.prototype.PB=function(a){this.Vc=a.data.time;this.Hb=a.data.duration;this.mD()};a.prototype.J6=function(){if(this.tT)this.tT=z;else switch(this.get("clickAction")){case "play_pause":this.get("state")!=g.S?this.q.play():this.q.pause()}};a.prototype.K6=function(){this.tT=p};a.prototype.ZI=function(a){this.sC(a.data.position)};a.prototype.fh=function(){this.q.play()};a.prototype.jk=function(){this.q.stop()};a.prototype.pl=function(){this.q.pause()};
a.prototype.sC=function(a){this.q&&this.q.setTime(a)};a.prototype.mD=function(){if(this.g){var a=this.g.getParent();this.Hb>0&&this.get("displayPlaybackBar")?a.N({playbackBarPosition:this.Vc,playbackBarDuration:this.Hb,playbackBarVisible:p}):a.set("playbackBarVisible",z)}};return a});
define("e",["fb","dR","ct","di"],function(a,b,c,e){a=a.extend(e,function(){e.call(this)});b.A("VideoPlayListItem",a).B("PlayListItem").M({media:"Video",player:"VideoPlayer",startTime:"number"});a.prototype.start=function(){e.prototype.start.call(this);var a=this.get("player");a&&(a.bind(c.yf,this.Vi,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.yf,this.Vi,this),a.get("video")==this.get("media")&&
a.set("video",r));e.prototype.stop.call(this)};a.prototype.Vi=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(c.yf,this.Vi,this),this.get("player").bind(c.xh,this.nl,this),this.dy())};a.prototype.nl=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(c.xh,this.nl,this),this.end())};return a});
define("fH",["require","fb","iP","dR"],function(a){var b=a("fb"),c=a("iP"),a=a("dR"),b=b.extend(c,function(){c.call(this)});a.A("VideoResourceLevel",b).B("Object").M({bitrate:"number",framerate:"number",height:"number",posterURL:"string",type:"string",url:"string",width:"number"}).vh(["posterURL","url"]);return b});
define("dw","require,fb,iP,dR,iJ,fH".split(","),function(a){var b=a("fb"),c=a("iP"),e=a("dR"),d=a("iJ"),f=a("fH"),a=b.extend(c,function(){c.call(this);this.HS=new f;this.HS.set("type","video/mp4");this.KS=new f;this.KS.set("type","video/ogg");this.pW=new f;this.pW.set("type","video/webm");this.set("gain",1);this.set("hasAudio",p)});e.A("VideoResource",a).B("Object").M({gain:"number",hasAudio:"bool",height:"number",levels:"array[VideoResourceLevel]",mp4Url:"string",oggUrl:"string",subtitlesURL:"string",
webmUrl:"string",width:"number"}).vh(["mp4Url","oggUrl","subtitlesURL","webmUrl"]);a.prototype.get=function(a,b){switch(a){case "levels":var b=[],d=this.get("mp4Url");if(d){this.HS.set("url",d);b.push(this.HS)}if(d=this.get("oggUrl")){this.KS.set("url",d);b.push(this.KS)}if(d=this.get("webmUrl")){this.pW.set("url",d);b.push(this.pW)}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.uk=function(){var a=
this.get("webmUrl"),b=this.get("oggUrl"),c=this.get("mp4Url");return c&&d.dE?c:a&&d.DL?a:b&&d.yX?b:c||a||b};return a});
define("cX","require,jquery.mod,fb,kV,r,jf,d,eZ".split(","),function(a){var b=a("jquery.mod"),c=a("fb"),e=a("kV"),d=a("r"),f=a("jf"),g=a("d"),k=a("eZ"),a=c.extend(g,function(){g.call(this);this.Tc("WebFrame");this.aB=this.jt=this.kb=this.mc=r;this.RS=this.RS.bind(this);this.pI=this.pI.bind(this);this.bind(e.ld,this.ena,this,p);this.bind(e.wd,this.dna,this,p)});a.prototype.xa=function(){g.prototype.xa.call(this);this.f("url");this.f("backgroundColor","#ffffff");this.f("insetBorder",z);this.f("scrollEnabled",
p)};a.prototype.ena=function(){this.hu("url")};a.prototype.dna=function(){this.hu("url")};a.prototype.Ha=function(){g.prototype.Ha.call(this);if(!this.mc){this.mc=b("<div></div>");this.mc.css({position:"absolute",left:0,top:0,width:"100%",height:"100%"});this.Pa().append(this.mc)}if(!this.kb){this.kb=b("<iframe></iframe>");this.kb.css({position:"absolute",left:0,top:0});this.kb.attr("allowfullscreen","true");this.kb.attr("allow","fullscreen; accelerometer; gyroscope; magnetometer; vr; autoplay; camera; microphone");
this.mc.append(this.kb)}if(!this.jt){this.jt=b("<div></div>");this.jt.css({"text-shadow":"0 0 5px rgba(255,255,255,0.5)",display:"none",color:"#000000","font-weight":"300","font-family":"Tahoma, Geneva, sans-serif","font-size":d.Va()?"5vmin":"20px",position:"absolute",top:"50%",left:"50%","text-align":"center",transform:"translate(-50%, -50%)",width:"90%"});this.mc.append(this.jt)}};a.prototype.ga=function(){if(this.n("url")){var a=this.j("url");a&&this.Iq?this.r8(a):this.r8("");this.p("url")}if(this.n("insetBorder")){this.j("insetBorder")?
this.kb.attr("frameborder","1"):this.kb.attr("frameborder","0");this.p("insetBorder")}if(this.n("scrollEnabled")){if(this.j("scrollEnabled")){this.kb.attr("scrolling","auto");this.mc.css({overflow:"auto","-webkit-overflow-scrolling":"touch"})}else{this.kb.attr("scrolling","no");this.mc.css({overflow:"hidden","-webkit-overflow-scrolling":"auto"})}this.p("scrollEnabled")}g.prototype.ga.call(this)};a.prototype.Je=function(){this.kb&&k.css(this.kb.get(0),{width:this.W+"px",height:this.ea+"px"});g.prototype.Je.call(this)};
a.prototype.refresh=function(){if(this.j("url")&&this.Iq){this.BR();this.cq();this.wV();this.kb.attr("src","");setTimeout(function(){this.U8();this.k1();this.kb.attr("src",this.j("url"))}.bind(this),30)}};a.prototype.r8=function(a){if(this.kb.attr("src")!=a){this.BR();if(a){this.U8();this.k1()}else{this.cq();this.wV()}this.kb.attr("src",a)}};a.prototype.RS=function(){this.aB=r;this.qla()&&this.Spa()};a.prototype.pI=function(){this.BR();this.cq();this.wV()};a.prototype.k1=function(){this.kb.on("load",
this.pI)};a.prototype.wV=function(){this.kb.off("load",this.pI)};a.prototype.cq=function(){if(this.aB){clearTimeout(this.aB);this.aB=r}};a.prototype.U8=function(){this.cq();this.aB=setTimeout(this.RS.bind(this),3E3)};a.prototype.qla=function(){if(window.location.protocol=="https:"){var a=this.kb.attr("src");if(f.parse(a).protocol!="https:")return p}return z};a.prototype.Spa=function(){this.jt.text("A secure web page served over HTTPS can not display insecure content served over HTTP.");this.jt.show()};
a.prototype.BR=function(){this.jt.hide()};return a});define("bO",["fb","cX","dR"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("WebFrame",a).B("UIComponent").M({url:"string",insetBorder:"bool",scrollEnabled:"bool"}).vh(["url"]).Qg({refresh:function(){b.prototype.refresh.call(this)}});return a});define("eU",["dl","fb","kC","c"],function(a,b,c,e){var d=b.extend(c,function(){c.call(this)});d.ib={layout:e.ue};a.defaults(d.ib,c.ib);d.prototype.xa=function(){this.Lj(d.ib)};return d});
define("jp","dl,fb,kV,bY,jJ,c,kC,eU,fB,eA,d,kd,kq,gJ".split(","),function(a,b,c,e,d,f,g,k,j,n,i,l,q,o){var t=b.extend(j,function(){j.call(this);this.Tc("Window");this.Xp=this.hw=this.WC=this.Ih=r;this.VO=new g;this.Ew=r;this.xR=this.wR=0;this.J8=this.K8=z;this.qW=this.rW=m;for(var a in t.Xya)this.hu(a);this.bind(c.vb,this.hsa,this);this.bind(c.xs,this.fsa,this);this.bind(c.Kv,this.isa,this);this.bind(c.T,this.esa,this);this.zK=0;this.sd=new g;this.sd.N({visible:z,includeInLayout:z,layout:"absolute",
height:"100%",width:"100%",backgroundOpacity:0,contentOpaque:z});this.sd.bind(c.vb,this.u$,this);this.sd.bind(c.Kv,this.asa,this);this.sd.bind(c.xs,this.t$,this);this.sd.bind(c.xs,this.t$,this);this.sd.bind(c.T,this.$ra,this);this.sd.la(this)});t.prototype.set=function(a,b){switch(a){case "maxWidth":this.rW=b;this.qK();break;case "maxHeight":this.qW=b;this.qK();break;case "children":this.VO.set(a,b);break;case "shadow":this.K8=b;this.q$();break;default:j.prototype.set.call(this,a,b)}};t.prototype.show=
function(b,c){this.qK(b);this.set("visible",z);this.sd.set("visible",z);this.dga();c&&this.Jsa();var d=b.get("children");b.set("children",d.concat([this.sd]));var e=this;a.defer(function(){e.sd.set("visible",p)})};t.prototype.dga=function(){var a=this.j("modal"),b=this.j("veilShowEffect"),c=this.j("veilHideEffect");a&&b?this.sd.set("showEffect",b):this.sd.set("showEffect",r);a&&c?this.sd.set("hideEffect",c):this.sd.set("hideEffect",r)};t.prototype.hide=function(){this.get("visible")&&this.trigger(c.hZ);
this.zK=0;this.LJ(z);this.set("visible",z)};t.prototype.Jsa=function(){this.set("centerX",0);this.set("centerY",0)};t.prototype.get=function(a,b){return a=="children"?this.VO.get(a,b):j.prototype.get.call(this,a,b)};t.l0={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"};t.k0=a(t.l0).keys();t.gO={borderRadius:"borderTopRadius",
borderTopRadius:"borderTopRadius",borderLeftRadius:"borderTopLeftRadius",borderRightRadius:"borderTopRightRadius",borderTopLeftRadius:"borderTopLeftRadius",borderTopRightRadius:"borderTopRightRadius"};t.fO=["borderLeftRadius","borderRightRadius","borderTopLeftRadius","borderTopRightRadius","borderTopRadius","borderRadius"];t.D0={title:"text",titleFontFamily:"fontFamily",titleFontSize:"fontSize",titleFontColor:"fontColor",titleFontWeight:"fontWeight",titleFontStyle:"fontStyle",titleHorizontalAlign:"horizontalAlign",
titlePaddingLeft:"paddingLeft",titlePaddingTop:"paddingTop",titlePaddingRight:"paddingRight",titlePaddingBottom:"paddingBottom",titleTextDecoration:"textDecoration",titleTextShadowColor:"textShadowColor",titleTextShadowHorizontalLength:"textShadowHorizontalLength",titleTextShadowVerticalLength:"textShadowVerticalLength",titleTextShadowBlurRadius:"textShadowBlurRadius",titleTextShadowOpacity:"textShadowOpacity"};t.C0=a(t.D0).keys();t.f0={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"};t.e0=a(t.f0).keys();t.h0={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"};t.g0=a(t.h0).keys();t.j0={borderRadius:"borderBottomRadius",borderBottomRadius:"borderBottomRadius",borderLeftRadius:"borderBottomLeftRadius",borderRightRadius:"borderBottomRightRadius",borderBottomLeftRadius:"borderBottomLeftRadius",borderBottomRightRadius:"borderBottomRightRadius"};
t.i0=["borderLeftRadius","borderRightRadius","borderBottomLeftRadius","borderBottomRightRadius","borderBottomRadius","borderRadius"];t.b0={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"};t.a0=a(t.b0).keys();t.c0={layout:"layout",horizontalAlign:"horizontalAlign",verticalAlign:"verticalAlign"};t.Vea=a(t.c0).keys();t.F0={veilOpacity:"backgroundOpacity",veilColor:"backgroundColor",veilColorRatios:"backgroundColorRatios",veilColorDirection:"backgroundColorDirection"};t.E0=a(t.F0).keys();t.ib=function(){var b={modal:z,visible:z,centerX:0,centerY:0,veilShowEffect:m,veilHideEffect:m};a.defaults(b,g.ib);for(var c=[].concat(t.k0,t.C0,t.e0,t.a0,
t.g0,t.E0),d=0;d<c.length;d++)b[c[d]]=m;return b}();t.prototype.xa=function(){this.Lj(t.ib)};t.prototype.Ha=function(){j.prototype.Ha.call(this);if(this.Ih==r){this.Ih=new k;this.Ih.set("width","100%");this.Ih.bind(c.ub,this.Jka,this);this.la(this.Ih)}if(this.WC==r){this.WC=new o;this.WC.set("width","100%");this.Ih.la(this.WC)}if(this.hw==r){this.hw=new n;this.hw.N({horizontalAlign:d.Gc,verticalAlign:d.nc});this.hw.bind(c.T,this.pha,this);this.Ih.la(this.hw)}if(this.Xp==r){this.Xp=this.VO;this.Xp.N({width:"100%",
height:"100%"});this.la(this.Xp)}if(this.Ew==r){this.Ew=new g;this.Ew.set("width","100%");this.la(this.Ew)}};t.prototype.$ra=function(){this.zK++;setTimeout(function(){this.zK>0&&this.hide()}.bind(this),100)};t.prototype.esa=function(){this.zK--};t.prototype.pha=function(){this.hide()};t.prototype.Jka=function(a){this.wR=a.pageX;this.xR=a.pageY;this.Sa().bind(c.Hc,this.G$,this,p);this.Sa().bind(c.Xb,this.H$,this,p)};t.prototype.G$=function(a){this.set("centerX",this.get("centerX")+(a.pageX-this.wR));
this.set("centerY",this.get("centerY")+(a.pageY-this.xR));this.wR=a.pageX;this.xR=a.pageY;this.p$()};t.prototype.H$=function(){this.Sa().unbind(c.Hc,this.G$,this);this.Sa().unbind(c.Xb,this.H$,this)};t.prototype.u$=function(){this.qK()};t.prototype.asa=function(){this.set("visible",p)};t.prototype.t$=function(){this.sd.unbind(c.vb,this.u$,this);var a=this.sd.getParent();a&&a.removeChild(this.sd);this.trigger(new e(c.gs))};t.prototype.hsa=function(){this.p$()};t.prototype.isa=function(){this.LJ(p)};
t.prototype.fsa=function(){this.sd.set("visible",z)};t.prototype.LJ=function(a){this.J8=a;this.q$()};t.prototype.q$=function(){j.prototype.set.call(this,"shadow",this.J8&&this.K8)};t.prototype.qK=function(a){a||(a=this.P);this.rW!==m?j.prototype.set.call(this,"maxWidth",this.rW):a?j.prototype.set.call(this,"maxWidth",a.Ba()):j.prototype.set.call(this,"maxWidth",m);this.qW!==m?j.prototype.set.call(this,"maxHeight",this.qW):a?j.prototype.set.call(this,"maxHeight",a.eb()):j.prototype.set.call(this,"maxHeight",
m)};t.prototype.p$=function(){var a=this.sd.Ba(),b=this.Ba(),c=this.get("centerX"),b=a*0.5+c-b*0.5,d=this.Ih.ki(),e=this.Ih.Ba(),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.sd.eb();b=this.eb();c=this.get("centerY");b=a*0.5+c-b*0.5;d=this.Ih.$m();e=this.Ih.eb();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))};t.prototype.ga=function(){this.cb(t.k0,t.l0,[this.Ih],p,p);this.cb(t.fO,t.gO,
[this.Ih],p,z);this.get("headerHeight")===0?this.cb(t.fO,t.gO,[this.Xp],p,z):this.cb(t.fO,t.gO,[this.Ih],p,z);this.cb(t.C0,t.D0,[this.WC],p,p);this.cb(t.e0,t.f0,[this.hw],p,p);this.cb(t.a0,t.b0,[this.Xp],p,p);this.cb(t.Vea,t.c0,[this.Xp],p,z);this.cb(t.g0,t.h0,[this.Ew],p,p);this.get("footerHeight")===0?this.cb(t.i0,t.j0,[this.Xp],p,z):this.cb(t.i0,t.j0,[this.Ew],p,z);if(this.j("modal")){this.cb(t.E0,t.F0,[this.sd],p,p);this.sd.set("contentOpaque",p)}else{this.sd.set("backgroundOpacity",0);this.sd.set("contentOpaque",
z)}this.N({layout:f.df,horizontalAlign:d.Gc,verticalAlign:d.nc});j.prototype.ga.call(this);this.Sj.nM(0)};return t});
define("dm",["dl","fb","jp","dR","kV"],function(a,b,c,e,d){a=b.extend(c,function(){c.call(this)});e.A("Window",a).B("Container").M({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]",
titleHorizontalAlign:"enum[left, center, right]",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"}).zp(["titleFontSize"]).Qg({show:a.prototype.show,
hide:a.prototype.hide}).Rb([d.hZ,d.gs]);return a});
define("jM","require,jquery.mod,dl,kV,fZ,bY,eJ,V,kH,bq,hS,iZ,r,fb".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.yy=this.source.get("grayscale");this.mp=new l(f.Bj)}var c=a("jquery.mod"),e=a("dl"),d=a("kV"),f=a("fZ"),g=a("bY"),k=a("eJ"),j=a("V"),n=a("kH"),i=a("bq"),l=a("hS"),q=a("iZ"),o=a("r"),t=a("fb"),s=t.extend(k,function(){k.call(this);this.we=r;this.n4=[];this.Qi=[];this.Ua=this.Ka=
this.Yb=this.Tb=100;this.pd=1;this.bq=this.aq=0.5;this.Eb=1;this.ug=this.fg=r;this.RI=z;this.IP={};this.mw={};this.mw.low={};this.mw.hight={};if(o.ey()==o.jz){this.mw.low.transform="translateZ(0)";this.mw.hight.transform=""}this.V=z;this.hf="inherit";this.J=c("<div/>").css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden"});this.GA=r;this.cd=t.op(this.I,this)});s.prototype.Kb=R("J");s.prototype.$r=function(a){if(this.Ad!=a){this.Ad=a;this.JO(1);this.cd()}};s.prototype.ywa=function(a){if(this.hf!=
a){this.hf=a;this.ug&&this.ug.css("cursor",this.hf);this.fg&&this.fg.css("cursor",this.hf)}};s.prototype.Lwa=function(a){if(this.n4!=a){this.jP();this.we=r;if(this.fg){this.fg.detach();this.fg=r}if(this.ug){this.ug.detach();this.ug=r}if(this.xe)this.xe=r;this.jP();this.RI=z;e(this.Qi).each(function(a){a.mp.cancel();a.mp.unbind(d.R,this.L4,this)},this);a=(this.n4=a)&&a.get("levels")||[];this.Qi=e(a).map(function(a){a=new b(a);a.mp.bind(d.R,this.L4,this);return a},this);if(a=this.Wja()){this.Ka=a.width;
this.Ua=a.height}else this.Ua=this.Ka=100;this.bq=this.aq=0.5;this.JO(1);this.cd()}};s.prototype.kv=function(a,b){if(this.Tb!=a||this.Yb!=b){this.Tb=a;this.Yb=b;this.cd()}};s.prototype.zwa=function(a,b){if(this.z2!=a||this.y2!=b){this.z2=a;this.y2=b;this.cd()}};s.prototype.kd=function(a){if(this.V!=a){this.V=a;this.cd()}};s.prototype.move=function(a,b){var c=this.pd*this.Eb;this.aq=this.aq+a/(this.Ka*c);this.bq=this.bq+b/(this.Ua*c);this.oJ()};s.prototype.Su=R("Eb");s.prototype.setScale=function(a){this.JO(Math.max(1,
Math.min(1/this.pd,a)));this.we&&this.we.width<this.Eb*this.pd*this.Ka&&this.we.width<this.Ka?this.I():this.oJ()};s.prototype.Iba=function(a){if(!this.fg)return z;var b=this.fg.offset(),c=a.pageX-b.left,a=a.pageY-b.top;return c>=0&&a>=0&&c<this.fg.width()&&a<this.fg.height()};s.prototype.I=function(){if(this.V){this.Pra();var a=this.$ja();if(a&&a.mp.kp()){if(a!=this.we){if(!this.we){this.cd();this.RI=p}this.qia(a);this.we=a}this.w8(r)}else this.w8(a);this.oJ()}};s.prototype.Pra=function(){var a;switch(this.Ad){case q.Kk:a=
this.Tb/this.Ka;break;case q.Vg:a=this.Yb/this.Ua;break;case q.am:a=this.Ka*this.Yb>this.Ua*this.Tb?this.Yb/this.Ua:this.Tb/this.Ka;break;case q.Nda:a=Math.min(this.z2/this.Ka,this.y2/this.Ua);break;default:a=this.Ka*this.Yb>this.Ua*this.Tb?this.Tb/this.Ka:this.Yb/this.Ua}this.aga(a)};s.prototype.L4=function(){this.cd()};s.prototype.qia=function(a){if(this.ug){this.yU(this.ug,1);this.fg&&this.fg.detach();this.fg=this.ug}this.ug=this.Qha(a);this.yU(this.ug,0);this.J.append(this.ug);this.xe=this.Kha();
this.IP={}};s.prototype.$ja=function(){return this.we?this.tja(this.Eb*this.pd*this.Ka):this.ska()};s.prototype.w8=function(a){e(this.Qi).each(function(b){b==a?b.mp.uk()!=b.url&&b.mp.load(b.url):b.mp.kp()||b.mp.cancel()})};s.prototype.Wja=function(){return e(this.Qi).reduce(function(a,b){a||(a=b);if(b.width>a.width||b.width==a.width&&!b.yy&&a.yy)a=b;return a},r)};s.prototype.ska=function(){return e(this.Qi).reduce(function(a,b){a||(a=b);if(b.width<a.width||b.width==a.width&&b.yy&&!a.yy)a=b;return a},
r)};s.prototype.tja=function(a){return e(this.Qi).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.yy&&b.yy)b=c;return b},r)};s.prototype.Qha=function(a){a=c(a.mp.pe(p));a.css({position:"absolute",cursor:this.hf,"pointer-events":"none"});return a};s.prototype.Kha=function(){return new n("linear",[new i("alpha",0,1)],200)};s.prototype.oJ=function(){j.La(function(a){this.jJ(a,"low")},this)};s.prototype.iX=function(){return this.Ka*this.Eb*
this.pd};s.prototype.hX=function(){return this.Ua*this.Eb*this.pd};s.prototype.xaa=function(){var a=this.iX();return a>this.Tb?Math.max(this.Tb-a,Math.min(0,this.Tb*0.5-a*this.aq)):(this.Tb-a)*0.5};s.prototype.yaa=function(){var a=this.hX();return a>this.Yb?Math.max(this.Yb-a,Math.min(0,this.Yb*0.5-a*this.bq)):(this.Yb-a)*0.5};s.prototype.jJ=function(a,b){var b=b||"low",c=this.iX(),e=this.xaa(),f=this.hX(),i=this.yaa();this.aq=(this.Tb*0.5-e)/c;this.bq=(this.Yb*0.5-i)/f;var c={left:Math.round(e)+
"px",top:Math.round(i)+"px",width:Math.round(c)+"px",height:Math.round(f)+"px",display:"block"},j;for(j in this.mw[b])c[j]=this.mw[b][j];if(this.IP!=c){this.fg&&this.fg.css(c);this.ug&&this.ug.css(c);this.IP=c}this.jP();if(this.xe){this.xe.$a(a);this.yU(this.ug,this.xe.tb("alpha"));if(this.xe.He()){this.xe=r;this.fg&&this.fg.detach();this.fg=this.ug;this.ug=r}this.oJ()}else b=="low"&&this.bqa();if(!this.xe&&this.RI){this.RI=z;this.trigger(new g(d.R))}};s.prototype.yU=function(a,b){a.css({opacity:b,
filter:"alpha(opacity="+Math.round(b*100)+")","-ms-filter":"alpha(opacity="+Math.round(b*100)+")"})};s.prototype.jP=function(){if(this.GA!=r){clearTimeout(this.GA);this.GA=r}};s.prototype.bqa=function(){var a=this;this.GA=setTimeout(function(){a.GA=r;a.jJ(50,"hight")},50)};s.prototype.JO=function(a){if(this.Eb!=a){this.Eb=a;this.$qa()}};s.prototype.aga=function(a){if(this.pd!=a)this.pd=a};s.prototype.$qa=function(){this.trigger(new g(s.nz,{scale:this.Eb}))};s.nz="scaleChange";return s});
define("hK","require,jquery.mod,kV,bY,jM,fb,d,J".split(","),function(a){a("jquery.mod");var b=a("kV"),c=a("bY"),e=a("jM"),d=a("fb"),f=a("d"),g=a("J"),k=d.extend(f,function(){f.call(this);this.Tc("ZoomImage");this.Do=this.$i=m;this.Zh=z;this.k7=m;this.r4=this.Eb;this.uD=r;this.g=new e;this.g.bind(b.R,this.Kma,this);this.g.bind(e.nz,this.Lma,this);this.Pa().append(this.g.Kb());this.bind(b.vb,this.lb,this,p);this.bind(b.ld,this.bh,this,p);this.bind(b.wd,this.ah,this,p);this.bind(b.ub,this.hc,this,p);
this.bind(b.Hc,this.Bg,this,p);this.bind(b.Xb,this.Cg,this,p);this.bind(b.Kp,this.Ft,this,p);this.bind(b.Cv,this.ot,this,p)});k.prototype.set=function(a,b){switch(a){case "scale":this.g.setScale(b);b=this.g.Su();break;case "imageLeft":case "imageTop":case "imageWidth":case "imageHeight":return}f.prototype.set.call(this,a,b)};k.prototype.get=function(a,b){switch(a){case "scale":return this.g.Su();case "imageLeft":return this.g.xaa();case "imageTop":return this.g.yaa();case "imageWidth":return this.g.iX();
case "imageHeight":return this.g.hX()}return f.prototype.get.call(this,a,b)};k.prototype.xa=function(){f.prototype.xa.call(this);this.f("image");this.f("scaleMode");this.f("customHeight");this.f("customWidth");this.f("imageCursor");this.f("imageLeft");this.f("imageTop");this.f("imageWidth");this.f("imageHeight")};k.prototype.ga=function(){if(this.n("scaleMode")){this.g.$r(this.j("scaleMode"));this.p("scaleMode")}if(this.n("image")){this.g.Lwa(this.j("image"));this.p("image");this.r4=this.Eb}if(this.n("customHeight")||
this.n("customWidth")){this.p("customHeight");this.p("customWidth");this.lb()}if(this.n("imageCursor")){this.p("imageCursor");this.g.ywa(this.Aa.YP.raa(this.get("imageCursor")))}f.prototype.ga.call(this)};k.prototype.lb=function(){var a=this.Ba(),b=this.eb(),c=this.get("customWidth","100%"),d=g.zk(c),c=d!==m?a*d/100:c,d=this.get("customHeight","100%"),e=g.zk(d);this.g.zwa(c,e!==m?b*e/100:d);this.g.kv(a,b)};k.prototype.bh=function(){this.g.kd(p)};k.prototype.ah=function(){this.g.kd(z)};k.prototype.hc=
function(a){this.$i=a.x;this.Do=a.y;this.Zh=p;this.k7=this.g.Iba(a)};k.prototype.Bg=function(a){if(this.Zh){this.dW();this.g.move(-(a.x-this.$i),-(a.y-this.Do));this.$i=a.x;this.Do=a.y}};k.prototype.Cg=function(a){this.Zh=z;!this.k7&&!this.g.Iba(a)&&this.trigger(new c(k.xZ))};k.prototype.Ft=function(a){this.dW();this.g.setScale((1+a.ap/20)*this.g.Su())};k.prototype.ot=function(a){this.dW();this.g.setScale(a.scale/this.r4)};k.prototype.Kma=function(){this.trigger(new c(b.R))};k.prototype.Lma=function(){f.prototype.set.call(this,
"scale",this.g.Su());this.trigger(new c(k.nz))};k.prototype.dW=function(){if(this.uD){clearTimeout(this.uD);this.uD=r}else this.trigger(new c(k.te));this.uD=setTimeout(function(){this.uD=r;this.trigger(new c(k.se))}.bind(this),300)};k.xZ="backgroundClick";k.nz="scaleChange";k.te="userInteractionStart";k.se="userInteractionEnd";return k});
define("kr",["fb","kV","hK","dR"],function(a,b,c,e){a=a.extend(c,function(){c.call(this)});e.A("ZoomImage",a).B("UIComponent").M({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"}).Rb([c.xZ,c.nz,c.te,c.se,b.R]);return Image});
define("gO","gW,dt,dJ,kE,hi,et,fW,gV,hB,iO,kK,fw,gc,fj,en,bm,kn,hl,js,ei,n,gS,dc,gt,jF,ho,jW,gn,iT,ft,F,ci,q,iI,eH,P,hG,bk,Z,jV,kB,dT,iV,gQ,bu,kF,jS,ik,I,lp,dr,gH,gv,m,hU,fY,jo,gx,ln,fz,if,bf,ce,bw,iD,gu,li,eI,kJ,ca,cb,iA,es,hd,gk,hE,eY,iH,kc,fS,hN,ib,eB,gz,bP,dI,di,K,kW,cW,br,gE,eg,cV,hM,dL,ja,dX,fe,im,bN,gp,ks,jl,kv,T,eV,cE,jG,fX,hb,hC,fD,bE,v,cN,bx,hx,he,kO,er,fo,bL,ir,e,dw,fH,bl,bO,dm,kr".split(","),S(p));
define("eP","require,dl,jquery.mod,fb,dR,bD,gO,jf".split(","),function(a){function b(a,b){this.type=a;this.stack=b}function c(){}var e=a("dl"),d=a("jquery.mod"),f=a("fb"),g=a("dR"),k=a("bD");a("gO");a("jf");c.prototype.Dva=function(a,b,c,d){this.AQ=[];this.or=this.vx(a);this.Gq=m;if(this.or.$o.Baa()){k.jya(a);this.Gq=this.m3(this.or,j.Cj);this.Tha(this.Gq,this.or,b,c,d);this.Wfa(this.or);this.Ufa(this.or,this.Gq);this.Xfa(this.Gq,this.or);this.mga(this.Gq,this.or)}else this.Nk("Invalid root class",
[]);return this.AQ.length==0};c.prototype.Sa=function(){return this.or.Ed};c.prototype.vx=function(a,b){b=b||[];return e(a).isArray()?this.Pna(a,b):d.isPlainObject(a)&&a["class"]?this.Sna(a,b):d.isPlainObject(a)?this.Qna(a,b):e(a).isFunction()?this.Rna(a,b):this.Tna(a,b)};c.prototype.Pna=function(a,b){for(var c=[],d=0;d<a.length;d++){b.push("Item["+d+"]");c.push(this.vx(a[d],b));b.pop()}return new n(b.slice(),c)};c.prototype.Sna=function(a,b){var c=a["class"],d=g.Ym(a["class"]);if(d){var e,c={},f=
{},i;for(i in a){b.push(i);var k=a[i];switch(i){case "class":break;case "scripts":e=this.vx(k,b);break;default:d.hasAttribute(i)?c[i]=this.vx(k,b):d.$aa(i)||d.aba(i)?f[i]=this.vx(k,b):this.Nk(d.ry()+" object doesn't have any attribute named "+i,b)}b.pop()}return new j(b.slice(),d,a.id,c,f,e)}this.Nk("Undefined class name: "+c,b.slice());return new q(b.slice(),r)};c.prototype.Qna=function(a,b){var c={},d;for(d in a){b.push(d);c[d]=this.vx(a[d],b);b.pop()}return new i(b.slice(),c)};c.prototype.Rna=
function(a,b){return new l(b.slice(),a)};c.prototype.Tna=function(a,b){return new q(b.slice(),a)};c.prototype.m3=function(a,b){for(var c=!b||a.type==b?[a]:[],d=0,e=a.Na();d<e.length;d++)c=c.concat(this.m3(e[d],b));return c};c.prototype.Tha=function(a,b,c,d,e){b.Ed=b.$o.Ir(r,d,e,[c]);b.Ed.set("application",b.Ed);for(c=0;c<a.length;c++){var f=a[c];if(f!=b)f.Ed=f.$o.Ir(b.Ed,d,e)}};c.prototype.Wfa=function(a){if(a.scripts)if(a.scripts.type==i.Cj)for(var b in a.scripts.value)this.Vfa(a,b);else this.Nk("Invalid content.",
a.scripts.stack)};c.prototype.Vfa=function(a,b){var c=a.Ed,d=a.scripts.value[b];e(c[b]).isUndefined()?d&&d.type==l.Cj?c[b]=function(){return d.kn().apply(c,arguments)}:this.Nk("Invalid content.",d.stack):this.Nk("Identifier: "+b+" is already in use",d.stack)};c.prototype.Ufa=function(a,b){for(var c=a.Ed,d=0;d<b.length;d++){var f=b[d],g=f.id;if(g)e(c[g]).isUndefined()?c[g]=f.Ed:this.Nk("Identifier: "+g+" is arleady in use",f.stack)}};c.prototype.Xfa=function(a,b){for(var c=0;c<a.length;c++){var d=
a[c],e=d.attributes,f;for(f in e)this.Tfa(d,f,b)}};c.prototype.Tfa=function(a,b,c){var d=a.$o;if(d.hasAttribute(b)){var e=a.attributes[b].kn();try{e=d.aX(b)(e,c.Ed);a.Ed.set(b,e)}catch(f){this.Nk("Invalid value for property "+b+" of "+d.ry()+" instance",a.stack)}}else this.Nk(d.ry()+" object doesn't have any property named "+b,a.stack)};c.prototype.mga=function(a,b){for(var c=0;c<a.length;c++){var d=a[c],e;for(e in d.Hu)this.lga(d,e,b)}};c.prototype.lga=function(a,b,c){var d=a.$o,f=a.Ed,g=d.$aa(b),
i=d.aba(b);if(g||i){var a=a.Hu[b],j=a.kn();e(j).isFunction()?f.bind(b,j,c.Ed,i,j):typeof j=="string"?f.bind(b,function(){eval("var event = arguments[0];"+j)},c.Ed,i,j):this.Nk("Invalid value.",a.stack)}else this.Nk(d.ry()+" object doesn't have any event named "+b,a.stack)};c.prototype.Nk=function(a,b){this.AQ.push("In "+b.join(" >> ")+": "+a)};b.prototype.Na=function(){return[]};b.prototype.kn=D();var j=f.extend(b,function(a,c,d,e,f,g){b.call(this,j.Cj,a);this.$o=c;this.id=d;this.attributes=e;this.Hu=
f;this.scripts=g;this.Ed=r});j.prototype.Na=function(){var a=this.$o.Jaa(),b=[],c=e(this.attributes).clone();if(a)for(var d=0;d<a.length;d++){var f=a[d];if(c[f]!=m){b.push(c[f]);delete c[f]}}return b=b.concat(e(c).values())};j.prototype.kn=R("Ed");j.Cj="instance";var n=f.extend(b,function(a,c){b.call(this,n.Cj,a);this.wk=c});n.prototype.Na=function(){return this.wk.slice()};n.prototype.kn=function(){for(var a=[],b=0;b<this.wk.length;b++)a.push(this.wk[b].kn());return a};n.Cj="array";var i=f.extend(b,
function(a,c){b.call(this,i.Cj,a);this.value=c});i.prototype.Na=function(){return e(this.value).values()};i.prototype.kn=function(){var a={},b;for(b in this.value)a[b]=this.value[b].kn();return a};i.Cj="dict";var l=f.extend(b,function(a,c){b.call(this,l.Cj,a);this.value=c});l.prototype.kn=R("value");l.Cj="function";var q=f.extend(b,function(a,c){b.call(this,q.Cj,a);this.value=c});q.prototype.kn=R("value");q.Cj="simple";return c});
define("jH","require,dl,kV,bY,dR,eP,r,dK,jf,bi,fF,jO,kU,jP,fb".split(","),function(a){function b(a,b){g.Va()&&!g.Ye()&&o.Vd();var c=l.name,d=[];c&&d.push(c);l.mE>0?d.push("v:"+l.mE+"."+l.qE):d.push("v:"+l.qE);t.log(d.join(" "));this.Bk=b;if(j.Sua()||[g.xv,g.ds].indexOf(g.browser())>=0){this.Wh=new f;if(c=this.Bk.get(TDV.PlayerSettings.BASE_DIR_URL)){c=j.bs(c);c[c.length-1]!="/"&&(c=c+"/")}else c=j.getDirectory(this.Bk.get(TDV.PlayerSettings.SELECTED_SCRIPT_URL));this.jca=this.Bk.get(TDV.PlayerSettings.QUERY_STRING_PARAMETERS);
k.Qva(c,function(b){this.N$=b;this.nna(a)}.bind(this))}else window.alert(q("web-server-required"))}var c=a("dl"),e=a("kV");a("bY");var d=a("dR"),f=a("eP"),g=a("r"),k=a("dK"),j=a("jf"),n=a("bi"),i=a("fF"),l=a("jO"),q=a("kU"),o=a("jP"),t=a("fb");b.prototype.nna=function(a){a.trigger(new TDV.zF(e.Bea,{},[],m));c.defer(function(){if(!this.Wh.Dva(this.Bk.get(TDV.PlayerSettings.SCRIPT_DATA),this.Bk.get(TDV.PlayerSettings.CONTAINER),this.N$,this.jca)){if(l.Oxa!="false"){window.alert(this.R3());return}t.log(this.R3())}this.kga(a);
this.Pfa(this.Bk);this.Zfa();n.Rl(function(){this.bra()}.bind(this))}.bind(this))};b.prototype.clear=function(){if(this.Wh){this.Wh.Gq.forEach(function(a){a.Ed.uda();a.$o.XD().forEach(function(b){switch(b){case "VideoPlayer":a.Ed.stop();case "MapPlayer":case "PanoramaPlayer":case "PhotoAlbumPlayer":case "VideoPlayer":a.Ed.set("viewerArea",r);break;case "ZoomImage":a.Ed.set("image",r);break;case "Audio":a.Ed.stop();break;case "Effect":a.Ed.end();break;case "Media":a.Ed.dwa()}})});i.Jva();this.Wh.Sa().clear();
s={};this.Bk=this.Wh=r}};b.prototype.hua=function(a){return this.Wh.Sa()[a]};b.prototype.Naa=function(a){if(a in s)return s[a].slice();var b=[];this.Wh.Gq.forEach(function(d){var e=d.$o.XD();c(e).contains(a)&&b.push(d.Ed)});s[a]=b;return b.slice()};var s={};b.prototype.Ir=function(a){var b=d.Ym(a);b||h("Invalid className: "+a);s={};return b.Ir(this.Wh.Sa(),this.N$,this.jca)};b.prototype.R3=function(){for(var a=this.Wh.AQ,b=["Errors parsing script file:"],c=0;c<a.length;c++)b.push(a[c]);return b.join("\n")};
b.prototype.kga=function(a){this.Wh.Gq.forEach(function(b){var d=b.$o,e=b.Ed,f=b.id,g=d.XD();c.union(d.eX(),d.jX()).forEach(function(b){e.bind(b,function(c){a.trigger(new TDV.zF(b,c,g,f))},this,p)})});var b=this.Wh.Sa().yG;b.bind(e.Av,function(){b.dya(e.Av);a.cookiesEnabled=a.Ssa=p;a.trigger(new TDV.zF(e.Av,{},[],m))},this,p)};b.prototype.Pfa=function(a){this.Wh.Sa().set("settings",a)};b.prototype.Zfa=function(){var a=this.Wh.Sa(),b=this;a.getByClassName=a.Ym=function(){return b.Naa.apply(b,arguments)};
a.createInstance=a.Ir=function(){return b.Ir.apply(b,arguments)};a.isInstanceOfClass=a.zb=function(){return d.zb.apply(d,arguments)}};b.prototype.bra=function(){this.Wh.Sa().start()};b.cya=function(a){a.trigger(new TDV.zF(e.iea,{},[],m))};return b});define("main",["require","jquery.mod","jH"],function(a){var b=a("jquery.mod"),c=a("jH");b(document).ready(function(){TDV.za.pxa(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})});

})();

Anon7 - 2022
AnonSec Team