0xa9041d25…b5d3sent to0x32d4be5e…f436·#16,614,590·view on Etherscan
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