import{M as Ve,a as Yf,b as Sw,c as Aw,d as xw,e as Tw,f as Kf,D as cr,g as Lt,h as yr,i as gp,j as Dw,k as kw,s as Mw,l as Iw}from"./mxdraw-CvD1WFQ5.js";const lk=""+new URL("mxdrawassembly_min-DunvvGVP.js",import.meta.url).href,ck=""+new URL("mxdrawassembly_min-DCka3zJP.wasm",import.meta.url).href,fk=""+new URL("mxdrawassembly_min.worker-B6AbC3KO.js",import.meta.url).href,hk=""+new URL("mxdrawassembly_min-DXr_9mGN.js",import.meta.url).href,pk=""+new URL("mxdrawassembly_minst-6Lgs6G89.wasm",import.meta.url).href;function oe(i,e){if(!(i instanceof e))throw new TypeError("Cannot call a class as a function")}function qt(i){"@babel/helpers - typeof";return qt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qt(i)}function Pw(i,e){if(qt(i)!="object"||!i)return i;var t=i[Symbol.toPrimitive];if(t!==void 0){var n=t.call(i,e||"default");if(qt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(i)}function fy(i){var e=Pw(i,"string");return qt(e)=="symbol"?e:String(e)}function Mm(i,e){for(var t=0;t0)throw new Error("Invalid string. Length must be a multiple of 4");var t=i.indexOf("=");t===-1&&(t=e);var n=t===e?0:4-t%4;return[t,n]}function Bw(i){var e=hy(i),t=e[0],n=e[1];return(t+n)*3/4-n}function Ow(i,e,t){return(e+t)*3/4-t}function Nw(i){var e,t=hy(i),n=t[0],r=t[1],a=new Rw(Ow(i,n,r)),s=0,o=r>0?n-4:n,u;for(u=0;u>16&255,a[s++]=e>>8&255,a[s++]=e&255;return r===2&&(e=Wr[i.charCodeAt(u)]<<2|Wr[i.charCodeAt(u+1)]>>4,a[s++]=e&255),r===1&&(e=Wr[i.charCodeAt(u)]<<10|Wr[i.charCodeAt(u+1)]<<4|Wr[i.charCodeAt(u+2)]>>2,a[s++]=e>>8&255,a[s++]=e&255),a}function Gw(i){return gi[i>>18&63]+gi[i>>12&63]+gi[i>>6&63]+gi[i&63]}function Uw(i,e,t){for(var n,r=[],a=e;ao?o:s+a));return n===1?(e=i[t-1],r.push(gi[e>>2]+gi[e<<4&63]+"==")):n===2&&(e=(i[t-2]<<8)+i[t-1],r.push(gi[e>>10]+gi[e>>4&63]+gi[e<<2&63]+"=")),r.join("")}var dv={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */dv.read=function(i,e,t,n,r){var a,s,o=r*8-n-1,u=(1<>1,c=-7,f=t?r-1:0,h=t?-1:1,p=i[e+f];for(f+=h,a=p&(1<<-c)-1,p>>=-c,c+=o;c>0;a=a*256+i[e+f],f+=h,c-=8);for(s=a&(1<<-c)-1,a>>=-c,c+=n;c>0;s=s*256+i[e+f],f+=h,c-=8);if(a===0)a=1-l;else{if(a===u)return s?NaN:(p?-1:1)*(1/0);s=s+Math.pow(2,n),a=a-l}return(p?-1:1)*s*Math.pow(2,a-n)};dv.write=function(i,e,t,n,r,a){var s,o,u,l=a*8-r-1,c=(1<>1,h=r===23?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:a-1,m=n?1:-1,v=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(o=isNaN(e)?1:0,s=c):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+f>=1?e+=h/u:e+=h*Math.pow(2,1-f),e*u>=2&&(s++,u/=2),s+f>=c?(o=0,s=c):s+f>=1?(o=(e*u-1)*Math.pow(2,r),s=s+f):(o=e*Math.pow(2,f-1)*Math.pow(2,r),s=0));r>=8;i[t+p]=o&255,p+=m,o/=256,r-=8);for(s=s<0;i[t+p]=s&255,p+=m,s/=256,l-=8);i[t+p-m]|=v*128};function Ww(i){var e=zw();return function(){var n=bn(i),r;if(e){var a=bn(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Fe(this,r)}}function zw(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(function(i){var e=Xf,t=dv,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;i.Buffer=o,i.SlowBuffer=y,i.INSPECT_MAX_BYTES=50;var r=2147483647;i.kMaxLength=r,o.TYPED_ARRAY_SUPPORT=a(),!o.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function a(){try{var M=new Uint8Array(1),C={foo:function(){return 42}};return Object.setPrototypeOf(C,Uint8Array.prototype),Object.setPrototypeOf(M,C),M.foo()===42}catch{return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}});function s(M){if(M>r)throw new RangeError('The value "'+M+'" is invalid for option "size"');var C=new Uint8Array(M);return Object.setPrototypeOf(C,o.prototype),C}function o(M,C,A){if(typeof M=="number"){if(typeof C=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return f(M)}return u(M,C,A)}o.poolSize=8192;function u(M,C,A){if(typeof M=="string")return h(M,C);if(ArrayBuffer.isView(M))return m(M);if(M==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+qt(M));if(Be(M,ArrayBuffer)||M&&Be(M.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Be(M,SharedArrayBuffer)||M&&Be(M.buffer,SharedArrayBuffer)))return v(M,C,A);if(typeof M=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var G=M.valueOf&&M.valueOf();if(G!=null&&G!==M)return o.from(G,C,A);var I=g(M);if(I)return I;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof M[Symbol.toPrimitive]=="function")return o.from(M[Symbol.toPrimitive]("string"),C,A);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+qt(M))}o.from=function(M,C,A){return u(M,C,A)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array);function l(M){if(typeof M!="number")throw new TypeError('"size" argument must be of type number');if(M<0)throw new RangeError('The value "'+M+'" is invalid for option "size"')}function c(M,C,A){return l(M),M<=0?s(M):C!==void 0?typeof A=="string"?s(M).fill(C,A):s(M).fill(C):s(M)}o.alloc=function(M,C,A){return c(M,C,A)};function f(M){return l(M),s(M<0?0:d(M)|0)}o.allocUnsafe=function(M){return f(M)},o.allocUnsafeSlow=function(M){return f(M)};function h(M,C){if((typeof C!="string"||C==="")&&(C="utf8"),!o.isEncoding(C))throw new TypeError("Unknown encoding: "+C);var A=b(M,C)|0,G=s(A),I=G.write(M,C);return I!==A&&(G=G.slice(0,I)),G}function p(M){for(var C=M.length<0?0:d(M.length)|0,A=s(C),G=0;G=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return M|0}function y(M){return+M!=M&&(M=0),o.alloc(+M)}o.isBuffer=function(C){return C!=null&&C._isBuffer===!0&&C!==o.prototype},o.compare=function(C,A){if(Be(C,Uint8Array)&&(C=o.from(C,C.offset,C.byteLength)),Be(A,Uint8Array)&&(A=o.from(A,A.offset,A.byteLength)),!o.isBuffer(C)||!o.isBuffer(A))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(C===A)return 0;for(var G=C.length,I=A.length,te=0,ae=Math.min(G,I);teI.length?(o.isBuffer(ae)||(ae=o.from(ae)),ae.copy(I,te)):Uint8Array.prototype.set.call(I,ae,te);else if(o.isBuffer(ae))ae.copy(I,te);else throw new TypeError('"list" argument must be an Array of Buffers');te+=ae.length}return I};function b(M,C){if(o.isBuffer(M))return M.length;if(ArrayBuffer.isView(M)||Be(M,ArrayBuffer))return M.byteLength;if(typeof M!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+qt(M));var A=M.length,G=arguments.length>2&&arguments[2]===!0;if(!G&&A===0)return 0;for(var I=!1;;)switch(C){case"ascii":case"latin1":case"binary":return A;case"utf8":case"utf-8":return H(M).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A*2;case"hex":return A>>>1;case"base64":return _e(M).length;default:if(I)return G?-1:H(M).length;C=(""+C).toLowerCase(),I=!0}}o.byteLength=b;function _(M,C,A){var G=!1;if((C===void 0||C<0)&&(C=0),C>this.length||((A===void 0||A>this.length)&&(A=this.length),A<=0)||(A>>>=0,C>>>=0,A<=C))return"";for(M||(M="utf8");;)switch(M){case"hex":return N(this,C,A);case"utf8":case"utf-8":return F(this,C,A);case"ascii":return $(this,C,A);case"latin1":case"binary":return U(this,C,A);case"base64":return R(this,C,A);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,C,A);default:if(G)throw new TypeError("Unknown encoding: "+M);M=(M+"").toLowerCase(),G=!0}}o.prototype._isBuffer=!0;function w(M,C,A){var G=M[C];M[C]=M[A],M[A]=G}o.prototype.swap16=function(){var C=this.length;if(C%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var A=0;AA&&(C+=" ... "),""},n&&(o.prototype[n]=o.prototype.inspect),o.prototype.compare=function(C,A,G,I,te){if(Be(C,Uint8Array)&&(C=o.from(C,C.offset,C.byteLength)),!o.isBuffer(C))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+qt(C));if(A===void 0&&(A=0),G===void 0&&(G=C?C.length:0),I===void 0&&(I=0),te===void 0&&(te=this.length),A<0||G>C.length||I<0||te>this.length)throw new RangeError("out of range index");if(I>=te&&A>=G)return 0;if(I>=te)return-1;if(A>=G)return 1;if(A>>>=0,G>>>=0,I>>>=0,te>>>=0,this===C)return 0;for(var ae=te-I,ve=G-A,we=Math.min(ae,ve),Te=this.slice(I,te),He=C.slice(A,G),qe=0;qe2147483647?A=2147483647:A<-2147483648&&(A=-2147483648),A=+A,Se(A)&&(A=I?0:M.length-1),A<0&&(A=M.length+A),A>=M.length){if(I)return-1;A=M.length-1}else if(A<0)if(I)A=0;else return-1;if(typeof C=="string"&&(C=o.from(C,G)),o.isBuffer(C))return C.length===0?-1:x(M,C,A,G,I);if(typeof C=="number")return C=C&255,typeof Uint8Array.prototype.indexOf=="function"?I?Uint8Array.prototype.indexOf.call(M,C,A):Uint8Array.prototype.lastIndexOf.call(M,C,A):x(M,[C],A,G,I);throw new TypeError("val must be string, number or Buffer")}function x(M,C,A,G,I){var te=1,ae=M.length,ve=C.length;if(G!==void 0&&(G=String(G).toLowerCase(),G==="ucs2"||G==="ucs-2"||G==="utf16le"||G==="utf-16le")){if(M.length<2||C.length<2)return-1;te=2,ae/=2,ve/=2,A/=2}function we(bt,lt){return te===1?bt[lt]:bt.readUInt16BE(lt*te)}var Te;if(I){var He=-1;for(Te=A;Teae&&(A=ae-ve),Te=A;Te>=0;Te--){for(var qe=!0,ft=0;ftI&&(G=I)):G=I;var te=C.length;G>te/2&&(G=te/2);var ae;for(ae=0;ae>>0,isFinite(G)?(G=G>>>0,I===void 0&&(I="utf8")):(I=G,G=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var te=this.length-A;if((G===void 0||G>te)&&(G=te),C.length>0&&(G<0||A<0)||A>this.length)throw new RangeError("Attempt to write outside buffer bounds");I||(I="utf8");for(var ae=!1;;)switch(I){case"hex":return S(this,C,A,G);case"utf8":case"utf-8":return T(this,C,A,G);case"ascii":case"latin1":case"binary":return L(this,C,A,G);case"base64":return B(this,C,A,G);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,C,A,G);default:if(ae)throw new TypeError("Unknown encoding: "+I);I=(""+I).toLowerCase(),ae=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function R(M,C,A){return C===0&&A===M.length?e.fromByteArray(M):e.fromByteArray(M.slice(C,A))}function F(M,C,A){A=Math.min(M.length,A);for(var G=[],I=C;I239?4:te>223?3:te>191?2:1;if(I+ve<=A){var we=void 0,Te=void 0,He=void 0,qe=void 0;switch(ve){case 1:te<128&&(ae=te);break;case 2:we=M[I+1],(we&192)===128&&(qe=(te&31)<<6|we&63,qe>127&&(ae=qe));break;case 3:we=M[I+1],Te=M[I+2],(we&192)===128&&(Te&192)===128&&(qe=(te&15)<<12|(we&63)<<6|Te&63,qe>2047&&(qe<55296||qe>57343)&&(ae=qe));break;case 4:we=M[I+1],Te=M[I+2],He=M[I+3],(we&192)===128&&(Te&192)===128&&(He&192)===128&&(qe=(te&15)<<18|(we&63)<<12|(Te&63)<<6|He&63,qe>65535&&qe<1114112&&(ae=qe))}}ae===null?(ae=65533,ve=1):ae>65535&&(ae-=65536,G.push(ae>>>10&1023|55296),ae=56320|ae&1023),G.push(ae),I+=ve}return K(G)}var W=4096;function K(M){var C=M.length;if(C<=W)return String.fromCharCode.apply(String,M);for(var A="",G=0;GG)&&(A=G);for(var I="",te=C;teG&&(C=G),A<0?(A+=G,A<0&&(A=0)):A>G&&(A=G),AA)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUintLE=o.prototype.readUIntLE=function(C,A,G){C=C>>>0,A=A>>>0,G||D(C,A,this.length);for(var I=this[C],te=1,ae=0;++ae>>0,A=A>>>0,G||D(C,A,this.length);for(var I=this[C+--A],te=1;A>0&&(te*=256);)I+=this[C+--A]*te;return I},o.prototype.readUint8=o.prototype.readUInt8=function(C,A){return C=C>>>0,A||D(C,1,this.length),this[C]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(C,A){return C=C>>>0,A||D(C,2,this.length),this[C]|this[C+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(C,A){return C=C>>>0,A||D(C,2,this.length),this[C]<<8|this[C+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(C,A){return C=C>>>0,A||D(C,4,this.length),(this[C]|this[C+1]<<8|this[C+2]<<16)+this[C+3]*16777216},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(C,A){return C=C>>>0,A||D(C,4,this.length),this[C]*16777216+(this[C+1]<<16|this[C+2]<<8|this[C+3])},o.prototype.readBigUInt64LE=re(function(C){C=C>>>0,Ae(C,"offset");var A=this[C],G=this[C+7];(A===void 0||G===void 0)&&ke(C,this.length-8);var I=A+this[++C]*Math.pow(2,8)+this[++C]*Math.pow(2,16)+this[++C]*Math.pow(2,24),te=this[++C]+this[++C]*Math.pow(2,8)+this[++C]*Math.pow(2,16)+G*Math.pow(2,24);return BigInt(I)+(BigInt(te)<>>0,Ae(C,"offset");var A=this[C],G=this[C+7];(A===void 0||G===void 0)&&ke(C,this.length-8);var I=A*Math.pow(2,24)+this[++C]*Math.pow(2,16)+this[++C]*Math.pow(2,8)+this[++C],te=this[++C]*Math.pow(2,24)+this[++C]*Math.pow(2,16)+this[++C]*Math.pow(2,8)+G;return(BigInt(I)<>>0,A=A>>>0,G||D(C,A,this.length);for(var I=this[C],te=1,ae=0;++ae=te&&(I-=Math.pow(2,8*A)),I},o.prototype.readIntBE=function(C,A,G){C=C>>>0,A=A>>>0,G||D(C,A,this.length);for(var I=A,te=1,ae=this[C+--I];I>0&&(te*=256);)ae+=this[C+--I]*te;return te*=128,ae>=te&&(ae-=Math.pow(2,8*A)),ae},o.prototype.readInt8=function(C,A){return C=C>>>0,A||D(C,1,this.length),this[C]&128?(255-this[C]+1)*-1:this[C]},o.prototype.readInt16LE=function(C,A){C=C>>>0,A||D(C,2,this.length);var G=this[C]|this[C+1]<<8;return G&32768?G|4294901760:G},o.prototype.readInt16BE=function(C,A){C=C>>>0,A||D(C,2,this.length);var G=this[C+1]|this[C]<<8;return G&32768?G|4294901760:G},o.prototype.readInt32LE=function(C,A){return C=C>>>0,A||D(C,4,this.length),this[C]|this[C+1]<<8|this[C+2]<<16|this[C+3]<<24},o.prototype.readInt32BE=function(C,A){return C=C>>>0,A||D(C,4,this.length),this[C]<<24|this[C+1]<<16|this[C+2]<<8|this[C+3]},o.prototype.readBigInt64LE=re(function(C){C=C>>>0,Ae(C,"offset");var A=this[C],G=this[C+7];(A===void 0||G===void 0)&&ke(C,this.length-8);var I=this[C+4]+this[C+5]*Math.pow(2,8)+this[C+6]*Math.pow(2,16)+(G<<24);return(BigInt(I)<>>0,Ae(C,"offset");var A=this[C],G=this[C+7];(A===void 0||G===void 0)&&ke(C,this.length-8);var I=(A<<24)+this[++C]*Math.pow(2,16)+this[++C]*Math.pow(2,8)+this[++C];return(BigInt(I)<>>0,A||D(C,4,this.length),t.read(this,C,!0,23,4)},o.prototype.readFloatBE=function(C,A){return C=C>>>0,A||D(C,4,this.length),t.read(this,C,!1,23,4)},o.prototype.readDoubleLE=function(C,A){return C=C>>>0,A||D(C,8,this.length),t.read(this,C,!0,52,8)},o.prototype.readDoubleBE=function(C,A){return C=C>>>0,A||D(C,8,this.length),t.read(this,C,!1,52,8)};function q(M,C,A,G,I,te){if(!o.isBuffer(M))throw new TypeError('"buffer" argument must be a Buffer instance');if(C>I||CM.length)throw new RangeError("Index out of range")}o.prototype.writeUintLE=o.prototype.writeUIntLE=function(C,A,G,I){if(C=+C,A=A>>>0,G=G>>>0,!I){var te=Math.pow(2,8*G)-1;q(this,C,A,G,te,0)}var ae=1,ve=0;for(this[A]=C&255;++ve>>0,G=G>>>0,!I){var te=Math.pow(2,8*G)-1;q(this,C,A,G,te,0)}var ae=G-1,ve=1;for(this[A+ae]=C&255;--ae>=0&&(ve*=256);)this[A+ae]=C/ve&255;return A+G},o.prototype.writeUint8=o.prototype.writeUInt8=function(C,A,G){return C=+C,A=A>>>0,G||q(this,C,A,1,255,0),this[A]=C&255,A+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(C,A,G){return C=+C,A=A>>>0,G||q(this,C,A,2,65535,0),this[A]=C&255,this[A+1]=C>>>8,A+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(C,A,G){return C=+C,A=A>>>0,G||q(this,C,A,2,65535,0),this[A]=C>>>8,this[A+1]=C&255,A+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(C,A,G){return C=+C,A=A>>>0,G||q(this,C,A,4,4294967295,0),this[A+3]=C>>>24,this[A+2]=C>>>16,this[A+1]=C>>>8,this[A]=C&255,A+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(C,A,G){return C=+C,A=A>>>0,G||q(this,C,A,4,4294967295,0),this[A]=C>>>24,this[A+1]=C>>>16,this[A+2]=C>>>8,this[A+3]=C&255,A+4};function V(M,C,A,G,I){Ce(C,G,I,M,A,7);var te=Number(C&BigInt(4294967295));M[A++]=te,te=te>>8,M[A++]=te,te=te>>8,M[A++]=te,te=te>>8,M[A++]=te;var ae=Number(C>>BigInt(32)&BigInt(4294967295));return M[A++]=ae,ae=ae>>8,M[A++]=ae,ae=ae>>8,M[A++]=ae,ae=ae>>8,M[A++]=ae,A}function Q(M,C,A,G,I){Ce(C,G,I,M,A,7);var te=Number(C&BigInt(4294967295));M[A+7]=te,te=te>>8,M[A+6]=te,te=te>>8,M[A+5]=te,te=te>>8,M[A+4]=te;var ae=Number(C>>BigInt(32)&BigInt(4294967295));return M[A+3]=ae,ae=ae>>8,M[A+2]=ae,ae=ae>>8,M[A+1]=ae,ae=ae>>8,M[A]=ae,A+8}o.prototype.writeBigUInt64LE=re(function(C){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return V(this,C,A,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeBigUInt64BE=re(function(C){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Q(this,C,A,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeIntLE=function(C,A,G,I){if(C=+C,A=A>>>0,!I){var te=Math.pow(2,8*G-1);q(this,C,A,G,te-1,-te)}var ae=0,ve=1,we=0;for(this[A]=C&255;++ae>0)-we&255;return A+G},o.prototype.writeIntBE=function(C,A,G,I){if(C=+C,A=A>>>0,!I){var te=Math.pow(2,8*G-1);q(this,C,A,G,te-1,-te)}var ae=G-1,ve=1,we=0;for(this[A+ae]=C&255;--ae>=0&&(ve*=256);)C<0&&we===0&&this[A+ae+1]!==0&&(we=1),this[A+ae]=(C/ve>>0)-we&255;return A+G},o.prototype.writeInt8=function(C,A,G){return C=+C,A=A>>>0,G||q(this,C,A,1,127,-128),C<0&&(C=255+C+1),this[A]=C&255,A+1},o.prototype.writeInt16LE=function(C,A,G){return C=+C,A=A>>>0,G||q(this,C,A,2,32767,-32768),this[A]=C&255,this[A+1]=C>>>8,A+2},o.prototype.writeInt16BE=function(C,A,G){return C=+C,A=A>>>0,G||q(this,C,A,2,32767,-32768),this[A]=C>>>8,this[A+1]=C&255,A+2},o.prototype.writeInt32LE=function(C,A,G){return C=+C,A=A>>>0,G||q(this,C,A,4,2147483647,-2147483648),this[A]=C&255,this[A+1]=C>>>8,this[A+2]=C>>>16,this[A+3]=C>>>24,A+4},o.prototype.writeInt32BE=function(C,A,G){return C=+C,A=A>>>0,G||q(this,C,A,4,2147483647,-2147483648),C<0&&(C=4294967295+C+1),this[A]=C>>>24,this[A+1]=C>>>16,this[A+2]=C>>>8,this[A+3]=C&255,A+4},o.prototype.writeBigInt64LE=re(function(C){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return V(this,C,A,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),o.prototype.writeBigInt64BE=re(function(C){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Q(this,C,A,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Z(M,C,A,G,I,te){if(A+G>M.length)throw new RangeError("Index out of range");if(A<0)throw new RangeError("Index out of range")}function Y(M,C,A,G,I){return C=+C,A=A>>>0,I||Z(M,C,A,4),t.write(M,C,A,G,23,4),A+4}o.prototype.writeFloatLE=function(C,A,G){return Y(this,C,A,!0,G)},o.prototype.writeFloatBE=function(C,A,G){return Y(this,C,A,!1,G)};function ee(M,C,A,G,I){return C=+C,A=A>>>0,I||Z(M,C,A,8),t.write(M,C,A,G,52,8),A+8}o.prototype.writeDoubleLE=function(C,A,G){return ee(this,C,A,!0,G)},o.prototype.writeDoubleBE=function(C,A,G){return ee(this,C,A,!1,G)},o.prototype.copy=function(C,A,G,I){if(!o.isBuffer(C))throw new TypeError("argument should be a Buffer");if(G||(G=0),!I&&I!==0&&(I=this.length),A>=C.length&&(A=C.length),A||(A=0),I>0&&I=this.length)throw new RangeError("Index out of range");if(I<0)throw new RangeError("sourceEnd out of bounds");I>this.length&&(I=this.length),C.length-A>>0,G=G===void 0?this.length:G>>>0,C||(C=0);var ae;if(typeof C=="number")for(ae=A;aeMath.pow(2,32)?I=j(String(A)):typeof A=="bigint"&&(I=String(A),(A>Math.pow(BigInt(2),BigInt(32))||A<-Math.pow(BigInt(2),BigInt(32)))&&(I=j(I)),I+="n"),G+=" It must be ".concat(C,". Received ").concat(I),G},RangeError);function j(M){for(var C="",A=M.length,G=M[0]==="-"?1:0;A>=G+4;A-=3)C="_".concat(M.slice(A-3,A)).concat(C);return"".concat(M.slice(0,A)).concat(C)}function ce(M,C,A){Ae(C,"offset"),(M[C]===void 0||M[C+A]===void 0)&&ke(C,M.length-(A+1))}function Ce(M,C,A,G,I,te){if(M>A||M= 0".concat(ae," and < 2").concat(ae," ** ").concat((te+1)*8).concat(ae):ve=">= -(2".concat(ae," ** ").concat((te+1)*8-1).concat(ae,") and < 2 ** ")+"".concat((te+1)*8-1).concat(ae),new le.ERR_OUT_OF_RANGE("value",ve,M)}ce(G,I,te)}function Ae(M,C){if(typeof M!="number")throw new le.ERR_INVALID_ARG_TYPE(C,"number",M)}function ke(M,C,A){throw Math.floor(M)!==M?(Ae(M,A),new le.ERR_OUT_OF_RANGE("offset","an integer",M)):C<0?new le.ERR_BUFFER_OUT_OF_BOUNDS:new le.ERR_OUT_OF_RANGE("offset",">= ".concat(0," and <= ").concat(C),M)}var Pe=/[^+/0-9A-Za-z-_]/g;function Me(M){if(M=M.split("=")[0],M=M.trim().replace(Pe,""),M.length<2)return"";for(;M.length%4!==0;)M=M+"=";return M}function H(M,C){C=C||1/0;for(var A,G=M.length,I=null,te=[],ae=0;ae55295&&A<57344){if(!I){if(A>56319){(C-=3)>-1&&te.push(239,191,189);continue}else if(ae+1===G){(C-=3)>-1&&te.push(239,191,189);continue}I=A;continue}if(A<56320){(C-=3)>-1&&te.push(239,191,189),I=A;continue}A=(I-55296<<10|A-56320)+65536}else I&&(C-=3)>-1&&te.push(239,191,189);if(I=null,A<128){if((C-=1)<0)break;te.push(A)}else if(A<2048){if((C-=2)<0)break;te.push(A>>6|192,A&63|128)}else if(A<65536){if((C-=3)<0)break;te.push(A>>12|224,A>>6&63|128,A&63|128)}else if(A<1114112){if((C-=4)<0)break;te.push(A>>18|240,A>>12&63|128,A>>6&63|128,A&63|128)}else throw new Error("Invalid code point")}return te}function X(M){for(var C=[],A=0;A>8,I=A%256,te.push(I),te.push(G);return te}function _e(M){return e.toByteArray(Me(M))}function Le(M,C,A,G){var I;for(I=0;I=C.length||I>=M.length);++I)C[I+A]=M[I];return I}function Be(M,C){return M instanceof C||M!=null&&M.constructor!=null&&M.constructor.name!=null&&M.constructor.name===C.name}function Se(M){return M!==M}var We=function(){for(var M="0123456789abcdef",C=new Array(256),A=0;A<16;++A)for(var G=A*16,I=0;I<16;++I)C[G+I]=M[A]+M[I];return C}();function re(M){return typeof BigInt>"u"?Ge:M}function Ge(){throw new Error("BigInt not supported")}})(As);function Im(i,e,t,n,r,a,s){try{var o=i[a](s),u=o.value}catch(l){t(l);return}o.done?e(u):Promise.resolve(u).then(n,r)}function ut(i){return function(){var e=this,t=arguments;return new Promise(function(n,r){var a=i.apply(e,t);function s(u){Im(a,n,r,s,o,"next",u)}function o(u){Im(a,n,r,s,o,"throw",u)}s(void 0)})}}var py={exports:{}},dy={exports:{}};(function(i){function e(t){"@babel/helpers - typeof";return i.exports=e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},i.exports.__esModule=!0,i.exports.default=i.exports,e(t)}i.exports=e,i.exports.__esModule=!0,i.exports.default=i.exports})(dy);(function(i){var e=dy.exports.default;function t(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */i.exports=t=function(){return r},i.exports.__esModule=!0,i.exports.default=i.exports;var n,r={},a=Object.prototype,s=a.hasOwnProperty,o=Object.defineProperty||function(N,P,D){N[P]=D.value},u=typeof Symbol=="function"?Symbol:{},l=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function h(N,P,D){return Object.defineProperty(N,P,{value:D,enumerable:!0,configurable:!0,writable:!0}),N[P]}try{h({},"")}catch{h=function(D,q,V){return D[q]=V}}function p(N,P,D,q){var V=P&&P.prototype instanceof _?P:_,Q=Object.create(V.prototype),Z=new $(q||[]);return o(Q,"_invoke",{value:R(N,D,Z)}),Q}function m(N,P,D){try{return{type:"normal",arg:N.call(P,D)}}catch(q){return{type:"throw",arg:q}}}r.wrap=p;var v="suspendedStart",g="suspendedYield",d="executing",y="completed",b={};function _(){}function w(){}function E(){}var x={};h(x,l,function(){return this});var S=Object.getPrototypeOf,T=S&&S(S(U([])));T&&T!==a&&s.call(T,l)&&(x=T);var L=E.prototype=_.prototype=Object.create(x);function B(N){["next","throw","return"].forEach(function(P){h(N,P,function(D){return this._invoke(P,D)})})}function k(N,P){function D(V,Q,Z,Y){var ee=m(N[V],N,Q);if(ee.type!=="throw"){var le=ee.arg,Ee=le.value;return Ee&&e(Ee)=="object"&&s.call(Ee,"__await")?P.resolve(Ee.__await).then(function(j){D("next",j,Z,Y)},function(j){D("throw",j,Z,Y)}):P.resolve(Ee).then(function(j){le.value=j,Z(le)},function(j){return D("throw",j,Z,Y)})}Y(ee.arg)}var q;o(this,"_invoke",{value:function(Q,Z){function Y(){return new P(function(ee,le){D(Q,Z,ee,le)})}return q=q?q.then(Y,Y):Y()}})}function R(N,P,D){var q=v;return function(V,Q){if(q===d)throw new Error("Generator is already running");if(q===y){if(V==="throw")throw Q;return{value:n,done:!0}}for(D.method=V,D.arg=Q;;){var Z=D.delegate;if(Z){var Y=F(Z,D);if(Y){if(Y===b)continue;return Y}}if(D.method==="next")D.sent=D._sent=D.arg;else if(D.method==="throw"){if(q===v)throw q=y,D.arg;D.dispatchException(D.arg)}else D.method==="return"&&D.abrupt("return",D.arg);q=d;var ee=m(N,P,D);if(ee.type==="normal"){if(q=D.done?y:g,ee.arg===b)continue;return{value:ee.arg,done:D.done}}ee.type==="throw"&&(q=y,D.method="throw",D.arg=ee.arg)}}}function F(N,P){var D=P.method,q=N.iterator[D];if(q===n)return P.delegate=null,D==="throw"&&N.iterator.return&&(P.method="return",P.arg=n,F(N,P),P.method==="throw")||D!=="return"&&(P.method="throw",P.arg=new TypeError("The iterator does not provide a '"+D+"' method")),b;var V=m(q,N.iterator,P.arg);if(V.type==="throw")return P.method="throw",P.arg=V.arg,P.delegate=null,b;var Q=V.arg;return Q?Q.done?(P[N.resultName]=Q.value,P.next=N.nextLoc,P.method!=="return"&&(P.method="next",P.arg=n),P.delegate=null,b):Q:(P.method="throw",P.arg=new TypeError("iterator result is not an object"),P.delegate=null,b)}function W(N){var P={tryLoc:N[0]};1 in N&&(P.catchLoc=N[1]),2 in N&&(P.finallyLoc=N[2],P.afterLoc=N[3]),this.tryEntries.push(P)}function K(N){var P=N.completion||{};P.type="normal",delete P.arg,N.completion=P}function $(N){this.tryEntries=[{tryLoc:"root"}],N.forEach(W,this),this.reset(!0)}function U(N){if(N||N===""){var P=N[l];if(P)return P.call(N);if(typeof N.next=="function")return N;if(!isNaN(N.length)){var D=-1,q=function V(){for(;++D=0;--V){var Q=this.tryEntries[V],Z=Q.completion;if(Q.tryLoc==="root")return q("end");if(Q.tryLoc<=this.prev){var Y=s.call(Q,"catchLoc"),ee=s.call(Q,"finallyLoc");if(Y&&ee){if(this.prev=0;--q){var V=this.tryEntries[q];if(V.tryLoc<=this.prev&&s.call(V,"finallyLoc")&&this.prev=0;--D){var q=this.tryEntries[D];if(q.finallyLoc===P)return this.complete(q.completion,q.afterLoc),K(q),b}},catch:function(P){for(var D=this.tryEntries.length-1;D>=0;--D){var q=this.tryEntries[D];if(q.tryLoc===P){var V=q.completion;if(V.type==="throw"){var Q=V.arg;K(q)}return Q}}throw new Error("illegal catch attempt")},delegateYield:function(P,D,q){return this.delegate={iterator:U(P),resultName:D,nextLoc:q},this.method==="next"&&(this.arg=n),b}},r}i.exports=t,i.exports.__esModule=!0,i.exports.default=i.exports})(py);var Ec=py.exports(),me=Ec;try{regeneratorRuntime=Ec}catch{(typeof globalThis>"u"?"undefined":qt(globalThis))==="object"?globalThis.regeneratorRuntime=Ec:Function("r","regeneratorRuntime = r")(Ec)}function vv(i){return btoa(unescape(encodeURIComponent(i)))}function mv(i){return decodeURIComponent(escape(atob(i)))}function gv(i){return yp.apply(this,arguments)}function yp(){return yp=ut(me.mark(function i(e){var t,n,r,a,s,o,u,l,c,f,h;return me.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(t=e.blob,n=e.filename,r=n===void 0?"":n,a=e.types,s=a===void 0?[{description:"mxweb File",accept:{"application/octet-stream":[".mxweb"]}}]:a,m.prev=1,!window.showSaveFilePicker){m.next=28;break}if(!((u=window.navigator)!==null&&u!==void 0&&(l=u.userActivation)!==null&&l!==void 0&&l.isActive)){m.next=27;break}if(m.prev=4,window.showSaveFilePicker){m.next=7;break}return m.abrupt("return");case 7:return m.next=9,window.showSaveFilePicker({suggestedName:r,types:s});case 9:return c=m.sent,m.next=12,c.createWritable();case 12:return f=m.sent,m.next=15,f.write(t);case 15:return m.next=17,f.close();case 17:return m.abrupt("return",c);case 20:if(m.prev=20,m.t0=m.catch(4),(m.t0===null||m.t0===void 0?void 0:m.t0.name)!=="AbortError"){m.next=24;break}return m.abrupt("return");case 24:console.error(m.t0);case 25:m.next=28;break;case 27:console.warn("非用户交互 无法调用showSaveFilePicker 已选择兼容方案");case 28:if(!((o=window.navigator)!==null&&o!==void 0&&o.msSaveOrOpenBlob)){m.next=31;break}return window.navigator.msSaveOrOpenBlob(t,r),m.abrupt("return");case 31:h=document.createElement("a"),h.href=window.URL.createObjectURL(t),h.download=r,h.style.display="none",document.body.appendChild(h),h.click(),document.body.removeChild(h),typeof window.URL.revokeObjectURL=="function"?window.URL.revokeObjectURL(h.href):typeof window.webkitURL<"u"&&typeof window.webkitURL.revokeObjectURL=="function"?window.webkitURL.revokeObjectURL(h.href):window.URL.revokeObjectURL(h.href),m.next=44;break;case 41:m.prev=41,m.t1=m.catch(1),console.error(m.t1.name,m.t1.message);case 44:case"end":return m.stop()}},i,null,[[1,41],[4,20]])})),yp.apply(this,arguments)}function yv(i,e){var t=document.createElement("a");t.href=window.URL.createObjectURL(i),t.download=e,t.click()}function bv(i,e){fetch(i).then(function(t){return t.blob()}).then(function(t){var n=document.createElement("a");n.href=window.URL.createObjectURL(t),n.download=e,n.click()})}var qf=function(){var i=ut(me.mark(function e(t){return me.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,fetch(t);case 3:return r.next=5,r.sent.json();case 5:return r.abrupt("return",r.sent);case 8:r.prev=8,r.t0=r.catch(0),console.error("MxTip:error getJsonFromurl:"+t);case 11:case"end":return r.stop()}},e,null,[[0,8]])}));return function(t){return i.apply(this,arguments)}}(),wv=function(){var i=ut(me.mark(function e(t){return me.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,fetch(t);case 3:return r.abrupt("return",r.sent);case 6:r.prev=6,r.t0=r.catch(0),console.error("MxTip:error getFileFromUrl:"+t);case 9:case"end":return r.stop()}},e,null,[[0,6]])}));return function(t){return i.apply(this,arguments)}}();function Pt(i,e){return Ve.getLanguageString(i,e)}function Zf(i){return Math.abs(i)<1e-7}function _v(i,e,t,n,r){try{var a=new FormData,s=new Blob([i],{type:"application/octet-stream"});a.append("file",new File([s],t)),r&&a.append("param",r);var o=new XMLHttpRequest;o.open("POST",e),o.send(a),o.onreadystatechange=function(){o.readyState===XMLHttpRequest.DONE&&(o.status===200?n(0,o.responseText):(console.log(o.responseText),n(4,"server error")))}}catch{n(-1,"catch error")}}function Ev(i,e,t,n){var r=window.indexedDB.open("emscripten_filesystem",1);r.onerror=function(){t(1,"open emscripten_filesystem failed")},r.onsuccess=function(a){try{if(a.target!=null){var s=a.target.result,o=s.transaction("FILES","readonly"),u=o.objectStore("FILES"),l=u.get(i);l.onerror=function(){t(3,"get file error")},l.onsuccess=function(){var c=l.result;if(c){var f=new FormData;f.append("file",c),n&&f.append("param",n);var h=new XMLHttpRequest;h.open("POST",e),h.send(f),h.onreadystatechange=function(){h.readyState===XMLHttpRequest.DONE&&(h.status===200?t(0,h.responseText):(console.log(h.responseText),t(4,"server error")))}}else t(5,"get file data error")}}else t(2,"event.target == null")}catch{t(-1,"catch error")}}}function wh(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:128,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:10,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"#ffffff",r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:document.createElement("canvas"),a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"transparent";r.width=r.height=i,r.style.background=a;var s=r.getContext("2d"),o=i%2===0?-.5:0,u=e%2===0?-.5:0;return s.strokeStyle=n,s.lineWidth=0,s.imageSmoothingEnabled=!1,t&&(s.beginPath(),s.moveTo(r.width/2+o,o),s.lineTo(r.width/2+o,r.height+o),s.stroke(),s.beginPath(),s.moveTo(o,r.height/2+o),s.lineTo(r.width+o,r.height/2+o),s.stroke()),s.beginPath(),s.strokeRect(i/2-e/2+u,i/2-e/2+u,e,e),s.stroke(),r.toDataURL("image/png")}function Cv(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:128,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:10,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"#ffffff";return{Rect:"url('".concat(wh(i,e,!1,t),"') ").concat(i/2," ").concat(i/2,", auto"),Cross:"url('".concat(wh(i,0,!0,t),"') ").concat(i/2," ").concat(i/2," , auto"),Normal:"url('".concat(wh(i,e,!0,t),"') ").concat(i/2," ").concat(i/2,", auto")}}var fo={b64Encode:vv,b64Decode:mv,saveAsFileDialog:gv,downloadFile:yv,downloadFileFromUrl:bv,getJsonFromUrl:qf,getFileFromUrl:wv,_ML_String:Pt,IsZero:Zf,postEmscriptenIndexedDBFile:Ev,postMemoryFile:_v,createCursor:Cv};function ge(i,e,t){return e=fy(e),e in i?Object.defineProperty(i,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):i[e]=t,i}var bp={exports:{}},Cc=As,ho=Cc.Buffer,Hr={},jr;for(jr in Cc)Cc.hasOwnProperty(jr)&&(jr==="SlowBuffer"||jr==="Buffer"||(Hr[jr]=Cc[jr]));var po=Hr.Buffer={};for(jr in ho)ho.hasOwnProperty(jr)&&(jr==="allocUnsafe"||jr==="allocUnsafeSlow"||(po[jr]=ho[jr]));Hr.Buffer.prototype=ho.prototype;(!po.from||po.from===Uint8Array.from)&&(po.from=function(i,e,t){if(typeof i=="number")throw new TypeError('The "value" argument must not be of type number. Received type '+qt(i));if(i&&typeof i.length>"u")throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+qt(i));return ho(i,e,t)});po.alloc||(po.alloc=function(i,e,t){if(typeof i!="number")throw new TypeError('The "size" argument must be of type number. Received type '+qt(i));if(i<0||i>=2*(1<<30))throw new RangeError('The value "'+i+'" is invalid for option "size"');var n=ho(i);return!e||e.length===0?n.fill(0):typeof t=="string"?n.fill(e,t):n.fill(e),n});if(!Hr.kStringMaxLength)try{Hr.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch{}Hr.constants||(Hr.constants={MAX_LENGTH:Hr.kMaxLength},Hr.kStringMaxLength&&(Hr.constants.MAX_STRING_LENGTH=Hr.kStringMaxLength));var Ua=Hr,Sv={},vy="\uFEFF";Sv.PrependBOM=Av;function Av(i,e){this.encoder=i,this.addBOM=!0}Av.prototype.write=function(i){return this.addBOM&&(i=vy+i,this.addBOM=!1),this.encoder.write(i)};Av.prototype.end=function(){return this.encoder.end()};Sv.StripBOM=xv;function xv(i,e){this.decoder=i,this.pass=!1,this.options=e||{}}xv.prototype.write=function(i){var e=this.decoder.write(i);return this.pass||!e||(e[0]===vy&&(e=e.slice(1),typeof this.options.stripBOM=="function"&&this.options.stripBOM()),this.pass=!0),e};xv.prototype.end=function(){return this.decoder.end()};var _h={},Eh={},Rl={exports:{}};/*! safe-buffer. MIT License. Feross Aboukhadijeh */var Pm;function Hw(){return Pm||(Pm=1,function(i,e){var t=As,n=t.Buffer;function r(s,o){for(var u in s)o[u]=s[u]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?i.exports=t:(r(t,e),e.Buffer=a);function a(s,o,u){return n(s,o,u)}a.prototype=Object.create(n.prototype),r(n,a),a.from=function(s,o,u){if(typeof s=="number")throw new TypeError("Argument must not be a number");return n(s,o,u)},a.alloc=function(s,o,u){if(typeof s!="number")throw new TypeError("Argument must be a number");var l=n(s);return o!==void 0?typeof u=="string"?l.fill(o,u):l.fill(o):l.fill(0),l},a.allocUnsafe=function(s){if(typeof s!="number")throw new TypeError("Argument must be a number");return n(s)},a.allocUnsafeSlow=function(s){if(typeof s!="number")throw new TypeError("Argument must be a number");return t.SlowBuffer(s)}}(Rl,Rl.exports)),Rl.exports}var Fm;function jw(){if(Fm)return Eh;Fm=1;var i=Hw().Buffer,e=i.isEncoding||function(d){switch(d=""+d,d&&d.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function t(d){if(!d)return"utf8";for(var y;;)switch(d){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return d;default:if(y)return;d=(""+d).toLowerCase(),y=!0}}function n(d){var y=t(d);if(typeof y!="string"&&(i.isEncoding===e||!e(d)))throw new Error("Unknown encoding: "+d);return y||d}Eh.StringDecoder=r;function r(d){this.encoding=n(d);var y;switch(this.encoding){case"utf16le":this.text=f,this.end=h,y=4;break;case"utf8":this.fillLast=u,y=4;break;case"base64":this.text=p,this.end=m,y=3;break;default:this.write=v,this.end=g;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=i.allocUnsafe(y)}r.prototype.write=function(d){if(d.length===0)return"";var y,b;if(this.lastNeed){if(y=this.fillLast(d),y===void 0)return"";b=this.lastNeed,this.lastNeed=0}else b=0;return b>5===6?2:d>>4===14?3:d>>3===30?4:d>>6===2?-1:-2}function s(d,y,b){var _=y.length-1;if(_=0?(w>0&&(d.lastNeed=w-1),w):--_=0?(w>0&&(d.lastNeed=w-2),w):--_=0?(w>0&&(w===2?w=0:d.lastNeed=w-3),w):0))}function o(d,y,b){if((y[0]&192)!==128)return d.lastNeed=0,"�";if(d.lastNeed>1&&y.length>1){if((y[1]&192)!==128)return d.lastNeed=1,"�";if(d.lastNeed>2&&y.length>2&&(y[2]&192)!==128)return d.lastNeed=2,"�"}}function u(d){var y=this.lastTotal-this.lastNeed,b=o(this,d);if(b!==void 0)return b;if(this.lastNeed<=d.length)return d.copy(this.lastChar,y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);d.copy(this.lastChar,y,0,d.length),this.lastNeed-=d.length}function l(d,y){var b=s(this,d,y);if(!this.lastNeed)return d.toString("utf8",y);this.lastTotal=b;var _=d.length-(b-this.lastNeed);return d.copy(this.lastChar,0,_),d.toString("utf8",y,_)}function c(d){var y=d&&d.length?this.write(d):"";return this.lastNeed?y+"�":y}function f(d,y){if((d.length-y)%2===0){var b=d.toString("utf16le",y);if(b){var _=b.charCodeAt(b.length-1);if(_>=55296&&_<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=d[d.length-2],this.lastChar[1]=d[d.length-1],b.slice(0,-1)}return b}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=d[d.length-1],d.toString("utf16le",y,d.length-1)}function h(d){var y=d&&d.length?this.write(d):"";if(this.lastNeed){var b=this.lastTotal-this.lastNeed;return y+this.lastChar.toString("utf16le",0,b)}return y}function p(d,y){var b=(d.length-y)%3;return b===0?d.toString("base64",y):(this.lastNeed=3-b,this.lastTotal=3,b===1?this.lastChar[0]=d[d.length-1]:(this.lastChar[0]=d[d.length-2],this.lastChar[1]=d[d.length-1]),d.toString("base64",y,d.length-b))}function m(d){var y=d&&d.length?this.write(d):"";return this.lastNeed?y+this.lastChar.toString("base64",0,3-this.lastNeed):y}function v(d){return d.toString(this.encoding)}function g(d){return d&&d.length?this.write(d):""}return Eh}var Ch,Rm;function Yw(){if(Rm)return Ch;Rm=1;var i=Ua.Buffer;Ch={utf8:{type:"_internal",bomAware:!0},cesu8:{type:"_internal",bomAware:!0},unicode11utf8:"utf8",ucs2:{type:"_internal",bomAware:!0},utf16le:"ucs2",binary:{type:"_internal"},base64:{type:"_internal"},hex:{type:"_internal"},_internal:e};function e(u,l){this.enc=u.encodingName,this.bomAware=u.bomAware,this.enc==="base64"?this.encoder=a:this.enc==="cesu8"&&(this.enc="utf8",this.encoder=s,i.from("eda0bdedb2a9","hex").toString()!=="💩"&&(this.decoder=o,this.defaultCharUnicode=l.defaultCharUnicode))}e.prototype.encoder=r,e.prototype.decoder=n;var t=jw().StringDecoder;t.prototype.end||(t.prototype.end=function(){});function n(u,l){this.decoder=new t(l.enc)}n.prototype.write=function(u){return i.isBuffer(u)||(u=i.from(u)),this.decoder.write(u)},n.prototype.end=function(){return this.decoder.end()};function r(u,l){this.enc=l.enc}r.prototype.write=function(u){return i.from(u,this.enc)},r.prototype.end=function(){};function a(u,l){this.prevStr=""}a.prototype.write=function(u){u=this.prevStr+u;var l=u.length-u.length%4;return this.prevStr=u.slice(l),u=u.slice(0,l),i.from(u,"base64")},a.prototype.end=function(){return i.from(this.prevStr,"base64")};function s(u,l){}s.prototype.write=function(u){for(var l=i.alloc(u.length*3),c=0,f=0;f>>6),l[c++]=128+(h&63)):(l[c++]=224+(h>>>12),l[c++]=128+(h>>>6&63),l[c++]=128+(h&63))}return l.slice(0,c)},s.prototype.end=function(){};function o(u,l){this.acc=0,this.contBytes=0,this.accBytes=0,this.defaultCharUnicode=l.defaultCharUnicode}return o.prototype.write=function(u){for(var l=this.acc,c=this.contBytes,f=this.accBytes,h="",p=0;p0&&(h+=this.defaultCharUnicode,c=0),m<128?h+=String.fromCharCode(m):m<224?(l=m&31,c=1,f=1):m<240?(l=m&15,c=2,f=1):h+=this.defaultCharUnicode):c>0?(l=l<<6|m&63,c--,f++,c===0&&(f===2&&l<128&&l>0?h+=this.defaultCharUnicode:f===3&&l<2048?h+=this.defaultCharUnicode:h+=String.fromCharCode(l))):h+=this.defaultCharUnicode}return this.acc=l,this.contBytes=c,this.accBytes=f,h},o.prototype.end=function(){var u=0;return this.contBytes>0&&(u+=this.defaultCharUnicode),u},Ch}var Ni={},Lm;function Kw(){if(Lm)return Ni;Lm=1;var i=Ua.Buffer;Ni._utf32=e;function e(l,c){this.iconv=c,this.bomAware=!0,this.isLE=l.isLE}Ni.utf32le={type:"_utf32",isLE:!0},Ni.utf32be={type:"_utf32",isLE:!1},Ni.ucs4le="utf32le",Ni.ucs4be="utf32be",e.prototype.encoder=t,e.prototype.decoder=n;function t(l,c){this.isLE=c.isLE,this.highSurrogate=0}t.prototype.write=function(l){for(var c=i.from(l,"ucs2"),f=i.alloc(c.length*2),h=this.isLE?f.writeUInt32LE:f.writeUInt32BE,p=0,m=0;m0){for(;c1114111)&&(f=h),f>=65536){f-=65536;var p=55296|f>>10;l[c++]=p&255,l[c++]=p>>8;var f=56320|f&1023}return l[c++]=f&255,l[c++]=f>>8,c}n.prototype.end=function(){this.overflow.length=0},Ni.utf32=a,Ni.ucs4="utf32";function a(l,c){this.iconv=c}a.prototype.encoder=s,a.prototype.decoder=o;function s(l,c){l=l||{},l.addBOM===void 0&&(l.addBOM=!0),this.encoder=c.iconv.getEncoder(l.defaultEncoding||"utf-32le",l)}s.prototype.write=function(l){return this.encoder.write(l)},s.prototype.end=function(){return this.encoder.end()};function o(l,c){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=l||{},this.iconv=c.iconv}o.prototype.write=function(l){if(!this.decoder){if(this.initialBufs.push(l),this.initialBufsLen+=l.length,this.initialBufsLen<32)return"";var c=u(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(c,this.options);for(var f="",h=0;h16)&&m++,(f[3]!==0||f[2]>16)&&p++,f[0]===0&&f[1]===0&&(f[2]!==0||f[3]!==0)&&g++,(f[0]!==0||f[1]!==0)&&f[2]===0&&f[3]===0&&v++,f.length=0,h++,h>=100)break e}return g-m>v-p?"utf-32be":g-m=100)break e}return p>h?"utf-16be":p0&&(v=this.iconv.decode(i.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",v},ru.utf7imap=f;function f(v,g){this.iconv=g}f.prototype.encoder=h,f.prototype.decoder=p,f.prototype.bomAware=!0;function h(v,g){this.iconv=g.iconv,this.inBase64=!1,this.base64Accum=i.alloc(6),this.base64AccumIdx=0}h.prototype.write=function(v){for(var g=this.inBase64,d=this.base64Accum,y=this.base64AccumIdx,b=i.alloc(v.length*5+10),_=0,w=0;w0&&(_+=b.write(d.slice(0,y).toString("base64").replace(/\//g,",").replace(/=+$/,""),_),y=0),b[_++]=l,g=!1),g||(b[_++]=E,E===c&&(b[_++]=l))):(g||(b[_++]=c,g=!0),g&&(d[y++]=E>>8,d[y++]=E&255,y==d.length&&(_+=b.write(d.toString("base64").replace(/\//g,","),_),y=0)))}return this.inBase64=g,this.base64AccumIdx=y,b.slice(0,_)},h.prototype.end=function(){var v=i.alloc(10),g=0;return this.inBase64&&(this.base64AccumIdx>0&&(g+=v.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),g),this.base64AccumIdx=0),v[g++]=l,this.inBase64=!1),v.slice(0,g)};function p(v,g){this.iconv=g.iconv,this.inBase64=!1,this.base64Accum=""}var m=s.slice();return m[44]=!0,p.prototype.write=function(v){for(var g="",d=0,y=this.inBase64,b=this.base64Accum,_=0;_0&&(v=this.iconv.decode(i.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",v},ru}var Sh={},Nm;function Zw(){if(Nm)return Sh;Nm=1;var i=Ua.Buffer;Sh._sbcs=e;function e(r,a){if(!r)throw new Error("SBCS codec is called without the data.");if(!r.chars||r.chars.length!==128&&r.chars.length!==256)throw new Error("Encoding '"+r.type+"' has incorrect 'chars' (must be of len 128 or 256)");if(r.chars.length===128){for(var s="",o=0;o<128;o++)s+=String.fromCharCode(o);r.chars=s+r.chars}this.decodeBuf=i.from(r.chars,"ucs2");for(var u=i.alloc(65536,a.defaultCharSingleByte.charCodeAt(0)),o=0;o?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ��ﻻﻼ� ­ﺂ£¤ﺄ��ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■�`},ibm864:"cp864",csibm864:"cp864",cp865:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm865:"cp865",csibm865:"cp865",cp866:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ "},ibm866:"cp866",csibm866:"cp866",cp869:{type:"_sbcs",chars:"������Ά�·¬¦‘’Έ―ΉΊΪΌ��ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄­±υφχ§ψ΅°¨ωϋΰώ■ "},ibm869:"cp869",csibm869:"cp869",cp922:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖרÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ"},ibm922:"cp922",csibm922:"cp922",cp1046:{type:"_sbcs",chars:"ﺈ×÷ﹱˆ■│─┐┌└┘ﹹﹻﹽﹿﹷﺊﻰﻳﻲﻎﻏﻐﻶﻸﻺﻼ ¤ﺋﺑﺗﺛﺟﺣ،­ﺧﺳ٠١٢٣٤٥٦٧٨٩ﺷ؛ﺻﺿﻊ؟ﻋءآأؤإئابةتثجحخدذرزسشصضطﻇعغﻌﺂﺄﺎﻓـفقكلمنهوىيًٌٍَُِّْﻗﻛﻟﻵﻷﻹﻻﻣﻧﻬﻩ�"},ibm1046:"cp1046",csibm1046:"cp1046",cp1124:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂҐЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђґєѕіїјљњћќ§ўџ"},ibm1124:"cp1124",csibm1124:"cp1124",cp1125:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■ "},ibm1125:"cp1125",csibm1125:"cp1125",cp1129:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1129:"cp1129",csibm1129:"cp1129",cp1133:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ກຂຄງຈສຊຍດຕຖທນບປຜຝພຟມຢຣລວຫອຮ���ຯະາຳິີຶືຸູຼັົຽ���ເແໂໃໄ່້໊໋໌ໍໆ�ໜໝ₭����������������໐໑໒໓໔໕໖໗໘໙��¢¬¦�"},ibm1133:"cp1133",csibm1133:"cp1133",cp1161:{type:"_sbcs",chars:"��������������������������������่กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู้๊๋€฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛¢¬¦ "},ibm1161:"cp1161",csibm1161:"cp1161",cp1162:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},ibm1162:"cp1162",csibm1162:"cp1162",cp1163:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1163:"cp1163",csibm1163:"cp1163",maccroatian:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈ƫȅ ÀÃÕŒœĐ—“”‘’÷◊�©⁄¤‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ"},maccyrillic:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},macgreek:{type:"_sbcs",chars:"Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦­ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�"},maciceland:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macroman:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macromania:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂŞ∞±≤≥¥µ∂∑∏π∫ªºΩăş¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›Ţţ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macthai:{type:"_sbcs",chars:"«»…“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู\uFEFF​–—฿เแโใไๅๆ็่้๊๋์ํ™๏๐๑๒๓๔๕๖๗๘๙®©����"},macturkish:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ"},macukraine:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},koi8r:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8u:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8ru:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґў╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪ҐЎ©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8t:{type:"_sbcs",chars:"қғ‚Ғ„…†‡�‰ҳ‹ҲҷҶ�Қ‘’“”•–—�™�›�����ӯӮё¤ӣ¦§���«¬­®�°±²Ё�Ӣ¶·�№�»���©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},armscii8:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �և։)(»«—.՝,-֊…՜՛՞ԱաԲբԳգԴդԵեԶզԷէԸըԹթԺժԻիԼլԽխԾծԿկՀհՁձՂղՃճՄմՅյՆնՇշՈոՉչՊպՋջՌռՍսՎվՏտՐրՑցՒւՓփՔքՕօՖֆ՚�"},rk1048:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—�™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬­®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},tcvn:{type:"_sbcs",chars:`\0ÚỤỪỬỮ\x07\b \v\f\rỨỰỲỶỸÝỴ\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ÀẢÃÁẠẶẬÈẺẼÉẸỆÌỈĨÍỊÒỎÕÓỌỘỜỞỠỚỢÙỦŨ ĂÂÊÔƠƯĐăâêôơưđẶ̀̀̉̃́àảãáạẲằẳẵắẴẮẦẨẪẤỀặầẩẫấậèỂẻẽéẹềểễếệìỉỄẾỒĩíịòỔỏõóọồổỗốộờởỡớợùỖủũúụừửữứựỳỷỹýỵỐ`},georgianacademy:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},georgianps:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზჱთიკლმნჲოპჟრსტჳუფქღყშჩცძწჭხჴჯჰჵæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},pt154:{type:"_sbcs",chars:"ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},viscii:{type:"_sbcs",chars:`\0ẲẴẪ\x07\b \v\f\rỶỸ\x1BỴ !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ẠẮẰẶẤẦẨẬẼẸẾỀỂỄỆỐỒỔỖỘỢỚỜỞỊỎỌỈỦŨỤỲÕắằặấầẩậẽẹếềểễệốồổỗỠƠộờởịỰỨỪỬơớƯÀÁÂÃẢĂẳẵÈÉÊẺÌÍĨỳĐứÒÓÔạỷừửÙÚỹỵÝỡưàáâãảăữẫèéêẻìíĩỉđựòóôõỏọụùúũủýợỮ`},iso646cn:{type:"_sbcs",chars:`\0\x07\b \v\f\r\x1B !"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������`},iso646jp:{type:"_sbcs",chars:`\0\x07\b \v\f\r\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[¥]^_\`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������`},hproman8:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±�"},macintosh:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},ascii:{type:"_sbcs",chars:"��������������������������������������������������������������������������������������������������������������������������������"},tis620:{type:"_sbcs",chars:"���������������������������������กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"}}),xh}var Th={},Vm;function Qw(){if(Vm)return Th;Vm=1;var i=Ua.Buffer;Th._dbcs=u;for(var e=-1,t=-2,n=-10,r=-1e3,a=new Array(256),s=-1,o=0;o<256;o++)a[o]=e;function u(h,p){if(this.encodingName=h.encodingName,!h)throw new Error("DBCS codec is called without the data.");if(!h.table)throw new Error("Encoding '"+this.encodingName+"' has no data.");var m=h.table();this.decodeTables=[],this.decodeTables[0]=a.slice(0),this.decodeTableSeq=[];for(var v=0;vr)throw new Error("gb18030 decode tables conflict at byte 2");for(var w=this.decodeTables[r-b[_]],E=129;E<=254;E++){if(w[E]===e)w[E]=r-d;else{if(w[E]===r-d)continue;if(w[E]>r)throw new Error("gb18030 decode tables conflict at byte 3")}for(var x=this.decodeTables[r-w[E]],S=48;S<=57;S++)x[S]===e&&(x[S]=t)}}}this.defaultCharUnicode=p.defaultCharUnicode,this.encodeTable=[],this.encodeTableSeq=[];var T={};if(h.encodeSkipVals)for(var v=0;v0;h>>>=8)p.push(h&255);p.length==0&&p.push(0);for(var m=this.decodeTables[0],v=p.length-1;v>0;v--){var g=m[p[v]];if(g==e)m[p[v]]=r-this.decodeTables.length,this.decodeTables.push(m=a.slice(0));else if(g<=r)m=this.decodeTables[r-g];else throw new Error("Overwrite byte in "+this.encodingName+", addr: "+h.toString(16))}return m},u.prototype._addDecodeChunk=function(h){var p=parseInt(h[0],16),m=this._getDecodeTrieNode(p);p=p&255;for(var v=1;v255)throw new Error("Incorrect chunk in "+this.encodingName+" at addr "+h[0]+": too long"+p)},u.prototype._getEncodeBucket=function(h){var p=h>>8;return this.encodeTable[p]===void 0&&(this.encodeTable[p]=a.slice(0)),this.encodeTable[p]},u.prototype._setEncodeChar=function(h,p){var m=this._getEncodeBucket(h),v=h&255;m[v]<=n?this.encodeTableSeq[n-m[v]][s]=p:m[v]==e&&(m[v]=p)},u.prototype._setEncodeSequence=function(h,p){var m=h[0],v=this._getEncodeBucket(m),g=m&255,d;v[g]<=n?d=this.encodeTableSeq[n-v[g]]:(d={},v[g]!==e&&(d[s]=v[g]),v[g]=n-this.encodeTableSeq.length,this.encodeTableSeq.push(d));for(var y=1;y=0)this._setEncodeChar(b,_),g=!0;else if(b<=r){var w=r-b;if(!d[w]){var E=_<<8>>>0;this._fillEncodeTable(w,E,m)?g=!0:d[w]=!0}}else b<=n&&(this._setEncodeSequence(this.decodeTableSeq[n-b],_),g=!0)}return g};function l(h,p){this.leadSurrogate=-1,this.seqObj=void 0,this.encodeTable=p.encodeTable,this.encodeTableSeq=p.encodeTableSeq,this.defaultCharSingleByte=p.defCharSB,this.gb18030=p.gb18030}l.prototype.write=function(h){for(var p=i.alloc(h.length*(this.gb18030?4:3)),m=this.leadSurrogate,v=this.seqObj,g=-1,d=0,y=0;;){if(g===-1){if(d==h.length)break;var b=h.charCodeAt(d++)}else{var b=g;g=-1}if(55296<=b&&b<57344)if(b<56320)if(m===-1){m=b;continue}else m=b,b=e;else m!==-1?(b=65536+(m-55296)*1024+(b-56320),m=-1):b=e;else m!==-1&&(g=b,b=e,m=-1);var _=e;if(v!==void 0&&b!=e){var w=v[b];if(qt(w)==="object"){v=w;continue}else typeof w=="number"?_=w:w==null&&(w=v[s],w!==void 0&&(_=w,g=b));v=void 0}else if(b>=0){var E=this.encodeTable[b>>8];if(E!==void 0&&(_=E[b&255]),_<=n){v=this.encodeTableSeq[n-_];continue}if(_==e&&this.gb18030){var x=f(this.gb18030.uChars,b);if(x!=-1){var _=this.gb18030.gbChars[x]+(b-this.gb18030.uChars[x]);p[y++]=129+Math.floor(_/12600),_=_%12600,p[y++]=48+Math.floor(_/1260),_=_%1260,p[y++]=129+Math.floor(_/10),_=_%10,p[y++]=48+_;continue}}}_===e&&(_=this.defaultCharSingleByte),_<256?p[y++]=_:_<65536?(p[y++]=_>>8,p[y++]=_&255):_<16777216?(p[y++]=_>>16,p[y++]=_>>8&255,p[y++]=_&255):(p[y++]=_>>>24,p[y++]=_>>>16&255,p[y++]=_>>>8&255,p[y++]=_&255)}return this.seqObj=v,this.leadSurrogate=m,p.slice(0,y)},l.prototype.end=function(){if(!(this.leadSurrogate===-1&&this.seqObj===void 0)){var h=i.alloc(10),p=0;if(this.seqObj){var m=this.seqObj[s];m!==void 0&&(m<256?h[p++]=m:(h[p++]=m>>8,h[p++]=m&255)),this.seqObj=void 0}return this.leadSurrogate!==-1&&(h[p++]=this.defaultCharSingleByte,this.leadSurrogate=-1),h.slice(0,p)}},l.prototype.findIdx=f;function c(h,p){this.nodeIdx=0,this.prevBytes=[],this.decodeTables=p.decodeTables,this.decodeTableSeq=p.decodeTableSeq,this.defaultCharUnicode=p.defaultCharUnicode,this.gb18030=p.gb18030}c.prototype.write=function(h){for(var p=i.alloc(h.length*2),m=this.nodeIdx,v=this.prevBytes,g=this.prevBytes.length,d=-this.prevBytes.length,y,b=0,_=0;b=0?h[b]:v[b+g],y=this.decodeTables[m][w];if(!(y>=0))if(y===e)y=this.defaultCharUnicode.charCodeAt(0),b=d;else if(y===t){if(b>=3)var E=(h[b-3]-129)*12600+(h[b-2]-48)*1260+(h[b-1]-129)*10+(w-48);else var E=(v[b-3+g]-129)*12600+((b-2>=0?h[b-2]:v[b-2+g])-48)*1260+((b-1>=0?h[b-1]:v[b-1+g])-129)*10+(w-48);var x=f(this.gb18030.gbChars,E);y=this.gb18030.uChars[x]+E-this.gb18030.gbChars[x]}else if(y<=r){m=r-y;continue}else if(y<=n){for(var S=this.decodeTableSeq[n-y],T=0;T>8;y=S[S.length-1]}else throw new Error("iconv-lite internal error: invalid decoding table value "+y+" at "+m+"/"+w);if(y>=65536){y-=65536;var L=55296|y>>10;p[_++]=L&255,p[_++]=L>>8,y=56320|y&1023}p[_++]=y&255,p[_++]=y>>8,m=0,d=b+1}return this.nodeIdx=m,this.prevBytes=d>=0?Array.prototype.slice.call(h,d):v.slice(d+g).concat(Array.prototype.slice.call(h)),p.slice(0,_).toString("ucs2")},c.prototype.end=function(){for(var h="";this.prevBytes.length>0;){h+=this.defaultCharUnicode;var p=this.prevBytes.slice(1);this.prevBytes=[],this.nodeIdx=0,p.length>0&&(h+=this.write(p))}return this.prevBytes=[],this.nodeIdx=0,h};function f(h,p){if(h[0]>p)return-1;for(var m=0,v=h.length;m>1);h[g]<=p?m=g:v=g}return m}return Th}const e_=[["0","\0",128],["a1","。",62],["8140"," 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈",9,"+-±×"],["8180","÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇◆□■△▲▽▼※〒→←↑↓〓"],["81b8","∈∋⊆⊇⊂⊃∪∩"],["81c8","∧∨¬⇒⇔∀∃"],["81da","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["81f0","ʼn♯♭♪†‡¶"],["81fc","◯"],["824f","0",9],["8260","A",25],["8281","a",25],["829f","ぁ",82],["8340","ァ",62],["8380","ム",22],["839f","Α",16,"Σ",6],["83bf","α",16,"σ",6],["8440","А",5,"ЁЖ",25],["8470","а",5,"ёж",7],["8480","о",17],["849f","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["8740","①",19,"Ⅰ",9],["875f","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["877e","㍻"],["8780","〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["889f","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["8940","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円"],["8980","園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["8a40","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫"],["8a80","橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["8b40","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救"],["8b80","朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["8c40","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨"],["8c80","劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["8d40","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降"],["8d80","項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["8e40","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止"],["8e80","死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["8f40","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳"],["8f80","準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["9040","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨"],["9080","逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["9140","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻"],["9180","操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["9240","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄"],["9280","逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["9340","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬"],["9380","凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["9440","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅"],["9480","楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["9540","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷"],["9580","斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["9640","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆"],["9680","摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["9740","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲"],["9780","沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["9840","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["989f","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["9940","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭"],["9980","凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["9a40","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸"],["9a80","噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["9b40","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀"],["9b80","它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["9c40","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠"],["9c80","怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["9d40","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫"],["9d80","捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["9e40","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎"],["9e80","梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["9f40","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯"],["9f80","麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["e040","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝"],["e080","烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e140","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿"],["e180","痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e240","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰"],["e280","窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e340","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷"],["e380","縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e440","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤"],["e480","艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e540","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬"],["e580","蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["e640","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧"],["e680","諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["e740","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜"],["e780","轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["e840","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙"],["e880","閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["e940","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃"],["e980","騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["ea40","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯"],["ea80","黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠堯槇遙瑤凜熙"],["ed40","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏"],["ed80","塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["ee40","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙"],["ee80","蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["eeef","ⅰ",9,"¬¦'""],["f040","",62],["f080","",124],["f140","",62],["f180","",124],["f240","",62],["f280","",124],["f340","",62],["f380","",124],["f440","",62],["f480","",124],["f540","",62],["f580","",124],["f640","",62],["f680","",124],["f740","",62],["f780","",124],["f840","",62],["f880","",124],["f940",""],["fa40","ⅰ",9,"Ⅰ",9,"¬¦'"㈱№℡∵纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊"],["fa80","兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯"],["fb40","涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神"],["fb80","祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙"],["fc40","髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"]],t_=[["0","\0",127],["8ea1","。",62],["a1a1"," 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈",9,"+-±×÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇"],["a2a1","◆□■△▲▽▼※〒→←↑↓〓"],["a2ba","∈∋⊆⊇⊂⊃∪∩"],["a2ca","∧∨¬⇒⇔∀∃"],["a2dc","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["a2f2","ʼn♯♭♪†‡¶"],["a2fe","◯"],["a3b0","0",9],["a3c1","A",25],["a3e1","a",25],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a8a1","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["ada1","①",19,"Ⅰ",9],["adc0","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["addf","㍻〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["b0a1","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["b1a1","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応"],["b2a1","押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["b3a1","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱"],["b4a1","粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["b5a1","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京"],["b6a1","供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["b7a1","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲"],["b8a1","検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["b9a1","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込"],["baa1","此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["bba1","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時"],["bca1","次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["bda1","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償"],["bea1","勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["bfa1","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾"],["c0a1","澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["c1a1","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎"],["c2a1","臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["c3a1","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵"],["c4a1","帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["c5a1","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到"],["c6a1","董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["c7a1","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦"],["c8a1","函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["c9a1","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服"],["caa1","福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["cba1","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満"],["cca1","漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["cda1","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃"],["cea1","痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["cfa1","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["d0a1","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["d1a1","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨"],["d2a1","辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["d3a1","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉"],["d4a1","圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["d5a1","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓"],["d6a1","屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["d7a1","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚"],["d8a1","悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["d9a1","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼"],["daa1","據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["dba1","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍"],["dca1","棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["dda1","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾"],["dea1","沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["dfa1","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼"],["e0a1","燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e1a1","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰"],["e2a1","癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e3a1","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐"],["e4a1","筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e5a1","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺"],["e6a1","罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e7a1","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙"],["e8a1","茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e9a1","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙"],["eaa1","蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["eba1","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫"],["eca1","譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["eda1","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸"],["eea1","遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["efa1","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞"],["f0a1","陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["f1a1","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷"],["f2a1","髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["f3a1","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠"],["f4a1","堯槇遙瑤凜熙"],["f9a1","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德"],["faa1","忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["fba1","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚"],["fca1","釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["fcf1","ⅰ",9,"¬¦'""],["8fa2af","˘ˇ¸˙˝¯˛˚~΄΅"],["8fa2c2","¡¦¿"],["8fa2eb","ºª©®™¤№"],["8fa6e1","ΆΈΉΊΪ"],["8fa6e7","Ό"],["8fa6e9","ΎΫ"],["8fa6ec","Ώ"],["8fa6f1","άέήίϊΐόςύϋΰώ"],["8fa7c2","Ђ",10,"ЎЏ"],["8fa7f2","ђ",10,"ўџ"],["8fa9a1","ÆĐ"],["8fa9a4","Ħ"],["8fa9a6","IJ"],["8fa9a8","ŁĿ"],["8fa9ab","ŊØŒ"],["8fa9af","ŦÞ"],["8fa9c1","æđðħıijĸłŀʼnŋøœßŧþ"],["8faaa1","ÁÀÄÂĂǍĀĄÅÃĆĈČÇĊĎÉÈËÊĚĖĒĘ"],["8faaba","ĜĞĢĠĤÍÌÏÎǏİĪĮĨĴĶĹĽĻŃŇŅÑÓÒÖÔǑŐŌÕŔŘŖŚŜŠŞŤŢÚÙÜÛŬǓŰŪŲŮŨǗǛǙǕŴÝŸŶŹŽŻ"],["8faba1","áàäâăǎāąåãćĉčçċďéèëêěėēęǵĝğ"],["8fabbd","ġĥíìïîǐ"],["8fabc5","īįĩĵķĺľļńňņñóòöôǒőōõŕřŗśŝšşťţúùüûŭǔűūųůũǘǜǚǖŵýÿŷźžż"],["8fb0a1","丂丄丅丌丒丟丣两丨丫丮丯丰丵乀乁乄乇乑乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘佟佣佪佬佮佱佷佸佹佺佽佾侁侂侄"],["8fb1a1","侅侉侊侌侎侐侒侓侔侗侙侚侞侟侲侷侹侻侼侽侾俀俁俅俆俈俉俋俌俍俏俒俜俠俢俰俲俼俽俿倀倁倄倇倊倌倎倐倓倗倘倛倜倝倞倢倧倮倰倲倳倵偀偁偂偅偆偊偌偎偑偒偓偗偙偟偠偢偣偦偧偪偭偰偱倻傁傃傄傆傊傎傏傐"],["8fb2a1","傒傓傔傖傛傜傞",4,"傪傯傰傹傺傽僀僃僄僇僌僎僐僓僔僘僜僝僟僢僤僦僨僩僯僱僶僺僾儃儆儇儈儋儌儍儎僲儐儗儙儛儜儝儞儣儧儨儬儭儯儱儳儴儵儸儹兂兊兏兓兕兗兘兟兤兦兾冃冄冋冎冘冝冡冣冭冸冺冼冾冿凂"],["8fb3a1","凈减凑凒凓凕凘凞凢凥凮凲凳凴凷刁刂刅划刓刕刖刘刢刨刱刲刵刼剅剉剕剗剘剚剜剟剠剡剦剮剷剸剹劀劂劅劊劌劓劕劖劗劘劚劜劤劥劦劧劯劰劶劷劸劺劻劽勀勄勆勈勌勏勑勔勖勛勜勡勥勨勩勪勬勰勱勴勶勷匀匃匊匋"],["8fb4a1","匌匑匓匘匛匜匞匟匥匧匨匩匫匬匭匰匲匵匼匽匾卂卌卋卙卛卡卣卥卬卭卲卹卾厃厇厈厎厓厔厙厝厡厤厪厫厯厲厴厵厷厸厺厽叀叅叏叒叓叕叚叝叞叠另叧叵吂吓吚吡吧吨吪启吱吴吵呃呄呇呍呏呞呢呤呦呧呩呫呭呮呴呿"],["8fb5a1","咁咃咅咈咉咍咑咕咖咜咟咡咦咧咩咪咭咮咱咷咹咺咻咿哆哊响哎哠哪哬哯哶哼哾哿唀唁唅唈唉唌唍唎唕唪唫唲唵唶唻唼唽啁啇啉啊啍啐啑啘啚啛啞啠啡啤啦啿喁喂喆喈喎喏喑喒喓喔喗喣喤喭喲喿嗁嗃嗆嗉嗋嗌嗎嗑嗒"],["8fb6a1","嗓嗗嗘嗛嗞嗢嗩嗶嗿嘅嘈嘊嘍",5,"嘙嘬嘰嘳嘵嘷嘹嘻嘼嘽嘿噀噁噃噄噆噉噋噍噏噔噞噠噡噢噣噦噩噭噯噱噲噵嚄嚅嚈嚋嚌嚕嚙嚚嚝嚞嚟嚦嚧嚨嚩嚫嚬嚭嚱嚳嚷嚾囅囉囊囋囏囐囌囍囙囜囝囟囡囤",4,"囱囫园"],["8fb7a1","囶囷圁圂圇圊圌圑圕圚圛圝圠圢圣圤圥圩圪圬圮圯圳圴圽圾圿坅坆坌坍坒坢坥坧坨坫坭",4,"坳坴坵坷坹坺坻坼坾垁垃垌垔垗垙垚垜垝垞垟垡垕垧垨垩垬垸垽埇埈埌埏埕埝埞埤埦埧埩埭埰埵埶埸埽埾埿堃堄堈堉埡"],["8fb8a1","堌堍堛堞堟堠堦堧堭堲堹堿塉塌塍塏塐塕塟塡塤塧塨塸塼塿墀墁墇墈墉墊墌墍墏墐墔墖墝墠墡墢墦墩墱墲壄墼壂壈壍壎壐壒壔壖壚壝壡壢壩壳夅夆夋夌夒夓夔虁夝夡夣夤夨夯夰夳夵夶夿奃奆奒奓奙奛奝奞奟奡奣奫奭"],["8fb9a1","奯奲奵奶她奻奼妋妌妎妒妕妗妟妤妧妭妮妯妰妳妷妺妼姁姃姄姈姊姍姒姝姞姟姣姤姧姮姯姱姲姴姷娀娄娌娍娎娒娓娞娣娤娧娨娪娭娰婄婅婇婈婌婐婕婞婣婥婧婭婷婺婻婾媋媐媓媖媙媜媞媟媠媢媧媬媱媲媳媵媸媺媻媿"],["8fbaa1","嫄嫆嫈嫏嫚嫜嫠嫥嫪嫮嫵嫶嫽嬀嬁嬈嬗嬴嬙嬛嬝嬡嬥嬭嬸孁孋孌孒孖孞孨孮孯孼孽孾孿宁宄宆宊宎宐宑宓宔宖宨宩宬宭宯宱宲宷宺宼寀寁寍寏寖",4,"寠寯寱寴寽尌尗尞尟尣尦尩尫尬尮尰尲尵尶屙屚屜屢屣屧屨屩"],["8fbba1","屭屰屴屵屺屻屼屽岇岈岊岏岒岝岟岠岢岣岦岪岲岴岵岺峉峋峒峝峗峮峱峲峴崁崆崍崒崫崣崤崦崧崱崴崹崽崿嵂嵃嵆嵈嵕嵑嵙嵊嵟嵠嵡嵢嵤嵪嵭嵰嵹嵺嵾嵿嶁嶃嶈嶊嶒嶓嶔嶕嶙嶛嶟嶠嶧嶫嶰嶴嶸嶹巃巇巋巐巎巘巙巠巤"],["8fbca1","巩巸巹帀帇帍帒帔帕帘帟帠帮帨帲帵帾幋幐幉幑幖幘幛幜幞幨幪",4,"幰庀庋庎庢庤庥庨庪庬庱庳庽庾庿廆廌廋廎廑廒廔廕廜廞廥廫异弆弇弈弎弙弜弝弡弢弣弤弨弫弬弮弰弴弶弻弽弿彀彄彅彇彍彐彔彘彛彠彣彤彧"],["8fbda1","彯彲彴彵彸彺彽彾徉徍徏徖徜徝徢徧徫徤徬徯徰徱徸忄忇忈忉忋忐",4,"忞忡忢忨忩忪忬忭忮忯忲忳忶忺忼怇怊怍怓怔怗怘怚怟怤怭怳怵恀恇恈恉恌恑恔恖恗恝恡恧恱恾恿悂悆悈悊悎悑悓悕悘悝悞悢悤悥您悰悱悷"],["8fbea1","悻悾惂惄惈惉惊惋惎惏惔惕惙惛惝惞惢惥惲惵惸惼惽愂愇愊愌愐",4,"愖愗愙愜愞愢愪愫愰愱愵愶愷愹慁慅慆慉慞慠慬慲慸慻慼慿憀憁憃憄憋憍憒憓憗憘憜憝憟憠憥憨憪憭憸憹憼懀懁懂懎懏懕懜懝懞懟懡懢懧懩懥"],["8fbfa1","懬懭懯戁戃戄戇戓戕戜戠戢戣戧戩戫戹戽扂扃扄扆扌扐扑扒扔扖扚扜扤扭扯扳扺扽抍抎抏抐抦抨抳抶抷抺抾抿拄拎拕拖拚拪拲拴拼拽挃挄挊挋挍挐挓挖挘挩挪挭挵挶挹挼捁捂捃捄捆捊捋捎捒捓捔捘捛捥捦捬捭捱捴捵"],["8fc0a1","捸捼捽捿掂掄掇掊掐掔掕掙掚掞掤掦掭掮掯掽揁揅揈揎揑揓揔揕揜揠揥揪揬揲揳揵揸揹搉搊搐搒搔搘搞搠搢搤搥搩搪搯搰搵搽搿摋摏摑摒摓摔摚摛摜摝摟摠摡摣摭摳摴摻摽撅撇撏撐撑撘撙撛撝撟撡撣撦撨撬撳撽撾撿"],["8fc1a1","擄擉擊擋擌擎擐擑擕擗擤擥擩擪擭擰擵擷擻擿攁攄攈攉攊攏攓攔攖攙攛攞攟攢攦攩攮攱攺攼攽敃敇敉敐敒敔敟敠敧敫敺敽斁斅斊斒斕斘斝斠斣斦斮斲斳斴斿旂旈旉旎旐旔旖旘旟旰旲旴旵旹旾旿昀昄昈昉昍昑昒昕昖昝"],["8fc2a1","昞昡昢昣昤昦昩昪昫昬昮昰昱昳昹昷晀晅晆晊晌晑晎晗晘晙晛晜晠晡曻晪晫晬晾晳晵晿晷晸晹晻暀晼暋暌暍暐暒暙暚暛暜暟暠暤暭暱暲暵暻暿曀曂曃曈曌曎曏曔曛曟曨曫曬曮曺朅朇朎朓朙朜朠朢朳朾杅杇杈杌杔杕杝"],["8fc3a1","杦杬杮杴杶杻极构枎枏枑枓枖枘枙枛枰枱枲枵枻枼枽柹柀柂柃柅柈柉柒柗柙柜柡柦柰柲柶柷桒栔栙栝栟栨栧栬栭栯栰栱栳栻栿桄桅桊桌桕桗桘桛桫桮",4,"桵桹桺桻桼梂梄梆梈梖梘梚梜梡梣梥梩梪梮梲梻棅棈棌棏"],["8fc4a1","棐棑棓棖棙棜棝棥棨棪棫棬棭棰棱棵棶棻棼棽椆椉椊椐椑椓椖椗椱椳椵椸椻楂楅楉楎楗楛楣楤楥楦楨楩楬楰楱楲楺楻楿榀榍榒榖榘榡榥榦榨榫榭榯榷榸榺榼槅槈槑槖槗槢槥槮槯槱槳槵槾樀樁樃樏樑樕樚樝樠樤樨樰樲"],["8fc5a1","樴樷樻樾樿橅橆橉橊橎橐橑橒橕橖橛橤橧橪橱橳橾檁檃檆檇檉檋檑檛檝檞檟檥檫檯檰檱檴檽檾檿櫆櫉櫈櫌櫐櫔櫕櫖櫜櫝櫤櫧櫬櫰櫱櫲櫼櫽欂欃欆欇欉欏欐欑欗欛欞欤欨欫欬欯欵欶欻欿歆歊歍歒歖歘歝歠歧歫歮歰歵歽"],["8fc6a1","歾殂殅殗殛殟殠殢殣殨殩殬殭殮殰殸殹殽殾毃毄毉毌毖毚毡毣毦毧毮毱毷毹毿氂氄氅氉氍氎氐氒氙氟氦氧氨氬氮氳氵氶氺氻氿汊汋汍汏汒汔汙汛汜汫汭汯汴汶汸汹汻沅沆沇沉沔沕沗沘沜沟沰沲沴泂泆泍泏泐泑泒泔泖"],["8fc7a1","泚泜泠泧泩泫泬泮泲泴洄洇洊洎洏洑洓洚洦洧洨汧洮洯洱洹洼洿浗浞浟浡浥浧浯浰浼涂涇涑涒涔涖涗涘涪涬涴涷涹涽涿淄淈淊淎淏淖淛淝淟淠淢淥淩淯淰淴淶淼渀渄渞渢渧渲渶渹渻渼湄湅湈湉湋湏湑湒湓湔湗湜湝湞"],["8fc8a1","湢湣湨湳湻湽溍溓溙溠溧溭溮溱溳溻溿滀滁滃滇滈滊滍滎滏滫滭滮滹滻滽漄漈漊漌漍漖漘漚漛漦漩漪漯漰漳漶漻漼漭潏潑潒潓潗潙潚潝潞潡潢潨潬潽潾澃澇澈澋澌澍澐澒澓澔澖澚澟澠澥澦澧澨澮澯澰澵澶澼濅濇濈濊"],["8fc9a1","濚濞濨濩濰濵濹濼濽瀀瀅瀆瀇瀍瀗瀠瀣瀯瀴瀷瀹瀼灃灄灈灉灊灋灔灕灝灞灎灤灥灬灮灵灶灾炁炅炆炔",4,"炛炤炫炰炱炴炷烊烑烓烔烕烖烘烜烤烺焃",4,"焋焌焏焞焠焫焭焯焰焱焸煁煅煆煇煊煋煐煒煗煚煜煞煠"],["8fcaa1","煨煹熀熅熇熌熒熚熛熠熢熯熰熲熳熺熿燀燁燄燋燌燓燖燙燚燜燸燾爀爇爈爉爓爗爚爝爟爤爫爯爴爸爹牁牂牃牅牎牏牐牓牕牖牚牜牞牠牣牨牫牮牯牱牷牸牻牼牿犄犉犍犎犓犛犨犭犮犱犴犾狁狇狉狌狕狖狘狟狥狳狴狺狻"],["8fcba1","狾猂猄猅猇猋猍猒猓猘猙猞猢猤猧猨猬猱猲猵猺猻猽獃獍獐獒獖獘獝獞獟獠獦獧獩獫獬獮獯獱獷獹獼玀玁玃玅玆玎玐玓玕玗玘玜玞玟玠玢玥玦玪玫玭玵玷玹玼玽玿珅珆珉珋珌珏珒珓珖珙珝珡珣珦珧珩珴珵珷珹珺珻珽"],["8fcca1","珿琀琁琄琇琊琑琚琛琤琦琨",9,"琹瑀瑃瑄瑆瑇瑋瑍瑑瑒瑗瑝瑢瑦瑧瑨瑫瑭瑮瑱瑲璀璁璅璆璇璉璏璐璑璒璘璙璚璜璟璠璡璣璦璨璩璪璫璮璯璱璲璵璹璻璿瓈瓉瓌瓐瓓瓘瓚瓛瓞瓟瓤瓨瓪瓫瓯瓴瓺瓻瓼瓿甆"],["8fcda1","甒甖甗甠甡甤甧甩甪甯甶甹甽甾甿畀畃畇畈畎畐畒畗畞畟畡畯畱畹",5,"疁疅疐疒疓疕疙疜疢疤疴疺疿痀痁痄痆痌痎痏痗痜痟痠痡痤痧痬痮痯痱痹瘀瘂瘃瘄瘇瘈瘊瘌瘏瘒瘓瘕瘖瘙瘛瘜瘝瘞瘣瘥瘦瘩瘭瘲瘳瘵瘸瘹"],["8fcea1","瘺瘼癊癀癁癃癄癅癉癋癕癙癟癤癥癭癮癯癱癴皁皅皌皍皕皛皜皝皟皠皢",6,"皪皭皽盁盅盉盋盌盎盔盙盠盦盨盬盰盱盶盹盼眀眆眊眎眒眔眕眗眙眚眜眢眨眭眮眯眴眵眶眹眽眾睂睅睆睊睍睎睏睒睖睗睜睞睟睠睢"],["8fcfa1","睤睧睪睬睰睲睳睴睺睽瞀瞄瞌瞍瞔瞕瞖瞚瞟瞢瞧瞪瞮瞯瞱瞵瞾矃矉矑矒矕矙矞矟矠矤矦矪矬矰矱矴矸矻砅砆砉砍砎砑砝砡砢砣砭砮砰砵砷硃硄硇硈硌硎硒硜硞硠硡硣硤硨硪确硺硾碊碏碔碘碡碝碞碟碤碨碬碭碰碱碲碳"],["8fd0a1","碻碽碿磇磈磉磌磎磒磓磕磖磤磛磟磠磡磦磪磲磳礀磶磷磺磻磿礆礌礐礚礜礞礟礠礥礧礩礭礱礴礵礻礽礿祄祅祆祊祋祏祑祔祘祛祜祧祩祫祲祹祻祼祾禋禌禑禓禔禕禖禘禛禜禡禨禩禫禯禱禴禸离秂秄秇秈秊秏秔秖秚秝秞"],["8fd1a1","秠秢秥秪秫秭秱秸秼稂稃稇稉稊稌稑稕稛稞稡稧稫稭稯稰稴稵稸稹稺穄穅穇穈穌穕穖穙穜穝穟穠穥穧穪穭穵穸穾窀窂窅窆窊窋窐窑窔窞窠窣窬窳窵窹窻窼竆竉竌竎竑竛竨竩竫竬竱竴竻竽竾笇笔笟笣笧笩笪笫笭笮笯笰"],["8fd2a1","笱笴笽笿筀筁筇筎筕筠筤筦筩筪筭筯筲筳筷箄箉箎箐箑箖箛箞箠箥箬箯箰箲箵箶箺箻箼箽篂篅篈篊篔篖篗篙篚篛篨篪篲篴篵篸篹篺篼篾簁簂簃簄簆簉簋簌簎簏簙簛簠簥簦簨簬簱簳簴簶簹簺籆籊籕籑籒籓籙",5],["8fd3a1","籡籣籧籩籭籮籰籲籹籼籽粆粇粏粔粞粠粦粰粶粷粺粻粼粿糄糇糈糉糍糏糓糔糕糗糙糚糝糦糩糫糵紃紇紈紉紏紑紒紓紖紝紞紣紦紪紭紱紼紽紾絀絁絇絈絍絑絓絗絙絚絜絝絥絧絪絰絸絺絻絿綁綂綃綅綆綈綋綌綍綑綖綗綝"],["8fd4a1","綞綦綧綪綳綶綷綹緂",4,"緌緍緎緗緙縀緢緥緦緪緫緭緱緵緶緹緺縈縐縑縕縗縜縝縠縧縨縬縭縯縳縶縿繄繅繇繎繐繒繘繟繡繢繥繫繮繯繳繸繾纁纆纇纊纍纑纕纘纚纝纞缼缻缽缾缿罃罄罇罏罒罓罛罜罝罡罣罤罥罦罭"],["8fd5a1","罱罽罾罿羀羋羍羏羐羑羖羗羜羡羢羦羪羭羴羼羿翀翃翈翎翏翛翟翣翥翨翬翮翯翲翺翽翾翿耇耈耊耍耎耏耑耓耔耖耝耞耟耠耤耦耬耮耰耴耵耷耹耺耼耾聀聄聠聤聦聭聱聵肁肈肎肜肞肦肧肫肸肹胈胍胏胒胔胕胗胘胠胭胮"],["8fd6a1","胰胲胳胶胹胺胾脃脋脖脗脘脜脞脠脤脧脬脰脵脺脼腅腇腊腌腒腗腠腡腧腨腩腭腯腷膁膐膄膅膆膋膎膖膘膛膞膢膮膲膴膻臋臃臅臊臎臏臕臗臛臝臞臡臤臫臬臰臱臲臵臶臸臹臽臿舀舃舏舓舔舙舚舝舡舢舨舲舴舺艃艄艅艆"],["8fd7a1","艋艎艏艑艖艜艠艣艧艭艴艻艽艿芀芁芃芄芇芉芊芎芑芔芖芘芚芛芠芡芣芤芧芨芩芪芮芰芲芴芷芺芼芾芿苆苐苕苚苠苢苤苨苪苭苯苶苷苽苾茀茁茇茈茊茋荔茛茝茞茟茡茢茬茭茮茰茳茷茺茼茽荂荃荄荇荍荎荑荕荖荗荰荸"],["8fd8a1","荽荿莀莂莄莆莍莒莔莕莘莙莛莜莝莦莧莩莬莾莿菀菇菉菏菐菑菔菝荓菨菪菶菸菹菼萁萆萊萏萑萕萙莭萯萹葅葇葈葊葍葏葑葒葖葘葙葚葜葠葤葥葧葪葰葳葴葶葸葼葽蒁蒅蒒蒓蒕蒞蒦蒨蒩蒪蒯蒱蒴蒺蒽蒾蓀蓂蓇蓈蓌蓏蓓"],["8fd9a1","蓜蓧蓪蓯蓰蓱蓲蓷蔲蓺蓻蓽蔂蔃蔇蔌蔎蔐蔜蔞蔢蔣蔤蔥蔧蔪蔫蔯蔳蔴蔶蔿蕆蕏",4,"蕖蕙蕜",6,"蕤蕫蕯蕹蕺蕻蕽蕿薁薅薆薉薋薌薏薓薘薝薟薠薢薥薧薴薶薷薸薼薽薾薿藂藇藊藋藎薭藘藚藟藠藦藨藭藳藶藼"],["8fdaa1","藿蘀蘄蘅蘍蘎蘐蘑蘒蘘蘙蘛蘞蘡蘧蘩蘶蘸蘺蘼蘽虀虂虆虒虓虖虗虘虙虝虠",4,"虩虬虯虵虶虷虺蚍蚑蚖蚘蚚蚜蚡蚦蚧蚨蚭蚱蚳蚴蚵蚷蚸蚹蚿蛀蛁蛃蛅蛑蛒蛕蛗蛚蛜蛠蛣蛥蛧蚈蛺蛼蛽蜄蜅蜇蜋蜎蜏蜐蜓蜔蜙蜞蜟蜡蜣"],["8fdba1","蜨蜮蜯蜱蜲蜹蜺蜼蜽蜾蝀蝃蝅蝍蝘蝝蝡蝤蝥蝯蝱蝲蝻螃",6,"螋螌螐螓螕螗螘螙螞螠螣螧螬螭螮螱螵螾螿蟁蟈蟉蟊蟎蟕蟖蟙蟚蟜蟟蟢蟣蟤蟪蟫蟭蟱蟳蟸蟺蟿蠁蠃蠆蠉蠊蠋蠐蠙蠒蠓蠔蠘蠚蠛蠜蠞蠟蠨蠭蠮蠰蠲蠵"],["8fdca1","蠺蠼衁衃衅衈衉衊衋衎衑衕衖衘衚衜衟衠衤衩衱衹衻袀袘袚袛袜袟袠袨袪袺袽袾裀裊",4,"裑裒裓裛裞裧裯裰裱裵裷褁褆褍褎褏褕褖褘褙褚褜褠褦褧褨褰褱褲褵褹褺褾襀襂襅襆襉襏襒襗襚襛襜襡襢襣襫襮襰襳襵襺"],["8fdda1","襻襼襽覉覍覐覔覕覛覜覟覠覥覰覴覵覶覷覼觔",4,"觥觩觫觭觱觳觶觹觽觿訄訅訇訏訑訒訔訕訞訠訢訤訦訫訬訯訵訷訽訾詀詃詅詇詉詍詎詓詖詗詘詜詝詡詥詧詵詶詷詹詺詻詾詿誀誃誆誋誏誐誒誖誗誙誟誧誩誮誯誳"],["8fdea1","誶誷誻誾諃諆諈諉諊諑諓諔諕諗諝諟諬諰諴諵諶諼諿謅謆謋謑謜謞謟謊謭謰謷謼譂",4,"譈譒譓譔譙譍譞譣譭譶譸譹譼譾讁讄讅讋讍讏讔讕讜讞讟谸谹谽谾豅豇豉豋豏豑豓豔豗豘豛豝豙豣豤豦豨豩豭豳豵豶豻豾貆"],["8fdfa1","貇貋貐貒貓貙貛貜貤貹貺賅賆賉賋賏賖賕賙賝賡賨賬賯賰賲賵賷賸賾賿贁贃贉贒贗贛赥赩赬赮赿趂趄趈趍趐趑趕趞趟趠趦趫趬趯趲趵趷趹趻跀跅跆跇跈跊跎跑跔跕跗跙跤跥跧跬跰趼跱跲跴跽踁踄踅踆踋踑踔踖踠踡踢"],["8fe0a1","踣踦踧踱踳踶踷踸踹踽蹀蹁蹋蹍蹎蹏蹔蹛蹜蹝蹞蹡蹢蹩蹬蹭蹯蹰蹱蹹蹺蹻躂躃躉躐躒躕躚躛躝躞躢躧躩躭躮躳躵躺躻軀軁軃軄軇軏軑軔軜軨軮軰軱軷軹軺軭輀輂輇輈輏輐輖輗輘輞輠輡輣輥輧輨輬輭輮輴輵輶輷輺轀轁"],["8fe1a1","轃轇轏轑",4,"轘轝轞轥辝辠辡辤辥辦辵辶辸达迀迁迆迊迋迍运迒迓迕迠迣迤迨迮迱迵迶迻迾适逄逈逌逘逛逨逩逯逪逬逭逳逴逷逿遃遄遌遛遝遢遦遧遬遰遴遹邅邈邋邌邎邐邕邗邘邙邛邠邡邢邥邰邲邳邴邶邽郌邾郃"],["8fe2a1","郄郅郇郈郕郗郘郙郜郝郟郥郒郶郫郯郰郴郾郿鄀鄄鄅鄆鄈鄍鄐鄔鄖鄗鄘鄚鄜鄞鄠鄥鄢鄣鄧鄩鄮鄯鄱鄴鄶鄷鄹鄺鄼鄽酃酇酈酏酓酗酙酚酛酡酤酧酭酴酹酺酻醁醃醅醆醊醎醑醓醔醕醘醞醡醦醨醬醭醮醰醱醲醳醶醻醼醽醿"],["8fe3a1","釂釃釅釓釔釗釙釚釞釤釥釩釪釬",5,"釷釹釻釽鈀鈁鈄鈅鈆鈇鈉鈊鈌鈐鈒鈓鈖鈘鈜鈝鈣鈤鈥鈦鈨鈮鈯鈰鈳鈵鈶鈸鈹鈺鈼鈾鉀鉂鉃鉆鉇鉊鉍鉎鉏鉑鉘鉙鉜鉝鉠鉡鉥鉧鉨鉩鉮鉯鉰鉵",4,"鉻鉼鉽鉿銈銉銊銍銎銒銗"],["8fe4a1","銙銟銠銤銥銧銨銫銯銲銶銸銺銻銼銽銿",4,"鋅鋆鋇鋈鋋鋌鋍鋎鋐鋓鋕鋗鋘鋙鋜鋝鋟鋠鋡鋣鋥鋧鋨鋬鋮鋰鋹鋻鋿錀錂錈錍錑錔錕錜錝錞錟錡錤錥錧錩錪錳錴錶錷鍇鍈鍉鍐鍑鍒鍕鍗鍘鍚鍞鍤鍥鍧鍩鍪鍭鍯鍰鍱鍳鍴鍶"],["8fe5a1","鍺鍽鍿鎀鎁鎂鎈鎊鎋鎍鎏鎒鎕鎘鎛鎞鎡鎣鎤鎦鎨鎫鎴鎵鎶鎺鎩鏁鏄鏅鏆鏇鏉",4,"鏓鏙鏜鏞鏟鏢鏦鏧鏹鏷鏸鏺鏻鏽鐁鐂鐄鐈鐉鐍鐎鐏鐕鐖鐗鐟鐮鐯鐱鐲鐳鐴鐻鐿鐽鑃鑅鑈鑊鑌鑕鑙鑜鑟鑡鑣鑨鑫鑭鑮鑯鑱鑲钄钃镸镹"],["8fe6a1","镾閄閈閌閍閎閝閞閟閡閦閩閫閬閴閶閺閽閿闆闈闉闋闐闑闒闓闙闚闝闞闟闠闤闦阝阞阢阤阥阦阬阱阳阷阸阹阺阼阽陁陒陔陖陗陘陡陮陴陻陼陾陿隁隂隃隄隉隑隖隚隝隟隤隥隦隩隮隯隳隺雊雒嶲雘雚雝雞雟雩雯雱雺霂"],["8fe7a1","霃霅霉霚霛霝霡霢霣霨霱霳靁靃靊靎靏靕靗靘靚靛靣靧靪靮靳靶靷靸靻靽靿鞀鞉鞕鞖鞗鞙鞚鞞鞟鞢鞬鞮鞱鞲鞵鞶鞸鞹鞺鞼鞾鞿韁韄韅韇韉韊韌韍韎韐韑韔韗韘韙韝韞韠韛韡韤韯韱韴韷韸韺頇頊頙頍頎頔頖頜頞頠頣頦"],["8fe8a1","頫頮頯頰頲頳頵頥頾顄顇顊顑顒顓顖顗顙顚顢顣顥顦顪顬颫颭颮颰颴颷颸颺颻颿飂飅飈飌飡飣飥飦飧飪飳飶餂餇餈餑餕餖餗餚餛餜餟餢餦餧餫餱",4,"餹餺餻餼饀饁饆饇饈饍饎饔饘饙饛饜饞饟饠馛馝馟馦馰馱馲馵"],["8fe9a1","馹馺馽馿駃駉駓駔駙駚駜駞駧駪駫駬駰駴駵駹駽駾騂騃騄騋騌騐騑騖騞騠騢騣騤騧騭騮騳騵騶騸驇驁驄驊驋驌驎驑驔驖驝骪骬骮骯骲骴骵骶骹骻骾骿髁髃髆髈髎髐髒髕髖髗髛髜髠髤髥髧髩髬髲髳髵髹髺髽髿",4],["8feaa1","鬄鬅鬈鬉鬋鬌鬍鬎鬐鬒鬖鬙鬛鬜鬠鬦鬫鬭鬳鬴鬵鬷鬹鬺鬽魈魋魌魕魖魗魛魞魡魣魥魦魨魪",4,"魳魵魷魸魹魿鮀鮄鮅鮆鮇鮉鮊鮋鮍鮏鮐鮔鮚鮝鮞鮦鮧鮩鮬鮰鮱鮲鮷鮸鮻鮼鮾鮿鯁鯇鯈鯎鯐鯗鯘鯝鯟鯥鯧鯪鯫鯯鯳鯷鯸"],["8feba1","鯹鯺鯽鯿鰀鰂鰋鰏鰑鰖鰘鰙鰚鰜鰞鰢鰣鰦",4,"鰱鰵鰶鰷鰽鱁鱃鱄鱅鱉鱊鱎鱏鱐鱓鱔鱖鱘鱛鱝鱞鱟鱣鱩鱪鱜鱫鱨鱮鱰鱲鱵鱷鱻鳦鳲鳷鳹鴋鴂鴑鴗鴘鴜鴝鴞鴯鴰鴲鴳鴴鴺鴼鵅鴽鵂鵃鵇鵊鵓鵔鵟鵣鵢鵥鵩鵪鵫鵰鵶鵷鵻"],["8feca1","鵼鵾鶃鶄鶆鶊鶍鶎鶒鶓鶕鶖鶗鶘鶡鶪鶬鶮鶱鶵鶹鶼鶿鷃鷇鷉鷊鷔鷕鷖鷗鷚鷞鷟鷠鷥鷧鷩鷫鷮鷰鷳鷴鷾鸊鸂鸇鸎鸐鸑鸒鸕鸖鸙鸜鸝鹺鹻鹼麀麂麃麄麅麇麎麏麖麘麛麞麤麨麬麮麯麰麳麴麵黆黈黋黕黟黤黧黬黭黮黰黱黲黵"],["8feda1","黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃",4,"齓齕齖齗齘齚齝齞齨齩齭",4,"齳齵齺齽龏龐龑龒龔龖龗龞龡龢龣龥"]],Dh=[["0","\0",127,"€"],["8140","丂丄丅丆丏丒丗丟丠両丣並丩丮丯丱丳丵丷丼乀乁乂乄乆乊乑乕乗乚乛乢乣乤乥乧乨乪",5,"乲乴",9,"乿",6,"亇亊"],["8180","亐亖亗亙亜亝亞亣亪亯亰亱亴亶亷亸亹亼亽亾仈仌仏仐仒仚仛仜仠仢仦仧仩仭仮仯仱仴仸仹仺仼仾伀伂",6,"伋伌伒",4,"伜伝伡伣伨伩伬伭伮伱伳伵伷伹伻伾",4,"佄佅佇",5,"佒佔佖佡佢佦佨佪佫佭佮佱佲併佷佸佹佺佽侀侁侂侅來侇侊侌侎侐侒侓侕侖侘侙侚侜侞侟価侢"],["8240","侤侫侭侰",4,"侶",8,"俀俁係俆俇俈俉俋俌俍俒",4,"俙俛俠俢俤俥俧俫俬俰俲俴俵俶俷俹俻俼俽俿",11],["8280","個倎倐們倓倕倖倗倛倝倞倠倢倣値倧倫倯",10,"倻倽倿偀偁偂偄偅偆偉偊偋偍偐",4,"偖偗偘偙偛偝",7,"偦",5,"偭",8,"偸偹偺偼偽傁傂傃傄傆傇傉傊傋傌傎",20,"傤傦傪傫傭",4,"傳",6,"傼"],["8340","傽",17,"僐",5,"僗僘僙僛",10,"僨僩僪僫僯僰僱僲僴僶",4,"僼",9,"儈"],["8380","儉儊儌",5,"儓",13,"儢",28,"兂兇兊兌兎兏児兒兓兗兘兙兛兝",4,"兣兤兦內兩兪兯兲兺兾兿冃冄円冇冊冋冎冏冐冑冓冔冘冚冝冞冟冡冣冦",4,"冭冮冴冸冹冺冾冿凁凂凃凅凈凊凍凎凐凒",5],["8440","凘凙凚凜凞凟凢凣凥",5,"凬凮凱凲凴凷凾刄刅刉刋刌刏刐刓刔刕刜刞刟刡刢刣別刦刧刪刬刯刱刲刴刵刼刾剄",5,"剋剎剏剒剓剕剗剘"],["8480","剙剚剛剝剟剠剢剣剤剦剨剫剬剭剮剰剱剳",9,"剾劀劃",4,"劉",6,"劑劒劔",6,"劜劤劥劦劧劮劯劰労",9,"勀勁勂勄勅勆勈勊勌勍勎勏勑勓勔動勗務",5,"勠勡勢勣勥",10,"勱",7,"勻勼勽匁匂匃匄匇匉匊匋匌匎"],["8540","匑匒匓匔匘匛匜匞匟匢匤匥匧匨匩匫匬匭匯",9,"匼匽區卂卄卆卋卌卍卐協単卙卛卝卥卨卪卬卭卲卶卹卻卼卽卾厀厁厃厇厈厊厎厏"],["8580","厐",4,"厖厗厙厛厜厞厠厡厤厧厪厫厬厭厯",6,"厷厸厹厺厼厽厾叀參",4,"収叏叐叒叓叕叚叜叝叞叡叢叧叴叺叾叿吀吂吅吇吋吔吘吙吚吜吢吤吥吪吰吳吶吷吺吽吿呁呂呄呅呇呉呌呍呎呏呑呚呝",4,"呣呥呧呩",7,"呴呹呺呾呿咁咃咅咇咈咉咊咍咑咓咗咘咜咞咟咠咡"],["8640","咢咥咮咰咲咵咶咷咹咺咼咾哃哅哊哋哖哘哛哠",4,"哫哬哯哰哱哴",5,"哻哾唀唂唃唄唅唈唊",4,"唒唓唕",5,"唜唝唞唟唡唥唦"],["8680","唨唩唫唭唲唴唵唶唸唹唺唻唽啀啂啅啇啈啋",4,"啑啒啓啔啗",4,"啝啞啟啠啢啣啨啩啫啯",5,"啹啺啽啿喅喆喌喍喎喐喒喓喕喖喗喚喛喞喠",6,"喨",8,"喲喴営喸喺喼喿",4,"嗆嗇嗈嗊嗋嗎嗏嗐嗕嗗",4,"嗞嗠嗢嗧嗩嗭嗮嗰嗱嗴嗶嗸",4,"嗿嘂嘃嘄嘅"],["8740","嘆嘇嘊嘋嘍嘐",7,"嘙嘚嘜嘝嘠嘡嘢嘥嘦嘨嘩嘪嘫嘮嘯嘰嘳嘵嘷嘸嘺嘼嘽嘾噀",11,"噏",4,"噕噖噚噛噝",4],["8780","噣噥噦噧噭噮噯噰噲噳噴噵噷噸噹噺噽",7,"嚇",6,"嚐嚑嚒嚔",14,"嚤",10,"嚰",6,"嚸嚹嚺嚻嚽",12,"囋",8,"囕囖囘囙囜団囥",5,"囬囮囯囲図囶囷囸囻囼圀圁圂圅圇國",6],["8840","園",9,"圝圞圠圡圢圤圥圦圧圫圱圲圴",4,"圼圽圿坁坃坄坅坆坈坉坋坒",4,"坘坙坢坣坥坧坬坮坰坱坲坴坵坸坹坺坽坾坿垀"],["8880","垁垇垈垉垊垍",4,"垔",6,"垜垝垞垟垥垨垪垬垯垰垱垳垵垶垷垹",8,"埄",6,"埌埍埐埑埓埖埗埛埜埞埡埢埣埥",7,"埮埰埱埲埳埵埶執埻埼埾埿堁堃堄堅堈堉堊堌堎堏堐堒堓堔堖堗堘堚堛堜堝堟堢堣堥",4,"堫",4,"報堲堳場堶",7],["8940","堾",5,"塅",6,"塎塏塐塒塓塕塖塗塙",4,"塟",5,"塦",4,"塭",16,"塿墂墄墆墇墈墊墋墌"],["8980","墍",4,"墔",4,"墛墜墝墠",7,"墪",17,"墽墾墿壀壂壃壄壆",10,"壒壓壔壖",13,"壥",5,"壭壯壱売壴壵壷壸壺",7,"夃夅夆夈",4,"夎夐夑夒夓夗夘夛夝夞夠夡夢夣夦夨夬夰夲夳夵夶夻"],["8a40","夽夾夿奀奃奅奆奊奌奍奐奒奓奙奛",4,"奡奣奤奦",12,"奵奷奺奻奼奾奿妀妅妉妋妌妎妏妐妑妔妕妘妚妛妜妝妟妠妡妢妦"],["8a80","妧妬妭妰妱妳",5,"妺妼妽妿",6,"姇姈姉姌姍姎姏姕姖姙姛姞",4,"姤姦姧姩姪姫姭",11,"姺姼姽姾娀娂娊娋娍娎娏娐娒娔娕娖娗娙娚娛娝娞娡娢娤娦娧娨娪",6,"娳娵娷",4,"娽娾娿婁",4,"婇婈婋",9,"婖婗婘婙婛",5],["8b40","婡婣婤婥婦婨婩婫",8,"婸婹婻婼婽婾媀",17,"媓",6,"媜",13,"媫媬"],["8b80","媭",4,"媴媶媷媹",4,"媿嫀嫃",5,"嫊嫋嫍",4,"嫓嫕嫗嫙嫚嫛嫝嫞嫟嫢嫤嫥嫧嫨嫪嫬",4,"嫲",22,"嬊",11,"嬘",25,"嬳嬵嬶嬸",7,"孁",6],["8c40","孈",7,"孒孖孞孠孡孧孨孫孭孮孯孲孴孶孷學孹孻孼孾孿宂宆宊宍宎宐宑宒宔宖実宧宨宩宬宭宮宯宱宲宷宺宻宼寀寁寃寈寉寊寋寍寎寏"],["8c80","寑寔",8,"寠寢寣實寧審",4,"寯寱",6,"寽対尀専尃尅將專尋尌對導尐尒尓尗尙尛尞尟尠尡尣尦尨尩尪尫尭尮尯尰尲尳尵尶尷屃屄屆屇屌屍屒屓屔屖屗屘屚屛屜屝屟屢層屧",6,"屰屲",6,"屻屼屽屾岀岃",4,"岉岊岋岎岏岒岓岕岝",4,"岤",4],["8d40","岪岮岯岰岲岴岶岹岺岻岼岾峀峂峃峅",5,"峌",5,"峓",5,"峚",6,"峢峣峧峩峫峬峮峯峱",9,"峼",4],["8d80","崁崄崅崈",5,"崏",4,"崕崗崘崙崚崜崝崟",4,"崥崨崪崫崬崯",4,"崵",7,"崿",7,"嵈嵉嵍",10,"嵙嵚嵜嵞",10,"嵪嵭嵮嵰嵱嵲嵳嵵",12,"嶃",21,"嶚嶛嶜嶞嶟嶠"],["8e40","嶡",21,"嶸",12,"巆",6,"巎",12,"巜巟巠巣巤巪巬巭"],["8e80","巰巵巶巸",4,"巿帀帄帇帉帊帋帍帎帒帓帗帞",7,"帨",4,"帯帰帲",4,"帹帺帾帿幀幁幃幆",5,"幍",6,"幖",4,"幜幝幟幠幣",14,"幵幷幹幾庁庂広庅庈庉庌庍庎庒庘庛庝庡庢庣庤庨",4,"庮",4,"庴庺庻庼庽庿",6],["8f40","廆廇廈廋",5,"廔廕廗廘廙廚廜",11,"廩廫",8,"廵廸廹廻廼廽弅弆弇弉弌弍弎弐弒弔弖弙弚弜弝弞弡弢弣弤"],["8f80","弨弫弬弮弰弲",6,"弻弽弾弿彁",14,"彑彔彙彚彛彜彞彟彠彣彥彧彨彫彮彯彲彴彵彶彸彺彽彾彿徃徆徍徎徏徑従徔徖徚徛徝從徟徠徢",5,"復徫徬徯",5,"徶徸徹徺徻徾",4,"忇忈忊忋忎忓忔忕忚忛応忞忟忢忣忥忦忨忩忬忯忰忲忳忴忶忷忹忺忼怇"],["9040","怈怉怋怌怐怑怓怗怘怚怞怟怢怣怤怬怭怮怰",4,"怶",4,"怽怾恀恄",6,"恌恎恏恑恓恔恖恗恘恛恜恞恟恠恡恥恦恮恱恲恴恵恷恾悀"],["9080","悁悂悅悆悇悈悊悋悎悏悐悑悓悕悗悘悙悜悞悡悢悤悥悧悩悪悮悰悳悵悶悷悹悺悽",7,"惇惈惉惌",4,"惒惓惔惖惗惙惛惞惡",4,"惪惱惲惵惷惸惻",4,"愂愃愄愅愇愊愋愌愐",4,"愖愗愘愙愛愜愝愞愡愢愥愨愩愪愬",18,"慀",6],["9140","慇慉態慍慏慐慒慓慔慖",6,"慞慟慠慡慣慤慥慦慩",6,"慱慲慳慴慶慸",18,"憌憍憏",4,"憕"],["9180","憖",6,"憞",8,"憪憫憭",9,"憸",5,"憿懀懁懃",4,"應懌",4,"懓懕",16,"懧",13,"懶",8,"戀",5,"戇戉戓戔戙戜戝戞戠戣戦戧戨戩戫戭戯戰戱戲戵戶戸",4,"扂扄扅扆扊"],["9240","扏扐払扖扗扙扚扜",6,"扤扥扨扱扲扴扵扷扸扺扻扽抁抂抃抅抆抇抈抋",5,"抔抙抜抝択抣抦抧抩抪抭抮抯抰抲抳抴抶抷抸抺抾拀拁"],["9280","拃拋拏拑拕拝拞拠拡拤拪拫拰拲拵拸拹拺拻挀挃挄挅挆挊挋挌挍挏挐挒挓挔挕挗挘挙挜挦挧挩挬挭挮挰挱挳",5,"挻挼挾挿捀捁捄捇捈捊捑捒捓捔捖",7,"捠捤捥捦捨捪捫捬捯捰捲捳捴捵捸捹捼捽捾捿掁掃掄掅掆掋掍掑掓掔掕掗掙",6,"採掤掦掫掯掱掲掵掶掹掻掽掿揀"],["9340","揁揂揃揅揇揈揊揋揌揑揓揔揕揗",6,"揟揢揤",4,"揫揬揮揯揰揱揳揵揷揹揺揻揼揾搃搄搆",4,"損搎搑搒搕",5,"搝搟搢搣搤"],["9380","搥搧搨搩搫搮",5,"搵",4,"搻搼搾摀摂摃摉摋",6,"摓摕摖摗摙",4,"摟",7,"摨摪摫摬摮",9,"摻",6,"撃撆撈",8,"撓撔撗撘撚撛撜撝撟",4,"撥撦撧撨撪撫撯撱撲撳撴撶撹撻撽撾撿擁擃擄擆",6,"擏擑擓擔擕擖擙據"],["9440","擛擜擝擟擠擡擣擥擧",24,"攁",7,"攊",7,"攓",4,"攙",8],["9480","攢攣攤攦",4,"攬攭攰攱攲攳攷攺攼攽敀",4,"敆敇敊敋敍敎敐敒敓敔敗敘敚敜敟敠敡敤敥敧敨敩敪敭敮敯敱敳敵敶數",14,"斈斉斊斍斎斏斒斔斕斖斘斚斝斞斠斢斣斦斨斪斬斮斱",7,"斺斻斾斿旀旂旇旈旉旊旍旐旑旓旔旕旘",7,"旡旣旤旪旫"],["9540","旲旳旴旵旸旹旻",4,"昁昄昅昇昈昉昋昍昐昑昒昖昗昘昚昛昜昞昡昢昣昤昦昩昪昫昬昮昰昲昳昷",4,"昽昿晀時晄",6,"晍晎晐晑晘"],["9580","晙晛晜晝晞晠晢晣晥晧晩",4,"晱晲晳晵晸晹晻晼晽晿暀暁暃暅暆暈暉暊暋暍暎暏暐暒暓暔暕暘",4,"暞",8,"暩",4,"暯",4,"暵暶暷暸暺暻暼暽暿",25,"曚曞",7,"曧曨曪",5,"曱曵曶書曺曻曽朁朂會"],["9640","朄朅朆朇朌朎朏朑朒朓朖朘朙朚朜朞朠",5,"朧朩朮朰朲朳朶朷朸朹朻朼朾朿杁杄杅杇杊杋杍杒杔杕杗",4,"杝杢杣杤杦杧杫杬杮東杴杶"],["9680","杸杹杺杻杽枀枂枃枅枆枈枊枌枍枎枏枑枒枓枔枖枙枛枟枠枡枤枦枩枬枮枱枲枴枹",7,"柂柅",9,"柕柖柗柛柟柡柣柤柦柧柨柪柫柭柮柲柵",7,"柾栁栂栃栄栆栍栐栒栔栕栘",4,"栞栟栠栢",6,"栫",6,"栴栵栶栺栻栿桇桋桍桏桒桖",5],["9740","桜桝桞桟桪桬",7,"桵桸",8,"梂梄梇",7,"梐梑梒梔梕梖梘",9,"梣梤梥梩梪梫梬梮梱梲梴梶梷梸"],["9780","梹",6,"棁棃",5,"棊棌棎棏棐棑棓棔棖棗棙棛",4,"棡棢棤",9,"棯棲棳棴棶棷棸棻棽棾棿椀椂椃椄椆",4,"椌椏椑椓",11,"椡椢椣椥",7,"椮椯椱椲椳椵椶椷椸椺椻椼椾楀楁楃",16,"楕楖楘楙楛楜楟"],["9840","楡楢楤楥楧楨楩楪楬業楯楰楲",4,"楺楻楽楾楿榁榃榅榊榋榌榎",5,"榖榗榙榚榝",9,"榩榪榬榮榯榰榲榳榵榶榸榹榺榼榽"],["9880","榾榿槀槂",7,"構槍槏槑槒槓槕",5,"槜槝槞槡",11,"槮槯槰槱槳",9,"槾樀",9,"樋",11,"標",5,"樠樢",5,"権樫樬樭樮樰樲樳樴樶",6,"樿",4,"橅橆橈",7,"橑",6,"橚"],["9940","橜",4,"橢橣橤橦",10,"橲",6,"橺橻橽橾橿檁檂檃檅",8,"檏檒",4,"檘",7,"檡",5],["9980","檧檨檪檭",114,"欥欦欨",6],["9a40","欯欰欱欳欴欵欶欸欻欼欽欿歀歁歂歄歅歈歊歋歍",11,"歚",7,"歨歩歫",13,"歺歽歾歿殀殅殈"],["9a80","殌殎殏殐殑殔殕殗殘殙殜",4,"殢",7,"殫",7,"殶殸",6,"毀毃毄毆",4,"毌毎毐毑毘毚毜",4,"毢",7,"毬毭毮毰毱毲毴毶毷毸毺毻毼毾",6,"氈",4,"氎氒気氜氝氞氠氣氥氫氬氭氱氳氶氷氹氺氻氼氾氿汃汄汅汈汋",4,"汑汒汓汖汘"],["9b40","汙汚汢汣汥汦汧汫",4,"汱汳汵汷汸決汻汼汿沀沄沇沊沋沍沎沑沒沕沖沗沘沚沜沝沞沠沢沨沬沯沰沴沵沶沷沺泀況泂泃泆泇泈泋泍泎泏泑泒泘"],["9b80","泙泚泜泝泟泤泦泧泩泬泭泲泴泹泿洀洂洃洅洆洈洉洊洍洏洐洑洓洔洕洖洘洜洝洟",5,"洦洨洩洬洭洯洰洴洶洷洸洺洿浀浂浄浉浌浐浕浖浗浘浛浝浟浡浢浤浥浧浨浫浬浭浰浱浲浳浵浶浹浺浻浽",4,"涃涄涆涇涊涋涍涏涐涒涖",4,"涜涢涥涬涭涰涱涳涴涶涷涹",5,"淁淂淃淈淉淊"],["9c40","淍淎淏淐淒淓淔淕淗淚淛淜淟淢淣淥淧淨淩淪淭淯淰淲淴淵淶淸淺淽",7,"渆渇済渉渋渏渒渓渕渘渙減渜渞渟渢渦渧渨渪測渮渰渱渳渵"],["9c80","渶渷渹渻",7,"湅",7,"湏湐湑湒湕湗湙湚湜湝湞湠",10,"湬湭湯",14,"満溁溂溄溇溈溊",4,"溑",6,"溙溚溛溝溞溠溡溣溤溦溨溩溫溬溭溮溰溳溵溸溹溼溾溿滀滃滄滅滆滈滉滊滌滍滎滐滒滖滘滙滛滜滝滣滧滪",5],["9d40","滰滱滲滳滵滶滷滸滺",7,"漃漄漅漇漈漊",4,"漐漑漒漖",9,"漡漢漣漥漦漧漨漬漮漰漲漴漵漷",6,"漿潀潁潂"],["9d80","潃潄潅潈潉潊潌潎",9,"潙潚潛潝潟潠潡潣潤潥潧",5,"潯潰潱潳潵潶潷潹潻潽",6,"澅澆澇澊澋澏",12,"澝澞澟澠澢",4,"澨",10,"澴澵澷澸澺",5,"濁濃",5,"濊",6,"濓",10,"濟濢濣濤濥"],["9e40","濦",7,"濰",32,"瀒",7,"瀜",6,"瀤",6],["9e80","瀫",9,"瀶瀷瀸瀺",17,"灍灎灐",13,"灟",11,"灮灱灲灳灴灷灹灺灻災炁炂炃炄炆炇炈炋炌炍炏炐炑炓炗炘炚炛炞",12,"炰炲炴炵炶為炾炿烄烅烆烇烉烋",12,"烚"],["9f40","烜烝烞烠烡烢烣烥烪烮烰",6,"烸烺烻烼烾",10,"焋",4,"焑焒焔焗焛",10,"焧",7,"焲焳焴"],["9f80","焵焷",13,"煆煇煈煉煋煍煏",12,"煝煟",4,"煥煩",4,"煯煰煱煴煵煶煷煹煻煼煾",5,"熅",4,"熋熌熍熎熐熑熒熓熕熖熗熚",4,"熡",6,"熩熪熫熭",5,"熴熶熷熸熺",8,"燄",9,"燏",4],["a040","燖",9,"燡燢燣燤燦燨",5,"燯",9,"燺",11,"爇",19],["a080","爛爜爞",9,"爩爫爭爮爯爲爳爴爺爼爾牀",6,"牉牊牋牎牏牐牑牓牔牕牗牘牚牜牞牠牣牤牥牨牪牫牬牭牰牱牳牴牶牷牸牻牼牽犂犃犅",4,"犌犎犐犑犓",11,"犠",11,"犮犱犲犳犵犺",6,"狅狆狇狉狊狋狌狏狑狓狔狕狖狘狚狛"],["a1a1"," 、。·ˉˇ¨〃々—~‖…‘’“”〔〕〈",7,"〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃$¤¢£‰§№☆★○●◎◇◆□■△▲※→←↑↓〓"],["a2a1","ⅰ",9],["a2b1","⒈",19,"⑴",19,"①",9],["a2e5","㈠",9],["a2f1","Ⅰ",11],["a3a1","!"#¥%",88," ̄"],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a6e0","︵︶︹︺︿﹀︽︾﹁﹂﹃﹄"],["a6ee","︻︼︷︸︱"],["a6f4","︳︴"],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a840","ˊˋ˙–―‥‵℅℉↖↗↘↙∕∟∣≒≦≧⊿═",35,"▁",6],["a880","█",7,"▓▔▕▼▽◢◣◤◥☉⊕〒〝〞"],["a8a1","āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüêɑ"],["a8bd","ńň"],["a8c0","ɡ"],["a8c5","ㄅ",36],["a940","〡",8,"㊣㎎㎏㎜㎝㎞㎡㏄㏎㏑㏒㏕︰¬¦"],["a959","℡㈱"],["a95c","‐"],["a960","ー゛゜ヽヾ〆ゝゞ﹉",9,"﹔﹕﹖﹗﹙",8],["a980","﹢",4,"﹨﹩﹪﹫"],["a996","〇"],["a9a4","─",75],["aa40","狜狝狟狢",5,"狪狫狵狶狹狽狾狿猀猂猄",5,"猋猌猍猏猐猑猒猔猘猙猚猟猠猣猤猦猧猨猭猯猰猲猳猵猶猺猻猼猽獀",8],["aa80","獉獊獋獌獎獏獑獓獔獕獖獘",7,"獡",10,"獮獰獱"],["ab40","獲",11,"獿",4,"玅玆玈玊玌玍玏玐玒玓玔玕玗玘玙玚玜玝玞玠玡玣",5,"玪玬玭玱玴玵玶玸玹玼玽玾玿珁珃",4],["ab80","珋珌珎珒",6,"珚珛珜珝珟珡珢珣珤珦珨珪珫珬珮珯珰珱珳",4],["ac40","珸",10,"琄琇琈琋琌琍琎琑",8,"琜",5,"琣琤琧琩琫琭琯琱琲琷",4,"琽琾琿瑀瑂",11],["ac80","瑎",6,"瑖瑘瑝瑠",12,"瑮瑯瑱",4,"瑸瑹瑺"],["ad40","瑻瑼瑽瑿璂璄璅璆璈璉璊璌璍璏璑",10,"璝璟",7,"璪",15,"璻",12],["ad80","瓈",9,"瓓",8,"瓝瓟瓡瓥瓧",6,"瓰瓱瓲"],["ae40","瓳瓵瓸",6,"甀甁甂甃甅",7,"甎甐甒甔甕甖甗甛甝甞甠",4,"甦甧甪甮甴甶甹甼甽甿畁畂畃畄畆畇畉畊畍畐畑畒畓畕畖畗畘"],["ae80","畝",7,"畧畨畩畫",6,"畳畵當畷畺",4,"疀疁疂疄疅疇"],["af40","疈疉疊疌疍疎疐疓疕疘疛疜疞疢疦",4,"疭疶疷疺疻疿痀痁痆痋痌痎痏痐痑痓痗痙痚痜痝痟痠痡痥痩痬痭痮痯痲痳痵痶痷痸痺痻痽痾瘂瘄瘆瘇"],["af80","瘈瘉瘋瘍瘎瘏瘑瘒瘓瘔瘖瘚瘜瘝瘞瘡瘣瘧瘨瘬瘮瘯瘱瘲瘶瘷瘹瘺瘻瘽癁療癄"],["b040","癅",6,"癎",5,"癕癗",4,"癝癟癠癡癢癤",6,"癬癭癮癰",7,"癹発發癿皀皁皃皅皉皊皌皍皏皐皒皔皕皗皘皚皛"],["b080","皜",7,"皥",8,"皯皰皳皵",9,"盀盁盃啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥"],["b140","盄盇盉盋盌盓盕盙盚盜盝盞盠",4,"盦",7,"盰盳盵盶盷盺盻盽盿眀眂眃眅眆眊県眎",10,"眛眜眝眞眡眣眤眥眧眪眫"],["b180","眬眮眰",4,"眹眻眽眾眿睂睄睅睆睈",7,"睒",7,"睜薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳"],["b240","睝睞睟睠睤睧睩睪睭",11,"睺睻睼瞁瞂瞃瞆",5,"瞏瞐瞓",11,"瞡瞣瞤瞦瞨瞫瞭瞮瞯瞱瞲瞴瞶",4],["b280","瞼瞾矀",12,"矎",8,"矘矙矚矝",4,"矤病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖"],["b340","矦矨矪矯矰矱矲矴矵矷矹矺矻矼砃",5,"砊砋砎砏砐砓砕砙砛砞砠砡砢砤砨砪砫砮砯砱砲砳砵砶砽砿硁硂硃硄硆硈硉硊硋硍硏硑硓硔硘硙硚"],["b380","硛硜硞",11,"硯",7,"硸硹硺硻硽",6,"场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚"],["b440","碄碅碆碈碊碋碏碐碒碔碕碖碙碝碞碠碢碤碦碨",7,"碵碶碷碸確碻碼碽碿磀磂磃磄磆磇磈磌磍磎磏磑磒磓磖磗磘磚",9],["b480","磤磥磦磧磩磪磫磭",4,"磳磵磶磸磹磻",5,"礂礃礄礆",6,"础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮"],["b540","礍",5,"礔",9,"礟",4,"礥",14,"礵",4,"礽礿祂祃祄祅祇祊",8,"祔祕祘祙祡祣"],["b580","祤祦祩祪祫祬祮祰",6,"祹祻",4,"禂禃禆禇禈禉禋禌禍禎禐禑禒怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠"],["b640","禓",6,"禛",11,"禨",10,"禴",4,"禼禿秂秄秅秇秈秊秌秎秏秐秓秔秖秗秙",5,"秠秡秢秥秨秪"],["b680","秬秮秱",6,"秹秺秼秾秿稁稄稅稇稈稉稊稌稏",4,"稕稖稘稙稛稜丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二"],["b740","稝稟稡稢稤",14,"稴稵稶稸稺稾穀",5,"穇",9,"穒",4,"穘",16],["b780","穩",6,"穱穲穳穵穻穼穽穾窂窅窇窉窊窋窌窎窏窐窓窔窙窚窛窞窡窢贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服"],["b840","窣窤窧窩窪窫窮",4,"窴",10,"竀",10,"竌",9,"竗竘竚竛竜竝竡竢竤竧",5,"竮竰竱竲竳"],["b880","竴",4,"竻竼竾笀笁笂笅笇笉笌笍笎笐笒笓笖笗笘笚笜笝笟笡笢笣笧笩笭浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹"],["b940","笯笰笲笴笵笶笷笹笻笽笿",5,"筆筈筊筍筎筓筕筗筙筜筞筟筡筣",10,"筯筰筳筴筶筸筺筼筽筿箁箂箃箄箆",6,"箎箏"],["b980","箑箒箓箖箘箙箚箛箞箟箠箣箤箥箮箯箰箲箳箵箶箷箹",7,"篂篃範埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈"],["ba40","篅篈築篊篋篍篎篏篐篒篔",4,"篛篜篞篟篠篢篣篤篧篨篩篫篬篭篯篰篲",4,"篸篹篺篻篽篿",7,"簈簉簊簍簎簐",5,"簗簘簙"],["ba80","簚",4,"簠",5,"簨簩簫",12,"簹",5,"籂骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖"],["bb40","籃",9,"籎",36,"籵",5,"籾",9],["bb80","粈粊",6,"粓粔粖粙粚粛粠粡粣粦粧粨粩粫粬粭粯粰粴",4,"粺粻弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕"],["bc40","粿糀糂糃糄糆糉糋糎",6,"糘糚糛糝糞糡",6,"糩",5,"糰",7,"糹糺糼",13,"紋",5],["bc80","紑",14,"紡紣紤紥紦紨紩紪紬紭紮細",6,"肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件"],["bd40","紷",54,"絯",7],["bd80","絸",32,"健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸"],["be40","継",12,"綧",6,"綯",42],["be80","線",32,"尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻"],["bf40","緻",62],["bf80","縺縼",4,"繂",4,"繈",21,"俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀"],["c040","繞",35,"纃",23,"纜纝纞"],["c080","纮纴纻纼绖绤绬绹缊缐缞缷缹缻",6,"罃罆",9,"罒罓馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐"],["c140","罖罙罛罜罝罞罠罣",4,"罫罬罭罯罰罳罵罶罷罸罺罻罼罽罿羀羂",7,"羋羍羏",4,"羕",4,"羛羜羠羢羣羥羦羨",6,"羱"],["c180","羳",4,"羺羻羾翀翂翃翄翆翇翈翉翋翍翏",4,"翖翗翙",5,"翢翣痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿"],["c240","翤翧翨翪翫翬翭翯翲翴",6,"翽翾翿耂耇耈耉耊耎耏耑耓耚耛耝耞耟耡耣耤耫",5,"耲耴耹耺耼耾聀聁聄聅聇聈聉聎聏聐聑聓聕聖聗"],["c280","聙聛",13,"聫",5,"聲",11,"隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫"],["c340","聾肁肂肅肈肊肍",5,"肔肕肗肙肞肣肦肧肨肬肰肳肵肶肸肹肻胅胇",4,"胏",6,"胘胟胠胢胣胦胮胵胷胹胻胾胿脀脁脃脄脅脇脈脋"],["c380","脌脕脗脙脛脜脝脟",12,"脭脮脰脳脴脵脷脹",4,"脿谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸"],["c440","腀",5,"腇腉腍腎腏腒腖腗腘腛",4,"腡腢腣腤腦腨腪腫腬腯腲腳腵腶腷腸膁膃",4,"膉膋膌膍膎膐膒",5,"膙膚膞",4,"膤膥"],["c480","膧膩膫",7,"膴",5,"膼膽膾膿臄臅臇臈臉臋臍",6,"摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁"],["c540","臔",14,"臤臥臦臨臩臫臮",4,"臵",5,"臽臿舃與",4,"舎舏舑舓舕",5,"舝舠舤舥舦舧舩舮舲舺舼舽舿"],["c580","艀艁艂艃艅艆艈艊艌艍艎艐",7,"艙艛艜艝艞艠",7,"艩拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗"],["c640","艪艫艬艭艱艵艶艷艸艻艼芀芁芃芅芆芇芉芌芐芓芔芕芖芚芛芞芠芢芣芧芲芵芶芺芻芼芿苀苂苃苅苆苉苐苖苙苚苝苢苧苨苩苪苬苭苮苰苲苳苵苶苸"],["c680","苺苼",4,"茊茋茍茐茒茓茖茘茙茝",9,"茩茪茮茰茲茷茻茽啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐"],["c740","茾茿荁荂荄荅荈荊",4,"荓荕",4,"荝荢荰",6,"荹荺荾",6,"莇莈莊莋莌莍莏莐莑莔莕莖莗莙莚莝莟莡",6,"莬莭莮"],["c780","莯莵莻莾莿菂菃菄菆菈菉菋菍菎菐菑菒菓菕菗菙菚菛菞菢菣菤菦菧菨菫菬菭恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠"],["c840","菮華菳",4,"菺菻菼菾菿萀萂萅萇萈萉萊萐萒",5,"萙萚萛萞",5,"萩",7,"萲",5,"萹萺萻萾",7,"葇葈葉"],["c880","葊",6,"葒",4,"葘葝葞葟葠葢葤",4,"葪葮葯葰葲葴葷葹葻葼取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁"],["c940","葽",4,"蒃蒄蒅蒆蒊蒍蒏",7,"蒘蒚蒛蒝蒞蒟蒠蒢",12,"蒰蒱蒳蒵蒶蒷蒻蒼蒾蓀蓂蓃蓅蓆蓇蓈蓋蓌蓎蓏蓒蓔蓕蓗"],["c980","蓘",4,"蓞蓡蓢蓤蓧",4,"蓭蓮蓯蓱",10,"蓽蓾蔀蔁蔂伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳"],["ca40","蔃",8,"蔍蔎蔏蔐蔒蔔蔕蔖蔘蔙蔛蔜蔝蔞蔠蔢",8,"蔭",9,"蔾",4,"蕄蕅蕆蕇蕋",10],["ca80","蕗蕘蕚蕛蕜蕝蕟",4,"蕥蕦蕧蕩",8,"蕳蕵蕶蕷蕸蕼蕽蕿薀薁省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱"],["cb40","薂薃薆薈",6,"薐",10,"薝",6,"薥薦薧薩薫薬薭薱",5,"薸薺",6,"藂",6,"藊",4,"藑藒"],["cb80","藔藖",5,"藝",6,"藥藦藧藨藪",14,"恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔"],["cc40","藹藺藼藽藾蘀",4,"蘆",10,"蘒蘓蘔蘕蘗",15,"蘨蘪",13,"蘹蘺蘻蘽蘾蘿虀"],["cc80","虁",11,"虒虓處",4,"虛虜虝號虠虡虣",7,"獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃"],["cd40","虭虯虰虲",6,"蚃",6,"蚎",4,"蚔蚖",5,"蚞",4,"蚥蚦蚫蚭蚮蚲蚳蚷蚸蚹蚻",4,"蛁蛂蛃蛅蛈蛌蛍蛒蛓蛕蛖蛗蛚蛜"],["cd80","蛝蛠蛡蛢蛣蛥蛦蛧蛨蛪蛫蛬蛯蛵蛶蛷蛺蛻蛼蛽蛿蜁蜄蜅蜆蜋蜌蜎蜏蜐蜑蜔蜖汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威"],["ce40","蜙蜛蜝蜟蜠蜤蜦蜧蜨蜪蜫蜬蜭蜯蜰蜲蜳蜵蜶蜸蜹蜺蜼蜽蝀",6,"蝊蝋蝍蝏蝐蝑蝒蝔蝕蝖蝘蝚",5,"蝡蝢蝦",7,"蝯蝱蝲蝳蝵"],["ce80","蝷蝸蝹蝺蝿螀螁螄螆螇螉螊螌螎",4,"螔螕螖螘",6,"螠",4,"巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺"],["cf40","螥螦螧螩螪螮螰螱螲螴螶螷螸螹螻螼螾螿蟁",4,"蟇蟈蟉蟌",4,"蟔",6,"蟜蟝蟞蟟蟡蟢蟣蟤蟦蟧蟨蟩蟫蟬蟭蟯",9],["cf80","蟺蟻蟼蟽蟿蠀蠁蠂蠄",5,"蠋",7,"蠔蠗蠘蠙蠚蠜",4,"蠣稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓"],["d040","蠤",13,"蠳",5,"蠺蠻蠽蠾蠿衁衂衃衆",5,"衎",5,"衕衖衘衚",6,"衦衧衪衭衯衱衳衴衵衶衸衹衺"],["d080","衻衼袀袃袆袇袉袊袌袎袏袐袑袓袔袕袗",4,"袝",4,"袣袥",5,"小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄"],["d140","袬袮袯袰袲",4,"袸袹袺袻袽袾袿裀裃裄裇裈裊裋裌裍裏裐裑裓裖裗裚",4,"裠裡裦裧裩",6,"裲裵裶裷裺裻製裿褀褁褃",5],["d180","褉褋",4,"褑褔",4,"褜",4,"褢褣褤褦褧褨褩褬褭褮褯褱褲褳褵褷选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶"],["d240","褸",8,"襂襃襅",24,"襠",5,"襧",19,"襼"],["d280","襽襾覀覂覄覅覇",26,"摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐"],["d340","覢",30,"觃觍觓觔觕觗觘觙觛觝觟觠觡觢觤觧觨觩觪觬觭觮觰觱觲觴",6],["d380","觻",4,"訁",5,"計",21,"印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉"],["d440","訞",31,"訿",8,"詉",21],["d480","詟",25,"詺",6,"浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧"],["d540","誁",7,"誋",7,"誔",46],["d580","諃",32,"铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政"],["d640","諤",34,"謈",27],["d680","謤謥謧",30,"帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑"],["d740","譆",31,"譧",4,"譭",25],["d780","讇",24,"讬讱讻诇诐诪谉谞住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座"],["d840","谸",8,"豂豃豄豅豈豊豋豍",7,"豖豗豘豙豛",5,"豣",6,"豬",6,"豴豵豶豷豻",6,"貃貄貆貇"],["d880","貈貋貍",6,"貕貖貗貙",20,"亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝"],["d940","貮",62],["d980","賭",32,"佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼"],["da40","贎",14,"贠赑赒赗赟赥赨赩赪赬赮赯赱赲赸",8,"趂趃趆趇趈趉趌",4,"趒趓趕",9,"趠趡"],["da80","趢趤",12,"趲趶趷趹趻趽跀跁跂跅跇跈跉跊跍跐跒跓跔凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺"],["db40","跕跘跙跜跠跡跢跥跦跧跩跭跮跰跱跲跴跶跼跾",6,"踆踇踈踋踍踎踐踑踒踓踕",7,"踠踡踤",4,"踫踭踰踲踳踴踶踷踸踻踼踾"],["db80","踿蹃蹅蹆蹌",4,"蹓",5,"蹚",11,"蹧蹨蹪蹫蹮蹱邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝"],["dc40","蹳蹵蹷",4,"蹽蹾躀躂躃躄躆躈",6,"躑躒躓躕",6,"躝躟",11,"躭躮躰躱躳",6,"躻",7],["dc80","軃",10,"軏",21,"堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥"],["dd40","軥",62],["dd80","輤",32,"荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺"],["de40","轅",32,"轪辀辌辒辝辠辡辢辤辥辦辧辪辬辭辮辯農辳辴辵辷辸辺辻込辿迀迃迆"],["de80","迉",4,"迏迒迖迗迚迠迡迣迧迬迯迱迲迴迵迶迺迻迼迾迿逇逈逌逎逓逕逘蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖"],["df40","這逜連逤逥逧",5,"逰",4,"逷逹逺逽逿遀遃遅遆遈",4,"過達違遖遙遚遜",5,"遤遦遧適遪遫遬遯",4,"遶",6,"遾邁"],["df80","還邅邆邇邉邊邌",4,"邒邔邖邘邚邜邞邟邠邤邥邧邨邩邫邭邲邷邼邽邿郀摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼"],["e040","郂郃郆郈郉郋郌郍郒郔郕郖郘郙郚郞郟郠郣郤郥郩郪郬郮郰郱郲郳郵郶郷郹郺郻郼郿鄀鄁鄃鄅",19,"鄚鄛鄜"],["e080","鄝鄟鄠鄡鄤",10,"鄰鄲",6,"鄺",8,"酄唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼"],["e140","酅酇酈酑酓酔酕酖酘酙酛酜酟酠酦酧酨酫酭酳酺酻酼醀",4,"醆醈醊醎醏醓",6,"醜",5,"醤",5,"醫醬醰醱醲醳醶醷醸醹醻"],["e180","醼",10,"釈釋釐釒",9,"針",8,"帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺"],["e240","釦",62],["e280","鈥",32,"狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧",5,"饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂"],["e340","鉆",45,"鉵",16],["e380","銆",7,"銏",24,"恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾"],["e440","銨",5,"銯",24,"鋉",31],["e480","鋩",32,"洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑"],["e540","錊",51,"錿",10],["e580","鍊",31,"鍫濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣"],["e640","鍬",34,"鎐",27],["e680","鎬",29,"鏋鏌鏍妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩"],["e740","鏎",7,"鏗",54],["e780","鐎",32,"纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡",6,"缪缫缬缭缯",4,"缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬"],["e840","鐯",14,"鐿",43,"鑬鑭鑮鑯"],["e880","鑰",20,"钑钖钘铇铏铓铔铚铦铻锜锠琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹"],["e940","锧锳锽镃镈镋镕镚镠镮镴镵長",7,"門",42],["e980","閫",32,"椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋"],["ea40","闌",27,"闬闿阇阓阘阛阞阠阣",6,"阫阬阭阯阰阷阸阹阺阾陁陃陊陎陏陑陒陓陖陗"],["ea80","陘陙陚陜陝陞陠陣陥陦陫陭",4,"陳陸",12,"隇隉隊辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰"],["eb40","隌階隑隒隓隕隖隚際隝",9,"隨",7,"隱隲隴隵隷隸隺隻隿雂雃雈雊雋雐雑雓雔雖",9,"雡",6,"雫"],["eb80","雬雭雮雰雱雲雴雵雸雺電雼雽雿霂霃霅霊霋霌霐霑霒霔霕霗",4,"霝霟霠搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻"],["ec40","霡",8,"霫霬霮霯霱霳",4,"霺霻霼霽霿",18,"靔靕靗靘靚靜靝靟靣靤靦靧靨靪",7],["ec80","靲靵靷",4,"靽",7,"鞆",4,"鞌鞎鞏鞐鞓鞕鞖鞗鞙",4,"臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐"],["ed40","鞞鞟鞡鞢鞤",6,"鞬鞮鞰鞱鞳鞵",46],["ed80","韤韥韨韮",4,"韴韷",23,"怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨"],["ee40","頏",62],["ee80","顎",32,"睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶",4,"钼钽钿铄铈",6,"铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪"],["ef40","顯",5,"颋颎颒颕颙颣風",37,"飏飐飔飖飗飛飜飝飠",4],["ef80","飥飦飩",30,"铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒",4,"锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤",8,"镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔"],["f040","餈",4,"餎餏餑",28,"餯",26],["f080","饊",9,"饖",12,"饤饦饳饸饹饻饾馂馃馉稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨",4,"鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦",6,"鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙"],["f140","馌馎馚",10,"馦馧馩",47],["f180","駙",32,"瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃"],["f240","駺",62],["f280","騹",32,"颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒"],["f340","驚",17,"驲骃骉骍骎骔骕骙骦骩",6,"骲骳骴骵骹骻骽骾骿髃髄髆",4,"髍髎髏髐髒體髕髖髗髙髚髛髜"],["f380","髝髞髠髢髣髤髥髧髨髩髪髬髮髰",8,"髺髼",6,"鬄鬅鬆蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋"],["f440","鬇鬉",5,"鬐鬑鬒鬔",10,"鬠鬡鬢鬤",10,"鬰鬱鬳",7,"鬽鬾鬿魀魆魊魋魌魎魐魒魓魕",5],["f480","魛",32,"簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤"],["f540","魼",62],["f580","鮻",32,"酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜"],["f640","鯜",62],["f680","鰛",32,"觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅",5,"龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞",5,"鲥",4,"鲫鲭鲮鲰",7,"鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋"],["f740","鰼",62],["f780","鱻鱽鱾鲀鲃鲄鲉鲊鲌鲏鲓鲖鲗鲘鲙鲝鲪鲬鲯鲹鲾",4,"鳈鳉鳑鳒鳚鳛鳠鳡鳌",4,"鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄"],["f840","鳣",62],["f880","鴢",32],["f940","鵃",62],["f980","鶂",32],["fa40","鶣",62],["fa80","鷢",32],["fb40","鸃",27,"鸤鸧鸮鸰鸴鸻鸼鹀鹍鹐鹒鹓鹔鹖鹙鹝鹟鹠鹡鹢鹥鹮鹯鹲鹴",9,"麀"],["fb80","麁麃麄麅麆麉麊麌",5,"麔",8,"麞麠",5,"麧麨麩麪"],["fc40","麫",8,"麵麶麷麹麺麼麿",4,"黅黆黇黈黊黋黌黐黒黓黕黖黗黙黚點黡黣黤黦黨黫黬黭黮黰",8,"黺黽黿",6],["fc80","鼆",4,"鼌鼏鼑鼒鼔鼕鼖鼘鼚",5,"鼡鼣",8,"鼭鼮鼰鼱"],["fd40","鼲",4,"鼸鼺鼼鼿",4,"齅",10,"齒",38],["fd80","齹",5,"龁龂龍",11,"龜龝龞龡",4,"郎凉秊裏隣"],["fe40","兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩"]],Wm=[["a140","",62],["a180","",32],["a240","",62],["a280","",32],["a2ab","",5],["a2e3","€"],["a2ef",""],["a2fd",""],["a340","",62],["a380","",31," "],["a440","",62],["a480","",32],["a4f4","",10],["a540","",62],["a580","",32],["a5f7","",7],["a640","",62],["a680","",32],["a6b9","",7],["a6d9","",6],["a6ec",""],["a6f3",""],["a6f6","",8],["a740","",62],["a780","",32],["a7c2","",14],["a7f2","",12],["a896","",10],["a8bc","ḿ"],["a8bf","ǹ"],["a8c1",""],["a8ea","",20],["a958",""],["a95b",""],["a95d",""],["a989","〾⿰",11],["a997","",12],["a9f0","",14],["aaa1","",93],["aba1","",93],["aca1","",93],["ada1","",93],["aea1","",93],["afa1","",93],["d7fa","",4],["f8a1","",93],["f9a1","",93],["faa1","",93],["fba1","",93],["fca1","",93],["fda1","",93],["fe50","⺁⺄㑳㑇⺈⺋㖞㘚㘎⺌⺗㥮㤘㧏㧟㩳㧐㭎㱮㳠⺧⺪䁖䅟⺮䌷⺳⺶⺷䎱䎬⺻䏝䓖䙡䙌"],["fe80","䜣䜩䝼䞍⻊䥇䥺䥽䦂䦃䦅䦆䦟䦛䦷䦶䲣䲟䲠䲡䱷䲢䴓",6,"䶮",93],["8135f437",""]],n_=[128,165,169,178,184,216,226,235,238,244,248,251,253,258,276,284,300,325,329,334,364,463,465,467,469,471,473,475,477,506,594,610,712,716,730,930,938,962,970,1026,1104,1106,8209,8215,8218,8222,8231,8241,8244,8246,8252,8365,8452,8454,8458,8471,8482,8556,8570,8596,8602,8713,8720,8722,8726,8731,8737,8740,8742,8748,8751,8760,8766,8777,8781,8787,8802,8808,8816,8854,8858,8870,8896,8979,9322,9372,9548,9588,9616,9622,9634,9652,9662,9672,9676,9680,9702,9735,9738,9793,9795,11906,11909,11913,11917,11928,11944,11947,11951,11956,11960,11964,11979,12284,12292,12312,12319,12330,12351,12436,12447,12535,12543,12586,12842,12850,12964,13200,13215,13218,13253,13263,13267,13270,13384,13428,13727,13839,13851,14617,14703,14801,14816,14964,15183,15471,15585,16471,16736,17208,17325,17330,17374,17623,17997,18018,18212,18218,18301,18318,18760,18811,18814,18820,18823,18844,18848,18872,19576,19620,19738,19887,40870,59244,59336,59367,59413,59417,59423,59431,59437,59443,59452,59460,59478,59493,63789,63866,63894,63976,63986,64016,64018,64021,64025,64034,64037,64042,65074,65093,65107,65112,65127,65132,65375,65510,65536],r_=[0,36,38,45,50,81,89,95,96,100,103,104,105,109,126,133,148,172,175,179,208,306,307,308,309,310,311,312,313,341,428,443,544,545,558,741,742,749,750,805,819,820,7922,7924,7925,7927,7934,7943,7944,7945,7950,8062,8148,8149,8152,8164,8174,8236,8240,8262,8264,8374,8380,8381,8384,8388,8390,8392,8393,8394,8396,8401,8406,8416,8419,8424,8437,8439,8445,8482,8485,8496,8521,8603,8936,8946,9046,9050,9063,9066,9076,9092,9100,9108,9111,9113,9131,9162,9164,9218,9219,11329,11331,11334,11336,11346,11361,11363,11366,11370,11372,11375,11389,11682,11686,11687,11692,11694,11714,11716,11723,11725,11730,11736,11982,11989,12102,12336,12348,12350,12384,12393,12395,12397,12510,12553,12851,12962,12973,13738,13823,13919,13933,14080,14298,14585,14698,15583,15847,16318,16434,16438,16481,16729,17102,17122,17315,17320,17402,17418,17859,17909,17911,17915,17916,17936,17939,17961,18664,18703,18814,18962,19043,33469,33470,33471,33484,33485,33490,33497,33501,33505,33513,33520,33536,33550,37845,37921,37948,38029,38038,38064,38065,38066,38069,38075,38076,38078,39108,39109,39113,39114,39115,39116,39265,39394,189e3],i_={uChars:n_,gbChars:r_},a_=[["0","\0",127],["8141","갂갃갅갆갋",4,"갘갞갟갡갢갣갥",6,"갮갲갳갴"],["8161","갵갶갷갺갻갽갾갿걁",9,"걌걎",5,"걕"],["8181","걖걗걙걚걛걝",18,"걲걳걵걶걹걻",4,"겂겇겈겍겎겏겑겒겓겕",6,"겞겢",5,"겫겭겮겱",6,"겺겾겿곀곂곃곅곆곇곉곊곋곍",7,"곖곘",7,"곢곣곥곦곩곫곭곮곲곴곷",4,"곾곿괁괂괃괅괇",4,"괎괐괒괓"],["8241","괔괕괖괗괙괚괛괝괞괟괡",7,"괪괫괮",5],["8261","괶괷괹괺괻괽",6,"굆굈굊",5,"굑굒굓굕굖굗"],["8281","굙",7,"굢굤",7,"굮굯굱굲굷굸굹굺굾궀궃",4,"궊궋궍궎궏궑",10,"궞",5,"궥",17,"궸",7,"귂귃귅귆귇귉",6,"귒귔",7,"귝귞귟귡귢귣귥",18],["8341","귺귻귽귾긂",5,"긊긌긎",5,"긕",7],["8361","긝",18,"긲긳긵긶긹긻긼"],["8381","긽긾긿깂깄깇깈깉깋깏깑깒깓깕깗",4,"깞깢깣깤깦깧깪깫깭깮깯깱",6,"깺깾",5,"꺆",5,"꺍",46,"꺿껁껂껃껅",6,"껎껒",5,"껚껛껝",8],["8441","껦껧껩껪껬껮",5,"껵껶껷껹껺껻껽",8],["8461","꼆꼉꼊꼋꼌꼎꼏꼑",18],["8481","꼤",7,"꼮꼯꼱꼳꼵",6,"꼾꽀꽄꽅꽆꽇꽊",5,"꽑",10,"꽞",5,"꽦",18,"꽺",5,"꾁꾂꾃꾅꾆꾇꾉",6,"꾒꾓꾔꾖",5,"꾝",26,"꾺꾻꾽꾾"],["8541","꾿꿁",5,"꿊꿌꿏",4,"꿕",6,"꿝",4],["8561","꿢",5,"꿪",5,"꿲꿳꿵꿶꿷꿹",6,"뀂뀃"],["8581","뀅",6,"뀍뀎뀏뀑뀒뀓뀕",6,"뀞",9,"뀩",26,"끆끇끉끋끍끏끐끑끒끖끘끚끛끜끞",29,"끾끿낁낂낃낅",6,"낎낐낒",5,"낛낝낞낣낤"],["8641","낥낦낧낪낰낲낶낷낹낺낻낽",6,"냆냊",5,"냒"],["8661","냓냕냖냗냙",6,"냡냢냣냤냦",10],["8681","냱",22,"넊넍넎넏넑넔넕넖넗넚넞",4,"넦넧넩넪넫넭",6,"넶넺",5,"녂녃녅녆녇녉",6,"녒녓녖녗녙녚녛녝녞녟녡",22,"녺녻녽녾녿놁놃",4,"놊놌놎놏놐놑놕놖놗놙놚놛놝"],["8741","놞",9,"놩",15],["8761","놹",18,"뇍뇎뇏뇑뇒뇓뇕"],["8781","뇖",5,"뇞뇠",7,"뇪뇫뇭뇮뇯뇱",7,"뇺뇼뇾",5,"눆눇눉눊눍",6,"눖눘눚",5,"눡",18,"눵",6,"눽",26,"뉙뉚뉛뉝뉞뉟뉡",6,"뉪",4],["8841","뉯",4,"뉶",5,"뉽",6,"늆늇늈늊",4],["8861","늏늒늓늕늖늗늛",4,"늢늤늧늨늩늫늭늮늯늱늲늳늵늶늷"],["8881","늸",15,"닊닋닍닎닏닑닓",4,"닚닜닞닟닠닡닣닧닩닪닰닱닲닶닼닽닾댂댃댅댆댇댉",6,"댒댖",5,"댝",54,"덗덙덚덝덠덡덢덣"],["8941","덦덨덪덬덭덯덲덳덵덶덷덹",6,"뎂뎆",5,"뎍"],["8961","뎎뎏뎑뎒뎓뎕",10,"뎢",5,"뎩뎪뎫뎭"],["8981","뎮",21,"돆돇돉돊돍돏돑돒돓돖돘돚돜돞돟돡돢돣돥돦돧돩",18,"돽",18,"됑",6,"됙됚됛됝됞됟됡",6,"됪됬",7,"됵",15],["8a41","둅",10,"둒둓둕둖둗둙",6,"둢둤둦"],["8a61","둧",4,"둭",18,"뒁뒂"],["8a81","뒃",4,"뒉",19,"뒞",5,"뒥뒦뒧뒩뒪뒫뒭",7,"뒶뒸뒺",5,"듁듂듃듅듆듇듉",6,"듑듒듓듔듖",5,"듞듟듡듢듥듧",4,"듮듰듲",5,"듹",26,"딖딗딙딚딝"],["8b41","딞",5,"딦딫",4,"딲딳딵딶딷딹",6,"땂땆"],["8b61","땇땈땉땊땎땏땑땒땓땕",6,"땞땢",8],["8b81","땫",52,"떢떣떥떦떧떩떬떭떮떯떲떶",4,"떾떿뗁뗂뗃뗅",6,"뗎뗒",5,"뗙",18,"뗭",18],["8c41","똀",15,"똒똓똕똖똗똙",4],["8c61","똞",6,"똦",5,"똭",6,"똵",5],["8c81","똻",12,"뙉",26,"뙥뙦뙧뙩",50,"뚞뚟뚡뚢뚣뚥",5,"뚭뚮뚯뚰뚲",16],["8d41","뛃",16,"뛕",8],["8d61","뛞",17,"뛱뛲뛳뛵뛶뛷뛹뛺"],["8d81","뛻",4,"뜂뜃뜄뜆",33,"뜪뜫뜭뜮뜱",6,"뜺뜼",7,"띅띆띇띉띊띋띍",6,"띖",9,"띡띢띣띥띦띧띩",6,"띲띴띶",5,"띾띿랁랂랃랅",6,"랎랓랔랕랚랛랝랞"],["8e41","랟랡",6,"랪랮",5,"랶랷랹",8],["8e61","럂",4,"럈럊",19],["8e81","럞",13,"럮럯럱럲럳럵",6,"럾렂",4,"렊렋렍렎렏렑",6,"렚렜렞",5,"렦렧렩렪렫렭",6,"렶렺",5,"롁롂롃롅",11,"롒롔",7,"롞롟롡롢롣롥",6,"롮롰롲",5,"롹롺롻롽",7],["8f41","뢅",7,"뢎",17],["8f61","뢠",7,"뢩",6,"뢱뢲뢳뢵뢶뢷뢹",4],["8f81","뢾뢿룂룄룆",5,"룍룎룏룑룒룓룕",7,"룞룠룢",5,"룪룫룭룮룯룱",6,"룺룼룾",5,"뤅",18,"뤙",6,"뤡",26,"뤾뤿륁륂륃륅",6,"륍륎륐륒",5],["9041","륚륛륝륞륟륡",6,"륪륬륮",5,"륶륷륹륺륻륽"],["9061","륾",5,"릆릈릋릌릏",15],["9081","릟",12,"릮릯릱릲릳릵",6,"릾맀맂",5,"맊맋맍맓",4,"맚맜맟맠맢맦맧맩맪맫맭",6,"맶맻",4,"먂",5,"먉",11,"먖",33,"먺먻먽먾먿멁멃멄멅멆"],["9141","멇멊멌멏멐멑멒멖멗멙멚멛멝",6,"멦멪",5],["9161","멲멳멵멶멷멹",9,"몆몈몉몊몋몍",5],["9181","몓",20,"몪몭몮몯몱몳",4,"몺몼몾",5,"뫅뫆뫇뫉",14,"뫚",33,"뫽뫾뫿묁묂묃묅",7,"묎묐묒",5,"묙묚묛묝묞묟묡",6],["9241","묨묪묬",7,"묷묹묺묿",4,"뭆뭈뭊뭋뭌뭎뭑뭒"],["9261","뭓뭕뭖뭗뭙",7,"뭢뭤",7,"뭭",4],["9281","뭲",21,"뮉뮊뮋뮍뮎뮏뮑",18,"뮥뮦뮧뮩뮪뮫뮭",6,"뮵뮶뮸",7,"믁믂믃믅믆믇믉",6,"믑믒믔",35,"믺믻믽믾밁"],["9341","밃",4,"밊밎밐밒밓밙밚밠밡밢밣밦밨밪밫밬밮밯밲밳밵"],["9361","밶밷밹",6,"뱂뱆뱇뱈뱊뱋뱎뱏뱑",8],["9381","뱚뱛뱜뱞",37,"벆벇벉벊벍벏",4,"벖벘벛",4,"벢벣벥벦벩",6,"벲벶",5,"벾벿볁볂볃볅",7,"볎볒볓볔볖볗볙볚볛볝",22,"볷볹볺볻볽"],["9441","볾",5,"봆봈봊",5,"봑봒봓봕",8],["9461","봞",5,"봥",6,"봭",12],["9481","봺",5,"뵁",6,"뵊뵋뵍뵎뵏뵑",6,"뵚",9,"뵥뵦뵧뵩",22,"붂붃붅붆붋",4,"붒붔붖붗붘붛붝",6,"붥",10,"붱",6,"붹",24],["9541","뷒뷓뷖뷗뷙뷚뷛뷝",11,"뷪",5,"뷱"],["9561","뷲뷳뷵뷶뷷뷹",6,"븁븂븄븆",5,"븎븏븑븒븓"],["9581","븕",6,"븞븠",35,"빆빇빉빊빋빍빏",4,"빖빘빜빝빞빟빢빣빥빦빧빩빫",4,"빲빶",4,"빾빿뺁뺂뺃뺅",6,"뺎뺒",5,"뺚",13,"뺩",14],["9641","뺸",23,"뻒뻓"],["9661","뻕뻖뻙",6,"뻡뻢뻦",5,"뻭",8],["9681","뻶",10,"뼂",5,"뼊",13,"뼚뼞",33,"뽂뽃뽅뽆뽇뽉",6,"뽒뽓뽔뽖",44],["9741","뾃",16,"뾕",8],["9761","뾞",17,"뾱",7],["9781","뾹",11,"뿆",5,"뿎뿏뿑뿒뿓뿕",6,"뿝뿞뿠뿢",89,"쀽쀾쀿"],["9841","쁀",16,"쁒",5,"쁙쁚쁛"],["9861","쁝쁞쁟쁡",6,"쁪",15],["9881","쁺",21,"삒삓삕삖삗삙",6,"삢삤삦",5,"삮삱삲삷",4,"삾샂샃샄샆샇샊샋샍샎샏샑",6,"샚샞",5,"샦샧샩샪샫샭",6,"샶샸샺",5,"섁섂섃섅섆섇섉",6,"섑섒섓섔섖",5,"섡섢섥섨섩섪섫섮"],["9941","섲섳섴섵섷섺섻섽섾섿셁",6,"셊셎",5,"셖셗"],["9961","셙셚셛셝",6,"셦셪",5,"셱셲셳셵셶셷셹셺셻"],["9981","셼",8,"솆",5,"솏솑솒솓솕솗",4,"솞솠솢솣솤솦솧솪솫솭솮솯솱",11,"솾",5,"쇅쇆쇇쇉쇊쇋쇍",6,"쇕쇖쇙",6,"쇡쇢쇣쇥쇦쇧쇩",6,"쇲쇴",7,"쇾쇿숁숂숃숅",6,"숎숐숒",5,"숚숛숝숞숡숢숣"],["9a41","숤숥숦숧숪숬숮숰숳숵",16],["9a61","쉆쉇쉉",6,"쉒쉓쉕쉖쉗쉙",6,"쉡쉢쉣쉤쉦"],["9a81","쉧",4,"쉮쉯쉱쉲쉳쉵",6,"쉾슀슂",5,"슊",5,"슑",6,"슙슚슜슞",5,"슦슧슩슪슫슮",5,"슶슸슺",33,"싞싟싡싢싥",5,"싮싰싲싳싴싵싷싺싽싾싿쌁",6,"쌊쌋쌎쌏"],["9b41","쌐쌑쌒쌖쌗쌙쌚쌛쌝",6,"쌦쌧쌪",8],["9b61","쌳",17,"썆",7],["9b81","썎",25,"썪썫썭썮썯썱썳",4,"썺썻썾",5,"쎅쎆쎇쎉쎊쎋쎍",50,"쏁",22,"쏚"],["9c41","쏛쏝쏞쏡쏣",4,"쏪쏫쏬쏮",5,"쏶쏷쏹",5],["9c61","쏿",8,"쐉",6,"쐑",9],["9c81","쐛",8,"쐥",6,"쐭쐮쐯쐱쐲쐳쐵",6,"쐾",9,"쑉",26,"쑦쑧쑩쑪쑫쑭",6,"쑶쑷쑸쑺",5,"쒁",18,"쒕",6,"쒝",12],["9d41","쒪",13,"쒹쒺쒻쒽",8],["9d61","쓆",25],["9d81","쓠",8,"쓪",5,"쓲쓳쓵쓶쓷쓹쓻쓼쓽쓾씂",9,"씍씎씏씑씒씓씕",6,"씝",10,"씪씫씭씮씯씱",6,"씺씼씾",5,"앆앇앋앏앐앑앒앖앚앛앜앟앢앣앥앦앧앩",6,"앲앶",5,"앾앿얁얂얃얅얆얈얉얊얋얎얐얒얓얔"],["9e41","얖얙얚얛얝얞얟얡",7,"얪",9,"얶"],["9e61","얷얺얿",4,"엋엍엏엒엓엕엖엗엙",6,"엢엤엦엧"],["9e81","엨엩엪엫엯엱엲엳엵엸엹엺엻옂옃옄옉옊옋옍옎옏옑",6,"옚옝",6,"옦옧옩옪옫옯옱옲옶옸옺옼옽옾옿왂왃왅왆왇왉",6,"왒왖",5,"왞왟왡",10,"왭왮왰왲",5,"왺왻왽왾왿욁",6,"욊욌욎",5,"욖욗욙욚욛욝",6,"욦"],["9f41","욨욪",5,"욲욳욵욶욷욻",4,"웂웄웆",5,"웎"],["9f61","웏웑웒웓웕",6,"웞웟웢",5,"웪웫웭웮웯웱웲"],["9f81","웳",4,"웺웻웼웾",5,"윆윇윉윊윋윍",6,"윖윘윚",5,"윢윣윥윦윧윩",6,"윲윴윶윸윹윺윻윾윿읁읂읃읅",4,"읋읎읐읙읚읛읝읞읟읡",6,"읩읪읬",7,"읶읷읹읺읻읿잀잁잂잆잋잌잍잏잒잓잕잙잛",4,"잢잧",4,"잮잯잱잲잳잵잶잷"],["a041","잸잹잺잻잾쟂",5,"쟊쟋쟍쟏쟑",6,"쟙쟚쟛쟜"],["a061","쟞",5,"쟥쟦쟧쟩쟪쟫쟭",13],["a081","쟻",4,"젂젃젅젆젇젉젋",4,"젒젔젗",4,"젞젟젡젢젣젥",6,"젮젰젲",5,"젹젺젻젽젾젿졁",6,"졊졋졎",5,"졕",26,"졲졳졵졶졷졹졻",4,"좂좄좈좉좊좎",5,"좕",7,"좞좠좢좣좤"],["a141","좥좦좧좩",18,"좾좿죀죁"],["a161","죂죃죅죆죇죉죊죋죍",6,"죖죘죚",5,"죢죣죥"],["a181","죦",14,"죶",5,"죾죿줁줂줃줇",4,"줎 、。·‥…¨〃­―∥\∼‘’“”〔〕〈",9,"±×÷≠≤≥∞∴°′″℃Å¢£¥♂♀∠⊥⌒∂∇≡≒§※☆★○●◎◇◆□■△▲▽▼→←↑↓↔〓≪≫√∽∝∵∫∬∈∋⊆⊇⊂⊃∪∩∧∨¬"],["a241","줐줒",5,"줙",18],["a261","줭",6,"줵",18],["a281","쥈",7,"쥒쥓쥕쥖쥗쥙",6,"쥢쥤",7,"쥭쥮쥯⇒⇔∀∃´~ˇ˘˝˚˙¸˛¡¿ː∮∑∏¤℉‰◁◀▷▶♤♠♡♥♧♣⊙◈▣◐◑▒▤▥▨▧▦▩♨☏☎☜☞¶†‡↕↗↙↖↘♭♩♪♬㉿㈜№㏇™㏂㏘℡€®"],["a341","쥱쥲쥳쥵",6,"쥽",10,"즊즋즍즎즏"],["a361","즑",6,"즚즜즞",16],["a381","즯",16,"짂짃짅짆짉짋",4,"짒짔짗짘짛!",58,"₩]",32," ̄"],["a441","짞짟짡짣짥짦짨짩짪짫짮짲",5,"짺짻짽짾짿쨁쨂쨃쨄"],["a461","쨅쨆쨇쨊쨎",5,"쨕쨖쨗쨙",12],["a481","쨦쨧쨨쨪",28,"ㄱ",93],["a541","쩇",4,"쩎쩏쩑쩒쩓쩕",6,"쩞쩢",5,"쩩쩪"],["a561","쩫",17,"쩾",5,"쪅쪆"],["a581","쪇",16,"쪙",14,"ⅰ",9],["a5b0","Ⅰ",9],["a5c1","Α",16,"Σ",6],["a5e1","α",16,"σ",6],["a641","쪨",19,"쪾쪿쫁쫂쫃쫅"],["a661","쫆",5,"쫎쫐쫒쫔쫕쫖쫗쫚",5,"쫡",6],["a681","쫨쫩쫪쫫쫭",6,"쫵",18,"쬉쬊─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂┒┑┚┙┖┕┎┍┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃",7],["a741","쬋",4,"쬑쬒쬓쬕쬖쬗쬙",6,"쬢",7],["a761","쬪",22,"쭂쭃쭄"],["a781","쭅쭆쭇쭊쭋쭍쭎쭏쭑",6,"쭚쭛쭜쭞",5,"쭥",7,"㎕㎖㎗ℓ㎘㏄㎣㎤㎥㎦㎙",9,"㏊㎍㎎㎏㏏㎈㎉㏈㎧㎨㎰",9,"㎀",4,"㎺",5,"㎐",4,"Ω㏀㏁㎊㎋㎌㏖㏅㎭㎮㎯㏛㎩㎪㎫㎬㏝㏐㏓㏃㏉㏜㏆"],["a841","쭭",10,"쭺",14],["a861","쮉",18,"쮝",6],["a881","쮤",19,"쮹",11,"ÆÐªĦ"],["a8a6","IJ"],["a8a8","ĿŁØŒºÞŦŊ"],["a8b1","㉠",27,"ⓐ",25,"①",14,"½⅓⅔¼¾⅛⅜⅝⅞"],["a941","쯅",14,"쯕",10],["a961","쯠쯡쯢쯣쯥쯦쯨쯪",18],["a981","쯽",14,"찎찏찑찒찓찕",6,"찞찟찠찣찤æđðħıijĸŀłøœßþŧŋʼn㈀",27,"⒜",25,"⑴",14,"¹²³⁴ⁿ₁₂₃₄"],["aa41","찥찦찪찫찭찯찱",6,"찺찿",4,"챆챇챉챊챋챍챎"],["aa61","챏",4,"챖챚",5,"챡챢챣챥챧챩",6,"챱챲"],["aa81","챳챴챶",29,"ぁ",82],["ab41","첔첕첖첗첚첛첝첞첟첡",6,"첪첮",5,"첶첷첹"],["ab61","첺첻첽",6,"쳆쳈쳊",5,"쳑쳒쳓쳕",5],["ab81","쳛",8,"쳥",6,"쳭쳮쳯쳱",12,"ァ",85],["ac41","쳾쳿촀촂",5,"촊촋촍촎촏촑",6,"촚촜촞촟촠"],["ac61","촡촢촣촥촦촧촩촪촫촭",11,"촺",4],["ac81","촿",28,"쵝쵞쵟А",5,"ЁЖ",25],["acd1","а",5,"ёж",25],["ad41","쵡쵢쵣쵥",6,"쵮쵰쵲",5,"쵹",7],["ad61","춁",6,"춉",10,"춖춗춙춚춛춝춞춟"],["ad81","춠춡춢춣춦춨춪",5,"춱",18,"췅"],["ae41","췆",5,"췍췎췏췑",16],["ae61","췢",5,"췩췪췫췭췮췯췱",6,"췺췼췾",4],["ae81","츃츅츆츇츉츊츋츍",6,"츕츖츗츘츚",5,"츢츣츥츦츧츩츪츫"],["af41","츬츭츮츯츲츴츶",19],["af61","칊",13,"칚칛칝칞칢",5,"칪칬"],["af81","칮",5,"칶칷칹칺칻칽",6,"캆캈캊",5,"캒캓캕캖캗캙"],["b041","캚",5,"캢캦",5,"캮",12],["b061","캻",5,"컂",19],["b081","컖",13,"컦컧컩컪컭",6,"컶컺",5,"가각간갇갈갉갊감",7,"같",4,"갠갤갬갭갯갰갱갸갹갼걀걋걍걔걘걜거걱건걷걸걺검겁것겄겅겆겉겊겋게겐겔겜겝겟겠겡겨격겪견겯결겸겹겻겼경곁계곈곌곕곗고곡곤곧골곪곬곯곰곱곳공곶과곽관괄괆"],["b141","켂켃켅켆켇켉",6,"켒켔켖",5,"켝켞켟켡켢켣"],["b161","켥",6,"켮켲",5,"켹",11],["b181","콅",14,"콖콗콙콚콛콝",6,"콦콨콪콫콬괌괍괏광괘괜괠괩괬괭괴괵괸괼굄굅굇굉교굔굘굡굣구국군굳굴굵굶굻굼굽굿궁궂궈궉권궐궜궝궤궷귀귁귄귈귐귑귓규균귤그극근귿글긁금급긋긍긔기긱긴긷길긺김깁깃깅깆깊까깍깎깐깔깖깜깝깟깠깡깥깨깩깬깰깸"],["b241","콭콮콯콲콳콵콶콷콹",6,"쾁쾂쾃쾄쾆",5,"쾍"],["b261","쾎",18,"쾢",5,"쾩"],["b281","쾪",5,"쾱",18,"쿅",6,"깹깻깼깽꺄꺅꺌꺼꺽꺾껀껄껌껍껏껐껑께껙껜껨껫껭껴껸껼꼇꼈꼍꼐꼬꼭꼰꼲꼴꼼꼽꼿꽁꽂꽃꽈꽉꽐꽜꽝꽤꽥꽹꾀꾄꾈꾐꾑꾕꾜꾸꾹꾼꿀꿇꿈꿉꿋꿍꿎꿔꿜꿨꿩꿰꿱꿴꿸뀀뀁뀄뀌뀐뀔뀜뀝뀨끄끅끈끊끌끎끓끔끕끗끙"],["b341","쿌",19,"쿢쿣쿥쿦쿧쿩"],["b361","쿪",5,"쿲쿴쿶",5,"쿽쿾쿿퀁퀂퀃퀅",5],["b381","퀋",5,"퀒",5,"퀙",19,"끝끼끽낀낄낌낍낏낑나낙낚난낟날낡낢남납낫",4,"낱낳내낵낸낼냄냅냇냈냉냐냑냔냘냠냥너넉넋넌널넒넓넘넙넛넜넝넣네넥넨넬넴넵넷넸넹녀녁년녈념녑녔녕녘녜녠노녹논놀놂놈놉놋농높놓놔놘놜놨뇌뇐뇔뇜뇝"],["b441","퀮",5,"퀶퀷퀹퀺퀻퀽",6,"큆큈큊",5],["b461","큑큒큓큕큖큗큙",6,"큡",10,"큮큯"],["b481","큱큲큳큵",6,"큾큿킀킂",18,"뇟뇨뇩뇬뇰뇹뇻뇽누눅눈눋눌눔눕눗눙눠눴눼뉘뉜뉠뉨뉩뉴뉵뉼늄늅늉느늑는늘늙늚늠늡늣능늦늪늬늰늴니닉닌닐닒님닙닛닝닢다닥닦단닫",4,"닳담답닷",4,"닿대댁댄댈댐댑댓댔댕댜더덕덖던덛덜덞덟덤덥"],["b541","킕",14,"킦킧킩킪킫킭",5],["b561","킳킶킸킺",5,"탂탃탅탆탇탊",5,"탒탖",4],["b581","탛탞탟탡탢탣탥",6,"탮탲",5,"탹",11,"덧덩덫덮데덱덴델뎀뎁뎃뎄뎅뎌뎐뎔뎠뎡뎨뎬도독돈돋돌돎돐돔돕돗동돛돝돠돤돨돼됐되된될됨됩됫됴두둑둔둘둠둡둣둥둬뒀뒈뒝뒤뒨뒬뒵뒷뒹듀듄듈듐듕드득든듣들듦듬듭듯등듸디딕딘딛딜딤딥딧딨딩딪따딱딴딸"],["b641","턅",7,"턎",17],["b661","턠",15,"턲턳턵턶턷턹턻턼턽턾"],["b681","턿텂텆",5,"텎텏텑텒텓텕",6,"텞텠텢",5,"텩텪텫텭땀땁땃땄땅땋때땍땐땔땜땝땟땠땡떠떡떤떨떪떫떰떱떳떴떵떻떼떽뗀뗄뗌뗍뗏뗐뗑뗘뗬또똑똔똘똥똬똴뙈뙤뙨뚜뚝뚠뚤뚫뚬뚱뛔뛰뛴뛸뜀뜁뜅뜨뜩뜬뜯뜰뜸뜹뜻띄띈띌띔띕띠띤띨띰띱띳띵라락란랄람랍랏랐랑랒랖랗"],["b741","텮",13,"텽",6,"톅톆톇톉톊"],["b761","톋",20,"톢톣톥톦톧"],["b781","톩",6,"톲톴톶톷톸톹톻톽톾톿퇁",14,"래랙랜랠램랩랫랬랭랴략랸럇량러럭런럴럼럽럿렀렁렇레렉렌렐렘렙렛렝려력련렬렴렵렷렸령례롄롑롓로록론롤롬롭롯롱롸롼뢍뢨뢰뢴뢸룀룁룃룅료룐룔룝룟룡루룩룬룰룸룹룻룽뤄뤘뤠뤼뤽륀륄륌륏륑류륙륜률륨륩"],["b841","퇐",7,"퇙",17],["b861","퇫",8,"퇵퇶퇷퇹",13],["b881","툈툊",5,"툑",24,"륫륭르륵른를름릅릇릉릊릍릎리릭린릴림립릿링마막만많",4,"맘맙맛망맞맡맣매맥맨맬맴맵맷맸맹맺먀먁먈먕머먹먼멀멂멈멉멋멍멎멓메멕멘멜멤멥멧멨멩며멱면멸몃몄명몇몌모목몫몬몰몲몸몹못몽뫄뫈뫘뫙뫼"],["b941","툪툫툮툯툱툲툳툵",6,"툾퉀퉂",5,"퉉퉊퉋퉌"],["b961","퉍",14,"퉝",6,"퉥퉦퉧퉨"],["b981","퉩",22,"튂튃튅튆튇튉튊튋튌묀묄묍묏묑묘묜묠묩묫무묵묶문묻물묽묾뭄뭅뭇뭉뭍뭏뭐뭔뭘뭡뭣뭬뮈뮌뮐뮤뮨뮬뮴뮷므믄믈믐믓미믹민믿밀밂밈밉밋밌밍및밑바",4,"받",4,"밤밥밧방밭배백밴밸뱀뱁뱃뱄뱅뱉뱌뱍뱐뱝버벅번벋벌벎범법벗"],["ba41","튍튎튏튒튓튔튖",5,"튝튞튟튡튢튣튥",6,"튭"],["ba61","튮튯튰튲",5,"튺튻튽튾틁틃",4,"틊틌",5],["ba81","틒틓틕틖틗틙틚틛틝",6,"틦",9,"틲틳틵틶틷틹틺벙벚베벡벤벧벨벰벱벳벴벵벼벽변별볍볏볐병볕볘볜보복볶본볼봄봅봇봉봐봔봤봬뵀뵈뵉뵌뵐뵘뵙뵤뵨부북분붇불붉붊붐붑붓붕붙붚붜붤붰붸뷔뷕뷘뷜뷩뷰뷴뷸븀븃븅브븍븐블븜븝븟비빅빈빌빎빔빕빗빙빚빛빠빡빤"],["bb41","틻",4,"팂팄팆",5,"팏팑팒팓팕팗",4,"팞팢팣"],["bb61","팤팦팧팪팫팭팮팯팱",6,"팺팾",5,"퍆퍇퍈퍉"],["bb81","퍊",31,"빨빪빰빱빳빴빵빻빼빽뺀뺄뺌뺍뺏뺐뺑뺘뺙뺨뻐뻑뻔뻗뻘뻠뻣뻤뻥뻬뼁뼈뼉뼘뼙뼛뼜뼝뽀뽁뽄뽈뽐뽑뽕뾔뾰뿅뿌뿍뿐뿔뿜뿟뿡쀼쁑쁘쁜쁠쁨쁩삐삑삔삘삠삡삣삥사삭삯산삳살삵삶삼삽삿샀상샅새색샌샐샘샙샛샜생샤"],["bc41","퍪",17,"퍾퍿펁펂펃펅펆펇"],["bc61","펈펉펊펋펎펒",5,"펚펛펝펞펟펡",6,"펪펬펮"],["bc81","펯",4,"펵펶펷펹펺펻펽",6,"폆폇폊",5,"폑",5,"샥샨샬샴샵샷샹섀섄섈섐섕서",4,"섣설섦섧섬섭섯섰성섶세섹센셀셈셉셋셌셍셔셕션셜셤셥셧셨셩셰셴셸솅소속솎손솔솖솜솝솟송솥솨솩솬솰솽쇄쇈쇌쇔쇗쇘쇠쇤쇨쇰쇱쇳쇼쇽숀숄숌숍숏숑수숙순숟술숨숩숫숭"],["bd41","폗폙",7,"폢폤",7,"폮폯폱폲폳폵폶폷"],["bd61","폸폹폺폻폾퐀퐂",5,"퐉",13],["bd81","퐗",5,"퐞",25,"숯숱숲숴쉈쉐쉑쉔쉘쉠쉥쉬쉭쉰쉴쉼쉽쉿슁슈슉슐슘슛슝스슥슨슬슭슴습슷승시식신싣실싫심십싯싱싶싸싹싻싼쌀쌈쌉쌌쌍쌓쌔쌕쌘쌜쌤쌥쌨쌩썅써썩썬썰썲썸썹썼썽쎄쎈쎌쏀쏘쏙쏜쏟쏠쏢쏨쏩쏭쏴쏵쏸쐈쐐쐤쐬쐰"],["be41","퐸",7,"푁푂푃푅",14],["be61","푔",7,"푝푞푟푡푢푣푥",7,"푮푰푱푲"],["be81","푳",4,"푺푻푽푾풁풃",4,"풊풌풎",5,"풕",8,"쐴쐼쐽쑈쑤쑥쑨쑬쑴쑵쑹쒀쒔쒜쒸쒼쓩쓰쓱쓴쓸쓺쓿씀씁씌씐씔씜씨씩씬씰씸씹씻씽아악안앉않알앍앎앓암압앗았앙앝앞애액앤앨앰앱앳앴앵야약얀얄얇얌얍얏양얕얗얘얜얠얩어억언얹얻얼얽얾엄",6,"엌엎"],["bf41","풞",10,"풪",14],["bf61","풹",18,"퓍퓎퓏퓑퓒퓓퓕"],["bf81","퓖",5,"퓝퓞퓠",7,"퓩퓪퓫퓭퓮퓯퓱",6,"퓹퓺퓼에엑엔엘엠엡엣엥여역엮연열엶엷염",5,"옅옆옇예옌옐옘옙옛옜오옥온올옭옮옰옳옴옵옷옹옻와왁완왈왐왑왓왔왕왜왝왠왬왯왱외왹왼욀욈욉욋욍요욕욘욜욤욥욧용우욱운울욹욺움웁웃웅워웍원월웜웝웠웡웨"],["c041","퓾",5,"픅픆픇픉픊픋픍",6,"픖픘",5],["c061","픞",25],["c081","픸픹픺픻픾픿핁핂핃핅",6,"핎핐핒",5,"핚핛핝핞핟핡핢핣웩웬웰웸웹웽위윅윈윌윔윕윗윙유육윤율윰윱윳융윷으윽은을읊음읍읏응",7,"읜읠읨읫이익인일읽읾잃임입잇있잉잊잎자작잔잖잗잘잚잠잡잣잤장잦재잭잰잴잼잽잿쟀쟁쟈쟉쟌쟎쟐쟘쟝쟤쟨쟬저적전절젊"],["c141","핤핦핧핪핬핮",5,"핶핷핹핺핻핽",6,"햆햊햋"],["c161","햌햍햎햏햑",19,"햦햧"],["c181","햨",31,"점접젓정젖제젝젠젤젬젭젯젱져젼졀졈졉졌졍졔조족존졸졺좀좁좃종좆좇좋좌좍좔좝좟좡좨좼좽죄죈죌죔죕죗죙죠죡죤죵주죽준줄줅줆줌줍줏중줘줬줴쥐쥑쥔쥘쥠쥡쥣쥬쥰쥴쥼즈즉즌즐즘즙즛증지직진짇질짊짐집짓"],["c241","헊헋헍헎헏헑헓",4,"헚헜헞",5,"헦헧헩헪헫헭헮"],["c261","헯",4,"헶헸헺",5,"혂혃혅혆혇혉",6,"혒"],["c281","혖",5,"혝혞혟혡혢혣혥",7,"혮",9,"혺혻징짖짙짚짜짝짠짢짤짧짬짭짯짰짱째짹짼쨀쨈쨉쨋쨌쨍쨔쨘쨩쩌쩍쩐쩔쩜쩝쩟쩠쩡쩨쩽쪄쪘쪼쪽쫀쫄쫌쫍쫏쫑쫓쫘쫙쫠쫬쫴쬈쬐쬔쬘쬠쬡쭁쭈쭉쭌쭐쭘쭙쭝쭤쭸쭹쮜쮸쯔쯤쯧쯩찌찍찐찔찜찝찡찢찧차착찬찮찰참찹찻"],["c341","혽혾혿홁홂홃홄홆홇홊홌홎홏홐홒홓홖홗홙홚홛홝",4],["c361","홢",4,"홨홪",5,"홲홳홵",11],["c381","횁횂횄횆",5,"횎횏횑횒횓횕",7,"횞횠횢",5,"횩횪찼창찾채책챈챌챔챕챗챘챙챠챤챦챨챰챵처척천철첨첩첫첬청체첵첸첼쳄쳅쳇쳉쳐쳔쳤쳬쳰촁초촉촌촐촘촙촛총촤촨촬촹최쵠쵤쵬쵭쵯쵱쵸춈추축춘출춤춥춧충춰췄췌췐취췬췰췸췹췻췽츄츈츌츔츙츠측츤츨츰츱츳층"],["c441","횫횭횮횯횱",7,"횺횼",7,"훆훇훉훊훋"],["c461","훍훎훏훐훒훓훕훖훘훚",5,"훡훢훣훥훦훧훩",4],["c481","훮훯훱훲훳훴훶",5,"훾훿휁휂휃휅",11,"휒휓휔치칙친칟칠칡침칩칫칭카칵칸칼캄캅캇캉캐캑캔캘캠캡캣캤캥캬캭컁커컥컨컫컬컴컵컷컸컹케켁켄켈켐켑켓켕켜켠켤켬켭켯켰켱켸코콕콘콜콤콥콧콩콰콱콴콸쾀쾅쾌쾡쾨쾰쿄쿠쿡쿤쿨쿰쿱쿳쿵쿼퀀퀄퀑퀘퀭퀴퀵퀸퀼"],["c541","휕휖휗휚휛휝휞휟휡",6,"휪휬휮",5,"휶휷휹"],["c561","휺휻휽",6,"흅흆흈흊",5,"흒흓흕흚",4],["c581","흟흢흤흦흧흨흪흫흭흮흯흱흲흳흵",6,"흾흿힀힂",5,"힊힋큄큅큇큉큐큔큘큠크큭큰클큼큽킁키킥킨킬킴킵킷킹타탁탄탈탉탐탑탓탔탕태택탠탤탬탭탯탰탱탸턍터턱턴털턺텀텁텃텄텅테텍텐텔템텝텟텡텨텬텼톄톈토톡톤톨톰톱톳통톺톼퇀퇘퇴퇸툇툉툐투툭툰툴툼툽툿퉁퉈퉜"],["c641","힍힎힏힑",6,"힚힜힞",5],["c6a1","퉤튀튁튄튈튐튑튕튜튠튤튬튱트특튼튿틀틂틈틉틋틔틘틜틤틥티틱틴틸팀팁팃팅파팍팎판팔팖팜팝팟팠팡팥패팩팬팰팸팹팻팼팽퍄퍅퍼퍽펀펄펌펍펏펐펑페펙펜펠펨펩펫펭펴편펼폄폅폈평폐폘폡폣포폭폰폴폼폽폿퐁"],["c7a1","퐈퐝푀푄표푠푤푭푯푸푹푼푿풀풂품풉풋풍풔풩퓌퓐퓔퓜퓟퓨퓬퓰퓸퓻퓽프픈플픔픕픗피픽핀필핌핍핏핑하학한할핥함합핫항해핵핸핼햄햅햇했행햐향허헉헌헐헒험헙헛헝헤헥헨헬헴헵헷헹혀혁현혈혐협혓혔형혜혠"],["c8a1","혤혭호혹혼홀홅홈홉홋홍홑화확환활홧황홰홱홴횃횅회획횐횔횝횟횡효횬횰횹횻후훅훈훌훑훔훗훙훠훤훨훰훵훼훽휀휄휑휘휙휜휠휨휩휫휭휴휵휸휼흄흇흉흐흑흔흖흗흘흙흠흡흣흥흩희흰흴흼흽힁히힉힌힐힘힙힛힝"],["caa1","伽佳假價加可呵哥嘉嫁家暇架枷柯歌珂痂稼苛茄街袈訶賈跏軻迦駕刻却各恪慤殼珏脚覺角閣侃刊墾奸姦干幹懇揀杆柬桿澗癎看磵稈竿簡肝艮艱諫間乫喝曷渴碣竭葛褐蝎鞨勘坎堪嵌感憾戡敢柑橄減甘疳監瞰紺邯鑑鑒龕"],["cba1","匣岬甲胛鉀閘剛堈姜岡崗康强彊慷江畺疆糠絳綱羌腔舡薑襁講鋼降鱇介价個凱塏愷愾慨改槪漑疥皆盖箇芥蓋豈鎧開喀客坑更粳羹醵倨去居巨拒据據擧渠炬祛距踞車遽鉅鋸乾件健巾建愆楗腱虔蹇鍵騫乞傑杰桀儉劍劒檢"],["cca1","瞼鈐黔劫怯迲偈憩揭擊格檄激膈覡隔堅牽犬甄絹繭肩見譴遣鵑抉決潔結缺訣兼慊箝謙鉗鎌京俓倞傾儆勁勍卿坰境庚徑慶憬擎敬景暻更梗涇炅烱璟璥瓊痙硬磬竟競絅經耕耿脛莖警輕逕鏡頃頸驚鯨係啓堺契季屆悸戒桂械"],["cda1","棨溪界癸磎稽系繫繼計誡谿階鷄古叩告呱固姑孤尻庫拷攷故敲暠枯槁沽痼皐睾稿羔考股膏苦苽菰藁蠱袴誥賈辜錮雇顧高鼓哭斛曲梏穀谷鵠困坤崑昆梱棍滾琨袞鯤汨滑骨供公共功孔工恐恭拱控攻珙空蚣貢鞏串寡戈果瓜"],["cea1","科菓誇課跨過鍋顆廓槨藿郭串冠官寬慣棺款灌琯瓘管罐菅觀貫關館刮恝括适侊光匡壙廣曠洸炚狂珖筐胱鑛卦掛罫乖傀塊壞怪愧拐槐魁宏紘肱轟交僑咬喬嬌嶠巧攪敎校橋狡皎矯絞翹膠蕎蛟較轎郊餃驕鮫丘久九仇俱具勾"],["cfa1","區口句咎嘔坵垢寇嶇廐懼拘救枸柩構歐毆毬求溝灸狗玖球瞿矩究絿耉臼舅舊苟衢謳購軀逑邱鉤銶駒驅鳩鷗龜國局菊鞠鞫麴君窘群裙軍郡堀屈掘窟宮弓穹窮芎躬倦券勸卷圈拳捲權淃眷厥獗蕨蹶闕机櫃潰詭軌饋句晷歸貴"],["d0a1","鬼龜叫圭奎揆槻珪硅窺竅糾葵規赳逵閨勻均畇筠菌鈞龜橘克剋劇戟棘極隙僅劤勤懃斤根槿瑾筋芹菫覲謹近饉契今妗擒昑檎琴禁禽芩衾衿襟金錦伋及急扱汲級給亘兢矜肯企伎其冀嗜器圻基埼夔奇妓寄岐崎己幾忌技旗旣"],["d1a1","朞期杞棋棄機欺氣汽沂淇玘琦琪璂璣畸畿碁磯祁祇祈祺箕紀綺羈耆耭肌記譏豈起錡錤飢饑騎騏驥麒緊佶吉拮桔金喫儺喇奈娜懦懶拏拿癩",5,"那樂",4,"諾酪駱亂卵暖欄煖爛蘭難鸞捏捺南嵐枏楠湳濫男藍襤拉"],["d2a1","納臘蠟衲囊娘廊",4,"乃來內奈柰耐冷女年撚秊念恬拈捻寧寗努勞奴弩怒擄櫓爐瑙盧",5,"駑魯",10,"濃籠聾膿農惱牢磊腦賂雷尿壘",7,"嫩訥杻紐勒",5,"能菱陵尼泥匿溺多茶"],["d3a1","丹亶但單團壇彖斷旦檀段湍短端簞緞蛋袒鄲鍛撻澾獺疸達啖坍憺擔曇淡湛潭澹痰聃膽蕁覃談譚錟沓畓答踏遝唐堂塘幢戇撞棠當糖螳黨代垈坮大對岱帶待戴擡玳臺袋貸隊黛宅德悳倒刀到圖堵塗導屠島嶋度徒悼挑掉搗桃"],["d4a1","棹櫂淘渡滔濤燾盜睹禱稻萄覩賭跳蹈逃途道都鍍陶韜毒瀆牘犢獨督禿篤纛讀墩惇敦旽暾沌焞燉豚頓乭突仝冬凍動同憧東桐棟洞潼疼瞳童胴董銅兜斗杜枓痘竇荳讀豆逗頭屯臀芚遁遯鈍得嶝橙燈登等藤謄鄧騰喇懶拏癩羅"],["d5a1","蘿螺裸邏樂洛烙珞絡落諾酪駱丹亂卵欄欒瀾爛蘭鸞剌辣嵐擥攬欖濫籃纜藍襤覽拉臘蠟廊朗浪狼琅瑯螂郞來崍徠萊冷掠略亮倆兩凉梁樑粮粱糧良諒輛量侶儷勵呂廬慮戾旅櫚濾礪藜蠣閭驢驪麗黎力曆歷瀝礫轢靂憐戀攣漣"],["d6a1","煉璉練聯蓮輦連鍊冽列劣洌烈裂廉斂殮濂簾獵令伶囹寧岺嶺怜玲笭羚翎聆逞鈴零靈領齡例澧禮醴隷勞怒撈擄櫓潞瀘爐盧老蘆虜路輅露魯鷺鹵碌祿綠菉錄鹿麓論壟弄朧瀧瓏籠聾儡瀨牢磊賂賚賴雷了僚寮廖料燎療瞭聊蓼"],["d7a1","遼鬧龍壘婁屢樓淚漏瘻累縷蔞褸鏤陋劉旒柳榴流溜瀏琉瑠留瘤硫謬類六戮陸侖倫崙淪綸輪律慄栗率隆勒肋凜凌楞稜綾菱陵俚利厘吏唎履悧李梨浬犁狸理璃異痢籬罹羸莉裏裡里釐離鯉吝潾燐璘藺躪隣鱗麟林淋琳臨霖砬"],["d8a1","立笠粒摩瑪痲碼磨馬魔麻寞幕漠膜莫邈万卍娩巒彎慢挽晩曼滿漫灣瞞萬蔓蠻輓饅鰻唜抹末沫茉襪靺亡妄忘忙望網罔芒茫莽輞邙埋妹媒寐昧枚梅每煤罵買賣邁魅脈貊陌驀麥孟氓猛盲盟萌冪覓免冕勉棉沔眄眠綿緬面麵滅"],["d9a1","蔑冥名命明暝椧溟皿瞑茗蓂螟酩銘鳴袂侮冒募姆帽慕摸摹暮某模母毛牟牡瑁眸矛耗芼茅謀謨貌木沐牧目睦穆鶩歿沒夢朦蒙卯墓妙廟描昴杳渺猫竗苗錨務巫憮懋戊拇撫无楙武毋無珷畝繆舞茂蕪誣貿霧鵡墨默們刎吻問文"],["daa1","汶紊紋聞蚊門雯勿沕物味媚尾嵋彌微未梶楣渼湄眉米美薇謎迷靡黴岷悶愍憫敏旻旼民泯玟珉緡閔密蜜謐剝博拍搏撲朴樸泊珀璞箔粕縛膊舶薄迫雹駁伴半反叛拌搬攀斑槃泮潘班畔瘢盤盼磐磻礬絆般蟠返頒飯勃拔撥渤潑"],["dba1","發跋醱鉢髮魃倣傍坊妨尨幇彷房放方旁昉枋榜滂磅紡肪膀舫芳蒡蚌訪謗邦防龐倍俳北培徘拜排杯湃焙盃背胚裴裵褙賠輩配陪伯佰帛柏栢白百魄幡樊煩燔番磻繁蕃藩飜伐筏罰閥凡帆梵氾汎泛犯範范法琺僻劈壁擘檗璧癖"],["dca1","碧蘗闢霹便卞弁變辨辯邊別瞥鱉鼈丙倂兵屛幷昞昺柄棅炳甁病秉竝輧餠騈保堡報寶普步洑湺潽珤甫菩補褓譜輔伏僕匐卜宓復服福腹茯蔔複覆輹輻馥鰒本乶俸奉封峯峰捧棒烽熢琫縫蓬蜂逢鋒鳳不付俯傅剖副否咐埠夫婦"],["dda1","孚孵富府復扶敷斧浮溥父符簿缶腐腑膚艀芙莩訃負賦賻赴趺部釜阜附駙鳧北分吩噴墳奔奮忿憤扮昐汾焚盆粉糞紛芬賁雰不佛弗彿拂崩朋棚硼繃鵬丕備匕匪卑妃婢庇悲憊扉批斐枇榧比毖毗毘沸泌琵痺砒碑秕秘粃緋翡肥"],["dea1","脾臂菲蜚裨誹譬費鄙非飛鼻嚬嬪彬斌檳殯浜濱瀕牝玭貧賓頻憑氷聘騁乍事些仕伺似使俟僿史司唆嗣四士奢娑寫寺射巳師徙思捨斜斯柶査梭死沙泗渣瀉獅砂社祀祠私篩紗絲肆舍莎蓑蛇裟詐詞謝賜赦辭邪飼駟麝削數朔索"],["dfa1","傘刪山散汕珊産疝算蒜酸霰乷撒殺煞薩三參杉森渗芟蔘衫揷澁鈒颯上傷像償商喪嘗孀尙峠常床庠廂想桑橡湘爽牀狀相祥箱翔裳觴詳象賞霜塞璽賽嗇塞穡索色牲生甥省笙墅壻嶼序庶徐恕抒捿敍暑曙書栖棲犀瑞筮絮緖署"],["e0a1","胥舒薯西誓逝鋤黍鼠夕奭席惜昔晳析汐淅潟石碩蓆釋錫仙僊先善嬋宣扇敾旋渲煽琁瑄璇璿癬禪線繕羨腺膳船蘚蟬詵跣選銑鐥饍鮮卨屑楔泄洩渫舌薛褻設說雪齧剡暹殲纖蟾贍閃陝攝涉燮葉城姓宬性惺成星晟猩珹盛省筬"],["e1a1","聖聲腥誠醒世勢歲洗稅笹細說貰召嘯塑宵小少巢所掃搔昭梳沼消溯瀟炤燒甦疏疎瘙笑篠簫素紹蔬蕭蘇訴逍遡邵銷韶騷俗屬束涑粟續謖贖速孫巽損蓀遜飡率宋悚松淞訟誦送頌刷殺灑碎鎖衰釗修受嗽囚垂壽嫂守岫峀帥愁"],["e2a1","戍手授搜收數樹殊水洙漱燧狩獸琇璲瘦睡秀穗竪粹綏綬繡羞脩茱蒐蓚藪袖誰讐輸遂邃酬銖銹隋隧隨雖需須首髓鬚叔塾夙孰宿淑潚熟琡璹肅菽巡徇循恂旬栒楯橓殉洵淳珣盾瞬筍純脣舜荀蓴蕣詢諄醇錞順馴戌術述鉥崇崧"],["e3a1","嵩瑟膝蝨濕拾習褶襲丞乘僧勝升承昇繩蠅陞侍匙嘶始媤尸屎屍市弑恃施是時枾柴猜矢示翅蒔蓍視試詩諡豕豺埴寔式息拭植殖湜熄篒蝕識軾食飾伸侁信呻娠宸愼新晨燼申神紳腎臣莘薪藎蜃訊身辛辰迅失室實悉審尋心沁"],["e4a1","沈深瀋甚芯諶什十拾雙氏亞俄兒啞娥峨我牙芽莪蛾衙訝阿雅餓鴉鵝堊岳嶽幄惡愕握樂渥鄂鍔顎鰐齷安岸按晏案眼雁鞍顔鮟斡謁軋閼唵岩巖庵暗癌菴闇壓押狎鴨仰央怏昻殃秧鴦厓哀埃崖愛曖涯碍艾隘靄厄扼掖液縊腋額"],["e5a1","櫻罌鶯鸚也倻冶夜惹揶椰爺耶若野弱掠略約若葯蒻藥躍亮佯兩凉壤孃恙揚攘敭暘梁楊樣洋瀁煬痒瘍禳穰糧羊良襄諒讓釀陽量養圄御於漁瘀禦語馭魚齬億憶抑檍臆偃堰彦焉言諺孼蘖俺儼嚴奄掩淹嶪業円予余勵呂女如廬"],["e6a1","旅歟汝濾璵礖礪與艅茹輿轝閭餘驪麗黎亦力域役易曆歷疫繹譯轢逆驛嚥堧姸娟宴年延憐戀捐挻撚椽沇沿涎涓淵演漣烟然煙煉燃燕璉硏硯秊筵緣練縯聯衍軟輦蓮連鉛鍊鳶列劣咽悅涅烈熱裂說閱厭廉念捻染殮炎焰琰艶苒"],["e7a1","簾閻髥鹽曄獵燁葉令囹塋寧嶺嶸影怜映暎楹榮永泳渶潁濚瀛瀯煐營獰玲瑛瑩瓔盈穎纓羚聆英詠迎鈴鍈零霙靈領乂倪例刈叡曳汭濊猊睿穢芮藝蘂禮裔詣譽豫醴銳隸霓預五伍俉傲午吾吳嗚塢墺奧娛寤悟惡懊敖旿晤梧汚澳"],["e8a1","烏熬獒筽蜈誤鰲鼇屋沃獄玉鈺溫瑥瘟穩縕蘊兀壅擁瓮甕癰翁邕雍饔渦瓦窩窪臥蛙蝸訛婉完宛梡椀浣玩琓琬碗緩翫脘腕莞豌阮頑曰往旺枉汪王倭娃歪矮外嵬巍猥畏了僚僥凹堯夭妖姚寥寮尿嶢拗搖撓擾料曜樂橈燎燿瑤療"],["e9a1","窈窯繇繞耀腰蓼蟯要謠遙遼邀饒慾欲浴縟褥辱俑傭冗勇埇墉容庸慂榕涌湧溶熔瑢用甬聳茸蓉踊鎔鏞龍于佑偶優又友右宇寓尤愚憂旴牛玗瑀盂祐禑禹紆羽芋藕虞迂遇郵釪隅雨雩勖彧旭昱栯煜稶郁頊云暈橒殞澐熉耘芸蕓"],["eaa1","運隕雲韻蔚鬱亐熊雄元原員圓園垣媛嫄寃怨愿援沅洹湲源爰猿瑗苑袁轅遠阮院願鴛月越鉞位偉僞危圍委威尉慰暐渭爲瑋緯胃萎葦蔿蝟衛褘謂違韋魏乳侑儒兪劉唯喩孺宥幼幽庾悠惟愈愉揄攸有杻柔柚柳楡楢油洧流游溜"],["eba1","濡猶猷琉瑜由留癒硫紐維臾萸裕誘諛諭踰蹂遊逾遺酉釉鍮類六堉戮毓肉育陸倫允奫尹崙淪潤玧胤贇輪鈗閏律慄栗率聿戎瀜絨融隆垠恩慇殷誾銀隱乙吟淫蔭陰音飮揖泣邑凝應膺鷹依倚儀宜意懿擬椅毅疑矣義艤薏蟻衣誼"],["eca1","議醫二以伊利吏夷姨履已弛彛怡易李梨泥爾珥理異痍痢移罹而耳肄苡荑裏裡貽貳邇里離飴餌匿溺瀷益翊翌翼謚人仁刃印吝咽因姻寅引忍湮燐璘絪茵藺蚓認隣靭靷鱗麟一佚佾壹日溢逸鎰馹任壬妊姙恁林淋稔臨荏賃入卄"],["eda1","立笠粒仍剩孕芿仔刺咨姉姿子字孜恣慈滋炙煮玆瓷疵磁紫者自茨蔗藉諮資雌作勺嚼斫昨灼炸爵綽芍酌雀鵲孱棧殘潺盞岑暫潛箴簪蠶雜丈仗匠場墻壯奬將帳庄張掌暲杖樟檣欌漿牆狀獐璋章粧腸臟臧莊葬蔣薔藏裝贓醬長"],["eea1","障再哉在宰才材栽梓渽滓災縡裁財載齋齎爭箏諍錚佇低儲咀姐底抵杵楮樗沮渚狙猪疽箸紵苧菹著藷詛貯躇這邸雎齟勣吊嫡寂摘敵滴狄炙的積笛籍績翟荻謫賊赤跡蹟迪迹適鏑佃佺傳全典前剪塡塼奠專展廛悛戰栓殿氈澱"],["efa1","煎琠田甸畑癲筌箋箭篆纏詮輾轉鈿銓錢鐫電顚顫餞切截折浙癤竊節絶占岾店漸点粘霑鮎點接摺蝶丁井亭停偵呈姃定幀庭廷征情挺政整旌晶晸柾楨檉正汀淀淨渟湞瀞炡玎珽町睛碇禎程穽精綎艇訂諪貞鄭酊釘鉦鋌錠霆靖"],["f0a1","靜頂鼎制劑啼堤帝弟悌提梯濟祭第臍薺製諸蹄醍除際霽題齊俎兆凋助嘲弔彫措操早晁曺曹朝條棗槽漕潮照燥爪璪眺祖祚租稠窕粗糟組繰肇藻蚤詔調趙躁造遭釣阻雕鳥族簇足鏃存尊卒拙猝倧宗從悰慫棕淙琮種終綜縱腫"],["f1a1","踪踵鍾鐘佐坐左座挫罪主住侏做姝胄呪周嗾奏宙州廚晝朱柱株注洲湊澍炷珠疇籌紂紬綢舟蛛註誅走躊輳週酎酒鑄駐竹粥俊儁准埈寯峻晙樽浚準濬焌畯竣蠢逡遵雋駿茁中仲衆重卽櫛楫汁葺增憎曾拯烝甑症繒蒸證贈之只"],["f2a1","咫地址志持指摯支旨智枝枳止池沚漬知砥祉祗紙肢脂至芝芷蜘誌識贄趾遲直稙稷織職唇嗔塵振搢晉晋桭榛殄津溱珍瑨璡畛疹盡眞瞋秦縉縝臻蔯袗診賑軫辰進鎭陣陳震侄叱姪嫉帙桎瓆疾秩窒膣蛭質跌迭斟朕什執潗緝輯"],["f3a1","鏶集徵懲澄且侘借叉嗟嵯差次此磋箚茶蹉車遮捉搾着窄錯鑿齪撰澯燦璨瓚竄簒纂粲纘讚贊鑽餐饌刹察擦札紮僭參塹慘慙懺斬站讒讖倉倡創唱娼廠彰愴敞昌昶暢槍滄漲猖瘡窓脹艙菖蒼債埰寀寨彩採砦綵菜蔡采釵冊柵策"],["f4a1","責凄妻悽處倜刺剔尺慽戚拓擲斥滌瘠脊蹠陟隻仟千喘天川擅泉淺玔穿舛薦賤踐遷釧闡阡韆凸哲喆徹撤澈綴輟轍鐵僉尖沾添甛瞻簽籤詹諂堞妾帖捷牒疊睫諜貼輒廳晴淸聽菁請靑鯖切剃替涕滯締諦逮遞體初剿哨憔抄招梢"],["f5a1","椒楚樵炒焦硝礁礎秒稍肖艸苕草蕉貂超酢醋醮促囑燭矗蜀觸寸忖村邨叢塚寵悤憁摠總聰蔥銃撮催崔最墜抽推椎楸樞湫皺秋芻萩諏趨追鄒酋醜錐錘鎚雛騶鰍丑畜祝竺筑築縮蓄蹙蹴軸逐春椿瑃出朮黜充忠沖蟲衝衷悴膵萃"],["f6a1","贅取吹嘴娶就炊翠聚脆臭趣醉驟鷲側仄厠惻測層侈値嗤峙幟恥梔治淄熾痔痴癡稚穉緇緻置致蚩輜雉馳齒則勅飭親七柒漆侵寢枕沈浸琛砧針鍼蟄秤稱快他咤唾墮妥惰打拖朶楕舵陀馱駝倬卓啄坼度托拓擢晫柝濁濯琢琸託"],["f7a1","鐸呑嘆坦彈憚歎灘炭綻誕奪脫探眈耽貪塔搭榻宕帑湯糖蕩兌台太怠態殆汰泰笞胎苔跆邰颱宅擇澤撑攄兎吐土討慟桶洞痛筒統通堆槌腿褪退頹偸套妬投透鬪慝特闖坡婆巴把播擺杷波派爬琶破罷芭跛頗判坂板版瓣販辦鈑"],["f8a1","阪八叭捌佩唄悖敗沛浿牌狽稗覇貝彭澎烹膨愎便偏扁片篇編翩遍鞭騙貶坪平枰萍評吠嬖幣廢弊斃肺蔽閉陛佈包匍匏咆哺圃布怖抛抱捕暴泡浦疱砲胞脯苞葡蒲袍褒逋鋪飽鮑幅暴曝瀑爆輻俵剽彪慓杓標漂瓢票表豹飇飄驃"],["f9a1","品稟楓諷豊風馮彼披疲皮被避陂匹弼必泌珌畢疋筆苾馝乏逼下何厦夏廈昰河瑕荷蝦賀遐霞鰕壑學虐謔鶴寒恨悍旱汗漢澣瀚罕翰閑閒限韓割轄函含咸啣喊檻涵緘艦銜陷鹹合哈盒蛤閤闔陜亢伉姮嫦巷恒抗杭桁沆港缸肛航"],["faa1","行降項亥偕咳垓奚孩害懈楷海瀣蟹解該諧邂駭骸劾核倖幸杏荇行享向嚮珦鄕響餉饗香噓墟虛許憲櫶獻軒歇險驗奕爀赫革俔峴弦懸晛泫炫玄玹現眩睍絃絢縣舷衒見賢鉉顯孑穴血頁嫌俠協夾峽挾浹狹脅脇莢鋏頰亨兄刑型"],["fba1","形泂滎瀅灐炯熒珩瑩荊螢衡逈邢鎣馨兮彗惠慧暳蕙蹊醯鞋乎互呼壕壺好岵弧戶扈昊晧毫浩淏湖滸澔濠濩灝狐琥瑚瓠皓祜糊縞胡芦葫蒿虎號蝴護豪鎬頀顥惑或酷婚昏混渾琿魂忽惚笏哄弘汞泓洪烘紅虹訌鴻化和嬅樺火畵"],["fca1","禍禾花華話譁貨靴廓擴攫確碻穫丸喚奐宦幻患換歡晥桓渙煥環紈還驩鰥活滑猾豁闊凰幌徨恍惶愰慌晃晄榥況湟滉潢煌璜皇篁簧荒蝗遑隍黃匯回廻徊恢悔懷晦會檜淮澮灰獪繪膾茴蛔誨賄劃獲宖橫鐄哮嚆孝效斅曉梟涍淆"],["fda1","爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰"]],zm=[["0","\0",127],["a140"," ,、。.‧;:?!︰…‥﹐﹑﹒·﹔﹕﹖﹗|–︱—︳╴︴﹏()︵︶{}︷︸〔〕︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚"],["a1a1","﹛﹜﹝﹞‘’“”〝〞‵′#&*※§〃○●△▲◎☆★◇◆□■▽▼㊣℅¯ ̄_ˍ﹉﹊﹍﹎﹋﹌﹟﹠﹡+-×÷±√<>=≦≧≠∞≒≡﹢",4,"~∩∪⊥∠∟⊿㏒㏑∫∮∵∴♀♂⊕⊙↑↓←→↖↗↙↘∥∣/"],["a240","\∕﹨$¥〒¢£%@℃℉﹩﹪﹫㏕㎜㎝㎞㏎㎡㎎㎏㏄°兙兛兞兝兡兣嗧瓩糎▁",7,"▏▎▍▌▋▊▉┼┴┬┤├▔─│▕┌┐└┘╭"],["a2a1","╮╰╯═╞╪╡◢◣◥◤╱╲╳0",9,"Ⅰ",9,"〡",8,"十卄卅A",25,"a",21],["a340","wxyzΑ",16,"Σ",6,"α",16,"σ",6,"ㄅ",10],["a3a1","ㄐ",25,"˙ˉˊˇˋ"],["a3e1","€"],["a440","一乙丁七乃九了二人儿入八几刀刁力匕十卜又三下丈上丫丸凡久么也乞于亡兀刃勺千叉口土士夕大女子孑孓寸小尢尸山川工己已巳巾干廾弋弓才"],["a4a1","丑丐不中丰丹之尹予云井互五亢仁什仃仆仇仍今介仄元允內六兮公冗凶分切刈勻勾勿化匹午升卅卞厄友及反壬天夫太夭孔少尤尺屯巴幻廿弔引心戈戶手扎支文斗斤方日曰月木欠止歹毋比毛氏水火爪父爻片牙牛犬王丙"],["a540","世丕且丘主乍乏乎以付仔仕他仗代令仙仞充兄冉冊冬凹出凸刊加功包匆北匝仟半卉卡占卯卮去可古右召叮叩叨叼司叵叫另只史叱台句叭叻四囚外"],["a5a1","央失奴奶孕它尼巨巧左市布平幼弁弘弗必戊打扔扒扑斥旦朮本未末札正母民氐永汁汀氾犯玄玉瓜瓦甘生用甩田由甲申疋白皮皿目矛矢石示禾穴立丞丟乒乓乩亙交亦亥仿伉伙伊伕伍伐休伏仲件任仰仳份企伋光兇兆先全"],["a640","共再冰列刑划刎刖劣匈匡匠印危吉吏同吊吐吁吋各向名合吃后吆吒因回囝圳地在圭圬圯圩夙多夷夸妄奸妃好她如妁字存宇守宅安寺尖屹州帆并年"],["a6a1","式弛忙忖戎戌戍成扣扛托收早旨旬旭曲曳有朽朴朱朵次此死氖汝汗汙江池汐汕污汛汍汎灰牟牝百竹米糸缶羊羽老考而耒耳聿肉肋肌臣自至臼舌舛舟艮色艾虫血行衣西阡串亨位住佇佗佞伴佛何估佐佑伽伺伸佃佔似但佣"],["a740","作你伯低伶余佝佈佚兌克免兵冶冷別判利刪刨劫助努劬匣即卵吝吭吞吾否呎吧呆呃吳呈呂君吩告吹吻吸吮吵吶吠吼呀吱含吟听囪困囤囫坊坑址坍"],["a7a1","均坎圾坐坏圻壯夾妝妒妨妞妣妙妖妍妤妓妊妥孝孜孚孛完宋宏尬局屁尿尾岐岑岔岌巫希序庇床廷弄弟彤形彷役忘忌志忍忱快忸忪戒我抄抗抖技扶抉扭把扼找批扳抒扯折扮投抓抑抆改攻攸旱更束李杏材村杜杖杞杉杆杠"],["a840","杓杗步每求汞沙沁沈沉沅沛汪決沐汰沌汨沖沒汽沃汲汾汴沆汶沍沔沘沂灶灼災灸牢牡牠狄狂玖甬甫男甸皂盯矣私秀禿究系罕肖肓肝肘肛肚育良芒"],["a8a1","芋芍見角言谷豆豕貝赤走足身車辛辰迂迆迅迄巡邑邢邪邦那酉釆里防阮阱阪阬並乖乳事些亞享京佯依侍佳使佬供例來侃佰併侈佩佻侖佾侏侑佺兔兒兕兩具其典冽函刻券刷刺到刮制剁劾劻卒協卓卑卦卷卸卹取叔受味呵"],["a940","咖呸咕咀呻呷咄咒咆呼咐呱呶和咚呢周咋命咎固垃坷坪坩坡坦坤坼夜奉奇奈奄奔妾妻委妹妮姑姆姐姍始姓姊妯妳姒姅孟孤季宗定官宜宙宛尚屈居"],["a9a1","屆岷岡岸岩岫岱岳帘帚帖帕帛帑幸庚店府底庖延弦弧弩往征彿彼忝忠忽念忿怏怔怯怵怖怪怕怡性怩怫怛或戕房戾所承拉拌拄抿拂抹拒招披拓拔拋拈抨抽押拐拙拇拍抵拚抱拘拖拗拆抬拎放斧於旺昔易昌昆昂明昀昏昕昊"],["aa40","昇服朋杭枋枕東果杳杷枇枝林杯杰板枉松析杵枚枓杼杪杲欣武歧歿氓氛泣注泳沱泌泥河沽沾沼波沫法泓沸泄油況沮泗泅泱沿治泡泛泊沬泯泜泖泠"],["aaa1","炕炎炒炊炙爬爭爸版牧物狀狎狙狗狐玩玨玟玫玥甽疝疙疚的盂盲直知矽社祀祁秉秈空穹竺糾罔羌羋者肺肥肢肱股肫肩肴肪肯臥臾舍芳芝芙芭芽芟芹花芬芥芯芸芣芰芾芷虎虱初表軋迎返近邵邸邱邶采金長門阜陀阿阻附"],["ab40","陂隹雨青非亟亭亮信侵侯便俠俑俏保促侶俘俟俊俗侮俐俄係俚俎俞侷兗冒冑冠剎剃削前剌剋則勇勉勃勁匍南卻厚叛咬哀咨哎哉咸咦咳哇哂咽咪品"],["aba1","哄哈咯咫咱咻咩咧咿囿垂型垠垣垢城垮垓奕契奏奎奐姜姘姿姣姨娃姥姪姚姦威姻孩宣宦室客宥封屎屏屍屋峙峒巷帝帥帟幽庠度建弈弭彥很待徊律徇後徉怒思怠急怎怨恍恰恨恢恆恃恬恫恪恤扁拜挖按拼拭持拮拽指拱拷"],["ac40","拯括拾拴挑挂政故斫施既春昭映昧是星昨昱昤曷柿染柱柔某柬架枯柵柩柯柄柑枴柚查枸柏柞柳枰柙柢柝柒歪殃殆段毒毗氟泉洋洲洪流津洌洱洞洗"],["aca1","活洽派洶洛泵洹洧洸洩洮洵洎洫炫為炳炬炯炭炸炮炤爰牲牯牴狩狠狡玷珊玻玲珍珀玳甚甭畏界畎畋疫疤疥疢疣癸皆皇皈盈盆盃盅省盹相眉看盾盼眇矜砂研砌砍祆祉祈祇禹禺科秒秋穿突竿竽籽紂紅紀紉紇約紆缸美羿耄"],["ad40","耐耍耑耶胖胥胚胃胄背胡胛胎胞胤胝致舢苧范茅苣苛苦茄若茂茉苒苗英茁苜苔苑苞苓苟苯茆虐虹虻虺衍衫要觔計訂訃貞負赴赳趴軍軌述迦迢迪迥"],["ada1","迭迫迤迨郊郎郁郃酋酊重閂限陋陌降面革韋韭音頁風飛食首香乘亳倌倍倣俯倦倥俸倩倖倆值借倚倒們俺倀倔倨俱倡個候倘俳修倭倪俾倫倉兼冤冥冢凍凌准凋剖剜剔剛剝匪卿原厝叟哨唐唁唷哼哥哲唆哺唔哩哭員唉哮哪"],["ae40","哦唧唇哽唏圃圄埂埔埋埃堉夏套奘奚娑娘娜娟娛娓姬娠娣娩娥娌娉孫屘宰害家宴宮宵容宸射屑展屐峭峽峻峪峨峰島崁峴差席師庫庭座弱徒徑徐恙"],["aea1","恣恥恐恕恭恩息悄悟悚悍悔悌悅悖扇拳挈拿捎挾振捕捂捆捏捉挺捐挽挪挫挨捍捌效敉料旁旅時晉晏晃晒晌晅晁書朔朕朗校核案框桓根桂桔栩梳栗桌桑栽柴桐桀格桃株桅栓栘桁殊殉殷氣氧氨氦氤泰浪涕消涇浦浸海浙涓"],["af40","浬涉浮浚浴浩涌涊浹涅浥涔烊烘烤烙烈烏爹特狼狹狽狸狷玆班琉珮珠珪珞畔畝畜畚留疾病症疲疳疽疼疹痂疸皋皰益盍盎眩真眠眨矩砰砧砸砝破砷"],["afa1","砥砭砠砟砲祕祐祠祟祖神祝祗祚秤秣秧租秦秩秘窄窈站笆笑粉紡紗紋紊素索純紐紕級紜納紙紛缺罟羔翅翁耆耘耕耙耗耽耿胱脂胰脅胭胴脆胸胳脈能脊胼胯臭臬舀舐航舫舨般芻茫荒荔荊茸荐草茵茴荏茲茹茶茗荀茱茨荃"],["b040","虔蚊蚪蚓蚤蚩蚌蚣蚜衰衷袁袂衽衹記訐討訌訕訊託訓訖訏訑豈豺豹財貢起躬軒軔軏辱送逆迷退迺迴逃追逅迸邕郡郝郢酒配酌釘針釗釜釙閃院陣陡"],["b0a1","陛陝除陘陞隻飢馬骨高鬥鬲鬼乾偺偽停假偃偌做偉健偶偎偕偵側偷偏倏偯偭兜冕凰剪副勒務勘動匐匏匙匿區匾參曼商啪啦啄啞啡啃啊唱啖問啕唯啤唸售啜唬啣唳啁啗圈國圉域堅堊堆埠埤基堂堵執培夠奢娶婁婉婦婪婀"],["b140","娼婢婚婆婊孰寇寅寄寂宿密尉專將屠屜屝崇崆崎崛崖崢崑崩崔崙崤崧崗巢常帶帳帷康庸庶庵庾張強彗彬彩彫得徙從徘御徠徜恿患悉悠您惋悴惦悽"],["b1a1","情悻悵惜悼惘惕惆惟悸惚惇戚戛扈掠控捲掖探接捷捧掘措捱掩掉掃掛捫推掄授掙採掬排掏掀捻捩捨捺敝敖救教敗啟敏敘敕敔斜斛斬族旋旌旎晝晚晤晨晦晞曹勗望梁梯梢梓梵桿桶梱梧梗械梃棄梭梆梅梔條梨梟梡梂欲殺"],["b240","毫毬氫涎涼淳淙液淡淌淤添淺清淇淋涯淑涮淞淹涸混淵淅淒渚涵淚淫淘淪深淮淨淆淄涪淬涿淦烹焉焊烽烯爽牽犁猜猛猖猓猙率琅琊球理現琍瓠瓶"],["b2a1","瓷甜產略畦畢異疏痔痕疵痊痍皎盔盒盛眷眾眼眶眸眺硫硃硎祥票祭移窒窕笠笨笛第符笙笞笮粒粗粕絆絃統紮紹紼絀細紳組累終紲紱缽羞羚翌翎習耜聊聆脯脖脣脫脩脰脤舂舵舷舶船莎莞莘荸莢莖莽莫莒莊莓莉莠荷荻荼"],["b340","莆莧處彪蛇蛀蚶蛄蚵蛆蛋蚱蚯蛉術袞袈被袒袖袍袋覓規訪訝訣訥許設訟訛訢豉豚販責貫貨貪貧赧赦趾趺軛軟這逍通逗連速逝逐逕逞造透逢逖逛途"],["b3a1","部郭都酗野釵釦釣釧釭釩閉陪陵陳陸陰陴陶陷陬雀雪雩章竟頂頃魚鳥鹵鹿麥麻傢傍傅備傑傀傖傘傚最凱割剴創剩勞勝勛博厥啻喀喧啼喊喝喘喂喜喪喔喇喋喃喳單喟唾喲喚喻喬喱啾喉喫喙圍堯堪場堤堰報堡堝堠壹壺奠"],["b440","婷媚婿媒媛媧孳孱寒富寓寐尊尋就嵌嵐崴嵇巽幅帽幀幃幾廊廁廂廄弼彭復循徨惑惡悲悶惠愜愣惺愕惰惻惴慨惱愎惶愉愀愒戟扉掣掌描揀揩揉揆揍"],["b4a1","插揣提握揖揭揮捶援揪換摒揚揹敞敦敢散斑斐斯普晰晴晶景暑智晾晷曾替期朝棺棕棠棘棗椅棟棵森棧棹棒棲棣棋棍植椒椎棉棚楮棻款欺欽殘殖殼毯氮氯氬港游湔渡渲湧湊渠渥渣減湛湘渤湖湮渭渦湯渴湍渺測湃渝渾滋"],["b540","溉渙湎湣湄湲湩湟焙焚焦焰無然煮焜牌犄犀猶猥猴猩琺琪琳琢琥琵琶琴琯琛琦琨甥甦畫番痢痛痣痙痘痞痠登發皖皓皴盜睏短硝硬硯稍稈程稅稀窘"],["b5a1","窗窖童竣等策筆筐筒答筍筋筏筑粟粥絞結絨絕紫絮絲絡給絢絰絳善翔翕耋聒肅腕腔腋腑腎脹腆脾腌腓腴舒舜菩萃菸萍菠菅萋菁華菱菴著萊菰萌菌菽菲菊萸萎萄菜萇菔菟虛蛟蛙蛭蛔蛛蛤蛐蛞街裁裂袱覃視註詠評詞証詁"],["b640","詔詛詐詆訴診訶詖象貂貯貼貳貽賁費賀貴買貶貿貸越超趁跎距跋跚跑跌跛跆軻軸軼辜逮逵週逸進逶鄂郵鄉郾酣酥量鈔鈕鈣鈉鈞鈍鈐鈇鈑閔閏開閑"],["b6a1","間閒閎隊階隋陽隅隆隍陲隄雁雅雄集雇雯雲韌項順須飧飪飯飩飲飭馮馭黃黍黑亂傭債傲傳僅傾催傷傻傯僇剿剷剽募勦勤勢勣匯嗟嗨嗓嗦嗎嗜嗇嗑嗣嗤嗯嗚嗡嗅嗆嗥嗉園圓塞塑塘塗塚塔填塌塭塊塢塒塋奧嫁嫉嫌媾媽媼"],["b740","媳嫂媲嵩嵯幌幹廉廈弒彙徬微愚意慈感想愛惹愁愈慎慌慄慍愾愴愧愍愆愷戡戢搓搾搞搪搭搽搬搏搜搔損搶搖搗搆敬斟新暗暉暇暈暖暄暘暍會榔業"],["b7a1","楚楷楠楔極椰概楊楨楫楞楓楹榆楝楣楛歇歲毀殿毓毽溢溯滓溶滂源溝滇滅溥溘溼溺溫滑準溜滄滔溪溧溴煎煙煩煤煉照煜煬煦煌煥煞煆煨煖爺牒猷獅猿猾瑯瑚瑕瑟瑞瑁琿瑙瑛瑜當畸瘀痰瘁痲痱痺痿痴痳盞盟睛睫睦睞督"],["b840","睹睪睬睜睥睨睢矮碎碰碗碘碌碉硼碑碓硿祺祿禁萬禽稜稚稠稔稟稞窟窠筷節筠筮筧粱粳粵經絹綑綁綏絛置罩罪署義羨群聖聘肆肄腱腰腸腥腮腳腫"],["b8a1","腹腺腦舅艇蒂葷落萱葵葦葫葉葬葛萼萵葡董葩葭葆虞虜號蛹蜓蜈蜇蜀蛾蛻蜂蜃蜆蜊衙裟裔裙補裘裝裡裊裕裒覜解詫該詳試詩詰誇詼詣誠話誅詭詢詮詬詹詻訾詨豢貊貉賊資賈賄貲賃賂賅跡跟跨路跳跺跪跤跦躲較載軾輊"],["b940","辟農運遊道遂達逼違遐遇遏過遍遑逾遁鄒鄗酬酪酩釉鈷鉗鈸鈽鉀鈾鉛鉋鉤鉑鈴鉉鉍鉅鈹鈿鉚閘隘隔隕雍雋雉雊雷電雹零靖靴靶預頑頓頊頒頌飼飴"],["b9a1","飽飾馳馱馴髡鳩麂鼎鼓鼠僧僮僥僖僭僚僕像僑僱僎僩兢凳劃劂匱厭嗾嘀嘛嘗嗽嘔嘆嘉嘍嘎嗷嘖嘟嘈嘐嗶團圖塵塾境墓墊塹墅塽壽夥夢夤奪奩嫡嫦嫩嫗嫖嫘嫣孵寞寧寡寥實寨寢寤察對屢嶄嶇幛幣幕幗幔廓廖弊彆彰徹慇"],["ba40","愿態慷慢慣慟慚慘慵截撇摘摔撤摸摟摺摑摧搴摭摻敲斡旗旖暢暨暝榜榨榕槁榮槓構榛榷榻榫榴槐槍榭槌榦槃榣歉歌氳漳演滾漓滴漩漾漠漬漏漂漢"],["baa1","滿滯漆漱漸漲漣漕漫漯澈漪滬漁滲滌滷熔熙煽熊熄熒爾犒犖獄獐瑤瑣瑪瑰瑭甄疑瘧瘍瘋瘉瘓盡監瞄睽睿睡磁碟碧碳碩碣禎福禍種稱窪窩竭端管箕箋筵算箝箔箏箸箇箄粹粽精綻綰綜綽綾綠緊綴網綱綺綢綿綵綸維緒緇綬"],["bb40","罰翠翡翟聞聚肇腐膀膏膈膊腿膂臧臺與舔舞艋蓉蒿蓆蓄蒙蒞蒲蒜蓋蒸蓀蓓蒐蒼蓑蓊蜿蜜蜻蜢蜥蜴蜘蝕蜷蜩裳褂裴裹裸製裨褚裯誦誌語誣認誡誓誤"],["bba1","說誥誨誘誑誚誧豪貍貌賓賑賒赫趙趕跼輔輒輕輓辣遠遘遜遣遙遞遢遝遛鄙鄘鄞酵酸酷酴鉸銀銅銘銖鉻銓銜銨鉼銑閡閨閩閣閥閤隙障際雌雒需靼鞅韶頗領颯颱餃餅餌餉駁骯骰髦魁魂鳴鳶鳳麼鼻齊億儀僻僵價儂儈儉儅凜"],["bc40","劇劈劉劍劊勰厲嘮嘻嘹嘲嘿嘴嘩噓噎噗噴嘶嘯嘰墀墟增墳墜墮墩墦奭嬉嫻嬋嫵嬌嬈寮寬審寫層履嶝嶔幢幟幡廢廚廟廝廣廠彈影德徵慶慧慮慝慕憂"],["bca1","慼慰慫慾憧憐憫憎憬憚憤憔憮戮摩摯摹撞撲撈撐撰撥撓撕撩撒撮播撫撚撬撙撢撳敵敷數暮暫暴暱樣樟槨樁樞標槽模樓樊槳樂樅槭樑歐歎殤毅毆漿潼澄潑潦潔澆潭潛潸潮澎潺潰潤澗潘滕潯潠潟熟熬熱熨牖犛獎獗瑩璋璃"],["bd40","瑾璀畿瘠瘩瘟瘤瘦瘡瘢皚皺盤瞎瞇瞌瞑瞋磋磅確磊碾磕碼磐稿稼穀稽稷稻窯窮箭箱範箴篆篇篁箠篌糊締練緯緻緘緬緝編緣線緞緩綞緙緲緹罵罷羯"],["bda1","翩耦膛膜膝膠膚膘蔗蔽蔚蓮蔬蔭蔓蔑蔣蔡蔔蓬蔥蓿蔆螂蝴蝶蝠蝦蝸蝨蝙蝗蝌蝓衛衝褐複褒褓褕褊誼諒談諄誕請諸課諉諂調誰論諍誶誹諛豌豎豬賠賞賦賤賬賭賢賣賜質賡赭趟趣踫踐踝踢踏踩踟踡踞躺輝輛輟輩輦輪輜輞"],["be40","輥適遮遨遭遷鄰鄭鄧鄱醇醉醋醃鋅銻銷鋪銬鋤鋁銳銼鋒鋇鋰銲閭閱霄霆震霉靠鞍鞋鞏頡頫頜颳養餓餒餘駝駐駟駛駑駕駒駙骷髮髯鬧魅魄魷魯鴆鴉"],["bea1","鴃麩麾黎墨齒儒儘儔儐儕冀冪凝劑劓勳噙噫噹噩噤噸噪器噥噱噯噬噢噶壁墾壇壅奮嬝嬴學寰導彊憲憑憩憊懍憶憾懊懈戰擅擁擋撻撼據擄擇擂操撿擒擔撾整曆曉暹曄曇暸樽樸樺橙橫橘樹橄橢橡橋橇樵機橈歙歷氅濂澱澡"],["bf40","濃澤濁澧澳激澹澶澦澠澴熾燉燐燒燈燕熹燎燙燜燃燄獨璜璣璘璟璞瓢甌甍瘴瘸瘺盧盥瞠瞞瞟瞥磨磚磬磧禦積穎穆穌穋窺篙簑築篤篛篡篩篦糕糖縊"],["bfa1","縑縈縛縣縞縝縉縐罹羲翰翱翮耨膳膩膨臻興艘艙蕊蕙蕈蕨蕩蕃蕉蕭蕪蕞螃螟螞螢融衡褪褲褥褫褡親覦諦諺諫諱謀諜諧諮諾謁謂諷諭諳諶諼豫豭貓賴蹄踱踴蹂踹踵輻輯輸輳辨辦遵遴選遲遼遺鄴醒錠錶鋸錳錯錢鋼錫錄錚"],["c040","錐錦錡錕錮錙閻隧隨險雕霎霑霖霍霓霏靛靜靦鞘頰頸頻頷頭頹頤餐館餞餛餡餚駭駢駱骸骼髻髭鬨鮑鴕鴣鴦鴨鴒鴛默黔龍龜優償儡儲勵嚎嚀嚐嚅嚇"],["c0a1","嚏壕壓壑壎嬰嬪嬤孺尷屨嶼嶺嶽嶸幫彌徽應懂懇懦懋戲戴擎擊擘擠擰擦擬擱擢擭斂斃曙曖檀檔檄檢檜櫛檣橾檗檐檠歜殮毚氈濘濱濟濠濛濤濫濯澀濬濡濩濕濮濰燧營燮燦燥燭燬燴燠爵牆獰獲璩環璦璨癆療癌盪瞳瞪瞰瞬"],["c140","瞧瞭矯磷磺磴磯礁禧禪穗窿簇簍篾篷簌篠糠糜糞糢糟糙糝縮績繆縷縲繃縫總縱繅繁縴縹繈縵縿縯罄翳翼聱聲聰聯聳臆臃膺臂臀膿膽臉膾臨舉艱薪"],["c1a1","薄蕾薜薑薔薯薛薇薨薊虧蟀蟑螳蟒蟆螫螻螺蟈蟋褻褶襄褸褽覬謎謗謙講謊謠謝謄謐豁谿豳賺賽購賸賻趨蹉蹋蹈蹊轄輾轂轅輿避遽還邁邂邀鄹醣醞醜鍍鎂錨鍵鍊鍥鍋錘鍾鍬鍛鍰鍚鍔闊闋闌闈闆隱隸雖霜霞鞠韓顆颶餵騁"],["c240","駿鮮鮫鮪鮭鴻鴿麋黏點黜黝黛鼾齋叢嚕嚮壙壘嬸彝懣戳擴擲擾攆擺擻擷斷曜朦檳檬櫃檻檸櫂檮檯歟歸殯瀉瀋濾瀆濺瀑瀏燻燼燾燸獷獵璧璿甕癖癘"],["c2a1","癒瞽瞿瞻瞼礎禮穡穢穠竄竅簫簧簪簞簣簡糧織繕繞繚繡繒繙罈翹翻職聶臍臏舊藏薩藍藐藉薰薺薹薦蟯蟬蟲蟠覆覲觴謨謹謬謫豐贅蹙蹣蹦蹤蹟蹕軀轉轍邇邃邈醫醬釐鎔鎊鎖鎢鎳鎮鎬鎰鎘鎚鎗闔闖闐闕離雜雙雛雞霤鞣鞦"],["c340","鞭韹額顏題顎顓颺餾餿餽餮馥騎髁鬃鬆魏魎魍鯊鯉鯽鯈鯀鵑鵝鵠黠鼕鼬儳嚥壞壟壢寵龐廬懲懷懶懵攀攏曠曝櫥櫝櫚櫓瀛瀟瀨瀚瀝瀕瀘爆爍牘犢獸"],["c3a1","獺璽瓊瓣疇疆癟癡矇礙禱穫穩簾簿簸簽簷籀繫繭繹繩繪羅繳羶羹羸臘藩藝藪藕藤藥藷蟻蠅蠍蟹蟾襠襟襖襞譁譜識證譚譎譏譆譙贈贊蹼蹲躇蹶蹬蹺蹴轔轎辭邊邋醱醮鏡鏑鏟鏃鏈鏜鏝鏖鏢鏍鏘鏤鏗鏨關隴難霪霧靡韜韻類"],["c440","願顛颼饅饉騖騙鬍鯨鯧鯖鯛鶉鵡鵲鵪鵬麒麗麓麴勸嚨嚷嚶嚴嚼壤孀孃孽寶巉懸懺攘攔攙曦朧櫬瀾瀰瀲爐獻瓏癢癥礦礪礬礫竇競籌籃籍糯糰辮繽繼"],["c4a1","纂罌耀臚艦藻藹蘑藺蘆蘋蘇蘊蠔蠕襤覺觸議譬警譯譟譫贏贍躉躁躅躂醴釋鐘鐃鏽闡霰飄饒饑馨騫騰騷騵鰓鰍鹹麵黨鼯齟齣齡儷儸囁囀囂夔屬巍懼懾攝攜斕曩櫻欄櫺殲灌爛犧瓖瓔癩矓籐纏續羼蘗蘭蘚蠣蠢蠡蠟襪襬覽譴"],["c540","護譽贓躊躍躋轟辯醺鐮鐳鐵鐺鐸鐲鐫闢霸霹露響顧顥饗驅驃驀騾髏魔魑鰭鰥鶯鶴鷂鶸麝黯鼙齜齦齧儼儻囈囊囉孿巔巒彎懿攤權歡灑灘玀瓤疊癮癬"],["c5a1","禳籠籟聾聽臟襲襯觼讀贖贗躑躓轡酈鑄鑑鑒霽霾韃韁顫饕驕驍髒鬚鱉鰱鰾鰻鷓鷗鼴齬齪龔囌巖戀攣攫攪曬欐瓚竊籤籣籥纓纖纔臢蘸蘿蠱變邐邏鑣鑠鑤靨顯饜驚驛驗髓體髑鱔鱗鱖鷥麟黴囑壩攬灞癱癲矗罐羈蠶蠹衢讓讒"],["c640","讖艷贛釀鑪靂靈靄韆顰驟鬢魘鱟鷹鷺鹼鹽鼇齷齲廳欖灣籬籮蠻觀躡釁鑲鑰顱饞髖鬣黌灤矚讚鑷韉驢驥纜讜躪釅鑽鑾鑼鱷鱸黷豔鑿鸚爨驪鬱鸛鸞籲"],["c940","乂乜凵匚厂万丌乇亍囗兀屮彳丏冇与丮亓仂仉仈冘勼卬厹圠夃夬尐巿旡殳毌气爿丱丼仨仜仩仡仝仚刌匜卌圢圣夗夯宁宄尒尻屴屳帄庀庂忉戉扐氕"],["c9a1","氶汃氿氻犮犰玊禸肊阞伎优伬仵伔仱伀价伈伝伂伅伢伓伄仴伒冱刓刉刐劦匢匟卍厊吇囡囟圮圪圴夼妀奼妅奻奾奷奿孖尕尥屼屺屻屾巟幵庄异弚彴忕忔忏扜扞扤扡扦扢扙扠扚扥旯旮朾朹朸朻机朿朼朳氘汆汒汜汏汊汔汋"],["ca40","汌灱牞犴犵玎甪癿穵网艸艼芀艽艿虍襾邙邗邘邛邔阢阤阠阣佖伻佢佉体佤伾佧佒佟佁佘伭伳伿佡冏冹刜刞刡劭劮匉卣卲厎厏吰吷吪呔呅吙吜吥吘"],["caa1","吽呏呁吨吤呇囮囧囥坁坅坌坉坋坒夆奀妦妘妠妗妎妢妐妏妧妡宎宒尨尪岍岏岈岋岉岒岊岆岓岕巠帊帎庋庉庌庈庍弅弝彸彶忒忑忐忭忨忮忳忡忤忣忺忯忷忻怀忴戺抃抌抎抏抔抇扱扻扺扰抁抈扷扽扲扴攷旰旴旳旲旵杅杇"],["cb40","杙杕杌杈杝杍杚杋毐氙氚汸汧汫沄沋沏汱汯汩沚汭沇沕沜汦汳汥汻沎灴灺牣犿犽狃狆狁犺狅玕玗玓玔玒町甹疔疕皁礽耴肕肙肐肒肜芐芏芅芎芑芓"],["cba1","芊芃芄豸迉辿邟邡邥邞邧邠阰阨阯阭丳侘佼侅佽侀侇佶佴侉侄佷佌侗佪侚佹侁佸侐侜侔侞侒侂侕佫佮冞冼冾刵刲刳剆刱劼匊匋匼厒厔咇呿咁咑咂咈呫呺呾呥呬呴呦咍呯呡呠咘呣呧呤囷囹坯坲坭坫坱坰坶垀坵坻坳坴坢"],["cc40","坨坽夌奅妵妺姏姎妲姌姁妶妼姃姖妱妽姀姈妴姇孢孥宓宕屄屇岮岤岠岵岯岨岬岟岣岭岢岪岧岝岥岶岰岦帗帔帙弨弢弣弤彔徂彾彽忞忥怭怦怙怲怋"],["cca1","怴怊怗怳怚怞怬怢怍怐怮怓怑怌怉怜戔戽抭抴拑抾抪抶拊抮抳抯抻抩抰抸攽斨斻昉旼昄昒昈旻昃昋昍昅旽昑昐曶朊枅杬枎枒杶杻枘枆构杴枍枌杺枟枑枙枃杽极杸杹枔欥殀歾毞氝沓泬泫泮泙沶泔沭泧沷泐泂沺泃泆泭泲"],["cd40","泒泝沴沊沝沀泞泀洰泍泇沰泹泏泩泑炔炘炅炓炆炄炑炖炂炚炃牪狖狋狘狉狜狒狔狚狌狑玤玡玭玦玢玠玬玝瓝瓨甿畀甾疌疘皯盳盱盰盵矸矼矹矻矺"],["cda1","矷祂礿秅穸穻竻籵糽耵肏肮肣肸肵肭舠芠苀芫芚芘芛芵芧芮芼芞芺芴芨芡芩苂芤苃芶芢虰虯虭虮豖迒迋迓迍迖迕迗邲邴邯邳邰阹阽阼阺陃俍俅俓侲俉俋俁俔俜俙侻侳俛俇俖侺俀侹俬剄剉勀勂匽卼厗厖厙厘咺咡咭咥哏"],["ce40","哃茍咷咮哖咶哅哆咠呰咼咢咾呲哞咰垵垞垟垤垌垗垝垛垔垘垏垙垥垚垕壴复奓姡姞姮娀姱姝姺姽姼姶姤姲姷姛姩姳姵姠姾姴姭宨屌峐峘峌峗峋峛"],["cea1","峞峚峉峇峊峖峓峔峏峈峆峎峟峸巹帡帢帣帠帤庰庤庢庛庣庥弇弮彖徆怷怹恔恲恞恅恓恇恉恛恌恀恂恟怤恄恘恦恮扂扃拏挍挋拵挎挃拫拹挏挌拸拶挀挓挔拺挕拻拰敁敃斪斿昶昡昲昵昜昦昢昳昫昺昝昴昹昮朏朐柁柲柈枺"],["cf40","柜枻柸柘柀枷柅柫柤柟枵柍枳柷柶柮柣柂枹柎柧柰枲柼柆柭柌枮柦柛柺柉柊柃柪柋欨殂殄殶毖毘毠氠氡洨洴洭洟洼洿洒洊泚洳洄洙洺洚洑洀洝浂"],["cfa1","洁洘洷洃洏浀洇洠洬洈洢洉洐炷炟炾炱炰炡炴炵炩牁牉牊牬牰牳牮狊狤狨狫狟狪狦狣玅珌珂珈珅玹玶玵玴珫玿珇玾珃珆玸珋瓬瓮甮畇畈疧疪癹盄眈眃眄眅眊盷盻盺矧矨砆砑砒砅砐砏砎砉砃砓祊祌祋祅祄秕种秏秖秎窀"],["d040","穾竑笀笁籺籸籹籿粀粁紃紈紁罘羑羍羾耇耎耏耔耷胘胇胠胑胈胂胐胅胣胙胜胊胕胉胏胗胦胍臿舡芔苙苾苹茇苨茀苕茺苫苖苴苬苡苲苵茌苻苶苰苪"],["d0a1","苤苠苺苳苭虷虴虼虳衁衎衧衪衩觓訄訇赲迣迡迮迠郱邽邿郕郅邾郇郋郈釔釓陔陏陑陓陊陎倞倅倇倓倢倰倛俵俴倳倷倬俶俷倗倜倠倧倵倯倱倎党冔冓凊凄凅凈凎剡剚剒剞剟剕剢勍匎厞唦哢唗唒哧哳哤唚哿唄唈哫唑唅哱"],["d140","唊哻哷哸哠唎唃唋圁圂埌堲埕埒垺埆垽垼垸垶垿埇埐垹埁夎奊娙娖娭娮娕娏娗娊娞娳孬宧宭宬尃屖屔峬峿峮峱峷崀峹帩帨庨庮庪庬弳弰彧恝恚恧"],["d1a1","恁悢悈悀悒悁悝悃悕悛悗悇悜悎戙扆拲挐捖挬捄捅挶捃揤挹捋捊挼挩捁挴捘捔捙挭捇挳捚捑挸捗捀捈敊敆旆旃旄旂晊晟晇晑朒朓栟栚桉栲栳栻桋桏栖栱栜栵栫栭栯桎桄栴栝栒栔栦栨栮桍栺栥栠欬欯欭欱欴歭肂殈毦毤"],["d240","毨毣毢毧氥浺浣浤浶洍浡涒浘浢浭浯涑涍淯浿涆浞浧浠涗浰浼浟涂涘洯浨涋浾涀涄洖涃浻浽浵涐烜烓烑烝烋缹烢烗烒烞烠烔烍烅烆烇烚烎烡牂牸"],["d2a1","牷牶猀狺狴狾狶狳狻猁珓珙珥珖玼珧珣珩珜珒珛珔珝珚珗珘珨瓞瓟瓴瓵甡畛畟疰痁疻痄痀疿疶疺皊盉眝眛眐眓眒眣眑眕眙眚眢眧砣砬砢砵砯砨砮砫砡砩砳砪砱祔祛祏祜祓祒祑秫秬秠秮秭秪秜秞秝窆窉窅窋窌窊窇竘笐"],["d340","笄笓笅笏笈笊笎笉笒粄粑粊粌粈粍粅紞紝紑紎紘紖紓紟紒紏紌罜罡罞罠罝罛羖羒翃翂翀耖耾耹胺胲胹胵脁胻脀舁舯舥茳茭荄茙荑茥荖茿荁茦茜茢"],["d3a1","荂荎茛茪茈茼荍茖茤茠茷茯茩荇荅荌荓茞茬荋茧荈虓虒蚢蚨蚖蚍蚑蚞蚇蚗蚆蚋蚚蚅蚥蚙蚡蚧蚕蚘蚎蚝蚐蚔衃衄衭衵衶衲袀衱衿衯袃衾衴衼訒豇豗豻貤貣赶赸趵趷趶軑軓迾迵适迿迻逄迼迶郖郠郙郚郣郟郥郘郛郗郜郤酐"],["d440","酎酏釕釢釚陜陟隼飣髟鬯乿偰偪偡偞偠偓偋偝偲偈偍偁偛偊偢倕偅偟偩偫偣偤偆偀偮偳偗偑凐剫剭剬剮勖勓匭厜啵啶唼啍啐唴唪啑啢唶唵唰啒啅"],["d4a1","唌唲啥啎唹啈唭唻啀啋圊圇埻堔埢埶埜埴堀埭埽堈埸堋埳埏堇埮埣埲埥埬埡堎埼堐埧堁堌埱埩埰堍堄奜婠婘婕婧婞娸娵婭婐婟婥婬婓婤婗婃婝婒婄婛婈媎娾婍娹婌婰婩婇婑婖婂婜孲孮寁寀屙崞崋崝崚崠崌崨崍崦崥崏"],["d540","崰崒崣崟崮帾帴庱庴庹庲庳弶弸徛徖徟悊悐悆悾悰悺惓惔惏惤惙惝惈悱惛悷惊悿惃惍惀挲捥掊掂捽掽掞掭掝掗掫掎捯掇掐据掯捵掜捭掮捼掤挻掟"],["d5a1","捸掅掁掑掍捰敓旍晥晡晛晙晜晢朘桹梇梐梜桭桮梮梫楖桯梣梬梩桵桴梲梏桷梒桼桫桲梪梀桱桾梛梖梋梠梉梤桸桻梑梌梊桽欶欳欷欸殑殏殍殎殌氪淀涫涴涳湴涬淩淢涷淶淔渀淈淠淟淖涾淥淜淝淛淴淊涽淭淰涺淕淂淏淉"],["d640","淐淲淓淽淗淍淣涻烺焍烷焗烴焌烰焄烳焐烼烿焆焓焀烸烶焋焂焎牾牻牼牿猝猗猇猑猘猊猈狿猏猞玈珶珸珵琄琁珽琇琀珺珼珿琌琋珴琈畤畣痎痒痏"],["d6a1","痋痌痑痐皏皉盓眹眯眭眱眲眴眳眽眥眻眵硈硒硉硍硊硌砦硅硐祤祧祩祪祣祫祡离秺秸秶秷窏窔窐笵筇笴笥笰笢笤笳笘笪笝笱笫笭笯笲笸笚笣粔粘粖粣紵紽紸紶紺絅紬紩絁絇紾紿絊紻紨罣羕羜羝羛翊翋翍翐翑翇翏翉耟"],["d740","耞耛聇聃聈脘脥脙脛脭脟脬脞脡脕脧脝脢舑舸舳舺舴舲艴莐莣莨莍荺荳莤荴莏莁莕莙荵莔莩荽莃莌莝莛莪莋荾莥莯莈莗莰荿莦莇莮荶莚虙虖蚿蚷"],["d7a1","蛂蛁蛅蚺蚰蛈蚹蚳蚸蛌蚴蚻蚼蛃蚽蚾衒袉袕袨袢袪袚袑袡袟袘袧袙袛袗袤袬袌袓袎覂觖觙觕訰訧訬訞谹谻豜豝豽貥赽赻赹趼跂趹趿跁軘軞軝軜軗軠軡逤逋逑逜逌逡郯郪郰郴郲郳郔郫郬郩酖酘酚酓酕釬釴釱釳釸釤釹釪"],["d840","釫釷釨釮镺閆閈陼陭陫陱陯隿靪頄飥馗傛傕傔傞傋傣傃傌傎傝偨傜傒傂傇兟凔匒匑厤厧喑喨喥喭啷噅喢喓喈喏喵喁喣喒喤啽喌喦啿喕喡喎圌堩堷"],["d8a1","堙堞堧堣堨埵塈堥堜堛堳堿堶堮堹堸堭堬堻奡媯媔媟婺媢媞婸媦婼媥媬媕媮娷媄媊媗媃媋媩婻婽媌媜媏媓媝寪寍寋寔寑寊寎尌尰崷嵃嵫嵁嵋崿崵嵑嵎嵕崳崺嵒崽崱嵙嵂崹嵉崸崼崲崶嵀嵅幄幁彘徦徥徫惉悹惌惢惎惄愔"],["d940","惲愊愖愅惵愓惸惼惾惁愃愘愝愐惿愄愋扊掔掱掰揎揥揨揯揃撝揳揊揠揶揕揲揵摡揟掾揝揜揄揘揓揂揇揌揋揈揰揗揙攲敧敪敤敜敨敥斌斝斞斮旐旒"],["d9a1","晼晬晻暀晱晹晪晲朁椌棓椄棜椪棬棪棱椏棖棷棫棤棶椓椐棳棡椇棌椈楰梴椑棯棆椔棸棐棽棼棨椋椊椗棎棈棝棞棦棴棑椆棔棩椕椥棇欹欻欿欼殔殗殙殕殽毰毲毳氰淼湆湇渟湉溈渼渽湅湢渫渿湁湝湳渜渳湋湀湑渻渃渮湞"],["da40","湨湜湡渱渨湠湱湫渹渢渰湓湥渧湸湤湷湕湹湒湦渵渶湚焠焞焯烻焮焱焣焥焢焲焟焨焺焛牋牚犈犉犆犅犋猒猋猰猢猱猳猧猲猭猦猣猵猌琮琬琰琫琖"],["daa1","琚琡琭琱琤琣琝琩琠琲瓻甯畯畬痧痚痡痦痝痟痤痗皕皒盚睆睇睄睍睅睊睎睋睌矞矬硠硤硥硜硭硱硪确硰硩硨硞硢祴祳祲祰稂稊稃稌稄窙竦竤筊笻筄筈筌筎筀筘筅粢粞粨粡絘絯絣絓絖絧絪絏絭絜絫絒絔絩絑絟絎缾缿罥"],["db40","罦羢羠羡翗聑聏聐胾胔腃腊腒腏腇脽腍脺臦臮臷臸臹舄舼舽舿艵茻菏菹萣菀菨萒菧菤菼菶萐菆菈菫菣莿萁菝菥菘菿菡菋菎菖菵菉萉萏菞萑萆菂菳"],["dba1","菕菺菇菑菪萓菃菬菮菄菻菗菢萛菛菾蛘蛢蛦蛓蛣蛚蛪蛝蛫蛜蛬蛩蛗蛨蛑衈衖衕袺裗袹袸裀袾袶袼袷袽袲褁裉覕覘覗觝觚觛詎詍訹詙詀詗詘詄詅詒詈詑詊詌詏豟貁貀貺貾貰貹貵趄趀趉跘跓跍跇跖跜跏跕跙跈跗跅軯軷軺"],["dc40","軹軦軮軥軵軧軨軶軫軱軬軴軩逭逴逯鄆鄬鄄郿郼鄈郹郻鄁鄀鄇鄅鄃酡酤酟酢酠鈁鈊鈥鈃鈚鈦鈏鈌鈀鈒釿釽鈆鈄鈧鈂鈜鈤鈙鈗鈅鈖镻閍閌閐隇陾隈"],["dca1","隉隃隀雂雈雃雱雰靬靰靮頇颩飫鳦黹亃亄亶傽傿僆傮僄僊傴僈僂傰僁傺傱僋僉傶傸凗剺剸剻剼嗃嗛嗌嗐嗋嗊嗝嗀嗔嗄嗩喿嗒喍嗏嗕嗢嗖嗈嗲嗍嗙嗂圔塓塨塤塏塍塉塯塕塎塝塙塥塛堽塣塱壼嫇嫄嫋媺媸媱媵媰媿嫈媻嫆"],["dd40","媷嫀嫊媴媶嫍媹媐寖寘寙尟尳嵱嵣嵊嵥嵲嵬嵞嵨嵧嵢巰幏幎幊幍幋廅廌廆廋廇彀徯徭惷慉慊愫慅愶愲愮慆愯慏愩慀戠酨戣戥戤揅揱揫搐搒搉搠搤"],["dda1","搳摃搟搕搘搹搷搢搣搌搦搰搨摁搵搯搊搚摀搥搧搋揧搛搮搡搎敯斒旓暆暌暕暐暋暊暙暔晸朠楦楟椸楎楢楱椿楅楪椹楂楗楙楺楈楉椵楬椳椽楥棰楸椴楩楀楯楄楶楘楁楴楌椻楋椷楜楏楑椲楒椯楻椼歆歅歃歂歈歁殛嗀毻毼"],["de40","毹毷毸溛滖滈溏滀溟溓溔溠溱溹滆滒溽滁溞滉溷溰滍溦滏溲溾滃滜滘溙溒溎溍溤溡溿溳滐滊溗溮溣煇煔煒煣煠煁煝煢煲煸煪煡煂煘煃煋煰煟煐煓"],["dea1","煄煍煚牏犍犌犑犐犎猼獂猻猺獀獊獉瑄瑊瑋瑒瑑瑗瑀瑏瑐瑎瑂瑆瑍瑔瓡瓿瓾瓽甝畹畷榃痯瘏瘃痷痾痼痹痸瘐痻痶痭痵痽皙皵盝睕睟睠睒睖睚睩睧睔睙睭矠碇碚碔碏碄碕碅碆碡碃硹碙碀碖硻祼禂祽祹稑稘稙稒稗稕稢稓"],["df40","稛稐窣窢窞竫筦筤筭筴筩筲筥筳筱筰筡筸筶筣粲粴粯綈綆綀綍絿綅絺綎絻綃絼綌綔綄絽綒罭罫罧罨罬羦羥羧翛翜耡腤腠腷腜腩腛腢腲朡腞腶腧腯"],["dfa1","腄腡舝艉艄艀艂艅蓱萿葖葶葹蒏蒍葥葑葀蒆葧萰葍葽葚葙葴葳葝蔇葞萷萺萴葺葃葸萲葅萩菙葋萯葂萭葟葰萹葎葌葒葯蓅蒎萻葇萶萳葨葾葄萫葠葔葮葐蜋蜄蛷蜌蛺蛖蛵蝍蛸蜎蜉蜁蛶蜍蜅裖裋裍裎裞裛裚裌裐覅覛觟觥觤"],["e040","觡觠觢觜触詶誆詿詡訿詷誂誄詵誃誁詴詺谼豋豊豥豤豦貆貄貅賌赨赩趑趌趎趏趍趓趔趐趒跰跠跬跱跮跐跩跣跢跧跲跫跴輆軿輁輀輅輇輈輂輋遒逿"],["e0a1","遄遉逽鄐鄍鄏鄑鄖鄔鄋鄎酮酯鉈鉒鈰鈺鉦鈳鉥鉞銃鈮鉊鉆鉭鉬鉏鉠鉧鉯鈶鉡鉰鈱鉔鉣鉐鉲鉎鉓鉌鉖鈲閟閜閞閛隒隓隑隗雎雺雽雸雵靳靷靸靲頏頍頎颬飶飹馯馲馰馵骭骫魛鳪鳭鳧麀黽僦僔僗僨僳僛僪僝僤僓僬僰僯僣僠"],["e140","凘劀劁勩勫匰厬嘧嘕嘌嘒嗼嘏嘜嘁嘓嘂嗺嘝嘄嗿嗹墉塼墐墘墆墁塿塴墋塺墇墑墎塶墂墈塻墔墏壾奫嫜嫮嫥嫕嫪嫚嫭嫫嫳嫢嫠嫛嫬嫞嫝嫙嫨嫟孷寠"],["e1a1","寣屣嶂嶀嵽嶆嵺嶁嵷嶊嶉嶈嵾嵼嶍嵹嵿幘幙幓廘廑廗廎廜廕廙廒廔彄彃彯徶愬愨慁慞慱慳慒慓慲慬憀慴慔慺慛慥愻慪慡慖戩戧戫搫摍摛摝摴摶摲摳摽摵摦撦摎撂摞摜摋摓摠摐摿搿摬摫摙摥摷敳斠暡暠暟朅朄朢榱榶槉"],["e240","榠槎榖榰榬榼榑榙榎榧榍榩榾榯榿槄榽榤槔榹槊榚槏榳榓榪榡榞槙榗榐槂榵榥槆歊歍歋殞殟殠毃毄毾滎滵滱漃漥滸漷滻漮漉潎漙漚漧漘漻漒滭漊"],["e2a1","漶潳滹滮漭潀漰漼漵滫漇漎潃漅滽滶漹漜滼漺漟漍漞漈漡熇熐熉熀熅熂熏煻熆熁熗牄牓犗犕犓獃獍獑獌瑢瑳瑱瑵瑲瑧瑮甀甂甃畽疐瘖瘈瘌瘕瘑瘊瘔皸瞁睼瞅瞂睮瞀睯睾瞃碲碪碴碭碨硾碫碞碥碠碬碢碤禘禊禋禖禕禔禓"],["e340","禗禈禒禐稫穊稰稯稨稦窨窫窬竮箈箜箊箑箐箖箍箌箛箎箅箘劄箙箤箂粻粿粼粺綧綷緂綣綪緁緀緅綝緎緄緆緋緌綯綹綖綼綟綦綮綩綡緉罳翢翣翥翞"],["e3a1","耤聝聜膉膆膃膇膍膌膋舕蒗蒤蒡蒟蒺蓎蓂蒬蒮蒫蒹蒴蓁蓍蒪蒚蒱蓐蒝蒧蒻蒢蒔蓇蓌蒛蒩蒯蒨蓖蒘蒶蓏蒠蓗蓔蓒蓛蒰蒑虡蜳蜣蜨蝫蝀蜮蜞蜡蜙蜛蝃蜬蝁蜾蝆蜠蜲蜪蜭蜼蜒蜺蜱蜵蝂蜦蜧蜸蜤蜚蜰蜑裷裧裱裲裺裾裮裼裶裻"],["e440","裰裬裫覝覡覟覞觩觫觨誫誙誋誒誏誖谽豨豩賕賏賗趖踉踂跿踍跽踊踃踇踆踅跾踀踄輐輑輎輍鄣鄜鄠鄢鄟鄝鄚鄤鄡鄛酺酲酹酳銥銤鉶銛鉺銠銔銪銍"],["e4a1","銦銚銫鉹銗鉿銣鋮銎銂銕銢鉽銈銡銊銆銌銙銧鉾銇銩銝銋鈭隞隡雿靘靽靺靾鞃鞀鞂靻鞄鞁靿韎韍頖颭颮餂餀餇馝馜駃馹馻馺駂馽駇骱髣髧鬾鬿魠魡魟鳱鳲鳵麧僿儃儰僸儆儇僶僾儋儌僽儊劋劌勱勯噈噂噌嘵噁噊噉噆噘"],["e540","噚噀嘳嘽嘬嘾嘸嘪嘺圚墫墝墱墠墣墯墬墥墡壿嫿嫴嫽嫷嫶嬃嫸嬂嫹嬁嬇嬅嬏屧嶙嶗嶟嶒嶢嶓嶕嶠嶜嶡嶚嶞幩幝幠幜緳廛廞廡彉徲憋憃慹憱憰憢憉"],["e5a1","憛憓憯憭憟憒憪憡憍慦憳戭摮摰撖撠撅撗撜撏撋撊撌撣撟摨撱撘敶敺敹敻斲斳暵暰暩暲暷暪暯樀樆樗槥槸樕槱槤樠槿槬槢樛樝槾樧槲槮樔槷槧橀樈槦槻樍槼槫樉樄樘樥樏槶樦樇槴樖歑殥殣殢殦氁氀毿氂潁漦潾澇濆澒"],["e640","澍澉澌潢潏澅潚澖潶潬澂潕潲潒潐潗澔澓潝漀潡潫潽潧澐潓澋潩潿澕潣潷潪潻熲熯熛熰熠熚熩熵熝熥熞熤熡熪熜熧熳犘犚獘獒獞獟獠獝獛獡獚獙"],["e6a1","獢璇璉璊璆璁瑽璅璈瑼瑹甈甇畾瘥瘞瘙瘝瘜瘣瘚瘨瘛皜皝皞皛瞍瞏瞉瞈磍碻磏磌磑磎磔磈磃磄磉禚禡禠禜禢禛歶稹窲窴窳箷篋箾箬篎箯箹篊箵糅糈糌糋緷緛緪緧緗緡縃緺緦緶緱緰緮緟罶羬羰羭翭翫翪翬翦翨聤聧膣膟"],["e740","膞膕膢膙膗舖艏艓艒艐艎艑蔤蔻蔏蔀蔩蔎蔉蔍蔟蔊蔧蔜蓻蔫蓺蔈蔌蓴蔪蓲蔕蓷蓫蓳蓼蔒蓪蓩蔖蓾蔨蔝蔮蔂蓽蔞蓶蔱蔦蓧蓨蓰蓯蓹蔘蔠蔰蔋蔙蔯虢"],["e7a1","蝖蝣蝤蝷蟡蝳蝘蝔蝛蝒蝡蝚蝑蝞蝭蝪蝐蝎蝟蝝蝯蝬蝺蝮蝜蝥蝏蝻蝵蝢蝧蝩衚褅褌褔褋褗褘褙褆褖褑褎褉覢覤覣觭觰觬諏諆誸諓諑諔諕誻諗誾諀諅諘諃誺誽諙谾豍貏賥賟賙賨賚賝賧趠趜趡趛踠踣踥踤踮踕踛踖踑踙踦踧"],["e840","踔踒踘踓踜踗踚輬輤輘輚輠輣輖輗遳遰遯遧遫鄯鄫鄩鄪鄲鄦鄮醅醆醊醁醂醄醀鋐鋃鋄鋀鋙銶鋏鋱鋟鋘鋩鋗鋝鋌鋯鋂鋨鋊鋈鋎鋦鋍鋕鋉鋠鋞鋧鋑鋓"],["e8a1","銵鋡鋆銴镼閬閫閮閰隤隢雓霅霈霂靚鞊鞎鞈韐韏頞頝頦頩頨頠頛頧颲餈飺餑餔餖餗餕駜駍駏駓駔駎駉駖駘駋駗駌骳髬髫髳髲髱魆魃魧魴魱魦魶魵魰魨魤魬鳼鳺鳽鳿鳷鴇鴀鳹鳻鴈鴅鴄麃黓鼏鼐儜儓儗儚儑凞匴叡噰噠噮"],["e940","噳噦噣噭噲噞噷圜圛壈墽壉墿墺壂墼壆嬗嬙嬛嬡嬔嬓嬐嬖嬨嬚嬠嬞寯嶬嶱嶩嶧嶵嶰嶮嶪嶨嶲嶭嶯嶴幧幨幦幯廩廧廦廨廥彋徼憝憨憖懅憴懆懁懌憺"],["e9a1","憿憸憌擗擖擐擏擉撽撉擃擛擳擙攳敿敼斢曈暾曀曊曋曏暽暻暺曌朣樴橦橉橧樲橨樾橝橭橶橛橑樨橚樻樿橁橪橤橐橏橔橯橩橠樼橞橖橕橍橎橆歕歔歖殧殪殫毈毇氄氃氆澭濋澣濇澼濎濈潞濄澽澞濊澨瀄澥澮澺澬澪濏澿澸"],["ea40","澢濉澫濍澯澲澰燅燂熿熸燖燀燁燋燔燊燇燏熽燘熼燆燚燛犝犞獩獦獧獬獥獫獪瑿璚璠璔璒璕璡甋疀瘯瘭瘱瘽瘳瘼瘵瘲瘰皻盦瞚瞝瞡瞜瞛瞢瞣瞕瞙"],["eaa1","瞗磝磩磥磪磞磣磛磡磢磭磟磠禤穄穈穇窶窸窵窱窷篞篣篧篝篕篥篚篨篹篔篪篢篜篫篘篟糒糔糗糐糑縒縡縗縌縟縠縓縎縜縕縚縢縋縏縖縍縔縥縤罃罻罼罺羱翯耪耩聬膱膦膮膹膵膫膰膬膴膲膷膧臲艕艖艗蕖蕅蕫蕍蕓蕡蕘"],["eb40","蕀蕆蕤蕁蕢蕄蕑蕇蕣蔾蕛蕱蕎蕮蕵蕕蕧蕠薌蕦蕝蕔蕥蕬虣虥虤螛螏螗螓螒螈螁螖螘蝹螇螣螅螐螑螝螄螔螜螚螉褞褦褰褭褮褧褱褢褩褣褯褬褟觱諠"],["eba1","諢諲諴諵諝謔諤諟諰諈諞諡諨諿諯諻貑貒貐賵賮賱賰賳赬赮趥趧踳踾踸蹀蹅踶踼踽蹁踰踿躽輶輮輵輲輹輷輴遶遹遻邆郺鄳鄵鄶醓醐醑醍醏錧錞錈錟錆錏鍺錸錼錛錣錒錁鍆錭錎錍鋋錝鋺錥錓鋹鋷錴錂錤鋿錩錹錵錪錔錌"],["ec40","錋鋾錉錀鋻錖閼闍閾閹閺閶閿閵閽隩雔霋霒霐鞙鞗鞔韰韸頵頯頲餤餟餧餩馞駮駬駥駤駰駣駪駩駧骹骿骴骻髶髺髹髷鬳鮀鮅鮇魼魾魻鮂鮓鮒鮐魺鮕"],["eca1","魽鮈鴥鴗鴠鴞鴔鴩鴝鴘鴢鴐鴙鴟麈麆麇麮麭黕黖黺鼒鼽儦儥儢儤儠儩勴嚓嚌嚍嚆嚄嚃噾嚂噿嚁壖壔壏壒嬭嬥嬲嬣嬬嬧嬦嬯嬮孻寱寲嶷幬幪徾徻懃憵憼懧懠懥懤懨懞擯擩擣擫擤擨斁斀斶旚曒檍檖檁檥檉檟檛檡檞檇檓檎"],["ed40","檕檃檨檤檑橿檦檚檅檌檒歛殭氉濌澩濴濔濣濜濭濧濦濞濲濝濢濨燡燱燨燲燤燰燢獳獮獯璗璲璫璐璪璭璱璥璯甐甑甒甏疄癃癈癉癇皤盩瞵瞫瞲瞷瞶"],["eda1","瞴瞱瞨矰磳磽礂磻磼磲礅磹磾礄禫禨穜穛穖穘穔穚窾竀竁簅簏篲簀篿篻簎篴簋篳簂簉簃簁篸篽簆篰篱簐簊糨縭縼繂縳顈縸縪繉繀繇縩繌縰縻縶繄縺罅罿罾罽翴翲耬膻臄臌臊臅臇膼臩艛艚艜薃薀薏薧薕薠薋薣蕻薤薚薞"],["ee40","蕷蕼薉薡蕺蕸蕗薎薖薆薍薙薝薁薢薂薈薅蕹蕶薘薐薟虨螾螪螭蟅螰螬螹螵螼螮蟉蟃蟂蟌螷螯蟄蟊螴螶螿螸螽蟞螲褵褳褼褾襁襒褷襂覭覯覮觲觳謞"],["eea1","謘謖謑謅謋謢謏謒謕謇謍謈謆謜謓謚豏豰豲豱豯貕貔賹赯蹎蹍蹓蹐蹌蹇轃轀邅遾鄸醚醢醛醙醟醡醝醠鎡鎃鎯鍤鍖鍇鍼鍘鍜鍶鍉鍐鍑鍠鍭鎏鍌鍪鍹鍗鍕鍒鍏鍱鍷鍻鍡鍞鍣鍧鎀鍎鍙闇闀闉闃闅閷隮隰隬霠霟霘霝霙鞚鞡鞜"],["ef40","鞞鞝韕韔韱顁顄顊顉顅顃餥餫餬餪餳餲餯餭餱餰馘馣馡騂駺駴駷駹駸駶駻駽駾駼騃骾髾髽鬁髼魈鮚鮨鮞鮛鮦鮡鮥鮤鮆鮢鮠鮯鴳鵁鵧鴶鴮鴯鴱鴸鴰"],["efa1","鵅鵂鵃鴾鴷鵀鴽翵鴭麊麉麍麰黈黚黻黿鼤鼣鼢齔龠儱儭儮嚘嚜嚗嚚嚝嚙奰嬼屩屪巀幭幮懘懟懭懮懱懪懰懫懖懩擿攄擽擸攁攃擼斔旛曚曛曘櫅檹檽櫡櫆檺檶檷櫇檴檭歞毉氋瀇瀌瀍瀁瀅瀔瀎濿瀀濻瀦濼濷瀊爁燿燹爃燽獶"],["f040","璸瓀璵瓁璾璶璻瓂甔甓癜癤癙癐癓癗癚皦皽盬矂瞺磿礌礓礔礉礐礒礑禭禬穟簜簩簙簠簟簭簝簦簨簢簥簰繜繐繖繣繘繢繟繑繠繗繓羵羳翷翸聵臑臒"],["f0a1","臐艟艞薴藆藀藃藂薳薵薽藇藄薿藋藎藈藅薱薶藒蘤薸薷薾虩蟧蟦蟢蟛蟫蟪蟥蟟蟳蟤蟔蟜蟓蟭蟘蟣螤蟗蟙蠁蟴蟨蟝襓襋襏襌襆襐襑襉謪謧謣謳謰謵譇謯謼謾謱謥謷謦謶謮謤謻謽謺豂豵貙貘貗賾贄贂贀蹜蹢蹠蹗蹖蹞蹥蹧"],["f140","蹛蹚蹡蹝蹩蹔轆轇轈轋鄨鄺鄻鄾醨醥醧醯醪鎵鎌鎒鎷鎛鎝鎉鎧鎎鎪鎞鎦鎕鎈鎙鎟鎍鎱鎑鎲鎤鎨鎴鎣鎥闒闓闑隳雗雚巂雟雘雝霣霢霥鞬鞮鞨鞫鞤鞪"],["f1a1","鞢鞥韗韙韖韘韺顐顑顒颸饁餼餺騏騋騉騍騄騑騊騅騇騆髀髜鬈鬄鬅鬩鬵魊魌魋鯇鯆鯃鮿鯁鮵鮸鯓鮶鯄鮹鮽鵜鵓鵏鵊鵛鵋鵙鵖鵌鵗鵒鵔鵟鵘鵚麎麌黟鼁鼀鼖鼥鼫鼪鼩鼨齌齕儴儵劖勷厴嚫嚭嚦嚧嚪嚬壚壝壛夒嬽嬾嬿巃幰"],["f240","徿懻攇攐攍攉攌攎斄旞旝曞櫧櫠櫌櫑櫙櫋櫟櫜櫐櫫櫏櫍櫞歠殰氌瀙瀧瀠瀖瀫瀡瀢瀣瀩瀗瀤瀜瀪爌爊爇爂爅犥犦犤犣犡瓋瓅璷瓃甖癠矉矊矄矱礝礛"],["f2a1","礡礜礗礞禰穧穨簳簼簹簬簻糬糪繶繵繸繰繷繯繺繲繴繨罋罊羃羆羷翽翾聸臗臕艤艡艣藫藱藭藙藡藨藚藗藬藲藸藘藟藣藜藑藰藦藯藞藢蠀蟺蠃蟶蟷蠉蠌蠋蠆蟼蠈蟿蠊蠂襢襚襛襗襡襜襘襝襙覈覷覶觶譐譈譊譀譓譖譔譋譕"],["f340","譑譂譒譗豃豷豶貚贆贇贉趬趪趭趫蹭蹸蹳蹪蹯蹻軂轒轑轏轐轓辴酀鄿醰醭鏞鏇鏏鏂鏚鏐鏹鏬鏌鏙鎩鏦鏊鏔鏮鏣鏕鏄鏎鏀鏒鏧镽闚闛雡霩霫霬霨霦"],["f3a1","鞳鞷鞶韝韞韟顜顙顝顗颿颽颻颾饈饇饃馦馧騚騕騥騝騤騛騢騠騧騣騞騜騔髂鬋鬊鬎鬌鬷鯪鯫鯠鯞鯤鯦鯢鯰鯔鯗鯬鯜鯙鯥鯕鯡鯚鵷鶁鶊鶄鶈鵱鶀鵸鶆鶋鶌鵽鵫鵴鵵鵰鵩鶅鵳鵻鶂鵯鵹鵿鶇鵨麔麑黀黼鼭齀齁齍齖齗齘匷嚲"],["f440","嚵嚳壣孅巆巇廮廯忀忁懹攗攖攕攓旟曨曣曤櫳櫰櫪櫨櫹櫱櫮櫯瀼瀵瀯瀷瀴瀱灂瀸瀿瀺瀹灀瀻瀳灁爓爔犨獽獼璺皫皪皾盭矌矎矏矍矲礥礣礧礨礤礩"],["f4a1","禲穮穬穭竷籉籈籊籇籅糮繻繾纁纀羺翿聹臛臙舋艨艩蘢藿蘁藾蘛蘀藶蘄蘉蘅蘌藽蠙蠐蠑蠗蠓蠖襣襦覹觷譠譪譝譨譣譥譧譭趮躆躈躄轙轖轗轕轘轚邍酃酁醷醵醲醳鐋鐓鏻鐠鐏鐔鏾鐕鐐鐨鐙鐍鏵鐀鏷鐇鐎鐖鐒鏺鐉鏸鐊鏿"],["f540","鏼鐌鏶鐑鐆闞闠闟霮霯鞹鞻韽韾顠顢顣顟飁飂饐饎饙饌饋饓騲騴騱騬騪騶騩騮騸騭髇髊髆鬐鬒鬑鰋鰈鯷鰅鰒鯸鱀鰇鰎鰆鰗鰔鰉鶟鶙鶤鶝鶒鶘鶐鶛"],["f5a1","鶠鶔鶜鶪鶗鶡鶚鶢鶨鶞鶣鶿鶩鶖鶦鶧麙麛麚黥黤黧黦鼰鼮齛齠齞齝齙龑儺儹劘劗囃嚽嚾孈孇巋巏廱懽攛欂櫼欃櫸欀灃灄灊灈灉灅灆爝爚爙獾甗癪矐礭礱礯籔籓糲纊纇纈纋纆纍罍羻耰臝蘘蘪蘦蘟蘣蘜蘙蘧蘮蘡蘠蘩蘞蘥"],["f640","蠩蠝蠛蠠蠤蠜蠫衊襭襩襮襫觺譹譸譅譺譻贐贔趯躎躌轞轛轝酆酄酅醹鐿鐻鐶鐩鐽鐼鐰鐹鐪鐷鐬鑀鐱闥闤闣霵霺鞿韡顤飉飆飀饘饖騹騽驆驄驂驁騺"],["f6a1","騿髍鬕鬗鬘鬖鬺魒鰫鰝鰜鰬鰣鰨鰩鰤鰡鶷鶶鶼鷁鷇鷊鷏鶾鷅鷃鶻鶵鷎鶹鶺鶬鷈鶱鶭鷌鶳鷍鶲鹺麜黫黮黭鼛鼘鼚鼱齎齥齤龒亹囆囅囋奱孋孌巕巑廲攡攠攦攢欋欈欉氍灕灖灗灒爞爟犩獿瓘瓕瓙瓗癭皭礵禴穰穱籗籜籙籛籚"],["f740","糴糱纑罏羇臞艫蘴蘵蘳蘬蘲蘶蠬蠨蠦蠪蠥襱覿覾觻譾讄讂讆讅譿贕躕躔躚躒躐躖躗轠轢酇鑌鑐鑊鑋鑏鑇鑅鑈鑉鑆霿韣顪顩飋饔饛驎驓驔驌驏驈驊"],["f7a1","驉驒驐髐鬙鬫鬻魖魕鱆鱈鰿鱄鰹鰳鱁鰼鰷鰴鰲鰽鰶鷛鷒鷞鷚鷋鷐鷜鷑鷟鷩鷙鷘鷖鷵鷕鷝麶黰鼵鼳鼲齂齫龕龢儽劙壨壧奲孍巘蠯彏戁戃戄攩攥斖曫欑欒欏毊灛灚爢玂玁玃癰矔籧籦纕艬蘺虀蘹蘼蘱蘻蘾蠰蠲蠮蠳襶襴襳觾"],["f840","讌讎讋讈豅贙躘轤轣醼鑢鑕鑝鑗鑞韄韅頀驖驙鬞鬟鬠鱒鱘鱐鱊鱍鱋鱕鱙鱌鱎鷻鷷鷯鷣鷫鷸鷤鷶鷡鷮鷦鷲鷰鷢鷬鷴鷳鷨鷭黂黐黲黳鼆鼜鼸鼷鼶齃齏"],["f8a1","齱齰齮齯囓囍孎屭攭曭曮欓灟灡灝灠爣瓛瓥矕礸禷禶籪纗羉艭虃蠸蠷蠵衋讔讕躞躟躠躝醾醽釂鑫鑨鑩雥靆靃靇韇韥驞髕魙鱣鱧鱦鱢鱞鱠鸂鷾鸇鸃鸆鸅鸀鸁鸉鷿鷽鸄麠鼞齆齴齵齶囔攮斸欘欙欗欚灢爦犪矘矙礹籩籫糶纚"],["f940","纘纛纙臠臡虆虇虈襹襺襼襻觿讘讙躥躤躣鑮鑭鑯鑱鑳靉顲饟鱨鱮鱭鸋鸍鸐鸏鸒鸑麡黵鼉齇齸齻齺齹圞灦籯蠼趲躦釃鑴鑸鑶鑵驠鱴鱳鱱鱵鸔鸓黶鼊"],["f9a1","龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓"]],s_=[["8740","䏰䰲䘃䖦䕸𧉧䵷䖳𧲱䳢𧳅㮕䜶䝄䱇䱀𤊿𣘗𧍒𦺋𧃒䱗𪍑䝏䗚䲅𧱬䴇䪤䚡𦬣爥𥩔𡩣𣸆𣽡晍囻"],["8767","綕夝𨮹㷴霴𧯯寛𡵞媤㘥𩺰嫑宷峼杮薓𩥅瑡璝㡵𡵓𣚞𦀡㻬"],["87a1","𥣞㫵竼龗𤅡𨤍𣇪𠪊𣉞䌊蒄龖鐯䤰蘓墖靊鈘秐稲晠権袝瑌篅枂稬剏遆㓦珄𥶹瓆鿇垳䤯呌䄱𣚎堘穲𧭥讏䚮𦺈䆁𥶙箮𢒼鿈𢓁𢓉𢓌鿉蔄𣖻䂴鿊䓡𪷿拁灮鿋"],["8840","㇀",4,"𠄌㇅𠃑𠃍㇆㇇𠃋𡿨㇈𠃊㇉㇊㇋㇌𠄎㇍㇎ĀÁǍÀĒÉĚÈŌÓǑÒ࿿Ê̄Ế࿿Ê̌ỀÊāáǎàɑēéěèīíǐìōóǒòūúǔùǖǘǚ"],["88a1","ǜü࿿ê̄ế࿿ê̌ềêɡ⏚⏛"],["8940","𪎩𡅅"],["8943","攊"],["8946","丽滝鵎釟"],["894c","𧜵撑会伨侨兖兴农凤务动医华发变团声处备夲头学实実岚庆总斉柾栄桥济炼电纤纬纺织经统缆缷艺苏药视设询车轧轮"],["89a1","琑糼緍楆竉刧"],["89ab","醌碸酞肼"],["89b0","贋胶𠧧"],["89b5","肟黇䳍鷉鸌䰾𩷶𧀎鸊𪄳㗁"],["89c1","溚舾甙"],["89c5","䤑马骏龙禇𨑬𡷊𠗐𢫦两亁亀亇亿仫伷㑌侽㹈倃傈㑽㒓㒥円夅凛凼刅争剹劐匧㗇厩㕑厰㕓参吣㕭㕲㚁咓咣咴咹哐哯唘唣唨㖘唿㖥㖿嗗㗅"],["8a40","𧶄唥"],["8a43","𠱂𠴕𥄫喐𢳆㧬𠍁蹆𤶸𩓥䁓𨂾睺𢰸㨴䟕𨅝𦧲𤷪擝𠵼𠾴𠳕𡃴撍蹾𠺖𠰋𠽤𢲩𨉖𤓓"],["8a64","𠵆𩩍𨃩䟴𤺧𢳂骲㩧𩗴㿭㔆𥋇𩟔𧣈𢵄鵮頕"],["8a76","䏙𦂥撴哣𢵌𢯊𡁷㧻𡁯"],["8aa1","𦛚𦜖𧦠擪𥁒𠱃蹨𢆡𨭌𠜱"],["8aac","䠋𠆩㿺塳𢶍"],["8ab2","𤗈𠓼𦂗𠽌𠶖啹䂻䎺"],["8abb","䪴𢩦𡂝膪飵𠶜捹㧾𢝵跀嚡摼㹃"],["8ac9","𪘁𠸉𢫏𢳉"],["8ace","𡃈𣧂㦒㨆𨊛㕸𥹉𢃇噒𠼱𢲲𩜠㒼氽𤸻"],["8adf","𧕴𢺋𢈈𪙛𨳍𠹺𠰴𦠜羓𡃏𢠃𢤹㗻𥇣𠺌𠾍𠺪㾓𠼰𠵇𡅏𠹌"],["8af6","𠺫𠮩𠵈𡃀𡄽㿹𢚖搲𠾭"],["8b40","𣏴𧘹𢯎𠵾𠵿𢱑𢱕㨘𠺘𡃇𠼮𪘲𦭐𨳒𨶙𨳊閪哌苄喹"],["8b55","𩻃鰦骶𧝞𢷮煀腭胬尜𦕲脴㞗卟𨂽醶𠻺𠸏𠹷𠻻㗝𤷫㘉𠳖嚯𢞵𡃉𠸐𠹸𡁸𡅈𨈇𡑕𠹹𤹐𢶤婔𡀝𡀞𡃵𡃶垜𠸑"],["8ba1","𧚔𨋍𠾵𠹻𥅾㜃𠾶𡆀𥋘𪊽𤧚𡠺𤅷𨉼墙剨㘚𥜽箲孨䠀䬬鼧䧧鰟鮍𥭴𣄽嗻㗲嚉丨夂𡯁屮靑𠂆乛亻㔾尣彑忄㣺扌攵歺氵氺灬爫丬犭𤣩罒礻糹罓𦉪㓁"],["8bde","𦍋耂肀𦘒𦥑卝衤见𧢲讠贝钅镸长门𨸏韦页风飞饣𩠐鱼鸟黄歯龜丷𠂇阝户钢"],["8c40","倻淾𩱳龦㷉袏𤅎灷峵䬠𥇍㕙𥴰愢𨨲辧釶熑朙玺𣊁𪄇㲋𡦀䬐磤琂冮𨜏䀉橣𪊺䈣蘏𠩯稪𩥇𨫪靕灍匤𢁾鏴盙𨧣龧矝亣俰傼丯众龨吴綋墒壐𡶶庒庙忂𢜒斋"],["8ca1","𣏹椙橃𣱣泿"],["8ca7","爀𤔅玌㻛𤨓嬕璹讃𥲤𥚕窓篬糃繬苸薗龩袐龪躹龫迏蕟駠鈡龬𨶹𡐿䁱䊢娚"],["8cc9","顨杫䉶圽"],["8cce","藖𤥻芿𧄍䲁𦵴嵻𦬕𦾾龭龮宖龯曧繛湗秊㶈䓃𣉖𢞖䎚䔶"],["8ce6","峕𣬚諹屸㴒𣕑嵸龲煗䕘𤃬𡸣䱷㥸㑊𠆤𦱁諌侴𠈹妿腬顖𩣺弻"],["8d40","𠮟"],["8d42","𢇁𨥭䄂䚻𩁹㼇龳𪆵䃸㟖䛷𦱆䅼𨚲𧏿䕭㣔𥒚䕡䔛䶉䱻䵶䗪㿈𤬏㙡䓞䒽䇭崾嵈嵖㷼㠏嶤嶹㠠㠸幂庽弥徃㤈㤔㤿㥍惗愽峥㦉憷憹懏㦸戬抐拥挘㧸嚱"],["8da1","㨃揢揻搇摚㩋擀崕嘡龟㪗斆㪽旿晓㫲暒㬢朖㭂枤栀㭘桊梄㭲㭱㭻椉楃牜楤榟榅㮼槖㯝橥橴橱檂㯬檙㯲檫檵櫔櫶殁毁毪汵沪㳋洂洆洦涁㳯涤涱渕渘温溆𨧀溻滢滚齿滨滩漤漴㵆𣽁澁澾㵪㵵熷岙㶊瀬㶑灐灔灯灿炉𠌥䏁㗱𠻘"],["8e40","𣻗垾𦻓焾𥟠㙎榢𨯩孴穉𥣡𩓙穥穽𥦬窻窰竂竃燑𦒍䇊竚竝竪䇯咲𥰁笋筕笩𥌎𥳾箢筯莜𥮴𦱿篐萡箒箸𥴠㶭𥱥蒒篺簆簵𥳁籄粃𤢂粦晽𤕸糉糇糦籴糳糵糎"],["8ea1","繧䔝𦹄絝𦻖璍綉綫焵綳緒𤁗𦀩緤㴓緵𡟹緥𨍭縝𦄡𦅚繮纒䌫鑬縧罀罁罇礶𦋐駡羗𦍑羣𡙡𠁨䕜𣝦䔃𨌺翺𦒉者耈耝耨耯𪂇𦳃耻耼聡𢜔䦉𦘦𣷣𦛨朥肧𨩈脇脚墰𢛶汿𦒘𤾸擧𡒊舘𡡞橓𤩥𤪕䑺舩𠬍𦩒𣵾俹𡓽蓢荢𦬊𤦧𣔰𡝳𣷸芪椛芳䇛"],["8f40","蕋苐茚𠸖𡞴㛁𣅽𣕚艻苢茘𣺋𦶣𦬅𦮗𣗎㶿茝嗬莅䔋𦶥莬菁菓㑾𦻔橗蕚㒖𦹂𢻯葘𥯤葱㷓䓤檧葊𣲵祘蒨𦮖𦹷𦹃蓞萏莑䒠蒓蓤𥲑䉀𥳀䕃蔴嫲𦺙䔧蕳䔖枿蘖"],["8fa1","𨘥𨘻藁𧂈蘂𡖂𧃍䕫䕪蘨㙈𡢢号𧎚虾蝱𪃸蟮𢰧螱蟚蠏噡虬桖䘏衅衆𧗠𣶹𧗤衞袜䙛袴袵揁装睷𧜏覇覊覦覩覧覼𨨥觧𧤤𧪽誜瞓釾誐𧩙竩𧬺𣾏䜓𧬸煼謌謟𥐰𥕥謿譌譍誩𤩺讐讛誯𡛟䘕衏貛𧵔𧶏貫㜥𧵓賖𧶘𧶽贒贃𡤐賛灜贑𤳉㻐起"],["9040","趩𨀂𡀔𤦊㭼𨆼𧄌竧躭躶軃鋔輙輭𨍥𨐒辥錃𪊟𠩐辳䤪𨧞𨔽𣶻廸𣉢迹𪀔𨚼𨔁𢌥㦀𦻗逷𨔼𧪾遡𨕬𨘋邨𨜓郄𨛦邮都酧㫰醩釄粬𨤳𡺉鈎沟鉁鉢𥖹銹𨫆𣲛𨬌𥗛"],["90a1","𠴱錬鍫𨫡𨯫炏嫃𨫢𨫥䥥鉄𨯬𨰹𨯿鍳鑛躼閅閦鐦閠濶䊹𢙺𨛘𡉼𣸮䧟氜陻隖䅬隣𦻕懚隶磵𨫠隽双䦡𦲸𠉴𦐐𩂯𩃥𤫑𡤕𣌊霱虂霶䨏䔽䖅𤫩灵孁霛靜𩇕靗孊𩇫靟鐥僐𣂷𣂼鞉鞟鞱鞾韀韒韠𥑬韮琜𩐳響韵𩐝𧥺䫑頴頳顋顦㬎𧅵㵑𠘰𤅜"],["9140","𥜆飊颷飈飇䫿𦴧𡛓喰飡飦飬鍸餹𤨩䭲𩡗𩤅駵騌騻騐驘𥜥㛄𩂱𩯕髠髢𩬅髴䰎鬔鬭𨘀倴鬴𦦨㣃𣁽魐魀𩴾婅𡡣鮎𤉋鰂鯿鰌𩹨鷔𩾷𪆒𪆫𪃡𪄣𪇟鵾鶃𪄴鸎梈"],["91a1","鷄𢅛𪆓𪈠𡤻𪈳鴹𪂹𪊴麐麕麞麢䴴麪麯𤍤黁㭠㧥㴝伲㞾𨰫鼂鼈䮖鐤𦶢鼗鼖鼹嚟嚊齅馸𩂋韲葿齢齩竜龎爖䮾𤥵𤦻煷𤧸𤍈𤩑玞𨯚𡣺禟𨥾𨸶鍩鏳𨩄鋬鎁鏋𨥬𤒹爗㻫睲穃烐𤑳𤏸煾𡟯炣𡢾𣖙㻇𡢅𥐯𡟸㜢𡛻𡠹㛡𡝴𡣑𥽋㜣𡛀坛𤨥𡏾𡊨"],["9240","𡏆𡒶蔃𣚦蔃葕𤦔𧅥𣸱𥕜𣻻𧁒䓴𣛮𩦝𦼦柹㜳㰕㷧塬𡤢栐䁗𣜿𤃡𤂋𤄏𦰡哋嚞𦚱嚒𠿟𠮨𠸍鏆𨬓鎜仸儫㠙𤐶亼𠑥𠍿佋侊𥙑婨𠆫𠏋㦙𠌊𠐔㐵伩𠋀𨺳𠉵諚𠈌亘"],["92a1","働儍侢伃𤨎𣺊佂倮偬傁俌俥偘僼兙兛兝兞湶𣖕𣸹𣺿浲𡢄𣺉冨凃𠗠䓝𠒣𠒒𠒑赺𨪜𠜎剙劤𠡳勡鍮䙺熌𤎌𠰠𤦬𡃤槑𠸝瑹㻞璙琔瑖玘䮎𤪼𤂍叐㖄爏𤃉喴𠍅响𠯆圝鉝雴鍦埝垍坿㘾壋媙𨩆𡛺𡝯𡜐娬妸銏婾嫏娒𥥆𡧳𡡡𤊕㛵洅瑃娡𥺃"],["9340","媁𨯗𠐓鏠璌𡌃焅䥲鐈𨧻鎽㞠尞岞幞幈𡦖𡥼𣫮廍孏𡤃𡤄㜁𡢠㛝𡛾㛓脪𨩇𡶺𣑲𨦨弌弎𡤧𡞫婫𡜻孄蘔𧗽衠恾𢡠𢘫忛㺸𢖯𢖾𩂈𦽳懀𠀾𠁆𢘛憙憘恵𢲛𢴇𤛔𩅍"],["93a1","摱𤙥𢭪㨩𢬢𣑐𩣪𢹸挷𪑛撶挱揑𤧣𢵧护𢲡搻敫楲㯴𣂎𣊭𤦉𣊫唍𣋠𡣙𩐿曎𣊉𣆳㫠䆐𥖄𨬢𥖏𡛼𥕛𥐥磮𣄃𡠪𣈴㑤𣈏𣆂𤋉暎𦴤晫䮓昰𧡰𡷫晣𣋒𣋡昞𥡲㣑𣠺𣞼㮙𣞢𣏾瓐㮖枏𤘪梶栞㯄檾㡣𣟕𤒇樳橒櫉欅𡤒攑梘橌㯗橺歗𣿀𣲚鎠鋲𨯪𨫋"],["9440","銉𨀞𨧜鑧涥漋𤧬浧𣽿㶏渄𤀼娽渊塇洤硂焻𤌚𤉶烱牐犇犔𤞏𤜥兹𤪤𠗫瑺𣻸𣙟𤩊𤤗𥿡㼆㺱𤫟𨰣𣼵悧㻳瓌琼鎇琷䒟𦷪䕑疃㽣𤳙𤴆㽘畕癳𪗆㬙瑨𨫌𤦫𤦎㫻"],["94a1","㷍𤩎㻿𤧅𤣳釺圲鍂𨫣𡡤僟𥈡𥇧睸𣈲眎眏睻𤚗𣞁㩞𤣰琸璛㺿𤪺𤫇䃈𤪖𦆮錇𥖁砞碍碈磒珐祙𧝁𥛣䄎禛蒖禥樭𣻺稺秴䅮𡛦䄲鈵秱𠵌𤦌𠊙𣶺𡝮㖗啫㕰㚪𠇔𠰍竢婙𢛵𥪯𥪜娍𠉛磰娪𥯆竾䇹籝籭䈑𥮳𥺼𥺦糍𤧹𡞰粎籼粮檲緜縇緓罎𦉡"],["9540","𦅜𧭈綗𥺂䉪𦭵𠤖柖𠁎𣗏埄𦐒𦏸𤥢翝笧𠠬𥫩𥵃笌𥸎駦虅驣樜𣐿㧢𤧷𦖭騟𦖠蒀𧄧𦳑䓪脷䐂胆脉腂𦞴飃𦩂艢艥𦩑葓𦶧蘐𧈛媆䅿𡡀嬫𡢡嫤𡣘蚠蜨𣶏蠭𧐢娂"],["95a1","衮佅袇袿裦襥襍𥚃襔𧞅𧞄𨯵𨯙𨮜𨧹㺭蒣䛵䛏㟲訽訜𩑈彍鈫𤊄旔焩烄𡡅鵭貟賩𧷜妚矃姰䍮㛔踪躧𤰉輰轊䋴汘澻𢌡䢛潹溋𡟚鯩㚵𤤯邻邗啱䤆醻鐄𨩋䁢𨫼鐧𨰝𨰻蓥訫閙閧閗閖𨴴瑅㻂𤣿𤩂𤏪㻧𣈥随𨻧𨹦𨹥㻌𤧭𤩸𣿮琒瑫㻼靁𩂰"],["9640","桇䨝𩂓𥟟靝鍨𨦉𨰦𨬯𦎾銺嬑譩䤼珹𤈛鞛靱餸𠼦巁𨯅𤪲頟𩓚鋶𩗗釥䓀𨭐𤩧𨭤飜𨩅㼀鈪䤥萔餻饍𧬆㷽馛䭯馪驜𨭥𥣈檏騡嫾騯𩣱䮐𩥈馼䮽䮗鍽塲𡌂堢𤦸"],["96a1","𡓨硄𢜟𣶸棅㵽鑘㤧慐𢞁𢥫愇鱏鱓鱻鰵鰐魿鯏𩸭鮟𪇵𪃾鴡䲮𤄄鸘䲰鴌𪆴𪃭𪃳𩤯鶥蒽𦸒𦿟𦮂藼䔳𦶤𦺄𦷰萠藮𦸀𣟗𦁤秢𣖜𣙀䤭𤧞㵢鏛銾鍈𠊿碹鉷鑍俤㑀遤𥕝砽硔碶硋𡝗𣇉𤥁㚚佲濚濙瀞瀞吔𤆵垻壳垊鴖埗焴㒯𤆬燫𦱀𤾗嬨𡞵𨩉"],["9740","愌嫎娋䊼𤒈㜬䭻𨧼鎻鎸𡣖𠼝葲𦳀𡐓𤋺𢰦𤏁妔𣶷𦝁綨𦅛𦂤𤦹𤦋𨧺鋥珢㻩璴𨭣𡢟㻡𤪳櫘珳珻㻖𤨾𤪔𡟙𤩦𠎧𡐤𤧥瑈𤤖炥𤥶銄珦鍟𠓾錱𨫎𨨖鎆𨯧𥗕䤵𨪂煫"],["97a1","𤥃𠳿嚤𠘚𠯫𠲸唂秄𡟺緾𡛂𤩐𡡒䔮鐁㜊𨫀𤦭妰𡢿𡢃𧒄媡㛢𣵛㚰鉟婹𨪁𡡢鍴㳍𠪴䪖㦊僴㵩㵌𡎜煵䋻𨈘渏𩃤䓫浗𧹏灧沯㳖𣿭𣸭渂漌㵯𠏵畑㚼㓈䚀㻚䡱姄鉮䤾轁𨰜𦯀堒埈㛖𡑒烾𤍢𤩱𢿣𡊰𢎽梹楧𡎘𣓥𧯴𣛟𨪃𣟖𣏺𤲟樚𣚭𦲷萾䓟䓎"],["9840","𦴦𦵑𦲂𦿞漗𧄉茽𡜺菭𦲀𧁓𡟛妉媂𡞳婡婱𡤅𤇼㜭姯𡜼㛇熎鎐暚𤊥婮娫𤊓樫𣻹𧜶𤑛𤋊焝𤉙𨧡侰𦴨峂𤓎𧹍𤎽樌𤉖𡌄炦焳𤏩㶥泟勇𤩏繥姫崯㷳彜𤩝𡟟綤萦"],["98a1","咅𣫺𣌀𠈔坾𠣕𠘙㿥𡾞𪊶瀃𩅛嵰玏糓𨩙𩐠俈翧狍猐𧫴猸猹𥛶獁獈㺩𧬘遬燵𤣲珡臶㻊県㻑沢国琙琞琟㻢㻰㻴㻺瓓㼎㽓畂畭畲疍㽼痈痜㿀癍㿗癴㿜発𤽜熈嘣覀塩䀝睃䀹条䁅㗛瞘䁪䁯属瞾矋売砘点砜䂨砹硇硑硦葈𥔵礳栃礲䄃"],["9940","䄉禑禙辻稆込䅧窑䆲窼艹䇄竏竛䇏両筢筬筻簒簛䉠䉺类粜䊌粸䊔糭输烀𠳏総緔緐緽羮羴犟䎗耠耥笹耮耱联㷌垴炠肷胩䏭脌猪脎脒畠脔䐁㬹腖腙腚"],["99a1","䐓堺腼膄䐥膓䐭膥埯臁臤艔䒏芦艶苊苘苿䒰荗险榊萅烵葤惣蒈䔄蒾蓡蓸蔐蔸蕒䔻蕯蕰藠䕷虲蚒蚲蛯际螋䘆䘗袮裿褤襇覑𧥧訩訸誔誴豑賔賲贜䞘塟跃䟭仮踺嗘坔蹱嗵躰䠷軎転軤軭軲辷迁迊迌逳駄䢭飠鈓䤞鈨鉘鉫銱銮銿"],["9a40","鋣鋫鋳鋴鋽鍃鎄鎭䥅䥑麿鐗匁鐝鐭鐾䥪鑔鑹锭関䦧间阳䧥枠䨤靀䨵鞲韂噔䫤惨颹䬙飱塄餎餙冴餜餷饂饝饢䭰駅䮝騼鬏窃魩鮁鯝鯱鯴䱭鰠㝯𡯂鵉鰺"],["9aa1","黾噐鶓鶽鷀鷼银辶鹻麬麱麽黆铜黢黱黸竈齄𠂔𠊷𠎠椚铃妬𠓗塀铁㞹𠗕𠘕𠙶𡚺块煳𠫂𠫍𠮿呪吆𠯋咞𠯻𠰻𠱓𠱥𠱼惧𠲍噺𠲵𠳝𠳭𠵯𠶲𠷈楕鰯螥𠸄𠸎𠻗𠾐𠼭𠹳尠𠾼帋𡁜𡁏𡁶朞𡁻𡂈𡂖㙇𡂿𡃓𡄯𡄻卤蒭𡋣𡍵𡌶讁𡕷𡘙𡟃𡟇乸炻𡠭𡥪"],["9b40","𡨭𡩅𡰪𡱰𡲬𡻈拃𡻕𡼕熘桕𢁅槩㛈𢉼𢏗𢏺𢜪𢡱𢥏苽𢥧𢦓𢫕覥𢫨辠𢬎鞸𢬿顇骽𢱌"],["9b62","𢲈𢲷𥯨𢴈𢴒𢶷𢶕𢹂𢽴𢿌𣀳𣁦𣌟𣏞徱晈暿𧩹𣕧𣗳爁𤦺矗𣘚𣜖纇𠍆墵朎"],["9ba1","椘𣪧𧙗𥿢𣸑𣺹𧗾𢂚䣐䪸𤄙𨪚𤋮𤌍𤀻𤌴𤎖𤩅𠗊凒𠘑妟𡺨㮾𣳿𤐄𤓖垈𤙴㦛𤜯𨗨𩧉㝢𢇃譞𨭎駖𤠒𤣻𤨕爉𤫀𠱸奥𤺥𤾆𠝹軚𥀬劏圿煱𥊙𥐙𣽊𤪧喼𥑆𥑮𦭒釔㑳𥔿𧘲𥕞䜘𥕢𥕦𥟇𤤿𥡝偦㓻𣏌惞𥤃䝼𨥈𥪮𥮉𥰆𡶐垡煑澶𦄂𧰒遖𦆲𤾚譢𦐂𦑊"],["9c40","嵛𦯷輶𦒄𡤜諪𤧶𦒈𣿯𦔒䯀𦖿𦚵𢜛鑥𥟡憕娧晉侻嚹𤔡𦛼乪𤤴陖涏𦲽㘘襷𦞙𦡮𦐑𦡞營𦣇筂𩃀𠨑𦤦鄄𦤹穅鷰𦧺騦𦨭㙟𦑩𠀡禃𦨴𦭛崬𣔙菏𦮝䛐𦲤画补𦶮墶"],["9ca1","㜜𢖍𧁋𧇍㱔𧊀𧊅銁𢅺𧊋錰𧋦𤧐氹钟𧑐𠻸蠧裵𢤦𨑳𡞱溸𤨪𡠠㦤㚹尐秣䔿暶𩲭𩢤襃𧟌𧡘囖䃟𡘊㦡𣜯𨃨𡏅熭荦𧧝𩆨婧䲷𧂯𨦫𧧽𧨊𧬋𧵦𤅺筃祾𨀉澵𪋟樃𨌘厢𦸇鎿栶靝𨅯𨀣𦦵𡏭𣈯𨁈嶅𨰰𨂃圕頣𨥉嶫𤦈斾槕叒𤪥𣾁㰑朶𨂐𨃴𨄮𡾡𨅏"],["9d40","𨆉𨆯𨈚𨌆𨌯𨎊㗊𨑨𨚪䣺揦𨥖砈鉕𨦸䏲𨧧䏟𨧨𨭆𨯔姸𨰉輋𨿅𩃬筑𩄐𩄼㷷𩅞𤫊运犏嚋𩓧𩗩𩖰𩖸𩜲𩣑𩥉𩥪𩧃𩨨𩬎𩵚𩶛纟𩻸𩼣䲤镇𪊓熢𪋿䶑递𪗋䶜𠲜达嗁"],["9da1","辺𢒰边𤪓䔉繿潖檱仪㓤𨬬𧢝㜺躀𡟵𨀤𨭬𨮙𧨾𦚯㷫𧙕𣲷𥘵𥥖亚𥺁𦉘嚿𠹭踎孭𣺈𤲞揞拐𡟶𡡻攰嘭𥱊吚𥌑㷆𩶘䱽嘢嘞罉𥻘奵𣵀蝰东𠿪𠵉𣚺脗鵞贘瘻鱅癎瞹鍅吲腈苷嘥脲萘肽嗪祢噃吖𠺝㗎嘅嗱曱𨋢㘭甴嗰喺咗啲𠱁𠲖廐𥅈𠹶𢱢"],["9e40","𠺢麫絚嗞𡁵抝靭咔賍燶酶揼掹揾啩𢭃鱲𢺳冚㓟𠶧冧呍唞唓癦踭𦢊疱肶蠄螆裇膶萜𡃁䓬猄𤜆宐茋𦢓噻𢛴𧴯𤆣𧵳𦻐𧊶酰𡇙鈈𣳼𪚩𠺬𠻹牦𡲢䝎𤿂𧿹𠿫䃺"],["9ea1","鱝攟𢶠䣳𤟠𩵼𠿬𠸊恢𧖣𠿭"],["9ead","𦁈𡆇熣纎鵐业丄㕷嬍沲卧㚬㧜卽㚥𤘘墚𤭮舭呋垪𥪕𠥹"],["9ec5","㩒𢑥獴𩺬䴉鯭𣳾𩼰䱛𤾩𩖞𩿞葜𣶶𧊲𦞳𣜠挮紥𣻷𣸬㨪逈勌㹴㙺䗩𠒎癀嫰𠺶硺𧼮墧䂿噼鮋嵴癔𪐴麅䳡痹㟻愙𣃚𤏲"],["9ef5","噝𡊩垧𤥣𩸆刴𧂮㖭汊鵼"],["9f40","籖鬹埞𡝬屓擓𩓐𦌵𧅤蚭𠴨𦴢𤫢𠵱"],["9f4f","凾𡼏嶎霃𡷑麁遌笟鬂峑箣扨挵髿篏鬪籾鬮籂粆鰕篼鬉鼗鰛𤤾齚啳寃俽麘俲剠㸆勑坧偖妷帒韈鶫轜呩鞴饀鞺匬愰"],["9fa1","椬叚鰊鴂䰻陁榀傦畆𡝭駚剳"],["9fae","酙隁酜"],["9fb2","酑𨺗捿𦴣櫊嘑醎畺抅𠏼獏籰𥰡𣳽"],["9fc1","𤤙盖鮝个𠳔莾衂"],["9fc9","届槀僭坺刟巵从氱𠇲伹咜哚劚趂㗾弌㗳"],["9fdb","歒酼龥鮗頮颴骺麨麄煺笔"],["9fe7","毺蠘罸"],["9feb","嘠𪙊蹷齓"],["9ff0","跔蹏鸜踁抂𨍽踨蹵竓𤩷稾磘泪詧瘇"],["a040","𨩚鼦泎蟖痃𪊲硓咢贌狢獱謭猂瓱賫𤪻蘯徺袠䒷"],["a055","𡠻𦸅"],["a058","詾𢔛"],["a05b","惽癧髗鵄鍮鮏蟵"],["a063","蠏賷猬霡鮰㗖犲䰇籑饊𦅙慙䰄麖慽"],["a073","坟慯抦戹拎㩜懢厪𣏵捤栂㗒"],["a0a1","嵗𨯂迚𨸹"],["a0a6","僙𡵆礆匲阸𠼻䁥"],["a0ae","矾"],["a0b0","糂𥼚糚稭聦聣絍甅瓲覔舚朌聢𧒆聛瓰脃眤覉𦟌畓𦻑螩蟎臈螌詉貭譃眫瓸蓚㘵榲趦"],["a0d4","覩瑨涹蟁𤀑瓧㷛煶悤憜㳑煢恷"],["a0e2","罱𨬭牐惩䭾删㰘𣳇𥻗𧙖𥔱𡥄𡋾𩤃𦷜𧂭峁𦆭𨨏𣙷𠃮𦡆𤼎䕢嬟𦍌齐麦𦉫"],["a3c0","␀",31,"␡"],["c6a1","①",9,"⑴",9,"ⅰ",9,"丶丿亅亠冂冖冫勹匸卩厶夊宀巛⼳广廴彐彡攴无疒癶辵隶¨ˆヽヾゝゞ〃仝々〆〇ー[]✽ぁ",23],["c740","す",58,"ァアィイ"],["c7a1","ゥ",81,"А",5,"ЁЖ",4],["c840","Л",26,"ёж",25,"⇧↸↹㇏𠃌乚𠂊刂䒑"],["c8a1","龰冈龱𧘇"],["c8cd","¬¦'"㈱№℡゛゜⺀⺄⺆⺇⺈⺊⺌⺍⺕⺜⺝⺥⺧⺪⺬⺮⺶⺼⺾⻆⻊⻌⻍⻏⻖⻗⻞⻣"],["c8f5","ʃɐɛɔɵœøŋʊɪ"],["f9fe","■"],["fa40","𠕇鋛𠗟𣿅蕌䊵珯况㙉𤥂𨧤鍄𡧛苮𣳈砼杄拟𤤳𨦪𠊠𦮳𡌅侫𢓭倈𦴩𧪄𣘀𤪱𢔓倩𠍾徤𠎀𠍇滛𠐟偽儁㑺儎顬㝃萖𤦤𠒇兠𣎴兪𠯿𢃼𠋥𢔰𠖎𣈳𡦃宂蝽𠖳𣲙冲冸"],["faa1","鴴凉减凑㳜凓𤪦决凢卂凭菍椾𣜭彻刋刦刼劵剗劔効勅簕蕂勠蘍𦬓包𨫞啉滙𣾀𠥔𣿬匳卄𠯢泋𡜦栛珕恊㺪㣌𡛨燝䒢卭却𨚫卾卿𡖖𡘓矦厓𨪛厠厫厮玧𥝲㽙玜叁叅汉义埾叙㪫𠮏叠𣿫𢶣叶𠱷吓灹唫晗浛呭𦭓𠵴啝咏咤䞦𡜍𠻝㶴𠵍"],["fb40","𨦼𢚘啇䳭启琗喆喩嘅𡣗𤀺䕒𤐵暳𡂴嘷曍𣊊暤暭噍噏磱囱鞇叾圀囯园𨭦㘣𡉏坆𤆥汮炋坂㚱𦱾埦𡐖堃𡑔𤍣堦𤯵塜墪㕡壠壜𡈼壻寿坃𪅐𤉸鏓㖡够梦㛃湙"],["fba1","𡘾娤啓𡚒蔅姉𠵎𦲁𦴪𡟜姙𡟻𡞲𦶦浱𡠨𡛕姹𦹅媫婣㛦𤦩婷㜈媖瑥嫓𦾡𢕔㶅𡤑㜲𡚸広勐孶斈孼𧨎䀄䡝𠈄寕慠𡨴𥧌𠖥寳宝䴐尅𡭄尓珎尔𡲥𦬨屉䣝岅峩峯嶋𡷹𡸷崐崘嵆𡺤岺巗苼㠭𤤁𢁉𢅳芇㠶㯂帮檊幵幺𤒼𠳓厦亷廐厨𡝱帉廴𨒂"],["fc40","廹廻㢠廼栾鐛弍𠇁弢㫞䢮𡌺强𦢈𢏐彘𢑱彣鞽𦹮彲鍀𨨶徧嶶㵟𥉐𡽪𧃸𢙨釖𠊞𨨩怱暅𡡷㥣㷇㘹垐𢞴祱㹀悞悤悳𤦂𤦏𧩓璤僡媠慤萤慂慈𦻒憁凴𠙖憇宪𣾷"],["fca1","𢡟懓𨮝𩥝懐㤲𢦀𢣁怣慜攞掋𠄘担𡝰拕𢸍捬𤧟㨗搸揸𡎎𡟼撐澊𢸶頔𤂌𥜝擡擥鑻㩦携㩗敍漖𤨨𤨣斅敭敟𣁾斵𤥀䬷旑䃘𡠩无旣忟𣐀昘𣇷𣇸晄𣆤𣆥晋𠹵晧𥇦晳晴𡸽𣈱𨗴𣇈𥌓矅𢣷馤朂𤎜𤨡㬫槺𣟂杞杧杢𤇍𩃭柗䓩栢湐鈼栁𣏦𦶠桝"],["fd40","𣑯槡樋𨫟楳棃𣗍椁椀㴲㨁𣘼㮀枬楡𨩊䋼椶榘㮡𠏉荣傐槹𣙙𢄪橅𣜃檝㯳枱櫈𩆜㰍欝𠤣惞欵歴𢟍溵𣫛𠎵𡥘㝀吡𣭚毡𣻼毜氷𢒋𤣱𦭑汚舦汹𣶼䓅𣶽𤆤𤤌𤤀"],["fda1","𣳉㛥㳫𠴲鮃𣇹𢒑羏样𦴥𦶡𦷫涖浜湼漄𤥿𤂅𦹲蔳𦽴凇沜渝萮𨬡港𣸯瑓𣾂秌湏媑𣁋濸㜍澝𣸰滺𡒗𤀽䕕鏰潄潜㵎潴𩅰㴻澟𤅄濓𤂑𤅕𤀹𣿰𣾴𤄿凟𤅖𤅗𤅀𦇝灋灾炧炁烌烕烖烟䄄㷨熴熖𤉷焫煅媈煊煮岜𤍥煏鍢𤋁焬𤑚𤨧𤨢熺𨯨炽爎"],["fe40","鑂爕夑鑃爤鍁𥘅爮牀𤥴梽牕牗㹕𣁄栍漽犂猪猫𤠣𨠫䣭𨠄猨献珏玪𠰺𦨮珉瑉𤇢𡛧𤨤昣㛅𤦷𤦍𤧻珷琕椃𤨦琹𠗃㻗瑜𢢭瑠𨺲瑇珤瑶莹瑬㜰瑴鏱樬璂䥓𤪌"],["fea1","𤅟𤩹𨮏孆𨰃𡢞瓈𡦈甎瓩甞𨻙𡩋寗𨺬鎅畍畊畧畮𤾂㼄𤴓疎瑝疞疴瘂瘬癑癏癯癶𦏵皐臯㟸𦤑𦤎皡皥皷盌𦾟葢𥂝𥅽𡸜眞眦着撯𥈠睘𣊬瞯𨥤𨥨𡛁矴砉𡍶𤨒棊碯磇磓隥礮𥗠磗礴碱𧘌辸袄𨬫𦂃𢘜禆褀椂禀𥡗禝𧬹礼禩渪𧄦㺨秆𩄍秔"]];var kh,Hm;function o_(){return Hm||(Hm=1,kh={shiftjis:{type:"_dbcs",table:function(){return e_},encodeAdd:{"¥":92,"‾":126},encodeSkipVals:[{from:60736,to:63808}]},csshiftjis:"shiftjis",mskanji:"shiftjis",sjis:"shiftjis",windows31j:"shiftjis",ms31j:"shiftjis",xsjis:"shiftjis",windows932:"shiftjis",ms932:"shiftjis",932:"shiftjis",cp932:"shiftjis",eucjp:{type:"_dbcs",table:function(){return t_},encodeAdd:{"¥":92,"‾":126}},gb2312:"cp936",gb231280:"cp936",gb23121980:"cp936",csgb2312:"cp936",csiso58gb231280:"cp936",euccn:"cp936",windows936:"cp936",ms936:"cp936",936:"cp936",cp936:{type:"_dbcs",table:function(){return Dh}},gbk:{type:"_dbcs",table:function(){return Dh.concat(Wm)}},xgbk:"gbk",isoir58:"gbk",gb18030:{type:"_dbcs",table:function(){return Dh.concat(Wm)},gb18030:function(){return i_},encodeSkipVals:[128],encodeAdd:{"€":41699}},chinese:"gb18030",windows949:"cp949",ms949:"cp949",949:"cp949",cp949:{type:"_dbcs",table:function(){return a_}},cseuckr:"cp949",csksc56011987:"cp949",euckr:"cp949",isoir149:"cp949",korean:"cp949",ksc56011987:"cp949",ksc56011989:"cp949",ksc5601:"cp949",windows950:"cp950",ms950:"cp950",950:"cp950",cp950:{type:"_dbcs",table:function(){return zm}},big5:"big5hkscs",big5hkscs:{type:"_dbcs",table:function(){return zm.concat(s_)},encodeSkipVals:[36457,36463,36478,36523,36532,36557,36560,36695,36713,36718,36811,36862,36973,36986,37060,37084,37105,37311,37551,37552,37553,37554,37585,37959,38090,38361,38652,39285,39798,39800,39803,39878,39902,39916,39926,40002,40019,40034,40040,40043,40055,40124,40125,40144,40279,40282,40388,40431,40443,40617,40687,40701,40800,40907,41079,41180,41183,36812,37576,38468,38637,41636,41637,41639,41638,41676,41678]},cnbig5:"big5hkscs",csbig5:"big5hkscs",xxbig5:"big5hkscs"}),kh}var jm;function u_(){return jm||(jm=1,function(i){for(var e=[Yw(),Kw(),Xw(),qw(),Zw(),Jw(),$w(),Qw(),o_()],t=0;t0?e.concat([c,f]):c},n.decode=function(s,o,u){typeof s=="string"&&(n.skipDecodeWarning||(console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding"),n.skipDecodeWarning=!0),s=e.from(""+(s||""),"binary"));var l=n.getDecoder(o,u),c=l.write(s),f=l.end();return f?c+f:c},n.encodingExists=function(s){try{return n.getCodec(s),!0}catch{return!1}},n.toEncoding=n.encode,n.fromEncoding=n.decode,n._codecDataCache={},n.getCodec=function(s){n.encodings||(n.encodings=u_());for(var o=n._canonicalizeEncoding(s),u={};;){var l=n._codecDataCache[o];if(l)return l;var c=n.encodings[o];switch(qt(c)){case"string":o=c;break;case"object":for(var f in c)u[f]=c[f];u.encodingName||(u.encodingName=o),o=c.type;break;case"function":return u.encodingName||(u.encodingName=o),l=new c(u,n),n._codecDataCache[u.encodingName]=l,l;default:throw new Error("Encoding not recognized: '"+s+"' (searched as: '"+o+"')")}}},n._canonicalizeEncoding=function(a){return(""+a).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g,"")},n.getEncoder=function(s,o){var u=n.getCodec(s),l=new u.encoder(o,u);return u.bomAware&&o&&o.addBOM&&(l=new t.PrependBOM(l,o)),l},n.getDecoder=function(s,o){var u=n.getCodec(s),l=new u.decoder(o,u);return u.bomAware&&!(o&&o.stripBOM===!1)&&(l=new t.StripBOM(l,o)),l},n.enableStreamingAPI=function(s){if(!n.supportsStreams){var o=l_()(s);n.IconvLiteEncoderStream=o.IconvLiteEncoderStream,n.IconvLiteDecoderStream=o.IconvLiteDecoderStream,n.encodeStream=function(l,c){return new n.IconvLiteEncoderStream(n.getEncoder(l,c),c)},n.decodeStream=function(l,c){return new n.IconvLiteDecoderStream(n.getDecoder(l,c),c)},n.supportsStreams=!0}};var r;try{r=h_}catch{}r&&r.Transform?n.enableStreamingAPI(r):n.encodeStream=n.decodeStream=function(){throw new Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it.")}})(bp);var wp={exports:{}};(function(i,e){var t=As,n=t.Buffer;function r(s,o){for(var u in s)o[u]=s[u]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?i.exports=t:(r(t,e),e.Buffer=a);function a(s,o,u){return n(s,o,u)}r(n,a),a.from=function(s,o,u){if(typeof s=="number")throw new TypeError("Argument must not be a number");return n(s,o,u)},a.alloc=function(s,o,u){if(typeof s!="number")throw new TypeError("Argument must be a number");var l=n(s);return o!==void 0?typeof u=="string"?l.fill(o,u):l.fill(o):l.fill(0),l},a.allocUnsafe=function(s){if(typeof s!="number")throw new TypeError("Argument must be a number");return n(s)},a.allocUnsafeSlow=function(s){if(typeof s!="number")throw new TypeError("Argument must be a number");return t.SlowBuffer(s)}})(wp,wp.exports);var p_=function(){function i(){oe(this,i),ge(this,"isUseUtf8",!1)}return ue(i,[{key:"encodeToGb2312Imp",value:function(t){var n=bp.exports.encode(t,"gb2312"),r="";return n.forEach(function(a){r+="%"+a.toString(16)}),r}},{key:"decodeFromGb2312Imp",value:function(t){for(var n=[],r=t.length,a=0;a1&&arguments[1]!==void 0?arguments[1]:self.location.href;return Jf?"https://unpkg.com/mxcad@".concat(Tv,"/dist/wasm/2d-st/").concat(e):t+e},m_=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:self.location.href;return Jf?"https://unpkg.com/mxcad@".concat(Tv,"/dist/wasm/2d/").concat(e):t+e},g_=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:self.location.href;return Jf?"https://unpkg.com/mxcad@".concat(Tv,"/dist/wasm/3d/").concat(e):t+e},gy=function(e){return new Promise(function(t,n){var r=document.createElement("script");r.src=e,r.type="text/javascript",r.crossOrigin="anonymous",document.body.appendChild(r),r.onload=function(){t()},r.onerror=function(a){n(a)}})},y_=function(){var i=ut(me.mark(function e(t,n,r){var a,s;return me.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return a=r.locateFile,s=a(t+".js"),u.prev=2,u.next=5,gy(s);case 5:return u.next=7,globalThis[n](r);case 7:return u.abrupt("return",u.sent);case 10:u.prev=10,u.t0=u.catch(2),console.error(`加载wasm文件失败, 请检查locateFile返回的路径是否可以正常访问: createMxCad({ locateFile: (fileName)=> { // 该网络路径无法访问对应fileName的文件 retrun "`.concat(s,`" } }) `)),console.error(u.t0);case 14:case"end":return u.stop()}},e,null,[[2,10]])}));return function(t,n,r){return i.apply(this,arguments)}}(),Km=new FinalizationRegistry(function(i){ne.App.destroyObject(i)}),Xm={},Ko=function(){function i(e){oe(this,i),ge(this,"imp",0),this.imp=e,this.imp&&(this.imp.isNull()&&console.log("Mx:error null constructor object "),Km.register(this,e,Xm))}return ue(i,[{key:"constructor_MxCADResbuf",value:function(t){this.imp=t,this.imp&&Km.register(this,t,Xm)}},{key:"getImp",value:function(){return this.imp}},{key:"initTempObject",value:function(t){this.imp=t}},{key:"objectName",get:function(){return this.imp.getObjectName()}},{key:"dxf0",get:function(){return this.imp.getDxf0()}},{key:"getJson",value:function(){var t=this.imp.getJson();return ye.decodeFromGb2312(t)}},{key:"setJson",value:function(t){var n=ye.encodeToGb2312(t);return this.imp.setJson(n)}},{key:"isKindOf",value:function(t){return this.imp.isKindOf(t)}},{key:"isNull",value:function(){return this.imp.isNull()}}]),i}();function b_(i){var e=w_();return function(){var n=bn(i),r;if(e){var a=bn(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Fe(this,r)}}function w_(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var rt=function(i){return i[i.kMxCAD=0]="kMxCAD",i[i.kMxDraw=1]="kMxDraw",i[i.kInvalid=2]="kInvalid",i}(rt||{}),Oe=function(){function i(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;oe(this,i),ge(this,"id",void 0),ge(this,"type",void 0),this.id=e,e?t==2?this.type=0:this.type=t:this.type=2}return ue(i,[{key:"isValid",value:function(){return this.type!=2&&this.id!=0}},{key:"isNull",value:function(){return this.type==2||this.id==0}},{key:"isErase",value:function(){return this.isValid()&&this.type==0&&this.id!=0?ne.App.getImp().isObjectEraseSataus(this.id):!1}},{key:"erase",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.isValid()&&(this.type==1?Ve.getCurrentDraw().eraseMxEntity(this.id):this.type==0&&Tt.eraseObject(this.id,t))}},{key:"getMcDbObject",value:function(){return this.isValid()&&this.type==0?ne.App.objectIdToObject(this.id):null}},{key:"isKindOf",value:function(t){return this.isValid()&&this.type==0?ne.App.objectIdIsKindOf(this.id,t):!1}},{key:"getMcDbEntity",value:function(){return this.isValid()&&this.type==0&&ne.App.objectIdIsKindOf(this.id,"McDbEntity")?ne.App.objectIdToObject(this.id):null}},{key:"getMcDbCurve",value:function(){return this.isValid()&&this.type==0&&ne.App.objectIdIsKindOf(this.id,"McDbCurve")?ne.App.objectIdToObject(this.id):null}},{key:"getMcDbBlockTableRecord",value:function(){return this.isValid()&&this.type==0&&ne.App.objectIdIsKindOf(this.id,"McDbBlockTableRecord")?ne.App.objectIdToObject(this.id):null}},{key:"getMcDbLayerTableRecord",value:function(){return this.isValid()&&this.type==0&&ne.App.objectIdIsKindOf(this.id,"McDbLayerTableRecord")?ne.App.objectIdToObject(this.id):null}},{key:"getMcDbDimStyleTableRecord",value:function(){return this.isValid()&&this.type==0&&ne.App.objectIdIsKindOf(this.id,"McDbDimStyleTableRecord")?ne.App.objectIdToObject(this.id):null}},{key:"getMcDbLinetypeTableRecord",value:function(){return this.isValid()&&this.type==0&&ne.App.objectIdIsKindOf(this.id,"McDbLinetypeTableRecord")?ne.App.objectIdToObject(this.id):null}},{key:"getMcDbTextStyleTableRecord",value:function(){return this.isValid()&&this.type==0&&ne.App.objectIdIsKindOf(this.id,"McDbTextStyleTableRecord")?ne.App.objectIdToObject(this.id):null}},{key:"getMcDbDimension",value:function(){return this.isValid()&&this.type==0&&ne.App.objectIdIsKindOf(this.id,"McDbDimension")?ne.App.objectIdToObject(this.id):null}},{key:"getMcDbCustomEntity",value:function(){return this.isValid()&&this.type==0&&ne.App.objectIdIsKindOf(this.id,"McDbCustomEntity")?ne.App.objectIdToObject(this.id):null}},{key:"clone",value:function(){if(!this.isValid())return null;if(this.type==0){var t=ne.App.getImp();if(t.ObjectIdIsKindOf(this.id,"McDbCustomEntity")){var n=this.getMcDbCustomEntity();return n?n.clone():null}else{var r=t.ObjectIdToMdObject(this.id);if(!r)return null;var a=r.Clone();return ne.App.destroyObject(r),ne.App.createCloneObject(a)}}return null}},{key:"getObjectName",value:function(){if(this.type==0)return ne.App.getImp().ObjectIdToObjectName(this.id);if(this.type==1){var t=Ve.getCurrentDraw().getMxEntity(this.id);if(t)return t.getTypeName()}return""}},{key:"getMxDbEntity",value:function(){return this.isValid()&&this.type==1?Ve.getCurrentDraw().getMxEntity(this.id):null}},{key:"getMcDbRasterImageDef",value:function(){return this.isValid()&&this.type==0&&ne.App.objectIdIsKindOf(this.id,"McDbRasterImageDef")?ne.App.objectIdToObject(this.id):null}},{key:"getMcDbDictionary",value:function(){return this.isValid()&&this.type==0&&ne.App.objectIdIsKindOf(this.id,"McDbDictionary")?ne.App.objectIdToObject(this.id):null}},{key:"getMcDbXrecord",value:function(){return this.isValid()&&this.type==0&&ne.App.objectIdIsKindOf(this.id,"McDbXrecord")?ne.App.objectIdToObject(this.id):null}}]),i}(),Mn=function(i){de(t,i);var e=b_(t);function t(n){return oe(this,t),e.call(this,n)}return ue(t,[{key:"getObjectID",value:function(){return new Oe(this.imp.GetObjectID(),0)}},{key:"erase",value:function(){return this.imp.Erase()}},{key:"isErased",value:function(){return this.imp.isErased()}},{key:"unErase",value:function(){return this.imp.unErase()}},{key:"clone",value:function(){var r=this.imp.Clone();return ne.App.createCloneObject(r)}},{key:"getHandle",value:function(){return this.imp.GetHandle()}},{key:"getDatabase",value:function(){return new xs(this.imp.GetDatabase())}},{key:"getOwnerID",value:function(){return this.imp.GetOwnerID()}},{key:"getExtensionDictionary",value:function(){return new ds(this.imp.GetExtensionDictionary())}},{key:"isHaveExtensionDictionary",value:function(){return this.imp.IsHaveExtensionDictionary()}},{key:"createExtensionDictionary",value:function(){return this.imp.createExtensionDictionary()}},{key:"getDatabaseIndexId",value:function(){return this.imp.GetDatabaseIndexId()}},{key:"moveGripPointsAt",value:function(r,a,s,o){return this.imp.moveGripPointsAt(r,a,s,o)}},{key:"getGripPoints",value:function(){return new Pr(this.imp.getGripPoints())}},{key:"tempRelationObject",value:function(){return 0}},{key:"freeTempRelationObject",value:function(){}},{key:"assertObjectModification",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return this.imp.assertObjectModification(r)}}]),t}(Ko),gu=function(){function i(e){if(oe(this,i),ge(this,"aryVal",[]),e){for(var t=0,n=e.length();t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var Dv=function(){function i(){oe(this,i)}return ue(i,[{key:"doc2cad",value:function(t){return t}},{key:"cad2doc",value:function(t){return t}},{key:"doc2cad1",value:function(t){return new fe(t.x,t.y,t.z)}},{key:"doc2cad2",value:function(t,n,r){return new fe(t,n,r)}},{key:"cad2doc1",value:function(t){return new THREE.Vector3(t.x,t.y,t.z)}},{key:"cad2doc2",value:function(t,n,r){return new THREE.Vector3(t,n,r)}}]),i}(),Vt;Vt=new Dv;function Aa(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,e;return i?e=i.getImp():e=new ne.mxcadassemblyimp.McDrawResbuf,e}var ln=function(i){de(t,i);var e=sa(t);function t(n){var r;if(oe(this,t),n)if(n instanceof Array){r=e.call(this),r.initTempObject(new ne.mxcadassemblyimp.McDrawResbuf);for(var a=n.length,s=!1,o=0;o0&&r.setJson(JSON.stringify(u))}}else r=e.call(this),r.constructor_MxCADResbuf(n);else r=e.call(this),r.initTempObject(new ne.mxcadassemblyimp.McDrawResbuf);return Fe(r)}return ue(t,[{key:"Clear",value:function(){this.imp.Clear()}},{key:"forEach",value:function(r){for(var a=this.GetCount(),s=0;s=this.imp.GetCount())return{val:void 0,ret:!1};var a=this.imp.AtObject(r),s=ne.App.createCloneObject(a);return s===null?{val:void 0,ret:!1}:{val:s,ret:!0}}},{key:"AddObject",value:function(r){this.imp.AddObject(r.getImp())}},{key:"AtObjectId",value:function(r){return{val:new Oe(this.imp.AtObjectId(r),rt.kMxCAD),ret:ne.getCallResult()==0}}},{key:"AtString",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(a){var s=ye.decodeFromGb2312(this.imp.AtString(r));return{val:s,ret:ne.getCallResult()==0}}else return{val:this.imp.AtString(r),ret:ne.getCallResult()==0}}},{key:"AtPoint",value:function(r){return{val:new fe(this.imp.AtPoint(r)),ret:ne.getCallResult()==0}}},{key:"ItemDataType",value:function(r){return this.imp.ItemDataType(r)}},{key:"ItemDataDxf",value:function(r){return this.imp.ItemDataDxf(r)}},{key:"AddDouble",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-10;return this.imp.AddDouble(r,a)}},{key:"AddLong",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-10;return this.imp.Addlong(r,a)}},{key:"AddObjectId",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-10;return this.imp.AddObjectId(r,a)}},{key:"AddString",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-10,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return s?this.imp.AddString(ye.encodeToGb2312(r),a):this.imp.AddString(r,a)}},{key:"AddAppName",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return a?this.imp.AddAppName(ye.encodeToGb2312(r)):this.imp.AddAppName(r)}},{key:"AddMcDbEntityTypes",value:function(r){return this.imp.AddString(r,5020)}},{key:"AddPoint",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-10;return this.imp.AddPoint(r.imp,a)}},{key:"RemoveAll",value:function(){this.imp.RemoveAll()}},{key:"Remove",value:function(r){this.imp.Remove(r)}},{key:"PrintData",value:function(){this.imp.PrintData()}}]),t}(Ko),kv=function(){function i(){oe(this,i),ge(this,"imp",void 0)}return ue(i,[{key:"eraseObject",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return this.init(),this.imp.eraseObject(t,n)}},{key:"highlightEntity",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return this.init(),this.imp.highlightEntity(t,n)}},{key:"findEntAtPoint",value:function(t,n,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null;this.init();var o=this.imp.findEntAtPoint(t,n,r,a,Aa(s));return new Oe(o,rt.kMxCAD)}},{key:"selectEnt",value:function(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,s=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;return this.init(),new Promise(function(){var u=ut(me.mark(function l(c){var f,h,p,m,v;return me.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return f=new Yf,typeof s=="function"&&s(f),t&&f.setMessage(t),f.setCursorType(Kf.kRect),f.disableAllTrace(),f.setDynamicInputType(cr.kDynTip),d.next=8,f.go();case 8:if(h=d.sent,h){d.next=12;break}return c([]),d.abrupt("return");case 12:typeof o=="function"&&o(new fe().setFromVector3(h)),f.clearLastInputPoint(),a?gp.findEntAtPoint(h).then(function(y){var b=[];y.forEach(function(E){b.push(new Oe(E,rt.kMxDraw))});var _=Vt.doc2cad1(h),w=n.findEntAtPoint(_.x,_.y,_.z,-1,r);w.isValid()&&b.push(w),c(b)}):(p=[],m=Vt.doc2cad1(h),v=n.findEntAtPoint(m.x,m.y,m.z,-1,r),v.isValid()&&p.push(v),c(p));case 15:case"end":return d.stop()}},l)}));return function(l){return u.apply(this,arguments)}}())}},{key:"getCurrentSelectPoints",value:function(){var t=Ve.getCurrentDraw().getSelectPoints();return t.isvalid?{point1:new fe(t.point1),point2:new fe(t.point2),isvalid:!0}:{point1:new fe,point2:new fe,isvalid:!1}}},{key:"getCurrentSelect",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=[];if(r){var s=Ve.getCurrentDraw().getMxCurrentSelect();s.forEach(function(p){a.push(new Oe(p,rt.kMxDraw))})}if(n){var o=Ve.getCurrentDraw().getMxCADCurrentSelect();if(o.length<=0)return a;if(t){var u=new ua;o.forEach(function(p){u.append(p)});var l=new ne.mxcadassemblyimp.McDrawSelSet,c=l.getFilterEntity(u.imp,Aa(t));ne.App.destroyObject(l),o=[];for(var f=c.length(),h=0;h1&&l[1]!==void 0?l[1]:null,s=l.length>2?l[2]:void 0,o=this.getCurrentSelect(a),o.length!=0){f.next=9;break}return u=new wr,f.next=7,u.userSelect(r,a,function(h){s&&s(u,h)});case 7:if(!f.sent){f.next=9;break}u.forEach(function(h){o.push(h)});case 9:return f.abrupt("return",new Promise(function(h){h(o)}));case 10:case"end":return f.stop()}},n,this)}));function t(n){return e.apply(this,arguments)}return t}()},{key:"init",value:function(){this.imp||(this.imp=new ne.mxcadassemblyimp.McDrawUtility)}},{key:"getCorner",value:function(){var e=ut(me.mark(function n(r,a,s){var o,u,l,c,f,h,p,m,v=arguments;return me.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:o=v.length>3&&v[3]!==void 0?v[3]:!1,u=v.length>4&&v[4]!==void 0?v[4]:!1,l=v.length>5?v[5]:void 0,c=0,f=void 0;case 5:if(a){d.next=16;break}return h=new Yt,r&&h.setMessage(r),u&&h.disableAllTrace(!0),l&&l(h),h.setDynamicInputType(cr.kDynTip),d.next=14,h.go();case 14:a=d.sent,c=h.getDetailedResult();case 16:if(a){d.next=18;break}return d.abrupt("break",26);case 18:return p=Vt.cad2doc1(a),d.next=21,gp.getCorner(p,r,o,function(y){c=y.detailedResult},u);case 21:return m=d.sent,m&&(f=Vt.doc2cad1(m)),d.abrupt("break",26);case 26:return s&&s(c),d.abrupt("return",new Promise(function(y){c==yr.kEcsIn||c==yr.kNewCommadIn||c==yr.kUnknown?y(null):y(a&&f?{pt1:a,pt2:f}:null)}));case 28:case"end":return d.stop()}},n)}));function t(n,r,a){return e.apply(this,arguments)}return t}()},{key:"getMcDbEntitysBoundingBox",value:function(t){var n=void 0,r=void 0;if(t.forEach(function(a){var s=a.getMcDbEntity();if(s!=null){var o=s.getBoundingBox();o.ret&&(!n||!r?(n=new THREE.Vector3(o.minPt.x,o.minPt.y,0),r=new THREE.Vector3(o.maxPt.x,o.maxPt.y,0)):(n.x>o.minPt.x&&(n.x=o.minPt.x),n.y>o.minPt.y&&(n.y=o.minPt.y),r.x0&&arguments[0]!==void 0?arguments[0]:null;return this.imp.allSelect(Aa(r))}},{key:"pointSelect",value:function(r,a){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1;return this.imp.pointSelect(r,a,Aa(s),o)}},{key:"crossingSelect",value:function(r,a,s,o){var u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null;return this.imp.crossingSelect(r,a,s,o,Aa(u))}},{key:"count",value:function(){return this.imp.count()}},{key:"isNull",value:function(){return this.imp.count()==0}},{key:"item",value:function(r){return new Oe(this.imp.item(r),rt.kMxCAD)}},{key:"forEach",value:function(r){for(var a=this.imp.count(),s=0;s1&&g[1]!==void 0?g[1]:null,u=g.length>2?g[2]:void 0,this.selectPt1=new fe,this.selectPt2=new fe,l=new Yf,s&&l.setMessage(s),l.setCursorType(Kf.kRect),l.setDynamicInputType(cr.kDynTip),l.disableAllTrace(),c=0,u&&u(l),f=Aa(o);case 12:return l.setDynamicInputType(cr.kDynTip),y.next=16,l.go();case 16:if(h=y.sent,l.clearLastInputPoint(),c=l.getDetailedResult(),h){y.next=21;break}return y.abrupt("break",43);case 21:if(p=Vt.doc2cad1(h),this.imp.userPointSelect(p.x,p.y,f,this.isSelectHighlight)!=0){y.next=30;break}if(this.selectPt1.copy(p),this.selectPt2.copy(p),!this.isWhileSelect){y.next=29;break}return y.abrupt("continue",12);case 29:return y.abrupt("break",43);case 30:return y.next=32,gp.getCorner(h,s,!0,function(b){c=b.detailedResult});case 32:if(m=y.sent,m){y.next=35;break}return y.abrupt("break",43);case 35:if(v=Vt.doc2cad1(m),this.imp.userSelect(p.x,p.y,v.x,v.y,f,this.isSelectHighlight),this.selectPt1.copy(p),this.selectPt2.copy(v),this.isWhileSelect){y.next=41;break}return y.abrupt("break",43);case 41:y.next=12;break;case 43:if(this.isSelectHighlight&&this.imp.highlightEntity(!1),!(c==yr.kEcsIn||c==yr.kNewCommadIn||c==yr.kUnknown)){y.next=48;break}return y.abrupt("return",new Promise(function(b){b(!1)}));case 48:return y.abrupt("return",new Promise(function(b){b(!0)}));case 49:case"end":return y.stop()}},a,this)}));function r(a){return n.apply(this,arguments)}return r}()}]),t}(Ko),oa=function(){function i(e){oe(this,i),ge(this,"imp",void 0),ge(this,"mxobj",void 0),this.imp=e,this.mxobj=Ve.getCurrentDraw()}return ue(i,[{key:"doc2cad1",value:function(t){return new fe(t.x,t.y,t.z)}},{key:"doc2cad2",value:function(t,n,r){return new fe(t,n,r)}},{key:"cad2doc1",value:function(t){return new THREE.Vector3(t.x,t.y,t.z)}},{key:"cad2doc2",value:function(t,n,r){return new THREE.Vector3(t,n,r)}},{key:"keyWords",value:function(){return this.imp.keyWords()}},{key:"setKeyWords",value:function(t){this.imp.setKeyWords(t)}},{key:"clearLastInputPoint",value:function(){this.imp.clearLastInputPoint()}},{key:"setLastInputPoint",value:function(t){this.imp.setLastInputPoint(this.cad2doc1(t))}},{key:"message",value:function(){return this.imp.message()}},{key:"setMessage",value:function(t){this.imp.setMessage(t)}},{key:"keyWordPicked",value:function(){return this.imp.keyWordPicked()}},{key:"isKeyWordPicked",value:function(t){return this.imp.isKeyWordPicked(t)}},{key:"setUserDraw",value:function(t){var n=this;this.imp.setUserDraw(function(r,a){t(n.doc2cad1(r),a)})}},{key:"getDetailedResult",value:function(){return this.imp.getDetailedResult()}},{key:"getStatus",value:function(){return this.imp.getStatus()}},{key:"drawReserve",value:function(t){this.imp.drawReserve(t)}},{key:"setInputToucheType",value:function(t){this.imp.setInputToucheType(t)}},{key:"getInputToucheType",value:function(){return this.imp.getInputToucheType()}},{key:"setCursorType",value:function(t){this.imp.setCursorType(t)}},{key:"getCursorType",value:function(){return this.imp.getCursorType()}},{key:"setDynamicInputType",value:function(t){this.imp.setDynamicInputType(t)}},{key:"getDynamicInputType",value:function(){return this.imp.getDynamicInputType()}},{key:"isDisableDynInput",value:function(){return this.imp.isDisableDynInput()}},{key:"setDisableDynInput",value:function(t){this.imp.setDisableDynInput(t)}},{key:"setDisableOsnap",value:function(t){this.imp.setDisableOsnap(t)}},{key:"isDisableOsnap",value:function(){return this.imp.isDisableOsnap()}},{key:"isOffsetInputPostion",value:function(){return this.imp.isOffsetInputPostion()}},{key:"setOffsetInputPostion",value:function(t){return this.imp.setOffsetInputPostion(t)}},{key:"setDisableDynamicTrace",value:function(t){this.imp.setDisableDynamicTrace(t)}},{key:"isDisableDynamicTrace",value:function(){return this.imp.isDisableDynamicTrace()}},{key:"setDisablePolarAxisTrace",value:function(t){this.imp.setDisablePolarAxisTrace(t)}},{key:"isDisablePolarAxisTrace",value:function(){return this.imp.isDisablePolarAxisTrace()}},{key:"setDisableGridTrace",value:function(t){this.imp.setDisableGridTrace(t)}},{key:"isDisableGridTrace",value:function(){return this.imp.isDisableGridTrace()}},{key:"setDisableOrthoTrace",value:function(t){this.imp.setDisableOrthoTrace(t)}},{key:"isDisableOrthoTrace",value:function(){return this.imp.isDisableOrtho()}},{key:"disableAllTrace",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.imp.disableAllTrace(t)}},{key:"userInputControls",value:function(){return this.imp.userInputControls()}},{key:"setUserInputControls",value:function(t){this.imp.setUserInputControls(t)}},{key:"abort",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:yr.kCodeAbort;this.imp.abort(t)}}]),i}(),Yt=function(i){de(t,i);var e=sa(t);function t(){return oe(this,t),e.call(this,new Yf)}return ue(t,[{key:"go",value:function(){var r=this;return new Promise(function(a){r.imp.go(function(s){s!=0?a(null):a(r.doc2cad1(r.imp.value()))})})}},{key:"value",value:function(){return this.doc2cad1(this.imp.value())}},{key:"getDocValue",value:function(){return new fe(this.imp.value())}},{key:"basePt",value:function(){return this.doc2cad1(this.imp.basePt())}},{key:"setBasePt",value:function(r){this.imp.setBasePt(this.cad2doc1(r)),this.imp.setUseBasePt(!0)}},{key:"setUseBasePt",value:function(r){this.imp.setUseBasePt(r)}}]),t}(oa),tn=function(i){de(t,i);var e=sa(t);function t(){return oe(this,t),e.call(this,new Sw)}return ue(t,[{key:"value",value:function(){return this.imp.value()}},{key:"basePt",value:function(){return this.doc2cad1(this.imp.basePt())}},{key:"setBasePt",value:function(r){this.imp.setBasePt(this.cad2doc1(r)),this.imp.setUseBasePt(!0)}},{key:"setUseBasePt",value:function(r){return this.imp.setUseBasePt(r)}},{key:"go",value:function(){return this.imp.go()}}]),t}(oa),Zi=function(i){de(t,i);var e=sa(t);function t(){return oe(this,t),e.call(this,new Aw)}return ue(t,[{key:"value",value:function(){return this.imp.value()}},{key:"basePt",value:function(){return this.doc2cad1(this.imp.basePt())}},{key:"setBasePt",value:function(r){this.imp.setBasePt(this.cad2doc1(r)),this.imp.setUseBasePt(!0)}},{key:"setUseBasePt",value:function(r){return this.imp.setUseBasePt(r)}},{key:"go",value:function(){return this.imp.go()}}]),t}(oa),$f=function(i){de(t,i);var e=sa(t);function t(){return oe(this,t),e.call(this,new xw)}return ue(t,[{key:"value",value:function(){return this.imp.value()}},{key:"go",value:function(){return this.imp.go()}}]),t}(oa),li=function(i){de(t,i);var e=sa(t);function t(){return oe(this,t),e.call(this,new Tw)}return ue(t,[{key:"go",value:function(){return this.imp.go()}}]),t}(oa),Qf=function(i){de(t,i);var e=sa(t);function t(){var n;return oe(this,t),n=e.call(this,new Dw),n.setDynamicInputType(cr.kNoInput),n.disableAllTrace(),n}return ue(t,[{key:"value",value:function(){return this.imp.value()}},{key:"go",value:function(){return this.imp.go()}}]),t}(oa),Ci=function(i){de(t,i);var e=sa(t);function t(){var n;return oe(this,t),n=e.call(this,new Yf),ge(ir(n),"filter",void 0),ge(ir(n),"id",new Oe),n.setCursorType(Kf.kRect),n.setDynamicInputType(cr.kDynTip),n.disableAllTrace(),n}return ue(t,[{key:"setFilter",value:function(r){this.filter=r}},{key:"getFilter",value:function(){return this.filter}},{key:"go",value:function(){var r=this;return new Promise(function(a){var s=r;r.imp.go(function(o){if(s.clearLastInputPoint(),o!=0)a(new Oe);else{var u=s.imp.value(),l=s.doc2cad1(u);s.id=Tt.findEntAtPoint(l.x,l.y,l.z,-1,s.filter),a(s.id)}})})}},{key:"pickPoint",value:function(){return this.doc2cad1(this.imp.value())}},{key:"value",value:function(){return this.id}},{key:"getDocPickPoint",value:function(){return new fe(this.imp.value())}}]),t}(oa);function fn(i){var e=E_();return function(){var n=bn(i),r;if(e){var a=bn(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Fe(this,r)}}function E_(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var cn=function(i){de(t,i);var e=fn(t);function t(n){return oe(this,t),e.call(this,n)}return ue(t,[{key:"explode",value:function(){var r=this.imp.explode();return new ln(r)}},{key:"trueColor",get:function(){return new pr(this.imp.TrueColor())},set:function(r){this.imp.SetTrueColor(r.getImp())}},{key:"colorIndex",get:function(){return this.imp.ColorIndex()},set:function(r){this.imp.SetColorIndex(r)}},{key:"layer",get:function(){return ye.decodeFromGb2312(this.imp.Layer())},set:function(r){this.imp.SetLayer(ye.encodeToGb2312(r))}},{key:"linetype",get:function(){return ye.decodeFromGb2312(this.imp.Linetype())},set:function(r){this.imp.SetLinetype(ye.encodeToGb2312(r))}},{key:"linetypeScale",get:function(){return this.imp.LinetypeScale()},set:function(r){this.imp.SetLinetypeScale(r)}},{key:"visible",get:function(){return this.imp.Visible()},set:function(r){this.imp.SetVisible(r)}},{key:"lineweight",get:function(){return this.imp.Lineweight()},set:function(r){this.imp.SetLineweight(r)}},{key:"textStyle",get:function(){return ye.decodeFromGb2312(this.imp.TextStyle())},set:function(r){this.imp.SetTextStyle(ye.encodeToGb2312(r))}},{key:"highlight",value:function(r){this.imp.Highlight(r)}},{key:"move",value:function(r,a){this.tempRelationObject();var s=this.imp.Move(r.imp,a.imp);return this.freeTempRelationObject(),s}},{key:"rotate",value:function(r,a){this.tempRelationObject();var s=this.imp.Rotate(r.imp,a);return this.freeTempRelationObject(),s}},{key:"mirror",value:function(r,a){this.tempRelationObject();var s=this.imp.Mirror(r.imp,a.imp);return this.freeTempRelationObject(),s}},{key:"scaleEntity",value:function(r,a){this.tempRelationObject();var s=this.imp.ScaleEntity(r.imp,a);return this.freeTempRelationObject(),s}},{key:"transformBy",value:function(r){return this.imp.TransformBy(r.imp)}},{key:"getBoundingBox",value:function(){var r=this.imp.GetBoundingBox();if(r){if(r.GetCount()<2)return ne.App.destroyObject(r),{minPt:new fe,maxPt:new fe,ret:!1};var a={minPt:new fe(r.AtPoint(0)),maxPt:new fe(r.AtPoint(1)),ret:!0};return ne.App.destroyObject(r),a}else return{minPt:new fe,maxPt:new fe,ret:!1}}},{key:"getxData",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return new ln(this.imp.GetXData(ye.encodeToGb2312(r)))}},{key:"setxData",value:function(r){return this.imp.SetXData(r.getImp())}},{key:"getxDataString",value:function(r){var a=this.imp.GetxDataString(ye.encodeToGb2312(r),0);return{val:ye.decodeFromGb2312(a),ret:ne.getCallResult()==0}}},{key:"setxDataString",value:function(r,a){return this.imp.SetxDataString(ye.encodeToGb2312(r),0,ye.encodeToGb2312(a))}},{key:"getxDataDouble",value:function(r){return{val:this.imp.GetxDataDouble(ye.encodeToGb2312(r),0),ret:ne.getCallResult()==0}}},{key:"setxDataDouble",value:function(r,a){return this.imp.SetxDataDouble(ye.encodeToGb2312(r),0,a)}},{key:"getxDataLong",value:function(r){return{val:this.imp.GetxDataLong(ye.encodeToGb2312(r),0),ret:ne.getCallResult()==0}}},{key:"setxDataLong",value:function(r,a){return this.imp.SetxDataLong(ye.encodeToGb2312(r),0,a)}},{key:"getxDataPoint",value:function(r){var a=this.imp.GetxDataPoint(ye.encodeToGb2312(r),0),s=new fe;if(ne.getCallResult()==0){var o=!1;return a&&(s.x=a.x,s.y=a.y,s.z=a.z,ne.App.getImp().DestroyMdGePoint3d(a),o=!0),{val:s,ret:o}}else return{val:s,ret:!1}}},{key:"setxDataPoint",value:function(r,a){return this.imp.SetxDataPoint(ye.encodeToGb2312(r),0,a.imp)}},{key:"deleteXData",value:function(r){return this.imp.DeleteXData(ye.encodeToGb2312(r))}},{key:"getAllAppName",value:function(){return new Va(this.imp.GetAllAppName())}},{key:"layerId",get:function(){return new Oe(this.imp.LayerId(),rt.kMxCAD)},set:function(r){r.type==rt.kMxCAD&&this.imp.SetLayerId(r.id)}},{key:"linetypeId",get:function(){return new Oe(this.imp.LinetypeId(),rt.kMxCAD)},set:function(r){r.type==rt.kMxCAD&&this.imp.SetLinetypeId(r.id)}},{key:"textStyleId",get:function(){return new Oe(this.imp.TextStyleId(),rt.kMxCAD)},set:function(r){r.type==rt.kMxCAD&&this.imp.SetTextStyleId(r.id)}},{key:"IntersectWith",value:function(r,a){return new Pr(this.imp.IntersectWith(r.imp,a))}},{key:"getArea",value:function(){var r=this.imp.getArea();return{val:r,ret:ne.getCallResult()==0}}},{key:"disableDisplay",value:function(r){this.imp.disableUpdateDisplay(r)}},{key:"updateDisplay",value:function(){this.imp.updateDisplay()}},{key:"syncData",value:function(){return!1}},{key:"drawOrder",get:function(){return this.imp.DrawOrder()},set:function(r){this.imp.SetDrawOrder(r)}},{key:"normal",get:function(){return new at(this.imp.normal())},set:function(r){this.imp.setNormal(r.imp)}}]),t}(Mn),Jn=function(i){de(t,i);var e=fn(t);function t(n){return oe(this,t),e.call(this,n)}return ue(t,[{key:"getStartParam",value:function(){var r=this.imp.getStartParam();return{val:r,ret:ne.getCallResult()==0}}},{key:"getEndParam",value:function(){return{val:this.imp.getEndParam(),ret:ne.getCallResult()==0}}},{key:"getDistAtParam",value:function(r){return{val:this.imp.getDistAtParam(r),ret:ne.getCallResult()==0}}},{key:"getParamAtDist",value:function(r){return{val:this.imp.getParamAtDist(r),ret:ne.getCallResult()==0}}},{key:"getDistAtPoint",value:function(r){return{val:this.imp.getDistAtPoint(r.imp),ret:ne.getCallResult()==0}}},{key:"getPointAtDist",value:function(r){return{val:new fe(this.imp.getPointAtDist(r)),ret:ne.getCallResult()==0}}},{key:"getStartPoint",value:function(){return{val:new fe(this.imp.getStartPoint()),ret:ne.getCallResult()==0}}},{key:"getEndPoint",value:function(){return{val:new fe(this.imp.getEndPoint()),ret:ne.getCallResult()==0}}},{key:"getPointAtParam",value:function(r){return{val:new fe(this.imp.getPointAtParam(r)),ret:ne.getCallResult()==0}}},{key:"getParamAtPoint",value:function(r){return{val:this.imp.getParamAtPoint(r.imp),ret:ne.getCallResult()==0}}},{key:"getFirstDerivFromParam",value:function(r){return{val:new at(this.imp.getFirstDeriv(r)),ret:ne.getCallResult()==0}}},{key:"getFirstDeriv",value:function(r){return{val:new at(this.imp.getFirstDerivEx(r.imp)),ret:ne.getCallResult()==0}}},{key:"getClosestPointTo",value:function(r,a){return{val:new fe(this.imp.getClosestPointTo(r.imp,a)),ret:ne.getCallResult()==0}}},{key:"offsetCurves",value:function(r,a){var s=this.imp.offsetCurves(r,a.imp);return new gu(s)}},{key:"splitCurves",value:function(r){var a=new ln;r.forEach(function(o){a.AddPoint(o)});var s=this.imp.splitCurves(a.getImp());return new gu(s)}},{key:"splitCurvesFromParam",value:function(r){var a=new ln;r.forEach(function(o){a.AddDouble(o)});var s=this.imp.splitCurves(a.getImp());return new gu(s)}},{key:"getSamplePoints",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1e-4,a=this.imp.getSamplePoints(r);return new ln(a)}},{key:"getLength",value:function(){var r=this.imp.getLength();return{val:r,ret:ne.getCallResult()==0}}}]),t}(cn),pt=function(i){de(t,i);var e=fn(t);function t(n,r,a,s,o,u){var l;return oe(this,t),n instanceof Object?n instanceof fe?(l=e.call(this),l.initTempObject(new ne.mxcadassemblyimp.MdDbLine),r instanceof fe&&(l.startPoint=n,l.endPoint=r)):l=e.call(this,n):(l=e.call(this),l.initTempObject(new ne.mxcadassemblyimp.MdDbLine),l.startPoint=new fe(n,r,a),l.endPoint=new fe(s,o,u)),Fe(l)}return ue(t,[{key:"startPoint",get:function(){return new fe(this.imp.startPoint())},set:function(r){this.imp.setStartPoint(r.imp)}},{key:"endPoint",get:function(){return new fe(this.imp.endPoint())},set:function(r){this.imp.setEndPoint(r.imp)}}]),t}(Jn),ps=function(i){de(t,i);var e=fn(t);function t(n){var r;return oe(this,t),r=e.call(this,n),n||r.initTempObject(new ne.mxcadassemblyimp.MdDbText),r}return ue(t,[{key:"position",get:function(){return new fe(this.imp.position())},set:function(r){this.imp.setPosition(r.imp)}},{key:"alignmentPoint",get:function(){return new fe(this.imp.position())},set:function(r){this.imp.setAlignmentPoint(r.imp)}},{key:"oblique",get:function(){return this.imp.oblique()},set:function(r){this.imp.setOblique(r)}},{key:"rotation",get:function(){return this.imp.rotation()},set:function(r){this.imp.setRotation(r)}},{key:"height",get:function(){return this.imp.height()},set:function(r){this.imp.setHeight(r)}},{key:"widthFactor",get:function(){return this.imp.widthFactor()},set:function(r){this.imp.setWidthFactor(r)}},{key:"textString",get:function(){return ye.decodeFromGb2312(this.imp.textString())},set:function(r){this.imp.setTextString(ye.encodeToGb2312(r))}},{key:"horizontalMode",get:function(){return this.imp.horizontalMode()},set:function(r){this.imp.setHorizontalMode(r)}},{key:"verticalMode",get:function(){return this.imp.verticalMode()},set:function(r){this.imp.setVerticalMode(r)}}]),t}(cn),Ic=function(i){de(t,i);var e=fn(t);function t(n){var r;return oe(this,t),r=e.call(this,n),n||r.initTempObject(new ne.mxcadassemblyimp.MdDbAttribute),r}return ue(t,[{key:"tag",get:function(){return ye.decodeFromGb2312(this.imp.tag())},set:function(r){this.imp.setTag(ye.encodeToGb2312(r))}},{key:"isInvisible",get:function(){return this.imp.isInvisible()},set:function(r){this.imp.setInvisible(r)}}]),t}(ps),Pc=function(i){de(t,i);var e=fn(t);function t(n){var r;return oe(this,t),r=e.call(this,n),n||r.initTempObject(new ne.mxcadassemblyimp.MdDbAttributeDefinition),r}return ue(t,[{key:"tag",get:function(){return ye.decodeFromGb2312(this.imp.tag())},set:function(r){this.imp.setTag(ye.encodeToGb2312(r))}},{key:"isInvisible",get:function(){return this.imp.isInvisible()},set:function(r){this.imp.setInvisible(r)}},{key:"prompt",get:function(){return ye.decodeFromGb2312(this.imp.prompt())},set:function(r){this.imp.setPrompt(ye.encodeToGb2312(r))}},{key:"isConstant",get:function(){return this.imp.isConstant()},set:function(r){this.imp.setConstant(r)}},{key:"isVerifiable",get:function(){return this.imp.isVerifiable()},set:function(r){this.imp.setVerifiable(r)}},{key:"isPreset",get:function(){return this.imp.isPreset()},set:function(r){this.imp.setPreset(r)}}]),t}(ps),Su=function(i){de(t,i);var e=fn(t);function t(n){var r;return oe(this,t),r=e.call(this,n),n||r.initTempObject(new ne.mxcadassemblyimp.MdDbMText),r}return ue(t,[{key:"location",get:function(){return new fe(this.imp.location())},set:function(r){this.imp.setLocation(r.imp)}},{key:"rotation",get:function(){return this.imp.rotation()},set:function(r){this.imp.setRotation(r)}},{key:"width",get:function(){return this.imp.width()},set:function(r){this.imp.setWidth(r)}},{key:"textHeight",get:function(){return this.imp.textHeight()},set:function(r){this.imp.setTextHeight(r)}},{key:"attachment",get:function(){return this.imp.attachment()},set:function(r){this.imp.setAttachment(r)}},{key:"contents",get:function(){return ye.decodeFromGb2312(this.imp.contents())},set:function(r){this.imp.setContents(ye.encodeToGb2312(r))}},{key:"getTextString",value:function(){return ye.decodeFromGb2312(this.imp.getTextString())}},{key:"reCompute",value:function(){return this.imp.reCompute()}}]),t}(cn),Ln=function(i){de(t,i);var e=fn(t);function t(n,r,a,s){var o;return oe(this,t),n instanceof Object?o=e.call(this,n):(o=e.call(this),o.initTempObject(new ne.mxcadassemblyimp.MdDbCircle),typeof n=="number"&&(o.imp.setCenter(new fe(n,r,a).imp),o.imp.setRadius(s))),Fe(o)}return ue(t,[{key:"setCenter",value:function(r,a,s){this.imp.setCenter(new fe(r,a,s).imp)}},{key:"center",get:function(){return new fe(this.imp.center())},set:function(r){this.imp.setCenter(r.imp)}},{key:"radius",get:function(){return this.imp.radius()},set:function(r){this.imp.setRadius(r)}}]),t}(Jn),st=function(i){de(t,i);var e=fn(t);function t(n){var r;return oe(this,t),r=e.call(this,n),n||r.initTempObject(new ne.mxcadassemblyimp.MdDbPolyline),r}return ue(t,[{key:"isClosed",get:function(){return this.imp.isClosed()},set:function(r){this.imp.setClosed(r)}},{key:"constantWidth",get:function(){return this.imp.getConstantWidth()},set:function(r){this.imp.setConstantWidth(r)}},{key:"addVertexAt",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(r instanceof THREE.Vector3){var l=new ne.mxcadassemblyimp.MdGePoint3d;return l.x=r.x,l.y=r.y,l.z=r.z,this.imp.addVertexAt(u,l,a,s,o)}else return this.imp.addVertexAt(u,r.imp,a,s,o)}},{key:"removeVertexAt",value:function(r){return this.imp.removeVertexAt(r)}},{key:"numVerts",value:function(){return this.imp.numVerts()}},{key:"getPointAt",value:function(r){return{val:new fe(this.imp.getPointAt(r)),ret:ne.getCallResult()}}},{key:"getBulgeAt",value:function(r){return this.imp.getBulgeAt(r)}},{key:"getWidthsAt",value:function(r){return{val1:this.imp.getStartWidthsAt(r),val2:this.imp.getEndWidthsAt(r),ret:ne.getCallResult()==0}}},{key:"setPointAt",value:function(r,a){return this.imp.setPointAt(r,a.imp)}},{key:"setBulgeAt",value:function(r,a){return this.imp.setBulgeAt(r,a)}},{key:"pointInPolygon",value:function(r,a){return this.imp.pointInPolygon(r,a)}},{key:"setWidthsAt",value:function(r,a,s){return this.imp.setWidthsAt(r,a,s)}},{key:"getType",value:function(){return this.imp.getType()}},{key:"setType",value:function(r){return this.imp.setType(r)}}]),t}(Jn),Au=function(i){de(t,i);var e=fn(t);function t(n){var r;return oe(this,t),r=e.call(this,n),n||r.initTempObject(new ne.mxcadassemblyimp.MdDbBlockReference),r}return ue(t,[{key:"blockTableRecordId",get:function(){return new Oe(this.imp.blockTableRecordId(),rt.kMxCAD)},set:function(r){this.imp.setBlockTableRecordId(r.id)}},{key:"position",get:function(){return new fe(this.imp.position())},set:function(r){this.imp.setPosition(r.imp)}},{key:"scaleFactors",get:function(){return new fe(this.imp.scaleFactors())},set:function(r){this.imp.setScaleFactors(r.imp)}},{key:"setScale",value:function(r){this.imp.setScaleFactors(new fe(r,r,r).imp)}},{key:"getScale",value:function(){return this.imp.scaleFactors().x}},{key:"rotation",get:function(){return this.imp.rotation()},set:function(r){this.imp.setRotation(r)}},{key:"blockTransform",get:function(){return new Ir(this.imp.blockTransform())},set:function(r){this.imp.setBlockTransform(r.imp)}},{key:"blockName",get:function(){return ye.decodeFromGb2312(this.imp.getBlockName())}},{key:"appendAttribute",value:function(r){return new Oe(this.imp.appendAttribute(r.getImp()),rt.kMxCAD)}},{key:"getAllAttribute",value:function(){for(var r=[],a=this.imp.getAllAttribute(),s=a.length(),o=0;o1&&arguments[1]!==void 0?arguments[1]:[],s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:yn.HatchLoopType.kPolyline,o=new fs;return a.forEach(function(u){o.append(u)}),this.imp.appendLoop(s,r.imp,o.imp)}},{key:"appendCircleLoop",value:function(r,a,s){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:yn.HatchLoopType.kPolyline;return this.imp.appendCircleLoop(u,r,a,0,s,o)}},{key:"removeLoopAt",value:function(r){return this.imp.removeLoopAt(r)}},{key:"removeAllLoop",value:function(){return this.imp.removeAllLoop()}},{key:"setLoopAt",value:function(r,a,s){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:yn.HatchLoopType.kPolyline,u=new fs;return s.forEach(function(l){u.append(l)}),this.imp.setLoopAt(r,o,a.imp,u.imp)}},{key:"isSolid",value:function(){return this.imp.isSolid()}},{key:"scalePattern",value:function(r){return this.imp.scalePattern(r)}}]),t}(cn),Oc=function(i){de(t,i);var e=fn(t);function t(n){var r;return oe(this,t),n instanceof Object?r=e.call(this,n):(r=e.call(this),r.initTempObject(new ne.mxcadassemblyimp.MdDbProxyEntity)),Fe(r)}return ue(t,[{key:"getAllTextContent",value:function(){return new Va(this.imp.getAllTextContent())}},{key:"getAllEntityIds",value:function(){for(var r=[],a=this.imp.getAllEntityIds(),s=a.length(),o=0;o"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var eh=function(i){return i[i.kClone=1]="kClone",i[i.kDragClone=2]="kDragClone",i[i.kCPPClone=3]="kCPPClone",i}(eh||{}),th=function(){function i(e){oe(this,i),ge(this,"type",1),this.type=e}return ue(i,[{key:"getType",value:function(){return this.type}},{key:"writePoints",value:function(t,n){var r=this;this.writeLong(t+"_n",n.length),n.forEach(function(a,s){r.writePoint(t+"_"+s,a)})}},{key:"readPoints",value:function(t){var n=[],r=this.readLong(t+"_n");if(r.ret)for(var a=0;a0&&arguments[0]!==void 0?arguments[0]:1;return oe(this,t),n=e.call(this,r),ge(ir(n),"data",{}),n}return ue(t,[{key:"writePoint",value:function(r,a){this.data[r]=a.clone()}},{key:"readPoint",value:function(r){return this.data[r]&&this.data[r]instanceof fe?{val:this.data[r],ret:!0}:{val:new fe(0,0,0),ret:!1}}},{key:"writeLong",value:function(r,a){this.data[r]=a}},{key:"readLong",value:function(r){return this.data[r]&&typeof this.data[r]=="number"?{val:this.data[r],ret:!0}:{val:0,ret:!1}}},{key:"writeDouble",value:function(r,a){this.data[r]=a}},{key:"readDouble",value:function(r){return this.data[r]&&typeof this.data[r]=="number"?{val:this.data[r],ret:!0}:{val:0,ret:!1}}},{key:"writeString",value:function(r,a){this.data[r]=a}},{key:"readString",value:function(r){return this.data[r]&&typeof this.data[r]=="string"?{val:this.data[r],ret:!0}:{val:"",ret:!1}}}]),t}(th),Pv=function(){function i(e){oe(this,i),ge(this,"imp",void 0),this.imp=new ne.mxcadassemblyimp.MdGiWorldDraw(e)}return ue(i,[{key:"drawEntity",value:function(t){this.imp.drawEntity(t.imp)}},{key:"drawOsnapEntity",value:function(t){this.imp.drawOsnapEntity(t.imp)}},{key:"trueColor",get:function(){return new pr(this.imp.trueColor())},set:function(t){this.imp.setTrueColor(t.getImp())}}]),i}(),by=function(i){de(t,i);var e=yy(t);function t(n){var r;return oe(this,t),n instanceof Object?r=e.call(this,n):(r=e.call(this),r.initTempObject(new ne.mxcadassemblyimp.MdDbCustomEntity(r.getTypeName()))),Fe(r)}return ue(t,[{key:"rxInit",value:function(){Bn.rxInit(this)}},{key:"clone",value:function(){var r=1,a=this.create(),s=new S_(r);return this.dwgOutFields(s),a.dwgInFields(s),a}},{key:"syncData",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(r){var a=this.imp.getFilter(!0),s=new qm(a);this.dwgOutFields(s),ne.App.getImp().DestroyMdDbCustomEntityDwgFiler(a)}else{var o=this.imp.getFilter(!1),u=new qm(o);this.dwgInFields(u),ne.App.getImp().DestroyMdDbCustomEntityDwgFiler(o)}return!0}},{key:"tempRelationObject",value:function(){return Bn.tmpRelationObject(this)}},{key:"freeTempRelationObject",value:function(){Bn.freeTmpObject(this)}},{key:"assertWrite",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.imp.assertWrite(r,!0,!0,!0,!1)}},{key:"moveGripPointsAt",value:function(r,a,s,o){}},{key:"getGripPoints",value:function(){return new Pr}},{key:"transformBy",value:function(r){return!1}}]),t}(cn);function A_(i){var e=x_();return function(){var n=bn(i),r;if(e){var a=bn(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Fe(this,r)}}function x_(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var T_=function(){function i(){oe(this,i),ge(this,"mapType2Create",new Map),ge(this,"mapId2DatabaseMap",{}),ge(this,"alloc_id",1),ge(this,"alloc_tempid",1),ge(this,"mapTempId2Entity",new Map)}return ue(i,[{key:"rxInit",value:function(t){var n=t.getTypeName();this.mapType2Create.get(n)&&console.error("MxCADError:already has this class name "+n),this.mapType2Create.set(n,t)}},{key:"tmpRelationObject",value:function(t){return this.alloc_tempid>9007199254740900&&(this.alloc_tempid=1),this.alloc_tempid+=1,t.imp.setCustomEntityTempid(this.alloc_tempid),this.mapTempId2Entity.set(this.alloc_tempid,t),this.alloc_tempid}},{key:"freeTmpObject",value:function(t){if(typeof t=="number")this.mapTempId2Entity.delete(t);else{var n=t.imp.getCustomEntityTempid();t.imp.setCustomEntityTempid(0),this.mapTempId2Entity.delete(n)}}},{key:"getTmpObject",value:function(t){return this.mapTempId2Entity.get(t)}},{key:"allocId",value:function(){return this.alloc_id>9007199254740900&&(this.alloc_id=1),this.alloc_id+=1,this.alloc_id}},{key:"isHaveType",value:function(t){return this.mapType2Create.has(t)}},{key:"createMxEntity",value:function(t,n){if(t.length==0)return console.log("MxTip:assert(0) typeName is empty "),null;var r=this.mapType2Create.get(t);if(!r)return console.error("mx: error crate,no type name:"+t),null;var a=r.create(n);return a.getTypeName()!=t&&console.error("mx: error crate Type:"+t+","+a.getTypeName()),a}},{key:"relationObject",value:function(t,n){if(n==0)return 0;var r=this.allocId(),a=this.mapId2DatabaseMap[n];return a||(a=new Map,this.mapId2DatabaseMap[n]=a),a.set(r,{idIndex:t,init:!1,customEntity:null}),r}},{key:"freeObject",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(n!=0){var r=this.mapId2DatabaseMap[n];if(!r)return;r.delete(t);return}else for(var a in this.mapId2DatabaseMap){var s=this.mapId2DatabaseMap[a];s.delete(t)}}},{key:"freeDatabase",value:function(t){this.mapId2DatabaseMap.hasOwnProperty(t)&&delete this.mapId2DatabaseMap[t]}},{key:"getObjectFormId",value:function(t){return t.isValid()&&t.type==rt.kMxCAD&&ne.App.objectIdIsKindOf(t.id,"McDbCustomEntity")?ne.App.objectIdToObject(t.id):null}},{key:"getObject",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(t==0)return null;var r=void 0;if(n!=0){var a=this.mapId2DatabaseMap[n];if(!a)return null;r=a.get(t)}else for(var s in this.mapId2DatabaseMap){var o=this.mapId2DatabaseMap[s];if(r=o.get(t),r){n=parseInt(s);break}}if(!r)return null;if(r.customEntity)return r.customEntity;if(r.init)return null;r.init=!0;var u=ne.App.getImp().ObjectIdToMdDbCustomEntity(r.idIndex);if(!u)return null;var l=Bn.createMxEntity(u.getCustomEntityTypeName(),u);return l==null?null:(l.syncData(!1),r.customEntity=l,l)}},{key:"init",value:function(){var t=window;t.MxCustomEntityManager_freeObject=function(n,r){Bn.freeObject(n,r)},t.MxCustomEntityManager_relationObject=function(n,r){return Bn.relationObject(n,r)},t.MxCustomEntityManager_freeDatabase=function(n){Bn.freeDatabase(n)},t.MxCustomEntityManager_worldDraw=function(n,r,a,s,o,u){var l;if(s!=0?l=Bn.getTmpObject(s):l=Bn.getObject(n,r),!!l){var c=new Pv(a);o!==0&&c.imp.connectVecOsnapEntity(o),u!==0&&c.imp.connectVecExplodeEntity(u),l.worldDraw(c)}},t.MxCustomEntityManager_syncData=function(n,r,a){var s=Bn.getObject(n,r);s&&s.syncData(a!=0)},t.MxCustomEntityManager_transformBy=function(n,r,a,s){var o=new Ir;o.imp.copyFormPointer(a);var u;s!=0?u=Bn.getTmpObject(s):u=Bn.getObject(n,r),u&&u.transformBy(o)}}}]),i}(),qm=function(i){de(t,i);var e=A_(t);function t(n){var r;return oe(this,t),r=e.call(this,eh.kCPPClone),ge(ir(r),"imp",void 0),n||(n=new ne.mxcadassemblyimp.MdDbCustomEntityDwgFiler),r.imp=n,r}return ue(t,[{key:"writePoint",value:function(r,a){this.imp.writePoint(r,a.imp.x,a.imp.y,a.imp.z)}},{key:"readPoint",value:function(r){var a=this.imp.readPoint(r),s={};return ne.getCallResult()==0?s={val:new fe(a),ret:!0}:s={val:new fe,ret:!1},ne.App.getImp().DestroyMdGePoint3d(a),s}},{key:"writeLong",value:function(r,a){this.imp.writeLong(r,a)}},{key:"readLong",value:function(r){var a=this.imp.readLong(r),s={};return ne.getCallResult()==0?s={val:a,ret:!0}:s={val:0,ret:!1},s}},{key:"writeDouble",value:function(r,a){this.imp.writeDouble(r,a)}},{key:"readDouble",value:function(r){var a=this.imp.readDouble(r),s={};return ne.getCallResult()==0?s={val:a,ret:!0}:s={val:0,ret:!1},s}},{key:"writeString",value:function(r,a){this.imp.writeString(r,ye.encodeToGb2312(a))}},{key:"readString",value:function(r){var a=this.imp.readString(r),s={};return ne.getCallResult()==0?s={val:ye.decodeFromGb2312(a),ret:!0}:s={val:"",ret:!1},s}}]),t}(th),Bn;Bn=new T_;function dr(i){var e=D_();return function(){var n=bn(i),r;if(e){var a=bn(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Fe(this,r)}}function D_(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var Fv=function(i){return i[i.kEntityType=5020]="kEntityType",i[i.kLayer=8]="kLayer",i[i.kBlockName=2]="kBlockName",i[i.kColor=62]="kColor",i[i.kAppName=-3]="kAppName",i[i.kLong=1071]="kLong",i[i.kDouble=1040]="kDouble",i[i.kString=1e3]="kString",i[i.kPoint=1010]="kPoint",i[i.kEntityId=-8e3]="kEntityId",i[i.kEntity=-8500]="kEntity",i[i.kExDataName=1001]="kExDataName",i}(Fv||{}),yn;(function(i){(function(e){e[e.kLwPolyline=0]="kLwPolyline",e[e.k3dPolyline=2]="k3dPolyline"})(i.PolylineType||(i.PolylineType={})),function(e){e[e.kTextLeft=0]="kTextLeft",e[e.kTextCenter=1]="kTextCenter",e[e.kTextRight=2]="kTextRight",e[e.kTextAlign=3]="kTextAlign",e[e.kTextMid=4]="kTextMid",e[e.kTextFit=5]="kTextFit"}(i.TextHorzMode||(i.TextHorzMode={})),function(e){e[e.kOnBothOperands=0]="kOnBothOperands",e[e.kExtendThis=1]="kExtendThis",e[e.kExtendArg=2]="kExtendArg",e[e.kExtendBoth=3]="kExtendBoth"}(i.Intersect||(i.Intersect={})),function(e){e[e.kTextBase=0]="kTextBase",e[e.kTextBottom=1]="kTextBottom",e[e.kTextVertMid=2]="kTextVertMid",e[e.kTextTop=3]="kTextTop"}(i.TextVertMode||(i.TextVertMode={})),function(e){e[e.kTopLeft=1]="kTopLeft",e[e.kTopCenter=2]="kTopCenter",e[e.kTopRight=3]="kTopRight",e[e.kMiddleLeft=4]="kMiddleLeft",e[e.kMiddleCenter=5]="kMiddleCenter",e[e.kMiddleRight=6]="kMiddleRight",e[e.kBottomLeft=7]="kBottomLeft",e[e.kBottomCenter=8]="kBottomCenter",e[e.kBottomRight=9]="kBottomRight",e[e.kBaseLeft=10]="kBaseLeft",e[e.kBaseCenter=11]="kBaseCenter",e[e.kBaseRight=12]="kBaseRight",e[e.kBaseAlign=13]="kBaseAlign",e[e.kBottomAlign=14]="kBottomAlign",e[e.kMiddleAlign=15]="kMiddleAlign",e[e.kTopAlign=16]="kTopAlign",e[e.kBaseFit=17]="kBaseFit",e[e.kBottomFit=18]="kBottomFit",e[e.kMiddleFit=19]="kMiddleFit",e[e.kTopFit=20]="kTopFit",e[e.kBaseMid=21]="kBaseMid",e[e.kBottomMid=22]="kBottomMid",e[e.kMiddleMid=23]="kMiddleMid",e[e.kTopMid=24]="kTopMid"}(i.AttachmentPoint||(i.AttachmentPoint={})),function(e){e[e.kLnWt000=0]="kLnWt000",e[e.kLnWt005=5]="kLnWt005",e[e.kLnWt009=9]="kLnWt009",e[e.kLnWt013=13]="kLnWt013",e[e.kLnWt015=15]="kLnWt015",e[e.kLnWt018=18]="kLnWt018",e[e.kLnWt020=20]="kLnWt020",e[e.kLnWt025=25]="kLnWt025",e[e.kLnWt030=30]="kLnWt030",e[e.kLnWt035=35]="kLnWt035",e[e.kLnWt040=40]="kLnWt040",e[e.kLnWt050=50]="kLnWt050",e[e.kLnWt053=53]="kLnWt053",e[e.kLnWt060=60]="kLnWt060",e[e.kLnWt070=70]="kLnWt070",e[e.kLnWt080=80]="kLnWt080",e[e.kLnWt090=90]="kLnWt090",e[e.kLnWt100=100]="kLnWt100",e[e.kLnWt106=106]="kLnWt106",e[e.kLnWt120=120]="kLnWt120",e[e.kLnWt140=140]="kLnWt140",e[e.kLnWt158=158]="kLnWt158",e[e.kLnWt200=200]="kLnWt200",e[e.kLnWt211=211]="kLnWt211",e[e.kLnWtByLayer=-1]="kLnWtByLayer",e[e.kLnWtByBlock=-2]="kLnWtByBlock",e[e.kLnWtByLwDefault=-3]="kLnWtByLwDefault"}(i.LineWeight||(i.LineWeight={})),function(e){e[e.kDefault=0]="kDefault",e[e.kExternal=1]="kExternal",e[e.kPolyline=2]="kPolyline",e[e.kDerived=4]="kDerived",e[e.kTextbox=8]="kTextbox",e[e.kOutermost=16]="kOutermost",e[e.kNotClosed=32]="kNotClosed",e[e.kSelfIntersecting=64]="kSelfIntersecting",e[e.kTextIsland=128]="kTextIsland"}(i.HatchLoopType||(i.HatchLoopType={})),function(e){e[e.kLine=1]="kLine",e[e.kCirArc=2]="kCirArc",e[e.kEllArc=3]="kEllArc",e[e.kSpline=4]="kSpline"}(i.HatchEdgeType||(i.HatchEdgeType={})),function(e){e[e.kUserDefined=0]="kUserDefined",e[e.kPreDefined=1]="kPreDefined",e[e.kCustomDefined=2]="kCustomDefined"}(i.HatchPatternType||(i.HatchPatternType={})),function(e){e[e.kNormal=0]="kNormal",e[e.kOuter=1]="kOuter",e[e.kIgnore=2]="kIgnore"}(i.HatchStyle||(i.HatchStyle={})),function(e){e[e.kInvalid=0]="kInvalid",e[e.kRect=1]="kRect",e[e.kPoly=2]="kPoly"}(i.ClipBoundaryType||(i.ClipBoundaryType={}))})(yn||(yn={}));var pr=function(){function i(e,t,n,r){oe(this,i),ge(this,"imp",void 0),this.imp=new ne.mxcadassemblyimp.MdCmColor,e instanceof Object?(this.imp.red=e.red,this.imp.green=e.green,this.imp.blue=e.blue,this.imp.method=e.method,this.imp.n=e.n,this.imp.colorIndex=e.colorIndex):typeof e=="number"&&typeof t=="number"&&typeof n=="number"&&(this.imp.setRGB(e,t,n),typeof r=="number"&&(this.imp.n=r))}return ue(i,[{key:"getImp",value:function(){return this.imp}},{key:"copy",value:function(t){return this.imp.red=t.imp.red,this.imp.green=t.imp.green,this.imp.blue=t.imp.blue,this.imp.method=t.imp.method,this.imp.n=t.imp.n,this.imp.colorIndex=t.imp.colorIndex,this}},{key:"clone",value:function(){return new i(this.imp)}},{key:"setColorIndex",value:function(t){this.imp.setColorIndex(t)}},{key:"setRGB",value:function(t,n,r){this.imp.setRGB(t,n,r)}},{key:"red",get:function(){return this.imp.red},set:function(t){this.imp.red=t}},{key:"green",get:function(){return this.imp.green},set:function(t){this.imp.green=t}},{key:"blue",get:function(){return this.imp.blue},set:function(t){this.imp.blue=t}},{key:"n",get:function(){return this.imp.n},set:function(t){this.imp.n=t}},{key:"method",get:function(){return this.imp.method},set:function(t){this.imp.method=t}},{key:"colorIndex",get:function(){return this.imp.colorIndex},set:function(t){this.imp.colorIndex=t}},{key:"getColorString",value:function(){return this.imp.getColorString()}},{key:"getColorValue",value:function(t,n){var r=0;t?.type==rt.kMxCAD&&(r=t.id);var a=0;return n?.type==rt.kMxCAD&&(a=n.id),this.imp.getColorValue(r,a)}},{key:"getStyle",value:function(){var t=this.red,n=this.green,r=this.blue,a=this.colorIndex,s=ih(t/255,n/255,r/255),o=a===rh.kWhite;if(o){var u={h:0,s:0,l:0};s.getHSL(u),u.h=(u.h+.5)%1,s.setHSL(u.h,u.s,u.l)}return s.getStyle()}}]),i}(),Uc=function(i){de(t,i);var e=dr(t);function t(n){var r;return oe(this,t),r=e.call(this,n),n||r.initTempObject(new ne.mxcadassemblyimp.MdDbLinetypeTableRecord),r}return ue(t,[{key:"name",get:function(){return ye.decodeFromGb2312(this.imp.getName())},set:function(r){this.imp.setName(ye.encodeToGb2312(r))}},{key:"numDashes",get:function(){return this.imp.numDashes()},set:function(r){this.imp.setNumDashes(r)}},{key:"dashLengthAt",value:function(r){return this.imp.dashLengthAt(r)}},{key:"setDashLengthAt",value:function(r,a){return this.imp.setDashLengthAt(r,a)}},{key:"comments",get:function(){return ye.decodeFromGb2312(this.imp.comments())},set:function(r){this.imp.setComments(ye.encodeToGb2312(r))}},{key:"shapeStyleAt",value:function(r){return this.imp.shapeStyleAt(r)}},{key:"setShapeStyleAt",value:function(r,a){return this.imp.setShapeStyleAt(r,a)}},{key:"shapeNumberAt",value:function(r){return this.imp.shapeNumberAt(r)}},{key:"setShapeNumberAt",value:function(r,a){return this.imp.setShapeNumberAt(r,a)}},{key:"shapeOffsetAt",value:function(r){return new at(this.imp.shapeOffsetAt(r))}},{key:"setShapeOffsetAt",value:function(r,a){return this.imp.setShapeOffsetAt(r,a.imp)}},{key:"shapeScaleAt",value:function(r){return this.imp.shapeScaleAt(r)}},{key:"setShapeScaleAt",value:function(r,a){return this.imp.setShapeScaleAt(r,a)}},{key:"isScaledToFit",get:function(){return this.imp.isScaledToFit()},set:function(r){this.imp.setIsScaledToFit(r)}},{key:"shapeIsUcsOrientedAt",value:function(r){return this.imp.shapeIsUcsOrientedAt(r)}},{key:"setShapeIsUcsOrientedAt",value:function(r,a){return this.imp.setShapeScaleAt(r,a)}},{key:"shapeRotationAt",value:function(r){return this.imp.shapeRotationAt(r)}},{key:"setShapeRotationAt",value:function(r,a){return this.imp.setShapeRotationAt(r,a)}},{key:"textAt",value:function(r){return ye.decodeFromGb2312(this.imp.textAt(r))}},{key:"setTextAt",value:function(r,a){return this.imp.setTextAt(r,ye.encodeToGb2312(a))}}]),t}(Mn),Vc=function(i){de(t,i);var e=dr(t);function t(n){var r;return oe(this,t),r=e.call(this,n),n||r.initTempObject(new ne.mxcadassemblyimp.MdDbDimStyleTableRecord),r}return ue(t,[{key:"name",get:function(){return ye.decodeFromGb2312(this.imp.getName())},set:function(r){this.imp.setName(ye.encodeToGb2312(r))}},{key:"getDimVarInt",value:function(r){return this.imp.getDimVarInt(r)}},{key:"setDimVarInt",value:function(r,a){return this.imp.setDimVarInt(r,a)}},{key:"getDimVarDouble",value:function(r){return this.imp.getDimVarDouble(r)}},{key:"setDimVarDouble",value:function(r,a){return this.imp.setDimVarDouble(r,a)}},{key:"getDimVarString",value:function(r){return ye.decodeFromGb2312(this.imp.getDimVarString(r))}},{key:"setDimVarString",value:function(r,a){return this.imp.setDimVarString(r,ye.encodeToGb2312(a))}},{key:"getDimVarObjectId",value:function(r){return new Oe(this.imp.getDimVarObjectId(r),rt.kMxCAD)}},{key:"setDimVarObjectId",value:function(r,a){return this.imp.setDimVarObjectId(r,a.id)}}]),t}(Mn),Wc=function(i){de(t,i);var e=dr(t);function t(n){var r;return oe(this,t),r=e.call(this,n),n||r.initTempObject(new ne.mxcadassemblyimp.MdDbTextStyleTableRecord),r}return ue(t,[{key:"name",get:function(){return ye.decodeFromGb2312(this.imp.getName())},set:function(r){this.imp.setName(ye.encodeToGb2312(r))}},{key:"isShapeFile",get:function(){return this.imp.isShapeFile()},set:function(r){this.imp.setIsShapeFile(r)}},{key:"isVertical",get:function(){return this.imp.isVertical()},set:function(r){this.imp.setIsVertical(r)}},{key:"textSize",get:function(){return this.imp.textSize()},set:function(r){this.imp.setTextSize(r)}},{key:"xScale",get:function(){return this.imp.xScale()},set:function(r){this.imp.setXScale(r)}},{key:"obliquingAngle",get:function(){return this.imp.obliquingAngle()},set:function(r){this.imp.setObliquingAngle(r)}},{key:"flagBits",get:function(){return this.imp.flagBits()},set:function(r){this.imp.setFlagBits(r)}},{key:"fileName",get:function(){return ye.decodeFromGb2312(this.imp.fileName())},set:function(r){this.imp.setFileName(ye.encodeToGb2312(r))}},{key:"bigFontFileName",get:function(){return ye.decodeFromGb2312(this.imp.bigFontFileName())},set:function(r){this.imp.setBigFontFileName(ye.encodeToGb2312(r))}},{key:"setFont",value:function(r,a,s,o,u){return this.imp.setFont(ye.encodeToGb2312(r),a,s,o,u)}},{key:"font",value:function(){var r=this.imp.font();if(!r)return{sTypeface:"",bold:!1,italic:!1,charset:0,pitchAndFamily:0};var a=ye.decodeFromGb2312(r.AtString(0)),s=r.Atlong(1)!=0,o=r.Atlong(2)!=0,u=r.Atlong(3),l=r.Atlong(4);return{sTypeface:a,bold:s,italic:o,charset:u,pitchAndFamily:l}}}]),t}(Mn),zc=function(i){de(t,i);var e=dr(t);function t(n){var r;return oe(this,t),r=e.call(this,n),n||r.initTempObject(new ne.mxcadassemblyimp.MdDbLayerTableRecord),r}return ue(t,[{key:"name",get:function(){return ye.decodeFromGb2312(this.imp.getName())},set:function(r){this.imp.setName(ye.encodeToGb2312(r))}},{key:"isFrozen",get:function(){return this.imp.isFrozen()},set:function(r){this.imp.setIsFrozen(r)}},{key:"isOff",get:function(){return this.imp.isOff()},set:function(r){this.imp.setIsOff(r)}},{key:"isLocked",get:function(){return this.imp.isLocked()},set:function(r){this.imp.setIsLocked(r)}},{key:"color",get:function(){return new pr(this.imp.color())},set:function(r){this.imp.setColor(r.getImp())}},{key:"linetypeObjectId",get:function(){return new Oe(this.imp.linetypeObjectId(),rt.kMxCAD)},set:function(r){this.imp.setLinetypeObjectId(r.id)}},{key:"lineWeight",get:function(){return this.imp.lineWeight()},set:function(r){this.imp.setLineWeight(r)}}]),t}(Mn),Hc=function(i){de(t,i);var e=dr(t);function t(n){return oe(this,t),e.call(this,n)}return ue(t,[{key:"getAllRecordId",value:function(){for(var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,a=[],s=this.imp.getAllRecordId(r),o=s.length(),u=0;u1&&arguments[1]!==void 0?arguments[1]:!0,s=ye.encodeToGb2312(r);return new Oe(this.imp.get(s,a))}},{key:"has",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,s=ye.encodeToGb2312(r);return this.imp.get(s,a)!=0}}]),t}(Mn),jc=function(i){de(t,i);var e=dr(t);function t(n){return oe(this,t),e.call(this,n)}return ue(t,[{key:"getAllRecordId",value:function(){for(var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,a=[],s=this.imp.getAllRecordId(r),o=s.length(),u=0;u1&&arguments[1]!==void 0?arguments[1]:!0,s=ye.encodeToGb2312(r);return new Oe(this.imp.get(s,a))}},{key:"has",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,s=ye.encodeToGb2312(r);return this.imp.get(s,a)!=0}}]),t}(Mn),Yc=function(i){de(t,i);var e=dr(t);function t(n){return oe(this,t),e.call(this,n)}return ue(t,[{key:"getAllRecordId",value:function(){for(var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,a=[],s=this.imp.getAllRecordId(r),o=s.length(),u=0;u1&&arguments[1]!==void 0?arguments[1]:!0,s=ye.encodeToGb2312(r);return new Oe(this.imp.get(s,a))}},{key:"has",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,s=ye.encodeToGb2312(r);return this.imp.get(s,a)!=0}}]),t}(Mn),Kc=function(i){de(t,i);var e=dr(t);function t(n){return oe(this,t),e.call(this,n)}return ue(t,[{key:"getAllRecordId",value:function(){for(var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,a=[],s=this.imp.getAllRecordId(r),o=s.length(),u=0;u1&&arguments[1]!==void 0?arguments[1]:!0,s=ye.encodeToGb2312(r);return new Oe(this.imp.get(s,a))}},{key:"has",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,s=ye.encodeToGb2312(r);return this.imp.get(s,a)!=0}}]),t}(Mn),xs=function(i){de(t,i);var e=dr(t);function t(n){var r;return oe(this,t),r=e.call(this,n),n||r.initTempObject(new ne.mxcadassemblyimp.MdDbDatabase),r}return ue(t,[{key:"ucsMatrix",get:function(){return new Ir(this.imp.getUcsMatrix())},set:function(r){this.imp.setUcsMatrix(r.imp)}},{key:"getLayerTable",value:function(){return new Hc(this.imp.GetLayerTable())}},{key:"wblock",value:function(r,a,s){s||(s=fe.kOrigin);var o=new ua;return a.forEach(function(u){o.append(u.id)}),this.imp.wblock(r.getImp(),o.imp,s.imp)}},{key:"insert",value:function(r,a){var s=ye.encodeToGb2312(a);return new Oe(this.imp.insert(r.getImp(),s),rt.kMxCAD)}},{key:"readFile",value:function(r){return this.imp.readFile(r)}},{key:"saveAs",value:function(r){return this.imp.saveAs(r)}},{key:"layerTable",get:function(){return new Hc(this.imp.GetLayerTable())}},{key:"getLinetypeTable",value:function(){return new jc(this.imp.GetLinetypeTable())}},{key:"getDimStyleTable",value:function(){return new Yc(this.imp.GetDimStyleTable())}},{key:"dimStyleTable",get:function(){return new Yc(this.imp.GetDimStyleTable())}},{key:"linetypeTable",get:function(){return new jc(this.imp.GetLinetypeTable())}},{key:"getTextStyleTable",value:function(){return new Kc(this.imp.GetTextStyleTable())}},{key:"textStyleTable",get:function(){return new Kc(this.imp.GetTextStyleTable())}},{key:"getBlockTable",value:function(){return new Xc(this.imp.GetBlockTable())}},{key:"getNamedObjectsDictionary",value:function(){return new ds(this.imp.GetNamedObjectsDictionary())}},{key:"getEntitiesInTheGroup",value:function(r){for(var a=[],s=this.imp.getEntitiesInTheGroup(r.id),o=s.length(),u=0;u1&&arguments[1]!==void 0?arguments[1]:"",s=this.GetGroupDictionary(),o=new Rv;return o.appendArray(r),o.name=a,s.addObject(a,o),!0}},{key:"blockTable",get:function(){return new Xc(this.imp.GetBlockTable())}},{key:"currentSpace",get:function(){return new _o(this.imp.CurrentSpace())}},{key:"getCurrentlyLineTypeScale",value:function(){return this.imp.GetCurrentlyLineTypeScale()}},{key:"setCurrentlyLineTypeScale",value:function(r){return this.imp.SetCurrentlyLineTypeScale(r)}},{key:"getCurrentlyLineTypeName",value:function(){var r=this.imp.GetCurrentlyLineTypeName();return ye.decodeFromGb2312(r)}},{key:"setCurrentlyLineTypeName",value:function(r){var a=ye.encodeToGb2312(r);this.imp.SetCurrentlyLineTypeName(a)}},{key:"getCurrentlyLayerName",value:function(){var r=this.imp.GetCurrentlyLayerName();return ye.decodeFromGb2312(r)}},{key:"setCurrentlyLayerName",value:function(r){var a=ye.encodeToGb2312(r);this.imp.SetCurrentlyLayerName(a)}},{key:"getCurrentlyTrueColor",value:function(){return new pr(this.imp.GetCurrentlyTrueColor())}},{key:"getCurrentlyDrawColor",value:function(){var r=this.imp.GetCurrentlyDrawColor(),a=new THREE.Color;return a.setRGB(r.at(0)/255,r.at(1)/255,r.at(2)/255),a}},{key:"setCurrentlyTrueColor",value:function(r){return this.imp.SetCurrentlyTrueColor(r.getImp())}},{key:"getCurrentlyColorIndex",value:function(){return this.imp.GetCurrentlyColorIndex()}},{key:"setCurrentlyColorIndex",value:function(r){return this.imp.SetCurrentlyColorIndex(r)}},{key:"getCurrentlyTextStyleName",value:function(){var r=this.imp.GetCurrentlyTextStyleName();return ye.decodeFromGb2312(r)}},{key:"setCurrentlyTextStyle",value:function(r){var a=ye.encodeToGb2312(r);this.imp.SetCurrentlyTextStyle(a)}},{key:"getCurrentlyLineWeight",value:function(){return this.imp.GetCurrentlyLineWeight()}},{key:"setCurrentlyLineWeight",value:function(r){return this.imp.SetCurrentlyLineWeight(r)}},{key:"getCurrentlyTextStyleId",value:function(){return new Oe(this.imp.GetCurrentlyTextStyleId(),rt.kMxCAD)}},{key:"SetCurrentlyTextStyleId",value:function(r){return this.imp.SetCurrentlyTextStyleId(r.id)}},{key:"getCurrentlyDimStyleId",value:function(){return new Oe(this.imp.GetCurrentlyDimStyleId(),rt.kMxCAD)}},{key:"setCurrentlyDimStyleId",value:function(r){return this.imp.SetCurrentlyDimStyleId(r.id)}},{key:"getCurrentlyLayerId",value:function(){return new Oe(this.imp.GetCurrentlyLayerId(),rt.kMxCAD)}},{key:"setCurrentlyLayerId",value:function(r){return this.imp.SetCurrentlyLayerId(r.id)}},{key:"getCurrentlyLinetypeId",value:function(){return new Oe(this.imp.GetCurrentlyLinetypeId(),rt.kMxCAD)}},{key:"setCurrentlyLinetypeId",value:function(r){return this.imp.SetCurrentlyLinetypeId(r.id)}},{key:"handleToIdIndex",value:function(r){var a=this.imp.HandleToIdIndex(r);return new Oe(a,rt.kMxCAD)}},{key:"isModifyed",value:function(){return this.imp.IsModifyed()}},{key:"resetModificationStatus",value:function(){return this.imp.SetModifyed(!1)}}]),t}(Ko),_o=function(i){de(t,i);var e=dr(t);function t(n){var r;return oe(this,t),r=e.call(this,n),n||r.initTempObject(new ne.mxcadassemblyimp.MdDbBlockTableRecord),r}return ue(t,[{key:"appendAcDbEntity",value:function(r){var a=r.syncData(!0),s=new Oe(this.imp.appendAcDbEntity(r.getImp()),rt.kMxCAD);return a&&Bn.getObjectFormId(s),s}},{key:"getAllEntityId",value:function(){for(var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,a=[],s=this.imp.getAllEntityId(r),o=s.length(),u=0;u0&&arguments[0]!==void 0?arguments[0]:!0,a=[],s=this.imp.getAllRecordId(r),o=s.length(),u=0;u0){var a=this.get(r,!1);if(a.isValid()){var s=a.getMcDbBlockTableRecord();return s&&s.isErased()&&s.unErase(),a}}var o=new _o;return o.name=r,new Oe(this.imp.add(o.getImp()),rt.kMxCAD)}else return new Oe(this.imp.add(r.getImp()),rt.kMxCAD)}},{key:"get",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,s=ye.encodeToGb2312(r);return new Oe(this.imp.get(s,a))}},{key:"has",value:function(r){var a=ye.encodeToGb2312(r);return this.imp.get(a,!0)!=0}}]),t}(Mn),qc=function(i){de(t,i);var e=dr(t);function t(n){var r;return oe(this,t),r=e.call(this,n),n||r.initTempObject(new ne.mxcadassemblyimp.MdDbRasterImageDef),r}return ue(t,[{key:"sourceFileName",get:function(){return ye.decodeFromGb2312(this.imp.sourceFileName())},set:function(r){this.imp.setSourceFileName(ye.encodeToGb2312(r))}},{key:"saveToBase64",value:function(r){return this.imp.saveToBase64(r)}}]),t}(Mn),ds=function(i){de(t,i);var e=dr(t);function t(n){var r;return oe(this,t),r=e.call(this,n),n||r.initTempObject(new ne.mxcadassemblyimp.MdDbDictionary),r}return ue(t,[{key:"getAllObject",value:function(){for(var r=[],a=this.imp.getAllObject(),s=a.length(),o=0;o1&&arguments[1]!==void 0?arguments[1]:!1,s=ye.encodeToGb2312(r);return new Oe(this.imp.getAt(s,a),rt.kMxCAD)}}]),t}(Mn),Zc=function(i){de(t,i);var e=dr(t);function t(n){var r;return oe(this,t),r=e.call(this,n),n||r.initTempObject(new ne.mxcadassemblyimp.MdDbXrecord),r}return ue(t,[{key:"setData",value:function(r){return this.imp.setData(r.getImp())}},{key:"getData",value:function(){return new ln(this.imp.getData())}}]),t}(Mn),Rv=function(i){de(t,i);var e=dr(t);function t(n){var r;return oe(this,t),r=e.call(this,n),n||r.initTempObject(new ne.mxcadassemblyimp.MdDbGroup),r}return ue(t,[{key:"description",get:function(){return ye.decodeFromGb2312(this.imp.description())},set:function(r){this.imp.setDescription(ye.encodeToGb2312(r))}},{key:"name",get:function(){return ye.decodeFromGb2312(this.imp.name())},set:function(r){this.imp.setName(ye.encodeToGb2312(r))}},{key:"isSelectable",get:function(){return this.imp.isSelectable()},set:function(r){this.imp.setSelectable(r)}},{key:"clear",value:function(){return this.imp.clear()}},{key:"append",value:function(r){return this.imp.append(r.id)}},{key:"appendArray",value:function(r){var a=new ua;return a.copyFormAryId(r),this.imp.appendArray(a.imp)}},{key:"has",value:function(r){return this.imp.has(r.id)}},{key:"getAllEntityId",value:function(){for(var r=[],a=this.imp.getAllEntityId(),s=a.length(),o=0;o=0?s=Math.PI-s:r<0&&a<0?s=Math.PI+s:r>=0&&a<0&&(s=Math.PI*2-s),s}function k_(i,e,t){var n={x:(i.x+e.x)/2,y:(i.y+e.y)/2},r=Math.sqrt(Math.pow(i.x-n.x,2)+Math.pow(i.y-n.y,2))/Math.sin(t/2),a={x:e.x-i.x,y:e.y-i.y},s={x:a.x/Math.sqrt(Math.pow(a.x,2)+Math.pow(a.y,2)),y:a.y/Math.sqrt(Math.pow(a.x,2)+Math.pow(a.y,2))},o={x:-s.y,y:s.x},u=n.x+r*o.x,l=n.y+r*o.y;return new fe(u,l)}function wy(){var i=window.location.hostname;return i.substring(0,4)!="http"&&(i=document.location.protocol+"//"+i),i}function Jc(i,e,t){var n=e.clone(),r=t.clone(),a=i.clone(),s=a.sub(n),o=r.sub(n),u=a.sub(r),l,c=s.crossProduct(o).length()/o.length(),f=s.dotProduct(o);return f<0?l=s.length():f>Math.pow(o.length(),2)?l=u.length():l=c,Math.floor(l)}function Du(i,e){for(var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,n=i.numVerts(),r=0;rc&&c>u)return{start:a,end:s,startIndex:r,endIndex:r+1,bulge:o}}}if(i.isClosed){var f=i.getPointAt(0).val,h=i.getPointAt(i.numVerts()-1).val,p=i.getBulgeAt(i.numVerts()-1);if(Jc(e,h,f)t.distanceTo(e):r7&&arguments[7]!==void 0?arguments[7]:!0,u=new pt,l=i.endPoint.sub(i.startPoint).normalize().mult(a),c=e.endPoint.sub(e.startPoint).normalize().mult(s);if(n){l.negate();var f=t.clone().addvec(l);o&&(i.endPoint=f),u.startPoint=f.clone()}else{var h=t.clone().addvec(l);o&&(i.startPoint=h),u.startPoint=h.clone()}if(r){c.negate();var p=t.clone().addvec(c);o&&(e.endPoint=p),u.endPoint=p.clone()}else{var m=t.clone().addvec(c);o&&(e.startPoint=m),u.endPoint=m.clone()}if(!(a<=0&&s<=0))return u}function Bl(i,e,t,n,r,a){var s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!0,o=arguments.length>7&&arguments[7]!==void 0?arguments[7]:!1,u=e.startPoint,l=e.endPoint,c=t.startPoint,f=t.endPoint,h=n.sub(r?u:l),p=n.sub(a?c:f),m=Math.tan(h.angleTo1(p)/2),v=i/m,g=Sc(e,t,n,r,a,o?0:v,o?0:v,s);if(!g)return{segmentLine:g,chamferDist:v};var d=g.startPoint.sub(n).perpVector(),y=g.endPoint.sub(n).perpVector();g.endPoint.addvec(y);var b=new pt(g.startPoint,g.startPoint.clone().addvec(d)).IntersectWith(new pt(g.endPoint,g.endPoint.clone().addvec(y)),yn.Intersect.kExtendBoth);if(!b.isEmpty()){var _=b.at(0),w=_.clone().addvec(n.sub(_).normalize().mult(i)),E=new $i,x=Tt.calcBulge(g.startPoint,w,g.endPoint).val;return E.computeArc(g.startPoint.x,g.startPoint.y,w.x,w.y,g.endPoint.x,g.endPoint.y),{arc:E,bulge:x,segmentLine:g,chamferDist:v,center:_,midPoint:w}}}function Zm(i,e){return(e.y-i.y)/(e.x-i.x)}function Ey(i,e){var t=Zm(i.startPoint,i.endPoint),n=Zm(e.startPoint,e.endPoint);return isNaN(t)&&isNaN(n)?i.startPoint.x===e.startPoint.x:t===n}function M_(i,e,t){var n=i.distanceTo(e),r=n/2,a=r*t,s=(r*r+a*a)/(2*a),o=(i.x+e.x)/2,u=(i.y+e.y)/2;return new fe(o,u).addvec(e.clone().sub(i).perpVector().normalize().mult(s-a))}var I_=function(){function i(){oe(this,i),ge(this,"serverUrl",""),ge(this,"mapFun",{})}return ue(i,[{key:"init",value:function(t){t.substring(0,16)=="http://localhost"&&(t=wy()+t.substring(16)),this.serverUrl=t}},{key:"addFunction",value:function(t,n){this.mapFun[t]=n}},{key:"registTool",value:function(t){if(this.serverUrl.length!=0){var n=new XMLHttpRequest,r=this.serverUrl+"/add_toolfun";n.open("POST",r),n.setRequestHeader("Content-Type","application/json"),n.send(JSON.stringify(t)),n.onreadystatechange=function(){n.readyState===4&&n.status===200&&console.log(n.responseText)}}}},{key:"reloadTools",value:function(t){if(this.serverUrl.length!=0){var n=new XMLHttpRequest,r=this.serverUrl+"/reload_toolfun";n.open("POST",r),n.setRequestHeader("Content-Type","application/json"),n.send(JSON.stringify(t)),n.onreadystatechange=function(){n.readyState===4&&n.status===200&&console.log(n.responseText)}}}},{key:"chat_tool",value:function(t){if(this.serverUrl.length!=0){var n=this,r={text:t},a=new XMLHttpRequest,s=this.serverUrl+"/post";a.open("POST",s),a.setRequestHeader("Content-Type","application/json"),a.send(JSON.stringify(r)),a.onreadystatechange=function(){if(a.readyState===4&&a.status===200)try{var o=JSON.parse(a.responseText),u=o.results;u&&u.name&&n.mapFun[u.name]&&n.mapFun[u.name](u.parameters)}catch(l){console.log(l)}}}}}]),i}(),P_=function(){function i(){oe(this,i),ge(this,"mapCppCall",{}),ge(this,"currentOptNum",1)}return ue(i,[{key:"init",value:function(){var t=window,n=this;t.loadFonts_complete=function(r){n.mapCppCall[r]&&(n.mapCppCall[r](),delete n.mapCppCall[r])}}},{key:"loadFonts",value:function(t,n,r,a){var s=new Va;t.forEach(function(o){s.append(o)}),n.forEach(function(o){s.append("{big}"+o)}),r.forEach(function(o){s.append("{font}"+o)}),this.currentOptNum++,this.mapCppCall[this.currentOptNum]=a,ne.App.getImp().loadFonts(s.imp,this.currentOptNum)}}]),i}(),Jm=new P_,Lv=function(i){return i[i.EMSCRIPTEN_FETCH_LOAD_TO_MEMORY=1]="EMSCRIPTEN_FETCH_LOAD_TO_MEMORY",i[i.EMSCRIPTEN_FETCH_PERSIST_FILE=4]="EMSCRIPTEN_FETCH_PERSIST_FILE",i[i.EMSCRIPTEN_FETCH_APPEND=8]="EMSCRIPTEN_FETCH_APPEND",i[i.EMSCRIPTEN_FETCH_REPLACE=16]="EMSCRIPTEN_FETCH_REPLACE",i}(Lv||{}),vl=function(){function i(e){oe(this,i),ge(this,"imp",void 0),ge(this,"event",{}),ge(this,"currentFileName",""),ge(this,"currentOriginalFileName",""),ge(this,"firstTimeOpenFile",!0),ge(this,"authorized_service",""),this.imp=e}return ue(i,[{key:"creaeCallId",value:function(){return Math.round(Math.random()*1e7)}},{key:"setAttribute",value:function(t){return this.imp.setAttribute(JSON.stringify(t))}},{key:"getMxDrawObject",value:function(){return this.imp.mxdrawObject}},{key:"mxdraw",get:function(){return this.imp.mxdrawObject}},{key:"getImp",value:function(){return this.imp}},{key:"init",value:function(t){this.imp=t}},{key:"create",value:function(t){nh(t,this)}},{key:"on",value:function(t,n){if(this.event[t])if(this.event[t]instanceof Array)this.event[t].includes(n)||this.event[t].push(n);else{var r=this.event[t];if(r==n)return;this.event[t]=[],this.event[t].push(r),this.event[t].push(n)}else this.event[t]=n}},{key:"off",value:function(t,n){if(this.event[t])if(!n)this.event[t]=[];else if(this.event[t]instanceof Array){var r=this.event[t].indexOf(n);if(r<0)return;this.event[t].splice(r,1)}else this.event[t]===n&&(this.event[t]=[])}},{key:"callEvent",value:function(t,n){try{var r=this.event[t];if(!r)return!1;if(r instanceof Array){var a=!1;return r.forEach(function(s){a=s(n)}),a}else return r(n)}catch(s){throw console.log(s),s}}},{key:"initMxObject",value:function(t){var n=this;t.tmp||(t.tmp=new kw(t)),this.imp.mxdrawObject=t.tmp,t.addEvent("selectChange",function(l){var c=[];l.forEach(function(h){c.push(new Oe(h,rt.kMxCAD))});var f=t.getMxAllSelect();f.forEach(function(h){c.push(new Oe(h,rt.kMxDraw))}),n.callEvent("selectChange",c)}),t.addEvent("mxdrawSelectChange",function(l){var c=[];l.forEach(function(h){c.push(new Oe(h,rt.kMxDraw))});var f=t.getMxCADAllSelect();f.forEach(function(h){c.push(new Oe(h,rt.kMxCAD))}),n.callEvent("selectChange",c)});var r=this;t.addEvent("openFileComplete",function(){n.callEvent("openFileComplete",r)});var a={selectChange:!0,openFileComplete:!0,init:!0,init_mxdraw:!0,init_mxcad:!0,init_before_mxdraw:!0},s={};for(var o in this.event){var u=this.event[o];if(a[o]){s[o]=u;continue}u instanceof Array?u.forEach(function(l){t.addEvent(o,l)}):t.addEvent(o,u)}this.event=s}},{key:"regen",value:function(){var t=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;n<=0?this.imp.regen():setTimeout(function(){t.imp.regen(),t.updateDisplay(!1)},n)}},{key:"zoomAll",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,n=this.database.currentSpace.getBoundingBox();if(!n.ret)return!1;var r=this.getMxDrawObject();return r.zoomW(n.minPt.toVector3(),n.maxPt.toVector3(),void 0,void 0,t),!0}},{key:"zoomScale",value:function(t){this.getMxDrawObject().zoomScale(t)}},{key:"addCurrentSelect",value:function(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(t instanceof Array){var a=!1,s=!1;t.forEach(function(o){o.type==rt.kMxDraw?n.getMxDrawObject().addMxCurrentSelect(o.id,!1,r)&&(a=!0):o.type==rt.kMxCAD&&n.getMxDrawObject().addMxCADCurrentSelect(o.id,!1,r)&&(s=!0)}),a&&this.getMxDrawObject().fireSelectChange(!1),s&&this.getMxDrawObject().fireSelectChange(!0)}else t.type==rt.kMxDraw?this.getMxDrawObject().addMxCurrentSelect(t.id,!0,r):t.type==rt.kMxCAD&&this.getMxDrawObject().addMxCADCurrentSelect(t.id,!0,r)}},{key:"clearMxCurrentSelect",value:function(){this.getMxDrawObject().clearMxCurrentSelect()}},{key:"zoomW",value:function(t,n){var r=this.getMxDrawObject();r.zoomW(t.toVector3(),n.toVector3())}},{key:"zoomCenter",value:function(t,n){var r=this.getMxDrawObject();r.zoomCenter(t,n)}},{key:"zoomAngle",value:function(t){var n=this.getMxDrawObject();n.setViewAngle(t),this.updateDisplay(!1,100)}},{key:"openWebFile",value:function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=arguments.length>3?arguments[3]:void 0,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,u=this.imp.mxdrawObject,l=Math.round(Math.random()*1e7);if(n){var c=window;c["mx_exception handling"]=function(){c["mx_exception handling"]=void 0,n(-10)};var f=function d(y,b){l==b&&(c["mx_exception handling"]=void 0,u.removeEventFuction("openFileComplete",d),n(y))};u.addEvent("openFileComplete",f)}this.currentFileName=t.split("/").pop(),this.currentOriginalFileName=this.currentFileName;var h="";a&&(h=JSON.stringify(a)),this.firstTimeOpenFile||this.getMxDrawObject().clearAllObject(),this.firstTimeOpenFile=!1;var p=ne.App.getImp().getCodeVersion();if(p==3){var m="";this.authorized_service.length!=0?m=this.authorized_service:m=wy()+":3090/create_app_param";var v=this,g=new XMLHttpRequest;return g.open("POST",m),g.setRequestHeader("Content-Type","application/json"),g.onreadystatechange=function(){g.status===200?g.readyState===4&&(!g.responseText||g.responseText.length==0?(v.imp.openWebFile("",r,l,h,s,o),console.log("MxTip:authorized service retrun error!")):v.imp.openWebFile(g.responseText,r,l,h,s,o)):(v.imp.openWebFile("",r,l,h,s,o),console.log("MxTip:authorized service net error!"))},g.send(JSON.stringify({param:ne.App.getImp().createAppParam(t)})),!0}else return this.imp.openWebFile(t,r,l,h,s,o)}},{key:"newFile",value:function(){return this.currentFileName="",this.currentOriginalFileName="",this.getMxDrawObject().clearAllObject(),this.imp.newFile()}},{key:"insertBlock",value:function(t,n){var r=this,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,l=this.imp.mxdrawObject,c=Math.round(Math.random()*1e7);return new Promise(function(f){var h=function m(v){(!v||v.length==0)&&f(new Oe);var g=JSON.parse(v);g.callid==c&&(l.removeEventFuction("insertBlockComplete",m),g.result!=0&&console.log("insertBlock result:"+g.result),f(new Oe(g.blkrecid,rt.kMxCAD)))};l.addEvent("insertBlockComplete",h);var p="";r.imp.insertBlock(t,ye.encodeToGb2312(n),a,c,p,s,o,u)})}},{key:"getCurrentFileName",value:function(){return this.currentFileName}},{key:"setCurrentFileName",value:function(t){this.currentFileName=t}},{key:"getCurrentOriginaFileName",value:function(){return this.currentOriginalFileName}},{key:"setCurrentOriginaFileName",value:function(t){this.currentOriginalFileName=t}},{key:"saveFileToUrl",value:function(t,n,r,a){var s=this.imp.saveFileToMemory();if(s.getSize()==0)return n(-1,"save failed"),!1;var o=s.getData(),u=s.getSize(),l=ne.mxcadassemblyimp.HEAPU8,c=l.subarray(o,o+u),f=new ArrayBuffer(s.getSize()),h=new Uint8Array(f);return h.set(c),s.clear(),fo.postMemoryFile(h,t,r||"temp.mxweb",n,a),!0}},{key:"saveFile",value:function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,s=arguments.length>4?arguments[4]:void 0;t||(t=this.getCurrentFileName(),t.length==0&&(t="temp_empty.mxweb")),(t.indexOf(".")==-1||t.substring(t.length-6)!=".mxweb")&&(t+=".mxweb");var o=window;o.mx_saveFile_call=function(l){if(n&&n(l),!!l){if(r){var c,f=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);f?c=new Blob([l.buffer],{type:"application/octet-stream"}):c=new Blob([l.buffer],{type:"application/octet-binary"}),a?fo.saveAsFileDialog({blob:c,filename:t,types:[{description:"mxweb File",accept:{"application/octet-stream":[".mxweb"]}}]}):fo.downloadFile(c,t)}o.mx_saveFile_call=null}};var u="";return s&&(u=JSON.stringify(s)),this.imp.saveFile(t,u)}},{key:"getDatabase",value:function(){return this.imp.McDbDatabase||(this.imp.McDbDatabase=new xs(this.imp.GetDatabase())),this.imp.McDbDatabase}},{key:"database",get:function(){return this.getDatabase()}},{key:"setBrowse",value:function(t){this.imp.setBrowse(t),t&&Ve.setIniset({ForbiddenDynInput:!0})}},{key:"getSysVarString",value:function(t){return this.imp.GetSysVarString(t)}},{key:"setSysVarString",value:function(t,n){return this.imp.SetSysVarString(t,n)}},{key:"getSysVarDouble",value:function(t){return this.imp.GetSysVarDouble(t)}},{key:"getSysVarPoint",value:function(t){return new fe(this.imp.GetSysVarPoint(t))}},{key:"setSysVarPoint",value:function(t,n){return this.imp.SetSysVarPoint(t,n.imp,!1)}},{key:"setSysVarPoint2d",value:function(t,n){return this.imp.SetSysVarPoint(t,n.imp,!0)}},{key:"setSysVarDouble",value:function(t,n){return this.imp.SetSysVarDouble(t,n)}},{key:"getSysVarLong",value:function(t){return this.imp.GetSysVarLong(t)}},{key:"setSysVarLong",value:function(t,n){return this.imp.SetSysVarLong(t,n)}},{key:"drawColor",get:function(){return new pr(this.imp.GetDrawColor())},set:function(t){this.imp.SetDrawColor(t.getImp())}},{key:"drawColorIndex",get:function(){return this.imp.GetDrawColor().colorIndex},set:function(t){var n=new pr;n.setColorIndex(t),this.imp.SetDrawColor(n.getImp())}},{key:"drawLineWeight",get:function(){return this.imp.GetDrawLineWeight()},set:function(t){this.imp.SetDrawLineWeight(t)}},{key:"drawLineTypeScale",get:function(){return this.imp.GetDrawLineTypeScale()},set:function(t){this.imp.SetDrawLineTypeScale(t)}},{key:"drawLinetype",get:function(){return ye.decodeFromGb2312(this.imp.GetDrawLinetype())},set:function(t){this.imp.SetDrawLinetype(ye.encodeToGb2312(t))}},{key:"drawTextStyle",get:function(){return ye.decodeFromGb2312(this.imp.GetDrawTextStyle())},set:function(t){this.imp.SetDrawTextStyle(ye.encodeToGb2312(t))}},{key:"drawLayer",get:function(){return ye.decodeFromGb2312(this.imp.GetDrawLayer())},set:function(t){this.imp.SetDrawLayer(ye.encodeToGb2312(t))}},{key:"addLayer",value:function(t){return new Oe(this.imp.AddLayer(ye.encodeToGb2312(t)))}},{key:"addTextStyle",value:function(t,n,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;return new Oe(this.imp.AddTextStyle(ye.encodeToGb2312(t),ye.encodeToGb2312(n),ye.encodeToGb2312(r),a))}},{key:"AddTureTypeTextStyle",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return new Oe(this.imp.AddTureTypeTextStyle(ye.encodeToGb2312(t),ye.encodeToGb2312(n),r))}},{key:"addLinetype",value:function(t,n){return new Oe(this.imp.AddLinetype(ye.encodeToGb2312(t),ye.encodeToGb2312(n)))}},{key:"addLinetypeEx",value:function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";return new Oe(this.imp.AddLinetypeEx(ye.encodeToGb2312(t),ye.encodeToGb2312(n),ye.encodeToGb2312(r)))}},{key:"drawLine",value:function(t,n,r,a){return new Oe(this.imp.DrawLine(t,n,0,r,a,0))}},{key:"drawLine3d",value:function(t,n,r,a,s,o){return new Oe(this.imp.DrawLine(t,n,r,a,s,o))}},{key:"addDimStyle",value:function(t,n,r,a,s){return new Oe(this.imp.AddDimStyle(ye.encodeToGb2312(t),ye.encodeToGb2312(n),ye.encodeToGb2312(r),ye.encodeToGb2312(a),ye.encodeToGb2312(s)))}},{key:"drawDimStyle",get:function(){return ye.decodeFromGb2312(this.imp.GetDrawDimStyle())},set:function(t){this.imp.SetDrawDimStyle(ye.encodeToGb2312(t))}},{key:"pathMakeExclude",value:function(t){this.imp.PathMakeExclude(t)}},{key:"addPatternDefinition",value:function(t,n){this.imp.AddPatternDefinition(ye.encodeToGb2312(t),ye.encodeToGb2312(n))}},{key:"drawPatternDefinition",get:function(){return ye.decodeFromGb2312(this.imp.GetPatternDefinition())},set:function(t){this.imp.SetPatternDefinition(ye.encodeToGb2312(t))}},{key:"drawLineWidth",get:function(){return this.imp.GetDrawLineWidth()},set:function(t){this.imp.SetDrawLineWidth(t)}},{key:"drawUseDefaultProperties",get:function(){return this.imp.GetDrawUseDefaultProperties()},set:function(t){this.imp.SetDrawUseDefaultProperties(t)}},{key:"drawArc",value:function(t,n,r,a,s){return new Oe(this.imp.DrawArc(t,n,r,a,s))}},{key:"drawArc2",value:function(t,n,r,a,s,o){return new Oe(this.imp.DrawArc2(t,n,r,a,s,o))}},{key:"drawArc3",value:function(t,n,r,a,s){return new Oe(this.imp.DrawArc3(t,n,r,a,s))}},{key:"drawCircle",value:function(t,n,r){return new Oe(this.imp.DrawCircle(t,n,r))}},{key:"loadImage",value:function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";this.imp.mxdrawObject.getMxObjectImplement().loadMxCADImage(t,n,r)}},{key:"drawImage",value:function(t,n,r,a,s,o){var u=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,l=arguments.length>7&&arguments[7]!==void 0?arguments[7]:1,c=arguments.length>8&&arguments[8]!==void 0?arguments[8]:1;return new Oe(this.imp.DrawImage(t,n,r,a,s,ye.encodeToGb2312(o),u,l,c))}},{key:"addImageDefine",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return new Oe(this.imp.addImageDefine(ye.encodeToGb2312(t),ye.encodeToGb2312(n),r))}},{key:"showLineWeight",value:function(t){var n=this.imp.showLineWeight(t);return this.updateDisplay(!1),n}},{key:"loadDwgBackground",value:function(t,n){var r=this,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,o=this.creaeCallId(),u=this.imp.mxdrawObject,l=function c(f){f=JSON.parse(f),f.callid==o&&(u.removeEventFuction("load_dwg_gackground_result",c),n(f.l_param==1),f.l_param==1&&s&&r.regen(100))};u.addEvent("load_dwg_gackground_result",l),this.imp.loadDwgBackground(t,a,o,s)}},{key:"getBackgroundEntity",value:function(){return new Iv(this.imp.GetBackgroundEntity())}},{key:"clearDwgBackground",value:function(){this.getBackgroundEntity().clearAll()}},{key:"addSystemVarNameForEvent",value:function(t){var n=this;t.forEach(function(r){n.imp.addSystemVarNameForEvent(r)})}},{key:"drawEllipse",value:function(t,n,r,a,s){return new Oe(this.imp.DrawEllipse(t,n,r,a,s))}},{key:"drawEllipseArc",value:function(t,n,r,a,s,o,u){return new Oe(this.imp.DrawEllipseArc(t,n,r,a,s,o,u))}},{key:"drawPoint",value:function(t,n){return new Oe(this.imp.DrawPoint(t,n))}},{key:"drawSolid",value:function(t,n,r,a,s,o,u,l){return new Oe(this.imp.DrawSolid(t,n,r,a,s,o,u,l))}},{key:"drawMText",value:function(t,n,r,a,s,o,u){return new Oe(this.imp.DrawMText(t,n,ye.encodeToGb2312(r),a,s,o,u))}},{key:"drawText",value:function(t,n,r,a,s,o,u){return new Oe(this.imp.DrawText(t,n,ye.encodeToGb2312(r),a,s,o,u))}},{key:"drawBlockReference",value:function(t,n,r,a,s){return new Oe(this.imp.DrawBlockReference(t,n,ye.encodeToGb2312(r),a,s))}},{key:"drawDimAligned",value:function(t,n,r,a,s,o){return new Oe(this.imp.DrawDimAligned(t,n,r,a,s,o))}},{key:"drawDimAngular",value:function(t,n,r,a,s,o,u,l){return new Oe(this.imp.DrawDimAngular(t,n,r,a,s,o,u,l))}},{key:"drawDimDiametric",value:function(t,n,r,a,s){return new Oe(this.imp.DrawDimDiametric(t,n,r,a,s))}},{key:"drawDimRotated",value:function(t,n,r,a,s,o,u){return new Oe(this.imp.DrawDimRotated(t,n,r,a,s,o,u))}},{key:"drawDimOrdinate",value:function(t,n,r,a,s){return new Oe(this.imp.DrawDimOrdinate(t,n,r,a,s))}},{key:"drawDimRadial",value:function(t,n,r,a,s){return new Oe(this.imp.DrawDimRadial(t,n,r,a,s))}},{key:"pathMoveTo",value:function(t,n){this.imp.PathMoveTo(t,n)}},{key:"pathMoveToEx",value:function(t,n,r,a,s){this.imp.PathMoveToEx(t,n,r,a,s)}},{key:"pathLineTo",value:function(t,n){this.imp.PathLineTo(t,n)}},{key:"pathLineToEx",value:function(t,n,r,a,s){this.imp.PathLineToEx(t,n,r,a,s)}},{key:"pathCircle",value:function(t,n,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;return this.imp.PathCircle(t,n,r,a,s)}},{key:"drawPathToPolyline",value:function(){return new Oe(this.imp.DrawPathToPolyline())}},{key:"drawPathToSpline",value:function(){return new Oe(this.imp.DrawPathToSpline())}},{key:"pathMakeClosed",value:function(){this.imp.PathMakeClosed()}},{key:"drawPathToHatch",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1;return new Oe(this.imp.DrawPathToHatch(t))}},{key:"drawEntity",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=t.syncData(!0),a=new Oe(this.imp.DrawEntity(t.getImp(),n));return r&&Bn.getObjectFormId(a),a}},{key:"drawHatch",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return new Oe(this.imp.DrawHatch(t.getImp(),n))}},{key:"objectIdToObject",value:function(t){return ne.App.objectIdToObject(t)}},{key:"destroyObject",value:function(t){t&&ne.App.getImp().DestroyObject(t)}},{key:"getAllLayoutName",value:function(){return new Va(this.imp.GetAllLayoutName())}},{key:"setCurrentLayout",value:function(t){this.imp.SetCurrentLayout(ye.encodeToGb2312(t))}},{key:"getMxCpp",value:function(){return ne}},{key:"getViewCADCoord",value:function(){var t=this.getMxDrawObject().getViewDocCoord();return{pt1:new fe(t.pt1),pt2:new fe(t.pt2),pt3:new fe(t.pt3),pt4:new fe(t.pt4)}}},{key:"updateDisplay",value:function(){var t=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;r<=0?this.imp.mxdrawObject.updateDisplay(n):setTimeout(function(){t.imp.mxdrawObject.updateDisplay(n)},r)}},{key:"updateLayerDisplayStatus",value:function(){this.imp.UpdateLayerDisplayStatus()}},{key:"initRegist",value:function(t){this.imp.initRegist(t)}},{key:"iniAuthorizedService",value:function(t){this.imp.initAuthorizedService(t),this.authorized_service=t}},{key:"isTryVersion",value:function(){return this.imp.isTryVersion()}},{key:"setViewBackgroundColor",value:function(t,n,r){var a=this.getMxDrawObject();return a&&a.setViewColor(t<<16|n<<8|r),this.imp.setViewBackgroundColor(t,n,r)}},{key:"getCurrentDatabaseDrawColor",value:function(){var t=this.getDatabase().getImp().GetCurrentlyDrawColor(),n=this.getMxDrawObject().isWhiteViewColor(),r=t.at(0),a=t.at(1),s=t.at(2);n?r==255&&a==255&&s==255&&(r=0,a=0,s=0):r==0&&a==0&&s==0&&(r=255,a=255,s=255);var o=new THREE.Color;return o.setRGB(r/255,a/255,s/255),o}},{key:"undo",value:function(){this.imp.undo(),this.updateDisplay(!1)}},{key:"redo",value:function(){this.imp.redo(),this.updateDisplay()}},{key:"undoMark",value:function(){this.imp.undoMark()}}]),i}(),Bv=function(){function i(){oe(this,i),ge(this,"imp",void 0),ge(this,"MxCADAssist",void 0),ge(this,"objectIdToObjectCalls",{}),ge(this,"classNameToCreateCalls",{}),ge(this,"shxFonts",["txt.shx"]),ge(this,"shxBigFonts",["hztxt.shx"]),ge(this,"trueFonts",{syadobe:{name:"syadobe",zhname:"思原黑体",file:"syadobe.otf"}}),ge(this,"dMcGeBakTol",-1)}return ue(i,[{key:"init",value:function(t){this.imp=t,at.kZAxis=new at(0,0,1),at.kNegateZAxis=new at(0,0,-1),at.kXAxis=new at(1,0,0),at.kYAxis=new at(0,1,0),at.kIdentity=new at(0,0,0),fe.kOrigin=new fe(0,0,0),Ir.kIdentity=new Ir,this.MxCADAssist=new ne.mxcadassemblyimp.MxDrawAssist,this.initCalls(),Jm.init()}},{key:"getImp",value:function(){return this.imp}},{key:"getLastCallResult",value:function(){return this.imp.getLastCallResult()}},{key:"destroyObject",value:function(t){this.imp.DestroyObject(t)}},{key:"getCurrentMxCAD",value:function(){var t=this.imp.GetCurrentMxDraw();return t.McObject||(t.McObject=new vl(this.imp.GetCurrentMxDraw())),t.McObject}},{key:"mcedRGB2Index",value:function(t,n,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;return this.imp.mcedRGB2Index(t,n,r,a)}},{key:"setDefaultViewBackgroundColor",value:function(t,n,r){return this.imp.setDefaultViewBackgroundColor(t,n,r)}},{key:"objectIdIsKindOf",value:function(t,n){return this.imp.ObjectIdIsKindOf(t,n)}},{key:"initCalls",value:function(){var t=this;this.objectIdToObjectCalls.McDbCurve=function(n){return new Jn(t.imp.ObjectIdToMdDbCurve(n))},this.objectIdToObjectCalls.McDbEntity=function(n){return new cn(t.imp.ObjectIdToMdDbEntity(n))},this.objectIdToObjectCalls.McDbDimension=function(n){return new Fa(t.imp.ObjectIdToMdDbDimension(n))},this.classNameToCreateCalls.McDbDimension=function(){return new Fa},this.objectIdToObjectCalls.McDbLine=function(n){return new pt(t.imp.ObjectIdToMdDbLine(n))},this.classNameToCreateCalls.McDbLine=function(){return new pt},this.objectIdToObjectCalls.McDbText=function(n){return new ps(t.imp.ObjectIdToMdDbText(n))},this.classNameToCreateCalls.McDbText=function(){return new ps},this.objectIdToObjectCalls.McDbAttribute=function(n){return new Ic(t.imp.ObjectIdToMdDbAttribute(n))},this.classNameToCreateCalls.McDbAttribute=function(){return new Ic},this.objectIdToObjectCalls.McDbAttributeDefinition=function(n){return new Pc(t.imp.ObjectIdToMdDbAttributeDefinition(n))},this.classNameToCreateCalls.McDbAttributeDefinition=function(){return new Pc},this.objectIdToObjectCalls.McDbPolyline=function(n){return new st(t.imp.ObjectIdToMdDbPolyline(n))},this.classNameToCreateCalls.McDbPolyline=function(){return new st},this.objectIdToObjectCalls.McDbCircle=function(n){return new Ln(t.imp.ObjectIdToMdDbCircle(n))},this.classNameToCreateCalls.McDbCircle=function(){return new Ln},this.objectIdToObjectCalls.McDbArc=function(n){return new $i(t.imp.ObjectIdToMdDbArc(n))},this.classNameToCreateCalls.McDbArc=function(){return new $i},this.objectIdToObjectCalls.McDbBlockReference=function(n){return new Au(t.imp.ObjectIdToMdDbBlockReference(n))},this.classNameToCreateCalls.McDbBlockReference=function(){return new Au},this.objectIdToObjectCalls.McDbSpatialFilter=function(n){return new Fc(t.imp.ObjectIdToMdDbSpatialFilter(n))},this.classNameToCreateCalls.McDbSpatialFilter=function(){return new Fc},this.objectIdToObjectCalls.McDbAlignedDimension=function(n){return new Rc(t.imp.ObjectIdToMdDbAlignedDimension(n))},this.classNameToCreateCalls.McDbAlignedDimension=function(){return new Rc},this.objectIdToObjectCalls.McDbRotatedDimension=function(n){return new Lc(t.imp.ObjectIdToMdDbRotatedDimension(n))},this.classNameToCreateCalls.McDbRotatedDimension=function(){return new Lc},this.objectIdToObjectCalls.McDb2LineAngularDimension=function(n){return new Bc(t.imp.ObjectIdToMdDb2LineAngularDimension(n))},this.classNameToCreateCalls.McDb2LineAngularDimension=function(){return new Bc},this.objectIdToObjectCalls.McDbMText=function(n){return new Su(t.imp.ObjectIdToMdDbMText(n))},this.classNameToCreateCalls.McDbMText=function(){return new Su},this.objectIdToObjectCalls.McDbEllipse=function(n){return new bo(t.imp.ObjectIdToMdDbEllipse(n))},this.classNameToCreateCalls.McDbEllipse=function(){return new bo},this.objectIdToObjectCalls.McDbPoint=function(n){return new xu(t.imp.ObjectIdToMdDbPoint(n))},this.classNameToCreateCalls.McDbPoint=function(){return new xu},this.objectIdToObjectCalls.McDbBlockTableRecord=function(n){return new _o(t.imp.ObjectIdToMdDbBlockTableRecord(n))},this.classNameToCreateCalls.McDbBlockTableRecord=function(){return new _o},this.objectIdToObjectCalls.McDbLayerTableRecord=function(n){return new zc(t.imp.ObjectIdToMdDbLayerTableRecord(n))},this.classNameToCreateCalls.McDbLayerTableRecord=function(){return new zc},this.objectIdToObjectCalls.McDbLinetypeTableRecord=function(n){return new Uc(t.imp.ObjectIdToMdDbLinetypeTableRecord(n))},this.classNameToCreateCalls.McDbLinetypeTableRecord=function(){return new Uc},this.objectIdToObjectCalls.McDbDimStyleTableRecord=function(n){return new Vc(t.imp.ObjectIdToMdDbDimStyleTableRecord(n))},this.classNameToCreateCalls.McDbDimStyleTableRecord=function(){return new Vc},this.objectIdToObjectCalls.McDbTextStyleTableRecord=function(n){return new Wc(t.imp.ObjectIdToMdDbTextStyleTableRecord(n))},this.classNameToCreateCalls.McDbTextStyleTableRecord=function(){return new Wc},this.objectIdToObjectCalls.McDbHatch=function(n){return new Tu(t.imp.ObjectIdToMdDbHatch(n))},this.classNameToCreateCalls.McDbHatch=function(){return new Tu},this.objectIdToObjectCalls.McDbProxyEntity=function(n){return new Oc(t.imp.ObjectIdToMdDbProxyEntity(n))},this.classNameToCreateCalls.McDbProxyEntity=function(){return new Oc},this.objectIdToObjectCalls.McDbRasterImage=function(n){return new Nc(t.imp.ObjectIdToMdDbRasterImage(n))},this.classNameToCreateCalls.McDbRasterImage=function(){return new Nc},this.objectIdToObjectCalls.McDbRasterImageDef=function(n){return new qc(t.imp.ObjectIdToMdDbRasterImageDef(n))},this.classNameToCreateCalls.McDbRasterImageDef=function(){return new qc},this.objectIdToObjectCalls.McDbWipeout=function(n){return new Gc(t.imp.ObjectIdToMdDbWipeout(n))},this.classNameToCreateCalls.McDbWipeout=function(){return new Gc},this.objectIdToObjectCalls.McDbSpline=function(n){return new wo(t.imp.ObjectIdToMdDbSpline(n))},this.classNameToCreateCalls.McDbSpline=function(){return new wo},this.objectIdToObjectCalls.McDbDictionary=function(n){return new ds(t.imp.ObjectIdToMdDbDictionary(n))},this.classNameToCreateCalls.McDbDictionary=function(){return new ds},this.objectIdToObjectCalls.McDbXrecord=function(n){return new Zc(t.imp.ObjectIdToMdDbXrecord(n))},this.classNameToCreateCalls.McDbXrecord=function(){return new Zc}}},{key:"objectIdToObject",value:function(t){if(!t)return null;var n=this.imp.ObjectIdToObjectName(t);if(this.objectIdToObjectCalls[n])return this.objectIdToObjectCalls[n](t);if(n=="McDbCustomEntity"){var r=this.imp.ObjectIdToMdDbCustomEntity(t);if(!r)return null;var a=r.getCustomEntityid(),s=r.GetDatabaseIndexId();return ne.App.destroyObject(r),a==0||s==0?null:Bn.getObject(a,s)}if(this.imp.ObjectIdIsKindOf(t,"McDbCurve"))return this.objectIdToObjectCalls.McDbCurve(t);if(this.imp.ObjectIdIsKindOf(t,"McDbDimension"))return this.objectIdToObjectCalls.McDbDimension(t);if(this.imp.ObjectIdIsKindOf(t,"McDbEntity"))return this.objectIdToObjectCalls.McDbEntity(t);var o=this.imp.ObjectIdToMdObject(t);return new Mn(o)}},{key:"createCloneObject",value:function(t){if(!t)return null;var n=t.getObjectName();if(n=="McDbCustomEntity"){var r=t.getCustomEntityid(),a=t.GetDatabaseIndexId(),s=null;return r==0||a==0?(s=Bn.createMxEntity(t.getCustomEntityTypeName()),s&&(s.getImp().ConnectionTempObject(t),s.syncData(!1))):s=Bn.getObject(r,a),ne.App.destroyObject(t),s}else{var o=null;return this.classNameToCreateCalls[n]?o=this.classNameToCreateCalls[n]():t.isKindOf("McDbCurve")?(o=new Jn,o.initTempObject(new ne.mxcadassemblyimp.MdDbCurve)):t.isKindOf("McDbEntity")&&(o=new cn,o.initTempObject(new ne.mxcadassemblyimp.MdDbEntity)),o?(o.getImp().ConnectionTempObject(t),ne.App.destroyObject(t),o):new Mn(t)}}},{key:"setFontFilePath",value:function(t){this.imp.setFontFilePath(t)}},{key:"setDefaultTrueTypeFontFile",value:function(t){this.imp.setDefaultTrueTypeFontFile(t)}},{key:"addNetworkLoadingFont",value:function(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];this.shxFonts=[],typeof t=="string"?(this.imp.addNetworkLoadingFont(t),this.shxFonts.push(t)):(this.shxFonts=t,t.forEach(function(a){n.imp.addNetworkLoadingFont(a)})),r.forEach(function(a){n.imp.addFontsLoadOnInitialization(a,0)})}},{key:"IniSet",value:function(t){return t.UseUtf8&&(ye.isUseUtf8=t.UseUtf8),this.imp.IniSet(JSON.stringify(t))}},{key:"setMcGeTol",value:function(t){return this.dMcGeBakTol=this.imp.setMcGeTol(t),this.dMcGeBakTol}},{key:"restoreMcGeTol",value:function(){this.dMcGeBakTol>0&&(this.imp.setMcGeTol(this.dMcGeBakTol),this.dMcGeBakTol=-1)}},{key:"addNetworkLoadingBigFont",value:function(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];this.shxBigFonts=[],typeof t=="string"?(this.imp.addNetworkLoadingFont(t),this.shxBigFonts.push(t)):(this.shxBigFonts=t,t.forEach(function(a){n.imp.addNetworkLoadingFont(a)})),r.forEach(function(a){n.imp.addFontsLoadOnInitialization(a,1)})}},{key:"addNetworkLoadingTrueTypeFont",value:function(t,n,r){for(var a=this,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[],o=t.length,u=0;u1&&arguments[1]!==void 0?arguments[1]:!0,r=t.getMcDbEntity();r&&r.getImp().setPropertiesWindowCustom(n)}},{key:"getEntityProperties",value:function(t){var n=t.getMcDbEntity();return n?n.getImp().isPropertiesWindowCustom()?this.getPropertiesCall==null?[]:this.getPropertiesCall(t):[]:[]}},{key:"setEntityProperties",value:function(t,n){var r=t.getMcDbEntity();if(r&&r.getImp().isPropertiesWindowCustom()&&this.setPropertiesCall!=null)return this.setPropertiesCall(t,n)}}]),i}(),Ty=function(){function i(){oe(this,i),ge(this,"imp",void 0),ge(this,"result",[]),this.imp=new ne.mxcadassemblyimp.MxCompare}return ue(i,[{key:"getTypeString",value:function(t){var n="";switch(t){case 0:n="no modify";break;case 1:n="unknown";break;case 2:n="object modify";break;case 3:n="object erase";break;case 4:n="object add";break;default:n="unknown"}return n}},{key:"do",value:function(t){if(this.result=[],this.imp.Do(t.imp)){for(var n=new ln(this.imp.getResult()),r=n.GetCount(),a=0;a+20&&arguments[0]!==void 0?arguments[0]:!0;oe(this,i),ge(this,"bakIsIntelliSelect",!0),this.bakIsIntelliSelect=Ve.getIniSet().EnableIntelliSelect,Ve.setIniset({EnableIntelliSelect:!e})}return ue(i,[{key:"restoreSettings",value:function(){Ve.setIniset({EnableIntelliSelect:this.bakIsIntelliSelect})}}]),i}(),ne;function Uv(i){return _p.apply(this,arguments)}function _p(){return _p=ut(me.mark(function i(e){var t,n,r,a,s=arguments;return me.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return t=s.length>1&&s[1]!==void 0?s[1]:d_||!Jf?v_:m_,n=s.length>2?s[2]:void 0,r=s.length>3?s[3]:void 0,a=s.length>4?s[4]:void 0,u.abrupt("return",new Promise(function(){var l=ut(me.mark(function c(f,h){var p,m,v,g;return me.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:if(y.prev=0,ne||(ne=new Ov),!ne.mxcadassemblyimp){y.next=5;break}return e&&e(ne),y.abrupt("return",f(ne));case 5:return p="mxdrawassembly_min",y.next=8,y_(p,"mxdrawassembly",{locateFile:t,wasmBinary:n});case 8:m=y.sent,ne.mxcadassemblyimp=m,v=new m.McApp,r?v.setFontFilePath(r):v.setFontFilePath("fonts"),v.Init(),Bn.init(),ne.App.init(v),a?ne.App.addNetworkLoadingFont(a):ne.App.addNetworkLoadingFont(["txt.shx","hztxt.shx"]),g=window,g.__MxCpp__=ne,e&&e(ne),f(ne),y.next=25;break;case 22:y.prev=22,y.t0=y.catch(0),h(y.t0);case 25:case"end":return y.stop()}},c,null,[[0,22]])}));return function(c,f){return l.apply(this,arguments)}}()));case 5:case"end":return u.stop()}},i)})),_p.apply(this,arguments)}function My(){var i={},e=navigator.userAgent.toLowerCase(),t;if((t=e.match(/edg\/([\d.]+)/))?i.edge=t[1]:(t=e.match(/rv:([\d.]+)\) like gecko/))||(t=e.match(/msie ([\d.]+)/))?i.ie=t[1]:(t=e.match(/firefox\/([\d.]+)/))?i.firefox=t[1]:(t=e.match(/chrome\/([\d.]+)/))?i.chrome=t[1]:(t=e.match(/opera.([\d.]+)/))?i.opera=t[1]:(t=e.match(/version\/([\d.]+).*safari/))&&(i.safari=t[1]),i.ie)return{ok:!1,error:"不支持ie浏览器,使用最新的chrome或edge浏览器",var:i};if(i.edge){var n=new RegExp("edg/([0-9]{1,}[.0-9]{0,})");if(n.exec(e)!=null){var r=parseFloat(RegExp.$1);if(r<107)return{ok:!1,error:"edge浏览器版本太旧,使用最新的edge浏览器",var:i}}}else if(i.chrome){var n=new RegExp("chrome/([0-9]{1,}[.0-9]{0,})");if(n.exec(e)!=null){var a=parseFloat(RegExp.$1);if(a<107)return{ok:!1,error:"浏览器版本太旧,使用最新的chrome浏览器",var:i}}}else if(i.firefox){var n=new RegExp("firefox/([0-9]{1,}[.0-9]{0,})");if(n.exec(e)!=null){var s=parseFloat(RegExp.$1);if(s<101)return{ok:!1,error:"firefox浏览器版本太旧,使用最新的firefox浏览器",var:i}}}else if(!i.safari)return i.opera?{ok:!1,error:"不支持opera浏览器,使用最新的chrome或edge浏览器",var:i}:{ok:!1,error:"不支持该浏览器,使用最新的chrome或edge浏览器",var:i};return{ok:!0,error:"",var:i}}var fe=function(){function i(e,t,n){oe(this,i),ge(this,"imp",void 0),this.imp=new ne.mxcadassemblyimp.MdGePoint3d,e instanceof Object?(this.imp.x=e.x,this.imp.y=e.y,this.imp.z=e.z):(this.imp.x=e||0,this.imp.y=t||0,this.imp.z=n||0)}return ue(i,[{key:"toVector3",value:function(){return new THREE.Vector3(this.imp.x,this.imp.y,this.imp.z)}},{key:"setFromVector3",value:function(t){return this.imp.x=t.x,this.imp.y=t.y,this.imp.z=t.z,this}},{key:"copy",value:function(t){return this.imp.x=t.x,this.imp.y=t.y,this.imp.z=t.z,this}},{key:"transformBy",value:function(t){return this.imp.transformBy(t.imp),this}},{key:"addvec",value:function(t){return this.imp.addvec(t.imp),this}},{key:"av",value:function(t){return this.imp.addvec(t.imp),this}},{key:"subvec",value:function(t){return this.imp.subvec(t.imp),this}},{key:"sv",value:function(t){return this.imp.subvec(t.imp),this}},{key:"sub",value:function(t){return new at(this.imp.sub(t.imp))}},{key:"distanceTo",value:function(t){return this.imp.distanceTo(t.imp)}},{key:"isEqualTo",value:function(t){return this.imp.isEqualTo(t.imp)}},{key:"clone",value:function(){return new i(this.imp)}},{key:"c",value:function(){return new i(this.imp)}},{key:"x",get:function(){return this.imp.x},set:function(t){this.imp.x=t}},{key:"y",get:function(){return this.imp.y},set:function(t){this.imp.y=t}},{key:"z",get:function(){return this.imp.z},set:function(t){this.imp.z=t}}]),i}();ge(fe,"kOrigin",void 0);var at=function(){function i(e,t,n){oe(this,i),ge(this,"imp",void 0),this.imp=new ne.mxcadassemblyimp.MdGeVector3d,e instanceof Object?(this.imp.x=e.x,this.imp.y=e.y,this.imp.z=e.z):(this.imp.x=e||0,this.imp.y=t||0,this.imp.z=n||0)}return ue(i,[{key:"toVector3",value:function(){return new THREE.Vector3(this.imp.x,this.imp.y,this.imp.z)}},{key:"copy",value:function(t){return this.imp.x=t.imp.x,this.imp.y=t.imp.y,this.imp.z=t.imp.z,this}},{key:"clone",value:function(){return new i(this.imp)}},{key:"c",value:function(){return new i(this.imp)}},{key:"rotateBy",value:function(t,n){return n||(n=i.kZAxis),this.imp.rotateBy(t,n.imp),this}},{key:"negate",value:function(){return this.imp.negate(),this}},{key:"perpVector",value:function(){return this.imp.perpVector(),this}},{key:"angleTo1",value:function(t){return this.imp.angleTo(t.imp)}},{key:"angleTo2",value:function(t,n){return n||(n=i.kNegateZAxis),this.imp.angleTo(t.imp,n.imp)}},{key:"normalize",value:function(){return this.imp.normalize(),this}},{key:"length",value:function(){return this.imp.length()}},{key:"isUnitLength",value:function(){return this.imp.isUnitLength()}},{key:"isZeroLength",value:function(){return this.imp.isZeroLength()}},{key:"dotProduct",value:function(t){return this.imp.dotProduct(t.imp)}},{key:"crossProduct",value:function(t){var n=new i;return n.imp=this.imp.crossProduct(t.imp),n}},{key:"isEqualTo",value:function(t){return this.imp.isEqualTo(t.imp)}},{key:"mult",value:function(t){return this.imp.mult(t),this}},{key:"x",get:function(){return this.imp.x},set:function(t){this.imp.x=t}},{key:"y",get:function(){return this.imp.y},set:function(t){this.imp.y=t}},{key:"z",get:function(){return this.imp.z},set:function(t){this.imp.z=t}}]),i}();ge(at,"kIdentity",void 0);ge(at,"kXAxis",void 0);ge(at,"kYAxis",void 0);ge(at,"kZAxis",void 0);ge(at,"kNegateZAxis",void 0);var Ir=function(){function i(e){oe(this,i),ge(this,"imp",void 0),this.imp=new ne.mxcadassemblyimp.MdGeMatrix3d,e instanceof Object&&this.imp.copy(e)}return ue(i,[{key:"copy",value:function(t){return this.imp.copy(t.imp),this}},{key:"clone",value:function(){return new i(this.imp)}},{key:"setToIdentity",value:function(){return this.imp.setToIdentity(),this}},{key:"preMultBy",value:function(t){return this.imp.preMultBy(t.imp),this}},{key:"postMultBy",value:function(t){return this.imp.postMultBy(t.imp),this}},{key:"setToProduct",value:function(t,n){return this.imp.setToProduct(t.imp,n.imp),this}},{key:"invert",value:function(){return this.imp.invert(),this}},{key:"isSingular",value:function(){return this.imp.isSingular()}},{key:"transposeIt",value:function(){return this.imp.transposeIt(),this}},{key:"isEqualTo",value:function(t){return this.imp.isEqualTo(t.imp)}},{key:"det",value:function(){return this.imp.det()}},{key:"setCoordSystem",value:function(t,n,r,a){return this.imp.setCoordSystem(t.imp,n.imp,r.imp,a.imp),this}},{key:"setToTranslation",value:function(t){return this.imp.setToTranslation(t.imp),this}},{key:"setToRotation",value:function(t,n,r){return this.imp.setToRotation(t,n.imp,r.imp),this}},{key:"setToScaling",value:function(t,n){return this.imp.setToScaling(t,n.imp),this}},{key:"setMirror",value:function(t,n){return this.imp.setMirror(t.imp,n.imp),this}},{key:"scale",value:function(){return this.imp.scale()}},{key:"angleXYPlane",value:function(){return this.imp.angleXYPlane()}},{key:"getData",value:function(t,n){return this.imp.getData(t,n)}},{key:"setData",value:function(t,n,r){return this.imp.setData(t,n,r)}}]),i}();ge(Ir,"kIdentity",void 0);var ua=function(){function i(e){oe(this,i),ge(this,"imp",void 0),this.imp=new ne.mxcadassemblyimp.MdGeLongArray,e instanceof Object&&this.imp.copy(e)}return ue(i,[{key:"copy",value:function(t){return this.imp.clear(),this.imp.copy(t.imp),this}},{key:"copyFormAryId",value:function(t){var n=this;return this.imp.clear(),t.forEach(function(r){n.imp.append(r.id)}),this}},{key:"append",value:function(t){this.imp.append(t)}},{key:"length",value:function(){return this.imp.length()}},{key:"at",value:function(t){return this.imp.at(t)}},{key:"setAt",value:function(t,n){this.imp.setAt(t,n)}},{key:"clear",value:function(){this.imp.clear()}},{key:"forEach",value:function(t){for(var n=this.imp.length(),r=0;r1&&arguments[1]!==void 0?arguments[1]:!0;return n?ye.decodeFromGb2312(this.imp.at(t)):this.imp.at(t)}},{key:"setAt",value:function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;r?this.imp.setAt(t,ye.encodeToGb2312(n)):this.imp.setAt(t,n)}},{key:"forEach",value:function(t){for(var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,r=this.imp.length(),a=0;at.x&&(this.minPoint.x=t.x),this.minPoint.y>t.y&&(this.minPoint.y=t.y),this.minPoint.z>t.z&&(this.minPoint.y=t.z),this.maxPoint.x0&&a[a.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]=r+t?(r=s,[4,Eo(0)]):[3,3]):[3,4];case 2:o.sent(),o.label=3;case 3:return++a,[3,1];case 4:return[2,n]}})})}function ku(i){i.then(void 0,function(){})}function R_(i,e){for(var t=0,n=i.length;t=1)return Math.round(i/e)*e;var t=1/e;return Math.round(i*t)/t}function B_(i){for(var e,t,n="Unexpected syntax '".concat(i,"'"),r=/^\s*([a-z-]*)(.*)$/i.exec(i),a=r[1]||void 0,s={},o=/([.:#][\w-]+|\[.+?\])/gi,u=function(p,m){s[p]=s[p]||[],s[p].push(m)};;){var l=o.exec(r[2]);if(!l)break;var c=l[0];switch(c[0]){case".":u("class",c.slice(1));break;case"#":u("id",c.slice(1));break;case"[":{var f=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(c);if(f)u(f[1],(t=(e=f[4])!==null&&e!==void 0?e:f[5])!==null&&t!==void 0?t:"");else throw new Error(n);break}default:throw new Error(n)}}return[a,s]}function O_(i){for(var e=new Uint8Array(i.length),t=0;t127)return new TextEncoder().encode(i);e[t]=n}return e}function ga(i,e){var t=i[0]>>>16,n=i[0]&65535,r=i[1]>>>16,a=i[1]&65535,s=e[0]>>>16,o=e[0]&65535,u=e[1]>>>16,l=e[1]&65535,c=0,f=0,h=0,p=0;p+=a+l,h+=p>>>16,p&=65535,h+=r+u,f+=h>>>16,h&=65535,f+=n+o,c+=f>>>16,f&=65535,c+=t+s,c&=65535,i[0]=c<<16|f,i[1]=h<<16|p}function Vr(i,e){var t=i[0]>>>16,n=i[0]&65535,r=i[1]>>>16,a=i[1]&65535,s=e[0]>>>16,o=e[0]&65535,u=e[1]>>>16,l=e[1]&65535,c=0,f=0,h=0,p=0;p+=a*l,h+=p>>>16,p&=65535,h+=r*l,f+=h>>>16,h&=65535,h+=a*u,f+=h>>>16,h&=65535,f+=n*l,c+=f>>>16,f&=65535,f+=r*u,c+=f>>>16,f&=65535,f+=a*o,c+=f>>>16,f&=65535,c+=t*l+n*u+r*o+a*s,c&=65535,i[0]=c<<16|f,i[1]=h<<16|p}function Ls(i,e){var t=i[0];e%=64,e===32?(i[0]=i[1],i[1]=t):e<32?(i[0]=t<>>32-e,i[1]=i[1]<>>32-e):(e-=32,i[0]=i[1]<>>32-e,i[1]=t<>>32-e)}function Tr(i,e){e%=64,e!==0&&(e<32?(i[0]=i[1]>>>32-e,i[1]=i[1]<>>1];un(i,e),Vr(i,N_),e[1]=i[0]>>>1,un(i,e),Vr(i,G_),e[1]=i[0]>>>1,un(i,e)}var Ol=[2277735313,289559509],Nl=[1291169091,658871167],t0=[0,5],U_=[0,1390208809],V_=[0,944331445];function W_(i,e){var t=O_(i);e=e||0;var n=[0,t.length],r=n[1]%16,a=n[1]-r,s=[0,e],o=[0,e],u=[0,0],l=[0,0],c;for(c=0;c>>0).toString(16)).slice(-8)+("00000000"+(s[1]>>>0).toString(16)).slice(-8)+("00000000"+(o[0]>>>0).toString(16)).slice(-8)+("00000000"+(o[1]>>>0).toString(16)).slice(-8)}function z_(i){var e;return Ep({name:i.name,message:i.message,stack:(e=i.stack)===null||e===void 0?void 0:e.split(` `)},i)}function H_(i){return/^function\s.*?\{\s*\[native code]\s*}$/.test(String(i))}function j_(i){return typeof i!="function"}function Y_(i,e){var t=new Promise(function(n){var r=Date.now();$m(i.bind(null,e),function(){for(var a=[],s=0;s=4}function X_(){var i=window,e=navigator;return Nr(["msWriteProfilerMark"in i,"MSStream"in i,"msLaunchUri"in e,"msSaveBlob"in e])>=3&&!By()}function Wv(){var i=window,e=navigator;return Nr(["webkitPersistentStorage"in e,"webkitTemporaryStorage"in e,e.vendor.indexOf("Google")===0,"webkitResolveLocalFileSystemURL"in i,"BatteryManager"in i,"webkitMediaStream"in i,"webkitSpeechGrammar"in i])>=5}function la(){var i=window,e=navigator;return Nr(["ApplePayError"in i,"CSSPrimitiveValue"in i,"Counter"in i,e.vendor.indexOf("Apple")===0,"getStorageUpdates"in e,"WebKitMediaKeys"in i])>=4}function zv(){var i=window,e=i.HTMLElement,t=i.Document;return Nr(["safari"in i,!("ongestureend"in i),!("TouchEvent"in i),!("orientation"in i),e&&!("autocapitalize"in e.prototype),t&&"pointerLockElement"in t.prototype])>=4}function ml(){var i=window;return H_(i.print)?Nr([String(i.browser)==="[object WebPageNamespace]","MicrodataExtractor"in i])>=1:!1}function Oy(){var i,e,t=window;return Nr(["buildID"in navigator,"MozAppearance"in((e=(i=document.documentElement)===null||i===void 0?void 0:i.style)!==null&&e!==void 0?e:{}),"onmozfullscreenchange"in t,"mozInnerScreenX"in t,"CSSMozDocumentRule"in t,"CanvasCaptureMediaStream"in t])>=4}function q_(){var i=window;return Nr([!("MediaSettingsRange"in i),"RTCEncodedAudioFrame"in i,""+i.Intl=="[object Intl]",""+i.Reflect=="[object Reflect]"])>=3}function Z_(){var i=window;return Nr(["DOMRectList"in i,"RTCPeerConnectionIceEvent"in i,"SVGGeometryElement"in i,"ontransitioncancel"in i])>=3}function gl(){var i=window,e=navigator,t=i.CSS,n=i.HTMLButtonElement;return Nr([!("getStorageUpdates"in e),n&&"popover"in n.prototype,"CSSCounterStyleRule"in i,t.supports("font-size-adjust: ex-height 0.5"),t.supports("text-transform: full-width")])>=4}function J_(){if(navigator.platform==="iPad")return!0;var i=screen,e=i.width/i.height;return Nr(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,e>.65&&e<1.53])>=2}function $_(){var i=document;return i.fullscreenElement||i.msFullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement||null}function Q_(){var i=document;return(i.exitFullscreen||i.msExitFullscreen||i.mozCancelFullScreen||i.webkitExitFullscreen).call(i)}function Ny(){var i=Wv(),e=Oy();if(!i&&!e)return!1;var t=window;return Nr(["onorientationchange"in t,"orientation"in t,i&&!("SharedWorker"in t),e&&/android/i.test(navigator.appVersion)])>=2}function eE(){return rE()?-4:tE()}function tE(){var i=window,e=i.OfflineAudioContext||i.webkitOfflineAudioContext;if(!e)return-2;if(nE())return-1;var t=4500,n=5e3,r=new e(1,n,44100),a=r.createOscillator();a.type="triangle",a.frequency.value=1e4;var s=r.createDynamicsCompressor();s.threshold.value=-50,s.knee.value=40,s.ratio.value=12,s.attack.value=0,s.release.value=.25,a.connect(s),s.connect(r.destination),a.start(0);var o=iE(r),u=o[0],l=o[1],c=u.then(function(f){return aE(f.getChannelData(0).subarray(t))},function(f){if(f.name==="timeout"||f.name==="suspended")return-3;throw f});return ku(c),function(){return l(),c}}function nE(){return la()&&!zv()&&!Z_()}function rE(){return la()&&gl()&&ml()}function iE(i){var e=3,t=500,n=500,r=5e3,a=function(){},s=new Promise(function(o,u){var l=!1,c=0,f=0;i.oncomplete=function(m){return o(m.renderedBuffer)};var h=function(){setTimeout(function(){return u(n0("timeout"))},Math.min(n,f+r-Date.now()))},p=function m(){try{var v=i.startRendering();switch(Ry(v)&&ku(v),i.state){case"running":f=Date.now(),l&&h();break;case"suspended":document.hidden||c++,l&&c>=e?u(n0("suspended")):setTimeout(m,t);break}}catch(g){u(g)}};p(),a=function(){l||(l=!0,f>0&&h())}});return[s,a]}function aE(i){for(var e=0,t=0;t=0?"+":"").concat(Math.abs(n))}function LE(){var i=new Date().getFullYear();return Math.max(ai(new Date(i,0,1).getTimezoneOffset()),ai(new Date(i,6,1).getTimezoneOffset()))}function BE(){try{return!!window.sessionStorage}catch{return!0}}function OE(){try{return!!window.localStorage}catch{return!0}}function NE(){if(!(By()||X_()))try{return!!window.indexedDB}catch{return!0}}function GE(){return!!window.openDatabase}function UE(){return navigator.cpuClass}function VE(){var i=navigator.platform;return i==="MacIntel"&&la()&&!zv()?J_()?"iPad":"iPhone":i}function WE(){return navigator.vendor||""}function zE(){for(var i=[],e=0,t=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];ef.length*.6}),o.sort(),[2,o]}})})}function KE(){return la()||Ny()}function XE(i){var e;return $r(this,void 0,void 0,function(){var t,n,r,a,u,s,o,u;return Qr(this,function(l){switch(l.label){case 0:for(t=document,n=t.createElement("div"),r=new Array(i.length),a={},i0(n),u=0;u')}function u3(){return navigator.pdfViewerEnabled}function l3(){var i=new Float32Array(1),e=new Uint8Array(i.buffer);return i[0]=1/0,i[0]=i[0]-i[0],e[3]}function c3(){var i=window.ApplePaySession;if(typeof i?.canMakePayments!="function")return-1;try{return i.canMakePayments()?1:0}catch(e){return f3(e)}}function f3(i){if(i instanceof Error){if(i.name==="InvalidAccessError"){if(/\bfrom\b.*\binsecure\b/i.test(i.message))return-2;if(/\bdifferent\b.*\borigin\b.*top.level\b.*\bframe\b/i.test(i.message))return-3}if(i.name==="SecurityError"&&/\bthird.party iframes?.*\bnot.allowed\b/i.test(i.message))return-3}throw i}function h3(){var i,e=document.createElement("a"),t=(i=e.attributionSourceId)!==null&&i!==void 0?i:e.attributionsourceid;return t===void 0?void 0:String(t)}var Uy=-1,Vy=-2,p3=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),d3=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),v3=["FRAGMENT_SHADER","VERTEX_SHADER"],m3=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],Wy="WEBGL_debug_renderer_info";function g3(i){var e,t,n,r,a,s,o=i.cache,u=zy(o);if(!u)return Uy;if(!jy(u))return Vy;var l=Hy()?null:u.getExtension(Wy);return{version:((e=u.getParameter(u.VERSION))===null||e===void 0?void 0:e.toString())||"",vendor:((t=u.getParameter(u.VENDOR))===null||t===void 0?void 0:t.toString())||"",vendorUnmasked:l?(n=u.getParameter(l.UNMASKED_VENDOR_WEBGL))===null||n===void 0?void 0:n.toString():"",renderer:((r=u.getParameter(u.RENDERER))===null||r===void 0?void 0:r.toString())||"",rendererUnmasked:l?(a=u.getParameter(l.UNMASKED_RENDERER_WEBGL))===null||a===void 0?void 0:a.toString():"",shadingLanguageVersion:((s=u.getParameter(u.SHADING_LANGUAGE_VERSION))===null||s===void 0?void 0:s.toString())||""}}function y3(i){var e=i.cache,t=zy(e);if(!t)return Uy;if(!jy(t))return Vy;var n=t.getSupportedExtensions(),r=t.getContextAttributes(),a=[],s=[],o=[],u=[];if(r)for(var l=0,c=Object.keys(r);l=.001))try{var i=new XMLHttpRequest;i.open("get","https://m1.openfpcdn.io/fingerprintjs/v".concat(Fy,"/npm-monitoring"),!0),i.send()}catch(e){console.error(e)}}function R3(i){var e;return i===void 0&&(i={}),$r(this,void 0,void 0,function(){var t,n,r;return Qr(this,function(a){switch(a.label){case 0:return(!((e=i.monitoring)!==null&&e!==void 0)||e)&&F3(),t=i.delayFallback,n=i.debug,[4,I3(t)];case 1:return a.sent(),r=E3({cache:{},debug:n}),[2,P3(r,n)]}})})}var L3=function(e){var t=null;if(typeof e=="string"&&e.length>0){if(t=document.querySelector(e),!t)return e.replace(/^#/,"")}else e instanceof HTMLCanvasElement&&(t=e);if(t)return t.id||(t.id=Math.random().toString(16).slice(2)),t.id},B3=function(e,t,n,r,a){return new Promise(function(s,o){try{Ve.createMxObject({canvasId:L3(e),isCPPMxCAD:!0,mapBox:n,callback:function(l){l.initRendererParam({webgl2:r!==!0}),l.setViewMovementMethod(t===void 0?!0:t),a&&a.callEvent("init_before_mxdraw",l),l.addEvent("initObject",function(){l.isWebgl2()?console.log("MxTip: use webgl2"):console.log("MxTip: use webgl1"),s(l)})}})}catch(u){o(u)}})},O3=function(e,t,n,r,a,s,o,u){var l=e.CreateMxDraw(t,n,r,a,s,o);return u?u.init(l):u=new vl(l),l.McObject=u,l.McObject};function Hv(){console.log(ne.App.getVersionString())}var nh=function(){var i=ut(me.mark(function e(t,n){var r,a,s,o,u,l,c,f,h,p,m,v,g,d,y,b,_,w,E,x,S,T,L,B,k,R,F,W,K,$,U,N;return me.wrap(function(D){for(;;)switch(D.prev=D.next){case 0:if(Mw.state.MxFun){D.next=3;break}return D.next=3,Iw();case 3:return r=t||{},a=r.openParameter,s=r.networkFonts,o=r.fontspath,u=r.locateFile,l=r.wasmBinary,c=r.canvas,f=r.onOpenFileComplete,h=r.fileUrl,p=r.onInit,m=r.middlePan,v=r.registdata,g=r.registfile,d=r.authorized_service,y=r.viewBackgroundColor,b=r.map,_=r.multipleSelect,w=r.enableUndo,E=r.enableIntelliSelect,x=r.browse,S=r.webgl1,D.next=6,Uv(function(){},u,l,o,s);case 6:return Ve.initMxCpp(ne),Tt.init(),Ve.setIniset({EnableIntelliSelect:E===void 0?!0:E,IntelliSelectType:1}),w!==void 0&&ne.App.IniSet({EnableUndo:w}),y&&ne.App.setDefaultViewBackgroundColor(y.red,y.green,y.blue),p&&p(),n&&n.callEvent("init"),D.next=15,B3(c,m,b,S,n);case 15:if(T=D.sent,_!==void 0&&T.setMultipleSelect(_),y&&T.setViewColor(y.red<<16|y.green<<8|y.blue),n&&n.callEvent("init_mxdraw",T),L=Ve.getMxFunTHREE(),B=new L.Vector2,T.getRenderer().getSize(B),k=O3(ne.App.getImp(),B.width,B.height,T.getCanvas().id,T.isWebgl2(),T.getId(),!!b,n),R=ne.App.getImp().getCodeVersion(),!(R!=1&&R!=2)){D.next=35;break}if(!(v&&v.length>0)){D.next=29;break}k.initRegist(v),D.next=35;break;case 29:return F=g,g&&g.length>0||(F="mxkey.json.frontpage.json"),D.next=33,qf(F);case 33:W=D.sent,W&&W.registdata?(k.initRegist(W.registdata),d?k.iniAuthorizedService(d):W.authorized_service&&W.authorized_service.length>0&&k.iniAuthorizedService(W.authorized_service)):console.log("MxTip:empty regist data");case 35:if(R!=3){D.next=48;break}if(K=localStorage.getItem("_mx_tmp_id_"),!(!K||K.length==0)){D.next=47;break}return $=window,$.__fpjs_d_m=!0,D.next=42,R3();case 42:return U=D.sent,D.next=45,U.get();case 45:K=D.sent.visitorId,localStorage.setItem("_mx_tmp_id_",K);case 47:ne.App.getImp().addFontsLoadOnInitialization(K,-121);case 48:return T.initMxCpp(k),T.addEvent("openFileComplete",function(){f&&f(k)}),k&&(x===!0||x===1?(k.setBrowse(!0),m===void 0&&(m=0)):x==2&&(m===void 0&&(m=0),Ve.setIniset({ForbiddenDynInput:!0,EnableCADEntityGripEdit:0})),m!==void 0&&k.mxdraw.setMouseMiddlePan(m),k.callEvent("init_mxcad",k)),h&&(N=0,a&&a&&(N=a),k.openWebFile(h,void 0,!0,a,N)),D.abrupt("return",k);case 53:case"end":return D.stop()}},e)}));return function(t,n){return i.apply(this,arguments)}}(),jv=function(i){return i[i.kByLayer=1]="kByLayer",i[i.kByBlock=2]="kByBlock",i[i.kByColor=3]="kByColor",i[i.kByACI=4]="kByACI",i[i.kByPen=5]="kByPen",i[i.kForeground=6]="kForeground",i[i.kLayerOff=7]="kLayerOff",i[i.kLayerFrozen=8]="kLayerFrozen",i[i.kNone=9]="kNone",i}(jv||{}),rh=function(i){return i[i.kByblock=0]="kByblock",i[i.kRed=1]="kRed",i[i.kYellow=2]="kYellow",i[i.kGreen=3]="kGreen",i[i.KCyan=4]="KCyan",i[i.kBlue=5]="kBlue",i[i.kMagenta=6]="kMagenta",i[i.kWhite=7]="kWhite",i[i.kBylayer=256]="kBylayer",i}(rh||{}),qa,ih=function(){if(!qa){var e=Ve.getMxFunTHREE();qa=new e.Color}for(var t=function(m){return qt(m[0])==="object"&&m[0].isColor},n=function(m){return typeof m[0]=="number"&&m.length===1},r=function(m){return typeof m[0]=="string"&&m.length===1},a=function(m){return m.length===3},s=arguments.length,o=new Array(s),u=0;u1&&arguments[1]!==void 0?arguments[1]:ne.App.mcedRGB2Index(e.red,e.green,e.blue,!1);t===-1?e.method=3:e.setColorIndex(t),t===7?e.method=4:t===0?e.method=2:t===256?e.method=1:t!==-1&&(e.method=4),e.colorIndex=t},Yy=function(){for(var e=new pr,t=arguments.length,n=new Array(t),r=0;r1||qt(h[0])==="object"&&h[0].isColor||typeof h[0]=="string"||typeof h[0]=="number"},n=function(h){return qt(h[0])==="object"&&!(h[0]&&h[0].isColor)},r=arguments.length,a=new Array(r>1?r-1:0),s=1;si.length)&&(e=i.length);for(var t=0,n=new Array(e);t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function vo(i,e,t){return W3()?vo=Reflect.construct.bind():vo=function(r,a,s){var o=[null];o.push.apply(o,a);var u=Function.bind.apply(r,o),l=new u;return s&&Mc(l,s.prototype),l},vo.apply(null,arguments)}function z3(i){if(Array.isArray(i))return xp(i)}function H3(i){if(typeof Symbol<"u"&&i[Symbol.iterator]!=null||i["@@iterator"]!=null)return Array.from(i)}function j3(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xc(i){return z3(i)||H3(i)||Xy(i)||j3()}function c0(i,e){var t=typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(!t){if(Array.isArray(i)||(t=Y3(i))||e){t&&(i=t);var n=0,r=function(){};return{s:r,n:function(){return n>=i.length?{done:!0}:{done:!1,value:i[n++]}},e:function(l){throw l},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,s=!1,o;return{s:function(){t=t.call(i)},n:function(){var l=t.next();return a=l.done,l},e:function(l){s=!0,o=l},f:function(){try{!a&&t.return!=null&&t.return()}finally{if(s)throw o}}}}function Y3(i,e){if(i){if(typeof i=="string")return f0(i,e);var t=Object.prototype.toString.call(i).slice(8,-1);if(t==="Object"&&i.constructor&&(t=i.constructor.name),t==="Map"||t==="Set")return Array.from(i);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return f0(i,e)}}function f0(i,e){(e==null||e>i.length)&&(e=i.length);for(var t=0,n=new Array(e);t"u"&&(e.setKeyWords("[三点(3P)/两点(2P)/切点、切点、半径(T)]"),r="default"),r!=="default"){j.next=47;break}if(s){j.next=19;break}return e.setMessage(` 指定圆的圆心`),j.next=6,e.go();case 6:if(b=j.sent,!e.isKeyWordPicked("3P")){j.next=10;break}return r="3P",j.abrupt("return",0);case 10:if(!e.isKeyWordPicked("2P")){j.next=13;break}return r="2P",j.abrupt("return",0);case 13:if(!e.isKeyWordPicked("T")){j.next=16;break}return r="T",j.abrupt("return",0);case 16:if(b){j.next=18;break}return j.abrupt("return",{v:void 0});case 18:s=b;case 19:if(o){j.next=44;break}return _=new tn,_.setBasePt(s),typeof a>"u"&&(_.setKeyWords("[直径(D)]"),a=!0),_.setMessage(Pt("McDbCircle_Radius","指定圆的"+(a?"半径":"直径"))),_.setUserDraw(function(ce,Ce){if(s){var Ae=new Ln(s.x,s.y,s.z,a?s.distanceTo(ce):s.distanceTo(ce)/2);Ce.drawMcDbEntity(Ae),Ce.drawLine(Ae.center.toVector3(),ce.toVector3())}}),j.next=27,_.go();case 27:if(w=j.sent,!_.isKeyWordPicked("D")){j.next=40;break}return a=!1,_.clearLastInputPoint(),_.setBasePt(s),_.setMessage(Pt("McDbCircle_Diameter","指定圆的直径")),_.setKeyWords(""),j.next=36,_.go();case 36:if(E=j.sent,E){j.next=39;break}return j.abrupt("return",{v:void 0});case 39:o=E/2;case 40:if(o){j.next=44;break}if(w){j.next=43;break}return j.abrupt("return",{v:void 0});case 43:o=w;case 44:return t.center=s,t.radius=o,j.abrupt("return",{v:ne.getCurrentMxCAD().drawEntity(t,!0)});case 47:if(r!=="3P"){j.next=77;break}if(u){j.next=56;break}return e.setMessage("指定圆上的第一个点"),e.setKeyWords(""),j.next=53,e.go();case 53:if(u=j.sent,u){j.next=56;break}return j.abrupt("return",{v:void 0});case 56:if(l){j.next=65;break}return e.setMessage("指定圆上的第二个点"),e.setKeyWords(""),e.setUserDraw(function(ce,Ce){u&&Ce.drawLine(u.toVector3(),ce.toVector3())}),j.next=62,e.go();case 62:if(l=j.sent,l){j.next=65;break}return j.abrupt("return",{v:void 0});case 65:if(c){j.next=74;break}return e.setMessage("指定圆上的第三个点"),e.setKeyWords(""),e.setUserDraw(function(ce,Ce){if(u&&l){var Ae=d0([u,l,ce]);if(Ae){var ke=new Ln(Ae.x,Ae.y,Ae.z,Ae.distanceTo(u));Ce.drawMcDbEntity(ke)}}}),j.next=71,e.go();case 71:if(c=j.sent,c){j.next=74;break}return j.abrupt("return",{v:void 0});case 74:return x=d0([u,l,c]),S=new Ln(x.x,x.y,x.z,x.distanceTo(u)),j.abrupt("return",{v:ne.getCurrentMxCAD().drawEntity(S,!0)});case 77:if(r!=="2P"){j.next=98;break}if(f){j.next=86;break}return e.setMessage("指定圆直径的第一个端点"),e.setKeyWords(""),j.next=83,e.go();case 83:if(f=j.sent,f){j.next=86;break}return j.abrupt("return",{v:void 0});case 86:if(h){j.next=95;break}return e.setMessage("指定圆直径的第二个端点"),e.setKeyWords(""),e.setUserDraw(function(ce,Ce){f&&(s=new fe((ce.x+f.x)/2,(ce.y+f.y)/2,(ce.z+f.z)/2),o=s.distanceTo(f),Ce.drawMcDbEntity(new Ln(s.x,s.y,s.z,o)))}),j.next=92,e.go();case 92:if(h=j.sent,h){j.next=95;break}return j.abrupt("return",{v:void 0});case 95:return s=new fe((h.x+f.x)/2,(h.y+f.y)/2,(h.z+f.z)/2),o=s.distanceTo(f),j.abrupt("return",{v:ne.getCurrentMxCAD().drawEntity(new Ln(s.x,s.y,s.z,o),!0)});case 98:if(r!=="T"){j.next=156;break}return e.setMessage("指定对象与圆的第一个切点"),e.setKeyWords(""),j.next=103,e.go();case 103:if(T=j.sent,T){j.next=106;break}return j.abrupt("return",{v:void 0});case 106:if(L=Tt.findEntAtPoint(T.x,T.y,T.z,-1,p),B=L.getMcDbCurve(),B){j.next=110;break}return j.abrupt("return",0);case 110:return e.setMessage("指定对象与圆的第二个切点"),e.clearLastInputPoint(),j.next=114,e.go();case 114:if(k=j.sent,k){j.next=117;break}return j.abrupt("return",{v:void 0});case 117:if(R=Tt.findEntAtPoint(k.x,k.y,k.z,-1,p),F=R.getMcDbCurve(),F){j.next=121;break}return j.abrupt("return",0);case 121:return W=new tn,W.setMessage("指定圆的半径"),j.next=125,W.go();case 125:if(K=j.sent,K){j.next=128;break}return j.abrupt("return",{v:void 0});case 128:if($=K3(B,F,K,T,k),!(!$||$.length===0)){j.next=131;break}return j.abrupt("return",{v:void 0});case 131:if($.length!==1){j.next=137;break}return U=ci($,1),N=U[0],P=new Ln(N.x,N.y,N.z,K),j.abrupt("return",{v:ne.getCurrentMxCAD().drawEntity(P)});case 137:return D=new Yt,D.clearLastInputPoint(),D.setMessage("请选择使用哪个圆心"),q=function(Ce){var Ae=$.map(function(Me){return Me.distanceTo(Ce)}),ke=Math.min.apply(Math,xc(Ae)),Pe=Ae.indexOf(ke);return $[Pe]},D.setUserDraw(function(ce,Ce){var Ae=q(ce);Ce.drawCircle(Ae.toVector3(),K)}),j.next=144,D.go();case 144:if(V=j.sent,D.getStatus()!==Lt.kCancel){j.next=147;break}return j.abrupt("return",{v:void 0});case 147:if(V){j.next=153;break}return Q=ci($,1),Z=Q[0],Y=new Ln(Z.x,Z.y,Z.z,K),j.abrupt("return",{v:ne.getCurrentMxCAD().drawEntity(Y)});case 153:return ee=q(V),le=new Ln(ee.x,ee.y,ee.z,K),j.abrupt("return",{v:ne.getCurrentMxCAD().drawEntity(le)});case 156:case"end":return j.stop()}},y)});case 7:return d.delegateYield(m(),"t0",9);case 9:if(v=d.t0,v!==0){d.next=12;break}return d.abrupt("continue",7);case 12:if(!v){d.next=14;break}return d.abrupt("return",v.v);case 14:d.next=7;break;case 16:case"end":return d.stop()}},i)})),Tp.apply(this,arguments)}Ve.on("init",function(){Ve.addCommand("Mx_Circle",Kv)});function Xv(){return Dp.apply(this,arguments)}function Dp(){return Dp=ut(me.mark(function i(){var e,t,n,r,a,s,o,u,l,c;return me.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return e=new Yt,e.setMessage(` 指定第一点:`),h.next=4,e.go();case 4:if(t=h.sent,n=t,t){h.next=8;break}return h.abrupt("return");case 8:e.setMessage(` 指定下一个点:`),r=0,a=[];case 11:return r>=2?e.setKeyWords("[退出(E)/闭合(C)/放弃(U)]"):r>0?e.setKeyWords("[退出(E)/放弃(U)]"):e.setKeyWords(""),e.setBasePt(t),h.next=16,e.go();case 16:if(s=h.sent,!e.isKeyWordPicked("C")){h.next=23;break}return o=new pt(n,t),ne.getCurrentMxCAD().drawEntity(o),h.abrupt("return");case 23:if(!e.isKeyWordPicked("E")){h.next=27;break}return h.abrupt("return");case 27:if(!e.isKeyWordPicked("U")){h.next=36;break}if(a.length!=0){h.next=30;break}return h.abrupt("continue",11);case 30:return u=a[a.length-1],a.pop(),r--,t=u.prvPoint,u.id.erase(),h.abrupt("continue",11);case 36:if(s){h.next=38;break}return h.abrupt("return");case 38:l=new pt(t,s),r++,c=ne.getCurrentMxCAD().drawEntity(l),a.push({id:c,prvPoint:t}),t=s,h.next=11;break;case 45:case"end":return h.stop()}},i)})),Dp.apply(this,arguments)}function X3(){return kp.apply(this,arguments)}function kp(){return kp=ut(me.mark(function i(){var e,t;return me.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:e=new Yt,e.setMessage("指定点");case 2:return e.clearLastInputPoint(),r.next=6,e.go();case 6:if(t=r.sent,t!=null){r.next=9;break}return r.abrupt("break",12);case 9:ne.getCurrentMxCAD().drawEntity(new xu(t)),r.next=2;break;case 12:case"end":return r.stop()}},i)})),kp.apply(this,arguments)}function q3(){return Mp.apply(this,arguments)}function Mp(){return Mp=ut(me.mark(function i(){var e,t,n,r,a;return me.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return e=new Yt,e.setMessage(` 指定第一点:`),o.next=4,e.go();case 4:if(t=o.sent,t){o.next=7;break}return o.abrupt("return");case 7:e.setMessage(` 指定下一个点:`),n=new Pr,n.append(t);case 10:return e.setBasePt(t),n.length()==1?e.setUseBasePt(!0):(e.setUseBasePt(!1),e.setUserDraw(function(u,l){var c=new Pr;c.copy(n),c.append(u);var f=new wo;f.setFitPoints({degree:3,fitTolerance:1e-6,tangentsExist:!1,startTangent:at.kIdentity,endTangent:at.kIdentity,fitPoints:c}),l.drawMcDbEntity(f)})),o.next=15,e.go();case 15:if(r=o.sent,r){o.next=18;break}return o.abrupt("break",22);case 18:n.append(r),t=r,o.next=10;break;case 22:n.length()>2&&(a=new wo,a.setFitPoints({degree:3,fitTolerance:1e-6,tangentsExist:!1,startTangent:at.kIdentity,endTangent:at.kIdentity,fitPoints:n}),ne.getCurrentMxCAD().drawEntity(a));case 23:case"end":return o.stop()}},i)})),Mp.apply(this,arguments)}Ve.on("init",function(){Ve.addCommand("Mx_Line",Xv),Ve.addCommand("Mx_Point",X3),Ve.addCommand("Mx_About",Hv),Ve.addCommand("Mx_Spline",q3)});function qy(){return Ip.apply(this,arguments)}function Ip(){return Ip=ut(me.mark(function i(){var e,t,n,r,a,s,o,u,l,c,f,h,p,m,v,g;return me.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return a=function(){var _=new Su;return _.textHeight=e||100,_.contents=t||"",_.location=n||new fe,_.trueColor=new pr(ne.getCurrentMxCAD().getCurrentDatabaseDrawColor()),_.rotation=r||0,_},s=new Qf,s.setMessage("输入文字内容"),y.next=5,s.go();case 5:if(o=y.sent,o){y.next=8;break}return y.abrupt("return");case 8:return t=o,u=new Yt,u.clearLastInputPoint(),u.setMessage("指定文字位置"),u.setUserDraw(function(b,_){n=b,_.drawMcDbEntity(a())}),y.next=15,u.go();case 15:if(l=y.sent,l){y.next=18;break}return y.abrupt("return");case 18:return n=l,c=new tn,c.setBasePt(n),c.setMessage(Pt("Mx_Text_Height","指定文字高度")),c.setUserDraw(function(b,_){n&&(e=b.distanceTo(n)),_.drawMcDbEntity(a())}),y.next=25,c.go();case 25:if(f=y.sent,f){y.next=28;break}return y.abrupt("return");case 28:return e=f,h=new Zi,h.setBasePt(n),h.clearLastInputPoint(),h.setMessage(Pt("Mx_MText_Angle","指定文字角度")),h.setUserDraw(function(b,_){n&&(r=Dn(b.x,b.y,n.x,n.y)),_.drawMcDbEntity(a())}),y.next=36,h.go();case 36:return p=y.sent,p!==null&&h.getDetailedResult()===8&&(r=p),m=a(),v=ne.getCurrentMxCAD(),g=v.drawEntity(m),v.updateDisplay(),y.abrupt("return",g);case 43:case"end":return y.stop()}},i)})),Ip.apply(this,arguments)}function ls(i,e,t){if(i.isEqualTo(e))return 0;var n=i.c().addvec(e.c().sub(i).mult(.5)),r=e.c().sub(i);r.rotateBy(Math.PI/2,at.kZAxis);var a=new pt(n,n.c().addvec(r)),s=t.c();s.rotateBy(Math.PI/2,at.kZAxis);var o=new pt(i,i.c().addvec(s)),u=a.IntersectWith(o,yn.Intersect.kExtendBoth);if(u.isEmpty())return 0;var l=u.at(0),c=l.distanceTo(i);r.normalize(),r.mult(c);var f=l.c().addvec(r),h=l.c().subvec(r),p=f.c().sub(i),m=h.c().sub(i),v=f;return p.angleTo1(t)>m.angleTo1(t)&&(v=h),Tt.calcBulge(i,v,e).val}function qv(){return Pp.apply(this,arguments)}function Pp(){return Pp=ut(me.mark(function i(){var e,t,n,r,a,s,o,u,l,c,f,h,p,m,v,g,d,y,b,_;return me.wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return e=new Yt,e.setMessage(` 指定起点:`),E.next=4,e.go();case 4:if(t=E.sent,t!==null){E.next=7;break}return E.abrupt("return");case 7:n=[],r=0,a={},a.dStartWidth=r,a.dEndWidth=r,a.pt=t,a.dBulge=0,n.push(a),s=!1,o=!0,u=!1,l=r,c=r,f=[],h=ne.getCurrentMxCAD(),Ve.acutPrintf(` 当前线宽为 {0}`,r+""),p=!1,m=function(S){S.key==="Control"&&(p=!0)},v=function(){return p=!1},window.addEventListener("keydown",m),window.addEventListener("keyup",v),g=me.mark(function x(){var S,T,L,B,k,R,F,W,K,$,U,N,P,D,q,V,Q,Z,Y,ee,le,Ee,j,ce,Ce,Ae,ke,Pe,Me,H,X,xe,_e,Le,Be,Se,We,re,Ge,M,C,A,G,I,te,ae,ve,we,Te,He,qe,ft,bt,lt,At,dt,en,et,Je,$e,dn,nn,Nt,Ut,Gn,Hn,sn,Un,Pn,Er,Rt,Gt,vr,Cr,O,z,se,be,Ie,tt,Ue,ot,ze,Ze,Mt,It,wt,je,it,on,Wt,jn,_t,ht,_n,Yn,Fn,mr,zt,Qn,Gr,Fi,za,pa,Ur,Ri,da,nu,Ds,Ha,xl,ks,Li,Sr,hi,Ar,va,ja,ma,Tl,Bi,Ya,Dl,Oi,kl,Ms,Ml,Is,Ps,Il,gh,Fs,Ka,Pl,Xa,Fl;return me.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:if(!o){he.next=107;break}return S=Pt("ID_ARX_PL2","指定下一个点:"),T="[圆弧(A)/宽度(W)/长度(L)/半宽(H)]",n.length>=3?u?T="[回退(U)/圆弧(A)/宽度(W)/长度(L)/半宽(H)]":T="[回退(U)/圆弧(A)/宽度(W)/长度(L)/半宽(H)/闭合(C)]":n.length>=2&&(T="[回退(U)/圆弧(A)/宽度(W)/半宽(H)/长度(L)]"),L=new Yt,L.setMessage(S),L.setKeyWords(T),B=n[n.length-1],L.setUserDraw(function(xt,Ht){var Ct=new st;Ct.addVertexAt(B.pt,B.dBulge,B.dStartWidth,B.dEndWidth),Ct.addVertexAt(xt),Ht.drawMcDbEntity(Ct)}),he.next=11,L.go();case 11:if(k=he.sent,k===null){he.next=22;break}R={},R.dStartWidth=l,R.dEndWidth=c,R.pt=k,R.dBulge=0,n.push(R),n.length>=2&&(F=new st,F.addVertexAt(n[n.length-2].pt,0,n[n.length-2].dStartWidth,n[n.length-2].dEndWidth),F.addVertexAt(n[n.length-1].pt),f.push(h.drawEntity(F))),he.next=105;break;case 22:if(L.getStatus()!=Lt.kKeyWord){he.next=104;break}if(!L.isKeyWordPicked("A")){he.next=27;break}o=!1,he.next=102;break;case 27:if(!L.isKeyWordPicked("W")){he.next=49;break}return W=new tn,W.setMessage(Pt("ID_ARX_PLGETSTARTWIDTH","指定起点宽度")),he.next=32,W.go();case 32:if(K=he.sent,K!==null){he.next=35;break}return he.abrupt("return",0);case 35:return l=W.value(),W.setMessage(Pt("ID_ARX_PLGETVERITXWIDTH","指定端点宽度")),he.next=39,W.go();case 39:if(K=he.sent,K!==null){he.next=42;break}return he.abrupt("return",0);case 42:c=W.value(),r=c,n[n.length-1].dStartWidth=l,n[n.length-1].dEndWidth=c,l=c,he.next=102;break;case 49:if(!L.isKeyWordPicked("H")){he.next=71;break}return $=new tn,$.setMessage(Pt("ID_ARX_PLGETSTARTWIDTH","指定起点半宽")),he.next=54,$.go();case 54:if(U=he.sent,U!==null){he.next=57;break}return he.abrupt("return",0);case 57:return l=$.value()*2,$.setMessage(Pt("ID_ARX_PLGETVERITXWIDTH","指定端点半宽")),he.next=61,$.go();case 61:if(U=he.sent,U!==null){he.next=64;break}return he.abrupt("return",0);case 64:c=$.value()*2,r=c,n[n.length-1].dStartWidth=l,n[n.length-1].dEndWidth=c,l=c,he.next=102;break;case 71:if(!L.isKeyWordPicked("C")){he.next=76;break}return s=!0,he.abrupt("return",0);case 76:if(!L.isKeyWordPicked("U")){he.next=80;break}n.length>1&&(n.pop(),f[f.length-1].erase(),f.pop(),n.length>0&&L.setLastInputPoint(n[n.length-1].pt)),he.next=102;break;case 80:if(!L.isKeyWordPicked("L")){he.next=102;break}return P=at.kXAxis,L.setMessage("指定直线长度"),L.setKeyWords(""),he.next=86,L.go();case 86:if(q=he.sent,q){he.next=89;break}return he.abrupt("return",{v:void 0});case 89:V=n[n.length-1].pt,Q=q.distanceTo(V),Z=(N=n[n.length-2])===null||N===void 0?void 0:N.pt,Z&&(P=Z.sub(V)),D=V.clone().addvec(P.normalize().mult(-Q)),Y={},Y.dStartWidth=l,Y.dEndWidth=c,Y.pt=D,Y.dBulge=0,n.push(Y),L.setLastInputPoint(D),n.length>=2&&(ee=new st,ee.addVertexAt(n[n.length-2].pt,0,n[n.length-2].dStartWidth,n[n.length-2].dEndWidth),ee.addVertexAt(n[n.length-1].pt),f.push(h.drawEntity(ee)));case 102:he.next=105;break;case 104:return he.abrupt("return",0);case 105:he.next=495;break;case 107:return le=Pt("NO1_ID_ARX_PL5","指定圆弧的端点(按住 Ctrl 键以切换方向)"),Ee="[角度(A)/第二个点(S)/圆心(CE)/方向(D)/直线(L)/半径(R)/宽度(W)/半宽(H)]",n.length>=3?u?Ee="[角度(A)/第二个点(S)/圆心(CE)/方向(D)/回退(U)/直线(L)/半径(R)/宽度(W)/半宽(H)]":Ee="[角度(A)/第二个点(S)/圆心(CE)/方向(D)/回退(U)/直线(L)/半径(R)/宽度(W)/半宽(H)/闭合(C)]":n.length>=2&&(Ee="[角度(A)/第二个点(S)/圆心(CE)/方向(D)/回退(U)/直线(L)/半径(R)/宽度(W)/半宽(H)]"),j=new Yt,j.setMessage(le),j.setKeyWords(Ee),ce=new at,n.length<2?ce.copy(at.kXAxis):(Ce=n.length,Ae=n[Ce-2].pt,ke=n[Ce-2].dBulge,Pe=n[Ce-1].pt,Zf(ke)?ce=new fe(Pe.x,Pe.y,0).sub(new fe(Ae.x,Ae.y,0)):(Me=new st,Me.addVertexAt(Ae,ke),Me.addVertexAt(Pe),H=Me.getFirstDeriv(new fe(Pe.x,Pe.y,0)),H.ret?ce=H.val:ce.copy(at.kXAxis))),X=n[n.length-1],j.setUserDraw(function(xt,Ht){var Ct=ls(X.pt,xt,p?ce.clone().negate():ce),St=new st;St.addVertexAt(X.pt,Ct,X.dStartWidth,X.dEndWidth),St.addVertexAt(xt),Ht.drawMcDbEntity(St)}),he.next=119,j.go();case 119:if(xe=he.sent,xe===null){he.next=132;break}_e={},_e.dStartWidth=l,_e.dEndWidth=c,_e.dBulge=0,_e.pt=xe,n[n.length-1].dBulge=ls(X.pt,_e.pt,p?ce.clone().negate():ce),n.push(_e),Le=n.length,Le>=2&&(Be=new st,Be.addVertexAt(n[Le-2].pt,n[Le-2].dBulge,n[Le-2].dStartWidth,n[Le-2].dEndWidth),Be.addVertexAt(n[Le-1].pt),f.push(h.drawEntity(Be))),he.next=495;break;case 132:if(j.getStatus()!=Lt.kKeyWord){he.next=494;break}if(!j.isKeyWordPicked("A")){he.next=215;break}return Se=new Zi,Se.setBasePt(X.pt),Se.setMessage(Pt("ID_ARX_PLGET_I_ANGLE","指定夹角")),he.next=139,Se.go();case 139:if(We=he.sent,We!==null){he.next=142;break}return he.abrupt("return",0);case 142:return j.setMessage("指定圆弧的端点(按住 Ctrl 键以切换方向)"),j.setKeyWords("[圆心(CE)/半径(R)]"),j.setLastInputPoint(X.pt),re=n[n.length-1].pt,Ge=function(Ht){var Ct=Math.PI/2-We/2,St=new fe((Ht.x+re.x)/2,(Ht.y+re.y)/2),En=St.distanceTo(re),Kn=En/Math.sin(Ct),xr=En/Math.tan(Ct),er=St.sub(re).rotateBy(Math.PI/2).normalize().mult(p?-Kn-xr:Kn-xr),ei=St.addvec(er);return Tt.calcBulge(re,ei,Ht).val},j.setUserDraw(function(xt,Ht){var Ct=Ge(xt),St=new st;St.addVertexAt(X.pt,Ct,X.dStartWidth,X.dEndWidth),St.addVertexAt(xt),Ht.drawMcDbEntity(St)}),he.next=150,j.go();case 150:if(M=he.sent,!j.isKeyWordPicked("CE")){he.next=174;break}return j.setMessage("指定圆弧的圆心"),j.setKeyWords(""),j.setBasePt(re),j.setUserDraw(function(xt,Ht){var Ct=xt.distanceTo(re),St=xt.addvec(xt.sub(re).rotateBy(We).normalize().mult(Ct)),En=Ge(St),Kn=new st;Kn.addVertexAt(X.pt,En,X.dStartWidth,X.dEndWidth),Kn.addVertexAt(St),Ht.drawMcDbEntity(Kn)}),he.next=158,j.go();case 158:if(C=he.sent,C){he.next=161;break}return he.abrupt("return",0);case 161:return A=C.distanceTo(re),G=C.addvec(C.sub(re).rotateBy(We).normalize().mult(A)),I={},I.dStartWidth=l,I.dEndWidth=c,I.dBulge=0,I.pt=G,n[n.length-1].dBulge=Ge(G),n.push(I),te=n.length,te>=2&&(ae=new st,ae.addVertexAt(n[te-2].pt,n[te-2].dBulge,n[te-2].dStartWidth,n[te-2].dEndWidth),ae.addVertexAt(n[te-1].pt),f.push(h.drawEntity(ae))),j.setLastInputPoint(G),he.abrupt("return",1);case 174:if(!j.isKeyWordPicked("R")){he.next=204;break}return ve=new tn,ve.setMessage("指定圆弧半径"),ve.setKeyWords(""),he.next=180,ve.go();case 180:if(we=he.sent,typeof we=="number"){he.next=183;break}return he.abrupt("return",0);case 183:return Te=we*Math.sin(We/2),j.setBasePt(re),j.setMessage("指定圆弧的弦方向(按住Ctrl键切换方向)"),j.setKeyWords(""),j.setUserDraw(function(xt,Ht){var Ct=re.clone().addvec(xt.sub(re).normalize().mult(Te*2)),St=Ge(Ct),En=new st;En.addVertexAt(X.pt,St,X.dStartWidth,X.dEndWidth),En.addVertexAt(Ct),Ht.drawMcDbEntity(En)}),he.next=190,j.go();case 190:if(He=he.sent,He){he.next=193;break}return he.abrupt("return",0);case 193:return qe=re.clone().addvec(He.sub(re).normalize().mult(Te*2)),ft={},ft.dStartWidth=l,ft.dEndWidth=c,ft.dBulge=0,ft.pt=qe,n[n.length-1].dBulge=Ge(qe),n.push(ft),bt=n.length,bt>=2&&(lt=new st,lt.addVertexAt(n[bt-2].pt,n[bt-2].dBulge,n[bt-2].dStartWidth,n[bt-2].dEndWidth),lt.addVertexAt(n[bt-1].pt),f.push(h.drawEntity(lt))),he.abrupt("return",1);case 204:if(M){he.next=206;break}return he.abrupt("return",0);case 206:At={},At.dStartWidth=l,At.dEndWidth=c,At.dBulge=0,At.pt=M,n[n.length-1].dBulge=Ge(M),n.push(At),dt=n.length,dt>=2&&(en=new st,en.addVertexAt(n[dt-2].pt,n[dt-2].dBulge,n[dt-2].dStartWidth,n[dt-2].dEndWidth),en.addVertexAt(n[dt-1].pt),f.push(h.drawEntity(en)));case 215:if(!j.isKeyWordPicked("CE")){he.next=311;break}return j.setMessage("指定圆弧的圆心"),j.setKeyWords(""),j.setUserDraw(function(){}),he.next=221,j.go();case 221:if(et=he.sent,et){he.next=224;break}return he.abrupt("return",{v:void 0});case 224:return Je=X.pt,$e=et.distanceTo(Je),j.setLastInputPoint(Je),j.setMessage("指定圆弧的端点(按住 Ctrl 键以切换方向)"),j.setKeyWords("[角度(A)/长度(L)]"),j.clearLastInputPoint(),j.setUserDraw(function(xt,Ht){Ht.drawLine(xt.toVector3(),et.toVector3());var Ct=et.clone().addvec(xt.sub(et).normalize().mult($e)),St=et.sub(Je).angleTo2(et.sub(Ct),at.kZAxis),En=new fe((Je.x+Ct.x)/2,(Je.y+Ct.y)/2),Kn=et.sub(En).normalize().mult(-$e),xr=et.clone().addvec((p?StMath.PI)?Kn.negate():Kn),er=Tt.calcBulge(Je,xr,Ct).val,ei=new st;ei.addVertexAt(X.pt,er,X.dStartWidth,X.dEndWidth),ei.addVertexAt(Ct),Ht.drawMcDbEntity(ei)}),he.next=233,j.go();case 233:if(dn=he.sent,!j.isKeyWordPicked("A")){he.next=261;break}return nn=new Zi,nn.setBasePt(et),nn.setMessage(Pt("ID_ARX_PLGET_I_ANGLE","指定夹角(按住 Ctrl 键以切换方向")),nn.setKeyWords(""),nn.setUserDraw(function(xt,Ht){var Ct=at.kXAxis.clone().angleTo2(xt.sub(et),at.kZAxis),St=p?Math.PI*2-Ct/2:Ct/2,En=Je.sub(et).rotateBy(St).normalize().mult($e),Kn=Je.sub(et).rotateBy(Ct).normalize().mult($e),xr=et.clone().addvec(En),er=et.clone().addvec(Kn),ei=Tt.calcBulge(Je,xr,er).val,yh=new st;yh.addVertexAt(X.pt,ei,X.dStartWidth,X.dEndWidth),yh.addVertexAt(er),Ht.drawMcDbEntity(yh)}),he.next=242,nn.go();case 242:if(Nt=he.sent,Nt!==null){he.next=245;break}return he.abrupt("return",0);case 245:return Ut=p?Math.PI*2-Nt/2:Nt/2,Gn=Je.sub(et).rotateBy(Ut).normalize().mult($e),Hn=Je.sub(et).rotateBy(Nt).normalize().mult($e),sn=et.clone().addvec(Gn),Un=et.clone().addvec(Hn),Pn=Tt.calcBulge(Je,sn,Un).val,Er={},Er.dStartWidth=l,Er.dEndWidth=c,Er.dBulge=0,Er.pt=Un,n[n.length-1].dBulge=Pn,n.push(Er),Rt=n.length,Rt>=2&&(Gt=new st,Gt.addVertexAt(n[Rt-2].pt,n[Rt-2].dBulge,n[Rt-2].dStartWidth,n[Rt-2].dEndWidth),Gt.addVertexAt(n[Rt-1].pt),f.push(h.drawEntity(Gt))),he.abrupt("return",1);case 261:if(!j.isKeyWordPicked("L")){he.next=292;break}return vr=new tn,vr.setMessage("指定弦长(按住 Ctrl 键以切换方向)"),vr.setKeyWords(""),vr.setBasePt(Je),vr.setUserDraw(function(xt,Ht){var Ct=xt.distanceTo(Je);if(!(Ct>$e*2)){var St=Math.asin(Ct/2/$e)*2,En=Je.sub(et).normalize().mult($e),Kn=et.clone().addvec(En.clone().rotateBy(p?Math.PI-St/2:St/2)),xr=et.clone().addvec(En.clone().rotateBy(St)),er=Tt.calcBulge(Je,Kn,xr).val,ei=new st;ei.addVertexAt(X.pt,er,X.dStartWidth,X.dEndWidth),ei.addVertexAt(xr),Ht.drawMcDbEntity(ei)}}),he.next=269,vr.go();case 269:if(Cr=he.sent,typeof Cr=="number"){he.next=272;break}return he.abrupt("return",0);case 272:if(!(Cr>$e*2)){he.next=276;break}return Ve.acutPrintf("*弦长不能大于直径 无效*"),j.setLastInputPoint(Je),he.abrupt("return",1);case 276:return O=Math.asin(Cr/2/$e)*2,z=Je.sub(et).normalize().mult($e),se=et.clone().addvec(z.clone().rotateBy(p?Math.PI-O/2:O/2)),be=et.clone().addvec(z.clone().rotateBy(O)),Ie=Tt.calcBulge(Je,se,be).val,tt={},tt.dStartWidth=l,tt.dEndWidth=c,tt.dBulge=0,tt.pt=be,n[n.length-1].dBulge=Ie,n.push(tt),Ue=n.length,Ue>=2&&(ot=new st,ot.addVertexAt(n[Ue-2].pt,n[Ue-2].dBulge,n[Ue-2].dStartWidth,n[Ue-2].dEndWidth),ot.addVertexAt(n[Ue-1].pt),f.push(h.drawEntity(ot))),j.setLastInputPoint(be),he.abrupt("return",1);case 292:if(dn){he.next=294;break}return he.abrupt("return",{v:void 0});case 294:return ze=et.clone().addvec(dn.sub(et).normalize().mult($e)),Ze=et.sub(Je).angleTo2(et.sub(ze),at.kZAxis),Mt=new fe((Je.x+ze.x)/2,(Je.y+ze.y)/2),It=et.sub(Mt).normalize().mult(-$e),wt=et.clone().addvec((p?ZeMath.PI)?It.negate():It),je=Tt.calcBulge(Je,wt,ze).val,it={},it.dStartWidth=l,it.dEndWidth=c,it.dBulge=0,it.pt=ze,n[n.length-1].dBulge=je,n.push(it),on=n.length,on>=2&&(Wt=new st,Wt.addVertexAt(n[on-2].pt,n[on-2].dBulge,n[on-2].dStartWidth,n[on-2].dEndWidth),Wt.addVertexAt(n[on-1].pt),f.push(h.drawEntity(Wt))),j.setLastInputPoint(ze),he.abrupt("return",1);case 311:if(!j.isKeyWordPicked("R")){he.next=383;break}return jn=new tn,jn.setMessage(Pt("ID_ARX_PLGETSTARTRADIUS","指定圆弧的半径")),jn.setKeyWords(""),he.next=317,jn.go();case 317:if(_t=he.sent,_t!==null){he.next=320;break}return he.abrupt("return",0);case 320:return ht=X.pt,j.setLastInputPoint(ht),j.setMessage("指定圆弧的端点(按住 Ctrl 键以切换方向)"),j.setKeyWords("[角度(A)]"),j.setUserDraw(function(xt,Ht){if(_t){var Ct=xt.distanceTo(ht);if(!(Ct>_t*2)){var St=Math.acos(Ct/2/_t),En=ht.clone().addvec(xt.sub(ht).rotateBy(St).normalize().mult(_t)),Kn=En.clone().addvec(new fe((ht.x+xt.x)/2,(ht.y+xt.y)/2).sub(En).normalize().mult(p?-_t:_t)),xr=Tt.calcBulge(ht,Kn,xt).val,er=new st;er.addVertexAt(X.pt,xr,X.dStartWidth,X.dEndWidth),er.addVertexAt(xt),Ht.drawMcDbEntity(er)}}}),he.next=327,j.go();case 327:if(_n=he.sent,!j.isKeyWordPicked("A")){he.next=363;break}return Yn=new Zi,Yn.setMessage(Pt("ID_ARX_PLGET_I_ANGLE","指定夹角")),Yn.setKeyWords(""),Yn.setBasePt(ht),he.next=335,Yn.go();case 335:if(Fn=he.sent,typeof Fn=="number"){he.next=338;break}return he.abrupt("return",0);case 338:return mr=Math.sin(Fn/2)*_t*2,j.setMessage("指定圆弧的弦方向(按住 Ctrl 键以切换方向)"),j.setKeyWords(""),j.setBasePt(ht),j.setUserDraw(function(xt,Ht){if(_t){var Ct=xt.sub(ht).normalize(),St=ht.clone().addvec(Ct.clone().mult(mr)),En=St.clone().addvec(Ct.clone().negate().rotateBy(-(Math.PI/2-Fn/2)).mult(_t)),Kn=En.clone().addvec(En.sub(new fe((ht.x+St.x)/2,(ht.y+St.y)/2)).normalize().mult(p?_t:-_t)),xr=Tt.calcBulge(ht,Kn,St).val,er=new st;er.addVertexAt(X.pt,xr,X.dStartWidth,X.dEndWidth),er.addVertexAt(St),Ht.drawMcDbEntity(er)}}),he.next=345,j.go();case 345:if(zt=he.sent,zt){he.next=348;break}return he.abrupt("return",0);case 348:return Qn=zt.sub(ht).normalize(),Gr=ht.clone().addvec(Qn.clone().mult(mr)),Fi=Gr.clone().addvec(Qn.clone().negate().rotateBy(-(Math.PI/2-Fn/2)).mult(_t)),za=Fi.clone().addvec(Fi.sub(new fe((ht.x+Gr.x)/2,(ht.y+Gr.y)/2)).normalize().mult(p?_t:-_t)),pa=Tt.calcBulge(ht,za,Gr).val,Ur={},Ur.dStartWidth=l,Ur.dEndWidth=c,Ur.dBulge=0,Ur.pt=Gr,n[n.length-1].dBulge=pa,n.push(Ur),Ri=n.length,Ri>=2&&(da=new st,da.addVertexAt(n[Ri-2].pt,n[Ri-2].dBulge,n[Ri-2].dStartWidth,n[Ri-2].dEndWidth),da.addVertexAt(n[Ri-1].pt),f.push(h.drawEntity(da))),he.abrupt("return",1);case 363:if(_n){he.next=365;break}return he.abrupt("return",0);case 365:if(nu=_n.distanceTo(ht),!(nu>_t*2)){he.next=369;break}return Ve.acutPrintf("指定圆弧的端点 *无效*"),he.abrupt("return",1);case 369:return Ds=Math.acos(nu/2/_t),Ha=ht.clone().addvec(_n.sub(ht).rotateBy(Ds).normalize().mult(_t)),xl=Ha.clone().addvec(new fe((ht.x+_n.x)/2,(ht.y+_n.y)/2).sub(Ha).normalize().mult(p?-_t:_t)),ks=Tt.calcBulge(ht,xl,_n).val,Li={},Li.dStartWidth=l,Li.dEndWidth=c,Li.dBulge=0,Li.pt=_n,n[n.length-1].dBulge=ks,n.push(Li),Sr=n.length,Sr>=2&&(hi=new st,hi.addVertexAt(n[Sr-2].pt,n[Sr-2].dBulge,n[Sr-2].dStartWidth,n[Sr-2].dEndWidth),hi.addVertexAt(n[Sr-1].pt),f.push(h.drawEntity(hi))),he.abrupt("return",1);case 383:if(!j.isKeyWordPicked("H")){he.next=404;break}return Ar=new tn,Ar.setMessage(Pt("ID_ARX_PLGETSTARTWIDTH","指定起点半宽")),he.next=388,Ar.go();case 388:if(va=he.sent,va!==null){he.next=391;break}return he.abrupt("return",0);case 391:return l=Ar.value()*2,Ar.setMessage(Pt("ID_ARX_PLGETVERITXWIDTH","指定端点半宽")),he.next=395,Ar.go();case 395:if(va=he.sent,va!==null){he.next=398;break}return he.abrupt("return",0);case 398:return c=Ar.value()*2,r=c,n[n.length-1].dStartWidth=l,n[n.length-1].dEndWidth=c,l=c,he.abrupt("return",1);case 404:if(!j.isKeyWordPicked("D")){he.next=433;break}return j.setMessage("指定圆弧起点切向"),j.setKeyWords(""),j.setLastInputPoint(X.pt),j.setUserDraw(function(xt,Ht){Ht.drawLine(xt.toVector3(),X.pt.toVector3())}),he.next=411,j.go();case 411:if(ja=he.sent,ja){he.next=414;break}return he.abrupt("return",0);case 414:return ma=ja.sub(X.pt),j.setLastInputPoint(X.pt),j.setBasePt(X.pt),j.setMessage("指定圆弧的端点(按住 Ctrl 键以切换方向)"),j.setKeyWords(""),j.setUserDraw(function(xt,Ht){var Ct=ls(X.pt,xt,p?ma.clone().negate():ma),St=new st;St.addVertexAt(X.pt,Ct,X.dStartWidth,X.dEndWidth),St.addVertexAt(xt),Ht.drawMcDbEntity(St)}),he.next=422,j.go();case 422:return Tl=he.sent,Bi={},Bi.dStartWidth=l,Bi.dEndWidth=c,Bi.dBulge=0,Bi.pt=Tl,n[n.length-1].dBulge=ls(X.pt,Bi.pt,p?ma.clone().negate():ma),n.push(Bi),Ya=n.length,Ya>=2&&(Dl=new st,Dl.addVertexAt(n[Ya-2].pt,n[Ya-2].dBulge,n[Ya-2].dStartWidth,n[Ya-2].dEndWidth),Dl.addVertexAt(n[Ya-1].pt),f.push(h.drawEntity(Dl))),he.abrupt("return",1);case 433:if(!j.isKeyWordPicked("L")){he.next=437;break}o=!0,he.next=492;break;case 437:if(!j.isKeyWordPicked("S")){he.next=463;break}return Oi=new fe(n[n.length-1].pt.x,n[n.length-1].pt.y,0),kl=new Yt,kl.setMessage(Pt("NO1_ID_SPECIFY_ARC2","指定圆弧的第二个点")),kl.setBasePt(Oi),he.next=444,kl.go();case 444:if(Ms=he.sent,Ms!==null){he.next=447;break}return he.abrupt("return",0);case 447:return Ml=new Yt,Ml.setMessage(Pt("ID_CIRCULAR_ENDPOINT","指定圆弧的端点(按住 Ctrl 键以切换方向)")),Ml.setUserDraw(function(xt,Ht){var Ct=new $i;Ct.computeArc(Oi.x,Oi.y,Ms.x,Ms.y,xt.x,xt.y);var St=Ms;p&&(St=Ct.center.clone().addvec(Ct.center.clone().sub(St)),Ct.computeArc(Oi.x,Oi.y,St.x,St.y,xt.x,xt.y)),Ht.drawMcDbEntity(Ct)}),he.next=452,Ml.go();case 452:if(Is=he.sent,Is===null){he.next=460;break}Ps=Ms,p&&(Il=new $i,Il.computeArc(Oi.x,Oi.y,Ps.x,Ps.y,Is.x,Is.y),Ps=Il.center.clone().addvec(Il.center.clone().sub(Ps))),gh=Tt.calcBulge(Oi,Ps,Is),gh.ret?(Fs={},Fs.dStartWidth=l,Fs.dEndWidth=c,Fs.pt=Is,Fs.dBluge=0,n[n.length-1].dBulge=gh.val,n.push(Fs),Ka=n.length,Ka>=2&&(Pl=new st,Pl.addVertexAt(n[Ka-2].pt,n[Ka-2].dBulge,n[Ka-2].dStartWidth,n[Ka-2].dEndWidth),Pl.addVertexAt(n[Ka-1].pt),f.push(h.drawEntity(Pl)))):Ve.acutPrintf(Pt("ID_ENDPOINT_INVALID1",` 端点 *无效*`)),he.next=461;break;case 460:return he.abrupt("return",0);case 461:he.next=492;break;case 463:if(!j.isKeyWordPicked("W")){he.next=485;break}return Xa=new tn,Xa.setMessage(Pt("ID_ARX_PLGETSTARTWIDTH","指定起点宽度")),he.next=468,Xa.go();case 468:if(Fl=he.sent,Fl!==null){he.next=471;break}return he.abrupt("return",0);case 471:return l=Xa.value(),Xa.setMessage(Pt("ID_ARX_PLGETVERITXWIDTH","指定端点宽度")),he.next=475,Xa.go();case 475:if(Fl=he.sent,Fl!==null){he.next=478;break}return he.abrupt("return",0);case 478:c=Xa.value(),r=c,n[n.length-1].dStartWidth=l,n[n.length-1].dEndWidth=c,l=c,he.next=492;break;case 485:if(!j.isKeyWordPicked("C")){he.next=491;break}return n[n.length-1].dBulge=ls(X.pt,t,p?ce.clone().negate():ce),s=!0,he.abrupt("return",0);case 491:j.isKeyWordPicked("U")&&n.length>1&&(n.pop(),f[f.length-1].erase(),f.pop(),n.length>0&&j.setLastInputPoint(n[n.length-1].pt));case 492:he.next=495;break;case 494:return he.abrupt("return",0);case 495:case"end":return he.stop()}},x)});case 29:return E.delegateYield(g(),"t0",31);case 31:if(d=E.t0,d!==0){E.next=34;break}return E.abrupt("break",40);case 34:if(d!==1){E.next=36;break}return E.abrupt("continue",29);case 36:if(!d){E.next=38;break}return E.abrupt("return",d.v);case 38:E.next=29;break;case 40:for(u&&(s=!0),y=0;y1)){E.next=47;break}for(b=new st,_=0;_0&&arguments[0]!==void 0?arguments[0]:new fe,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new fe,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:3,n=[];t=Math.max(3,t),n.push(e);for(var r=Math.PI*2/t,a=1;a0&&arguments[0]!==void 0?arguments[0]:new fe,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new fe,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:3,n=e.x,r=e.y,a=i.x,s=i.y,o=Math.max(3,t),u=Math.sqrt(Math.pow(n-a,2)+Math.pow(r-s,2)),l=u/Math.cos(Math.PI/o),c=Math.atan2(r-s,n-a)-Math.PI/o,f=[],h=0;h`),g.next=6,u.go();case 6:if(e=g.sent,u.getStatus()!==Lt.kCancel){g.next=9;break}return g.abrupt("return");case 9:u.getStatus()===Lt.kNone&&(e=5),u.clearLastInputPoint();case 11:l=function(){var d=ut(me.mark(function y(){var b;return me.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(b=function(x){var S=new st,T=$3(r,x,e||5);return T.forEach(function(L){S.addVertexAt(L)}),S.isClosed=!0,S},r){w.next=10;break}return o.setMessage(` 指定边的第一个端点`),o.setKeyWords(""),w.next=6,o.go();case 6:if(r=w.sent,r){w.next=9;break}return w.abrupt("return");case 9:o.setUserDraw(function(E,x){x.drawMcDbEntity(b(E))});case 10:if(a){w.next=15;break}return o.setMessage(` 指定边的第二个端点`),w.next=14,o.go();case 14:a=w.sent;case 15:if(a){w.next=17;break}return w.abrupt("return");case 17:ne.getCurrentMxCAD().drawEntity(b(a));case 18:case"end":return w.stop()}},y)}));return function(){return d.apply(this,arguments)}}();{g.next=16;break}case 15:return g.abrupt("return",g.sent);case 16:if(o.setMessage(` 指定正多变形的中心点`),o.setKeyWords("[边(E)]"),o.setCursorType(Kf.kCross),t){g.next=23;break}return g.next=22,o.go();case 22:t=g.sent;case 23:if(t){g.next=28;break}if(!o.isKeyWordPicked("e")){g.next=27;break}return g.next=27,l();case 27:return g.abrupt("return");case 28:if(typeof n=="boolean"){g.next=38;break}return o.setMessage(` 输入选项`),o.setKeyWords("[内接于圆(I)/外切于圆(C)]"),o.clearLastInputPoint(),g.next=34,o.go();case 34:if(o.getStatus()!==Lt.kCancel){g.next=36;break}return g.abrupt("return");case 36:o.isKeyWordPicked("i")&&(n=!1),o.isKeyWordPicked("c")&&(n=!0);case 38:if(c=function(y){var b=ne.getCurrentMxCAD().getCurrentDatabaseDrawColor(),_=new st;_.trueColor=new pr(b);var w=n?J3(t,y,e):Z3(t,y,e);return w.forEach(function(E){_.addVertexAt(E)}),_.isClosed=!0,_},h=new at,s){g.next=52;break}return p=new tn,p.setBasePt(t),p.setUserDraw(function(d,y){y.drawMcDbEntity(c(d)),t&&(h=d.sub(t))}),p.setMessage(Pt("McDbPolyline_Radius",` 指定圆的半径`)),p.setKeyWords(""),g.next=48,p.go();case 48:if(m=g.sent,m){g.next=51;break}return g.abrupt("return");case 51:s=m;case 52:h=h.normalize().mult(s),f=t.clone().addvec(h),ne.getCurrentMxCAD().drawEntity(c(f),!0);case 55:case"end":return g.stop()}},i)})),Fp.apply(this,arguments)}Ve.addCommand("Mx_Polygon",Zv);function Q3(i,e,t,n,r,a){var s=t-i,o=n-e,u=r/a,l=s*Math.cos(u)-o*Math.sin(u),c=s*Math.sin(u)+o*Math.cos(u);return l+=i,c+=e,new fe(l,c)}function eC(i,e,t){var n=Math.sqrt(Math.pow(t,2)-(Math.pow(i.x-e.x,2)+Math.pow(i.y-e.y,2))/4),r={x:(i.x+e.x)/2,y:(i.y+e.y)/2};return new fe(r.x-n*(e.y-i.y)/Math.sqrt(Math.pow(i.x-e.x,2)+Math.pow(i.y-e.y,2)),r.y-n*(i.x-e.x)/Math.sqrt(Math.pow(i.x-e.x,2)+Math.pow(i.y-e.y,2)))}function tC(i,e,t,n){var r={x:e.x-i.x,y:e.y-i.y},a={x:t.x-i.x,y:t.y-i.y},s=Math.atan2(r.y,r.x),o=Math.atan2(a.y,a.x),u=o-s;u<0&&(u+=2*Math.PI);var l=n+u;return l}function nC(i,e,t,n){var r=e+t;return new fe(i.x+n*Math.cos(r),i.y+n*Math.sin(r))}function v0(i,e,t){var n=Math.sqrt(Math.pow(e.x-i.x,2)+Math.pow(e.y-i.y,2)),r={x:e.x-i.x,y:e.y-i.y},a={x:t.x-i.x,y:t.y-i.y},s=r.x*a.x+r.y*a.y,o=r.x*a.y-r.y*a.x,u=Math.atan2(o,s),l=2*n*Math.sin(u/2);return l}function Jv(){return Rp.apply(this,arguments)}function Rp(){return Rp=ut(me.mark(function i(){var e,t,n,r,a,s,o,u,l,c,f,h,p,m,v,g,d,y,b,_,w,E,x,S,T;return me.wrap(function(B){for(;;)switch(B.prev=B.next){case 0:e=ne.getCurrentMxCAD(),t=new Yt,n=new $i,f=function(){},h=` 指定圆弧的起点:`,p="[圆心(C)]",m=!1,v=function(R){R.ctrlKey&&(m=!0)},g=function(){m=!1},d=function(){window.removeEventListener("keydown",v),window.removeEventListener("keyup",g),window.addEventListener("keydown",v),window.addEventListener("keyup",g)},y=new pt,b=new pr,b.setRGB(255,211,13),y.trueColor=b,y.linetype="ACAD_ISO02W100",_=!1,E=function(R,F){m?(n.startAngle=l,n.endAngle=u):(n.startAngle=u,n.endAngle=l),n.radius=c,n.center=o,y.endPoint=R,F.drawMcDbEntity(n),F.drawMcDbEntity(y)},x=function(R){n.computeArc(r.x,r.y,a.x,a.y,s.x,s.y),R.drawMcDbEntity(n)},S=me.mark(function k(){var R,F,W,K,$,U,N,P,D;return me.wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return t.setUserDraw(f),t.setMessage(h),t.setKeyWords(p),V.next=5,t.go();case 5:if(R=V.sent,!t.isKeyWordPicked("C")){V.next=30;break}if(w="C",_=!0,!r){V.next=27;break}return t.setMessage(` 指定圆弧的圆心`),t.setKeyWords(""),V.next=14,t.go();case 14:if(F=V.sent,F){V.next=17;break}return V.abrupt("return",{v:void 0});case 17:o=F,h=` 指定圆弧的端点(按住 ctrl 键取相反方向)`,p="[角度(A)/弦长(L)/修改半径(R)]",t.setLastInputPoint(o),y.startPoint=o,c=o.distanceTo(r),f=function(Z,Y){u=Dn(o.x,o.y,r.x,r.y)-Math.PI,l=Dn(o.x,o.y,Z.x,Z.y)-Math.PI,y.endPoint=Z,E(Z,Y)},d(),V.next=29;break;case 27:h=` 指定圆弧的圆心`,p="";case 29:return V.abrupt("return",0);case 30:if(!_){V.next=124;break}if(!t.isKeyWordPicked("R")){V.next=55;break}if(w!=="E"){V.next=41;break}return W=0,K=function(){var Q=ut(me.mark(function Z(){var Y;return me.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return t.setLastInputPoint(r),t.setMessage(` 指定圆弧的半径(按住 ctrl 键取相反方向)`),t.setKeyWords(""),t.setLastInputPoint(r),y.startPoint=r,d(),f=function(j,ce){W<0?(y.endPoint=j,ce.drawMcDbEntity(y),W=0):(c=j.distanceTo(r),o=eC(r,s,c),u=Dn(o.x,o.y,r.x,r.y)-Math.PI,l=Dn(o.x,o.y,s.x,s.y)-Math.PI,E(j,ce),W=v0(o,r,s))},t.setUserDraw(f),le.next=10,t.go();case 10:if(Y=le.sent,Y){le.next=13;break}return le.abrupt("return",!0);case 13:if(W=v0(o,r,s),!(W<0)){le.next=20;break}return Ve.acutPrintf(` 半径不能小于弦长的一半,弦长为`+W),W=0,le.next=19,K();case 19:return le.abrupt("return",le.sent);case 20:e.drawEntity(n);case 21:case"end":return le.stop()}},Z)}));return function(){return Q.apply(this,arguments)}}(),V.next=37,K();case 37:return V.t0=V.sent,V.abrupt("return",{v:V.t0});case 41:return t.setLastInputPoint(o),t.setMessage(Pt("draw_arc_id","指定圆弧的半径<"+n.radius+">")),t.setKeyWords(""),t.setUserDraw(function(Q,Z){y.startPoint=o,y.endPoint=Q,Z.drawMcDbEntity(y)}),V.next=47,t.go();case 47:if($=V.sent,$){V.next=50;break}return V.abrupt("return",{v:void 0});case 50:c=$.distanceTo(o),h=` 指定圆弧的端点(按住 ctrl 键取相反方向)`,p="[角度(A)/弦长(L)/修改半径(R)]",d();case 54:return V.abrupt("return",0);case 55:if(!t.isKeyWordPicked("A")){V.next=74;break}if(!(w==="C"||w==="L")){V.next=66;break}return h="指定圆弧夹角(按住 ctrl 键取相反方向)",p="[修改半径(R)]",u=Math.PI+Dn(o.x,o.y,r.x,r.y),t.setLastInputPoint(o),y.startPoint=o,c||(c=o.distanceTo(r)),f=function(Z,Y){var ee=Dn(o.x,o.y,Z.x,Z.y)-Math.PI;s=nC(o,u,ee,c),l=tC(o,r,s,u),E(Z,Y)},d(),V.abrupt("return",0);case 66:if(w!=="E"){V.next=74;break}return h="指定圆弧夹角(按住 ctrl 键取相反方向)",p="",t.setLastInputPoint(r),y.startPoint=r,f=function(Z,Y){var ee=Dn(r.x,r.y,Z.x,Z.y)-Math.PI;o=k_(r,s,ee),c=o.distanceTo(r),u=Dn(o.x,o.y,r.x,r.y)-Math.PI,l=Dn(o.x,o.y,s.x,s.y)-Math.PI,E(Z,Y)},d(),V.abrupt("return",0);case 74:if(!t.isKeyWordPicked("L")){V.next=83;break}return w="L",h=` 指定弦长(按住 ctrl 键取相反方向)`,p="[修改半径(R)]",t.setLastInputPoint(r),y.startPoint=r,f=function(Z,Y){var ee=Z.distanceTo(r);if(ee>c*2){y.endPoint=Z,Y.drawMcDbEntity(y);return}s=Q3(o.x,o.y,r.x,r.y,ee,n.radius),l=Dn(o.x,o.y,s.x,s.y)-Math.PI,E(Z,Y)},d(),V.abrupt("return",0);case 83:if(!t.isKeyWordPicked("D")){V.next=98;break}return t.setMessage(` 指定圆弧起点的切向(按住 ctrl 键取相反方向`),t.setKeyWords(""),t.setLastInputPoint(r),y.startPoint=r,U=new st,d(),t.setUserDraw(function(Q,Z){r=r,s=s;var Y=Q.sub(r),ee=ls(m?r:s,m?s:r,Y);U=new st,U.addVertexAt(r,ee),U.addVertexAt(s),y.endPoint=Q,Z.drawMcDbEntity(U),Z.drawMcDbEntity(y)}),V.next=93,t.go();case 93:if(N=V.sent,N){V.next=96;break}return V.abrupt("return",{v:void 0});case 96:return e.drawEntity(U),V.abrupt("return",{v:void 0});case 98:if(R){V.next=100;break}return V.abrupt("return",{v:void 0});case 100:if(w!=="L"){V.next=106;break}if(P=R.distanceTo(r),!(P>c*2)){V.next=106;break}return t.clearLastInputPoint(),Ve.acutPrintf(` 弦长不能超出半径的两倍,半径为`+c),V.abrupt("return",0);case 106:if(o){V.next=111;break}return o=R,h=` 指定圆弧的起点`,f=function(Z,Y){Y.drawLine(Z.toVector3(),o.toVector3())},V.abrupt("return",0);case 111:if(r){V.next=122;break}return r=R,u=Dn(o.x,o.y,r.x,r.y)-Math.PI,c=r.distanceTo(o),h=` 指定圆弧的端点(按住 ctrl 键取相反方向)`,p="[角度(A)/弦长(L)/修改半径(R)]",t.setLastInputPoint(o),y.startPoint=o,f=function(Z,Y){l=Dn(o.x,o.y,Z.x,Z.y)-Math.PI,E(Z,Y)},d(),V.abrupt("return",0);case 122:return e.drawEntity(n),V.abrupt("return",{v:void 0});case 124:if(!t.isKeyWordPicked("E")){V.next=146;break}return w="E",t.clearLastInputPoint(),t.setMessage(` 指定圆弧的端点`),t.setKeyWords(""),y.startPoint=r,r=r,t.setUserDraw(function(Q,Z){y.endPoint=Q,Z.drawMcDbEntity(y)}),V.next=134,t.go();case 134:if(D=V.sent,D){V.next=137;break}return V.abrupt("return",{v:void 0});case 137:return s=D,_=!0,h=` 指定圆弧的圆心(按住 ctrl 键取相反方向)`,p="[角度(A)/方向(D)/半径(R)]",t.setLastInputPoint(s),y.startPoint=s,f=function(Z,Y){o=Z,c=o.distanceTo(r),u=Dn(o.x,o.y,r.x,r.y)-Math.PI,l=Dn(o.x,o.y,s.x,s.y)-Math.PI,E(Z,Y)},d(),V.abrupt("return",0);case 146:if(R){V.next=148;break}return V.abrupt("return",{v:void 0});case 148:if(r){V.next=155;break}return r=R,h=` 指定圆弧第二个点`,p="[圆心(C)/端点(E)]",f=function(Z,Y){Y.drawLine(r.toVector3(),Z.toVector3())},t.clearLastInputPoint(),V.abrupt("return",0);case 155:if(a){V.next=161;break}return a=R,h=` 指定圆弧的端点`,p="",f=function(Z,Y){s=Z,x(Y)},V.abrupt("return",0);case 161:return f(a,{drawMcDbEntity:function(Z){ne.getCurrentMxCAD().drawEntity(Z,!0)}}),V.abrupt("return",{v:void 0});case 163:case"end":return V.stop()}},k)});case 19:return B.delegateYield(S(),"t0",21);case 21:if(T=B.t0,T!==0){B.next=24;break}return B.abrupt("continue",19);case 24:if(!T){B.next=26;break}return B.abrupt("return",T.v);case 26:B.next=19;break;case 28:case"end":return B.stop()}},i)})),Rp.apply(this,arguments)}Ve.on("init",function(){Ve.addCommand("Mx_Arc",Jv)});function $v(){return Lp.apply(this,arguments)}function Lp(){return Lp=ut(me.mark(function i(){var e,t,n,r,a,s,o,u,l,c;return me.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:r=1,a=0,s=Math.PI*2,o=0,u=function(){var m=new bo;return m.center=e,m.majorAxis=t,m.minorAxis=n,m.radiusRatio=r,m.startAngle=a,m.endAngle=s,m.rotate(e,o),m},l=me.mark(function p(){var m,v,g,d,y,b,_,w,E,x,S,T,L;return me.wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return m=new Yt,m.setMessage("指定椭圆弧的轴端点"),m.setKeyWords("[中心点(C)]"),k.next=5,m.go();case 5:if(v=k.sent,g=0,d=null,!m.isKeyWordPicked("C")){k.next=29;break}return m.setMessage("指定椭圆弧的中心点"),m.setKeyWords(""),m.clearLastInputPoint(),k.next=14,m.go();case 14:if(y=k.sent,y){k.next=17;break}return k.abrupt("return",{v:void 0});case 17:return e=y,m.setMessage("指定椭圆弧轴的端点"),m.setBasePt(e),k.next=22,m.go();case 22:if(d=k.sent,d){k.next=25;break}return k.abrupt("return",{v:void 0});case 25:t=n=e.sub(d),g=e.distanceTo(d),k.next=42;break;case 29:if(v){k.next=31;break}return k.abrupt("return",{v:void 0});case 31:return m.setBasePt(v),m.setMessage("指定椭圆弧轴的另一个端点"),m.setKeyWords(""),k.next=36,m.go();case 36:if(d=k.sent,d){k.next=39;break}return k.abrupt("return",{v:void 0});case 39:e=new fe((v.x+d.x)/2,(v.y+d.y)/2),t=n=v.sub(d),g=v.distanceTo(d)/2;case 42:return b=new tn,b.setMessage(Pt("McDbEllipse_lengh","指定另一条半轴长度")),b.setKeyWords("[旋转(R)]"),b.setBasePt(e),b.setUserDraw(function(R,F){var W=e.distanceTo(R)/2;r=W/g;var K=u();F.drawMcDbEntity(K)}),k.next=49,b.go();case 49:if(_=k.sent,!b.isKeyWordPicked("R")){k.next=63;break}return b.setMessage(Pt("McDbEllipse_Rotation","指定绕主轴旋转的角度")),b.setKeyWords(""),b.setBasePt(e),b.setUserDraw(function(R,F){var W=Math.abs(R.x-e.x),K=Math.abs(R.y-e.y),$=W/(W+K);r=$;var U=u();F.drawMcDbEntity(U)}),k.next=57,b.go();case 57:if(w=k.sent,w){k.next=60;break}return k.abrupt("return",{v:void 0});case 60:b.getDetailedResult()===8&&(r=w),k.next=67;break;case 63:if(_){k.next=65;break}return k.abrupt("return",{v:void 0});case 65:E=_/2,r=E/g;case 67:if(d){k.next=69;break}return k.abrupt("return",{v:void 0});case 69:return x=Math.atan2(t.y,t.x)-Math.PI/2,b.setMessage(Pt("McDbEllipse_startAngle","指定起点角度")),b.setKeyWords(""),b.setBasePt(e),b.setUserDraw(function(R,F){var W=Math.atan2(R.y-e.y,R.x-e.x);a=(W-x+Math.PI*2)%(Math.PI*2);var K=u();F.drawMcDbEntity(K)}),k.next=76,b.go();case 76:if(S=k.sent,S){k.next=79;break}return k.abrupt("return",{v:void 0});case 79:return b.getDetailedResult()===8&&(a=S),b.clearLastInputPoint(),b.setBasePt(e),b.setMessage(Pt("McDbEllipse_endAngle","指定端点角度")),b.setKeyWords("[夹角(I)]"),b.setUserDraw(function(R,F){var W=Math.atan2(R.y-e.y,R.x-e.x);s=(W-x+Math.PI*2)%(Math.PI*2),s0)){r.next=4;break}return e.forEach(function(a){a.erase()}),r.abrupt("return");case 4:return t=new wr,r.next=7,t.userSelect(` 选择删除对象`);case 7:if(r.sent){r.next=9;break}return r.abrupt("return");case 9:t.forEach(function(a){a.erase()});case 10:case"end":return r.stop()}},i)})),Op.apply(this,arguments)}function yl(i){var e=void 0,t=void 0;if(i.forEach(function(n){var r=n.getMcDbEntity();if(r!=null){var a=r.getBoundingBox();a.ret&&(!e||!t?(e=new THREE.Vector3(a.minPt.x,a.minPt.y,0),t=new THREE.Vector3(a.maxPt.x,a.maxPt.y,0)):(e.x>a.minPt.x&&(e.x=a.minPt.x),e.y>a.minPt.y&&(e.y=a.minPt.y),t.x0)){p.next=4;break}return p.abrupt("break",15);case 4:return t=new wr,p.next=7,t.userSelect(` 选择复制对象`);case 7:if(p.sent){p.next=9;break}return p.abrupt("return");case 9:if(e=t.getIds(),e.length!=0){p.next=12;break}return p.abrupt("return");case 12:return p.abrupt("break",15);case 15:return e.length>=10&&(a=yl(e),a&&(n=a.minPt,r=a.maxPt)),s=new Yt,s.setMessage(` 指定基点`),p.next=20,s.go();case 20:if(o=p.sent,o){p.next=23;break}return p.abrupt("return");case 23:s.setMessage("指定移动到点"),s.setBasePt(o),s.setUseBasePt(!0),s.setUserDraw(function(m,v){if(n&&r){var g=m.x-o.x,d=m.y-o.y,y=new THREE.Vector3(n.x+g,r.y+d,0),b=new THREE.Vector3(r.x+g,n.y+d,0),_=new THREE.Vector3(y.x,b.y,0),w=new THREE.Vector3(b.x,y.y,0);y=Vt.cad2doc2(y.x,y.y,y.z),b=Vt.cad2doc2(b.x,b.y,b.z),_=Vt.cad2doc2(_.x,_.y,_.z),w=Vt.cad2doc2(w.x,w.y,w.z),v.drawLine(w,y),v.drawLine(y,_),v.drawLine(_,b),v.drawLine(b,w)}for(var E=0;E0)){p.next=4;break}return p.abrupt("break",15);case 4:return t=new wr,p.next=7,t.userSelect(` 选择移动对象`);case 7:if(p.sent){p.next=9;break}return p.abrupt("return");case 9:if(e=t.getIds(),e.length!=0){p.next=12;break}return p.abrupt("return");case 12:return p.abrupt("break",15);case 15:return e.length>=10&&(a=yl(e),a&&(n=a.minPt,r=a.maxPt)),s=new Yt,s.setMessage("指定基点"),s.clearLastInputPoint(),p.next=21,s.go();case 21:if(o=p.sent,o){p.next=24;break}return p.abrupt("return");case 24:return s.setMessage("指定移动到点"),s.setBasePt(o),s.setUseBasePt(!0),u=function(v){for(var g=0;g0)){v.next=4;break}return v.abrupt("break",15);case 4:return t=new wr,v.next=7,t.userSelect(` 选择旋转对象`);case 7:if(v.sent){v.next=9;break}return v.abrupt("return");case 9:if(e=t.getIds(),e.length!=0){v.next=12;break}return v.abrupt("return");case 12:return v.abrupt("break",15);case 15:return a=yl(e),a&&(n=a.minPt,r=a.maxPt),s=new Yt,s.setMessage("指定基点"),v.next=21,s.go();case 21:if(o=v.sent,o!=null){v.next=24;break}return v.abrupt("return");case 24:u=!1,l=0,c=new Zi,c.setMessage(Pt("Entity_Rotate_Angle","指定旋转角度")),c.setKeyWords("[复制(C)/参照(R)]"),c.setBasePt(o),c.setUseBasePt(!0),f=function(d){for(var y=0;y")),y.setKeyWords(""),y.setUseBasePt(!1),b=0,y.setUserDraw(function(W){if(o){var K=W.sub(o);b=K.angleTo2(at.kXAxis,at.kNegateZAxis)}}),F.next=17,y.go();case 17:if(_=F.sent,typeof _=="number"){F.next=20;break}return F.abrupt("return",{v:f(!1)});case 20:return y.getDetailedResult()===yr.kCoordIn?l=THREE.MathUtils.degToRad(_):b!==0&&(l=b),F.abrupt("return",0);case 22:if(typeof d=="number"){F.next=24;break}return F.abrupt("return",{v:f(!1)});case 24:if(w=o,E=new Ir,E.setToRotation(d-l,at.kZAxis,w),x=function(K){return K instanceof cn},!u){F.next=42;break}S=[],T=0;case 31:if(!(T0)){R.next=4;break}return R.abrupt("break",15);case 4:return t=new wr,R.next=7,t.userSelect(` 选择缩放对象`);case 7:if(R.sent){R.next=9;break}return R.abrupt("return");case 9:if(e=t.getIds(),e.length!=0){R.next=12;break}return R.abrupt("return");case 12:return R.abrupt("break",15);case 15:if(a=yl(e),a){R.next=18;break}return R.abrupt("return");case 18:return n=a.minPt,r=a.maxPt,s=r.x-n.x,o=r.y-n.y,u=(s+o)/3,u<1e-5&&(u=1),l=new Yt,l.setMessage("指定基点"),R.next=28,l.go();case 28:if(c=R.sent,c){R.next=31;break}return R.abrupt("return");case 31:f=0,h=!1,p=function(W,K){if(c){var $=new fe(W),U=new fe(c),N=$.distanceTo(U);if(!(N<1e-5)){f=N/u,f>1e5&&(f=1e5);var P=new Ir;if(P.setToScaling(f,U),n&&r){var D=new fe(n.x,r.y,0),q=new fe(r.x,n.y,0),V=new fe(D.x,q.y,0),Q=new fe(q.x,D.y,0);D.transformBy(P),q.transformBy(P),V.transformBy(P),Q.transformBy(P),D=Vt.cad2doc(D),q=Vt.cad2doc(q),V=Vt.cad2doc(V),Q=Vt.cad2doc(Q),K.drawLine(Q.toVector3(),D.toVector3()),K.drawLine(D.toVector3(),V.toVector3()),K.drawLine(V.toVector3(),q.toVector3()),K.drawLine(q.toVector3(),Q.toVector3())}P.setToScaling(f,U);for(var Z=0;Z1e5&&(f=1e5),w=new Ir,w.setToScaling(f,c),!h){R.next=98;break}E=[],x=function(W){return W instanceof cn},S=0;case 87:if(!(S0&&y[0]!==void 0?y[0]:!1,g=me.mark(function w(){var E,x,S,T,L,B;return me.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:if(T=Tt.getCurrentSelect(),!(T.length>0&&v)){R.next=5;break}S=T,R.next=8;break;case 5:return R.next=7,Tt.selectEnt(` 选择偏移对象`,e,!1,function(F){F.setKeyWords("[退出(E)/放弃(U)]"),E=F},function(F){x=F});case 7:S=R.sent;case 8:if(!E){R.next=15;break}if(!E.isKeyWordPicked("E")){R.next=11;break}return R.abrupt("return",{v:void 0});case 11:if(!E.isKeyWordPicked("U")){R.next=13;break}return R.abrupt("return",0);case 13:if(E.getStatus()!==Lt.kCancel){R.next=15;break}return R.abrupt("return",{v:void 0});case 15:if(S.length!=0){R.next=17;break}return R.abrupt("return",0);case 17:L=me.mark(function F(){var W,K,$,U;return me.wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return t.setDynamicInputType(cr.kXYCoordInput),v?t.setMessage(` 指定通过点`+(n?" <下一个对象>":"")):t.setMessage(` 指定要偏移那一侧上的点`),t.setKeyWords(n?"[退出(E)/放弃(U)]":"[退出(E)/多个(M)/放弃(U)]"),t.disableAllTrace(),t.setUserDraw(function(D,q){var V=S.map(function(le){return le.clone()}),Q=V[0];if(Q){var Z=Za;if(v){var Y=Q.getClosestPointTo(D,!0);if(!Y.ret)return;x=Y.val,Z=D.distanceTo(x)}if(Z){var ee=Q.offsetCurves(Z,D);ee.empty()||ee.forEach(function(le){le instanceof cn&&q.drawMcDbEntity(le)})}}}),P.next=7,t.go();case 7:if(W=P.sent,!t.isKeyWordPicked("E")){P.next=10;break}return P.abrupt("return",{v:{v:void 0}});case 10:if(!t.isKeyWordPicked("M")){P.next=13;break}return n=!0,P.abrupt("return",0);case 13:if(!t.isKeyWordPicked("U")){P.next=15;break}return P.abrupt("return",{v:1});case 15:if(W){P.next=17;break}return P.abrupt("return",{v:{v:void 0}});case 17:if(K=S[0].getMcDbCurve(),K){P.next=20;break}return P.abrupt("return",{v:{v:void 0}});case 20:if(!v){P.next=25;break}if($=K.getClosestPointTo(W,!0),$.ret){P.next=24;break}return P.abrupt("return",{v:{v:void 0}});case 24:Za=W.distanceTo($.val);case 25:if(Za){P.next=27;break}return P.abrupt("return",{v:{v:void 0}});case 27:if(U=K.offsetCurves(Za,W),!U.empty()){P.next=30;break}return P.abrupt("return",{v:{v:void 0}});case 30:if(U.forEach(function(D){D instanceof cn&&(Ns&&K!==null&&K!==void 0&&K.layer&&(D.layer=K.layer),Ns||(D.layer=ne.getCurrentMxCAD().getDatabase().getCurrentlyLayerName()),ne.getCurrentMxCAD().drawEntity(D))}),n){P.next=34;break}return Gl&&S[0].erase(!0),P.abrupt("return",1);case 34:case"end":return P.stop()}},F)});case 19:return R.delegateYield(L(),"t0",21);case 21:if(B=R.t0,B!==0){R.next=24;break}return R.abrupt("continue",19);case 24:if(B!==1){R.next=26;break}return R.abrupt("break",30);case 26:if(!B){R.next=28;break}return R.abrupt("return",B.v);case 28:R.next=19;break;case 30:case"end":return R.stop()}},w)});case 2:return _.delegateYield(g(),"t0",4);case 4:if(d=_.t0,d!==0){_.next=7;break}return _.abrupt("continue",2);case 7:if(d!==1){_.next=9;break}return _.abrupt("continue",2);case 9:if(!d){_.next=11;break}return _.abrupt("return",d.v);case 11:_.next=2;break;case 13:case"end":return _.stop()}},m)}));return function(){return p.apply(this,arguments)}}();case 5:return a=new tn,a.setMessage(` 指定偏移距离<`.concat((Za||0).toFixed(3),">")),a.setKeyWords("[通过点(T)/删除(E)/图层(L))]"),h.next=11,a.go();case 11:if(s=h.sent,!(a.isKeyWordPicked("T")||a.getStatus()===Lt.kNone)){h.next=16;break}return h.next=15,r(!0);case 15:return h.abrupt("return");case 16:if(!a.isKeyWordPicked("E")){h.next=33;break}return o=new li,o.setMessage("要在偏移后删除源对象吗?<".concat(Gl?"是":"否",">")),o.setKeyWords("[是(Y)/否(N)]"),h.next=22,o.go();case 22:if(u=h.sent,o.getStatus()!==Lt.kCancel){h.next=25;break}return h.abrupt("return");case 25:if(o.getStatus()!==Lt.kNone){h.next=27;break}return h.abrupt("continue",5);case 27:if(u?.toLocaleLowerCase()!=="y"){h.next=30;break}return Gl=!0,h.abrupt("continue",5);case 30:if(u?.toLocaleLowerCase()!=="n"){h.next=33;break}return Gl=!1,h.abrupt("continue",5);case 33:if(!a.isKeyWordPicked("L")){h.next=51;break}return l=new li,l.setMessage("输入偏移对象的图层选项<".concat(Ns?"源":"当前",">")),l.setKeyWords("[当前(C)/源(S)]"),h.next=39,l.go();case 39:if(c=h.sent,l.getStatus()!==Lt.kCancel){h.next=42;break}return h.abrupt("return");case 42:if(l.getStatus()!==Lt.kNone){h.next=45;break}return Ns=!0,h.abrupt("continue",5);case 45:if(c?.toLocaleLowerCase()!=="c"){h.next=48;break}return Ns=!1,h.abrupt("continue",5);case 48:if(c?.toLocaleUpperCase()!=="s"){h.next=51;break}return Ns=!0,h.abrupt("continue",5);case 51:if(s&&(Za=s),Za){h.next=54;break}return h.abrupt("return");case 54:return h.next=56,r();case 56:return h.abrupt("break",59);case 59:case"end":return h.stop()}},i)})),jp.apply(this,arguments)}function hC(){ne.getCurrentMxCAD().regen()}function pC(){return Yp.apply(this,arguments)}function Yp(){return Yp=ut(me.mark(function i(){var e,t,n,r,a,s,o,u,l,c,f,h;return me.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,Tt.userSelect("选择镜像对象");case 2:if(e=m.sent,e.length!=0){m.next=6;break}return Ve.acutPrintf(` 没有能镜像的对象`),m.abrupt("return");case 6:return r=yl(e),r&&(t=r.minPt,n=r.maxPt),a=new Yt,a.setMessage("指定基点"),m.next=12,a.go();case 12:if(s=m.sent,s!=null){m.next=15;break}return m.abrupt("return");case 15:return a.setMessage("指定镜向点"),a.setBasePt(s),a.setUseBasePt(!0),a.setUserDraw(function(v,g){if(t&&n){var d=new Ir;d.setMirror(s,v);var y=new fe(t.x,n.y,0),b=new fe(n.x,t.y,0),_=new fe(y.x,b.y,0),w=new fe(b.x,y.y,0);y.transformBy(d),b.transformBy(d),_.transformBy(d),w.transformBy(d),y=Vt.cad2doc(y),b=Vt.cad2doc(b),_=Vt.cad2doc(_),w=Vt.cad2doc(w),g.drawLine(w.toVector3(),y.toVector3()),g.drawLine(y.toVector3(),_.toVector3()),g.drawLine(_.toVector3(),b.toVector3()),g.drawLine(b.toVector3(),w.toVector3())}for(var E=0;E"),u.setKeyWords("[是(Y)/否(N)]"),m.next=31,u.go();case 31:if(l=m.sent,u.getStatus()!==Lt.kCancel){m.next=34;break}return m.abrupt("return");case 34:c=0;case 35:if(!(c")),d.setKeyWords(""),w.next=6,d.go();case 6:if(y=w.sent,typeof y=="number"){w.next=9;break}return w.abrupt("return");case 9:return e=y,d.setMessage("指定第二个倒角距离<".concat(t.toFixed(4),">")),d.setKeyWords(""),w.next=14,d.go();case 14:if(b=w.sent,typeof b=="number"){w.next=17;break}return w.abrupt("return");case 17:return t=b,localStorage.setItem("mx_chamfer_dist",e.toString()),localStorage.setItem("mx_chamfer_dist1",t.toString()),a=!1,w.abrupt("return",[e,t]);case 22:case"end":return w.stop()}},g)}));return function(){return v.apply(this,arguments)}}(),l=function(){var v=ut(me.mark(function g(){var d,y,b,_;return me.wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return d=new tn,d.setMessage("指定第一条直线的倒角长度<".concat(n.toFixed(4),">")),d.setKeyWords(""),d.clearLastInputPoint(),E.next=6,d.go();case 6:if(y=E.sent,typeof y=="number"){E.next=9;break}return E.abrupt("return");case 9:return n=y,b=new Zi,b.setMessage("指定第一条直线的倒角角度<".concat(Math.trunc(r/(Math.PI/180)),">")),b.setKeyWords(""),d.clearLastInputPoint(),E.next=16,b.go();case 16:if(_=E.sent,typeof _=="number"){E.next=19;break}return E.abrupt("return");case 19:return b.getDetailedResult()===yr.kCoordIn?r=_*(Math.PI/180):r=_,a=!0,E.abrupt("return",[n,r]);case 22:case"end":return E.stop()}},g)}));return function(){return v.apply(this,arguments)}}(),c=function(g,d,y,b){var _=g.startPoint.clone(),w=d.startPoint.clone(),E=d.endPoint.clone(),x=w.clone().addvec(w.sub(_).normalize().mult(-y)),S=x.sub(w).rotateBy(-b).mult(-y),T=x.clone().addvec(S),L=new pt(x,T),B=new pt(w,E.clone().addvec(w.sub(E).normalize().mult(-y))),k=L.IntersectWith(B,yn.Intersect.kExtendBoth);if(!k.isEmpty()){var R=k.at(0);return R.distanceTo(w)}},f=me.mark(function v(){var g,d,y,b,_,w,E,x,S,T,L,B,k,R,F,W,K,$,U,N,P,D,q,V,Q,Z,Y,ee,le,Ee,j,ce,Ce,Ae,ke,Pe,Me,H,X,xe,_e,Le,Be,Se;return me.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return g=new Ci,g.setDynamicInputType(cr.kNoInput),d=new ln,d.AddMcDbEntityTypes("LINE,LWPOLYLINE"),g.setFilter(d),g.setMessage("选择一条直线"),g.setKeyWords("[放弃(U)/多段线(P)/距离(D)/角度(A)/修剪(T)/方式(E)/多个(M)]"),re.next=9,g.go();case 9:if(y=re.sent,!g.isKeyWordPicked("U")){re.next=12;break}return re.abrupt("return",0);case 12:if(!g.isKeyWordPicked("P")){re.next=77;break}case 13:return b=new Ci,b.setDynamicInputType(cr.kNoInput),_=new ln,_.AddMcDbEntityTypes("LWPOLYLINE"),b.setMessage("选择二维多段线"),b.setKeyWords("[距离(D)/角度(A)/方法(M)]"),w=function(M){var C=M.getMcDbEntity();if(C instanceof st){var A=C.numVerts();if(A<3)return Ve.acutPrintf(`没有线可以形成倒角 `);var G=e,I=t;if(a){var te=C.getPointAt(0).val,ae=C.getPointAt(1).val,ve=C.getPointAt(2).val;G=n;var we=c(new pt(te,ae),new pt(ae,ve),n,r);if(typeof we!="number")return Ve.acutPrintf(` 倒角角度无效。`);I=we}var Te=new st;Te.isClosed=C.isClosed;for(var He=[],qe=function(Nt,Ut){var Gn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Hn=Nt.sub(Ut).normalize().mult(Gn?-I:-G),sn=Nt.clone().addvec(Hn),Un=Ut.sub(Nt).normalize().mult(Gn?-G:-I),Pn=Ut.clone().addvec(Un);return[sn,Pn]},ft=function(Nt,Ut){var Gn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Hn=qe(Nt,Ut,Gn),sn=ci(Hn,2),Un=sn[0],Pn=sn[1];s?(Te.addVertexAt(Un),Te.addVertexAt(Pn)):He.push(Un,Pn)},bt=0;bt")),K.setKeyWords("[修剪(T)/不修剪(N)]"),re.next=95,K.go();case 95:if($=re.sent,K.getStatus()!==Lt.kCancel){re.next=98;break}return re.abrupt("return",{v:void 0});case 98:if(K.getStatus()!==Lt.kNone){re.next=100;break}return re.abrupt("return",0);case 100:if($){re.next=102;break}return re.abrupt("return",{v:void 0});case 102:if($.toLocaleLowerCase()!=="t"){re.next=105;break}return s=!0,re.abrupt("return",0);case 105:if($.toLocaleLowerCase()!=="n"){re.next=108;break}return s=!1,re.abrupt("return",0);case 108:if(!g.isKeyWordPicked("E")){re.next=127;break}return U=new li,U.setMessage("输入剪切方法<".concat(a?"角度":"距离",">")),U.setKeyWords("[距离(D)/角度(A)]"),re.next=114,U.go();case 114:if(N=re.sent,U.getStatus()!==Lt.kCancel){re.next=117;break}return re.abrupt("return",{v:void 0});case 117:if(U.getStatus()!==Lt.kNone){re.next=119;break}return re.abrupt("return",0);case 119:if(typeof N=="string"){re.next=121;break}return re.abrupt("return",{v:void 0});case 121:if(N.toLocaleLowerCase()!=="d"){re.next=124;break}return a=!1,re.abrupt("return",0);case 124:if(N.toLocaleLowerCase()!=="a"){re.next=127;break}return a=!0,re.abrupt("return",0);case 127:if(!g.isKeyWordPicked("M")){re.next=130;break}return o=!0,re.abrupt("return",0);case 130:if(g.getStatus()!==Lt.kCancel){re.next=132;break}return re.abrupt("return",{v:void 0});case 132:if(y){re.next=134;break}return re.abrupt("return",0);case 134:if(y.isValid()){re.next=136;break}return re.abrupt("return",0);case 136:if(P=g.pickPoint(),D=y.getMcDbEntity(),D){re.next=140;break}return re.abrupt("return",0);case 140:if(q=new ln,q.AddMcDbEntityTypes("LINE,LWPOLYLINE"),D instanceof pt&&D.highlight(!0),!(D instanceof st)){re.next=147;break}if(V=Du(D,P,Ve.viewCoordLong2Cad(2)),V){re.next=147;break}return re.abrupt("return",0);case 147:Q=!1,Z=function(M){Q&&(Ve.acutPrintf(M),Q=!1)},Y=function(){Q=!0,D.highlight(!1)},ee=function(M,C,A,G,I){var te=arguments.length>5&&arguments[5]!==void 0?arguments[5]:function(nn){ne.getCurrentMxCAD().drawEntity(nn)},ae=M,ve=C,we;if(M instanceof st&&V){var Te=V,He=Te.start,qe=Te.end;M=new pt(He,qe)}var ft;if(C instanceof st){if(ft=Du(C,A,1),!ft)return Y();var bt=ft,lt=bt.start,At=bt.end;C=new pt(lt,At)}if(C=C.clone(),M=M.clone(),!C||!M)return Y();if(C instanceof pt&&M instanceof pt){if(C.startPoint.isEqualTo(M.startPoint)&&C.endPoint.isEqualTo(M.endPoint)){Z(` 图元无法用自身倒角`);return}var dt=C.IntersectWith(M,yn.Intersect.kOnBothOperands),en=dt.isEmpty();if(!en){var et=dt.at(0);if((M.startPoint.isEqualTo(et)||M.endPoint.isEqualTo(et)||C.startPoint.isEqualTo(et)||C.endPoint.isEqualTo(et))&&G===0&&I===0)return{apply:function(){}}}var Je=M.IntersectWith(C,yn.Intersect.kExtendBoth);if(Je.isEmpty()){Z(` 两直线平行`);return}var $e=Je.at(0),dn=function(Nt,Ut,Gn,Hn,sn,Un){var Pn=!1;return en?Pn=Math.max(Gn.distanceTo($e),Hn.distanceTo($e))0||Math.max(sn.distanceTo($e),Un.distanceTo($e))0:Pn=(Nt?Gn.distanceTo($e):Hn.distanceTo($e))0||(Ut?sn.distanceTo($e):Un.distanceTo($e))0,Pn&&Z(` 倒角距离太大`),Pn};return we=function(){var Nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ae,Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ve,Gn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Nt.getHandle()===Ut.getHandle();if(Nt instanceof pt&&Ut instanceof pt){var Hn=yi(Nt.startPoint,Nt.endPoint,$e,P),sn=yi(Ut.startPoint,Ut.endPoint,$e,A);if(dn(Hn,sn,Nt.startPoint,Nt.endPoint,Ut.startPoint,Ut.endPoint))return;var Un=Sc(Nt,Ut,$e,Hn,sn,G,I,s);return Un&&te(Un),!0}var Pn=function(Rt,Gt,vr,Cr,O,z){var se=Rt.numVerts();if(Gn||(Rt.isClosed=!1),!!O){var be=O.start,Ie=O.end,tt=O.endIndex,Ue=O.startIndex,ot=O.isClosed,ze=[],Ze=function(hi,Ar){var va=hi.getBulgeAt(Ar),ja=hi.getPointAt(Ar).val,ma=hi.getWidthsAt(Ar),Tl=ma.val1,Bi=ma.val2;return{point:ja,bulge:va,startWidth:Tl,endWidth:Bi}},Mt=yi(be.clone(),Ie.clone(),$e,vr);if(Gt instanceof pt){if(Gn){Z(` 同一条直线无法倒角`);return}var It=yi(Gt.startPoint.clone(),Gt.endPoint.clone(),$e,Cr);if(dn(Mt,It,be,Ie,Gt.startPoint,Gt.endPoint))return;var wt=Gt.clone(),je=Sc(new pt(be.clone(),Ie.clone()),wt,$e,Mt,It,G,I,s);if(Mt){for(var it=ot?Rt.numVerts():tt,on=0;on(ot||Fn?2:4),za=_n-Ue;if(Fi)return zt?s?Ue===0||_n===0?(Ue===0?(Rt.setPointAt(0,zt.startPoint),ot||Fn?Rt.addVertexAt(zt.endPoint):Rt.setPointAt(Qn-1,zt.endPoint)):(Rt.setPointAt(0,zt.endPoint),ot||Fn?Rt.addVertexAt(zt.startPoint):Rt.setPointAt(Qn-1,zt.startPoint)),Rt.isClosed=!0):s&&(Rt.setPointAt(Qn-1,ot?zt.endPoint:zt.startPoint),Rt.addVertexAt(ot?zt.startPoint:zt.endPoint)):te(zt):s&&(Rt.setPointAt(0,$e),Rt.removeVertexAt(Qn-1),Rt.isClosed=!0),!0;if(Math.abs(za)>2){Z(` 多段线中的直线必须是连续的 或被一条线段断开。`);return}else Gt=Gt.clone()}if(!(Gt instanceof st))return;if(Mt){for(var pa=0;pa<=Ue;pa++)ze.push(Ze(Rt,pa));if(zt?s?(ze.push({point:zt.startPoint}),ze.push({point:zt.endPoint})):te(zt):ze.push({point:$e}),mr)for(var Ur=_n;Ur>=0;Ur--)ze.push(Ze(Gt,Ur));else if(Fn)ze.push(Ze(Gt,0));else for(var Ri=Gt.numVerts(),da=Yn;da=0;Ha--)ze.unshift(Ze(Gt,Ha));else if(Fn)ze.unshift(Ze(Gt,0));else for(var xl=Gt.numVerts(),ks=Yn;ks"u")){re.next=229;break}return re.abrupt("continue",152);case 229:return re.abrupt("break",240);case 230:re.next=238;break;case 232:if(ne.App.MxCADAssist.MxChamfer(y.id,le.id,P.x,P.y,ce.x,ce.y,Pe,Me,s),!o){re.next=237;break}return re.abrupt("continue",152);case 237:return re.abrupt("break",240);case 238:re.next=152;break;case 240:if(D instanceof pt&&D.highlight(!1),!o){re.next=245;break}return re.abrupt("return",0);case 245:return Y(),re.abrupt("return",1);case 247:case"end":return re.stop()}},v)});case 14:return m.delegateYield(f(),"t0",16);case 16:if(h=m.t0,h!==0){m.next=19;break}return m.abrupt("continue",14);case 19:if(h!==1){m.next=21;break}return m.abrupt("break",25);case 21:if(!h){m.next=23;break}return m.abrupt("return",h.v);case 23:m.next=14;break;case 25:case"end":return m.stop()}},i)})),Kp.apply(this,arguments)}function gC(){return Xp.apply(this,arguments)}function Xp(){return Xp=ut(me.mark(function i(){var e,t,n,r,a,s,o,u;return me.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:e=Number(localStorage.getItem("Mx_Fillet_radius"))||0,t=localStorage.getItem("Mx_Fillet_isPruning")!=="false",n=!1,Ve.acutPrintf(` 当前设置: 模式 = `.concat(t?"修剪":"不修剪",", 半径 = ").concat(e.toFixed(4))),r=function(){var f=ut(me.mark(function h(){var p,m;return me.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return p=new tn,p.setDynamicInputType(cr.kDistanceInput),p.setKeyWords("指定圆角半径<".concat(e.toFixed(4),">")),g.next=5,p.go();case 5:if(m=g.sent,p.getStatus()!==Lt.kCancel){g.next=8;break}return g.abrupt("return");case 8:if(p.getStatus()!==Lt.kNone){g.next=10;break}return g.abrupt("return",e);case 10:if(typeof m=="number"){g.next=12;break}return g.abrupt("return");case 12:return e=m,localStorage.setItem("Mx_Fillet_radius",e.toString()),g.abrupt("return",e);case 15:case"end":return g.stop()}},h)}));return function(){return f.apply(this,arguments)}}(),a=new Ci,s=new ln,s.AddMcDbEntityTypes("LINE,LWPOLYLINE"),o=me.mark(function f(){var h,p,m,v,g,d,y,b,_,w,E,x,S,T,L,B,k,R,F,W,K,$,U,N;return me.wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return a.setDynamicInputType(cr.kNoInput),a.setFilter(s),a.setMessage("选择第一个对象"),a.setKeyWords("[放弃(U)/多段线(P)/半径(R)/修剪(T)/多个(M)]"),D.next=6,a.go();case 6:if(h=D.sent,a.getStatus()!==Lt.kCancel){D.next=9;break}return D.abrupt("return",{v:void 0});case 9:if(!a.isKeyWordPicked("U")){D.next=11;break}return D.abrupt("return",0);case 11:if(!a.isKeyWordPicked("P")){D.next=24;break}p=me.mark(function q(){var V,Q,Z,Y,ee,le,Ee,j,ce,Ce,Ae,ke,Pe,Me,H,X,xe,_e,Le,Be,Se,We,re,Ge,M,C,A;return me.wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return a.setMessage("选择二维多段线"),a.setKeyWords("[半径(R)]"),V=new ln,V.AddMcDbEntityTypes("LWPOLYLINE"),a.setFilter(V),I.next=7,a.go();case 7:if(Q=I.sent,a.getStatus()!==Lt.kCancel){I.next=10;break}return I.abrupt("return",{v:{v:void 0}});case 10:if(!a.isKeyWordPicked("R")){I.next=17;break}return I.next=13,r();case 13:if(I.t0=qt(I.sent),I.t0==="number"){I.next=16;break}return I.abrupt("return",{v:{v:void 0}});case 16:return I.abrupt("return",0);case 17:if(Q){I.next=19;break}return I.abrupt("return",{v:{v:void 0}});case 19:if(Q.isValid()){I.next=21;break}return I.abrupt("return",{v:{v:void 0}});case 21:if(Z=Q.getMcDbEntity(),Z instanceof st){I.next=24;break}return I.abrupt("return",{v:{v:void 0}});case 24:Y=Z.numVerts(),ee=0,le=0,Ee=[],Z.isClosed||Y--;case 29:if(!(eeY-1&&(le=0),j=Z.getPointAt(le),ce=j.val,ce){I.next=39;break}if(!n){I.next=38;break}return I.abrupt("return",1);case 38:return I.abrupt("return",{v:{v:void 0}});case 39:if(le++,le>Y-1&&(le=0),Ce=Z.getPointAt(le),Ae=Ce.val,Ae){I.next=48;break}if(!n){I.next=47;break}return I.abrupt("return",1);case 47:return I.abrupt("return",{v:{v:void 0}});case 48:if(le++,le>Y-1&&(le=0),ke=Z.getPointAt(le),Pe=ke.val,Pe){I.next=57;break}if(!n){I.next=56;break}return I.abrupt("return",1);case 56:return I.abrupt("return",{v:{v:void 0}});case 57:if(le=ee,Me=Bl(e,new pt(ce,Ae),new pt(Ae,Pe),Ae,!0,!1,t),Me){I.next=61;break}return I.abrupt("return",{v:{v:console.log("两直线平行")}});case 61:if(H=Me.arc,X=Me.segmentLine,xe=Me.bulge,X){I.next=64;break}return I.abrupt("return",{v:{v:void 0}});case 64:if(!t){I.next=78;break}if(_e=Z.getWidthsAt(ee),Le=_e.ret,Be=_e.val1,Se=_e.val2,Le){I.next=74;break}if(!Z.isClosed){I.next=73;break}if(We=Z.getWidthsAt(0),re=We.ret,Ge=We.val1,M=We.val2,re){I.next=71;break}return I.abrupt("continue",29);case 71:Ee.push({width:Ge,width1:M,bulge:xe,point:X.startPoint}),Ee.unshift({width:Ge,width1:M,bulge:Z.getBulgeAt(0),point:X.endPoint});case 73:return I.abrupt("continue",29);case 74:Ee.push({width:Be,width1:Se,bulge:xe,point:X.startPoint}),Ee.push({width:Be,width1:Se,bulge:Z.getBulgeAt(ee),point:X.endPoint}),I.next=80;break;case 78:Mu(H,Z),ne.getCurrentMxCAD().drawEntity(H);case 80:I.next=29;break;case 82:if(t){for(C=Z.numVerts(),A=0;A")),v.setKeyWords("[修剪(T)/不修剪(N)]"),D.next=38,v.go();case 38:if(g=D.sent,v.getStatus()!==Lt.kCancel){D.next=41;break}return D.abrupt("return",{v:void 0});case 41:if(v.getStatus()!==Lt.kNone){D.next=43;break}return D.abrupt("return",0);case 43:if(typeof g=="string"){D.next=45;break}return D.abrupt("return",{v:void 0});case 45:if(g.toLocaleLowerCase()!=="t"){D.next=49;break}return t=!0,localStorage.setItem("Mx_Fillet_isPruning","true"),D.abrupt("return",0);case 49:if(g.toLocaleLowerCase()!=="n"){D.next=53;break}return t=!1,localStorage.setItem("Mx_Fillet_isPruning","false"),D.abrupt("return",0);case 53:if(!a.isKeyWordPicked("M")){D.next=56;break}return n=!0,D.abrupt("return",0);case 56:if(h){D.next=58;break}return D.abrupt("return",0);case 58:if(h.isValid()){D.next=60;break}return D.abrupt("return",0);case 60:if(d=a.pickPoint(),y=new ln,y.AddMcDbEntityTypes("LINE,LWPOLYLINE"),b=new Ci,b.setFilter(y),_=h.getMcDbEntity(),_){D.next=68;break}return D.abrupt("return",0);case 68:if(_ instanceof pt&&_.highlight(!0),!(_ instanceof st)){D.next=73;break}if(w=Du(_,d,Ve.viewCoordLong2Cad(2)),w){D.next=73;break}return D.abrupt("return",0);case 73:E=new Ci,E.setFilter(y),x=!1,S=function(V){x&&(Ve.acutPrintf(V),x=!1)},T=function(){x=!0,_.highlight(!1)},L=function(V,Q,Z){var Y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(Se){ne.getCurrentMxCAD().drawEntity(Se)},ee=V,le=Q,Ee;if(V instanceof st&&w){var j=w,ce=j.start,Ce=j.end;V=new pt(ce,Ce)}var Ae;if(Q instanceof st){if(Ae=Du(Q,Z,1),!Ae)return T();var ke=Ae,Pe=ke.start,Me=ke.end;Q=new pt(Pe,Me)}if(Q=Q.clone(),V=V.clone(),!Q||!V)return T();if(Q instanceof pt&&V instanceof pt){if(Q.startPoint.isEqualTo(V.startPoint)&&Q.endPoint.isEqualTo(V.endPoint)){S(` 图元无法用自身倒角`);return}var H=Q.IntersectWith(V,yn.Intersect.kOnBothOperands),X=H.isEmpty();if(!X){var xe=H.at(0);if((V.startPoint.isEqualTo(xe)||V.endPoint.isEqualTo(xe)||Q.startPoint.isEqualTo(xe)||Q.endPoint.isEqualTo(xe))&&e===0)return{apply:function(){}}}var _e=V.IntersectWith(Q,yn.Intersect.kExtendBoth);if(_e.isEmpty()){S(` 两直线平行`);return}var Le=_e.at(0),Be=function(We,re,Ge,M,C,A,G){var I=!1;return X?I=Math.max(Ge.distanceTo(Le),M.distanceTo(Le))0||Math.max(C.distanceTo(Le),A.distanceTo(Le))0:I=(We?Ge.distanceTo(Le):M.distanceTo(Le))0||(re?C.distanceTo(Le):A.distanceTo(Le))0,I&&S(` 倒角距离太大`),I};return Ee=function(){var We=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ee,re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:le,Ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:We.getHandle()===re.getHandle();if(We instanceof pt&&re instanceof pt){var M=yi(We.startPoint,We.endPoint,Le,d),C=yi(re.startPoint,re.endPoint,Le,Z),A=Bl(e,We,re,Le,M,C,t,qi);if(!A){S(` 直线平行`);return}var G=A.arc,I=A.chamferDist;return Be(M,C,We.startPoint,We.endPoint,re.startPoint,re.endPoint,I)?void 0:(G&&Y(G),!0)}var te=function(ve,we,Te,He,qe,ft){var bt=ve.numVerts();if(Ge||(ve.isClosed=!1),!!qe){var lt=qe.start,At=qe.end,dt=qe.endIndex,en=qe.startIndex,et=qe.isClosed,Je=[],$e=function(zt,Qn){var Gr=zt.getBulgeAt(Qn),Fi=zt.getPointAt(Qn).val,za=zt.getWidthsAt(Qn),pa=za.val1,Ur=za.val2;return{point:Fi,bulge:Gr,startWidth:pa,endWidth:Ur}},dn=yi(lt.clone(),At.clone(),Le,Te);if(we instanceof pt){if(Ge){S(` 同一条直线无法倒角`);return}var nn=yi(we.startPoint.clone(),we.endPoint.clone(),Le,He),Nt=we.clone(),Ut=Bl(e,new pt(lt.clone(),At.clone()),Nt,Le,dn,nn,t,qi);if(!Ut){S(` 直线平行`);return}var Gn=Ut.chamferDist,Hn=Ut.bulge,sn=Ut.segmentLine,Un=Ut.arc;if(Be(dn,nn,lt,At,we.startPoint,we.endPoint,Gn))return;if(dn){for(var Pn=et?ve.numVerts():dt,Er=0;Er(et||se?2:4),wt=O-en;if(It)return Ue?t?en===0||O===0?(en===0?(console.log("start1"),ve.setPointAt(0,Ue.startPoint),et||se?ve.addVertexAt(Ue.endPoint,-ot):(ve.setPointAt(Ze-1,Ue.endPoint),ve.setBulgeAt(Ze-1,ot))):(ve.setPointAt(0,Ue.endPoint),et||se?ve.addVertexAt(Ue.startPoint,ot):(ve.setPointAt(Ze-1,Ue.startPoint),ve.setBulgeAt(Ze-1,ot))),ve.isClosed=!0):t&&(ve.setPointAt(Ze-1,et?Ue.endPoint:Ue.startPoint),ve.setBulgeAt(Ze-1,et?-ot:ot),ve.addVertexAt(et?Ue.startPoint:Ue.endPoint)):Y(tt):t&&(ve.setPointAt(0,Le),ve.removeVertexAt(Ze-1),ve.isClosed=!0),!0;if(Math.abs(wt)>2){S(` 多段线中的直线必须是连续的 或被一条线段断开。`);return}else we=we.clone()}if(!(we instanceof st))return;if(dn){for(var je=0;je<=en;je++)Je.push($e(ve,je));if(Ue?t?(Je.push({point:Ue.startPoint,bulge:ot}),Je.push({point:Ue.endPoint})):Y(tt):Je.push({point:Le}),be)for(var it=O;it>=0;it--)Je.push($e(we,it));else if(se)Je.push($e(we,0));else for(var on=we.numVerts(),Wt=z;Wt=0;ht--)Je.unshift($e(we,ht));else if(se)Je.unshift($e(we,0));else for(var _n=we.numVerts(),Yn=z;Yn<_n;Yn++)Je.unshift($e(we,Yn))}}else return!1;if(t){for(var Fn=0;Fn"u")){D.next=112;break}return D.abrupt("continue",80);case 112:return D.abrupt("break",123);case 113:D.next=121;break;case 115:if(ne.App.MxCADAssist.MxFillet(h.id,B.id,d.x,d.y,F.x,F.y,e,t),!n){D.next=120;break}return D.abrupt("continue",80);case 120:return D.abrupt("break",123);case 121:D.next=80;break;case 123:if(T(),!n){D.next=128;break}return D.abrupt("return",0);case 128:return D.abrupt("return",1);case 129:case"end":return D.stop()}},f)});case 9:return c.delegateYield(o(),"t0",11);case 11:if(u=c.t0,u!==0){c.next=14;break}return c.abrupt("continue",9);case 14:if(u!==1){c.next=16;break}return c.abrupt("break",20);case 16:if(!u){c.next=18;break}return c.abrupt("return",u.v);case 18:c.next=9;break;case 20:case"end":return c.stop()}},i)})),Xp.apply(this,arguments)}var Zy=function(){var i=ut(me.mark(function e(){var t,n,r,a;return me.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:t=[];case 1:return n=new Yt,n.setMessage(t.length===0?"指定第一个栏选点":"指定下一个栏选点"),n.setKeyWords(t.length===0?"":"[放弃(U)]"),n.setUserDraw(function(u,l){var c=new st;t.forEach(function(f){c.addVertexAt(f)}),c.addVertexAt(u),l.drawMcDbEntity(c)}),o.next=8,n.go();case 8:if(r=o.sent,!n.isKeyWordPicked("U")){o.next=13;break}return a=t.pop(),a&&n.setLastInputPoint(a),o.abrupt("continue",1);case 13:if(n.getStatus()!==Lt.kCancel){o.next=15;break}return o.abrupt("return",!1);case 15:if(n.getStatus()!==Lt.kNone){o.next=17;break}return o.abrupt("break",22);case 17:if(r){o.next=19;break}return o.abrupt("return",t);case 19:t.push(r),o.next=1;break;case 22:return o.abrupt("return",t);case 23:case"end":return o.stop()}},e)}));return function(){return i.apply(this,arguments)}}();function yC(){return qp.apply(this,arguments)}function qp(){return qp=ut(me.mark(function i(){var e,t,n,r,a,s,o,u,l,c,f,h,p,m,v;return me.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(e=!1,t=!1,n=[],r=new ln,r.AddMcDbEntityTypes("LINE,LWPOLYLINE,ELLIPSE,ARC,CIRCLE,SPLINE,XLINE"),o=Tt.getCurrentSelect(r),o.length!==0){d.next=16;break}return d.next=10,Tt.userSelect("选择对象或<全部选择>",r,function(y,b){a=b,s=y});case 10:if(o=d.sent,a.getStatus()!==Lt.kCancel){d.next=13;break}return d.abrupt("return");case 13:if(a.getStatus()===Lt.kNone&&o.length===0&&(s.allSelect(r),s.forEach(function(y){o.push(y)})),o.length!==0){d.next=16;break}return d.abrupt("return");case 16:if(u=new ua,u.copyFormAryId(o),l=new ne.mxcadassemblyimp.MxDrawTrimAssist,l.Init(u.imp)){d.next=21;break}return d.abrupt("return");case 21:if(c=new ne.mxcadassemblyimp.MxDrawExtendAssist,c.Init(u.imp)){d.next=24;break}return d.abrupt("return");case 24:f=!1,h=function(b){f=b.key==="Shift"},window.addEventListener("keydown",h),p=function(){return f=!1},window.addEventListener("keyup",p),m=me.mark(function y(){var b,_,w,E,x,S,T,L,B,k,R,F,W,K,$,U,N;return me.wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return b=new wr,b.isWhileSelect=!1,b.isSelectHighlight=!1,D.next=5,b.userSelect("选择要修剪的对象或按住 Shift 键选择要延伸的对象",r,function(q){_=q,_.setKeyWords("[栏选(F)/窗交(C)/边(E)/删除(R)".concat(n.length>0?"/放弃(U)":"","]"))});case 5:if(D.sent){D.next=7;break}return D.abrupt("return",0);case 7:if(!_.isKeyWordPicked("F")){D.next=18;break}return D.next=10,Zy();case 10:if(w=D.sent,w){D.next=13;break}return D.abrupt("return",0);case 13:return E=new st,w.forEach(function(q){E.addVertexAt(q)}),n.push([o,o.map(function(q){return q.clone()})]),o.forEach(function(q){var V=q.getMcDbEntity();if(V instanceof Jn){var Q=V.IntersectWith(E,yn.Intersect.kOnBothOperands);Q.isEmpty()||Q.forEach(function(Z){u.copyFormAryId([q]),f?c.DoExtend(u.imp,Z.x,Z.y,Z.x,Z.y):l.DoTrim(u.imp,Z.x,Z.y,Z.x,Z.y)})}}),D.abrupt("return",1);case 18:if(!_.isKeyWordPicked("C")){D.next=21;break}return e=!0,D.abrupt("return",1);case 21:if(!_.isKeyWordPicked("E")){D.next=39;break}return x=new li,x.setMessage("指定隐含边延伸模式<".concat(t?"延伸":"不延伸",">")),x.setKeyWords("[延伸(E)/不延伸(N)]"),D.next=27,x.go();case 27:if(S=x.keyWordPicked(),x.getStatus()!==Lt.kCancel){D.next=30;break}return D.abrupt("return",{v:void 0});case 30:if(x.getStatus()!==Lt.kNone){D.next=32;break}return D.abrupt("return",1);case 32:if(x.getStatus()!==Lt.kKeyWord){D.next=39;break}if(S!=="E"){D.next=36;break}return t=!0,D.abrupt("return",1);case 36:if(S!=="N"){D.next=39;break}return t=!1,D.abrupt("return",1);case 39:if(!_.isKeyWordPicked("R")){D.next=46;break}return D.next=42,Tt.userSelect("选择要删除的对象",r);case 42:return T=D.sent,n.push([T,T.map(function(q){return q.clone()})]),T.forEach(function(q){q.erase()}),D.abrupt("return",1);case 46:if(!_.isKeyWordPicked("U")){D.next=52;break}return L=n.pop()||[],B=ci(L,2),k=B[0],R=B[1],k?.forEach(function(q){q.erase()}),F=ne.getCurrentMxCAD(),R?.forEach(function(q){q instanceof cn&&F.drawEntity(q)}),D.abrupt("return",1);case 52:if(W=b.getIds(),W.length!=0){D.next=55;break}return D.abrupt("return",1);case 55:if(K=b.getSelectPoint(),!e){D.next=67;break}return $=K.pt1,U=K.pt2,N=new st,N.addVertexAt($),N.addVertexAt(new fe($.x,U.y)),N.addVertexAt(U),N.addVertexAt(new fe(U.x,$.y)),N.isClosed=!0,n.push([o,o.map(function(q){return q.clone()})]),o.forEach(function(q){var V=q.getMcDbEntity();if(V instanceof Jn){var Q=V.IntersectWith(N,yn.Intersect.kOnBothOperands);Q.isEmpty()||Q.forEach(function(Z){u.copyFormAryId([q]),f?c.DoExtend(u.imp,Z.x,Z.y,Z.x,Z.y):l.DoTrim(u.imp,Z.x,Z.y,Z.x,Z.y)})}}),D.abrupt("return",1);case 67:n.push([W,o.map(function(q){return q.clone()})]),u.copyFormAryId(W),f?c.DoExtend(u.imp,K.pt1.x,K.pt1.y,K.pt2.x,K.pt2.y):l.DoTrim(u.imp,K.pt1.x,K.pt1.y,K.pt2.x,K.pt2.y);case 70:case"end":return D.stop()}},y)});case 30:return d.delegateYield(m(),"t0",32);case 32:if(v=d.t0,v!==0){d.next=35;break}return d.abrupt("break",41);case 35:if(v!==1){d.next=37;break}return d.abrupt("continue",30);case 37:if(!v){d.next=39;break}return d.abrupt("return",v.v);case 39:d.next=30;break;case 41:window.removeEventListener("keydown",h),window.removeEventListener("keyup",p),l.UnInit(),c.UnInit();case 45:case"end":return d.stop()}},i)})),qp.apply(this,arguments)}function bC(){return Zp.apply(this,arguments)}function Zp(){return Zp=ut(me.mark(function i(){var e,t,n,r,a,s,o,u,l,c,f,h,p,m,v;return me.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(e=new ln,t=!1,a=!1,e.AddMcDbEntityTypes("LINE,LWPOLYLINE,ARC"),s=Tt.getCurrentSelect(e),s.length!==0){d.next=15;break}return d.next=9,Tt.userSelect("选择对象或<全部选择>",e,function(y,b){n=b,r=y});case 9:if(s=d.sent,n.getStatus()!==Lt.kCancel){d.next=12;break}return d.abrupt("return");case 12:if(n.getStatus()===Lt.kNone&&s.length===0&&(r.allSelect(e),r.forEach(function(y){s.push(y)})),s.length!==0){d.next=15;break}return d.abrupt("return");case 15:if(o=new ua,o.copyFormAryId(s),u=new ne.mxcadassemblyimp.MxDrawExtendAssist,u.Init(o.imp)){d.next=20;break}return d.abrupt("return");case 20:if(l=new ne.mxcadassemblyimp.MxDrawTrimAssist,l.Init(o.imp)){d.next=23;break}return d.abrupt("return");case 23:c=[],f=!1,h=function(b){f=b.key==="Shift"},window.addEventListener("keydown",h),p=function(){return f=!1},window.addEventListener("keyup",p),m=me.mark(function y(){var b,_,w,E,x,S,T,L,B,k,R,F,W,K,$,U;return me.wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return b=new wr,b.isWhileSelect=!1,b.isSelectHighlight=!1,P.next=5,b.userSelect("选择要延伸的对象或按住 Shift 键选择要修剪的对象",e,function(D){_=D,_.setKeyWords("[栏选(F)/窗交(C)/边(E)".concat(c.length>0?"/放弃(U)":"","]"))});case 5:if(P.sent){P.next=7;break}return P.abrupt("return",0);case 7:if(!_.isKeyWordPicked("F")){P.next=18;break}return P.next=10,Zy();case 10:if(w=P.sent,w){P.next=13;break}return P.abrupt("return",0);case 13:return E=new st,w.forEach(function(D){E.addVertexAt(D)}),c.push([s,s.map(function(D){return D.clone()})]),s.forEach(function(D){var q=D.getMcDbEntity();if(q instanceof Jn){var V=q.IntersectWith(E,yn.Intersect.kOnBothOperands);V.isEmpty()||V.forEach(function(Q){o.copyFormAryId([D]),f?l.DoTrim(o.imp,Q.x,Q.y,Q.x,Q.y):u.DoExtend(o.imp,Q.x,Q.y,Q.x,Q.y)})}}),P.abrupt("return",1);case 18:if(!_.isKeyWordPicked("C")){P.next=21;break}return t=!0,P.abrupt("return",1);case 21:if(!_.isKeyWordPicked("E")){P.next=39;break}return x=new li,x.setMessage("指定隐含边延伸模式<".concat(a?"延伸":"不延伸",">")),x.setKeyWords("[延伸(E)/不延伸(N)]"),P.next=27,x.go();case 27:if(S=x.keyWordPicked(),x.getStatus()!==Lt.kCancel){P.next=30;break}return P.abrupt("return",{v:void 0});case 30:if(x.getStatus()!==Lt.kNone){P.next=32;break}return P.abrupt("return",1);case 32:if(x.getStatus()!==Lt.kKeyWord){P.next=39;break}if(S!=="E"){P.next=36;break}return a=!0,P.abrupt("return",1);case 36:if(S!=="N"){P.next=39;break}return a=!1,P.abrupt("return",1);case 39:if(!_.isKeyWordPicked("U")){P.next=46;break}return T=c.pop()||[],L=ci(T,2),B=L[0],k=L[1],console.log(B),B?.forEach(function(D){D.erase()}),R=ne.getCurrentMxCAD(),k?.forEach(function(D){D instanceof cn&&R.drawEntity(D)}),P.abrupt("return",1);case 46:if(F=b.getIds(),F.length!=0){P.next=49;break}return P.abrupt("return",1);case 49:if(W=b.getSelectPoint(),!t){P.next=61;break}return K=W.pt1,$=W.pt2,U=new st,U.addVertexAt(K),U.addVertexAt(new fe(K.x,$.y)),U.addVertexAt($),U.addVertexAt(new fe($.x,K.y)),U.isClosed=!0,c.push([s,s.map(function(D){return D.clone()})]),s.forEach(function(D){var q=D.getMcDbEntity();if(q instanceof Jn){var V=q.IntersectWith(U,yn.Intersect.kOnBothOperands);V.isEmpty()||V.forEach(function(Q){o.copyFormAryId([D]),f?l.DoTrim(o.imp,Q.x,Q.y,Q.x,Q.y):u.DoExtend(o.imp,Q.x,Q.y,Q.x,Q.y)})}}),P.abrupt("return",1);case 61:c.push([F,s.map(function(D){return D.clone()})]),o.copyFormAryId(F),f?l.DoTrim(o.imp,W.pt1.x,W.pt1.y,W.pt2.x,W.pt2.y):u.DoExtend(o.imp,W.pt1.x,W.pt1.y,W.pt2.x,W.pt2.y);case 64:case"end":return P.stop()}},y)});case 30:return d.delegateYield(m(),"t0",32);case 32:if(v=d.t0,v!==0){d.next=35;break}return d.abrupt("break",41);case 35:if(v!==1){d.next=37;break}return d.abrupt("continue",30);case 37:if(!v){d.next=39;break}return d.abrupt("return",v.v);case 39:d.next=30;break;case 41:window.removeEventListener("keydown",h),window.removeEventListener("keyup",p),l.UnInit(),u.UnInit();case 45:case"end":return d.stop()}},i)})),Zp.apply(this,arguments)}function wC(){return Jp.apply(this,arguments)}function Jp(){return Jp=ut(me.mark(function i(){var e,t,n;return me.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return e=new ln,e.AddMcDbEntityTypes("INSERT,MTEXT,ROTATEDDIMENSION,ALIGNEDDIMENSION,DIMENSION,LWPOLYLINE"),a.next=4,Tt.userSelect("选择分解对象",e);case 4:if(t=a.sent,t.length!=0){a.next=7;break}return a.abrupt("return");case 7:n=new ua,n.copyFormAryId(t),ne.App.MxCADAssist.MxExplode(n.imp);case 10:case"end":return a.stop()}},i)})),Jp.apply(this,arguments)}function _C(){return $p.apply(this,arguments)}function $p(){return $p=ut(me.mark(function i(){var e,t,n;return me.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return e=new ln,e.AddMcDbEntityTypes("LWPOLYLINE,ARC,LINE"),a.next=4,Tt.userSelect("选择要合并的对象",e);case 4:if(t=a.sent,t.length!=0){a.next=7;break}return a.abrupt("return");case 7:n=new ua,n.copyFormAryId(t),ne.App.MxCADAssist.MxJoin(n.imp);case 10:case"end":return a.stop()}},i)})),$p.apply(this,arguments)}function EC(){return Qp.apply(this,arguments)}function Qp(){return Qp=ut(me.mark(function i(){var e,t,n,r,a,s,o;return me.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return e=new ln,e.AddMcDbEntityTypes("LWPOLYLINE,ARC,LINE,CIRCLE"),t=new Ci,t.setFilter(e),t.setMessage("选择要打断的对象"),l.next=7,t.go();case 7:if(n=l.sent,n.isValid()){l.next=10;break}return l.abrupt("return");case 10:if(r=n.getMcDbCurve(),r){l.next=13;break}return l.abrupt("return");case 13:a=t.pickPoint(),r.highlight(!0),s=me.mark(function c(){var f,h,p,m,v,g,d,y,b,_,w,E,x,S,T,L,B,k;return me.wrap(function(F){for(;;)switch(F.prev=F.next){case 0:return f=new Yt,f.setMessage(` 指定第二个打断点`),f.setKeyWords("[第一点(F)/打断长度(D)/中点打断(M)/交点打断(I)]"),f.setUserDraw(function(W,K){var $=r?.clone();if($&&$ instanceof Jn){var U=[];U.push(a),U.push(W);var N=$.splitCurves(U);N.empty()||N.forEach(function(P,D){D%2==0&&K.drawMcDbEntity(P)})}}),F.next=6,f.go();case 6:if(h=F.sent,!f.isKeyWordPicked("F")){F.next=17;break}return f.setMessage("指定第一个打断点"),f.setKeyWords(""),F.next=12,f.go();case 12:if(p=F.sent,p){F.next=15;break}return F.abrupt("return",{v:void 0});case 15:return a=p,F.abrupt("return",0);case 17:if(m=!1,!f.isKeyWordPicked("D")){F.next=33;break}return v=new tn,v.setMessage("输入打断长度"),v.setKeyWords(""),F.next=24,v.go();case 24:if(g=F.sent,typeof g=="number"){F.next=27;break}return F.abrupt("return",{v:void 0});case 27:if(a=r.getStartPoint().val,d=r.getPointAtDist(g),y=d.val,b=d.ret,b){F.next=31;break}return F.abrupt("return",{v:Ve.acutPrintf(` 打断长度不正确`)});case 31:h=y,m=!0;case 33:if(!f.isKeyWordPicked("M")){F.next=40;break}if(a=r.getStartPoint().val,_=r.getPointAtDist(r.getLength().val/2),w=_.val,E=_.ret,E){F.next=38;break}return F.abrupt("return",{v:void 0});case 38:h=w,m=!0;case 40:if(!f.isKeyWordPicked("I")){F.next=56;break}return F.next=43,Tt.userSelect("选择相交曲线");case 43:if(x=F.sent,S=r.clone(),T=[],x.forEach(function(W){if(S instanceof Jn){var K=W.clone();if(K instanceof Jn){var $=S.IntersectWith(K,yn.Intersect.kOnBothOperands);$.isEmpty()||$.forEach(function(U){return T.push(U)})}}}),T.length!==0){F.next=49;break}return F.abrupt("return",{v:Ve.acutPrintf(` 交点为空`)});case 49:if(L=r.splitCurves(T),!L.empty()){F.next=53;break}return r.highlight(!1),F.abrupt("return",{v:void 0});case 53:return L.forEach(function(W){W instanceof cn&&(r&&Mu(W,r),ne.getCurrentMxCAD().drawEntity(W))}),r.erase(),F.abrupt("return",1);case 56:if(h){F.next=59;break}return r.highlight(!1),F.abrupt("return",{v:void 0});case 59:if(B=[],B.push(a),B.push(h),k=r.splitCurves(B),!k.empty()){F.next=66;break}return r.highlight(!1),F.abrupt("return",{v:void 0});case 66:return k.forEach(function(W,K){W instanceof cn&&(r&&Mu(W,r),(K%2==0||m)&&ne.getCurrentMxCAD().drawEntity(W))}),r.erase(),F.abrupt("return",1);case 69:case"end":return F.stop()}},c)});case 16:return l.delegateYield(s(),"t0",18);case 18:if(o=l.t0,o!==0){l.next=21;break}return l.abrupt("continue",16);case 21:if(o!==1){l.next=23;break}return l.abrupt("break",27);case 23:if(!o){l.next=25;break}return l.abrupt("return",o.v);case 25:l.next=16;break;case 27:case"end":return l.stop()}},i)})),Qp.apply(this,arguments)}function CC(){return ed.apply(this,arguments)}function ed(){return ed=ut(me.mark(function i(){var e,t,n;return me.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return e=new wr,a.next=3,e.userSelect(` 选择对象`);case 3:if(a.sent){a.next=5;break}return a.abrupt("return");case 5:t=ne.getCurrentDatabase().currentSpace.getMinMaxDrawOrder(),n=t.maxDrawOrder+1,e.forEach(function(s){var o=s.getMcDbEntity();o&&(o.drawOrder=n)});case 8:case"end":return a.stop()}},i)})),ed.apply(this,arguments)}function SC(){return td.apply(this,arguments)}function td(){return td=ut(me.mark(function i(){var e,t,n;return me.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return e=new wr,a.next=3,e.userSelect(` 选择对象`);case 3:if(a.sent){a.next=5;break}return a.abrupt("return");case 5:t=ne.getCurrentDatabase().currentSpace.getMinMaxDrawOrder(),n=t.minDrawOrder-1,e.forEach(function(s){var o=s.getMcDbEntity();o&&(o.drawOrder=n)});case 8:case"end":return a.stop()}},i)})),td.apply(this,arguments)}function AC(){return nd.apply(this,arguments)}function nd(){return nd=ut(me.mark(function i(){var e,t,n,r,a;return me.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return e=new wr,o.next=3,e.userSelect(` 选择对象`);case 3:if(o.sent){o.next=5;break}return o.abrupt("return");case 5:if(!e.isNull()){o.next=7;break}return o.abrupt("return");case 7:return t=new Ci,t.setMessage("选择参照对象"),o.next=11,t.go();case 11:if(n=o.sent,!n.isNull()){o.next=14;break}return o.abrupt("return");case 14:if(r=n.getMcDbEntity(),r){o.next=17;break}return o.abrupt("return");case 17:a=r.drawOrder+1,e.forEach(function(u){var l=u.getMcDbEntity();l&&(l.drawOrder=a)});case 19:case"end":return o.stop()}},i)})),nd.apply(this,arguments)}function xC(){return rd.apply(this,arguments)}function rd(){return rd=ut(me.mark(function i(){var e,t,n,r,a;return me.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return e=new wr,o.next=3,e.userSelect(` 选择对象`);case 3:if(o.sent){o.next=5;break}return o.abrupt("return");case 5:if(!e.isNull()){o.next=7;break}return o.abrupt("return");case 7:return t=new Ci,t.setMessage("选择参照对象"),o.next=11,t.go();case 11:if(n=o.sent,!n.isNull()){o.next=14;break}return o.abrupt("return");case 14:if(r=n.getMcDbEntity(),r){o.next=17;break}return o.abrupt("return");case 17:a=r.drawOrder-1,e.forEach(function(u){var l=u.getMcDbEntity();l&&(l.drawOrder=a)});case 19:case"end":return o.stop()}},i)})),rd.apply(this,arguments)}var Iu="mx_clip_file_data",TC=1;function Jy(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:TC;return new Promise(function(e,t){var n=indexedDB.open("mx_clipboard",i);n.onerror=function(r){t(new Error("Error opening database: "+r))},n.onupgradeneeded=function(r){var a=r.target.result;a.objectStoreNames.contains(Iu)?console.log("Object store mx_clip_file_data already exists."):(a.createObjectStore(Iu),console.log("Object store mx_clip_file_data created."))},n.onsuccess=function(r){var a=r.target.result;console.log("Database opened successfully."),e(a)}})}var mo="_mxcad_clipboard_file.mxweb";function $y(i){return id.apply(this,arguments)}function id(){return id=ut(me.mark(function i(e){var t,n,r,a,s,o,u,l,c;return me.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:if(t=Tt.getCurrentSelect(null,!0,!1),t.length!=0){h.next=4;break}return Ve.acutPrintf(` 没有复制的对象`),h.abrupt("return");case 4:if(n=ne.getCurrentDatabase(),r=new xs,n.wblock(r,t)){h.next=9;break}return Ve.acutPrintf(` 复制失败`),h.abrupt("return");case 9:if(r.saveAs(mo)){h.next=12;break}return Ve.acutPrintf(` 保存复制数据失败`),h.abrupt("return");case 12:return e&&t.forEach(function(p){p.erase()}),a=window.MX_WASM_FS,s=a.readFile(mo),a.unlink(mo),h.next=18,Jy();case 18:o=h.sent,u=o.transaction(Iu,"readwrite"),l=u.objectStore(Iu),c=l.put(s,"data"),c.onsuccess=function(p){console.log("Data saved to IndexedDB"),console.log(p)},c.onerror=function(p){console.error("Error saving data:",p.target.errorCode),console.log(p)};case 24:case"end":return h.stop()}},i)})),id.apply(this,arguments)}function DC(){$y(!1)}function kC(){$y(!0)}function MC(){return ad.apply(this,arguments)}function ad(){return ad=ut(me.mark(function i(){var e,t,n,r,a,s,o,u,l,c,f,h;return me.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return t=function(g,d){return new Promise(function(){var y=ut(me.mark(function b(_){var w,E,x,S;return me.wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Jy();case 2:w=L.sent,E=w.transaction(g,"readonly"),x=E.objectStore(g),S=x.get("data"),S.onerror=function(){_(void 0)},S.onsuccess=function(){var B=S.result,k=window.MX_WASM_FS;k.writeFile(d,B),_(!0)};case 8:case"end":return L.stop()}},b)}));return function(b){return y.apply(this,arguments)}}())},e=ne.getCurrentMxCAD(),m.next=4,t(Iu,mo);case 4:if(m.sent){m.next=7;break}return Ve.acutPrintf(` 得到复制数据失败`),m.abrupt("return");case 7:if(n=new xs,n.readFile(mo)){m.next=11;break}return Ve.acutPrintf(` 读取复制数据失败`),m.abrupt("return");case 11:if(r=window.MX_WASM_FS,r.unlink(mo),a=ne.getCurrentDatabase(),s=a.insert(n,""),!s.isNull()){m.next=17;break}return m.abrupt("return");case 17:return o=s.getMcDbBlockTableRecord(),o&&(u=o.getBoundingBox(),u.ret&&(o.origin=u.minPt.addvec(u.maxPt.sub(u.minPt).mult(.5)))),l=new Au,l.blockTableRecordId=s,c=new Yt,c.setMessage("指定插入基点"),c.setUserDraw(function(v,g){l.position=v,g.drawMcDbEntity(l)}),m.next=26,c.go();case 26:if(f=m.sent,f){m.next=29;break}return m.abrupt("return");case 29:if(l.position=f,h=e.drawEntity(l),h.isValid){m.next=34;break}return console.log("insert error"),m.abrupt("return");case 34:case"end":return m.stop()}},i)})),ad.apply(this,arguments)}Ve.on("init",function(){Ve.addCommand("Mx_Erase",Qv),Ve.addCommand("Mx_Copy",iC),Ve.addCommand("Mx_Move",aC),Ve.addCommand("Mx_Rotate",sC),Ve.addCommand("Mx_Scale",oC),Ve.addCommand("Mx_WindowZoom",uC),Ve.addCommand("Mx_ZoomE",lC),Ve.addCommand("Mx_Plan90CW",cC),Ve.addCommand("Mx_Offset",fC),Ve.addCommand("Mx_Regen",hC),Ve.addCommand("Mx_Mirror",pC),Ve.addCommand("Mx_Chamfer",mC),Ve.addCommand("Mx_Fillet",gC),Ve.addCommand("Mx_Trim",yC),Ve.addCommand("Mx_Extend",bC),Ve.addCommand("Mx_Explode",wC),Ve.addCommand("Mx_Join",_C),Ve.addCommand("Mx_Break",EC),Ve.addCommand("Mx_DrawOrderTopmost",CC),Ve.addCommand("Mx_DrawOrderButtomost",SC),Ve.addCommand("Mx_DrawOrderTop",AC),Ve.addCommand("Mx_DrawOrderButtom",xC),Ve.addCommand("Mx_CopyClipboard",DC),Ve.addCommand("Mx_PasteClipboard",MC),Ve.addCommand("Mx_CutClipboard",kC)});var sd=function(e,t){return[t.x>=e.x&&t.y>=e.y,t.x=e.y,t.x=e.x&&t.y2&&arguments[2]!==void 0?arguments[2]:0,r=new fe((e.x+t.x)/2,(e.y+t.y)/2,(e.z+t.z)/2),a=new fe(e.x,t.y,e.z),s=new fe(t.x,e.y,t.z),o=g0(r,a,n),u=g0(r,s,n);return[e,o,t,u]},em=function(){var i=ut(me.mark(function e(){var t,n,r,a,s,o,u,l,c,f,h,p,m,v;return me.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:t=new Yt,n=0,r=0,a=0,s=0,o=0,u=0,l=200,c=0,f=0,h=0,p="default",m=me.mark(function y(){var b,_,w,E,x,S,T,L;return me.wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return b=function(){var R=ut(me.mark(function F(W,K){var $,U;return me.wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return $=new tn,$.setMessage(Pt(W,K)),P.next=4,$.go();case 4:if(U=P.sent,U){P.next=7;break}throw"error getLength";case 7:return P.abrupt("return",$.value());case 8:case"end":return P.stop()}},F)}));return function(W,K){return R.apply(this,arguments)}}(),t.setUserDraw(function(){}),t.clearLastInputPoint(),t.setMessage(` 指定第一个角点`),t.setKeyWords("[倒角(C)/标高(E)/圆角(F)/厚度(T)/宽度(W)]"),k.next=7,t.go();case 7:if(_=k.sent,E=new st,k.prev=9,!t.isKeyWordPicked("C")){k.next=19;break}return k.next=13,b("ID_ARX_RECTANG_CHAMFEr1LENGTH",` 指定第一个倒角距离:`);case 13:return n=k.sent,k.next=16,b("ID_ARX_RECTANG_CHAMFEr2LENGTH",` 指定第二个倒角距离`);case 16:return r=k.sent,p="chamfer",k.abrupt("return",0);case 19:if(!t.isKeyWordPicked("E")){k.next=24;break}return k.next=22,b("ID_ARX_RECTANG_ELEVATION",` 指定矩形的标高`);case 22:return a=k.sent,k.abrupt("return",0);case 24:if(!t.isKeyWordPicked("F")){k.next=30;break}return k.next=27,b("ID_ARX_RECTANG_RADIUS",` 指定矩形的圆角半径`);case 27:return s=k.sent,p="angleRounded",k.abrupt("return",0);case 30:if(!t.isKeyWordPicked("T")){k.next=35;break}return k.next=33,b("ID_ARX_RECTANG_THICKNESS",` 指定矩形的厚度`);case 33:return o=k.sent,k.abrupt("return",0);case 35:if(!t.isKeyWordPicked("W")){k.next=40;break}return k.next=38,b("ID_ARX_RECTANG_WIDTH",` 指定矩形的线宽`);case 38:return u=k.sent,k.abrupt("return",0);case 40:k.next=45;break;case 42:return k.prev=42,k.t0=k.catch(9),k.abrupt("return",1);case 45:if(_){k.next=47;break}return k.abrupt("return",{v:void 0});case 47:return x=function(F,W){var K=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;E=new st,F.z=W.z=o;var $=Rh(F,W,K),U=new fe((F.x+W.x)/2,(F.y+W.y)/2,(F.z+W.z)/2),N=$;if(p==="chamfer"&&(N=m0(Rh(F,W),n,r)),p==="angleRounded"&&s!==0){N=m0(Rh(F,W),s,s);var P=sd(F,W),D=ci(P,4);D[0];var q=D[1],V=D[2],Q=D[3];if(N.length===8){var Z=function(ce,Ce,Ae){var ke=new at(Ae),Pe=ls(ce,Ce,ke);E.addVertexAt(ce,Pe),E.addVertexAt(Ce,0)},Y=new at(-1,0),ee=new at(0,1),le=new at(1,0),Ee=new at(0,-1);Q&&(ee.y=-1,le.x=1,Ee.y=1),q&&(Y.x=1,ee.y=1,le.x=-1,Ee.y=-1),V&&(Y.x=1,ee.y=-1,le.x=-1,Ee.y=1),Z(N[0],N[1],Y),Z(N[2],N[3],ee),Z(N[4],N[5],le),Z(N[6],N[7],Ee)}else N.forEach(function(j){E.addVertexAt(j,0)})}else N.forEach(function(j){E.addVertexAt(j,0,u,u)});return(p==="chamfer"||p==="angleRounded")&&E.rotate(U,K),E.isClosed=!0,E.constantWidth=u,w=W,E},S=function(F,W){if(_){var K=_,$=F;E=x(K,$,h),W.drawMcDbEntity(E)}},t.setUserDraw(S),T=function(){var R=ut(me.mark(function F(){var W,K,$,U,N,P,D,q,V,Q,Z;return me.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return t.setMessage(` 指定另一个角点`),t.setKeyWords("[面积(A)/尺寸(D)/旋转(R)]"),ee.next=4,t.go();case 4:if(W=ee.sent,K=function(Ee,j){var ce=sd(_,Ee),Ce=ci(ce,4),Ae=Ce[0],ke=Ce[1],Pe=Ce[2],Me=Ce[3];Ae&&(W=new fe(_.x+c,_.y+f,o)),ke&&(W=new fe(_.x-c,_.y+f,o)),Pe&&(W=new fe(_.x-c,_.y-f,o)),Me&&(W=new fe(_.x+c,_.y-f,o)),W&&(E=x(_,W,h),j.drawMcDbEntity(E))},!t.isKeyWordPicked("A")){ee.next=40;break}return t.setUserDraw(function(){}),$=new $f,$.setMessage("输入当前单位计算的矩形面积<"+l+">"),ee.next=12,$.go();case 12:if(U=ee.sent,U){ee.next=15;break}return ee.abrupt("return");case 15:return l=U,N=new li,N.setMessage("计算矩形标注时的依据"),N.setKeyWords("[长度(L)/宽度(W)]"),ee.next=21,N.go();case 21:if(P=ee.sent,P!==null){ee.next=24;break}return ee.abrupt("return");case 24:if(P!=="w"){ee.next=31;break}return ee.next=27,b("ID_ARX_RECTANG_AREA_WIDTH","输入矩形宽度");case 27:c=ee.sent,f=l/c,ee.next=35;break;case 31:return ee.next=33,b("ID_ARX_RECTANG_AREA_LENGTH","输入矩形长度");case 33:f=ee.sent,c=l/f;case 35:W=new fe(_.x+c,_.y+f,o),E=x(_,W,h),ne.getCurrentMxCAD().drawEntity(E,!0),ee.next=98;break;case 40:if(!t.isKeyWordPicked("D")){ee.next=62;break}return ee.prev=41,ee.next=44,b("ID_ARX_RECTANG_AREA_WIDTH","指定矩形宽度");case 44:return c=ee.sent,ee.next=47,b("ID_ARX_RECTANG_AREA_LENGTH","指定矩形宽度");case 47:f=ee.sent,ee.next=53;break;case 50:return ee.prev=50,ee.t0=ee.catch(41),ee.abrupt("return");case 53:return t.clearLastInputPoint(),t.setUserDraw(K),ee.next=57,T();case 57:if(D=ee.sent,!(typeof D>"u")){ee.next=60;break}return ee.abrupt("return");case 60:ee.next=98;break;case 62:if(!t.isKeyWordPicked("R")){ee.next=97;break}return t.setMessage(` 指定旋转角度`),t.setKeyWords("[拾取点(P)]"),t.setUserDraw(function(le,Ee){h=Dn(le.x,le.y,_.x,_.y),E=x(_,w),E.rotate(_,h),Ee.drawMcDbEntity(E)}),ee.next=68,t.go();case 68:if(q=ee.sent,!t.isKeyWordPicked("P")){ee.next=87;break}return t.clearLastInputPoint(),t.setUserDraw(function(){}),t.setMessage(` 指定第一个点`),ee.next=75,t.go();case 75:if(V=ee.sent,V){ee.next=78;break}return ee.abrupt("return");case 78:return t.setUserDraw(function(le,Ee){Ee.drawLine(le.toVector3(),V.toVector3())}),ee.next=81,t.go();case 81:if(Q=ee.sent,Q){ee.next=84;break}return ee.abrupt("return");case 84:h=Dn(V.x,V.y,Q.x,Q.y),ee.next=89;break;case 87:if(q){ee.next=89;break}return ee.abrupt("return");case 89:return t.setUserDraw(S),ee.next=92,T();case 92:if(Z=ee.sent,!(typeof Z>"u")){ee.next=95;break}return ee.abrupt("return");case 95:ee.next=98;break;case 97:W&&ne.getCurrentMxCAD().drawEntity(E,!0);case 98:E.setxDataDouble("BG",a);case 99:case"end":return ee.stop()}},F,null,[[41,50]])}));return function(){return R.apply(this,arguments)}}(),k.next=53,T();case 53:if(L=k.sent,!(typeof L>"u")){k.next=56;break}return k.abrupt("return",1);case 56:case"end":return k.stop()}},y,null,[[9,42]])});case 13:return d.delegateYield(m(),"t0",15);case 15:if(v=d.t0,v!==0){d.next=18;break}return d.abrupt("continue",13);case 18:if(v!==1){d.next=20;break}return d.abrupt("break",24);case 20:if(!v){d.next=22;break}return d.abrupt("return",v.v);case 22:d.next=13;break;case 24:case"end":return d.stop()}},e)}));return function(){return i.apply(this,arguments)}}();Ve.on("init",function(){Ve.addCommand("Mx_Rectang",em)});var Co;(function(i){(function(e){e[e.Enum_COMPOUND=0]="Enum_COMPOUND",e[e.Enum_COMPSOLID=1]="Enum_COMPSOLID",e[e.Enum_SOLID=2]="Enum_SOLID",e[e.Enum_SHELL=3]="Enum_SHELL",e[e.Enum_FACE=4]="Enum_FACE",e[e.Enum_WIRE=5]="Enum_WIRE",e[e.Enum_EDGE=6]="Enum_EDGE",e[e.Enum_VERTEX=7]="Enum_VERTEX",e[e.Enum_SHAPE=8]="Enum_SHAPE"})(i.MxShapeEnum||(i.MxShapeEnum={})),function(e){e[e.HTA_LEFT=0]="HTA_LEFT",e[e.HTA_CENTER=1]="HTA_CENTER",e[e.HTA_RIGHT=2]="HTA_RIGHT"}(i.MxHorizontalTextAlignment||(i.MxHorizontalTextAlignment={})),function(e){e[e.CVTA_BOTTOM=0]="CVTA_BOTTOM",e[e.CVTA_CENTER=1]="CVTA_CENTER",e[e.CVTA_TOP=2]="CVTA_TOP",e[e.CVTA_TOPFIRSTLINE=3]="CVTA_TOPFIRSTLINE"}(i.MxVerticalTextAlignment||(i.MxVerticalTextAlignment={})),function(e){e[e.FA_UNDEFINED=-1]="FA_UNDEFINED",e[e.FA_Regular=0]="FA_Regular",e[e.FA_Bold=1]="FA_Bold",e[e.FA_Italic=2]="FA_Italic",e[e.FA_BoldItalic=3]="FA_BoldItalic"}(i.MxFontAspect||(i.MxFontAspect={})),function(e){e[e.TODT_NORMAL=0]="TODT_NORMAL",e[e.TODT_SUBTITLE=1]="TODT_SUBTITLE",e[e.TODT_DEKALE=2]="TODT_DEKALE",e[e.TODT_BLEND=3]="TODT_BLEND",e[e.TODT_DIMENSION=4]="TODT_DIMENSION",e[e.TODT_SHADOW=5]="TODT_SHADOW"}(i.MxTypeOfDisplayText||(i.MxTypeOfDisplayText={})),function(e){e[e.Enum_Rational=0]="Enum_Rational",e[e.Enum_QuasiAngular=1]="Enum_QuasiAngular",e[e.Enum_Polynomial=2]="Enum_Polynomial"}(i.MxCF3dFilletShapeEnum||(i.MxCF3dFilletShapeEnum={})),function(e){e[e.Enum_ClassicChamfer=0]="Enum_ClassicChamfer",e[e.Enum_ConstThroatChamfer=1]="Enum_ConstThroatChamfer",e[e.Enum_ConstThroatWithPenetrationChamfer=2]="Enum_ConstThroatWithPenetrationChamfer"}(i.MxCFDSChamfMode||(i.MxCFDSChamfMode={})),function(e){e[e.GF_IsCorrectedFrenet=0]="GF_IsCorrectedFrenet",e[e.GF_IsFixed=1]="GF_IsFixed",e[e.GF_IsFrenet=2]="GF_IsFrenet",e[e.GF_IsConstantNormal=3]="GF_IsConstantNormal",e[e.GF_IsDarboux=4]="GF_IsDarboux",e[e.GF_IsGuideAC=5]="GF_IsGuideAC",e[e.GF_IsGuidePlan=6]="GF_IsGuidePlan",e[e.GF_IsGuideACWithContact=7]="GF_IsGuideACWithContact",e[e.GF_IsGuidePlanWithContact=8]="GF_IsGuidePlanWithContact",e[e.GF_IsDiscreteTrihedron=9]="GF_IsDiscreteTrihedron"}(i.MxGFTrihedron||(i.MxGFTrihedron={})),function(e){e[e.GA_C0=0]="GA_C0",e[e.GA_G1=1]="GA_G1",e[e.GA_C1=2]="GA_C1",e[e.GA_G2=3]="GA_G2",e[e.GA_C2=4]="GA_C2",e[e.GA_C3=5]="GA_C3",e[e.GA_CN=6]="GA_CN"}(i.MxGAShapeEnum||(i.MxGAShapeEnum={})),function(e){e[e.Offset_Skin=0]="Offset_Skin",e[e.Offset_Pipe=1]="Offset_Pipe",e[e.Offset_RectoVerso=2]="Offset_RectoVerso"}(i.MxOffsetModeEnum||(i.MxOffsetModeEnum={})),function(e){e[e.GA_Arc=0]="GA_Arc",e[e.GA_Tangent=1]="GA_Tangent",e[e.GA_Intersection=2]="GA_Intersection"}(i.MxGAJoinTypeEnum||(i.MxGAJoinTypeEnum={})),function(e){e[e.Material_NOM_Brass=0]="Material_NOM_Brass",e[e.Material_NOM_Bronze=1]="Material_NOM_Bronze",e[e.Material_NOM_Copper=2]="Material_NOM_Copper",e[e.Material_NOM_Gold=3]="Material_NOM_Gold",e[e.Material_NOM_Pewter=4]="Material_NOM_Pewter",e[e.Material_NOM_Plastered=5]="Material_NOM_Plastered",e[e.Material_NOM_Plastified=6]="Material_NOM_Plastified",e[e.Material_NOM_Silver=7]="Material_NOM_Silver",e[e.Material_NOM_Steel=8]="Material_NOM_Steel",e[e.Material_NOM_Stone=9]="Material_NOM_Stone",e[e.Material_NOM_ShinyPlastified=10]="Material_NOM_ShinyPlastified",e[e.Material_NOM_Satin=11]="Material_NOM_Satin",e[e.Material_NOM_Metalized=12]="Material_NOM_Metalized",e[e.Material_NOM_Ionized=13]="Material_NOM_Ionized",e[e.Material_NOM_Chrome=14]="Material_NOM_Chrome",e[e.Material_NOM_Aluminum=15]="Material_NOM_Aluminum",e[e.Material_NOM_Obsidian=16]="Material_NOM_Obsidian",e[e.Material_NOM_Neon=17]="Material_NOM_Neon",e[e.Material_NOM_Jade=18]="Material_NOM_Jade",e[e.Material_NOM_Charcoal=19]="Material_NOM_Charcoal",e[e.Material_NOM_Water=20]="Material_NOM_Water",e[e.Material_NOM_Glass=21]="Material_NOM_Glass",e[e.Material_NOM_Diamond=22]="Material_NOM_Diamond",e[e.Material_NOM_Transparent=23]="Material_NOM_Transparent",e[e.Material_NOM_DEFAULT=24]="Material_NOM_DEFAULT",e[e.Material_NOM_UserDefined=25]="Material_NOM_UserDefined"}(i.MxNameOfMaterial||(i.MxNameOfMaterial={})),function(e){e[e.Material_TOM_ASPECT=0]="Material_TOM_ASPECT",e[e.Material_TOM_PHYSIC=1]="Material_TOM_PHYSIC"}(i.MxTypeOfMaterial||(i.MxTypeOfMaterial={})),function(e){e[e.Reflection_TOR_AMBIENT=0]="Reflection_TOR_AMBIENT",e[e.Reflection_TOR_DIFFUSE=1]="Reflection_TOR_DIFFUSE",e[e.Reflection_TOR_SPECULAR=2]="Reflection_TOR_SPECULAR",e[e.Reflection_TOR_EMISSION=3]="Reflection_TOR_EMISSION"}(i.MxTypeOfReflection||(i.MxTypeOfReflection={})),function(e){e[e.Color_NOC_BLACK=0]="Color_NOC_BLACK",e[e.Color_NOC_MATRABLUE=1]="Color_NOC_MATRABLUE",e[e.Color_NOC_MATRAGRAY=2]="Color_NOC_MATRAGRAY",e[e.Color_NOC_ALICEBLUE=3]="Color_NOC_ALICEBLUE",e[e.Color_NOC_ANTIQUEWHITE=4]="Color_NOC_ANTIQUEWHITE",e[e.Color_NOC_ANTIQUEWHITE1=5]="Color_NOC_ANTIQUEWHITE1",e[e.Color_NOC_ANTIQUEWHITE2=6]="Color_NOC_ANTIQUEWHITE2",e[e.Color_NOC_ANTIQUEWHITE3=7]="Color_NOC_ANTIQUEWHITE3",e[e.Color_NOC_ANTIQUEWHITE4=8]="Color_NOC_ANTIQUEWHITE4",e[e.Color_NOC_AQUAMARINE1=9]="Color_NOC_AQUAMARINE1",e[e.Color_NOC_AQUAMARINE2=10]="Color_NOC_AQUAMARINE2",e[e.Color_NOC_AQUAMARINE4=11]="Color_NOC_AQUAMARINE4",e[e.Color_NOC_AZURE=12]="Color_NOC_AZURE",e[e.Color_NOC_AZURE2=13]="Color_NOC_AZURE2",e[e.Color_NOC_AZURE3=14]="Color_NOC_AZURE3",e[e.Color_NOC_AZURE4=15]="Color_NOC_AZURE4",e[e.Color_NOC_BEIGE=16]="Color_NOC_BEIGE",e[e.Color_NOC_BISQUE=17]="Color_NOC_BISQUE",e[e.Color_NOC_BISQUE2=18]="Color_NOC_BISQUE2",e[e.Color_NOC_BISQUE3=19]="Color_NOC_BISQUE3",e[e.Color_NOC_BISQUE4=20]="Color_NOC_BISQUE4",e[e.Color_NOC_BLANCHEDALMOND=21]="Color_NOC_BLANCHEDALMOND",e[e.Color_NOC_BLUE=22]="Color_NOC_BLUE",e[e.Color_NOC_BLUE1=22]="Color_NOC_BLUE1",e[e.Color_NOC_BLUE2=23]="Color_NOC_BLUE2",e[e.Color_NOC_BLUE3=24]="Color_NOC_BLUE3",e[e.Color_NOC_BLUE4=25]="Color_NOC_BLUE4",e[e.Color_NOC_BLUEVIOLET=26]="Color_NOC_BLUEVIOLET",e[e.Color_NOC_BROWN=27]="Color_NOC_BROWN",e[e.Color_NOC_BROWN1=28]="Color_NOC_BROWN1",e[e.Color_NOC_BROWN2=29]="Color_NOC_BROWN2",e[e.Color_NOC_BROWN3=30]="Color_NOC_BROWN3",e[e.Color_NOC_BROWN4=31]="Color_NOC_BROWN4",e[e.Color_NOC_BURLYWOOD=32]="Color_NOC_BURLYWOOD",e[e.Color_NOC_BURLYWOOD1=33]="Color_NOC_BURLYWOOD1",e[e.Color_NOC_BURLYWOOD2=34]="Color_NOC_BURLYWOOD2",e[e.Color_NOC_BURLYWOOD3=35]="Color_NOC_BURLYWOOD3",e[e.Color_NOC_BURLYWOOD4=36]="Color_NOC_BURLYWOOD4",e[e.Color_NOC_CADETBLUE=37]="Color_NOC_CADETBLUE",e[e.Color_NOC_CADETBLUE1=38]="Color_NOC_CADETBLUE1",e[e.Color_NOC_CADETBLUE2=39]="Color_NOC_CADETBLUE2",e[e.Color_NOC_CADETBLUE3=40]="Color_NOC_CADETBLUE3",e[e.Color_NOC_CADETBLUE4=41]="Color_NOC_CADETBLUE4",e[e.Color_NOC_CHARTREUSE=42]="Color_NOC_CHARTREUSE",e[e.Color_NOC_CHARTREUSE1=42]="Color_NOC_CHARTREUSE1",e[e.Color_NOC_CHARTREUSE2=43]="Color_NOC_CHARTREUSE2",e[e.Color_NOC_CHARTREUSE3=44]="Color_NOC_CHARTREUSE3",e[e.Color_NOC_CHARTREUSE4=45]="Color_NOC_CHARTREUSE4",e[e.Color_NOC_CHOCOLATE=46]="Color_NOC_CHOCOLATE",e[e.Color_NOC_CHOCOLATE1=47]="Color_NOC_CHOCOLATE1",e[e.Color_NOC_CHOCOLATE2=48]="Color_NOC_CHOCOLATE2",e[e.Color_NOC_CHOCOLATE3=49]="Color_NOC_CHOCOLATE3",e[e.Color_NOC_CHOCOLATE4=50]="Color_NOC_CHOCOLATE4",e[e.Color_NOC_CORAL=51]="Color_NOC_CORAL",e[e.Color_NOC_CORAL1=52]="Color_NOC_CORAL1",e[e.Color_NOC_CORAL2=53]="Color_NOC_CORAL2",e[e.Color_NOC_CORAL3=54]="Color_NOC_CORAL3",e[e.Color_NOC_CORAL4=55]="Color_NOC_CORAL4",e[e.Color_NOC_CORNFLOWERBLUE=56]="Color_NOC_CORNFLOWERBLUE",e[e.Color_NOC_CORNSILK1=57]="Color_NOC_CORNSILK1",e[e.Color_NOC_CORNSILK2=58]="Color_NOC_CORNSILK2",e[e.Color_NOC_CORNSILK3=59]="Color_NOC_CORNSILK3",e[e.Color_NOC_CORNSILK4=60]="Color_NOC_CORNSILK4",e[e.Color_NOC_CYAN=61]="Color_NOC_CYAN",e[e.Color_NOC_CYAN1=61]="Color_NOC_CYAN1",e[e.Color_NOC_CYAN2=62]="Color_NOC_CYAN2",e[e.Color_NOC_CYAN3=63]="Color_NOC_CYAN3",e[e.Color_NOC_CYAN4=64]="Color_NOC_CYAN4",e[e.Color_NOC_DARKGOLDENROD=65]="Color_NOC_DARKGOLDENROD",e[e.Color_NOC_DARKGOLDENROD1=66]="Color_NOC_DARKGOLDENROD1",e[e.Color_NOC_DARKGOLDENROD2=67]="Color_NOC_DARKGOLDENROD2",e[e.Color_NOC_DARKGOLDENROD3=68]="Color_NOC_DARKGOLDENROD3",e[e.Color_NOC_DARKGOLDENROD4=69]="Color_NOC_DARKGOLDENROD4",e[e.Color_NOC_DARKGREEN=70]="Color_NOC_DARKGREEN",e[e.Color_NOC_DARKKHAKI=71]="Color_NOC_DARKKHAKI",e[e.Color_NOC_DARKOLIVEGREEN=72]="Color_NOC_DARKOLIVEGREEN",e[e.Color_NOC_DARKOLIVEGREEN1=73]="Color_NOC_DARKOLIVEGREEN1",e[e.Color_NOC_DARKOLIVEGREEN2=74]="Color_NOC_DARKOLIVEGREEN2",e[e.Color_NOC_DARKOLIVEGREEN3=75]="Color_NOC_DARKOLIVEGREEN3",e[e.Color_NOC_DARKOLIVEGREEN4=76]="Color_NOC_DARKOLIVEGREEN4",e[e.Color_NOC_DARKORANGE=77]="Color_NOC_DARKORANGE",e[e.Color_NOC_DARKORANGE1=78]="Color_NOC_DARKORANGE1",e[e.Color_NOC_DARKORANGE2=79]="Color_NOC_DARKORANGE2",e[e.Color_NOC_DARKORANGE3=80]="Color_NOC_DARKORANGE3",e[e.Color_NOC_DARKORANGE4=81]="Color_NOC_DARKORANGE4",e[e.Color_NOC_DARKORCHID=82]="Color_NOC_DARKORCHID",e[e.Color_NOC_DARKORCHID1=83]="Color_NOC_DARKORCHID1",e[e.Color_NOC_DARKORCHID2=84]="Color_NOC_DARKORCHID2",e[e.Color_NOC_DARKORCHID3=85]="Color_NOC_DARKORCHID3",e[e.Color_NOC_DARKORCHID4=86]="Color_NOC_DARKORCHID4",e[e.Color_NOC_DARKSALMON=87]="Color_NOC_DARKSALMON",e[e.Color_NOC_DARKSEAGREEN=88]="Color_NOC_DARKSEAGREEN",e[e.Color_NOC_DARKSEAGREEN1=89]="Color_NOC_DARKSEAGREEN1",e[e.Color_NOC_DARKSEAGREEN2=90]="Color_NOC_DARKSEAGREEN2",e[e.Color_NOC_DARKSEAGREEN3=91]="Color_NOC_DARKSEAGREEN3",e[e.Color_NOC_DARKSEAGREEN4=92]="Color_NOC_DARKSEAGREEN4",e[e.Color_NOC_DARKSLATEBLUE=93]="Color_NOC_DARKSLATEBLUE",e[e.Color_NOC_DARKSLATEGRAY1=94]="Color_NOC_DARKSLATEGRAY1",e[e.Color_NOC_DARKSLATEGRAY2=95]="Color_NOC_DARKSLATEGRAY2",e[e.Color_NOC_DARKSLATEGRAY3=96]="Color_NOC_DARKSLATEGRAY3",e[e.Color_NOC_DARKSLATEGRAY4=97]="Color_NOC_DARKSLATEGRAY4",e[e.Color_NOC_DARKSLATEGRAY=98]="Color_NOC_DARKSLATEGRAY",e[e.Color_NOC_DARKTURQUOISE=99]="Color_NOC_DARKTURQUOISE",e[e.Color_NOC_DARKVIOLET=100]="Color_NOC_DARKVIOLET",e[e.Color_NOC_DEEPPINK=101]="Color_NOC_DEEPPINK",e[e.Color_NOC_DEEPPINK2=102]="Color_NOC_DEEPPINK2",e[e.Color_NOC_DEEPPINK3=103]="Color_NOC_DEEPPINK3",e[e.Color_NOC_DEEPPINK4=104]="Color_NOC_DEEPPINK4",e[e.Color_NOC_DEEPSKYBLUE1=105]="Color_NOC_DEEPSKYBLUE1",e[e.Color_NOC_DEEPSKYBLUE2=106]="Color_NOC_DEEPSKYBLUE2",e[e.Color_NOC_DEEPSKYBLUE3=107]="Color_NOC_DEEPSKYBLUE3",e[e.Color_NOC_DEEPSKYBLUE4=108]="Color_NOC_DEEPSKYBLUE4",e[e.Color_NOC_DODGERBLUE1=109]="Color_NOC_DODGERBLUE1",e[e.Color_NOC_DODGERBLUE2=110]="Color_NOC_DODGERBLUE2",e[e.Color_NOC_DODGERBLUE3=111]="Color_NOC_DODGERBLUE3",e[e.Color_NOC_DODGERBLUE4=112]="Color_NOC_DODGERBLUE4",e[e.Color_NOC_FIREBRICK=113]="Color_NOC_FIREBRICK",e[e.Color_NOC_FIREBRICK1=114]="Color_NOC_FIREBRICK1",e[e.Color_NOC_FIREBRICK2=115]="Color_NOC_FIREBRICK2",e[e.Color_NOC_FIREBRICK3=116]="Color_NOC_FIREBRICK3",e[e.Color_NOC_FIREBRICK4=117]="Color_NOC_FIREBRICK4",e[e.Color_NOC_FLORALWHITE=118]="Color_NOC_FLORALWHITE",e[e.Color_NOC_FORESTGREEN=119]="Color_NOC_FORESTGREEN",e[e.Color_NOC_GAINSBORO=120]="Color_NOC_GAINSBORO",e[e.Color_NOC_GHOSTWHITE=121]="Color_NOC_GHOSTWHITE",e[e.Color_NOC_GOLD=122]="Color_NOC_GOLD",e[e.Color_NOC_GOLD1=122]="Color_NOC_GOLD1",e[e.Color_NOC_GOLD2=123]="Color_NOC_GOLD2",e[e.Color_NOC_GOLD3=124]="Color_NOC_GOLD3",e[e.Color_NOC_GOLD4=125]="Color_NOC_GOLD4",e[e.Color_NOC_GOLDENROD=126]="Color_NOC_GOLDENROD",e[e.Color_NOC_GOLDENROD1=127]="Color_NOC_GOLDENROD1",e[e.Color_NOC_GOLDENROD2=128]="Color_NOC_GOLDENROD2",e[e.Color_NOC_GOLDENROD3=129]="Color_NOC_GOLDENROD3",e[e.Color_NOC_GOLDENROD4=130]="Color_NOC_GOLDENROD4",e[e.Color_NOC_GRAY=131]="Color_NOC_GRAY",e[e.Color_NOC_GRAY0=132]="Color_NOC_GRAY0",e[e.Color_NOC_GRAY1=133]="Color_NOC_GRAY1",e[e.Color_NOC_GRAY2=134]="Color_NOC_GRAY2",e[e.Color_NOC_GRAY3=135]="Color_NOC_GRAY3",e[e.Color_NOC_GRAY4=136]="Color_NOC_GRAY4",e[e.Color_NOC_GRAY5=137]="Color_NOC_GRAY5",e[e.Color_NOC_GRAY6=138]="Color_NOC_GRAY6",e[e.Color_NOC_GRAY7=139]="Color_NOC_GRAY7",e[e.Color_NOC_GRAY8=140]="Color_NOC_GRAY8",e[e.Color_NOC_GRAY9=141]="Color_NOC_GRAY9",e[e.Color_NOC_GRAY10=142]="Color_NOC_GRAY10",e[e.Color_NOC_GRAY11=143]="Color_NOC_GRAY11",e[e.Color_NOC_GRAY12=144]="Color_NOC_GRAY12",e[e.Color_NOC_GRAY13=145]="Color_NOC_GRAY13",e[e.Color_NOC_GRAY14=146]="Color_NOC_GRAY14",e[e.Color_NOC_GRAY15=147]="Color_NOC_GRAY15",e[e.Color_NOC_GRAY16=148]="Color_NOC_GRAY16",e[e.Color_NOC_GRAY17=149]="Color_NOC_GRAY17",e[e.Color_NOC_GRAY18=150]="Color_NOC_GRAY18",e[e.Color_NOC_GRAY19=151]="Color_NOC_GRAY19",e[e.Color_NOC_GRAY20=152]="Color_NOC_GRAY20",e[e.Color_NOC_GRAY21=153]="Color_NOC_GRAY21",e[e.Color_NOC_GRAY22=154]="Color_NOC_GRAY22",e[e.Color_NOC_GRAY23=155]="Color_NOC_GRAY23",e[e.Color_NOC_GRAY24=156]="Color_NOC_GRAY24",e[e.Color_NOC_GRAY25=157]="Color_NOC_GRAY25",e[e.Color_NOC_GRAY26=158]="Color_NOC_GRAY26",e[e.Color_NOC_GRAY27=159]="Color_NOC_GRAY27",e[e.Color_NOC_GRAY28=160]="Color_NOC_GRAY28",e[e.Color_NOC_GRAY29=161]="Color_NOC_GRAY29",e[e.Color_NOC_GRAY30=162]="Color_NOC_GRAY30",e[e.Color_NOC_GRAY31=163]="Color_NOC_GRAY31",e[e.Color_NOC_GRAY32=164]="Color_NOC_GRAY32",e[e.Color_NOC_GRAY33=165]="Color_NOC_GRAY33",e[e.Color_NOC_GRAY34=166]="Color_NOC_GRAY34",e[e.Color_NOC_GRAY35=167]="Color_NOC_GRAY35",e[e.Color_NOC_GRAY36=168]="Color_NOC_GRAY36",e[e.Color_NOC_GRAY37=169]="Color_NOC_GRAY37",e[e.Color_NOC_GRAY38=170]="Color_NOC_GRAY38",e[e.Color_NOC_GRAY39=171]="Color_NOC_GRAY39",e[e.Color_NOC_GRAY40=172]="Color_NOC_GRAY40",e[e.Color_NOC_GRAY41=173]="Color_NOC_GRAY41",e[e.Color_NOC_GRAY42=174]="Color_NOC_GRAY42",e[e.Color_NOC_GRAY43=175]="Color_NOC_GRAY43",e[e.Color_NOC_GRAY44=176]="Color_NOC_GRAY44",e[e.Color_NOC_GRAY45=177]="Color_NOC_GRAY45",e[e.Color_NOC_GRAY46=178]="Color_NOC_GRAY46",e[e.Color_NOC_GRAY47=179]="Color_NOC_GRAY47",e[e.Color_NOC_GRAY48=180]="Color_NOC_GRAY48",e[e.Color_NOC_GRAY49=181]="Color_NOC_GRAY49",e[e.Color_NOC_GRAY50=182]="Color_NOC_GRAY50",e[e.Color_NOC_GRAY51=183]="Color_NOC_GRAY51",e[e.Color_NOC_GRAY52=184]="Color_NOC_GRAY52",e[e.Color_NOC_GRAY53=185]="Color_NOC_GRAY53",e[e.Color_NOC_GRAY54=186]="Color_NOC_GRAY54",e[e.Color_NOC_GRAY55=187]="Color_NOC_GRAY55",e[e.Color_NOC_GRAY56=188]="Color_NOC_GRAY56",e[e.Color_NOC_GRAY57=189]="Color_NOC_GRAY57",e[e.Color_NOC_GRAY58=190]="Color_NOC_GRAY58",e[e.Color_NOC_GRAY59=191]="Color_NOC_GRAY59",e[e.Color_NOC_GRAY60=192]="Color_NOC_GRAY60",e[e.Color_NOC_GRAY61=193]="Color_NOC_GRAY61",e[e.Color_NOC_GRAY62=194]="Color_NOC_GRAY62",e[e.Color_NOC_GRAY63=195]="Color_NOC_GRAY63",e[e.Color_NOC_GRAY64=196]="Color_NOC_GRAY64",e[e.Color_NOC_GRAY65=197]="Color_NOC_GRAY65",e[e.Color_NOC_GRAY66=198]="Color_NOC_GRAY66",e[e.Color_NOC_GRAY67=199]="Color_NOC_GRAY67",e[e.Color_NOC_GRAY68=200]="Color_NOC_GRAY68",e[e.Color_NOC_GRAY69=201]="Color_NOC_GRAY69",e[e.Color_NOC_GRAY70=202]="Color_NOC_GRAY70",e[e.Color_NOC_GRAY71=203]="Color_NOC_GRAY71",e[e.Color_NOC_GRAY72=204]="Color_NOC_GRAY72",e[e.Color_NOC_GRAY73=205]="Color_NOC_GRAY73",e[e.Color_NOC_GRAY74=206]="Color_NOC_GRAY74",e[e.Color_NOC_GRAY75=207]="Color_NOC_GRAY75",e[e.Color_NOC_GRAY76=208]="Color_NOC_GRAY76",e[e.Color_NOC_GRAY77=209]="Color_NOC_GRAY77",e[e.Color_NOC_GRAY78=210]="Color_NOC_GRAY78",e[e.Color_NOC_GRAY79=211]="Color_NOC_GRAY79",e[e.Color_NOC_GRAY80=212]="Color_NOC_GRAY80",e[e.Color_NOC_GRAY81=213]="Color_NOC_GRAY81",e[e.Color_NOC_GRAY82=214]="Color_NOC_GRAY82",e[e.Color_NOC_GRAY83=215]="Color_NOC_GRAY83",e[e.Color_NOC_GRAY85=216]="Color_NOC_GRAY85",e[e.Color_NOC_GRAY86=217]="Color_NOC_GRAY86",e[e.Color_NOC_GRAY87=218]="Color_NOC_GRAY87",e[e.Color_NOC_GRAY88=219]="Color_NOC_GRAY88",e[e.Color_NOC_GRAY89=220]="Color_NOC_GRAY89",e[e.Color_NOC_GRAY90=221]="Color_NOC_GRAY90",e[e.Color_NOC_GRAY91=222]="Color_NOC_GRAY91",e[e.Color_NOC_GRAY92=223]="Color_NOC_GRAY92",e[e.Color_NOC_GRAY93=224]="Color_NOC_GRAY93",e[e.Color_NOC_GRAY94=225]="Color_NOC_GRAY94",e[e.Color_NOC_GRAY95=226]="Color_NOC_GRAY95",e[e.Color_NOC_GRAY97=227]="Color_NOC_GRAY97",e[e.Color_NOC_GRAY98=228]="Color_NOC_GRAY98",e[e.Color_NOC_GRAY99=229]="Color_NOC_GRAY99",e[e.Color_NOC_GREEN=230]="Color_NOC_GREEN",e[e.Color_NOC_GREEN1=230]="Color_NOC_GREEN1",e[e.Color_NOC_GREEN2=231]="Color_NOC_GREEN2",e[e.Color_NOC_GREEN3=232]="Color_NOC_GREEN3",e[e.Color_NOC_GREEN4=233]="Color_NOC_GREEN4",e[e.Color_NOC_GREENYELLOW=234]="Color_NOC_GREENYELLOW",e[e.Color_NOC_HONEYDEW=235]="Color_NOC_HONEYDEW",e[e.Color_NOC_HONEYDEW2=236]="Color_NOC_HONEYDEW2",e[e.Color_NOC_HONEYDEW3=237]="Color_NOC_HONEYDEW3",e[e.Color_NOC_HONEYDEW4=238]="Color_NOC_HONEYDEW4",e[e.Color_NOC_HOTPINK=239]="Color_NOC_HOTPINK",e[e.Color_NOC_HOTPINK1=240]="Color_NOC_HOTPINK1",e[e.Color_NOC_HOTPINK2=241]="Color_NOC_HOTPINK2",e[e.Color_NOC_HOTPINK3=242]="Color_NOC_HOTPINK3",e[e.Color_NOC_HOTPINK4=243]="Color_NOC_HOTPINK4",e[e.Color_NOC_INDIANRED=244]="Color_NOC_INDIANRED",e[e.Color_NOC_INDIANRED1=245]="Color_NOC_INDIANRED1",e[e.Color_NOC_INDIANRED2=246]="Color_NOC_INDIANRED2",e[e.Color_NOC_INDIANRED3=247]="Color_NOC_INDIANRED3",e[e.Color_NOC_INDIANRED4=248]="Color_NOC_INDIANRED4",e[e.Color_NOC_IVORY=249]="Color_NOC_IVORY",e[e.Color_NOC_IVORY2=250]="Color_NOC_IVORY2",e[e.Color_NOC_IVORY3=251]="Color_NOC_IVORY3",e[e.Color_NOC_IVORY4=252]="Color_NOC_IVORY4",e[e.Color_NOC_KHAKI=253]="Color_NOC_KHAKI",e[e.Color_NOC_KHAKI1=254]="Color_NOC_KHAKI1",e[e.Color_NOC_KHAKI2=255]="Color_NOC_KHAKI2",e[e.Color_NOC_KHAKI3=256]="Color_NOC_KHAKI3",e[e.Color_NOC_KHAKI4=257]="Color_NOC_KHAKI4",e[e.Color_NOC_LAVENDER=258]="Color_NOC_LAVENDER",e[e.Color_NOC_LAVENDERBLUSH1=259]="Color_NOC_LAVENDERBLUSH1",e[e.Color_NOC_LAVENDERBLUSH2=260]="Color_NOC_LAVENDERBLUSH2",e[e.Color_NOC_LAVENDERBLUSH3=261]="Color_NOC_LAVENDERBLUSH3",e[e.Color_NOC_LAVENDERBLUSH4=262]="Color_NOC_LAVENDERBLUSH4",e[e.Color_NOC_LAWNGREEN=263]="Color_NOC_LAWNGREEN",e[e.Color_NOC_LEMONCHIFFON1=264]="Color_NOC_LEMONCHIFFON1",e[e.Color_NOC_LEMONCHIFFON2=265]="Color_NOC_LEMONCHIFFON2",e[e.Color_NOC_LEMONCHIFFON3=266]="Color_NOC_LEMONCHIFFON3",e[e.Color_NOC_LEMONCHIFFON4=267]="Color_NOC_LEMONCHIFFON4",e[e.Color_NOC_LIGHTBLUE=268]="Color_NOC_LIGHTBLUE",e[e.Color_NOC_LIGHTBLUE1=269]="Color_NOC_LIGHTBLUE1",e[e.Color_NOC_LIGHTBLUE2=270]="Color_NOC_LIGHTBLUE2",e[e.Color_NOC_LIGHTBLUE3=271]="Color_NOC_LIGHTBLUE3",e[e.Color_NOC_LIGHTBLUE4=272]="Color_NOC_LIGHTBLUE4",e[e.Color_NOC_LIGHTCORAL=273]="Color_NOC_LIGHTCORAL",e[e.Color_NOC_LIGHTCYAN=274]="Color_NOC_LIGHTCYAN",e[e.Color_NOC_LIGHTCYAN1=274]="Color_NOC_LIGHTCYAN1",e[e.Color_NOC_LIGHTCYAN2=275]="Color_NOC_LIGHTCYAN2",e[e.Color_NOC_LIGHTCYAN3=276]="Color_NOC_LIGHTCYAN3",e[e.Color_NOC_LIGHTCYAN4=277]="Color_NOC_LIGHTCYAN4",e[e.Color_NOC_LIGHTGOLDENROD=278]="Color_NOC_LIGHTGOLDENROD",e[e.Color_NOC_LIGHTGOLDENROD1=279]="Color_NOC_LIGHTGOLDENROD1",e[e.Color_NOC_LIGHTGOLDENROD2=280]="Color_NOC_LIGHTGOLDENROD2",e[e.Color_NOC_LIGHTGOLDENROD3=281]="Color_NOC_LIGHTGOLDENROD3",e[e.Color_NOC_LIGHTGOLDENROD4=282]="Color_NOC_LIGHTGOLDENROD4",e[e.Color_NOC_LIGHTGOLDENRODYELLOW=283]="Color_NOC_LIGHTGOLDENRODYELLOW",e[e.Color_NOC_LIGHTGRAY=284]="Color_NOC_LIGHTGRAY",e[e.Color_NOC_LIGHTPINK=285]="Color_NOC_LIGHTPINK",e[e.Color_NOC_LIGHTPINK1=286]="Color_NOC_LIGHTPINK1",e[e.Color_NOC_LIGHTPINK2=287]="Color_NOC_LIGHTPINK2",e[e.Color_NOC_LIGHTPINK3=288]="Color_NOC_LIGHTPINK3",e[e.Color_NOC_LIGHTPINK4=289]="Color_NOC_LIGHTPINK4",e[e.Color_NOC_LIGHTSALMON1=290]="Color_NOC_LIGHTSALMON1",e[e.Color_NOC_LIGHTSALMON2=291]="Color_NOC_LIGHTSALMON2",e[e.Color_NOC_LIGHTSALMON3=292]="Color_NOC_LIGHTSALMON3",e[e.Color_NOC_LIGHTSALMON4=293]="Color_NOC_LIGHTSALMON4",e[e.Color_NOC_LIGHTSEAGREEN=294]="Color_NOC_LIGHTSEAGREEN",e[e.Color_NOC_LIGHTSKYBLUE=295]="Color_NOC_LIGHTSKYBLUE",e[e.Color_NOC_LIGHTSKYBLUE1=296]="Color_NOC_LIGHTSKYBLUE1",e[e.Color_NOC_LIGHTSKYBLUE2=297]="Color_NOC_LIGHTSKYBLUE2",e[e.Color_NOC_LIGHTSKYBLUE3=298]="Color_NOC_LIGHTSKYBLUE3",e[e.Color_NOC_LIGHTSKYBLUE4=299]="Color_NOC_LIGHTSKYBLUE4",e[e.Color_NOC_LIGHTSLATEBLUE=300]="Color_NOC_LIGHTSLATEBLUE",e[e.Color_NOC_LIGHTSLATEGRAY=301]="Color_NOC_LIGHTSLATEGRAY",e[e.Color_NOC_LIGHTSTEELBLUE=302]="Color_NOC_LIGHTSTEELBLUE",e[e.Color_NOC_LIGHTSTEELBLUE1=303]="Color_NOC_LIGHTSTEELBLUE1",e[e.Color_NOC_LIGHTSTEELBLUE2=304]="Color_NOC_LIGHTSTEELBLUE2",e[e.Color_NOC_LIGHTSTEELBLUE3=305]="Color_NOC_LIGHTSTEELBLUE3",e[e.Color_NOC_LIGHTSTEELBLUE4=306]="Color_NOC_LIGHTSTEELBLUE4",e[e.Color_NOC_LIGHTYELLOW=307]="Color_NOC_LIGHTYELLOW",e[e.Color_NOC_LIGHTYELLOW2=308]="Color_NOC_LIGHTYELLOW2",e[e.Color_NOC_LIGHTYELLOW3=309]="Color_NOC_LIGHTYELLOW3",e[e.Color_NOC_LIGHTYELLOW4=310]="Color_NOC_LIGHTYELLOW4",e[e.Color_NOC_LIMEGREEN=311]="Color_NOC_LIMEGREEN",e[e.Color_NOC_LINEN=312]="Color_NOC_LINEN",e[e.Color_NOC_MAGENTA=313]="Color_NOC_MAGENTA",e[e.Color_NOC_MAGENTA1=313]="Color_NOC_MAGENTA1",e[e.Color_NOC_MAGENTA2=314]="Color_NOC_MAGENTA2",e[e.Color_NOC_MAGENTA3=315]="Color_NOC_MAGENTA3",e[e.Color_NOC_MAGENTA4=316]="Color_NOC_MAGENTA4",e[e.Color_NOC_MAROON=317]="Color_NOC_MAROON",e[e.Color_NOC_MAROON1=318]="Color_NOC_MAROON1",e[e.Color_NOC_MAROON2=319]="Color_NOC_MAROON2",e[e.Color_NOC_MAROON3=320]="Color_NOC_MAROON3",e[e.Color_NOC_MAROON4=321]="Color_NOC_MAROON4",e[e.Color_NOC_MEDIUMAQUAMARINE=322]="Color_NOC_MEDIUMAQUAMARINE",e[e.Color_NOC_MEDIUMORCHID=323]="Color_NOC_MEDIUMORCHID",e[e.Color_NOC_MEDIUMORCHID1=324]="Color_NOC_MEDIUMORCHID1",e[e.Color_NOC_MEDIUMORCHID2=325]="Color_NOC_MEDIUMORCHID2",e[e.Color_NOC_MEDIUMORCHID3=326]="Color_NOC_MEDIUMORCHID3",e[e.Color_NOC_MEDIUMORCHID4=327]="Color_NOC_MEDIUMORCHID4",e[e.Color_NOC_MEDIUMPURPLE=328]="Color_NOC_MEDIUMPURPLE",e[e.Color_NOC_MEDIUMPURPLE1=329]="Color_NOC_MEDIUMPURPLE1",e[e.Color_NOC_MEDIUMPURPLE2=330]="Color_NOC_MEDIUMPURPLE2",e[e.Color_NOC_MEDIUMPURPLE3=331]="Color_NOC_MEDIUMPURPLE3",e[e.Color_NOC_MEDIUMPURPLE4=332]="Color_NOC_MEDIUMPURPLE4",e[e.Color_NOC_MEDIUMSEAGREEN=333]="Color_NOC_MEDIUMSEAGREEN",e[e.Color_NOC_MEDIUMSLATEBLUE=334]="Color_NOC_MEDIUMSLATEBLUE",e[e.Color_NOC_MEDIUMSPRINGGREEN=335]="Color_NOC_MEDIUMSPRINGGREEN",e[e.Color_NOC_MEDIUMTURQUOISE=336]="Color_NOC_MEDIUMTURQUOISE",e[e.Color_NOC_MEDIUMVIOLETRED=337]="Color_NOC_MEDIUMVIOLETRED",e[e.Color_NOC_MIDNIGHTBLUE=338]="Color_NOC_MIDNIGHTBLUE",e[e.Color_NOC_MINTCREAM=339]="Color_NOC_MINTCREAM",e[e.Color_NOC_MISTYROSE=340]="Color_NOC_MISTYROSE",e[e.Color_NOC_MISTYROSE2=341]="Color_NOC_MISTYROSE2",e[e.Color_NOC_MISTYROSE3=342]="Color_NOC_MISTYROSE3",e[e.Color_NOC_MISTYROSE4=343]="Color_NOC_MISTYROSE4",e[e.Color_NOC_MOCCASIN=344]="Color_NOC_MOCCASIN",e[e.Color_NOC_NAVAJOWHITE1=345]="Color_NOC_NAVAJOWHITE1",e[e.Color_NOC_NAVAJOWHITE2=346]="Color_NOC_NAVAJOWHITE2",e[e.Color_NOC_NAVAJOWHITE3=347]="Color_NOC_NAVAJOWHITE3",e[e.Color_NOC_NAVAJOWHITE4=348]="Color_NOC_NAVAJOWHITE4",e[e.Color_NOC_NAVYBLUE=349]="Color_NOC_NAVYBLUE",e[e.Color_NOC_OLDLACE=350]="Color_NOC_OLDLACE",e[e.Color_NOC_OLIVEDRAB=351]="Color_NOC_OLIVEDRAB",e[e.Color_NOC_OLIVEDRAB1=352]="Color_NOC_OLIVEDRAB1",e[e.Color_NOC_OLIVEDRAB2=353]="Color_NOC_OLIVEDRAB2",e[e.Color_NOC_OLIVEDRAB3=354]="Color_NOC_OLIVEDRAB3",e[e.Color_NOC_OLIVEDRAB4=355]="Color_NOC_OLIVEDRAB4",e[e.Color_NOC_ORANGE=356]="Color_NOC_ORANGE",e[e.Color_NOC_ORANGE1=356]="Color_NOC_ORANGE1",e[e.Color_NOC_ORANGE2=357]="Color_NOC_ORANGE2",e[e.Color_NOC_ORANGE3=358]="Color_NOC_ORANGE3",e[e.Color_NOC_ORANGE4=359]="Color_NOC_ORANGE4",e[e.Color_NOC_ORANGERED=360]="Color_NOC_ORANGERED",e[e.Color_NOC_ORANGERED1=360]="Color_NOC_ORANGERED1",e[e.Color_NOC_ORANGERED2=361]="Color_NOC_ORANGERED2",e[e.Color_NOC_ORANGERED3=362]="Color_NOC_ORANGERED3",e[e.Color_NOC_ORANGERED4=363]="Color_NOC_ORANGERED4",e[e.Color_NOC_ORCHID=364]="Color_NOC_ORCHID",e[e.Color_NOC_ORCHID1=365]="Color_NOC_ORCHID1",e[e.Color_NOC_ORCHID2=366]="Color_NOC_ORCHID2",e[e.Color_NOC_ORCHID3=367]="Color_NOC_ORCHID3",e[e.Color_NOC_ORCHID4=368]="Color_NOC_ORCHID4",e[e.Color_NOC_PALEGOLDENROD=369]="Color_NOC_PALEGOLDENROD",e[e.Color_NOC_PALEGREEN=370]="Color_NOC_PALEGREEN",e[e.Color_NOC_PALEGREEN1=371]="Color_NOC_PALEGREEN1",e[e.Color_NOC_PALEGREEN2=372]="Color_NOC_PALEGREEN2",e[e.Color_NOC_PALEGREEN3=373]="Color_NOC_PALEGREEN3",e[e.Color_NOC_PALEGREEN4=374]="Color_NOC_PALEGREEN4",e[e.Color_NOC_PALETURQUOISE=375]="Color_NOC_PALETURQUOISE",e[e.Color_NOC_PALETURQUOISE1=376]="Color_NOC_PALETURQUOISE1",e[e.Color_NOC_PALETURQUOISE2=377]="Color_NOC_PALETURQUOISE2",e[e.Color_NOC_PALETURQUOISE3=378]="Color_NOC_PALETURQUOISE3",e[e.Color_NOC_PALETURQUOISE4=379]="Color_NOC_PALETURQUOISE4",e[e.Color_NOC_PALEVIOLETRED=380]="Color_NOC_PALEVIOLETRED",e[e.Color_NOC_PALEVIOLETRED1=381]="Color_NOC_PALEVIOLETRED1",e[e.Color_NOC_PALEVIOLETRED2=382]="Color_NOC_PALEVIOLETRED2",e[e.Color_NOC_PALEVIOLETRED3=383]="Color_NOC_PALEVIOLETRED3",e[e.Color_NOC_PALEVIOLETRED4=384]="Color_NOC_PALEVIOLETRED4",e[e.Color_NOC_PAPAYAWHIP=385]="Color_NOC_PAPAYAWHIP",e[e.Color_NOC_PEACHPUFF=386]="Color_NOC_PEACHPUFF",e[e.Color_NOC_PEACHPUFF2=387]="Color_NOC_PEACHPUFF2",e[e.Color_NOC_PEACHPUFF3=388]="Color_NOC_PEACHPUFF3",e[e.Color_NOC_PEACHPUFF4=389]="Color_NOC_PEACHPUFF4",e[e.Color_NOC_PERU=390]="Color_NOC_PERU",e[e.Color_NOC_PINK=391]="Color_NOC_PINK",e[e.Color_NOC_PINK1=392]="Color_NOC_PINK1",e[e.Color_NOC_PINK2=393]="Color_NOC_PINK2",e[e.Color_NOC_PINK3=394]="Color_NOC_PINK3",e[e.Color_NOC_PINK4=395]="Color_NOC_PINK4",e[e.Color_NOC_PLUM=396]="Color_NOC_PLUM",e[e.Color_NOC_PLUM1=397]="Color_NOC_PLUM1",e[e.Color_NOC_PLUM2=398]="Color_NOC_PLUM2",e[e.Color_NOC_PLUM3=399]="Color_NOC_PLUM3",e[e.Color_NOC_PLUM4=400]="Color_NOC_PLUM4",e[e.Color_NOC_POWDERBLUE=401]="Color_NOC_POWDERBLUE",e[e.Color_NOC_PURPLE=402]="Color_NOC_PURPLE",e[e.Color_NOC_PURPLE1=403]="Color_NOC_PURPLE1",e[e.Color_NOC_PURPLE2=404]="Color_NOC_PURPLE2",e[e.Color_NOC_PURPLE3=405]="Color_NOC_PURPLE3",e[e.Color_NOC_PURPLE4=406]="Color_NOC_PURPLE4",e[e.Color_NOC_RED=407]="Color_NOC_RED",e[e.Color_NOC_RED1=407]="Color_NOC_RED1",e[e.Color_NOC_RED2=408]="Color_NOC_RED2",e[e.Color_NOC_RED3=409]="Color_NOC_RED3",e[e.Color_NOC_RED4=410]="Color_NOC_RED4",e[e.Color_NOC_ROSYBROWN=411]="Color_NOC_ROSYBROWN",e[e.Color_NOC_ROSYBROWN1=412]="Color_NOC_ROSYBROWN1",e[e.Color_NOC_ROSYBROWN2=413]="Color_NOC_ROSYBROWN2",e[e.Color_NOC_ROSYBROWN3=414]="Color_NOC_ROSYBROWN3",e[e.Color_NOC_ROSYBROWN4=415]="Color_NOC_ROSYBROWN4",e[e.Color_NOC_ROYALBLUE=416]="Color_NOC_ROYALBLUE",e[e.Color_NOC_ROYALBLUE1=417]="Color_NOC_ROYALBLUE1",e[e.Color_NOC_ROYALBLUE2=418]="Color_NOC_ROYALBLUE2",e[e.Color_NOC_ROYALBLUE3=419]="Color_NOC_ROYALBLUE3",e[e.Color_NOC_ROYALBLUE4=420]="Color_NOC_ROYALBLUE4",e[e.Color_NOC_SADDLEBROWN=421]="Color_NOC_SADDLEBROWN",e[e.Color_NOC_SALMON=422]="Color_NOC_SALMON",e[e.Color_NOC_SALMON1=423]="Color_NOC_SALMON1",e[e.Color_NOC_SALMON2=424]="Color_NOC_SALMON2",e[e.Color_NOC_SALMON3=425]="Color_NOC_SALMON3",e[e.Color_NOC_SALMON4=426]="Color_NOC_SALMON4",e[e.Color_NOC_SANDYBROWN=427]="Color_NOC_SANDYBROWN",e[e.Color_NOC_SEAGREEN=428]="Color_NOC_SEAGREEN",e[e.Color_NOC_SEAGREEN1=429]="Color_NOC_SEAGREEN1",e[e.Color_NOC_SEAGREEN2=430]="Color_NOC_SEAGREEN2",e[e.Color_NOC_SEAGREEN3=431]="Color_NOC_SEAGREEN3",e[e.Color_NOC_SEAGREEN4=432]="Color_NOC_SEAGREEN4",e[e.Color_NOC_SEASHELL=433]="Color_NOC_SEASHELL",e[e.Color_NOC_SEASHELL2=434]="Color_NOC_SEASHELL2",e[e.Color_NOC_SEASHELL3=435]="Color_NOC_SEASHELL3",e[e.Color_NOC_SEASHELL4=436]="Color_NOC_SEASHELL4",e[e.Color_NOC_BEET=437]="Color_NOC_BEET",e[e.Color_NOC_TEAL=438]="Color_NOC_TEAL",e[e.Color_NOC_SIENNA=439]="Color_NOC_SIENNA",e[e.Color_NOC_SIENNA1=440]="Color_NOC_SIENNA1",e[e.Color_NOC_SIENNA2=441]="Color_NOC_SIENNA2",e[e.Color_NOC_SIENNA3=442]="Color_NOC_SIENNA3",e[e.Color_NOC_SIENNA4=443]="Color_NOC_SIENNA4",e[e.Color_NOC_SKYBLUE=444]="Color_NOC_SKYBLUE",e[e.Color_NOC_SKYBLUE1=445]="Color_NOC_SKYBLUE1",e[e.Color_NOC_SKYBLUE2=446]="Color_NOC_SKYBLUE2",e[e.Color_NOC_SKYBLUE3=447]="Color_NOC_SKYBLUE3",e[e.Color_NOC_SKYBLUE4=448]="Color_NOC_SKYBLUE4",e[e.Color_NOC_SLATEBLUE=449]="Color_NOC_SLATEBLUE",e[e.Color_NOC_SLATEBLUE1=450]="Color_NOC_SLATEBLUE1",e[e.Color_NOC_SLATEBLUE2=451]="Color_NOC_SLATEBLUE2",e[e.Color_NOC_SLATEBLUE3=452]="Color_NOC_SLATEBLUE3",e[e.Color_NOC_SLATEBLUE4=453]="Color_NOC_SLATEBLUE4",e[e.Color_NOC_SLATEGRAY1=454]="Color_NOC_SLATEGRAY1",e[e.Color_NOC_SLATEGRAY2=455]="Color_NOC_SLATEGRAY2",e[e.Color_NOC_SLATEGRAY3=456]="Color_NOC_SLATEGRAY3",e[e.Color_NOC_SLATEGRAY4=457]="Color_NOC_SLATEGRAY4",e[e.Color_NOC_SLATEGRAY=458]="Color_NOC_SLATEGRAY",e[e.Color_NOC_SNOW=459]="Color_NOC_SNOW",e[e.Color_NOC_SNOW2=460]="Color_NOC_SNOW2",e[e.Color_NOC_SNOW3=461]="Color_NOC_SNOW3",e[e.Color_NOC_SNOW4=462]="Color_NOC_SNOW4",e[e.Color_NOC_SPRINGGREEN=463]="Color_NOC_SPRINGGREEN",e[e.Color_NOC_SPRINGGREEN2=464]="Color_NOC_SPRINGGREEN2",e[e.Color_NOC_SPRINGGREEN3=465]="Color_NOC_SPRINGGREEN3",e[e.Color_NOC_SPRINGGREEN4=466]="Color_NOC_SPRINGGREEN4",e[e.Color_NOC_STEELBLUE=467]="Color_NOC_STEELBLUE",e[e.Color_NOC_STEELBLUE1=468]="Color_NOC_STEELBLUE1",e[e.Color_NOC_STEELBLUE2=469]="Color_NOC_STEELBLUE2",e[e.Color_NOC_STEELBLUE3=470]="Color_NOC_STEELBLUE3",e[e.Color_NOC_STEELBLUE4=471]="Color_NOC_STEELBLUE4",e[e.Color_NOC_TAN=472]="Color_NOC_TAN",e[e.Color_NOC_TAN1=473]="Color_NOC_TAN1",e[e.Color_NOC_TAN2=474]="Color_NOC_TAN2",e[e.Color_NOC_TAN3=475]="Color_NOC_TAN3",e[e.Color_NOC_TAN4=476]="Color_NOC_TAN4",e[e.Color_NOC_THISTLE=477]="Color_NOC_THISTLE",e[e.Color_NOC_THISTLE1=478]="Color_NOC_THISTLE1",e[e.Color_NOC_THISTLE2=479]="Color_NOC_THISTLE2",e[e.Color_NOC_THISTLE3=480]="Color_NOC_THISTLE3",e[e.Color_NOC_THISTLE4=481]="Color_NOC_THISTLE4",e[e.Color_NOC_TOMATO=482]="Color_NOC_TOMATO",e[e.Color_NOC_TOMATO1=482]="Color_NOC_TOMATO1",e[e.Color_NOC_TOMATO2=483]="Color_NOC_TOMATO2",e[e.Color_NOC_TOMATO3=484]="Color_NOC_TOMATO3",e[e.Color_NOC_TOMATO4=485]="Color_NOC_TOMATO4",e[e.Color_NOC_TURQUOISE=486]="Color_NOC_TURQUOISE",e[e.Color_NOC_TURQUOISE1=487]="Color_NOC_TURQUOISE1",e[e.Color_NOC_TURQUOISE2=488]="Color_NOC_TURQUOISE2",e[e.Color_NOC_TURQUOISE3=489]="Color_NOC_TURQUOISE3",e[e.Color_NOC_TURQUOISE4=490]="Color_NOC_TURQUOISE4",e[e.Color_NOC_VIOLET=491]="Color_NOC_VIOLET",e[e.Color_NOC_VIOLETRED=492]="Color_NOC_VIOLETRED",e[e.Color_NOC_VIOLETRED1=493]="Color_NOC_VIOLETRED1",e[e.Color_NOC_VIOLETRED2=494]="Color_NOC_VIOLETRED2",e[e.Color_NOC_VIOLETRED3=495]="Color_NOC_VIOLETRED3",e[e.Color_NOC_VIOLETRED4=496]="Color_NOC_VIOLETRED4",e[e.Color_NOC_WHEAT=497]="Color_NOC_WHEAT",e[e.Color_NOC_WHEAT1=498]="Color_NOC_WHEAT1",e[e.Color_NOC_WHEAT2=499]="Color_NOC_WHEAT2",e[e.Color_NOC_WHEAT3=500]="Color_NOC_WHEAT3",e[e.Color_NOC_WHEAT4=501]="Color_NOC_WHEAT4",e[e.Color_NOC_WHITESMOKE=502]="Color_NOC_WHITESMOKE",e[e.Color_NOC_YELLOW=503]="Color_NOC_YELLOW",e[e.Color_NOC_YELLOW1=503]="Color_NOC_YELLOW1",e[e.Color_NOC_YELLOW2=504]="Color_NOC_YELLOW2",e[e.Color_NOC_YELLOW3=505]="Color_NOC_YELLOW3",e[e.Color_NOC_YELLOW4=506]="Color_NOC_YELLOW4",e[e.Color_NOC_YELLOWGREEN=507]="Color_NOC_YELLOWGREEN",e[e.Color_NOC_WHITE=508]="Color_NOC_WHITE"}(i.MxNameOfColor||(i.MxNameOfColor={})),function(e){e[e.Color_TOC_RGB=0]="Color_TOC_RGB",e[e.Color_TOC_sRGB=1]="Color_TOC_sRGB",e[e.Color_TOC_HLS=2]="Color_TOC_HLS",e[e.Color_TOC_CIELab=3]="Color_TOC_CIELab",e[e.Color_TOC_CIELch=4]="Color_TOC_CIELch"}(i.MxTypeOfColor||(i.MxTypeOfColor={})),function(e){e[e.DM_WireFrame=0]="DM_WireFrame",e[e.DM_Shaded=1]="DM_Shaded"}(i.MxDisplayMode||(i.MxDisplayMode={})),function(e){e[e.LightSource_TOLS_AMBIENT=0]="LightSource_TOLS_AMBIENT",e[e.LightSource_TOLS_DIRECTIONAL=1]="LightSource_TOLS_DIRECTIONAL",e[e.LightSource_TOLS_POSITIONAL=2]="LightSource_TOLS_POSITIONAL",e[e.LightSource_TOLS_SPOT=3]="LightSource_TOLS_SPOT"}(i.MxTypeOfLightSource||(i.MxTypeOfLightSource={})),function(e){e[e.CProjection_Orthographic=0]="CProjection_Orthographic",e[e.CProjection_Perspective=1]="CProjection_Perspective",e[e.CProjection_Stereo=2]="CProjection_Stereo",e[e.CProjection_MonoLeftEye=3]="CProjection_MonoLeftEye",e[e.CProjection_MonoRightEye=4]="CProjection_MonoRightEye"}(i.MxCameraProjection||(i.MxCameraProjection={})),function(e){e[e.Orientation_Xpos=0]="Orientation_Xpos",e[e.Orientation_Ypos=1]="Orientation_Ypos",e[e.Orientation_Zpos=2]="Orientation_Zpos",e[e.Orientation_Xneg=3]="Orientation_Xneg",e[e.Orientation_Yneg=4]="Orientation_Yneg",e[e.Orientation_Zneg=5]="Orientation_Zneg",e[e.Orientation_XposYpos=6]="Orientation_XposYpos",e[e.Orientation_XposZpos=7]="Orientation_XposZpos",e[e.Orientation_YposZpos=8]="Orientation_YposZpos",e[e.Orientation_XnegYneg=9]="Orientation_XnegYneg",e[e.Orientation_XnegYpos=10]="Orientation_XnegYpos",e[e.Orientation_XnegZneg=11]="Orientation_XnegZneg",e[e.Orientation_XnegZpos=12]="Orientation_XnegZpos",e[e.Orientation_YnegZneg=13]="Orientation_YnegZneg",e[e.Orientation_YnegZpos=14]="Orientation_YnegZpos",e[e.Orientation_XposYneg=15]="Orientation_XposYneg",e[e.Orientation_XposZneg=16]="Orientation_XposZneg",e[e.Orientation_YposZneg=17]="Orientation_YposZneg",e[e.Orientation_XposYposZpos=18]="Orientation_XposYposZpos",e[e.Orientation_XposYnegZpos=19]="Orientation_XposYnegZpos",e[e.Orientation_XposYposZneg=20]="Orientation_XposYposZneg",e[e.Orientation_XnegYposZpos=21]="Orientation_XnegYposZpos",e[e.Orientation_XposYnegZneg=22]="Orientation_XposYnegZneg",e[e.Orientation_XnegYposZneg=23]="Orientation_XnegYposZneg",e[e.Orientation_XnegYnegZpos=24]="Orientation_XnegYnegZpos",e[e.Orientation_XnegYnegZneg=25]="Orientation_XnegYnegZneg",e[e.Orientation_TypeOfOrientation_Zup_AxoLeft=24]="Orientation_TypeOfOrientation_Zup_AxoLeft",e[e.Orientation_TypeOfOrientation_Zup_AxoRight=19]="Orientation_TypeOfOrientation_Zup_AxoRight",e[e.Orientation_TypeOfOrientation_Zup_Front=4]="Orientation_TypeOfOrientation_Zup_Front",e[e.Orientation_TypeOfOrientation_Zup_Back=1]="Orientation_TypeOfOrientation_Zup_Back",e[e.Orientation_TypeOfOrientation_Zup_Top=2]="Orientation_TypeOfOrientation_Zup_Top",e[e.Orientation_TypeOfOrientation_Zup_Bottom=5]="Orientation_TypeOfOrientation_Zup_Bottom",e[e.Orientation_TypeOfOrientation_Zup_Left=3]="Orientation_TypeOfOrientation_Zup_Left",e[e.Orientation_TypeOfOrientation_Zup_Right=0]="Orientation_TypeOfOrientation_Zup_Right",e[e.Orientation_TypeOfOrientation_Yup_AxoLeft=21]="Orientation_TypeOfOrientation_Yup_AxoLeft",e[e.Orientation_TypeOfOrientation_Yup_AxoRight=18]="Orientation_TypeOfOrientation_Yup_AxoRight",e[e.Orientation_TypeOfOrientation_Yup_Front=2]="Orientation_TypeOfOrientation_Yup_Front",e[e.Orientation_TypeOfOrientation_Yup_Back=5]="Orientation_TypeOfOrientation_Yup_Back",e[e.Orientation_TypeOfOrientation_Yup_Top=1]="Orientation_TypeOfOrientation_Yup_Top",e[e.Orientation_TypeOfOrientation_Yup_Bottom=4]="Orientation_TypeOfOrientation_Yup_Bottom",e[e.Orientation_TypeOfOrientation_Yup_Left=0]="Orientation_TypeOfOrientation_Yup_Left",e[e.Orientation_TypeOfOrientation_Yup_Right=3]="Orientation_TypeOfOrientation_Yup_Right"}(i.MxV3dTypeOfOrientation||(i.MxV3dTypeOfOrientation={})),function(e){e[e.Angle_TypeOfAngle_Interior=0]="Angle_TypeOfAngle_Interior",e[e.Angle_TypeOfAngle_Exterior=1]="Angle_TypeOfAngle_Exterior"}(i.MxTypeOfAngle||(i.MxTypeOfAngle={})),function(e){e[e.Visibility_TOAAV_Both=0]="Visibility_TOAAV_Both",e[e.Visibility_TOAAV_First=1]="Visibility_TOAAV_First",e[e.Visibility_TOAAV_Second=2]="Visibility_TOAAV_Second",e[e.Visibility_TOAAV_None=3]="Visibility_TOAAV_None"}(i.MxTypeOfAngleArrowVisibility||(i.MxTypeOfAngleArrowVisibility={})),function(e){e[e.Line_TOL_EMPTY=-1]="Line_TOL_EMPTY",e[e.Line_TOL_SOLID=0]="Line_TOL_SOLID",e[e.Line_TOL_DASH=1]="Line_TOL_DASH",e[e.Line_TOL_DOT=2]="Line_TOL_DOT",e[e.Line_TOL_DOTDASH=3]="Line_TOL_DOTDASH",e[e.Line_TOL_USERDEFINED=4]="Line_TOL_USERDEFINED"}(i.MxTypeOfLine||(i.MxTypeOfLine={})),function(e){e[e.TextPath_TP_UP=0]="TextPath_TP_UP",e[e.TextPath_TP_DOWN=1]="TextPath_TP_DOWN",e[e.TextPath_TP_LEFT=2]="TextPath_TP_LEFT",e[e.TextPath_TP_RIGHT=3]="TextPath_TP_RIGHT"}(i.MxTextPath||(i.MxTextPath={})),function(e){e[e.DimensionArrowOrientation_DAO_Internal=0]="DimensionArrowOrientation_DAO_Internal",e[e.DimensionArrowOrientation_DAO_External=1]="DimensionArrowOrientation_DAO_External",e[e.DimensionArrowOrientation_DAO_Fit=2]="DimensionArrowOrientation_DAO_Fit"}(i.MxDimensionArrowOrientation||(i.MxDimensionArrowOrientation={})),function(e){e[e.DimensionTextVerticalPosition_DTVP_Above=0]="DimensionTextVerticalPosition_DTVP_Above",e[e.DimensionTextVerticalPosition_DTVP_Below=1]="DimensionTextVerticalPosition_DTVP_Below",e[e.DimensionTextVerticalPosition_DTVP_Center=2]="DimensionTextVerticalPosition_DTVP_Center"}(i.MxDimensionTextVerticalPosition||(i.MxDimensionTextVerticalPosition={})),function(e){e[e.DimensionTextHorizontalPosition_DTHP_Left=0]="DimensionTextHorizontalPosition_DTHP_Left",e[e.DimensionTextHorizontalPosition_DTHP_Right=1]="DimensionTextHorizontalPosition_DTHP_Right",e[e.DimensionTextHorizontalPosition_DTHP_Center=2]="DimensionTextHorizontalPosition_DTHP_Center",e[e.DimensionTextHorizontalPosition_DTHP_Fit=3]="DimensionTextHorizontalPosition_DTHP_Fit"}(i.MxDimensionTextHorizontalPosition||(i.MxDimensionTextHorizontalPosition={})),function(e){e[e.KindOfDimension_KOD_NONE=0]="KindOfDimension_KOD_NONE",e[e.KindOfDimension_KOD_LENGTH=1]="KindOfDimension_KOD_LENGTH",e[e.KindOfDimension_KOD_PLANEANGLE=2]="KindOfDimension_KOD_PLANEANGLE",e[e.KindOfDimension_KOD_SOLIDANGLE=3]="KindOfDimension_KOD_SOLIDANGLE",e[e.KindOfDimension_KOD_AREA=4]="KindOfDimension_KOD_AREA",e[e.KindOfDimension_KOD_VOLUME=5]="KindOfDimension_KOD_VOLUME",e[e.KindOfDimension_KOD_MASS=6]="KindOfDimension_KOD_MASS",e[e.KindOfDimension_KOD_TIME=7]="KindOfDimension_KOD_TIME",e[e.KindOfDimension_KOD_RADIUS=8]="KindOfDimension_KOD_RADIUS",e[e.KindOfDimension_KOD_DIAMETER=9]="KindOfDimension_KOD_DIAMETER",e[e.KindOfDimension_KOD_CHAMF2D=10]="KindOfDimension_KOD_CHAMF2D",e[e.KindOfDimension_KOD_CHAMF3D=11]="KindOfDimension_KOD_CHAMF3D",e[e.KindOfDimension_KOD_OFFSET=12]="KindOfDimension_KOD_OFFSET",e[e.KindOfDimension_KOD_ELLIPSERADIUS=13]="KindOfDimension_KOD_ELLIPSERADIUS"}(i.MxKindOfDimension||(i.MxKindOfDimension={})),function(e){e[e.DocColor_ColorGen=0]="DocColor_ColorGen",e[e.DocColor_ColorSurf=1]="DocColor_ColorSurf",e[e.DocColor_ColorCurv=2]="DocColor_ColorCurv"}(i.MxDocColorType||(i.MxDocColorType={})),function(e){e[e.KindOfInteractive_None=0]="KindOfInteractive_None",e[e.KindOfInteractive_Datum=1]="KindOfInteractive_Datum",e[e.KindOfInteractive_Shape=2]="KindOfInteractive_Shape",e[e.KindOfInteractive_Object=3]="KindOfInteractive_Object",e[e.KindOfInteractive_Relation=4]="KindOfInteractive_Relation",e[e.KindOfInteractive_Dimension=5]="KindOfInteractive_Dimension",e[e.KindOfInteractive_LightSource=6]="KindOfInteractive_LightSource",e[e.KOI_None=0]="KOI_None",e[e.KOI_Datum=1]="KOI_Datum",e[e.KOI_Shape=2]="KOI_Shape",e[e.KOI_Object=3]="KOI_Object",e[e.KOI_Relation=4]="KOI_Relation",e[e.KOI_Dimension=5]="KOI_Dimension"}(i.MxKindOfInteractive||(i.MxKindOfInteractive={})),function(e){e[e.TOH_NotSet=0]="TOH_NotSet",e[e.TOH_PolyAlgo=1]="TOH_PolyAlgo",e[e.TOH_Algo=2]="TOH_Algo"}(i.MxPrs3dTypeOfHLR||(i.MxPrs3dTypeOfHLR={})),function(e){e[e.DisplayStatus_Displayed=0]="DisplayStatus_Displayed",e[e.DisplayStatus_Erased=1]="DisplayStatus_Erased",e[e.DisplayStatus_None=2]="DisplayStatus_None",e[e.DS_Displayed=0]="DS_Displayed",e[e.DS_Erased=1]="DS_Erased",e[e.DS_None=2]="DS_None"}(i.MxDisplayStatus||(i.MxDisplayStatus={})),function(e){e[e.DisplayMode_Wireframe=0]="DisplayMode_Wireframe",e[e.DisplayMode_HiddenLineRemoval=1]="DisplayMode_HiddenLineRemoval",e[e.DisplayMode_Shaded=2]="DisplayMode_Shaded",e[e.DisplayMode_ShadedWithFaceBoundary=3]="DisplayMode_ShadedWithFaceBoundary",e[e.DisplayMode_Transparency=4]="DisplayMode_Transparency"}(i.MxGlobalDisplayMode||(i.MxGlobalDisplayMode={})),function(e){e[e.GradientFillMethod_None=0]="GradientFillMethod_None",e[e.GradientFillMethod_Horizontal=1]="GradientFillMethod_Horizontal",e[e.GradientFillMethod_Vertical=2]="GradientFillMethod_Vertical",e[e.GradientFillMethod_Diagonal1=3]="GradientFillMethod_Diagonal1",e[e.GradientFillMethod_Diagonal2=4]="GradientFillMethod_Diagonal2",e[e.GradientFillMethod_Corner1=5]="GradientFillMethod_Corner1",e[e.GradientFillMethod_Corner2=6]="GradientFillMethod_Corner2",e[e.GradientFillMethod_Corner3=7]="GradientFillMethod_Corner3",e[e.GradientFillMethod_Corner4=8]="GradientFillMethod_Corner4",e[e.GradientFillMethod_Elliptical=9]="GradientFillMethod_Elliptical",e[e.GFM_NONE=0]="GFM_NONE",e[e.GFM_HOR=1]="GFM_HOR",e[e.GFM_VER=2]="GFM_VER",e[e.GFM_DIAG1=3]="GFM_DIAG1",e[e.GFM_DIAG2=4]="GFM_DIAG2",e[e.GFM_CORNER1=5]="GFM_CORNER1",e[e.GFM_CORNER2=6]="GFM_CORNER2",e[e.GFM_CORNER3=7]="GFM_CORNER3",e[e.GFM_CORNER4=8]="GFM_CORNER4"}(i.MxGradientFillMethod||(i.MxGradientFillMethod={})),function(e){e[e.Format_Unknown=0]="Format_Unknown",e[e.Format_Image=1]="Format_Image",e[e.Format_3DS=2]="Format_3DS",e[e.Format_3MF=3]="Format_3MF",e[e.Format_AMF=4]="Format_AMF",e[e.Format_COLLADA=5]="Format_COLLADA",e[e.Format_DXF=6]="Format_DXF",e[e.Format_FBX=7]="Format_FBX",e[e.Format_GLTF=8]="Format_GLTF",e[e.Format_IGES=9]="Format_IGES",e[e.Format_OBJ=10]="Format_OBJ",e[e.Format_OCCBREP=11]="Format_OCCBREP",e[e.Format_OFF=12]="Format_OFF",e[e.Format_PLY=13]="Format_PLY",e[e.Format_STEP=14]="Format_STEP",e[e.Format_STL=15]="Format_STL",e[e.Format_VRML=16]="Format_VRML",e[e.Format_X3D=17]="Format_X3D",e[e.Format_Blender=18]="Format_Blender"}(i.MxFormat||(i.MxFormat={})),function(e){e[e.Quant_Length=0]="Quant_Length",e[e.Quant_Area=1]="Quant_Area",e[e.Quant_Volume=2]="Quant_Volume"}(i.MxQuantAspect||(i.MxQuantAspect={})),function(e){e[e.Orientation_FORWARD=0]="Orientation_FORWARD",e[e.Orientation_REVERSED=1]="Orientation_REVERSED",e[e.Orientation_INTERNAL=2]="Orientation_INTERNAL",e[e.Orientation_EXTERNAL=3]="Orientation_EXTERNAL"}(i.MxOrientation||(i.MxOrientation={})),function(e){e[e.Mx_Transformed=0]="Mx_Transformed",e[e.Mx_RightCorner=1]="Mx_RightCorner",e[e.Mx_RoundCorner=2]="Mx_RoundCorner"}(i.MxTransitionMode||(i.MxTransitionMode={}))})(Co||(Co={}));var IC=function(){function i(){oe(this,i),ge(this,"events",void 0),this.events={}}return ue(i,[{key:"on",value:function(t,n){var r=this;r.events.hasOwnProperty(t)||(r.events[t]=[]),r.events[t].push(n)}},{key:"emit",value:function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a"u")this.events[t]=[];else{var r=this.events[t].indexOf(n);this.events[t].splice(r,1)}}}]),i}(),PC=function(){var i=ut(me.mark(function e(t,n,r){var a,s;return me.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return a=r.locateFile,s=a(t+".js"),u.next=4,gy(s);case 4:return u.next=6,globalThis[n](r);case 6:return u.abrupt("return",u.sent);case 7:case"end":return u.stop()}},e)}));return function(t,n,r){return i.apply(this,arguments)}}();function FC(i){if(typeof ResizeObserver=="function"){var e=new ResizeObserver(i);return e}return null}function RC(i,e){var t=function(){return requestAnimationFrame(e)},n=FC(t);if(n){n.observe(i);return}if(MutationObserver){var r=new MutationObserver(t);r.observe(i,{attributes:!0});return}}function LC(i,e){var t=null;return function(){for(var n=this,r=arguments.length,a=new Array(r),s=0;s"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var OC=function(i){de(t,i);var e=Re(t);function t(){var n;oe(this,t);for(var r=arguments.length,a=new Array(r),s=0;s0&&arguments[0]!==void 0?arguments[0]:!0;this.imp.removeAll(t)}},{key:"removeSelected",value:function(){this.imp.removeSelected()}},{key:"update",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;this.imp.update(t,n)}},{key:"setProjectionType",value:function(t){this.imp.setProjectionType(t)}},{key:"showCenterTrihedron",value:function(t){this.imp.showCenterTrihedron(t)}},{key:"fitAllObjects",value:function(t){this.imp.fitAllObjects(t)}},{key:"enableXClipPlane",value:function(t){this.imp.enableXClipPlane(t)}},{key:"setXClipPlaneXPosition",value:function(t){this.imp.setXClipPlaneXPosition(t)}},{key:"setXClipPlaneReverse",value:function(){this.imp.setXClipPlaneReverse()}},{key:"enableYClipPlane",value:function(t){this.imp.enableYClipPlane(t)}},{key:"setYClipPlaneYPosition",value:function(t){this.imp.setYClipPlaneYPosition(t)}},{key:"setYClipPlaneReverse",value:function(){this.imp.setYClipPlaneReverse()}},{key:"enableZClipPlane",value:function(t){this.imp.enableZClipPlane(t)}},{key:"setZClipPlaneZPosition",value:function(t){this.imp.setZClipPlaneZPosition(t)}},{key:"setZClipPlaneReverse",value:function(){this.imp.setZClipPlaneReverse()}},{key:"enableCustomClipPlane",value:function(t){this.imp.enableCustomClipPlane(t)}},{key:"setCustomClipPlanePosition",value:function(t){this.imp.setCustomClipPlanePosition(t)}},{key:"setCustomClipPlaneReverse",value:function(){this.imp.setCustomClipPlaneReverse()}},{key:"setCustomClipPlaneDirection",value:function(t,n,r){this.imp.setCustomClipPlaneDirection(t,n,r)}},{key:"displaySymbolText",value:function(t){this.imp.displaySymbolText(t.getImp())}},{key:"displayDimension",value:function(t){this.imp.displayDimension(t.getImp())}},{key:"addModelTexture",value:function(t){this.imp.addModelTexture(t)}},{key:"removeModelTexture",value:function(){this.imp.removeModelTexture()}},{key:"setGradientBgColor",value:function(t,n,r){this.imp.setGradientBgColor(t.getImp(),n.getImp(),r)}},{key:"setProj",value:function(t,n){this.imp.setProj(t,n)}},{key:"setSelectedColor",value:function(t){this.imp.setSelectedColor(t.getImp())}},{key:"setSelectedMaterial",value:function(t){this.imp.setSelectedMaterial(t.getImp())}},{key:"setDisplayMode",value:function(t){this.imp.setDisplayMode(t)}},{key:"enableDirLightSrc",value:function(t){this.imp.enableDirLightSrc(t)}},{key:"setCubemapBackground",value:function(t,n,r,a,s,o){this.imp.setCubemapBackground(t,n,r,a,s,o)}},{key:"setManipulatorEnabled",value:function(t){this.imp.setManipulatorEnabled(t)}},{key:"getImp",value:function(){return this.imp}},{key:"getCtx",value:function(){return this.ctx}},{key:"updateCanvasSize",value:function(){this.updateCanvasSizeFun&&this.updateCanvasSizeFun()}},{key:"init",value:function(t){this.imp=t}},{key:"on",value:function(t,n){if(this.event[t])if(this.event[t]instanceof Array)this.event[t].includes(n)||this.event[t].push(n);else{var r=this.event[t];if(r==n)return;this.event[t]=[],this.event[t].push(r),this.event[t].push(n)}else this.event[t]=n}},{key:"off",value:function(t,n){if(this.event[t])if(!n)this.event[t]=[];else if(this.event[t]instanceof Array){var r=this.event[t].indexOf(n);if(r<0)return;this.event[t].splice(r,1)}else this.event[t]===n&&(this.event[t]=[])}},{key:"callEvent",value:function(t,n){try{var r=this.event[t];if(!r)return!1;if(r instanceof Array){var a=!1;return r.forEach(function(s){a=s(n)}),a}else return r(n)}catch(s){throw console.log(s),s}}},{key:"create",value:function(t){var n=this,r=function(){if(n.canvas){var g=n.canvas.parentElement?n.canvas.parentElement.clientWidth:window.innerWidth,d=n.canvas.parentElement?n.canvas.parentElement.clientHeight:window.innerHeight,y=Math.min(g,window.screen.availWidth),b=Math.min(d,window.screen.availHeight);y=Math.max(u,y),b=Math.max(c,b),n.canvas.style.width=y+1+"px",n.canvas.style.height=b+"px";var _=window.devicePixelRatio||1;n.canvas.width=y*_,n.canvas.height=b*_,window.dispatchEvent(new Event("resize"))}},a=LC(r,50),s=t.canvas,o=t.minWidth,u=o===void 0?300:o,l=t.minHeight,c=l===void 0?300:l,f=t.updateCanvasSize,h=f===void 0?a:f,p=!1,m=function(){if(!p){p=!0;var g=typeof s=="string",d=g?document.querySelectorAll(s)[0]:s;if(!d){d=document.createElement("canvas"),g&&(s.startsWith(".")&&d.classList.add((s+"").replace(".","")),s.startsWith("#")&&(d.id=(s+"").replace("#","")));var y=document.createElement("div");y.style.width="100%",y.style.height="".concat(Math.max(document.body.clientHeight,c),"px"),y.appendChild(d),document.body.appendChild(y)}var b=d.getContext("webgl2",{alpha:!1,depth:!0,antialias:!1,preserveDrawingBuffer:!0});if(b==null&&(b=d.getContext("webgl",{alpha:!1,depth:!0,antialias:!1,preserveDrawingBuffer:!0})),n.canvas=d,n.ctx=b,n.canvas instanceof HTMLCanvasElement){var _=n.canvas.parentElement||document.body;RC(_,h)}else console.error("createMxDraw3d canvas 参数不正确 无法获取到canvas元素");r();var w=function(){n.updateCanvasSizeFun=h,n.init(ie.cpp_app.createView(s)),n.callEvent("init")};t.locateFile||(t.locateFile=g_),t.canvas=d,t.on=ie.on.bind(ie),t.emit=ie.emit.bind(ie),t.off=ie.off.bind(ie),PC("mxdraw3d_min","mxdraw3d",Object.assign({},t)).then(function(E){ie.init(E),w()})}};window.onload=function(){m()},document.readyState==="complete"?m():document.addEventListener("DOMContentLoaded",m)}}]),i}(),NC=new FinalizationRegistry(function(i){ie.tool.DestroyObject(i)}),GC={};function Qc(i){return i instanceof Ne||i instanceof Array&&typeof i[0]=="number"}function e1(i){return i instanceof gn||i instanceof Array&&typeof i[0]=="number"}function tr(i){return i instanceof an||i instanceof Array&&typeof i[0]=="number"}function Mr(i){return i instanceof Ne?i:new Ne(i[0],i[1],i[2])}function ah(i){return i instanceof gn?i:new gn(i[0],i[1],i[2])}function Rn(i){return i instanceof an?i:new an(i[0],i[1],i[2])}function UC(i){var e=new xa;return i.forEach(function(t){return e.Append(t)}),e}var t1=function(){function i(){oe(this,i),ge(this,"imp",void 0),this.imp=ie.cpp_app}return ue(i,[{key:"createView",value:function(t){return new vs(this.imp.createView(t))}},{key:"getCurrentActiveView",value:function(){return new vs(this.imp.getCurrentActiveView())}}]),i}(),wn=function(){function i(e){oe(this,i),ge(this,"imp",0),this.imp=e,this.imp&&NC.register(this,e,GC)}return ue(i,[{key:"getImp",value:function(){return this.imp}},{key:"initTempObject",value:function(t){this.imp=t}}]),i}(),Xo=function(i){de(t,i);var e=Re(t);function t(n){return oe(this,t),e.call(this,n)}return ue(t)}(wn),tm=function(i){de(t,i);var e=Re(t);function t(n){return oe(this,t),e.call(this,n)}return ue(t)}(wn),bl=function(i){de(t,i);var e=Re(t);function t(n){return oe(this,t),e.call(this,n)}return ue(t)}(wn),qo=function(i){de(t,i);var e=Re(t);function t(n){return oe(this,t),e.call(this,n)}return ue(t)}(wn),$n=function(i){de(t,i);var e=Re(t);function t(n){return oe(this,t),e.call(this,n)}return ue(t)}(wn),sh=function(i){de(t,i);var e=Re(t);function t(n){return oe(this,t),e.call(this,n)}return ue(t)}($n),n1=function(i){de(t,i);var e=Re(t);function t(n){return oe(this,t),e.call(this,n)}return ue(t)}(sh),Ne=function(i){de(t,i);var e=Re(t);function t(n,r,a){var s;return oe(this,t),arguments.length===0?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dGePoint)):n instanceof Array&&typeof n[0]=="number"?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dGePoint(n[0],n[1],n[2]))):typeof n=="number"&&typeof r=="number"&&typeof a=="number"?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dGePoint(n,r,a))):n instanceof Object&&arguments.length===1&&(s=e.call(this,n)),Fe(s)}return ue(t,[{key:"X",value:function(){return this.imp.X()}},{key:"Y",value:function(){return this.imp.Y()}},{key:"Z",value:function(){return this.imp.Z()}},{key:"setX",value:function(r){this.imp.setX(r)}},{key:"setY",value:function(r){this.imp.setY(r)}},{key:"setZ",value:function(r){this.imp.setZ(r)}},{key:"setXYZ",value:function(r,a,s){this.imp.setX(r),this.imp.setY(a),this.imp.setZ(s)}},{key:"Vertex",value:function(){return new So(this.imp.Vertex())}}]),t}($n),nm=function(i){de(t,i);var e=Re(t);function t(n){var r;return oe(this,t),n?r=e.call(this,n):(r=e.call(this),r.initTempObject(new ie.imp.Mx3dGeTrsf)),Fe(r)}return ue(t,[{key:"SetMirrorByPoint",value:function(r){r=Mr(r),this.imp.SetMirrorByPoint(r.getImp())}},{key:"SetMirrorByAxis",value:function(r){this.imp.SetMirrorByAxis(r.getImp())}},{key:"SetMirrorByCSYSR",value:function(r){this.imp.SetMirrorByCSYSR(r.getImp())}},{key:"SetRotation",value:function(r,a){this.imp.SetRotation(r.getImp(),a)}},{key:"SetScale",value:function(r,a){r=Mr(r),this.imp.SetScale(r.getImp(),a)}},{key:"SetTranslationByVec",value:function(r){r=Rn(r),this.imp.SetTranslationByVec(r.getImp())}},{key:"SetTranslationBy2Points",value:function(r,a){r=Mr(r),a=Mr(a),this.imp.SetTranslationBy2Points(r.getImp(),a.getImp())}},{key:"SetTranslationPart",value:function(r){this.imp.SetTranslationPart(r.getImp())}},{key:"SetScaleFactor",value:function(r){this.imp.SetScaleFactor(r)}},{key:"SetValues",value:function(r,a,s,o,u,l,c,f,h,p,m,v){this.imp.SetValues(r,a,s,o,u,l,c,f,h,p,m,v)}},{key:"IsNegative",value:function(){return this.imp.IsNegative()}},{key:"ScaleFactor",value:function(){return this.imp.ScaleFactor()}},{key:"Value",value:function(r,a){return this.imp.Value(r,a)}},{key:"Invert",value:function(){this.imp.Invert()}},{key:"Inverted",value:function(){return new t(this.imp.Inverted())}},{key:"Multiplied",value:function(r){return new t(this.imp.Multiplied(r.getImp()))}},{key:"Multiply",value:function(r){this.imp.Multiply(r.getImp())}},{key:"PreMultiply",value:function(r){this.imp.PreMultiply(r.getImp())}},{key:"Power",value:function(r){this.imp.Power(r)}},{key:"Powered",value:function(r){return new t(this.imp.Powered(r))}},{key:"Transforms",value:function(r,a,s){this.imp.Transforms(r,a,s)}}]),t}($n),Dt=function(i){de(t,i);var e=Re(t);function t(n,r){var a;return oe(this,t),arguments.length===0?(a=e.call(this),a.initTempObject(new ie.imp.Mx3dGeAxis)):Qc(n)&&e1(r)?(a=e.call(this),n=Mr(n),r=ah(r),a.initTempObject(new ie.imp.Mx3dGeAxis(n.getImp(),r.getImp()))):n instanceof Object&&arguments.length===1&&(a=e.call(this,n)),Fe(a)}return ue(t,[{key:"Direction",value:function(){return new gn(this.imp.Direction())}},{key:"Location",value:function(){return new Ne(this.imp.Location())}},{key:"SetDirection",value:function(r){this.imp.SetDirection(r.getImp())}},{key:"SetLocation",value:function(r){r=Mr(r),this.imp.SetLocation(r.getImp())}}]),t}($n),gn=function(i){de(t,i);var e=Re(t);function t(n,r,a){var s;return oe(this,t),arguments.length===0?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dGeDir)):typeof n=="number"&&typeof r=="number"&&typeof a=="number"?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dGeDir(n,r,a))):n instanceof Object&&arguments.length===1&&(s=e.call(this,n)),Fe(s)}return ue(t,[{key:"X",value:function(){return this.imp.X()}},{key:"Y",value:function(){return this.imp.Y()}},{key:"Z",value:function(){return this.imp.Z()}},{key:"SetX",value:function(r){this.imp.SetX(r)}},{key:"SetY",value:function(r){this.imp.SetY(r)}},{key:"SetZ",value:function(r){this.imp.SetZ(r)}},{key:"SetXYZ",value:function(r,a,s){this.imp.SetXYZ(r,a,s)}},{key:"IsEqual",value:function(r,a){return this.imp.IsEqual(r.getImp(),a)}},{key:"IsNormal",value:function(r,a){return this.imp.IsNormal(r.getImp(),a)}},{key:"IsOpposite",value:function(r,a){return this.imp.IsOpposite(r.getImp(),a)}},{key:"IsParallel",value:function(r,a){return this.imp.IsParallel(r.getImp(),a)}},{key:"Angle",value:function(r){return this.imp.Angle(r.getImp())}},{key:"AngleWithRef",value:function(r,a){return this.imp.AngleWithRef(r.getImp(),a.getImp())}},{key:"Cross",value:function(r){this.imp.Cross(r.getImp())}},{key:"Crossed",value:function(r){return new t(this.imp.Crossed(r.getImp()))}},{key:"CrossCross",value:function(r,a){this.imp.CrossCross(r.getImp(),a.getImp())}},{key:"CrossCrossed",value:function(r,a){return new t(this.imp.CrossCrossed(r.getImp(),a.getImp()))}},{key:"Dot",value:function(r){return this.imp.Dot(r.getImp())}},{key:"DotCross",value:function(r,a){return this.imp.DotCross(r.getImp(),a.getImp())}},{key:"Reverse",value:function(){this.imp.Reverse()}},{key:"Reversed",value:function(){return new t(this.imp.Reversed())}},{key:"MirrorByVec",value:function(r){this.imp.MirrorByVec(r.getImp())}},{key:"MirroredByVec",value:function(r){return new t(this.imp.MirroredByVec(r.getImp()))}},{key:"MirrorByAxis",value:function(r){this.imp.MirrorByAxis(r.getImp())}},{key:"MirroredByAxis",value:function(r){return new t(this.imp.MirroredByAxis(r.getImp()))}},{key:"MirrorByCSYSR",value:function(r){this.imp.MirrorByCSYSR(r.getImp())}},{key:"MirroredByCSYSR",value:function(r){return new t(this.imp.MirroredByCSYSR(r.getImp()))}},{key:"Rotate",value:function(r,a){this.imp.Rotate(r.getImp(),a)}},{key:"Rotated",value:function(r,a){return new t(this.imp.Rotated(r.getImp(),a))}},{key:"Transform",value:function(r){this.imp.Transform(r.getImp())}},{key:"Transformed",value:function(r){return new t(this.imp.Transformed(r.getImp()))}}]),t}($n),r1=function(i){de(t,i);var e=Re(t);function t(n,r,a){var s;return oe(this,t),!n&&!r&&!a?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dGeEllipse)):n instanceof Ot&&typeof r=="number"&&typeof a=="number"?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dGeEllipse(n.getImp(),r,a))):n instanceof Object&&(s=e.call(this,n)),Fe(s)}return ue(t,[{key:"SetAxis",value:function(r){this.imp.SetAxis(r.getImp())}},{key:"SetLocation",value:function(r){this.imp.SetLocation(r.getImp())}},{key:"SetMajorRadius",value:function(r){this.imp.SetMajorRadius(r)}},{key:"SetMinorRadius",value:function(r){this.imp.SetMinorRadius(r)}},{key:"SetPosition",value:function(r){this.imp.SetPosition(r.getImp())}},{key:"Area",value:function(){return this.imp.Area()}},{key:"Axis",value:function(){return new Dt(this.imp.Axis())}},{key:"Directrix1",value:function(){return new Dt(this.imp.Directrix1())}},{key:"Directrix2",value:function(){return new Dt(this.imp.Directrix2())}},{key:"Eccentricity",value:function(){return this.imp.Eccentricity()}},{key:"Focal",value:function(){return this.imp.Focal()}},{key:"Focus1",value:function(){return new Ne(this.imp.Focus1())}},{key:"Focus2",value:function(){return new Ne(this.imp.Focus2())}},{key:"Location",value:function(){return new Ne(this.imp.Location())}},{key:"MajorRadius",value:function(){return this.imp.MajorRadius()}},{key:"MinorRadius",value:function(){return this.imp.MinorRadius()}},{key:"Parameter",value:function(){return this.imp.Parameter()}},{key:"Position",value:function(){return new Ot(this.imp.Position())}},{key:"XAxis",value:function(){return new Dt(this.imp.XAxis())}},{key:"YAxis",value:function(){return new Dt(this.imp.YAxis())}},{key:"MirrorByPoint",value:function(r){this.imp.MirrorByPoint(r.getImp())}},{key:"MirroredByPoint",value:function(r){return new t(this.imp.MirroredByPoint(r.getImp()))}},{key:"MirrorByAxis",value:function(r){this.imp.MirrorByAxis(r.getImp())}},{key:"MirroredByAxis",value:function(r){return new t(this.imp.MirroredByAxis(r.getImp()))}},{key:"MirrorByCSYSR",value:function(r){this.imp.MirrorByCSYSR(r.getImp())}},{key:"MirroredByCSYSR",value:function(r){return new t(this.imp.MirroredByCSYSR(r.getImp()))}},{key:"Rotate",value:function(r,a){this.imp.Rotate(r.getImp(),a)}},{key:"Rotated",value:function(r,a){return new t(this.imp.Rotated(r.getImp(),a))}},{key:"Scale",value:function(r,a){this.imp.Scale(r.getImp(),a)}},{key:"Scaled",value:function(r,a){return new t(this.imp.Scaled(r.getImp(),a))}},{key:"Transform",value:function(r){this.imp.Transform(r.getImp())}},{key:"Transformed",value:function(r){return new t(this.imp.Transformed(r.getImp()))}},{key:"TranslateByVec",value:function(r){this.imp.TranslateByVec(r.getImp())}},{key:"TranslatedByVec",value:function(r){return new t(this.imp.TranslatedByVec(r.getImp()))}},{key:"TranslateBy2Points",value:function(r,a){this.imp.TranslateBy2Points(r.getImp(),a.getImp())}},{key:"TranslatedBy2Points",value:function(r,a){return new t(this.imp.TranslatedBy2Points(r.getImp(),a.getImp()))}}]),t}($n),i1=function(i){de(t,i);var e=Re(t);function t(n,r,a){var s;return oe(this,t),!n&&!r&&!a?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dGeHyperbola)):n instanceof Ot&&typeof r=="number"&&typeof a=="number"?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dGeHyperbola(n.getImp(),r,a))):n instanceof Object&&(s=e.call(this,n)),Fe(s)}return ue(t,[{key:"SetAxis",value:function(r){this.imp.SetAxis(r.getImp())}},{key:"SetLocation",value:function(r){this.imp.SetLocation(r.getImp())}},{key:"SetMajorRadius",value:function(r){this.imp.SetMajorRadius(r)}},{key:"SetMinorRadius",value:function(r){this.imp.SetMinorRadius(r)}},{key:"SetPosition",value:function(r){this.imp.SetPosition(r.getImp())}},{key:"Asymptote1",value:function(){return new Dt(this.imp.Asymptote1())}},{key:"Asymptote2",value:function(){return new Dt(this.imp.Asymptote2())}},{key:"Axis",value:function(){return new Dt(this.imp.Axis())}},{key:"ConjugateBranch1",value:function(){return new t(this.imp.ConjugateBranch1())}},{key:"ConjugateBranch2",value:function(){return new t(this.imp.ConjugateBranch2())}},{key:"Directrix1",value:function(){return new Dt(this.imp.Directrix1())}},{key:"Directrix2",value:function(){return new Dt(this.imp.Directrix2())}},{key:"Eccentricity",value:function(){return this.imp.Eccentricity()}},{key:"Focal",value:function(){return this.imp.Focal()}},{key:"Focus1",value:function(){return new Ne(this.imp.Focus1())}},{key:"Focus2",value:function(){return new Ne(this.imp.Focus2())}},{key:"Location",value:function(){return new Ne(this.imp.Location())}},{key:"MajorRadius",value:function(){return this.imp.MajorRadius()}},{key:"MinorRadius",value:function(){return this.imp.MinorRadius()}},{key:"OtherBranch",value:function(){return new t(this.imp.OtherBranch())}},{key:"Parameter",value:function(){return this.imp.Parameter()}},{key:"Position",value:function(){return new Ot(this.imp.Position())}},{key:"XAxis",value:function(){return new Dt(this.imp.XAxis())}},{key:"YAxis",value:function(){return new Dt(this.imp.YAxis())}},{key:"MirrorByPoint",value:function(r){this.imp.MirrorByPoint(r.getImp())}},{key:"MirroredByPoint",value:function(r){return new t(this.imp.MirroredByPoint(r.getImp()))}},{key:"MirrorByAxis",value:function(r){this.imp.MirrorByAxis(r.getImp())}},{key:"MirroredByAxis",value:function(r){return new t(this.imp.MirroredByAxis(r.getImp()))}},{key:"MirrorByCSYSR",value:function(r){this.imp.MirrorByCSYSR(r.getImp())}},{key:"MirroredByCSYSR",value:function(r){return new t(this.imp.MirroredByCSYSR(r.getImp()))}},{key:"Rotate",value:function(r,a){this.imp.Rotate(r.getImp(),a)}},{key:"Rotated",value:function(r,a){return new t(this.imp.Rotated(r.getImp(),a))}},{key:"Scale",value:function(r,a){this.imp.Scale(r.getImp(),a)}},{key:"Scaled",value:function(r,a){return new t(this.imp.Scaled(r.getImp(),a))}},{key:"Transform",value:function(r){this.imp.Transform(r.getImp())}},{key:"Transformed",value:function(r){return new t(this.imp.Transformed(r.getImp()))}},{key:"TranslateByVec",value:function(r){this.imp.TranslateByVec(r.getImp())}},{key:"TranslatedByVec",value:function(r){return new t(this.imp.TranslatedByVec(r.getImp()))}},{key:"TranslateBy2Points",value:function(r,a){this.imp.TranslateBy2Points(r.getImp(),a.getImp())}},{key:"TranslatedBy2Points",value:function(r,a){return new t(this.imp.TranslatedBy2Points(r.getImp(),a.getImp()))}}]),t}($n),an=function(i){de(t,i);var e=Re(t);function t(n,r,a){var s;return oe(this,t),arguments.length==0?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dGeVec)):n instanceof Ne&&r instanceof Ne&&arguments.length==2?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dGeVec(n.getImp(),r.getImp()))):typeof n=="number"&&typeof r=="number"&&arguments.length==3?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dGeVec(n,r,a))):n instanceof Object&&arguments.length==1&&(s=e.call(this,n)),Fe(s)}return ue(t,[{key:"X",value:function(){return this.imp.X()}},{key:"Y",value:function(){return this.imp.Y()}},{key:"Z",value:function(){return this.imp.Z()}},{key:"SetX",value:function(r){this.imp.SetX(r)}},{key:"SetY",value:function(r){this.imp.SetY(r)}},{key:"SetZ",value:function(r){this.imp.SetZ(r)}},{key:"SetXYZ",value:function(r,a,s){this.imp.SetXYZ(r,a,s)}},{key:"IsEqual",value:function(r,a,s){return this.imp.IsEqual(r.getImp(),a,s)}},{key:"IsNormal",value:function(r,a){return this.imp.IsNormal(r.getImp(),a)}},{key:"IsOpposite",value:function(r,a){return this.imp.IsOpposite(r.getImp(),a)}},{key:"IsParallel",value:function(r,a){return this.imp.IsParallel(r.getImp(),a)}},{key:"Angle",value:function(r){return this.imp.Angle(r.getImp())}},{key:"AngleWithRef",value:function(r,a){return this.imp.AngleWithRef(r.getImp(),a.getImp())}},{key:"Magnitude",value:function(){return this.imp.Magnitude()}},{key:"SquareMagnitude",value:function(){return this.imp.SquareMagnitude()}},{key:"Add",value:function(r){this.imp.Add(r.getImp())}},{key:"Added",value:function(r){return new t(this.imp.Added(r.getImp()))}},{key:"Subtract",value:function(r){this.imp.Subtract(r.getImp())}},{key:"Subtracted",value:function(r){return new t(this.imp.Subtracted(r.getImp()))}},{key:"Multiply",value:function(r){this.imp.Multiply(r)}},{key:"Multiplied",value:function(r){return new t(this.imp.Multiplied(r))}},{key:"Divide",value:function(r){this.imp.Divide(r)}},{key:"Divided",value:function(r){return new t(this.imp.Divided(r))}},{key:"Cross",value:function(r){this.imp.Cross(r.getImp())}},{key:"Crossed",value:function(r){return new t(this.getImp().Crossed(r.getImp()))}},{key:"CrossMagnitude",value:function(r){return this.imp.CrossMagnitude(r.getImp())}},{key:"CrossSquareMagnitude",value:function(r){return this.imp.CrossSquareMagnitude(r.getImp())}},{key:"CrossCross",value:function(r,a){this.imp.CrossCross(r.getImp(),a.getImp())}},{key:"CrossCrossed",value:function(r,a){return new t(this.imp.CrossCrossed(r.getImp(),a.getImp()))}},{key:"Dot",value:function(r){return this.imp.Dot(r.getImp())}},{key:"DotCross",value:function(r,a){return this.imp.DotCross(r.getImp(),a.getImp())}},{key:"Normalize",value:function(){this.imp.Normalize()}},{key:"Normalized",value:function(){return new t(this.imp.Normalized())}},{key:"Reverse",value:function(){this.imp.Reverse()}},{key:"Reversed",value:function(){return new t(this.imp.Reversed())}},{key:"SetLinearForm",value:function(r,a,s,o,u,l,c){tr(r)&&tr(a)&&arguments.length==2?(r=Rn(r),a=Rn(a),this.imp.SetLinearForm(r.getImp(),a.getImp())):typeof r=="number"&&tr(a)&&tr(s)&&arguments.length==3?(a=Rn(a),s=Rn(s),this.imp.SetLinearForm(r,a.getImp(),s.getImp())):typeof r=="number"&&tr(a)&&typeof s=="number"&&tr(o)&&arguments.length==4?(a=Rn(a),o=Rn(o),this.imp.SetLinearForm(r,a.getImp(),s,o.getImp())):typeof r=="number"&&tr(a)&&typeof s=="number"&&tr(o)&&tr(u)&&arguments.length==5?(a=Rn(a),o=Rn(o),u=Rn(u),this.imp.SetLinearForm(r,a.getImp(),s,o.getImp(),u.getImp())):typeof r=="number"&&tr(a)&&typeof s=="number"&&tr(o)&&typeof u=="number"&&tr(l)&&arguments.length==6?(a=Rn(a),o=Rn(o),l=Rn(l),this.imp.SetLinearForm(r,a.getImp(),s,o.getImp(),u,l.getImp())):typeof r=="number"&&tr(a)&&typeof s=="number"&&tr(o)&&typeof u=="number"&&tr(l)&&tr(c)&&(a=Rn(a),o=Rn(o),l=Rn(l),c=Rn(c),this.imp.SetLinearForm(r,a.getImp(),s,o.getImp(),u,l.getImp(),c.getImp()))}},{key:"MirrorByVec",value:function(r){this.imp.MirrorByVec(r.getImp())}},{key:"MirroredByVec",value:function(r){return new t(this.imp.MirroredByVec(r.getImp()))}},{key:"MirrorByAxis",value:function(r){this.imp.MirrorByAxis(r.getImp())}},{key:"MirroredByAxis",value:function(r){return new t(this.imp.MirroredByAxis(r.getImp()))}},{key:"MirrorByCSYSR",value:function(r){this.imp.MirrorByCSYSR(r.getImp())}},{key:"MirroredByCSYSR",value:function(r){return new t(this.imp.MirroredByCSYSR(r.getImp()))}},{key:"Rotate",value:function(r,a){this.imp.Rotate(r.getImp(),a)}},{key:"Rotated",value:function(r,a){return new t(this.imp.Rotated(r.getImp(),a))}},{key:"Scale",value:function(r){this.imp.Scale(r)}},{key:"Scaled",value:function(r){return new t(this.imp.Scaled(r))}},{key:"Transform",value:function(r){this.imp.Transform(r.getImp())}},{key:"Transformed",value:function(r){return new t(this.imp.Transformed(r.getImp()))}}]),t}($n),rm=function(i){de(t,i);var e=Re(t);function t(n,r){var a;return oe(this,t),n?n instanceof Ne&&r instanceof Ne?(a=e.call(this),a.initTempObject(new ie.imp.Mx3dGeBndBox(n.getImp(),r.getImp()))):n instanceof Object&&arguments.length===1&&(a=e.call(this,n)):(a=e.call(this),a.initTempObject(new ie.imp.Mx3dGeBndBox)),Fe(a)}return ue(t,[{key:"SetWhole",value:function(){this.imp.SetWhole()}},{key:"SetVoid",value:function(){this.imp.SetVoid()}},{key:"Set",value:function(r,a){this.imp.Set(r.getImp(),a.getImp())}},{key:"Update",value:function(r,a,s,o,u,l){this.imp.Update(r,a,s,o,u,l)}},{key:"GetGap",value:function(){return this.imp.GetGap()}},{key:"SetGap",value:function(r){this.imp.SetGap(r)}},{key:"Enlarge",value:function(r){this.imp.Enlarge(r)}},{key:"CornerMin",value:function(){return new Ne(this.imp.CornerMin())}},{key:"CornerMax",value:function(){return new Ne(this.imp.CornerMax())}},{key:"OpenXmin",value:function(){this.imp.OpenXmin()}},{key:"OpenXmax",value:function(){this.imp.OpenXmax()}},{key:"OpenYmin",value:function(){this.imp.OpenYmin()}},{key:"OpenYmax",value:function(){this.imp.OpenYmax()}},{key:"OpenZmin",value:function(){this.imp.OpenZmin()}},{key:"OpenZmax",value:function(){this.imp.OpenZmax()}},{key:"IsOpen",value:function(){return this.imp.IsOpen()}},{key:"IsOpenXmin",value:function(){return this.imp.IsOpenXmin()}},{key:"IsOpenXmax",value:function(){return this.imp.IsOpenXmax()}},{key:"IsOpenYmin",value:function(){return this.imp.IsOpenYmin()}},{key:"IsOpenYmax",value:function(){return this.imp.IsOpenYmax()}},{key:"IsOpenZmin",value:function(){return this.imp.IsOpenZmin()}},{key:"IsOpenZmax",value:function(){return this.imp.IsOpenZmax()}},{key:"IsWhole",value:function(){return this.imp.IsWhole()}},{key:"IsVoid",value:function(){return this.imp.IsVoid()}},{key:"IsXThin",value:function(r){return this.imp.IsXThin(r)}},{key:"IsYThin",value:function(r){return this.imp.IsYThin(r)}},{key:"IsZThin",value:function(r){return this.imp.IsZThin(r)}},{key:"IsThin",value:function(r){return this.imp.IsThin(r)}},{key:"Transformed",value:function(r){return new t(this.imp.Transformed(r.getImp()))}},{key:"AddBndBox",value:function(r){this.imp.AddBndBox(r.getImp())}},{key:"AddPoint",value:function(r){this.imp.AddPoint(r.getImp())}},{key:"AddPointDir",value:function(r,a){this.imp.AddPointDir(r.getImp(),a.getImp())}},{key:"AddDir",value:function(r){this.imp.AddDir(r.getImp())}},{key:"IsOutPoint",value:function(r){return this.imp.IsOutPoint(r.getImp())}},{key:"IsOutBndBox",value:function(r,a){return a?this.imp.IsOutBndBox(r.getImp(),a.getImp()):this.imp.IsOutBndBox(r.getImp())}},{key:"IsOutTBT",value:function(r,a,s){return this.imp.IsOutTBT(r.getImp(),a.getImp(),s.getImp())}},{key:"IsOutPPD",value:function(r,a,s){return this.imp.IsOutPPD(r.getImp(),a.getImp(),s.getImp())}},{key:"Distance",value:function(r){return this.imp.Distance(r.getImp())}},{key:"SquareExtent",value:function(){return this.imp.SquareExtent()}},{key:"FinitePart",value:function(){return new t(this.imp.FinitePart())}},{key:"HasFinitePart",value:function(){return this.imp.HasFinitePart()}}]),t}($n),bi=function(i){de(t,i);var e=Re(t);function t(n,r){var a;return oe(this,t),!n&&!r?(a=e.call(this),a.initTempObject(new ie.imp.Mx3dGeCircle)):n instanceof Ot&&typeof r=="number"?(a=e.call(this),a.initTempObject(new ie.imp.Mx3dGeCircle(n.getImp(),r))):n instanceof Object&&(a=e.call(this,n)),Fe(a)}return ue(t,[{key:"SetAxis",value:function(r){this.imp.SetAxis(r.getImp())}},{key:"SetLocation",value:function(r){this.imp.SetLocation(r.getImp())}},{key:"SetPosition",value:function(r){this.imp.SetPosition(r.getImp())}},{key:"SetRadius",value:function(r){this.imp.SetRadius(r)}},{key:"Area",value:function(){return this.imp.Area()}},{key:"Axis",value:function(){return new Dt(this.imp.Axis())}},{key:"Length",value:function(){return this.imp.Length()}},{key:"Location",value:function(){return new Ne(this.imp.Location())}},{key:"Position",value:function(){return new Ot(this.imp.Position())}},{key:"Radius",value:function(){return this.imp.Radius()}},{key:"XAxis",value:function(){return new Dt(this.imp.XAxis())}},{key:"YAxis",value:function(){return new Dt(this.imp.YAxis())}},{key:"Distance",value:function(r){return this.imp.Distance(r.getImp())}},{key:"SquareDistance",value:function(r){return this.imp.SquareDistance(r.getImp())}},{key:"Contains",value:function(r,a){return this.imp.Contains(r.getImp(),a)}},{key:"MirrorByPoint",value:function(r){this.imp.MirrorByPoint(r.getImp())}},{key:"MirroredByPoint",value:function(r){return new t(this.imp.MirroredByPoint(r.getImp()))}},{key:"MirrorByAxis",value:function(r){this.imp.MirrorByAxis(r.getImp())}},{key:"MirroredByAxis",value:function(r){return new t(this.imp.MirroredByAxis(r.getImp()))}},{key:"MirrorByCSYSR",value:function(r){this.imp.MirrorByCSYSR(r.getImp())}},{key:"MirroredByCSYSR",value:function(r){return new t(this.imp.MirroredByCSYSR(r.getImp()))}},{key:"Rotate",value:function(r,a){this.imp.Rotate(r.getImp(),a)}},{key:"Rotated",value:function(r,a){return new t(this.imp.Rotated(r.getImp(),a))}},{key:"Scale",value:function(r,a){this.imp.Scale(r.getImp(),a)}},{key:"Scaled",value:function(r,a){return new t(this.imp.Scaled(r.getImp(),a))}},{key:"Transform",value:function(r){this.imp.Transform(r.getImp())}},{key:"Transformed",value:function(r){return new t(this.imp.Transformed(r.getImp()))}},{key:"TranslateByVec",value:function(r){this.imp.TranslateByVec(r.getImp())}},{key:"TranslatedByVec",value:function(r){return new t(this.imp.TranslatedByVec(r.getImp()))}},{key:"TranslateBy2Points",value:function(r,a){this.imp.TranslateBy2Points(r.getImp(),a.getImp())}},{key:"TranslatedBy2Points",value:function(r,a){return new t(this.imp.TranslatedBy2Points(r.getImp(),a.getImp()))}}]),t}($n),vt=function(i){de(t,i);var e=Re(t);function t(n){var r;return oe(this,t),n?r=e.call(this,n):r=e.call(this),Fe(r)}return ue(t,[{key:"getBndBox",value:function(){return new rm(this.imp.getBndBox())}},{key:"reverse",value:function(){this.imp.reverse()}},{key:"reversed",value:function(){return new t(this.imp.reversed())}},{key:"Orientation",value:function(){return this.imp.Orientation()}},{key:"move",value:function(r){this.imp.move(r.getImp())}},{key:"moved",value:function(r){return new t(this.imp.moved(r.getImp()))}},{key:"clone",value:function(){return new t(this.imp.clone())}},{key:"fuse",value:function(r){return new t(this.imp.fuse(r.getImp()))}},{key:"cut",value:function(r){return new t(this.imp.cut(r.getImp()))}},{key:"common",value:function(r){return new t(this.imp.common(r.getImp()))}},{key:"section",value:function(r){return new t(this.imp.section(r.getImp()))}},{key:"spliter",value:function(r){var a=new xa;r.forEach(function(c){return a.Append(c)});for(var s=new xa(this.imp.spliter(a.getImp())),o=new Array,u=1;u<=s.Length();u++){var l=s.Value(u);o.push(l)}return o}},{key:"MirrorByPoint",value:function(r){this.imp.MirrorByPoint(r.getImp())}},{key:"MirroredByPoint",value:function(r){return new t(this.imp.MirroredByPoint(r.getImp()))}},{key:"MirrorByAxis",value:function(r){this.imp.MirrorByAxis(r.getImp())}},{key:"MirroredByAxis",value:function(r){return new t(this.imp.MirroredByAxis(r.getImp()))}},{key:"MirrorByCSYSR",value:function(r){this.imp.MirrorByCSYSR(r.getImp())}},{key:"MirroredByCSYSR",value:function(r){return new t(this.imp.MirroredByCSYSR(r.getImp()))}},{key:"Rotate",value:function(r,a){this.imp.Rotate(r.getImp(),a)}},{key:"Rotated",value:function(r,a){return new t(this.imp.Rotated(r.getImp(),a))}},{key:"Scale",value:function(r,a){this.imp.Scale(r.getImp(),a)}},{key:"Scaled",value:function(r,a){return new t(this.imp.Scaled(r.getImp(),a))}},{key:"Transform",value:function(r){this.imp.Transform(r.getImp())}},{key:"Transformed",value:function(r){return new t(this.imp.Transformed(r.getImp()))}},{key:"TranslateByVec",value:function(r,a,s){r instanceof an?this.imp.TranslateByVec(r.getImp()):this.imp.TranslateByVec(r,a,s)}},{key:"TranslatedByVec",value:function(r,a,s){return r instanceof an?new t(this.imp.TranslatedByVec(r.getImp())):new t(this.imp.TranslatedByVec(r,a,s))}},{key:"TranslateBy2Points",value:function(r,a){this.imp.TranslateBy2Points(r.getImp(),a.getImp())}},{key:"TranslatedBy2Points",value:function(r,a){return new t(this.imp.TranslatedBy2Points(r.getImp(),a.getImp()))}},{key:"Explore",value:function(r){for(var a=new xa(this.imp.Explore(r)),s=new Array,o=1;o<=a.Length();o++){var u=a.Value(o);s.push(u)}return s}},{key:"ShapeType",value:function(){return this.imp.ShapeType()}},{key:"Quantities",value:function(r){return this.imp.Quantities(r)}},{key:"Centroid",value:function(r){return new Ne(this.imp.Centroid(r))}}]),t}(wn),Et=function(i){de(t,i);var e=Re(t);function t(n){var r;return oe(this,t),n?r=e.call(this,n):(r=e.call(this),r.initTempObject(new ie.imp.Mx3dShapeFace)),Fe(r)}return ue(t)}(vt),So=function(i){de(t,i);var e=Re(t);function t(n){var r;return oe(this,t),n?r=e.call(this,n):(r=e.call(this),r.initTempObject(new ie.imp.Mx3dShapeVertex)),Fe(r)}return ue(t)}(vt),Zt=function(i){de(t,i);var e=Re(t);function t(n,r){var a;return oe(this,t),n?n instanceof Ne&&r instanceof Ne?(a=e.call(this),a.initTempObject(new ie.imp.Mx3dShapeEdge(n.getImp(),r.getImp()))):a=e.call(this,n):(a=e.call(this),a.initTempObject(new ie.imp.Mx3dShapeEdge)),Fe(a)}return ue(t)}(vt),An=function(i){de(t,i);var e=Re(t);function t(n){var r;return oe(this,t),n?r=e.call(this,n):(r=e.call(this),r.initTempObject(new ie.imp.Mx3dShapeWire)),Fe(r)}return ue(t)}(vt),ca=function(i){de(t,i);var e=Re(t);function t(n){var r;return oe(this,t),n?r=e.call(this,n):(r=e.call(this),r.initTempObject(new ie.imp.Mx3dShapeShell)),Fe(r)}return ue(t)}(vt),fa=function(i){de(t,i);var e=Re(t);function t(n){var r;return oe(this,t),n?r=e.call(this,n):(r=e.call(this),r.initTempObject(new ie.imp.Mx3dShapeSolid)),Fe(r)}return ue(t)}(vt),im=function(i){de(t,i);var e=Re(t);function t(n){var r;return oe(this,t),n?r=e.call(this,n):(r=e.call(this),r.initTempObject(new ie.imp.Mx3dShapeCompSolid)),Fe(r)}return ue(t)}(vt),am=function(i){de(t,i);var e=Re(t);function t(n){var r;return oe(this,t),n?r=e.call(this,n):(r=e.call(this),r.initTempObject(new ie.imp.Mx3dShapeCompound)),Fe(r)}return ue(t)}(vt),a1=function(i){de(t,i);var e=Re(t);function t(n,r){var a;return oe(this,t),n instanceof vt&&typeof r=="number"?(a=e.call(this),a.initTempObject(new ie.imp.Mx3dAlgoFillet(n.getImp(),r))):a=e.call(this,n),Fe(a)}return ue(t,[{key:"Add",value:function(r,a){this.imp.Add(r,a.getImp())}},{key:"Shape",value:function(){return new vt(this.imp.Shape())}}]),t}(bl),s1=function(i){de(t,i);var e=Re(t);function t(n){var r;return oe(this,t),n instanceof vt?(r=e.call(this),r.initTempObject(new ie.imp.Mx3dAlgoChamfer(n.getImp()))):n instanceof Object&&(r=e.call(this,n)),Fe(r)}return ue(t,[{key:"Add",value:function(r,a){this.imp.Add(r,a.getImp())}},{key:"Shape",value:function(){return new vt(this.imp.Shape())}}]),t}(bl),o1=function(i){de(t,i);var e=Re(t);function t(n,r,a){var s;return oe(this,t),n?n instanceof An&&r instanceof Kr?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dAlgoFillet2d(n.getImp(),r.getImp()))):n instanceof Zt&&r instanceof Zt&&a instanceof Kr?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dAlgoFillet2d(n.getImp(),r.getImp(),a.getImp()))):s=e.call(this,n):(s=e.call(this),s.initTempObject(new ie.imp.Mx3dAlgoFillet2d)),Fe(s)}return ue(t,[{key:"Init",value:function(r,a,s){r instanceof An&&a instanceof Kr?this.imp.Init(r.getImp(),a.getImp()):this.imp.Init(r.getImp(),a.getImp(),s?.getImp())}},{key:"Perform",value:function(r){return this.imp.Perform(r)}},{key:"NbResults",value:function(r){return this.imp.NbResults(r.getImp())}},{key:"Result",value:function(r,a,s){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1;return new Zt(this.imp.Result(r.getImp(),a.getImp(),s.getImp(),o))}}]),t}(bl),xa=function(i){de(t,i);var e=Re(t);function t(n){var r;return oe(this,t),n?r=e.call(this,n):(r=e.call(this),r.initTempObject(new ie.imp.Mx3dShapeObjectSequence)),Fe(r)}return ue(t,[{key:"Length",value:function(){return this.imp.Length()}},{key:"Value",value:function(r){return new vt(this.imp.Value(r))}},{key:"Remove",value:function(r,a){a?this.imp.Remove(r,a):this.imp.Remove(r)}},{key:"Append",value:function(r){this.imp.Append(r.getImp())}},{key:"Prepend",value:function(r){this.imp.Prepend(r.getImp())}}]),t}(wn),oh=function(i){de(t,i);var e=Re(t);function t(n){return oe(this,t),e.call(this,n)}return ue(t)}(wn),vs=function(i){de(t,i);var e=Re(t);function t(n){var r;return oe(this,t),r=e.call(this),r.initTempObject(n),r}return ue(t,[{key:"getDocument",value:function(){return new uh(this.imp.getDoc(),"from view")}},{key:"removeAll",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.imp.removeAll(r)}},{key:"removeSelected",value:function(){this.imp.removeSelected()}},{key:"update",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;this.imp.update(r,a)}},{key:"setProjectionType",value:function(r){this.imp.setProjectionType(r)}},{key:"showCenterTrihedron",value:function(r){this.imp.showCenterTrihedron(r)}},{key:"fitAllObjects",value:function(r){this.imp.fitAllObjects(r)}},{key:"enableXClipPlane",value:function(r){this.imp.enableXClipPlane(r)}},{key:"setXClipPlaneXPosition",value:function(r){this.imp.setXClipPlaneXPosition(r)}},{key:"setXClipPlaneReverse",value:function(){this.imp.setXClipPlaneReverse()}},{key:"enableYClipPlane",value:function(r){this.imp.enableYClipPlane(r)}},{key:"setYClipPlaneYPosition",value:function(r){this.imp.setYClipPlaneYPosition(r)}},{key:"setYClipPlaneReverse",value:function(){this.imp.setYClipPlaneReverse()}},{key:"enableZClipPlane",value:function(r){this.imp.enableZClipPlane(r)}},{key:"setZClipPlaneZPosition",value:function(r){this.imp.setZClipPlaneZPosition(r)}},{key:"setZClipPlaneReverse",value:function(){this.imp.setZClipPlaneReverse()}},{key:"enableCustomClipPlane",value:function(r){this.imp.enableCustomClipPlane(r)}},{key:"setCustomClipPlanePosition",value:function(r){this.imp.setCustomClipPlanePosition(r)}},{key:"setCustomClipPlaneReverse",value:function(){this.imp.setCustomClipPlaneReverse()}},{key:"setCustomClipPlaneDirection",value:function(r,a,s){this.imp.setCustomClipPlaneDirection(r,a,s)}},{key:"displaySymbolText",value:function(r){this.imp.displaySymbolText(r.getImp())}},{key:"displayDimension",value:function(r){this.imp.displayDimension(r.getImp())}},{key:"addModelTexture",value:function(r){this.imp.addModelTexture(r)}},{key:"removeModelTexture",value:function(){this.imp.removeModelTexture()}},{key:"setGradientBgColor",value:function(r,a,s){this.imp.setGradientBgColor(r.getImp(),a.getImp(),s)}},{key:"setProj",value:function(r,a){this.imp.setProj(r,a)}},{key:"setSelectedColor",value:function(r){this.imp.setSelectedColor(r.getImp())}},{key:"setSelectedMaterial",value:function(r){this.imp.setSelectedMaterial(r.getImp())}},{key:"setDisplayMode",value:function(r){this.imp.setDisplayMode(r)}},{key:"enableDirLightSrc",value:function(r){this.imp.enableDirLightSrc(r)}},{key:"setCubemapBackground",value:function(r,a,s,o,u,l){this.imp.setCubemapBackground(r,a,s,o,u,l)}},{key:"setManipulatorEnabled",value:function(r){this.imp.setManipulatorEnabled(r)}}]),t}(wn),wi=function(i){de(t,i);var e=Re(t);function t(n,r,a,s){var o;return oe(this,t),arguments.length===0?(o=e.call(this),o.initTempObject(new ie.imp.Mx3dGeColor)):typeof n=="number"&&arguments.length===1?(o=e.call(this),o.initTempObject(new ie.imp.Mx3dGeColor(n))):n instanceof Object&&arguments.length===1?o=e.call(this,n):typeof n=="number"&&typeof r=="number"&&typeof a=="number"&&typeof s=="number"&&(o=e.call(this),o.initTempObject(new ie.imp.Mx3dGeColor(n,r,a,s))),Fe(o)}return ue(t,[{key:"Name",value:function(){return this.imp.Name()}},{key:"SetValues",value:function(r,a,s,o){arguments.length===1?this.imp.SetValues(r):arguments.length===4&&this.imp.SetValues(r,a,s,o)}},{key:"Red",value:function(){return this.imp.Red()}},{key:"Green",value:function(){return this.imp.Green()}},{key:"Blue",value:function(){return this.imp.Blue()}},{key:"Hue",value:function(){return this.imp.Hue()}},{key:"Light",value:function(){return this.imp.Light()}},{key:"ChangeIntensity",value:function(r){this.imp.ChangeIntensity(r)}},{key:"Saturation",value:function(){return this.imp.Saturation()}},{key:"ChangeContrast",value:function(r){this.imp.ChangeContrast(r)}},{key:"IsDifferent",value:function(r){return this.imp.IsDifferent(r.getImp())}},{key:"IsEqual",value:function(r){return this.imp.IsEqual(r.getImp())}},{key:"Distance",value:function(r){return this.imp.Distance(r.getImp())}},{key:"SquareDistance",value:function(r){return this.imp.SquareDistance(r.getImp())}},{key:"DeltaE2000",value:function(r){return this.imp.DeltaE2000(r.getImp())}}]),t}(wn),Ao=function(i){de(t,i);var e=Re(t);function t(n,r,a){var s;return oe(this,t),n?n instanceof Ot&&arguments.length===1?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dGeCSYS(n.getImp()))):n instanceof Ne&&r instanceof gn&&arguments.length===2?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dGeCSYS(n.getImp(),r.getImp()))):n instanceof Ne&&r instanceof gn&&a instanceof gn?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dGeCSYS(n.getImp(),r.getImp(),a.getImp()))):n instanceof Object&&(s=e.call(this,n)):(s=e.call(this),s.initTempObject(new ie.imp.Mx3dGeCSYS)),Fe(s)}return ue(t,[{key:"XReverse",value:function(){this.imp.XReverse()}},{key:"YReverse",value:function(){this.imp.YReverse()}},{key:"ZReverse",value:function(){this.imp.ZReverse()}},{key:"SetAxis",value:function(r){this.imp.SetAxis(r.getImp())}},{key:"SetDirection",value:function(r){this.imp.SetDirection(r.getImp())}},{key:"SetLocation",value:function(r,a,s){r instanceof Ne?this.imp.SetLocation(r.getImp()):this.imp.SetLocation(r,a,s)}},{key:"SetXDirection",value:function(r){this.imp.SetXDirection(r.getImp())}},{key:"SetYDirection",value:function(r){this.imp.SetYDirection(r.getImp())}},{key:"Angle",value:function(r){return this.imp.Angle(r.getImp())}},{key:"Axis",value:function(){return new Dt(this.imp.Axis())}},{key:"CSYSR",value:function(){return new Ot(this.imp.CSYSR())}},{key:"Direction",value:function(){return new gn(this.imp.Direction())}},{key:"Location",value:function(){return new Ne(this.imp.Location())}},{key:"XDirection",value:function(){return new gn(this.imp.XDirection())}},{key:"YDirection",value:function(){return new gn(this.imp.YDirection())}},{key:"Direct",value:function(){return this.imp.Direct()}},{key:"IsCoplanarWithCSYS",value:function(r,a,s){return this.imp.IsCoplanarWithCSYS(r.getImp(),a,s)}},{key:"IsCoplanarWithAxis",value:function(r,a,s){return this.imp.IsCoplanarWithAxis(r.getImp(),a,s)}},{key:"MirrorByPoint",value:function(r){this.imp.MirrorByPoint(r.getImp())}},{key:"MirroredByPoint",value:function(r){return new t(this.imp.MirroredByPoint(r.getImp()))}},{key:"MirrorByAxis",value:function(r){this.imp.MirrorByAxis(r.getImp())}},{key:"MirroredByAxis",value:function(r){return new t(this.imp.MirroredByAxis(r.getImp()))}},{key:"MirrorByCSYSR",value:function(r){this.imp.MirrorByCSYSR(r.getImp())}},{key:"MirroredByCSYSR",value:function(r){return new t(this.imp.MirroredByCSYSR(r.getImp()))}},{key:"Rotate",value:function(r,a){this.imp.Rotate(r.getImp(),a)}},{key:"Rotated",value:function(r,a){return new t(this.imp.Rotated(r.getImp(),a))}},{key:"Scale",value:function(r,a){this.imp.Scale(r.getImp(),a)}},{key:"Scaled",value:function(r,a){return new t(this.imp.Scaled(r.getImp(),a))}},{key:"Transform",value:function(r){this.imp.Transform(r.getImp())}},{key:"Transformed",value:function(r){return new t(this.imp.Transformed(r.getImp()))}},{key:"TranslateByVec",value:function(r){this.imp.TranslateByVec(r.getImp())}},{key:"TranslatedByVec",value:function(r){return new t(this.imp.TranslatedByVec(r.getImp()))}},{key:"TranslateBy2Points",value:function(r,a){this.imp.TranslateBy2Points(r.getImp(),a.getImp())}},{key:"TranslatedBy2Points",value:function(r,a){return new t(this.imp.TranslatedBy2Points(r.getImp(),a.getImp()))}}]),t}($n),Ot=function(i){de(t,i);var e=Re(t);function t(n,r,a){var s;return oe(this,t),n?n instanceof Ne&&r instanceof gn&&!a?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dGeCSYSR(n.getImp(),r.getImp()))):n instanceof Ne&&r instanceof gn&&a instanceof gn?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dGeCSYSR(n.getImp(),r.getImp(),a.getImp()))):n instanceof Object&&arguments.length===1&&(s=e.call(this,n)):(s=e.call(this),s.initTempObject(new ie.imp.Mx3dGeCSYSR)),Fe(s)}return ue(t,[{key:"Location",value:function(){return new Ne(this.imp.Location())}},{key:"XDirection",value:function(){return new gn(this.imp.XDirection())}},{key:"YDirection",value:function(){return new gn(this.imp.YDirection())}},{key:"Direction",value:function(){return new gn(this.imp.Direction())}},{key:"SetLocation",value:function(r,a,s){r instanceof Ne?this.imp.SetLocation(r.getImp()):this.imp.SetLocation(r,a,s)}},{key:"SetXDirection",value:function(r){this.imp.SetXDirection(r.getImp())}},{key:"SetYDirection",value:function(r){this.imp.SetYDirection(r.getImp())}},{key:"SetDirection",value:function(r){this.imp.SetDirection(r.getImp())}},{key:"Angle",value:function(r){return this.imp.Angle(r.getImp())}},{key:"Axis",value:function(){return new Dt(this.imp.Axis())}},{key:"IsCoplanarWithCSYSR",value:function(r,a,s){return this.imp.IsCoplanarWithCSYSR(r.getImp(),a,s)}},{key:"IsCoplanarWithAxis",value:function(r,a,s){return this.imp.IsCoplanarWithAxis(r.getImp(),a,s)}},{key:"MirrorByPoint",value:function(r){this.imp.MirrorByPoint(r.getImp())}},{key:"MirroredByPoint",value:function(r){return new t(this.imp.MirroredByPoint(r.getImp()))}},{key:"MirrorByAxis",value:function(r){this.imp.MirroredByAxis(r.getImp())}},{key:"MirroredByAxis",value:function(r){return new t(this.imp.MirroredByAxis(r.getImp()))}},{key:"MirrorByCSYSR",value:function(r){this.imp.MirrorByCSYSR(r.getImp())}},{key:"MirroredByCSYSR",value:function(r){return new t(this.imp.MirroredByCSYSR(r.getImp()))}},{key:"Rotate",value:function(r,a){this.imp.Rotate(r.getImp(),a)}},{key:"Rotated",value:function(r,a){return new t(this.imp.Rotated(r.getImp(),a))}},{key:"Scale",value:function(r,a){this.imp.Scale(r.getImp(),a)}},{key:"Scaled",value:function(r,a){return new t(this.imp.Scaled(r.getImp(),a))}},{key:"Transform",value:function(r){this.imp.Transform(r.getImp())}},{key:"Transformed",value:function(r){return new t(this.imp.Transformed(r.getImp()))}},{key:"TranslateByVec",value:function(r){this.imp.TranslateByVec(r.getImp())}},{key:"TranslatedByVec",value:function(r){return new t(this.imp.TranslatedByVec(r.getImp()))}},{key:"TranslateBy2Points",value:function(r,a){this.imp.TranslateBy2Points(r.getImp(),a.getImp())}},{key:"TranslatedBy2Points",value:function(r,a){return new t(this.imp.TranslatedBy2Points(r.getImp(),a.getImp()))}}]),t}($n),u1=function(i){de(t,i);var e=Re(t);function t(n,r){var a;return oe(this,t),n?n instanceof Ao&&typeof r=="number"?(a=e.call(this),a.initTempObject(new ie.imp.Mx3dGeCylinder(n.getImp(),r))):a=e.call(this,n):(a=e.call(this),a.initTempObject(new ie.imp.Mx3dGeCylinder)),Fe(a)}return ue(t,[{key:"SetAxis",value:function(r){this.imp.SetAxis(r.getImp())}},{key:"SetLocation",value:function(r){this.imp.SetLocation(r.getImp())}},{key:"SetPosition",value:function(r){this.imp.SetPosition(r.getImp())}},{key:"SetRadius",value:function(r){this.imp.SetRadius(r)}},{key:"UReverse",value:function(){this.imp.UReverse()}},{key:"VReverse",value:function(){this.imp.VReverse()}},{key:"Direct",value:function(){return this.imp.Direct()}},{key:"Axis",value:function(){return new Dt(this.imp.Axis())}},{key:"Location",value:function(){return new Ne(this.imp.Location())}},{key:"Position",value:function(){return new Ao(this.imp.Position())}},{key:"Radius",value:function(){return this.imp.Radius()}},{key:"XAxis",value:function(){return new Dt(this.imp.XAxis())}},{key:"YAxis",value:function(){return new Dt(this.imp.YAxis())}},{key:"MirrorByPoint",value:function(r){this.imp.MirrorByPoint(r.getImp())}},{key:"MirroredByPoint",value:function(r){return new t(this.imp.MirroredByPoint(r.getImp()))}},{key:"MirrorByAxis",value:function(r){this.imp.MirrorByAxis(r.getImp())}},{key:"MirroredByAxis",value:function(r){return new t(this.imp.MirroredByAxis(r.getImp()))}},{key:"MirrorByCSYSR",value:function(r){this.imp.MirrorByCSYSR(r.getImp())}},{key:"MirroredByCSYSR",value:function(r){return new t(this.imp.MirroredByCSYSR(r.getImp()))}},{key:"Rotate",value:function(r,a){this.imp.Rotate(r.getImp(),a)}},{key:"Rotated",value:function(r,a){return new t(this.imp.Rotated(r.getImp(),a))}},{key:"Scale",value:function(r,a){this.imp.Scale(r.getImp(),a)}},{key:"Scaled",value:function(r,a){return new t(this.imp.Scaled(r.getImp(),a))}},{key:"Transform",value:function(r){this.imp.Transform(r.getImp())}},{key:"Transformed",value:function(r){return new t(this.imp.Transformed(r.getImp()))}},{key:"TranslateByVec",value:function(r){this.imp.TranslatedByVec(r.getImp())}},{key:"TranslatedByVec",value:function(r){return new t(this.imp.TranslatedByVec(r.getImp()))}},{key:"TranslateBy2Points",value:function(r,a){this.imp.TranslateBy2Points(r.getImp(),a.getImp())}},{key:"TranslatedBy2Points",value:function(r,a){return new t(this.imp.TranslatedBy2Points(r.getImp(),a.getImp()))}},{key:"Shape",value:function(r,a){return a?new vt(this.imp.Shape(r,a)):new vt(this.imp.Shape(r))}}]),t}($n),Ji=function(i){de(t,i);var e=Re(t);function t(n,r){var a;return oe(this,t),arguments.length==0?(a=e.call(this),a.initTempObject(new ie.imp.MdGeArray1OfInteger)):typeof n=="number"&&arguments.length==2?(a=e.call(this),a.initTempObject(new ie.imp.MdGeArray1OfInteger(n,r))):n instanceof Object&&arguments.length==1&&(a=e.call(this,n)),Fe(a)}return ue(t,[{key:"Init",value:function(r){this.imp.Init(r)}},{key:"Size",value:function(){return this.imp.Size()}},{key:"Length",value:function(){return this.imp.Length()}},{key:"IsEmpty",value:function(){return this.imp.IsEmpty()}},{key:"Lower",value:function(){return this.imp.Lower()}},{key:"Upper",value:function(){return this.imp.Upper()}},{key:"IsDeletable",value:function(){return this.imp.IsDeletable()}},{key:"IsAllocated",value:function(){return this.imp.IsAllocated()}},{key:"First",value:function(){return this.imp.First()}},{key:"Last",value:function(){return this.imp.Last()}},{key:"Value",value:function(r){return this.imp.Value(r)}},{key:"SetValue",value:function(r,a){this.imp.SetValue(r,a)}},{key:"Resize",value:function(r,a,s){this.imp.Resize(r,a,s)}}]),t}(wn),uh=function(i){de(t,i);var e=Re(t);function t(n,r){var a;return oe(this,t),n?n instanceof Object&&r==="from view"?(a=e.call(this),a.initTempObject(n)):a=e.call(this,n):(a=e.call(this),a.initTempObject(new ie.imp.Mx3dDbDocument)),Fe(a)}return ue(t,[{key:"read",value:function(r,a){var s=this,o=r.name,u=new FileReader;return new Promise(function(l,c){u.onload=function(){var f=new Uint8Array(u.result),h=f.length,p=ie.imp._malloc(h),m=new Uint8Array(ie.imp.HEAPU8.buffer,p,h);m.set(f);var v=function(_){var w=ao(_);console.log(w)},g=function(_){var w=ao(_);console.log("failed load file: "+w)},d=ie.imp.addFunction(v,"vp"),y=ie.imp.addFunction(g,"vp");ie.imp.loadFileFromMemory("/"+o,p,h,!0,d,y),ie.imp._free(p),l(s.imp.read(o,a))},u.onerror=function(f){c(f)},u.readAsArrayBuffer(r)})}},{key:"readFile",value:function(r,a){return this.imp.read(r,a)}},{key:"getAccessLabel",value:function(){return new Yi(this.imp.getAccessLabel())}},{key:"getShapesLabel",value:function(){return new Yi(this.imp.getShapesLabel())}},{key:"getColorsLabel",value:function(){return new Yi(this.imp.getColorsLabel())}},{key:"getLayersLabel",value:function(){return new Yi(this.imp.getLayersLabel())}},{key:"addShapeLabel",value:function(){return new Yi(this.imp.addShapeLabel())}},{key:"removeShapeLabel",value:function(r){return this.imp.removeShapeLabel(r.getImp())}},{key:"removeComponent",value:function(r){this.imp.removeComponent(r.getImp())}},{key:"getTopFreeLabels",value:function(){for(var r=new l1(this.imp.getTopFreeLabels()),a=new Array,s=1;s<=r.Length();s++){var o=r.Value(s);a.push(o)}return a}},{key:"getDocName",value:function(){for(var r=new Ji(this.imp.getDocName()),a=[],s=1;s<=r.Length();s++)a.push(r.Value(s));return a.map(function(o){return String.fromCharCode(o)}).join("")}},{key:"getView",value:function(){return new vs(this.imp.getView())}},{key:"addColorLabel",value:function(r){return new Yi(this.imp.addColorLabel(r.getImp()))}},{key:"write",value:function(r,a){var s=this.imp.write(r,a);if(!s)return s;var o=ie.imp.getFileSize(r);if(o==-1)return!1;var u=ie.imp.getFileArryBufferPointer(r);if(u==0)return!1;var l=new Uint8Array(ie.imp.HEAPU8.buffer,u,o),c=new Blob([l],{type:"application/octet-stream"});return fo.saveAsFileDialog({blob:c,filename:r,types:[]}),ie.imp._free(u),!0}},{key:"newCommand",value:function(){this.imp.newCommand()}},{key:"abortCommand",value:function(){this.imp.abortCommand()}},{key:"commitCommand",value:function(){return this.imp.commitCommand()}},{key:"undo",value:function(){return this.imp.undo()}},{key:"redo",value:function(){return this.imp.redo()}}]),t}(oh),Yi=function(i){de(t,i);var e=Re(t);function t(n){var r;return oe(this,t),n?r=e.call(this,n):(r=e.call(this),r.initTempObject(new ie.imp.Mx3dDbLabel)),Fe(r)}return ue(t,[{key:"setShape",value:function(r){this.imp.setShape(r.getImp())}},{key:"getShape",value:function(){return new vt(this.imp.getShape())}},{key:"hasChildLabel",value:function(){return this.imp.hasChildLabel()}},{key:"getChildLabels",value:function(){for(var r=new l1(this.imp.getChildLabels()),a=new Array,s=1;s<=r.Length();s++){var o=r.Value(s);a.push(o)}return a}},{key:"hasParentLabel",value:function(){return this.imp.hasParentLabel()}},{key:"getParentLabel",value:function(){return new t(this.imp.getParentLabel())}},{key:"addChildLabel",value:function(){return new t(this.imp.addChildLabel())}},{key:"addSubShape",value:function(r){return new t(this.imp.addChildShape(r.getImp()))}},{key:"isReference",value:function(){return this.imp.isReference()}},{key:"isAssembly",value:function(){return this.imp.isAssembly()}},{key:"isSimpleShape",value:function(){return this.imp.isSimpleShape()}},{key:"isTopLevel",value:function(){return this.imp.isTopLevel()}},{key:"isFree",value:function(){return this.imp.isFree()}},{key:"isShape",value:function(){return this.imp.isShape()}},{key:"isComponent",value:function(){return this.imp.isComponent()}},{key:"isCompound",value:function(){return this.imp.isCompound()}},{key:"isSubShape",value:function(){return this.imp.isSubShape()}},{key:"getReferredLabel",value:function(){return new t(this.imp.getReferredLabel())}},{key:"getLocation",value:function(){return new sm(this.imp.getLocation())}},{key:"addComponent",value:function(r,a){return new t(this.imp.addComponent(r.getImp(),a.getImp()))}},{key:"setName",value:function(r){this.imp.setName(r)}},{key:"hasShape",value:function(){return this.imp.hasShape()}},{key:"isSetColor",value:function(){return this.imp.isSetColor()}},{key:"setColor",value:function(r){this.imp.setColor(r.getImp())}},{key:"getColor",value:function(){return new wi(this.imp.getColor())}},{key:"getName",value:function(){for(var r=new Ji(this.imp.getName()),a=[],s=1;s<=r.Length();s++)a.push(r.Value(s));return a.map(function(o){return String.fromCharCode(o)}).join("")}},{key:"getEntry",value:function(){return this.imp.getEntry()}},{key:"getAttributeStr",value:function(){return this.imp.getAttributeStr()}},{key:"setTexture",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,l=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,c=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0;this.imp.setTexture(r,a,s,o,u,l,c)}},{key:"setMaterial",value:function(r){this.imp.setMaterial(r.getImp())}}]),t}(oh),l1=function(i){de(t,i);var e=Re(t);function t(n){var r;return oe(this,t),n?r=e.call(this,n):(r=e.call(this),r.initTempObject(new ie.imp.Mx3dLabelSequence)),Fe(r)}return ue(t,[{key:"Length",value:function(){return this.imp.Length()}},{key:"Value",value:function(r){return new Yi(this.imp.Value(r))}}]),t}(wn),sm=function(i){de(t,i);var e=Re(t);function t(n){var r;return oe(this,t),n?n instanceof nm?(r=e.call(this),r.initTempObject(new ie.imp.Mx3dGeLocation(n.getImp()))):r=e.call(this,n):(r=e.call(this),r.initTempObject(new ie.imp.Mx3dGeLocation)),Fe(r)}return ue(t,[{key:"IsIdentity",value:function(){return this.imp.IsIdentity()}},{key:"Identity",value:function(){this.imp.Identity()}},{key:"FirstPower",value:function(){return this.imp.FirstPower()}},{key:"NextLocation",value:function(){return new t(this.imp.NextLocation())}},{key:"Inverted",value:function(){return new t(this.imp.Inverted())}},{key:"Multiplied",value:function(r){return new t(this.imp.Multiplied(r.getImp()))}},{key:"Divided",value:function(r){return new t(this.imp.Divided(r.getImp()))}},{key:"Predivided",value:function(r){return new t(this.imp.Predivided(r.getImp()))}},{key:"Powered",value:function(r){return new t(this.imp.Powered(r))}},{key:"IsEqual",value:function(r){return this.imp.IsEqual(r.getImp())}},{key:"IsDifferent",value:function(r){return this.imp.IsDifferent(r.getImp())}},{key:"Clear",value:function(){this.imp.Clear()}},{key:"ScalePrec",value:function(){return this.imp.ScalePrec()}}]),t}($n),Kr=function(i){de(t,i);var e=Re(t);function t(n,r,a,s){var o;return oe(this,t),n?n instanceof Ao?(o=e.call(this),o.initTempObject(new ie.imp.Mx3dGePlane(n.getImp()))):n instanceof Ne&&r instanceof gn?(o=e.call(this),o.initTempObject(new ie.imp.Mx3dGePlane(n.getImp(),r.getImp()))):typeof n=="number"&&typeof r=="number"&&typeof a=="number"&&typeof s=="number"?(o=e.call(this),o.initTempObject(new ie.imp.Mx3dGePlane(n,r,a,s))):n instanceof Object&&(o=e.call(this,n)):(o=e.call(this),o.initTempObject(new ie.imp.Mx3dGePlane)),Fe(o)}return ue(t,[{key:"SetAxis",value:function(r){this.imp.SetAxis(r.getImp())}},{key:"SetLocation",value:function(r){this.imp.SetLocation(r.getImp())}},{key:"SetPosition",value:function(r){this.imp.SetPosition(r.getImp())}},{key:"UReverse",value:function(){this.imp.UReverse()}},{key:"VReverse",value:function(){this.imp.VReverse()}},{key:"Direct",value:function(){return this.imp.Direct()}},{key:"Axis",value:function(){return new Dt(this.imp.Axis())}},{key:"Location",value:function(){return new Ne(this.imp.Location())}},{key:"Position",value:function(){return new Ao(this.imp.Position())}},{key:"DistanceToPoint",value:function(r){return this.imp.DistanceToPoint(r.getImp())}},{key:"DistanceToPlane",value:function(r){return this.imp.DistanceToPlane(r.getImp())}},{key:"SquareDistanceToPoint",value:function(r){return this.imp.SquareDistanceToPoint(r.getImp())}},{key:"SquareDistanceToPlane",value:function(r){return this.imp.SquareDistanceToPlane(r.getImp())}},{key:"XAxis",value:function(){return new Dt(this.imp.XAxis())}},{key:"YAxis",value:function(){return new Dt(this.imp.YAxis())}},{key:"Contains",value:function(r,a){return this.imp.Contains(r.getImp(),a)}},{key:"MirrorByPoint",value:function(r){this.imp.MirrorByPoint(r.getImp())}},{key:"MirroredByPoint",value:function(r){return new t(this.imp.MirroredByPoint(r.getImp()))}},{key:"MirrorByAxis",value:function(r){this.imp.MirrorByAxis(r.getImp())}},{key:"MirroredByAxis",value:function(r){return new t(this.imp.MirroredByAxis(r.getImp()))}},{key:"MirrorByCSYSR",value:function(r){this.imp.MirrorByCSYSR(r.getImp())}},{key:"MirroredByCSYSR",value:function(r){return new t(this.imp.MirroredByCSYSR(r.getImp()))}},{key:"Rotate",value:function(r,a){this.imp.Rotate(r.getImp(),a)}},{key:"Rotated",value:function(r,a){return new t(this.imp.Rotated(r.getImp(),a))}},{key:"Scale",value:function(r,a){this.imp.Scale(r.getImp(),a)}},{key:"Scaled",value:function(r,a){return new t(this.imp.Scaled(r.getImp(),a))}},{key:"Transform",value:function(r){this.imp.Transform(r.getImp())}},{key:"Transformed",value:function(r){return new t(this.imp.Transformed(r.getImp()))}},{key:"TranslateByVec",value:function(r){this.imp.TranslateByVec(r.getImp())}},{key:"TranslatedByVec",value:function(r){return new t(this.imp.TranslatedByVec(r.getImp()))}},{key:"TranslateBy2Points",value:function(r,a){this.imp.TranslateBy2Points(r.getImp(),a.getImp())}},{key:"TranslatedBy2Points",value:function(r,a){return new t(this.imp.TranslatedBy2Points(r.getImp(),a.getImp()))}},{key:"Shape",value:function(r,a,s,o){return r?new vt(this.imp.Shape(r,a,s,o)):new vt(this.imp.Shape())}}]),t}($n),c1=function(i){de(t,i);var e=Re(t);function t(n,r,a){var s;return oe(this,t),n?typeof n=="string"&&typeof r=="number"&&a instanceof Ne?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dSymbolText(n,r,a.getImp()))):n instanceof Object&&(s=e.call(this,n)):(s=e.call(this),s.initTempObject(new ie.imp.Mx3dSymbolText)),Fe(s)}return ue(t,[{key:"SetColor",value:function(r,a,s){r instanceof wi?this.imp.SetColor(r.getImp()):this.imp.SetColor(r,a,s)}},{key:"SetText",value:function(r){this.imp.SetText(r)}},{key:"SetPositon",value:function(r){this.imp.SetPositon(r.getImp())}},{key:"SetHJustification",value:function(r){this.imp.SetHJustification(r)}},{key:"SetVJustification",value:function(r){this.imp.SetVJustification(r)}},{key:"SetAngle",value:function(r){this.imp.SetAngle(r)}},{key:"SetZoomable",value:function(r){this.imp.SetZoomable(r)}},{key:"SetHeight",value:function(r){this.imp.SetHeight(r)}},{key:"SetFontAspect",value:function(r){this.imp.SetFontAspect(r)}},{key:"SetFont",value:function(r){this.imp.SetFont(r)}},{key:"SetOrientation3D",value:function(r){this.imp.SetOrientation3D(r.getImp())}},{key:"UnsetOrientation3D",value:function(){this.imp.UnsetOrientation3D()}},{key:"Position",value:function(){return new Ne(this.imp.Position())}},{key:"FontAspect",value:function(){return this.imp.FontAspect()}},{key:"Orientation3D",value:function(){return new Ot(this.imp.Orientation3D())}},{key:"HasOrientation3D",value:function(){return this.imp.HasOrientation3D()}},{key:"SetFlipping",value:function(r){this.imp.SetFlipping(r)}},{key:"HasFlipping",value:function(){return this.imp.HasFlipping()}},{key:"HasOwnAnchorPoint",value:function(){return this.imp.HasOwnAnchorPoint()}},{key:"SetOwnAnchorPoint",value:function(r){this.imp.SetOwnAnchorPoint(r)}},{key:"SetDisplayType",value:function(r){this.imp.SetDisplayType(r)}},{key:"SetColorSubTitle",value:function(r,a,s){this.imp.SetColorSubTitle(r,a,s)}}]),t}(tm),f1=function(){function i(){oe(this,i)}return ue(i,null,[{key:"Vertex",value:function(t){return new So(ie.globalMethods.Vertex(t.getImp()))}},{key:"Edge",value:function(t){return new Zt(ie.globalMethods.Edge(t.getImp()))}},{key:"Wire",value:function(t){return new An(ie.globalMethods.Wire(t.getImp()))}},{key:"Face",value:function(t){return new Et(ie.globalMethods.Face(t.getImp()))}},{key:"Shell",value:function(t){return new ca(ie.globalMethods.Shell(t.getImp()))}},{key:"Solid",value:function(t){return new fa(ie.globalMethods.Solid(t.getImp()))}},{key:"CompSolid",value:function(t){return new im(ie.globalMethods.CompSolid(t.getImp()))}},{key:"Compound",value:function(t){return new am(ie.globalMethods.Compound(t.getImp()))}}]),i}(),h1=function(){function i(){oe(this,i)}return ue(i,null,[{key:"Surface",value:function(t){return new wl(ie.globalMethods.Surface(t.getImp()))}},{key:"Curve",value:function(t,n){var r=new ie.imp.MdGeArray1OfReal(1,2),a=ie.globalMethods.Curve(t.getImp(),r);return n[0]=r.Value(1),n[1]=r.Value(2),new Zo(a)}}]),i}();function ao(i){for(var e=ie.globalMethods.getStrFromMemory(i),t=[],n=1;n<=e.Length();n++)t.push(e.Value(n));return t.map(function(r){return String.fromCharCode(r)}).join("")}var p1=function(){function i(){oe(this,i)}return ue(i,null,[{key:"LoadFileFromUrl",value:function(t,n){return new Promise(function(r,a){var s=function(f){var h=ao(f);r(h)},o=function(f){var h=ao(f);a("failed load file: "+h)},u=ie.imp.addFunction(s,"vp"),l=ie.imp.addFunction(o,"vp");ie.globalMethods.LoadFileFromUrl(t,n,u,l)})}},{key:"LoadShapeFromFile",value:function(t,n){for(var r=[],a=ie.globalMethods.LoadShapeFromFile(t,n),s=1;s<=a.Length();s++)r.push(new vt(a.Value(s)));return r}},{key:"LoadLocalFile",value:function(t,n){var r=new FileReader;return new Promise(function(a,s){r.onload=function(){var o=new Uint8Array(r.result),u=o.length,l=ie.imp._malloc(u),c=new Uint8Array(ie.imp.HEAPU8.buffer,l,u);c.set(o);var f=function(g){var d=ao(g);a(d)},h=function(g){var d=ao(g);s("failed load file: "+d)},p=ie.imp.addFunction(f,"vp"),m=ie.imp.addFunction(h,"vp");ie.imp.loadFileFromMemory(n,l,u,!0,p,m),ie.imp._free(l)},r.onerror=function(o){s(o)},r.readAsArrayBuffer(t)})}}]),i}(),d1=function(i){de(t,i);var e=Re(t);function t(n,r){var a;return oe(this,t),n instanceof Dt?(a=e.call(this),a.initTempObject(new ie.imp.Mx3dGeLine(n.getImp()))):n instanceof Ne&&r instanceof gn?(a=e.call(this),a.initTempObject(new ie.imp.Mx3dGeLine(n.getImp(),r.getImp()))):a=e.call(this,n),Fe(a)}return ue(t,[{key:"SetDirection",value:function(r){this.imp.SetDirection(r.getImp())}},{key:"SetLocation",value:function(r){this.imp.SetLocation(r.getImp())}},{key:"SetPosition",value:function(r){this.imp.SetPosition(r.getImp())}},{key:"Position",value:function(){return new Dt(this.imp.Position())}},{key:"Reverse",value:function(){this.imp.Reverse()}},{key:"Reversed",value:function(){return new t(this.imp.Reversed())}},{key:"ReversedParameter",value:function(r){return this.imp.ReversedParameter(r)}},{key:"FirstParameter",value:function(){return this.imp.FirstParameter()}},{key:"LastParameter",value:function(){return this.imp.LastParameter()}},{key:"IsClosed",value:function(){return this.imp.IsClosed()}},{key:"IsPeriodic",value:function(){return this.imp.IsPeriodic()}},{key:"Continuity",value:function(){return this.imp.Continuity()}},{key:"IsCN",value:function(r){return this.imp.IsCN(r)}},{key:"D0",value:function(r,a){this.imp.D0(r,a.getImp())}},{key:"D1",value:function(r,a,s){this.imp.D1(r,a.getImp(),s.getImp())}},{key:"D2",value:function(r,a,s,o){this.imp.D2(r,a.getImp(),s.getImp(),o.getImp())}},{key:"D3",value:function(r,a,s,o,u){this.imp.D3(r,a.getImp(),s.getImp(),o.getImp(),u.getImp())}},{key:"DN",value:function(r,a){return new an(this.imp.DN(r,a))}},{key:"Transform",value:function(r){this.imp.Transform(r.getImp())}},{key:"TransformedParameter",value:function(r,a){return this.imp.TransformedParameter(r,a.getImp())}},{key:"ParametricTransformation",value:function(r){return this.imp.ParametricTransformation(r.getImp())}},{key:"Period",value:function(){return this.imp.Period()}},{key:"Value",value:function(r){return new Ne(this.imp.Value(r))}},{key:"Edge",value:function(r,a){return new Zt(this.imp.Edge(r,a))}}]),t}(sh),zn=function(i){de(t,i);var e=Re(t);function t(n){return oe(this,t),e.call(this,n)}return ue(t,[{key:"MirrorByPoint",value:function(r){this.imp.MirrorByPoint(r.getImp())}},{key:"MirrorByAxis",value:function(r){this.imp.MirrorByAxis(r.getImp())}},{key:"MirrorByCSYSR",value:function(r){this.imp.MirrorByCSYSR(r.getImp())}},{key:"Rotate",value:function(r,a){this.imp.Rotate(r.getImp(),a)}},{key:"Scale",value:function(r,a){this.imp.Scale(r.getImp(),a)}},{key:"TranslateByVec",value:function(r){this.imp.TranslateByVec(r.getImp())}},{key:"TranslateBy2Points",value:function(r,a){this.imp.TranslateBy2Points(r.getImp(),a.getImp())}},{key:"MirroredByPoint",value:function(r){return this.DynCast(new t(this.imp.MirroredByPoint(r.getImp())))}},{key:"MirroredByAxis",value:function(r){return this.DynCast(new t(this.imp.MirroredByAxis(r.getImp())))}},{key:"MirroredByCSYSR",value:function(r){return this.DynCast(new t(this.imp.MirroredByCSYSR(r.getImp())))}},{key:"Rotated",value:function(r,a){return this.DynCast(new t(this.imp.Rotated(r.getImp(),a)))}},{key:"Scaled",value:function(r,a){return this.DynCast(new t(this.imp.Scaled(r.getImp(),a)))}},{key:"Transformed",value:function(r){return this.DynCast(new t(this.imp.Transformed(r.getImp())))}},{key:"TranslatedByVec",value:function(r){return this.DynCast(new t(this.imp.TranslatedByVec(r.getImp())))}},{key:"TranslatedBy2Points",value:function(r,a){return this.DynCast(new t(this.imp.TranslatedBy2Points(r.getImp(),a.getImp())))}}]),t}(wn),Zo=function(i){de(t,i);var e=Re(t);function t(n){return oe(this,t),e.call(this,n)}return ue(t,[{key:"Reversed",value:function(){return this.DynCast(new t(this.imp.Reversed()))}},{key:"Period",value:function(){return this.imp.Period()}},{key:"Value",value:function(r){return new Ne(r)}},{key:"DynamicType",value:function(){return this.imp.DynamicType()}}]),t}(zn),Jo=function(i){de(t,i);var e=Re(t);function t(n){return oe(this,t),e.call(this,n)}return ue(t,[{key:"SetAxis",value:function(r){this.imp.SetAxis(r.getImp())}},{key:"SetLocation",value:function(r){this.imp.SetLocation(r.getImp())}},{key:"SetPosition",value:function(r){this.imp.SetPosition(r.getImp())}},{key:"Axis",value:function(){return new Dt(this.imp.Axis())}},{key:"Location",value:function(){return new Ne(this.imp.Location())}},{key:"Position",value:function(){return new Ot(this.imp.Position())}},{key:"XAxis",value:function(){return new Dt(this.imp.XAxis())}},{key:"YAxis",value:function(){return new Dt(this.imp.YAxis())}},{key:"Reverse",value:function(){this.imp.Reverse()}},{key:"Continuity",value:function(){return this.imp.Continuity()}},{key:"IsCN",value:function(r){return this.imp.IsCN(r)}},{key:"DynamicType",value:function(){return this.imp.DynamicType()}}]),t}(Zo),v1=function(i){de(t,i);var e=Re(t);function t(n,r){var a;return oe(this,t),n instanceof Ot&&typeof r=="number"?(a=e.call(this),a.initTempObject(new ie.imp.Mx3dGeomCircle(n.getImp(),r))):a=e.call(this,n),Fe(a)}return ue(t,[{key:"SetRadius",value:function(r){this.imp.SetRadius(r)}},{key:"Radius",value:function(){return this.imp.Radius()}},{key:"ReversedParameter",value:function(r){return this.imp.ReversedParameter(r)}},{key:"Eccentricity",value:function(){return this.imp.Eccentricity()}},{key:"FirstParameter",value:function(){return this.imp.FirstParameter()}},{key:"LastParameter",value:function(){return this.imp.LastParameter()}},{key:"IsClosed",value:function(){return this.imp.IsClosed()}},{key:"IsPeriodic",value:function(){return this.imp.IsPeriodic()}},{key:"D0",value:function(r,a){this.imp.D0(r,a.getImp())}},{key:"D1",value:function(r,a,s){this.imp.D1(r,a.getImp(),s.getImp())}},{key:"D2",value:function(r,a,s,o){this.imp.D2(r,a.getImp(),s.getImp(),o.getImp())}},{key:"D3",value:function(r,a,s,o,u){this.imp.D3(r,a.getImp(),s.getImp(),o.getImp(),u.getImp())}},{key:"DN",value:function(r,a){return new an(this.imp.DN(r,a))}},{key:"Transform",value:function(r){this.imp.Transform(r.getImp())}},{key:"Copy",value:function(){return new zn(this.imp.Copy())}},{key:"Edge",value:function(r,a){return new Zt(this.imp.Edge(r,a))}},{key:"Wire",value:function(){return new An(this.imp.Wire())}},{key:"OffsetCurve",value:function(r,a,s){return new Zt(this.imp.OffsetCurve(r,a.getImp(),s))}},{key:"DynCast",value:function(r){return new t(ie.globalMethods.DynCastToCircle(r.getImp()))}},{key:"DynamicType",value:function(){return this.imp.DynamicType()}}],[{key:"MakeArcOfCircle",value:function(r,a,s){return r=Mr(r),a=Mr(a),s=Mr(s),new Zt(ie.globalMethods.MakeArcOfCircle(r.getImp(),a.getImp(),s.getImp()))}},{key:"DownCast",value:function(r){return new t(ie.globalMethods.DynCastToCircle(r.getImp()))}}]),t}(Jo),m1=function(i){de(t,i);var e=Re(t);function t(n,r){var a;return oe(this,t),n instanceof Dt?(a=e.call(this),a.initTempObject(new ie.imp.Mx3dGeomLine(n.getImp()))):n instanceof Ne&&r instanceof gn?(a=e.call(this),a.initTempObject(new ie.imp.Mx3dGeomLine(n.getImp(),r.getImp()))):a=e.call(this,n),Fe(a)}return ue(t,[{key:"SetDirection",value:function(r){this.imp.SetDirection(r.getImp())}},{key:"SetLocation",value:function(r){this.imp.SetLocation(r.getImp())}},{key:"SetPosition",value:function(r){this.imp.SetPosition(r.getImp())}},{key:"Position",value:function(){return new Dt(this.imp.Position())}},{key:"Reverse",value:function(){this.imp.Reverse()}},{key:"ReversedParameter",value:function(r){return this.imp.ReversedParameter(r)}},{key:"FirstParameter",value:function(){return this.imp.FirstParameter()}},{key:"LastParameter",value:function(){return this.imp.LastParameter()}},{key:"IsClosed",value:function(){return this.imp.IsClosed()}},{key:"IsPeriodic",value:function(){return this.imp.IsPeriodic()}},{key:"Continuity",value:function(){return this.imp.Continuity()}},{key:"IsCN",value:function(r){return this.imp.IsCN(r)}},{key:"D0",value:function(r,a){this.imp.D0(r,a.getImp())}},{key:"D1",value:function(r,a,s){this.imp.D1(r,a.getImp(),s.getImp())}},{key:"D2",value:function(r,a,s,o){this.imp.D2(r,a.getImp(),s.getImp(),o.getImp())}},{key:"D3",value:function(r,a,s,o,u){this.imp.D3(r,a.getImp(),s.getImp(),o.getImp(),u.getImp())}},{key:"DN",value:function(r,a){return new an(this.imp.DN(r,a))}},{key:"Transform",value:function(r){this.imp.Transform(r.getImp())}},{key:"TransformedParameter",value:function(r,a){return this.imp.TransformedParameter(r,a.getImp())}},{key:"ParametricTransformation",value:function(r){return this.imp.ParametricTransformation(r.getImp())}},{key:"Copy",value:function(){return new zn(this.imp.Copy())}},{key:"Edge",value:function(r,a){return new Zt(this.imp.Edge(r,a))}},{key:"OffsetCurve",value:function(r,a,s){return new Zt(this.imp.OffsetCurve(r,a.getImp(),s))}},{key:"DynCast",value:function(r){return new t(ie.globalMethods.DynCastToLine(r.getImp()))}},{key:"DynamicType",value:function(){return this.imp.DynamicType()}}],[{key:"DownCast",value:function(r){return new t(ie.globalMethods.DynCastToLine(r.getImp()))}}]),t}(Zo),g1=function(i){de(t,i);var e=Re(t);function t(n,r,a){var s;return oe(this,t),n instanceof Ot&&typeof r=="number"&&typeof a=="number"?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dGeomEllipse(n.getImp(),r,a))):s=e.call(this,n),Fe(s)}return ue(t,[{key:"SetMajorRadius",value:function(r){this.imp.SetMajorRadius(r)}},{key:"SetMinorRadius",value:function(r){this.imp.SetMinorRadius(r)}},{key:"ReversedParameter",value:function(r){return this.imp.ReversedParameter(r)}},{key:"Directrix1",value:function(){return new Dt(this.imp.Directrix1())}},{key:"Directrix2",value:function(){return new Dt(this.imp.Directrix2())}},{key:"Eccentricity",value:function(){return this.imp.Eccentricity()}},{key:"Focal",value:function(){return this.imp.Focal()}},{key:"Focus1",value:function(){return new Ne(this.imp.Focus1())}},{key:"Focus2",value:function(){return new Ne(this.imp.Focus2())}},{key:"MajorRadius",value:function(){return this.imp.MajorRadius()}},{key:"MinorRadius",value:function(){return this.imp.MinorRadius()}},{key:"Parameter",value:function(){return this.imp.Parameter()}},{key:"FirstParameter",value:function(){return this.imp.FirstParameter()}},{key:"LastParameter",value:function(){return this.imp.LastParameter()}},{key:"IsClosed",value:function(){return this.imp.IsClosed()}},{key:"IsPeriodic",value:function(){return this.imp.IsPeriodic()}},{key:"D0",value:function(r,a){this.imp.D0(r,a.getImp())}},{key:"D1",value:function(r,a,s){this.imp.D1(r,a.getImp(),s.getImp())}},{key:"D2",value:function(r,a,s,o){this.imp.D2(r,a.getImp(),s.getImp(),o.getImp())}},{key:"D3",value:function(r,a,s,o,u){this.imp.D3(r,a.getImp(),s.getImp(),o.getImp(),u.getImp())}},{key:"DN",value:function(r,a){return new an(this.imp.DN(r,a))}},{key:"Transform",value:function(r){this.imp.Transform(r.getImp())}},{key:"Copy",value:function(){return new zn(this.imp.Copy())}},{key:"Edge",value:function(r,a){return new Zt(this.imp.Edge(r,a))}},{key:"Wire",value:function(){return new An(this.imp.Wire())}},{key:"OffsetCurve",value:function(r,a,s){return new Zt(this.imp.OffsetCurve(r,a.getImp(),s))}},{key:"DynCast",value:function(r){return new t(ie.globalMethods.DynCastToEllipse(r.getImp()))}},{key:"DynamicType",value:function(){return this.imp.DynamicType()}}],[{key:"DownCast",value:function(r){return new t(ie.globalMethods.DynCastToEllipse(r.getImp()))}}]),t}(Jo),y1=function(i){de(t,i);var e=Re(t);function t(n,r,a){var s;return oe(this,t),n instanceof Ot&&typeof r=="number"&&typeof a=="number"?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dGeomHyperbola(n.getImp(),r,a))):s=e.call(this,n),Fe(s)}return ue(t,[{key:"SetMajorRadius",value:function(r){this.imp.SetMajorRadius(r)}},{key:"SetMinorRadius",value:function(r){this.imp.SetMinorRadius(r)}},{key:"ReversedParameter",value:function(r){return this.imp.ReversedParameter(r)}},{key:"FirstParameter",value:function(){return this.imp.FirstParameter()}},{key:"LastParameter",value:function(){return this.imp.LastParameter()}},{key:"IsClosed",value:function(){return this.imp.IsClosed()}},{key:"IsPeriodic",value:function(){return this.imp.IsPeriodic()}},{key:"Asymptote1",value:function(){return new Dt(this.imp.Asymptote1())}},{key:"Asymptote2",value:function(){return new Dt(this.imp.Asymptote2())}},{key:"ConjugateBranch1",value:function(){return new t(this.imp.ConjugateBranch1())}},{key:"ConjugateBranch2",value:function(){return new t(this.imp.ConjugateBranch2())}},{key:"Directrix1",value:function(){return new Dt(this.imp.Directrix1())}},{key:"Directrix2",value:function(){return new Dt(this.imp.Directrix2())}},{key:"Eccentricity",value:function(){return this.imp.Eccentricity()}},{key:"Focal",value:function(){return this.imp.Focal()}},{key:"Focus1",value:function(){return new Ne(this.imp.Focus1())}},{key:"Focus2",value:function(){return new Ne(this.imp.Focus2())}},{key:"MajorRadius",value:function(){return this.imp.MajorRadius()}},{key:"MinorRadius",value:function(){return this.imp.MinorRadius()}},{key:"OtherBranch",value:function(){return new t(this.imp.OtherBranch())}},{key:"Parameter",value:function(){return this.imp.Parameter()}},{key:"D0",value:function(r,a){this.imp.D0(r,a.getImp())}},{key:"D1",value:function(r,a,s){this.imp.D1(r,a.getImp(),s.getImp())}},{key:"D2",value:function(r,a,s,o){this.imp.D2(r,a.getImp(),s.getImp(),o.getImp())}},{key:"D3",value:function(r,a,s,o,u){this.imp.D3(r,a.getImp(),s.getImp(),o.getImp(),u.getImp())}},{key:"DN",value:function(r,a){return new an(this.imp.DN(r,a))}},{key:"Transform",value:function(r){this.imp.Transform(r.getImp())}},{key:"Copy",value:function(){return new zn(this.imp.Copy())}},{key:"Edge",value:function(r,a){return new Zt(this.imp.Edge(r,a))}},{key:"OffsetCurve",value:function(r,a,s){return new Zt(this.imp.OffsetCurve(r,a.getImp(),s))}},{key:"DynCast",value:function(r){return new t(ie.globalMethods.DynCastToHyperbola(r.getImp()))}},{key:"DynamicType",value:function(){return this.imp.DynamicType()}}],[{key:"DownCast",value:function(r){return new t(ie.globalMethods.DynCastToHyperbola(r.getImp()))}}]),t}(Jo),b1=function(i){de(t,i);var e=Re(t);function t(n,r){var a;return oe(this,t),n instanceof Ot&&typeof r=="number"?(a=e.call(this),a.initTempObject(new ie.imp.Mx3dGeomParabola(n.getImp(),r))):a=e.call(this,n),Fe(a)}return ue(t,[{key:"SetFocal",value:function(r){this.imp.SetFocal(r)}},{key:"ReversedParameter",value:function(r){return this.imp.ReversedParameter(r)}},{key:"FirstParameter",value:function(){return this.imp.FirstParameter()}},{key:"LastParameter",value:function(){return this.imp.LastParameter()}},{key:"IsClosed",value:function(){return this.imp.IsClosed()}},{key:"IsPeriodic",value:function(){return this.imp.IsPeriodic()}},{key:"Directrix",value:function(){return new Dt(this.imp.Directrix())}},{key:"Eccentricity",value:function(){return this.imp.Eccentricity()}},{key:"Focus",value:function(){return new Ne(this.imp.Focus())}},{key:"Focal",value:function(){return this.imp.Focal()}},{key:"Parameter",value:function(){return this.imp.Parameter()}},{key:"D0",value:function(r,a){this.imp.D0(r,a.getImp())}},{key:"D1",value:function(r,a,s){this.imp.D1(r,a.getImp(),s.getImp())}},{key:"D2",value:function(r,a,s,o){this.imp.D2(r,a.getImp(),s.getImp(),o.getImp())}},{key:"D3",value:function(r,a,s,o,u){this.imp.D3(r,a.getImp(),s.getImp(),o.getImp(),u.getImp())}},{key:"DN",value:function(r,a){return new an(this.imp.DN(r,a))}},{key:"Transform",value:function(r){this.imp.Transform(r.getImp())}},{key:"TransformedParameter",value:function(r,a){return this.imp.TransformedParameter(r,a.getImp())}},{key:"ParametricTransformation",value:function(r){return this.imp.ParametricTransformation(r.getImp())}},{key:"Copy",value:function(){return new zn(this.imp.Copy())}},{key:"Edge",value:function(r,a){return new Zt(this.imp.Edge(r,a))}},{key:"OffsetCurve",value:function(r,a,s){return new Zt(this.imp.OffsetCurve(r,a.getImp(),s))}},{key:"DynCast",value:function(r){return new t(ie.globalMethods.DynCastToParabola(r.getImp()))}},{key:"DynamicType",value:function(){return this.imp.DynamicType()}}],[{key:"DownCast",value:function(r){return new t(ie.globalMethods.DynCastToParabola(r.getImp()))}}]),t}(Jo),or=function(i){de(t,i);var e=Re(t);function t(n){return oe(this,t),e.call(this,n)}return ue(t)}(wn),w1=function(i){de(t,i);var e=Re(t);function t(n,r,a,s){var o;if(oe(this,t),Qc(n)&&Qc(r)){o=e.call(this);var u=Mr(n),l=Mr(r);o.initTempObject(new ie.imp.Mx3dMkBox(u.getImp(),l.getImp()))}else typeof n=="number"&&typeof r=="number"&&typeof a=="number"?(o=e.call(this),o.initTempObject(new ie.imp.Mx3dMkBox(n,r,a))):n instanceof Ot&&typeof r=="number"&&typeof a=="number"&&typeof s=="number"?(o=e.call(this),o.initTempObject(new ie.imp.Mx3dMkBox(n.getImp(),r,a,s))):n instanceof Object&&(o=e.call(this,n));return Fe(o)}return ue(t,[{key:"Build",value:function(){this.imp.Build()}},{key:"Shape",value:function(){return new vt(this.imp.Shape())}},{key:"Shell",value:function(){return new ca(this.imp.Shell())}},{key:"Solid",value:function(){return new fa(this.imp.Solid())}},{key:"BottomFace",value:function(){return new Et(this.imp.BottomFace())}},{key:"BackFace",value:function(){return new Et(this.imp.BackFace())}},{key:"FrontFace",value:function(){return new Et(this.imp.FrontFace())}},{key:"LeftFace",value:function(){return new Et(this.imp.LeftFace())}},{key:"RightFace",value:function(){return new Et(this.imp.RightFace())}},{key:"TopFace",value:function(){return new Et(this.imp.TopFace())}},{key:"IsDone",value:function(){return this.imp.IsDone()}}]),t}(or),_1=function(i){de(t,i);var e=Re(t);function t(n,r,a,s,o){var u;return oe(this,t),n instanceof Ot&&!o?(u=e.call(this),u.initTempObject(new ie.imp.Mx3dMkCone(n.getImp(),r,a,s))):n instanceof Ot&&o?(u=e.call(this),u.initTempObject(new ie.imp.Mx3dMkCone(n.getImp(),r,a,s,o))):n instanceof Object&&(u=e.call(this,n)),Fe(u)}return ue(t,[{key:"Build",value:function(){this.imp.Build()}},{key:"Shape",value:function(){return new vt(this.imp.Shape())}},{key:"Face",value:function(){return new Et(this.imp.Face())}},{key:"Shell",value:function(){return new ca(this.imp.Shell())}},{key:"Solid",value:function(){return new fa(this.imp.Solid())}},{key:"IsDone",value:function(){return this.imp.IsDone()}}]),t}(or),E1=function(i){de(t,i);var e=Re(t);function t(n,r,a,s){var o;return oe(this,t),n instanceof Ot&&!s?(o=e.call(this),o.initTempObject(new ie.imp.Mx3dMkCylinder(n.getImp(),r,a))):n instanceof Ot&&s?(o=e.call(this),o.initTempObject(new ie.imp.Mx3dMkCylinder(n.getImp(),r,a,s))):n instanceof Object&&(o=e.call(this,n)),Fe(o)}return ue(t,[{key:"Build",value:function(){this.imp.Build()}},{key:"Shape",value:function(){return new vt(this.imp.Shape())}},{key:"Face",value:function(){return new Et(this.imp.Face())}},{key:"Shell",value:function(){return new ca(this.imp.Shell())}},{key:"Solid",value:function(){return new fa(this.imp.Solid())}},{key:"IsDone",value:function(){return this.imp.IsDone()}}]),t}(or),C1=function(i){de(t,i);var e=Re(t);function t(n,r,a){var s;return oe(this,t),n instanceof vt&&!a?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dMkRevol(n.getImp(),r.getImp()))):n instanceof vt&&a?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dMkRevol(n.getImp(),r.getImp(),a))):n instanceof Object&&(s=e.call(this,n)),Fe(s)}return ue(t,[{key:"Build",value:function(){this.imp.Build()}},{key:"Shape",value:function(){return new vt(this.imp.Shape())}},{key:"IsDone",value:function(){return this.imp.IsDone()}}]),t}(or),S1=function(i){de(t,i);var e=Re(t);function t(n,r,a,s,o){var u;return oe(this,t),n instanceof Ot&&arguments.length===2?(u=e.call(this),u.initTempObject(new ie.imp.Mx3dMkSphere(n.getImp(),r))):n instanceof Ot&&arguments.length===3?(u=e.call(this),u.initTempObject(new ie.imp.Mx3dMkSphere(n.getImp(),r,a))):n instanceof Ot&&arguments.length===4?(u=e.call(this),u.initTempObject(new ie.imp.Mx3dMkSphere(n.getImp(),r,a,s))):n instanceof Ot&&arguments.length===5?(u=e.call(this),u.initTempObject(new ie.imp.Mx3dMkSphere(n.getImp(),r,a,s,o))):n instanceof Object&&(u=e.call(this,n)),Fe(u)}return ue(t,[{key:"Build",value:function(){this.imp.Build()}},{key:"Shape",value:function(){return new vt(this.imp.Shape())}},{key:"Face",value:function(){return new Et(this.imp.Face())}},{key:"Shell",value:function(){return new ca(this.imp.Shell())}},{key:"Solid",value:function(){return new fa(this.imp.Solid())}},{key:"IsDone",value:function(){return this.imp.IsDone()}}]),t}(or),A1=function(i){de(t,i);var e=Re(t);function t(n,r,a,s,o,u){var l;return oe(this,t),n instanceof Ot&&arguments.length===3?(l=e.call(this),l.initTempObject(new ie.imp.Mx3dMkTorus(n.getImp(),r,a))):n instanceof Ot&&arguments.length===4?(l=e.call(this),l.initTempObject(new ie.imp.Mx3dMkTorus(n.getImp(),r,a,s))):n instanceof Ot&&arguments.length===5?(l=e.call(this),l.initTempObject(new ie.imp.Mx3dMkTorus(n.getImp(),r,a,s,o))):n instanceof Ot&&arguments.length===6?(l=e.call(this),l.initTempObject(new ie.imp.Mx3dMkTorus(n.getImp(),r,a,s,o,u))):n instanceof Object&&(l=e.call(this,n)),Fe(l)}return ue(t,[{key:"Build",value:function(){this.imp.Build()}},{key:"Shape",value:function(){return new vt(this.imp.Shape())}},{key:"Face",value:function(){return new Et(this.imp.Face())}},{key:"Shell",value:function(){return new ca(this.imp.Shell())}},{key:"Solid",value:function(){return new fa(this.imp.Solid())}},{key:"IsDone",value:function(){return this.imp.IsDone()}}]),t}(or),x1=function(i){de(t,i);var e=Re(t);function t(n,r,a,s){var o;return oe(this,t),n instanceof An&&r instanceof vt&&typeof a=="number"&&typeof s=="boolean"?(o=e.call(this),o.initTempObject(new ie.imp.Mx3dMkPipe(n.getImp(),r.getImp(),a,s))):n instanceof An&&r instanceof vt?(o=e.call(this),o.initTempObject(new ie.imp.Mx3dMkPipe(n.getImp(),r.getImp()))):n instanceof Object&&(o=e.call(this,n)),Fe(o)}return ue(t,[{key:"Build",value:function(){this.imp.Build()}},{key:"Shape",value:function(){return new vt(this.imp.Shape())}},{key:"IsDone",value:function(){return this.imp.IsDone()}}]),t}(or),T1=function(i){de(t,i);var e=Re(t);function t(n){var r;return oe(this,t),r=e.call(this),r.initTempObject(new ie.imp.Mx3dMkPipeShell(n.getImp())),r}return ue(t,[{key:"SetTransitionMode",value:function(r){this.imp.SetTransitionMode(r)}},{key:"Add",value:function(r){this.imp.Add(r.getImp())}},{key:"Build",value:function(){this.imp.Build()}},{key:"MakeSolid",value:function(){return this.imp.MakeSolid()}},{key:"Shape",value:function(){return new vt(this.imp.Shape())}},{key:"IsDone",value:function(){return this.imp.IsDone()}}]),t}(or),D1=function(i){de(t,i);var e=Re(t);function t(n,r){var a;return oe(this,t),n instanceof vt&&r instanceof an?(a=e.call(this),a.initTempObject(new ie.imp.Mx3dMkPrism(n.getImp(),r.getImp(),!1,!0))):n instanceof vt&&r instanceof gn?(a=e.call(this),a.initTempObject(new ie.imp.Mx3dMkPrism(n.getImp(),r.getImp(),!0,!1,!0))):n instanceof Object&&(a=e.call(this,n)),Fe(a)}return ue(t,[{key:"Build",value:function(){this.imp.Build()}},{key:"Shape",value:function(){return new vt(this.imp.Shape())}},{key:"IsDone",value:function(){return this.imp.IsDone()}}]),t}(or),k1=function(i){de(t,i);var e=Re(t);function t(n,r,a,s,o,u,l,c){var f;return oe(this,t),typeof n=="number"&&arguments.length===4?(f=e.call(this),f.initTempObject(new ie.imp.Mx3dMkWedge(n,r,a,s))):n instanceof Ot&&arguments.length===5?(f=e.call(this),f.initTempObject(new ie.imp.Mx3dMkWedge(n.getImp(),r,a,s,o))):typeof n=="number"&&arguments.length===7?(f=e.call(this),f.initTempObject(new ie.imp.Mx3dMkWedge(n,r,a,s,o,u,l))):n instanceof Ot&&arguments.length===8?(f=e.call(this),f.initTempObject(new ie.imp.Mx3dMkWedge(n.getImp(),r,a,s,o,u,l,c))):n instanceof Object&&(f=e.call(this,n)),Fe(f)}return ue(t,[{key:"Build",value:function(){this.imp.Build()}},{key:"Shape",value:function(){return new vt(this.imp.Shape())}},{key:"Shell",value:function(){return new ca(this.imp.Shell())}},{key:"Solid",value:function(){return new fa(this.imp.Solid())}},{key:"IsDone",value:function(){return this.imp.IsDone()}}]),t}(or),M1=function(i){de(t,i);var e=Re(t);function t(n,r,a){var s;return oe(this,t),arguments.length===0?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dMkLoft)):typeof n=="boolean"&&arguments.length===1?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dMkLoft(n))):typeof n=="boolean"&&typeof r=="boolean"&&arguments.length===2?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dMkLoft(n,r))):typeof n=="boolean"&&typeof r=="boolean"&&typeof a=="number"?(s=e.call(this),s.initTempObject(new ie.imp.Mx3dMkLoft(n,r,a))):n instanceof Object&&(s=e.call(this,n)),Fe(s)}return ue(t,[{key:"AddWire",value:function(r){this.imp.AddWire(r.getImp())}},{key:"AddVertex",value:function(r){this.imp.AddVertex(r.getImp())}},{key:"SetSmoothing",value:function(r){this.imp.SetSmoothing(r)}},{key:"SetContinuity",value:function(r){this.imp.SetContinuity(r)}},{key:"Continuity",value:function(){return this.imp.Continuity()}},{key:"UseSmoothing",value:function(){return this.imp.UseSmoothing()}},{key:"Build",value:function(){return this.imp.Build()}},{key:"Shape",value:function(){return new vt(this.imp.Shape())}},{key:"IsDone",value:function(){return this.imp.IsDone()}}]),t}(or),I1=function(i){de(t,i);var e=Re(t);function t(n){var r;return oe(this,t),n?r=e.call(this,n):(r=e.call(this),r.initTempObject(new ie.imp.Mx3dMkPolygon)),Fe(r)}return ue(t,[{key:"Add",value:function(r){this.imp.Add(r.getImp())}},{key:"Added",value:function(){return this.imp.Added()}},{key:"Close",value:function(){this.imp.Close()}},{key:"FirstVertex",value:function(){return new So(this.imp.FirstVertex())}},{key:"LastVertex",value:function(){return new So(this.imp.LastVertex())}},{key:"Build",value:function(){this.imp.Build()}},{key:"Shape",value:function(){return new vt(this.imp.Shape())}},{key:"IsDone",value:function(){return this.imp.IsDone()}},{key:"Edge",value:function(){return new Zt(this.imp.Edge())}},{key:"Wire",value:function(){return new An(this.imp.Wire())}}]),t}(or),P1=function(i){de(t,i);var e=Re(t);function t(n){var r,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return oe(this,t),n instanceof An?(r=e.call(this),r.initTempObject(new ie.imp.Mx3dMkFace(n.getImp(),a))):(r=e.call(this),r.initTempObject(new ie.imp.Mx3dMkFace(n.getImp()))),Fe(r)}return ue(t,[{key:"Build",value:function(){this.imp.Build()}},{key:"Shape",value:function(){return new vt(this.imp.Shape())}},{key:"Face",value:function(){return new Et(this.imp.Face())}},{key:"IsDone",value:function(){return this.imp.IsDone()}},{key:"Add",value:function(r){this.imp.Add(r.getImp())}}]),t}(or),F1=function(i){de(t,i);var e=Re(t);function t(){var n;return oe(this,t),n=e.call(this),n.initTempObject(new ie.imp.Mx3dMkThickSolid),n}return ue(t,[{key:"MakeThickSolidBySimple",value:function(r,a){this.imp.MakeThickSolidBySimple(r.getImp(),a)}},{key:"MakeThickSolidByJoin",value:function(r,a,s,o){var u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:Co.MxOffsetModeEnum.Offset_Skin,l=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,c=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,f=arguments.length>7&&arguments[7]!==void 0?arguments[7]:Co.MxGAJoinTypeEnum.GA_Arc,h=arguments.length>8&&arguments[8]!==void 0?arguments[8]:!1,p=UC(a);this.imp.MakeThickSolidByJoin(r.getImp(),p.getImp(),s,o,u,l,c,f,h)}},{key:"Build",value:function(){this.imp.Build()}},{key:"Shape",value:function(){return new vt(this.imp.Shape())}},{key:"IsDone",value:function(){return this.imp.IsDone()}}]),t}(or),R1=function(){function i(){oe(this,i)}return ue(i,null,[{key:"ConnectEdgesToWires",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e-6,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=new xa;t.forEach(function(l){return a.Append(l)});for(var s=new xa(ie.globalMethods.ConnectEdgesToWires(a.getImp(),n,r)),o=new Array,u=1;u<=s.Length();u++)o.push(s.Value(u));return o}},{key:"ConnectWiresToWires",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e-6,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=new xa;t.forEach(function(l){return a.Append(l)});for(var s=new xa(ie.globalMethods.ConnectWiresToWires(a.getImp(),n,r)),o=new Array,u=1;u<=s.Length();u++)o.push(s.Value(u));return o}},{key:"EdgeToWire",value:function(t){return new An(ie.globalMethods.EdgeToWire(t.getImp()))}}]),i}(),si=function(i){de(t,i);var e=Re(t);function t(n,r){var a;return oe(this,t),arguments.length==0?(a=e.call(this),a.initTempObject(new ie.imp.MdGeArray1OfReal)):typeof n=="number"&&arguments.length==2?(a=e.call(this),a.initTempObject(new ie.imp.MdGeArray1OfReal(n,r))):n instanceof Object&&arguments.length==1&&(a=e.call(this,n)),Fe(a)}return ue(t,[{key:"Init",value:function(r){this.imp.Init(r)}},{key:"Size",value:function(){return this.imp.Size()}},{key:"Length",value:function(){return this.imp.Length()}},{key:"IsEmpty",value:function(){return this.imp.IsEmpty()}},{key:"Lower",value:function(){return this.imp.Lower()}},{key:"Upper",value:function(){return this.imp.Upper()}},{key:"IsDeletable",value:function(){return this.imp.IsDeletable()}},{key:"IsAllocated",value:function(){return this.imp.IsAllocated()}},{key:"First",value:function(){return this.imp.First()}},{key:"Last",value:function(){return this.imp.Last()}},{key:"Value",value:function(r){return this.imp.Value(r)}},{key:"SetValue",value:function(r,a){this.imp.SetValue(r,a)}},{key:"Resize",value:function(r,a,s){this.imp.Resize(r,a,s)}}]),t}(wn),Pu=function(i){de(t,i);var e=Re(t);function t(n,r){var a;return oe(this,t),arguments.length==0?(a=e.call(this),a.initTempObject(new ie.imp.MdGeArray1OfPnt)):typeof n=="number"&&arguments.length==2?(a=e.call(this),a.initTempObject(new ie.imp.MdGeArray1OfPnt(n,r))):n instanceof Object&&arguments.length==1&&(a=e.call(this,n)),Fe(a)}return ue(t,[{key:"Init",value:function(r){this.imp.Init(r.getImp())}},{key:"Size",value:function(){return this.imp.Size()}},{key:"Length",value:function(){return this.imp.Length()}},{key:"IsEmpty",value:function(){return this.imp.IsEmpty()}},{key:"Lower",value:function(){return this.imp.Lower()}},{key:"Upper",value:function(){return this.imp.Upper()}},{key:"IsDeletable",value:function(){return this.imp.IsDeletable()}},{key:"IsAllocated",value:function(){return this.imp.IsAllocated()}},{key:"First",value:function(){return new Ne(this.imp.First())}},{key:"Last",value:function(){return new Ne(this.imp.Last())}},{key:"Value",value:function(r){return new Ne(this.imp.Value(r))}},{key:"SetValue",value:function(r,a){this.imp.SetValue(r,a.getImp())}},{key:"Resize",value:function(r,a,s){this.imp.Resize(r,a,s)}}]),t}(wn),om=function(i){de(t,i);var e=Re(t);function t(n,r,a,s,o){var u;return oe(this,t),arguments.length==0?(u=e.call(this),u.initTempObject(new ie.imp.MdGeArray2OfPnt)):typeof n=="number"&&arguments.length==4?(u=e.call(this),u.initTempObject(new ie.imp.MdGeArray2OfPnt(n,r,a,s))):n instanceof Ne&&arguments.length==5?(u=e.call(this),u.initTempObject(new ie.imp.MdGeArray2OfPnt(n.getImp(),r,a,s,o))):n instanceof Object&&arguments.length==1&&(u=e.call(this,n)),Fe(u)}return ue(t,[{key:"Init",value:function(r){this.imp.Init(r.getImp())}},{key:"Size",value:function(){return this.imp.Size()}},{key:"Length",value:function(){return this.imp.Length()}},{key:"NbRows",value:function(){return this.imp.NbRows()}},{key:"NbColumns",value:function(){return this.imp.NbColumns()}},{key:"RowLength",value:function(){return this.imp.RowLength()}},{key:"ColLength",value:function(){return this.imp.ColLength()}},{key:"LowerRow",value:function(){return this.imp.LowerRow()}},{key:"UpperRow",value:function(){return this.imp.UpperRow()}},{key:"LowerCol",value:function(){return this.imp.LowerCol()}},{key:"UpperCol",value:function(){return this.imp.UpperCol()}},{key:"IsDeletable",value:function(){return this.imp.IsDeletable()}},{key:"Value",value:function(r,a){return new Ne(this.imp.Value(r,a))}},{key:"SetValue",value:function(r,a,s){this.imp.SetValue(r,a,s.getImp())}},{key:"Resize",value:function(r,a,s,o,u){this.imp.Resize(r,a,s,o,u)}}]),t}(wn),um=function(i){de(t,i);var e=Re(t);function t(n,r,a,s,o){var u;return oe(this,t),arguments.length==0?(u=e.call(this),u.initTempObject(new ie.imp.MdGeArray2OfReal)):typeof n=="number"&&arguments.length==4?(u=e.call(this),u.initTempObject(new ie.imp.MdGeArray2OfReal(n,r,a,s))):typeof n=="number"&&arguments.length==5?(u=e.call(this),u.initTempObject(new ie.imp.MdGeArray2OfReal(n,r,a,s,o))):n instanceof Object&&arguments.length==1&&(u=e.call(this,n)),Fe(u)}return ue(t,[{key:"Init",value:function(r){this.imp.Init(r)}},{key:"Size",value:function(){return this.imp.Size()}},{key:"Length",value:function(){return this.imp.Length()}},{key:"NbRows",value:function(){return this.imp.NbRows()}},{key:"NbColumns",value:function(){return this.imp.NbColumns()}},{key:"RowLength",value:function(){return this.imp.RowLength()}},{key:"ColLength",value:function(){return this.imp.ColLength()}},{key:"LowerRow",value:function(){return this.imp.LowerRow()}},{key:"UpperRow",value:function(){return this.imp.UpperRow()}},{key:"LowerCol",value:function(){return this.imp.LowerCol()}},{key:"UpperCol",value:function(){return this.imp.UpperCol()}},{key:"IsDeletable",value:function(){return this.imp.IsDeletable()}},{key:"Value",value:function(r,a){return this.imp.Value(r,a)}},{key:"SetValue",value:function(r,a,s){this.imp.SetValue(r,a,s)}},{key:"Resize",value:function(r,a,s,o,u){this.imp.Resize(r,a,s,o,u)}}]),t}(wn),lh=function(i){de(t,i);var e=Re(t);function t(n){return oe(this,t),e.call(this,n)}return ue(t,[{key:"DynamicType",value:function(){return this.imp.DynamicType()}}]),t}(Zo),lm=function(i){de(t,i);var e=Re(t);function t(n,r,a,s,o){var u;if(oe(this,t),n[0]instanceof Ne&&typeof r[0]=="number"&&typeof a[0]=="number"&&typeof s=="number"){u=e.call(this);for(var l=new Pu(0,n.length-1),c=0;c73.66&&t<135.05&&n>3.86&&n<53.55)}},{key:"cadLongToMercatorCoord",value:function(t){var n=new THREE.Vector3(0,0,0),r=new THREE.Vector3(t,0,0);return n.applyMatrix4(this.imp.matCadToMap),r.applyMatrix4(this.imp.matCadToMap),n.distanceTo(r)}},{key:"setCoordinatePointAlignment",value:function(t,n,r){this.originCAD=n,this.originLngLatLike=t,this.meterInCADUnits=r}},{key:"create",value:function(){var e=ut(me.mark(function n(r,a){var s,o,u,l,c;return me.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:this.map=r,a.middlePan!==void 0&&this.map.dragPan.useMouseMiddle(a.middlePan),a.viewBackgroundColor===void 0&&(a.viewBackgroundColor={red:255,green:255,blue:255}),s=this,o=r.mercatorCoordinate_from_LngLat(s.originLngLatLike,s.modelAltitude),u=o.meterInMercatorCoordinateUnits(),l=s.imp,l.map=r,l.elevation=this.modelAltitude,l.mapOrigin=new THREE.Vector3(o.x,o.y,o.z),l.cadOrigin=new THREE.Vector3(this.originCAD[0],this.originCAD[1],0),l.mapLenInCADUnits=s.meterInCADUnits*u,c={id:"3d-model",type:"custom",renderingMode:"3d",onAdd:function(m,v){return ut(me.mark(function g(){var d,y;return me.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:try{l.canvas=m.getCanvas(),l.gl=v,l.canvasContainer=m.getCanvasContainer(),s.loadOldEditionMethod?(y=a,y.mapBox=l,y.isAutoResize=!0,y.callback=function(w,E){WC(E),w.addEvent("loadComplete",function(){s.map.triggerRepaint()})},Ve.createMxObject(y)):(a.map=l,d=a.onOpenFileComplete,a.onOpenFileComplete=function(w){d&&d(w),s.map.triggerRepaint()},a.onInit=function(){Ve.setIniset({MapBox:!0})},nh(a,s.mxcad))}catch(w){console.log(w)}case 1:case"end":return _.stop()}},g)}))()},render:function(m,v){l.map.repaint=!1,l.render&&l.render(m,v)}},r.addLayer(c),r.on("resize",function(){l.onResize&&l.onResize()});case 15:case"end":return h.stop()}},n,this)}));function t(n,r){return e.apply(this,arguments)}return t}()}]),i}();function rb(i,e){var t=typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(!t){if(Array.isArray(i)||(t=zC(i))||e){t&&(i=t);var n=0,r=function(){};return{s:r,n:function(){return n>=i.length?{done:!0}:{done:!1,value:i[n++]}},e:function(l){throw l},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,s=!1,o;return{s:function(){t=t.call(i)},n:function(){var l=t.next();return a=l.done,l},e:function(l){s=!0,o=l},f:function(){try{!a&&t.return!=null&&t.return()}finally{if(s)throw o}}}}function zC(i,e){if(i){if(typeof i=="string")return w0(i,e);var t=Object.prototype.toString.call(i).slice(8,-1);if(t==="Object"&&i.constructor&&(t=i.constructor.name),t==="Map"||t==="Set")return Array.from(i);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return w0(i,e)}}function w0(i,e){(e==null||e>i.length)&&(e=i.length);for(var t=0,n=new Array(e);t=i.lng&&-180<=i.lng&&74>=i.lat&&-74<=i.lat};zr.prototype.lb=function(i){return i&&this.lat==i.lat&&this.lng==i.lng};function rf(i,e){this.x=i||0,this.y=e||0,this.x=this.x,this.y=this.y}rf.prototype.lb=function(i){return i&&i.x==this.x&&i.y==this.y};function cm(){}cm.prototype.nh=function(){aa("lngLatToPoint方法未实现")};cm.prototype.wi=function(){aa("pointToLngLat方法未实现")};function Xi(){}Xi.prototype=new cm;ob(Xi,{$O:637099681e-2,lG:[1289059486e-2,836237787e-2,5591021,348198983e-2,167804312e-2,0],Au:[75,60,45,30,15,0],fP:[[1410526172116255e-23,898305509648872e-20,-1.9939833816331,200.9824383106796,-187.2403703815547,91.6087516669843,-23.38765649603339,2.57121317296198,-.03801003308653,173379812e-1],[-7435856389565537e-24,8983055097726239e-21,-.78625201886289,96.32687599759846,-1.85204757529826,-59.36935905485877,47.40033549296737,-16.50741931063887,2.28786674699375,1026014486e-2],[-3030883460898826e-23,898305509983578e-20,.30071316287616,59.74293618442277,7.357984074871,-25.38371002664745,13.45380521110908,-3.29883767235584,.32710905363475,685681737e-2],[-1981981304930552e-23,8983055099779535e-21,.03278182852591,40.31678527705744,.65659298677277,-4.44255534477492,.85341911805263,.12923347998204,-.04625736007561,448277706e-2],[309191371068437e-23,8983055096812155e-21,6995724062e-14,23.10934304144901,-.00023663490511,-.6321817810242,-.00663494467273,.03430082397953,-.00466043876332,25551644e-1],[2890871144776878e-24,8983055095805407e-21,-3068298e-14,7.47137025468032,-353937994e-14,-.02145144861037,-1234426596e-14,.00010322952773,-323890364e-14,826088.5]],iG:[[-.0015702102444,111320.7020616939,0x60e374c3105a3,-0x24bb4115e2e164,0x5cc55543bb0ae8,-0x7ce070193f3784,0x5e7ca61ddf8150,-0x261a578d8b24d0,0x665d60f3742ca,82.5],[.0008277824516172526,111320.7020463578,6477955746671607e-7,-4082003173641316e-6,1077490566351142e-5,-1517187553151559e-5,1205306533862167e-5,-5124939663577472e-6,9133119359512032e-7,67.5],[.00337398766765,111320.7020202162,4481351045890365e-9,-2339375119931662e-8,7968221547186455e-8,-1159649932797253e-7,9723671115602145e-8,-4366194633752821e-8,8477230501135234e-9,52.5],[.00220636496208,111320.7020209128,51751.86112841131,3796837749470245e-9,992013.7397791013,-122195221711287e-8,1340652697009075e-9,-620943.6990984312,144416.9293806241,37.5],[-.0003441963504368392,111320.7020576856,278.2353980772752,2485758690035394e-9,6070.750963243378,54821.18345352118,9540.606633304236,-2710.55326746645,1405.483844121726,22.5],[-.0003218135878613132,111320.7020701615,.00369383431289,823725.6402795718,.46104986909093,2351.343141331292,1.58060784298199,8.77738589078284,.37238884252424,7.45]],Z1:function(a,t){if(!a||!t)return 0;var n,r,a=this.Fb(a);return a?(n=this.Tk(a.lng),r=this.Tk(a.lat),t=this.Fb(t),t?this.Pe(n,this.Tk(t.lng),r,this.Tk(t.lat)):0):0},Vo:function(e,t){return!e||!t?0:(e.lng=this.JD(e.lng,-180,180),e.lat=this.ND(e.lat,-74,74),t.lng=this.JD(t.lng,-180,180),t.lat=this.ND(t.lat,-74,74),this.Pe(this.Tk(e.lng),this.Tk(t.lng),this.Tk(e.lat),this.Tk(t.lat)))},Fb:function(e){if(e===Vl||e===C0)return new zr(0,0);var t,n;t=new zr(Math.abs(e.lng),Math.abs(e.lat));for(var r=0;r=this.lG[r]){n=this.fP[r];break}return e=this.gK(e,n),e=new zr(e.lng.toFixed(6),e.lat.toFixed(6))},Eb:function(e){if(e===Vl||e===C0||180e.lng||90e.lat)return new zr(0,0);var t,n;e.lng=this.JD(e.lng,-180,180),e.lat=this.ND(e.lat,-74,74),t=new zr(e.lng,e.lat);for(var r=0;r=this.Au[r]){n=this.iG[r];break}if(!n){for(r=0;re.lng?-1:1),r=r*(0>e.lat?-1:1);return new zr(n,r)}},Pe:function(e,t,n,r){return this.$O*Math.acos(Math.sin(n)*Math.sin(r)+Math.cos(n)*Math.cos(r)*Math.cos(t-e))},Tk:function(e){return Math.PI*e/180},Z3:function(e){return 180*e/Math.PI},ND:function(e,t,n){return t!=Vl&&(e=Math.max(e,t)),n!=Vl&&(e=Math.min(e,n)),e},JD:function(e,t,n){for(;e>n;)e-=n-t;for(;ei.length)&&(e=i.length);for(var t=0,n=new Array(e);t=-90&&r<=90,"invalid latitude"),e*=fm;var a=n*Da,s=r*Da,o=e*(a+ui)/(2*ui),u=e*(ui-Math.log(Math.tan(fb+s*.5)))/(2*ui);return[o,u]}function k0(i,e){var t=Yr(i,2),n=t[0],r=t[1];e*=fm;var a=n/e*(2*ui)-ui,s=2*(Math.atan(Math.exp(ui-r/e*(2*ui)))-fb);return[a*T0,s*T0]}function _2(i){var e=i.latitude,t=i.longitude,n=i.zoom,r=i.scale,a=i.highPrecision,s=a===void 0?!1:a;r=r!==void 0?r:hb(n),ms(Number.isFinite(e)&&Number.isFinite(t)&&Number.isFinite(r));var o={},u=fm*r,l=Math.cos(e*Da),c=u/360,f=c/l,h=u/D0/l;if(o.pixelsPerMeter=[h,-h,h],o.metersPerPixel=[1/h,-1/h,1/h],o.pixelsPerDegree=[c,-f,h],o.degreesPerPixel=[1/c,-1/f,1/h],s){var p=Da*Math.tan(e*Da)/l,m=c*p/2,v=u/D0*p,g=v/f*h;o.pixelsPerDegree2=[0,-m,v],o.pixelsPerMeter2=[g,0,g]}return o}function E2(i){var e=i.height,t=i.pitch,n=i.bearing,r=i.altitude,a=i.center,s=a===void 0?null:a,o=i.flipY,u=o===void 0?!1:o,l=yu();return hd(l,l,[0,0,-r]),pd(l,l,[1,1,1/e]),f2(l,l,-t*Da),h2(l,l,n*Da),u&&pd(l,l,[1,-1,1]),s&&hd(l,l,b2([],s)),l}function C2(i){var e=i.width,t=i.height,n=i.altitude,r=n===void 0?w2:n,a=i.pitch,s=a===void 0?0:a,o=i.nearZMultiplier,u=o===void 0?1:o,l=i.farZMultiplier,c=l===void 0?1:l,f=s*Da,h=Math.atan(.5/r),p=Math.sin(h)*r/Math.sin(Math.PI/2-f-h),m=Math.cos(Math.PI/2-f)*p+r;return{fov:2*Math.atan(t/2/r),aspect:e/t,focalDistance:r,near:u,far:m*c}}function S2(i){var e=i.width,t=i.height,n=i.pitch,r=i.altitude,a=i.nearZMultiplier,s=i.farZMultiplier,o=C2({width:e,height:t,altitude:r,pitch:n,nearZMultiplier:a,farZMultiplier:s}),u=o.fov,l=o.aspect,c=o.near,f=o.far,h=d2([],u,l,c,f);return h}function A2(i,e){var t=Yr(i,3),n=t[0],r=t[1],a=t[2],s=a===void 0?0:a;return ms(Number.isFinite(n)&&Number.isFinite(r)&&Number.isFinite(s)),Tc(e,[n,r,s,1])}function pb(i,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,n=Yr(i,3),r=n[0],a=n[1],s=n[2];if(ms(Number.isFinite(r)&&Number.isFinite(a),"invalid pixel coordinate"),Number.isFinite(s)){var o=Tc(e,[r,a,s,1]);return o}var u=Tc(e,[r,a,0,1]),l=Tc(e,[r,a,1,1]),c=u[2],f=l[2],h=c===f?0:((t||0)-c)/(f-c);return g2([],u,l,h)}var M0=yu(),x2=function(){function i(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.width,n=e.height,r=e.viewMatrix,a=r===void 0?M0:r,s=e.projectionMatrix,o=s===void 0?M0:s;ub(this,i),this.width=t||1,this.height=n||1,this.scale=1,this.pixelsPerMeter=1,this.viewMatrix=a,this.projectionMatrix=o;var u=yu();bu(u,u,this.projectionMatrix),bu(u,u,this.viewMatrix),this.viewProjectionMatrix=u;var l=yu();pd(l,l,[this.width/2,-this.height/2,1]),hd(l,l,[1,-1,0]),bu(l,l,this.viewProjectionMatrix);var c=c2(yu(),l);if(!c)throw new Error("Pixel project matrix not invertible");this.pixelProjectionMatrix=l,this.pixelUnprojectionMatrix=c,this.equals=this.equals.bind(this),this.project=this.project.bind(this),this.unproject=this.unproject.bind(this),this.projectPosition=this.projectPosition.bind(this),this.unprojectPosition=this.unprojectPosition.bind(this),this.projectFlat=this.projectFlat.bind(this),this.unprojectFlat=this.unprojectFlat.bind(this)}return lb(i,[{key:"equals",value:function(t){return t instanceof i?t.width===this.width&&t.height===this.height&&A0(t.projectionMatrix,this.projectionMatrix)&&A0(t.viewMatrix,this.viewMatrix):!1}},{key:"project",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.topLeft,a=r===void 0?!0:r,s=this.projectPosition(t),o=A2(s,this.pixelProjectionMatrix),u=Yr(o,2),l=u[0],c=u[1],f=a?c:this.height-c;return t.length===2?[l,f]:[l,f,o[2]]}},{key:"unproject",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.topLeft,a=r===void 0?!0:r,s=n.targetZ,o=Yr(t,3),u=o[0],l=o[1],c=o[2],f=a?l:this.height-l,h=s&&s*this.pixelsPerMeter,p=pb([u,f,c],this.pixelUnprojectionMatrix,h),m=this.unprojectPosition(p),v=Yr(m,3),g=v[0],d=v[1],y=v[2];return Number.isFinite(c)?[g,d,y]:Number.isFinite(s)?[g,d,s]:[g,d]}},{key:"projectPosition",value:function(t){var n=this.projectFlat(t),r=Yr(n,2),a=r[0],s=r[1],o=(t[2]||0)*this.pixelsPerMeter;return[a,s,o]}},{key:"unprojectPosition",value:function(t){var n=this.unprojectFlat(t),r=Yr(n,2),a=r[0],s=r[1],o=(t[2]||0)/this.pixelsPerMeter;return[a,s,o]}},{key:"projectFlat",value:function(t){return arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.scale,t}},{key:"unprojectFlat",value:function(t){return arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.scale,t}}]),i}();function T2(i){var e=i.width,t=i.height,n=i.bounds,r=i.minExtent,a=r===void 0?0:r,s=i.maxZoom,o=s===void 0?24:s,u=i.padding,l=u===void 0?0:u,c=i.offset,f=c===void 0?[0,0]:c,h=Yr(n,2),p=Yr(h[0],2),m=p[0],v=p[1],g=Yr(h[1],2),d=g[0],y=g[1];if(Number.isFinite(l)){var b=l;l={top:b,bottom:b,left:b,right:b}}else ms(Number.isFinite(l.top)&&Number.isFinite(l.bottom)&&Number.isFinite(l.left)&&Number.isFinite(l.right));var _=new db({width:e,height:t,longitude:0,latitude:0,zoom:0}),w=_.project([m,y]),E=_.project([d,v]),x=[Math.max(Math.abs(E[0]-w[0]),a),Math.max(Math.abs(E[1]-w[1]),a)],S=[e-l.left-l.right-Math.abs(f[0])*2,t-l.top-l.bottom-Math.abs(f[1])*2];ms(S[0]>0&&S[1]>0);var T=S[0]/x[0],L=S[1]/x[1],B=(l.right-l.left)/2/T,k=(l.bottom-l.top)/2/L,R=[(E[0]+w[0])/2+B,(E[1]+w[1])/2+k],F=_.unproject(R),W=_.zoom+Math.log2(Math.abs(Math.min(T,L)));return{longitude:F[0],latitude:F[1],zoom:Math.min(W,o)}}var db=function(i){r2(e,i);function e(){var t,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=n.width,a=n.height,s=n.latitude,o=s===void 0?0:s,u=n.longitude,l=u===void 0?0:u,c=n.zoom,f=c===void 0?0:c,h=n.pitch,p=h===void 0?0:h,m=n.bearing,v=m===void 0?0:m,g=n.altitude,d=g===void 0?1.5:g,y=n.nearZMultiplier,b=n.farZMultiplier;ub(this,e),r=r||1,a=a||1;var _=hb(f);d=Math.max(.75,d);var w=Nh([l,o],_);w[2]=0;var E=S2({width:r,height:a,pitch:p,bearing:v,altitude:d,nearZMultiplier:y||1/a,farZMultiplier:b||1.01}),x=E2({height:a,center:w,pitch:p,bearing:v,altitude:d,flipY:!0});return t=n2(this,cd(e).call(this,{width:r,height:a,viewMatrix:x,projectionMatrix:E})),t.latitude=o,t.longitude=l,t.zoom=f,t.pitch=p,t.bearing=v,t.altitude=d,t.scale=_,t.center=w,t.pixelsPerMeter=_2(du(du(t))).pixelsPerMeter[2],Object.freeze(du(du(t))),t}return lb(e,[{key:"projectFlat",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.scale;return Nh(n,r)}},{key:"unprojectFlat",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.scale;return k0(n,r)}},{key:"getMapCenterByLngLatPosition",value:function(n){var r=n.lngLat,a=n.pos,s=pb(a,this.pixelUnprojectionMatrix),o=Nh(r,this.scale),u=x0([],o,m2([],s)),l=x0([],this.center,u);return k0(l,this.scale)}},{key:"getLocationAtPoint",value:function(n){var r=n.lngLat,a=n.pos;return this.getMapCenterByLngLatPosition({lngLat:r,pos:a})}},{key:"fitBounds",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=this.width,s=this.height,o=T2(Object.assign({width:a,height:s,bounds:n},r)),u=o.longitude,l=o.latitude,c=o.zoom;return new e({width:a,height:s,longitude:u,latitude:l,zoom:c})}}]),e}(x2),D2=Math.PI,Gh=D2/180,k2=512,I0=4003e4;function vb(i){return Math.pow(2,i)}function M2(i){var e=i.latitude,t=e===void 0?0:e,n=i.zoom,r=n===void 0?1:n,a=i.scale,s=i.highPrecision,o=s===void 0?!1:s;a=a!==void 0?a:vb(r);var u={},l=k2*a*window.devicePixelRatio,c=Math.cos(t*Gh),f=l/360,h=f/c,p=l/I0/c;if(u.pixelsPerMeter=[p,-p,p],u.metersPerPixel=[1/p,-1/p,1/p],u.pixelsPerDegree=[f,-h,p],u.degreesPerPixel=[1/f,-1/h,1/p],o){var m=Gh*Math.tan(t*Gh)/c,v=f*m/2,g=l/I0*m,d=g/h*p;u.pixelsPerDegree2=[0,-v,g],u.pixelsPerMeter2=[d,0,d]}return u}var I2=function(){function i(e,t,n){oe(this,i),this.id=e,this.type="custom",this.renderingMode="2d",this.url=t,this.options={subdomains:null,minZoom:0,maxZoom:24,tileType:"xyz"},jC(this,n),this.program,this.showTiles=[],this.tileCache={},this.gridCache={},this.matrix,this.map,this.isLayerShow,this.transformBaidu=new e2}return ue(i,[{key:"onAdd",value:function(t,n){var r=this;this.map=t;var a="uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_TextCoord;varying vec2 v_TextCoord;const float TILE_SIZE = 512.0;const float PI = 3.1415926536;const float WORLD_SCALE = TILE_SIZE / (PI * 2.0);uniform float u_project_scale;uniform bool u_is_offset;uniform vec3 u_pixels_per_degree;uniform vec3 u_pixels_per_degree2;uniform vec3 u_pixels_per_meter;uniform vec2 u_viewport_center;uniform vec4 u_viewport_center_projection;uniform vec2 u_viewport_size;float project_scale(float meters) { return meters * u_pixels_per_meter.z;}vec3 project_scale(vec3 position) { return position * u_pixels_per_meter;}vec2 project_mercator(vec2 lnglat) { float x = lnglat.x; return vec2( radians(x) + PI, PI - log(tan(PI * 0.25 + radians(lnglat.y) * 0.5)) );}vec4 project_offset(vec4 offset) { float dy = offset.y; dy = clamp(dy, -1., 1.); vec3 pixels_per_unit = u_pixels_per_degree + u_pixels_per_degree2 * dy; return vec4(offset.xyz * pixels_per_unit, offset.w);}vec4 project_position(vec4 position) { if (u_is_offset) { float X = position.x - u_viewport_center.x; float Y = position.y - u_viewport_center.y; return project_offset(vec4(X, Y, position.z, position.w)); } else { return vec4( project_mercator(position.xy) * WORLD_SCALE * u_project_scale, project_scale(position.z), position.w ); }}vec4 project_to_clipping_space(vec3 position) { vec4 project_pos = project_position(vec4(position, 1.0)); return u_matrix * project_pos + u_viewport_center_projection;}void main() { vec4 project_pos = project_position(vec4(a_pos, 0.0, 1.0)); gl_Position = u_matrix * project_pos + u_viewport_center_projection; v_TextCoord = a_TextCoord;}",s="precision mediump float;uniform sampler2D u_Sampler; varying vec2 v_TextCoord; void main() { gl_FragColor = texture2D(u_Sampler, v_TextCoord);}",o=n.createShader(n.VERTEX_SHADER);n.shaderSource(o,a),n.compileShader(o);var u=n.createShader(n.FRAGMENT_SHADER);n.shaderSource(u,s),n.compileShader(u),this.program=n.createProgram(),n.attachShader(this.program,o),n.attachShader(this.program,u),n.linkProgram(this.program),this.a_Pos=n.getAttribLocation(this.program,"a_pos"),this.a_TextCoord=n.getAttribLocation(this.program,"a_TextCoord"),this.isLayerShow=!0,t.on("move",function(){r.isLayerShow&&r.update(n,t)}),this.update(n,t)}},{key:"update",value:function(t,n){var r=this,a=n.getCenter(),s,o=n.getBounds(),u,l;if(this.options.tileType==="xyz"){s=parseInt(n.getZoom()+1.4);var c=ud(o.getNorthWest()),f=ud(o.getSouthEast());u=Lh(c.lng,c.lat,s),l=Lh(f.lng,f.lat,s)}else if(this.options.tileType==="bd09"){s=parseInt(n.getZoom()+1.8);var h=_0(o.getSouthWest()),p=_0(o.getNorthEast());u=this.transformBaidu.lnglatToTile(h.lng,h.lat,s),l=this.transformBaidu.lnglatToTile(p.lng,p.lat,s)}for(var m=[],v=u[0];v<=l[0];v++)for(var g=u[1];g<=l[1];g++){var d={x:v,y:g,z:s};m.push(d),this.addGridCache(d,0,0),v===l[0]&&this.addGridCache(d,1,0),g===l[1]&&this.addGridCache(d,0,1),v===l[0]&&g===l[1]&&this.addGridCache(d,1,1)}if(this.options.tileType==="xyz")var y=Lh(a.lng,a.lat,s);else this.options.tileType==="bd09"&&(y=this.transformBaidu.lnglatToTile(a.lng,a.lat,s));m.sort(function(E,x){return r.tileDistance(E,y)-r.tileDistance(x,y)}),this.showTiles=[];for(var b=0,_=m;b<_.length;b++){var d=_[b];if(this.tileCache[this.createTileKey(d)])this.showTiles.push(this.tileCache[this.createTileKey(d)]);else{var w=this.createTile(t,d);this.showTiles.push(w),this.tileCache[this.createTileKey(d)]=w}}}},{key:"addGridCache",value:function(t,n,r){var a=this.createTileKey(t.x+n,t.y+r,t.z);this.gridCache[a]||(this.options.tileType==="xyz"?this.gridCache[a]=ib(XC(t.x+n,t.y+r,t.z)):this.options.tileType==="bd09"&&(this.gridCache[a]=qC(this.transformBaidu.pixelToLnglat(0,0,t.x+n,t.y+r,t.z))))}},{key:"tileDistance",value:function(t,n){return Math.sqrt(Math.pow(t.x-n[0],2)+Math.pow(t.y-n[1],2))}},{key:"createTileKey",value:function(t,n,r){if(t instanceof Object)return t.z+"/"+t.x+"/"+t.y;var a=t;return r+"/"+a+"/"+n}},{key:"createTile",value:function(t,n){var r=this,a=KC(this.url,{s:this.options.subdomains[Math.abs(n.x+n.y)%this.options.subdomains.length],x:n.x,y:n.y,z:n.z}),s={xyz:n},o,u,l,c;this.options.tileType==="xyz"?(o=this.gridCache[this.createTileKey(n)],u=this.gridCache[this.createTileKey(n.x+1,n.y,n.z)],l=this.gridCache[this.createTileKey(n.x,n.y+1,n.z)],c=this.gridCache[this.createTileKey(n.x+1,n.y+1,n.z)]):this.options.tileType==="bd09"&&(o=this.gridCache[this.createTileKey(n.x,n.y+1,n.z)],u=this.gridCache[this.createTileKey(n.x+1,n.y+1,n.z)],l=this.gridCache[this.createTileKey(n)],c=this.gridCache[this.createTileKey(n.x+1,n.y,n.z)]);var f=new Float32Array([o.lng,o.lat,0,1,l.lng,l.lat,0,0,u.lng,u.lat,1,1,c.lng,c.lat,1,0]),h=f.BYTES_PER_ELEMENT,p=t.createBuffer();t.bindBuffer(t.ARRAY_BUFFER,p),t.bufferData(t.ARRAY_BUFFER,f,t.STATIC_DRAW),s.buffer=p,s.PosParam={size:2,stride:h*4,offset:0},s.TextCoordParam={size:2,stride:h*4,offset:h*2};var m=new Image;return m.onload=function(){s.texture=t.createTexture(),t.bindTexture(t.TEXTURE_2D,s.texture),t.pixelStorei(t.UNPACK_FLIP_Y_WEBGL,1),t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,m),s.isLoad=!0,r.map.triggerRepaint()},m.crossOrigin=!0,m.src=a,s}},{key:"render",value:function(t,n){if(!(this.map.getZoom()this.options.maxZoom)){this.matrix=n,t.useProgram(this.program);var r=rb(this.showTiles),a;try{for(r.s();!(a=r.n()).done;){var s=a.value;if(s.isLoad){t.bindTexture(t.TEXTURE_2D,s.texture),t.activeTexture(t.TEXTURE0),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.MIRRORED_REPEAT);var o=t.getUniformLocation(this.program,"u_Sampler");t.uniform1i(o,0),t.bindBuffer(t.ARRAY_BUFFER,s.buffer),t.vertexAttribPointer(this.a_Pos,s.PosParam.size,t.FLOAT,!1,s.PosParam.stride,s.PosParam.offset),t.vertexAttribPointer(this.a_TextCoord,s.TextCoordParam.size,t.FLOAT,!1,s.TextCoordParam.stride,s.TextCoordParam.offset),t.enableVertexAttribArray(this.a_Pos),t.enableVertexAttribArray(this.a_TextCoord),this.setVertex(t),t.enable(t.BLEND),t.blendFunc(t.SRC_ALPHA,t.ONE_MINUS_SRC_ALPHA),t.drawArrays(t.TRIANGLE_STRIP,0,4)}}}catch(u){r.e(u)}finally{r.f()}}}},{key:"setVertex",value:function(t){var n=this.map.getZoom(),r=this.map.getBearing(),a=this.map.getPitch(),s=this.map.getCenter(),o=new db({width:t.drawingBufferWidth,height:t.drawingBufferHeight,longitude:s.lng,latitude:s.lat,zoom:n,pitch:a,bearing:r}),u=o.viewProjectionMatrix,l=o.projectionMatrix,c=o.viewMatrix,f=o.viewMatrixUncentered,h={u_matrix:u,u_point_size:this.pointSize,u_is_offset:!1,u_pixels_per_degree:[0,0,0],u_pixels_per_degree2:[0,0,0],u_viewport_center:[0,0],u_pixels_per_meter:[0,0,0],u_project_scale:vb(n),u_viewport_center_projection:[0,0,0,0]};if(n>0){var p=M2({longitude:s.lng,latitude:s.lat,zoom:n,highPrecision:!0}),m=p.pixelsPerDegree,v=p.pixelsPerDegree2,g=o.projectFlat([Math.fround(s.lng),Math.fround(s.lat)],Math.pow(2,n)),d=cb([],[g[0],g[1],0,1],u),y=f||c,b=bu([],l,y),_=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0];b=bu([],b,_),h.u_matrix=b,h.u_is_offset=!0,h.u_viewport_center=[Math.fround(s.lng),Math.fround(s.lat)],h.u_viewport_center_projection=d,h.u_pixels_per_degree=m&&m.map(function(w){return Math.fround(w)}),h.u_pixels_per_degree2=v&&v.map(function(w){return Math.fround(w)})}t.uniformMatrix4fv(t.getUniformLocation(this.program,"u_matrix"),!1,h.u_matrix),t.uniform1f(t.getUniformLocation(this.program,"u_project_scale"),h.u_project_scale),t.uniform1i(t.getUniformLocation(this.program,"u_is_offset"),h.u_is_offset?1:0),t.uniform3fv(t.getUniformLocation(this.program,"u_pixels_per_degree"),h.u_pixels_per_degree),t.uniform3fv(t.getUniformLocation(this.program,"u_pixels_per_degree2"),h.u_pixels_per_degree2),t.uniform3fv(t.getUniformLocation(this.program,"u_pixels_per_meter"),h.u_pixels_per_meter),t.uniform2fv(t.getUniformLocation(this.program,"u_viewport_center"),h.u_viewport_center),t.uniform4fv(t.getUniformLocation(this.program,"u_viewport_center_projection"),h.u_viewport_center_projection)}},{key:"onRemove",value:function(t,n){this.isLayerShow=!1}}]),i}();function P2(i,e,t,n){var r=t||{};n||(n={TianDiTu:{Normal:{Map:"http://t{s}.tianditu.com/DataServer?T=vec_w&X={x}&Y={y}&L={z}&tk={key}",Annotion:"http://t{s}.tianditu.com/DataServer?T=cva_w&X={x}&Y={y}&L={z}&tk={key}",minzoom:0,maxzoom:18},Satellite:{Map:"http://t{s}.tianditu.com/DataServer?T=img_w&X={x}&Y={y}&L={z}&tk={key}",Annotion:"http://t{s}.tianditu.com/DataServer?T=cia_w&X={x}&Y={y}&L={z}&tk={key}",minzoom:0,maxzoom:18},Terrain:{Map:"http://t{s}.tianditu.com/DataServer?T=ter_w&X={x}&Y={y}&L={z}&tk={key}",Annotion:"http://t{s}.tianditu.com/DataServer?T=cta_w&X={x}&Y={y}&L={z}&tk={key}",minzoom:0,maxzoom:14},Subdomains:["0","1","2","3","4","5","6","7"],key:""},GaoDe:{Normal:{Map:"http://webrd0{s}.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={x}&y={y}&z={z}",minzoom:0,maxzoom:18},Normal_NoTag:{Map:"https://wprd0{s}.is.autonavi.com/appmaptile?lang=zh_cn&size=1&style=7&scl=1<ype=11&x={x}&y={y}&z={z}",minzoom:3,maxzoom:18},Satellite:{Map:"http://webst0{s}.is.autonavi.com/appmaptile?style=6&x={x}&y={y}&z={z}",Annotion:"http://webst0{s}.is.autonavi.com/appmaptile?style=8&x={x}&y={y}&z={z}",minzoom:3,maxzoom:18},Subdomains:["1","2","3","4"]},Baidu:{Normal:{Map:"http://online{s}.map.bdimg.com/onlinelabel/?qt=tile&x={x}&y={y}&z={z}&styles=pl&scaler=1&p=1"},Satellite:{Map:"http://shangetu{s}.map.bdimg.com/it/u=x={x};y={y};z={z};v=009;type=sate&fm=46",Annotion:"http://online{s}.map.bdimg.com/tile/?qt=tile&x={x}&y={y}&z={z}&styles=sl&v=020"},Subdomains:"0123456789",tileType:"bd09"},Geoq:{Normal:{Map:"http://map.geoq.cn/ArcGIS/rest/services/ChinaOnlineCommunity/MapServer/tile/{z}/{y}/{x}",PurplishBlue:"http://map.geoq.cn/ArcGIS/rest/services/ChinaOnlineStreetPurplishBlue/MapServer/tile/{z}/{y}/{x}",Gray:"http://map.geoq.cn/ArcGIS/rest/services/ChinaOnlineStreetGray/MapServer/tile/{z}/{y}/{x}",Warm:"http://map.geoq.cn/ArcGIS/rest/services/ChinaOnlineStreetWarm/MapServer/tile/{z}/{y}/{x}",minzoom:3,maxzoom:16},Subdomains:[]},OSM:{Normal:{Map:"http://{s}.tile.osm.org/{z}/{x}/{y}.png",minzoom:0,maxzoom:18},Subdomains:["a","b","c"]}});var a=e.split("."),s=a[0],o=a[1],u=a[2],l=n[s][o][u],c=n[s].Subdomains,f=n[s][o].minzoom,h=n[s][o].maxzoom,p=n[s].tileType,m;if(s==="TianDiTu"||s==="OSM"){var v=r.key||n[s].key,g=[],d=rb(c),y;try{for(d.s();!(y=d.n()).done;){var b=y.value;g.push(l.replace("{s}",b).replace("{key}",v))}}catch(_){d.e(_)}finally{d.f()}m={id:i,type:"raster",source:{type:"raster",tiles:g,tileSize:256,minzoom:f,maxzoom:h}}}else m=new I2(i,l,{subdomains:c,minZoom:f,maxZoom:h,tileType:p});return m}var Uh=[];function mb(i,e,t,n){Uh.forEach(function(r){i.getLayer(r)&&i.removeLayer(r),i.getSource(r)&&i.removeSource(r)}),Uh=[],e.forEach(function(r){Uh.push(r[0]);var a=t?{key:t}:null,s=P2(r[0],r[1],a,n);i.addLayer(s,"mx.layer.fill")})}function gb(i,e,t){e.forEach(function(n,r){if(n=="Image"){var a="https://gac-geo.googlecnapps.cn/maps/vt?lyrs=s&x={x}&y={y}&z={z}";t&&r"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}Number.EPSILON===void 0&&(Number.EPSILON=Math.pow(2,-52));Number.isInteger===void 0&&(Number.isInteger=function(i){return typeof i=="number"&&isFinite(i)&&Math.floor(i)===i});Math.sign===void 0&&(Math.sign=function(i){return i<0?-1:i>0?1:+i});"name"in Function.prototype||Object.defineProperty(Function.prototype,"name",{get:function(){return this.toString().match(/^\s*function\s*([^\(\s]*)/)[1]}});Object.assign===void 0&&(Object.assign=function(i){if(i==null)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(i),t=1;t>8&255]+Xn[e>>16&255]+Xn[e>>24&255]+"-"+Xn[t&255]+Xn[t>>8&255]+"-"+Xn[t>>16&15|64]+Xn[t>>24&255]+"-"+Xn[n&63|128]+Xn[n>>8&255]+"-"+Xn[n>>16&255]+Xn[n>>24&255]+Xn[r&255]+Xn[r>>8&255]+Xn[r>>16&255]+Xn[r>>24&255];return a.toUpperCase()},clamp:function(e,t,n){return Math.max(t,Math.min(n,e))},euclideanModulo:function(e,t){return(e%t+t)%t},mapLinear:function(e,t,n,r,a){return r+(e-t)*(a-r)/(n-t)},lerp:function(e,t,n){return(1-n)*e+n*t},smoothstep:function(e,t,n){return e<=t?0:e>=n?1:(e=(e-t)/(n-t),e*e*(3-2*e))},smootherstep:function(e,t,n){return e<=t?0:e>=n?1:(e=(e-t)/(n-t),e*e*e*(e*(e*6-15)+10))},randInt:function(e,t){return e+Math.floor(Math.random()*(t-e+1))},randFloat:function(e,t){return e+Math.random()*(t-e)},randFloatSpread:function(e){return e*(.5-Math.random())},degToRad:function(e){return e*kt.DEG2RAD},radToDeg:function(e){return e*kt.RAD2DEG},isPowerOfTwo:function(e){return(e&e-1)===0&&e!==0},ceilPowerOfTwo:function(e){return Math.pow(2,Math.ceil(Math.log(e)/Math.LN2))},floorPowerOfTwo:function(e){return Math.pow(2,Math.floor(Math.log(e)/Math.LN2))},setQuaternionFromProperEuler:function(e,t,n,r,a){var s=Math.cos,o=Math.sin,u=s(n/2),l=o(n/2),c=s((t+r)/2),f=o((t+r)/2),h=s((t-r)/2),p=o((t-r)/2),m=s((r-t)/2),v=o((r-t)/2);a==="XYX"?e.set(u*f,l*h,l*p,u*c):a==="YZY"?e.set(l*p,u*f,l*h,u*c):a==="ZXZ"?e.set(l*h,l*p,u*f,u*c):a==="XZX"?e.set(u*f,l*v,l*m,u*c):a==="YXY"?e.set(l*m,u*f,l*v,u*c):a==="ZYZ"?e.set(l*v,l*m,u*f,u*c):console.warn("THREE.MathUtils: .setQuaternionFromProperEuler() encountered an unknown order.")}};function De(i,e){this.x=i||0,this.y=e||0}Object.defineProperties(De.prototype,{width:{get:function(){return this.x},set:function(e){this.x=e}},height:{get:function(){return this.y},set:function(e){this.y=e}}});Object.assign(De.prototype,{isVector2:!0,set:function(e,t){return this.x=e,this.y=t,this},setScalar:function(e){return this.x=e,this.y=e,this},setX:function(e){return this.x=e,this},setY:function(e){return this.y=e,this},setComponent:function(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;default:throw new Error("index is out of range: "+e)}return this},getComponent:function(e){switch(e){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+e)}},clone:function(){return new this.constructor(this.x,this.y)},copy:function(e){return this.x=e.x,this.y=e.y,this},add:function(e,t){return t!==void 0?(console.warn("THREE.Vector2: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(e,t)):(this.x+=e.x,this.y+=e.y,this)},addScalar:function(e){return this.x+=e,this.y+=e,this},addVectors:function(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this},addScaledVector:function(e,t){return this.x+=e.x*t,this.y+=e.y*t,this},sub:function(e,t){return t!==void 0?(console.warn("THREE.Vector2: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(e,t)):(this.x-=e.x,this.y-=e.y,this)},subScalar:function(e){return this.x-=e,this.y-=e,this},subVectors:function(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this},multiply:function(e){return this.x*=e.x,this.y*=e.y,this},multiplyScalar:function(e){return this.x*=e,this.y*=e,this},divide:function(e){return this.x/=e.x,this.y/=e.y,this},divideScalar:function(e){return this.multiplyScalar(1/e)},applyMatrix3:function(e){var t=this.x,n=this.y,r=e.elements;return this.x=r[0]*t+r[3]*n+r[6],this.y=r[1]*t+r[4]*n+r[7],this},min:function(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this},max:function(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this},clamp:function(e,t){return this.x=Math.max(e.x,Math.min(t.x,this.x)),this.y=Math.max(e.y,Math.min(t.y,this.y)),this},clampScalar:function(e,t){return this.x=Math.max(e,Math.min(t,this.x)),this.y=Math.max(e,Math.min(t,this.y)),this},clampLength:function(e,t){var n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(e,Math.min(t,n)))},floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},roundToZero:function(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this},negate:function(){return this.x=-this.x,this.y=-this.y,this},dot:function(e){return this.x*e.x+this.y*e.y},cross:function(e){return this.x*e.y-this.y*e.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(){var e=Math.atan2(this.y,this.x);return e<0&&(e+=2*Math.PI),e},distanceTo:function(e){return Math.sqrt(this.distanceToSquared(e))},distanceToSquared:function(e){var t=this.x-e.x,n=this.y-e.y;return t*t+n*n},manhattanDistanceTo:function(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)},setLength:function(e){return this.normalize().multiplyScalar(e)},lerp:function(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this},lerpVectors:function(e,t,n){return this.subVectors(t,e).multiplyScalar(n).add(e)},equals:function(e){return e.x===this.x&&e.y===this.y},fromArray:function(e,t){return t===void 0&&(t=0),this.x=e[t],this.y=e[t+1],this},toArray:function(e,t){return e===void 0&&(e=[]),t===void 0&&(t=0),e[t]=this.x,e[t+1]=this.y,e},fromBufferAttribute:function(e,t,n){return n!==void 0&&console.warn("THREE.Vector2: offset has been removed from .fromBufferAttribute()."),this.x=e.getX(t),this.y=e.getY(t),this},rotateAround:function(e,t){var n=Math.cos(t),r=Math.sin(t),a=this.x-e.x,s=this.y-e.y;return this.x=a*n-s*r+e.x,this.y=a*r+s*n+e.y,this}});function ar(){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.")}Object.assign(ar.prototype,{isMatrix3:!0,set:function(e,t,n,r,a,s,o,u,l){var c=this.elements;return c[0]=e,c[1]=r,c[2]=o,c[3]=t,c[4]=a,c[5]=u,c[6]=n,c[7]=s,c[8]=l,this},identity:function(){return this.set(1,0,0,0,1,0,0,0,1),this},clone:function(){return new this.constructor().fromArray(this.elements)},copy:function(e){var t=this.elements,n=e.elements;return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],this},setFromMatrix4:function(e){var t=e.elements;return this.set(t[0],t[4],t[8],t[1],t[5],t[9],t[2],t[6],t[10]),this},multiply:function(e){return this.multiplyMatrices(this,e)},premultiply:function(e){return this.multiplyMatrices(e,this)},multiplyMatrices:function(e,t){var n=e.elements,r=t.elements,a=this.elements,s=n[0],o=n[3],u=n[6],l=n[1],c=n[4],f=n[7],h=n[2],p=n[5],m=n[8],v=r[0],g=r[3],d=r[6],y=r[1],b=r[4],_=r[7],w=r[2],E=r[5],x=r[8];return a[0]=s*v+o*y+u*w,a[3]=s*g+o*b+u*E,a[6]=s*d+o*_+u*x,a[1]=l*v+c*y+f*w,a[4]=l*g+c*b+f*E,a[7]=l*d+c*_+f*x,a[2]=h*v+p*y+m*w,a[5]=h*g+p*b+m*E,a[8]=h*d+p*_+m*x,this},multiplyScalar:function(e){var t=this.elements;return t[0]*=e,t[3]*=e,t[6]*=e,t[1]*=e,t[4]*=e,t[7]*=e,t[2]*=e,t[5]*=e,t[8]*=e,this},determinant:function(){var e=this.elements,t=e[0],n=e[1],r=e[2],a=e[3],s=e[4],o=e[5],u=e[6],l=e[7],c=e[8];return t*s*c-t*o*l-n*a*c+n*o*u+r*a*l-r*s*u},getInverse:function(e,t){e&&e.isMatrix4&&console.error("THREE.Matrix3: .getInverse() no longer takes a Matrix4 argument.");var n=e.elements,r=this.elements,a=n[0],s=n[1],o=n[2],u=n[3],l=n[4],c=n[5],f=n[6],h=n[7],p=n[8],m=p*l-c*h,v=c*f-p*u,g=h*u-l*f,d=a*m+s*v+o*g;if(d===0){var y="THREE.Matrix3: .getInverse() can't invert matrix, determinant is 0";if(t===!0)throw new Error(y);return console.warn(y),this.identity()}var b=1/d;return r[0]=m*b,r[1]=(o*h-p*s)*b,r[2]=(c*s-o*l)*b,r[3]=v*b,r[4]=(p*a-o*f)*b,r[5]=(o*u-c*a)*b,r[6]=g*b,r[7]=(s*f-h*a)*b,r[8]=(l*a-s*u)*b,this},transpose:function(){var e,t=this.elements;return e=t[1],t[1]=t[3],t[3]=e,e=t[2],t[2]=t[6],t[6]=e,e=t[5],t[5]=t[7],t[7]=e,this},getNormalMatrix:function(e){return this.setFromMatrix4(e).getInverse(this).transpose()},transposeIntoArray:function(e){var t=this.elements;return e[0]=t[0],e[1]=t[3],e[2]=t[6],e[3]=t[1],e[4]=t[4],e[5]=t[7],e[6]=t[2],e[7]=t[5],e[8]=t[8],this},setUvTransform:function(e,t,n,r,a,s,o){var u=Math.cos(a),l=Math.sin(a);this.set(n*u,n*l,-n*(u*s+l*o)+s+e,-r*l,r*u,-r*(-l*s+u*o)+o+t,0,0,1)},scale:function(e,t){var n=this.elements;return n[0]*=e,n[3]*=e,n[6]*=e,n[1]*=t,n[4]*=t,n[7]*=t,this},rotate:function(e){var t=Math.cos(e),n=Math.sin(e),r=this.elements,a=r[0],s=r[3],o=r[6],u=r[1],l=r[4],c=r[7];return r[0]=t*a+n*u,r[3]=t*s+n*l,r[6]=t*o+n*c,r[1]=-n*a+t*u,r[4]=-n*s+t*l,r[7]=-n*o+t*c,this},translate:function(e,t){var n=this.elements;return n[0]+=e*n[2],n[3]+=e*n[5],n[6]+=e*n[8],n[1]+=t*n[2],n[4]+=t*n[5],n[7]+=t*n[8],this},equals:function(e){for(var t=this.elements,n=e.elements,r=0;r<9;r++)if(t[r]!==n[r])return!1;return!0},fromArray:function(e,t){t===void 0&&(t=0);for(var n=0;n<9;n++)this.elements[n]=e[n+t];return this},toArray:function(e,t){e===void 0&&(e=[]),t===void 0&&(t=0);var n=this.elements;return e[t]=n[0],e[t+1]=n[1],e[t+2]=n[2],e[t+3]=n[3],e[t+4]=n[4],e[t+5]=n[5],e[t+6]=n[6],e[t+7]=n[7],e[t+8]=n[8],e}});var Gs,ys={getDataURL:function(e){var t;if(typeof HTMLCanvasElement>"u")return e.src;if(e instanceof HTMLCanvasElement)t=e;else{Gs===void 0&&(Gs=document.createElementNS("http://www.w3.org/1999/xhtml","canvas")),Gs.width=e.width,Gs.height=e.height;var n=Gs.getContext("2d");e instanceof ImageData?n.putImageData(e,0,0):n.drawImage(e,0,0,e.width,e.height),t=Gs}return t.width>2048||t.height>2048?t.toDataURL("image/jpeg",.6):t.toDataURL("image/png")}},JS=0;function Qt(i,e,t,n,r,a,s,o,u,l){Object.defineProperty(this,"id",{value:JS++}),this.uuid=kt.generateUUID(),this.name="",this.image=i!==void 0?i:Qt.DEFAULT_IMAGE,this.mipmaps=[],this.mapping=e!==void 0?e:Qt.DEFAULT_MAPPING,this.wrapS=t!==void 0?t:gr,this.wrapT=n!==void 0?n:gr,this.magFilter=r!==void 0?r:Nn,this.minFilter=a!==void 0?a:Sl,this.anisotropy=u!==void 0?u:1,this.format=s!==void 0?s:Ai,this.internalFormat=null,this.type=o!==void 0?o:dh,this.offset=new De(0,0),this.repeat=new De(1,1),this.center=new De(0,0),this.rotation=0,this.matrixAutoUpdate=!0,this.matrix=new ar,this.generateMipmaps=!0,this.premultiplyAlpha=!1,this.flipY=!0,this.unpackAlignment=4,this.encoding=l!==void 0?l:Fr,this.version=0,this.onUpdate=null}Qt.DEFAULT_IMAGE=void 0;Qt.DEFAULT_MAPPING=pm;Qt.prototype=Object.assign(Object.create(ha.prototype),{constructor:Qt,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(e){return this.name=e.name,this.image=e.image,this.mipmaps=e.mipmaps.slice(0),this.mapping=e.mapping,this.wrapS=e.wrapS,this.wrapT=e.wrapT,this.magFilter=e.magFilter,this.minFilter=e.minFilter,this.anisotropy=e.anisotropy,this.format=e.format,this.internalFormat=e.internalFormat,this.type=e.type,this.offset.copy(e.offset),this.repeat.copy(e.repeat),this.center.copy(e.center),this.rotation=e.rotation,this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrix.copy(e.matrix),this.generateMipmaps=e.generateMipmaps,this.premultiplyAlpha=e.premultiplyAlpha,this.flipY=e.flipY,this.unpackAlignment=e.unpackAlignment,this.encoding=e.encoding,this},toJSON:function(e){var t=e===void 0||typeof e=="string";if(!t&&e.textures[this.uuid]!==void 0)return e.textures[this.uuid];var n={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(this.image!==void 0){var r=this.image;if(r.uuid===void 0&&(r.uuid=kt.generateUUID()),!t&&e.images[r.uuid]===void 0){var a;if(Array.isArray(r)){a=[];for(var s=0,o=r.length;s1)switch(this.wrapS){case of:e.x=e.x-Math.floor(e.x);break;case gr:e.x=e.x<0?0:1;break;case uf:Math.abs(Math.floor(e.x)%2)===1?e.x=Math.ceil(e.x)-e.x:e.x=e.x-Math.floor(e.x);break}if(e.y<0||e.y>1)switch(this.wrapT){case of:e.y=e.y-Math.floor(e.y);break;case gr:e.y=e.y<0?0:1;break;case uf:Math.abs(Math.floor(e.y)%2)===1?e.y=Math.ceil(e.y)-e.y:e.y=e.y-Math.floor(e.y);break}return this.flipY&&(e.y=1-e.y),e}});Object.defineProperty(Qt.prototype,"needsUpdate",{set:function(e){e===!0&&this.version++}});function $t(i,e,t,n){this.x=i||0,this.y=e||0,this.z=t||0,this.w=n!==void 0?n:1}Object.defineProperties($t.prototype,{width:{get:function(){return this.z},set:function(e){this.z=e}},height:{get:function(){return this.w},set:function(e){this.w=e}}});Object.assign($t.prototype,{isVector4:!0,set:function(e,t,n,r){return this.x=e,this.y=t,this.z=n,this.w=r,this},setScalar:function(e){return this.x=e,this.y=e,this.z=e,this.w=e,this},setX:function(e){return this.x=e,this},setY:function(e){return this.y=e,this},setZ:function(e){return this.z=e,this},setW:function(e){return this.w=e,this},setComponent:function(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;case 3:this.w=t;break;default:throw new Error("index is out of range: "+e)}return this},getComponent:function(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw new Error("index is out of range: "+e)}},clone:function(){return new this.constructor(this.x,this.y,this.z,this.w)},copy:function(e){return this.x=e.x,this.y=e.y,this.z=e.z,this.w=e.w!==void 0?e.w:1,this},add:function(e,t){return t!==void 0?(console.warn("THREE.Vector4: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(e,t)):(this.x+=e.x,this.y+=e.y,this.z+=e.z,this.w+=e.w,this)},addScalar:function(e){return this.x+=e,this.y+=e,this.z+=e,this.w+=e,this},addVectors:function(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this.w=e.w+t.w,this},addScaledVector:function(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this.w+=e.w*t,this},sub:function(e,t){return t!==void 0?(console.warn("THREE.Vector4: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(e,t)):(this.x-=e.x,this.y-=e.y,this.z-=e.z,this.w-=e.w,this)},subScalar:function(e){return this.x-=e,this.y-=e,this.z-=e,this.w-=e,this},subVectors:function(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this.w=e.w-t.w,this},multiplyScalar:function(e){return this.x*=e,this.y*=e,this.z*=e,this.w*=e,this},applyMatrix4:function(e){var t=this.x,n=this.y,r=this.z,a=this.w,s=e.elements;return this.x=s[0]*t+s[4]*n+s[8]*r+s[12]*a,this.y=s[1]*t+s[5]*n+s[9]*r+s[13]*a,this.z=s[2]*t+s[6]*n+s[10]*r+s[14]*a,this.w=s[3]*t+s[7]*n+s[11]*r+s[15]*a,this},divideScalar:function(e){return this.multiplyScalar(1/e)},setAxisAngleFromQuaternion:function(e){this.w=2*Math.acos(e.w);var t=Math.sqrt(1-e.w*e.w);return t<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=e.x/t,this.y=e.y/t,this.z=e.z/t),this},setAxisAngleFromRotationMatrix:function(e){var t,n,r,a,s=.01,o=.1,u=e.elements,l=u[0],c=u[4],f=u[8],h=u[1],p=u[5],m=u[9],v=u[2],g=u[6],d=u[10];if(Math.abs(c-h)b&&y>_?y_?b=0?1:-1,b=1-d*d;if(b>Number.EPSILON){var _=Math.sqrt(b),w=Math.atan2(_,d*y);g=Math.sin(g*w)/_,o=Math.sin(o*w)/_}var E=o*y;if(u=u*g+h*E,l=l*g+p*E,c=c*g+m*E,f=f*g+v*E,g===1-o){var x=1/Math.sqrt(u*u+l*l+c*c+f*f);u*=x,l*=x,c*=x,f*=x}}e[t]=u,e[t+1]=l,e[t+2]=c,e[t+3]=f}});Object.defineProperties(_r.prototype,{x:{get:function(){return this._x},set:function(e){this._x=e,this._onChangeCallback()}},y:{get:function(){return this._y},set:function(e){this._y=e,this._onChangeCallback()}},z:{get:function(){return this._z},set:function(e){this._z=e,this._onChangeCallback()}},w:{get:function(){return this._w},set:function(e){this._w=e,this._onChangeCallback()}}});Object.assign(_r.prototype,{isQuaternion:!0,set:function(e,t,n,r){return this._x=e,this._y=t,this._z=n,this._w=r,this._onChangeCallback(),this},clone:function(){return new this.constructor(this._x,this._y,this._z,this._w)},copy:function(e){return this._x=e.x,this._y=e.y,this._z=e.z,this._w=e.w,this._onChangeCallback(),this},setFromEuler:function(e,t){if(!(e&&e.isEuler))throw new Error("THREE.Quaternion: .setFromEuler() now expects an Euler rotation rather than a Vector3 and order.");var n=e._x,r=e._y,a=e._z,s=e.order,o=Math.cos,u=Math.sin,l=o(n/2),c=o(r/2),f=o(a/2),h=u(n/2),p=u(r/2),m=u(a/2);return s==="XYZ"?(this._x=h*c*f+l*p*m,this._y=l*p*f-h*c*m,this._z=l*c*m+h*p*f,this._w=l*c*f-h*p*m):s==="YXZ"?(this._x=h*c*f+l*p*m,this._y=l*p*f-h*c*m,this._z=l*c*m-h*p*f,this._w=l*c*f+h*p*m):s==="ZXY"?(this._x=h*c*f-l*p*m,this._y=l*p*f+h*c*m,this._z=l*c*m+h*p*f,this._w=l*c*f-h*p*m):s==="ZYX"?(this._x=h*c*f-l*p*m,this._y=l*p*f+h*c*m,this._z=l*c*m-h*p*f,this._w=l*c*f+h*p*m):s==="YZX"?(this._x=h*c*f+l*p*m,this._y=l*p*f+h*c*m,this._z=l*c*m-h*p*f,this._w=l*c*f-h*p*m):s==="XZY"&&(this._x=h*c*f-l*p*m,this._y=l*p*f-h*c*m,this._z=l*c*m+h*p*f,this._w=l*c*f+h*p*m),t!==!1&&this._onChangeCallback(),this},setFromAxisAngle:function(e,t){var n=t/2,r=Math.sin(n);return this._x=e.x*r,this._y=e.y*r,this._z=e.z*r,this._w=Math.cos(n),this._onChangeCallback(),this},setFromRotationMatrix:function(e){var t=e.elements,n=t[0],r=t[4],a=t[8],s=t[1],o=t[5],u=t[9],l=t[2],c=t[6],f=t[10],h=n+o+f,p;return h>0?(p=.5/Math.sqrt(h+1),this._w=.25/p,this._x=(c-u)*p,this._y=(a-l)*p,this._z=(s-r)*p):n>o&&n>f?(p=2*Math.sqrt(1+n-o-f),this._w=(c-u)/p,this._x=.25*p,this._y=(r+s)/p,this._z=(a+l)/p):o>f?(p=2*Math.sqrt(1+o-n-f),this._w=(a-l)/p,this._x=(r+s)/p,this._y=.25*p,this._z=(u+c)/p):(p=2*Math.sqrt(1+f-n-o),this._w=(s-r)/p,this._x=(a+l)/p,this._y=(u+c)/p,this._z=.25*p),this._onChangeCallback(),this},setFromUnitVectors:function(e,t){var n=1e-6,r=e.dot(t)+1;return rMath.abs(e.z)?(this._x=-e.y,this._y=e.x,this._z=0,this._w=r):(this._x=0,this._y=-e.z,this._z=e.y,this._w=r)):(this._x=e.y*t.z-e.z*t.y,this._y=e.z*t.x-e.x*t.z,this._z=e.x*t.y-e.y*t.x,this._w=r),this.normalize()},angleTo:function(e){return 2*Math.acos(Math.abs(kt.clamp(this.dot(e),-1,1)))},rotateTowards:function(e,t){var n=this.angleTo(e);if(n===0)return this;var r=Math.min(1,t/n);return this.slerp(e,r),this},inverse:function(){return this.conjugate()},conjugate:function(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this},dot:function(e){return this._x*e._x+this._y*e._y+this._z*e._z+this._w*e._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 e=this.length();return e===0?(this._x=0,this._y=0,this._z=0,this._w=1):(e=1/e,this._x=this._x*e,this._y=this._y*e,this._z=this._z*e,this._w=this._w*e),this._onChangeCallback(),this},multiply:function(e,t){return t!==void 0?(console.warn("THREE.Quaternion: .multiply() now only accepts one argument. Use .multiplyQuaternions( a, b ) instead."),this.multiplyQuaternions(e,t)):this.multiplyQuaternions(this,e)},premultiply:function(e){return this.multiplyQuaternions(e,this)},multiplyQuaternions:function(e,t){var n=e._x,r=e._y,a=e._z,s=e._w,o=t._x,u=t._y,l=t._z,c=t._w;return this._x=n*c+s*o+r*l-a*u,this._y=r*c+s*u+a*o-n*l,this._z=a*c+s*l+n*u-r*o,this._w=s*c-n*o-r*u-a*l,this._onChangeCallback(),this},slerp:function(e,t){if(t===0)return this;if(t===1)return this.copy(e);var n=this._x,r=this._y,a=this._z,s=this._w,o=s*e._w+n*e._x+r*e._y+a*e._z;if(o<0?(this._w=-e._w,this._x=-e._x,this._y=-e._y,this._z=-e._z,o=-o):this.copy(e),o>=1)return this._w=s,this._x=n,this._y=r,this._z=a,this;var u=1-o*o;if(u<=Number.EPSILON){var l=1-t;return this._w=l*s+t*this._w,this._x=l*n+t*this._x,this._y=l*r+t*this._y,this._z=l*a+t*this._z,this.normalize(),this._onChangeCallback(),this}var c=Math.sqrt(u),f=Math.atan2(c,o),h=Math.sin((1-t)*f)/c,p=Math.sin(t*f)/c;return this._w=s*h+this._w*p,this._x=n*h+this._x*p,this._y=r*h+this._y*p,this._z=a*h+this._z*p,this._onChangeCallback(),this},equals:function(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._w===this._w},fromArray:function(e,t){return t===void 0&&(t=0),this._x=e[t],this._y=e[t+1],this._z=e[t+2],this._w=e[t+3],this._onChangeCallback(),this},toArray:function(e,t){return e===void 0&&(e=[]),t===void 0&&(t=0),e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._w,e},_onChange:function(e){return this._onChangeCallback=e,this},_onChangeCallback:function(){}});var zh=new J,K0=new _r;function J(i,e,t){this.x=i||0,this.y=e||0,this.z=t||0}Object.assign(J.prototype,{isVector3:!0,set:function(e,t,n){return this.x=e,this.y=t,this.z=n,this},setScalar:function(e){return this.x=e,this.y=e,this.z=e,this},setX:function(e){return this.x=e,this},setY:function(e){return this.y=e,this},setZ:function(e){return this.z=e,this},setComponent:function(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;default:throw new Error("index is out of range: "+e)}return this},getComponent:function(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+e)}},clone:function(){return new this.constructor(this.x,this.y,this.z)},copy:function(e){return this.x=e.x,this.y=e.y,this.z=e.z,this},add:function(e,t){return t!==void 0?(console.warn("THREE.Vector3: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(e,t)):(this.x+=e.x,this.y+=e.y,this.z+=e.z,this)},addScalar:function(e){return this.x+=e,this.y+=e,this.z+=e,this},addVectors:function(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this},addScaledVector:function(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this},sub:function(e,t){return t!==void 0?(console.warn("THREE.Vector3: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(e,t)):(this.x-=e.x,this.y-=e.y,this.z-=e.z,this)},subScalar:function(e){return this.x-=e,this.y-=e,this.z-=e,this},subVectors:function(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this},multiply:function(e,t){return t!==void 0?(console.warn("THREE.Vector3: .multiply() now only accepts one argument. Use .multiplyVectors( a, b ) instead."),this.multiplyVectors(e,t)):(this.x*=e.x,this.y*=e.y,this.z*=e.z,this)},multiplyScalar:function(e){return this.x*=e,this.y*=e,this.z*=e,this},multiplyVectors:function(e,t){return this.x=e.x*t.x,this.y=e.y*t.y,this.z=e.z*t.z,this},applyEuler:function(e){return e&&e.isEuler||console.error("THREE.Vector3: .applyEuler() now expects an Euler rotation rather than a Vector3 and order."),this.applyQuaternion(K0.setFromEuler(e))},applyAxisAngle:function(e,t){return this.applyQuaternion(K0.setFromAxisAngle(e,t))},applyMatrix3:function(e){var t=this.x,n=this.y,r=this.z,a=e.elements;return this.x=a[0]*t+a[3]*n+a[6]*r,this.y=a[1]*t+a[4]*n+a[7]*r,this.z=a[2]*t+a[5]*n+a[8]*r,this},applyNormalMatrix:function(e){return this.applyMatrix3(e).normalize()},applyMatrix4:function(e){var t=this.x,n=this.y,r=this.z,a=e.elements,s=1/(a[3]*t+a[7]*n+a[11]*r+a[15]);return this.x=(a[0]*t+a[4]*n+a[8]*r+a[12])*s,this.y=(a[1]*t+a[5]*n+a[9]*r+a[13])*s,this.z=(a[2]*t+a[6]*n+a[10]*r+a[14])*s,this},applyQuaternion:function(e){var t=this.x,n=this.y,r=this.z,a=e.x,s=e.y,o=e.z,u=e.w,l=u*t+s*r-o*n,c=u*n+o*t-a*r,f=u*r+a*n-s*t,h=-a*t-s*n-o*r;return this.x=l*u+h*-a+c*-o-f*-s,this.y=c*u+h*-s+f*-a-l*-o,this.z=f*u+h*-o+l*-s-c*-a,this},project:function(e){return this.applyMatrix4(e.matrixWorldInverse).applyMatrix4(e.projectionMatrix)},unproject:function(e){return this.applyMatrix4(e.projectionMatrixInverse).applyMatrix4(e.matrixWorld)},transformDirection:function(e){var t=this.x,n=this.y,r=this.z,a=e.elements;return this.x=a[0]*t+a[4]*n+a[8]*r,this.y=a[1]*t+a[5]*n+a[9]*r,this.z=a[2]*t+a[6]*n+a[10]*r,this.normalize()},divide:function(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this},divideScalar:function(e){return this.multiplyScalar(1/e)},min:function(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this},max:function(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this},clamp:function(e,t){return this.x=Math.max(e.x,Math.min(t.x,this.x)),this.y=Math.max(e.y,Math.min(t.y,this.y)),this.z=Math.max(e.z,Math.min(t.z,this.z)),this},clampScalar:function(e,t){return this.x=Math.max(e,Math.min(t,this.x)),this.y=Math.max(e,Math.min(t,this.y)),this.z=Math.max(e,Math.min(t,this.z)),this},clampLength:function(e,t){var n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(e,Math.min(t,n)))},floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this},ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this},round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this},roundToZero:function(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this},negate:function(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this},dot:function(e){return this.x*e.x+this.y*e.y+this.z*e.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(e){return this.normalize().multiplyScalar(e)},lerp:function(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this},lerpVectors:function(e,t,n){return this.subVectors(t,e).multiplyScalar(n).add(e)},cross:function(e,t){return t!==void 0?(console.warn("THREE.Vector3: .cross() now only accepts one argument. Use .crossVectors( a, b ) instead."),this.crossVectors(e,t)):this.crossVectors(this,e)},crossVectors:function(e,t){var n=e.x,r=e.y,a=e.z,s=t.x,o=t.y,u=t.z;return this.x=r*u-a*o,this.y=a*s-n*u,this.z=n*o-r*s,this},projectOnVector:function(e){var t=e.lengthSq();if(t===0)return this.set(0,0,0);var n=e.dot(this)/t;return this.copy(e).multiplyScalar(n)},projectOnPlane:function(e){return zh.copy(this).projectOnVector(e),this.sub(zh)},reflect:function(e){return this.sub(zh.copy(e).multiplyScalar(2*this.dot(e)))},angleTo:function(e){var t=Math.sqrt(this.lengthSq()*e.lengthSq());if(t===0)return Math.PI/2;var n=this.dot(e)/t;return Math.acos(kt.clamp(n,-1,1))},distanceTo:function(e){return Math.sqrt(this.distanceToSquared(e))},distanceToSquared:function(e){var t=this.x-e.x,n=this.y-e.y,r=this.z-e.z;return t*t+n*n+r*r},manhattanDistanceTo:function(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)+Math.abs(this.z-e.z)},setFromSpherical:function(e){return this.setFromSphericalCoords(e.radius,e.phi,e.theta)},setFromSphericalCoords:function(e,t,n){var r=Math.sin(t)*e;return this.x=r*Math.sin(n),this.y=Math.cos(t)*e,this.z=r*Math.cos(n),this},setFromCylindrical:function(e){return this.setFromCylindricalCoords(e.radius,e.theta,e.y)},setFromCylindricalCoords:function(e,t,n){return this.x=e*Math.sin(t),this.y=n,this.z=e*Math.cos(t),this},setFromMatrixPosition:function(e){var t=e.elements;return this.x=t[12],this.y=t[13],this.z=t[14],this},setFromMatrixScale:function(e){var t=this.setFromMatrixColumn(e,0).length(),n=this.setFromMatrixColumn(e,1).length(),r=this.setFromMatrixColumn(e,2).length();return this.x=t,this.y=n,this.z=r,this},setFromMatrixColumn:function(e,t){return this.fromArray(e.elements,t*4)},setFromMatrix3Column:function(e,t){return this.fromArray(e.elements,t*3)},equals:function(e){return e.x===this.x&&e.y===this.y&&e.z===this.z},fromArray:function(e,t){return t===void 0&&(t=0),this.x=e[t],this.y=e[t+1],this.z=e[t+2],this},toArray:function(e,t){return e===void 0&&(e=[]),t===void 0&&(t=0),e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e},fromBufferAttribute:function(e,t,n){return n!==void 0&&console.warn("THREE.Vector3: offset has been removed from .fromBufferAttribute()."),this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this}});var Us=new J,ti=new Ft,$S=new J(0,0,0),QS=new J(1,1,1),ya=new J,Wl=new J,Dr=new J;function Ft(){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.")}Object.assign(Ft.prototype,{isMatrix4:!0,set:function(e,t,n,r,a,s,o,u,l,c,f,h,p,m,v,g){var d=this.elements;return d[0]=e,d[4]=t,d[8]=n,d[12]=r,d[1]=a,d[5]=s,d[9]=o,d[13]=u,d[2]=l,d[6]=c,d[10]=f,d[14]=h,d[3]=p,d[7]=m,d[11]=v,d[15]=g,this},identity:function(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this},clone:function(){return new Ft().fromArray(this.elements)},copy:function(e){var t=this.elements,n=e.elements;return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],this},copyPosition:function(e){var t=this.elements,n=e.elements;return t[12]=n[12],t[13]=n[13],t[14]=n[14],this},extractBasis:function(e,t,n){return e.setFromMatrixColumn(this,0),t.setFromMatrixColumn(this,1),n.setFromMatrixColumn(this,2),this},makeBasis:function(e,t,n){return this.set(e.x,t.x,n.x,0,e.y,t.y,n.y,0,e.z,t.z,n.z,0,0,0,0,1),this},extractRotation:function(e){var t=this.elements,n=e.elements,r=1/Us.setFromMatrixColumn(e,0).length(),a=1/Us.setFromMatrixColumn(e,1).length(),s=1/Us.setFromMatrixColumn(e,2).length();return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=0,t[4]=n[4]*a,t[5]=n[5]*a,t[6]=n[6]*a,t[7]=0,t[8]=n[8]*s,t[9]=n[9]*s,t[10]=n[10]*s,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this},makeRotationFromEuler:function(e){e&&e.isEuler||console.error("THREE.Matrix4: .makeRotationFromEuler() now expects a Euler rotation rather than a Vector3 and order.");var t=this.elements,n=e.x,r=e.y,a=e.z,s=Math.cos(n),o=Math.sin(n),u=Math.cos(r),l=Math.sin(r),c=Math.cos(a),f=Math.sin(a);if(e.order==="XYZ"){var h=s*c,p=s*f,m=o*c,v=o*f;t[0]=u*c,t[4]=-u*f,t[8]=l,t[1]=p+m*l,t[5]=h-v*l,t[9]=-o*u,t[2]=v-h*l,t[6]=m+p*l,t[10]=s*u}else if(e.order==="YXZ"){var g=u*c,d=u*f,y=l*c,b=l*f;t[0]=g+b*o,t[4]=y*o-d,t[8]=s*l,t[1]=s*f,t[5]=s*c,t[9]=-o,t[2]=d*o-y,t[6]=b+g*o,t[10]=s*u}else if(e.order==="ZXY"){var g=u*c,d=u*f,y=l*c,b=l*f;t[0]=g-b*o,t[4]=-s*f,t[8]=y+d*o,t[1]=d+y*o,t[5]=s*c,t[9]=b-g*o,t[2]=-s*l,t[6]=o,t[10]=s*u}else if(e.order==="ZYX"){var h=s*c,p=s*f,m=o*c,v=o*f;t[0]=u*c,t[4]=m*l-p,t[8]=h*l+v,t[1]=u*f,t[5]=v*l+h,t[9]=p*l-m,t[2]=-l,t[6]=o*u,t[10]=s*u}else if(e.order==="YZX"){var _=s*u,w=s*l,E=o*u,x=o*l;t[0]=u*c,t[4]=x-_*f,t[8]=E*f+w,t[1]=f,t[5]=s*c,t[9]=-o*c,t[2]=-l*c,t[6]=w*f+E,t[10]=_-x*f}else if(e.order==="XZY"){var _=s*u,w=s*l,E=o*u,x=o*l;t[0]=u*c,t[4]=-f,t[8]=l*c,t[1]=_*f+x,t[5]=s*c,t[9]=w*f-E,t[2]=E*f-w,t[6]=o*c,t[10]=x*f+_}return t[3]=0,t[7]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this},makeRotationFromQuaternion:function(e){return this.compose($S,e,QS)},lookAt:function(e,t,n){var r=this.elements;return Dr.subVectors(e,t),Dr.lengthSq()===0&&(Dr.z=1),Dr.normalize(),ya.crossVectors(n,Dr),ya.lengthSq()===0&&(Math.abs(n.z)===1?Dr.x+=1e-4:Dr.z+=1e-4,Dr.normalize(),ya.crossVectors(n,Dr)),ya.normalize(),Wl.crossVectors(Dr,ya),r[0]=ya.x,r[4]=Wl.x,r[8]=Dr.x,r[1]=ya.y,r[5]=Wl.y,r[9]=Dr.y,r[2]=ya.z,r[6]=Wl.z,r[10]=Dr.z,this},multiply:function(e,t){return t!==void 0?(console.warn("THREE.Matrix4: .multiply() now only accepts one argument. Use .multiplyMatrices( a, b ) instead."),this.multiplyMatrices(e,t)):this.multiplyMatrices(this,e)},premultiply:function(e){return this.multiplyMatrices(e,this)},multiplyMatrices:function(e,t){var n=e.elements,r=t.elements,a=this.elements,s=n[0],o=n[4],u=n[8],l=n[12],c=n[1],f=n[5],h=n[9],p=n[13],m=n[2],v=n[6],g=n[10],d=n[14],y=n[3],b=n[7],_=n[11],w=n[15],E=r[0],x=r[4],S=r[8],T=r[12],L=r[1],B=r[5],k=r[9],R=r[13],F=r[2],W=r[6],K=r[10],$=r[14],U=r[3],N=r[7],P=r[11],D=r[15];return a[0]=s*E+o*L+u*F+l*U,a[4]=s*x+o*B+u*W+l*N,a[8]=s*S+o*k+u*K+l*P,a[12]=s*T+o*R+u*$+l*D,a[1]=c*E+f*L+h*F+p*U,a[5]=c*x+f*B+h*W+p*N,a[9]=c*S+f*k+h*K+p*P,a[13]=c*T+f*R+h*$+p*D,a[2]=m*E+v*L+g*F+d*U,a[6]=m*x+v*B+g*W+d*N,a[10]=m*S+v*k+g*K+d*P,a[14]=m*T+v*R+g*$+d*D,a[3]=y*E+b*L+_*F+w*U,a[7]=y*x+b*B+_*W+w*N,a[11]=y*S+b*k+_*K+w*P,a[15]=y*T+b*R+_*$+w*D,this},multiplyScalar:function(e){var t=this.elements;return t[0]*=e,t[4]*=e,t[8]*=e,t[12]*=e,t[1]*=e,t[5]*=e,t[9]*=e,t[13]*=e,t[2]*=e,t[6]*=e,t[10]*=e,t[14]*=e,t[3]*=e,t[7]*=e,t[11]*=e,t[15]*=e,this},determinant:function(){var e=this.elements,t=e[0],n=e[4],r=e[8],a=e[12],s=e[1],o=e[5],u=e[9],l=e[13],c=e[2],f=e[6],h=e[10],p=e[14],m=e[3],v=e[7],g=e[11],d=e[15];return m*(+a*u*f-r*l*f-a*o*h+n*l*h+r*o*p-n*u*p)+v*(+t*u*p-t*l*h+a*s*h-r*s*p+r*l*c-a*u*c)+g*(+t*l*f-t*o*p-a*s*f+n*s*p+a*o*c-n*l*c)+d*(-r*o*c-t*u*f+t*o*h+r*s*f-n*s*h+n*u*c)},transpose:function(){var e=this.elements,t;return t=e[1],e[1]=e[4],e[4]=t,t=e[2],e[2]=e[8],e[8]=t,t=e[6],e[6]=e[9],e[9]=t,t=e[3],e[3]=e[12],e[12]=t,t=e[7],e[7]=e[13],e[13]=t,t=e[11],e[11]=e[14],e[14]=t,this},setPosition:function(e,t,n){var r=this.elements;return e.isVector3?(r[12]=e.x,r[13]=e.y,r[14]=e.z):(r[12]=e,r[13]=t,r[14]=n),this},getInverse:function(e,t){var n=this.elements,r=e.elements,a=r[0],s=r[1],o=r[2],u=r[3],l=r[4],c=r[5],f=r[6],h=r[7],p=r[8],m=r[9],v=r[10],g=r[11],d=r[12],y=r[13],b=r[14],_=r[15],w=m*b*h-y*v*h+y*f*g-c*b*g-m*f*_+c*v*_,E=d*v*h-p*b*h-d*f*g+l*b*g+p*f*_-l*v*_,x=p*y*h-d*m*h+d*c*g-l*y*g-p*c*_+l*m*_,S=d*m*f-p*y*f-d*c*v+l*y*v+p*c*b-l*m*b,T=a*w+s*E+o*x+u*S;if(T===0){var L="THREE.Matrix4: .getInverse() can't invert matrix, determinant is 0";if(t===!0)throw new Error(L);return console.warn(L),this.identity()}var B=1/T;return n[0]=w*B,n[1]=(y*v*u-m*b*u-y*o*g+s*b*g+m*o*_-s*v*_)*B,n[2]=(c*b*u-y*f*u+y*o*h-s*b*h-c*o*_+s*f*_)*B,n[3]=(m*f*u-c*v*u-m*o*h+s*v*h+c*o*g-s*f*g)*B,n[4]=E*B,n[5]=(p*b*u-d*v*u+d*o*g-a*b*g-p*o*_+a*v*_)*B,n[6]=(d*f*u-l*b*u-d*o*h+a*b*h+l*o*_-a*f*_)*B,n[7]=(l*v*u-p*f*u+p*o*h-a*v*h-l*o*g+a*f*g)*B,n[8]=x*B,n[9]=(d*m*u-p*y*u-d*s*g+a*y*g+p*s*_-a*m*_)*B,n[10]=(l*y*u-d*c*u+d*s*h-a*y*h-l*s*_+a*c*_)*B,n[11]=(p*c*u-l*m*u-p*s*h+a*m*h+l*s*g-a*c*g)*B,n[12]=S*B,n[13]=(p*y*o-d*m*o+d*s*v-a*y*v-p*s*b+a*m*b)*B,n[14]=(d*c*o-l*y*o-d*s*f+a*y*f+l*s*b-a*c*b)*B,n[15]=(l*m*o-p*c*o+p*s*f-a*m*f-l*s*v+a*c*v)*B,this},scale:function(e){var t=this.elements,n=e.x,r=e.y,a=e.z;return t[0]*=n,t[4]*=r,t[8]*=a,t[1]*=n,t[5]*=r,t[9]*=a,t[2]*=n,t[6]*=r,t[10]*=a,t[3]*=n,t[7]*=r,t[11]*=a,this},getMaxScaleOnAxis:function(){var e=this.elements,t=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],n=e[4]*e[4]+e[5]*e[5]+e[6]*e[6],r=e[8]*e[8]+e[9]*e[9]+e[10]*e[10];return Math.sqrt(Math.max(t,n,r))},makeTranslation:function(e,t,n){return this.set(1,0,0,e,0,1,0,t,0,0,1,n,0,0,0,1),this},makeRotationX:function(e){var t=Math.cos(e),n=Math.sin(e);return this.set(1,0,0,0,0,t,-n,0,0,n,t,0,0,0,0,1),this},makeRotationY:function(e){var t=Math.cos(e),n=Math.sin(e);return this.set(t,0,n,0,0,1,0,0,-n,0,t,0,0,0,0,1),this},makeRotationZ:function(e){var t=Math.cos(e),n=Math.sin(e);return this.set(t,-n,0,0,n,t,0,0,0,0,1,0,0,0,0,1),this},makeRotationAxis:function(e,t){var n=Math.cos(t),r=Math.sin(t),a=1-n,s=e.x,o=e.y,u=e.z,l=a*s,c=a*o;return this.set(l*s+n,l*o-r*u,l*u+r*o,0,l*o+r*u,c*o+n,c*u-r*s,0,l*u-r*o,c*u+r*s,a*u*u+n,0,0,0,0,1),this},makeScale:function(e,t,n){return this.set(e,0,0,0,0,t,0,0,0,0,n,0,0,0,0,1),this},makeShear:function(e,t,n){return this.set(1,t,n,0,e,1,n,0,e,t,1,0,0,0,0,1),this},compose:function(e,t,n){var r=this.elements,a=t._x,s=t._y,o=t._z,u=t._w,l=a+a,c=s+s,f=o+o,h=a*l,p=a*c,m=a*f,v=s*c,g=s*f,d=o*f,y=u*l,b=u*c,_=u*f,w=n.x,E=n.y,x=n.z;return r[0]=(1-(v+d))*w,r[1]=(p+_)*w,r[2]=(m-b)*w,r[3]=0,r[4]=(p-_)*E,r[5]=(1-(h+d))*E,r[6]=(g+y)*E,r[7]=0,r[8]=(m+b)*x,r[9]=(g-y)*x,r[10]=(1-(h+v))*x,r[11]=0,r[12]=e.x,r[13]=e.y,r[14]=e.z,r[15]=1,this},decompose:function(e,t,n){var r=this.elements,a=Us.set(r[0],r[1],r[2]).length(),s=Us.set(r[4],r[5],r[6]).length(),o=Us.set(r[8],r[9],r[10]).length(),u=this.determinant();u<0&&(a=-a),e.x=r[12],e.y=r[13],e.z=r[14],ti.copy(this);var l=1/a,c=1/s,f=1/o;return ti.elements[0]*=l,ti.elements[1]*=l,ti.elements[2]*=l,ti.elements[4]*=c,ti.elements[5]*=c,ti.elements[6]*=c,ti.elements[8]*=f,ti.elements[9]*=f,ti.elements[10]*=f,t.setFromRotationMatrix(ti),n.x=a,n.y=s,n.z=o,this},makePerspective:function(e,t,n,r,a,s){s===void 0&&console.warn("THREE.Matrix4: .makePerspective() has been redefined and has a new signature. Please check the docs.");var o=this.elements,u=2*a/(t-e),l=2*a/(n-r),c=(t+e)/(t-e),f=(n+r)/(n-r),h=-(s+a)/(s-a),p=-2*s*a/(s-a);return o[0]=u,o[4]=0,o[8]=c,o[12]=0,o[1]=0,o[5]=l,o[9]=f,o[13]=0,o[2]=0,o[6]=0,o[10]=h,o[14]=p,o[3]=0,o[7]=0,o[11]=-1,o[15]=0,this},makeOrthographic:function(e,t,n,r,a,s){var o=this.elements,u=1/(t-e),l=1/(n-r),c=1/(s-a),f=(t+e)*u,h=(n+r)*l,p=(s+a)*c;return o[0]=2*u,o[4]=0,o[8]=0,o[12]=-f,o[1]=0,o[5]=2*l,o[9]=0,o[13]=-h,o[2]=0,o[6]=0,o[10]=-2*c,o[14]=-p,o[3]=0,o[7]=0,o[11]=0,o[15]=1,this},equals:function(e){for(var t=this.elements,n=e.elements,r=0;r<16;r++)if(t[r]!==n[r])return!1;return!0},fromArray:function(e,t){t===void 0&&(t=0);for(var n=0;n<16;n++)this.elements[n]=e[n+t];return this},toArray:function(e,t){e===void 0&&(e=[]),t===void 0&&(t=0);var n=this.elements;return e[t]=n[0],e[t+1]=n[1],e[t+2]=n[2],e[t+3]=n[3],e[t+4]=n[4],e[t+5]=n[5],e[t+6]=n[6],e[t+7]=n[7],e[t+8]=n[8],e[t+9]=n[9],e[t+10]=n[10],e[t+11]=n[11],e[t+12]=n[12],e[t+13]=n[13],e[t+14]=n[14],e[t+15]=n[15],e}});var X0=new Ft,q0=new _r;function Qo(i,e,t,n){this._x=i||0,this._y=e||0,this._z=t||0,this._order=n||Qo.DefaultOrder}Qo.RotationOrders=["XYZ","YZX","ZXY","XZY","YXZ","ZYX"];Qo.DefaultOrder="XYZ";Object.defineProperties(Qo.prototype,{x:{get:function(){return this._x},set:function(e){this._x=e,this._onChangeCallback()}},y:{get:function(){return this._y},set:function(e){this._y=e,this._onChangeCallback()}},z:{get:function(){return this._z},set:function(e){this._z=e,this._onChangeCallback()}},order:{get:function(){return this._order},set:function(e){this._order=e,this._onChangeCallback()}}});Object.assign(Qo.prototype,{isEuler:!0,set:function(e,t,n,r){return this._x=e,this._y=t,this._z=n,this._order=r||this._order,this._onChangeCallback(),this},clone:function(){return new this.constructor(this._x,this._y,this._z,this._order)},copy:function(e){return this._x=e._x,this._y=e._y,this._z=e._z,this._order=e._order,this._onChangeCallback(),this},setFromRotationMatrix:function(e,t,n){var r=kt.clamp,a=e.elements,s=a[0],o=a[4],u=a[8],l=a[1],c=a[5],f=a[9],h=a[2],p=a[6],m=a[10];return t=t||this._order,t==="XYZ"?(this._y=Math.asin(r(u,-1,1)),Math.abs(u)<.9999999?(this._x=Math.atan2(-f,m),this._z=Math.atan2(-o,s)):(this._x=Math.atan2(p,c),this._z=0)):t==="YXZ"?(this._x=Math.asin(-r(f,-1,1)),Math.abs(f)<.9999999?(this._y=Math.atan2(u,m),this._z=Math.atan2(l,c)):(this._y=Math.atan2(-h,s),this._z=0)):t==="ZXY"?(this._x=Math.asin(r(p,-1,1)),Math.abs(p)<.9999999?(this._y=Math.atan2(-h,m),this._z=Math.atan2(-o,c)):(this._y=0,this._z=Math.atan2(l,s))):t==="ZYX"?(this._y=Math.asin(-r(h,-1,1)),Math.abs(h)<.9999999?(this._x=Math.atan2(p,m),this._z=Math.atan2(l,s)):(this._x=0,this._z=Math.atan2(-o,c))):t==="YZX"?(this._z=Math.asin(r(l,-1,1)),Math.abs(l)<.9999999?(this._x=Math.atan2(-f,c),this._y=Math.atan2(-h,s)):(this._x=0,this._y=Math.atan2(u,m))):t==="XZY"?(this._z=Math.asin(-r(o,-1,1)),Math.abs(o)<.9999999?(this._x=Math.atan2(p,c),this._y=Math.atan2(u,s)):(this._x=Math.atan2(-f,m),this._y=0)):console.warn("THREE.Euler: .setFromRotationMatrix() given unsupported order: "+t),this._order=t,n!==!1&&this._onChangeCallback(),this},setFromQuaternion:function(e,t,n){return X0.makeRotationFromQuaternion(e),this.setFromRotationMatrix(X0,t,n)},setFromVector3:function(e,t){return this.set(e.x,e.y,e.z,t||this._order)},reorder:function(e){return q0.setFromEuler(this),this.setFromQuaternion(q0,e)},equals:function(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._order===this._order},fromArray:function(e){return this._x=e[0],this._y=e[1],this._z=e[2],e[3]!==void 0&&(this._order=e[3]),this._onChangeCallback(),this},toArray:function(e,t){return e===void 0&&(e=[]),t===void 0&&(t=0),e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._order,e},toVector3:function(e){return e?e.set(this._x,this._y,this._z):new J(this._x,this._y,this._z)},_onChange:function(e){return this._onChangeCallback=e,this},_onChangeCallback:function(){}});function Ob(){this.mask=1}Object.assign(Ob.prototype,{set:function(e){this.mask=1<1){for(var t=0;t1){for(var t=0;t0){r.children=[];for(var u=0;u0&&(n.geometries=h),p.length>0&&(n.materials=p),m.length>0&&(n.textures=m),v.length>0&&(n.images=v),o.length>0&&(n.shapes=o)}return n.object=r,n;function g(d){var y=[];for(var b in d){var _=d[b];delete _.metadata,y.push(_)}return y}},clone:function(e){return new this.constructor().copy(this,e)},copy:function(e,t){if(t===void 0&&(t=!0),this.name=e.name,this.up.copy(e.up),this.position.copy(e.position),this.quaternion.copy(e.quaternion),this.scale.copy(e.scale),this.matrix.copy(e.matrix),this.matrixWorld.copy(e.matrixWorld),this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrixWorldNeedsUpdate=e.matrixWorldNeedsUpdate,this.layers.mask=e.layers.mask,this.visible=e.visible,this.castShadow=e.castShadow,this.receiveShadow=e.receiveShadow,this.frustumCulled=e.frustumCulled,this.renderOrder=e.renderOrder,this.userData=JSON.parse(JSON.stringify(e.userData)),t===!0)for(var n=0;na&&(a=c),f>s&&(s=f),h>o&&(o=h)}return this.min.set(t,n,r),this.max.set(a,s,o),this},setFromBufferAttribute:function(e){for(var t=1/0,n=1/0,r=1/0,a=-1/0,s=-1/0,o=-1/0,u=0,l=e.count;ua&&(a=c),f>s&&(s=f),h>o&&(o=h)}return this.min.set(t,n,r),this.max.set(a,s,o),this},setFromPoints:function(e){this.makeEmpty();for(var t=0,n=e.length;tthis.max.x||e.ythis.max.y||e.zthis.max.z)},containsBox:function(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y&&this.min.z<=e.min.z&&e.max.z<=this.max.z},getParameter:function(e,t){return t===void 0&&(console.warn("THREE.Box3: .getParameter() target is now required"),t=new J),t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y),(e.z-this.min.z)/(this.max.z-this.min.z))},intersectsBox:function(e){return!(e.max.xthis.max.x||e.max.ythis.max.y||e.max.zthis.max.z)},intersectsSphere:function(e){return this.clampPoint(e.center,su),su.distanceToSquared(e.center)<=e.radius*e.radius},intersectsPlane:function(e){var t,n;return e.normal.x>0?(t=e.normal.x*this.min.x,n=e.normal.x*this.max.x):(t=e.normal.x*this.max.x,n=e.normal.x*this.min.x),e.normal.y>0?(t+=e.normal.y*this.min.y,n+=e.normal.y*this.max.y):(t+=e.normal.y*this.max.y,n+=e.normal.y*this.min.y),e.normal.z>0?(t+=e.normal.z*this.min.z,n+=e.normal.z*this.max.z):(t+=e.normal.z*this.max.z,n+=e.normal.z*this.min.z),t<=-e.constant&&n>=-e.constant},intersectsTriangle:function(e){if(this.isEmpty())return!1;this.getCenter(ou),jl.subVectors(this.max,ou),Ws.subVectors(e.a,ou),zs.subVectors(e.b,ou),Hs.subVectors(e.c,ou),ba.subVectors(zs,Ws),wa.subVectors(Hs,zs),Ja.subVectors(Ws,Hs);var t=[0,-ba.z,ba.y,0,-wa.z,wa.y,0,-Ja.z,Ja.y,ba.z,0,-ba.x,wa.z,0,-wa.x,Ja.z,0,-Ja.x,-ba.y,ba.x,0,-wa.y,wa.x,0,-Ja.y,Ja.x,0];return!Hh(t,Ws,zs,Hs,jl)||(t=[1,0,0,0,1,0,0,0,1],!Hh(t,Ws,zs,Hs,jl))?!1:(Yl.crossVectors(ba,wa),t=[Yl.x,Yl.y,Yl.z],Hh(t,Ws,zs,Hs,jl))},clampPoint:function(e,t){return t===void 0&&(console.warn("THREE.Box3: .clampPoint() target is now required"),t=new J),t.copy(e).clamp(this.min,this.max)},distanceToPoint:function(e){var t=su.copy(e).clamp(this.min,this.max);return t.sub(e).length()},getBoundingSphere:function(e){return e===void 0&&console.error("THREE.Box3: .getBoundingSphere() target is now required"),this.getCenter(e.center),e.radius=this.getSize(su).length()*.5,e},intersect:function(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this},union:function(e){return this.min.min(e.min),this.max.max(e.max),this},applyMatrix4:function(e){return this.isEmpty()?this:(Vi[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(e),Vi[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(e),Vi[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(e),Vi[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(e),Vi[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(e),Vi[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(e),Vi[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(e),Vi[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(e),this.setFromPoints(Vi),this)},translate:function(e){return this.min.add(e),this.max.add(e),this},equals:function(e){return e.min.equals(this.min)&&e.max.equals(this.max)}});function Hh(i,e,t,n,r){var a,s;for(a=0,s=i.length-3;a<=s;a+=3){$a.fromArray(i,a);var o=r.x*Math.abs($a.x)+r.y*Math.abs($a.y)+r.z*Math.abs($a.z),u=e.dot($a),l=t.dot($a),c=n.dot($a);if(Math.max(-Math.max(u,l,c),Math.min(u,l,c))>o)return!1}return!0}var aA=new Pi;function Wa(i,e){this.center=i!==void 0?i:new J,this.radius=e!==void 0?e:0}Object.assign(Wa.prototype,{set:function(e,t){return this.center.copy(e),this.radius=t,this},setFromPoints:function(e,t){var n=this.center;t!==void 0?n.copy(t):aA.setFromPoints(e).getCenter(n);for(var r=0,a=0,s=e.length;athis.radius*this.radius&&(t.sub(this.center).normalize(),t.multiplyScalar(this.radius).add(this.center)),t},getBoundingBox:function(e){return e===void 0&&(console.warn("THREE.Sphere: .getBoundingBox() target is now required"),e=new Pi),e.set(this.center,this.center),e.expandByScalar(this.radius),e},applyMatrix4:function(e){return this.center.applyMatrix4(e),this.radius=this.radius*e.getMaxScaleOnAxis(),this},translate:function(e){return this.center.add(e),this},equals:function(e){return e.center.equals(this.center)&&e.radius===this.radius}});var Wi=new J,jh=new J,Kl=new J,_a=new J,Yh=new J,Xl=new J,Kh=new J;function eu(i,e){this.origin=i!==void 0?i:new J,this.direction=e!==void 0?e:new J(0,0,-1)}Object.assign(eu.prototype,{set:function(e,t){return this.origin.copy(e),this.direction.copy(t),this},clone:function(){return new this.constructor().copy(this)},copy:function(e){return this.origin.copy(e.origin),this.direction.copy(e.direction),this},at:function(e,t){return t===void 0&&(console.warn("THREE.Ray: .at() target is now required"),t=new J),t.copy(this.direction).multiplyScalar(e).add(this.origin)},lookAt:function(e){return this.direction.copy(e).sub(this.origin).normalize(),this},recast:function(e){return this.origin.copy(this.at(e,Wi)),this},closestPointToPoint:function(e,t){t===void 0&&(console.warn("THREE.Ray: .closestPointToPoint() target is now required"),t=new J),t.subVectors(e,this.origin);var n=t.dot(this.direction);return n<0?t.copy(this.origin):t.copy(this.direction).multiplyScalar(n).add(this.origin)},distanceToPoint:function(e){return Math.sqrt(this.distanceSqToPoint(e))},distanceSqToPoint:function(e){var t=Wi.subVectors(e,this.origin).dot(this.direction);return t<0?this.origin.distanceToSquared(e):(Wi.copy(this.direction).multiplyScalar(t).add(this.origin),Wi.distanceToSquared(e))},distanceSqToSegment:function(e,t,n,r){jh.copy(e).add(t).multiplyScalar(.5),Kl.copy(t).sub(e).normalize(),_a.copy(this.origin).sub(jh);var a=e.distanceTo(t)*.5,s=-this.direction.dot(Kl),o=_a.dot(this.direction),u=-_a.dot(Kl),l=_a.lengthSq(),c=Math.abs(1-s*s),f,h,p,m;if(c>0)if(f=s*u-o,h=s*o-u,m=a*c,f>=0)if(h>=-m)if(h<=m){var v=1/c;f*=v,h*=v,p=f*(f+s*h+2*o)+h*(s*f+h+2*u)+l}else h=a,f=Math.max(0,-(s*h+o)),p=-f*f+h*(h+2*u)+l;else h=-a,f=Math.max(0,-(s*h+o)),p=-f*f+h*(h+2*u)+l;else h<=-m?(f=Math.max(0,-(-s*a+o)),h=f>0?-a:Math.min(Math.max(-a,-u),a),p=-f*f+h*(h+2*u)+l):h<=m?(f=0,h=Math.min(Math.max(-a,-u),a),p=h*(h+2*u)+l):(f=Math.max(0,-(s*a+o)),h=f>0?a:Math.min(Math.max(-a,-u),a),p=-f*f+h*(h+2*u)+l);else h=s>0?-a:a,f=Math.max(0,-(s*h+o)),p=-f*f+h*(h+2*u)+l;return n&&n.copy(this.direction).multiplyScalar(f).add(this.origin),r&&r.copy(Kl).multiplyScalar(h).add(jh),p},intersectSphere:function(e,t){Wi.subVectors(e.center,this.origin);var n=Wi.dot(this.direction),r=Wi.dot(Wi)-n*n,a=e.radius*e.radius;if(r>a)return null;var s=Math.sqrt(a-r),o=n-s,u=n+s;return o<0&&u<0?null:o<0?this.at(u,t):this.at(o,t)},intersectsSphere:function(e){return this.distanceSqToPoint(e.center)<=e.radius*e.radius},distanceToPlane:function(e){var t=e.normal.dot(this.direction);if(t===0)return e.distanceToPoint(this.origin)===0?0:null;var n=-(this.origin.dot(e.normal)+e.constant)/t;return n>=0?n:null},intersectPlane:function(e,t){var n=this.distanceToPlane(e);return n===null?null:this.at(n,t)},intersectsPlane:function(e){var t=e.distanceToPoint(this.origin);if(t===0)return!0;var n=e.normal.dot(this.direction);return n*t<0},intersectBox:function(e,t){var n,r,a,s,o,u,l=1/this.direction.x,c=1/this.direction.y,f=1/this.direction.z,h=this.origin;return l>=0?(n=(e.min.x-h.x)*l,r=(e.max.x-h.x)*l):(n=(e.max.x-h.x)*l,r=(e.min.x-h.x)*l),c>=0?(a=(e.min.y-h.y)*c,s=(e.max.y-h.y)*c):(a=(e.max.y-h.y)*c,s=(e.min.y-h.y)*c),n>s||a>r||((a>n||n!==n)&&(n=a),(s=0?(o=(e.min.z-h.z)*f,u=(e.max.z-h.z)*f):(o=(e.max.z-h.z)*f,u=(e.min.z-h.z)*f),n>u||o>r)||((o>n||n!==n)&&(n=o),(u=0?n:r,t)},intersectsBox:function(e){return this.intersectBox(e,Wi)!==null},intersectTriangle:function(e,t,n,r,a){Yh.subVectors(t,e),Xl.subVectors(n,e),Kh.crossVectors(Yh,Xl);var s=this.direction.dot(Kh),o;if(s>0){if(r)return null;o=1}else if(s<0)o=-1,s=-s;else return null;_a.subVectors(this.origin,e);var u=o*this.direction.dot(Xl.crossVectors(_a,Xl));if(u<0)return null;var l=o*this.direction.dot(Yh.cross(_a));if(l<0||u+l>s)return null;var c=-o*_a.dot(Kh);return c<0?null:this.at(c/s,a)},applyMatrix4:function(e){return this.origin.applyMatrix4(e),this.direction.transformDirection(e),this},equals:function(e){return e.origin.equals(this.origin)&&e.direction.equals(this.direction)}});var Xh=new J,sA=new J,oA=new ar;function mi(i,e){this.normal=i!==void 0?i:new J(1,0,0),this.constant=e!==void 0?e:0}Object.assign(mi.prototype,{isPlane:!0,set:function(e,t){return this.normal.copy(e),this.constant=t,this},setComponents:function(e,t,n,r){return this.normal.set(e,t,n),this.constant=r,this},setFromNormalAndCoplanarPoint:function(e,t){return this.normal.copy(e),this.constant=-t.dot(this.normal),this},setFromCoplanarPoints:function(e,t,n){var r=Xh.subVectors(n,t).cross(sA.subVectors(e,t)).normalize();return this.setFromNormalAndCoplanarPoint(r,e),this},clone:function(){return new this.constructor().copy(this)},copy:function(e){return this.normal.copy(e.normal),this.constant=e.constant,this},normalize:function(){var e=1/this.normal.length();return this.normal.multiplyScalar(e),this.constant*=e,this},negate:function(){return this.constant*=-1,this.normal.negate(),this},distanceToPoint:function(e){return this.normal.dot(e)+this.constant},distanceToSphere:function(e){return this.distanceToPoint(e.center)-e.radius},projectPoint:function(e,t){return t===void 0&&(console.warn("THREE.Plane: .projectPoint() target is now required"),t=new J),t.copy(this.normal).multiplyScalar(-this.distanceToPoint(e)).add(e)},intersectLine:function(e,t){t===void 0&&(console.warn("THREE.Plane: .intersectLine() target is now required"),t=new J);var n=e.delta(Xh),r=this.normal.dot(n);if(r===0)return this.distanceToPoint(e.start)===0?t.copy(e.start):void 0;var a=-(e.start.dot(this.normal)+this.constant)/r;if(!(a<0||a>1))return t.copy(n).multiplyScalar(a).add(e.start)},intersectsLine:function(e){var t=this.distanceToPoint(e.start),n=this.distanceToPoint(e.end);return t<0&&n>0||n<0&&t>0},intersectsBox:function(e){return e.intersectsPlane(this)},intersectsSphere:function(e){return e.intersectsPlane(this)},coplanarPoint:function(e){return e===void 0&&(console.warn("THREE.Plane: .coplanarPoint() target is now required"),e=new J),e.copy(this.normal).multiplyScalar(-this.constant)},applyMatrix4:function(e,t){var n=t||oA.getNormalMatrix(e),r=this.coplanarPoint(Xh).applyMatrix4(e),a=this.normal.applyMatrix3(n).normalize();return this.constant=-r.dot(a),this},translate:function(e){return this.constant-=e.dot(this.normal),this},equals:function(e){return e.normal.equals(this.normal)&&e.constant===this.constant}});var ii=new J,Hi=new J,qh=new J,zi=new J,js=new J,Ys=new J,eg=new J,Zh=new J,Jh=new J,$h=new J;function qn(i,e,t){this.a=i!==void 0?i:new J,this.b=e!==void 0?e:new J,this.c=t!==void 0?t:new J}Object.assign(qn,{getNormal:function(e,t,n,r){r===void 0&&(console.warn("THREE.Triangle: .getNormal() target is now required"),r=new J),r.subVectors(n,t),ii.subVectors(e,t),r.cross(ii);var a=r.lengthSq();return a>0?r.multiplyScalar(1/Math.sqrt(a)):r.set(0,0,0)},getBarycoord:function(e,t,n,r,a){ii.subVectors(r,t),Hi.subVectors(n,t),qh.subVectors(e,t);var s=ii.dot(ii),o=ii.dot(Hi),u=ii.dot(qh),l=Hi.dot(Hi),c=Hi.dot(qh),f=s*l-o*o;if(a===void 0&&(console.warn("THREE.Triangle: .getBarycoord() target is now required"),a=new J),f===0)return a.set(-2,-1,-1);var h=1/f,p=(l*u-o*c)*h,m=(s*c-o*u)*h;return a.set(1-p-m,m,p)},containsPoint:function(e,t,n,r){return qn.getBarycoord(e,t,n,r,zi),zi.x>=0&&zi.y>=0&&zi.x+zi.y<=1},getUV:function(e,t,n,r,a,s,o,u){return this.getBarycoord(e,t,n,r,zi),u.set(0,0),u.addScaledVector(a,zi.x),u.addScaledVector(s,zi.y),u.addScaledVector(o,zi.z),u},isFrontFacing:function(e,t,n,r){return ii.subVectors(n,t),Hi.subVectors(e,t),ii.cross(Hi).dot(r)<0}});Object.assign(qn.prototype,{set:function(e,t,n){return this.a.copy(e),this.b.copy(t),this.c.copy(n),this},setFromPointsAndIndices:function(e,t,n,r){return this.a.copy(e[t]),this.b.copy(e[n]),this.c.copy(e[r]),this},clone:function(){return new this.constructor().copy(this)},copy:function(e){return this.a.copy(e.a),this.b.copy(e.b),this.c.copy(e.c),this},getArea:function(){return ii.subVectors(this.c,this.b),Hi.subVectors(this.a,this.b),ii.cross(Hi).length()*.5},getMidpoint:function(e){return e===void 0&&(console.warn("THREE.Triangle: .getMidpoint() target is now required"),e=new J),e.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)},getNormal:function(e){return qn.getNormal(this.a,this.b,this.c,e)},getPlane:function(e){return e===void 0&&(console.warn("THREE.Triangle: .getPlane() target is now required"),e=new mi),e.setFromCoplanarPoints(this.a,this.b,this.c)},getBarycoord:function(e,t){return qn.getBarycoord(e,this.a,this.b,this.c,t)},getUV:function(e,t,n,r,a){return qn.getUV(e,this.a,this.b,this.c,t,n,r,a)},containsPoint:function(e){return qn.containsPoint(e,this.a,this.b,this.c)},isFrontFacing:function(e){return qn.isFrontFacing(this.a,this.b,this.c,e)},intersectsBox:function(e){return e.intersectsTriangle(this)},closestPointToPoint:function(e,t){t===void 0&&(console.warn("THREE.Triangle: .closestPointToPoint() target is now required"),t=new J);var n=this.a,r=this.b,a=this.c,s,o;js.subVectors(r,n),Ys.subVectors(a,n),Zh.subVectors(e,n);var u=js.dot(Zh),l=Ys.dot(Zh);if(u<=0&&l<=0)return t.copy(n);Jh.subVectors(e,r);var c=js.dot(Jh),f=Ys.dot(Jh);if(c>=0&&f<=c)return t.copy(r);var h=u*f-c*l;if(h<=0&&u>=0&&c<=0)return s=u/(u-c),t.copy(n).addScaledVector(js,s);$h.subVectors(e,a);var p=js.dot($h),m=Ys.dot($h);if(m>=0&&p<=m)return t.copy(a);var v=p*l-u*m;if(v<=0&&l>=0&&m<=0)return o=l/(l-m),t.copy(n).addScaledVector(Ys,o);var g=c*m-p*f;if(g<=0&&f-c>=0&&p-m>=0)return eg.subVectors(a,r),o=(f-c)/(f-c+(p-m)),t.copy(r).addScaledVector(eg,o);var d=1/(g+v+h);return s=v*d,o=h*d,t.copy(n).addScaledVector(js,s).addScaledVector(Ys,o)},equals:function(e){return e.a.equals(this.a)&&e.b.equals(this.b)&&e.c.equals(this.c)}});var Nb={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},ni={h:0,s:0,l:0},ql={h:0,s:0,l:0};function Qe(i,e,t){return e===void 0&&t===void 0?this.set(i):this.setRGB(i,e,t)}function Qh(i,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?i+(e-i)*6*t:t<1/2?e:t<2/3?i+(e-i)*6*(2/3-t):i}function ep(i){return i<.04045?i*.0773993808:Math.pow(i*.9478672986+.0521327014,2.4)}function tp(i){return i<.0031308?i*12.92:1.055*Math.pow(i,.41666)-.055}Object.assign(Qe.prototype,{isColor:!0,r:1,g:1,b:1,set:function(e){return e&&e.isColor?this.copy(e):typeof e=="number"?this.setHex(e):typeof e=="string"&&this.setStyle(e),this},setScalar:function(e){return this.r=e,this.g=e,this.b=e,this},setHex:function(e){return e=Math.floor(e),this.r=(e>>16&255)/255,this.g=(e>>8&255)/255,this.b=(e&255)/255,this},setRGB:function(e,t,n){return this.r=e,this.g=t,this.b=n,this},setHSL:function(e,t,n){if(e=kt.euclideanModulo(e,1),t=kt.clamp(t,0,1),n=kt.clamp(n,0,1),t===0)this.r=this.g=this.b=n;else{var r=n<=.5?n*(1+t):n+t-n*t,a=2*n-r;this.r=Qh(a,r,e+1/3),this.g=Qh(a,r,e),this.b=Qh(a,r,e-1/3)}return this},setStyle:function(e){function t(h){h!==void 0&&parseFloat(h)<1&&console.warn("THREE.Color: Alpha component of "+e+" will be ignored.")}var n;if(n=/^((?:rgb|hsl)a?)\(\s*([^\)]*)\)/.exec(e)){var r,a=n[1],s=n[2];switch(a){case"rgb":case"rgba":if(r=/^(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([0-9]*\.?[0-9]+)\s*)?$/.exec(s))return this.r=Math.min(255,parseInt(r[1],10))/255,this.g=Math.min(255,parseInt(r[2],10))/255,this.b=Math.min(255,parseInt(r[3],10))/255,t(r[5]),this;if(r=/^(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(,\s*([0-9]*\.?[0-9]+)\s*)?$/.exec(s))return this.r=Math.min(100,parseInt(r[1],10))/100,this.g=Math.min(100,parseInt(r[2],10))/100,this.b=Math.min(100,parseInt(r[3],10))/100,t(r[5]),this;break;case"hsl":case"hsla":if(r=/^([0-9]*\.?[0-9]+)\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(,\s*([0-9]*\.?[0-9]+)\s*)?$/.exec(s)){var o=parseFloat(r[1])/360,u=parseInt(r[2],10)/100,l=parseInt(r[3],10)/100;return t(r[5]),this.setHSL(o,u,l)}break}}else if(n=/^\#([A-Fa-f0-9]+)$/.exec(e)){var c=n[1],f=c.length;if(f===3)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(f===6)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 e&&e.length>0?this.setColorName(e):this},setColorName:function(e){var t=Nb[e];return t!==void 0?this.setHex(t):console.warn("THREE.Color: Unknown color "+e),this},clone:function(){return new this.constructor(this.r,this.g,this.b)},copy:function(e){return this.r=e.r,this.g=e.g,this.b=e.b,this},copyGammaToLinear:function(e,t){return t===void 0&&(t=2),this.r=Math.pow(e.r,t),this.g=Math.pow(e.g,t),this.b=Math.pow(e.b,t),this},copyLinearToGamma:function(e,t){t===void 0&&(t=2);var n=t>0?1/t:1;return this.r=Math.pow(e.r,n),this.g=Math.pow(e.g,n),this.b=Math.pow(e.b,n),this},convertGammaToLinear:function(e){return this.copyGammaToLinear(this,e),this},convertLinearToGamma:function(e){return this.copyLinearToGamma(this,e),this},copySRGBToLinear:function(e){return this.r=ep(e.r),this.g=ep(e.g),this.b=ep(e.b),this},copyLinearToSRGB:function(e){return this.r=tp(e.r),this.g=tp(e.g),this.b=tp(e.b),this},convertSRGBToLinear:function(){return this.copySRGBToLinear(this),this},convertLinearToSRGB:function(){return this.copyLinearToSRGB(this),this},getHex:function(){return this.r*255<<16^this.g*255<<8^this.b*255<<0},getHexString:function(){return("000000"+this.getHex().toString(16)).slice(-6)},getHSL:function(e){e===void 0&&(console.warn("THREE.Color: .getHSL() target is now required"),e={h:0,s:0,l:0});var t=this.r,n=this.g,r=this.b,a=Math.max(t,n,r),s=Math.min(t,n,r),o,u,l=(s+a)/2;if(s===a)o=0,u=0;else{var c=a-s;switch(u=l<=.5?c/(a+s):c/(2-a-s),a){case t:o=(n-r)/c+(n0&&(n.alphaTest=this.alphaTest),this.premultipliedAlpha===!0&&(n.premultipliedAlpha=this.premultipliedAlpha),this.wireframe===!0&&(n.wireframe=this.wireframe),this.wireframeLinewidth>1&&(n.wireframeLinewidth=this.wireframeLinewidth),this.wireframeLinecap!=="round"&&(n.wireframeLinecap=this.wireframeLinecap),this.wireframeLinejoin!=="round"&&(n.wireframeLinejoin=this.wireframeLinejoin),this.morphTargets===!0&&(n.morphTargets=!0),this.morphNormals===!0&&(n.morphNormals=!0),this.skinning===!0&&(n.skinning=!0),this.visible===!1&&(n.visible=!1),this.toneMapped===!1&&(n.toneMapped=!1),JSON.stringify(this.userData)!=="{}"&&(n.userData=this.userData);function r(o){var u=[];for(var l in o){var c=o[l];delete c.metadata,u.push(c)}return u}if(t){var a=r(e.textures),s=r(e.images);a.length>0&&(n.textures=a),s.length>0&&(n.images=s)}return n},clone:function(){return new this.constructor().copy(this)},copy:function(e){this.name=e.name,this.fog=e.fog,this.blending=e.blending,this.side=e.side,this.flatShading=e.flatShading,this.vertexTangents=e.vertexTangents,this.vertexColors=e.vertexColors,this.opacity=e.opacity,this.transparent=e.transparent,this.blendSrc=e.blendSrc,this.blendDst=e.blendDst,this.blendEquation=e.blendEquation,this.blendSrcAlpha=e.blendSrcAlpha,this.blendDstAlpha=e.blendDstAlpha,this.blendEquationAlpha=e.blendEquationAlpha,this.depthFunc=e.depthFunc,this.depthTest=e.depthTest,this.depthWrite=e.depthWrite,this.stencilWriteMask=e.stencilWriteMask,this.stencilFunc=e.stencilFunc,this.stencilRef=e.stencilRef,this.stencilFuncMask=e.stencilFuncMask,this.stencilFail=e.stencilFail,this.stencilZFail=e.stencilZFail,this.stencilZPass=e.stencilZPass,this.stencilWrite=e.stencilWrite;var t=e.clippingPlanes,n=null;if(t!==null){var r=t.length;n=new Array(r);for(var a=0;a!==r;++a)n[a]=t[a].clone()}return this.clippingPlanes=n,this.clipIntersection=e.clipIntersection,this.clipShadows=e.clipShadows,this.shadowSide=e.shadowSide,this.colorWrite=e.colorWrite,this.precision=e.precision,this.polygonOffset=e.polygonOffset,this.polygonOffsetFactor=e.polygonOffsetFactor,this.polygonOffsetUnits=e.polygonOffsetUnits,this.dithering=e.dithering,this.alphaTest=e.alphaTest,this.premultipliedAlpha=e.premultipliedAlpha,this.visible=e.visible,this.toneMapped=e.toneMapped,this.userData=JSON.parse(JSON.stringify(e.userData)),this},dispose:function(){this.dispatchEvent({type:"dispose"})}});Object.defineProperty(mt.prototype,"needsUpdate",{set:function(e){e===!0&&this.version++}});function fi(i){mt.call(this),this.type="MeshBasicMaterial",this.color=new Qe(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=ph,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.skinning=!1,this.morphTargets=!1,this.setValues(i)}fi.prototype=Object.create(mt.prototype);fi.prototype.constructor=fi;fi.prototype.isMeshBasicMaterial=!0;fi.prototype.copy=function(i){return mt.prototype.copy.call(this,i),this.color.copy(i.color),this.map=i.map,this.lightMap=i.lightMap,this.lightMapIntensity=i.lightMapIntensity,this.aoMap=i.aoMap,this.aoMapIntensity=i.aoMapIntensity,this.specularMap=i.specularMap,this.alphaMap=i.alphaMap,this.envMap=i.envMap,this.combine=i.combine,this.reflectivity=i.reflectivity,this.refractionRatio=i.refractionRatio,this.wireframe=i.wireframe,this.wireframeLinewidth=i.wireframeLinewidth,this.wireframeLinecap=i.wireframeLinecap,this.wireframeLinejoin=i.wireframeLinejoin,this.skinning=i.skinning,this.morphTargets=i.morphTargets,this};var Xt=new J;function gt(i,e,t){if(Array.isArray(i))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.name="",this.array=i,this.itemSize=e,this.count=i!==void 0?i.length/e:0,this.normalized=t===!0,this.usage=vh,this.updateRange={offset:0,count:-1},this.version=0}Object.defineProperty(gt.prototype,"needsUpdate",{set:function(e){e===!0&&this.version++}});Object.assign(gt.prototype,{isBufferAttribute:!0,onUploadCallback:function(){},setUsage:function(e){return this.usage=e,this},copy:function(e){return this.name=e.name,this.array=new e.array.constructor(e.array),this.itemSize=e.itemSize,this.count=e.count,this.normalized=e.normalized,this.usage=e.usage,this},copyAt:function(e,t,n){e*=this.itemSize,n*=t.itemSize;for(var r=0,a=this.itemSize;r0,s=r[1]&&r[1].length>0,o=e.morphTargets,u=o.length,l;if(u>0){l=[];for(var c=0;c0){p=[];for(var c=0;c0&&t.length===0&&console.error("THREE.DirectGeometry: Faceless geometries are not supported.");for(var c=0;ce&&(e=i[t]);return e}var lA=1,pi=new Ft,np=new Xe,Ks=new J,kr=new Pi,uu=new Pi,Tn=new J;function nt(){Object.defineProperty(this,"id",{value:lA+=2}),this.uuid=kt.generateUUID(),this.name="",this.type="BufferGeometry",this.index=null,this.attributes={},this.morphAttributes={},this.morphTargetsRelative=!1,this.groups=[],this.boundingBox=null,this.boundingSphere=null,this.drawRange={start:0,count:1/0},this.userData={}}nt.prototype=Object.assign(Object.create(ha.prototype),{constructor:nt,isBufferGeometry:!0,getIndex:function(){return this.index},setIndex:function(e){Array.isArray(e)?this.index=new(Ub(e)>65535?Ou:Bu)(e,1):this.index=e},getAttribute:function(e){return this.attributes[e]},setAttribute:function(e,t){return this.attributes[e]=t,this},deleteAttribute:function(e){return delete this.attributes[e],this},addGroup:function(e,t,n){this.groups.push({start:e,count:t,materialIndex:n!==void 0?n:0})},clearGroups:function(){this.groups=[]},setDrawRange:function(e,t){this.drawRange.start=e,this.drawRange.count=t},applyMatrix4:function(e){var t=this.attributes.position;t!==void 0&&(t.applyMatrix4(e),t.needsUpdate=!0);var n=this.attributes.normal;if(n!==void 0){var r=new ar().getNormalMatrix(e);n.applyNormalMatrix(r),n.needsUpdate=!0}var a=this.attributes.tangent;return a!==void 0&&(a.transformDirection(e),a.needsUpdate=!0),this.boundingBox!==null&&this.computeBoundingBox(),this.boundingSphere!==null&&this.computeBoundingSphere(),this},rotateX:function(e){return pi.makeRotationX(e),this.applyMatrix4(pi),this},rotateY:function(e){return pi.makeRotationY(e),this.applyMatrix4(pi),this},rotateZ:function(e){return pi.makeRotationZ(e),this.applyMatrix4(pi),this},translate:function(e,t,n){return pi.makeTranslation(e,t,n),this.applyMatrix4(pi),this},scale:function(e,t,n){return pi.makeScale(e,t,n),this.applyMatrix4(pi),this},lookAt:function(e){return np.lookAt(e),np.updateMatrix(),this.applyMatrix4(np.matrix),this},center:function(){return this.computeBoundingBox(),this.boundingBox.getCenter(Ks).negate(),this.translate(Ks.x,Ks.y,Ks.z),this},setFromObject:function(e){var t=e.geometry;if(e.isPoints||e.isLine){var n=new Ke(t.vertices.length*3,3),r=new Ke(t.colors.length*3,3);if(this.setAttribute("position",n.copyVector3sArray(t.vertices)),this.setAttribute("color",r.copyColorsArray(t.colors)),t.lineDistances&&t.lineDistances.length===t.vertices.length){var a=new Ke(t.lineDistances.length,1);this.setAttribute("lineDistance",a.copyArray(t.lineDistances))}t.boundingSphere!==null&&(this.boundingSphere=t.boundingSphere.clone()),t.boundingBox!==null&&(this.boundingBox=t.boundingBox.clone())}else e.isMesh&&t&&t.isGeometry&&this.fromGeometry(t);return this},setFromPoints:function(e){for(var t=[],n=0,r=e.length;n0){var n=new Float32Array(e.normals.length*3);this.setAttribute("normal",new gt(n,3).copyVector3sArray(e.normals))}if(e.colors.length>0){var r=new Float32Array(e.colors.length*3);this.setAttribute("color",new gt(r,3).copyColorsArray(e.colors))}if(e.uvs.length>0){var a=new Float32Array(e.uvs.length*2);this.setAttribute("uv",new gt(a,2).copyVector2sArray(e.uvs))}if(e.uvs2.length>0){var s=new Float32Array(e.uvs2.length*2);this.setAttribute("uv2",new gt(s,2).copyVector2sArray(e.uvs2))}this.groups=e.groups;for(var o in e.morphTargets){for(var u=[],l=e.morphTargets[o],c=0,f=l.length;c0){var m=new Ke(e.skinIndices.length*4,4);this.setAttribute("skinIndex",m.copyVector4sArray(e.skinIndices))}if(e.skinWeights.length>0){var v=new Ke(e.skinWeights.length*4,4);this.setAttribute("skinWeight",v.copyVector4sArray(e.skinWeights))}return e.boundingSphere!==null&&(this.boundingSphere=e.boundingSphere.clone()),e.boundingBox!==null&&(this.boundingBox=e.boundingBox.clone()),this},computeBoundingBox:function(){this.boundingBox===null&&(this.boundingBox=new Pi);var e=this.attributes.position,t=this.morphAttributes.position;if(e!==void 0){if(this.boundingBox.setFromBufferAttribute(e),t)for(var n=0,r=t.length;n0&&(e.userData=this.userData),this.parameters!==void 0){var t=this.parameters;for(var n in t)t[n]!==void 0&&(e[n]=t[n]);return e}e.data={attributes:{}};var r=this.index;r!==null&&(e.data.index={type:r.array.constructor.name,array:Array.prototype.slice.call(r.array)});var a=this.attributes;for(var n in a){var s=a[n],o=s.toJSON();s.name!==""&&(o.name=s.name),e.data.attributes[n]=o}var u={},l=!1;for(var n in this.morphAttributes){for(var c=this.morphAttributes[n],f=[],h=0,p=c.length;h0&&(u[n]=f,l=!0)}l&&(e.data.morphAttributes=u,e.data.morphTargetsRelative=this.morphTargetsRelative);var m=this.groups;m.length>0&&(e.data.groups=JSON.parse(JSON.stringify(m)));var v=this.boundingSphere;return v!==null&&(e.data.boundingSphere={center:v.center.toArray(),radius:v.radius}),e},clone:function(){return new nt().copy(this)},copy:function(e){var t,n,r;this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null,this.name=e.name;var a=e.index;a!==null&&this.setIndex(a.clone());var s=e.attributes;for(t in s){var o=s[t];this.setAttribute(t,o.clone())}var u=e.morphAttributes;for(t in u){var l=[],c=u[t];for(n=0,r=c.length;n0){var o=a[s[0]];if(o!==void 0)for(this.morphTargetInfluences=[],this.morphTargetDictionary={},t=0,n=o.length;t0&&console.error("THREE.Mesh.updateMorphTargets() no longer supports THREE.Geometry. Use THREE.BufferGeometry instead.")}},raycast:function(e,t){var n=this.geometry,r=this.material,a=this.matrixWorld;if(r!==void 0&&(n.boundingSphere===null&&n.computeBoundingSphere(),rp.copy(n.boundingSphere),rp.applyMatrix4(a),e.ray.intersectsSphere(rp)!==!1&&(tg.getInverse(a),Qa.copy(e.ray).applyMatrix4(tg),!(n.boundingBox!==null&&Qa.intersectsBox(n.boundingBox)===!1)))){var s;if(n.isBufferGeometry){var o,u,l,c=n.index,f=n.attributes.position,h=n.morphAttributes.position,p=n.morphTargetsRelative,m=n.attributes.uv,v=n.attributes.uv2,g=n.groups,d=n.drawRange,y,b,_,w,E,x,S,T;if(c!==null)if(Array.isArray(r))for(y=0,_=g.length;y<_;y++)for(E=g[y],x=r[E.materialIndex],S=Math.max(E.start,d.start),T=Math.min(E.start+E.count,d.start+d.count),b=S,w=T;b0&&(K=$);for(var U=0,N=W.length;Ut.far?null:{distance:l,point:Ql.clone(),object:i}}function ec(i,e,t,n,r,a,s,o,u,l,c,f){es.fromBufferAttribute(r,l),ts.fromBufferAttribute(r,c),ns.fromBufferAttribute(r,f);var h=i.morphTargetInfluences;if(e.morphTargets&&a&&h){Zl.set(0,0,0),Jl.set(0,0,0),$l.set(0,0,0);for(var p=0,m=a.length;p0)for(var c=0;c0&&(this.normalsNeedUpdate=!0)},computeFlatVertexNormals:function(){var e,t,n;for(this.computeFaceNormals(),e=0,t=this.faces.length;e0&&(this.normalsNeedUpdate=!0)},computeMorphNormals:function(){var e,t,n,r,a;for(n=0,r=this.faces.length;n=0;u--){var g=m[u];for(this.faces.splice(g,1),h=0,p=this.faceVertexUvs.length;h0,b=m.vertexNormals.length>0,_=m.color.r!==1||m.color.g!==1||m.color.b!==1,w=m.vertexColors.length>0,E=0;if(E=L(E,0,0),E=L(E,1,v),E=L(E,2,g),E=L(E,3,d),E=L(E,4,y),E=L(E,5,b),E=L(E,6,_),E=L(E,7,w),o.push(E),o.push(m.a,m.b,m.c),o.push(m.materialIndex),d){var x=this.faceVertexUvs[0][a];o.push(R(x[0]),R(x[1]),R(x[2]))}if(y&&o.push(B(m.normal)),b){var S=m.vertexNormals;o.push(B(S[0]),B(S[1]),B(S[2]))}if(_&&o.push(k(m.color)),w){var T=m.vertexColors;o.push(k(T[0]),k(T[1]),k(T[2]))}}function L(F,W,K){return K?F|1<0&&(e.data.colors=c),h.length>0&&(e.data.uvs=[h]),e.data.faces=o,e},clone:function(){return new yt().copy(this)},copy:function(e){var t,n,r,a,s,o;this.vertices=[],this.colors=[],this.faces=[],this.faceVertexUvs=[[]],this.morphTargets=[],this.morphNormals=[],this.skinWeights=[],this.skinIndices=[],this.lineDistances=[],this.boundingBox=null,this.boundingSphere=null,this.name=e.name;var u=e.vertices;for(t=0,n=u.length;t0?1:-1,p.push(Q.x,Q.y,Q.z),m.push(q/L),m.push(1-V/B),P+=1}}for(V=0;V0&&(e.defines=this.defines),e.vertexShader=this.vertexShader,e.fragmentShader=this.fragmentShader;var a={};for(var s in this.extensions)this.extensions[s]===!0&&(a[s]=!0);return Object.keys(a).length>0&&(e.extensions=a),e};function Qi(){Xe.call(this),this.type="Camera",this.matrixWorldInverse=new Ft,this.projectionMatrix=new Ft,this.projectionMatrixInverse=new Ft}Qi.prototype=Object.assign(Object.create(Xe.prototype),{constructor:Qi,isCamera:!0,copy:function(e,t){return Xe.prototype.copy.call(this,e,t),this.matrixWorldInverse.copy(e.matrixWorldInverse),this.projectionMatrix.copy(e.projectionMatrix),this.projectionMatrixInverse.copy(e.projectionMatrixInverse),this},getWorldDirection:function(e){e===void 0&&(console.warn("THREE.Camera: .getWorldDirection() target is now required"),e=new J),this.updateMatrixWorld(!0);var t=this.matrixWorld.elements;return e.set(-t[8],-t[9],-t[10]).normalize()},updateMatrixWorld:function(e){Xe.prototype.updateMatrixWorld.call(this,e),this.matrixWorldInverse.getInverse(this.matrixWorld)},updateWorldMatrix:function(e,t){Xe.prototype.updateWorldMatrix.call(this,e,t),this.matrixWorldInverse.getInverse(this.matrixWorld)},clone:function(){return new this.constructor().copy(this)}});function On(i,e,t,n){Qi.call(this),this.type="PerspectiveCamera",this.fov=i!==void 0?i:50,this.zoom=1,this.near=t!==void 0?t:.1,this.far=n!==void 0?n:2e3,this.focus=10,this.aspect=e!==void 0?e:1,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}On.prototype=Object.assign(Object.create(Qi.prototype),{constructor:On,isPerspectiveCamera:!0,copy:function(e,t){return Qi.prototype.copy.call(this,e,t),this.fov=e.fov,this.zoom=e.zoom,this.near=e.near,this.far=e.far,this.focus=e.focus,this.aspect=e.aspect,this.view=e.view===null?null:Object.assign({},e.view),this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this},setFocalLength:function(e){var t=.5*this.getFilmHeight()/e;this.fov=kt.RAD2DEG*2*Math.atan(t),this.updateProjectionMatrix()},getFocalLength:function(){var e=Math.tan(kt.DEG2RAD*.5*this.fov);return .5*this.getFilmHeight()/e},getEffectiveFOV:function(){return kt.RAD2DEG*2*Math.atan(Math.tan(kt.DEG2RAD*.5*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(e,t,n,r,a,s){this.aspect=e/t,this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=n,this.view.offsetY=r,this.view.width=a,this.view.height=s,this.updateProjectionMatrix()},clearViewOffset:function(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()},updateProjectionMatrix:function(){var e=this.near,t=e*Math.tan(kt.DEG2RAD*.5*this.fov)/this.zoom,n=2*t,r=this.aspect*n,a=-.5*r,s=this.view;if(this.view!==null&&this.view.enabled){var o=s.fullWidth,u=s.fullHeight;a+=s.offsetX*r/o,t-=s.offsetY*n/u,r*=s.width/o,n*=s.height/u}var l=this.filmOffset;l!==0&&(a+=e*l/this.getFilmWidth()),this.projectionMatrix.makePerspective(a,a+r,t,t-n,e,this.far),this.projectionMatrixInverse.getInverse(this.projectionMatrix)},toJSON:function(e){var t=Xe.prototype.toJSON.call(this,e);return t.object.fov=this.fov,t.object.zoom=this.zoom,t.object.near=this.near,t.object.far=this.far,t.object.focus=this.focus,t.object.aspect=this.aspect,this.view!==null&&(t.object.view=Object.assign({},this.view)),t.object.filmGauge=this.filmGauge,t.object.filmOffset=this.filmOffset,t}});var Xs=90,qs=1;function Nu(i,e,t,n){Xe.call(this),this.type="CubeCamera";var r=new On(Xs,qs,i,e);r.up.set(0,-1,0),r.lookAt(new J(1,0,0)),this.add(r);var a=new On(Xs,qs,i,e);a.up.set(0,-1,0),a.lookAt(new J(-1,0,0)),this.add(a);var s=new On(Xs,qs,i,e);s.up.set(0,0,1),s.lookAt(new J(0,1,0)),this.add(s);var o=new On(Xs,qs,i,e);o.up.set(0,0,-1),o.lookAt(new J(0,-1,0)),this.add(o);var u=new On(Xs,qs,i,e);u.up.set(0,-1,0),u.lookAt(new J(0,0,1)),this.add(u);var l=new On(Xs,qs,i,e);l.up.set(0,-1,0),l.lookAt(new J(0,0,-1)),this.add(l),n=n||{format:gs,magFilter:Nn,minFilter:Nn},this.renderTarget=new ko(t,n),this.renderTarget.texture.name="CubeCamera",this.update=function(c,f){this.parent===null&&this.updateMatrixWorld();var h=c.getRenderTarget(),p=this.renderTarget,m=p.texture.generateMipmaps;p.texture.generateMipmaps=!1,c.setRenderTarget(p,0),c.render(f,r),c.setRenderTarget(p,1),c.render(f,a),c.setRenderTarget(p,2),c.render(f,s),c.setRenderTarget(p,3),c.render(f,o),c.setRenderTarget(p,4),c.render(f,u),p.texture.generateMipmaps=m,c.setRenderTarget(p,5),c.render(f,l),c.setRenderTarget(h)},this.clear=function(c,f,h,p){for(var m=c.getRenderTarget(),v=this.renderTarget,g=0;g<6;g++)c.setRenderTarget(v,g),c.clear(f,h,p);c.setRenderTarget(m)}}Nu.prototype=Object.create(Xe.prototype);Nu.prototype.constructor=Nu;function ko(i,e,t){Number.isInteger(e)&&(console.warn("THREE.WebGLCubeRenderTarget: constructor signature is now WebGLCubeRenderTarget( size, options )"),e=t),fr.call(this,i,i,e)}ko.prototype=Object.create(fr.prototype);ko.prototype.constructor=ko;ko.prototype.isWebGLCubeRenderTarget=!0;ko.prototype.fromEquirectangularTexture=function(i,e){this.texture.type=e.type,this.texture.format=e.format,this.texture.encoding=e.encoding;var t=new Ra,n={uniforms:{tEquirect:{value:null}},vertexShader:["varying vec3 vWorldDirection;","vec3 transformDirection( in vec3 dir, in mat4 matrix ) {"," return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );","}","void main() {"," vWorldDirection = transformDirection( position, modelMatrix );"," #include "," #include ","}"].join(` `),fragmentShader:["uniform sampler2D tEquirect;","varying vec3 vWorldDirection;","#define RECIPROCAL_PI 0.31830988618","#define RECIPROCAL_PI2 0.15915494","void main() {"," vec3 direction = normalize( vWorldDirection );"," vec2 sampleUV;"," sampleUV.y = asin( clamp( direction.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;"," sampleUV.x = atan( direction.z, direction.x ) * RECIPROCAL_PI2 + 0.5;"," gl_FragColor = texture2D( tEquirect, sampleUV );","}"].join(` `)},r=new br({type:"CubemapFromEquirect",uniforms:Do(n.uniforms),vertexShader:n.vertexShader,fragmentShader:n.fragmentShader,side:Vn,blending:ka});r.uniforms.tEquirect.value=e;var a=new pn(new mh(5,5,5),r);t.add(a);var s=new Nu(1,10,1);return s.renderTarget=this,s.renderTarget.texture.name="CubeCameraTexture",s.update(i,t),a.geometry.dispose(),a.material.dispose(),this};function Mo(i,e,t,n,r,a,s,o,u,l,c,f){Qt.call(this,null,a,s,o,u,l,n,r,c,f),this.image={data:i||null,width:e||1,height:t||1},this.magFilter=u!==void 0?u:kn,this.minFilter=l!==void 0?l:kn,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1,this.needsUpdate=!0}Mo.prototype=Object.create(Qt.prototype);Mo.prototype.constructor=Mo;Mo.prototype.isDataTexture=!0;var Zs=new Wa,nc=new J;function Al(i,e,t,n,r,a){this.planes=[i!==void 0?i:new mi,e!==void 0?e:new mi,t!==void 0?t:new mi,n!==void 0?n:new mi,r!==void 0?r:new mi,a!==void 0?a:new mi]}Object.assign(Al.prototype,{set:function(e,t,n,r,a,s){var o=this.planes;return o[0].copy(e),o[1].copy(t),o[2].copy(n),o[3].copy(r),o[4].copy(a),o[5].copy(s),this},clone:function(){return new this.constructor().copy(this)},copy:function(e){for(var t=this.planes,n=0;n<6;n++)t[n].copy(e.planes[n]);return this},setFromProjectionMatrix:function(e){var t=this.planes,n=e.elements,r=n[0],a=n[1],s=n[2],o=n[3],u=n[4],l=n[5],c=n[6],f=n[7],h=n[8],p=n[9],m=n[10],v=n[11],g=n[12],d=n[13],y=n[14],b=n[15];return t[0].setComponents(o-r,f-u,v-h,b-g).normalize(),t[1].setComponents(o+r,f+u,v+h,b+g).normalize(),t[2].setComponents(o+a,f+l,v+p,b+d).normalize(),t[3].setComponents(o-a,f-l,v-p,b-d).normalize(),t[4].setComponents(o-s,f-c,v-m,b-y).normalize(),t[5].setComponents(o+s,f+c,v+m,b+y).normalize(),this},intersectsObject:function(e){var t=e.geometry;return t.boundingSphere===null&&t.computeBoundingSphere(),Zs.copy(t.boundingSphere).applyMatrix4(e.matrixWorld),this.intersectsSphere(Zs)},intersectsSprite:function(e){return Zs.center.set(0,0,0),Zs.radius=.7071067811865476,Zs.applyMatrix4(e.matrixWorld),this.intersectsSphere(Zs)},intersectsSphere:function(e){for(var t=this.planes,n=e.center,r=-e.radius,a=0;a<6;a++){var s=t[a].distanceToPoint(n);if(s0?e.max.x:e.min.x,nc.y=r.normal.y>0?e.max.y:e.min.y,nc.z=r.normal.z>0?e.max.z:e.min.z,r.distanceToPoint(nc)<0)return!1}return!0},containsPoint:function(e){for(var t=this.planes,n=0;n<6;n++)if(t[n].distanceToPoint(e)<0)return!1;return!0}});var Ye={common:{diffuse:{value:new Qe(15658734)},opacity:{value:1},map:{value:null},uvTransform:{value:new ar},uv2Transform:{value:new ar},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 De(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:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new Qe(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{},shadow:{},shadowBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{},shadow:{},shadowBias:{},shadowRadius:{},shadowMapSize:{}}},spotShadowMap:{value:[]},spotShadowMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{},shadow:{},shadowBias:{},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 Qe(15658734)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},uvTransform:{value:new ar}},sprite:{diffuse:{value:new Qe(15658734)},opacity:{value:1},center:{value:new De(.5,.5)},rotation:{value:0},map:{value:null},alphaMap:{value:null},uvTransform:{value:new ar}}};function Wb(){var i=null,e=!1,t=null;function n(r,a){e!==!1&&(t(r,a),i.requestAnimationFrame(n))}return{start:function(){e!==!0&&t!==null&&(i.requestAnimationFrame(n),e=!0)},stop:function(){e=!1},setAnimationLoop:function(a){t=a},setContext:function(a){i=a}}}function vA(i,e){var t=e.isWebGL2,n=new WeakMap;function r(l,c){var f=l.array,h=l.usage,p=i.createBuffer();i.bindBuffer(c,p),i.bufferData(c,f,h),l.onUploadCallback();var m=5126;return f instanceof Float32Array?m=5126:f instanceof Float64Array?console.warn("THREE.WebGLAttributes: Unsupported data buffer format: Float64Array."):f instanceof Uint16Array?m=5123:f instanceof Int16Array?m=5122:f instanceof Uint32Array?m=5125:f instanceof Int32Array?m=5124:f instanceof Int8Array?m=5120:f instanceof Uint8Array&&(m=5121),{buffer:p,type:m,bytesPerElement:f.BYTES_PER_ELEMENT,version:l.version}}function a(l,c,f){var h=c.array,p=c.updateRange;i.bindBuffer(f,l),p.count===-1?i.bufferSubData(f,0,h):(t?i.bufferSubData(f,p.offset*h.BYTES_PER_ELEMENT,h,p.offset,p.count):i.bufferSubData(f,p.offset*h.BYTES_PER_ELEMENT,h.subarray(p.offset,p.offset+p.count)),p.count=-1)}function s(l){return l.isInterleavedBufferAttribute&&(l=l.data),n.get(l)}function o(l){l.isInterleavedBufferAttribute&&(l=l.data);var c=n.get(l);c&&(i.deleteBuffer(c.buffer),n.delete(l))}function u(l,c){l.isInterleavedBufferAttribute&&(l=l.data);var f=n.get(l);f===void 0?n.set(l,r(l,c)):f.version 0.0 ) { distanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) ); } return distanceFalloff; #else if( cutoffDistance > 0.0 && decayExponent > 0.0 ) { return pow( saturate( -lightDistance / cutoffDistance + 1.0 ), decayExponent ); } return 1.0; #endif } vec3 BRDF_Diffuse_Lambert( const in vec3 diffuseColor ) { return RECIPROCAL_PI * diffuseColor; } vec3 F_Schlick( const in vec3 specularColor, const in float dotLH ) { float fresnel = exp2( ( -5.55473 * dotLH - 6.98316 ) * dotLH ); return ( 1.0 - specularColor ) * fresnel + specularColor; } vec3 F_Schlick_RoughnessDependent( const in vec3 F0, const in float dotNV, const in float roughness ) { float fresnel = exp2( ( -5.55473 * dotNV - 6.98316 ) * dotNV ); vec3 Fr = max( vec3( 1.0 - roughness ), F0 ) - F0; return Fr * fresnel + F0; } float G_GGX_Smith( const in float alpha, const in float dotNL, const in float dotNV ) { float a2 = pow2( alpha ); float gl = dotNL + sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) ); float gv = dotNV + sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) ); return 1.0 / ( gl * gv ); } float G_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const in float dotNV ) { float a2 = pow2( alpha ); float gv = dotNL * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) ); float gl = dotNV * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) ); return 0.5 / max( gv + gl, EPSILON ); } float D_GGX( const in float alpha, const in float dotNH ) { float a2 = pow2( alpha ); float denom = pow2( dotNH ) * ( a2 - 1.0 ) + 1.0; return RECIPROCAL_PI * a2 / pow2( denom ); } vec3 BRDF_Specular_GGX( const in IncidentLight incidentLight, const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float roughness ) { float alpha = pow2( roughness ); vec3 halfDir = normalize( incidentLight.direction + viewDir ); float dotNL = saturate( dot( normal, incidentLight.direction ) ); float dotNV = saturate( dot( normal, viewDir ) ); float dotNH = saturate( dot( normal, halfDir ) ); float dotLH = saturate( dot( incidentLight.direction, halfDir ) ); vec3 F = F_Schlick( specularColor, dotLH ); float G = G_GGX_SmithCorrelated( alpha, dotNL, dotNV ); float D = D_GGX( alpha, dotNH ); return F * ( G * D ); } vec2 LTC_Uv( const in vec3 N, const in vec3 V, const in float roughness ) { const float LUT_SIZE = 64.0; const float LUT_SCALE = ( LUT_SIZE - 1.0 ) / LUT_SIZE; const float LUT_BIAS = 0.5 / LUT_SIZE; float dotNV = saturate( dot( N, V ) ); vec2 uv = vec2( roughness, sqrt( 1.0 - dotNV ) ); uv = uv * LUT_SCALE + LUT_BIAS; return uv; } float LTC_ClippedSphereFormFactor( const in vec3 f ) { float l = length( f ); return max( ( l * l + f.z ) / ( l + 1.0 ), 0.0 ); } vec3 LTC_EdgeVectorFormFactor( const in vec3 v1, const in vec3 v2 ) { float x = dot( v1, v2 ); float y = abs( x ); float a = 0.8543985 + ( 0.4965155 + 0.0145206 * y ) * y; float b = 3.4175940 + ( 4.1616724 + y ) * y; float v = a / b; float theta_sintheta = ( x > 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v; return cross( v1, v2 ) * theta_sintheta; } vec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) { vec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ]; vec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ]; vec3 lightNormal = cross( v1, v2 ); if( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 ); vec3 T1, T2; T1 = normalize( V - N * dot( V, N ) ); T2 = - cross( N, T1 ); mat3 mat = mInv * transposeMat3( mat3( T1, T2, N ) ); vec3 coords[ 4 ]; coords[ 0 ] = mat * ( rectCoords[ 0 ] - P ); coords[ 1 ] = mat * ( rectCoords[ 1 ] - P ); coords[ 2 ] = mat * ( rectCoords[ 2 ] - P ); coords[ 3 ] = mat * ( rectCoords[ 3 ] - P ); coords[ 0 ] = normalize( coords[ 0 ] ); coords[ 1 ] = normalize( coords[ 1 ] ); coords[ 2 ] = normalize( coords[ 2 ] ); coords[ 3 ] = normalize( coords[ 3 ] ); vec3 vectorFormFactor = vec3( 0.0 ); vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] ); vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] ); vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] ); vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] ); float result = LTC_ClippedSphereFormFactor( vectorFormFactor ); return vec3( result ); } vec3 BRDF_Specular_GGX_Environment( const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float roughness ) { float dotNV = saturate( dot( normal, viewDir ) ); vec2 brdf = integrateSpecularBRDF( dotNV, roughness ); return specularColor * brdf.x + brdf.y; } void BRDF_Specular_Multiscattering_Environment( const in GeometricContext geometry, const in vec3 specularColor, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) { float dotNV = saturate( dot( geometry.normal, geometry.viewDir ) ); vec3 F = F_Schlick_RoughnessDependent( specularColor, dotNV, roughness ); vec2 brdf = integrateSpecularBRDF( dotNV, roughness ); vec3 FssEss = F * brdf.x + brdf.y; float Ess = brdf.x + brdf.y; float Ems = 1.0 - Ess; vec3 Favg = specularColor + ( 1.0 - specularColor ) * 0.047619; vec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg ); singleScatter += FssEss; multiScatter += Fms * Ems; } float G_BlinnPhong_Implicit( ) { return 0.25; } float D_BlinnPhong( const in float shininess, const in float dotNH ) { return RECIPROCAL_PI * ( shininess * 0.5 + 1.0 ) * pow( dotNH, shininess ); } vec3 BRDF_Specular_BlinnPhong( const in IncidentLight incidentLight, const in GeometricContext geometry, const in vec3 specularColor, const in float shininess ) { vec3 halfDir = normalize( incidentLight.direction + geometry.viewDir ); float dotNH = saturate( dot( geometry.normal, halfDir ) ); float dotLH = saturate( dot( incidentLight.direction, halfDir ) ); vec3 F = F_Schlick( specularColor, dotLH ); float G = G_BlinnPhong_Implicit( ); float D = D_BlinnPhong( shininess, dotNH ); return F * ( G * D ); } float GGXRoughnessToBlinnExponent( const in float ggxRoughness ) { return ( 2.0 / pow2( ggxRoughness + 0.0001 ) - 2.0 ); } float BlinnExponentToGGXRoughness( const in float blinnExponent ) { return sqrt( 2.0 / ( blinnExponent + 2.0 ) ); } #if defined( USE_SHEEN ) float D_Charlie(float roughness, float NoH) { float invAlpha = 1.0 / roughness; float cos2h = NoH * NoH; float sin2h = max(1.0 - cos2h, 0.0078125); return (2.0 + invAlpha) * pow(sin2h, invAlpha * 0.5) / (2.0 * PI); } float V_Neubelt(float NoV, float NoL) { return saturate(1.0 / (4.0 * (NoL + NoV - NoL * NoV))); } vec3 BRDF_Specular_Sheen( const in float roughness, const in vec3 L, const in GeometricContext geometry, vec3 specularColor ) { vec3 N = geometry.normal; vec3 V = geometry.viewDir; vec3 H = normalize( V + L ); float dotNH = saturate( dot( N, H ) ); return specularColor * D_Charlie( roughness, dotNH ) * V_Neubelt( dot(N, V), dot(N, L) ); } #endif`,SA=`#ifdef USE_BUMPMAP uniform sampler2D bumpMap; uniform float bumpScale; vec2 dHdxy_fwd() { vec2 dSTdx = dFdx( vUv ); vec2 dSTdy = dFdy( vUv ); float Hll = bumpScale * texture2D( bumpMap, vUv ).x; float dBx = bumpScale * texture2D( bumpMap, vUv + dSTdx ).x - Hll; float dBy = bumpScale * texture2D( bumpMap, vUv + dSTdy ).x - Hll; return vec2( dBx, dBy ); } vec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy ) { vec3 vSigmaX = vec3( dFdx( surf_pos.x ), dFdx( surf_pos.y ), dFdx( surf_pos.z ) ); vec3 vSigmaY = vec3( dFdy( surf_pos.x ), dFdy( surf_pos.y ), dFdy( surf_pos.z ) ); vec3 vN = surf_norm; vec3 R1 = cross( vSigmaY, vN ); vec3 R2 = cross( vN, vSigmaX ); float fDet = dot( vSigmaX, R1 ); fDet *= ( float( gl_FrontFacing ) * 2.0 - 1.0 ); vec3 vGrad = sign( fDet ) * ( dHdxy.x * R1 + dHdxy.y * R2 ); return normalize( abs( fDet ) * surf_norm - vGrad ); } #endif`,AA=`#if NUM_CLIPPING_PLANES > 0 vec4 plane; #pragma unroll_loop for ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) { plane = clippingPlanes[ i ]; if ( dot( vViewPosition, plane.xyz ) > plane.w ) discard; } #if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES bool clipped = true; #pragma unroll_loop for ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) { plane = clippingPlanes[ i ]; clipped = ( dot( vViewPosition, plane.xyz ) > plane.w ) && clipped; } if ( clipped ) discard; #endif #endif`,xA=`#if NUM_CLIPPING_PLANES > 0 #if ! defined( STANDARD ) && ! defined( PHONG ) && ! defined( MATCAP ) varying vec3 vViewPosition; #endif uniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ]; #endif`,TA=`#if NUM_CLIPPING_PLANES > 0 && ! defined( STANDARD ) && ! defined( PHONG ) && ! defined( MATCAP ) varying vec3 vViewPosition; #endif`,DA=`#if NUM_CLIPPING_PLANES > 0 && ! defined( STANDARD ) && ! defined( PHONG ) && ! defined( MATCAP ) vViewPosition = - mvPosition.xyz; #endif`,kA=`#ifdef USE_COLOR diffuseColor.rgb *= vColor; #endif`,MA=`#ifdef USE_COLOR varying vec3 vColor; #endif`,IA=`#ifdef USE_COLOR varying vec3 vColor; #endif`,PA=`#ifdef USE_COLOR vColor.xyz = color.xyz; #endif`,FA=`#define PI 3.14159265359 #define PI2 6.28318530718 #define PI_HALF 1.5707963267949 #define RECIPROCAL_PI 0.31830988618 #define RECIPROCAL_PI2 0.15915494 #define LOG2 1.442695 #define EPSILON 1e-6 #ifndef saturate #define saturate(a) clamp( a, 0.0, 1.0 ) #endif #define whiteComplement(a) ( 1.0 - saturate( a ) ) float pow2( const in float x ) { return x*x; } float pow3( const in float x ) { return x*x*x; } float pow4( const in float x ) { float x2 = x*x; return x2*x2; } float average( const in vec3 color ) { return dot( color, vec3( 0.3333 ) ); } highp float rand( const in vec2 uv ) { const highp float a = 12.9898, b = 78.233, c = 43758.5453; highp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI ); return fract(sin(sn) * c); } #ifdef HIGH_PRECISION float precisionSafeLength( vec3 v ) { return length( v ); } #else float max3( vec3 v ) { return max( max( v.x, v.y ), v.z ); } float precisionSafeLength( vec3 v ) { float maxComponent = max3( abs( v ) ); return length( v / maxComponent ) * maxComponent; } #endif struct IncidentLight { vec3 color; vec3 direction; bool visible; }; struct ReflectedLight { vec3 directDiffuse; vec3 directSpecular; vec3 indirectDiffuse; vec3 indirectSpecular; }; struct GeometricContext { vec3 position; vec3 normal; vec3 viewDir; #ifdef CLEARCOAT vec3 clearcoatNormal; #endif }; vec3 transformDirection( in vec3 dir, in mat4 matrix ) { return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz ); } vec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) { return normalize( ( vec4( dir, 0.0 ) * matrix ).xyz ); } vec3 projectOnPlane(in vec3 point, in vec3 pointOnPlane, in vec3 planeNormal ) { float distance = dot( planeNormal, point - pointOnPlane ); return - distance * planeNormal + point; } float sideOfPlane( in vec3 point, in vec3 pointOnPlane, in vec3 planeNormal ) { return sign( dot( point - pointOnPlane, planeNormal ) ); } vec3 linePlaneIntersect( in vec3 pointOnLine, in vec3 lineDirection, in vec3 pointOnPlane, in vec3 planeNormal ) { return lineDirection * ( dot( planeNormal, pointOnPlane - pointOnLine ) / dot( planeNormal, lineDirection ) ) + pointOnLine; } mat3 transposeMat3( const in mat3 m ) { mat3 tmp; tmp[ 0 ] = vec3( m[ 0 ].x, m[ 1 ].x, m[ 2 ].x ); tmp[ 1 ] = vec3( m[ 0 ].y, m[ 1 ].y, m[ 2 ].y ); tmp[ 2 ] = vec3( m[ 0 ].z, m[ 1 ].z, m[ 2 ].z ); return tmp; } float linearToRelativeLuminance( const in vec3 color ) { vec3 weights = vec3( 0.2126, 0.7152, 0.0722 ); return dot( weights, color.rgb ); } bool isPerspectiveMatrix( mat4 m ) { return m[ 2 ][ 3 ] == - 1.0; }`,RA=`#ifdef ENVMAP_TYPE_CUBE_UV #define cubeUV_maxMipLevel 8.0 #define cubeUV_minMipLevel 4.0 #define cubeUV_maxTileSize 256.0 #define cubeUV_minTileSize 16.0 float getFace(vec3 direction) { vec3 absDirection = abs(direction); float face = -1.0; if (absDirection.x > absDirection.z) { if (absDirection.x > absDirection.y) face = direction.x > 0.0 ? 0.0 : 3.0; else face = direction.y > 0.0 ? 1.0 : 4.0; } else { if (absDirection.z > absDirection.y) face = direction.z > 0.0 ? 2.0 : 5.0; else face = direction.y > 0.0 ? 1.0 : 4.0; } return face; } vec2 getUV(vec3 direction, float face) { vec2 uv; if (face == 0.0) { uv = vec2(-direction.z, direction.y) / abs(direction.x); } else if (face == 1.0) { uv = vec2(direction.x, -direction.z) / abs(direction.y); } else if (face == 2.0) { uv = direction.xy / abs(direction.z); } else if (face == 3.0) { uv = vec2(direction.z, direction.y) / abs(direction.x); } else if (face == 4.0) { uv = direction.xz / abs(direction.y); } else { uv = vec2(-direction.x, direction.y) / abs(direction.z); } return 0.5 * (uv + 1.0); } vec3 bilinearCubeUV(sampler2D envMap, vec3 direction, float mipInt) { float face = getFace(direction); float filterInt = max(cubeUV_minMipLevel - mipInt, 0.0); mipInt = max(mipInt, cubeUV_minMipLevel); float faceSize = exp2(mipInt); float texelSize = 1.0 / (3.0 * cubeUV_maxTileSize); vec2 uv = getUV(direction, face) * (faceSize - 1.0); vec2 f = fract(uv); uv += 0.5 - f; if (face > 2.0) { uv.y += faceSize; face -= 3.0; } uv.x += face * faceSize; if(mipInt < cubeUV_maxMipLevel){ uv.y += 2.0 * cubeUV_maxTileSize; } uv.y += filterInt * 2.0 * cubeUV_minTileSize; uv.x += 3.0 * max(0.0, cubeUV_maxTileSize - 2.0 * faceSize); uv *= texelSize; vec3 tl = envMapTexelToLinear(texture2D(envMap, uv)).rgb; uv.x += texelSize; vec3 tr = envMapTexelToLinear(texture2D(envMap, uv)).rgb; uv.y += texelSize; vec3 br = envMapTexelToLinear(texture2D(envMap, uv)).rgb; uv.x -= texelSize; vec3 bl = envMapTexelToLinear(texture2D(envMap, uv)).rgb; vec3 tm = mix(tl, tr, f.x); vec3 bm = mix(bl, br, f.x); return mix(tm, bm, f.y); } #define r0 1.0 #define v0 0.339 #define m0 -2.0 #define r1 0.8 #define v1 0.276 #define m1 -1.0 #define r4 0.4 #define v4 0.046 #define m4 2.0 #define r5 0.305 #define v5 0.016 #define m5 3.0 #define r6 0.21 #define v6 0.0038 #define m6 4.0 float roughnessToMip(float roughness) { float mip = 0.0; if (roughness >= r1) { mip = (r0 - roughness) * (m1 - m0) / (r0 - r1) + m0; } else if (roughness >= r4) { mip = (r1 - roughness) * (m4 - m1) / (r1 - r4) + m1; } else if (roughness >= r5) { mip = (r4 - roughness) * (m5 - m4) / (r4 - r5) + m4; } else if (roughness >= r6) { mip = (r5 - roughness) * (m6 - m5) / (r5 - r6) + m5; } else { mip = -2.0 * log2(1.16 * roughness); } return mip; } vec4 textureCubeUV(sampler2D envMap, vec3 sampleDir, float roughness) { float mip = clamp(roughnessToMip(roughness), m0, cubeUV_maxMipLevel); float mipF = fract(mip); float mipInt = floor(mip); vec3 color0 = bilinearCubeUV(envMap, sampleDir, mipInt); if (mipF == 0.0) { return vec4(color0, 1.0); } else { vec3 color1 = bilinearCubeUV(envMap, sampleDir, mipInt + 1.0); return vec4(mix(color0, color1, mipF), 1.0); } } #endif`,LA=`vec3 transformedNormal = objectNormal; #ifdef USE_INSTANCING transformedNormal = mat3( instanceMatrix ) * transformedNormal; #endif transformedNormal = normalMatrix * transformedNormal; #ifdef FLIP_SIDED transformedNormal = - transformedNormal; #endif #ifdef USE_TANGENT vec3 transformedTangent = ( modelViewMatrix * vec4( objectTangent, 0.0 ) ).xyz; #ifdef FLIP_SIDED transformedTangent = - transformedTangent; #endif #endif`,BA=`#ifdef USE_DISPLACEMENTMAP uniform sampler2D displacementMap; uniform float displacementScale; uniform float displacementBias; #endif`,OA=`#ifdef USE_DISPLACEMENTMAP transformed += normalize( objectNormal ) * ( texture2D( displacementMap, vUv ).x * displacementScale + displacementBias ); #endif`,NA=`#ifdef USE_EMISSIVEMAP vec4 emissiveColor = texture2D( emissiveMap, vUv ); emissiveColor.rgb = emissiveMapTexelToLinear( emissiveColor ).rgb; totalEmissiveRadiance *= emissiveColor.rgb; #endif`,GA=`#ifdef USE_EMISSIVEMAP uniform sampler2D emissiveMap; #endif`,UA="gl_FragColor = linearToOutputTexel( gl_FragColor );",VA=` vec4 LinearToLinear( in vec4 value ) { return value; } vec4 GammaToLinear( in vec4 value, in float gammaFactor ) { return vec4( pow( value.rgb, vec3( gammaFactor ) ), value.a ); } vec4 LinearToGamma( in vec4 value, in float gammaFactor ) { return vec4( pow( value.rgb, vec3( 1.0 / gammaFactor ) ), value.a ); } vec4 sRGBToLinear( in vec4 value ) { return 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 ); } vec4 LinearTosRGB( in vec4 value ) { return 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 ); } vec4 RGBEToLinear( in vec4 value ) { return vec4( value.rgb * exp2( value.a * 255.0 - 128.0 ), 1.0 ); } vec4 LinearToRGBE( in vec4 value ) { float maxComponent = max( max( value.r, value.g ), value.b ); float fExp = clamp( ceil( log2( maxComponent ) ), -128.0, 127.0 ); return vec4( value.rgb / exp2( fExp ), ( fExp + 128.0 ) / 255.0 ); } vec4 RGBMToLinear( in vec4 value, in float maxRange ) { return vec4( value.rgb * value.a * maxRange, 1.0 ); } vec4 LinearToRGBM( in vec4 value, in float maxRange ) { float maxRGB = max( value.r, max( value.g, value.b ) ); float M = clamp( maxRGB / maxRange, 0.0, 1.0 ); M = ceil( M * 255.0 ) / 255.0; return vec4( value.rgb / ( M * maxRange ), M ); } vec4 RGBDToLinear( in vec4 value, in float maxRange ) { return vec4( value.rgb * ( ( maxRange / 255.0 ) / value.a ), 1.0 ); } vec4 LinearToRGBD( in vec4 value, in float maxRange ) { float maxRGB = max( value.r, max( value.g, value.b ) ); float D = max( maxRange / maxRGB, 1.0 ); D = clamp( floor( D ) / 255.0, 0.0, 1.0 ); return vec4( value.rgb * ( D * ( 255.0 / maxRange ) ), D ); } const mat3 cLogLuvM = mat3( 0.2209, 0.3390, 0.4184, 0.1138, 0.6780, 0.7319, 0.0102, 0.1130, 0.2969 ); vec4 LinearToLogLuv( in vec4 value ) { vec3 Xp_Y_XYZp = cLogLuvM * value.rgb; Xp_Y_XYZp = max( Xp_Y_XYZp, vec3( 1e-6, 1e-6, 1e-6 ) ); vec4 vResult; vResult.xy = Xp_Y_XYZp.xy / Xp_Y_XYZp.z; float Le = 2.0 * log2(Xp_Y_XYZp.y) + 127.0; vResult.w = fract( Le ); vResult.z = ( Le - ( floor( vResult.w * 255.0 ) ) / 255.0 ) / 255.0; return vResult; } const mat3 cLogLuvInverseM = mat3( 6.0014, -2.7008, -1.7996, -1.3320, 3.1029, -5.7721, 0.3008, -1.0882, 5.6268 ); vec4 LogLuvToLinear( in vec4 value ) { float Le = value.z * 255.0 + value.w; vec3 Xp_Y_XYZp; Xp_Y_XYZp.y = exp2( ( Le - 127.0 ) / 2.0 ); Xp_Y_XYZp.z = Xp_Y_XYZp.y / value.y; Xp_Y_XYZp.x = value.x * Xp_Y_XYZp.z; vec3 vRGB = cLogLuvInverseM * Xp_Y_XYZp.rgb; return vec4( max( vRGB, 0.0 ), 1.0 ); }`,WA=`#ifdef USE_ENVMAP #ifdef ENV_WORLDPOS vec3 cameraToFrag; if ( isOrthographic ) { cameraToFrag = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) ); } else { cameraToFrag = normalize( vWorldPosition - cameraPosition ); } vec3 worldNormal = inverseTransformDirection( normal, viewMatrix ); #ifdef ENVMAP_MODE_REFLECTION vec3 reflectVec = reflect( cameraToFrag, worldNormal ); #else vec3 reflectVec = refract( cameraToFrag, worldNormal, refractionRatio ); #endif #else vec3 reflectVec = vReflect; #endif #ifdef ENVMAP_TYPE_CUBE vec4 envColor = textureCube( envMap, vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) ); #elif defined( ENVMAP_TYPE_CUBE_UV ) vec4 envColor = textureCubeUV( envMap, reflectVec, 0.0 ); #elif defined( ENVMAP_TYPE_EQUIREC ) vec2 sampleUV; reflectVec = normalize( reflectVec ); sampleUV.y = asin( clamp( reflectVec.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5; sampleUV.x = atan( reflectVec.z, reflectVec.x ) * RECIPROCAL_PI2 + 0.5; vec4 envColor = texture2D( envMap, sampleUV ); #elif defined( ENVMAP_TYPE_SPHERE ) reflectVec = normalize( reflectVec ); vec3 reflectView = normalize( ( viewMatrix * vec4( reflectVec, 0.0 ) ).xyz + vec3( 0.0, 0.0, 1.0 ) ); vec4 envColor = texture2D( envMap, reflectView.xy * 0.5 + 0.5 ); #else vec4 envColor = vec4( 0.0 ); #endif #ifndef ENVMAP_TYPE_CUBE_UV envColor = envMapTexelToLinear( envColor ); #endif #ifdef ENVMAP_BLENDING_MULTIPLY outgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity ); #elif defined( ENVMAP_BLENDING_MIX ) outgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity ); #elif defined( ENVMAP_BLENDING_ADD ) outgoingLight += envColor.xyz * specularStrength * reflectivity; #endif #endif`,zA=`#ifdef USE_ENVMAP uniform float envMapIntensity; uniform float flipEnvMap; uniform int maxMipLevel; #ifdef ENVMAP_TYPE_CUBE uniform samplerCube envMap; #else uniform sampler2D envMap; #endif #endif`,HA=`#ifdef USE_ENVMAP uniform float reflectivity; #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) #define ENV_WORLDPOS #endif #ifdef ENV_WORLDPOS varying vec3 vWorldPosition; uniform float refractionRatio; #else varying vec3 vReflect; #endif #endif`,jA=`#ifdef USE_ENVMAP #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) ||defined( PHONG ) #define ENV_WORLDPOS #endif #ifdef ENV_WORLDPOS varying vec3 vWorldPosition; #else varying vec3 vReflect; uniform float refractionRatio; #endif #endif`,YA=`#ifdef USE_ENVMAP #ifdef ENV_WORLDPOS vWorldPosition = worldPosition.xyz; #else vec3 cameraToVertex; if ( isOrthographic ) { cameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) ); } else { cameraToVertex = normalize( worldPosition.xyz - cameraPosition ); } vec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix ); #ifdef ENVMAP_MODE_REFLECTION vReflect = reflect( cameraToVertex, worldNormal ); #else vReflect = refract( cameraToVertex, worldNormal, refractionRatio ); #endif #endif #endif`,KA=`#ifdef USE_FOG fogDepth = -mvPosition.z; #endif`,XA=`#ifdef USE_FOG varying float fogDepth; #endif`,qA=`#ifdef USE_FOG #ifdef FOG_EXP2 float fogFactor = 1.0 - exp( - fogDensity * fogDensity * fogDepth * fogDepth ); #else float fogFactor = smoothstep( fogNear, fogFar, fogDepth ); #endif gl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor ); #endif`,ZA=`#ifdef USE_FOG uniform vec3 fogColor; varying float fogDepth; #ifdef FOG_EXP2 uniform float fogDensity; #else uniform float fogNear; uniform float fogFar; #endif #endif`,JA=`#ifdef USE_GRADIENTMAP uniform sampler2D gradientMap; #endif vec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) { float dotNL = dot( normal, lightDirection ); vec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 ); #ifdef USE_GRADIENTMAP return texture2D( gradientMap, coord ).rgb; #else return ( coord.x < 0.7 ) ? vec3( 0.7 ) : vec3( 1.0 ); #endif }`,$A=`#ifdef USE_LIGHTMAP vec4 lightMapTexel= texture2D( lightMap, vUv2 ); reflectedLight.indirectDiffuse += PI * lightMapTexelToLinear( lightMapTexel ).rgb * lightMapIntensity; #endif`,QA=`#ifdef USE_LIGHTMAP uniform sampler2D lightMap; uniform float lightMapIntensity; #endif`,ex=`vec3 diffuse = vec3( 1.0 ); GeometricContext geometry; geometry.position = mvPosition.xyz; geometry.normal = normalize( transformedNormal ); geometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( -mvPosition.xyz ); GeometricContext backGeometry; backGeometry.position = geometry.position; backGeometry.normal = -geometry.normal; backGeometry.viewDir = geometry.viewDir; vLightFront = vec3( 0.0 ); vIndirectFront = vec3( 0.0 ); #ifdef DOUBLE_SIDED vLightBack = vec3( 0.0 ); vIndirectBack = vec3( 0.0 ); #endif IncidentLight directLight; float dotNL; vec3 directLightColor_Diffuse; #if NUM_POINT_LIGHTS > 0 #pragma unroll_loop for ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) { getPointDirectLightIrradiance( pointLights[ i ], geometry, directLight ); dotNL = dot( geometry.normal, directLight.direction ); directLightColor_Diffuse = PI * directLight.color; vLightFront += saturate( dotNL ) * directLightColor_Diffuse; #ifdef DOUBLE_SIDED vLightBack += saturate( -dotNL ) * directLightColor_Diffuse; #endif } #endif #if NUM_SPOT_LIGHTS > 0 #pragma unroll_loop for ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) { getSpotDirectLightIrradiance( spotLights[ i ], geometry, directLight ); dotNL = dot( geometry.normal, directLight.direction ); directLightColor_Diffuse = PI * directLight.color; vLightFront += saturate( dotNL ) * directLightColor_Diffuse; #ifdef DOUBLE_SIDED vLightBack += saturate( -dotNL ) * directLightColor_Diffuse; #endif } #endif #if NUM_DIR_LIGHTS > 0 #pragma unroll_loop for ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) { getDirectionalDirectLightIrradiance( directionalLights[ i ], geometry, directLight ); dotNL = dot( geometry.normal, directLight.direction ); directLightColor_Diffuse = PI * directLight.color; vLightFront += saturate( dotNL ) * directLightColor_Diffuse; #ifdef DOUBLE_SIDED vLightBack += saturate( -dotNL ) * directLightColor_Diffuse; #endif } #endif #if NUM_HEMI_LIGHTS > 0 #pragma unroll_loop for ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) { vIndirectFront += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry ); #ifdef DOUBLE_SIDED vIndirectBack += getHemisphereLightIrradiance( hemisphereLights[ i ], backGeometry ); #endif } #endif`,tx=`uniform bool receiveShadow; uniform vec3 ambientLightColor; uniform vec3 lightProbe[ 9 ]; vec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) { float x = normal.x, y = normal.y, z = normal.z; vec3 result = shCoefficients[ 0 ] * 0.886227; result += shCoefficients[ 1 ] * 2.0 * 0.511664 * y; result += shCoefficients[ 2 ] * 2.0 * 0.511664 * z; result += shCoefficients[ 3 ] * 2.0 * 0.511664 * x; result += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y; result += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z; result += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 ); result += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z; result += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y ); return result; } vec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in GeometricContext geometry ) { vec3 worldNormal = inverseTransformDirection( geometry.normal, viewMatrix ); vec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe ); return irradiance; } vec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) { vec3 irradiance = ambientLightColor; #ifndef PHYSICALLY_CORRECT_LIGHTS irradiance *= PI; #endif return irradiance; } #if NUM_DIR_LIGHTS > 0 struct DirectionalLight { vec3 direction; vec3 color; int shadow; float shadowBias; float shadowRadius; vec2 shadowMapSize; }; uniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ]; void getDirectionalDirectLightIrradiance( const in DirectionalLight directionalLight, const in GeometricContext geometry, out IncidentLight directLight ) { directLight.color = directionalLight.color; directLight.direction = directionalLight.direction; directLight.visible = true; } #endif #if NUM_POINT_LIGHTS > 0 struct PointLight { vec3 position; vec3 color; float distance; float decay; int shadow; float shadowBias; float shadowRadius; vec2 shadowMapSize; float shadowCameraNear; float shadowCameraFar; }; uniform PointLight pointLights[ NUM_POINT_LIGHTS ]; void getPointDirectLightIrradiance( const in PointLight pointLight, const in GeometricContext geometry, out IncidentLight directLight ) { vec3 lVector = pointLight.position - geometry.position; directLight.direction = normalize( lVector ); float lightDistance = length( lVector ); directLight.color = pointLight.color; directLight.color *= punctualLightIntensityToIrradianceFactor( lightDistance, pointLight.distance, pointLight.decay ); directLight.visible = ( directLight.color != vec3( 0.0 ) ); } #endif #if NUM_SPOT_LIGHTS > 0 struct SpotLight { vec3 position; vec3 direction; vec3 color; float distance; float decay; float coneCos; float penumbraCos; int shadow; float shadowBias; float shadowRadius; vec2 shadowMapSize; }; uniform SpotLight spotLights[ NUM_SPOT_LIGHTS ]; void getSpotDirectLightIrradiance( const in SpotLight spotLight, const in GeometricContext geometry, out IncidentLight directLight ) { vec3 lVector = spotLight.position - geometry.position; directLight.direction = normalize( lVector ); float lightDistance = length( lVector ); float angleCos = dot( directLight.direction, spotLight.direction ); if ( angleCos > spotLight.coneCos ) { float spotEffect = smoothstep( spotLight.coneCos, spotLight.penumbraCos, angleCos ); directLight.color = spotLight.color; directLight.color *= spotEffect * punctualLightIntensityToIrradianceFactor( lightDistance, spotLight.distance, spotLight.decay ); directLight.visible = true; } else { directLight.color = vec3( 0.0 ); directLight.visible = false; } } #endif #if NUM_RECT_AREA_LIGHTS > 0 struct RectAreaLight { vec3 color; vec3 position; vec3 halfWidth; vec3 halfHeight; }; uniform sampler2D ltc_1; uniform sampler2D ltc_2; uniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ]; #endif #if NUM_HEMI_LIGHTS > 0 struct HemisphereLight { vec3 direction; vec3 skyColor; vec3 groundColor; }; uniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ]; vec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in GeometricContext geometry ) { float dotNL = dot( geometry.normal, hemiLight.direction ); float hemiDiffuseWeight = 0.5 * dotNL + 0.5; vec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight ); #ifndef PHYSICALLY_CORRECT_LIGHTS irradiance *= PI; #endif return irradiance; } #endif`,nx=`#if defined( USE_ENVMAP ) #ifdef ENVMAP_MODE_REFRACTION uniform float refractionRatio; #endif vec3 getLightProbeIndirectIrradiance( const in GeometricContext geometry, const in int maxMIPLevel ) { vec3 worldNormal = inverseTransformDirection( geometry.normal, viewMatrix ); #ifdef ENVMAP_TYPE_CUBE vec3 queryVec = vec3( flipEnvMap * worldNormal.x, worldNormal.yz ); #ifdef TEXTURE_LOD_EXT vec4 envMapColor = textureCubeLodEXT( envMap, queryVec, float( maxMIPLevel ) ); #else vec4 envMapColor = textureCube( envMap, queryVec, float( maxMIPLevel ) ); #endif envMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb; #elif defined( ENVMAP_TYPE_CUBE_UV ) vec4 envMapColor = textureCubeUV( envMap, worldNormal, 1.0 ); #else vec4 envMapColor = vec4( 0.0 ); #endif return PI * envMapColor.rgb * envMapIntensity; } float getSpecularMIPLevel( const in float roughness, const in int maxMIPLevel ) { float maxMIPLevelScalar = float( maxMIPLevel ); float sigma = PI * roughness * roughness / ( 1.0 + roughness ); float desiredMIPLevel = maxMIPLevelScalar + log2( sigma ); return clamp( desiredMIPLevel, 0.0, maxMIPLevelScalar ); } vec3 getLightProbeIndirectRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness, const in int maxMIPLevel ) { #ifdef ENVMAP_MODE_REFLECTION vec3 reflectVec = reflect( -viewDir, normal ); reflectVec = normalize( mix( reflectVec, normal, roughness * roughness) ); #else vec3 reflectVec = refract( -viewDir, normal, refractionRatio ); #endif reflectVec = inverseTransformDirection( reflectVec, viewMatrix ); float specularMIPLevel = getSpecularMIPLevel( roughness, maxMIPLevel ); #ifdef ENVMAP_TYPE_CUBE vec3 queryReflectVec = vec3( flipEnvMap * reflectVec.x, reflectVec.yz ); #ifdef TEXTURE_LOD_EXT vec4 envMapColor = textureCubeLodEXT( envMap, queryReflectVec, specularMIPLevel ); #else vec4 envMapColor = textureCube( envMap, queryReflectVec, specularMIPLevel ); #endif envMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb; #elif defined( ENVMAP_TYPE_CUBE_UV ) vec4 envMapColor = textureCubeUV( envMap, reflectVec, roughness ); #elif defined( ENVMAP_TYPE_EQUIREC ) vec2 sampleUV; sampleUV.y = asin( clamp( reflectVec.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5; sampleUV.x = atan( reflectVec.z, reflectVec.x ) * RECIPROCAL_PI2 + 0.5; #ifdef TEXTURE_LOD_EXT vec4 envMapColor = texture2DLodEXT( envMap, sampleUV, specularMIPLevel ); #else vec4 envMapColor = texture2D( envMap, sampleUV, specularMIPLevel ); #endif envMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb; #elif defined( ENVMAP_TYPE_SPHERE ) vec3 reflectView = normalize( ( viewMatrix * vec4( reflectVec, 0.0 ) ).xyz + vec3( 0.0,0.0,1.0 ) ); #ifdef TEXTURE_LOD_EXT vec4 envMapColor = texture2DLodEXT( envMap, reflectView.xy * 0.5 + 0.5, specularMIPLevel ); #else vec4 envMapColor = texture2D( envMap, reflectView.xy * 0.5 + 0.5, specularMIPLevel ); #endif envMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb; #endif return envMapColor.rgb * envMapIntensity; } #endif`,rx=`ToonMaterial material; material.diffuseColor = diffuseColor.rgb; material.specularColor = specular; material.specularShininess = shininess; material.specularStrength = specularStrength;`,ix=`varying vec3 vViewPosition; #ifndef FLAT_SHADED varying vec3 vNormal; #endif struct ToonMaterial { vec3 diffuseColor; vec3 specularColor; float specularShininess; float specularStrength; }; void RE_Direct_Toon( const in IncidentLight directLight, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) { vec3 irradiance = getGradientIrradiance( geometry.normal, directLight.direction ) * directLight.color; #ifndef PHYSICALLY_CORRECT_LIGHTS irradiance *= PI; #endif reflectedLight.directDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor ); reflectedLight.directSpecular += irradiance * BRDF_Specular_BlinnPhong( directLight, geometry, material.specularColor, material.specularShininess ) * material.specularStrength; } void RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) { reflectedLight.indirectDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor ); } #define RE_Direct RE_Direct_Toon #define RE_IndirectDiffuse RE_IndirectDiffuse_Toon #define Material_LightProbeLOD( material ) (0)`,ax=`BlinnPhongMaterial material; material.diffuseColor = diffuseColor.rgb; material.specularColor = specular; material.specularShininess = shininess; material.specularStrength = specularStrength;`,sx=`varying vec3 vViewPosition; #ifndef FLAT_SHADED varying vec3 vNormal; #endif struct BlinnPhongMaterial { vec3 diffuseColor; vec3 specularColor; float specularShininess; float specularStrength; }; void RE_Direct_BlinnPhong( const in IncidentLight directLight, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) { float dotNL = saturate( dot( geometry.normal, directLight.direction ) ); vec3 irradiance = dotNL * directLight.color; #ifndef PHYSICALLY_CORRECT_LIGHTS irradiance *= PI; #endif reflectedLight.directDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor ); reflectedLight.directSpecular += irradiance * BRDF_Specular_BlinnPhong( directLight, geometry, material.specularColor, material.specularShininess ) * material.specularStrength; } void RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) { reflectedLight.indirectDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor ); } #define RE_Direct RE_Direct_BlinnPhong #define RE_IndirectDiffuse RE_IndirectDiffuse_BlinnPhong #define Material_LightProbeLOD( material ) (0)`,ox=`PhysicalMaterial material; material.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor ); vec3 dxy = max( abs( dFdx( geometryNormal ) ), abs( dFdy( geometryNormal ) ) ); float geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z ); material.specularRoughness = max( roughnessFactor, 0.0525 );material.specularRoughness += geometryRoughness; material.specularRoughness = min( material.specularRoughness, 1.0 ); #ifdef REFLECTIVITY material.specularColor = mix( vec3( MAXIMUM_SPECULAR_COEFFICIENT * pow2( reflectivity ) ), diffuseColor.rgb, metalnessFactor ); #else material.specularColor = mix( vec3( DEFAULT_SPECULAR_COEFFICIENT ), diffuseColor.rgb, metalnessFactor ); #endif #ifdef CLEARCOAT material.clearcoat = saturate( clearcoat ); material.clearcoatRoughness = max( clearcoatRoughness, 0.0525 ); material.clearcoatRoughness += geometryRoughness; material.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 ); #endif #ifdef USE_SHEEN material.sheenColor = sheen; #endif`,ux=`struct PhysicalMaterial { vec3 diffuseColor; float specularRoughness; vec3 specularColor; #ifdef CLEARCOAT float clearcoat; float clearcoatRoughness; #endif #ifdef USE_SHEEN vec3 sheenColor; #endif }; #define MAXIMUM_SPECULAR_COEFFICIENT 0.16 #define DEFAULT_SPECULAR_COEFFICIENT 0.04 float clearcoatDHRApprox( const in float roughness, const in float dotNL ) { return DEFAULT_SPECULAR_COEFFICIENT + ( 1.0 - DEFAULT_SPECULAR_COEFFICIENT ) * ( pow( 1.0 - dotNL, 5.0 ) * pow( 1.0 - roughness, 2.0 ) ); } #if NUM_RECT_AREA_LIGHTS > 0 void RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) { vec3 normal = geometry.normal; vec3 viewDir = geometry.viewDir; vec3 position = geometry.position; vec3 lightPos = rectAreaLight.position; vec3 halfWidth = rectAreaLight.halfWidth; vec3 halfHeight = rectAreaLight.halfHeight; vec3 lightColor = rectAreaLight.color; float roughness = material.specularRoughness; vec3 rectCoords[ 4 ]; rectCoords[ 0 ] = lightPos + halfWidth - halfHeight; rectCoords[ 1 ] = lightPos - halfWidth - halfHeight; rectCoords[ 2 ] = lightPos - halfWidth + halfHeight; rectCoords[ 3 ] = lightPos + halfWidth + halfHeight; vec2 uv = LTC_Uv( normal, viewDir, roughness ); vec4 t1 = texture2D( ltc_1, uv ); vec4 t2 = texture2D( ltc_2, uv ); mat3 mInv = mat3( vec3( t1.x, 0, t1.y ), vec3( 0, 1, 0 ), vec3( t1.z, 0, t1.w ) ); vec3 fresnel = ( material.specularColor * t2.x + ( vec3( 1.0 ) - material.specularColor ) * t2.y ); reflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords ); reflectedLight.directDiffuse += lightColor * material.diffuseColor * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords ); } #endif void RE_Direct_Physical( const in IncidentLight directLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) { float dotNL = saturate( dot( geometry.normal, directLight.direction ) ); vec3 irradiance = dotNL * directLight.color; #ifndef PHYSICALLY_CORRECT_LIGHTS irradiance *= PI; #endif #ifdef CLEARCOAT float ccDotNL = saturate( dot( geometry.clearcoatNormal, directLight.direction ) ); vec3 ccIrradiance = ccDotNL * directLight.color; #ifndef PHYSICALLY_CORRECT_LIGHTS ccIrradiance *= PI; #endif float clearcoatDHR = material.clearcoat * clearcoatDHRApprox( material.clearcoatRoughness, ccDotNL ); reflectedLight.directSpecular += ccIrradiance * material.clearcoat * BRDF_Specular_GGX( directLight, geometry.viewDir, geometry.clearcoatNormal, vec3( DEFAULT_SPECULAR_COEFFICIENT ), material.clearcoatRoughness ); #else float clearcoatDHR = 0.0; #endif #ifdef USE_SHEEN reflectedLight.directSpecular += ( 1.0 - clearcoatDHR ) * irradiance * BRDF_Specular_Sheen( material.specularRoughness, directLight.direction, geometry, material.sheenColor ); #else reflectedLight.directSpecular += ( 1.0 - clearcoatDHR ) * irradiance * BRDF_Specular_GGX( directLight, geometry.viewDir, geometry.normal, material.specularColor, material.specularRoughness); #endif reflectedLight.directDiffuse += ( 1.0 - clearcoatDHR ) * irradiance * BRDF_Diffuse_Lambert( material.diffuseColor ); } void RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) { reflectedLight.indirectDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor ); } void 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) { #ifdef CLEARCOAT float ccDotNV = saturate( dot( geometry.clearcoatNormal, geometry.viewDir ) ); reflectedLight.indirectSpecular += clearcoatRadiance * material.clearcoat * BRDF_Specular_GGX_Environment( geometry.viewDir, geometry.clearcoatNormal, vec3( DEFAULT_SPECULAR_COEFFICIENT ), material.clearcoatRoughness ); float ccDotNL = ccDotNV; float clearcoatDHR = material.clearcoat * clearcoatDHRApprox( material.clearcoatRoughness, ccDotNL ); #else float clearcoatDHR = 0.0; #endif float clearcoatInv = 1.0 - clearcoatDHR; vec3 singleScattering = vec3( 0.0 ); vec3 multiScattering = vec3( 0.0 ); vec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI; BRDF_Specular_Multiscattering_Environment( geometry, material.specularColor, material.specularRoughness, singleScattering, multiScattering ); vec3 diffuse = material.diffuseColor * ( 1.0 - ( singleScattering + multiScattering ) ); reflectedLight.indirectSpecular += clearcoatInv * radiance * singleScattering; reflectedLight.indirectSpecular += multiScattering * cosineWeightedIrradiance; reflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance; } #define RE_Direct RE_Direct_Physical #define RE_Direct_RectArea RE_Direct_RectArea_Physical #define RE_IndirectDiffuse RE_IndirectDiffuse_Physical #define RE_IndirectSpecular RE_IndirectSpecular_Physical float computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) { return saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion ); }`,lx=` GeometricContext geometry; geometry.position = - vViewPosition; geometry.normal = normal; geometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition ); #ifdef CLEARCOAT geometry.clearcoatNormal = clearcoatNormal; #endif IncidentLight directLight; #if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct ) PointLight pointLight; #pragma unroll_loop for ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) { pointLight = pointLights[ i ]; getPointDirectLightIrradiance( pointLight, geometry, directLight ); #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS ) directLight.color *= all( bvec3( pointLight.shadow, directLight.visible, receiveShadow ) ) ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0; #endif RE_Direct( directLight, geometry, material, reflectedLight ); } #endif #if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct ) SpotLight spotLight; #pragma unroll_loop for ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) { spotLight = spotLights[ i ]; getSpotDirectLightIrradiance( spotLight, geometry, directLight ); #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS ) directLight.color *= all( bvec3( spotLight.shadow, directLight.visible, receiveShadow ) ) ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowBias, spotLight.shadowRadius, vSpotShadowCoord[ i ] ) : 1.0; #endif RE_Direct( directLight, geometry, material, reflectedLight ); } #endif #if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct ) DirectionalLight directionalLight; #pragma unroll_loop for ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) { directionalLight = directionalLights[ i ]; getDirectionalDirectLightIrradiance( directionalLight, geometry, directLight ); #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS ) directLight.color *= all( bvec3( directionalLight.shadow, directLight.visible, receiveShadow ) ) ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0; #endif RE_Direct( directLight, geometry, material, reflectedLight ); } #endif #if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea ) RectAreaLight rectAreaLight; #pragma unroll_loop for ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) { rectAreaLight = rectAreaLights[ i ]; RE_Direct_RectArea( rectAreaLight, geometry, material, reflectedLight ); } #endif #if defined( RE_IndirectDiffuse ) vec3 iblIrradiance = vec3( 0.0 ); vec3 irradiance = getAmbientLightIrradiance( ambientLightColor ); irradiance += getLightProbeIrradiance( lightProbe, geometry ); #if ( NUM_HEMI_LIGHTS > 0 ) #pragma unroll_loop for ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) { irradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry ); } #endif #endif #if defined( RE_IndirectSpecular ) vec3 radiance = vec3( 0.0 ); vec3 clearcoatRadiance = vec3( 0.0 ); #endif`,cx=`#if defined( RE_IndirectDiffuse ) #ifdef USE_LIGHTMAP vec4 lightMapTexel= texture2D( lightMap, vUv2 ); vec3 lightMapIrradiance = lightMapTexelToLinear( lightMapTexel ).rgb * lightMapIntensity; #ifndef PHYSICALLY_CORRECT_LIGHTS lightMapIrradiance *= PI; #endif irradiance += lightMapIrradiance; #endif #if defined( USE_ENVMAP ) && defined( STANDARD ) && defined( ENVMAP_TYPE_CUBE_UV ) iblIrradiance += getLightProbeIndirectIrradiance( geometry, maxMipLevel ); #endif #endif #if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular ) radiance += getLightProbeIndirectRadiance( geometry.viewDir, geometry.normal, material.specularRoughness, maxMipLevel ); #ifdef CLEARCOAT clearcoatRadiance += getLightProbeIndirectRadiance( geometry.viewDir, geometry.clearcoatNormal, material.clearcoatRoughness, maxMipLevel ); #endif #endif`,fx=`#if defined( RE_IndirectDiffuse ) RE_IndirectDiffuse( irradiance, geometry, material, reflectedLight ); #endif #if defined( RE_IndirectSpecular ) RE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometry, material, reflectedLight ); #endif`,hx=`#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT ) gl_FragDepthEXT = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5; #endif`,px=`#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT ) uniform float logDepthBufFC; varying float vFragDepth; varying float vIsPerspective; #endif`,dx=`#ifdef USE_LOGDEPTHBUF #ifdef USE_LOGDEPTHBUF_EXT varying float vFragDepth; varying float vIsPerspective; #else uniform float logDepthBufFC; #endif #endif`,vx=`#ifdef USE_LOGDEPTHBUF #ifdef USE_LOGDEPTHBUF_EXT vFragDepth = 1.0 + gl_Position.w; vIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) ); #else if ( isPerspectiveMatrix( projectionMatrix ) ) { gl_Position.z = log2( max( EPSILON, gl_Position.w + 1.0 ) ) * logDepthBufFC - 1.0; gl_Position.z *= gl_Position.w; } #endif #endif`,mx=`#ifdef USE_MAP vec4 texelColor = texture2D( map, vUv ); texelColor = mapTexelToLinear( texelColor ); diffuseColor *= texelColor; #endif`,gx=`#ifdef USE_MAP uniform sampler2D map; #endif`,yx=`#if defined( USE_MAP ) || defined( USE_ALPHAMAP ) vec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy; #endif #ifdef USE_MAP vec4 mapTexel = texture2D( map, uv ); diffuseColor *= mapTexelToLinear( mapTexel ); #endif #ifdef USE_ALPHAMAP diffuseColor.a *= texture2D( alphaMap, uv ).g; #endif`,bx=`#if defined( USE_MAP ) || defined( USE_ALPHAMAP ) uniform mat3 uvTransform; #endif #ifdef USE_MAP uniform sampler2D map; #endif #ifdef USE_ALPHAMAP uniform sampler2D alphaMap; #endif`,wx=`float metalnessFactor = metalness; #ifdef USE_METALNESSMAP vec4 texelMetalness = texture2D( metalnessMap, vUv ); metalnessFactor *= texelMetalness.b; #endif`,_x=`#ifdef USE_METALNESSMAP uniform sampler2D metalnessMap; #endif`,Ex=`#ifdef USE_MORPHNORMALS objectNormal *= morphTargetBaseInfluence; objectNormal += morphNormal0 * morphTargetInfluences[ 0 ]; objectNormal += morphNormal1 * morphTargetInfluences[ 1 ]; objectNormal += morphNormal2 * morphTargetInfluences[ 2 ]; objectNormal += morphNormal3 * morphTargetInfluences[ 3 ]; #endif`,Cx=`#ifdef USE_MORPHTARGETS uniform float morphTargetBaseInfluence; #ifndef USE_MORPHNORMALS uniform float morphTargetInfluences[ 8 ]; #else uniform float morphTargetInfluences[ 4 ]; #endif #endif`,Sx=`#ifdef USE_MORPHTARGETS transformed *= morphTargetBaseInfluence; transformed += morphTarget0 * morphTargetInfluences[ 0 ]; transformed += morphTarget1 * morphTargetInfluences[ 1 ]; transformed += morphTarget2 * morphTargetInfluences[ 2 ]; transformed += morphTarget3 * morphTargetInfluences[ 3 ]; #ifndef USE_MORPHNORMALS transformed += morphTarget4 * morphTargetInfluences[ 4 ]; transformed += morphTarget5 * morphTargetInfluences[ 5 ]; transformed += morphTarget6 * morphTargetInfluences[ 6 ]; transformed += morphTarget7 * morphTargetInfluences[ 7 ]; #endif #endif`,Ax=`#ifdef FLAT_SHADED vec3 fdx = vec3( dFdx( vViewPosition.x ), dFdx( vViewPosition.y ), dFdx( vViewPosition.z ) ); vec3 fdy = vec3( dFdy( vViewPosition.x ), dFdy( vViewPosition.y ), dFdy( vViewPosition.z ) ); vec3 normal = normalize( cross( fdx, fdy ) ); #else vec3 normal = normalize( vNormal ); #ifdef DOUBLE_SIDED normal = normal * ( float( gl_FrontFacing ) * 2.0 - 1.0 ); #endif #ifdef USE_TANGENT vec3 tangent = normalize( vTangent ); vec3 bitangent = normalize( vBitangent ); #ifdef DOUBLE_SIDED tangent = tangent * ( float( gl_FrontFacing ) * 2.0 - 1.0 ); bitangent = bitangent * ( float( gl_FrontFacing ) * 2.0 - 1.0 ); #endif #if defined( TANGENTSPACE_NORMALMAP ) || defined( USE_CLEARCOAT_NORMALMAP ) mat3 vTBN = mat3( tangent, bitangent, normal ); #endif #endif #endif vec3 geometryNormal = normal;`,xx=`#ifdef OBJECTSPACE_NORMALMAP normal = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0; #ifdef FLIP_SIDED normal = - normal; #endif #ifdef DOUBLE_SIDED normal = normal * ( float( gl_FrontFacing ) * 2.0 - 1.0 ); #endif normal = normalize( normalMatrix * normal ); #elif defined( TANGENTSPACE_NORMALMAP ) vec3 mapN = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0; mapN.xy *= normalScale; #ifdef USE_TANGENT normal = normalize( vTBN * mapN ); #else normal = perturbNormal2Arb( -vViewPosition, normal, mapN ); #endif #elif defined( USE_BUMPMAP ) normal = perturbNormalArb( -vViewPosition, normal, dHdxy_fwd() ); #endif`,Tx=`#ifdef USE_NORMALMAP uniform sampler2D normalMap; uniform vec2 normalScale; #endif #ifdef OBJECTSPACE_NORMALMAP uniform mat3 normalMatrix; #endif #if ! defined ( USE_TANGENT ) && ( defined ( TANGENTSPACE_NORMALMAP ) || defined ( USE_CLEARCOAT_NORMALMAP ) ) vec3 perturbNormal2Arb( vec3 eye_pos, vec3 surf_norm, vec3 mapN ) { vec3 q0 = vec3( dFdx( eye_pos.x ), dFdx( eye_pos.y ), dFdx( eye_pos.z ) ); vec3 q1 = vec3( dFdy( eye_pos.x ), dFdy( eye_pos.y ), dFdy( eye_pos.z ) ); vec2 st0 = dFdx( vUv.st ); vec2 st1 = dFdy( vUv.st ); float scale = sign( st1.t * st0.s - st0.t * st1.s ); vec3 S = normalize( ( q0 * st1.t - q1 * st0.t ) * scale ); vec3 T = normalize( ( - q0 * st1.s + q1 * st0.s ) * scale ); vec3 N = normalize( surf_norm ); mat3 tsn = mat3( S, T, N ); mapN.xy *= ( float( gl_FrontFacing ) * 2.0 - 1.0 ); return normalize( tsn * mapN ); } #endif`,Dx=`#ifdef CLEARCOAT vec3 clearcoatNormal = geometryNormal; #endif`,kx=`#ifdef USE_CLEARCOAT_NORMALMAP vec3 clearcoatMapN = texture2D( clearcoatNormalMap, vUv ).xyz * 2.0 - 1.0; clearcoatMapN.xy *= clearcoatNormalScale; #ifdef USE_TANGENT clearcoatNormal = normalize( vTBN * clearcoatMapN ); #else clearcoatNormal = perturbNormal2Arb( - vViewPosition, clearcoatNormal, clearcoatMapN ); #endif #endif`,Mx=`#ifdef USE_CLEARCOAT_NORMALMAP uniform sampler2D clearcoatNormalMap; uniform vec2 clearcoatNormalScale; #endif`,Ix=`vec3 packNormalToRGB( const in vec3 normal ) { return normalize( normal ) * 0.5 + 0.5; } vec3 unpackRGBToNormal( const in vec3 rgb ) { return 2.0 * rgb.xyz - 1.0; } const float PackUpscale = 256. / 255.;const float UnpackDownscale = 255. / 256.; const vec3 PackFactors = vec3( 256. * 256. * 256., 256. * 256., 256. ); const vec4 UnpackFactors = UnpackDownscale / vec4( PackFactors, 1. ); const float ShiftRight8 = 1. / 256.; vec4 packDepthToRGBA( const in float v ) { vec4 r = vec4( fract( v * PackFactors ), v ); r.yzw -= r.xyz * ShiftRight8; return r * PackUpscale; } float unpackRGBAToDepth( const in vec4 v ) { return dot( v, UnpackFactors ); } vec4 pack2HalfToRGBA( vec2 v ) { vec4 r = vec4( v.x, fract( v.x * 255.0 ), v.y, fract( v.y * 255.0 )); return vec4( r.x - r.y / 255.0, r.y, r.z - r.w / 255.0, r.w); } vec2 unpackRGBATo2Half( vec4 v ) { return vec2( v.x + ( v.y / 255.0 ), v.z + ( v.w / 255.0 ) ); } float viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) { return ( viewZ + near ) / ( near - far ); } float orthographicDepthToViewZ( const in float linearClipZ, const in float near, const in float far ) { return linearClipZ * ( near - far ) - near; } float viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) { return (( near + viewZ ) * far ) / (( far - near ) * viewZ ); } float perspectiveDepthToViewZ( const in float invClipZ, const in float near, const in float far ) { return ( near * far ) / ( ( far - near ) * invClipZ - far ); }`,Px=`#ifdef PREMULTIPLIED_ALPHA gl_FragColor.rgb *= gl_FragColor.a; #endif`,Fx=`vec4 mvPosition = vec4( transformed, 1.0 ); #ifdef USE_INSTANCING mvPosition = instanceMatrix * mvPosition; #endif mvPosition = modelViewMatrix * mvPosition; gl_Position = projectionMatrix * mvPosition;`,Rx=`#ifdef DITHERING gl_FragColor.rgb = dithering( gl_FragColor.rgb ); #endif`,Lx=`#ifdef DITHERING vec3 dithering( vec3 color ) { float grid_position = rand( gl_FragCoord.xy ); vec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 ); dither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position ); return color + dither_shift_RGB; } #endif`,Bx=`float roughnessFactor = roughness; #ifdef USE_ROUGHNESSMAP vec4 texelRoughness = texture2D( roughnessMap, vUv ); roughnessFactor *= texelRoughness.g; #endif`,Ox=`#ifdef USE_ROUGHNESSMAP uniform sampler2D roughnessMap; #endif`,Nx=`#ifdef USE_SHADOWMAP #if NUM_DIR_LIGHT_SHADOWS > 0 uniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ]; varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ]; #endif #if NUM_SPOT_LIGHT_SHADOWS > 0 uniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ]; varying vec4 vSpotShadowCoord[ NUM_SPOT_LIGHT_SHADOWS ]; #endif #if NUM_POINT_LIGHT_SHADOWS > 0 uniform sampler2D pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ]; varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ]; #endif float texture2DCompare( sampler2D depths, vec2 uv, float compare ) { return step( compare, unpackRGBAToDepth( texture2D( depths, uv ) ) ); } vec2 texture2DDistribution( sampler2D shadow, vec2 uv ) { return unpackRGBATo2Half( texture2D( shadow, uv ) ); } float VSMShadow (sampler2D shadow, vec2 uv, float compare ){ float occlusion = 1.0; vec2 distribution = texture2DDistribution( shadow, uv ); float hard_shadow = step( compare , distribution.x ); if (hard_shadow != 1.0 ) { float distance = compare - distribution.x ; float variance = max( 0.00000, distribution.y * distribution.y ); float softness_probability = variance / (variance + distance * distance ); softness_probability = clamp( ( softness_probability - 0.3 ) / ( 0.95 - 0.3 ), 0.0, 1.0 ); occlusion = clamp( max( hard_shadow, softness_probability ), 0.0, 1.0 ); } return occlusion; } float getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord ) { float shadow = 1.0; shadowCoord.xyz /= shadowCoord.w; shadowCoord.z += shadowBias; bvec4 inFrustumVec = bvec4 ( shadowCoord.x >= 0.0, shadowCoord.x <= 1.0, shadowCoord.y >= 0.0, shadowCoord.y <= 1.0 ); bool inFrustum = all( inFrustumVec ); bvec2 frustumTestVec = bvec2( inFrustum, shadowCoord.z <= 1.0 ); bool frustumTest = all( frustumTestVec ); if ( frustumTest ) { #if defined( SHADOWMAP_TYPE_PCF ) vec2 texelSize = vec2( 1.0 ) / shadowMapSize; float dx0 = - texelSize.x * shadowRadius; float dy0 = - texelSize.y * shadowRadius; float dx1 = + texelSize.x * shadowRadius; float dy1 = + texelSize.y * shadowRadius; float dx2 = dx0 / 2.0; float dy2 = dy0 / 2.0; float dx3 = dx1 / 2.0; float dy3 = dy1 / 2.0; shadow = ( texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) + texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy2 ), shadowCoord.z ) + texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy2 ), shadowCoord.z ) + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy2 ), shadowCoord.z ) + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, 0.0 ), shadowCoord.z ) + texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ) + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, 0.0 ), shadowCoord.z ) + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy3 ), shadowCoord.z ) + texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy3 ), shadowCoord.z ) + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy3 ), shadowCoord.z ) + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) + texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z ) ) * ( 1.0 / 17.0 ); #elif defined( SHADOWMAP_TYPE_PCF_SOFT ) vec2 texelSize = vec2( 1.0 ) / shadowMapSize; float dx = texelSize.x; float dy = texelSize.y; vec2 uv = shadowCoord.xy; vec2 f = fract( uv * shadowMapSize + 0.5 ); uv -= f * texelSize; shadow = ( texture2DCompare( shadowMap, uv, shadowCoord.z ) + texture2DCompare( shadowMap, uv + vec2( dx, 0.0 ), shadowCoord.z ) + texture2DCompare( shadowMap, uv + vec2( 0.0, dy ), shadowCoord.z ) + texture2DCompare( shadowMap, uv + texelSize, shadowCoord.z ) + mix( texture2DCompare( shadowMap, uv + vec2( -dx, 0.0 ), shadowCoord.z ), texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 0.0 ), shadowCoord.z ), f.x ) + mix( texture2DCompare( shadowMap, uv + vec2( -dx, dy ), shadowCoord.z ), texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, dy ), shadowCoord.z ), f.x ) + mix( texture2DCompare( shadowMap, uv + vec2( 0.0, -dy ), shadowCoord.z ), texture2DCompare( shadowMap, uv + vec2( 0.0, 2.0 * dy ), shadowCoord.z ), f.y ) + mix( texture2DCompare( shadowMap, uv + vec2( dx, -dy ), shadowCoord.z ), texture2DCompare( shadowMap, uv + vec2( dx, 2.0 * dy ), shadowCoord.z ), f.y ) + mix( mix( texture2DCompare( shadowMap, uv + vec2( -dx, -dy ), shadowCoord.z ), texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, -dy ), shadowCoord.z ), f.x ), mix( texture2DCompare( shadowMap, uv + vec2( -dx, 2.0 * dy ), shadowCoord.z ), texture2DCompare( shadowMap, uv + + vec2( 2.0 * dx, 2.0 * dy ), shadowCoord.z ), f.x ), f.y ) ) * ( 1.0 / 9.0 ); #elif defined( SHADOWMAP_TYPE_VSM ) shadow = VSMShadow( shadowMap, shadowCoord.xy, shadowCoord.z ); #else shadow = texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ); #endif } return shadow; } vec2 cubeToUV( vec3 v, float texelSizeY ) { vec3 absV = abs( v ); float scaleToCube = 1.0 / max( absV.x, max( absV.y, absV.z ) ); absV *= scaleToCube; v *= scaleToCube * ( 1.0 - 2.0 * texelSizeY ); vec2 planar = v.xy; float almostATexel = 1.5 * texelSizeY; float almostOne = 1.0 - almostATexel; if ( absV.z >= almostOne ) { if ( v.z > 0.0 ) planar.x = 4.0 - v.x; } else if ( absV.x >= almostOne ) { float signX = sign( v.x ); planar.x = v.z * signX + 2.0 * signX; } else if ( absV.y >= almostOne ) { float signY = sign( v.y ); planar.x = v.x + 2.0 * signY + 2.0; planar.y = v.z * signY - 2.0; } return vec2( 0.125, 0.25 ) * planar + vec2( 0.375, 0.75 ); } float getPointShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) { vec2 texelSize = vec2( 1.0 ) / ( shadowMapSize * vec2( 4.0, 2.0 ) ); vec3 lightToPosition = shadowCoord.xyz; float dp = ( length( lightToPosition ) - shadowCameraNear ) / ( shadowCameraFar - shadowCameraNear ); dp += shadowBias; vec3 bd3D = normalize( lightToPosition ); #if defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_PCF_SOFT ) || defined( SHADOWMAP_TYPE_VSM ) vec2 offset = vec2( - 1, 1 ) * shadowRadius * texelSize.y; return ( texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyy, texelSize.y ), dp ) + texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyy, texelSize.y ), dp ) + texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyx, texelSize.y ), dp ) + texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyx, texelSize.y ), dp ) + texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ) + texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxy, texelSize.y ), dp ) + texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxy, texelSize.y ), dp ) + texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxx, texelSize.y ), dp ) + texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxx, texelSize.y ), dp ) ) * ( 1.0 / 9.0 ); #else return texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ); #endif } #endif`,Gx=`#ifdef USE_SHADOWMAP #if NUM_DIR_LIGHT_SHADOWS > 0 uniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHT_SHADOWS ]; varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ]; #endif #if NUM_SPOT_LIGHT_SHADOWS > 0 uniform mat4 spotShadowMatrix[ NUM_SPOT_LIGHT_SHADOWS ]; varying vec4 vSpotShadowCoord[ NUM_SPOT_LIGHT_SHADOWS ]; #endif #if NUM_POINT_LIGHT_SHADOWS > 0 uniform mat4 pointShadowMatrix[ NUM_POINT_LIGHT_SHADOWS ]; varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ]; #endif #endif`,Ux=`#ifdef USE_SHADOWMAP #if NUM_DIR_LIGHT_SHADOWS > 0 #pragma unroll_loop for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) { vDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * worldPosition; } #endif #if NUM_SPOT_LIGHT_SHADOWS > 0 #pragma unroll_loop for ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) { vSpotShadowCoord[ i ] = spotShadowMatrix[ i ] * worldPosition; } #endif #if NUM_POINT_LIGHT_SHADOWS > 0 #pragma unroll_loop for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) { vPointShadowCoord[ i ] = pointShadowMatrix[ i ] * worldPosition; } #endif #endif`,Vx=`float getShadowMask() { float shadow = 1.0; #ifdef USE_SHADOWMAP #if NUM_DIR_LIGHT_SHADOWS > 0 DirectionalLight directionalLight; #pragma unroll_loop for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) { directionalLight = directionalLights[ i ]; shadow *= all( bvec2( directionalLight.shadow, receiveShadow ) ) ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0; } #endif #if NUM_SPOT_LIGHT_SHADOWS > 0 SpotLight spotLight; #pragma unroll_loop for ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) { spotLight = spotLights[ i ]; shadow *= all( bvec2( spotLight.shadow, receiveShadow ) ) ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowBias, spotLight.shadowRadius, vSpotShadowCoord[ i ] ) : 1.0; } #endif #if NUM_POINT_LIGHT_SHADOWS > 0 PointLight pointLight; #pragma unroll_loop for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) { pointLight = pointLights[ i ]; shadow *= all( bvec2( pointLight.shadow, receiveShadow ) ) ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0; } #endif #endif return shadow; }`,Wx=`#ifdef USE_SKINNING mat4 boneMatX = getBoneMatrix( skinIndex.x ); mat4 boneMatY = getBoneMatrix( skinIndex.y ); mat4 boneMatZ = getBoneMatrix( skinIndex.z ); mat4 boneMatW = getBoneMatrix( skinIndex.w ); #endif`,zx=`#ifdef USE_SKINNING uniform mat4 bindMatrix; uniform mat4 bindMatrixInverse; #ifdef BONE_TEXTURE uniform highp sampler2D boneTexture; uniform int boneTextureSize; mat4 getBoneMatrix( const in float i ) { float j = i * 4.0; float x = mod( j, float( boneTextureSize ) ); float y = floor( j / float( boneTextureSize ) ); float dx = 1.0 / float( boneTextureSize ); float dy = 1.0 / float( boneTextureSize ); y = dy * ( y + 0.5 ); vec4 v1 = texture2D( boneTexture, vec2( dx * ( x + 0.5 ), y ) ); vec4 v2 = texture2D( boneTexture, vec2( dx * ( x + 1.5 ), y ) ); vec4 v3 = texture2D( boneTexture, vec2( dx * ( x + 2.5 ), y ) ); vec4 v4 = texture2D( boneTexture, vec2( dx * ( x + 3.5 ), y ) ); mat4 bone = mat4( v1, v2, v3, v4 ); return bone; } #else uniform mat4 boneMatrices[ MAX_BONES ]; mat4 getBoneMatrix( const in float i ) { mat4 bone = boneMatrices[ int(i) ]; return bone; } #endif #endif`,Hx=`#ifdef USE_SKINNING vec4 skinVertex = bindMatrix * vec4( transformed, 1.0 ); vec4 skinned = vec4( 0.0 ); skinned += boneMatX * skinVertex * skinWeight.x; skinned += boneMatY * skinVertex * skinWeight.y; skinned += boneMatZ * skinVertex * skinWeight.z; skinned += boneMatW * skinVertex * skinWeight.w; transformed = ( bindMatrixInverse * skinned ).xyz; #endif`,jx=`#ifdef USE_SKINNING mat4 skinMatrix = mat4( 0.0 ); skinMatrix += skinWeight.x * boneMatX; skinMatrix += skinWeight.y * boneMatY; skinMatrix += skinWeight.z * boneMatZ; skinMatrix += skinWeight.w * boneMatW; skinMatrix = bindMatrixInverse * skinMatrix * bindMatrix; objectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz; #ifdef USE_TANGENT objectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz; #endif #endif`,Yx=`float specularStrength; #ifdef USE_SPECULARMAP vec4 texelSpecular = texture2D( specularMap, vUv ); specularStrength = texelSpecular.r; #else specularStrength = 1.0; #endif`,Kx=`#ifdef USE_SPECULARMAP uniform sampler2D specularMap; #endif`,Xx=`#if defined( TONE_MAPPING ) gl_FragColor.rgb = toneMapping( gl_FragColor.rgb ); #endif`,qx=`#ifndef saturate #define saturate(a) clamp( a, 0.0, 1.0 ) #endif uniform float toneMappingExposure; uniform float toneMappingWhitePoint; vec3 LinearToneMapping( vec3 color ) { return toneMappingExposure * color; } vec3 ReinhardToneMapping( vec3 color ) { color *= toneMappingExposure; return saturate( color / ( vec3( 1.0 ) + color ) ); } #define Uncharted2Helper( x ) max( ( ( x * ( 0.15 * x + 0.10 * 0.50 ) + 0.20 * 0.02 ) / ( x * ( 0.15 * x + 0.50 ) + 0.20 * 0.30 ) ) - 0.02 / 0.30, vec3( 0.0 ) ) vec3 Uncharted2ToneMapping( vec3 color ) { color *= toneMappingExposure; return saturate( Uncharted2Helper( color ) / Uncharted2Helper( vec3( toneMappingWhitePoint ) ) ); } vec3 OptimizedCineonToneMapping( vec3 color ) { color *= toneMappingExposure; color = max( vec3( 0.0 ), color - 0.004 ); return pow( ( color * ( 6.2 * color + 0.5 ) ) / ( color * ( 6.2 * color + 1.7 ) + 0.06 ), vec3( 2.2 ) ); } vec3 ACESFilmicToneMapping( vec3 color ) { color *= toneMappingExposure; return saturate( ( color * ( 2.51 * color + 0.03 ) ) / ( color * ( 2.43 * color + 0.59 ) + 0.14 ) ); }`,Zx=`#if ( defined( USE_UV ) && ! defined( UVS_VERTEX_ONLY ) ) varying vec2 vUv; #endif`,Jx=`#ifdef USE_UV #ifdef UVS_VERTEX_ONLY vec2 vUv; #else varying vec2 vUv; #endif uniform mat3 uvTransform; #endif`,$x=`#ifdef USE_UV vUv = ( uvTransform * vec3( uv, 1 ) ).xy; #endif`,Qx=`#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP ) varying vec2 vUv2; #endif`,eT=`#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP ) attribute vec2 uv2; varying vec2 vUv2; uniform mat3 uv2Transform; #endif`,tT=`#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP ) vUv2 = ( uv2Transform * vec3( uv2, 1 ) ).xy; #endif`,nT=`#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) vec4 worldPosition = vec4( transformed, 1.0 ); #ifdef USE_INSTANCING worldPosition = instanceMatrix * worldPosition; #endif worldPosition = modelMatrix * worldPosition; #endif`,rT=`uniform sampler2D t2D; varying vec2 vUv; void main() { vec4 texColor = texture2D( t2D, vUv ); gl_FragColor = mapTexelToLinear( texColor ); #include #include }`,iT=`varying vec2 vUv; uniform mat3 uvTransform; void main() { vUv = ( uvTransform * vec3( uv, 1 ) ).xy; gl_Position = vec4( position.xy, 1.0, 1.0 ); }`,aT=`#include uniform float opacity; varying vec3 vWorldDirection; #include void main() { vec3 vReflect = vWorldDirection; #include gl_FragColor = envColor; gl_FragColor.a *= opacity; #include #include }`,sT=`varying vec3 vWorldDirection; #include void main() { vWorldDirection = transformDirection( position, modelMatrix ); #include #include gl_Position.z = gl_Position.w; }`,oT=`#if DEPTH_PACKING == 3200 uniform float opacity; #endif #include #include #include #include #include #include #include void main() { #include vec4 diffuseColor = vec4( 1.0 ); #if DEPTH_PACKING == 3200 diffuseColor.a = opacity; #endif #include #include #include #include #if DEPTH_PACKING == 3200 gl_FragColor = vec4( vec3( 1.0 - gl_FragCoord.z ), opacity ); #elif DEPTH_PACKING == 3201 gl_FragColor = packDepthToRGBA( gl_FragCoord.z ); #endif }`,uT=`#include #include #include #include #include #include #include void main() { #include #include #ifdef USE_DISPLACEMENTMAP #include #include #include #endif #include #include #include #include #include #include #include }`,lT=`#define DISTANCE uniform vec3 referencePosition; uniform float nearDistance; uniform float farDistance; varying vec3 vWorldPosition; #include #include #include #include #include #include void main () { #include vec4 diffuseColor = vec4( 1.0 ); #include #include #include float dist = length( vWorldPosition - referencePosition ); dist = ( dist - nearDistance ) / ( farDistance - nearDistance ); dist = saturate( dist ); gl_FragColor = packDepthToRGBA( dist ); }`,cT=`#define DISTANCE varying vec3 vWorldPosition; #include #include #include #include #include #include void main() { #include #include #ifdef USE_DISPLACEMENTMAP #include #include #include #endif #include #include #include #include #include #include #include vWorldPosition = worldPosition.xyz; }`,fT=`uniform sampler2D tEquirect; varying vec3 vWorldDirection; #include void main() { vec3 direction = normalize( vWorldDirection ); vec2 sampleUV; sampleUV.y = asin( clamp( direction.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5; sampleUV.x = atan( direction.z, direction.x ) * RECIPROCAL_PI2 + 0.5; vec4 texColor = texture2D( tEquirect, sampleUV ); gl_FragColor = mapTexelToLinear( texColor ); #include #include }`,hT=`varying vec3 vWorldDirection; #include void main() { vWorldDirection = transformDirection( position, modelMatrix ); #include #include }`,pT=`uniform vec3 diffuse; uniform float opacity; uniform float dashSize; uniform float totalSize; varying float vLineDistance; #include #include #include #include #include void main() { #include if ( mod( vLineDistance, totalSize ) > dashSize ) { discard; } vec3 outgoingLight = vec3( 0.0 ); vec4 diffuseColor = vec4( diffuse, opacity ); #include #include outgoingLight = diffuseColor.rgb; gl_FragColor = vec4( outgoingLight, diffuseColor.a ); #include #include #include #include }`,dT=`uniform float scale; attribute float lineDistance; varying float vLineDistance; #include #include #include #include #include void main() { #include vLineDistance = scale * lineDistance; vec4 mvPosition = modelViewMatrix * vec4( position, 1.0 ); gl_Position = projectionMatrix * mvPosition; #include #include #include }`,vT=`uniform vec3 diffuse; uniform float opacity; #ifndef FLAT_SHADED varying vec3 vNormal; #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include void main() { #include vec4 diffuseColor = vec4( diffuse, opacity ); #include #include #include #include #include #include ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); #ifdef USE_LIGHTMAP vec4 lightMapTexel= texture2D( lightMap, vUv2 ); reflectedLight.indirectDiffuse += lightMapTexelToLinear( lightMapTexel ).rgb * lightMapIntensity; #else reflectedLight.indirectDiffuse += vec3( 1.0 ); #endif #include reflectedLight.indirectDiffuse *= diffuseColor.rgb; vec3 outgoingLight = reflectedLight.indirectDiffuse; #include gl_FragColor = vec4( outgoingLight, diffuseColor.a ); #include #include #include #include }`,mT=`#include #include #include #include #include #include #include #include #include #include void main() { #include #include #include #include #ifdef USE_ENVMAP #include #include #include #include #endif #include #include #include #include #include #include #include #include #include }`,gT=`uniform vec3 diffuse; uniform vec3 emissive; uniform float opacity; varying vec3 vLightFront; varying vec3 vIndirectFront; #ifdef DOUBLE_SIDED varying vec3 vLightBack; varying vec3 vIndirectBack; #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include void main() { #include vec4 diffuseColor = vec4( diffuse, opacity ); ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); vec3 totalEmissiveRadiance = emissive; #include #include #include #include #include #include #include reflectedLight.indirectDiffuse = getAmbientLightIrradiance( ambientLightColor ); #ifdef DOUBLE_SIDED reflectedLight.indirectDiffuse += ( gl_FrontFacing ) ? vIndirectFront : vIndirectBack; #else reflectedLight.indirectDiffuse += vIndirectFront; #endif #include reflectedLight.indirectDiffuse *= BRDF_Diffuse_Lambert( diffuseColor.rgb ); #ifdef DOUBLE_SIDED reflectedLight.directDiffuse = ( gl_FrontFacing ) ? vLightFront : vLightBack; #else reflectedLight.directDiffuse = vLightFront; #endif reflectedLight.directDiffuse *= BRDF_Diffuse_Lambert( diffuseColor.rgb ) * getShadowMask(); #include vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance; #include gl_FragColor = vec4( outgoingLight, diffuseColor.a ); #include #include #include #include #include }`,yT=`#define LAMBERT varying vec3 vLightFront; varying vec3 vIndirectFront; #ifdef DOUBLE_SIDED varying vec3 vLightBack; varying vec3 vIndirectBack; #endif #include #include #include #include #include #include #include #include #include #include #include #include #include void main() { #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include }`,bT=`#define MATCAP uniform vec3 diffuse; uniform float opacity; uniform sampler2D matcap; varying vec3 vViewPosition; #ifndef FLAT_SHADED varying vec3 vNormal; #endif #include #include #include #include #include #include #include #include #include void main() { #include vec4 diffuseColor = vec4( diffuse, opacity ); #include #include #include #include #include #include vec3 viewDir = normalize( vViewPosition ); vec3 x = normalize( vec3( viewDir.z, 0.0, - viewDir.x ) ); vec3 y = cross( viewDir, x ); vec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5; #ifdef USE_MATCAP vec4 matcapColor = texture2D( matcap, uv ); matcapColor = matcapTexelToLinear( matcapColor ); #else vec4 matcapColor = vec4( 1.0 ); #endif vec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb; gl_FragColor = vec4( outgoingLight, diffuseColor.a ); #include #include #include #include }`,wT=`#define MATCAP varying vec3 vViewPosition; #ifndef FLAT_SHADED varying vec3 vNormal; #endif #include #include #include #include #include #include #include #include void main() { #include #include #include #include #include #include #ifndef FLAT_SHADED vNormal = normalize( transformedNormal ); #endif #include #include #include #include #include #include #include #include vViewPosition = - mvPosition.xyz; }`,_T=`#define TOON uniform vec3 diffuse; uniform vec3 emissive; uniform vec3 specular; uniform float shininess; uniform float opacity; #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include void main() { #include vec4 diffuseColor = vec4( diffuse, opacity ); ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); vec3 totalEmissiveRadiance = emissive; #include #include #include #include #include #include #include #include #include #include #include #include #include #include vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance; gl_FragColor = vec4( outgoingLight, diffuseColor.a ); #include #include #include #include #include }`,ET=`#define TOON varying vec3 vViewPosition; #ifndef FLAT_SHADED varying vec3 vNormal; #endif #include #include #include #include #include #include #include #include #include #include #include void main() { #include #include #include #include #include #include #include #include #ifndef FLAT_SHADED vNormal = normalize( transformedNormal ); #endif #include #include #include #include #include #include #include vViewPosition = - mvPosition.xyz; #include #include #include }`,CT=`#define PHONG uniform vec3 diffuse; uniform vec3 emissive; uniform vec3 specular; uniform float shininess; uniform float opacity; #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include void main() { #include vec4 diffuseColor = vec4( diffuse, opacity ); ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); vec3 totalEmissiveRadiance = emissive; #include #include #include #include #include #include #include #include #include #include #include #include #include #include vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance; #include gl_FragColor = vec4( outgoingLight, diffuseColor.a ); #include #include #include #include #include }`,ST=`#define PHONG varying vec3 vViewPosition; #ifndef FLAT_SHADED varying vec3 vNormal; #endif #include #include #include #include #include #include #include #include #include #include #include #include void main() { #include #include #include #include #include #include #include #include #ifndef FLAT_SHADED vNormal = normalize( transformedNormal ); #endif #include #include #include #include #include #include #include vViewPosition = - mvPosition.xyz; #include #include #include #include }`,AT=`#define STANDARD #ifdef PHYSICAL #define REFLECTIVITY #define CLEARCOAT #define TRANSPARENCY #endif uniform vec3 diffuse; uniform vec3 emissive; uniform float roughness; uniform float metalness; uniform float opacity; #ifdef TRANSPARENCY uniform float transparency; #endif #ifdef REFLECTIVITY uniform float reflectivity; #endif #ifdef CLEARCOAT uniform float clearcoat; uniform float clearcoatRoughness; #endif #ifdef USE_SHEEN uniform vec3 sheen; #endif varying vec3 vViewPosition; #ifndef FLAT_SHADED varying vec3 vNormal; #ifdef USE_TANGENT varying vec3 vTangent; varying vec3 vBitangent; #endif #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include void main() { #include vec4 diffuseColor = vec4( diffuse, opacity ); ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); vec3 totalEmissiveRadiance = emissive; #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance; #ifdef TRANSPARENCY diffuseColor.a *= saturate( 1. - transparency + linearToRelativeLuminance( reflectedLight.directSpecular + reflectedLight.indirectSpecular ) ); #endif gl_FragColor = vec4( outgoingLight, diffuseColor.a ); #include #include #include #include #include }`,xT=`#define STANDARD varying vec3 vViewPosition; #ifndef FLAT_SHADED varying vec3 vNormal; #ifdef USE_TANGENT varying vec3 vTangent; varying vec3 vBitangent; #endif #endif #include #include #include #include #include #include #include #include #include #include #include void main() { #include #include #include #include #include #include #include #include #ifndef FLAT_SHADED vNormal = normalize( transformedNormal ); #ifdef USE_TANGENT vTangent = normalize( transformedTangent ); vBitangent = normalize( cross( vNormal, vTangent ) * tangent.w ); #endif #endif #include #include #include #include #include #include #include vViewPosition = - mvPosition.xyz; #include #include #include }`,TT=`#define NORMAL uniform float opacity; #if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP ) varying vec3 vViewPosition; #endif #ifndef FLAT_SHADED varying vec3 vNormal; #ifdef USE_TANGENT varying vec3 vTangent; varying vec3 vBitangent; #endif #endif #include #include #include #include #include #include void main() { #include #include #include #include gl_FragColor = vec4( packNormalToRGB( normal ), opacity ); }`,DT=`#define NORMAL #if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP ) varying vec3 vViewPosition; #endif #ifndef FLAT_SHADED varying vec3 vNormal; #ifdef USE_TANGENT varying vec3 vTangent; varying vec3 vBitangent; #endif #endif #include #include #include #include #include #include #include void main() { #include #include #include #include #include #include #ifndef FLAT_SHADED vNormal = normalize( transformedNormal ); #ifdef USE_TANGENT vTangent = normalize( transformedTangent ); vBitangent = normalize( cross( vNormal, vTangent ) * tangent.w ); #endif #endif #include #include #include #include #include #include #include #if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP ) vViewPosition = - mvPosition.xyz; #endif }`,kT=`uniform vec3 diffuse; uniform float opacity; #include #include #include #include #include #include void main() { #include vec3 outgoingLight = vec3( 0.0 ); vec4 diffuseColor = vec4( diffuse, opacity ); #include #include #include #include outgoingLight = diffuseColor.rgb; gl_FragColor = vec4( outgoingLight, diffuseColor.a ); #include #include #include #include }`,MT=`uniform float size; uniform float scale; #include #include #include #include #include #include void main() { #include #include #include #include gl_PointSize = size; #ifdef USE_SIZEATTENUATION bool isPerspective = isPerspectiveMatrix( projectionMatrix ); if ( isPerspective ) gl_PointSize *= ( scale / - mvPosition.z ); #endif #include #include #include #include }`,IT=`uniform vec3 color; uniform float opacity; #include #include #include #include #include #include #include void main() { gl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) ); #include #include #include }`,PT=`#include #include void main() { #include #include #include #include #include }`,FT=`uniform vec3 diffuse; uniform float opacity; #include #include #include #include #include #include #include void main() { #include vec3 outgoingLight = vec3( 0.0 ); vec4 diffuseColor = vec4( diffuse, opacity ); #include #include #include #include outgoingLight = diffuseColor.rgb; gl_FragColor = vec4( outgoingLight, diffuseColor.a ); #include #include #include }`,RT=`uniform float rotation; uniform vec2 center; #include #include #include #include #include void main() { #include vec4 mvPosition = modelViewMatrix * vec4( 0.0, 0.0, 0.0, 1.0 ); vec2 scale; scale.x = length( vec3( modelMatrix[ 0 ].x, modelMatrix[ 0 ].y, modelMatrix[ 0 ].z ) ); scale.y = length( vec3( modelMatrix[ 1 ].x, modelMatrix[ 1 ].y, modelMatrix[ 1 ].z ) ); #ifndef USE_SIZEATTENUATION bool isPerspective = isPerspectiveMatrix( projectionMatrix ); if ( isPerspective ) scale *= - mvPosition.z; #endif vec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale; vec2 rotatedPosition; rotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y; rotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y; mvPosition.xy += rotatedPosition; gl_Position = projectionMatrix * mvPosition; #include #include #include }`,Bt={alphamap_fragment:mA,alphamap_pars_fragment:gA,alphatest_fragment:yA,aomap_fragment:bA,aomap_pars_fragment:wA,begin_vertex:_A,beginnormal_vertex:EA,bsdfs:CA,bumpmap_pars_fragment:SA,clipping_planes_fragment:AA,clipping_planes_pars_fragment:xA,clipping_planes_pars_vertex:TA,clipping_planes_vertex:DA,color_fragment:kA,color_pars_fragment:MA,color_pars_vertex:IA,color_vertex:PA,common:FA,cube_uv_reflection_fragment:RA,defaultnormal_vertex:LA,displacementmap_pars_vertex:BA,displacementmap_vertex:OA,emissivemap_fragment:NA,emissivemap_pars_fragment:GA,encodings_fragment:UA,encodings_pars_fragment:VA,envmap_fragment:WA,envmap_common_pars_fragment:zA,envmap_pars_fragment:HA,envmap_pars_vertex:jA,envmap_physical_pars_fragment:nx,envmap_vertex:YA,fog_vertex:KA,fog_pars_vertex:XA,fog_fragment:qA,fog_pars_fragment:ZA,gradientmap_pars_fragment:JA,lightmap_fragment:$A,lightmap_pars_fragment:QA,lights_lambert_vertex:ex,lights_pars_begin:tx,lights_toon_fragment:rx,lights_toon_pars_fragment:ix,lights_phong_fragment:ax,lights_phong_pars_fragment:sx,lights_physical_fragment:ox,lights_physical_pars_fragment:ux,lights_fragment_begin:lx,lights_fragment_maps:cx,lights_fragment_end:fx,logdepthbuf_fragment:hx,logdepthbuf_pars_fragment:px,logdepthbuf_pars_vertex:dx,logdepthbuf_vertex:vx,map_fragment:mx,map_pars_fragment:gx,map_particle_fragment:yx,map_particle_pars_fragment:bx,metalnessmap_fragment:wx,metalnessmap_pars_fragment:_x,morphnormal_vertex:Ex,morphtarget_pars_vertex:Cx,morphtarget_vertex:Sx,normal_fragment_begin:Ax,normal_fragment_maps:xx,normalmap_pars_fragment:Tx,clearcoat_normal_fragment_begin:Dx,clearcoat_normal_fragment_maps:kx,clearcoat_normalmap_pars_fragment:Mx,packing:Ix,premultiplied_alpha_fragment:Px,project_vertex:Fx,dithering_fragment:Rx,dithering_pars_fragment:Lx,roughnessmap_fragment:Bx,roughnessmap_pars_fragment:Ox,shadowmap_pars_fragment:Nx,shadowmap_pars_vertex:Gx,shadowmap_vertex:Ux,shadowmask_pars_fragment:Vx,skinbase_vertex:Wx,skinning_pars_vertex:zx,skinning_vertex:Hx,skinnormal_vertex:jx,specularmap_fragment:Yx,specularmap_pars_fragment:Kx,tonemapping_fragment:Xx,tonemapping_pars_fragment:qx,uv_pars_fragment:Zx,uv_pars_vertex:Jx,uv_vertex:$x,uv2_pars_fragment:Qx,uv2_pars_vertex:eT,uv2_vertex:tT,worldpos_vertex:nT,background_frag:rT,background_vert:iT,cube_frag:aT,cube_vert:sT,depth_frag:oT,depth_vert:uT,distanceRGBA_frag:lT,distanceRGBA_vert:cT,equirect_frag:fT,equirect_vert:hT,linedashed_frag:pT,linedashed_vert:dT,meshbasic_frag:vT,meshbasic_vert:mT,meshlambert_frag:gT,meshlambert_vert:yT,meshmatcap_frag:bT,meshmatcap_vert:wT,meshtoon_frag:_T,meshtoon_vert:ET,meshphong_frag:CT,meshphong_vert:ST,meshphysical_frag:AT,meshphysical_vert:xT,normal_frag:TT,normal_vert:DT,points_frag:kT,points_vert:MT,shadow_frag:IT,shadow_vert:PT,sprite_frag:FT,sprite_vert:RT},Ki={basic:{uniforms:rr([Ye.common,Ye.specularmap,Ye.envmap,Ye.aomap,Ye.lightmap,Ye.fog]),vertexShader:Bt.meshbasic_vert,fragmentShader:Bt.meshbasic_frag},lambert:{uniforms:rr([Ye.common,Ye.specularmap,Ye.envmap,Ye.aomap,Ye.lightmap,Ye.emissivemap,Ye.fog,Ye.lights,{emissive:{value:new Qe(0)}}]),vertexShader:Bt.meshlambert_vert,fragmentShader:Bt.meshlambert_frag},phong:{uniforms:rr([Ye.common,Ye.specularmap,Ye.envmap,Ye.aomap,Ye.lightmap,Ye.emissivemap,Ye.bumpmap,Ye.normalmap,Ye.displacementmap,Ye.fog,Ye.lights,{emissive:{value:new Qe(0)},specular:{value:new Qe(1118481)},shininess:{value:30}}]),vertexShader:Bt.meshphong_vert,fragmentShader:Bt.meshphong_frag},standard:{uniforms:rr([Ye.common,Ye.envmap,Ye.aomap,Ye.lightmap,Ye.emissivemap,Ye.bumpmap,Ye.normalmap,Ye.displacementmap,Ye.roughnessmap,Ye.metalnessmap,Ye.fog,Ye.lights,{emissive:{value:new Qe(0)},roughness:{value:.5},metalness:{value:.5},envMapIntensity:{value:1}}]),vertexShader:Bt.meshphysical_vert,fragmentShader:Bt.meshphysical_frag},toon:{uniforms:rr([Ye.common,Ye.specularmap,Ye.aomap,Ye.lightmap,Ye.emissivemap,Ye.bumpmap,Ye.normalmap,Ye.displacementmap,Ye.gradientmap,Ye.fog,Ye.lights,{emissive:{value:new Qe(0)},specular:{value:new Qe(1118481)},shininess:{value:30}}]),vertexShader:Bt.meshtoon_vert,fragmentShader:Bt.meshtoon_frag},matcap:{uniforms:rr([Ye.common,Ye.bumpmap,Ye.normalmap,Ye.displacementmap,Ye.fog,{matcap:{value:null}}]),vertexShader:Bt.meshmatcap_vert,fragmentShader:Bt.meshmatcap_frag},points:{uniforms:rr([Ye.points,Ye.fog]),vertexShader:Bt.points_vert,fragmentShader:Bt.points_frag},dashed:{uniforms:rr([Ye.common,Ye.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:Bt.linedashed_vert,fragmentShader:Bt.linedashed_frag},depth:{uniforms:rr([Ye.common,Ye.displacementmap]),vertexShader:Bt.depth_vert,fragmentShader:Bt.depth_frag},normal:{uniforms:rr([Ye.common,Ye.bumpmap,Ye.normalmap,Ye.displacementmap,{opacity:{value:1}}]),vertexShader:Bt.normal_vert,fragmentShader:Bt.normal_frag},sprite:{uniforms:rr([Ye.sprite,Ye.fog]),vertexShader:Bt.sprite_vert,fragmentShader:Bt.sprite_frag},background:{uniforms:{uvTransform:{value:new ar},t2D:{value:null}},vertexShader:Bt.background_vert,fragmentShader:Bt.background_frag},cube:{uniforms:rr([Ye.envmap,{opacity:{value:1}}]),vertexShader:Bt.cube_vert,fragmentShader:Bt.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:Bt.equirect_vert,fragmentShader:Bt.equirect_frag},distanceRGBA:{uniforms:rr([Ye.common,Ye.displacementmap,{referencePosition:{value:new J},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:Bt.distanceRGBA_vert,fragmentShader:Bt.distanceRGBA_frag},shadow:{uniforms:rr([Ye.lights,Ye.fog,{color:{value:new Qe(0)},opacity:{value:1}}]),vertexShader:Bt.shadow_vert,fragmentShader:Bt.shadow_frag}};Ki.physical={uniforms:rr([Ki.standard.uniforms,{transparency:{value:0},clearcoat:{value:0},clearcoatRoughness:{value:0},sheen:{value:new Qe(0)},clearcoatNormalScale:{value:new De(1,1)},clearcoatNormalMap:{value:null}}]),vertexShader:Bt.meshphysical_vert,fragmentShader:Bt.meshphysical_frag};function LT(i,e,t,n){var r=new Qe(0),a=0,s,o,u=null,l=0,c=null;function f(p,m,v,g){var d=m.background,y=i.xr,b=y.getSession&&y.getSession();if(b&&b.environmentBlendMode==="additive"&&(d=null),d===null?h(r,a):d&&d.isColor&&(h(d,1),g=!0),(i.autoClear||g)&&i.clear(i.autoClearColor,i.autoClearDepth,i.autoClearStencil),d&&(d.isCubeTexture||d.isWebGLCubeRenderTarget||d.mapping===Cl)){o===void 0&&(o=new pn(new mh(1,1,1),new br({type:"BackgroundCubeMaterial",uniforms:Do(Ki.cube.uniforms),vertexShader:Ki.cube.vertexShader,fragmentShader:Ki.cube.fragmentShader,side:Vn,depthTest:!1,depthWrite:!1,fog:!1})),o.geometry.deleteAttribute("normal"),o.geometry.deleteAttribute("uv"),o.onBeforeRender=function(w,E,x){this.matrixWorld.copyPosition(x.matrixWorld)},Object.defineProperty(o.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),t.update(o));var _=d.isWebGLCubeRenderTarget?d.texture:d;o.material.uniforms.envMap.value=_,o.material.uniforms.flipEnvMap.value=_.isCubeTexture?-1:1,(u!==d||l!==_.version||c!==i.toneMapping)&&(o.material.needsUpdate=!0,u=d,l=_.version,c=i.toneMapping),p.unshift(o,o.geometry,o.material,0,0,null)}else d&&d.isTexture&&(s===void 0&&(s=new pn(new Io(2,2),new br({type:"BackgroundMaterial",uniforms:Do(Ki.background.uniforms),vertexShader:Ki.background.vertexShader,fragmentShader:Ki.background.fragmentShader,side:_l,depthTest:!1,depthWrite:!1,fog:!1})),s.geometry.deleteAttribute("normal"),Object.defineProperty(s.material,"map",{get:function(){return this.uniforms.t2D.value}}),t.update(s)),s.material.uniforms.t2D.value=d,d.matrixAutoUpdate===!0&&d.updateMatrix(),s.material.uniforms.uvTransform.value.copy(d.matrix),(u!==d||l!==d.version||c!==i.toneMapping)&&(s.material.needsUpdate=!0,u=d,l=d.version,c=i.toneMapping),p.unshift(s,s.geometry,s.material,0,0,null))}function h(p,m){e.buffers.color.setClear(p.r,p.g,p.b,m,n)}return{getClearColor:function(){return r},setClearColor:function(m,v){r.set(m),a=v!==void 0?v:1,h(r,a)},getClearAlpha:function(){return a},setClearAlpha:function(m){a=m,h(r,a)},render:f}}function BT(i,e,t,n){var r=n.isWebGL2,a;function s(l){a=l}function o(l,c){i.drawArrays(a,l,c),t.update(c,a)}function u(l,c,f,h){if(h!==0){var p,m;if(r)p=i,m="drawArraysInstanced";else if(p=e.get("ANGLE_instanced_arrays"),m="drawArraysInstancedANGLE",p===null){console.error("THREE.WebGLBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");return}p[m](a,c,f,h),t.update(f,a,h)}}this.setMode=s,this.render=o,this.renderInstances=u}function OT(i,e,t){var n;function r(){if(n!==void 0)return n;var E=e.get("EXT_texture_filter_anisotropic");return E!==null?n=i.getParameter(E.MAX_TEXTURE_MAX_ANISOTROPY_EXT):n=0,n}function a(E){if(E==="highp"){if(i.getShaderPrecisionFormat(35633,36338).precision>0&&i.getShaderPrecisionFormat(35632,36338).precision>0)return"highp";E="mediump"}return E==="mediump"&&i.getShaderPrecisionFormat(35633,36337).precision>0&&i.getShaderPrecisionFormat(35632,36337).precision>0?"mediump":"lowp"}var s=typeof WebGL2RenderingContext<"u"&&i instanceof WebGL2RenderingContext||typeof WebGL2ComputeRenderingContext<"u"&&i instanceof WebGL2ComputeRenderingContext,o=t.precision!==void 0?t.precision:"highp",u=a(o);u!==o&&(console.warn("THREE.WebGLRenderer:",o,"not supported, using",u,"instead."),o=u);var l=t.logarithmicDepthBuffer===!0,c=i.getParameter(34930),f=i.getParameter(35660),h=i.getParameter(3379),p=i.getParameter(34076),m=i.getParameter(34921),v=i.getParameter(36347),g=i.getParameter(36348),d=i.getParameter(36349),y=f>0,b=s||!!e.get("OES_texture_float"),_=y&&b,w=s?i.getParameter(36183):0;return{isWebGL2:s,getMaxAnisotropy:r,getMaxPrecision:a,precision:o,logarithmicDepthBuffer:l,maxTextures:c,maxVertexTextures:f,maxTextureSize:h,maxCubemapSize:p,maxAttributes:m,maxVertexUniforms:v,maxVaryings:g,maxFragmentUniforms:d,vertexTextures:y,floatFragmentTextures:b,floatVertexTextures:_,maxSamples:w}}function NT(){var i=this,e=null,t=0,n=!1,r=!1,a=new mi,s=new ar,o={value:null,needsUpdate:!1};this.uniform=o,this.numPlanes=0,this.numIntersection=0,this.init=function(c,f,h){var p=c.length!==0||f||t!==0||n;return n=f,e=l(c,h,0),t=c.length,p},this.beginShadows=function(){r=!0,l(null)},this.endShadows=function(){r=!1,u()},this.setState=function(c,f,h,p,m,v){if(!n||c===null||c.length===0||r&&!h)r?l(null):u();else{var g=r?0:t,d=g*4,y=m.clippingState||null;o.value=y,y=l(c,p,d,v);for(var b=0;b!==d;++b)y[b]=e[b];m.clippingState=y,this.numIntersection=f?this.numPlanes:0,this.numPlanes+=g}};function u(){o.value!==e&&(o.value=e,o.needsUpdate=t>0),i.numPlanes=t,i.numIntersection=0}function l(c,f,h,p){var m=c!==null?c.length:0,v=null;if(m!==0){if(v=o.value,p!==!0||v===null){var g=h+m*4,d=f.matrixWorldInverse;s.getNormalMatrix(d),(v===null||v.length65535?Ou:Bu)(f,1);w.version=m,e.update(w,34963);var E=r.get(c);E&&e.remove(E),r.set(c,w)}function l(c){var f=r.get(c);if(f){var h=c.index;h!==null&&f.version0)return i;var r=e*t,a=ng[r];if(a===void 0&&(a=new Float32Array(r),ng[r]=a),e!==0){n.toArray(a,0);for(var s=1,o=0;s!==e;++s)o+=t,i[s].toArray(a,o)}return a}function qr(i,e){if(i.length!==e.length)return!1;for(var t=0,n=i.length;t/gm;function Cd(i){return i.replace(R5,L5)}function L5(i,e){var t=Bt[e];if(t===void 0)throw new Error("Can not resolve #include <"+e+">");return Cd(t)}var B5=/#pragma unroll_loop[\s]+?for \( int i \= (\d+)\; i < (\d+)\; i \+\+ \) \{([\s\S]+?)(?=\})\}/g;function hg(i){return i.replace(B5,O5)}function O5(i,e,t,n){for(var r="",a=parseInt(e);a0?i.gammaFactor:1,h=t.isWebGL2?"":I5(t),p=P5(r),m=n.createProgram(),v,g,d=t.numMultiviewViews;if(t.isRawShaderMaterial?(v=[p].filter(mu).join(` `),v.length>0&&(v+=` `),g=[h,p].filter(mu).join(` `),g.length>0&&(g+=` `)):(v=[pg(t),"#define SHADER_NAME "+t.shaderName,p,t.instancing?"#define USE_INSTANCING":"",t.supportsVertexTextures?"#define VERTEX_TEXTURES":"","#define GAMMA_FACTOR "+f,"#define MAX_BONES "+t.maxBones,t.useFog&&t.fog?"#define USE_FOG":"",t.useFog&&t.fogExp2?"#define FOG_EXP2":"",t.map?"#define USE_MAP":"",t.envMap?"#define USE_ENVMAP":"",t.envMap?"#define "+l:"",t.lightMap?"#define USE_LIGHTMAP":"",t.aoMap?"#define USE_AOMAP":"",t.emissiveMap?"#define USE_EMISSIVEMAP":"",t.bumpMap?"#define USE_BUMPMAP":"",t.normalMap?"#define USE_NORMALMAP":"",t.normalMap&&t.objectSpaceNormalMap?"#define OBJECTSPACE_NORMALMAP":"",t.normalMap&&t.tangentSpaceNormalMap?"#define TANGENTSPACE_NORMALMAP":"",t.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",t.displacementMap&&t.supportsVertexTextures?"#define USE_DISPLACEMENTMAP":"",t.specularMap?"#define USE_SPECULARMAP":"",t.roughnessMap?"#define USE_ROUGHNESSMAP":"",t.metalnessMap?"#define USE_METALNESSMAP":"",t.alphaMap?"#define USE_ALPHAMAP":"",t.vertexTangents?"#define USE_TANGENT":"",t.vertexColors?"#define USE_COLOR":"",t.vertexUvs?"#define USE_UV":"",t.uvsVertexOnly?"#define UVS_VERTEX_ONLY":"",t.flatShading?"#define FLAT_SHADED":"",t.skinning?"#define USE_SKINNING":"",t.useVertexTexture?"#define BONE_TEXTURE":"",t.morphTargets?"#define USE_MORPHTARGETS":"",t.morphNormals&&t.flatShading===!1?"#define USE_MORPHNORMALS":"",t.doubleSided?"#define DOUBLE_SIDED":"",t.flipSided?"#define FLIP_SIDED":"",t.shadowMapEnabled?"#define USE_SHADOWMAP":"",t.shadowMapEnabled?"#define "+o:"",t.sizeAttenuation?"#define USE_SIZEATTENUATION":"",t.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",t.logarithmicDepthBuffer&&t.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"," attribute vec4 tangent;","#endif","#ifdef USE_COLOR"," attribute vec3 color;","#endif","#ifdef USE_MORPHTARGETS"," attribute vec3 morphTarget0;"," attribute vec3 morphTarget1;"," attribute vec3 morphTarget2;"," attribute vec3 morphTarget3;"," #ifdef USE_MORPHNORMALS"," attribute vec3 morphNormal0;"," attribute vec3 morphNormal1;"," attribute vec3 morphNormal2;"," attribute vec3 morphNormal3;"," #else"," attribute vec3 morphTarget4;"," attribute vec3 morphTarget5;"," attribute vec3 morphTarget6;"," attribute vec3 morphTarget7;"," #endif","#endif","#ifdef USE_SKINNING"," attribute vec4 skinIndex;"," attribute vec4 skinWeight;","#endif",` `].filter(mu).join(` `),g=[h,pg(t),"#define SHADER_NAME "+t.shaderName,p,t.alphaTest?"#define ALPHATEST "+t.alphaTest+(t.alphaTest%1?"":".0"):"","#define GAMMA_FACTOR "+f,t.useFog&&t.fog?"#define USE_FOG":"",t.useFog&&t.fogExp2?"#define FOG_EXP2":"",t.map?"#define USE_MAP":"",t.matcap?"#define USE_MATCAP":"",t.envMap?"#define USE_ENVMAP":"",t.envMap?"#define "+u:"",t.envMap?"#define "+l:"",t.envMap?"#define "+c:"",t.lightMap?"#define USE_LIGHTMAP":"",t.aoMap?"#define USE_AOMAP":"",t.emissiveMap?"#define USE_EMISSIVEMAP":"",t.bumpMap?"#define USE_BUMPMAP":"",t.normalMap?"#define USE_NORMALMAP":"",t.normalMap&&t.objectSpaceNormalMap?"#define OBJECTSPACE_NORMALMAP":"",t.normalMap&&t.tangentSpaceNormalMap?"#define TANGENTSPACE_NORMALMAP":"",t.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",t.specularMap?"#define USE_SPECULARMAP":"",t.roughnessMap?"#define USE_ROUGHNESSMAP":"",t.metalnessMap?"#define USE_METALNESSMAP":"",t.alphaMap?"#define USE_ALPHAMAP":"",t.sheen?"#define USE_SHEEN":"",t.vertexTangents?"#define USE_TANGENT":"",t.vertexColors?"#define USE_COLOR":"",t.vertexUvs?"#define USE_UV":"",t.uvsVertexOnly?"#define UVS_VERTEX_ONLY":"",t.gradientMap?"#define USE_GRADIENTMAP":"",t.flatShading?"#define FLAT_SHADED":"",t.doubleSided?"#define DOUBLE_SIDED":"",t.flipSided?"#define FLIP_SIDED":"",t.shadowMapEnabled?"#define USE_SHADOWMAP":"",t.shadowMapEnabled?"#define "+o:"",t.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",t.physicallyCorrectLights?"#define PHYSICALLY_CORRECT_LIGHTS":"",t.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",t.logarithmicDepthBuffer&&t.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"",(t.extensionShaderTextureLOD||t.envMap)&&t.rendererExtensionShaderTextureLod?"#define TEXTURE_LOD_EXT":"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",t.toneMapping!==Dc?"#define TONE_MAPPING":"",t.toneMapping!==Dc?Bt.tonemapping_pars_fragment:"",t.toneMapping!==Dc?M5("toneMapping",t.toneMapping):"",t.dithering?"#define DITHERING":"",t.outputEncoding||t.mapEncoding||t.matcapEncoding||t.envMapEncoding||t.emissiveMapEncoding||t.lightMapEncoding?Bt.encodings_pars_fragment:"",t.mapEncoding?lu("mapTexelToLinear",t.mapEncoding):"",t.matcapEncoding?lu("matcapTexelToLinear",t.matcapEncoding):"",t.envMapEncoding?lu("envMapTexelToLinear",t.envMapEncoding):"",t.emissiveMapEncoding?lu("emissiveMapTexelToLinear",t.emissiveMapEncoding):"",t.lightMapEncoding?lu("lightMapTexelToLinear",t.lightMapEncoding):"",t.outputEncoding?k5("linearToOutputTexel",t.outputEncoding):"",t.depthPacking?"#define DEPTH_PACKING "+t.depthPacking:"",` `].filter(mu).join(` `)),a=Cd(a),a=cg(a,t),a=fg(a,t),s=Cd(s),s=cg(s,t),s=fg(s,t),a=hg(a),s=hg(s),t.isWebGL2&&!t.isRawShaderMaterial){var y=!1,b=/^\s*#version\s+300\s+es\s*\n/;t.isShaderMaterial&&a.match(b)!==null&&s.match(b)!==null&&(y=!0,a=a.replace(b,""),s=s.replace(b,"")),v=[`#version 300 es `,"#define attribute in","#define varying out","#define texture2D texture"].join(` `)+` `+v,g=[`#version 300 es `,"#define varying in",y?"":"out highp vec4 pc_fragColor;",y?"":"#define gl_FragColor pc_fragColor","#define gl_FragDepthEXT gl_FragDepth","#define texture2D texture","#define textureCube texture","#define texture2DProj textureProj","#define texture2DLodEXT textureLod","#define texture2DProjLodEXT textureProjLod","#define textureCubeLodEXT textureLod","#define texture2DGradEXT textureGrad","#define texture2DProjGradEXT textureProjGrad","#define textureCubeGradEXT textureGrad"].join(` `)+` `+g,d>0&&(v=v.replace(`#version 300 es `,[`#version 300 es `,"#extension GL_OVR_multiview2 : require","layout(num_views = "+d+") in;","#define VIEW_ID gl_ViewID_OVR"].join(` `)),v=v.replace(["uniform mat4 modelViewMatrix;","uniform mat4 projectionMatrix;","uniform mat4 viewMatrix;","uniform mat3 normalMatrix;"].join(` `),["uniform mat4 modelViewMatrices["+d+"];","uniform mat4 projectionMatrices["+d+"];","uniform mat4 viewMatrices["+d+"];","uniform mat3 normalMatrices["+d+"];","#define modelViewMatrix modelViewMatrices[VIEW_ID]","#define projectionMatrix projectionMatrices[VIEW_ID]","#define viewMatrix viewMatrices[VIEW_ID]","#define normalMatrix normalMatrices[VIEW_ID]"].join(` `)),g=g.replace(`#version 300 es `,[`#version 300 es `,"#extension GL_OVR_multiview2 : require","#define VIEW_ID gl_ViewID_OVR"].join(` `)),g=g.replace("uniform mat4 viewMatrix;",["uniform mat4 viewMatrices["+d+"];","#define viewMatrix viewMatrices[VIEW_ID]"].join(` `)))}var _=v+a,w=g+s,E=ug(n,35633,_),x=ug(n,35632,w);if(n.attachShader(m,E),n.attachShader(m,x),t.index0AttributeName!==void 0?n.bindAttribLocation(m,0,t.index0AttributeName):t.morphTargets===!0&&n.bindAttribLocation(m,0,"position"),n.linkProgram(m),i.debug.checkShaderErrors){var S=n.getProgramInfoLog(m).trim(),T=n.getShaderInfoLog(E).trim(),L=n.getShaderInfoLog(x).trim(),B=!0,k=!0;if(n.getProgramParameter(m,35714)===!1){B=!1;var R=lg(n,E,"vertex"),F=lg(n,x,"fragment");console.error("THREE.WebGLProgram: shader error: ",n.getError(),"35715",n.getProgramParameter(m,35715),"gl.getProgramInfoLog",S,R,F)}else S!==""?console.warn("THREE.WebGLProgram: gl.getProgramInfoLog()",S):(T===""||L==="")&&(k=!1);k&&(this.diagnostics={runnable:B,programLog:S,vertexShader:{log:T,prefix:v},fragmentShader:{log:L,prefix:g}})}n.deleteShader(E),n.deleteShader(x);var W;this.getUniforms=function(){return W===void 0&&(W=new Ma(n,m)),W};var K;return this.getAttributes=function(){return K===void 0&&(K=F5(n,m)),K},this.destroy=function(){n.deleteProgram(m),this.program=void 0},this.name=t.shaderName,this.id=T5++,this.cacheKey=e,this.usedTimes=1,this.program=m,this.vertexShader=E,this.fragmentShader=x,this.numMultiviewViews=d,this}function z5(i,e,t){var n=[],r=t.isWebGL2,a=t.logarithmicDepthBuffer,s=t.floatVertexTextures,o=t.precision,u=t.maxVertexUniforms,l=t.vertexTextures,c={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"},f=["precision","isWebGL2","supportsVertexTextures","outputEncoding","instancing","numMultiviewViews","map","mapEncoding","matcap","matcapEncoding","envMap","envMapMode","envMapEncoding","envMapCubeUV","lightMap","lightMapEncoding","aoMap","emissiveMap","emissiveMapEncoding","bumpMap","normalMap","objectSpaceNormalMap","tangentSpaceNormalMap","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"];function h(v,g){var d;if(g){var y=Ki[g];d={name:v.type,uniforms:hA.clone(y.uniforms),vertexShader:y.vertexShader,fragmentShader:y.fragmentShader}}else d={name:v.type,uniforms:v.uniforms,vertexShader:v.vertexShader,fragmentShader:v.fragmentShader};return d}function p(v){var g=v.skeleton,d=g.bones;if(s)return 1024;var y=u,b=Math.floor((y-20)/4),_=Math.min(b,d.length);return _0,maxBones:L,useVertexTexture:s,morphTargets:v.morphTargets,morphNormals:v.morphNormals,maxMorphTargets:i.maxMorphTargets,maxMorphNormals:i.maxMorphNormals,numDirLights:g.directional.length,numPointLights:g.point.length,numSpotLights:g.spot.length,numRectAreaLights:g.rectArea.length,numHemiLights:g.hemi.length,numDirLightShadows:g.directionalShadowMap.length,numPointLightShadows:g.pointShadowMap.length,numSpotLightShadows:g.spotShadowMap.length,numClippingPlanes:b,numClipIntersection:_,dithering:v.dithering,shadowMapEnabled:i.shadowMap.enabled&&d.length>0,shadowMapType:i.shadowMap.type,toneMapping:v.toneMapped?i.toneMapping:Dc,physicallyCorrectLights:i.physicallyCorrectLights,premultipliedAlpha:v.premultipliedAlpha,alphaTest:v.alphaTest,doubleSided:v.side===hh,flipSided:v.side===Vn,depthPacking:v.depthPacking!==void 0?v.depthPacking:!1,index0AttributeName:v.index0AttributeName,extensionDerivatives:v.extensions&&v.extensions.derivatives,extensionFragDepth:v.extensions&&v.extensions.frawbuffers,extensionDrawbuffers:v.extensions&&v.extensions.drawbuffers,extensionShaderTextureLOD:v.extensions&&v.extensions.shaderTextureLOD,rendererExtensionFragDepth:r||e.get("EXT_frag_depth")!==null,rendererExtensionDrawBuffers:r||e.get("WEBGL_draw_buffers")!==null,rendererExtensionShaderTextureLod:r||e.get("EXT_shader_texture_lod")!==null,onBeforeCompile:v.onBeforeCompile};return F},this.getProgramCacheKey=function(v){var g=[];if(v.shaderID?g.push(v.shaderID):(g.push(v.fragmentShader),g.push(v.vertexShader)),v.defines!==void 0)for(var d in v.defines)g.push(d),g.push(v.defines[d]);if(v.isRawShaderMaterial===void 0){for(var y=0;y1&&t.sort(c||j5),n.length>1&&n.sort(f||Y5)}return{opaque:t,transparent:n,init:a,push:o,unshift:u,sort:l}}function K5(){var i=new WeakMap;function e(r){var a=r.target;a.removeEventListener("dispose",e),i.delete(a)}function t(r,a){var s=i.get(r),o;return s===void 0?(o=new dg,i.set(r,new WeakMap),i.get(r).set(a,o),r.addEventListener("dispose",e)):(o=s.get(a),o===void 0&&(o=new dg,s.set(a,o))),o}function n(){i=new WeakMap}return{get:t,dispose:n}}function X5(){var i={};return{get:function(t){if(i[t.id]!==void 0)return i[t.id];var n;switch(t.type){case"DirectionalLight":n={direction:new J,color:new Qe,shadow:!1,shadowBias:0,shadowRadius:1,shadowMapSize:new De};break;case"SpotLight":n={position:new J,direction:new J,color:new Qe,distance:0,coneCos:0,penumbraCos:0,decay:0,shadow:!1,shadowBias:0,shadowRadius:1,shadowMapSize:new De};break;case"PointLight":n={position:new J,color:new Qe,distance:0,decay:0,shadow:!1,shadowBias:0,shadowRadius:1,shadowMapSize:new De,shadowCameraNear:1,shadowCameraFar:1e3};break;case"HemisphereLight":n={direction:new J,skyColor:new Qe,groundColor:new Qe};break;case"RectAreaLight":n={color:new Qe,position:new J,halfWidth:new J,halfHeight:new J};break}return i[t.id]=n,n}}}var q5=0;function Z5(i,e){return(e.castShadow?1:0)-(i.castShadow?1:0)}function J5(){for(var i=new X5,e={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:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotShadowMap:[],spotShadowMatrix:[],rectArea:[],point:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1},t=0;t<9;t++)e.probe.push(new J);var n=new J,r=new Ft,a=new Ft;function s(o,u,l){for(var c=0,f=0,h=0,p=0;p<9;p++)e.probe[p].set(0,0,0);var m=0,v=0,g=0,d=0,y=0,b=0,_=0,w=0,E=l.matrixWorldInverse;o.sort(Z5);for(var p=0,x=o.length;p void main() { float mean = 0.0; float squared_mean = 0.0; float depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy ) / resolution ) ); for ( float i = -1.0; i < 1.0 ; i += SAMPLE_RATE) { #ifdef HORIZONAL_PASS vec2 distribution = unpackRGBATo2Half( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( i, 0.0 ) * radius ) / resolution ) ); mean += distribution.x; squared_mean += distribution.y * distribution.y + distribution.x * distribution.x; #else float depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, i ) * radius ) / resolution ) ); mean += depth; squared_mean += depth * depth; #endif } mean = mean * HALF_SAMPLE_RATE; squared_mean = squared_mean * HALF_SAMPLE_RATE; float std_dev = sqrt( squared_mean - mean * mean ); gl_FragColor = pack2HalfToRGBA( vec2( mean, std_dev ) ); }`,eD=`void main() { gl_Position = vec4( position, 1.0 ); }`;function qb(i,e,t){var n=new Al,r=new De,a=new De,s=new $t,o=[],u=[],l={},c={0:Vn,1:_l,2:hh},f=new br({defines:{SAMPLE_RATE:2/8,HALF_SAMPLE_RATE:1/8},uniforms:{shadow_pass:{value:null},resolution:{value:new De},radius:{value:4}},vertexShader:eD,fragmentShader:Q5}),h=f.clone();h.defines.HORIZONAL_PASS=1;var p=new nt;p.setAttribute("position",new gt(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));var m=new pn(p,f),v=this;this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=Cb,this.render=function(w,E,x){if(v.enabled!==!1&&!(v.autoUpdate===!1&&v.needsUpdate===!1)&&w.length!==0){var S=i.getRenderTarget(),T=i.getActiveCubeFace(),L=i.getActiveMipmapLevel(),B=i.state;B.setBlending(ka),B.buffers.color.setClear(1,1,1,1),B.buffers.depth.setTest(!0),B.setScissorTest(!1);for(var k=0,R=w.length;kt||r.y>t)&&(console.warn("THREE.WebGLShadowMap:",F,"has shadow exceeding max texture size, reducing"),r.x>t&&(a.x=Math.floor(t/K.x),r.x=a.x*K.x,W.mapSize.x=a.x),r.y>t&&(a.y=Math.floor(t/K.y),r.y=a.y*K.y,W.mapSize.y=a.y)),W.map===null&&!W.isPointLightShadow&&this.type===vu){var $={minFilter:Nn,magFilter:Nn,format:Ai};W.map=new fr(r.x,r.y,$),W.map.texture.name=F.name+".shadowMap",W.mapPass=new fr(r.x,r.y,$),W.camera.updateProjectionMatrix()}if(W.map===null){var $={minFilter:kn,magFilter:kn,format:Ai};W.map=new fr(r.x,r.y,$),W.map.texture.name=F.name+".shadowMap",W.camera.updateProjectionMatrix()}i.setRenderTarget(W.map),i.clear();for(var U=W.getViewportCount(),N=0;N0:B.isGeometry===!0&&(W=B.morphTargets&&B.morphTargets.length>0));var K=!1;w.isSkinnedMesh===!0&&(E.skinning===!0?K=!0:console.warn("THREE.WebGLShadowMap: THREE.SkinnedMesh with material.skinning set to false:",w));var $=w.isInstancedMesh===!0;k=R(W,K,$)}else k=F;if(i.localClippingEnabled&&E.clipShadows===!0&&E.clippingPlanes.length!==0){var U=k.uuid,N=E.uuid,P=l[U];P===void 0&&(P={},l[U]=P);var D=P[N];D===void 0&&(D=k.clone(),P[N]=D),k=D}return k.visible=E.visible,k.wireframe=E.wireframe,L===vu?k.side=E.shadowSide!==null?E.shadowSide:E.side:k.side=E.shadowSide!==null?E.shadowSide:c[E.side],k.clipShadows=E.clipShadows,k.clippingPlanes=E.clippingPlanes,k.clipIntersection=E.clipIntersection,k.wireframeLinewidth=E.wireframeLinewidth,k.linewidth=E.linewidth,x.isPointLight===!0&&k.isMeshDistanceMaterial===!0&&(k.referencePosition.setFromMatrixPosition(x.matrixWorld),k.nearDistance=S,k.farDistance=T),k}function _(w,E,x,S,T){if(w.visible!==!1){var L=w.layers.test(E.layers);if(L&&(w.isMesh||w.isLine||w.isPoints)&&(w.castShadow||w.receiveShadow&&T===vu)&&(!w.frustumCulled||n.intersectsObject(w))){w.modelViewMatrix.multiplyMatrices(x.matrixWorldInverse,w.matrixWorld);var B=e.update(w),k=w.material;if(Array.isArray(k))for(var R=B.groups,F=0,W=R.length;F=1):U.indexOf("OpenGL ES")!==-1&&($=parseFloat(/^OpenGL\ ES\ ([0-9])/.exec(U)[1]),K=$>=2);var N=null,P={},D=new $t,q=new $t;function V(I,te,ae){var ve=new Uint8Array(4),we=i.createTexture();i.bindTexture(I,we),i.texParameteri(I,10241,9728),i.texParameteri(I,10240,9728);for(var Te=0;Te_e||H.height>_e)&&(Le=_e/Math.max(H.width,H.height)),Le<1||X===!0)if(typeof HTMLImageElement<"u"&&H instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&H instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&H instanceof ImageBitmap){var Be=X?kt.floorPowerOfTwo:Math.floor,Se=Be(Le*H.width),We=Be(Le*H.height);p===void 0&&(p=v(Se,We));var re=xe?v(Se,We):p;re.width=Se,re.height=We;var Ge=re.getContext("2d");return Ge.drawImage(H,0,0,Se,We),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+H.width+"x"+H.height+") to ("+Se+"x"+We+")."),re}else return"data"in H&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+H.width+"x"+H.height+")."),H;return H}function d(H){return kt.isPowerOfTwo(H.width)&&kt.isPowerOfTwo(H.height)}function y(H){return o?!1:H.wrapS!==gr||H.wrapT!==gr||H.minFilter!==kn&&H.minFilter!==Nn}function b(H,X){return H.generateMipmaps&&X&&H.minFilter!==kn&&H.minFilter!==Nn}function _(H,X,xe,_e){i.generateMipmap(H);var Le=n.get(X);Le.__maxMipLevel=Math.log(Math.max(xe,_e))*Math.LOG2E}function w(H,X,xe){if(o===!1)return X;if(H!==null){if(i[H]!==void 0)return i[H];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+H+"'")}var _e=X;return X===6403&&(xe===5126&&(_e=33326),xe===5131&&(_e=33325),xe===5121&&(_e=33321)),X===6407&&(xe===5126&&(_e=34837),xe===5131&&(_e=34843),xe===5121&&(_e=32849)),X===6408&&(xe===5126&&(_e=34836),xe===5131&&(_e=34842),xe===5121&&(_e=32856)),_e===33325||_e===33326||_e===34842||_e===34836?e.get("EXT_color_buffer_float"):(_e===34843||_e===34837)&&console.warn("THREE.WebGLRenderer: Floating point textures with RGB format not supported. Please use RGBA instead."),_e}function E(H){return H===kn||H===vd||H===md?9728:9729}function x(H){var X=H.target;X.removeEventListener("dispose",x),T(X),X.isVideoTexture&&h.delete(X),s.memory.textures--}function S(H){var X=H.target;X.removeEventListener("dispose",S),L(X),s.memory.textures--}function T(H){var X=n.get(H);X.__webglInit!==void 0&&(i.deleteTexture(X.__webglTexture),n.remove(H))}function L(H){var X=n.get(H),xe=n.get(H.texture);if(H){if(xe.__webglTexture!==void 0&&i.deleteTexture(xe.__webglTexture),H.depthTexture&&H.depthTexture.dispose(),H.isWebGLCubeRenderTarget)for(var _e=0;_e<6;_e++)i.deleteFramebuffer(X.__webglFramebuffer[_e]),X.__webglDepthbuffer&&i.deleteRenderbuffer(X.__webglDepthbuffer[_e]);else i.deleteFramebuffer(X.__webglFramebuffer),X.__webglDepthbuffer&&i.deleteRenderbuffer(X.__webglDepthbuffer);if(H.isWebGLMultiviewRenderTarget){i.deleteTexture(X.__webglColorTexture),i.deleteTexture(X.__webglDepthStencilTexture),s.memory.textures-=2;for(var _e=0,Le=X.__webglViewFramebuffers.length;_e=u&&console.warn("THREE.WebGLTextures: Trying to use "+H+" texture units while this GPU supports only "+u),B+=1,H}function F(H,X){var xe=n.get(H);if(H.isVideoTexture&&Ce(H),H.version>0&&xe.__version!==H.version){var _e=H.image;if(_e===void 0)console.warn("THREE.WebGLRenderer: Texture marked for update but image is undefined");else if(_e.complete===!1)console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete");else{V(xe,H,X);return}}t.activeTexture(33984+X),t.bindTexture(3553,xe.__webglTexture)}function W(H,X){var xe=n.get(H);if(H.version>0&&xe.__version!==H.version){V(xe,H,X);return}t.activeTexture(33984+X),t.bindTexture(35866,xe.__webglTexture)}function K(H,X){var xe=n.get(H);if(H.version>0&&xe.__version!==H.version){V(xe,H,X);return}t.activeTexture(33984+X),t.bindTexture(32879,xe.__webglTexture)}function $(H,X){if(H.image.length===6){var xe=n.get(H);if(H.version>0&&xe.__version!==H.version){q(xe,H),t.activeTexture(33984+X),t.bindTexture(34067,xe.__webglTexture),i.pixelStorei(37440,H.flipY);for(var _e=H&&(H.isCompressedTexture||H.image[0].isCompressedTexture),Le=H.image[0]&&H.image[0].isDataTexture,Be=[],Se=0;Se<6;Se++)!_e&&!Le?Be[Se]=g(H.image[Se],!1,!0,l):Be[Se]=Le?H.image[Se].image:H.image[Se];var We=Be[0],re=d(We)||o,Ge=a.convert(H.format),M=a.convert(H.type),C=w(H.internalFormat,Ge,M);D(34067,H,re);var A;if(_e){for(var Se=0;Se<6;Se++){A=Be[Se].mipmaps;for(var G=0;G1||n.get(X).__currentAnisotropy)&&(i.texParameterf(H,_e.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(X.anisotropy,r.getMaxAnisotropy())),n.get(X).__currentAnisotropy=X.anisotropy)}}function q(H,X){H.__webglInit===void 0&&(H.__webglInit=!0,X.addEventListener("dispose",x),H.__webglTexture=i.createTexture(),s.memory.textures++)}function V(H,X,xe){var _e=3553;X.isDataTexture2DArray&&(_e=35866),X.isDataTexture3D&&(_e=32879),q(H,X),t.activeTexture(33984+xe),t.bindTexture(_e,H.__webglTexture),i.pixelStorei(37440,X.flipY),i.pixelStorei(37441,X.premultiplyAlpha),i.pixelStorei(3317,X.unpackAlignment);var Le=y(X)&&d(X.image)===!1,Be=g(X.image,Le,!1,c),Se=d(Be)||o,We=a.convert(X.format),re=a.convert(X.type),Ge=w(X.internalFormat,We,re);D(_e,X,Se);var M,C=X.mipmaps;if(X.isDepthTexture){if(Ge=6402,X.type===Fu){if(o===!1)throw new Error("Float Depth Texture only supported in WebGL2.0");Ge=36012}else o&&(Ge=33189);X.format===go&&Ge===6402&&X.type!==lf&&X.type!==Pb&&(console.warn("THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture."),X.type=lf,re=a.convert(X.type)),X.format===Ru&&(Ge=34041,X.type!==cf&&(console.warn("THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture."),X.type=cf,re=a.convert(X.type))),t.texImage2D(3553,0,Ge,Be.width,Be.height,0,We,re,null)}else if(X.isDataTexture)if(C.length>0&&Se){for(var A=0,G=C.length;A0&&Se){for(var A=0,G=C.length;Ah)return!1;for(var T=1,L=S.length;T=0){var Ze=Ie[ot];if(Ze!==void 0){var Mt=Ze.normalized,It=Ze.itemSize,wt=ke.get(Ze);if(wt===void 0)continue;var je=wt.buffer,it=wt.type,on=wt.bytesPerElement;if(Ze.isInterleavedBufferAttribute){var Wt=Ze.data,jn=Wt.stride,_t=Ze.offset;Wt&&Wt.isInstancedInterleavedBuffer?(j.enableAttributeAndDivisor(ze,Wt.meshPerAttribute),z.maxInstancedCount===void 0&&(z.maxInstancedCount=Wt.meshPerAttribute*Wt.count)):j.enableAttribute(ze),Y.bindBuffer(34962,je),Y.vertexAttribPointer(ze,It,it,Mt,jn*on,_t*on)}else Ze.isInstancedBufferAttribute?(j.enableAttributeAndDivisor(ze,Ze.meshPerAttribute),z.maxInstancedCount===void 0&&(z.maxInstancedCount=Ze.meshPerAttribute*Ze.count)):j.enableAttribute(ze),Y.bindBuffer(34962,je),Y.vertexAttribPointer(ze,It,it,Mt,0,0)}else if(ot==="instanceMatrix"){var wt=ke.get(O.instanceMatrix);if(wt===void 0)continue;var je=wt.buffer,it=wt.type;j.enableAttributeAndDivisor(ze+0,1),j.enableAttributeAndDivisor(ze+1,1),j.enableAttributeAndDivisor(ze+2,1),j.enableAttributeAndDivisor(ze+3,1),Y.bindBuffer(34962,je),Y.vertexAttribPointer(ze+0,4,it,!1,64,0),Y.vertexAttribPointer(ze+1,4,it,!1,64,16),Y.vertexAttribPointer(ze+2,4,it,!1,64,32),Y.vertexAttribPointer(ze+3,4,it,!1,64,48)}else if(Ue!==void 0){var ht=Ue[ot];if(ht!==void 0)switch(ht.length){case 2:Y.vertexAttrib2fv(ze,ht);break;case 3:Y.vertexAttrib3fv(ze,ht);break;case 4:Y.vertexAttrib4fv(ze,ht);break;default:Y.vertexAttrib1fv(ze,ht)}}}}j.disableUnusedAttributes()}}this.compile=function(O,z){h=xe.get(O,z),h.init(),O.traverse(function(be){be.isLight&&(h.pushLight(be),be.castShadow&&h.pushShadow(be))}),h.setupLights(z);var se={};O.traverse(function(be){if(be.material)if(Array.isArray(be.material))for(var Ie=0;Ie=0&&O.numSupportedMorphTargets++}if(O.morphNormals){O.numSupportedMorphNormals=0;for(var wt=0;wt=0&&O.numSupportedMorphNormals++}var je=be.uniforms;(!O.isShaderMaterial&&!O.isRawShaderMaterial||O.clipping===!0)&&(be.numClippingPlanes=P.numPlanes,be.numIntersection=P.numIntersection,je.clippingPlanes=P.uniform),be.fog=z.fog,be.needsLights=Cr(O),be.lightsStateVersion=Ue,be.needsLights&&(je.ambientLightColor.value=Ie.state.ambient,je.lightProbe.value=Ie.state.probe,je.directionalLights.value=Ie.state.directional,je.spotLights.value=Ie.state.spot,je.rectAreaLights.value=Ie.state.rectArea,je.pointLights.value=Ie.state.point,je.hemisphereLights.value=Ie.state.hemi,je.directionalShadowMap.value=Ie.state.directionalShadowMap,je.directionalShadowMatrix.value=Ie.state.directionalShadowMatrix,je.spotShadowMap.value=Ie.state.spotShadowMap,je.spotShadowMatrix.value=Ie.state.spotShadowMatrix,je.pointShadowMap.value=Ie.state.pointShadowMap,je.pointShadowMatrix.value=Ie.state.pointShadowMatrix);var it=be.program.getUniforms(),on=Ma.seqWithValue(it.seq,je);be.uniformsList=on}function en(O,z,se,be){Ae.resetTextureUnits();var Ie=z.fog,tt=se.isMeshStandardMaterial?z.environment:null,Ue=Ce.get(se),ot=h.state.lights;if(D&&(q||O!==E)){var ze=O===E&&se.id===_;P.setState(se.clippingPlanes,se.clipIntersection,se.clipShadows,O,Ue,ze)}se.version===Ue.__version?(Ue.program===void 0||se.fog&&Ue.fog!==Ie||Ue.environment!==tt||Ue.needsLights&&Ue.lightsStateVersion!==ot.state.version||Ue.numClippingPlanes!==void 0&&(Ue.numClippingPlanes!==P.numPlanes||Ue.numIntersection!==P.numIntersection)||Ue.outputEncoding!==p.outputEncoding)&&dt(se,z,be):(dt(se,z,be),Ue.__version=se.version);var Ze=!1,Mt=!1,It=!1,wt=Ue.program,je=wt.getUniforms(),it=Ue.uniforms;if(j.useProgram(wt.program)&&(Ze=!0,Mt=!0,It=!0),se.id!==_&&(_=se.id,Mt=!0),Ze||E!==O){if(wt.numMultiviewViews>0?M.updateCameraProjectionMatricesUniform(O,je):je.setValue(Y,"projectionMatrix",O.projectionMatrix),Ee.logarithmicDepthBuffer&&je.setValue(Y,"logDepthBufFC",2/(Math.log(O.far+1)/Math.LN2)),E!==O&&(E=O,Mt=!0,It=!0),se.isShaderMaterial||se.isMeshPhongMaterial||se.isMeshToonMaterial||se.isMeshStandardMaterial||se.envMap){var on=je.map.cameraPosition;on!==void 0&&on.setValue(Y,Q.setFromMatrixPosition(O.matrixWorld))}(se.isMeshPhongMaterial||se.isMeshToonMaterial||se.isMeshLambertMaterial||se.isMeshBasicMaterial||se.isMeshStandardMaterial||se.isShaderMaterial)&&je.setValue(Y,"isOrthographic",O.isOrthographicCamera===!0),(se.isMeshPhongMaterial||se.isMeshToonMaterial||se.isMeshLambertMaterial||se.isMeshBasicMaterial||se.isMeshStandardMaterial||se.isShaderMaterial||se.skinning)&&(wt.numMultiviewViews>0?M.updateCameraViewMatricesUniform(O,je):je.setValue(Y,"viewMatrix",O.matrixWorldInverse))}if(se.skinning){je.setOptional(Y,be,"bindMatrix"),je.setOptional(Y,be,"bindMatrixInverse");var Wt=be.skeleton;if(Wt){var jn=Wt.bones;if(Ee.floatVertexTextures){if(Wt.boneTexture===void 0){var _t=Math.sqrt(jn.length*4);_t=kt.ceilPowerOfTwo(_t),_t=Math.max(_t,4);var ht=new Float32Array(_t*_t*4);ht.set(Wt.boneMatrices);var _n=new Mo(ht,_t,_t,Ai,Fu);Wt.boneMatrices=ht,Wt.boneTexture=_n,Wt.boneTextureSize=_t}je.setValue(Y,"boneTexture",Wt.boneTexture,Ae),je.setValue(Y,"boneTextureSize",Wt.boneTextureSize)}else je.setOptional(Y,Wt,"boneMatrices")}}return(Mt||Ue.receiveShadow!==be.receiveShadow)&&(Ue.receiveShadow=be.receiveShadow,je.setValue(Y,"receiveShadow",be.receiveShadow)),Mt&&(je.setValue(Y,"toneMappingExposure",p.toneMappingExposure),je.setValue(Y,"toneMappingWhitePoint",p.toneMappingWhitePoint),Ue.needsLights&&vr(it,It),Ie&&se.fog&&Nt(it,Ie),se.isMeshBasicMaterial?et(it,se):se.isMeshLambertMaterial?(et(it,se),Ut(it,se)):se.isMeshToonMaterial?(et(it,se),Hn(it,se)):se.isMeshPhongMaterial?(et(it,se),Gn(it,se)):se.isMeshStandardMaterial?(et(it,se,tt),se.isMeshPhysicalMaterial?Un(it,se,tt):sn(it,se,tt)):se.isMeshMatcapMaterial?(et(it,se),Pn(it,se)):se.isMeshDepthMaterial?(et(it,se),Er(it,se)):se.isMeshDistanceMaterial?(et(it,se),Rt(it,se)):se.isMeshNormalMaterial?(et(it,se),Gt(it,se)):se.isLineBasicMaterial?(Je(it,se),se.isLineDashedMaterial&&$e(it,se)):se.isPointsMaterial?dn(it,se):se.isSpriteMaterial?nn(it,se):se.isShadowMaterial&&(it.color.value.copy(se.color),it.opacity.value=se.opacity),it.ltc_1!==void 0&&(it.ltc_1.value=Ye.LTC_1),it.ltc_2!==void 0&&(it.ltc_2.value=Ye.LTC_2),Ma.upload(Y,Ue.uniformsList,it,Ae),se.isShaderMaterial&&(se.uniformsNeedUpdate=!1)),se.isShaderMaterial&&se.uniformsNeedUpdate===!0&&(Ma.upload(Y,Ue.uniformsList,it,Ae),se.uniformsNeedUpdate=!1),se.isSpriteMaterial&&je.setValue(Y,"center",be.center),wt.numMultiviewViews>0?M.updateObjectMatricesUniforms(be,O,je):(je.setValue(Y,"modelViewMatrix",be.modelViewMatrix),je.setValue(Y,"normalMatrix",be.normalMatrix)),je.setValue(Y,"modelMatrix",be.matrixWorld),wt}function et(O,z,se){O.opacity.value=z.opacity,z.color&&O.diffuse.value.copy(z.color),z.emissive&&O.emissive.value.copy(z.emissive).multiplyScalar(z.emissiveIntensity),z.map&&(O.map.value=z.map),z.alphaMap&&(O.alphaMap.value=z.alphaMap),z.specularMap&&(O.specularMap.value=z.specularMap);var be=z.envMap||se;be&&(O.envMap.value=be,O.flipEnvMap.value=be.isCubeTexture?-1:1,O.reflectivity.value=z.reflectivity,O.refractionRatio.value=z.refractionRatio,O.maxMipLevel.value=Ce.get(be).__maxMipLevel),z.lightMap&&(O.lightMap.value=z.lightMap,O.lightMapIntensity.value=z.lightMapIntensity),z.aoMap&&(O.aoMap.value=z.aoMap,O.aoMapIntensity.value=z.aoMapIntensity);var Ie;z.map?Ie=z.map:z.specularMap?Ie=z.specularMap:z.displacementMap?Ie=z.displacementMap:z.normalMap?Ie=z.normalMap:z.bumpMap?Ie=z.bumpMap:z.roughnessMap?Ie=z.roughnessMap:z.metalnessMap?Ie=z.metalnessMap:z.alphaMap?Ie=z.alphaMap:z.emissiveMap&&(Ie=z.emissiveMap),Ie!==void 0&&(Ie.isWebGLRenderTarget&&(Ie=Ie.texture),Ie.matrixAutoUpdate===!0&&Ie.updateMatrix(),O.uvTransform.value.copy(Ie.matrix));var tt;z.aoMap?tt=z.aoMap:z.lightMap&&(tt=z.lightMap),tt!==void 0&&(tt.isWebGLRenderTarget&&(tt=tt.texture),tt.matrixAutoUpdate===!0&&tt.updateMatrix(),O.uv2Transform.value.copy(tt.matrix))}function Je(O,z){O.diffuse.value.copy(z.color),O.opacity.value=z.opacity}function $e(O,z){O.dashSize.value=z.dashSize,O.totalSize.value=z.dashSize+z.gapSize,O.scale.value=z.scale}function dn(O,z){O.diffuse.value.copy(z.color),O.opacity.value=z.opacity,O.size.value=z.size*R,O.scale.value=k*.5,z.map&&(O.map.value=z.map),z.alphaMap&&(O.alphaMap.value=z.alphaMap);var se;z.map?se=z.map:z.alphaMap&&(se=z.alphaMap),se!==void 0&&(se.matrixAutoUpdate===!0&&se.updateMatrix(),O.uvTransform.value.copy(se.matrix))}function nn(O,z){O.diffuse.value.copy(z.color),O.opacity.value=z.opacity,O.rotation.value=z.rotation,z.map&&(O.map.value=z.map),z.alphaMap&&(O.alphaMap.value=z.alphaMap);var se;z.map?se=z.map:z.alphaMap&&(se=z.alphaMap),se!==void 0&&(se.matrixAutoUpdate===!0&&se.updateMatrix(),O.uvTransform.value.copy(se.matrix))}function Nt(O,z){O.fogColor.value.copy(z.color),z.isFog?(O.fogNear.value=z.near,O.fogFar.value=z.far):z.isFogExp2&&(O.fogDensity.value=z.density)}function Ut(O,z){z.emissiveMap&&(O.emissiveMap.value=z.emissiveMap)}function Gn(O,z){O.specular.value.copy(z.specular),O.shininess.value=Math.max(z.shininess,1e-4),z.emissiveMap&&(O.emissiveMap.value=z.emissiveMap),z.bumpMap&&(O.bumpMap.value=z.bumpMap,O.bumpScale.value=z.bumpScale,z.side===Vn&&(O.bumpScale.value*=-1)),z.normalMap&&(O.normalMap.value=z.normalMap,O.normalScale.value.copy(z.normalScale),z.side===Vn&&O.normalScale.value.negate()),z.displacementMap&&(O.displacementMap.value=z.displacementMap,O.displacementScale.value=z.displacementScale,O.displacementBias.value=z.displacementBias)}function Hn(O,z){O.specular.value.copy(z.specular),O.shininess.value=Math.max(z.shininess,1e-4),z.gradientMap&&(O.gradientMap.value=z.gradientMap),z.emissiveMap&&(O.emissiveMap.value=z.emissiveMap),z.bumpMap&&(O.bumpMap.value=z.bumpMap,O.bumpScale.value=z.bumpScale,z.side===Vn&&(O.bumpScale.value*=-1)),z.normalMap&&(O.normalMap.value=z.normalMap,O.normalScale.value.copy(z.normalScale),z.side===Vn&&O.normalScale.value.negate()),z.displacementMap&&(O.displacementMap.value=z.displacementMap,O.displacementScale.value=z.displacementScale,O.displacementBias.value=z.displacementBias)}function sn(O,z,se){O.roughness.value=z.roughness,O.metalness.value=z.metalness,z.roughnessMap&&(O.roughnessMap.value=z.roughnessMap),z.metalnessMap&&(O.metalnessMap.value=z.metalnessMap),z.emissiveMap&&(O.emissiveMap.value=z.emissiveMap),z.bumpMap&&(O.bumpMap.value=z.bumpMap,O.bumpScale.value=z.bumpScale,z.side===Vn&&(O.bumpScale.value*=-1)),z.normalMap&&(O.normalMap.value=z.normalMap,O.normalScale.value.copy(z.normalScale),z.side===Vn&&O.normalScale.value.negate()),z.displacementMap&&(O.displacementMap.value=z.displacementMap,O.displacementScale.value=z.displacementScale,O.displacementBias.value=z.displacementBias),(z.envMap||se)&&(O.envMapIntensity.value=z.envMapIntensity)}function Un(O,z,se){sn(O,z,se),O.reflectivity.value=z.reflectivity,O.clearcoat.value=z.clearcoat,O.clearcoatRoughness.value=z.clearcoatRoughness,z.sheen&&O.sheen.value.copy(z.sheen),z.clearcoatNormalMap&&(O.clearcoatNormalScale.value.copy(z.clearcoatNormalScale),O.clearcoatNormalMap.value=z.clearcoatNormalMap,z.side===Vn&&O.clearcoatNormalScale.value.negate()),O.transparency.value=z.transparency}function Pn(O,z){z.matcap&&(O.matcap.value=z.matcap),z.bumpMap&&(O.bumpMap.value=z.bumpMap,O.bumpScale.value=z.bumpScale,z.side===Vn&&(O.bumpScale.value*=-1)),z.normalMap&&(O.normalMap.value=z.normalMap,O.normalScale.value.copy(z.normalScale),z.side===Vn&&O.normalScale.value.negate()),z.displacementMap&&(O.displacementMap.value=z.displacementMap,O.displacementScale.value=z.displacementScale,O.displacementBias.value=z.displacementBias)}function Er(O,z){z.displacementMap&&(O.displacementMap.value=z.displacementMap,O.displacementScale.value=z.displacementScale,O.displacementBias.value=z.displacementBias)}function Rt(O,z){z.displacementMap&&(O.displacementMap.value=z.displacementMap,O.displacementScale.value=z.displacementScale,O.displacementBias.value=z.displacementBias),O.referencePosition.value.copy(z.referencePosition),O.nearDistance.value=z.nearDistance,O.farDistance.value=z.farDistance}function Gt(O,z){z.bumpMap&&(O.bumpMap.value=z.bumpMap,O.bumpScale.value=z.bumpScale,z.side===Vn&&(O.bumpScale.value*=-1)),z.normalMap&&(O.normalMap.value=z.normalMap,O.normalScale.value.copy(z.normalScale),z.side===Vn&&O.normalScale.value.negate()),z.displacementMap&&(O.displacementMap.value=z.displacementMap,O.displacementScale.value=z.displacementScale,O.displacementBias.value=z.displacementBias)}function vr(O,z){O.ambientLightColor.needsUpdate=z,O.lightProbe.needsUpdate=z,O.directionalLights.needsUpdate=z,O.pointLights.needsUpdate=z,O.spotLights.needsUpdate=z,O.rectAreaLights.needsUpdate=z,O.hemisphereLights.needsUpdate=z}function Cr(O){return O.isMeshLambertMaterial||O.isMeshToonMaterial||O.isMeshPhongMaterial||O.isMeshStandardMaterial||O.isShadowMaterial||O.isShaderMaterial&&O.lights===!0}this.setFramebuffer=function(O){v!==O&&y===null&&Y.bindFramebuffer(36160,O),v=O},this.getActiveCubeFace=function(){return g},this.getActiveMipmapLevel=function(){return d},this.getRenderTarget=function(){return y},this.setRenderTarget=function(O,z,se){y=O,g=z,d=se,O&&Ce.get(O).__webglFramebuffer===void 0&&Ae.setupRenderTarget(O);var be=v,Ie=!1;if(O){var tt=Ce.get(O).__webglFramebuffer;O.isWebGLCubeRenderTarget?(be=tt[z||0],Ie=!0):O.isWebGLMultisampleRenderTarget?be=Ce.get(O).__webglMultisampledFramebuffer:be=tt,S.copy(O.viewport),T.copy(O.scissor),L=O.scissorTest}else S.copy(K).multiplyScalar(R).floor(),T.copy($).multiplyScalar(R).floor(),L=U;if(b!==be&&(Y.bindFramebuffer(36160,be),b=be),j.viewport(S),j.scissor(T),j.setScissorTest(L),Ie){var Ue=Ce.get(O.texture);Y.framebufferTexture2D(36160,36064,34069+(z||0),Ue.__webglTexture,se||0)}},this.readRenderTargetPixels=function(O,z,se,be,Ie,tt,Ue){if(!(O&&O.isWebGLRenderTarget)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");return}var ot=Ce.get(O).__webglFramebuffer;if(O.isWebGLCubeRenderTarget&&Ue!==void 0&&(ot=ot[Ue]),ot){var ze=!1;ot!==b&&(Y.bindFramebuffer(36160,ot),ze=!0);try{var Ze=O.texture,Mt=Ze.format,It=Ze.type;if(Mt!==Ai&&We.convert(Mt)!==Y.getParameter(35739)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");return}if(It!==dh&&We.convert(It)!==Y.getParameter(35738)&&!(It===Fu&&(Ee.isWebGL2||le.get("OES_texture_float")||le.get("WEBGL_color_buffer_float")))&&!(It===ym&&(Ee.isWebGL2?le.get("EXT_color_buffer_float"):le.get("EXT_color_buffer_half_float")))){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");return}Y.checkFramebufferStatus(36160)===36053?z>=0&&z<=O.width-be&&se>=0&&se<=O.height-Ie&&Y.readPixels(z,se,be,Ie,We.convert(Mt),We.convert(It),tt):console.error("THREE.WebGLRenderer.readRenderTargetPixels: readPixels from renderTarget failed. Framebuffer not complete.")}finally{ze&&Y.bindFramebuffer(36160,b)}}},this.copyFramebufferToTexture=function(O,z,se){se===void 0&&(se=0);var be=Math.pow(2,-se),Ie=Math.floor(z.image.width*be),tt=Math.floor(z.image.height*be),Ue=We.convert(z.format);Ae.setTexture2D(z,0),Y.copyTexImage2D(3553,se,Ue,O.x,O.y,Ie,tt,0),j.unbindTexture()},this.copyTextureToTexture=function(O,z,se,be){var Ie=z.image.width,tt=z.image.height,Ue=We.convert(se.format),ot=We.convert(se.type);Ae.setTexture2D(se,0),z.isDataTexture?Y.texSubImage2D(3553,be||0,O.x,O.y,Ie,tt,Ue,ot,z.image.data):Y.texSubImage2D(3553,be||0,O.x,O.y,Ue,ot,z.image),j.unbindTexture()},this.initTexture=function(O){Ae.setTexture2D(O,0),j.unbindTexture()},typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}function xd(i,e){this.name="",this.color=new Qe(i),this.density=e!==void 0?e:25e-5}Object.assign(xd.prototype,{isFogExp2:!0,clone:function(){return new xd(this.color,this.density)},toJSON:function(){return{type:"FogExp2",color:this.color.getHex(),density:this.density}}});function Td(i,e,t){this.name="",this.color=new Qe(i),this.near=e!==void 0?e:1,this.far=t!==void 0?t:1e3}Object.assign(Td.prototype,{isFog:!0,clone:function(){return new Td(this.color,this.near,this.far)},toJSON:function(){return{type:"Fog",color:this.color.getHex(),near:this.near,far:this.far}}});function Ba(i,e){this.array=i,this.stride=e,this.count=i!==void 0?i.length/e:0,this.usage=vh,this.updateRange={offset:0,count:-1},this.version=0}Object.defineProperty(Ba.prototype,"needsUpdate",{set:function(e){e===!0&&this.version++}});Object.assign(Ba.prototype,{isInterleavedBuffer:!0,onUploadCallback:function(){},setUsage:function(e){return this.usage=e,this},copy:function(e){return this.array=new e.array.constructor(e.array),this.count=e.count,this.stride=e.stride,this.usage=e.usage,this},copyAt:function(e,t,n){e*=this.stride,n*=t.stride;for(var r=0,a=this.stride;re.far||t.push({distance:u,point:cu.clone(),uv:qn.getUV(cu,rc,hu,ic,mg,lp,gg,new De),face:null,object:this})}},clone:function(){return new this.constructor(this.material).copy(this)},copy:function(e){return Xe.prototype.copy.call(this,e),e.center!==void 0&&this.center.copy(e.center),this}});function ac(i,e,t,n,r,a){eo.subVectors(i,t).addScalar(.5).multiply(n),r!==void 0?(fu.x=a*eo.x-r*eo.y,fu.y=r*eo.x+a*eo.y):fu.copy(eo),i.copy(e),i.x+=fu.x,i.y+=fu.y,i.applyMatrix4($b)}var sc=new J,yg=new J;function mf(){Xe.call(this),this.type="LOD",Object.defineProperties(this,{levels:{enumerable:!0,value:[]}}),this.autoUpdate=!0}mf.prototype=Object.assign(Object.create(Xe.prototype),{constructor:mf,isLOD:!0,copy:function(e){Xe.prototype.copy.call(this,e,!1);for(var t=e.levels,n=0,r=t.length;n0){for(var n=1,r=t.length;n0){sc.setFromMatrixPosition(this.matrixWorld);var r=e.ray.origin.distanceTo(sc);this.getObjectForDistance(r).raycast(e,t)}},update:function(e){var t=this.levels;if(t.length>1){sc.setFromMatrixPosition(e.matrixWorld),yg.setFromMatrixPosition(this.matrixWorld);var n=sc.distanceTo(yg);t[0].object.visible=!0;for(var r=1,a=t.length;r=t[r].distance;r++)t[r-1].object.visible=!1,t[r].object.visible=!0;for(;r0&&(to[0].instanceId=a,to[0].object=this,t.push(to[0]),to.length=0)},setMatrixAt:function(e,t){t.toArray(this.instanceMatrix.array,e*16)},updateMorphTargets:function(){}});function xn(i){mt.call(this),this.type="LineBasicMaterial",this.color=new Qe(16777215),this.linewidth=1,this.linecap="round",this.linejoin="round",this.setValues(i)}xn.prototype=Object.create(mt.prototype);xn.prototype.constructor=xn;xn.prototype.isLineBasicMaterial=!0;xn.prototype.copy=function(i){return mt.prototype.copy.call(this,i),this.color.copy(i.color),this.linewidth=i.linewidth,this.linecap=i.linecap,this.linejoin=i.linejoin,this};var Cg=new J,Sg=new J,Ag=new Ft,oc=new eu,uc=new Wa;function Zr(i,e,t){t===1&&console.error("THREE.Line: parameter THREE.LinePieces no longer supported. Use THREE.LineSegments instead."),Xe.call(this),this.type="Line",this.geometry=i!==void 0?i:new nt,this.material=e!==void 0?e:new xn}Zr.prototype=Object.assign(Object.create(Xe.prototype),{constructor:Zr,isLine:!0,computeLineDistances:function(){var e=this.geometry;if(e.isBufferGeometry)if(e.index===null){for(var t=e.attributes.position,n=[0],r=1,a=t.count;ro)){f.applyMatrix4(this.matrixWorld);var E=e.ray.origin.distanceTo(f);Ee.far||t.push({distance:E,point:c.clone().applyMatrix4(this.matrixWorld),index:d,face:null,faceIndex:null,object:this})}}else for(var d=0,y=v.length/3-1;do)){f.applyMatrix4(this.matrixWorld);var E=e.ray.origin.distanceTo(f);Ee.far||t.push({distance:E,point:c.clone().applyMatrix4(this.matrixWorld),index:d,face:null,faceIndex:null,object:this})}}}else if(r.isGeometry)for(var x=r.vertices,S=x.length,d=0;do)){f.applyMatrix4(this.matrixWorld);var E=e.ray.origin.distanceTo(f);Ee.far||t.push({distance:E,point:c.clone().applyMatrix4(this.matrixWorld),index:d,face:null,faceIndex:null,object:this})}}}},clone:function(){return new this.constructor(this.geometry,this.material).copy(this)}});var lc=new J,cc=new J;function In(i,e){Zr.call(this,i,e),this.type="LineSegments"}In.prototype=Object.assign(Object.create(Zr.prototype),{constructor:In,isLineSegments:!0,computeLineDistances:function(){var e=this.geometry;if(e.isBufferGeometry)if(e.index===null){for(var t=e.attributes.position,n=[],r=0,a=t.count;r0){var o=a[s[0]];if(o!==void 0)for(this.morphTargetInfluences=[],this.morphTargetDictionary={},t=0,n=o.length;t0&&console.error("THREE.Points.updateMorphTargets() does not support THREE.Geometry. Use THREE.BufferGeometry instead.")}},clone:function(){return new this.constructor(this.geometry,this.material).copy(this)}});function cp(i,e,t,n,r,a,s){var o=Pd.distanceSqToPoint(i);if(or.far)return;a.push({distance:l,distanceToRay:Math.sqrt(o),point:u,index:e,face:null,object:s})}}function Tg(i,e,t,n,r,a,s,o,u){Qt.call(this,i,e,t,n,r,a,s,o,u),this.format=s!==void 0?s:gs,this.minFilter=a!==void 0?a:Nn,this.magFilter=r!==void 0?r:Nn,this.generateMipmaps=!1}Tg.prototype=Object.assign(Object.create(Qt.prototype),{constructor:Tg,isVideoTexture:!0,update:function(){var e=this.image;e.readyState>=e.HAVE_CURRENT_DATA&&(this.needsUpdate=!0)}});function Wu(i,e,t,n,r,a,s,o,u,l,c,f){Qt.call(this,null,a,s,o,u,l,n,r,c,f),this.image={width:e,height:t},this.mipmaps=i,this.flipY=!1,this.generateMipmaps=!1}Wu.prototype=Object.create(Qt.prototype);Wu.prototype.constructor=Wu;Wu.prototype.isCompressedTexture=!0;function yf(i,e,t,n,r,a,s,o,u){Qt.call(this,i,e,t,n,r,a,s,o,u),this.needsUpdate=!0}yf.prototype=Object.create(Qt.prototype);yf.prototype.constructor=yf;yf.prototype.isCanvasTexture=!0;function bf(i,e,t,n,r,a,s,o,u,l){if(l=l!==void 0?l:go,l!==go&&l!==Ru)throw new Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");t===void 0&&l===go&&(t=lf),t===void 0&&l===Ru&&(t=cf),Qt.call(this,null,n,r,a,s,o,l,t,u),this.image={width:i,height:e},this.magFilter=s!==void 0?s:kn,this.minFilter=o!==void 0?o:kn,this.flipY=!1,this.generateMipmaps=!1}bf.prototype=Object.create(Qt.prototype);bf.prototype.constructor=bf;bf.prototype.isDepthTexture=!0;function wf(i){nt.call(this),this.type="WireframeGeometry";var e=[],t,n,r,a,s,o=[0,0],u={},l,c,f,h,p=["a","b","c"],m;if(i&&i.isGeometry){var v=i.faces;for(t=0,r=v.length;t=0?(i(d-o,g,c),f.subVectors(l,c)):(i(d+o,g,c),f.subVectors(c,l)),g-o>=0?(i(d,g-o,c),h.subVectors(l,c)):(i(d,g+o,c),h.subVectors(c,l)),u.crossVectors(f,h).normalize(),a.push(u.x,u.y,u.z),s.push(d,g)}}for(p=0;p.9&&E<.1&&(y<.2&&(a[d+0]+=1),b<.2&&(a[d+2]+=1),_<.2&&(a[d+4]+=1))}}function f(d){r.push(d.x,d.y,d.z)}function h(d,y){var b=d*3;y.x=i[b+0],y.y=i[b+1],y.z=i[b+2]}function p(){for(var d=new J,y=new J,b=new J,_=new J,w=new De,E=new De,x=new De,S=0,T=0;S80*n){u=c=e[0],l=f=e[1];for(var v=n;vc&&(c=h),p>f&&(f=p);m=Math.max(c-u,f-l),m=m!==0?1/m:0}return Zu(s,o,n,u,l,m),o}};function Qb(i,e,t,n,r){var a,s;if(r===_D(i,e,t,n)>0)for(a=e;a=e;a-=n)s=Dg(a,i[a],i[a+1],s);return s&&cs(s,s.next)&&($u(s),s=s.next),s}function qu(i,e){if(!i)return i;e||(e=i);var t=i,n;do if(n=!1,!t.steiner&&(cs(t,t.next)||Zn(t.prev,t,t.next)===0)){if($u(t),t=e=t.prev,t===t.next)break;n=!0}else t=t.next;while(n||t!==e);return e}function Zu(i,e,t,n,r,a,s){if(i){!s&&a&&vD(i,n,r,a);for(var o=i,u,l;i.prev!==i.next;){if(u=i.prev,l=i.next,a?uD(i,n,r,a):oD(i)){e.push(u.i/t),e.push(i.i/t),e.push(l.i/t),$u(i),i=l.next,o=l.next;continue}if(i=l,i===o){s?s===1?(i=lD(i,e,t),Zu(i,e,t,n,r,a,2)):s===2&&cD(i,e,t,n,r,a):Zu(qu(i),e,t,n,r,a,1);break}}}}function oD(i){var e=i.prev,t=i,n=i.next;if(Zn(e,t,n)>=0)return!1;for(var r=i.next.next;r!==i.prev;){if(co(e.x,e.y,t.x,t.y,n.x,n.y,r.x,r.y)&&Zn(r.prev,r,r.next)>=0)return!1;r=r.next}return!0}function uD(i,e,t,n){var r=i.prev,a=i,s=i.next;if(Zn(r,a,s)>=0)return!1;for(var o=r.xa.x?r.x>s.x?r.x:s.x:a.x>s.x?a.x:s.x,c=r.y>a.y?r.y>s.y?r.y:s.y:a.y>s.y?a.y:s.y,f=Rd(o,u,e,t,n),h=Rd(l,c,e,t,n),p=i.prevZ,m=i.nextZ;p&&p.z>=f&&m&&m.z<=h;){if(p!==i.prev&&p!==i.next&&co(r.x,r.y,a.x,a.y,s.x,s.y,p.x,p.y)&&Zn(p.prev,p,p.next)>=0||(p=p.prevZ,m!==i.prev&&m!==i.next&&co(r.x,r.y,a.x,a.y,s.x,s.y,m.x,m.y)&&Zn(m.prev,m,m.next)>=0))return!1;m=m.nextZ}for(;p&&p.z>=f;){if(p!==i.prev&&p!==i.next&&co(r.x,r.y,a.x,a.y,s.x,s.y,p.x,p.y)&&Zn(p.prev,p,p.next)>=0)return!1;p=p.prevZ}for(;m&&m.z<=h;){if(m!==i.prev&&m!==i.next&&co(r.x,r.y,a.x,a.y,s.x,s.y,m.x,m.y)&&Zn(m.prev,m,m.next)>=0)return!1;m=m.nextZ}return!0}function lD(i,e,t){var n=i;do{var r=n.prev,a=n.next.next;!cs(r,a)&&ew(r,n,n.next,a)&&Ju(r,a)&&Ju(a,r)&&(e.push(r.i/t),e.push(n.i/t),e.push(a.i/t),$u(n),$u(n.next),n=i=a),n=n.next}while(n!==i);return n}function cD(i,e,t,n,r,a){var s=i;do{for(var o=s.next.next;o!==s.prev;){if(s.i!==o.i&&yD(s,o)){var u=tw(s,o);s=qu(s,s.next),u=qu(u,u.next),Zu(s,e,t,n,r,a),Zu(u,e,t,n,r,a);return}o=o.next}s=s.next}while(s!==i)}function fD(i,e,t,n){var r=[],a,s,o,u,l;for(a=0,s=e.length;a=t.next.y&&t.next.y!==t.y){var o=t.x+(r-t.y)*(t.next.x-t.x)/(t.next.y-t.y);if(o<=n&&o>a){if(a=o,o===n){if(r===t.y)return t;if(r===t.next.y)return t.next}s=t.x=t.x&&t.x>=l&&n!==t.x&&co(rs.x)&&Ju(t,i)&&(s=t,f=h)),t=t.next;return s}function vD(i,e,t,n){var r=i;do r.z===null&&(r.z=Rd(r.x,r.y,e,t,n)),r.prevZ=r.prev,r.nextZ=r.next,r=r.next;while(r!==i);r.prevZ.nextZ=null,r.prevZ=null,mD(r)}function mD(i){var e,t,n,r,a,s,o,u,l=1;do{for(t=i,i=null,a=null,s=0;t;){for(s++,n=t,o=0,e=0;e0||u>0&&n;)o!==0&&(u===0||!n||t.z<=n.z)?(r=t,t=t.nextZ,o--):(r=n,n=n.nextZ,u--),a?a.nextZ=r:i=r,r.prevZ=a,a=r;t=n}a.nextZ=null,l*=2}while(s>1);return i}function Rd(i,e,t,n,r){return i=32767*(i-t)*r,e=32767*(e-n)*r,i=(i|i<<8)&16711935,i=(i|i<<4)&252645135,i=(i|i<<2)&858993459,i=(i|i<<1)&1431655765,e=(e|e<<8)&16711935,e=(e|e<<4)&252645135,e=(e|e<<2)&858993459,e=(e|e<<1)&1431655765,i|e<<1}function gD(i){var e=i,t=i;do(e.x=0&&(i-s)*(n-o)-(t-s)*(e-o)>=0&&(t-s)*(a-o)-(r-s)*(n-o)>=0}function yD(i,e){return i.next.i!==e.i&&i.prev.i!==e.i&&!bD(i,e)&&Ju(i,e)&&Ju(e,i)&&wD(i,e)}function Zn(i,e,t){return(e.y-i.y)*(t.x-e.x)-(e.x-i.x)*(t.y-e.y)}function cs(i,e){return i.x===e.x&&i.y===e.y}function ew(i,e,t,n){return cs(i,t)&&cs(e,n)||cs(i,n)&&cs(t,e)?!0:Zn(i,e,t)>0!=Zn(i,e,n)>0&&Zn(t,n,i)>0!=Zn(t,n,e)>0}function bD(i,e){var t=i;do{if(t.i!==i.i&&t.next.i!==i.i&&t.i!==e.i&&t.next.i!==e.i&&ew(t,t.next,i,e))return!0;t=t.next}while(t!==i);return!1}function Ju(i,e){return Zn(i.prev,i,i.next)<0?Zn(i,e,i.next)>=0&&Zn(i,i.prev,e)>=0:Zn(i,e,i.prev)<0||Zn(i,i.next,e)<0}function wD(i,e){var t=i,n=!1,r=(i.x+e.x)/2,a=(i.y+e.y)/2;do t.y>a!=t.next.y>a&&t.next.y!==t.y&&r<(t.next.x-t.x)*(a-t.y)/(t.next.y-t.y)+t.x&&(n=!n),t=t.next;while(t!==i);return n}function tw(i,e){var t=new Ld(i.i,i.x,i.y),n=new Ld(e.i,e.x,e.y),r=i.next,a=e.prev;return i.next=e,e.prev=i,t.next=r,r.prev=t,n.next=t,t.prev=n,a.next=n,n.prev=a,n}function Dg(i,e,t,n){var r=new Ld(i,e,t);return n?(r.next=n.next,r.prev=n,n.next.prev=r,n.next=r):(r.prev=r,r.next=r),r}function $u(i){i.next.prev=i.prev,i.prev.next=i.next,i.prevZ&&(i.prevZ.nextZ=i.nextZ),i.nextZ&&(i.nextZ.prevZ=i.prevZ)}function Ld(i,e,t){this.i=i,this.x=e,this.y=t,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function _D(i,e,t,n){for(var r=0,a=e,s=t-n;a2&&i[e-1].equals(i[0])&&i.pop()}function Mg(i,e){for(var t=0;tNumber.EPSILON){var ft=Math.sqrt(He),bt=Math.sqrt(we*we+Te*Te),lt=C.x-ve/ft,At=C.y+ae/ft,dt=A.x-Te/bt,en=A.y+we/bt,et=((dt-lt)*Te-(en-At)*we)/(ae*Te-ve*we);G=lt+ae*et-M.x,I=At+ve*et-M.y;var Je=G*G+I*I;if(Je<=2)return new De(G,I);te=Math.sqrt(Je/2)}else{var $e=!1;ae>Number.EPSILON?we>Number.EPSILON&&($e=!0):ae<-Number.EPSILON?we<-Number.EPSILON&&($e=!0):Math.sign(ve)===Math.sign(Te)&&($e=!0),$e?(G=-ve,I=ae,te=Math.sqrt(He)):(G=ae,I=ve,te=Math.sqrt(He/2))}return new De(G/te,I/te)}for(var j=[],ce=0,Ce=N.length,Ae=Ce-1,ke=ce+1;ce=0;D--){for(V=D/y,Q=v*Math.cos(V*Math.PI/2),q=g*Math.sin(V*Math.PI/2)+d,ce=0,Ce=N.length;ce=0;){A=ce,G=ce-1,G<0&&(G=M.length-1);var I=0,te=h+y*2;for(I=0;I0)&&m.push(E,x,T),(l!==t-1||o0&&y(!0),e>0&&y(!1)),this.setIndex(l),this.setAttribute("position",new Ke(c,3)),this.setAttribute("normal",new Ke(f,3)),this.setAttribute("uv",new Ke(h,2));function d(){var b,_,w=new J,E=new J,x=0,S=(e-i)/t;for(_=0;_<=r;_++){var T=[],L=_/r,B=L*(e-i)+i;for(b=0;b<=n;b++){var k=b/n,R=k*o+s,F=Math.sin(R),W=Math.cos(R);E.x=B*F,E.y=-L*t+v,E.z=B*W,c.push(E.x,E.y,E.z),w.set(F,S,W).normalize(),f.push(w.x,w.y,w.z),h.push(k,1-L),T.push(p++)}m.push(T)}for(b=0;b=r)){f.push(l.times[p]);for(var v=0;vs.tracks[u].times[0]&&(g=s.tracks[u].times[0]);for(var u=0;u=a)){var u=t[1];e=a)break t}s=n,n=0;break n}break e}for(;n>>1;et;)--s;if(++s,a!==0||s!==r){a>=s&&(s=Math.max(s,1),a=s-1);var o=this.getValueSize();this.times=Sn.arraySlice(n,a,s),this.values=Sn.arraySlice(this.values,a*o,s*o)}return this},validate:function(){var e=!0,t=this.getValueSize();t-Math.floor(t)!==0&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),e=!1);var n=this.times,r=this.values,a=n.length;a===0&&(console.error("THREE.KeyframeTrack: Track is empty.",this),e=!1);for(var s=null,o=0;o!==a;o++){var u=n[o];if(typeof u=="number"&&isNaN(u)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,o,u),e=!1;break}if(s!==null&&s>u){console.error("THREE.KeyframeTrack: Out of order keys.",this,o,u,s),e=!1;break}s=u}if(r!==void 0&&Sn.isTypedArray(r))for(var o=0,l=r.length;o!==l;++o){var c=r[o];if(isNaN(c)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,o,c),e=!1;break}}return e},optimize:function(){for(var e=Sn.arraySlice(this.times),t=Sn.arraySlice(this.values),n=this.getValueSize(),r=this.getInterpolation()===Vh,a=1,s=e.length-1,o=1;o0){e[a]=e[s];for(var g=s*n,d=a*n,m=0;m!==n;++m)t[d+m]=t[g+m];++a}return a!==e.length?(this.times=Sn.arraySlice(e,0,a),this.values=Sn.arraySlice(t,0,a*n)):(this.times=e,this.values=t),this},clone:function(){var e=Sn.arraySlice(this.times,0),t=Sn.arraySlice(this.values,0),n=this.constructor,r=new n(this.name,e,t);return r.createInterpolant=this.createInterpolant,r}});function Nd(i,e,t){sr.call(this,i,e,t)}Nd.prototype=Object.assign(Object.create(sr.prototype),{constructor:Nd,ValueTypeName:"bool",ValueBufferType:Array,DefaultInterpolation:ff,InterpolantFactoryMethodLinear:void 0,InterpolantFactoryMethodSmooth:void 0});function Gd(i,e,t,n){sr.call(this,i,e,t,n)}Gd.prototype=Object.assign(Object.create(sr.prototype),{constructor:Gd,ValueTypeName:"color"});function rl(i,e,t,n){sr.call(this,i,e,t,n)}rl.prototype=Object.assign(Object.create(sr.prototype),{constructor:rl,ValueTypeName:"number"});function Ud(i,e,t,n){Xr.call(this,i,e,t,n)}Ud.prototype=Object.assign(Object.create(Xr.prototype),{constructor:Ud,interpolate_:function(e,t,n,r){for(var a=this.resultBuffer,s=this.sampleValues,o=this.valueSize,u=e*o,l=(n-t)/(r-t),c=u+o;u!==c;u+=4)_r.slerpFlat(a,0,s,u-o,s,u,l);return a}});function Gf(i,e,t,n){sr.call(this,i,e,t,n)}Gf.prototype=Object.assign(Object.create(sr.prototype),{constructor:Gf,ValueTypeName:"quaternion",DefaultInterpolation:kc,InterpolantFactoryMethodLinear:function(e){return new Ud(this.times,this.values,this.getValueSize(),e)},InterpolantFactoryMethodSmooth:void 0});function Vd(i,e,t,n){sr.call(this,i,e,t,n)}Vd.prototype=Object.assign(Object.create(sr.prototype),{constructor:Vd,ValueTypeName:"string",ValueBufferType:Array,DefaultInterpolation:ff,InterpolantFactoryMethodLinear:void 0,InterpolantFactoryMethodSmooth:void 0});function il(i,e,t,n){sr.call(this,i,e,t,n)}il.prototype=Object.assign(Object.create(sr.prototype),{constructor:il,ValueTypeName:"vector"});function oi(i,e,t){this.name=i,this.tracks=t,this.duration=e!==void 0?e:-1,this.uuid=kt.generateUUID(),this.duration<0&&this.resetDuration()}function SD(i){switch(i.toLowerCase()){case"scalar":case"double":case"float":case"number":case"integer":return rl;case"vector":case"vector2":case"vector3":case"vector4":return il;case"color":return Gd;case"quaternion":return Gf;case"bool":case"boolean":return Nd;case"string":return Vd}throw new Error("THREE.KeyframeTrack: Unsupported typeName: "+i)}function AD(i){if(i.type===void 0)throw new Error("THREE.KeyframeTrack: track type undefined, can not parse");var e=SD(i.type);if(i.times===void 0){var t=[],n=[];Sn.flattenJSON(i.keys,t,n,"value"),i.times=t,i.values=n}return e.parse!==void 0?e.parse(i):new e(i.name,i.times,i.values,i.interpolation)}Object.assign(oi,{parse:function(e){for(var t=[],n=e.tracks,r=1/(e.fps||1),a=0,s=n.length;a!==s;++a)t.push(AD(n[a]).scale(r));return new oi(e.name,e.duration,t)},toJSON:function(e){for(var t=[],n=e.tracks,r={name:e.name,duration:e.duration,tracks:t,uuid:e.uuid},a=0,s=n.length;a!==s;++a)t.push(sr.toJSON(n[a]));return r},CreateFromMorphTargetSequence:function(e,t,n,r){for(var a=t.length,s=[],o=0;o1){var c=l[1],f=r[c];f||(r[c]=f=[]),f.push(u)}}var h=[];for(var c in r)h.push(oi.CreateFromMorphTargetSequence(c,r[c],t,n));return h},parseAnimation:function(e,t){if(!e)return console.error("THREE.AnimationClip: No animation in JSONLoader data."),null;for(var n=function(w,E,x,S,T){if(x.length!==0){var L=[],B=[];Sn.flattenJSON(x,L,B,S),L.length!==0&&T.push(new w(E,L,B))}},r=[],a=e.name||"default",s=e.length||-1,o=e.fps||30,u=e.hierarchy||[],l=0;l0||e.search(/^data\:image\/jpeg/)===0;a.format=u?gs:Ai,a.needsUpdate=!0,t!==void 0&&t(a)},n,r),a}});function ct(){this.type="Curve",this.arcLengthDivisions=200}Object.assign(ct.prototype,{getPoint:function(){return console.warn("THREE.Curve: .getPoint() not implemented."),null},getPointAt:function(e,t){var n=this.getUtoTmapping(e);return this.getPoint(n,t)},getPoints:function(e){e===void 0&&(e=5);for(var t=[],n=0;n<=e;n++)t.push(this.getPoint(n/e));return t},getSpacedPoints:function(e){e===void 0&&(e=5);for(var t=[],n=0;n<=e;n++)t.push(this.getPointAt(n/e));return t},getLength:function(){var e=this.getLengths();return e[e.length-1]},getLengths:function(e){if(e===void 0&&(e=this.arcLengthDivisions),this.cacheArcLengths&&this.cacheArcLengths.length===e+1&&!this.needsUpdate)return this.cacheArcLengths;this.needsUpdate=!1;var t=[],n,r=this.getPoint(0),a,s=0;for(t.push(0),a=1;a<=e;a++)n=this.getPoint(a/e),s+=n.distanceTo(r),t.push(s),r=n;return this.cacheArcLengths=t,t},updateArcLengths:function(){this.needsUpdate=!0,this.getLengths()},getUtoTmapping:function(e,t){var n=this.getLengths(),r=0,a=n.length,s;t?s=t:s=e*n[a-1];for(var o=0,u=a-1,l;o<=u;)if(r=Math.floor(o+(u-o)/2),l=n[r]-s,l<0)o=r+1;else if(l>0)u=r-1;else{u=r;break}if(r=u,n[r]===s)return r/(a-1);var c=n[r],f=n[r+1],h=f-c,p=(s-c)/h,m=(r+p)/(a-1);return m},getTangent:function(e){var t=1e-4,n=e-t,r=e+t;n<0&&(n=0),r>1&&(r=1);var a=this.getPoint(n),s=this.getPoint(r),o=s.clone().sub(a);return o.normalize()},getTangentAt:function(e){var t=this.getUtoTmapping(e);return this.getTangent(t)},computeFrenetFrames:function(e,t){var n=new J,r=[],a=[],s=[],o=new J,u=new Ft,l,c,f;for(l=0;l<=e;l++)c=l/e,r[l]=this.getTangentAt(c),r[l].normalize();a[0]=new J,s[0]=new J;var h=Number.MAX_VALUE,p=Math.abs(r[0].x),m=Math.abs(r[0].y),v=Math.abs(r[0].z);for(p<=h&&(h=p,n.set(1,0,0)),m<=h&&(h=m,n.set(0,1,0)),v<=h&&n.set(0,0,1),o.crossVectors(r[0],n).normalize(),a[0].crossVectors(r[0],o),s[0].crossVectors(r[0],a[0]),l=1;l<=e;l++)a[l]=a[l-1].clone(),s[l]=s[l-1].clone(),o.crossVectors(r[l-1],r[l]),o.length()>Number.EPSILON&&(o.normalize(),f=Math.acos(kt.clamp(r[l-1].dot(r[l]),-1,1)),a[l].applyMatrix4(u.makeRotationAxis(o,f))),s[l].crossVectors(r[l],a[l]);if(t===!0)for(f=Math.acos(kt.clamp(a[0].dot(a[e]),-1,1)),f/=e,r[0].dot(o.crossVectors(a[0],a[e]))>0&&(f=-f),l=1;l<=e;l++)a[l].applyMatrix4(u.makeRotationAxis(r[l],f*l)),s[l].crossVectors(r[l],a[l]);return{tangents:r,normals:a,binormals:s}},clone:function(){return new this.constructor().copy(this)},copy:function(e){return this.arcLengthDivisions=e.arcLengthDivisions,this},toJSON:function(){var e={metadata:{version:4.5,type:"Curve",generator:"Curve.toJSON"}};return e.arcLengthDivisions=this.arcLengthDivisions,e.type=this.type,e},fromJSON:function(e){return this.arcLengthDivisions=e.arcLengthDivisions,this}});function Jr(i,e,t,n,r,a,s,o){ct.call(this),this.type="EllipseCurve",this.aX=i||0,this.aY=e||0,this.xRadius=t||1,this.yRadius=n||1,this.aStartAngle=r||0,this.aEndAngle=a||2*Math.PI,this.aClockwise=s||!1,this.aRotation=o||0}Jr.prototype=Object.create(ct.prototype);Jr.prototype.constructor=Jr;Jr.prototype.isEllipseCurve=!0;Jr.prototype.getPoint=function(i,e){for(var t=e||new De,n=Math.PI*2,r=this.aEndAngle-this.aStartAngle,a=Math.abs(r)n;)r-=n;r0?0:(Math.floor(Math.abs(s)/r)+1)*r:o===0&&s===r-1&&(s=r-2,o=1);var u,l,c,f;if(this.closed||s>0?u=n[(s-1)%r]:(pc.subVectors(n[0],n[1]).add(n[0]),u=pc),l=n[s%r],c=n[(s+1)%r],this.closed||s+2n.length-2?n.length-1:a+1],c=n[a>n.length-3?n.length-1:a+2];return t.set(Fg(s,o.x,u.x,l.x,c.x),Fg(s,o.y,u.y,l.y,c.y)),t};Mi.prototype.copy=function(i){ct.prototype.copy.call(this,i),this.points=[];for(var e=0,t=i.points.length;e=t){var a=n[r]-t,s=this.curves[r],o=s.getLength(),u=o===0?0:1-a/o;return s.getPointAt(u)}r++}return null},getLength:function(){var e=this.getCurveLengths();return e[e.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 e=[],t=0,n=0,r=this.curves.length;n1&&!t[t.length-1].equals(t[0])&&t.push(t[0]),t},copy:function(e){ct.prototype.copy.call(this,e),this.curves=[];for(var t=0,n=e.curves.length;t0){var c=l.getPoint(0);c.equals(this.currentPoint)||this.lineTo(c.x,c.y)}this.curves.push(l);var f=l.getPoint(1);return this.currentPoint.copy(f),this},copy:function(e){return Ta.prototype.copy.call(this,e),this.currentPoint.copy(e.currentPoint),this},toJSON:function(){var e=Ta.prototype.toJSON.call(this);return e.currentPoint=this.currentPoint.toArray(),e},fromJSON:function(e){return Ta.prototype.fromJSON.call(this,e),this.currentPoint.fromArray(e.currentPoint),this}});function hs(i){_i.call(this,i),this.uuid=kt.generateUUID(),this.type="Shape",this.holes=[]}hs.prototype=Object.assign(Object.create(_i.prototype),{constructor:hs,getPointsHoles:function(e){for(var t=[],n=0,r=this.holes.length;n0){var s=new iw(t),o=new al(s);o.setCrossOrigin(this.crossOrigin);for(var u=0,l=e.length;u0?r=new gf(o,u):r=new pn(o,u);break;case"InstancedMesh":var o=a(e.geometry),u=s(e.material),l=e.count,c=e.instanceMatrix;r=new Md(o,u,l),r.instanceMatrix=new gt(new Float32Array(c.array),16);break;case"LOD":r=new mf;break;case"Line":r=new Zr(a(e.geometry),s(e.material),e.mode);break;case"LineLoop":r=new Id(a(e.geometry),s(e.material));break;case"LineSegments":r=new In(a(e.geometry),s(e.material));break;case"PointCloud":case"Points":r=new Fd(a(e.geometry),s(e.material));break;case"Sprite":r=new Dd(s(e.material));break;case"Group":r=new Vu;break;default:r=new Xe}if(r.uuid=e.uuid,e.name!==void 0&&(r.name=e.name),e.matrix!==void 0?(r.matrix.fromArray(e.matrix),e.matrixAutoUpdate!==void 0&&(r.matrixAutoUpdate=e.matrixAutoUpdate),r.matrixAutoUpdate&&r.matrix.decompose(r.position,r.quaternion,r.scale)):(e.position!==void 0&&r.position.fromArray(e.position),e.rotation!==void 0&&r.rotation.fromArray(e.rotation),e.quaternion!==void 0&&r.quaternion.fromArray(e.quaternion),e.scale!==void 0&&r.scale.fromArray(e.scale)),e.castShadow!==void 0&&(r.castShadow=e.castShadow),e.receiveShadow!==void 0&&(r.receiveShadow=e.receiveShadow),e.shadow&&(e.shadow.bias!==void 0&&(r.shadow.bias=e.shadow.bias),e.shadow.radius!==void 0&&(r.shadow.radius=e.shadow.radius),e.shadow.mapSize!==void 0&&r.shadow.mapSize.fromArray(e.shadow.mapSize),e.shadow.camera!==void 0&&(r.shadow.camera=this.parseObject(e.shadow.camera))),e.visible!==void 0&&(r.visible=e.visible),e.frustumCulled!==void 0&&(r.frustumCulled=e.frustumCulled),e.renderOrder!==void 0&&(r.renderOrder=e.renderOrder),e.userData!==void 0&&(r.userData=e.userData),e.layers!==void 0&&(r.layers.mask=e.layers),e.children!==void 0)for(var f=e.children,h=0;h"u"&&console.warn("THREE.ImageBitmapLoader: createImageBitmap() not supported."),typeof fetch>"u"&&console.warn("THREE.ImageBitmapLoader: fetch() not supported."),Kt.call(this,i),this.options=void 0}Bg.prototype=Object.assign(Object.create(Kt.prototype),{constructor:Bg,setOptions:function(e){return this.options=e,this},load:function(e,t,n,r){e===void 0&&(e=""),this.path!==void 0&&(e=this.path+e),e=this.manager.resolveURL(e);var a=this,s=Yo.get(e);if(s!==void 0)return a.manager.itemStart(e),setTimeout(function(){t&&t(s),a.manager.itemEnd(e)},0),s;fetch(e).then(function(o){return o.blob()}).then(function(o){return a.options===void 0?createImageBitmap(o):createImageBitmap(o,a.options)}).then(function(o){Yo.add(e,o),t&&t(o),a.manager.itemEnd(e)}).catch(function(o){r&&r(o),a.manager.itemError(e),a.manager.itemEnd(e)}),a.manager.itemStart(e)}});function sw(){this.type="ShapePath",this.color=new Qe,this.subPaths=[],this.currentPath=null}Object.assign(sw.prototype,{moveTo:function(e,t){return this.currentPath=new _i,this.subPaths.push(this.currentPath),this.currentPath.moveTo(e,t),this},lineTo:function(e,t){return this.currentPath.lineTo(e,t),this},quadraticCurveTo:function(e,t,n,r){return this.currentPath.quadraticCurveTo(e,t,n,r),this},bezierCurveTo:function(e,t,n,r,a,s){return this.currentPath.bezierCurveTo(e,t,n,r,a,s),this},splineThru:function(e){return this.currentPath.splineThru(e),this},toShapes:function(e,t){function n(K){for(var $=[],U=0,N=K.length;UNumber.EPSILON){if(Z<0&&(q=$[D],Q=-Q,V=$[P],Z=-Z),K.yV.y)continue;if(K.y===q.y){if(K.x===q.x)return!0}else{var Y=Z*(K.x-q.x)-Q*(K.y-q.y);if(Y===0)return!0;if(Y<0)continue;N=!N}}else{if(K.y!==q.y)continue;if(V.x<=K.x&&K.x<=q.x||q.x<=K.x&&K.x<=V.x)return!0}}return N}var a=Ia.isClockWise,s=this.subPaths;if(s.length===0)return[];if(t===!0)return n(s);var o,u,l,c=[];if(s.length===1)return u=s[0],l=new hs,l.curves=u.curves,c.push(l),c;var f=!a(s[0].getPoints());f=e?!f:f;var h=[],p=[],m=[],v=0,g;p[v]=void 0,m[v]=[];for(var d=0,y=s.length;d1){for(var b=!1,_=[],w=0,E=p.length;w0&&(b||(m=h))}for(var k,d=0,R=p.length;d"u"?Date:performance).now(),this.oldTime=this.startTime,this.elapsedTime=0,this.running=!0},stop:function(){this.getElapsedTime(),this.running=!1,this.autoStart=!1},getElapsedTime:function(){return this.getDelta(),this.elapsedTime},getDelta:function(){var e=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){var t=(typeof performance>"u"?Date:performance).now();e=(t-this.oldTime)/1e3,this.oldTime=t,this.elapsedTime+=e}return e}});var is=new J,Wg=new _r,ND=new J,as=new J;function zg(){Xe.call(this),this.type="AudioListener",this.context=uw.getContext(),this.gain=this.context.createGain(),this.gain.connect(this.context.destination),this.filter=null,this.timeDelta=0,this._clock=new lw}zg.prototype=Object.assign(Object.create(Xe.prototype),{constructor:zg,getInput:function(){return this.gain},removeFilter:function(){return this.filter!==null&&(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination),this.gain.connect(this.context.destination),this.filter=null),this},getFilter:function(){return this.filter},setFilter:function(e){return this.filter!==null?(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination)):this.gain.disconnect(this.context.destination),this.filter=e,this.gain.connect(this.filter),this.filter.connect(this.context.destination),this},getMasterVolume:function(){return this.gain.gain.value},setMasterVolume:function(e){return this.gain.gain.setTargetAtTime(e,this.context.currentTime,.01),this},updateMatrixWorld:function(e){Xe.prototype.updateMatrixWorld.call(this,e);var t=this.context.listener,n=this.up;if(this.timeDelta=this._clock.getDelta(),this.matrixWorld.decompose(is,Wg,ND),as.set(0,0,-1).applyQuaternion(Wg),t.positionX){var r=this.context.currentTime+this.timeDelta;t.positionX.linearRampToValueAtTime(is.x,r),t.positionY.linearRampToValueAtTime(is.y,r),t.positionZ.linearRampToValueAtTime(is.z,r),t.forwardX.linearRampToValueAtTime(as.x,r),t.forwardY.linearRampToValueAtTime(as.y,r),t.forwardZ.linearRampToValueAtTime(as.z,r),t.upX.linearRampToValueAtTime(n.x,r),t.upY.linearRampToValueAtTime(n.y,r),t.upZ.linearRampToValueAtTime(n.z,r)}else t.setPosition(is.x,is.y,is.z),t.setOrientation(as.x,as.y,as.z,n.x,n.y,n.z)}});function ul(i){Xe.call(this),this.type="Audio",this.listener=i,this.context=i.context,this.gain=this.context.createGain(),this.gain.connect(i.getInput()),this.autoplay=!1,this.buffer=null,this.detune=0,this.loop=!1,this.loopStart=0,this.loopEnd=0,this.offset=0,this.duration=void 0,this.playbackRate=1,this.isPlaying=!1,this.hasPlaybackControl=!0,this.sourceType="empty",this._startedAt=0,this._pausedAt=0,this.filters=[]}ul.prototype=Object.assign(Object.create(Xe.prototype),{constructor:ul,getOutput:function(){return this.gain},setNodeSource:function(e){return this.hasPlaybackControl=!1,this.sourceType="audioNode",this.source=e,this.connect(),this},setMediaElementSource:function(e){return this.hasPlaybackControl=!1,this.sourceType="mediaNode",this.source=this.context.createMediaElementSource(e),this.connect(),this},setMediaStreamSource:function(e){return this.hasPlaybackControl=!1,this.sourceType="mediaStreamNode",this.source=this.context.createMediaStreamSource(e),this.connect(),this},setBuffer:function(e){return this.buffer=e,this.sourceType="buffer",this.autoplay&&this.play(),this},play:function(e){if(e===void 0&&(e=0),this.isPlaying===!0){console.warn("THREE.Audio: Audio is already playing.");return}if(this.hasPlaybackControl===!1){console.warn("THREE.Audio: this Audio has no playback control.");return}this._startedAt=this.context.currentTime+e;var t=this.context.createBufferSource();return t.buffer=this.buffer,t.loop=this.loop,t.loopStart=this.loopStart,t.loopEnd=this.loopEnd,t.onended=this.onEnded.bind(this),t.start(this._startedAt,this._pausedAt+this.offset,this.duration),this.isPlaying=!0,this.source=t,this.setDetune(this.detune),this.setPlaybackRate(this.playbackRate),this.connect()},pause:function(){if(this.hasPlaybackControl===!1){console.warn("THREE.Audio: this Audio has no playback control.");return}return this.isPlaying===!0&&(this._pausedAt=(this.context.currentTime-this._startedAt)*this.playbackRate,this.source.stop(),this.source.onended=null,this.isPlaying=!1),this},stop:function(){if(this.hasPlaybackControl===!1){console.warn("THREE.Audio: this Audio has no playback control.");return}return this._pausedAt=0,this.source.stop(),this.source.onended=null,this.isPlaying=!1,this},connect:function(){if(this.filters.length>0){this.source.connect(this.filters[0]);for(var e=1,t=this.filters.length;e0){this.source.disconnect(this.filters[0]);for(var e=1,t=this.filters.length;e=.5)for(var s=0;s!==a;++s)e[t+s]=e[n+s]},_slerp:function(e,t,n,r){_r.slerpFlat(e,t,e,t,e,n,r)},_lerp:function(e,t,n,r,a){for(var s=1-r,o=0;o!==a;++o){var u=t+o;e[u]=e[u]*s+e[n+o]*r}}});var Cm="\\[\\]\\.:\\/",UD=new RegExp("["+Cm+"]","g"),Sm="[^"+Cm+"]",VD="[^"+Cm.replace("\\.","")+"]",WD=/((?:WC+[\/:])*)/.source.replace("WC",Sm),zD=/(WCOD+)?/.source.replace("WCOD",VD),HD=/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC",Sm),jD=/\.(WC+)(?:\[(.+)\])?/.source.replace("WC",Sm),YD=new RegExp("^"+WD+zD+HD+jD+"$"),KD=["material","materials","bones"];function hw(i,e,t){var n=t||hr.parseTrackName(e);this._targetGroup=i,this._bindings=i.subscribe_(e,n)}Object.assign(hw.prototype,{getValue:function(e,t){this.bind();var n=this._targetGroup.nCachedObjects_,r=this._bindings[n];r!==void 0&&r.getValue(e,t)},setValue:function(e,t){for(var n=this._bindings,r=this._targetGroup.nCachedObjects_,a=n.length;r!==a;++r)n[r].setValue(e,t)},bind:function(){for(var e=this._bindings,t=this._targetGroup.nCachedObjects_,n=e.length;t!==n;++t)e[t].bind()},unbind:function(){for(var e=this._bindings,t=this._targetGroup.nCachedObjects_,n=e.length;t!==n;++t)e[t].unbind()}});function hr(i,e,t){this.path=e,this.parsedPath=t||hr.parseTrackName(e),this.node=hr.findNode(i,this.parsedPath.nodeName)||i,this.rootNode=i}Object.assign(hr,{Composite:hw,create:function(e,t,n){return e&&e.isAnimationObjectGroup?new hr.Composite(e,t,n):new hr(e,t,n)},sanitizeNodeName:function(e){return e.replace(/\s/g,"_").replace(UD,"")},parseTrackName:function(e){var t=YD.exec(e);if(!t)throw new Error("PropertyBinding: Cannot parse trackName: "+e);var n={nodeName:t[2],objectName:t[3],objectIndex:t[4],propertyName:t[5],propertyIndex:t[6]},r=n.nodeName&&n.nodeName.lastIndexOf(".");if(r!==void 0&&r!==-1){var a=n.nodeName.substring(r+1);KD.indexOf(a)!==-1&&(n.nodeName=n.nodeName.substring(0,r),n.objectName=a)}if(n.propertyName===null||n.propertyName.length===0)throw new Error("PropertyBinding: can not parse propertyName from trackName: "+e);return n},findNode:function(e,t){if(!t||t===""||t==="root"||t==="."||t===-1||t===e.name||t===e.uuid)return e;if(e.skeleton){var n=e.skeleton.getBoneByName(t);if(n!==void 0)return n}if(e.children){var r=function s(o){for(var u=0;u=t){var f=t++,h=e[f];n[h.uuid]=c,e[c]=h,n[l]=f,e[f]=u;for(var p=0,m=a;p!==m;++p){var v=r[p],g=v[f],d=v[c];v[c]=g,v[f]=d}}}this.nCachedObjects_=t},uncache:function(){for(var e=this._objects,t=e.length,n=this.nCachedObjects_,r=this._indicesByUUID,a=this._bindings,s=a.length,o=0,u=arguments.length;o!==u;++o){var l=arguments[o],c=l.uuid,f=r[c];if(f!==void 0)if(delete r[c],f0)for(var l=this._interpolants,c=this._propertyBindings,f=0,h=l.length;f!==h;++f)l[f].evaluate(o),c[f].accumulate(r,u)},_updateWeight:function(e){var t=0;if(this.enabled){t=this.weight;var n=this._weightInterpolant;if(n!==null){var r=n.evaluate(e)[0];t*=r,e>n.parameterPositions[1]&&(this.stopFading(),r===0&&(this.enabled=!1))}}return this._effectiveWeight=t,t},_updateTimeScale:function(e){var t=0;if(!this.paused){t=this.timeScale;var n=this._timeScaleInterpolant;if(n!==null){var r=n.evaluate(e)[0];t*=r,e>n.parameterPositions[1]&&(this.stopWarping(),t===0?this.paused=!0:this.timeScale=t)}}return this._effectiveTimeScale=t,t},_updateTime:function(e){var t=this.time+e,n=this._clip.duration,r=this.loop,a=this._loopCount,s=r===HS;if(e===0)return a===-1?t:s&&(a&1)===1?n-t:t;if(r===WS){a===-1&&(this._loopCount=0,this._setEndings(!0,!0,!1));e:{if(t>=n)t=n;else if(t<0)t=0;else{this.time=t;break e}this.clampWhenFinished?this.paused=!0:this.enabled=!1,this.time=t,this._mixer.dispatchEvent({type:"finished",action:this,direction:e<0?-1:1})}}else{if(a===-1&&(e>=0?(a=0,this._setEndings(!0,this.repetitions===0,s)):this._setEndings(this.repetitions===0,!0,s)),t>=n||t<0){var o=Math.floor(t/n);t-=n*o,a+=Math.abs(o);var u=this.repetitions-a;if(u<=0)this.clampWhenFinished?this.paused=!0:this.enabled=!1,t=e>0?n:0,this.time=t,this._mixer.dispatchEvent({type:"finished",action:this,direction:e>0?1:-1});else{if(u===1){var l=e<0;this._setEndings(l,!l,s)}else this._setEndings(!1,!1,s);this._loopCount=a,this.time=t,this._mixer.dispatchEvent({type:"loop",action:this,loopDelta:o})}}else this.time=t;if(s&&(a&1)===1)return n-t}return t},_setEndings:function(e,t,n){var r=this._interpolantSettings;n?(r.endingStart=so,r.endingEnd=so):(e?r.endingStart=this.zeroSlopeAtStart?so:To:r.endingStart=hf,t?r.endingEnd=this.zeroSlopeAtEnd?so:To:r.endingEnd=hf)},_scheduleFading:function(e,t,n){var r=this._mixer,a=r.time,s=this._weightInterpolant;s===null&&(s=r._lendControlInterpolant(),this._weightInterpolant=s);var o=s.parameterPositions,u=s.sampleValues;return o[0]=a,u[0]=t,o[1]=a+e,u[1]=n,this}});function Yg(i){this._root=i,this._initMemoryManager(),this._accuIndex=0,this.time=0,this.timeScale=1}Yg.prototype=Object.assign(Object.create(ha.prototype),{constructor:Yg,_bindAction:function(e,t){var n=e._localRoot||this._root,r=e._clip.tracks,a=r.length,s=e._propertyBindings,o=e._interpolants,u=n.uuid,l=this._bindingsByRootAndName,c=l[u];c===void 0&&(c={},l[u]=c);for(var f=0;f!==a;++f){var h=r[f],p=h.name,m=c[p];if(m!==void 0)s[f]=m;else{if(m=s[f],m!==void 0){m._cacheIndex===null&&(++m.referenceCount,this._addInactiveBinding(m,u,p));continue}var v=t&&t._propertyBindings[f].binding.parsedPath;m=new fw(hr.create(n,p,v),h.ValueTypeName,h.getValueSize()),++m.referenceCount,this._addInactiveBinding(m,u,p),s[f]=m}o[f].resultBuffer=m.buffer}},_activateAction:function(e){if(!this._isActiveAction(e)){if(e._cacheIndex===null){var t=(e._localRoot||this._root).uuid,n=e._clip.uuid,r=this._actionsByClip[n];this._bindAction(e,r&&r.knownActions[0]),this._addInactiveAction(e,n,t)}for(var a=e._propertyBindings,s=0,o=a.length;s!==o;++s){var u=a[s];u.useCount++===0&&(this._lendBinding(u),u.saveOriginalState())}this._lendAction(e)}},_deactivateAction:function(e){if(this._isActiveAction(e)){for(var t=e._propertyBindings,n=0,r=t.length;n!==r;++n){var a=t[n];--a.useCount===0&&(a.restoreOriginalState(),this._takeBackBinding(a))}this._takeBackAction(e)}},_initMemoryManager:function(){this._actions=[],this._nActiveActions=0,this._actionsByClip={},this._bindings=[],this._nActiveBindings=0,this._bindingsByRootAndName={},this._controlInterpolants=[],this._nActiveControlInterpolants=0;var e=this;this.stats={actions:{get total(){return e._actions.length},get inUse(){return e._nActiveActions}},bindings:{get total(){return e._bindings.length},get inUse(){return e._nActiveBindings}},controlInterpolants:{get total(){return e._controlInterpolants.length},get inUse(){return e._nActiveControlInterpolants}}}},_isActiveAction:function(e){var t=e._cacheIndex;return t!==null&&tthis.max.x||e.ythis.max.y)},containsBox:function(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y},getParameter:function(e,t){return t===void 0&&(console.warn("THREE.Box2: .getParameter() target is now required"),t=new De),t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y))},intersectsBox:function(e){return!(e.max.xthis.max.x||e.max.ythis.max.y)},clampPoint:function(e,t){return t===void 0&&(console.warn("THREE.Box2: .clampPoint() target is now required"),t=new De),t.copy(e).clamp(this.min,this.max)},distanceToPoint:function(e){var t=qg.copy(e).clamp(this.min,this.max);return t.sub(e).length()},intersect:function(e){return this.min.max(e.min),this.max.min(e.max),this},union:function(e){return this.min.min(e.min),this.max.max(e.max),this},translate:function(e){return this.min.add(e),this.max.add(e),this},equals:function(e){return e.min.equals(this.min)&&e.max.equals(this.max)}});var Zg=new J,vc=new J;function vw(i,e){this.start=i!==void 0?i:new J,this.end=e!==void 0?e:new J}Object.assign(vw.prototype,{set:function(e,t){return this.start.copy(e),this.end.copy(t),this},clone:function(){return new this.constructor().copy(this)},copy:function(e){return this.start.copy(e.start),this.end.copy(e.end),this},getCenter:function(e){return e===void 0&&(console.warn("THREE.Line3: .getCenter() target is now required"),e=new J),e.addVectors(this.start,this.end).multiplyScalar(.5)},delta:function(e){return e===void 0&&(console.warn("THREE.Line3: .delta() target is now required"),e=new J),e.subVectors(this.end,this.start)},distanceSq:function(){return this.start.distanceToSquared(this.end)},distance:function(){return this.start.distanceTo(this.end)},at:function(e,t){return t===void 0&&(console.warn("THREE.Line3: .at() target is now required"),t=new J),this.delta(t).multiplyScalar(e).add(this.start)},closestPointToPointParameter:function(e,t){Zg.subVectors(e,this.start),vc.subVectors(this.end,this.start);var n=vc.dot(vc),r=vc.dot(Zg),a=r/n;return t&&(a=kt.clamp(a,0,1)),a},closestPointToPoint:function(e,t,n){var r=this.closestPointToPointParameter(e,t);return n===void 0&&(console.warn("THREE.Line3: .closestPointToPoint() target is now required"),n=new J),this.delta(n).multiplyScalar(r).add(this.start)},applyMatrix4:function(e){return this.start.applyMatrix4(e),this.end.applyMatrix4(e),this},equals:function(e){return e.start.equals(this.start)&&e.end.equals(this.end)}});function Uf(i){Xe.call(this),this.material=i,this.render=function(){}}Uf.prototype=Object.create(Xe.prototype);Uf.prototype.constructor=Uf;Uf.prototype.isImmediateRenderObject=!0;var Jg=new J;function ll(i,e){Xe.call(this),this.light=i,this.light.updateMatrixWorld(),this.matrix=i.matrixWorld,this.matrixAutoUpdate=!1,this.color=e;for(var t=new nt,n=[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],r=0,a=1,s=32;r.99999)this.quaternion.set(0,0,0,1);else if(i.y<-.99999)this.quaternion.set(1,0,0,0);else{ny.set(i.z,0,-i.x).normalize();var e=Math.acos(i.y);this.quaternion.setFromAxisAngle(ny,e)}};Ga.prototype.setLength=function(i,e,t){e===void 0&&(e=.2*i),t===void 0&&(t=.2*e),this.line.scale.set(1,Math.max(1e-4,i-e),1),this.line.updateMatrix(),this.cone.scale.set(t,e,t),this.cone.position.y=i,this.cone.updateMatrix()};Ga.prototype.setColor=function(i){this.line.material.color.set(i),this.cone.material.color.set(i)};Ga.prototype.copy=function(i){return Xe.prototype.copy.call(this,i,!1),this.line.copy(i.line),this.cone.copy(i.cone),this};Ga.prototype.clone=function(){return new this.constructor().copy(this)};function fv(i){i=i||1;var e=[0,0,0,i,0,0,0,0,0,0,i,0,0,0,0,0,0,i],t=[1,0,0,1,.6,0,0,1,0,.6,1,0,0,0,1,0,.6,1],n=new nt;n.setAttribute("position",new Ke(e,3)),n.setAttribute("color",new Ke(t,3));var r=new xn({vertexColors:El});In.call(this,n,r)}fv.prototype=Object.create(In.prototype);fv.prototype.constructor=fv;var yo=4,Pa=8,Ei=Math.pow(2,Pa),gw=[.125,.215,.35,.446,.526,.582],yw=Pa-yo+1+gw.length,io=20,Ii=ge(ge(ge(ge(ge(ge(ge({},Fr,0),bm,1),wm,2),Rb,3),Lb,4),Bb,5),Fb,6),Am=new ol,Hf=nk(io),Ca=null,Sa=null,xm=QD(),dl=xm._lodPlanes,ry=xm._sizeLods,_c=xm._sigmas,jf=null,Jt=null,hv=null,us=(1+Math.sqrt(5))/2,no=1/us,iy=[new J(1,1,1),new J(-1,1,1),new J(1,1,-1),new J(-1,1,-1),new J(0,us,no),new J(0,us,-no),new J(no,0,us),new J(-no,0,us),new J(us,no,0),new J(-us,no,0)];function ay(i){Jt=i,pv(Hf)}ay.prototype={constructor:ay,fromScene:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:100;hv=Jt.getRenderTarget();var a=sy();return ek(e,n,r,a),t>0&&bw(a,0,0,t),ly(a),oy(a),a},fromEquirectangular:function(e){return e.magFilter=kn,e.minFilter=kn,e.generateMipmaps=!1,this.fromCubemap(e)},fromCubemap:function(e){hv=Jt.getRenderTarget();var t=sy(e);return tk(e,t),ly(t),oy(t),t},compileCubemapShader:function(){Sa==null&&(Sa=_w(),pv(Sa))},compileEquirectangularShader:function(){Ca==null&&(Ca=ww(),pv(Ca))},dispose:function(){Hf.dispose(),Sa?.dispose(),Ca?.dispose();for(var e=0;ePa-yo?s=gw[r-Pa+yo-1]:r==0&&(s=0),t.push(s);for(var o=1/(a-1),u=-o/2,l=1+o/2,c=[u,u,l,u,l,l,u,u,l,l,u,l],f=6,h=6,p=3,m=2,v=1,g=new Float32Array(p*h*f),d=new Float32Array(m*h*f),y=new Float32Array(v*h*f),b=0;b2?0:-1,E=[_,w,0,_+2/3,w,0,_+2/3,w+1,0,_,w,0,_+2/3,w+1,0,_,w+1,0];g.set(E,p*h*b),d.set(c,m*h*b);var x=[b,b,b,b,b,b];y.set(x,v*h*b)}var S=new nt;S.setAttribute("position",new gt(g,p)),S.setAttribute("uv",new gt(d,m)),S.setAttribute("faceIndex",new gt(y,v)),i.push(S),n>yo&&n--}return{_lodPlanes:i,_sizeLods:e,_sigmas:t}}function sy(i){var e={magFilter:kn,minFilter:kn,generateMipmaps:!1,type:i?i.type:dh,format:i?i.format:wS,encoding:i?i.encoding:wm,depthBuffer:!1,stencilBuffer:!1},t=uy(e);return t.depthBuffer=!i,jf=uy(e),t}function oy(i){jf.dispose(),Jt.setRenderTarget(hv),i.scissorTest=!1,i.setSize(i.width,i.height)}function ek(i,e,t,n){var r=90,a=1,s=new On(r,a,e,t),o=[1,1,1,1,-1,1],u=[1,1,-1,-1,-1,1],l=Jt.outputEncoding,c=Jt.toneMapping,f=Jt.toneMappingExposure,h=Jt.getClearColor(),p=Jt.getClearAlpha();Jt.toneMapping=hm,Jt.toneMappingExposure=1,Jt.outputEncoding=Fr,i.scale.z*=-1;var m=i.background;if(m&&m.isColor){m.convertSRGBToLinear();var v=Math.max(m.r,m.g,m.b),g=Math.min(Math.max(Math.ceil(Math.log2(v)),-128),127);m=m.multiplyScalar(Math.pow(2,-g));var d=(g+128)/255;Jt.setClearColor(m,d),i.background=null}for(var y=0;y<6;y++){var b=y%3;b==0?(s.up.set(0,o[y],0),s.lookAt(u[y],0,0)):b==1?(s.up.set(0,0,o[y]),s.lookAt(0,u[y],0)):(s.up.set(0,o[y],0),s.lookAt(0,0,u[y])),Tm(n,b*Ei,y>2?Ei:0,Ei,Ei),Jt.setRenderTarget(n),Jt.render(i,s)}Jt.toneMapping=c,Jt.toneMappingExposure=f,Jt.outputEncoding=l,Jt.setClearColor(h,p),i.scale.z*=-1}function tk(i,e){var t=new Ra;i.isCubeTexture?Sa==null&&(Sa=_w()):Ca==null&&(Ca=ww());var n=i.isCubeTexture?Sa:Ca;t.add(new pn(dl[0],n));var r=n.uniforms;r.envMap.value=i,i.isCubeTexture||r.texelSize.value.set(1/i.image.width,1/i.image.height),r.inputEncoding.value=Ii[i.encoding],r.outputEncoding.value=Ii[i.encoding],Tm(e,0,0,3*Ei,2*Ei),Jt.setRenderTarget(e),Jt.render(t,Am)}function pv(i){var e=new Ra;e.add(new pn(dl[0],i)),Jt.compile(e,Am)}function uy(i){var e=new fr(3*Ei,3*Ei,i);return e.texture.mapping=Cl,e.texture.name="PMREM.cubeUv",e.scissorTest=!0,e}function Tm(i,e,t,n,r){i.viewport.set(e,t,n,r),i.scissor.set(e,t,n,r)}function ly(i){var e=Jt.autoClear;Jt.autoClear=!1;for(var t=1;tio&&console.warn("sigmaRadians, ".concat(r,", is too large and will clip, as it requested ").concat(p," samples when the maximum is set to ").concat(io));for(var m=[],v=0,g=0;gPa-yo?n-Pa+yo:0);Tm(e,b,_,3*y,2*y),Jt.setRenderTarget(e),Jt.render(u,Am)}function nk(i){var e=new Float32Array(i),t=new J(0,1,0),n=new Na({defines:{n:i},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:e},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:t},inputEncoding:{value:Ii[Fr]},outputEncoding:{value:Ii[Fr]}},vertexShader:Dm(),fragmentShader:` precision mediump float; precision mediump int; varying vec3 vOutputDirection; uniform sampler2D envMap; uniform int samples; uniform float weights[n]; uniform bool latitudinal; uniform float dTheta; uniform float mipInt; uniform vec3 poleAxis; `.concat(km(),` #define ENVMAP_TYPE_CUBE_UV #include void main() { gl_FragColor = vec4(0.0); for (int i = 0; i < n; i++) { if (i >= samples) break; for (int dir = -1; dir < 2; dir += 2) { if (i == 0 && dir == 1) continue; vec3 axis = latitudinal ? poleAxis : cross(poleAxis, vOutputDirection); if (all(equal(axis, vec3(0.0)))) axis = cross(vec3(0.0, 1.0, 0.0), vOutputDirection); axis = normalize(axis); float theta = dTheta * float(dir * i); float cosTheta = cos(theta); // Rodrigues' axis-angle rotation vec3 sampleDirection = vOutputDirection * cosTheta + cross(axis, vOutputDirection) * sin(theta) + axis * dot(axis, vOutputDirection) * (1.0 - cosTheta); gl_FragColor.rgb += weights[i] * bilinearCubeUV(envMap, sampleDirection, mipInt); } } gl_FragColor = linearToOutputTexel(gl_FragColor); } `),blending:ka,depthTest:!1,depthWrite:!1});return n.type="SphericalGaussianBlur",n}function ww(){var i=new De(1,1),e=new Na({uniforms:{envMap:{value:null},texelSize:{value:i},inputEncoding:{value:Ii[Fr]},outputEncoding:{value:Ii[Fr]}},vertexShader:Dm(),fragmentShader:` precision mediump float; precision mediump int; varying vec3 vOutputDirection; uniform sampler2D envMap; uniform vec2 texelSize; `.concat(km(),` #define RECIPROCAL_PI 0.31830988618 #define RECIPROCAL_PI2 0.15915494 void main() { gl_FragColor = vec4(0.0); vec3 outputDirection = normalize(vOutputDirection); vec2 uv; uv.y = asin(clamp(outputDirection.y, -1.0, 1.0)) * RECIPROCAL_PI + 0.5; uv.x = atan(outputDirection.z, outputDirection.x) * RECIPROCAL_PI2 + 0.5; vec2 f = fract(uv / texelSize - 0.5); uv -= f * texelSize; vec3 tl = envMapTexelToLinear(texture2D(envMap, uv)).rgb; uv.x += texelSize.x; vec3 tr = envMapTexelToLinear(texture2D(envMap, uv)).rgb; uv.y += texelSize.y; vec3 br = envMapTexelToLinear(texture2D(envMap, uv)).rgb; uv.x -= texelSize.x; vec3 bl = envMapTexelToLinear(texture2D(envMap, uv)).rgb; vec3 tm = mix(tl, tr, f.x); vec3 bm = mix(bl, br, f.x); gl_FragColor.rgb = mix(tm, bm, f.y); gl_FragColor = linearToOutputTexel(gl_FragColor); } `),blending:ka,depthTest:!1,depthWrite:!1});return e.type="EquirectangularToCubeUV",e}function _w(){var i=new Na({uniforms:{envMap:{value:null},inputEncoding:{value:Ii[Fr]},outputEncoding:{value:Ii[Fr]}},vertexShader:Dm(),fragmentShader:` precision mediump float; precision mediump int; varying vec3 vOutputDirection; uniform samplerCube envMap; `.concat(km(),` void main() { gl_FragColor = vec4(0.0); gl_FragColor.rgb = envMapTexelToLinear(textureCube(envMap, vec3( - vOutputDirection.x, vOutputDirection.yz ))).rgb; gl_FragColor = linearToOutputTexel(gl_FragColor); } `),blending:ka,depthTest:!1,depthWrite:!1});return i.type="CubemapToCubeUV",i}function Dm(){return` precision mediump float; precision mediump int; attribute vec3 position; attribute vec2 uv; attribute float faceIndex; varying vec3 vOutputDirection; vec3 getDirection(vec2 uv, float face) { uv = 2.0 * uv - 1.0; vec3 direction = vec3(uv, 1.0); if (face == 0.0) { direction = direction.zyx; direction.z *= -1.0; } else if (face == 1.0) { direction = direction.xzy; direction.z *= -1.0; } else if (face == 3.0) { direction = direction.zyx; direction.x *= -1.0; } else if (face == 4.0) { direction = direction.xzy; direction.y *= -1.0; } else if (face == 5.0) { direction.xz *= -1.0; } return direction; } void main() { vOutputDirection = getDirection(uv, faceIndex); gl_Position = vec4( position, 1.0 ); } `}function km(){return` uniform int inputEncoding; uniform int outputEncoding; #include vec4 inputTexelToLinear(vec4 value){ if(inputEncoding == 0){ return value; }else if(inputEncoding == 1){ return sRGBToLinear(value); }else if(inputEncoding == 2){ return RGBEToLinear(value); }else if(inputEncoding == 3){ return RGBMToLinear(value, 7.0); }else if(inputEncoding == 4){ return RGBMToLinear(value, 16.0); }else if(inputEncoding == 5){ return RGBDToLinear(value, 256.0); }else{ return GammaToLinear(value, 2.2); } } vec4 linearToOutputTexel(vec4 value){ if(outputEncoding == 0){ return value; }else if(outputEncoding == 1){ return LinearTosRGB(value); }else if(outputEncoding == 2){ return LinearToRGBE(value); }else if(outputEncoding == 3){ return LinearToRGBM(value, 7.0); }else if(outputEncoding == 4){ return LinearToRGBM(value, 16.0); }else if(outputEncoding == 5){ return LinearToRGBD(value, 256.0); }else{ return LinearToGamma(value, 2.2); } } vec4 envMapTexelToLinear(vec4 color) { return inputTexelToLinear(color); } `}ct.create=function(i,e){return console.log("THREE.Curve.create() has been deprecated"),i.prototype=Object.create(ct.prototype),i.prototype.constructor=i,i.prototype.getPoint=e,i};Object.assign(Ta.prototype,{createPointsGeometry:function(e){console.warn("THREE.CurvePath: .createPointsGeometry() has been removed. Use new THREE.Geometry().setFromPoints( points ) instead.");var t=this.getPoints(e);return this.createGeometry(t)},createSpacedPointsGeometry:function(e){console.warn("THREE.CurvePath: .createSpacedPointsGeometry() has been removed. Use new THREE.Geometry().setFromPoints( points ) instead.");var t=this.getSpacedPoints(e);return this.createGeometry(t)},createGeometry:function(e){console.warn("THREE.CurvePath: .createGeometry() has been removed. Use new THREE.Geometry().setFromPoints( points ) instead.");for(var t=new yt,n=0,r=e.length;n0&&!_[L-1];)L--;x.push({children:[],index:0});var k=x[0];for(S=0;S0;)k=x.pop();for(k.index++,x.push(k);x.length<=S;)x.push(B={children:[],index:0}),k.children[k.index]=B.children,k=B;E++}S+10)return U--,$>>U&1;if($=_[w++],$===255){var M=_[w++];if(M){if(M===220&&R){w+=2;var C=t(_,w);if(w+=2,C>0&&C!==E.s)throw new DNLMarkerError("Found DNL marker (0xFFDC) while parsing scan data",C)}else if(M===217){if(R){var A=q*8;if(A>0&&A>>7}function Pe(M){for(var C=M;;){switch(C=C[ke()],qt(C)){case"number":return C;case"object":continue}throw new i("invalid huffman sequence")}}function Me(M){for(var C=0;M>0;)C=C<<1|ke(),M--;return C}function H(M){if(M===1)return ke()===1?1:-1;var C=Me(M);return C>=1<>4;if(ae===0){if(ve<15)break;I+=16;continue}I+=ve;var we=r[I];M.D[C+we]=H(ae),I++}}function xe(M,C){var A=Pe(M.J),G=A===0?0:H(A)<0){N--;return}for(var A=T,G=L;A<=G;){var I=Pe(M.i),te=I&15,ae=I>>4;if(te===0){if(ae<15){N=Me(ae)+(1<>4,te===0)I<15?(N=Me(I)+(1<0){for(Q=0;Q=65488&&j.M<=65495)w+=2;else break}return w-K}function d(_,w,E){var x=_.$,S=_.D,T,L,B,k,R,F,W,K,$,U,N,P,D,q,V,Q,Z;if(!x)throw new i("missing required Quantization Table.");for(var Y=0;Y<64;Y+=8){if($=S[w+Y],U=S[w+Y+1],N=S[w+Y+2],P=S[w+Y+3],D=S[w+Y+4],q=S[w+Y+5],V=S[w+Y+6],Q=S[w+Y+7],$*=x[Y],!(U|N|P|D|q|V|Q)){Z=f*$+512>>10,E[Y]=Z,E[Y+1]=Z,E[Y+2]=Z,E[Y+3]=Z,E[Y+4]=Z,E[Y+5]=Z,E[Y+6]=Z,E[Y+7]=Z;continue}U*=x[Y+1],N*=x[Y+2],P*=x[Y+3],D*=x[Y+4],q*=x[Y+5],V*=x[Y+6],Q*=x[Y+7],T=f*$+128>>8,L=f*D+128>>8,B=N,k=V,R=h*(U-Q)+128>>8,K=h*(U+Q)+128>>8,F=P<<4,W=q<<4,T=T+L+1>>1,L=T-L,Z=B*c+k*l+128>>8,B=B*l-k*c+128>>8,k=Z,R=R+W+1>>1,W=R-W,K=K+F+1>>1,F=K-F,T=T+k+1>>1,k=T-k,L=L+B+1>>1,B=L-B,Z=R*u+K*o+2048>>12,R=R*o-K*u+2048>>12,K=Z,Z=F*s+W*a+2048>>12,F=F*a-W*s+2048>>12,W=Z,E[Y]=T+K,E[Y+7]=T-K,E[Y+1]=L+W,E[Y+6]=L-W,E[Y+2]=B+F,E[Y+5]=B-F,E[Y+3]=k+R,E[Y+4]=k-R}for(var ee=0;ee<8;++ee){if($=E[ee],U=E[ee+8],N=E[ee+16],P=E[ee+24],D=E[ee+32],q=E[ee+40],V=E[ee+48],Q=E[ee+56],!(U|N|P|D|q|V|Q)){Z=f*$+8192>>14,Z<-2040?Z=0:Z>=2024?Z=255:Z=Z+2056>>4,S[w+ee]=Z,S[w+ee+8]=Z,S[w+ee+16]=Z,S[w+ee+24]=Z,S[w+ee+32]=Z,S[w+ee+40]=Z,S[w+ee+48]=Z,S[w+ee+56]=Z;continue}T=f*$+2048>>12,L=f*D+2048>>12,B=N,k=V,R=h*(U-Q)+2048>>12,K=h*(U+Q)+2048>>12,F=P,W=q,T=(T+L+1>>1)+4112,L=T-L,Z=B*c+k*l+2048>>12,B=B*l-k*c+2048>>12,k=Z,R=R+W+1>>1,W=R-W,K=K+F+1>>1,F=K-F,T=T+k+1>>1,k=T-k,L=L+B+1>>1,B=L-B,Z=R*u+K*o+2048>>12,R=R*o-K*u+2048>>12,K=Z,Z=F*s+W*a+2048>>12,F=F*a-W*s+2048>>12,W=Z,$=T+K,Q=T-K,U=L+W,V=L-W,N=B+F,q=B-F,P=k+R,D=k-R,$<16?$=0:$>=4080?$=255:$>>=4,U<16?U=0:U>=4080?U=255:U>>=4,N<16?N=0:N>=4080?N=255:N>>=4,P<16?P=0:P>=4080?P=255:P>>=4,D<16?D=0:D>=4080?D=255:D>>=4,q<16?q=0:q>=4080?q=255:q>>=4,V<16?V=0:V>=4080?V=255:V>>=4,Q<16?Q=0:Q>=4080?Q=255:Q>>=4,S[w+ee]=$,S[w+ee+8]=U,S[w+ee+16]=N,S[w+ee+24]=P,S[w+ee+32]=D,S[w+ee+40]=q,S[w+ee+48]=V,S[w+ee+56]=Q}}function y(_,w){for(var E=w.P,x=w.c,S=new Int16Array(64),T=0;T=x)return null;var T=t(_,w);if(T>=65472&&T<=65534)return{u:null,M:T,offset:w};for(var L=t(_,S);!(L>=65472&&L<=65534);){if(++S>=x)return null;L=t(_,S)}return{u:T.toString(16),M:L,offset:S}}return p.prototype={parse:function(w,E){E==null&&(E={});var x=E.F,S=0,T=null,L=null,B,k,R=0;function F(){var we=t(w,S);S+=2;var Te=S+we-2,He=b(w,Te,S);He&&He.u&&(Te=He.offset);var qe=w.subarray(S,Te);return S+=qe.length,qe}function W(we){for(var Te=Math.ceil(we.o/8/we.X),He=Math.ceil(we.s/8/we.B),qe=0;qe>4)if(ee>>4===1)for(D=0;D<64;D++)Z=r[D],le[Z]=t(w,S),S+=2;else throw new i("DQT - invalid table spec");else for(D=0;D<64;D++)Z=r[D],le[Z]=w[S++];K[ee&15]=le}break;case 65472:case 65473:case 65474:if(B)throw new i("Only single frame JPEGs supported");S+=2,B={},B.G=N===65473,B.Z=N===65474,B.precision=w[S++];var Ee=t(w,S),j,ce=0,Ce=0;S+=2,B.s=x||Ee,B.o=t(w,S),S+=2,B.W=[],B._={};var Ae=w[S++];for(P=0;P>4,Pe=w[S+1]&15;ce>4?$:U)[X&15]=m(xe,Le)}break;case 65501:S+=2,k=t(w,S),S+=2;break;case 65498:var Be=++R===1&&!x,Se;S+=2;var We=w[S++],re=[];for(P=0;P>4],Se.i=$[C&15],re.push(Se)}var A=w[S++],G=w[S++],I=w[S++];try{var te=g(w,S,B,re,k,A,G,I>>4,I&15,Be);S+=te}catch(we){if(we instanceof DNLMarkerError)return this.parse(w,{F:we.s});if(we instanceof EOIMarkerError)break e;throw we}break;case 65500:S+=4;break;case 65535:w[S]!==255&&S--;break;default:var ae=b(w,S-2,S-3);if(ae&&ae.u){S=ae.offset;break}if(S>=w.length-1)break e;throw new i("JpegImage.parse - unknown marker: "+N.toString(16))}N=t(w,S),S+=2}for(this.width=B.o,this.height=B.s,this.g=T,this.b=L,this.W=[],P=0;P>8)+le[U+1];return Q},get f(){return this.b?!!this.b.a:this.p===3?this.N===0?!1:!(this.W[0].index===82&&this.W[1].index===71&&this.W[2].index===66):this.N===1},z:function(w){for(var E,x,S,T=0,L=w.length;T4)throw new i("Unsupported color mode");var L=this.Y(E,x,T);if(this.p===1&&S){for(var B=L.length,k=new Uint8ClampedArray(B*3),R=0,F=0;F3&&(e.t258=e.t258.slice(0,3));var o=e.t277?e.t277[0]:1,u=e.t258?e.t258[0]:1,l=u*o;a==1&&e.t279!=null&&e.t278&&e.t262[0]==32803&&(l=Math.round(e.t279[0]*8/(e.width*e.t278[0]))),e.t50885&&e.t50885[0]==4&&(l=e.t258[0]*3);var c=Math.ceil(e.width*l/8)*8,f=e.t273;(f==null||e.t322)&&(f=e.t324);var h=e.t279;a==1&&f.length==1&&(h=[e.height*(c>>>3)]),(h==null||e.t322)&&(h=e.t325);var p=new Uint8Array(e.height*(c>>>3)),m=0;if(e.t322!=null){var v=e.t322[0],g=e.t323[0],d=Math.floor((e.width+v-1)/v),y=Math.floor((e.height+g-1)/g),b=new Uint8Array(Math.ceil(v*g*l/8)|0);console.log("====",d,y);for(var _=0;_>>3,d=Math.ceil(m*v*l/8);if(m==16&&!i.isLE&&i.t33422==null)for(var y=0;y>>8&255}else if(v==3)for(var f=3;f>3^16368,(B[m]|B[m+1]<<8)>>(p&7)&~(-1<>2,v[1]=((F(1)&3)<<12|F(2)<<4|F(3)>>4)&16383,v[2]=F(3)>>2&3,v[3]=(F(3)&3)<<8|F(4),v[4]=F(5)<<2|F(6)>>6,v[5]=(F(6)&63)<<4|F(7)>>4,v[6]=F(7)>>2&3,v[7]=(F(7)&3)<<8|F(8),v[8]=F(9)<<2&1020|F(10)>>6,v[9]=(F(10)<<4|F(11)>>4)&1023,v[10]=F(11)>>2&3,v[11]=(F(11)&3)<<8|F(12),v[12]=(F(13)<<2&1020|F(14)>>6)&1023,v[13]=(F(14)<<4|F(15)>>4)&1023,p+=16,m=0}function K(){v[0]=F(0)<<4|F(1)>>4,v[1]=((F(1)&15)<<8|F(2))&4095,v[2]=F(3)>>6&3,v[3]=(F(3)&63)<<2|F(4)>>6,v[4]=(F(4)&63)<<2|F(5)>>6,v[5]=(F(5)&63)<<2|F(6)>>6,v[6]=F(6)>>4&3,v[7]=(F(6)&15)<<4|F(7)>>4,v[8]=(F(7)&15)<<4|F(8)>>4,v[9]=(F(8)&15)<<4|F(9)>>4,v[10]=F(9)>>2&3,v[11]=(F(9)&3)<<6|F(10)>>2,v[12]=(F(10)&3)<<6|F(11)>>2,v[13]=(F(11)&3)<<6|F(12)>>2,v[14]=F(12)&3,v[15]=F(13),v[16]=F(14),v[17]=F(15),p+=16,m=0}function $(){b[0]=0,b[1]=0,_[0]=0,_[1]=0}if(c==7)throw c;if(c==6){var U=l==12,N=U?K:W,P=U?14:11,D=U?128:512,q=U?2048:8192,V=U?16383:65535,Q=U?4095:16383,Z=o/P,Y=Z*16,ee=U?18:14;for(S=0;Sx&&(Ce+=_[w]-x),_[w]=Ce):(b[w]=Ce,Ce?_[w]=Ce:Ce=_[w]),k[E+T++]=Ce-15<=V?Ce-15&V:Ce+2147483633>>31&Q}}}}else if(c==5){var Ae=l==12?10:9;for(S=0;S>4),k[E++]=((v[4]&15)<<8)+v[3],k[E++]=16*v[5]+(v[4]>>4),k[E++]=((v[7]&15)<<8)+v[6],k[E++]=16*v[8]+(v[7]>>4),k[E++]=((v[10]&15)<<8)+v[9],k[E++]=16*v[11]+(v[10]>>4),k[E++]=((v[13]&15)<<8)+v[12],k[E++]=16*v[14]+(v[13]>>4)):l==14&&(k[E++]=v[0]+((v[1]&63)<<8),k[E++]=(v[1]>>6)+4*v[2]+((v[3]&15)<<10),k[E++]=(v[3]>>4)+16*v[4]+((v[5]&3)<<12),k[E++]=((v[5]&252)>>2)+(v[6]<<6),k[E++]=v[7]+((v[8]&63)<<8),k[E++]=(v[8]>>6)+4*v[9]+((v[10]&15)<<10),k[E++]=(v[10]>>4)+16*v[11]+((v[12]&3)<<12),k[E++]=((v[12]&252)>>2)+(v[13]<<6),k[E++]=v[14]+((v[15]&63)<<8))}else if(c==4)for(S=0;S>3-R(2)),_[w]?(d=R(8),d!=0&&(b[w]-=128<11)&&(b[w]=_[w]<<4|R(4))),k[E++]=b[T&1];else throw c};pe.decode._decodeVC5=function(){var i=[1,0,1,0,2,2,1,1,3,7,1,2,5,25,1,3,6,48,1,4,6,54,1,5,7,111,1,8,7,99,1,6,7,105,12,0,7,107,1,7,8,209,20,0,8,212,1,9,8,220,1,10,9,393,1,11,9,394,32,0,9,416,1,12,9,427,1,13,10,887,1,18,10,784,1,14,10,790,1,15,10,835,60,0,10,852,1,16,10,885,1,17,11,1571,1,19,11,1668,1,20,11,1669,100,0,11,1707,1,21,11,1772,1,22,12,3547,1,29,12,3164,1,24,12,3166,1,25,12,3140,1,23,12,3413,1,26,12,3537,1,27,12,3539,1,28,13,7093,1,35,13,6283,1,30,13,6331,1,31,13,6335,180,0,13,6824,1,32,13,7072,1,33,13,7077,320,0,13,7076,1,34,14,12565,1,36,14,12661,1,37,14,12669,1,38,14,13651,1,39,14,14184,1,40,15,28295,1,46,15,28371,1,47,15,25320,1,42,15,25336,1,43,15,25128,1,41,15,27300,1,44,15,28293,1,45,16,50259,1,48,16,50643,1,49,16,50675,1,50,16,56740,1,53,16,56584,1,51,16,56588,1,52,17,113483,1,61,17,113482,1,60,17,101285,1,55,17,101349,1,56,17,109205,1,57,17,109207,1,58,17,100516,1,54,17,113171,1,59,18,202568,1,62,18,202696,1,63,18,218408,1,64,18,218412,1,65,18,226340,1,66,18,226356,1,67,18,226358,1,68,19,402068,1,69,19,405138,1,70,19,405394,1,71,19,436818,1,72,19,436826,1,73,19,452714,1,75,19,452718,1,76,19,452682,1,74,20,804138,1,77,20,810279,1,78,20,810790,1,79,20,873638,1,80,20,873654,1,81,20,905366,1,82,20,905430,1,83,20,905438,1,84,21,1608278,1,85,21,1620557,1,86,21,1621582,1,87,21,1621583,1,88,21,1747310,1,89,21,1810734,1,90,21,1810735,1,91,21,1810863,1,92,21,1810879,1,93,22,3621725,1,99,22,3621757,1,100,22,3241112,1,94,22,3494556,1,95,22,3494557,1,96,22,3494622,1,97,22,3494623,1,98,23,6482227,1,102,23,6433117,1,101,23,6989117,1,103,23,6989119,1,105,23,6989118,1,104,23,7243449,1,106,23,7243512,1,107,24,13978233,1,111,24,12964453,1,109,24,12866232,1,108,24,14486897,1,113,24,13978232,1,110,24,14486896,1,112,24,14487026,1,114,24,14487027,1,115,25,25732598,1,225,25,25732597,1,189,25,25732596,1,188,25,25732595,1,203,25,25732594,1,202,25,25732593,1,197,25,25732592,1,207,25,25732591,1,169,25,25732590,1,223,25,25732589,1,159,25,25732522,1,235,25,25732579,1,152,25,25732575,1,192,25,25732489,1,179,25,25732573,1,201,25,25732472,1,172,25,25732576,1,149,25,25732488,1,178,25,25732566,1,120,25,25732571,1,219,25,25732577,1,150,25,25732487,1,127,25,25732506,1,211,25,25732548,1,125,25,25732588,1,158,25,25732486,1,247,25,25732467,1,238,25,25732508,1,163,25,25732552,1,228,25,25732603,1,183,25,25732513,1,217,25,25732587,1,168,25,25732520,1,122,25,25732484,1,128,25,25732562,1,249,25,25732505,1,187,25,25732504,1,186,25,25732483,1,136,25,25928905,1,181,25,25732560,1,255,25,25732500,1,230,25,25732482,1,135,25,25732555,1,233,25,25732568,1,222,25,25732583,1,145,25,25732481,1,134,25,25732586,1,167,25,25732521,1,248,25,25732518,1,209,25,25732480,1,243,25,25732512,1,216,25,25732509,1,164,25,25732547,1,140,25,25732479,1,157,25,25732544,1,239,25,25732574,1,191,25,25732564,1,251,25,25732478,1,156,25,25732546,1,139,25,25732498,1,242,25,25732557,1,133,25,25732477,1,162,25,25732515,1,213,25,25732584,1,165,25,25732514,1,212,25,25732476,1,227,25,25732494,1,198,25,25732531,1,236,25,25732530,1,234,25,25732529,1,117,25,25732528,1,215,25,25732527,1,124,25,25732526,1,123,25,25732525,1,254,25,25732524,1,253,25,25732523,1,148,25,25732570,1,218,25,25732580,1,146,25,25732581,1,147,25,25732569,1,224,25,25732533,1,143,25,25732540,1,184,25,25732541,1,185,25,25732585,1,166,25,25732556,1,132,25,25732485,1,129,25,25732563,1,250,25,25732578,1,151,25,25732501,1,119,25,25732502,1,193,25,25732536,1,176,25,25732496,1,245,25,25732553,1,229,25,25732516,1,206,25,25732582,1,144,25,25732517,1,208,25,25732558,1,137,25,25732543,1,241,25,25732466,1,237,25,25732507,1,190,25,25732542,1,240,25,25732551,1,131,25,25732554,1,232,25,25732565,1,252,25,25732475,1,171,25,25732493,1,205,25,25732492,1,204,25,25732491,1,118,25,25732490,1,214,25,25928904,1,180,25,25732549,1,126,25,25732602,1,182,25,25732539,1,175,25,25732545,1,141,25,25732559,1,138,25,25732537,1,177,25,25732534,1,153,25,25732503,1,194,25,25732606,1,160,25,25732567,1,121,25,25732538,1,174,25,25732497,1,246,25,25732550,1,130,25,25732572,1,200,25,25732474,1,170,25,25732511,1,221,25,25732601,1,196,25,25732532,1,142,25,25732519,1,210,25,25732495,1,199,25,25732605,1,155,25,25732535,1,154,25,25732499,1,244,25,25732510,1,220,25,25732600,1,195,25,25732607,1,161,25,25732604,1,231,25,25732473,1,173,25,25732599,1,226,26,51465122,1,116,26,51465123,0,1],e,t,n,r=[3,3,3,3,2,2,2,1,1,1],a=24576,s=16384,o=8192,u=s|o;function l(y){var b=y[1],_=y[0][b>>>3]>>>7-(b&7)&1;return y[1]++,_}function c(y,b){if(e==null){e={};for(var _=0;_>>1;return y}function h(y,b){return y>>b}function p(y,b,_,w,E,x){b[_]=h(h(11*y[E]-4*y[E+x]+y[E+x+x]+4,3)+y[w],1),b[_+x]=h(h(5*y[E]+4*y[E+x]-y[E+x+x]+4,3)-y[w],1)}function m(y,b,_,w,E,x){var S=y[E-x]-y[E+x],T=y[E],L=y[w];b[_]=h(h(S+4,3)+T+L,1),b[_+x]=h(h(-S+4,3)+T-L,1)}function v(y,b,_,w,E,x){b[_]=h(h(5*y[E]+4*y[E-x]-y[E-x-x]+4,3)+y[w],1),b[_+x]=h(h(11*y[E]-4*y[E-x]+y[E-x-x]+4,3)-y[w],1)}function g(y){return y=y<0?0:y>4095?4095:y,y=n[y]>>>2,y}function d(y,b,_,w,E,x){w=new Uint16Array(w.buffer);var S=Date.now(),T=pe._binBE,L=b+_,B,k,R,F,W,K,$,U,N,P;b+=4;for(var D=x[0]==1;b>>1)*(R>>>1));P=new Int16Array((k>>>1)*(R>>>1)),t=new Int16Array(1024);for(var ee=0;ee<1024;ee++){var le=ee-512,Ee=Math.abs(le),B=Math.floor(768*Ee*Ee*Ee/(255*255*255))+Ee;t[ee]=Math.sign(le)*B}n=new Uint16Array(4096);for(var j=65535,ee=0;ee<4096;ee++){var ce=ee,Ce=j*(Math.pow(113,ce/4095)-1)/112;n[ee]=Math.min(Ce,j)}}var Ae=N[K],ke=f(k,1+r[F]),Pe=f(R,1+r[F]);if(F==0)for(var Me=0;Me>>1)+H]=y[X]<<8|y[X+1]}else{for(var xe=[y,b*8],_e=[],Le=0,Be=ke*Pe,Se=[0,0],We=0,V=0;Le0;)_e[Le++]=V,We--;for(var re=(F-1)%3,Ge=re!=1?ke:0,M=re!=0?Pe:0,Me=0;Me>>1)+Ge,A=Me*ke,H=0;H>>1,G=ke*2,I=Pe*2,Me=0;Me>14-He*2&3;var qe=we[Te];if(qe!=0)for(var Me=0;Me>>1)*(k>>>1)+(H>>>1),en=ft[X],et=bt[X]-2048,Je=lt[X]-2048,$e=At[X]-2048,dn=(et<<1)+en,nn=(Je<<1)+en,Nt=en+$e,Ut=en-$e;D?(w[dt]=g(Nt),w[dt+1]=g(nn),w[dt+k]=g(dn),w[dt+k+1]=g(Ut)):(w[dt]=g(dn),w[dt+1]=g(Nt),w[dt+k]=g(Ut),w[dt+k+1]=g(nn))}b+=Y*4}else if(Q==16388)b+=Y*4;else if(!(Z==8192||Z==8448||Z==9216))throw Q.toString(16)}}}}}}}}}console.log(Date.now()-S)}return d}();pe.decode._decodeLogLuv32=function(i,e,t,n,r,a){for(var s=i.width,o=s*4,u=0,l=new Uint8Array(o);u>>(p[$]>>>8),m=0;m>>4,r[a+$+1]=_<<4|E>>>4,r[a+$+2]=E<<4|w>>>4}return}var x=new Uint16Array(16),S,T,L,B,k,R,F,W,K,$,U,N=new Uint8Array(s+1);for(S=0;S>>11,R=15&L>>>22,F=15&L>>>26,W=0;W<4&&128<>3))>>>(K&7)&127)<2047&&(x[$]=2047),K+=7);for($=0;$<16;$++,T+=2){var b=x[$]<<1;pe.decode._putsF(r,(S*s+T)*u,b<<16-u)}T-=T&1?1:31}}};pe.decode._decodeNikon=function(i,e,t,n,r,a,s){var o=[[0,0,1,5,1,1,1,1,1,1,2,0,0,0,0,0,0,5,4,3,6,2,7,1,0,8,9,11,10,12],[0,0,1,5,1,1,1,1,1,1,2,0,0,0,0,0,0,57,90,56,39,22,5,4,3,2,1,0,11,12,12],[0,0,1,4,2,3,1,2,0,0,0,0,0,0,0,0,0,5,4,6,3,7,2,8,1,9,0,10,11,12],[0,0,1,4,3,1,1,1,1,1,2,0,0,0,0,0,0,5,6,4,7,8,3,9,2,1,0,10,11,12,13,14],[0,0,1,5,1,1,1,1,1,1,1,2,0,0,0,0,0,8,92,75,58,41,7,6,5,4,3,2,1,0,13,14],[0,0,1,4,2,2,3,1,2,0,0,0,0,0,0,0,0,7,6,8,5,9,4,10,3,11,12,2,0,1,13,14]],u=i.t256[0],l=i.t257[0],c=i.t258[0],f=0,h=0,p=pe.decode._make_decoder,m=pe.decode._getbithuff,v=e[0].exifIFD.makerNote,g=v.t150?v.t150:v.t140,d=0,y=g[d++],b=g[d++];(y==73||b==88)&&(d+=2110),y==70&&(f=2),c==14&&(f+=3);for(var _=[[0,0],[0,0]],w=i.isLE?pe._binLE:pe._binBE,L=0;L<2;L++)for(var E=0;E<2;E++)_[L][E]=w.readShort(g,d),d+=2;var x=1<1&&(S=Math.floor(x/(T-1))),y==68&&b==32&&S>0&&(h=w.readShort(g,562));var L,B,k,R,F,W,K=[0,0],$=p(o[f]),U=[n,0,0,0];for(B=0;B>>4,W=(m(t,U,R-F,0)<<1)+1<>>1,W&1<>>3;i[n]|=t>>>16,i[n+1]|=t>>>8,i[n+2]|=t};pe.decode._getbithuff=function(i,e,t,n){var r=0;pe.decode._get_byte;var a,s=e[0],o=e[1],u=e[2],l=e[3];if(t==0||u<0)return 0;for(;!l&&u>>32-t,n?(u-=n[a+1]>>>8,a=n[a+1]&255):u-=t,u<0)throw"e";return e[0]=s,e[1]=o,e[2]=u,e[3]=l,a};pe.decode._make_decoder=function(i){var e,t,n,r,a,s=[];for(e=16;e!=0&&!i[e];e--);var o=17;for(s[0]=e,n=t=1;t<=e;t++)for(r=0;r>>8;else for(var h=0;h>>8,r[a+(h<<1)+1]=g[h]&255;else if(v==14||v==12||v==10)for(var y=16-v,h=0;h1),!m){if(e[t]==255&&e[t+1]==r)return{jpegOffset:t};if(y!=null&&(e[t+b]==255&&e[t+b+1]==r?c=t+b:log("JPEGInterchangeFormat does not point to SOI"),_==null?log("JPEGInterchangeFormatLength field is missing"):(b>=f||b+w<=f)&&log("JPEGInterchangeFormatLength field value is invalid"),c!=null))return{jpegOffset:c}}if(x!=null&&(S=x[0],T=x[1]),y!=null&&_!=null)if(w>=2&&b+w<=f){for(e[t+b+w-2]==255&&e[t+b+w-1]==r?h=new Uint8Array(w-2):h=new Uint8Array(w),v=0;v offset to first strip or tile");if(h==null){var k=0,R=[];R[k++]=255,R[k++]=r;var F=i.t519;if(F==null)throw new Error("JPEGQTables tag is missing");for(v=0;v>>8,R[k++]=K&255,R[k++]=v|d<<4,g=0;g<16;g++)R[k++]=e[t+W[v]+g];for(g=0;g>>8&255,R[k++]=i.height&255,R[k++]=i.width>>>8&255,R[k++]=i.width&255,R[k++]=L,L==1)R[k++]=1,R[k++]=17,R[k++]=0;else for(v=0;v<3;v++)R[k++]=v+1,R[k++]=v!=0?17:(S&15)<<4|T&15,R[k++]=v;B!=null&&B[0]!=0&&(R[k++]=255,R[k++]=o,R[k++]=0,R[k++]=4,R[k++]=B[0]>>>8&255,R[k++]=B[0]&255),h=new Uint8Array(R)}var $=-1;for(v=0;v>>8&255,h[N++]=i.height&255,h[N++]=i.width>>>8&255,h[N++]=i.width&255,h[N++]=L,L==1)h[N++]=1,h[N++]=17,h[N++]=0;else for(v=0;v<3;v++)h[N++]=v+1,h[N++]=v!=0?17:(S&15)<<4|T&15,h[N++]=v}if(e[f]==255&&e[f+1]==l){var P=e[f+2]<<8|e[f+3];for(p=new Uint8Array(P+2),p[0]=e[f],p[1]=e[f+1],p[2]=e[f+2],p[3]=e[f+3],v=0;v>>8&255,l[f.sofPosition+6]=i.height&255,l[f.sofPosition+7]=i.width>>>8&255,l[f.sofPosition+8]=i.width&255,(e[t]!=255||e[t+1]!=SOS)&&(l.set(f.sosMarker,c),c+=sosMarker.length),s=0;s=0&&u<128)for(var l=0;l=-127&&u<0){for(var l=0;l<-u+1;l++)s[r]=a[e],r++;e++}}return r};pe.decode._decodeThunder=function(i,e,t,n,r){for(var a=[0,1,0,-1],s=[0,1,2,3,0,-3,-2,-1],o=e+t,u=r*2,l=0;e>>6,h=c&63;if(e++,f==3&&(l=h&15,n[u>>>1]|=l<<4*(1-u&1),u++),f==0)for(var p=0;p>>1]|=l<<4*(1-u&1),u++;if(f==2)for(var p=0;p<2;p++){var m=h>>>3*(1-p)&7;m!=4&&(l+=s[m],n[u>>>1]|=l<<4*(1-u&1),u++)}if(f==1)for(var p=0;p<3;p++){var m=h>>>2*(2-p)&3;m!=2&&(l+=a[m],n[u>>>1]|=l<<4*(1-u&1),u++)}}};pe.decode._dmap={1:0,"011":1,"000011":2,"0000011":3,"010":-1,"000010":-2,"0000010":-3};pe.decode._lens=function(){var i=function(l,c,f,h){for(var p=0;p>>3>>3]>>>7-(u&7)&1),s==2&&(x=i[u>>>3]>>>(u&7)&1),u++,c+=x,_=="H"){if(o._lens[y][c]!=null){var S=o._lens[y][c];c="",l+=S,S<64&&(o._addNtimes(f,l,y),m+=l,y=1-y,l=0,w--,w==0&&(_=""))}}else c=="0001"&&(c="",o._addNtimes(f,d-m,y),m=d),c=="001"&&(c="",_="H",w=2),o._dmap[c]!=null&&(v=g+o._dmap[c],o._addNtimes(f,v-m,y),m=v,c="",y=1-y);f.length==a&&_==""&&(o._writeBits(f,n,r*8+b*E),y=0,b++,m=0,h=o._makeDiff(f),f=[])}};pe.decode._findDiff=function(i,e,t){for(var n=0;n=e&&i[n+1]==t)return i[n]};pe.decode._makeDiff=function(i){var e=[];i[0]==1&&e.push(0,1);for(var t=1;t>>3>>3]>>>7-(u&7)&1),s==2&&(v=i[u>>>3]>>>(u&7)&1),u++,c+=v,l=o._lens[h][c],l!=null&&(o._addNtimes(f,l,h),c="",l<64&&(h=1-h),f.length==a&&(o._writeBits(f,n,r*8+p*m),f=[],p++,h=0,u&7&&(u+=8-(u&7)),l>=64&&(u+=8)))}};pe.decode._decodeG3=function(i,e,t,n,r,a,s,o){for(var u=pe.decode,l=e<<3,c=0,f="",h=[],p=[],m=0;m>>3>>3]>>>7-(l&7)&1),s==2&&(T=i[l>>>3]>>>(l&7)&1),l++,f+=T,x){if(u._lens[b][f]!=null){var L=u._lens[b][f];f="",c+=L,L<64&&(u._addNtimes(h,c,b),b=1-b,c=0)}}else if(w=="H"){if(u._lens[b][f]!=null){var L=u._lens[b][f];f="",c+=L,L<64&&(u._addNtimes(h,c,b),v+=c,b=1-b,c=0,E--,E==0&&(w=""))}}else f=="0001"&&(f="",u._addNtimes(h,y-v,b),v=y),f=="001"&&(f="",w="H",E=2),u._dmap[f]!=null&&(g=d+u._dmap[f],u._addNtimes(h,g-v,b),v=g,f="",b=1-b);f.endsWith("000000000001")&&(_>=0&&u._writeBits(h,n,r*8+_*S),o&&(s==1&&(x=(i[l>>>3]>>>7-(l&7)&1)==1),s==2&&(x=(i[l>>>3]>>>(l&7)&1)==1),l++),f="",b=0,_++,v=0,p=u._makeDiff(h),h=[])}h.length==a&&u._writeBits(h,n,r*8+_*S)};pe.decode._addNtimes=function(i,e,t){for(var n=0;n>>3]|=i[n]<<7-(t+n&7)};pe.decode._decodeLZW=pe.decode._decodeLZW=function(){var i,e,t,n,r=0,a=0,s=0,o=0,u=function(){var d=i>>>3,y=e[d]<<16|e[d+1]<<8|e[d+2],b=y>>>24-(i&7)-a&(1<>>----------------");for(var u=0;ue.buffer.byteLength&&(f=e.buffer.byteLength-m),p=new Uint8Array(e.buffer,m,f)}if(c==2){var v=f<5?t-4:h,g=e[v],d=Math.max(0,Math.min(f-1,e.length-v));g<128||d==0?p.push(i.readASCII(e,v,d)):p=new Uint8Array(e.buffer,v,d)}if(c==3)for(var y=0;y4&&(i.writeUint(t,n,o),g=o),f==1||f==7)for(var d=0;d4&&(v+=v&1,o+=v),n+=4}}return[n,o]};pe.toRGBA8=function(i,e){function t(_e){return _e<.0031308?12.92*_e:1.055*Math.pow(_e,1/2.4)-.055}var n=i.width,r=i.height,a=n*r,s=i.data,o=new Uint8Array(a*4),u=i.t262?i.t262[0]:2,l=i.t258?Math.min(32,i.t258[0]):1;i.t262==null&&l==1&&(u=0);var c=i.t277?i.t277[0]:i.t258?i.t258.length:[1,1,3,1,1,4,3][u],f=i.t339?i.t339[0]:null;if(u==1&&l==32&&f!=3)throw"e";var h=Math.ceil(c*l*n/8);if(u==0){e=1/256;for(var p=0;p>3)]>>7-(g&7)&1;o[d]=o[d+1]=o[d+2]=(1-y)*255,o[d+3]=255}if(l==4)for(var g=0;g>1)]>>4-4*(g&1)&15;o[d]=o[d+1]=o[d+2]=(15-y)*17,o[d+3]=255}if(l==8)for(var g=0;g>3)]>>7-(g&7)&1;o[d]=o[d+1]=o[d+2]=y*255,o[d+3]=255}if(l==2)for(var g=0;g>2)]>>6-2*(g&3)&3;o[d]=o[d+1]=o[d+2]=y*85,o[d+3]=255}if(l==8)for(var g=0;g>>2)+g,y=_[b];o[d]=o[d+1]=o[d+2]=~~(.5+255*y),o[d+3]=255}}}else if(u==2)if(l==8){if(c==1)for(var g=0;g=4)for(var g=0;g1&&i.t338&&i.t338[0]!=0,p=0;p>>3)]>>>7-(F&7)&1;else if(l==2)W=s[K+(F>>>2)]>>>6-2*(F&3)&3;else if(l==4)W=s[K+(F>>>1)]>>>4-4*(F&1)&15;else if(l==8)W=s[K+F*c];else throw l;o[d]=B[W]>>8,o[d+1]=B[k+W]>>8,o[d+2]=B[k+k+W]>>8,o[d+3]=R?s[K+F*c+1]:255}else if(u==5)for(var $=c>4?1:0,g=0;g>>1),D=s[U+(Y&1)],ee=s[U+2]-128,le=s[U+3]-128,Ee=D+((le>>2)+(le>>3)+(le>>5)),j=D-((ee>>2)+(ee>>4)+(ee>>5))-((le>>1)+(le>>3)+(le>>4)+(le>>5)),ce=D+(ee+(ee>>1)+(ee>>2)+(ee>>6));o[d]=Math.max(0,Math.min(255,Ee)),o[d+1]=Math.max(0,Math.min(255,j)),o[d+2]=Math.max(0,Math.min(255,ce)),o[d+3]=255}else if(u==32845)for(var p=0;pn&&(n=o,r=s)}}pe.decodeImage(i,r,e);var u=pe.toRGBA8(r),l=r.width,c=r.height,f=document.createElement("canvas");f.width=l,f.height=c;var h=f.getContext("2d"),p=new ImageData(new Uint8ClampedArray(u.buffer),l,c);return h.putImageData(p,0,0),f.toDataURL()};pe._binBE={nextZero:function(e,t){for(;e[t]!=0;)t++;return t},readUshort:function(e,t){return e[t]<<8|e[t+1]},readShort:function(e,t){var n=pe._binBE.ui8;return n[0]=e[t+1],n[1]=e[t+0],pe._binBE.i16[0]},readInt:function(e,t){var n=pe._binBE.ui8;return n[0]=e[t+3],n[1]=e[t+2],n[2]=e[t+1],n[3]=e[t+0],pe._binBE.i32[0]},readUint:function(e,t){var n=pe._binBE.ui8;return n[0]=e[t+3],n[1]=e[t+2],n[2]=e[t+1],n[3]=e[t+0],pe._binBE.ui32[0]},readASCII:function(e,t,n){for(var r="",a=0;a>8&255,e[t+1]=n&255},writeInt:function(e,t,n){var r=pe._binBE.ui8;pe._binBE.i32[0]=n,e[t+3]=r[0],e[t+2]=r[1],e[t+1]=r[2],e[t+0]=r[3]},writeUint:function(e,t,n){e[t]=n>>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=n>>0&255},writeASCII:function(e,t,n){for(var r=0;r>8&255},writeInt:function(e,t,n){var r=pe._binBE.ui8;pe._binBE.i32[0]=n,e[t+0]=r[0],e[t+1]=r[1],e[t+2]=r[2],e[t+3]=r[3]},writeUint:function(e,t,n){e[t]=n>>>0&255,e[t+1]=n>>>8&255,e[t+2]=n>>>16&255,e[t+3]=n>>>24&255},writeASCII:pe._binBE.writeASCII};pe._copyTile=function(i,e,t,n,r,a,s,o){for(var u=Math.min(e,r-s),l=Math.min(t,a-o),c=0;c>>2<<5));r==0;){if(r=g(e,h,1),a=g(e,h+1,2),h+=3,a==0){h&7&&(h+=8-(h&7));var S=(h>>>3)+4,T=e[S-4]|e[S-3]<<8;x&&(t=i.H.W(t,f+T)),t.set(new n(e.buffer,e.byteOffset+S,T),f),h=S+T<<3,f+=T;continue}if(x&&(t=i.H.W(t,f+(1<<17))),a==1&&(p=E.J,m=E.h,l=511,c=31),a==2){s=d(e,h,5)+257,o=d(e,h+5,5)+1,u=d(e,h+10,4)+4,h+=14;for(var L=1,B=0;B<38;B+=2)E.Q[B]=0,E.Q[B+1]=0;for(var B=0;BL&&(L=k)}h+=3*u,b(E.Q,L),_(E.Q,L,E.u),p=E.w,m=E.d,h=y(E.u,(1<>>4;if(!(K>>>8))t[f++]=K;else{if(K==256)break;var $=f+K-254;if(K>264){var U=E.q[K-257];$=f+(U>>>3)+d(e,h,U&7),h+=U&7}var N=m[w(e,h)&c];h+=N&15;var P=N>>>4,D=E.c[P],q=(D>>>4)+g(e,h,D&15);for(h+=D&15;f<$;)t[f]=t[f++-q],t[f]=t[f++-q],t[f]=t[f++-q],t[f]=t[f++-q];f=$}}}return t.length==f?t:t.slice(0,f)},i.H.W=function(e,t){var n=e.length;if(t<=n)return e;var r=new Uint8Array(n<<1);return r.set(e,0),r},i.H.R=function(e,t,n,r,a,s){for(var o=i.H.e,u=i.H.Z,l=0;l>>4;if(f<=15)s[l]=f,l++;else{var h=0,p=0;f==16?(p=3+o(r,a,2),a+=2,h=s[l-1]):f==17?(p=3+o(r,a,3),a+=3):f==18&&(p=11+o(r,a,7),a+=7);for(var m=l+p;l>>1;sa&&(a=u),s++}for(;s>1,l=e[o+1],c=u<<4|l,f=t-l,h=e[o]<>>15-t;n[m]=c,h++}},i.H.l=function(e,t){for(var n=i.H.m.r,r=15-t,a=0;a>>r}},i.H.M=function(e,t,n){n=n<<(t&7);var r=t>>>3;e[r]|=n,e[r+1]|=n>>>8},i.H.I=function(e,t,n){n=n<<(t&7);var r=t>>>3;e[r]|=n,e[r+1]|=n>>>8,e[r+2]|=n>>>16},i.H.e=function(e,t,n){return(e[t>>>3]|e[(t>>>3)+1]<<8)>>>(t&7)&(1<>>3]|e[(t>>>3)+1]<<8|e[(t>>>3)+2]<<16)>>>(t&7)&(1<>>3]|e[(t>>>3)+1]<<8|e[(t>>>3)+2]<<16)>>>(t&7)},i.H.i=function(e,t){return(e[t>>>3]|e[(t>>>3)+1]<<8|e[(t>>>3)+2]<<16|e[(t>>>3)+3]<<24)>>>(t&7)},i.H.m=function(){var e=Uint16Array,t=Uint32Array;return{K:new e(16),j:new e(16),X:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],T:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],q:new e(32),p:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],z:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],c:new t(32),J:new e(512),_:[],h:new e(32),$:[],w:new e(32768),C:[],v:[],d:new e(32768),D:[],u:new e(512),Q:[],r:new e(32768),s:new t(286),Y:new t(30),a:new t(19),t:new t(15e3),k:new e(65536),g:new e(32768)}}(),function(){for(var e=i.H.m,t=32768,n=0;n>>1|(r&1431655765)<<1,r=(r&3435973836)>>>2|(r&858993459)<<2,r=(r&4042322160)>>>4|(r&252645135)<<4,r=(r&4278255360)>>>8|(r&16711935)<<8,e.r[n]=(r>>>16|r<<16)>>>17}function a(s,o,u){for(;o--!=0;)s.push(0,u)}for(var n=0;n<32;n++)e.q[n]=e.S[n]<<3|e.T[n],e.c[n]=e.p[n]<<4|e.z[n];a(e._,144,8),a(e._,112,9),a(e._,24,7),a(e._,8,8),i.H.n(e._,9),i.H.A(e._,9,e.J),i.H.l(e._,9),a(e.$,32,5),i.H.n(e.$,5),i.H.A(e.$,5,e.h),i.H.l(e.$,5),a(e.Q,19,0),a(e.C,286,0),a(e.D,30,0),a(e.v,320,0)}(),i.H.N}();pe.LosslessJpegDecode=function(){var i,e;function t(){return i[e++]}function n(){return i[e++]<<8|i[e++]}function r(g){for(var d=t(),y=[0,0,0,255],b=[],_=8,w=0;w<16;w++)b[w]=t();for(var w=0;w<16;w++)for(var E=0;E>--T&1,B=y[B+k];S[w]=B}}function a(g,d,y,b){if(g[d+3]!=255)return 0;if(y==0)return d;for(var _=0;_<2;_++){g[d+_]==0&&(g[d+_]=g.length,g.push(0,0,b,255));var w=a(g,g[d+_],y-1,b+1);if(w!=0)return w}return 0}function s(g){for(var d=g.b,y=g.f;d<25&&g.a>(d.b-=g)&65535>>16-g}function u(g,d){var y=g[0],b=0,_=255,w=0;d.b<16&&s(d);var E=d.f>>d.b-8&255;for(b=g[1][E],_=y[b+3],d.b-=y[b+2];_==255;)w=d.f>>--d.b&1,b=y[b+w],_=y[b+3];return _}function l(g,d){return g<32768>>16-d&&(g+=-(1<>4,W&15]}}else if(B==65476)for(var $=e+k-2;e<$;)r(E);else if(B==65498){e++;for(var R=0;R>>4],w[N[0]]=N.slice(1)}y=t(),e+=2;break}else B==65501?_=n():e+=k-2}var P=b>8?Uint16Array:Uint8Array,D=new P(T*L*S),q={b:0,f:0,c:y==8,a:e,data:i,d:i.length,e:_};if(q.c)p(D,L*S,q,x[0],T);else{for(var V=[],Q=0,Z=0,R=0;RQ&&(Q=ee),le>Z&&(Z=le),V.push(ee*le)}if(Q!=1||Z!=1){if(S!=3||V[1]!=1||V[2]!=1||Q!=2||Z!=1&&Z!=2)throw"e";for(var Ee=[],j=0,R=0;R>>1)*Ce+(ee>>>1))*j,xe=(le&1)*2+(ee&1);D[H]=Me[X+xe],D[H+1]=Me[X+4],D[H+2]=Me[X+5]}else for(var ee=0;ee>>1))*j,xe=ee&1;D[H]=Me[X+xe],D[H+1]=Me[X+2],D[H+2]=Me[X+3]}}else if(f(D,L*S,q,x,S,T),_==0)v(D,y,L,T,0,S,S,b);else for(var _e=Math.floor(_/L),le=0;le>>1);else if(d==6)K=g[F]+(W-g[F-E]>>>1);else if(d==7)K=W+g[F]>>>1;else throw d;g[R]+=K}}}return m}();(function(){var i=0,e=1,t=2,n=3,r=4,a=5,s=6,o=7,u=8,l=9,c=10,f=11,h=12,p=13,m=14,v=15,g=16,d=17,y=18;function b(U){var N=pe._binBE.readUshort,P={b:N(U,0),i:U[2],C:U[3],u:U[4],q:N(U,5),k:N(U,7),e:N(U,9),l:N(U,11),s:U[13],d:N(U,14)};if(P.b!=18771||P.i>1||P.q<6||P.q%6||P.e<768||P.e%24||P.l!=768||P.k=P.l||P.s>16||P.s!=P.k/P.l||P.s!=Math.ceil(P.e/P.l)||P.d!=P.q/6||P.u!=12&&P.u!=14&&P.u!=16||P.C!=16&&P.C!=0)throw"Invalid data";if(P.i==0)throw"Not implemented. We need this file!";return P.h=P.C==16,P.m=(P.h?P.l*2/3:P.l>>>1)|0,P.A=P.m+2,P.f=64,P.g=(1<>>6),D=0;D<3;D++)for(var q=0;q<41;q++)N[D][q]=[P,1];return N}function T(U){for(var N=-1,P=0;!P;N++)P=U[U.j]>>>7-U.a&1,U.a++,U.a&=7,U.a||U.j++;return N}function L(U,N){var P=0,D=8-U.a;if(U.j,U.a,N){if(N>=D)do P<<=D,N-=D,P|=U[U.j]&(1<=8);N&&(P<<=N,D-=N,P|=U[U.j]>>>D&(1<Be&&Le<_e?Ae+ke:_e>>2,Z){ce[Y]=Se;return}Ee=N.t*N.c[U.g+Pe-Ae]+N.c[U.g+ke-Pe]}else Se=Pe>ke&&Pe>Me||Pe>>2:H+X>>>1,Ee=N.t*N.c[U.g+Pe-ke]+N.c[U.g+ke-H];j=xe(Ee);var We=T(P);if(We>>1):le>>>1,Q[j][0]+=xe(le),Q[j][1]==U.f&&(Q[j][0]>>>=1,Q[j][1]>>>=1),Q[j][1]++,Se=Ee<0?Se-le:Se+le,U.i&&(Se<0?Se+=N.w:Se>U.g&&(Se-=N.w)),ce[Y]=Se>=0?Math.min(Se,U.g):0}function R(U,N,P){for(var D=U[0].length,q=N;q<=P;q++)U[q][0]=U[q-1][1],U[q][D-1]=U[q-1][D-2]}function F(U){R(U,o,h),R(U,t,r),R(U,v,d)}function W(U,N,P,D,q,V,Q,Z,Y,ee,le,Ee,j){for(var ce=0,Ce=1,Ae=qr;Ce8&&(k(U,N,P,D,q,Ce,Z[Y]),k(U,N,P,D,V,Ce,Z[Y]),Ce+=2);F(D)}function K(U,N,P,D,q,V){W(U,N,P,D,t,o,q,V,0,0,1,0,8),W(U,N,P,D,u,v,q,V,1,0,1,0,8),W(U,N,P,D,n,l,q,V,2,1,0,3,0),W(U,N,P,D,c,g,q,V,0,0,0,3,2),W(U,N,P,D,r,f,q,V,1,0,0,3,2),W(U,N,P,D,h,d,q,V,2,1,0,3,0)}function $(U,N,P,D,q,V){var Q=V.length,Z=U.l;q+1==U.s&&(Z=U.e-q*U.l);for(var Y=6*U.e*D+q*U.l,ee=0;ee<6;ee++){for(var le=0;le>>1):Ee==2?j=v+(ee>>>1):j=o+ee;var ce=U.h?(le*2/3&2147483646|le%3&1)+(le%3>>>1):le>>>1;N[Y+le]=P[j][ce+1]}Y+=U.e}}pe._decompressRAF=function(U,N){var P=b(U),D=_(U,P),q=x(P),V=new Int16Array(P.e*P.q);N==null&&(N=P.h?[[1,1,0,1,1,2],[1,1,2,1,1,0],[2,0,1,0,2,1],[1,1,2,1,1,0],[1,1,0,1,1,2],[0,2,1,2,0,1]]:[[0,1],[3,2]]);for(var Q=[[i,n],[e,r],[a,f],[s,h],[p,g],[m,d]],Z=[],Y=0;Y"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var ak=function(i){de(t,i);var e=rk(t);function t(n){return oe(this,t),e.call(this,n)}return ue(t,[{key:"parse",value:function(r){var a=pe.decode(r);pe.decodeImage(r,a[0]);var s=pe.toRGBA8(a[0]);return{width:a[0].width,height:a[0].height,data:s,flipY:!0,magFilter:Nn,minFilter:Sl}}}]),t}(Wd),Cw=function(){function i(){oe(this,i),ge(this,"imp",new ak)}return ue(i,[{key:"load",value:function(t,n,r){this.imp.load(t,n,void 0,r)}}]),i}();const sk=Object.freeze(Object.defineProperty({__proto__:null,b64Encode:vv,b64Decode:mv,saveAsFileDialog:gv,downloadFile:yv,downloadFileFromUrl:bv,getJsonFromUrl:qf,getFileFromUrl:wv,_ML_String:Pt,IsZero:Zf,postMemoryFile:_v,postEmscriptenIndexedDBFile:Ev,createCursor:Cv,MxTools:fo,McGePoint3d:fe,McGeVector3d:at,McGeMatrix3d:Ir,McGeLongArray:ua,McGeStringArray:Va,McGePoint3dArray:Pr,McGeDoubleArray:fs,McGeBound:Iy,MxCoordConvertType:Dv,get MxCoordConvert(){return Vt},getFilterImp:Aa,MxCADResbuf:ln,MxCADUtilityClass:kv,MxCADUtility:Tt,MxCADSelectionSetStatus:Mv,MxCADSelectionSet:wr,MxCADUiPrBase:oa,MxCADUiPrPoint:Yt,MxCADUiPrDist:tn,MxCADUiPrAngle:Zi,MxCADUiPrInt:$f,MxCADUiPrKeyWord:li,MxCADUiPrString:Qf,MxCADUiPrEntity:Ci,McRxObject:Ko,McObjectIdType:rt,McObjectId:Oe,McDbObject:Mn,McDbObjectArray:gu,DxfCode:Fv,get McDb(){return yn},McCmColor:pr,McDbLinetypeTableRecord:Uc,McDbDimStyleTableRecord:Vc,McDbTextStyleTableRecord:Wc,McDbLayerTableRecord:zc,McDbLayerTable:Hc,McDbLinetypeTable:jc,McDbDimStyleTable:Yc,McDbTextStyleTable:Kc,McDbDatabase:xs,McDbBlockTableRecord:_o,McDbBlockTable:Xc,McDbRasterImageDef:qc,McDbDictionary:ds,McDbXrecord:Zc,McDbGroup:Rv,McDbEntity:cn,McDbCurve:Jn,McDbLine:pt,McDbText:ps,McDbAttribute:Ic,McDbAttributeDefinition:Pc,McDbMText:Su,McDbCircle:Ln,McDbPolyline:st,McDbBlockReference:Au,McDbSpatialFilter:Fc,McDbDimension:Fa,McDbAlignedDimension:Rc,McDbRotatedDimension:Lc,McDb2LineAngularDimension:Bc,McDbArc:$i,McDbEllipse:bo,McDbPoint:xu,McDbHatch:Tu,McDbProxyEntity:Oc,McDbRasterImage:Nc,McDbWipeout:Gc,McDbBackgroundEntity:Iv,McDbSpline:wo,FetchAttributes:Lv,McObject:vl,McAppType:Bv,MxCppType:Ov,MxCADPluginMapDefaultData:Cy,MxCADPluginSampleCode:Sy,MxCADPluginBase:Ay,MxPropertiesWindowCustomValueType:Nv,MxPropertiesWindowCustomValue:xy,MxPropertiesWindowCustom:Gv,MxCompare:Ty,MxModifyColor:Dy,MxCADTempForbiddenIntelliSelect:ky,MxCADCloneType:eh,IMcDbDwgFiler:th,MxCADWorldDraw:Pv,McDbCustomEntity:by,get MxCpp(){return ne},loadMxCADassembly:Uv,MxCheckTheBrowser:My,Mx_About:Hv,createMxCad:nh,ColorMethod:jv,ColorIndexType:rh,getColorUtils:ih,createMcCmColor:Yy,setMcCmColor:Yv,drawText:Ky,drawCircle:Kv,drawLine:Xv,drawMText:qy,drawPolyLine:qv,drawPolygon:Zv,drawArc:Jv,drawEllipticalArc:$v,Mx_Erase:Qv,drawRectang:em,get MdGe(){return Co},MxApp3D:ie,MxCAD3DObject:Qy,Mx3dApplication:t1,Mx3dBaseObject:wn,Mx3dDimObject:Xo,Mx3dSymbolObject:tm,Mx3dAlgoObject:bl,Mx3dAspectObject:qo,Mx3dGeObject:$n,Mx3dGeCurve:sh,Mx3dGeConic:n1,Mx3dGePoint:Ne,Mx3dGeTrsf:nm,Mx3dGeAxis:Dt,Mx3dGeDir:gn,Mx3dGeEllipse:r1,Mx3dGeHyperbola:i1,Mx3dGeVec:an,Mx3dGeBndBox:rm,Mx3dGeCircle:bi,Mx3dShapeObject:vt,Mx3dShapeFace:Et,Mx3dShapeVertex:So,Mx3dShapeEdge:Zt,Mx3dShapeWire:An,Mx3dShapeShell:ca,Mx3dShapeSolid:fa,Mx3dShapeCompSolid:im,Mx3dShapeCompound:am,Mx3dAlgoFillet:a1,Mx3dAlgoChamfer:s1,Mx3dAlgoFillet2d:o1,Mx3dDbObject:oh,Mx3dView:vs,Mx3dGeColor:wi,Mx3dGeCSYS:Ao,Mx3dGeCSYSR:Ot,Mx3dGeCylinder:u1,Mx3dDbDocument:uh,Mx3dDbLabel:Yi,Mx3dGeLocation:sm,Mx3dGePlane:Kr,Mx3dSymbolText:c1,Mx3dShapeDownCast:f1,Mx3dBrepCastGeom:h1,Mx3dUtils:p1,Mx3dGeLine:d1,Mx3dGeomObject:zn,Mx3dGeomCurve:Zo,Mx3dGeomConic:Jo,Mx3dGeomCircle:v1,Mx3dGeomLine:m1,Mx3dGeomEllipse:g1,Mx3dGeomHyperbola:y1,Mx3dGeomParabola:b1,Mx3dMkObject:or,Mx3dMkBox:w1,Mx3dMkCone:_1,Mx3dMkCylinder:E1,Mx3dMkRevol:C1,Mx3dMkSphere:S1,Mx3dMkTorus:A1,Mx3dMkPipe:x1,Mx3dMkPipeShell:T1,Mx3dMkPrism:D1,Mx3dMkWedge:k1,Mx3dMkLoft:M1,Mx3dMkPolygon:I1,Mx3dMkFace:P1,Mx3dMkThickSolid:F1,Mx3dWireTool:R1,Mx3dGeomBoundedCurve:lh,Mx3dGeomBSplineCurve:lm,Mx3dGeomBezierCurve:L1,Mx3dGeomSurface:wl,Mx3dGeomElementarySurface:Ts,Mx3dGeomPlane:B1,Mx3dGeomConicalSurface:O1,Mx3dGeomCylindricalSurface:N1,Mx3dGeomSphericalSurface:G1,Mx3dGeomToroidalSurface:U1,Mx3dGeomBoundedSurface:ch,Mx3dGeomBSplineSurface:H1,Mx3dGeomBezierSurface:j1,Mx3dGeMaterial:Y1,Mx3dAspectLine:K1,Mx3dAspectText:X1,Mx3dAspectArrow:q1,Mx3dAspectDim:Z1,Mx3dDimDiameter:J1,Mx3dDimRadius:$1,Mx3dDimAngle:Q1,Mx3dDimLength:eb,Mx3dInterpolateBSplineCurve:tb,MxMap:nb,MxMapAddRasterTileLayer:mb,MxMapAddGoogleCnLayer:gb,mx_gps84_To_gcj02:wb,mx_gcj02_To_gps84:_b,MxTIFFLoader:Cw},Symbol.toStringTag,{value:"Module"}));globalThis.Buffer=As.Buffer;globalThis.Buffer.alloc=As.Buffer.alloc;globalThis.Buffer.from=As.Buffer.from;const dk=Object.freeze(Object.defineProperty({__proto__:null,ColorIndexType:rh,ColorMethod:jv,DxfCode:Fv,FetchAttributes:Lv,IMcDbDwgFiler:th,IsZero:Zf,McAppType:Bv,McCmColor:pr,get McDb(){return yn},McDb2LineAngularDimension:Bc,McDbAlignedDimension:Rc,McDbArc:$i,McDbAttribute:Ic,McDbAttributeDefinition:Pc,McDbBackgroundEntity:Iv,McDbBlockReference:Au,McDbBlockTable:Xc,McDbBlockTableRecord:_o,McDbCircle:Ln,McDbCurve:Jn,McDbCustomEntity:by,McDbDatabase:xs,McDbDictionary:ds,McDbDimStyleTable:Yc,McDbDimStyleTableRecord:Vc,McDbDimension:Fa,McDbEllipse:bo,McDbEntity:cn,McDbGroup:Rv,McDbHatch:Tu,McDbLayerTable:Hc,McDbLayerTableRecord:zc,McDbLine:pt,McDbLinetypeTable:jc,McDbLinetypeTableRecord:Uc,McDbMText:Su,McDbObject:Mn,McDbObjectArray:gu,McDbPoint:xu,McDbPolyline:st,McDbProxyEntity:Oc,McDbRasterImage:Nc,McDbRasterImageDef:qc,McDbRotatedDimension:Lc,McDbSpatialFilter:Fc,McDbSpline:wo,McDbText:ps,McDbTextStyleTable:Kc,McDbTextStyleTableRecord:Wc,McDbWipeout:Gc,McDbXrecord:Zc,McGeBound:Iy,McGeDoubleArray:fs,McGeLongArray:ua,McGeMatrix3d:Ir,McGePoint3d:fe,McGePoint3dArray:Pr,McGeStringArray:Va,McGeVector3d:at,McObject:vl,McObjectId:Oe,McObjectIdType:rt,McRxObject:Ko,get MdGe(){return Co},Mx3dAlgoChamfer:s1,Mx3dAlgoFillet:a1,Mx3dAlgoFillet2d:o1,Mx3dAlgoObject:bl,Mx3dApplication:t1,Mx3dAspectArrow:q1,Mx3dAspectDim:Z1,Mx3dAspectLine:K1,Mx3dAspectObject:qo,Mx3dAspectText:X1,Mx3dBaseObject:wn,Mx3dBrepCastGeom:h1,Mx3dDbDocument:uh,Mx3dDbLabel:Yi,Mx3dDbObject:oh,Mx3dDimAngle:Q1,Mx3dDimDiameter:J1,Mx3dDimLength:eb,Mx3dDimObject:Xo,Mx3dDimRadius:$1,Mx3dGeAxis:Dt,Mx3dGeBndBox:rm,Mx3dGeCSYS:Ao,Mx3dGeCSYSR:Ot,Mx3dGeCircle:bi,Mx3dGeColor:wi,Mx3dGeConic:n1,Mx3dGeCurve:sh,Mx3dGeCylinder:u1,Mx3dGeDir:gn,Mx3dGeEllipse:r1,Mx3dGeHyperbola:i1,Mx3dGeLine:d1,Mx3dGeLocation:sm,Mx3dGeMaterial:Y1,Mx3dGeObject:$n,Mx3dGePlane:Kr,Mx3dGePoint:Ne,Mx3dGeTrsf:nm,Mx3dGeVec:an,Mx3dGeomBSplineCurve:lm,Mx3dGeomBSplineSurface:H1,Mx3dGeomBezierCurve:L1,Mx3dGeomBezierSurface:j1,Mx3dGeomBoundedCurve:lh,Mx3dGeomBoundedSurface:ch,Mx3dGeomCircle:v1,Mx3dGeomConic:Jo,Mx3dGeomConicalSurface:O1,Mx3dGeomCurve:Zo,Mx3dGeomCylindricalSurface:N1,Mx3dGeomElementarySurface:Ts,Mx3dGeomEllipse:g1,Mx3dGeomHyperbola:y1,Mx3dGeomLine:m1,Mx3dGeomObject:zn,Mx3dGeomParabola:b1,Mx3dGeomPlane:B1,Mx3dGeomSphericalSurface:G1,Mx3dGeomSurface:wl,Mx3dGeomToroidalSurface:U1,Mx3dInterpolateBSplineCurve:tb,Mx3dMkBox:w1,Mx3dMkCone:_1,Mx3dMkCylinder:E1,Mx3dMkFace:P1,Mx3dMkLoft:M1,Mx3dMkObject:or,Mx3dMkPipe:x1,Mx3dMkPipeShell:T1,Mx3dMkPolygon:I1,Mx3dMkPrism:D1,Mx3dMkRevol:C1,Mx3dMkSphere:S1,Mx3dMkThickSolid:F1,Mx3dMkTorus:A1,Mx3dMkWedge:k1,Mx3dShapeCompSolid:im,Mx3dShapeCompound:am,Mx3dShapeDownCast:f1,Mx3dShapeEdge:Zt,Mx3dShapeFace:Et,Mx3dShapeObject:vt,Mx3dShapeShell:ca,Mx3dShapeSolid:fa,Mx3dShapeVertex:So,Mx3dShapeWire:An,Mx3dSymbolObject:tm,Mx3dSymbolText:c1,Mx3dUtils:p1,Mx3dView:vs,Mx3dWireTool:R1,MxApp3D:ie,MxCAD3DObject:Qy,MxCADCloneType:eh,MxCADPluginBase:Ay,MxCADPluginMapDefaultData:Cy,MxCADPluginSampleCode:Sy,MxCADResbuf:ln,MxCADSelectionSet:wr,MxCADSelectionSetStatus:Mv,MxCADTempForbiddenIntelliSelect:ky,MxCADUiPrAngle:Zi,MxCADUiPrBase:oa,MxCADUiPrDist:tn,MxCADUiPrEntity:Ci,MxCADUiPrInt:$f,MxCADUiPrKeyWord:li,MxCADUiPrPoint:Yt,MxCADUiPrString:Qf,MxCADUtility:Tt,MxCADUtilityClass:kv,MxCADWorldDraw:Pv,MxCheckTheBrowser:My,MxCompare:Ty,get MxCoordConvert(){return Vt},MxCoordConvertType:Dv,get MxCpp(){return ne},MxCppType:Ov,MxMap:nb,MxMapAddGoogleCnLayer:gb,MxMapAddRasterTileLayer:mb,MxModifyColor:Dy,MxPropertiesWindowCustom:Gv,MxPropertiesWindowCustomValue:xy,MxPropertiesWindowCustomValueType:Nv,MxTIFFLoader:Cw,MxTools:fo,Mx_About:Hv,Mx_Erase:Qv,_ML_String:Pt,b64Decode:mv,b64Encode:vv,createCursor:Cv,createMcCmColor:Yy,createMxCad:nh,default:sk,downloadFile:yv,downloadFileFromUrl:bv,drawArc:Jv,drawCircle:Kv,drawEllipticalArc:$v,drawLine:Xv,drawMText:qy,drawPolyLine:qv,drawPolygon:Zv,drawRectang:em,drawText:Ky,getColorUtils:ih,getFileFromUrl:wv,getFilterImp:Aa,getJsonFromUrl:qf,loadMxCADassembly:Uv,mx_gcj02_To_gps84:_b,mx_gps84_To_gcj02:wb,postEmscriptenIndexedDBFile:Ev,postMemoryFile:_v,saveAsFileDialog:gv,setMcCmColor:Yv},Symbol.toStringTag,{value:"Module"}));export{Bc as $,by as A,Ir as B,jv as C,Pr as D,Wc as E,fo as F,tn as G,ln as H,Ci as I,st as J,$i as K,Ln as L,ne as M,Fa as N,Tu as O,Nc as P,rh as Q,dk as R,Oe as S,ds as T,Zc as U,ky as V,gv as W,ua as X,Qf as Y,li as Z,lk as _,pr as a,bo as a0,Vt as a1,Pt as a2,Fv as a3,$f as a4,Lv as a5,Aa as a6,mb as b,Jn as c,rt as d,Tt as e,xs as f,Au as g,Yt as h,wr as i,_o as j,Zi as k,Su as l,yn as m,ps as n,My as o,vl as p,qf as q,nb as r,Ay as s,ck as t,fk as u,hk as v,pk as w,at as x,fe as y,pt as z};