lkspencer-Herosaver/dist/saver.min.c9e0b205-7610-446...

27 lines
683 KiB
JavaScript
Raw Normal View History

2020-03-27 22:00:28 +01:00
var e;e=function(){"use strict";function e(){}function t(e,t){this.x=e||0,this.y=t||0}function n(){this.elements=[1,0,0,0,1,0,0,0,1],arguments.length>0&&console.error("THREE.Matrix3: the constructor no longer reads arguments. use .set() instead.")}function r(e,i,a,o,s,c,l,u,h,p){Object.defineProperty(this,"id",{value:Ia++}),this.uuid=Na.generateUUID(),this.name="",this.image=void 0!==e?e:r.DEFAULT_IMAGE,this.mipmaps=[],this.mapping=void 0!==i?i:r.DEFAULT_MAPPING,this.wrapS=void 0!==a?a:1001,this.wrapT=void 0!==o?o:1001,this.magFilter=void 0!==s?s:1006,this.minFilter=void 0!==c?c:1008,this.anisotropy=void 0!==h?h:1,this.format=void 0!==l?l:1023,this.internalFormat=null,this.type=void 0!==u?u:1009,this.offset=new t(0,0),this.repeat=new t(1,1),this.center=new t(0,0),this.rotation=0,this.matrixAutoUpdate=1,this.matrix=new n,this.generateMipmaps=1,this.premultiplyAlpha=0,this.flipY=1,this.unpackAlignment=4,this.encoding=void 0!==p?p:3e3,this.version=0,this.onUpdate=null}function i(e,t,n,r){this.x=e||0,this.y=t||0,this.z=n||0,this.w=void 0!==r?r:1}function a(e,t,n){this.width=e,this.height=t,this.scissor=new i(0,0,e,t),this.scissorTest=0,this.viewport=new i(0,0,e,t),n=n||{},this.texture=new r(void 0,n.mapping,n.wrapS,n.wrapT,n.magFilter,n.minFilter,n.format,n.type,n.anisotropy,n.encoding),this.texture.image={},this.texture.image.width=e,this.texture.image.height=t,this.texture.generateMipmaps=void 0!==n.generateMipmaps?n.generateMipmaps:0,this.texture.minFilter=void 0!==n.minFilter?n.minFilter:1006,this.depthBuffer=void 0!==n.depthBuffer?n.depthBuffer:1,this.stencilBuffer=void 0!==n.stencilBuffer?n.stencilBuffer:1,this.depthTexture=void 0!==n.depthTexture?n.depthTexture:null}function o(e,t,n){a.call(this,e,t,n),this.samples=4}function s(e,t,n,r){this._x=e||0,this._y=t||0,this._z=n||0,this._w=void 0!==r?r:1}function c(e,t,n){this.x=e||0,this.y=t||0,this.z=n||0}function l(){this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],arguments.length>0&&console.error("THREE.Matrix4: the constructor no longer reads arguments. use .set() instead.")}function u(e,t,n,r){this._x=e||0,this._y=t||0,this._z=n||0,this._order=r||u.DefaultOrder}function h(){this.mask=1}function p(){Object.defineProperty(this,"id",{value:Xa++}),this.uuid=Na.generateUUID(),this.name="",this.type="Object3D",this.parent=null,this.children=[],this.up=p.DefaultUp.clone();var e=new c,t=new u,r=new s,i=new c(1,1,1);t._onChange((function(){r.setFromEuler(t,0)})),r._onChange((function(){t.setFromQuaternion(r,void 0,0)})),Object.defineProperties(this,{position:{configurable:1,enumerable:1,value:e},rotation:{configurable:1,enumerable:1,value:t},quaternion:{configurable:1,enumerable:1,value:r},scale:{configurable:1,enumerable:1,value:i},modelViewMatrix:{value:new l},normalMatrix:{value:new n}}),this.matrix=new l,this.matrixWorld=new l,this.matrixAutoUpdate=p.DefaultMatrixAutoUpdate,this.matrixWorldNeedsUpdate=0,this.layers=new h,this.visible=1,this.castShadow=0,this.receiveShadow=0,this.frustumCulled=1,this.renderOrder=0,this.userData={}}function d(){p.call(this),this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.overrideMaterial=null,this.autoUpdate=1,"undefined"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}function f(e,t){this.min=void 0!==e?e:new c(1/0,1/0,1/0),this.max=void 0!==t?t:new c(-1/0,-1/0,-1/0)}function m(e,t,n,r,i){var a,o;for(a=0,o=e.length-3;a<=o;a+=3){xo.fromArray(e,a);var s=i.x*Math.abs(xo.x)+i.y*Math.abs(xo.y)+i.z*Math.abs(xo.z),c=t.dot(xo),l=n.dot(xo),u=r.dot(xo);if(Math.max(-Math.max(c,l,u),Math.min(c,l,u))>s)return 0}return 1}function g(e,t){this.center=void 0!==e?e:new c,this.radius=void 0!==t?t:0}function v(e,t){this.origin=void 0!==e?e:new c,this.direction=void 0!==t?t:new c(0,0,-1)}function y(e,t){this.normal=void 0!==e?e:new c(1,0,0),this.constant=void 0!==t?t:0}function x(e,t,n){this.a=void 0!==e?e:new c,this.b=void 0!==t?t:new c,this.c=void 0!==n?n:new c}function b(e,t,n){return void 0===t&&void 0===n?this.set(e):this.setRGB(e,t,n)}function w(e,t,n){return n<0&&(n+=1
2020-03-26 06:10:06 +01:00
/*!
* jQuery JavaScript Library v3.4.1
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2019-05-01T21:04Z
*/
2020-03-27 21:57:17 +01:00
!function(t,n){e.exports=t.document?n(t,1):function(e){if(!e.document)throw Error("jQuery requires a window with a document");return n(e)}}("undefined"!=typeof window?window:Dl,(function(e,t){function n(e,t,n){var r,i,a=(n=n||ee).createElement("script");if(a.text=e,t)for(r in fe)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&a.setAttribute(r,i);n.head.appendChild(a).parentNode.removeChild(a)}function r(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?oe[se.call(e)]||"object":typeof e}function i(e){var t=!!e&&"length"in e&&e.length,n=r(e);return pe(e)||de(e)?0:"array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e}function a(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function o(e,t,n){return pe(t)?me.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?me.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?me.grep(e,(function(e){return ae.call(t,e)>-1!==n})):me.filter(t,e,n)}function s(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function c(e){return e}function l(e){throw e}function u(e,t,n,r){var i;try{e&&pe(i=e.promise)?i.call(e).done(t).fail(n):e&&pe(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.call(void 0,e)}}function h(){ee.removeEventListener("DOMContentLoaded",h),e.removeEventListener("load",h),me.ready()}function p(e,t){return t.toUpperCase()}function d(e){return e.replace(Re,"ms-").replace(Pe,p)}function f(){this.expando=me.expando+f.uid++}function m(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ze,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e?1:"false"===e?0:"null"===e?null:e===+e+""?+e:Ie.test(e)?JSON.parse(e):e}(n)}catch(e){}De.set(e,t,n)}else n=void 0;return n}function g(e,t,n,r){var i,a,o=20,s=r?function(){return r.cur()}:function(){return me.css(e,t,"")},c=s(),l=n&&n[3]||(me.cssNumber[t]?"":"px"),u=e.nodeType&&(me.cssNumber[t]||"px"!==l&&+c)&&Ue.exec(me.css(e,t));if(u&&u[3]!==l){for(c/=2,l=l||u[3],u=+c||1;o--;)me.style(e,t,u+l),(1-a)*(1-(a=s()/c||.5))<=0&&(o=0),u/=a;u*=2,me.style(e,t,u+l),n=n||[]}return n&&(u=+u||+c||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=u,r.end=i)),i}function v(e){var t,n=e.ownerDocument,r=e.nodeName,i=We[r];return i||(t=n.body.appendChild(n.createElement(r)),i=me.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),We[r]=i,i)}function y(e,t){for(var n,r,i=[],a=0,o=e.length;a<o;a++)(r=e[a]).style&&(n=r.style.display,t?("none"===n&&(i[a]=Ne.get(r,"display")||null,i[a]||(r.style.display="")),""===r.style.display&&je(r)&&(i[a]=v(r))):"none"!==n&&(i[a]="none",Ne.set(r,"display",n)));for(a=0;a<o;a++)null!=i[a]&&(e[a].style.display=i[a]);return e}function x(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&a(e,t)?me.merge([e],n):n}function b(e,t){for(var n=0,r=e.length;n<r;n++)Ne.set(e[n],"globalEval",!t||Ne.get(t[n],"globalEval"))}function w(e,t,n,i,a){for(var o,s,c,l,u,h,p=t.createDocumentFragment(),d=[],f=0,m=e.length;f<m;f++)if((o=e[f])||0===o)if("object"===r(o))me.merge(d,o.nodeType?[o]:o);else if(Qe.test(o)){for(s=s||p.appendChild(t.createElement("div")),c=(Xe.exec(o)||["",""])[1].toLowerCase(),l=Ze[c]||Ze._default,s.innerHTML=l[1]+me.htmlPrefilter(o)+l[2],h=l[0];h--;)s=s.lastChild;me.merge(d,s.childNodes),(s=p.firstChild).textContent=""}else d.push(t.createTextNode(o));for(p.textContent="",f=0;o=d[f++];)if(i&&me.inArray(o,i)>-1)a&&a.push(o);else if(u=ke(o),s=x(p.appendChild(o),"script"),u&&b(s),n)for(h=0;o=s[h++];)Ye.test(o.type||"")&&n.push(o);return p}function _(){return 1}function M(){return 0}function S(e,t){return e===function(){try{return ee.activeElement}catch(e){}}()==("focus"===t)}function T(e,t,n,r,i,a){var o,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)T(e,s,n,r,t[s],a);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),0==i)i=M;else if(!i)return e;return 1===a&&(o=i,(i=function(e){return me().off(e),o.apply(this,argume
2020-03-26 06:10:06 +01:00
/*!
* Sizzle CSS Selector Engine v2.3.4
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://js.foundation/
*
* Date: 2019-04-08
*/
2020-03-27 21:57:17 +01:00
function(e){function t(e,t,n,r){var i,a,o,s,c,l,u,p=t&&t.ownerDocument,f=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==f&&9!==f&&11!==f)return n;if(!r&&((t?t.ownerDocument||t:F)!==P&&R(t),t=t||P,N)){if(11!==f&&(c=fe.exec(e)))if(i=c[1]){if(9===f){if(!(o=t.getElementById(i)))return n;if(o.id===i)return n.push(o),n}else if(p&&(o=p.getElementById(i))&&B(t,o)&&o.id===i)return n.push(o),n}else{if(c[2])return $.apply(n,t.getElementsByTagName(e)),n;if((i=c[3])&&b.getElementsByClassName&&t.getElementsByClassName)return $.apply(n,t.getElementsByClassName(i)),n}if(b.qsa&&!W[e+" "]&&(!D||!D.test(e))&&(1!==f||"object"!==t.nodeName.toLowerCase())){if(u=e,p=t,1===f&&oe.test(e)){for((s=t.getAttribute("id"))?s=s.replace(ye,xe):t.setAttribute("id",s=U),a=(l=S(e)).length;a--;)l[a]="#"+s+" "+d(l[a]);u=l.join(","),p=me.test(e)&&h(t.parentNode)||t}try{return $.apply(n,p.querySelectorAll(u)),n}catch(t){W(e,1)}finally{s===U&&t.removeAttribute("id")}}}return E(e.replace(re,"$1"),t,n,r)}function n(){var e=[];return function t(n,r){return e.push(n+" ")>w.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function r(e){return e[U]=1,e}function i(e){var t=P.createElement("fieldset");try{return!!e(t)}catch(e){return 0}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function a(e,t){for(var n=e.split("|"),r=n.length;r--;)w.attrHandle[n[r]]=t}function o(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function c(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function l(e){return function(t){return"form"in t?t.parentNode&&0==t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&we(t)===e:t.disabled===e:"label"in t?t.disabled===e:0}}function u(e){return r((function(t){return t=+t,r((function(n,r){for(var i,a=e([],n.length,t),o=a.length;o--;)n[i=a[o]]&&(n[i]=!(r[i]=n[i]))}))}))}function h(e){return e&&void 0!==e.getElementsByTagName&&e}function p(){}function d(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function f(e,t,n){var r=t.dir,i=t.next,a=i||r,o=n&&"parentNode"===a,s=k++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||o)return e(t,n,i);return 0}:function(t,n,c){var l,u,h,p=[H,s];if(c){for(;t=t[r];)if((1===t.nodeType||o)&&e(t,n,c))return 1}else for(;t=t[r];)if(1===t.nodeType||o)if(u=(h=t[U]||(t[U]={}))[t.uniqueID]||(h[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=u[a])&&l[0]===H&&l[1]===s)return p[2]=l[2];if(u[a]=p,p[2]=e(t,n,c))return 1}return 0}}function m(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return 0;return 1}:e[0]}function g(e,t,n,r,i){for(var a,o=[],s=0,c=e.length,l=null!=t;s<c;s++)(a=e[s])&&(n&&!n(a,r,i)||(o.push(a),l&&t.push(s)));return o}function v(e,n,i,a,o,s){return a&&!a[U]&&(a=v(a)),o&&!o[U]&&(o=v(o,s)),r((function(r,s,c,l){var u,h,p,d=[],f=[],m=s.length,v=r||function(e,n,r){for(var i=0,a=n.length;i<a;i++)t(e,n[i],r);return r}(n||"*",c.nodeType?[c]:c,[]),y=!e||!r&&n?v:g(v,d,e,c,l),x=i?o||(r?e:m||a)?[]:s:y;if(i&&i(y,x,c,l),a)for(u=g(x,f),a(u,[],c,l),h=u.length;h--;)(p=u[h])&&(x[f[h]]=!(y[f[h]]=p));if(r){if(o||e){if(o){for(u=[],h=x.length;h--;)(p=x[h])&&u.push(y[h]=p);o(null,x=[],u,l)}for(h=x.length;h--;)(p=x[h])&&(u=o?K(r,p):d[h])>-1&&(r[u]=!(s[u]=p))}}else x=g(x===s?x.splice(m,x.length):x),o?o(null,s,x,l):$.apply(s,x)}))}function y(e){for(var t,n,r,i=e.length,a=w.relative[e[0].type],o=a||w.relative[" "],s=a?1:0,c=f((function(e){return e===t}),o,1),l=f((function(e){return K(t,e)>-1}),o,1),u=[function(e,n,r){var i=!a&&(r||n!==A)||((t=n).nodeType?c(e,n,r):l(e,n,r));return t=null,i}];s<i;s++)if(n=w.relative[e[s].type])u=[f(m(u),n)];else{if((n=w.filter[e[s].type].apply(null,e[s].matches))[U]){for(r=++s;r<i&&!w.relative[e[r].type];r++);return v(s>1&&m(u),s>1&&d(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(re,"$