From 4d85baef78cf8de4a972a3ff49f0fbe5f506e3c9 Mon Sep 17 00:00:00 2001 From: OPENRNDR Actions Date: Mon, 16 Dec 2024 12:15:44 +0000 Subject: [PATCH] Add automatically generated web page --- beauty.css | 43 +++ favicon.ico | Bin 0 -> 15092 bytes highlightjs/androidstudio.min.css | 1 + highlightjs/highlight.min.js | 354 +++++++++++++++++++++++++ highlightjs/kotlin.min.js | 46 ++++ index.html | 35 +++ openrndr-program.js | 1 + sources-for-web/TemplateProgram.kt.txt | 23 ++ sources-for-web/appList.kt.txt | 6 + sources-for-web/bouncyBubbles.kt.txt | 69 +++++ sources-for-web/fabulousPink.kt.txt | 33 +++ sources-for-web/justGreen.kt.txt | 14 + 12 files changed, 625 insertions(+) create mode 100644 beauty.css create mode 100644 favicon.ico create mode 100644 highlightjs/androidstudio.min.css create mode 100644 highlightjs/highlight.min.js create mode 100644 highlightjs/kotlin.min.js create mode 100644 index.html create mode 100644 openrndr-program.js create mode 100644 sources-for-web/TemplateProgram.kt.txt create mode 100644 sources-for-web/appList.kt.txt create mode 100644 sources-for-web/bouncyBubbles.kt.txt create mode 100644 sources-for-web/fabulousPink.kt.txt create mode 100644 sources-for-web/justGreen.kt.txt diff --git a/beauty.css b/beauty.css new file mode 100644 index 0000000..2314800 --- /dev/null +++ b/beauty.css @@ -0,0 +1,43 @@ +body, html { + margin: 0; + width: 100%; + height: 100%; + overflow: hidden; + font-family: monospace; + font-size: 18px; +} +#openrndr-canvas { + display: block; + width: 100%; + height: 100%; +} +#menu { + position: absolute; + left: 10px; + top: 10px; +} +#menu a, #menu span, +#sourceButton a, #sourceButton span { + background-color: rgba(255,255,255,0.5); + padding-left: 5px; + padding-right: 5px; + border-radius: 3px; +} +#sourceButton { + position: absolute; + right: 10px; + bottom: 10px; + font-family: monospace; +} +#sourceCode { + position: absolute; + left: 0px; + top: 0px; + width: calc(70vw); + height: calc(100vh - 140px); + margin: 50px; + border-radius: 7px; + background-color: rgba(0,0,0,0.8); + overflow: scroll; + display: none; +} diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..2bca915a70f61c5a51309c063a49493ed629d05f GIT binary patch literal 15092 zcmeI3y!xZJ|6^Sq~v?Re&)f=^=t1doZ4fFgA?uHO5 zp-Q7t;z}}WV#9cpRm@24QnmZ7T2L@?0RUtfzLuxa5BVbFEiWI{?FoO0(0cOs8iQ00 zJ^vI#3Rpjfs*t=+vl(Z)2!NY6`!(gRCel77=0h#C=>;3K_0>1`Gcz;E1|2b^I}tj> z^ztvM!fjf}sUl#`J+M3&$_Y;93 zdVL87e3-w|MvQy{_2uR5BE>2l>muuRbt@7u!=WYGeJU?$!)1+M%O;9HdM#Hneoj|o zFf;3TP0H2n(l=SEGaDj!HSy*!ksN#7gy&o6-wxM9#IQ37E23HL{=2)cez|VCqj3|b z^qcisjG8Z*x1(&B{_?P@;q@JF>(s}Fb9TLKbS+C%i)5>$Xv1>Rj;F)vmpU^p3yDWw zRN>0{*wP@OtD6V$4hc%KBF@aa&Fy~$ z(~3|H|JgkqUOG79~P3Ra+9Q+kHgUGDvzHjg{AXq+0M<}|YTwfi}-9>&h~PyXASWw}&r zqlBl2ALm;_=1I?A+A3-Dj~-l{Q}Wg7`V;7(ML&Mb)l}Xb8M%)oHTS#8p$rnysFjum zxxw*2u3i4FEDOR%Pw9cK-fyZALr zeddK)2fqgi71Xm0TfB!QmV@(siz@Iwr@Or$6R&2M@g&YWwyPxrfO$53ARhExDIEaA z_<_=SR1s5X+9)0^u9qq=XU4 zyuz%3>nUnk{V)7I;a)krq+*x_$vpkNB7znmmPbhM6f4qP534^AkKC}%me$bOQrzyhy$ukrDkG_lLFK3e|Mhg0 zfAvh9>tvQt0gF1*Q`te*In|xvF9-Do@{>CWp_9I+b_OFh@R<$6F2YJ$4(1N$rUrd4 zZ}GtmdiN(-Lwwhxg+4Zd`_&z30aade5l1#&hy=Fhi8)H8V(JfUsJlAPK4dZJKfWsUZs(Iqb|ZP z_*;Ew%fY}A{abmVvEQt>7+>l9QFD`rjEpFe_v^@pAXk58&G=V(pZ1|FotT$NvOgLS zaKC?Tg7krf5P4RzA&9MN;*X=t!&mp?O9+na)RC=~oM%D^0_qU8tU4?F-1lQuR7&)A zut9-^_TWIuz@4T}4KI<9aBx=|m}ZN&yP5-^z$$K7xCmwi%LzOh{rbKmzNVTvZY&7R zT9u0$g85(pb62EgLzqnRMaO5|T`fQM(uU-GQPhSd)k;3}9>@RyEz$5V=1W4-GP9e7 zD%!+BlSj0|aUh-z#R4WZ{dhYhfnyR84sQDlrhP6~sts>iO0ndBD};Deu%>aoZc{X%GfrP?2vd|jG9kq2*|uHr}&`Uvs?Aw^X`V{m$CJ-xdzK1SD3ak(uwYP+Lztf)udfvwy8oQ+3n7d zMn8Z@rri<{H}YJxU~2P(Oen-=88Ivn{FIe;jya8I4Fh|ujTGCj1h4mmcHoAD?!S!| z6ZNSuZ7VD(v2F2Bo%Q^8S};ip&uMp4PkZ8$4(Kj~(S$E&@LEe=Wj_R7=$Ud5G)27K zH{kneS`-|+N8G^~^Uz}9txm>a|IKdp!|s>ONa;yW3G>I}147>Ndai@-#gg4fr<|%* zIBc)c!FLdR@|2s34`a3-eZ`k?GG@^1wL63_pNUog1wcE0>+Zy?8OoL#4?l#81)op3 zuB}xI;vcyF{iESR$#=e0Ay|C)?(a(?ety93wyWd(P&8g7D?GU!4?%|FL1ePrZa;gk z$BGE5*PYfCbN7JvRU>jJTbCL<8@83{@$(%2Iyam@9KAm(MvM(5lH~}7L*Kt*WrKO` zHS3P9L&dx%)4u1YP2#V)?9_qmU>`;WoOim-HOOcom|5u-$T5?@tzQ;$4oQVCO?OL= z?r55-kM2#pp_ty8%2Xd+-%K%_sR%fJ*5x$ z8~cVbRfL^FG%>LLysSQMq2W+8D1Q5VOu?W4AuReoPV&$)2W?_+> zVvoA38ewMgAVkniOdr%8mhareseG*imJY&5-J2?x*t|*YV`JK;j2U>kFO9n)jU2}v)#hKo)@5d92PbHlVGHzM1z&un zj}{@%zkR+vQ;&vt^G<^0HoNX^gNabEHtqlmDV~jzKKYHHcgxPB);bE+_H)DJjr+~m zg{#9z8)CNfC@G7<=IMdY6p5oGVlpPpWhmjLA1lY3Zth&A2DB7Lup_T_4d^TDSB~)P z*^u|j^yO+AmL}g3+e2HXb+|^h=-K*X8x`YVB?JJdbDi$XWw@m?KEIR&Sr4>}SqMCs z3HEUiZ;agq38%5&8~b(2VnexY>hG_I+gIS(DCA2x8r2Ifhc7Jsl5oKNt2zPRhh`0S z*>g|W9xqS4&i7aTfnSDX-o8`6L9K&if@YLmgqz*;Wa$Cl4*oR&fdpZE_x- zq4c$i{c0eY9Ewh-3|JlMoZNl6_aXB#Yx>#P%zxTR)bx$c`i0~4Gja#_RjaMDg?V16 zyY?Lwu6io#aU~TM5FZ_Wa%BHVNLNd030%KBK?Mn1s1;*sY%syxzYhe9KP4VwkO8^I z1w)dGHq>q)l>GFUm%Cp}Kf-w=7Z0y@bUF<^PH_NaQ6(QL8~{1bkU#}~kHY)yVwcU# z-f0&dMCI8p@Osu%t2`)=2pc$=`EJjmRZnLOT~>t00RZ%*?|zu3Mn+SX-`3s^wE(|P z3mt&Xv&{?%3xjzqXPQ(q5VxZJe0!j`>QAU;Od-G(>4a#1vVi!CT#M!SNKgN zduX)iK$Fq@)$`YA2BNzja4hOn>{HSTv-CAl3M|jabuuoWW|I$2sJ3d7U^k%}qq0t; z4KZrLZ>m0TBOfsU03!naBf>yOnZDF{zL`Ij93wnFcUjyj=`hlcy<6}ugb)TeS+wa$|({&)<*IpK<-HsXF?&P@U*fbPWguat*lS){- ziVoqJ!=@Tn$gmNPaW_5ZCYeWX&PE{vTE)#h>|P{0Zoy#d3b<|Do-9P^J;QIf*D~LZ zY*9Fieyn`+rK;Mz3jzeStuKV$udH)?VcboohOA3Bv>@}rd`!IA#j3646DH;1$hgR> z!>5_d9gyWJ$~-TetN&AoXuVU2&U^QcI zF>)`_`fXa45EqXpl%b;D|1z_6_`0Kbm)o2Ne>(IqyR5ZOz&6=si%} zSMwF(>?4pTmI4)*_#8!5xsIl*hhaR989wfWclB7G)TuK?3&=70O|e!+^b75Kz(4Tz z`yCha*#lJbJR6IPw4d-^glr%3FVu(scA&@Rt$%X1sF5SDed*SLbNyQ$qaW-EvEhc$ zHmo^&2Y-_iy!cp}l`AXewAg;IN9nVgh@8zkK+#W9l|}6Rh9U{h91qvxCPCCsbTGR%`N1$zb(p4*Z= zw=eYiaF}P9U!j8fN-6~-JkvpEcoVmBE~EIt&lUv(P}#j6vyCO7Zei1G!c9q$aRK{Z zNtM+_=lUis>5eHW2KrWtG}Tk{7Q!p1wTg z5-niHy#|HNin?^JA}uw!+ApRk>#6VbqbFjd`gtbfC>J?yBp|It!;Z~<#%zrBDJY8| zflvAM#3 zNZ&hoS;?u@MTaS*+3M^_K|O)AWc5%H{4fr3PqbspDF26zO zxlN{3oI!G@X#%ICORxcxl)LwoBfcQBkG;9D0 z-u=_OL@6If$-64>UcF+A1s%TrXCemMCPYFATlW*16+R%@iu&5~C}_4~ zcc;-Z^jAj0^scW1m$Eiv!t=5}#T^R%MBWeW7CS6uB%bwRtc<+8!!DI(#mf02 z7mi!g-6X6(S*$raJgI)eS#Xq|De;ZF(M)Z=M>L|o z!-t>^gOin&761%b>(>;h$F&9(p`oxW48*bsc|Vf%z+AU}-WLouba3STSg|4}y+c_6VSZBY;kuKFr8 z+6r%2x7taU4PrgI=de`m{p2Dj(|K@?%{+ZeUFH7)f>v6tw_cdL-pI)iarcGd^d=Zx z?w3TjFlO}r+!f(A-6ul!c4R^s;9u8yq{7_tR;2R-TK`oX8D{b9no7dlR21MAyuJl= zemn?{!ug!}#{K?WDgFnSsjTdySb46+!15Bk3lc%}36{@NwHROI4!niX5y8058t;5| zLaa+)LlA=_Y9#Jjgud@Tax*Raup8^c2Z^zIlufC$i;%Tn-9kI=(>wBh;d4}I6&e2(44bU-wVqkQ5PP*oaK&N z{pN?g`8Yn*4acbFqV(wUUa?!qF_W9&ZP_PW^2`Pg=4~h4Xq1M%7YE-2-;D(Kqvl#k zf^Ht#S?YFSuel)S8iHkR1i|6}V2u`dUYo%l5X~(c80_8u3Ca!NRoM{~6@KiyKUGLN z!^sL*>bU;#8irMh(WMKBdg$HPMP==vZ7bEq16cE#AQ8HQgd?s{g&E`RkOUPOIo>JX)tR)6|@Dv{SpchZr6X1FR7vO zdAggDI?qu|?6gZN6Hxj*(1LS)qElEB&BSY+X~E;L{o6l>lTZh$TNA@z0-#&(`dsb$ zoE;7}VQfn55 zOfF$3XE&*rx*U2lrM-s3`jg3edA2=if4%) z$LcaXxf5_&X|}wZN$ijV?PPr+_al(zQ$B+5?Zf|B*Uo(oR;R6SOu%x;>ZTC+;rrA- zxh(3nX1Kk8OBpDLAyJp?mK`4^jG#7_phkj9 z|1f!1u^To`_PQ%G?daZFLTSZ|JJ#8e*Me?bKe9!APwfUXxnYBtWA{bwSpgY^5oz5X ztI1kwthf&|(yj!tZY?arU+vni^*0^)b#sn<1@1KH2Dg!w&#Df?vOu>>-2~ABk&2m2 z7vz0RgHKj7E5q13{mKvW{LFTY%Ktv7GMDR>-wq8MK%6Ybfr&0hsMi0RK9Kr;(zasz|GRL-pv_u zYxLbP)UAEUp`m*l8x9^_uh1&LJ;k$cdz|f9;N3?ON$}P?Xw2yW0NAoEWZ&#sYm{e; zG*~X(8utc25ifn$CeqML64#GC&`y?>mazSKimr_seqjQ!-nv+v`aU^IE-Ir{S)`Ns zLmMRwzd!soNO6)P^myWkv$;j7wr*dPomLK~VqqC{#`_iOja(MWE1 zt!?-Y83io?HAaMbtXVbz+?ECfx|E_d;}Hk`^D`wq;R81=V+xw}bBe3uyy08*gBDX&dLIBTG-nJm*kb(#nLGaF1DVt z#K=4F*rR588YPyKsLT(@BCChp3+4bFLR=_dYgqmdZYrb@?nhKvNLkP;EI7yzE3Blj zr}qm$&ud7c$Fdi zDdhU`$9uf?JtehmmHr%$bCc;_S&&?ENhCrgV~7$H_}WZY$8bYhWkgW_Tqc#7;78^{ z(BgaMf)X)ixLfBihcC^|9l@lRWj;*dMM}faMxTsk8W&s`FTpdDmdXAvL-nqF?G{Hn zpT)SUxEVU-Svz@hgX>3ff`wVm2lfY`QJET1EPxJ zfAHVJjCQ<>MGRLOhTo0x1DZe>EQ{d{*x~(YymqE_=beK4f8y_JS_GI zeK?$Za|5+M*DrmgQcHPg_@7CkVq(vZNxcWwHslw+w0K8{c`C()tq z6_h@di>`?q)ir+TzblLDO7tk_+8Axwwhy@a-?lFVtZw5cDRG2un(Fe-UyiV~hz(~O zG4r-)7bq7F=}BIMjTIHMaAFI_JucyEZ~FvSZQ*=bqlYNei~NIf4gE4asDB=-&m*omzADKONq(Z{gSH#i33DDS)^sZBPpJGdhQ%qBBHLyRHeDR-Iz_REd7R z(L<#3+uGgvD$mpz=ju{@OgLY|>%2OmSemSkpc@TNaZl=}YQ;_R;g;dS5l7=n%bvg9 zF7IaYG!QPx|0Q~QH0HgFp>d+9T72V35Gwr~VI^Z=xajZY!TD!2;(nO)lryyEJ!1c> zijC6Yaz)Pp+NbAxV!6s@>{}OH9TH^^78F7cpZAC{QGl|!>&@@xcmgitnrFo4fnX2%o=IDv4zNIg(lojAa_PI1dj`u2dS;-6CDW(Myq% z;JeS6+Pf#Yiq8hMiRtfsdKM3`eUdumJ*B>T-YuIVQKIp$fX$Vau7k>!kb7uX{@s#s zi>39U&dmPS}k>4BoQ@AlPA#gKIi%Wl%&};Gn zP<$FW%+;(Wx5GA!nr02M;5&1QxvMjAW>HKf?OKj^CPECo1Ri5C%UQ?kG!WkY_LUaI z$?W5_-AL|0PT=Xrj*hmzfZA;Zj)~`|jp$#HI7b*a-LgnOvd;BIu;_@y49(C}`lgqwV+#wMYj( zQer5mT9uWr#j;CcDGO@aXY%uepI=(Ld~33(cN*KU^ddajd_^d!BztX0^$`|tU8I3~ za~6CwmPTW1+ehIwAUpsf7xuS0x#hPQRxD;}cf+pKVj<}=%Q^i!Qk>;VdAr%qxmo5^ zLaCKy)2oOBgvYC3q%uCNM;Dm~OI81+YWi?C`wNJ%%+ylu>%1NB$O(BrWFySWdfyaJ zVfE)tV4u~N`yS&zWz*hw%rM~&3JH zy1aQ2STf^JttV@|uC0nrm)F=pDvRF6kvba*h`Mqt<96-NRpnBZ#Pf;Rjm zZ2SI-ns}dq>*Eq!_7&S$JG#Y^_>Z z?zsD))+&=%Nyf9}7z(*cTV6Q5^l28nXeGqIZ{sECyW!$ZUqjI4^etM){bHGxj@n7& zuVO}BN-LZKZGE5E$he3GbnB5Fk4;f>WQ48M!0Ju48u7BbL6LY7P7!!>!{EJ#x6MoC z7G*nPGW%0$bDvDPGQbxK_1t3eGG+Na#_4sfr)Lw1lRy&T`I*}?^YP)pAfWc>U6Pto zRIUaw%1H1|Ig&n@gsz#DV(KmQR^mnpLoTrFy-E z!nE1J#kUE!Eg%ZZ3u&EQC11zHFX^rVSV}^;q?6BFoJGt05cz9!L~4@|d(yMBhW*9% zfIWj8XESrnZ6c$si_dD{BIl=*n<4>z$HiQI)6t^dwM44r?mdnB;7<03dl!S^ID6b& zhgY`eBN1mSM|V3ll>%(09sT)!GVh=~%3RAgXBsNA<=I>wZ&W;J9`|1kldJCOwy0NGH1 zPVwDQK}z8ku;7~;y%ODrT|gV{N)E#xJTiUKk5R$4h?+MArB5*M3vF1d@KgtM@%c78;Jue_yvqu5`(R ztYBo>FqUDwkA0YTbMM2#e;4xdaI0v zNu?l|XT3N|iT4y5W^Kcrz-uZ^l0f2^&!M-88Z5UH!wM<3=29UDb<-UGRju(Os$LfV-8_sCg%F;xD~53B zfLQZNuDti|PMlWv(Ji9q6SPWJLD4)3iLA78Dv=q1p!YUN+I=ulGW5|t0HNBV8luVoU##A1ABhUhKo zdwZ5R5-!5x3msC*_6Lq0(Y6~?v2Zv6WV4%>PQsF1dh|8l$M_1@5Veb&AfZIUsr=Op zB1s^8oJY#Fe<>*Fr99rb3?kLS)xNkaxTO8xpM9oNm-R~N+J|FoJ?if z06YL7JKrXSqpWTh6W-xchW|EcUzZj(SK#6v10P)+1+y68Fc|=K#HizCUUpN*M!*2r0uC z`37rkSB28v4gbp^0x;u2AEXgo)(R-++Dg>G&m04syuZ5&piMiwR7buwTc?GG_0*LR znZ!mn7_Pg3)`A_oqizMZh?*M2GDPHB#lzkW#IzK;0p7Mz!j~w?F?g*Ro^Y)-rAf+WPHScjemw>csw5+o=xjwU%TH*L8a^VQXeDC*s)#{+>D-w1xdk%ASSY9bRggD_( zd1g^=hJKB_S@|x1#gt-k#s(SiIrBbFBuiV{ib4p%khHUwK4~6u_hP$MRBI~FH+AmR zBnj0b^TQyYe-~S2UcANUArN((wzOhtzuE_Rr)R`V+Bp?sE-our6#_Ler1dsSyJ47k zib`1mvSeJHF6TSo<_u z#|Y@@sR@6baW#AD>Tb$izhr_@2=Y0*2d~?ioXBVR%Y$+qec)MP3dy%$A?U5*o9mmg zolZ^7Xe#BI_Hq&3Na7k@#B!%H;cLXjG*0JwhC>Mk8__|gfka- zm&`iN<`G{9X$77}Dh+|4XHXfFm$I!Gw#nK1bir1gu=51?hJ4p;l!g^LtVfrk9g)V(VVo13s;MQy! zGlnN*{2m28*p+^TJRd1M8fp4^%4ybmx5J3+wOD6CXt}HQmzv%py+%nMortr32}rV0 zhENsMZx9Shut~D18@yx_7R4m2cAK~tzgh~}m~st3W0H>IF|O0zRO*rcxE9xpb5dH8 zY4E-~*V4^9hQD99|9Y-CX?O;6|N9zo!4I$yF!bxMWT>AsNK2VHU+XBg zSSf|RRIh$vbKhyu$*957d8}o?W#IvB0uRd~nLwK2RUqa#Q(#4u;#Vl7?+8=wgvDTu zSI7-LihIkAcuSN#g5nC<+g-l1f&T|M;WFqEmN4dmFY0N!4VHw{T43*SLR3Jl#q;;? z;#fq>o9sk~gWmV)^)_8?Jqm=6+a#S40+&d30Fc$SMn z`=r*k52a}EX^#dXq|UPiWbj9&kyTwZhtEcL;4+J^ffegU1{v}4pKjyzREsNT-dHdG z;~4Q3GNEX=#_ERvJLI(Vr`SHt?W60yOL!E%s{hm>VFQzw&3l+$M@{bzNNE^U?v?#k zgIf>--YX%KS1Iiy3FZ?Qq={UAeZ0iVAs;A%cWy#k@8suw2ZTAjTF$a?ix%`U+gN3V z(&mzpmVDQwK!I6)pIqint%vTmI+rj`8s(;qFH-KSHW5AFq>~dmn2}x_@TSV<69!Oa z>$!4V6+086<=9Mr&gDGF7#w)XaT=nb^EvaD{TzdaLK6Lr`@_r_Bq@q-bDs45Y;h5Z zNRsE8Gj=(O;x7$%j~A;ZY(G9e3bTlCi!$=QKY6QD;p!c>>oc%;i^8QZb|`MzyfU}@ zEW{gJINn2Q?z(t)CLTMDO`I^pDaZ7*grcb|V@RO+b{;vro@q;&d=wO^R4A^V8g_I_hg$4)Gl}9wo=VnJy%V@iZ zX%6B(MtzSO1CBPgEu!$Gsg695wU54*9I1axfbU_wH~i0I@NKEO0$KloVq-l9Rpe|v zyK%++(bSD=h+(-0@#toZ>(dAP)4O23Q^z8Oztq|c(f<@6@P4T z9C0y0v4xrxgRJxaUf8uC|J^P2d@blyCY&UA#>^0b4(6i~*PY1fp##0qH`#O+=&3)R9^QYm__){ zJU-VME7=tk06M5wAqDwEu2$^)~wsBqoCs%fbq1;wQXCbpTXn>UtnJxp6@1c!%nUOuSQIo z<8At>vx2974E+?ld3rSBtgK(VBCh0liO{dP>8#4vXun7_*Tc`Pe(djtJnf$2VJ=On z*l=l#o1|DsFIBW>wRpFEUz%BxNM0l+;dGsz{q}mQYSH-!rZR+(xkhw+*uWQc^VZd9%%^TEH{<9CWJTamA?-%= z6OKBqb?<(CcGgvN@BN1opz`XzHn0!+*+lSOf&@iBEbzkBq#?w;|G`SgjlHi-62|?@ z(1(03^ze^d8(FT^b@TUm?@mMAZ}Vip8y7($qHA*c71Iw}Y|wj^&Qj1cRvI~otE57H=Hp$nXl7;1kxvY`?>|-n!$rW-?1kvjCy+pI7u{E z`{8kj|E&K78R{$yf%dol4ilgfQmiFK?G@r3^k@(`ppN95K)0rnZQh;6H%ipYsnn|3 zJERbJp%oC#^XNOxH(rfPg?|(si#f&Hb&t(VFVJE?bnFKeo4Mu}jvl@gC-M4R zPKxh?;4lsHeN_Erm?#1IamdOR=?=gs+s-JA5}76kQ-)B0ba8muyiUaffQqWkPU1-3tMiKl{rG>*pmZ&rws!Zjj0p z6b7BNfy9CG@WK1)pZLoxUzXe}W$D@m8-CXNBH)c~Te{L}*j7H&Gd|2wB_&(?nPPz< zL6=K{k`hxYQ~$!O8R-HpqQR&+M<1$u^+(Hz0_cxVPBpHM?v&K;zeDJo1kkCTeSnjT zegPpH;;Ps%d}(CIlzVg1A1k;R*@bNUbg@fH)8!jM1-BGL=!=AG%wmNG(shh~C-qb3 zDopliJiMJidv-Rrw$)wC(Xr+{)#%Vk7Vh;7MU||gThLx3_CdGwcT8%nYYfg8jaEF` zAHLAScjrg&Ece@9?s+G5O);8qUA@sVW9L8P6Pn3=RQ|~qLKdp|$=pbJbm4xc_ulMz zYvAIt45m!h00;oa#P8GSSw(ltUj7T?ewK4O-q=#Iv9Vje);kq?Xs_aX_$UQeT&1h` znom6AcV}Yi&lp%LmMPMDK+ZB7YIvX3=H-5RpI(&%BSH-aUk9(dkh6WpRLc+}qDH5W zJ4lq3{Tq>KGUy@^azED-`m~p;a45#$q0YVZ%b|bnfp%bN#y2-5d5#qpU&3_pO0dbd z*AUc1aLhFHjkk#5Rufh_l!BZq9vMZBp9EHY9S2y7g_12ZaQ|3pK9Q-#W8!bcP5j&2 zkBY5U=ZmktDMzS48A>s_7SY;Ubm-s&Ou16<#? zud&fm;|`G!E51bP%qYd4ls8MJr_n{fB$sgLY3&L)1wH*d;ZzI!VnH_LDcd?ZTNwK5 z$3xuUyi>=FJaXUB^(6U~q3YH+Lj+QGPO;cwpg!jaq3$JeovkNFHrT0W+?4#>`VgYt zk0vJw=|}o6YXz`qT0VSfYSc0A{!SE>jN35-m)0s3p0`h5QLmFR`Vy&?6KhnaSLh;YV)1lT$@)u z+$>|(N!v%DQ-1uFc9Sdt%hs$>=2tF;cc~Fk*WP{`EfuKL=%#)?n+)&^P5_%84Le=D-)^8f>rKY96@QJ{eMkkb%e7QGQePMvq<_le_PwPdw zC%$Mf=mgyn7r2DUTUkSPAb7Gxm%A`Lspw?|{zV!+O}$=pWN(O~CLG z3GvF~FERHp=rJC-@80;(?b+WAgU>?TuK}ifr1r2<{Bg>lhP0vOyXk4t=i~^B=P{>9 z?JR$(E)F-8HeBFvuHNRsF;S7!R}lk6cEW}WX<3u?&Ufx;kcWpV_1 z5^`S#hhZJfcZ45f2qo}AF@f=s)MhkN_Vn{_hTRWRx!x_J&+u}p_I1Lw=F7mXOiPyw zo`ow@O?zJ-tx^26Ur$(VMRGVKWZyIbEJ$-!M63@lxPq*0cp}=vZ<62fB)Q|tc5jV0IpDkX2ep@mM*f;7 zYgSx5TDRoP5=I!NB+%_4klWap&hBIu(T91!%pXUj$)H*mFjD(G4A2M@O@(rnG;O%5 zog`DQr<|@9ed%*h7lY?-gj}ca*&RV@pwLTH=;@@6d`Hmp_uWuUqa@EJIcfY1oMBF- zUskgBY_^9+d=)6lurtX;R+egnT(ozcaw4bZ+6XQEj1{rTkDn?81EO>viGqAjf|_F< n0?@)@`u=b0arEm79al~7nt4g literal 0 HcmV?d00001 diff --git a/highlightjs/androidstudio.min.css b/highlightjs/androidstudio.min.css new file mode 100644 index 0000000..7fbe783 --- /dev/null +++ b/highlightjs/androidstudio.min.css @@ -0,0 +1 @@ +pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#a9b7c6;background:#282b2e}.hljs-bullet,.hljs-literal,.hljs-number,.hljs-symbol{color:#6897bb}.hljs-deletion,.hljs-keyword,.hljs-selector-tag{color:#cc7832}.hljs-link,.hljs-template-variable,.hljs-variable{color:#629755}.hljs-comment,.hljs-quote{color:grey}.hljs-meta{color:#bbb529}.hljs-addition,.hljs-attribute,.hljs-string{color:#6a8759}.hljs-section,.hljs-title,.hljs-type{color:#ffc66d}.hljs-name,.hljs-selector-class,.hljs-selector-id{color:#e8bf6a}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700} \ No newline at end of file diff --git a/highlightjs/highlight.min.js b/highlightjs/highlight.min.js new file mode 100644 index 0000000..45f39fb --- /dev/null +++ b/highlightjs/highlight.min.js @@ -0,0 +1,354 @@ +/*! + Highlight.js v11.10.0 (git: 366a8bd012) + (c) 2006-2024 Josh Goebel and other contributors + License: BSD-3-Clause + */ +var hljs=function(){"use strict";function e(t){ +return t instanceof Map?t.clear=t.delete=t.set=()=>{ +throw Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=()=>{ +throw Error("set is read-only") +}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach((n=>{ +const i=t[n],s=typeof i;"object"!==s&&"function"!==s||Object.isFrozen(i)||e(i) +})),t}class t{constructor(e){ +void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1} +ignoreMatch(){this.isMatchIgnored=!0}}function n(e){ +return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'") +}function i(e,...t){const n=Object.create(null);for(const t in e)n[t]=e[t] +;return t.forEach((e=>{for(const t in e)n[t]=e[t]})),n}const s=e=>!!e.scope +;class o{constructor(e,t){ +this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){ +this.buffer+=n(e)}openNode(e){if(!s(e))return;const t=((e,{prefix:t})=>{ +if(e.startsWith("language:"))return e.replace("language:","language-") +;if(e.includes(".")){const n=e.split(".") +;return[`${t}${n.shift()}`,...n.map(((e,t)=>`${e}${"_".repeat(t+1)}`))].join(" ") +}return`${t}${e}`})(e.scope,{prefix:this.classPrefix});this.span(t)} +closeNode(e){s(e)&&(this.buffer+="")}value(){return this.buffer}span(e){ +this.buffer+=``}}const r=(e={})=>{const t={children:[]} +;return Object.assign(t,e),t};class a{constructor(){ +this.rootNode=r(),this.stack=[this.rootNode]}get top(){ +return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){ +this.top.children.push(e)}openNode(e){const t=r({scope:e}) +;this.add(t),this.stack.push(t)}closeNode(){ +if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){ +for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)} +walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){ +return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t), +t.children.forEach((t=>this._walk(e,t))),e.closeNode(t)),e}static _collapse(e){ +"string"!=typeof e&&e.children&&(e.children.every((e=>"string"==typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{ +a._collapse(e)})))}}class c extends a{constructor(e){super(),this.options=e} +addText(e){""!==e&&this.add(e)}startScope(e){this.openNode(e)}endScope(){ +this.closeNode()}__addSublanguage(e,t){const n=e.root +;t&&(n.scope="language:"+t),this.add(n)}toHTML(){ +return new o(this,this.options).value()}finalize(){ +return this.closeAllNodes(),!0}}function l(e){ +return e?"string"==typeof e?e:e.source:null}function g(e){return h("(?=",e,")")} +function u(e){return h("(?:",e,")*")}function d(e){return h("(?:",e,")?")} +function h(...e){return e.map((e=>l(e))).join("")}function f(...e){const t=(e=>{ +const t=e[e.length-1] +;return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{} +})(e);return"("+(t.capture?"":"?:")+e.map((e=>l(e))).join("|")+")"} +function p(e){return RegExp(e.toString()+"|").exec("").length-1} +const b=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./ +;function m(e,{joinWith:t}){let n=0;return e.map((e=>{n+=1;const t=n +;let i=l(e),s="";for(;i.length>0;){const e=b.exec(i);if(!e){s+=i;break} +s+=i.substring(0,e.index), +i=i.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?s+="\\"+(Number(e[1])+t):(s+=e[0], +"("===e[0]&&n++)}return s})).map((e=>`(${e})`)).join(t)} +const E="[a-zA-Z]\\w*",x="[a-zA-Z_]\\w*",w="\\b\\d+(\\.\\d+)?",y="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",_="\\b(0b[01]+)",O={ +begin:"\\\\[\\s\\S]",relevance:0},v={scope:"string",begin:"'",end:"'", +illegal:"\\n",contains:[O]},k={scope:"string",begin:'"',end:'"',illegal:"\\n", +contains:[O]},N=(e,t,n={})=>{const s=i({scope:"comment",begin:e,end:t, +contains:[]},n);s.contains.push({scope:"doctag", +begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)", +end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0}) +;const o=f("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/) +;return s.contains.push({begin:h(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),s +},S=N("//","$"),M=N("/\\*","\\*/"),R=N("#","$");var j=Object.freeze({ +__proto__:null,APOS_STRING_MODE:v,BACKSLASH_ESCAPE:O,BINARY_NUMBER_MODE:{ +scope:"number",begin:_,relevance:0},BINARY_NUMBER_RE:_,COMMENT:N, +C_BLOCK_COMMENT_MODE:M,C_LINE_COMMENT_MODE:S,C_NUMBER_MODE:{scope:"number", +begin:y,relevance:0},C_NUMBER_RE:y,END_SAME_AS_BEGIN:e=>Object.assign(e,{ +"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{ +t.data._beginMatch!==e[1]&&t.ignoreMatch()}}),HASH_COMMENT_MODE:R,IDENT_RE:E, +MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:{begin:"\\.\\s*"+x,relevance:0}, +NUMBER_MODE:{scope:"number",begin:w,relevance:0},NUMBER_RE:w, +PHRASAL_WORDS_MODE:{ +begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/ +},QUOTE_STRING_MODE:k,REGEXP_MODE:{scope:"regexp",begin:/\/(?=[^/\n]*\/)/, +end:/\/[gimuy]*/,contains:[O,{begin:/\[/,end:/\]/,relevance:0,contains:[O]}]}, +RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", +SHEBANG:(e={})=>{const t=/^#![ ]*\// +;return e.binary&&(e.begin=h(t,/.*\b/,e.binary,/\b.*/)),i({scope:"meta",begin:t, +end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)}, +TITLE_MODE:{scope:"title",begin:E,relevance:0},UNDERSCORE_IDENT_RE:x, +UNDERSCORE_TITLE_MODE:{scope:"title",begin:x,relevance:0}});function A(e,t){ +"."===e.input[e.index-1]&&t.ignoreMatch()}function I(e,t){ +void 0!==e.className&&(e.scope=e.className,delete e.className)}function T(e,t){ +t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)", +e.__beforeBegin=A,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords, +void 0===e.relevance&&(e.relevance=0))}function L(e,t){ +Array.isArray(e.illegal)&&(e.illegal=f(...e.illegal))}function B(e,t){ +if(e.match){ +if(e.begin||e.end)throw Error("begin & end are not supported with match") +;e.begin=e.match,delete e.match}}function P(e,t){ +void 0===e.relevance&&(e.relevance=1)}const D=(e,t)=>{if(!e.beforeMatch)return +;if(e.starts)throw Error("beforeMatch cannot be used with starts") +;const n=Object.assign({},e);Object.keys(e).forEach((t=>{delete e[t] +})),e.keywords=n.keywords,e.begin=h(n.beforeMatch,g(n.begin)),e.starts={ +relevance:0,contains:[Object.assign(n,{endsParent:!0})] +},e.relevance=0,delete n.beforeMatch +},H=["of","and","for","in","not","or","if","then","parent","list","value"],C="keyword" +;function $(e,t,n=C){const i=Object.create(null) +;return"string"==typeof e?s(n,e.split(" ")):Array.isArray(e)?s(n,e):Object.keys(e).forEach((n=>{ +Object.assign(i,$(e[n],t,n))})),i;function s(e,n){ +t&&(n=n.map((e=>e.toLowerCase()))),n.forEach((t=>{const n=t.split("|") +;i[n[0]]=[e,U(n[0],n[1])]}))}}function U(e,t){ +return t?Number(t):(e=>H.includes(e.toLowerCase()))(e)?0:1}const z={},W=e=>{ +console.error(e)},X=(e,...t)=>{console.log("WARN: "+e,...t)},G=(e,t)=>{ +z[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),z[`${e}/${t}`]=!0) +},K=Error();function F(e,t,{key:n}){let i=0;const s=e[n],o={},r={} +;for(let e=1;e<=t.length;e++)r[e+i]=s[e],o[e+i]=!0,i+=p(t[e-1]) +;e[n]=r,e[n]._emit=o,e[n]._multi=!0}function Z(e){(e=>{ +e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope, +delete e.scope)})(e),"string"==typeof e.beginScope&&(e.beginScope={ +_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope +}),(e=>{if(Array.isArray(e.begin)){ +if(e.skip||e.excludeBegin||e.returnBegin)throw W("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), +K +;if("object"!=typeof e.beginScope||null===e.beginScope)throw W("beginScope must be object"), +K;F(e,e.begin,{key:"beginScope"}),e.begin=m(e.begin,{joinWith:""})}})(e),(e=>{ +if(Array.isArray(e.end)){ +if(e.skip||e.excludeEnd||e.returnEnd)throw W("skip, excludeEnd, returnEnd not compatible with endScope: {}"), +K +;if("object"!=typeof e.endScope||null===e.endScope)throw W("endScope must be object"), +K;F(e,e.end,{key:"endScope"}),e.end=m(e.end,{joinWith:""})}})(e)}function V(e){ +function t(t,n){ +return RegExp(l(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(n?"g":"")) +}class n{constructor(){ +this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0} +addRule(e,t){ +t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]), +this.matchAt+=p(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null) +;const e=this.regexes.map((e=>e[1]));this.matcherRe=t(m(e,{joinWith:"|" +}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex +;const t=this.matcherRe.exec(e);if(!t)return null +;const n=t.findIndex(((e,t)=>t>0&&void 0!==e)),i=this.matchIndexes[n] +;return t.splice(0,n),Object.assign(t,i)}}class s{constructor(){ +this.rules=[],this.multiRegexes=[], +this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){ +if(this.multiRegexes[e])return this.multiRegexes[e];const t=new n +;return this.rules.slice(e).forEach((([e,n])=>t.addRule(e,n))), +t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){ +return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){ +this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){ +const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex +;let n=t.exec(e) +;if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{ +const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)} +return n&&(this.regexIndex+=n.position+1, +this.regexIndex===this.count&&this.considerAll()),n}} +if(e.compilerExtensions||(e.compilerExtensions=[]), +e.contains&&e.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.") +;return e.classNameAliases=i(e.classNameAliases||{}),function n(o,r){const a=o +;if(o.isCompiled)return a +;[I,B,Z,D].forEach((e=>e(o,r))),e.compilerExtensions.forEach((e=>e(o,r))), +o.__beforeBegin=null,[T,L,P].forEach((e=>e(o,r))),o.isCompiled=!0;let c=null +;return"object"==typeof o.keywords&&o.keywords.$pattern&&(o.keywords=Object.assign({},o.keywords), +c=o.keywords.$pattern, +delete o.keywords.$pattern),c=c||/\w+/,o.keywords&&(o.keywords=$(o.keywords,e.case_insensitive)), +a.keywordPatternRe=t(c,!0), +r&&(o.begin||(o.begin=/\B|\b/),a.beginRe=t(a.begin),o.end||o.endsWithParent||(o.end=/\B|\b/), +o.end&&(a.endRe=t(a.end)), +a.terminatorEnd=l(a.end)||"",o.endsWithParent&&r.terminatorEnd&&(a.terminatorEnd+=(o.end?"|":"")+r.terminatorEnd)), +o.illegal&&(a.illegalRe=t(o.illegal)), +o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map((e=>(e=>(e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((t=>i(e,{ +variants:null},t)))),e.cachedVariants?e.cachedVariants:q(e)?i(e,{ +starts:e.starts?i(e.starts):null +}):Object.isFrozen(e)?i(e):e))("self"===e?o:e)))),o.contains.forEach((e=>{n(e,a) +})),o.starts&&n(o.starts,r),a.matcher=(e=>{const t=new s +;return e.contains.forEach((e=>t.addRule(e.begin,{rule:e,type:"begin" +}))),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end" +}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t})(a),a}(e)}function q(e){ +return!!e&&(e.endsWithParent||q(e.starts))}class J extends Error{ +constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}} +const Y=n,Q=i,ee=Symbol("nomatch"),te=n=>{ +const i=Object.create(null),s=Object.create(null),o=[];let r=!0 +;const a="Could not find the language '{}', did you forget to load/include a language module?",l={ +disableAutodetect:!0,name:"Plain text",contains:[]};let p={ +ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i, +languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-", +cssSelector:"pre code",languages:null,__emitter:c};function b(e){ +return p.noHighlightRe.test(e)}function m(e,t,n){let i="",s="" +;"object"==typeof t?(i=e, +n=t.ignoreIllegals,s=t.language):(G("10.7.0","highlight(lang, code, ...args) has been deprecated."), +G("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"), +s=e,i=t),void 0===n&&(n=!0);const o={code:i,language:s};N("before:highlight",o) +;const r=o.result?o.result:E(o.language,o.code,n) +;return r.code=o.code,N("after:highlight",r),r}function E(e,n,s,o){ +const c=Object.create(null);function l(){if(!N.keywords)return void M.addText(R) +;let e=0;N.keywordPatternRe.lastIndex=0;let t=N.keywordPatternRe.exec(R),n="" +;for(;t;){n+=R.substring(e,t.index) +;const s=_.case_insensitive?t[0].toLowerCase():t[0],o=(i=s,N.keywords[i]);if(o){ +const[e,i]=o +;if(M.addText(n),n="",c[s]=(c[s]||0)+1,c[s]<=7&&(j+=i),e.startsWith("_"))n+=t[0];else{ +const n=_.classNameAliases[e]||e;u(t[0],n)}}else n+=t[0] +;e=N.keywordPatternRe.lastIndex,t=N.keywordPatternRe.exec(R)}var i +;n+=R.substring(e),M.addText(n)}function g(){null!=N.subLanguage?(()=>{ +if(""===R)return;let e=null;if("string"==typeof N.subLanguage){ +if(!i[N.subLanguage])return void M.addText(R) +;e=E(N.subLanguage,R,!0,S[N.subLanguage]),S[N.subLanguage]=e._top +}else e=x(R,N.subLanguage.length?N.subLanguage:null) +;N.relevance>0&&(j+=e.relevance),M.__addSublanguage(e._emitter,e.language) +})():l(),R=""}function u(e,t){ +""!==e&&(M.startScope(t),M.addText(e),M.endScope())}function d(e,t){let n=1 +;const i=t.length-1;for(;n<=i;){if(!e._emit[n]){n++;continue} +const i=_.classNameAliases[e[n]]||e[n],s=t[n];i?u(s,i):(R=s,l(),R=""),n++}} +function h(e,t){ +return e.scope&&"string"==typeof e.scope&&M.openNode(_.classNameAliases[e.scope]||e.scope), +e.beginScope&&(e.beginScope._wrap?(u(R,_.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap), +R=""):e.beginScope._multi&&(d(e.beginScope,t),R="")),N=Object.create(e,{parent:{ +value:N}}),N}function f(e,n,i){let s=((e,t)=>{const n=e&&e.exec(t) +;return n&&0===n.index})(e.endRe,i);if(s){if(e["on:end"]){const i=new t(e) +;e["on:end"](n,i),i.isMatchIgnored&&(s=!1)}if(s){ +for(;e.endsParent&&e.parent;)e=e.parent;return e}} +if(e.endsWithParent)return f(e.parent,n,i)}function b(e){ +return 0===N.matcher.regexIndex?(R+=e[0],1):(T=!0,0)}function m(e){ +const t=e[0],i=n.substring(e.index),s=f(N,e,i);if(!s)return ee;const o=N +;N.endScope&&N.endScope._wrap?(g(), +u(t,N.endScope._wrap)):N.endScope&&N.endScope._multi?(g(), +d(N.endScope,e)):o.skip?R+=t:(o.returnEnd||o.excludeEnd||(R+=t), +g(),o.excludeEnd&&(R=t));do{ +N.scope&&M.closeNode(),N.skip||N.subLanguage||(j+=N.relevance),N=N.parent +}while(N!==s.parent);return s.starts&&h(s.starts,e),o.returnEnd?0:t.length} +let w={};function y(i,o){const a=o&&o[0];if(R+=i,null==a)return g(),0 +;if("begin"===w.type&&"end"===o.type&&w.index===o.index&&""===a){ +if(R+=n.slice(o.index,o.index+1),!r){const t=Error(`0 width match regex (${e})`) +;throw t.languageName=e,t.badRule=w.rule,t}return 1} +if(w=o,"begin"===o.type)return(e=>{ +const n=e[0],i=e.rule,s=new t(i),o=[i.__beforeBegin,i["on:begin"]] +;for(const t of o)if(t&&(t(e,s),s.isMatchIgnored))return b(n) +;return i.skip?R+=n:(i.excludeBegin&&(R+=n), +g(),i.returnBegin||i.excludeBegin||(R=n)),h(i,e),i.returnBegin?0:n.length})(o) +;if("illegal"===o.type&&!s){ +const e=Error('Illegal lexeme "'+a+'" for mode "'+(N.scope||"")+'"') +;throw e.mode=N,e}if("end"===o.type){const e=m(o);if(e!==ee)return e} +if("illegal"===o.type&&""===a)return 1 +;if(I>1e5&&I>3*o.index)throw Error("potential infinite loop, way more iterations than matches") +;return R+=a,a.length}const _=O(e) +;if(!_)throw W(a.replace("{}",e)),Error('Unknown language: "'+e+'"') +;const v=V(_);let k="",N=o||v;const S={},M=new p.__emitter(p);(()=>{const e=[] +;for(let t=N;t!==_;t=t.parent)t.scope&&e.unshift(t.scope) +;e.forEach((e=>M.openNode(e)))})();let R="",j=0,A=0,I=0,T=!1;try{ +if(_.__emitTokens)_.__emitTokens(n,M);else{for(N.matcher.considerAll();;){ +I++,T?T=!1:N.matcher.considerAll(),N.matcher.lastIndex=A +;const e=N.matcher.exec(n);if(!e)break;const t=y(n.substring(A,e.index),e) +;A=e.index+t}y(n.substring(A))}return M.finalize(),k=M.toHTML(),{language:e, +value:k,relevance:j,illegal:!1,_emitter:M,_top:N}}catch(t){ +if(t.message&&t.message.includes("Illegal"))return{language:e,value:Y(n), +illegal:!0,relevance:0,_illegalBy:{message:t.message,index:A, +context:n.slice(A-100,A+100),mode:t.mode,resultSoFar:k},_emitter:M};if(r)return{ +language:e,value:Y(n),illegal:!1,relevance:0,errorRaised:t,_emitter:M,_top:N} +;throw t}}function x(e,t){t=t||p.languages||Object.keys(i);const n=(e=>{ +const t={value:Y(e),illegal:!1,relevance:0,_top:l,_emitter:new p.__emitter(p)} +;return t._emitter.addText(e),t})(e),s=t.filter(O).filter(k).map((t=>E(t,e,!1))) +;s.unshift(n);const o=s.sort(((e,t)=>{ +if(e.relevance!==t.relevance)return t.relevance-e.relevance +;if(e.language&&t.language){if(O(e.language).supersetOf===t.language)return 1 +;if(O(t.language).supersetOf===e.language)return-1}return 0})),[r,a]=o,c=r +;return c.secondBest=a,c}function w(e){let t=null;const n=(e=>{ +let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"" +;const n=p.languageDetectRe.exec(t);if(n){const t=O(n[1]) +;return t||(X(a.replace("{}",n[1])), +X("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"} +return t.split(/\s+/).find((e=>b(e)||O(e)))})(e);if(b(n))return +;if(N("before:highlightElement",{el:e,language:n +}),e.dataset.highlighted)return void console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e) +;if(e.children.length>0&&(p.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), +console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), +console.warn("The element with unescaped HTML:"), +console.warn(e)),p.throwUnescapedHTML))throw new J("One of your code blocks includes unescaped HTML.",e.innerHTML) +;t=e;const i=t.textContent,o=n?m(i,{language:n,ignoreIllegals:!0}):x(i) +;e.innerHTML=o.value,e.dataset.highlighted="yes",((e,t,n)=>{const i=t&&s[t]||n +;e.classList.add("hljs"),e.classList.add("language-"+i) +})(e,n,o.language),e.result={language:o.language,re:o.relevance, +relevance:o.relevance},o.secondBest&&(e.secondBest={ +language:o.secondBest.language,relevance:o.secondBest.relevance +}),N("after:highlightElement",{el:e,result:o,text:i})}let y=!1;function _(){ +"loading"!==document.readyState?document.querySelectorAll(p.cssSelector).forEach(w):y=!0 +}function O(e){return e=(e||"").toLowerCase(),i[e]||i[s[e]]} +function v(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach((e=>{ +s[e.toLowerCase()]=t}))}function k(e){const t=O(e) +;return t&&!t.disableAutodetect}function N(e,t){const n=e;o.forEach((e=>{ +e[n]&&e[n](t)}))} +"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(()=>{ +y&&_()}),!1),Object.assign(n,{highlight:m,highlightAuto:x,highlightAll:_, +highlightElement:w, +highlightBlock:e=>(G("10.7.0","highlightBlock will be removed entirely in v12.0"), +G("10.7.0","Please use highlightElement now."),w(e)),configure:e=>{p=Q(p,e)}, +initHighlighting:()=>{ +_(),G("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")}, +initHighlightingOnLoad:()=>{ +_(),G("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.") +},registerLanguage:(e,t)=>{let s=null;try{s=t(n)}catch(t){ +if(W("Language definition for '{}' could not be registered.".replace("{}",e)), +!r)throw t;W(t),s=l} +s.name||(s.name=e),i[e]=s,s.rawDefinition=t.bind(null,n),s.aliases&&v(s.aliases,{ +languageName:e})},unregisterLanguage:e=>{delete i[e] +;for(const t of Object.keys(s))s[t]===e&&delete s[t]}, +listLanguages:()=>Object.keys(i),getLanguage:O,registerAliases:v, +autoDetection:k,inherit:Q,addPlugin:e=>{(e=>{ +e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{ +e["before:highlightBlock"](Object.assign({block:t.el},t)) +}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{ +e["after:highlightBlock"](Object.assign({block:t.el},t))})})(e),o.push(e)}, +removePlugin:e=>{const t=o.indexOf(e);-1!==t&&o.splice(t,1)}}),n.debugMode=()=>{ +r=!1},n.safeMode=()=>{r=!0},n.versionString="11.10.0",n.regex={concat:h, +lookahead:g,either:f,optional:d,anyNumberOfTimes:u} +;for(const t in j)"object"==typeof j[t]&&e(j[t]);return Object.assign(n,j),n +},ne=te({});return ne.newInstance=()=>te({}),ne}() +;"object"==typeof exports&&"undefined"!=typeof module&&(module.exports=hljs);/*! `kotlin` grammar compiled for Highlight.js 11.10.0 */ +(()=>{var e=(()=>{"use strict" +;var e="[0-9](_*[0-9])*",n=`\\.(${e})`,a="[0-9a-fA-F](_*[0-9a-fA-F])*",i={ +className:"number",variants:[{ +begin:`(\\b(${e})((${n})|\\.)?|(${n}))[eE][+-]?(${e})[fFdD]?\\b`},{ +begin:`\\b(${e})((${n})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${n})[fFdD]?\\b` +},{begin:`\\b(${e})[fFdD]\\b`},{ +begin:`\\b0[xX]((${a})\\.?|(${a})?\\.(${a}))[pP][+-]?(${e})[fFdD]?\\b`},{ +begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${a})[lL]?\\b`},{ +begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}], +relevance:0};return e=>{const n={ +keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual", +built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing", +literal:"true false null"},a={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@" +},s={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},t={ +className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},r={className:"string", +variants:[{begin:'"""',end:'"""(?=[^"])',contains:[t,s]},{begin:"'",end:"'", +illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/, +contains:[e.BACKSLASH_ESCAPE,t,s]}]};s.contains.push(r);const l={ +className:"meta", +begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?" +},c={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/, +end:/\)/,contains:[e.inherit(r,{className:"string"}),"self"]}] +},o=i,b=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),E={ +variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/, +contains:[]}]},d=E;return d.variants[1].contains=[E],E.variants[1].contains=[d], +{name:"Kotlin",aliases:["kt","kts"],keywords:n, +contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag", +begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,b,{className:"keyword", +begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol", +begin:/@\w+/}]}},a,l,c,{className:"function",beginKeywords:"fun",end:"[(]|$", +returnBegin:!0,excludeEnd:!0,keywords:n,relevance:5,contains:[{ +begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0, +contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin://, +keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/, +endsParent:!0,keywords:n,relevance:0,contains:[{begin:/:/,end:/[=,\/]/, +endsWithParent:!0,contains:[E,e.C_LINE_COMMENT_MODE,b],relevance:0 +},e.C_LINE_COMMENT_MODE,b,l,c,r,e.C_NUMBER_MODE]},b]},{ +begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{ +3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0, +illegal:"extends implements",contains:[{ +beginKeywords:"public protected internal private constructor" +},e.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0, +excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/, +excludeBegin:!0,returnEnd:!0},l,c]},r,{className:"meta",begin:"^#!/usr/bin/env", +end:"$",illegal:"\n"},o]}}})();hljs.registerLanguage("kotlin",e)})(); \ No newline at end of file diff --git a/highlightjs/kotlin.min.js b/highlightjs/kotlin.min.js new file mode 100644 index 0000000..ece9533 --- /dev/null +++ b/highlightjs/kotlin.min.js @@ -0,0 +1,46 @@ +/*! `kotlin` grammar compiled for Highlight.js 11.10.0 */ +(()=>{var e=(()=>{"use strict" +;var e="[0-9](_*[0-9])*",n=`\\.(${e})`,a="[0-9a-fA-F](_*[0-9a-fA-F])*",i={ +className:"number",variants:[{ +begin:`(\\b(${e})((${n})|\\.)?|(${n}))[eE][+-]?(${e})[fFdD]?\\b`},{ +begin:`\\b(${e})((${n})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${n})[fFdD]?\\b` +},{begin:`\\b(${e})[fFdD]\\b`},{ +begin:`\\b0[xX]((${a})\\.?|(${a})?\\.(${a}))[pP][+-]?(${e})[fFdD]?\\b`},{ +begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${a})[lL]?\\b`},{ +begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}], +relevance:0};return e=>{const n={ +keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual", +built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing", +literal:"true false null"},a={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@" +},s={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},t={ +className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},r={className:"string", +variants:[{begin:'"""',end:'"""(?=[^"])',contains:[t,s]},{begin:"'",end:"'", +illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/, +contains:[e.BACKSLASH_ESCAPE,t,s]}]};s.contains.push(r);const l={ +className:"meta", +begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?" +},c={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/, +end:/\)/,contains:[e.inherit(r,{className:"string"}),"self"]}] +},o=i,b=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),E={ +variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/, +contains:[]}]},d=E;return d.variants[1].contains=[E],E.variants[1].contains=[d], +{name:"Kotlin",aliases:["kt","kts"],keywords:n, +contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag", +begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,b,{className:"keyword", +begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol", +begin:/@\w+/}]}},a,l,c,{className:"function",beginKeywords:"fun",end:"[(]|$", +returnBegin:!0,excludeEnd:!0,keywords:n,relevance:5,contains:[{ +begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0, +contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin://, +keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/, +endsParent:!0,keywords:n,relevance:0,contains:[{begin:/:/,end:/[=,\/]/, +endsWithParent:!0,contains:[E,e.C_LINE_COMMENT_MODE,b],relevance:0 +},e.C_LINE_COMMENT_MODE,b,l,c,r,e.C_NUMBER_MODE]},b]},{ +begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{ +3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0, +illegal:"extends implements",contains:[{ +beginKeywords:"public protected internal private constructor" +},e.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0, +excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/, +excludeBegin:!0,returnEnd:!0},l,c]},r,{className:"meta",begin:"^#!/usr/bin/env", +end:"$",illegal:"\n"},o]}}})();hljs.registerLanguage("kotlin",e)})(); \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..b31c5d5 --- /dev/null +++ b/index.html @@ -0,0 +1,35 @@ + + + + + OPENRNDR + + + + + + + + +
+ + + + + + + diff --git a/openrndr-program.js b/openrndr-program.js new file mode 100644 index 0000000..cac5cc8 --- /dev/null +++ b/openrndr-program.js @@ -0,0 +1 @@ +!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={887:(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.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===Math.log2&&(Math.log2=function(n){return Math.log(n)*Math.LOG2E}),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,$,p,d,k,g,m,b,x,q,y,j,C,S,z,E,A,R,L,I,T,N,M,B,O,D,F,V,G,P,W,U,H,K,Y,X,Q,Z,J,nn=Math.imul,tn=ArrayBuffer.isView,en=Math.clz32;function rn(){}function sn(){}function _n(){}function un(n){switch(n.length){case 0:return q_();case 1:return t=n[0],on(i=[t],we(i.length));default:return on(n,function(n,t){return function(n,t,i){ve(n,t,i),Ke.call(i)}(n,1,t),t}(n.length,$t(xt(Ke))))}var t,i}function on(n,t){for(var i=0,e=n.length;i1&&t.f(i),!(s<0||o<=s))break n;K_(t,l,u)}return s>=0&&o>s&&t.f(_),t.f(r),t}(n,ms(),t,i,e,r,s,_).toString()}function ln(n,t,i,e,r,s,_){return t=t===m?", ":t,i=i===m?"":i,e=e===m?"":e,r=r===m?-1:r,s=s===m?"...":s,_=_===m?null:_,fn(n,ms(),t,i,e,r,s,_).toString()}function fn(n,t,i,e,r,s,_,u){i=i===m?", ":i,e=e===m?"":e,r=r===m?"":r,s=s===m?-1:s,_=_===m?"...":_,u=u===m?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;K_(t,a,u)}return s>=0&&o>s&&t.f(_),t.f(r),t}function cn(n){if(ai(n,In))return pn(n);var t=n.g();if(!t.h())throw mr("Collection is empty.");return t.i()}function vn(n,t){for(var i=n.g();i.h();){var e=i.i();t.e(e)}return t}function wn(n){if(ai(n,Tn)){var t;switch(n.j()){case 0:t=s_();break;case 1:t=Ri(ai(n,In)?n.k(0):n.g().i());break;default:t=dn(n)}return t}return o_($n(n))}function $n(n){return ai(n,Tn)?dn(n):vn(n,Yi())}function pn(n){if(n.l())throw mr("List is empty.");return n.k(0)}function dn(n){return Qi(n)}function kn(n){if(ai(n,In))return function(n){var t;switch(n.j()){case 0:throw mr("List is empty.");case 1:t=n.k(0);break;default:throw hr("List has more than one element.")}return t}(n);var t=n.g();if(!t.h())throw mr("Collection is empty.");var i=t.i();if(t.h())throw hr("Collection has more than one element.");return i}function gn(n,t){return t<=-2147483648?G_().t_1:si(n,t-1|0)}function mn(n,t){return nt?t:n}function qn(n,t,i,e,r,s,_){return t=t===m?", ":t,i=i===m?"":i,e=e===m?"":e,r=r===m?-1:r,s=s===m?"...":s,_=_===m?null:_,function(n,t,i,e,r,s,_,u){i=i===m?", ":i,e=e===m?"":e,r=r===m?"":r,s=s===m?-1:s,_=_===m?"...":_,u=u===m?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;K_(t,a,u)}return s>=0&&o>s&&t.f(_),t.f(r),t}(n,ms(),t,i,e,r,s,_).toString()}function yn(n){this.v_1=n}function jn(n,t){if(!(t>=0))throw hr(pt("Requested character count "+t+" is less than zero."));var i=xn(t,n.length);return n.substring(i)}function Cn(n,t){if(!(t>=0))throw hr(pt("Requested character count "+t+" is less than zero."));var i=xn(t,n.length);return n.substring(0,i)}function Sn(n){return n}function zn(n,t){return n-t|0}function En(n,t){return n-t|0}function An(n){return n}function Rn(n){return String.fromCharCode(n)}function Ln(){}function In(){}function Tn(){}function Nn(){}function Mn(){}function Bn(){}function On(){}function Dn(n,t){this.b1_1=n,this.c1_1=t}function Fn(n){var t=null==n?null:pt(n);return null==t?"null":t}function Vn(){t=this,this.e1_1=new Gn(0,-2147483648),this.f1_1=new Gn(-1,2147483647),this.g1_1=8,this.h1_1=64}function Gn(n,i){null==t&&new Vn,_n.call(this),this.i1_1=n,this.j1_1=i}function Pn(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 hr("Invalid Char code: "+e);i=function(n){return function(n){return 65535&n}(function(n){return n<<16>>16}(ei(n)))}(e)}else i=n.b(t);return i}function st(n){return"string"==typeof n}function _t(n){return st(n)?n.length:n.a()}function ut(n,t,i){return st(n)?n.substring(t,i):n.c(t,i)}function ot(n,t){var i=n,e=t;if(i===e)return!0;if(null==i||null==e||!oi(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 ct(n,t){return nt?1:0}function vt(n){if(!("kotlinHashCodeValue$"in n)){var t=wt(),i=new Object;i.value=t,i.enumerable=!1,Object.defineProperty(n,"kotlinHashCodeValue$",i)}return n.kotlinHashCodeValue$}function wt(){return 4294967296*Math.random()|0}function $t(n){return n=n===m?null:n,Object.create(n)}function pt(n){return null==n?"null":oi(n)?"[...]":"function"!=typeof n.toString?function(n){return Object.prototype.toString.call(n)}(n):n.toString()}function dt(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 kt(n){if(null==n)return 0;var t,i=typeof n;switch(i){case"object":t="function"==typeof n.hashCode?n.hashCode():vt(n);break;case"function":t=vt(n);break;case"number":t=it(n);break;case"boolean":t=gt(n);break;case"string":t=mt(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=nn(31,r)+_|0,e>>=t}return nn(r,s)}(n);break;case"symbol":t=function(n){var t=(e=n,Symbol.keyFor(e)!=m?(o===m&&(o=new Map),o):(h===m&&(h=new WeakMap),h)),i=t.get(n);var e;if(i!==m)return i;var r=wt();return t.set(n,r),r}(n);break;default:t=function(){throw new Error("Unexpected typeof `"+i+"`")}()}return t}function gt(n){return n?1231:1237}function mt(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=nn(t,31)+s|0}while(r!==e);return t}function bt(n,t){null!=Error.captureStackTrace?Error.captureStackTrace(n,t):n.stack=(new Error).stack}function xt(n){return n.prototype}function qt(n,t,i){Error.call(n),function(n,t,i){var e=mi(Object.getPrototypeOf(n));if(!(1&e)){var r;if(null==t){var s;if(null!==t){var _=null==i?null:i.toString();s=null==_?m:_}else s=m;r=s}else r=t;n.message=r}2&e||(n.cause=i),n.name=Object.getPrototypeOf(n).constructor.name}(n,t,i)}function yt(n){var t;return null==n?function(){throw Ar()}():t=n,t}function jt(){throw Tr()}function Ct(){return Xt(),a}function St(){return Xt(),l}function zt(){return Xt(),f}function Et(){return Xt(),v}function At(){return Xt(),w}function Rt(n,t){if(Xt(),Dt(n,t))return 0;var i=Vt(n),e=Vt(t);return i&&!e?-1:!i&&e?1:Vt(It(n,t))?-1:1}function Lt(n,t){Xt();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 Gn((l&=65535)<<16|(f&=65535),(h&=65535)<<16|(a&=65535))}function It(n,t){return Xt(),Lt(n,t.p1())}function Tt(n,t){if(Xt(),Gt(n))return Ct();if(Gt(t))return Ct();if(Dt(n,Et()))return Pt(t)?Et():Ct();if(Dt(t,Et()))return Pt(n)?Et():Ct();if(Vt(n))return Vt(t)?Tt(Wt(n),Wt(t)):Wt(Tt(Wt(n),t));if(Vt(t))return Wt(Tt(n,Wt(t)));if(Ut(n,At())&&Ut(t,At()))return Ht(Bt(n)*Bt(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+nn(s,h)|0)>>>16|0)|0,c&=65535,l=(l=l+((f=f+nn(r,h)|0)>>>16|0)|0)+((f=(f&=65535)+nn(s,o)|0)>>>16|0)|0,f&=65535,a=(a=(a=a+((l=l+nn(e,h)|0)>>>16|0)|0)+((l=(l&=65535)+nn(r,o)|0)>>>16|0)|0)+((l=(l&=65535)+nn(s,u)|0)>>>16|0)|0,l&=65535,a=a+(((nn(i,h)+nn(e,o)|0)+nn(r,u)|0)+nn(s,_)|0)|0,new Gn(f<<16|c,(a&=65535)<<16|l)}function Nt(n,t){Xt();var i=63&t;return 0===i?n:i<32?new Gn(n.i1_1<>>(32-i|0)):new Gn(0,n.i1_1<>>i|n.j1_1<<32-i,n.j1_1>>i):new Gn(n.j1_1>>i-32,n.j1_1>=0?0:-1)}function Bt(n){return Xt(),4294967296*n.j1_1+function(n){return Xt(),n.i1_1>=0?n.i1_1:4294967296+n.i1_1}(n)}function Ot(n,t){if(Xt(),t<2||36=0x8000000000000000)return Xt(),c;if(n<0)return Wt(Ht(-n));var t=4294967296;return new Gn(n%t|0,n/t|0)}function Kt(n,t){return Xt(),Rt(n,t)>0}function Yt(n,t){return Xt(),Rt(n,t)>=0}function Xt(){$||($=!0,a=Ft(0),l=Ft(1),f=Ft(-1),c=new Gn(-1,2147483647),v=new Gn(0,-2147483648),w=Ft(16777216))}function Qt(n,t,i,e,r,s){return{kind:n,simpleName:t,associatedObjectKey:e,associatedObjects:r,suspendArity:s,$kClass$:m,defaultConstructor:i,iid:"interface"===n?(p===m&&(p=0),p=p+1|0):m}}function Zt(n,t,i,e,r,s,_,u,o){null!=r&&(t.prototype=Object.create(r.prototype),t.prototype.constructor=t);var h=Qt(n,i,e,u,o,_);t.$metadata$=h,null!=s&&((dt(h.iid,m)?t.prototype:t).$imask$=Pn(s))}function Jt(n,t,i,e,r,s,_,u){Zt("class",n,t,i,e,r,s,_,u)}function ni(n,t,i,e,r,s,_,u){Zt("object",n,t,i,e,r,s,_,u)}function ti(n,t,i,e,r,s,_,u){Zt("interface",n,t,i,e,r,s,_,u)}function ii(n,t,i,e){ni(n,"Companion",m,t,i,e,m,m)}function ei(n){return n instanceof Gn?n.w1():function(n){return n>2147483647?2147483647:n<-2147483648?-2147483648:0|n}(n)}function ri(){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 si(n,t){return new P_(n,t)}function _i(){return ui(),Qt("class",m,m,m,m,m)}function ui(){if(!g){g=!0;var n=[_i(),_i()],t=[_i(),_i()];k=[n,t,[_i(),_i()]]}}function oi(n){return hi(n)||tn(n)}function hi(n){return Array.isArray(n)}function ai(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 li(n){return!!hi(n)&&!n.$type$}function fi(n){return"number"==typeof n||n instanceof Gn}function ci(n){return hi(n)&&"BooleanArray"===n.$type$}function vi(n){return n instanceof Int8Array}function wi(n){return n instanceof Int16Array}function $i(n){return n instanceof Uint16Array&&"CharArray"===n.$type$}function pi(n){return n instanceof Int32Array}function di(n){return n instanceof Float32Array}function ki(n){return hi(n)&&"LongArray"===n.$type$}function gi(n){return n instanceof Float64Array}function mi(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(bi(n,"message")&&(s|=1),bi(n,"cause")&&(s|=2),3!==s){var _=(r=n,Object.getPrototypeOf(r));_!=Error.prototype&&(s|=mi(_))}return null!=i&&(i.errorInfo=s),s}function bi(n,t){return n.hasOwnProperty(t)}function xi(n){return new Ji(n)}function qi(n,t,i,e){i=i===m?0:i,e=e===m?n.length:e,N.j2(i,e,n.length),n.fill(t,i,e)}function yi(){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 ji(){return null==b&&new yi,b}function Ci(){}function Si(n){this.m2_1=n,Bs.call(this)}function zi(n){return!(n==n)}function Ei(){}function Ai(n){return function(n){if(n.l())return[];for(var t=n.j(),i=Un(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 Ri(n){return 0===(t=[n]).length?Yi():Qi(new a_(t,!0));var t}function Li(n){return n}function Ii(n){return e=(t=[n]).length,k_(i=ee(e,$t(xt(se))),t),i;var t,i,e}function Ti(n){return n<0&&function(){throw zr("Index overflow has happened.")}(),n}function Ni(n){return void 0!==n.toArray?n.toArray():Ai(n)}function Mi(n,t,i,e,r){N.j2(e,r,n.length);var s=r-e|0;if(N.j2(i,i+s|0,t.length),tn(t)&&tn(n)){var _=n.subarray(e,r);t.set(_,i)}else if(n!==t||i<=e){var u=0;if(u=0))throw hr(pt("capacity must be non-negative."));return Un(Array(n),null)}function Wi(n,t,i){n.fill(null,t,i)}function Ui(n,t){return function(n,t){if(!(t>=0))throw hr(pt("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 hr(pt("Negative initial capacity: "+n));return t}(n,$t(xt(Ji)))}function Qi(n){return function(n,t){var i=Ni(n);return Ji.call(t,i),t}(n,$t(xt(Ji)))}function Zi(n,t){return N.u3(t,n.j()),t}function Ji(n){null==q&&new Ki,Fi.call(this),this.n_1=n,this.o_1=!1}function ne(n,t){return Vi.call(t),se.call(t),t.a4_1=n,t}function te(n){return ne(ge(),n),n}function ie(){return te($t(xt(se)))}function ee(n,t){return function(n,t,i){ne(be(n,t),i)}(n,1,t),t}function re(n,t){return ne(function(n){return function(n,t){return me(n.j(),t),t.d4(n),t}(n,$t(xt(Fe)))}(n),t),t}function se(){this.b4_1=null}function _e(n){Gi.call(this),this.e4_1=n}function ue(n){oe.call(this,n)}function oe(n){Gi.call(this),this.i4_1=n}function he(n){this.o4_1=n}function ae(n){Gi.call(this),this.p4_1=n}function le(n,t){return Gi.call(t),$e.call(t),t.r4_1=n,t}function fe(n){return le(ge(),n),n}function ce(){return fe($t(xt($e)))}function ve(n,t,i){return le(be(n,t),i),i}function we(n){return function(n,t){return ve(n,1,t),t}(n,$t(xt($e)))}function $e(){}function pe(n,t){return 0===(i=nn(mn(t,1),3))?0:1<<31-en(i);var i}function de(n,t){return en(t)+1|0}function ke(n){if(n.c5_1.z4_1!==n.e5_1)throw Cr("The backing map has been modified after this entry was obtained.")}function ge(){return me(8,n=$t(xt(Fe))),n;var n}function me(n,t){return Fe.call(t,Pi(n),null,new Int32Array(n),new Int32Array(pe(0,n)),2,0),t}function be(n,t){return function(n,t,i){if(me(n,i),!(t>0))throw hr(pt("Non-positive load factor: "+t));return i}(n,t,$t(xt(Fe)))}function xe(n){return n.s4_1.length}function qe(n){return n.v4_1.length}function ye(n){n.z4_1=n.z4_1+1|0}function je(n,t){!function(n,t){var i=xe(n)-n.x4_1|0,e=n.x4_1-n.j()|0;return i=t&&e>=(xe(n)/4|0)}(n,t)?function(n,t){if(t<0)throw dr("too many elements");if(t>xe(n)){var i=N.f5(xe(n),t);n.s4_1=Ui(n.s4_1,i);var e=n,r=n.t4_1;e.t4_1=null==r?null:Ui(r,i),n.u4_1=function(n,t){if(!(t>=0))throw hr(pt("Invalid new array size: "+t+"."));return function(n,t){for(var i=n.length,e=t.length,r=0,s=t;rqe(n)&&Ee(n,s)}}(n,n.x4_1+t|0):ze(n,!0)}function Ce(n){var t=n.t4_1;if(null!=t)return t;var i=Pi(xe(n));return n.t4_1=i,i}function Se(n,t){return null==t?0:nn(kt(t),-1640531527)>>>n.y4_1|0}function ze(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}Wi(n.s4_1,e,n.x4_1),null==r||Wi(r,e,n.x4_1),n.x4_1=e}function Ee(n,t){ye(n),n.x4_1>n.a5_1&&ze(n,!1),n.v4_1=new Int32Array(t),n.y4_1=de(0,t);for(var i=0;i0&&dt(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=qe(n)-1|0)}}function Le(n,t){n.g4();n:for(;;)for(var i=Se(n,t),e=xn(nn(n.w4_1,2),qe(n)/2|0),r=0;;){var s=n.v4_1[i];if(s<=0){if(n.x4_1>=xe(n)){je(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,ye(n),r>n.w4_1&&(n.w4_1=r),u}if(dt(n.s4_1[s-1|0],t))return 0|-s;if((r=r+1|0)>e){Ee(n,nn(qe(n),2));continue n}var o=i;i=o-1|0,0===o&&(i=qe(n)-1|0)}}function Ie(n,t){Hi(n.s4_1,t);var i=n.t4_1;null==i||Hi(i,t),function(n,t){for(var i=t,e=t,r=0,s=xn(nn(n.w4_1,2),qe(n)/2|0);;){var _=i;if(i=_-1|0,0===_&&(i=qe(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):(Se(n,n.s4_1[u-1|0])-i&qe(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,ye(n)}function Te(n,t){var i=Le(n,t.r()),e=Ce(n);if(i>=0)return e[i]=t.s(),!0;var r=e[(0|-i)-1|0];return!dt(t.s(),r)&&(e[(0|-i)-1|0]=t.s(),!0)}function Ne(){this.g5_1=-1640531527,this.h5_1=8,this.i5_1=2,this.j5_1=-1}function Me(n){this.k5_1=n,this.l5_1=0,this.m5_1=-1,this.n5_1=this.k5_1.z4_1,this.o5()}function Be(n){Me.call(this,n)}function Oe(n){Me.call(this,n)}function De(n,t){this.c5_1=n,this.d5_1=t,this.e5_1=this.c5_1.z4_1}function Fe(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=de(0,qe(this)),this.z4_1=0,this.a5_1=0,this.b5_1=!1}function Ve(){}function Ge(){return te(n=$t(xt(Ue))),Ue.call(n),n;var n}function Pe(n){return function(n,t){return ee(n,t),Ue.call(t),t}(n,$t(xt(Ue)))}function We(n){return function(n,t){return re(n,t),Ue.call(t),t}(n,$t(xt(Ue)))}function Ue(){}function He(){return fe(n=$t(xt(Ke))),Ke.call(n),n;var n}function Ke(){}function Ye(){}function Xe(n){Ye.call(this),this.p6_1=n}function Qe(){Ze.call(this)}function Ze(){Ye.call(this),this.r6_1=""}function Je(){if(!j){j=!0;var n="undefined"!=typeof process&&process.versions&&!!process.versions.node;y=n?new Xe(process.stdout):new Qe}}function nr(n){ir.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 tr(){}function ir(){this.e7_1=null}function er(n,t,i){this.t7_1=t,this.u7_1=i,nr.call(this,ai(n,z_)?n:jt())}function rr(n){return qt(n),or.call(n),n}function sr(){var n=rr($t(xt(or)));return bt(n,sr),n}function _r(n,t){return qt(t,n),or.call(t),t}function ur(n){var t=_r(n,$t(xt(or)));return bt(t,ur),t}function or(){bt(this,or)}function hr(n){var t=function(n,t){return pr(n,t),ar.call(t),t}(n,$t(xt(ar)));return bt(t,hr),t}function ar(){bt(this,ar)}function lr(n){var t=function(n,t){return pr(n,t),fr.call(t),t}(n,$t(xt(fr)));return bt(t,lr),t}function fr(){bt(this,fr)}function cr(){var n,t=($r(n=$t(xt(wr))),wr.call(n),n);return bt(t,cr),t}function vr(n){var t=function(n,t){return pr(n,t),wr.call(t),t}(n,$t(xt(wr)));return bt(t,vr),t}function wr(){bt(this,wr)}function $r(n){return rr(n),kr.call(n),n}function pr(n,t){return _r(n,t),kr.call(t),t}function dr(n){var t=pr(n,$t(xt(kr)));return bt(t,dr),t}function kr(){bt(this,kr)}function gr(){var n,t=($r(n=$t(xt(br))),br.call(n),n);return bt(t,gr),t}function mr(n){var t=function(n,t){return pr(n,t),br.call(t),t}(n,$t(xt(br)));return bt(t,mr),t}function br(){bt(this,br)}function xr(){bt(this,xr)}function qr(n){var t=function(n,t){return pr(n,t),yr.call(t),t}(n,$t(xt(yr)));return bt(t,qr),t}function yr(){bt(this,yr)}function jr(){var n,t=($r(n=$t(xt(Sr))),Sr.call(n),n);return bt(t,jr),t}function Cr(n){var t=function(n,t){return pr(n,t),Sr.call(t),t}(n,$t(xt(Sr)));return bt(t,Cr),t}function Sr(){bt(this,Sr)}function zr(n){var t=function(n,t){return pr(n,t),Er.call(t),t}(n,$t(xt(Er)));return bt(t,zr),t}function Er(){bt(this,Er)}function Ar(){var n,t=($r(n=$t(xt(Rr))),Rr.call(n),n);return bt(t,Ar),t}function Rr(){bt(this,Rr)}function Lr(){var n,t=($r(n=$t(xt(Ir))),Ir.call(n),n);return bt(t,Lr),t}function Ir(){bt(this,Ir)}function Tr(){var n,t=($r(n=$t(xt(Nr))),Nr.call(n),n);return bt(t,Tr),t}function Nr(){bt(this,Nr)}function Mr(n){var t=function(n,t){return pr(n,t),Br.call(t),t}(n,$t(xt(Br)));return bt(t,Mr),t}function Br(){bt(this,Br)}function Or(n,t){return Dr(),n*(Dr(),S)+t*(Dr(),z)}function Dr(){E||(E=!0,S=Math.pow(2,-26),z=Math.pow(2,-53))}function Fr(){}function Vr(n){this.z7_1=n}function Gr(){A=this,Vr.call(this,Object),this.c8_1="Nothing"}function Pr(){return null==A&&new Gr,A}function Wr(){}function Ur(n,t,i){Vr.call(this,n),this.e8_1=t,this.f8_1=i}function Hr(n){Vr.call(this,n);var t=n.$metadata$;this.h8_1=null==t?null:t.simpleName}function Kr(){}function Yr(){return I||(I=!0,R=Un(Array(0),null)),R}function Xr(n){return!(null==n)}function Qr(n){return fi(n)}function Zr(n){return null!=n&&"boolean"==typeof n}function Jr(n){return null!=n&&"number"==typeof n}function ns(n){return null!=n&&"number"==typeof n}function ts(n){return null!=n&&"number"==typeof n}function is(n){return null!=n&&"number"==typeof n}function es(n){return null!=n&&"number"==typeof n}function rs(n){return null!=n&&li(n)}function ss(n){return null!=n&&"string"==typeof n}function _s(n){return n instanceof Error}function us(n){return null!=n&&ci(n)}function os(n){return null!=n&&$i(n)}function hs(n){return null!=n&&vi(n)}function as(n){return null!=n&&wi(n)}function ls(n){return null!=n&&pi(n)}function fs(n){return null!=n&&ki(n)}function cs(n){return null!=n&&di(n)}function vs(n){return null!=n&&gi(n)}function ws(){L=this;var n=Object;this.anyClass=new Ur(n,"Any",Xr);var t=Number;this.numberClass=new Ur(t,"Number",Qr),this.nothingClass=Pr();var i=Boolean;this.booleanClass=new Ur(i,"Boolean",Zr);var e=Number;this.byteClass=new Ur(e,"Byte",Jr);var r=Number;this.shortClass=new Ur(r,"Short",ns);var s=Number;this.intClass=new Ur(s,"Int",ts);var _=Number;this.floatClass=new Ur(_,"Float",is);var u=Number;this.doubleClass=new Ur(u,"Double",es);var o=Array;this.arrayClass=new Ur(o,"Array",rs);var h=String;this.stringClass=new Ur(h,"String",ss);var a=Error;this.throwableClass=new Ur(a,"Throwable",_s);var l=Array;this.booleanArrayClass=new Ur(l,"BooleanArray",us);var f=Uint16Array;this.charArrayClass=new Ur(f,"CharArray",os);var c=Int8Array;this.byteArrayClass=new Ur(c,"ByteArray",hs);var v=Int16Array;this.shortArrayClass=new Ur(v,"ShortArray",as);var w=Int32Array;this.intArrayClass=new Ur(w,"IntArray",ls);var $=Array;this.longArrayClass=new Ur($,"LongArray",fs);var p=Float32Array;this.floatArrayClass=new Ur(p,"FloatArray",cs);var d=Float64Array;this.doubleArrayClass=new Ur(d,"DoubleArray",vs)}function $s(){return null==L&&new ws,L}function ps(n){return Array.isArray(n)?function(n){var t;switch(n.length){case 1:t=ds(n[0]);break;case 0:t=Pr();break;default:t=new Wr}return t}(n):ds(n)}function ds(n){if(n===String)return $s().stringClass;var t,i=n.$metadata$;if(null!=i){var e;if(null==i.$kClass$){var r=new Hr(n);i.$kClass$=r,e=r}else e=i.$kClass$;t=e}else t=new Hr(n);return t}function ks(n){return gs(t=$t(xt(bs))),t;var t}function gs(n){return bs.call(n,""),n}function ms(){return gs($t(xt(bs)))}function bs(n){this.a6_1=n}function xs(n){var t=Rn(n).toUpperCase();return t.length>1?n:rt(t,0)}function qs(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 ys(n){if(!(2<=n&&n<=36))throw hr("radix "+n+" was not in valid range 2..36");return n}function js(n,t){var i,e,r,s=zn(n,48)>=0&&zn(n,57)<=0?En(n,48):zn(n,65)>=0&&zn(n,90)<=0?En(n,65)+10|0:zn(n,97)>=0&&zn(n,122)<=0?En(n,97)+10|0:zn(n,128)<0?-1:zn(n,65313)>=0&&zn(n,65338)<=0?En(n,65313)+10|0:zn(n,65345)>=0&&zn(n,65370)<=0?En(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 Cs(n){this.d9_1=n}function Ss(n,t){return zs(),function(n,t,i){if(i=i!==m&&i,zs(),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===rt(t,J_(t)-(s-1|0)|0);)s=s-1|0;return function(n,t){if(!(t>=0))throw hr(pt("Requested character count "+t+" is less than zero."));return Cn(n,mn(n.length-t|0,0))}(t,s)+"... and "+(e-1|0)+" more common stack frames skipped"}(t,_,o),_t(i)>0){var h;if(0===o)h=0;else{for(var a=0,l=0;l<_t(r);){var f=rt(r,l);l=l+1|0,10===f&&(a=a+1|0)}h=1+a|0}for(var c=h,v=0,w=lu(_).g();w.h();){var $=w.i(),p=v;v=p+1|0,Ti(p)>=c&&t.f9_1.c6(i),t.f9_1.c6($).c6("\n")}}else t.f9_1.c6(_).c6("\n")}else t.f9_1.c6(r).c6("\n");var d=function(n){var t=n._suppressed,i=null==t?null:t;return null==i?s_():i}(n);if(!d.l())for(var k=i+" ",g=d.g();g.h();)Rs(g.i(),t,k,"Suppressed: ");return!0}function Is(){this.f9_1=ms(),this.g9_1=[],this.h9_1="",this.i9_1=0}function Ts(){}function Ns(n){this.l9_1=n,this.k9_1=0}function Ms(){this.i2_1=2147483639}function Bs(){Ts.call(this)}function Os(n){this.m9_1=n}function Ds(n,t){return t===n?"(this Map)":Fn(t)}function Fs(n,t){var i;n:{for(var e=n.q().g();e.h();){var r=e.i();if(dt(r.r(),t)){i=r;break n}}i=null}return i}function Vs(){}function Gs(n){this.n9_1=n,Hs.call(this)}function Ps(n){return function(t){return Ds(i=n,(e=t).r())+"="+Ds(i,e.s());var i,e}}function Ws(){this.o3_1=null,this.p3_1=null}function Us(){}function Hs(){Ts.call(this)}function Ks(){return n=$t(xt(r_)),Fi.call(n),r_.call(n),n.q9_1=e_().s9_1,n;var n}function Ys(n,t){if(t<0)throw lr("Deque is too big.");if(t<=n.q9_1.length)return x;if(n.q9_1===e_().s9_1){var i=n,e=mn(t,10);return i.q9_1=Un(Array(e),null),x}!function(n,t){var i=Un(Array(t),null);Mi(n.q9_1,i,0,n.p9_1,n.q9_1.length),Mi(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,N.f5(n.q9_1.length,t))}function Xs(n,t){return t>=n.q9_1.length?t-n.q9_1.length|0:t}function Qs(n,t){return t<0?t+n.q9_1.length|0:t}function Zs(n,t){return t===hn(n.q9_1)?0:t+1|0}function Js(n,t){return 0===t?hn(n.q9_1):t-1|0}function n_(n,t,i){t=0?i:i+t|0}function N_(){H=this,B_.call(this),this.bb_1=(Dr(),O_(Math.random()*Math.pow(2,32)|0))}function M_(){return null==H&&new N_,H}function B_(){M_()}function O_(n){return function(n,t,i){return F_.call(i,n,t,0,0,~n,n<<10^t>>>4),i}(n,n>>31,$t(xt(F_)))}function D_(){K=this,this.eb_1=new Gn(0,0)}function F_(n,t,i,e,r,s){if(null==K&&new D_,B_.call(this),this.fb_1=n,this.gb_1=t,this.hb_1=i,this.ib_1=e,this.jb_1=r,this.kb_1=s,!(this.fb_1|this.gb_1|this.hb_1|this.ib_1|this.jb_1))throw hr(pt("Initial state must have at least one non-zero element."));var _=0;if(_<64)do{_=_+1|0,this.ra()}while(_<64)}function V_(){Y=this,this.t_1=new P_(1,0)}function G_(){return null==Y&&new V_,Y}function P_(n,t){G_(),H_.call(this,n,t,1)}function W_(n,t,i){m_.call(this),this.tb_1=i,this.ub_1=t,this.vb_1=this.tb_1>0?n<=t:n>=t,this.wb_1=this.vb_1?n:this.ub_1}function U_(){}function H_(n,t,i){if(0===i)throw hr("Step must be non-zero.");if(-2147483648===i)throw hr("Step must be greater than Int.MIN_VALUE to avoid overflow on negation.");this.pb_1=n,this.qb_1=function(n,t,i){var e;if(i>0)e=n>=t?t:t-I_(t,n,i)|0;else{if(!(i<0))throw hr("Step is zero.");e=n<=t?t:t+I_(n,t,0|-i)|0}return e}(n,t,i),this.rb_1=i}function K_(n,t,i){var e;null!=i?n.f(i(t)):null==t||("string"==typeof(e=t)||ai(e,rn))?n.f(t):t instanceof Ln?n.d6(t.xb_1):n.f(pt(t))}function Y_(n,t,i){if(n===t)return!0;if(!(i=i!==m&&i))return!1;var e=xs(n),r=xs(t);return e===r||rt(Rn(e).toLowerCase(),0)===rt(Rn(r).toLowerCase(),0)}function X_(n){return 0===_t(n)?Z_:(t=n,function(n){return t+n});var t}function Q_(n){var t;n:{var i=0,e=_t(n)-1|0;if(i<=e)do{var r=i;if(i=i+1|0,!qs(rt(n,r))){t=r;break n}}while(i<=e);t=-1}var s=t;return-1===s?n.length:s}function Z_(n){return n}function J_(n){return _t(n)-1|0}function nu(n){var t;n:{for(var i=0;i<_t(n);){var e=rt(n,i);if(i=i+1|0,!qs(e)){t=!1;break n}}t=!0}return t}function tu(n,t){return pt(ut(n,t.ob(),t.sb()+1|0))}function iu(n){if(!(n>=0))throw hr(pt("Limit must be non-negative, but was "+n))}function eu(n,t,i,e){return i=i===m?0:i,(e=e!==m&&e)||"string"!=typeof n?uu(n,t,i,_t(n),e):n.indexOf(t,i)}function ru(n){if(n.ac_1<0)n.yb_1=0,n.bc_1=null;else{var t;if(n.dc_1.gc_1>0?(n.cc_1=n.cc_1+1|0,t=n.cc_1>=n.dc_1.gc_1):t=!1,t||n.ac_1>_t(n.dc_1.ec_1))n.bc_1=si(n.zb_1,J_(n.dc_1.ec_1)),n.ac_1=-1;else{var i=n.dc_1.hc_1(n.dc_1.ec_1,n.ac_1);if(null==i)n.bc_1=si(n.zb_1,J_(n.dc_1.ec_1)),n.ac_1=-1;else{var e=i.pa(),r=i.qa();n.bc_1=gn(n.zb_1,e),n.zb_1=e+r|0,n.ac_1=n.zb_1+(0===r?1:0)|0}}n.yb_1=1}}function su(n){this.dc_1=n,this.yb_1=-1,this.zb_1=function(n,t,i){if(t>i)throw hr("Cannot coerce value to an empty range: maximum "+i+" is less than minimum "+t+".");return ni?i:n}(n.fc_1,0,_t(n.ec_1)),this.ac_1=this.zb_1,this.bc_1=null,this.cc_1=0}function _u(n,t,i,e){this.ec_1=n,this.fc_1=t,this.gc_1=i,this.hc_1=e}function uu(n,t,i,e,r,s){var _=(s=s!==m&&s)?bn(xn(i,J_(n)),mn(e,0)):si(mn(i,0),xn(e,_t(n)));if("string"==typeof n&&"string"==typeof t){var u=_.pb_1,o=_.qb_1,h=_.rb_1;if(h>0&&u<=o||h<0&&o<=u)do{var a=u;if(u=u+h|0,Es(t,0,n,a,t.length,r))return a}while(a!==o)}else{var l=_.pb_1,f=_.qb_1,c=_.rb_1;if(c>0&&l<=f||c<0&&f<=l)do{var v=l;if(l=l+c|0,hu(t,0,n,v,_t(t),r))return v}while(v!==f)}return-1}function ou(n,t,i,e){return i=i===m?J_(n):i,(e=e!==m&&e)||"string"!=typeof n?uu(n,t,i,0,e,!0):n.lastIndexOf(t,i)}function hu(n,t,i,e,r,s){if(e<0||t<0||t>(_t(n)-r|0)||e>(_t(i)-r|0))return!1;var _=0;if(_>>i|n.j1_1<<32-i,n.j1_1>>>i|0):new Gn(32===i?n.j1_1:n.j1_1>>>(i-32|0)|0,0)}(this,n)},xt(Gn).u1=function(n){return new Gn(this.i1_1&n.i1_1,this.j1_1&n.j1_1)},xt(Gn).v1=function(n){return new Gn(this.i1_1^n.i1_1,this.j1_1^n.j1_1)},xt(Gn).q1=function(){return new Gn(~this.i1_1,~this.j1_1)},xt(Gn).w1=function(){return this.i1_1},xt(Gn).x1=function(){return Bt(this)},xt(Gn).toString=function(){return Ot(this,10)},xt(Gn).equals=function(n){return n instanceof Gn&&Dt(this,n)},xt(Gn).hashCode=function(){return n=this,Xt(),n.i1_1^n.j1_1;var n},xt(Gn).valueOf=function(){return this.x1()},xt(Yn).h=function(){return!(this.z1_1===this.a2_1.length)},xt(Yn).i=function(){if(this.z1_1===this.a2_1.length)throw mr(""+this.z1_1);var n=this.z1_1;return this.z1_1=n+1|0,this.a2_1[n]},xt(ri).b2=function(){return this.MIN_VALUE},xt(ri).c2=function(){return this.MAX_VALUE},xt(ri).d2=function(){return this.POSITIVE_INFINITY},xt(ri).e2=function(){return this.NEGATIVE_INFINITY},xt(ri).f2=function(){return this.NaN},xt(ri).g2=function(){return this.SIZE_BYTES},xt(ri).h2=function(){return this.SIZE_BITS},xt(Si).j=function(){return this.m2_1.length},xt(Si).k=function(n){if(!(0<=n&&n<=h_(this)))throw qr("index "+n+" is not in range [0.."+h_(this)+"]");return this.m2_1.item(n)},xt(Ei).toString=function(){return"kotlin.Unit"},xt(Bi).n2=function(n){this.o2();for(var t=this.g();t.h();)if(dt(t.i(),n))return t.p2(),!0;return!1},xt(Bi).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},xt(Bi).toJSON=function(){return this.toArray()},xt(Bi).o2=function(){},xt(Oi).h=function(){return this.q2_1=0},xt(Fi).d3=function(n){var t;n:{for(var i=0,e=this.g();e.h();){if(dt(e.i(),n)){t=i;break n}i=i+1|0}t=-1}return t},xt(Fi).e3=function(n){return new Di(this,n)},xt(Fi).c3=function(n,t){var i=this.e3(n),e=t-n|0,r=0;if(r=this.k5_1.x4_1)throw gr();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},xt(Oe).i=function(){if(this.p5(),this.l5_1>=this.k5_1.x4_1)throw gr();var n=this.l5_1;this.l5_1=n+1|0,this.m5_1=n;var t=new De(this.k5_1,this.m5_1);return this.o5(),t},xt(Oe).y5=function(){if(this.l5_1>=this.k5_1.x4_1)throw gr();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:kt(t),e=null==i?0:i,r=yt(this.k5_1.t4_1)[this.m5_1],s=null==r?null:kt(r),_=e^(null==s?0:s);return this.o5(),_},xt(Oe).z5=function(n){if(this.l5_1>=this.k5_1.x4_1)throw gr();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];dt(i,this.k5_1)?n.c6("(this Map)"):n.b6(i),n.d6(61);var e=yt(this.k5_1.t4_1)[this.m5_1];dt(e,this.k5_1)?n.c6("(this Map)"):n.b6(e),this.o5()},xt(De).r=function(){return ke(this),this.c5_1.s4_1[this.d5_1]},xt(De).s=function(){return ke(this),yt(this.c5_1.t4_1)[this.d5_1]},xt(De).equals=function(n){return!(null==n||!ai(n,Mn)||!dt(n.r(),this.r()))&&dt(n.s(),this.s())},xt(De).hashCode=function(){var n=this.r(),t=null==n?null:kt(n),i=null==t?0:t,e=this.s(),r=null==e?null:kt(e);return i^(null==r?0:r)},xt(De).toString=function(){return Fn(this.r())+"="+Fn(this.s())},xt(Fe).j=function(){return this.a5_1},xt(Fe).z=function(n){var t=Re(this,n);return t<0?null:yt(this.t4_1)[t]},xt(Fe).c4=function(n){return Re(this,n)>=0},xt(Fe).m3=function(n,t){var i=Le(this,n),e=Ce(this);if(i<0){var r=e[(0|-i)-1|0];return e[(0|-i)-1|0]=t,r}return e[i]=t,null},xt(Fe).d4=function(n){this.g4(),function(n,t){if(t.l())return!1;je(n,t.j());for(var i=t.g(),e=!1;i.h();)Te(n,i.i())&&(e=!0)}(this,n.q())},xt(Fe).n3=function(n){this.g4();var t=Re(this,n);if(t<0)return null;var i=yt(this.t4_1)[t];return Ie(this,t),i},xt(Fe).equals=function(n){return n===this||!(null==n||!ai(n,Bn))&&function(n,t){return n.a5_1===t.j()&&n.n4(t.q())}(this,n)},xt(Fe).hashCode=function(){for(var n=0,t=this.j4();t.h();)n=n+t.y5()|0;return n},xt(Fe).toString=function(){var n=ks(nn(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()},xt(Fe).g4=function(){if(this.b5_1)throw cr()},xt(Fe).m4=function(n){var t=Re(this,n.r());return!(t<0)&&dt(yt(this.t4_1)[t],n.s())},xt(Fe).e6=function(n){return this.m4(ai(n,Mn)?n:jt())},xt(Fe).f4=function(){return new Be(this)},xt(Fe).j4=function(){return new Oe(this)},xt(Ue).o2=function(){return this.a4_1.g4()},xt(Ke).o2=function(){return this.r4_1.g4()},xt(Ye).m6=function(){this.n6("\n")},xt(Ye).o6=function(n){this.n6(n),this.m6()},xt(Xe).n6=function(n){var t=null==n?null:pt(n),i=null==t?"null":t;this.p6_1.write(i)},xt(Qe).n6=function(n){var t=null==n?null:pt(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},xt(Qe).s6=function(){console.log(this.r6_1),this.r6_1=""},xt(Ze).n6=function(n){var t=this.r6_1,i=null==n?null:pt(n);this.r6_1=t+(null==i?"null":i)},xt(nr).b7=function(){return yt(this.a7_1)},xt(nr).c7=function(n){var t,i=this;if(n instanceof ku)t=null;else{t=null==n||null!=n?n:jt()}for(var e=t,r=function(n){return n instanceof ku?n.uc_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(_===R_())return x;e=_,r=null}catch(n){e=null,r=n}s.f7();var u=yt(s.u6_1);if(!(u instanceof nr)){if(null!=r){var o=new ku(yt(r));u.g7(o)}else{var h=e;u.g7(h)}return x}i=u}},xt(nr).g7=function(n){return this.c7(n)},xt(tr).b7=function(){throw lr(pt("This continuation is already complete"))},xt(tr).c7=function(n){throw lr(pt("This continuation is already complete"))},xt(tr).g7=function(n){return this.c7(n)},xt(tr).toString=function(){return"This continuation is already complete"},xt(ir).h7=function(){var n,t=this.e7_1;if(null==t){var i=this.b7().i7(G),e=null==i?null:i.j7(this),r=null==e?this:e;this.e7_1=r,n=r}else n=t;return n},xt(ir).f7=function(){var n=this.e7_1;null!=n&&n!==this&&yt(this.b7().i7(G)).k7(n),this.e7_1=C},xt(er).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)},xt(Vr).a8=function(){return this.z7_1},xt(Vr).equals=function(n){return!(n instanceof Gr)&&!(n instanceof Wr)&&n instanceof Vr&&dt(this.a8(),n.a8())},xt(Vr).hashCode=function(){var n=this.y7(),t=null==n?null:mt(n);return null==t?0:t},xt(Vr).toString=function(){return"class "+this.y7()},xt(Gr).y7=function(){return this.c8_1},xt(Gr).a8=function(){throw vr("There's no native JS class for Nothing type")},xt(Gr).equals=function(n){return n===this},xt(Gr).hashCode=function(){return 0},xt(Wr).y7=function(){throw lr(pt("Unknown simpleName for ErrorKClass"))},xt(Wr).equals=function(n){return n===this},xt(Wr).hashCode=function(){return 0},xt(Ur).equals=function(n){return n instanceof Ur&&xt(Vr).equals.call(this,n)&&this.e8_1===n.e8_1},xt(Ur).y7=function(){return this.e8_1},xt(Hr).y7=function(){return this.h8_1},xt(ws).i8=function(){return this.anyClass},xt(ws).j8=function(){return this.numberClass},xt(ws).k8=function(){return this.nothingClass},xt(ws).l8=function(){return this.booleanClass},xt(ws).m8=function(){return this.byteClass},xt(ws).n8=function(){return this.shortClass},xt(ws).o8=function(){return this.intClass},xt(ws).p8=function(){return this.floatClass},xt(ws).q8=function(){return this.doubleClass},xt(ws).r8=function(){return this.arrayClass},xt(ws).s8=function(){return this.stringClass},xt(ws).t8=function(){return this.throwableClass},xt(ws).u8=function(){return this.booleanArrayClass},xt(ws).v8=function(){return this.charArrayClass},xt(ws).w8=function(){return this.byteArrayClass},xt(ws).x8=function(){return this.shortArrayClass},xt(ws).y8=function(){return this.intArrayClass},xt(ws).z8=function(){return this.longArrayClass},xt(ws).a9=function(){return this.floatArrayClass},xt(ws).b9=function(){return this.doubleArrayClass},xt(ws).functionClass=function(n){var t,i,e=Yr()[n];if(null==e){var r=new Ur(Function,"Function"+n,(i=n,function(n){return"function"==typeof n&&n.length===i}));Yr()[n]=r,t=r}else t=e;return t},xt(bs).a=function(){return this.a6_1.length},xt(bs).b=function(n){var t=this.a6_1;if(!(0<=n&&n<=(_t(t)-1|0)))throw qr("index: "+n+", length: "+this.a()+"}");return rt(t,n)},xt(bs).c=function(n,t){return this.a6_1.substring(n,t)},xt(bs).d6=function(n){return this.a6_1=this.a6_1+Rn(n),this},xt(bs).f=function(n){return this.a6_1=this.a6_1+Fn(n),this},xt(bs).b6=function(n){return this.a6_1=this.a6_1+Fn(n),this},xt(bs).c9=function(n){return this.c6(n.toString())},xt(bs).c6=function(n){var t=this.a6_1;return this.a6_1=t+(null==n?"null":n),this},xt(bs).toString=function(){return this.a6_1},xt(Cs).e9=function(n,t){return this.d9_1(n,t)},xt(Cs).compare=function(n,t){return this.e9(n,t)},xt(Cs).y1=function(){return this.d9_1},xt(Cs).equals=function(n){return!(null==n||!ai(n,Ci))&&!(null==n||!ai(n,Wn))&&dt(this.y1(),n.y1())},xt(Cs).hashCode=function(){return kt(this.y1())},xt(Is).j9=function(n){return Rs(n,this,"",""),this.f9_1.toString()},xt(Ts).w=function(n){var t;n:if(ai(this,Tn)&&this.l())t=!1;else{for(var i=this.g();i.h();)if(dt(i.i(),n)){t=!0;break n}t=!1}return t},xt(Ts).x=function(n){var t;n:if(ai(n,Tn)&&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},xt(Ts).l=function(){return 0===this.j()},xt(Ts).toString=function(){return ln(this,", ","[","]",m,m,(n=this,function(t){return t===n?"(this Collection)":Fn(t)}));var n},xt(Ts).toArray=function(){return Ai(this)},xt(Ns).h=function(){return this.k9_1=t)throw qr("index: "+n+", size: "+t)},xt(Ms).z2=function(n,t){if(n<0||n>t)throw qr("index: "+n+", size: "+t)},xt(Ms).j2=function(n,t,i){if(n<0||t>i)throw qr("fromIndex: "+n+", toIndex: "+t+", size: "+i);if(n>t)throw hr("fromIndex: "+n+" > toIndex: "+t)},xt(Ms).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},xt(Ms).g3=function(n){for(var t=1,i=n.g();i.h();){var e=i.i(),r=nn(31,t),s=null==e?null:kt(e);t=r+(null==s?0:s)|0}return t},xt(Ms).f3=function(n,t){if(n.j()!==t.j())return!1;for(var i=t.g(),e=n.g();e.h();)if(!dt(e.i(),i.i()))return!1;return!0},xt(Bs).g=function(){return new Ns(this)},xt(Bs).equals=function(n){return n===this||!(null==n||!ai(n,In))&&N.f3(this,n)},xt(Bs).hashCode=function(){return N.g3(this)},xt(Os).h=function(){return this.m9_1.h()},xt(Os).i=function(){return this.m9_1.i().r()},xt(Gs).c4=function(n){return this.n9_1.y(n)},xt(Gs).w=function(n){return(null==n||null!=n)&&this.c4(null==n||null!=n?n:jt())},xt(Gs).g=function(){return new Os(this.n9_1.q().g())},xt(Gs).j=function(){return this.n9_1.j()},xt(Ws).y=function(n){return!(null==Fs(this,n))},xt(Ws).q3=function(n){if(null==n||!ai(n,Mn))return!1;var t=n.r(),i=n.s(),e=(ai(this,Bn)?this:jt()).z(t);return!(!dt(i,e)||null==e&&!(ai(this,Bn)?this:jt()).y(t))},xt(Ws).equals=function(n){if(n===this)return!0;if(null==n||!ai(n,Bn))return!1;if(this.j()!==n.j())return!1;var t,i=n.q();n:if(ai(i,Tn)&&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},xt(Ws).z=function(n){var t=Fs(this,n);return null==t?null:t.s()},xt(Ws).hashCode=function(){return kt(this.q())},xt(Ws).l=function(){return 0===this.j()},xt(Ws).j=function(){return this.q().j()},xt(Ws).a1=function(){return null==this.o3_1&&(this.o3_1=new Gs(this)),yt(this.o3_1)},xt(Ws).toString=function(){return ln(this.q(),", ","{","}",m,m,Ps(this))},xt(Us).s3=function(n){for(var t=0,i=n.g();i.h();){var e=i.i(),r=t,s=null==e?null:kt(e);t=r+(null==s?0:s)|0}return t},xt(Us).r3=function(n,t){return n.j()===t.j()&&n.x(t)},xt(Hs).equals=function(n){return n===this||!(null==n||!ai(n,Nn))&&M.r3(this,n)},xt(Hs).hashCode=function(){return M.s3(this)},xt(r_).j=function(){return this.r9_1},xt(r_).l=function(){return 0===this.r9_1},xt(r_).u9=function(){if(this.l())throw mr("ArrayDeque is empty.");var n=this.p9_1,t=this.q9_1[n];return null==t||null!=t?t:jt()},xt(r_).v9=function(){if(this.l())throw mr("ArrayDeque is empty.");var n=h_(this),t=Xs(this,this.p9_1+n|0),i=this.q9_1[t];return null==i||null!=i?i:jt()},xt(r_).w9=function(n){t_(this),Ys(this,this.r9_1+1|0),this.p9_1=Js(this,this.p9_1),this.q9_1[this.p9_1]=n,this.r9_1=this.r9_1+1|0},xt(r_).x9=function(n){t_(this),Ys(this,this.r9_1+1|0);var t=this.q9_1,i=this.r9_1;t[Xs(this,this.p9_1+i|0)]=n,this.r9_1=this.r9_1+1|0},xt(r_).y9=function(){if(this.l())throw mr("ArrayDeque is empty.");t_(this);var n=this.p9_1,t=this.q9_1[n],i=null==t||null!=t?t:jt();return this.q9_1[this.p9_1]=null,this.p9_1=Zs(this,this.p9_1),this.r9_1=this.r9_1-1|0,i},xt(r_).z9=function(){if(this.l())throw mr("ArrayDeque is empty.");t_(this);var n=h_(this),t=Xs(this,this.p9_1+n|0),i=this.q9_1[t],e=null==i||null!=i?i:jt();return this.q9_1[t]=null,this.r9_1=this.r9_1-1|0,e},xt(r_).e=function(n){return this.x9(n),!0},xt(r_).a3=function(n,t){if(N.z2(n,this.r9_1),n===this.r9_1)return this.x9(t),x;if(0===n)return this.w9(t),x;t_(this),Ys(this,this.r9_1+1|0);var i=Xs(this,this.p9_1+n|0);if(n>1){var e=Js(this,i),r=Js(this,this.p9_1);e>=this.p9_1?(this.q9_1[r]=this.q9_1[this.p9_1],Mi(this.q9_1,this.q9_1,this.p9_1,this.p9_1+1|0,e+1|0)):(Mi(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],Mi(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,_=Xs(this,this.p9_1+s|0);i<_?Mi(this.q9_1,this.q9_1,i+1|0,i,_):(Mi(this.q9_1,this.q9_1,1,0,_),this.q9_1[0]=this.q9_1[this.q9_1.length-1|0],Mi(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},xt(r_).p=function(n){if(n.l())return!1;t_(this),Ys(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,dt(n,this.q9_1[u]))return u-this.p9_1|0}while(s<_);var o=0;if(o>1)t>=this.p9_1?Mi(this.q9_1,this.q9_1,this.p9_1+1|0,this.p9_1,t):(Mi(this.q9_1,this.q9_1,1,0,t),this.q9_1[0]=this.q9_1[this.q9_1.length-1|0],Mi(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=Zs(this,this.p9_1);else{var r=h_(this),s=Xs(this,this.p9_1+r|0);t<=s?Mi(this.q9_1,this.q9_1,t,t+1|0,s+1|0):(Mi(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],Mi(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},xt(r_).b3=function(){if(!this.l()){t_(this);var n=this.r9_1,t=Xs(this,this.p9_1+n|0);n_(this,this.p9_1,t)}this.p9_1=0,this.r9_1=0},xt(r_).aa=function(n){var t,i=n.length>=this.r9_1?n:(t=this.r9_1,Un(Array(t),null)),e=li(i)?i:jt(),r=this.r9_1,s=Xs(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);Mi(n.q9_1,n.q9_1,1+(_-l|0)|0,1+(r-l|0)|0,r+1|0),r=Qs(n,r-l|0),_=Qs(n,_-l|0),u=u-l|0}}(this,n,t);var e=Xs(this,this.p9_1+i|0);n_(this,this.p9_1,e),this.p9_1=e}else{!function(n,t,i){for(var e=Xs(n,n.p9_1+i|0),r=Xs(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);Mi(n.q9_1,n.q9_1,r,e,e+h|0),e=Xs(n,e+h|0),r=Xs(n,r+h|0),s=s-h|0}}(this,n,t);var r=this.r9_1,s=Xs(this,this.p9_1+r|0);n_(this,Qs(this,s-i|0),s)}this.r9_1=this.r9_1-i|0},xt(__).equals=function(n){return!(null==n||!ai(n,In))&&n.l()},xt(__).hashCode=function(){return 1},xt(__).toString=function(){return"[]"},xt(__).j=function(){return 0},xt(__).l=function(){return!0},xt(__).k=function(n){throw qr("Empty list doesn't contain element at index "+n+".")},xt(__).g=function(){return D},xt(u_).h=function(){return!1},xt(u_).i=function(){throw gr()},xt(a_).j=function(){return this.ca_1.length},xt(a_).l=function(){return 0===this.ca_1.length},xt(a_).g=function(){return Hn(this.ca_1)},xt(l_).toString=function(){return"IndexedValue(index="+this.ea_1+", value="+Fn(this.fa_1)+")"},xt(l_).hashCode=function(){var n=this.ea_1;return nn(n,31)+(null==this.fa_1?0:kt(this.fa_1))|0},xt(l_).equals=function(n){if(this===n)return!0;if(!(n instanceof l_))return!1;var t=n instanceof l_?n:jt();return this.ea_1===t.ea_1&&!!dt(this.fa_1,t.fa_1)},xt(c_).g=function(){return new v_(this.ga_1())},xt(v_).h=function(){return this.ha_1.h()},xt(v_).i=function(){var n=this.ia_1;return this.ia_1=n+1|0,new l_(Ti(n),this.ha_1.i())},xt(p_).equals=function(n){return!(null==n||!ai(n,Bn))&&n.l()},xt(p_).hashCode=function(){return 0},xt(p_).toString=function(){return"{}"},xt(p_).j=function(){return 0},xt(p_).l=function(){return!0},xt(p_).la=function(n){return!1},xt(p_).y=function(n){return(null==n||null!=n)&&this.la(null==n||null!=n?n:jt())},xt(p_).ma=function(n){return null},xt(p_).z=function(n){return null!=n&&null==n?null:this.ma(null==n||null!=n?n:jt())},xt(p_).q=function(){return j_()},xt(p_).a1=function(){return j_()},xt(m_).i=function(){return this.ra()},xt(b_).i=function(){return this.ta_1.va_1(this.sa_1.i())},xt(b_).h=function(){return this.sa_1.h()},xt(x_).g=function(){return new b_(this)},xt(y_).equals=function(n){return!(null==n||!ai(n,Nn))&&n.l()},xt(y_).hashCode=function(){return 0},xt(y_).toString=function(){return"[]"},xt(y_).j=function(){return 0},xt(y_).l=function(){return!0},xt(y_).xa=function(n){return!1},xt(y_).w=function(n){return!1},xt(y_).ya=function(n){return n.l()},xt(y_).x=function(n){return this.ya(n)},xt(y_).g=function(){return D},xt(S_).e9=function(n,t){return this.za_1(n,t)},xt(S_).compare=function(n,t){return this.e9(n,t)},xt(S_).y1=function(){return this.za_1},xt(S_).equals=function(n){return!(null==n||!ai(n,Ci))&&!(null==n||!ai(n,Wn))&&dt(this.y1(),n.y1())},xt(S_).hashCode=function(){return kt(this.y1())},xt(A_).i7=function(n){return null},xt(A_).hashCode=function(){return 0},xt(A_).toString=function(){return"EmptyCoroutineContext"},xt(N_).cb=function(n){return this.bb_1.cb(n)},xt(N_).db=function(){return this.bb_1.db()},xt(B_).db=function(){return Or(this.cb(26),this.cb(27))},xt(F_).ra=function(){var n=this.fb_1;n^=n>>>2,this.fb_1=this.gb_1,this.gb_1=this.hb_1,this.hb_1=this.ib_1;var t=this.jb_1;return this.ib_1=t,n=n^n<<1^t^t<<4,this.jb_1=n,this.kb_1=this.kb_1+362437|0,n+this.kb_1|0},xt(F_).cb=function(n){return function(n,t){return n>>>(32-t|0)&-t>>31}(this.ra(),n)},xt(P_).ob=function(){return this.pb_1},xt(P_).sb=function(){return this.qb_1},xt(P_).l=function(){return this.pb_1>this.qb_1},xt(P_).equals=function(n){return n instanceof P_&&(this.l()&&n.l()||this.pb_1===n.pb_1&&this.qb_1===n.qb_1)},xt(P_).hashCode=function(){return this.l()?-1:nn(31,this.pb_1)+this.qb_1|0},xt(P_).toString=function(){return this.pb_1+".."+this.qb_1},xt(W_).h=function(){return this.vb_1},xt(W_).ra=function(){var n=this.wb_1;if(n===this.ub_1){if(!this.vb_1)throw gr();this.vb_1=!1}else this.wb_1=this.wb_1+this.tb_1|0;return n},xt(U_).u=function(n,t,i){return new H_(n,t,i)},xt(H_).g=function(){return new W_(this.pb_1,this.qb_1,this.rb_1)},xt(H_).l=function(){return this.rb_1>0?this.pb_1>this.qb_1:this.pb_10?this.pb_1+".."+this.qb_1+" step "+this.rb_1:this.pb_1+" downTo "+this.qb_1+" step "+(0|-this.rb_1)},xt(su).i=function(){if(-1===this.yb_1&&ru(this),0===this.yb_1)throw gr();var n=this.bc_1,t=n instanceof P_?n:jt();return this.bc_1=null,this.yb_1=-1,t},xt(su).h=function(){return-1===this.yb_1&&ru(this),1===this.yb_1},xt(_u).g=function(){return new su(this)},xt(cu).h=function(){if(0!==this.mc_1)return 1===this.mc_1;if(this.pc_1<0)return this.mc_1=2,!1;var n=-1,t=_t(this.lc_1),i=this.nc_1,e=_t(this.lc_1);if(i=0))throw hr(pt("Requested element count "+t+" is less than zero."));return function(n,t){if(!(t>=0))throw hr(pt("Requested element count "+t+" is less than zero."));if(0===t)return s_();if(ai(n,Tn)){if(t>=n.j())return wn(n);if(1===t)return Ri(cn(n))}var i=0,e=Xi(t),r=n.g();n:for(;r.h();){var s=r.i();if(e.e(s),(i=i+1|0)===t)break n}return o_(e)}(n,mn(n.j()-t|0,0))},n.$_$.n1=s_,n.$_$.o1=$_,n.$_$.p1=q_,n.$_$.q1=function(n){return function(n,t){for(var i=0,e=n.length;i0?xi(n):s_()},n.$_$.e2=Li,n.$_$.f2=function(n){return n.length>0?(t=n,k_(i=Pe(n.length),t),i):$_();var t,i},n.$_$.g2=function(n,t){var i=We(n);return i.d4(t),i},n.$_$.h2=function(n,t){if(ai(t,Tn)){var i=Xi(n.j()+t.j()|0);return i.p(n),i.p(t),i}var e=Qi(n);return g_(e,t),e},n.$_$.i2=function(n){if(ai(n,Tn)&&n.j()<=1)return wn(n);var t=$n(n);return function(n){var t=(n.j()/2|0)-1|0;if(t<0)return x;var i=h_(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.$_$.j2=function(n){return un(n)},n.$_$.k2=function(n){n.sort(void 0)},n.$_$.l2=function(n){for(var t=Kn(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.$_$.m2=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.$_$.n2=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.$_$.o2=function(n){return vn(n,we(f_(n,12)))},n.$_$.p2=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.$_$.q2=function(n){if(0===n.j())return s_();var t=n.q().g();if(!t.h())return s_();var i=t.i();if(!t.h())return Ri(new mu(i.r(),i.s()));var e=Xi(n.j()),r=new mu(i.r(),i.s());e.e(r);do{var s=t.i(),_=new mu(s.r(),s.s());e.e(_)}while(t.h());return e},n.$_$.r2=function(n){switch(n.length){case 0:return s_();case 1:return Ri(n[0]);default:return function(n){return Qi(function(n){return new a_(n,!1)}(n))}(n)}},n.$_$.s2=function(n){if(ai(n,Tn)){var t;switch(n.j()){case 0:t=$_();break;case 1:t=Ii(ai(n,In)?n.k(0):n.g().i());break;default:t=d_(n,Pe(n.j()))}return t}return function(n){return 0===n.j()?$_():n}(d_(n,Ge()))},n.$_$.t2=function(n){return[].slice.call(n)},n.$_$.u2=function(n){return new c_((t=n,function(){return Hn(t)}));var t},n.$_$.v2=function(n){var t,i=n.g();if(i.h()){for(var e=Yi(),r=i.i();i.h();){var s=i.i(),_=bu(r,s);e.e(_),r=s}t=e}else t=s_();return t},n.$_$.w2=function(n){if(!(n.length>0))throw hr(pt("Failed requirement."));return new S_((t=n,function(n,i){return function(n,t,i){for(var e=0,r=i.length;e=0:uu(n,t,0,_t(n),i)>=0},n.$_$.l4=function(n,t){var i=function(n,t){ys(t);var i=js(n,t);return i>=0?i:null}(n,t);if(null==i)throw hr("Char "+Rn(n)+" is not a digit in the given radix="+t);return i},n.$_$.m4=jn,n.$_$.n4=nu,n.$_$.o4=function(n,t){return t=t===m?" ":t,qn(function(n,t){return new x_(n,t)}(lu(n),(i=t,function(n){return nu(n)?n.length0,u=Xi(_?xn(e,10):10);n:do{var o=pt(ut(n,r,s));if(u.e(o),r=s+t.length|0,_&&u.j()===(e-1|0))break n;s=eu(n,t,r,i)}while(-1!==s);var h=pt(ut(n,r,_t(n)));return u.e(h),u}(n,r,i,e)}for(var s=function(n){return new yn(n)}(function(n,t,i,e,r){return i=i===m?0:i,e=e!==m&&e,iu(r=r===m?0:r),new _u(n,i,r,(s=xi(t),_=e,function(n,t){var i=function(n,t,i,e,r){if(!e&&1===t.j()){var s=kn(t),_=r?ou(n,s,i):eu(n,s,i);return _<0?null:bu(_,s)}var u=r?bn(xn(i,J_(n)),0):si(mn(i,0),_t(n));if("string"==typeof n){var o=u.pb_1,h=u.qb_1,a=u.rb_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(Es(v,0,n,f,v.length,e)){l=v;break n}}l=null}if(null!=l)return bu(f,l)}while(f!==h)}else{var w=u.pb_1,$=u.qb_1,p=u.rb_1;if(p>0&&w<=$||p<0&&$<=w)do{var d,k=w;w=w+p|0;n:{for(var g=t.g();g.h();){var m=g.i();if(hu(m,0,n,k,m.length,e)){d=m;break n}}d=null}if(null!=d)return bu(k,d)}while(k!==$)}return null}(n,s,t,_,!1);return null==i?null:bu(i.na_1,i.oa_1.length)}));var s,_}(n,t,m,i,e)),_=Xi(f_(s,10)),u=s.g();u.h();){var o=tu(n,u.i());_.e(o)}return _},n.$_$.q4=function(n,t,i){return(i=i!==m&&i)?Es(n,0,t,0,t.length,i):n.startsWith(t,0)},n.$_$.r4=function(n,t,i){i=i===m?n:i;var e,r=ou(n,t);if(-1===r)e=i;else{var s=r+t.length|0,_=n.length;e=n.substring(s,_)}return e},n.$_$.s4=function(n,t,i){i=i===m?n:i;var e=eu(n,t);return-1===e?i:n.substring(0,e)},n.$_$.t4=Cn,n.$_$.u4=function(n){zs();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,nn(t.length,i.j()),X_(t)),f=h_(i),c=Yi(),v=0,w=i.g();w.h();){var $=w.i(),p=v;v=p+1|0;var d,k=Ti(p);if(0!==k&&k!==f||!nu($)){var g,b=jn($,a);d=null==(g=null==b?null:l(b))?$:g}else d=null;var x=d;null==x||c.e(x)}return fn(c,ks(),"\n").toString()}(n,"")},n.$_$.x4=function(n,t){return function(n,t,i){if(t=t===m?"":t,nu(i=i===m?"|":i))throw hr(pt("marginPrefix must be non-blank string."));for(var e=au(n),r=(n.length,nn(t.length,e.j()),X_(t)),s=h_(e),_=Yi(),u=0,o=e.g();o.h();){var h=o.i(),a=u;u=a+1|0;var l,f=Ti(a);if(0!==f&&f!==s||!nu(h)){var c;n:{var v=0,w=_t(h)-1|0;if(v<=w)do{var $=v;if(v=v+1|0,!qs(rt(h,$))){c=$;break n}}while(v<=w);c=-1}var p,d,k=c;if(-1===k)p=null;else if(As(h,i,k)){var g=k+i.length|0;p=h.substring(g)}else p=null;l=null==(d=null==p?null:r(p))?h:d}else l=null;var b=l;null==b||_.e(b)}return fn(_,ks(),"\n").toString()}(n,"",t=t===m?"|":t)},n.$_$.y4=sn,n.$_$.z4=Dn,n.$_$.a5=or,n.$_$.b5=Gn,n.$_$.c5=gu,n.$_$.d5=mu,n.$_$.e5=jt,n.$_$.f5=function(n){throw hr(n)},n.$_$.g5=yt,n.$_$.h5=function(n,t){return new $u(t)},n.$_$.i5=function(n){return new $u(n)},n.$_$.j5=function(){throw Lr()},n.$_$.k5=function(n){return(new Is).j9(n)},n.$_$.l5=function(n){throw Mr("lateinit property "+n+" has not been initialized")},n.$_$.m5=function(n){return tt(zi(n)?NaN:n)},n.$_$.n5=function(n){return tt(n)},n.$_$.o5=Fn,n.$_$.p5=bu,n.$_$.q5=function(n){return new Si(n)},n})?i.apply(t,[t]):i)||(n.exports=e)},490:(n,t,i)=>{var e,r,s;r=[t,i(887)],void 0===(s="function"==typeof(e=function(n,t){"use strict";var i,e,r,s,_,u,o,h,a=Math.imul,l=t.$_$.c1,f=t.$_$.c,c=t.$_$.b4,v=t.$_$.r3,w=t.$_$.p3,$=t.$_$.t3,p=t.$_$.z4,d=t.$_$.o5,k=t.$_$.a5,g=t.$_$.i3,m=t.$_$.n,b=t.$_$.a4,x=t.$_$.o3,q=t.$_$.n3,y=t.$_$.e5,j=t.$_$.j5,C=t.$_$.o,S=t.$_$.k5,z=t.$_$.p4,E=t.$_$.s4,A=t.$_$.r4,R=t.$_$.k4;function L(){}function I(){this.xc_1=null,this.yc_1=null,this.zc_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){p.call(this,n,t),this.id_1=i,this.jd_1=e}function B(){}function O(){}function D(n,t){return function(n,t,i){for(var e=t,r=i;;){if(null==r||g(r.cause,r))return e;e=e+", Caused by: '"+r.message+"'",r=r.cause}}(0,"",n)}function F(n){n=n===f||n,this.rd_1=n}function V(n,t,i,e){return function(n,t,i,e,r){return G.call(r,n,t,i,e.xc_1,e.yc_1,e.zc_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.sd_1=n,this.td_1=t,this.ud_1=i,this.vd_1=e,this.wd_1=r,this.xd_1=s}function P(n){this.zd_1=n}function W(){}function U(){O.call(this)}function H(){o=this,this.nd_1=(N(),e),this.od_1=new F(!0),this.pd_1=new U}function K(){return null==o&&new H,o}function Y(){}return v(L,"KLogger"),w(I,"KLoggingEventBuilder",I),$(T,"KotlinLogging"),w(M,"Level",f,p),$(B,"DefaultErrorMessageProducer"),w(O,"FormattingAppender"),w(F,"DefaultMessageFormatter",F),w(G,"KLoggingEvent"),w(P,"KLoggerDirect",f,f,[L]),$(W,"KLoggerFactory"),w(U,"ConsoleOutputAppender",U,O),$(H,"KotlinLoggingConfiguration"),$(Y,"KLoggerNameResolver"),c(T).dd=function(n){return this.fd(h.ed(n))},c(T).fd=function(n){return u.fd(n)},c(M).toString=function(){return this.jd_1},c(B).kd=function(n){return"Log message invocation failed: "+n.toString()},c(O).md=function(n){var t=K().od_1.qd(n);this.ld(n,t)},c(F).qd=function(n){var t,i,e,r=m();r.c6((t=this,i=n.sd_1,e=n.ud_1,t.rd_1?i.b1_1+": ["+e+"] ":""));var s=n.td_1,_=null==s?null:s.yd();return null==_||(r.c6(_),r.c6(" ")),r.c6(n.vd_1),r.c6(D(n.wd_1)),r.toString()},c(G).toString=function(){return"KLoggingEvent(level="+this.sd_1.toString()+", marker="+d(this.td_1)+", loggerName="+this.ud_1+", message="+this.vd_1+", cause="+d(this.wd_1)+", payload="+d(this.xd_1)+")"},c(G).hashCode=function(){var n=this.sd_1.hashCode();return n=a(n,31)+(null==this.td_1?0:x(this.td_1))|0,n=a(n,31)+q(this.ud_1)|0,n=a(n,31)+(null==this.vd_1?0:q(this.vd_1))|0,n=a(n,31)+(null==this.wd_1?0:x(this.wd_1))|0,a(n,31)+(null==this.xd_1?0:x(this.xd_1))|0},c(G).equals=function(n){if(this===n)return!0;if(!(n instanceof G))return!1;var t=n instanceof G?n:y();return!!(this.sd_1.equals(t.sd_1)&&g(this.td_1,t.td_1)&&this.ud_1===t.ud_1&&this.vd_1==t.vd_1&&g(this.wd_1,t.wd_1)&&g(this.xd_1,t.xd_1))},c(P).cd=function(n,t,i){if(this.ae(n,t)){var e=new I;i(e),5!==n.c1_1&&K().pd_1.md(V(n,t,this.zd_1,e))}},c(P).ae=function(n,t){return n.c1_1>=K().nd_1.c1_1},c(W).fd=function(n){return new P(n)},c(U).ld=function(n,t){switch(n.sd_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).ed=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).bd=function(n,t,i,e){var r;return t=t===f?null:t,e===f?(this.cd(n,t,i),r=l):r=e.cd.call(this,n,t,i),r},c(P).ad=function(n){var t,i=(N(),r);return this.bd(i,f,(t=n,function(n){return n.xc_1=function(n){var t;try{t=d(n())}catch(n){if(!(n instanceof k))throw n;var i=n;t=_.kd(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)},580:(n,t,i)=>{var e,r,s;r=[t,i(887)],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.$_$.b4,$=t.$_$.r3,p=t.$_$.p3,d=t.$_$.c,k=t.$_$.n4,g=t.$_$.d4,m=t.$_$.p,b=t.$_$.i3,x=t.$_$.r2,q=t.$_$.n1,y=t.$_$.g,j=t.$_$.j,C=t.$_$.o2,S=t.$_$.l1,z=t.$_$.l2,E=t.$_$.u2,A=t.$_$.g1,R=t.$_$.f,L=t.$_$.p5,I=t.$_$.c1,T=t.$_$.s2,N=t.$_$.i5,M=t.$_$.h1,B=t.$_$.i4,O=t.$_$.z1,D=t.$_$.j4,F=t.$_$.m3,V=t.$_$.t3,G=t.$_$.a,P=t.$_$.g5,W=t.$_$.n3,U=t.$_$.o3,H=t.$_$.j3,K=t.$_$.x3,Y=t.$_$.i,X=t.$_$.k1,Q=t.$_$.h,Z=t.$_$.c3,J=t.$_$.o1,nn=t.$_$.d,tn=t.$_$.h5,en=t.$_$.q,rn=t.$_$.x1,sn=t.$_$.r;function _n(){}function un(n){return new ln(n)}function on(n){this.he_1=n,this.ge_1=n.de()}function hn(n){this.ie_1=n}function an(n){this.ke_1=n,this.je_1=n.de()}function ln(n){this.le_1=n}function fn(n,t,i,e){if(e=e===d?$n:e,k(n))throw m(g("Blank serial names are prohibited"));if(b(t,qn()))throw m(g("For StructureKind.CLASS please use 'buildClassSerialDescriptor' instead"));var r=new cn(n);return e(r),new wn(n,t,r.pe_1.j(),x(i),r)}function cn(n){this.me_1=n,this.ne_1=!1,this.oe_1=q(),this.pe_1=y(),this.qe_1=j(),this.re_1=y(),this.se_1=y(),this.te_1=y()}function vn(n){var t=n.ff_1;return F("_hashCode",1,D,(function(n){return vn(n)}),null),t.s()}function wn(n,t,i,e,r){this.ue_1=n,this.ve_1=t,this.we_1=i,this.xe_1=r.oe_1,this.ye_1=C(r.pe_1);var s=r.pe_1;this.ze_1=S(s),this.af_1=Dn(r.re_1);var _,u=r.se_1;this.bf_1=S(u),this.cf_1=z(r.te_1);for(var o=E(this.ze_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.df_1=T(h),this.ef_1=Dn(e),this.ff_1=N((_=this,function(){return Vn(_,_.ef_1)}))}function $n(n){return I}function pn(){i=this,kn.call(this)}function dn(){return null==i&&new pn,i}function kn(){}function gn(){e=this,bn.call(this)}function mn(){r=this,bn.call(this)}function bn(){kn.call(this)}function xn(){s=this,Cn.call(this)}function qn(){return null==s&&new xn,s}function yn(){_=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.jf_1=n,this.kf_1=1}function An(n){Rn.call(this,n),this.mf_1=new zn(n.nf())}function Rn(n){Ln.call(this,n)}function Ln(n){In.call(this),this.of_1=n}function In(){}function Tn(n,t){return function(){var i=n.qf_1;return null==i?function(n,t){for(var i=new Bn(t,n.pf_1.length),e=n.pf_1,r=0,s=e.length;r0},w(on).i=function(){var n=this.he_1.de(),t=this.ge_1;return this.ge_1=t-1|0,this.he_1.fe(n-t|0)},w(hn).g=function(){return new on(this.ie_1)},w(an).h=function(){return this.je_1>0},w(an).i=function(){var n=this.ke_1.de(),t=this.je_1;return this.je_1=t-1|0,this.ke_1.ee(n-t|0)},w(ln).g=function(){return new an(this.le_1)},w(wn).be=function(){return this.ue_1},w(wn).ce=function(){return this.ve_1},w(wn).de=function(){return this.we_1},w(wn).gf=function(){return this.ye_1},w(wn).ee=function(n){return Zn(this.ze_1,n)},w(wn).fe=function(n){return Zn(this.af_1,n)},w(wn).equals=function(n){var t;n:if(this!==n)if(n instanceof wn)if(this.be()===n.be())if(M(this.ef_1,n.ef_1))if(this.de()===n.de()){var i=0,e=this.de();if(i=0)){var t="Illegal index "+n+", "+this.be()+" expects only non-negative indices";throw m(g(t))}return this.jf_1},w(En).equals=function(n){return this===n||n instanceof En&&!(!b(this.jf_1,n.jf_1)||this.be()!==n.be())},w(En).hashCode=function(){return v(U(this.jf_1),31)+W(this.be())|0},w(En).toString=function(){return this.be()+"("+g(this.jf_1)+")"},w(An).nf=function(){return this.mf_1},w(Nn).nf=function(){var n=this.rf_1;return F("descriptor",1,D,(function(n){return n.nf()}),null),n.s()},w(Nn).toString=function(){return"kotlinx.serialization.internal.EnumSerializer<"+this.nf().be()+">"},w(Bn).ce=function(){return this.rg_1},w(Bn).fe=function(n){return Zn(Mn(this),n)},w(Bn).equals=function(n){return this===n||null!=n&&!(null==n||!K(n,_n))&&n.ce()===dn()&&this.be()===n.be()&&!!b(On(this),On(n))},w(Bn).toString=function(){return O(un(this),", ",this.be()+"(",")")},w(Bn).hashCode=function(){for(var n=W(this.be()),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).be=function(){return this.sf_1},w(Wn).de=function(){return this.uf_1},w(Wn).ce=function(){return qn()},w(Wn).gf=function(){return this.ag_1.a1()},w(Wn).tg=function(){var n=this.cg_1;return F("typeParameterDescriptors",1,D,(function(n){return n.tg()}),null),n.s()},w(Wn).ug=function(n,t){this.vf_1=this.vf_1+1|0,this.wf_1[this.vf_1]=n,this.zf_1[this.vf_1]=t,this.xf_1[this.vf_1]=null,this.vf_1===(this.uf_1-1|0)&&(this.ag_1=function(n){var t=Q(),i=0,e=n.wf_1.length-1|0;if(i<=e)do{var r=i;i=i+1|0;var s=n.wf_1[r];t.m3(s,r)}while(i<=e);return t}(this))},w(Wn).eg=function(n,t,i){var e;return t=t!==d&&t,i===d?(this.ug(n,t),e=I):e=i.ug.call(this,n,t),e},w(Wn).fe=function(n){return Zn(Gn(this),n).nf()},w(Wn).ee=function(n){return Zn(this.wf_1,n)},w(Wn).equals=function(n){var t;n:if(this!==n)if(n instanceof Wn)if(this.be()===n.be())if(M(this.tg(),n.tg()))if(this.de()===n.de()){var i=0,e=this.de();if(i{var e,r,s;r=[t,i(887),i(103),i(703),i(532),i(398),i(737),i(422),i(921)],void 0===(s="function"==typeof(e=function(n,t,i,e,r,s,_,u,o){"use strict";var h,a,l=t.$_$.t1,f=t.$_$.g5,c=t.$_$.c,v=t.$_$.z1,w=t.$_$.c1,$=t.$_$.p5,p=t.$_$.f2,d=i.$_$.z,k=e.$_$.f,g=t.$_$.b4,m=e.$_$.t,b=r.$_$.e,x=t.$_$.p3,q=s.$_$.c,y=s.$_$.a,j=t.$_$.z2,C=t.$_$.e5,S=i.$_$.w,z=t.$_$.x3,E=t.$_$.f,A=_.$_$.b,R=_.$_$.a,L=t.$_$.s3,I=e.$_$.s,T=u.$_$.a;function N(){return function(){if(!a){a=!0;var n=$("fabulousPink",((i=function(){return d(G),w}).callableName="fabulousPink",i)),t=$("bouncyBubbles",function(){var n=function(){return d(B),w};return n.callableName="bouncyBubbles",n}());h=p([n,t,$("justGreen",M())])}var i}(),h}function M(){var n=function(){return d(H),w};return n.callableName="justGreen",n}function B(n){return n.n1b(O),n.o1b((t=new V(null),(i=function(n,i){return t.p1r(n,i)}).$arity=1,i)),w;var t,i}function O(n){return n.w1b_1="OPENRNDR - Bouncy Bubbles",w}function D(n,t,i,e,r,s,_,u){this.y1q_1=n,this.z1q_1=t,this.a1r_1=i,this.b1r_1=e,this.c1r_1=r,this.t1q_1=s,this.u1q_1=_,this.v1q_1=u,this.w1q_1=k().dm_1,this.x1q_1=n.m1e().pz().zs(-this.u1q_1)}function F(n){return function(t){t.m1e().yz(q("#282622")),t.m1e().a10(null),t.m1e().zz(y().xn_1.oo(.8));for(var i=n.g();i.h();){var e=i.i();e.d1r(n),e.e1r(),e.f1r()}return w}}function V(n){j.call(this,n)}function G(n){return n.n1b(P),n.o1b((t=new U(null),(i=function(n,i){return t.p1r(n,i)}).$arity=1,i)),w;var t,i}function P(n){return n.w1b_1="OPENRNDR - Fabulous Pink",w}function W(n){n.m1e().yz(y().vn_1),n.m1e().zz(null),n.m1e().c10(n.m1e().pz().us(),250),n.m1e().zz(y().xn_1);var t=E(12),i=0;if(i<12)do{var e=i;i=i+1|0;var r=30*e,s=200+100*R().u1j(.1*e,1.7*e+.2*n.r1e()),_=n.m1e().pz().us().mm(new I(r,s).cm());t.e(_)}while(i<12);var u=t;return n.m1e().j10(T(u,!0)),w}function U(n){j.call(this,n)}function H(n){return n.n1b(K),n.o1b((t=new X(null),(i=function(n,i){return t.p1r(n,i)}).$arity=1,i)),w;var t,i}function K(n){return n.w1b_1="OPENRNDR - Just Green",w}function Y(n){return n.m1e().yz(y().ao_1),n.m1e().c10(n.q1c().s1d(),150),w}function X(n){j.call(this,n)}return x(D,"Ball"),L(V,j,c,[1]),L(U,j,c,[1]),L(X,j,c,[1]),g(D).d1r=function(n){var t=this.v1q_1+1|0,i=this.z1q_1;if(t'+n+" ":""+n+" "}))}loadAndHighlight("sources-for-web/"+t+".kt.txt")}(),n})?e.apply(t,r):e)||(n.exports=s)},301:(n,t,i)=>{var e,r,s;r=[t,i(887)],void 0===(s="function"==typeof(e=function(n,t){"use strict";var i,e,r,s,_,u=t.$_$.b4,o=t.$_$.a4,h=t.$_$.g,a=t.$_$.g1,l=t.$_$.f,f=t.$_$.c1,c=t.$_$.b5,v=t.$_$.q3,w=t.$_$.c,$=t.$_$.p3,p=t.$_$.z4,d=t.$_$.c4,k=t.$_$.r3,g=t.$_$.z3;function m(){return n=o(u(q)),q.call(n),n.t1a_1=n,n;var n}function b(){i=this,this.h1b_1=new E}function x(){return null==i&&new b,i}function q(){x(),this.o1a_1=x().h1b_1.k1b(),this.p1a_1=this.o1a_1,this.q1a_1=h(),this.r1a_1=null,this.s1a_1=null,this.t1a_1=null}function y(){if(_)return f;_=!0,e=new j("Queued",0),r=new j("Playing",1),s=new j("Stopped",2)}function j(n,t){p.call(this,n,t)}function C(){}function S(){}function z(n){this.m1b_1=n}function E(){}return v(b),$(q,"Animatable",m),$(j,"AnimationState",w,p),k(C,"Clock"),$(S,"AnimationEvent",S),$(z,"AnimationUpdateEvent"),$(E,"DefaultClock",E,w,[C]),u(q).i1b=function(n){this.p1a_1=n,this.o1a_1=this.p1a_1,function(n,t){for(var i=h(),_=h(),u=n.q1a_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 $=w.i();if($.x1a_1.k1(t)<=0){if($.d1b_1.equals((y(),e))&&$.e1b(),$.d1b_1.equals((y(),r))){var p=t.m1($.x1a_1).x1();$.w1a_1.k1(new c(0,0))>0?p/=$.w1a_1.x1():p=1,p<0&&(p=0),p>=1&&(p=1,$.f1b()),$.g1b(p),$.b1b_1.zu(new z(p))}$.d1b_1.equals((y(),s))&&(_.e($.a1b_1),i.e($))}}for(var d=_.g();d.h();)d.i().zu(new S);for(var k=i.g();k.h();){var g=k.i();n.q1a_1.n2(g)}n.p1a_1=t,n.p1a_1.k1(n.o1a_1)>0&&(n.o1a_1=n.p1a_1)}(this,n)},u(q).j1b=function(n,t){var i;return n=n===w?x().h1b_1.k1b():n,t===w?(this.i1b(n),i=f):i=t.i1b.call(this,n),i},u(E).k1b=function(){return g(1e3*window.performance.now())},u(E).l1b=function(){return this.k1b().o1(d(1e3))},n.$_$=n.$_$||{},n.$_$.a=m,n})?e.apply(t,r):e)||(n.exports=s)},103:(n,t,i)=>{var e,r,s;r=[t,i(887),i(41),i(301),i(398)],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,$,p,d,k,g,m,b,x,q,y,j,C,S,z,E,A,R,L,I,T,N,M,B,O=Math.imul,D=t.$_$.c1,F=t.$_$.z4,V=t.$_$.b4,G=t.$_$.p3,P=t.$_$.c,W=t.$_$.t3,U=t.$_$.r3,H=i.$_$.a,K=t.$_$.d4,Y=t.$_$.n3,X=t.$_$.o3,Q=t.$_$.e5,Z=t.$_$.i3,J=e.$_$.a,nn=t.$_$.i5,tn=t.$_$.l,en=r.$_$.a,rn=t.$_$.g,sn=t.$_$.l5,_n=t.$_$.q,un=t.$_$.j5,on=t.$_$.i2,hn=t.$_$.k3,an=t.$_$.j4,ln=t.$_$.m3,fn=t.$_$.z2,cn=t.$_$.x2,vn=t.$_$.s3,wn=t.$_$.a3,$n=t.$_$.y,pn=t.$_$.y2,dn=t.$_$.n1,kn=t.$_$.e3,gn=t.$_$.q4,mn=t.$_$.n4;function bn(n,t){}function xn(n,t){}function qn(n,t){F.call(this,n,t)}function yn(){}function jn(){this.p1b_1="openrndr-canvas",this.q1b_1=640,this.r1b_1=480,this.s1b_1=128,this.t1b_1=128,this.u1b_1=268435455,this.v1b_1=268435455,this.w1b_1="OPENRNDR",this.x1b_1=!1,this.y1b_1=!1,this.z1b_1=!1,this.a1c_1=null,this.b1c_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.c1c_1=!0,this.d1c_1=!1,this.e1c_1=(function(){if(L)return D;L=!0,R=new Pn("HIDE",0),new Pn("DISABLE",1)}(),R),this.f1c_1=null,this.g1c_1=(function(){if(l)return D;l=!0,a=new En("NORMAL",0),new En("THROTTLE",1)}(),a),this.h1c_1=!1,this.i1c_1=!1,this.j1c_1=!0,this.k1c_1=!1,this.l1c_1=(null==u&&new Cn,u),this.m1c_1=!0,this.n1c_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.v1c_1=new H("keyboard-key-down",!0),this.w1c_1=new H("keyboard-key-up",!0),this.x1c_1=new H("keyboard-key-repeat",!0),this.y1c_1=new H("keyboard-character",!0)}function Tn(){if(d)return D;d=!0,v=new Nn("MOVED",0),new Nn("DRAGGED",1),new Nn("CLICKED",2),w=new Nn("BUTTON_UP",3),$=new Nn("BUTTON_DOWN",4),p=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),g=new Bn("RIGHT",1),m=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,q=new Dn("SHIFT",0,1),y=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.d1d_1=i}function Fn(n,t,i,e){this.e1d_1=n,this.f1d_1=t,this.g1d_1=i,this.h1d_1=e,this.i1d_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.j1d_1=n,this.k1d_1=new H("mouse-button-down",!0),this.l1d_1=new H("mouse-button-up",!0),this.m1d_1=new H("mouse-dragged",!0),this.n1d_1=new H("mouse-moved",!0),this.o1d_1=new H("mouse-scrolled",!0),this.p1d_1=this.l1d_1,this.q1d_1=new H("mouse-entered",!0),this.r1d_1=new H("mouse-exited",!0)}function Hn(n,t,i,e,r,s){this.z1d_1=n,this.a1e_1=t,this.b1e_1=i,this.c1e_1=e,this.d1e_1=r,this.e1e_1=s,this.f1e_1=!1}function Kn(n){this.g1e_1=n}function Yn(){}function Xn(n,t,i){this.s1e_1=n,this.t1e_1=t,this.u1e_1=i}function Qn(n,t,i){this.v1e_1=n,this.w1e_1=t,this.x1e_1=i}function Zn(n){var t=n.e1f_1;return ln("animator",1,an,(function(n){return Zn(n)}),null),t.s()}function Jn(n){this.b1g_1=n}function nt(n){this.k1g_1=n,this.c1g_1=new H("window-focused",!0),this.d1g_1=new H("window-unfocused",!0),this.e1g_1=new H("window-moved",!0),this.f1g_1=new H("window-sized",!0),this.g1g_1=new H("window-minimized",!0),this.h1g_1=new H("window-restored",!0),this.i1g_1=new H("window-closed",!0),this.j1g_1=new H("window-drop",!0)}function tt(){return J()}function it(n){return function(){return new Qn(n.h1e(),function(n,t,i){i=i===P?null:i;var e,r=0===kn(t=t===P?"":t)?"":gn(t,".")?t:"."+t,s=n.h1e();if(mn(s)){var _=n.n1e().l1g();e=mn(_)?"untitled":_}else e=s;return""+i+e+r}(n),n.t1g())}}function et(n){this.y1g_1=n,this.x1g_1=!0}function rt(n){this.a1h_1=n,this.z1g_1=!0}function st(n){this.c1h_1=n,this.b1h_1=!0}function _t(){return new In}function ut(n){var t;n=n!==P&&n,this.y1e_1=n,this.z1e_1=0,this.a1f_1=0,this.b1f_1=nn((t=this,function(){return t})),this.c1f_1=tn(),this.d1f_1="unknown",this.e1f_1=nn(tt),this.h1f_1=!1,this.i1f_1=en().wn_1,this.j1f_1=new pt,this.k1f_1=new H,this.l1f_1=1/0,this.m1f_1=function(n){return function(){return n.l1f_1===1/0||n.s1g()<=0?0:n.m1g().r1e()-n.l1f_1}}(this),this.n1f_1=tn(),this.o1f_1=it(this),this.p1f_1=new H,this.q1f_1=new H,this.p1f_1.bv(function(n){return function(t){return n.q1f_1.zu(new Xn(t.u1g_1,t.v1g_1,n.w1g()())),D}}(this)),this.r1f_1=0,this.s1f_1=0,this.t1f_1=-1,this.u1f_1=0,this.v1f_1=new Jn(this),this.w1f_1=rn(),this.x1f_1=new nt(this),this.y1f_1=nn(_t),this.z1f_1=nn(function(n){return function(){return new Un(function(n){return function(){return n.m1g()}}(n))}}(this)),this.a1g_1=nn(function(n){return function(){return new Kn(function(n){return function(){return n.m1g()}}(n))}}(this))}function ot(n,t,i,e){this.k1h_1=n,this.l1h_1=t,this.m1h_1=i,this.n1h_1=e}function ht(n,t){this.o1h_1=n,this.p1h_1=t}function at(n,t){F.call(this,n,t)}function lt(n,t){this.y1h_1=n,fn.call(this,t)}function ft(){}function ct(){}function vt(){}function wt(n){this.m1j_1=n,ut.call(this)}function $t(){yn.call(this),this.f1i_1=new jn,this.g1i_1=new ut;var n,t=null==B?null:B();if(null==t)throw _n(K("applicationFunc not set"));n=t,this.h1i_1=n,this.i1i_1=dn()}function pt(){}return G(qn,"PresentationMode",P,F),G(yn,"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(Hn,"MouseEvent"),G(Kn,"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,[pn]),G(vt,"ApplicationBase"),G(wt,P,P,ut,P,[0]),G($t,"ApplicationBuilderJS",P,yn),G(pt,"Dispatcher",pt),V(In).z1c=function(){return this.v1c_1},V(In).a1d=function(){return this.w1c_1},V(Fn).toString=function(){return"KeyEvent(type="+this.e1d_1.toString()+", key="+this.f1d_1+", name="+this.g1d_1+", modifiers="+K(this.h1d_1)+")"},V(Fn).hashCode=function(){var n=this.e1d_1.hashCode();return n=O(n,31)+this.f1d_1|0,n=O(n,31)+Y(this.g1d_1)|0,O(n,31)+X(this.h1d_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.e1d_1.equals(t.e1d_1)&&this.f1d_1===t.f1d_1&&this.g1d_1===t.g1d_1&&!!Z(this.h1d_1,t.h1d_1)},V(Un).s1d=function(){return this.j1d_1().t1d()},V(Un).u1d=function(){return this.k1d_1},V(Un).v1d=function(){return this.l1d_1},V(Un).w1d=function(){return this.m1d_1},V(Un).x1d=function(){return this.n1d_1},V(Un).y1d=function(){return this.o1d_1},V(Hn).toString=function(){return"MouseEvent(position="+this.z1d_1.toString()+", rotation="+this.a1e_1.toString()+", dragDisplacement="+this.b1e_1.toString()+", type="+this.c1e_1.toString()+", button="+this.d1e_1.toString()+", modifiers="+K(this.e1e_1)+")"},V(Hn).hashCode=function(){var n=this.z1d_1.hashCode();return n=O(n,31)+this.a1e_1.hashCode()|0,n=O(n,31)+this.b1e_1.hashCode()|0,n=O(n,31)+this.c1e_1.hashCode()|0,n=O(n,31)+this.d1e_1.hashCode()|0,O(n,31)+X(this.e1e_1)|0},V(Hn).equals=function(n){if(this===n)return!0;if(!(n instanceof Hn))return!1;var t=n instanceof Hn?n:Q();return!!(this.z1d_1.equals(t.z1d_1)&&this.a1e_1.equals(t.a1e_1)&&this.b1e_1.equals(t.b1e_1)&&this.c1e_1.equals(t.c1e_1)&&this.d1e_1.equals(t.d1e_1)&&Z(this.e1e_1,t.e1e_1))},V(Xn).toString=function(){return"ProduceAssetsEvent(origin="+K(this.s1e_1)+", program="+K(this.t1e_1)+", assetMetadata="+this.u1e_1.toString()+")"},V(Xn).hashCode=function(){var n=X(this.s1e_1);return n=O(n,31)+X(this.t1e_1)|0,O(n,31)+this.u1e_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.s1e_1,t.s1e_1)&&!!Z(this.t1e_1,t.t1e_1)&&!!this.u1e_1.equals(t.u1e_1)},V(Qn).toString=function(){return"AssetMetadata(programName="+this.v1e_1+", assetBaseName="+this.w1e_1+", assetProperties="+K(this.x1e_1)+")"},V(Qn).hashCode=function(){var n=Y(this.v1e_1);return n=O(n,31)+Y(this.w1e_1)|0,O(n,31)+X(this.x1e_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.v1e_1===t.v1e_1&&this.w1e_1===t.w1e_1&&!!Z(this.x1e_1,t.x1e_1)},V(nt).l1g=function(){return this.k1g_1.m1g().n1g()},V(nt).j=function(){return this.k1g_1.m1g().o1g()},V(nt).oz=function(){return this.k1g_1.m1g().p1g()},V(nt).q1g=function(){return this.f1g_1},V(nt).r1g=function(){return this.j1g_1},V(et).s1c=function(){return this.x1g_1},V(rt).s1c=function(){return this.z1g_1},V(rt).t1c=function(n,t){t.k1e(!0),this.a1h_1(t)},V(st).s1c=function(){return this.b1h_1},V(st).u1c=function(n,t){t.k1e(!0),this.c1h_1(t)},V(ut).i1e=function(n){this.z1e_1=n},V(ut).qz=function(){return this.z1e_1},V(ut).j1e=function(n){this.a1f_1=n},V(ut).rz=function(){return this.a1f_1},V(ut).h1e=function(){return this.d1f_1},V(ut).l1e=function(n){this.f1f_1=n},V(ut).m1e=function(){var n=this.f1f_1;if(null!=n)return n;sn("drawer")},V(ut).o1e=function(n){this.g1f_1=n},V(ut).m1g=function(){var n=this.g1f_1;if(null!=n)return n;sn("application")},V(ut).k1e=function(n){this.h1f_1=n},V(ut).d1h=function(){return this.h1f_1},V(ut).e1h=function(){return this.i1f_1},V(ut).f1h=function(){return this.m1f_1},V(ut).t1g=function(){return this.n1f_1},V(ut).w1g=function(){return this.o1f_1},V(ut).g1h=function(n){this.u1f_1=n},V(ut).s1g=function(){return this.u1f_1},V(ut).r1e=function(){return this.r1f_1},V(ut).h1h=function(){return this.w1f_1.l()&&this.k1e(!1),this.w1f_1},V(ut).o1c=function(n,t){var i;if(this.d1h())throw _n(K("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.h1h().e(e)},V(ut).n1e=function(){return this.x1f_1},V(ut).r1c=function(){var n=this.y1f_1;return ln("keyboard",1,an,(function(n){return n.r1c()}),null),n.s()},V(ut).q1c=function(){var n=this.z1f_1;return ln("mouse",1,an,(function(n){return n.q1c()}),null),n.s()},V(ut).p1e=function(n){return D},V(ut).q1e=function(){0===this.s1g()&&(this.l1f_1=this.m1g().r1e()),Zn(this).j1b(),this.i1h(),-1===this.t1f_1&&(this.t1f_1=this.r1e()),this.s1f_1=this.r1f_1-this.t1f_1,this.t1f_1=this.r1f_1;var n=this.e1h();null==n||this.m1e().yz(n);for(var t=this.h1h(),i=rn(),e=t.g();e.h();){var r=e.i();r.s1c()&&i.e(r)}for(var s=i.g();s.h();)s.i().t1c(this.m1e(),this);this.j1h();for(var _=on(this.h1h()),u=rn(),o=_.g();o.h();){var h=o.i();h.s1c()&&u.e(h)}for(var a=u.g();a.h();)a.i().u1c(this.m1e(),this);var l=this.s1g();this.g1h(l+1|0)},V(ut).j1h=function(){},V(ut).i1h=function(){this.r1f_1=this.f1h()()},V(ot).toString=function(){return"WindowEvent(type="+this.k1h_1.toString()+", position="+this.l1h_1.toString()+", size="+this.m1h_1.toString()+", focused="+this.n1h_1+")"},V(ot).hashCode=function(){var n=this.k1h_1.hashCode();return n=O(n,31)+this.l1h_1.hashCode()|0,n=O(n,31)+this.m1h_1.hashCode()|0,O(n,31)+hn(this.n1h_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.k1h_1.equals(t.k1h_1)&&!!this.l1h_1.equals(t.l1h_1)&&!!this.m1h_1.equals(t.m1h_1)&&this.n1h_1===t.n1h_1},V(ht).toString=function(){return"DropEvent(position="+this.o1h_1.toString()+", files="+K(this.p1h_1)+")"},V(ht).hashCode=function(){var n=this.o1h_1.hashCode();return O(n,31)+X(this.p1h_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.o1h_1.equals(t.o1h_1)&&!!Z(this.p1h_1,t.p1h_1)},V(lt).z1h=function(n){var t=this.a1i(n);return t.x6_1=D,t.y6_1=null,t.d7()},V(lt).v7=function(n){return this.z1h(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.y1h_1.p1e(this))===cn())return n;continue n;case 1:return this.y1h_1.b1i(),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).a1i=function(n){return new lt(this.y1h_1,n)},V(ft).c1i=function(){var n,t;n=new lt(this,null),(t=function(t){return n.z1h(t)}).$arity=0,wn(t,new ct)},V(ct).b7=function(){return $n()},V(ct).d1i=function(n){},V(ct).g7=function(n){return this.d1i(n)},V(wt).p1e=function(n){return this.m1j_1(this,n)},V($t).n1b=function(n){n(this.f1i_1)},V($t).o1b=function(n){return this.g1i_1=new wt(n),this.g1i_1},V(et).t1c=bn,V(et).u1c=xn,V(rt).u1c=xn,V(st).t1c=bn,V(ut).p1c=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.o1c(n,t),e=D):e=i.o1c.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(),y},n.$_$.f=function(){return On(),q},n.$_$.g=function(){return On(),C},n.$_$.h=function(){return Mn(),m},n.$_$.i=function(){return Mn(),k},n.$_$.j=function(){return Mn(),b},n.$_$.k=function(){return Mn(),g},n.$_$.l=function(){return Tn(),$},n.$_$.m=function(){return Tn(),w},n.$_$.n=function(){return Tn(),v},n.$_$.o=function(){return Tn(),p},n.$_$.p=function(){return function(){if(_)return D;_=!0,s=new qn("AUTOMATIC",0),new qn("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=Hn,n.$_$.w=Yn,n.$_$.x=ot,n.$_$.y=function(n){B=n},n.$_$.z=function(n){var t=new $t;n(t),t.h1i_1.e1i(t.g1i_1,t.f1i_1).c1i()},n})?e.apply(t,r):e)||(n.exports=s)},398:(n,t,i)=>{var e,r,s;r=[t,i(887),i(703),i(580)],void 0===(s="function"==typeof(e=function(n,t,i,e){"use strict";var r,s,_,u,o,h=Math.imul,a=t.$_$.d3,l=t.$_$.l4,f=t.$_$.b4,c=t.$_$.q4,v=t.$_$.p,w=t.$_$.q3,$=t.$_$.c,p=t.$_$.l3,d=i.$_$.v,k=t.$_$.e5,g=t.$_$.i3,m=i.$_$.m,b=t.$_$.p3,x=e.$_$.g,q=t.$_$.d,y=t.$_$.h5,j=t.$_$.c1,C=t.$_$.z4;function S(n,t){return h(17,l(a(n,t),16))/255}function z(n,t){return(h(16,l(a(n,t),16))+l(a(n,t+1|0),16)|0)/255}function E(){r=this,this.un_1=[null,null,null,null,N().tn(),null],this.vn_1=this.go(16761035),this.wn_1=new L(0,0,0,1,D()),this.xn_1=new L(1,1,1,1,D()),this.yn_1=new L(1,0,0,1,D()),this.zn_1=new L(0,0,1,1,D()),this.ao_1=new L(0,1,0,1,D()),this.bo_1=new L(1,1,0,1,D()),this.co_1=new L(0,1,1,1,D()),this.do_1=new L(1,0,1,1,D()),this.eo_1=new L(.5,.5,.5,1,D()),this.fo_1=new L(0,0,0,0,O())}function A(){return null==r&&new E,r}function R(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 L(n,t,i,e,r){A(),e=e===$?1:e,r=r===$?O():r,this.io_1=n,this.jo_1=t,this.ko_1=i,this.lo_1=e,this.mo_1=r,this.no_1=this.lo_1}function I(){return x("org.openrndr.color.Linearity",[O(),D()])}function T(){u=this;var n=q();this.sn_1=y(n,I)}function N(){return M(),null==u&&new T,u}function M(){if(o)return j;o=!0,s=new B("LINEAR",0,1),_=new B("SRGB",1,1),N()}function B(n,t,i){C.call(this,n,t),this.so_1=i}function O(){return M(),s}function D(){return M(),_}return w(E),b(L,"ColorRGBa",$,$,[m]),w(T),b(B,"Linearity",$,C,$,$,$,{0:N}),f(E).go=function(n){return new L(((16711680&n)>>16)/255,((65280&n)>>8)/255,(255&n)/255,1,D())},f(E).ho=function(n){var t,i=c(n,"#")?1:c(n,"0x")?2:0;switch(n.length-i|0){case 3:t=new L(S(n,i),S(n,i+1|0),S(n,i+2|0),1,D());break;case 4:t=new L(S(n,i),S(n,i+1|0),S(n,i+2|0),S(n,i+3|0),D());break;case 6:t=new L(z(n,i),z(n,i+2|0),z(n,i+4|0),1,D());break;case 8:t=new L(z(n,i),z(n,i+2|0),z(n,i+4|0),z(n,i+6|0),D());break;default:throw v("Invalid hex length/format for '"+n+"'")}return t},f(L).oo=function(n){return new L(this.io_1,this.jo_1,this.ko_1,this.lo_1*n,this.mo_1)},f(L).po=function(){return 1===this.mo_1.c1_1?new L(R(this.io_1),R(this.jo_1),R(this.ko_1),this.lo_1,O()):this},f(L).hashCode=function(){var n=p(this.io_1);return n=h(31,n)+p(this.jo_1)|0,n=h(31,n)+p(this.ko_1)|0,n=h(31,n)+p(this.lo_1)|0,h(31,n)+this.mo_1.c1_1|0},f(L).rn=function(){return new d(this.io_1,this.jo_1,this.ko_1,this.lo_1)},f(L).toString=function(){return"ColorRGBa(r="+this.io_1+", g="+this.jo_1+", b="+this.ko_1+", alpha="+this.lo_1+", linearity="+this.mo_1.toString()+")"},f(L).equals=function(n){if(this===n)return!0;if(!(n instanceof L))return!1;var t=n instanceof L?n:k();return!!(g(this.io_1,t.io_1)&&g(this.jo_1,t.jo_1)&&g(this.ko_1,t.ko_1)&&g(this.lo_1,t.lo_1)&&this.mo_1.equals(t.mo_1))},f(T).tn=function(){return this.sn_1.s()},n.$_$=n.$_$||{},n.$_$.a=A,n.$_$.b=L,n.$_$.c=function(n){return A().ho(n)},n})?e.apply(t,r):e)||(n.exports=s)},859:(n,t,i)=>{var e,r,s;r=[t,i(887),i(703),i(398),i(532),i(194)],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,$,p,d,k,g,m,b,x,q,y,j,C,S,z,E,A,R,L,I,T,N,M,B,O,D,F,V,G,P,W,U,H,K,Y,X,Q,Z,J,nn,tn,en,rn,sn,_n,un,on,hn,an,ln,fn,cn,vn,wn,$n,pn,dn,kn,gn,mn,bn,xn,qn,yn,jn,Cn,Sn,zn,En,An,Rn,Ln,In,Tn,Nn,Mn,Bn,On,Dn,Fn,Vn,Gn,Pn,Wn,Un,Hn,Kn,Yn,Xn,Qn,Zn,Jn,nt,tt,it,et,rt,st,_t,ut,ot,ht,at,lt,ft,ct,vt,wt,$t,pt,dt,kt,gt=Math.imul,mt=Math.log2,bt=t.$_$.b4,xt=t.$_$.r3,qt=t.$_$.c,yt=t.$_$.q3,jt=t.$_$.d4,Ct=t.$_$.p,St=t.$_$.p3,zt=t.$_$.c1,Et=t.$_$.t3,At=i.$_$.t,Rt=i.$_$.c,Lt=i.$_$.h,It=t.$_$.l3,Tt=t.$_$.e5,Nt=t.$_$.i3,Mt=t.$_$.l,Bt=t.$_$.f5,Ot=t.$_$.z4,Dt=t.$_$.j5,Ft=e.$_$.a,Vt=i.$_$.d,Gt=t.$_$.o5,Pt=t.$_$.k3,Wt=t.$_$.o3,Ut=t.$_$.e,Ht=t.$_$.i5,Kt=r.$_$.b,Yt=i.$_$.g,Xt=i.$_$.i,Qt=t.$_$.f4,Zt=t.$_$.q,Jt=t.$_$.c2,ni=s.$_$.b,ti=t.$_$.v4,ii=s.$_$.a,ei=t.$_$.j4,ri=t.$_$.m3,si=t.$_$.y3,_i=t.$_$.g,ui=t.$_$.m,oi=t.$_$.b1,hi=t.$_$.b,ai=e.$_$.b,li=i.$_$.r,fi=i.$_$.q,ci=i.$_$.l,vi=i.$_$.p,wi=i.$_$.v,$i=i.$_$.k,pi=i.$_$.o,di=i.$_$.u,ki=i.$_$.j,gi=i.$_$.n,mi=t.$_$.m4,bi=t.$_$.q4,xi=t.$_$.n1,qi=t.$_$.n3,yi=t.$_$.w1,ji=t.$_$.q2,Ci=t.$_$.z1,Si=t.$_$.o4,zi=t.$_$.p4,Ei=t.$_$.t,Ai=t.$_$.v,Ri=t.$_$.i4,Li=t.$_$.g1,Ii=t.$_$.f,Ti=i.$_$.b,Ni=t.$_$.d2,Mi=t.$_$.h2,Bi=t.$_$.h4,Oi=t.$_$.g4,Di=t.$_$.s1,Fi=t.$_$.b2,Vi=t.$_$.f1,Gi=t.$_$.m1,Pi=t.$_$.f3,Wi=t.$_$.x4,Ui=t.$_$.w4;function Hi(){}function Ki(){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.hv_1=n,this.iv_1=t,!this.hv_1.jv().equals(Xi()))throw Ct(jt("Failed requirement."));if(!this.iv_1.jv().equals(Ki()))throw Ct(jt("Failed requirement."));if(this.hv_1.kv()!==this.iv_1.kv())throw Ct(jt("Failed requirement."))}function ne(){}function te(n,t){if(this.mv_1=n,this.nv_1=t,!this.mv_1.jv().equals(Qi()))throw Ct(jt("Failed requirement."));if(!this.nv_1.jv().equals(Ki()))throw Ct(jt("Failed requirement."));if(this.mv_1.kv()!==this.nv_1.kv())throw Ct(jt("Failed requirement."))}function ie(){}function ee(n,t){if(this.pv_1=n,this.qv_1=t,!this.pv_1.jv().equals(Yi()))throw Ct(jt("Failed requirement."));if(!this.qv_1.jv().equals(Ki()))throw Ct(jt("Failed requirement."));if(this.pv_1.kv()!==this.qv_1.kv())throw Ct(jt("Failed requirement."))}function re(n){return oe(),n.tv("fill",is()),n.tv("stroke",is()),n.tv("strokeWeight",Jr()),zt}function se(n){return oe(),n.tv("offset",ts()),n.tv("radius",ns()),zt}function _e(n){return oe(),n.tv("offset",ts()),n.tv("dimensions",ns()),n.tv("rotation",Jr()),zt}function ue(n){return oe(),n.tv("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){me(),w=n}function ce(){return me(),w}function ve(n){me(),$=n}function we(){return me(),$}function $e(n){me(),p=n}function pe(){return me(),p}function de(n){me(),d=n}function ke(){return me(),d}function ge(n,t,i,e,r,s,_){this.bw_1=n,this.cw_1=t,this.dw_1=i,this.ew_1=e,this.fw_1=r,this.gw_1=s,this.hw_1=_}function me(){g||(g=!0,w=Rt().zj_1,$=Rt().zj_1,p=Rt().zj_1,d=Rt().zj_1,k=Mt())}function be(){return Bn||(Bn=!0,m=Mt()),m}function xe(){if(S)return zt;S=!0,b=new qe("R",0),x=new qe("RG",1),q=new qe("RGB",2),y=new qe("BGR",3),j=new qe("RGBa",4),C=new qe("BGRa",5)}function qe(n,t){Ot.call(this,n,t)}function ye(){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),H=new je("BPTC_UNORM_SRGB",18),K=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,$,p,d,k,g,m,b){n=n===qt?null:n,t=t===qt?Ft().xn_1:t,i=i===qt?Ft().wn_1:i,e=e===qt?(Le(),an):e,r=r===qt?(Te(),fn):r,s=s===qt?1:s,_=_===qt||_,u=u===qt?4:u,o=o===qt?(function(){if(pn)return zt;pn=!0,$n=new Me("QUALITY",0),new Me("PERFORMANCE",1)}(),$n):o,h=h===qt?(function(){if(kn)return zt;kn=!0,dn=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)}(),dn):h,a=a!==qt&&a,l=l===qt?(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===qt?pr():f,c=c===qt?new Ve(!0,!0,!0,!0):c,v=v!==qt&&v,w=w===qt?null:w,$=$===qt?null:$,p=p===qt?(function(){if(qn)return zt;qn=!0,new Ge("DISABLED",0),xn=new Ge("METRIC",1)}(),xn):p,d=d===qt?(function(){if(jn)return zt;jn=!0,new Pe("PIXEL",0),yn=new Pe("SUBPIXEL",1)}(),yn):d,k=k===qt?new We:k,g=g===qt?k:g,m=m===qt?k:m,b=b===qt?Vt().yk_1:b,this.bx_1=n,this.cx_1=t,this.dx_1=i,this.ex_1=e,this.fx_1=r,this.gx_1=s,this.hx_1=_,this.ix_1=u,this.jx_1=o,this.kx_1=h,this.lx_1=a,this.mx_1=l,this.nx_1=f,this.ox_1=c,this.px_1=v,this.qx_1=w,this.rx_1=$,this.sx_1=p,this.tx_1=d,this.ux_1=k,this.vx_1=g,this.wx_1=m,this.xx_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.by_1=1,this.cy_1=2,this.dy_1=4,this.ey_1=8,this.fy_1=new Ve(!1,!1,!1,!1),this.gy_1=new Ve(!0,!0,!0,!0)}function Fe(){return null==bn&&new De,bn}function Ve(n,t,i,e){Fe(),this.hy_1=n,this.iy_1=t,this.jy_1=i,this.ky_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===qt?dr():n,t=t===qt?dr():t,i=i===qt?dr():i,e=e===qt?255:e,r=r===qt?0:r,s=s===qt?255:s,_=_===qt?br():_,this.ly_1=n,this.my_1=t,this.ny_1=i,this.oy_1=e,this.py_1=r,this.qy_1=s,this.ry_1=_}function Ue(){if(Rn)return zt;Rn=!0,Cn=new He("KEEP",0),Sn=new He("ZERO",1),new He("REPLACE",2),zn=new He("INCREASE",3),En=new He("INCREASE_WRAP",4),new He("DECREASE",5),An=new He("DECREASE_WRAP",6),new He("INVERT",7)}function He(n,t){Ot.call(this,n,t)}function Ke(){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 ye(),z}function nr(){return ye(),A}function tr(){return ye(),R}function ir(){return ye(),L}function er(){return ye(),I}function rr(){return ye(),T}function sr(){return ye(),N}function _r(){return ye(),M}function ur(){return ye(),B}function or(){return ye(),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 $r(){return Te(),vn}function pr(){return function(){if(mn)return zt;mn=!0,gn=new Oe("ALWAYS",0),new Oe("FRONT",1),new Oe("BACK",2),new Oe("NEVER",3)}(),gn}function dr(){return Ue(),Cn}function kr(){return Ue(),Sn}function gr(){return Ke(),Ln}function mr(){return Ke(),Tn}function br(){return Ke(),Nn}function xr(n){return n.jz_1*Dn.gv().oz()}function qr(){return new Ls}function yr(n){this.uy_1=n;var t=Ut();t.x9(new ze),this.vy_1=t,this.wy_1=new Os,this.xy_1=new Ds,this.yy_1=new as,this.zy_1=new Ns,this.az_1=new As,this.bz_1=new Ts,this.cz_1=Ht(qr),this.dz_1=new Ms,this.ez_1=new Bs,this.fz_1=new Ss,this.gz_1=Ut(),this.hz_1=Ut(),this.iz_1=Ut(),this.jz_1=1,this.kz_1=Rt().zj_1,this.lz_1=Rt().zj_1,this.mz_1=Rt().zj_1,this.nz_1=new ze}function jr(){return"disable"===ni.dv("org.openrndr.draw.vertex_buffer_optimizations")}function Cr(){return"force"===ni.dv("org.openrndr.draw.vertex_buffer_optimizations")}function Sr(){var n=ni.dv("org.openrndr.draw.vertex_buffer_multi_buffer_hint"),t=null==n?null:ti(n);return null==t?100:t}function zr(){return Ar().c11()?1:Ar().b11()||ni.cv().equals(ii())?Ar().a11():1}function Er(){On=this,this.w10_1=Ht(jr),this.x10_1=Ht(Cr),this.y10_1=Ht(Sr),this.z10_1=Ht(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.l11_1=n,this.m11_1=kt.kw().lw(),this.n11_1=_i(),this.o11_1=ui(),this.p11_1=ui(),this.q11_1=ui(),this.r11_1=ui(),this.s11_1=ui(),this.t11_1=ui(),this.u11_1=ui(),this.v11_1=ui(),this.w11_1=ui(),this.x11_1=ui(),this.y11_1=ui(),this.z11_1=ui(),this.a12_1=ui(),this.b12_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(gi))?"IntVector2":i.equals(hi(ki))?"BooleanVector2":i.equals(hi(di))?"Vector3":i.equals(hi(pi))?"IntVector3":i.equals(hi($i))?"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(gi))?"IntVector2":s.equals(hi(ki))?"BooleanVector2":s.equals(hi(di))?"Vector3":s.equals(hi(pi))?"IntVector3":s.equals(hi($i))?"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(gi))?"IntVector2":o.equals(hi(ki))?"BooleanVector2":o.equals(hi(di))?"Vector3":o.equals(hi(pi))?"IntVector3":o.equals(hi($i))?"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(gi))?"IntVector2":l.equals(hi(ki))?"BooleanVector2":l.equals(hi(di))?"Vector3":l.equals(hi(pi))?"IntVector3":l.equals(hi($i))?"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(),$=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(gi))?"IntVector2":w.equals(hi(ki))?"BooleanVector2":w.equals(hi(di))?"Vector3":w.equals(hi(pi))?"IntVector3":w.equals(hi($i))?"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==$){var p="shade style type not supported: "+oi().p8().y7();throw Zt(jt(p))}if(n===$)v=!0;else{var d=oi().q8(),k=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(gi))?"IntVector2":d.equals(hi(ki))?"BooleanVector2":d.equals(hi(di))?"Vector3":d.equals(hi(pi))?"IntVector3":d.equals(hi($i))?"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 "+oi().q8().y7();if(null==k){var g="shade style type not supported: "+oi().q8().y7();throw Zt(jt(g))}v=n===k}if(v)t="float";else{var m=hi(At),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(gi))?"IntVector2":m.equals(hi(ki))?"BooleanVector2":m.equals(hi(di))?"Vector3":m.equals(hi(pi))?"IntVector3":m.equals(hi($i))?"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(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 q=hi(di),y=q.equals(oi().l8())?"boolean":q.equals(oi().o8())?"int":q.equals(oi().p8())||q.equals(oi().q8())?"float":q.equals(hi(At))?"Vector2":q.equals(hi(gi))?"IntVector2":q.equals(hi(ki))?"BooleanVector2":q.equals(hi(di))?"Vector3":q.equals(hi(pi))?"IntVector3":q.equals(hi($i))?"BooleanVector3":q.equals(hi(wi))?"Vector4":q.equals(hi(vi))?"IntVector4":q.equals(hi(ci))?"BooleanVector4":q.equals(hi(fi))?"Matrix33":q.equals(hi(li))?"Matrix44":q.equals(hi(ai))?"ColorRGBa":q.equals(hi(le))?"DepthBuffer":"struct "+hi(di).y7();if(null==y){var j="shade style type not supported: "+hi(di).y7();throw Zt(jt(j))}if(n===y)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(gi))?"IntVector2":S.equals(hi(ki))?"BooleanVector2":S.equals(hi(di))?"Vector3":S.equals(hi(pi))?"IntVector3":S.equals(hi($i))?"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(gi))?"IntVector2":A.equals(hi(ki))?"BooleanVector2":A.equals(hi(di))?"Vector3":A.equals(hi(pi))?"IntVector3":A.equals(hi($i))?"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(gi),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(gi))?"IntVector2":I.equals(hi(ki))?"BooleanVector2":I.equals(hi(di))?"Vector3":I.equals(hi(pi))?"IntVector3":I.equals(hi($i))?"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(gi).y7();if(null==T){var N="shade style type not supported: "+hi(gi).y7();throw Zt(jt(N))}if(n===T)t="ivec2";else{var M=hi(pi),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(gi))?"IntVector2":M.equals(hi(ki))?"BooleanVector2":M.equals(hi(di))?"Vector3":M.equals(hi(pi))?"IntVector3":M.equals(hi($i))?"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(pi).y7();if(null==B){var O="shade style type not supported: "+hi(pi).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(gi))?"IntVector2":D.equals(hi(ki))?"BooleanVector2":D.equals(hi(di))?"Vector3":D.equals(hi(pi))?"IntVector3":D.equals(hi($i))?"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")?mi(n,7):null}}}}}}}}}}return t}(n);if(null==t)throw Zt(jt("unsupported type "+n));return t}function Br(){}function Or(n){this.g12_1=n}function Dr(n,t,i,e,r,s,_,u,o,h,a,l,f,c,v){n=n===qt?null:n,t=t===qt?null:t,i=i===qt?null:i,e=e===qt?null:e,r=r===qt?null:r,s=s===qt?null:s,_=_===qt?null:_,u=u===qt?null:u,o=o===qt?null:o,h=h===qt?null:h,a=a===qt?null:a,l=l===qt?null:l,f=f===qt?null:f,c=c===qt?null:c,v=v!==qt&&v,this.k12_1=n,this.l12_1=t,this.m12_1=i,this.n12_1=e,this.o12_1=r,this.p12_1=s,this.q12_1=_,this.r12_1=u,this.s12_1=o,this.t12_1=h,this.u12_1=a,this.v12_1=l,this.w12_1=f,this.x12_1=c,this.y12_1=v}function Fr(){}function Vr(){if(Qn)return zt;Qn=!0,Un=new Gr("VERTEX",0),Hn=new Gr("TESSELLATION_CONTROL",1),Kn=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 Hr(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 Kr(){}function Yr(n,t,i){return i=i===qt?Vn.gv():i,pt.d13(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.l13_1=i,this.m13_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.rv_1=_i(),this.sv_1=0}function ss(n){var t=new rs;return n(t),t}function _s(n,t,i,e){this.t13_1=n,this.u13_1=t,this.v13_1=i,this.w13_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=pt,t=new rs;t.n13(3),t.o13(3),t.r13(2),this.d10_1=n.d13(t,6,Vn.k11()),this.e10_1=f.ov(1e4),this.f10_1=0;var i=Ri(0,Ar().d11()),e=Ii(Li(i,10)),r=i.pb_1,s=i.qb_1;if(r<=s)do{var _=r;r=r+1|0;var u=f.ov(1);e.e(u)}while(_!==s);this.g10_1=e;var o,h,a=Pn,l=(o=kt.kw().z13(),(h=function(n){return o.x13(n)}).callableName="circleVertexShader",h);this.h10_1=a.f12("circle",l,qt,qt,qt,function(n){var t=function(t){return n.y13(t)};return t.callableName="circleFragmentShader",t}(kt.kw().z13()));var c=this.d10_1.a14().i13();c.b14();var v=new di(-1,-1,0),w=new di(1,-1,0),$=new di(1,1,0),p=new di(-1,1,0),d=new At(0,0),k=new At(1,0),g=new At(1,1),m=new At(0,1),b=new di(0,0,-1);c.c14(v),c.c14(b),c.d14(d),c.c14(p),c.c14(b),c.d14(m),c.c14($),c.c14(b),c.d14(g),c.c14($),c.c14(b),c.d14(g),c.c14(w),c.c14(b),c.d14(k),c.c14(v),c.c14(b),c.d14(d),this.d10_1.a14().g13()}function ls(n,t,i){this.j15_1=n,this.k15_1=t,this.l15_1=i}function fs(n,t,i,e,r){var s,_,u,o;return t?(s=e.m15_1+i.p15_1*r,_=e.n15_1-i.o15_1*r,u=e.m15_1+e.p15_1*r,o=e.n15_1-e.o15_1*r):(s=e.m15_1+e.r15_1*r,_=e.n15_1+e.s15_1*r,u=e.m15_1+e.r15_1*r,o=e.n15_1+e.s15_1*r),new Float64Array([s,_,u,o])}function cs(n,t,i){this.u15_1=n,this.v15_1=t,this.w15_1=i,this.x15_1=0,this.y15_1=1/0,this.z15_1=-1/0,this.a16_1=1/0,this.b16_1=-1/0,this.c16_1=this.w15_1}function vs(){}function ws(n,t,i,e,r){if(t.l())return zt;n.o16_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.p15_1,c=-u.o15_1,v=o.p15_1,w=-o.o15_1;o.r15_1=.5*(f+v),o.s15_1=.5*(c+w);var $=o.r15_1*o.r15_1+o.s15_1*o.s15_1;if($>1e-6){var p=1/$;p>600&&(p=600);var d=o;d.r15_1=d.r15_1*p;var k=o;k.s15_1=k.s15_1*p}o.t15_1=1&o.t15_1?1:0,o.o15_1*u.p15_1-u.o15_1*o.p15_1>0&&(_=_+1|0,o.t15_1=2|o.t15_1);var g=u.q15_1,m=o.q15_1,b=Math.min(g,m)*s,x=Math.max(1.01,b);$*x*x<1&&(o.t15_1=8|o.t15_1),1&o.t15_1&&($*r*r<1||e===wr()||e===$r())&&(o.t15_1=4|o.t15_1),12&o.t15_1&&(n.o16_1=n.o16_1+1|0),u=o,(h=h+1|0)>31)|0;i=n.b17_1.k(_)}else i=n.a17_1;return i}function ys(n){return n.n13(2),n.r13(2),n.tv("vertexOffset",Jr()),zt}function js(){var n,t,i=Pn,e=(n=kt.kw().z13(),(t=function(t){return n.f17(t)}).callableName="expansionVertexShader",t);this.y16_1=i.f12("expansion",e,qt,qt,qt,function(n){var t=function(t){return n.g17(t)};return t.callableName="expansionFragmentShader",t}(kt.kw().z13())),this.z16_1=ss(ys),this.a17_1=pt.d13(this.z16_1,4194304,Vn.k11());var r=Ar().d11(),s=Ii(r),_=0;if(_1e-4)switch(this.nz_1.jx_1.c1_1){case 1:switch(n.cu_1){case!0:case!1:this.bz_1.r10(this.b7(),this.nz_1,Jt(n.os(r)));break;default:Dt()}break;case 0:var a=n.ou(r),l=Jt(a.na_1),f=Jt(a.oa_1);switch(n.cu_1){case!0:this.dz_1.t10(this.b7(),this.nz_1,l,f,s);break;case!1:this.dz_1.u10(this.b7(),this.nz_1,l,f,s);break;default:Dt()}break;default:Dt()}},bt(Er).c11=function(){var n=this.w10_1;return ri("disableVertexBufferOptimizations",1,ei,(function(n){return n.c11()}),null),n.s()},bt(Er).b11=function(){var n=this.x10_1;return ri("forceVertexBufferOptimizations",1,ei,(function(n){return n.b11()}),null),n.s()},bt(Er).a11=function(){var n=this.y10_1;return ri("vertexBufferMultiBufferHint",1,ei,(function(n){return n.a11()}),null),n.s()},bt(Er).d11=function(){var n=this.z10_1;return ri("vertexBufferMultiBufferCount",1,ei,(function(n){return n.d11()}),null),n.s()},bt(Rr).gv=function(){return kt.kw().e11()},bt(Tr).j11=function(){var n,t=Ir(),i=kt.kw().lw(),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).gv=function(){return this.j11().v9()},bt(Tr).k11=function(){return this.j11().u9()},bt(Nr).c12=function(n){return this.t11_1.e(n)},bt(Br).d12=function(n,t,i,e,r,s){return kt.kw().e12(n,t,i,e,r,s)},bt(Br).f12=function(n,t,i,e,r,s,_){return i=i===qt?null:i,e=e===qt?null:e,r=r===qt?null:r,_===qt?this.d12(n,t,i,e,r,s):_.d12.call(this,n,t,i,e,r,s)},bt(Or).i12=function(n,t,i,e){return i=i===qt?xi():i,e===qt?this.h12(n,t,i):e.h12.call(this,n,t,i)},bt(Or).j12=function(n,t){return this.h12(n,Jt(t),xi())},bt(Dr).toString=function(){return"ShadeStructure(structDefinitions="+this.k12_1+", uniforms="+this.l12_1+", attributes="+this.m12_1+", buffers="+this.n12_1+", vertexTransform="+this.o12_1+", geometryTransform="+this.p12_1+", fragmentTransform="+this.q12_1+", vertexPreamble="+this.r12_1+", geometryPreamble="+this.s12_1+", fragmentPreamble="+this.t12_1+", outputs="+this.u12_1+", varyingOut="+this.v12_1+", varyingIn="+this.w12_1+", varyingBridge="+this.x12_1+", suppressDefaultOutput="+this.y12_1+")"},bt(Dr).hashCode=function(){var n=null==this.k12_1?0:qi(this.k12_1);return n=gt(n,31)+(null==this.l12_1?0:qi(this.l12_1))|0,n=gt(n,31)+(null==this.m12_1?0:qi(this.m12_1))|0,n=gt(n,31)+(null==this.n12_1?0:qi(this.n12_1))|0,n=gt(n,31)+(null==this.o12_1?0:qi(this.o12_1))|0,n=gt(n,31)+(null==this.p12_1?0:qi(this.p12_1))|0,n=gt(n,31)+(null==this.q12_1?0:qi(this.q12_1))|0,n=gt(n,31)+(null==this.r12_1?0:qi(this.r12_1))|0,n=gt(n,31)+(null==this.s12_1?0:qi(this.s12_1))|0,n=gt(n,31)+(null==this.t12_1?0:qi(this.t12_1))|0,n=gt(n,31)+(null==this.u12_1?0:qi(this.u12_1))|0,n=gt(n,31)+(null==this.v12_1?0:qi(this.v12_1))|0,n=gt(n,31)+(null==this.w12_1?0:qi(this.w12_1))|0,n=gt(n,31)+(null==this.x12_1?0:qi(this.x12_1))|0,gt(n,31)+Pt(this.y12_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.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&&this.q12_1==t.q12_1&&this.r12_1==t.r12_1&&this.s12_1==t.s12_1&&this.t12_1==t.t12_1&&this.u12_1==t.u12_1&&this.v12_1==t.v12_1&&this.w12_1==t.w12_1&&this.x12_1==t.x12_1&&this.y12_1===t.y12_1},bt(Fr).z12=function(n,t,i,e,r,s,_){var u=kt.kw().a13(n,t,i,e,r,s,_);return null==_||_.c12(u),u},bt(rs).j=function(){return this.sv_1},bt(rs).n13=function(n){return this.tv("position",es(0,n))},bt(rs).o13=function(n){return this.tv("normal",es(0,n))},bt(rs).p13=function(n){return this.tv("color",es(0,n))},bt(rs).q13=function(n,t){return this.tv("texCoord"+t,es(0,n))},bt(rs).r13=function(n,t,i){var e;return n=n===qt?2:n,t=t===qt?0:t,i===qt?(this.q13(n,t),e=zt):e=i.q13.call(this,n,t),e},bt(rs).s13=function(n,t,i){for(var e=0,r=this.rv_1.g();r.h();){var s=r.i();e=e+gt(s.w13_1,s.v13_1.m13_1)|0}var _=new _s(n,e,t,i);this.rv_1.e(_),this.sv_1=this.sv_1+gt(t.m13_1,i)|0},bt(rs).tv=function(n,t,i,e){var r;return i=i===qt?1:i,e===qt?(this.s13(n,t,i),r=zt):r=e.s13.call(this,n,t,i),r},bt(rs).toString=function(){return"VertexFormat{items="+this.rv_1+", vertexSize="+this.sv_1+Ai(Ei(125))},bt(rs).equals=function(n){return this===n||n instanceof rs&&Nt(this.rv_1,n.rv_1)},bt(rs).hashCode=function(){return Wt(this.rv_1)},bt(_s).toString=function(){return"VertexElement(attribute="+this.t13_1+", offset="+this.u13_1+", type="+this.v13_1.toString()+", arraySize="+this.w13_1+")"},bt(_s).hashCode=function(){var n=qi(this.t13_1);return n=gt(n,31)+this.u13_1|0,n=gt(n,31)+this.v13_1.hashCode()|0,gt(n,31)+this.w13_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.t13_1===t.t13_1&&this.u13_1===t.u13_1&&!!this.v13_1.equals(t.v13_1)&&this.w13_1===t.w13_1},bt(as).i10=function(n,t,i,e,r){var s=this.f10_1,_=this.g10_1.j(),u=s%_|0,o=u+(_&((u^_)&(u|-u))>>31)|0,h=this.g10_1.k(o),a=h.pv_1.a14().i13();a.b14(),a.c14(new di(i,e,0));var l=Math.abs(r);a.d14(Ti(l)),h.pv_1.a14().h13(0,1);var f=h.qv_1.a14().i13();f.b14();var c=t.cx_1,v=null==c?null:c.po();f.e14(null==v?Ft().fo_1:v);var w,$=t.dx_1,p=null==$?null:$.po();if(f.e14(null==p?Ft().fo_1:p),null==t.dx_1)w=!0;else{var d=t.dx_1;w=0===(null==d?null:d.lo_1)}var k=w?0:t.gx_1;f.f14(k),h.qv_1.a14().h13(0,1),this.g14(n,t,h,1),this.f10_1=this.f10_1+1|0},bt(as).g14=function(n,t,i,e){var r=Ni([i.pv_1,i.qv_1]),s=Ni([i.pv_1.jv(),i.qv_1.jv()]),_=this.h10_1.h12(t.qx_1,Jt(this.d10_1.jv()),s);_.h14(),n.iw(_),t.iw(_),kt.kw().i14(t);var u=kt.kw(),o=Jt(this.d10_1),h=t.qx_1,a=null==h?null:h.d15_1,l=null==a?xi():a;u.h15(_,o,Mi(r,l),hr(),0,6,0,e,0),_.i15()},bt(ls).toString=function(){return"DriverProperties(maxRenderTargetSamples="+this.j15_1+", maxTextureSamples="+this.k15_1+", maxTextureSize="+this.l15_1+")"},bt(ls).hashCode=function(){var n=this.j15_1;return n=gt(n,31)+this.k15_1|0,gt(n,31)+this.l15_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.j15_1===t.j15_1&&this.k15_1===t.k15_1&&this.l15_1===t.l15_1},bt(cs).d16=function(n,t,i,e,r,s,_){var u=n.p15_1,o=-n.o15_1,h=t.p15_1,a=-t.o15_1;if(u!=u||o!=o||h!=h||a!=a||i!=i||e!=e||n.m15_1!=n.m15_1||n.n15_1!=n.n15_1||t.m15_1!=t.m15_1||t.n15_1!=t.n15_1)return zt;if(2&t.t15_1){var l=fs(0,!!(8&t.t15_1),n,t,i),f=l[0],c=l[1],v=l[2],w=l[3];if(this.e16(f,c,r,1,_),this.e16(t.m15_1-u*e,t.n15_1-o*e,s,1,_),4&t.t15_1)this.e16(f,c,r,1,_),this.e16(t.m15_1-u*e,t.n15_1-o*e,s,1,_),this.e16(v,w,r,1,_),this.e16(t.m15_1-h*e,t.n15_1-a*e,s,1,_);else{var $=t.m15_1-t.r15_1*e,p=t.n15_1-t.s15_1*e;this.e16(t.m15_1,t.n15_1,.5,1,_),this.e16(t.m15_1-u*e,t.n15_1-o*e,s,1,_),this.e16($,p,s,1,_),this.e16($,p,s,1,_),this.e16(t.m15_1,t.n15_1,.5,1,_),this.e16(t.m15_1-h*e,t.n15_1-a*e,s,1,_)}this.e16(v,w,r,1,_),this.e16(t.m15_1-h*e,t.n15_1-a*e,s,1,_)}else{var d=fs(0,!!(8&t.t15_1),n,t,-e),k=d[0],g=d[1],m=d[2],b=d[3];if(this.e16(t.m15_1+u*i,t.n15_1+o*i,r,1,_),this.e16(k,g,s,1,_),4&t.t15_1)this.e16(t.m15_1+u*i,t.n15_1+o*i,r,1,_),this.e16(k,g,s,1,_),this.e16(t.m15_1+h*i,t.n15_1+a*i,r,1,_),this.e16(m,b,s,1,_);else{var x=t.m15_1+t.r15_1*i,q=t.n15_1+t.s15_1*i;this.e16(t.m15_1+u*i,t.n15_1+o*i,r,1,_),this.e16(t.m15_1,t.n15_1,.5,1,_),this.e16(x,q,r,1,_),this.e16(x,q,r,1,_),this.e16(t.m15_1+h*i,t.n15_1+a*i,r,1,_),this.e16(t.m15_1,t.n15_1,.5,1,_)}this.e16(t.m15_1+h*i,t.n15_1+a*i,r,1,_),this.e16(m,b,s,1,_)}},bt(cs).f16=function(n,t,i,e,r,s,_,u){var o=n.p15_1,h=-n.o15_1,a=t.p15_1,l=-t.o15_1;if(2&t.t15_1){var f=fs(0,!!(8&t.t15_1),n,t,i),c=f[0],v=f[1],w=f[2],$=f[3],p=-h,d=-o,k=Math.atan2(p,d),g=-l,m=-a,b=Math.atan2(g,m);b>k&&(k+=6.283185307179586),(k<0||b<0)&&(k+=6.283185307179586,b+=6.283185307179586),this.e16(c,v,r,1,u),this.e16(t.m15_1-o*e,t.n15_1-h*e,s,1,u);var x=(k-b)/3.141592653589793*_,q=Math.ceil(x),y=Oi(Bi(_,si(q)),2),j=0;if(j0||0===_&&!this.n16_1)){var o="consecutive point duplication in input geometry at ("+_+" and "+(_+1|0)+") ("+t.m15_1+","+t.n15_1+")";throw Ct(jt(o))}if(t.q15_1=Math.sqrt(u),t.q15_1>0){var h=t;h.o15_1=h.o15_1/t.q15_1;var a=t;a.p15_1=a.p15_1/t.q15_1}else t.o15_1=0,t.p15_1=0;t=i,(e=e+1|0)1e-5;break;default:t=!0}return t}(this.p16_1.k(0))){var _=this.p16_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.r16(_),ws(this,_,s,e,r);var o=0;o=o+(e.equals($r())?gt(1+(_.j()+gt(this.o16_1,u+2|0)|0)|0,2):gt(1+(_.j()+gt(this.o16_1,5)|0)|0,2))|0,this.n16_1||(o=o+(i.equals((Le(),hn))?gt(gt(u,2)+2|0,2):12)|0);var h=new cs((ps(),at),new Float32Array(gt(o,5)),0),a=0,l=n,f=this.n16_1?_.k(_.j()-1|0):_.k(0),c=this.n16_1?_.k(0):_.k(1),v=this.n16_1?0:1,w=this.n16_1?_.j():_.j()-1|0,$=this.n16_1?0:1;if(!this.n16_1){var p=c.m15_1-f.m15_1,d=c.n15_1-f.n15_1,k=p*p+d*d,g=Math.sqrt(k);switch(g>0&&(p/=g,d/=g),i.c1_1){case 1:h.g16(f,p,d,s,.5*-l,l,a);break;case 2:h.g16(f,p,d,s,s-l,l,a);break;case 0:h.i16(f,p,d,s,u,a);break;default:Dt()}}var m=v;if(m0&&(C/=E,S/=E),i.c1_1){case 1:h.h16(c,C,S,s,.5*-l,l,a);break;case 2:h.h16(c,C,S,s,s-l,l,a);break;case 0:h.j16(c,C,S,s,u,a);break;default:Dt()}}return h}return new cs(xs(),new Float32Array(0),0)},bt($s).t16=function(n,t,i,e){if(this.p16_1.l())return xi();for(var r=_i(),s=this.p16_1.g();s.h();){var _=s.i();this.r16(_)}for(var u=this.p16_1.g();u.h();)ws(this,u.i(),t,i,e);this.p16_1.j()>1&&(this.m16_1=!1),this.m16_1=!1;for(var o=.5*n,h=n>0,a=this.p16_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().t15_1?12:4)|0;var v=new cs(ms(),new Float32Array(gt(f,5)),0);if(h){var w=Fi(l),$=l.k(0),p=0,d=0,k=l.j()-1|0;if(d<=k)do{if(d=d+1|0,4&$.t15_1)if(2&$.t15_1)v.e16($.m15_1+$.r15_1*o,$.n15_1+$.s15_1*o,.5,1,0);else{var g=w.p15_1,m=-w.o15_1,b=$.p15_1,x=-$.o15_1,q=$.m15_1+g*o,y=$.n15_1+m*o,j=$.m15_1+b*o,C=$.n15_1+x*o;v.e16(q,y,.5,1,0),v.e16(j,C,.5,1,0)}else v.e16($.m15_1+$.r15_1*o,$.n15_1+$.s15_1*o,.5,1,0);w=$,(p=p+1|0)0&&(o=a,h=l)}while(u.h());s=o}else s=o}else s=null;var f=null==s?null:s.m17_1;if(null==f)throw Zt(jt("no commands"));var c,v=f,w=i.g();if(w.h()){var $=w.i();if(w.h()){var p=$.n17_1;do{var d=w.i(),k=d.n17_1;Pi(p,k)>0&&($=d,p=k)}while(w.h());c=$}else c=$}else c=null;var g=null==c?null:c.n17_1;if(null==g)throw Zt(jt("no commands"));var m,b=g,x=i.g();if(x.h()){var q=x.i();if(x.h()){var y=q.o17_1;do{var j=x.i(),C=j.o17_1;Pi(y,C)<0&&(q=j,y=C)}while(x.h());m=q}else m=q}else m=null;var S=null==m?null:m.o17_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.p17_1;do{var I=A.i(),T=I.p17_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.p17_1;if(null==N)throw Zt(jt("no commands"));var M=N,B=i.k(0);r.q17("bounds",new wi(B.m17_1,B.n17_1,B.o17_1-B.m17_1,B.p17_1-B.n17_1)),_.vx_1=new We,_.wx_1=new We,_.vx_1.qy_1=255,_.wx_1.qy_1=255,_.vx_1.ty(dr(),dr(),(Ue(),En)),_.wx_1.ty(dr(),dr(),(Ue(),An)),_.vx_1.sy(mr(),0,255),_.wx_1.sy(mr(),0,255),_.ox_1=Fe().fy_1,_.nx_1=pr(),kt.kw().i14(_);for(var O=i.g();O.h();){var D=O.i();D.j17_1.equals(ms())&&kt.kw().r17(r,Jt(D.i17_1),lr(),D.k17_1,D.l17_1,0)}_.vx_1=_.ux_1,_.wx_1=_.ux_1,_.ox_1=Fe().gy_1,r.pw("strokeThr",0),r.uw("strokeMult",1),_.ux_1.sy(gr(),0,255),_.ux_1.ty(dr(),dr(),dr()),kt.kw().i14(_);for(var F=i.g();F.h();){var V=F.i();V.j17_1.equals(bs())&&kt.kw().r17(r,Jt(V.i17_1),ar(),V.k17_1,V.l17_1,0)}kt.kw().i14(_),r.pw("strokeThr",-1),r.uw("strokeMult",1),_.ux_1.sy((Ke(),In),0,255),_.ux_1.oy_1=1,_.ux_1.ty(kr(),kr(),kr()),_.ox_1=Fe().gy_1,_.nx_1=pr();var G=this.e17_1,P=this.c17_1.j(),W=G%P|0,U=W+(P&((W^P)&(W|-W))>>31)|0,H=this.c17_1.k(U),K=H.a14().i13();K.b14(),K.u17(v,b),K.v17(.5,1,0),K.u17(v,M),K.v17(.5,1,0),K.u17(E,M),K.v17(.5,1,0),K.u17(E,M),K.v17(.5,1,0),K.u17(E,b),K.v17(.5,1,0),K.u17(v,b),K.v17(.5,1,0),H.a14().g13(),this.e17_1=this.e17_1+1|0,kt.kw().i14(_),kt.kw().r17(r,Jt(H),hr(),0,6,0),_.ux_1.ry_1=br(),r.i15()},bt(js).w17=function(n,t,i){if(t.x15_1>0){var e=new Cs(n,t.u15_1,i,t.x15_1+2|0,t.y15_1,t.a16_1,t.z15_1,t.b16_1),r=n.a14().i13();r.x17(i);var s=r,_=(t.c16_1-t.w15_1|0)/t.x15_1|0;return s.y17(t.v15_1,t.w15_1,_),s.y17(t.v15_1,t.w15_1,t.c16_1-t.w15_1|0),s.y17(t.v15_1,t.w15_1+gt(_,t.x15_1-1|0)|0,_),e}return new Cs(n,xs(),0,0,0,0,0,0)},bt(js).z17=function(n,t){for(var i=0,e=_i(),r=t.g();r.h();){var s=r.i(),_=this.w17(n,s,i);_.j17_1.equals(xs())||(e.e(_),i=i+(s.x15_1+2|0)|0)}return n.a14().h13(0,i),e},bt(js).a18=function(n,t,i,e){for(var r=0,s=i.g();s.h();)r=r+s.i().x15_1|0;var _=r;this.h17(n,t,this.z17(qs(this,_),i),e)},bt(js).b18=function(n,t,i,e,r){if(e){for(var s=0,_=i.g();_.h();)s=s+_.i().x15_1|0;var u=s;this.s17(n,t,this.z17(qs(this,u),i),r)}else{for(var o=0,h=i.g();h.h();)o=o+h.i().x15_1|0;var a=o;this.t17(n,t,this.z17(qs(this,a),i),r)}},bt(Cs).toString=function(){return"Command(vertexBuffer="+jt(this.i17_1)+", type="+this.j17_1.toString()+", vertexOffset="+this.k17_1+", vertexCount="+this.l17_1+", minX="+this.m17_1+", minY="+this.n17_1+", maxX="+this.o17_1+", maxY="+this.p17_1+")"},bt(Cs).hashCode=function(){var n=Wt(this.i17_1);return n=gt(n,31)+this.j17_1.hashCode()|0,n=gt(n,31)+this.k17_1|0,n=gt(n,31)+this.l17_1|0,n=gt(n,31)+It(this.m17_1)|0,n=gt(n,31)+It(this.n17_1)|0,n=gt(n,31)+It(this.o17_1)|0,gt(n,31)+It(this.p17_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.i17_1,t.i17_1)&&this.j17_1.equals(t.j17_1)&&this.k17_1===t.k17_1&&this.l17_1===t.l17_1&&Nt(this.m17_1,t.m17_1)&&Nt(this.n17_1,t.n17_1)&&Nt(this.o17_1,t.o17_1)&&Nt(this.p17_1,t.p17_1))},bt(Ts).r10=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.p10_1=n.p10_1+1|0;var e=n.p10_1,r=n.o10_1.j(),s=e%r|0,_=s+(r&((s^r)&(s|-s))>>31)|0;i=n.o10_1.k(_)}else i=n.n10_1;return i}(this,e),_=this.q10_1.j12(t.qx_1,this.m10_1);_.h14(),n.iw(_),t.iw(_);var u=s.a14().i13();u.b14();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.l16(h,e.k(l),!1).s16(s,t.gx_1/2,t.ex_1,t.fx_1,t.ix_1);_.e(f)}var c=_;this.s10_1.a18(n,t,c,s)}},bt(Ms).t10=function(n,t,i,e,r){var s=t.hx_1?r:0;if(null!=t.dx_1&&t.gx_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.l16(h,e.k(l),!0).s16(s,t.gx_1/2,t.ex_1,t.fx_1,t.ix_1);_.e(f)}var c=_;this.s10_1.a18(n,t,c,s)}},bt(Bs).l10=function(n,t,i,e,r){if(null!=t.cx_1&&!i.l()){var s=ht.q16(i,e),_=t.dx_1,u=null==_?null:_.lo_1,o=null==u?0:u,h=t.hx_1?r*(1-o):0,a=s.t16(h,h,wr(),2.4);this.k10_1.b18(n,t,a,s.m16_1,h)}},bt(Ys).d1a=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).e1a=function(n,t,i,e,r,s,_){return n=n===qt?"v_instance":n,t=t===qt?"0":t,i=i===qt?"gl_FragCoord.xy / u_contentScale":i,e=e===qt?"0.0":e,r=r===qt?"vec3(0.0)":r,s=s===qt?"vec3(0.0)":s,_===qt?this.d1a(n,t,i,e,r,s):_.d1a.call(this,n,t,i,e,r,s)},bt(Ys).f1a=function(n,t){return Wi("\n |#define c_instance "+n+"\n |int c_element = "+t+";")},bt(Ys).g1a=function(n,t,i){return n=n===qt?"gl_InstanceID":n,t=t===qt?"0":t,i===qt?this.f1a(n,t):i.f1a.call(this,n,t)},bt(Ys).h1a=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).i1a=function(n,t){var i=Xs(n,Hs);return Wi("\n |// (ShadeStyleGLSL.kt)\n "+i+"\n "+Xs(t,Ks)+"\n |// \n ")},bt(Ys).j1a=function(n,t,i){return n=n===qt||n,t=t===qt||t,i===qt?this.i1a(n,t):i.i1a.call(this,n,t)},bt(Zs).d13=function(n,t,i){return kt.kw().k1a(n,t,i)},bt(Zs).m18=function(n,t,i,e){return i=i===qt?Vn.gv():i,e===qt?this.d13(n,t,i):e.d13.call(this,n,t,i)},bt(t_).kw=function(){var n=this.jw_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,$t=new Ys,pt=new Zs,dt=!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(),Hn},n.$_$.u=function(){return Vr(),Kn},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===qt?0:n,t=t===qt?gt(this.e13().kv(),this.e13().jv().j()):t,i===qt?(this.f13(n,t),e=zt):e=i.f13.call(this,n,t),e},n.$_$.e1=function(n,t,i,e,r,s,_,u){return i=i===qt?null:i,e=e===qt?null:e,r=r===qt?null:r,_=_===qt?Vn.k11():_,u===qt?this.m1a(n,t,i,e,r,s,_):u.m1a.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=$t,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=Hi,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(),q;case"BGR":return xe(),y;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 ye(),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 ye(),D;case"DXT3":return ye(),F;case"DXT5":return ye(),V;case"DXT1_SRGB":return ye(),G;case"DXT3_SRGB":return ye(),P;case"DXT5_SRGB":return ye(),W;case"BPTC_UNORM":return ye(),U;case"BPTC_UNORM_SRGB":return ye(),H;case"BPTC_FLOAT":return ye(),K;case"BPTC_UFLOAT":return ye(),Y;default:ye(),Bt("No enum constant value.")}},n.$_$.u1=Us,n.$_$.v1=le,n.$_$.w1=ze,n.$_$.x1=yr,n.$_$.y1=function(){return si(this.rz()*this.oz())},n.$_$.z1=function(){return si(this.qz()*this.oz())},n.$_$.a2=Lr,n.$_$.b2=Dr,n.$_$.c2=Or,n.$_$.d2=Qs,n.$_$.e2=Pr,n.$_$.f2=Wr,n.$_$.g2=Kr,n.$_$.h2=Ur,n.$_$.i2=function(n,t){this.f13(gt(n,this.e13().jv().j()),gt(t,this.e13().jv().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!==qt&&e))for(var s=t.c13_1.q().g();s.h();){var _=s.i(),u=_.r(),o=_.s();if(o instanceof Ur){var h=yi(t.b13_1,u);r=r+"\n"+n(o instanceof Ur?o:Tt(),mi(h,7))}}var a=e?"":r+"\n#ifndef STRUCT_"+i+"\n#define STRUCT_"+i+"\nstruct "+i+" {\n",l=ji(t.b13_1);return"\n "+a+"\n"+Si(Ci(l,"\n",qt,qt,qt,qt,Hr)," ")+"\n"+(e?"":"};\n#endif \n")+" \n"},n.$_$.o2=ls,n.$_$.p2=i_,n})?e.apply(t,r):e)||(n.exports=s)},41:(n,t,i)=>{var e,r,s;r=[t,i(887),i(490)],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.$_$.c1,h=t.$_$.b4,a=t.$_$.a5,l=t.$_$.p3,f=i.$_$.a;function c(){return d(),e}function v(n,t){return function(){return"Exception thrown in listener ('"+n.uu_1+"'): "+s(t).y7()+"; '"+t.message+"'"}}function w(n,t){return function(){return"Exception thrown in one-shot listener ('"+n.uu_1+"'): "+s(t).y7()+"; '"+t.message+"'"}}function $(n,t){n=n===_?"":n,t=t!==_&&t,this.uu_1=n,this.vu_1=t,this.wu_1=u(),this.xu_1=u(),this.yu_1=u()}function p(){return d(),o}function d(){r||(r=!0,e=f.dd(p))}return l($,"Event",$),h($).zu=function(n){this.yu_1.e(n),this.av()},h($).av=function(){if(this.yu_1.j()>0){var n=u();n.p(this.yu_1),this.yu_1.b3();for(var t=n.g();t.h();){for(var i=t.i(),e=this.wu_1.g();e.h();){var r=e.i();try{r(i)}catch(n){if(n instanceof a){var s=n;throw c().ad(v(this,s)),s}throw n}}for(var _=this.xu_1.g();_.h();){var o=_.i();try{o(i)}catch(n){if(n instanceof a){var h=n;throw c().ad(w(this,h)),h}throw n}}this.xu_1.b3()}}},h($).bv=function(n){return this.wu_1.e(n),n},n.$_$=n.$_$||{},n.$_$.a=$,n})?e.apply(t,r):e)||(n.exports=s)},78:(n,t,i)=>{var e,r,s;r=[t,i(887),i(859),i(703),i(398)],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.$_$.b4,v=(t.$_$.c1,t.$_$.p3),w=t.$_$.d5,$=t.$_$.d4,p=t.$_$.q,d=i.$_$.f,k=i.$_$.g,g=i.$_$.e,m=t.$_$.j5,b=t.$_$.p4,x=t.$_$.v1,q=t.$_$.t4,y=t.$_$.m4,j=i.$_$.s1,C=i.$_$.t1,S=i.$_$.l1,z=i.$_$.m2,E=t.$_$.z1,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.$_$.o5,H=t.$_$.o3,K=t.$_$.e5,Y=t.$_$.i3,X=i.$_$.b2,Q=t.$_$.f,Z=t.$_$.d2,J=t.$_$.g,nn=t.$_$.d1,tn=i.$_$.k1,en=i.$_$.c2,rn=t.$_$.n1,sn=t.$_$.g1,_n=t.$_$.h2,un=i.$_$.j1,on=i.$_$.v,hn=i.$_$.t,an=i.$_$.u,ln=i.$_$.s,fn=i.$_$.r,cn=i.$_$.h1,vn=t.$_$.g5,wn=i.$_$.i1,$n=t.$_$.o4,pn=t.$_$.x4,dn=t.$_$.k4,kn=i.$_$.o1,gn=t.$_$.x3,mn=i.$_$.d2,bn=i.$_$.g2,xn=t.$_$.r3,qn=t.$_$.u1,yn=t.$_$.a,jn=t.$_$.s,Cn=t.$_$.w1,Sn=i.$_$.h2,zn=e.$_$.m,En=t.$_$.p,An=t.$_$.r1,Rn=t.$_$.u3,Ln=t.$_$.l1,In=e.$_$.t,Tn=e.$_$.u,Nn=e.$_$.v,Mn=r.$_$.b,Bn=e.$_$.r,On=t.$_$.w3,Dn=t.$_$.n2,Fn=t.$_$.v3,Vn=i.$_$.l2,Gn=i.$_$.m1,Pn=i.$_$.n1,Wn=i.$_$.u1,Un=i.$_$.p1,Hn=i.$_$.v1,Kn=i.$_$.r1,Yn=e.$_$.p,Xn=e.$_$.o,Qn=e.$_$.n,Zn=e.$_$.q,Jn=t.$_$.q4,nt=t.$_$.g2,tt=t.$_$.j,it=t.$_$.p1,et=i.$_$.a,rt=i.$_$.n2;function st(n){n=n===a?1e3:n,this.x1j_1=n,this.y1j_1=l(),this.z1j_1=f()}function _t(n){var t,i=new w(n.d1k_1.xw(),n.e1k_1.ax());if(i.equals(new w(1,g())))t="float";else if(i.equals(new w(2,g())))t="vec2";else if(i.equals(new w(3,g())))t="vec3";else if(i.equals(new w(4,g())))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,d())))t="int";else if(i.equals(new w(2,d())))t="ivec2";else if(i.equals(new w(3,d())))t="ivec3";else{if(!i.equals(new w(4,d())))throw p($("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:m()}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=q(e.k(0),1).toLowerCase()+y(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:m()}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:m()}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:m()}return t}function ft(n){var t=n.f1k_1;return E(t,"\n",a,a,a,a,$t)}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 p($(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:m()}return t}function wt(n,t,i){return null==n?";":"["+t+"]; \n#define p_"+i+"_SIZE "+t}function $t(n){return n instanceof W?1===n.m1k_1?vt(n.l1k_1)+" "+n.k1k_1+";":vt(n.l1k_1)+"["+n.m1k_1+"] "+n.k1k_1+";":n instanceof P?1===n.j1k_1?n.h1k_1+" "+n.i1k_1+";":n.h1k_1+"["+n.j1k_1+"] "+n.i1k_1+";":""}function pt(n,t,i){this.n1k_1=n,this.o1k_1=t,this.p1k_1=i}function dt(n,t,i){St();var e,r,_,u=new pt(n,t,i),o=(St(),s),h=null==n?null:n.j14_1,f=null!=h&&h;return o.b1k(u,f,(e=n,r=t,_=i,function(){null==e||(e.j14_1=!1);var n=new X;if(null!=e){n.o12_1=e.o14_1,n.p12_1=e.p14_1,n.q12_1=e.q14_1,n.r12_1=e.l14_1,n.s12_1=e.m14_1,n.t12_1=e.n14_1,n.k12_1=function(n){for(var t=n.g1m(),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.h1m(),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(),$=Q(sn(v,10)),p=v.g();p.h();){var d,k=p.i(),g=n.r1l().z(k),m=null==g?n.g1l().z(k):g;if(null!=m&&Rn(m)){var x=n.r1l().z(k),q=null==x?n.g1l().z(k):x,y=null!=q&&Rn(q)?q:K();d=new w(k,qn(y))}else{var j,C=n.r1l().z(k);if(null==C){var S=n.g1l().z(k),z=S instanceof bn?S:null;j=null==z?null:z.j1l_1}else j=C;var A=vn(j);d=new w(k,A instanceof Sn?A:K())}var R=d;$.e(R)}for(var L=$,I=tt(),T=J(),N=L.g();N.h();){var M=N.i(),B=yn(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.g1m().z(n.na_1),e=b(b(vn(null==i?O.h1m().z(n.na_1):i),[" "]).k(1),[","]).k(0);return rt(t,e,!1)}));var O}(e);for(var t=n,i=e.c15_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().c1k_1+") out "+_t(o.s())+" o_"+o.r()+";\n";s.e(h)}t.u12_1=E(s,""),n.l12_1=function(n){for(var t=n.g1m(),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.n12_1=E(Z([Tt(e),Nt(e)]),"\n")}for(var f=n,c=r,v=J(),$=c.g();$.h();){for(var p=$.i().rv_1,d=J(),k=p.g();k.h();){var g=k.i();"_"!==g.t13_1&&d.e(g)}nn(v,d)}for(var m=E(v,"",a,a,a,a,gt),x=_,q=J(),y=x.g();y.h();){for(var j=y.i().rv_1,C=J(),S=j.g();S.h();){var z=S.i();"_"!==z.t13_1&&C.e(z)}nn(q,C)}var A=q;f.v12_1=m+E(A,"",a,a,a,a,mt);for(var R=n,L=r,I=J(),T=L.g();T.h();){for(var N=T.i().rv_1,M=J(),B=N.g();B.h();){var O=B.i();"_"!==O.t13_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().rv_1,W=J(),U=P.g();U.h();){var H=U.i();"_"!==H.t13_1&&W.e(H)}nn(V,W)}var Y=V;R.w12_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().rv_1,on=J(),hn=un.g();hn.h();){var an=hn.i();"_"!==an.t13_1&&on.e(an)}nn(rn,on)}for(var ln=E(rn,"",a,a,a,a,qt),fn=_,cn=J(),wn=fn.g();wn.h();){for(var $n=wn.i().rv_1,pn=J(),dn=$n.g();dn.h();){var kn=dn.i();"_"!==kn.t13_1&&pn.e(kn)}nn(cn,pn)}var gn=cn;tn.x12_1=ln+E(gn,"",a,a,a,a,yt);for(var mn=n,xn=r,jn=J(),Cn=xn.g();Cn.h();){for(var zn=Cn.i().rv_1,En=J(),An=zn.g();An.h();){var Ln=An.i();"_"!==Ln.t13_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().rv_1,On=J(),Dn=Bn.g();Dn.h();){var Fn=Dn.i();"_"!==Fn.t13_1&&On.e(Fn)}nn(Nn,On)}var Vn=Nn;mn.m12_1=In+E(Vn,"",a,a,a,a,Ct);var Gn=n,Pn=null==e?null:e.e15_1;return Gn.y12_1=null!=Pn&&Pn,n}))}function kt(n){return St(),1===n.w13_1?"":"["+n.w13_1+"]"}function gt(n){return St(),ut(n.v13_1)+"out "+ot(n.v13_1)+" va_"+n.t13_1+kt(n)+";\n"}function mt(n){return St(),ut(n.v13_1)+"out "+ot(n.v13_1)+" vi_"+n.t13_1+kt(n)+";\n"}function bt(n){return St(),ut(n.v13_1)+"in "+ot(n.v13_1)+" va_"+n.t13_1+kt(n)+";\n"}function xt(n){return St(),ut(n.v13_1)+"in "+ot(n.v13_1)+" vi_"+n.t13_1+kt(n)+";\n"}function qt(n){return St()," va_"+n.t13_1+" = a_"+n.t13_1+";\n"}function yt(n){return St(),"vi_"+n.t13_1+" = i_"+n.t13_1+";\n"}function jt(n){return St(),"in "+ot(n.v13_1)+" a_"+n.t13_1+kt(n)+";\n"}function Ct(n){return St(),"in "+ot(n.v13_1)+" i_"+n.t13_1+kt(n)+";\n"}function St(){_||(_=!0,s=new st)}function zt(n,t){return tn.kw().n1a(t)+"\n"+n}function Et(n,t,i,e,r,s){en.call(this,n),this.r1k_1=t,this.s1k_1=i,this.t1k_1=e,this.u1k_1=r,this.v1k_1=s,this.w1k_1=0,this.x1k_1=0,this.y1k_1=null,this.z1k_1=l()}function At(){}function Rt(){}function Lt(){}function It(){}function Tt(n){for(var t=2,i=n.g1l(),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.i1m().z(_.r()),l=null==h?it():h,f=E(l," ",a,a,a,a,Mt),c=n.j1m().z(_.r()),v=lt(null==c?et():c),w=_.r(),d=u.j1l_1,k=rt(d,"",!0);s=E(Z([o,f,v,"buffer B_"+w+" { "+k+" } b_"+_.r()+";"])," ")}else if(gn(u,mn))s="layout(std430, binding = "+t+") buffer B_"+_.r()+" { "+ft(u.uv())+" } b_"+_.r()+";";else{if(!gn(u,kn)){var g="unsupported buffer type: "+$(u);throw p($(g))}var m=t,b=_.r(),x=_.s();s="layout(binding = "+m+", offset = 0) uniform atomic_uint b_"+b+"["+(gn(x,kn)?x:K()).j()+"];"}var q=s;t=t+1|0,e.e(q)}return E(e,"\n")}function Nt(n){for(var t=n.k1m(),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=q(_.k(0),1).toLowerCase()+y(_.k(0),1),l=j(_.k(1)),f=C(_.k(2)),c=ct(l,f);switch(f.ax().c1_1){case 2:o="i";break;case 1:o="u";break;default:o=""}var v,w=n.p1l().z(s.r());switch(w){case-1:v="";break;case 0:throw p($("zero-sized arrays are not supported"));default:v="["+w+"]"}var d=v,k="layout("+c+", binding = "+n.m1l().z(s.r())+")",g=n.l1m().z(s.r()),m=null==g?it():g,x=E(m," ",a,a,a,a,Bt),S=n.m1m().z(s.r());r=E(Z([k,x,lt(null==S?et():S),"uniform "+o+h+" p_"+s.r()+d+";"])," ");break;default:var z="unknown image type '"+u.k(0);throw p($(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(pt,"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.y1j_1.z(n)},c(st).a1k=function(n,t){this.y1j_1.j()>=this.x1j_1&&this.y1j_1.n3(this.z1j_1.y9()),this.y1j_1.m3(n,t),this.z1j_1.x9(n)},c(st).b1k=function(n,t,i){var e,r=this.z(n);if(t||null==r){var s=i();this.a1k(n,s),e=s}else e=r;return e},c(pt).toString=function(){return"CacheEntry(shadeStyle="+U(this.n1k_1)+", vertexFormats="+$(this.o1k_1)+", instanceAttributeFormats="+$(this.p1k_1)+")"},c(pt).hashCode=function(){var n=null==this.n1k_1?0:H(this.n1k_1);return n=h(n,31)+H(this.o1k_1)|0,h(n,31)+H(this.p1k_1)|0},c(pt).equals=function(n){if(this===n)return!0;if(!(n instanceof pt))return!1;var t=n instanceof pt?n:K();return!!Y(this.n1k_1,t.n1k_1)&&!!Y(this.o1k_1,t.o1k_1)&&!!Y(this.p1k_1,t.p1k_1)},c(Et).a1l=function(n){this.x1k_1=n},c(Et).b1l=function(){return this.x1k_1},c(Et).h12=function(n,t,i){for(var e=null==n?null:n.d15_1,r=null==e?rn():e,s=Q(sn(r,10)),_=r.g();_.h();){var u=_.i().jv();s.e(u)}var h=_n(i,s);if(null==n){if(null==this.y1k_1){var a=dt(n,t,h),l=un,f=zt(this.r1k_1(a),on()),c=this.s1k_1,v=null==c?null:c(a),w=null==v?null:zt(v,hn()),$=this.t1k_1,p=null==$?null:$(a),d=null==p?null:zt(p,an()),k=this.u1k_1,g=null==k?null:k(a);this.y1k_1=l.z12(f,w,d,null==g?null:zt(g,ln()),zt(this.v1k_1(a),fn()),"shade-style-default:"+this.g12_1,cn.k11())}return vn(this.y1k_1)}var m,b=dt(n,t,h),x=this.z1k_1,q=x.z(b);if(null==q){var y;try{var j=un,C=zt(this.r1k_1(b),on()),S=this.s1k_1,z=null==S?null:S(b),E=null==z?null:zt(z,hn()),A=this.t1k_1,R=null==A?null:A(b),L=null==R?null:zt(R,an()),I=this.u1k_1,T=null==I?null:I(b);y=j.z12(C,E,L,null==T?null:zt(T,ln()),zt(this.v1k_1(b),fn()),"shade-style-custom:"+this.g12_1+"-"+b.hashCode(),cn.k11())}catch(n){if(!(n instanceof Error))throw n;if(!o)throw n;y=this.h12(null,t,h)}var N=y;x.m3(b,N),m=N}else m=q;var M=m;return this.c1l(n,M),this.d1l(n,M),this.e1l(n,M),M},c(At).x19=function(n){var t=wn.h1a("d_vertex_buffer"),i=n.k12_1,e=null==i?"":i,r=n.n12_1,s=null==r?"":r,_=n.l12_1,u=null==_?"":_,o=wn.j1a(),h=n.w12_1,l=null==h?"":h,f=n.u12_1,c=null==f?"":f,v=wn.z19_1,w=n.y12_1?"":"out vec4 o_color;",$=wn.e1a(a,"v_instance"),p=n.t12_1,d=null==p?"":p,k=n.q12_1,g=null==k?null:$n(k," ");return pn("|\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|"+$+"\n|"+d+"\n|void main(void) {\n| vec4 x_fill = u_fill;\n| vec4 x_stroke = u_stroke;\n| {\n"+(null==g?"":g)+"\n| }\n "+(n.y12_1?"":" o_color = x_fill;\n o_color.rgb *= o_color.a;\n")+"\n|}")},c(At).w19=function(n){var t=wn.h1a("d_vertex_buffer"),i=n.k12_1,e=null==i?"":i,r=n.n12_1,s=null==r?"":r,_=wn.j1a(),u=n.m12_1,o=null==u?"":u,h=n.l12_1,a=null==h?"":h,l=n.v12_1,f=null==l?"":l,c=wn.a1a_1,v=n.r12_1,w=null==v?"":v,$=wn.g1a(),p=n.x12_1,d=null==p?"":p,k=n.m12_1,g=!0===(null==k?null:dn(k,"vec3 a_normal;"))?"x_normal = a_normal;":"",m=wn.b1a_1,b=n.o12_1,x=null==b?null:$n(b," ");return pn("\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"+$+"\n"+d+"\n vec3 x_normal = vec3(0.0, 0.0, 0.0);\n "+g+"\n vec3 x_position = a_position;\n float x_pointSize = 1.0;\n\n "+m+"\n {\n"+(null==x?"":x)+"\n }\n "+wn.c1a_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).o18=function(n){var t=wn.h1a("d_image"),i=n.k12_1,e=null==i?"":i,r=n.n12_1,s=null==r?"":r,_=n.l12_1,u=null==_?"":_,o=wn.j1a(),h=n.w12_1,l=null==h?"":h,f=wn.z19_1,c=n.u12_1,v=null==c?"":c,w=n.y12_1?"":"out vec4 o_color;",$=wn.e1a(a,a,a,a,"v_boundsPosition"),p=n.t12_1,d=null==p?"":p,k=n.q12_1,g=null==k?null:$n(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"+$+"\n"+d+"\nvoid main(void) {\n\n vec4 x_fill = texture(image, va_texCoord0);\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.y12_1?"":"o_color = x_fill;")+"\n}"},c(At).n18=function(n){var t=wn.h1a("d_image"),i=n.k12_1,e=null==i?"":i,r=n.n12_1,s=null==r?"":r,_=wn.j1a(),u=n.m12_1,o=null==u?"":u,h=n.l12_1,a=null==h?"":h,l=n.v12_1,f=null==l?"":l,c=wn.a1a_1,v=wn.g1a(),w=n.r12_1,$=null==w?"":w,p=n.x12_1,d=null==p?"":p,k=wn.b1a_1,g=n.o12_1,m=null==g?null:$n(g," ");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"+$+"\n\nflat out int v_instance;\n\nout vec3 v_boundsPosition;\nvoid main() {\n v_instance = gl_InstanceID;\n\n "+d+"\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==m?"":m)+"\n }\n "+wn.c1a_1+"\n gl_Position = v_clipPosition;\n}\n"},c(At).q18=function(n){var t=wn.h1a("d_image"),i=n.k12_1,e=null==i?"":i,r=n.n12_1,s=null==r?"":r,_=n.l12_1,u=null==_?"":_,o=wn.j1a(),h=n.w12_1,l=null==h?"":h,f=wn.z19_1,c=n.y12_1?"":"out vec4 o_color;",v=wn.e1a(a,a,a,a,"v_boundsPosition"),w=n.t12_1,$=null==w?"":w,p=n.q12_1,d=null==p?null:$n(p," ");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"+$+"\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==d?"":d)+"\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.y12_1?"":"o_color = x_fill;")+"\n}"},c(At).p18=function(n){var t=wn.h1a("d_image"),i=n.k12_1,e=null==i?"":i,r=n.n12_1,s=null==r?"":r,_=wn.j1a(),u=n.m12_1,o=null==u?"":u,h=n.l12_1,a=null==h?"":h,l=n.v12_1,f=null==l?"":l,c=wn.a1a_1,v=wn.g1a(),w=n.r12_1,$=null==w?"":w,p=n.x12_1,d=null==p?"":p,k=wn.b1a_1,g=n.o12_1,m=null==g?null:$n(g," ");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"+$+"\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 "+d+"\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==m?"":m)+"\n }\n "+wn.c1a_1+"\n gl_Position = v_clipPosition;\n}\n"},c(At).j19=function(n){var t=wn.h1a("d_circle"),i=n.k12_1,e=null==i?"":i,r=n.n12_1,s=null==r?"":r,_=n.l12_1,u=null==_?"":_,o=wn.j1a(a,!1),h=n.w12_1,l=null==h?"":h,f=wn.z19_1,c=n.y12_1?"":"out vec4 o_color;",v=wn.e1a(a,a,a,a,"vec3(0.0, 0.0, 0.0)","v_boundsSize"),w=n.t12_1,$=null==w?"":w,p=n.q12_1,d=null==p?null:$n(p," ");return pn("\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"+$+"\nvoid main(void) {\n\n\n vec4 x_fill = vi_fill;\n vec4 x_stroke = vi_stroke;\n {\n"+(null==d?"":d)+"\n }\n x_fill.rgb *= x_fill.a;\n "+(n.y12_1?"":"o_color = x_fill;")+"\n}\n\n ")},c(At).i19=function(n){var t=wn.h1a("d_point"),i=n.k12_1,e=null==i?"":i,r=n.n12_1,s=null==r?"":r,_=wn.j1a(a,!1),u=n.m12_1,o=null==u?"":u,h=n.l12_1,l=null==h?"":h,f=n.v12_1,c=null==f?"":f,v=wn.a1a_1,w=wn.g1a(),$=n.r12_1,p=null==$?"":$,d=n.x12_1,k=null==d?"":d,g=wn.b1a_1,m=n.o12_1,b=null==m?null:$n(m," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+_+"\n"+o+"\n"+l+"\n"+c+"\n"+v+"\n\n"+w+"\n"+p+"\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 "+g+"\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.c1a_1+"\n gl_Position = v_clipPosition;\n gl_PointSize = x_pointSize;\n va_pointSize = x_pointSize;\n}"},c(At).y13=function(n){var t=wn.h1a("d_circle"),i=n.k12_1,e=null==i?"":i,r=n.l12_1,s=null==r?"":r,_=n.n12_1,u=null==_?"":_,o=wn.j1a(a,!1),h=n.w12_1,l=null==h?"":h,f=wn.z19_1,c=n.y12_1?"":"out vec4 o_color;",v=n.t12_1,w=null==v?"":v,$=wn.e1a(a,a,a,a,"vec3(va_texCoord0, 0.0)","v_boundsSize"),p=n.q12_1,d=null==p?null:$n(p," ");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"+$+"\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==d?"":d)+"\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.y12_1?"":"o_color = final;")+"\n}\n"},c(At).x13=function(n){var t=wn.h1a("d_circle"),i=n.k12_1,e=null==i?"":i,r=n.n12_1,s=null==r?"":r,_=wn.j1a(a,!1),u=n.m12_1,o=null==u?"":u,h=n.l12_1,l=null==h?"":h,f=n.v12_1,c=null==f?"":f,v=wn.a1a_1,w=wn.g1a(),$=n.r12_1,p=null==$?"":$,d=n.x12_1,k=null==d?"":d,g=wn.b1a_1,m=n.o12_1,b=null==m?null:$n(m," ");return"\n// -- circle vertex shader\n"+t+"\n"+e+"\n"+s+"\n"+_+"\n"+o+"\n"+l+"\n"+c+"\n"+v+"\n\n"+w+"\n"+p+"\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 "+g+"\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.c1a_1+"\n gl_Position = v_clipPosition;\n\n}\n "},c(At).d18=function(n){var t=wn.h1a("d_font_image_map"),i=n.k12_1,e=null==i?"":i,r=n.n12_1,s=null==r?"":r,_=n.l12_1,u=null==_?"":_,o=wn.j1a(),h=n.w12_1,l=null==h?"":h,f=wn.z19_1,c=n.y12_1?"":"out vec4 o_color;",v=n.t12_1,w=null==v?"":v,$=wn.e1a("v_instance","v_element",a,a,"vec3(va_bounds.xy, 0.0)","vec3(va_bounds.zw, 0.0)"),p=n.q12_1,d=null==p?null:$n(p," ");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"+$+"\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==d?"":d)+"\n }\n vec4 final = x_fill;\n final.rgb *= final.a;\n "+(n.y12_1?"":"o_color = final;")+"\n}\n"},c(At).c18=function(n){var t=wn.h1a("d_font_image_map"),i=n.k12_1,e=null==i?"":i,r=n.n12_1,s=null==r?"":r,_=wn.j1a(),u=n.m12_1,o=null==u?"":u,h=n.l12_1,a=null==h?"":h,l=n.v12_1,f=null==l?"":l,c=wn.a1a_1,v=wn.g1a("int(a_position.z)"),w=n.r12_1,$=null==w?"":w,p=n.x12_1,d=null==p?"":p,k=wn.b1a_1,g=n.o12_1,m=null==g?null:$n(g," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+_+"\n\n"+o+"\n"+a+"\n"+f+"\n"+c+"\n"+v+"\n"+$+"\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 "+d+"\n "+k+"\n vec3 x_normal = vec3(0.0, 0.0, 1.0);\n vec3 x_position = decodedPosition;\n {\n"+(null==m?"":m)+"\n }\n "+wn.c1a_1+"\n gl_Position = v_clipPosition;\n}\n "},c(At).q19=function(n){var t=wn.h1a("d_rectangle"),i=n.k12_1,e=null==i?"":i,r=n.n12_1,s=null==r?"":r,_=n.l12_1,u=null==_?"":_,o=wn.j1a(a,!1),h=n.w12_1,l=null==h?"":h,f=n.u12_1,c=null==f?"":f,v=wn.z19_1,w=n.y12_1?"":"out vec4 o_color;",$=n.t12_1,p=null==$?"":$,d=wn.e1a(a,a,a,a,"vec3(va_texCoord0, 0.0)","v_boundsSize"),k=n.q12_1,g=null==k?null:$n(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"+p+"\nflat in int v_instance;\nin vec3 v_boundsSize;\n\n"+d+"\n\nvoid main(void) {\n vec4 x_fill = vi_fill;\n vec4 x_stroke = vi_stroke;\n {\n"+(null==g?"":g)+"\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.y12_1?"":" o_color = final;")+"\n}\n"},c(At).p19=function(n){var t=wn.h1a("d_rectangle"),i=n.k12_1,e=null==i?"":i,r=n.n12_1,s=null==r?"":r,_=wn.j1a(a,!1),o=n.m12_1,h=null==o?"":o,l=n.l12_1,f=null==l?"":l,c=n.v12_1,v=null==c?"":c,w=wn.a1a_1,$=wn.g1a(),p=n.r12_1,d=null==p?"":p,k=n.x12_1,g=null==k?"":k,m=wn.b1a_1,b=n.o12_1,x=null==b?null:$n(b," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+_+"\n"+h+"\n"+f+"\n"+v+"\n"+w+"\n\n"+$+"\n"+d+"\n\nflat out int v_instance;\nout vec3 v_boundsSize;\n"+u+"\n\nvoid main() {\n v_instance = gl_InstanceID;\n "+g+"\n "+m+"\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.c1a_1+"\n gl_Position = v_clipPosition;\n }\n "},c(At).g17=function(n){var t=wn.h1a("d_expansion"),i=n.k12_1,e=null==i?"":i,r=n.n12_1,s=null==r?"":r,_=n.l12_1,u=null==_?"":_,o=wn.j1a(),h=n.w12_1,l=null==h?"":h,f=wn.z19_1,c=n.y12_1?"":"out vec4 o_color;",v=n.t12_1,w=null==v?"":v,$=wn.e1a(a,a,a,"va_vertexOffset","vec3(v_objectPosition.xy - bounds.xy, 0.0) / vec3(bounds.zw,1.0)","vec3(bounds.zw, 0.0)"),p=n.q12_1,d=null==p?null:$n(p," ");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"+$+"\n\nvoid main(void) {\n\tfloat strokeAlpha = strokeMask();\n\n vec4 x_stroke = u_stroke;\n vec4 x_fill = u_fill;\n\n"+(null==d?"":d)+"\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.y12_1?"":"o_color = final;")+"\n}\n"},c(At).f17=function(n){var t=wn.h1a("d_expansion"),i=n.k12_1,e=null==i?"":i,r=n.n12_1,s=null==r?"":r,_=wn.j1a(),u=n.l12_1,o=null==u?"":u,h=n.m12_1,a=n.v12_1,l=null==a?"":a,f=wn.a1a_1,c=wn.g1a(),v=n.r12_1,w=null==v?"":v,$=n.x12_1,p=null==$?"":$,d=wn.b1a_1,k=n.o12_1,g=null==k?null:$n(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 "+p+"\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 "+d+"\n {\n"+(null==g?"":g)+"\n }\n "+wn.c1a_1+"\n\n gl_Position = v_clipPosition;\n}\n"},c(At).h19=function(n){var t=wn.h1a("d_fast_line"),i=n.k12_1,e=null==i?"":i,r=n.n12_1,s=null==r?"":r,_=n.l12_1,u=null==_?"":_,o=wn.j1a(),h=n.w12_1,a=null==h?"":h,l=wn.z19_1,f=n.y12_1?"":"out vec4 o_color;",c=n.t12_1,v=null==c?"":c,w=wn.e1a(),$=n.q12_1,p=null==$?null:$n($," ");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==p?"":p)+"\n }\n\n\n vec4 final = x_stroke;\n final = x_stroke;\n final.rgb *= final.a;\n "+(n.y12_1?"":"o_color = final;")+"\n}\n"},c(At).g19=function(n){var t=wn.h1a("d_fast_line"),i=n.k12_1,e=null==i?"":i,r=n.n12_1,s=null==r?"":r,_=wn.j1a(),u=n.m12_1,o=null==u?"":u,h=n.l12_1,a=null==h?"":h,l=n.v12_1,f=null==l?"":l,c=wn.a1a_1,v=wn.g1a(),w=n.r12_1,$=null==w?"":w,p=n.x12_1,d=null==p?"":p,k=wn.b1a_1,g=n.o12_1,m=null==g?null:$n(g," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+_+"\n"+o+"\n"+a+"\n"+f+"\n"+c+"\n\n"+v+"\n"+$+"\n\nflat out int v_instance;\n\nvoid main() {\n v_instance = gl_InstanceID;\n\n "+d+"\n "+k+"\n vec3 x_normal = vec3(0.0, 0.0, 1.0);\n vec3 x_position = a_position;\n {\n"+(null==m?"":m)+"\n }\n "+wn.c1a_1+"\n gl_Position = v_clipPosition;\n}\n"},c(At).z18=function(n){var t=wn.h1a("d_mesh_line"),i=n.k12_1,e=null==i?"":i,r=n.n12_1,s=null==r?"":r,_=n.u12_1,u=null==_?"":_,o=n.l12_1,h=null==o?"":o,a=n.t12_1,l=null==a?"":a,f=wn.j1a(),c=n.w12_1,v=null==c?"":c,w=wn.z19_1,$=n.y12_1?"":"out vec4 o_color;",p=wn.e1a(),d=n.q12_1,k=null==d?null:$n(d," ");return pn("\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 |"+$+"\n |#endif\n | "+p+"\n |void main(void) {\n | vec4 x_fill = u_fill;\n | vec4 x_stroke = va_color;\n | {\n"+(null==k?"":k)+"\n | }\n |"+(n.y12_1?"":"o_color = x_stroke;\no_color.rgb *= o_color.a;")+"\n |}\n ")},c(At).y18=function(n){var t=n.k12_1,i=null==t?"":t,e=n.n12_1,r=null==e?"":e,s=wn.h1a("d_mesh_line"),_=wn.j1a(),u=n.m12_1,o=null==u?"":u,h=n.l12_1,l=null==h?"":h,f=n.v12_1,c=null==f?"":f,v=wn.a1a_1,w=wn.g1a(a,"int(a_element)"),$=n.r12_1,p=null==$?"":$,d=n.x12_1,k=null==d?"":d,g=wn.b1a_1,m=n.o12_1,b=null==m?null:$n(m," ");return pn("\n |\n |"+i+"\n |"+r+"\n |"+s+"\n |"+_+"\n |"+o+"\n |"+l+"\n |"+c+"\n |"+v+"\n |"+w+"\n |"+p+"\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 | "+g+"\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.c1a_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).d1l=function(n,t){this.a1l(n.q1l());for(var i=n.r1l().q().g();i.h();){var e=i.i();this.f1l(t,"p_"+e.r(),e.r(),e.s())}},c(Et).f1l=function(n,t,i,e){if("boolean"==typeof e)n.f1m(t,e);else if("number"==typeof e)n.z1l(t,e);else if("number"==typeof e)n.pw(t,e);else if("number"==typeof e)n.uw(t,e);else if(e instanceof Bn)n.nw(t,e);else if(e instanceof Zn)n.e1m(t,e);else if(e instanceof Nn)n.q17(t,e);else if(e instanceof Tn)n.d1m(t,e);else if(e instanceof In)n.ow(t,e);else if(e instanceof Qn)n.c1m(t,e);else if(e instanceof Xn)n.b1m(t,e);else if(e instanceof Yn)n.a1m(t,e);else if(e instanceof Mn)n.yx(t,e);else if(e instanceof Kn){e.aw(this.b1l()),n.z1l(t,this.b1l());var r=this.b1l();this.a1l(r+1|0)}else if(gn(e,Hn)){e.aw(this.b1l()),n.z1l(t,this.b1l());var s=this.b1l();this.a1l(s+1|0)}else if(e instanceof Un){e.aw(this.b1l()),n.z1l(t,this.b1l());var _=this.b1l();this.a1l(_+1|0)}else if(gn(e,Wn)){e.aw(this.b1l()),n.z1l(t,this.b1l());var u=this.b1l();this.a1l(u+1|0)}else if(e instanceof Pn){e.aw(this.b1l()),n.z1l(t,this.b1l());var o=this.b1l();this.a1l(o+1|0)}else if(gn(e,Gn)){e.aw(this.b1l()),n.z1l(t,this.b1l());var h=this.b1l();this.a1l(h+1|0)}else if(gn(e,Vn)){e.aw(this.b1l()),n.z1l(t,this.b1l());var a=this.b1l();this.a1l(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(103),i(887),i(703),i(859),i(78),i(548)],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,$=t.$_$.r,p=i.$_$.c1,d=i.$_$.b4,k=i.$_$.p3,g=t.$_$.y,m=i.$_$.g3,b=i.$_$.m,x=t.$_$.e,q=t.$_$.d,y=t.$_$.g,j=t.$_$.f,C=i.$_$.d4,S=i.$_$.q,z=i.$_$.y3,E=t.$_$.q,A=e.$_$.t,R=t.$_$.x,L=i.$_$.e5,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.$_$.p1,G=t.$_$.v,P=t.$_$.m,W=t.$_$.o,U=t.$_$.j,H=t.$_$.n,K=i.$_$.b3,Y=i.$_$.r2,X=t.$_$.t,Q=i.$_$.q5,Z=i.$_$.g1,J=i.$_$.f,nn=i.$_$.l1,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.$_$.j5,ln=i.$_$.s,fn=i.$_$.t2,cn=i.$_$.i1,vn=i.$_$.j1,wn=i.$_$.i5,$n=i.$_$.k3,pn=r.$_$.x,dn=r.$_$.a1,kn=r.$_$.b1,gn=r.$_$.c1,mn=i.$_$.j2,bn=i.$_$.c5,xn=r.$_$.y,qn=r.$_$.z,yn=s.$_$.b,jn=r.$_$.o2,Cn=r.$_$.w1,Sn=i.$_$.l,zn=i.$_$.o3,En=i.$_$.c4,An=s.$_$.a,Rn=r.$_$.e1,Ln=i.$_$.p2,In=i.$_$.n1,Tn=r.$_$.g1,Nn=i.$_$.i3,Mn=r.$_$.w,Bn=r.$_$.p2,On=i.$_$.j4,Dn=i.$_$.m3,Fn=i.$_$.p4,Vn=i.$_$.f1,Gn=i.$_$.q3,Pn=r.$_$.f1,Wn=r.$_$.h1,Un=r.$_$.a2,Hn=i.$_$.g,Kn=_.$_$.a,Yn=r.$_$.z1,Xn=r.$_$.y1,Qn=i.$_$.e,Zn=i.$_$.i4,Jn=i.$_$.e2,nt=i.$_$.g4,tt=i.$_$.k,it=r.$_$.r,et=r.$_$.v,rt=i.$_$.n3,st=r.$_$.k2,_t=i.$_$.g5,ut=r.$_$.d1,ot=r.$_$.i2,ht=r.$_$.j2;function at(){return u}function lt(){$.call(this)}function ft(){var n;console.log("setting up ApplicationBaseWebGL"),g(((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),p}),p}));var i}function vt(n,t){var i=b();return t.ctrlKey&&i.e(x()),t.altKey&&i.e(q()),t.metaKey&&i.e(y()),t.shiftKey&&i.e(j()),i}function wt(n){return n.preventDefault(),K("dragover"),p}function $t(n){return function(t){t.preventDefault(),K("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.p1m_1.n1e().r1g().zu(new X(n.w1m_1,Y(t))),p}}(n)),p}}function pt(n,t){tn.call(this),this.p1m_1=n,this.q1m_1=t,this.p1m_1.o1e(this),this.r1m_1=!0,this.s1m_1=0,this.t1m_1=null,this.u1m_1=null,this.v1m_1=null,this.w1m_1=new A(0,0),this.x1m_1=en(),this.y1m_1=rn()}function dt(n,t){if(on.call(this),this.l1n_1=n,this.m1n_1=t,this.m1n_1%4|0){var i="elementSize "+this.m1n_1+" must be a multiple of 4";throw hn(C(i))}this.n1n_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 gt(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 mt(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 qt(new Float32Array([n.bk_1,n.fk_1,n.jk_1,n.nk_1,n.ck_1,n.gk_1,n.kk_1,n.ok_1,n.dk_1,n.hk_1,n.lk_1,n.pk_1,n.ek_1,n.ik_1,n.mk_1,n.qk_1]))}function qt(n){return new Float32Array(fn(n))}function yt(n,t,i){this.x1n_1=n,this.y1n_1=t,this.z1n_1=i}function jt(n){var t;this.k1o_1=n,this.a1o_1=wn((t=this.k1o_1,function(){var n=t.p1n_1.getExtension("ANGLE_instanced_arrays");return null!=n&&null!=n?n:null})),this.b1o_1=wn(function(n){return function(){var t=n.p1n_1.getExtension("OES_standard_derivatives");return null!=t&&null!=t?t:null}}(this.k1o_1)),this.c1o_1=wn(function(n){return function(){var t=n.p1n_1.getExtension("OES_texture_half_float");return null!=t&&null!=t?t:null}}(this.k1o_1)),this.d1o_1=wn(function(n){return function(){var t=n.p1n_1.getExtension("OES_texture_float");return null!=t&&null!=t?t:null}}(this.k1o_1)),this.e1o_1=wn(function(n){return function(){var t=n.p1n_1.getExtension("EXT_color_buffer_half_float");return null!=t&&null!=t?t:null}}(this.k1o_1)),this.f1o_1=wn(function(n){return function(){var t=n.p1n_1.getExtension("EXT_color_buffer_float");return null!=t&&null!=t?t:null}}(this.k1o_1)),this.g1o_1=wn(function(n){return function(){var t=n.p1n_1.getExtension("OES_texture_half_float_linear");return null!=t&&null!=t?t:null}}(this.k1o_1)),this.h1o_1=wn(function(n){return function(){var t=n.p1n_1.getExtension("OES_texture_float_linear");return null!=t&&null!=t?t:null}}(this.k1o_1)),this.i1o_1=wn(function(n){return function(){var t=n.p1n_1.getExtension("WEBGL_draw_buffers");return null!=t&&null!=t?t:null}}(this.k1o_1)),this.j1o_1=wn(function(n){return function(){var t=n.p1n_1.getExtension("WEBGL_depth_texture");return null!=t&&null!=t?t:null}}(this.k1o_1))}function Ct(n,t,i,e,r,s,_,u,o,h){this.t1o_1=n,this.u1o_1=t,this.v1o_1=i,this.w1o_1=e,this.x1o_1=r,this.y1o_1=s,this.z1o_1=_,this.a1p_1=u,this.b1p_1=o,this.c1p_1=h}function St(n,t,i,e){for(var r=mn([pn(),dn(),kn(),gn()]),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||K("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.p1n_1.bindBuffer(o,(r instanceof Gt?r:L()).e1p_1);for(var h=r.f1p_1,a=h.rv_1.g();a.h();){var l=a.i();if("_"!==l.t13_1){var f=t.q1p(_+"_"+l.t13_1);if(0===f&&(i._v=!0),-1!==f){var c=l.v13_1;if(e.w(c)){var v=0,$=l.w13_1;if(v<$)do{var p=v;v=v+1|0,n.p1n_1.enableVertexAttribArray(f+p|0);var d=kt(l.v13_1);if(d!==WebGLRenderingContext.FLOAT)throw S(C("integer attributes are not supported by WebGL"));n.p1n_1.vertexAttribPointer(f+p|0,l.v13_1.l13_1,d,!1,h.j(),l.u13_1+w(p,l.v13_1.m13_1)|0),n.p1n_1.vertexAttribDivisor(f,s),u=u+1|0}while(v<$)}else if(c.equals(qn())){var k=0,g=l.w13_1;if(k16)throw S(C("Maximum vertex attributes exceeded "+u+" (limit is 16)"))}function Et(){return new yn}function At(n){var t;this.p1n_1=n,sn.jw_1=this,this.q1n_1=new jt(this),this.r1n_1=new Ct(!(null==this.q1n_1.l1o()),!(null==this.q1n_1.m1o()),!0,!0,!(null==this.q1n_1.n1o()),!(null==this.q1n_1.o1o()),!(null==this.q1n_1.p1o()),!(null==this.q1n_1.q1o()),!(null==this.q1n_1.r1o()),!(null==this.q1n_1.s1o())),this.s1n_1=new Cn,this.t1n_1=!0,this.u1n_1=wn(Et),this.v1n_1=Sn(),this.w1n_1=wn((t=this,function(){var n=t.p1n_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.u1p_1=n,this.v1p_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.k11()),this.g1q_1=t,this.h1q_1=!0,this.i1q_1=!0,this.j1q_1=!0}function Nt(){}function Mt(n,t,i,e,r,s,_){this.a1n_1=n,this.b1n_1=t,this.c1n_1=i,this.d1n_1=e,this.e1n_1=r,this.f1n_1=s,this.g1n_1=_,this.h1n_1=Hn(),this.i1n_1=null,this.j1n_1=!1}function Bt(){}function Ot(n,t,i,e){this.k1p_1=n,this.l1p_1=t,this.m1p_1=i,this.n1p_1=e,this.o1p_1=!1,this.p1p_1=mn([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.m1q_1=n,this.n1q_1=t,this.o1q_1=i}function Vt(){}function Gt(n,t,i,e,r){st.call(this),this.d1p_1=n,this.e1p_1=t,this.f1p_1=i,this.g1p_1=e,this.h1p_1=r,this.i1p_1=!1,this.j1p_1=null}function Pt(n){this.r1q_1=n,this.s1q_1=new Float32Array(w(this.r1q_1.kv(),this.r1q_1.jv().j()/4|0))}function Wt(){}function Ut(n,t){this.k1q_1=n,this.l1q_1=t}function Ht(n){var t=n.org||(n.org={}),i=t.openrndr||(t.openrndr={}),e=i.webgl||(i.webgl={});m(e,"applicationBaseWebGLInitializer",at)}return k(lt,"ApplicationBaseWebGL",lt,$),k(ft),k(pt,"ApplicationWebGL",un,tn,un,[0]),k(dt,"BufferWriterWebGL",un,on),k(yt,"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"),d(lt).e1i=function(n,t){return new pt(n,t)},d(pt).p1e=function(n){var t,i=document.getElementById(this.q1m_1.p1b_1),e=i instanceof HTMLCanvasElement?i:null;if(null==e){var r="failed to get canvas #"+this.q1m_1.p1b_1;throw S(C(r))}t=e,this.t1m_1=t;var s,_={alpha:!0,depth:!0,stencil:!0,antialias:!0,premultipliedAlpha:!0,preserveDrawingBuffer:!0,preferLowPowerToHighPerformance:!1,failIfMajorPerformanceCaveat:!1},u=this.t1m_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.u1m_1=s;var a=sn,l=this.u1m_1;a.jw_1=new At(l instanceof WebGL2RenderingContext?l:L()),this.p1m_1.l1e(new _n(sn.kw())),this.s1m_1=window.performance.now();var f=this.q1m_1.n1c_1,c=window.devicePixelRatio,v=Math.min(f,c),w=this.t1m_1;if(null==w);else{var $,d=this.t1m_1,k=null==d?null:d.clientWidth;if(null==k)throw S(C("no width"));$=k,w.width=z(v*$)}var g,m=this.t1m_1;if(null==m);else{var b,x=this.t1m_1,q=null==x?null:x.clientHeight;if(null==q)throw S(C("no height"));b=q,m.height=z(v*b)}this.z1m(this.q1m_1.w1b_1),window.addEventListener("resize",(g=this,function(n){var t=g.q1m_1.n1c_1,i=window.devicePixelRatio,e=Math.min(t,i),r=g.t1m_1;if(null==r);else{var s,_=g.t1m_1,u=null==_?null:_.clientWidth;if(null==u)throw S(C("no width"));s=u,r.width=z(e*s)}var o=g.t1m_1;if(null==o);else{var h,a=g.t1m_1,l=null==a?null:a.clientHeight;if(null==l)throw S(C("no height"));h=l,o.height=z(e*h)}var f=g.t1m_1,c=null==f?null:f.clientWidth,v=null==c?null:c;if(null==v)throw S(C("no canvas"));var w=v,$=g.t1m_1,d=null==$?null:$.clientHeight,k=null==d?null:d;if(null==k)throw S(C("no canvas"));var m=k;return g.p1m_1.n1e().q1g().zu(new R(E(),new A(0,0),new A(w,m),!0)),p})),window.addEventListener("keydown",function(n){return function(t){return t instanceof KeyboardEvent||L(),n.p1m_1.r1c().z1c().zu(new T(I(),t.which,t.key,vt(0,t))),p}}(this)),window.addEventListener("keyup",function(n){return function(t){return t instanceof KeyboardEvent||L(),n.p1m_1.r1c().a1d().zu(new T(N(),t.which,t.key,vt(0,t))),p}}(this));var y={_v:M().dm_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.p1m_1.q1c().u1d(),u=t._v,o=M().dm_1,h=M().dm_1,a=B(),l=e.button;return _.zu(new G(u,o,h,a,0===l?O():1===l?F():2===l?D():O(),V())),p}}(j,y,this)),window.addEventListener("mouseup",function(n,t,i){return function(e){e instanceof MouseEvent||L(),n._v=!1;var r=t.p1m_1.q1c().v1d(),s=i._v,_=M().dm_1,u=M().dm_1,o=P(),h=e.button;return r.zu(new G(s,_,u,o,0===h?O():1===h?F():2===h?D():O(),V())),p}}(j,this,y)),window.addEventListener("wheel",function(n){return function(t){return t instanceof WheelEvent||L(),n.p1m_1.q1c().y1d().zu(new G(n.w1m_1,new A(t.deltaX,t.deltaY),M().dm_1,W(),U(),V())),p}}(this)),window.addEventListener("pointermove",function(n){return function(t){t instanceof MouseEvent||L();var i=t.clientX,e=t.clientY;return n.w1m_1=new A(i,e),n.p1m_1.q1c().x1d().zu(new G(n.w1m_1,M().dm_1,M().dm_1,H(),U(),V())),p}}(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.w1m_1=new A(r,s),t.p1m_1.q1c().w1d().zu(new G(t.w1m_1,M().dm_1,t.w1m_1.nm(i._v),H(),U(),V())),i._v=t.w1m_1}return p}}(j,this,y));var K=this.t1m_1;null==K||K.addEventListener("dragover",wt);var Y=this.t1m_1;null==Y||Y.addEventListener("drop",$t(this));var X,Q=this.u1m_1;if(null==Q)throw S(C("no context"));X=Q,this.v1m_1=new Tt(X,this.p1m_1);var Z=this.v1m_1;null==Z||Z.i11();var J=this.o1g();return this.p1m_1.i1e(z(J.ki_1)),this.p1m_1.j1e(z(J.li_1)),this.p1m_1.p1e(n)},d(pt).b1i=function(){if(this.y1m_1.equals(rn())||this.r1m_1){this.r1m_1=!1;var n=this.o1g();this.p1m_1.i1e(z(n.ki_1)),this.p1m_1.j1e(z(n.li_1)),this.p1m_1.m1e().uz(),this.p1m_1.m1e().wz();var t=this.v1m_1;null==t||t.k1n(),this.p1m_1.q1e()}var i;window.requestAnimationFrame((i=this,function(n){return i.b1i(),p}))},d(pt).z1m=function(n){window.document.title=n},d(pt).n1g=function(){return window.document.title},d(pt).o1g=function(){var n=this.t1m_1,t=null==n?null:n.clientWidth,i=null==t?null:t,e=null==i?0:i,r=this.t1m_1,s=null==r?null:r.clientHeight,_=null==s?null:s;return new A(e,null==_?0:_)},d(pt).t1d=function(){return this.w1m_1},d(pt).r1e=function(){return(window.performance.now()-this.s1m_1)/1e3},d(pt).p1g=function(){var n=this.q1m_1.n1c_1,t=window.devicePixelRatio;return Math.min(n,t)},d(dt).c14=function(n){this.l1n_1[this.n1n_1]=n.wj_1,this.n1n_1=this.n1n_1+1|0,this.l1n_1[this.n1n_1]=n.xj_1,this.n1n_1=this.n1n_1+1|0,this.l1n_1[this.n1n_1]=n.yj_1,this.n1n_1=this.n1n_1+1|0},d(dt).d14=function(n){this.l1n_1[this.n1n_1]=n.ki_1,this.n1n_1=this.n1n_1+1|0,this.l1n_1[this.n1n_1]=n.li_1,this.n1n_1=this.n1n_1+1|0},d(dt).f14=function(n){this.l1n_1[this.n1n_1]=n,this.n1n_1=this.n1n_1+1|0},d(dt).u17=function(n,t){this.l1n_1[this.n1n_1]=n,this.n1n_1=this.n1n_1+1|0,this.l1n_1[this.n1n_1]=t,this.n1n_1=this.n1n_1+1|0},d(dt).v17=function(n,t,i){this.l1n_1[this.n1n_1]=n,this.n1n_1=this.n1n_1+1|0,this.l1n_1[this.n1n_1]=t,this.n1n_1=this.n1n_1+1|0,this.l1n_1[this.n1n_1]=i,this.n1n_1=this.n1n_1+1|0},d(dt).o1n=function(n,t,i,e){this.l1n_1[this.n1n_1]=n,this.n1n_1=this.n1n_1+1|0,this.l1n_1[this.n1n_1]=t,this.n1n_1=this.n1n_1+1|0,this.l1n_1[this.n1n_1]=i,this.n1n_1=this.n1n_1+1|0,this.l1n_1[this.n1n_1]=e,this.n1n_1=this.n1n_1+1|0},d(dt).e14=function(n){this.o1n(n.io_1,n.jo_1,n.ko_1,n.lo_1)},d(dt).y17=function(n,t,i){var e=0;if(e{var e,r,s;r=[t,i(887)],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.$_$.b4,c=t.$_$.a4,v=t.$_$.q3,w=t.$_$.d4,$=t.$_$.p,p=t.$_$.p3,d=t.$_$.c,k=(t.$_$.c1,t.$_$.t3),g=t.$_$.o3,m=t.$_$.i3,b=t.$_$.e5,x=t.$_$.f,q=t.$_$.m2,y=t.$_$.k2,j=t.$_$.e1,C=t.$_$.j3,S=t.$_$.q1,z=t.$_$.l1,E=t.$_$.r3,A=t.$_$.l3,R=t.$_$.k3,L=t.$_$.e,I=t.$_$.w2,T=t.$_$.y4,N=t.$_$.n,M=t.$_$.b5,B=t.$_$.c4,O=t.$_$.m5,D=t.$_$.n5,F=(t.$_$.z,t.$_$.h3);function V(n,t){if(n===t)throw $(w("range must be non-zero"));if(!(t>=n))throw $(w("tMin must be less than tMax"));return 0===n&&1===t?this:0===n?this.rp(t)[0]:1===t?this.rp(n)[1]:this.rp(n)[1].rp((t-n)/(1-n))[0].pp(this.mp(n),this.mp(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.ar_1=X,this.br_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.kp_1,n.lp_1,t.kp_1,t.lp_1),i}(n,t,c(f(_n)))}function rn(){r=this,this.ir_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 $(w("t must be within (0,1)"));var t=xn().aq(this.vo_1,this.wo_1,n),i=xn().aq(this.wo_1,this.xo_1,n),e=this.mp(n);return[P(this.vo_1,t,e,this.yo_1),P(e,i,this.xo_1,this.yo_1)]},f(H).bq=function(){if(this.yo_1)return new Float64Array(0);var n,t=1e-10,i=this.vo_1.qp(this.wo_1.np(2)).op(this.xo_1);if(i.equals(Cn().mq_1))this.yo_1=!0,n=new Float64Array(0);else{var e,r=this.vo_1.qp(this.wo_1).cq(i),s=In().kq(t,r.kp_1,1-t),_=In().kq(t,r.lp_1,1-t);s&&_?e=new Float64Array([r.kp_1,r.lp_1]):s^_?e=new Float64Array([s?r.kp_1:r.lp_1]):(this.yo_1=!0,e=new Float64Array(0)),n=e}return n},f(H).toString=function(){return"QuadraticBezier2(p0="+this.vo_1.toString()+", p1="+this.wo_1.toString()+", p2="+this.xo_1.toString()+")"},f(K).mp=function(n){if(0===n)return this.hp();if(1===n)return this.ip();var t=1-n,i=t*t,e=n*n;return this.zo_1.np(i*t).op(this.ap_1.np(3*i*n)).op(this.bp_1.np(3*t*e)).op(this.cp_1.np(e*n))},f(K).jp=function(){return(this.cp_1.kp_1*(-this.zo_1.lp_1-3*this.ap_1.lp_1-6*this.bp_1.lp_1)-3*this.bp_1.kp_1*(this.zo_1.lp_1+this.ap_1.lp_1-2*this.cp_1.lp_1)+3*this.ap_1.kp_1*(-2*this.zo_1.lp_1+this.bp_1.lp_1+this.cp_1.lp_1)+this.zo_1.kp_1*(6*this.ap_1.lp_1+3*this.bp_1.lp_1+this.cp_1.lp_1))/20},f(K).pp=function(n,t){return W(n,this.ap_1.op(n.qp(this.zo_1)),this.bp_1.op(t.qp(this.cp_1)),t,this.dp_1)},f(K).hp=function(){return this.zo_1},f(K).ip=function(){return this.cp_1},f(K).rp=function(n){if(n<=0||n>=1)throw $(w("t must be within (0,1)"));var t=xn().aq(this.zo_1,this.ap_1,n),i=xn().aq(this.ap_1,this.bp_1,n),e=xn().aq(this.bp_1,this.cp_1,n),r=xn().aq(t,i,n),s=xn().aq(i,e,n),_=this.mp(n);return[W(this.zo_1,t,r,_,this.dp_1),W(_,s,e,this.cp_1,this.dp_1)]},f(K).bq=function(){if(this.dp_1)return new Float64Array(0);for(var n=1e-7,t=this.ap_1.qp(this.zo_1),i=this.bp_1.qp(this.ap_1).qp(t).np(2),e=this.cp_1.qp(this.bp_1.np(3)).op(this.ap_1.np(3)).qp(this.zo_1),r=o.tq(e.kp_1,i.kp_1,t.kp_1),s=o.tq(e.lp_1,i.lp_1,t.lp_1),_=new zn,u=0,h=r.length;u=1)throw $(w("t must be within (0,1)"));var t=this.mp(n);return[s.or(this.hp(),t),s.or(t,this.ip())]},f(hn).pp=function(n,t){return s.or(n,t)},f(hn).hp=function(){return new Sn(this.pr_1,this.qr_1)},f(hn).ip=function(){return new Sn(this.rr_1,this.sr_1)},f(hn).toString=function(){return"Line2(ax="+this.pr_1+", ay="+this.qr_1+", bx="+this.rr_1+", by="+this.sr_1+")"},f(hn).hashCode=function(){var n=A(this.pr_1);return n=l(n,31)+A(this.qr_1)|0,n=l(n,31)+A(this.rr_1)|0,l(n,31)+A(this.sr_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!!(m(this.pr_1,t.pr_1)&&m(this.qr_1,t.qr_1)&&m(this.rr_1,t.rr_1)&&m(this.sr_1,t.sr_1))},f(ln).toString=function(){return"Path2(curves="+w(this.tr_1)+", bounds="+this.ur_1.toString()+", isRing="+this.vr_1+")"},f(ln).hashCode=function(){var n=g(this.tr_1);return n=l(n,31)+this.ur_1.hashCode()|0,l(n,31)+R(this.vr_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!!m(this.tr_1,t.tr_1)&&!!this.ur_1.equals(t.ur_1)&&this.vr_1===t.vr_1},f(bn).aq=function(n,t,i){return new Sn(n.kp_1+(t.kp_1-n.kp_1)*i,n.lp_1+(t.lp_1-n.lp_1)*i)},f(bn).wr=function(n,t,i){return n.hr(t,this.xp_1).bs((e=i,function(n){return n<=e}));var e},f(Sn).cs=function(n,t){return new Sn(t(this.kp_1,n.kp_1),t(this.lp_1,n.lp_1))},f(Sn).hr=function(n,t){return this.cs(n instanceof Sn?n:b(),t)},f(Sn).bs=function(n){return n(this.kp_1)&&n(this.lp_1)},f(Sn).hashCode=function(){return h.ds(this.kp_1,this.lp_1)},f(Sn).equals=function(n){if(n instanceof Sn){var t=n;return t.kp_1===this.kp_1&&t.lp_1===this.lp_1}return!1},f(Sn).es=function(n){return Cn().lq_1.compare(this,n)},f(Sn).d=function(n){return this.es(n instanceof Sn?n:b())},f(Sn).op=function(n){return new Sn(this.kp_1+n.kp_1,this.lp_1+n.lp_1)},f(Sn).qp=function(n){return new Sn(this.kp_1-n.kp_1,this.lp_1-n.lp_1)},f(Sn).np=function(n){return new Sn(this.kp_1*n,this.lp_1*n)},f(Sn).cq=function(n){return new Sn(this.kp_1/n.kp_1,this.lp_1/n.lp_1)},f(Sn).toString=function(){return"Vec2(x="+this.kp_1+", y="+this.lp_1+")"},f(zn).wq=function(n){var t,i,e,r;this.vq_1>(this.uq_1.length-1|0)&&(t=this,i=new Float64Array(t.uq_1.length<<1),e=t.uq_1,r=e.length,j(e,i,0,0,r),t.uq_1=i);var s=this.uq_1,_=this.vq_1;return this.vq_1=_+1|0,s[_]=n,this},f(zn).xq=function(){return this.vq_1},f(zn).v3=function(){var n=new Float64Array(this.xq()),t=this.uq_1,i=this.xq();return j(t,n,0,0,i),n},f(zn).toString=function(){var n=N();n.c6("[");var t=0,i=this.vq_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 $=e[w],p=r*$*$+-2*s*$+_;if(Math.abs(p)<1e-8){var d=c;c=d+1|0,e[d]=$}}while(v<=1);o=c}else o=0;return o},f(An).tq=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.gs(n,t,i,e))},f(Rn).ds=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).js=function(n){return D(n).u1(new M(0,2146435072)).s1(52).m1(B(1023)).w1()},f(Ln).ks=function(n){return Math.pow(2,n)},f(Ln).is=function(n){var t,i=this.js(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.ks(i);else{var r=new M(1,0).r1(i- -1074|0);e=F(r)}t=e}return t},f(Ln).kq=function(n,t,i){return n8){var u=-_;s=Math.pow(2,u)}else s=1;e=s}return e},f(Ln).ms=function(n,t){return n{var e,r,s;r=[t,i(887),i(580)],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,$,p,d,k=Math.imul,g=t.$_$.b4,m=t.$_$.q3,b=t.$_$.k3,x=t.$_$.e5,q=t.$_$.p3,y=t.$_$.r3,j=t.$_$.c,C=t.$_$.l3,S=t.$_$.i3,z=t.$_$.w4,E=t.$_$.a4,A=i.$_$.f,R=i.$_$.b,L=i.$_$.d,I=i.$_$.e,T=t.$_$.t3,N=t.$_$.c1,M=t.$_$.z4;function B(){var n=this.a();return 0===n?this.zh():this.bi(n)}function O(n){var t=this.ci()*n.ci(),i=this.fi(n),e=t-Math.pow(i,2);return Math.sqrt(e)}function D(n){var t=this.ai(),i=n.ai(),e=t.fi(i),r=1-e*e,s=Math.sqrt(r);return Math.atan2(s,e)}function F(){e=this,this.bh_1=new V(!1,!1),this.ch_1=new V(!0,!0),this.dh_1=new V(!0,!1),this.eh_1=new V(!1,!0)}function V(n,t){null==e&&new F,this.fh_1=n,this.gh_1=t}function G(){r=this,this.hh_1=new P(!1,!1,!1),this.ih_1=new P(!0,!0,!0),this.jh_1=new P(!0,!1,!1),this.kh_1=new P(!1,!0,!1),this.lh_1=new P(!1,!1,!0)}function P(n,t,i){null==r&&new G,this.mh_1=n,this.nh_1=t,this.oh_1=i}function W(){s=this,this.ph_1=new U(!1,!1,!1,!1),this.qh_1=new U(!0,!0,!0,!0),this.rh_1=new U(!0,!1,!1,!1),this.sh_1=new U(!1,!0,!1,!1),this.th_1=new U(!1,!1,!0,!1),this.uh_1=new U(!1,!1,!1,!0)}function U(n,t,i,e){null==s&&new W,this.vh_1=n,this.wh_1=t,this.xh_1=i,this.yh_1=e}function H(){}function K(n,t,i){return function(n,t,i){var e=Math.min(i,n);return Math.max(t,e)}(n,t,i)}function Y(){_=this,this.mi_1=new X(0,0),this.ni_1=new X(1,1),this.oi_1=new X(1,0),this.pi_1=new X(0,1)}function X(n,t){null==_&&new Y,this.qi_1=n,this.ri_1=t}function Q(){u=this,this.si_1=new Z(0,0,0),this.ti_1=new Z(1,1,1),this.ui_1=new Z(1,0,0),this.vi_1=new Z(0,1,0),this.wi_1=new Z(0,0,1)}function Z(n,t,i){null==u&&new Q,this.xi_1=n,this.yi_1=t,this.zi_1=i}function J(){o=this,this.aj_1=new nn(0,0,0,0),this.bj_1=new nn(1,1,1,1),this.cj_1=new nn(1,0,0,0),this.dj_1=new nn(0,1,0,0),this.ej_1=new nn(0,0,1,0),this.fj_1=new nn(0,0,0,1)}function nn(n,t,i,e){null==o&&new J,this.gj_1=n,this.hj_1=t,this.ij_1=i,this.jj_1=e}function tn(){h=this,this.kj_1=new en(1,j,j,j,1,j,j,j,1),this.lj_1=new en}function en(n,t,i,e,r,s,_,u,o){null==h&&new tn,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.mj_1=n,this.nj_1=t,this.oj_1=i,this.pj_1=e,this.qj_1=r,this.rj_1=s,this.sj_1=_,this.tj_1=u,this.uj_1=o}function rn(){a=this,this.zj_1=new _n(1,j,j,j,j,1,j,j,j,j,1,j,j,j,j,1),this.ak_1=new _n}function sn(){return null==a&&new rn,a}function _n(n,t,i,e,r,s,_,u,o,h,a,l,f,c,v,w){sn(),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.bk_1=n,this.ck_1=t,this.dk_1=i,this.ek_1=e,this.fk_1=r,this.gk_1=s,this.hk_1=_,this.ik_1=u,this.jk_1=o,this.kk_1=h,this.lk_1=a,this.mk_1=l,this.nk_1=f,this.ok_1=c,this.pk_1=v,this.qk_1=w}function un(){l=this,this.yk_1=new hn(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.zk_1=new hn}function on(){return null==l&&new un,l}function hn(n,t,i,e,r,s,_,u,o,h,a,l,f,c,v,w,$,p,d,k,g,m,b,x,q){on(),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,$=$===j?0:$,p=p===j?0:p,d=d===j?0:d,k=k===j?0:k,g=g===j?0:g,m=m===j?0:m,b=b===j?0:b,x=x===j?0:x,q=q===j?0:q,this.al_1=n,this.bl_1=t,this.cl_1=i,this.dl_1=e,this.el_1=r,this.fl_1=s,this.gl_1=_,this.hl_1=u,this.il_1=o,this.jl_1=h,this.kl_1=a,this.ll_1=l,this.ml_1=f,this.nl_1=c,this.ol_1=v,this.pl_1=w,this.ql_1=$,this.rl_1=p,this.sl_1=d,this.tl_1=k,this.ul_1=g,this.vl_1=m,this.wl_1=b,this.xl_1=x,this.yl_1=q}function an(){}function ln(n,t){t=t===j?1:t,this.am_1=n,this.bm_1=t}function fn(){f=this,this.dm_1=new $n(0,0),this.em_1=new $n(1,1),this.fm_1=new $n(1,0),this.gm_1=new $n(0,1),this.hm_1=new $n(1/0,1/0)}function cn(){return null==f&&new fn,f}function vn(){c=this;var n=new A("org.openrndr.math.Vector2",this,2);n.ug("x",!1),n.ug("y",!1),this.jm_1=n}function wn(){return null==c&&new vn,c}function $n(n,t){cn(),this.ki_1=n,this.li_1=t}function pn(){if($)return N;$=!0,v=new dn("CCW_POSITIVE_Y",0),w=new dn("CW_NEGATIVE_Y",1)}function dn(n,t){M.call(this,n,t)}function kn(){return pn(),w}function gn(){p=this,this.rm_1=new bn(0,0,0),this.sm_1=new bn(1,1,1),this.tm_1=this.sm_1.ai(),this.um_1=new bn(1,0,0),this.vm_1=new bn(0,1,0),this.wm_1=new bn(0,0,1),this.xm_1=new bn(1/0,1/0,1/0)}function mn(){return null==p&&new gn,p}function bn(n,t,i){mn(),this.wj_1=n,this.xj_1=t,this.yj_1=i}function xn(){d=this,this.cn_1=new yn(1,0,0,0),this.dn_1=new yn(0,1,0,0),this.en_1=new yn(0,0,1,0),this.fn_1=new yn(0,0,0,1),this.gn_1=new yn(0,0,0,0),this.hn_1=new yn(1,1,1,1),this.in_1=new yn(1/0,1/0,1/0,1/0)}function qn(){return null==d&&new xn,d}function yn(n,t,i,e){qn(),this.jn_1=n,this.kn_1=t,this.ln_1=i,this.mn_1=e}function jn(){}return m(F),q(V,"BooleanVector2"),m(G),q(P,"BooleanVector3"),m(W),q(U,"BooleanVector4"),y(H,"EuclideanVector"),m(Y),q(X,"IntVector2"),m(Q),q(Z,"IntVector3"),m(J),q(nn,"IntVector4"),m(tn),q(en,"Matrix33",en),m(rn),q(_n,"Matrix44",_n),m(un),q(hn,"Matrix55",hn),m(an),q(ln,"Polar"),m(fn),T(vn,"$serializer",j,j,[I]),q($n,"Vector2",j,j,[H],j,j,{0:wn}),q(dn,"YPolarity",j,M),m(gn),q(bn,"Vector3",j,j,[H]),m(xn),q(yn,"Vector4",j,j,[H]),y(jn,"CastableToVector4"),g(V).toString=function(){return"BooleanVector2(x="+this.fh_1+", y="+this.gh_1+")"},g(V).hashCode=function(){var n=b(this.fh_1);return k(n,31)+b(this.gh_1)|0},g(V).equals=function(n){if(this===n)return!0;if(!(n instanceof V))return!1;var t=n instanceof V?n:x();return this.fh_1===t.fh_1&&this.gh_1===t.gh_1},g(P).toString=function(){return"BooleanVector3(x="+this.mh_1+", y="+this.nh_1+", z="+this.oh_1+")"},g(P).hashCode=function(){var n=b(this.mh_1);return n=k(n,31)+b(this.nh_1)|0,k(n,31)+b(this.oh_1)|0},g(P).equals=function(n){if(this===n)return!0;if(!(n instanceof P))return!1;var t=n instanceof P?n:x();return this.mh_1===t.mh_1&&this.nh_1===t.nh_1&&this.oh_1===t.oh_1},g(U).toString=function(){return"BooleanVector4(x="+this.vh_1+", y="+this.wh_1+", z="+this.xh_1+", w="+this.yh_1+")"},g(U).hashCode=function(){var n=b(this.vh_1);return n=k(n,31)+b(this.wh_1)|0,n=k(n,31)+b(this.xh_1)|0,k(n,31)+b(this.yh_1)|0},g(U).equals=function(n){if(this===n)return!0;if(!(n instanceof U))return!1;var t=n instanceof U?n:x();return this.vh_1===t.vh_1&&this.wh_1===t.wh_1&&this.xh_1===t.xh_1&&this.yh_1===t.yh_1},g(X).toString=function(){return"IntVector2(x="+this.qi_1+", y="+this.ri_1+")"},g(X).hashCode=function(){var n=this.qi_1;return k(n,31)+this.ri_1|0},g(X).equals=function(n){if(this===n)return!0;if(!(n instanceof X))return!1;var t=n instanceof X?n:x();return this.qi_1===t.qi_1&&this.ri_1===t.ri_1},g(Z).toString=function(){return"IntVector3(x="+this.xi_1+", y="+this.yi_1+", z="+this.zi_1+")"},g(Z).hashCode=function(){var n=this.xi_1;return n=k(n,31)+this.yi_1|0,k(n,31)+this.zi_1|0},g(Z).equals=function(n){if(this===n)return!0;if(!(n instanceof Z))return!1;var t=n instanceof Z?n:x();return this.xi_1===t.xi_1&&this.yi_1===t.yi_1&&this.zi_1===t.zi_1},g(nn).toString=function(){return"IntVector4(x="+this.gj_1+", y="+this.hj_1+", z="+this.ij_1+", w="+this.jj_1+")"},g(nn).hashCode=function(){var n=this.gj_1;return n=k(n,31)+this.hj_1|0,n=k(n,31)+this.ij_1|0,k(n,31)+this.jj_1|0},g(nn).equals=function(n){if(this===n)return!0;if(!(n instanceof nn))return!1;var t=n instanceof nn?n:x();return this.gj_1===t.gj_1&&this.hj_1===t.hj_1&&this.ij_1===t.ij_1&&this.jj_1===t.jj_1},g(en).vj=function(n){return new bn(n.wj_1*this.mj_1+n.xj_1*this.nj_1+n.yj_1*this.oj_1,n.wj_1*this.pj_1+n.xj_1*this.qj_1+n.yj_1*this.rj_1,n.wj_1*this.sj_1+n.xj_1*this.tj_1+n.yj_1*this.uj_1)},g(en).toString=function(){return this.mj_1+", "+this.nj_1+", "+this.oj_1+",\n"+this.pj_1+", "+this.qj_1+", "+this.rj_1+",\n"+this.sj_1+", "+this.tj_1+", "+this.uj_1},g(en).hashCode=function(){var n=C(this.mj_1);return 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,n=k(n,31)+C(this.qj_1)|0,n=k(n,31)+C(this.rj_1)|0,n=k(n,31)+C(this.sj_1)|0,n=k(n,31)+C(this.tj_1)|0,k(n,31)+C(this.uj_1)|0},g(en).equals=function(n){if(this===n)return!0;if(!(n instanceof en))return!1;var t=n instanceof en?n:x();return!!(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)&&S(this.rj_1,t.rj_1)&&S(this.sj_1,t.sj_1)&&S(this.tj_1,t.tj_1)&&S(this.uj_1,t.uj_1))},g(_n).rk=function(){if(this===sn().zj_1)return this;var n=this.kk_1*this.pk_1*this.ik_1-this.ok_1*this.lk_1*this.ik_1+this.ok_1*this.hk_1*this.mk_1-this.gk_1*this.pk_1*this.mk_1-this.kk_1*this.hk_1*this.qk_1+this.gk_1*this.lk_1*this.qk_1,t=this.nk_1*this.lk_1*this.ik_1-this.jk_1*this.pk_1*this.ik_1-this.nk_1*this.hk_1*this.mk_1+this.fk_1*this.pk_1*this.mk_1+this.jk_1*this.hk_1*this.qk_1-this.fk_1*this.lk_1*this.qk_1,i=this.jk_1*this.ok_1*this.ik_1-this.nk_1*this.kk_1*this.ik_1+this.nk_1*this.gk_1*this.mk_1-this.fk_1*this.ok_1*this.mk_1-this.jk_1*this.gk_1*this.qk_1+this.fk_1*this.kk_1*this.qk_1,e=this.nk_1*this.kk_1*this.hk_1-this.jk_1*this.ok_1*this.hk_1-this.nk_1*this.gk_1*this.lk_1+this.fk_1*this.ok_1*this.lk_1+this.jk_1*this.gk_1*this.pk_1-this.fk_1*this.kk_1*this.pk_1,r=this.ok_1*this.lk_1*this.ek_1-this.kk_1*this.pk_1*this.ek_1-this.ok_1*this.dk_1*this.mk_1+this.ck_1*this.pk_1*this.mk_1+this.kk_1*this.dk_1*this.qk_1-this.ck_1*this.lk_1*this.qk_1,s=this.jk_1*this.pk_1*this.ek_1-this.nk_1*this.lk_1*this.ek_1+this.nk_1*this.dk_1*this.mk_1-this.bk_1*this.pk_1*this.mk_1-this.jk_1*this.dk_1*this.qk_1+this.bk_1*this.lk_1*this.qk_1,_=this.nk_1*this.kk_1*this.ek_1-this.jk_1*this.ok_1*this.ek_1-this.nk_1*this.ck_1*this.mk_1+this.bk_1*this.ok_1*this.mk_1+this.jk_1*this.ck_1*this.qk_1-this.bk_1*this.kk_1*this.qk_1,u=this.jk_1*this.ok_1*this.dk_1-this.nk_1*this.kk_1*this.dk_1+this.nk_1*this.ck_1*this.lk_1-this.bk_1*this.ok_1*this.lk_1-this.jk_1*this.ck_1*this.pk_1+this.bk_1*this.kk_1*this.pk_1,o=this.gk_1*this.pk_1*this.ek_1-this.ok_1*this.hk_1*this.ek_1+this.ok_1*this.dk_1*this.ik_1-this.ck_1*this.pk_1*this.ik_1-this.gk_1*this.dk_1*this.qk_1+this.ck_1*this.hk_1*this.qk_1,h=this.nk_1*this.hk_1*this.ek_1-this.fk_1*this.pk_1*this.ek_1-this.nk_1*this.dk_1*this.ik_1+this.bk_1*this.pk_1*this.ik_1+this.fk_1*this.dk_1*this.qk_1-this.bk_1*this.hk_1*this.qk_1,a=this.fk_1*this.ok_1*this.ek_1-this.nk_1*this.gk_1*this.ek_1+this.nk_1*this.ck_1*this.ik_1-this.bk_1*this.ok_1*this.ik_1-this.fk_1*this.ck_1*this.qk_1+this.bk_1*this.gk_1*this.qk_1,l=this.nk_1*this.gk_1*this.dk_1-this.fk_1*this.ok_1*this.dk_1-this.nk_1*this.ck_1*this.hk_1+this.bk_1*this.ok_1*this.hk_1+this.fk_1*this.ck_1*this.pk_1-this.bk_1*this.gk_1*this.pk_1,f=this.kk_1*this.hk_1*this.ek_1-this.gk_1*this.lk_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,c=this.fk_1*this.lk_1*this.ek_1-this.jk_1*this.hk_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,v=this.jk_1*this.gk_1*this.ek_1-this.fk_1*this.kk_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,w=this.fk_1*this.kk_1*this.dk_1-this.jk_1*this.gk_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,$=this.sk();return new _n(n/$,r/$,o/$,f/$,t/$,s/$,h/$,c/$,i/$,_/$,a/$,v/$,e/$,u/$,l/$,w/$)},g(_n).sk=function(){return this.nk_1*this.kk_1*this.hk_1*this.ek_1-this.jk_1*this.ok_1*this.hk_1*this.ek_1-this.nk_1*this.gk_1*this.lk_1*this.ek_1+this.fk_1*this.ok_1*this.lk_1*this.ek_1+this.jk_1*this.gk_1*this.pk_1*this.ek_1-this.fk_1*this.kk_1*this.pk_1*this.ek_1-this.nk_1*this.kk_1*this.dk_1*this.ik_1+this.jk_1*this.ok_1*this.dk_1*this.ik_1+this.nk_1*this.ck_1*this.lk_1*this.ik_1-this.bk_1*this.ok_1*this.lk_1*this.ik_1-this.jk_1*this.ck_1*this.pk_1*this.ik_1+this.bk_1*this.kk_1*this.pk_1*this.ik_1+this.nk_1*this.gk_1*this.dk_1*this.mk_1-this.fk_1*this.ok_1*this.dk_1*this.mk_1-this.nk_1*this.ck_1*this.hk_1*this.mk_1+this.bk_1*this.ok_1*this.hk_1*this.mk_1+this.fk_1*this.ck_1*this.pk_1*this.mk_1-this.bk_1*this.gk_1*this.pk_1*this.mk_1-this.jk_1*this.gk_1*this.dk_1*this.qk_1+this.fk_1*this.kk_1*this.dk_1*this.qk_1+this.jk_1*this.ck_1*this.hk_1*this.qk_1-this.bk_1*this.kk_1*this.hk_1*this.qk_1-this.fk_1*this.ck_1*this.lk_1*this.qk_1+this.bk_1*this.gk_1*this.lk_1*this.qk_1},g(_n).tk=function(){return new _n(this.bk_1,this.fk_1,this.jk_1,this.nk_1,this.ck_1,this.gk_1,this.kk_1,this.ok_1,this.dk_1,this.hk_1,this.lk_1,this.pk_1,this.ek_1,this.ik_1,this.mk_1,this.qk_1)},g(_n).uk=function(){return new en(this.bk_1,this.ck_1,this.dk_1,this.fk_1,this.gk_1,this.hk_1,this.jk_1,this.kk_1,this.lk_1)},g(_n).vk=function(n){return this===sn().zj_1?n:n===sn().zj_1?this:new _n(this.bk_1*n.bk_1+this.ck_1*n.fk_1+this.dk_1*n.jk_1+this.ek_1*n.nk_1,this.bk_1*n.ck_1+this.ck_1*n.gk_1+this.dk_1*n.kk_1+this.ek_1*n.ok_1,this.bk_1*n.dk_1+this.ck_1*n.hk_1+this.dk_1*n.lk_1+this.ek_1*n.pk_1,this.bk_1*n.ek_1+this.ck_1*n.ik_1+this.dk_1*n.mk_1+this.ek_1*n.qk_1,this.fk_1*n.bk_1+this.gk_1*n.fk_1+this.hk_1*n.jk_1+this.ik_1*n.nk_1,this.fk_1*n.ck_1+this.gk_1*n.gk_1+this.hk_1*n.kk_1+this.ik_1*n.ok_1,this.fk_1*n.dk_1+this.gk_1*n.hk_1+this.hk_1*n.lk_1+this.ik_1*n.pk_1,this.fk_1*n.ek_1+this.gk_1*n.ik_1+this.hk_1*n.mk_1+this.ik_1*n.qk_1,this.jk_1*n.bk_1+this.kk_1*n.fk_1+this.lk_1*n.jk_1+this.mk_1*n.nk_1,this.jk_1*n.ck_1+this.kk_1*n.gk_1+this.lk_1*n.kk_1+this.mk_1*n.ok_1,this.jk_1*n.dk_1+this.kk_1*n.hk_1+this.lk_1*n.lk_1+this.mk_1*n.pk_1,this.jk_1*n.ek_1+this.kk_1*n.ik_1+this.lk_1*n.mk_1+this.mk_1*n.qk_1,this.nk_1*n.bk_1+this.ok_1*n.fk_1+this.pk_1*n.jk_1+this.qk_1*n.nk_1,this.nk_1*n.ck_1+this.ok_1*n.gk_1+this.pk_1*n.kk_1+this.qk_1*n.ok_1,this.nk_1*n.dk_1+this.ok_1*n.hk_1+this.pk_1*n.lk_1+this.qk_1*n.pk_1,this.nk_1*n.ek_1+this.ok_1*n.ik_1+this.pk_1*n.mk_1+this.qk_1*n.qk_1)},g(_n).toString=function(){return 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+",\n"+this.nk_1+", "+this.ok_1+", "+this.pk_1+", "+this.qk_1},g(_n).wk=function(n,t,i,e,r,s,_,u,o,h,a,l,f,c,v,w){return new _n(n,t,i,e,r,s,_,u,o,h,a,l,f,c,v,w)},g(_n).xk=function(n,t,i,e,r,s,_,u,o,h,a,l,f,c,v,w,$){return n=n===j?this.bk_1:n,t=t===j?this.ck_1:t,i=i===j?this.dk_1:i,e=e===j?this.ek_1:e,r=r===j?this.fk_1:r,s=s===j?this.gk_1:s,_=_===j?this.hk_1:_,u=u===j?this.ik_1:u,o=o===j?this.jk_1:o,h=h===j?this.kk_1:h,a=a===j?this.lk_1:a,l=l===j?this.mk_1:l,f=f===j?this.nk_1:f,c=c===j?this.ok_1:c,v=v===j?this.pk_1:v,w=w===j?this.qk_1:w,$===j?this.wk(n,t,i,e,r,s,_,u,o,h,a,l,f,c,v,w):$.wk.call(this,n,t,i,e,r,s,_,u,o,h,a,l,f,c,v,w)},g(_n).hashCode=function(){var n=C(this.bk_1);return 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,n=k(n,31)+C(this.mk_1)|0,n=k(n,31)+C(this.nk_1)|0,n=k(n,31)+C(this.ok_1)|0,n=k(n,31)+C(this.pk_1)|0,k(n,31)+C(this.qk_1)|0},g(_n).equals=function(n){if(this===n)return!0;if(!(n instanceof _n))return!1;var t=n instanceof _n?n:x();return!!(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)&&S(this.nk_1,t.nk_1)&&S(this.ok_1,t.ok_1)&&S(this.pk_1,t.pk_1)&&S(this.qk_1,t.qk_1))},g(hn).zl=function(){return new Float32Array([this.al_1,this.fl_1,this.kl_1,this.pl_1,this.ul_1,this.bl_1,this.gl_1,this.ll_1,this.ql_1,this.vl_1,this.cl_1,this.hl_1,this.ml_1,this.rl_1,this.wl_1,this.dl_1,this.il_1,this.nl_1,this.sl_1,this.xl_1,this.el_1,this.jl_1,this.ol_1,this.tl_1,this.yl_1])},g(hn).toString=function(){return z(this.al_1+", "+this.bl_1+", "+this.cl_1+", "+this.dl_1+", "+this.el_1+",\n "+this.fl_1+", "+this.gl_1+", "+this.hl_1+", "+this.il_1+", "+this.jl_1+",\n "+this.kl_1+", "+this.ll_1+", "+this.ml_1+", "+this.nl_1+", "+this.ol_1+",\n "+this.pl_1+", "+this.ql_1+", "+this.rl_1+", "+this.sl_1+", "+this.tl_1+",\n "+this.ul_1+", "+this.vl_1+", "+this.wl_1+", "+this.xl_1+", "+this.yl_1)},g(hn).hashCode=function(){var n=C(this.al_1);return 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,n=k(n,31)+C(this.ul_1)|0,n=k(n,31)+C(this.vl_1)|0,n=k(n,31)+C(this.wl_1)|0,n=k(n,31)+C(this.xl_1)|0,k(n,31)+C(this.yl_1)|0},g(hn).equals=function(n){if(this===n)return!0;if(!(n instanceof hn))return!1;var t=n instanceof hn?n:x();return!!(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)&&S(this.vl_1,t.vl_1)&&S(this.wl_1,t.wl_1)&&S(this.xl_1,t.xl_1)&&S(this.yl_1,t.yl_1))},g(ln).cm=function(){return cn().im(this)},g(ln).toString=function(){return"Polar(theta="+this.am_1+", radius="+this.bm_1+")"},g(ln).hashCode=function(){var n=C(this.am_1);return k(n,31)+C(this.bm_1)|0},g(ln).equals=function(n){if(this===n)return!0;if(!(n instanceof ln))return!1;var t=n instanceof ln?n:x();return!!S(this.am_1,t.am_1)&&!!S(this.bm_1,t.bm_1)},g(fn).im=function(n){var t=.017453292519943295*n.am_1;return new $n(Math.cos(t),Math.sin(t)).ji(n.bm_1)},g(vn).nf=function(){return this.jm_1},g(vn).vg=function(){return[R(),R()]},g($n).a=function(){var n=this.ki_1*this.ki_1+this.li_1*this.li_1;return Math.sqrt(n)},g($n).ci=function(){return this.ki_1*this.ki_1+this.li_1*this.li_1},g($n).zh=function(){return cn().dm_1},g($n).km=function(n){return this.ki_1*n.li_1-this.li_1*n.ki_1},g($n).lm=function(n){return this.ki_1*n.ki_1+this.li_1*n.li_1},g($n).fi=function(n){return this.lm(n instanceof $n?n:x())},g($n).mm=function(n){return new $n(this.ki_1+n.ki_1,this.li_1+n.li_1)},g($n).hi=function(n){return this.mm(n instanceof $n?n:x())},g($n).nm=function(n){return new $n(this.ki_1-n.ki_1,this.li_1-n.li_1)},g($n).ii=function(n){return this.nm(n instanceof $n?n:x())},g($n).ji=function(n){return new $n(this.ki_1*n,this.li_1*n)},g($n).om=function(n){return new $n(this.ki_1*n.ki_1,this.li_1*n.li_1)},g($n).bi=function(n){return new $n(this.ki_1/n,this.li_1/n)},g($n).pm=function(n){var t=n.ki_1-this.ki_1,i=n.li_1-this.li_1;return t*t+i*i},g($n).di=function(n){return this.pm(n instanceof $n?n:x())},g($n).qm=function(n){var t=this.ki_1*n.li_1-this.li_1*n.ki_1;return Math.abs(t)},g($n).ei=function(n){return this.qm(n instanceof $n?n:x())},g($n).pa=function(){return this.ki_1},g($n).qa=function(){return this.li_1},g($n).toString=function(){return"Vector2(x="+this.ki_1+", y="+this.li_1+")"},g($n).hashCode=function(){var n=C(this.ki_1);return k(n,31)+C(this.li_1)|0},g($n).equals=function(n){if(this===n)return!0;if(!(n instanceof $n))return!1;var t=n instanceof $n?n:x();return!!S(this.ki_1,t.ki_1)&&!!S(this.li_1,t.li_1)},g(bn).zh=function(){return mn().rm_1},g(bn).ym=function(n){return new bn(this.wj_1+n.wj_1,this.xj_1+n.xj_1,this.yj_1+n.yj_1)},g(bn).hi=function(n){return this.ym(n instanceof bn?n:x())},g(bn).zm=function(n){return new bn(this.wj_1-n.wj_1,this.xj_1-n.xj_1,this.yj_1-n.yj_1)},g(bn).ii=function(n){return this.zm(n instanceof bn?n:x())},g(bn).ji=function(n){return new bn(this.wj_1*n,this.xj_1*n,this.yj_1*n)},g(bn).bi=function(n){return new bn(this.wj_1/n,this.xj_1/n,this.yj_1/n)},g(bn).an=function(n){return this.wj_1*n.wj_1+this.xj_1*n.xj_1+this.yj_1*n.yj_1},g(bn).fi=function(n){return this.an(n instanceof bn?n:x())},g(bn).a=function(){var n=this.wj_1*this.wj_1+this.xj_1*this.xj_1+this.yj_1*this.yj_1;return Math.sqrt(n)},g(bn).ci=function(){return this.wj_1*this.wj_1+this.xj_1*this.xj_1+this.yj_1*this.yj_1},g(bn).bn=function(n){var t=n.wj_1-this.wj_1,i=n.xj_1-this.xj_1,e=n.yj_1-this.yj_1;return t*t+i*i+e*e},g(bn).di=function(n){return this.bn(n instanceof bn?n:x())},g(bn).toString=function(){return"Vector3(x="+this.wj_1+", y="+this.xj_1+", z="+this.yj_1+")"},g(bn).hashCode=function(){var n=C(this.wj_1);return n=k(n,31)+C(this.xj_1)|0,k(n,31)+C(this.yj_1)|0},g(bn).equals=function(n){if(this===n)return!0;if(!(n instanceof bn))return!1;var t=n instanceof bn?n:x();return!!S(this.wj_1,t.wj_1)&&!!S(this.xj_1,t.xj_1)&&!!S(this.yj_1,t.yj_1)},g(yn).a=function(){var n=this.jn_1*this.jn_1+this.kn_1*this.kn_1+this.ln_1*this.ln_1+this.mn_1*this.mn_1;return Math.sqrt(n)},g(yn).ci=function(){return this.jn_1*this.jn_1+this.kn_1*this.kn_1+this.ln_1*this.ln_1+this.mn_1*this.mn_1},g(yn).zh=function(){return qn().gn_1},g(yn).nn=function(n){return new yn(this.jn_1+n.jn_1,this.kn_1+n.kn_1,this.ln_1+n.ln_1,this.mn_1+n.mn_1)},g(yn).hi=function(n){return this.nn(n instanceof yn?n:x())},g(yn).on=function(n){return new yn(this.jn_1-n.jn_1,this.kn_1-n.kn_1,this.ln_1-n.ln_1,this.mn_1-n.mn_1)},g(yn).ii=function(n){return this.on(n instanceof yn?n:x())},g(yn).ji=function(n){return new yn(this.jn_1*n,this.kn_1*n,this.ln_1*n,this.mn_1*n)},g(yn).bi=function(n){return new yn(this.jn_1/n,this.kn_1/n,this.ln_1/n,this.mn_1/n)},g(yn).pn=function(n){return this.jn_1*n.jn_1+this.kn_1*n.kn_1+this.ln_1*n.ln_1+this.mn_1*n.mn_1},g(yn).fi=function(n){return this.pn(n instanceof yn?n:x())},g(yn).qn=function(n){var t=n.jn_1-this.jn_1,i=n.kn_1-this.kn_1,e=n.ln_1-this.ln_1,r=n.mn_1-this.mn_1;return t*t+i*i+e*e+r*r},g(yn).di=function(n){return this.qn(n instanceof yn?n:x())},g(yn).toString=function(){return"Vector4(x="+this.jn_1+", y="+this.kn_1+", z="+this.ln_1+", w="+this.mn_1+")"},g(yn).hashCode=function(){var n=C(this.jn_1);return n=k(n,31)+C(this.kn_1)|0,n=k(n,31)+C(this.ln_1)|0,k(n,31)+C(this.mn_1)|0},g(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.jn_1,t.jn_1)&&S(this.kn_1,t.kn_1)&&S(this.ln_1,t.ln_1)&&S(this.mn_1,t.mn_1))},g(vn).wg=L,g($n).ai=B,g($n).gi=D,g(bn).ai=B,g(bn).ei=O,g(bn).gi=D,g(yn).ai=B,g(yn).ei=O,g(yn).gi=D,new an,n.$_$=n.$_$||{},n.$_$.a=kn,n.$_$.b=function(n){return function(n,t){return $n.call(t,n,n),t}(n,E(g($n)))},n.$_$.c=sn,n.$_$.d=on,n.$_$.e=wn,n.$_$.f=cn,n.$_$.g=mn,n.$_$.h=function(n){return new _n(n.bk_1,n.ck_1,n.dk_1,0,n.fk_1,n.gk_1,n.hk_1,0,n.jk_1,n.kk_1,n.lk_1,0,0,0,0,1).rk().tk().xk(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 _n(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=jn,n.$_$.n=X,n.$_$.o=Z,n.$_$.p=nn,n.$_$.q=en,n.$_$.r=_n,n.$_$.s=ln,n.$_$.t=$n,n.$_$.u=bn,n.$_$.v=yn,n.$_$.w=function(){return[(pn(),v),kn()]},n.$_$.x=function(n,t,i){return new $n(K(n.ki_1,t.ki_1,i.ki_1),K(n.li_1,t.li_1,i.li_1))},n})?e.apply(t,r):e)||(n.exports=s)},194:(n,t,i)=>{var e,r,s;r=[t,i(887)],void 0===(s="function"==typeof(e=function(n,t){"use strict";var i,e,r,s,_=t.$_$.c1,u=t.$_$.z4,o=t.$_$.b4,h=t.$_$.p3,a=t.$_$.c,l=t.$_$.t3;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).cv=function(){return f(),e},o(v).dv=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)},532:(n,t,i)=>{var e,r,s;r=[t,i(887),i(703),i(580),i(973),i(548)],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.$_$.b4,w=t.$_$.g1,$=t.$_$.f,p=t.$_$.c1,d=t.$_$.g,k=t.$_$.a2,g=t.$_$.c,m=t.$_$.r3,b=t.$_$.q3,x=i.$_$.t,q=t.$_$.l3,y=t.$_$.e5,j=t.$_$.i3,C=t.$_$.p3,S=i.$_$.x,z=i.$_$.e,E=e.$_$.c,A=e.$_$.f,R=e.$_$.a,L=e.$_$.d,I=e.$_$.e,T=t.$_$.t3,N=t.$_$.s,M=t.$_$.i5,B=t.$_$.d4,O=t.$_$.a,D=t.$_$.o3,F=t.$_$.d2,V=t.$_$.p5,G=t.$_$.n1,P=t.$_$.i4,W=t.$_$.j4,U=t.$_$.m3,H=r.$_$.c,K=r.$_$.b,Y=t.$_$.p,X=r.$_$.e,Q=i.$_$.w,Z=e.$_$.g,J=t.$_$.b2,nn=t.$_$.s1,tn=t.$_$.m1,en=t.$_$.y1,rn=t.$_$.d1,sn=t.$_$.c2,_n=t.$_$.h2,un=t.$_$.j5,on=r.$_$.d,hn=r.$_$.a,an=i.$_$.a,ln=t.$_$.v2,fn=i.$_$.f,cn=s.$_$.b,vn=t.$_$.d5,wn=t.$_$.f1,$n=t.$_$.k3,pn=t.$_$.z4;function dn(n){for(var t=this.ps(n),i=$(w(t,10)),e=t.g();e.h();){var r=e.i().na_1;i.e(r)}return i}function kn(){}function gn(){var n,t;_=this,this.qs_1=(n=0,t=(t=0)===g?n:t,new mn(new x(0,0),n,t))}function mn(n,t,i){null==_&&new gn,i=i===g?t:i,this.rs_1=n,this.ss_1=t,this.ts_1=i}function bn(){u=this,this.at_1=[null,new E(z()),null,null]}function xn(){return null==u&&new bn,u}function qn(){o=this;var n=new A("org.openrndr.shape.Segment2D",this,4);n.ug("start",!1),n.ug("control",!1),n.ug("end",!1),n.ug("corner",!0),this.bt_1=n}function yn(){return null==o&&new qn,o}function jn(n){return function(){var t;switch(n.dt_1.j()){case 0:t=n.et_1.nm(n.ct_1).a();break;case 1:case 2:t=function(n){var t=0,i=P(0,n.j()-1|0),e=i.pb_1,r=i.qb_1;if(e<=r)do{var s=e;e=e+1|0;var _=s;t+=n.k(_).nm(n.k(_+1|0)).a()}while(s!==r);return t}(n.it());break;default:throw N("unsupported number of control points")}return t}}function Cn(n,t,i,e){xn(),e=e!==g&&e,this.ct_1=n,this.dt_1=t,this.et_1=i,this.ft_1=e,this.gt_1=null,this.ht_1=M(jn(this))}function Sn(){}function zn(n,t,i){return i=i===g||i,new Cn(n,G(),t,i)}function En(n){var t;switch(n.dt_1.j()){case 0:t=H.or(An(n.ct_1),An(n.et_1));break;case 1:t=K.yq(An(n.ct_1),An(n.dt_1.k(0)),An(n.et_1));break;case 2:t=K.zq(An(n.ct_1),An(n.dt_1.k(0)),An(n.dt_1.k(1)),An(n.et_1));break;default:throw Y("unsupported control count "+n.dt_1.j())}return t}function An(n){return new X(n.ki_1,n.li_1)}function Rn(){h=this,this.yt_1=[new E(yn()),null,Z("org.openrndr.math.YPolarity",Q()),null],this.zt_1=new Tn(G(),!1)}function Ln(){return null==h&&new Rn,h}function In(n){return function(){for(var t=n.mu().bu_1,i=d(),e=t.g();e.h();){var r=e.i(),s=F([r.ct_1,r.et_1]);rn(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=_.ki_1;t=Math.min(u,o);var h=e,a=_.ki_1;e=Math.max(h,a);var l=i,f=_.li_1;i=Math.min(l,f);var c=r,v=_.li_1;r=Math.max(c,v)}return new mn(new x(t,i),e-t,r-i)}(i)}}function Tn(n,t,i){Ln(),i=i===g?an():i,this.bu_1=n,this.cu_1=t,this.du_1=i;for(var e=ln(this.bu_1).g();e.h();){var r=e.i(),s=r.na_1.et_1.nm(r.oa_1.ct_1).a();if(!(s<1e-6)){var _="points are too far away from each other "+r.na_1.et_1.toString()+" "+r.oa_1.ct_1.toString()+" "+s;throw Y(B(_))}}var u;this.eu_1=M((u=this,function(){for(var n=0,t=u.bu_1.g();t.h();)n+=t.i().a();return n})),this.fu_1=fn().hm_1,this.gu_1=M(In(this)),this.hu_1=M(function(n){return function(){for(var t=0,i=n.bu_1.g();i.h();){var e=i.i(),r=_n(_n(sn(e.ct_1),e.dt_1),sn(e.et_1)).g();if(r.h())for(var s=d(),_=r.i();r.h();){var u=r.i(),o=_;t+=(u.ki_1-o.ki_1)*(u.li_1+o.li_1),s.e(p),_=u}else G()}var h,a=nn(n.bu_1).ct_1,l=J(n.bu_1).et_1;switch(t+=(a.ki_1-l.ki_1)*(a.li_1+l.li_1),n.du_1.c1_1){case 0:h=t<0?On():Bn();break;case 1:h=t<0?Bn():On();break;default:un()}return h}}(this)),this.iu_1=cn(function(n){return function(){for(var t=n.bu_1,i=$(w(t,10)),e=t.g();e.h();){var r=En(e.i());i.e(r)}return on(i)}}(this)),this.ju_1=this.iu_1,this.ku_1=cn(function(n){return function(){for(var t=n.bu_1,i=$(w(t,10)),e=t.g();e.h();){var r=En(e.i());i.e(r)}return hn(i)}}(this)),this.lu_1=this.ku_1}function Nn(){if(f)return p;f=!0,a=new Mn("CLOCKWISE",0),l=new Mn("COUNTER_CLOCKWISE",1)}function Mn(n,t){pn.call(this,n,t)}function Bn(){return Nn(),a}function On(){return Nn(),l}function Dn(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 p;var a,l=Gn(Pn(t,i),.5),f=Gn(Pn(i,e),.5),c=Gn(Pn(e,r),.5),v=Gn(Pn(l,f),.5),w=Gn(Pn(f,c),.5),$=Gn(Pn(v,w),.5),d=h.ii(_),k=u.ii(h).ei(d),g=o.ii(h).ei(d);switch((k>1e-30?2:0)+(g>1e-30?1:0)|0){case 0:if(0===(a=d.ci()))k=_.di(u),g=o.di(h);else{a=1/a;var m=u.ii(_);k=a*d.fi(m);var b=o.ii(_);if(g=a*d.fi(b),k>0&&k<1&&g>0&&g<1)return p;k=k<=0?_.di(u):k>=1?u.di(h):u.di(_.hi(d.ji(k))),g=g<=0?o.di(_):g>=1?o.di(h):o.di(_.hi(d.ji(g)))}if(k>g){if(k0&&n.st_1.e(i),p}else if(g0&&n.st_1.e(e),p;break;case 1:if(g*g<=n.tt_1*d.ci()){if(n.ut_1<.01)return Wn(J(n.st_1),f)>0&&n.st_1.e(f),p;var x=h.ii(o).gi(o.ii(u)),q=Math.abs(x);if(q>=3.141592653589793&&(q=6.283185307179586-q),q0&&n.st_1.e(i),Un(J(n.st_1),o)>0&&n.st_1.e(e),p;if(0!==n.vt_1&&q>n.vt_1)return Un(J(n.st_1),o)>0&&n.st_1.e(e),p}break;case 2:if(k*k<=n.tt_1*d.ci()){if(n.ut_1<.01)return Wn(J(n.st_1),f)>0&&n.st_1.e(f),p;var y=o.ii(u).gi(u.ii(_)),j=Math.abs(y);if(j>=3.141592653589793&&(j=6.283185307179586-j),j0&&n.st_1.e(i),Wn(J(n.st_1),e)>0&&n.st_1.e(e),p;if(0!==n.vt_1&&j>n.vt_1)return Wn(J(n.st_1),i)>0&&n.st_1.e(i),p}break;case 3:if((k+g)*(k+g)<=n.tt_1*d.ci()){if(n.ut_1<.01)return Wn(J(n.st_1),f)>0&&n.st_1.e(f),p;var C=o.ii(u).gi(u.ii(_)),S=Math.abs(C),z=h.ii(o).gi(o.ii(u)),E=Math.abs(z);if(S>=3.141592653589793&&(S=6.283185307179586-S),E>=3.141592653589793&&(E=6.283185307179586-E),S+E0&&n.st_1.e(f),p;if(0!==n.vt_1){if(S>n.vt_1)return Wn(J(n.st_1),i)>0&&n.st_1.e(i),p;if(E>n.vt_1)return Wn(J(n.st_1),e)>0&&n.st_1.e(e),p}}}Dn(n,t,l,v,$,s+1|0),Dn(n,$,w,c,r,s+1|0)}function Fn(){this.qu_1=1e-30,this.ru_1=.01,this.su_1=12}function Vn(){this.st_1=d(),this.tt_1=0,this.ut_1=0,this.vt_1=0,this.wt_1=.5}function Gn(n,t){return new vn(n.na_1.ji(t),n.oa_1*t)}function Pn(n,t){return new vn(n.na_1.hi(t.na_1),n.oa_1+t.oa_1)}function Wn(n,t){return n.na_1.di(t.na_1)}function Un(n,t){return n.na_1.di(t)}function Hn(n,t,i,e,r){if(r>n.lt_1)return p;var s=Xn(Qn(t,i),.5),_=Xn(Qn(i,e),.5),u=Xn(Qn(s,_),.5),o=t.na_1,h=i.na_1,a=e.na_1,l=a.ii(o),f=h.ii(a).ei(a.ii(o));if(f>1e-30){if(f*f<=n.nt_1*l.ci()){if(n.pt_10&&n.qt_1.e(u),p;var c=h.ii(o).gi(a.ii(h)),v=Math.abs(c);if(v>=3.141592653589793&&(v=6.283185307179586-v),v0&&n.qt_1.e(u),p}}else{var w,$=l.ci();if(0===$)w=o.di(h);else{if((w=h.ii(o).fi(l)/$)>0&&w<1)return p;w=w<=0?h.di(o):w>=1?h.di(a):h.di(o.hi(l.ji(w)))}if(w0&&n.qt_1.e(i),p}Hn(n,t,s,u,r+1|0),Hn(n,u,_,e,r+1|0)}function Kn(){this.tu_1=1e-30}function Yn(){this.lt_1=12,this.mt_1=.5,this.nt_1=0,this.ot_1=.01,this.pt_1=0,this.qt_1=d()}function Xn(n,t){return new vn(n.na_1.ji(t),n.oa_1*t)}function Qn(n,t){return new vn(n.na_1.hi(t.na_1),n.oa_1+t.oa_1)}function Zn(n,t){return n.na_1.di(t.na_1)}function Jn(n,t){return n.na_1.di(t)}return m(kn,"Path"),b(gn),C(mn,"Rectangle"),b(bn),T(qn,"$serializer",g,g,[I]),m(Sn,"BezierSegment"),C(Cn,"Segment2D",g,g,[Sn],g,g,{0:yn}),b(Rn),C(Tn,"ShapeContour",g,g,[kn]),C(Mn,"Winding",g,pn),b(Fn),C(Vn,"BezierCubicSamplerT",Vn),b(Kn),C(Yn,"BezierQuadraticSamplerT",Yn),v(mn).us=function(){return this.rs_1.mm(new x(this.ss_1/2,this.ts_1/2))},v(mn).vs=function(){return new x(this.ss_1,this.ts_1)},v(mn).ws=function(){return this.rs_1.ki_1},v(mn).xs=function(){return this.rs_1.li_1},v(mn).ys=function(n,t){return new mn(new x(this.rs_1.ki_1-n,this.rs_1.li_1-t),this.ss_1+2*n,this.ts_1+2*t)},v(mn).zs=function(n,t,i){return t=t===g?n:t,i===g?this.ys(n,t):i.ys.call(this,n,t)},v(mn).toString=function(){return"Rectangle(corner="+this.rs_1.toString()+", width="+this.ss_1+", height="+this.ts_1+")"},v(mn).hashCode=function(){var n=this.rs_1.hashCode();return n=c(n,31)+q(this.ss_1)|0,c(n,31)+q(this.ts_1)|0},v(mn).equals=function(n){if(this===n)return!0;if(!(n instanceof mn))return!1;var t=n instanceof mn?n:y();return!!this.rs_1.equals(t.rs_1)&&!!j(this.ss_1,t.ss_1)&&!!j(this.ts_1,t.ts_1)},v(qn).nf=function(){return this.bt_1},v(qn).vg=function(){var n=xn().at_1;return[z(),n[1],z(),R()]},v(Cn).ob=function(){return this.ct_1},v(Cn).jt=function(){return this.dt_1},v(Cn).kt=function(){return this.et_1},v(Cn).a=function(){var n=this.ht_1;return U("length",1,W,(function(n){return n.a()}),null),n.s()},v(Cn).toString=function(){return"Segment(start="+this.ct_1.toString()+", end="+this.et_1.toString()+", control="+B(this.dt_1)+")"},v(Cn).equals=function(n){return this===n||null!=n&&!!O(this).equals(O(n))&&(n instanceof Cn||y(),!!this.ct_1.equals(n.ct_1)&&!!this.et_1.equals(n.et_1)&&j(this.dt_1,n.dt_1))},v(Cn).hashCode=function(){var n=this.ct_1.hashCode();return n=c(31,n)+this.et_1.hashCode()|0,c(31,n)+D(this.dt_1)|0},v(Rn).au=function(n,t,i){var e;if(n.l())e=this.zt_1;else{var r;if(t){var s=J(n).nm(nn(n)).ci()>1e-6?n:tn(n,1),_=en(s),u=$(w(_,10)),o=_.pb_1,h=_.qb_1;if(o<=h)do{var a=o;o=o+1|0;var l=a,f=zn(s.k(l),s.k((l+1|0)%s.j()|0));u.e(f)}while(a!==h);r=new Tn(u,!0,i)}else{var c=P(0,n.j()-1|0),v=$(w(c,10)),p=c.pb_1,d=c.qb_1;if(p<=d)do{var k=p;p=p+1|0;var g=k,m=zn(n.k(g),n.k(g+1|0));v.e(m)}while(k!==d);r=new Tn(v,t,i)}e=r}return e},v(Tn).ns=function(){return this.bu_1},v(Tn).nu=function(){return this===Ln().zt_1||this.bu_1.l()},v(Tn).ou=function(n){if(this.nu())return new vn(G(),G());for(var t=d(),i=d(),e=this.bu_1.g();e.h();)for(var r=e.i(),s=r.os(n),_=s.j()-1|0,u=0,o=s.g();o.h();){var h=o.i(),a=u;u=a+1|0;var l=wn(a),f=k(t);(null==f||f.pm(h)>0)&&(t.e(h),0===l||l===_?i.e(r.ft_1):i.e(!1))}return new vn(t,i)},v(Tn).pu=function(n){return this.nu()?Ln().zt_1:Ln().au(this.os(n),this.cu_1,this.du_1)},v(Tn).mu=function(n,t){return n=n===g?.5:n,t===g?this.pu(n):t.pu.call(this,n)},v(Tn).toString=function(){return"ShapeContour(segments="+B(this.bu_1)+", closed="+this.cu_1+", polarity="+this.du_1.toString()+")"},v(Tn).hashCode=function(){var n=D(this.bu_1);return n=c(n,31)+$n(this.cu_1)|0,c(n,31)+this.du_1.hashCode()|0},v(Tn).equals=function(n){if(this===n)return!0;if(!(n instanceof Tn))return!1;var t=n instanceof Tn?n:y();return!!j(this.bu_1,t.bu_1)&&this.cu_1===t.cu_1&&!!this.du_1.equals(t.du_1)},v(Vn).xt=function(n,t,i,e){return this.tt_1=this.wt_1*this.wt_1,this.st_1.b3(),this.st_1.e(V(n,0)),Dn(this,V(n,0),V(t,1/3),V(i,2/3),V(e,1),0),J(this.st_1).na_1.di(e)>0&&this.st_1.e(V(e,1)),this.st_1},v(Yn).rt=function(n,t,i){return this.nt_1=this.mt_1*this.mt_1,this.qt_1.b3(),this.qt_1.e(V(n,0)),Hn(this,V(n,0),V(t,.5),V(i,1),0),Jn(J(this.qt_1),i)>0&&this.qt_1.e(V(i,1)),this.qt_1},v(qn).wg=L,v(Cn).os=dn,v(Cn).it=function(n,t){return n=n===g?.5:n,t===g?this.os(n):dn(n)},v(Cn).ps=function(n){var t;switch(this.jt().j()){case 0:t=F([V(this.ob(),0),V(this.kt(),1)]);break;case 1:var i=new Yn;i.mt_1=n,t=i.rt(this.ob(),this.jt().k(0),this.kt());break;case 2:var e=new Vn;e.wt_1=n,t=e.xt(this.ob(),this.jt().k(0),this.jt().k(1),this.kt());break;default:throw N("unsupported number of control points")}return t},v(Tn).os=function(n){for(var t=this.ps(n),i=$(w(t,10)),e=t.g();e.h();){var r=e.i().na_1;i.e(r)}return i},v(Tn).ps=function(n){for(var t=d(),i=this.ns().j(),e=this.ns().g(),r=0;e.h();){var s=r;r=r+1|0;for(var _=e.i().ps(n).g();_.h();){var u=_.i(),o=k(t);(null==o||o.na_1.di(u.na_1)>0)&&t.e(u.wc(g,(u.oa_1+s)/i))}}return t},new Fn,new Kn,n.$_$=n.$_$||{},n.$_$.a=Ln,n.$_$.b=mn,n.$_$.c=function(n,t,i,e,r){return r=r===g||r,new Cn(n,F([t,i]),e,r)},n.$_$.d=Tn,n.$_$.e=function(n,t){return S(n,t.rs_1,t.rs_1.mm(t.vs()))},n})?e.apply(t,r):e)||(n.exports=s)},548:(n,t,i)=>{var e,r,s;r=[t,i(887)],void 0===(s="function"==typeof(e=function(n,t){"use strict";var i=t.$_$.i5;function e(n){this.to_1=n,this.uo_1=i(this.to_1)}return t.$_$.b4,(0,t.$_$.p3)(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)},737:(n,t,i)=>{var e,r,s;r=[t,i(887),i(703)],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.$_$.y3,v=t.$_$.e4,w=t.$_$.u4,$=t.$_$.u,p=(t.$_$.z,t.$_$.b4),d=t.$_$.t3,k=t.$_$.d4,g=t.$_$.n3,m=t.$_$.o3,b=t.$_$.e5,x=t.$_$.i3,q=t.$_$.p3,y=(t.$_$.c1,t.$_$.c),j=t.$_$.a1;function C(n,t,i,r,s){z();var _=function(n,t,i){var e=h(n),r=h(i),s=N(h(t)),_=N(h(a(r)+a(s)|0));return N(h(a(e)+a(_)|0))}(n,t,i),u=(z(),e),o=h(7),l=h(a(_)&a(o)),f=u[a(l)];return r*f.pa()+s*f.qa()}function S(n,t,i,e,s,_,u){z();var o=function(n,t,i,e){var r=h(n),s=h(e),_=h(t),u=N(h(i)),o=N(h(a(_)+a(u)|0)),l=N(h(a(s)+a(o)|0));return N(h(a(r)+a(l)|0))}(n,t,i,e),l=(z(),r),f=h(15),c=h(a(o)&a(f)),v=l[a(c)];return s*v.wj_1+_*v.xj_1+u*v.yj_1}function z(){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 E(n){return n>=0?c(n):c(n)-1|0}function A(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:(_*=_)*_*C(n,o,h,a,l))+((_=.5-f*f-c*c)<0?0:(_*=_)*_*C(n,o+r|0,h+s|0,f,c))+((_=.5-v*v-w*w)<0?0:(_*=_)*_*C(n,o+1|0,h+1|0,v,w)))}function T(n,t,i,e){var r,s,_,u,o,h,a=(t+i+e)/3,l=E(t+a),f=E(i+a),c=E(e+a),v=((l+f|0)+c|0)/6,w=t-(l-v),$=i-(f-v),p=e-(c-v);w>=$?$>=p?(r=1,s=0,_=0,u=1,o=1,h=0):w>=p?(r=1,s=0,_=0,u=1,o=0,h=1):(r=0,s=0,_=1,u=1,o=0,h=1):$>>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 d(R,"Random"),q(L,"RandomState"),p(R).t1j=function(n,t){return function(n,t,i,e){return t=t===y?-1:t,i=i===y?1:i,(e=e===y?j():e).db()*(i-t)+t}(0,n,t,this.n1j_1)},p(R).u1j=function(n,t){return I(A(0,this.s1j_1),n,t)},p(L).toString=function(){return"RandomState(seed="+this.v1j_1+", rng="+k(this.w1j_1)+")"},p(L).hashCode=function(){var n=g(this.v1j_1);return o(n,31)+m(this.w1j_1)|0},p(L).equals=function(n){if(this===n)return!0;if(!(n instanceof L))return!1;var t=n instanceof L?n:b();return this.v1j_1===t.v1j_1&&!!x(this.w1j_1,t.w1j_1)},n.$_$=n.$_$||{},n.$_$.a=function(){return null==_&&new R,_},n.$_$.b=function(n,t){var i=(t=t===y?j():t).db()*n.ss_1+n.rs_1.ki_1,e=t.db()*n.ts_1+n.rs_1.li_1;return new l(i,e)},n})?e.apply(t,r):e)||(n.exports=s)},422:(n,t,i)=>{var e,r,s;r=[t,i(887),i(532),i(703)],void 0===(s="function"==typeof(e=function(n,t,i,e){"use strict";var r=t.$_$.c,s=i.$_$.a,_=t.$_$.j3,u=t.$_$.d4,o=t.$_$.p,h=(t.$_$.c1,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)){q=!1;break n}}q=!0}if(!q)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=g[F],A=void 0,R=void 0,L=void 0,I=void 0,A=z.ai(),R=E.ai(),L=A.km(R),I=A.lm(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/y[on],H[rn]=(2*y[on]+2*y[rn])/(y[on]*y[rn]),X[rn]=1/y[rn],tn[rn]=-(2*T[rn]*y[rn]+T[_n]*y[on])/(y[on]*y[rn])}while(en + if (programName != currentProgram) + """$programName """ + else + """$programName """ + } + + loadAndHighlight("sources-for-web/${currentProgram}.kt.txt") +} +external fun loadAndHighlight(url: String) diff --git a/sources-for-web/appList.kt.txt b/sources-for-web/appList.kt.txt new file mode 100644 index 0000000..1630b60 --- /dev/null +++ b/sources-for-web/appList.kt.txt @@ -0,0 +1,6 @@ +// This file was auto-generated by Gradle +val myApps = mapOf( + "fabulousPink" to :: fabulousPink, + "bouncyBubbles" to :: bouncyBubbles, + "justGreen" to :: justGreen, +) diff --git a/sources-for-web/bouncyBubbles.kt.txt b/sources-for-web/bouncyBubbles.kt.txt new file mode 100644 index 0000000..d6f5672 --- /dev/null +++ b/sources-for-web/bouncyBubbles.kt.txt @@ -0,0 +1,69 @@ +import org.openrndr.application +import org.openrndr.color.ColorRGBa +import org.openrndr.color.rgb +import org.openrndr.extra.noise.Random +import org.openrndr.extra.noise.shapes.uniform +import org.openrndr.math.Vector2 +import org.openrndr.shape.clamp + +// Based on https://github.com/processing/processing-website/blob/main/content/examples/Topics/Motion/BouncyBubbles/BouncyBubbles.pde + +fun bouncyBubbles() = application { + configure { + title = "OPENRNDR - Bouncy Bubbles" + } + + program { + val numBalls = 12 + val spring = 0.05 + val gravity = Vector2(0.0, 0.03) + val friction = -0.9 + + class Ball(var position: Vector2, val radius: Double, val id: Int) { + var velocity = Vector2.ZERO + val safeArea = drawer.bounds.offsetEdges(-radius) + + fun collide(others: List) { + for (i in id + 1 until numBalls) { + val diff = others[i].position - position + val minDist = others[i].radius + radius + if (diff.length < minDist) { + val targetPos = position + diff.normalized * minDist + val acceleration = (targetPos - others[i].position) * spring + velocity -= acceleration + others[i].velocity += acceleration + } + } + } + + fun move() { + velocity += gravity + position += velocity + if (position.x !in radius..width - radius) { + velocity *= Vector2(friction, 1.0) + } + if (position.y !in radius..height - radius) { + velocity *= Vector2(1.0, friction) + } + position = position.clamp(safeArea) + } + + fun display() { + drawer.circle(position, radius) + } + } + + val balls = List(numBalls) { Ball(drawer.bounds.uniform(), Random.double(20.0, 60.0), it) } + + extend { + drawer.clear(rgb("#282622")) + drawer.stroke = null + drawer.fill = ColorRGBa.WHITE.opacify(0.8) + balls.forEach { + it.collide(balls) + it.move() + it.display() + } + } + } +} diff --git a/sources-for-web/fabulousPink.kt.txt b/sources-for-web/fabulousPink.kt.txt new file mode 100644 index 0000000..aa9f1d2 --- /dev/null +++ b/sources-for-web/fabulousPink.kt.txt @@ -0,0 +1,33 @@ +import org.openrndr.application +import org.openrndr.color.ColorRGBa +import org.openrndr.extra.noise.Random +import org.openrndr.extra.shapes.hobbycurve.hobbyCurve +import org.openrndr.math.Polar + +fun fabulousPink() = application { + configure { + title = "OPENRNDR - Fabulous Pink" + } + program { + console.log("Kotlin says OPENRNDR program started") + + extend { + drawer.clear(ColorRGBa.PINK) + + drawer.fill = null + drawer.circle(drawer.bounds.center, 250.0) + + drawer.fill = ColorRGBa.WHITE + + // Create a List of points centered in the window. + // Use polar coordinates. The radius is animated using simplex noise. + val points = List(12) { + val angle = it * 30.0 + val radius = 200.0 + Random.simplex(it * 0.1, it * 1.7 + seconds * 0.2) * 100.0 + drawer.bounds.center + Polar(angle, radius).cartesian + } + // Construct and draw a closed Hobby curve with the points. + drawer.contour(hobbyCurve(points, true)) + } + } +} \ No newline at end of file diff --git a/sources-for-web/justGreen.kt.txt b/sources-for-web/justGreen.kt.txt new file mode 100644 index 0000000..d276323 --- /dev/null +++ b/sources-for-web/justGreen.kt.txt @@ -0,0 +1,14 @@ +import org.openrndr.application +import org.openrndr.color.ColorRGBa + +fun justGreen() = application { + configure { + title = "OPENRNDR - Just Green" + } + program { + extend { + drawer.clear(ColorRGBa.GREEN) + drawer.circle(mouse.position, 150.0) + } + } +} \ No newline at end of file