diff --git a/README.md b/README.md deleted file mode 100644 index 01cba0c..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# OPENRNDR JS examples - -Coming soon... diff --git a/index.html b/index.html new file mode 100644 index 0000000..2be66a4 --- /dev/null +++ b/index.html @@ -0,0 +1,25 @@ + + + + + OPENRNDR + + + + + + + + diff --git a/openrndr-program.js b/openrndr-program.js new file mode 100644 index 0000000..c6e444e --- /dev/null +++ b/openrndr-program.js @@ -0,0 +1,2 @@ +!function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["openrndr-js-template"]=t():n["openrndr-js-template"]=t()}(globalThis,(()=>{return n={36:(n,t)=>{var i,e,r,s;"object"!=typeof globalThis&&(Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__),void 0===Math.imul&&(Math.imul=function(n,t){return(4294901760&n)*(65535&t)+(65535&n)*(0|t)|0}),void 0===ArrayBuffer.isView&&(ArrayBuffer.isView=function(n){return null!=n&&null!=n.__proto__&&n.__proto__.__proto__===Int8Array.prototype.__proto__}),void 0===Array.prototype.fill&&Object.defineProperty(Array.prototype,"fill",{value:function(n){if(null==this)throw new TypeError("this is null or not defined");for(var t=Object(this),i=t.length>>>0,e=0|arguments[1],r=e<0?Math.max(i+e,0):Math.min(e,i),s=arguments[2],_=void 0===s?i:0|s,u=_<0?Math.max(i+_,0):Math.min(_,i);rt)return 1;if(n===t){if(0!==n)return 0;var i=1/n;return i===1/t?0:i<0?-1:1}return n!=n?t!=t?0:1:-1},Array.prototype.sort.call(this,n||totalOrderComparator)}})})),void 0===Math.log2&&(Math.log2=function(n){return Math.log(n)*Math.LOG2E}),void 0===Math.clz32&&(Math.clz32=(r=Math.log,s=Math.LN2,function(n){var t=n>>>0;return 0===t?32:31-(r(t)/s|0)|0})),void 0===String.prototype.startsWith&&Object.defineProperty(String.prototype,"startsWith",{value:function(n,t){return t=t||0,this.lastIndexOf(n,t)===t}}),void 0===(e="function"==typeof(i=function(n){"use strict";var t,i,e,r,s,_,u,o,h,a,l,f,c,v,w,d,$,g,k,m,p,b,x,y,q,j,C,S,z,E,A,R,L,I,T,N,M,B,O,D,F,V,G,P,W,U,K,H,Y,X,Q,Z=Math.imul,J=ArrayBuffer.isView,nn=Math.clz32;function tn(){}function en(){}function rn(){}function sn(n){switch(n.length){case 0:return g_();case 1:return t=n[0],_n(i=[t],fe(i.length));default:return _n(n,function(n,t){return function(n,t,i){le(n,t,i),We.call(i)}(n,1,t),t}(n.length,ct(mt(We))))}var t,i}function _n(n,t){for(var i=0,e=n.length;i1&&t.f(i),!(s<0||o<=s))break n;F_(t,l,u)}return s>=0&&o>s&&t.f(_),t.f(r),t}(n,$s(),t,i,e,r,s,_).toString()}function hn(n,t,i,e,r,s,_){return t=t===p?", ":t,i=i===p?"":i,e=e===p?"":e,r=r===p?-1:r,s=s===p?"...":s,_=_===p?null:_,an(n,$s(),t,i,e,r,s,_).toString()}function an(n,t,i,e,r,s,_,u){i=i===p?", ":i,e=e===p?"":e,r=r===p?"":r,s=s===p?-1:s,_=_===p?"...":_,u=u===p?null:u,t.f(e);var o=0,h=n.g();n:for(;h.h();){var a=h.i();if((o=o+1|0)>1&&t.f(i),!(s<0||o<=s))break n;F_(t,a,u)}return s>=0&&o>s&&t.f(_),t.f(r),t}function ln(n,t){for(var i=n.g();i.h();){var e=i.i();t.e(e)}return t}function fn(n){if(ui(n,Rn)){var t;switch(n.j()){case 0:t=n_();break;case 1:t=zi(ui(n,An)?n.k(0):n.g().i());break;default:t=vn(n)}return t}return e_(cn(n))}function cn(n){return ui(n,Rn)?vn(n):ln(n,Ui())}function vn(n){return Hi(n)}function wn(n){if(ui(n,An))return function(n){var t;switch(n.j()){case 0:throw gr("List is empty.");case 1:t=n.k(0);break;default:throw _r("List has more than one element.")}return t}(n);var t=n.g();if(!t.h())throw gr("Collection is empty.");var i=t.i();if(t.h())throw _r("Collection has more than one element.");return i}function dn(n){if(n.l())throw gr("List is empty.");return n.k(0)}function $n(n,t){return t<=-2147483648?N_().t_1:ii(n,t-1|0)}function gn(n,t){return nt?t:n}function pn(n,t,i,e,r,s,_){return t=t===p?", ":t,i=i===p?"":i,e=e===p?"":e,r=r===p?-1:r,s=s===p?"...":s,_=_===p?null:_,function(n,t,i,e,r,s,_,u){i=i===p?", ":i,e=e===p?"":e,r=r===p?"":r,s=s===p?-1:s,_=_===p?"...":_,u=u===p?null:u,t.f(e);var o=0,h=n.g();n:for(;h.h();){var a=h.i();if((o=o+1|0)>1&&t.f(i),!(s<0||o<=s))break n;F_(t,a,u)}return s>=0&&o>s&&t.f(_),t.f(r),t}(n,$s(),t,i,e,r,s,_).toString()}function bn(n){this.v_1=n}function xn(n,t){if(!(t>=0))throw _r(vt("Requested character count "+t+" is less than zero."));var i=mn(t,n.length);return n.substring(i)}function yn(n,t){if(!(t>=0))throw _r(vt("Requested character count "+t+" is less than zero."));var i=mn(t,n.length);return n.substring(0,i)}function qn(n){return n}function jn(n,t){return n-t|0}function Cn(n,t){return n-t|0}function Sn(n){return n}function zn(n){return String.fromCharCode(n)}function En(){}function An(){}function Rn(){}function Ln(){}function In(){}function Tn(){}function Nn(){}function Mn(n,t){this.b1_1=n,this.c1_1=t}function Bn(n){var t=null==n?null:vt(n);return null==t?"null":t}function On(){t=this,this.e1_1=new Dn(0,-2147483648),this.f1_1=new Dn(-1,2147483647),this.g1_1=8,this.h1_1=64}function Dn(n,i){null==t&&new On,rn.call(this),this.i1_1=n,this.j1_1=i}function Fn(n){for(var t=1,i=[],e=0,r=n.length;e>5,c=new Int32Array(f+1|0),v=1<<(31&l),c[f]=c[f]|v,c);null!=a&&(i.push(a),_=Math.max(_,a.length)),_>t&&(t=_)}var l,f,c,v;return function(n,t){for(var i=0,e=new Int32Array(n);i65535)throw _r("Invalid Char code: "+e);i=function(n){return function(n){return 65535&n}(function(n){return n<<16>>16}(ni(n)))}(e)}else i=n.b(t);return i}function it(n){return"string"==typeof n}function et(n){return it(n)?n.length:n.a()}function rt(n,t,i){return it(n)?n.substring(t,i):n.c(t,i)}function st(n,t){var i=n,e=t;if(i===e)return!0;if(null==i||null==e||!si(e)||i.length!=e.length)return!1;var r=0,s=i.length;if(rt)i=1;else if(n===t){var e;if(0!==n)e=0;else{var r=1/n;e=r===1/t?0:r<0?-1:1}i=e}else i=n!=n?t!=t?0:1:-1;return i}function at(n,t){return nt?1:0}function lt(n){if(!("kotlinHashCodeValue$"in n)){var t=ft(),i=new Object;i.value=t,i.enumerable=!1,Object.defineProperty(n,"kotlinHashCodeValue$",i)}return n.kotlinHashCodeValue$}function ft(){return 4294967296*Math.random()|0}function ct(n){return n=n===p?null:n,Object.create(n)}function vt(n){return null==n?"null":si(n)?"[...]":"function"!=typeof n.toString?function(n){return Object.prototype.toString.call(n)}(n):n.toString()}function wt(n,t){return null==n?null==t:null!=t&&("object"==typeof n&&"function"==typeof n.equals?n.equals(t):n!=n?t!=t:"number"==typeof n&&"number"==typeof t?n===t&&(0!==n||1/n==1/t):n===t)}function dt(n){if(null==n)return 0;var t,i=typeof n;switch(i){case"object":t="function"==typeof n.hashCode?n.hashCode():lt(n);break;case"function":t=lt(n);break;case"number":t=Jn(n);break;case"boolean":t=$t(n);break;case"string":t=gt(String(n));break;case"bigint":t=function(n){for(var t=BigInt(32),i=BigInt(4294967295),e=n<0?-n:n,r=0,s=n<0?-1:1;0!=e;){var _=Number(e&i);r=Z(31,r)+_|0,e>>=t}return Z(r,s)}(n);break;case"symbol":t=function(n){var t=(e=n,Symbol.keyFor(e)!=p?(o===p&&(o=new Map),o):(h===p&&(h=new WeakMap),h)),i=t.get(n);var e;if(i!==p)return i;var r=ft();return t.set(n,r),r}(n);break;default:t=function(){throw new Error("Unexpected typeof `"+i+"`")}()}return t}function $t(n){return n?1231:1237}function gt(n){var t=0,i=0,e=n.length-1|0;if(i<=e)do{var r=i;i=i+1|0;var s=n.charCodeAt(r);t=Z(t,31)+s|0}while(r!==e);return t}function kt(n,t){null!=Error.captureStackTrace?Error.captureStackTrace(n,t):n.stack=(new Error).stack}function mt(n){return n.prototype}function pt(n,t,i){Error.call(n),function(n,t,i){var e=gi(Object.getPrototypeOf(n));if(!(1&e)){var r;if(null==t){var s;if(null!==t){var _=null==i?null:i.toString();s=null==_?p:_}else s=p;r=s}else r=t;n.message=r}2&e||(n.cause=i),n.name=Object.getPrototypeOf(n).constructor.name}(n,t,i)}function bt(n){var t;return null==n?function(){throw Sr()}():t=n,t}function xt(){throw Rr()}function yt(){return Kt(),a}function qt(){return Kt(),l}function jt(){return Kt(),f}function Ct(){return Kt(),v}function St(){return Kt(),w}function zt(n,t){if(Kt(),Mt(n,t))return 0;var i=Ot(n),e=Ot(t);return i&&!e?-1:!i&&e?1:Ot(At(n,t))?-1:1}function Et(n,t){Kt();var i=n.j1_1>>>16|0,e=65535&n.j1_1,r=n.i1_1>>>16|0,s=65535&n.i1_1,_=t.j1_1>>>16|0,u=65535&t.j1_1,o=t.i1_1>>>16|0,h=0,a=0,l=0,f=0;return h=(h=h+((a=(a=a+((l=(l=l+((f=f+(s+(65535&t.i1_1)|0)|0)>>>16|0)|0)+(r+o|0)|0)>>>16|0)|0)+(e+u|0)|0)>>>16|0)|0)+(i+_|0)|0,new Dn((l&=65535)<<16|(f&=65535),(h&=65535)<<16|(a&=65535))}function At(n,t){return Kt(),Et(n,t.p1())}function Rt(n,t){if(Kt(),Dt(n))return yt();if(Dt(t))return yt();if(Mt(n,Ct()))return Ft(t)?Ct():yt();if(Mt(t,Ct()))return Ft(n)?Ct():yt();if(Ot(n))return Ot(t)?Rt(Vt(n),Vt(t)):Vt(Rt(Vt(n),t));if(Ot(t))return Vt(Rt(n,Vt(t)));if(Gt(n,St())&&Gt(t,St()))return Pt(Tt(n)*Tt(t));var i=n.j1_1>>>16|0,e=65535&n.j1_1,r=n.i1_1>>>16|0,s=65535&n.i1_1,_=t.j1_1>>>16|0,u=65535&t.j1_1,o=t.i1_1>>>16|0,h=65535&t.i1_1,a=0,l=0,f=0,c=0;return f=f+((c=c+Z(s,h)|0)>>>16|0)|0,c&=65535,l=(l=l+((f=f+Z(r,h)|0)>>>16|0)|0)+((f=(f&=65535)+Z(s,o)|0)>>>16|0)|0,f&=65535,a=(a=(a=a+((l=l+Z(e,h)|0)>>>16|0)|0)+((l=(l&=65535)+Z(r,o)|0)>>>16|0)|0)+((l=(l&=65535)+Z(s,u)|0)>>>16|0)|0,l&=65535,a=a+(((Z(i,h)+Z(e,o)|0)+Z(r,u)|0)+Z(s,_)|0)|0,new Dn(f<<16|c,(a&=65535)<<16|l)}function Lt(n,t){Kt();var i=63&t;return 0===i?n:i<32?new Dn(n.i1_1<>>(32-i|0)):new Dn(0,n.i1_1<>>i|n.j1_1<<32-i,n.j1_1>>i):new Dn(n.j1_1>>i-32,n.j1_1>=0?0:-1)}function Tt(n){return Kt(),4294967296*n.j1_1+function(n){return Kt(),n.i1_1>=0?n.i1_1:4294967296+n.i1_1}(n)}function Nt(n,t){if(Kt(),t<2||36=0x8000000000000000)return Kt(),c;if(n<0)return Vt(Pt(-n));var t=4294967296;return new Dn(n%t|0,n/t|0)}function Wt(n,t){return Kt(),zt(n,t)>0}function Ut(n,t){return Kt(),zt(n,t)>=0}function Kt(){d||(d=!0,a=Bt(0),l=Bt(1),f=Bt(-1),c=new Dn(-1,2147483647),v=new Dn(0,-2147483648),w=Bt(16777216))}function Ht(n,t,i,e,r,s){return{kind:n,simpleName:t,associatedObjectKey:e,associatedObjects:r,suspendArity:s,$kClass$:p,defaultConstructor:i,iid:"interface"===n?($===p&&($=0),$=$+1|0):p}}function Yt(n,t,i,e,r,s,_,u,o){null!=r&&(t.prototype=Object.create(r.prototype),t.prototype.constructor=t);var h=Ht(n,i,e,u,o,_);t.$metadata$=h,null!=s&&((wt(h.iid,p)?t.prototype:t).$imask$=Fn(s))}function Xt(n,t,i,e,r,s,_,u){Yt("class",n,t,i,e,r,s,_,u)}function Qt(n,t,i,e,r,s,_,u){Yt("object",n,t,i,e,r,s,_,u)}function Zt(n,t,i,e,r,s,_,u){Yt("interface",n,t,i,e,r,s,_,u)}function Jt(n,t,i,e){Qt(n,"Companion",p,t,i,e,p,p)}function ni(n){return n instanceof Dn?n.w1():function(n){return n>2147483647?2147483647:n<-2147483648?-2147483648:0|n}(n)}function ti(){this.MIN_VALUE=5e-324,this.MAX_VALUE=17976931348623157e292,this.POSITIVE_INFINITY=1/0,this.NEGATIVE_INFINITY=-1/0,this.NaN=NaN,this.SIZE_BYTES=8,this.SIZE_BITS=64}function ii(n,t){return new M_(n,t)}function ei(){return ri(),Ht("class",p,p,p,p,p)}function ri(){if(!m){m=!0;var n=[ei(),ei()],t=[ei(),ei()];k=[n,t,[ei(),ei()]]}}function si(n){return _i(n)||J(n)}function _i(n){return Array.isArray(n)}function ui(n,t){return function(n,t){var i=n.$imask$;return null!=i&&function(n,t){var i=t>>5;if(i>n.length)return!1;var e=1<<(31&t);return!!(n[i]&e)}(i,t)}(n,t.$metadata$.iid)}function oi(n){return!!_i(n)&&!n.$type$}function hi(n){return"number"==typeof n||n instanceof Dn}function ai(n){return _i(n)&&"BooleanArray"===n.$type$}function li(n){return n instanceof Int8Array}function fi(n){return n instanceof Int16Array}function ci(n){return n instanceof Uint16Array&&"CharArray"===n.$type$}function vi(n){return n instanceof Int32Array}function wi(n){return n instanceof Float32Array}function di(n){return _i(n)&&"LongArray"===n.$type$}function $i(n){return n instanceof Float64Array}function gi(n){var t=n.constructor,i=null==t?null:t.$metadata$,e=null==i?null:i.errorInfo;if(null!=e)return e;var r,s=0;if(ki(n,"message")&&(s|=1),ki(n,"cause")&&(s|=2),3!==s){var _=(r=n,Object.getPrototypeOf(r));_!=Error.prototype&&(s|=gi(_))}return null!=i&&(i.errorInfo=s),s}function ki(n,t){return n.hasOwnProperty(t)}function mi(n){return new Xi(n)}function pi(n,t,i,e){i=i===p?0:i,e=e===p?n.length:e,I.j2(i,e,n.length),n.fill(t,i,e)}function bi(){b=this,this.l2_1=new Int32Array([48,1632,1776,1984,2406,2534,2662,2790,2918,3046,3174,3302,3430,3558,3664,3792,3872,4160,4240,6112,6160,6470,6608,6784,6800,6992,7088,7232,7248,42528,43216,43264,43472,43504,43600,44016,65296])}function xi(){return null==b&&new bi,b}function yi(){}function qi(n){this.m2_1=n,Ls.call(this)}function ji(n){return!(n==n)}function Ci(){}function Si(n){return function(n){if(n.l())return[];for(var t=n.j(),i=Gn(Array(t),null),e=n.g(),r=0;e.h();){var s=r;r=s+1|0,i[s]=e.i()}return i}(n)}function zi(n){return 0===(t=[n]).length?Ui():Hi(new s_(t,!0));var t}function Ei(n){return n}function Ai(n){return e=(t=[n]).length,function(n,t){for(var i=0,e=t.length;i=0))throw _r(vt("capacity must be non-negative."));return Gn(Array(n),null)}function Vi(n,t,i){n.fill(null,t,i)}function Gi(n,t){return function(n,t){if(!(t>=0))throw _r(vt("Invalid new array size: "+t+"."));return function(n,t,i){var e=n.slice(0,t);void 0!==n.$type$&&(e.$type$=n.$type$);var r=n.length;if(t>r)for(e.length=t;r=0))throw _r(vt("Negative initial capacity: "+n));return t}(n,ct(mt(Xi)))}function Hi(n){return function(n,t){var i=Li(n);return Xi.call(t,i),t}(n,ct(mt(Xi)))}function Yi(n,t){return I.u3(t,n.j()),t}function Xi(n){null==y&&new Wi,Bi.call(this),this.n_1=n,this.o_1=!1}function Qi(n,t){return Oi.call(t),ie.call(t),t.a4_1=n,t}function Zi(n){return Qi($e(),n),n}function Ji(){return Zi(ct(mt(ie)))}function ne(n,t){return function(n,t,i){Qi(ke(n,t),i)}(n,1,t),t}function te(n,t){return Qi(function(n){return function(n,t){return ge(n.j(),t),t.d4(n),t}(n,ct(mt(Be)))}(n),t),t}function ie(){this.b4_1=null}function ee(n){Di.call(this),this.e4_1=n}function re(n){se.call(this,n)}function se(n){Di.call(this),this.i4_1=n}function _e(n){this.o4_1=n}function ue(n){Di.call(this),this.p4_1=n}function oe(n,t){return Di.call(t),ce.call(t),t.r4_1=n,t}function he(n){return oe($e(),n),n}function ae(){return he(ct(mt(ce)))}function le(n,t,i){return oe(ke(n,t),i),i}function fe(n){return function(n,t){return le(n,1,t),t}(n,ct(mt(ce)))}function ce(){}function ve(n,t){return 0===(i=Z(gn(t,1),3))?0:1<<31-nn(i);var i}function we(n,t){return nn(t)+1|0}function de(n){if(n.c5_1.z4_1!==n.e5_1)throw yr("The backing map has been modified after this entry was obtained.")}function $e(){return ge(8,n=ct(mt(Be))),n;var n}function ge(n,t){return Be.call(t,Fi(n),null,new Int32Array(n),new Int32Array(ve(0,n)),2,0),t}function ke(n,t){return function(n,t,i){if(ge(n,i),!(t>0))throw _r(vt("Non-positive load factor: "+t));return i}(n,t,ct(mt(Be)))}function me(n){return n.s4_1.length}function pe(n){return n.v4_1.length}function be(n){n.z4_1=n.z4_1+1|0}function xe(n,t){!function(n,t){var i=me(n)-n.x4_1|0,e=n.x4_1-n.j()|0;return i=t&&e>=(me(n)/4|0)}(n,t)?function(n,t){if(t<0)throw wr("too many elements");if(t>me(n)){var i=I.f5(me(n),t);n.s4_1=Gi(n.s4_1,i);var e=n,r=n.t4_1;e.t4_1=null==r?null:Gi(r,i),n.u4_1=function(n,t){if(!(t>=0))throw _r(vt("Invalid new array size: "+t+"."));return function(n,t){for(var i=n.length,e=t.length,r=0,s=t;rpe(n)&&Ce(n,s)}}(n,n.x4_1+t|0):je(n,!0)}function ye(n){var t=n.t4_1;if(null!=t)return t;var i=Fi(me(n));return n.t4_1=i,i}function qe(n,t){return null==t?0:Z(dt(t),-1640531527)>>>n.y4_1|0}function je(n,t){for(var i=0,e=0,r=n.t4_1;i=0&&(n.s4_1[e]=n.s4_1[i],null!=r&&(r[e]=r[i]),t&&(n.u4_1[e]=s,n.v4_1[s]=e+1|0),e=e+1|0),i=i+1|0}Vi(n.s4_1,e,n.x4_1),null==r||Vi(r,e,n.x4_1),n.x4_1=e}function Ce(n,t){be(n),n.x4_1>n.a5_1&&je(n,!1),n.v4_1=new Int32Array(t),n.y4_1=we(0,t);for(var i=0;i0&&wt(n.s4_1[r-1|0],t))return r-1|0;if((e=e-1|0)<0)return-1;var s=i;i=s-1|0,0===s&&(i=pe(n)-1|0)}}function Ee(n,t){n.g4();n:for(;;)for(var i=qe(n,t),e=mn(Z(n.w4_1,2),pe(n)/2|0),r=0;;){var s=n.v4_1[i];if(s<=0){if(n.x4_1>=me(n)){xe(n,1);continue n}var _=n.x4_1;n.x4_1=_+1|0;var u=_;return n.s4_1[u]=t,n.u4_1[u]=i,n.v4_1[i]=u+1|0,n.a5_1=n.a5_1+1|0,be(n),r>n.w4_1&&(n.w4_1=r),u}if(wt(n.s4_1[s-1|0],t))return 0|-s;if((r=r+1|0)>e){Ce(n,Z(pe(n),2));continue n}var o=i;i=o-1|0,0===o&&(i=pe(n)-1|0)}}function Ae(n,t){Pi(n.s4_1,t);var i=n.t4_1;null==i||Pi(i,t),function(n,t){for(var i=t,e=t,r=0,s=mn(Z(n.w4_1,2),pe(n)/2|0);;){var _=i;if(i=_-1|0,0===_&&(i=pe(n)-1|0),(r=r+1|0)>n.w4_1)return n.v4_1[e]=0,x;var u=n.v4_1[i];if(0===u)return n.v4_1[e]=0,x;if(u<0?(n.v4_1[e]=-1,e=i,r=0):(qe(n,n.s4_1[u-1|0])-i&pe(n)-1)>=r&&(n.v4_1[e]=u,n.u4_1[u-1|0]=e,e=i,r=0),(s=s-1|0)<0)return n.v4_1[e]=-1,x}}(n,n.u4_1[t]),n.u4_1[t]=-1,n.a5_1=n.a5_1-1|0,be(n)}function Re(n,t){var i=Ee(n,t.r()),e=ye(n);if(i>=0)return e[i]=t.s(),!0;var r=e[(0|-i)-1|0];return!wt(t.s(),r)&&(e[(0|-i)-1|0]=t.s(),!0)}function Le(){this.g5_1=-1640531527,this.h5_1=8,this.i5_1=2,this.j5_1=-1}function Ie(n){this.k5_1=n,this.l5_1=0,this.m5_1=-1,this.n5_1=this.k5_1.z4_1,this.o5()}function Te(n){Ie.call(this,n)}function Ne(n){Ie.call(this,n)}function Me(n,t){this.c5_1=n,this.d5_1=t,this.e5_1=this.c5_1.z4_1}function Be(n,t,i,e,r,s){this.s4_1=n,this.t4_1=t,this.u4_1=i,this.v4_1=e,this.w4_1=r,this.x4_1=s,this.y4_1=we(0,pe(this)),this.z4_1=0,this.a5_1=0,this.b5_1=!1}function Oe(){}function De(){return Zi(n=ct(mt(Ge))),Ge.call(n),n;var n}function Fe(n){return function(n,t){return ne(n,t),Ge.call(t),t}(n,ct(mt(Ge)))}function Ve(n){return function(n,t){return te(n,t),Ge.call(t),t}(n,ct(mt(Ge)))}function Ge(){}function Pe(){return he(n=ct(mt(We))),We.call(n),n;var n}function We(){}function Ue(){}function Ke(n){Ue.call(this),this.p6_1=n}function He(){Ye.call(this)}function Ye(){Ue.call(this),this.r6_1=""}function Xe(){if(!j){j=!0;var n="undefined"!=typeof process&&process.versions&&!!process.versions.node;q=n?new Ke(process.stdout):new He}}function Qe(n){Je.call(this),this.u6_1=n,this.v6_1=0,this.w6_1=0,this.x6_1=null,this.y6_1=null,this.z6_1=null;var t=this.u6_1;this.a7_1=null==t?null:t.b7()}function Ze(){}function Je(){this.e7_1=null}function nr(n,t,i){this.t7_1=t,this.u7_1=i,Qe.call(this,ui(n,x_)?n:xt())}function tr(n){return pt(n),sr.call(n),n}function ir(){var n=tr(ct(mt(sr)));return kt(n,ir),n}function er(n,t){return pt(t,n),sr.call(t),t}function rr(n){var t=er(n,ct(mt(sr)));return kt(t,rr),t}function sr(){kt(this,sr)}function _r(n){var t=function(n,t){return vr(n,t),ur.call(t),t}(n,ct(mt(ur)));return kt(t,_r),t}function ur(){kt(this,ur)}function or(n){var t=function(n,t){return vr(n,t),hr.call(t),t}(n,ct(mt(hr)));return kt(t,or),t}function hr(){kt(this,hr)}function ar(){var n,t=(cr(n=ct(mt(fr))),fr.call(n),n);return kt(t,ar),t}function lr(n){var t=function(n,t){return vr(n,t),fr.call(t),t}(n,ct(mt(fr)));return kt(t,lr),t}function fr(){kt(this,fr)}function cr(n){return tr(n),dr.call(n),n}function vr(n,t){return er(n,t),dr.call(t),t}function wr(n){var t=vr(n,ct(mt(dr)));return kt(t,wr),t}function dr(){kt(this,dr)}function $r(){var n,t=(cr(n=ct(mt(kr))),kr.call(n),n);return kt(t,$r),t}function gr(n){var t=function(n,t){return vr(n,t),kr.call(t),t}(n,ct(mt(kr)));return kt(t,gr),t}function kr(){kt(this,kr)}function mr(){kt(this,mr)}function pr(n){var t=function(n,t){return vr(n,t),br.call(t),t}(n,ct(mt(br)));return kt(t,pr),t}function br(){kt(this,br)}function xr(){var n,t=(cr(n=ct(mt(qr))),qr.call(n),n);return kt(t,xr),t}function yr(n){var t=function(n,t){return vr(n,t),qr.call(t),t}(n,ct(mt(qr)));return kt(t,yr),t}function qr(){kt(this,qr)}function jr(n){var t=function(n,t){return vr(n,t),Cr.call(t),t}(n,ct(mt(Cr)));return kt(t,jr),t}function Cr(){kt(this,Cr)}function Sr(){var n,t=(cr(n=ct(mt(zr))),zr.call(n),n);return kt(t,Sr),t}function zr(){kt(this,zr)}function Er(){var n,t=(cr(n=ct(mt(Ar))),Ar.call(n),n);return kt(t,Er),t}function Ar(){kt(this,Ar)}function Rr(){var n,t=(cr(n=ct(mt(Lr))),Lr.call(n),n);return kt(t,Rr),t}function Lr(){kt(this,Lr)}function Ir(n){var t=function(n,t){return vr(n,t),Tr.call(t),t}(n,ct(mt(Tr)));return kt(t,Ir),t}function Tr(){kt(this,Tr)}function Nr(){return S||(S=!0,Math.pow(2,-26),Math.pow(2,-53)),R_(Math.random()*Math.pow(2,32)|0)}function Mr(){}function Br(n){this.z7_1=n}function Or(){z=this,Br.call(this,Object),this.c8_1="Nothing"}function Dr(){return null==z&&new Or,z}function Fr(){}function Vr(n,t,i){Br.call(this,n),this.e8_1=t,this.f8_1=i}function Gr(n){Br.call(this,n);var t=n.$metadata$;this.h8_1=null==t?null:t.simpleName}function Pr(){}function Wr(){return R||(R=!0,E=Gn(Array(0),null)),E}function Ur(n){return!(null==n)}function Kr(n){return hi(n)}function Hr(n){return null!=n&&"boolean"==typeof n}function Yr(n){return null!=n&&"number"==typeof n}function Xr(n){return null!=n&&"number"==typeof n}function Qr(n){return null!=n&&"number"==typeof n}function Zr(n){return null!=n&&"number"==typeof n}function Jr(n){return null!=n&&"number"==typeof n}function ns(n){return null!=n&&oi(n)}function ts(n){return null!=n&&"string"==typeof n}function is(n){return n instanceof Error}function es(n){return null!=n&&ai(n)}function rs(n){return null!=n&&ci(n)}function ss(n){return null!=n&&li(n)}function _s(n){return null!=n&&fi(n)}function us(n){return null!=n&&vi(n)}function os(n){return null!=n&&di(n)}function hs(n){return null!=n&&wi(n)}function as(n){return null!=n&&$i(n)}function ls(){A=this;var n=Object;this.anyClass=new Vr(n,"Any",Ur);var t=Number;this.numberClass=new Vr(t,"Number",Kr),this.nothingClass=Dr();var i=Boolean;this.booleanClass=new Vr(i,"Boolean",Hr);var e=Number;this.byteClass=new Vr(e,"Byte",Yr);var r=Number;this.shortClass=new Vr(r,"Short",Xr);var s=Number;this.intClass=new Vr(s,"Int",Qr);var _=Number;this.floatClass=new Vr(_,"Float",Zr);var u=Number;this.doubleClass=new Vr(u,"Double",Jr);var o=Array;this.arrayClass=new Vr(o,"Array",ns);var h=String;this.stringClass=new Vr(h,"String",ts);var a=Error;this.throwableClass=new Vr(a,"Throwable",is);var l=Array;this.booleanArrayClass=new Vr(l,"BooleanArray",es);var f=Uint16Array;this.charArrayClass=new Vr(f,"CharArray",rs);var c=Int8Array;this.byteArrayClass=new Vr(c,"ByteArray",ss);var v=Int16Array;this.shortArrayClass=new Vr(v,"ShortArray",_s);var w=Int32Array;this.intArrayClass=new Vr(w,"IntArray",us);var d=Array;this.longArrayClass=new Vr(d,"LongArray",os);var $=Float32Array;this.floatArrayClass=new Vr($,"FloatArray",hs);var g=Float64Array;this.doubleArrayClass=new Vr(g,"DoubleArray",as)}function fs(){return null==A&&new ls,A}function cs(n){return Array.isArray(n)?function(n){var t;switch(n.length){case 1:t=vs(n[0]);break;case 0:t=Dr();break;default:t=new Fr}return t}(n):vs(n)}function vs(n){if(n===String)return fs().stringClass;var t,i=n.$metadata$;if(null!=i){var e;if(null==i.$kClass$){var r=new Gr(n);i.$kClass$=r,e=r}else e=i.$kClass$;t=e}else t=new Gr(n);return t}function ws(n){return ds(t=ct(mt(gs))),t;var t}function ds(n){return gs.call(n,""),n}function $s(){return ds(ct(mt(gs)))}function gs(n){this.a6_1=n}function ks(n){var t=zn(n).toUpperCase();return t.length>1?n:tt(t,0)}function ms(n){return function(n){return 9<=n&&n<=13||28<=n&&n<=32||160===n||n>4096&&(5760===n||8192<=n&&n<=8202||8232===n||8233===n||8239===n||8287===n||12288===n)}(n)}function ps(n,t){var i,e,r,s=jn(n,48)>=0&&jn(n,57)<=0?Cn(n,48):jn(n,65)>=0&&jn(n,90)<=0?Cn(n,65)+10|0:jn(n,97)>=0&&jn(n,122)<=0?Cn(n,97)+10|0:jn(n,128)<0?-1:jn(n,65313)>=0&&jn(n,65338)<=0?Cn(n,65313)+10|0:jn(n,65345)>=0&&jn(n,65370)<=0?Cn(n,65345)+10|0:(i=n,e=function(n,t){for(var i=0,e=n.length-1|0,r=-1,s=0;i<=e;)if(t>(s=n[r=(i+e|0)/2|0]))i=r+1|0;else{if(t===s)return r;e=r-1|0}return r-(t=t?-1:s}function bs(n){this.d9_1=n}function xs(n,t){return ys(),function(n,t,i){if(i=i!==p&&i,ys(),i){var e=n.length,r=t.length,s=Math.min(e,r);if(0===s)return e-r|0;var _=0;if(_0&&32===tt(t,U_(t)-(s-1|0)|0);)s=s-1|0;return function(n,t){if(!(t>=0))throw _r(vt("Requested character count "+t+" is less than zero."));return yn(n,gn(n.length-t|0,0))}(t,s)+"... and "+(e-1|0)+" more common stack frames skipped"}(t,_,o),et(i)>0){var h;if(0===o)h=0;else{for(var a=0,l=0;l=c&&t.f9_1.c6(i),t.f9_1.c6(d).c6("\n")}}else t.f9_1.c6(_).c6("\n")}else t.f9_1.c6(r).c6("\n");var g=function(n){var t=n._suppressed,i=null==t?null:t;return null==i?n_():i}(n);if(!g.l())for(var k=i+" ",m=g.g();m.h();)Cs(m.i(),t,k,"Suppressed: ");return!0}function zs(){this.f9_1=$s(),this.g9_1=[],this.h9_1="",this.i9_1=0}function Es(){}function As(n){this.l9_1=n,this.k9_1=0}function Rs(){this.i2_1=2147483639}function Ls(){Es.call(this)}function Is(n){this.m9_1=n}function Ts(n,t){return t===n?"(this Map)":Bn(t)}function Ns(n,t){var i;n:{for(var e=n.q().g();e.h();){var r=e.i();if(wt(r.r(),t)){i=r;break n}}i=null}return i}function Ms(){}function Bs(n){this.n9_1=n,Vs.call(this)}function Os(n){return function(t){return Ts(i=n,(e=t).r())+"="+Ts(i,e.s());var i,e}}function Ds(){this.o3_1=null,this.p3_1=null}function Fs(){}function Vs(){Es.call(this)}function Gs(){return n=ct(mt(Js)),Bi.call(n),Js.call(n),n.q9_1=Zs().s9_1,n;var n}function Ps(n,t){if(t<0)throw or("Deque is too big.");if(t<=n.q9_1.length)return x;if(n.q9_1===Zs().s9_1){var i=n,e=gn(t,10);return i.q9_1=Gn(Array(e),null),x}!function(n,t){var i=Gn(Array(t),null);Ii(n.q9_1,i,0,n.p9_1,n.q9_1.length),Ii(n.q9_1,i,n.q9_1.length-n.p9_1|0,0,n.p9_1),n.p9_1=0,n.q9_1=i}(n,I.f5(n.q9_1.length,t))}function Ws(n,t){return t>=n.q9_1.length?t-n.q9_1.length|0:t}function Us(n,t){return t<0?t+n.q9_1.length|0:t}function Ks(n,t){return t===un(n.q9_1)?0:t+1|0}function Hs(n,t){return 0===t?un(n.q9_1):t-1|0}function Ys(n,t,i){t=0?i:i+t|0}function E_(){W=this,A_.call(this),this.bb_1=Nr()}function A_(){null==W&&new E_}function R_(n){return function(n,t,i){return I_.call(i,n,t,0,0,~n,n<<10^t>>>4),i}(n,n>>31,ct(mt(I_)))}function L_(){U=this,this.cb_1=new Dn(0,0)}function I_(n,t,i,e,r,s){if(null==U&&new L_,A_.call(this),this.db_1=n,this.eb_1=t,this.fb_1=i,this.gb_1=e,this.hb_1=r,this.ib_1=s,!(this.db_1|this.eb_1|this.fb_1|this.gb_1|this.hb_1))throw _r(vt("Initial state must have at least one non-zero element."));var _=0;if(_<64)do{_=_+1|0,this.ra()}while(_<64)}function T_(){K=this,this.t_1=new M_(1,0)}function N_(){return null==K&&new T_,K}function M_(n,t){N_(),D_.call(this,n,t,1)}function B_(n,t,i){w_.call(this),this.rb_1=i,this.sb_1=t,this.tb_1=this.rb_1>0?n<=t:n>=t,this.ub_1=this.tb_1?n:this.sb_1}function O_(){}function D_(n,t,i){if(0===i)throw _r("Step must be non-zero.");if(-2147483648===i)throw _r("Step must be greater than Int.MIN_VALUE to avoid overflow on negation.");this.nb_1=n,this.ob_1=function(n,t,i){var e;if(i>0)e=n>=t?t:t-S_(t,n,i)|0;else{if(!(i<0))throw _r("Step is zero.");e=n<=t?t:t+S_(n,t,0|-i)|0}return e}(n,t,i),this.pb_1=i}function F_(n,t,i){var e;null!=i?n.f(i(t)):null==t||("string"==typeof(e=t)||ui(e,tn))?n.f(t):t instanceof En?n.d6(t.vb_1):n.f(vt(t))}function V_(n,t,i){if(n===t)return!0;if(!(i=i!==p&&i))return!1;var e=ks(n),r=ks(t);return e===r||tt(zn(e).toLowerCase(),0)===tt(zn(r).toLowerCase(),0)}function G_(n){return 0===et(n)?W_:(t=n,function(n){return t+n});var t}function P_(n){var t;n:{var i=0,e=et(n)-1|0;if(i<=e)do{var r=i;if(i=i+1|0,!ms(tt(n,r))){t=r;break n}}while(i<=e);t=-1}var s=t;return-1===s?n.length:s}function W_(n){return n}function U_(n){return et(n)-1|0}function K_(n){var t;n:{for(var i=0;i=0))throw _r(vt("Limit must be non-negative, but was "+n))}function X_(n,t,i,e){return i=i===p?0:i,(e=e!==p&&e)||"string"!=typeof n?nu(n,t,i,et(n),e):n.indexOf(t,i)}function Q_(n){if(n.yb_1<0)n.wb_1=0,n.zb_1=null;else{var t;if(n.bc_1.ec_1>0?(n.ac_1=n.ac_1+1|0,t=n.ac_1>=n.bc_1.ec_1):t=!1,t||n.yb_1>et(n.bc_1.cc_1))n.zb_1=ii(n.xb_1,U_(n.bc_1.cc_1)),n.yb_1=-1;else{var i=n.bc_1.fc_1(n.bc_1.cc_1,n.yb_1);if(null==i)n.zb_1=ii(n.xb_1,U_(n.bc_1.cc_1)),n.yb_1=-1;else{var e=i.pa(),r=i.qa();n.zb_1=$n(n.xb_1,e),n.xb_1=e+r|0,n.yb_1=n.xb_1+(0===r?1:0)|0}}n.wb_1=1}}function Z_(n){this.bc_1=n,this.wb_1=-1,this.xb_1=function(n,t,i){if(t>i)throw _r("Cannot coerce value to an empty range: maximum "+i+" is less than minimum "+t+".");return ni?i:n}(n.dc_1,0,et(n.cc_1)),this.yb_1=this.xb_1,this.zb_1=null,this.ac_1=0}function J_(n,t,i,e){this.cc_1=n,this.dc_1=t,this.ec_1=i,this.fc_1=e}function nu(n,t,i,e,r,s){var _=(s=s!==p&&s)?kn(mn(i,U_(n)),gn(e,0)):ii(gn(i,0),mn(e,et(n)));if("string"==typeof n&&"string"==typeof t){var u=_.nb_1,o=_.ob_1,h=_.pb_1;if(h>0&&u<=o||h<0&&o<=u)do{var a=u;if(u=u+h|0,qs(t,0,n,a,t.length,r))return a}while(a!==o)}else{var l=_.nb_1,f=_.ob_1,c=_.pb_1;if(c>0&&l<=f||c<0&&f<=l)do{var v=l;if(l=l+c|0,iu(t,0,n,v,et(t),r))return v}while(v!==f)}return-1}function tu(n,t,i,e){return i=i===p?U_(n):i,(e=e!==p&&e)||"string"!=typeof n?nu(n,t,i,0,e,!0):n.lastIndexOf(t,i)}function iu(n,t,i,e,r,s){if(e<0||t<0||t>(et(n)-r|0)||e>(et(i)-r|0))return!1;var _=0;if(_>>i|n.j1_1<<32-i,n.j1_1>>>i|0):new Dn(32===i?n.j1_1:n.j1_1>>>(i-32|0)|0,0)}(this,n)},mt(Dn).u1=function(n){return new Dn(this.i1_1&n.i1_1,this.j1_1&n.j1_1)},mt(Dn).v1=function(n){return new Dn(this.i1_1^n.i1_1,this.j1_1^n.j1_1)},mt(Dn).q1=function(){return new Dn(~this.i1_1,~this.j1_1)},mt(Dn).w1=function(){return this.i1_1},mt(Dn).x1=function(){return Tt(this)},mt(Dn).toString=function(){return Nt(this,10)},mt(Dn).equals=function(n){return n instanceof Dn&&Mt(this,n)},mt(Dn).hashCode=function(){return n=this,Kt(),n.i1_1^n.j1_1;var n},mt(Dn).valueOf=function(){return this.x1()},mt(Un).h=function(){return!(this.z1_1===this.a2_1.length)},mt(Un).i=function(){if(this.z1_1===this.a2_1.length)throw gr(""+this.z1_1);var n=this.z1_1;return this.z1_1=n+1|0,this.a2_1[n]},mt(ti).b2=function(){return this.MIN_VALUE},mt(ti).c2=function(){return this.MAX_VALUE},mt(ti).d2=function(){return this.POSITIVE_INFINITY},mt(ti).e2=function(){return this.NEGATIVE_INFINITY},mt(ti).f2=function(){return this.NaN},mt(ti).g2=function(){return this.SIZE_BYTES},mt(ti).h2=function(){return this.SIZE_BITS},mt(qi).j=function(){return this.m2_1.length},mt(qi).k=function(n){if(!(0<=n&&n<=r_(this)))throw pr("index "+n+" is not in range [0.."+r_(this)+"]");return this.m2_1.item(n)},mt(Ci).toString=function(){return"kotlin.Unit"},mt(Ti).n2=function(n){this.o2();for(var t=this.g();t.h();)if(wt(t.i(),n))return t.p2(),!0;return!1},mt(Ti).p=function(n){this.o2();for(var t=!1,i=n.g();i.h();){var e=i.i();this.e(e)&&(t=!0)}return t},mt(Ti).toJSON=function(){return this.toArray()},mt(Ti).o2=function(){},mt(Ni).h=function(){return this.q2_1=0},mt(Bi).d3=function(n){var t;n:{for(var i=0,e=this.g();e.h();){if(wt(e.i(),n)){t=i;break n}i=i+1|0}t=-1}return t},mt(Bi).e3=function(n){return new Mi(this,n)},mt(Bi).c3=function(n,t){var i=this.e3(n),e=t-n|0,r=0;if(r=this.k5_1.x4_1)throw $r();var n=this.l5_1;this.l5_1=n+1|0,this.m5_1=n;var t=this.k5_1.s4_1[this.m5_1];return this.o5(),t},mt(Ne).i=function(){if(this.p5(),this.l5_1>=this.k5_1.x4_1)throw $r();var n=this.l5_1;this.l5_1=n+1|0,this.m5_1=n;var t=new Me(this.k5_1,this.m5_1);return this.o5(),t},mt(Ne).y5=function(){if(this.l5_1>=this.k5_1.x4_1)throw $r();var n=this.l5_1;this.l5_1=n+1|0,this.m5_1=n;var t=this.k5_1.s4_1[this.m5_1],i=null==t?null:dt(t),e=null==i?0:i,r=bt(this.k5_1.t4_1)[this.m5_1],s=null==r?null:dt(r),_=e^(null==s?0:s);return this.o5(),_},mt(Ne).z5=function(n){if(this.l5_1>=this.k5_1.x4_1)throw $r();var t=this.l5_1;this.l5_1=t+1|0,this.m5_1=t;var i=this.k5_1.s4_1[this.m5_1];wt(i,this.k5_1)?n.c6("(this Map)"):n.b6(i),n.d6(61);var e=bt(this.k5_1.t4_1)[this.m5_1];wt(e,this.k5_1)?n.c6("(this Map)"):n.b6(e),this.o5()},mt(Me).r=function(){return de(this),this.c5_1.s4_1[this.d5_1]},mt(Me).s=function(){return de(this),bt(this.c5_1.t4_1)[this.d5_1]},mt(Me).equals=function(n){return!(null==n||!ui(n,In)||!wt(n.r(),this.r()))&&wt(n.s(),this.s())},mt(Me).hashCode=function(){var n=this.r(),t=null==n?null:dt(n),i=null==t?0:t,e=this.s(),r=null==e?null:dt(e);return i^(null==r?0:r)},mt(Me).toString=function(){return Bn(this.r())+"="+Bn(this.s())},mt(Be).j=function(){return this.a5_1},mt(Be).z=function(n){var t=ze(this,n);return t<0?null:bt(this.t4_1)[t]},mt(Be).c4=function(n){return ze(this,n)>=0},mt(Be).m3=function(n,t){var i=Ee(this,n),e=ye(this);if(i<0){var r=e[(0|-i)-1|0];return e[(0|-i)-1|0]=t,r}return e[i]=t,null},mt(Be).d4=function(n){this.g4(),function(n,t){if(t.l())return!1;xe(n,t.j());for(var i=t.g(),e=!1;i.h();)Re(n,i.i())&&(e=!0)}(this,n.q())},mt(Be).n3=function(n){this.g4();var t=ze(this,n);if(t<0)return null;var i=bt(this.t4_1)[t];return Ae(this,t),i},mt(Be).equals=function(n){return n===this||!(null==n||!ui(n,Tn))&&function(n,t){return n.a5_1===t.j()&&n.n4(t.q())}(this,n)},mt(Be).hashCode=function(){for(var n=0,t=this.j4();t.h();)n=n+t.y5()|0;return n},mt(Be).toString=function(){var n=ws(Z(this.a5_1,3));n.c6("{");for(var t=0,i=this.j4();i.h();)t>0&&n.c6(", "),i.z5(n),t=t+1|0;return n.c6("}"),n.toString()},mt(Be).g4=function(){if(this.b5_1)throw ar()},mt(Be).m4=function(n){var t=ze(this,n.r());return!(t<0)&&wt(bt(this.t4_1)[t],n.s())},mt(Be).e6=function(n){return this.m4(ui(n,In)?n:xt())},mt(Be).f4=function(){return new Te(this)},mt(Be).j4=function(){return new Ne(this)},mt(Ge).o2=function(){return this.a4_1.g4()},mt(We).o2=function(){return this.r4_1.g4()},mt(Ue).m6=function(){this.n6("\n")},mt(Ue).o6=function(n){this.n6(n),this.m6()},mt(Ke).n6=function(n){var t=null==n?null:vt(n),i=null==t?"null":t;this.p6_1.write(i)},mt(He).n6=function(n){var t=null==n?null:vt(n),i=null==t?"null":t,e=i.lastIndexOf("\n",0);if(e>=0){var r=this.r6_1;this.r6_1=r+i.substring(0,e),this.s6();var s=e+1|0;i=i.substring(s)}this.r6_1=this.r6_1+i},mt(He).s6=function(){console.log(this.r6_1),this.r6_1=""},mt(Ye).n6=function(n){var t=this.r6_1,i=null==n?null:vt(n);this.r6_1=t+(null==i?"null":i)},mt(Qe).b7=function(){return bt(this.a7_1)},mt(Qe).c7=function(n){var t,i=this;if(n instanceof fu)t=null;else{t=null==n||null!=n?n:xt()}for(var e=t,r=function(n){return n instanceof fu?n.sc_1:null}(n);;){var s=i;null==r?s.x6_1=e:(s.v6_1=s.w6_1,s.y6_1=r);try{var _=s.d7();if(_===j_())return x;e=_,r=null}catch(n){e=null,r=n}s.f7();var u=bt(s.u6_1);if(!(u instanceof Qe)){if(null!=r){var o=new fu(bt(r));u.g7(o)}else{var h=e;u.g7(h)}return x}i=u}},mt(Qe).g7=function(n){return this.c7(n)},mt(Ze).b7=function(){throw or(vt("This continuation is already complete"))},mt(Ze).c7=function(n){throw or(vt("This continuation is already complete"))},mt(Ze).g7=function(n){return this.c7(n)},mt(Ze).toString=function(){return"This continuation is already complete"},mt(Je).h7=function(){var n,t=this.e7_1;if(null==t){var i=this.b7().i7(F),e=null==i?null:i.j7(this),r=null==e?this:e;this.e7_1=r,n=r}else n=t;return n},mt(Je).f7=function(){var n=this.e7_1;null!=n&&n!==this&&bt(this.b7().i7(F)).k7(n),this.e7_1=C},mt(nr).d7=function(){if(null!=this.y6_1)throw this.y6_1;var n=this.t7_1;return"function"==typeof n?n(this.u7_1):this.t7_1.v7(this.u7_1)},mt(Br).a8=function(){return this.z7_1},mt(Br).equals=function(n){return!(n instanceof Or)&&!(n instanceof Fr)&&n instanceof Br&&wt(this.a8(),n.a8())},mt(Br).hashCode=function(){var n=this.y7(),t=null==n?null:gt(n);return null==t?0:t},mt(Br).toString=function(){return"class "+this.y7()},mt(Or).y7=function(){return this.c8_1},mt(Or).a8=function(){throw lr("There's no native JS class for Nothing type")},mt(Or).equals=function(n){return n===this},mt(Or).hashCode=function(){return 0},mt(Fr).y7=function(){throw or(vt("Unknown simpleName for ErrorKClass"))},mt(Fr).equals=function(n){return n===this},mt(Fr).hashCode=function(){return 0},mt(Vr).equals=function(n){return n instanceof Vr&&mt(Br).equals.call(this,n)&&this.e8_1===n.e8_1},mt(Vr).y7=function(){return this.e8_1},mt(Gr).y7=function(){return this.h8_1},mt(ls).i8=function(){return this.anyClass},mt(ls).j8=function(){return this.numberClass},mt(ls).k8=function(){return this.nothingClass},mt(ls).l8=function(){return this.booleanClass},mt(ls).m8=function(){return this.byteClass},mt(ls).n8=function(){return this.shortClass},mt(ls).o8=function(){return this.intClass},mt(ls).p8=function(){return this.floatClass},mt(ls).q8=function(){return this.doubleClass},mt(ls).r8=function(){return this.arrayClass},mt(ls).s8=function(){return this.stringClass},mt(ls).t8=function(){return this.throwableClass},mt(ls).u8=function(){return this.booleanArrayClass},mt(ls).v8=function(){return this.charArrayClass},mt(ls).w8=function(){return this.byteArrayClass},mt(ls).x8=function(){return this.shortArrayClass},mt(ls).y8=function(){return this.intArrayClass},mt(ls).z8=function(){return this.longArrayClass},mt(ls).a9=function(){return this.floatArrayClass},mt(ls).b9=function(){return this.doubleArrayClass},mt(ls).functionClass=function(n){var t,i,e=Wr()[n];if(null==e){var r=new Vr(Function,"Function"+n,(i=n,function(n){return"function"==typeof n&&n.length===i}));Wr()[n]=r,t=r}else t=e;return t},mt(gs).a=function(){return this.a6_1.length},mt(gs).b=function(n){var t=this.a6_1;if(!(0<=n&&n<=(et(t)-1|0)))throw pr("index: "+n+", length: "+this.a()+"}");return tt(t,n)},mt(gs).c=function(n,t){return this.a6_1.substring(n,t)},mt(gs).d6=function(n){return this.a6_1=this.a6_1+zn(n),this},mt(gs).f=function(n){return this.a6_1=this.a6_1+Bn(n),this},mt(gs).b6=function(n){return this.a6_1=this.a6_1+Bn(n),this},mt(gs).c9=function(n){return this.c6(n.toString())},mt(gs).c6=function(n){var t=this.a6_1;return this.a6_1=t+(null==n?"null":n),this},mt(gs).toString=function(){return this.a6_1},mt(bs).e9=function(n,t){return this.d9_1(n,t)},mt(bs).compare=function(n,t){return this.e9(n,t)},mt(bs).y1=function(){return this.d9_1},mt(bs).equals=function(n){return!(null==n||!ui(n,yi))&&!(null==n||!ui(n,Vn))&&wt(this.y1(),n.y1())},mt(bs).hashCode=function(){return dt(this.y1())},mt(zs).j9=function(n){return Cs(n,this,"",""),this.f9_1.toString()},mt(Es).w=function(n){var t;n:if(ui(this,Rn)&&this.l())t=!1;else{for(var i=this.g();i.h();)if(wt(i.i(),n)){t=!0;break n}t=!1}return t},mt(Es).x=function(n){var t;n:if(ui(n,Rn)&&n.l())t=!0;else{for(var i=n.g();i.h();){var e=i.i();if(!this.w(e)){t=!1;break n}}t=!0}return t},mt(Es).l=function(){return 0===this.j()},mt(Es).toString=function(){return hn(this,", ","[","]",p,p,(n=this,function(t){return t===n?"(this Collection)":Bn(t)}));var n},mt(Es).toArray=function(){return Si(this)},mt(As).h=function(){return this.k9_1=t)throw pr("index: "+n+", size: "+t)},mt(Rs).z2=function(n,t){if(n<0||n>t)throw pr("index: "+n+", size: "+t)},mt(Rs).j2=function(n,t,i){if(n<0||t>i)throw pr("fromIndex: "+n+", toIndex: "+t+", size: "+i);if(n>t)throw _r("fromIndex: "+n+" > toIndex: "+t)},mt(Rs).f5=function(n,t){var i=n+(n>>1)|0;return(i-t|0)<0&&(i=t),(i-2147483639|0)>0&&(i=t>2147483639?2147483647:2147483639),i},mt(Rs).g3=function(n){for(var t=1,i=n.g();i.h();){var e=i.i(),r=Z(31,t),s=null==e?null:dt(e);t=r+(null==s?0:s)|0}return t},mt(Rs).f3=function(n,t){if(n.j()!==t.j())return!1;for(var i=t.g(),e=n.g();e.h();)if(!wt(e.i(),i.i()))return!1;return!0},mt(Ls).g=function(){return new As(this)},mt(Ls).equals=function(n){return n===this||!(null==n||!ui(n,An))&&I.f3(this,n)},mt(Ls).hashCode=function(){return I.g3(this)},mt(Is).h=function(){return this.m9_1.h()},mt(Is).i=function(){return this.m9_1.i().r()},mt(Bs).c4=function(n){return this.n9_1.y(n)},mt(Bs).w=function(n){return(null==n||null!=n)&&this.c4(null==n||null!=n?n:xt())},mt(Bs).g=function(){return new Is(this.n9_1.q().g())},mt(Bs).j=function(){return this.n9_1.j()},mt(Ds).y=function(n){return!(null==Ns(this,n))},mt(Ds).q3=function(n){if(null==n||!ui(n,In))return!1;var t=n.r(),i=n.s(),e=(ui(this,Tn)?this:xt()).z(t);return!(!wt(i,e)||null==e&&!(ui(this,Tn)?this:xt()).y(t))},mt(Ds).equals=function(n){if(n===this)return!0;if(null==n||!ui(n,Tn))return!1;if(this.j()!==n.j())return!1;var t,i=n.q();n:if(ui(i,Rn)&&i.l())t=!0;else{for(var e=i.g();e.h();){var r=e.i();if(!this.q3(r)){t=!1;break n}}t=!0}return t},mt(Ds).z=function(n){var t=Ns(this,n);return null==t?null:t.s()},mt(Ds).hashCode=function(){return dt(this.q())},mt(Ds).l=function(){return 0===this.j()},mt(Ds).j=function(){return this.q().j()},mt(Ds).a1=function(){return null==this.o3_1&&(this.o3_1=new Bs(this)),bt(this.o3_1)},mt(Ds).toString=function(){return hn(this.q(),", ","{","}",p,p,Os(this))},mt(Fs).s3=function(n){for(var t=0,i=n.g();i.h();){var e=i.i(),r=t,s=null==e?null:dt(e);t=r+(null==s?0:s)|0}return t},mt(Fs).r3=function(n,t){return n.j()===t.j()&&n.x(t)},mt(Vs).equals=function(n){return n===this||!(null==n||!ui(n,Ln))&&T.r3(this,n)},mt(Vs).hashCode=function(){return T.s3(this)},mt(Js).j=function(){return this.r9_1},mt(Js).l=function(){return 0===this.r9_1},mt(Js).u9=function(){if(this.l())throw gr("ArrayDeque is empty.");var n=this.p9_1,t=this.q9_1[n];return null==t||null!=t?t:xt()},mt(Js).v9=function(){if(this.l())throw gr("ArrayDeque is empty.");var n=r_(this),t=Ws(this,this.p9_1+n|0),i=this.q9_1[t];return null==i||null!=i?i:xt()},mt(Js).w9=function(n){Xs(this),Ps(this,this.r9_1+1|0),this.p9_1=Hs(this,this.p9_1),this.q9_1[this.p9_1]=n,this.r9_1=this.r9_1+1|0},mt(Js).x9=function(n){Xs(this),Ps(this,this.r9_1+1|0);var t=this.q9_1,i=this.r9_1;t[Ws(this,this.p9_1+i|0)]=n,this.r9_1=this.r9_1+1|0},mt(Js).y9=function(){if(this.l())throw gr("ArrayDeque is empty.");Xs(this);var n=this.p9_1,t=this.q9_1[n],i=null==t||null!=t?t:xt();return this.q9_1[this.p9_1]=null,this.p9_1=Ks(this,this.p9_1),this.r9_1=this.r9_1-1|0,i},mt(Js).z9=function(){if(this.l())throw gr("ArrayDeque is empty.");Xs(this);var n=r_(this),t=Ws(this,this.p9_1+n|0),i=this.q9_1[t],e=null==i||null!=i?i:xt();return this.q9_1[t]=null,this.r9_1=this.r9_1-1|0,e},mt(Js).e=function(n){return this.x9(n),!0},mt(Js).a3=function(n,t){if(I.z2(n,this.r9_1),n===this.r9_1)return this.x9(t),x;if(0===n)return this.w9(t),x;Xs(this),Ps(this,this.r9_1+1|0);var i=Ws(this,this.p9_1+n|0);if(n>1){var e=Hs(this,i),r=Hs(this,this.p9_1);e>=this.p9_1?(this.q9_1[r]=this.q9_1[this.p9_1],Ii(this.q9_1,this.q9_1,this.p9_1,this.p9_1+1|0,e+1|0)):(Ii(this.q9_1,this.q9_1,this.p9_1-1|0,this.p9_1,this.q9_1.length),this.q9_1[this.q9_1.length-1|0]=this.q9_1[0],Ii(this.q9_1,this.q9_1,0,1,e+1|0)),this.q9_1[e]=t,this.p9_1=r}else{var s=this.r9_1,_=Ws(this,this.p9_1+s|0);i<_?Ii(this.q9_1,this.q9_1,i+1|0,i,_):(Ii(this.q9_1,this.q9_1,1,0,_),this.q9_1[0]=this.q9_1[this.q9_1.length-1|0],Ii(this.q9_1,this.q9_1,i+1|0,i,this.q9_1.length-1|0)),this.q9_1[i]=t}this.r9_1=this.r9_1+1|0},mt(Js).p=function(n){if(n.l())return!1;Xs(this),Ps(this,this.r9_1+n.j()|0);var t=this.r9_1;return function(n,t,i){var e=i.g(),r=t,s=n.q9_1.length;if(r=i){var s=this.p9_1,_=this.q9_1.length;if(s<_)do{var u=s;if(s=s+1|0,wt(n,this.q9_1[u]))return u-this.p9_1|0}while(s<_);var o=0;if(o>1)t>=this.p9_1?Ii(this.q9_1,this.q9_1,this.p9_1+1|0,this.p9_1,t):(Ii(this.q9_1,this.q9_1,1,0,t),this.q9_1[0]=this.q9_1[this.q9_1.length-1|0],Ii(this.q9_1,this.q9_1,this.p9_1+1|0,this.p9_1,this.q9_1.length-1|0)),this.q9_1[this.p9_1]=null,this.p9_1=Ks(this,this.p9_1);else{var r=r_(this),s=Ws(this,this.p9_1+r|0);t<=s?Ii(this.q9_1,this.q9_1,t,t+1|0,s+1|0):(Ii(this.q9_1,this.q9_1,t,t+1|0,this.q9_1.length),this.q9_1[this.q9_1.length-1|0]=this.q9_1[0],Ii(this.q9_1,this.q9_1,0,1,s+1|0)),this.q9_1[s]=null}return this.r9_1=this.r9_1-1|0,e},mt(Js).b3=function(){if(!this.l()){Xs(this);var n=this.r9_1,t=Ws(this,this.p9_1+n|0);Ys(this,this.p9_1,t)}this.p9_1=0,this.r9_1=0},mt(Js).aa=function(n){var t,i=n.length>=this.r9_1?n:(t=this.r9_1,Gn(Array(t),null)),e=oi(i)?i:xt(),r=this.r9_1,s=Ws(this,this.p9_1+r|0);this.p9_10;){var o=u,h=r+1|0,a=_+1|0,l=Math.min(o,h,a);Ii(n.q9_1,n.q9_1,1+(_-l|0)|0,1+(r-l|0)|0,r+1|0),r=Us(n,r-l|0),_=Us(n,_-l|0),u=u-l|0}}(this,n,t);var e=Ws(this,this.p9_1+i|0);Ys(this,this.p9_1,e),this.p9_1=e}else{!function(n,t,i){for(var e=Ws(n,n.p9_1+i|0),r=Ws(n,n.p9_1+t|0),s=n.r9_1-i|0;s>0;){var _=s,u=n.q9_1.length-e|0,o=n.q9_1.length-r|0,h=Math.min(_,u,o);Ii(n.q9_1,n.q9_1,r,e,e+h|0),e=Ws(n,e+h|0),r=Ws(n,r+h|0),s=s-h|0}}(this,n,t);var r=this.r9_1,s=Ws(this,this.p9_1+r|0);Ys(this,Us(this,s-i|0),s)}this.r9_1=this.r9_1-i|0},mt(t_).equals=function(n){return!(null==n||!ui(n,An))&&n.l()},mt(t_).hashCode=function(){return 1},mt(t_).toString=function(){return"[]"},mt(t_).j=function(){return 0},mt(t_).l=function(){return!0},mt(t_).k=function(n){throw pr("Empty list doesn't contain element at index "+n+".")},mt(t_).g=function(){return B},mt(i_).h=function(){return!1},mt(i_).i=function(){throw $r()},mt(s_).j=function(){return this.ca_1.length},mt(s_).l=function(){return 0===this.ca_1.length},mt(s_).g=function(){return Pn(this.ca_1)},mt(__).toString=function(){return"IndexedValue(index="+this.ea_1+", value="+Bn(this.fa_1)+")"},mt(__).hashCode=function(){var n=this.ea_1;return Z(n,31)+(null==this.fa_1?0:dt(this.fa_1))|0},mt(__).equals=function(n){if(this===n)return!0;if(!(n instanceof __))return!1;var t=n instanceof __?n:xt();return this.ea_1===t.ea_1&&!!wt(this.fa_1,t.fa_1)},mt(o_).g=function(){return new h_(this.ga_1())},mt(h_).h=function(){return this.ha_1.h()},mt(h_).i=function(){var n=this.ia_1;return this.ia_1=n+1|0,new __(Ri(n),this.ha_1.i())},mt(f_).equals=function(n){return!(null==n||!ui(n,Tn))&&n.l()},mt(f_).hashCode=function(){return 0},mt(f_).toString=function(){return"{}"},mt(f_).j=function(){return 0},mt(f_).l=function(){return!0},mt(f_).la=function(n){return!1},mt(f_).y=function(n){return(null==n||null!=n)&&this.la(null==n||null!=n?n:xt())},mt(f_).ma=function(n){return null},mt(f_).z=function(n){return null!=n&&null==n?null:this.ma(null==n||null!=n?n:xt())},mt(f_).q=function(){return m_()},mt(f_).a1=function(){return m_()},mt(w_).i=function(){return this.ra()},mt(d_).i=function(){return this.ta_1.va_1(this.sa_1.i())},mt(d_).h=function(){return this.sa_1.h()},mt($_).g=function(){return new d_(this)},mt(k_).equals=function(n){return!(null==n||!ui(n,Ln))&&n.l()},mt(k_).hashCode=function(){return 0},mt(k_).toString=function(){return"[]"},mt(k_).j=function(){return 0},mt(k_).l=function(){return!0},mt(k_).xa=function(n){return!1},mt(k_).w=function(n){return!1},mt(k_).ya=function(n){return n.l()},mt(k_).x=function(n){return this.ya(n)},mt(k_).g=function(){return B},mt(b_).e9=function(n,t){return this.za_1(n,t)},mt(b_).compare=function(n,t){return this.e9(n,t)},mt(b_).y1=function(){return this.za_1},mt(b_).equals=function(n){return!(null==n||!ui(n,yi))&&!(null==n||!ui(n,Vn))&&wt(this.y1(),n.y1())},mt(b_).hashCode=function(){return dt(this.y1())},mt(q_).i7=function(n){return null},mt(q_).hashCode=function(){return 0},mt(q_).toString=function(){return"EmptyCoroutineContext"},mt(I_).ra=function(){var n=this.db_1;n^=n>>>2,this.db_1=this.eb_1,this.eb_1=this.fb_1,this.fb_1=this.gb_1;var t=this.hb_1;return this.gb_1=t,n=n^n<<1^t^t<<4,this.hb_1=n,this.ib_1=this.ib_1+362437|0,n+this.ib_1|0},mt(M_).mb=function(){return this.nb_1},mt(M_).qb=function(){return this.ob_1},mt(M_).l=function(){return this.nb_1>this.ob_1},mt(M_).equals=function(n){return n instanceof M_&&(this.l()&&n.l()||this.nb_1===n.nb_1&&this.ob_1===n.ob_1)},mt(M_).hashCode=function(){return this.l()?-1:Z(31,this.nb_1)+this.ob_1|0},mt(M_).toString=function(){return this.nb_1+".."+this.ob_1},mt(B_).h=function(){return this.tb_1},mt(B_).ra=function(){var n=this.ub_1;if(n===this.sb_1){if(!this.tb_1)throw $r();this.tb_1=!1}else this.ub_1=this.ub_1+this.rb_1|0;return n},mt(O_).u=function(n,t,i){return new D_(n,t,i)},mt(D_).g=function(){return new B_(this.nb_1,this.ob_1,this.pb_1)},mt(D_).l=function(){return this.pb_1>0?this.nb_1>this.ob_1:this.nb_10?this.nb_1+".."+this.ob_1+" step "+this.pb_1:this.nb_1+" downTo "+this.ob_1+" step "+(0|-this.pb_1)},mt(Z_).i=function(){if(-1===this.wb_1&&Q_(this),0===this.wb_1)throw $r();var n=this.zb_1,t=n instanceof M_?n:xt();return this.zb_1=null,this.wb_1=-1,t},mt(Z_).h=function(){return-1===this.wb_1&&Q_(this),1===this.wb_1},mt(J_).g=function(){return new Z_(this)},mt(_u).h=function(){if(0!==this.kc_1)return 1===this.kc_1;if(this.nc_1<0)return this.kc_1=2,!1;var n=-1,t=et(this.jc_1),i=this.lc_1,e=et(this.jc_1);if(i=0))throw _r(vt("Requested element count "+t+" is less than zero."));return function(n,t){if(!(t>=0))throw _r(vt("Requested element count "+t+" is less than zero."));if(0===t)return n_();if(ui(n,Rn)){if(t>=n.j())return fn(n);if(1===t)return zi(function(n){if(ui(n,An))return dn(n);var t=n.g();if(!t.h())throw gr("Collection is empty.");return t.i()}(n))}var i=0,e=Ki(t),r=n.g();n:for(;r.h();){var s=r.i();if(e.e(s),(i=i+1|0)===t)break n}return e_(e)}(n,gn(n.j()-t|0,0))},n.$_$.m1=n_,n.$_$.n1=l_,n.$_$.o1=g_,n.$_$.p1=function(n){return function(n,t){for(var i=0,e=n.length;i0?mi(n):n_()},n.$_$.c2=Ei,n.$_$.d2=function(n,t){var i=Ve(n);return i.d4(t),i},n.$_$.e2=function(n,t){if(ui(t,Rn)){var i=Ki(n.j()+t.j()|0);return i.p(n),i.p(t),i}var e=Hi(n);return v_(e,t),e},n.$_$.f2=function(n){if(ui(n,Rn)&&n.j()<=1)return fn(n);var t=cn(n);return function(n){var t=(n.j()/2|0)-1|0;if(t<0)return x;var i=r_(n),e=0;if(e<=t)do{var r=e;e=e+1|0;var s=n.k(r);n.k2(r,n.k(i)),n.k2(i,s),i=i-1|0}while(r!==t)}(t),t},n.$_$.g2=function(n){return sn(n)},n.$_$.h2=function(n){n.sort(void 0)},n.$_$.i2=function(n){for(var t=Wn(n.j()),i=0,e=n.g();e.h();){var r=e.i(),s=i;i=s+1|0,t[s]=r}return t},n.$_$.j2=function(n){for(var t=new Float64Array(n.j()),i=0,e=n.g();e.h();){var r=e.i(),s=i;i=s+1|0,t[s]=r}return t},n.$_$.k2=function(n){for(var t=new Float32Array(n.j()),i=0,e=n.g();e.h();){var r=e.i(),s=i;i=s+1|0,t[s]=r}return t},n.$_$.l2=function(n){return ln(n,fe(u_(n,12)))},n.$_$.m2=function(n){for(var t=new Int32Array(n.j()),i=0,e=n.g();e.h();){var r=e.i(),s=i;i=s+1|0,t[s]=r}return t},n.$_$.n2=function(n){if(0===n.j())return n_();var t=n.q().g();if(!t.h())return n_();var i=t.i();if(!t.h())return zi(new vu(i.r(),i.s()));var e=Ki(n.j()),r=new vu(i.r(),i.s());e.e(r);do{var s=t.i(),_=new vu(s.r(),s.s());e.e(_)}while(t.h());return e},n.$_$.o2=function(n){switch(n.length){case 0:return n_();case 1:return zi(n[0]);default:return function(n){return Hi(function(n){return new s_(n,!1)}(n))}(n)}},n.$_$.p2=function(n){if(ui(n,Rn)){var t;switch(n.j()){case 0:t=l_();break;case 1:t=Ai(ui(n,An)?n.k(0):n.g().i());break;default:t=c_(n,Fe(n.j()))}return t}return function(n){return 0===n.j()?l_():n}(c_(n,De()))},n.$_$.q2=function(n){return[].slice.call(n)},n.$_$.r2=function(n){return new o_((t=n,function(){return Pn(t)}));var t},n.$_$.s2=function(n){var t,i=n.g();if(i.h()){for(var e=Ui(),r=i.i();i.h();){var s=i.i(),_=wu(r,s);e.e(_),r=s}t=e}else t=n_();return t},n.$_$.t2=function(n){if(!(n.length>0))throw _r(vt("Failed requirement."));return new b_((t=n,function(n,i){return function(n,t,i){for(var e=0,r=i.length;e=0:nu(n,t,0,et(n),i)>=0},n.$_$.h4=xn,n.$_$.i4=K_,n.$_$.j4=function(n,t){return t=t===p?" ":t,pn(function(n,t){return new $_(n,t)}(ru(n),(i=t,function(n){return K_(n)?n.length0,u=Ki(_?mn(e,10):10);n:do{var o=vt(rt(n,r,s));if(u.e(o),r=s+t.length|0,_&&u.j()===(e-1|0))break n;s=X_(n,t,r,i)}while(-1!==s);var h=vt(rt(n,r,et(n)));return u.e(h),u}(n,r,i,e)}for(var s=function(n){return new bn(n)}(function(n,t,i,e,r){return i=i===p?0:i,e=e!==p&&e,Y_(r=r===p?0:r),new J_(n,i,r,(s=mi(t),_=e,function(n,t){var i=function(n,t,i,e,r){if(!e&&1===t.j()){var s=wn(t),_=r?tu(n,s,i):X_(n,s,i);return _<0?null:wu(_,s)}var u=r?kn(mn(i,U_(n)),0):ii(gn(i,0),et(n));if("string"==typeof n){var o=u.nb_1,h=u.ob_1,a=u.pb_1;if(a>0&&o<=h||a<0&&h<=o)do{var l,f=o;o=o+a|0;n:{for(var c=t.g();c.h();){var v=c.i();if(qs(v,0,n,f,v.length,e)){l=v;break n}}l=null}if(null!=l)return wu(f,l)}while(f!==h)}else{var w=u.nb_1,d=u.ob_1,$=u.pb_1;if($>0&&w<=d||$<0&&d<=w)do{var g,k=w;w=w+$|0;n:{for(var m=t.g();m.h();){var p=m.i();if(iu(p,0,n,k,p.length,e)){g=p;break n}}g=null}if(null!=g)return wu(k,g)}while(k!==d)}return null}(n,s,t,_,!1);return null==i?null:wu(i.na_1,i.oa_1.length)}));var s,_}(n,t,p,i,e)),_=Ki(u_(s,10)),u=s.g();u.h();){var o=H_(n,u.i());_.e(o)}return _},n.$_$.l4=function(n,t,i){return(i=i!==p&&i)?qs(n,0,t,0,t.length,i):n.startsWith(t,0)},n.$_$.m4=function(n,t,i){i=i===p?n:i;var e,r=tu(n,t);if(-1===r)e=i;else{var s=r+t.length|0,_=n.length;e=n.substring(s,_)}return e},n.$_$.n4=function(n,t,i){i=i===p?n:i;var e=X_(n,t);return-1===e?i:n.substring(0,e)},n.$_$.o4=yn,n.$_$.p4=function(n){ys();for(var t=0,i=n.length,e=(s=void 0,(s=new Uint16Array(i)).$type$="CharArray",s);t0&&(i=e)}return i}(_),a=null==h?0:h,l=(n.length,Z(t.length,i.j()),G_(t)),f=r_(i),c=Ui(),v=0,w=i.g();w.h();){var d=w.i(),$=v;v=$+1|0;var g,k=Ri($);if(0!==k&&k!==f||!K_(d)){var m,b=xn(d,a);g=null==(m=null==b?null:l(b))?d:m}else g=null;var x=g;null==x||c.e(x)}return an(c,ws(),"\n").toString()}(n,"")},n.$_$.s4=function(n,t){return function(n,t,i){if(t=t===p?"":t,K_(i=i===p?"|":i))throw _r(vt("marginPrefix must be non-blank string."));for(var e=eu(n),r=(n.length,Z(t.length,e.j()),G_(t)),s=r_(e),_=Ui(),u=0,o=e.g();o.h();){var h=o.i(),a=u;u=a+1|0;var l,f=Ri(a);if(0!==f&&f!==s||!K_(h)){var c;n:{var v=0,w=et(h)-1|0;if(v<=w)do{var d=v;if(v=v+1|0,!ms(tt(h,d))){c=d;break n}}while(v<=w);c=-1}var $,g,k=c;if(-1===k)$=null;else if(js(h,i,k)){var m=k+i.length|0;$=h.substring(m)}else $=null;l=null==(g=null==$?null:r($))?h:g}else l=null;var b=l;null==b||_.e(b)}return an(_,ws(),"\n").toString()}(n,"",t=t===p?"|":t)},n.$_$.t4=en,n.$_$.u4=Mn,n.$_$.v4=sr,n.$_$.w4=Dn,n.$_$.x4=cu,n.$_$.y4=vu,n.$_$.z4=xt,n.$_$.a5=function(n){throw _r(n)},n.$_$.b5=bt,n.$_$.c5=function(n,t){return new hu(t)},n.$_$.d5=function(n){return new hu(n)},n.$_$.e5=function(){throw Er()},n.$_$.f5=function(n){return(new zs).j9(n)},n.$_$.g5=function(n){throw Ir("lateinit property "+n+" has not been initialized")},n.$_$.h5=function(n){return Zn(ji(n)?NaN:n)},n.$_$.i5=function(n){return Zn(n)},n.$_$.j5=Bn,n.$_$.k5=wu,n.$_$.l5=function(n){return new qi(n)},n})?i.apply(t,[t]):i)||(n.exports=e)},385:(n,t,i)=>{var e,r,s;r=[t,i(36)],void 0===(s="function"==typeof(e=function(n,t){"use strict";var i,e,r,s,_,u,o,h,a=Math.imul,l=t.$_$.b1,f=t.$_$.c,c=t.$_$.x3,v=t.$_$.n3,w=t.$_$.l3,d=t.$_$.p3,$=t.$_$.u4,g=t.$_$.j5,k=t.$_$.v4,m=t.$_$.e3,p=t.$_$.n,b=t.$_$.w3,x=t.$_$.k3,y=t.$_$.j3,q=t.$_$.z4,j=t.$_$.e5,C=t.$_$.o,S=t.$_$.f5,z=t.$_$.k4,E=t.$_$.n4,A=t.$_$.m4,R=t.$_$.g4;function L(){}function I(){this.vc_1=null,this.wc_1=null,this.xc_1=null}function T(){}function N(){if(s)return l;s=!0,new M("TRACE",0,0,"TRACE"),new M("DEBUG",1,10,"DEBUG"),e=new M("INFO",2,20,"INFO"),new M("WARN",3,30,"WARN"),r=new M("ERROR",4,40,"ERROR"),new M("OFF",5,50,"OFF")}function M(n,t,i,e){$.call(this,n,t),this.gd_1=i,this.hd_1=e}function B(){}function O(){}function D(n,t){return function(n,t,i){for(var e=t,r=i;;){if(null==r||m(r.cause,r))return e;e=e+", Caused by: '"+r.message+"'",r=r.cause}}(0,"",n)}function F(n){n=n===f||n,this.pd_1=n}function V(n,t,i,e){return function(n,t,i,e,r){return G.call(r,n,t,i,e.vc_1,e.wc_1,e.xc_1),r}(n,t,i,e,b(c(G)))}function G(n,t,i,e,r,s){e=e===f?null:e,r=r===f?null:r,s=s===f?null:s,this.qd_1=n,this.rd_1=t,this.sd_1=i,this.td_1=e,this.ud_1=r,this.vd_1=s}function P(n){this.xd_1=n}function W(){}function U(){O.call(this)}function K(){o=this,this.ld_1=(N(),e),this.md_1=new F(!0),this.nd_1=new U}function H(){return null==o&&new K,o}function Y(){}return v(L,"KLogger"),w(I,"KLoggingEventBuilder",I),d(T,"KotlinLogging"),w(M,"Level",f,$),d(B,"DefaultErrorMessageProducer"),w(O,"FormattingAppender"),w(F,"DefaultMessageFormatter",F),w(G,"KLoggingEvent"),w(P,"KLoggerDirect",f,f,[L]),d(W,"KLoggerFactory"),w(U,"ConsoleOutputAppender",U,O),d(K,"KotlinLoggingConfiguration"),d(Y,"KLoggerNameResolver"),c(T).bd=function(n){return this.dd(h.cd(n))},c(T).dd=function(n){return u.dd(n)},c(M).toString=function(){return this.hd_1},c(B).id=function(n){return"Log message invocation failed: "+n.toString()},c(O).kd=function(n){var t=H().md_1.od(n);this.jd(n,t)},c(F).od=function(n){var t,i,e,r=p();r.c6((t=this,i=n.qd_1,e=n.sd_1,t.pd_1?i.b1_1+": ["+e+"] ":""));var s=n.rd_1,_=null==s?null:s.wd();return null==_||(r.c6(_),r.c6(" ")),r.c6(n.td_1),r.c6(D(n.ud_1)),r.toString()},c(G).toString=function(){return"KLoggingEvent(level="+this.qd_1.toString()+", marker="+g(this.rd_1)+", loggerName="+this.sd_1+", message="+this.td_1+", cause="+g(this.ud_1)+", payload="+g(this.vd_1)+")"},c(G).hashCode=function(){var n=this.qd_1.hashCode();return n=a(n,31)+(null==this.rd_1?0:x(this.rd_1))|0,n=a(n,31)+y(this.sd_1)|0,n=a(n,31)+(null==this.td_1?0:y(this.td_1))|0,n=a(n,31)+(null==this.ud_1?0:x(this.ud_1))|0,a(n,31)+(null==this.vd_1?0:x(this.vd_1))|0},c(G).equals=function(n){if(this===n)return!0;if(!(n instanceof G))return!1;var t=n instanceof G?n:q();return!!(this.qd_1.equals(t.qd_1)&&m(this.rd_1,t.rd_1)&&this.sd_1===t.sd_1&&this.td_1==t.td_1&&m(this.ud_1,t.ud_1)&&m(this.vd_1,t.vd_1))},c(P).ad=function(n,t,i){if(this.yd(n,t)){var e=new I;i(e),5!==n.c1_1&&H().nd_1.kd(V(n,t,this.xd_1,e))}},c(P).yd=function(n,t){return n.c1_1>=H().ld_1.c1_1},c(W).dd=function(n){return new P(n)},c(U).jd=function(n,t){switch(n.qd_1.c1_1){case 0:case 1:console.log(t);break;case 2:console.info(t);break;case 3:console.warn(t);break;case 4:console.error(t);break;case 5:break;default:j()}},c(Y).cd=function(n){for(var t=!1,i=C(),e=z(S(i),["\n"]).g();e.h();){var r=e.i();if(t)return A(A(E(r,".kt"),"."),"/");R(r,"at KotlinLogging")&&(t=!0)}return""},c(P).zc=function(n,t,i,e){var r;return t=t===f?null:t,e===f?(this.ad(n,t,i),r=l):r=e.ad.call(this,n,t,i),r},c(P).yc=function(n){var t,i=(N(),r);return this.zc(i,f,(t=n,function(n){return n.vc_1=function(n){var t;try{t=g(n())}catch(n){if(!(n instanceof k))throw n;var i=n;t=_.id(i)}return t}(t),l}))},i=new T,_=new B,u=new W,h=new Y,n.$_$=n.$_$||{},n.$_$.a=i,n})?e.apply(t,r):e)||(n.exports=s)},539:(n,t,i)=>{var e,r,s;r=[t,i(36)],void 0===(s="function"==typeof(e=function(n,t){"use strict";var i,e,r,s,_,u,o,h,a,l,f,c,v=Math.imul,w=t.$_$.x3,d=t.$_$.n3,$=t.$_$.l3,g=t.$_$.c,k=t.$_$.i4,m=t.$_$.z3,p=t.$_$.p,b=t.$_$.e3,x=t.$_$.o2,y=t.$_$.m1,q=t.$_$.g,j=t.$_$.j,C=t.$_$.l2,S=t.$_$.k1,z=t.$_$.i2,E=t.$_$.r2,A=t.$_$.f1,R=t.$_$.f,L=t.$_$.k5,I=t.$_$.b1,T=t.$_$.p2,N=t.$_$.d5,M=t.$_$.g1,B=t.$_$.e4,O=t.$_$.x1,D=t.$_$.f4,F=t.$_$.i3,V=t.$_$.p3,G=t.$_$.a,P=t.$_$.b5,W=t.$_$.j3,U=t.$_$.k3,K=t.$_$.f3,H=t.$_$.t3,Y=t.$_$.i,X=t.$_$.j1,Q=t.$_$.h,Z=t.$_$.z2,J=t.$_$.n1,nn=t.$_$.d,tn=t.$_$.c5,en=t.$_$.q,rn=t.$_$.v1,sn=t.$_$.r;function _n(){}function un(n){return new ln(n)}function on(n){this.fe_1=n,this.ee_1=n.be()}function hn(n){this.ge_1=n}function an(n){this.ie_1=n,this.he_1=n.be()}function ln(n){this.je_1=n}function fn(n,t,i,e){if(e=e===g?dn:e,k(n))throw p(m("Blank serial names are prohibited"));if(b(t,yn()))throw p(m("For StructureKind.CLASS please use 'buildClassSerialDescriptor' instead"));var r=new cn(n);return e(r),new wn(n,t,r.ne_1.j(),x(i),r)}function cn(n){this.ke_1=n,this.le_1=!1,this.me_1=y(),this.ne_1=q(),this.oe_1=j(),this.pe_1=q(),this.qe_1=q(),this.re_1=q()}function vn(n){var t=n.df_1;return F("_hashCode",1,D,(function(n){return vn(n)}),null),t.s()}function wn(n,t,i,e,r){this.se_1=n,this.te_1=t,this.ue_1=i,this.ve_1=r.me_1,this.we_1=C(r.ne_1);var s=r.ne_1;this.xe_1=S(s),this.ye_1=Dn(r.pe_1);var _,u=r.qe_1;this.ze_1=S(u),this.af_1=z(r.re_1);for(var o=E(this.xe_1),h=R(A(o,10)),a=o.g();a.h();){var l=a.i(),f=L(l.fa_1,l.ea_1);h.e(f)}this.bf_1=T(h),this.cf_1=Dn(e),this.df_1=N((_=this,function(){return Vn(_,_.cf_1)}))}function dn(n){return I}function $n(){i=this,kn.call(this)}function gn(){return null==i&&new $n,i}function kn(){}function mn(){e=this,bn.call(this)}function pn(){r=this,bn.call(this)}function bn(){kn.call(this)}function xn(){s=this,Cn.call(this)}function yn(){return null==s&&new xn,s}function qn(){_=this,Cn.call(this)}function jn(){u=this,Cn.call(this)}function Cn(){kn.call(this)}function Sn(){}function zn(n){En.call(this,n)}function En(n){this.hf_1=n,this.if_1=1}function An(n){Rn.call(this,n),this.kf_1=new zn(n.lf())}function Rn(n){Ln.call(this,n)}function Ln(n){In.call(this),this.mf_1=n}function In(){}function Tn(n,t){return function(){var i=n.of_1;return null==i?function(n,t){for(var i=new Bn(t,n.nf_1.length),e=n.nf_1,r=0,s=e.length;r0},w(on).i=function(){var n=this.fe_1.be(),t=this.ee_1;return this.ee_1=t-1|0,this.fe_1.de(n-t|0)},w(hn).g=function(){return new on(this.ge_1)},w(an).h=function(){return this.he_1>0},w(an).i=function(){var n=this.ie_1.be(),t=this.he_1;return this.he_1=t-1|0,this.ie_1.ce(n-t|0)},w(ln).g=function(){return new an(this.je_1)},w(wn).zd=function(){return this.se_1},w(wn).ae=function(){return this.te_1},w(wn).be=function(){return this.ue_1},w(wn).ef=function(){return this.we_1},w(wn).ce=function(n){return Zn(this.xe_1,n)},w(wn).de=function(n){return Zn(this.ye_1,n)},w(wn).equals=function(n){var t;n:if(this!==n)if(n instanceof wn)if(this.zd()===n.zd())if(M(this.cf_1,n.cf_1))if(this.be()===n.be()){var i=0,e=this.be();if(i=0)){var t="Illegal index "+n+", "+this.zd()+" expects only non-negative indices";throw p(m(t))}return this.hf_1},w(En).equals=function(n){return this===n||n instanceof En&&!(!b(this.hf_1,n.hf_1)||this.zd()!==n.zd())},w(En).hashCode=function(){return v(U(this.hf_1),31)+W(this.zd())|0},w(En).toString=function(){return this.zd()+"("+m(this.hf_1)+")"},w(An).lf=function(){return this.kf_1},w(Nn).lf=function(){var n=this.pf_1;return F("descriptor",1,D,(function(n){return n.lf()}),null),n.s()},w(Nn).toString=function(){return"kotlinx.serialization.internal.EnumSerializer<"+this.lf().zd()+">"},w(Bn).ae=function(){return this.pg_1},w(Bn).de=function(n){return Zn(Mn(this),n)},w(Bn).equals=function(n){return this===n||null!=n&&!(null==n||!H(n,_n))&&n.ae()===gn()&&this.zd()===n.zd()&&!!b(On(this),On(n))},w(Bn).toString=function(){return O(un(this),", ",this.zd()+"(",")")},w(Bn).hashCode=function(){for(var n=W(this.zd()),t=1,i=un(this).g();i.h();){var e=i.i(),r=v(31,t),s=null==e?null:U(e);t=r+(null==s?0:s)|0}var _=t;return v(31,n)+_|0},w(Wn).zd=function(){return this.qf_1},w(Wn).be=function(){return this.sf_1},w(Wn).ae=function(){return yn()},w(Wn).ef=function(){return this.yf_1.a1()},w(Wn).rg=function(){var n=this.ag_1;return F("typeParameterDescriptors",1,D,(function(n){return n.rg()}),null),n.s()},w(Wn).sg=function(n,t){this.tf_1=this.tf_1+1|0,this.uf_1[this.tf_1]=n,this.xf_1[this.tf_1]=t,this.vf_1[this.tf_1]=null,this.tf_1===(this.sf_1-1|0)&&(this.yf_1=function(n){var t=Q(),i=0,e=n.uf_1.length-1|0;if(i<=e)do{var r=i;i=i+1|0;var s=n.uf_1[r];t.m3(s,r)}while(i<=e);return t}(this))},w(Wn).cg=function(n,t,i){var e;return t=t!==g&&t,i===g?(this.sg(n,t),e=I):e=i.sg.call(this,n,t),e},w(Wn).de=function(n){return Zn(Gn(this),n).lf()},w(Wn).ce=function(n){return Zn(this.uf_1,n)},w(Wn).equals=function(n){var t;n:if(this!==n)if(n instanceof Wn)if(this.zd()===n.zd())if(M(this.rg(),n.rg()))if(this.be()===n.be()){var i=0,e=this.be();if(i{var e,r,s;r=[t,i(50),i(36),i(731),i(644),i(560),i(486),i(120)],void 0===(s="function"==typeof(e=function(n,t,i,e,r,s,_,u){"use strict";var o=t.$_$.z,h=i.$_$.b1,a=e.$_$.a,l=i.$_$.f,f=r.$_$.a,c=s.$_$.s,v=_.$_$.a,w=i.$_$.w2,d=i.$_$.x3,$=i.$_$.z4,g=t.$_$.w,k=i.$_$.t3,m=i.$_$.c;function p(n){return n.e1b((t=new x(null),(i=function(n,i){return t.p1q(n,i)}).$arity=1,i)),h;var t,i}function b(n){n.a1e().qz(a().sn_1),n.a1e().rz(null),n.a1e().tz(n.a1e().hz().ps(),250),n.a1e().rz(a().un_1);var t=l(12),i=0;if(i<12)do{var e=i;i=i+1|0;var r=30*e,s=200+100*f().h1j(.1*e,1.7*e+.2*n.f1e()),_=n.a1e().hz().ps().km(new c(r,s).yl());t.e(_)}while(i<12);var u=t;return n.a1e().a10(v(u,!0)),h}function x(n){w.call(this,n)}return(0,i.$_$.o3)(x,w,m,[1]),d(x).p1q=function(n,t){var i=this.q1q(n,t);return i.x6_1=h,i.y6_1=null,i.d7()},d(x).r1q=function(n,t){return this.p1q(null!=n&&k(n,g)?n:$(),t)},d(x).d7=function(){for(this.x6_1;;)try{var n=this.v6_1;if(0===n)return this.w6_1=1,console.log("Kotlin says OPENRNDR program started"),this.o1q_1.f1c(m,b),h;if(1===n)throw this.y6_1}catch(n){throw n}},d(x).q1q=function(n,t){var i=new x(t);return i.o1q_1=n,i},u.$jsExportAll$(n),o(p),n})?e.apply(t,r):e)||(n.exports=s)},114:(n,t,i)=>{var e,r,s;r=[t,i(36)],void 0===(s="function"==typeof(e=function(n,t){"use strict";var i,e,r,s,_,u=t.$_$.x3,o=t.$_$.w3,h=t.$_$.g,a=t.$_$.f1,l=t.$_$.f,f=t.$_$.b1,c=t.$_$.w4,v=t.$_$.m3,w=t.$_$.c,d=t.$_$.l3,$=t.$_$.u4,g=t.$_$.y3,k=t.$_$.n3,m=t.$_$.v3;function p(){return n=o(u(y)),y.call(n),n.k1a_1=n,n;var n}function b(){i=this,this.y1a_1=new E}function x(){return null==i&&new b,i}function y(){x(),this.f1a_1=x().y1a_1.b1b(),this.g1a_1=this.f1a_1,this.h1a_1=h(),this.i1a_1=null,this.j1a_1=null,this.k1a_1=null}function q(){if(_)return f;_=!0,e=new j("Queued",0),r=new j("Playing",1),s=new j("Stopped",2)}function j(n,t){$.call(this,n,t)}function C(){}function S(){}function z(n){this.d1b_1=n}function E(){}return v(b),d(y,"Animatable",p),d(j,"AnimationState",w,$),k(C,"Clock"),d(S,"AnimationEvent",S),d(z,"AnimationUpdateEvent"),d(E,"DefaultClock",E,w,[C]),u(y).z1a=function(n){this.g1a_1=n,this.f1a_1=this.g1a_1,function(n,t){for(var i=h(),_=h(),u=n.h1a_1,o=l(a(u,10)),f=u.g();f.h();){var v=f.i();o.e(v)}for(var w=o.g();w.h();){var d=w.i();if(d.o1a_1.k1(t)<=0){if(d.u1a_1.equals((q(),e))&&d.v1a(),d.u1a_1.equals((q(),r))){var $=t.m1(d.o1a_1).x1();d.n1a_1.k1(new c(0,0))>0?$/=d.n1a_1.x1():$=1,$<0&&($=0),$>=1&&($=1,d.w1a()),d.x1a($),d.s1a_1.ru(new z($))}d.u1a_1.equals((q(),s))&&(_.e(d.r1a_1),i.e(d))}}for(var g=_.g();g.h();)g.i().ru(new S);for(var k=i.g();k.h();){var m=k.i();n.h1a_1.n2(m)}n.g1a_1=t,n.g1a_1.k1(n.f1a_1)>0&&(n.f1a_1=n.g1a_1)}(this,n)},u(y).a1b=function(n,t){var i;return n=n===w?x().y1a_1.b1b():n,t===w?(this.z1a(n),i=f):i=t.z1a.call(this,n),i},u(E).b1b=function(){return m(1e3*window.performance.now())},u(E).c1b=function(){return this.b1b().o1(g(1e3))},n.$_$=n.$_$||{},n.$_$.a=p,n})?e.apply(t,r):e)||(n.exports=s)},50:(n,t,i)=>{var e,r,s;r=[t,i(36),i(856),i(114),i(731)],void 0===(s="function"==typeof(e=function(n,t,i,e,r){"use strict";var s,_,u,o,h,a,l,f,c,v,w,d,$,g,k,m,p,b,x,y,q,j,C,S,z,E,A,R,L,I,T,N,M,B,O=Math.imul,D=t.$_$.b1,F=t.$_$.u4,V=t.$_$.x3,G=t.$_$.l3,P=t.$_$.c,W=t.$_$.p3,U=t.$_$.n3,K=i.$_$.a,H=t.$_$.z3,Y=t.$_$.j3,X=t.$_$.k3,Q=t.$_$.z4,Z=t.$_$.e3,J=e.$_$.a,nn=t.$_$.d5,tn=t.$_$.l,en=r.$_$.a,rn=t.$_$.g,sn=t.$_$.g5,_n=t.$_$.q,un=t.$_$.e5,on=t.$_$.f2,hn=t.$_$.g3,an=t.$_$.f4,ln=t.$_$.i3,fn=t.$_$.w2,cn=t.$_$.u2,vn=t.$_$.o3,wn=t.$_$.x2,dn=t.$_$.y,$n=t.$_$.v2,gn=t.$_$.m1,kn=t.$_$.a3,mn=t.$_$.l4,pn=t.$_$.i4;function bn(n,t){}function xn(n,t){}function yn(n,t){F.call(this,n,t)}function qn(){}function jn(){this.f1b_1="openrndr-canvas",this.g1b_1=640,this.h1b_1=480,this.i1b_1=128,this.j1b_1=128,this.k1b_1=268435455,this.l1b_1=268435455,this.m1b_1="OPENRNDR",this.n1b_1=!1,this.o1b_1=!1,this.p1b_1=!1,this.q1b_1=null,this.r1b_1=(function(){if(h)return D;h=!0,o=new zn("DISABLED",0),new zn("CURRENT_DISPLAY_MODE",1),new zn("SET_DISPLAY_MODE",2)}(),o),this.s1b_1=!0,this.t1b_1=!1,this.u1b_1=(function(){if(L)return D;L=!0,R=new Pn("HIDE",0),new Pn("DISABLE",1)}(),R),this.v1b_1=null,this.w1b_1=(function(){if(l)return D;l=!0,a=new En("NORMAL",0),new En("THROTTLE",1)}(),a),this.x1b_1=!1,this.y1b_1=!1,this.z1b_1=!0,this.a1c_1=!1,this.b1c_1=(null==u&&new Cn,u),this.c1c_1=!0,this.d1c_1=10}function Cn(){u=this,Sn.call(this)}function Sn(){}function zn(n,t){F.call(this,n,t)}function En(n,t){F.call(this,n,t)}function An(){}function Rn(){}function Ln(n,t){F.call(this,n,t)}function In(){this.l1c_1=new K("keyboard-key-down",!0),this.m1c_1=new K("keyboard-key-up",!0),this.n1c_1=new K("keyboard-key-repeat",!0),this.o1c_1=new K("keyboard-character",!0)}function Tn(){if(g)return D;g=!0,v=new Nn("MOVED",0),new Nn("DRAGGED",1),new Nn("CLICKED",2),w=new Nn("BUTTON_UP",3),d=new Nn("BUTTON_DOWN",4),$=new Nn("SCROLLED",5),new Nn("ENTERED",6),new Nn("EXITED",7)}function Nn(n,t){F.call(this,n,t)}function Mn(){if(x)return D;x=!0,k=new Bn("LEFT",0),m=new Bn("RIGHT",1),p=new Bn("CENTER",2),b=new Bn("NONE",3)}function Bn(n,t){F.call(this,n,t)}function On(){if(S)return D;S=!0,y=new Dn("SHIFT",0,1),q=new Dn("CTRL",1,2),j=new Dn("ALT",2,4),C=new Dn("SUPER",3,8)}function Dn(n,t,i){F.call(this,n,t),this.t1c_1=i}function Fn(n,t,i,e){this.u1c_1=n,this.v1c_1=t,this.w1c_1=i,this.x1c_1=e,this.y1c_1=!1}function Vn(){if(A)return D;A=!0,z=new Gn("KEY_DOWN",0),E=new Gn("KEY_UP",1),new Gn("KEY_REPEAT",2)}function Gn(n,t){F.call(this,n,t)}function Pn(n,t){F.call(this,n,t)}function Wn(n,t){F.call(this,n,t)}function Un(n){this.z1c_1=n,this.a1d_1=new K("mouse-button-down",!0),this.b1d_1=new K("mouse-button-up",!0),this.c1d_1=new K("mouse-dragged",!0),this.d1d_1=new K("mouse-moved",!0),this.e1d_1=new K("mouse-scrolled",!0),this.f1d_1=this.b1d_1,this.g1d_1=new K("mouse-entered",!0),this.h1d_1=new K("mouse-exited",!0)}function Kn(n,t,i,e,r,s){this.n1d_1=n,this.o1d_1=t,this.p1d_1=i,this.q1d_1=e,this.r1d_1=r,this.s1d_1=s,this.t1d_1=!1}function Hn(n){this.u1d_1=n}function Yn(){}function Xn(n,t,i){this.g1e_1=n,this.h1e_1=t,this.i1e_1=i}function Qn(n,t,i){this.j1e_1=n,this.k1e_1=t,this.l1e_1=i}function Zn(n){var t=n.s1e_1;return ln("animator",1,an,(function(n){return Zn(n)}),null),t.s()}function Jn(n){this.p1f_1=n}function nt(n){this.y1f_1=n,this.q1f_1=new K("window-focused",!0),this.r1f_1=new K("window-unfocused",!0),this.s1f_1=new K("window-moved",!0),this.t1f_1=new K("window-sized",!0),this.u1f_1=new K("window-minimized",!0),this.v1f_1=new K("window-restored",!0),this.w1f_1=new K("window-closed",!0),this.x1f_1=new K("window-drop",!0)}function tt(){return J()}function it(n){return function(){return new Qn(n.v1d(),function(n,t,i){i=i===P?null:i;var e,r=0===kn(t=t===P?"":t)?"":mn(t,".")?t:"."+t,s=n.v1d();if(pn(s)){var _=n.b1e().z1f();e=pn(_)?"untitled":_}else e=s;return""+i+e+r}(n),n.h1g())}}function et(n){this.m1g_1=n,this.l1g_1=!0}function rt(n){this.o1g_1=n,this.n1g_1=!0}function st(n){this.q1g_1=n,this.p1g_1=!0}function _t(){return new In}function ut(n){var t;n=n!==P&&n,this.m1e_1=n,this.n1e_1=0,this.o1e_1=0,this.p1e_1=nn((t=this,function(){return t})),this.q1e_1=tn(),this.r1e_1="unknown",this.s1e_1=nn(tt),this.v1e_1=!1,this.w1e_1=en().tn_1,this.x1e_1=new $t,this.y1e_1=new K,this.z1e_1=1/0,this.a1f_1=function(n){return function(){return n.z1e_1===1/0||n.g1g()<=0?0:n.a1g().f1e()-n.z1e_1}}(this),this.b1f_1=tn(),this.c1f_1=it(this),this.d1f_1=new K,this.e1f_1=new K,this.d1f_1.tu(function(n){return function(t){return n.e1f_1.ru(new Xn(t.i1g_1,t.j1g_1,n.k1g()())),D}}(this)),this.f1f_1=0,this.g1f_1=0,this.h1f_1=-1,this.i1f_1=0,this.j1f_1=new Jn(this),this.k1f_1=rn(),this.l1f_1=new nt(this),this.m1f_1=nn(_t),this.n1f_1=nn(function(n){return function(){return new Un(function(n){return function(){return n.a1g()}}(n))}}(this)),this.o1f_1=nn(function(n){return function(){return new Hn(function(n){return function(){return n.a1g()}}(n))}}(this))}function ot(n,t,i,e){this.y1g_1=n,this.z1g_1=t,this.a1h_1=i,this.b1h_1=e}function ht(n,t){this.c1h_1=n,this.d1h_1=t}function at(n,t){F.call(this,n,t)}function lt(n,t){this.m1h_1=n,fn.call(this,t)}function ft(){}function ct(){}function vt(){}function wt(n){this.a1j_1=n,ut.call(this)}function dt(){qn.call(this),this.t1h_1=new jn,this.u1h_1=new ut;var n,t=null==B?null:B();if(null==t)throw _n(H("applicationFunc not set"));n=t,this.v1h_1=n,this.w1h_1=gn()}function $t(){}return G(yn,"PresentationMode",P,F),G(qn,"ApplicationBuilder"),G(jn,"Configuration",jn),G(Sn,"WindowMultisample"),W(Cn,"Disabled",P,Sn),G(zn,"Fullscreen",P,F),G(En,"UnfocusBehaviour",P,F),U(An,"ExtensionHost"),U(Rn,"Extension"),G(Ln,"ExtensionStage",P,F),G(In,"Keyboard",In),G(Nn,"MouseEventType",P,F),G(Bn,"MouseButton",P,F),G(Dn,"KeyModifier",P,F),G(Fn,"KeyEvent"),G(Gn,"KeyEventType",P,F),G(Pn,"MouseCursorHideMode",P,F),G(Wn,"CursorType",P,F),G(Un,"ApplicationMouse"),G(Kn,"MouseEvent"),G(Hn,"Pointers"),U(Yn,"Program",P,P,[An],[0]),G(Xn,"ProduceAssetsEvent"),G(Qn,"AssetMetadata"),G(Jn,"ApplicationClipboard"),G(nt,"Window"),G(et,P,P,P,[Rn]),G(rt,P,P,P,[Rn]),G(st,P,P,P,[Rn]),G(ut,"ProgramImplementation",ut,P,[Yn],[0]),G(ot,"WindowEvent"),G(ht,"DropEvent"),G(at,"WindowEventType",P,F),vn(lt,fn,P,[0]),G(ft,"Application",P,P,P,[0]),G(ct,P,P,P,[$n]),G(vt,"ApplicationBase"),G(wt,P,P,ut,P,[0]),G(dt,"ApplicationBuilderJS",P,qn),G($t,"Dispatcher",$t),V(In).p1c=function(){return this.l1c_1},V(In).q1c=function(){return this.m1c_1},V(Fn).toString=function(){return"KeyEvent(type="+this.u1c_1.toString()+", key="+this.v1c_1+", name="+this.w1c_1+", modifiers="+H(this.x1c_1)+")"},V(Fn).hashCode=function(){var n=this.u1c_1.hashCode();return n=O(n,31)+this.v1c_1|0,n=O(n,31)+Y(this.w1c_1)|0,O(n,31)+X(this.x1c_1)|0},V(Fn).equals=function(n){if(this===n)return!0;if(!(n instanceof Fn))return!1;var t=n instanceof Fn?n:Q();return!!this.u1c_1.equals(t.u1c_1)&&this.v1c_1===t.v1c_1&&this.w1c_1===t.w1c_1&&!!Z(this.x1c_1,t.x1c_1)},V(Un).i1d=function(){return this.a1d_1},V(Un).j1d=function(){return this.b1d_1},V(Un).k1d=function(){return this.c1d_1},V(Un).l1d=function(){return this.d1d_1},V(Un).m1d=function(){return this.e1d_1},V(Kn).toString=function(){return"MouseEvent(position="+this.n1d_1.toString()+", rotation="+this.o1d_1.toString()+", dragDisplacement="+this.p1d_1.toString()+", type="+this.q1d_1.toString()+", button="+this.r1d_1.toString()+", modifiers="+H(this.s1d_1)+")"},V(Kn).hashCode=function(){var n=this.n1d_1.hashCode();return n=O(n,31)+this.o1d_1.hashCode()|0,n=O(n,31)+this.p1d_1.hashCode()|0,n=O(n,31)+this.q1d_1.hashCode()|0,n=O(n,31)+this.r1d_1.hashCode()|0,O(n,31)+X(this.s1d_1)|0},V(Kn).equals=function(n){if(this===n)return!0;if(!(n instanceof Kn))return!1;var t=n instanceof Kn?n:Q();return!!(this.n1d_1.equals(t.n1d_1)&&this.o1d_1.equals(t.o1d_1)&&this.p1d_1.equals(t.p1d_1)&&this.q1d_1.equals(t.q1d_1)&&this.r1d_1.equals(t.r1d_1)&&Z(this.s1d_1,t.s1d_1))},V(Xn).toString=function(){return"ProduceAssetsEvent(origin="+H(this.g1e_1)+", program="+H(this.h1e_1)+", assetMetadata="+this.i1e_1.toString()+")"},V(Xn).hashCode=function(){var n=X(this.g1e_1);return n=O(n,31)+X(this.h1e_1)|0,O(n,31)+this.i1e_1.hashCode()|0},V(Xn).equals=function(n){if(this===n)return!0;if(!(n instanceof Xn))return!1;var t=n instanceof Xn?n:Q();return!!Z(this.g1e_1,t.g1e_1)&&!!Z(this.h1e_1,t.h1e_1)&&!!this.i1e_1.equals(t.i1e_1)},V(Qn).toString=function(){return"AssetMetadata(programName="+this.j1e_1+", assetBaseName="+this.k1e_1+", assetProperties="+H(this.l1e_1)+")"},V(Qn).hashCode=function(){var n=Y(this.j1e_1);return n=O(n,31)+Y(this.k1e_1)|0,O(n,31)+X(this.l1e_1)|0},V(Qn).equals=function(n){if(this===n)return!0;if(!(n instanceof Qn))return!1;var t=n instanceof Qn?n:Q();return this.j1e_1===t.j1e_1&&this.k1e_1===t.k1e_1&&!!Z(this.l1e_1,t.l1e_1)},V(nt).z1f=function(){return this.y1f_1.a1g().b1g()},V(nt).j=function(){return this.y1f_1.a1g().c1g()},V(nt).gz=function(){return this.y1f_1.a1g().d1g()},V(nt).e1g=function(){return this.t1f_1},V(nt).f1g=function(){return this.x1f_1},V(et).i1c=function(){return this.l1g_1},V(rt).i1c=function(){return this.n1g_1},V(rt).j1c=function(n,t){t.y1d(!0),this.o1g_1(t)},V(st).i1c=function(){return this.p1g_1},V(st).k1c=function(n,t){t.y1d(!0),this.q1g_1(t)},V(ut).w1d=function(n){this.n1e_1=n},V(ut).x1d=function(n){this.o1e_1=n},V(ut).v1d=function(){return this.r1e_1},V(ut).z1d=function(n){this.t1e_1=n},V(ut).a1e=function(){var n=this.t1e_1;if(null!=n)return n;sn("drawer")},V(ut).c1e=function(n){this.u1e_1=n},V(ut).a1g=function(){var n=this.u1e_1;if(null!=n)return n;sn("application")},V(ut).y1d=function(n){this.v1e_1=n},V(ut).r1g=function(){return this.v1e_1},V(ut).s1g=function(){return this.w1e_1},V(ut).t1g=function(){return this.a1f_1},V(ut).h1g=function(){return this.b1f_1},V(ut).k1g=function(){return this.c1f_1},V(ut).u1g=function(n){this.i1f_1=n},V(ut).g1g=function(){return this.i1f_1},V(ut).f1e=function(){return this.f1f_1},V(ut).v1g=function(){return this.k1f_1.l()&&this.y1d(!1),this.k1f_1},V(ut).e1c=function(n,t){var i;if(this.r1g())throw _n(H("Cannot nest extend blocks within extend blocks"));switch(n.c1_1){case 0:i=new et(t);break;case 1:i=new rt(t);break;case 2:i=new st(t);break;default:un()}var e=i;this.v1g().e(e)},V(ut).b1e=function(){return this.l1f_1},V(ut).h1c=function(){var n=this.m1f_1;return ln("keyboard",1,an,(function(n){return n.h1c()}),null),n.s()},V(ut).g1c=function(){var n=this.n1f_1;return ln("mouse",1,an,(function(n){return n.g1c()}),null),n.s()},V(ut).d1e=function(n){return D},V(ut).e1e=function(){0===this.g1g()&&(this.z1e_1=this.a1g().f1e()),Zn(this).a1b(),this.w1g(),-1===this.h1f_1&&(this.h1f_1=this.f1e()),this.g1f_1=this.f1f_1-this.h1f_1,this.h1f_1=this.f1f_1;var n=this.s1g();null==n||this.a1e().qz(n);for(var t=this.v1g(),i=rn(),e=t.g();e.h();){var r=e.i();r.i1c()&&i.e(r)}for(var s=i.g();s.h();)s.i().j1c(this.a1e(),this);this.x1g();for(var _=on(this.v1g()),u=rn(),o=_.g();o.h();){var h=o.i();h.i1c()&&u.e(h)}for(var a=u.g();a.h();)a.i().k1c(this.a1e(),this);var l=this.g1g();this.u1g(l+1|0)},V(ut).x1g=function(){},V(ut).w1g=function(){this.f1f_1=this.t1g()()},V(ot).toString=function(){return"WindowEvent(type="+this.y1g_1.toString()+", position="+this.z1g_1.toString()+", size="+this.a1h_1.toString()+", focused="+this.b1h_1+")"},V(ot).hashCode=function(){var n=this.y1g_1.hashCode();return n=O(n,31)+this.z1g_1.hashCode()|0,n=O(n,31)+this.a1h_1.hashCode()|0,O(n,31)+hn(this.b1h_1)|0},V(ot).equals=function(n){if(this===n)return!0;if(!(n instanceof ot))return!1;var t=n instanceof ot?n:Q();return!!this.y1g_1.equals(t.y1g_1)&&!!this.z1g_1.equals(t.z1g_1)&&!!this.a1h_1.equals(t.a1h_1)&&this.b1h_1===t.b1h_1},V(ht).toString=function(){return"DropEvent(position="+this.c1h_1.toString()+", files="+H(this.d1h_1)+")"},V(ht).hashCode=function(){var n=this.c1h_1.hashCode();return O(n,31)+X(this.d1h_1)|0},V(ht).equals=function(n){if(this===n)return!0;if(!(n instanceof ht))return!1;var t=n instanceof ht?n:Q();return!!this.c1h_1.equals(t.c1h_1)&&!!Z(this.d1h_1,t.d1h_1)},V(lt).n1h=function(n){var t=this.o1h(n);return t.x6_1=D,t.y6_1=null,t.d7()},V(lt).v7=function(n){return this.n1h(n)},V(lt).d7=function(){var n=this.x6_1;n:for(;;)try{switch(this.v6_1){case 0:if(this.w6_1=2,this.v6_1=1,(n=this.m1h_1.d1e(this))===cn())return n;continue n;case 1:return this.m1h_1.p1h(),D;case 2:throw this.y6_1}}catch(n){var t=n;if(2===this.w6_1)throw t;this.v6_1=this.w6_1,this.y6_1=t}},V(lt).o1h=function(n){return new lt(this.m1h_1,n)},V(ft).q1h=function(){var n,t;n=new lt(this,null),(t=function(t){return n.n1h(t)}).$arity=0,wn(t,new ct)},V(ct).b7=function(){return dn()},V(ct).r1h=function(n){},V(ct).g7=function(n){return this.r1h(n)},V(wt).d1e=function(n){return this.a1j_1(this,n)},V(dt).e1b=function(n){return this.u1h_1=new wt(n),this.u1h_1},V(et).j1c=bn,V(et).k1c=xn,V(rt).k1c=xn,V(st).j1c=bn,V(ut).f1c=function(n,t,i){var e;return n=n===P?(function(){if(c)return D;c=!0,new Ln("SETUP",0),f=new Ln("BEFORE_DRAW",1),new Ln("AFTER_DRAW",2)}(),f):n,i===P?(this.e1c(n,t),e=D):e=i.e1c.call(this,n,t),e},B=null,n.$_$=n.$_$||{},n.$_$.a=function(){return function(){if(T)return D;T=!0,I=new Wn("ARROW_CURSOR",0),new Wn("IBEAM_CURSOR",1),new Wn("CROSSHAIR_CURSOR",2),new Wn("HAND_CURSOR",3),new Wn("HRESIZE_CURSOR",4),new Wn("VRESIZE_CURSOR",5)}(),I},n.$_$.b=function(){return Vn(),z},n.$_$.c=function(){return Vn(),E},n.$_$.d=function(){return On(),j},n.$_$.e=function(){return On(),q},n.$_$.f=function(){return On(),y},n.$_$.g=function(){return On(),C},n.$_$.h=function(){return Mn(),p},n.$_$.i=function(){return Mn(),k},n.$_$.j=function(){return Mn(),b},n.$_$.k=function(){return Mn(),m},n.$_$.l=function(){return Tn(),d},n.$_$.m=function(){return Tn(),w},n.$_$.n=function(){return Tn(),v},n.$_$.o=function(){return Tn(),$},n.$_$.p=function(){return function(){if(_)return D;_=!0,s=new yn("AUTOMATIC",0),new yn("MANUAL",1)}(),s},n.$_$.q=function(){return function(){if(M)return D;M=!0,new at("MOVED",0),N=new at("RESIZED",1),new at("FOCUSED",2),new at("UNFOCUSED",3),new at("MINIMIZED",4),new at("RESTORED",5),new at("CLOSED",6)}(),N},n.$_$.r=vt,n.$_$.s=ft,n.$_$.t=ht,n.$_$.u=Fn,n.$_$.v=Kn,n.$_$.w=Yn,n.$_$.x=ot,n.$_$.y=function(n){B=n},n.$_$.z=function(n){var t=new dt;n(t),t.v1h_1.s1h(t.u1h_1,t.t1h_1).q1h()},n})?e.apply(t,r):e)||(n.exports=s)},731:(n,t,i)=>{var e,r,s;r=[t,i(36),i(560),i(539)],void 0===(s="function"==typeof(e=function(n,t,i,e){"use strict";var r,s,_,u,o,h=Math.imul,a=t.$_$.x3,l=t.$_$.m3,f=t.$_$.c,c=t.$_$.h3,v=i.$_$.v,w=t.$_$.z4,d=t.$_$.e3,$=i.$_$.m,g=t.$_$.l3,k=e.$_$.g,m=t.$_$.d,p=t.$_$.c5,b=t.$_$.b1,x=t.$_$.u4;function y(){r=this,this.rn_1=[null,null,null,null,E().qn(),null],this.sn_1=this.do(16761035),this.tn_1=new C(0,0,0,1,I()),this.un_1=new C(1,1,1,1,I()),this.vn_1=new C(1,0,0,1,I()),this.wn_1=new C(0,0,1,1,I()),this.xn_1=new C(0,1,0,1,I()),this.yn_1=new C(1,1,0,1,I()),this.zn_1=new C(0,1,1,1,I()),this.ao_1=new C(1,0,1,1,I()),this.bo_1=new C(.5,.5,.5,1,I()),this.co_1=new C(0,0,0,0,L())}function q(){return null==r&&new y,r}function j(n){var t;if(n<=.04045)t=n/12.92;else{var i=(n+.055)/1.055;t=Math.pow(i,2.4)}return t}function C(n,t,i,e,r){q(),e=e===f?1:e,r=r===f?L():r,this.eo_1=n,this.fo_1=t,this.go_1=i,this.ho_1=e,this.io_1=r,this.jo_1=this.ho_1}function S(){return k("org.openrndr.color.Linearity",[L(),I()])}function z(){u=this;var n=m();this.pn_1=p(n,S)}function E(){return A(),null==u&&new z,u}function A(){if(o)return b;o=!0,s=new R("LINEAR",0,1),_=new R("SRGB",1,1),E()}function R(n,t,i){x.call(this,n,t),this.no_1=i}function L(){return A(),s}function I(){return A(),_}return l(y),g(C,"ColorRGBa",f,f,[$]),l(z),g(R,"Linearity",f,x,f,f,f,{0:E}),a(y).do=function(n){return new C(((16711680&n)>>16)/255,((65280&n)>>8)/255,(255&n)/255,1,I())},a(C).ko=function(){return 1===this.io_1.c1_1?new C(j(this.eo_1),j(this.fo_1),j(this.go_1),this.ho_1,L()):this},a(C).hashCode=function(){var n=c(this.eo_1);return n=h(31,n)+c(this.fo_1)|0,n=h(31,n)+c(this.go_1)|0,n=h(31,n)+c(this.ho_1)|0,h(31,n)+this.io_1.c1_1|0},a(C).on=function(){return new v(this.eo_1,this.fo_1,this.go_1,this.ho_1)},a(C).toString=function(){return"ColorRGBa(r="+this.eo_1+", g="+this.fo_1+", b="+this.go_1+", alpha="+this.ho_1+", linearity="+this.io_1.toString()+")"},a(C).equals=function(n){if(this===n)return!0;if(!(n instanceof C))return!1;var t=n instanceof C?n:w();return!!(d(this.eo_1,t.eo_1)&&d(this.fo_1,t.fo_1)&&d(this.go_1,t.go_1)&&d(this.ho_1,t.ho_1)&&this.io_1.equals(t.io_1))},a(z).qn=function(){return this.pn_1.s()},n.$_$=n.$_$||{},n.$_$.a=q,n.$_$.b=C,n})?e.apply(t,r):e)||(n.exports=s)},988:(n,t,i)=>{var e,r,s;r=[t,i(36),i(560),i(731),i(989),i(73)],void 0===(s="function"==typeof(e=function(n,t,i,e,r,s){"use strict";var _,u,o,h,a,l,f,c,v,w,d,$,g,k,m,p,b,x,y,q,j,C,S,z,E,A,R,L,I,T,N,M,B,O,D,F,V,G,P,W,U,K,H,Y,X,Q,Z,J,nn,tn,en,rn,sn,_n,un,on,hn,an,ln,fn,cn,vn,wn,dn,$n,gn,kn,mn,pn,bn,xn,yn,qn,jn,Cn,Sn,zn,En,An,Rn,Ln,In,Tn,Nn,Mn,Bn,On,Dn,Fn,Vn,Gn,Pn,Wn,Un,Kn,Hn,Yn,Xn,Qn,Zn,Jn,nt,tt,it,et,rt,st,_t,ut,ot,ht,at,lt,ft,ct,vt,wt,dt,$t,gt,kt,mt=Math.imul,pt=Math.log2,bt=t.$_$.x3,xt=t.$_$.n3,yt=t.$_$.c,qt=t.$_$.m3,jt=t.$_$.z3,Ct=t.$_$.p,St=t.$_$.l3,zt=t.$_$.b1,Et=t.$_$.p3,At=i.$_$.t,Rt=i.$_$.c,Lt=i.$_$.h,It=t.$_$.h3,Tt=t.$_$.z4,Nt=t.$_$.e3,Mt=t.$_$.l,Bt=t.$_$.a5,Ot=t.$_$.u4,Dt=t.$_$.e5,Ft=e.$_$.a,Vt=i.$_$.d,Gt=t.$_$.j5,Pt=t.$_$.g3,Wt=t.$_$.k3,Ut=t.$_$.e,Kt=t.$_$.d5,Ht=r.$_$.b,Yt=i.$_$.g,Xt=i.$_$.i,Qt=t.$_$.b4,Zt=t.$_$.q,Jt=t.$_$.a2,ni=s.$_$.b,ti=t.$_$.q4,ii=s.$_$.a,ei=t.$_$.f4,ri=t.$_$.i3,si=t.$_$.u3,_i=t.$_$.g,ui=t.$_$.m,oi=t.$_$.a1,hi=t.$_$.b,ai=e.$_$.b,li=i.$_$.r,fi=i.$_$.q,ci=i.$_$.l,vi=i.$_$.p,wi=i.$_$.v,di=i.$_$.k,$i=i.$_$.o,gi=i.$_$.u,ki=i.$_$.j,mi=i.$_$.n,pi=t.$_$.h4,bi=t.$_$.l4,xi=t.$_$.m1,yi=t.$_$.j3,qi=t.$_$.u1,ji=t.$_$.n2,Ci=t.$_$.x1,Si=t.$_$.j4,zi=t.$_$.k4,Ei=t.$_$.t,Ai=t.$_$.v,Ri=t.$_$.e4,Li=t.$_$.f1,Ii=t.$_$.f,Ti=i.$_$.b,Ni=t.$_$.b2,Mi=t.$_$.e2,Bi=t.$_$.d4,Oi=t.$_$.c4,Di=t.$_$.r1,Fi=t.$_$.z1,Vi=t.$_$.e1,Gi=t.$_$.l1,Pi=t.$_$.b3,Wi=t.$_$.s4,Ui=t.$_$.r4;function Ki(){}function Hi(){return oe(),_}function Yi(){return oe(),u}function Xi(){return oe(),o}function Qi(){return oe(),h}function Zi(){}function Ji(n,t){if(this.zu_1=n,this.av_1=t,!this.zu_1.bv().equals(Xi()))throw Ct(jt("Failed requirement."));if(!this.av_1.bv().equals(Hi()))throw Ct(jt("Failed requirement."));if(this.zu_1.cv()!==this.av_1.cv())throw Ct(jt("Failed requirement."))}function ne(){}function te(n,t){if(this.ev_1=n,this.fv_1=t,!this.ev_1.bv().equals(Qi()))throw Ct(jt("Failed requirement."));if(!this.fv_1.bv().equals(Hi()))throw Ct(jt("Failed requirement."));if(this.ev_1.cv()!==this.fv_1.cv())throw Ct(jt("Failed requirement."))}function ie(){}function ee(n,t){if(this.hv_1=n,this.iv_1=t,!this.hv_1.bv().equals(Yi()))throw Ct(jt("Failed requirement."));if(!this.iv_1.bv().equals(Hi()))throw Ct(jt("Failed requirement."));if(this.hv_1.cv()!==this.iv_1.cv())throw Ct(jt("Failed requirement."))}function re(n){return oe(),n.lv("fill",is()),n.lv("stroke",is()),n.lv("strokeWeight",Jr()),zt}function se(n){return oe(),n.lv("offset",ts()),n.lv("radius",ns()),zt}function _e(n){return oe(),n.lv("offset",ts()),n.lv("dimensions",ns()),n.lv("rotation",Jr()),zt}function ue(n){return oe(),n.lv("offset",ts()),zt}function oe(){c||(c=!0,_=ss(re),u=ss(se),o=ss(_e),h=ss(ue))}function he(){v=this,ae.call(this)}function ae(){}function le(){}function fe(n){pe(),w=n}function ce(){return pe(),w}function ve(n){pe(),d=n}function we(){return pe(),d}function de(n){pe(),$=n}function $e(){return pe(),$}function ge(n){pe(),g=n}function ke(){return pe(),g}function me(n,t,i,e,r,s,_){this.tv_1=n,this.uv_1=t,this.vv_1=i,this.wv_1=e,this.xv_1=r,this.yv_1=s,this.zv_1=_}function pe(){m||(m=!0,w=Rt().vj_1,d=Rt().vj_1,$=Rt().vj_1,g=Rt().vj_1,k=Mt())}function be(){return Bn||(Bn=!0,p=Mt()),p}function xe(){if(S)return zt;S=!0,b=new ye("R",0),x=new ye("RG",1),y=new ye("RGB",2),q=new ye("BGR",3),j=new ye("RGBa",4),C=new ye("BGRa",5)}function ye(n,t){Ot.call(this,n,t)}function qe(){if(X)return zt;X=!0,z=new je("UINT8",0),E=new je("UINT8_SRGB",1),A=new je("UINT16",2),R=new je("UINT8_INT",3),L=new je("UINT16_INT",4),I=new je("UINT32_INT",5),T=new je("SINT8_INT",6),N=new je("SINT16_INT",7),M=new je("SINT32_INT",8),B=new je("FLOAT16",9),O=new je("FLOAT32",10),D=new je("DXT1",11),F=new je("DXT3",12),V=new je("DXT5",13),G=new je("DXT1_SRGB",14),P=new je("DXT3_SRGB",15),W=new je("DXT5_SRGB",16),U=new je("BPTC_UNORM",17),K=new je("BPTC_UNORM_SRGB",18),H=new je("BPTC_FLOAT",19),Y=new je("BPTC_UFLOAT",20)}function je(n,t){Ot.call(this,n,t)}function Ce(){if(tn)return zt;tn=!0,Q=new Se("TRIANGLES",0),Z=new Se("TRIANGLE_STRIP",1),J=new Se("TRIANGLE_FAN",2),new Se("POINTS",3),nn=new Se("LINES",4),new Se("LINE_STRIP",5),new Se("LINE_LOOP",6),new Se("PATCHES",7)}function Se(n,t){Ot.call(this,n,t)}function ze(n,t,i,e,r,s,_,u,o,h,a,l,f,c,v,w,d,$,g,k,m,p,b){n=n===yt?null:n,t=t===yt?Ft().un_1:t,i=i===yt?Ft().tn_1:i,e=e===yt?(Le(),an):e,r=r===yt?(Te(),fn):r,s=s===yt?1:s,_=_===yt||_,u=u===yt?4:u,o=o===yt?(function(){if($n)return zt;$n=!0,dn=new Me("QUALITY",0),new Me("PERFORMANCE",1)}(),dn):o,h=h===yt?(function(){if(kn)return zt;kn=!0,gn=new Be("ALWAYS",0),new Be("LESS",1),new Be("LESS_OR_EQUAL",2),new Be("EQUAL",3),new Be("GREATER",4),new Be("GREATER_OR_EQUAL",5),new Be("NEVER",6)}(),gn):h,a=a!==yt&&a,l=l===yt?(function(){if(rn)return zt;rn=!0,en=new Ee("OVER",0),new Ee("BLEND",1),new Ee("ADD",2),new Ee("SUBTRACT",3),new Ee("MULTIPLY",4),new Ee("REPLACE",5),new Ee("REMOVE",6),new Ee("MIN",7),new Ee("MAX",8),new Ee("SCREEN",9),new Ee("OVERLAY",10),new Ee("DARKEN",11),new Ee("LIGHTEN",12),new Ee("COLOR_DODGE",13),new Ee("COLOR_BURN",14),new Ee("HARD_LIGHT",15),new Ee("SOFT_LIGHT",16),new Ee("DIFFERENCE",17),new Ee("EXCLUSION",18),new Ee("HSL_HUE",19),new Ee("HSL_SATURATION",20),new Ee("HSL_COLOR",21),new Ee("HSL_LUMINOSITY",22)}(),en):l,f=f===yt?$r():f,c=c===yt?new Ve(!0,!0,!0,!0):c,v=v!==yt&&v,w=w===yt?null:w,d=d===yt?null:d,$=$===yt?(function(){if(yn)return zt;yn=!0,new Ge("DISABLED",0),xn=new Ge("METRIC",1)}(),xn):$,g=g===yt?(function(){if(jn)return zt;jn=!0,new Pe("PIXEL",0),qn=new Pe("SUBPIXEL",1)}(),qn):g,k=k===yt?new We:k,m=m===yt?k:m,p=p===yt?k:p,b=b===yt?Vt().uk_1:b,this.tw_1=n,this.uw_1=t,this.vw_1=i,this.ww_1=e,this.xw_1=r,this.yw_1=s,this.zw_1=_,this.ax_1=u,this.bx_1=o,this.cx_1=h,this.dx_1=a,this.ex_1=l,this.fx_1=f,this.gx_1=c,this.hx_1=v,this.ix_1=w,this.jx_1=d,this.kx_1=$,this.lx_1=g,this.mx_1=k,this.nx_1=m,this.ox_1=p,this.px_1=b}function Ee(n,t){Ot.call(this,n,t)}function Ae(){if(on)return zt;on=!0,sn=new Re("NORMALIZED",0),_n=new Re("UNSIGNED_INTEGER",1),un=new Re("SIGNED_INTEGER",2)}function Re(n,t){Ot.call(this,n,t)}function Le(){if(ln)return zt;ln=!0,hn=new Ie("ROUND",0),an=new Ie("BUTT",1),new Ie("SQUARE",2)}function Ie(n,t){Ot.call(this,n,t)}function Te(){if(wn)return zt;wn=!0,fn=new Ne("MITER",0),cn=new Ne("BEVEL",1),vn=new Ne("ROUND",2)}function Ne(n,t){Ot.call(this,n,t)}function Me(n,t){Ot.call(this,n,t)}function Be(n,t){Ot.call(this,n,t)}function Oe(n,t){Ot.call(this,n,t)}function De(){bn=this,this.tx_1=1,this.ux_1=2,this.vx_1=4,this.wx_1=8,this.xx_1=new Ve(!1,!1,!1,!1),this.yx_1=new Ve(!0,!0,!0,!0)}function Fe(){return null==bn&&new De,bn}function Ve(n,t,i,e){Fe(),this.zx_1=n,this.ay_1=t,this.by_1=i,this.cy_1=e}function Ge(n,t){Ot.call(this,n,t)}function Pe(n,t){Ot.call(this,n,t)}function We(n,t,i,e,r,s,_){n=n===yt?gr():n,t=t===yt?gr():t,i=i===yt?gr():i,e=e===yt?255:e,r=r===yt?0:r,s=s===yt?255:s,_=_===yt?br():_,this.dy_1=n,this.ey_1=t,this.fy_1=i,this.gy_1=e,this.hy_1=r,this.iy_1=s,this.jy_1=_}function Ue(){if(Rn)return zt;Rn=!0,Cn=new Ke("KEEP",0),Sn=new Ke("ZERO",1),new Ke("REPLACE",2),zn=new Ke("INCREASE",3),En=new Ke("INCREASE_WRAP",4),new Ke("DECREASE",5),An=new Ke("DECREASE_WRAP",6),new Ke("INVERT",7)}function Ke(n,t){Ot.call(this,n,t)}function He(){if(Mn)return zt;Mn=!0,new Ye("NEVER",0),new Ye("LESS",1),new Ye("LESS_OR_EQUAL",2),new Ye("GREATER",3),new Ye("GREATER_OR_EQUAL",4),Ln=new Ye("EQUAL",5),In=new Ye("NOT_EQUAL",6),Tn=new Ye("ALWAYS",7),Nn=new Ye("DISABLED",8)}function Ye(n,t){Ot.call(this,n,t)}function Xe(){return xe(),b}function Qe(){return xe(),x}function Ze(){return xe(),j}function Je(){return qe(),z}function nr(){return qe(),A}function tr(){return qe(),R}function ir(){return qe(),L}function er(){return qe(),I}function rr(){return qe(),T}function sr(){return qe(),N}function _r(){return qe(),M}function ur(){return qe(),B}function or(){return qe(),O}function hr(){return Ce(),Q}function ar(){return Ce(),Z}function lr(){return Ce(),J}function fr(){return Ae(),sn}function cr(){return Ae(),_n}function vr(){return Ae(),un}function wr(){return Te(),cn}function dr(){return Te(),vn}function $r(){return function(){if(pn)return zt;pn=!0,mn=new Oe("ALWAYS",0),new Oe("FRONT",1),new Oe("BACK",2),new Oe("NEVER",3)}(),mn}function gr(){return Ue(),Cn}function kr(){return Ue(),Sn}function mr(){return He(),Ln}function pr(){return He(),Tn}function br(){return He(),Nn}function xr(n){return n.bz_1*Dn.yu().gz()}function yr(){return new Ls}function qr(n){this.my_1=n;var t=Ut();t.x9(new ze),this.ny_1=t,this.oy_1=new Os,this.py_1=new Ds,this.qy_1=new as,this.ry_1=new Ns,this.sy_1=new As,this.ty_1=new Ts,this.uy_1=Kt(yr),this.vy_1=new Ms,this.wy_1=new Bs,this.xy_1=new Ss,this.yy_1=Ut(),this.zy_1=Ut(),this.az_1=Ut(),this.bz_1=1,this.cz_1=Rt().vj_1,this.dz_1=Rt().vj_1,this.ez_1=Rt().vj_1,this.fz_1=new ze}function jr(){return"disable"===ni.vu("org.openrndr.draw.vertex_buffer_optimizations")}function Cr(){return"force"===ni.vu("org.openrndr.draw.vertex_buffer_optimizations")}function Sr(){var n=ni.vu("org.openrndr.draw.vertex_buffer_multi_buffer_hint"),t=null==n?null:ti(n);return null==t?100:t}function zr(){return Ar().t10()?1:Ar().s10()||ni.uu().equals(ii())?Ar().r10():1}function Er(){On=this,this.n10_1=Kt(jr),this.o10_1=Kt(Cr),this.p10_1=Kt(Sr),this.q10_1=Kt(zr)}function Ar(){return null==On&&new Er,On}function Rr(){}function Lr(){}function Ir(){return Gn||(Gn=!0,Fn=Mt()),Fn}function Tr(){}function Nr(n){this.c11_1=n,this.d11_1=kt.cw().dw(),this.e11_1=_i(),this.f11_1=ui(),this.g11_1=ui(),this.h11_1=ui(),this.i11_1=ui(),this.j11_1=ui(),this.k11_1=ui(),this.l11_1=ui(),this.m11_1=ui(),this.n11_1=ui(),this.o11_1=ui(),this.p11_1=ui(),this.q11_1=ui(),this.r11_1=ui(),this.s11_1=ui()}function Mr(n){var t=function(n){var t,i=oi().l8(),e=i.equals(oi().l8())?"boolean":i.equals(oi().o8())?"int":i.equals(oi().p8())||i.equals(oi().q8())?"float":i.equals(hi(At))?"Vector2":i.equals(hi(mi))?"IntVector2":i.equals(hi(ki))?"BooleanVector2":i.equals(hi(gi))?"Vector3":i.equals(hi($i))?"IntVector3":i.equals(hi(di))?"BooleanVector3":i.equals(hi(wi))?"Vector4":i.equals(hi(vi))?"IntVector4":i.equals(hi(ci))?"BooleanVector4":i.equals(hi(fi))?"Matrix33":i.equals(hi(li))?"Matrix44":i.equals(hi(ai))?"ColorRGBa":i.equals(hi(le))?"DepthBuffer":"struct "+oi().l8().y7();if(null==e){var r="shade style type not supported: "+oi().l8().y7();throw Zt(jt(r))}if(n===e)t="bool";else{var s=oi().o8(),_=s.equals(oi().l8())?"boolean":s.equals(oi().o8())?"int":s.equals(oi().p8())||s.equals(oi().q8())?"float":s.equals(hi(At))?"Vector2":s.equals(hi(mi))?"IntVector2":s.equals(hi(ki))?"BooleanVector2":s.equals(hi(gi))?"Vector3":s.equals(hi($i))?"IntVector3":s.equals(hi(di))?"BooleanVector3":s.equals(hi(wi))?"Vector4":s.equals(hi(vi))?"IntVector4":s.equals(hi(ci))?"BooleanVector4":s.equals(hi(fi))?"Matrix33":s.equals(hi(li))?"Matrix44":s.equals(hi(ai))?"ColorRGBa":s.equals(hi(le))?"DepthBuffer":"struct "+oi().o8().y7();if(null==_){var u="shade style type not supported: "+oi().o8().y7();throw Zt(jt(u))}if(n===_)t="int";else{var o=hi(fi),h=o.equals(oi().l8())?"boolean":o.equals(oi().o8())?"int":o.equals(oi().p8())||o.equals(oi().q8())?"float":o.equals(hi(At))?"Vector2":o.equals(hi(mi))?"IntVector2":o.equals(hi(ki))?"BooleanVector2":o.equals(hi(gi))?"Vector3":o.equals(hi($i))?"IntVector3":o.equals(hi(di))?"BooleanVector3":o.equals(hi(wi))?"Vector4":o.equals(hi(vi))?"IntVector4":o.equals(hi(ci))?"BooleanVector4":o.equals(hi(fi))?"Matrix33":o.equals(hi(li))?"Matrix44":o.equals(hi(ai))?"ColorRGBa":o.equals(hi(le))?"DepthBuffer":"struct "+hi(fi).y7();if(null==h){var a="shade style type not supported: "+hi(fi).y7();throw Zt(jt(a))}if(n===h)t="mat3";else{var l=hi(li),f=l.equals(oi().l8())?"boolean":l.equals(oi().o8())?"int":l.equals(oi().p8())||l.equals(oi().q8())?"float":l.equals(hi(At))?"Vector2":l.equals(hi(mi))?"IntVector2":l.equals(hi(ki))?"BooleanVector2":l.equals(hi(gi))?"Vector3":l.equals(hi($i))?"IntVector3":l.equals(hi(di))?"BooleanVector3":l.equals(hi(wi))?"Vector4":l.equals(hi(vi))?"IntVector4":l.equals(hi(ci))?"BooleanVector4":l.equals(hi(fi))?"Matrix33":l.equals(hi(li))?"Matrix44":l.equals(hi(ai))?"ColorRGBa":l.equals(hi(le))?"DepthBuffer":"struct "+hi(li).y7();if(null==f){var c="shade style type not supported: "+hi(li).y7();throw Zt(jt(c))}if(n===f)t="mat4";else{var v,w=oi().p8(),d=w.equals(oi().l8())?"boolean":w.equals(oi().o8())?"int":w.equals(oi().p8())||w.equals(oi().q8())?"float":w.equals(hi(At))?"Vector2":w.equals(hi(mi))?"IntVector2":w.equals(hi(ki))?"BooleanVector2":w.equals(hi(gi))?"Vector3":w.equals(hi($i))?"IntVector3":w.equals(hi(di))?"BooleanVector3":w.equals(hi(wi))?"Vector4":w.equals(hi(vi))?"IntVector4":w.equals(hi(ci))?"BooleanVector4":w.equals(hi(fi))?"Matrix33":w.equals(hi(li))?"Matrix44":w.equals(hi(ai))?"ColorRGBa":w.equals(hi(le))?"DepthBuffer":"struct "+oi().p8().y7();if(null==d){var $="shade style type not supported: "+oi().p8().y7();throw Zt(jt($))}if(n===d)v=!0;else{var g=oi().q8(),k=g.equals(oi().l8())?"boolean":g.equals(oi().o8())?"int":g.equals(oi().p8())||g.equals(oi().q8())?"float":g.equals(hi(At))?"Vector2":g.equals(hi(mi))?"IntVector2":g.equals(hi(ki))?"BooleanVector2":g.equals(hi(gi))?"Vector3":g.equals(hi($i))?"IntVector3":g.equals(hi(di))?"BooleanVector3":g.equals(hi(wi))?"Vector4":g.equals(hi(vi))?"IntVector4":g.equals(hi(ci))?"BooleanVector4":g.equals(hi(fi))?"Matrix33":g.equals(hi(li))?"Matrix44":g.equals(hi(ai))?"ColorRGBa":g.equals(hi(le))?"DepthBuffer":"struct "+oi().q8().y7();if(null==k){var m="shade style type not supported: "+oi().q8().y7();throw Zt(jt(m))}v=n===k}if(v)t="float";else{var p=hi(At),b=p.equals(oi().l8())?"boolean":p.equals(oi().o8())?"int":p.equals(oi().p8())||p.equals(oi().q8())?"float":p.equals(hi(At))?"Vector2":p.equals(hi(mi))?"IntVector2":p.equals(hi(ki))?"BooleanVector2":p.equals(hi(gi))?"Vector3":p.equals(hi($i))?"IntVector3":p.equals(hi(di))?"BooleanVector3":p.equals(hi(wi))?"Vector4":p.equals(hi(vi))?"IntVector4":p.equals(hi(ci))?"BooleanVector4":p.equals(hi(fi))?"Matrix33":p.equals(hi(li))?"Matrix44":p.equals(hi(ai))?"ColorRGBa":p.equals(hi(le))?"DepthBuffer":"struct "+hi(At).y7();if(null==b){var x="shade style type not supported: "+hi(At).y7();throw Zt(jt(x))}if(n===b)t="vec2";else{var y=hi(gi),q=y.equals(oi().l8())?"boolean":y.equals(oi().o8())?"int":y.equals(oi().p8())||y.equals(oi().q8())?"float":y.equals(hi(At))?"Vector2":y.equals(hi(mi))?"IntVector2":y.equals(hi(ki))?"BooleanVector2":y.equals(hi(gi))?"Vector3":y.equals(hi($i))?"IntVector3":y.equals(hi(di))?"BooleanVector3":y.equals(hi(wi))?"Vector4":y.equals(hi(vi))?"IntVector4":y.equals(hi(ci))?"BooleanVector4":y.equals(hi(fi))?"Matrix33":y.equals(hi(li))?"Matrix44":y.equals(hi(ai))?"ColorRGBa":y.equals(hi(le))?"DepthBuffer":"struct "+hi(gi).y7();if(null==q){var j="shade style type not supported: "+hi(gi).y7();throw Zt(jt(j))}if(n===q)t="vec3";else{var C,S=hi(wi),z=S.equals(oi().l8())?"boolean":S.equals(oi().o8())?"int":S.equals(oi().p8())||S.equals(oi().q8())?"float":S.equals(hi(At))?"Vector2":S.equals(hi(mi))?"IntVector2":S.equals(hi(ki))?"BooleanVector2":S.equals(hi(gi))?"Vector3":S.equals(hi($i))?"IntVector3":S.equals(hi(di))?"BooleanVector3":S.equals(hi(wi))?"Vector4":S.equals(hi(vi))?"IntVector4":S.equals(hi(ci))?"BooleanVector4":S.equals(hi(fi))?"Matrix33":S.equals(hi(li))?"Matrix44":S.equals(hi(ai))?"ColorRGBa":S.equals(hi(le))?"DepthBuffer":"struct "+hi(wi).y7();if(null==z){var E="shade style type not supported: "+hi(wi).y7();throw Zt(jt(E))}if(n===z)C=!0;else{var A=hi(ai),R=A.equals(oi().l8())?"boolean":A.equals(oi().o8())?"int":A.equals(oi().p8())||A.equals(oi().q8())?"float":A.equals(hi(At))?"Vector2":A.equals(hi(mi))?"IntVector2":A.equals(hi(ki))?"BooleanVector2":A.equals(hi(gi))?"Vector3":A.equals(hi($i))?"IntVector3":A.equals(hi(di))?"BooleanVector3":A.equals(hi(wi))?"Vector4":A.equals(hi(vi))?"IntVector4":A.equals(hi(ci))?"BooleanVector4":A.equals(hi(fi))?"Matrix33":A.equals(hi(li))?"Matrix44":A.equals(hi(ai))?"ColorRGBa":A.equals(hi(le))?"DepthBuffer":"struct "+hi(ai).y7();if(null==R){var L="shade style type not supported: "+hi(ai).y7();throw Zt(jt(L))}C=n===R}if(C)t="vec4";else{var I=hi(mi),T=I.equals(oi().l8())?"boolean":I.equals(oi().o8())?"int":I.equals(oi().p8())||I.equals(oi().q8())?"float":I.equals(hi(At))?"Vector2":I.equals(hi(mi))?"IntVector2":I.equals(hi(ki))?"BooleanVector2":I.equals(hi(gi))?"Vector3":I.equals(hi($i))?"IntVector3":I.equals(hi(di))?"BooleanVector3":I.equals(hi(wi))?"Vector4":I.equals(hi(vi))?"IntVector4":I.equals(hi(ci))?"BooleanVector4":I.equals(hi(fi))?"Matrix33":I.equals(hi(li))?"Matrix44":I.equals(hi(ai))?"ColorRGBa":I.equals(hi(le))?"DepthBuffer":"struct "+hi(mi).y7();if(null==T){var N="shade style type not supported: "+hi(mi).y7();throw Zt(jt(N))}if(n===T)t="ivec2";else{var M=hi($i),B=M.equals(oi().l8())?"boolean":M.equals(oi().o8())?"int":M.equals(oi().p8())||M.equals(oi().q8())?"float":M.equals(hi(At))?"Vector2":M.equals(hi(mi))?"IntVector2":M.equals(hi(ki))?"BooleanVector2":M.equals(hi(gi))?"Vector3":M.equals(hi($i))?"IntVector3":M.equals(hi(di))?"BooleanVector3":M.equals(hi(wi))?"Vector4":M.equals(hi(vi))?"IntVector4":M.equals(hi(ci))?"BooleanVector4":M.equals(hi(fi))?"Matrix33":M.equals(hi(li))?"Matrix44":M.equals(hi(ai))?"ColorRGBa":M.equals(hi(le))?"DepthBuffer":"struct "+hi($i).y7();if(null==B){var O="shade style type not supported: "+hi($i).y7();throw Zt(jt(O))}if(n===B)t="ivec3";else{var D=hi(vi),F=D.equals(oi().l8())?"boolean":D.equals(oi().o8())?"int":D.equals(oi().p8())||D.equals(oi().q8())?"float":D.equals(hi(At))?"Vector2":D.equals(hi(mi))?"IntVector2":D.equals(hi(ki))?"BooleanVector2":D.equals(hi(gi))?"Vector3":D.equals(hi($i))?"IntVector3":D.equals(hi(di))?"BooleanVector3":D.equals(hi(wi))?"Vector4":D.equals(hi(vi))?"IntVector4":D.equals(hi(ci))?"BooleanVector4":D.equals(hi(fi))?"Matrix33":D.equals(hi(li))?"Matrix44":D.equals(hi(ai))?"ColorRGBa":D.equals(hi(le))?"DepthBuffer":"struct "+hi(vi).y7();if(null==F){var V="shade style type not supported: "+hi(vi).y7();throw Zt(jt(V))}t=n===F?"ivec4":"BufferTexture"===n?"samplerBuffer":"BufferTexture_UINT"===n?"usamplerBuffer":"BufferTexture_SINT"===n?"isamplerBuffer":"ColorBuffer"===n?"sampler2D":"ColorBuffer_UINT"===n?"usampler2D":"ColorBuffer_SINT"===n?"isampler2D":"DepthBuffer"===n?"sampler2D":"Cubemap"===n?"samplerCube":"Cubemap_UINT"===n?"usamplerCube":"Cubemap_SINT"===n?"isamplerCube":"ArrayCubemap"===n?"samplerCubeArray":"ArrayCubemap_UINT"===n?"usamplerCubeArray":"ArrayCubemap_SINT"===n?"isamplerCubeArray":"ArrayTexture"===n?"sampler2DArray":"ArrayTexture_UINT"===n?"usampler2DArray":"ArrayTexture_SINT"===n?"isampler2DArray":"VolumeTexture"===n?"sampler3D":"VolumeTexture_UINT"===n?"usampler3D":"VolumeTexture_SINT"===n?"isampler3D":bi(n,"struct")?pi(n,7):null}}}}}}}}}}return t}(n);if(null==t)throw Zt(jt("unsupported type "+n));return t}function Br(){}function Or(n){this.x11_1=n}function Dr(n,t,i,e,r,s,_,u,o,h,a,l,f,c,v){n=n===yt?null:n,t=t===yt?null:t,i=i===yt?null:i,e=e===yt?null:e,r=r===yt?null:r,s=s===yt?null:s,_=_===yt?null:_,u=u===yt?null:u,o=o===yt?null:o,h=h===yt?null:h,a=a===yt?null:a,l=l===yt?null:l,f=f===yt?null:f,c=c===yt?null:c,v=v!==yt&&v,this.b12_1=n,this.c12_1=t,this.d12_1=i,this.e12_1=e,this.f12_1=r,this.g12_1=s,this.h12_1=_,this.i12_1=u,this.j12_1=o,this.k12_1=h,this.l12_1=a,this.m12_1=l,this.n12_1=f,this.o12_1=c,this.p12_1=v}function Fr(){}function Vr(){if(Qn)return zt;Qn=!0,Un=new Gr("VERTEX",0),Kn=new Gr("TESSELLATION_CONTROL",1),Hn=new Gr("TESSELLATION_EVALUATION",2),Yn=new Gr("GEOMETRY",3),Xn=new Gr("FRAGMENT",4),new Gr("COMPUTE",5)}function Gr(n,t){Ot.call(this,n,t)}function Pr(){}function Wr(){}function Ur(){}function Kr(n){var t=zi(n.oa_1,[", "]);return 1===t.j()?Mr(n.oa_1)+" "+n.na_1+";":Mr(t.k(0))+" "+n.na_1+"["+t.k(1)+"];"}function Hr(){}function Yr(n,t,i){return i=i===yt?Vn.yu():i,$t.u12(n,t,i)}function Xr(){}function Qr(){if(rt)return zt;rt=!0,new Zr("INT8",0,1,1),new Zr("UINT8",1,1,1),new Zr("UINT16",2,1,2),new Zr("INT16",3,1,2),new Zr("UINT32",4,1,4),new Zr("INT32",5,1,4),new Zr("VECTOR2_UINT8",6,2,2),new Zr("VECTOR2_INT8",7,2,2),new Zr("VECTOR2_UINT16",8,2,4),new Zr("VECTOR2_INT16",9,2,4),new Zr("VECTOR2_UINT32",10,2,8),new Zr("VECTOR2_INT32",11,2,8),new Zr("VECTOR3_UINT8",12,3,3),new Zr("VECTOR3_INT8",13,3,3),new Zr("VECTOR3_UINT16",14,3,6),new Zr("VECTOR3_INT16",15,3,6),new Zr("VECTOR3_UINT32",16,3,12),new Zr("VECTOR3_INT32",17,3,12),new Zr("VECTOR4_UINT8",18,4,4),new Zr("VECTOR4_INT8",19,4,4),new Zr("VECTOR4_UINT16",20,4,8),new Zr("VECTOR4_INT16",21,4,8),new Zr("VECTOR4_UINT32",22,4,16),new Zr("VECTOR4_INT32",23,4,16),Zn=new Zr("FLOAT32",24,1,4),Jn=new Zr("VECTOR2_FLOAT32",25,2,8),nt=new Zr("VECTOR3_FLOAT32",26,3,12),tt=new Zr("VECTOR4_FLOAT32",27,4,16),new Zr("MATRIX22_FLOAT32",28,4,16),it=new Zr("MATRIX33_FLOAT32",29,9,36),et=new Zr("MATRIX44_FLOAT32",30,16,64)}function Zr(n,t,i,e){Ot.call(this,n,t),this.c13_1=i,this.d13_1=e}function Jr(){return Qr(),Zn}function ns(){return Qr(),Jn}function ts(){return Qr(),nt}function is(){return Qr(),tt}function es(n,t){var i;switch(t){case 1:i=Jr();break;case 2:i=ns();break;case 3:i=ts();break;case 4:i=is();break;default:throw Ct("dimensions can only be 1, 2, 3 or 4 (got "+t+")")}return i}function rs(){this.jv_1=_i(),this.kv_1=0}function ss(n){var t=new rs;return n(t),t}function _s(n,t,i,e){this.k13_1=n,this.l13_1=t,this.m13_1=i,this.n13_1=e}function us(){if(ot)return zt;ot=!0,st=new os("READ",0),_t=new os("READ_WRITE",1),ut=new os("WRITE",2)}function os(n,t){Ot.call(this,n,t)}function hs(){return us(),_t}function as(){var n=$t,t=new rs;t.e13(3),t.f13(3),t.i13(2),this.uz_1=n.u12(t,6,Vn.b11()),this.vz_1=f.gv(1e4),this.wz_1=0;var i=Ri(0,Ar().u10()),e=Ii(Li(i,10)),r=i.nb_1,s=i.ob_1;if(r<=s)do{var _=r;r=r+1|0;var u=f.gv(1);e.e(u)}while(_!==s);this.xz_1=e;var o,h,a=Pn,l=(o=kt.cw().q13(),(h=function(n){return o.o13(n)}).callableName="circleVertexShader",h);this.yz_1=a.w11("circle",l,yt,yt,yt,function(n){var t=function(t){return n.p13(t)};return t.callableName="circleFragmentShader",t}(kt.cw().q13()));var c=this.uz_1.r13().z12();c.s13();var v=new gi(-1,-1,0),w=new gi(1,-1,0),d=new gi(1,1,0),$=new gi(-1,1,0),g=new At(0,0),k=new At(1,0),m=new At(1,1),p=new At(0,1),b=new gi(0,0,-1);c.t13(v),c.t13(b),c.u13(g),c.t13($),c.t13(b),c.u13(p),c.t13(d),c.t13(b),c.u13(m),c.t13(d),c.t13(b),c.u13(m),c.t13(w),c.t13(b),c.u13(k),c.t13(v),c.t13(b),c.u13(g),this.uz_1.r13().x12()}function ls(n,t,i){this.a15_1=n,this.b15_1=t,this.c15_1=i}function fs(n,t,i,e,r){var s,_,u,o;return t?(s=e.d15_1+i.g15_1*r,_=e.e15_1-i.f15_1*r,u=e.d15_1+e.g15_1*r,o=e.e15_1-e.f15_1*r):(s=e.d15_1+e.i15_1*r,_=e.e15_1+e.j15_1*r,u=e.d15_1+e.i15_1*r,o=e.e15_1+e.j15_1*r),new Float64Array([s,_,u,o])}function cs(n,t,i){this.l15_1=n,this.m15_1=t,this.n15_1=i,this.o15_1=0,this.p15_1=1/0,this.q15_1=-1/0,this.r15_1=1/0,this.s15_1=-1/0,this.t15_1=this.n15_1}function vs(){}function ws(n,t,i,e,r){if(t.l())return zt;n.f16_1=0;var s=i>0?1/i:0,_=0,u=t.k(t.j()-1|0),o=t.k(0),h=0,a=0,l=t.j()-1|0;if(a<=l)do{a=a+1|0;var f=u.g15_1,c=-u.f15_1,v=o.g15_1,w=-o.f15_1;o.i15_1=.5*(f+v),o.j15_1=.5*(c+w);var d=o.i15_1*o.i15_1+o.j15_1*o.j15_1;if(d>1e-6){var $=1/d;$>600&&($=600);var g=o;g.i15_1=g.i15_1*$;var k=o;k.j15_1=k.j15_1*$}o.k15_1=1&o.k15_1?1:0,o.f15_1*u.g15_1-u.f15_1*o.g15_1>0&&(_=_+1|0,o.k15_1=2|o.k15_1);var m=u.h15_1,p=o.h15_1,b=Math.min(m,p)*s,x=Math.max(1.01,b);d*x*x<1&&(o.k15_1=8|o.k15_1),1&o.k15_1&&(d*r*r<1||e===wr()||e===dr())&&(o.k15_1=4|o.k15_1),12&o.k15_1&&(n.f16_1=n.f16_1+1|0),u=o,(h=h+1|0)>31)|0;i=n.s16_1.k(_)}else i=n.r16_1;return i}function qs(n){return n.e13(2),n.i13(2),n.lv("vertexOffset",Jr()),zt}function js(){var n,t,i=Pn,e=(n=kt.cw().q13(),(t=function(t){return n.w16(t)}).callableName="expansionVertexShader",t);this.p16_1=i.w11("expansion",e,yt,yt,yt,function(n){var t=function(t){return n.x16(t)};return t.callableName="expansionFragmentShader",t}(kt.cw().q13())),this.q16_1=ss(qs),this.r16_1=$t.u12(this.q16_1,4194304,Vn.b11());var r=Ar().u10(),s=Ii(r),_=0;if(_1e-4)switch(this.fz_1.bx_1.c1_1){case 1:switch(n.ut_1){case!0:case!1:this.ty_1.i10(this.b7(),this.fz_1,Jt(n.js(r)));break;default:Dt()}break;case 0:var a=n.gu(r),l=Jt(a.na_1),f=Jt(a.oa_1);switch(n.ut_1){case!0:this.vy_1.k10(this.b7(),this.fz_1,l,f,s);break;case!1:this.vy_1.l10(this.b7(),this.fz_1,l,f,s);break;default:Dt()}break;default:Dt()}},bt(Er).t10=function(){var n=this.n10_1;return ri("disableVertexBufferOptimizations",1,ei,(function(n){return n.t10()}),null),n.s()},bt(Er).s10=function(){var n=this.o10_1;return ri("forceVertexBufferOptimizations",1,ei,(function(n){return n.s10()}),null),n.s()},bt(Er).r10=function(){var n=this.p10_1;return ri("vertexBufferMultiBufferHint",1,ei,(function(n){return n.r10()}),null),n.s()},bt(Er).u10=function(){var n=this.q10_1;return ri("vertexBufferMultiBufferCount",1,ei,(function(n){return n.u10()}),null),n.s()},bt(Rr).yu=function(){return kt.cw().v10()},bt(Tr).a11=function(){var n,t=Ir(),i=kt.cw().dw(),e=t.z(i);if(null==e){var r=Ut();r.x9(new Nr(null));var s=r;t.m3(i,s),n=s}else n=e;return n},bt(Tr).yu=function(){return this.a11().v9()},bt(Tr).b11=function(){return this.a11().u9()},bt(Nr).t11=function(n){return this.k11_1.e(n)},bt(Br).u11=function(n,t,i,e,r,s){return kt.cw().v11(n,t,i,e,r,s)},bt(Br).w11=function(n,t,i,e,r,s,_){return i=i===yt?null:i,e=e===yt?null:e,r=r===yt?null:r,_===yt?this.u11(n,t,i,e,r,s):_.u11.call(this,n,t,i,e,r,s)},bt(Or).z11=function(n,t,i,e){return i=i===yt?xi():i,e===yt?this.y11(n,t,i):e.y11.call(this,n,t,i)},bt(Or).a12=function(n,t){return this.y11(n,Jt(t),xi())},bt(Dr).toString=function(){return"ShadeStructure(structDefinitions="+this.b12_1+", uniforms="+this.c12_1+", attributes="+this.d12_1+", buffers="+this.e12_1+", vertexTransform="+this.f12_1+", geometryTransform="+this.g12_1+", fragmentTransform="+this.h12_1+", vertexPreamble="+this.i12_1+", geometryPreamble="+this.j12_1+", fragmentPreamble="+this.k12_1+", outputs="+this.l12_1+", varyingOut="+this.m12_1+", varyingIn="+this.n12_1+", varyingBridge="+this.o12_1+", suppressDefaultOutput="+this.p12_1+")"},bt(Dr).hashCode=function(){var n=null==this.b12_1?0:yi(this.b12_1);return n=mt(n,31)+(null==this.c12_1?0:yi(this.c12_1))|0,n=mt(n,31)+(null==this.d12_1?0:yi(this.d12_1))|0,n=mt(n,31)+(null==this.e12_1?0:yi(this.e12_1))|0,n=mt(n,31)+(null==this.f12_1?0:yi(this.f12_1))|0,n=mt(n,31)+(null==this.g12_1?0:yi(this.g12_1))|0,n=mt(n,31)+(null==this.h12_1?0:yi(this.h12_1))|0,n=mt(n,31)+(null==this.i12_1?0:yi(this.i12_1))|0,n=mt(n,31)+(null==this.j12_1?0:yi(this.j12_1))|0,n=mt(n,31)+(null==this.k12_1?0:yi(this.k12_1))|0,n=mt(n,31)+(null==this.l12_1?0:yi(this.l12_1))|0,n=mt(n,31)+(null==this.m12_1?0:yi(this.m12_1))|0,n=mt(n,31)+(null==this.n12_1?0:yi(this.n12_1))|0,n=mt(n,31)+(null==this.o12_1?0:yi(this.o12_1))|0,mt(n,31)+Pt(this.p12_1)|0},bt(Dr).equals=function(n){if(this===n)return!0;if(!(n instanceof Dr))return!1;var t=n instanceof Dr?n:Tt();return this.b12_1==t.b12_1&&this.c12_1==t.c12_1&&this.d12_1==t.d12_1&&this.e12_1==t.e12_1&&this.f12_1==t.f12_1&&this.g12_1==t.g12_1&&this.h12_1==t.h12_1&&this.i12_1==t.i12_1&&this.j12_1==t.j12_1&&this.k12_1==t.k12_1&&this.l12_1==t.l12_1&&this.m12_1==t.m12_1&&this.n12_1==t.n12_1&&this.o12_1==t.o12_1&&this.p12_1===t.p12_1},bt(Fr).q12=function(n,t,i,e,r,s,_){var u=kt.cw().r12(n,t,i,e,r,s,_);return null==_||_.t11(u),u},bt(rs).j=function(){return this.kv_1},bt(rs).e13=function(n){return this.lv("position",es(0,n))},bt(rs).f13=function(n){return this.lv("normal",es(0,n))},bt(rs).g13=function(n){return this.lv("color",es(0,n))},bt(rs).h13=function(n,t){return this.lv("texCoord"+t,es(0,n))},bt(rs).i13=function(n,t,i){var e;return n=n===yt?2:n,t=t===yt?0:t,i===yt?(this.h13(n,t),e=zt):e=i.h13.call(this,n,t),e},bt(rs).j13=function(n,t,i){for(var e=0,r=this.jv_1.g();r.h();){var s=r.i();e=e+mt(s.n13_1,s.m13_1.d13_1)|0}var _=new _s(n,e,t,i);this.jv_1.e(_),this.kv_1=this.kv_1+mt(t.d13_1,i)|0},bt(rs).lv=function(n,t,i,e){var r;return i=i===yt?1:i,e===yt?(this.j13(n,t,i),r=zt):r=e.j13.call(this,n,t,i),r},bt(rs).toString=function(){return"VertexFormat{items="+this.jv_1+", vertexSize="+this.kv_1+Ai(Ei(125))},bt(rs).equals=function(n){return this===n||n instanceof rs&&Nt(this.jv_1,n.jv_1)},bt(rs).hashCode=function(){return Wt(this.jv_1)},bt(_s).toString=function(){return"VertexElement(attribute="+this.k13_1+", offset="+this.l13_1+", type="+this.m13_1.toString()+", arraySize="+this.n13_1+")"},bt(_s).hashCode=function(){var n=yi(this.k13_1);return n=mt(n,31)+this.l13_1|0,n=mt(n,31)+this.m13_1.hashCode()|0,mt(n,31)+this.n13_1|0},bt(_s).equals=function(n){if(this===n)return!0;if(!(n instanceof _s))return!1;var t=n instanceof _s?n:Tt();return this.k13_1===t.k13_1&&this.l13_1===t.l13_1&&!!this.m13_1.equals(t.m13_1)&&this.n13_1===t.n13_1},bt(as).zz=function(n,t,i,e,r){var s=this.wz_1,_=this.xz_1.j(),u=s%_|0,o=u+(_&((u^_)&(u|-u))>>31)|0,h=this.xz_1.k(o),a=h.hv_1.r13().z12();a.s13(),a.t13(new gi(i,e,0));var l=Math.abs(r);a.u13(Ti(l)),h.hv_1.r13().y12(0,1);var f=h.iv_1.r13().z12();f.s13();var c=t.uw_1,v=null==c?null:c.ko();f.v13(null==v?Ft().co_1:v);var w,d=t.vw_1,$=null==d?null:d.ko();if(f.v13(null==$?Ft().co_1:$),null==t.vw_1)w=!0;else{var g=t.vw_1;w=0===(null==g?null:g.ho_1)}var k=w?0:t.yw_1;f.w13(k),h.iv_1.r13().y12(0,1),this.x13(n,t,h,1),this.wz_1=this.wz_1+1|0},bt(as).x13=function(n,t,i,e){var r=Ni([i.hv_1,i.iv_1]),s=Ni([i.hv_1.bv(),i.iv_1.bv()]),_=this.yz_1.y11(t.ix_1,Jt(this.uz_1.bv()),s);_.y13(),n.aw(_),t.aw(_),kt.cw().z13(t);var u=kt.cw(),o=Jt(this.uz_1),h=t.ix_1,a=null==h?null:h.u14_1,l=null==a?xi():a;u.y14(_,o,Mi(r,l),hr(),0,6,0,e,0),_.z14()},bt(ls).toString=function(){return"DriverProperties(maxRenderTargetSamples="+this.a15_1+", maxTextureSamples="+this.b15_1+", maxTextureSize="+this.c15_1+")"},bt(ls).hashCode=function(){var n=this.a15_1;return n=mt(n,31)+this.b15_1|0,mt(n,31)+this.c15_1|0},bt(ls).equals=function(n){if(this===n)return!0;if(!(n instanceof ls))return!1;var t=n instanceof ls?n:Tt();return this.a15_1===t.a15_1&&this.b15_1===t.b15_1&&this.c15_1===t.c15_1},bt(cs).u15=function(n,t,i,e,r,s,_){var u=n.g15_1,o=-n.f15_1,h=t.g15_1,a=-t.f15_1;if(u!=u||o!=o||h!=h||a!=a||i!=i||e!=e||n.d15_1!=n.d15_1||n.e15_1!=n.e15_1||t.d15_1!=t.d15_1||t.e15_1!=t.e15_1)return zt;if(2&t.k15_1){var l=fs(0,!!(8&t.k15_1),n,t,i),f=l[0],c=l[1],v=l[2],w=l[3];if(this.v15(f,c,r,1,_),this.v15(t.d15_1-u*e,t.e15_1-o*e,s,1,_),4&t.k15_1)this.v15(f,c,r,1,_),this.v15(t.d15_1-u*e,t.e15_1-o*e,s,1,_),this.v15(v,w,r,1,_),this.v15(t.d15_1-h*e,t.e15_1-a*e,s,1,_);else{var d=t.d15_1-t.i15_1*e,$=t.e15_1-t.j15_1*e;this.v15(t.d15_1,t.e15_1,.5,1,_),this.v15(t.d15_1-u*e,t.e15_1-o*e,s,1,_),this.v15(d,$,s,1,_),this.v15(d,$,s,1,_),this.v15(t.d15_1,t.e15_1,.5,1,_),this.v15(t.d15_1-h*e,t.e15_1-a*e,s,1,_)}this.v15(v,w,r,1,_),this.v15(t.d15_1-h*e,t.e15_1-a*e,s,1,_)}else{var g=fs(0,!!(8&t.k15_1),n,t,-e),k=g[0],m=g[1],p=g[2],b=g[3];if(this.v15(t.d15_1+u*i,t.e15_1+o*i,r,1,_),this.v15(k,m,s,1,_),4&t.k15_1)this.v15(t.d15_1+u*i,t.e15_1+o*i,r,1,_),this.v15(k,m,s,1,_),this.v15(t.d15_1+h*i,t.e15_1+a*i,r,1,_),this.v15(p,b,s,1,_);else{var x=t.d15_1+t.i15_1*i,y=t.e15_1+t.j15_1*i;this.v15(t.d15_1+u*i,t.e15_1+o*i,r,1,_),this.v15(t.d15_1,t.e15_1,.5,1,_),this.v15(x,y,r,1,_),this.v15(x,y,r,1,_),this.v15(t.d15_1+h*i,t.e15_1+a*i,r,1,_),this.v15(t.d15_1,t.e15_1,.5,1,_)}this.v15(t.d15_1+h*i,t.e15_1+a*i,r,1,_),this.v15(p,b,s,1,_)}},bt(cs).w15=function(n,t,i,e,r,s,_,u){var o=n.g15_1,h=-n.f15_1,a=t.g15_1,l=-t.f15_1;if(2&t.k15_1){var f=fs(0,!!(8&t.k15_1),n,t,i),c=f[0],v=f[1],w=f[2],d=f[3],$=-h,g=-o,k=Math.atan2($,g),m=-l,p=-a,b=Math.atan2(m,p);b>k&&(k+=6.283185307179586),(k<0||b<0)&&(k+=6.283185307179586,b+=6.283185307179586),this.v15(c,v,r,1,u),this.v15(t.d15_1-o*e,t.e15_1-h*e,s,1,u);var x=(k-b)/3.141592653589793*_,y=Math.ceil(x),q=Oi(Bi(_,si(y)),2),j=0;if(j0||0===_&&!this.e16_1)){var o="consecutive point duplication in input geometry at ("+_+" and "+(_+1|0)+") ("+t.d15_1+","+t.e15_1+")";throw Ct(jt(o))}if(t.h15_1=Math.sqrt(u),t.h15_1>0){var h=t;h.f15_1=h.f15_1/t.h15_1;var a=t;a.g15_1=a.g15_1/t.h15_1}else t.f15_1=0,t.g15_1=0;t=i,(e=e+1|0)1e-5;break;default:t=!0}return t}(this.g16_1.k(0))){var _=this.g16_1.k(0),u=function(n,t,i){var e=n/(n+i),r=t/(2*Math.acos(e)),s=Math.ceil(r),_=si(s);return Math.max(2,_)}(s,3.141592653589793,.1*n);this.i16(_),ws(this,_,s,e,r);var o=0;o=o+(e.equals(dr())?mt(1+(_.j()+mt(this.f16_1,u+2|0)|0)|0,2):mt(1+(_.j()+mt(this.f16_1,5)|0)|0,2))|0,this.e16_1||(o=o+(i.equals((Le(),hn))?mt(mt(u,2)+2|0,2):12)|0);var h=new cs(($s(),at),new Float32Array(mt(o,5)),0),a=0,l=n,f=this.e16_1?_.k(_.j()-1|0):_.k(0),c=this.e16_1?_.k(0):_.k(1),v=this.e16_1?0:1,w=this.e16_1?_.j():_.j()-1|0,d=this.e16_1?0:1;if(!this.e16_1){var $=c.d15_1-f.d15_1,g=c.e15_1-f.e15_1,k=$*$+g*g,m=Math.sqrt(k);switch(m>0&&($/=m,g/=m),i.c1_1){case 1:h.x15(f,$,g,s,.5*-l,l,a);break;case 2:h.x15(f,$,g,s,s-l,l,a);break;case 0:h.z15(f,$,g,s,u,a);break;default:Dt()}}var p=v;if(p0&&(C/=E,S/=E),i.c1_1){case 1:h.y15(c,C,S,s,.5*-l,l,a);break;case 2:h.y15(c,C,S,s,s-l,l,a);break;case 0:h.a16(c,C,S,s,u,a);break;default:Dt()}}return h}return new cs(xs(),new Float32Array(0),0)},bt(ds).k16=function(n,t,i,e){if(this.g16_1.l())return xi();for(var r=_i(),s=this.g16_1.g();s.h();){var _=s.i();this.i16(_)}for(var u=this.g16_1.g();u.h();)ws(this,u.i(),t,i,e);this.g16_1.j()>1&&(this.d16_1=!1),this.d16_1=!1;for(var o=.5*n,h=n>0,a=this.g16_1.g();a.h();){var l=a.i();if(!l.l()){for(var f=4,c=l.g();c.h();)f=f+(4&c.i().k15_1?12:4)|0;var v=new cs(ps(),new Float32Array(mt(f,5)),0);if(h){var w=Fi(l),d=l.k(0),$=0,g=0,k=l.j()-1|0;if(g<=k)do{if(g=g+1|0,4&d.k15_1)if(2&d.k15_1)v.v15(d.d15_1+d.i15_1*o,d.e15_1+d.j15_1*o,.5,1,0);else{var m=w.g15_1,p=-w.f15_1,b=d.g15_1,x=-d.f15_1,y=d.d15_1+m*o,q=d.e15_1+p*o,j=d.d15_1+b*o,C=d.e15_1+x*o;v.v15(y,q,.5,1,0),v.v15(j,C,.5,1,0)}else v.v15(d.d15_1+d.i15_1*o,d.e15_1+d.j15_1*o,.5,1,0);w=d,($=$+1|0)0&&(o=a,h=l)}while(u.h());s=o}else s=o}else s=null;var f=null==s?null:s.d17_1;if(null==f)throw Zt(jt("no commands"));var c,v=f,w=i.g();if(w.h()){var d=w.i();if(w.h()){var $=d.e17_1;do{var g=w.i(),k=g.e17_1;Pi($,k)>0&&(d=g,$=k)}while(w.h());c=d}else c=d}else c=null;var m=null==c?null:c.e17_1;if(null==m)throw Zt(jt("no commands"));var p,b=m,x=i.g();if(x.h()){var y=x.i();if(x.h()){var q=y.f17_1;do{var j=x.i(),C=j.f17_1;Pi(q,C)<0&&(y=j,q=C)}while(x.h());p=y}else p=y}else p=null;var S=null==p?null:p.f17_1;if(null==S)throw Zt(jt("no commands"));var z,E=S,A=i.g();if(A.h()){var R=A.i();if(A.h()){var L=R.g17_1;do{var I=A.i(),T=I.g17_1;Pi(L,T)<0&&(R=I,L=T)}while(A.h());z=R}else z=R}else z=null;var N=null==z?null:z.g17_1;if(null==N)throw Zt(jt("no commands"));var M=N,B=i.k(0);r.h17("bounds",new wi(B.d17_1,B.e17_1,B.f17_1-B.d17_1,B.g17_1-B.e17_1)),_.nx_1=new We,_.ox_1=new We,_.nx_1.iy_1=255,_.ox_1.iy_1=255,_.nx_1.ly(gr(),gr(),(Ue(),En)),_.ox_1.ly(gr(),gr(),(Ue(),An)),_.nx_1.ky(pr(),0,255),_.ox_1.ky(pr(),0,255),_.gx_1=Fe().xx_1,_.fx_1=$r(),kt.cw().z13(_);for(var O=i.g();O.h();){var D=O.i();D.a17_1.equals(ps())&&kt.cw().i17(r,Jt(D.z16_1),lr(),D.b17_1,D.c17_1,0)}_.nx_1=_.mx_1,_.ox_1=_.mx_1,_.gx_1=Fe().yx_1,r.hw("strokeThr",0),r.mw("strokeMult",1),_.mx_1.ky(mr(),0,255),_.mx_1.ly(gr(),gr(),gr()),kt.cw().z13(_);for(var F=i.g();F.h();){var V=F.i();V.a17_1.equals(bs())&&kt.cw().i17(r,Jt(V.z16_1),ar(),V.b17_1,V.c17_1,0)}kt.cw().z13(_),r.hw("strokeThr",-1),r.mw("strokeMult",1),_.mx_1.ky((He(),In),0,255),_.mx_1.gy_1=1,_.mx_1.ly(kr(),kr(),kr()),_.gx_1=Fe().yx_1,_.fx_1=$r();var G=this.v16_1,P=this.t16_1.j(),W=G%P|0,U=W+(P&((W^P)&(W|-W))>>31)|0,K=this.t16_1.k(U),H=K.r13().z12();H.s13(),H.l17(v,b),H.m17(.5,1,0),H.l17(v,M),H.m17(.5,1,0),H.l17(E,M),H.m17(.5,1,0),H.l17(E,M),H.m17(.5,1,0),H.l17(E,b),H.m17(.5,1,0),H.l17(v,b),H.m17(.5,1,0),K.r13().x12(),this.v16_1=this.v16_1+1|0,kt.cw().z13(_),kt.cw().i17(r,Jt(K),hr(),0,6,0),_.mx_1.jy_1=br(),r.z14()},bt(js).n17=function(n,t,i){if(t.o15_1>0){var e=new Cs(n,t.l15_1,i,t.o15_1+2|0,t.p15_1,t.r15_1,t.q15_1,t.s15_1),r=n.r13().z12();r.o17(i);var s=r,_=(t.t15_1-t.n15_1|0)/t.o15_1|0;return s.p17(t.m15_1,t.n15_1,_),s.p17(t.m15_1,t.n15_1,t.t15_1-t.n15_1|0),s.p17(t.m15_1,t.n15_1+mt(_,t.o15_1-1|0)|0,_),e}return new Cs(n,xs(),0,0,0,0,0,0)},bt(js).q17=function(n,t){for(var i=0,e=_i(),r=t.g();r.h();){var s=r.i(),_=this.n17(n,s,i);_.a17_1.equals(xs())||(e.e(_),i=i+(s.o15_1+2|0)|0)}return n.r13().y12(0,i),e},bt(js).r17=function(n,t,i,e){for(var r=0,s=i.g();s.h();)r=r+s.i().o15_1|0;var _=r;this.y16(n,t,this.q17(ys(this,_),i),e)},bt(js).s17=function(n,t,i,e,r){if(e){for(var s=0,_=i.g();_.h();)s=s+_.i().o15_1|0;var u=s;this.j17(n,t,this.q17(ys(this,u),i),r)}else{for(var o=0,h=i.g();h.h();)o=o+h.i().o15_1|0;var a=o;this.k17(n,t,this.q17(ys(this,a),i),r)}},bt(Cs).toString=function(){return"Command(vertexBuffer="+jt(this.z16_1)+", type="+this.a17_1.toString()+", vertexOffset="+this.b17_1+", vertexCount="+this.c17_1+", minX="+this.d17_1+", minY="+this.e17_1+", maxX="+this.f17_1+", maxY="+this.g17_1+")"},bt(Cs).hashCode=function(){var n=Wt(this.z16_1);return n=mt(n,31)+this.a17_1.hashCode()|0,n=mt(n,31)+this.b17_1|0,n=mt(n,31)+this.c17_1|0,n=mt(n,31)+It(this.d17_1)|0,n=mt(n,31)+It(this.e17_1)|0,n=mt(n,31)+It(this.f17_1)|0,mt(n,31)+It(this.g17_1)|0},bt(Cs).equals=function(n){if(this===n)return!0;if(!(n instanceof Cs))return!1;var t=n instanceof Cs?n:Tt();return!!(Nt(this.z16_1,t.z16_1)&&this.a17_1.equals(t.a17_1)&&this.b17_1===t.b17_1&&this.c17_1===t.c17_1&&Nt(this.d17_1,t.d17_1)&&Nt(this.e17_1,t.e17_1)&&Nt(this.f17_1,t.f17_1)&&Nt(this.g17_1,t.g17_1))},bt(Ts).i10=function(n,t,i){for(var e=0,r=i.g();r.h();)e=e+r.i().j()|0;var s=function(n,t){var i;if(t<64){n.g10_1=n.g10_1+1|0;var e=n.g10_1,r=n.f10_1.j(),s=e%r|0,_=s+(r&((s^r)&(s|-s))>>31)|0;i=n.f10_1.k(_)}else i=n.e10_1;return i}(this,e),_=this.h10_1.a12(t.ix_1,this.d10_1);_.y13(),n.aw(_),t.aw(_);var u=s.r13().z12();u.s13();for(var o=0,h=0,a=i.g();a.h();){var l=a.i(),f=h;h=f+1|0;var c=Vi(f),v=0,w=l.j()-1|0;if(v0){for(var _=Ii(Li(i,10)),u=0,o=i.g();o.h();){var h=o.i(),a=u;u=a+1|0;var l=Vi(a),f=ht.c16(h,e.k(l),!1).j16(s,t.yw_1/2,t.ww_1,t.xw_1,t.ax_1);_.e(f)}var c=_;this.j10_1.r17(n,t,c,s)}},bt(Ms).k10=function(n,t,i,e,r){var s=t.zw_1?r:0;if(null!=t.vw_1&&t.yw_1>0){for(var _=Ii(Li(i,10)),u=0,o=i.g();o.h();){var h=o.i(),a=u;u=a+1|0;var l=Vi(a),f=ht.c16(h,e.k(l),!0).j16(s,t.yw_1/2,t.ww_1,t.xw_1,t.ax_1);_.e(f)}var c=_;this.j10_1.r17(n,t,c,s)}},bt(Bs).c10=function(n,t,i,e,r){if(null!=t.uw_1&&!i.l()){var s=ht.h16(i,e),_=t.vw_1,u=null==_?null:_.ho_1,o=null==u?0:u,h=t.zw_1?r*(1-o):0,a=s.k16(h,h,wr(),2.4);this.b10_1.s17(n,t,a,s.d16_1,h)}},bt(Ys).u19=function(n,t,i,e,r,s){return Wi("\n | // -- fragmentConstants\n | #define c_instance ("+n+")\n | #define c_element ("+t+")\n | #define c_screenPosition ("+i+")\n | #define c_contourPosition ("+e+")\n | #define c_boundsPosition ("+r+")\n | #define c_boundsSize ("+s+")")},bt(Ys).v19=function(n,t,i,e,r,s,_){return n=n===yt?"v_instance":n,t=t===yt?"0":t,i=i===yt?"gl_FragCoord.xy / u_contentScale":i,e=e===yt?"0.0":e,r=r===yt?"vec3(0.0)":r,s=s===yt?"vec3(0.0)":s,_===yt?this.u19(n,t,i,e,r,s):_.u19.call(this,n,t,i,e,r,s)},bt(Ys).w19=function(n,t){return Wi("\n |#define c_instance "+n+"\n |int c_element = "+t+";")},bt(Ys).x19=function(n,t,i){return n=n===yt?"gl_InstanceID":n,t=t===yt?"0":t,i===yt?this.w19(n,t):i.w19.call(this,n,t)},bt(Ys).y19=function(n){return Ui("\n // (ShadeStyleGLSL.kt)\n #define d_vertex_buffer 0\n #define d_image 1\n #define d_circle 2\n #define d_rectangle 3\n #define d_font_image_map 4\n #define d_expansion 5\n #define d_fast_line 6\n #define d_mesh_line 7\n #define d_point 8\n #define d_custom 9\n #define d_primitive "+n+"\n // \n ")},bt(Ys).z19=function(n,t){var i=Xs(n,Ks);return Wi("\n |// (ShadeStyleGLSL.kt)\n "+i+"\n "+Xs(t,Hs)+"\n |// \n ")},bt(Ys).a1a=function(n,t,i){return n=n===yt||n,t=t===yt||t,i===yt?this.z19(n,t):i.z19.call(this,n,t)},bt(Zs).u12=function(n,t,i){return kt.cw().b1a(n,t,i)},bt(Zs).d18=function(n,t,i,e){return i=i===yt?Vn.yu():i,e===yt?this.u12(n,t,i):e.u12.call(this,n,t,i)},bt(t_).cw=function(){var n=this.bw_1;if(null==n)throw Zt(jt("no active driver"));return n},a=new Zi,l=new ne,f=new ie,Dn=new Rr,Vn=new Tr,Pn=new Br,Wn=new Fr,ht=new vs,new ks,wt=!1,dt=new Ys,$t=new Zs,gt=!1,kt=new t_,n.$_$=n.$_$||{},n.$_$.a=hs,n.$_$.b=Ze,n.$_$.c=Qe,n.$_$.d=Xe,n.$_$.e=fr,n.$_$.f=vr,n.$_$.g=cr,n.$_$.h=ur,n.$_$.i=or,n.$_$.j=sr,n.$_$.k=_r,n.$_$.l=rr,n.$_$.m=ir,n.$_$.n=nr,n.$_$.o=er,n.$_$.p=tr,n.$_$.q=Je,n.$_$.r=function(){return Vr(),Xn},n.$_$.s=function(){return Vr(),Yn},n.$_$.t=function(){return Vr(),Kn},n.$_$.u=function(){return Vr(),Hn},n.$_$.v=function(){return Vr(),Un},n.$_$.w=br,n.$_$.x=Jr,n.$_$.y=function(){return Qr(),it},n.$_$.z=function(){return Qr(),et},n.$_$.a1=ns,n.$_$.b1=ts,n.$_$.c1=is,n.$_$.d1=function(n,t,i){var e;return n=n===yt?0:n,t=t===yt?mt(this.v12().cv(),this.v12().bv().j()):t,i===yt?(this.w12(n,t),e=zt):e=i.w12.call(this,n,t),e},n.$_$.e1=function(n,t,i,e,r,s,_,u){return i=i===yt?null:i,e=e===yt?null:e,r=r===yt?null:r,_=_===yt?Vn.b11():_,u===yt?this.d1a(n,t,i,e,r,s,_):u.d1a.call(this,n,t,i,e,r,s,_)},n.$_$.f1=function(){return null==v&&new he,v},n.$_$.g1=Dn,n.$_$.h1=Vn,n.$_$.i1=dt,n.$_$.j1=Wn,n.$_$.k1=kt,n.$_$.l1=function(n){switch(n){case"READ":return us(),st;case"READ_WRITE":return hs();case"WRITE":return us(),ut;default:us(),Bt("No enum constant value.")}},n.$_$.m1=Fs,n.$_$.n1=Vs,n.$_$.o1=Ki,n.$_$.p1=Gs,n.$_$.q1=Ps,n.$_$.r1=Ws,n.$_$.s1=function(n){switch(n){case"R":return Xe();case"RG":return Qe();case"RGB":return xe(),y;case"BGR":return xe(),q;case"RGBa":return Ze();case"BGRa":return xe(),C;default:xe(),Bt("No enum constant value.")}},n.$_$.t1=function(n){switch(n){case"UINT8":return Je();case"UINT8_SRGB":return qe(),E;case"UINT16":return nr();case"UINT8_INT":return tr();case"UINT16_INT":return ir();case"UINT32_INT":return er();case"SINT8_INT":return rr();case"SINT16_INT":return sr();case"SINT32_INT":return _r();case"FLOAT16":return ur();case"FLOAT32":return or();case"DXT1":return qe(),D;case"DXT3":return qe(),F;case"DXT5":return qe(),V;case"DXT1_SRGB":return qe(),G;case"DXT3_SRGB":return qe(),P;case"DXT5_SRGB":return qe(),W;case"BPTC_UNORM":return qe(),U;case"BPTC_UNORM_SRGB":return qe(),K;case"BPTC_FLOAT":return qe(),H;case"BPTC_UFLOAT":return qe(),Y;default:qe(),Bt("No enum constant value.")}},n.$_$.u1=Us,n.$_$.v1=le,n.$_$.w1=ze,n.$_$.x1=qr,n.$_$.y1=function(){return si(this.jz()*this.gz())},n.$_$.z1=function(){return si(this.iz()*this.gz())},n.$_$.a2=Lr,n.$_$.b2=Dr,n.$_$.c2=Or,n.$_$.d2=Qs,n.$_$.e2=Pr,n.$_$.f2=Wr,n.$_$.g2=Hr,n.$_$.h2=Ur,n.$_$.i2=function(n,t){this.w12(mt(n,this.v12().bv().j()),mt(t,this.v12().bv().j()))},n.$_$.j2=Xr,n.$_$.k2=Js,n.$_$.l2=n_,n.$_$.m2=Mr,n.$_$.n2=function n(t,i,e){var r="";if(!(e=e!==yt&&e))for(var s=t.t12_1.q().g();s.h();){var _=s.i(),u=_.r(),o=_.s();if(o instanceof Ur){var h=qi(t.s12_1,u);r=r+"\n"+n(o instanceof Ur?o:Tt(),pi(h,7))}}var a=e?"":r+"\n#ifndef STRUCT_"+i+"\n#define STRUCT_"+i+"\nstruct "+i+" {\n",l=ji(t.s12_1);return"\n "+a+"\n"+Si(Ci(l,"\n",yt,yt,yt,yt,Kr)," ")+"\n"+(e?"":"};\n#endif \n")+" \n"},n.$_$.o2=ls,n.$_$.p2=i_,n})?e.apply(t,r):e)||(n.exports=s)},856:(n,t,i)=>{var e,r,s;r=[t,i(36),i(385)],void 0===(s="function"==typeof(e=function(n,t,i){"use strict";var e,r,s=t.$_$.a,_=t.$_$.c,u=t.$_$.g,o=t.$_$.b1,h=t.$_$.x3,a=t.$_$.v4,l=t.$_$.l3,f=i.$_$.a;function c(){return g(),e}function v(n,t){return function(){return"Exception thrown in listener ('"+n.mu_1+"'): "+s(t).y7()+"; '"+t.message+"'"}}function w(n,t){return function(){return"Exception thrown in one-shot listener ('"+n.mu_1+"'): "+s(t).y7()+"; '"+t.message+"'"}}function d(n,t){n=n===_?"":n,t=t!==_&&t,this.mu_1=n,this.nu_1=t,this.ou_1=u(),this.pu_1=u(),this.qu_1=u()}function $(){return g(),o}function g(){r||(r=!0,e=f.bd($))}return l(d,"Event",d),h(d).ru=function(n){this.qu_1.e(n),this.su()},h(d).su=function(){if(this.qu_1.j()>0){var n=u();n.p(this.qu_1),this.qu_1.b3();for(var t=n.g();t.h();){for(var i=t.i(),e=this.ou_1.g();e.h();){var r=e.i();try{r(i)}catch(n){if(n instanceof a){var s=n;throw c().yc(v(this,s)),s}throw n}}for(var _=this.pu_1.g();_.h();){var o=_.i();try{o(i)}catch(n){if(n instanceof a){var h=n;throw c().yc(w(this,h)),h}throw n}}this.pu_1.b3()}}},h(d).tu=function(n){return this.ou_1.e(n),n},n.$_$=n.$_$||{},n.$_$.a=d,n})?e.apply(t,r):e)||(n.exports=s)},651:(n,t,i)=>{var e,r,s;r=[t,i(36),i(988),i(560),i(731)],void 0===(s="function"==typeof(e=function(n,t,i,e,r){"use strict";var s,_,u,o,h=Math.imul,a=t.$_$.c,l=t.$_$.l,f=t.$_$.e,c=t.$_$.x3,v=(t.$_$.b1,t.$_$.l3),w=t.$_$.y4,d=t.$_$.z3,$=t.$_$.q,g=i.$_$.f,k=i.$_$.g,m=i.$_$.e,p=t.$_$.e5,b=t.$_$.k4,x=t.$_$.t1,y=t.$_$.o4,q=t.$_$.h4,j=i.$_$.s1,C=i.$_$.t1,S=i.$_$.l1,z=i.$_$.m2,E=t.$_$.x1,A=i.$_$.b,R=i.$_$.i,L=i.$_$.h,I=i.$_$.j,T=i.$_$.m,N=i.$_$.n,M=i.$_$.l,B=i.$_$.p,O=i.$_$.q,D=i.$_$.c,F=i.$_$.d,V=i.$_$.k,G=i.$_$.o,P=i.$_$.f2,W=i.$_$.e2,U=t.$_$.j5,K=t.$_$.k3,H=t.$_$.z4,Y=t.$_$.e3,X=i.$_$.b2,Q=t.$_$.f,Z=t.$_$.b2,J=t.$_$.g,nn=t.$_$.c1,tn=i.$_$.k1,en=i.$_$.c2,rn=t.$_$.m1,sn=t.$_$.f1,_n=t.$_$.e2,un=i.$_$.j1,on=i.$_$.v,hn=i.$_$.t,an=i.$_$.u,ln=i.$_$.s,fn=i.$_$.r,cn=i.$_$.h1,vn=t.$_$.b5,wn=i.$_$.i1,dn=t.$_$.j4,$n=t.$_$.s4,gn=t.$_$.g4,kn=i.$_$.o1,mn=t.$_$.t3,pn=i.$_$.d2,bn=i.$_$.g2,xn=t.$_$.n3,yn=t.$_$.s1,qn=t.$_$.a,jn=t.$_$.s,Cn=t.$_$.u1,Sn=i.$_$.h2,zn=e.$_$.m,En=t.$_$.p,An=t.$_$.q1,Rn=t.$_$.q3,Ln=t.$_$.k1,In=e.$_$.t,Tn=e.$_$.u,Nn=e.$_$.v,Mn=r.$_$.b,Bn=e.$_$.r,On=t.$_$.s3,Dn=t.$_$.k2,Fn=t.$_$.r3,Vn=i.$_$.l2,Gn=i.$_$.m1,Pn=i.$_$.n1,Wn=i.$_$.u1,Un=i.$_$.p1,Kn=i.$_$.v1,Hn=i.$_$.r1,Yn=e.$_$.p,Xn=e.$_$.o,Qn=e.$_$.n,Zn=e.$_$.q,Jn=t.$_$.l4,nt=t.$_$.d2,tt=t.$_$.j,it=t.$_$.o1,et=i.$_$.a,rt=i.$_$.n2;function st(n){n=n===a?1e3:n,this.k1j_1=n,this.l1j_1=l(),this.m1j_1=f()}function _t(n){var t,i=new w(n.q1j_1.pw(),n.r1j_1.sw());if(i.equals(new w(1,m())))t="float";else if(i.equals(new w(2,m())))t="vec2";else if(i.equals(new w(3,m())))t="vec3";else if(i.equals(new w(4,m())))t="vec4";else if(i.equals(new w(1,k())))t="uint";else if(i.equals(new w(2,k())))t="uvec2";else if(i.equals(new w(3,k())))t="uvec3";else if(i.equals(new w(4,k())))t="uvec4";else if(i.equals(new w(1,g())))t="int";else if(i.equals(new w(2,g())))t="ivec2";else if(i.equals(new w(3,g())))t="ivec3";else{if(!i.equals(new w(4,g())))throw $(d("unsupported type"));t="ivec4"}return t}function ut(n){switch(n.c1_1){case 0:case 3:case 5:case 1:case 2:case 4:case 6:case 8:case 10:case 7:case 9:case 11:case 12:case 14:case 16:case 13:case 15:case 17:case 18:case 20:case 22:case 19:case 21:case 23:return"flat ";default:return""}}function ot(n){var t;switch(n.c1_1){case 0:case 3:case 5:t="int";break;case 1:case 2:case 4:t="uint";break;case 6:case 8:case 10:t="uvec2";break;case 7:case 9:case 11:t="ivec2";break;case 12:case 14:case 16:t="uvec3";break;case 13:case 15:case 17:t="ivec3";break;case 18:case 20:case 22:t="uvec4";break;case 19:case 21:case 23:t="ivec4";break;case 24:t="float";break;case 25:t="vec2";break;case 26:t="vec3";break;case 27:t="vec4";break;case 28:t="mat2";break;case 29:t="mat3";break;case 30:t="mat4";break;default:p()}return t}function ht(n,t){var i,e=b(n,[","]),r=x(e,1),s="uniform",_=b(e.k(0),[" "]);switch(_.k(0)){case"struct":i=s+" "+_.k(1)+" p_"+t+wt(r,r,t);break;case"Image2D":case"Image3D":case"ImageCube":case"Image2DArray":case"ImageBuffer":case"ImageCubeArray":var u,o=y(e.k(0),1).toLowerCase()+q(e.k(0),1),h=j(e.k(1)),a=C(e.k(2)),l=S(e.k(3)),f=ct(h,a);switch(l.c1_1){case 0:u="layout("+f+") readonly "+s+" "+o+" p_"+t+";";break;case 1:u="layout("+f+") "+s+" "+o+" p_"+t+";";break;case 2:u="layout("+f+") writeonly "+s+" "+o+" p_"+t+";";break;default:p()}i=u;break;default:i=s+" "+z(e.k(0))+" p_"+t+wt(r,r,t)}return i}function at(n){var t;switch(n.c1_1){case 2:t="restrict";break;case 1:t="coherent";break;case 0:t="volatile";break;default:p()}return t}function lt(n){var t;switch(n.c1_1){case 0:t="readonly";break;case 1:t="";break;case 2:t="writeonly";break;default:p()}return t}function ft(n){var t=n.s1j_1;return E(t,"\n",a,a,a,a,dt)}function ct(n,t){var i,e=new w(n,t);if(e.equals(new w(F(),O())))i="r8";else if(e.equals(new w(F(),B())))i="r8u";else if(e.equals(new w(F(),M())))i="r8i";else if(e.equals(new w(F(),N())))i="r16";else if(e.equals(new w(F(),T())))i="r16u";else if(e.equals(new w(F(),I())))i="r16i";else if(e.equals(new w(F(),G())))i="r32u";else if(e.equals(new w(F(),V())))i="r32i";else if(e.equals(new w(F(),L())))i="r16f";else if(e.equals(new w(F(),R())))i="r32f";else if(e.equals(new w(D(),O())))i="rg8";else if(e.equals(new w(D(),B())))i="rg8u";else if(e.equals(new w(D(),M())))i="rg8i";else if(e.equals(new w(D(),N())))i="rg16";else if(e.equals(new w(D(),T())))i="rg16u";else if(e.equals(new w(D(),I())))i="rg16i";else if(e.equals(new w(D(),L())))i="rg16f";else if(e.equals(new w(D(),R())))i="rg32f";else if(e.equals(new w(A(),O())))i="rgba8";else if(e.equals(new w(A(),B())))i="rgba8u";else if(e.equals(new w(A(),M())))i="rgba8i";else if(e.equals(new w(A(),N())))i="rgba16";else if(e.equals(new w(A(),T())))i="rgba16u";else if(e.equals(new w(A(),I())))i="rgba16i";else if(e.equals(new w(A(),L())))i="rgba16f";else{if(!e.equals(new w(A(),R()))){var r="unsupported layout: "+n.toString()+" "+t.toString();throw $(d(r))}i="rgba32f"}return i}function vt(n){var t;switch(n.c1_1){case 2:t="bool";break;case 1:t="int";break;case 0:t="uint";break;case 3:t="float";break;case 4:t="double";break;case 7:t="uvec2";break;case 5:t="bvec2";break;case 6:t="ivec2";break;case 8:t="vec2";break;case 9:t="dvec2";break;case 12:t="uvec3";break;case 10:t="bvec3";break;case 11:t="ivec3";break;case 13:t="vec3";break;case 14:t="dvec3";break;case 17:t="uvec4";break;case 15:t="bvec4";break;case 16:t="ivec4";break;case 18:t="vec4";break;case 19:t="dvec4";break;case 20:t="mat2";break;case 21:t="mat3";break;case 22:t="mat4";break;default:p()}return t}function wt(n,t,i){return null==n?";":"["+t+"]; \n#define p_"+i+"_SIZE "+t}function dt(n){return n instanceof W?1===n.z1j_1?vt(n.y1j_1)+" "+n.x1j_1+";":vt(n.y1j_1)+"["+n.z1j_1+"] "+n.x1j_1+";":n instanceof P?1===n.w1j_1?n.u1j_1+" "+n.v1j_1+";":n.u1j_1+"["+n.w1j_1+"] "+n.v1j_1+";":""}function $t(n,t,i){this.a1k_1=n,this.b1k_1=t,this.c1k_1=i}function gt(n,t,i){St();var e,r,_,u=new $t(n,t,i),o=(St(),s),h=null==n?null:n.a14_1,f=null!=h&&h;return o.o1j(u,f,(e=n,r=t,_=i,function(){null==e||(e.a14_1=!1);var n=new X;if(null!=e){n.f12_1=e.f14_1,n.g12_1=e.g14_1,n.h12_1=e.h14_1,n.i12_1=e.c14_1,n.j12_1=e.d14_1,n.k12_1=e.e14_1,n.b12_1=function(n){for(var t=n.t1l(),i=l(),e=t.q().g();e.h();){var r=e.i(),s=r.s();Jn(s,"struct")&&i.m3(r.r(),r.s())}for(var _=i,u=n.u1l(),o=l(),h=u.q().g();h.h();){var f=h.i(),c=f.s();Jn(c,"struct")&&o.m3(f.r(),f.s())}for(var v=nt(_,o).a1(),d=Q(sn(v,10)),$=v.g();$.h();){var g,k=$.i(),m=n.e1l().z(k),p=null==m?n.t1k().z(k):m;if(null!=p&&Rn(p)){var x=n.e1l().z(k),y=null==x?n.t1k().z(k):x,q=null!=y&&Rn(y)?y:H();g=new w(k,yn(q))}else{var j,C=n.e1l().z(k);if(null==C){var S=n.t1k().z(k),z=S instanceof bn?S:null;j=null==z?null:z.w1k_1}else j=C;var A=vn(j);g=new w(k,A instanceof Sn?A:H())}var R=g;d.e(R)}for(var L=d,I=tt(),T=J(),N=L.g();N.h();){var M=N.i(),B=qn(M.oa_1).y7();I.e(B)&&T.e(M)}return E(T,"\n",a,a,a,a,(O=n,function(n){var t=n.oa_1,i=O.t1l().z(n.na_1),e=b(b(vn(null==i?O.u1l().z(n.na_1):i),[" "]).k(1),[","]).k(0);return rt(t,e,!1)}));var O}(e);for(var t=n,i=e.t14_1,s=Q(i.j()),u=i.q().g();u.h();){var o=u.i(),h="// -- output-from "+o.s().toString()+" \n#define OUTPUT_"+o.r()+" \nlayout(location = "+o.s().p1j_1+") out "+_t(o.s())+" o_"+o.r()+";\n";s.e(h)}t.l12_1=E(s,""),n.c12_1=function(n){for(var t=n.t1l(),i=Q(t.j()),e=t.q().g();e.h();){var r=e.i(),s=ht(r.s(),r.r());i.e(s)}return E(i,"\n")}(e),n.e12_1=E(Z([Tt(e),Nt(e)]),"\n")}for(var f=n,c=r,v=J(),d=c.g();d.h();){for(var $=d.i().jv_1,g=J(),k=$.g();k.h();){var m=k.i();"_"!==m.k13_1&&g.e(m)}nn(v,g)}for(var p=E(v,"",a,a,a,a,mt),x=_,y=J(),q=x.g();q.h();){for(var j=q.i().jv_1,C=J(),S=j.g();S.h();){var z=S.i();"_"!==z.k13_1&&C.e(z)}nn(y,C)}var A=y;f.m12_1=p+E(A,"",a,a,a,a,pt);for(var R=n,L=r,I=J(),T=L.g();T.h();){for(var N=T.i().jv_1,M=J(),B=N.g();B.h();){var O=B.i();"_"!==O.k13_1&&M.e(O)}nn(I,M)}for(var D=E(I,"",a,a,a,a,bt),F=_,V=J(),G=F.g();G.h();){for(var P=G.i().jv_1,W=J(),U=P.g();U.h();){var K=U.i();"_"!==K.k13_1&&W.e(K)}nn(V,W)}var Y=V;R.n12_1=D+E(Y,"",a,a,a,a,xt);for(var tn=n,en=r,rn=J(),_n=en.g();_n.h();){for(var un=_n.i().jv_1,on=J(),hn=un.g();hn.h();){var an=hn.i();"_"!==an.k13_1&&on.e(an)}nn(rn,on)}for(var ln=E(rn,"",a,a,a,a,yt),fn=_,cn=J(),wn=fn.g();wn.h();){for(var dn=wn.i().jv_1,$n=J(),gn=dn.g();gn.h();){var kn=gn.i();"_"!==kn.k13_1&&$n.e(kn)}nn(cn,$n)}var mn=cn;tn.o12_1=ln+E(mn,"",a,a,a,a,qt);for(var pn=n,xn=r,jn=J(),Cn=xn.g();Cn.h();){for(var zn=Cn.i().jv_1,En=J(),An=zn.g();An.h();){var Ln=An.i();"_"!==Ln.k13_1&&En.e(Ln)}nn(jn,En)}for(var In=E(jn,"",a,a,a,a,jt),Tn=_,Nn=J(),Mn=Tn.g();Mn.h();){for(var Bn=Mn.i().jv_1,On=J(),Dn=Bn.g();Dn.h();){var Fn=Dn.i();"_"!==Fn.k13_1&&On.e(Fn)}nn(Nn,On)}var Vn=Nn;pn.d12_1=In+E(Vn,"",a,a,a,a,Ct);var Gn=n,Pn=null==e?null:e.v14_1;return Gn.p12_1=null!=Pn&&Pn,n}))}function kt(n){return St(),1===n.n13_1?"":"["+n.n13_1+"]"}function mt(n){return St(),ut(n.m13_1)+"out "+ot(n.m13_1)+" va_"+n.k13_1+kt(n)+";\n"}function pt(n){return St(),ut(n.m13_1)+"out "+ot(n.m13_1)+" vi_"+n.k13_1+kt(n)+";\n"}function bt(n){return St(),ut(n.m13_1)+"in "+ot(n.m13_1)+" va_"+n.k13_1+kt(n)+";\n"}function xt(n){return St(),ut(n.m13_1)+"in "+ot(n.m13_1)+" vi_"+n.k13_1+kt(n)+";\n"}function yt(n){return St()," va_"+n.k13_1+" = a_"+n.k13_1+";\n"}function qt(n){return St(),"vi_"+n.k13_1+" = i_"+n.k13_1+";\n"}function jt(n){return St(),"in "+ot(n.m13_1)+" a_"+n.k13_1+kt(n)+";\n"}function Ct(n){return St(),"in "+ot(n.m13_1)+" i_"+n.k13_1+kt(n)+";\n"}function St(){_||(_=!0,s=new st)}function zt(n,t){return tn.cw().e1a(t)+"\n"+n}function Et(n,t,i,e,r,s){en.call(this,n),this.e1k_1=t,this.f1k_1=i,this.g1k_1=e,this.h1k_1=r,this.i1k_1=s,this.j1k_1=0,this.k1k_1=0,this.l1k_1=null,this.m1k_1=l()}function At(){}function Rt(){}function Lt(){}function It(){}function Tt(n){for(var t=2,i=n.t1k(),e=Q(i.j()),r=i.q().g();r.h();){var s,_=r.i(),u=_.s();if(u instanceof bn){var o="layout(std430, binding = "+t+")",h=n.v1l().z(_.r()),l=null==h?it():h,f=E(l," ",a,a,a,a,Mt),c=n.w1l().z(_.r()),v=lt(null==c?et():c),w=_.r(),g=u.w1k_1,k=rt(g,"",!0);s=E(Z([o,f,v,"buffer B_"+w+" { "+k+" } b_"+_.r()+";"])," ")}else if(mn(u,pn))s="layout(std430, binding = "+t+") buffer B_"+_.r()+" { "+ft(u.mv())+" } b_"+_.r()+";";else{if(!mn(u,kn)){var m="unsupported buffer type: "+d(u);throw $(d(m))}var p=t,b=_.r(),x=_.s();s="layout(binding = "+p+", offset = 0) uniform atomic_uint b_"+b+"["+(mn(x,kn)?x:H()).j()+"];"}var y=s;t=t+1|0,e.e(y)}return E(e,"\n")}function Nt(n){for(var t=n.x1l(),i=Q(t.j()),e=t.q().g();e.h();){var r,s=e.i(),_=b(s.s(),[","]),u=b(_.k(0),[" "]);switch(u.k(0)){case"Image2D":case"Image3D":case"ImageCube":case"Image2DArray":case"ImageBuffer":case"ImageCubeArray":var o,h=y(_.k(0),1).toLowerCase()+q(_.k(0),1),l=j(_.k(1)),f=C(_.k(2)),c=ct(l,f);switch(f.sw().c1_1){case 2:o="i";break;case 1:o="u";break;default:o=""}var v,w=n.c1l().z(s.r());switch(w){case-1:v="";break;case 0:throw $(d("zero-sized arrays are not supported"));default:v="["+w+"]"}var g=v,k="layout("+c+", binding = "+n.z1k().z(s.r())+")",m=n.y1l().z(s.r()),p=null==m?it():m,x=E(p," ",a,a,a,a,Bt),S=n.z1l().z(s.r());r=E(Z([k,x,lt(null==S?et():S),"uniform "+o+h+" p_"+s.r()+g+";"])," ");break;default:var z="unknown image type '"+u.k(0);throw $(d(z))}var A=r;i.e(A)}return E(i,"\n")}function Mt(n){return at(n)}function Bt(n){return at(n)}return v(st,"LRUCache",st),v($t,"CacheEntry"),xn(It,"StyleManagerDispatchUniform"),xn(Lt,"StyleManagerDispatchImageBindings"),xn(Rt,"StyleManagerDispatchBufferBindings"),v(Et,"ShadeStyleManagerGLCommon",a,en,[en,It,Lt,Rt]),v(At,"ShaderGeneratorsGLCommon",At),c(st).z=function(n){return this.l1j_1.z(n)},c(st).n1j=function(n,t){this.l1j_1.j()>=this.k1j_1&&this.l1j_1.n3(this.m1j_1.y9()),this.l1j_1.m3(n,t),this.m1j_1.x9(n)},c(st).o1j=function(n,t,i){var e,r=this.z(n);if(t||null==r){var s=i();this.n1j(n,s),e=s}else e=r;return e},c($t).toString=function(){return"CacheEntry(shadeStyle="+U(this.a1k_1)+", vertexFormats="+d(this.b1k_1)+", instanceAttributeFormats="+d(this.c1k_1)+")"},c($t).hashCode=function(){var n=null==this.a1k_1?0:K(this.a1k_1);return n=h(n,31)+K(this.b1k_1)|0,h(n,31)+K(this.c1k_1)|0},c($t).equals=function(n){if(this===n)return!0;if(!(n instanceof $t))return!1;var t=n instanceof $t?n:H();return!!Y(this.a1k_1,t.a1k_1)&&!!Y(this.b1k_1,t.b1k_1)&&!!Y(this.c1k_1,t.c1k_1)},c(Et).n1k=function(n){this.k1k_1=n},c(Et).o1k=function(){return this.k1k_1},c(Et).y11=function(n,t,i){for(var e=null==n?null:n.u14_1,r=null==e?rn():e,s=Q(sn(r,10)),_=r.g();_.h();){var u=_.i().bv();s.e(u)}var h=_n(i,s);if(null==n){if(null==this.l1k_1){var a=gt(n,t,h),l=un,f=zt(this.e1k_1(a),on()),c=this.f1k_1,v=null==c?null:c(a),w=null==v?null:zt(v,hn()),d=this.g1k_1,$=null==d?null:d(a),g=null==$?null:zt($,an()),k=this.h1k_1,m=null==k?null:k(a);this.l1k_1=l.q12(f,w,g,null==m?null:zt(m,ln()),zt(this.i1k_1(a),fn()),"shade-style-default:"+this.x11_1,cn.b11())}return vn(this.l1k_1)}var p,b=gt(n,t,h),x=this.m1k_1,y=x.z(b);if(null==y){var q;try{var j=un,C=zt(this.e1k_1(b),on()),S=this.f1k_1,z=null==S?null:S(b),E=null==z?null:zt(z,hn()),A=this.g1k_1,R=null==A?null:A(b),L=null==R?null:zt(R,an()),I=this.h1k_1,T=null==I?null:I(b);q=j.q12(C,E,L,null==T?null:zt(T,ln()),zt(this.i1k_1(b),fn()),"shade-style-custom:"+this.x11_1+"-"+b.hashCode(),cn.b11())}catch(n){if(!(n instanceof Error))throw n;if(!o)throw n;q=this.y11(null,t,h)}var N=q;x.m3(b,N),p=N}else p=y;var M=p;return this.p1k(n,M),this.q1k(n,M),this.r1k(n,M),M},c(At).o19=function(n){var t=wn.y19("d_vertex_buffer"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=n.c12_1,u=null==_?"":_,o=wn.a1a(),h=n.n12_1,l=null==h?"":h,f=n.l12_1,c=null==f?"":f,v=wn.q19_1,w=n.p12_1?"":"out vec4 o_color;",d=wn.v19(a,"v_instance"),$=n.k12_1,g=null==$?"":$,k=n.h12_1,m=null==k?null:dn(k," ");return $n("|\n|"+t+"\n|"+e+"\n|"+s+"\n|"+u+"\n|#ifdef OR_GL \nlayout(origin_upper_left) in vec4 gl_FragCoord;\n#endif \n\n\n|uniform sampler2D image;\n|"+o+"\n|"+l+"\n|"+c+"\n|"+v+"\n\n|#ifndef OUTPUT_color\n|"+w+"\n|#endif\n|\n|flat in int v_instance;\n|flat in float va_pointSize;\n|"+d+"\n|"+g+"\n|void main(void) {\n| vec4 x_fill = u_fill;\n| vec4 x_stroke = u_stroke;\n| {\n"+(null==m?"":m)+"\n| }\n "+(n.p12_1?"":" o_color = x_fill;\n o_color.rgb *= o_color.a;\n")+"\n|}")},c(At).n19=function(n){var t=wn.y19("d_vertex_buffer"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=wn.a1a(),u=n.d12_1,o=null==u?"":u,h=n.c12_1,a=null==h?"":h,l=n.m12_1,f=null==l?"":l,c=wn.r19_1,v=n.i12_1,w=null==v?"":v,d=wn.x19(),$=n.o12_1,g=null==$?"":$,k=n.d12_1,m=!0===(null==k?null:gn(k,"vec3 a_normal;"))?"x_normal = a_normal;":"",p=wn.s19_1,b=n.f12_1,x=null==b?null:dn(b," ");return $n("\n"+t+"\n"+e+"\n"+s+"\n"+_+"\n"+o+"\n"+a+"\n"+f+"\n"+c+"\n"+w+"\n\nflat out int v_instance;\nflat out float va_pointSize;\nvoid main() {\n int instance = gl_InstanceID; // this will go use c_instance instead\n"+d+"\n"+g+"\n vec3 x_normal = vec3(0.0, 0.0, 0.0);\n "+m+"\n vec3 x_position = a_position;\n float x_pointSize = 1.0;\n\n "+p+"\n {\n"+(null==x?"":x)+"\n }\n "+wn.t19_1+"\n\n v_instance = instance;\n gl_Position = v_clipPosition;\n gl_PointSize = x_pointSize;\n va_pointSize = x_pointSize;\n}\n ")},c(At).f18=function(n){var t=wn.y19("d_image"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=n.c12_1,u=null==_?"":_,o=wn.a1a(),h=n.n12_1,l=null==h?"":h,f=wn.q19_1,c=n.l12_1,v=null==c?"":c,w=n.p12_1?"":"out vec4 o_color;",d=wn.v19(a,a,a,a,"v_boundsPosition"),$=n.k12_1,g=null==$?"":$,k=n.h12_1,m=null==k?null:dn(k," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+u+"\n#ifdef OR_GL \nlayout(origin_upper_left) in vec4 gl_FragCoord;\n#endif \n\n\nuniform sampler2D image;\n"+o+"\n"+l+"\n"+f+"\n\n"+v+"\n\n#ifndef OUTPUT_color\n"+w+"\n#endif\n\nin vec3 v_boundsPosition;\nflat in int v_instance;\nvec4 colorTransform(vec4 color, float[25] matrix) {\n float r = color.r * matrix[0] + color.g * matrix[5] + color.b * matrix[10] + color.a * matrix[15] + matrix[20];\n float g = color.r * matrix[1] + color.g * matrix[6] + color.b * matrix[11] + color.a * matrix[16] + matrix[21];\n float b = color.r * matrix[2] + color.g * matrix[7] + color.b * matrix[12] + color.a * matrix[17] + matrix[22];\n float a = color.r * matrix[3] + color.g * matrix[8] + color.b * matrix[13] + color.a * matrix[18] + matrix[23];\n return vec4(r, g, b, a);\n}\n"+d+"\n"+g+"\nvoid main(void) {\n\n vec4 x_fill = texture(image, va_texCoord0);\n vec4 x_stroke = u_stroke;\n {\n"+(null==m?"":m)+"\n }\n float div = x_fill.a != 0.0 ? x_fill.a : 1.0;\n x_fill.rgb /= div;\n x_fill = colorTransform(x_fill, u_colorMatrix);\n x_fill.rgb *= x_fill.a;\n "+(n.p12_1?"":"o_color = x_fill;")+"\n}"},c(At).e18=function(n){var t=wn.y19("d_image"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=wn.a1a(),u=n.d12_1,o=null==u?"":u,h=n.c12_1,a=null==h?"":h,l=n.m12_1,f=null==l?"":l,c=wn.r19_1,v=wn.x19(),w=n.i12_1,d=null==w?"":w,$=n.o12_1,g=null==$?"":$,k=wn.s19_1,m=n.f12_1,p=null==m?null:dn(m," ");return"\n\n"+t+"\n"+e+"\n"+s+"\n"+_+"\nuniform int u_flipV;\n"+o+"\n"+a+"\n"+f+"\n"+c+"\n\n"+v+"\n"+d+"\n\nflat out int v_instance;\n\nout vec3 v_boundsPosition;\nvoid main() {\n v_instance = gl_InstanceID;\n\n "+g+"\n "+k+"\n vec3 x_normal = a_normal;\n vec3 x_position = a_position;\n x_position.xy = a_position.xy * i_target.zw + i_target.xy;\n v_boundsPosition = vec3(a_texCoord0.xy, 1.0);\n va_texCoord0.xy = a_texCoord0.xy * i_source.zw + i_source.xy;\n if (u_flipV == 0) {\n va_texCoord0.y = 1.0 - va_texCoord0.y;\n }\n {\n"+(null==p?"":p)+"\n }\n "+wn.t19_1+"\n gl_Position = v_clipPosition;\n}\n"},c(At).h18=function(n){var t=wn.y19("d_image"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=n.c12_1,u=null==_?"":_,o=wn.a1a(),h=n.n12_1,l=null==h?"":h,f=wn.q19_1,c=n.p12_1?"":"out vec4 o_color;",v=wn.v19(a,a,a,a,"v_boundsPosition"),w=n.k12_1,d=null==w?"":w,$=n.h12_1,g=null==$?null:dn($," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+u+"\n#ifdef OR_GL \nlayout(origin_upper_left) in vec4 gl_FragCoord;\n#endif \n\n\nuniform sampler2DArray image;\n"+o+"\n"+l+"\n"+f+"\n\n#ifndef OUTPUT_color\n"+c+"\n#endif\n\n\nin vec3 v_boundsPosition;\nflat in int v_instance;\nflat in int v_layer;\nvec4 colorTransform(vec4 color, float[25] matrix) {\n float r = color.r * matrix[0] + color.g * matrix[5] + color.b * matrix[10] + color.a * matrix[15] + matrix[20];\n float g = color.r * matrix[1] + color.g * matrix[6] + color.b * matrix[11] + color.a * matrix[16] + matrix[21];\n float b = color.r * matrix[2] + color.g * matrix[7] + color.b * matrix[12] + color.a * matrix[17] + matrix[22];\n float a = color.r * matrix[3] + color.g * matrix[8] + color.b * matrix[13] + color.a * matrix[18] + matrix[23];\n return vec4(r, g, b, a);\n}\n\n"+v+"\n"+d+"\nvoid main(void) {\n vec4 x_fill = texture(image, vec3(va_texCoord0, float(v_layer) * 1.0));\n vec4 x_stroke = u_stroke;\n {\n"+(null==g?"":g)+"\n }\n float div = x_fill.a != 0.0 ? x_fill.a : 1.0;\n x_fill.rgb /= div;\n x_fill = colorTransform(x_fill, u_colorMatrix);\n x_fill.rgb *= x_fill.a;\n "+(n.p12_1?"":"o_color = x_fill;")+"\n}"},c(At).g18=function(n){var t=wn.y19("d_image"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=wn.a1a(),u=n.d12_1,o=null==u?"":u,h=n.c12_1,a=null==h?"":h,l=n.m12_1,f=null==l?"":l,c=wn.r19_1,v=wn.x19(),w=n.i12_1,d=null==w?"":w,$=n.o12_1,g=null==$?"":$,k=wn.s19_1,m=n.f12_1,p=null==m?null:dn(m," ");return"\n\n"+t+"\n"+e+"\n"+s+"\n"+_+"\nuniform int u_flipV;\n"+o+"\n"+a+"\n"+f+"\n"+c+"\n\n"+v+"\n"+d+"\n\nflat out int v_instance;\nflat out int v_layer;\n\nout vec3 v_boundsPosition;\nvoid main() {\n v_instance = gl_InstanceID;\n\n "+g+"\n "+k+"\n vec3 x_normal = a_normal;\n vec3 x_position = a_position;\n x_position.xy = a_position.xy * i_target.zw + i_target.xy;\n v_boundsPosition = vec3(a_texCoord0.xy, 1.0);\n va_texCoord0.xy = a_texCoord0.xy * i_source.zw + i_source.xy;\n v_layer = int(floor(i_layer+0.5));\n if (u_flipV == 0) {\n va_texCoord0.y = 1.0 - va_texCoord0.y;\n }\n {\n"+(null==p?"":p)+"\n }\n "+wn.t19_1+"\n gl_Position = v_clipPosition;\n}\n"},c(At).a19=function(n){var t=wn.y19("d_circle"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=n.c12_1,u=null==_?"":_,o=wn.a1a(a,!1),h=n.n12_1,l=null==h?"":h,f=wn.q19_1,c=n.p12_1?"":"out vec4 o_color;",v=wn.v19(a,a,a,a,"vec3(0.0, 0.0, 0.0)","v_boundsSize"),w=n.k12_1,d=null==w?"":w,$=n.h12_1,g=null==$?null:dn($," ");return $n("\n"+t+"\n"+e+"\n"+s+"\n"+u+"\n#ifdef OR_GL \nlayout(origin_upper_left) in vec4 gl_FragCoord;\n#endif \n\n\n"+o+"\n"+l+"\n"+f+"\n\n#ifndef OUTPUT_color\n"+c+"\n#endif\n\n\nflat in int v_instance;\nin vec3 v_boundsSize;\nflat in float va_pointSize;\n"+v+"\n"+d+"\nvoid main(void) {\n\n\n vec4 x_fill = vi_fill;\n vec4 x_stroke = vi_stroke;\n {\n"+(null==g?"":g)+"\n }\n x_fill.rgb *= x_fill.a;\n "+(n.p12_1?"":"o_color = x_fill;")+"\n}\n\n ")},c(At).z18=function(n){var t=wn.y19("d_point"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=wn.a1a(a,!1),u=n.d12_1,o=null==u?"":u,h=n.c12_1,l=null==h?"":h,f=n.m12_1,c=null==f?"":f,v=wn.r19_1,w=wn.x19(),d=n.i12_1,$=null==d?"":d,g=n.o12_1,k=null==g?"":g,m=wn.s19_1,p=n.f12_1,b=null==p?null:dn(p," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+_+"\n"+o+"\n"+l+"\n"+c+"\n"+v+"\n\n"+w+"\n"+$+"\n\nflat out int v_instance;\nout vec3 v_boundsSize;\nflat out float va_pointSize;\nvoid main() {\n v_instance = gl_InstanceID;\n\n "+k+"\n\n v_boundsSize = vec3(0, 0.0, 0.0);\n "+m+"\n vec3 x_normal = vec3(0.0, 0.0, 1.0);\n vec3 x_position = a_position + i_offset;\n float x_pointSize = 1.0;\n {\n"+(null==b?"":b)+"\n }\n va_position = x_position;\n "+wn.t19_1+"\n gl_Position = v_clipPosition;\n gl_PointSize = x_pointSize;\n va_pointSize = x_pointSize;\n}"},c(At).p13=function(n){var t=wn.y19("d_circle"),i=n.b12_1,e=null==i?"":i,r=n.c12_1,s=null==r?"":r,_=n.e12_1,u=null==_?"":_,o=wn.a1a(a,!1),h=n.n12_1,l=null==h?"":h,f=wn.q19_1,c=n.p12_1?"":"out vec4 o_color;",v=n.k12_1,w=null==v?"":v,d=wn.v19(a,a,a,a,"vec3(va_texCoord0, 0.0)","v_boundsSize"),$=n.h12_1,g=null==$?null:dn($," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+u+"\n#ifdef OR_GL \nlayout(origin_upper_left) in vec4 gl_FragCoord;\n#endif \n\n\n"+o+"\n"+l+"\n"+f+"\n\n#ifndef OUTPUT_color\n"+c+"\n#endif\n\n"+w+"\n\nflat in int v_instance;\nin vec3 v_boundsSize;\n"+d+"\n\n\nvoid main(void) {\n float smoothFactor = 3.0;\n\n vec4 x_fill = vi_fill;\n vec4 x_stroke = vi_stroke;\n float x_strokeWeight = vi_strokeWeight;\n\n {\n"+(null==g?"":g)+"\n }\n float wd = fwidth(length(va_texCoord0 - vec2(0.0)));\n float d = length(va_texCoord0 - vec2(0.5)) * 2.0;\n\n float or = smoothstep(0.0, wd * smoothFactor, 1.0 - d);\n float b = x_strokeWeight / vi_radius.x;\n float ir = smoothstep(0.0, wd * smoothFactor, 1.0 - b - d);\n\n vec4 final = vec4(0.0);\n final.rgb = x_stroke.rgb;\n final.a = or * (1.0 - ir) * x_stroke.a;\n final.rgb *= final.a;\n\n final.rgb += x_fill.rgb * ir * x_fill.a;\n final.a += ir * x_fill.a;\n "+(n.p12_1?"":"o_color = final;")+"\n}\n"},c(At).o13=function(n){var t=wn.y19("d_circle"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=wn.a1a(a,!1),u=n.d12_1,o=null==u?"":u,h=n.c12_1,l=null==h?"":h,f=n.m12_1,c=null==f?"":f,v=wn.r19_1,w=wn.x19(),d=n.i12_1,$=null==d?"":d,g=n.o12_1,k=null==g?"":g,m=wn.s19_1,p=n.f12_1,b=null==p?null:dn(p," ");return"\n// -- circle vertex shader\n"+t+"\n"+e+"\n"+s+"\n"+_+"\n"+o+"\n"+l+"\n"+c+"\n"+v+"\n\n"+w+"\n"+$+"\n\nflat out int v_instance;\nout vec3 v_boundsSize;\nvoid main() {\n v_instance = gl_InstanceID;\n\n "+k+"\n\n vec2 effectiveRadius = i_radius.xy + vec2(1.25 / u_contentScale) / (u_modelViewScalingFactor);\n\n v_boundsSize = vec3(effectiveRadius.xy, 0.0);\n "+m+"\n vec3 x_normal = a_normal;\n vec3 x_position = vec3(a_position.xy * effectiveRadius, 0.0) + i_offset;\n {\n"+(null==b?"":b)+"\n }\n va_position = x_position;\n "+wn.t19_1+"\n gl_Position = v_clipPosition;\n\n}\n "},c(At).u17=function(n){var t=wn.y19("d_font_image_map"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=n.c12_1,u=null==_?"":_,o=wn.a1a(),h=n.n12_1,l=null==h?"":h,f=wn.q19_1,c=n.p12_1?"":"out vec4 o_color;",v=n.k12_1,w=null==v?"":v,d=wn.v19("v_instance","v_element",a,a,"vec3(va_bounds.xy, 0.0)","vec3(va_bounds.zw, 0.0)"),$=n.h12_1,g=null==$?null:dn($," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+u+"\n#ifdef OR_GL \nlayout(origin_upper_left) in vec4 gl_FragCoord;\n#endif \n\n\nuniform sampler2D image;\nflat in int v_instance;\nflat in int v_element;\n\n"+o+"\n"+l+"\n"+f+"\n\n#ifndef OUTPUT_color\n"+c+"\n#endif\n\n"+w+"\n\n"+d+"\nvoid main(void) {\n float imageMap = texture(image, va_texCoord0).r;\n\n vec4 x_fill = vec4(u_fill.rgb,u_fill.a * imageMap);\n vec4 x_stroke = u_stroke;\n {\n"+(null==g?"":g)+"\n }\n vec4 final = x_fill;\n final.rgb *= final.a;\n "+(n.p12_1?"":"o_color = final;")+"\n}\n"},c(At).t17=function(n){var t=wn.y19("d_font_image_map"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=wn.a1a(),u=n.d12_1,o=null==u?"":u,h=n.c12_1,a=null==h?"":h,l=n.m12_1,f=null==l?"":l,c=wn.r19_1,v=wn.x19("int(a_position.z)"),w=n.i12_1,d=null==w?"":w,$=n.o12_1,g=null==$?"":$,k=wn.s19_1,m=n.f12_1,p=null==m?null:dn(m," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+_+"\n\n"+o+"\n"+a+"\n"+f+"\n"+c+"\n"+v+"\n"+d+"\nflat out int v_instance;\nflat out int v_element;\n\nvoid main() {\n\n vec3 decodedPosition = vec3(a_position.xy, 0.0);\n v_element = int(a_position.z);\n v_instance = int(a_instance);\n\n "+g+"\n "+k+"\n vec3 x_normal = vec3(0.0, 0.0, 1.0);\n vec3 x_position = decodedPosition;\n {\n"+(null==p?"":p)+"\n }\n "+wn.t19_1+"\n gl_Position = v_clipPosition;\n}\n "},c(At).h19=function(n){var t=wn.y19("d_rectangle"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=n.c12_1,u=null==_?"":_,o=wn.a1a(a,!1),h=n.n12_1,l=null==h?"":h,f=n.l12_1,c=null==f?"":f,v=wn.q19_1,w=n.p12_1?"":"out vec4 o_color;",d=n.k12_1,$=null==d?"":d,g=wn.v19(a,a,a,a,"vec3(va_texCoord0, 0.0)","v_boundsSize"),k=n.h12_1,m=null==k?null:dn(k," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+u+"\n#ifdef OR_GL \nlayout(origin_upper_left) in vec4 gl_FragCoord;\n#endif \n\n\n"+o+"\n"+l+"\n"+c+"\n"+v+"\n\n#ifndef OUTPUT_color\n"+w+"\n#endif\n\n"+$+"\nflat in int v_instance;\nin vec3 v_boundsSize;\n\n"+g+"\n\nvoid main(void) {\n vec4 x_fill = vi_fill;\n vec4 x_stroke = vi_stroke;\n {\n"+(null==m?"":m)+"\n }\n vec2 wd = fwidth(va_texCoord0 - vec2(0.5));\n vec2 d = abs((va_texCoord0 - vec2(0.5)) * 2.0);\n\n float irx = smoothstep(0.0, wd.x * 2.5, 1.0-d.x - vi_strokeWeight * 2.0 / vi_dimensions.x);\n float iry = smoothstep(0.0, wd.y * 2.5, 1.0-d.y - vi_strokeWeight * 2.0 / vi_dimensions.y);\n float ir = irx*iry;\n\n vec4 final = vec4(1.0);\n final.rgb = x_fill.rgb * x_fill.a;\n final.a = x_fill.a;\n\n float sa = (1.0-ir) * x_stroke.a;\n final.rgb = final.rgb * (1.0-sa) + x_stroke.rgb * sa;\n final.a = final.a * (1.0-sa) + sa;\n\n "+(n.p12_1?"":" o_color = final;")+"\n}\n"},c(At).g19=function(n){var t=wn.y19("d_rectangle"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=wn.a1a(a,!1),o=n.d12_1,h=null==o?"":o,l=n.c12_1,f=null==l?"":l,c=n.m12_1,v=null==c?"":c,w=wn.r19_1,d=wn.x19(),$=n.i12_1,g=null==$?"":$,k=n.o12_1,m=null==k?"":k,p=wn.s19_1,b=n.f12_1,x=null==b?null:dn(b," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+_+"\n"+h+"\n"+f+"\n"+v+"\n"+w+"\n\n"+d+"\n"+g+"\n\nflat out int v_instance;\nout vec3 v_boundsSize;\n"+u+"\n\nvoid main() {\n v_instance = gl_InstanceID;\n "+m+"\n "+p+"\n vec3 x_normal = vec3(0.0, 0.0, 1.0);\n vec2 rotatedPosition = rotate2(i_rotation) * (( a_position.xy - vec2(0.5) ) * i_dimensions) + vec2(0.5) * i_dimensions;\n\n vec3 x_position = vec3(rotatedPosition, 0.0) + i_offset;\n v_boundsSize = vec3(i_dimensions, 1.0);\n {\n"+(null==x?"":x)+"\n }\n "+wn.t19_1+"\n gl_Position = v_clipPosition;\n }\n "},c(At).x16=function(n){var t=wn.y19("d_expansion"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=n.c12_1,u=null==_?"":_,o=wn.a1a(),h=n.n12_1,l=null==h?"":h,f=wn.q19_1,c=n.p12_1?"":"out vec4 o_color;",v=n.k12_1,w=null==v?"":v,d=wn.v19(a,a,a,"va_vertexOffset","vec3(v_objectPosition.xy - bounds.xy, 0.0) / vec3(bounds.zw,1.0)","vec3(bounds.zw, 0.0)"),$=n.h12_1,g=null==$?null:dn($," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+u+"\n#ifdef OR_GL \nlayout(origin_upper_left) in vec4 gl_FragCoord;\n#endif \n\n"+o+"\n"+l+"\n"+f+"\nflat in int v_instance;\nuniform float strokeMult;\nuniform float strokeThr;\nuniform float strokeFillFactor;\nuniform sampler2D tex;\nuniform vec4 bounds;\n\nin vec3 v_objectPosition;\nin vec2 v_ftcoord;\n\n#ifndef OUTPUT_color\n"+c+"\n#endif\n\n"+w+"\n\nfloat strokeMask() {\n\treturn min(1.0, (1.0-abs(v_ftcoord.x*2.0-1.0))*strokeMult) * min(1.0, v_ftcoord.y);\n\t//return pow(min(1.0, (1.0-abs(v_ftcoord.x*2.0-1.0)*strokeMult)) * min(1.0, v_ftcoord.y), 1.0);\n //return smoothstep(0.0, 1.0, (1.0-abs(v_ftcoord.x*2.0-1.0))*strokeMult) * smoothstep(0.0, 1.0, v_ftcoord.y);\n}\n\n"+d+"\n\nvoid main(void) {\n\tfloat strokeAlpha = strokeMask();\n\n vec4 x_stroke = u_stroke;\n vec4 x_fill = u_fill;\n\n"+(null==g?"":g)+"\n\n vec4 color = mix(x_stroke, x_fill, strokeFillFactor) * vec4(1.0, 1.0, 1.0, strokeAlpha);\n vec4 result = color;\n\n if (strokeAlpha < strokeThr) {\n\t discard;\n\t}\n\n vec4 final = result;\n\tfinal = result;\n\tfinal.rgb *= final.a;\n "+(n.p12_1?"":"o_color = final;")+"\n}\n"},c(At).w16=function(n){var t=wn.y19("d_expansion"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=wn.a1a(),u=n.c12_1,o=null==u?"":u,h=n.d12_1,a=n.m12_1,l=null==a?"":a,f=wn.r19_1,c=wn.x19(),v=n.i12_1,w=null==v?"":v,d=n.o12_1,$=null==d?"":d,g=wn.s19_1,k=n.f12_1,m=null==k?null:dn(k," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+_+"\n"+o+"\n"+h+"\n"+l+"\n"+f+"\n\n"+c+"\n"+w+"\n\nout vec2 v_ftcoord;\nout float v_offset;\n\nout vec3 v_objectPosition;\nflat out int v_instance;\n\nvoid main() {\n v_instance = 0;\n "+$+"\n v_objectPosition = vec3(a_position, 0.0);\n v_ftcoord = a_texCoord0;\n\n vec3 x_position = vec3(a_position, 0.0);\n vec3 x_normal = vec3(0.0, 0.0, 1.0);\n "+g+"\n {\n"+(null==m?"":m)+"\n }\n "+wn.t19_1+"\n\n gl_Position = v_clipPosition;\n}\n"},c(At).y18=function(n){var t=wn.y19("d_fast_line"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=n.c12_1,u=null==_?"":_,o=wn.a1a(),h=n.n12_1,a=null==h?"":h,l=wn.q19_1,f=n.p12_1?"":"out vec4 o_color;",c=n.k12_1,v=null==c?"":c,w=wn.v19(),d=n.h12_1,$=null==d?null:dn(d," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+u+"\n#ifdef OR_GL \nlayout(origin_upper_left) in vec4 gl_FragCoord;\n#endif \n\n\nuniform sampler2D image;\n"+o+"\n"+a+"\n"+l+"\nflat in int v_instance;\n\n#ifndef OUTPUT_color\n"+f+"\n#endif\n\n"+v+"\n\n"+w+"\nvoid main(void) {\n vec4 x_fill = u_fill;\n vec4 x_stroke = u_stroke;\n {\n"+(null==$?"":$)+"\n }\n\n\n vec4 final = x_stroke;\n final = x_stroke;\n final.rgb *= final.a;\n "+(n.p12_1?"":"o_color = final;")+"\n}\n"},c(At).x18=function(n){var t=wn.y19("d_fast_line"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=wn.a1a(),u=n.d12_1,o=null==u?"":u,h=n.c12_1,a=null==h?"":h,l=n.m12_1,f=null==l?"":l,c=wn.r19_1,v=wn.x19(),w=n.i12_1,d=null==w?"":w,$=n.o12_1,g=null==$?"":$,k=wn.s19_1,m=n.f12_1,p=null==m?null:dn(m," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+_+"\n"+o+"\n"+a+"\n"+f+"\n"+c+"\n\n"+v+"\n"+d+"\n\nflat out int v_instance;\n\nvoid main() {\n v_instance = gl_InstanceID;\n\n "+g+"\n "+k+"\n vec3 x_normal = vec3(0.0, 0.0, 1.0);\n vec3 x_position = a_position;\n {\n"+(null==p?"":p)+"\n }\n "+wn.t19_1+"\n gl_Position = v_clipPosition;\n}\n"},c(At).q18=function(n){var t=wn.y19("d_mesh_line"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=n.l12_1,u=null==_?"":_,o=n.c12_1,h=null==o?"":o,a=n.k12_1,l=null==a?"":a,f=wn.a1a(),c=n.n12_1,v=null==c?"":c,w=wn.q19_1,d=n.p12_1?"":"out vec4 o_color;",$=wn.v19(),g=n.h12_1,k=null==g?null:dn(g," ");return $n("\n |\n |"+t+"\n |"+e+"\n |"+s+"\n |"+u+"\n |"+h+"\n |#ifdef OR_GL \nlayout(origin_upper_left) in vec4 gl_FragCoord;\n#endif \n\n |\n |uniform sampler2D image;\n |"+l+"\n |"+f+"\n |"+v+"\n |"+w+"\n |flat in int v_instance;\n |#ifndef OUTPUT_color\n |"+d+"\n |#endif\n | "+$+"\n |void main(void) {\n | vec4 x_fill = u_fill;\n | vec4 x_stroke = va_color;\n | {\n"+(null==k?"":k)+"\n | }\n |"+(n.p12_1?"":"o_color = x_stroke;\no_color.rgb *= o_color.a;")+"\n |}\n ")},c(At).p18=function(n){var t=n.b12_1,i=null==t?"":t,e=n.e12_1,r=null==e?"":e,s=wn.y19("d_mesh_line"),_=wn.a1a(),u=n.d12_1,o=null==u?"":u,h=n.c12_1,l=null==h?"":h,f=n.m12_1,c=null==f?"":f,v=wn.r19_1,w=wn.x19(a,"int(a_element)"),d=n.i12_1,$=null==d?"":d,g=n.o12_1,k=null==g?"":g,m=wn.s19_1,p=n.f12_1,b=null==p?null:dn(p," ");return $n("\n |\n |"+i+"\n |"+r+"\n |"+s+"\n |"+_+"\n |"+o+"\n |"+l+"\n |"+c+"\n |"+v+"\n |"+w+"\n |"+$+"\n |flat out int v_instance;\n |\n |vec2 fix(vec4 i, float aspect) {\n | vec2 res = i.xy / i.w;\n | res.x *= aspect;\n | return res;\n |}\n |\n |void main() {\n | v_instance = gl_InstanceID;\n | "+k+"\n | "+m+"\n | vec3 x_normal = vec3(0.0, 0.0, 1.0);\n | vec3 x_position = a_position;\n | {\n"+(null==b?"":b)+"\n | }\n | "+wn.t19_1+"\n | float aspect = u_viewDimensions.x / u_viewDimensions.y;\n | vec2 pixelWidthRatio = 1.0 / (u_viewDimensions);\n | mat4 pvm = x_projectionMatrix * x_viewMatrix * x_modelMatrix;\n | vec4 finalPosition = pvm * vec4(a_position, 1.0);\n | vec4 prevPosition = pvm * vec4(a_previous, 1.0);\n | vec4 nextPosition = pvm * vec4(a_next, 1.0);\n | vec2 currentP = fix(finalPosition, aspect);\n | vec2 prevP = fix(prevPosition, aspect);\n | vec2 nextP = fix(nextPosition, aspect);\n |\n | vec2 w = max(pixelWidthRatio*finalPosition.w, (pixelWidthRatio) * a_width);\n | vec2 dir;\n | if (nextP == currentP) {\n | dir = normalize(currentP - prevP);\n | } else if(prevP == currentP) {\n | dir = normalize( nextP - currentP );\n | } else {\n | vec2 dir1 = normalize(currentP - prevP);\n | vec2 dir2 = normalize(nextP - currentP);\n | dir = normalize(dir1 + dir2);\n | }\n | x_normal = ( cross( vec3( dir, 0. ), vec3( 0., 0., 1. ) ) );\n | vec2 normal = vec2(-dir.y, dir.x) * w;\n | vec4 offset = vec4(normal * a_side, 0.0, 1.0);\n |\n | finalPosition.xy += offset.xy;\n | v_clipPosition = finalPosition;\n | gl_Position = finalPosition;\n |}\n ")},c(Et).q1k=function(n,t){this.n1k(n.d1l());for(var i=n.e1l().q().g();i.h();){var e=i.i();this.s1k(t,"p_"+e.r(),e.r(),e.s())}},c(Et).s1k=function(n,t,i,e){if("boolean"==typeof e)n.s1l(t,e);else if("number"==typeof e)n.m1l(t,e);else if("number"==typeof e)n.hw(t,e);else if("number"==typeof e)n.mw(t,e);else if(e instanceof Bn)n.fw(t,e);else if(e instanceof Zn)n.r1l(t,e);else if(e instanceof Nn)n.h17(t,e);else if(e instanceof Tn)n.q1l(t,e);else if(e instanceof In)n.gw(t,e);else if(e instanceof Qn)n.p1l(t,e);else if(e instanceof Xn)n.o1l(t,e);else if(e instanceof Yn)n.n1l(t,e);else if(e instanceof Mn)n.qx(t,e);else if(e instanceof Hn){e.sv(this.o1k()),n.m1l(t,this.o1k());var r=this.o1k();this.n1k(r+1|0)}else if(mn(e,Kn)){e.sv(this.o1k()),n.m1l(t,this.o1k());var s=this.o1k();this.n1k(s+1|0)}else if(e instanceof Un){e.sv(this.o1k()),n.m1l(t,this.o1k());var _=this.o1k();this.n1k(_+1|0)}else if(mn(e,Wn)){e.sv(this.o1k()),n.m1l(t,this.o1k());var u=this.o1k();this.n1k(u+1|0)}else if(e instanceof Pn){e.sv(this.o1k()),n.m1l(t,this.o1k());var o=this.o1k();this.n1k(o+1|0)}else if(mn(e,Gn)){e.sv(this.o1k()),n.m1l(t,this.o1k());var h=this.o1k();this.n1k(h+1|0)}else if(mn(e,Vn)){e.sv(this.o1k()),n.m1l(t,this.o1k());var a=this.o1k();this.n1k(a+1|0)}else if(Fn(e)){for(var l=Q(e.length),f=0,c=e.length;f{var e,r,s;r=[t,i(50),i(36),i(560),i(988),i(651),i(549)],void 0===(s="function"==typeof(e=function(n,t,i,e,r,s,_){"use strict";var u,o,h,a,l,f,c,v,w=Math.imul,d=t.$_$.r,$=i.$_$.b1,g=i.$_$.x3,k=i.$_$.l3,m=t.$_$.y,p=i.$_$.c3,b=i.$_$.m,x=t.$_$.e,y=t.$_$.d,q=t.$_$.g,j=t.$_$.f,C=i.$_$.z3,S=i.$_$.q,z=i.$_$.u3,E=t.$_$.q,A=e.$_$.t,R=t.$_$.x,L=i.$_$.z4,I=t.$_$.b,T=t.$_$.u,N=t.$_$.c,M=e.$_$.f,B=t.$_$.l,O=t.$_$.i,D=t.$_$.k,F=t.$_$.h,V=i.$_$.o1,G=t.$_$.v,P=t.$_$.m,W=t.$_$.o,U=t.$_$.j,K=t.$_$.n,H=i.$_$.y2,Y=i.$_$.o2,X=t.$_$.t,Q=i.$_$.l5,Z=i.$_$.f1,J=i.$_$.f,nn=i.$_$.k1,tn=t.$_$.s,en=t.$_$.a,rn=t.$_$.p,sn=r.$_$.k1,_n=r.$_$.x1,un=i.$_$.c,on=r.$_$.q1,hn=i.$_$.p,an=i.$_$.e5,ln=i.$_$.s,fn=i.$_$.q2,cn=i.$_$.h1,vn=i.$_$.i1,wn=i.$_$.d5,dn=i.$_$.g3,$n=r.$_$.x,gn=r.$_$.a1,kn=r.$_$.b1,mn=r.$_$.c1,pn=i.$_$.g2,bn=i.$_$.x4,xn=r.$_$.y,yn=r.$_$.z,qn=s.$_$.b,jn=r.$_$.o2,Cn=r.$_$.w1,Sn=i.$_$.l,zn=i.$_$.k3,En=i.$_$.y3,An=s.$_$.a,Rn=r.$_$.e1,Ln=i.$_$.m2,In=i.$_$.m1,Tn=r.$_$.g1,Nn=i.$_$.e3,Mn=r.$_$.w,Bn=r.$_$.p2,On=i.$_$.f4,Dn=i.$_$.i3,Fn=i.$_$.k4,Vn=i.$_$.e1,Gn=i.$_$.m3,Pn=r.$_$.f1,Wn=r.$_$.h1,Un=r.$_$.a2,Kn=i.$_$.g,Hn=_.$_$.a,Yn=r.$_$.z1,Xn=r.$_$.y1,Qn=i.$_$.e,Zn=i.$_$.e4,Jn=i.$_$.c2,nt=i.$_$.c4,tt=i.$_$.k,it=r.$_$.r,et=r.$_$.v,rt=i.$_$.j3,st=r.$_$.k2,_t=i.$_$.b5,ut=r.$_$.d1,ot=r.$_$.i2,ht=r.$_$.j2;function at(){return u}function lt(){d.call(this)}function ft(){var n;console.log("setting up ApplicationBaseWebGL"),m(((n=function(){return new lt}).callableName="",n))}function ct(n,t){return new Promise((i=t,function(n,t){var e,r,s=new FileReader;return s.readAsDataURL(i),s.onloadend=(e=n,r=s,function(n){return e(r.result),$}),$}));var i}function vt(n,t){var i=b();return t.ctrlKey&&i.e(x()),t.altKey&&i.e(y()),t.metaKey&&i.e(q()),t.shiftKey&&i.e(j()),i}function wt(n){return n.preventDefault(),H("dragover"),$}function dt(n){return function(t){t.preventDefault(),H("drop");for(var i=t.dataTransfer.files,e=Q(i),r=J(Z(e,10)),s=e.g();s.h();){var _=ct(0,s.i());r.e(_)}var u=Promise,o=nn(r);return u.all(o).then(function(n){return function(t){return n.c1m_1.b1e().f1g().ru(new X(n.j1m_1,Y(t))),$}}(n)),$}}function $t(n,t){tn.call(this),this.c1m_1=n,this.d1m_1=t,this.c1m_1.c1e(this),this.e1m_1=!0,this.f1m_1=0,this.g1m_1=null,this.h1m_1=null,this.i1m_1=null,this.j1m_1=new A(0,0),this.k1m_1=en(),this.l1m_1=rn()}function gt(n,t){if(on.call(this),this.y1m_1=n,this.z1m_1=t,this.z1m_1%4|0){var i="elementSize "+this.z1m_1+" must be a multiple of 4";throw hn(C(i))}this.a1n_1=0}function kt(n){var t;switch(n.c1_1){case 1:case 6:case 12:case 18:t=WebGLRenderingContext.UNSIGNED_BYTE;break;case 2:case 8:case 14:case 20:t=WebGLRenderingContext.UNSIGNED_SHORT;break;case 4:case 10:case 16:case 22:t=WebGLRenderingContext.UNSIGNED_INT;break;case 0:case 7:case 13:case 19:t=WebGLRenderingContext.BYTE;break;case 3:case 9:case 15:case 21:t=WebGLRenderingContext.SHORT;break;case 5:case 11:case 17:case 23:t=WebGLRenderingContext.INT;break;case 24:case 28:case 29:case 30:case 25:case 26:case 27:t=WebGLRenderingContext.FLOAT;break;default:an()}return t}function mt(n){var t;switch(n.c1_1){case 0:t=WebGLRenderingContext.TRIANGLES;break;case 2:t=WebGLRenderingContext.TRIANGLE_FAN;break;case 1:t=WebGLRenderingContext.TRIANGLE_STRIP;break;case 4:t=WebGLRenderingContext.LINES;break;case 5:t=WebGLRenderingContext.LINE_STRIP;break;case 6:t=WebGLRenderingContext.LINE_LOOP;break;case 3:t=WebGLRenderingContext.POINTS;break;case 7:throw S(C("not supported"));default:an()}return t}function pt(n){var t;switch(n.c1_1){case 0:t=WebGLRenderingContext.NEVER;break;case 7:t=WebGLRenderingContext.ALWAYS;break;case 1:t=WebGLRenderingContext.LESS;break;case 2:t=WebGLRenderingContext.LEQUAL;break;case 3:t=WebGLRenderingContext.GREATER;break;case 4:t=WebGLRenderingContext.GEQUAL;break;case 5:t=WebGLRenderingContext.EQUAL;break;case 6:t=WebGLRenderingContext.NOTEQUAL;break;default:throw ln("unsupported test: "+n.toString())}return t}function bt(n){var t;switch(n.c1_1){case 0:t=WebGLRenderingContext.KEEP;break;case 5:t=WebGLRenderingContext.DECR;break;case 6:t=WebGLRenderingContext.DECR_WRAP;break;case 3:t=WebGLRenderingContext.INCR;break;case 4:t=WebGLRenderingContext.INCR_WRAP;break;case 1:t=WebGLRenderingContext.ZERO;break;case 7:t=WebGLRenderingContext.INVERT;break;case 2:t=WebGLRenderingContext.REPLACE;break;default:throw ln("unsupported op")}return t}function xt(n){return yt(new Float32Array([n.xj_1,n.bk_1,n.fk_1,n.jk_1,n.yj_1,n.ck_1,n.gk_1,n.kk_1,n.zj_1,n.dk_1,n.hk_1,n.lk_1,n.ak_1,n.ek_1,n.ik_1,n.mk_1]))}function yt(n){return new Float32Array(fn(n))}function qt(n,t,i){this.k1n_1=n,this.l1n_1=t,this.m1n_1=i}function jt(n){var t;this.x1n_1=n,this.n1n_1=wn((t=this.x1n_1,function(){var n=t.c1n_1.getExtension("ANGLE_instanced_arrays");return null!=n&&null!=n?n:null})),this.o1n_1=wn(function(n){return function(){var t=n.c1n_1.getExtension("OES_standard_derivatives");return null!=t&&null!=t?t:null}}(this.x1n_1)),this.p1n_1=wn(function(n){return function(){var t=n.c1n_1.getExtension("OES_texture_half_float");return null!=t&&null!=t?t:null}}(this.x1n_1)),this.q1n_1=wn(function(n){return function(){var t=n.c1n_1.getExtension("OES_texture_float");return null!=t&&null!=t?t:null}}(this.x1n_1)),this.r1n_1=wn(function(n){return function(){var t=n.c1n_1.getExtension("EXT_color_buffer_half_float");return null!=t&&null!=t?t:null}}(this.x1n_1)),this.s1n_1=wn(function(n){return function(){var t=n.c1n_1.getExtension("EXT_color_buffer_float");return null!=t&&null!=t?t:null}}(this.x1n_1)),this.t1n_1=wn(function(n){return function(){var t=n.c1n_1.getExtension("OES_texture_half_float_linear");return null!=t&&null!=t?t:null}}(this.x1n_1)),this.u1n_1=wn(function(n){return function(){var t=n.c1n_1.getExtension("OES_texture_float_linear");return null!=t&&null!=t?t:null}}(this.x1n_1)),this.v1n_1=wn(function(n){return function(){var t=n.c1n_1.getExtension("WEBGL_draw_buffers");return null!=t&&null!=t?t:null}}(this.x1n_1)),this.w1n_1=wn(function(n){return function(){var t=n.c1n_1.getExtension("WEBGL_depth_texture");return null!=t&&null!=t?t:null}}(this.x1n_1))}function Ct(n,t,i,e,r,s,_,u,o,h){this.g1o_1=n,this.h1o_1=t,this.i1o_1=i,this.j1o_1=e,this.k1o_1=r,this.l1o_1=s,this.m1o_1=_,this.n1o_1=u,this.o1o_1=o,this.p1o_1=h}function St(n,t,i,e){for(var r=pn([$n(),gn(),kn(),mn()]),s={_v:!1},_=t.g();_.h();)zt(n,e,s,r,_.i(),0);for(var u=i.g();u.h();)zt(n,e,s,r,u.i(),1);s._v||H("attribute 0 is not used")}function zt(n,t,i,e,r,s){var _=0===s?"a":"i",u=0,o=WebGLRenderingContext.ARRAY_BUFFER;n.c1n_1.bindBuffer(o,(r instanceof Gt?r:L()).r1o_1);for(var h=r.s1o_1,a=h.jv_1.g();a.h();){var l=a.i();if("_"!==l.k13_1){var f=t.d1p(_+"_"+l.k13_1);if(0===f&&(i._v=!0),-1!==f){var c=l.m13_1;if(e.w(c)){var v=0,d=l.n13_1;if(v16)throw S(C("Maximum vertex attributes exceeded "+u+" (limit is 16)"))}function Et(){return new qn}function At(n){var t;this.c1n_1=n,sn.bw_1=this,this.d1n_1=new jt(this),this.e1n_1=new Ct(!(null==this.d1n_1.y1n()),!(null==this.d1n_1.z1n()),!0,!0,!(null==this.d1n_1.a1o()),!(null==this.d1n_1.b1o()),!(null==this.d1n_1.c1o()),!(null==this.d1n_1.d1o()),!(null==this.d1n_1.e1o()),!(null==this.d1n_1.f1o())),this.f1n_1=new Cn,this.g1n_1=!0,this.h1n_1=wn(Et),this.i1n_1=Sn(),this.j1n_1=wn((t=this,function(){var n=t.c1n_1.getParameter(WebGLRenderingContext.MAX_TEXTURE_SIZE),i=null!=n&&"number"==typeof n?n:null;return new jn(4,4,null==i?4096:i)}))}function Rt(){}function Lt(n,t){this.h1p_1=n,this.i1p_1=t}function It(){return l||(l=!0,h=Qn()),h}function Tt(n,t){Mt.call(this,n,null,0,0,1,Pn(),Wn.b11()),this.t1p_1=t,this.u1p_1=!0,this.v1p_1=!0,this.w1p_1=!0}function Nt(){}function Mt(n,t,i,e,r,s,_){this.n1m_1=n,this.o1m_1=t,this.p1m_1=i,this.q1m_1=e,this.r1m_1=r,this.s1m_1=s,this.t1m_1=_,this.u1m_1=Kn(),this.v1m_1=null,this.w1m_1=!1}function Bt(){}function Ot(n,t,i,e){this.x1o_1=n,this.y1o_1=t,this.z1o_1=i,this.a1p_1=e,this.b1p_1=!1,this.c1p_1=pn([it(),et()])}function Dt(n,t){t=t===un?"":t;var i=n.getError();if(i!==WebGLRenderingContext.NO_ERROR){var e=i===WebGLRenderingContext.INVALID_ENUM?"Invalid enum":i===WebGLRenderingContext.INVALID_VALUE?"Invalid value":i===WebGLRenderingContext.INVALID_OPERATION?"Invalid operation":i===WebGLRenderingContext.INVALID_FRAMEBUFFER_OPERATION?"Invalid framebuffer operation":i===WebGLRenderingContext.OUT_OF_MEMORY?"Out of memory":i===WebGLRenderingContext.CONTEXT_LOST_WEBGL?"Context lst webgl":"unknown error";throw S(C(e+": "+t))}}function Ft(n,t,i){this.z1p_1=n,this.a1q_1=t,this.b1q_1=i}function Vt(){}function Gt(n,t,i,e,r){st.call(this),this.q1o_1=n,this.r1o_1=t,this.s1o_1=i,this.t1o_1=e,this.u1o_1=r,this.v1o_1=!1,this.w1o_1=null}function Pt(n){this.e1q_1=n,this.f1q_1=new Float32Array(w(this.e1q_1.cv(),this.e1q_1.bv().j()/4|0))}function Wt(){}function Ut(n,t){this.x1p_1=n,this.y1p_1=t}function Kt(n){var t=n.org||(n.org={}),i=t.openrndr||(t.openrndr={}),e=i.webgl||(i.webgl={});p(e,"applicationBaseWebGLInitializer",at)}return k(lt,"ApplicationBaseWebGL",lt,d),k(ft),k($t,"ApplicationWebGL",un,tn,un,[0]),k(gt,"BufferWriterWebGL",un,on),k(qt,"ShaderVertexDescription"),k(jt,"Extensions"),k(Ct,"Capabilities"),k(At,"DriverWebGL",un,un,[Bn]),Gn(Rt),k(Lt,"FragmentShaderWebGL"),k(Mt,"RenderTargetWebGL",un,un,[Un]),k(Tt,"ProgramRenderTargetWebGL",un,Mt,[Un,Mt]),Gn(Nt),Gn(Bt),k(Ot,"ShaderWebGL"),k(Ft,"ActiveUniform"),Gn(Vt),k(Gt,"VertexBufferWebGL",un,st),k(Pt,"VertexBufferShadowWebGL",un,un,[ht]),Gn(Wt),k(Ut,"VertexShaderWebGL"),g(lt).s1h=function(n,t){return new $t(n,t)},g($t).d1e=function(n){var t,i=document.getElementById(this.d1m_1.f1b_1),e=i instanceof HTMLCanvasElement?i:null;if(null==e){var r="failed to get canvas #"+this.d1m_1.f1b_1;throw S(C(r))}t=e,this.g1m_1=t;var s,_={alpha:!0,depth:!0,stencil:!0,antialias:!0,premultipliedAlpha:!0,preserveDrawingBuffer:!0,preferLowPowerToHighPerformance:!1,failIfMajorPerformanceCaveat:!1},u=this.g1m_1,o=null==u?null:u.getContext("webgl2",_),h=o instanceof WebGL2RenderingContext?o:null;if(null==h)throw S(C("failed to create webgl2 context"));s=h,this.h1m_1=s;var a=sn,l=this.h1m_1;a.bw_1=new At(l instanceof WebGL2RenderingContext?l:L()),this.c1m_1.z1d(new _n(sn.cw())),this.f1m_1=window.performance.now();var f=this.d1m_1.d1c_1,c=window.devicePixelRatio,v=Math.min(f,c),w=this.g1m_1;if(null==w);else{var d,g=this.g1m_1,k=null==g?null:g.clientWidth;if(null==k)throw S(C("no width"));d=k,w.width=z(v*d)}var m,p=this.g1m_1;if(null==p);else{var b,x=this.g1m_1,y=null==x?null:x.clientHeight;if(null==y)throw S(C("no height"));b=y,p.height=z(v*b)}this.m1m(this.d1m_1.m1b_1),window.addEventListener("resize",(m=this,function(n){var t=m.d1m_1.d1c_1,i=window.devicePixelRatio,e=Math.min(t,i),r=m.g1m_1;if(null==r);else{var s,_=m.g1m_1,u=null==_?null:_.clientWidth;if(null==u)throw S(C("no width"));s=u,r.width=z(e*s)}var o=m.g1m_1;if(null==o);else{var h,a=m.g1m_1,l=null==a?null:a.clientHeight;if(null==l)throw S(C("no height"));h=l,o.height=z(e*h)}var f=m.g1m_1,c=null==f?null:f.clientWidth,v=null==c?null:c;if(null==v)throw S(C("no canvas"));var w=v,d=m.g1m_1,g=null==d?null:d.clientHeight,k=null==g?null:g;if(null==k)throw S(C("no canvas"));var p=k;return m.c1m_1.b1e().e1g().ru(new R(E(),new A(0,0),new A(w,p),!0)),$})),window.addEventListener("keydown",function(n){return function(t){return t instanceof KeyboardEvent||L(),n.c1m_1.h1c().p1c().ru(new T(I(),t.which,t.key,vt(0,t))),$}}(this)),window.addEventListener("keyup",function(n){return function(t){return t instanceof KeyboardEvent||L(),n.c1m_1.h1c().q1c().ru(new T(N(),t.which,t.key,vt(0,t))),$}}(this));var q={_v:M().zl_1},j={_v:!1};window.addEventListener("mousedown",function(n,t,i){return function(e){e instanceof MouseEvent||L(),n._v=!0;var r=e.clientX,s=e.clientY;t._v=new A(r,s);var _=i.c1m_1.g1c().i1d(),u=t._v,o=M().zl_1,h=M().zl_1,a=B(),l=e.button;return _.ru(new G(u,o,h,a,0===l?O():1===l?F():2===l?D():O(),V())),$}}(j,q,this)),window.addEventListener("mouseup",function(n,t,i){return function(e){e instanceof MouseEvent||L(),n._v=!1;var r=t.c1m_1.g1c().j1d(),s=i._v,_=M().zl_1,u=M().zl_1,o=P(),h=e.button;return r.ru(new G(s,_,u,o,0===h?O():1===h?F():2===h?D():O(),V())),$}}(j,this,q)),window.addEventListener("wheel",function(n){return function(t){return t instanceof WheelEvent||L(),n.c1m_1.g1c().m1d().ru(new G(n.j1m_1,new A(t.deltaX,t.deltaY),M().zl_1,W(),U(),V())),$}}(this)),window.addEventListener("pointermove",function(n){return function(t){t instanceof MouseEvent||L();var i=t.clientX,e=t.clientY;return n.j1m_1=new A(i,e),n.c1m_1.g1c().l1d().ru(new G(n.j1m_1,M().zl_1,M().zl_1,K(),U(),V())),$}}(this)),window.addEventListener("mousemove",function(n,t,i){return function(e){if(n._v){e instanceof MouseEvent||L();var r=e.clientX,s=e.clientY;t.j1m_1=new A(r,s),t.c1m_1.g1c().k1d().ru(new G(t.j1m_1,M().zl_1,t.j1m_1.lm(i._v),K(),U(),V())),i._v=t.j1m_1}return $}}(j,this,q));var H=this.g1m_1;null==H||H.addEventListener("dragover",wt);var Y=this.g1m_1;null==Y||Y.addEventListener("drop",dt(this));var X,Q=this.h1m_1;if(null==Q)throw S(C("no context"));X=Q,this.i1m_1=new Tt(X,this.c1m_1);var Z=this.i1m_1;null==Z||Z.z10();var J=this.c1g();return this.c1m_1.w1d(z(J.fm_1)),this.c1m_1.x1d(z(J.gm_1)),this.c1m_1.d1e(n)},g($t).p1h=function(){if(this.l1m_1.equals(rn())||this.e1m_1){this.e1m_1=!1;var n=this.c1g();this.c1m_1.w1d(z(n.fm_1)),this.c1m_1.x1d(z(n.gm_1)),this.c1m_1.a1e().mz(),this.c1m_1.a1e().oz();var t=this.i1m_1;null==t||t.x1m(),this.c1m_1.e1e()}var i;window.requestAnimationFrame((i=this,function(n){return i.p1h(),$}))},g($t).m1m=function(n){window.document.title=n},g($t).b1g=function(){return window.document.title},g($t).c1g=function(){var n=this.g1m_1,t=null==n?null:n.clientWidth,i=null==t?null:t,e=null==i?0:i,r=this.g1m_1,s=null==r?null:r.clientHeight,_=null==s?null:s;return new A(e,null==_?0:_)},g($t).f1e=function(){return(window.performance.now()-this.f1m_1)/1e3},g($t).d1g=function(){var n=this.d1m_1.d1c_1,t=window.devicePixelRatio;return Math.min(n,t)},g(gt).t13=function(n){this.y1m_1[this.a1n_1]=n.sj_1,this.a1n_1=this.a1n_1+1|0,this.y1m_1[this.a1n_1]=n.tj_1,this.a1n_1=this.a1n_1+1|0,this.y1m_1[this.a1n_1]=n.uj_1,this.a1n_1=this.a1n_1+1|0},g(gt).u13=function(n){this.y1m_1[this.a1n_1]=n.fm_1,this.a1n_1=this.a1n_1+1|0,this.y1m_1[this.a1n_1]=n.gm_1,this.a1n_1=this.a1n_1+1|0},g(gt).w13=function(n){this.y1m_1[this.a1n_1]=n,this.a1n_1=this.a1n_1+1|0},g(gt).l17=function(n,t){this.y1m_1[this.a1n_1]=n,this.a1n_1=this.a1n_1+1|0,this.y1m_1[this.a1n_1]=t,this.a1n_1=this.a1n_1+1|0},g(gt).m17=function(n,t,i){this.y1m_1[this.a1n_1]=n,this.a1n_1=this.a1n_1+1|0,this.y1m_1[this.a1n_1]=t,this.a1n_1=this.a1n_1+1|0,this.y1m_1[this.a1n_1]=i,this.a1n_1=this.a1n_1+1|0},g(gt).b1n=function(n,t,i,e){this.y1m_1[this.a1n_1]=n,this.a1n_1=this.a1n_1+1|0,this.y1m_1[this.a1n_1]=t,this.a1n_1=this.a1n_1+1|0,this.y1m_1[this.a1n_1]=i,this.a1n_1=this.a1n_1+1|0,this.y1m_1[this.a1n_1]=e,this.a1n_1=this.a1n_1+1|0},g(gt).v13=function(n){this.b1n(n.eo_1,n.fo_1,n.go_1,n.ho_1)},g(gt).p17=function(n,t,i){var e=0;if(e{var e,r,s;r=[t,i(36)],void 0===(s="function"==typeof(e=function(n,t){"use strict";var i,e,r,s,_,u,o,h,a,l=Math.imul,f=t.$_$.x3,c=t.$_$.w3,v=t.$_$.m3,w=t.$_$.z3,d=t.$_$.p,$=t.$_$.l3,g=t.$_$.c,k=(t.$_$.b1,t.$_$.p3),m=t.$_$.k3,p=t.$_$.e3,b=t.$_$.z4,x=t.$_$.f,y=t.$_$.j2,q=t.$_$.h2,j=t.$_$.d1,C=t.$_$.f3,S=t.$_$.p1,z=t.$_$.k1,E=t.$_$.n3,A=t.$_$.h3,R=t.$_$.g3,L=t.$_$.e,I=t.$_$.t2,T=t.$_$.t4,N=t.$_$.n,M=t.$_$.w4,B=t.$_$.y3,O=t.$_$.h5,D=t.$_$.i5,F=(t.$_$.z,t.$_$.d3);function V(n,t){if(n===t)throw d(w("range must be non-zero"));if(!(t>=n))throw d(w("tMin must be less than tMax"));return 0===n&&1===t?this:0===n?this.mp(t)[0]:1===t?this.mp(n)[1]:this.mp(n)[1].mp((t-n)/(1-n))[0].kp(this.hp(n),this.hp(t))}function G(n){var t=1/0,i=0,e=0,r=n.length-1|0;if(e<=r)do{var s=e;e=e+1|0,n[s]!==t&&(i=i+1|0),t=n[s]}while(e<=r);var _=new Float64Array(i);i=0,t=1/0;var u=0,o=n.length-1|0;if(u<=o)do{var h=u;u=u+1|0,n[h]!==t&&(_[i]=n[h],i=i+1|0),t=n[h]}while(u<=o);if(0===_.length)return[this];for(var a=_,l=x(a.length),f=0,c=a.length;f0}function Q(n){return n>=0}function Z(){e=this,this.vq_1=X,this.wq_1=Q}function J(n,t){return Math.min(n,t)}function nn(n,t){return Math.max(n,t)}function tn(){null==e&&new Z}function en(n,t){return function(n,t,i){return _n.call(i,n.fp_1,n.gp_1,t.fp_1,t.gp_1),i}(n,t,c(f(_n)))}function rn(){r=this,this.dr_1=en(new Sn(NaN,NaN),new Sn(NaN,NaN))}function sn(){return null==r&&new rn,r}function _n(n,t,i,e){sn(),tn.call(this),n=1)throw d(w("t must be within (0,1)"));var t=xn().vp(this.qo_1,this.ro_1,n),i=xn().vp(this.ro_1,this.so_1,n),e=this.hp(n);return[P(this.qo_1,t,e,this.to_1),P(e,i,this.so_1,this.to_1)]},f(K).wp=function(){if(this.to_1)return new Float64Array(0);var n,t=1e-10,i=this.qo_1.lp(this.ro_1.ip(2)).jp(this.so_1);if(i.equals(Cn().hq_1))this.to_1=!0,n=new Float64Array(0);else{var e,r=this.qo_1.lp(this.ro_1).xp(i),s=In().fq(t,r.fp_1,1-t),_=In().fq(t,r.gp_1,1-t);s&&_?e=new Float64Array([r.fp_1,r.gp_1]):s^_?e=new Float64Array([s?r.fp_1:r.gp_1]):(this.to_1=!0,e=new Float64Array(0)),n=e}return n},f(K).toString=function(){return"QuadraticBezier2(p0="+this.qo_1.toString()+", p1="+this.ro_1.toString()+", p2="+this.so_1.toString()+")"},f(H).hp=function(n){if(0===n)return this.cp();if(1===n)return this.dp();var t=1-n,i=t*t,e=n*n;return this.uo_1.ip(i*t).jp(this.vo_1.ip(3*i*n)).jp(this.wo_1.ip(3*t*e)).jp(this.xo_1.ip(e*n))},f(H).ep=function(){return(this.xo_1.fp_1*(-this.uo_1.gp_1-3*this.vo_1.gp_1-6*this.wo_1.gp_1)-3*this.wo_1.fp_1*(this.uo_1.gp_1+this.vo_1.gp_1-2*this.xo_1.gp_1)+3*this.vo_1.fp_1*(-2*this.uo_1.gp_1+this.wo_1.gp_1+this.xo_1.gp_1)+this.uo_1.fp_1*(6*this.vo_1.gp_1+3*this.wo_1.gp_1+this.xo_1.gp_1))/20},f(H).kp=function(n,t){return W(n,this.vo_1.jp(n.lp(this.uo_1)),this.wo_1.jp(t.lp(this.xo_1)),t,this.yo_1)},f(H).cp=function(){return this.uo_1},f(H).dp=function(){return this.xo_1},f(H).mp=function(n){if(n<=0||n>=1)throw d(w("t must be within (0,1)"));var t=xn().vp(this.uo_1,this.vo_1,n),i=xn().vp(this.vo_1,this.wo_1,n),e=xn().vp(this.wo_1,this.xo_1,n),r=xn().vp(t,i,n),s=xn().vp(i,e,n),_=this.hp(n);return[W(this.uo_1,t,r,_,this.yo_1),W(_,s,e,this.xo_1,this.yo_1)]},f(H).wp=function(){if(this.yo_1)return new Float64Array(0);for(var n=1e-7,t=this.vo_1.lp(this.uo_1),i=this.wo_1.lp(this.vo_1).lp(t).ip(2),e=this.xo_1.lp(this.wo_1.ip(3)).jp(this.vo_1.ip(3)).lp(this.uo_1),r=o.oq(e.fp_1,i.fp_1,t.fp_1),s=o.oq(e.gp_1,i.gp_1,t.gp_1),_=new zn,u=0,h=r.length;u=1)throw d(w("t must be within (0,1)"));var t=this.hp(n);return[s.jr(this.cp(),t),s.jr(t,this.dp())]},f(hn).kp=function(n,t){return s.jr(n,t)},f(hn).cp=function(){return new Sn(this.kr_1,this.lr_1)},f(hn).dp=function(){return new Sn(this.mr_1,this.nr_1)},f(hn).toString=function(){return"Line2(ax="+this.kr_1+", ay="+this.lr_1+", bx="+this.mr_1+", by="+this.nr_1+")"},f(hn).hashCode=function(){var n=A(this.kr_1);return n=l(n,31)+A(this.lr_1)|0,n=l(n,31)+A(this.mr_1)|0,l(n,31)+A(this.nr_1)|0},f(hn).equals=function(n){if(this===n)return!0;if(!(n instanceof hn))return!1;var t=n instanceof hn?n:b();return!!(p(this.kr_1,t.kr_1)&&p(this.lr_1,t.lr_1)&&p(this.mr_1,t.mr_1)&&p(this.nr_1,t.nr_1))},f(ln).toString=function(){return"Path2(curves="+w(this.or_1)+", bounds="+this.pr_1.toString()+", isRing="+this.qr_1+")"},f(ln).hashCode=function(){var n=m(this.or_1);return n=l(n,31)+this.pr_1.hashCode()|0,l(n,31)+R(this.qr_1)|0},f(ln).equals=function(n){if(this===n)return!0;if(!(n instanceof ln))return!1;var t=n instanceof ln?n:b();return!!p(this.or_1,t.or_1)&&!!this.pr_1.equals(t.pr_1)&&this.qr_1===t.qr_1},f(bn).vp=function(n,t,i){return new Sn(n.fp_1+(t.fp_1-n.fp_1)*i,n.gp_1+(t.gp_1-n.gp_1)*i)},f(bn).rr=function(n,t,i){return n.cr(t,this.sp_1).wr((e=i,function(n){return n<=e}));var e},f(Sn).xr=function(n,t){return new Sn(t(this.fp_1,n.fp_1),t(this.gp_1,n.gp_1))},f(Sn).cr=function(n,t){return this.xr(n instanceof Sn?n:b(),t)},f(Sn).wr=function(n){return n(this.fp_1)&&n(this.gp_1)},f(Sn).hashCode=function(){return h.yr(this.fp_1,this.gp_1)},f(Sn).equals=function(n){if(n instanceof Sn){var t=n;return t.fp_1===this.fp_1&&t.gp_1===this.gp_1}return!1},f(Sn).zr=function(n){return Cn().gq_1.compare(this,n)},f(Sn).d=function(n){return this.zr(n instanceof Sn?n:b())},f(Sn).jp=function(n){return new Sn(this.fp_1+n.fp_1,this.gp_1+n.gp_1)},f(Sn).lp=function(n){return new Sn(this.fp_1-n.fp_1,this.gp_1-n.gp_1)},f(Sn).ip=function(n){return new Sn(this.fp_1*n,this.gp_1*n)},f(Sn).xp=function(n){return new Sn(this.fp_1/n.fp_1,this.gp_1/n.gp_1)},f(Sn).toString=function(){return"Vec2(x="+this.fp_1+", y="+this.gp_1+")"},f(zn).rq=function(n){var t,i,e,r;this.qq_1>(this.pq_1.length-1|0)&&(t=this,i=new Float64Array(t.pq_1.length<<1),e=t.pq_1,r=e.length,j(e,i,0,0,r),t.pq_1=i);var s=this.pq_1,_=this.qq_1;return this.qq_1=_+1|0,s[_]=n,this},f(zn).sq=function(){return this.qq_1},f(zn).v3=function(){var n=new Float64Array(this.sq()),t=this.pq_1,i=this.sq();return j(t,n,0,0,i),n},f(zn).toString=function(){var n=N();n.c6("[");var t=0,i=this.qq_1;if(t=-1e-10){l=a<0?0:Math.sqrt(a);var l,f=s+(s<0?-l:l);0===f?(e[0]=_/r,e[1]=-_/r):(e[0]=f/r,e[1]=_/f);var c=0,v=0;if(v<=1)do{var w=v;v=v+1|0;var d=e[w],$=r*d*d+-2*s*d+_;if(Math.abs($)<1e-8){var g=c;c=g+1|0,e[g]=d}}while(v<=1);o=c}else o=0;return o},f(An).oq=function(n,t,i){var e=new Float64Array(2);return function(n,t,i){var e;if(i===t.length)e=t;else if(0===i)e=new Float64Array(0);else{var r=new Float64Array(i);j(t,r,0,0,i),e=r}return e}(0,e,this.bs(n,t,i,e))},f(Rn).yr=function(n,t){var i=new M(1,0);return(i=(i=i.n1(B(31)).l1(O(n))).n1(B(31)).l1(O(t))).v1(i.t1(32)).w1()},f(Ln).es=function(n){return D(n).u1(new M(0,2146435072)).s1(52).m1(B(1023)).w1()},f(Ln).fs=function(n){return Math.pow(2,n)},f(Ln).ds=function(n){var t,i=this.es(n);switch(i){case 1024:t=Math.abs(n);break;case-1023:t=5e-324;break;default:var e;if((i=i-52|0)>=-1022)e=this.fs(i);else{var r=new M(1,0).r1(i- -1074|0);e=F(r)}t=e}return t},f(Ln).fq=function(n,t,i){return n8){var u=-_;s=Math.pow(2,u)}else s=1;e=s}return e},f(Ln).hs=function(n,t){return n{var e,r,s;r=[t,i(36),i(539)],void 0===(s="function"==typeof(e=function(n,t,i){"use strict";var e,r,s,_,u,o,h,a,l,f,c,v,w,d,$,g,k=Math.imul,m=t.$_$.x3,p=t.$_$.m3,b=t.$_$.g3,x=t.$_$.z4,y=t.$_$.l3,q=t.$_$.n3,j=t.$_$.c,C=t.$_$.h3,S=t.$_$.e3,z=t.$_$.r4,E=t.$_$.w3,A=i.$_$.f,R=i.$_$.b,L=i.$_$.d,I=i.$_$.e,T=t.$_$.p3,N=t.$_$.b1,M=t.$_$.u4;function B(){var n=this.a();return 0===n?this.xh():this.zh(n)}function O(n){var t=this.ai()*n.ai(),i=this.di(n),e=t-Math.pow(i,2);return Math.sqrt(e)}function D(n){var t=this.yh(),i=n.yh(),e=t.di(i),r=1-e*e,s=Math.sqrt(r);return Math.atan2(s,e)}function F(){e=this,this.zg_1=new V(!1,!1),this.ah_1=new V(!0,!0),this.bh_1=new V(!0,!1),this.ch_1=new V(!1,!0)}function V(n,t){null==e&&new F,this.dh_1=n,this.eh_1=t}function G(){r=this,this.fh_1=new P(!1,!1,!1),this.gh_1=new P(!0,!0,!0),this.hh_1=new P(!0,!1,!1),this.ih_1=new P(!1,!0,!1),this.jh_1=new P(!1,!1,!0)}function P(n,t,i){null==r&&new G,this.kh_1=n,this.lh_1=t,this.mh_1=i}function W(){s=this,this.nh_1=new U(!1,!1,!1,!1),this.oh_1=new U(!0,!0,!0,!0),this.ph_1=new U(!0,!1,!1,!1),this.qh_1=new U(!1,!0,!1,!1),this.rh_1=new U(!1,!1,!0,!1),this.sh_1=new U(!1,!1,!1,!0)}function U(n,t,i,e){null==s&&new W,this.th_1=n,this.uh_1=t,this.vh_1=i,this.wh_1=e}function K(){}function H(){_=this,this.ii_1=new Y(0,0),this.ji_1=new Y(1,1),this.ki_1=new Y(1,0),this.li_1=new Y(0,1)}function Y(n,t){null==_&&new H,this.mi_1=n,this.ni_1=t}function X(){u=this,this.oi_1=new Q(0,0,0),this.pi_1=new Q(1,1,1),this.qi_1=new Q(1,0,0),this.ri_1=new Q(0,1,0),this.si_1=new Q(0,0,1)}function Q(n,t,i){null==u&&new X,this.ti_1=n,this.ui_1=t,this.vi_1=i}function Z(){o=this,this.wi_1=new J(0,0,0,0),this.xi_1=new J(1,1,1,1),this.yi_1=new J(1,0,0,0),this.zi_1=new J(0,1,0,0),this.aj_1=new J(0,0,1,0),this.bj_1=new J(0,0,0,1)}function J(n,t,i,e){null==o&&new Z,this.cj_1=n,this.dj_1=t,this.ej_1=i,this.fj_1=e}function nn(){h=this,this.gj_1=new tn(1,j,j,j,1,j,j,j,1),this.hj_1=new tn}function tn(n,t,i,e,r,s,_,u,o){null==h&&new nn,n=n===j?0:n,t=t===j?0:t,i=i===j?0:i,e=e===j?0:e,r=r===j?0:r,s=s===j?0:s,_=_===j?0:_,u=u===j?0:u,o=o===j?0:o,this.ij_1=n,this.jj_1=t,this.kj_1=i,this.lj_1=e,this.mj_1=r,this.nj_1=s,this.oj_1=_,this.pj_1=u,this.qj_1=o}function en(){a=this,this.vj_1=new sn(1,j,j,j,j,1,j,j,j,j,1,j,j,j,j,1),this.wj_1=new sn}function rn(){return null==a&&new en,a}function sn(n,t,i,e,r,s,_,u,o,h,a,l,f,c,v,w){rn(),n=n===j?0:n,t=t===j?0:t,i=i===j?0:i,e=e===j?0:e,r=r===j?0:r,s=s===j?0:s,_=_===j?0:_,u=u===j?0:u,o=o===j?0:o,h=h===j?0:h,a=a===j?0:a,l=l===j?0:l,f=f===j?0:f,c=c===j?0:c,v=v===j?0:v,w=w===j?0:w,this.xj_1=n,this.yj_1=t,this.zj_1=i,this.ak_1=e,this.bk_1=r,this.ck_1=s,this.dk_1=_,this.ek_1=u,this.fk_1=o,this.gk_1=h,this.hk_1=a,this.ik_1=l,this.jk_1=f,this.kk_1=c,this.lk_1=v,this.mk_1=w}function _n(){l=this,this.uk_1=new on(1,j,j,j,j,j,1,j,j,j,j,j,1,j,j,j,j,j,1,j,j,j,j,j,1),this.vk_1=new on}function un(){return null==l&&new _n,l}function on(n,t,i,e,r,s,_,u,o,h,a,l,f,c,v,w,d,$,g,k,m,p,b,x,y){un(),n=n===j?0:n,t=t===j?0:t,i=i===j?0:i,e=e===j?0:e,r=r===j?0:r,s=s===j?0:s,_=_===j?0:_,u=u===j?0:u,o=o===j?0:o,h=h===j?0:h,a=a===j?0:a,l=l===j?0:l,f=f===j?0:f,c=c===j?0:c,v=v===j?0:v,w=w===j?0:w,d=d===j?0:d,$=$===j?0:$,g=g===j?0:g,k=k===j?0:k,m=m===j?0:m,p=p===j?0:p,b=b===j?0:b,x=x===j?0:x,y=y===j?0:y,this.wk_1=n,this.xk_1=t,this.yk_1=i,this.zk_1=e,this.al_1=r,this.bl_1=s,this.cl_1=_,this.dl_1=u,this.el_1=o,this.fl_1=h,this.gl_1=a,this.hl_1=l,this.il_1=f,this.jl_1=c,this.kl_1=v,this.ll_1=w,this.ml_1=d,this.nl_1=$,this.ol_1=g,this.pl_1=k,this.ql_1=m,this.rl_1=p,this.sl_1=b,this.tl_1=x,this.ul_1=y}function hn(){}function an(n,t){t=t===j?1:t,this.wl_1=n,this.xl_1=t}function ln(){f=this,this.zl_1=new wn(0,0),this.am_1=new wn(1,1),this.bm_1=new wn(1,0),this.cm_1=new wn(0,1),this.dm_1=new wn(1/0,1/0)}function fn(){return null==f&&new ln,f}function cn(){c=this;var n=new A("org.openrndr.math.Vector2",this,2);n.sg("x",!1),n.sg("y",!1),this.hm_1=n}function vn(){return null==c&&new cn,c}function wn(n,t){fn(),this.fm_1=n,this.gm_1=t}function dn(){if(d)return N;d=!0,v=new $n("CCW_POSITIVE_Y",0),w=new $n("CW_NEGATIVE_Y",1)}function $n(n,t){M.call(this,n,t)}function gn(){return dn(),w}function kn(){$=this,this.om_1=new pn(0,0,0),this.pm_1=new pn(1,1,1),this.qm_1=this.pm_1.yh(),this.rm_1=new pn(1,0,0),this.sm_1=new pn(0,1,0),this.tm_1=new pn(0,0,1),this.um_1=new pn(1/0,1/0,1/0)}function mn(){return null==$&&new kn,$}function pn(n,t,i){mn(),this.sj_1=n,this.tj_1=t,this.uj_1=i}function bn(){g=this,this.zm_1=new yn(1,0,0,0),this.an_1=new yn(0,1,0,0),this.bn_1=new yn(0,0,1,0),this.cn_1=new yn(0,0,0,1),this.dn_1=new yn(0,0,0,0),this.en_1=new yn(1,1,1,1),this.fn_1=new yn(1/0,1/0,1/0,1/0)}function xn(){return null==g&&new bn,g}function yn(n,t,i,e){xn(),this.gn_1=n,this.hn_1=t,this.in_1=i,this.jn_1=e}function qn(){}return p(F),y(V,"BooleanVector2"),p(G),y(P,"BooleanVector3"),p(W),y(U,"BooleanVector4"),q(K,"EuclideanVector"),p(H),y(Y,"IntVector2"),p(X),y(Q,"IntVector3"),p(Z),y(J,"IntVector4"),p(nn),y(tn,"Matrix33",tn),p(en),y(sn,"Matrix44",sn),p(_n),y(on,"Matrix55",on),p(hn),y(an,"Polar"),p(ln),T(cn,"$serializer",j,j,[I]),y(wn,"Vector2",j,j,[K],j,j,{0:vn}),y($n,"YPolarity",j,M),p(kn),y(pn,"Vector3",j,j,[K]),p(bn),y(yn,"Vector4",j,j,[K]),q(qn,"CastableToVector4"),m(V).toString=function(){return"BooleanVector2(x="+this.dh_1+", y="+this.eh_1+")"},m(V).hashCode=function(){var n=b(this.dh_1);return k(n,31)+b(this.eh_1)|0},m(V).equals=function(n){if(this===n)return!0;if(!(n instanceof V))return!1;var t=n instanceof V?n:x();return this.dh_1===t.dh_1&&this.eh_1===t.eh_1},m(P).toString=function(){return"BooleanVector3(x="+this.kh_1+", y="+this.lh_1+", z="+this.mh_1+")"},m(P).hashCode=function(){var n=b(this.kh_1);return n=k(n,31)+b(this.lh_1)|0,k(n,31)+b(this.mh_1)|0},m(P).equals=function(n){if(this===n)return!0;if(!(n instanceof P))return!1;var t=n instanceof P?n:x();return this.kh_1===t.kh_1&&this.lh_1===t.lh_1&&this.mh_1===t.mh_1},m(U).toString=function(){return"BooleanVector4(x="+this.th_1+", y="+this.uh_1+", z="+this.vh_1+", w="+this.wh_1+")"},m(U).hashCode=function(){var n=b(this.th_1);return n=k(n,31)+b(this.uh_1)|0,n=k(n,31)+b(this.vh_1)|0,k(n,31)+b(this.wh_1)|0},m(U).equals=function(n){if(this===n)return!0;if(!(n instanceof U))return!1;var t=n instanceof U?n:x();return this.th_1===t.th_1&&this.uh_1===t.uh_1&&this.vh_1===t.vh_1&&this.wh_1===t.wh_1},m(Y).toString=function(){return"IntVector2(x="+this.mi_1+", y="+this.ni_1+")"},m(Y).hashCode=function(){var n=this.mi_1;return k(n,31)+this.ni_1|0},m(Y).equals=function(n){if(this===n)return!0;if(!(n instanceof Y))return!1;var t=n instanceof Y?n:x();return this.mi_1===t.mi_1&&this.ni_1===t.ni_1},m(Q).toString=function(){return"IntVector3(x="+this.ti_1+", y="+this.ui_1+", z="+this.vi_1+")"},m(Q).hashCode=function(){var n=this.ti_1;return n=k(n,31)+this.ui_1|0,k(n,31)+this.vi_1|0},m(Q).equals=function(n){if(this===n)return!0;if(!(n instanceof Q))return!1;var t=n instanceof Q?n:x();return this.ti_1===t.ti_1&&this.ui_1===t.ui_1&&this.vi_1===t.vi_1},m(J).toString=function(){return"IntVector4(x="+this.cj_1+", y="+this.dj_1+", z="+this.ej_1+", w="+this.fj_1+")"},m(J).hashCode=function(){var n=this.cj_1;return n=k(n,31)+this.dj_1|0,n=k(n,31)+this.ej_1|0,k(n,31)+this.fj_1|0},m(J).equals=function(n){if(this===n)return!0;if(!(n instanceof J))return!1;var t=n instanceof J?n:x();return this.cj_1===t.cj_1&&this.dj_1===t.dj_1&&this.ej_1===t.ej_1&&this.fj_1===t.fj_1},m(tn).rj=function(n){return new pn(n.sj_1*this.ij_1+n.tj_1*this.jj_1+n.uj_1*this.kj_1,n.sj_1*this.lj_1+n.tj_1*this.mj_1+n.uj_1*this.nj_1,n.sj_1*this.oj_1+n.tj_1*this.pj_1+n.uj_1*this.qj_1)},m(tn).toString=function(){return this.ij_1+", "+this.jj_1+", "+this.kj_1+",\n"+this.lj_1+", "+this.mj_1+", "+this.nj_1+",\n"+this.oj_1+", "+this.pj_1+", "+this.qj_1},m(tn).hashCode=function(){var n=C(this.ij_1);return n=k(n,31)+C(this.jj_1)|0,n=k(n,31)+C(this.kj_1)|0,n=k(n,31)+C(this.lj_1)|0,n=k(n,31)+C(this.mj_1)|0,n=k(n,31)+C(this.nj_1)|0,n=k(n,31)+C(this.oj_1)|0,n=k(n,31)+C(this.pj_1)|0,k(n,31)+C(this.qj_1)|0},m(tn).equals=function(n){if(this===n)return!0;if(!(n instanceof tn))return!1;var t=n instanceof tn?n:x();return!!(S(this.ij_1,t.ij_1)&&S(this.jj_1,t.jj_1)&&S(this.kj_1,t.kj_1)&&S(this.lj_1,t.lj_1)&&S(this.mj_1,t.mj_1)&&S(this.nj_1,t.nj_1)&&S(this.oj_1,t.oj_1)&&S(this.pj_1,t.pj_1)&&S(this.qj_1,t.qj_1))},m(sn).nk=function(){if(this===rn().vj_1)return this;var n=this.gk_1*this.lk_1*this.ek_1-this.kk_1*this.hk_1*this.ek_1+this.kk_1*this.dk_1*this.ik_1-this.ck_1*this.lk_1*this.ik_1-this.gk_1*this.dk_1*this.mk_1+this.ck_1*this.hk_1*this.mk_1,t=this.jk_1*this.hk_1*this.ek_1-this.fk_1*this.lk_1*this.ek_1-this.jk_1*this.dk_1*this.ik_1+this.bk_1*this.lk_1*this.ik_1+this.fk_1*this.dk_1*this.mk_1-this.bk_1*this.hk_1*this.mk_1,i=this.fk_1*this.kk_1*this.ek_1-this.jk_1*this.gk_1*this.ek_1+this.jk_1*this.ck_1*this.ik_1-this.bk_1*this.kk_1*this.ik_1-this.fk_1*this.ck_1*this.mk_1+this.bk_1*this.gk_1*this.mk_1,e=this.jk_1*this.gk_1*this.dk_1-this.fk_1*this.kk_1*this.dk_1-this.jk_1*this.ck_1*this.hk_1+this.bk_1*this.kk_1*this.hk_1+this.fk_1*this.ck_1*this.lk_1-this.bk_1*this.gk_1*this.lk_1,r=this.kk_1*this.hk_1*this.ak_1-this.gk_1*this.lk_1*this.ak_1-this.kk_1*this.zj_1*this.ik_1+this.yj_1*this.lk_1*this.ik_1+this.gk_1*this.zj_1*this.mk_1-this.yj_1*this.hk_1*this.mk_1,s=this.fk_1*this.lk_1*this.ak_1-this.jk_1*this.hk_1*this.ak_1+this.jk_1*this.zj_1*this.ik_1-this.xj_1*this.lk_1*this.ik_1-this.fk_1*this.zj_1*this.mk_1+this.xj_1*this.hk_1*this.mk_1,_=this.jk_1*this.gk_1*this.ak_1-this.fk_1*this.kk_1*this.ak_1-this.jk_1*this.yj_1*this.ik_1+this.xj_1*this.kk_1*this.ik_1+this.fk_1*this.yj_1*this.mk_1-this.xj_1*this.gk_1*this.mk_1,u=this.fk_1*this.kk_1*this.zj_1-this.jk_1*this.gk_1*this.zj_1+this.jk_1*this.yj_1*this.hk_1-this.xj_1*this.kk_1*this.hk_1-this.fk_1*this.yj_1*this.lk_1+this.xj_1*this.gk_1*this.lk_1,o=this.ck_1*this.lk_1*this.ak_1-this.kk_1*this.dk_1*this.ak_1+this.kk_1*this.zj_1*this.ek_1-this.yj_1*this.lk_1*this.ek_1-this.ck_1*this.zj_1*this.mk_1+this.yj_1*this.dk_1*this.mk_1,h=this.jk_1*this.dk_1*this.ak_1-this.bk_1*this.lk_1*this.ak_1-this.jk_1*this.zj_1*this.ek_1+this.xj_1*this.lk_1*this.ek_1+this.bk_1*this.zj_1*this.mk_1-this.xj_1*this.dk_1*this.mk_1,a=this.bk_1*this.kk_1*this.ak_1-this.jk_1*this.ck_1*this.ak_1+this.jk_1*this.yj_1*this.ek_1-this.xj_1*this.kk_1*this.ek_1-this.bk_1*this.yj_1*this.mk_1+this.xj_1*this.ck_1*this.mk_1,l=this.jk_1*this.ck_1*this.zj_1-this.bk_1*this.kk_1*this.zj_1-this.jk_1*this.yj_1*this.dk_1+this.xj_1*this.kk_1*this.dk_1+this.bk_1*this.yj_1*this.lk_1-this.xj_1*this.ck_1*this.lk_1,f=this.gk_1*this.dk_1*this.ak_1-this.ck_1*this.hk_1*this.ak_1-this.gk_1*this.zj_1*this.ek_1+this.yj_1*this.hk_1*this.ek_1+this.ck_1*this.zj_1*this.ik_1-this.yj_1*this.dk_1*this.ik_1,c=this.bk_1*this.hk_1*this.ak_1-this.fk_1*this.dk_1*this.ak_1+this.fk_1*this.zj_1*this.ek_1-this.xj_1*this.hk_1*this.ek_1-this.bk_1*this.zj_1*this.ik_1+this.xj_1*this.dk_1*this.ik_1,v=this.fk_1*this.ck_1*this.ak_1-this.bk_1*this.gk_1*this.ak_1-this.fk_1*this.yj_1*this.ek_1+this.xj_1*this.gk_1*this.ek_1+this.bk_1*this.yj_1*this.ik_1-this.xj_1*this.ck_1*this.ik_1,w=this.bk_1*this.gk_1*this.zj_1-this.fk_1*this.ck_1*this.zj_1+this.fk_1*this.yj_1*this.dk_1-this.xj_1*this.gk_1*this.dk_1-this.bk_1*this.yj_1*this.hk_1+this.xj_1*this.ck_1*this.hk_1,d=this.ok();return new sn(n/d,r/d,o/d,f/d,t/d,s/d,h/d,c/d,i/d,_/d,a/d,v/d,e/d,u/d,l/d,w/d)},m(sn).ok=function(){return this.jk_1*this.gk_1*this.dk_1*this.ak_1-this.fk_1*this.kk_1*this.dk_1*this.ak_1-this.jk_1*this.ck_1*this.hk_1*this.ak_1+this.bk_1*this.kk_1*this.hk_1*this.ak_1+this.fk_1*this.ck_1*this.lk_1*this.ak_1-this.bk_1*this.gk_1*this.lk_1*this.ak_1-this.jk_1*this.gk_1*this.zj_1*this.ek_1+this.fk_1*this.kk_1*this.zj_1*this.ek_1+this.jk_1*this.yj_1*this.hk_1*this.ek_1-this.xj_1*this.kk_1*this.hk_1*this.ek_1-this.fk_1*this.yj_1*this.lk_1*this.ek_1+this.xj_1*this.gk_1*this.lk_1*this.ek_1+this.jk_1*this.ck_1*this.zj_1*this.ik_1-this.bk_1*this.kk_1*this.zj_1*this.ik_1-this.jk_1*this.yj_1*this.dk_1*this.ik_1+this.xj_1*this.kk_1*this.dk_1*this.ik_1+this.bk_1*this.yj_1*this.lk_1*this.ik_1-this.xj_1*this.ck_1*this.lk_1*this.ik_1-this.fk_1*this.ck_1*this.zj_1*this.mk_1+this.bk_1*this.gk_1*this.zj_1*this.mk_1+this.fk_1*this.yj_1*this.dk_1*this.mk_1-this.xj_1*this.gk_1*this.dk_1*this.mk_1-this.bk_1*this.yj_1*this.hk_1*this.mk_1+this.xj_1*this.ck_1*this.hk_1*this.mk_1},m(sn).pk=function(){return new sn(this.xj_1,this.bk_1,this.fk_1,this.jk_1,this.yj_1,this.ck_1,this.gk_1,this.kk_1,this.zj_1,this.dk_1,this.hk_1,this.lk_1,this.ak_1,this.ek_1,this.ik_1,this.mk_1)},m(sn).qk=function(){return new tn(this.xj_1,this.yj_1,this.zj_1,this.bk_1,this.ck_1,this.dk_1,this.fk_1,this.gk_1,this.hk_1)},m(sn).rk=function(n){return this===rn().vj_1?n:n===rn().vj_1?this:new sn(this.xj_1*n.xj_1+this.yj_1*n.bk_1+this.zj_1*n.fk_1+this.ak_1*n.jk_1,this.xj_1*n.yj_1+this.yj_1*n.ck_1+this.zj_1*n.gk_1+this.ak_1*n.kk_1,this.xj_1*n.zj_1+this.yj_1*n.dk_1+this.zj_1*n.hk_1+this.ak_1*n.lk_1,this.xj_1*n.ak_1+this.yj_1*n.ek_1+this.zj_1*n.ik_1+this.ak_1*n.mk_1,this.bk_1*n.xj_1+this.ck_1*n.bk_1+this.dk_1*n.fk_1+this.ek_1*n.jk_1,this.bk_1*n.yj_1+this.ck_1*n.ck_1+this.dk_1*n.gk_1+this.ek_1*n.kk_1,this.bk_1*n.zj_1+this.ck_1*n.dk_1+this.dk_1*n.hk_1+this.ek_1*n.lk_1,this.bk_1*n.ak_1+this.ck_1*n.ek_1+this.dk_1*n.ik_1+this.ek_1*n.mk_1,this.fk_1*n.xj_1+this.gk_1*n.bk_1+this.hk_1*n.fk_1+this.ik_1*n.jk_1,this.fk_1*n.yj_1+this.gk_1*n.ck_1+this.hk_1*n.gk_1+this.ik_1*n.kk_1,this.fk_1*n.zj_1+this.gk_1*n.dk_1+this.hk_1*n.hk_1+this.ik_1*n.lk_1,this.fk_1*n.ak_1+this.gk_1*n.ek_1+this.hk_1*n.ik_1+this.ik_1*n.mk_1,this.jk_1*n.xj_1+this.kk_1*n.bk_1+this.lk_1*n.fk_1+this.mk_1*n.jk_1,this.jk_1*n.yj_1+this.kk_1*n.ck_1+this.lk_1*n.gk_1+this.mk_1*n.kk_1,this.jk_1*n.zj_1+this.kk_1*n.dk_1+this.lk_1*n.hk_1+this.mk_1*n.lk_1,this.jk_1*n.ak_1+this.kk_1*n.ek_1+this.lk_1*n.ik_1+this.mk_1*n.mk_1)},m(sn).toString=function(){return this.xj_1+", "+this.yj_1+", "+this.zj_1+", "+this.ak_1+",\n"+this.bk_1+", "+this.ck_1+", "+this.dk_1+", "+this.ek_1+",\n"+this.fk_1+", "+this.gk_1+", "+this.hk_1+", "+this.ik_1+",\n"+this.jk_1+", "+this.kk_1+", "+this.lk_1+", "+this.mk_1},m(sn).sk=function(n,t,i,e,r,s,_,u,o,h,a,l,f,c,v,w){return new sn(n,t,i,e,r,s,_,u,o,h,a,l,f,c,v,w)},m(sn).tk=function(n,t,i,e,r,s,_,u,o,h,a,l,f,c,v,w,d){return n=n===j?this.xj_1:n,t=t===j?this.yj_1:t,i=i===j?this.zj_1:i,e=e===j?this.ak_1:e,r=r===j?this.bk_1:r,s=s===j?this.ck_1:s,_=_===j?this.dk_1:_,u=u===j?this.ek_1:u,o=o===j?this.fk_1:o,h=h===j?this.gk_1:h,a=a===j?this.hk_1:a,l=l===j?this.ik_1:l,f=f===j?this.jk_1:f,c=c===j?this.kk_1:c,v=v===j?this.lk_1:v,w=w===j?this.mk_1:w,d===j?this.sk(n,t,i,e,r,s,_,u,o,h,a,l,f,c,v,w):d.sk.call(this,n,t,i,e,r,s,_,u,o,h,a,l,f,c,v,w)},m(sn).hashCode=function(){var n=C(this.xj_1);return n=k(n,31)+C(this.yj_1)|0,n=k(n,31)+C(this.zj_1)|0,n=k(n,31)+C(this.ak_1)|0,n=k(n,31)+C(this.bk_1)|0,n=k(n,31)+C(this.ck_1)|0,n=k(n,31)+C(this.dk_1)|0,n=k(n,31)+C(this.ek_1)|0,n=k(n,31)+C(this.fk_1)|0,n=k(n,31)+C(this.gk_1)|0,n=k(n,31)+C(this.hk_1)|0,n=k(n,31)+C(this.ik_1)|0,n=k(n,31)+C(this.jk_1)|0,n=k(n,31)+C(this.kk_1)|0,n=k(n,31)+C(this.lk_1)|0,k(n,31)+C(this.mk_1)|0},m(sn).equals=function(n){if(this===n)return!0;if(!(n instanceof sn))return!1;var t=n instanceof sn?n:x();return!!(S(this.xj_1,t.xj_1)&&S(this.yj_1,t.yj_1)&&S(this.zj_1,t.zj_1)&&S(this.ak_1,t.ak_1)&&S(this.bk_1,t.bk_1)&&S(this.ck_1,t.ck_1)&&S(this.dk_1,t.dk_1)&&S(this.ek_1,t.ek_1)&&S(this.fk_1,t.fk_1)&&S(this.gk_1,t.gk_1)&&S(this.hk_1,t.hk_1)&&S(this.ik_1,t.ik_1)&&S(this.jk_1,t.jk_1)&&S(this.kk_1,t.kk_1)&&S(this.lk_1,t.lk_1)&&S(this.mk_1,t.mk_1))},m(on).vl=function(){return new Float32Array([this.wk_1,this.bl_1,this.gl_1,this.ll_1,this.ql_1,this.xk_1,this.cl_1,this.hl_1,this.ml_1,this.rl_1,this.yk_1,this.dl_1,this.il_1,this.nl_1,this.sl_1,this.zk_1,this.el_1,this.jl_1,this.ol_1,this.tl_1,this.al_1,this.fl_1,this.kl_1,this.pl_1,this.ul_1])},m(on).toString=function(){return z(this.wk_1+", "+this.xk_1+", "+this.yk_1+", "+this.zk_1+", "+this.al_1+",\n "+this.bl_1+", "+this.cl_1+", "+this.dl_1+", "+this.el_1+", "+this.fl_1+",\n "+this.gl_1+", "+this.hl_1+", "+this.il_1+", "+this.jl_1+", "+this.kl_1+",\n "+this.ll_1+", "+this.ml_1+", "+this.nl_1+", "+this.ol_1+", "+this.pl_1+",\n "+this.ql_1+", "+this.rl_1+", "+this.sl_1+", "+this.tl_1+", "+this.ul_1)},m(on).hashCode=function(){var n=C(this.wk_1);return n=k(n,31)+C(this.xk_1)|0,n=k(n,31)+C(this.yk_1)|0,n=k(n,31)+C(this.zk_1)|0,n=k(n,31)+C(this.al_1)|0,n=k(n,31)+C(this.bl_1)|0,n=k(n,31)+C(this.cl_1)|0,n=k(n,31)+C(this.dl_1)|0,n=k(n,31)+C(this.el_1)|0,n=k(n,31)+C(this.fl_1)|0,n=k(n,31)+C(this.gl_1)|0,n=k(n,31)+C(this.hl_1)|0,n=k(n,31)+C(this.il_1)|0,n=k(n,31)+C(this.jl_1)|0,n=k(n,31)+C(this.kl_1)|0,n=k(n,31)+C(this.ll_1)|0,n=k(n,31)+C(this.ml_1)|0,n=k(n,31)+C(this.nl_1)|0,n=k(n,31)+C(this.ol_1)|0,n=k(n,31)+C(this.pl_1)|0,n=k(n,31)+C(this.ql_1)|0,n=k(n,31)+C(this.rl_1)|0,n=k(n,31)+C(this.sl_1)|0,n=k(n,31)+C(this.tl_1)|0,k(n,31)+C(this.ul_1)|0},m(on).equals=function(n){if(this===n)return!0;if(!(n instanceof on))return!1;var t=n instanceof on?n:x();return!!(S(this.wk_1,t.wk_1)&&S(this.xk_1,t.xk_1)&&S(this.yk_1,t.yk_1)&&S(this.zk_1,t.zk_1)&&S(this.al_1,t.al_1)&&S(this.bl_1,t.bl_1)&&S(this.cl_1,t.cl_1)&&S(this.dl_1,t.dl_1)&&S(this.el_1,t.el_1)&&S(this.fl_1,t.fl_1)&&S(this.gl_1,t.gl_1)&&S(this.hl_1,t.hl_1)&&S(this.il_1,t.il_1)&&S(this.jl_1,t.jl_1)&&S(this.kl_1,t.kl_1)&&S(this.ll_1,t.ll_1)&&S(this.ml_1,t.ml_1)&&S(this.nl_1,t.nl_1)&&S(this.ol_1,t.ol_1)&&S(this.pl_1,t.pl_1)&&S(this.ql_1,t.ql_1)&&S(this.rl_1,t.rl_1)&&S(this.sl_1,t.sl_1)&&S(this.tl_1,t.tl_1)&&S(this.ul_1,t.ul_1))},m(an).yl=function(){return fn().em(this)},m(an).toString=function(){return"Polar(theta="+this.wl_1+", radius="+this.xl_1+")"},m(an).hashCode=function(){var n=C(this.wl_1);return k(n,31)+C(this.xl_1)|0},m(an).equals=function(n){if(this===n)return!0;if(!(n instanceof an))return!1;var t=n instanceof an?n:x();return!!S(this.wl_1,t.wl_1)&&!!S(this.xl_1,t.xl_1)},m(ln).em=function(n){var t=.017453292519943295*n.wl_1;return new wn(Math.cos(t),Math.sin(t)).hi(n.xl_1)},m(cn).lf=function(){return this.hm_1},m(cn).tg=function(){return[R(),R()]},m(wn).a=function(){var n=this.fm_1*this.fm_1+this.gm_1*this.gm_1;return Math.sqrt(n)},m(wn).ai=function(){return this.fm_1*this.fm_1+this.gm_1*this.gm_1},m(wn).xh=function(){return fn().zl_1},m(wn).im=function(n){return this.fm_1*n.gm_1-this.gm_1*n.fm_1},m(wn).jm=function(n){return this.fm_1*n.fm_1+this.gm_1*n.gm_1},m(wn).di=function(n){return this.jm(n instanceof wn?n:x())},m(wn).km=function(n){return new wn(this.fm_1+n.fm_1,this.gm_1+n.gm_1)},m(wn).fi=function(n){return this.km(n instanceof wn?n:x())},m(wn).lm=function(n){return new wn(this.fm_1-n.fm_1,this.gm_1-n.gm_1)},m(wn).gi=function(n){return this.lm(n instanceof wn?n:x())},m(wn).hi=function(n){return new wn(this.fm_1*n,this.gm_1*n)},m(wn).zh=function(n){return new wn(this.fm_1/n,this.gm_1/n)},m(wn).mm=function(n){var t=n.fm_1-this.fm_1,i=n.gm_1-this.gm_1;return t*t+i*i},m(wn).bi=function(n){return this.mm(n instanceof wn?n:x())},m(wn).nm=function(n){var t=this.fm_1*n.gm_1-this.gm_1*n.fm_1;return Math.abs(t)},m(wn).ci=function(n){return this.nm(n instanceof wn?n:x())},m(wn).pa=function(){return this.fm_1},m(wn).qa=function(){return this.gm_1},m(wn).toString=function(){return"Vector2(x="+this.fm_1+", y="+this.gm_1+")"},m(wn).hashCode=function(){var n=C(this.fm_1);return k(n,31)+C(this.gm_1)|0},m(wn).equals=function(n){if(this===n)return!0;if(!(n instanceof wn))return!1;var t=n instanceof wn?n:x();return!!S(this.fm_1,t.fm_1)&&!!S(this.gm_1,t.gm_1)},m(pn).xh=function(){return mn().om_1},m(pn).vm=function(n){return new pn(this.sj_1+n.sj_1,this.tj_1+n.tj_1,this.uj_1+n.uj_1)},m(pn).fi=function(n){return this.vm(n instanceof pn?n:x())},m(pn).wm=function(n){return new pn(this.sj_1-n.sj_1,this.tj_1-n.tj_1,this.uj_1-n.uj_1)},m(pn).gi=function(n){return this.wm(n instanceof pn?n:x())},m(pn).hi=function(n){return new pn(this.sj_1*n,this.tj_1*n,this.uj_1*n)},m(pn).zh=function(n){return new pn(this.sj_1/n,this.tj_1/n,this.uj_1/n)},m(pn).xm=function(n){return this.sj_1*n.sj_1+this.tj_1*n.tj_1+this.uj_1*n.uj_1},m(pn).di=function(n){return this.xm(n instanceof pn?n:x())},m(pn).a=function(){var n=this.sj_1*this.sj_1+this.tj_1*this.tj_1+this.uj_1*this.uj_1;return Math.sqrt(n)},m(pn).ai=function(){return this.sj_1*this.sj_1+this.tj_1*this.tj_1+this.uj_1*this.uj_1},m(pn).ym=function(n){var t=n.sj_1-this.sj_1,i=n.tj_1-this.tj_1,e=n.uj_1-this.uj_1;return t*t+i*i+e*e},m(pn).bi=function(n){return this.ym(n instanceof pn?n:x())},m(pn).toString=function(){return"Vector3(x="+this.sj_1+", y="+this.tj_1+", z="+this.uj_1+")"},m(pn).hashCode=function(){var n=C(this.sj_1);return n=k(n,31)+C(this.tj_1)|0,k(n,31)+C(this.uj_1)|0},m(pn).equals=function(n){if(this===n)return!0;if(!(n instanceof pn))return!1;var t=n instanceof pn?n:x();return!!S(this.sj_1,t.sj_1)&&!!S(this.tj_1,t.tj_1)&&!!S(this.uj_1,t.uj_1)},m(yn).a=function(){var n=this.gn_1*this.gn_1+this.hn_1*this.hn_1+this.in_1*this.in_1+this.jn_1*this.jn_1;return Math.sqrt(n)},m(yn).ai=function(){return this.gn_1*this.gn_1+this.hn_1*this.hn_1+this.in_1*this.in_1+this.jn_1*this.jn_1},m(yn).xh=function(){return xn().dn_1},m(yn).kn=function(n){return new yn(this.gn_1+n.gn_1,this.hn_1+n.hn_1,this.in_1+n.in_1,this.jn_1+n.jn_1)},m(yn).fi=function(n){return this.kn(n instanceof yn?n:x())},m(yn).ln=function(n){return new yn(this.gn_1-n.gn_1,this.hn_1-n.hn_1,this.in_1-n.in_1,this.jn_1-n.jn_1)},m(yn).gi=function(n){return this.ln(n instanceof yn?n:x())},m(yn).hi=function(n){return new yn(this.gn_1*n,this.hn_1*n,this.in_1*n,this.jn_1*n)},m(yn).zh=function(n){return new yn(this.gn_1/n,this.hn_1/n,this.in_1/n,this.jn_1/n)},m(yn).mn=function(n){return this.gn_1*n.gn_1+this.hn_1*n.hn_1+this.in_1*n.in_1+this.jn_1*n.jn_1},m(yn).di=function(n){return this.mn(n instanceof yn?n:x())},m(yn).nn=function(n){var t=n.gn_1-this.gn_1,i=n.hn_1-this.hn_1,e=n.in_1-this.in_1,r=n.jn_1-this.jn_1;return t*t+i*i+e*e+r*r},m(yn).bi=function(n){return this.nn(n instanceof yn?n:x())},m(yn).toString=function(){return"Vector4(x="+this.gn_1+", y="+this.hn_1+", z="+this.in_1+", w="+this.jn_1+")"},m(yn).hashCode=function(){var n=C(this.gn_1);return n=k(n,31)+C(this.hn_1)|0,n=k(n,31)+C(this.in_1)|0,k(n,31)+C(this.jn_1)|0},m(yn).equals=function(n){if(this===n)return!0;if(!(n instanceof yn))return!1;var t=n instanceof yn?n:x();return!!(S(this.gn_1,t.gn_1)&&S(this.hn_1,t.hn_1)&&S(this.in_1,t.in_1)&&S(this.jn_1,t.jn_1))},m(cn).ug=L,m(wn).yh=B,m(wn).ei=D,m(pn).yh=B,m(pn).ci=O,m(pn).ei=D,m(yn).yh=B,m(yn).ci=O,m(yn).ei=D,new hn,n.$_$=n.$_$||{},n.$_$.a=gn,n.$_$.b=function(n){return function(n,t){return wn.call(t,n,n),t}(n,E(m(wn)))},n.$_$.c=rn,n.$_$.d=un,n.$_$.e=vn,n.$_$.f=fn,n.$_$.g=mn,n.$_$.h=function(n){return new sn(n.xj_1,n.yj_1,n.zj_1,0,n.bk_1,n.ck_1,n.dk_1,0,n.fk_1,n.gk_1,n.hk_1,0,0,0,0,1).nk().pk().tk(j,j,j,j,j,j,j,j,j,j,j,j,j,j,j,0)},n.$_$.i=function(n,t,i,e,r,s){return new sn(2/(t-n),0,0,-(t+n)/(t-n),0,2/(e-i),0,-(e+i)/(e-i),0,0,-2/(s-r),-(s+r)/(s-r),0,0,0,1)},n.$_$.j=V,n.$_$.k=P,n.$_$.l=U,n.$_$.m=qn,n.$_$.n=Y,n.$_$.o=Q,n.$_$.p=J,n.$_$.q=tn,n.$_$.r=sn,n.$_$.s=an,n.$_$.t=wn,n.$_$.u=pn,n.$_$.v=yn,n.$_$.w=function(){return[(dn(),v),gn()]},n})?e.apply(t,r):e)||(n.exports=s)},73:(n,t,i)=>{var e,r,s;r=[t,i(36)],void 0===(s="function"==typeof(e=function(n,t){"use strict";var i,e,r,s,_=t.$_$.b1,u=t.$_$.u4,o=t.$_$.x3,h=t.$_$.l3,a=t.$_$.c,l=t.$_$.p3;function f(){if(r)return _;r=!0,new c("GENERIC",0),new c("WINDOWS",1),i=new c("MAC",2),e=new c("BROWSER",3)}function c(n,t){u.call(this,n,t)}function v(){}return h(c,"PlatformType",a,u),l(v,"Platform"),o(v).uu=function(){return f(),e},o(v).vu=function(n){return null},s=new v,n.$_$=n.$_$||{},n.$_$.a=function(){return f(),i},n.$_$.b=s,n})?e.apply(t,r):e)||(n.exports=s)},989:(n,t,i)=>{var e,r,s;r=[t,i(36),i(560),i(539),i(46),i(549)],void 0===(s="function"==typeof(e=function(n,t,i,e,r,s){"use strict";var _,u,o,h,a,l,f,c=Math.imul,v=t.$_$.x3,w=t.$_$.f1,d=t.$_$.f,$=t.$_$.b1,g=t.$_$.g,k=t.$_$.y1,m=t.$_$.c,p=t.$_$.n3,b=t.$_$.m3,x=i.$_$.t,y=t.$_$.h3,q=t.$_$.z4,j=t.$_$.e3,C=t.$_$.l3,S=i.$_$.e,z=e.$_$.c,E=e.$_$.f,A=e.$_$.a,R=e.$_$.d,L=e.$_$.e,I=t.$_$.p3,T=t.$_$.s,N=t.$_$.d5,M=t.$_$.z3,B=t.$_$.a,O=t.$_$.k3,D=t.$_$.b2,F=t.$_$.k5,V=t.$_$.m1,G=t.$_$.e4,P=t.$_$.f4,W=t.$_$.i3,U=r.$_$.c,K=r.$_$.b,H=t.$_$.p,Y=r.$_$.e,X=i.$_$.w,Q=e.$_$.g,Z=t.$_$.z1,J=t.$_$.r1,nn=t.$_$.l1,tn=t.$_$.w1,en=t.$_$.c1,rn=t.$_$.a2,sn=t.$_$.e2,_n=t.$_$.e5,un=r.$_$.d,on=r.$_$.a,hn=i.$_$.a,an=t.$_$.s2,ln=i.$_$.f,fn=s.$_$.b,cn=t.$_$.y4,vn=t.$_$.e1,wn=t.$_$.g3,dn=t.$_$.u4;function $n(n){for(var t=this.ks(n),i=d(w(t,10)),e=t.g();e.h();){var r=e.i().na_1;i.e(r)}return i}function gn(){}function kn(){var n,t;_=this,this.ls_1=(n=0,t=(t=0)===m?n:t,new mn(new x(0,0),n,t))}function mn(n,t,i){null==_&&new kn,i=i===m?t:i,this.ms_1=n,this.ns_1=t,this.os_1=i}function pn(){u=this,this.ss_1=[null,new z(S()),null,null]}function bn(){return null==u&&new pn,u}function xn(){o=this;var n=new E("org.openrndr.shape.Segment2D",this,4);n.sg("start",!1),n.sg("control",!1),n.sg("end",!1),n.sg("corner",!0),this.ts_1=n}function yn(){return null==o&&new xn,o}function qn(n){return function(){var t;switch(n.vs_1.j()){case 0:t=n.ws_1.lm(n.us_1).a();break;case 1:case 2:t=function(n){var t=0,i=G(0,n.j()-1|0),e=i.nb_1,r=i.ob_1;if(e<=r)do{var s=e;e=e+1|0;var _=s;t+=n.k(_).lm(n.k(_+1|0)).a()}while(s!==r);return t}(n.at());break;default:throw T("unsupported number of control points")}return t}}function jn(n,t,i,e){bn(),e=e!==m&&e,this.us_1=n,this.vs_1=t,this.ws_1=i,this.xs_1=e,this.ys_1=null,this.zs_1=N(qn(this))}function Cn(){}function Sn(n,t,i){return i=i===m||i,new jn(n,V(),t,i)}function zn(n){var t;switch(n.vs_1.j()){case 0:t=U.jr(En(n.us_1),En(n.ws_1));break;case 1:t=K.tq(En(n.us_1),En(n.vs_1.k(0)),En(n.ws_1));break;case 2:t=K.uq(En(n.us_1),En(n.vs_1.k(0)),En(n.vs_1.k(1)),En(n.ws_1));break;default:throw H("unsupported control count "+n.vs_1.j())}return t}function En(n){return new Y(n.fm_1,n.gm_1)}function An(){h=this,this.qt_1=[new z(yn()),null,Q("org.openrndr.math.YPolarity",X()),null],this.rt_1=new In(V(),!1)}function Rn(){return null==h&&new An,h}function Ln(n){return function(){for(var t=n.eu().tt_1,i=g(),e=t.g();e.h();){var r=e.i(),s=D([r.us_1,r.ws_1]);en(i,s)}return function(n){for(var t=1/0,i=1/0,e=-1/0,r=-1/0,s=n.g();s.h();){var _=s.i(),u=t,o=_.fm_1;t=Math.min(u,o);var h=e,a=_.fm_1;e=Math.max(h,a);var l=i,f=_.gm_1;i=Math.min(l,f);var c=r,v=_.gm_1;r=Math.max(c,v)}return new mn(new x(t,i),e-t,r-i)}(i)}}function In(n,t,i){Rn(),i=i===m?hn():i,this.tt_1=n,this.ut_1=t,this.vt_1=i;for(var e=an(this.tt_1).g();e.h();){var r=e.i(),s=r.na_1.ws_1.lm(r.oa_1.us_1).a();if(!(s<1e-6)){var _="points are too far away from each other "+r.na_1.ws_1.toString()+" "+r.oa_1.us_1.toString()+" "+s;throw H(M(_))}}var u;this.wt_1=N((u=this,function(){for(var n=0,t=u.tt_1.g();t.h();)n+=t.i().a();return n})),this.xt_1=ln().dm_1,this.yt_1=N(Ln(this)),this.zt_1=N(function(n){return function(){for(var t=0,i=n.tt_1.g();i.h();){var e=i.i(),r=sn(sn(rn(e.us_1),e.vs_1),rn(e.ws_1)).g();if(r.h())for(var s=g(),_=r.i();r.h();){var u=r.i(),o=_;t+=(u.fm_1-o.fm_1)*(u.gm_1+o.gm_1),s.e($),_=u}else V()}var h,a=J(n.tt_1).us_1,l=Z(n.tt_1).ws_1;switch(t+=(a.fm_1-l.fm_1)*(a.gm_1+l.gm_1),n.vt_1.c1_1){case 0:h=t<0?Bn():Mn();break;case 1:h=t<0?Mn():Bn();break;default:_n()}return h}}(this)),this.au_1=fn(function(n){return function(){for(var t=n.tt_1,i=d(w(t,10)),e=t.g();e.h();){var r=zn(e.i());i.e(r)}return un(i)}}(this)),this.bu_1=this.au_1,this.cu_1=fn(function(n){return function(){for(var t=n.tt_1,i=d(w(t,10)),e=t.g();e.h();){var r=zn(e.i());i.e(r)}return on(i)}}(this)),this.du_1=this.cu_1}function Tn(){if(f)return $;f=!0,a=new Nn("CLOCKWISE",0),l=new Nn("COUNTER_CLOCKWISE",1)}function Nn(n,t){dn.call(this,n,t)}function Mn(){return Tn(),a}function Bn(){return Tn(),l}function On(n,t,i,e,r,s){var _=t.na_1,u=i.na_1,o=e.na_1,h=r.na_1;if(s>12)return $;var a,l=Vn(Gn(t,i),.5),f=Vn(Gn(i,e),.5),c=Vn(Gn(e,r),.5),v=Vn(Gn(l,f),.5),w=Vn(Gn(f,c),.5),d=Vn(Gn(v,w),.5),g=h.gi(_),k=u.gi(h).ci(g),m=o.gi(h).ci(g);switch((k>1e-30?2:0)+(m>1e-30?1:0)|0){case 0:if(0===(a=g.ai()))k=_.bi(u),m=o.bi(h);else{a=1/a;var p=u.gi(_);k=a*g.di(p);var b=o.gi(_);if(m=a*g.di(b),k>0&&k<1&&m>0&&m<1)return $;k=k<=0?_.bi(u):k>=1?u.bi(h):u.bi(_.fi(g.hi(k))),m=m<=0?o.bi(_):m>=1?o.bi(h):o.bi(_.fi(g.hi(m)))}if(k>m){if(k0&&n.kt_1.e(i),$}else if(m0&&n.kt_1.e(e),$;break;case 1:if(m*m<=n.lt_1*g.ai()){if(n.mt_1<.01)return Pn(Z(n.kt_1),f)>0&&n.kt_1.e(f),$;var x=h.gi(o).ei(o.gi(u)),y=Math.abs(x);if(y>=3.141592653589793&&(y=6.283185307179586-y),y0&&n.kt_1.e(i),Wn(Z(n.kt_1),o)>0&&n.kt_1.e(e),$;if(0!==n.nt_1&&y>n.nt_1)return Wn(Z(n.kt_1),o)>0&&n.kt_1.e(e),$}break;case 2:if(k*k<=n.lt_1*g.ai()){if(n.mt_1<.01)return Pn(Z(n.kt_1),f)>0&&n.kt_1.e(f),$;var q=o.gi(u).ei(u.gi(_)),j=Math.abs(q);if(j>=3.141592653589793&&(j=6.283185307179586-j),j0&&n.kt_1.e(i),Pn(Z(n.kt_1),e)>0&&n.kt_1.e(e),$;if(0!==n.nt_1&&j>n.nt_1)return Pn(Z(n.kt_1),i)>0&&n.kt_1.e(i),$}break;case 3:if((k+m)*(k+m)<=n.lt_1*g.ai()){if(n.mt_1<.01)return Pn(Z(n.kt_1),f)>0&&n.kt_1.e(f),$;var C=o.gi(u).ei(u.gi(_)),S=Math.abs(C),z=h.gi(o).ei(o.gi(u)),E=Math.abs(z);if(S>=3.141592653589793&&(S=6.283185307179586-S),E>=3.141592653589793&&(E=6.283185307179586-E),S+E0&&n.kt_1.e(f),$;if(0!==n.nt_1){if(S>n.nt_1)return Pn(Z(n.kt_1),i)>0&&n.kt_1.e(i),$;if(E>n.nt_1)return Pn(Z(n.kt_1),e)>0&&n.kt_1.e(e),$}}}On(n,t,l,v,d,s+1|0),On(n,d,w,c,r,s+1|0)}function Dn(){this.iu_1=1e-30,this.ju_1=.01,this.ku_1=12}function Fn(){this.kt_1=g(),this.lt_1=0,this.mt_1=0,this.nt_1=0,this.ot_1=.5}function Vn(n,t){return new cn(n.na_1.hi(t),n.oa_1*t)}function Gn(n,t){return new cn(n.na_1.fi(t.na_1),n.oa_1+t.oa_1)}function Pn(n,t){return n.na_1.bi(t.na_1)}function Wn(n,t){return n.na_1.bi(t)}function Un(n,t,i,e,r){if(r>n.dt_1)return $;var s=Yn(Xn(t,i),.5),_=Yn(Xn(i,e),.5),u=Yn(Xn(s,_),.5),o=t.na_1,h=i.na_1,a=e.na_1,l=a.gi(o),f=h.gi(a).ci(a.gi(o));if(f>1e-30){if(f*f<=n.ft_1*l.ai()){if(n.ht_10&&n.it_1.e(u),$;var c=h.gi(o).ei(a.gi(h)),v=Math.abs(c);if(v>=3.141592653589793&&(v=6.283185307179586-v),v0&&n.it_1.e(u),$}}else{var w,d=l.ai();if(0===d)w=o.bi(h);else{if((w=h.gi(o).di(l)/d)>0&&w<1)return $;w=w<=0?h.bi(o):w>=1?h.bi(a):h.bi(o.fi(l.hi(w)))}if(w0&&n.it_1.e(i),$}Un(n,t,s,u,r+1|0),Un(n,u,_,e,r+1|0)}function Kn(){this.lu_1=1e-30}function Hn(){this.dt_1=12,this.et_1=.5,this.ft_1=0,this.gt_1=.01,this.ht_1=0,this.it_1=g()}function Yn(n,t){return new cn(n.na_1.hi(t),n.oa_1*t)}function Xn(n,t){return new cn(n.na_1.fi(t.na_1),n.oa_1+t.oa_1)}function Qn(n,t){return n.na_1.bi(t.na_1)}function Zn(n,t){return n.na_1.bi(t)}return p(gn,"Path"),b(kn),C(mn,"Rectangle"),b(pn),I(xn,"$serializer",m,m,[L]),p(Cn,"BezierSegment"),C(jn,"Segment2D",m,m,[Cn],m,m,{0:yn}),b(An),C(In,"ShapeContour",m,m,[gn]),C(Nn,"Winding",m,dn),b(Dn),C(Fn,"BezierCubicSamplerT",Fn),b(Kn),C(Hn,"BezierQuadraticSamplerT",Hn),v(mn).ps=function(){return this.ms_1.km(new x(this.ns_1/2,this.os_1/2))},v(mn).qs=function(){return this.ms_1.fm_1},v(mn).rs=function(){return this.ms_1.gm_1},v(mn).toString=function(){return"Rectangle(corner="+this.ms_1.toString()+", width="+this.ns_1+", height="+this.os_1+")"},v(mn).hashCode=function(){var n=this.ms_1.hashCode();return n=c(n,31)+y(this.ns_1)|0,c(n,31)+y(this.os_1)|0},v(mn).equals=function(n){if(this===n)return!0;if(!(n instanceof mn))return!1;var t=n instanceof mn?n:q();return!!this.ms_1.equals(t.ms_1)&&!!j(this.ns_1,t.ns_1)&&!!j(this.os_1,t.os_1)},v(xn).lf=function(){return this.ts_1},v(xn).tg=function(){var n=bn().ss_1;return[S(),n[1],S(),A()]},v(jn).mb=function(){return this.us_1},v(jn).bt=function(){return this.vs_1},v(jn).ct=function(){return this.ws_1},v(jn).a=function(){var n=this.zs_1;return W("length",1,P,(function(n){return n.a()}),null),n.s()},v(jn).toString=function(){return"Segment(start="+this.us_1.toString()+", end="+this.ws_1.toString()+", control="+M(this.vs_1)+")"},v(jn).equals=function(n){return this===n||null!=n&&!!B(this).equals(B(n))&&(n instanceof jn||q(),!!this.us_1.equals(n.us_1)&&!!this.ws_1.equals(n.ws_1)&&j(this.vs_1,n.vs_1))},v(jn).hashCode=function(){var n=this.us_1.hashCode();return n=c(31,n)+this.ws_1.hashCode()|0,c(31,n)+O(this.vs_1)|0},v(An).st=function(n,t,i){var e;if(n.l())e=this.rt_1;else{var r;if(t){var s=Z(n).lm(J(n)).ai()>1e-6?n:nn(n,1),_=tn(s),u=d(w(_,10)),o=_.nb_1,h=_.ob_1;if(o<=h)do{var a=o;o=o+1|0;var l=a,f=Sn(s.k(l),s.k((l+1|0)%s.j()|0));u.e(f)}while(a!==h);r=new In(u,!0,i)}else{var c=G(0,n.j()-1|0),v=d(w(c,10)),$=c.nb_1,g=c.ob_1;if($<=g)do{var k=$;$=$+1|0;var m=k,p=Sn(n.k(m),n.k(m+1|0));v.e(p)}while(k!==g);r=new In(v,t,i)}e=r}return e},v(In).is=function(){return this.tt_1},v(In).fu=function(){return this===Rn().rt_1||this.tt_1.l()},v(In).gu=function(n){if(this.fu())return new cn(V(),V());for(var t=g(),i=g(),e=this.tt_1.g();e.h();)for(var r=e.i(),s=r.js(n),_=s.j()-1|0,u=0,o=s.g();o.h();){var h=o.i(),a=u;u=a+1|0;var l=vn(a),f=k(t);(null==f||f.mm(h)>0)&&(t.e(h),0===l||l===_?i.e(r.xs_1):i.e(!1))}return new cn(t,i)},v(In).hu=function(n){return this.fu()?Rn().rt_1:Rn().st(this.js(n),this.ut_1,this.vt_1)},v(In).eu=function(n,t){return n=n===m?.5:n,t===m?this.hu(n):t.hu.call(this,n)},v(In).toString=function(){return"ShapeContour(segments="+M(this.tt_1)+", closed="+this.ut_1+", polarity="+this.vt_1.toString()+")"},v(In).hashCode=function(){var n=O(this.tt_1);return n=c(n,31)+wn(this.ut_1)|0,c(n,31)+this.vt_1.hashCode()|0},v(In).equals=function(n){if(this===n)return!0;if(!(n instanceof In))return!1;var t=n instanceof In?n:q();return!!j(this.tt_1,t.tt_1)&&this.ut_1===t.ut_1&&!!this.vt_1.equals(t.vt_1)},v(Fn).pt=function(n,t,i,e){return this.lt_1=this.ot_1*this.ot_1,this.kt_1.b3(),this.kt_1.e(F(n,0)),On(this,F(n,0),F(t,1/3),F(i,2/3),F(e,1),0),Z(this.kt_1).na_1.bi(e)>0&&this.kt_1.e(F(e,1)),this.kt_1},v(Hn).jt=function(n,t,i){return this.ft_1=this.et_1*this.et_1,this.it_1.b3(),this.it_1.e(F(n,0)),Un(this,F(n,0),F(t,.5),F(i,1),0),Zn(Z(this.it_1),i)>0&&this.it_1.e(F(i,1)),this.it_1},v(xn).ug=R,v(jn).js=$n,v(jn).at=function(n,t){return n=n===m?.5:n,t===m?this.js(n):$n(n)},v(jn).ks=function(n){var t;switch(this.bt().j()){case 0:t=D([F(this.mb(),0),F(this.ct(),1)]);break;case 1:var i=new Hn;i.et_1=n,t=i.jt(this.mb(),this.bt().k(0),this.ct());break;case 2:var e=new Fn;e.ot_1=n,t=e.pt(this.mb(),this.bt().k(0),this.bt().k(1),this.ct());break;default:throw T("unsupported number of control points")}return t},v(In).js=function(n){for(var t=this.ks(n),i=d(w(t,10)),e=t.g();e.h();){var r=e.i().na_1;i.e(r)}return i},v(In).ks=function(n){for(var t=g(),i=this.is().j(),e=this.is().g(),r=0;e.h();){var s=r;r=r+1|0;for(var _=e.i().ks(n).g();_.h();){var u=_.i(),o=k(t);(null==o||o.na_1.bi(u.na_1)>0)&&t.e(u.uc(m,(u.oa_1+s)/i))}}return t},new Dn,new Kn,n.$_$=n.$_$||{},n.$_$.a=Rn,n.$_$.b=mn,n.$_$.c=function(n,t,i,e,r){return r=r===m||r,new jn(n,D([t,i]),e,r)},n.$_$.d=In,n})?e.apply(t,r):e)||(n.exports=s)},549:(n,t,i)=>{var e,r,s;r=[t,i(36)],void 0===(s="function"==typeof(e=function(n,t){"use strict";var i=t.$_$.d5;function e(n){this.oo_1=n,this.po_1=i(this.oo_1)}return t.$_$.x3,(0,t.$_$.l3)(e,"ResettableDelegate"),n.$_$=n.$_$||{},n.$_$.a=function(n,t){return n.x9(t),t},n.$_$.b=function(n){return new e(n)},n})?e.apply(t,r):e)||(n.exports=s)},644:(n,t,i)=>{var e,r,s;r=[t,i(36),i(560)],void 0===(s="function"==typeof(e=function(n,t,i){"use strict";var e,r,s,_,u,o=Math.imul,h=t.$_$.w,a=t.$_$.x,l=i.$_$.t,f=i.$_$.u,c=t.$_$.u3,v=t.$_$.a4,w=t.$_$.p4,d=t.$_$.u,$=t.$_$.x3,g=t.$_$.p3,k=t.$_$.z3,m=t.$_$.j3,p=t.$_$.k3,b=t.$_$.z4,x=t.$_$.e3,y=t.$_$.l3;function q(n,t,i,r,s){C();var _=function(n,t,i){var e=h(n),r=h(i),s=I(h(t)),_=I(h(a(r)+a(s)|0));return I(h(a(e)+a(_)|0))}(n,t,i),u=(C(),e),o=h(7),l=h(a(_)&a(o)),f=u[a(l)];return r*f.pa()+s*f.qa()}function j(n,t,i,e,s,_,u){C();var o=function(n,t,i,e){var r=h(n),s=h(e),_=h(t),u=I(h(i)),o=I(h(a(_)+a(u)|0)),l=I(h(a(s)+a(o)|0));return I(h(a(r)+a(l)|0))}(n,t,i,e),l=(C(),r),f=h(15),c=h(a(o)&a(f)),v=l[a(c)];return s*v.sj_1+_*v.tj_1+u*v.uj_1}function C(){s||(s=!0,e=[new l(-1,-1),new l(1,-1),new l(-1,1),new l(1,1),new l(0,-1),new l(-1,0),new l(0,1),new l(1,0)],r=[new f(1,1,0),new f(-1,1,0),new f(1,-1,0),new f(-1,-1,0),new f(1,0,1),new f(-1,0,1),new f(1,0,-1),new f(-1,0,-1),new f(0,1,1),new f(0,-1,1),new f(0,1,-1),new f(0,-1,-1),new f(1,1,0),new f(0,-1,1),new f(-1,1,0),new f(0,-1,-1)],new l(-.4313539279,.1281943404),new l(-.1733316799,.415278375),new l(-.2821957395,-.3505218461),new l(-.2806473808,.3517627718),new l(.3125508975,-.3237467165),new l(.3383018443,-.2967353402),new l(-.4393982022,-.09710417025),new l(-.4460443703,-.05953502905),new l(-.302223039,.3334085102),new l(-.212681052,-.3965687458),new l(-.2991156529,.3361990872),new l(.2293323691,.3871778202),new l(.4475439151,-.04695150755),new l(.1777518,.41340573),new l(.1688522499,-.4171197882),new l(-.0976597166,.4392750616),new l(.08450188373,.4419948321),new l(-.4098760448,-.1857461384),new l(.3476585782,-.2857157906),new l(-.3350670039,-.30038326),new l(.2298190031,-.3868891648),new l(-.01069924099,.449872789),new l(-.4460141246,-.05976119672),new l(.3650293864,.2631606867),new l(-.349479423,.2834856838),new l(-.4122720642,.1803655873),new l(-.267327811,.3619887311),new l(.322124041,-.3142230135),new l(.2880445931,-.3457315612),new l(.3892170926,-.2258540565),new l(.4492085018,-.02667811596),new l(-.4497724772,.01430799601),new l(.1278175387,-.4314657307),new l(-.03572100503,.4485799926),new l(-.4297407068,-.1335025276),new l(-.3217817723,.3145735065),new l(-.3057158873,.3302087162),new l(-.414503978,.1751754899),new l(-.3738139881,.2505256519),new l(.2236891408,-.3904653228),new l(.002967775577,-.4499902136),new l(.1747128327,-.4146991995),new l(-.4423772489,-.08247647938),new l(-.2763960987,-.355112935),new l(-.4019385906,-.2023496216),new l(.3871414161,-.2293938184),new l(-.430008727,.1326367019),new l(-.03037574274,-.4489736231),new l(-.3486181573,.2845441624),new l(.04553517144,-.4476902368),new l(-.0375802926,.4484280562),new l(.3266408905,.3095250049),new l(.06540017593,-.4452222108),new l(.03409025829,.448706869),new l(-.4449193635,.06742966669),new l(-.4255936157,-.1461850686),new l(.449917292,.008627302568),new l(.05242606404,.4469356864),new l(-.4495305179,-.02055026661),new l(-.1204775703,.4335725488),new l(-.341986385,-.2924813028),new l(.3865320182,.2304191809),new l(.04506097811,-.447738214),new l(-.06283465979,.4455915232),new l(.3932600341,-.2187385324),new l(.4472261803,-.04988730975),new l(.3753571011,-.2482076684),new l(-.273662295,.357223947),new l(.1700461538,.4166344988),new l(.4102692229,.1848760794),new l(.323227187,-.3130881435),new l(-.2882310238,-.3455761521),new l(.2050972664,.4005435199),new l(.4414085979,-.08751256895),new l(-.1684700334,.4172743077),new l(-.003978032396,.4499824166),new l(-.2055133639,.4003301853),new l(-.006095674897,-.4499587123),new l(-.1196228124,-.4338091548),new l(.3901528491,-.2242337048),new l(.01723531752,.4496698165),new l(-.3015070339,.3340561458),new l(-.01514262423,-.4497451511),new l(-.4142574071,-.1757577897),new l(-.1916377265,-.4071547394),new l(.3749248747,.2488600778),new l(-.2237774255,.3904147331),new l(-.4166343106,-.1700466149),new l(.3619171625,.267424695),new l(.1891126846,-.4083336779),new l(-.3127425077,.323561623),new l(-.3281807787,.307891826),new l(-.2294806661,.3870899429),new l(-.3445266136,.2894847362),new l(-.4167095422,-.1698621719),new l(-.257890321,-.3687717212),new l(-.3612037825,.2683874578),new l(.2267996491,.3886668486),new l(.207157062,.3994821043),new l(.08355176718,-.4421754202),new l(-.4312233307,.1286329626),new l(.3257055497,.3105090899),new l(.177701095,-.4134275279),new l(-.445182522,.06566979625),new l(.3955143435,.2146355146),new l(-.4264613988,.1436338239),new l(-.3793799665,-.2420141339),new l(.04617599081,-.4476245948),new l(-.371405428,-.2540826796),new l(.2563570295,-.3698392535),new l(.03476646309,.4486549822),new l(-.3065454405,.3294387544),new l(-.2256979823,.3893076172),new l(.4116448463,-.1817925206),new l(-.2907745828,-.3434387019),new l(.2842278468,-.348876097),new l(.3114589359,-.3247973695),new l(.4464155859,-.0566844308),new l(-.3037334033,-.3320331606),new l(.4079607166,.1899159123),new l(-.3486948919,-.2844501228),new l(.3264821436,.3096924441),new l(.3211142406,.3152548881),new l(.01183382662,.4498443737),new l(.4333844092,.1211526057),new l(.3118668416,.324405723),new l(-.272753471,.3579183483),new l(-.422228622,-.1556373694),new l(-.1009700099,-.4385260051),new l(-.2741171231,-.3568750521),new l(-.1465125133,.4254810025),new l(.2302279044,-.3866459777),new l(-.3699435608,.2562064828),new l(.105700352,-.4374099171),new l(-.2646713633,.3639355292),new l(.3521828122,.2801200935),new l(-.1864187807,-.4095705534),new l(.1994492955,-.4033856449),new l(.3937065066,.2179339044),new l(-.3226158377,.3137180602),new l(.3796235338,.2416318948),new l(.1482921929,.4248640083),new l(-.407400394,.1911149365),new l(.4212853031,.1581729856),new l(-.2621297173,.3657704353),new l(-.2536986953,-.3716678248),new l(-.2100236383,.3979825013),new l(.3624152444,.2667493029),new l(-.3645038479,-.2638881295),new l(.2318486784,.3856762766),new l(-.3260457004,.3101519002),new l(-.2130045332,-.3963950918),new l(.3814998766,-.2386584257),new l(-.342977305,.2913186713),new l(-.4355865605,.1129794154),new l(-.2104679605,.3977477059),new l(.3348364681,-.3006402163),new l(.3430468811,.2912367377),new l(-.2291836801,-.3872658529),new l(.2547707298,-.3709337882),new l(.4236174945,-.151816397),new l(-.15387742,.4228731957),new l(-.4407449312,.09079595574),new l(-.06805276192,-.444824484),new l(.4453517192,-.06451237284),new l(.2562464609,-.3699158705),new l(.3278198355,-.3082761026),new l(-.4122774207,-.1803533432),new l(.3354090914,-.3000012356),new l(.446632869,-.05494615882),new l(-.1608953296,.4202531296),new l(-.09463954939,.4399356268),new l(-.02637688324,-.4492262904),new l(.447102804,-.05098119915),new l(-.4365670908,.1091291678),new l(-.3959858651,.2137643437),new l(-.4240048207,-.1507312575),new l(-.3882794568,.2274622243),new l(-.4283652566,-.1378521198),new l(.3303888091,.305521251),new l(.3321434919,-.3036127481),new l(-.413021046,-.1786438231),new l(.08403060337,-.4420846725),new l(-.3822882919,.2373934748),new l(-.3712395594,-.2543249683),new l(.4472363971,-.04979563372),new l(-.4466591209,.05473234629),new l(.0486272539,-.4473649407),new l(-.4203101295,-.1607463688),new l(.2205360833,.39225481),new l(-.3624900666,.2666476169),new l(-.4036086833,-.1989975647),new l(.2152727807,.3951678503),new l(-.4359392962,-.1116106179),new l(.4178354266,.1670735057),new l(.2007630161,.4027334247),new l(-.07278067175,-.4440754146),new l(.3644748615,-.2639281632),new l(-.4317451775,.126870413),new l(-.297436456,.3376855855),new l(-.2998672222,.3355289094),new l(-.2673674124,.3619594822),new l(.2808423357,.3516071423),new l(.3498946567,.2829730186),new l(-.2229685561,.390877248),new l(.3305823267,.3053118493),new l(-.2436681211,-.3783197679),new l(-.03402776529,.4487116125),new l(-.319358823,.3170330301),new l(.4454633477,-.06373700535),new l(.4483504221,.03849544189),new l(-.4427358436,-.08052932871),new l(.05452298565,.4466847255),new l(-.2812560807,.3512762688),new l(.1266696921,.4318041097),new l(-.3735981243,.2508474468),new l(.2959708351,-.3389708908),new l(-.3714377181,.254035473),new l(-.404467102,-.1972469604),new l(.1636165687,-.419201167),new l(.3289185495,-.3071035458),new l(-.2494824991,-.3745109914),new l(.03283133272,.4488007393),new l(-.166306057,-.4181414777),new l(-.106833179,.4371346153),new l(.06440260376,-.4453676062),new l(-.4483230967,.03881238203),new l(-.421377757,-.1579265206),new l(.05097920662,-.4471030312),new l(.2050584153,-.4005634111),new l(.4178098529,-.167137449),new l(-.3565189504,-.2745801121),new l(.4478398129,.04403977727),new l(-.3399999602,-.2947881053),new l(.3767121994,.2461461331),new l(-.3138934434,.3224451987),new l(-.1462001792,-.4255884251),new l(.3970290489,-.2118205239),new l(.4459149305,-.06049689889),new l(-.4104889426,-.1843877112),new l(.1475103971,-.4251360756),new l(.09258030352,.4403735771),new l(-.1589664637,-.4209865359),new l(.2482445008,.3753327428),new l(.4383624232,-.1016778537),new l(.06242802956,.4456486745),new l(.2846591015,-.3485243118),new l(-.344202744,-.2898697484),new l(.1198188883,-.4337550392),new l(-.243590703,.3783696201),new l(.2958191174,-.3391033025),new l(-.1164007991,.4346847754),new l(.1274037151,-.4315881062),new l(.368047306,.2589231171),new l(.2451436949,.3773652989),new l(-.4314509715,.12786735),new f(.1453787434,-.4149781685,-.0956981749),new f(-.01242829687,-.1457918398,-.4255470325),new f(.2877979582,-.02606483451,-.3449535616),new f(-.07732986802,.2377094325,.3741848704),new f(.1107205875,-.3552302079,-.2530858567),new f(.2755209141,.2640521179,-.238463215),new f(.294168941,.1526064594,.3044271714),new f(.4000921098,-.2034056362,.03244149937),new f(-.1697304074,.3970864695,-.1265461359),new f(-.1483224484,-.3859694688,.1775613147),new f(.2623596946,-.2354852944,.2796677792),new f(-.2709003183,.3505271138,-.07901746678),new f(-.03516550699,.3885234328,.2243054374),new f(-.1267712655,.1920044036,.3867342179),new f(.02952021915,.4409685861,.08470692262),new f(-.2806854217,-.266996757,.2289725438),new f(-.171159547,.2141185563,.3568720405),new f(.2113227183,.3902405947,-.07453178509),new f(-.1024352839,.2128044156,-.3830421561),new f(-.3304249877,-.1566986703,.2622305365),new f(.2091111325,.3133278055,-.2461670583),new f(.344678154,-.1944240454,-.2142341261),new f(.1984478035,-.3214342325,-.2445373252),new f(-.2929008603,.2262915116,.2559320961),new f(-.1617332831,.006314769776,-.4198838754),new f(-.3582060271,-.148303178,-.2284613961),new f(-.1852067326,-.3454119342,-.2211087107),new f(.3046301062,.1026310383,.314908508),new f(-.03816768434,-.2551766358,-.3686842991),new f(-.4084952196,.1805950793,.05492788837),new f(-.02687443361,-.2749741471,.3551999201),new f(-.03801098351,.3277859044,.3059600725),new f(.2371120802,.2900386767,-.2493099024),new f(.4447660503,.03946930643,.05590469027),new f(.01985147278,-.01503183293,-.4493105419),new f(.4274339143,.03345994256,-.1366772882),new f(-.2072988631,.2871414597,-.2776273824),new f(-.3791240978,.1281177671,.2057929936),new f(-.2098721267,-.1007087278,-.3851122467),new f(.01582798878,.4263894424,.1429738373),new f(-.1888129464,-.3160996813,-.2587096108),new f(.1612988974,-.1974805082,-.3707885038),new f(-.08974491322,.229148752,-.3767448739),new f(.07041229526,.4150230285,-.1590534329),new f(-.1082925611,-.1586061639,.4069604477),new f(.2474100658,-.3309414609,.1782302128),new f(-.1068836661,-.2701644537,-.3436379634),new f(.2396452163,.06803600538,-.3747549496),new f(-.3063886072,.2597428179,.2028785103),new f(.1593342891,-.3114350249,-.2830561951),new f(.2709690528,.1412648683,-.3303331794),new f(-.1519780427,.3623355133,.2193527988),new f(.1699773681,.3456012883,.2327390037),new f(-.1986155616,.3836276443,-.1260225743),new f(-.1887482106,-.2050154888,-.353330953),new f(.2659103394,.3015631259,-.2021172246),new f(-.08838976154,-.4288819642,-.1036702021),new f(-.04201869311,.3099592485,.3235115047),new f(-.3230334656,.201549922,-.2398478873),new f(.2612720941,.2759854499,-.2409749453),new f(.385713046,.2193460345,.07491837764),new f(.07654967953,.3721732183,.241095919),new f(.4317038818,-.02577753072,.1243675091),new f(-.2890436293,-.3418179959,-.04598084447),new f(-.2201947582,.383023377,-.08548310451),new f(.4161322773,-.1669634289,-.03817251927),new f(.2204718095,.02654238946,-.391391981),new f(-.1040307469,.3890079625,-.2008741118),new f(-.1432122615,.371614387,-.2095065525),new f(.3978380468,-.06206669342,.2009293758),new f(-.2599274663,.2616724959,-.2578084893),new f(.4032618332,-.1124593585,.1650235939),new f(-.08953470255,-.3048244735,.3186935478),new f(.118937202,-.2875221847,.325092195),new f(.02167047076,-.03284630549,-.4482761547),new f(-.3411343612,.2500031105,.1537068389),new f(.3162964612,.3082064153,-.08640228117),new f(.2355138889,-.3439334267,-.1695376245),new f(-.02874541518,-.3955933019,.2125550295),new f(-.2461455173,.02020282325,-.3761704803),new f(.04208029445,-.4470439576,.02968078139),new f(.2727458746,.2288471896,-.2752065618),new f(-.1347522818,-.02720848277,-.4284874806),new f(.3829624424,.1231931484,-.2016512234),new f(-.3547613644,.1271702173,.2459107769),new f(.2305790207,.3063895591,.2354968222),new f(-.08323845599,-.1922245118,.3982726409),new f(.2993663085,-.2619918095,-.2103333191),new f(-.2154865723,.2706747713,.287751117),new f(.01683355354,-.2680655787,-.3610505186),new f(.05240429123,.4335128183,-.1087217856),new f(.00940104872,-.4472890582,.04841609928),new f(.3465688735,.01141914583,-.2868093776),new f(-.3706867948,-.2551104378,.003156692623),new f(.2741169781,.2139972417,-.2855959784),new f(.06413433865,.1708718512,.4113266307),new f(-.388187972,-.03973280434,-.2241236325),new f(.06419469312,-.2803682491,.3460819069),new f(-.1986120739,-.3391173584,.2192091725),new f(-.203203009,-.3871641506,.1063600375),new f(-.1389736354,-.2775901578,-.3257760473),new f(-.06555641638,.342253257,-.2847192729),new f(-.2529246486,-.2904227915,.2327739768),new f(.1444476522,.1069184044,.4125570634),new f(-.3643780054,-.2447099973,-.09922543227),new f(.4286142488,-.1358496089,-.01829506817),new f(.165872923,-.3136808464,-.2767498872),new f(.2219610524,-.3658139958,.1393320198),new f(.04322940318,-.3832730794,.2318037215),new f(-.08481269795,-.4404869674,-.03574965489),new f(.1822082075,-.3953259299,.1140946023),new f(-.3269323334,.3036542563,.05838957105),new f(-.4080485344,.04227858267,-.184956522),new f(.2676025294,-.01299671652,.36155217),new f(.3024892441,-.1009990293,-.3174892964),new f(.1448494052,.425921681,-.0104580805),new f(.4198402157,.08062320474,.1404780841),new f(-.3008872161,-.333040905,-.03241355801),new f(.3639310428,-.1291284382,-.2310412139),new f(.3295806598,.0184175994,-.3058388149),new f(.2776259487,-.2974929052,-.1921504723),new f(.4149000507,-.144793182,-.09691688386),new f(.145016715,-.0398992945,.4241205002),new f(.09299023471,-.299732164,-.3225111565),new f(.1028907093,-.361266869,.247789732),new f(.2683057049,-.07076041213,-.3542668666),new f(-.4227307273,-.07933161816,-.1323073187),new f(-.1781224702,.1806857196,-.3716517945),new f(.4390788626,-.02841848598,-.09435116353),new f(.2972583585,.2382799621,-.2394997452),new f(-.1707002821,.2215845691,.3525077196),new f(.3806686614,.1471852559,-.1895464869),new f(-.1751445661,-.274887877,.3102596268),new f(-.2227237566,-.2316778837,.3149912482),new f(.1369633021,.1341343041,-.4071228836),new f(-.3529503428,-.2472893463,-.129514612),new f(-.2590744185,-.2985577559,-.2150435121),new f(-.3784019401,.2199816631,-.1044989934),new f(-.05635805671,.1485737441,.4210102279),new f(.3251428613,.09666046873,-.2957006485),new f(-.4190995804,.1406751354,-.08405978803),new f(-.3253150961,-.3080335042,-.04225456877),new f(.2857945863,-.05796152095,.3427271751),new f(-.2733604046,.1973770973,-.2980207554),new f(.219003657,.2410037886,-.3105713639),new f(.3182767252,-.271342949,.1660509868),new f(-.03222023115,-.3331161506,-.300824678),new f(-.3087780231,.1992794134,-.2596995338),new f(-.06487611647,-.4311322747,.1114273361),new f(.3921171432,-.06294284106,-.2116183942),new f(-.1606404506,-.358928121,-.2187812825),new f(-.03767771199,-.2290351443,.3855169162),new f(.1394866832,-.3602213994,.2308332918),new f(-.4345093872,.005751117145,.1169124335),new f(-.1044637494,.4168128432,-.1336202785),new f(.2658727501,.2551943237,.2582393035),new f(.2051461999,.1975390727,.3484154868),new f(-.266085566,.23483312,.2766800993),new f(.07849405464,-.3300346342,-.2956616708),new f(-.2160686338,.05376451292,-.3910546287),new f(-.185779186,.2148499206,.3490352499),new f(.02492421743,-.3229954284,-.3123343347),new f(-.120167831,.4017266681,.1633259825),new f(-.02160084693,-.06885389554,.4441762538),new f(.2597670064,.3096300784,.1978643903),new f(-.1611553854,-.09823036005,.4085091653),new f(-.3278896792,.1461670309,.2713366126),new f(.2822734956,.03754421121,-.3484423997),new f(.03169341113,.347405252,-.2842624114),new f(.2202613604,-.3460788041,-.1849713341),new f(.2933396046,.3031973659,.1565989581),new f(-.3194922995,.2453752201,-.200538455),new f(-.3441586045,-.1698856132,-.2349334659),new f(.2703645948,-.3574277231,.04060059933),new f(.2298568861,.3744156221,.0973588921),new f(.09326603877,-.3170108894,.3054595587),new f(-.1116165319,-.2985018719,.3177080142),new f(.2172907365,-.3460005203,-.1885958001),new f(.1991339479,.3820341668,-.1299829458),new f(-.0541918155,-.2103145071,.39412061),new f(.08871336998,.2012117383,.3926114802),new f(.2787673278,.3505404674,.04370535101),new f(-.322166438,.3067213525,.06804996813),new f(-.4277366384,.132066775,.04582286686),new f(.240131882,-.1612516055,.344723946),new f(.1448607981,-.2387819045,.3528435224),new f(-.3837065682,-.2206398454,.08116235683),new f(-.4382627882,-.09082753406,-.04664855374),new f(-.37728353,.05445141085,.2391488697),new f(.1259579313,.348394558,.2554522098),new f(-.1406285511,-.270877371,-.3306796947),new f(-.1580694418,.4162931958,-.06491553533),new f(.2477612106,-.2927867412,-.2353514536),new f(.2916132853,.3312535401,.08793624968),new f(.07365265219,-.1666159848,.411478311),new f(-.26126526,-.2422237692,.2748965434),new f(-.3721862032,.252790166,.008634938242),new f(-.3691191571,-.255281188,.03290232422),new f(.2278441737,-.3358364886,.1944244981),new f(.363398169,-.2310190248,.1306597909),new f(-.304231482,-.2698452035,.1926830856),new f(-.3199312232,.316332536,-.008816977938),new f(.2874852279,.1642275508,-.304764754),new f(-.1451096801,.3277541114,-.2720669462),new f(.3220090754,.0511344108,.3101538769),new f(-.1247400865,-.04333605335,-.4301882115),new f(-.2829555867,-.3056190617,-.1703910946),new f(.1069384374,.3491024667,-.2630430352),new f(-.1420661144,-.3055376754,-.2982682484),new f(-.250548338,.3156466809,-.2002316239),new f(.3265787872,.1871229129,.2466400438),new f(.07646097258,-.3026690852,.324106687),new f(.3451771584,.2757120714,-.0856480183),new f(.298137964,.2852657134,.179547284),new f(.2812250376,.3466716415,.05684409612),new f(.4390345476,-.09790429955,-.01278335452),new f(.2148373234,.1850172527,.3494474791),new f(.2595421179,-.07946825393,.3589187731),new f(.3182823114,-.307355516,-.08203022006),new f(-.4089859285,-.04647718411,.1818526372),new f(-.2826749061,.07417482322,.3421885344),new f(.3483864637,.225442246,-.1740766085),new f(-.3226415069,-.1420585388,-.2796816575),new f(.4330734858,-.118868561,-.02859407492),new f(-.08717822568,-.3909896417,-.2050050172),new f(-.2149678299,.3939973956,-.03247898316),new f(-.2687330705,.322686276,-.1617284888),new f(.2105665099,-.1961317136,-.3459683451),new f(.4361845915,-.1105517485,.004616608544),new f(.05333333359,-.313639498,-.3182543336),new f(-.05986216652,.1361029153,-.4247264031),new f(.3664988455,.2550543014,-.05590974511),new f(-.2341015558,-.182405731,.3382670703),new f(-.04730947785,-.4222150243,-.1483114513),new f(-.2391566239,-.2577696514,-.2808182972),new f(-.1242081035,.4256953395,-.07652336246),new f(.2614832715,-.3650179274,.02980623099),new f(-.2728794681,-.3499628774,.07458404908),new f(.007892900508,-.1672771315,.4176793787),new f(-.01730330376,.2978486637,-.3368779738),new f(.2054835762,-.3252600376,-.2334146693),new f(-.3231994983,.1564282844,-.2712420987),new f(-.2669545963,.2599343665,-.2523278991),new f(-.05554372779,.3170813944,-.3144428146),new f(-.2083935713,-.310922837,-.2497981362),new f(.06989323478,-.3156141536,.3130537363),new f(.3847566193,-.1605309138,-.1693876312),new f(-.3026215288,-.3001537679,-.1443188342),new f(.3450735512,.08611519592,.2756962409),new f(.1814473292,-.2788782453,-.3029914042),new f(-.03855010448,.09795110726,.4375151083),new f(.3533670318,.2665752752,.08105160988),new f(-.007945601311,.140359426,-.4274764309),new f(.4063099273,-.1491768253,-.1231199324),new f(-.2016773589,.008816271194,-.4021797064),new f(-.07527055435,-.425643481,-.1251477955))}function S(n){return n>=0?c(n):c(n)-1|0}function z(n,t){for(var i=0,e=w(t),r=0,s=e.length;rl?(r=1,s=0):(r=0,s=1);var f=a-r+.21132486540518713,c=l-s+.21132486540518713,v=a-1+.42264973081037427,w=l-1+.42264973081037427;return 50*(((_=.5-a*a-l*l)<0?0:(_*=_)*_*q(n,o,h,a,l))+((_=.5-f*f-c*c)<0?0:(_*=_)*_*q(n,o+r|0,h+s|0,f,c))+((_=.5-v*v-w*w)<0?0:(_*=_)*_*q(n,o+1|0,h+1|0,v,w)))}function L(n,t,i,e){var r,s,_,u,o,h,a=(t+i+e)/3,l=S(t+a),f=S(i+a),c=S(e+a),v=((l+f|0)+c|0)/6,w=t-(l-v),d=i-(f-v),$=e-(c-v);w>=d?d>=$?(r=1,s=0,_=0,u=1,o=1,h=0):w>=$?(r=1,s=0,_=0,u=1,o=0,h=1):(r=0,s=0,_=1,u=1,o=0,h=1):d<$?(r=0,s=0,_=1,u=0,o=1,h=1):w<$?(r=0,s=1,_=0,u=0,o=1,h=1):(r=0,s=1,_=0,u=1,o=1,h=0);var g=w-r+1/6,k=d-s+1/6,m=$-_+1/6,p=w-u+1/3,b=d-o+1/3,x=$-h+1/3,y=w+-.5,q=d+-.5,C=$+-.5,z=.6-w*w-d*d-$*$,E=.6-g*g-k*k-m*m,A=.6-p*p-b*b-x*x,R=.6-y*y-q*q-C*C;return 32*((z<0?0:(z*=z)*z*j(n,l,f,c,w,d,$))+(E<0?0:(E*=E)*E*j(n,l+r|0,f+s|0,c+_|0,g,k,m))+(A<0?0:(A*=A)*A*j(n,l+u|0,f+o|0,c+h|0,p,b,x))+(R<0?0:(R*=R)*R*j(n,l+1|0,f+1|0,c+1|0,y,q,C)))}function I(n){var t=n,i=t,e=h(a(t)>>>16|0),r=t=h(a(i)^a(e)),s=h(2146121005),_=t=h(o(a(r),a(s))),u=h(a(t)>>>15|0),l=t=h(a(_)^a(u)),f=h(-2073254261),c=t=h(o(a(l),a(f))),v=h(a(t)>>>16|0);return h(a(c)^a(v))}return t.$_$.b1,g(E,"Random"),y(A,"RandomState"),$(E).h1j=function(n,t){return R(z(0,this.g1j_1),n,t)},$(A).toString=function(){return"RandomState(seed="+this.i1j_1+", rng="+k(this.j1j_1)+")"},$(A).hashCode=function(){var n=m(this.i1j_1);return o(n,31)+p(this.j1j_1)|0},$(A).equals=function(n){if(this===n)return!0;if(!(n instanceof A))return!1;var t=n instanceof A?n:b();return this.i1j_1===t.i1j_1&&!!x(this.j1j_1,t.j1j_1)},n.$_$=n.$_$||{},n.$_$.a=function(){return null==_&&new E,_},n})?e.apply(t,r):e)||(n.exports=s)},486:(n,t,i)=>{var e,r,s;r=[t,i(36),i(989),i(560)],void 0===(s="function"==typeof(e=function(n,t,i,e){"use strict";var r=t.$_$.c,s=i.$_$.a,_=t.$_$.f3,u=t.$_$.z3,o=t.$_$.p,h=(t.$_$.b1,t.$_$.g),a=t.$_$.f,l=i.$_$.c,f=i.$_$.d,c=e.$_$.t;function v(n,t,i,e){for(var r=n.length,s=0,_=new Float64Array(r);s0)){y=!1;break n}}y=!0}if(!y)throw o(u("Failed requirement."));var z,E,A,R,L,I,T=new Float64Array(e),N=t?0:1;if(N>31)|0],D=M%e|0,F=D+(e&((D^e)&(D|-D))>>31)|0;T[M]=(z=O,E=m[F],A=void 0,R=void 0,L=void 0,I=void 0,A=z.yh(),R=E.yh(),L=A.im(R),I=A.jm(R),Math.atan2(L,I))}while(N>31)|0,un=(rn-1|0)%e|0,on=un+(e&((un^e)&(un|-un))>>31)|0;P[rn]=1/q[on],K[rn]=(2*q[on]+2*q[rn])/(q[on]*q[rn]),X[rn]=1/q[rn],tn[rn]=-(2*T[rn]*q[rn]+T[_n]*q[on])/(q[on]*q[rn])}while(en {\nreturn ",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"import org.openrndr.application\nimport org.openrndr.color.ColorRGBa\nimport org.openrndr.extra.noise.Random\nimport org.openrndr.extra.shapes.hobbycurve.hobbyCurve\nimport org.openrndr.math.Polar\n\nfun main() = application {\n program {\n console.log(\"Kotlin says OPENRNDR program started\")\n\n extend {\n drawer.clear(ColorRGBa.PINK)\n\n drawer.fill = null\n drawer.circle(drawer.bounds.center, 250.0)\n\n drawer.fill = ColorRGBa.WHITE\n\n // Create a List of points centered in the window.\n // Use polar coordinates. The radius is animated using simplex noise.\n val points = List(12) {\n val angle = it * 30.0\n val radius = 200.0 + Random.simplex(it * 0.1, it * 1.7 + seconds * 0.2) * 100.0\n drawer.bounds.center + Polar(angle, radius).cartesian\n }\n // Construct and draw a closed Hobby curve with the points.\n drawer.contour(hobbyCurve(points, true))\n }\n }\n}\n",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// startup\n// Load entry module and return exports\n// This entry module used 'module' so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(395);\n"],"names":["root","factory","exports","module","define","amd","globalThis","log","LN2","a","b","value","O","len","relativeStart","k","end","relativeEnd","finalValue","TypedArray","compareFunction","ia","x","asUint","searchString","position","","element","elements","initialCapacity","loadFactor","destination","item","separator","prefix","postfix","limit","truncated","transform","buffer","count","iterator","single","to","minimumValue","maximumValue","n","other","name","ordinal","low","high","interfaces","maxSize","masks","i","currentSize","imask","iid","iidImask","numberIndex","intArray","numberWithSettledBit","activeBit","capacity","result","mask","array","initValue","size","$array","obj","index","code","startIndex","endIndex","it","hash","descriptor","proto","o","obj1","obj2","typeOf","shiftNumber","MASK","bigNumber","hashCode","signum","chunk","hashCodeMap","symbol","cachedHashCode","str","instance","constructorFunction","constructor","this_","message","cause","errorInfo","v","thisNeg","otherNeg","a48","a32","a16","a00","b48","b32","b16","c48","c32","c16","c00","b00","numBits","radix","radixLong","div","rem","digitsPerTime","radixToPower","remDiv","digits","twoPwr32","kind","defaultConstructor","associatedObjectKey","associatedObjects","suspendArity","ctor","parent","metadata","start","endInclusive","iface","possibleActiveBit","parentProto","propName","fromIndex","toIndex","collection","expectedSize","pair","pairs","key","source","destinationOffset","rangeSize","subrange","","newSize","defaultValue","ArrayList_init_$Init$","rangeCheck","internalMap","HashMap_init_$Init$","original","backing","$entryIterator","backingMap","map","HashSet_init_$Init$","computeHashSize","computeShift","hashSize","checkForComodification","InternalHashMap_init_$Init$","","","registerModification","ensureExtraCapacity","shouldCompact","extraCapacity","spareCapacity","gaps","ensureCapacity","minCapacity","src","dst","srcLen","dstLen","arr","newHashSize","allocateValuesArray","curValuesArray","newValuesArray","compact","updateHashArray","j","valuesArray","rehash","putRehash","probesLeft","findKey","addKey","tentativeMaxProbeDistance","probeDistance","putIndex","removeEntryAt","removeHashAt","removedHash","hole","patchAttemptsLeft","putEntry","entry","oldValue","keysArray","presenceArray","hashArray","maxProbeDistance","length","LinkedHashMap_init_$Init$","LinkedHashSet_init_$Init$","outputStream","isNode","resultContinuation","$completion$1","Exception_init_$Init$","UnsupportedOperationException_init_$Init$","RuntimeException_init_$Init$","NoSuchElementException_init_$Init$","ConcurrentModificationException_init_$Init$","NullPointerException_init_$Init$","NoWhenBranchMatchedException_init_$Init$","ClassCastException_init_$Init$","jClass","givenSimpleName","isInstanceFunction","jClasses","kClass","StringBuilder_init_$Init$","content","uppercase","char","ch","diff","needle","bottom","top","middle","ignoreCase","n1","n2","min","thisChar","otherChar","thisOffset","otherOffset","indent","qualifier","shortInfo","hasSeen","exception","stack","stackStart","dropCommonFrames","commonFrames","lastBreak","preLastBreak","pos","c","messageLines","suppressed","suppressedIndent","toString","implFindEntry","ArrayDeque_init_$Init$","copyElements","newCapacity","newElements","positiveMod","negativeMod","incremented","decremented","nullifyNonEmpty","internalFromIndex","internalToIndex","values","isVarargs","default","iteratorFactory","sequence","transformer","type","mod","seed","seed1","seed2","y","z","w","addend","first","last","step","thisUpper","otherUpper","$indent","line","range","string","calcNext","match","input","getNextMatch","indices","initializer","second","that","IllegalArgumentException_init_$Init$","IllegalStateException_init_$Init$","Error_init_$Init$","IndexOutOfBoundsException_init_$Init$","ArithmeticException_init_$Init$","UninitializedPropertyAccessException_init_$Init$","approx","res","approxDouble","approx2","log2","delta","approxRes","approxRem","bitCount","l","modified","iter","insertionRangeCheck","offset","increaseLength","amount","previous","from","sb","putAllEntries","updated","contentEquals","messageString","s","current","currentResult","currentException","outcome","completion","intercepted","arity","$arity","equals","oldCapacity","e","otherIterator","ourValue","internalLastIndex","internalIndex","decrementedInternalIndex","decrementedHead","tail","copyCollectionElements","oldElement","dest","collectionSize","removeRangeShiftPreceding","copyFromIndex","copyToIndex","copyCount","segmentLength","newHead","removeRangeShiftSucceeding","t","v0","rangeStart","rangeEnd","_delimiterLength","_delimiterStartIndex","idx","lastIndex","firstIndex","m","data","list","midPoint","reverseIndex","tmp","next","selectors","$selectors","fn","getter","setter","paramCount","superType","delimiters","delimiter","currentOffset","nextIndex","isLimited","$delimitersList","$ignoreCase","$this$DelimitedRangesSequence","currentIndex","strings","missingDelimiterValue","isNegative","firstChar","limitForMaxRadix","limitBeforeMul","digit","newIndent","lines","minCommonIndent","marginPrefix","firstNonWhitespaceIndex","msg","mode","levelInt","levelStr","createThrowableMsg","throwable","includePrefix","level","marker","loggerName","eventBuilder","payload","func","loggingEvent","block","formattedMessage","found","$message","$this$at","serialName","typeParameters","builder","sdBuilder","","receiver","elementsCount","elementDesc","elementDescriptor","elementSerializer","$serialName","createUnmarkedDescriptor","d","","$elementsCount","$name","typeParams","elementDescriptors","accumulator","namesHash","kindHash","","generatedSerializer","error","elementsHashCode","isOptional","buildIndices","$this$application","$this$program","$completion","$this$extend","angle","radius","Polar","points","hobbyCurve","console","application","Animatable_init_$Init$","dt","timeInNs","updatePropertyAnimations","toRemove","triggers","drawer","program","modifiers","rotation","dragDisplacement","button","origin","assetMetadata","programName","assetBaseName","assetProperties","","extension","path","ext","$userDraw","suspend","focused","files","$init","","stage","userDraw","functionExtension","init","build","r","g","alpha","linearity","certainty","hex","geometry","drawStyle","$this$vertexFormat","model","view","projection","width","height","contentScale","modelViewScalingFactor","clip","fill","stroke","lineCap","lineJoin","strokeWeight","smooth","miterLimit","quality","depthTestPass","depthWrite","blendMode","cullTestPass","channelWriteMask","alphaToCoverage","shadeStyle","fontMap","kerning","textSetting","stencil","frontStencil","backStencil","colorMatrix","red","green","blue","stencilFailOperation","depthFailOperation","depthPassOperation","stencilTestMask","stencilTestReference","stencilWriteMask","stencilTest","","driver","structDefinitions","uniforms","attributes","buffers","vertexTransform","geometryTransform","fragmentTransform","vertexPreamble","geometryPreamble","fragmentPreamble","outputs","varyingOut","varyingIn","varyingBridge","suppressDefaultOutput","tokens","vertexFormat","vertexCount","session","componentCount","sizeInBytes","floatTypeFromDimensions","dimensions","attribute","arraySize","ShaderGenerators$circleVertexShader$ref","ShaderGenerators$circleVertexShader$ref$lambda","ShaderGenerators$circleFragmentShader$ref","ShaderGenerators$circleFragmentShader$ref$lambda","pa","pb","pc","pd","ta","tb","tc","td","maxRenderTargetSamples","maxTextureSamples","maxTextureSize","chooseBevel","bevel","p0","p1","x0","y0","x1","y1","fb","bufferStart","calculateJoins","iw","nleft","p1ptr","dlx0","dly0","dlx1","dly1","dmr2","scale","vertices","ShaderGenerators$expansionVertexShader$ref","ShaderGenerators$expansionVertexShader$ref$lambda","ShaderGenerators$expansionFragmentShader$ref","ShaderGenerators$expansionFragmentShader$ref$lambda","vertexBuffer","vertexOffset","minX","minY","maxX","maxY","ShaderGenerators$fontImageMapVertexShader$ref","ShaderGenerators$fontImageMapVertexShader$ref$lambda","ShaderGenerators$fontImageMapFragmentShader$ref","ShaderGenerators$fontImageMapFragmentShader$ref$lambda","ShaderGenerators$imageVertexShader$ref","ShaderGenerators$imageVertexShader$ref$lambda","ShaderGenerators$imageFragmentShader$ref","ShaderGenerators$imageFragmentShader$ref$lambda","ShaderGenerators$imageArrayTextureVertexShader$ref","ShaderGenerators$imageArrayTextureVertexShader$ref$lambda","ShaderGenerators$imageArrayTextureFragmentShader$ref","ShaderGenerators$imageArrayTextureFragmentShader$ref$lambda","ShaderGenerators$meshLineVertexShader$ref","ShaderGenerators$meshLineVertexShader$ref$lambda","ShaderGenerators$meshLineFragmentShader$ref","ShaderGenerators$meshLineFragmentShader$ref$lambda","ShaderGenerators$fastLineVertexShader$ref","ShaderGenerators$fastLineVertexShader$ref$lambda","ShaderGenerators$fastLineFragmentShader$ref","ShaderGenerators$fastLineFragmentShader$ref$lambda","ShaderGenerators$pointVertexShader$ref","ShaderGenerators$pointVertexShader$ref$lambda","ShaderGenerators$pointFragmentShader$ref","ShaderGenerators$pointFragmentShader$ref$lambda","ShaderGenerators$rectangleVertexShader$ref","ShaderGenerators$rectangleVertexShader$ref$lambda","ShaderGenerators$rectangleFragmentShader$ref","ShaderGenerators$rectangleFragmentShader$ref$lambda","ShaderGenerators$vertexBufferVertexShader$ref","ShaderGenerators$vertexBufferVertexShader$ref$lambda","ShaderGenerators$vertexBufferFragmentShader$ref","ShaderGenerators$vertexBufferFragmentShader$ref$lambda","f","shader","answer","contextBlock","normalMatrix","styleBlock","testReference","writeMask","onStencilTestFail","onDepthTestFail","onDepthTestPass","left","right","near","far","color","contour","distanceTolerance","fringeWidth","apc","ap","ac","vsGenerator","tscGenerator","tseGenerator","gsGenerator","fsGenerator","style","vertexFormats","instanceFormats","format","vsCode","tcsCode","tesCode","gsCode","fsCode","sum","drawContext","batch","weight","circleBatch","instanceAttributes","instanceAttributeFormats","lw","rw","lu","ru","lx0","ly0","lx1","ly1","rx0","ry0","rx1","ry1","ncap","a0","a1","rx","ry","p","dx","dy","aa","px","py","dly","ax","ay","u","segments","corners","closed","sp","drop","contours","distanceSquared","capSteps","arc","tol","cverts","expansion","v1","woff","generateFringe","fringe","commands","fringeScale","localStyle","fs","minElem","minValue","maxElem","maxValue","command","quad","vertexSize","expansions","convex","loops","strips","fw","effectiveFringeWidth","fillExpansions","screenPosition","contourPosition","boundsPosition","boundsSize","offsetInBytes","tcsGenerator","tesGenerator","elementOffset","elementCount","bufferDefinition","deps","Event$deliver$lambda","$e","postpone","copy","listener","subtokens","sampler","colorFormat","colorType","access","layout","$shadeStyle","$vertexFormats","$instanceAttributeFormats","cacheEntry","structValues","set","bufferIndex","arraySpec","flag","forceSet","valueFunction","outputInstanceFormats","structure","shadeStructure","targetName","readFileOrBlobAsDataUrl","file","$file","resolve","$resolve","$reader","reader","getModifiers","images","configuration","elementSize","test","op","floats","vertexBuffers","instanceAttributeBuffers","instancedArrays","standardDerivatives","halfFloatTextures","floatTextures","colorBufferHalfFloat","colorBufferFloat","halfFloatTexturesLinear","floatTexturesLinear","drawBuffers","depthTexture","setupFormat","scalarVectorTypes","attribute0Used","this$0","$shader","divisor","attributeBindings","attributeIndex","glType","column","context","shaderObject","framebuffer","multisample","activeUniforms","contextAttributes","dpr","resizeDpr","newWidth","newHeight","lastDragPosition","down","$down","$lastDragPosition","dims","text","vertexShader","fragmentShader","drawPrimitive","verticesPerPatch","shaderVertexDescription","localVao","vao","instanceOffset","instanceCount","target","activeUniformCount","activeUniform","uniform","blockName","floatValues","mf","shaderStorageBuffer","counterBuffer","image","imageBinding","offsetBytes","floatCount","offsetFloats","tMin","tMax","unsafeTs","tCount","ts","p2","noInflections","p3","bx","by","curves","bounds","isRing","split","hi","mt","ad","bd","det","epsilon","mt2","t2","h","a2","s1","s2","acc","tolerance","$tolerance","expand","D","discriminant","E","cd","q","R","Q","writeIdx","readIdx","trim","exp","max","exponent","cs","signedArea","lastIdx","c0r0","c1r0","c2r0","c0r1","c1r1","c2r1","c0r2","c1r2","c2r2","c3r0","c3r1","c3r2","c0r3","c1r3","c2r3","c3r3","c4r0","c4r1","c4r2","c4r3","c0r4","c1r4","c2r4","c3r4","c4r4","theta","n00","n01","n02","n03","n10","n11","n12","n13","n20","n21","n22","n23","n30","n31","n32","n33","mat","polar","dz","dw","zNear","zFar","corner","control","polarity","sample","vt1","vt2","vt3","vt4","x2","x3","x4","vt12","vt23","vt34","vt123","vt234","vt1234","d2","d3","dl","da1","da2","d1","da","usePoints","adaptivePoints","segment","samples","lastSampleIndex","segmentCount","segmentIndex","c0","c1","xd","yd","zd","stringToInt","newSeed","rng","simplex$ref$lambda","i1","j1","y2","k1","i2","j2","k2","z0","z1","z2","y3","z3","lt","cc","dd","den","sa","ca","cb","s5","curl","chords","distances","gamma","beta","Td","Tu","factor","c1s","c2s","v2","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__"],"sourceRoot":""} \ No newline at end of file