0xa904…b5d3

All memos sent from and to 0xa904…b5d3.

QNzGg5Lq9JGLpZ2ibZo9X1n9Dl0RnA==Spjm6fWBqn7rmbEfjHHMLw==X5YSrsHoeX53X+bYr0k3TQkgPqeg9A==Gnv/iJcqG+4WR0wNZv65Ig==dGH+Qx7azjCrQEEbZnTRx9/OMlOH0Q==NHNymK3usgpRnFueM0cLtA==+/a/0XQGmLth00SewK61ieBntvGFBA==2+wIlbsM6myuqTV/epX6Ig==07UyR9GpSOWVNFW1McmWlapMCRBKHQ==nbukMKvD5pVWGfrjdro7yQ==4NfiLnqaHuH/6aMrof2NrBfRLo72NA==BbiQQOpVb6QEY2HiIhkoGA==Wt3xSNTivKfipEsJOUMvsGiLKsZ3cA==oyowuZM2zKwxafLGNKj+5g==0pu8nsDk/stMU5GqOwgMlXSwOhZ27g==DPXGxMTbv9Pyy72WKp5uAQ==Ir0GqT2J90PvJnYz2F/hl5j9/bv5pA==muxp1sgMdzABYRWCH4WBzg==CNYM9hjjbDXb2sFiSefdcmZNEKMxdA==8qOMizOkxFkIkGhW5STKLA==
**Sparkling Goodbye** is a generative painting algorithm that celebrates all departures. It's a Farewell to the past, a Bye-Bye to the familiar, and a See-You-Later to faces that you will soon forget. Each **Sparkling Goodbye** is meticulously loaded with machine-picked emotions, made from the finest ingredient (100% pixels, full refund if you find any impurities in our ingredient). This hands-off approach makes every single **Sparkling Goodbye** a chaotic blend of happiness, sadness, serenity, and anxiety. With every glance, you'll discover the impulsiveness of the machine touch as you savor the delightful interplay of dramas that only a maniac generative algorithm can create. Let **Sparkling Goodbye** create a moment for you. It will insist that goodbyes are not meant to be said with tears but with sparkling water.
[["output","geo","shape","extracted"],["output","color","mapping","shape","top_cid"],["texture","base","offset_rg"],"layer",!0],s,[["output","geo","signature","extracted"],["output","color","mapping","signature","cid"],["default","signature","offset"],"flat",!1],[["output","geo","center","extracted"],["output","color","mapping","center","cid"],undefined,"flat",!0],[["output","geo","center","line"],["output","color","mapping","center","line_cid"],["texture","center","line_offset"],"flat",!0],[["output","geo","center","highlight"],["output","color","mapping","center","highlight_cid"],undefined,"flat",!1],[["output","geo","border","vector"],["output","geo","border","cids"],undefined,"flat",!1]],c=Fe(["output","collection","polygons"]);for(let _=0;_<h.length;_++){let[t,e,n,r,o]=h[_],a=undefined;n&&(a=Fe(n));let u=Fe(t),i=Fe(e);if("flat"===r)Jr(u,i,a,c,o);else for(let l=u.length-1;l>-1;l--){for(let t=u[l].length-1;t>-1;t--)Jr(u[l][t],i[l][t],a,c,o)}}}function eo(){$e(["output","geo","focus"],o(Fe(["output","geo","focal_pts"]))),De({bm_0:zt()},["output","temp"]),window.start=Date.now(),mr(),Ar(),Sr(),Lr(),Or(),Yr(),Gr(),qr(),Zr(),to()}function no(){_r(),Ke(),fr(),De({lines:{raw:[],cid:[],rgba:[],wgl:[]},polygons:{raw:[],cid:[],rgba:[],wgl:[]},points:{raw:[],cid:[],rgba:[],wgl:[]}},["output","collection"]),eo(),on()}De({expand_f:dn,rotation_f:mn},["default","center_mode"]),$e(["mode",pn,"circle","func"],yn),$e(["mode",pn,"leaf","func"],wn),$e(["mode",pn,"pendant","func"],vn),$e(["mode",pn,"glass","func"],Mn),$e(["patterns","grid","func"],Un),$e(["patterns","frame","func"],Yn),$e(["patterns","center_box","func"],Gn),$e(["patterns","ladder","func"],qn),$e(["patterns","pond","func"],Wn),$e(["patterns","corner","func"],Jn),$e(["patterns","field","func"],Xn),$e(["patterns","flip","func"],Kn),f(tokenData),_e();let ro=Fe(["holder","canvas"]).getContext("webgl");if(De({enable_gl:null!==ro,gl:ro},["render"]),ro){document.addEventListener("DOMContentLoaded",(function(t){no()}));let ao=function(){se(),le(),setTimeout(requestAnimationFrame(oo))};function oo(){Fe(["render","enable_gl"])&&Fe(["render","content_ready"])&&rn()}window.addEventListener("resize",ao),document.addEventListener("orientationchange",ao)}else{let uo=Fe(["holder","canvas"]);document.body.removeChild(uo.parentElement.parentElement);let io=document.createElement("h1");io.innerText="Please switch to a WebGL-enabled browser and refresh.",document.body.appendChild(io)}
;Bt(t[1],t[0],n)&&n[t[1]][t[0]]===e&&u.push(r)}u.length<1||r.push(u.map((t=>[t,a])))}return r}function Nn(t){let e=Fe(["output","geo","focus"]),n=["texture","center_highlight"],r=Fe("w"),o=r*m([...n,"center_dot_r"]),a=0,u=Math.floor(m([...n,"side_ct"])),i=Math.floor(m([...n,"dot_side"])),l=Math.floor(m([...n,"layer_ct"]));t.push(gt(...e,o,i));for(let s=0;s<l;s++){o*=m([...n,"radius_dec"]),a+=m([...n,"radius_side_inc"])*r,gt(...e,a,u).forEach((e=>t.push(gt(...e,o,i))))}}function Dn(t,e){let r=T(t),a=["patterns",e],u=o(Fe([...a,"angle_combos"])),i=Fe([...a,"dist_var_rate"]),s=0;n()<Fe([...a,"alter_start_rate"])&&(s=m([...a,"alter_start_angle"]),u=u.map((t=>t+s)));let h=m([...a,"dist_starter"]);h*=r;let c=[h,h+m([...a,"dist_variation"])*r],_=[];for(let n=0;n<u.length;n++){let e=u[n];if(i)Q(t,c,e,null).forEach((t=>_.push(t)));else{K(t,l(c),e,null).forEach((t=>_.push(t)))}}return _}function jn(t,e,n,r){let o=T(t),a=["patterns","grid"],u=m([...a,"dist_starter"]);u*=o;let i=[u,u+m([...a,"dist_variation"])*o],s=[];for(let h=0;h<n.length;h++){let e=n[h];if(r)Q(t,i,e,null).forEach((t=>s.push(t)));else{K(t,l(i),e,null).forEach((t=>s.push(t)))}}return s}function Un(t){let e=["patterns","grid"],r=o(Fe([...e,"angle_combos"])),a=Fe([...e,"dist_var_rate"]),u=0;return n()<Fe([...e,"alter_start_rate"])&&(u=m([...e,"alter_start_angle"]),r=r.map((t=>t+u))),jn(t,u,r,a)}function Hn(t,e,n){let r=T(t),o=["patterns","tight_grid"],a=Fe([...o,"dist_var_rate"]),u=m([...o,"dist_starter"]);u*=r;let i=[u,u+m([...o,"dist_variation"])*r],s=[];for(let h=0;h<n.length;h++){let e=n[h];if(a)Q(t,i,e,null).forEach((t=>s.push(t)));else{K(t,l(i),e,null).forEach((t=>s.push(t)))}}return s}function Vn(t){let e=["patterns","tight_grid"],r=o(Fe([...e,"angle_combos"])),a=0;return n()<Fe([...e,"alter_start_rate"])&&(a=m([...e,"alter_start_angle"]),r=r.map((t=>t+a))),Hn(t,a,r)}function Yn(t){let[e,r,o,a]=O(t),u=["patterns","frame"],i=Fe([...u,"min_wh"]);if(Math.min(o,a)<i)return[];let h=Math.min(o,a)/i*Fe([...u,"max_layer_factor"]),c=s([Math.min(3,h),h*Fe([...u,"extend_factor"])]),_=o/c,f=a/c,g=Fe([...u,"dist_noise"]).map((t=>t*o)),p=Fe([...u,"dist_noise"]).map((t=>t*a)),d=B(t),b=n()<Fe([...u,"add_wh_noise"]),x=0;n()<Fe([...u,"alter_start_rate"])&&(x=m([...u,"alter_start_angle"]));let y=[];for(let n=0;n<c-1;n++){let t=_*(n+1),u=f*(n+1);b&&(t+=l(g),u+=l(p));let i=d[0]-t/2,s=d[1]-u/2;[[[e,s],[e+o,s]],[[i+t,r],[i+t,r+a]],[[e,s+u],[e+o,s+u]],[[i,r],[i,s,r+u]]].forEach((function(t){0!==x&&(t=E(d,t,x)),y.push(t)}))}return y}function Gn(t){let[e,r,o,a]=O(t),u=["patterns","center_box"],i=Fe([...u,"min_wh"]);if(Math.min(o,a)<i)return[];e+=0,r+=0,o-=0,a-=0;let l=[2,Math.max(2*i,o)/i],h=[2,Math.max(2*i,o)/i],c=s(l),_=s(h),f=o/c,g=a/_,p=[],d=n()<Fe([...u,"center_box_rate"]);for(let n=0;n<_;n++){let t=n*g+r;for(let r=0;r<c;r++){let o=r*f+e,a=ht(o,t,f,g,!0),[l,s,h]=Jt(a,!0);if(p.push(l),d&&0!==n&&0!==r){let e=Math.max(f*m([...u,"center_box_perc"]),i),n=Math.max(g*m([...u,"center_box_perc"]),i),r=ht(o-e/2,t-n/2,e,n,!0),[a,l,s]=Jt(r,!0);p.push(a)}}}return p}function qn(t){let[e,r,o,a]=O(t),u=["patterns","ladder"],i=Fe([...u,"min_wh"]);if(Math.min(o,a)<i)return[];let l=[3,o/i],h=[3,a/i];l.sort(),h.sort();let c=s(l),_=s(h),f=Math.max(o/c,i),g=Math.max(a/_,i),p=[],d=Math.max(o,a)*2**.5,b=0;n()<Fe([...u,"alter_start_rate"])&&(b=m([...u,"alter_start_angle"]));let x=B(t);for(let n=0;n<_;n++){let t=n*g+r,o=[[n*f+e,t-t],[n*f+e,t+1*d]];0!==b&&(o=E(x,o,b)),p.push(o)}for(let n=0;n<c;n++){let t=n*f+e,o=[[t-f,n*g+r],[t+1*d,n*g+r]];o=E(x,o,b),p.push(o)}return p}function Wn(t){let[e,n,r,a]=O(t),u=["patterns","pond"],i=Fe([...u,"noise_rg"]).map((t=>t*r)),l=m([...u,"base_radius"]),s=ut(e,n,r,a,2,2);s.push(ut(e,n,r,a,1,1)[0]);let h=o(s),c=2*l,_=et(gt(h[0],h[1],l,Math.floor(m([...u,"side_ct"]))),i);_=E(h,_,m([...u,"start_rot"]));let f=mt(_);f.push([...f[0]]);let g=Fe([...u,"min_gap"]),p=Math.max(m([...u,"gap_ratio"])*r,g),d=[f],b=Math.max(r,a)/(2*p);for(let o=0;o<b;o++){f=V(f,2*p/c+1,h),d.push(f),c+=2*p}return d}function Jn(t){let e=T(t),n=["patterns","corner"],r=Fe([...n,"dist_var_rate"]),a=o(Fe([...n,"angle_combos"])),u=m([...n,"dist_starter"]);u*=e;let i=[u,u+m([...n,"dist_variation"])*e],s=m([...n,"alter_start_angle"]);a=a.map((t=>t+s));let h=[];for(let o=0;o<a.length;o++){let e=a[o];if(r)Q(t,i,e,null).forEach((t=>h.push(t)));else{K(t,l(i),e,null).forEach((t=>h.push(t)))}}let c=[...n,"angle"],_=[...n,"dist"];return h.map((t=>st(t,c,c,_,_)))}function Xn(t){let e=T(t),n=["patterns","field"],r=Fe([...n,"dist_var_rate"]),a=o(Fe([...n,"angle_combos"])),u=m([...n,"dist_starter"]);u*=e;let i=[u,u+m([...n,"dist_variation"])*e],s=m([...n,"alter_start_angle"]);a=a.map((t=>t+s));let h=[];for(let o=0;o<a.length;o++){let e=a[o];if(r)Q(t,i,e,null).forEach((t=>h.push(t)));else{K(t,l(i),e,null).forEach((t=>h.push(t)))}}let c=[...n,"angle"],_=[...n,"dist"];return h.map((t=>st(t,c,c,_,_)))}function Kn(t){let e=T(t),n=["patterns","flip"],r=Fe([...n,"dist_var_rate"]),a=o(Fe([...n,"angle_combos"])),u=m([...n,"dist_starter"]);u*=e;let i=[u,u+m([...n,"dist_variation"])*e],s=m([...n,"alter_start_angle"]);a=a.map((t=>t+s));let h=[];for(let o=0;o<a.length;o++){let e=a[o];if(r)Q(t,i,e,null).forEach((t=>h.push(t)));else{K(t,l(i),e,null).forEach((t=>h.push(t)))}}let c=[...n,"angle"],_=[...n,"angle2"],f=[...n,"dist"];return h.map((t=>st(t,c,_,f,f)))}function Qn(t,e,n,r,o,a){Vt(n.length,n[0].length,e);for(let u=0;u<t.length;u++){let e=l(a);qt(Qt(t[u],e),n,o,r)}}function Zn(t,e,n,r,o){let a=Fe(["texture","base_pattern","offset_rg"]);Qn(t,e,n,((t,e)=>n[t][e]===o),r,a)}function tr(t,e,n,r,o){let a=Fe(["texture","bg_pattern","offset_rg"]);Qn(t,e,n,((t,e)=>n[t][e]===o),r,a)}function er(t,e,n){let r={};return r.font_width=s([2,4]),r.font_height=r.font_width+s([2,4]),r.licia_width=5*r.font_width,r.he_width=2*r.font_width,r.b0b1_gap=o([.5,.75,1])*r.font_width,r.h2ma_width=3*r.font_width-r.b0b1_gap,r.h2ma_font_width=r.h2ma_width/5,r.tb_gap=s([1,2]),r.margin_unit=0,r.block_ct_width=r.licia_width+2*r.margin_unit,r.block_ct_height=2*r.font_height+r.tb_gap+2*r.margin_unit,r.skeleton_box_width=l([.25,.45]),r.fixed_text_margin=2*r.skeleton_box_width,r.x_scale=e/r.block_ct_width,r.y_scale=n/r.block_ct_height,r.top_left=t,r}function nr(t){let e=t.margin_unit,n=t.margin_unit;const r=[[[e,n],[e,n+t.font_height]],[[e,n+t.font_height],[e+t.font_width,n+t.font_height]]],o=e+t.font_width,a=[[[o,n],[o+t.font_width,n]],[[o+t.font_width/2,n],[o+t.font_width/2,n+t.font_height]],[[o,n+t.font_height],[o+t.font_width,n+t.font_height]]],u=e+2*t.font_width,i=[[[u,n],[u+t.font_width,n]],[[u,n],[u,n+t.font_height]],[[u,n+t.font_height],[u+t.font_width,n+t.font_height]]],l=a.map((e=>e.map((e=>[e[0]+2*t.font_width,e[1]])))),s=e+4*t.font_width,h=[[[s,n+t.font_height],[s,n]],[[s,n],[s+t.font_width,n]],[[s+t.font_width,n],[s+t.font_width,n+t.font_height]],[[s+t.font_width,n+t.font_height/2],[s,n+t.font_height/2]]];t.unit_storage.text.top.skeleton=[r,a,i,l,h]}function rr(t){let e=t.margin_unit,n=t.margin_unit+t.tb_gap+t.font_height;const r=[[[e,n],[e,n+t.font_height]],[[e+t.font_width,n+t.font_height/2],[e,n+t.font_height/2]],[[e+t.font_width,n],[e+t.font_width,n+t.font_height]]],o=e+t.font_width,a=[[[o+t.font_width,n],[o,n]],[[o+t.font_width,n+t.font_height/2],[o,n+t.font_height/2]],[[o,n+t.font_height],[o+t.font_width,n+t.font_height]]];t.unit_storage.text.btm0.skeleton=[r,a]}function or(t){const e=2*t.font_width+t.b0b1_gap+t.margin_unit,n=t.tb_gap+t.font_height+t.margin_unit,r=[[[e,n],[e,n+t.font_height]],[[e+t.h2ma_font_width,n+t.font_height/2],[e,n+t.font_height/2]],[[e+t.h2ma_font_width,n],[e+t.h2ma_font_width,n+t.font_height]]],o=e+t.h2ma_font_width,a=[[[o+t.h2ma_font_width,n],[o,n]],[[o+t.h2ma_font_width/2,n],[o+t.h2ma_font_width/2,n+t.font_height]],[[o+t.h2ma_font_width,n+t.font_height],[o,n+t.font_height]]],u=a.map((e=>e.map((e=>[e[0]+t.h2ma_font_width,e[1]])))),i=e+3*t.h2ma_font_width,l=[[[i,n+t.font_height],[i,n]],[[i+t.h2ma_font_width,n],[i,n]],[[i+t.h2ma_font_width,n],[i+t.h2ma_font_width,n+t.font_height]],[[i+t.h2ma_font_width/2,n],[i+t.h2ma_font_width/2,n+t.font_height]]],s=e+4*t.h2ma_font_width,h=[[[s+t.h2ma_font_width,n],[s,n]],[[s+t.h2ma_font_width,n],[s+t.h2ma_font_width,n+t.font_height]],[[s+t.h2ma_font_width,n+t.font_height/2],[s,n+t.font_height/2]]];t.unit_storage.text.btm1.skeleton=[r,a,u,l,h]}function ar(t){t.unit_storage.text.top.annotation=[[1,0],[0,1,0],[0,1,0],[0,1,0],[1,0,1,0]],t.unit_storage.text.btm0.annotation=[[1,0,1],[0,0,0]],t.unit_storage.text.btm1.annotation=[[1,0,1],[0,1,0],[0,1,0],[1,0,1,0],[0,1,0]]}function ur(t){let e=Object.keys(t.unit_storage.text);for(let n=0;n<e.length;n++){let r=e[n],o=t.unit_storage.text[r].skeleton;t.unit_storage.text[r].box=[];for(let e=0;e<o.length;e++){let n=o[e],a=[];t.unit_storage.text[r].box.push(a);for(let o=0;o<n.length;o++){let u,i,l=n[o],s=t.unit_storage.text[r].annotation[e][o],h=L(l);0===s?(u=h[2],i=t.skeleton_box_width):(u=t.skeleton_box_width,i=h[3]+t.skeleton_box_width,h[0]-=t.skeleton_box_width/2);let c=ae(h[0],h[1],u,i);c.push([...c[0]]),a.push(c)}}}}function ir(t){t.unit_storage={text:{top:{skeleton:[],fill:[],box:[]},btm0:{skeleton:[],fill:[],box:[]},btm1:{skeleton:[],fill:[],box:[]}},boundary:{},boundary_fill:{}},nr(t),rr(t),or(t),ar(t),ur(t)}function lr(t,e){let[n,r]=t.top_left;return e.map((e=>R(Y(e,[0,0],t.x_scale,t.y_scale),n,r)))}function sr(t){t["export"]=[],["top","btm0","btm1"].forEach((function(e){t["export"][e]=[],["skeleton","box"].forEach((function(n){t["export"][e][n]=[],t.unit_storage.text[e][n].forEach((function(r){let o=[];r.forEach((e=>{o.push(lr(t,e))})),t["export"][e][n].push(o)}))}))}))}function hr(t){$e(["output","geo","signature"],{extracted:[]});let e=Fe(["output","geo","signature","extracted"]),n=["default","signature"];["top","btm0","btm1"].forEach((r=>{t["export"][r].skeleton.forEach((t=>{t.forEach((t=>{let r=U(t,m([...n,"break_factor"]));et(r,Fe([...n,"noise_rg"])),e.push(r)}))}))})),Dr(Ue(),"signature",!1)}function cr(t,e,n){let r=er(t,e,n);return ir(r),sr(r),hr(r),r}function _r(){let t={c_rule:o(Object.keys(Fe(["color","rules"]))),center_mode:o(Object.keys(Fe(["mode","center_mode"]))),shape_mode:o(Object.keys(Fe(["mode","shape_mode"]))),bg_pattern:o(Fe(["static","bg_patterns"]))};De(t,["output","static"]),De({alter_layer:n()<Fe(["color","alter_layer_rate"]),enhanced_rot:n()<Ce(["layer","enhanced_rot"],an)},["output","static"])}function fr(){let t,e,n,r,o;t=Fe(["w"]),e=Fe("h");let a=Fe(["clipper","scale_factor"]);$e(["clipper","shape"],[Math.floor(e/a),Math.floor(t/a)]),n=ut(0,0,t,e,2,2),n.push(ut(0,0,t,e,1,1)[0]),$e(["output","geo","focal_pts"],n),$e(["output","geo","rect"],ht(0,0,t,e)),r=Fe(["default","structure","lg_perc"]),o=ht(-r*t,-r*e,t*(1+2*r),e*(1+2*r)),$e(["output","geo","lg_rect"],o)}function gr(t){ne(Fe(["output","geo","center"]).vector,t,"c",Be(["structure","gap_rg"],"center_mode"))}function pr(t){let e=Fe(["output","geo","center"]),n=e.vector,r=[];e.extracted=r;for(let o=0;o<n.length;o++){let e=kn(t,`c_${o}`,0,Fe(["clipper","extract_factor_center"]));for(let t=0;t<e.length;t++)r.push(e[t])}e.extracted=r}function dr(t){t.highlight=[],Nn(t.highlight)}function mr(){let t=Fe(["output","geo","focus"]),e={vector:undefined,color_keys:undefined,extracted:undefined};$e(["output","geo","center"],e),Ce(["func"],"center_mode")(t);let n=Fe(["output","temp","bm_0"]);gr(n),pr(n),dr(e)}function br(t){let e=Math.floor(Be(["layer","shape_ct0"],an)),n=2*Math.PI/e,r=Be(["layer","initial_rot"],an),o=Fe("w"),[a,u]=t,l=[];Fe(["output","geo","shape","skeleton_line_by_layer"]).push(l);let s=Fe(["output","static","enhanced_rot"]),h=Be(["layer","rot_enhance_rg"],an);$e(["output","static","enhance_rot_rad"],h),$e(["output","geo","shape","start_direction"],i()),h*=-1;for(let i=0;i<e;i++){let e=Be(["layer","start_dist0"],an)*o,c=[[a+e,u],[a+e+Be(["layer","len_rg0"],an)*o,u]];s&&(c[1]=M(t,c[1],h)),c=E(t,c,r+n*i),l.push(c)}}function xr(t,e,n,r,o,a,u,i){let s=[t[0],e[0]],h=[t[1],e[1]],c=[k(s[0],s[1],n),k(h[0],h[1],r)],_=k(...c,l(u)),f=l(i),g=A(_,c[1],f);return o&&(g=M(_,g,a)),[_,g]}function yr(t){return[t+Be(["layer","perc_noise"],an),t+Be(["layer","perc_noise"],an)]}function wr(){let t=[];if(n()<Be(["layer","center_node_rate"],an)&&t.push(yr(.5)),n()<Ce(["layer","additional_node_rate"],an)){let e=Math.floor(Be(["layer","additional_nodes_ct"],an)),r=1/e;for(let o=0;o<e;o++)n()<Ce(["layer","additional_node_keep_rate"],an)&&t.push(yr(o*r))}t.sort(((t,e)=>t[0]-e[0]));let e=Ce(["layer","min_dist_perc"],an),r=[];for(let n=0;n<t.length;n++){let o=t[n];if(0===n)r.push(o);else{let t=r[r.length-1];Math.abs(t[0]-o[0])>e&&r.push(o)}}return t}function vr(t,e,n){let r=A(e,t,n),o=E(e,[r,A(r,e,2*n)],Math.PI/2),a=A(t,e,n);return[...o,...E(t,[a,A(a,t,2*n)],Math.PI/2)]}function Mr(){let t=Ce(["layer","len_rg"],an),e=Fe("w"),n=Fe("h")/(t[0]*e)*Ce(["layer","max_layer_factor"],an),r=l([Math.floor(e/(t[1]*e)),n]),o=Fe(["output","geo","shape","skeleton_line_by_layer"]),a=Fe(["output","static","enhanced_rot"]),u=Fe(["output","geo","shape","start_direction"]),i=Ce(["layer","start_perc_rg"],an),s=Ce(["layer","len_rg"],an);s=s.map((t=>t*e));for(let l=0;l<r;l++){let t=o[o.length-1],e=[];o.push(e),u*=-1;let n=Be(["layer","rot_enhance_rg"],an)*u;s=s.map((t=>t*(Be(["layer","length_rg_grow_perc"],an)+1))),s.sort();for(let r=0;r<t.length;r++){let o=t[r],u=t[r+1];r===t.length-1&&(u=t[0]);let l=wr();for(let t=0;t<l.length;t++){let[r,h]=l[t],c=xr(o,u,r,h,a,n,i,s);rt(c)?0:(e.push(c))}}}}function Er(){let t=Fe(["output","geo","shape","skeleton_line_by_layer"]),e=Ce(["layer","width_range"],an);e=e.map((t=>t*Fe("w")));let n=Ce(["layer","width_var"],an),r=Fe(["output","geo","shape","skeleton_box_by_layer"]);for(let o=0;o<t.length;o++){r.push([]);for(let n=0;n<t[o].length;n++){let[a,u]=t[o][n],i=vr(a,u,l(e));r[r.length-1].push(i)}e=e.map((t=>t*(1+l(n)))),e.sort()}}function kr(){let t=Fe(["output","geo","shape"]),e=t.vector,n=t.skeleton_box_by_layer,r=Fe(["output","geo","shape","start_direction"]);for(let o=0;o<n.length;o++){let t=n[o];e.push([]);for(let n=0;n<t.length;n++){let a=t[n],u=Ce(["func"],an)(a,o,n,r);e[e.length-1].push(u)}r*=-1}}function Ar(){let t=Fe(["output","geo","focus"]);$e(["output","geo","shape"],{skeleton_line_by_layer:[],skeleton_box_by_layer:[],start_direction:undefined,vector:[],extracted:undefined,patterns:undefined,color_keys:undefined}),br(t),Mr(),Er(),kr()}function Ir(){let t=Fe(["output","geo","shape"]).vector,e=Fe(["output","temp","bm_0"]);Rr(t,(function(t,n,r){Gt(r,e,`s_${t}_${n}`)}),null,null)}function Pr(t,e,n,r){for(let o=0;o<t.length;o++)for(let a=0;a<t[o].length;a++)e(o,a,t[o][a],n,r)}function Rr(t,e,n,r){for(let o=t.length-1;o>-1;o--)for(let n=t[o].length-1;n>-1;n--)e(o,n,t[o][n])}function Fr(){let t=Fe(["output","geo","shape"]),e=t.vector;t.extracted=[];let n=t.extracted;t.base_hor_lines=[];let r=t.base_hor_lines,o=Fe(["output","temp","bm_0"]);for(let a=e.length-1;a>-1;a--){let t=e[a];n[a]=[],r[a]=[];for(let u=e[a].length-1;u>-1;u--){let e=`s_${a}_${u}`,i=kn(o,e,C(t[u]),Fe(["clipper","extract_factor_base"]));n[a][u]=[];let l=[Infinity,-Infinity,Infinity,-Infinity];if(i.length>0){let t=Et(at(i[0],Fe(["texture","base_pattern","simplify_eps"])),30,Fe(["texture","base_pattern","smooth_alpha"]));n[a][u].push(t);let e=C(t);l[0]=Math.min(e[0],l[0]),l[2]=Math.min(e[2],l[2]),l[1]=Math.max(e[1],l[1]),l[3]=Math.max(e[3],l[3])}r[a][u]=zn(l,e,o)}}}function Sr(){Ir(),Fr()}function $r(t,e){let n=e.extracted,r=Fe(["static","fg_patterns"]);for(let a=n.length-1;a>-1;a--){let e=n[a],u=o(r);for(let r=n[a].length-1;r>-1;r--){let n=e[r],o=`s_${a}_${r}`;for(let e=0;e<n.length;e++){let r=C(n[e]),[a,i,l,s]=r;Math.abs(s-l)<50||Math.abs(i-a)<50||Zn(Fe(["patterns",u,"func"])(r),r,t,0,o)}}}}function Cr(t,e){e.pattern_extractions=[],e.pattern_extractions_lines=[];let n=e.pattern_extractions,r=e.pattern_extractions_lines;e.pattern_dots=[];let o=e.pattern_dots,u=e.extracted;for(let i=u.length-1;i>-1;i--){let e=u[i],l=[];n.push(l),r.push([]),o.push([]);for(let n=u[i].length-1;n>-1;n--){let u=e[n],s=`s_${i}_${n}`,h=[];l.push(h);let c=[];r[r.length-1].push(c);let _=[];o[o.length-1].push(_);for(let e=0;e<u.length;e++){let n=C(u[e]),[r,o,i,l]=n;if(Math.abs(l-i)<50||Math.abs(o-r)<50)continue;let f=kn(t,s,0,Fe(["clipper","extract_factor_texture"]));for(let t=0;t<f.length;t++){let e=f[t];if(e.length<1)continue;e.push([...e[0]]),h.push(e);let n=te(e);a(n),c.push(Et(n,20,m(["texture","base_pattern_texture","line_smooth_factor"])))}_.push(Tn(n,s,t))}}}}function Br(t){let e=t.pattern_dots,n=Fe(["output","geo","focus"]);for(let r=e.length-1;r>-1;r--)for(let t=e[r].length-1;t>-1;t--)for(let o=0;o<e[r][t].length;o++){let a=e[r][t][o];if(a.length<1)continue;let[u,i]=ce(a,n),l=m(["texture","dot","min_radius"]),s={min:l,max:l+m(["texture","dot","radius_addition"])},h=u.map((function(t){let e=c(t[1],i,s);return gt(...t[0],e,8)}));e[r][t][o]=h}}function Lr(){let t=te(Fe(["output","temp","bm_0"])),e=Fe(["output","geo","shape"]);$r(t,e),Cr(t,e),Br(e)}function Or(){let t={extracted:[]};$e(["output","geo","bg"],t);let e=Fe(["output","temp","bm_0"]),n=[0,Fe("w"),0,Fe("h")],r=Fe(["output","static","bg_pattern"]);tr(Fe(["patterns",r,"func"])(n),n,e,2,0);let o=kn(e,0,0,Fe(["clipper","extract_factor_bg"]));for(let a=0;a<o.length;a++){let e=o[a];e.length<1||(e.push([...e[0]]),t.extracted.push(e))}}function Tr(t){let e=Fe(["color","picks"]),n=Fe(["output","geo","shape","skeleton_line_by_layer"]).length;["1","2","3","4"].forEach((t=>e[t]=n));let r=Fe(["output","color","full_rgbas"]),o={};$e(["output","color","rule_to_fr_id"],o),Object.keys(t.r).forEach((e=>Je(t,e,r,o))),Xe();let a={};["center","shape","bg","texture","signature"].forEach((t=>{a[t]={ref:[],cid:[]}})),De(a,["output","color","mapping"])}function zr(t){return[Fe(["output","geo",t,"extracted"]),Fe(["output","color","mapping",t]),Fe(["output","color","rule_to_fr_id"])]}function Nr(t,e,n){let r=o(t),a=e.hsls[r],u=o(y(e.ct[r])),i=n[r][u];return[[r,u,a[u]],i]}function Dr(t,e,r,u){let i=o(Fe(["color","choose_keys",e])),l=t.hsls[i],s=t.ct[i],h=Fe(["color","mutation_rate",e]),c=Fe(["color","mutation_keys",e]),[_,f,g]=zr(e),p=Fe(["output","color","full_rgbas"]);r&&(f.line_cid=[]);for(let d=0;d<_.length;d++){let b,x,w,v;if(n()<h){let[e,n]=Nr(c,t,g);b=e[2],v=Ze(b),x=e,w=n}else{let t=o(y(s));x=[i,t,l[t]],w=g[i][t]}if(v=[...p[w]],v[3]=m(["texture",e,"opacity"]),p.push(v),f.ref.push(x),f.cid.push(p.length-1),r){let n=te(_[d]);a(n),n=Et(n,30,Fe(["texture",e,"smooth_alpha"]));let[r,o]=Nr(c,t,g),i=[...p[o]];i[3]=m(["texture",e,"line_opacity"]),p.push(i),f.line_cid.push(p.length-1),u.push(n)}}}function jr(t){Dr(t,"bg")}function Ur(t){let e=Fe(["output","geo","center"]);e.line=[];let n=Fe(["output","color","full_rgbas"]);Dr(t,"center",!0,e.line);let r=e.highlight,a=Fe(["output","color","mapping","center"]);a.highlight_cid=[];let u=o(Fe(["color","choose_keys","center"])),i=t.hsls[u],l=["texture","center_highlight","var"];for(let s=0;s<r.length;s++){tn(o(i),l,a.highlight_cid,n)}}function Hr(t){let e=Fe(["output","static","alter_layer"]),r="shape",a=Fe(["output","geo",r,"extracted"]);$e(["output","geo",r,"flatten_hor_lines"],[]);let u=Fe(["output","geo",r,"flatten_hor_lines"]),i=Fe(["output","geo",r,"base_hor_lines"]),l=Fe(["output","color","mapping",r]);l.top_cid=[],l.hor_line_cid=[];let s,h=["texture","base_hor_line","var"],c=Fe(["color","mutation_rate","base"]),_=Fe(["output","color","full_rgbas"]);for(let f=0;f<a.length;f++){let r=a[f];s=e&&f%2==0?"3":"1";let g=t.hsls[s][f];l.ref.push([]),l.cid.push([]),l.top_cid.push([]);for(let a=0;a<r.length;a++){let p,d,b,x=r[a];l.cid[f].push([]),l.top_cid[f].push([]),l.ref[f].push([]);for(let r=0;r<x.length;r++){let u;if(n()<c){p=e&&f%2==0?"4":"2";let n=o(y(t.ct[p])),r=t.hsls[p][n];b=r,u=[p,n,r],d=t.rgbas[p][n]}else{let t=Qe(g,He("base"));b=t,u=[s,f,t],d=We(Ve(...t))}d=[...d],d[3]=m(["texture","base","opacity_btm_rg"]),_.push(d),l.cid[f][a][r]=_.length-1;let i=[...d];i[3]=m(["texture","base","opacity_top_rg"]),_.push(i),l.top_cid[f][a][r]=_.length-1,l.ref[f][a][r]=u}i[f][a].forEach((function(t){tn(b,h,l.hor_line_cid,_),u.push(Qt(t,m(["texture","base_hor_line","offset_rg"])))}))}}}function Vr(t){let e=Fe(["output","geo","shape","pattern_extractions"]),r=Fe(["output","geo","shape","pattern_dots"]);$e(["output","geo","shape","flat_dot_storage"],[]);let o=Fe(["output","geo","shape","flat_dot_storage"]),a=Fe(["output","color","mapping","texture"]);a.top_cid=[],a.dot_cid=[];let u=Fe(["output","color","mapping","shape"]),i=Fe(["color","mutation_rate","texture"]),l=Fe(["color","mutation_keys","texture"]),s=Fe(["output","color","full_rgbas"]),h=Fe(["output","color","rule_to_fr_id"]),c=["texture","base_pattern","opacity_btm_rg"],_=["texture","base_pattern","opacity_top_rg"],f=["texture","dot","var"];for(let g=0;g<e.length;g++){let p=e[g];a.ref.push([]),a.cid.push([]),a.top_cid.push([]);for(let e=0;e<p.length;e++){let d,b=p[e];u.ref[g][e]&&u.ref[g][e][0]?d=u.ref[g][e][0]:[d,ref_cid]=Nr(l,t,h),a.ref[g].push([]),a.cid[g].push([]),a.top_cid[g].push([]);for(let u=0;u<b.length;u++){let[p,b,x]=d;if(n()<i){let[e,n]=Nr(l,t,h);[p,b,x]=e}let y=Qe(x,He("base")),w=Ze(y);w[3]=m(c),s.push(w),a.cid[g][e][u]=s.length-1;let v=Ze(Qe(x,He("base")));v[3]=m(_),s.push(v),a.top_cid[g][e][u]=s.length-1,a.ref[g][e][u]=[p,b,y];let M=d[2];r[g][e][u]&&r[g][e][u].forEach((function(t){let e=Ze(Qe(M,f));e[3]=m([...f,"opacity"]),o.push(t),s.push(e),a.dot_cid.push(s.length-1)}))}}}}function Yr(){let t=Ue();Tr(t),jr(t),Ur(t),Hr(t),Vr(t)}function Gr(){let t=Fe("w"),e=Fe("h"),n=Fe(["default","border","size"]),r=[[0,0,t,n],[0,0,n,e],[0,e-n,t,n],[t-n,0,n,e]].map((function(t){return ae(...t)})),a=o(Ue().rgbas[0]),u=Fe(["output","color","full_rgbas"]);u.push(a);let i=u.length-1;$e(["output","geo","border"],{vector:r,cids:[i,i,i,i],size:n})}function qr(){let t=Fe("w"),e=Fe("h"),n=["default","signature"],r=m([...n,"width_perc"])*t,o=Fe(["output","geo","border","size"]),a=m([...n,"gap"])*t,u=m([...n,"height_ratio"])*r;cr([t-o-r-a,e-u-a-o],r,u)}function Wr(t,e,n,r,o){let a=t[e];if(!t)return;let u=n[e];if(r){let t=Qt(a,l(r));o.raw.push(t),o.cid.push(u)}else o.raw.push(a),o.cid.push(u)}function Jr(t,e,n,r,o){if(o)for(let a=t.length-1;a>-1;a--)Wr(t,a,e,n,r);else for(let a=0;a<t.length;a++)Wr(t,a,e,n,r)}function Xr(t){let e="bg",n=Fe(["output","geo",e]);n.canvas_texture=[],n.bg_pattern_texture=[],n.bg_ver_line=[],n.bg_cover_line=[];let r=Fe(["output","color","mapping",e]),o=r.ref;r.canvas_texture_cid=[],r.bg_pattern_texture_cid=[],r.bg_ver_line_cid=[],r.bg_cover_line_cid=[],Fn(t,n.extracted,n.bg_pattern_texture,"bg_pattern_texture",r.bg_pattern_texture_cid,o),$n(t,n,e,r)}function Kr(t){let e="shape",n=Fe(["output","geo",e]);n.texture=[];let r=n.extracted,o=n.texture,a=Fe(["output","color","mapping",e]),u=a.ref;a.texture_cid=[],Rn(t,r,o,"base_texture",a.texture_cid,u)}function Qr(t){let e=Fe(["output","geo","shape"]),n=e.pattern_extractions;e.pattern_texture=[];let r=e.pattern_texture,o=Fe(["output","color","mapping","texture"]),a=o.ref;o.texture_cid=[],Rn(t,n,r,"base_pattern_texture",o.texture_cid,a)}function Zr(){let t=Fe(["output","geo","focus"]);Xr(t),Kr(t),Qr(t)}function to(){let t=[["output","geo","bg","canvas_texture"],["output","color","mapping","bg","canvas_texture_cid"],undefined,"flat",!1],e=[["output","geo","bg","bg_ver_line"],["output","color","mapping","bg","bg_ver_line_cid"],undefined,"flat",!1],n=[["output","geo","bg","bg_cover_line"],["output","color","mapping","bg","bg_cover_line_cid"],undefined,"flat",!1],r=[["output","geo","bg","extracted"],["output","color","mapping","bg","cid"],undefined,"flat",!1],o=[["output","geo","bg","bg_pattern_texture"],["output","color","mapping","bg","bg_pattern_texture_cid"],undefined,"flat",!1],a=[["output","geo","shape","extracted"],["output","color","mapping","shape","cid"],undefined,"layer",!0],u=[["output","geo","shape","texture"],["output","color","mapping","shape","texture_cid"],undefined,"flat",!0],i=[["output","geo","shape","pattern_extractions"],["output","color","mapping","texture","cid"],undefined,"layer",!1],l=[["output","geo","shape","pattern_texture"],["output","color","mapping","texture","texture_cid"],undefined,"flat",!0],s=[["output","geo","shape","flat_dot_storage"],["output","color","mapping","texture","dot_cid"],undefined,"flat",!0],h=[t,e,r,o,n,a,u,[["output","geo","shape","flatten_hor_lines"],["output","color","mapping","shape","hor_line_cid"],undefined,"flat",!1],i,l,[["output","geo","shape","pattern_extractions_lines"],["output","color","mapping","texture","top_cid"],["texture","base_pattern_texture","line_offset"],"layer",!1],
45,base:.15,base_texture:.1,texture:.05,pattern_texture:.15},mutation_keys:{center:["5","6","7"],bg:["5","6","7"],base_texture:["1","2","3","4","5","6","7"],pattern:["1","2","3","4","5","6","7"],texture:["5","6","7"]},rules:{all_of_my_dreams:{r:{0:{hue:[46,55],saturation:[80,88],lightness:[81,85]},1:{hue:[200,230],saturation:[60,80],lightness:[70,85]},2:{hue:[240,250],saturation:[50,60],lightness:[45,55]},3:{hue:[230,250],saturation:[30,40],lightness:[40,60]},4:{hue:[210,230],saturation:[20,40],lightness:[20,35]},5:{hue:[25,40],saturation:[80,90],lightness:[50,65]},6:{hue:[24,40],saturation:[87.5,94.6],lightness:[68,81]},7:{hue:[30,45],saturation:[87.5,94.6],lightness:[60,85]},8:{hue:[0,10],saturation:[85,100],lightness:[45,65]}},var_range:{base:{h:[-25,25],s:[-20,20],l:[-15,15]}}},up_my_sea:{r:{0:{hue:[220,240],saturation:[85,95],lightness:[15,30]},1:{hue:[5,30],saturation:[75,85],lightness:[65,75]},2:{hue:[15,45],saturation:[60,80],lightness:[60,80]},3:{hue:[20,33],saturation:[40,60],lightness:[55,70]},4:{hue:[40,50],saturation:[70,80],lightness:[60,80]},5:{hue:[235,240],saturation:[75,90],lightness:[40,60]},6:{hue:[230,255],saturation:[60,70],lightness:[70,90]},7:{hue:[45,60],saturation:[80,90],lightness:[65,80]},8:{hue:[230,250],saturation:[90,100],lightness:[45,65]}},var_range:{base:{h:[-25,5],s:[-15,15],l:[-15,15]}}},too_much_ice:{r:{0:{hue:[200,210],saturation:[25,30],lightness:[85,97]},1:{hue:[45,60],saturation:[70,80],lightness:[60,75]},2:{hue:[50,60],saturation:[80,90],lightness:[80,95]},3:{hue:[35,55],saturation:[70,90],lightness:[60,70]},4:{hue:[50,60],saturation:[70,80],lightness:[80,95]},5:{hue:[200,210],saturation:[75,90],lightness:[40,60]},6:{hue:[230,255],saturation:[60,70],lightness:[60,75]},7:{hue:[25,30],saturation:[60,80],lightness:[60,95]},8:{hue:[25,35],saturation:[90,100],lightness:[45,65]}},var_range:{base:{h:[-20,5],s:[-15,10],l:[-10,20]}}},we_like_that:{r:{0:{hue:[5,15],saturation:[65,75],lightness:[45,55]},1:{hue:[25,40],saturation:[70,80],lightness:[60,75]},2:{hue:[30,50],saturation:[80,90],lightness:[80,95]},3:{hue:[35,60],saturation:[70,90],lightness:[70,85]},4:{hue:[40,60],saturation:[70,90],lightness:[80,95]},5:{hue:[200,240],saturation:[75,90],lightness:[40,60]},6:{hue:[230,255],saturation:[60,70],lightness:[60,70]},7:{hue:[230,255],saturation:[70,85],lightness:[80,95]},8:{hue:[15,25],saturation:[90,100],lightness:[45,65]}},var_range:{base:{h:[-25,15],s:[-10,15],l:[-15,20]}}},somewhere_in_downtown:{r:{0:{hue:[250,285],saturation:[15,30],lightness:[55,75]},1:{hue:[15,20],saturation:[70,80],lightness:[60,75]},2:{hue:[10,40],saturation:[75,95],lightness:[80,95]},3:{hue:[5,15],saturation:[40,60],lightness:[60,70]},4:{hue:[340,350],saturation:[70,90],lightness:[80,95]},5:{hue:[260,280],saturation:[75,90],lightness:[40,60]},6:{hue:[230,255],saturation:[60,70],lightness:[55,70]},7:{hue:[210,220],saturation:[70,85],lightness:[75,95]},8:{hue:[210,220],saturation:[15,20],lightness:[25,40]}},var_range:{base:{h:[-25,10],s:[-15,15],l:[-15,15]}}},got_the_wave:{r:{0:{hue:[210,225],saturation:[70,80],lightness:[45,55]},1:{hue:[15,20],saturation:[70,80],lightness:[45,55]},2:{hue:[10,40],saturation:[75,95],lightness:[80,95]},3:{hue:[5,15],saturation:[40,60],lightness:[60,70]},4:{hue:[20,30],saturation:[70,90],lightness:[75,95]},5:{hue:[200,240],saturation:[45,65],lightness:[80,90]},6:{hue:[230,255],saturation:[60,70],lightness:[30,60]},7:{hue:[210,220],saturation:[45,65],lightness:[75,95]},8:{hue:[210,220],saturation:[15,20],lightness:[25,40]}},var_range:{base:{h:[-25,10],s:[-15,15],l:[-15,15]}}},slam_in_the_back:{r:{0:{hue:[210,225],saturation:[15,25],lightness:[45,65]},1:{hue:[5,25],saturation:[70,80],lightness:[45,55]},2:{hue:[5,40],saturation:[75,95],lightness:[80,95]},3:{hue:[0,15],saturation:[40,60],lightness:[60,70]},4:{hue:[20,30],saturation:[70,90],lightness:[75,95]},5:{hue:[200,240],saturation:[25,45],lightness:[80,90]},6:{hue:[230,255],saturation:[15,30],lightness:[30,60]},7:{hue:[210,220],saturation:[15,25],lightness:[75,95]},8:{hue:[210,220],saturation:[0,20],lightness:[15,30]}},var_range:{base:{h:[-25,10],s:[-10,15],l:[-15,15]}}},not_much_time:{r:{0:{hue:[10,25],saturation:[5,15],lightness:[75,85]},1:{hue:[210,225],saturation:[70,85],lightness:[45,55]},2:{hue:[200,225],saturation:[75,95],lightness:[80,95]},3:{hue:[190,215],saturation:[40,60],lightness:[60,70]},4:{hue:[230,245],saturation:[70,90],lightness:[75,95]},5:{hue:[200,240],saturation:[25,45],lightness:[75,90]},6:{hue:[230,255],saturation:[15,30],lightness:[30,60]},7:{hue:[10,25],saturation:[15,30],lightness:[75,95]},8:{hue:[10,25],saturation:[70,85],lightness:[65,75]}},var_range:{base:{h:[-20,25],s:[-15,15],l:[-15,15]}}},all_this_time:{r:{0:{hue:[175,185],saturation:[45,55],lightness:[55,75]},1:{hue:[200,215],saturation:[70,85],lightness:[45,55]},2:{hue:[200,215],saturation:[75,95],lightness:[80,95]},3:{hue:[255,275],saturation:[40,60],lightness:[60,70]},4:{hue:[230,245],saturation:[70,90],lightness:[75,95]},5:{hue:[260,280],saturation:[25,45],lightness:[75,90]},6:{hue:[45,55],saturation:[80,90],lightness:[55,65]},7:{hue:[10,25],saturation:[65,80],lightness:[75,95]},8:{hue:[10,25],saturation:[70,85],lightness:[65,75]}},var_range:{base:{h:[-20,25],s:[-15,15],l:[-15,15]}}},easy_decision:{r:{0:{hue:[45,55],saturation:[85,90],lightness:[90,95]},1:{hue:[160,200],saturation:[65,75],lightness:[40,55]},2:{hue:[175,200],saturation:[75,95],lightness:[80,95]},3:{hue:[160,185],saturation:[40,60],lightness:[40,60]},4:{hue:[160,200],saturation:[65,70],lightness:[65,85]},5:{hue:[200,220],saturation:[45,65],lightness:[45,60]},6:{hue:[45,55],saturation:[80,90],lightness:[60,75]},7:{hue:[10,25],saturation:[75,85],lightness:[65,75]},8:{hue:[5,20],saturation:[85,95],lightness:[65,75]}},var_range:{base:{h:[-25,25],s:[-20,18],l:[-15,15]}}},cover_up_the_secret:{r:{0:{hue:[5,20],saturation:[85,90],lightness:[65,75]},1:{hue:[160,200],saturation:[45,65],lightness:[30,55]},2:{hue:[175,210],saturation:[65,75],lightness:[40,50]},3:{hue:[160,185],saturation:[35,50],lightness:[40,60]},4:{hue:[140,160],saturation:[65,70],lightness:[45,65]},5:{hue:[130,160],saturation:[35,45],lightness:[30,40]},6:{hue:[20,35],saturation:[80,90],lightness:[75,95]},7:{hue:[5,15],saturation:[75,85],lightness:[65,80]},8:{hue:[5,20],saturation:[85,95],lightness:[45,65]}},var_range:{base:{h:[-25,10],s:[-25,18],l:[-15,15]}}},eh_ya_ya_ya:{r:{0:{hue:[170,190],saturation:[85,90],lightness:[15,25]},1:{hue:[140,180],saturation:[45,65],lightness:[30,55]},2:{hue:[210,240],saturation:[25,45],lightness:[45,55]},3:{hue:[120,160],saturation:[35,50],lightness:[40,60]},4:{hue:[200,220],saturation:[45,60],lightness:[65,85]},5:{hue:[110,130],saturation:[25,45],lightness:[55,70]},6:{hue:[0,15],saturation:[80,90],lightness:[85,95]},7:{hue:[5,15],saturation:[75,85],lightness:[65,85]},8:{hue:[5,30],saturation:[85,95],lightness:[45,65]}},var_range:{base:{h:[-30,5],s:[-25,15],l:[-15,15]}}},no_lovely:{r:{0:{hue:[300,320],saturation:[11,20],lightness:[85,95]},1:{hue:[270,290],saturation:[5,15],lightness:[50,75]},2:{hue:[260,280],saturation:[15,35],lightness:[65,85]},3:{hue:[220,240],saturation:[5,15],lightness:[35,45]},4:{hue:[240,270],saturation:[25,30],lightness:[65,85]},5:{hue:[260,280],saturation:[35,45],lightness:[25,35]},6:{hue:[320,340],saturation:[50,60],lightness:[60,80]},7:{hue:[320,340],saturation:[75,85],lightness:[75,85]},8:{hue:[310,340],saturation:[80,95],lightness:[55,75]}},var_range:{base:{h:[-25,15],s:[-25,25],l:[-20,15]}}},"scratch that":{r:{0:{hue:[210,255],saturation:[75,85],lightness:[90,95]},1:{hue:[110,140],saturation:[45,55],lightness:[75,80]},2:{hue:[130,180],saturation:[55,75],lightness:[25,35]},3:{hue:[100,130],saturation:[55,60],lightness:[80,85]},4:{hue:[180,200],saturation:[35,40],lightness:[25,35]},5:{hue:[35,55],saturation:[75,85],lightness:[60,75]},6:{hue:[190,210],saturation:[60,75],lightness:[70,85]},7:{hue:[310,340],saturation:[75,85],lightness:[85,95]},8:{hue:[310,340],saturation:[80,95],lightness:[60,85]}},var_range:{base:{h:[-20,20],s:[-25,10],l:[-15,10]}}},no_space:{r:{0:{hue:[210,220],saturation:[5,15],lightness:[90,95]},1:{hue:[190,200],saturation:[5,25],lightness:[50,70]},2:{hue:[210,240],saturation:[15,35],lightness:[55,70]},3:{hue:[180,230],saturation:[25,34],lightness:[35,55]},4:{hue:[230,250],saturation:[15,30],lightness:[55,65]},5:{hue:[35,55],saturation:[75,85],lightness:[60,75]},6:{hue:[15,25],saturation:[75,85],lightness:[60,80]},7:{hue:[35,55],saturation:[75,85],lightness:[85,95]},8:{hue:[210,230],saturation:[80,95],lightness:[60,85]}},var_range:{base:{h:[-25,15],s:[-25,25],l:[-15,15]}}},ayy_what:{r:{0:{hue:[5,15],saturation:[5,15],lightness:[15,25]},1:{hue:[230,250],saturation:[5,25],lightness:[55,65]},2:{hue:[210,240],saturation:[15,35],lightness:[25,45]},3:{hue:[210,230],saturation:[25,34],lightness:[15,25]},4:{hue:[230,250],saturation:[15,30],lightness:[35,55]},5:{hue:[35,55],saturation:[75,85],lightness:[60,75]},6:{hue:[200,225],saturation:[75,85],lightness:[60,80]},7:{hue:[35,50],saturation:[75,85],lightness:[85,95]},8:{hue:[210,230],saturation:[80,95],lightness:[60,85]}},var_range:{base:{h:[-25,15],s:[-20,20],l:[-15,10]}}},take_a_chance:{r:{0:{hue:[220,245],saturation:[20,35],lightness:[25,35]},1:{hue:[10,20],saturation:[55,65],lightness:[55,70]},2:{hue:[345,360],saturation:[45,65],lightness:[35,45]},3:{hue:[345,360],saturation:[45,54],lightness:[60,75]},4:{hue:[5,10],saturation:[45,65],lightness:[40,45]},5:{hue:[345,360],saturation:[75,85],lightness:[50,65]},6:{hue:[210,220],saturation:[80,90],lightness:[80,90]},7:{hue:[230,240],saturation:[55,65],lightness:[80,90]},8:{hue:[200,210],saturation:[55,75],lightness:[45,55]}},var_range:{base:{h:[-20,10],s:[-10,15],l:[-10,15]}}},dont_ask:{r:{0:{hue:[15,30],saturation:[5,10],lightness:[75,90]},1:{hue:[270,290],saturation:[40,55],lightness:[35,40]},2:{hue:[250,275],saturation:[35,55],lightness:[65,70]},3:{hue:[280,300],saturation:[45,54],lightness:[55,75]},4:{hue:[220,250],saturation:[45,65],lightness:[65,70]},5:{hue:[200,220],saturation:[75,85],lightness:[50,65]},6:{hue:[300,320],saturation:[80,90],lightness:[75,85]},7:{hue:[20,35],saturation:[75,85],lightness:[80,90]},8:{hue:[330,350],saturation:[60,85],lightness:[45,55]}},var_range:{base:{h:[-20,10],s:[-15,15],l:[-15,15]}}},fall_for_you:{r:{0:{hue:[240,260],saturation:[15,20],lightness:[70,80]},1:{hue:[320,340],saturation:[20,35],lightness:[70,80]},2:{hue:[210,230],saturation:[25,35],lightness:[65,70]},3:{hue:[210,230],saturation:[45,54],lightness:[55,75]},4:{hue:[320,340],saturation:[15,30],lightness:[75,85]},5:{hue:[20,35],saturation:[60,75],lightness:[65,85]},6:{hue:[230,240],saturation:[50,70],lightness:[40,50]},7:{hue:[5,15],saturation:[75,85],lightness:[85,90]},8:{hue:[340,350],saturation:[85,95],lightness:[45,55]}},var_range:{base:{h:[-20,10],s:[-15,15],l:[-15,15]}}},hide_and_seek:{r:{0:{hue:[180,320],saturation:[4,10],lightness:[75,85]},1:{hue:[210,260],saturation:[3,10],lightness:[25,30]},2:{hue:[210,230],saturation:[5,15],lightness:[45,60]},3:{hue:[190,220],saturation:[3,5],lightness:[10,20]},4:{hue:[210,245],saturation:[0,10],lightness:[35,55]},5:{hue:[20,35],saturation:[20,30],lightness:[65,85]},6:{hue:[230,240],saturation:[35,45],lightness:[5,15]},7:{hue:[5,15],saturation:[4,15],lightness:[85,90]},8:{hue:[340,350],saturation:[14,25],lightness:[45,55]}},var_range:{base:{h:[-30,30],s:[-15,5],l:[-15,15]}}}},picks:{0:10,1:undefined,2:undefined,3:undefined,4:undefined,5:5,6:5,7:4,8:4}},"default":{b:{m:["SRC_ALPHA","ONE_MINUS_SRC_ALPHA","ONE","ONE_MINUS_SRC_ALPHA"]},border:{perc:.035,size:Ae},signature:{width_perc:[.11,.13],gap:[.02,.04],height_ratio:[.55,.7],offset:[1,6],break_factor:[2,5],noise_rg:[-2,2]},center_mode:{structure:{lg_perc:.15,gap_rg:[2,5]},expand_f:[],rotation_f:[]},deco_mode:{},shape_mode:{structure:{shape_map_row_col:[100,100]},layer:{max_layer_factor:1,len_rg0:[.15,.25],start_dist0:[2e-4,.001],shape_ct0:[5,8],rot_noise:[-.1,.1],enhanced_rot:.2,initial_rot:[-Math.PI,Math.PI],rot_enhance_rg:[Math.PI/10,Math.PI/8],len_rg:[.15,.25],center_node_rate:[.95,1],additional_node_rate:.1,additional_nodes_ct:[3,6],start_perc_rg:[.2,.7],perc_noise:[-.05,.05],additional_node_keep_rate:.35,length_rg_grow_perc:[.09,.15],min_dist_perc:.25}}},mode:{center_mode:{circle:{structure:{size:[.005,.02],side_ct:[15,45],layer_ct:[1,3],size_var:[10,24],loc_noise:[-1,1]},func:undefined},leaf:{structure:{size:[.03,.06],angle:[25,45],dist:[.6,.8],layer_ct:[1,5],enlarge_perc:[.15,.25],rot:[-Math.PI,Math.PI]},func:undefined},pendant:{structure:{size:[.03,.06],angle0:[15,25],angle1:[45,65],dist0:[.3,.4],dist1:[1,1.26],layer_ct:[1,5],enlarge_perc:[.25,.3],rot:[-Math.PI,Math.PI]},func:undefined},glass:{structure:{size:[.02,.06],angle0:[15,20],angle1:[150,170],dist0:[1,1.4],dist1:[2,2.26],layer_ct:[1,5],enlarge_perc:[.05,.15],rot:[-Math.PI,Math.PI]},func:undefined}},deco_mode:{},shape_mode:{exactly:{structure:{},layer:{width_range:[.09,.12],width_var:[.05,.25],start_perc_rg:[.3,.4],additional_node_rate:.2,additional_node_keep_rate:.25,len_rg:[.25,.35],length_rg_grow_perc:[.1,.15]},func:undefined},correctly:{structure:{},layer:{max_layer_factor:1.25,width_range:[.13,.18],width_var:[.05,.23],start_perc_rg:[.3,.35],additional_node_rate:.1,additional_node_keep_rate:.08,len_rg:[.25,.35],length_rg_grow_perc:[.1,.15]},func:undefined},properly:{structure:{ab_perc:[.55,.75],of_perc:[.5,.6],bg_perc:[.2,.4],df_perc:[.5,.8],ha_perc:[.1,.28],smooth_factor:1.1},layer:{max_layer_factor:1.2,width_range:[.185,.22],width_var:[.05,.13],start_perc_rg:[.18,.2],additional_node_rate:.25,additional_node_keep_rate:.15,len_rg:[.35,.5],length_rg_grow_perc:[.125,.135]},func:undefined},perfectly:{structure:{},layer:{max_layer_factor:1.4,width_range:[.125,.132],width_var:[.04,.1],start_perc_rg:[.3,.35],additional_node_rate:.25,additional_node_keep_rate:.35,len_rg:[.35,.5],length_rg_grow_perc:[.1,.135]},func:undefined},specifically:{structure:{side_ct:[5,8],noise_rg:[-10,10],smooth_factor:.8,keep_perc:[.6,.8]},layer:{max_layer_factor:1,width_range:[.125,.2],width_var:[.1,.16],start_perc_rg:[.05,.08],additional_node_rate:.15,additional_node_keep_rate:.35,len_rg:[.35,.5],length_rg_grow_perc:[.1,.135]},func:undefined},accurately:{structure:{},layer:{max_layer_factor:1.2,width_range:[.06,.08],width_var:[.081,.096],start_perc_rg:[.05,.08],additional_node_rate:.25,additional_node_keep_rate:.35,len_rg:[.45,.5],length_rg_grow_perc:[.15,.185]},func:undefined},precisely:{structure:{smooth_factor:2,noise_rg:[-5,5]},layer:{max_layer_factor:1,width_range:[.1,.14],width_var:[.2,.26],start_perc_rg:[.1,.12],additional_node_rate:.25,additional_node_keep_rate:.45,len_rg:[.25,.35],length_rg_grow_perc:[.15,.185]},func:undefined},constantly:{structure:{smooth_factor:1.25,noise_rg:[-5,5],side_ct:[5,20],radius_factor:[1.8,3]},layer:{max_layer_factor:1,width_range:[.01,.04],width_var:[.03,.06],start_perc_rg:[.1,.12],additional_node_rate:.25,additional_node_keep_rate:.45,len_rg:[.35,.4],length_rg_grow_perc:[.1,.15]},func:undefined}}},patterns:{grid:{func:undefined,alter_start_rate:.3,alter_start_angle:[-90,90],angle_combos:[[0],[45],[90],[120],[30],[90,0],[0,45,90],[0,45,90,135],[0,135],[0,30,60,90],[30,120]],dist_starter:[.1,.23],dist_variation:[.05,.15],dist_var_rate:.5},mid_grid:{func:undefined,alter_start_rate:0,angle_combos:[[0]],dist_starter:[.001,.005],dist_variation:[.05,.15],dist_var_rate:0},frame:{func:undefined,min_wh:100,dist_noise:[-.1,.1],alter_start_rate:.25,alter_start_angle:[-Math.PI,Math.PI],add_wh_noise:.6,extend_factor:1.25,max_layer_factor:1.5},center_box:{min_wh:50,margin_perc:[.05,.1],center_box_rate:.5,center_box_perc:[.3,.7]},ladder:{min_wh:50,alter_start_rate:.5,alter_start_angle:[-Math.PI,Math.PI]},pond:{noise_rg:[-.05,.05],base_radius:[40,80],side_ct:[5,10],start_rot:[-Math.PI,Math.PI],gap_ratio:[.1,.25],min_gap:30},corner:{func:undefined,alter_start_angle:[-90,90],angle_combos:[[30],[30,120]],dist_starter:[.2,.35],dist_variation:[.05,.15],angle:[40,60],dist:[.5,.6]},field:{func:undefined,alter_start_angle:[-90,90],angle_combos:[[30],[30,120]],dist_starter:[.2,.35],dist_variation:[.05,.15],angle:[120,150],dist:[.5,.6]},flip:{func:undefined,alter_start_angle:[-90,90],angle_combos:[[0,90],[30,60]],dist_starter:[.2,.35],dist_variation:[.05,.15],angle:[90,100],angle2:[-90,-120],dist:[.6,.9]},tight_grid:{alter_start_rate:.3,alter_start_angle:[-90,90],dist_var_rate:.5,angle_combos:[[0],[45],[90],[120],[30],[90,0],[0,45,90],[0,45,90,135],[0,135],[0,30,60,90],[30,120]],dist_starter:[.002,.004],dist_variation:[.001,.007]}},"static":{bg_patterns:["grid","frame","center_box","ladder"],fg_patterns:["grid","center_box","pond","corner","field","flip"]},lambda:{scale:null,color_spec:{c:{s:{max:((Ie/2.5)**2+(Pe/2.5)**2)**.5,min:0},p:(t,e)=>$(B(C(t)),e)},h:{s:{max:Pe,min:0},p:(t,e)=>t[0][1]},v:{s:{max:Ie,min:0},p:(t,e)=>t[0][0]}},dd:(t,e)=>$(B(C(t)),e),side_ct_decider:t=>t<1?4:t<5?10:20,hsl_checker:[t=>Math.min(Math.max(0,t),359),t=>Math.min(Math.max(0,t),100),t=>Math.min(Math.max(0,t),100)]},link:{},output:{color:{mapping:{}},geo:{},collection:{},"static":{},temp:{}}};const an="shape_mode";function un(t,e,n,r){let o;return o=[t[3],t[0],t[1],t[2]],ct(o,5)}function ln(t,e,n,r){let o;return o=r>0?[t[3],t[1],t[0],t[2]]:[t[3],t[0],t[1],t[2]],ct(o,5)}function sn(t,e,n,r){let o=t[3],a=Be(["structure","ab_perc"],an),u=(B(C(t)),k(t[3],t[1],a)),i=k(t[2],t[1],a),l=k(u,i,Be(["structure","bg_perc"],an)),s=k(t[0],t[1],Be(["structure","of_perc"],an)),h=k(s,t[1],Be(["structure","df_perc"],an)),c=k(t[2],t[3],Be(["structure","ha_perc"],an)),_=[o,u,l,s,h,i,t[2],c,o,k(o,u,.01)],[f,g,p]=(Et(_,30,Ce(["structure","smooth_factor"],an)),Jt(_,!0));return f}function hn(t,e,n,r){let o=C(t),[a,u,i,l]=O(o);return gt(...B(o),Math.min(i,l)/2,40)}function cn(t,e,n,r){let o=te(t);return o.push([...t[0]]),et(o,Ce(["structure","noise_rg"],an)),Et(o,30,Ce(["structure","smooth_factor"],an))}function _n(t,e,n,r){let[o,a,u]=Jt(t,!0);return o}function fn(t,e,n,r){let o=te(t);return o.push([...o[1]]),et(o,Ce(["structure","noise_rg"],an)),Et(o,10,Ce(["structure","smooth_factor"],an))}function gn(t,e,n,r){let o;if(r>0){let e=te(t);e.push([...e[1]]),et(e,Ce(["structure","noise_rg"],an)),o=Et(e,10,Ce(["structure","smooth_factor"],an))}else{let e=C(t),[n,r,a,u]=O(e);o=gt(...B(e),Math.min(a,u)/Be(["structure","radius_factor"],an),Math.floor(Be(["structure","side_ct"],an)))}return o}$e(["mode",an,"exactly","func"],un),$e(["mode",an,"correctly","func"],ln),$e(["mode",an,"properly","func"],sn),$e(["mode",an,"perfectly","func"],hn),$e(["mode",an,"specifically","func"],cn),$e(["mode",an,"accurately","func"],_n),$e(["mode",an,"precisely","func"],fn),$e(["mode",an,"constantly","func"],gn);const pn="center_mode",dn={no_expand:function(t,e,n){return t.map((t=>[t[0],t[1]]))},random_expand:function(t,e,n){return V(t,Be(["structure","enlarge_perc"],pn)+1,e)},alternative_expand:function(t,e,n){if(n%2==0)return t.map((t=>[t[0],t[1]]));return V(t,Be(["structure","enlarge_perc"],pn)+1,e)}},mn={no_rotation:function(t,e,n,r){return t.map((t=>[t[0],t[1]]))},random_rotation_center:function(t,e,n,r){return E(e,t,Be(["structure","rot"],pn))},random_rotation_start:function(t,e,n,r){let o=Be(["structure","rot"],pn);return E(t[0],t,o)},rotation_start_fill:function(t,e,n,r){let o=2*Math.PI/Math.floor(r);return E(t[0],t,o*n)},rotation_center_fill:function(t,e,n,r){return E(e,t,2*Math.PI/Math.floor(r)*n)}};function bn(t,e,n){let r=Be(["structure","layer_ct"],pn);t=E(n,t,Be(["structure","rot"],pn));let a=o(Object.keys(dn)),u=o(Object.keys(mn)),i=dn[a],l=mn[u];for(let o=0;o<r;o++)t=l(t=i(t,n,o),n,o,r),e.push(t)}function xn(t,e){let n=t.map(e);return n.reverse(),[...t,...n]}function yn(t){let e=Be(["structure","layer_ct"],pn),n=Fe("w")*Be(["structure","size"],pn),r=[],[o,a]=t,u=Ce(["structure","loc_noise"],pn);for(let i=0;i<e;i++){let t=gt(o,a,n,Math.floor(Be(["structure","side_ct"],pn)));et(t,u),r.push(t),n+=Be(["structure","size_var"],pn),o+=l(u),a+=l(u)}$e(["output","geo","center","vector"],r)}function wn(t){let e=Fe("w")*Be(["structure","size"],pn),[n,r]=t,o="leaf",a=["mode",pn,o,"structure","angle"],u=["mode",pn,o,"structure","dist"],i=[];bn(xn(st([[n-e/2,r],[n+e/2,r]],a,a,u,u),(e=>nt(e,t))),i,t),$e(["output","geo","center","vector"],i)}function vn(t){let e=Fe("w")*Be(["structure","size"],pn),n="pendant",[r,o]=t,a=xn(st([[r-e/2,o],[r+e/2,o]],["mode",pn,n,"structure","angle0"],["mode",pn,n,"structure","angle1"],["mode",pn,n,"structure","dist0"],["mode",pn,n,"structure","dist1"]),(t=>nt(t,[t[0],o]))),u=[];a=E(t,a,Be(["structure","rot"],pn)),bn(a,u,t),$e(["output","geo","center","vector"],u)}function Mn(t){let e=Fe("w")*Be(["structure","size"],pn),n="glass",[r,o]=t,a=xn(st([[r-e/2,o],[r+e/2,o]],["mode",pn,n,"structure","angle0"],["mode",pn,n,"structure","angle1"],["mode",pn,n,"structure","dist0"],["mode",pn,n,"structure","dist1"]),(t=>nt(t,[r,o]))),u=[];a=E(t,a,Be(["structure","rot"],pn)),bn(a,u,t),$e(["output","geo","center","vector"],u)}function En(t,e,n,r){let o=[t[e][n],t[e][n+1],t[e+1][n+1],t[e+1][n]];o=o.map((t=>t===r?1:0));let a=8*o[0]+4*o[1]+2*o[2]+o[3];return Number.isInteger(a)&&a>=0&&a<=15||(a=0),a}function kn(t,e,n,r){let o,a,u,i,[l,s]=Fe(["clipper","shape"]),h=[];n?([o,u,a,i]=n,o=Math.max(Math.floor(o),0),a=Math.max(Math.floor(a),0),u=Math.min(u,s-1),i=Math.min(i,l-1)):(o=0,a=0,u=s-1,i=l-1);for(let c=a;c<i;c++)for(let n=o;n<u;n++){let r=En(t,c,n,e);0!==r&&15!==r&&An(n,c,r,h)}return In(h,r).map((t=>$t(t)))}function An(t,e,n,r){let o=[t+.5,e],a=[t+1,e+.5],u=[t+.5,e+1],i=[t,e+.5];switch(n){case 1:case 14:r.push([u,i]);break;case 2:case 13:r.push([a,u]);break;case 3:case 12:r.push([a,i]);break;case 4:case 11:r.push([o,a]);break;case 5:r.push([o,i]),r.push([a,u]);break;case 6:case 9:r.push([o,u]);break;case 7:case 8:r.push([o,i]);break;case 10:r.push([o,a]),r.push([u,i]);break;default:r.push([t,e])}}function In(t,e){const n=[],r=new Set;function o(e,n,o){for(const a in t){if(r.has(a)||a===n)continue;const u=t[a];if(Pn(e,u[0],o))return r.add(a),u[1];if(Pn(e,u[1],o))return r.add(a),u[0]}return null}for(const a in t)if(!r.has(a)){const u=[t[a][0],t[a][1]];r.add(a);let i=o(u[u.length-1],a,e);for(;i;)u.push(i),i=o(u[u.length-1],a,e);n.push(u)}return n}function Pn(t,e,n){return $(t,e)<n}function Rn(t,e,n,r,o,a){On(Sn,t,e,n,r,o,a)}function Fn(e,r,o,a,u,i){let l=Sn,[s,h,c,_,f]=Ln(a);for(let g=0;g<r.length;g++){let p=i[g];(!p||n()<f)&&([p,t]=Nr(c,_,h));let d=p[2];l(null,null,g,r[g],d,s,h,c,_,f,o,a,u,e)}}function Sn(t,e,r,o,a,u,i,l,s,h,c,_,f,g){let p=It(o,Math.floor(m(["texture",_,"step_ct"])),g);for(let d=0;d<p.length;d++){if(n()>Fe(["texture",_,"keep_rate"]))continue;let t;if(n()<h){let[e,n]=Nr(l,s,i);t=e[2]}else t=a;let e=Ze(Qe(t,["texture",_,"cvar"]));e[3]=m(["texture",_,"cvar","opacity"]);let r=Qt(p[d],m(["texture",_,"offset"]));c.push(r),u.push(e),f.push(u.length-1)}}function $n(t,e,n,r){let o=Fe(["output","color","full_rgbas"]),a=[0,Fe("w"),0,Fe("h")],u=Ue();Bn(a,n,u,o,e.canvas_texture,r.canvas_texture_cid),Cn(a,"bg_ver_line",u,o,e.bg_ver_line,r.bg_ver_line_cid),Cn(a,"bg_cover_line",u,o,e.bg_cover_line,r.bg_cover_line_cid,!0)}function Cn(t,e,n,r,a,u,i){let l;l=i?Dn(t,"mid_grid"):Hn(t,0,[90]);let s=Fe(["color","choose_keys","canvas"]),h=["texture",e,"cvar"];l.forEach((function(t){let[i,l,c]=Jt(t,!0),_=Zt(i,m(["texture",e,"offset_rg"])),f=o(s),g=Ze(Qe(o(n.hsls[f]),h));g[3]=m([...h,"opacity"]),r.push(g),a.push(_),u.push(r.length-1)}))}function Bn(t,e,n,r,a,u){let i=Vn(t),l=Fe(["color","choose_keys","canvas"]),s=["texture",e,"cvar"],h=Fe(["texture",e,"noise_rg"]);i.forEach((function(t){let[i,c,_]=Jt(t,!0);et(i,h);let f=Zt(i,m(["texture",e,"offset_rg"])),g=o(l),p=Ze(Qe(o(n.hsls[g]),s));p[3]=m([...s,"opacity"]),r.push(p),a.push(f),u.push(r.length-1)}))}function Ln(t){return[Fe(["output","color","full_rgbas"]),Fe(["output","color","rule_to_fr_id"]),Fe(["color","mutation_keys",t]),Ue(),Fe(["color","mutation_rate",t])]}function On(e,r,o,a,u,i,l){let[s,h,c,_,f]=Ln(u);for(let g=0;g<o.length;g++){let p=o[g];for(let o=0;o<p.length;o++){let d=p[o];for(let p=0;p<d.length;p++){let m=l[g][o][p];(!m||n()<f)&&([m,t]=Nr(c,_,h));let b=m[2];e(g,o,p,d[p],b,s,h,c,_,f,a,u,i,r)}}}}function Tn(t,e,n){let r=[],o=Math.floor(m(["texture","dot","gap_rg"]));for(let a=Math.floor(t[0]);a<t[1];a+=o)for(let u=Math.floor(t[2]);u<t[3];u+=o){let t=Ft([a,u]);Bt(t[1],t[0],n)&&n[t[1]][t[0]]===e&&r.push([a,u])}return r}function zn(t,e,n){let r=[],o=Math.floor(m(["texture","base_hor_line","gap_rg"]));for(let a=Math.floor(t[2]);a<t[3];a+=o){let u=[];for(let r=Math.floor(t[0]);r<t[1];r+=o){let t=Ft([r,a])
function e(t){let[e,n,r,o]=[[0,8],[8,8],[16,8],[24,8]].map((e=>parseInt(t.substr(e[0],e[1]),16)));return function(){e>>>=0,n>>>=0,r>>>=0,o>>>=0;let t=e+n|0;return e=n^n>>>9,n=r+(r<<3)|0,r=r<<21|r>>>11,o=o+1|0,t=t+o|0,r=r+t|0,(t>>>0)/4294967296}}function n(){let t=Fe(["random","useA"]);return $e(["random","useA"],!t),t?Fe(["random","prngA"])():Fe(["random","prngB"])()}function r(t,e){if(e>t.length)return t;let r,o,a=t.slice(0),u=t.length,i=u-e;for(;u-- >i;)o=Math.floor((u+1)*n()),r=a[o],a[o]=a[u],a[u]=r;return a.slice(i)}function o(t){return t[Math.floor(n()*t.length)]}function a(t){let e,r,o;for(o=t.length-1;o>0;o--)e=Math.floor(n()*(o+1)),r=t[o],t[o]=t[e],t[e]=r;return t}function u(t=.5){return n()<t?0:1}function i(t=.5){return n()<t?-1:1}function l(t){return c(n(),{max:1,min:0},{max:t[1],min:t[0]})}function s(t){return Math.floor(l(t))}function h(t,e){let n=o(t);for(;n===e&&t.length>1;)n=o(t);return n}function c(t,e,n){return t-e.min==0?n.min:(t-e.min)/(e.max-e.min)*(n.max-n.min)+n.min}function _(t,e,n){let r=c(t,e,n);return r>n.max&&(r=n.max),r<n.min&&(r=n.min),r}function f(t){De({prngA:new e(t.hash.substr(2,32)),prngB:new e(t.hash.substr(34,32)),useA:!1},["random"])}function g(t){let e=[],n=0;for(let r=0;r<t.length;r++)n+=t[r],e.push(n);return e}function p(t,e){let n,r=0,o=t.length;for(;r<o;)n=Math.floor((r+o)/2),t[n]<e?r=n+1:o=n;return r}function d(t,e){let r=g(e),a=r[r.length-1];return a<=0?o(t):t[p(r,n()*a)]}function m(t){return l(Fe(t))}function b(t){return o(Fe(t))}function x(t){return t*Math.PI/180}function y(t,e=0){return[...Array(t).keys()].map((t=>t+e))}function w(){return Array.prototype.slice.call(arguments).reduce((function(t,e){let n=[];return t.forEach((function(t){e.forEach((function(e){n.push(t.concat(e))}))})),n}),[[]])}function v(t,e){return new Array(t).fill(e)}function M(t,e,n){let r,o,a,u;return[r,o]=t,[a,u]=e,[r+Math.cos(n)*(a-r)-Math.sin(n)*(u-o),o+Math.sin(n)*(a-r)+Math.cos(n)*(u-o)]}function E(t,e,n){return e.map((e=>M(t,e,n)))}function k(t,e,n){return t.map(((r,o)=>r+n*[e[0]-t[0],e[1]-t[1]][o]))}function A(t,e,n){return k(t,e,n/$(t,e))}function I(t){let e=0;return t.length<2||t.forEach(((n,r)=>e+=r>0?$(t[r],t[r-1]):0)),e}function P(t){let[e,n,r,o]=t,a=0;return[[e,n],[r,n],[o,r]].forEach((t=>a+=$(...t))),(a+$(o,e))/2}function R(t,e,n){return[t[0]+e,t[1]+n]}function F(t,e,n){return t.map((t=>R(t,e,n)))}function S(){return[Infinity,-Infinity,Infinity,-Infinity]}function $(t,e){return Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2))}function C(t){let[e,n,r,o]=S();for(let a=0;a<t.length;a++){let[u,i]=t[a];e=e<u?e:u,r=r<i?r:i,n=n>u?n:u,o=o>i?o:i}return[e,n,r,o]}function B(t){return[t[0]+(t[1]-t[0])/2,t[2]+(t[3]-t[2])/2]}function L(t){let[e,n,r,o]=C(t);return[e,r,n-e,o-r]}function O(t){let[e,n,r,o]=t;return[e,r,n-e,o-r]}function T(t){return t[1]-t[0]}function z(t,e){let[n,r,o,a]=t,[u,i,l,s]=e;return n<=u&&r>=i&&o<=l&&a>=s}function N(t){let[e,n,r,o]=C(t);return n<0||e>=Fe("w")||o<0||r>Fe("h")}function D(t){let e=t.length,n=0;return t.forEach(((r,o)=>n+=t[o][0]*t[(o+1)%e][1]-t[(o+1)%e][0]*t[o][1])),Math.abs(n)/2}function j(t,e){let n,r,o,a,u;if(n=$(t[0],t[1]),n<e)return[t];r=Math.ceil(n/e),o=e/n,a=t[0],u=[a];for(let i=0;i<r;i++){let e=k(...t,Math.min(1,o*(i+1)));u.push(e),a=e}return u}function U(t,e){if(t.length<1)return[];let n=[];for(let r=1;r<t.length;r++){let o=t[r-1],a=t[r],u=[o,a];n=n.concat($(o,a)>e?j(u,e):u.slice(1))}return n.push([...n[n.length-1]]),n}function H(t){let e=Math.floor(t.length*m(["D","p","sp"]));return t.slice(e,Math.min(Math.floor(t.length*m(["D","p","kl"]))+e,t.length-1))}function V(t,e,n){let r=[];return t.forEach((t=>r.push(t.map((t=>t*e)).map(((t,r)=>t+n.map((t=>(1-e)*t))[r]))))),r}function Y(t,e,n,r){let o=[t[0]*n,t[1]*r],a=(1-n)*e[0],u=(1-r)*e[1];return[o[0]+a,o[1]+u]}function G(t,e,n,r){return t.map((t=>Y(t,e,n,r)))}function q(t,e,n,r,o){let[a,u]=Y(t,e,n,r),[i,l]=t,s=Math.min(a,i),h=Math.max(a,i),c=Math.min(u,l),_=Math.max(u,l);for(let f=s;f<=h;f++)for(let t=c;t<=_;t++)o.push([f,t])}function W(t,e,n,r,o){t.forEach((t=>q(t,e,n,r,o)))}function J(t,e){let n,r;return n=C(t),r=B(n),V(t,e,r)}function X(t,e,n){let r,o,a,u,i,[l,s,h,c]=t,_=s-l,f=c-h,g=Math.sqrt(_**2+f**2),p=[l+_/2,h+f/2],d=[];return a=p[1]-g/2,u=p[1]+g/2,r=p[0]-e,o=p[0]+e,i=x(n),d.push(E(p,[[p[0],a],[p[0],u]],i)),[d,r,o,a,u,p,g,i]}function K(t,e,n,r){let o,a,[u,i,s,h,c,_,f,g]=X(t,e,n);for(;i>_[0]-f/2;)o=[[i,h],[i,c]],a=[[s,h],[s,c]],r&&(o=o.map((t=>t.map((t=>t+l(r))))),a=a.map((t=>t.map((t=>t+l(r)))))),u.push(E(_,o,g)),u.push(E(_,a,g)),i-=e,s+=e;return u}function Q(t,e,n,r){let o,a,u=l(e),[i,s,h,c,_,f,g,p]=X(t,u,n);for(;s>f[0]-g/2;)o=[[s,c],[s,_]],a=[[h,c],[h,_]],r&&(o=o.map((t=>t.map((t=>t+l(r))))),a=a.map((t=>t.map((t=>t+l(r)))))),i.push(E(f,o,p)),i.push(E(f,a,p)),s-=l(e),h+=l(e);return i}function Z(t,e,r){let o=0,a=n()<.5?1:-1,u=t[0],i=$(...t),s=[];for(;o<1;){o+=l(a>0?r:e)/i;let n=k(t[0],t[1],o),h=[u,n];a<0&&s.push(h),a*=-1,u=n}return s}function tt(t,e){return t.forEach(((n,r)=>t[r]+=l(e)))}function et(t,e){return t.forEach((t=>t.forEach(((n,r)=>t[r]+=l(e))))),t}function nt(t,e){let n=e[0]-t[0],r=e[1]-t[1],o=[...t];return o[0]+=2*n,o[1]+=2*r,o}function rt(t){let e=Fe("w"),n=Fe("h");return t.every((t=>(t[0]<0||t[0]>e)&&(t[1]<0||t[1]>n)))}function ot(t,e,n){const r=n[0]-e[0],o=n[1]-e[1];if(0===r&&0===o)return Math.hypot(t[0]-e[0],t[1]-e[1]);const a=((t[0]-e[0])*r+(t[1]-e[1])*o)/(r*r+o*o);if(a<0)return Math.hypot(t[0]-e[0],t[1]-e[1]);if(a>1)return Math.hypot(t[0]-n[0],t[1]-n[1]);const u=e[0]+a*r,i=e[1]+a*o;return Math.hypot(t[0]-u,t[1]-i)}function at(t,e){const n=t.length-1,r=t[n];let o=-1,a=0;for(let u=1;u<n;u++){const e=ot(t[u],t[0],r);e>a&&(o=u,a=e)}if(a>e){const n=at(t.slice(0,o+1),e),r=at(t.slice(o),e);return n.slice(0,n.length-1).concat(r)}return[t[0],r]}function ut(t,e,n,r,o,a){return w(...[[o,n/(o+1),t],[a,r/(a+1),e]].map((t=>y(t[0]).map((e=>(e+1)*t[1]+t[2])))))}function it(t,e,n,r,o){const a=E(t[1],t,-x(n));return[[...t[0]],k(...E(t[0],t,x(e)),r),k(a[1],a[0],o),[...t[1]]]}function lt(t,e,n,r,o){return ct(it(t,e,n,r,o),Fe(["graphics","curve_approx_length"]))}function st(t,e,n,r,o){return lt(t,m(e),m(n),m(r),m(o))}function ht(t,e,n,r,o){let a=[[t,e],[t+n,e],[t+n,e+r],[t,e+r]];return o&&a.push([t,e]),a}function ct(t,e){let n=P(t);if(n>e){let r=e/n,o=r,[a,u]=t[0],[i,l]=t[1],[s,h]=t[2],[c,_]=t[3];const f=[t[0]];for(;o<1;)f.push([(1-o)**3*a+3*o*(1-o)**2*i+3*o**2*(1-o)*s+o**3*c,(1-o)**3*u+3*o*(1-o)**2*l+3*o**2*(1-o)*h+o**3*_]),o+=r;return f.push(t[3]),f}return[t[0],t[3]]}function _t(t,e){let[n,r]=t,o=$(n,r);if(o<=e)return t;let a=e/o,u=[n],i=o/e,[l,s]=n,[h,c]=r;for(let _=1;_<i;_++)u.push(k(l,s,h,c,a*_));return u}function ft(t,e){let n=[];for(let r=0;r<t.length-2;r++)j([t[r],t[r+1]],e).forEach((t=>n.push(t)));return n}function gt(t,e,n,r){const o=y(r).map((o=>[t+n*Math.cos(2*Math.PI*o/r),e+n*Math.sin(2*Math.PI*o/r)]));return o.push([...o[0]]),o}function pt(t,e){return[e[0]-t[0],e[1]-t[1]]}function dt(t,e){const n=Math.hypot(...pt(t[0],t[1])),r=Math.hypot(...pt(t[0],t[3])),o=Math.hypot(...pt(e[0],e[1]))/n,a=Math.hypot(...pt(e[0],e[3]))/r,u=[(t[0][0]+t[2][0])/2,(t[0][1]+t[2][1])/2],i=[(e[0][0]+e[2][0])/2,(e[0][1]+e[2][1])/2],l=[i[0]-u[0],i[1]-u[1]],s=e[0][1]-e[1][1],h=e[0][0]-e[1][0];return[o,a,Math.atan2(s,h),l]}function mt(t,e){e||(e=Fe(["graphics","u"]));let n,r,o,a,u,i,l,s,h,c=I(t),_=Math.ceil(1.5*c/e),f=[];for(let g=0;g<t.length-1;g++){n=0===g?t[g]:t[g-1],r=t[g],o=t[g+1],a=g===t.length-2?t[g+1]:t[g+2];for(let t=0;t<_;t++){u=t/_,i=u*u,l=i*u;let[e,c]=n,[g,p]=r,[d,m]=o,[b,x]=a;s=.5*(2*g+(-e+d)*u+(2*e-5*g+4*d-b)*i+(3*g-e-3*d+b)*l),h=.5*(2*p+(-c+m)*u+(2*c-5*p+4*m-x)*i+(3*p-c-3*m+x)*l),f.push([s,h])}}return f.push(t[t.length-1]),f}function bt(t,e,n){let r=n-e,o=0,a=0;for(let u=e;u<n;u++)o+=t[u][0],a+=t[u][1];return[o/r,a/r]}function xt(t,e,n){if(t.length<3)return t;n||(n=Math.min(2,t.length-1));for(let r=0;r<e;r++)for(let e=0;e<t.length-n;e++){let[r,o]=bt(t,e,e+n);t[e]=[(t[e][0]+r)/2,(t[e][1]+o)/2]}return t}function yt(t){if(t.length<2)return te(t);let e=[];for(let n=0;n<t.length-1;n++){let r=t[n],o=t[n+1];e.push(r),e.push(k(r,o,.5))}return e}function wt(t){if(t.length<3)return te(t);let e=[],n=t[0];for(let r=0;r<t.length-2;r++){let o=t[r+1],a=t[r+2],u=$(n,o),i=$(a,n);Math.abs(i/u)>.5&&(e.push(o),n=e[e.length-1])}return e}function vt(t,e){let n=B(C(t));for(let r=0;r<e;r++)for(let e=0;e<t.length-1;e++){let r=[t[e],t[e+1]];r.sort((function(t,e){let r=$(t,n);return-$(e,n)+r})),r[1][0]=r[0][0]+(r[1][0]-r[0][0])/2,r[1][1]=r[0][1]+(r[1][1]-r[0][1])/2}return t}function Mt(t,e){let n=[...t];for(let r=0;r<e;r++){const t=[],e=[],r=[];for(let o=0;o<n.length;o++){const a=n[o],u=n[(o+1)%n.length],i=[.5*(a[0]+u[0]),.5*(a[1]+u[1])];t.push(i),e.push(i);const l=bt(n,0,n.length),s=[(a[0]+l[0]+e[o][0]+e[(o-1+e.length)%e.length][0])/4,(a[1]+l[1]+e[o][1]+e[(o-1+e.length)%e.length][1])/4];r.push(s)}n=[];for(let o=0;o<t.length;o++)n.push(t[o],r[o])}return n}function Et(t,e,n){const r=[],o=t.length;for(let a=0;a<o;a++){const u=t[(a-1+o)%o],i=t[a],l=t[(a+1)%o],s=t[(a+2)%o],h=0,c=Math.pow(Math.hypot(i[0]-u[0],i[1]-u[1]),n)+h,_=Math.pow(Math.hypot(l[0]-i[0],l[1]-i[1]),n)+c,f=Math.pow(Math.hypot(s[0]-l[0],s[1]-l[1]),n)+_;for(let t=0;t<e;t++){const n=c+t/e*(_-c),o=[(c-n)/(c-h)*u[0]+(n-h)/(c-h)*i[0],(c-n)/(c-h)*u[1]+(n-h)/(c-h)*i[1]],a=[(_-n)/(_-c)*i[0]+(n-c)/(_-c)*l[0],(_-n)/(_-c)*i[1]+(n-c)/(_-c)*l[1]],g=[(f-n)/(f-_)*l[0]+(n-_)/(f-_)*s[0],(f-n)/(f-_)*l[1]+(n-_)/(f-_)*s[1]],p=[(_-n)/(_-h)*o[0]+(n-h)/(_-h)*a[0],(_-n)/(_-h)*o[1]+(n-h)/(_-h)*a[1]],d=[(f-n)/(f-c)*a[0]+(n-c)/(f-c)*g[0],(f-n)/(f-c)*a[1]+(n-c)/(f-c)*g[1]],m=[(_-n)/(_-c)*p[0]+(n-c)/(_-c)*d[0],(_-n)/(_-c)*p[1]+(n-c)/(_-c)*d[1]];r.push(m)}}return r}function kt(t,e){let n=B(C(t)),r=Array(e).fill([]),o=1/(e+1);for(let a=0;a<e;a++){let e=1-(a+1)*o;r[a]=t.map((t=>k(t,n,e)))}return r}function At(t,e){let n=t.map(((t,n)=>[n,$(t,e)]));return n.sort(((t,e)=>e[1]-t[1])),t[n.pop()[0]]}function It(t,e,n){let r=At(t,n),o=Array(e).fill([]),a=1/(e+1);for(let u=0;u<e;u++){let e=1-(u+1)*a;o[u]=t.map((t=>k(t,r,e)))}return o}function Pt(t){return t.forEach((t=>t.forEach(((e,n)=>t[n]=Math.floor(t[n]))))),t}function Rt(t){return t.forEach((t=>t.forEach(((e,n)=>t[n]=Math.round(t[n]))))),t}function Ft(t){return t.map(((e,n)=>t[n]=Math.floor(t[n]/Fe(["clipper","scale_factor"]))))}function St(t){return t.forEach((t=>t.forEach(((e,n)=>t[n]=Math.floor(t[n]/Fe(["clipper","scale_factor"])))))),t}function $t(t){return t.forEach((t=>t.forEach(((e,n)=>t[n]=Math.floor(t[n]*=Fe(["clipper","scale_factor"])))))),t}function Ct(t,e){let[n,r]=Fe(["clipper","shape"]),o=Number.isInteger(t)?t:Math.floor(t),a=Number.isInteger(e)?t:Math.floor(e);return o>=0&&o<n&&a>=0&&a<r}function Bt(t,e,n){return n[t]!==undefined&&n[t][e]!==undefined}function Lt(t,e,n){let r,o,a,u,i,l;return[r,o]=t,[a,u]=e,[i,l]=n,r*(u-l)+a*(l-o)+i*(o-u)==0}function Ot(t,e){return $(t,e)<Fe(["clipper","dist_eps"])[0]}function Tt(t,e){return $(t,e)>Fe(["clipper","dist_eps"])[1]}function zt(){let[t,e]=Fe(["clipper","shape"]);const n=new Array(t);let r=Fe(["clipper","bg_c"]);for(let o=0;o<t;o++){n[o]=new Array(e);for(let t=0;t<e;t++)n[o][t]=r}return n}function Nt(t,e){const n=new Array(t);let r=Fe(["clipper","bg_c"]);for(let o=0;o<t;o++){n[o]=new Array(e);for(let t=0;t<e;t++)n[o][t]=r}return n}function Dt(t){if(t.length<=3)return t;let e,n,r,o;o=[],o.push(t[0]);for(let a=1;a<t.length;a++)e=o[o.length-1],n=t[a],Ot(e,n)||(o.length<2||(r=o[o.length-2],Lt(r,e,n)&&o.pop()),o.push(n));return o.length>1&&Tt(o[0],o[1])&&o.shift(),o}function jt(t){let e,n,r,o,a,u,i,l,s,h,c,_,f,g,p,d,m,b,x,y;[e,n]=t,[r,o]=e,[a,u]=n,l=o,s=r,h=Math.abs(u-o),c=Math.abs(a-r),p=Math.max(h,c)+1,f=Array(p).fill(null),_=Array(p).fill(null),d=a-s>0?1:-1,m=u-l>0?1:-1,i=h>c?1:0,h>c&&([s,l]=[l,s],[c,h]=[h,c],[d,m]=[m,d]),g=2*h-c;for(let w=0;w<c;w++){for(f[w]=i?s:l,_[w]=i?l:s;g>=0;)l+=m,g-=2*c;s+=d,g+=2*h}f[c]=u,_[c]=a,b=[];for(let w=0;w<_.length;w++)x=Math.floor(_[w]),y=Math.floor(f[w]),Ct(y,x)&&b.push([x,y]);return b}function Ut(t,e,n,r){Yt(t).forEach((function(t){e[t[1]][t[0]]===r&&(e[t[1]][t[0]]=n)}))}function Ht(t,e){const n=t[0],r=t[1];let o=!1;for(let a=0,u=e.length-1;a<e.length;u=a++){const t=e[a][0],i=e[a][1],l=e[u][0],s=e[u][1];i>r!=s>r&&n<(l-t)*(r-i)/(s-i)+t&&(o=!o)}return o}function Vt(t,e,n){let[r,o,a,u]=n;return r=Math.max(0,r),a=Math.max(0,a),o=Math.min(o,e),u=Math.min(u,t),[r,o,a,u]}function Yt(t){St(t);let[e,n]=Fe(["clipper","shape"]),[r,o,a,u]=Vt(e,n,C(t));const i=[];for(let l=r;l<=o;l++)for(let e=a;e<=u;e++){const n=[l,e];Ht(n,t)&&i.push(n)}return i}function Gt(t,e,n){if(t.length<3)return[];let r=Yt(t);return r.forEach((function(t){let[r,o]=t;Bt(o,r,e)&&(e[o][r]=n)})),r}function qt(t,e,n,r){if(t.length<3)return[];let o=Yt(t);return o.forEach((function(t){let[o,a]=t;Bt(a,o,e)&&r(a,o)&&(e[a][o]=n)})),o}function Wt(t,e,n,r,o,a,u,i,s){if($(t,e)<i)return!1;s&&(r=l([r,r*s]));let h=A(t,e,r),c=M(n,h,o),_=M(n,h,-o);return a.push(c),u.push(_),!0}function Jt(t,e,n,r){if(n=n||Fe(["clipper","split_length"]),r=r!==undefined?r:Fe(["clipper","dist_eps"])[0],!e)return[t,n,r];let o;return o=U(te(t),n),[o,n,r]}function Xt(t,e,n,r,o,a){if(t.length<2)return[];let u,i,l,s,h,c,_,f,g,p,d,m,b;for([u,r,o]=Jt(t,n,r,o),i=[],l=[],s=.5*Math.PI,h=u[0],c=u[1],Wt(c,h,h,$(h,c)+e,-s,i,l,o,a),_=0,f=1,g=-1;f<u.length-1;){if(h=u[_],c=u[f],f+=1,$(h,c)<o)continue;p=k(h,c,.5),Wt(p,h,p,e,-1*s,i,l,o,a)&&(_=f-1)}return b=u.length,d=u[b-2],m=u[b-1],Wt(d,m,m,$(m,d)+e,s,i,l,o,a),l.reverse(),[i,l]}function Kt(t,e,n,r,o){let a=Xt(t,e,n,r,o);if(2!==a.length)return[];let[u,i]=a;return u.length>0&&i.push([...u[0]]),[...u,...i]}function Qt(t,e){let n,r,o;return n=!1,r=Fe(["clipper","split_length"]),o=Fe(["clipper","dist_eps"])[0],Kt(t,e,false,r,o)}function Zt(t,e){let n,r,o;return n=!0,r=Fe(["clipper","split_length"]),o=Fe(["clipper","dist_eps"])[0],Kt(t,e,true,r,o)}function te(t){return JSON.parse(JSON.stringify(t))}function ee(t,e,n){let r=Fe(["clipper","bg_c"]);for(let o=0;o<t.length;o++){Ut(t[o],e,`${n}_${o}`,r)}}function ne(t,e,n,r){let o=Fe(["clipper","bg_c"]),a=Fe(["clipper","gap_c"]);for(let u=0;u<t.length;u++){let i=t[u];Ut(i,e,`${n}_${u}`,o),Ut(Qt(i,r),e,a,o)}}function re(t,e,n,r,o,a){return t*(1-o)*(1-a)+e*o*(1-a)+n*(1-o)*a+r*o*a}function oe(t,e,n){const r=t.length,o=t[0].length,a=Math.round(r*e),u=Math.round(o*n),i=new Array(a).fill(0).map((()=>new Array(u).fill(0)));for(let l=0;l<u;l++)for(let u=0;u<a;u++){const a=u/e,s=l/n,h=Math.floor(a),c=Math.floor(s),_=Math.min(h+1,r-1),f=Math.min(c+1,o-1),g=a-h,p=s-c,d=re(t[h][c],t[_][c],t[h][f],t[_][f],g,p);i[u][l]=Math.round(d)}return i}function ae(t,e,n,r){let o=ht(t,e,n,r,!0),[a,u,i]=Jt(o,!0);return a}function ue(t,e){Object.keys(e).map((n=>t.style[n]=e[n]))}function ie(t,e){Object.keys(e).map((n=>t.setAttribute(n,e[n])))}function le(){ue(Fe(["holder","mat_container"]),{width:`${Fe(["graphics","w"])}px`,height:`${Fe(["graphics","h"])}px`}),ue(Fe(["holder","canvas_container"]),{height:`${window.innerHeight}px`})}function se(){let t,e,n,r,o,a,u,i,l,s,h,c,_,f,g,p;t=window.innerWidth,e=window.innerHeight,n=Fe("w"),r=Fe("h"),o=n/t,a=r/e,u=o>a?o:a,i=Math.ceil(n/u),l=Math.ceil(r/u),De({w:i,h:l},["graphics"]),s=Fe(["render","render_factor"]),h=s*window.devicePixelRatio,c=i*h,_=l*h,f=1/u*window.devicePixelRatio,$e(["render","point_factor_ratio"],f),g=Fe(["holder","canvas"]),ie(g,{width:c,height:_,viewBox:`0 0 ${c} ${_}`}),g.style["max-width"]="100%",g.style["max-height"]="100%",p=Fe(["render","gl"]),p&&ye()}function he(){let t=document.createElement("div");ue(t,{display:"flex","align-items":"center","align-content":"center","justify-content":"center",width:"100%",height:`${window.innerHeight}px`,margin:"0px",padding:"0px"});let e=document.createElement("div");return De({canvas_container:t,mat_container:e},["holder"]),ue(e,{width:`${Fe(["g","w"])}px`,height:`${Fe(["g","h"])}px`,display:"flex","flex-direction":"row","align-items":"center","align-content":"center","justify-content":"center","flex-wrap":"nowrap"}),t.appendChild(e),[t,e]}function ce(t,e){let n=t.map((t=>[t,$(t,e)])),r=Infinity,o=-Infinity;return n.forEach((function(t){r=Math.min(t[1],r),o=Math.max(t[1],o)})),[n,{min:r,max:o}]}function _e(){ue(document.body,{width:"100%",height:"100%",margin:"0",padding:"0","overflow-y":"hidden","overflow-x":"hidden","-ms-overflow-style":"none","scrollbar-width":"none","image-rendering":"high-quality","background-color":"#FFFFFF"});let t=document.createElement("canvas");$e(["holder","canvas"],t),se();let[e,n]=he();n.appendChild(t),document.body.appendChild(e),se(),le()}function fe(t,e,n){const r=t.createShader(e);return t.shaderSource(r,n),t.compileShader(r),r}function ge(t,e){let n=Fe(["render","gl"]);const r=n.createProgram();return n.attachShader(r,fe(n,n.VERTEX_SHADER,t)),n.attachShader(r,fe(n,n.FRAGMENT_SHADER,e)),n.linkProgram(r),r}function pe(t,e,n){const r=t.createBuffer();t.bindBuffer(t.ARRAY_BUFFER,r),t.bufferData(t.ARRAY_BUFFER,new Float32Array(e),t.STATIC_DRAW);const o=t.createBuffer();return t.bindBuffer(t.ARRAY_BUFFER,o),t.bufferData(t.ARRAY_BUFFER,new Float32Array(n.flat()),t.STATIC_DRAW),{position:r,color:o}}function de(t,e,n){{const r=2,o=e.FLOAT,a=!1,u=0,i=0;e.bindBuffer(e.ARRAY_BUFFER,t.position),e.vertexAttribPointer(n.attribLocations.vertexPosition,r,o,a,u,i),e.enableVertexAttribArray(n.attribLocations.vertexPosition)}{const r=4,o=e.FLOAT,a=!1,u=0,i=0;e.bindBuffer(e.ARRAY_BUFFER,t.color),e.vertexAttribPointer(n.attribLocations.vertexColor,r,o,a,u,i),e.enableVertexAttribArray(n.attribLocations.vertexColor)}}function me(t,e){e.bindBuffer(e.ARRAY_BUFFER,t.color),e.bindBuffer(e.ARRAY_BUFFER,t.position)}function be(t,e,n){me(t,n),n.drawArrays(n.LINES,0,e)}function xe(){let t=Fe(["render","gl"]);t.enable(t.BLEND);let[e,n,r,o]=Fe(["default","b","m"]);t.blendFuncSeparate(t[e],t[n],t[r],t[o])}function ye(){let t=""+Fe(["render","point_factor_ratio"])*Fe(["render","dot_size"]);t=t.includes(".")?t.slice(0,t.indexOf(".")+2):t+".0";let e=`\nattribute vec4 aVertexPosition;\nattribute vec4 aVertexColor;\nvarying lowp vec4 vColor;\n\nvoid main() {\ngl_Position = aVertexPosition;\nvColor = aVertexColor;\ngl_PointSize = ${t};\n}\n`,n="\nvarying lowp vec4 vColor;\n\nvoid main(void) {\ngl_FragColor=vColor;\n}\n",r=ge(e,n),o=Fe(["render","gl"]);o.viewport(0,0,o.canvas.width,o.canvas.height),De({vs:e,fs:n,programInfo:{program:r,attribLocations:{vertexPosition:o.getAttribLocation(r,"aVertexPosition"),vertexColor:o.getAttribLocation(r,"aVertexColor")}}},["render"]),xe()}function we(t){let e=Fe("w")/2,n=Fe("h")/2;return[(t[0]-e)/e,-(t[1]-n)/n]}function ve(t){let e,n,r;for(e=[],n=0,r=t.length-1-n;n+1<r&&r-1!==n+1;){let o=[n,n+1,r].map((e=>t[e])),a=[r,r-1,n+1].map((e=>t[e]));Lt(...o)||e.push(o),Lt(...a)||e.push(a),n+=1,r-=1}return e}function Me(t,e,n){let r=ve(t);for(let o=0;o<r.length;o++){let t=r[o].map((t=>we(t)));t.forEach((t=>t.forEach((t=>n.wgl.push(t))))),t.forEach((()=>n.rgba.push(e)))}}function Ee(){let t=Fe(["output","collection","points"]),e=Fe(["output","color","full_rgbas"]);for(let n=0;n<t.raw.length;n++){let r=we(t.raw[n]),o=e[t.cid[n]];t.wgl.push(r[0]),t.wgl.push(r[1]),t.rgba.push(o)}}function ke(){let t=Fe(["output","collection","polygons"]),e=Fe(["output","color","full_rgbas"]);for(let n=0;n<t.raw.length;n++){Me(t.raw[n],e[t.cid[n]],t)}}let Ae=96*.7,Ie=Math.floor(23.4*Ae),Pe=Math.floor(33.1*Ae);function Re(t,e){let n=e;if("string"==typeof t)return e[t];for(let o=0;o<t.length;o++)try{n=n[t[o]]}catch(r){return undefined}return n}function Fe(t){return Re(t,window.SETTING)}function Se(t,e,n){let r=e;for(let o=0;o<t.length-1;o++)r=r[t[o]];r[t[t.length-1]]=n}function $e(t,e){return Se(t,window.SETTING,e)}function m(t){return l(Fe(t))}function b(t){return o(Fe(t))}function Ce(t,e){let n=Fe(["output","static",e]),r=Re(t,Fe(["mode",e,n]));return r!==undefined?r:Re([e,...t],Fe(["default"]))}function Be(t,e){return l(Ce(t,e))}function Le(t){return o(Ce(t))}function Oe(t){let e=Fe(["output","color","loc_key"]),n=Fe(["output","geo","focus"]);return Fe(["lambda","color_spec"])[e].p([t],n)}function Te(t,e){let n=Fe(["output","color","loc_key"]),r=Fe(["output","geo","focus"]),o=Fe(["lambda","color_spec"])[n].s;return c(Fe(["lambda","color_spec"])[n].p(e,r),o,{min:t[0],max:t[1]})}function ze(t){return Te([0,1],t)}function Ne(t){let e=t.pop(),n=Fe(t);return n[e]+=1,n[e]}function De(t,e){Object.keys(t).forEach((n=>$e([...e,n],t[n])))}function je(t,e){let n={};return t.forEach((function(t){n[t]=Fe([...e,t])})),n}function Ue(){return Fe(["color","rules",Fe(["output","static","c_rule"])])}function He(t){return["color","rules",Fe(["output","static","c_rule"]),"var_range",t]}function Ve(t,e,n){n/=100;const r=e*Math.min(n,1-n)/100,o=e=>{const o=(e+t/30)%12,a=n-r*Math.max(Math.min(o-3,9-o,1),-1);return Math.round(255*a).toString(16).padStart(2,"0")};return`#${o(0)}${o(8)}${o(4)}`}function Ye(t,e){let n=[];for(let r=0;r<e;r++){let e=[l(t.hue),l(t.saturation),l(t.lightness)];n.push(e)}return n}function Ge(t){let e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}function qe(t){return Ge(t).map((t=>t/255))}function We(t){let e=qe(t);return e.push(1),e}function Je(t,e,n,r){let o=t.r,a=t.rgbas,u=t.hsls,i=Fe(["color","picks",e]),l=Ye(o[e],i);u[e]=l,r[e]=[];let s=[];l.forEach((t=>s.push(We(Ve(t[0],t[1],t[2]))))),a[e]=s,t.ct[e]=s.length,s.forEach((function(t){n.push(t),r[e].push(n.length-1)}))}function Xe(){let t=Ue().rgbas,e=o(y(t[0].ct));De({bg_rgba:t[0][e],bg_rgba_id:e},["output","color"])}function Ke(){let t=Ue();t.ct={},t.hsls={},t.rgbas={};$e(["output","color","full_rgbas"],[])}function Qe(t,e){let n=Fe(["lambda","hsl_checker"]);return t.map((function(t,r){let o=[...e,["h","s","l"][r]];return t+=m(o),n[r](t)}))}function Ze(t){return We(Ve(...t))}function tn(t,e,n,r){let o=Ze(Qe(t,e));o[3]=m([...e,"opacity"]),r.push(o),n.push(r.length-1)}function en(t,e){let n,r,o;n=Fe(["render","gl"]),r=Fe(["render","programInfo"]),o=pe(n,t.wgl,t.rgba),de(o,n,r),me(o,n),n.drawArrays(n[e],0,t.wgl.length/2)}function nn(){let t,e;t=Fe(["render","gl"]),e=Fe(["render","programInfo"]),t.useProgram(e.program);let n=Fe(["output","color","bg_rgba"]);t.clearColor(...n),t.clearDepth(1),t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT)}function rn(){nn(),en(Fe(["output","collection","polygons"]),"TRIANGLES")}function on(){$e(["render","content_ready"],!0),ye(),ke(),requestAnimationFrame(oo)}window.SETTING={w:Ie,h:Pe,offset_rg:[1,5],random:{},render:{content_ready:!1,render_factor:1.25,point_factor_ratio:null,enable_gl:null,gl:null,vs:null,fs:null,programInfo:null,dot_size:1},basic:{},holder:{canvas:null,canvas_container:null,mat_container:null},clipper:{bg_c:0,blob_c:1,gap_c:2,scale_factor:12,shape:[],extract_factor_base:200,extract_factor_bg:1.5,extract_factor_texture:1.5,extract_factor_center:1.5,dist_eps:[1,10],split_length:15,max_line_gap:5,min_border_px_ct:50},graphics:{curve_approx_length:5,u:10,w:null,h:null},texture:{bg:{opacity:[.45,.69],offset_rg:[1,5],cvar:{h:[-20,20],s:[-5,5],l:[-5,5],opacity:[.08,.68]},noise_rg:[-10,10]},signature:{opacity:[.28,.65]},bg_ver_line:{offset_rg:[.5,2.5],cvar:{h:[-10,10],s:[-5,5],l:[-5,5],opacity:[.05,.9]}},bg_cover_line:{offset_rg:[.5,2],cvar:{h:[-10,10],s:[-5,5],l:[-5,5],opacity:[.01,.35]}},bg_pattern:{offset_rg:[10,15]},bg_pattern_texture:{step_ct:[2,15],keep_rate:.85,cvar:{h:[-20,20],s:[-5,5],l:[-5,5],opacity:[.65,.68]},offset:[2,15]},base:{offset_rg:[.5,3],opacity_btm_rg:[.95,.98],opacity_top_rg:[.01,.12]},base_texture:{step_ct:[2,12],keep_rate:.65,cvar:{h:[-10,10],s:[-5,5],l:[-5,5],opacity:[.2,.28]},offset:[2,15]},base_pattern:{offset_rg:[15,20],simplify_eps:.5,smooth_alpha:1.1,opacity_btm_rg:[.9,.98],opacity_top_rg:[.01,.06]},base_pattern_texture:{step_ct:[3,15],keep_rate:.85,cvar:{h:[-10,10],s:[-5,5],l:[-5,5],opacity:[.6,.68]},offset:[2,15],line_offset:[.2,1],line_smooth_factor:[.95,1.5]},base_hor_line:{gap_rg:[10,35],offset_rg:[1,5],"var":{h:[-15,15],s:[-5,5],l:[-15,15],opacity:[.05,.35]}},dot:{gap_rg:[10,37],min_radius:[.5,2],radius_addition:[.5,7],"var":{h:[-5,5],s:[-5,5],l:[-5,5],opacity:[.1,.4]}},center:{opacity:[.95,.99],line_opacity:[.01,.25],line_offset:[.2,1.5],smooth_alpha:1.5},center_highlight:{center_dot_r:[.004,.009],layer_ct:[3,5],layer_gap:[.001,.002],side_ct:[3,15],dot_side:[8,20],radius_dec:[.5,.7],radius_side_inc:[.014,.045],"var":{h:[-15,15],s:[-25,25],l:[-15,25],opacity:[.25,.45]}}},color:{alter_layer_rate:.5,choose_keys:{canvas:["0"],center:["8"],base_highlight:["5","6"],bg:["5","6","7"],bg_highlight:["1","2","3","4","8"],signature:["2","4","6","7"]},mutation_rate:{center:.32,bg:.
aturation:[65,85],lightness:[55,65],pick:[4,7],weight:[1,1]},2:{hue:[0,20],saturation:[50,60],lightness:[55,65],pick:[4,5],weight:[1,1]},3:{hue:[35,52],saturation:[70,85],lightness:[10,30],pick:[4,5],weight:[1,1]},4:{hue:[175,190],saturation:[40,60],lightness:[40,60],pick:[4,5],weight:[1,1]},5:{hue:[155,175],saturation:[40,60],lightness:[30,45],pick:[4,5],weight:[1,1]}},common_keys:["1","2","3","4","5"],base_keys:["2","3","4","5"]},hallucination:{r:{0:{hue:[180,230],saturation:[6.9,22.9],lightness:[95,100],pick:[4,4],weight:[1,1]},1:{hue:[120,140],saturation:[40,55],lightness:[55,65],pick:[4,7],weight:[5,5]},2:{hue:[160,180],saturation:[60,70],lightness:[70,85],pick:[4,6],weight:[2,2]},3:{hue:[56,65],saturation:[60,66],lightness:[65,86],pick:[4,4],weight:[1,1]},4:{hue:[320,350],saturation:[87.5,94.6],lightness:[68,81],pick:[2,4],weight:[1,1]},5:{hue:[13,42],saturation:[60,66],lightness:[50,60],pick:[3,4],weight:[1,1]}},common_keys:["1","2","3","4"],base_keys:["2","3","4","5"]},ideal:{r:{0:{hue:[175,190],saturation:[15,20],lightness:[95,100],pick:[4,4],weight:[1,1]},1:{hue:[35,52],saturation:[65,85],lightness:[55,65],pick:[4,7],weight:[1,1]},2:{hue:[15,30],saturation:[85,90],lightness:[65,70],pick:[4,5],weight:[1,1]},3:{hue:[200,215],saturation:[70,85],lightness:[40,60],pick:[4,5],weight:[1,1]},4:{hue:[175,190],saturation:[40,60],lightness:[40,60],pick:[4,5],weight:[1,1]},5:{hue:[0,20],saturation:[40,60],lightness:[70,100],pick:[4,5],weight:[1,1]}},common_keys:["1","2","3","4","5"],base_keys:["2","3","4","5"]},realistic:{r:{0:{hue:[175,190],saturation:[15,20],lightness:[95,100],pick:[4,4],weight:[1,1]},1:{hue:[200,220],saturation:[70,85],lightness:[40,60],pick:[4,5],weight:[1,1]},2:{hue:[215,230],saturation:[40,60],lightness:[30,50],pick:[4,5],weight:[1,1]},3:{hue:[35,52],saturation:[65,85],lightness:[75,85],pick:[4,7],weight:[1,1]},4:{hue:[15,30],saturation:[85,90],lightness:[65,70],pick:[4,5],weight:[1,1]},5:{hue:[0,20],saturation:[40,60],lightness:[70,100],pick:[4,5],weight:[1,1]}},common_keys:["1","2","3","4","5"],base_keys:["2","3","4","5"]},truthful:{r:{0:{hue:[175,190],saturation:[0,10],lightness:[95,100],pick:[4,4],weight:[1,1]},1:{hue:[200,220],saturation:[20,45],lightness:[50,70],pick:[4,5],weight:[1,1]},2:{hue:[215,230],saturation:[0,10],lightness:[30,50],pick:[4,5],weight:[1,1]},3:{hue:[15,35],saturation:[25,35],lightness:[75,85],pick:[4,7],weight:[1,1]},4:{hue:[0,20],saturation:[85,90],lightness:[65,70],pick:[4,5],weight:[1,1]},5:{hue:[0,20],saturation:[80,90],lightness:[70,100],pick:[4,5],weight:[1,1]}},common_keys:["1","2","3","4"],base_keys:["2","3","4","5"]},piercing:{r:{0:{hue:[200,220],saturation:[30,40],lightness:[95,100],pick:[4,4],weight:[1,1]},1:{hue:[0,20],saturation:[85,95],lightness:[35,45],pick:[4,7],weight:[1,1]},2:{hue:[0,20],saturation:[40,50],lightness:[60,80],pick:[4,5],weight:[1,1]},3:{hue:[190,230],saturation:[65,75],lightness:[70,85],pick:[4,5],weight:[1,1]},4:{hue:[200,220],saturation:[75,80],lightness:[40,50],pick:[4,5],weight:[1,1]},5:{hue:[0,40],saturation:[80,90],lightness:[0,10],pick:[4,5],weight:[1,1]}},common_keys:["1","2","3","4","5"],base_keys:["2","3","4","5"]},glowing:{r:{0:{hue:[165,180],saturation:[30,40],lightness:[95,100],pick:[4,4],weight:[1,1]},1:{hue:[165,180],saturation:[85,95],lightness:[35,45],pick:[4,7],weight:[1,1]},2:{hue:[15,25],saturation:[75,85],lightness:[40,60],pick:[4,5],weight:[1,1]},3:{hue:[35,50],saturation:[85,95],lightness:[70,85],pick:[4,5],weight:[1,1]},4:{hue:[0,20],saturation:[75,80],lightness:[40,50],pick:[4,5],weight:[1,1]},5:{hue:[0,40],saturation:[80,90],lightness:[0,10],pick:[4,5],weight:[1,1]}},common_keys:["1","2","3","4","5"],base_keys:["2","3","4","5"]},frantic:{r:{0:{hue:[320,350],saturation:[20,30],lightness:[95,100],pick:[4,4],weight:[1,1]},1:{hue:[320,350],saturation:[70,85],lightness:[35,45],pick:[4,7],weight:[1,1]},2:{hue:[300,310],saturation:[55,75],lightness:[75,80],pick:[4,5],weight:[1,1]},3:{hue:[200,240],saturation:[45,65],lightness:[70,85],pick:[4,5],weight:[1,1]},4:{hue:[190,210],saturation:[75,80],lightness:[40,50],pick:[4,5],weight:[1,1]},5:{hue:[170,190],saturation:[80,90],lightness:[60,80],pick:[4,5],weight:[1,1]}},common_keys:["1","2","3","4","5"],base_keys:["2","3","4","5"]},dusky:{r:{0:{hue:[320,350],saturation:[0,10],lightness:[95,100],pick:[4,4],weight:[1,1]},1:{hue:[320,350],saturation:[0,10],lightness:[5,10],pick:[4,7],weight:[1,1]},2:{hue:[300,310],saturation:[0,10],lightness:[75,80],pick:[4,5],weight:[1,1]},3:{hue:[200,240],saturation:[40,50],lightness:[70,85],pick:[4,5],weight:[1,1]},4:{hue:[190,210],saturation:[0,10],lightness:[40,50],pick:[4,5],weight:[1,1]},5:{hue:[170,190],saturation:[0,10],lightness:[0,20],pick:[4,5],weight:[1,1]}},common_keys:["1","2","3","4","5"],base_keys:["2","3","4","5"]}},weights:{base_shape_rg:[[0,10,6,4,2,0],[0,12,12,2,1,0]]}},"default":{b:{m:["SRC_ALPHA","ONE_MINUS_SRC_ALPHA","ONE","ONE_MINUS_SRC_ALPHA"]},structure:{max_area_perc:.5,reverse_rate:.25,lg_perc:.15,box_w_perc:[.95,1.3],box_h_perc:[1.2,1.5],start_perc:[0,.1],seg_length_perc:[.12,.15],y_var:[-2e-4,2e-4],pt_sample_perc:[.48,.51],expand_perc:[.15,.75],fep_offset_rg:[2,18],base_outline_rate:[.05,.18],base_outline_offset:[.5,1.5],halo_offset:[1,10]},distort:{fe_rad_perc:[.05,.1],fe_focus_noise:[-.05,.05],fe_power:[9e-4,.0015],fe_rep:[4,6],fe_rad_inc:[.05,.06],fe_power_inc:[1e-4,5e-4]}},mode:{delusion:{structure:{reverse_timer:[2.75,2.2],curve_rot_rg_0:[-45,-55],dist_rg_0:[.35,.5],curve_rot_rg_1:[-35,-55],dist_rg_1:[.35,.5],iter_lim:220,up_rate:[.15,.25]}},dreams:{structure:{reverse_timer:[2.35,1.35],seg_length_perc:[.09,.12],curve_rot_rg_0:[-75,-95],dist_rg_0:[.15,.17],curve_rot_rg_1:[-65,-85],dist_rg_1:[.25,.27],iter_lim:220,up_rate:[.15,.35],fep_offset_rg:[2.5,13]}},imagination:{structure:{reverse_timer:[2.35,2],seg_length_perc:[.05,.4],curve_rot_rg_0:[-100,-135],dist_rg_0:[.15,.17],curve_rot_rg_1:[-115,-125],dist_rg_1:[.35,.37],iter_lim:180,up_rate:[.2,.35],fep_offset_rg:[2,20]}},fantasy:{structure:{reverse_timer:[2,1.7],seg_length_perc:[.07,.071],curve_rot_rg_0:[-120,-121],dist_rg_0:[1.15,1.155],curve_rot_rg_1:[-120,-121],dist_rg_1:[1.15,1.155],iter_lim:180,up_rate:[0,0],fep_offset_rg:[1.5,19]}},illusion:{structure:{reverse_timer:[1.5,1.85],seg_length_perc:[.1,.18],curve_rot_rg_0:[-45,-55],dist_rg_0:[.85,.95],curve_rot_rg_1:[-45,-55],dist_rg_1:[.85,.95],iter_lim:220,up_rate:[.18,.19],fep_offset_rg:[2,28]}}},"static":{},lambda:{scale:null,color_spec:{c:{s:{max:((Zt/2.5)**2+(te/2.5)**2)**.5,min:0},p:(t,e)=>I(F(C(t)),e)},h:{s:{max:te,min:0},p:(t,e)=>t[0][1]},v:{s:{max:Zt,min:0},p:(t,e)=>t[0][0]}},dd:(t,e)=>I(F(C(t)),e),side_ct_decider:t=>t<1?4:t<5?10:20,hsl_checker:[t=>Math.min(Math.max(0,t),359),t=>Math.min(Math.max(0,t),100),t=>Math.min(Math.max(0,t),100)]},link:{},output:{color:{},geo:{},collection:{},"static":{},temp:{}}},h(tokenData),Ut();let vr=re(["holder","canvas"]).getContext("webgl");if(pe({enable_gl:null!==vr,gl:vr},["render"]),vr){document.addEventListener("DOMContentLoaded",(function(t){xr()}));let Mr=function(){Nt(),Lt(),setTimeout(requestAnimationFrame(Er))};function Er(){re(["render","enable_gl"])&&re(["render","content_ready"])&&Ce()}window.addEventListener("resize",Mr),document.addEventListener("orientationchange",Mr)}else{let Ar=re(["holder","canvas"]);document.body.removeChild(Ar.parentElement.parentElement);let Rr=document.createElement("h1");Rr.innerText="Please switch to a WebGL-enabled browser and refresh.",document.body.appendChild(Rr)}
..r]),n),l=wt(t,g(["texture",...r,"offset_rg"]));o.raw.push(l),i.push(u),o.cid.push(i.length-1)}))}function _r(t,r,n,o,i,u){let l=e()<re(["texture",...t,"irregular_rate"]),s=e()<re(["texture",...t,"curve_rate"]),a=e()<re(["texture",...t,"noise_rate"])?re(["texture",...t,"line_noise"]):undefined,c=e()<re(["texture",...t,"dash_rate"])&&u;o||(o=t);let h=g(["texture",...t,"rot"]);return h+=i?90:0,Ot(r,n,re(["texture",...o,"dist"]),h,a,l,s,t,c)}function fr(t){let r=re(["output","geo","poly_sections"]),o=re(["output","temp","bm_0"]),i=re(["clipper","bg_c"]);ut(o,i);let u=["halo","sec_line"],l=fe(),s=re(["texture",...u,"opacity_rg"]),a=re(["output","collection","polygons"]),c=re(["output","color","full_rgbas"]);for(let h=0;h<r.length;h++){let i=n(l.base_keys),p=n(l.hsls[i]);r[h].forEach((function(r){if(t&&e()>re(["texture",...u,"double_rate"]))return;let n=pt(Z(r));if(n.length>1){pr(_r(u,n,o,null,!1,!0),p,u,s,a,c),!t&&e()<re(["texture",...u,"full_length_layer"])&&pr(_r(u,n,o,null,!1,!1),p,u,s,a,c),re(["output","static","cross_mode"])&&e()<re(["texture",...u,"cross_rate"])&&pr(_r(u,n,o,null,!0,!0),p,u,s,a,c)}}))}}function gr(){let t=re(["output","geo","poly_sections"]),e=["texture","halo","seg_block"],r=fe(),o=re([...e,"opacity_rg"]),i=re(["output","collection","polygons"]),u=re(["output","color","full_rgbas"]);for(let l=0;l<t.length;l++){let s="0",a=n(r.hsls[s]);t[l].forEach((function(t){t.push([...t[0]]);let r=Ee(ve(a,e),o);i.raw.push(t),u.push(r),i.cid.push(u.length-1)}))}}function dr(t,e,o,i,u,l,s){r(t,Math.floor(g(["texture",...e,"rate"])*t.length)).forEach((function(t){let r=Ee(ve(o,["texture",...e]),i),a=t.map((t=>t+n([-1,1])*g(["texture",...e,"xy_noise"]))),c=g(["texture",...e,"radius"]),h=K(...a,c,u(c));l.push(r),s.raw.push(h),s.cid.push(l.length-1)}))}function mr(){cr(),hr(),Xe(),gr(),fr()}function br(){let t=re(["output","collection","fep_raw"]),o=er(t.map((function(t){let e=C(t);return[e[0],e[2]]}))),i=o.loc_rg,u=["fish_line"],l=re(["texture",...u,"percent_rg"]),s=re(["texture",...u,"rate"]),c=fe(),h=re(["texture",...u,"opacity_rg"]),p=[],_=n(c.base_keys),f=n(c.hsls[_]),d=re(["output","collection","polygons"]),m=re(["output","color","full_rgbas"]),b=re(["clipper","dist_eps"])[0];t.forEach((function(t,n){let c=a(o.pv[n],i,l);if(e()*c<s&&(p.push(t),e()<re(["texture",...u,"multi_layer_rate"]))){let e=g(["texture",...u,"additional_layers_ct"]),n=[];for(let r=0;r<e;r++){mt(t,g(["texture",...u,"additional_offset"]),!1,null,b,null).forEach((t=>n.push(t)))}let o=Math.floor(n.length*g(["texture",...u,"add_layer_keep_rate"]));o>0&&(n=r(n,o),n.forEach((t=>p.push(t))))}})),pr(p,f,u,h,d,m)}function wr(){if(!re(["output","static","grid_mode"]))return;let t,e=[0,re("w"),0,re("h")],r=["grid_mode"],o=re(["texture",...r,"dist_var_rate"]),i=n(re(["texture",...r,"angle_combos"])),l=g(["texture",...r,"dist_starter"]),s=re(["texture",...r,"opacity_rg"]),a=[l,l+g(["texture",...r,"dist_variation"])],c=re(["output","collection","polygons"]),h=re(["output","color","full_rgbas"]),p=fe(),_=n(p.base_keys),f=n(p.hsls[_]);for(let n=0;n<i.length;n++){let l=i[n];if(o)t=H(e,a,l,null);else{t=j(e,u(a),l,null)}pr(t,f,r,s,c,h)}}function yr(){if(!re(["output","static","full_outline"]))return;let t=re(["output","collection","fep_raw"]),e=["outline"],r=fe(),o=re(["texture",...e,"opacity_rg"]),i=n(r.base_keys);pr(t,n(r.hsls[i]),e,o,re(["output","collection","polygons"]),re(["output","color","full_rgbas"]))}function kr(){oe(["output","geo","focus"],n(re(["output","geo","focal_pts"]))),pe({bm_0:ot(),bm_1:ot()},["output","temp"]);Date.now();wr(),mr(),Ke(),br(),ur(),yr(),ar(),re(["output","static","double_mode"])&&fr(!0)}function xr(){Le(),xe(),Ne(),pe({lines:{raw:[],cid:[],rgba:[],wgl:[]},polygons:{raw:[],cid:[],rgba:[],wgl:[]},points:{raw:[],cid:[],rgba:[],wgl:[]}},["output","collection"]),kr(),Fe()}window.SETTING={w:Zt,h:te,random:{},render:{content_ready:!1,render_factor:2,point_factor_ratio:null,enable_gl:null,gl:null,vs:null,fs:null,programInfo:null,dot_size:1},basic:{},holder:{canvas:null,canvas_container:null,mat_container:null},clipper:{bg_c:0,blob_c:1,shape:[te,Zt],dist_eps:[1,10],split_length:10,max_line_gap:5,min_border_px_ct:50},graphics:{curve_approx_length:5,u:10,w:null,h:null},texture:{base:{opacity_rg:[.85,.9]},base_dot:{rate:[.25,.65],radius:[2,4],xy_noise:[0,5],h_base_var:[[0,0],[0,0]],s_base_var:[[5,10],[3,10]],l_base_var:[[-10,-0],[5,10]],o_base_var:[[.15,.3],[.05,.1]]},seg_line_dot:{rate:[.1,.15],radius:[2,4],xy_noise:[0,15],h_base_var:[[5,10],[5,8]],s_base_var:[[5,10],[10,15]],l_base_var:[[-20,-10],[5,10]],o_base_var:[[.15,.35],[.05,.15]]},base_line:{iter_ct:[1,3],rot:[-45,45],irregular_rate:.5,opacity_rg:[.05,.3],h_var:[-5,5],s_var:[-5,20],l_var:[-10,0],avoid_cleaning:.1,line_noise:[-30,30],noise_rate:.25,color_mutation_rate:.5,curve_rate:.75,dash_rate:.12,dash_rg:[10,20],dash_inc:[5,10],dash_gap_rg:[10,20],mode:{brush:{offset_rg:[1,10],dist:[2,7]},pencil:{offset_rg:[.5,4],dist:[2,4]}},curve:{dist:[.15,.6],rot:[-90,90]}},halo:{side_ct:[8,16],radius_perc:[.85,1.5],layer_ct:[4,10],loc_var:[-10,10],sample_ct:[.6,.9],red_perc:[.98,.999],red_perc_var:[-.1,.1],tri_dot:{rate:[.001,.005],radius:[3,7],xy_noise:[0,10],h_var:[0,0],s_var:[0,0],l_var:[0,0],opacity_rg:[.3,.45]},sec_line:{cross_mode:.4,cross_rate:.2,double_mode:.4,double_rate:.2,full_length_layer:.1,rot:[-2,2],irregular_rate:.45,avoid_cleaning:0,line_noise:[-30,30],noise_rate:0,curve_rate:0,offset_rg:[.5,2],dist:[4,20],dash_rate:.85,dash_rg:[35,100],dash_inc:[0,1],dash_gap_rg:[0,5],h_var:[-10,10],s_var:[-10,10],l_var:[-10,10],opacity_rg:[.2,.6],curve:{dist:[.15,.6],rot:[-90,90]}},seg_block:{h_var:[-20,20],s_var:[-20,20],l_var:[-40,0],opacity_rg:[.1,.2]}},fish_line:{rate:.15,opacity_rg:[.1,.25],offset_rg:[.25,1.5],h_var:[-40,40],s_var:[-20,20],l_var:[-20,20],percent_rg:{min:1.25,max:.65},multi_layer_rate:.25,additional_layers_ct:[0,3],add_layer_keep_rate:[.2,.9],additional_offset:[2,10]},grid_mode:{rate:.55,dist_var_rate:.5,angle_combos:[[0],[90,0],[0,45,90],[0,45,90,135],[0,135],[0,30,60,90],[30,120]],dist_starter:[30,100],dist_variation:[5,50],opacity_rg:[.18,.3],h_var:[-10,10],s_var:[-10,10],l_var:[-10,10],offset_rg:[.5,1.25]},outline:{rate:.2,opacity_rg:[.1,.25],offset_rg:[.25,1.5],h_var:[-60,60],s_var:[-40,40],l_var:[-40,40]}},color:{rules:{wonderland:{r:{0:{hue:[43.7,92.9],saturation:[6.9,22.9],lightness:[95,100],pick:[4,4],weight:[1,1]},1:{hue:[201,239.4],saturation:[26.5,44.9],lightness:[80,90],pick:[4,7],weight:[5,5]},2:{hue:[193.7,236.4],saturation:[70.8,83.8],lightness:[70,85],pick:[4,6],weight:[2,2]},3:{hue:[13,42],saturation:[69,86],lightness:[55,76],pick:[4,4],weight:[1,1]},4:{hue:[39.2,58],saturation:[87.5,94.6],lightness:[68,81],pick:[2,4],weight:[1,1]},5:{hue:[13.2,44.7],saturation:[19.1,31.1],lightness:[18,30],pick:[3,4],weight:[1,1]}},common_keys:["1","2","3","4"],base_keys:["2","3"]},decisive:{r:{0:{hue:[200,230],saturation:[85,90],lightness:[90,100],pick:[4,4],weight:[1,1]},1:{hue:[0,20],saturation:[22,35],lightness:[27,45],pick:[4,5],weight:[1,1]},2:{hue:[5,40],saturation:[30,40],lightness:[18,29],pick:[4,5],weight:[1,1]},3:{hue:[202.9,247.9],saturation:[15.8,27.8],lightness:[56,84],pick:[4,5],weight:[1,1]},4:{hue:[232.7,264.2],saturation:[6.5,28.3],lightness:[40,50],pick:[4,5],weight:[1,1]},5:{hue:[200,230],saturation:[80,95],lightness:[40,66],pick:[4,5],weight:[1,1]}},common_keys:["1","2","3","4","5"],base_keys:["2","3","5"]},irrational:{r:{0:{hue:[0,40],saturation:[0,10],lightness:[95,100],pick:[4,4],weight:[1,1]},1:{hue:[97,120],saturation:[35,65],lightness:[25,60],pick:[4,5],weight:[1,1]},2:{hue:[48,68],saturation:[45,55],lightness:[50,60],pick:[4,5],weight:[1,1]},3:{hue:[0,30],saturation:[50,70],lightness:[40,60],pick:[4,5],weight:[1,1]},4:{hue:[20,50],saturation:[30,60],lightness:[40,50],pick:[4,5],weight:[1,1]},5:{hue:[40,65],saturation:[85,95],lightness:[70,90],pick:[4,5],weight:[1,1]}},common_keys:["1","2","3","4","5"],base_keys:["2","3","5"]},runaway:{r:{0:{hue:[200,250],saturation:[10,25],lightness:[95,100],pick:[4,4],weight:[1,1]},1:{hue:[300,330],saturation:[25,35],lightness:[55,65],pick:[4,7],weight:[1,1]},2:{hue:[290,310],saturation:[30,47],lightness:[30,50],pick:[4,5],weight:[1,1]},3:{hue:[240,270],saturation:[50,70],lightness:[35,50],pick:[4,5],weight:[1,1]},4:{hue:[200,250],saturation:[60,80],lightness:[60,80],pick:[4,5],weight:[1,1]},5:{hue:[200,230],saturation:[60,85],lightness:[30,50],pick:[4,5],weight:[1,1]}},common_keys:["1","2","3","4","5"],base_keys:["2","3","4","5"]},hesitant:{r:{0:{hue:[0,30],saturation:[0,10],lightness:[80,90],pick:[4,4],weight:[1,1]},1:{hue:[0,30],saturation:[0,10],lightness:[55,65],pick:[4,7],weight:[1,1]},2:{hue:[0,30],saturation:[10,30],lightness:[30,50],pick:[4,5],weight:[1,1]},3:{hue:[0,30],saturation:[0,5],lightness:[5,10],pick:[4,5],weight:[1,1]},4:{hue:[200,260],saturation:[0,10],lightness:[60,80],pick:[4,5],weight:[1,1]},5:{hue:[200,260],saturation:[0,10],lightness:[0,20],pick:[4,5],weight:[1,1]}},common_keys:["1","2","3","4","5"],base_keys:["2","3","4","5"]},mindful:{r:{0:{hue:[20,32],saturation:[20,30],lightness:[95,100],pick:[4,4],weight:[1,1]},1:{hue:[240,250],saturation:[20,30],lightness:[55,65],pick:[4,7],weight:[1,1]},2:{hue:[240,250],saturation:[40,60],lightness:[25,35],pick:[4,5],weight:[1,1]},3:{hue:[0,25],saturation:[60,85],lightness:[50,60],pick:[4,5],weight:[1,1]},4:{hue:[20,32],saturation:[55,70],lightness:[60,80],pick:[4,5],weight:[1,1]},5:{hue:[330,360],saturation:[90,100],lightness:[0,20],pick:[4,5],weight:[1,1]}},common_keys:["1","2","3","4","5"],base_keys:["2","3","4","5"]},purposeful:{r:{0:{hue:[180,200],saturation:[60,80],lightness:[95,100],pick:[4,4],weight:[1,1]},1:{hue:[175,195],saturation:[35,55],lightness:[55,65],pick:[4,7],weight:[1,1]},2:{hue:[180,210],saturation:[40,60],lightness:[25,35],pick:[4,5],weight:[1,1]},3:{hue:[20,32],saturation:[60,85],lightness:[50,60],pick:[4,5],weight:[1,1]},4:{hue:[55,65],saturation:[70,80],lightness:[60,80],pick:[4,5],weight:[1,1]},5:{hue:[20,32],saturation:[90,100],lightness:[0,10],pick:[4,5],weight:[1,1]}},common_keys:["1","2","3","4","5"],base_keys:["2","3","4","5"]},wishful:{r:{0:{hue:[35,52],saturation:[60,80],lightness:[95,100],pick:[4,4],weight:[1,1]},1:{hue:[35,52],s
per","bg_c"]),o=re(["output","collection","polygons"]);for(let i=0;i<r[0];i++)for(let u=0;u<r[1];u++)if(t[i][u]!==n){let t=z(u,i,1,1);o.raw.push(t),o.cid.push(e)}}function Be(t,e){let r;r=e||[0,0,0,1],re(["output","color","full_rgbas"]).push(r);let n=re(["output","color","full_rgbas"]).length-1,o=re(["output","collection","polygons"]);o.raw.push(t),o.cid.push(n)}function Oe(t,e){Be(Z(wt(t,1)),e)}function Pe(t,e,r,n,o){let i,u,l,s;return i=o[0]-n[0],u=o[1]-n[1],l=Math.sqrt(i**2+u**2),l>=t||Math.abs(l)<.05?[...o]:(s=e*(1-Math.exp(-l*r))/l*.75+.25,[n[0]+i*s,n[1]+u*s])}function Se(t,e,r,n){let o,i;o=Math.exp(e),o=o/(o-1)*t,i=e/t;let u=[];for(let l=0;l<n.length;l++)u.push(n[l].map((e=>Pe(t,o,i,r,e))));return u}function Le(){pe({c_rule:n(Object.keys(re(["color","rules"]))),mode:n(Object.keys(re(["mode"]))),reverse_mode:e()<re(["default","structure","reverse_rate"]),cross_mode:e()<re(["texture","halo","sec_line","cross_mode"]),double_mode:e()<re(["texture","halo","sec_line","double_mode"]),grid_mode:e()<re(["texture","grid_mode","rate"]),full_outline:e()<re(["texture","outline","rate"])},["output","static"])}function Ne(){let t,e,r,n,o;t=re(["w"]),e=re("h"),r=Y(0,0,t,e,2,2),r.push(Y(0,0,t,e,1,1)[0]),oe(["output","geo","focal_pts"],r),oe(["output","geo","rect"],Z(z(0,0,t,e))),n=re(["default","structure","lg_perc"]),o=Z(z(-n*t,-n*e,t*(1+2*n),e*(1+2*n))),oe(["output","geo","lg_rect"],o)}function $e(t){let e,r,n,o,i,u;return e=re(["output","temp","base_curve_ct"])%2,r=`curve_rot_rg_${e}`,n=`dist_rg_${e}`,o=[ue(["structure",r]),ue(["structure",r]),ue(["structure",n]),ue(["structure",n])],i=G(t,...o),u=[...o],u[0]*=-1,u[1]*=-1,he(["output","temp","base_curve_ct"]),[i,o,t,u]}function Ue(t,e,r,n){let o;return o=[[t,r+ue(["structure","y_var"])*n],[t+e,r+ue(["structure","y_var"])*n]],o.sort(((t,e)=>t[0]-e[0])),$e(o)}function De(t){return t[Math.floor(ue(["structure","pt_sample_perc"])*t.length)]}function je(t,e,r,n){let[o,i,u,l]=n;t.push(o),e.push(i),He(r,n)}function He(t,r){e()<ue(["structure","up_rate"])&&t.push(G(r[2],...r[3]))}function Ve(t,r,n,o,i){let u,l,s,a,c,h;u=[],l=[],s=re("w"),a=re("h"),h=t[t.length-1],h.length<1&&(h=re(["output","collection","top_most_up_layer"])),c=[];for(let p=0;p<h.length-1;p++){let t,r;if(t=De(h[p]),r=De(h[p+1]),0===p&&(t[0]>o||e()<ue(["structure","expand_perc"]))){let e,r;e=-s*ue(["structure","seg_length_perc"]),r=Ue(t[0],e,n,a),je(u,c,l,r)}if(je(u,c,l,$e([r,t])),p===h.length-2&&(r[0]<i||e()<ue(["structure","expand_perc"]))){let t,e;t=s*ue(["structure","seg_length_perc"]),e=Ue(r[0],t,n,a),je(u,c,l,e)}}return l.length>0&&t.push(l),t.push(u),r.push(c),u}function Ye(t,e,r,n,o,i,u,l){for(;t<e;){let e,i;e=r*ue(["structure","seg_length_perc"]),i=Ue(t,e,o,n),t+=e,u[u.length-1].push(i[1]);let s=G(i[2],...i[3]);l.push(s)}}function qe(t){let e=t[t.length-1],r=[];for(let n=0;n<e.length;n++){let t=e[n].map((t=>t[1]));r.push(Math.min(...t))}return r.reduce(((t,e)=>t>=e?t:e),-Infinity)}function Ge(){let t,e,r,n,o,i,u,l,s,a,c,h,p,_;for(t=re("w"),e=re("h"),r=ue(["structure","box_w_perc"])*t,n=ue(["structure","box_h_perc"])*e,o=(t-r)/2*ue(["structure","start_perc"]),i=(e-n)/2*ue(["structure","start_perc"]),u=o+r,l=i+n,s=o,a=[],c=[[]],h=[[]],pe({top_most_up_layer:a,layers:c},["output","collection"]),oe(["output","temp","base_curve_ct"],0),Ye(o,u,t,e,i,c,h,a),p=0,_=ie(["structure","iter_lim"]);i<l&&p<_;)Ve(c,h,i,s,u),p+=1,c[c.length-1].length<1?c.pop():i=qe(c)}function ze(){let t=[],e=re(["output","collection","layers"]);for(let n=0;n<e.length;n++)for(let r=0;r<e[n].length;r++)t.push(e[n][r]);let r=re(["output","collection","top_most_up_layer"]);for(let n=0;n<r.length;n++)t.push(r[n]);oe(["output","collection","flatten_layer"],t)}function We(){let t,e,r,n,o,i,u,l,s;i=re(["output","collection","flatten_layer"]),u=re("w"),t=re(["output","geo","focus"]),e=re("w")*ue(["distort","fe_rad_perc"]),r=re("w")*ue(["distort","fe_power"]),n=ue(["distort","fe_rep"]),o=Se(e,r,t,i);for(let a=0;a<n;a++)e+=ue(["distort","fe_rad_inc"])*u,r+=ue(["distort","fe_power_inc"]),o=Se(e,r,t,i),t=t.map((t=>t+ue(["distort","fe_focus_noise"])*u));if(l=[],s=ie(["structure","fep_offset_rg"]),re(["output","static","reverse_mode"])){let t=ie(["structure","reverse_timer"]);s=s.map(((e,r)=>e*t[r])),s.reverse()}for(let a=0;a<o.length;a++){let t=ae(s,o[a]),e=Z(wt(o[a],t));l.push(e)}pe({fisheye_paths:l,fep_raw:o},["output","collection"])}function Xe(){let t=re(["output","geo","poly_lines"]),e=er(t.map((function(t){let e=C(t);return[e[0],e[2]]}))),r=ie(["structure","halo_offset"]),n={min:r[0],max:r[1]},o=e.loc_rg;oe(["output","collection","poly_offset_lines"],t.map((function(t,r){return Z(wt(t,a(e.pv[r],o,n)))})))}function Je(){let t,e,r,n;r=re(["clipper","blob_c"]),n=re(["clipper","bg_c"]),t=re(["output","temp","bm_0"]),ut(t,n),e=re(["output","collection","fisheye_paths"]),e.forEach((e=>_t(e,t,r))),re(["output","collection","poly_offset_lines"]).forEach((e=>_t(e,t,r)));let i=re(["output","temp","bm_1"]);ut(i,n);let u=re(["clipper","shape"]);for(let o=0;o<u[0];o++)for(let e=0;e<u[1];e++)t[o][e]!==r&&(i[o][e]=r);let l=Tt(i),s=l[1].map(((t,e)=>[e,t.length])),a=parseInt(u[0])*u[1],c=0;s.forEach((t=>c+=t[1]));let h=c/a,[p,_]=l,f=re(["default","structure","max_area_perc"]);if(h>f){o(s);let t=(h-f)*a,e=0,r=[];for(;e<t;){let[t,n]=s.pop();e+=n,r.push(t)}r.sort();for(let n=r.length-1;n>=0;n--)p.splice(r[n],1),_.splice(r[n],1)}pe({base_borders:p,base_fill_pts:_,seg_line_fill_pts:Rt(t,n,u)},["output","collection"]),ut(t,n),it(i)}function Ke(){Ge(),ze(),We(),Je()}function Qe(){let t=re(["output","collection","base_borders"]).map((t=>ce(t)));pe({color_p_values:t,color_p_rg:{min:t.reduce(((t,e)=>t<=e?t:e),Infinity),max:t.reduce(((t,e)=>t>=e?t:e),-Infinity)}},["output","color"])}function Ze(){let t=[],e=re(["output","color","color_p_values"]),n=re(["color","rules",re(["output","static","c_rule"])]),o=Object.keys(n.r),i=re(["color","weights","base_shape_rg"]),u={min:0,max:1};for(let l=0;l<e.length;l++){let s=e[l],c=o.map((function(t){let e=parseInt(t),r=[i[0][e],i[1][e]];return a(s,u,{min:r[0],max:r[1]})})),h=f(o,c),p=r(b(n.ct[h],0),2);t.push([h,p])}oe(["output","color","border_rule_rgba_id"],t)}function tr(){let t=_e(["border_rule_rgba_id","rule_to_fr_id","full_rgbas"],["output","color"]),r=_e(["base_borders","polygons"],["output","collection"]);for(let n=0;n<r.base_borders.length;n++){let o=r.base_borders[n],i=t.border_rule_rgba_id[n],u=t.rule_to_fr_id[i[0]][i[1][0]],l=[...t.full_rgbas[u]];l[3]=g(["texture","base","opacity_rg"]),t.full_rgbas.push(l);let s=t.full_rgbas.length;if(r.polygons.raw.push(o),r.polygons.cid.push(s),e()<ue(["structure","base_outline_rate"])){let t=wt(o,ue(["structure","base_outline_offset"]));r.polygons.raw.push(t),r.polygons.cid.push(s)}}}function er(t){let e=re(["output","color","loc_key"]),r=re(["output","geo","focus"]),n=re(["lambda","color_spec"])[e].p,o={pv:t.map((t=>n([t],r)))};return o.loc_rg={max:o.pv.reduce(((t,e)=>Math.max(t,e)),-Infinity),min:o.pv.reduce(((t,e)=>Math.min(t,e)),Infinity)},o}function rr(){oe(["output","collection","border_p_rg"],re(["output","collection","base_fill_pts"]).map((t=>er(t))))}function nr(t,e,o,i,u){let l=re(["output","color","full_rgbas"]),s=re(["output","collection","polygons"]),c=re(["color","rules",re(["output","static","c_rule"])]),h=re(["lambda","side_ct_decider"]),p=Math.floor(g(["texture",e,"rate"])*t.length),_=r(b(t.length),p),f=_.map((function(t,e){return a(o.pv[t],o.loc_rg,{min:0,max:1})})),d=c.hsls[i][u],m=ke("h",["texture",e]),w=ke("s",["texture",e]),y=ke("l",["texture",e]),k=ke("o",["texture",e]);_.forEach((function(r,o){let i=f[o],u=t[r].map((t=>t+n([-1,1])*g(["texture",e,"xy_noise"])*i)),a=g(["texture",e,"radius"])*i,c=K(...u,a,h(a)),p=Ae(Me(d,[m,w,y],i),k,i);l.push(p),s.raw.push(c),s.cid.push(l.length-1)}))}function or(){let t=_e(["border_p_rg","base_fill_pts"],["output","collection"]),e=_e(["border_rule_rgba_id"],["output","color"]);for(let r=0;r<t.base_fill_pts.length;r++){let n=t.base_fill_pts[r],o=e.border_rule_rgba_id[r],i=o[0],u=o[1][0];nr(n,"base_dot",t.border_p_rg[r],i,u)}}function ir(){let t=re(["output","collection","seg_line_fill_pts"]);nr(t,"seg_line_dot",er(t),0,re(["output","color","bg_rgba_id"]))}function ur(){Qe(),Ze(),tr(),rr(),or(),ir()}function lr(t,e,r,n){let o;return o=_r(["base_line"],t,e,["base_line","mode",r],!1,!0),o}function sr(t,r,o,i,u,l,s,a,c,h){let p,_=n(t);e()<re(["texture","base_line","noise_rate"])&&(p=u);let f,d=lr(r,i,_,p),[m,w]=l[o];e()<re(["texture","base_line","color_mutation_rate"])&&(m=n(s.common_keys),w=[0,n(b(s.ct[m]))]),f=s.hsls[m][w[1]],d.forEach((function(t){let e=Ee(ve(f,["texture","base_line"]),a),r=wt(t,g(["texture","base_line","mode",_,"offset_rg"]));c.raw.push(r),h.push(e),c.cid.push(h.length-1)}))}function ar(){let t=re(["output","temp","bm_0"]),e=re(["output","collection","base_fill_pts"]),r=re(["output","color","border_rule_rgba_id"]),n=fe(),o=re(["texture","base_line","opacity_rg"]),i=re(["output","collection","polygons"]),u=re(["output","color","full_rgbas"]),l=re(["texture","base_line","mode"]),s=Object.keys(l),a=re(["texture","base_line","line_noise"]);e.forEach((function(e,l){let c=g(["texture","base_line","iter_ct"]);for(let h=0;h<c;h++)sr(s,e,l,t,a,r,n,o,i,u)}))}function cr(){let t=re(["output","geo","focus"]),e=Math.floor(g(["texture","halo","side_ct"])),n=Math.floor(g(["texture","halo","layer_ct"])),o=g(["texture","halo","radius_perc"])*re("w"),i=K(...t,o,e).map((t=>t.map((t=>t+g(["texture","halo","loc_var"]))))),u=Math.floor(e*g(["texture","halo","sample_ct"])),l=r(b(e),u);l.sort(((t,e)=>parseInt(t)-parseInt(e)));let s=l.map((t=>i[t]));s.push([...s[0]]);let a=g(["texture","halo","red_perc"])/n,c=[];for(let r=0;r<n;r++){let e=$(s,1-r*a+g(["texture","halo","red_perc_var"]),t);c.push(e)}oe(["output","geo","polys"],c)}function hr(){let t=[...re(["output","geo","focus"])],e=re(["output","geo","polys"]);e.reverse();let r=[],n=e[0].map((()=>[]));for(let o=0;o<e.length;o++){let i=e[o];for(let u=0;u<e[0].length-1;u++)if(0===o){let e=[t,i[u],i[u+1],t];n[u].push(e)}else{i=e[o-1];let t=e[o],l=[i[u],i[u+1],t[u+1],t[u],i[u]];n[u].push(l),r.push(l)}}pe({poly_sections:n,poly_lines:r},["output","geo"])}function pr(t,e,r,n,o,i){t.forEach((function(t){let u=Ee(ve(e,["texture",.
t r=st(t);r.length>1&&e.push(r)})),e}function Mt(t,e,r){let n=0;for(let o=0;o<e.length;o++){let[i,u]=e[o];tt(u,i)&&(t[u][i]=r,n+=1)}}function At(t,e,r){let n,o;n=[],o=null;for(let i=0;i<t.length;i++){let u=t[i];if(e(u)){null===o||r(o,u)?n.push([u]):n[n.length-1].push(u);let t=n[n.length-1];o=t[t.length-1]}}return[n,Et(n)]}function Rt(t,e,r){let n=[];for(let o=0;o<r[0];o++)for(let i=0;i<r[1];i++)t[o][i]!==e&&n.push([i,o]);return n}function It(t){let e=ot();ut(e,re(["clipper","blob_c"]));let r=re(["clipper","bg_c"]);return t.forEach((t=>pt(t).forEach((t=>e[t[1]][t[0]]=r)))),e}function Ct(t,e,r){let n=[],[o,i]=re(["clipper","shape"]);for(let u=1;u<o-1;u++)for(let r=0;r<i;r++)[[u,r],[u-1,r],[u,r-1],[u+1,r],[u,r+1]].every((r=>Ft(t,r[0],r[1],e)))&&n.push([u,r]);n.forEach((e=>t[e[0]][e[1]]=r));for(let u=0;u<n.length;u++){let[e,o]=n[u];t[e][o]=r}return n}function Ft(t,e,r,n){return!!tt(e,r)&&t[e][r]===n}function Tt(t){let e,r,n,o,i;e=re(["clipper","blob_c"]),r=re(["clipper","bg_c"]),Ct(t,e,r),n=gt(t,r,e),o=[],i=[];for(let u=0;u<n.length;u++){let t=n[u];Z(t);let e=pt(t);e.length>re(["clipper","min_border_px_ct"])&&(o.push(t),i.push(e))}return[o,i]}function Bt(t,r,n,o){let i=re(["clipper","bg_c"]);Mt(t,r,re(["clipper","blob_c"]));let u=vt(n,t);return e()>re(["texture",...o,"avoid_cleaning"])&&Mt(t,r,i),u}function Ot(t,e,r,n,o,i,l,s,a){let c,h=C(t);if(c=i?H(h,r,n,o):j(h,u(r),n,o),l){let t=[g(["texture",...s,"curve","rot"]),g(["texture",...s,"curve","rot"]),g(["texture",...s,"curve","dist"]),g(["texture",...s,"curve","dist"])];c=c.map((e=>G(e,...t)))}else if(a){let t=g(["texture",...s,"dash_rg"]),e=[t,t+g(["texture",...s,"dash_gap_rg"])],r=[];c.map((t=>V(t,e,re(["texture",...s,"dash_gap_rg"])))).map((t=>t.forEach((t=>r.push(t))))),c=r}return c=c.map((t=>Z(t))),Bt(e,t,c,s)}function Pt(t,e){Object.keys(e).map((r=>t.style[r]=e[r]))}function St(t,e){Object.keys(e).map((r=>t.setAttribute(r,e[r])))}function Lt(){Pt(re(["holder","mat_container"]),{width:`${re(["graphics","w"])}px`,height:`${re(["graphics","h"])}px`}),Pt(re(["holder","canvas_container"]),{height:`${window.innerHeight}px`})}function Nt(){let t,e,r,n,o,i,u,l,s,a,c,h,p,_,f,g;t=window.innerWidth,e=window.innerHeight,r=re("w"),n=re("h"),o=r/t,i=n/e,u=o>i?o:i,l=Math.round(r/u),s=Math.round(n/u),pe({w:l,h:s},["graphics"]),a=re(["render","render_factor"]),c=a*window.devicePixelRatio,h=l*c,p=s*c,_=1/u*window.devicePixelRatio,oe(["render","point_factor_ratio"],_),f=re(["holder","canvas"]),St(f,{width:h,height:p,viewBox:`0 0 ${h} ${p}`}),f.style["max-width"]="100%",f.style["max-height"]="100%",g=re(["render","gl"]),g&&zt()}function $t(){let t=document.createElement("div");Pt(t,{display:"flex","align-items":"center","align-content":"center","justify-content":"center",width:"100%",height:`${window.innerHeight}px`,margin:"0px",padding:"0px"});let e=document.createElement("div");return pe({canvas_container:t,mat_container:e},["holder"]),Pt(e,{width:`${re(["g","w"])}px`,height:`${re(["g","h"])}px`,display:"flex","flex-direction":"row","align-items":"center","align-content":"center","justify-content":"center","flex-wrap":"nowrap"}),t.appendChild(e),[t,e]}function Ut(){Pt(document.body,{width:"100%",height:"100%",margin:"0",padding:"0","overflow-y":"hidden","overflow-x":"hidden","-ms-overflow-style":"none","scrollbar-width":"none","image-rendering":"high-quality"});let t=document.createElement("canvas");oe(["holder","canvas"],t),Nt();let[e,r]=$t();r.appendChild(t),document.body.appendChild(e),Nt(),Lt()}function Dt(t,e,r){const n=t.createShader(e);return t.shaderSource(n,r),t.compileShader(n),n}function jt(t,e){let r=re(["render","gl"]);const n=r.createProgram();return r.attachShader(n,Dt(r,r.VERTEX_SHADER,t)),r.attachShader(n,Dt(r,r.FRAGMENT_SHADER,e)),r.linkProgram(n),n}function Ht(t,e,r){const n=t.createBuffer();t.bindBuffer(t.ARRAY_BUFFER,n),t.bufferData(t.ARRAY_BUFFER,new Float32Array(e),t.STATIC_DRAW);const o=t.createBuffer();return t.bindBuffer(t.ARRAY_BUFFER,o),t.bufferData(t.ARRAY_BUFFER,new Float32Array(r.flat()),t.STATIC_DRAW),{position:n,color:o}}function Vt(t,e,r){{const n=2,o=e.FLOAT,i=!1,u=0,l=0;e.bindBuffer(e.ARRAY_BUFFER,t.position),e.vertexAttribPointer(r.attribLocations.vertexPosition,n,o,i,u,l),e.enableVertexAttribArray(r.attribLocations.vertexPosition)}{const n=4,o=e.FLOAT,i=!1,u=0,l=0;e.bindBuffer(e.ARRAY_BUFFER,t.color),e.vertexAttribPointer(r.attribLocations.vertexColor,n,o,i,u,l),e.enableVertexAttribArray(r.attribLocations.vertexColor)}}function Yt(t,e){e.bindBuffer(e.ARRAY_BUFFER,t.color),e.bindBuffer(e.ARRAY_BUFFER,t.position)}function qt(t,e,r){Yt(t,r),r.drawArrays(r.LINES,0,e)}function Gt(){let t=re(["render","gl"]);t.enable(t.BLEND);let[e,r,n,o]=re(["default","b","m"]);t.blendFuncSeparate(t[e],t[r],t[n],t[o])}function zt(){let t=""+re(["render","point_factor_ratio"])*re(["render","dot_size"]);t=t.includes(".")?t.slice(0,t.indexOf(".")+2):t+".0";let e=`\nattribute vec4 aVertexPosition;\nattribute vec4 aVertexColor;\nvarying lowp vec4 vColor;\n\nvoid main() {\ngl_Position = aVertexPosition;\nvColor = aVertexColor;\ngl_PointSize = ${t};\n}\n`,r="\nvarying lowp vec4 vColor;\n\nvoid main(void) {\ngl_FragColor=vColor;\n}\n",n=jt(e,r),o=re(["render","gl"]);o.viewport(0,0,o.canvas.width,o.canvas.height),pe({vs:e,fs:r,programInfo:{program:n,attribLocations:{vertexPosition:o.getAttribLocation(n,"aVertexPosition"),vertexColor:o.getAttribLocation(n,"aVertexColor")}}},["render"]),Gt()}function Wt(t){let e=re("w")/2,r=re("h")/2;return[(t[0]-e)/e,-(t[1]-r)/r]}function Xt(t){let e,r,n;for(e=[],r=0,n=t.length-1-r;r+1<n&&n-1!==r+1;){let o=[r,r+1,n].map((e=>t[e])),i=[n,n-1,r+1].map((e=>t[e]));et(...o)||e.push(o),et(...i)||e.push(i),r+=1,n-=1}return e}function Jt(t,e,r){let n=Xt(t);for(let o=0;o<n.length;o++){let t=n[o].map((t=>Wt(t)));t.forEach((t=>t.forEach((t=>r.wgl.push(t))))),t.forEach((()=>r.rgba.push(e)))}}function Kt(){let t=re(["output","collection","points"]),e=re(["output","color","full_rgbas"]);for(let r=0;r<t.raw.length;r++){let n=Wt(t.raw[r]),o=e[t.cid[r]];t.wgl.push(n[0]),t.wgl.push(n[1]),t.rgba.push(o)}}function Qt(){let t=re(["output","collection","polygons"]),e=re(["output","color","full_rgbas"]);for(let r=0;r<t.raw.length;r++){Jt(t.raw[r],e[t.cid[r]],t)}}let Zt=1400,te=1e3;function ee(t,e){let r=e;if("string"==typeof t)return e[t];for(let o=0;o<t.length;o++)try{r=r[t[o]]}catch(n){return undefined}return r}function re(t){return ee(t,window.SETTING)}function ne(t,e,r){let n=e;for(let o=0;o<t.length-1;o++)n=n[t[o]];n[t[t.length-1]]=r}function oe(t,e){return ne(t,window.SETTING,e)}function g(t){return u(re(t))}function d(t){return n(re(t))}function ie(t){let e=re(["output","static","mode"]),r=ee(t,re(["mode",e]));return r!==undefined?r:ee(t,re(["default"]))}function ue(t){return u(ie(t))}function le(t){return n(ie(t))}function se(t){let e=re(["output","color","loc_key"]),r=re(["output","geo","focus"]);return re(["lambda","color_spec"])[e].p([t],r)}function ae(t,e){let r=re(["output","color","loc_key"]),n=re(["output","geo","focus"]),o=re(["lambda","color_spec"])[r].s;return a(re(["lambda","color_spec"])[r].p(e,n),o,{min:t[0],max:t[1]})}function ce(t){return ae([0,1],t)}function he(t){let e=t.pop(),r=re(t);return r[e]+=1,r[e]}function pe(t,e){Object.keys(t).forEach((r=>oe([...e,r],t[r])))}function _e(t,e){let r={};return t.forEach((function(t){r[t]=re([...e,t])})),r}function fe(){return re(["color","rules",re(["output","static","c_rule"])])}function ge(t,e,r){let n=[],o=[],i=[],l={};for(const[s,a]of Object.entries(t)){if(!a)continue;let r=t[s].weight,n=Math.floor(u(r));o.push(s),i.push(n),l[s]=e[s].length}for(let s=0;s<r;s++){let t=f(o,i),r=[0,l[t]],s=Math.floor(u(r)),a=e[t][s];n.push([t,s,a])}return n.sort(((t,e)=>t[0]-e[0]||t[1]-e[1])),n}function de(t,e,r){r/=100;const n=e*Math.min(r,1-r)/100,o=e=>{const o=(e+t/30)%12,i=r-n*Math.max(Math.min(o-3,9-o,1),-1);return Math.round(255*i).toString(16).padStart(2,"0")};return`#${o(0)}${o(8)}${o(4)}`}function me(t){let e=parseInt(u(t.pick)),r=[];for(let n=0;n<e;n++){let e=[u(t.hue),u(t.saturation),u(t.lightness)];r.push(e)}return r}function be(t){let e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}function we(t){return be(t).map((t=>t/255))}function ye(t){let e=we(t);return e.push(1),e}function ke(t,e){let r=re([...e,`${t}_base_var`]),n={min:u(r[0])};return n.max=n.min+u(r[1]),n}function xe(){let t=re(["color"]).rules[re(["output","static","c_rule"])],e=t.r;t.ct={},t.hsls={};let r=t.hsls;t.rgbas={};let o=t.rgbas;Object.keys(e).forEach(((n,i)=>{let u=me(e[n]);r[n]=u;let l=[];u.forEach((t=>l.push(ye(de(t[0],t[1],t[2]))))),o[n]=l,t.ct[n]=l.length}));oe(["output","color","loc_key"],"c"),oe(["lambda","scale"],(function(t){return a(t,re(["lambda","color_spec"]).c.s,{max:1,min:0})}));let i=[];oe(["output","color","full_rgbas"],i);let u=n(b(o[0].ct));pe({bg_rgba:o[0][u],bg_rgba_id:u},["output","color"]);let l={};oe(["output","color","rule_to_fr_id"],l),Object.keys(e).forEach((t=>{let e=o[t],r=i.length-1;l[t]=e.map((function(t,e){return i.push(t),r+e}))}))}function ve(t,e){let r=re(["lambda","hsl_checker"]);return t.map((function(t,n){return t+=g([...e,`${["h","s","l"][n]}_var`]),r[n](t)}))}function Ee(t,e){let r=ye(de(...t));return r[3]=u(e),r}function Me(t,e,r){let n={min:0,max:1},o=re(["lambda","hsl_checker"]);return t.map((function(t,i){if(!e[i])return t;return t+=a(r,n,e[i]),o[i](t)}))}function Ae(t,e,r){let n=ye(de(...t));return n[3]=a(r,{min:0,max:1},e),n}function Re(t,e){let r,n,o;r=re(["render","gl"]),n=re(["render","programInfo"]),o=Ht(r,t.wgl,t.rgba),Vt(o,r,n),Yt(o,r),r.drawArrays(r[e],0,t.wgl.length/2)}function Ie(){let t,e;t=re(["render","gl"]),e=re(["render","programInfo"]),t.useProgram(e.program);let r=re(["output","color","bg_rgba"]);t.clearColor(...r),t.clearDepth(1),t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT)}function Ce(){Ie(),Re(re(["output","collection","polygons"]),"TRIANGLES")}function Fe(){oe(["render","content_ready"],!0),zt(),Qt(),requestAnimationFrame(Er)}function Te(t){re(["output","color","full_rgbas"]).push([0,0,0,1]);let e=re(["output","color","full_rgbas"]).length-1;re(["output","color","full_rgbas"]).push([1,0,0,1]);let r=re(["clipper","shape"]),n=re(["clip
function t(t){let[e,r,n,o]=[[0,8],[8,8],[16,8],[24,8]].map((e=>parseInt(t.substr(e[0],e[1]),16)));return function(){e>>>=0,r>>>=0,n>>>=0,o>>>=0;let t=e+r|0;return e=r^r>>>9,r=n+(n<<3)|0,n=n<<21|n>>>11,o=o+1|0,t=t+o|0,n=n+t|0,(t>>>0)/4294967296}}function e(){let t=re(["random","useA"]);return oe(["random","useA"],!t),t?re(["random","prngA"])():re(["random","prngB"])()}function r(t,r){if(r>t.length)return t;let n,o,i=t.slice(0),u=t.length,l=u-r;for(;u-- >l;)o=Math.floor((u+1)*e()),n=i[o],i[o]=i[u],i[u]=n;return i.slice(l)}function n(t){return t[Math.floor(e()*t.length)]}function o(t){let r,n,o;for(o=t.length-1;o>0;o--)r=Math.floor(e()*(o+1)),n=t[o],t[o]=t[r],t[r]=n;return t}function i(t=.5){return e()<t?0:1}function u(t){return a(e(),{max:1,min:0},{max:t[1],min:t[0]})}function l(t){return Math.floor(u(t))}function s(t,e){let r=n(t);for(;r===e&&t.length>1;)r=n(t);return r}function a(t,e,r){return t-e.min==0?r.min:(t-e.min)/(e.max-e.min)*(r.max-r.min)+r.min}function c(t,e,r){let n=a(t,e,r);return n>r.max&&(n=r.max),n<r.min&&(n=r.min),n}function h(e){pe({prngA:new t(e.hash.substr(2,32)),prngB:new t(e.hash.substr(34,32)),useA:!1},["random"])}function p(t){let e=[],r=0;for(let n=0;n<t.length;n++)r+=t[n],e.push(r);return e}function _(t,e){let r,n=0,o=t.length;for(;n<o;)r=Math.floor((n+o)/2),t[r]<e?n=r+1:o=r;return n}function f(t,r){let o=p(r),i=o[o.length-1];return i<=0?n(t):t[_(o,e()*i)]}function g(t){return u(re(t))}function d(t){return n(re(t))}function m(t){return t*Math.PI/180}function b(t,e=0){return[...Array(t).keys()].map((t=>t+e))}function w(){return Array.prototype.slice.call(arguments).reduce((function(t,e){let r=[];return t.forEach((function(t){e.forEach((function(e){r.push(t.concat(e))}))})),r}),[[]])}function y(t,e,r){let n,o,i,u;return[n,o]=t,[i,u]=e,[n+Math.cos(r)*(i-n)-Math.sin(r)*(u-o),o+Math.sin(r)*(i-n)+Math.cos(r)*(u-o)]}function k(t,e,r){return e.map((e=>y(t,e,r)))}function x(t,e,r){return t.map(((n,o)=>n+r*[e[0]-t[0],e[1]-t[1]][o]))}function v(t,e,r){return x(t,e,r/I(t,e))}function E(t){let e=0;return t.length<2||t.forEach(((r,n)=>e+=n>0?I(t[n],t[n-1]):0)),e}function M(t){let[e,r,n,o]=t,i=0;return[[e,r],[n,r],[o,n]].forEach((t=>i+=I(...t))),(i+I(o,e))/2}function A(t,e,r){return t.map((t=>[t[0]+e,t[1]+r]))}function R(){return[Infinity,-Infinity,Infinity,-Infinity]}function I(t,e){return Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2))}function C(t){let[e,r,n,o]=R();for(let i=0;i<t.length;i++){let[u,l]=t[i];e=e<u?e:u,n=n<l?n:l,r=r>u?r:u,o=o>l?o:l}return[e,r,n,o]}function F(t){return[t[0]+(t[1]-t[0])/2,t[2]+(t[3]-t[2])/2]}function T(t){let[e,r,n,o]=C(t);return[e,n,r-e,o-n]}function B(t,e){let[r,n,o,i]=t,[u,l,s,a]=e;return r<=u&&n>=l&&o<=s&&i>=a}function O(t){let[e,r,n,o]=C(t);return r<0||e>=re("w")||o<0||n>re("h")}function P(t){let e=t.length,r=0;return t.forEach(((n,o)=>r+=t[o][0]*t[(o+1)%e][1]-t[(o+1)%e][0]*t[o][1])),Math.abs(r)/2}function S(t,e){let r,n,o,i,u;if(r=I(t[0],t[1]),r<e)return[t];n=Math.ceil(r/e),o=e/r,i=t[0],u=[i];for(let l=0;l<n;l++){let e=x(...t,Math.min(1,o*(l+1)));u.push(e),i=e}return u}function L(t,e){if(t.length<1)return[];let r=[];for(let n=1;n<t.length;n++){let o=t[n-1],i=t[n],u=[o,i];r=r.concat(I(o,i)>e?S(u,e):u.slice(1))}return Z(r)}function N(t){let e=Math.floor(t.length*g(["D","p","sp"]));return t.slice(e,Math.min(Math.floor(t.length*g(["D","p","kl"]))+e,t.length-1))}function $(t,e,r){let n=[];return t.forEach((t=>n.push(t.map((t=>t*e)).map(((t,n)=>t+r.map((t=>(1-e)*t))[n]))))),n}function U(t,e){let r,n;return r=C(t),n=F(r),$(t,e,n)}function D(t,e,r){let n,o,i,u,l,[s,a,c,h]=t,p=a-s,_=h-c,f=Math.sqrt(p**2+_**2),g=[s+p/2,c+_/2],d=[];return i=g[1]-f/2,u=g[1]+f/2,n=g[0]-e,o=g[0]+e,l=m(r),d.push(k(g,[[g[0],i],[g[0],u]],l)),[d,n,o,i,u,g,f,l]}function j(t,e,r,n){let o,i,[l,s,a,c,h,p,_,f]=D(t,e,r);for(;s>p[0]-_/2;)o=[[s,c],[s,h]],i=[[a,c],[a,h]],n&&(o=o.map((t=>t.map((t=>t+u(n))))),i=i.map((t=>t.map((t=>t+u(n)))))),l.push(k(p,o,f)),l.push(k(p,i,f)),s-=e,a+=e;return l}function H(t,e,r,n){let o,i,l=u(e),[s,a,c,h,p,_,f,g]=D(t,l,r);for(;a>_[0]-f/2;)o=[[a,h],[a,p]],i=[[c,h],[c,p]],n&&(o=o.map((t=>t.map((t=>t+u(n))))),i=i.map((t=>t.map((t=>t+u(n)))))),s.push(k(_,o,g)),s.push(k(_,i,g)),a-=u(e),c+=u(e);return s}function V(t,r,n){let o=0,i=e()<.5?1:-1,l=t[0],s=I(...t),a=[];for(;o<1;){o+=u(i>0?n:r)/s;let e=x(t[0],t[1],o),c=[l,e];i<0&&a.push(c),i*=-1,l=e}return a}function Y(t,e,r,n,o,i){return w(...[[o,r/(o+1),t],[i,n/(i+1),e]].map((t=>b(t[0]).map((e=>(e+1)*t[1]+t[2])))))}function q(t,e,r,n,o){const i=k(t[1],t,-m(r));return[[...t[0]],x(...k(t[0],t,m(e)),n),x(i[1],i[0],o),[...t[1]]]}function G(t,e,r,n,o){return W(q(t,e,r,n,o),re(["graphics","curve_approx_length"]))}function z(t,e,r,n){return[[t,e],[t+r,e],[t+r,e+n],[t,e+n]]}function W(t,e){let r=M(t);if(r>e){let n=e/r,o=n,[i,u]=t[0],[l,s]=t[1],[a,c]=t[2],[h,p]=t[3];const _=[t[0]];for(;o<1;)_.push([(1-o)**3*i+3*o*(1-o)**2*l+3*o**2*(1-o)*a+o**3*h,(1-o)**3*u+3*o*(1-o)**2*s+3*o**2*(1-o)*c+o**3*p]),o+=n;return _.push(t[3]),_}return[t[0],t[3]]}function X(t,e){let[r,n]=t,o=I(r,n);if(o<=e)return t;let i=e/o,u=[r],l=o/e,[s,a]=r,[c,h]=n;for(let p=1;p<l;p++)u.push(x(s,a,c,h,i*p));return u}function J(t,e){let r=[];for(let n=0;n<t.length-2;n++)S([t[n],t[n+1]],e).forEach((t=>r.push(t)));return r}function K(t,e,r,n){const o=b(n).map((o=>[t+r*Math.cos(2*Math.PI*o/n),e+r*Math.sin(2*Math.PI*o/n)]));return o.push([...o[0]]),o}function Q(t,e,r,n){tt(t,e)&&(n[t][e]=r)}function Z(t){return t.forEach((t=>t.forEach(((e,r)=>t[r]=Math.floor(t[r]))))),t}function tt(t,e){let[r,n]=re(["clipper","shape"]),o=Number.isInteger(t)?t:Math.floor(t),i=Number.isInteger(e)?t:Math.floor(e);return o>=0&&o<r&&i>=0&&i<n}function et(t,e,r){let n,o,i,u,l,s;return[n,o]=t,[i,u]=e,[l,s]=r,n*(u-s)+i*(s-o)+l*(o-u)==0}function rt(t,e){return I(t,e)<re(["clipper","dist_eps"])[0]}function nt(t,e){return I(t,e)>re(["clipper","dist_eps"])[1]}function ot(){let t=re(["clipper","shape"]);return b(t[0]).map((()=>b(t[1]).map((()=>re(["clipper","bg_c"])))))}function it(t){let e=re(["clipper","shape"]);for(let r=0;r<e[1];r++)t[r]=null;t=null}function ut(t,e){let r=re(["clipper","shape"]);for(let n=0;n<r[0];n++)for(let o=0;o<r[1];o++)t[n][o]=e}function lt(t){let e,r,n,o;e=Infinity,n=Infinity,r=-Infinity,o=-Infinity;let i=re(["clipper","blob_c"]);for(let u=0;u<t.length;u++){let l=t[u].indexOf(i);if(-1===l)continue;let s=t[u].lastIndexOf(i);e=e<l?e:l,n=n<u?n:u,r=r>s?r:s,o=o>u?o:u}return[e,r,n,o]}function st(t){if(t.length<=3)return t;let e,r,n,o;o=[],o.push(t[0]);for(let i=1;i<t.length;i++)e=o[o.length-1],r=t[i],rt(e,r)||(o.length<2||(n=o[o.length-2],et(n,e,r)&&o.pop()),o.push(r));return o.length>1&&nt(o[0],o[1])&&o.shift(),o}function at(t){let e,r,n,o,i,u,l,s,a,c,h,p,_,f,g,d,m,b,w,y;[e,r]=t,[n,o]=e,[i,u]=r,s=o,a=n,c=Math.abs(u-o),h=Math.abs(i-n),g=Math.max(c,h)+1,_=Array(g).fill(null),p=Array(g).fill(null),d=i-a>0?1:-1,m=u-s>0?1:-1,l=c>h?1:0,c>h&&([a,s]=[s,a],[h,c]=[c,h],[d,m]=[m,d]),f=2*c-h;for(let k=0;k<h;k++){for(_[k]=l?a:s,p[k]=l?s:a;f>=0;)s+=m,f-=2*h;a+=d,f+=2*c}_[h]=u,p[h]=i,b=[];for(let k=0;k<p.length;k++)w=Math.floor(p[k]),y=Math.floor(_[k]),tt(y,w)&&b.push([w,y]);return b}function ct(t){let e,r,n;n=[];for(let o=1;o<t.length;o++)e=[t[o-1],t[o]],r=at(e),r.forEach(((t,e)=>n.push(r[e])));return n}function ht(t,e,r){let n=pt(t);return n.forEach((t=>e[t[1]][t[0]]=r)),n}function pt(t){let e,r,n,o;[e,e,r,n]=C(t).map((t=>Math.floor(t))),n<re(["clipper","shape"])[0]&&(n+=1),o=[];for(let i=r;i<n;i++){let e,r,n,u,l,s;e=[],r=-1;for(let o=0;o<t.length;o++){let n,u,l,s,a,c;[l,s]=t[o],[a,c]=0===o?t[t.length-1]:t[r],n=s<i&&c>=i,u=c<i&&s>=i,(n||u)&&e.push(c-s?l+(i-s)/(c-s)*(a-l):l),r=o}e.sort(((t,e)=>t-e)),n=[],u=[],e.forEach(((t,e)=>e%2==0?n.push(t):u.push(t)));for(let t=0;t<Math.min(n.length,u.length);t++){l=Math.floor(n[t]),s=Math.floor(u[t]);for(let t=l;t<s+1;t++)tt(i,t)&&o.push([t,i])}}return o}function _t(t,e,r){if(t.length<3)return[];let n=pt(t);return n.forEach((function(t){e[t[1]][t[0]]=r})),n}function ft(t,e,r,n,o,i){if(!Ft(t,n,o,r))return;if(window.EXTRACT_COUNTER+=1,window.EXTRACT_COUNTER>2e3)return;t[n][o]=e,i.push([o,n]);let u=[[n,o+1],[n+1,o+1],[n+1,o],[n+1,o-1],[n,o-1],[n-1,o-1],[n-1,o],[n-1,o+1]];for(let l=0;l<u.length;l++){let[n,o]=u[l];if(Ft(t,n,o,r))return ft(t,e,r,n,o,i)}}function gt(t,e,r){let n=[],[o,i]=re(["clipper","shape"]);for(let u=0;u<o;u++)for(let o=0;o<i;o++)if(Ft(t,u,o,r)){let i=[];window.EXTRACT_COUNTER=0,ft(t,e,r,u,o,i),st(i).length>3&&n.push(i)}return n}function dt(t,e,r,n,o,i,l,s,a){if(I(t,e)<s)return!1;a&&(n=u([n,n*a]));let c=v(t,e,n),h=y(r,c,o),p=y(r,c,-o);return i.push(h),l.push(p),!0}function mt(t,e,r,n,o,i){if(t.length<2)return[];let u,l,s,a,c,h,p,_,f,g,d,m,b;if(n=n||re(["clipper","split_length"]),o=o!==undefined?o:re(["clipper","dist_eps"])[0],u=r?L(t,n):t,u.length<2)return[];for(l=[],s=[],a=.5*Math.PI,c=u[0],h=u[1],dt(h,c,c,I(c,h)+e,-a,l,s,o,i),p=0,_=1,f=-1;_<u.length-1;){if(c=u[p],h=u[_],_+=1,I(c,h)<o)continue;g=x(c,h,.5),dt(g,c,g,e,-1*a,l,s,o,i)&&(p=_-1)}return b=u.length,d=u[b-2],m=u[b-1],dt(d,m,m,I(m,d)+e,a,l,s,o,i),s.reverse(),[l,s]}function bt(t,e,r,n,o){let i=mt(t,e,r,n,o);if(2!==i.length)return[];let[u,l]=i;return u.length>0&&l.push([...u[0]]),[...u,...l]}function wt(t,e){let r,n,o;return r=!0,n=re(["clipper","split_length"]),o=re(["clipper","dist_eps"])[0],bt(t,e,true,n,o)}function yt(t,e,r){return mt(t,e,!1,0,r)[1]}function kt(t){let e=0;for(let r=0;r<re(["clipper","shape"])[0];r++)e+=t[r].reduce(((t,e)=>t+e),0);return e}function xt(t,e){let r,n,o;r=[],n=re(["clipper","blob_c"]),o=re(["clipper","max_line_gap"]);for(let i=0;i<t.length;i++){let u=ct(t[i]),l=null;for(let t=0;t<u.length;t++){let[i,s]=u[t];if(!Ft(e,s,i,n)){if(null===l)r.push([[i,s]]);else{if(rt(l,[i,s]))continue;I(l,[i,s])>o?r.push([[i,s]]):r[r.length-1].push([i,s])}let t=r[r.length-1];l=t[t.length-1]}}}return Et(r)}function vt(t,e){let r,n,o;r=[],n=re(["clipper","blob_c"]),o=re(["clipper","max_line_gap"]);for(let i=0;i<t.length;i++){let u=ct(t[i]),l=null;for(let t=0;t<u.length;t++){let[i,s]=u[t];if(Ft(e,s,i,n)){if(null===l)r.push([[i,s]]);else{if(rt(l,[i,s]))continue;I(l,[i,s])>o?r.push([[i,s]]):r[r.length-1].push([i,s])}let t=r[r.length-1];l=t[t.length-1]}}}return Et(r)}function Et(t){let e=[];return t.forEach((function(t){le
**Drifting Dreams** is a generative art system that captures bittersweet moments along journeys to dreams. You can feel the river rushing, the wind screaming, and thunder lighting up the sky: the storm is about to take over. But if you look closer, it is also a wonderland filled with dazzling rainbows, comforting warmth, and hope. It is a journey worth remembering.
r[n]],e[n])}function Yn(){let t,n,e,o,c,l;t=r(Object.keys(Xn(["L","m"]))),Qn(["b","m"],t),n=r(Object.keys(Xn(["L","s"]))),e=r(Object.keys(Xn(["s","c"]))),jn(),oe({sk:n,c:e},["o","s"]),o=Xn(["w"]),c=Xn("h"),l=H(0,0,o,c,2,2),l.push(H(0,0,o,c,1,1)[0]),Qn(["o","g","fc"],r(l)),_n(),$n(),Un(),In(),wn()}let Gn=1400,Vn=1e3;function Wn(t,n){let e=n;if("string"==typeof t)return n[t];for(let o=0;o<t.length;o++)try{e=e[t[o]]}catch(r){return}return e}function Xn(t){return Wn(t,window.SETTING)}function zn(t,n,e){let r=n;for(let o=0;o<t.length-1;o++)r=r[t[o]];r[t[t.length-1]]=e}function Qn(t,n){return zn(t,window.SETTING,n)}function Jn(t){return c(Xn(t))}function Kn(t){return r(Xn(t))}function Zn(t){return void 0!==Wn(t,Xn(["m",Xn(["b","m"])]))?Wn(t,Xn(["m",Xn(["b","m"])])):Wn(t,Xn(["d"]))}function te(t){return c(Zn(t))}function ne(t){return r(Zn(t))}function ee(t){let n=t.pop(),e=Xn(t);return e[n]+=1,e[n]}function re(){return Xn(["l","c"])[Xn(["o","s","ccs"])].p}function oe(t,n){Object.keys(t).forEach((e=>Qn([...n,e],t[e])))}window.SETTING={w:Gn,h:Vn,r:{},R:{r:2,e:null,gl:null,vs:null,fs:null,p:null,d:6},b:{m:null,t:6},H:{c:null},c:{g:0,b:1,s:[Vn,Gn],d:[1,5],S:10,m:5},g:{u:10,w:null,h:null},T:{a:.75,c0:.2,c1:[.65,.95],c2:[.55,.85],c3:[-180,180],c4:[.5,1],b0:[1.65,2.45],b1:[.055,.085],b2:.65,b3:[400,1e3],b4:[-.1,.1],b5:[1,3],c:[-50,50],d0:[.01,.08,.08],d1:20,d2:[.1,.5],g:[-2,2],l:{b:[[.45,.65],.85,[.8,.95],[.85,.95]],s:[[.3,.45],.75,[.65,.85],[.75,.85]],g:[[.25,.45],.75,[.45,.65],[.55,.85]],o:[[.8,.95],.95,[.25,.35],[.75,.85]]},L:[3,4,2,1],m0:Gn*Vn*.45,m1:200,m2:5,o0:[3,9],o1:.15,o2:[.65,1.35],o3:[.03,1],o4:[.2,1],o5:.25,p:[.05,.25],P:[.1,.35],r:[-.008,.008],R:[-.01,.01],s0:[2,6],s1:[.55,1],s2:[.95,.98],s3:[10,65],t0:[1,6],t1:[.75,1.25],t2:[.9,1],v:[.1,.25],w0:.45,w1:.2,w2:[.02,.16]},C:{c:["c","h","v"],hv:[-.01,.01],sv:[-.01,.01],lv:[-.01,.01],ts:[.1,.6],tl:[.1,.3],th:[.01,.08]},d:{b:{m:["SRC_ALPHA","ONE_MINUS_SRC_ALPHA","ONE","ONE_MINUS_SRC_ALPHA"]},c:{c:[90,110],p0:[.4,.9],segPercRange:[.25,.4]},s:{d:.001,i0:[15,30],i1:[300,600],i2:[10,20],l0:[.01,.05],l1:.15,l2:[5,15],l3:[0,8],l4:.15,m0:50,m1:200,m2:.4,m3:600,m4:10,r:[.7,4.25],R:[-Math.PI,Math.PI],s0:[3,5],s1:[20,50],s2:[0,0],u:.05}},m:{NC:{s:{L:[25,50],pr:[Math.PI/12,Math.PI/5],pc:[.5,.75],l2:[10,25],l3:[0,5],l0:[.5,2.5],s2:[0,.0015],s1:[35,100]},S:[t=>t%3==0?4:50,()=>50]},SR:{c:{c:[120,140],rd:[50,90],ra:[.75,1.25],p0:[1.5,1.85],d:[.85,1.25]},s:{L:[20,35],pr:[Math.PI/10,Math.PI/3],pc:[.55,.85],l2:[.1,.3],m4:100,l3:[0,0],s1:[50,120],l0:[1,4]}},MT:{c:{c:[95,130],p0:[1.5,2.5]},s:{L:[35,65],pr:[Math.PI/10,Math.PI/3],pc:[.35,.55],m4:100,l0:[.3,1.5],s1:[25,80],di:[.36,1],ri:[5,15],l3:[0,5],s0:1,s2:[0,0],m3:250}},CW:{c:{sa:[100,160],sd:[1.1,1.5]},s:{L:[25,80],pr:[Math.PI/10,Math.PI/3],pc:[.55,.95],m4:200,l0:[.5,2.5],s1:[25,120],l3:[0,0],s0:1,s2:[0,0]}},QN:{c:{c:[35,60],p0:[.5,.8],ld:[60,150]},s:{L:[25,55],pr:[Math.PI/10,Math.PI/6],pc:[.4,.85],m4:200,l0:[1,5],s1:[25,120],l3:[0,6],l2:[5,20],s0:1,pf:[.8,1.4]}},SY:{c:{ld:[55,120],c:[60,120],p0:[.8,1.5]},s:{L:[20,35],pr:[Math.PI/10,Math.PI/6],pc:[.4,.55],m4:200,l0:[1,5],s1:[25,120],l3:[0,5],pi:[.05,.2],li:[.15,.35],s0:.5,m3:250,s2:[.15,.35]}},FC:{c:{c:[100,185],p0:[.8,1.25],ld:[60,200]},s:{L:[20,45],pr:[Math.PI/10,Math.PI/6],pc:[.4,.65],m4:200,l0:[1,6],s1:[100,180],l3:[0,0],s0:1,m3:250}},LD:{c:{c:[60,120],ep:[.05,.15],p0:[.25,.35]},s:{L:[150,350],pr:[Math.PI/6,Math.PI/3],pc:[.25,.65],m4:200,l0:[.5,3],s1:[25,85],l3:[0,0],pi:[.05,.15],li:[.15,.25],s0:.5,m3:250,s2:[.15,.35],i2:[10,20]}},DW:{c:{c:[60,90],ep:[.85,.95],p0:[.25,.75]},s:{L:[50,80],pr:[Math.PI/6,Math.PI/3],pc:[.25,.65],m4:200,l0:[.5,3],s1:[25,85],l3:[0,0],s0:.5,m3:350,s2:[.15,.35],i2:[10,20]}},BE:{c:{c:[85,90],ep:[.25,.55],p0:[1.55,1.75]},s:{L:[20,80],pr:[Math.PI/6,Math.PI/3],pc:[.25,.65],m4:200,l0:[.5,4],s1:[25,85],rd:[5,25],dp:[.5,1],l3:[0,2],s0:.5,m3:350,s2:[.15,.35],i2:[10,20]}}},D:{v:{lc:[30,45],up:[.15,.25],rd:[0,Math.PI/2],pr:1,rp:[[0,Math.PI/2,Math.PI/4],[Math.PI/4,3*Math.PI/4],[3*Math.PI/8,7*Math.PI/8]]},o:{lc:[15,50],rd:[-Math.PI/2,Math.PI/2],mg:80,sf:[1,2.5],db:.2,k:.75},p:{lc:[40,80],rd:[-Math.PI/2,Math.PI/2],mg:25,sf:[1,4],db:.2,k:.9,sp:[0,.8],kl:[.2,.5]},sq:{gp:[.1,.35],i0:[.1,.15],cr:.5,r:[.1,.25]},P:{gp:[.1,.25],i0:[.1,.15],cr:.5,sc:[3,12],nr:.01,RA:[Math.PI/8,Math.PI/6],n:[-.2,.2],rotation:[-Math.PI,Math.PI]},sl:{lc:[20,40],rd:[0,Math.PI/2],c:[45,90],c4:[.8,1.5],d:[100,200],pr:.75,rp:[[0,Math.PI/2,Math.PI/4],[Math.PI/4,3*Math.PI/4],[3*Math.PI/8,7*Math.PI/8]]},r:{lc:[5,15],r:[-Math.PI,Math.PI]},c:{gp:[.1,.35],i0:[.01,.05],cr:.15,s:[25,60],i:[0,15]}},s:{p:[[.7,0,6,.05],[1/8,1,-1,.05],[1.5,1.25,-2,-.25],[3/7,1,-2,0],[.8,-.25,3,.25],[1,-.5,3,.05]],c:{a:["ffee7c","c5d7f7","4eacff","e9b334","3c71c1","004eb5"],b0:["F9ECFF","c9bad0","E6CDF5","8dddd7","5ac290","10ac80"],b1:["f2f0e6","d7f7ee","a6e9ff","ffd36b","b0cfd1","62b5fc"],c0:["ffffff","dddef1","ffcfb1","f5a874","bba9e6","5f6cfc"],c1:["ebdad8","d1bcbc","9d7b7b","d54545","391313","180404"],c2:["FFFFFF","dae4f7","b9d2fa","fc626a","EE3E64","f16e84"],d:["f0e7da","d6ccc0","9aa3ab","6e6e85","ffc14d","3d3445"],e:["2866ad","0e4980","0d2763","041238","07162e","020b26"],E:["fdfffc","ff9f1c","96e2d9","2ec4b6","3c6759","011627"],f:["ffffff","D9CDF8","C7CDFF","5ea0f7","044cbf","163078"],F:["2890ad","0e7080","0d5163","043138","021826","07272e"],j:["fcf7ff","f7d7f5","DAA4DF","6F60B8","3A4BBB","62587d"],J:["DFFAFF","FF978D","4fe2ff","33cae8","3c97c2","007cb5"],k:["daf3e2","C4BDAE","9fa9a2","697a72","ffb300","34453b"],l:["b2d2f7","7e83c1","959fe1","ffa85c","ec7351","1d309f"],L:["fffffb","fffadb","baf0ff","ffcc3f","ffa630","ff9100"],m0:["fafaff","e1efff","e0e3e9","f7e27a","6793f1","0f1744"],m1:["f2e5da","afbfc4","9ea3a8","696f7a","ff7f29","343b45"],m2:["FFFFFF","e1d7f7","F7C6FC","A9A1CE","b1b0d1","7c62fc"],n:["e9d5ff","cdcaff","b894ce","7a8bba","341734","536b8a"],N:["fff6d7","fad873","ffc94b","a9a69e","201e1a","000000"],p:["ffffff","fff2ed","9bd1e2","2aa0c7","f58287","32aebb"],P:["fef8ff","FFCBF4","afafff","8d85fc","7e75df","ff63a7"],r0:["ffffff","ebedf1","cbced8","d8e3f5","f7efc0","b8deff"],r1:["fff9ed","FFD500","9fb4c7","7db097","5a7e9a","28587b"],r2:["fff5f2","e1cfcf","ab9b99","787c85","fc6262","343344"],s0:["FFFFFF","FFE3A0","86AAFF","f7bc1a","baaba0","f0a61d"],s1:["FFF2D1","CCCAEC","77c9ff","1ab9e6","537ab5","3c5a8e"],s2:["edf7e4","FD785A","96e3b5","2dc4a4","3b6646","012604"],s3:["d1d1d1","a2a2a2","7d7d7d","da0847","454545","232323"],s4:["ffe3d6","fa7373","ff4a4a","a89d9d","211b1b","000000"],s5:["fbfeff","d1ffff","b5ffe1","ebbab9","92a0a8","388697"],t:["fcf8f2","D5C3D2","B5BFB6","4f7876","295743","061c0f"],u:["898989","5a5a5a","4c4c4c","2f2f2f","191919","000000"],v:["ad2828","800e0e","630d0d","380404","2e0707","260202"],w:["28ad74","0e7a80","165959","043824","07222e","113301"]}},l:{s:null,c:{c:{s:{max:((Gn/2.5)**2+(Vn/2.5)**2)**.5,min:0},p:(t,n)=>I(R(A(t)),n)},h:{s:{max:Vn,min:0},p:t=>t[0][1]},v:{s:{max:Gn,min:0},p:t=>t[0][0]}},dd:(t,n)=>I(R(A(t)),n)},L:{m:{NC:Zt,SR:tn,MT:nn,CW:en,QN:rn,SY:cn,FC:on,LD:ln,DW:fn,BE:un},s:{b:pn,c:sn,e:dn,p:Kt,r:Qt,R:Jt,s:mn,m:hn}},o:{C:{t:null,h:[],r:[],o:null,b:null,B:[]},g:{},c:{b:[],c:[],t:[],w:[],p:[]},s:{}}},u(tokenData),M();let ce=Xn(["H","c"]).getContext("webgl");if(oe({e:null!==ce,gl:ce},["R"]),null===ce){let t=document.createElement("h1");t.innerText="Please switch to a WebGL-enabled browser.",document.body.appendChild(t)}else{document.addEventListener("DOMContentLoaded",(function(){Yn()}));let t=function(){b(),m(),setTimeout(requestAnimationFrame(le))};function le(){Xn(["R","e"])&&Mn()}window.addEventListener("resize",t),screen.orientation.addEventListener("change",t)}
et n=j(f[0],f[1],a,120);n.push([...n[0]]),u.push(n),a+=Jn(["D","c","gp"])*r,t.push(n)}for(let n=0;n<u.length-1;n++){h=u[n],s=u[n+1],p=Math.floor(Jn(["D","c","s"]));let e=Math.floor(Jn(["D","c","i"]));for(let n=0;n<p;n++){let n=Math.floor(c([0,120]));t.push([h[n].concat([]),s[(n+e)%120].concat([])])}}return u}function pn(t){let e,r,o,c,l,f,i,u,a,h,s,p;[e,r,o,c]=an(),f=-o*r,l=r*(1+2*o),i=Jn(["D","sl","c"]),u=Jn(["D","sl","c4"]),a=n()<Xn(["D","v","pr"])?Kn(["D","sl","rp"]):a=[Kn(["D","sl","rd"])],h=Math.floor(a.length>1?Jn(["D","sl","lc"])/2:Jn(["D","sl","lc"])),s=[],p=[t,s];for(let n=0;n<a.length;n++){let t=a[n],o=0;for(let n=0;n<h;n++){o+=Jn(["D","sl","d"]);let n=S([[o,f],[o,l]],[i,-i,u,u]);0!==t&&(n=w([e/2,r/2],n,t)),Xt(p,n)}}return s}function dn(t,e){let r,o,c,l,f,i,u,a,h,s,p,d,m,g;for([r,o,c,l]=an(),n()<Xn(["D","P","cr"])&&(l=e.concat([])),f=[],u=[],a=Jn(["D","P","i0"])*r,p=Math.floor(Jn(["D","P","sc"])),s=n()<Xn(["D","P","nr"]),i=[t,u],m=Jn(["D","P","rotation"]);a<r*(c+1);){if(h=j(l[0],l[1],a,p),m+=Jn(["D","P","RA"]),h=w(l,h,m),s)for(let t=0;t<h.length;t++)d=h[t],d[0]+=Jn(["D","P","n"])*r,d[1]+=Jn(["D","P","n"])*o;0===f.length&&h.forEach((t=>Xt(i,[[...l],[...t]]))),f.push(h),Xt(i,h),f.length>1&&(g=f[f.length-2],g.forEach(((t,n)=>Xt(i,[g[n],h[n]].map((t=>[...t])))))),a+=Jn(["D","P","gp"])*r}return u}function mn(t,n){let e,r,o,l,f,i,u,a,s,p,d,m;[e,r,o,l]=an(),f=(2+2*o)*e,i=Math.floor(Jn(["D","r","lc"])),u=Math.PI/i/2,a=[[n[0],c([r*(1+o),r*(1+2*o)])],[e-n[0],c([-r*(1+2*o),-r*(1+o)])]],s=[],m=[t,s],p=[-1,1],d=Jn(["D","r","r"]);for(let c=0;c<2;c++){let t,n,e;t=[...a[c]],n=p[c],e=w(l,[t,[t[0],t[1]+n*f]],d),Xt(m,e),h(i+1).forEach((t=>[w(e[0],e,n*u*(t+1)),w(e[0],e,-n*u*t)].forEach((t=>Xt(m,t)))))}return s}function gn(){let t,n,e,r;t=Xn(["R","gl"]),n=Xn(["R","p"]),t.useProgram(n.program),t.clearColor(...Xn(["o","C","b"])),t.clearDepth(1),t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT),e=[-1,-1,1,-1,1,1,-1,1],r=st(t,e,Xn(["o","C","B"])),pt(r,t,n),mt(r,e.length/2,t)}function bn(t,n){let e,r,o;e=Xn(["R","gl"]),r=Xn(["R","p"]),o=st(e,t.positions,t.colors),pt(o,e,r),dt(o,e),e.drawArrays(e[n],0,t.positions.length/2)}function Mn(){gn(),bn(Xn(["o","c","bs"]),"TRIANGLES"),Xn(["o","s","w1"])&&bn(Xn(["o","c","wo"]),"TRIANGLES"),bn(Xn(["o","c","dg"]),"TRIANGLES");let t=Xn(["o","c","tg"]);bn(t.pts,"POINTS"),bn(t.triangles,"TRIANGLES")}function Pn(){let t=Xn(["R","gl"]);t.enable(t.BLEND);let[n,e,r,o]=Xn(["d","b","m"]);t.blendFuncSeparate(t[n],t[e],t[r],t[o])}function wn(){lt(),ut(),it(),Xn(["o","s","w1"])&&ft(),nt(),requestAnimationFrame(le)}function En(t,r,o){let c,l,f,i,u,a,h,s;c=Xn(["o","c","t"]),l=Xn(["o","C","fr"]),f=Xn(["c","b"]),i=Xn(["o","c","bb"]),u=t=>jt(o,t[1],t[0],f)&&!jt(i,t[1],t[0],f),a=(t,n)=>I(t,n)>Xn(["c","m"]),[h,s]=Ut(r,u,a),l.push(t);for(let p=0;p<s.length;p++){let t=n()<Jn(["T","P"]);c.push({path:t?e(s[p],Math.floor(s[p].length*Jn(["T","p"]))):s[p],color_idx:l.length-1,pt_mode:t,gap:Jn(["T","t1"])})}}function Tn(t){let n=v(t);return Math.max(2,Math.min(20,n[2]*n[3]/Jn(["T","b3"])))}function Fn(t,e,r,o,c,l,f,i,u,a,h,s){let p,d,m,g,b;g=Xn(["c","b"]),b=Xn(["c","g"]),Xn(["o","s","cm"])&&a&&(i=Xn(["o","C","o"])),Xn(["o","s","ol"])&&e===Xn(["o","s","or"])&&((i=Xn(["o","C","b"]).map((t=>1-t)))[3]=Jn(["T","o3"])),Ht(h,t,g);for(let M=0;M<f;M++){let t,e,c,f,a;[t,e,c]=r[M],f=S(t,l),a=Math.max(e/u,o);for(let r=0;r<e/a;r++)m=r*a,n()<Jn(["T","v"])&&(m+=Jn(["T","g"])),p=1===c?0:m,d=1===c?m:0,i[3]=s?i[3]*Jn(["T","td"]):i[3],En(J(i,"r","o3"),It(bt([t[1],t[0],...C(f,p,d)])),h)}Ht(h,t,b)}function xn(t){let n,e,r,o;e=Xn(["c","s"]),r=Xn(["T","d1"]),o=e.map((t=>Math.ceil(Math.ceil(t/Xn(["T","d1"]))))),n=h(o[1]).map((()=>h(o[0]).map((()=>0))));for(let c=0;c<t.length;c++)for(let e=0;e<t[c].length;e++){let o=t[c][e].map((t=>Math.floor(t/r)));n[o[1]][o[0]]+=1}return n}function Cn(t){let n,e,r=0;for(let c=0;c<t.length;c++)for(let o=0;o<t[0].length;o++)t[c][o]>r&&(r=t[c][o],n=c,e=o);let o=Xn(["T","d1"]);return[e,n].map((t=>t*o+o/2))}function Dn(t){let e,r,o,c,l,f,i,u,a,h;e=xn(t),r=Cn(e),o=Xn(["l","dd"]),c=t.map((t=>Xn(["l","s"])(o(t,r)))),l={max:Math.max(...c),min:Math.min(...c)},f=Jn(["T","mp"])*(l.max-l.min)+l.min,i=Xn(["T","dr"]),u=Xn(["o","C","fr"]),a=[],h=[];for(let s=0;s<t.length;s++)c[s]>f&&n()<i?(u.push(K(Xn(["o","C","bh"]))),a.push([s,u.length]),h.push(!0)):h.push(!1);return oe({bdi:a,bid:h},["o","c"]),r}function In(){let t,e,r,o,c,l,f,i,u,a,h,s;t=Xn(["T","m2"]),e=Xn(["o","c","rr"]),r=Xn(["o","c","bd"]),o=Xn(["o","c","b"]),c=re(),l=Xn(["o","g","fc"]),f=Xn(["o","s","c1"]),i=Xn(["o","c","c"]),u=Xn(["T","m1"]),a=Tt(),h=Tt(),s=Xn(["o","c","bid"]),Ft(h,-1),Qn(["o","c","tb"],h);for(let p=0;p<e.length;p++){let h,d,m,g,b,M,P,w,E,T;h=e[p],h.length<u||(d=s[p],m=o[p],[g,b,M,P]=A(r[p]),n()>Jn(["T","t2"])||(w=[Jn(["T","c3"]),Jn(["T","c3"]),Jn(["T","c4"]),Jn(["T","c4"])],E=c(h,l),T=E>Jn(["T","c2"])&&n()>f,i.push(T),Fn(h,m,[[[[g,M],[b,M]],P-M,1],[[[g,M],[g,P]],b-M,0]],t,p,w,n()<Jn(["T","d2"])?2:1,[...z(X(tt(Xn(["o","C","h"])[m]))),Jn(["T","o3"])],Jn(["T","s3"]),T,a,d)))}}function An(t){let n,e,r,o,c,l,f,i,u;return e=Xn("w"),r=Xn("h"),n=Nt(t)/(r*e),Math.abs(Xn(["o","bc"])-n)<.001?ee(["o","bcr"]):Qn(["o","bcr"],0),Qn(["o","bc"],n),Xn(["o","bcr"])>Zn(["s","m1"])||(o=Zn(["s","l4"]),[c,l,f,i]=Xn(["o","c","bx"]),u=10,c<=10&&f<=10&&Math.abs(l-e)<10||l>=e*(1+o)&&Math.abs(i-r)<10||i>=r*(1+o)&&n>=Xn(["d","s","m2"])||n>.95)}function Rn(t){let[n,e,r,o]=Xn(["o","c","bx"]),[c,l,f,i]=t;return n===c&&e===l&&r===f&&o===i}function vn(t,n,e){let r,o,l;return l=c(t),r=te(["s","R"]),o=bt(j(e[0],e[1],l,n)),[w(e,o,r),[r,l]]}function Ln(t,n){let e,r,o,l,f,i,u;return[e,r,e,o]=Xn(["o","c","bx"]),l=Xn(["o","g","pl"]),l[1]=P(t,l[1],te(["s","pr"])),f=E(...l,I(t,[r,o])*te(["s","pc"])/Xn(["o","g","pld"])),i=w(f,l,Math.PI/2),u=c(n)/2,bt(i.map((t=>T(f,t,u))))}function Bn(t,n,e,r,o,c,l,f){let i,u,a,h,s,p,d,m,g,b;if(i=Xn(["o","c","bb"]),[u,a]=Ln(f,t),[h,s]=r(t,u,a,o,l,f),p=[],!B(h)){p.push(h);for(let n=0;n<e;n++){let[n,e]=c(t,u,a,o,l,f,s);if(s=e,B(n))break;p.push(n)}d=Xn(["c","b"]),m=Zn(["s","m3"]),g=Zn(["s","m4"]);for(let t=0;t<p.length;t++){let e=bt(p[t]);if(y(e)<m)continue;if(e.push(e[0].slice()),Gt(e)){n.push(e),Rt(e,i,d);continue}let r=Ot([e],i);for(let t=0;t<r.length;t++){let e=r[t];e.length>3&&F(e)>g&&(n.push(e),Rt(e,i,Xn(["c","b"])))}}b=xt(i),Rn(b)&&ee(["o","c","br"]),Qn(["o","c","bx"],b)}}function yn(){let t,e;return e=Zn(["s","s1"]).concat([]),n()<te(["s","u"])?t=[0,0]:(t=[...Zn(["s","l0"])],n()<te(["s","d"])&&(t[0]*=-1,t[1]*=-1,t[1]/=2,t.sort())),[e,t]}function Sn(t,n,e,r,o){let l,f,i,u,a,h,s;[l,f]=yn(),i=bt(n(t,Zn(["s","i0"]),r)),u=[i],a=Tt(),Rt(i,a,Xn(["c","b"])),Qn(["o","c","bb"],a),h=A(i),Qn(["o","c","bx"],h),Qn(["o","c","br"],0),Qn(["o","c","pc"],Tt()),s=te(["s","i1"]),Xn(["o","s","li"])&&(s=te(["s","L"])),Qn(["o","g","pl"],[t.slice(),[t[0]+Xn("w"),t[1]+Xn("h")]]),Qn(["o","g","pld"],I(...Xn(["o","g","pl"]))),r.push(0);for(let p=0;p<s;p++)if(Bn(l,u,te(["s","l3"]),e,r,o,p,t),l.forEach(((t,n)=>l[n]+=c(f))),An(a))return u;return u}function _n(){let t,n,e,r,c;t=Xn("w"),n=Xn("h"),Qn(["o","C","t"],o(Xn(["s","c"])[Xn(["o","s","c"])])),Q(),Qn(["o","g","max_len"],Math.sqrt(t**2+n**2)),Qn(["o","g","rect"],bt($(0,0,t,n))),e=Xn(["d","s","l4"]),r=bt($(-e*t,-e*n,t*(1+2*e),n*(1+2*e))),Qn(["o","g","lr"],r),c=Kn(["C","c"]),Qn(["o","s","ccs"],c),Qn(["l","s"],(function(t){return l(t,Xn(["l","c"])[c].s,{max:1,min:0})})),Qn(["o","bc"],0),Qn(["o","bcr"],0)}function Nn(t,e){let r,o,c;r=Xn(["o","C","fr"]),o=Xn(["o","c","b"]),c=Xn(["o","c","p"]);for(let l=0;l<t.length;l++){let f,i,u,a,h,s,p,d;if(f=G(Xn(["l","c"])[Xn(["o","s","ccs"])].p(t[l],e)),o[l]=f,i=f+1,u=J(r[i],"r","o3"),r.push(u),a={path:t[l],bf:r.length-1,ao:n()<Xn(["T","a"]),ol:Xn(["o","s","ol"])&&f===Xn(["o","s","or"]),gap:Jn(["T","o2"])},n()<Xn(["T","o5"])){let t=[...Xn(["o","C","o"])];t[3]=Jn(["T","o4"]),r.push(t),a.oc=r.length-1}else{let t=J(r[i],"b4","b1");t[3]=Jn(["T","s1"]),r.push(t),a.oc=r.length-1}h=0,n()<Xn(["T","b2"])&&(h=Tn(t[l])),s=t[l],p=u,d=0;for(let n=0;n<h;n++){s=_t(Ct(k(s,Jn(["T","s2"]))),Jn(["T","s0"]),0),p=J(r[i],"b4","b1"),r.push(p),d+=p[3],s?c.push({path:s,bf:r.length-1,ao:!1,ol:!1}):s=t[l]}u[3]=Math.min(Math.abs((1-d)*Jn(["T","b0"])),1),c.push(a)}Qn(["o","c","p"],c)}function On(t,n,e,r){let o=Jn(["T","b5"]);for(let c=0;c<o;c++){[[t+c,n],[t-c,n],[t,n+c],[t,n-c],[t+c,n-c],[t+c,n+c],[t-c,n+c],[t-c,n-c]].forEach((t=>gt(...t,e,r)))}}function kn(t){let n=Tt();Qn(["o","c","bb"],n);let e=Xn(["c","b"]);for(let r=0;r<t.length;r++)for(let o=0;o<t[r].length;o++){let[c,l]=t[r][o];On(l,c,e,n)}}function Hn(t,n){if(Xn(["o","s","w1"])){let r,o,c,l,f,i,u,a,s;r=$t(t),[o,c]=Yt(r),l=o.map((t=>Xn(["l","s"])(Xn(["l","dd"])(t,n)))),f={max:Math.max(...l),min:Math.min(...l)},i=Xn(["T","w0"])*(f.max-f.min)+f.min,u=e(h(o.length),Math.floor(Xn(["o","s","w2"])*o.length)),a=[],s=0;for(let t=0;t<u.length;t++){let n=u[t];l[n]<i||(s+=y(o[n]),s<=Xn(["T","m0"])&&a.push(o[n]))}Qn(["o","c","w"],a)}}function Un(){let t,n,e,r,o,c,l,f,i,u,a,h;t=Xn(["o","g","fc"]),n=Xn(["L","m"])[Xn(["b","m"])](t),e=n.length,r=Xn(["L","s"])[Xn(["o","s","sk"])],o=r(n,t),f=o.map((n=>Xn(["l","s"])(re()(n,t)))),i={max:Math.max(...f),min:Math.min(...f)},[l,c]=qn(n,t,e,i),[u,a]=Yt($t(l)),oe({bd:u,rr:a},["o","c"]),kn(u),Nn(u,t),h=Dn(u),Hn(c,h)}function $n(){let t,e,r,o,l,f,i,u,a,h;t=[...Xn(["o","C","h"])],t.sort(((t,n)=>n[2]-t[2])),e=t[Math.floor(c([1,3]))],r=e.map((t=>1-t)),o=Y(r),l=Y(e),f=Xn(["o","C","B"]),i=[...l],u=Math.floor(c([0,4])),a=n()>.5?-1:1;for(let n=0;n<4;n++){f[(n+u)%4]=[...i];for(let t=0;t<3;t++)i[t]=Math.max(0,Math.min(i[t]+a*Jn(["T","R"]),1))}h=[i,...Xn(["o","C","r"]),o],oe({o:o,bh:e,fr:h,b:l},["o","C"])}function qn(t,n,e,r){let o,c,l,i,u;o=[],c=Zn(["s","r"]),l=c[0],u=[];for(let a=0;a<t.length;a++){let h=t[a];if(h.length<2)continue;i=a<e?l:f(Xn(["l","s"])(re()(h,n)),r,{min:c[0],max:c[1]});let s=bt(St(h,i,!0));s.length>4&&(o.push(s),a>=e&&u.push(s))}return[o,u]}function jn(){let t={li:n()<Xn(["d","s","l1"]),cm:n()<Xn(["T","c0"]),ol:n()<Xn(["T","o1"]),w1:n()<Xn(["T","w1"]),dm:i(Object.keys(Xn(["T","l"])),Xn(["T","L"])),w2:Jn(["T","w2"]),c1:Jn(["T","c1"]),or:Math.floor(c([0,Xn(["b","t"])]))};oe(t,["o","s"]);let e=Xn(["T","l"])[t.dm],r=["mp","dr","do","td"];for(let n=0;n<r.length;n++)Qn(["T",
ion mt(t,n,e){dt(t,e),e.drawArrays(e.POINTS,0,n)}function gt(t,n,e,r){Mt(t,n)&&(r[t][n]=e)}function bt(t){return t.forEach((t=>t.forEach(((n,e)=>t[e]=Math.floor(t[e]))))),t}function Mt(t,n){let[e,r]=Xn(["c","s"]),o=Number.isInteger(t)?t:Math.floor(t),c=Number.isInteger(n)?t:Math.floor(n);return o>=0&&o<e&&c>=0&&c<r}function Pt(t,n,e){let r,o,c,l,f,i;return[r,o]=t,[c,l]=n,[f,i]=e,r*(l-i)+c*(i-o)+f*(o-l)==0}function wt(t,n){return I(t,n)<Xn(["c","d"])[0]}function Et(t,n){return I(t,n)>Xn(["c","d"])[1]}function Tt(){let t=Xn(["c","s"]);return h(t[1]).map((()=>h(t[0]).map((()=>Xn(["c","g"])))))}function Ft(t,n){let e=Xn(["c","s"]);for(let r=0;r<e[0];r++)for(let o=0;o<e[1];o++)t[r][o]=n}function xt(t){let n,e,r=1/0,o=-1/0,c=Xn(["c","b"]);for(let l=0;l<t.length;l++){let f=t[l].indexOf(c);if(-1===f)continue;let i=t[l].lastIndexOf(c);n=n<f?n:f,r=r<l?r:l,e=e>i?e:i,o=o>l?o:l}return[n,e,r,o]}function Ct(t){if(t.length<=3)return t;let n,e,r,o;o=[],o.push(t[0]);for(let c=1;c<t.length;c++)n=o[o.length-1],e=t[c],wt(n,e)||(o.length<2||(r=o[o.length-2],Pt(r,n,e)&&o.pop()),o.push(e));return o.length>1&&Et(o[0],o[1])&&o.shift(),o}function Dt(t){let n,e,r,o,c,l,f,i,u,a,h,s,p,d,m,g,b,M,P,w;[n,e]=t,[r,o]=n,[c,l]=e,i=o,u=r,a=Math.abs(l-o),h=Math.abs(c-r),m=Math.max(a,h)+1,p=Array(m).fill(null),s=Array(m).fill(null),g=c-u>0?1:-1,b=l-i>0?1:-1,f=a>h?1:0,a>h&&([u,i]=[i,u],[h,a]=[a,h],[g,b]=[b,g]),d=2*a-h;for(let E=0;E<h;E++){for(p[E]=f?u:i,s[E]=f?i:u;d>=0;)i+=b,d-=2*h;u+=g,d+=2*a}p[h]=l,s[h]=c,M=[];for(let E=0;E<s.length;E++)P=Math.floor(s[E]),w=Math.floor(p[E]),Mt(w,P)&&M.push([P,w]);return M}function It(t){let n,e,r;r=[];for(let o=1;o<t.length;o++)n=[t[o-1],t[o]],e=Dt(n),e.forEach(((t,n)=>r.push(e[n])));return r}function At(t){let n,e,r,o;[n,n,e,r]=A(t).map((t=>Math.floor(t))),r<Xn(["c","s"])[0]&&(r+=1),o=[];for(let c=e;c<r;c++){let n,e,r,l,f,i;n=[],e=-1;for(let o=0;o<t.length;o++){let r,l,f,i,u,a;[f,i]=t[o],[u,a]=0===o?t[t.length-1]:t[e],r=i<c&&a>=c,l=a<c&&i>=c,(r||l)&&n.push(a-i?f+(c-i)/(a-i)*(u-f):f),e=o}n.sort(((t,n)=>t-n)),r=[],l=[],n.forEach(((t,n)=>n%2==0?r.push(t):l.push(t)));for(let t=0;t<Math.min(r.length,l.length);t++){f=Math.floor(r[t]),i=Math.floor(l[t]);for(let t=f;t<i+1;t++)Mt(c,t)&&o.push([t,c])}}return o}function Rt(t,n,e){if(t.length<3)return[];let r=At(t);return r.forEach((t=>n[t[1]][t[0]]=e)),r}function vt(t,n,e,r,o,c){if(!jt(t,r,o,e))return;if(window.EXTRACT_COUNTER+=1,window.EXTRACT_COUNTER>2e3)return;t[r][o]=n,c.push([o,r]);let l=[[r,o+1],[r+1,o+1],[r+1,o],[r+1,o-1],[r,o-1],[r-1,o-1],[r-1,o],[r-1,o+1]];for(let f=0;f<l.length;f++){let[r,o]=l[f];if(jt(t,r,o,e))return vt(t,n,e,r,o,c)}}function Lt(t,n,e){let r=[],[o,c]=Xn(["c","s"]);for(let l=0;l<o;l++)for(let o=0;o<c;o++)if(jt(t,l,o,e)){let c=[];window.EXTRACT_COUNTER=0,vt(t,n,e,l,o,c),Ct(c).length>3&&r.push(c)}return r}function Bt(t,n,e,r,o,l,f,i,u){if(I(t,n)<i)return!1;u&&(r=c([r,r*u]));let a=T(t,n,r),h=P(e,a,o),s=P(e,a,-o);return l.push(h),f.push(s),!0}function yt(t,n,e,r,o,c){if(t.length<2)return[];let l,f,i,u,a,h,s,p,d,m,g,b,M;if(r=r||Xn(["c","S"]),o=void 0!==o?o:Xn(["c","d"])[0],l=e?N(t,r):t,l.length<2)return[];for(f=[],i=[],u=.5*Math.PI,a=l[0],h=l[1],Bt(h,a,a,I(a,h)+n,-u,f,i,o,c),s=0,p=1,d=-1;p<l.length-1;){if(a=l[s],h=l[p],p+=1,I(a,h)<o)continue;m=E(a,h,.5),Bt(m,a,m,n,-1*u,f,i,o,c)&&(s=p-1)}return M=l.length,g=l[M-2],b=l[M-1],Bt(g,b,b,I(b,g)+n,u,f,i,o,c),i.reverse(),[f,i]}function St(t,n,e,r,o){let c=yt(t,n,e,r,o);if(2!==c.length)return[];let[l,f]=c;return l.length>0&&f.push([...l[0]]),[...l,...f]}function _t(t,n,e){return yt(t,n,!1,0,e)[1]}function Nt(t){let n=0;for(let e=0;e<Xn(["c","s"])[0];e++)n+=t[e].reduce(((t,n)=>t+n),0);return n}function Ot(t,n){let e,r,o;e=[],r=Xn(["c","b"]),o=Xn(["c","m"]);for(let c=0;c<t.length;c++){let l=It(t[c]),f=null;for(let t=0;t<l.length;t++){let[c,i]=l[t];if(!jt(n,i,c,r)){if(null===f)e.push([[c,i]]);else{if(wt(f,[c,i]))continue;I(f,[c,i])>o?e.push([[c,i]]):e[e.length-1].push([c,i])}let t=e[e.length-1];f=t[t.length-1]}}}return kt(e)}function kt(t){let n=[];return t.forEach((t=>n.push(Ct(t)))),n}function Ht(t,n,e){let r=0;for(let o=0;o<n.length;o++){let[c,l]=n[o];Mt(l,c)&&(t[l][c]=e,r+=1)}}function Ut(t,n,e){let r,o;r=[],o=null;for(let c=0;c<t.length;c++){let l=t[c];if(n(l)){null===o||e(o,l)?r.push([l]):r[r.length-1].push(l);let t=r[r.length-1];o=t[t.length-1]}}return[r,kt(r)]}function $t(t){let n=Tt();Ft(n,Xn(["c","b"]));let e=Xn(["c","g"]);return t.forEach((t=>At(t).forEach((t=>n[t[1]][t[0]]=e)))),n}function qt(t,n,e){let r=[],[o,c]=Xn(["c","s"]);for(let l=1;l<o-1;l++)for(let e=0;e<c;e++)[[l,e],[l-1,e],[l,e-1],[l+1,e],[l,e+1]].every((e=>jt(t,e[0],e[1],n)))&&r.push([l,e]);r.forEach((n=>t[n[0]][n[1]]=e));for(let l=0;l<r.length;l++){let[n,o]=r[l];t[n][o]=e}return r}function jt(t,n,e,r){return!!Mt(n,e)&&t[n][e]===r}function Yt(t){let n,e,r,o,c;n=Xn(["c","b"]),e=Xn(["c","g"]),qt(t,n,e),r=Lt(t,e,n),o=[],c=[];for(let l=0;l<r.length;l++){let t=r[l];bt(t);let n=At(t);n.length>Xn(["d","s","m0"])&&(o.push(t),c.push(n))}return[o,c]}function Gt(t){return L(A(t),Xn(["o","c","bx"]))}function Vt(t,n){return vn(n,28,t)[0]}function Wt(t){return vn(Zn(["s","i2"]),30,t)[0]}function Xt(t,n){t.forEach((t=>t.push(n)))}function zt(t,e,o,c){for(let l=0;l<t.length;l++){let f,i;i=r(t[l]).slice(),f=n()<Jn(["D","v","up"])?[i,[i[0],i[1]-e]]:[i,[i[0],i[1]+e]],f=0!==o?w(i,f,o):f,c.push(f)}}function Qt(t){let r,o,c;return r=(Xn("w")**2+Xn("h")**2)**.5,o=n()<Xn(["D","v","pr"])?Kn(["D","v","rp"]):[Kn(["D","v","rd"])],c=[],o.forEach((n=>zt(e(t,Math.floor(o.length>1?Jn(["D","v","lc"]):Jn(["D","v","lc"])/2)),r,n,c))),c.forEach((n=>t.push(n))),c}function Jt(t,e){let r,o,c,l,f,i,u,a,h,s;r=Xn("w"),o=Jn(["D","o","rd"]),c=[],l=Jn(["D","o","lc"]),f=[[e[0],e[1]-r],[e[0],e[1]+r]],f=w(e,f,o),i=Math.max(r/l*Jn(["D","o","sf"]),Xn(["D","o","mg"])),a=Math.cos(o)*i,u=Math.sin(o)*i,s=[t,c],Xt(s,f),h=n()<Xn(["D","o","db"]);for(let p=0;p<l/2;p++){if(n()>Xn(["D","o","k"]))continue;let t=[C(f,a*(p+1),u*(p+1)),C(f,-a*(p+1),-u*(p+1))];t.forEach((t=>Xt(s,t))),h&&t.forEach((t=>Xt(s,w(e,t,.5*Math.PI))))}return c}function Kt(t,e){let r,o,c,l,f,i,u,a,h,s,p;r=Xn("w"),o=Jn(["D","p","rd"]),c=[],l=Jn(["D","p","lc"]),f=[[e[0],e[1]-r],[e[0],e[1]+r]],f=w(e,f,o),i=Xn(["D","p","mg"]),u=Math.max(r/l*Jn(["D","p","sf"]),i),a=Math.cos(o)*u,h=Math.sin(o)*u,p=[t,c],Xt(p,f),s=Xn(["g","u"]);for(let d=0;d<l/2;d++){if(n()>Xn(["D","p","k"]))continue;let t=[_(C(f,a*(d+1),h*(d+1)),s),_(C(f,-a*(d+1),-h*(d+1)),s)];t.forEach((t=>Xt(p,O(t)))),t.forEach((t=>Xt(p,O(w(e,t,.5*Math.PI)))))}return c}function Zt(t){let n,e;return n=ne(["S"]),e=(t,e,r,o)=>vn(t,n(o),e),Sn(t,(function(t,e){return vn(e,n(0),t)[0]}),e,[],(function(t,e,r,o,c,l,f){let i,u,a;return[i,u]=f,u+=te(["s","l2"]),a=E(e,r,.5),[w(a,j(a[0],a[1],u,n(c)),i),[i,u]]}))}function tn(t){return Sn(t,Vt,(function(t,n,e){let r,o,c,l,f;return r=te(["c","c"]),o=te(["c","p0"]),c=[r,r*te(["c","ra"]),o*te(["c","d"]),o],l=S([n,e],c),[2,3].forEach((t=>c[t]*=te(["c","d"]))),f=S([e,n],c),f.reverse(),[[...l,...f]]}),[],(function(){}))}function nn(t){return Sn(t,Vt,(function(t,n,e,r,o,c){let l,f,i,u,h,s,p;return l=te(["c","c"]),f=E(n,e,.5),i=I(c,f),u=I(c,P(n,e,a(l))),l*=i>u?-1:1,h=te(["c","p0"]),s=[l,l,h,h],p=E(f,c,.25),[[p,...S([n,e],s),p],[l,h]]}),[],(function(t,n,e,r,o,c,l){let[f,i]=l;return i+=te(["s","di"]),f+=te(["s","ri"])*f/Math.abs(f),[S([n,e],[f,f,i,i]),[f,i]]}))}function en(t){return Sn(t,Vt,(function(t,n,e,r,o,c){let l,f;return l=E(E(n,e,.5),c,.5),f=[te(["c","sa"]),te(["c","sa"]),te(["c","sd"]),te(["c","sd"])],[[...S([l,n],f),...S([e,l],f)],[]]}),[],(function(){return[]}))}function rn(t){return Sn(t,Vt,(function(t,n,e,r,o,c){let l,f,i,u,a,h;return l=E(n,e,.5),f=T(l,c,te(["c","ld"])),i=T(f,l,te(["c","ld"])),u=te(["c","c"]),a=te(["c","p0"]),h=[u,u,a,a],[[...S([f,i],h),...S([i,f],h)],[u,a,f,i]]}),[],(function(t,n,e,r,o,c,l){let[f,i,u,a]=l,h=te(["s","l2"])/I(u,a)+1,s=te(["s","pf"]),p=E(a,u,h),d=E(u,a,h*s);u=p,a=d;let m=[f,f,i,i],g=S([u,a],m),b=S([a,u],m);return[g.concat(b),[f,i,u,a]]}))}function on(t){return Sn(t,Vt,(function(t,n,e,r,o,c){let l,f;return l=E(n,e,.5),f=E(c,l,te(["c","ld"])/I(c,l)+1),[[...S([f,n],[te(["c","c"]),te(["c","c"]),te(["c","p0"]),te(["c","p0"])]),...S([n,e],[-te(["c","c"]),-te(["c","c"]),te(["c","p0"]),te(["c","p0"])]),...S([e,f],[-te(["c","c"]),-te(["c","c"]),te(["c","p0"]),te(["c","p0"])])]]}),[],(function(){}))}function cn(t){return Sn(t,Vt,(function(t,n,e,r,o,c){let l,f,i,u,a,h;return l=E(n,e,.5),f=te(["c","ld"])/I(c,l)+1,i=E(c,l,f),u=te(["c","c"]),a=te(["c","p0"]),h=[u,2*-u,a,a],[[...S([i,n],h),...S([e,i],h)],[f,[...n],[...e]]]}),[],(function(t,n,e,r,o,c,l){let[f,i,u]=l,a=E(n,e,.5);f+=te(["s","pi"]);let h=E(c,a,f),s=E(u,i,1+te(["s","li"])),p=E(i,u,1+te(["s","li"])),d=te(["c","c"]),m=te(["c","p0"]),g=[d,2*-d,m,m],b=S([h,n],g),M=S([e,h],g);return[b.concat(M),[f,s,p]]}))}function ln(t){return Sn(t,Wt,(function(t,n,e){let r,o,c,l,f;return r=E(n,e,1+te(["c","ep"])),o=E(e,n,1+te(["c","ep"])),c=te(["c","c"]),l=te(["c","p0"]),f=[c,c,l,l],[[...S([r,o],f),...S([o,r],f)],[l,c]]}),[],(function(){return[]}))}function fn(t){return Sn(t,Wt,(function(t,n,e){let r,o,c,l;return r=E(n,e,1+te(["c","ep"])),o=E(e,n,1+te(["c","ep"])),c=te(["c","c"]),l=te(["c","p0"]),[[...S([r,o],[c,-c,l,l]),...S([o,r],[-c,-c,l,l])],[l,c]]}),[],(function(){return[]}))}function un(t){return Sn(t,Wt,(function(t,n,e){let r,o,c,l;return r=E(n,e,1+te(["c","ep"])),o=E(e,n,1+te(["c","ep"])),c=te(["c","c"]),l=te(["c","p0"]),[[...S([r,o],[c,-c/5,l,l]),...S([o,r],[c,-c/5,l,l])],[r,o,l,c]]}),[],(function(t,n,e,r,o,c,l){let[f,i,u,a]=l;return a+=te(["s","rd"]),u+=te(["s","dp"]),[[...S([f,i],[a,-a/5,u,u]),...S([i,f],[a,-a/5,u,u])],[f,i,u,a]]}))}function an(){let t,n;return t=Xn("w"),n=Xn("h"),[t,n,Zn(["s","l4"]),[t/2,n/2]]}function hn(t,e){let r,o,c,l,f,i,u,a,h,s,p,d;for([r,o,c,l]=an(),n()<Xn(["D","sq","cr"])&&(l=[...e]),f=[],a=Jn(["D","sq","i0"])*r,h=Jn(["D","sq","i0"])*o,p=n()<Jn(["D","sq","r"]),d=0;a<r*(c+1)&&h<o*(c+1);)i=l[0]-a/2,u=l[1]-h/2,s=$(i,u,a,h),s.push([i,u]),p&&d%2==0&&(s=w(l,s,Math.PI/2)),f.push(s),d+=1,a+=Jn(["D","sq","gp"])*r,h+=Jn(["D","sq","gp"])*o,t.push(s);return f}function sn(t,e){let r,o,l,f,i,u,a,h,s,p;for([r,o,l,f]=an(),n()>Xn(["D","c","cr"])&&(f=[...e]),i=120,u=[],a=Jn(["D","c","i0"])*r;a<r*(l+1);){l
function t(t){let[n,e,r,o]=[[0,8],[8,8],[16,8],[24,8]].map((n=>parseInt(t.substr(n[0],n[1]),16)));return function(){n>>>=0,e>>>=0,r>>>=0,o>>>=0;let t=n+e|0;return n=e^e>>>9,e=r+(r<<3)|0,r=r<<21|r>>>11,o=o+1|0,t=t+o|0,r=r+t|0,(t>>>0)/4294967296}}function n(){let t=Xn(["r","useA"]);return Qn(["r","useA"],!t),t?Xn(["r","prngA"])():Xn(["r","prngB"])()}function e(t,e){if(e>t.length)return t;let r,o,c=t.slice(0),l=t.length,f=l-e;for(;l-- >f;)o=Math.floor((l+1)*n()),r=c[o],c[o]=c[l],c[l]=r;return c.slice(f)}function r(t){return t[Math.floor(n()*t.length)]}function o(t){let e,r,o;for(o=t.length-1;o>0;o--)e=Math.floor(n()*(o+1)),r=t[o],t[o]=t[e],t[e]=r;return t}function c(t){return l(n(),{max:1,min:0},{max:t[1],min:t[0]})}function l(t,n,e){return t-n.min==0?e.min:(t-n.min)/(n.max-n.min)*(e.max-e.min)+e.min}function f(t,n,e){let r=l(t,n,e);return r>e.max&&(r=e.max),r<e.min&&(r=e.min),r}function i(t,e){let r;for(r=0;r<e.length;r++)e[r]+=e[r-1]||0;let o=n()*e[e.length-1];for(r=0;r<e.length&&!(e[r]>o);r++);return t[r]}function u(n){oe({prngA:new t(n.hash.substr(2,32)),prngB:new t(n.hash.substr(34,32)),useA:!1},["r"])}function a(t){return t*Math.PI/180}function h(t,n=0){return[...Array(t).keys()].map((t=>t+n))}function s(){return Array.prototype.slice.call(arguments).reduce((function(t,n){let e=[];return t.forEach((function(t){n.forEach((function(n){e.push(t.concat(n))}))})),e}),[[]])}function p(t,n){Object.keys(n).map((e=>t.style[e]=n[e]))}function d(t,n){Object.keys(n).map((e=>t.setAttribute(e,n[e])))}function m(){p(Xn(["H","m"]),{width:`${Xn(["g","w"])}px`,height:`${Xn(["g","h"])}px`}),p(Xn(["H","C"]),{height:`${window.innerHeight}px`})}function g(){let t=document.createElement("div");p(t,{display:"flex","align-items":"center","align-content":"center","justify-content":"center",width:"100%",height:`${window.innerHeight}px`,margin:"0px",padding:"0px"});let n=document.createElement("div");return oe({C:t,m:n},["H"]),p(n,{width:`${Xn(["g","w"])}px`,height:`${Xn(["g","h"])}px`,display:"flex","flex-direction":"row","align-items":"center","align-content":"center","justify-content":"center","flex-wrap":"nowrap"}),t.appendChild(n),[t,n]}function b(){let t,n,e,r,o,c,l,f,i,u,a,h,s,p,m,g;t=window.innerWidth,n=window.innerHeight,e=Xn("w"),r=Xn("h"),o=e/t,c=r/n,l=o>c?o:c,f=Math.round(e/l),i=Math.round(r/l),oe({w:f,h:i},["g"]),u=Xn(["R","r"]),a=u*window.devicePixelRatio,h=f*a,s=i*a,p=1/l*window.devicePixelRatio,Qn(["R","pf"],p),m=Xn(["H","c"]),d(m,{width:h,height:s,viewBox:`0 0 ${h} ${s}`}),m.style["max-width"]="100%",m.style["max-height"]="100%",g=Xn(["R","gl"]),g&&nt()}function M(){p(document.body,{width:"100%",height:"100%",margin:"0",padding:"0","overflow-y":"hidden","overflow-x":"hidden","-ms-overflow-style":"none","scrollbar-width":"none","image-rendering":"high-quality"});let t=document.createElement("canvas");Qn(["H","c"],t),b();let[n,e]=g();e.appendChild(t),document.body.appendChild(n)}function P(t,n,e){let r,o,c,l;return[r,o]=t,[c,l]=n,[r+Math.cos(e)*(c-r)-Math.sin(e)*(l-o),o+Math.sin(e)*(c-r)+Math.cos(e)*(l-o)]}function w(t,n,e){return n.map((n=>P(t,n,e)))}function E(t,n,e){return t.map(((r,o)=>r+e*[n[0]-t[0],n[1]-t[1]][o]))}function T(t,n,e){return E(t,n,e/I(t,n))}function F(t){let n=0;return t.length<2||t.forEach(((e,r)=>n+=r>0?I(t[r],t[r-1]):0)),n}function x(t){let[n,e,r,o]=t,c=0;return[[n,e],[r,e],[o,r]].forEach((t=>c+=I(...t))),(c+I(o,n))/2}function C(t,n,e){return t.map((t=>[t[0]+n,t[1]+e]))}function D(){return[1/0,-1/0,1/0,-1/0]}function I(t,n){return Math.sqrt(Math.pow(n[0]-t[0],2)+Math.pow(n[1]-t[1],2))}function A(t){let[n,e,r,o]=D();for(let c=0;c<t.length;c++){let[l,f]=t[c];n=n<l?n:l,r=r<f?r:f,e=e>l?e:l,o=o>f?o:f}return[n,e,r,o]}function R(t){return[t[0]+(t[1]-t[0])/2,t[2]+(t[3]-t[2])/2]}function v(t){let[n,e,r,o]=A(t);return[n,r,e-n,o-r]}function L(t,n){let[e,r,o,c]=t,[l,f,i,u]=n;return e<=l&&r>=f&&o<=i&&c>=u}function B(t){let[n,e,r,o]=A(t);return e<0||n>=Xn("w")||o<0||r>Xn("h")}function y(t){let n=t.length,e=0;return t.forEach(((r,o)=>e+=t[o][0]*t[(o+1)%n][1]-t[(o+1)%n][0]*t[o][1])),Math.abs(e)/2}function S(t,n){return q(U(t,n[0],n[1],n[2],n[3]),Xn(["g","u"]))}function _(t,n){let e,r,o,c,l;if(e=I(t[0],t[1]),e<n)return[t];r=Math.ceil(e/n),o=n/e,c=t[0],l=[c];for(let f=0;f<r;f++){let n=E(...t,Math.min(1,o*(f+1)));l.push(n),c=n}return l}function N(t,n){if(t.length<1)return[];let e=[];for(let r=1;r<t.length;r++){let o=t[r-1],c=t[r],l=[o,c];e=e.concat(I(o,c)>n?_(l,n):l.slice(1))}return bt(e)}function O(t){let n=Math.floor(t.length*Jn(["D","p","sp"]));return t.slice(n,Math.min(Math.floor(t.length*Jn(["D","p","kl"]))+n,t.length-1))}function k(t,n){let e,r,o;return e=A(t),r=R(e).map((t=>t+Jn(["T","c"]))),o=[],t.forEach((t=>o.push(t.map((t=>t*n)).map(((t,e)=>t+r.map((t=>(1-n)*t))[e]))))),o}function H(t,n,e,r,o,c){return s(...[[o,e/(o+1),t],[c,r/(c+1),n]].map((t=>h(t[0]).map((n=>(n+1)*t[1]+t[2])))))}function U(t,n,e,r,o){const c=w(t[1],t,-a(e));return[[...t[0]],E(...w(t[0],t,a(n)),r),E(c[1],c[0],o),[...t[1]]]}function $(t,n,e,r){return[[t,n],[t+e,n],[t+e,n+r],[t,n+r]]}function q(t,n){let e=x(t);if(e>n){let r=n/e,o=r,[c,l]=t[0],[f,i]=t[1],[u,a]=t[2],[h,s]=t[3];const p=[t[0]];for(;o<1;)p.push([(1-o)**3*c+3*o*(1-o)**2*f+3*o**2*(1-o)*u+o**3*h,(1-o)**3*l+3*o*(1-o)**2*i+3*o**2*(1-o)*a+o**3*s]),o+=r;return p.push(t[3]),p}return[t[0],t[3]]}function j(t,n,e,r){const o=h(r).map((o=>[t+e*Math.cos(2*Math.PI*o/r),n+e*Math.sin(2*Math.PI*o/r)]));return o.push([...o[0]]),o}function Y(t){return z(X(t)).concat([1])}function G(t){if(n()<.05)return Math.floor(c([0,6]));let e,r,o;e=Xn(["l","s"])(t),r=[],o=Xn(["s","p"]);for(let n=0;n<o.length;n++){let t,c,[l,f,i,u]=o[n];t=e+f,c=0!==t?l*t**i+u:u,r.push(c)}return i(h(Xn(["b","t"])),r)}function V(t){let n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return[parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16)]}function W(t){let n,e,r,o,c,l;n=V(t),[o,c,l]=n,o/=255,c/=255,l/=255,e=Math.max(o,c,l),r=Math.min(o,c,l);let f,i,u=(e+r)/2;if(e===r)f=i=0;else{let t=e-r;switch(i=u>.5?t/(2-e-r):t/(e+r),e){case o:f=(c-l)/t+(c<l?6:0);break;case c:f=(l-o)/t+2;break;case l:f=(o-c)/t+4}f/=6}return[f,i,u]}function X(t){let[n,e,r]=t;n*=360,e*=100;const o=e*Math.min(r,1-r)/100,c=t=>{const e=(t+n/30)%12,c=r-o*Math.max(Math.min(e-3,9-e,1),-1);return Math.round(255*c).toString(16).padStart(2,"0")};return`${c(0)}${c(8)}${c(4)}`}function z(t){return V(t).map((t=>t/255))}function Q(){let t,n,e;t=Xn(["o","C","h"]),n=Xn(["o","C","r"]),e=Xn(["o","C","t"]);for(let r=0;r<e.length;r++){let o,c,l;o=Z(W(e[r])),c=X(o),t.push(o),e[r]=c,l=z(c),l.push(1),n.push(l)}}function J(t,n,e){let r=[];for(let o=0;o<3;o++)r.push(Math.max(0,Math.min(t[o]+Jn(["T",n]),1)));return r.push(Jn(["T",e])),r}function K(t){let n,e,r,o;return n=Xn(["T","d0"]),e=n.map(((n,e)=>Math.max(Math.min(1,t[e]+c([-n,n])),0))),r=X(e),o=z(r),o.push(Jn(["T","do"])),o}function Z(t){return t.map(((t,n)=>Math.max(Math.min(Jn(["C",`${["h","s","l"][n]}v`])+t,1),0)))}function tt(t){let e=n()>.5?1:-1;return t.map(((t,n)=>Math.max(Math.min(e*Jn(["C",`t${["h","s","l"][n]}`])+t,1),0)))}function nt(){let t=""+Xn(["R","pf"])*Xn(["R","d"]);t=t.includes(".")?t.slice(0,t.indexOf(".")+2):t+".0";let n=`\nattribute vec4 aVertexPosition;\nattribute vec4 aVertexColor;\nvarying lowp vec4 vColor;\n\nvoid main() {\ngl_Position = aVertexPosition;\nvColor = aVertexColor;\ngl_PointSize = ${t};\n}\n`,e="\nvarying lowp vec4 vColor;\n\nvoid main(void) {\ngl_FragColor=vColor;\n}\n",r=ht(n,e),o=Xn(["R","gl"]);o.viewport(0,0,o.canvas.width,o.canvas.height),oe({vs:n,fs:e,p:{program:r,attribLocations:{vertexPosition:o.getAttribLocation(r,"aVertexPosition"),vertexColor:o.getAttribLocation(r,"aVertexColor")}}},["R"]),Pn()}function et(t){let n=Xn("w")/2,e=Xn("h")/2;return[(t[0]-n)/n,-(t[1]-e)/e]}function rt(t){let n,e,r;for(n=[],e=0,r=t.length-1-e;e+1<r&&r-1!==e+1;){let o=[e,e+1,r].map((n=>t[n])),c=[r,r-1,e+1].map((n=>t[n]));Pt(...o)||n.push(o),Pt(...c)||n.push(c),e+=1,r-=1}return n}function ot(t,n,e,r){let o=rt(t);for(let c=0;c<o.length;c++){let t=o[c].map((t=>et(t)));t.forEach((t=>t.forEach((t=>e.push(t))))),t.forEach((()=>r.push(n)))}}function ct(t,n,e){let r=t.map((t=>et(t)));return r.forEach((t=>t.forEach((t=>e.positions.push(t))))),r.forEach((()=>e.colors.push(n))),e}function lt(){let t,n,e;t=Xn(["o","c","p"]),n={positions:[],colors:[]},e=Xn(["o","C","fr"]);for(let r=0;r<t.length;r++){let o=t[r];o.ol||ot(o.path,e[o.bf],n.positions,n.colors),(o.ol||o.ao)&&ot(St(o.path,o.gap,!1,0,Jn(["T","o0"])),e[o.oc],n.positions,n.colors)}Qn(["o","c","bs"],n)}function ft(){let t,n,e;t=Xn(["o","c","w"]),n=[],e=[],t.forEach((t=>ot(t,Xn(["o","C","fr"])[0],n,e))),Qn(["o","c","wo"],{colors:e,positions:n})}function it(){let t,n,e,r;t=Xn(["o","c","bdi"]),n=Xn(["o","c","bd"]),e={positions:[],colors:[]},r=Xn(["o","C","fr"]),t.forEach((t=>ot(n[t[0]],r[t[1]],e.positions,e.colors))),Qn(["o","c","dg"],e)}function ut(){let t,n,e,r;t=Xn(["o","c","t"]),n={positions:[],colors:[]},e={positions:[],colors:[]},r=Xn(["o","C","fr"]);for(let o=0;o<t.length;o++){let c=r[t[o].color_idx],l=t[o].path;t[o].pt_mode?ct(l,c,n):ot(St(l,t[o].gap,!1,0,Jn(["T","t0"])),c,e.positions,e.colors)}Qn(["o","c","tg"],{pts:n,triangles:e})}function at(t,n,e){const r=t.createShader(n);return t.shaderSource(r,e),t.compileShader(r),r}function ht(t,n){let e=Xn(["R","gl"]);const r=e.createProgram();return e.attachShader(r,at(e,e.VERTEX_SHADER,t)),e.attachShader(r,at(e,e.FRAGMENT_SHADER,n)),e.linkProgram(r),r}function st(t,n,e){const r=t.createBuffer();t.bindBuffer(t.ARRAY_BUFFER,r),t.bufferData(t.ARRAY_BUFFER,new Float32Array(n),t.STATIC_DRAW);const o=t.createBuffer();return t.bindBuffer(t.ARRAY_BUFFER,o),t.bufferData(t.ARRAY_BUFFER,new Float32Array(e.flat()),t.STATIC_DRAW),{position:r,color:o}}function pt(t,n,e){{const r=2,o=n.FLOAT,c=!1,l=0,f=0;n.bindBuffer(n.ARRAY_BUFFER,t.position),n.vertexAttribPointer(e.attribLocations.vertexPosition,r,o,c,l,f),n.enableVertexAttribArray(e.attribLocations.vertexPosition)}{const r=4,o=n.FLOAT,c=!1,l=0,f=0;n.bindBuffer(n.ARRAY_BUFFER,t.color),n.vertexAttribPointer(e.attribLocations.vertexColor,r,o,c,l,f),n.enableVertexAttribArray(e.attribLocations.vertexColor)}}function dt(t,n){n.bindBuffer(n.ARRAY_BUFFER,t.color),n.bindBuffer(n.ARRAY_BUFFER,t.position)}funct
**Running Moon** depicts the nuanced interaction between clouds and moonlight. It is a search for boundaries between structure and fluidity, precision and errors. It is a quest for harmony. The rendering of **Running Moon** is inspired by stained glass and watercolor. It captures the sharpness of the glass and the softness of light using abstract forms. As organic shapes gradually expand to fill the space, brush-pen-like stripes solder these pieces together to form intricate compositions.