hi-ucs/front/public/leaflet/libs/iclient8c/libs/SuperMap_Plot-8.1.1-16820.js

9 lines
612 KiB
Vue

eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('P.2O.4u=X P.23(P.2O.4f,{5a:["c9","6Y","7M","ax","e3"],1X:"",4P:1d,5s:1a,3c:1a,sz:R,4w:R,9V:R,8s:1d,cT:5,mc:S(){Y O.3c},Ad:S(c){if(O.3c!==c){O.3c=c;if(O.3B.W!==0&&!c){O.1p.1E("6Y",{1h:O.3B.53()})}Q a=O.1c.Ac("P.4v.ir");if(O.3c){19(Q d=0;d<a.W;d++){a[d].2B.17(O);a[d].mk(a[d].2B)}}13{19(Q d=0;d<a.W;d++){Q b=P.1o.3t(a[d].2B,O);if(b!==-1){a[d].2B.2N(b,1);a[d].mk(a[d].2B)}}}}},f6:S(){Y O.5s},oB:S(a){O.5s=a;if(O.3B.W!==0){O.1p.1E("ax",{1h:O.3B})}},70:S(){Y O.4P},kk:S(a){O.4P=a;if(O.3B.W!==0){O.1p.1E("ax",{1h:O.3B})}},kj:S(a){if(O.3B.W!==0&&!a){O.1p.1E("6Y",{1h:O.3B.53()})}P.2O.4f.1y.kj.1q(O,1K)},1I:S(c,a,b){if(b&&b.dz){b.dz=O.sy(b.dz)}13{O.dz=["dN","kO","fk","dh"]}if(b&&b.27){O.27=b.27}O.1X=a;19(Q d=0;d<O.5a.W;d++){if(P.1o.3t(P.2O.4f.1y.5a,O.5a[d])===-1){P.2O.4f.1y.5a.17(O.5a[d])}}P.2O.4f.1y.1I.1q(O,[c,b]);O.8s=O.4Z 1l P.2Q.5g},1A:S(){O.1X=R;O.sz=R;if(O.4w!==R){O.4w.1A();O.4w=R}P.2O.1y.1A.1q(O,1K)},sy:S(b){S a(d){if(d==="92"){Y"dN"}13{if(d==="fj"){Y"kO"}13{if(d==="5g"){Y"fk"}13{if(d==="9z"){Y"dh"}}}}}19(Q c=0;c<b.W;c++){b[c]=a(b[c])}Y b},5r:S(d,b){if(!(P.1o.4g(d))){d=[d]}19(Q c=0;c<d.W;c++){if(d[c].T 1l P.U.3I||d[c].T 1l P.U.4H){19(Q a=0;a<d[c].T.11.W;a++){d[c].T.11[a].1g=O}}}P.2O.4f.1y.5r.1q(O,1K)},2l:S(a,c,b){if(a.T 1l P.U.1N){a.T.79();O.1p.1E("Ab")}if(a.T.3c&&((a.Z&&a.Z.21==="3O")||(c&&c.21==="3O"))){O.1p.1E("6Y",{1h:[a]})}P.2O.4f.1y.2l.1q(O,1K)},8o:S(a){P.2O.4f.1y.8o.1q(O,1K);if(O.4Z.1t==="P.2Q.5g"||O.4Z.1t==="P.2Q.9z"){O.4Z.6B=1d}},4B:S(e){if(!e||e.W===0){Y}if(e===O.1h){Y O.89()}if(!(P.1o.4g(e))){e=[e]}if(e===O.3B){e=e.53()}19(Q c=0;c<e.W;c++){Q d=e[c];if(d.T.3c){O.1p.1E("6Y",{1h:[d]})}if(d.T 1l P.U.1N){Q a=[];19(Q b=0;b<d.T.4a.W;b++){if(d.T.4a[b].3c){O.1p.1E("6Y",{1h:[d.T.4a[b].1b]})}a.17(d.T.4a[b].1b)}if(a.W!==0){P.2O.4f.1y.4B.1q(O,[a])}}if(d.T 1l P.U.4H){19(Q b=0;b<d.T.11.W;b++){if(d.T.11[b].T.3c){O.1p.1E("6Y",{1h:[d.T.11[b]]})}}}if(d.T 1l P.U.cB){d.T.fz(d.T.55);d.T.fz(d.T.56)}}P.2O.4f.1y.4B.1q(O,[e])},si:S(d,a){Q c=(d==1k);if(c){d=O.1h}if(!(P.1o.4g(d))){d=[d]}if(d){O.4B(d,a);19(Q b=d.W-1;b>=0;b--){d[b].1A()}}},89:S(){if(O.3B.W!==0){O.1p.1E("6Y",{1h:O.3B})}P.2O.4f.1y.89.1q(O,[])},sx:S(a){Y O.1h[a]},4b:S(c){19(Q b=0;b<O.1h.W;b++){if(O.1h[b].T.1r===c){Y O.1h[b]}13{if(O.1h[b].T 1l P.U.3I||O.1h[b].T 1l P.U.4H){19(Q a=0;a<O.1h[b].T.11.W;a++){if(O.1h[b].T.11[a].T.1r===c){Y O.1h[b].T.11[a]}}}}}Y R},Aa:S(b){Q a=O.sw(b);O.4B([a])},A9:S(a){Q b=O.sx(a);O.4B([b])},kh:S(f,d,e,a,c,k,b){if(!P.1o.4g(e)){e=[e]}Q j=[];19(Q g=0;g<e.W;g++){Q h=O.1c.2G(e[g]);j.17(X P.U.1f(h.1U,h.1T))}O.h2(f,d,j,a,c,k,b)},h2:S(r,a,m,l,o,d,b){r=3V(r);a=3V(a);if(!P.1o.4g(m)){m=[m]}if(!d){d={}}d.5z=b;d.1r=l;if((d.1j===1k||d.1j===R)&&P.U.1N.5W(r,a)){Q g=O.eq(r,a);Q j=["5I","6f","2L"];Q s=1d;19(Q k=0;k<j.W;k++){Q t=j[k];if(d&&g&&d[t]!==1k&&d[t]!==g[t]){s=1a;1B}}if(g===R||s){Q f=1n.f1(1n.gT()*68);Q p=X 7h().6W();Q e,h;S c(n){if(n.2z.7l){h=3V(n.2z.7l,16);e=h-f}if(!e||(e-p)>60){Y}13{if(!n.2z.1v||!n.2z.1C){Y}}if(n.2z.1s===P.V.1i.5b&&!g&&!s){3j n.2z.7l;O.9w(n.2z)}g=P.1o.6b(n.2z);d.1j=g;O.2Y(r,a,m,o,d)}S q(n){Y R}d.7l=f;O.by(r,a,m,c,q,R,d)}13{d.1j=g;O.2Y(r,a,m,o,d)}}13{O.2Y(r,a,m,o,d);if(d.1j&&d.1j.1s===P.V.1i.5b){O.9w(d.1j)}}},A8:S(b,g,f,d,c,a,e){if(!a){a={}}a.55=b;a.56=g;a.7X=f;a.1r=d;a.5z=e;a.1g=O;O.2Y(0,P.V.1i.ak,R,c,a)},A7:S(f,e,c,b,a,d){if(!a){a={}}a.3r=f;a.1r=c;a.5z=d;a.1g=O;O.2Y(0,P.V.1i.dv,e,b,a)},A6:S(g,e,a,d,c,b,f){if(!b){b={}}b.2c=a;b.1H=e;b.1r=d;b.5z=f;b.1g=O;O.2Y(0,P.V.1i.bM,g,c,b)},A5:S(j,g,h,e,f,b,a,d,k,c){if(!k){k={}}k.4e=j;k.4I=g;k.39=h;k.36=e;k.1H=f;k.2c=b;k.1r=a;k.5z=c;k.1g=O;O.2Y(0,P.V.1i.c5,R,d,k)},A4:S(c,b,e,a,d,f){if(!d){d={}}d.2p=b;d.1r=e;d.5z=f;d.1g=O;d.4y=c;d.6D=a;O.2Y(0,P.V.1i.du,R,R,d)},A3:S(c,b,e,a,d,f){if(!d){d={}}d.2p=b;d.1r=e;d.5z=f;d.1g=O;d.4y=c;d.6D=a;O.2Y(0,P.V.1i.dt,R,R,d)},A2:S(c,b,e,a,d,f){if(!d){d={}}d.2p=b;d.1r=e;d.5z=f;d.1g=O;d.4y=c;d.6D=a;O.2Y(0,P.V.1i.ds,R,R,d)},A1:S(f,e,c,b,a,d){if(!a){a={}}a.1S=e;a.3r=f;a.1r=c;a.5z=d;a.1g=O;O.2Y(0,P.V.1i.aj,R,b,a)},A0:S(f,e,c,b,a,d){if(!a){a={}}a.1S=e;a.3r=f;a.1r=c;a.5z=d;a.1g=O;O.2Y(0,P.V.1i.ai,R,b,a)},zZ:S(f,e,g,h,b,d,k,c){O.by(f,e,R,j,a);S j(l){if(!l.2z.1v||!l.2z.1C){Y}if(!k){k={}}k.1S=[{1v:f,1C:e,1j:l.2z,1H:h}];k.5d=g;k.1H=h;k.1r=b;k.5z=c;k.1g=O;O.2Y(0,P.V.1i.ah,R,d,k)}S a(l){zY X zX(l)}},zW:S(e,a,c,b,d){O.2Y(0,P.V.1i.8q,R,b,{3r:e,2Z:a,1r:c,5z:d})},zV:S(f,a,d,c,e){19(Q b=0;b<a.W;b++){a[b].2C="hG"}O.2Y(0,P.V.1i.8q,R,c,{3r:f,2Z:a,1r:d,5z:e})},zU:S(f,a,d,c,e){19(Q b=0;b<a.W;b++){a[b].2C="hF"}O.2Y(0,P.V.1i.8q,R,c,{3r:f,2Z:a,1r:d,5z:e})},zT:S(f,b,d,c,a,e){if(!a){a={}}a.3r=f;a.1H=b;a.1r=d;a.5z=e;a.1g=O;O.2Y(0,P.V.1i.ag,R,c,a)},zS:S(f,e,c,b,a,d){if(!a){a={}}a.3r=f;a.3S=e;a.1r=c;a.5z=d;a.1g=O;O.2Y(0,P.V.1i.9s,R,b,a)},kg:S(d,g,c,b,f){Q a=O.1c.2G(g);Q e=X P.U.1f(a.1U,a.1T);Y O.h1(d,e,c,b,f)},h1:S(c,e,b,a,d){if(e!==R&&c!==1k){if(!P.1o.4g(e)){e=[e]}O.2Y(0,P.V.1i.4C,e,a,{1H:c,1r:b,5z:d})}},zR:S(f,k,a,g,e,h,b,d,j,c){if(k!==R&&f!==1k){if(!P.1o.4g(k)){k=[k]}if(!j){j={}}j.1H=f;j.4O=a;j.18=k;j.7V=g;j.bq=e;j.cD=h;j.1r=b;j.5z=c;O.2Y(0,P.V.1i.c4,k,d,j)}},zQ:S(f,g,e,c,b,a,d){if(f!==R){if(!P.1o.4g(f)){f=[f]}O.2Y(0,P.V.1i.gO,f,b,{fD:g,fC:e,1r:c,5z:d})}},zP:S(g,c,a,e,d,b,f){if(g!==R){if(!P.1o.4g(g)){g=[g]}O.2Y(0,P.V.1i.8V,g,d,{39:c,36:a,1r:e,5z:f})}},zO:S(f,a,d,c,b,e){if(f!==R){if(!P.1o.4g(f)){f=[f]}if(!b){b={}}b.4I=a;b.1r=d;b.5z=e;b.1g=O;O.2Y(0,P.V.1i.gN,f,c,b)}},gA:S(f,e,d){Q a=1d;Q c=[];19(Q b=0;b<f.W;b++){if(!(f[b].T 1l P.U.1N)){1W}if(f[b].T 1l P.U.3I){1W}if(f[b].T 1l P.U.hT||f[b].T 1l P.U.hP){1W}if(f[b].T 1l P.U.3g){f[b].T.ry()}if(f[b].T.3c){a=1a}c.17(f[b].T.1r)}if(c.W>=2){O.2Y(0,P.V.1i.c6,R,d,{4j:c,1r:e},a)}},gB:S(b){Q a=O.4b(b);if(a===R){a=O.sw(b)}if(a!==R&&a.T!==R&&a.T 1l P.U.3I){if(a.T.1s!==P.V.1i.aj&&a.T.1s!==P.V.1i.ai){a.T.gB();O.4B([a])}}},gz:S(h,g,f,e){Q a=1d;Q d=[];Q c=[];19(Q b=0;b<h.W;b++){if(h[b].T.3c){a=1a}if((h[b].T.1v===4E&&(h[b].T.1C>=l5&&h[b].T.1C<=q4))){d.17(h[b].T.1r);c.17(h[b])}}if(d.W>0){O.2Y(0,P.V.1i.c2,R,e,{4j:d,5i:g,1r:f},a)}},zN:S(a,c){Q d=X P.U.3g({18:a});Q b=X P.5L.4f(d);if(c){b.Z=P.1o.2v(b.Z,c)}13{b.Z=P.1o.2v(b.Z,P.U.1N.7j)}d.1b=b;d.1u();Y b},zM:S(d){Q g=gu.gt(d);Q c=3V(g.1v);Q b=3V(g.1C);g.5O=1a;if(P.U.1N.5W(c,b)){Q h={};h.5I=g.5I;h.6f=3V(g.6f);h.2L=3V(g.2L);if(g.2k("mA")&&g.mA.W!==0){h.5X=g.mA}Q e=1d;if(h.5I||h.2L!==0||h.6f!==0){e=1a}Q f=O.eq(c,b);if(!e&&f!==R){P.V.5G.sv(g,f);Q h={1j:g,1c:O.1c,1X:O.1X};O.2Y(c,b,R,R,h)}13{S j(k){if(!k.2z.1v||!k.2z.1C){Y}if(k.2z.1s===P.V.1i.5b&&!e){O.9w(k.2z)}f=P.1o.6b(k.2z);P.V.5G.sv(g,f);Q l={1j:g,1c:O.1c,1X:O.1X};O.2Y(c,b,R,R,l)}S a(k){Y R}O.by(c,b,R,j,a,R,h)}}13{Q h={1j:g,1c:O.1c,1X:O.1X};O.2Y(c,b,R,R,h)}},2Y:S(g,l,e,b,q,c){if(!q){q={}}q.1c=O.1c;q.1X=O.1X;Q f=P.U.1N.2Y(g,l,e,q,b);if(f&&f.T){f.T.27=O.27}13{Y}if(!P.U.1N.5W(g,l)&&f.T.1S&&f.T.1S.W>0){Q o=[];19(Q k=0;k<f.T.1S.W;k++){if(f.T.1S[k].1j===R){o.17(f.T.1S[k])}}if(o.W===0){O.5r(f);O.1p.1E("c9",{1b:f});if(c===1a){O.1p.1E("7M",{1h:[f]})}Y}19(Q k=o.W-1;k>=0;k--){if(o[k].1j===R){o[k].1j=O.eq(o[k].1v,o[k].1C);if(o[k].1j!==R){o.2N(k,1)}}}if(o.W===0){f.T.5O=1d;f.T.1u();O.5r(f);O.1p.1E("c9",{1b:f});if(c===1a){O.1p.1E("7M",{1h:[f]})}Y}19(Q j=0;j<o.W;j++){19(Q h=j+1;h<o.W;){if(o[j].1v==o[h].1v&&o[j].1C==o[h].1C){o.2N(h,1)}13{h++}}}Q d=o.53();19(Q k=0;k<o.W;k++){O.by(o[k].1v,o[k].1C,R,p,a)}S p(m){if(m.2z.1s===P.V.1i.5b){O.9w(m.2z)}19(Q n=0;n<f.T.1S.W;n++){if(f.T.1S[n].1j===R&&f.T.1S[n].1v===m.2z.1v&&f.T.1S[n].1C===m.2z.1C){Q r=P.1o.3t(d,f.T.1S[n]);if(r!==-1){d.2N(r,1)}f.T.1S[n].1j=P.1o.6b(m.2z)}}if(d.W===0){f.T.5O=1d;f.T.1u();O.5r(f);O.1p.1E("c9",{1b:f});if(c===1a){O.1p.1E("7M",{1h:[f]})}}}S a(m){}}13{O.5r(f);O.1p.1E("c9",{1b:f});if(c===1a){O.1p.1E("7M",{1h:[f]})}Y}},su:S(a){Q c=P.2O.4f.1y.su.1q(O,1K);if(c!==R&&O.5s===1d&&c.T.rd!==1a){c=R}if(R===c){if(O.1c===R){Y R}Q b=O.1c.2G(a.xy);c=O.bd(b,O.cT,a)}Y c},zL:S(a){Q f=[];if(O.1c===R){Y f}Q c=O.1c.2G(a.xy);Q b=O.cO(O.cT);19(Q e=O.1h.W-1;e>=0;e--){Q d=O.6E(O.1h[e],c,b);if(d){f.17(d)}}Y f},cO:S(d){if(!d){d=O.cT}Q c=O.1c.2G(X P.3M(0,0));Q b=O.1c.2G(X P.3M(d,0));Q a=P.V.1m.2J({x:c.1U,y:c.1T},{x:b.1U,y:b.1T});Y a},bd:S(e,d){if(!d){d=O.cT}Q a=O.cO(d);Q c=R;19(Q b=O.1h.W-1;b>=0;b--){c=O.6E(O.1h[b],e,a);if(c!==R){1B}}Y c},6E:S(j,f,e){if(R==j||R==j.T){Y R}if(R!==j.Z&&j.Z.21==="3O"){Y R}if(!(j.T 1l P.U.1N)&&!(j.T 1l P.U.43)&&!(j.T 1l P.U.3g)){Y R}if(j.T 1l P.U.4n||j.T 1l P.U.3g){e=0}Q d,a,g;if(j.T 1l P.U.3I){19(d=0;d<j.T.11.W;d++){if(O.6E(j.T.11[d],f,e)){Y j}}}13{if(j.T 1l P.U.4H){Q b=1d;19(d=0;d<j.T.11.W;d++){if(O.6E(j.T.11[d],f,e)){if(j.T.11[d].T 1l P.U.4n||j.T.11[d].T 1l P.U.9N){Y j.T.11[d]}13{b=1a}}}if(b===1a){Y j}}13{if(j.T.1s===P.V.1i.4C){P.V.1m.fA(j.T.11[0].Z,j.Z);if(O.iM(f,e,j.T.11[0])){Y j}}13{if(j.T.1s===P.V.1i.9s){19(d=0;d<j.T.11.W;d++){P.V.1m.fA(j.T.11[d].Z,j.Z);if(O.iM(f,e,j.T.11[d])){Y j}}}13{if(j.T 1l P.U.43){a=j.T.2D();if(R==a){Y R}g=a.2s();if(j.T.3y===1||j.T.3y===2||j.T.3y===3){g.1Y+=e;g.1Z-=e;g.2b+=e}13{if(j.T.3y===6||j.T.3y===7||j.T.3y===8){g.2g-=e;g.1Z-=e;g.2b+=e}13{if(j.T.3y===4){g.2g-=e;g.1Y+=e;g.1Z-=e}13{if(j.T.3y===5){g.2g-=e;g.1Y+=e;g.2b+=e}13{if(j.T.3y===0||j.T.3y===-1||j.T.3y===-2){g.2g-=e;g.1Y+=e;g.1Z-=e;g.2b+=e}}}}}if(!O.mz(f,g)){Y R}Y j}13{a=j.T.2D();if(R==a){Y R}g=a.2s();g.2g-=e;g.1Y+=e;g.1Z-=e;g.2b+=e;if(!O.mz(f,g)){Y R}if(j.T 1l P.U.43||j.T 1l P.U.4n||j.T 1l P.U.3g){Y j}19(Q c=0;c<j.T.11.W;c++){Q h=j.T.11[c];if(O.iM(f,e,h)){Y j}}}}}}}Y R},mz:S(a,b){if(R==a||R==b){Y 1d}if(a 1l P.2w&&a.1U>=b.1Z&&a.1U<=b.2b&&a.1T>=b.2g&&a.1T<=b.1Y){Y 1a}13{if(a.x>=b.1Z&&a.x<=b.2b&&a.y>=b.2g&&a.y<=b.1Y){Y 1a}}Y 1d},zK:S(a,b){if(R==a||R==b){Y 1d}if(a.x>=b.1Z&&a.x<=b.2b&&a.y<=b.2g&&a.y>=b.1Y){Y 1a}Y 1d},iM:S(d,j,g){if(g.1t==="P.U.1f"){Y 1d}if(g.1t==="P.U.5o"){Q f=g.9O(O.1c,g.Z);Q a=X P.U.1f(d.1U,d.1T);Y P.V.1m.zJ(a,f)}13{if(g.1t==="P.U.4S"||g.1t==="P.U.5h"){Y g.hc(X P.U.1f(d.1U,d.1T))}13{19(Q c=0;c<g.11.W-1;c++){Q h=X P.U.1f(g.11[c].x,g.11[c].y);Q e=X P.U.1f(g.11[c+1].x,g.11[c+1].y);Q b=P.V.1m.zI({x:d.1U,y:d.1T},h,e);if(b<=j){Y 1a}}}}Y 1d},cJ:S(d,b,e){if(1k!==O.1c&&R!==O.1c&&1k!==O.1c.iL.Z.7S&&R!==O.1c.iL.Z.7S&&""!==O.1c.iL.Z.7S){if(d){O.63(O.1c.iL.Z.7S)}Y}if(d){if(d.T.1t==="P.U.43"&&d.T.6B!==1a){if(1k!==d.T.3y&&R!==d.T.3y){6x(d.T.3y){1z 1:1z 8:O.63("se-58");1B;1z 3:1z 6:O.63("ne-58");1B;1z 4:1z 5:O.63("e-58");1B;1z 2:1z 7:O.63("n-58");1B;1z 0:O.63("zH");1B;1z-1:1z-2:O.63("8b");1B;6w:O.63("2n");1B}}}13{if(d.T 1l P.U.1N||d.T 1l P.U.3g){if(d.T.3c){if(e===P.V.5j.ae&&(P.V.9a.ab!==P.U.1N.94(d.T.1v,d.T.1C)||d.T.1s===P.V.1i.a9||d.T 1l P.U.4H||d.T 1l P.U.4n&&(d.T.e5()||d.T.e4()))){O.63("st")}13{if(e===P.V.5j.do&&(P.V.9a.ab!==P.U.1N.94(d.T.1v,d.T.1C)||d.T 1l P.U.4H||d.T 1l P.U.4n&&(d.T.e5()||d.T.e4()))){O.63("8b")}13{O.63("2n")}}}13{if(e===P.V.5j.ae&&d.T 1l P.U.4n&&d.T.3X.3c&&(d.T.e5()||d.T.e4())){O.63("st")}13{if(e===P.V.5j.do&&d.T 1l P.U.4n&&d.T.3X.3c&&(d.T.e5()||d.T.e4())){O.63("8b")}13{O.63("8b")}}}}13{O.63("8b")}}}13{Q c=P.1o.sm();Q a;if(O.4w&&O.4w.8g){a="2P(\'"+c+"iK/mv.iJ\'),2n";O.63(a)}13{if(b&&b.2C==="80"){a="2P(\'"+c+"iK/zG.iJ\'),2n";O.63(a)}13{if(b&&b.sl===0){a="2P(\'"+c+"iK/mv.iJ\'),2n";O.63(a)}}}}},63:S(a){if(O.4Z.1t==="P.2Q.fk"||O.4Z.1t==="P.2Q.dh"){O.4Z.my.Z.7S=a}13{if(O.4Z.1t==="P.2Q.dN"){O.4Z.cs.Z.7S=a}}O.1c.sg.Z.7S=a},by:S(c,a,b,j,e,g,f){if(!g){g=O}Q h=X P.1P.7L(O.1X);h.1p.on({4m:j,4l:e,3R:g});Q d=X P.1P.6L();d.1v=c;d.1C=a;if(f){P.1o.2R(d,f)}if(b!==R){if(!P.1o.4g(b)){b=[b]}d.5X=b}h.4N(d,O.27)},eq:S(e,d){Q a=P.33.3q(O.1c,O.1X);Q c=a.dB();Q b=c.al(e);if(b!==R){Y b.7i(d)}Y R},9w:S(d){Q a=P.33.3q(O.1c,O.1X);Q c=a.dB();Q b=c.al(d.1v);if(b!==R){Y b.9w(d)}Y R},1t:"P.2O.4u"});P.2O.eL=P.23(P.2O.zF,{zE:"dN",8o:S(f){Q e=O,d=e.1h;if(!e.8W){Y}O.4Z.mo();if(!d||d.W<1){Y}19(Q b=0,a=d.W;b<a;b++){Q c=d[b];e.2l(c,1k,{zD:[1a,1]})}},2l:S(j,b,f){if(kw b!=="zC"){if(!b&&j.zB===P.zA.ox){b="3j"}Q h=b||j.zz;b=j.Z||O.Z;if(!b){b=O.sn.zy(j,h)}}if(!j||!j.T){Y}if(j.T.1t==="P.U.6K"&&j.eC===1a){S k(l){j.T.1j.3E=l.2z.3E;j.T.1b=j;j.T.1u();Q m=O.4Z.2l(j,b,f);m&&O.ss(m);O.4Z.my.Z.7S="8b";m&&O.1p.1E("sr",m)}S a(l){j.T.18=[];O.4Z.2l(j,b,f);Y}Q d=P.33.3q();if(R===d.1X){Y}Q g=X P.1P.7L(d.1X);g.1p.on({4m:k,4l:a,3R:O});Q c=X P.1P.6L();c.1v=j.T.1j.1v;c.1C=j.T.1j.1C;c.5X=j.T.18;g.4N(c,d.27)}13{Q e=O.4Z.2l(j,b,f);e&&O.ss(e);O.4Z.my.Z.7S="8b";e&&O.1p.1E("sr",e)}},ez:S(a){if(R===a){Y}O.1h.17(a)},5r:S(b){if(R===b){Y}if(!(P.1o.4g(b))){b=[b]}19(Q a=0;a<b.W;a++){O.ez(b[a])}},gg:S(b){if(R===b){Y}19(Q a=0;a<O.1h.W;a++){if(O.1h[a]===b){O.1h.2N(a,1);1B}}},4B:S(b){if(R===b){Y}19(Q a=0;a<b.W;a++){O.gg(b[a])}},1t:"P.2O.eL"});P.2O.so=P.23(P.2O.mw,{is:R,mx:R,1I:S(b,a,c){P.2O.mw.1y.1I.1q(O,1K);O.is=R;O.mx=[]},1A:S(){O.is=R;O.mx=R;P.2O.mw.1y.1A.1q(O,1K)},rI:S(d){Q c=O.zx(d.m3);O.zw(c);Q e=[];Q g=X P.3J.g8({1b:d});Q b=d.T.18[0].x;Q h=d.T.18[0].y;Q a=X P.U.1f(b,h);Q f=X P.sq(a);f.id=d.m3;f.Z={cE:g};e.17(f);O.sp(e)},5r:S(e){if(!(P.1o.4g(e))){e=[e]}Q c=[];19(Q d=0;d<e.W;d++){Q b=X P.3J.g8({1b:e[d]});Q a=e[d].T.18[0].x;Q g=e[d].T.18[0].y;Q f=X P.sq(X P.U.1f(a,g));f.Z={cE:b};c.17(f)}O.sp(c)},1t:"P.2O.so"});P.2O.4u.fV=X P.23(P.2O.4u,{4B:S(a){P.2O.4u.1y.4B.1q(O,[a])},89:S(){P.2O.4u.1y.89.1q(O,[1d])},1t:"P.2O.4u.fV"});P.2O.4u.iF=P.23(P.2O.4f.iF,{83:R,mi:R,1t:"P.2O.4u.iF"});P.9y.1V=P.23(P.9y,{1X:"",1v:-1,6y:-1,6S:R,iG:1d,g1:R,zv:R,18:[],2e:R,eo:1d,g0:R,sk:5,sh:20,5f:R,1g:R,zu:1d,bC:1d,cQ:R,g5:R,cS:R,ms:1d,g3:1d,zt:1d,4V:1d,cR:R,g2:1d,cT:6,mm:{2q:1d,2I:"#d8",3N:1,1D:1,5K:"kT"},1I:S(c,b,a){if(!(a&&a.g0&&a.g0.sn)){if(!O.Z){O.Z=P.1o.2R(P.5L.4f.Z["6w"],{})}}P.9y.1y.1I.1q(O,1K);O.1X=O.83.1g.1X;O.27=O.83.1g.27},61:S(){O.83.1g.63("6w");if(!P.9y.1y.61.1q(O,1K)){Y 1d}O.18=[];O.2e=R;O.eo=1d;Q a=P.1o.2R({eM:1d,iq:P.ip.io},O.g0);O.1g=X P.2O.4u.fV(O.1t,"",a);O.1c.dj(O.1g);P.ei.sb(O.1c.bA,"iE");Y 1a},4R:S(){if(!P.9y.1y.4R.1q(O,1K)){Y 1d}O.18=[];O.2e=R;O.eo=1d;O.mq();if(O.1c!=R){P.ei.ii(O.1c.bA,"iE");O.mr(1a);O.1g.1A(1d)}O.1g=R;O.4V=1d;Q b=P.1o.sm();Q a="2P(\'"+b+"iK/mv.iJ\'),2n";O.83.1g.63(a);Y 1a},2Y:S(c){Q j=O.1g.2G(c);Q o=X P.U.1f(j.1U,j.1T);O.5f=X P.5L.4f(o);if(O.iG&&O.g1===R){O.g1=O.1c.3o()}if(!P.U.1N.5W(O.1v,O.6y)){O.2e=O.iH();if(O.2e.T.1S&&O.2e.T.1S.W>0){S h(r){O.6S=r.2z;if(O.6S.1s===P.V.1i.5b){Q s=P.33.3q(O.1c,O.1X);Q v=s.dB();Q u=v.al(O.6S.1v);if(u!==R){u.9w(O.6S)}}19(Q t=0;t<O.2e.T.1S.W;t++){Q y=P.1o.6b(O.6S);Q x=O.2e.T.1S[t].1v;Q w=O.2e.T.1S[t].1C;if(x===O.6S.1v&&w===O.6S.1C){O.2e.T.1S[t].1j=y}}}S k(r){}Q p=[];19(Q f=0;f<O.2e.T.1S.W;f++){Q d=O.2e.T.1S[f].1v;Q b=O.2e.T.1S[f].1C;O.2e.T.1S[f].1j=O.83.1g.eq(d,b);if(O.2e.T.1S[f].1j===R&&P.1o.3t(p,[d,b])===-1){p.17([d,b]);O.83.1g.by(d,b,R,h,k,O)}}}O.aD("mu",[O.5f.T,O.aE()]);O.5f.T.3x()}13{Q m=1n.f1(1n.gT()*68);Q a=X 7h().6W();Q l,q;S e(r){if(r.2z.7l){q=3V(r.2z.7l,16);l=q-m}if(!l||(l-a)>60){O.2e=R}13{if(!r.2z.1v||!r.2z.1C){O.2e=R}13{O.6S=r.2z;if(O.6S.1s===P.V.1i.5b){Q s=P.33.3q(O.1c,O.1X);Q u=s.dB();Q t=u.al(O.6S.1v);if(t!==R){t.9w(O.6S)}}Q v=P.1o.6b(O.6S);O.2e=O.iH({1j:v});O.aD("mu",[O.5f.T,O.aE()]);O.5f.T.3x()}}}S g(r){}O.6S=O.83.1g.eq(O.1v,O.6y);if(O.6S===R){O.83.1g.by(O.1v,O.6y,R,e,g,O,{7l:m})}13{Q n=P.1o.6b(O.6S);O.2e=O.iH({1j:n});O.aD("mu",[O.5f.T,O.aE()]);O.5f.T.3x()}}},ep:S(b){if(O.cS&&O.cS.lB(b)){Y 1a}if((!O.5f||!O.2e)){O.2Y(b)}if(O.5f&&O.2e){Q e=O.1g.2G(b);O.5f.T.x=e.1U;O.5f.T.y=e.1T;if(O.eo==1a||O.2e.T.1s===P.V.1i.5b){if(!(O.2e.T 1l P.U.4H)){Q g=X P.U.1f(e.1U,e.1T);Q f=O.18.4Y([g]);O.sf(f);if(O.2e.T.1s===P.V.1i.5b||(!P.U.1N.5W(O.1v,O.6y)&&O.2e.T.18.W>=O.2e.T.3W)){O.2e.T.1u();O.aD("g7",[O.5f.T,O.aE(),1d]);O.5f.T.3x();O.2l({g6:1a})}13{if(O.2e.T.18.W>=O.2e.T.3W){S a(j){if(O.2e===R){Y}O.2e.T.1j=j.2z;O.6S=j.2z;O.2e.T.1u();O.aD("g7",[O.5f.T,O.aE(),1d]);O.5f.T.3x();O.2l({g6:1a})}S h(j){Y}Q c=X P.1P.7L(O.1X);c.1p.on({4m:a,4l:h,3R:O});Q d=X P.1P.6L();d.1v=O.2e.T.1v;d.1C=O.2e.T.1C;d.5X=O.2e.T.18;c.4N(d,O.27)}13{if(O.2e.T.18.W>=2&&O.2e.T.18.W<O.2e.T.3W){O.2e.T.1u();O.aD("g7",[O.5f.T,O.aE(),1d]);O.5f.T.3x();O.2l({g6:1a})}}}}}}},zs:S(){O.aD("g7",[O.5f.T,O.aE(),1d]);O.2l({g6:1a})},iD:S(a){if(a.sl==2){Y 1a}if(!O.83.1g.5s){Y 1a}O.bC=1a;O.g5=a.xy;O.eo=1a;if(!O.4V){O.ep(a.xy)}if(O.6y===eX){O.g2=1a}O.cQ=O.g3;Y!O.g3},up:S(b){if(!O.83.1g.5s){Y 1a}O.bC=1d;O.cQ=O.g3;if(O.cS&&O.cS.lB(b.xy)){Y 1a}if(O.g5&&O.mp(O.g5,b.xy,O.sk)){if(O.4V){O.ep(b.xy)}if(O.ms){O.sj()}if(O.2e){O.cS=b.xy;O.mt(b.xy);Q a=O.18.W;if(a===O.2e.T.5w||0===O.2e.T.5w){O.iI()}}Y 1a}13{Y 1a}},dT:S(a){if(O.2e&&((O.2e.T 1l P.U.4H&&O.2e.T.2p.W>=O.2e.T.3W)||(O.18.W>=O.2e.T.3W))){O.iI()}P.g4.6X(a);Y 1d},2n:S(a){if(!O.83.1g.5s){Y 1a}if(O.6y===eX){if((!O.bC||O.cQ)&&O.g2){O.mt(a.xy);O.ep(a.xy)}13{if(!O.4V&&(!O.bC||O.cQ)){O.ep(a.xy)}}}13{if(!O.4V&&(!O.bC||O.cQ)){O.ep(a.xy)}}Y 1a},7v:S(a){P.g4.6X(a);Y 1d},sj:S(){Q a=O.1g;if(a&&a.1h.W>1){O.1g.1h[0].1A()}},mt:S(d){Q e=O.1g.2G(d);Q f=X P.U.1f(e.1U,e.1T);if(O.2e&&O.2e.T 1l P.U.4H){Q c=O.1c.2G(X P.3M(0,0));Q b=O.1c.2G(X P.3M(O.cT,0));Q a=P.V.1m.2J({x:c.1U,y:c.1T},{x:b.1U,y:b.1T});O.2e.T.qd(f,a);O.2e.T.1u();O.aD("g7",[O.5f.T,O.aE(),1d]);O.5f.T.3x();O.2l({g6:1a})}13{O.18.17(f)}},2l:S(a){O.1g.4Z.mo();O.1g.2l(O.2e,O.Z,a);O.1g.2l(O.5f,O.Z,a)},aE:S(){Y O.2e},mr:S(a){if(O.1g&&(a||!O.ms)){O.1g.si()}O.5f=R;O.2e=R},mn:S(d){Q c=d?"mq":"ml";O.bC=1d;O.g5=R;O.cS=R;O.cR=R;Q b=P.V.1m.gs(O.2e);if(b){b.T.5O=1a;O.aD(c,[b]);O.mr(d);if(c==="ml"&&b.T.1s!==P.V.1i.9r){Q e=X P.V.6a();e.7F=P.V.7E.gD;Q a=X P.V.4d();a.3L=b.1g.id;a.1b=b;e.1O.17(a);P.33.3q().6d().69(e)}}},mq:S(){O.mn(1a);if(O.6y===eX){O.g2=1d}},80:S(a){Y O.iD(a)},zr:S(a){if(!O.4V){O.4V=1a;O.1c.1p.un({80:O.80,8f:O.8f,7T:O.7T,7v:O.7v,dT:O.dT,3R:O})}if(O.cR!==R&&O.mp(O.cR,a.xy,O.sh)){O.iI();Y 1d}O.cR=a.xy;P.g4.6X(a);Y O.iD(a)},7T:S(a){Y O.2n(a)},zq:S(a){O.cR=a.xy;P.g4.6X(a);Y O.2n(a)},8f:S(a){Y O.up(a)},zp:S(a){a.xy=O.cR;P.g4.6X(a);Y O.up(a)},zo:S(a){if(P.1o.zn(a,O.1c.sg)){O.cQ=O.g3;O.bC=1d}},mp:S(e,d,a){Q b=1a;if(a!=R&&e&&d){Q c=e.zm(d);if(c>a){b=1d}}Y b},iI:S(){if(O.2e!==R){if(O.2e.T 1l P.U.2W&&O.2e.T.18.W>=2&&O.2e.T.18.W<O.2e.T.3W){O.2e.T.mo()}13{O.mn()}O.eo=1d;O.18=[];if(O.6y===eX){O.g2=1d}if(O.8g==1a){O.1g.89()}}},sf:S(a){if(O.2e!==R){O.2e.T.18=P.V.1m.3F(a)}},iH:S(a){Q b;if(O.6y===P.V.1i.9r){Q c=X P.U.3g({1v:O.1v,1C:O.6y});b=X P.5L.4f(c);if(O.mm){b.Z=P.1o.2v(b.Z,O.mm)}Y b}13{if(a===1k){a={}}a.1c=O.1c;a.1X=O.83.1g.1X;if(O.iG&&O.g1!==R){a.3G=O.g1}b=X P.U.1N.2Y(O.1v,O.6y,R,a);if(b){if(O.iG&&b.T 1l P.U.59){b.T.5O=1a}13{b.T.5O=1d}}b.T.27=O.27;Y b}},1t:"P.9y.1V"});P.4v.ir=P.23(P.4v,{5A:jp,rX:jp,m7:10,m6:20,mf:R,rS:{2h:"#sd",2j:1,2I:"#9j",3N:1,1D:1},81:R,cM:{2h:"#sd",2j:1,2I:"#9j",3N:1,1D:1},9c:R,ej:{2h:"#gr",2j:1,2I:"#9j",3N:1,1D:1},zl:R,rR:{2h:"#5N",2j:1,2I:"#5N",3N:1,1D:1},md:R,rQ:{2h:"#d8",2j:0.3,2I:"#d8",3N:0.5,1D:1},rF:R,ic:{2h:"#rE",2j:1,2I:"#9j",3N:1,1D:1},bt:R,rK:{2I:"#zk",3N:1,1D:1},fw:1a,7c:1d,bB:1d,1g:R,8h:R,2B:R,1h:R,3T:R,1G:R,aB:R,9d:1d,8D:R,82:R,9X:R,5n:R,18:R,1M:R,47:R,5Q:R,7x:R,im:S(b,a){},eg:S(b,a){},fU:S(a){},rW:S(b,a,c){},rZ:S(b,a){},s1:S(a){},rY:S(b,a){},sa:S(b,a){},1I:S(c){c=c||{};O.5A=P.V.5j.c0;O.2B=[];O.1h=[];O.18={};O.1M={};O.47={};O.5Q={};O.7x={};O.82={};O.8D={};O.9X={};O.5n={};O.9b={};O.cN={};O.fY={};P.4v.1y.1I.1q(O,[c]);Q d=O;O.8h=X P.2O.4u.iF(O.id+"zj",{2B:O.2B.53(),83:O});Q a={aC:1a,iC:1a,zi:1d,3R:O,sc:{il:S(f,e){d.s0.1q(d,[f,e])},m2:S(f,e){d.s2.1q(d,[f,e])},7v:S(f,e){d.9W.1q(d,[f,e])},iC:S(f,e){d.s9.1q(d,[f,e])},dT:S(f,e){d.mj.1q(d,[f,e])}}};O.3T=X P.4v.zh(O.8h,a);O.3T.2x.aC.sc.ml=S(e){d.s8.1q(d,[e])};Q b={im:S(f,e){d.ik.1q(d,[f,e])},eg:S(f,e){d.ih.1q(d,[f,e])},fU:S(f,e){d.ig.1q(d,[f,e])},rD:{up:S(e){d.s3.1q(d,[e])},2n:S(e){d.ie.1q(d,[e])}},rC:{il:S(f,e){d.7w.1q(d,[f,e])},m2:S(f,e){d.eh.1q(d,[f,e])},dT:S(f,e){d.mj.1q(d,[f,e])}}};O.1G=X P.4v.rB(O.8h,b);O.aB=X P.4v.lZ();O.3T.aC=O.7c},cK:S(){if(O.1h.W===0){Y}O.mg();O.6F()},fS:S(a){if(O.1g!==R){O.6F(a.1h)}},iy:S(a){if(O.1g!==R){19(Q b=0;b<a.1h.W;b++){O.cP(a.1h[b])}}},ix:S(a){if(O.1g!==R){19(Q b=0;b<a.1h.W;b++){O.6E(a.1h[b])}}},iw:S(a){Q c=[];19(Q b=0;b<a.1h.W;b++){if(P.1o.3t(O.1h,a.1h[b])!==-1){O.cI(a.1h[b]);c=c.4Y(O.fO(a.1h[b]))}}if(c.W!==0&&O.1g!==R){O.1g.5r(c,{f4:1a})}},iv:S(a){if(P.1o.3t(O.1h,a.1h[0])!==-1&&a.1h[0].T 1l P.U.4n){O.m5(a.1h[0].T.3X);O.6F(a.1h[0])}},dk:S(a){Q b=P.1o.3t(O.2B,a.1g);if(b!==-1){a.1g.1p.en("fT",O,O.cK);a.1g.1p.en("bV",O,O.fS);a.1g.1p.en("6Y",O,O.iy);a.1g.1p.en("7M",O,O.ix);a.1g.1p.en("ax",O,O.iw);a.1g.1p.en("e3",O,O.iv);O.2B.2N(b,1);O.el()}},dj:S(a){if(a.1g.1t==="P.2O.4u"&&a.1g.mc()&&P.1o.3t(O.2B,a.1g)===-1){a.1g.1p.6e("fT",O,O.cK);a.1g.1p.6e("bV",O,O.fS);a.1g.1p.6e("6Y",O,O.iy);a.1g.1p.6e("7M",O,O.ix);a.1g.1p.6e("ax",O,O.iw);a.1g.1p.6e("e3",O,O.iv);O.2B.17(a.1g);O.el()}13{if(O.1g===a.1g){a.1g.1p.6e("fT",O,O.cK);O.2B.2N(0,0,a.1g);O.el()}}},el:S(){if(O.8h&&O.8h.2B.W!==O.2B.W){O.8h.zg();O.8h.2B=O.2B.53();O.8h.zf()}},1A:S(){O.1h=[];O.2B=[];O.18=R;O.1M=R;O.47=R;O.5Q=R;O.7x=R;O.1g=R;O.8h=R;O.9d=1d;O.8D=R;O.82=R;O.81=R;O.9c=R;O.3T.1A();O.1G.1A();P.4v.1y.1A.1q(O,[])},61:S(){if(!O.8g){Q a=P.1o.2R({eM:1d,iq:P.ip.io},O.g0);O.1g=X P.2O.4u.fV(O.1t,"",a);O.1c.dj(O.1g);P.ei.sb(O.1c.bA,"iE");O.8h.6j(O.1c);O.3T.61();Y P.4v.1y.61.1q(O,1K)}},4R:S(){Q a=1d;if(P.4v.1y.4R.1q(O,1K)){O.9Y();O.5A=P.V.5j.c0;O.bB=1d;O.aB.4R();O.1G.4R();O.3T.4R();if(O.1c!=R){O.8h.ze(O.1c);P.ei.ii(O.1c.bA,"iE");O.1g.1A(1d)}O.1g=R;a=1a}Y a},zd:S(g){if(O.1h.W===0){Y}Q c=X P.V.6a();P.33.3q().6d().69(c);Q a=O.1h[0].T.2D();Q b=a.7N();Q e,j,k,f,d,h;if(g===P.V.c1.jO){19(e=1;e<O.1h.W;e++){j=O.1h[e].T.2D();f=a.1Z-j.1Z;O.1h[e].T.2n(f,0);O.1h[e].1g.2l(O.1h[e]);h=X P.V.4d();h.3L=O.1h[e].1g.id;h.1r=O.1h[e].T.1r;h.3b="2n";h.4h=[-f,0];h.4c=[f,0];c.1O.17(h)}}13{if(g===P.V.c1.jN){19(e=1;e<O.1h.W;e++){j=O.1h[e].T.2D();f=a.2b-j.2b;O.1h[e].T.2n(f,0);O.1h[e].1g.2l(O.1h[e]);h=X P.V.4d();h.3L=O.1h[e].1g.id;h.1r=O.1h[e].T.1r;h.3b="2n";h.4h=[-f,0];h.4c=[f,0];c.1O.17(h)}}13{if(g===P.V.c1.nJ){19(e=1;e<O.1h.W;e++){j=O.1h[e].T.2D();d=a.1Y-j.1Y;O.1h[e].T.2n(0,d);O.1h[e].1g.2l(O.1h[e]);h=X P.V.4d();h.3L=O.1h[e].1g.id;h.1r=O.1h[e].T.1r;h.3b="2n";h.4h=[0,-d];h.4c=[0,d];c.1O.17(h)}}13{if(g===P.V.c1.nI){19(e=1;e<O.1h.W;e++){j=O.1h[e].T.2D();d=a.2g-j.2g;O.1h[e].T.2n(0,d);O.1h[e].1g.2l(O.1h[e]);h=X P.V.4d();h.3L=O.1h[e].1g.id;h.1r=O.1h[e].T.1r;h.3b="2n";h.4h=[0,-d];h.4c=[0,d];c.1O.17(h)}}13{if(g===P.V.c1.nH){19(e=1;e<O.1h.W;e++){j=O.1h[e].T.2D();k=j.7N();d=b.1T-k.1T;O.1h[e].T.2n(0,d);O.1h[e].1g.2l(O.1h[e]);h=X P.V.4d();h.3L=O.1h[e].1g.id;h.1r=O.1h[e].T.1r;h.3b="2n";h.4h=[0,-d];h.4c=[0,d];c.1O.17(h)}}13{if(g===P.V.c1.nG){19(e=1;e<O.1h.W;e++){j=O.1h[e].T.2D();k=j.7N();f=b.1U-k.1U;O.1h[e].T.2n(f,0);O.1h[e].1g.2l(O.1h[e]);h=X P.V.4d();h.3L=O.1h[e].1g.id;h.1r=O.1h[e].T.1r;h.3b="2n";h.4h=[-f,0];h.4c=[f,0];c.1O.17(h)}}}}}}}O.6F()},zc:S(a){if(O.8g){if(a===1k){a=!O.7c}if(a!==O.7c){O.7c=a;O.3T.4R();O.3T.aC=a}O.3T.61()}Y O.7c},it:S(a){if(O.5A!==a){O.5A=a;O.aA()}},zb:S(a){if(O.8g&&O.bB!==a){if(a&&O.1h.W===1){O.aB.1b=O.1h[0];if(O.aB.61()){O.bB=a;O.3T.4R();O.1G.4R()}}13{if(!a){O.aB.4R();O.3T.61();O.1G.61();O.bB=a}}}Y O.bB},m1:S(){if(O.bB){O.aB.m1()}},m0:S(a){if(O.bB){O.aB.m0(a)}},za:S(){if(O.1h.W!==0){Q d=O.1h.53();Q e=[];19(Q c=1;c<O.2B.W;c++){if(O.2B[c].3B.W!==0){19(Q b=0;b<O.2B[c].3B.W;b++){e.17(c)}}O.2B[c].4B(O.2B[c].3B)}O.1g.89();Q f=X P.V.6a();f.7F=P.V.7E.eN;P.33.3q().6d().69(f);19(Q c=0;c<d.W;c++){Q a=X P.V.4d();a.3L=O.2B[e[c]].id;a.1b=d[c];f.1O.17(a)}Y 1a}Y 1d},mk:S(a){if(!P.1o.4g(a)){a=[a]}O.2B=a;O.el()},mj:S(b,a){O.sa(b,a)},9W:S(g,b){if(g===R){Y}if(g.3c){}b=b||9e.iA;Q e=R;if(g.T 1l P.U.93&&g.T.3c&&!g.T.2F()&&(O.7c===1d||b==R||b.9Z!==1a||(b.9Z===1a&&P.1o.3t(O.1h,g)===-1))){Q a=g.1g.2G(b.xy);Q h=R;19(Q f=0;f<g.T.11.W;f++){e=g.1g.6E(g.T.11[f],a,O.1g.cO());if(e!==R&&e.T.1s===P.V.1i.8Q){h=e}13{if(e!==R){1B}}if(e===R){e=h}}}13{if(g.T 1l P.U.3I&&g.T.3c&&!g.T.2F()&&(O.7c===1d||b==R||b.9Z!==1a||(b.9Z===1a&&P.1o.3t(O.1h,g)===-1))){Q a=g.1g.2G(b.xy);19(Q f=0;f<g.T.11.W;f++){e=g.1g.6E(g.T.11[f],a,O.1g.cO());if(e!==R){if(g.T 1l P.U.4H&&!(e.T 1l P.U.4n)&&!(e.T 1l P.U.9N)){e=R;1W}1B}}}}if(e!==R){if(O.7c===1a&&b!=R&&b.9Z===1a&&P.1o.3t(O.1h,e)!==-1){O.cP(e);Q d=1d;19(Q c=0;c<g.T.11;c++){if(P.1o.3t(O.1h,g.T.11[c])!==-1){d=1a}}if(d===1d){O.cP(g)}}13{if(O.7c===1a&&b!=R&&b.9Z===1a&&P.1o.3t(O.1h,g)!==-1&&P.1o.3t(O.1h,e)===-1){O.cP(g);g.T.3c=1a;O.6E(e);if(O.1G.8g){O.1G.7w.1q(O.1G,[e])}if(O.3T.2x.1b.4V||O.1G.2x.38.4V){O.1c.1p.un({80:O.1G.2x.38.80,8f:O.1G.2x.38.8f,7T:O.1G.2x.38.7T,7v:O.1G.2x.38.7v,3R:O.1G.2x.38})}}13{if(O.7c===1d||b==R||b.9Z!==1a){O.9Y();g.T.3c=1a}O.6E(e);if(O.1G.8g){O.1G.7w.1q(O.1G,[e])}if(O.3T.2x.1b.4V||O.1G.2x.38.4V){O.1c.1p.un({80:O.1G.2x.38.80,8f:O.1G.2x.38.8f,7T:O.1G.2x.38.7T,7v:O.1G.2x.38.7v,3R:O.1G.2x.38})}}}}13{if(!(g.T 1l P.U.4H)){if(O.7c===1a&&b!==1k&&b.9Z===1a&&P.1o.3t(O.1h,g)!==-1){O.cP(g);if(O.1G.8g){O.1G.7w.1q(O.1G,[g])}}13{if(O.7c===1d||(b!==1k&&b.9Z!==1a)){O.9Y()}O.6E(g);if(O.1G.8g){O.1G.7w.1q(O.1G,[g])}if(O.3T.2x.1b.4V||O.1G.2x.38.4V){O.1c.1p.un({80:O.1G.2x.38.80,8f:O.1G.2x.38.8f,7T:O.1G.2x.38.7T,7v:O.1G.2x.38.7v,3R:O.1G.2x.38})}if(O.3T.8g){O.3T.4R()}}}}},s9:S(c,b){if(O.3T.iC&&!O.3T.2x.1b.4V){Q e=O.3T.2x.1b.up;Q d=O.3T.2x.1b.iD;if(d===R){d=O.3T.2x.aC.z9.87}if(e&&d){Q a=1n.67(1n.cj(e.x-d.x,2)+1n.cj(e.y-d.y,2));if(a<=4){O.9Y()}}}13{if(O.3T.iC){O.9Y()}}},s8:S(g){if(g 1l P.5B){Q l=O.1c.6z({x:g.1Z,y:g.2g});Q o=O.1c.6z({x:g.2b,y:g.1Y});Q b=X P.5B(l.1U,l.1T,o.1U,o.1T);19(Q f=1,c=O.2B.W;f<c;++f){Q h=O.2B[f];Q n=[];19(Q e=0,r=h.1h.W;e<r;++e){Q t=h.1h[e];if(!t.ov()){1W}if(O.s7==R||P.1o.3t(O.s7,t.T.1t)>-1){Q q=t.T.2D();if(q===R){1W}Q p=q.7N();Q m=X P.U.1f(p.1U,p.1T);if(b.me().rc(m)){if(P.1o.3t(h.3B,t)===-1){n.17(t)}}}}if(n.W>0){Q s=h.1p.1E("s6",{1h:n});if(s!==1d){19(Q d=0;d<n.W;d++){n[d].T.3c=1a;O.1h.17(n[d]);h.3B.17(n[d])}O.aA();if(!(h.5s===1d||h.4P===1a)){O.9d=1d;O.1G.61();if(O.3T.2x.1b.4V){O.1G.2x.1b.4R()}}h.1p.1E("s5",{1h:n})}}}}13{if(g 1l P.3M){Q a=O.bd(g);if(a!==R){O.9W(a)}13{O.9Y()}}}if(O.1h.W!==0&&O.7c){O.3T.2x.aC.4R()}},6E:S(c){if(!(c.T 1l P.U.1N)){Y}Q b=c.1g;Q a=b.1p.1E("s6",{1h:[c]});if(a!==1d){if(!(c.T 1l P.U.1N)){Y}c.T.3c=1a;b.3B.17(c);if(!O.3T.2x.1b.mi){O.3T.2x.1b.mi=b.3B[0]}O.1h.17(c);O.aA();if(!(b.5s===1d||b.4P===1a)){O.9d=1d;if(O.1G.8g!==1a){O.1G.61()}if(O.3T.2x.1b.4V||O.1G.2x.38.4V){O.1G.2x.1b.4R()}if(O.7c){O.3T.4R()}}if(c.T 1l P.U.4n){c.T.3X.3c=1a;O.m5(c.T.3X)}if(c.T.4K!==1k&&c.T.4K!==R&&P.1o.3t(O.1h,c.T.4K.1b)===-1){c.T.4K.3c=1a}b.1p.1E("s5",{1h:[c]})}},9Y:S(){if(O.1h.W===0){Y}19(Q d=1,b=O.2B.W;d<b;++d){Q a=[];Q c=-1;Q g=O.2B[d];19(Q f=0;f<g.3B.W;){Q e=g.3B[f];if((c=P.1o.3t(O.1h,e))!==-1){if(e.T 1l P.U.4n){O.m4(e.T.3X);e.T.3X.3c=1d}P.1o.fR(g.3B,e);O.1h[c].T.3c=1d;if(O.1h[c].T.4K!==1k&&O.1h[c].T.4K!==R){O.1h[c].T.4K.3c=1d}a.17(O.1h[c])}}g.1p.1E("s4",{1h:a,9d:O.9d})}O.iu();O.1h.W=0;O.1h=[];O.1G.4R();O.3T.4R();O.3T.61();3j O.82;O.82={};3j O.8D;O.8D={};3j O.9X;O.9X={};3j O.5n;O.5n={};3j O.9b;O.9b={};3j O.cN;O.cN={};if(O.2o&&O.2o.1O.W!==0){P.33.3q().6d().69(O.2o);O.2o=R;O.62=1d}O.9d=1d},cP:S(d){if(P.1o.3t(O.1h,d)===-1){Y}Q c=d.1g;d.T.3c=1d;if(P.1o.3t(c.3B,d)!==-1){P.1o.fR(c.3B,d)}if(P.1o.3t(O.1h,d)!==-1){P.1o.fR(O.1h,d)}O.cI(d);if(d.T.4K!==1k&&d.T.4K!==R){Q a=1d;19(Q b=0;b<d.T.4K.11.W;b++){if(P.1o.3t(O.1h,d)!==-1){a=1a;1B}}d.T.4K.3c=a}if(d.T 1l P.U.4n){O.m4(d.T.3X);d.T.3X.3c=1d}if(O.1h.W===0){O.1G.4R();O.3T.4R();O.3T.61();if(O.2o&&O.2o.1O.W!==0){P.33.3q().6d().69(O.2o);O.2o=R;O.62=1d}}c.1p.1E("s4",{1h:[d],9d:O.9d});O.9d=1d},ik:S(e,b){Q t=e.1g;if(O.1G.2x.38.4V){Q p=O.1c.2G(b);Q c=O.bd(b);if(c===R){O.9Y();Y}if(e!==c){if(c.T 1l P.U.43){if(O.1G.8g){O.1G.7w.1q(O.1G,[c])}O.1c.1p.un({80:O.1G.2x.38.80,8f:O.1G.2x.38.8f,7T:O.1G.2x.38.7T,7v:O.1G.2x.38.7v,3R:O.1G.2x.38});e=c}13{if(c.T 1l P.U.1N&&P.1o.3t(c.T.11,e)===-1){O.9W(c);e=c}13{if(c.T 1l P.U.1N&&P.1o.3t(c.T.11,e)!==-1){19(Q o=0;o<c.T.11.W;o++){Q n=t.6E(c.T.11[o],p,t.cO());if(n!==R){if(c.T 1l P.U.4H&&!(n.T 1l P.U.4n)&&!(n.T 1l P.U.9N)){n=R;1W}13{if(e!==n){O.9W(n);e=n}}1B}}if(n===R){e=c}}}}O.1G.99=b;O.1G.2x.38.fQ=1a;O.1G.2x.38.87=b;O.1G.2x.38.fP=b}}if(!O.2o){O.2o=X P.V.6a();O.2o.7F=P.V.7E.bW;O.62=1a}if(e.T 1l P.U.4n&&e.T.3X.3c&&O.5A===P.V.5j.ae){Q a=e.T.e5();Q l=e.T.e4();if(a===1a||l===1a){Q s=e.T.3X.qf(e.T.3C,a,l);if(s!==R){O.9W(s);O.1G.99=b;O.1G.2x.38.fQ=1a;O.1G.2x.38.87=b;O.1G.2x.38.fP=b;e=s;Q j=X P.V.4d();j.3L=e.1g.id;j.1r=e.T.1r;j.3b="7G";j.4h=[P.V.1m.3F(e.T.18)];j.4c=[P.V.1m.3F(e.T.18)];O.2o.1O.17(j);if(O.2o){P.33.3q().6d().69(O.2o);O.2o=X P.V.6a();O.62=1a}}}}O.iB=b;if(P.1o.3t(O.1h,e)===-1&&e.T 1l P.U.1N&&!(e.T 1l P.U.3I)&&!(e.T 1l P.U.4H)){O.9W(e);O.1G.99=b;O.1G.2x.38.fQ=1a;O.1G.2x.38.87=b;O.1G.2x.38.fP=b;if(e.T 1l P.U.3I){O.5n[e.T.1r]=O.47[e.T.1r]}13{O.5n[e.T.1r]=P.V.1m.3F(e.T.18)}}13{if(P.1o.3t(O.1h,e)!==-1&&(e.T 1l P.U.1N)){if(O.7c===1a&&9e.iA&&9e.iA.9Z===1a&&!(e.T 1l P.U.3I)){O.cP(e)}13{if(O.5A===P.V.5j.ae&&(P.V.9a.ab!==O.94(e)||e.T.1s===P.V.1i.a9)){O.rO(e,b)}13{19(Q o=0;o<O.1h.W;o++){if(O.1h[o].T 1l P.U.3I){O.5n[O.1h[o].T.1r]=O.47[O.1h[o].T.1r]}13{O.5n[O.1h[o].T.1r]=P.V.1m.3F(O.1h[o].T.18)}if(O.1h[o].T.1s===P.V.1i.5b){O.fY[O.1h[o].T.1r]={x:O.1h[o].T.5y,y:O.1h[o].T.5x}}}}}}13{if(e.T 1l P.U.4H&&e.T.3c&&O.5A===P.V.5j.ae){Q h=t.2G(b);Q m=X P.U.1f(h.1U,h.1T);Q q=O.m8();Q r=e.T.qe(m,q);if(r!==R){O.9W(r);O.1G.99=b;O.1G.2x.38.fQ=1a;O.1G.2x.38.87=b;O.1G.2x.38.fP=b;e=r;19(Q o=0;o<O.1h.W;o++){O.5n[O.1h[o].T.1r]=P.V.1m.3F(O.1h[o].T.18);if(O.1h[o].T.1s===P.V.1i.5b){O.fY[O.1h[o].T.1r]={x:O.1h[o].T.5y,y:O.1h[o].T.5x}}}}}}}if(e.T 1l P.U.1N&&P.1o.3t(O.1h,e)===-1){Y}if(e.T 1l P.U.43&&O.5A!==P.V.5j.do){19(Q o=0;o<O.1h.W;o++){Q d=O.1h[o].T;if(d 1l P.U.3g){1W}if(d.8k()){O.8D[d.1r]=d.bx()}if(d.2a&&d.2a.W&&d.2a.W!==0){O.9b[d.1r]=[];19(Q g=0;g<d.2a.W;g++){O.9b[d.1r].17(d.2a[g])}}13{O.9b[d.1r]=[]}if(d.1M&&d.1M.W&&d.1M.W!==0){O.cN[d.1r]=P.V.1m.3F(d.1M)}O.82[d.1r]=d.br();O.5n[d.1r]=P.V.1m.3F(d.18);if(d.1s===P.V.1i.c5&&O.5n[d.1r].W===1){O.5n[d.1r].17(d.1M[0].2s())}if(d 1l P.U.cB){O.5n[d.1r].17(d.55);O.5n[d.1r].17(d.56)}Q f=d.2D();if(f!==R){f=f.2s()}O.9X[d.1r]=f;if(!(d 1l P.U.59)&&d.1s!==P.V.1i.8V&&!(d 1l P.U.bp)&&f!==R){Q k=f.7N();d.4q=X P.U.1f(k.1U,k.1T)}13{if(d.1s===P.V.1i.8V){d.4q=X P.U.1f(d.18[0].x,d.18[0].y)}}}}13{if(e.T 1l P.U.43&&O.5A===P.V.5j.do){O.rN(e.4z.1b,b)}}O.9U=b;O.fZ=b;O.ij=X 7h().6W();P.ei.ii(O.1c.bA,"rx");O.1c.bA.Z.7S="8b";O.im(e,b)},ih:S(f,c){if(O.5A===P.V.5j.do){O.it(P.V.5j.dp);Y}if(f.T 1l P.U.1N&&P.1o.3t(O.1h,f)===-1){Y}if((f.T 1l P.U.1N&&f.1g.4P)||(f.T 1l P.U.43&&f.4z.1b.1g.4P)){O.9Y();Y}O.9d=1a;if((f.T.1t=="P.U.43"&&O.5A===P.V.5j.c0)||(f.T 1l P.U.1N&&(O.5A!==P.V.5j.ae))){if(f.T 1l P.U.1N){if(!O.1G.2x.38.4V){O.iu();O.fX=1a}}13{O.mb(1d);O.ek=1a}}if(f.T.1t=="P.U.43"){if(O.5A===P.V.5j.c0&&f.T.3y===0){O.rV(f,c)}13{if(O.5A===P.V.5j.c0&&f.T.3y>0){O.rU(f,c)}13{if(!f.T.6B){O.rT(f,c)}}}}13{if(f.T 1l P.U.1N){O.9U=c;19(Q e=0,a=O.1h.W;e<a;e++){Q d=O.1h[e];if(!(d.1g.4Z 1l P.2Q.9z)){if(d.T 1l P.U.4n){d.1g.2l(d.T.3X.1b)}13{d.1g.2l(d)}}}19(Q b=0;b<O.2B.W;b++){if(O.2B[b].4Z 1l P.2Q.9z){O.2B[b].gv()}}}}O.eg(f,c)},ig:S(h,e){if(h.T 1l P.U.1N&&P.1o.3t(O.1h,h)===-1){Y}if(O.1g.4P){O.9Y();Y}3j O.9U;if(O.1h.W!==0&&(O.ek===1a||O.fX===1a)){O.aA();O.ek=1d;O.fX=1d}O.mg();O.fU(O.1h,e);19(Q d=1,b=O.2B.W;d<b;++d){Q a=[];Q c=-1;Q g=O.2B[d];19(Q f=0;f<g.3B.W;f++){Q h=g.3B[f];if((c=P.1o.3t(O.1h,h))!==-1){a.17(O.1h[c])}}g.1p.1E("bV",{1h:a})}if(O.2o&&O.2o.1O.W!==0){P.33.3q().6d().69(O.2o);O.2o=X P.V.6a();O.62=1a}},s3:S(b){if(!O.1G.il){O.1G.2x.38.4R();Y}if(O.iB===1k||b===1k||O.iB.x!==b.x||O.iB.y!==b.y){Y}Q c=O.1G.1b;if(c.T.4K){c=c.T.4K.1b}if(!(c.T 1l P.U.3I)){Y}Q a=9e.iA||1K.z8.z7.1K[0];a.xy=b;O.9W(c,a)},7w:S(e,b){e.1g.cJ(e,b,O.5A);if(e.T 1l P.U.3I&&e.T.3c&&P.1o.3t(O.1h,e)===-1){Q a=e.1g.2G(b.xy);19(Q d=0;d<e.T.11.W;d++){Q c=e.1g.6E(e.T.11[d],a,O.1g.cO());if(c!==R){O.1G.7w.1q(O.1G,[c])}}}13{O.1G.7w.1q(O.1G,[e])}},eh:S(b,a){b.1g.cJ(R,a,O.5A);O.1G.eh.1q(O.1G,[b])},s2:S(b,a){b.1g.cJ(R,a,O.5A);O.mh=1a;O.s1(b)},s0:S(b,a){b.1g.cJ(b,a,O.5A);O.mh=1d;O.rZ(b,a);Q c=O;qg(S(){if(c.mh===1d){c.rY(b,a)}},c.rX)},ie:S(d){if(O.1G.1b.T 1l P.U.1N&&P.1o.3t(O.1h,O.1G.1b)===-1){Y}if(O.1G.1b.T.1s===P.V.1i.8q){Y}if(O.1G.99===R){Y}Q c=O.1g.2G(d);Q f=O.1g.2G(O.1G.99);Q a=c.1U-f.1U;Q g=c.1T-f.1T;if(O.1G.1b.T 1l P.U.1N&&(O.5A!==P.V.5j.ae||O.1G.1b.T 1l P.U.4n)){19(Q e=0;e<O.1h.W;e++){if(O.1h[e].T.1s===P.V.1i.8q){1W}if(O.1h[e].1g.f6()&&!O.1h[e].1g.70()&&O.1h[e].T.70()!==1a){O.1h[e].T.2n(a,g);O.1h[e].T.bv();O.rW(O.1h[e],a,g);if(O.62){Q b=X P.V.4d();b.3L=O.1h[e].1g.id;b.1r=O.1h[e].T.1r;b.3b="2n";O.2o.1O.17(b)}}}O.62=1d;if(O.1G.2x.38.4V){O.6F()}}13{if(O.1G.1b.T 1l P.U.43){if(!O.1G.1b.4z.70()&&!(O.5A===P.V.5j.dp&&(O.1G.1b.4z.1t==="P.U.3I"||O.1G.1b.4z 1l P.U.93)||O.1G.1b.4z 1l P.U.4n)){O.1G.1b.T.2n(a,g)}}}O.1G.99=d;O.1G.eg(O.1G.1b,d)},rV:S(k,c){Q f=O;S h(p){Y f.82[p.T.1r]}S e(p,s){19(Q u=0;u<f.1h.W;u++){if(!f.1h[u].1g.f6()||f.1h[u].1g.70()){1W}Q v=0;if(f.1h[u].T 1l P.U.59){Q t=h(f.1h[u]);v=p+t}13{v=s}v%=3Q;if(v<0){v+=3Q}f.1h[u].T.au(v);f.1h[u].1g.2l(f.1h[u]);if(f.62){Q q=X P.V.4d();q.3L=f.1h[u].1g.id;q.1r=f.1h[u].T.1r;q.3b="au";f.2o.1O.17(q)}}f.62=1d;19(Q r=0;r<f.2B.W;r++){if(f.2B[r].4Z 1l P.2Q.9z){f.2B[r].gv()}}}Q g=k.4z;Q o=R;if(g 1l P.U.59||g.1s===P.V.1i.8V){o=X P.2w(g.18[0].x,g.18[0].y)}13{o=X P.2w(g.4q.x,g.4q.y)}Q a=O.1c.3a(o);if(g 1l P.U.59&&g.6R===1a){a.x+=g.5y;a.y+=g.5x}Q n=(c.x-a.x)-(O.9U.x-a.x);Q l=(c.y-a.y)-(O.9U.y-a.y);if(n!==0&&l!==0){Q d=(1n.ar(O.9U.y-a.y,O.9U.x-a.x)-1n.ar(c.y-a.y,c.x-a.x));Q m=d*2M/1n.2r;Q j=m;if(O.fZ!==1k){Q b=(1n.ar(O.fZ.y-a.y,O.fZ.x-a.x)-1n.ar(c.y-a.y,c.x-a.x));j=b*2M/1n.2r}e(m,j)}O.fZ=c},rU:S(o,d){Q j=O;S c(r){Y j.8D[r.T.1r]}S p(u,t,w){Q z=[];19(Q E=0;E<j.1h.W;E++){if(!j.1h[E].1g.f6()||j.1h[E].1g.70()){1W}Q v=j.1h[E].T;if(v.70()===1a){1W}if(v.1s===P.V.1i.4C){j.6F(j.1h[E]);1W}if(v.8k()){Q x=0.z6;Q G=c(j.1h[E]);if(v.1s===P.V.1i.5b&&v.5e===1d){G.x=G.x===0?x:G.x;G.y=G.y===0?x:G.y;v.bo(G.x*u,G.y*t)}13{G=G===0?x:G;Q I=G*u;if(I>0){v.bo(I)}}j.1h[E].1g.2l(j.1h[E]);if(j.62){Q A=X P.V.4d();A.3L=j.1h[E].1g.id;A.1r=j.1h[E].T.1r;A.3b="bo";j.2o.1O.17(A)}}13{if(v.lJ()===9&&o.T.3y&&o.T.3y>0){Q B=e(j.1h[E]);Q D=g(j.1h[E]);Q y=v.qT(o.T.3y,B,w);v.cw(y,o.T.3y,B,D)}if(P.U.1N.5W(v.1v,v.1C)){S r(J){19(Q K=0;K<z.W;K++){if(z[K].T.1v===J.2z.1v&&z[K].T.1C===J.2z.1C){z[K].T.1j.3E=J.2z.3E;z[K].T.1j.1M=J.2z.1M;z[K].T.1j.2a=J.2z.2a;z[K].T.1u();z[K].1g.2l(z[K]);j.6F(z[K]);z.2N(0,1)}}}S F(J){hW.hV(J)}Q H=X P.1P.7L(j.1h[E].1g.1X);z.17(j.1h[E]);H.1p.on({4m:r,4l:F,3R:j});Q s=X P.1P.6L();s.1v=v.1v;s.1C=v.1C;s.5X=v.18;s.2a=v.2a;s.1S=v.1S;H.4N(s,j.1h[E].1g.27)}13{v.1u();j.1h[E].1g.2l(j.1h[E]);j.6F(j.1h[E])}if(j.62){Q A=X P.V.4d();A.3L=j.1h[E].1g.id;A.1r=j.1h[E].T.1r;A.3b="7G";j.2o.1O.17(A)}}}j.62=1d;19(Q C=0;C<j.2B.W;C++){if(j.2B[C].4Z 1l P.2Q.9z){j.2B[C].gv()}}}S e(r){Y j.9X[r.T.1r]}S g(r){Y j.5n[r.T.1r]}Q k=o.4z;Q l=e(o.4z.1b);Q h=k.qS(d,o.T.3y,l);Q f=1;Q a=k.lI(d,o.T.3y,l);Q b=0,q=0;if(k 1l P.U.1N&&k 1l P.U.59){b=l.5p()===0?k.3d.w*0.gh:l.5p();q=l.5F()===0?k.3d.h*0.gh:l.5F()}13{b=l.5p();q=l.5F()}Q n=a.5p()/b;Q m=a.5F()/q;if(2===o.T.3y||7===o.T.3y){f=m}13{if(4===o.T.3y||5===o.T.3y){f=n}13{f=n<m?n:m}}if(k 1l P.U.59&&k.5e===1d){p(n,m,R)}13{p(f,R,h)}},rT:S(m,c){Q n=m.4z;if(n.1t==="P.U.59"){Q j=m.T.x-n.18[0].x;Q g=m.T.y-n.18[0].y;if(n.6R===1d){19(Q h=0;h<O.1h.W;h++){O.1h[h].T.2n(j,g);O.1h[h].1g.2l(O.1h[h]);if(O.62){Q l=X P.V.4d();l.3L=O.1h[h].1g.id;l.1r=O.1h[h].T.1r;l.3b="7G";O.2o.1O.17(l)}}O.62=1d;O.6F()}13{n.2n(j,g);if(O.1c 1l P.2Q.92){n.1b.1g.2l(n.1b)}if(O.62){Q l=X P.V.4d();l.3L=n.1b.1g.id;l.1r=n.1r;l.3b="7G";O.2o.1O.17(l)}O.62=1d;O.6F(n.1b)}}13{if(n 1l P.U.4n){}13{if(P.U.1N.5W(n.1v,n.1C)){Q e=X 7h().6W();if(m.T.3y&&m.T.3y===-2){if(1k!==O.iz&&R!==O.iz){if(!((1n.2X(c.x-O.iz.x)>3||1n.2X(c.y-O.iz.y)>3)&&e-O.ij>4E)){Y}}}n.18=O.ay(m.4z.1b);Q o=X P.1P.7L(n.1b.1g.1X);o.1p.on({4m:q,4l:b,3R:O});Q d=X P.1P.6L();d.1v=n.1v;d.1C=n.1C;if(m.T.3y===-2){d.5X=n.18;d.1M=n.1M;d.2a=n.2a;d.bj=X P.U.1f(m.T.x,m.T.y);d.cg=m.T.4U}13{d.5X=n.18;d.2a=n.2a}d.1S=n.1S;o.4N(d,n.1b.1g.27);O.9U=c;O.ij=X 7h().6W();S q(r){n.1j.3E=r.2z.3E;n.1j.1M=r.2z.1M;n.1j.2a=r.2z.2a;n.1u();n.1b.1g.2l(n.1b);O.6F(n.1b)}S b(r){hW.hV(r)}}13{Q k=O.ay(m.4z.1b);if(n.1s===P.V.1i.aL){n.18[0]=k[0];n.18[n.18.W-1]=k[1]}13{n.18=k}Q a=O.m9(m.4z.1b);n.1M=a;if(n.1s===P.V.1i.bO){n.lA=1d}Q p=O.1c.2G(c);Q f=X P.U.1f(p.1U,p.1T);if(m.T.3y===-2){f.7U=1a}n.6k(m.T.4U,f);n.1b.1g.2l(n.1b);O.6F(n.1b);if(O.62){Q l=X P.V.4d();l.3L=n.1b.1g.id;l.1r=n.1r;l.3b="7G";if(m.T.3y===-2){l.3b="i5";if(n 1l P.U.dY||n 1l P.U.bp){l.3b="6k";l.4h=[m.T.4U];l.4c=[m.T.4U]}}O.2o.1O.17(l)}O.62=1d}}}},mg:S(){if(O.2o){19(Q p=0;p<O.2o.1O.W;p++){Q q=O.2o.1O[p].1r;Q h=O.1c.dl(O.2o.1O[p].3L).4b(q);if(h===R){19(Q o=0;o<O.1h.W;o++){if(O.1h[p].T.1r===q){h=O.1h[p];1B}}}if(h===R){O.2o.1O.2N(p,1);p--;1W}Q g=h.T;if(O.2o.1O[p].3b==="au"){if(g.8k()){O.2o.1O[p].4h=[O.82[q]];O.2o.1O[p].4c=[g.br()]}13{O.2o.1O[p].4h=[3Q-(g.br()-O.82[q])];O.2o.1O[p].4c=[(g.br()-O.82[q])]}}13{if(O.2o.1O[p].3b==="bo"){Q a=O.8D[q];if(g.5e===1d){O.2o.1O[p].4h=[a.x,a.y];O.2o.1O[p].4c=[g.bx().x,g.bx().y]}13{O.2o.1O[p].4h=[a];O.2o.1O[p].4c=[g.bx()]}}13{if(O.2o.1O[p].3b==="7G"){if(g 1l P.U.cB){O.2o.1O[p].4h=[O.5n[q]]}13{O.2o.1O[p].4h=[P.V.1m.3F(O.5n[q])]}O.2o.1O[p].4c=[P.V.1m.3F(g.18)];if(g 1l P.U.dY&&O.2o.1O[p].4c[0].W===1){O.2o.1O[p].4c[0].17(g.1M[0])}}13{if(O.2o.1O[p].3b==="i5"){Q n=[];Q e=[];19(Q k=0;k<O.9b[q].W;k++){n.17(O.9b[q][k])}19(Q k=0;k<g.2a.W;k++){e.17(g.2a[k])}O.2o.1O[p].4h=[n];O.2o.1O[p].4c=[e]}13{if(O.2o.1O[p].3b==="6k"){Q k=O.2o.1O[p].4h[0];O.2o.1O[p].4h.17(O.cN[q][k].2s());O.2o.1O[p].4h[1].7U=1a;Q k=O.2o.1O[p].4c[0];O.2o.1O[p].4c.17(g.1M[k].2s());O.2o.1O[p].4c[1].7U=1a}13{if(O.2o.1O[p].3b==="2n"){if(g.1s===P.V.1i.5b&&g.6R===1a){Q d=O.1c.3a(g.18[0]);Q c=d.x+O.fY[q].x;Q b=d.y+O.fY[q].y;Q l=O.1c.6z(X P.3M(c,b));d.x+=g.5y;d.y+=g.5x;Q f=O.1c.6z(d);Q t=l.1U-f.1U;Q s=l.1T-f.1T}13{if(g 1l P.U.3I){Q t=O.5n[q][0].T.x-O.47[q][0].T.x;Q s=O.5n[q][0].T.y-O.47[q][0].T.y}13{Q t=O.5n[q][0].x-g.18[0].x;Q s=O.5n[q][0].y-g.18[0].y}}O.2o.1O[p].4h=[t,s];O.2o.1O[p].4c=[-t,-s]}}}}}}}}19(Q p=0,r=O.1h.W;p<r;++p){Q g=O.1h[p].T;Q q=g.1r;if(O.82.2k(q)){O.82[q]=g.br()}if(O.8D.2k(q)){O.8D[q]=g.bx()}if(O.5n.2k(q)){O.5n[q]=P.V.1m.3F(g.18)}if(O.9X.2k(q)&&g.2D()!==R){O.9X[q]=g.2D()}if(!(g 1l P.U.59)&&!(g 1l P.U.bp)&&!(g 1l P.U.dY)&&g.2D()!==R){Q m=g.2D().7N();g.4q=X P.U.1f(m.1U,m.1T)}}},aA:S(){if(O.ek===1a){O.mb(1a)}13{O.iu();Q a=[];19(Q b=0;b<O.1h.W;b++){a=a.4Y(O.fO(O.1h[b]))}if(a.W!==0){O.1g.5r(a,{f4:1a})}}},6F:S(e){if(e===1k){e=O.1h}13{if(!P.1o.4g(e)){e=[e]}}Q b=[];19(Q t=0;t<e.W;t++){Q d=e[t];if(P.1o.3t(O.1h,d)===-1){1W}if(!d||!d.T){1W}Q c=d.T;if(!(c 1l P.U.1N)){1W}Q o=[];Q f=[];Q a=[];Q v=[];Q u=R;Q w,q,p,s,r;if(!d.1g.5s||d.1g.4P){if(O.7x.2k(c.1r)){u=O.7x[c.1r]}if(u!==R&&c.2D()!==R){Q g=c.2D().2s();Q h=g.me();u.T.11=h.11}}13{if(c.70()===1a){if(O.47.2k(c.1r)){v=O.47[c.1r]}w=c.i6();if(v.W!==0&&v.W===w.W){19(q=0;q<v.W;++q){v[q].T.x=w[q].x;v[q].T.y=w[q].y;v[q].T.1u()}}}13{if(d.T.1s!==P.V.1i.ah){if(O.18.2k(c.1r)){o=O.18[c.1r]}}if(O.1M.2k(c.1r)){f=O.1M[c.1r]}if(o.W>0){if(c 1l P.U.3I||c 1l P.U.4n){w=c.fG().47;19(s=0;s<o.W;++s){o[s].T.x=w[s].x;o[s].T.y=w[s].y;o[s].T.1u()}}13{if(c.1s===P.V.1i.aL&&o.W===2){o[0].T.x=c.18[0].x;o[0].T.y=c.18[0].y;o[0].T.1u();o[1].T.x=c.11[0].11[0].11[c.11[0].11[0].11.W-1].x;o[1].T.y=c.11[0].11[0].11[c.11[0].11[0].11.W-1].y;o[1].T.1u()}13{19(s=0;s<o.W;++s){o[s].T.x=c.18[s].x;o[s].T.y=c.18[s].y;o[s].T.1u()}}}}if(f.W>0&&c.1M.W===f.W){19(r=0;r<f.W;++r){f[r].T.x=c.1M[r].x;f[r].T.y=c.1M[r].y;f[r].T.1u()}}if(O.5Q.2k(c.1r)){a=O.5Q[c.1r]}if(O.47.2k(c.1r)){v=O.47[c.1r]}if(a.W!==0||v.W!==0){Q l=c.fG();if(l.47.W===v.W){19(q=0;q<v.W;++q){v[q].T.x=l.47[q].x;v[q].T.y=l.47[q].y;v[q].T.1u()}}if(l.5Q.W===a.W){19(p=0;p<a.W;++p){a[p].T.x=l.5Q[p].x;a[p].T.y=l.5Q[p].y;a[p].T.1u()}}}}}if(o.W>0){b=b.4Y(o)}if(f.W>0){b=b.4Y(f)}if(a.W>0){b=b.4Y(a)}if(v.W>0){b=b.4Y(v)}if(u!==R){b=b.4Y([u])}}O.8o(b)},fO:S(k){if(!k||!k.T){Y}if(!(k.T 1l P.U.1N)){Y}Q h=[];Q c=O;Q l=[];Q j=[];Q d=[];Q e=[];Q b=R;S g(x){Q s,n,w;Q y,s,p;if(x.70()===1a){y=x.i6();19(p=0;p<y.W;p++){w=X P.U.43(y[p].x,y[p].y,y[p].3y,O.1c,1a,y[p].4U);w.1u();n=X P.5L.4f(w);n.7Z=1a;n.Z=P.1o.2v(n.Z,c.rS);if(c.mf){n.Z=P.1o.2v(n.Z,c.mf)}n.4z=x;e.17(n)}}13{if(O.5A===P.V.5j.c0){Q r=x.fG();19(p=0;p<r.47.W;p++){w=X P.U.43(r.47[p].x,r.47[p].y,r.47[p].3y,O.1c,x.70(),r.47[p].4U);w.1u();n=X P.5L.4f(w);n.7Z=1a;n.Z=P.1o.2v(n.Z,c.cM);if(c.81){n.Z=P.1o.2v(n.Z,c.81)}n.4z=x;e.17(n)}19(p=0;p<r.5Q.W;p++){w=X P.U.43(r.5Q[p].x,r.5Q[p].y,0,O.1c,x.70(),r.5Q[p].4U);w.1u();n=X P.5L.4f(w);n.7Z=1a;n.Z=P.1o.2v(n.Z,c.rR);if(c.9c){n.Z=P.1o.2v(n.Z,c.9c)}n.4z=x;d.17(n)}}13{if(x 1l P.U.3I||x 1l P.U.4n){if(x 1l P.U.bp){if(x 1l P.U.1N&&x.1M!==R){19(p=0;p<x.1M.W;p++){w=X P.U.43(x.1M[p].x,x.1M[p].y,-2,O.1c,1d,x.1M[p].4U);w.1u();n=X P.5L.4f(w);n.7Z=1a;n.Z=P.1o.2v(n.Z,c.ej);if(c.9c){n.Z=P.1o.2v(n.Z,c.9c)}n.4z=x;j.17(n)}}}13{y=x.fG().47;19(s=0;s<y.W;++s){w=X P.U.43(y[s].x,y[s].y,y[s].3y,O.1c,1d,s);n=X P.5L.4f(w);n.7Z=1a;n.Z=P.1o.2v(n.Z,c.cM);if(c.81){n.Z=P.1o.2v(n.Z,c.81)}w.1u();n.4z=x;l.17(n)}}}13{if(x.1s===P.V.1i.aL){Q q=X P.U.43(x.18[0].x,x.18[0].y,-1,O.1c);q.1u();Q m=X P.5L.4f(q);m.7Z=1a;m.Z=P.1o.2v(m.Z,c.cM);if(c.81){m.Z=P.1o.2v(m.Z,c.81)}m.4z=x;l.17(m);Q t=P.V.1m.3F(x.11[0].11[0].11[x.11[0].11[0].11.W-1])[0];Q o=X P.U.43(t.x,t.y,-1,O.1c);o.1u();Q v=X P.5L.4f(o);v.7Z=1a;v.Z=P.1o.2v(v.Z,c.cM);if(c.81){v.Z=P.1o.2v(v.Z,c.81)}v.4z=x;l.17(v);if(x 1l P.U.1N&&x.1M!==R){19(p=0;p<x.1M.W;p++){w=X P.U.43(x.1M[p].x,x.1M[p].y,-2,O.1c,1d,x.1M[p].4U);w.1u();n=X P.5L.4f(w);n.7Z=1a;n.Z=P.1o.2v(n.Z,c.ej);if(c.9c){n.Z=P.1o.2v(n.Z,c.9c)}n.4z=x;j.17(n)}}}13{Q u=x.18.W;19(s=0;s<u;++s){w=X P.U.43(x.18[s].x,x.18[s].y,-1,O.1c,1d,s);n=X P.5L.4f(w);n.7Z=1a;if(x 1l P.U.3g){n.Z=P.1o.2v(n.Z,c.ic);w.ew=2.5}13{n.Z=P.1o.2v(n.Z,c.cM);if(c.81){n.Z=P.1o.2v(n.Z,c.81)}}w.1u();n.4z=x;l.17(n)}if(x 1l P.U.1N&&x.1M!==R){19(p=0;p<x.1M.W;p++){w=X P.U.43(x.1M[p].x,x.1M[p].y,-2,O.1c,1d,x.1M[p].4U);w.1u();n=X P.5L.4f(w);n.7Z=1a;n.Z=P.1o.2v(n.Z,c.ej);if(c.9c){n.Z=P.1o.2v(n.Z,c.9c)}n.4z=x;j.17(n)}}}}}}}if(!k.1g.5s||k.1g.4P){Q a=k.T.2D().2s();Q f=a.me();b=X P.5L.4f(f);b.7Z=1a;b.Z=P.1o.2v(b.Z,c.rQ);if(c.md){b.Z=P.1o.2v(b.Z,c.md)}h=h.4Y([b])}13{g.mC(O,k.T)}if(k.T.1s!==P.V.1i.ah){if(l.W>0){h=h.4Y(l)}}if(j.W>0){h=h.4Y(j)}if(d.W>0){h=h.4Y(d)}if(e.W>0){h=h.4Y(e)}O.18[k.T.1r]=l;O.1M[k.T.1r]=j;O.5Q[k.T.1r]=d;O.47[k.T.1r]=e;O.7x[k.T.1r]=b;Y h},6j:S(d){Q b=O.3T.aC;O.3T.aC=1a;O.3T.6j(d);O.3T.aC=b;O.1G.6j(d);O.aB.6j(d);P.4v.1y.6j.1q(O,1K);Q c=O.1c.2B;19(Q a=0;a<c.W;a++){if(c[a].1t==="P.2O.4u"&&c[a].mc()&&P.1o.3t(O.2B,c[a])===-1){c[a].1p.6e("fT",O,O.cK);c[a].1p.6e("bV",O,O.fS);c[a].1p.6e("6Y",O,O.iy);c[a].1p.6e("7M",O,O.ix);c[a].1p.6e("ax",O,O.iw);c[a].1p.6e("e3",O,O.iv);O.2B.17(c[a])}}O.1c.f7([O.8h]);O.el();O.1c.1p.6e("z5",O,O.dj);O.1c.1p.6e("z4",O,O.dk)},ma:S(){Q c=[];19(Q a=0;a<O.1h.W;a++){Q b=O.1h[a].T.1r;if(O.18.2k(b)){c=c.4Y(O.18[b])}if(O.1M.2k(b)){c=c.4Y(O.1M[b])}if(O.5Q.2k(b)){c=c.4Y(O.5Q[b])}if(O.47.2k(b)){c=c.4Y(O.47[b])}if(O.7x.2k(b)&&O.7x[b]!==R){c.17(O.7x[b])}}Y c},iu:S(){Q a=O.ma();if(a.W===0){Y}O.18=[];O.1M=[];O.5Q=[];O.47=[];O.7x=[];O.1g.4B(a);O.fX=1d;O.ek=1d},rP:S(a){Q c=[];Q b=a.T.1r;if(O.18.2k(b)){c=c.4Y(O.18[b])}if(O.1M.2k(b)){c=c.4Y(O.1M[b])}if(O.5Q.2k(b)){c=c.4Y(O.5Q[b])}if(O.47.2k(b)){c=c.4Y(O.47[b])}if(O.7x.2k(b)&&O.7x[b]!==R){c.17(O.7x[b])}Y c},cI:S(b){Q a=O.rP(b);Q d=a.53();Q c=b.T.1r;if(O.18.2k(c)){3j O.18[c]}if(O.1M.2k(c)){3j O.1M[c]}if(O.5Q.2k(c)){3j O.5Q[c]}if(O.47.2k(c)){3j O.47[c]}if(O.7x.2k(c)){3j O.7x[c]}if(O.82.2k(c)){3j O.82[c]}if(O.8D.2k(c)){3j O.8D[c]}if(O.9X.2k(c)){3j O.9X[c]}if(O.5n.2k(c)){3j O.5n[c]}if(O.9b.2k(c)){3j O.9b[c]}if(O.cN.2k(c)){3j O.cN[c]}O.1g.4B(d);O.fX=1d;O.ek=1d},mb:S(d){if(O.1G.2x.38.4V){Y}Q b=O.ma();Q c="z3";if(d===1d){c="3O"}19(Q a=0;a<b.W;a++){b[a].Z.21=c}O.8o(b,1a)},ay:S(b){Q c=[];if(b.T 1l P.U.3g){c=O.18[b.T.1r]}13{if(O.5A===P.V.5j.dp||O.5A===P.V.5j.ae){c=O.18[b.T.1r]}13{c=O.47[b.T.1r]}}Q d=[];19(Q a=0;a<c.W;a++){d.17(X P.U.1f(c[a].T.x,c[a].T.y))}Y d},m9:S(d){Q a=O.1M[d.T.1r];Q c=[];19(Q b=0;b<a.W;b++){c.17(X P.U.1f(a[b].T.x,a[b].T.y))}Y c},rO:S(p,c){if(!p.1g.5s||p.1g.4P){Y}if(p.T.1s===P.V.1i.a9){Q f=p.1g.2G(c);Q l=X P.U.1f(f.1U,f.1T);Q a;Q b=X P.U.43(l.x,l.y,-2,O.1c,1d,p.T.1M.W);b.1u();a=X P.5L.4f(b);a.4z=p.T;a.7Z=1a;a.Z=P.1o.2v(a.Z,O.ej);if(O.ej){a.Z=P.1o.2v(a.Z,O.9c)}O.9b[p.T.1r]=p.T.2a;Q n=p.T.2a.53();Q k=O.1M[p.T.1r];k.17(a);p.T.1M=O.m9(p);p.T.1M[p.T.1M.W-1].7U=1a;p.T.6k(p.T.1M.W-1,p.T.1M[p.T.1M.W-1]);O.1g.5r([a]);O.1G.7w.1q(O.1G,[a]);p.1g.2l(p,p.Z,{3c:1a});Q h=X P.V.4d();h.3L=p.1g.id;h.1r=p.T.1r;h.3b="i5";h.4h=[n];h.4c=[p.T.2a];O.2o.1O.17(h);if(O.2o){P.33.3q().6d().69(O.2o);O.2o=X P.V.6a();O.62=1a}}13{Q j=O.94(p);if(P.V.7Y.hU(O.1v,O.1C)){if(p.T.aw===1a){j=P.V.9a.d3}}if(P.V.9a.ab===j){Y}Q f=p.1g.2G(c);Q l=X P.U.1f(f.1U,f.1T);if(p.T.18.W>=p.T.5w){Y}Q m=-1;Q e=R;if(P.V.9a.jy===O.94(p)){m=O.rL(p,l)}13{if(P.V.9a.d3===O.94(p)){m=O.rM(p,l)}}Q g=O.ay(p);if(m>0&&m<g.W){Q d=X P.U.43(l.x,l.y,-1,O.1c);d.1u();e=X P.5L.4f(d);e.4z=p.T;e.7Z=1a;e.Z=P.1o.2v(e.Z,O.cM);if(O.81){e.Z=P.1o.2v(e.Z,O.81)}Q o=O.18[p.T.1r];o.2N(m,0,e);p.T.18=O.ay(p);O.1g.5r([e]);O.1G.7w.1q(O.1G,[e]);p.1g.2l(p,p.Z,{3c:1a});Q h=X P.V.4d();h.3L=p.1g.id;h.1r=p.T.1r;h.3b="7G";h.4h=[g];h.4c=[P.V.1m.3F(p.T.18)];O.2o.1O.17(h);if(O.2o){P.33.3q().6d().69(O.2o);O.2o=X P.V.6a();O.62=1a}}}},rN:S(k,b){if(!k.1g.5s||k.1g.4P){Y}if(P.V.9a.ab===O.94(k)){Y}if(k.T.18.W<=k.T.3W){Y}Q h=O;Q f=S(n,l,o){Q m=X P.V.4d();m.3L=n.1g.id;m.1r=n.T.1r;m.3b=o.6l();m.4h=[l];m.4c=[P.V.1m.3F(n.T.18)];h.2o.1O.17(m);if(h.2o){P.33.3q().6d().69(h.2o);h.2o=X P.V.6a();h.62=1a}};Q d=k.1g.2G(b);Q g=X P.U.1f(d.1U,d.1T);Q j=P.V.1m.3F(k.T.18);Q e=O.18[k.T.1r];Q a=-1;19(Q c=0;c<e.W;c++){if(P.V.1m.5q(g.x,e[c].T.x,0.5)&&P.V.1m.5q(g.y,e[c].T.y,0.5)){a=c}}if(a!==-1&&a<e.W){k.T.18.2N(a,1);k.T.1u();O.1g.4B([e[a]]);e.2N(a,1);k.1g.2l(k,k.Z,{3c:1a});if(k.T.18.W<=k.T.3W){O.it(P.V.5j.dp)}O.aA()}13{O.it(P.V.5j.dp)}f(k,j,"7G")},94:S(a){if(R===a){Y P.V.9a.ab}if(a.T.1v===22&&a.T.1C===dq){if(a.T.qp()===0){Y P.V.9a.d3}13{Y P.V.9a.jy}}13{Y P.U.1N.94(a.T.1v,a.T.1C)}},m8:S(){Q d=O.m7;if(O.3T.2x.1b.4V||O.1G.2x.38.4V){d=O.m6}Q c=O.1c.2G(X P.3M(0,0));Q b=O.1c.2G(X P.3M(d,0));Q a=P.V.1m.2J({x:c.1U,y:c.1T},{x:b.1U,y:b.1T});Y a},rM:S(c,a){Q b=-1;Q d=O.ay(c);b=O.cA(a,d).7I;if(b>=0){b++}Y b},rL:S(b,n){Q h=O.ay(b);Q q=P.V.1m.aJ(h);if(2>q.W){Y-1}Q j=[];Q e=0;Q p,l;19(l=1;l<h.W;l++){Q v=[];19(p=e;p<q.W;p++){if(P.V.1m.5q(h[l].x,q[p].x)&&P.V.1m.5q(h[l].y,q[p].y)){if(v.W<1){1W}v.17(q[p]);j.17(v);v=[];e=p;1B}13{v.17(q[p])}}}Q u=-1;Q g=-1;19(p=0;p<j.W;p++){Q a=O.cA(n,j[p]).fv;if(a<0){1W}if(g<0){g=a;u=p+1}13{if(g>a){g=a;u=p+1}}}Q c=[];Q d=0;Q o=h.53();o.17(o[0]);Q s=P.V.1m.aJ(o);19(l=1;l<o.W;l++){Q t=[];19(p=d;p<s.W;p++){if(P.V.1m.5q(o[l].x,s[p].x)&&P.V.1m.5q(o[l].y,s[p].y)){if(t.W<1){1W}t.17(s[p]);c.17(t);t=[];d=p;1B}13{t.17(s[p])}}}Q f=-1;Q k=-1;19(p=0;p<c.W;p++){Q r=O.cA(n,c[p]).fv;if(r<0){1W}if(k<0){k=r;f=p+1}13{if(k>r){k=r;f=p+1}}}if(f>u){u=-1}Y u},cA:S(b,d){Q a=O.m8();Q c=P.V.1m.cA(b,d);if(c.fv>a){c.7I=-1}Y c},8o:S(c){if(R===c){Y}19(Q b=0;b<c.W;b++){Q a=c[b];if(1k===a||R===a){1W}O.1g.2l(a)}},bd:S(a){Q c=R;Q e=O.m7;if(O.3T.2x.1b.4V||O.1G.2x.38.4V){e=O.m6}Q d=O.1c.6z(a);19(Q b=0;b<O.2B.W;b++){c=O.2B[b].bd(d,e);if(c!==R){Y c}}Y c},m5:S(b){if(O.fw){Q a=P.1o.6b(O.rK);if(O.bt){P.1o.2v(a,O.bt)}b.qi(a);b.1b.1g.2l(b.1b)}},m4:S(a){a.qh();a.1b.1g.2l(a.1b)},z2:S(j){Q l=[];19(Q e=0;e<O.1h.W;e++){if(O.1h[e].T.1s===P.V.1i.5b){l.17(O.1h[e])}}if(l.W<2){Y}Q c=X P.V.6a();P.33.3q().6d().69(c);if(j===P.V.gI.nF){Q a=O.1h[O.1h.W-1].T.2t.w;19(Q e=0;e<O.1h.W-1;e++){Q m=O.1h[e].T.2t.w;O.1h[e].T.ao(a,O.1h[e].T.2t.h);O.1h[e].1g.2l(O.1h[e]);Q h=X P.V.4d();h.3L=O.1h[e].1g.id;h.1r=O.1h[e].T.1r;h.3b="ao";h.4h=[m,O.1h[e].T.2t.h];h.4c=[a,O.1h[e].T.2t.h];c.1O.17(h)}}13{if(j===P.V.gI.nE){Q n=O.1h[O.1h.W-1].T.2t.h;19(Q e=0;e<O.1h.W-1;e++){Q d=O.1h[e].T.2t.h;O.1h[e].T.ao(O.1h[e].T.2t.w,n);O.1h[e].1g.2l(O.1h[e]);Q h=X P.V.4d();h.3L=O.1h[e].1g.id;h.1r=O.1h[e].T.1r;h.3b="ao";h.4h=[O.1h[e].T.2t.w,d];h.4c=[O.1h[e].T.2t.w,n];c.1O.17(h)}}13{if(j===P.V.gI.nD){Q g=O.1h[O.1h.W-1].T.2t.w;Q f=O.1h[O.1h.W-1].T.2t.h;19(Q e=0;e<O.1h.W-1;e++){Q k=O.1h[e].T.2t.w;Q b=O.1h[e].T.2t.h;O.1h[e].T.ao(g,f);O.1h[e].1g.2l(O.1h[e]);Q h=X P.V.4d();h.3L=O.1h[e].1g.id;h.1r=O.1h[e].T.1r;h.3b="ao";h.4h=[k,b];h.4c=[g,f];c.1O.17(h)}}}}O.6F()},z1:S(g){if(O.1h.W<3){Y}Q q=X P.V.6a();P.33.3q().6d().69(q);Q n=[];19(Q p=0;p<O.1h.W;p++){Q d=O.1h[p].T.2D();n.17(X P.U.1f(d.7N().1U,d.7N().1T))}Q c=O.1h.53();if(g===P.V.jM.nC){19(Q p=0;p<n.W;p++){19(Q o=0;o<n.W-1-p;o++){if(n[o].x>n[o+1].x){Q v=n[o+1];n[o+1]=n[o];n[o]=v;Q f=c[o+1];c[o+1]=c[o];c[o]=f}}}Q b=1n.2X(n[n.W-1].x-n[0].x);Q u=b/(n.W-1);19(Q l=1;l<n.W-1;l++){Q k=n[n.W-1].x-u*l;Q h=k-n[l].x;c[l].T.2n(h,0);c[l].1g.2l(c[l]);Q e=X P.V.4d();e.3L=c[l].1g.id;e.1r=c[l].T.1r;e.3b="2n";e.4h=[-h,0];e.4c=[h,0];q.1O.17(e)}}13{if(g===P.V.jM.nB){19(Q p=0;p<n.W;p++){19(Q o=0;o<n.W-1-p;o++){if(n[o].y>n[o+1].y){Q v=n[o+1];n[o+1]=n[o];n[o]=v;Q f=c[o+1];c[o+1]=c[o];c[o]=f}}}Q a=1n.2X(n[n.W-1].y-n[0].y);Q t=a/(n.W-1);19(Q l=1;l<n.W-1;l++){Q s=n[n.W-1].y-t*l;Q r=s-n[l].y;c[l].T.2n(0,r);c[l].1g.2l(c[l]);Q e=X P.V.4d();e.3L=c[l].1g.id;e.1r=c[l].T.1r;e.3b="2n";e.4h=[0,-r];e.4c=[0,r];q.1O.17(e)}}}O.6F()},1t:"P.4v.ir"});P.4v.z0=P.23(P.4v,{fW:R,1X:"",8S:R,9V:R,cL:R,1I:S(c,a,b){O.fW=c;O.1X=a;c.is=O;P.4v.1y.1I.1q(O,[b]);O.cL=X P.4v.yZ(c,{yY:O.rH,yX:O.rG,3R:O});Q d={eM:1d,iq:P.ip.io};O.8S=X P.2O.4u(O.1t,O.1X,d);Q e=O;O.9V=X P.4v.ir();O.9V.fU=S(f){e.rJ(f[0])}},1A:S(){if(O.8S.1c!=R){O.9V.1A();O.8S.1A();O.cL.1A()}O.8S=R;O.9V=R;O.cL=R},61:S(){if(!(O.cL.61()&&O.9V.61()&&P.4v.1y.61.1q(O,1K))){Y 1d}},4R:S(){Q a=1d;if(P.4v.1y.4R.1q(O,1K)){O.cL.4R();O.9V.4R();a=1a}Y a},rJ:S(a){O.fW.rI(a)},rH:S(a){a.Z.cE.1b.m3=a.id;O.8S.89();O.8S.5r(a.Z.cE.1b);O.9V.9W(O.8S.1h[0]);a.Z.cE.1b.fW=O.fW},rG:S(){O.8S.89()},6j:S(a){O.cL.6j(a);O.9V.6j(a);a.dj(O.8S);P.4v.1y.6j.1q(O,1K)},1t:"P.V.yW"});P.4v.lZ=P.23(P.4v,{rF:R,ic:{2h:"#rE",2j:1,2I:"#9j",3N:1,1D:1},18:R,1b:R,1g:R,1h:R,az:R,1G:R,1I:S(b){Q c={eM:1d,iq:P.ip.io};O.1g=X P.2O.4u.fV(O.1t,"",c);O.1h=[];O.18=[];b=b||{};P.4v.1y.1I.1q(O,[b]);Q d=O;O.az=X P.4v.h4(O.1g,P.9y.1V);O.az.1p.6e("yV",O,O.rA);O.az.54.1v=0;O.az.54.6y=P.V.1i.9r;Q a={im:S(f,e){d.ik.1q(d,[f,e])},eg:S(f,e){d.ih.1q(d,[f,e])},fU:S(f,e){d.ig.1q(d,[f,e])},rD:{2n:S(e){d.ie.1q(d,[e])}},rC:{il:S(f,e){d.7w.1q(d,[f,e])},m2:S(f,e){d.eh.1q(d,[f,e])}}};O.1G=X P.4v.rB(O.1g,a);O.1g.1p.6e("fT",O,O.cK);O.1g.1p.6e("bV",O,O.fS)},cK:S(){O.6F()},m1:S(){O.1b.T.aY();O.1g.89();O.1h=[];O.18={};O.1b.1g.2l(O.1b);Q b=X P.V.6a();b.7F=P.V.7E.bW;Q a=X P.V.4d();a.3L=O.1b.1g.id;a.1r=O.1b.T.1r;a.3b="aY";a.4h=[O.1b.T.3D];a.4c=[O.1b.T.3D];b.1O.17(a);P.33.3q().6d().69(b)},m0:S(c){Q b=P.1o.7I(O.1h,c.1b);if(b!==-1){O.1b.T.aY(c);O.1g.cI(c.1b);if(P.1o.3t(O.1g.3B,c.1b)!==-1){P.1o.fR(O.1g.3B,c.1b)}if(P.1o.3t(O.1h,c.1b)!==-1){P.1o.fR(O.1h,c.1b)}if(O.18.2k(c.1r)){3j O.18[c.1r]}O.1g.4B(c.1b);O.1h.2N(b,1);O.1b.1g.2l(O.1b);Q d=X P.V.6a();d.7F=P.V.7E.bW;Q a=X P.V.4d();a.3L=O.1b.1g.id;a.1r=O.1b.T.1r;a.3b="aY";a.4h=[c];a.4c=[c];d.1O.17(a);P.33.3q().6d().69(d)}},rA:S(a){if(a.1b===1k){Y}if(!(a.1b.T 1l P.U.3g)){Y}O.1b.T.dm(a.1b.T);O.1b.1g.8o(O.1b);O.6E(a.1b);Q c=X P.V.6a();c.7F=P.V.7E.bW;Q b=X P.V.4d();b.3L=O.1b.1g.id;b.1r=O.1b.T.1r;b.3b="dm";b.4h=[a.1b.T];b.4c=[a.1b.T];c.1O.17(b);P.33.3q().6d().69(c)},1A:S(){O.18=[];O.1g.1A();O.1g=R;O.1b=R;O.1h=[];O.az.1A();O.1G.1A();P.4v.1y.1A.1q(O,[])},61:S(){if(O.1b===R){Y 1d}if(O.1b.1g===R||O.1b.1g.4P||!O.1b.1g.5s){Y 1d}if(O.1b.T.70()){Y 1d}O.1c.f7([O.1g]);O.az.61();O.1G.61();P.4v.1y.61.1q(O,1K);O.rz();Y 1a},4R:S(){Q a=1d;if(P.4v.1y.4R.1q(O,1K)){O.1g.89();O.1h.W=0;O.1h=[];O.1G.4R();O.az.4R();O.1c.dk(O.1g);a=1a}Y a},rz:S(){Q c=O.1b.T;19(Q a=0;a<c.3D.W;a++){Q b=c.3D[a].1b;if(P.1o.3t(O.1g.1h,b)===-1){O.1g.5r(b)}if(P.1o.3t(O.1h,b)===-1){O.6E(b)}}},ry:S(){Q a=O.1g.1h.53();O.1g.4B(a)},6E:S(a){if(!(a.T 1l P.U.3g)){Y}O.1g.3B.17(a);O.1h.17(a);O.aA(a)},ik:S(b,a){if(O.1G.2x.38.4V){Q c=O.bd(a);if(c===R){Y}if(b!==c){if(O.1G.8g){O.1G.7w.1q(O.1G,[c])}O.1c.1p.un({80:O.1G.2x.38.80,8f:O.1G.2x.38.8f,7T:O.1G.2x.38.7T,7v:O.1G.2x.38.7v,3R:O.1G.2x.38});b=c;O.1G.99=a;O.1G.2x.38.fQ=1a;O.1G.2x.38.87=a;O.1G.2x.38.fP=a}}if(b.T 1l P.U.1N){Y}if(b.T 1l P.U.43&&!(b.4z 1l P.U.3g)){Y}O.9U=a;O.ij=X 7h().6W();P.ei.ii(O.1c.bA,"rx");O.1c.bA.Z.7S="8b"},ih:S(b,a){if(b.T 1l P.U.1N){Y}if(b.T 1l P.U.43&&!(b.4z 1l P.U.3g)){Y}if(b.T.1t=="P.U.43"){Q d=b.4z;Q c=O.ay(b.4z.1b);d.18=c;d.1u();O.1g.2l(b.4z.1b);O.6F(b.4z.1b)}13{if(b.T 1l P.U.3g){if(!O.1G.2x.38.4V){O.cI(b)}O.1g.2l(b,b.Z,{3c:1a})}}O.1b.T.1u();O.1b.1g.8o(O.1b)},ig:S(b,a){if(b.T 1l P.U.1N){Y}3j O.9U;if(b.T 1l P.U.3g){O.aA(b)}},7w:S(b,a){O.1g.cJ(b,a);O.1G.7w.1q(O.1G,[b])},eh:S(b,a){O.1g.cJ(b,a);O.1G.eh.1q(O.1G,[b])},ie:S(c){if(O.1G.1b.T 1l P.U.1N){Y}if(O.1G.99===R){Y}Q b=O.1g.2G(c);Q d=O.1g.2G(O.1G.99);Q a=b.1U-d.1U;Q e=b.1T-d.1T;if(O.1G.1b.T 1l P.U.43&&O.1G.1b.4z 1l P.U.3g){O.1G.1b.T.2n(a,e)}13{if(O.1G.1b.T 1l P.U.3g){O.1G.1b.T.2n(a,e)}}O.1G.99=c;O.1G.eg(O.1G.1b,c)},aA:S(a){O.cI(a);O.fO(a)},6F:S(e){if(e===1k){e=O.1h}13{if(!P.1o.4g(e)){e=[e]}}19(Q d=0;d<e.W;d++){Q c=e[d];if(!c||!c.T){1W}Q f=c.T;if(!(f 1l P.U.3g)){1W}Q a=O.18[f.1r];if(a!==1k&&f.18.W===a.W){19(Q b=0;b<a.W;++b){a[b].T.x=f.18[b].x;a[b].T.y=f.18[b].y;a[b].T.1u()}}O.8o(a)}},fO:S(d){if(!d||!d.T){Y}Q f=d.T;if(f 1l P.U.1N){Y}Q b=[];Q c,g,e;Q a=f.18.W;19(c=0;c<a;++c){e=X P.U.43(f.18[c].x,f.18[c].y,-1,O.1c,1d,c);g=X P.5L.4f(e);g.7Z=1a;g.Z=P.1o.2v(g.Z,O.ic);e.hD=2.5;e.1u();g.4z=f;b.17(g)}if(b.W>0){O.1g.5r(b,{f4:1a})}O.18[d.T.1r]=b},6j:S(a){O.1G.6j(a);O.az.6j(a);P.4v.1y.6j.1q(O,1K)},cI:S(b){Q c=b.T.1r;if(O.18.2k(c)){Q a=O.18[c];O.1g.4B(a);3j O.18[c]}},ay:S(b){Q c=[];if(b.T 1l P.U.3g){c=O.18[b.T.1r]}Q d=[];19(Q a=0;a<c.W;a++){d.17(X P.U.1f(c[a].T.x,c[a].T.y))}Y d},8o:S(c){if(R===c){Y}19(Q b=0;b<c.W;b++){Q a=c[b];if(1k===a||R===a){1W}O.1g.2l(a)}},1t:"P.4v.lZ"});P.U.3k=P.23({cH:72,1I:S(a){},rq:S(a){if(a&&a.W>1){Y X P.U.6H(a)}},re:S(c){c=P.V.1m.e1(c);if(c&&c.W>=3){Q e=P.V.1m.2J(c[0],c[1]);if(P.V.1m.rs(c[0],c[1],c[2])){e=-e}Q b=[];19(Q d=1;d<c.W;d++){b.17(c[d].2s())}Q a=P.V.1m.l6(b,e);c[0].x=a[0].x;c[0].y=a[0].y;Q f=[];f.17(X P.U.6H(b));f.17(X P.U.6H(a));Y f}13{Y[]}},rp:S(a,b){if(a){Q c=[];if(b){c=O.rw(a)}13{c=a}Y O.fm(c)}},ro:S(a,b){if(a){Q c=[];if(b){c=P.V.1m.aJ(a)}13{c=a}P.V.1m.e1(c);Y X P.U.6H(c)}},rn:S(a,c){if(a){if(a[0].x!==a[a.W-1].x||a[0].y!==a[a.W-1].y){a.17(a[0])}Q d=[];if(c){d=P.V.1m.aJ(a)}13{d=a}P.V.1m.e1(d);Q b=X P.U.5h(d);Y X P.U.4S([b])}},rl:S(a){if(a&&a.W>=3){Q f=a[0].x+(a[2].x-a[1].x);Q e=a[0].y+(a[2].y-a[1].y);Q d=X P.U.1f(f,e);Q c=[];c.17.1q(c,a);c.17(d);Q b=X P.U.5h(c);Y X P.U.4S([b])}},fm:S(a){if(a&&a.W>2){Q b=X P.U.5h(a);Y X P.U.4S([b])}},rk:S(k){if(k&&k.W===2){Q f=k[0];Q g=k[1];Q j=[];Q e=1n.67((g.x-f.x)*(g.x-f.x)+(g.y-f.y)*(g.y-f.y));Q b=3Q/O.cH;19(Q c=0;c<O.cH;c++){Q a=(c*b+1)*1n.2r/2M;Q h=X P.U.1f(1n.77(a)*e+f.x,1n.76(a)*e+f.y);j[c]=h}Q d=X P.U.5h(j);Y X P.U.4S([d])}},rj:S(l,j,b,k){if(l&&l.W===2){Q a=l[0];Q h=l[1];Q g=a.2s();Q f=X P.U.1f(h.x,a.y);Q e=h.2s();Q d=X P.U.1f(a.x,h.y);Q c=X P.U.5h([g,f,e,d]);Y X P.U.4S([c])}},lE:S(a,b){if(a&&b&&b.W>0){Y X P.U.5o(a[0].x,a[0].y,b)}},ri:S(b){if(b&&b.W>=3){Q a=P.U.3k.ia(b[0],b[1],b[2]);a.97*=1n.2r/2M;a.98*=1n.2r/2M;Q e=(a.98-a.97)/O.cH;Q d=O.fN(a.5m,a.bz,a.bz,0,a.97,a.98,e);d.17(a.5m);if(d.W!==0){Q c=X P.U.5h(d);Y X P.U.4S([c])}}},rh:S(b){if(b&&b.W>=3){Q a=P.U.3k.ia(b[0],b[1],b[2]);a.97*=1n.2r/2M;a.98*=1n.2r/2M;Q e=(a.98-a.97)/O.cH;Q d=O.fN(a.5m,a.bz,a.bz,0,a.97,a.98,e);if(d.W!==0){Q c=X P.U.5h(d);Y X P.U.4S([c])}}},rg:S(b){if(b&&b.W>=3){Q a=P.U.3k.ia(b[0],b[1],b[2]);a.97*=1n.2r/2M;a.98*=1n.2r/2M;Q d=(a.98-a.97)/O.cH;Q c=O.fN(a.5m,a.bz,a.bz,0,a.97,a.98,d);if(c.W!==0){Y X P.U.6H(c)}}},rf:S(m,g,b,a,e){if(b===1a){if((!a)&&(m&&m.W>=3)){a=P.V.1m.2J(m[0],m[1])}if((!e)&&(m&&m.W>=3)){Q c=P.V.1m.l3(m[2],m[0],m[1]);e=P.V.1m.2J(c,m[2])}}13{e=P.V.1m.2J(m[0],m[2]);a=P.V.1m.2J(m[0],m[1])}if(!g){g=P.V.1m.7g(m[0],m[1])}13{g*=1n.2r/2M}if(m&&m.W>0){Q f=0;Q l=1n.2r*2;Q k=l/O.cH;Q j=O.fN(m[0],a,e,g,f,l,k);if(b===1a){Q d=1n.76(g);Q h=1n.77(g);if(m[2].x>m[1].x){m[2].x=m[0].x-e*d;m[2].y=m[0].y+e*h}13{m[2].x=m[0].x+e*d;m[2].y=m[0].y-e*h}}Y X P.U.4S([X P.U.5h(j)])}},fN:S(d,q,j,p,n,e,c){Q m=[];if(1n.2X(c)<1e-9){Y m}6Q(e<n){e+=1n.2r*2}6Q(e>(n+1n.2r*2)){n+=1n.2r*2}Q g=1n.77(p)*q;Q a=1n.76(p)*q;Q r=1n.77(p)*j;Q f=1n.76(p)*j;Q l=O.lY(n,q,j);Q b=O.lY(e,q,j);if((b-l)<0.yU){b+=2*1n.2r}Q s=1n.5U(1n.2X((b-l)/c)+1);if(s<2){Y m}19(Q o=0;o<s-1;l+=c,o++){if(o===s-2){l=e}Q k=d.x+g*1n.77(l)-f*1n.76(l);Q h=d.y+a*1n.77(l)+r*1n.76(l);m.17(X P.U.1f(k,h))}if(0>m.W){m[m.W-1].x=d.x+g*1n.77(b)-f*1n.76(b);m[m.W-1].y=d.y+a*1n.77(b)+r*1n.76(b)}Y m},lY:S(f,c,a){Q e=f;Q b=c*1n.76(f);Q d=a*1n.77(f);Q g=1n.ar(b,d);if(f>1n.2r){6Q(e>1n.2r){e-=2*1n.2r;g+=2*1n.2r}}13{if(f<-1n.2r){6Q(e<-1n.2r){e+=2*1n.2r;g-=2*1n.2r}}}Y g},rw:S(e){Q c=[];e=P.V.1m.e1(e);if(2>e.W){Y c}Q a=O.rv(e);if(12!=a.W){Y c}a.17(a[0]);a.17(a[1]);a.2N(0,1);19(Q d=0;d<a.W-3;d+=3){Q b=[];b=O.rr(a[d],a[d+1],a[d+2],a[d+3]);c=c.4Y(b)}Y c},rv:S(l){Q d=[];Q f=[];Q k=l.W;if(k===0){Y}if(k===1){d.17(l[0]);Y}if(k==2){Q h=O.lW(l[0],l[1]);f.17(l[0]);f.17(l[1]);f.17(h)}13{f.17(l[0]);f.17(l[1]);f.17(l[2]);if(P.V.1m.lX(l[0],l[2])||P.V.1m.lX(l[1],l[2])){d.17(l[0]);d.17(l[1])}if(P.V.1m.lX(l[0],l[1])){d.17(l[0]);d.17(l[2]);Y}}f=O.ru(f);Q j=X P.U.1f(0,0);Q g=X P.U.1f(0,0);j.x=(f[0].x+f[1].x)*0.5;j.y=(f[0].y+f[1].y)*0.5;g.x=j.x-(f[2].x-j.x)*0.1;g.y=j.y-(f[2].y-j.y)*0.1;Q e=O.fM(3,0,f[1],f[0],g);d.17(e.pr);d.17(g);d.17(e.pl);Q c=O.fM(4,2,f[2],f[0],f[1]);d.17(c.pr);d.17(f[1]);d.17(c.pl);Q b=O.fM(2,0,f[0],f[1],f[2]);d.17(b.pr);d.17(f[2]);d.17(b.pl);Q a=O.fM(4,1,f[1],f[2],f[0]);d.17(a.pr);d.17(f[0]);d.17(a.pl);Y d},lW:S(c,b){Q e=X P.U.1f(0,0);e.x=(c.x+b.x)*0.5;e.y=(c.y+b.y)*0.5;Q d=P.V.1m.2J(b,c)/2.7;Q a=O.lU(d,c,e);Y a.ib},lU:S(a,f,e){Q c=X P.U.1f(0,0);Q b=X P.U.1f(0,0);Q d=X P.U.1f(0,0);Q g=P.V.1m.2J(f,e);if(g==0){d.y=0;d.x=a}13{d.x=(a*(f.x-e.x)/g);d.y=(a*(f.y-e.y)/g)}c.x=-d.y+e.x;c.y=d.x+e.y;b.x=d.y+e.x;b.y=-d.x+e.y;Y{ib:c,lT:b}},ru:S(d){Q f=[];f.17(X P.U.1f(0,0));f.17(X P.U.1f(0,0));f.17(X P.U.1f(0,0));Q a=d.W;if(a<2){}13{if(a==2){f[0]=d[0];f[1]=d[1];f[2]=O.lW(d[0],d[1])}13{Q k=d[0];Q j=d[1];Q h=d[2];Q e=P.V.1m.2J(j,k);Q c=P.V.1m.2J(h,j);Q b=P.V.1m.2J(k,h);Q g;if((c>=e)&&(c>=b)){g=k.2s();k=h.2s();h=g.2s()}13{if(b>=e&&b>=c){g=h.2s();h=j.2s();j=g.2s()}}if(!P.V.1m.rs(h,k,j)){g=k.2s();k=j.2s();j=g.2s()}f[0]=k;f[1]=j;f[2]=h}}Y f},fM:S(g,b,h,k,j){Q f=X P.U.1f(0,0);Q e=P.V.1m.2J(j,h);Q d=P.V.1m.2J(k,j);if(b==1){e*=2}if(b==2){d*=2}f.x=((e*k.x+d*h.x)/(e+d));f.y=((e*k.y+d*h.y)/(e+d));Q c=O.lV(g,h,f,j);Q a=O.lV(g,k,f,j);Y{pl:c,pr:a}},lV:S(b,g,h,f){Q e;Q c=P.V.1m.2J(f,g)/b;Q a=O.lU(c,h,f);Q d=P.V.1m.2J(g,a.lT);c=P.V.1m.2J(g,a.ib);e=(d>=c)?a.ib:a.lT;Y e},rr:S(n,l,k,j){Q A=[];Q v=n.x;Q h=n.y;Q u=l.x;Q g=l.y;Q s=k.x;Q f=k.y;Q r=j.x;Q e=j.y;if(P.V.1m.5q(v,u,1e-10)&&P.V.1m.5q(h,g,1e-10)&&P.V.1m.5q(s,r,1e-10)&&P.V.1m.5q(f,e,1e-10)){A.17(X P.U.1f(v,h));A.17(X P.U.1f(s,f))}13{19(Q p=0;p<=1;p+=0.yT){Q z,y,x,w;Q o=p*p;Q m=o*p;z=1-3*p+3*o-m;y=3*(p-2*o+m);x=3*(o-m);w=m;Q q=X P.U.1f(z*v+y*u+x*s+w*r,z*h+y*g+x*f+w*e);A.17(q)}}Y A},1t:"P.U.3k"});P.U.3k.4p=S(c,a,e,b,d){if(d===1k||d===R){d=1a}Q f=X P.U.3k();6x(c){1z 24:Y f.rq(a);1z j7:Y f.rp(a,d);1z o9:Y f.ro(a,d);1z 3Q:Y f.rn(a,d);1z 28:Y f.rl(a);1z 32:Y f.fm(a);1z 29:Y f.rk(a);1z 26:Y f.rj(a);1z 34:Y f.lE(a,e);1z oa:Y f.ri(a);1z ob:Y f.rh(a);1z 44:Y f.rg(a);1z 31:Y f.rf(a,b,d);1z 48:Y f.re(a)}};P.U.3k.fh=S(b){if(b.1t==="P.U.6H"){Y b.11}13{if(b.1t==="P.U.5h"){Y b.11}13{if(b.1t==="P.U.4S"){if(b.11.W<=0){Y[]}Q a=b.11[0];Y a.11}}}};P.U.3k.ia=S(m,j,k){Q e={};e.5m=X P.U.1f(0,0);e.bz=0;e.97=0;e.98=0;Q o=j.x-m.x;Q a=j.y-m.y;if(1n.2X(o)<1e-9){Q n={},g={};n.x=(j.x+m.x)/2;n.y=(j.y+m.y)/2;g.x=(j.x+k.x)/2;g.y=(j.y+k.y)/2;Q l=0;if(1n.2X(k.x-j.x)>=1e-9){l=(k.y-j.y)/(k.x-j.x)}e.5m.y=n.y;if(1n.2X(l)<1e-9){e.5m.x=g.x}13{e.5m.x=g.x-l*(n.y-g.y)}}13{Q n={},g={};n.x=(j.x+m.x)/2;n.y=(j.y+m.y)/2;g.x=(j.x+k.x)/2;g.y=(j.y+k.y)/2;Q d=a/o;if(1n.2X(d)<1e-9){e.5m.x=n.x;if(1n.2X(k.x-j.x)<1e-9){e.5m.y=g.y}13{e.5m.y=-(k.x-j.x)/(k.y-j.y)*(e.5m.x-g.x)+g.y}}13{if(1n.2X(k.x-j.x)<1e-9){e.5m.y=g.y;e.5m.x=-d*(e.5m.y-n.y)+n.x}13{Q c=(k.y-j.y)/(k.x-j.x);e.5m.x=(d*c*(n.y-g.y)+c*n.x-d*g.x)/(c-d);e.5m.y=(g.x-n.x+c*g.y-d*n.y)/(c-d)}}}Q h=1n.ar(m.y-e.5m.y,m.x-e.5m.x);Q b=1n.ar(k.y-e.5m.y,k.x-e.5m.x);if(P.V.1m.yS(m,j,k)){6Q(h>=1n.2r*2){h-=1n.2r*2}6Q(h<0){h+=1n.2r*2}6Q(b>2*1n.2r){b-=2*1n.2r}6Q(b<h){b+=2*1n.2r}}13{6Q(b>=1n.2r*2){b-=1n.2r*2}6Q(b<0){b+=1n.2r*2}6Q(h>2*1n.2r){h-=2*1n.2r}6Q(b>h){h+=2*1n.2r}Q f=h;h=b;b=f}e.bz=1n.67((e.5m.x-m.x)*(e.5m.x-m.x)+(e.5m.y-m.y)*(e.5m.y-m.y));e.98=b*2M/1n.2r;e.97=h*2M/1n.2r;Y e};P.U.3k.yR=S(e,k,a,b){if(!P.V.1m.yQ(k,1e-9)){Q f=a*1n.2r/2M;Q c=b*1n.2r/2M;if(f>c){c+=2*1n.2r}Q j=[];Q h=[];Q g=[];Q d=[];j.x=e.x+k*1n.77(f);j.y=e.y+k*1n.76(f);h.x=e.x+k*1n.77((f+c)/2);h.y=e.y+k*1n.76((f+c)/2);g.x=e.x+k*1n.77(c);g.y=e.y+k*1n.76(c);d.17(X P.U.1f(j.x,j.y));d.17(X P.U.1f(h.x,h.y));d.17(X P.U.1f(g.x,g.y));Y d}};P.U.1N=P.23(P.U.7s,{rd:1a,1r:R,3r:R,4P:1d,1g:R,1c:R,1X:"",1j:R,1v:R,1C:R,1s:R,4i:R,i9:R,fL:R,1b:R,3p:R,1R:R,1H:R,2c:R,3c:1d,4q:R,3l:R,4a:R,5z:R,3G:R,1S:R,3D:R,1L:R,5O:1d,2F:S(){if(O.1b&&O.1b.1g){if(O.70()||O.1b.1g.4P===1a||O.1b.1g.5s===1d||O.1b.1g.3c===1d){Y 1a}13{Y 1d}}},70:S(){Y O.4P},kk:S(a){if(O.4P!==a){O.4P=a;if(O 1l P.U.3I||O 1l P.U.4H){19(Q b=0;b<O.11.W;b++){O.11[b].T.4P=a}}if(O.1b!==R&&O.1b.1g!==R){O.1b.1g.1p.1E("ax",{1h:[O.1b]})}}},bx:S(){Y O.1R},bo:S(a){},br:S(){Y O.3p},au:S(b){if(O.2F()){Y}if(!7B(b)){if(!O.4q&&O.1s!==P.V.1i.4C&&O.1s!==P.V.1i.8V){Q a=O.2D().7N();O.4q=X P.U.1f(a.1U,a.1T)}13{if(!O.4q){O.4q=X P.U.1f(O.18[0].x,O.18[0].y)}}O.2f(b,O.4q);O.3p+=b;O.1E()}},yP:S(){Y O.3l},yO:S(a){if(O.2F()){Y}O.3l=a},lx:S(){Y O.2c},fu:S(a){if(O.2F()){Y}O.2c=a},yN:S(){Y O.1H},gC:S(a){if(O.2F()){Y}O.1H=a;O.1u();if(O.1s===P.V.1i.4C){O.1E()}},h3:S(){Y O.fL},qE:S(){Y O.1S},yM:S(d,g,e){if(O.2F()){Y}if(R===e||1k===e){e=O.1v}if(g<O.1S.W){O.1S[g].1v=e;O.1S[g].1C=d}13{if(O.1S.W===g){O.1S.17(X P.V.eR(e,d))}13{Y}}S a(h){if(!P.U.1N.5W(O.1v,O.1C)){O.1S[g].1j=h.2z}13{O.1j.3E=h.2z.3E;19(Q j=0;j<h.2z.1S.W;j++){O.1S[j].1C=h.2z.1S[j]}}O.1u();O.2l();O.1E()}S f(h){Y}if(!P.U.1N.5W(O.1v,O.1C)){P.V.1m.by(O.1X,O.1S[g].1v,O.1S[g].1C,R,{27:O.27},O,a,f)}13{Q b=X P.1P.7L(O.1X);b.1p.on({4m:a,4l:f,3R:O});Q c=X P.1P.6L();c.1v=O.1v;c.1C=O.1C;c.5X=O.18;c.1S=O.1S;b.4N(c,O.27)}},dm:S(a){if(O.2F()){Y}if(a 1l P.U.3g){O.3D.17(a);a.3r=O.1r;O.1u();O.1E()}},aY:S(d){if(O.2F()){Y}if(d===1k){d=O.3D.53()}if(!P.1o.4g(d)){d=[d]}19(Q b=0;b<d.W;b++){Q c=d[b];if(c 1l P.U.3g){19(Q a=0;a<O.3D.W;a++){if(O.3D[a]===c){O.3D.2N(a,1);1B}}}}O.1u();O.1E()},qP:S(){if(O.3D.W===0){Y}Q b=O.11.53();O.11=[];19(Q a=0;a<O.3D.W;a++){if(O.3D[a].11.W===0){1W}Q c=O.3D[a].11[0];if(!(c 1l P.U.4S)){1W}b=O.lS(c,b)}O.11=O.11.4Y(b)},lS:S(k,g){Q m=[];if(!(k 1l P.U.4S)){Y m}19(Q f=0;f<g.W;f++){Q a={};Q o=R;Q b=R;Q h=g[f];Q c,d;if(h 1l P.U.2W){m=m.4Y(O.lS(k,h.11))}13{if(O.ra(k,h)){1W}13{if(!(h 1l P.U.5o)&&k.rc(h)){if(h 1l P.U.4S){a=P.1o.2v(a,h.Z);h.Z.1D=0;h.Z.6r=1a;O.11.17(h);19(c=0;c<h.11.W;c++){b=O.lR(h.11[c].11,k,1a);19(d=0;d<b.W;d++){o=X P.U.6H(b[d]);o.Z=a;if(h.2k("46")&&h.Z.2S===1a){o.46=o.2s()}m.17(o)}}19(d=0;d<O.11.W;d++){if(O.11[d].2k("46")){O.11.2N(d,1)}}}13{if(h 1l P.U.6H||h 1l P.U.5h){if(O.bl()===1a){a=P.1o.2v(a,h.Z);o=X P.U.5h(h.11);Q e=X P.U.4S([o]);e.Z=a;e.Z.1D=0;e.Z.6r=1a;e.6o=1a;O.11.17(e)}Q l=1d;if(h 1l P.U.5h){l=1a}b=O.lR(h.11,k,l);19(d=0;d<b.W;d++){o=h.2s();o.11=b[d];if(h.2k("46")&&h.Z.2S===1a){o.46=o.2s()}m.17(o)}}}}13{m.17(h)}}}}Y m},ra:S(e,f){Q b=1a;Q c=[];if(f.1t==="P.U.4S"){c=f.11[0].11}13{if(f.1t==="P.U.6H"||f.1t==="P.U.5h"){c=f.11}13{if(f.1t==="P.U.5o"&&O.1b!==R){P.V.1m.fA(f.Z,O.1b.Z);Q d=f.9O(O.1c,f.Z);c.17(X P.U.1f(d.1Z,d.1Y));c.17(X P.U.1f(d.1Z,d.2g));c.17(X P.U.1f(d.2b,d.2g));c.17(X P.U.1f(d.2b,d.1Y))}}}if(c.W===0){b=1d}13{19(Q a=0;a<c.W;a++){if(!e.hc(c[a])){b=1d;1B}}}Y b},lR:S(f,g,k){Q n=f.53();if(k===1a&&n[0].x!==n[n.W-1].x&&n[0].y!==n[n.W-1].y){n.17(n[0])}Q a=[];Q c=[];19(Q e=0;e<n.W;e++){if(!g.hc(n[e])){c.17(n[e].2s())}if(e<=n.W-2){Q l=O.r9(n[e],n[e+1],g);19(Q b=0;b<l.W;b++){c.17(l[b].2s());if(c.W>1){a.17(c);c=[]}}}}if(c.W!==0){a.17(c)}Q h=a.W;if(k===1a&&h>1&&P.V.1m.5q(a[0][0].x,a[h-1][a[h-1].W-1].x)&&P.V.1m.5q(a[0][0].y,a[h-1][a[h-1].W-1].y)){19(Q d=0;d<a[0].W;d++){a[h-1].17(a[0][d])}a.2N(0,1)}Y a},r9:S(l,h,f){Q a=f.11[0].11.53();if(a[0].x!==a[a.W-1].x&&a[0].y!==a[a.W-1].y){a.17(a[0])}Q e=[];19(Q c=0;c<a.W-1;c++){Q k=X P.U.1f();if(P.V.1m.yL(l,h,a[c],a[c+1],k)){e.17(k)}}Q m=[];6Q(e.W>0){if(e.W===1){m.17(e[0]);e.2N(0,1)}13{Q d=0;Q g=P.V.1m.2J(l,e[0]);19(Q b=1;b<e.W;b++){if(P.V.1m.2J(l,e[b])<g){g=P.V.1m.2J(l,e[b]);d=b}}m.17(e[d]);e.2N(d,1)}}Y m},qU:S(d){if(d===1k){d=P.V.1m.eT()}O.1r=d;Q c,b,a;19(c=0;c<O.4a.W;c++){O.4a[c].3r=O.1r}19(b=0;b<O.3D.W;b++){O.3D[b].3r=O.1r}if(O.1s===P.V.1i.5b){19(a=0;a<O.5l.W;a++){O.5l[a].3r=O.1r}}Y d},1I:S(a){P.U.7s.1y.1I.1q(O,R);O.fL=X P.V.b9();O.1S=[];O.3D=[];O.4a=[];O.3p=0;O.1R=1;O.1H="";O.3r="";if(a&&a.1g){O.1c=a.1g.1c;O.1X=a.1g.1X;3j a.1g}if(a&&a.1c){O.1c=a.1c;3j a.1c}if(a&&a.1X){O.1X=a.1X;3j a.1X}if(a&&a.1j){O.1j=P.1o.6b(a.1j);3j a.1j;O.r7()}P.V.5G.4F(O,O.1j);O.fa();P.1o.2R(O,a);if(O.2c===R){O.2c=4}if(O.3G===R){O.3G=O.1c.3o()}if(O.1r===1k||O.1r===R){O.1r=P.V.1m.eT()}if(O.4i===R){O.r8()}19(Q b=0;b<O.3D.W;b++){O.3D[b].3r=O.1r}},1A:S(){if(R!==O.4a&&1k!==O.4a){19(Q b=0;b<O.4a.W;b++){Q a=O.4a[b];if(R===a){1W}a.3r=R}}O.4a=R;O.1c=R;O.1X=R;O.1b=R;O.1s=R;O.4i=R;O.i9=R;O.fL=R;O.3p=R;O.1R=R;O.1H=R;O.3r=R;O.1S=R;P.U.7s.1y.1A.1q(O,1K)},fa:S(){Q b=P.33.3q(O.1c,O.1X);Q d=b.dC();if(d&&d.hd===1a&&O.5O===1d){if(O.1s===P.V.1i.5b){if(d.be!==-1){Q a=O.3d.w;if(O.3d.h>O.3d.w){a=O.3d.h}if(0===a||0===d.be){O.2t.w=O.3d.w;O.2t.h=O.3d.h}13{Q c=d.be/a;O.2t.w=c*O.3d.w;O.2t.h=c*O.3d.h}}if(d.cd!==-1){O.4x=d.cd}if(d.9E!==-1){O.9E=d.9E}}if(O 1l P.U.2W){if(d.6P!==-1){O.6P=d.6P}if(d.6O!==-1){O.6O=d.6O}}if(d.3l!==-1){O.3l=d.3l}}},r8:S(){if(O.1v===0){O.4i=P.V.7Y.f3(O.1v,O.1C)}13{Q a=P.33.3q(O.1c,O.1X);Q b=a.dB();O.4i=b.f3(O.1v,O.1C)}},4b:S(b){Q a=P.33.3q(O.1c,O.1X);Y a.4b(b)},1E:S(){if(O.1b!==R&&O.1b.1g!==R){O.1b.1g.1p.1E("bV",{1h:[O.1b]})}},2l:S(){if(O.1b!==R&&O.1b.1g!==R){O.1b.1g.2l(O.1b)}},6k:S(a,b){O.1u()},8k:S(){if(O.1t==="P.U.59"||O.1t==="P.U.hz"||O.1t==="P.U.3I"||O.1t==="P.U.bp"||O.1t==="P.U.4n"||O.1t==="P.U.hM"||O.1t==="P.U.93"){Y 1a}13{Y 1d}},3x:S(){P.U.7s.1y.3x.1q(O,1K);if(O 1l P.U.3I){19(Q b=0,a=O.11.W;b<a;b++){O.11[b].T.3x()}}13{O.cv(O.11)}},cv:S(c){19(Q b=0,a=c.W;b<a;b++){if(c[b]1l P.5L.4f){c[b].T.3x();if(c[b].T 1l P.U.7s){O.cv(c[b].T.11)}}13{c[b].3x();if(c[b]1l P.U.7s){O.cv(c[b].11)}}}},7i:S(){P.V.5G.51(O,O.1j);Y O.1j},r7:S(){if(O.1j!==R){if(O.1j.2k("84")){3j O.1j.84}if(O.1j.2k("id")){3j O.1j.id}if(O.1j.2k("r6")){3j O.1j.r6}if(O.1j.2k("dO")){3j O.1j.dO}if(O.1j.2k("eS")){3j O.1j.eS}if(O.1j.2k("r5")){3j O.1j.r5}if(O.1j.2k("r4")){3j O.1j.r4}if(O.1j.2k("r3")){3j O.1j.r3}if(O.1j.2k("r2")){3j O.1j.r2}if(O.1j.2k("r1")){3j O.1j.r1}if(O.1j.2k("r0")){3j O.1j.r0}if(O.1j.2k("qZ")){3j O.1j.qZ}}},fp:S(qY){O.1L=qY;O.1v=3V(O.1L.1V.i8);O.1C=3V(O.1L.1V.i7);O.4i=O.1L.1V.qX;if(O.1L.1V.2k("1i")){O.1s=O.1L.1V.1i}O.1H=O.1L.1V.fI;O.2c=O.1L.1V.qW;if(O.1L.1V.2k("fK")){O.1R=O.1L.1V.fK[0]}if(O.1L.1V.2k("fJ")){O.3p=O.1L.1V.fJ[0]}if(O.1L.1V.2k("lP")){O.3G=O.1L.1V.lP}if(O.1L.1V.2k("dW")){O.1r=O.1L.1V.dW}if(O.1L.1V.2k("dV")){O.3r=O.1L.1V.dV}if(O.1L.1V.2k("lO")){O.3l=O.1L.1V.lO}if(O.1L.1V.2k("lN")){O.4P=O.1L.1V.lN}if(O.1L.1V.2k("lM")){O.i9=O.1L.1V.lM}if(O.1L.1V.2k("b9")){19(Q j=0;j<O.1L.1V.b9.W;j++){Q lQ=O.1L.1V.b9[j];O.fL.of(lQ.8X,lQ.4t)}}if(O.1L.1V.2k("95")&&O.1L.1V.95!==R){O.1S=[];19(Q i=0;i<O.1L.1V.95.W;i++){Q 1v=O.1L.1V.95[i].i8;if(1v===1k){1v=O.1v}Q 1C=O.1L.1V.95[i].i7;if(1C===1k){1W}Q 9M={};if(O.1L.1V.95[i].fI!==1k){9M.1H=O.1L.1V.95[i].fI}if(O.1L.1V.95[i].lL!==1k){9M.ad=O.1L.1V.95[i].lL}O.1S.17(X P.V.eR(1v,1C,9M))}}if(O.1L.1V.2k("fH")){19(Q i=0;i<O.1L.1V.fH.W;i++){Q 8a=O.1L.1V.fH[i];Q 9M={1c:O.1c};Q ef=eP("X P.U.3g(9M)");Q 1b=X P.5L.4f(ef);ef.1b=1b;ef.fp(8a);ef.1u();O.3D.17(ef)}}if(O.1L.1V.2k("lK")){O.5z=O.1L.1V.lK}if(O.1b!==R){O.1b.Z=P.V.5G.q2(O.1b.Z,O.1L.1V)}},fo:S(){if(!O.1L){O.1L={}}if(!O.1L.2k("2C")){O.1L.2C="1V"}if(!O.1L.2k("1V")){O.1L.1V={}}O.1L.1V.i8=O.1v;O.1L.1V.i7=O.1C;O.1L.1V.qX=O.4i;O.1L.1V.1i=O.1s;O.1L.1V.fI=O.1H;O.1L.1V.qW=O.2c;if(O.1L.1V.2k("fK")){O.1L.1V.fK[0]=O.1R}13{O.1L.1V.fK=[O.1R,0,0]}if(O.1L.1V.2k("fJ")){O.1L.1V.fJ[0]=O.3p}13{O.1L.1V.fJ=[O.3p,0,0]}O.1L.1V.lP=O.3G;O.1L.1V.dW=O.1r;O.1L.1V.dV=O.3r;O.1L.1V.lO=O.3l;O.1L.1V.lN=O.4P;O.1L.1V.lM=O.i9;O.1L.1V.95=[];19(Q a=0;a<O.1S.W;a++){Q d=O.1S[a];O.1L.1V.95.17({i8:d.1v,i7:d.1C,fI:d.1H,lL:d.ad})}O.1L.1V.b9=[];Q c=O.h3().od();19(Q b=0;b<c;b++){Q e=O.h3().oe(b);O.1L.1V.b9.17({yK:e.8X,yJ:e.4t})}O.1L.1V.fH=[];19(Q a=0;a<O.3D.W;a++){O.3D[a].fo();O.1L.1V.fH.17(O.3D[a].1L)}O.1L.1V.lK=O.5z;if(O.1b!==R){P.V.5G.q1(O.1b.Z,O.1L.1V)}},yI:S(){O.7i();Y P.V.1m.5H(O.1j)},2s:S(){O.1j=O.7i();Q hA=P.V.1m.5H(O.1j);Q qV=gu.gt(hA);Q 9M={1v:O.1v,1C:O.1C,1c:O.1c,1X:O.1X,1j:qV};Q T=eP("X "+O.1t+"(9M)");T.qU();Y T},lJ:S(){6x(O.1s){1z P.V.1i.bO:1z P.V.1i.eG:1z P.V.1i.gk:1z P.V.1i.gl:1z P.V.1i.gm:1z P.V.1i.9r:1z P.V.1i.ak:1z P.V.1i.9s:1z P.V.1i.ag:Y O.18.W+9;6w:Y 9}},i6:S(a){if(a===1k||a===R){a=O.2D();if(O.1s===P.V.1i.4C){19(Q o=0,p=O.11.W;o<p;o++){a.2R(O.11[o].9O(O.1c,O.1b.Z))}}}if(a===R){Y}Q n=X P.U.1f(a.2b,a.1Y);Q m=X P.U.1f(a.1Z,a.1Y);Q h=X P.U.1f(a.2b,a.2g);Q f=X P.U.1f(a.1Z,a.2g);Q b=X P.U.1f((n.x+m.x)/2,n.y);Q e=X P.U.1f(n.x,(n.y+h.y)/2);Q d=X P.U.1f((h.x+f.x)/2,h.y);Q c=X P.U.1f(m.x,(m.y+f.y)/2);Q q=[m.2s(),b.2s(),n.2s(),c.2s(),e.2s(),f.2s(),d.2s(),h.2s()];Q g=1;19(Q l=0;l<q.W;l++){(q[l]).3y=g++}Y q},fG:S(){Q h={};h.47=[];h.5Q=[];if(O.1s===P.V.1i.c6||O.1s===P.V.1i.4C){O.3x()}if(O.1s===P.V.1i.5b&&O.4K!==R){O.3x()}Q a=O.2D();if(O.1s===P.V.1i.4C){19(Q k=0;k<O.11.W;k++){a.2R(O.11[k].9O(O.1c,O.1b.Z))}}if(a===R){Y h}if(O.lJ()>9){if(O.1s===P.V.1i.aL){h.47.17(O.18[0]);Q f=O.1j.3E[0].2m;h.47.17(X P.U.1f(f[f.W-1].x,f[f.W-1].y))}13{h.47=O.18}19(Q e=0;e<h.47.W;e++){(h.47[e]).4U=e}}13{h.47=O.i6(a)}if(O.70()===1a){Y h}if(O.1s!==P.V.1i.8Q&&O.1s!==P.V.1i.ak&&O.1s!==P.V.1i.9s&&O.1s!==P.V.1i.ag&&O.1s!==P.V.1i.a8&&O.1s!==P.V.1i.gM&&O.1s!==P.V.1i.a7&&O.1s!==P.V.1i.a9&&O.1s!==P.V.1i.dr&&O.1s!==P.V.1i.c3&&O.1s!==P.V.1i.8q&&O.1s!==P.V.1i.9r&&O.1s!==P.V.1i.eF&&O.1s!==P.V.1i.ah&&!(O 1l P.U.93)){Q g=X P.U.1f(a.2b,a.1Y);Q l=O.1c.3a(X P.2w(g.x,g.y));Q c=X P.3M(l.x+15,l.y-15);Q b=O.1c.6z(c);Q d=X P.U.1f(b.1U,b.1T);d.yH=1a;h.5Q=[d]}Y h},2f:S(r,p){if(O.1s===P.V.1i.4C){if(!O.1b.Z.2V){O.1b.Z.2V=-r}13{O.1b.Z.2V+=-r}}19(Q h=0,o=O.11.W;h<o;h++){if(O.11[h].1t!=="P.U.5o"){O.11[h].2f(r,p);if(O.11[h].46&&O.11[h].46!==R){O.11[h].46.2f(r,p)}}13{Q q=X P.U.1f(O.11[h].x,O.11[h].y);q.2f(r,p);O.11[h].x=q.x;O.11[h].y=q.y;if(!O.11[h].Z.2V){O.11[h].Z.2V=-r}13{O.11[h].Z.2V+=-r}}}19(Q c=0;c<O.18.W;c++){O.18[c].2f(r,p)}19(Q b=0;b<O.1M.W;b++){O.1M[b].2f(r,p)}if(P.U.1N.5W(O.1v,O.1C)){19(Q f=0;f<O.1j.3E.W;f++){19(Q d=0;d<O.1j.3E[f].2m.W;d++){Q e=X P.U.1f(O.1j.3E[f].2m[d].x,O.1j.3E[f].2m[d].y);e.2f(r,p);O.1j.3E[f].2m[d].x=e.x;O.1j.3E[f].2m[d].y=e.y}}19(Q g=0;g<O.1j.1M.W;g++){Q a=X P.U.1f(O.1j.1M[g].x,O.1j.1M[g].y);a.2f(r,p);O.1j.1M[g].x=a.x;O.1j.1M[g].y=a.y}}},cw:S(b,c,a,k){Q e=O.lI(b,c,a);if(P.V.1m.5q(e.5p(),0)&&P.V.1m.5q(e.5F(),0)){Y}if(P.V.1m.5q(a.5p(),0)&&P.V.1m.5q(a.5F(),0)){Y}Q h=P.V.1m.5q(a.5p(),0)?0:e.5p()/a.5p();Q j=P.V.1m.5q(a.5F(),0)?0:e.5F()/a.5F();Q g=X P.U.1f((a.1Z+a.2b)/2,(a.1Y+a.2g)/2);Q f=X P.U.1f((e.1Z+e.2b)/2,(e.1Y+e.2g)/2);if(O.1s===P.V.1i.8Q||O.1s===P.V.1i.a9||O.1s===P.V.1i.a8||O.1s===P.V.1i.a7){O.18[0].x=f.x+(k[0].x-g.x)*h;O.18[0].y=f.y+(k[0].y-g.y)*j;O.18[1].x=f.x+(k[1].x-g.x)*h;O.18[1].y=f.y+(k[1].y-g.y)*j}13{if(O.1s===P.V.1i.8V){19(Q d=1;d<k.W;d++){O.18[d].x=f.x+(k[d].x-g.x)*h;O.18[d].y=f.y+(k[d].y-g.y)*j}}13{19(d=0;d<k.W;d++){O.18[d].x=f.x+(k[d].x-g.x)*h;O.18[d].y=f.y+(k[d].y-g.y)*j}}}},lI:S(b,f,c){Q a=O.1c.6z(b);if(c===R){c=X P.5B()}Q d=c.2s();Q e=X P.U.1f(a.1U,a.1T);6x(f){1z 1:d.1Y=e.y;d.1Z=e.x;1B;1z 3:d.1Y=e.y;d.2b=e.x;1B;1z 6:d.1Z=e.x;d.2g=e.y;1B;1z 8:d.2b=e.x;d.2g=e.y;1B;1z 2:d.1Y=e.y;1B;1z 4:d.1Z=e.x;1B;1z 5:d.2b=e.x;1B;1z 7:d.2g=e.y;1B;6w:1B}Y d},qT:S(c,b,d){Q a=X P.2w();6x(c){1z 1:a.1U=b.1Z+d.x;a.1T=b.1Y+d.y;1B;1z 3:a.1U=b.2b+d.x;a.1T=b.1Y+d.y;1B;1z 6:a.1U=b.1Z+d.x;a.1T=b.2g+d.y;1B;1z 8:a.1U=b.2b+d.x;a.1T=b.2g+d.y;1B;1z 2:a.1U=(b.2b+b.1Z)/2;a.1T=b.1Y+d.y;1B;1z 4:a.1U=b.1Z+d.x;a.1T=(b.1Y+b.2g)/2;1B;1z 5:a.1U=b.2b+d.x;a.1T=(b.1Y+b.2g)/2;1B;1z 7:a.1U=(b.2b+b.1Z)/2;a.1T=b.2g+d.y;1B;6w:1B}Y O.1c.3a(a)},qS:S(b,e,c){Q f={};Q a=O.1c.6z(b);Q d=X P.U.1f(a.1U,a.1T);6x(e){1z 1:f.x=d.x-c.1Z;f.y=d.y-c.1Y;1B;1z 3:f.x=d.x-c.2b;f.y=d.y-c.1Y;1B;1z 6:f.x=d.x-c.1Z;f.y=d.y-c.2g;1B;1z 8:f.x=d.x-c.2b;f.y=d.y-c.2g;1B;1z 2:f.x=0;f.y=d.y-c.1Y;1B;1z 4:f.x=d.x-c.1Z;f.y=0;1B;1z 5:f.x=d.x-c.2b;f.y=0;1B;1z 7:f.x=0;f.y=d.y-c.2g;1B;6w:1B}Y f},bv:S(){19(Q b=0;b<O.4a.W;b++){Q a=O.4a[b];if(R===a){1W}if(O.1b.Z.21==="3O"){a.1b.Z.21=O.1b.Z.21}a.1u();if(a.1b!==R&&a.1b.1g!==R){a.1b.1g.2l(a.1b)}}},bl:S(){Y 1d},79:S(){},9P:S(h,g,j){Q a=0.qQ;Q d=P.33.3q().kx();if(j&&j.7Q){a=j.7Q}if(j&&j.qR){d=j.qR}Q b=d/qQ;Q f=g.x+h.x*b;Q e=g.y-h.y*b;Q c=O.1c.6z(X P.3M(f,e));Y X P.U.1f(c.1U,c.1T)},yG:S(c,f,b,d){if(O.1b.1g){if(!d){d="S"}Q e=X P.V.6a();P.33.3q(O.1c).6d().69(e);Q a=X P.V.4d();a.3L=O.1h[i].1g.id;a.1r=O.1h[i].T.1r;if(d==="S"){a.3b=c;a.4h=f;a.4c=b}13{a.aX=c;a.jD=f;a.jC=b}e.1O.17(a)}},1t:"P.U.1N"});P.U.1N.lC=S(b,a){Y P.V.7Y.lC(b,a)};P.U.1N.5W=S(b,a){if(0===b&&(a===P.V.1i.ak||a===P.V.1i.aj||a===P.V.1i.ai||a===P.V.1i.c5||a===P.V.1i.dv||a===P.V.1i.du||a===P.V.1i.dt||a===P.V.1i.ds||a===P.V.1i.ah||a===P.V.1i.8q||a===P.V.1i.9s||a===P.V.1i.ag||a===P.V.1i.c6||a===P.V.1i.dr||a===P.V.1i.c3||a===P.V.1i.9r||a===P.V.1i.eW||a===P.V.1i.gM||a===P.V.1i.c2)){Y 1d}13{Y P.V.7Y.5W(b,a)}};P.U.1N.94=S(b,a){Y P.V.7Y.94(b,a)};P.U.1N.e0=S(c,b,a){Q e=R;Q d=R;if(c===0){d=b}13{if(a.1j&&a.1j.1s){d=a.1j.1s}13{if(a.1s){d=a.1s}}}if(!a){a={}}a.1v=c;a.1C=b;6x(d){1z P.V.1i.c6:e=X P.U.3I(a);1B;1z P.V.1i.bM:e=X P.U.lw(a);1B;1z P.V.1i.c5:e=X P.U.dY(a);1B;1z P.V.1i.ak:e=X P.U.cB(a);1B;1z P.V.1i.ai:e=X P.U.hM(a);1B;1z P.V.1i.aj:e=X P.U.93(a);1B;1z P.V.1i.du:e=X P.U.li(a);1B;1z P.V.1i.dt:e=X P.U.lh(a);1B;1z P.V.1i.ds:e=X P.U.lg(a);1B;1z P.V.1i.5b:e=X P.U.59(a);1B;1z P.V.1i.dr:e=X P.U.4n(a);1B;1z P.V.1i.dv:e=X P.U.lv(a);1B;1z P.V.1i.ah:e=X P.U.l9(a);1B;1z P.V.1i.8q:e=X P.U.dX(a);1B;1z P.V.1i.9s:e=X P.U.hT(a);1B;1z P.V.1i.ag:e=X P.U.hP(a);1B;1z P.V.1i.c3:e=X P.U.9N(a);1B;1z P.V.1i.c2:e=X P.U.bp(a);1B;1z P.V.1i.9r:e=X P.U.3g(a);1B;1z P.V.1i.eW:e=X P.U.hz(a);1B;6w:e=X P.U.6K(a)}Y e};P.U.1N.2Y=S(f,b,c,j,a){Q e=X P.5L.4f();Q h=P.1o.6b(P.U.1N.7j);if(j&&j.1j){j.1j.yF.9L=1a;h=P.V.5G.eQ(j.1j);h.1w=P.U.1N.7j.1w;P.1o.jL(h,P.U.1N.7j)}if(h){e.Z=P.1o.2v(e.Z,h)}if(P.33.3q().dC().hd){e.Z.1w=P.33.3q().dC().1w}if(a&&a.2k("1w")){e.Z.1w=a.1w}j.1b=e;Q d=P.U.1N.e0(f,b,j);if(c){if(!P.1o.4g(c)){c=[c]}if(c.W<d.3W){Y}13{if(c.W>d.5w){c=c.53(0,d.5w)}}d.18=P.V.1m.3F(c)}e.T=d;Q g=P.33.3q(d.1c,d.1X);P.V.5G.oP(e,g.dC());if(a){e.Z=P.1o.2v(e.Z,a)}d.1u();d.5O=1a;Y e};P.U.1N.7j={21:"21",2I:"#5N",5K:"ce",3N:"1.lH",1D:2,yE:"9F",yD:"9F",86:"#gr",85:"1.lH",4W:4,3P:1,2h:"#5N",2j:"0.31",4T:"#5N",5J:"1.lH",41:"6c",3z:"#9j",3m:"gG gF",1w:"12",4r:1d,5T:"#5N",5S:"oR",66:1d,65:"#5N",5E:1d,64:"#5N",5D:0,5C:0,3e:0,3i:4E,2u:"lt",2V:-0,cn:0,cl:0,9L:1a,9D:"6c",cc:0.31,ca:"#5N",3v:0,3Y:0,2K:0};P.U.2W=P.23(P.U.1N,{5w:0,3W:0,2L:R,yC:{},6P:5,6O:1,5O:1d,18:R,1M:R,2a:R,e2:R,4K:R,qM:S(){},ao:S(b,a){},qL:S(){},qK:S(a){},qJ:S(){},qI:S(a){},yB:S(){Y O.2L},lD:S(a){},i5:S(a){if(a){if(!(P.1o.4g(a))){a=[a]}O.2a=a;O.1u();if(O.1b!==R&&O.1b.1g!==R){O.1b.1g.1p.1E("ax",{1h:[O.1b]})}}},7G:S(d){if(O.2F()){Y}if(d||d!==R){if(!(P.1o.4g(d))){d=[d]}Q a=d.53();if(d.W<O.3W){Y}13{if(d.W>O.5w){d=d.53(0,O.5w)}}O.18=[];O.18=P.V.1m.3F(d);if(O.1s===P.V.1i.a8||O.1s===P.V.1i.a9||O.1s===P.V.1i.a7){O.yA()}13{if(O.1s===P.V.1i.ak&&a[2]!==1k&&a[3]!==1k){O.55=a[2];O.56=a[3];Q c=O.1b.1g.4b(a[2]);Q b=O.1b.1g.4b(a[3]);if(c){c.T.5l.17(O)}if(b){b.T.5l.17(O)}O.1u()}13{O.1u()}}if(O.1b!==R&&O.1b.1g!==R){O.1b.1g.1p.1E("ax",{1h:[O.1b]})}}},hI:S(){Y O.18},1I:S(a){O.18=[];O.1M=[];O.2a=[];O.e2=[];P.U.1N.1y.1I.1q(O,1K);if(O.2L===R){O.2L=P.V.4X.6c}},1A:S(){O.2L=R;O.3W=R;O.5w=R;O.18.W=0;O.18=R;O.1M.W=0;O.1M=R;O.2a.W=0;O.2a=R;P.U.1N.1y.1A.1q(O,1K)},6m:S(){O.e2=[];19(Q a=0;a<O.11.W;a++){O.e2.17(O.11[a])}O.11=[];O.1M=[]},8z:S(){O.qP();O.hK(O.e2,O.11);if(O.mU!==1a){O.3x();O.bv()}},hK:S(a,c){Q b=c.53();6Q(a.W){if(b[0]!==1k&&a[0].1t===b[0].1t){b[0].id=a[0].id;if(a[0]1l P.U.2W){O.hK(a[0].11,b[0].11)}b.2N(0,1)}13{if(a[0]1l P.U.2W){O.hZ(a[0].11)}13{O.hZ(a[0])}}a.2N(0,1)}},hZ:S(d){if(O.1b===R||O.1b.1g===R){Y}Q c=O.1b.1g;if(c.4Z 1l P.2Q.5g||c.4Z 1l P.2Q.9z){Y}S b(k,h){Q f;if(h){f=4Q.71(k+"yz"+h);h++}13{f=4Q.71(k);h=1}if(f){if(c.4Z.cs.yy()===1a){19(Q g=0;g<c.4Z.cs.3u.W;g++){if(c.4Z.cs.3u[g]===f){c.4Z.cs.78(f);b(k,g)}}}}}if(!P.1o.4g(d)){d=[d]}19(Q a=0;a<d.W;a++){Q e=R;if(d[a]1l P.U.5o){e=O.1b.id+"hy"+d[a].id+"yx";b(e);e=O.1b.id+"hy"+d[a].id+"l0";b(e);e=O.1b.id+"hy"+d[a].id+"hw";b(e)}13{e=d[a].id;b(e)}}},qD:S(){Q b=P.V.1m.3F(O.18);if(O.1s===P.V.1i.8Q){b.2N(1,0,X P.U.1f(O.18[1].x,O.18[0].y));b.17(X P.U.1f(O.18[0].x,O.18[1].y));b.17(X P.U.1f(O.18[0].x,O.18[0].y))}Q a={2C:24,2S:1d,2m:b,Z:{2I:"#d8",3N:1,1D:2,5K:"pm",aI:1a,9n:1a,6r:1a,2S:1d}};Q c=P.U.3k.4p(a.2C,a.2m,a.1H,0);c.Z=a.Z;O.11.17(c)},eA:S(){Y P.V.1m.3F(O.18)},2n:S(b,f){Q e,d,c,a;19(e=0,a=O.11.W;e<a;e++){if(O.11[e].1t!=="P.U.5o"){if(O.11[e].cF&&O.11[e].cF===1a){1W}O.11[e].2n(b,f);if(O.11[e].46&&O.11[e].46!==R){O.11[e].46.2n(b,f)}}13{O.11[e].x+=b;O.11[e].y+=f;if(O.11[e].3H!==R){O.11[e].3H.1Z+=b;O.11[e].3H.1Y+=f;O.11[e].3H.2b+=b;O.11[e].3H.2g+=f}}}19(e=0,a=O.18.W;e<a;e++){O.18[e].2n(b,f)}19(d=0,a=O.1M.W;d<a;d++){O.1M[d].2n(b,f)}19(c=0,a=O.3D.W;c<a;c++){O.3D[c].2n(b,f)}},fp:S(){P.U.1N.1y.fp.1q(O,1K);if(O.1L.1V!==R){O.2L=O.1L.1V.qO;if(O.1L.1V.6g){O.18=[];19(Q b=0;b<O.1L.1V.6g.W;b++){O.18.17(X P.U.1f(O.1L.1V.6g[b][0],O.1L.1V.6g[b][1]))}}if(O.1L.1V.9T&&O.1L.1V.9T.W!==0){O.2a=[];19(Q a=0;a<O.1L.1V.9T.W;a++){O.2a.17(O.1L.1V.9T[a])}}}},fo:S(){P.U.1N.1y.fo.1q(O,1K);if(!!O.1L.1V){O.1L.1V.qO=O.2L;O.1L.1V.yw=O.5O;if(!O.1L.1V.2k("9T")){O.1L.1V.9T=[];O.1L.1V.9T=O.2a}13{19(Q b=0;b<O.2a.W;b++){if(O.1L.1V.9T.W>b){O.1L.1V.9T[b]=O.2a[b]}13{O.1L.1V.9T.17(O.2a[b])}}}if(!O.1L.1V.2k("6g")){O.1L.1V.6g=[]}Q a=O.18.W;if(O.1s===P.V.1i.bO){a=3}19(Q b=0;b<a;b++){if(O.1L.1V.6g.W>b){O.1L.1V.6g[b][0]=O.18[b].x;O.1L.1V.6g[b][1]=O.18[b].y}13{O.1L.1V.6g.17([O.18[b].x,O.18[b].y,0])}}}},1t:"P.U.2W"});P.U.3I=X P.23(P.U.1N,{4j:R,br:S(){Y O.3p},ql:S(){19(Q b=0;b<O.11.W;b++){Q a=O.11[b];if(R===a||R===a.Z){1W}if(O.1b===R||O.1b.Z===1k){Y}a.Z=P.1o.2v(a.Z,O.1b.Z)}if(O.1s===P.V.1i.ai||O.1s===P.V.1i.aj){O.1u()}},jF:S(c){if(O.2F()){Y}19(Q b=0;b<O.11.W;b++){Q a=O.11[b];if(R===a||R===a.Z){1W}a.Z.2I=c}O.1b.Z.2I=c},yv:S(){Q e="#5N";Q d=R;Q a=1a;19(Q c=0;c<O.11.W;c++){Q b=O.11[c];if(R===b||R===b.Z){1W}if(R===d){d=b.Z.2I}13{if(d!==b.Z.2I){a=1d;1B}}}if(a===1a){e=d}Y e},yu:S(c){if(O.2F()){Y}19(Q b=0;b<O.11.W;b++){Q a=O.11[b];if(R===a||R===a.Z){1W}a.Z.1D=c}O.1b.Z.1D=c},yt:S(){Q e=2;Q d=0;Q c=1a;19(Q b=0;b<O.11.W;b++){Q a=O.11[b];if(R===a||R===a.Z){1W}if(0===d){d=a.Z.1D}13{if(d!==a.Z.1D){c=1d;1B}}}if(c===1a){e=d}Y e},au:S(a){if(O.2F()){Y}if(!7B(a)){O.2f(a,O.4q);O.3p=a;O.1E()}},bx:S(){Y O.1R},bo:S(a){if(O.2F()){Y}if(!7B(a)){O.7Q(a/O.1R);O.1R=a;O.1E()}},1I:S(a){P.U.1N.1y.1I.1q(O,1K);O.1v=0;O.1C=P.V.1i.c6;O.1s=P.V.1i.c6;O.4i=P.6C("ys");if(O.4j===R){O.4j=[]}},1A:S(){P.U.1N.1y.1A.1q(O,1K)},1u:S(){if(!P.1o.4g(O.4j)){O.4j=[O.4j]}if(O.11.W===0){if(0===O.4j.W){Y}Q f=[];19(Q e=0;e<O.4j.W;e++){Q d=O.4b(O.4j[e]);if(d!==R){if(d.T 1l P.U.3I){f.17(d.T.11)}13{f.17(d)}d.1g.4B([d])}}19(Q b=0;b<f.W;b++){f[b].T.4K=O;O.11.17(f[b])}}if(O.yr===1a){Q g=O.2D();Q a=[];a.17(X P.U.1f(g.1Z,g.1Y));a.17(X P.U.1f(g.1Z,g.2g));a.17(X P.U.1f(g.2b,g.2g));a.17(X P.U.1f(g.2b,g.1Y));Q c=P.U.1N.2Y(0,24,a,{1c:O.1c});c.qN=1a;c.Z.5K="kT";O.11.17(c)}13{19(e=0;e<O.11.W;){if(O.11[e].qN===1a){O.11.2N(e,1)}13{e++}}}O.3x()},gB:S(){if(O.2F()){Y}if(O.1b===R||O.1b.1g===R){Y O.11}13{19(Q a=0;a<O.11.W;a++){O.11[a].T.4K=R}O.1b.1g.5r(O.11);if(O.3c===1a){if(O.1b!==R&&O.1b.1g!==R){O.1b.1g.1p.1E("7M",{1h:O.11})}}}},79:S(){19(Q b=0,a=O.11.W;b<a;b++){O.11[b].T.79()}O.3x()},4F:S(){P.U.1N.1y.4F.1q(O,1K);if(!!O.1j&&O.1j.cu){O.4j=O.1j.4j;19(Q c=0;c<O.1j.cu.W;c++){Q a=O.1j.cu[c];Q b=P.U.1N.2Y(a.1v,a.1C,R,{1j:a,1c:O.1c});b.T.4K=O;O.11.17(b)}}},51:S(){P.U.1N.1y.51.1q(O,1K);if(!!O.1j){O.1j.4j=O.4j;O.1j.cu=[];19(Q a=0;a<O.11.W;a++){O.1j.cu.17(O.11[a].T.7i())}}},7C:S(){O.3H=R;Q d=X P.5B();Q c=O.11;if(c){19(Q b=0,a=c.W;b<a;b++){if(c[b].T.1s!==P.V.1i.4C){d.2R(c[b].T.2D())}13{d.2R(c[b].T.11[0].9O(O.1c,c[b].Z))}}}if(d.1Z!=R&&d.2g!=R&&d.2b!=R&&d.1Y!=R){O.at(d)}},2n:S(b,d){if(O.2F()){Y}19(Q c=0,a=O.11.W;c<a;c++){O.11[c].T.2n(b,d)}if(O.3H!==R){O.3H.1Z+=b;O.3H.1Y+=d;O.3H.2b+=b;O.3H.2g+=d}},2f:S(b,d){19(Q c=0,a=O.11.W;c<a;c++){O.11[c].T.2f(b,d);O.11[c].T.3p+=b}},7Q:S(d){19(Q b=0,a=O.11.W;b<a;b++){if(O.11[b].T.1t==="P.U.3I"){Q c=O.11[b].T.2D();O.11[b].T.4q=X P.U.1f((c.1Z+c.2b)/2,(c.1Y+c.2g)/2);O.11[b].T.7Q(d)}13{O.1b.T.3x();if(O.11[b].T.3D.W!==0){O.11[b].T.58(d,O.4q);O.11[b].T.1u()}13{O.11[b].T.58(d,O.4q)}}}},1t:"P.U.3I"});P.U.59=X P.23(P.U.2W,{6f:R,5I:R,2c:R,ee:R,4J:-1,3d:R,2t:R,2y:R,bw:R,4x:7,q0:1a,9E:60,5l:R,6M:R,6R:1d,cG:R,5y:0,5x:0,5e:1a,yq:S(a){if(O.2F()){Y}if(O.5e!==a){if(a.yp===yo){O.5e=a}if(O.5e===1d){O.2y.x=O.2t.w/O.3d.w;O.2y.y=O.2t.h/O.3d.h}13{if(O.5e===1a){if(O.2y.y!==1k){O.2y.x=O.2y.x<O.2y.y?O.2y.y:O.2y.x}O.1u();O.1E()}}}},yn:S(){Y O.5e},qo:S(){Y O.4x},qn:S(a){if(O.2F()){Y}if(O.4x!==a){O.4x=a;if(O.1H.W!==0){O.i0()}}},ym:S(a){if(O.2F()){Y}if(O.6R===a){Y}O.6R=a;if(O.6R===1d){O.5y=0;O.5x=0}O.1u();O.1E()},yl:S(){Y O.6R},yk:S(a){if(O.2F()){Y}if(O.cG!==a){O.cG=a;if(O.6R){O.1u();O.1E()}}},yj:S(){Y O.cG},qM:S(){Y O.2t},ao:S(e,a){if(O.2F()){Y}if(0===O.3d.w||0===O.3d.h){O.2y=1}13{if(O.2t===R){O.2t=X P.ey(0,0)}Q d=e/O.1R/O.3d.w;Q c=a/O.1R/O.3d.h;if(O.5e===1a){if(O.2y.x!==d){O.2y.x=d}13{if(O.2y.x!==c){O.2y.x=c}}}13{O.2y={x:d,y:c}}}if(O.5e===1d){O.2t.w=d*O.1R*O.3d.w;O.2t.h=c*O.1R*O.3d.h}13{O.2t.w=O.2y.x*O.1R*O.3d.w;O.2t.h=O.2y.x*O.1R*O.3d.h}if(O.1b!==R){Q b;if(O.5e===1d){b=O.2y.x<O.2y.y?O.2y.x:O.2y.y}13{b=O.2y.x}if(O.1w===1k){O.1w=O.1b.Z.1w/O.1R/b}13{O.1b.Z.1w=O.1w*O.1R*b}O.7b=O.1b.Z.1w}O.1u();O.1E()},au:S(b){if(O.2F()){Y}if(!7B(b)){Q e=(b-O.3p)*1n.2r/2M;O.3p=b;19(Q c=0,a=O.3D.W;c<a;c++){19(Q d=0;d<O.3D[c].18.W;d++){O.3D[c].18[d]=P.V.1m.jj(O.18[0],e,O.3D[c].18[d])}}O.1u();O.1E()}},bx:S(){if(O.5e===1a){Y O.2y.x}13{Y O.2y={x:O.2t.w/O.3d.w,y:O.2t.h/O.3d.h}}},bo:S(b,a){if(O.2F()){Y}if(!7B(b)){if(O.5e===1a){O.2y.x=b;O.2t.w=O.2y.x*O.1R*O.3d.w;O.2t.h=O.2y.x*O.1R*O.3d.h}13{O.2t.w=b*O.3d.w;O.2t.h=a*O.3d.h}O.1b.Z.1w=O.1w*O.1R*b;O.7b=O.1b.Z.1w}O.1u();O.1E()},qL:S(){Y O.6f},qK:S(d){if(O.2F()){Y}S a(f){O.1j.3E=f.2z.3E;O.6f=f.2z.6f;O.1u();O.2l();O.1E()}S e(f){Y}Q b=X P.1P.7L(O.1X);b.1p.on({4m:a,4l:e,3R:O});Q c=X P.1P.6L();c.1v=O.1v;c.1C=O.1C;c.6f=d;c.5I=O.5I;c.2L=O.2L;b.4N(c,O.27)},qJ:S(){Y O.5I},qI:S(d){if(O.2F()){Y}S a(f){O.1j.3E=f.2z.3E;O.5I=f.2z.5I;O.1u();O.2l();O.1E()}S e(f){Y}Q b=X P.1P.7L(O.1X);b.1p.on({4m:a,4l:e,3R:O});Q c=X P.1P.6L();c.1v=O.1v;c.1C=O.1C;c.5I=d;c.6f=O.6f;c.2L=O.2L;b.4N(c,O.27)},lD:S(e){if(O.2F()){Y}S a(f){O.1j.3E=f.2z.3E;O.2L=f.2z.2L;O.1u();O.2l();O.1E()}S d(f){Y}Q b=X P.1P.7L(O.1X);b.1p.on({4m:a,4l:d,3R:O});Q c=X P.1P.6L();c.1v=O.1v;c.1C=O.1C;c.5I=O.5I;c.6f=O.6f;c.2L=e;b.4N(c,O.27)},fu:S(a){if(O.2F()){Y}if(O.2c!==a){O.2c=a;if(O.1H.qm!==0){O.i0()}}},1I:S(a){O.5l=[];O.6M=[];O.2t=X P.ey(0,0);O.bi=P.33.3q().kx();if(O.2y===R){O.2y={}}P.U.2W.1y.1I.1q(O,1K);O.3W=1;O.5w=1;if(O.cG===R){O.cG=P.V.jQ.jP}if(O.5y===R){O.5y=0}if(O.5x===R){O.5x=0}if(O.3l){O.1R*=O.3G/O.1c.3o();if(O.8Z!==1k){O.8Z*=O.3G/O.1c.3o()}}O.3G=O.1c.3o();if(O.8Z===1k){O.8Z=O.1R}if(O.1R>O.6P){O.1R=O.6P}13{if(O.1R<O.6O){O.1R=O.6O}}if(O.2t===R||(O.2t.w===0&&O.2t.h===0)){O.2t.w=O.3d.w;O.2t.h=O.3d.h}if(O.2y.x===R||O.2y.x===1k){Q c=O.3d.w;Q b=O.2t.w;if(O.3d.w<O.3d.h){c=O.3d.h;b=O.2t.h}O.2y.x=b/c;if(O.5e===1a){O.2t.w=O.2y.x*O.1R*O.3d.w;O.2t.h=O.2y.x*O.1R*O.3d.h}13{O.2t.w=O.2y.x*O.1R*O.3d.w;O.2t.h=O.2y.y*O.1R*O.3d.h}if(O.1w===1k&&O.1b!==R){if(O.1b.Z.1w===1k){O.1b.Z.1w=12}O.1w=O.1b.Z.1w/O.2y.x}}},1A:S(){O.6f=R;O.5I=R;O.4J=-1;O.2c=R;O.3d=R;O.2t=R;O.bw=R;O.5y=R;O.5x=R;if(R!==O.5l&&1k!==O.5l){19(Q a=0;a<O.5l.W;a++){if(R===O.5l[a]){1W}if(O.5l[a].55===O.1r){O.5l[a].55=R}if(O.5l[a].56===O.1r){O.5l[a].56=R}}}O.5l=[];O.6M=[];P.U.2W.1y.1A.1q(O,1K)},1u:S(){if(O.18!==R&&O.18.W!==0){if(O.4J!==-1&&O.11.W>O.4J){O.i4={};if(O.11[O.4J]&&O.11[O.4J].Z){O.i4=P.1o.2v(O.i4,O.11[O.4J].Z)}}if(O.18.W===1){O.6m();O.ee=[];Q a=P.V.5G.qz(O.1j);O.11=O.qG(a);O.lG();O.8z();O.4J=-1;O.i0(O.i4)}}},lG:S(b){Q d,j,k,e,o,p;if(O.6R){if(O.cG===P.V.jQ.jP){d=O.1c.3a(X P.2w(O.18[0].x,O.18[0].y));j=X P.3M(d.x+O.5y,d.y+O.5x);k=O.1c.2G(j);e=X P.U.1f(k.1U,k.1T);o=[O.18[0],e];p=P.U.3k.4p(24,o);p.Z={2S:1d,9n:1a};p.cF=1a;if(b){p.id=b}O.11.17(p)}13{d=O.1c.3a(X P.2w(O.18[0].x,O.18[0].y));j=X P.3M(d.x+O.5y,d.y+O.5x);k=O.1c.2G(j);e=X P.U.1f(k.1U,k.1T);Q m=P.V.1m.7g(O.18[0],e);Q n=m*2M/1n.2r;Q f,c,l,h,g,a;if((n>45&&n<hk)||(n>hj&&n<hi)){l=X P.3M(j.x-O.1b.Z.1D/2,j.y);h=X P.3M(j.x+O.1b.Z.1D/2,j.y);g=O.1c.2G(l);a=O.1c.2G(h);f=X P.U.1f(g.1U,g.1T);c=X P.U.1f(a.1U,a.1T)}13{l=X P.3M(j.x,j.y-O.1b.Z.1D/2);h=X P.3M(j.x,j.y+O.1b.Z.1D/2);g=O.1c.2G(l);a=O.1c.2G(h);f=X P.U.1f(g.1U,g.1T);c=X P.U.1f(a.1U,a.1T)}o=[O.18[0],f,c];p=P.U.3k.4p(32,o);p.Z={2S:1d,6r:1a,1D:0,8J:1a,2q:1a};p.cF=1a;if(b){p.id=b}O.11.17(p)}}},79:S(){if(O.8d!==1k&&O.8d!==O.1b.Z.1D){O.1D=O.1b.Z.1D;O.8d=O.1b.Z.1D}if(O.7b!==1k&&O.7b!==O.1b.Z.1w){O.1w=O.1b.Z.1w/O.1R/O.2y;O.7b=O.1b.Z.1w}if(O.i2!==1k&&O.i2!==O.5y){O.fF=O.5y/O.1R;O.i2=O.5y}if(O.i1!==1k&&O.i1!==O.5x){O.fE=O.5x/O.1R;O.i1=O.5x}if(O.3G!==O.1c.3o()){if(O.5O===1d){O.3G=O.1c.3o();Y}if(!O.3l||O.3l===1d){19(Q p=0;p<O.4a.W;p++){O.4a[p].3G=O.1c.3o()}O.i3=O.1R;Q t=O.1c.3o()/O.3G;Q b=O.18[0];O.hY(t,b)}13{if(O.8Z===1k){O.8Z=O.1R}if(O.9C===1k){O.9C=O.1R}O.8Z*=O.3G/O.1c.3o();if(O.8Z>O.6P){O.1R=O.6P}13{if(O.8Z<O.6O){O.1R=O.6O}13{O.1R=O.8Z}}if(O.1R!==O.9C){Q h=O.2y.x*O.1R;if(O.5e===1a){O.2t.w=h*O.3d.w;O.2t.h=h*O.3d.h}13{if(O.9C){O.2t.w=O.2y.x*O.1R*O.3d.w/O.9C;O.2t.h=O.2y.y*O.1R*O.3d.h/O.9C}13{O.2t.w=O.2y.x*O.1R*O.3d.w;O.2t.h=O.2y.y*O.1R*O.3d.h}}if(O.qH===1k){O.qH=O.4x}if(O.1D===1k){O.1D=O.1b.Z.1D}Q q=(O.1D/0.5)*5;if(O.2t.w<q&&O.2t.h<q){O.ed=1a;Q r=O.2t.w>O.2t.h?O.2t.w:O.2t.h;O.1b.Z.1D=1n.5U(r/10);if(O.1b.Z.1D>=O.1D){O.1b.Z.1D=O.1D}if(O.1b.Z.1D<=0.5){O.1b.Z.1D=0.5}}13{if(O.ed===1a){O.ed=1d}O.1b.Z.1D=O.1D}O.8d=O.1b.Z.1D;O.1b.Z.1w=O.1w*h;O.7b=O.1b.Z.1w;if(O.6R===1a&&(O.5y!==0||O.5x!==0)){if(O.i3===1k){O.i3=O.1R}if(O.fF===1k){O.fF=O.5y}if(O.fE===1k){O.fE=O.5x}if(O.6R===1a&&O.1R<=O.i3){O.5y=O.fF*O.1R;O.5x=O.fE*O.1R}13{O.5y=O.fF;O.5x=O.fE}O.i2=O.5y;O.i1=O.5x}if(O.1H.W!==0&&O.2c===8){Q m;if(O.5e===1a){m=O.bw.7Q(O.1R*O.2y.x,O.4q)}13{m=O.lF()}Q f=m.5p()*O.bi/25.4/10;Q e=m.5F()*O.bi/25.4/10;O.1b.Z.4L=f;O.1b.Z.4M=e;O.11[O.4J].Z.4L=O.1b.Z.4L;O.11[O.4J].Z.4M=O.1b.Z.4M}if(O.ee.W!==0){19(Q c=O.ee.W;c--;){Q l=O.ee[c];O.11[l].Z.1w=h*(O.11[l].Z.1w/O.9C/O.2y)}}19(Q o=0;o<O.4a.W;o++){Q s=O.4a[o];if(R===s){1W}s.1u();if(s.1b!==R&&s.1b.1g!==R){s.1b.1g.2l(s.1b)}}Q d=O.1R/O.9C;Q j=O.3G/O.1c.3o();if(d!==j){O.hY(d*(1/j),O.18[0])}13{19(Q g=0;g<O.11.W;g++){if(O.11[g].cF===1a){Q n=O.11[g].id;O.11.2N(g,1);O.lG(n)}}}O.9C=O.1R}13{Q a=O.1c.3o()/O.3G;O.hY(a,O.18[0])}}O.3G=O.1c.3o()}},2n:S(h,g){if(O.2F()){Y}if(O.2k("4K")&&O.4K!==R){if(O.4K.1s===P.V.1i.c2&&O.3c===1a){Y}}if(O.6R===1d){P.U.2W.1y.2n.1q(O,1K);O.3x()}13{Q f=X P.U.1f(O.18[0].x+h,O.18[0].y+g);Q a=O.1c.3a(X P.2w(f.x,f.y));Q c=O.1c.3a(X P.2w(O.18[0].x,O.18[0].y));O.5y+=a.x-c.x;O.5x+=a.y-c.y;O.1u()}if(R!==O.5l&&0<O.5l.W){19(Q e=0;e<O.5l.W;e++){Q b=O.5l[e];if(R===b){1W}if(b 1l P.U.cB){b.1u()}b.2l()}}if(R!==O.6M&&0<O.6M.W){19(Q e=0;e<O.6M.W;e++){Q k=O.6M[e];if(R===k){1W}if(k 1l P.U.93){19(Q d=0;d<k.11.W;d++){if(k.11[d].T.1s===P.V.1i.8Q){k.11[d].T.18[2].x=O.18[0].x;k.11[d].T.18[2].y=O.18[0].y;k.11[d].T.1u();k.11[d].T.2l()}}}}}O.bv()},qG:S(c){Q e=[];Q f=O.1c.3a(X P.2w(O.18[0].x,O.18[0].y));if(O.6R===1a){f.x+=O.5y;f.y+=O.5x}if(O.5e===1a){Q h=O.2y.x*O.1R}19(Q d=0;d<c.W;d++){Q b=c[d];if(b.2C===P.V.1i.4C){b.Z.1w=h*(b.Z.1w/10);if(b.Z.1w<6){b.Z.1w=6}b.Z.2V+=-O.3p;O.ee.17(d)}19(Q a=0;a<b.2m.W;a++){b.2m[a].x-=O.4q.x;b.2m[a].y-=O.4q.y;if(O.5e===1a){b.2m[a].x=b.2m[a].x*h;b.2m[a].y=b.2m[a].y*h}13{b.2m[a].x=b.2m[a].x*O.2t.w/O.3d.w;b.2m[a].y=b.2m[a].y*O.2t.h/O.3d.h}b.2m[a].2f(O.3p,X P.U.1f(0,0));b.2m[a]=O.9P(b.2m[a],f)}Q g=P.U.3k.4p(b.2C,b.2m,b.1H,O.3p,1d);if(b.2C===P.V.1i.4C){g.3G=O.1c.3o()}g.Z=b.Z;e.17(g)}Y e},la:S(){if(O.3H==R){O.7C(1a)}Y O.3H},7C:S(b){O.3H=R;Q e=X P.5B();Q d=O.11;if(d){19(Q c=0,a=d.W;c<a;c++){if((d[c].cF&&d[c].cF===1a)||c===O.4J){1W}e.2R(d[c].2D())}}if(b&&b===1a&&O.4J!==-1&&O.1b!==R){P.V.1m.fA(O.11[O.4J].Z,O.1b.Z);e.2R(O.11[O.4J].9O(O.1c,O.11[O.4J].Z))}if(e.1Z!=R&&e.2g!=R&&e.2b!=R&&e.1Y!=R){O.at(e)}},lF:S(){Q b=O.2y.x;Q h=O.2y.y;Q a,g;if(O.4q 1l P.U.1f){a=O.4q.x;g=O.4q.y}13{if(O.4q 1l P.2w){a=O.4q.1U;g=O.4q.1T}}Q f=(O.bw.1Z-a)*b+a;Q c=(O.bw.2g-g)*h+g;Q d=(O.bw.2b-a)*b+a;Q e=(O.bw.1Y-g)*h+g;Y X P.5B(f,c,d,e)},i0:S(c){O.1H=P.V.1m.pk(O.1H);Q a=O.2D();if(O.1H&&O.1H!==R&&O.1H.W!==0&&a!==R){if(!c&&O.1b){c=P.1o.2v(c,O.1b.Z)}13{if(!c){c=P.V.5G.eQ(O.1j)}}Q b=O.4x*O.1R;Q q=R;Q k,d,n;if(O.2c===0){c.2u="rb";k=X P.2w(a.1Z,a.1Y);d=O.1c.3a(k);d.x-=b;n=O.1c.2G(d);q=X P.U.1f(n.1U,n.1T)}13{if(O.2c===1){c.2u="rt";k=X P.2w(a.1Z,a.2g);d=O.1c.3a(k);d.x-=b;n=O.1c.2G(d);q=X P.U.1f(n.1U,n.1T)}13{if(O.2c===2){c.2u="lb";k=X P.2w(a.2b,a.1Y);d=O.1c.3a(k);d.x+=b;n=O.1c.2G(d);q=X P.U.1f(n.1U,n.1T)}13{if(O.2c===3){c.2u="lt";k=X P.2w(a.2b,a.2g);d=O.1c.3a(k);d.x+=b;n=O.1c.2G(d);q=X P.U.1f(n.1U,n.1T)}13{if(O.2c===4){c.2u="cb";k=X P.2w((a.1Z+a.2b)/2,a.1Y);d=O.1c.3a(k);d.y-=b;n=O.1c.2G(d);q=X P.U.1f(n.1U,n.1T)}13{if(O.2c===5){c.2u="ct";k=X P.2w((a.1Z+a.2b)/2,a.2g);d=O.1c.3a(k);d.y+=b;n=O.1c.2G(d);q=X P.U.1f(n.1U,n.1T)}13{if(O.2c===6){c.2u="rm";k=X P.2w(a.1Z,(a.1Y+a.2g)/2);d=O.1c.3a(k);d.x-=b;n=O.1c.2G(d);q=X P.U.1f(n.1U,n.1T)}13{if(O.2c===7){c.2u="lm";k=X P.2w(a.2b,(a.1Y+a.2g)/2);d=O.1c.3a(k);d.x+=b;n=O.1c.2G(d);q=X P.U.1f(n.1U,n.1T)}13{if(O.2c===8){Q p;if(O.5e===1d){p=O.lF()}13{p=O.bw.7Q(O.1R*O.2y.x,O.4q)}Q o=X P.U.1f((p.1Z+p.2b)/2,(p.1Y+p.2g)/2);if(O.5I){Q l=P.V.1m.l3(o,X P.U.1f(O.4q.x,4E),X P.U.1f(O.4q.x,O.4q.y));o.2f(2M,l)}o.x-=O.4q.x;o.y-=O.4q.y;o.2f(O.3p,X P.U.1f(0,0));Q e=O.1c.3a(X P.2w(O.18[0].x,O.18[0].y));if(O.6R===1a){e.x+=O.5y;e.y+=O.5x}Q j=p.5p()*O.bi/25.4/10;Q h=p.5F()*O.bi/25.4/10;q=O.9P(o,e);c.cV=-O.3p;c.2u="cm";c.4L=j;c.4M=h;c.bD=1;if(O.1b!==R){c.3z=O.1b.Z.3z;c.3m=O.1b.Z.3m;c.3K=O.1b.Z.3K;c.3Z=O.1b.Z.3Z}c.a0=O.qF(O.1H,c)}}}}}}}}}if(q){Q g=R;if(O.2c===8){g=X P.U.1f(q.x,q.y)}13{Q r=X P.U.3k();g=r.lE([q],O.1H);if(O.2c!==8&&O.1b!==R){if(O.5e===1d){Q m=O.2y.x<O.2y.y?O.2y.x:O.2y.y}if(O.7b!==1k&&O.7b!==O.1b.Z.1w){if(O.5e===1a){O.1w=O.1b.Z.1w/O.1R/O.2y.x}13{O.1w=O.1b.Z.1w/O.1R/m}O.7b=O.1b.Z.1w}if(O.1w!==1k){if(O.5e===1a){O.1b.Z.1w=O.1w*O.1R*O.2y.x}13{O.1b.Z.1w=O.1w*O.1R*m}O.7b=O.1b.Z.1w}13{if(O.5e===1a){O.1w=O.1b.Z.1w/O.1R/O.2y}13{O.1w=O.1b.Z.1w/O.1R/m}O.7b=O.1b.Z.1w}c.1w=O.1b.Z.1w;c.6I=1d;c.2V=0}}g.Z=c;if(O.4J===-1){O.4J=O.11.W;O.11.17(g)}13{if(O.11[O.4J].1t===g.1t){Q f=O.11[O.4J].id;O.11[O.4J]=g;O.11[O.4J].id=f}13{O.hZ(O.11[O.4J]);O.11[O.4J]=g}}}}},2f:S(b,e){19(Q d=0,a=O.11.W;d<a;d++){if(O.11[d].1t==="P.U.1f"){O.11[d].2f(b,e);O.11[d].Z.cV+=-b}13{if(O.11[d].1t==="P.U.5o"){Q c=X P.U.1f(O.11[d].x,O.11[d].y);c.2f(b,e);O.11[d].x=c.x;O.11[d].y=c.y;if(!O.11[d].Z.2V){O.11[d].Z.2V=-b}13{O.11[d].Z.2V+=-b}}13{O.11[d].2f(b,e);if(O.11[d].46&&O.11[d].46!==R){O.11[d].46.2f(b,O.4q)}}}}O.3p+=b;O.18[0].2f(b,e)},58:S(e,d){19(Q c=0,a=O.11.W;c<a;c++){if(O.11[c].1t==="P.U.1f"){O.11[c].58(e,d);O.11[c].Z.4L*=e;O.11[c].Z.4M*=e}13{if(O.11[c].1t==="P.U.5o"){Q b=X P.U.1f(O.11[c].x,O.11[c].y);b.58(e,d);O.11[c].x=b.x;O.11[c].y=b.y;if(!O.11[c].Z.1w){O.11[c].Z.1w=12*e}13{O.11[c].Z.1w*=e}}13{O.11[c].58(e,d);if(O.11[c].46&&O.11[c].46!==R){O.11[c].46.58(e,d)}}}}if(O.18.W>0){O.18[0].58(e,d)}if(O.5e===1a){O.2y.x*=e;O.2t.w=O.2y.x*O.1R*O.3d.w;O.2t.h=O.2y.x*O.1R*O.3d.h;O.1b.Z.1w=O.1w*O.1R*O.2y.x}13{O.2t.w=O.2y.x*O.1R*O.3d.w;O.2t.h=O.2y.y*O.1R*O.3d.h;O.1b.Z.1w=O.1w*O.1R*O.2y.x}O.7b=O.1b.Z.1w},qF:S(g,a){Q o=O.9E;a.1w=o;a.2u="cm";Q j=4Q.kI("1Q");Q b=P.V.1m.dQ(a,g);j.3U=b+20;j.5t=o+10;4Q.fg.5u(j);Q d=j.dK("2d");d.7d=a.3z;d.7A=a.57||1;Q f=[a.3Z?a.3Z:"6q","6q",a.3K?a.3K:"6q",a.1w?X gb(a.1w)+"px":"a3",a.3m?a.3m:"d1-d0"].8i(" ");if(d.9h){d.9i=f;d.cZ="84";d.ga="et";d.9h(g,j.3U/2,j.5t/2)}13{if(d.dL){d.kK=f;Q c=P.2Q.5g.9J[a.2u[0]];if(c==R){c=-0.5}Q l=P.2Q.5g.9J[a.2u[1]];if(l==R){l=-0.5}Q n=[0,0];Q m=d.dM("xx");n[1]+=m*(1+(l*yi));Q k=n[0]+(c*d.dM(g));Q h=n[1]+(m);d.6G(k,h);d.dL(g);d.6G(-k,-h)}}Q e=j.yh("cE/gS","cE/yg-yf");4Q.fg.78(j);Y e},hY:S(h,e){Q g=e.x;Q f=e.y;19(Q c=0,a=O.11.W;c<a;c++){if(O.11[c].1t==="P.U.1f"){O.11[c].58(h,e);O.11[c].3H=X P.5B(O.11[c].x,O.11[c].y,O.11[c].x,O.11[c].y)}13{if(O.11[c].1t==="P.U.5o"){Q b=X P.U.1f(O.11[c].x,O.11[c].y);b.58(h,e);O.11[c].x=b.x;O.11[c].y=b.y;O.11[c].3H=X P.5B(O.11[c].x,O.11[c].y,O.11[c].x,O.11[c].y)}13{Q d=O.11[c].2D();if(O.5e===1a){d=O.11[c].2D()}13{d=O.11[c].3H.7Q(O.1R,e)}O.11[c].58(h,e);O.11[c].3H=X P.5B();O.11[c].3H.1Z=(d.1Z-g)*h+g;O.11[c].3H.2g=(d.2g-f)*h+f;O.11[c].3H.2b=(d.2b-g)*h+g;O.11[c].3H.1Y=(d.1Y-f)*h+f}}}if(O.18.W>0){O.18[0].58(h,e)}if(O.3H!==R){O.3H.1Z=(O.3H.1Z-g)*h+g;O.3H.2g=(O.3H.2g-f)*h+f;O.3H.2b=(O.3H.2b-g)*h+g;O.3H.1Y=(O.3H.1Y-f)*h+f}O.bv()},1t:"P.U.59"});P.U.6K=X P.23(P.U.2W,{bm:R,aw:R,ea:0,e8:0,e9:0,eb:1d,8C:R,ec:1d,4O:0,7V:1a,e7:1d,bq:1d,cD:1d,e6:0,qE:S(){Y O.1S},lD:S(a){if(O.2F()){Y}O.2L=a;O.bm=O.1b.Z.4W/2+O.1b.Z.1D/2;O.1u()},1I:S(b){P.U.2W.1y.1I.1q(O,1K);if(O.1v===0&&O.1s===R){O.1s=O.1C}13{if(O.1s===R){O.1s=P.V.1i.jZ}}if(1k===b.3l||R===b.3l){O.3l=1a}if(1k===b.9L||R===b.9L){O.9L=1d}if(O.aw===R){O.aw=1d}if(O.1v===0&&O.1s===P.V.1i.gO){if(O.fD!==R&&O.fD!==1k){O.2a[1]=O.fD;3j O.fD}if(O.fC!==R&&O.fC!==1k){O.2a[2]=O.fC;3j O.fC}}13{if(O.1v===0&&O.1s===P.V.1i.gN){if(O.4I!=R&&O.4I.W>0){19(Q a in O.4I){O.2a[a]=O.4I[a]}3j O.4I}}13{if(O.1v===0&&O.1s===P.V.1i.8V){if(O.39!==R&&O.39!==1k){O.2a[0]=O.39;3j O.39}if(O.36!==R&&O.36!==1k){O.2a[1]=O.36;3j O.36}}}}if(!P.U.1N.5W(O.1v,O.1C)){O.3W=P.V.7Y.ye(O.1v,O.1C);O.5w=P.V.7Y.yd(O.1v,O.1C);if(O.1S.W===0){O.1S=P.V.7Y.lC(O.1v,O.1C)}if(R!==O.Z&&O.5O===1d){O.1b.Z=P.V.1m.2v(O.1b.Z,P.V.7Y.dC(O.1v,O.1C))}O.4k=P.V.7Y.yc(O);O.2a=O.4k.2a;if(O.1v===0&&O.1s===P.V.1i.bM){if(O.2c!==R&&O.2c!==1k){O.2a[1]=O.2c;3j O.2c}}if(O.1v===0&&(O.1s===P.V.1i.a8||O.1s===P.V.1i.a7)){O.8C=O.4k.8C}}},1A:S(){O.bm=R;P.U.2W.1y.1A.1q(O,1K)},1u:S(){O.6m();if((!O.1H||O.1H===""||O.1H==="???")&&O.1s===P.V.1i.4C){O.1H=P.6C("1H")}if(O.1H.W!==0&&O.3p!==O.1b.Z.2V){O.1b.Z.2V=-O.3p}if(O.18.W>=O.3W){if(P.U.1N.5W(O.1v,O.1C)){O.qA()}13{if(O.4k===R){O.qC()}13{O.qs()}}O.qB();O.8z()}13{if(O.18.W>=2&&O.18.W<O.3W){O.qD()}}},qq:S(c){19(Q b in c){Q a=c[b];Q d=P.U.3k.4p(a.2C,P.V.1m.3F(a.2m),a.1H,0,a.lA);if(!d){1W}13{if(O.1s===P.V.1i.8V&&d 1l P.U.4S){d.11[0].11=P.V.1m.3F(a.2m);if(!d.11[0].11[0].lB(d.11[0].11[d.11[0].11.W-1])){d.11[0].11.17(d.11[0].11[0])}}}d.Z=a.Z;O.11.17(d);O.fB(d)}},qC:S(){if((!O.1H||O.1H===""||O.1H==="???")&&O.1s===P.V.1i.4C){O.1H=P.6C("1H")}Q a={1H:O.1H,2C:O.1s,2S:1d,2m:P.V.1m.3F(O.18),Z:{2I:"#5N",3N:1,1D:1,3P:1,2h:"#5N",2j:0.31,1w:"yb",aI:1d,9n:1d,6r:1d,8J:1d,aG:1d,2S:1d}};if(a.2C===P.V.1i.bN){a.2m.17(a.2m[0])}Q d=P.U.3k.4p(a.2C,a.2m,a.1H,0,O.lA);if(O.1s===P.V.1i.eE){O.18[0].x=a.2m[0].x;O.18[0].y=a.2m[0].y}13{if(O.1s===P.V.1i.bO){O.18[2].x=a.2m[2].x;O.18[2].y=a.2m[2].y;Q c,e;if(O.18.W===3){c=X P.U.1f(O.18[0].x*2-O.18[1].x,O.18[0].y*2-O.18[1].y);O.18.17(c);e=X P.U.1f(O.18[0].x*2-O.18[2].x,O.18[0].y*2-O.18[2].y);O.18.17(e)}13{if(O.18.W===5){e=X P.U.1f(O.18[0].x*2-O.18[2].x,O.18[0].y*2-O.18[2].y);O.18[4].x=e.x;O.18[4].y=e.y}}}}if(d!==R){if(O.1s===P.V.1i.eE){19(Q b=0;b<d.W;b++){d[b].Z=a.Z;O.11.17(d[b]);O.fB(d[b])}}13{if(1k===d){Y}d.Z=a.Z;O.11.17(d);O.fB(d)}}},qB:S(){if((O.1s===P.V.1i.bO||O.1s===P.V.1i.eG||O.1s===P.V.1i.eF||O.1s===P.V.1i.bN||O.1s===P.V.1i.8r||O.1s===P.V.1i.je||O.1s===P.V.1i.gk||O.1s===P.V.1i.aL||O.1s===P.V.1i.gl||O.1s===P.V.1i.gm||O.1s===P.V.1i.jg||O.1s===P.V.1i.jc||O.1s===P.V.1i.eE||O.1s===P.V.1i.o8||O.1s===P.V.1i.jd||O.1s===P.V.1i.jf||O.1s===P.V.1i.o6||O.1s===P.V.1i.jb||O.1s===P.V.1i.gO||O.1s===P.V.1i.8V||O.1s===P.V.1i.gN||O.1s===P.V.1i.o2||O.1s===P.V.1i.o1||O.1s===P.V.1i.aL)&&O.1H.W!==0){if(O.1s!==P.V.1i.4C&&O.1H.W!==0){Q b=O.2D();Q a=b.7N();Q c=P.U.3k.4p(34,[X P.U.1f(a.1U,a.1T)],O.1H);c.Z={2S:1d,2u:"cm"};O.11.17(c)}}},qA:S(){Q b=P.V.5G.qz(O.1j);19(Q c=0;c<b.W;c++){Q a=b[c];if(a.2C===32){a.2m.17(a.2m[0])}if(O.1s===iQ&&a.2C===34&&O.1H.W===0){1W}13{Q e=P.U.3k.4p(a.2C,a.2m,a.1H,0);if(e){e.Z=a.Z;O.11.17(e);O.fB(e)}}}Q d=P.V.5G.qy(O.1j,1d);O.1M=d.1M;O.2a=d.2a;if(O.1j.1S.W!==0&&O.1S.W!==O.1j.1S.W){d=P.V.5G.qy(O.1j,1a);O.1S=d.1S}},2n:S(c,g){if(O.2F()){Y}if(O.1s===P.V.1i.a8||O.1s===P.V.1i.a7||O.1s===P.V.1i.a9||O.1s===P.V.1i.8Q){O.18[0].2n(c,g);O.18[1].2n(c,g);O.1u();19(Q d=0,b=O.3D.W;d<b;d++){O.3D[d].2n(c,g)}}13{P.U.2W.1y.2n.1q(O,1K);Q e;if(O.1j!==R&&O.1j.3E){19(Q a=0;a<O.1j.3E.W;a++){19(Q f=0;f<O.1j.3E[a].2m.W;f++){e=X P.U.1f(O.1j.3E[a].2m[f].x,O.1j.3E[a].2m[f].y);e.2n(c,g);O.1j.3E[a].2m[f].x=e.x;O.1j.3E[a].2m[f].y=e.y}}}if(O.1j!==R&&O.1j.3E){19(Q d=0;d<O.1j.1M.W;d++){e=X P.U.1f(O.1j.1M[d].x,O.1j.1M[d].y);e.2n(c,g);O.1j.1M[d].x=e.x;O.1j.1M[d].y=e.y}}O.3x()}},fB:S(c){if(c.1t==="P.U.5o"){Y 1d}if(c.Z.6r&&c.Z.1D===0){Y 1d}if(c.Z.ya!==1a){c.Z.2L=O.2L}13{if(c.Z.2L===1k){c.Z.2L=P.V.4X.6c}}if(c.Z.2L===P.V.4X.6c){Y 1d}Q b=c.2s();b.Z={};if(c.Z){b.Z=P.1o.2v(b.Z,c.Z)}b.Z.2q=1d;b.Z.8J=1a;b.Z.aG=1a;Q d=b.2s();d.Z={};if(b.Z){d.Z=P.1o.2v(d.Z,b.Z)}d.Z.2S=1a;d.46=b;O.11.17(d);if(c.Z.2L===P.V.4X.bG){Q a=b.2s();a.Z={};if(b.Z){a.Z=P.1o.2v(a.Z,b.Z)}O.11.17(a)}Y 1a},fi:S(g){if(g.1t==="P.U.5o"){Y R}if(g.Z.2L===P.V.4X.6c){Y R}if(g.Z.6r&&g.Z.1D===0){Y R}if(g.Z.2L===P.V.4X.b1||g.Z.2L===P.V.4X.af){Q e=(g.Z.2L===P.V.4X.af)?1:-1;Q d=P.U.3k.fh(g);Q b=P.V.1m.hC(d);if((O.1C===ja||O.1C===j9)&&O.1s===2&&O.1v===22){b=1}Q c=b*e*O.bm;Q f=c*O.1c.3o();Q a=O.qx(d,f);if(0===a.W){Y R}Q h=g.2s();h.Z={};if(g.Z){h.Z=P.1o.2v(h.Z,g.Z)}h.Z.2S=1a;if(h.1t==="P.U.6H"){h.11=[];h.11=a}13{if(h.1t==="P.U.5h"){h.11=[];h.11=a}13{if(h.1t==="P.U.4S"){if(h.11.W>0){h.11[0].11=[];h.11[0].11=a}}}}}h.46=g;Y h},qx:S(k,d){Q n=[];Q p=[];19(Q j=0;j<k.W-1;j++){Q f=[];Q h,g;if(P.V.1m.5q(k[j].x,k[j+1].x)&&P.V.1m.5q(k[j].y,k[j+1].y)){1W}f.17(k[j]);f.17(k[j+1]);Q m=P.V.1m.l6(f,d);h=m[0];g=m[1];if(n.W!=0){Q a=P.V.1m.qw(h,g,n[0],n[1]);if(a.qv){Q l=a.qu;Q e=P.V.1m.2J(h,g);Q c=P.V.1m.2J(l,g);if(c>2*e){p.17(g)}13{p[p.W-1]=l;p.17(g)}}13{p.17(g)}}13{p.17(h);p.17(g)}n=[];n.17(p[p.W-2]);n.17(p[p.W-1])}if(k[0].x===k[k.W-1].x&&k[0].y===k[k.W-1].y){if(1<p.W){Q o=P.V.1m.qw(p[0],p[1],p[p.W-2],p[p.W-1]);if(o.qv){Q b=o.qu;p[p.W-1]=b;p[0]=b}}}Y p},79:S(){if(O.1v===4E&&(O.1C===qt||O.1C===qt||O.1C===y9||O.1C===y8||O.1C===y7)){O.1u()}if(O.8d!==1k&&O.8d!==O.1b.Z.1D){O.1D=O.1b.Z.1D}if(O.3G!==O.1c.3o()){if(O.3l&&O.5O===1a){Q d=O.3G/O.1c.3o();O.1R*=d;if(O.1D===1k||R===O.1D){O.1D=O.1b.Z.1D}if(O.hX===1k){Q a=O.2D();if(R!==a){Q e=a.5p();if(e<a.5F()){e=a.5F()}Q c=(O.1D/0.5)*5;Q j=O.1c.2G(X P.3M(0,0));Q g=O.1c.2G(X P.3M(c,0));Q b=P.V.1m.2J(j,g);O.hX=b/e}}if(O.1R<=O.hX){O.ed=1a;Q f=(O.1D/0.5)*5;Q h=O.1R*f/O.hX;O.1b.Z.1D=1n.5U(h/10);if(O.1b.Z.1D>=O.1D){O.1b.Z.1D=O.1D}if(O.1b.Z.1D<=0.5){O.1b.Z.1D=0.5}}13{if(O.ed===1a){O.1b.Z.1D=O.1D;O.ed=1d}O.1D=O.1b.Z.1D}O.8d=O.1b.Z.1D}if(O.1v===22&&(O.1C===o7||O.1C===o5||O.1C===o4||O.1C===o3)){if(O.1R>=1){O.1u()}}O.3G=O.1c.3o();O.bv()}if(O.1s===P.V.1i.4C&&O.3c){O.3x();O.1E()}},2f:S(f,b){if(O.1H.W!==0){if(O.1b.Z.2V===1k){O.1b.Z.2V=-f}13{O.1b.Z.2V+=-f}}if(O.1s===P.V.1i.4C){O.11[0].Z.2V=O.1b.Z.2V}13{19(Q o=0;o<O.18.W;o++){O.18[o].2f(f,b)}19(Q h=0;h<O.1M.W;h++){O.1M[h].2f(f,b)}if(O.1s===P.V.1i.8V){O.2a[0]+=f;O.2a[1]+=f}Q t=1a;if(!P.U.1N.5W(O.1v,O.1C)){if(O.1s===P.V.1i.jZ){O.1u();t=1d}}if(t){19(Q s=0,v=O.11.W;s<v;s++){if(O.11[s].1t!=="P.U.5o"){O.11[s].2f(f,b);if(O.11[s].46&&O.11[s].46!==R){O.11[s].46.2f(f,b)}}13{Q g=X P.U.1f(O.11[s].x,O.11[s].y);g.2f(f,b);O.11[s].x=g.x;O.11[s].y=g.y;if(!O.11[s].Z.2V){O.11[s].Z.2V=-f}13{O.11[s].Z.2V+=-f}}}}}if(P.U.1N.5W(O.1v,O.1C)){if(!a(O.1v,O.1C)){19(Q q=0;q<O.1j.3E.W;q++){19(Q p=0;p<O.1j.3E[q].2m.W;p++){Q u=X P.U.1f(O.1j.3E[q].2m[p].x,O.1j.3E[q].2m[p].y);u.2f(f,b);O.1j.3E[q].2m[p].x=u.x;O.1j.3E[q].2m[p].y=u.y}}19(Q r=0;r<O.1j.1M.W;r++){Q e=X P.U.1f(O.1j.1M[r].x,O.1j.1M[r].y);e.2f(f,b);O.1j.1M[r].x=e.x;O.1j.1M[r].y=e.y}}13{S c(j){O.1j.3E=j.2z.3E;O.1j.1M=j.2z.1M;O.1j.2a=j.2z.2a;O.1u()}S w(j){hW.hV(j)}Q x=X P.1P.7L(O.1b.1g.1X);x.1p.on({4m:c,4l:w,3R:O});Q d=X P.1P.6L();d.1v=O.1v;d.1C=O.1C;d.5X=O.18;d.2a=O.2a;d.1S=O.1S;x.4N(d,O.27)}}S a(k,j){if(k===4E){6x(j){1z y6:1z y5:1z y4:1z y3:Y 1a;6w:Y 1d}}}O.3x();O.bv();19(Q s=0;s<O.3D.W;s++){O.3D[s].2f(f,b)}},58:S(l,o){if(O.1s===P.V.1i.4C){O.1b.Z.1w*=l}19(Q g=0,h=O.11.W;g<h;g++){if(O.11[g].1t!=="P.U.5o"){O.11[g].58(l,o);if(O.11[g].46&&O.11[g].46!==R){O.11[g].46.58(l,o)}}13{Q p=X P.U.1f(O.11[g].x,O.11[g].y);p.58(l,o);O.11[g].x=p.x;O.11[g].y=p.y;if(!O.11[g].Z.1w){O.11[g].Z.1w=12*l}13{O.11[g].Z.1w*=l}}}19(Q c=0;c<O.18.W;c++){O.18[c].58(l,o)}19(Q b=0;b<O.1M.W;b++){O.1M[b].58(l,o)}if(P.U.1N.5W(O.1v,O.1C)){19(Q e=0;e<O.1j.3E.W;e++){19(Q b=0;b<O.1j.3E[e].2m.W;b++){Q d=X P.U.1f(O.1j.3E[e].2m[b].x,O.1j.3E[e].2m[b].y);d.58(l,o);O.1j.3E[e].2m[b].x=d.x;O.1j.3E[e].2m[b].y=d.y}}19(Q f=0;f<O.1j.1M.W;f++){Q a=X P.U.1f(O.1j.1M[f].x,O.1j.1M[f].y);a.58(l,o);O.1j.1M[f].x=a.x;O.1j.1M[f].y=a.y}}},6k:S(f,j){if(O.1v===0&&O.1C===31){if(f===0){O.18[0].x=(O.18[1].x+O.18[3].x)/2;O.18[0].y=(O.18[1].y+O.18[3].y)/2;Y}Q h=-1;h=(f+2)%4;if(h===0){h=4}Q a=P.V.1m.2J(O.18[0],O.18[f]);Q b=P.V.1m.y0(O.18[0],O.18[h],a);Q c=X P.U.1f(O.18[0].x*2-b.x,O.18[0].y*2-b.y);Q e=O.1c.3a(X P.2w(b.x,b.y));Q d=O.1c.3a(X P.2w(c.x,c.y));Q g=1d;if(P.V.1m.5q(e.x-d.x,0)||P.V.1m.5q(e.y-d.y,0)){hW.hV("xZ xY");g=1a}if(g){O.18[h].x=c.x;O.18[h].y=c.y;O.18[f].x=b.x;O.18[f].y=b.y}13{O.18[h].x=b.x;O.18[h].y=b.y;O.18[f].x=c.x;O.18[f].y=c.y}}13{if(O.4k){O.qr(f,j)}}O.1u()},xX:S(){if(P.V.7Y.hU(O.1v,O.1C)){Y O.aw}},xW:S(a){if(O.2F()){Y}if(P.V.7Y.hU(O.1v,O.1C)){if(O.aw!==a){O.aw=a;O.1u();O.1E()}}},xV:S(){if(kw P.V.7Y!=="1k"&&P.V.7Y.hU(O.1v,O.1C)){Y 1a}13{Y 1d}},jI:S(a){if(O.1b.Z.2u===a){Y}O.1b.Z.2u=a;O.1u();O.1E()},qs:S(){O.lz();O.4k.1u();O.ly()},qr:S(a,b){O.lz();O.4k.6k(a,b);O.ly()},lz:S(){O.4k.5O=O.5O;O.4k.18=P.V.1m.3F(O.18);O.4k.1S=O.1S;O.4k.2a=O.2a;O.4k.1M=O.1M;O.4k.aw=O.aw;O.4k.1H=O.1H;O.4k.Z=O.1b.Z;if(O.1v===22&&O.1C===dq){O.4k.ea=O.ea;O.4k.e8=O.e8;O.4k.e9=O.e9}if(O.1v===0&&O.1s===P.V.1i.a8){O.4k.8C=O.8C;O.4k.ec=O.ec}if(O.1v===0&&O.1s===P.V.1i.a7){O.4k.8C=O.8C;O.4k.eb=O.eb}if(O.1v===0&&O.1s===P.V.1i.c4){O.4k.4O=O.4O;O.4k.7V=O.7V;O.4k.e7=O.e7;O.4k.bq=O.bq;O.4k.cD=O.cD;O.4k.e6=O.e6}},ly:S(){O.qq(O.4k.11);O.1M=O.4k.1M;O.2a=O.4k.2a;if(O.1S.W!==O.4k.1S.W){O.1S=O.4k.1S}if(O.18.W!==O.4k.18.W||(O.1v===4E&&O.1C===xU)){O.18=O.4k.18}},xT:S(){Y O.2a[1]},xS:S(a){if(O.2a[1]!==a){O.2a[1]=a;O.1u();O.1E()}},xR:S(){Y O.2a[2]},xQ:S(a){if(O.2a[2]!==a){O.2a[2]=a;O.1u();O.1E()}},xP:S(a){if(O.8C!==a){O.8C=a;O.1u();O.1E()}},xO:S(){Y O.8C},xN:S(a){if(O.ec!==a){O.ec=a;if(O.8C!==P.V.jS.jR){O.1u();O.1E()}}},xM:S(){Y O.ec},xL:S(a){if(O.eb!==a){O.eb=a;if(O.8C!==P.V.jS.jR){O.1u();O.1E()}}},xK:S(){Y O.eb},xJ:S(){Y O.ea},xI:S(a){if(O.1C===dq&&O.ea!==a){O.ea=a;O.1u();O.1E()}},xH:S(){Y O.e9},xG:S(a){if(O.1C===dq&&O.e9!==a){O.e9=a;O.1u();O.1E()}},qp:S(){Y O.e8},xF:S(a){if(O.1C===dq&&O.e8!==a){O.e8=a;O.1u();O.1E()}},xE:S(){Y O.4O},xD:S(a){if(O.4O!==a){O.4O=a;O.1u();O.1E()}},xC:S(){Y O.7V},xB:S(a){if(O.7V!==a){O.7V=a;O.1u();O.1E()}},xA:S(){Y O.e7},xz:S(a){if(O.e7!==a){O.e7=a;if(O.7V){O.1u();O.1E()}}},xw:S(){Y O.bq},xv:S(a){if(O.bq!==a){O.bq=a;if(O.7V){O.1u();O.1E()}}},xu:S(){Y O.cD},xt:S(a){if(O.cD!==a){O.cD=a;if(O.4O===P.V.8U.jU&&O.7V){O.1u();O.1E()}}},qo:S(){Y O.e6},qn:S(a){if(O.e6!==a){O.e6=a;if(O.4O!==P.V.8U.jU){O.1u();O.1E()}}},lx:S(){if(O.1s===P.V.1i.bM){Y O.2a[1]}},fu:S(a){if(O.2F()){Y}if(O.1s===P.V.1i.bM){if(O.2a[1]!==a){O.2a[1]=a;if(O.1H.W!==0){O.1u()}}}},1t:"P.U.6K"});P.U.lw=X P.23(P.U.6K,{lx:S(){Y O.2a[1]},fu:S(a){if(O.2F()){Y}if(O.2a[1]!==a){O.2a[1]=a;if(O.1H.qm!==0){O.1u()}}},1A:S(){P.U.6K.1y.1A.1q(O,1K)},4F:S(){P.U.6K.1y.4F.1q(O,1K);if(!!O.1j){O.2c=O.1j.2c}},51:S(){P.U.6K.1y.51.1q(O,1K);if(!!O.1j){O.1j.2c=O.2c}},1t:"P.U.lw"});P.U.hT=X P.23(P.U.2W,{3S:[],6p:1d,xs:S(){Y O.6p},xr:S(a){if(O.2F()){Y}if(O.6p!==a){O.6p=a;O.1u();O.1E()}},jE:S(a,b){if(O.2F()){Y}if(O.3S.W>b){O.3S[b]=a;O.1u();O.1E()}},1I:S(a){P.U.2W.1y.1I.1q(O,1K);O.3W=1;O.5w=1;O.1v=0;O.1C=P.V.1i.9s;O.1s=P.V.1i.9s;O.4i=P.6C("xq")},1A:S(){P.U.2W.1y.1A.1q(O,1K)},1u:S(){O.6m();O.18=[];Q j=O.3S;if(j.W>0){Q h=O.4b(O.3r);if(R===h||1k===h){Y}Q u=1d;Q x=h.T.4a;19(Q e=0,y=x.W;e<y;e++){if(O===x[e]){u=1a;1B}}if(!u){x.17(O)}O.hS(h);Q k=h.T.2D();O.Z={2S:1d,aI:1a,aG:1a,6r:1a,9n:1a,7e:1a,6I:1a,8J:1a};19(Q z=0,A=j.W;z<A;z++){O.fa(j[z]);Q B=j[z].1H;if(B===R||B.W===0){1W}j[z].2c=j[z].2c===1k?0:j[z].2c;if(O.6p){Q d=P.V.1m.dQ(j[z].Z,j[z].1H)}Q t,g,v,r;Q p=X P.3M(0,0);Q o=X P.3M(0,0);6x(j[z].2c){1z 0:j[z].Z.2u="rb";t=X P.2w(k.1Z,k.1Y);g=O.1c.3a(t);g.x-=j[z].2U;g.y-=j[z].2T;if(O.6p===1a){p.x=g.x;p.y=g.y;o.x=g.x-d;o.y=g.y-3V(j[z].Z.1w)}1B;1z 1:j[z].Z.2u="rt";t=X P.2w(k.1Z,k.2g);g=O.1c.3a(t);g.x-=j[z].2U;g.y+=j[z].2T;if(O.6p===1a){p.x=g.x;p.y=g.y;o.x=g.x-d;o.y=g.y+3V(j[z].Z.1w)}1B;1z 2:j[z].Z.2u="lb";t=X P.2w(k.2b,k.1Y);g=O.1c.3a(t);g.x+=j[z].2U;g.y-=j[z].2T;if(O.6p===1a){p.x=g.x;p.y=g.y;o.x=g.x+d;o.y=g.y-3V(j[z].Z.1w)}1B;1z 3:j[z].Z.2u="lt";t=X P.2w(k.2b,k.2g);g=O.1c.3a(t);g.x+=j[z].2U;g.y+=j[z].2T;if(O.6p===1a){p.x=g.x;p.y=g.y;o.x=g.x+d;o.y=g.y+3V(j[z].Z.1w)}1B;1z 4:j[z].Z.2u="cb";t=X P.2w((k.1Z+k.2b)/2,k.1Y);g=O.1c.3a(t);g.x+=j[z].2U;g.y-=j[z].2T;if(O.6p===1a){p.x=g.x-d/2;p.y=g.y;o.x=g.x+d/2;o.y=g.y-3V(j[z].Z.1w)}1B;1z 5:j[z].Z.2u="ct";t=X P.2w((k.1Z+k.2b)/2,k.2g);g=O.1c.3a(t);g.x+=j[z].2U;g.y+=j[z].2T;if(O.6p===1a){p.x=g.x-d/2;p.y=g.y;o.x=g.x+d/2;o.y=g.y+3V(j[z].Z.1w)}1B;1z 6:j[z].Z.2u="rm";t=X P.2w(k.1Z,(k.1Y+k.2g)/2);g=O.1c.3a(t);g.x-=j[z].2U;g.y+=j[z].2T;if(O.6p===1a){p.x=g.x;p.y=g.y+3V(j[z].Z.1w)/2;o.x=g.x-d;o.y=g.y-3V(j[z].Z.1w)/2}1B;1z 7:j[z].Z.2u="lm";t=X P.2w(k.2b,(k.1Y+k.2g)/2);g=O.1c.3a(t);g.x+=j[z].2U;g.y+=j[z].2T;if(O.6p===1a){p.x=g.x;p.y=g.y+3V(j[z].Z.1w)/2;o.x=g.x+d;o.y=g.y-3V(j[z].Z.1w)/2}1B;6w:1B}v=O.1c.2G(g);Q b=X P.U.1f(v.1U,v.1T);O.Z=P.1o.2v(O.Z,O.3S[z].Z);if(O.6p){t=O.1c.2G(p);Q s=X P.U.1f(t.1U,t.1T);t=O.1c.2G(o);Q q=X P.U.1f(t.1U,t.1T);Q c=P.U.3k.4p(P.V.1i.eF,[s,q]);c.Z=P.1o.6b(O.Z);O.11.17(c);Q a=R;if(h.T 1l P.U.59){a=h.T.18[0].2s()}13{Q n=k.7N();a=X P.U.1f(n.1U,n.1T)}Q w=P.U.3k.4p(P.V.1i.8r,[b,a]);w.Z=P.1o.6b(O.Z);O.11.17(w);r=X P.U.1f((q.x-s.x)/2+s.x,(s.y-q.y)/2+q.y)}13{r=b}Q C=P.U.3k.4p(P.V.1i.4C,[r],j[z].1H);C.Z=P.1o.6b(O.Z);if(O.6p){C.Z.2u="cm"}O.11.17(C);O.18.17(b)}}19(Q m=j.W,f=O.11.W;m<f;m++){O.dU(O.11[m])}O.8z()},fa:S(a){if(O.1b===R){Y}if(a.Z===R||a.Z===1k){a.Z={}}19(Q b in O.1b.Z){if(!a.Z.2k(b)){a.Z[b]=O.1b.Z[b]}}},hS:S(a){O.3l=a.T.3l;if(O.3l===1d){O.3G=O.1c.3o()}13{if(O.3G<=O.1c.3o()){O.1R=a.T.1R}}},7C:S(){O.3H=R;Q c=X P.5B();Q b=O.11;if(b){19(Q a=0;a<O.11.W;a++){if(O.11[a].1t==="P.U.5o"){c.2R(O.11[a].9O(O.1c,O.11[a].Z))}13{c.2R(O.11[a].2D())}}}if(c.1Z!=R&&c.2g!=R&&c.2b!=R&&c.1Y!=R){O.at(c)}},2f:S(b,e){19(Q d=0,a=O.11.W;d<a;d++){Q c=X P.U.1f(O.11[d].x,O.11[d].y);c.2f(b,e);O.11[d].x=c.x;O.11[d].y=c.y;if(!O.11[d].Z.2V){O.11[d].Z.2V=-b}13{O.11[d].Z.2V+=-b}}19(Q f=0;f<O.1M.W;f++){O.1M[f].2f(b,e)}},2n:S(a,b){},6k:S(a,b){O.fq(a,b);O.1u()},fq:S(c,f){if(c<O.3S.W){Q g=O.3S[c].2c;Q a=O.1c.3a(X P.2w(f.x,f.y));Q d=O.4b(O.3r);if(R===d||1k===d){Y}13{d.T.7C()}Q h=d.T.2D();Q e,b;if(g===0){e=X P.2w(h.1Z,h.1Y);b=O.1c.3a(e);O.3S[c].2U=b.x-a.x;O.3S[c].2T=b.y-a.y}13{if(g===1){e=X P.2w(h.1Z,h.2g);b=O.1c.3a(e);O.3S[c].2U=b.x-a.x;O.3S[c].2T=a.y-b.y}13{if(g===2){e=X P.2w(h.2b,h.1Y);b=O.1c.3a(e);O.3S[c].2U=a.x-b.x;O.3S[c].2T=b.y-a.y}13{if(g===3){e=X P.2w(h.2b,h.2g);b=O.1c.3a(e);O.3S[c].2U=a.x-b.x;O.3S[c].2T=a.y-b.y}13{if(g===4){e=X P.2w((h.1Z+h.2b)/2,h.1Y);b=O.1c.3a(e);O.3S[c].2U=a.x-b.x;O.3S[c].2T=b.y-a.y}13{if(g===5){e=X P.2w((h.1Z+h.2b)/2,h.2g);b=O.1c.3a(e);O.3S[c].2U=a.x-b.x;O.3S[c].2T=a.y-b.y}13{if(g===6){e=X P.2w(h.1Z,(h.1Y+h.2g)/2);b=O.1c.3a(e);O.3S[c].2U=b.x-a.x;O.3S[c].2T=a.y-b.y}13{if(g===7){e=X P.2w(h.2b,(h.1Y+h.2g)/2);b=O.1c.3a(e);O.3S[c].2U=a.x-b.x;O.3S[c].2T=a.y-b.y}}}}}}}}}},4F:S(){P.U.1N.1y.4F.1q(O,1K);if(!!O.1j){O.6p=O.1j.6p;O.3S=[];19(Q c=0,a=O.1j.3S.W;c<a;c++){Q b=X P.V.gH();b.1H=O.1j.3S[c].1H;b.2c=O.1j.3S[c].2c;b.Z=O.1j.3S[c].Z;b.2U=O.1j.3S[c].2U;b.2T=O.1j.3S[c].2T;O.3S.17(b)}}},51:S(){P.U.1N.1y.51.1q(O,1K);if(!!O.1j){O.1j.3S=O.3S;O.1j.6p=O.6p}},ql:S(b){if(b!==1k){19(Q c=0,a=O.3S.W;c<a;c++){if(O.1b.Z.2k(b)){O.3S[c].Z[b]=O.1b.Z[b]}}}13{19(Q c=0,a=O.3S.W;c<a;c++){O.3S.Z=P.1o.2v(O.3S.Z,O.1b.Z)}}if(b==="1w"){O.1u()}13{19(Q d=0;d<O.11.W;d++){O.11[d].Z[b]=O.1b.Z[b]}}},1t:"P.U.hT"});P.U.hP=X P.23(P.U.2W,{4x:R,2U:R,2T:R,1I:S(a){P.U.2W.1y.1I.1q(O,1K);O.3W=1;O.5w=1;O.1v=0;O.1C=P.V.1i.ag;O.1s=P.V.1i.ag;O.4i=P.6C("xp");if(O.4x===R){O.4x=10}if(O.2U===R){O.2U=60}if(O.2T===R){O.2T=30}},1A:S(){P.U.2W.1y.1A.1q(O,1K)},1u:S(){O.6m();Q h=O.4b(O.3r);if(h===R){Y}Q n=1d;19(Q x=0;x<h.T.4a.W;x++){if(O===h.T.4a[x]){n=1a;1B}}if(!n){h.T.4a.17(O)}O.hS(h);Q m=X P.U.1f(h.T.18[0].x,h.T.18[0].y);Q C=O.1c.3a(X P.2w(m.x,m.y));Q p=X P.3M(C.x+O.2U,C.y+O.2T);Q q=O.1c.2G(p);if(O.18.W===0){O.18.17(X P.U.1f(q.1U,q.1T))}13{O.18[0].x=q.1U;O.18[0].y=q.1T}Q r=P.V.1m.3F(O.18);r.17(m);Q g=P.U.3k.4p(24,r);g.Z={2S:1d};O.11.17(g);if(!P.1o.4g(O.1H)){O.1H=[O.1H]}Q f=O.1H.W;Q u=O.1b.Z.1w*f+f+1;Q c=O.1c.3a(X P.2w(O.18[0].x,O.18[0].y));Q s=X P.3M(c.x,c.y-u/2);Q z=X P.3M(c.x,c.y+u/2);Q A=O.1c.2G(s);Q y=O.1c.2G(z);Q e=X P.U.1f(A.1U,A.1T);Q b=X P.U.1f(y.1U,y.1T);Q l=[e,b];Q o=P.U.3k.4p(24,l);o.Z={2S:1d};O.11.17(o);if(O.1H.W!==0){Q j=h.T.2D();Q D=X P.U.1f((j.1Z+j.2b)/2,j.1Y);Q B=X P.U.1f((j.1Z+j.2b)/2,j.2g);Q a=P.V.1m.xo(D,B,O.18[0]);Q w="";19(x=0;x<O.1H.W;x++){w+=O.1H[x];if(x!==O.1H.W-1){w+="\\r\\n"}}Q t=R;if(a===1a){t=X P.3M(c.x-O.4x,c.y)}13{t=X P.3M(c.x+O.4x,c.y)}Q d=O.1c.6z(t);Q v=X P.U.1f(d.1U,d.1T);Q k=P.U.3k.4p(34,[v],w);k.Z={};k.Z=P.1o.2v(k.Z,O.1b.Z);if(a===1a){k.Z.2u="rm"}13{k.Z.2u="lm"}O.11.17(k)}O.8z()},hS:S(a){O.3l=a.T.3l;if(O.3l===1d){O.3G=O.1c.3o()}13{if(O.3G<=O.1c.3o()){O.1R=a.T.1R}}if(O.hR!==1k&&O.hR!==O.2U){O.9S=O.2U/O.1R;O.hR=O.2U}if(O.3l===1a){if(O.9S===1k){O.9S=O.2U}O.2U=O.9S*O.1R;O.hR=O.2U}if(O.hQ!==1k&&O.hQ!==O.2T){O.9R=O.2T/O.1R;O.hQ=O.2T}if(O.3l===1a){if(O.9R===1k){O.9R=O.2T}O.2T=O.9R*O.1R;O.hQ=O.2T}if(O.8d!==1k&&O.8d!==O.1b.Z.1D){O.1D=O.1b.Z.1D;O.8d=O.1b.Z.1D}if(O.3l===1a){if(O.1D===1k){O.1D=O.1b.Z.1D}if(O.3G<=O.1c.3o()){O.1b.Z.1D=a.Z.1D}13{O.1b.Z.1D=O.1D}O.8d=O.1b.Z.1D}if(O.7b!==1k&&O.7b!==O.1b.Z.1w){O.1w=O.1b.Z.1w/O.1R;O.7b=O.1b.Z.1w}if(O.3l===1a){if(O.1w===1k){O.1w=O.1b.Z.1w}O.1b.Z.1w=O.1w*O.1R;O.7b=O.1b.Z.1w}},7C:S(){O.3H=R;Q c=X P.5B();Q b=O.11;if(b){19(Q a=0;a<O.11.W;a++){if(O.11[a]1l P.U.5o){if(O.1b&&O.1b.Z){P.V.1m.fA(O.11[a].Z,O.1b.Z)}c.2R(O.11[a].9O(O.1c,O.11[a].Z))}13{c.2R(O.11[a].2D())}}}if(c.1Z!=R&&c.2g!=R&&c.2b!=R&&c.1Y!=R){O.at(c)}},2f:S(b,e){19(Q d=0,a=O.11.W;d<a;d++){Q c=X P.U.1f(O.11[d].x,O.11[d].y);c.2f(b,e);O.11[d].x=c.x;O.11[d].y=c.y;if(!O.11[d].Z.2V){O.11[d].Z.2V=-b}13{O.11[d].Z.2V+=-b}}19(Q f=0;f<O.1M.W;f++){O.1M[f].2f(b,e)}},2n:S(a,b){if(O.2F()){Y}O.18[0].2n(a,b);O.1u()},6k:S(a,e){Q b=O.4b(O.3r);if(b===R){Y}Q d=X P.U.1f(b.T.18[0].x,b.T.18[0].y);Q f=O.1c.3a(X P.2w(d.x,d.y));Q c=O.1c.3a(X P.2w(O.18[0].x,O.18[0].y));O.2U=c.x-f.x;O.2T=c.y-f.y;O.1u()},4F:S(){P.U.1N.1y.4F.1q(O,1K);if(!!O.1j){if(O.1j.4x!==1k){O.4x=O.1j.4x}if(O.1j.2U!==1k){O.2U=O.1j.2U}if(O.1j.2T!==1k){O.2T=O.1j.2T}if(O.1j.1w!==1k){O.1w=O.1j.1w}if(O.1j.1D!==1k){O.1D=O.1j.1D}if(O.1j.9S!==1k){O.9S=O.1j.9S}if(O.1j.9R!==1k){O.9R=O.1j.9R}}},51:S(){P.U.1N.1y.51.1q(O,1K);if(!!O.1j){O.1j.4x=O.4x;O.1j.2U=O.2U;O.1j.2T=O.2T;if(O.1w!==1k){O.1j.1w=O.1w}if(O.1D!==1k){O.1j.1D=O.1D}if(O.9S!==1k){O.1j.9S=O.9S}if(O.9R!==1k){O.1j.9R=O.9R}}},1t:"P.U.hP"});P.U.lv=X P.23(P.U.2W,{1I:S(a){P.U.2W.1y.1I.1q(O,1K);O.3W=3;O.5w=hB;O.1v=0;O.1C=P.V.1i.dv;O.1s=P.V.1i.dv;O.4i=P.6C("xn")},1A:S(){P.U.2W.1y.1A.1q(O,1K)},1u:S(){O.6m();if(O.18!==R&&O.18.W>=O.3W){Q a=P.V.1m.3F(O.18);Q b=P.U.3k.4p(32,a);b.Z={2S:1d};O.11.17(b)}O.8z()},2n:S(a,b){if(O.2F()){Y}P.U.2W.1y.2n.1q(O,1K);O.3x()},2f:S(a,b){P.U.2W.1y.2f.1q(O,1K);O.3x();O.bv()},1t:"P.U.lv"});P.U.93=X P.23(P.U.3I,{bu:R,4x:R,1I:S(a){P.U.3I.1y.1I.1q(O,1K);O.1v=0;O.1C=P.V.1i.aj;O.1s=P.V.1i.aj;O.4i=P.6C("xm");if(O.bu===R){O.bu=1}if(O.4x===R){O.4x=10}if(O.3l===R){O.3l=1a}},1A:S(){P.U.3I.1y.1A.1q(O,1K)},1u:S(){Q z=O.4b(O.3r);if(z===R||!(z.T 1l P.U.59)){Y}if(z.T.18.W===0){Y}Q b=1d;19(Q g=0;g<z.T.6M.W;g++){if(O===z.T.6M[g]){b=1a;1B}}if(!b){z.T.6M.17(O)}Q K,J;if(O.11.W===0&&O.4j.W!==0){Q m=[];19(K=0;K<O.4j.W;K++){Q N=O.4b(O.4j[K]);if(R===N){1W}m.17(N);N.1g.4B([N])}19(J=0;J<m.W;J++){m[J].T.4K=O;O.11.17(m[J]);if(m[J].T.1s===P.V.1i.5b){m[J].T.3l=1a}}Y}if(O.11.W===0&&O.4b(O.3r)){Q D=1d;19(Q x=0;x<O.1S.W;x++){if(O.1S[x].1j!==1k&&O.1S[x].1j!==R){D=1a}}if(D===1d){Y}Q d=P.V.1m.3F(z.T.18[0]);Q G=O.1c.3a(X P.2w(d[0].x,d[0].y));Q y=O.9P(X P.U.1f(O.4x,0),G);Q u=1n.2X(y.x-d[0].x);Q a=X P.U.1f(0,0);Q f=O.9P(a,G);Q v=X P.U.1f(4E,4E);Q I=O.9P(v,G);Q C=X P.5B(f.x,f.y,I.x,I.y);Q M=1n.ft(O.hN(O.1S.W-1)/O.bu);Q p=C.5F()*M+u*(M+1);Q r=X P.U.1f(d[0].x-u*5,d[0].y+p/2);O.ls();19(K=0;K<O.1S.W;K++){if(O.1S[K].1j===1k||O.1S[K].1j===R){1W}19(J=0;J<O.1S[K].ad;J++){Q H=O.hN(K-1)+J+1;Q E=1n.ft(H/M);Q L=H-M*(E-1);if(E!==1&&L===1){O.3x();Q e=O.2D();r.x=e.1Z}Q o=r.x-(u+C.5p()/2);Q n=r.y-((L)*(C.5F()+u));Q q=[X P.U.1f(o,n)];Q A=O.1S[K].1j.1v;Q h=O.1S[K].1j.1C;O.1S[K].1j.lc=6;Q F=P.1o.6b(O.1S[K].1j);Q B=P.U.1N.2Y(A,h,q,{1c:O.1c,1j:F,3l:1a,6O:0,6P:qk,4x:0});if(B.T.1s===P.V.1i.4C){z.Z.2u="rt"}B.T.4K=O;if(B.T.4J>0||B.T.4J===0){B.T.11[B.T.4J].Z.9L=1a}O.11.17(B);O.4j.17(B.T.1r)}}if(O.1H!==R&&O.1H.W!==0){Q t=X P.U.1f(d[0].x-u*5,d[0].y+p/2+u);Q s=P.U.1N.2Y(0,34,[t],{1c:O.1c,1H:O.1H});s.T.4K=O;s.Z.2u="rb";s.T.3l=1a;O.11.17(s);O.4j.17(s.T.1r)}O.3x();Q k=O.2D();k.1Y+=u;k.2g-=u;k.1Z-=u;k.2b+=u;Q l=[];l.17(X P.U.1f(k.1Z,k.1Y));l.17(X P.U.1f(k.2b,k.2g));Q c=X P.U.1f(d[0].x,d[0].y);c.lr=1a;l.17(c);Q w=P.U.1N.2Y(0,P.V.1i.8Q,l,{1c:O.1c});w.T.4K=O;O.11.2N(0,0,w);O.4j.2N(0,0,w.T.1r)}O.3x()},6k:S(a,b){},ls:S(){if(O.2F()){Y}19(Q a=0;a<O.1S.W;a++){if(O.1S[a].1j!==R){O.1S[a].1j.1H=O.1S[a].1H}}},hN:S(a){Q c=0;if(a<0){Y c}if(a>O.1S.W-1){a=O.1S.W-1}19(Q b=0;b<=a;b++){c+=O.1S[a].ad}Y c},7C:S(){O.3H=R;Q c=X P.5B();Q b=O.11;if(b){19(Q a=0;a<b.W;a++){if(b[a].T.1s===P.V.1i.4C){b[a].Z.7R=O.1H;c.2R(b[a].T.11[0].9O(O.1c,b[a].Z))}13{if(b[a].T 1l P.U.59){c.2R(b[a].T.la())}13{c.2R(b[a].T.2D())}}}}if(c.1Z!=R&&c.2g!=R&&c.2b!=R&&c.1Y!=R){O.at(c)}},gC:S(b){if(O.1H!==b){O.1H=b;19(Q a in O.11){if(O.11[a].T.1s===P.V.1i.4C){O.11[a].T.1H=O.1H;O.11[a].T.1u()}}}},1t:"P.U.93"});P.U.hM=X P.23(P.U.93,{9Q:R,xl:S(){Y O.9Q},xk:S(f){if(O.2F()){Y}if(O.lu!==f){O.lu=f;if(O.lu&&O.11.W!==0){O.3x();Q e=O.2D();e.1Y+=hO;e.2g-=hO;e.1Z-=hO;e.2b+=hO;Q c=[];c.17(X P.U.1f(e.1Z,e.1Y));c.17(X P.U.1f(e.2b,e.2g));Q d=X P.U.1f(18[0].x,18[0].y);d.lr=1a;c.17(d);Q b=P.U.1N.2Y(0,P.V.1i.8Q,c,{1c:O.1c});b.T.4K=O;O.11.2N(0,0,b);O.4j.2N(0,0,b.T.1r)}13{19(Q a=0;a<O.11.W;a++){if(O.11[a].T 1l P.U.xj){O.11[a].T.dU(O.11[a].T.11);O.11.2N(a,1);1B}}}O.1E()}},1I:S(a){P.U.3I.1y.1I.1q(O,1K);O.1v=0;O.1C=P.V.1i.ai;O.1s=P.V.1i.ai;O.4i=P.6C("xi");if(O.9Q===R){O.9Q=1a}},1A:S(){P.U.3I.1y.1A.1q(O,1K)},1u:S(){Q g=O.4b(O.3r);if(g===R||!(g.T 1l P.U.59)){Y}if(g.T.18.W===0){Y}Q o=1d;19(Q f=0;f<g.T.6M.W;f++){if(O===g.T.6M[f]){o=1a;1B}}if(!o){g.T.6M.17(O)}Q D,B;if(O.11.W===0&&O.4j.W!==0){Q h=[];19(D=0;D<O.4j.W;D++){Q x=O.4b(O.4j[D]);if(x!==R){h.17(x);x.1g.4B([x])}}19(B=0;B<h.W;B++){h[B].T.4K=O;O.11.17(h[B]);if(h[B].T.1s===P.V.1i.5b){h[B].T.3l=1a}}Y}if(O.11.W===0){Q q=1d;19(Q m=0;m<O.1S.W;m++){if(O.1S[m].1j!==1k&&O.1S[m].1j!==R){q=1a}}if(q===1d){Y}Q A=P.V.1m.3F(g.T.18[0]);Q p=O.1c.3a(X P.2w(A[0].x,A[0].y));Q v=O.9P(X P.U.1f(O.4x,0),p);Q w=1n.2X(v.x-A[0].x);Q G=X P.U.1f(0,0);Q F=O.9P(G,p);Q n=X P.U.1f(4E,4E);Q C=O.9P(n,p);Q l=X P.5B(F.x,F.y,C.x,C.y);Q H=1n.ft(O.hN(O.1S.W-1)/O.bu);Q z=l.5p()*O.bu+w*(O.bu-1);Q e=X P.U.1f(A[0].x-z*0.5+0.5*l.5p(),A[0].y-w);if(O.9Q===1a){e.y-=w*4}O.ls();Q u=[];19(D=0;D<O.1S.W;D++){19(B=0;B<O.1S[D].ad;B++){u.17(O.1S[D])}}Q m=0;19(D=0;D<H;D++){19(B=0;B<O.bu;B++){if(m>=u.W){1B}Q d=u[m];if(d.1j===1k||d.1j===R){1W}Q I=d.1j.1v;Q b=d.1j.1C;Q t=e.x+B*(w+l.5p());if(I==4E&&b==l5){t-=(w+l.5p())/2}Q s=e.y-(w*2+l.5F());Q E=[X P.U.1f(t,s)];d.1j.lc=5;Q k=P.1o.6b(d.1j);Q c=P.U.1N.2Y(I,b,E,{1c:O.1c,1j:k,3l:1a,6O:0,6P:qk,4x:0});c.T.4K=O;if(c.T.4J!==-1){c.T.11[c.T.4J].Z.9L=1a}O.11.17(c);m++;O.4j.17(c.T.1r)}O.3x();Q K=O.2D();e.y=K.2g}if(O.9Q){O.3x();Q y=O.2D();y.1Y+=w;y.2g-=w;y.1Z-=w;y.2b+=w;Q a=[];a.17(X P.U.1f(y.1Z,y.1Y));a.17(X P.U.1f(y.2b,y.2g));Q J=X P.U.1f(A[0].x,A[0].y);J.lr=1a;a.17(J);Q r=P.U.1N.2Y(0,P.V.1i.8Q,a,{1c:O.1c});r.T.4K=O;O.11.2N(0,0,r);O.4j.2N(0,0,r.T.1r)}O.3x()}},4F:S(){P.U.93.1y.4F.1q(O,1K);if(!!O.1j){O.9Q=O.1j.9Q}},51:S(){P.U.93.1y.51.1q(O,1K);if(!!O.1j){O.1j.9Q=O.9Q}},1t:"P.U.hM"});P.U.cB=X P.23(P.U.2W,{55:R,56:R,7X:R,8B:R,xh:S(a){if(O.2F()){Y}if(O.7X!==a){O.7X=a;O.1u();O.1E()}},xg:S(){Y O.7X},1I:S(a){P.U.2W.1y.1I.1q(O,1K);O.3W=2;O.5w=2;O.1v=0;O.1C=P.V.1i.ak;O.1s=P.V.1i.ak;O.4i=P.6C("xf");if(O.8B===R){O.8B=10}if(O.7X===R){O.7X=P.V.eV.eU}O.cC(O.55);O.cC(O.56)},lp:S(b){if(O.2F()){Y}if(R!==O.55){O.fz(O.55);O.55=R}Q a=O.4b(b);if(R===a||R===a.T){Y}if(!a.T.8k()){Y}if(R!==O.56){if(b===O.56){Y}}O.55=b;O.cC(O.55);if(R===O.56){Y}O.lq(O.55,O.56)},lo:S(b){if(O.2F()){Y}if(R!==O.56){O.fz(O.56);O.56=R}Q a=O.4b(b);if(R===a||R===a.T){Y}if(!a.T.8k()){Y}if(R!==O.55){if(b===O.55){Y}}O.56=b;O.cC(O.56);if(R===O.55){Y}O.lq(O.55,O.56)},lq:S(a,d){if(O.2F()){Y}Q c=O.4b(a);Q b=O.4b(d);if(R===c||R===c.T||R===b||R===b.T){Y}if(!c.T.8k()||!b.T.8k()){Y}O.55=a;O.56=d;O.cC(O.55);O.cC(O.56);O.1u()},1A:S(){O.55=R;O.56=R;P.U.2W.1y.1A.1q(O,1K)},1u:S(){O.6m();O.11=[];Q h=R;if(R!==O.55){Q d=O.4b(O.55);if(R!==d){Q e=P.V.1m.3F(d.T.hI());if(R!==e&&0<e.W){h=e[0]}}}Q f=R;if(R!==O.56){Q c=O.4b(O.56);if(R!==c){Q a=P.V.1m.3F(c.T.hI());if(R!==a&&0<a.W){f=a[0]}}}if(R===O.18){O.18=[]}if(R!==h){if(0===O.18.W){O.18.17(h)}13{O.18[0]=h}}if(R!==f){if(0===O.18.W){Y}13{if(1===O.18.W){O.18.17(f)}13{O.18[O.18.W-1]=f}}}19(Q b=0;b<O.18.W;b++){O.18[b].4U=b}Q g=P.V.1m.3F(O.18);if(R!==g&&g.W>=O.3W){O.Z={};O.Z=P.1o.2v(O.Z,P.U.1N.7j);O.qj(g)}O.8z()},qj:S(m){O.11=[];Q a=m[0];Q c=m[m.W-1];if(O.8B<=1){O.8B=10}Q e=P.V.1m.2J(a,c);Q b=e/(O.8B*2-1);Q g,d;if(O.7X===P.V.eV.jT){g=P.U.3k.4p(24,m);g.Z={2S:1d};O.11.17(g)}13{if(O.7X===P.V.eV.nZ){Q k,j,l;19(d=0;d<O.8B;d++){k=P.V.1m.6T(a,c,2*d*b,0);j=P.V.1m.6T(a,c,(2*d+1)*b,0);l=[];l.17(k);l.17(j);g=P.U.3k.4p(24,l);g.Z={2S:1d};O.11.17(g)}}13{if(O.7X===P.V.eV.eU){Q k,j,h,f,l;19(d=0;d<O.8B;d++){k=P.V.1m.6T(a,c,2*d*b,0);j=P.V.1m.6T(a,c,(2*d+1)*b,0);h=P.V.1m.6T(j,k,b,60);f=P.V.1m.6T(j,k,b,-60);l=[];l.17(h);l.17(j);l.17(f);g=P.U.3k.4p(24,l);g.Z={2S:1d};O.11.17(g)}}}}},2n:S(a,b){},6k:S(a,d){if(0===a){Q c=O.ln(d);if(c!==R){O.lp(c.T.1r)}13{O.lp(R)}}13{if(O.18.W-1===a){Q b=O.ln(d);if(b!==R){O.lo(b.T.1r)}13{O.lo(R)}}}O.1u()},ln:S(g){Q e=R;if(O.1b===R||O.1b.1g===R){Y e}Q c=O.1b.1g.1c.2G(X P.3M(0,0));Q b=O.1b.1g.1c.2G(X P.3M(5,0));Q a=P.V.1m.2J({x:c.1U,y:c.1T},{x:b.1U,y:b.1T});Q f=O.1b.1g.1h;19(Q d=0;d<f.W;d++){e=O.1b.1g.6E(f[d],X P.2w(g.x,g.y),a);if(e!==R){if(!(e.T 1l P.U.59)){1W}1B}}Y e},cC:S(d){if(O.2F()){Y}Q b=O.4b(d);if(R===b){Y}if(R===b.T){Y}if(!(b.T 1l P.U.59)){Y}Q c=1d;19(Q a=0;a<b.T.5l.W;a++){if(O===b.T.5l[a]){c=1a;1B}}if(!c){b.T.5l.17(O)}},fz:S(c){if(O.2F()){Y}Q b=O.4b(c);if(R===b){Y}if(R===b.T){Y}if(!(b.T 1l P.U.59)){Y}19(Q a=0;a<b.T.5l.W;a++){if(O===b.T.5l[a]){b.T.5l.2N(a,1);1B}}},4F:S(){P.U.2W.1y.4F.1q(O,1K);if(!!O.1j){O.56=O.1j.56;O.7X=O.1j.7X;O.55=O.1j.55;O.8B=O.1j.8B}},51:S(){P.U.2W.1y.51.1q(O,1K);if(!!O.1j){O.1j.56=O.56;O.1j.7X=O.7X;O.1j.55=O.55;O.1j.8B=O.8B}},1t:"P.U.cB"});P.U.4H=X P.23(P.U.1N,{5w:1,3W:hB,2p:R,bs:R,4y:R,6D:R,1I:S(a){P.U.1N.1y.1I.1q(O,1K);O.3W=1;O.5w=hB;if(O.2p===R){O.2p=[]}if(O.3l===R){O.3l=1a}if(R===O.4y){O.4y=[]}if(O.6D===R){O.6D=P.1o.6b(P.U.1N.7j)}if(R===O.bs){O.bs=P.V.gL.jW}},1A:S(){O.2p=R;O.4y=R;P.U.1N.1y.1A.1q(O,1K)},qi:S(a){O.fw=1a;O.bt=a;19(Q b=0;b<O.11.W;b++){if(O.11[b].T 1l P.U.6K){O.11[b].Z=P.1o.2v(O.11[b].Z,a)}}},qh:S(){19(Q a=0;a<O.11.W;a++){if(O.11[a].T 1l P.U.6K){O.11[a].Z=P.1o.2v(O.11[a].Z,O.6D)}}O.fw=1d;O.bt=R},xe:S(f,a,h,b){if(!O.1b||!O.1b.1g){Y}if(h===1k){h=2}if(f===1k){f={2I:"#5N"}}if(a===1k){a={2I:"#d8"}}if(b===1k){b=xd}Q l=[];19(Q e=0;e<h;e++){l.17(f);l.17(a)}if(O.fw===1a&&O.bt&&O.bt!==R){l.17(O.bt)}13{l.17(O.6D)}Q g=O;Q c=l.W;19(Q d=0;d<c;d++){qg(S(){19(Q j=0;j<g.11.W;j++){if(g.11[j].T 1l P.U.6K){g.11[j].Z=P.1o.2v(g.11[j].Z,l[0]);g.1b.1g.2l(g.11[j])}}l.2N(0,1)},b*d)}},xc:S(e){19(Q d=0;d<O.11.W;d++){Q c=O.11[d];if(R===c||R===c.Z){1W}if(c.T 1l P.U.9N){c.Z=P.1o.2v(c.Z,e);c.T.2l()}}19(Q b=0;b<O.2p.W;b++){19(Q a=0;a<O.2p[b].2i.W;a++){O.2p[b].2i[a].Z=P.1o.2v(O.2p[b].2i[a].Z,e)}}},xb:S(c){if(O.1b===R||O.1b.Z===1k){Y}19(Q b=0;b<O.11.W;b++){Q a=O.11[b];if(R===a||R===a.Z){1W}if(a.T 1l P.U.4n){1W}if(a.T 1l P.U.xa){1W}if(a.T 1l P.U.9N){1W}a.Z=P.1o.2v(a.Z,c)}O.6D=P.1o.2v(O.6D,c)},x9:S(d){if(O.1b===R||O.1b.Z===1k){Y}19(Q c=0;c<O.11.W;c++){Q b=O.11[c];if(R===b||R===b.Z){1W}if(!(b.T 1l P.U.4n)){1W}b.Z=P.1o.2v(b.Z,d)}19(Q a=0;a<O.2p.W;a++){O.2p[a].Z=P.1o.2v(O.2p[a].Z,d)}},x8:S(d){Q g=O.88(d.id);if(g===R){Y}Q f=O.c8(d);if(f.T.3c){if(O.1b!==R&&O.1b.1g!==R){O.1b.1g.1p.1E("6Y",{1h:[f]})}}O.4y=[];19(Q e=0;e<O.2p.W;e++){19(Q c=0;c<O.2p[e].2i.W;c++){if(O.2p[e].2i[c].4o===d.id){O.2p[e].2i.2N(c,1);19(Q b=0;b<d.2i.W;b++){if(d.2i[b].4o!==O.2p[e].id){O.2p[e].2i.17(d.2i[b])}}1W}}}19(Q a=0;a<O.2p.W;a++){if(O.2p[a].id===d.id){O.2p.2N(a,1)}}O.1u()},x7:S(b){if(O.4y.W!==0){O.4y=[];Q g=O.88(b.id);if(g!==R){g=b}13{O.2p.17(b)}O.1u();Q f=O.c8(b);if(O.1b!==R&&O.1b.1g!==R){O.1b.1g.1p.1E("e3",{1h:[f]})}}13{Q f=O.c8(b);if(f!==R){f.T.3C=b;f.T.1u();Q e=O.lf(f.T.3C);19(Q d=0;d<e.W;d++){e[d].T.18[0]=X P.U.1f(f.T.3C.37.x,f.T.3C.37.y);e[d].T.1u()}Q c=O.le(f.T.3C);19(Q a=0;a<c.W;a++){c[a].T.18[1]=X P.U.1f(f.T.3C.37.x,f.T.3C.37.y);c[a].T.1u()}O.3x();Y}}},x6:S(g,b,k,l,m,n,c,e){if(l===1k){l=1a}O.4y=[];if(l&&k){19(Q f=0;f<b.2i.W;f++){if(b.2i[f].4o===k.id){b.2i.2N(f,1)}}}Q p=O.88(g.id);if(p===R){O.2p.17(g)}if(b){Q d=1d;19(Q h=0;h<b.2i.W;h++){if(b.2i[h].4o===g.id){d=1a}}if(d===1d){Q o=X P.V.7J();o.4o=g.id;if(m!==1k){o.1H=m}if(n!==1k){o.4O=n}b.2i.17(o)}}if(k){Q a=1d;19(Q h=0;h<g.2i.W;h++){if(g.2i[h].4o===k.id){a=1a}}if(a===1d){Q o=X P.V.7J();o.4o=k.id;if(c!==1k){o.1H=c}if(e!==1k){o.4O=e}g.2i.17(o)}}O.1u()},x5:S(d,c,g,f){Q h=O.88(d.id);if(h===R){O.4y=[];O.2p.17(d)}if(c){Q a=1d;19(Q e=0;e<c.2i.W;e++){if(c.2i[e].4o===d.id){a=1a}}if(a===1d){Q b=X P.V.7J();b.4o=d.id;if(g!==1k){b.1H=g}if(f!==1k){b.4O=f}c.2i.17(b)}}O.1u()},qf:S(c,a,d){Q f=O.88(c.id);if(f===R){Y R}Q e=X P.V.b0();e.37=X P.U.1f();e.37.x=c.37.x;e.37.y=c.37.y;e.49="";e.2C=O.bs;if(a===1a){Q b=X P.V.7J();b.4o=c.id;e.2i.17(b)}13{if(d===1a){Q b=X P.V.7J();b.4o=e.id;c.2i.17(b)}}O.2p.17(e);O.1u();O.2l();Y O.c8(e)},qe:S(d,g){19(Q e=0;e<O.2p.W;e++){Q b=O.2p[e];if(R===b){1W}if(!b.2i||R===b.2i){1W}19(Q c=0;c<b.2i.W;c++){Q f=O.88(b.2i[c].4o);if(R===f){1W}Q h=P.V.1m.cA(d,[b.37,f.37]);if(h.7I!==-1&&h.fv<g){Q a=X P.V.b0();a.37=d;a.2C=O.bs;a.49="";a.2i.17(b.2i[c]);b.2i.2N(c,1);Q k=X P.V.7J();k.4o=a.id;b.2i.17(k);O.4y=[];O.2p.17(a);O.1u();O.2l();Y O.c8(a)}}}Y R},qd:S(e,h){Q a=[];19(Q f=0;f<O.2p.W;f++){Q c=O.2p[f];if(R===c){1W}if(!c.2i||R===c.2i){1W}if(c.2i.W===0){a.17(c)}19(Q d=0;d<c.2i.W;d++){Q g=O.88(c.2i[d].4o);if(R===g){1W}Q k=P.V.1m.cA(e,[c.37,g.37]);if(k.7I!==-1&&k.fv<h){Q b=X P.V.b0();b.37=e;b.2C=O.bs;b.49=(O.2p.W+1).6l();b.2i.17(c.2i[d]);c.2i.2N(d,1);Q l=X P.V.7J();l.4o=b.id;c.2i.17(l);O.4y=[];O.2p.17(b);Y}}}Q b=X P.V.b0();b.37=e;if(O.2p.W!==0){b.2C=O.bs}13{b.2C=P.V.gL.jV}b.49=(O.2p.W+1).6l();if(a.W!==0){Q l=X P.V.7J();l.4o=b.id;a[0].2i.17(l)}O.2p.17(b);Y},x4:S(a){O.bs=a},c8:S(a){19(Q b=0;b<O.11.W;b++){if(O.11[b].3C===a.id){Y O.11[b]}}Y R},lf:S(a){Q c=[];19(Q b=0;b<O.11.W;b++){if(O.11[b].8c!==1k&&O.11[b].8c===a.id){c.17(O.11[b])}}Y c},le:S(a){Q c=[];19(Q b=0;b<O.11.W;b++){if(O.11[b].cz!==1k&&O.11[b].cz===a.id){c.17(O.11[b])}}Y c},ll:S(){O.8A=[];O.7W=[];19(Q a=0;a<O.11.W;a++){if(O.11[a].T 1l P.U.4n){O.8A.17(O.11[a])}13{if(O.11[a].T 1l P.U.9N){O.7W.17(O.11[a])}13{O.11[a].1g=O.1b.1g;O.11[a].T.dU(O.11[a].T.11)}}}O.11=[]},lj:S(){19(Q a=0;a<O.8A.W;a++){O.8A[a].T.dU(O.8A[a].T.11)}19(Q a=0;a<O.7W.W;a++){O.7W[a].T.dU(O.7W[a].T.11)}O.8A=[];O.7W=[];O.3x()},1u:S(){O.ll();if(1k!==O.4y&&R!==O.4y){19(Q e=0;e<O.4y.W;e++){Q f=O.4y[e];if(f.W<2){1W}Q k=P.U.1N.2Y(0,P.V.1i.8r,f,{1c:O.1c});k.Z=P.1o.2v(k.Z,O.6D);O.11.17(k)}}19(Q e=0;e<O.2p.W;e++){Q c=O.2p[e];if(R===c){1W}if(!c.2i||R===c.2i){1W}19(Q d=0;d<c.2i.W;d++){Q g=O.88(c.2i[d].4o);if(R===g){1W}Q b=[];b.17(c.37);b.17(g.37);if(O.4y.W===0){Q k=P.U.1N.2Y(0,P.V.1i.8r,b,{1c:O.1c});k.Z=P.1o.2v(k.Z,O.6D);k.8c=c.id;k.cz=g.id;O.11.17(k)}Q h=c.2i[d].1H;if(R===h){1W}Q a=c.2i[d].4O;if(1k===a||R===a){a=P.V.8U.dn}Q l=P.U.1N.2Y(0,P.V.1i.c4,b,{1c:O.1c,4O:a,7V:1d,1H:h});l.Z=P.1o.2v(l.Z,c.2i[d].Z);l.8c=c.id;l.cz=g.id;l.1g=O.1b.1g;O.11.17(l)}O.lk(c)}O.lj()},lk:S(a){if(R===a){Y}19(Q b=0;b<O.8A.W;){if(O.8A[b].3C===a.id){O.8A[b].T.3C=a;O.8A[b].T.1u();O.11.17(O.8A[b]);O.8A.2N(b,1);Y}13{b++}}Q c=P.U.1N.2Y(0,P.V.1i.dr,[a.37],{1c:O.1c,3C:a,3X:O},a.Z);c.3C=a.id;c.1g=O.1b.1g;O.11.17(c)},4F:S(){P.U.1N.1y.4F.1q(O,1K);if(!!O.1j){O.2p=O.1j.2p;O.2p=[];19(Q d=0;d<O.1j.2p.W;d++){Q c=X P.V.b0();if(O.1j.2p[d].id!==R||O.1j.2p[d].id!==1k){c.id=O.1j.2p[d].id}c.2C=O.1j.2p[d].2C;c.49=O.1j.2p[d].49;c.2f=O.1j.2p[d].2f;c.37=X P.U.1f(O.1j.2p[d].37.x,O.1j.2p[d].37.y);c.2i=[];19(Q b=0;b<O.1j.2p[d].2i.W;b++){Q a=X P.V.7J();a.4o=O.1j.2p[d].2i[b].4o;a.4O=O.1j.2p[d].2i[b].4O;a.1H=O.1j.2p[d].2i[b].1H;a.2U=O.1j.2p[d].2i[b].2U;a.2T=O.1j.2p[d].2i[b].2T;a.Z=O.1j.2p[d].2i[b].Z;c.2i.17(a)}c.Z=O.1j.2p[d].Z;O.2p.17(c)}O.4y=[];19(Q d=0;d<O.1j.4y.W;d++){Q e=[];19(Q b=0;b<O.1j.4y[d].W;b++){e.17(X P.U.1f(O.1j.4y[d][b].x,O.1j.4y[d][b].y))}O.4y.17(e)}O.6D=O.1j.6D}},51:S(){P.U.1N.1y.51.1q(O,1K);if(!!O.1j){O.1j.2p=O.2p;O.1j.4y=O.4y;O.1j.6D=O.6D}},88:S(b){19(Q a=0;a<O.2p.W;a++){if(O.2p[a].id===b){Y O.2p[a]}}Y R},7C:S(){O.3H=R;Q d=X P.5B();Q c=O.11;if(c){19(Q b=0,a=c.W;b<a;b++){d.2R(c[b].T.2D())}}if(d.1Z!=R&&d.2g!=R&&d.2b!=R&&d.1Y!=R){O.at(d)}},2n:S(a,b){},cw:S(b,d,c,a){},2f:S(a,b){},79:S(){if(O.3G!==O.1c.3o()){19(Q a=0;a<O.11.W;a++){if(O.11[a].1s!==P.V.1i.8r){O.11[a].T.79()}}}O.3G=O.1c.3o()},1t:"P.U.4H"});P.U.li=X P.23(P.U.4H,{4x:R,av:R,1I:S(a){P.U.4H.1y.1I.1q(O,1K);O.1v=0;O.1C=P.V.1i.du;O.1s=P.V.1i.du;O.4i=P.6C("x3");if(O.4x===R){O.4x=20}if(O.av===R){O.av=1d}},1A:S(){O.4x=R;O.av=R;P.U.1N.1y.1A.1q(O,1K)},1u:S(){O.ll();Q e,c,d,b;if(R!=O.4y){19(e=0;e<O.4y.W;e++){d=O.4y[e];if(!P.1o.4g(d)||d.W<2){1W}b=P.U.1N.2Y(0,P.V.1i.8r,d,{1c:O.1c});b.Z=P.1o.2v(b.Z,O.6D);O.11.17(b)}}19(e=0;e<O.2p.W;e++){Q a=O.2p[e];if(R===a){1W}if(!a.2i||R===a.2i){1W}19(c=0;c<a.2i.W;c++){if(!(a.2i[c]1l P.V.7J)){1W}Q f=O.88(a.2i[c].4o);if(R===f){1W}if(O.4y.W===0){d=[];d.17(a.37);d.17(f.37);b=P.U.1N.2Y(0,P.V.1i.8r,d,{1c:O.1c});b.Z=P.1o.2v(b.Z,O.6D);b.8c=a.id;b.cz=f.id;O.11.17(b)}O.qc(a,a.2i[c])}O.lk(a)}O.lj()},qc:S(b,a){19(Q d=0;d<O.7W.W;){if(O.7W[d].8c===b.id&&O.7W[d].cz===a.4o){O.7W[d].T.8c=b;O.7W[d].T.5Y=a;O.7W[d].T.1u();O.11.17(O.7W[d]);O.7W.2N(d,1);Y}13{d++}}if(a.1H!==R&&a.1H.W!==0){Q c=P.U.1N.2Y(0,P.V.1i.c3,R,{1c:O.1c,8c:b,5Y:a,3X:O,av:O.av,4x:O.4x},a.Z);c.1g=O.1b.1g;c.8c=b.id;c.cz=a.4o;O.11.17(c)}},1t:"P.U.li"});P.U.lh=X P.23(P.U.4H,{1I:S(a){P.U.4H.1y.1I.1q(O,1K);O.1v=0;O.1C=P.V.1i.dt;O.1s=P.V.1i.dt;O.4i=P.6C("x0")},1t:"P.U.lh"});P.U.lg=X P.23(P.U.4H,{1I:S(a){P.U.4H.1y.1I.1q(O,1K);O.1v=0;O.1C=P.V.1i.ds;O.1s=P.V.1i.ds;O.4i=P.6C("wZ")},1t:"P.U.lg"});P.U.4n=X P.23(P.U.2W,{3X:R,3C:R,e5:S(){19(Q b=0;b<O.3X.2p.W;b++){19(Q a=0;a<O.3X.2p[b].2i.W;a++){if(O.3X.2p[b].2i[a].4o===O.3C.id){Y 1d}}}Y 1a},e4:S(){if(O.3C.2i.W===0){Y 1a}13{Y 1d}},jG:S(a){O.3C.2C=a;O.1u();O.1E()},wY:S(a){O.3C.49=a;O.1u()},l7:S(a){O.18[0].x=a.x;O.18[0].y=a.y;O.3C.37.x=a.x;O.3C.37.y=a.y;19(Q b=0;b<O.3X.2p.W;b++){if(O.3X.2p[b].4o===O.3C.id){O.3X.2p[b].x=a.x;O.3X.2p[b].y=a.y}}if(O.3X.4y.W!==0){O.3X.4y=[];O.3X.1u();if(O.1b!==R&&O.1b.1g!==R){O.1b.1g.1p.1E("e3",{1h:[O.1b]})}}13{O.1u();Q e=O.3X.lf(O.3C);19(Q d=0;d<e.W;d++){if(!(e[d].T 1l P.U.9N)){e[d].T.18[0]=X P.U.1f(a.x,a.y)}e[d].T.1u()}Q c=O.3X.le(O.3C);19(b=0;b<c.W;b++){if(!(c[b].T 1l P.U.9N)){c[b].T.18[1]=X P.U.1f(a.x,a.y)}c[b].T.1u()}O.3X.3x();O.1E()}},au:S(a){O.3C.2f=a;O.1u()},br:S(){Y O.3C.2f},1I:S(a){P.U.2W.1y.1I.1q(O,1K);O.4i=P.V.hL.wX(O.3C.2C);O.1s=P.V.1i.dr;O.4q=X P.U.1f(0,0)},1A:S(){O.3X=R;O.3C=R;P.U.3I.1y.1A.1q(O,1K)},1u:S(){O.6m();if(O.18.W===0){O.18=[X P.U.1f(O.3C.37.x,O.3C.37.y)]}13{O.18[0].x=O.3C.37.x;O.18[0].y=O.3C.37.y}if(O.18.W>=O.3W){if(O.3C.2C===P.V.gL.jX){Q b=P.V.hL.ld(O.3C.2C,1d,O.3C.2f);O.hJ(b);Q e=P.V.hL.ld(O.3C.2C,1a);O.hJ(e)}13{Q c=P.V.hL.ld(O.3C.2C);O.hJ(c)}O.3x();if(O.3C.49!==R&&O.3C.49!==""){Q f=O.2D();Q a=X P.U.1f(f.2b,f.1Y);Q d=P.U.3k.4p(P.V.1i.4C,[a],O.3C.49);d.Z=O.3C.Z;d.Z.2u="lb";O.11.17(d)}O.hK(O.e2,O.11)}},hJ:S(c){Q e=O.1c.3a(X P.2w(O.18[0].x,O.18[0].y));19(Q d=0;d<c.W;d++){Q b=c[d];if(b.2C===P.V.1i.4C){b.Z.1w=O.1R*b.Z.1w;b.Z.2V+=-O.3p}19(Q a=0;a<b.2m.W;a++){b.2m[a].x=b.2m[a].x*O.1R;b.2m[a].y=b.2m[a].y*O.1R;b.2m[a].2f(O.3p,O.4q);b.2m[a]=O.9P(b.2m[a],e)}Q f=P.U.3k.4p(b.2C,b.2m,b.1H,O.3p);f.Z=b.Z;O.11.17(f)}},2n:S(a,b){O.3C.37.2n(a,b);O.l7(O.3C.37)},79:S(){if(O.3G!==O.1c.3o()){if(!O.3l||O.3l===1d){O.1u()}13{O.1R*=O.3G/O.1c.3o();if(O.1R>5){O.1R=5}13{if(O.1R<1){O.1R=1}}O.1u()}O.3G=O.1c.3o()}},1t:"P.U.4n"});P.U.l9=X P.23(P.U.2W,{5d:R,as:R,2Z:R,wW:S(a){if(O.2F()){Y}if(O.as!==a){O.as=a;O.1u();O.1E()}},wV:S(){Y O.as},1I:S(a){P.U.2W.1y.1I.1q(O,1K);O.1v=0;O.1C=P.V.1i.ah;O.1s=P.V.1i.ah;O.4i=P.6C("wU");if(O.as===R){O.as=1a}if(O.2a.W===0){O.2a.17(0.5)}if(O.2Z===R){O.2Z=[]}},1u:S(){O.6m();if(O.5d!==R){if(O.as){if(O.18===R||O.18.W===0){19(Q k=0;k<O.5d.W;k++){O.18.17(X P.U.1f(O.5d[k].x,O.5d[k].y))}}13{19(Q h=0,m=O.5d.W;h<m;h++){O.5d[h].x=O.18[h].x;O.5d[h].y=O.18[h].y}}Q q=P.V.1m.3F(O.18);Q d=P.U.3k.4p(P.V.1i.8r,q);d.Z={2S:1d};O.11.17(d)}Q f=P.V.1m.aM(O.18);if(O.2a.W===0){O.wT.17(0.5)}Q l=P.V.1m.wS(O.18,f*O.2a[0]);Q p=l.pt;Q n=p.2s();Q g=1n.f1(O.5d.W/2);Q e=X P.U.1f(O.5d[g].x,O.5d[g].y);Q c=O.1S[0].1v;Q a=O.1S[0].1C;Q b=P.V.1m.7g(e,X P.U.1f(O.5d[g-1].x,O.5d[g-1].y));O.1S[0].1j.3p=b*2M/1n.2r;O.1S[0].1j.1H=O.1H;O.1S[0].1j.lc=7;Q o=P.U.1N.e0(c,a,{18:[n],1j:O.1S[0].1j,1c:O.1c,1b:O.1b});o.1u();o.Z={2S:1d};o.3l=1a;o.5O=1a;o.11[o.4J].Z.9L=1a;O.11.17(o);p.7U=1a;p.4U=0;O.1M.17(p)}O.8z()},7C:S(){O.3H=R;Q d=X P.5B();Q c=O.11;if(c){19(Q a=0;a<c.W;a++){if(c[a]1l P.U.5o){Q b=c[a].Z;if(b){b=P.1o.2v(b,c[a].Z)}d.2R(c[a].9O(O.1c,b))}13{if(c[a]1l P.U.59){d.2R(c[a].la())}13{d.2R(c[a].2D())}}}}if(d.1Z!=R&&d.2g!=R&&d.2b!=R&&d.1Y!=R){O.at(d)}},2n:S(c,f){if(O.2F()){Y}P.U.2W.1y.2n.1q(O,1K);19(Q d=0,b=O.5d.W;d<b;d++){O.5d[d].x+=c;O.5d[d].y+=f}19(d=0;d<O.2Z.W;d++){Q e=O.2Z[d];if(R===e){1W}19(Q a=0;a<e.3D.W;a++){e.3D[a].2n(c,f)}if(e 1l P.U.dX){e.1u();e.2l()}}O.3x()},cw:S(c,g,e,b){P.U.2W.1y.cw.1q(O,1K);19(Q d=0,a=O.5d.W;d<a;d++){O.5d[d].x=O.18[d].x;O.5d[d].y=O.18[d].y}19(d=0;d<O.2Z.W;d++){Q f=O.2Z[d];if(R===f){1W}if(f 1l P.U.dX){f.1u();f.2l()}}},2f:S(b,f){P.U.2W.1y.2f.1q(O,1K);19(Q d=0,a=O.5d.W;d<a;d++){O.5d[d].x=O.18[d].x;O.5d[d].y=O.18[d].y}19(d=0;d<O.2Z.W;d++){Q e=O.2Z[d];if(R===e){1W}19(Q c=0;c<e.3D.W;c++){e.3D[c].2f(b,f)}if(e 1l P.U.dX){e.1u();e.2l()}}O.3x()},79:S(){if(O.3G!==O.1c.3o()){19(Q b=0,a=O.11.W;b<a;b++){if(O.11[b]1l P.U.59){O.11[b].79();O.1S.1j=P.1o.2v(O.1S.1j,O.11[b].7i())}}}O.3G=O.1c.3o();O.3x()},6k:S(f,j){if(j.7U){if(f!==0){Y}Q h=P.V.1m.3F(O.18);h=P.V.1m.e1(h);if(h.W<O.3W){Y}Q e=P.V.1m.aJ(h);e=P.V.1m.e1(e);Q c=P.V.1m.aM(e);Q a=P.V.1m.2J(e[0],j);Q b;19(Q d=0;d<e.W;d++){if(a>P.V.1m.2J(e[d],j)){a=P.V.1m.2J(e[d],j);b=d}}Q g=0;if(b===0){b=1}19(Q d=0;d<b;d++){g+=P.V.1m.2J(e[d],e[d+1])}O.2a[0]=g/c}O.1u()},1t:"P.U.l9"});P.U.dY=X P.23(P.U.6K,{4e:R,4I:R,39:R,36:R,2c:R,5Z:R,7a:R,8e:R,wR:S(){Y O.fr(O.39,O.36)},7G:S(b){if(O.2F()){Y}if(b||b!==R){if(!(P.1o.4g(b))){b=[b]}O.18=b;if(O.18.W===2){O.4e=O.18[0];Q c=X P.2w(O.18[0].x,O.18[0].y);Q a=X P.2w(O.18[1].x,O.18[1].y);O.4I=P.1o.dZ(c,a)}if(O.18.W===3){O.39=P.V.1m.7g(O.18[0],O.18[1])*2M/1n.2r;O.36=P.V.1m.7g(O.18[0],O.18[2])*2M/1n.2r}O.1u();O.2l();O.1E()}},hI:S(){Y[O.4e]},wQ:S(a){if(O.2F()){Y}if(O.4I!==a){O.4I=a;O.1u();O.2l();O.1E()}},wP:S(){Y O.4I},wO:S(a){if(O.2F()){Y}if(O.39!==a){O.39=a;O.1u();O.1E()}},wN:S(){Y O.39},wM:S(a){if(O.2F()){Y}if(O.36!==a){O.36=a;O.1u();O.1E()}},wL:S(){Y O.36},fu:S(a){if(O.2F()){Y}if(O.2c!==a){O.2c=a;if(O.1H.W!==0){O.1u();O.1E()}}},jH:S(b,a){if(O.2F()){Y}if(a>1){a=1}if(a<0){a=0}if(O.5Z[a]!==b){O.5Z[a]=b;O.1u();O.1E()}},wK:S(a){if(a>1){a=1}if(a<0){a=0}Y O.5Z[a]},wJ:S(a){if(O.2F()){Y}if(O.7a!==a){O.7a=a;if(O.5Z.W!==0){O.1u();O.1E()}}},wI:S(){Y O.7a},wH:S(a){if(O.2F()){Y}if(O.8e!==a){O.8e=a;if(O.5Z.W!==0){O.1u();O.1E()}}},wG:S(){Y O.8e},1I:S(a){P.U.2W.1y.1I.1q(O,1K);O.1v=0;O.1C=P.V.1i.c5;O.1s=P.V.1i.c5;O.4i=P.6C("wF");O.3W=2;O.5w=3;if(O.qb===R){O.qb=[]}if(O.2c===R){O.2c=(O.39+O.36)/2}if(O.5Z===R){O.5Z=[]}if(O.39===R){O.39=0}if(O.36===R){O.36=3Q}if(O.7a===R){O.7a=(O.39+O.36)/2}if(O.8e===R){O.8e=P.V.gJ.6c}if((1k===a.fs||R===a.fs)&&O.5O===1d){O.fs=1a}O.q8=15;if(O.2a.W===0){O.2a.17(0.1)}if(a&&a.27){O.27=a.27}},1A:S(){O.4e=R;O.4I=R;O.39=R;O.36=R;O.2c=R;O.5Z=R;O.7a=R;O.8e=R;P.U.2W.1y.1A.1q(O,1K)},1u:S(){O.6m();if(!O.5O){if(O.18.W===2){O.4e=O.18[0];Q g=X P.2w(O.18[0].x,O.18[0].y);Q e=X P.2w(O.18[1].x,O.18[1].y);O.4I=P.1o.dZ(g,e)}if(O.18.W===3){O.39=P.V.1m.7g(O.18[0],O.18[1])*2M/1n.2r;O.36=P.V.1m.7g(O.18[0],O.18[2])*2M/1n.2r}}if(O.4e&&O.4e!==R&&O.4I&&O.4I!==R){O.39%=3Q;O.36%=3Q;if(O.39>O.36){O.36+=3Q}Q f=P.V.1m.5q(O.39,O.36);if(f){O.39=0;O.36=3Q}Q d=O.fr(O.39,O.36);if(!f){d=O.fr(O.39,O.36);Q c=d[0].2s();c.7U=1a;c.4U=0;Q b=d[d.W-1].2s();b.7U=1a;b.4U=1;O.1M.17(c);O.1M.17(b);d.17(O.4e.2s());if(O.18.W>2){O.18.2N(1,O.18.W-1)}}Q a=P.U.3k.4p(P.V.1i.bN,d);a.Z={2S:1d};O.11.17(a);if(O.18.W===0){O.18.17(X P.U.1f(O.4e.x,O.4e.y))}if(O.18.W===1&&f){O.18.17(d[1n.ft(d.W/2)].2s())}O.qa();O.q9()}O.8z()},qa:S(){if(O.1H.W!==0){Q h=90;Q f=1d;O.2c%=3Q;if(O.36>O.39){if(O.2c<O.36&&O.2c>O.39){if((O.36-O.2c)<h){h=O.36-O.2c}if((O.2c-O.39)<h){h=O.2c-O.39}}13{if(O.2c+3Q<O.36&&O.2c+3Q>O.39){O.2c+=3Q;if((O.36-O.2c)<h){h=O.36-O.2c}if((O.2c-O.39)<h){h=O.2c-O.39}}13{f=1a}}}if(O.39>O.36){if(O.2c>O.39||O.2c<O.36){f=1a}13{if((O.39-O.2c)<h){h=O.39-O.2c}if((O.2c-O.36)<h){h=O.2c-O.36}}}if(h*2<4){f=1a}Q k=X P.U.1f();Q g;if(f===1a){Q b=O.2D();Q j=b.7N();g=P.U.3k.4p(34,[X P.U.1f(j.1U,j.1T)],O.1H);g.Z={2S:1d,2u:"cm"};O.11.17(g);k.x=j.1U;k.y=j.1T}13{Q e=O.2c+h;Q d=O.2c-h;Q c=O.fr(d,e);Q a=P.V.8U.dn;if(P.V.1m.wE(c)){a=P.V.8U.gK}g=P.U.1N.e0(0,P.V.1i.c4,{18:c,1H:O.1H,7V:1d,bq:1d,4O:a,1c:O.1c,1b:O.1b});g.1u();g.Z={2S:1d};O.11.17(g);k=c[1n.ft(c.W/2)].2s()}k.7U=1a;k.4U=2;O.1M.17(k)}},q9:S(){if(O.5Z.W===0){Y}O.7a%=3Q;Q b=P.1o.l8(X P.2w(O.4e.x,O.4e.y),3Q-O.7a+90,O.4I*68);Q p=X P.U.1f(b.1U,b.1T);Q f=P.V.1m.2J(O.4e,p);Q r=[];r.17(O.4e);r.17(p);if(P.V.gJ.6c!==O.8e){Q g=P.U.3k.4p(P.V.1i.8r,r);g.Z={2S:1d};O.11.17(g)}if(O.8e===P.V.gJ.eU){Q q;if(R===O.1c){q=0}13{Q o=O.1c.2G(X P.3M(0,0));Q n=O.1c.2G(X P.3M(O.q8,0));q=P.V.1m.2J(X P.U.1f(o.1U,o.1T),X P.U.1f(n.1U,n.1T))}Q c=P.V.1m.6T(p,O.4e,q,12.5);Q a=P.V.1m.6T(p,O.4e,q,-12.5);Q s=[];s.17(p.2s());s.17(c);s.17(a);Q h=P.U.3k.4p(P.V.1i.bN,s);h.Z={};h.Z={2S:1d,2q:1a,8J:1a,9n:1a};O.11.17(h)}if(!P.1o.4g(O.5Z)){O.5Z=[O.5Z]}Q u;if(O.5Z.W>=1){Q w=P.V.1m.6T(O.4e,p,f*0.2,0);Q v=P.V.1m.6T(O.4e,p,f*0.8,0);Q e=P.V.1m.6T(w,p,f*0.hH,90);Q d=P.V.1m.6T(v,p,f*0.hH,90);u=P.V.8U.dn;Q t=[];if(e.x<d.x){t.17(e);t.17(d)}13{t.17(d);t.17(e);u=P.V.8U.gK}Q m=P.U.1N.e0(0,P.V.1i.c4,{18:t,1H:O.5Z[0],7V:1d,4O:u,1c:O.1c,1b:O.1b});m.1u();m.Z={2S:1d};O.11.17(m)}if(O.5Z.W===2){u=P.V.8U.gK;Q k=P.V.1m.6T(w,p,f*0.hH,ap);Q j=P.V.1m.6T(v,p,f*0.hH,ap);Q x=[];if(k.x<j.x){x.17(k);x.17(j)}13{x.17(j);x.17(k);u=P.V.8U.dn}Q l=P.U.1N.e0(0,P.V.1i.c4,{18:x,1H:O.5Z[1],7V:1d,4O:u,1c:O.1c,1b:O.1b});l.1u();l.Z={2S:1d};O.11.17(l)}Q y=p.2s();y.7U=1a;y.4U=3;O.1M.17(y)},4F:S(){P.U.6K.1y.4F.1q(O,1K);if(!!O.1j){O.4e=X P.U.1f(O.1j.4e.x,O.1j.4e.y);O.36=O.1j.36;O.4I=O.1j.4I;O.7a=O.1j.7a;O.39=O.1j.39;O.2c=O.1j.2c;O.8e=O.1j.8e;O.5Z=O.1j.5Z}},51:S(){P.U.6K.1y.51.1q(O,1K);if(!!O.1j){O.1j.4e=O.4e;O.1j.36=O.36;O.1j.4I=O.4I;O.1j.7a=O.7a;O.1j.39=O.39;O.1j.2c=O.2c;O.1j.8e=O.8e;O.1j.5Z=O.5Z}},79:S(){if(O.8d!==1k&&O.8d!==O.1b.Z.1D){O.1D=O.1b.Z.1D}if(O.3G!==O.1c.3o()){if(O.5O===1a){Q a=O.3G/O.1c.3o();O.1R*=a;if(O.1R>=1){O.fs=1a}13{O.fs=1d}O.1u()}O.3G=O.1c.3o()}},6k:S(b,c){if(c.7U===1a){if(0===b){Q f=X P.2w(O.4e.x,O.4e.y);Q e=X P.2w(c.x,c.y);O.4I=P.1o.dZ(f,e);O.39=P.V.1m.7g(O.18[0],c)*2M/1n.2r}13{if(1===b){Q f=X P.2w(O.4e.x,O.4e.y);Q e=X P.2w(c.x,c.y);O.4I=P.1o.dZ(f,e);O.36=P.V.1m.7g(O.18[0],c)*2M/1n.2r}13{if(2===b){Q a=P.V.1m.7g(O.18[0],c)*2M/1n.2r;if((a>O.39&&a<O.36)||(a+3Q>O.39&&a+3Q<O.36)){O.2c=a}}13{if(3===b){Q d=P.V.1m.7g(O.18[0],c)*2M/1n.2r;if(O.39%3Q===O.36%3Q){O.7a=d}13{if((d>O.39&&d<O.36)||(d+3Q>O.39&&d+3Q<O.36)){O.7a=d}}}}}}}13{if(O.18.W>0){O.4e=O.18[0].2s()}if(O.18.W===2){Q f=X P.2w(O.18[0].x,O.18[0].y);Q e=X P.2w(O.18[1].x,O.18[1].y);O.4I=P.1o.dZ(f,e)}}O.1u();O.2l();O.1E()},cw:S(b,e,c,a){Q d=1d;if(O.18.W===1){d=1a;O.18.17(O.1M[0])}P.U.6K.1y.cw.1q(O,1K);O.4e.x=O.18[0].x;O.4e.y=O.18[0].y;Q g=X P.2w(O.18[0].x,O.18[0].y);Q f=X P.2w(O.18[1].x,O.18[1].y);O.4I=P.1o.dZ(g,f);if(d){O.18.2N(1,1)}},2f:S(a,b){O.18=[];O.1M=[];O.7a+=a;O.39+=a;O.36+=a;O.2c+=a;O.1u()},2n:S(b,d){if(O.2F()){Y}19(Q c=0,a=O.3D.W;c<a;c++){O.3D[c].2n(b,d)}O.4e.2n(b,d);O.18=[];O.1u();O.2l()},fr:S(e,b){Q a=[];19(Q d=e;d<=b;d+=5){Q c=P.1o.l8(X P.2w(O.4e.x,O.4e.y),3Q-d+90,O.4I*68);a.17(X P.U.1f(c.1U,c.1T))}if((d-b)>0&&(d-b)<5){Q c=P.1o.l8(X P.2w(O.4e.x,O.4e.y),3Q-b+90,O.4I*68);a.17(X P.U.1f(c.1U,c.1T))}Y a},1t:"P.U.dY"});P.U.dX=X P.23(P.U.2W,{2Z:R,1I:S(a){P.U.2W.1y.1I.1q(O,1K);O.1v=0;O.1C=P.V.1i.8q;O.1s=P.V.1i.8q;O.4i=P.6C("wD")},1u:S(){O.6m();O.11=[];Q n=O.4b(O.3r);if(n===R||n.T.5d===R){Y}Q g=1d;19(Q l=0;l<n.T.2Z.W;l++){if(O===n.T.2Z[l]){g=1a;1B}}if(!g){n.T.2Z.17(O)}if(O.2Z!==R){Q c=n.T.5d;Q h,f,d;19(h=0;h<O.2Z.W;h++){Q a=0,e=0;if(O.2Z[h].2C==="hG"){19(f=0;f<c.W;f++){if(O.2Z[h].8p===c[f].bZ){a=f}if(O.2Z[h].7H===c[f].bZ){e=f;1B}}}13{if(O.2Z[h].2C==="hF"){19(f=0;f<c.W;f++){if(O.2Z[h].8p===c[f].aZ){a=f}if(O.2Z[h].7H===c[f].aZ){e=f;1B}}}}Q m=[];19(d=a;d<=e;d++){m.17(X P.U.1f(c[d].x,c[d].y))}if(m.W>1){Q b=P.U.3k.4p(P.V.1i.8r,m);b.Z={2S:1d,6r:1a,1D:n.Z.1D*4+O.1b.Z.1D};O.11.17(b);m[0].7U=1a;m[0].4U=2*h;O.1M.17(m[0]);m[m.W-1].7U=1a;m[m.W-1].4U=2*h+1;O.1M.17(m[m.W-1])}}}O.8z()},7C:S(){O.3H=R;Q c=X P.5B();Q b=O.11;if(b){19(Q a=0;a<b.W;a++){c.2R(b[a].2D())}}if(c.1Z!=R&&c.2g!=R&&c.2b!=R&&c.1Y!=R){O.at(c)}},4F:S(){P.U.3I.1y.4F.1q(O,1K);if(!!O.1j){O.2Z=O.1j.2Z;O.2C=O.1j.2C}},51:S(){P.U.2W.1y.51.1q(O,1K);if(!!O.1j){O.1j.2Z=O.2Z;O.1j.2C=O.2C}},2n:S(a,b){Y},6k:S(f,l){if(l.7U){Q m=O.4b(O.3r);if(!m){Y}Q k=m.T.18;Q h=m.T.5d;if(f%2===0){f=f/2;Q e;e=O.2Z[f].7H-O.2Z[f].8p;Q a=P.V.1m.2J(l,k[0]);Q b=0;19(Q c=0;c<k.W-e;c++){if(a>=P.V.1m.2J(l,k[c])){a=P.V.1m.2J(l,k[c]);b=c}}19(Q d=0;d<O.2Z.W;d++){if(O.2Z[d].2C==="hG"){O.2Z[f].8p=b+h[0].bZ;O.2Z[f].7H=b+e+h[0].bZ}13{if(O.2Z[d].2C==="hF"){O.2Z[f].8p=b+h[0].aZ;O.2Z[f].7H=b+e+h[0].aZ}}}}13{f=(f-1)/2;Q g=P.V.1m.2J(l,k[k.W-1]);19(Q c=0;c<k.W;c++){if(g>=P.V.1m.2J(l,k[c])){g=P.V.1m.2J(l,k[c]);b=c}}19(Q d=0;d<O.2Z.W;d++){if(O.2Z[d].2C==="hG"){O.2Z[f].7H=b+h[0].bZ;if(O.2Z[f].7H<=O.2Z[f].8p){O.2Z[f].7H=O.2Z[f].8p+1}}13{if(O.2Z[d].2C==="hF"){O.2Z[f].7H=b+h[0].aZ;if(O.2Z[f].7H<=O.2Z[f].8p){O.2Z[f].7H=O.2Z[f].8p+1}}}}}}O.1u()},1t:"P.U.dX"});P.U.43=P.23(P.U.7s,{x:R,y:R,3y:R,1c:R,6B:1d,4U:R,hD:3.5,ex:4,1I:S(b,f,e,d,c,a){P.U.1y.1I.1q(O,1K);O.x=b;O.y=f;O.3y=e;if(O.3y===R||O.3y===1k){O.3y=-1}O.1c=d;if(c===1a){O.6B=c}O.4U=a;if(O.4U===R||O.4U===1k){O.4U=-1}if(O.11===R){O.11=[]}},1u:S(){if(R===O.x||R===O.y||R===O.3y||R===O.1c){Y}Q F=[];Q r=[];Q z=O.1c.2G(X P.3M(0,0));Q x=O.1c.2G(X P.3M(O.hD,0));Q E=P.V.1m.2J({x:z.1U,y:z.1T},{x:x.1U,y:x.1T});6x(O.3y){1z 1:if(!O.6B){F.17(X P.U.1f(O.x,O.y));F.17(X P.U.1f(O.x,O.y+2*E));F.17(X P.U.1f(O.x-2*E,O.y+2*E));F.17(X P.U.1f(O.x-2*E,O.y))}13{F.17(X P.U.1f(O.x,O.y));F.17(X P.U.1f(O.x,O.y+1.2*E));F.17(X P.U.1f(O.x-1*E,O.y+2*E));F.17(X P.U.1f(O.x-2*E,O.y+1.2*E));F.17(X P.U.1f(O.x-2*E,O.y));r.17(X P.U.1f(O.x,O.y));r.17(X P.U.1f(O.x,O.y+0.6*E));r.17(X P.U.1f(O.x-2*E,O.y+0.6*E));r.17(X P.U.1f(O.x-2*E,O.y))}1B;1z 2:if(!O.6B){F.17(X P.U.1f(O.x-E,O.y));F.17(X P.U.1f(O.x+E,O.y));F.17(X P.U.1f(O.x+E,O.y+2*E));F.17(X P.U.1f(O.x-E,O.y+2*E))}13{F.17(X P.U.1f(O.x-E,O.y));F.17(X P.U.1f(O.x+E,O.y));F.17(X P.U.1f(O.x+E,O.y+1.2*E));F.17(X P.U.1f(O.x,O.y+2*E));F.17(X P.U.1f(O.x-E,O.y+1.2*E));r.17(X P.U.1f(O.x-E,O.y));r.17(X P.U.1f(O.x+E,O.y));r.17(X P.U.1f(O.x+E,O.y+0.6*E));r.17(X P.U.1f(O.x-E,O.y+0.6*E))}1B;1z 3:if(!O.6B){F.17(X P.U.1f(O.x,O.y));F.17(X P.U.1f(O.x+2*E,O.y));F.17(X P.U.1f(O.x+2*E,O.y+2*E));F.17(X P.U.1f(O.x,O.y+2*E))}13{F.17(X P.U.1f(O.x,O.y));F.17(X P.U.1f(O.x+2*E,O.y));F.17(X P.U.1f(O.x+2*E,O.y+1.2*E));F.17(X P.U.1f(O.x+E,O.y+2*E));F.17(X P.U.1f(O.x,O.y+1.2*E));r.17(X P.U.1f(O.x,O.y));r.17(X P.U.1f(O.x+2*E,O.y));r.17(X P.U.1f(O.x+2*E,O.y+0.6*E));r.17(X P.U.1f(O.x,O.y+0.6*E))}1B;1z 4:if(!O.6B){F.17(X P.U.1f(O.x,O.y+E));F.17(X P.U.1f(O.x-2*E,O.y+E));F.17(X P.U.1f(O.x-2*E,O.y-E));F.17(X P.U.1f(O.x,O.y-E))}13{F.17(X P.U.1f(O.x,O.y+0.2*E));F.17(X P.U.1f(O.x-E,O.y+E));F.17(X P.U.1f(O.x-2*E,O.y+0.2*E));F.17(X P.U.1f(O.x-2*E,O.y-E));F.17(X P.U.1f(O.x,O.y-E));r.17(X P.U.1f(O.x-2*E,O.y-E));r.17(X P.U.1f(O.x,O.y-E));r.17(X P.U.1f(O.x,O.y-0.4*E));r.17(X P.U.1f(O.x-2*E,O.y-0.4*E))}1B;1z 5:if(!O.6B){F.17(X P.U.1f(O.x,O.y+E));F.17(X P.U.1f(O.x+2*E,O.y+E));F.17(X P.U.1f(O.x+2*E,O.y-E));F.17(X P.U.1f(O.x,O.y-E))}13{F.17(X P.U.1f(O.x,O.y+0.2*E));F.17(X P.U.1f(O.x+E,O.y+E));F.17(X P.U.1f(O.x+2*E,O.y+0.2*E));F.17(X P.U.1f(O.x+2*E,O.y-E));F.17(X P.U.1f(O.x,O.y-E));r.17(X P.U.1f(O.x+2*E,O.y-E));r.17(X P.U.1f(O.x,O.y-E));r.17(X P.U.1f(O.x,O.y-0.4*E));r.17(X P.U.1f(O.x+2*E,O.y-0.4*E))}1B;1z 6:if(!O.6B){F.17(X P.U.1f(O.x,O.y));F.17(X P.U.1f(O.x,O.y-2*E));F.17(X P.U.1f(O.x-2*E,O.y-2*E));F.17(X P.U.1f(O.x-2*E,O.y))}13{F.17(X P.U.1f(O.x-2*E,O.y-2*E));F.17(X P.U.1f(O.x,O.y-2*E));F.17(X P.U.1f(O.x,O.y-0.8*E));F.17(X P.U.1f(O.x-E,O.y));F.17(X P.U.1f(O.x-2*E,O.y-0.8*E));r.17(X P.U.1f(O.x-2*E,O.y-2*E));r.17(X P.U.1f(O.x,O.y-2*E));r.17(X P.U.1f(O.x,O.y-1.4*E));r.17(X P.U.1f(O.x-2*E,O.y-1.4*E))}1B;1z 7:if(!O.6B){F.17(X P.U.1f(O.x-E,O.y));F.17(X P.U.1f(O.x-E,O.y-2*E));F.17(X P.U.1f(O.x+E,O.y-2*E));F.17(X P.U.1f(O.x+E,O.y))}13{F.17(X P.U.1f(O.x-E,O.y-2*E));F.17(X P.U.1f(O.x+E,O.y-2*E));F.17(X P.U.1f(O.x+E,O.y-0.8*E));F.17(X P.U.1f(O.x,O.y));F.17(X P.U.1f(O.x-E,O.y-0.8*E));r.17(X P.U.1f(O.x-E,O.y-2*E));r.17(X P.U.1f(O.x+E,O.y-2*E));r.17(X P.U.1f(O.x+E,O.y-1.4*E));r.17(X P.U.1f(O.x-E,O.y-1.4*E))}1B;1z 8:if(!O.6B){F.17(X P.U.1f(O.x,O.y));F.17(X P.U.1f(O.x+2*E,O.y));F.17(X P.U.1f(O.x+2*E,O.y-2*E));F.17(X P.U.1f(O.x,O.y-2*E))}13{F.17(X P.U.1f(O.x,O.y-2*E));F.17(X P.U.1f(O.x+2*E,O.y-2*E));F.17(X P.U.1f(O.x+2*E,O.y-0.8*E));F.17(X P.U.1f(O.x+E,O.y));F.17(X P.U.1f(O.x,O.y-0.8*E));r.17(X P.U.1f(O.x,O.y-2*E));r.17(X P.U.1f(O.x+2*E,O.y-2*E));r.17(X P.U.1f(O.x+2*E,O.y-1.4*E));r.17(X P.U.1f(O.x,O.y-1.4*E))}1B;1z 0:z=O.1c.2G(X P.3M(0,0));x=O.1c.2G(X P.3M(O.ex,0));E=2*P.V.1m.2J({x:z.1U,y:z.1T},{x:x.1U,y:x.1T});Q A=X P.U.1f(0,0);Q D=[];19(Q I=15;I<=75;I+=10){D.17(P.V.1m.hE(A,E,E,I))}Q C=[];19(I=15;I<=75;I+=10){C.17(P.V.1m.hE(A,1.2*E,1.2*E,I))}Q e=E*0.8;Q q=D[0];Q n=C[0];Q b=P.V.1m.7g(q,n)*2M/1n.2r;Q f=X P.U.1f((q.x+n.x)/2,(q.y+n.y)/2);Q w=P.V.1m.aa(q,n,E*0.5);Q u=P.V.1m.aa(n,q,E*0.5);Q t=P.V.1m.hE(f,e,e,b-90);Q k=D[D.W-1];Q h=C[C.W-1];Q d=X P.U.1f((k.x+h.x)/2,(k.y+h.y)/2);Q a=P.V.1m.7g(k,h)*2M/1n.2r;Q s=P.V.1m.aa(k,h,E*0.5);Q p=P.V.1m.aa(h,k,E*0.5);Q l=P.V.1m.hE(d,e,e,a+90);F=F.4Y(D);F.17(p);F.17(l);F.17(s);19(I=C.W-1;I>=0;I--){F.17(C[I])}F.17(w);F.17(t);F.17(u);Q j=P.V.1m.jh(F);19(Q G=0;G<F.W;G++){F[G].x+=O.x-j.x;F[G].y+=O.y-j.y}1B;1z-1:1z-2:z=O.1c.2G(X P.3M(0,0));x=O.1c.2G(X P.3M(O.hD,0));E=P.V.1m.2J({x:z.1U,y:z.1T},{x:x.1U,y:x.1T});Q c=X P.U.1f(O.x-E,O.y+E);Q H=X P.U.1f(O.x-E,O.y-E);Q g=X P.U.1f(O.x+E,O.y+E);Q o=X P.U.1f(O.x+E,O.y-E);F.17(c);F.17(g);F.17(o);F.17(H);1B;6w:Y}if(O.11.W===0){Q J=X P.U.5h(F);Q v=X P.U.4S([J]);v.Z={2S:1d,2q:1d,8J:1a};O.11.17(v);if(r.W!==0){Q B=X P.U.5h(r);Q y=X P.U.4S([B]);y.Z={2S:1d,2q:1a,1D:0,6r:1a};O.11.17(y)}}13{if(O.11.W>0){F.17(X P.U.1f(F[0].x,F[0].y));O.11[0].11[0].11=F}if(O.11.W>1){if(r.W!==0){r.17(X P.U.1f(r[0].x,r[0].y));O.11[1].11[0].11=r}}}O.3x()},2s:S(){Q T=eP("X "+O.1t+"(O.x, O.y, O.3y, 1g, O.6B, O.4U)");T.1u();Y T},3x:S(){P.U.7s.1y.3x.1q(O,1K);O.cv(O.11)},cv:S(b){19(Q a=0;a<b.W;a++){b[a].3x();if(b[a]1l P.U.7s){O.cv(b[a].11)}}},2n:S(a,b){O.x=O.x+a;O.y=O.y+b;O.1u()},1A:S(){O.x=R;O.y=R;O.3y=R;O.1c=R;O.6B=1d;O.4U=R;P.U.1y.1A.1q(O,1K)},1t:"P.U.43"});P.U.9N=X P.23(P.U.2W,{3X:R,5Y:R,8c:R,q7:R,4x:R,av:R,l7:S(a){if(O.2F()){Y}O.2c=a;O.fq()},1I:S(a){P.U.2W.1y.1I.1q(O,1K);O.4i=P.6C("c3");O.1s=P.V.1i.c3},1A:S(){O.4x=R;O.av=R;O.q7=R;P.U.2W.1y.1A.1q(O,1K)},1u:S(){if(O.8c===R){Y}if(O.5Y===R){Y}if(O.5Y.1H===R||O.5Y.1H.W===0){Y}O.6m();Q r=O.3X.88(O.5Y.4o);Q o=O.8c.37;Q w=r.37;Q v=X P.U.1f((o.x+w.x)/2,(o.y+w.y)/2);Q e=P.V.1m.q6(O.5Y.1H[0]);19(Q u=1;u<O.5Y.1H.W;u++){Q z=P.V.1m.q6(O.5Y.1H[u]);if(e<z){e=z}}if(O.5Y.2U===R||O.5Y.2T===R){Q y=O.4x+(O.1R*O.1b.Z.1w+1)*e/2;Q q=O.hC();Q f=q*y*O.1c.3o();if(O.av===1a){f=-f}Q h=P.V.1m.l6([o,w],f);O.18=[];Q c=X P.U.1f((h[0].x+h[1].x)/2,(h[0].y+h[1].y)/2);O.18.17(c);Q g=O.1c.3a(X P.2w(v.x,v.y));Q m=O.1c.3a(X P.2w(c.x,c.y));O.5Y.2U=m.x-g.x;O.5Y.2T=m.y-g.y}13{Q p=O.1c.3a(X P.2w(v.x,v.y));Q s=X P.3M(p.x+O.5Y.2U,p.y+O.5Y.2T);Q b=O.1c.2G(s);if(O.18.W===0){O.18.17(X P.U.1f(b.1U,b.1T))}13{O.18[0].x=b.1U;O.18[0].y=b.1T}}Q x=P.V.1m.7g(o,w)*2M/1n.2r;Q k=O.q5(e);19(u=0;u<k.W;u++){Q a=k[u];Q n=[];19(Q t=0;t<a.2m.W;t++){n.17(P.V.1m.wC(O.18[0],a.2m[t],x))}if(a.2C===P.V.1i.4C){if(a.1H.W!==0){Q l=P.U.3k.4p(P.V.1i.4C,n,a.1H);l.Z={};l.Z=a.Z;l.Z.2V=-x+90;O.11.17(l)}}13{Q d=P.U.3k.4p(a.2C,n);d.Z=a.Z;O.11.17(d)}}O.8z()},hC:S(){Q a=[];19(Q b=0;b<O.3X.2p.W;b++){a.17(O.3X.2p[b].37)}Y P.V.1m.hC(a)},2n:S(a,b){if(O.2F()){Y}P.U.2W.1y.2n.1q(O,1K);O.fq()},79:S(){if(!O.3l||O.3l===1d){O.1u()}13{O.1R*=O.3G/O.1c.3o();if(O.1R>5){O.1R=5}13{if(O.1R<1){O.1R=1}}O.1u()}O.3G=O.1c.3o()},fq:S(){Q b=O.3X.88(O.5Y.4o);Q e=O.8c.37;Q d=b.37;Q a=X P.U.1f((e.x+d.x)/2,(e.y+d.y)/2);Q f=O.1c.3a(X P.2w(a.x,a.y));Q c=O.1c.3a(X P.2w(O.18[0].x,O.18[0].y));O.5Y.2U=c.x-f.x;O.5Y.2T=c.y-f.y},q5:S(g){Q a=O.5Y.1H;Q p=O.1R*O.1b.Z.1w+1;Q n=O.1c.2G(X P.3M(0,0));Q l=O.1c.2G(X P.3M(p,0));Q e=P.V.1m.2J({x:n.1U,y:n.1T},{x:l.1U,y:l.1T});Q j=e;Q b=e*g;Q m=a.W+2;Q k=[];Q h=m*j*0.5;Q c=X 6U;c.2C=P.V.1i.bN;c.2m=[];c.2m.17(X P.U.1f(h,0));c.2m.17(X P.U.1f(-2*j+h,0.5*b));c.2m.17(X P.U.1f(-m*j+h,0.5*b));c.2m.17(X P.U.1f(-m*j+h,-0.5*b));c.2m.17(X P.U.1f(-2*j+h,-0.5*b));c.Z={2S:1d,1w:12};k.17(c);19(Q r=1;r<=a.W;r++){Q q=X 6U;q.2C=P.V.1i.8r;q.2m=[];q.2m.17(X P.U.1f(-(r+1)*j+h,0.5*b));q.2m.17(X P.U.1f(-(r+1)*j+h,-0.5*b));q.Z={2S:1d,1w:12};k.17(q);Q o=X 6U;o.2C=P.V.1i.4C;o.2m=[];o.2m.17(X P.U.1f(-(0.5+r+1)*j+h,0));o.1H=a[r-1];o.Z={2S:1d,1w:12,3m:"gG gF"};o.Z.2u="cm";k.17(o)}Q s=X P.U.1f(-1.4*j+h,0);Q d=X 6U;d.2C=P.V.1i.4C;d.2m=[];d.2m.17(s);d.1H=O.5Y.7I.6l();d.Z={2S:1d,1w:12,6I:1a,3m:"gG gF"};d.Z.2u="cm";k.17(d);Q f=X 6U;f.2C=P.V.1i.eG;f.2m=[];f.2m.17(s);f.2m.17(X P.U.1f(s.x,0.4*j));f.Z={2S:1d,1w:12};k.17(f);Y k},1t:"P.U.4n"});P.U.bp=P.23(P.U.3I,{5i:R,1M:R,2a:R,au:S(a){if(O.2F()){Y}if(!7B(a)){O.3p+=a;O.1u();O.1E()}},1I:S(a){O.1h=[];P.U.3I.1y.1I.1q(O,1K);O.1v=0;O.1C=P.V.1i.c2;O.1s=P.V.1i.c2;O.4i=P.6C("wB");if(O.4j===R){O.4j=[]}if(O.5i===R){O.5i=0.8}},1A:S(){O.1h=R;P.U.3I.1y.1A.1q(O,1K)},1u:S(){if(!P.1o.4g(O.4j)){O.4j=[O.4j]}if(!P.1o.4g(O.5i)){O.5i=[O.5i]}if(O.11.W===0){if(0===O.4j.W){Y}Q k=[];19(Q f=0;f<O.4j.W;f++){Q q=O.4b(O.4j[f]);if(q===R){1W}if((q.T.1v===4E&&(q.T.1C>=l5&&q.T.1C<=q4))){k.17(q);q.1g.4B([q])}}19(f=0;f<k.W;f++){k[f].T.4K=O;O.11.17(k[f])}}if(O.11.W!==0){O.1M=[];O.11[0].T.3p=O.3p;O.11[0].T.1u();Q o=O.11[0].T.18[0].2s();Q b=O.1c.3a(X P.2w(o.x,o.y));if(O.11[0].T.6R===1a){b.x+=O.11[0].T.5y;b.y+=O.11[0].T.5x}Q g=O.1c.2G(b);o.x=g.1U;o.y=g.1T;O.4q=X P.U.1f(o.x,o.y);Q p=X P.U.1f(o.x,o.y);p.4U=0;O.1M.17(p);19(Q e=1;e<O.11.W;e++){6Q(O.5i.W<e){O.5i.17(O.5i[O.5i.W-1])}Q l=O.5i[e-1];Q d=O.l4(O.11[e-1]);Q h=O.11[e-1].T.18[0].2s();Q n=O.1c.3a(X P.2w(h.x,h.y));if(O.11[e-1].T.6R===1a){n.x+=O.11[e-1].T.5y;n.y+=O.11[e-1].T.5x}Q c=O.1c.2G(n);h.x=c.1U;h.y=c.1T;d.2f(O.3p,h);Q a=P.V.1m.ji(l,h,d);O.11[e].T.3p=O.3p;O.11[e].T.7G([X P.U.1f(a.x,a.y)]);Q m=X P.U.1f(a.x,a.y);m.4U=e;O.1M.17(m)}}O.3x()},l4:S(b){Q a=b.T.3p;b.T.3p=0;b.T.1u();Q c=b.T.2D();b.T.3p=a;b.T.1u();if(b.T.2y.x>=0){if(b.T.5I){Y X P.U.1f(c.2b,c.1Y)}13{Y X P.U.1f(c.1Z,c.1Y)}}13{if(b.T.5I){Y X P.U.1f(c.1Z,c.2g)}13{Y X P.U.1f(c.2b,c.2g)}}},6k:S(d,e){if(d===0){O.11[0].T.7G([e])}13{Q g=O.11[d-1].T.18[0];Q c=O.l4(O.11[d-1]);c.2f(O.3p,O.11[d-1].T.18[0]);Q f=P.V.1m.2J(g,c);Q a=P.V.1m.l3(e,g,c);Q b=P.V.1m.2J(g,a);O.5i[d-1]=b/f}O.1u();O.1E()},79:S(){19(Q b=0,a=O.11.W;b<a;b++){O.11[b].T.3l=O.3l;O.11[b].T.79()}O.1u()},4F:S(){P.U.3I.1y.4F.1q(O,1K);if(O.1j!==R){O.5i=O.1j.5i;O.cu=O.1j.cu}},51:S(){P.U.3I.1y.51.1q(O,1K);if(O.1j!==R){O.1j.5i=O.5i}},1t:"P.U.bp"});P.U.3g=X P.23(P.U.7s,{1r:R,3r:R,1v:R,1C:R,5w:0,3W:0,1s:R,4i:R,18:R,1b:R,1g:R,1I:S(a){P.U.7s.1y.1I.1q(O,R);O.3W=3;O.5w=hB;O.1v=0;O.1C=P.V.1i.9r;O.1s=P.V.1i.9r;O.4i="wA wz";O.18=[];if(a&&a.1j){O.4F(a.1j)}P.1o.2R(O,a);if(O.1r===1k||O.1r===R){O.1r=P.V.1m.eT()}},1A:S(){O.1v=R;O.1C=R;O.1s=R;O.4i=R;O.1r=R;O.3r=R;O.3W=R;O.5w=R;O.18=R},1u:S(){Q b=R;if(O.11.W!==0){b=O.11[0].id;O.11=[]}Q a;if(O.18!==R&&O.18.W>=O.3W){a=P.U.3k.4p(32,O.18)}13{if(O.18.W>=2&&O.18.W<O.3W){a=P.U.3k.4p(24,O.18)}}if(a&&b!=R){a.id=b}O.11.17(a)},6k:S(a,c){O.1u();Q b=O.1b.1g.4b(O.3r);if(R===b||1k===b){Y}b.T.1u();b.1g.2l(b)},2n:S(b,e){19(Q d=0,a=O.18.W;d<a;d++){O.18[d].2n(b,e)}if(O.1b.1g!==R){Q c=O.1b.1g.4b(O.3r);if(R===c||1k===c){Y}c.T.1u();c.1g.2l(c)}},2f:S(b,e){19(Q d=0,a=O.18.W;d<a;d++){O.18[d].2f(b,e)}if(O.1b.1g!==R){Q c=O.1b.1g.4b(O.3r);if(R===c||1k===c){Y}c.T.1u();c.1g.2l(c)}},2s:S(){Q hA=P.1o.6b(O.7i());Q 9M={1v:O.1v,1C:O.1C,1j:hA};Q T=eP("X "+O.1t+"(9M)");T.1r=P.V.1m.eT();Y T},4F:S(b){if(b!==R){O.1v=b.1v;O.1C=b.1C;O.1s=b.1s;O.4i=b.4i;O.5w=b.q3;O.3W=b.go;if(b.1r!==1k){O.1r=b.1r}if(b.3r!==1k){O.3r=b.3r}if(b.18){19(Q a=0;a<b.18.W;a++){O.18.17(X P.U.1f(b.18[a].x,b.18[a].y))}}}},7i:S(){Q a={};a.1r=O.1r;a.3r=O.3r;a.1v=O.1v;a.1C=O.1C;a.1s=O.1s;a.4i=O.4i;a.q3=O.5w;a.go=O.3W;a.18=O.18;Y a},fp:S(a){O.1L=a;if(O.1L.3g.2k("dW")){O.1r=O.1L.3g.dW}if(O.1L.3g.2k("dV")){O.3r=O.1L.3g.dV}if(O.1L.3g.6g){O.18=[];19(Q b=0;b<O.1L.3g.6g.W;b++){O.18.17(X P.U.1f(O.1L.3g.6g[b][0],O.1L.3g.6g[b][1]))}}if(O.1b!==R){O.1b.Z=P.V.5G.q2(O.1b.Z,O.1L.1V)}},fo:S(){if(!O.1L){O.1L={}}if(!O.1L.2k("2C")){O.1L.2C="3g"}if(!O.1L.2k("3g")){O.1L.3g={}}O.1L.3g.dW=O.1r;O.1L.3g.dV=O.3r;if(!O.1L.3g.2k("6g")){O.1L.3g.6g=[]}19(Q a=0;a<O.18.W;a++){if(O.1L.3g.6g.W>a){O.1L.3g.6g[a][0]=O.18[a].x;O.1L.3g.6g[a][1]=O.18[a].y}13{O.1L.3g.6g.17([O.18[a].x,O.18[a].y,0])}}if(O.1b!==R){P.V.5G.q1(O.1b.Z,O.1L.3g)}},1t:"P.U.3g"});P.U.hz=X P.23(P.U.2W,{7t:R,bo:S(a){if(O.2F()){Y}if(!7B(a)){O.1b.Z.4M*=(a/O.1R);O.1b.Z.4L*=(a/O.1R);O.1R=a;O.1u();O.1E()}},au:S(a){if(O.2F()){Y}if(!7B(a)){O.3p+=a;O.1u();O.1E()}},1I:S(a){P.U.2W.1y.1I.1q(O,1K);O.3W=1;O.5w=1;O.1v=0;O.1C=P.V.1i.eW;O.1s=P.V.1i.eW;O.4i=P.6C("wy");if(O.7t===R){O.7t="../wx/ww/wv.gS"}},1A:S(){P.U.2W.1y.1A.1q(O,1K)},1u:S(){if(O.18.W<O.3W){Y}O.6m();Q b={2S:1d};O.1b.Z.a0=b.a0=O.1b.Z.a0?O.1b.Z.a0:O.7t;O.1b.Z.bD=b.bD=O.1b.Z.bD?O.1b.Z.bD:1;O.1b.Z.4L=b.4L=O.1b.Z.4L?O.1b.Z.4L:32;O.1b.Z.4M=b.4M=O.1b.Z.4M?O.1b.Z.4M:32;b.cV=-O.3p;b.a2=O.1b.Z.a2?O.1b.Z.a2:1k;b.a1=O.1b.Z.a1?O.1b.Z.a1:1k;Q a=X P.U.1f(O.18[0].x,O.18[0].y);a.Z=b;O.11.17(a);O.8z()},7C:S(){O.3H=R;Q a=X P.5B();Q g=O.11;if(g){19(Q e=0,h=g.W;e<h;e++){if(g[e]1l P.U.1f){Q d=O.1c.3a(X P.2w(O.18[0].x,O.18[0].y));Q j=g[e].Z.a2?g[e].Z.a2:0.5*g[e].Z.4L;Q c=g[e].Z.a1?g[e].Z.a1:0.5*g[e].Z.4M;Q k=X P.3M(d.x-j,d.y-c);Q f=X P.3M(k.x+g[e].Z.4L,k.y+g[e].Z.4M);Q l=O.1c.6z(k);Q b=O.1c.6z(f);a.2R(X P.5B(l.1U,b.1T,b.1U,l.1T))}13{a.2R(g[e].2D())}}}if(a.1Z!=R&&a.2g!=R&&a.2b!=R&&a.1Y!=R){O.at(a)}},6k:S(a,b){O.1u()},2n:S(b,d){if(O.2F()){Y}19(Q c=0,a=O.18.W;c<a;c++){O.18[c].2n(b,d)}O.1u()},79:S(){if(O.3G!==O.1c.3o()){O.3x();O.1E()}},4F:S(a){P.U.2W.1y.4F.1q(O,1K);if(O.1j!==R){if(O.1j.7t){O.7t=O.1j.7t}}},51:S(){P.U.2W.1y.51.1q(O,1K);if(O.1j!==R){O.1j.7t=O.7t}},1t:"P.U.hz"});P.2Q.dN=P.23(P.2Q.92,{1I:S(a){P.2Q.92.1y.1I.1q(O,1K)},5P:S(k,a,f){S j(t,o){if(t.1s===P.V.1i.5b){Y}Q u=1d;Q m=[];19(Q r=0;r<t.11.W;r++){if((t.11[r].Z.2L===P.V.4X.b1||t.11[r].Z.2L===P.V.4X.af)&&(t.11[r].Z.2S||o.4W!==t.11[r].Z.1D)){u=1a;m.17(r)}13{if((t.11[r].Z.2L===P.V.4X.b1||t.11[r].Z.2L===P.V.4X.af)&&!t.11[r].Z.2S&&o.1D!==t.11[r].Z.1D){u=1a;m.17(r)}}}if(u){t.bm=o.4W/2+o.1D/2;19(Q q=0;q<m.W;q++){Q p=m[q];if(t.11[p].Z.2S&&t.11[p].46&&t.11[p].46!==R){Q s=t.fi(t.11[p].46);if(R===s){1W}s.id=t.11[p].id;t.11[p]=s}}}}S n(v,o){if(v.bl()===1d){Y}Q p,u,t,s;if(o.3P===1&&o.41==="6c"&&v.3D.W===0){p=v.11.W;19(u=0;u<p;u++){if(v.11[u].6o&&v.11[u].6o===1a){v.dU([v.11[u]]);v.11.2N(u,1);p--}}v.6o=1d}if(v.bl()===1a&&(o.3P!==1||(o.41&&o.41!=="6c"))){p=v.11.W;Q r=1d;19(s=0;s<p;s++){if(v.11[s].6o&&v.11[s].6o===1a){r=1a;1B}}if(r===1d){Q w=[];19(u=0;u<v.11.W;u++){w.17(v.11[u].2s())}19(t=0;t<p;t++){if(v.11[t].Z.2S===1d){Q m=P.U.3k.fh(w[t]);Q q=P.U.3k.4p(32,m);if(q!==1k){q.Z={};q.Z=P.1o.2v(q.Z,v.11[t].Z);q.Z.1D=0;q.Z.2L=P.V.4X.6c;q.Z.6r=1a;q.6o=1a;v.11.2N(t++,0,q)}}}}}}Q c=1a;Q g,d,h,b;if(k 1l P.U.3I||k 1l P.U.4H){19(g=0;g<k.11.W;g++){k.11[g].Z.21=a.21;c=O.5P(k.11[g].T,k.11[g].Z,k.11[g].id)}Y c}13{if(k 1l P.U.1N){n(k,a);j(k,a);19(g=0,h=k.11.W;g<h;g++){O.8j(k.11[g].Z,a,k);if(k 1l P.U.59&&g===k.4J&&k.q0===1d){k.11[g].Z.21="3O"}if(k.11[g].1t==="P.U.5o"){k.11[g].Z.7R=k.11[g].8F.6l();Q l=X P.U.1f(k.11[g].x,k.11[g].y);O.9k(f+"hy"+k.11[g].id,k.11[g].Z,l,k);c=1a}13{c=O.5P(k.11[g],k.11[g].Z,f)&&c}}if(k.1s===P.V.1i.gM){O.pZ(f,k.1b.Z,k)}Y c}13{if(k 1l P.U.43||k 1l P.U.3g){19(d=0;d<k.11.W;d++){if(k 1l P.U.43&&k.6B===1a){O.8j(k.11[d].Z,a,k);c=O.5P(k.11[d],k.11[d].Z,f)&&c}13{c=O.5P(k.11[d],a,f)&&c}}Y c}13{if((k.1t==="P.U.7s")||(k.1t==="P.U.hp")||(k.1t==="P.U.ho")||(k.1t==="P.U.hn")||(k.1t==="P.1P.4H")){19(g=0,h=k.11.W;g<h;g++){c=O.5P(k.11[g],a,f)&&c}Y c}}}}c=1d;Q e=1d;if(a.21!=="3O"){if(a.hr){O.pg(k.id,k,a,f)}13{e=1a}c=O.pf(k.id,k,a,f)}if(c==1d){b=4Q.71(k.id);if(b){if(b.kN.hr){e=1a}b.9K.78(b)}}if(e){b=4Q.71(k.id+O.pe);if(b){b.9K.78(b)}}Y c},pZ:S(r,t,d){S c(v){if(9e.pY){v.pW();Q u=9e.pY();u.wu(v);u.wt()}13{if(4Q.pX){Q u=4Q.pX.ws();u.wr(v);u.wq(1d);u.wp()}}}Q q=O.3o();Q e=d.2D().5p();Q s=d.2D().5F();Q l=(d.18[0].x/q+O.1Z);Q b=P.hv.49;Q k;if(b==="dP"){if(!t.1w){t.1w=12}Q a=3A(t.1w)*0.35;k=-((d.18[0].y/q-O.1Y)-a)}13{k=-(d.18[0].y/q-O.1Y)}Q p=d.wo;Q n=d.wn;Q j=r+"wm";Q g=j+"wl";Q m=O.5v(r,"wk");if(d.wj){m.Z.8W="kU";Q f=4Q.71(g);if(!f){f=4Q.pV("pU://pT.w3.pS/pR/pQ","hx");Q o=4Q.71(j);if(o){f.8y=o.8y}13{f.8y=d.1H}O.1c.hx.5u(f)}f.1x(R,"id",g);f.1x(R,"wi",1a);f.Z.3w=t.3z;f.Z.1w=3A(t.1w)+"px";f.Z.3m=t.3m;f.Z.3Z=t.3Z;f.Z.3K=t.3K;f.Z.pO="1B-pN";f.Z.cZ="84";f.Z.pM="3O";f.Z.wh="#5N";f.Z.wg=o0;f.Z.eS="pJ";Q h=O.wf;f.Z.1Z=(h.x+l+p/2).6l()+"px";f.Z.1Y=(h.y+k+n/2).6l()+"px";f.Z.we=p.6l()+"px";f.Z.wd="a3";f.Z.wc=1.2;f.Z.pL="dS dS dS";f.Z.cp="7Q(1,1) 6G(-50%, -50%)";f.l2("dT",S(u){u.l1()});f.l2("7v",S(u){u.l1()});f.l2("7T",S(u){u.l1()});f.pW();if(f.8y.W!==0){4Q.wb("wa",1d,R)}d.pP=f}13{d.w9();6Q(m.3u.W){m.78(m.3u[0])}m.Z.8W="as";m.1x(R,"x",(l+p/2).6l()+"px");m.1x(R,"y",(k+n/2).6l()+"px");m.1x(R,"3U",p.6l()+"px");m.1x(R,"5t",n.6l()+"px");Q o=4Q.pV("pU://pT.w3.pS/pR/pQ","hx");o.1x(R,"id",j);Q f=4Q.71(g);if(f){O.1c.hx.78(f);d.pP=R}o.8y=d.1H;o.Z.3w=t.3z;o.Z.1w=3A(t.1w).6l()+"px";o.Z.3m=t.3m;o.Z.3Z=t.3Z;o.Z.3K=t.3K;o.Z.pO="1B-pN";o.Z.cZ="84";o.Z.pM="3O";o.Z.pL="dS dS dS";o.Z.cp="7Q(1,1) 6G(-50%, -50%)";m.5u(o);if(!m.9K){O.cq.5u(m)}d.w8=o}},9k:S(w,z,b,h){Q C=z.1w;if(z.9L==1d){z.1w/=O.3o()}if(z.3i===1k){z.3i=4E}if(z.3i<=0){z.3i=0;z.1w=0}if(z.3i>c7){z.3i=c7}if(z.3e===1k){z.3e=0}if(z.3e>30){z.3e=30}13{if(z.3e<0){z.3e=0}}Q l=O.5v(w+O.dR,"8F");if(l!==R&&P.1o.3t(O.cq.3u,l)!==-1){O.cq.78(l)}Q v=O.3o();Q n=(b.x/v+O.1Z);Q m,e=P.hv.49;if(e==="dP"){Q c=0;if(!z.1w){z.1w=12}if(h.1s===P.V.1i.5b){c=(z.7R===h.1H)?0:3A(z.1w)*0.35}13{c=3A(z.1w)*0.35+z.1D*2}m=(b.y/v-O.1Y)-c}13{m=(b.y/v-O.1Y)}if(z.1w<6){z.21="3O"}Q u;if(z.5E===1d){u=4Q.71(w+"hw");if(u!==R){O.cs.78(u)}}13{if(z.5E===1a){Q f=w+"hw";Q s=n;Q q=m;if(z.5D){s=n+z.5D}if(z.5C){q=-(-m+z.5C)}if(z.2V!==0){Q r=n;Q p=m;Q A=(-z.2V)*1n.2r/2M;Q g=1n.67(1n.cj(s-r,2)+1n.cj(q-p,2));Q k=A+1n.ar(q-p,s-r);s=r+(g*1n.77(k));q=p+(g*1n.76(k))}Q j=z.4r;z.4r=1d;Q d=z.3z;z.3z=z.64;O.aq(f,z,s,q);z.3z=d;z.4r=j}}O.aq(w+O.dR,z,n,m);if(z.66===1a){Q t=O.5v(w+"hw","8F");if(t===R||P.1o.3t(O.cq.3u,t)===-1){t=O.5v(w+O.dR,"8F")}if(t===R||P.1o.3t(O.cq.3u,t)===-1){Y}Q o=O.5v(w+O.dR,"8F");Q a=o.w7();Q B=O.5v(w+"l0","w6");B.x.7u.4t=a.x;B.y.7u.4t=a.y;B.3U.7u.4t=a.3U;B.5t.7u.4t=a.5t;if(e==="dP"){B.y.7u.4t=a.y+3A(a.5t)/2;B.5t.7u.4t=3A(z.1w)}B.Z.2q=z.65;if(z.2V){B.1x(R,"cp","2f("+z.2V+" "+n+","+(-m)+")")}if(!B.9K){O.cq.ps(B,t)}}13{u=4Q.71(w+"l0");if(u!==R){O.cs.78(u)}}z.1w=C},aq:S(t,v,n,m){Q l=O.5v(t,"8F");l.1x(R,"x",n);l.1x(R,"y",-m);if(v.21){l.1x(R,"21",v.21)}if(v.4r===1a){if(v.5T){l.1x(R,"3h",v.5T)}if(v.5S){l.1x(R,"3h-3U",v.5S)}}if(P.hv.49==="dP"){if(v.2V){Q b=3A(v.1w)*0.35;l.1x(R,"cp","2f("+v.2V+" "+n+","+(-m-b)+")")}}13{if(v.2V){l.1x(R,"cp","2f("+v.2V+" "+n+","+(-m)+")")}}if(v.3z){l.1x(R,"2q",v.3z)}if(v.57){l.1x(R,"2E",v.57)}if(v.3m){l.1x(R,"9i-w5",v.3m)}if(v.1w){l.1x(R,"9i-ew",v.1w)}if(v.3K){l.1x(R,"9i-w4",v.3K)}if(v.3Z){l.1x(R,"9i-Z",v.3Z)}if(P.hv.49==="w2"){Q q=1k;if(v.3i!==4E&&v.3e!==0){q=v.3e+(v.3i/4E)*3A(v.1w)*v.7R.W}if(v.3i!==4E&&v.3e===0){Q c=4Q.kI("w1");4Q.fg.5u(c);c.Z.3U="pK";c.Z.5t="pK";if(v.1w){c.Z.1w=X gb(v.1w)+"px"}if(v.3m){c.Z.3m=v.3m}if(v.3K){c.Z.3K=v.3K}c.Z.eS="pJ";c.Z.8W="kU";c.8y=v.7R;Q d=c.w0;q=(v.3i/4E)*d+v.7R.W}l.1x(R,"kX",q);l.1x(R,"kW","kV")}if(v.vZ===1a){l.1x(R,"8b-1p","as");l.vY=t}13{l.1x(R,"8b-1p","3O")}Q s=v.2u||"cm";l.1x(R,"8F-iU",P.2Q.92.aF[s[0]]||"et");if(P.kZ===1a){l.1x(R,"vX-kY",P.2Q.92.aF[s[1]]||"vW")}Q g=v.7R.8w("\\n");Q f=g.W;6Q(l.3u.W>f){l.78(l.vV)}Q h,k,p,e;19(Q u=0;u<f;u++){Q o=n;if(v.3e!=0){h=P.V.1m.dQ(v,g[u]);if(s[0]==="c"){o-=h/2}13{if(s[0]==="r"){o-=h}}Q z=0;Q a=g[u].8w("");Q w="";19(Q r=0;r<a.W;r++){k=O.5v(t+O.dR+"pI"+u+r,"pH");if(P.kZ===1d){k.1x(R,"kY-pG",P.2Q.92.pF[s[1]]||"-35%")}Q d=P.V.1m.dQ(v,a[r]);k.1x(R,"kX",d);k.1x(R,"kW","kV");k.cr("x",o+z+d/2);if(r!==0){k.cr("dy","vU")}13{if(u==0){p=P.2Q.92.pE[s[1]];if(p==R){p=-0.5}k.cr("dy",(p*(f-1))+"em")}13{k.cr("dy","a3")}}e=(a[r]==="")?" ":a[r];if(v.pD){if(pC=="dP"){O.hu.8y=e;k.1H=O.hu.8y}13{k.8y=e}}13{k.1H=e}if(!k.9K){l.5u(k)}w+=a[r];z=P.V.1m.dQ(v,w)+3A(v.3e)*(v.3i/4E)}}13{k=O.5v(t+O.dR+"pI"+u,"pH");if(P.kZ===1d){k.1x(R,"kY-pG",P.2Q.92.pF[s[1]]||"-35%")}if(v.3i!==4E){h=P.V.1m.dQ(v,g[u]);k.1x(R,"kX",h);k.1x(R,"kW","kV")}k.cr("x",n);if(u==0){p=P.2Q.92.pE[s[1]];if(p==R){p=-0.5}k.cr("dy",(p*(f-1))+"em")}13{k.cr("dy","a3")}e=(g[u]==="")?" ":g[u];if(v.pD){if(pC=="dP"){O.hu.8y=e;k.1H=O.hu.8y}13{k.8y=e}}13{k.1H=e}if(!k.9K){l.5u(k)}}}if(!l.9K){O.cq.5u(l)}},8j:S(c,a,d){if(a.21&&a.21==="3O"){c.21=a.21}13{if(c.2S===1a){if(c.2L===P.V.4X.bG){c.1D=a.4W*2+a.1D}13{c.1D=a.4W}c.2I=a.86;c.3N=a.85;c.5K="ce"}13{if(!c.6r){c.1D=a.1D}if(!c.aI){if(c.2I 1l P.3J.aH){c.2I.1A();c.2I=R}if(a.9D==="8H"||a.9D==="8G"){Q b=[];b.17({6n:0,3w:a.2I,2E:a.3N});b.17({6n:1,3w:a.ca,2E:a.cc});if(a.9D==="8H"){c.2I=X P.3J.7P(0,0,1,0,b)}13{if(a.9D==="8G"){c.2I=X P.3J.91(0.5,0.5,1,0.5,0.5,b)}}}13{c.2I=a.2I}c.3N=a.3N}if(!c.9n){c.5K=a.5K;if(!c.5R&&a.5R!==1k){c.5R=a.5R}if(!c.6A&&a.6A!==1k){c.6A=a.6A}}}if(!c.8J){if(c.2h 1l P.3J.aH){c.2h.1A();c.2h=R}if(a.41==="8H"||a.41==="8G"){c.2q=1a;c.2h=X P.V.p3(d).ch()}13{O.pB(c,a,d)}}13{if(!c.aG){c.2h=c.2I;c.2j=c.3N}}if(!c.6I||c.6I===1d){c.1w=a.1w}if(!c.7e||c.7e===1d){c.3z=a.3z}if(c.2u===1k&&a.2u!==1k){c.2u=a.2u}if(c.2V===1k&&a.2V!==1k){c.2V=a.2V}if(c.6I!==1a&&c.7e!==1a){if(a.3K!==1k){c.3K=a.3K}if(a.3Z!==1k){c.3Z=a.3Z}if(a.4r!==1k){c.4r=a.4r}if(a.5T!==1k){c.5T=a.5T}if(a.5S!==1k){c.5S=a.5S}if(a.66!==1k){c.66=a.66}if(a.65!==1k){c.65=a.65}if(a.5E!==1k){c.5E=a.5E}if(a.64!==1k){c.64=a.64}if(a.5D!==1k){c.5D=a.5D}if(a.5C!==1k){c.5C=a.5C}if(a.3e!==1k){c.3e=a.3e}if(a.3i!==1k){c.3i=a.3i}if(a.3m!==1k){c.3m=a.3m}if(a.57!==1k){c.57=a.57}}if(a.21==="3O"){c.21=a.21}13{c.21="21"}if(c.4L<0){c.4L=1n.2X(c.4L)}if(c.4M<0){c.4M=1n.2X(c.4M)}if(c.1w<0){c.1w=1n.2X(c.1w)}}},pB:S(c,a,d){if(d!==1k&&d 1l P.U.43&&d.6B===1a){c.2q=a.2q;c.2h=a.2h;c.2j=a.2j}13{c.2q=a.2q;c.3P=a.3P;if(a.3P===0||a.3P===1||a.2q===1a||a.2q===1d){c.2h=a.2h;c.2j=a.2j;c.4T=a.4T;c.5J=a.5J}13{if(a.2h!==a.4T||(a.5J>0&&a.5J<1)){Q b=[];b.17({4G:a.3P,3w:a.2h,2E:a.2j});b.17({4G:a.3P,3w:a.4T,2E:a.5J});c.2h=X P.3J.aH(b)}13{c.2q=1a;c.2h=a.2h;c.2j=a.2j}}}},gE:S(u,z,b,d){z=z||u.kN;b=b||u.vT;if(u.pA=="P.U.4S"&&b.hs==1d){Q x=z.2j;z.2j=0;b.hs=1a}Q o=3A(u.pv(R,"r"));Q n=1;Q f;if(u.pA==="P.U.1f"&&o){u.Z.8W="";if(z.vS===1d){u.Z.8W="kU"}13{if(z.a0){f=O.pw(u);if(z.es){u.1x(R,"iP",z.es);Q j=O.5v(R,"iP");j.1H=z.es;u.5u(j)}if(z.4L&&z.4M){u.1x(R,"vR","3O")}Q s=z.4L||z.4M;Q q=z.4M||z.4L;s=s?s:z.cW*2;q=q?q:z.cW*2;Q A=(z.a2!=1k)?z.a2:-(0.5*s);Q k=(z.a1!=1k)?z.a1:-(0.5*q);Q a=z.bD||z.2j;u.1x(R,"x",(f.x+A).pz());u.1x(R,"y",(f.y+k).pz());u.1x(R,"3U",s);u.1x(R,"5t",q);u.1x(O.vQ,"vP",z.a0);u.1x(R,"Z","2E: "+a);u.vO=P.2Q.92.vN}13{if(O.vM(z.py)){Q e=z.cW*3;Q p=e*2;Q g=O.vL(z.py);f=O.pw(u);n=O.pp[g.id][0]*3/p;Q l=u.9K;Q m=u.vK;if(l){l.78(u)}u.ht&&u.78(u.ht);u.5u(g.ht.vJ(1a));u.1x(R,"pu",g.pv(R,"pu"));u.1x(R,"3U",p);u.1x(R,"5t",p);u.1x(R,"x",f.x-e);u.1x(R,"y",f.y-e);if(m){l.ps(u,m)}13{if(l){l.5u(u)}}}13{u.1x(R,"r",z.cW)}}}Q w=z.cV;if((w!==1k||u.pq!==1k)&&f){u.pq=w;w|=0;if(u.vI!=="vH"){u.1x(R,"cp","2f("+w+" "+f.x+" "+f.y+")")}13{if(g){Q v=O.pp[g.id];u.ht.1x(R,"cp","2f("+w+" "+v[1]+" "+v[2]+")")}}}}if(b.hs){Q c=z.2h;if(c 1l P.3J.aH){Q y="2h";Q h=O.ch(c,d,y);if(h){c="2P(#"+h+")";u.1x(R,"2q",c);u.1x(R,"2q-2E",1)}}13{if(z.2q===1a||z.2q===1d){u.1x(R,"Z","");u.1x(R,"2q",c);u.1x(R,"2q-2E",z.2j)}13{if(z.3P!==R&&z.3P!==1k){if(z.3P===1){u.1x(R,"2q","3O")}13{if(z.3P===0){u.1x(R,"Z","");u.1x(R,"2q",c);u.1x(R,"2q-2E",z.2j)}}}13{u.1x(R,"Z","");u.1x(R,"2q",c);u.1x(R,"2q-2E",z.2j)}}}}13{u.1x(R,"2q","3O")}if(b.vG){Q t=z.2I;if(t 1l P.3J.aH){Q y="2I";Q h=O.ch(t,d,y);if(h){t="2P(#"+h+")";u.1x(R,"3h",t)}}13{u.1x(R,"3h",z.2I)}u.1x(R,"3h-2E",z.3N);u.1x(R,"3h-3U",z.1D*n);u.1x(R,"3h-co",z.5R||"5U");u.1x(R,"3h-vF",z.vE||"5U");z.5K&&u.1x(R,"3h-vD",O.pn(z,n))}13{u.1x(R,"3h","3O")}if(z.fn){u.1x(R,"8b-1p",z.fn);u.Z.fn=z.fn}13{u.1x(R,"8b-1p","po");u.Z.fn="po"}if(z.7S!=R){u.1x(R,"7S",z.7S)}if(x){z.2j=x;b.hs=1d;x=""}Y u},pn:S(c,b){Q a=c.1D*b;Q d=c.5K;6x(d){1z"ce":Y"3O";1z"kT":Y[0,2*a].8i();1z"pm":Y[2*a,2*a].8i();1z"vC":Y[2*a,2*a,0,2*a].8i();1z"vB":Y[2*a,2*a,0,2*a,0,2*a].8i();1z"vA":Y[4*a,2*a].8i();1z"vz":Y[4*a,2*a,0,2*a].8i();6w:Y P.gb.pk(d).vy(/\\s+/g,",")}},ch:S(o,d,q){if(!O.fl){O.fl=O.vx()}Q n,g;Q a=d.id;S e(x,y){19(Q v=0,u=y.2H.W;v<u;v++){Q w="6X-3w:"+y.2H[v].3w+";6X-2E:"+y.2H[v].2E;x.3u[v].Z.kS=y.2H[v].3w;x.3u[v].Z.kR=y.2H[v].2E;x.3u[v].1x(R,"Z",w);x.3u[v].1x(R,"6n",y.2H[v].6n)}}S b(u){if(d.2D().5p()===0||d.2D().5F()===0){u.1x(R,"pj","kP")}13{u.1x(R,"pj","vw")}}if(o 1l P.3J.7P){g=a+"vv"+q;n=P.1o.kQ(g);if(n){b(n);if(n.x1.7u.4t!==o.x1){n.1x(R,"x1",o.x1)}if(n.y1.7u.4t!==o.y1){n.1x(R,"y1",o.y1)}if(n.x2.7u.4t!==o.x2){n.1x(R,"x2",o.x2)}if(n.y2.7u.4t!==o.y2){n.1x(R,"y2",o.y2)}e(n,o);Y g}n=O.5v(g,"vu");n.1x(R,"x1",o.x1);n.1x(R,"y1",o.y1);n.1x(R,"x2",o.x2);n.1x(R,"y2",o.y2);b(n);Q c=o.2H;19(Q r=0,s=c.W;r<s;r++){Q h=c[r];Q l=O.5v(R,"6X");l.1x(R,"6n",h.6n);Q t="6X-3w:"+h.3w+";6X-2E:"+h.2E;l.Z.kS=h.3w;l.Z.kR=h.2E;l.1x(R,"Z",t);n.5u(l)}O.fl.5u(n);Y g}13{if(o 1l P.3J.91){g=a+"vt"+q;n=P.1o.kQ(g);if(n){if(n.cx.7u.4t!==o.cx){n.1x(R,"cx",o.cx)}if(n.cy.7u.4t!==o.cy){n.1x(R,"cy",o.cy)}if(n.r.7u.4t!==o.4I){n.1x(R,"r",o.4I)}if(n.fx.7u.4t!==o.fx){n.1x(R,"fx",o.fx)}if(n.fy.7u.4t!==o.fy){n.1x(R,"fy",o.fy)}b(n);e(n,o);Y g}n=O.5v(g,"vs");n.1x(R,"cx",o.cx);n.1x(R,"cy",o.cy);n.1x(R,"r",o.4I);n.1x(R,"fx",o.fx);n.1x(R,"fy",o.fy);b(n);Q c=o.2H;19(Q r=0,s=c.W;r<s;r++){Q h=c[r];Q l=O.5v(R,"6X");l.1x(R,"6n",h.6n);Q t="6X-3w:"+h.3w+";6X-2E:"+h.2E;l.Z.kS=h.3w;l.Z.kR=h.2E;l.1x(R,"Z",t);n.5u(l)}O.fl.5u(n);Y g}13{if(o 1l P.3J.aH){g=a+"vr";n=P.1o.kQ(g);if(n){if(o.2H[0].4G===2){n.1x(R,"bn","2f(-45)")}13{if(o.2H[0].4G===3||o.2H[0].4G===6){n.1x(R,"bn","2f(0)")}13{if(o.2H[0].4G===4||o.2H[0].4G===5){n.1x(R,"bn","2f(45)")}13{if(o.2H[0].4G===7){n.1x(R,"bn","2f(90)")}}}}if(o.2H[0].4G===3||o.2H[0].4G===6||o.2H[0].4G===7){n.1x(R,"3U",7.3);n.1x(R,"5t",7.3);n.3u[0].1x(R,"dO","0 0 0 7.3 7.3 7.3 7.3 0");n.3u[1].1x(R,"d","M 7.3 0 L 0 0")}13{n.1x(R,"3U",5.4);n.1x(R,"5t",5.4);n.3u[0].1x(R,"dO","0 0 0 5.4 5.4 5.4 5.4 0");n.3u[1].1x(R,"d","M 5.4 0 L 0 0")}n.3u[0].1x(R,"2q",o.2H[1].3w);n.3u[0].1x(R,"2q-2E",o.2H[1].2E);if(o.2H[0].4G===4){n.3u[1].1x(R,"3h",o.2H[0].3w);n.3u[1].1x(R,"3h-2E",o.2H[0].2E);if(n.3u[2]){n.3u[2].1x(R,"3h",o.2H[0].3w);n.3u[2].1x(R,"3h-2E",o.2H[0].2E)}13{Q m="M 0 5.4 L 0 0";Q f=O.5v(R,"7t");f.1x(R,"d",m);f.1x(R,"3h",o.2H[0].3w);f.1x(R,"3h-3U","2");f.1x(R,"3h-co","9F");f.1x(R,"3h-2E",o.2H[0].2E);n.5u(f)}}13{if(o.2H[0].4G===3){n.3u[1].1x(R,"3h",o.2H[0].3w);n.3u[1].1x(R,"3h-2E",o.2H[0].2E);if(n.3u[2]){n.3u[2].1x(R,"3h",o.2H[0].3w);n.3u[2].1x(R,"3h-2E",o.2H[0].2E)}13{Q m="M 0 7.3 L 0 0";Q f=O.5v(R,"7t");f.1x(R,"d",m);f.1x(R,"3h",o.2H[0].3w);f.1x(R,"3h-3U","2");f.1x(R,"3h-co","9F");f.1x(R,"3h-2E",o.2H[0].2E);n.5u(f)}}13{n.3u[1].1x(R,"3h",o.2H[0].3w);n.3u[1].1x(R,"3h-2E",o.2H[0].2E);if(n.3u[2]){n.78(n.3u[2])}}}Y g}if(o.2H[0].4G===3||o.2H[0].4G===6||o.2H[0].4G===7){n=O.5v(g,"pi");n.1x(R,"x",0);n.1x(R,"y",0);n.1x(R,"3U",7.3);n.1x(R,"5t",7.3);n.1x(R,"ph","kP")}13{n=O.5v(g,"pi");n.1x(R,"x",0);n.1x(R,"y",0);n.1x(R,"3U",5.4);n.1x(R,"5t",5.4);n.1x(R,"ph","kP")}if(o.2H[0].4G===2){n.1x(R,"bn","2f(-45)")}13{if(o.2H[0].4G===3||o.2H[0].4G===6){n.1x(R,"bn","2f(0)")}13{if(o.2H[0].4G===4||o.2H[0].4G===5){n.1x(R,"bn","2f(45)")}13{if(o.2H[0].4G===7){n.1x(R,"bn","2f(90)")}}}}if(o.2H[0].4G===3||o.2H[0].4G===6||o.2H[0].4G===7){Q p="0 0 0 7.3 7.3 7.3 7.3 0";Q k=O.5v(R,"fm");k.1x(R,"dO",p);k.1x(R,"2q",o.2H[1].3w);k.1x(R,"2q-2E",o.2H[1].2E);n.5u(k);Q m="M 7.3 0 L 0 0";Q j=O.5v(R,"7t");j.1x(R,"d",m);j.1x(R,"3h",o.2H[0].3w);j.1x(R,"3h-3U","2");j.1x(R,"3h-co","9F");j.1x(R,"3h-2E",o.2H[0].2E)}13{Q p="0 0 0 5.4 5.4 5.4 5.4 0";Q k=O.5v(R,"fm");k.1x(R,"dO",p);k.1x(R,"2q",o.2H[1].3w);k.1x(R,"2q-2E",o.2H[1].2E);n.5u(k);Q m="M 5.4 0 L 0 0";Q j=O.5v(R,"7t");j.1x(R,"d",m);j.1x(R,"3h",o.2H[0].3w);j.1x(R,"3h-3U","2");j.1x(R,"3h-co","9F");j.1x(R,"3h-2E",o.2H[0].2E)}n.5u(j);if(o.2H[0].4G===4){Q m="M 0 5.4 L 0 0";Q f=O.5v(R,"7t");f.1x(R,"d",m);f.1x(R,"3h",o.2H[0].3w);f.1x(R,"3h-3U","2");f.1x(R,"3h-co","9F");f.1x(R,"3h-2E",o.2H[0].2E);n.5u(f)}13{if(o.2H[0].4G===3){Q m="M 0 7.3 L 0 0";Q f=O.5v(R,"7t");f.1x(R,"d",m);f.1x(R,"3h",o.2H[0].3w);f.1x(R,"3h-3U","2");f.1x(R,"3h-co","9F");f.1x(R,"3h-2E",o.2H[0].2E);n.5u(f)}}O.fl.5u(n);Y g}13{Y}}}},1t:"P.2Q.dN"});P.2Q.fk=P.23(P.2Q.5g,{1I:S(a,b){P.2Q.5g.1y.1I.1q(O,1K)},8j:S(b,a,c){if(a.21&&a.21==="3O"){b.21=a.21}13{if(b.2S){if(c.2L===P.V.4X.bG){b.1D=a.4W*2+a.1D}13{b.1D=a.4W}b.2I=a.86;b.3N=a.85;b.5K="ce"}13{if(!b.6r){b.1D=a.1D}if(!b.aI){b.2I=a.2I;b.3N=a.3N}if(!b.9n){b.5K=a.5K;if(!b.5R&&a.5R!==1k){b.5R=a.5R}if(!b.6A&&a.6A!==1k){b.6A=a.6A}}}if(!b.8J){if(b.2h 1l P.3J.aH){b.2h.1A();b.2h=R}if(a.41==="8H"||a.41==="8G"){b.2j=1;b.2q=1a;b.2h=X P.V.kJ(O,c).ch()}13{X P.V.kJ(O,c).p8(b)}}13{if(!b.aG){b.2h=b.2I;b.2j=b.3N}}if(!b.6I||b.6I===1d){b.1w=a.1w}if(!b.7e||b.7e===1d){b.3z=a.3z}if(b.2u===1k&&a.2u!==1k){b.2u=a.2u}if(b.2V===1k&&a.2V!==1k){b.2V=a.2V}if(b.6I!==1a&&b.7e!==1a){if(a.3K!==1k){b.3K=a.3K}if(a.3Z!==1k){b.3Z=a.3Z}if(a.4r!==1k){b.4r=a.4r}if(a.5T!==1k){b.5T=a.5T}if(a.5S!==1k){b.5S=a.5S}if(a.66!==1k){b.66=a.66}if(a.65!==1k){b.65=a.65}if(a.5E!==1k){b.5E=a.5E}if(a.64!==1k){b.64=a.64}if(a.5D!==1k){b.5D=a.5D}if(a.5C!==1k){b.5C=a.5C}if(a.3e!==1k){b.3e=a.3e}if(a.3i!==1k){b.3i=a.3i}if(a.3m!==1k){b.3m=a.3m}if(a.57!==1k){b.57=a.57}}if(a.21==="3O"){b.21=a.21}13{b.21="21"}if(b.4L<0){b.4L=1n.2X(b.4L)}if(b.4M<0){b.4M=1n.2X(b.4M)}if(b.1w<0){b.1w=1n.2X(b.1w)}}},5P:S(g,a,c){S e(r,m){if(r.1s===P.V.1i.5b){Y}Q s=1d;Q l=[];19(Q p=0;p<r.11.W;p++){if((r.11[p].Z.2L===P.V.4X.b1||r.11[p].Z.2L===P.V.4X.af)&&(r.11[p].Z.2S||m.4W!==r.11[p].Z.1D)){s=1a;l.17(p)}13{if((r.11[p].Z.2L===P.V.4X.b1||r.11[p].Z.2L===P.V.4X.af)&&!r.11[p].Z.2S&&m.1D!==r.11[p].Z.1D){s=1a;l.17(p)}}}if(s){r.bm=m.4W/2+m.1D/2;19(Q o=0;o<l.W;o++){Q n=l[o];if(r.11[n].Z.2S&&r.11[n].46&&r.11[n].46!==R){Q q=r.fi(r.11[n].46);if(R===q){1W}q.id=r.11[n].id;r.11[n]=q}}}}S k(w,n){if(w.bl()===1d){Y}Q o,u,t,s,q,v;if(n.3P===1&&n.41==="6c"&&w.3D.W===0){o=w.11.W;19(u=0;u<o;u++){if(w.11[u].6o&&w.11[u].6o===1a){w.11.2N(u,1);o--}}w.6o=1d}if(w.bl()===1a&&(n.3P!==1||(n.41&&n.41!=="6c"))){o=w.11.W;Q r=1d;19(s=0;s<o;s++){if(w.11[s].6o&&w.11[s].6o===1a){r=1a;1B}}if(r===1d){Q x=[];19(u=0;u<w.11.W;u++){x.17(w.11[u].2s())}19(t=0;t<w.11.W;t++){if(w.11[t].Z.2S===1d){Q l=P.U.3k.fh(x[t]);Q p=P.U.3k.4p(32,l);p.Z={};p.Z=P.1o.2v(p.Z,w.11[t].Z);p.Z.1D=0;p.Z.6r=1a;p.6o=1a;w.11.2N(t++,0,p)}}}}}Q d,b,f;if(g 1l P.U.3I||g 1l P.U.4H){19(d=0;d<g.11.W;d++){O.1h[g.11[d].id]=[g.11[d]];O.5P(g.11[d].T,g.11[d].Z,g.11[d].id);3j O.1h[g.11[d].id]}Y}13{if(g 1l P.U.2W){e(g,a);k(g,a);O.1Q.9m="5U";O.1Q.dA="5U";if(O.pd){O.hq.9m="5U";O.hq.dA="5U"}19(d=0,f=g.11.W;d<f;d++){O.8j(g.11[d].Z,a,g);if(g.11[d].1t==="P.U.5o"){Q j=X P.U.1f(g.11[d].x,g.11[d].y);g.11[d].Z.7R=g.11[d].8F.6l();O.9k(j,g.11[d].Z)}13{O.5P(g.11[d],g.11[d].Z,c)}}Y}13{if(g 1l P.U.43||g 1l P.U.3g){19(b=0;b<g.11.W;b++){if(g 1l P.U.43&&g.6B===1a){O.8j(g.11[b].Z,a,g);O.5P(g.11[b],g.11[b].Z,c)&&kM}13{O.5P(g.11[b],a,c)&&kM}}Y}13{if((g.1t==="P.U.7s")||(g.1t==="P.U.hp")||(g.1t==="P.U.ho")||(g.1t==="P.U.hn")||(g.1t==="P.1P.4H")){19(d=0;d<g.11.W;d++){O.5P(g.11[d],a,c)}Y}}}}if(P.U.5h&&(g 1l P.U.5h)){O.pc(g,a,c)}13{if(P.U.6H&&(g 1l P.U.6H)){O.gd(g,a,c)}13{if(P.U.4S&&(g 1l P.U.4S)){if(a.2q==1d){Q h=a.2j;a.2q=1a;a.2j=0}O.eu(g,a,c)}13{if(P.U.1f&&(g 1l P.U.1f)){O.pb(g,a,c)}13{if(P.U.d2&&(g 1l P.U.d2)){O.gc(g,a,c)}}}}}if(h){a.2q=1d;a.2j=h;h=""}},9k:S(b,u){Q A=u.1w;if(u.9L==1d){u.1w/=O.3o()}if(u.1w<6){u.21="3O";Y}if(u.3i===1k){u.3i=4E}if(u.3i<0){u.3i=0}if(u.3i>c7){u.3i=c7}if(u.3e===1k){u.3e=0}if(u.3e>30){u.3e=30}13{if(u.3e<0){u.3e=0}}Q r=O.8I(b);if(u.cn||u.cl){Q z=7B(u.cn)?0:u.cn;Q l=7B(u.cl)?0:u.cl;r[0]+=z;r[1]-=l}if(u.66===1a){O.1Q.9i=[u.3Z?u.3Z:"6q","6q",u.3K?u.3K:"6q",u.1w?u.1w+"px":"a3",u.3m?u.3m:"d1-d0"].8i(" ");Q h=u.7R.8w("\\n");Q f=h.W;Q o=P.2Q.5g.9J[u.2u[1]];if(o==R){o=-0.5}Q e=O.1Q.7r("hm").5t||O.1Q.7r("xx").3U;e=e*o*(f-1)+e*f;Q a=0;19(Q t=0;t<f;t++){Q d=(O.1Q.7r(h[t]).3U+u.3e*(h[t].W-1))*(u.3i/4E);if(a<d){a=d}}if(u.5E===1a){}Q n=r[0];Q m=r[1];Q s=u.2u||"cm";if(s[0]==="c"){n-=a/2}13{if(s[0]==="r"){n-=a}}if(s[1]==="b"){m-=e}13{if(s[1]==="m"){m-=e/2}}O.ck("9p");O.1Q.7d=u.65;O.1Q.7A=1;O.1Q.9f();O.1Q.6G(n,m);if(u.kL!=0){O.1Q.2f(u.2V*1n.2r/2M)}O.1Q.kH(0,0,a,e);O.1Q.cU()}if(u.5E===1a){Q w=[r[0],r[1]];if(u.5D){w[0]+=u.5D}if(u.5C){w[1]+=u.5C}if(u.2V!==0){Q q=r[0];Q p=r[1];Q v=(u.2V)*1n.2r/2M;Q g=1n.67(1n.cj(w[0]-q,2)+1n.cj(w[1]-p,2));Q k=v+1n.ar(w[1]-p,w[0]-q);w[0]=q+(g*1n.77(k));w[1]=p+(g*1n.76(k))}Q j=u.4r;u.4r=1d;Q c=u.3z;u.3z=u.64;O.aq(w,u);u.3z=c;u.4r=j}O.aq(r,u);u.1w=A},aq:S(n,r){r=P.1o.2R({3z:"#9j",2u:"cm"},r);Q a=1;if(r.3i!==4E){a=(r.3i/4E)}O.ck("9p");O.1Q.7d=r.3z;if(r.4r===1a){O.1Q.bF=r.5T;O.1Q.9l=r.5S}O.1Q.7A=r.57||1;Q d=[r.3Z?r.3Z:"6q","6q",r.3K?r.3K:"6q",r.1w?r.1w+"px":"a3",r.3m?r.3m:"d1-d0"].8i(" ");Q f=r.7R.8w("\\n");Q e=f.W;Q c,q,l,k,m,h;if(O.1Q.9h){O.1Q.9i=d;O.1Q.cZ=P.2Q.5g.aF[r.2u[0]]||"84";O.1Q.ga=P.2Q.5g.aF[r.2u[1]]||"et";m=P.2Q.5g.9J[r.2u[1]];if(m==R){m=-0.5}c=O.1Q.7r("hm").5t||O.1Q.7r("xx").3U;n[1]+=c*m*(e-1);19(q=0;q<e;q++){if(r.3e!=0){l=0;Q g=O.1Q.7r(f[q]).3U+r.3e*(f[q].W-1);Q p=r.2u[0]||"c";if(p==="c"){l-=g/2-O.1Q.7r(f[q][0]).3U/2}13{if(p==="r"){l-=g}}Q t=0;Q b=f[q].8w("");Q s="";O.1Q.9f();O.1Q.6G(n[0],n[1]);if(r.kL!=0){O.1Q.2f(r.2V*1n.2r/2M)}O.1Q.7Q(a,1);19(Q o=0;o<b.W;o++){if(r.4r===1a){O.1Q.hl(b[o],l+t,(c*q))}O.1Q.9h(b[o],l+t,(c*q));s+=b[o];t=O.1Q.7r(s).3U+3A(r.3e)*(o+1)}O.1Q.cU()}13{O.1Q.9f();O.1Q.6G(n[0],n[1]);if(r.2V!=0){O.1Q.2f(r.2V*1n.2r/2M)}O.1Q.7Q(a,1);if(r.4r===1a){O.1Q.hl(f[q],0,(c*q))}O.1Q.9h(f[q],0,(c*q));O.1Q.cU()}}}13{if(O.1Q.dL){O.1Q.kK=d;h=P.2Q.5g.9J[r.2u[0]];if(h==R){h=-0.5}m=P.2Q.5g.9J[r.2u[1]];if(m==R){m=-0.5}c=O.1Q.dM("xx");n[1]+=c*(1+(m*e));19(q=0;q<e;q++){l=n[0]+(h*O.1Q.dM(f[q]));k=n[1]+(q*c);O.1Q.6G(l,k);O.1Q.dL(f[q]);O.1Q.6G(-l,-k)}}}O.ck("9p")},ck:S(b,a){if(b==="2q"){if(a.2h 1l vq||a.2h 1l vp){O.1Q.7A=1;O.1Q.7d=a.2h}13{if(a.2q===1a||a.2q===1d){O.1Q.7d="";O.1Q.7A=a.2j;O.1Q.7d=a.2h}13{if(a.3P!==R&&a.3P!==1k){if(a.3P===1){O.1Q.7A=0}13{if(a.3P===0){O.1Q.7d="";O.1Q.7A=a.2j;O.1Q.7d=a.2h}}}13{O.1Q.7A=a.2j;O.1Q.7d=a.2h}}}}13{if(b==="3h"){O.1Q.7A=a.3N;O.1Q.9m=a.5R;O.1Q.bF=a.2I;O.1Q.9l=a.1D}13{O.1Q.7A=0;O.1Q.9l=1}}},1t:"P.2Q.fk"});P.2Q.kO=P.23(P.2Q.fj,{1I:S(a){P.2Q.fj.1y.1I.1q(O,1K)},5P:S(k,a,f){S h(p,m){Q q=1d;if(p.1s!==P.V.1i.5b&&(p.2L===P.V.4X.b1||p.2L===P.V.4X.af)){19(Q o=0;o<p.11.W;o++){if(p.11[o].Z.2S||m.4W!==p.11[o].Z.1D){q=1a}13{if(!p.11[o].Z.2S&&m.1D!==p.11[o].Z.1D){q=1a}}}}if(q){p.bm=m.4W/2+m.1D/2;19(Q n=0;n<p.11.W;n++){if(p.11[n].Z.2S&&p.11[n].46&&p.11[n].46!==R){p.11[n]=p.fi(p.11[n].46)}}}}Q c=1a;Q g,d,j,b;if(k 1l P.U.3I){19(g=0;g<k.11.W;g++){c=O.5P(k.11[g].T,k.11[g].Z,k.11[g].id)}Y c}13{if(k 1l P.U.2W){h(k,a);19(g=0,j=k.11.W;g<j;g++){O.8j(k.11[g].Z,a,k);if(k.11[g].1t==="P.U.5o"){Q l=X P.U.1f(k.11[g].x,k.11[g].y);k.11[g].Z.7R=k.11[g].8F.6l();O.9k(f+g.6l(),k.11[g].Z,l);c=1a}13{c=O.5P(k.11[g],k.11[g].Z,f)&&c}}Y c}13{if(k 1l P.U.43){19(d=0;d<k.11.W;d++){c=O.5P(k.11[d],a,f)&&c}Y c}13{if((k.1t==="P.U.7s")||(k.1t==="P.U.hp")||(k.1t==="P.U.ho")||(k.1t==="P.U.hn")||(k.1t==="P.1P.4H")){19(Q g=0,j=k.11.W;g<j;g++){c=O.5P(k.11[g],a,f)&&c}Y c}}}}c=1d;Q e=1d;if(a.21!=="3O"){if(a.hr){O.pg(k.id,k,a,f)}13{e=1a}c=O.pf(k.id,k,a,f)}if(c==1d){b=4Q.71(k.id);if(b){if(b.kN.hr){e=1a}b.9K.78(b)}}if(e){b=4Q.71(k.id+O.pe);if(b){b.9K.78(b)}}Y c},8j:S(b,a,c){if(a.21&&a.21==="3O"){b.21=a.21}13{if(b.2S){if(c.2L===P.V.4X.bG){b.1D=a.4W*2+a.1D}13{b.1D=a.4W}b.2I=a.86;b.3N=a.85;b.5K="ce"}13{if(!b.6r){b.1D=a.1D}if(!b.aI){b.2I=a.2I;b.3N=a.3N}if(!b.9n){b.5K=a.5K;if(!b.5R&&a.5R!==1k){b.5R=a.5R}if(!b.6A&&a.6A!==1k){b.6A=a.6A}}}if(!b.8J){if(a.41==="8H"||a.41==="8G"){b.2q=1a;b.2h=a.2h;b.vo=a.4T;b.41=a.41;b.2j=a.2j;b.vn=a.5J}13{b.41=a.41;b.2q=a.2q;b.2h=a.2h;b.2j=a.2j}}13{if(!b.aG){b.2h=b.2I;b.2j=b.3N}}if(!b.6I||b.6I===1d){b.1w=a.1w}if(!b.7e||b.7e===1d){b.3z=a.3z}if(a.21){b.21=a.21}}},1t:"P.2Q.fj"});P.2Q.fj.vm={l:0,c:0.5,r:1,t:0,m:0.5,b:1};P.2Q.dh=P.23(P.2Q.9z,{1I:S(a,b,c){P.2Q.9z.1y.1I.1q(O,1K)},8j:S(b,c,d){S e(n,r){Q m=n.a4(1,3);Q q=3V(m,16);Q l=n.a4(3,5);Q p=3V(l,16);Q o=n.a4(5);Q k=3V(o,16);Y"iT("+q+","+p+","+k+","+r+")"}if(c.21&&c.21==="3O"){b.21=c.21}13{if(b.2S){if(d.2L===P.V.4X.bG){b.1D=c.4W*2+c.1D}13{b.1D=c.4W}b.2I=c.86;b.3N=c.85;b.5K="ce"}13{if(!b.6r){b.1D=c.1D}if(!b.aI){b.2I=c.2I;b.3N=c.3N}if(!b.9n){b.5K=c.5K;if(!b.5R&&c.5R!==1k){b.5R=c.5R}if(!b.6A&&c.6A!==1k){b.6A=c.6A}}}if(!b.8J){if(c.41==="8H"||c.41==="8G"){Q a=d.2D();Q g=O.8I(X P.U.1f(a.1Z,a.1Y));Q f=O.8I(X P.U.1f(a.2b,a.2g));Q h=O.8I(X P.U.1f((a.1Z+a.2b)/2,(a.1Y+a.2g)/2));Q j=1n.2X(g[0]-f[0])>1n.2X(g[1]-f[1])?1n.2X(g[0]-f[0]):1n.2X(g[1]-f[1]);b.2q=1a;if(c.41==="8H"){b.2h=O.1Q.iS(g[0],g[1],f[0],g[1])}13{if(c.41==="8G"){b.2h=O.1Q.iR(h[0],h[1],0,h[0],h[1],j)}}b.2h.7f(0,e(c.2h,c.2j));b.2h.7f(1,e(c.4T,c.5J))}13{if(c.3P===1){c.2q=1d}13{c.2q=1a}b.2q=c.2q;b.2h=c.2h;b.2j=c.2j}}13{if(!b.aG){b.2h=b.2I;b.2j=b.3N}}if(!b.6I||b.6I===1d){b.1w=c.1w}if(!b.7e||b.7e===1d){b.3z=c.3z}if(b.2u===1k&&c.2u!==1k){b.2u=c.2u}if(b.6I!==1a&&b.7e!==1a){if(c.3K!==1k){b.3K=c.3K}if(c.3Z!==1k){b.3Z=c.3Z}if(c.4r!==1k){b.4r=c.4r}if(c.5T!==1k){b.5T=c.5T}if(c.5S!==1k){b.5S=c.5S}if(c.66!==1k){b.66=c.66}if(c.65!==1k){b.65=c.65}if(c.5E!==1k){b.5E=c.5E}if(c.64!==1k){b.64=c.64}if(c.5D!==1k){b.5D=c.5D}if(c.5C!==1k){b.5C=c.5C}if(c.3e!==1k){b.3e=c.3e}if(c.3i!==1k){b.3i=c.3i}if(c.3m!==1k){b.3m=c.3m}if(c.57!==1k){b.57=c.57}}if(c.21==="3O"){b.21=c.21}13{b.21="21"}if(b.4L<0){b.4L=1n.2X(b.4L)}if(b.4M<0){b.4M=1n.2X(b.4M)}if(b.1w<0){b.1w=1n.2X(b.1w)}}},5P:S(g,a,c){S e(p,l){Q q=1d;if(p.1s!==P.V.1i.5b&&(p.2L===P.V.4X.b1||p.2L===P.V.4X.af)){19(Q n=0;n<p.11.W;n++){if(p.11[n].Z.2S||l.4W!==p.11[n].Z.1D){q=1a}13{if(!p.11[n].Z.2S&&l.1D!==p.11[n].Z.1D){q=1a}}}}if(q){p.bm=l.4W/2+l.1D/2;19(Q m=0;m<p.11.W;m++){if(p.11[m].Z.2S&&p.11[m].46&&p.11[m].46!==R){Q o=p.fi(p.11[m].46);if(R===o){1W}p.11[m]=o}}}}S k(t,m){if(t.bl()===1d){Y}Q n,s,r,q;if(m.3P===1&&m.41==="6c"&&t.3D.W===0){n=t.11.W;19(s=0;s<n;s++){if(t.11[s].6o&&t.11[s].6o===1a){t.11.2N(s,1);n--}}t.6o=1d}if(t.bl()===1a&&(m.3P!==1||(m.41&&m.41!=="6c"))){n=t.11.W;Q p=1d;19(q=0;q<n;q++){if(t.11[q].6o&&t.11[q].6o===1a){p=1a;1B}}if(p===1d){Q u=[];19(s=0;s<t.11.W;s++){u.17(t.11[s].2s())}19(r=0;r<t.11.W;r++){if(t.11[r].Z.2S===1d){Q l=P.U.3k.fh(u[r]);Q o=P.U.3k.4p(32,l);o.Z={};o.Z=P.1o.2v(o.Z,t.11[r].Z);o.Z.1D=0;o.Z.6r=1a;o.6o=1a;t.11.2N(r++,0,o)}}}}}Q d,b,f;if(g 1l P.U.3I||g 1l P.U.4H){19(d=0;d<g.11.W;d++){O.1h[g.11[d].id]=[g.11[d]];O.5P(g.11[d].T,g.11[d].Z,g.11[d].id);3j O.1h[g.11[d].id]}}13{if(g 1l P.U.2W){e(g,a);k(g,a);O.1Q.9m="5U";O.1Q.dA="5U";if(O.pd){O.hq.9m="5U";O.hq.dA="5U"}19(d=0,f=g.11.W;d<f;d++){O.8j(g.11[d].Z,a,g);if(g.11[d].1t==="P.U.5o"){Q j=X P.U.1f(g.11[d].x,g.11[d].y);g.11[d].Z.7R=g.11[d].8F.6l();O.9k(j,g.11[d].Z)}13{O.5P(g.11[d],g.11[d].Z,c)}}Y}13{if(g 1l P.U.43||g 1l P.U.3g){19(b=0;b<g.11.W;b++){O.5P(g.11[b],a,c)&&kM}}13{if((g.1t==="P.U.7s")||(g.1t==="P.U.hp")||(g.1t==="P.U.ho")||(g.1t==="P.U.hn")||(g.1t==="P.1P.4H")){19(Q d=0;d<g.11.W;d++){O.5P(g.11[d],a,c)}Y}}}}if(P.U.5h&&(g 1l P.U.5h)){O.pc(g,a,c)}13{if(P.U.6H&&(g 1l P.U.6H)){O.gd(g,a,c)}13{if(P.U.4S&&(g 1l P.U.4S)){if(a.2q==1d){Q h=a.2j;a.2q=1a;a.2j=0}O.eu(g,a,c)}13{if(P.U.1f&&(g 1l P.U.1f)){O.pb(g,a,c)}13{if(P.U.d2&&(g 1l P.U.d2)){O.gc(g,a,c)}}}}}if(h){a.2q=1d;a.2j=h;h=""}},9k:S(b,q){if(q.1w<6){q.21="3O"}if(q.3i===1k){q.3i=4E}if(q.3i<0){q.3i=0}if(q.3i>c7){q.3i=c7}if(q.3e===1k){q.3e=0}if(q.3e>30){q.3e=30}13{if(q.3e<0){q.3e=0}}Q n=O.8I(b);if(q.cn||q.cl){Q s=7B(q.cn)?0:q.cn;Q j=7B(q.cl)?0:q.cl;n[0]+=s;n[1]-=j}if(q.66===1a){O.1Q.9i=[q.3Z?q.3Z:"6q","6q",q.3K?q.3K:"6q",q.1w?q.1w+"px":"a3",q.3m?q.3m:"d1-d0"].8i(" ");Q g=q.7R.8w("\\n");Q f=g.W;Q m=P.2Q.5g.9J[q.2u[1]];if(m==R){m=-0.5}Q e=O.1Q.7r("hm").5t||O.1Q.7r("xx").3U;e=e*m*(f-1)+e*f;Q a=0;19(Q p=0;p<f;p++){Q d=(O.1Q.7r(g[p]).3U+q.3e*(g[p].W-1))*(q.3i/4E);if(a<d){a=d}}if(q.5E===1a){}Q l=n[0];Q k=n[1];Q o=q.2u||"cm";if(o[0]==="c"){l-=a/2}13{if(o[0]==="r"){l-=a}}if(o[1]==="b"){k-=e}13{if(o[1]==="m"){k-=e/2}}O.ck("9p");O.1Q.7d=q.65;O.1Q.7A=1;O.1Q.kH(l,k,a,e)}if(q.5E===1a){Q r=[n[0],n[1]];if(q.5D){r[0]+=q.5D}if(q.5C){r[1]+=q.5C}Q h=q.4r;q.4r=1d;Q c=q.3z;q.3z=q.64;O.aq(r,q);q.3z=c;q.4r=h}O.aq(n,q)},aq:S(n,r){r=P.1o.2R({3z:"#9j",2u:"cm"},r);Q a=1;if(r.3i!==4E){a=(r.3i/4E)}O.ck("9p");O.1Q.7d=r.3z;if(r.4r===1a){O.1Q.bF=r.5T;O.1Q.9l=r.5S}O.1Q.7A=r.57||1;Q d=[r.3Z?r.3Z:"6q","6q",r.3K?r.3K:"6q",r.1w?r.1w+"px":"a3",r.3m?r.3m:"d1-d0"].8i(" ");Q f=r.7R.8w("\\n");Q e=f.W;Q c,q,l,k,m,h;if(O.1Q.9h){O.1Q.9i=d;O.1Q.cZ=P.2Q.5g.aF[r.2u[0]]||"84";O.1Q.ga=P.2Q.5g.aF[r.2u[1]]||"et";m=P.2Q.5g.9J[r.2u[1]];if(m==R){m=-0.5}c=O.1Q.7r("hm").5t||O.1Q.7r("xx").3U;n[1]+=c*m*(e-1);19(q=0;q<e;q++){if(r.3e!=0){l=0;Q g=(O.1Q.7r(f[q]).3U+r.3e*(f[q].W-1))*a;Q p=r.2u[0]||"c";if(p==="c"){l-=g/2}13{if(p==="r"){l-=g}}Q t=0;Q b=f[q].8w("");Q s="";19(Q o=0;o<b.W;o++){O.1Q.9f();O.1Q.6G(n[0],n[1]);O.1Q.7Q(a,1);if(r.kL!=0){O.1Q.2f(r.2V*1n.2r/2M)}if(r.4r===1a){O.1Q.hl(b[o],t,(c*q))}O.1Q.9h(b[o],t,(c*q));O.1Q.cU();s+=b[o];t=O.1Q.7r(s).3U+3A(r.3e)*(o+1)}}13{O.1Q.9f();O.1Q.6G(n[0],n[1]);O.1Q.7Q(a,1);if(r.2V!=0){O.1Q.2f(r.2V*1n.2r/2M)}if(r.4r===1a){O.1Q.hl(f[q],0,(c*q))}O.1Q.9h(f[q],0,(c*q));O.1Q.cU()}}}13{if(O.1Q.dL){O.1Q.kK=d;h=P.2Q.5g.9J[r.2u[0]];if(h==R){h=-0.5}m=P.2Q.5g.9J[r.2u[1]];if(m==R){m=-0.5}c=O.1Q.dM("xx");n[1]+=c*(1+(m*e));19(q=0;q<e;q++){l=n[0]+(h*O.1Q.dM(f[q]));k=n[1]+(q*c);O.1Q.6G(l,k);O.1Q.dL(f[q]);O.1Q.6G(-l,-k)}}}O.ck("9p")},1t:"P.2Q.dh"});P.V.kJ=X P.23({ci:R,T:R,1I:S(a,b){if(a){O.ci=a}if(b){O.T=b}},dK:S(){Y O.ci.1Q},p5:S(){Q a=O.T.2D();Q c=O.ci.8I(X P.U.1f(a.1Z,a.1Y));Q d=O.ci.8I(X P.U.1f(a.2b,a.2g));Q j=O.ci.8I(X P.U.1f((a.1Z+a.2b)/2,(a.1Y+a.2g)/2));c.x=c[0],c.y=c[1],d.x=d[0],d.y=d[1],j.x=j[0],j.y=j[1];if(c.x===d.x&&c.y===d.y){Y}Q f=1n.pa(c.x,d.x),e=1n.pa(c.y,d.y);Q k=1n.p9(c.x,d.x),g=1n.p9(c.y,d.y);Q b=1n.2X(f-k),h=1n.2X(e-g);Q l=1n.2X(c.x-d.x)>1n.2X(d.y-d.y)?1n.2X(c.x-d.x):1n.2X(c.y-d.y);Y{kG:k,kF:g,3U:b,5t:h,84:j,r:l}},p8:S(c){Q a=O.T.1b.Z;if(a.3P!==1k){c.2q=a.2q;c.3P=a.3P;if(a.3P===0||a.3P===1||a.2q===1a||a.2q===1d){if(a.3P===0){c.2q=1a}13{if(a.3P===1){c.2q=1d}}c.2h=a.2h;c.2j=a.2j}13{if(a.2h!==a.4T||(a.5J>0&&a.5J<1)){Q b=[{4G:a.3P,3w:a.2h,2E:a.2j},{4G:a.3P,3w:a.4T,2E:a.5J}];c.2q=1a;c.2h=O.p7(b);c.2j=O.T.1b.Z.5J}13{c.2q=1a;c.2h=a.2h;c.2j=a.2j}}}13{c.2q=a.2q;c.2h=a.2h;c.2j=a.2j}},p7:S(a){if(P.1o.4g(a)&&a.W!==0){Q h=4Q.kI("1Q");4Q.fg.5u(h);Q d=h.dK("2d");h.3U=8;h.5t=8;Q c=0,f=0,b=h.3U,e=h.5t;d.bF=P.V.1m.p6(a[0].3w,3A(a[0].2E));d.7d=P.V.1m.p6(a[1].3w,3A(a[1].2E));d.kH(0,0,h.3U,h.5t);d.er();6x(a[0].4G){1z 0:1z 1:1B;1z 2:d.8E(c,e);d.7z(b,f);1B;1z 3:d.8E(c,f);d.7z(b,f);d.8E(c,f);d.7z(c,e);1B;1z 4:d.8E(c,e);d.7z(b,f);d.8E(c,f);d.7z(b,e);1B;1z 5:d.8E(c,f);d.7z(b,e);1B;1z 6:d.8E(c,f);d.7z(b,f);1B;1z 7:d.8E(c,f);d.7z(c,e);1B}d.iN();d.3h();d.2q();Q g=d.vl(h,"bU");4Q.fg.78(h);Y g}},ch:S(){Q e=S(n,r){Q m=n.a4(1,3);Q q=3V(m,16);Q l=n.a4(3,5);Q p=3V(l,16);Q o=n.a4(5);Q k=3V(o,16);Y"iT("+q+","+p+","+k+","+r+")"};Q d=O.T.1b.Z;Q a=R;if(O.dK()1l vk){Q h=O.p5();if(d.41==="8H"){Q j=O.p4(d.3v);a=O.dK().iS(h.kG+h.3U*j.x1,h.kF+h.5t*j.y1,h.kG+h.3U*j.x2,h.kF+h.5t*j.y2);if(d.3Y===0&&d.2K===0){a.7f(0,e(d.2h,d.2j));a.7f(1,e(d.4T,d.2j))}13{Q f=d.3v;if(f===0||f===2M||f===90||f===ap){a.7f(0,e(d.4T,d.2j));if(f===0||f===2M){a.7f(O.1b.Z.3Y,e(d.2h,d.2j))}if(f===90||f===ap){a.7f(d.2K,e(d.2h,d.2j))}a.7f(1,e(d.4T,d.2j))}13{a.7f(0,e(d.4T,d.2j));a.7f(d.3Y>=d.2K?d.3Y:d.2K*1n.77(O.1b.Z.3v*1n.2r/2M),e(d.2h,d.2j));a.7f(1,e(d.4T,d.2j))}}}13{if(d.41==="8G"){Q c=d.3Y*h.r,b=d.2K*h.r;Q g=h.r/1n.67(2)+1n.2X(c)>h.r/1n.67(2)+1n.2X(b)?h.r/1n.67(2)+1n.2X(c):h.r/1n.67(2)+1n.2X(b);a=O.dK(1g).iR(h.84.x+c,h.84.y-b,0,h.84.x+c,h.84.y-b,g);a.7f(0,e(d.2h,d.2j));a.7f(1,e(d.4T,d.5J))}}Y a}},p4:S(d){Q a=S(g){Y{x:1n.77(g),y:1n.76(g)}};Q f=S(g){Y((g*1n.2r)/2M)};Q e=a(f(2M-d%3Q));Q c=a(f(3Q-d%3Q));Q b=1n.cj(2,-52);if(e.x<=0||1n.2X(e.x)<=b){e.x=0}if(e.y<=0||1n.2X(e.y)<=b){e.y=0}if(c.x<=0||1n.2X(c.x)<=b){c.x=0}if(c.y<=0||1n.2X(c.y)<=b){c.y=0}Y{x1:e.x,y1:e.y,x2:c.x,y2:c.y}}});P.V.p3=X P.23({ci:R,T:R,1I:S(a){if(a){O.T=a}},ch:S(){Q b=[];Q c=R;Q a=O.T.1b.Z;if(a.41==="8H"){if(a.3Y!==R&&a.3Y!==1k){if(a.3v===0||a.3v===2M){b.17({6n:0,3w:a.4T,2E:a.2j});b.17({6n:a.3Y,3w:a.2h,2E:a.2j});b.17({6n:1,3w:a.4T,2E:a.2j})}13{if(a.3v===90||a.3v===ap){b.17({6n:0,3w:a.4T,2E:a.2j});b.17({6n:a.2K,3w:a.2h,2E:a.2j});b.17({6n:1,3w:a.4T,2E:a.2j})}13{b.17({6n:0,3w:a.4T,2E:a.2j});b.17({6n:a.3Y/2*(1n.67(2)/2)*1n.2X(1n.76(a.3v*1n.2r/2M)),3w:a.2h,2E:a.2j});b.17({6n:1,3w:a.4T,2E:a.2j})}}}if(a.3v>=3Q){a.3v=0}if(0===a.3v){c=X P.3J.7P(0,0,1,0,b)}13{if(90===a.3v){c=X P.3J.7P(0,1,0,0,b)}13{if(2M===a.3v){c=X P.3J.7P(1,0,0,0,b)}13{if(ap===a.3v){c=X P.3J.7P(0,0,0,1,b)}13{if(0<a.3v&&a.3v<=45){c=X P.3J.7P(0,1,1,(1-1n.bk(a.3v*1n.2r/2M))/2,b)}13{if(45<a.3v&&a.3v<90){c=X P.3J.7P(0,1,(1-1n.bk((a.3v-45)*1n.2r/2M))/2,0,b)}13{if(90<a.3v&&a.3v<=hk){c=X P.3J.7P(1,1,1n.bk((a.3v-90)*1n.2r/2M)/2,0,b)}13{if(hk<a.3v&&a.3v<2M){c=X P.3J.7P(1,1,0,1n.bk((a.3v-hk)*1n.2r/2M)/2,b)}13{if(2M<a.3v&&a.3v<=hj){c=X P.3J.7P(1,0,0,1n.bk((a.3v-2M)*1n.2r/2M)/2,b)}13{if(hj<a.3v&&a.3v<ap){c=X P.3J.7P(1,0,1n.bk((a.3v-hj)*1n.2r/2M)/2,1,b)}13{if(ap<a.3v&&a.3v<=hi){c=X P.3J.7P(0,0,1-1n.bk((a.3v-ap)*1n.2r/2M)/2,1,b)}13{if(hi<a.3v&&a.3v<3Q){c=X P.3J.7P(0,0,1,(1n.bk((a.3v-hi)*1n.2r/2M))/2,b)}}}}}}}}}}}}}13{if(a.41==="8G"){if(a.3Y!==R&&a.3Y!==1k&&a.2K!==R&&a.2K!==1k){b.17({6n:0,3w:a.2h,2E:a.2j});b.17({6n:1,3w:a.4T,2E:a.5J})}if((a.3Y<=0.5&&a.3Y>=0)||(a.3Y<=0&&a.3Y>=-1)){if((a.2K>=0&&a.2K<=0.5)||(a.2K>=-0.5&&a.2K<=0)){c=X P.3J.91(0.5,0.5,0.5*1n.67(2),0.5+a.3Y,0.5-a.2K,b)}13{if((a.2K>=0.5&&a.2K<=0.8)||(a.2K>=-0.8&&a.2K<=-0.5)){c=X P.3J.91(0.5,0.5,0.8*1n.67(2),0.5+a.3Y,0.5-a.2K,b)}13{if((a.2K>=0.8&&a.2K<=1)||(a.2K>=-1&&a.2K<=-0.8)){c=X P.3J.91(0.5,0.5,1n.67(2),0.5+a.3Y,0.5-a.2K,b)}}}}13{if((a.3Y<=0.8&&a.3Y>0.5)||(a.3Y<=-0.5&&a.3Y>=-0.8)){if((a.2K>=0&&a.2K<=0.5)||(a.2K>=-0.5&&a.2K<=0)){c=X P.3J.91(0.5,0.5,0.8*1n.67(2),0.5+a.3Y,0.5-a.2K,b)}13{if((a.2K>=0.5&&a.2K<=0.8)||(a.2K>=-0.8&&a.2K<=-0.5)){c=X P.3J.91(0.5,0.5,0.8*1n.67(2),0.5+a.3Y,0.5-a.2K,b)}13{if((a.2K>=0.8&&a.2K<=1)||(a.2K>=-1&&a.2K<=-0.8)){c=X P.3J.91(0.5,0.5,1n.67(2),0.5+a.3Y,0.5-a.2K,b)}}}}13{if((a.3Y<=1&&a.3Y>0.8)||(a.3Y<=-0.8&&a.3Y>=-1)){if((a.2K>=0&&a.2K<=0.5)||(a.2K>=-0.5&&a.2K<=0)){c=X P.3J.91(0.5,0.5,1n.67(2),0.5+a.3Y,0.5-a.2K,b)}13{if((a.2K>=0.5&&a.2K<=0.8)||(a.2K>=-0.8&&a.2K<=-0.5)){c=X P.3J.91(0.5,0.5,1n.67(2),0.5+a.3Y,0.5-a.2K,b)}13{if((a.2K>=0.8&&a.2K<=1)||(a.2K>=-1&&a.2K<=-0.8)){c=X P.3J.91(0.5,0.5,1n.67(2),0.5+a.3Y,0.5-a.2K,b)}}}}}}}}Y c}});P.1P.kE=P.23(P.7q,{5c:R,1I:S(a,c){P.7q.1y.1I.1q(O,[c]);Q b=O;b.5c=a},1A:S(){P.7q.1y.1A.1q(O);Q a=O;if(a.5c){a.5c.1A();a.5c=R}},1t:"P.1P.kE"});P.1P.dJ=P.23({74:R,1I:S(a){if(a){P.1o.2R(O,a)}},1A:S(){Q a=O;a.74=R},1t:"P.1P.dJ"});P.1P.dJ.7o=S(a){if(!a){Y}if(a 1l ff){Y X P.1P.dJ({74:a})}13{Y X P.1P.dJ({74:a})}};P.1P.kd=P.23(P.7p,{5a:["4m","4l"],1p:R,3n:R,5k:R,1I:S(c,b){P.7p.1y.1I.1q(O,[c]);if(b){P.1o.2R(O,b)}Q d=O,a;d.1p=X P.ac(d,R,d.5a,1a);if(d.3n 1l 6U){d.1p.on(d.3n)}a=d.2P.9A(d.2P.W-1,1);if(d.fe){d.2P+=(a=="/")?"7m.8a?":"/7m.8a?"}13{d.2P+=(a=="/")?"7m.cf?":"/7m.cf?"}},1A:S(){P.7p.1y.1A.1q(O,1K);Q a=O;a.5a=R;if(a.1p){a.1p.1A();a.1p=R}if(a.3n){a.3n=R}if(a.5k){a.5k.1A();a.5k=R}},4N:S(a){Q c=R;Q b=O;b.dF({6i:"9q",hf:c,3R:b,27:a,9B:b.p2,dE:b.p1})},p2:S(a){Q d=O,b=R,c=R;a=P.1o.9I(a);c=P.1P.dJ.7o(a);d.5k=c;b=X P.1P.kE(c,a);d.1p.1E("4m",b)},p1:S(b){Q e=O,d=R,a=R,c=R;b=P.1o.9I(b);d=b.an;if(!d){Y}a=P.fc.7o(d);c=X P.fb(a,b);e.1p.1E("4l",c)},1t:"P.1P.kd"});P.1P.kD=P.23(P.7q,{5c:R,1I:S(a,c){P.7q.1y.1I.1q(O,[c]);Q b=O;b.5c=a},1A:S(){P.7q.1y.1A.1q(O);Q a=O;if(a.5c){a.5c.1A();a.5c=R}},1t:"P.1P.kD"});P.1P.dI=P.23({74:R,1I:S(a){if(a){P.1o.2R(O,a)}},1A:S(){Q a=O;a.74=R},1t:"P.1P.dI"});P.1P.dI.7o=S(a){if(!a){Y}if(a 1l ff){Y X P.1P.dI({74:a})}13{Y X P.1P.dI({74:a})}};P.1P.gU=P.23(P.7p,{5a:["4m","4l"],1p:R,3n:R,5k:R,1v:R,1I:S(c,b){P.7p.1y.1I.1q(O,[c]);if(b){P.1o.2R(O,b)}Q d=O,a;d.1p=X P.ac(d,R,d.5a,1a);if(d.3n 1l 6U){d.1p.on(d.3n)}a=d.2P.9A(d.2P.W-1,1);d.2P+=(a=="/")?"7m/":"/7m/";d.2P+=O.1v;d.2P+=d.fe?".8a":".cf"},1A:S(){P.7p.1y.1A.1q(O,1K);Q a=O;a.5a=R;a.1v=R;if(a.1p){a.1p.1A();a.1p=R}if(a.3n){a.3n=R}if(a.5k){a.5k.1A();a.5k=R}},4N:S(a){Q c=R,b=O;b.dF({6i:"9q",hf:c,3R:b,27:a,9B:b.p0,dE:b.oZ})},p0:S(a){Q d=O,c=R,b=R;a=P.1o.9I(a);b=P.1P.dI.7o(a);d.5k=b;c=X P.1P.kD(b,a);d.1p.1E("4m",c)},oZ:S(b){Q e=O,d=R,a=R,c=R;b=P.1o.9I(b);d=b.an;if(!d){Y}a=P.fc.7o(d);c=X P.fb(a,b);e.1p.1E("4l",c)},1t:"P.1P.gU"});P.1P.kB=P.23(P.7q,{5c:R,1I:S(a,c){P.7q.1y.1I.1q(O,[c]);Q b=O;b.5c=a},1A:S(){P.7q.1y.1A.1q(O);Q a=O;if(a.5c){a.5c.1A();a.5c=R}},1t:"P.1P.kB"});P.1P.dH=P.23({74:R,1I:S(a){if(a){P.1o.2R(O,a)}},1A:S(){Q a=O;a.74=R},1t:"P.1P.dH"});P.1P.dH.7o=S(a){if(!a){Y}if(a 1l ff){Y X P.1P.dH({74:a})}13{Y X P.1P.dH({74:a})}};P.1P.6L=P.23({1v:R,1C:R,5X:R,6f:R,5I:R,2L:R,1S:R,2a:R,1M:R,bj:R,cg:R,1I:S(a){if(!a){Y}P.1o.2R(O,a)},1A:S(){Q a=O;a.1v=R;a.1C=R;a.5X=R;a.6f=R;a.5I=R;a.2L=R;a.1S=R;a.2a=R;a.1M=R;a.bj=R;a.cg=R},1t:"P.1P.6L"});P.1P.6L.fd=S(c){if(c&&c.1v!==R&&c.1C!==R){Q b="1v="+c.1v+"&1C="+c.1C;Q a;if(c.5X&&c.5X!==R&&c.5X.W!==0){b+="&5X=[";19(a=0;a<c.5X.W;a++){if(a===c.5X.W-1){b+=\'{"x":\'+c.5X[a].x+\', "y":\'+c.5X[a].y+"}]"}13{b+=\'{"x":\'+c.5X[a].x+\', "y":\'+c.5X[a].y+"},"}}}if(c.1M&&c.1M!==R&&c.1M.W!==0){b+="&1M=[";19(a=0;a<c.1M.W;a++){if(a===c.1M.W-1){b+=\'{"x":\'+c.1M[a].x+\', "y":\'+c.1M[a].y+"}]"}13{b+=\'{"x":\'+c.1M[a].x+\', "y":\'+c.1M[a].y+"},"}}}if(c.2a&&c.2a!==R&&c.2a.W!==0){b+="&2a=[";19(a=0;a<c.2a.W;a++){if(a===c.2a.W-1){b+=c.2a[a]+"]"}13{b+=c.2a[a]+","}}}if(c.1S&&c.1S!==R&&c.1S.W!==0){b+="&1S=[";19(a=0;a<c.1S.W;a++){if(a===c.1S.W-1){b+=c.1S[a].1C+"]"}13{b+=c.1S[a].1C+","}}}if(c.bj&&c.bj!==R){b+=\'&bj={"x":\'+c.bj.x+\', "y":\'+c.bj.y+"}"}if(c.cg&&c.cg!==R){b+="&cg="+c.cg}if(c.6f&&c.6f!==R){b+="&6f="+c.6f}if(c.5I&&c.5I!==R){b+="&5I="+c.5I}if(c.2L&&c.2L!==R){b+="&2L="+c.2L}Y b}};P.1P.7L=P.23(P.7p,{5a:["4m","4l"],1p:R,3n:R,5k:R,1I:S(c,b){P.7p.1y.1I.1q(O,[c]);if(b){P.1o.2R(O,b)}Q d=O,a;d.1p=X P.ac(d,R,d.5a,1a);if(d.3n 1l 6U){d.1p.on(d.3n)}a=d.2P.9A(d.2P.W-1,1);if(d.fe){d.2P+=(a=="/")?"hh.8a?":"/hh.8a?"}13{d.2P+=(a=="/")?"hh.cf?":"/hh.cf?"}},1A:S(){P.7p.1y.1A.1q(O,1K);Q a=O;if(a.1p){a.1p.1A();a.1p=R}if(a.3n){a.3n=R}if(a.5k){a.5k.1A();a.5k=R}},4N:S(d,a){if(!d){Y}Q b=O,c=R;c=P.1P.6L.fd(d);b.2P+=c;if(d.7l){b.2P+="&7l="+d.7l}b.dF({6i:"9q",oY:R,3R:b,27:a,9B:b.kC,dE:b.kA})},vj:S(c){if(!c){Y}Q a=O,b=R;b=P.1P.6L.fd(c);a.2P+=b;a.dF({6i:"9q",oY:R,vi:1d,3R:a,9B:a.kC,dE:a.kA})},kC:S(a){Q c=O,b=R,d=R;a=P.1o.9I(a);d=P.1P.dH.7o(a);c.5k=d;b=X P.1P.kB(d,a);c.1p.1E("4m",b)},kA:S(b){Q e=O,d=R,a=R,c=R;b=P.1o.9I(b);d=b.an;if(!d){Y}a=P.fc.7o(d);c=X P.fb(a,b);e.1p.1E("4l",c)},1t:"P.1P.7L"});P.1P.kz=P.23(P.7q,{5c:R,1I:S(a,c){P.7q.1y.1I.1q(O,[c]);Q b=O;b.5c=a},1A:S(){P.7q.1y.1A.1q(O);Q a=O;if(a.5c){a.5c.1A();a.5c=R}},1t:"P.1P.kz"});P.1P.dG=P.23({74:R,1I:S(a){if(a){P.1o.2R(O,a)}},1A:S(){Q a=O;a.74=R},1t:"P.1P.dG"});P.1P.dG.7o=S(a){if(!a){Y}if(a 1l ff){Y X P.1P.dG({74:a})}13{Y X P.1P.dG({74:a})}};P.1P.9x=P.23({6i:"eJ",h0:R,1I:S(a){if(!a){Y}P.1o.2R(O,a)},1A:S(){Q a=O;a.6i="eJ";a.h0=R},1t:"P.1P.9x"});P.1P.9x.oX=S(a){if(a){Y P.V.1m.5H(a.h0)}};P.1P.ba=P.23(P.7p,{5a:["4m","4l"],1p:R,3n:R,5k:R,6N:"",eK:1d,1I:S(c,b){P.7p.1y.1I.1q(O,[c]);if(b){P.1o.2R(O,b)}Q d=O,a;d.1p=X P.ac(d,R,d.5a,1a);if(d.3n 1l 6U){d.1p.on(d.3n)}a=d.2P.9A(d.2P.W-1,1);if(d.fe){d.2P+=(a=="/")?"73/":"/73/";d.2P+=O.6N+".8a"}13{d.2P+=(a=="/")?"73/":"/73/";d.2P+=O.6N+".cf"}d.2P+="?eK="+O.eK},1A:S(){P.7p.1y.1A.1q(O,1K);Q a=O;if(a.1p){a.1p.1A();a.1p=R}if(a.3n){a.3n=R}if(a.5k){a.5k.1A();a.5k=R}a.6N=""},4N:S(d,a){if(!d){Y}Q b=O,e=d.6i;Q c=R;if(d.6i&&d.6i==="eJ"){c=P.1P.9x.oX(d)}b.dF({6i:e,hf:c,3R:b,27:a,9B:b.oW,dE:b.oV})},oW:S(a){Q d=O,c=R,b=R;a=P.1o.9I(a);b=P.1P.dG.7o(a);d.5k=b;c=X P.1P.kz(b,a);d.1p.1E("4m",c)},oV:S(b){Q e=O,d=R,a=R,c=R;b=P.1o.9I(b);d=b.an;if(!d){Y}a=P.fc.7o(d);c=X P.fb(a,b);e.1p.1E("4l",c)},1t:"P.1P.ba"});P.1P.ky=P.23(P.7q,{5c:R,1I:S(a,c){P.7q.1y.1I.1q(O,[c]);Q b=O;b.5c=a},1A:S(){P.7q.1y.1A.1q(O);Q a=O;if(a.5c){a.5c.1A();a.5c=R}},1t:"P.1P.ky"});P.1P.f8=P.23({87:R,bc:R,1I:S(a){if(!a){Y}P.1o.2R(O,a)},1A:S(){Q a=O;a.87=R;a.bc=R},1t:"P.1P.f8"});P.1P.f8.fd=S(b){if(b){Q a="";if(b.87!==R){a="?87="+b.87}if(b.bc&&(b.bc!==R||b.bc!==0)){a+="&bc="+b.bc}Y a}};P.1P.dD=P.23({hg:R,1I:S(a){if(a){P.1o.2R(O,a)}},1A:S(){Q a=O;a.hg=R},1t:"P.1P.dD"});P.1P.dD.7o=S(a){if(!a){Y}if(a 1l ff){Y X P.1P.dD({hg:a})}13{Y X P.1P.dD({hg:a})}};P.1P.kn=P.23(P.7p,{5a:["4m","4l"],1p:R,3n:R,5k:R,1I:S(c,b){P.7p.1y.1I.1q(O,[c]);if(b){P.1o.2R(O,b)}Q d=O,a;d.1p=X P.ac(d,R,d.5a,1a);if(d.3n 1l 6U){d.1p.on(d.3n)}a=d.2P.9A(d.2P.W-1,1);if(d.fe){d.2P+=(a=="/")?"73":"/73";d.2P+=".8a"}13{d.2P+=(a=="/")?"73":"/73";d.2P+=".cf"}},1A:S(){P.7p.1y.1A.1q(O,1K);Q a=O;if(a.1p){a.1p.1A();a.1p=R}if(a.3n){a.3n=R}if(a.5k){a.5k.1A();a.5k=R}},4N:S(d,a){if(!d){Y}Q b=O,c=R;b.2P+=P.1P.f8.fd(d);b.dF({6i:"9q",hf:c,3R:b,27:a,9B:b.oU,dE:b.h5})},oU:S(a){Q c=O,b=R,d=R;a=P.1o.9I(a);d=P.1P.dD.7o(a);c.5k=d;b=X P.1P.ky(d,a);c.1p.1E("4m",b)},h5:S(b){Q e=O,d=R,a=R,c=R;b=P.1o.9I(b);d=b.an;if(!d){Y}a=P.fc.7o(d);c=X P.fb(a,b);e.1p.1E("4l",c)},1t:"P.1P.kn"});Q 9G=R;P.33=X P.23({1X:R,1c:R,7j:R,8x:R,bh:R,bg:R,9H:R,he:R,bi:96,7O:R,27:R,bf:R,1I:S(c,a,b){if(c){P.33.1y.1c=c}if(a){P.33.1y.1X=a}if(b&&b.27){O.27=b.27}O.7j=X P.V.ks();O.8x=X P.V.kf(O.1c,O.1X,b);O.bh=X P.V.ke(O.1c);O.bg=X P.V.kr(O.1c);O.9H=X P.V.kc(O.1X,b);O.7O=X P.V.gw(O.1c,O.1X,b);O.bf=X P.V.jB(O.1c)},1A:S(){O.1X=R;if(O.7j){O.7j.1A();O.7j=R}if(O.8x){O.8x.1A();O.8x=R}if(O.bh){O.bh.1A();O.bh=R}if(O.bg){O.bg.1A();O.bg=R}if(O.9H){O.9H.1A();O.9H=R}O.he=R;if(R!==O.7O){O.7O.1A();O.7O=R}if(R!==O.bf){O.bf.1A();O.bf=R}},dC:S(){Y O.7j},vh:S(){Y O.8x},vg:S(){Y O.bh},vf:S(){Y O.bg},dB:S(){Y O.9H},8L:S(){if(R===O.7O){O.7O=X P.V.gw(O.1c,O.1X)}Y O.7O},ve:S(){Y O.he},vd:S(a){O.he=a},kx:S(){Y O.bi},vc:S(a){O.bi=a},6d:S(){Y O.bf},6j:S(a){P.33.1y.1c=a;if(O.8x.1c===R){O.8x.1c=a}if(O.bh.1c===R){O.bh.1c=a}if(O.bg.1c===R){O.bg.1c=a}if(O.7O.1c===R){O.7O.6j(a)}if(O.bf.1c===R){O.bf.1c=a}},oT:S(a){P.33.1y.1X=a;if(O.8x.1X===R){O.8x.1X=a}if(O.9H.2P===R){O.9H.2P=a}if(O.7O.1X===R){O.7O.1X=a}},oS:S(a){P.33.1y.27=a;if(O.8x.27===R){O.8x.27=a}if(O.9H.27===R){O.9H.27=a}if(O.7O.27===R){O.7O.27=a}},4b:S(g){Q h=O.1c.2B;19(Q e=0;e<h.W;e++){if(h[e]1l P.2O.4u){Q f=h[e].1h;19(Q d=0;d<f.W;d++){if(f[d].T.1r===g){Y f[d]}}}}Q b=O.1c.f9("P.2O.eL");19(Q c=0;c<b.W;c++){Q f=b[c].1h;19(Q a=0;a<f.W;a++){if(f[a].T.1r===g){Y f[a]}}}Y R},1t:"P.33"});P.33.3q=S(c,a,b){if(9G===R){9G=X P.33(c,a,b)}13{if(c&&9G.1c===R){9G.6j(c)}13{if(a&&9G.1X===R){9G.oT(a)}13{if(b&&b.27&&9G.27===R){9G.oS(27)}}}}Y 9G};P.V.ks=X P.23({kv:"#5N",9l:2,ku:"ce",kt:1,9m:"9F",dA:"9F",9E:60,6P:5,6O:1,be:40,cd:7,3l:1d,2h:"#5N",2j:0.31,3z:"#9j",57:1,4r:1d,5T:"#5N",5S:"oR",66:1d,65:"#5N",5E:1d,64:"#5N",5D:0,5C:0,1w:14,3e:0,3i:4E,3m:"微软雅黑",3K:"vb",3Z:"",2L:0,86:"#gr",4W:4,85:1,4T:"#5N",5J:1,41:"6c",hd:1d,3Y:0,2K:0,3v:0,9D:"6c",cc:0.31,ca:"#5N",3P:1,1I:S(a){if(a){P.1o.2R(O,a)}O.oQ()},oQ:S(){if(kw 1F==="1k"){Y}if(1F&&1F.9E!==1k){O.9E=3A(1F.9E)}if(1F&&1F.6P!==1k){O.6P=3A(1F.6P)}if(1F&&1F.6O!==1k){O.6O=3A(1F.6O)}if(1F&&1F.be!==1k){O.be=3A(1F.be)}if(1F&&1F.cd!==1k){O.cd=3A(1F.cd)}if(1F&&1F.3l!==1k){O.3l=1F.3l}if(1F&&1F.1D!==1k){O.9l=3A(1F.1D)}if(1F&&1F.2I!==1k){O.kv=1F.2I}if(1F&&1F.3N!==1k){O.kt=3A(1F.3N)}if(1F&&1F.5K!==1k){O.ku=1F.5K}if(1F&&1F.5R!==1k){O.9m=1F.5R}if(1F&&1F.6A!==1k){O.9m=1F.6A}if(1F&&1F.2q!==1k){O.2q=1F.2q}if(1F&&1F.2h!==1k){O.2h=1F.2h}if(1F&&1F.2j!==1k){O.2j=3A(1F.2j)}if(1F&&1F.3z!==1k){O.3z=1F.3z}if(1F&&1F.57!==1k){O.57=3A(1F.57)}if(1F&&1F.4r!==1k){O.4r=1F.4r}if(1F&&1F.5T!==1k){O.5T=1F.5T}if(1F&&1F.5S!==1k){O.5S=3A(1F.5S)}if(1F&&1F.66!==1k){O.66=1F.66}if(1F&&1F.65!==1k){O.65=1F.65}if(1F&&1F.5E!==1k){O.5E=1F.5E}if(1F&&1F.64!==1k){O.64=1F.64}if(1F&&1F.5D!==1k){O.5D=1F.5D}if(1F&&1F.5C!==1k){O.5C=1F.5C}if(1F&&1F.3e!==1k){O.3e=3V(1F.3e)}if(1F&&1F.3i!==1k){O.3i=3A(1F.3i)}if(1F&&1F.1w!==1k){O.1w=3A(1F.1w)}if(1F&&1F.3m!==1k){O.3m=1F.3m}if(1F&&1F.3K!==1k){O.3K=1F.3K}if(1F&&1F.3Z!==1k){O.3Z=1F.3Z}if(1F&&1F.2L!==1k){O.2L=3A(1F.2L)}if(1F&&1F.86!==1k){O.86=1F.86}if(1F&&1F.4W!==1k){O.4W=3A(1F.4W)}if(1F&&1F.85!==1k){O.85=3A(1F.85)}if(1F&&1F.4T!==1k){O.4T=1F.4T}if(1F&&1F.5J!==1k){O.5J=3A(1F.5J)}if(1F&&1F.41!==1k){O.41=1F.41}if(1F&&1F.3v!==1k){O.3v=3A(1F.3v)}if(1F&&1F.3Y!==1k){O.3Y=3A(1F.3Y)}if(1F&&1F.2K!==1k){O.2K=3A(1F.2K)}if(1F&&1F.9D!==1k){O.9D=1F.9D}if(1F&&1F.ca!==1k){O.ca=3A(1F.ca)}if(1F&&1F.cc!==1k){O.cc=1F.cc}if(1F&&1F.3P!==1k){O.3P=3A(1F.3P)}},1A:S(){O.kv=R;O.9l=R;O.be=R;O.ku=R;O.hd=R;O.9E=R;O.6P=R;O.6O=R;O.cd=R;O.3l=R;O.kt=R;O.9m=R;O.dA=R;O.2h=R;O.2j=R;O.3z=R;O.57=R;O.1w=R;O.3m=R;O.3K=R;O.3Z=R;O.3i=R;O.3e=R;O.2L=R;O.86=R;O.4W=R;O.85=R;O.4T=R;O.5J=R;O.41=R;O.3v=R;O.3Y=R;O.2K=R;O.9D=R;O.cc=R;O.ca=R;O.3P=R},va:S(a){if(a.4w&&a.4w.54.2e){P.V.5G.oP(a.4w.54.2e,O);a.4w.54.2e.T.fa();if(a.4w.54.2e.T 1l P.U.59){Q b=a.4w.54.2e.T.2t;a.4w.54.2e.T.ao(b.w,b.h);a.4w.54.2e.T.8Z=a.4w.54.2e.T.1R;a.4w.54.2e.T.9C=a.4w.54.2e.T.1R;if(a.4w.54.2e.T.1R>a.4w.54.2e.T.6P){a.4w.54.2e.T.1R=a.4w.54.2e.T.6P}13{if(a.4w.54.2e.T.1R<a.4w.54.2e.T.6O){a.4w.54.2e.T.1R=a.4w.54.2e.T.6O}}a.4w.54.2e.T.3G=a.4w.54.2e.T.1c.3o();a.4w.54.2e.T.2t.w*=a.4w.54.2e.T.1R;a.4w.54.2e.T.2t.h*=a.4w.54.2e.T.1R}a.4w.54.2e.T.1u()}},1t:"P.V.ks"});P.V.kr=X P.23({1c:R,1I:S(b,a){if(b){O.1c=b}},1A:S(){O.1c=R},v9:S(b){Q a=R;Q f=O.1c.6z(b);Q d=X P.U.1f(f.1U,f.1T);Q e=O.1c.f9("P.2O.4u");19(Q c=0;c<e.W;c++){a=e[c].bd(d);if(a!==R){Y a}}Y a},v8:S(l){Q o=[];if(!P.1o.4g(l)){l=[l]}if(l.W<=2){Y o}Q d=[];19(Q f=0;f<l.W;f++){Q n=O.1c.6z(l[f]);Q a=X P.U.1f(n.1U,n.1T);d.17(a)}Q g=X P.U.5h(d);Q k=X P.U.4S([g]);Q e=O.1c.f9("P.2O.4u");19(Q f=0;f<e.W;f++){Q b=e[f].1h;19(Q c=0;c<b.W;c++){Q m=b[c];Q h=O.hb(m);if(R===h){1W}if(k.hc(h)){o.17(m)}}}Y o},v7:S(f,d,k){Q q=[];Q c=O.1c.6z(X P.U.1f(f,d));Q b=O.1c.6z(X P.U.1f(f+k,d));Q l=X P.U.1f(c.1U,c.1T);Q m=X P.U.1f(b.1U,b.1T);Q p=P.V.1m.2J(l,m);Q h=O.1c.f9("P.2O.4u");19(Q g=0;g<h.W;g++){Q a=h[g].1h;19(Q e=0;e<a.W;e++){Q o=a[e];Q n=O.hb(o);if(R===n){1W}if(1n.2X(p)>1n.2X(P.V.1m.2J(n,l))){q.17(o)}}}Y q},v6:S(l,g,m,e){Q p=[];Q n=O.1c.6z(X P.U.1f(l,g));Q k=O.1c.6z(X P.U.1f(l+m,g+e));Q d=O.1c.f9("P.2O.4u");19(Q c=0;c<d.W;c++){Q a=d[c].1h;19(Q b=0;b<a.W;b++){Q o=a[b];Q f=O.hb(o);if(R===f){1W}if((f.x>n.1U&&f.x<k.1U&&f.y<n.1T&&f.y>k.1T)){p.17(o)}}}Y p},hb:S(a){if(!a||!a.T){Y R}Q b=a.T.2D();if(!b){Y R}Y X P.U.1f((b.1Z+b.2b)/2,(b.1Y+b.2g)/2)},1t:"P.V.kr"});P.V.kf=X P.23({1c:R,1X:R,7n:R,7k:R,6N:R,5a:["oD","h5","oA","km","oF","oE","oI","ko","oK","kp","ou","ot","oz","oy","f5","oM","kq"],1p:R,3n:R,1I:S(c,a,b){if(c){O.1c=c}if(a){O.1X=a}if(b&&b.27){O.27=b.27}if(b&&b.7n){O.7n=b.7n;O.7n.1p.6e("c9",O,O.f5)}O.1p=X P.ac(O,R,O.5a,1a);if(O.3n 1l 6U){O.1p.on(O.3n)}O.7k=X P.V.k1();O.6N="v5"},1A:S(){if(O.3n){O.1p.un(O.3n);O.3n=R}if(O.1p){O.1p.1A();O.1p=R}O.1c=R;O.7n=R;O.7k.1A();O.7k=R;O.6N=R;O.1X=R},bb:S(){if(O.7n===R){Q a=O.1c.2B;19(Q b=0;b<a.W;b++){if(a[b].5s){O.7n=a[b];1B}}if(O.7n!==R){O.7n.1p.6e("c9",O,O.f5)}}},v4:S(){Q a=[];19(Q b=0;b<O.1c.2B.W;b++){if(O.1c.2B[b].1t==="P.2O.4u"){a.17(O.1c.2B[b])}}Y a},v3:S(b){Q e=O.1X;Q a=O.1X.9A(O.1X.W-1,1);e+=(a=="/")?"73/":"/73/";Q d=4Q.71(b).4t;Q f=d.8w("\\\\");Q c=f[f.W-1];e+=c;if(O.27){e+="?"+O.27.49+"="+O.27.4t}Q g=O;if(c!==""){$.ha({2P:e,h9:1d,h8:b,h7:"8a",h6:60*60*68,9B:S(j,h){g.oC(c)},an:S(j,h,k){g.1p.1E("km")}})}},v2:S(b){if(!9e.oO){Y}Q d=O;Q c=4Q.71(b).v1;if(c.W===0){Y}Q a=X oO();a.v0(c[0]);a.uZ=S(f){if(f.oN>=5*jY*jY||f.oN<=0){d.1p.1E("kq");Y}};a.uY=S(f){d.1p.1E("kq");Y};a.uX=S(f){d.1p.1E("oM")};a.iO=S(g){Q f=gu.gt(g.uW.5c);d.kl(f,b)}},uV:S(b,h){Q e=O.1X;Q a=O.1X.9A(O.1X.W-1,1);e+=(a=="/")?"73/":"/73/";Q d=4Q.71(b).4t;Q f=d.8w("\\\\");Q c=f[f.W-1];e+=c;if(O.27){e+="?"+O.27.49+"="+O.27.4t}Q g=O;if(c!==""){$.ha({2P:e,h9:1d,h8:b,h7:"8a",h6:60*60*68,9B:S(k,j){g.bb();g.oJ(c,h)},an:S(k,j,l){g.1p.1E("ko")}})}},uU:S(b,f){Q e=O.1X;Q a=O.1X.9A(O.1X.W-1,1);e+=(a=="/")?"73/":"/73/";Q d=4Q.71(b).4t;Q g=d.8w("\\\\");Q c=g[g.W-1];e+=c;if(O.27){e+="?"+O.27.49+"="+O.27.4t}Q h=O;if(c!==""){$.ha({2P:e,h9:1d,h8:b,h7:"8a",h6:60*60*68,9B:S(k,j){h.oL(c,f)},an:S(k,j,l){h.1p.1E("kp")}})}},uT:S(c,h,b){Q f=O.1X;Q a=O.1X.9A(O.1X.W-1,1);f+=(a=="/")?"73/":"/73/";Q e=4Q.71(c).4t;Q g=e.8w("\\\\");Q d=g[g.W-1];f+=d;if(O.27){f+="?"+O.27.49+"="+O.27.4t}if(d!==""){$.ha({2P:f,h9:1d,h8:c,h7:"8a",h6:60*60*68,9B:S(k,j){h()},an:S(k,j,l){b()}})}},oL:S(d,e){S c(g){Q o=g.2z;Q h=o.9u;Q p=R;Q n=[];19(Q m=0;m<O.1c.2B.W;m++){if(O.1c.2B[m].49===e){n=[O.1c.2B[m]]}}if(n.W!==0){p=n[0]}13{p=X P.2O.4u(e,O.1X,{27:O.27});Q l=X P.4v.h4(p,P.9y.1V);O.1c.f7([p]);O.1c.ki([l])}19(Q k=0;k<h.W;k++){O.gZ(h[k],p)}O.1p.1E("oK")}S f(g){O.1p.1E("kp")}Q a=X P.1P.ba(O.1X,{6N:d});a.1p.on({4m:c,4l:f,3R:O});Q b=X P.1P.9x();b.6i="9q";a.4N(b,O.27)},oJ:S(d,e){S c(g){Q m=g.2z;Q h=m.9u;19(Q k=0;k<h.W;k++){Q n=R;Q l=[];if(h[k].7K){l=O.1c.oG(h[k].7K)}if(l.W!==0){n=l[0]}13{if(e){n=X P.2O.4u(h[k].7K,O.1X,{27:O.27});Q j=X P.4v.h4(n,P.9y.1V);O.1c.f7([n]);O.1c.ki([j])}}if(n===R){1W}O.gZ(h[k],n)}O.1p.1E("oI")}S f(g){O.1p.1E("ko")}Q a=X P.1P.ba(O.1X,{6N:d});a.1p.on({4m:c,4l:f,3R:O});Q b=X P.1P.9x();b.6i="9q";a.4N(b,O.27)},uS:S(b){Q c="";Q a=O.1X.9A(O.1X.W-1,1);c=(a=="/")?"oH/"+b:"/oH/"+b;if(O.27){Y c+"?"+O.27.49+"="+O.27.4t}13{Y c}},uR:S(){O.6N="";O.7k.1A();Q b=O.1c.2B;19(Q a=0;a<b.W;){if(b[a].1t==="P.2O.4u"){b[a].89();O.1c.uQ(b[a].4w);O.1c.dk(b[a],1d)}13{a++}}},uP:S(){if(O.6N!==""){Q a=[];Q c=O.1c.2B;19(Q b=0;b<c.W;b++){if(c[b].dx===1a){1W}a.17(c[b])}O.9f(O.6N,a,1a)}},uO:S(a){Q b=[];Q d=O.1c.2B;19(Q c=0;c<d.W;c++){if(d[c].dx===1a){1W}b.17(d[c])}O.9f(a,b,1d)},uN:S(b,d){Q a=[];if(!P.1o.4g(d)){d=[d]}19(Q c=0;c<d.W;c++){a=a.4Y(O.1c.oG(d[c]))}O.9f(b,a,1d)},uM:S(d){S c(f){O.1p.1E("oF",f.2z.7k)}S e(f){O.1p.1E("oE",R)}Q a=X P.1P.ba(O.1X,{6N:d});a.1p.on({4m:c,4l:e,3R:O});Q b=X P.1P.9x();b.6i="9q";a.4N(b,O.27)},uL:S(f,a){S b(j){O.1p.1E("oD",j.2z)}S h(j){O.1p.1E("h5",j)}Q g=f*a;Q d=a;Q c=X P.1P.kn(O.1X);c.1p.on({4m:b,4l:h,3R:O});Q e=X P.1P.f8();e.87=g;e.bc=d;c.4N(e,O.27)},oC:S(d){S c(f){Q g=f.2z;O.kl(g,d)}S e(f){O.1p.1E("km")}O.bb();Q a=X P.1P.ba(O.1X,{6N:d});a.1p.on({4m:c,4l:e,3R:O});Q b=X P.1P.9x();b.6i="9q";a.4N(b,O.27)},kl:S(a,f){O.7k.gQ(a.7k);if(a.b8){Q l=X P.V.gP();l.gQ(a.b8);if(l.8v!==R&&l.8u!==R&&l.8t!==R){O.1c.uK(X P.2w(l.8u,l.8t),l.8v)}}O.6N=f;Q e=a.9u;Q h=O.1c.2B;Q k=h.W;19(Q b=0;b<k;){if(h[b].1t==="P.2O.4u"){Q d=h[b];d.89();O.1c.dk(d);d.1A();k--}13{b++}}Q m;19(Q c=0;c<e.W;c++){if(!!e[c].9t){m=X P.2O.4u(e[c].7K,O.1X,{dz:["9z"],27:O.27})}13{if(!!e[c].8s){m=X P.2O.4u(e[c].7K,O.1X,{dz:["5g"],27:O.27})}13{m=X P.2O.4u(e[c].7K,O.1X,{27:O.27})}}if(e[c].5s!=R){m.oB(e[c].5s)}if(e[c].4P!=R){m.kk(e[c].4P)}if(e[c].8W!=R){m.kj(e[c].8W)}Q g=X P.4v.h4(m,P.9y.1V);O.1c.f7([m]);O.1c.ki([g]);O.gZ(e[c],m)}O.7n=R;O.bb();O.1p.1E("oA")},uJ:S(d){S c(f){O.1p.1E("oz")}S e(f){O.1p.1E("oy")}Q a=X P.1P.ba(O.1X,{6N:d});a.1p.on({4m:c,4l:e,3R:O});Q b=X P.1P.9x();b.6i="ox";a.4N(b,O.27)},uI:S(b){Q f=[];Q e=O.1c.2B;19(Q d=0;d<e.W;d++){if(e[d].dx===1a){1W}Q c=e[d].1h;19(Q a=0;a<c.W;a++){if(c[a].T.h3().k3(b)!==R){f.17(c[a])}}}Y f},uH:S(d,c){Q g=[];Q f=O.1c.2B;19(Q e=0;e<f.W;e++){if(f[e].dx===1a){1W}Q b=f[e].1h;19(Q a=0;a<b.W;a++){if(b[a].T.1C===c&&b[a].T.1v===d){g.17(b[a])}}}Y g},uG:S(a){Q f=[];Q e=O.1c.2B;19(Q d=0;d<e.W;d++){if(e[d].dx===1a){1W}Q c=e[d].1h;19(Q b=0;b<c.W;b++){if(c[b].T.4i===a){f.17(c[b])}}}Y f},uF:S(a){Q d=[];Q c=O.1c.2B;19(Q b=0;b<c.W;b++){if(c[b].dx===1a){1W}d.17(c[b].4b(a))}Y d},kh:S(c,b,d,a){O.bb();O.7n.kh(c,b,d,a)},h2:S(c,b,d,a){O.bb();Y O.7n.h2(c,b,d,a)},kg:S(b,c,a){O.bb();Y O.7n.kg(b,c,a)},h1:S(b,c,a){O.bb();Y O.7n.h1(b,c,a)},9f:S(j,f,o){Q d=X P.V.k2();d.7k=O.7k;Q k=X P.V.gP();k.8v=O.1c.uE();k.8u=O.1c.ow().1U;k.8t=O.1c.ow().1T;d.b8=k;d.9u=[];19(Q l=0;l<f.W;l++){Q h=f[l];if(R===h||h.1t!=="P.2O.4u"){1W}Q g=X P.V.k0();g.7K=f[l].49;g.9t=f[l].9t;g.8s=f[l].8s;g.5s=f[l].f6();g.4P=f[l].70();g.8W=f[l].ov();Q c=[];Q n=f[l].1h;if(!n){1W}19(Q e=0;e<n.W;e++){if((n[e].T 1l P.U.1N)){c.17(n[e])}}g.1h=c;d.9u.17(g)}S p(q){O.1p.1E("ou")}S a(q){O.1p.1E("ot")}Q m=X P.1P.ba(O.1X,{6N:j,eK:o});m.1p.on({4m:p,4l:a,3R:O});Q b=X P.1P.9x();b.6i="eJ";b.h0=d;m.4N(b,O.27)},gZ:S(f,g){19(Q a=0;a<f.1h.W;a++){if(f.1h[a]!==R){Q e=f.1h[a].1v;Q d=f.1h[a].1C;Q b=f.1h[a].3G;if(f.1h[a].3l===1d){b=O.1c.3o()}if(!f.1h[a].2k("5O")){f.1h[a].5O=1a}Q c=P.U.1N.2Y(e,d,R,{1j:f.1h[a],3G:b,1c:O.1c});g.5r(c)}}},f5:S(a){O.1p.1E("f5",a)},1t:"P.V.kf"});P.V.ke=X P.23({1c:R,8Y:R,1I:S(b,a){if(b){O.1c=b}O.8Y=[];O.6m()},1A:S(){O.1c=R;O.8Y=R;O.am=R;O.3B=R},6m:S(){O.8Y=[];O.am=[];O.3B=[]},uD:S(c){O.6m();if(!(P.1o.4g(c))){c=[c]}19(Q b=0;b<c.W;b++){Q a=c[b];if(a.T 1l P.U.1N){O.8Y.17(a);O.am.17(a.T.3c);if(a.T.3c){O.3B.17(a)}}}},uC:S(e){O.6m();if(!(P.1o.4g(e))){e=[e]}13{e=e.53()}Q f=X P.V.6a();f.7F=P.V.7E.eN;19(Q d=0;d<e.W;d++){Q c=e[d];Q b=c.1g;if(!(c.T 1l P.U.1N)){1W}O.8Y.17(c);O.am.17(c.T.3c);if(c.T 1l P.U.4n){if(c.T.3c){c.1g.1p.1E("6Y",{1h:[c]})}b.4B(c.T.3X.1b)}13{b.4B(c)}c.1g=b;Q a=X P.V.4d();a.3L=c.1g.id;a.1b=c;f.1O.17(a)}if(f.1O.W!==0){P.33.3q().6d().69(f)}},uB:S(){O.6m();if(R!==O.1c&&1k!==O.1c){19(Q d=0;d<O.1c.2B.W;d++){Q c=O.1c.2B[d];if(c.1t==="P.2O.4u"){if(1a===c.4P||1d===c.5s){1W}19(Q a=0;a<c.3B.W;a++){Q b=c.3B[a];if(b.T 1l P.U.1N){O.8Y.17(b);O.am.17(b.T.3c);if(b.T.3c){O.3B.17(b)}}}}}}},uA:S(){O.6m();Q g=X P.V.6a();g.7F=P.V.7E.eN;if(R!==O.1c&&1k!==O.1c){19(Q e=0;e<O.1c.2B.W;e++){Q d=O.1c.2B[e];if(d 1l P.2O.4u){if(1a===d.4P||1d===d.5s){1W}Q f=d.3B.53();19(Q a=0;a<f.W;a++){Q c=f[a];if(!(c.T 1l P.U.1N)){1W}O.8Y.17(c);O.am.17(c.T.3c);if(c.T 1l P.U.4n){if(c.T.3c){c.1g.1p.1E("6Y",{1h:[c]})}d.4B(c.T.3X.1b)}13{d.4B(c)}c.1g=d;Q b=X P.V.4d();b.3L=c.1g.id;b.1b=c;g.1O.17(b)}}}}if(g.1O.W!==0){P.33.3q().6d().69(g)}},uz:S(){O.gY()},uy:S(a){O.gY(a)},ux:S(a){O.gY(R,a)},gY:S(y,x){Q u=1a;if(x&&x.1t==="P.2O.4u"){u=1d}Q n=1d;if(R===y||1k===y){n=1a}Q o=R;if(!n){Q g=X P.5B();19(Q r=0;r<O.8Y.W;r++){Q c=O.8Y[r].T;if(c 1l P.U.4n){g.2R(c.3X.2D())}g.2R(c.2D())}o=X P.U.1f(g.7N().1U,g.7N().1T)}19(Q s=0;s<O.3B.W;s++){Q e=O.3B[s];e.1g.1p.1E("6Y",{1h:[e]})}O.3B=[];Q t=X P.V.6a();t.7F=P.V.7E.gD;P.33.3q().6d().69(t);Q d=O.8Y.53();19(Q r=0;r<d.W;r++){Q e=d[r];if(1a===e.1g.4P||1d===e.1g.5s){1W}Q b=R;if(e.T 1l P.U.4n){b=P.V.1m.gs(e.T.3X.1b)}13{b=P.V.1m.gs(e)}if(!n&&R!==o){b.T.2n(y.x-o.x,y.y-o.y)}if(u){e.1g.5r(b,{f4:1a})}13{x.5r(b,{f4:1a})}Q l=X P.V.4d();l.3L=b.1g.id;l.1b=b;t.1O.17(l);if(O.am!==1k&&O.am.W>r&&O.am[r]===1a){if(e.T 1l P.U.4n){Q w=b.T.c8(b.T.88(e.T.3C.id));b.1g.1p.1E("7M",{1h:[w]});O.3B.17(w)}13{b.1g.1p.1E("7M",{1h:[b]});O.3B.17(b)}}if(e.T.4a){19(Q q=0;q<e.T.4a.W;q++){19(Q p in d){if(d[p].T.1s===P.V.1i.9s||d[p].T.1s===P.V.1i.ag){Q f=e.T.4a[q].7i();f.3r=b.T.1r;Q v=P.U.1N.2Y(f.1v,f.1C,R,{1j:f,1c:e.T.4a[q].1c});b.1g.5r(v);b.1g.1p.1E("7M",{1h:[v]});O.3B.17(v);d.2N(p,1);Q l=X P.V.4d();l.3L=v.1g.id;l.1r=v.T.1r;t.1O.17(l);1B}}}}if(e.T.6M){19(Q q=0;q<e.T.6M.W;q++){19(Q p in d){if(d[p].T.1s===P.V.1i.ai||d[p].T.1s===P.V.1i.aj){Q f=e.T.6M[q].7i();f.3r=b.T.1r;Q h=P.U.1N.2Y(f.1v,f.1C,R,{1j:f,1c:e.T.6M[q].1c});b.1g.5r(h);b.1g.1p.1E("7M",{1h:[h]});O.3B.17(h);d.2N(p,1);Q l=X P.V.4d();l.3L=h.1g.id;l.1r=h.T.1r;t.1O.17(l);1B}}}}if(e.T.2Z){19(Q q=0;q<e.T.2Z.W;q++){19(Q p in d){if(d[p].T.1s===P.V.1i.8q){Q f=e.T.2Z[q].7i();f.3r=b.T.1r;Q a=P.U.1N.2Y(f.1v,f.1C,R,{1j:f,1c:e.T.2Z[q].1c});b.1g.5r(a);b.1g.1p.1E("7M",{1h:[a]});O.3B.17(a);d.2N(p,1);Q l=X P.V.4d();l.3L=a.1g.id;l.1r=a.T.1r;t.1O.17(l);1B}}}}}},1t:"P.V.ke"});P.V.kc=X P.23({5a:["gW","or"],1p:R,3n:R,2P:R,4A:[],7m:[],gV:[],dw:1d,1I:S(b,a){O.2P=b;if(a&&a.4A){O.4A=a.4A}if(a&&a.27){O.27=a.27}O.1p=X P.ac(O,R,O.5a,1a);if(O.3n 1l 6U){O.1p.on(O.3n)}},1A:S(){if(O.3n){O.1p.un(O.3n);O.3n=R}if(O.1p){O.1p.1A();O.1p=R}O.2P=R;O.4A=[];O.7m=[];O.gV=[];O.dw=1d},oq:S(){if(O.os()){O.1p.1E("gW",{4A:O.4A})}13{S b(d){if(O.4A!==R&&O.4A.W!==0){19(Q f=0;f<O.4A.W;f++){Q g=1d;19(Q e=0;e<d.2z.W;e++){if(O.4A[f]===d.2z[e]){g=1a;1B}}if(g===1d){O.4A.53(f,1)}}}13{O.4A=d.2z}O.gX(0)}S c(d){O.4A=[]}Q a=X P.1P.kd(O.2P);a.1p.on({4m:b,4l:c,3R:O});a.4N(O.27);O.dw=1a}},gX:S(b){S a(e){O.gV.17(e.2z);O.7m.17(X P.V.k4({4D:e.2z}));O.7m[O.7m.W-1].2P=O.2P;if(b!==O.4A.W-1){O.gX(b+1)}13{O.dw=1a;O.1p.1E("gW",{4A:O.4A})}}S d(e){if(b!==O.4A.W-1){O.4A.53(b,1);O.gX(b)}13{O.4A.53(b,1);O.dw=1a;O.1p.1E("gW",{4A:O.4A})}}Q c=X P.1P.gU(O.2P,{1v:O.4A[b]});c.1p.on({4m:a,4l:d,3R:O});c.4N(O.27)},os:S(){Y O.dw},uw:S(){Y O.4A.W},oj:S(a){if(a>=O.4A.W){Y-1}Y O.4A[a]},uv:S(a){if(a>=O.4A.W){Y R}Y O.gV[a]},uu:S(a){if(a>=O.4A.W){Y R}Y O.7m[a]},al:S(b){19(Q a=0;a<O.7m.W;a++){if(b===O.7m[a].1v){Y O.7m[a]}}Y R},ut:S(c){Q b=O.al(c);S a(){O.1p.1E("or");b.1p.un({f0:a})}if(b!==R){b.1p.on({f0:a,3R:O});b.ok()}},f3:S(c,b){Q a=O.al(c);if(a===R){Y""}Y a.f3(b)},us:S(b){Q f=[];19(Q d=0;d<O.4A.W;d++){Q e=O.al(O.4A[d]);Q c=e.k8(b);19(Q a=0;a<c.W;a++){f.17(c[a])}}Y f},ur:S(e){Q f=[];19(Q c=0;c<O.4A.W;c++){Q d=O.al(O.4A[c]);Q b=d.k8(e.6l());19(Q a=0;a<b.W;a++){f.17(b[a])}}Y f},1t:"P.V.kc"});P.V.k4=X P.23({5a:["op","oo","f0"],1p:R,3n:R,2P:R,1v:R,4D:R,eZ:R,9v:R,f2:R,1I:S(a){O.eZ={};O.9v=[];if(a&&a.2P&&a.1v){O.2P=a.2P;O.1v=a.1v}13{if(a&&a.4D){O.4D=a.4D;O.1v=O.4D.1v;O.ka()}}if(a&&a.27){O.27=a.27}O.1p=X P.ac(O,R,O.5a,1a);if(O.3n 1l 6U){O.1p.on(O.3n)}},1A:S(){if(O.3n){O.1p.un(O.3n);O.3n=R}if(O.1p){O.1p.1A();O.1p=R}O.2P=R;O.1v=R;O.4D=R},oq:S(){S a(d){O.4D=d.2z;O.1v=O.4D.1v;O.ka();O.1p.1E("op")}S c(d){O.1v=-1;O.1p.1E("oo")}Q b=X P.1P.gU(O.2P,{1v:O.1v});b.1p.on({4m:a,4l:c,3R:O});b.4N(O.27)},uq:S(){if(O.4D===R){Y R}Y O.4D.uo},f3:S(a){if(O.4D===R){Y""}if(O.f2===R){O.f2={};O.kb(O.4D.k7)}Y O.f2[a]},kb:S(b){19(Q a=0;a<b.om;a++){if(b.3u[a].eY==="k6"){O.kb(b.3u[a])}13{if(b.3u[a].eY==="ol"){O.f2[b.3u[a].6y]=b.3u[a].4i}}}Y""},ka:S(){if(O.4D===R){Y 1d}O.k9(O.4D.k7)},k9:S(c,a){19(Q b=0;b<c.om;b++){if(c.3u[b].eY==="k6"){O.k9(c.3u[b])}13{if(c.3u[b].eY==="ol"&&c.3u[b].1s==="um"){O.9v.17(c.3u[b].6y)}}}},ok:S(){if(O.9v.W===0){O.1p.1E("f0")}Q g=1n.f1(1n.gT()*68);Q f=X 7h().6W();Q c,a;S b(j){if(j.2z.7l){a=3V(j.2z.7l,16);c=a-g}if(c&&(c-f)<60){3j j.2z.7l;O.9w(j.2z)}13{O.9v.2N(0,1)}if(O.9v.W!==0){g=1n.f1(1n.gT()*68);f=X 7h().6W();Q k=X P.1P.7L(O.2P);k.1p.on({4m:b,4l:h,3R:O});Q l=X P.1P.6L();l.1v=O.1v;l.1C=O.9v[0];l.7l=g;k.4N(l,O.27)}13{O.1p.1E("f0")}}S h(j){}Q d=X P.1P.7L(O.2P);d.1p.on({4m:b,4l:h,3R:O});Q e=X P.1P.6L();e.1v=O.1v;e.1C=O.9v[0];e.7l=g;d.4N(e,O.27);O.ul=1a},oj:S(){Y O.1v},7i:S(a){Q b=R;if(O.eZ.2k(a)){b=P.1o.6b(O.eZ[a])}Y b},9w:S(b){Q a=P.1o.3t(O.9v,b.1C);if(a!==-1){O.eZ[b.1C]=P.1o.6b(b);O.9v.2N(a,1)}},uk:S(){if(O.4D===R){Y R}Y O.4D.uj},k8:S(a){Y O.k5(a,O.oh(),O.oi())},ui:S(){if(O.4D===R){Y R}Y O.4D.uh},ug:S(){if(O.4D===R){Y R}Y O.4D.uf},ue:S(){if(O.4D===R){Y R}Y O.4D.ud},uc:S(){if(O.4D===R){Y R}Y O.4D.ub},oi:S(){if(O.4D===R){Y R}Y O.4D.ua},u9:S(){if(O.4D===R){Y R}Y O.4D.u8},oh:S(){if(O.4D===R){Y R}Y O.4D.k7},k5:S(h,c,d){Q g=[];if(c.eY==="k6"){19(Q f=0;f<c.3u.W;f++){Q b=d+"/"+c.4i;Q a=O.k5(h,c.3u[f],b);19(Q e=0;e<a.W;e++){g.17(a[e])}}}13{if(h===c.6y.6l()){c.og=d+"/"+c.6y+".gS";g.17(c)}13{if(-1!==c.4i.3t(h)){c.og=d+"/"+c.6y+".gS";g.17(c)}}}Y g},1t:"P.V.k4"});P.V.b9=X P.23({6Z:R,1I:S(a){O.6Z=[]},of:S(a,c){Q b=O.k3(a);if(R==b){O.6Z.17(X P.V.gR(a,c))}13{b.oc(c)}Y 1a},u7:S(b){19(Q a=0;a<O.6Z.W;a++){if(O.6Z[a].8X===b){O.6Z.53(a,1);Y 1a}}Y 1d},k3:S(b){19(Q a=0;a<O.6Z.W;a++){if(O.6Z[a].8X===b){Y O.6Z[a]}}Y R},u6:S(b){19(Q a=0;a<O.6Z.W;a++){if(O.6Z[a].8X===b){Y O.6Z[a].4t}}Y R},oe:S(a){if(a<O.6Z.W){Y O.6Z[a]}Y R},od:S(){Y O.6Z.W},1A:S(){O.6Z=R},1t:"P.V.b9"});P.V.gR=X P.23({8X:R,4t:R,1I:S(a,b){if(a){O.8X=a}if(b){O.4t=b}},u5:S(a){O.8X=a},u4:S(){Y O.8X},oc:S(a){O.4t=a},u3:S(){Y O.4t},1A:S(){O.8X=R;O.4t=R},2s:S(){Y X P.V.gR(O.8X,O.4t)},1t:"P.V.gR"});P.V.k2=X P.23({7k:R,b8:R,9u:R,1I:S(a){if(a&&a.7k){O.7k=a.7k}if(a&&a.b8){O.b8=a.b8}if(a&&a.9u){O.9u=a.9u}},1A:S(){O.7k=R;O.b8=R;O.9u=R},1t:"P.V.k2"});P.V.k1=X P.23({b7:"",b6:"",b5:"",b4:"",b3:"",b2:"",1I:S(a){if(a){O.b7=a.b7;O.b6=a.b6;O.b5=a.b5;O.b4=a.b4;O.b3=a.b3;O.b2=a.b2}},1A:S(){O.b7="";O.b6="";O.b3="";O.b5="";O.b4="";O.b2=""},gQ:S(a){O.b7=a.b7;O.b6=a.b6;O.b5=a.b5;O.b4=a.b4;O.b3=a.b3;O.b2=a.b2},5H:S(){Q a=R;a=\'{"b7":\'+P.V.1m.5H(O.b7)+\',"b6":\'+P.V.1m.5H(O.b6)+\',"b5":\'+P.V.1m.5H(O.b5)+\',"b4":\'+P.V.1m.5H(O.b4)+\',"b3":\'+P.V.1m.5H(O.b3)+\',"b2":\'+P.V.1m.5H(O.b2)+"}";Y a},1t:"P.V.k1"});P.V.gP=X P.23({8v:R,8u:R,8t:R,1I:S(a){if(a){O.8v=a.8v;O.8u=a.8u;O.8t=a.8t}},1A:S(){O.8v=R;O.8u=R;O.8t=R},gQ:S(a){if(a.8v!==1k){O.8v=a.8v}if(a.8u!==1k){O.8u=a.8u}if(a.8t!==1k){O.8t=a.8t}},5H:S(){Q a=R;a=\'{"8v":\'+P.V.1m.5H(O.8v)+\',"8u":\'+P.V.1m.5H(O.8u)+\',"8t":\'+P.V.1m.5H(O.8t)+"}";Y a},1t:"P.V.gP"});P.V.k0=X P.23({7K:R,9t:1d,8s:1d,1h:R,1I:S(a){if(a&&a.7K){O.7K=a.7K}if(a&&a.9t){O.9t=a.9t}if(a&&a.8s){O.8s=a.8s}if(a&&a.1h){O.1h=a.1h}},1A:S(){O.7K=R;O.9t=R;O.8s=R;O.1h=R},5H:S(){Q b=[];19(Q a=0;a<O.1h.W;a++){b.17(O.1h[a].T.7i())}Q c=\'{"7K":\'+P.V.1m.5H(O.7K)+\', "9t":\'+P.V.1m.5H(O.9t)+\', "8s":\'+P.V.1m.5H(O.8s)+\', "5s":\'+P.V.1m.5H(O.5s)+\', "4P":\'+P.V.1m.5H(O.4P)+\', "8W":\'+P.V.1m.5H(O.8W)+\',"1h":\'+P.V.1m.5H(b)+"}";Y c},1t:"P.V.k0"});P.V.1i={5b:1,jZ:2,4C:34,bO:31,eG:29,eF:26,bN:32,8r:24,je:28,gk:44,aL:u2,gl:ob,gm:oa,jg:j7,jc:o9,eE:48,o8:c7,u1:u0,8Q:iQ,a9:tZ,jd:tY,jf:3Q,c6:68,ak:tX,dv:mW,bM:tW,c5:mZ,du:tV,dt:mX,ds:tU,aj:tT,ai:tS,ah:mY,8q:tR,9s:o7,o6:o5,jb:o4,dr:o3,gO:dq,c4:tQ,c3:ja,8V:tP,c2:tO,ag:j9,gN:tN,o2:eX,a8:jY,o1:tM,a7:tL,9r:tK,tJ:tI,eW:tH,gM:o0};P.V.eV={jT:0,nZ:1,eU:2};P.V.4X={6c:0,b1:1,af:2,bG:3};P.V.gL={nY:"nY",nX:"nX",nW:"nW",jX:"jX",nV:"nV",nU:"nU",nT:"nT",nS:"nS",nR:"nR",jW:"jW",jV:"jV",nQ:"nQ",nP:"nP",nO:"nO",nN:"nN",nM:"nM",nL:"nL",nK:"nK"};P.V.8U={jU:0,dn:1,gK:2,tG:3};P.V.gJ={6c:0,jT:1,eU:2};P.V.tF={tE:0,tD:1,tC:2,tB:3,tA:4,tz:5,jO:6,jN:7};P.V.ty={tx:0,tw:1,6c:2};P.V.jS={tv:0,tu:1,tt:2,jR:3};P.V.jQ={jP:0,ts:1};P.V.c1={jO:0,jN:1,nJ:2,nI:3,nH:4,nG:5};P.V.5j={ae:0,dp:1,c0:2,do:3};P.V.gI={nF:0,nE:1,nD:2};P.V.jM={nC:0,nB:1};P.V.gH=X P.23({1H:R,2c:R,2U:R,2T:R,Z:R,1I:S(c,d,b,a){O.1H=c;O.2c=d;O.Z=b;if(a){P.1o.2R(O,a)}if(O.1H===1k||O.1H===R){O.1H=""}if(O.2c===1k||O.2c===R){O.2c=0}if(O.2U===R){O.2U=0}if(O.2T===R){O.2T=0}},1A:S(){O.1H=R;O.2c=R;O.2U=R;O.2T=R},2s:S(){Q a={2U:O.2U,2T:O.2T};Q b={};b=P.1o.2v(b,O.Z);Q c=X P.V.gH(O.1H,O.2c,b,a);Y c},51:S(){Q a={};a.1H=O.1H;a.2c=O.2c;a.2U=O.2U;a.2T=O.2T;P.V.5G.gE(O.Z,a);Y a},4F:S(a){O.1H=a.1H;O.2c=a.2c;O.2U=a.2U;O.2T=a.2T;P.V.5G.eQ(a);Y O},1t:"P.V.gH"});P.V.b0=X P.23({id:R,2C:R,37:R,49:R,2f:0,2i:R,Z:R,1I:S(a){P.1o.2R(O,a);if(O.id===R){O.id=P.V.1m.eT()}if(O.2f===R){O.2f=0}if(O.2i===R){O.2i=[]}if(O.Z===R){O.Z=P.1o.6b(P.U.1N.7j)}},1A:S(){O.2C=R;O.eS=R;O.49=R;O.id=R;O.2f=R;if(!O.2i||R===O.2i){O.2i=R}19(Q a=0;a<O.2i.W;a++){O.2i[a].1A()}O.2i=R},2s:S(){Q a={id:O.id,2C:O.2C,49:O.49,2f:O.2f,2i:O.2i};Q b=X P.V.b0(a);b.37=O.37.2s();b.Z={};b.Z=P.1o.2v(b.Z,O.Z);Y b},4F:S(b){O.id=b.id;O.2C=b.2C;O.49=b.49;O.2f=b.2f;O.37=X P.U.1f(0,0);if(b.37){O.37.x=b.37.x;O.37.y=b.37.y;O.37.z=b.37.z}13{O.37.x=b.x;O.37.y=b.y;O.37.z=b.z}O.Z=P.V.5G.eQ(b);19(Q c in b.2i){Q a=X P.V.7J();O.2i.17(a.4F(b.2i[c]))}Y O},51:S(){Q a={};a.id=O.id;a.2C=O.2C;a.49=O.49;a.2f=O.2f;a.37=O.37;P.V.5G.gE(O.Z,a);a.2i=[];19(Q b in O.2i){a.2i.17(O.2i[b].51())}Y a},1t:"P.V.b0"});P.V.eR=X P.23({1v:R,1C:R,1j:R,1H:R,ad:R,1I:S(c,b,a){if(c){O.1v=c}if(b){O.1C=b}if(a){P.1o.2R(O,a)}},1A:S(){O.1v=R;O.1C=R;O.1j=R;O.ad=R},2s:S(){Q a=X P.V.eR(O.1v,O.1C);a.1j={};a.1j=P.1o.2v(a.1j,O.1j);a.1H=O.1H;a.ad=O.ad;Y a},1t:"P.V.eR"});P.V.7J=X P.23({4o:R,4O:R,7I:R,1H:R,2U:R,2T:R,Z:{1w:12,3m:"gG gF"},1I:S(a){P.1o.2R(O,a);if(O.4O===R){O.4O=P.V.8U.dn}if(O.7I===R){O.7I=0}},1A:S(){O.4o=R;O.4O=R;O.1H=R;O.Z=R},2s:S(){Q a={4o:O.4o,4O:O.4O,1H:O.1H,Z:P.1o.6b(O.Z)};Y X P.V.7J(a)},4F:S(a){O.4o=a.4o;O.4O=a.4O;O.7I=a.7I;O.1H=a.1H;O.2U=a.2U;O.2T=a.2T;O.Z=P.V.5G.eQ(a);Y O},51:S(){Q a={};a.4o=O.4o;a.4O=O.4O;a.7I=O.7I;a.1H=O.1H;a.2U=O.2U;a.2T=O.2T;P.1o.jL(O.Z,P.U.1N.7j);P.V.5G.gE(O.Z,a);Y a},1t:"P.V.7J"});P.V.jK=X P.23({x:R,y:R,z:R,bZ:R,aZ:R,1I:S(a,e,d,b,c){O.x=3A(a);O.y=3A(e);if(d||d==0){O.z=3A(d)}if(b||b===0){O.bZ=b}if(c){O.aZ=c}},1A:S(){O.x=R;O.y=R;O.z=R;O.7I=R;O.aZ=R},2s:S(a){if(a==R){a=X P.V.jK(O.x,O.y,O.z)}P.1o.jL(a,O);Y a},1t:"P.V.jK"});P.V.nA=X P.23({2C:R,8p:R,7H:R,1I:S(a,c,b){O.8p=a;O.7H=c;O.2C=b},1A:S(){O.8p=R;O.7H=R;O.2C=R},1t:"P.V.nA"});P.V.7E={gD:0,bW:1,eN:2};P.V.6a=X P.23({7F:R,1O:R,1I:S(a){O.7F=P.V.7E.bW;O.1O=[]},1t:"P.V.6a"});P.V.4d=X P.23({1g:R,1b:R,1r:R,3b:R,4h:R,4c:R,aX:R,jD:R,jC:R,1I:S(a){},1t:"P.V.4d"});P.V.jB=X P.23({1c:R,8T:R,bX:R,bY:32,1I:S(a){O.1c=a;O.8T=[];O.bX=[];if(O.bY===R){O.bY=32}},1A:S(){O.1c=R;O.8T=R;O.bX=R;O.bY=R},tr:S(a){O.bY=a},69:S(a){if(O.8T.W>(O.bY-1)){O.8T.2N(0,O.8T.W-O.bY+1)}O.8T.17(a)},tq:S(){Q a=O.8T.W;if(a>0){Q b=O.8T[a-1];O.jJ(b,1a);O.bX.17(b);O.8T.2N(a-1,1)}},tp:S(){Q a=O.bX.W;if(a>0){Q b=O.bX[a-1];O.jJ(b);O.8T.17(b);O.bX.2N(a-1,1)}},jJ:S(2o,aW){Q 1O=2o.1O;if(2o.7F===P.V.7E.gD){19(Q j=0;j<1O.W;j++){if(aW){O.1c.dl(1O[j].3L).4B(1O[j].1b)}13{O.1c.dl(1O[j].3L).5r(1O[j].1b)}}}13{if(2o.7F===P.V.7E.bW){19(Q i=0;i<1O.W;i++){Q 1g=O.1c.dl(1O[i].3L);Q 1b=R;if(1g){1b=1g.4b(1O[i].1r)}13{1b=P.33.3q().4b(1r)}if(1g===R&&1b===R){1W}Q 3s=1O[i].4c;if(aW){3s=1O[i].4h}if(1O[i].3b==="jI"){if(3s.W>0){1b.T.jI(3s[0])}}13{if(1O[i].3b==="7G"){if(3s.W>0){1b.T.7G(3s[0])}}13{if(1O[i].3b==="6k"){if(3s.W>0){1b.T.6k(3s[0],3s[1])}}13{if(1O[i].3b==="gC"){if(3s.W>0){1b.T.gC(3s[0])}}13{if(1O[i].3b==="jH"){if(3s.W==2){1b.T.jH(3s[0],3s[1])}}13{if(1O[i].3b==="jG"&&1b.T 1l P.U.4n){if(3s.W>0){1b.T.jG(3s[0])}}13{if(1O[i].3b==="jF"&&1b.T 1l P.U.3I){if(3s.W>0){1b.T.jF(3s[0])}}13{if(1O[i].3b==="dm"){if(3s.W>0){if(3s[0]&&3s[0].1b&&3s[0].1b.1g){3s[0].1b.1g.4B(3s[0].1b)}if(aW){1b.T.aY(3s[0])}13{1b.T.dm(3s[0])}}}13{if(1O[i].3b==="aY"){if(3s.W>0){19(Q m=0;m<3s[0].W;m++){if(3s[0][m]&&3s[0][m].1b&&3s[0][m].1b.1g){3s[0][m].1b.1g.4B(3s[0][m].1b)}}if(aW){19(Q m=0;m<3s[0].W;m++){1b.T.dm(3s[0][m])}}13{1b.T.aY(3s[0])}}}13{if(1O[i].3b==="gA"||1O[i].3b==="gz"){if(aW){if(1g&&1O[i].4h.W>0){1g.gB(1O[i].4h[0])}}13{if(1g&&1O[i].3b==="gA"){1g.gA(1O[i].4c[0])}13{if(1g&&1O[i].3b==="gz"){1g.gz(1O[i].4c[0])}}}}13{if(1O[i].3b==="jE"){if(3s.W>0){1b.T.jE(3s[0],3s[1])}}13{if(1O[i].3b){Q eO="";19(Q j=0;j<3s.W;j++){if(P.1o.4g(3s[j])){eO+="["+3s[j]+"]"}13{eO+=3s[j]}if(j!==3s.W-1){eO+=","}}eP("1b.T."+1O[i].3b+"("+eO+")")}}}}}}}}}}}}if(1O[i].aX){Q gy=1O[i].jD;if(!aW){gy=1O[i].jC}if(1b.T.2k(1O[i].aX)){1b.T[1O[i].aX]=gy}13{1b.Z[1O[i].aX]=gy}}if(1b&&1b.1g){if(1b.T.1s===P.V.1i.5b&&1b.T.2c===8&&(1O[i].aX==="3z"||1O[i].aX==="3m")){1b.T.1u()}1b.1g.8o(1b);1b.1g.1p.1E("bV",{1h:[1b]})}}}13{if(2o.7F===P.V.7E.eN){19(Q i=0;i<1O.W;i++){if(aW){O.1c.dl(1O[i].3L).5r(1O[i].1b)}13{O.1c.dl(1O[i].3L).4B(1O[i].1b)}}}}}},1t:"P.V.jB"});P.V.gw=P.23({5a:["nv","nu","nx","nw","to","tn"],1p:R,3n:R,1X:R,3f:R,1c:R,5V:R,1I:S(c,a,b){O.3f=[];if(c){O.6j(c)}if(a){O.1X=a}if(b&&b.27){O.27=b.27}O.1p=X P.ac(O,R,O.5a,1a);if(O.3n 1l 6U){O.1p.on(O.3n)}},1A:S(){O.3f=R;O.1c.dk(O.5V);O.5V=R;O.1c=R},6j:S(b){if(R===b){Y 1d}if(O.1c===b){Y 1a}if(R!==O.1c&&R!==O.5V){O.1A();O.3f=[]}O.1c=b;Q a={eM:1d};O.5V=X P.2O.eL("eL",a);Y O.1c.dj(O.5V)},ny:S(c,b,d){Q a=O.nz(c,b);if(R===a){Y R}if(a.nq(d)){O.3f.17(a);Y a}13{Y R}},jz:S(b){if(R===O.3f||R===b||""===b){Y R}Q a=R;19(Q c=0;c<O.3f.W;c++){if(O.3f[c].49===b){a=O.3f[c];1B}}Y a},tm:S(c){Q b=[];if(R===O.3f||c==="1k"||R===c){Y b}19(Q a=0;a<O.3f.W;a++){if(O.3f[a].jx()===c){b.17(O.3f[a])}}Y b},tl:S(b){if(R===O.3f||b==="1k"||R===b){Y R}19(Q a=0;a<O.3f.W;a++){if(O.3f[a].jx().T.1r===b){Y O.3f[a]}}Y R},tk:S(b){if(R===O.3f||R===b||""===b){Y 1d}Q a=O.jz(b);Y O.jA(a)},jA:S(a){if(R===O.3f||R===a){Y 1d}19(Q b=0;b<O.3f.W;b++){if(O.3f[b]===a){a.9p();O.3f.2N(b,1);a.1A();1B}}Y 1a},tj:S(){if(R===O.3f){Y}19(Q a=0;a<O.3f.W;a++){O.jA(O.3f[a])}O.3f=[]},8K:S(){if(R===O.3f||R===O.5V){Y 1d}Q a=1d;19(Q b=0;b<O.3f.W;b++){if(O.3f[b].8K()){a=1a}}if(a){O.5V.8o()}Y a},ti:S(){if(R===O.3f){Y 1d}if(O.3f.W<2){Y 1d}19(Q a=0;a<O.3f.W;a++){if(O.3f[a].1J.eC===1a){Y 1a}}},jw:S(){if(R===O.3f){Y}19(Q a=0;a<O.3f.W;a++){O.3f[a].jw()}},6X:S(){if(R===O.3f){Y}19(Q a=0;a<O.3f.W;a++){O.3f[a].6X()}},jv:S(){if(R===O.3f){Y}19(Q a=0;a<O.3f.W;a++){O.3f[a].jv()}},9p:S(){if(R===O.3f){Y}19(Q a=0;a<O.3f.W;a++){O.3f[a].9p()}},nz:S(c,b){if(R==O.5V||R===b||""===b){Y R}if(R!==O.jz(b)){Y R}Q a=R;6x(c){1z P.V.6v.eB:a=X P.V.iV();1B;1z P.V.6v.jo:a=X P.V.jl();1B;1z P.V.6v.jr:a=X P.V.jq();1B;1z P.V.6v.iZ:a=X P.V.iY();1B;1z P.V.6v.j4:a=X P.V.j2();1B;1z P.V.6v.j1:a=X P.V.j0();1B;1z P.V.6v.jk:a=X P.V.j5();1B;6w:Y R}if(R!=a){a.49=b}Y a},6u:S(){Q b={};b.gx=[];19(Q a=0;a<O.3f.W;a++){b.gx.17(O.3f[a].6u())}Y b},6t:S(g){19(Q d=0;d<g.gx.W;d++){Q h=g.gx[d];Q f=h.nk;Q c=P.33.3q().4b(f);Q b=h.49;Q e=h.2C;if(c&&b&&e!==-1){Q a=O.ny(e,b,c);if(a!==R){a.6t(h)}}}},th:S(a,f){S b(g){O.1p.1E("nx")}S e(g){O.1p.1E("nw")}Q c=X P.1P.nt(O.1X,{ns:a,eK:f});c.1p.on({4m:b,4l:e,3R:O});Q d=X P.1P.nr();d.6i="eJ";d.tg=O.6u();c.4N(d)},tf:S(a){S b(f){Q g=f.2z;O.6t(g);O.1p.1E("nv")}S e(f){O.1p.1E("nu")}Q c=X P.1P.nt(O.1X,{ns:a});c.1p.on({4m:b,4l:e,3R:O});Q d=X P.1P.nr();d.6i="9q";c.4N(d)},1t:"P.V.gw"});P.V.6v={np:-1,eB:0,jo:1,jr:2,iZ:3,j4:4,j1:5,jk:6};P.V.jn={nd:0,nb:1};P.V.gp={nc:0,jm:1};P.V.j3={mT:0,mR:1};P.V.iW={d3:0,jy:1};P.V.8n={ab:0,eI:1,ju:2,js:3,no:4};P.V.4s=P.23({aV:0,bR:5,bU:1d,49:R,8R:P.V.8n.ab,2A:R,1J:R,aP:0,di:1d,jt:0,5i:0,7D:[],1I:S(a){P.1o.2R(O,a)},1A:S(){O.eH(1d);O.nl();O.2A=R;O.8S=R;O.1J=R;O.49=R;O.8R=P.V.8n.ab;19(Q a=0;a<O.7D.W;a++){O.7D[a]=R}O.7D=[]},nq:S(h){if(1k===h||R===h||R===h.1g){Y 1d}Q b=P.33.3q();Q f=b.8L();if(R===f.5V){Y 1d}O.2A=h;O.1J=O.nm(h);if(R===O.1J){Y 1d}O.1J.1g=f.5V;O.1J.T.1g=f.5V;f.5V.ez(O.1J);if(O.8O()===P.V.6v.eB&&h.T.4a.W!==0){19(Q d=0;d<h.T.4a.W;d++){Q a=h.T.4a[d];if(R===a){1W}Q g=a.7i();g.3r=O.1J.T.1r;Q c={1j:g,1c:a.1c,1X:a.1X};Q e=P.U.1N.2Y(a.1v,a.1C,R,c,R);O.7D.17(e);e.1g=f.5V;f.5V.ez(e)}}O.eH(1d);Y 1a},jx:S(){Y O.2A},8O:S(){Y P.V.6v.np},jw:S(){Q a=X 7h();if(O.8R===P.V.8n.ju){O.aP+=a.6W()/68-O.jt}13{O.aP=a.6W()/68}O.di=1d;O.8R=P.V.8n.eI;if(O.2A!==R&&O.2A.1g!==R){O.2A.1g.1p.1E("6Y",{1h:O.2A.1g.1h})}O.eH(1a)},6X:S(){O.8R=P.V.8n.js},jv:S(){O.8R=P.V.8n.ju;Q a=X 7h();O.jt=a.6W()/68},9p:S(){O.8R=P.V.8n.no;O.eH(1d)},8K:S(){Y 1d},aK:S(){if(O.8R!==P.V.8n.eI){Y 1d}Q b=X 7h().6W()/68;if(O.aP+O.aV>b){Y 1d}Q a=O.nn();if((a>1&&O.di)||a<0){Y 1d}13{Y 1a}},nn:S(){if(O.8R!==P.V.8n.eI){Y 0}Q b=X 7h().6W()/68;if(O.aP+O.aV>b){Y 0}Q a=(b-O.aP-O.aV)/O.bR;if(a>=1&&!O.di){if(O.bU){O.aP=X 7h().6W()/68;a=0;O.di=1d;O.8R=P.V.8n.eI}13{a=1;O.di=1a;O.8R=P.V.8n.js}}13{if(a<0){a=0}}O.5i=a;Y a},eH:S(a){Q e="21";Q d="3O";if(R!==O.1J&&R!==O.1J.Z){O.8l(a);O.1J.1g.2l(O.1J)}if(R!==O.2A&&R!==O.2A.Z){if(a){O.2A.Z.21=d;19(Q c=0;c<O.2A.T.4a.W;c++){O.2A.T.4a[c].1b.Z.21=d}}13{O.2A.Z.21=e;19(Q c=0;c<O.2A.T.4a.W;c++){O.2A.T.4a[c].1b.Z.21=e}}if(R!==O.2A.1g){if(O.2A.1g.4Z.1t==="P.2Q.dh"){O.2A.1g.gv()}13{O.2A.1g.2l(O.2A);19(Q c=0;c<O.2A.T.4a.W;c++){Q b=O.2A.T.4a[c].1b;b.1g.2l(b)}}}}},8l:S(a){O.1J.T.1j=gu.gt(P.V.1m.5H(O.2A.T.7i()));O.1J.T.1j.1r=O.1J.T.1r;P.V.5G.4F(O.1J.T,O.1J.T.1j);if(a){O.1J.Z.21="21";19(Q b=0;b<O.7D.W;b++){O.7D[b].Z.21="21";O.7D[b].1g.2l(O.7D[b])}}13{O.1J.Z.21="3O";19(Q b=0;b<O.7D.W;b++){O.7D[b].Z.21="3O";O.7D[b].1g.2l(O.7D[b])}if(O.8O()===P.V.6v.eB){if(R!==O.42){O.42.Z.21="3O";O.1J.1g.2l(O.42)}}}},te:S(a){if(a.T 1l P.U.59||a.T 1l P.U.6K){Y 1a}13{Y 1d}},8k:S(a){if(a.T 1l P.U.59){Y 1a}13{Y 1d}},na:S(a){if(a.T 1l P.U.6K){Y 1a}13{Y 1d}},nm:S(g){Q b=R;Q a=P.33.3q();Q f=a.8L();Q e=f.3f;if(R!==e){19(Q c=0;c<e.W;c++){Q d=e[c];if(d.2A===g){b=d.1J;1B}}}if(R===b){b=P.V.1m.gs(g)}Y b},nl:S(){if(R===O.1J||R===O.1J.1g){Y}Q a=P.33.3q();Q g=a.8L();Q e=g.3f;Q d=1d;if(R!==e){19(Q b=0;b<e.W;b++){Q f=e[b];if(f===O){1W}if(f.1J===O.1J){d=1a;1B}}}if(!d){Q c=[];c.17(O.1J);c=c.4Y(O.7D);O.1J.1g.4B(c)}},6u:S(){Q a={};a.nk=O.2A.T.1r;a.49=O.49;a.aV=O.aV;a.bR=O.bR;a.bU=O.bU;a.2C=O.8O();Y a},6t:S(a){O.aV=a.aV;O.bR=a.bR;O.bU=a.bU},1t:"P.V.4s"});P.V.jq=P.23(P.V.4s,{dg:1d,bT:"#td",df:"#tc",de:1d,aR:0,dd:5,dc:1d,bS:"#gr",db:"#tb",da:1d,aQ:0,d9:1,8O:S(){Y P.V.6v.jr},8l:S(a){P.V.4s.1y.8l.1q(O,1K);if(a){O.1J.Z.2I=O.bT;O.1J.Z.1D=O.aR;O.1J.Z.86=O.bS;O.1J.Z.4W=O.aQ}},8K:S(){if(!O.aK()){Y 1d}Q d=O.5i;Q c=O.nj(d);Q e=O.ni(d);Q a=O.nh(d);Q b=O.nf(d);Y c||e||a||b},nj:S(c){if(!O.dg){Y 1d}Q h=P.V.1m.gq(O.bT);Q f=P.V.1m.gq(O.df);Q e=3V(h.aU+(f.aU-h.aU)*c);Q d=3V(h.aT+(f.aT-h.aT)*c);Q a=3V(h.aS+(f.aS-h.aS)*c);O.1J.Z.2I=P.V.1m.ng({aU:e,aT:d,aS:a});Y 1a},ni:S(a){if(!O.de){Y 1d}O.1J.Z.1D=O.aR+(O.dd-O.aR)*a;Y 1a},nh:S(c){if(!O.dc){Y 1d}Q h=P.V.1m.gq(O.bS);Q f=P.V.1m.gq(O.db);Q e=3V(h.aU+(f.aU-h.aU)*c);Q d=3V(h.aT+(f.aT-h.aT)*c);Q a=3V(h.aS+(f.aS-h.aS)*c);O.1J.Z.86=P.V.1m.ng({aU:e,aT:d,aS:a});Y 1a},nf:S(a){if(!O.da){Y 1d}O.1J.Z.4W=O.aQ+(O.d9-O.aQ)*a;Y 1a},6u:S(){Q a=P.V.4s.1y.6u.1q(O,1K);a.dg=O.dg;a.bT=O.bT;a.df=O.df;a.de=O.de;a.aR=O.aR;a.dd=O.dd;a.dc=O.dc;a.bS=O.bS;a.db=O.db;a.da=O.da;a.aQ=O.aQ;a.d9=O.d9;Y a},6t:S(a){P.V.4s.1y.6t.1q(O,1K);O.dg=a.dg;O.bT=a.bT;O.df=a.df;O.de=a.de;O.aR=a.aR;O.dd=a.dd;O.dc=a.dc;O.bS=a.bS;O.db=a.db;O.da=a.da;O.aQ=a.aQ;O.d9=a.d9},1t:"P.V.jq"});P.V.jl=P.23(P.V.4s,{bQ:jp,d7:P.V.jn.nd,d6:0,bP:P.V.gp.nc,aO:"#d8",aN:"#5N",1I:S(a){P.V.4s.1y.1I.1q(a)},8O:S(){Y P.V.6v.jo},8K:S(){if(!O.aK()){if(O.2A.Z.21==="3O"&&O.1J.Z.21==="3O"){O.1J.Z.21="21";Y 1a}Y 1d}Q d=X 7h();Q e=d.6W()/68;Q c=O.bQ/68;if(O.d7===P.V.jn.nb){c=O.bQ=O.bR/O.d6}S a(h,f){19(Q g=0;g<h.T.11.W;g++){if(h.T.11[g]1l P.U.5o){if(h.T.1s===P.V.1i.4C){h.Z.3z=f}13{h.T.11[g].Z.3z=f}}}}Q b=(e-O.aP)%(c);if(b<=c/2){if(O.bP===P.V.gp.jm){a(O.1J,O.aO);O.1J.Z.2I=O.aO;O.1J.Z.3z=O.aO;O.1J.Z.21="21"}13{O.1J.Z.21="3O"}}13{O.1J.Z.21="21";if(O.bP===P.V.gp.jm){a(O.1J,O.aN);O.1J.Z.2I=O.aN;O.1J.Z.3z=O.aN}}Y 1a},6u:S(){Q a=P.V.4s.1y.6u.1q(O,1K);a.d7=O.d7;a.bQ=O.bQ;a.d6=O.d6;a.bP=O.bP;a.aO=O.aO;a.aN=O.aN;Y a},6t:S(a){P.V.4s.1y.6t.1q(O,1K);O.d7=a.d7;O.bQ=a.bQ;O.d6=a.d6;O.bP=a.bP;O.aO=a.aO;O.aN=a.aN},1t:"P.V.jl"});P.V.j5=P.23(P.V.4s,{6J:0,6V:1,n9:50,gn:0,5M:0,18:[],1I:S(a){P.V.4s.1y.1I.1q(a);O.18=[];O.5M=0},8O:S(){Y P.V.6v.jk},eD:S(e){Q a,d,b;if(O.5M===0){O.18=O.2A.T.18;a=X P.U.1f((O.18[0].x+O.18[1].x)/2,(O.18[0].y+O.18[1].y)/2);O.5M+=P.V.1m.2J(a,O.18[2]);19(d=3;d<O.18.W;d++){O.5M+=P.V.1m.2J(O.18[d-1],O.18[d])}}if(0===e){O.8m();Y 1a}Q g=[];Q c=[];a=X P.U.1f((O.18[0].x+O.18[1].x)/2,(O.18[0].y+O.18[1].y)/2);c.17(a);19(d=2;d<O.18.W;d++){c.17(O.18[d].2s())}g.17(O.18[0]);g.17(O.18[1]);Q f=O.8N(O.5M*e,c);19(b=1;b<=f.bK;b++){g.17(c[b])}g.17(f.8P);O.1J.T.18=[];O.1J.T.18=g;Y 1a},j6:S(f){if(O.18.W===0){Q m=O.2A.T.18;O.18=P.V.1m.ta(m)}if(0===f){O.8m();Y 1a}Q e=O.18;if(4!=e.W){Y 1d}Q k=e[0];Q j=e[1];Q h=e[2];Q g=e[3];Q d=P.V.1m.2J(k,g);Q c=P.V.1m.2J(j,h);Q a=P.V.1m.aa(k,g,d*f);Q b=P.V.1m.aa(j,h,c*f);Q l=[];l.17(k);l.17(j);l.17(b);l.17(a);O.1J.T.18=[];O.1J.T.18=l;Y 1a},mV:S(d){if(O.5M===0){O.18=O.2A.T.18;O.5M=P.V.1m.aM(O.18)}if(0===d){O.8m();Y 1a}Q f=[];Q c=P.V.1m.3F(O.18);Q e=O.8N(O.5M*d,c);19(Q b=0;b<=e.bK;b++){f.17(c[b])}f.17(e.8P);Q a=[];if(f.W<3){a.17(f[0].2s());a.17(X P.U.1f((f[0].x+f[1].x)/2,(f[0].y+f[1].y)/2));a.17(f[1].2s());f=a}if(P.U.1N.5W(O.1J.T.1v,O.1J.T.1C)){if(O.2A.T.1j.go>f.W){O.8m();Y 1a}}O.1J.T.18=[];O.1J.T.18=f;Y 1a},bL:S(c){if(O.5M===0){O.18=O.2A.T.18;O.5M=P.V.1m.aM(O.18)}if(0===c){O.8m();Y 1a}Q e=[];Q b=P.V.1m.3F(O.18);Q d=O.8N(O.5M*c,b);19(Q a=0;a<=d.bK;a++){e.17(b[a])}e.17(d.8P);if(P.U.1N.5W(O.1J.T.1v,O.1J.T.1C)){if(O.2A.T.1j.go>e.W){O.8m();Y 1a}}O.1J.T.18=[];if(e.W>0&&O.1J.T.3W&&e.W>=O.1J.T.3W){O.1J.T.18=e}Y 1a},n6:S(e){if(O.18.W===0){O.18=O.2A.T.18}Q b=X P.U.1f((O.18[0].x+O.18[1].x)/2,(O.18[0].y+O.18[1].y)/2);Q d=1n.2X(O.18[0].x-O.18[1].x)/2*e;Q a=1n.2X(O.18[0].y-O.18[1].y)/2*e;Q f=X P.U.1f(b.x-d,b.y+a);Q c=X P.U.1f(b.x+d,b.y-a);O.1J.T.18=[];O.1J.T.18.17(f);O.1J.T.18.17(c);Y 1a},n7:S(c){if(O.18.W===0){O.18=O.2A.T.18}Q b=O.18[0].2s();Q a=c*1n.67((O.18[0].x-O.18[1].x)*(O.18[0].x-O.18[1].x)+(O.18[0].y-O.18[1].y)*(O.18[0].y-O.18[1].y));O.1J.T.18=[];O.1J.T.18.17(b);O.1J.T.18.17(X P.U.1f(b.x+a,b.y));O.1J.T.1b=O.1J;Y 1a},gj:S(d){if(O.18.W===0){O.18=O.2A.T.18}if(0===d){O.8m();Y 1a}Q g=[];Q h=O.18.W;Q a=P.V.1m.jh(O.18);if(a===R){O.8m();Y 1a}19(Q b=0;b<h;b++){Q e=P.V.1m.2J(a,O.18[b]);Q c=e*d;if(c>e){Y 1d}Q f=P.V.1m.aa(a,O.18[b],c);g.17(f)}O.1J.T.18=[];O.1J.T.18=g;Y 1a},n5:S(j){if(O.18.W===0){O.18=O.2A.T.18}if(0===j){O.8m();Y 1a}Q a=O.18.W;Q l=P.V.1m.2J(O.18[0],O.18[O.18.W-1]);Q k=l*j;Q b=X P.U.1f(O.18[0].x+k,O.18[0].y);Q f=2*1n.2r/(a+1);Q g=1n.2r/2+O.1J.T.3p;Q d=b;P.V.1m.jj(O.18[0],g,d);Q h=[];h.17(O.18[0].2s());h.17(d);Q c=d.2s();19(Q e=1;e<a-1;e++){P.V.1m.jj(O.18[0],f,c);h.17(c.2s())}O.1J.T.18=[];O.1J.T.18=h;Y 1a},n4:S(a){if(O.18.W===0){O.18=O.2A.T.18}Q c=P.V.1m.ji(a,O.18[0],O.18[1]);Q b=P.V.1m.ji(a,O.18[0],O.18[2]);O.1J.T.18[1]=c;O.1J.T.18[2]=b;Y 1a},j8:S(d){if(O.18.W===0){O.18=O.2A.T.18}Q h=O.18.W;Q a=P.V.1m.jh(O.18);if(a===R){O.8m();Y 1a}Q g=[];19(Q b=0;b<h;b++){Q e=P.V.1m.2J(a,O.18[b]);Q c=e*d;Q f=P.V.1m.aa(a,O.18[b],c);g.17(f)}O.1J.T.18=[];O.1J.T.18=g;Y 1a},n3:S(b){Q a;if(O.5M===0){O.18=O.2A.T.18;19(a=2;a<O.18.W;a++){O.5M+=P.V.1m.2J(O.18[a-1],O.18[a])}}Q e=[],c=[];19(a=1;a<O.18.W;a++){c.17(O.18[a].2s())}Q d=O.8N(O.5M*b,c);e.17(O.18[0].2s());19(a=0;a<=d.bK;a++){e.17(c[a])}e.17(d.8P);O.1J.T.18=[];O.1J.T.18=e;Y 1a},n2:S(c){Q a;if(O.5M===0){O.18=O.2A.T.18;a=P.V.1m.aJ(O.18);O.5M+=P.V.1m.aM(a)}Q e=[];a=P.V.1m.aJ(O.18,t9);Q d=O.8N(O.5M*c,a);19(Q b=0;b<=d.bK;b++){e.17(a[b].2s())}e.17(d.8P);O.1J.T.18=e;Y 1a},n1:S(c){if(O.18.W===0){O.18=O.2A.T.18}Q d=O.2A.T.2D();Q g=X P.U.1f((d.1Z+d.2b)/2,(d.1Y+d.2g)/2);Q f=[];19(Q b=0;b<O.18.W;b++){Q a=P.V.1m.2J(g,O.18[b])*c;Q e=P.V.1m.aa(g,O.18[b],a);f.17(e)}O.1J.T.18=[];O.1J.T.18=f;Y 1a},n0:S(l){if(O.5M===0){O.18=O.2A.T.18;O.5M=P.V.1m.aM(O.18)}if(0===l){O.8m();Y 1a}Q o=[];Q m=P.V.1m.3F(O.18);if(O.2A.T.1s===P.V.1i.a8||O.2A.T.1s===P.V.1i.a7){Q k=[];k.17(O.18[0]);k.17(X P.U.1f(O.2A.T.2a[1],O.2A.T.2a[2]));Q b=P.V.1m.aM(k);Q n=O.8N(b*l,k);O.1J.T.2a[1]=n.8P.x;O.1J.T.2a[2]=n.8P.y}13{Q c=O.2A.T.2a.W/2;19(Q d=0;d<c;d++){Q h=[];h.17(O.18[0]);h.17(X P.U.1f(O.2A.T.2a[2*d],O.2A.T.2a[2*d+1]));Q a=P.V.1m.aM(h);Q g=O.8N(a*l,h);O.1J.T.2a[2*d]=g.8P.x;O.1J.T.2a[2*d+1]=g.8P.y}}Q f=O.8N(O.5M*l,m);19(Q e=0;e<=f.bK;e++){o.17(m[e])}o.17(f.8P);O.1J.T.18=[];O.1J.T.18=o;Y 1a},8m:S(){O.1J.T.18=[];O.1J.eC=P.U.1N.5W(O.1J.T.1v,O.1J.T.1C)},8l:S(a){P.V.4s.1y.8l.1q(O,1K);O.5M=0;O.18=[];if(O.6J<0){O.6J=0}if(O.6J>1){O.6J=1}if(O.6V<0){O.6V=0}if(O.6V>1){O.6V=1}},8K:S(){if(!O.na(O.2A)){Y 1d}if(!O.aK()){Y 1d}Q b=X 7h().6W();if(O.gn>0&&(b-O.n9)<O.gn){Y 1d}Q a=O.6J+O.5i*(O.6V-O.6J);O.gn=b;Y O.n8(a)},n8:S(c){Q a=1d;Q b=O.1J.T.1C;Q d=O.1J.T.1v;if(0===d){6x(b){1z P.V.1i.jg:1z P.V.1i.jf:1z P.V.1i.je:1z P.V.1i.jd:a=O.gj(c);1B;1z P.V.1i.eG:a=O.n7(c);1B;1z P.V.1i.eF:a=O.n6(c);1B;1z P.V.1i.aL:a=O.n5(c);1B;1z P.V.1i.bO:a=O.n4(c);1B;1z P.V.1i.bN:1z P.V.1i.bM:a=O.j8(c);1B;1z P.V.1i.eE:a=O.n3(c);1B;1z P.V.1i.jc:a=O.n2(c);1B;1z P.V.1i.gm:1z P.V.1i.gl:1z P.V.1i.gk:1z P.V.1i.8Q:Y 1d;1z P.V.1i.jb:a=O.n1(c);1B;1z P.V.1i.a9:1z P.V.1i.a8:1z P.V.1i.a7:a=O.n0(c);1B;6w:a=O.bL(c);1B}}13{if(22===d){6x(b){1z mZ:1z t8:1z mY:1z ja:a=O.eD(c);1B;1z mX:1z t7:1z j9:a=O.j6(c);1B;1z mW:1z t6:a=O.mV(c);1B;1z 32:1z t5:a=O.j8(c);1B;1z j7:a=O.gj(c);1B;1z t4:a=O.gj(c);1B;6w:a=O.bL(c);1B}}13{if(4E===d){6x(b){1z t3:a=O.eD(c);1B;6w:a=O.bL(c);1B}}13{if(t2===d){6x(b){1z t1:a=O.eD(c);1B;1z t0:a=O.j6(c);1B;6w:a=O.bL(c);1B}}13{if(sZ===d){6x(b){1z sY:1z sX:a=O.eD(c);1B;6w:a=O.bL(c);1B}}13{a=O.bL(c)}}}}}O.1J.eC=P.U.1N.5W(O.1J.T.1v,O.1J.T.1C);if(!O.1J.eC){O.1J.T.mU=1a;O.1J.T.1u()}Y a},8N:S(b,d){Q g=0,a=0;Q c;19(c=1;c<d.W;c++){a=P.V.1m.2J(d[c-1],d[c]);if(g+a>=b){1B}g+=a}Q f=X 6U();Q e;if(c<d.W){e=P.V.1m.6T(d[c-1],d[c],b-g,0)}13{e=d[c-1].2s()}f.bK=c-1;f.8P=e;Y f},6u:S(){Q a=P.V.4s.1y.6u.1q(O,1K);a.6J=O.6J;a.6V=O.6V;Y a},6t:S(a){P.V.4s.1y.6t.1q(O,1K);O.6J=a.6J;O.6V=a.6V},1t:"P.V.j5"});P.V.j2=P.23(P.V.4s,{d5:P.V.j3.mT,39:0,36:3Q,8O:S(){Y P.V.6v.j4},8l:S(a){O.1J.T.2f(O.2A.T.3p-O.1J.T.3p,O.1J.T.18[0]);P.V.4s.1y.8l.1q(O,1K)},8K:S(){if(!O.8k(O.2A)){Y 1d}if(!O.aK()){Y 1d}Q a=O.5i;Q c=O.mS(O.39,O.36,a);Q b=O.1J.T.3p;O.1J.T.2f(c-b,O.1J.T.18[0]);Y 1a},mS:S(d,a,e){Q f=0;Q b=a-d;Q c=3V(1n.2X(b/3Q));if(d!==a){if(O.d5===P.V.j3.mR){if(b<0){b=b+3Q*(2*c+1)}f=d+b*e}13{Q g=0;if(b<0){g=b+(c+1)*3Q}13{g=b-c*3Q}if(P.V.1m.5q(g,0)){b=c*3Q}13{b=(3Q-g)+c*3Q}f=d+(3Q-b*e)}}Y f},6u:S(){Q a=P.V.4s.1y.6u.1q(O,1K);a.d5=O.d5;a.39=O.39;a.36=O.36;Y a},6t:S(a){P.V.4s.1y.6t.1q(O,1K);O.d5=a.d5;O.39=a.39;O.36=a.36},1t:"P.V.j2"});P.V.j0=P.23(P.V.4s,{6J:0,6V:1,gi:R,1I:S(a){P.V.4s.1y.1I.1q(a)},8O:S(){Y P.V.6v.j1},8l:S(a){O.gi=R;O.1J.T.58(O.2A.T.2y.x/O.1J.T.2y.x,O.1J.T.18[0]);P.V.4s.1y.8l.1q(O,1K)},8K:S(){if(!O.8k(O.2A)){Y 1d}if(!O.aK()){Y 1d}O.gi=O.1J.T.2y.x;Q b=O.6J;if(b===0){b=0.1}Q a=O.6V;if(a===0){a=0.1}Q c=O.2A.T.2y.x*(b+O.5i*(a-b));O.1J.T.58(c/O.gi,O.1J.T.18[0]);Y 1a},6u:S(){Q a=P.V.4s.1y.6u.1q(O,1K);a.6J=O.6J;a.6V=O.6V;Y a},6t:S(a){P.V.4s.1y.6t.1q(O,1K);O.6J=a.6J;O.6V=a.6V},1t:"P.V.j0"});P.V.iY=P.23(P.V.4s,{d4:1d,bJ:1d,8O:S(){Y P.V.6v.iZ},8K:S(){if(!O.aK()){Y 1d}Q a=O.5i;if(O.d4){O.mP(a)}13{O.mQ(a)}Y 1a},mQ:S(a){Q c="21";Q b="3O";if(O.bJ){if(1-a<0.gh){O.1J.Z.21=c}13{O.1J.Z.21=b}}13{if(1-a<0.gh){O.1J.Z.21=b}13{O.1J.Z.21=c}}},mP:S(c){if(!O.bJ){c=1-c}Q b=3A(c)<0?0:3A(c);b=3A(c)>1?1:3A(c);S a(g,e){19(Q f=0,d=g.T.11.W;f<d;f++){if(g.T.11[f]1l P.U.5o){if(g.T.1s===P.V.1i.4C){g.Z.57=e}13{g.T.11[f].Z.57=e}}}}a(O.1J,b);O.1J.Z.3N=b;O.1J.Z.57=b;O.1J.Z.85=O.2A.Z.85*c;if(O.1J.Z.3P!==1){O.1J.Z.2j=O.2A.Z.2j*c;O.1J.Z.5J=O.2A.Z.5J*c}},6u:S(){Q a=P.V.4s.1y.6u.1q(O,1K);a.d4=O.d4;a.bJ=O.bJ;Y a},6t:S(a){P.V.4s.1y.6t.1q(O,1K);O.d4=a.d4;O.bJ=a.bJ},1t:"P.V.iY"});P.V.iV=P.23(P.V.4s,{bI:1d,bH:1d,8M:0.5,9o:R,iX:R,a5:P.V.iW.d3,6s:R,a6:R,42:R,gf:0,1I:S(a){P.V.4s.1y.1I.1q(a)},1A:S(){if(O.42!==R){Q a=P.33.3q();Q b=a.8L();b.5V.4B([O.42]);O.42=R}P.V.4s.1y.1A.1q(O,1K)},8O:S(){Y P.V.6v.eB},sW:S(a){O.bI=a},8l:S(b){P.V.4s.1y.8l.1q(O,1K);Q c=O.2A.T.3p;Q e=O.1J.T.3p;O.1J.T.2f(c-e,O.1J.T.18[0]);if(b){if(R===O.42||R===O.a6){O.mO();if(O.9o){O.42.Z.2I=O.9o}if(O.8M){O.42.Z.1D=O.8M}}O.42.Z.21="3O";Q a=P.33.3q();Q d=a.8L();d.5V.2l(O.42)}},8K:S(){if(!O.8k(O.2A)){if(R!==O.42){O.42.Z.21="3O"}Y 1d}if(!O.aK()){Y 1d}if(O.bI&&O.42.Z.21==="3O"){O.42.Z.21="21";Q d=P.33.3q();Q j=d.8L();j.5V.2l(O.42)}Q h=O.5i;Q k=h*O.gf;Q f=X 6U();Q l=O.8N(k,O.a6,f);O.iX=l.2s();Q b=O.1J.T.18[0];Q g=l.x-b.x;Q e=l.y-b.y;O.1J.T.2n(g,e);if(O.bH){Q c=f.mN;if(h===1){c=0}Q a=O.1J.T.3p;O.1J.T.2f(c-a,O.1J.T.18[0])}Y 1a},mM:S(c){if(!c||!P.1o.4g(c)||2>c.W){O.6s=[O.2A.T.eA()[0],O.2A.T.eA()[0]]}O.6s=[];O.6s=P.V.1m.3F(c);if(R!==O.42){Q a=P.33.3q();Q b=a.8L();b.5V.gg(O.42);O.42.1A();O.42=R}},sV:S(){Y P.V.1m.3F(O.6s)},sU:S(){Y O.iX},sT:S(a){if(!a){Y}O.9o=a;if(!O.42||R===O.42){Y}O.42.Z.2I=O.9o},sS:S(){Y O.9o},sR:S(a){if(!a){Y}O.8M=a;if(!O.42||R===O.8M){Y}O.42.Z.1D=O.8M},sQ:S(){Y O.8M},sP:S(b){if(1k===b||R===b){Y}if(O.a5===b){Y}O.a5=b;if(R!==O.42){Q a=P.33.3q();Q c=a.8L();c.5V.gg(O.42);O.42.1A();O.42=R}},sO:S(){Y O.a5},mO:S(){if(R===O.6s||2>O.6s.W){O.6s=[O.2A.T.eA()[0],O.2A.T.eA()[0]]}if(O.42===R){if(O.a5===P.V.iW.d3){O.a6=P.V.1m.3F(O.6s)}13{O.a6=P.V.1m.aJ(O.6s)}Q c=X P.U.6H(O.a6);O.42=X P.5L.4f(c);O.42.Z=P.1o.2v(O.42.Z,O.1J.Z);O.42.T.7C();Q a=P.33.3q();Q d=a.8L();d.5V.ez(O.42)}O.gf=0;19(Q b=1;b<O.a6.W;b++){O.gf+=P.V.1m.2J(O.a6[b-1],O.a6[b])}Y O.42},8N:S(b,d,f){Q g=0,a=0;Q c;19(c=1;c<d.W;c++){a=P.V.1m.2J(d[c-1],d[c]);if(g+a>=b){1B}g+=a}Q e=P.V.1m.6T(d[c-1],d[c],b-g,0);if(O.bH){f.mN=P.V.1m.7g(e,d[c])/1n.2r*2M}Y e},6u:S(){Q b=P.V.4s.1y.6u.1q(O,1K);b.bI=O.bI;b.bH=O.bH;b.a5=O.a5;b.8M=O.8M;b.9o=O.9o;b.6s=[];19(Q a=0;a<O.6s.W;a++){b.6s.17({x:O.6s[a].x,y:O.6s[a].y})}Y b},6t:S(b){P.V.4s.1y.6t.1q(O,1K);O.bI=b.bI;O.bH=b.bH;O.a5=b.a5;O.8M=b.8M;O.9o=b.9o;Q c=[];19(Q a=0;a<b.6s.W;a++){c.17(X P.U.1f(b.6s[a].x,b.6s[a].y))}O.mM(c)},1t:"P.V.iV"});P.V.mI=P.23(P.mL,{1I:S(a){P.mL.1y.1I.1q(O,1K);O.87()},mK:S(){O.mJ();Q a=O;a.ge&&9e.sN(a.ge);a.ge=R;a.ge=9e.sM(a.mK)},mJ:S(){Q a=P.33.3q();Q b=a.8L();b.8K()},1t:"P.V.mI"});P.3J.g8=P.23(P.3J.g9,{1b:R,cY:1,cX:1,6h:R,7y:R,bE:10,ev:R,1I:S(a){P.3J.g9.1y.1I.1q(O,[a]);O.1b=a.1b;O.mH()},1A:S(){P.3J.g9.1y.1A.1q(O,1K)},mH:S(){O.mG();Q a=O.sL(O.ew[0],O.ew[1]);O.1Q=a.1Q;O.mF(a,0,0)},ex:S(b){Q e=[X P.U.1f(0,0),X P.U.1f(b.w,0),X P.U.1f(b.w,b.h),X P.U.1f(0,b.h),X P.U.1f(0,0)];Q a=X P.U.5h(e);Q d=X P.U.4S([a]);d.2f(O.1b.T.3p,X P.U.1f(0,0));Q c=d.2D();b.w=c.5p();b.h=c.5F()},mG:S(){Q m=X P.ey(0,0);Q j=O.1b.T.11[0].Z.1D;if(O.1b.T.1H.W===0||(O.1b.T.1H.W>0&&O.1b.T.2c===8)){O.1b.T.2D();O.6h=O.1b.T.3H;O.ev=X P.U.1f((O.6h.1Z+O.6h.2b)/2,(O.6h.2g+O.6h.1Y)/2);m=X P.ey(O.1b.T.2t.w,O.1b.T.2t.h);m.w=1n.5U(m.w);m.h=1n.5U(m.h);O.7y=X P.5B(0,0,m.w,m.h);m.w+=j+O.bE;m.h+=j+O.bE;O.ex(m);O.cY=O.cX=1/O.1b.T.1c.3o()}13{O.1b.T.2D();Q b=O.1b.T.3H;O.ev=X P.U.1f((b.1Z+b.2b)/2,(b.2g+b.1Y)/2);m=X P.ey(O.1b.T.2t.w,O.1b.T.2t.h);m.w=1n.5U(m.w);m.h=1n.5U(m.h);O.1b.T.7C(1a);O.6h=O.1b.T.3H;O.ex(m);Q d=b.5p(),l=b.5F();Q f=m.w,c=m.h;O.cY=f/d;O.cX=c/l;m.w=O.cY*O.6h.5p();m.h=O.cX*O.6h.5F();Q e=1n.5U((b.1Z-O.6h.1Z)/O.6h.5p()*m.w);Q k=1n.5U((b.2b-O.6h.1Z)/O.6h.5p()*m.w);Q h=1n.5U((-b.1Y+O.6h.1Y)/O.6h.5F()*m.h);Q a=1n.5U((-b.2g+O.6h.1Y)/O.6h.5F()*m.h);O.7y=X P.5B(e,a,k,h);m.w+=j+O.bE;m.h+=j+O.bE;O.cY=O.cX=1/O.1b.T.1c.3o();O.1b.T.7C(1d)}O.iU=[0,0];Q g=X P.U.1f(O.1b.T.18[0].x,O.1b.T.18[0].y);O.9g(g);O.iU=[g.x,g.y];O.ew=[m.w,m.h]},8j:S(b,c,d){S e(n,r){Q m=n.a4(1,3);Q q=3V(m,16);Q l=n.a4(3,5);Q p=3V(l,16);Q o=n.a4(5);Q k=3V(o,16);Y"iT("+q+","+p+","+k+","+r+")"}if(c.21&&c.21==="3O"){b.21=c.21}13{if(b.2S){if(d.2L===P.V.4X.bG){b.1D=c.4W*2+c.1D}13{b.1D=c.4W}b.2I=c.86;b.3N=c.85}13{if(!b.6r){b.1D=c.1D}if(!b.aI){b.2I=c.2I;b.3N=c.3N}if(!b.9n){b.5K=c.5K}}if(!b.8J){if(b.2h 1l P.3J.aH){b.2h.1A();b.2h=R}if(c.41==="8H"||c.41==="8G"){Q a=d.2D();Q g=O.8I(X P.U.1f(a.1Z,a.1Y));Q f=O.8I(X P.U.1f(a.2b,a.2g));Q h=O.8I(X P.U.1f((a.1Z+a.2b)/2,(a.1Y+a.2g)/2));Q j=1n.2X(g[0]-f[0])>1n.2X(g[1]-f[1])?1n.2X(g[0]-f[0]):1n.2X(g[1]-f[1]);b.2q=1a;if(c.41==="8H"){b.2h=O.1Q.iS(g[0],g[1],f[0],g[1])}13{if(c.41==="8G"){b.2h=O.1Q.iR(h[0],h[1],0,h[0],h[1],j)}}b.2h.7f(0,e(c.2h,c.2j));b.2h.7f(1,e(c.4T,c.5J))}13{if(c.3P===1){c.2q=1d}13{c.2q=1a}b.2q=c.2q;b.2h=c.2h;b.2j=c.2j}}13{if(!b.aG){b.2h=b.2I;b.2j=b.3N}}if(!b.6I||b.6I===1d){b.1w=c.1w}if(!b.7e||b.7e===1d){b.3z=c.3z}if(!c.57||c.57!==1k){b.57=c.57}if(!c.3m||c.3m!==1k){b.3m=c.3m}if(b.2u===1k&&c.2u!==1k){b.2u=c.2u}if(b.6I!==1a&&b.7e!==1a){if(c.3K!==1k){b.3K=c.3K}if(c.3Z!==1k){b.3Z=c.3Z}if(c.4r!==1k){b.4r=c.4r}if(c.5T!==1k){b.5T=c.5T}if(c.5S!==1k){b.5S=c.5S}if(c.66!==1k){b.66=c.66}if(c.65!==1k){b.65=c.65}if(c.5E!==1k){b.5E=c.5E}if(c.64!==1k){b.64=c.64}if(c.5D!==1k){b.5D=c.5D}if(c.5C!==1k){b.5C=c.5C}if(c.3e!==1k){b.3e=c.3e}if(c.3i!==1k){b.3i=c.3i}}if(c.21==="3O"){b.21=c.21}13{b.21="21"}if(b.4L<0){b.4L=1n.2X(b.4L)}if(b.4M<0){b.4M=1n.2X(b.4M)}if(b.1w<0){b.1w=1n.2X(b.1w)}}},mF:S(b,j,h){b.6G(j,h);Q c=O.1b.T;Q e=c.11;Q f=O.9g(X P.U.1f(O.ev.x,O.ev.y));Q a=X P.5B(f.x,f.y,f.x,f.y);19(Q d=0;d<e.W;d++){Q g=e[d];O.8j(g.Z,O.1b.Z,c);if(P.U.5h&&(g 1l P.U.5h)){Q l=P.V.1m.3F(g.11);O.eu(b,l,g.Z,a)}13{if(P.U.6H&&(g 1l P.U.6H)){Q l=P.V.1m.3F(g.11);O.gd(b,l,g.Z,a)}13{if(P.U.4S&&(g 1l P.U.4S)){Q l=P.V.1m.3F(g.11[0].11);O.eu(b,l,g.Z,a)}13{if(P.U.d2&&(g 1l P.U.d2)){Q l=P.V.1m.3F(g.11);O.gc(b,l,g.Z,a)}13{if(P.U.1f&&(g 1l P.U.1f)){Q k=X P.U.1f(g.x,g.y);O.9k(b,"",k,g.Z)}13{if(g.1t==="P.U.5o"){Q k=X P.U.1f(g.x,g.y);O.9k(b,g.8F,k,g.Z)}}}}}}}O.7y=a},gd:S(b,d,c,e){O.9g(d[0]);e.2R(d[0]);b.er();b.8E(d[0].x,d[0].y);19(Q a=1;a<d.W;a++){O.9g(d[a]);e.2R(d[a]);b.7z(d[a].x,d[a].y)}b.7A=c.3N;b.9m=c.5R;b.bF=c.2I;b.9l=c.1D;b.3h()},gc:S(a,c,b,d){a.er();if(b.2q){a.7d=b.2h;a.2q()}a.bF=b.2I;a.9l=b.1D;O.9g(c[0]);O.9g(c[1]);d.2R(c[0]);d.2R(c[1]);a.sK(c[0].x,c[0].y,c[1].x-c[0].x,c[1].y-c[0].y)},eu:S(c,e,d,f){c.er();O.9g(e[0]);f.2R(e[0]);c.8E(e[0].x,e[0].y);19(Q b=1;b<e.W;b++){O.9g(e[b]);f.2R(e[b]);Q a=e[b].x;Q g=e[b].y;c.7z(a,g)}c.iN();if(d.2q){c.7d=d.2h;c.2q()}c.bF=d.2I;c.9l=d.1D;c.3h()},9k:S(b,f,a,c){O.9g(a);c=P.1o.2R({3z:"#9j",2u:"cm"},c);Q d=X gb(c.1w)+"px";Q e=[c.3Z?c.3Z:"6q","6q",c.3K?c.3K:"6q",c.1w?d:"a3",c.3m?c.3m:"d1-d0"].8i(" ");b.7d=c.3z;b.9i=e;if(c.a0){O.mE(b,a,c)}13{if(b.9h){b.cZ=P.2Q.5g.aF[c.2u[0]]||"84";b.ga=P.2Q.5g.aF[c.2u[1]]||"et";b.9h(f,a.x,a.y)}}},9g:S(a){a.x=(a.x-O.6h.1Z)*O.cY+O.bE/2;a.y=(O.6h.1Y-a.y)*O.cX+O.bE/2;Y a},mE:S(c,a,e){Q d=S(){Q f=O.Z;Q g=f.4L||f.4M;Q n=f.4M||f.4L;g=g?g:f.cW*2;n=n?n:f.cW*2;Q k=(f.a2!=1k)?f.a2:-(0.5*g);Q h=(f.a1!=1k)?f.a1:-(0.5*n);Q j=f.bD||f.2j;Q q=O.5f;Q p=q.x;Q m=q.y;if(!7B(p)&&!7B(m)){c.9f();Q o;if(f.cV){o=f.cV/2M*1n.2r}c.6G(p,m);if(o){c.2f(o)}c.6G(k,h);c.7A=j;Q l=P.2Q.5g.mD||(P.2Q.5g.mD=/sJ 2.1/.sI(sH.sG.sF())?iQ/9e.sE.3U:1);c.sD(O.mB,0,0,g*l,n*l);c.cU()}};Q b=X g9();b.sC=e.a0;if(e.es){b.iP=e.es}b.iO=S(){d.mC({5f:a,Z:e,mB:b})};b.iO()},sB:S(b,a,c){b.sA(1,0,0,1,0,0);b.6G(a,c);b.er();b.8E(O.7y.1Z,O.7y.1Y);b.7z(O.7y.2b,O.7y.1Y);b.7z(O.7y.2b,O.7y.2g);b.7z(O.7y.1Z,O.7y.2g);b.7z(O.7y.1Z,O.7y.1Y);b.iN();b.2q()},1t:"P.3J.g8"});',62,2246,'||||||||||||||||||||||||||||||||||||||||||||||||||this|SuperMap|var|null|function|geometry|Geometry|Plot|length|new|return|style||components||else||||push|controlPoints|for|true|feature|map|false||Point|layer|features|SymbolType|symbolData|undefined|instanceof|PlottingUtil|Math|Util|events|apply|uuid|symbolType|CLASS_NAME|calculateParts|libID|fontSize|setAttributeNS|prototype|case|destroy|break|code|strokeWidth|triggerEvent|DefaultStyleConfiguration|dragControl|textContent|initialize|animationGOFeature|arguments|geoJSON|scalePoints|PlottingGeometry|transInfos|REST|canvas|dScale|subSymbols|lat|lon|GraphicObject|continue|serverUrl|top|left||display||Class||||credential|||scaleValues|right|textPosition||plotting|rotate|bottom|fillColor|towardNodes|fillOpacity|hasOwnProperty|drawFeature|positionPoints|move|transaction|routeNodes|fill|PI|clone|symbolSize|labelAlign|copyAttributes|LonLat|handlers|initialScale|originResult|goFeature|layers|type|getBounds|opacity|disableEditFeature|getLonLatFromViewPortPx|colorStops|strokeColor|distance|fillCenterOffsetY|surroundLineType|180|splice|Layer|url|Renderer|extend|surroundLineFlag|offsetY|offsetX|labelRotation|GeoGraphicObject|abs|createFeature|timeWindows||||Plotting|||endAngle|positionPoint|drag|startAngle|getPixelFromLonLat|functionName|isSelected|symbolSizeInLib|fontSpace|goAnimations|AvoidRegion|stroke|fontPercent|delete|Primitives|scaleByMap|fontFamily|eventListeners|getResolution|dRotate|getInstance|associatedUuid|functionParams|indexOf|childNodes|fillAngle|color|clearBounds|nHandle|fontColor|parseFloat|selectedFeatures|routeNode|avoidRegions|innerCells|clonePoints|resolution|bounds|GroupObject|Style|fontWeight|layerId|Pixel|strokeOpacity|none|fillSymbolID|360|scope|symbolTexts|selectControl|width|parseInt|minEditPts|route|fillCenterOffsetX|fontStyle||fillGradientMode|pathFeature|EditPoint|||originGeometry|handlePoints||name|geoSymbolTexts|getFeatureByUuid|redoParams|TransactionInfo|centerPoint|Vector|isArray|undoParams|symbolName|subAssociatedUuids|superMapAlgoSymbol|processFailed|processCompleted|GeoRouteNode|routeNodeId|transformSymbolCellToGeometry|anchorPoint|fontStroke|GOAnimation|value|PlottingLayer|Control|drawGraphicObject|space|arrRoutePts|ownGeometry|libIDs|removeFeatures|TEXTSYMBOL|symbolLibData|100|parseSymbolData|fillID|Route|radius|annotationIndex|ownGroupObj|graphicWidth|graphicHeight|processAsync|relLineText|isLocked|document|deactivate|Polygon|fillBackColor|tag|touch|surroundLineWidth|AlgoSurroundLineType|concat|renderer||setSymbolData||slice|handler|startAssociatedUuid|endAssociatedUuid|fontOpacity|resize|DotSymbol|EVENT_TYPES|DOTSYMBOL|result|orbitPoints|limitWidthHeight|point|Canvas|LinearRing|ratio|EditMode|lastResult|joinLines|pntCenter|dragStartControlPoints|GeoText|getWidth|equalFuzzy|addFeatures|isEditable|height|appendChild|nodeFactory|maxEditPts|positionOffsetY|positionOffsetX|custom|editMode|Bounds|fontShadowOffsetY|fontShadowOffsetX|fontShadow|getHeight|AnalysisSymbol|toJSON|negativeImage|fillBackOpacity|strokeDashstyle|Feature|lineLength|ff0000|isEdit|drawGeometry|rotatePoints|strokeLinecap|fontStrokeWidth|fontStrokeColor|round|goAnimationLayer|isAccessServer|inputPoints|towardNode|radiusText||activate|isAddTransInfo|setCursor|fontShadowColor|fontBackgroundColor|fontBackground|sqrt|1000|add|Transaction|cloneObject|NONE|getTransManager|register|symbolRank|Points|boundsWithTextMP|method|setMap|modifyPoint|toString|init|offset|isHaveFill|addFrame|normal|lineWidthLimit|wayPoints|fromJSONData|getJSONData|GOAnimationType|default|switch|symbolCode|getLonLatFromPixel|strokeLinejoin|locked|i18n|lineStyle|selectFeature|resetControlPointsValue|translate|LineString|fontSizeLimit|startScale|AlgoSymbol|GetSymbolInfoParameters|deployments|smlFileName|minScale|maxScale|while|positionOffset|symbolInfo|findPoint|Object|endScale|getTime|stop|featureneedunselected|properties|getLocked|getElementById||smlInfos|resourceInfo||sin|cos|removeChild|reView|radiusPosAngle|prevFontSize|multiple|fillStyle|fontColorLimit|addColorStop|radian|Date|getSymbolData|defaultStyle|smlInfo|dynamicToken|symbolLibs|activeLayer|fromJson|ServiceBase|ServiceEventArgs|measureText|Collection|path|baseVal|click|overFeature|unEditBox|symbolBoundDp|lineTo|globalAlpha|isNaN|calculateBounds|featureSymbolTexts|TransactionType|transType|setPositionPoints|endOrbitPoint|index|TowardNode|layerName|GetSymbolInfoService|featureneedselected|getCenterLonLat|animationManager|LinearGradient|scale|label|cursor|mousemove|isScalePoint|showPathLine|prevLiterateSign|lineRelationType|AlgoSymbolFactory|_sketch|mousedown|controlPointsStyle|dragStartRotate|control|center|surroundLineColorOpacity|surroundLineColor|start|getNodeByUuid|removeAllFeatures|json|pointer|startRouteNode|prevStrokeWidth|radiusLineType|mouseup|active|rootLayer|join|copyCellStyle|isDot|resetAnimationFeature|executeAndRatioIsZero|GOAnimationState|drawFeatures|startOrbitPoint|SATELLITETIMEWINDOWS|POLYLINESYMBOL|useCanvas|centerY|centerX|zoom|split|sitDataManager|innerHTML|finish|prevRouteNode|subSectionCount|textBoxType|dragStartScale|moveTo|text|RADIAL|LINEAR|getLocalXY|fillLimit|execute|getGOAnimationManager|pathWidth|findPos|getGOAnimationType|pts|ANNOFRAMESYMBOL|animationState|plottingLayer|undoTransactions|RelLineText|CONCENTRICCIRCLE|visibility|key|pasteGeoAry|actualScale||RadialGradient|SVG|NavyDeployment|getSymbolWayType|SubSymbols||dStartAngle|dEndAngle|lastPixel|AddPoint_WayType|dragStartScaleValues|scalePointsStyle|modified|window|save|transPointtoDp|fillText|font|000000|drawText|lineWidth|lineCap|lineTypeLimit|pathColor|reset|GET|AVOIDREGION|SYMBOLTEXT|useCanvas2|layerDatas|needCacheList|cacheSymbolData|EditSmlFileParameters|Handler|Canvas2|substr|success|prevScale|strokeGradientMode|flagTextSize|square|g_Plotting|symbolLibManager|transformResult|LABEL_FACTOR|parentNode|sizeFixed|options|GeoLiterateSign|getBoundsByText|transitionPoint|isShowTooltip|scaleBeforeOffsetY|scaleBeforeOffsetX|ScaleValues|_dragPixel|plottingEdit|clickFeature|dragStartBounds|unselectFeatures|ctrlKey|externalGraphic|graphicYOffset|graphicXOffset|1em|substring|pathType|shapePoints|LINEMARKING|SYMBOLTEXTBOX|ANNOFRAMESYMBOLM|linePnt|UNKNOWN|Events|totalNum|ADDCONTROLPOINT|OUT|SYMBOLTEXT1|SATELLITE|AIRDEPLOYMENT|NAVYDEPLOYMENT|LINERELATION|getSymbolLibByLibId|pasteGeoSel|error|setSymbolSize|270|drawTextPt|atan2|visible|setBounds|setRotate|inner|polylineConnectLocationPoint|featureneedreset|getCpGeos|drawControl|resetControlPoints|avoidControl|box|callback|getSketch|LABEL_ALIGN|fillColorLimit|Gradient|lineColorLimit|generateBeizerPointsNoCtrlPt|canExecute|REGULARPOLYGON|polylineDistance|endColor|startColor|innerStartTime|startSurroundLineWidth|startLineWidth|blue|green|red|startTime|isUndo|propertyName|removeAvoidRegions|time|RouteNode|INNER|SMLTime|SMLAuthor|SMLDepat|SMLSeclevel|SMLDesc|SMLName|mapInfo|ExtendProperty|EditSmlFileService|getCurrentLayer|count|selectFeatureByPoint|dotSymbolSize|transManager|query|editor|dpi|newScalePoint|tan|isCanFill|dOffset|patternTransform|setScale|FlagGroup|isCurve|getRotate|nextRouteNodeType|highlightStyle|colNum|updateSymbolTexts|middleMarkBounds|getScale|getDataFromServer|dRadius|viewPortDiv|avoidEditing|mouseDown|graphicOpacity|extent|strokeStyle|ALL|tangentDirection|showPath|finalDisplay|pos|execute_Generalization|POLYGONREGION|ARBITRARYPOLYGONSYMBOL|ELLIPSESYMBOL|replaceStyle|blinkInterval|duration|startSurroundLineColor|startLineColor|repeat|featuremodified|EDIT|redoTransactions|maxCount|number|EDITCIRCUMRECTANGLE|AlignType|FLAGGROUP|LITERATESIGN|PATHTEXT|ARCREGION|GROUPOBJECT|400|getNodeFeature|symbolcreated|strokeBackColor||strokeBackOpacity|dotTextSpace|solid|jsonp|newScalePointIndex|createGradient|ctx|pow|setCanvasStyle|labelYOffset||labelXOffset|linecap|transform|textRoot|setAttribute|vectorRoot||subFeatures|clearCollectionBounds|resizeControlPoints|||endRouteNode|computePointToLineMinDis|LineRelation|setJoinLineToGeometry|isAvoid|image|leadLineDrawFlag|positionOffsetType|nSegmentCount|removeEditFeature|setCursorShape|layerMoveEnd|selectGraphic|defaultControlPointStyle|dragStartScalePoints|getToleranceLonLat|unselectFeature|stoppedDown|lastTouchPx|lastUp|tolerancePixel|restore|rotation|pointRadius|ratioY|ratioX|textAlign|serif|sans|Rectangle|POLYLINE|showEffect|rotateDirection|blinkNumber|blinkStyle|0000ff|endSurroundLineWidth|surroundLineWidthAnimation|endSurroundLineColor|surroundLineColorAnimation|endLineWidth|lineWidthAnimation|endLineColor|lineColorAnimation|PlotCanvas2|lastExecute|addLayer|removeLayer|getLayer|addAvoidRegion|ONLEFTLINE|REMOVECONTROLPOINT|EDITCONTROLPOINT|1016|ROUTENODE|MISSILEROUTE|NAVYROUTE|AIRROUTE|INTERFERENCEBEAM|isInializeOK|isBaseLayer||renderers|lineJoin|getSymbolLibManager|getDefaultStyle|GetSMLInfosResult|failure|request|EditSmlFileResult|GetSymbolInfoResult|GetLibInfoResult|GetLibIDsResult|getContext|mozDrawText|mozMeasureText|PlotSVG|points|msie|getTextWidth|LABEL_ID_SUFFIX|0px|dblclick|removeComponents|AssociatedUuid|Uuid|SatelliteTimeWindows|ArcRegion|distVincenty|createGeometry|clearSamePts|lastComponents|featureneedhighlight|isLastNode|isFirstNode|textToLineDistance|showPathLineArrow|arrowBodyType|arrowTailType|arrowHeadType|islocationCircle|roundBox|scaleStrokeWidth|fontIndexs|avoidRegion|onDrag|outFeature|Element|defaultScalePointStyle|isRemovePoints|changeRootLayer||unregister|isDrawing|modifyFeature|getSymbolDataFromCache|beginPath|graphicTitle|middle|drawPolygon|symbolCenter|size|rotateSize|Size|addFeature|getControlPoints|ANIMATION_WAY|grow|execute_1004|PARALLELLINE|RECTANGLESYMBOL|CIRCLESYMBOL|showAnimationFeature|PLAYING|POST|isCover|GOAnimationLayer|displayInLayerSwitcher|REMOVE|parameter|eval|getStyle|SubSymbol|position|generateUuid|ARROW|LineRelationType|PICTURE|1023|symbolNodeType|cachedSymbolList|cacheCompleted|floor|symbolNames|getSymbolName|silent|symbolCreated|getEditable|addLayers|GetSMLInfosParameters|getLayersByClass|mergeDefaultStyle|ServiceFailedEventArgs|ServiceException|toUrlParameters|isInTheSameDomain|Array|body|getSpatialData|handleSurroundLine|VML|PlotCanvas|defs|polygon|pointerEvents|toGeoJson|fromGeoJson|calculateOffset|getArcPts|constantSize|ceil|setTextPosition|minDis|highlightFlag|||removeJoinLineToGeometry|copyFontStyle|addOrRemoveSurroundLine|arrowTypeEnd|arrowTypeStart|offsetYBeforeScaleByMap|offsetXBeforeScaleByMap|getHandleAndRotatePoints|AvoidRegions|TextContent|Rotate|Scale|extendProperty|GetPtsByTriangle|getArcSpatialData|collectControlPoints|last|started|removeItem|featureModified|moveend|onComplete|Temporary|graphicsLayer|isRemoveFeature|dragStartPositionOffset|_lastPixel|layerOptions|startResolution|isFreeCurve|stopDown|Event|lastDown|isNewAdd|modify|DotSymbolImage|Image|textBaseline|String|drawRectangle|drawLineString|timeoutId|pathLength|removeFeature|01|lastScale|execute_Kidney|ARCSYMBOL|CHORDSYMBOL|PIESYMBOL|lastDrawTime|algoMinEditPts|BlinkAnimationReplaceStyle|colorStringToRGB|ffff00|copyFeature|parse|JSON|redraw|GOAnimationManager|animations|propertyValue|createFlags|createGroupObject|unGroupObject|setTextContent|CREATE|setStyle|YaHei|Microsoft|SymbolText|EqualLargeType|RadiusLineType|ONRIGHTLINE|RouteNodeType|EDITABLECONTENTBOX|COMBINATIONALCIRCLE|ARROWLINE|MapInfoStruct|fromJSON|Property|png|random|GetLibInfoService|symbolLibJsons|initializeCompleted|initializeSymbolLib|pasteToPositionAndLayer|load|sitData|createTextWC|createSymbolWC|getExtendProperty|DrawFeature|getSMLInfosFailed|timeout|dataType|fileElementId|secureuri|ajaxFileUpload|getFeatureCenter|containsPoint|defaultFlag|clientID|data|fileArray|graphicObject|315|225|135|strokeText|Mg|MultiPolygon|MultiLineString|MultiPoint|hitContext|backgroundGraphic|isFilled|firstChild|element|Browser|_shadow|div|_|Picture|newSymbolData|9999|innerOutlineDir|controlSize|circlePoint|Time|Number|02|getPositionPoints|transformSymbolCellsToGeometrys|resetComponent|RouteNodePrimitives|AirDeployment|getSubSymbolCount|spaceDisLen|GeoSymbolText1|prevOffsetY|prevOffsetX|calculateSize|GeoSymbolText|canPolylineConnect|log|console|baseScale|resizeCells|removeComponent|handleAnnotation|prevPositionOffsetY|prevPositionOffsetX|scaleBeforeScaleByMap|annoStyle|setScaleValues|getHandlePointsByBounds|Code|LibID|note|getArcInfo|pt3|defaultAvoidEditPointStyle||moveFeature||dragComplete|dragControlPoint|removeClass|lastDownTime|dragStart|over|onStart||True|Function|calculateInRange|PlottingEdit|plottingGraphicsEdit|setEditMode|removeEditFeatures|featureHighlight|featureReset|featureSelected|featureUnselected|lastDragPixel|event|downPixel|clickout|down|smDefault|RootContainer|drawScaleByMap|createDefaultFeature|drawComplete|cur|cursors|layerContainerDiv|mouseSelectCell|closePath|onload|title|320|createRadialGradient|createLinearGradient|rgba|anchor|GOAnimationWay|WayPathType|currentPt|GOAnimationShow|ANIMATION_SHOW|GOAnimationScale|ANIMATION_SCALE|GOAnimationRotate|RotateDirection|ANIMATION_ROTATE|GOAnimationGrow|execute_1006|390|execute_ArbitraryPolygon|1021|1018|CURVEEIGHT|POLYBEZIERSYMBOL|TRAPEZOIDSYMBOL|PARALLELOGRAM|POLYBEZIERCLOSESYMBOL|KIDNEY|getPolygonCenterPt|findPointOnLineByRatio|rotateAngle|ANIMATION_GROW|GOAnimationBlink|Replace_Color|BlinkAnimationBlinkStyle|ANIMATION_BLINK|500|GOAnimationAttribute|ANIMATION_ATTRIBUTE|STOP|pauseTime|PAUSE|pause|play|getGOFeature|CURVE|findGOAnimationByName|removeGOAnimation|TransactionManager|redoValue|undoValue|updateSymbolText|setStrokeColor|setType|setRadiusText|setFontAlign|doTransaction|OrbitPoint|applyDefaults|UniformDistributionType|RIGHT|LEFT|LINE|PositionOffsetType|NONEBOX|TextBoxType|SOLID|ONLINE|AIMING|TURNING|STANDBY|1024|ALGOSYMBOL|LayerDataStruct|SMLInfoStruct|SitDataStruct|findProperty|SymbolLib|querySymbol|SYMBOL_GROUP|rootSymbolLibNode|querySymbolbyKey|initNeedCacheListForNode|initNeedCacheList|getSymbolNameFromList|SymbolLibManager|GetLibIDsService|Editor|SitDataManager|createText|createSymbol|addControls|setVisibility|setLocked|_getCompletedInit|openSmlFileFailed|GetSMLInfosService|addSmlFileFailed|addSmlFileToLayerFailed|openLocalSmlFileFailed|Query|DefualtStyle|lineOpacity|lineType|lineColor|typeof|getDPI|GetSMLInfosEventArgs|EditSmlFileEventArgs|getSymbolInfoFailed|GetSymbolInfoEventArgs|getSymbolInfoComplted|GetLibInfoEventArgs|GetLibIDsEventArgs|ptMinY|ptMinX|fillRect|createElement|CalculateCanvasGradient|mozTextStyle|labelPosition|rendered|_style|PlotVML|userSpaceOnUse|getElement|StopOpacity|StopColor|dot|hidden|spacingAndGlyphs|lengthAdjust|textLength|baseline|IS_GECKO|_background|stopPropagation|addEventListener|projectPoint|calculateFlagTop|2800|parallel|setPosition|destinationVincenty|Satellite|getBoundsWithText||annotationPosition|getRouteNodeCells|getFeatureEndWith|getFeatureStartWith|MissileRoute|NavyRoute|AirRoute|finishRoute|createRouteNode|initRoute||getFeatureByPoint|setEndFeature|setStartFeature|setFeatures|isFixedPos|setSubSymbolText||showTooltip|InterferenceBeam|PolygonRegion|getTextPosition|fromSuperMapAlgorithms|toSuperMapAlgorithms|isCalculate|equals|getDefaultSubSymbols|setSurroundLineType|geotext|widthHeightLimitScale|generateLeadLine|00|resizeBounds|getHandleCount|Custom|TotalNum|Note|IsLocked|ScaleByMap|Resolution|property|getWithoutPts|calculateAvoidRegion|pt4|GetPointsOfNormal|GetWhichPtOfNormal|calcProtudeC3|isSamePt|calcEllipseRadian|AvoidFeature|removeAvoidRegion|removeAllAvoidRegion|out|graphicsId|unHighlightRoute|highlightRoute|touchTolerance|mouseTolerance|getAddPointTolerance|getSpGeos|collectEditFeatures|setEditFeaturesDisplay|getSelected|unEditBoxStyle|toGeometry|lockedControlPointsStyle|resetStartValues|outFeatureFlag|lastFeature|dbclickFeature|setLayers|done|defaultAvoidRegionStyle|finalize|clear|passesTolerance|cancel|destroyFeature|persist|addControlPoint|create|Pan|Graphics|hitGraphics|container|pointInBounds|localePoints|img|call|drawImageScaleFactor|drawExternalGraphic|drawComponents|computeImageSize|render|GOAnimator|executeGOAnimations|tick|Animator|setWayPoints|angle|makePath|executeHaveEffect|executeNoEffect|AntiClockWise|getCurrentAngle|ClockWise|unClearBounds|execute_1002|1002|1006|1010|1004|execute_AnnotationFrame|execute_CurveEight|execute_Polybezier|execute_ParallelLine|execute_Ellipse|execute_RegularPloygon|execute_Rect|execute_Circle|executeAnimation|timeSpace|isAlgo|Blink_Number|Replace_NoColor|Blink_Frequency||executeSurroundLineWidthAnimation|colorRGBToString|executeSurroundLineColorAnimation|executeLineWidthAnimation|executeLineColorAnimation|goFeatureUuid|removeAnimationFeature|cloneGOFeature|getRatioByTime|RESET|ANIMATION_UNKNOWN|setGOFeature|EditSituationEvolutionFileParameters|evoFileName|EditSituationEvolutionFileService|openEvoFileFailed|openEvoFileCompleted|saveEvoFileFailed|saveEvoFileCompleted|createGOAnimation|createGOAnimationByType|TimeWindowParameter|VERTICAL|LEVEL|SAME|HEIGHT|WIDTH|HORIZONTALCENTER|VERTICALCENTER|DOWN|UP|HAPPYVALLEY|EIGHTSPIRAL|SUPPRESS|ATTACK|TARGET|WEAPONLAUNCH|COMMONROUTE|LANCH|VISUALINITAL|INITIAL|TAKEOFF|SUPPLY|VOLLEY|EXPANDING|RENDEZVOUS|DASH|2000|NODECHAIN|FREECURVE|1015|1014|1013|RUNWAY|1012|BRACESYMBOL|590|380|370|setValue|getPropertyCount|getPropertyByIndex|addProperty|icon|getRootSymbolInfo|getRootSymbolIconUrl|getSymbolLibID|cachedSymbols|SYMBOL_NODE|childNodeCount||symbolLibInitializeFail|symbolLibInitializeSuccess|initializeAsync|cacheSymbolLibCompleted|isInitializeOK|saveSmlFileFailed|saveSmlFileCompleted|getVisibility|getCenter|DELETE|deleteSmlFileFailed|deleteSmlFileCompleted|openSmlFileCompleted|setEditable|openSmlFileOnServer|getSMLInfosCompleted|getSMLInfoFailed|getSMLInfoCompleted|getLayersByName|smlFileDownload|addSmlFileCompleted|addSmlFileOnServer|addSmlFileToLayerCompleted|addSmlFileToLayerOnServer|openLocalSmlFileCompleted|total|FileReader|mergeDefaultStyleToFeature|parserConfiguration|2px|setCredential|setPlotUrl|getSMLInfosComplted|editSmlFileFailed|editSmlFileComplted|toJsonParameters|params|getLibInfoFailed|getLibInfoComplted|getLibIDsFailed|getLibIDsComplted|CalculateSVGGradient|getGradientDirection|calculateObjectByBounds|colorRGBA|createTextureFill|createFillMode|min|max|drawPoint|drawLinearRing|hitDetection|BACKGROUND_ID_SUFFIX|redrawNode|redrawBackgroundNode|patternUnits|pattern|gradientUnits|trim||dash|dashStyle|visiblepainted|symbolMetrics|_rotation||insertBefore||viewBox|getAttributeNS|getPosition||graphicName|toFixed|_geometryClass|getfillMode|browerName|isUnicode|LABEL_VFACTOR|LABEL_VSHIFT|shift|tspan|_tspan_|absolute|auto|transformOrigin|outline|word|wordWrap|selectNode|xhtml|1999|org|www|http|createElementNS|focus|selection|getSelection|drawHtmlText|textDisplay|styleToGeoJson|geoJsonToStyle|algoMaxEditPts|2900|getTextContentsCells|getTextCount|textAnchor|subSymbolDefaultPixelSize|radiusGeometry|textGeometry|circlePts|createLiterateSign|addRouteNodes|addRouteNodeByPos|addRouteNodeByNode|setTimeout|unhighlight|highlight|computeLine|2048|applyStyle|lentth|setSpace|getSpace|getArrowBodyType|transSymbolCellsToLayers|superMapModifyPoint|superMapCalculateParts|28000|intersectPoint|isIntersectLines|intersectLines|getSurroundLinePts|analysisAlgoBasicInfo|analysisSymbolCells|calAccessServerSymbol|calculateTextContent|calNotAccessServerSymbol|calAssistantLine|getSubSymbols|getTextGraphic|transformSymbolCellsToCompontGeometrys|prevSpace|setNegativeImage|getNegativeImage|setSymbolRank|getSymbolRank|getSymbolSize|isSelectedBorder|SLineType|calculateAvoidRegions|254|inch|resizeOffset|getPixel|changeUuid|symbolDataClone|TextPos|SymbolName|geoJson|scaleZ|scaleY|scaleX|rotationZ|rotationY|rotationX|prjCoordSys|parts|removeRedundancySymbolData|setSymbolName|intersectSegs|containRegion||intersects|isPlottingGeometry|parallelline|ellipse|arc|lune|sector|rectangle|circle|parallelogram||loopbezier|bezier|kidney|polyline|getBezierPtsWithScalePts|isRight||reNormalizeKidneyCtrlPoints|calcShapePoints|getKendyShapePts|smDragDown|hideAvoidRegions|showAvoidRegions|drawCompleted|DragFeature|featureCallbacks|dragCallbacks|5f9ea0|avoidEditPointStyle|onGraphicUnSelect|onGraphicSelect|updateGraphics|updateGraphicsLayer|defaultHighlightStyle|addPointByCurve|addPointByPolyLine|removePoint|addPoint|collectEditFeature|defaultUnEditBoxStyle|defaultRotatePointStyle|defaultLockedControlPointStyle|dragControlPoints|dragResize|dragRotate|onMove|hoverMilliSec|onHover|onOver|selectOverFeature|onOut|selectOutFeature|upFeature|featureunselected|featureselected|beforefeatureselected|geometryTypes|selectBoxFeatures|clickoutFeature|onDblclick|addClass|callbacks|00ff00||setControlPoints|eventsDiv|doubleTouchTolerance|destroyFeatures|destroyPersistedFeature|pixelTolerance|button|getImagesLocation|styleMap|PlottingGraphics|addGraphics|Graphic|featurerendered|recordDrawedFeature|crosshair|getFeatureFromEvent|mergeSymbolDataAndServerData|getFeatureById|getFeatureAt|changeRenderers|description|setTransform|drawHitDetectionCanvas|src|drawImage|screen|toLowerCase|userAgent|navigator|test|android|strokeRect|createCanvasContext2D|requestAnimation|cancelAnimation|getPathType|setPathType|getPathWidth|setPathWidth|getPathColor|setPathColor|getCurrentPt|getWayPoints|setShowPath|6031001|60310|123|317|311|421|25200|3911|3211|2002|2006|2004|array|operateControlPoints|00ffff|0000FF|FF0000|isGeoGraphicObject|openEvoFileOnServer|jsonData|saveEvoFile|hasGrowAnimation|removeAllGOAnimation|removeGOAnimationByName|findGOAnimationByUuid|findGOAnimationsByFeature|deleteEvoFileFailed|deleteEvoFileCompleted|redo|undo|setMaxCount|GRADIENTLINE|LINEBOX|RECTBOX|WITHTIPBOX|TRIANGLESOLID|DOUBLELINE|ArrowLineType|BOTTOM|TOP|RIGHTBOTTOM|RIGHTTOP|LEFTBOTTOM|LEFTTOP|AnnoPosition|ONBOTHLINE|3000|1028|WIRE|1027|1026|1025|1022|1020|1019|1017|1011|1009|1008|1007|1005|1003|1001|350|321|319|ANNOFRAMESYMBOLNOFILL|410|getValue|getKey|setKey|getPropertyValue|deleteProperty|version|getVersion|rootSymbolIconUrl|modifyTime|getModifyTime|creator|getCreator|createTime|getCreateTime|classFication|getClassFication|symbolCount|getSymbolCount|cachedSymbolOK|SYMBOL_DOT||symbolLibName||getSymbolLibName|findSymbolByCode|findSymbolByName|cacheSymbolLib|getSymbolLibByIndex|getSymbolLibJSONInfo|getSymbolLibNumber|pasteToLayer|pasteToPosition|paste|cut|copy|cutFeatures|copyFeatures|getZoom|getGObjectByID|getGObjectByName|getGObjectByCode|getGObjectByExtendProperty|deleteSmlFileOnServer|setCenter|getSMLInfos|getSMLInfo|saveLayersToSmlFile|saveAsSmlFile|saveSmlFile|removeControl|newSmlFile|downloadSmlFileURL|uploadSmlFile|addSmlFileToLayer|addSmlFile|target|onloadend|onerror|onloadstart|readAsText|files|openLocalSmlFile|openSmlFile|getSitDataLayers|situationMap|getGObjectsInRect|getGObjectsInCircle|getGObjectsInPolygon|captureGObject|immediateEffect|bold|setDPI|setClientID|getClientID|getQuery|getEditor|getSitDataManager|async|processSync|CanvasRenderingContext2D|createPattern|LABEL_SHIFT|fillOpacity2|fillColor2|CanvasPattern|CanvasGradient|_textureFill|radialGradient|_radialGradient_|linearGradient|_linearGradient_|objectBoundingBox|createDefs|replace|longdashdot|longdash|dashdotdot|dashdot|dasharray|strokeLineJoin|linejoin|isStroked|svg|nodeName|cloneNode|nextSibling|importSymbol|isComplexSymbol|preventDefault|onclick|href|xlinkns|preserveAspectRatio|graphic|_options|0em|lastChild|central|dominant|_featureId|labelSelect|clientWidth|span|firefox||weight|family|rect|getBBox|node|updateNode|selectAll|execCommand|lineHeight|minHeight|maxWidth|translationParameters|zIndex|caretColor|contenteditable|enableEdit|foreignObject|_Selected|_Div|borderPixelSizeY|borderPixelSizeX|select|collapse|moveToElementText|createRange|collapseToEnd|selectAllChildren|marker|images|theme|picture|region|avoid|flagGroup|coordinateTrans|satelliteTimeWindows|isPloyClockwise|arcRegion|getRadiusLineType|setRadiusLineType|getRadiusTextPos|setRadiusTextPos|getRadiusText|getEndAngle|setEndAngle|getStartAngle|setStartAngle|getRadius|setRadius|getCirclePts|findPointInPolyLine|scalesValues|satellite|getVisible|setVisible|getRouteNodeNameByType|setName|missileRoute|navyRoute|||airRoute|setNextRouteNodeType|addRouteNode|insertRouteNode|updateRouteNode|deleteRouteNode|applyNodeStyle|PathText|applyLineStyle|applyTextStyle|300|blinkRoute|lineRelation|getLineRelationType|setLineRelationType|airDeployment|GeoTooltipBox|setShowTooltip|getShowTooltip|navyDeployment|interferenceBeam|pointIsRightToLine|symbolText1|symbolText|setFrame|getFrame|setAvoidLine|getIsAvoidLine|setCurveLine|getIsCurveLine|||setShowPathLineArrow|getShowPathLineArrow|setShowPathLine|getShowPathLine|setRelLineText|getRelLineText|setArrowBodyType|setArrowTailType|getArrowTailType|setArrowHeadType|getArrowHeadType|getLocationCircle|setLocationCircle|getRoundBox|setRoundBox|getTextBoxType|setTextBoxType|setEndArrowType|getEndArrowType|setStartArrowType|getStartArrowType|13700|isCanPolyLineConnectCode|setPolylineConnectLocationPoint|getPolylineConnectLocationPoint|pixel2|equal|findPointInLine|||31401|31400|44300|44400|28201|28200|28100|surroundLineLimit|2em|getAlgoSymbol|getMaxEditPts|getMinEditPts|stream|octet|toDataURL|numRows|getPositionOffsetType|setPositionOffsetType|getPositionOffset|setPositionOffset|getWidthHeightLimit|Boolean|constructor|setWidthHeightLimit|isChildFeatureSelected|groupObject|getStrokeWidth|setStrokeWidth|getStrokeColor|Edit|_label|hasChildNodes|_clip_|calculateControlPts|getSurroundLineType|symbolDefaultStyle|strokelinejoin|strokelinecap|textStyle2D|addTransaction|isRotatePoint|toGeoJsonStr|Value|Key|intersectLineSegs|setSubSymbol|getTextContent|setScaleByMap|getScaleByMap|isNear|getArcPoint|isCounterClockwise|03125|00001|featureadded|PlottingGraphicsEditor|onUnselect|onSelect|SelectGraphic|PlottingGraphicsEdit|uniformDistribution|equalLarge|dispaly|preremovelayer|addlayer|05|caller|callee|dragHandler|deleteSelectFeature|avoidEdit|multiSelect|align|removeMap|collectRoots|resetRoots|SelectFeature|toggle|_container|ffffff|rotatePointStyle|distanceTo|mouseLeft|mouseout|touchend|touchmove|touchstart|trackingFeature|stopUp|multi|originalSymbolInfo|removeGraphics|getGraphicById|createSymbolizer|renderIntent|State|state|object|smooth|rendererType|AnimatorVector|PanDown|Default|pointToPloyLineDis|ptInBounds|pointInBoundsByPiexl|getFeaturesFromEvent|geoJsonToFeature|createAvoidRegion|createCombinationalCircle|createConcentricCircle|createArrowLine|createPathText|createSymbolText|createSymbolText1|createSatelliteTimeWindows2|createSatelliteTimeWindows1|createSatelliteTimeWindows|Error|throw|createSatellite|createAirDeployment|createNavyDeployment|createMissileRoute|createNavyRoute|createAirRoute|createArcRegion|createPolygonRegion|createInterferenceBeam|createLineRelation|removeFeatureAt|removeFeatureByID|moveed|getControlsByClass|setSelected'.split('|'),0,{}))
/*!
*
* iclient-plot-classic.(http://iclient.supermap.io)
* Copyright© 2000 - 2018 SuperMap Software Co.Ltd
* version: v9.1.1
*
*/!function(t){var e={};function o(l){if(e[l])return e[l].exports;var i=e[l]={i:l,l:!1,exports:{}};return t[l].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.m=t,o.c=e,o.d=function(t,e,l){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:l})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var l=Object.create(null);if(o.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)o.d(l,i,function(e){return t[e]}.bind(null,i));return l},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=57)}([function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BasicAlgoSymbolFactory=void 0,o(49);e.BasicAlgoSymbolFactory=SuperMap.Plot.BasicAlgoSymbolFactory=SuperMap.Plot.BasicAlgoSymbolFactory||{};SuperMap.Plot.BasicAlgoSymbolFactory.getAlgoSymbol=function(t,e,o){if(0===t)switch(e){case SuperMap.Plot.SymbolType.ANNOFRAMESYMBOL:return new SuperMap.Plot.GeoTooltipBox(o);case SuperMap.Plot.SymbolType.ANNOFRAMESYMBOLM:return new SuperMap.Plot.GeoTooltipBoxM(o);case SuperMap.Plot.SymbolType.PATHTEXT:return new SuperMap.Plot.PathText(o);case SuperMap.Plot.SymbolType.ARROWLINE:return new SuperMap.Plot.ArrowLine(o);case SuperMap.Plot.SymbolType.CURVEEIGHT:return new SuperMap.Plot.CurveEight(o);case SuperMap.Plot.SymbolType.RUNWAY:return new SuperMap.Plot.Runway(o);case SuperMap.Plot.SymbolType.CONCENTRICCIRCLE:return new SuperMap.Plot.ConcentricCircle(o);case SuperMap.Plot.SymbolType.COMBINATIONALCIRCLE:return new SuperMap.Plot.CombinationalCircle(o);case SuperMap.Plot.SymbolType.FREECURVE:return new SuperMap.Plot.FreeCurve(o);case SuperMap.Plot.SymbolType.REGULARPOLYGON:return new SuperMap.Plot.RegularPolygon(o);case SuperMap.Plot.SymbolType.BRACESYMBOL:return new SuperMap.Plot.Brace(o);case SuperMap.Plot.SymbolType.TRAPEZOIDSYMBOL:return new SuperMap.Plot.Trapezoid(o);case SuperMap.Plot.SymbolType.SYMBOLTEXTBOX:return new SuperMap.Plot.SymbolTextBox(o);case SuperMap.Plot.SymbolType.NODECHAIN:return new SuperMap.Plot.NodeChain(o);case SuperMap.Plot.SymbolType.LINERELATION:return new SuperMap.Plot.LineRelation(o);case SuperMap.Plot.SymbolType.LINEMARKING:return new SuperMap.Plot.LineMarking(o);case SuperMap.Plot.SymbolType.POLYGONREGION:return new SuperMap.Plot.PolygonRegion(o);case SuperMap.Plot.SymbolType.WIRE:return new SuperMap.Plot.Wire(o);default:return new SuperMap.Plot.AlgoSymbol(o)}else if(22===t)switch(e){case 1001:return new SuperMap.Plot.AlgoSymbol1001(o);case 1002:return new SuperMap.Plot.AlgoSymbol1002(o);case 1003:return new SuperMap.Plot.AlgoSymbol1003(o);case 1004:return new SuperMap.Plot.AlgoSymbol1004(o);case 1005:return new SuperMap.Plot.AlgoSymbol1005(o);case 1006:return new SuperMap.Plot.AlgoSymbol1006(o);case 1007:return new SuperMap.Plot.AlgoSymbol1007(o);case 1008:return new SuperMap.Plot.AlgoSymbol1008(o);case 1009:return new SuperMap.Plot.AlgoSymbol1009(o);case 1010:return new SuperMap.Plot.AlgoSymbol1010(o);case 1011:return new SuperMap.Plot.AlgoSymbol1011(o);case 1012:return new SuperMap.Plot.AlgoSymbol1012(o);case 1013:return new SuperMap.Plot.AlgoSymbol1013(o);case 1014:return new SuperMap.Plot.AlgoSymbol1014(o);case 1015:return new SuperMap.Plot.AlgoSymbol1015(o);case 1016:return new SuperMap.Plot.AlgoSymbol1016(o);case 1017:return new SuperMap.Plot.AlgoSymbol1017(o);case 1018:return new SuperMap.Plot.AlgoSymbol1018(o);case 1019:return new SuperMap.Plot.AlgoSymbol1019(o);case 1020:return new SuperMap.Plot.AlgoSymbol1020(o);case 1021:return new SuperMap.Plot.AlgoSymbol1021(o);case 1022:return new SuperMap.Plot.AlgoSymbol1022(o);default:return null}else{if(421!==t)return null;switch(e){case 311:return new SuperMap.Plot.AlgoSymbol1004(o);case 315:return new SuperMap.Plot.AlgoSymbol315(o);case 317:return new SuperMap.Plot.AlgoSymbol1006(o);case 318:return new SuperMap.Plot.AlgoSymbol1002(o);case 319:return new SuperMap.Plot.AlgoSymbol15200(o);default:return null}}},SuperMap.Plot.BasicAlgoSymbolFactory.getSymbolWayType=function(t,e){if(0===t)switch(e){case SuperMap.Plot.SymbolType.POLYLINESYMBOL:case SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL:return SuperMap.Plot.AddPoint_WayType.POLYLINE;case SuperMap.Plot.SymbolType.POLYBEZIERSYMBOL:case SuperMap.Plot.SymbolType.POLYBEZIERCLOSESYMBOL:return SuperMap.Plot.AddPoint_WayType.CURVE;default:return SuperMap.Plot.AddPoint_WayType.UNKNOWN}else if(22===t)switch(e){case 1005:case 1008:case 1012:case 1014:return SuperMap.Plot.AddPoint_WayType.CURVE;case 1007:case 1009:case 1013:case 1015:case 1017:return SuperMap.Plot.AddPoint_WayType.POLYLINE;default:return SuperMap.Plot.AddPoint_WayType.UNKNOWN}},SuperMap.Plot.BasicAlgoSymbolFactory.isAccessServer=function(t,e){if(0===t||22===t)return!1;if(421!==t)return!0;switch(e){case 311:case 317:case 318:case 315:case 319:return!1;default:return!0}},SuperMap.Plot.BasicAlgoSymbolFactory.getDefaultSubSymbols=function(){return[]},SuperMap.Plot.BasicAlgoSymbolFactory.getMinEditPts=function(t,e){if(0===t)switch(e){case SuperMap.Plot.SymbolType.TEXTSYMBOL:case SuperMap.Plot.SymbolType.COMBINATIONALCIRCLE:return 1;case SuperMap.Plot.SymbolType.CIRCLESYMBOL:case SuperMap.Plot.SymbolType.RECTANGLESYMBOL:case SuperMap.Plot.SymbolType.POLYLINESYMBOL:case SuperMap.Plot.SymbolType.POLYBEZIERSYMBOL:case SuperMap.Plot.SymbolType.KIDNEY:case SuperMap.Plot.SymbolType.ARROWLINE:case SuperMap.Plot.SymbolType.BRACESYMBOL:case SuperMap.Plot.SymbolType.CURVEEIGHT:case SuperMap.Plot.SymbolType.FREECURVE:case SuperMap.Plot.SymbolType.LINEMARKING:case SuperMap.Plot.SymbolType.LINERELATION:case SuperMap.Plot.SymbolType.NODECHAIN:case SuperMap.Plot.SymbolType.PATHTEXT:case SuperMap.Plot.SymbolType.REGULARPOLYGON:case SuperMap.Plot.SymbolType.RUNWAY:case SuperMap.Plot.SymbolType.SYMBOLTEXTBOX:case SuperMap.Plot.SymbolType.ANNOFRAMESYMBOLM:case SuperMap.Plot.SymbolType.CONCENTRICCIRCLE:case SuperMap.Plot.SymbolType.WIRE:return 2;case SuperMap.Plot.SymbolType.ARCSYMBOL:case SuperMap.Plot.SymbolType.CHORDSYMBOL:case SuperMap.Plot.SymbolType.PIESYMBOL:case SuperMap.Plot.SymbolType.ELLIPSESYMBOL:case SuperMap.Plot.SymbolType.PARALLELOGRAM:case SuperMap.Plot.SymbolType.PARALLELLINE:case SuperMap.Plot.SymbolType.POLYBEZIERCLOSESYMBOL:case SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL:case SuperMap.Plot.SymbolType.POLYGONREGION:case SuperMap.Plot.SymbolType.TRAPEZOIDSYMBOL:case SuperMap.Plot.SymbolType.ANNOFRAMESYMBOL:return 3}else if(22===t)switch(e){case 1001:case 1003:case 1005:case 1007:case 1008:case 1009:case 1011:case 1012:case 1013:case 1014:case 1015:case 1016:case 1017:case 1019:case 1020:case 1022:return 2;case 1002:case 1004:case 1006:case 1010:case 1018:case 1021:return 3}else if(421===t)switch(e){case 319:return 2;case 311:case 315:case 317:case 318:return 3}},SuperMap.Plot.BasicAlgoSymbolFactory.getMaxEditPts=function(t,e){if(0===t)switch(e){case SuperMap.Plot.SymbolType.TEXTSYMBOL:return 1;case SuperMap.Plot.SymbolType.CIRCLESYMBOL:case SuperMap.Plot.SymbolType.RECTANGLESYMBOL:case SuperMap.Plot.SymbolType.BRACESYMBOL:case SuperMap.Plot.SymbolType.LINEMARKING:case SuperMap.Plot.SymbolType.LINERELATION:case SuperMap.Plot.SymbolType.RUNWAY:case SuperMap.Plot.SymbolType.SYMBOLTEXTBOX:case SuperMap.Plot.SymbolType.ANNOFRAMESYMBOLM:return 2;case SuperMap.Plot.SymbolType.ARCSYMBOL:case SuperMap.Plot.SymbolType.CHORDSYMBOL:case SuperMap.Plot.SymbolType.PIESYMBOL:case SuperMap.Plot.SymbolType.ELLIPSESYMBOL:case SuperMap.Plot.SymbolType.PARALLELOGRAM:case SuperMap.Plot.SymbolType.KIDNEY:case SuperMap.Plot.SymbolType.CONCENTRICCIRCLE:case SuperMap.Plot.SymbolType.CURVEEIGHT:case SuperMap.Plot.SymbolType.ANNOFRAMESYMBOL:case SuperMap.Plot.SymbolType.TRAPEZOIDSYMBOL:return 3;case SuperMap.Plot.SymbolType.POLYLINESYMBOL:case SuperMap.Plot.SymbolType.POLYBEZIERSYMBOL:case SuperMap.Plot.SymbolType.PARALLELLINE:case SuperMap.Plot.SymbolType.POLYBEZIERCLOSESYMBOL:case SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL:case SuperMap.Plot.SymbolType.ARROWLINE:case SuperMap.Plot.SymbolType.COMBINATIONALCIRCLE:case SuperMap.Plot.SymbolType.FREECURVE:case SuperMap.Plot.SymbolType.NODECHAIN:case SuperMap.Plot.SymbolType.PATHTEXT:case SuperMap.Plot.SymbolType.POLYGONREGION:case SuperMap.Plot.SymbolType.REGULARPOLYGON:case SuperMap.Plot.SymbolType.WIRE:return 9999}else if(22===t)switch(e){case 1003:case 1019:case 1020:case 1022:return 2;case 1006:case 1021:return 4;case 1001:case 1002:case 1004:case 1005:case 1007:case 1008:case 1009:case 1010:case 1011:case 1012:case 1013:case 1014:case 1015:case 1016:case 1017:case 1018:return 99999}else if(421===t)switch(e){case 317:return 4;case 311:case 315:case 318:case 319:return 99999}},SuperMap.Plot.BasicAlgoSymbolFactory.getDefaultStyle=function(){return{}},SuperMap.Plot.BasicAlgoSymbolFactory.canSetSubSymbol=function(t,e){return SuperMap.Plot.AlgoSymbolFactory.getDefaultSubSymbols(t,e).length>0||0===this.libID&&this.code===SuperMap.Plot.SymbolType.NODECHAIN},SuperMap.Plot.BasicAlgoSymbolFactory.zoomInCalSymbol=function(){if(22!==libID)return!1;switch(code){case 1012:case 1013:case 1014:case 1015:return!0;default:return!1}},SuperMap.Plot.BasicAlgoSymbolFactory.zoomCalSymbol=function(){return!1},SuperMap.Plot.BasicAlgoSymbolFactory.getSymbolName=function(t,e){var o="";if(0===t)switch(e){case SuperMap.Plot.SymbolType.TEXTSYMBOL:o="文本";break;case SuperMap.Plot.SymbolType.CIRCLESYMBOL:o="圆";break;case SuperMap.Plot.SymbolType.RECTANGLESYMBOL:o="矩形";break;case SuperMap.Plot.SymbolType.ARCSYMBOL:o="弧线";break;case SuperMap.Plot.SymbolType.CHORDSYMBOL:o="弓形";break;case SuperMap.Plot.SymbolType.PIESYMBOL:o="扇形";break;case SuperMap.Plot.SymbolType.ELLIPSESYMBOL:o="椭圆";break;case SuperMap.Plot.SymbolType.PARALLELOGRAM:o="平行四边形";break;case SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL:o="多边形";break;case SuperMap.Plot.SymbolType.POLYLINESYMBOL:o="折线";break;case SuperMap.Plot.SymbolType.POLYBEZIERSYMBOL:o="贝赛尔曲线";break;case SuperMap.Plot.SymbolType.POLYBEZIERCLOSESYMBOL:o="闭合贝塞尔曲线";break;case SuperMap.Plot.SymbolType.PARALLELLINE:o="平行线";break;case SuperMap.Plot.SymbolType.KIDNEY:o="集结地";break;case SuperMap.Plot.SymbolType.ANNOFRAMESYMBOL:o="注记指示框";break;case SuperMap.Plot.SymbolType.ARROWLINE:o="箭头线";break;case SuperMap.Plot.SymbolType.COMBINATIONALCIRCLE:o="组合圆";break;case SuperMap.Plot.SymbolType.CONCENTRICCIRCLE:o="同心圆";break;case SuperMap.Plot.SymbolType.CURVEEIGHT:o="八字形";break;case SuperMap.Plot.SymbolType.FREECURVE:o="自由线";break;case SuperMap.Plot.SymbolType.ANNOFRAMESYMBOLM:o="多角标注框";break;case SuperMap.Plot.SymbolType.LINEMARKING:o="线型标注";break;case SuperMap.Plot.SymbolType.LINERELATION:o="对象间连线";break;case SuperMap.Plot.SymbolType.NODECHAIN:o="节点链";break;case SuperMap.Plot.SymbolType.PATHTEXT:o="沿线注记";break;case SuperMap.Plot.SymbolType.POLYGONREGION:o="多边形区域管理";break;case SuperMap.Plot.SymbolType.RUNWAY:o="跑道线";break;case SuperMap.Plot.SymbolType.SYMBOLTEXTBOX:o="标注框";break;case SuperMap.Plot.SymbolType.REGULARPOLYGON:o="正多边形";break;case SuperMap.Plot.SymbolType.BRACESYMBOL:o="大括号";break;case SuperMap.Plot.SymbolType.TRAPEZOIDSYMBOL:o="梯形";break;case SuperMap.Plot.SymbolType.WIRE:o="铁丝网"}return o}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlgoSymbolFactory=void 0,o(0);e.AlgoSymbolFactory=SuperMap.Plot.AlgoSymbolFactory=SuperMap.Plot.AlgoSymbolFactory||{};SuperMap.Plot.AlgoSymbolFactory.getAlgoSymbol=function(t){var e=t.libID,o=t.code;return 0!==e&&22!==e&&421!==e||void 0===SuperMap.Plot.BasicAlgoSymbolFactory?100===e&&void 0!==SuperMap.Plot.JBAlgoSymbolFactory?SuperMap.Plot.JBAlgoSymbolFactory.getAlgoSymbol(e,o,t):123===e&&void 0!==SuperMap.Plot.WJAlgoSymbolFactory?SuperMap.Plot.WJAlgoSymbolFactory.getAlgoSymbol(e,o,t):999===e&&void 0!==SuperMap.Plot.YJAlgoSymbolFactory?SuperMap.Plot.YJAlgoSymbolFactory.getAlgoSymbol(e,o,t):null:SuperMap.Plot.BasicAlgoSymbolFactory.getAlgoSymbol(e,o,t)},SuperMap.Plot.AlgoSymbolFactory.getSymbolWayType=function(t,e){if(0===t)switch(e){case SuperMap.Plot.SymbolType.POLYLINESYMBOL:case SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL:return SuperMap.Plot.AddPoint_WayType.POLYLINE;case SuperMap.Plot.SymbolType.POLYBEZIERSYMBOL:case SuperMap.Plot.SymbolType.POLYBEZIERCLOSESYMBOL:return SuperMap.Plot.AddPoint_WayType.CURVE;default:return SuperMap.Plot.AddPoint_WayType.UNKNOWN}if(22===t)switch(e){case 1005:case 1008:case 1012:case 1014:return SuperMap.Plot.AddPoint_WayType.CURVE;case 1007:case 1009:case 1013:case 1015:return SuperMap.Plot.AddPoint_WayType.POLYLINE;default:return SuperMap.Plot.AddPoint_WayType.UNKNOWN}if(100===t)switch(e){case 15200:case 15201:case 16203:case 17703:case 17704:case 21400:case 21401:case 21500:case 21501:case 21502:case 21503:case 21504:case 21600:case 21900:case 22e3:case 22103:case 23800:case 24700:case 25201:case 25400:case 25601:case 25801:case 25901:case 26500:case 26501:case 26502:case 26503:case 26600:case 28900:case 29e3:case 29003:case 29903:case 3e4:case 30001:case 30002:case 30100:case 30102:case 30200:case 30201:case 30800:case 31803:case 33400:case 34900:case 34901:case 34902:case 35e3:case 36400:case 44200:case 3010102:case 3010103:case 3010104:case 3010105:case 3010106:case 3010107:case 3010108:case 3010301:case 3010302:case 3010303:case 3010304:case 16500:case 17400:case 17401:case 17500:case 17501:case 23400:case 23500:case 23600:case 23700:case 27300:case 28200:case 28300:case 28400:case 37600:case 37601:case 37700:case 39e3:case 40100:case 40101:case 42400:case 2350001:case 3032e3:case 4010800:case 4010801:case 4011100:case 4011101:case 4022100:case 4022101:case 4022102:case 39101:case 44300:case 22200:case 27701:return SuperMap.Plot.AddPoint_WayType.CURVE;case 12500:case 12502:case 16100:case 20300:case 25501:case 25502:case 25503:case 32900:case 34700:case 35200:case 36401:case 41200:case 41201:case 41202:case 42700:case 44400:return SuperMap.Plot.AddPoint_WayType.POLYLINE;default:return SuperMap.Plot.AddPoint_WayType.UNKNOWN}if(123===t)switch(e){case 21003:case 21207:case 2120701:case 2121503:case 21218:case 30008:case 3000801:case 3000802:case 3000803:case 3000804:case 3000805:case 3000806:case 3000807:case 3000808:case 3000809:case 30009:case 5021803:case 5022001:case 5022002:case 40301:case 4030101:case 4030102:case 4030103:case 4030104:case 40303:case 4030301:case 4030302:case 4030303:case 50101:case 5010101:case 50102:case 5010201:case 5010202:case 5010203:case 5010204:case 50103:case 5010301:case 5010302:case 5010303:case 5010304:case 50107:case 5010701:case 50210:case 50220:case 50221:case 50225:case 5030102:case 50303:case 5030301:case 50309:case 50320:case 5032001:case 5032002:case 5032003:case 50321:case 5032101:case 5032102:case 50322:case 5032201:case 50330:case 5033001:case 5034203:case 5035201:case 5035204:case 60205:case 90105:return SuperMap.Plot.AddPoint_WayType.CURVE;case 20915:case 2091502:case 2092101:case 2120702:case 21216:case 2121601:case 2121602:case 21605:case 30010:case 30011:case 3001101:case 3001102:case 3001103:case 3001104:case 3001105:case 30012:case 30020:case 3002001:case 3002002:case 3002005:case 30025:case 3002501:case 30026:case 40104:case 40302:case 4030201:case 4030202:case 4030203:case 4030204:case 50227:case 5035205:case 60301:case 6030101:case 6030102:case 6030103:case 6030104:case 6030105:case 6030106:case 6030107:case 70202:case 7020201:case 7020202:case 90107:return SuperMap.Plot.AddPoint_WayType.POLYLINE;default:return SuperMap.Plot.AddPoint_WayType.UNKNOWN}},SuperMap.Plot.AlgoSymbolFactory.isAccessServer=function(t,e){return 0!==t&&22!==t&&421!==t||void 0===SuperMap.Plot.BasicAlgoSymbolFactory?100===t&&void 0!==SuperMap.Plot.JBAlgoSymbolFactory?SuperMap.Plot.JBAlgoSymbolFactory.isAccessServer(t,e):123===t&&void 0!==SuperMap.Plot.WJAlgoSymbolFactory?SuperMap.Plot.WJAlgoSymbolFactory.isAccessServer(t,e):999!==t||void 0===SuperMap.Plot.YJAlgoSymbolFactory||SuperMap.Plot.YJAlgoSymbolFactory.isAccessServer(t,e):SuperMap.Plot.BasicAlgoSymbolFactory.isAccessServer(t,e)},SuperMap.Plot.AlgoSymbolFactory.getDefaultSubSymbols=function(t,e){return 100===t&&void 0!==SuperMap.Plot.JBAlgoSymbolFactory?SuperMap.Plot.JBAlgoSymbolFactory.getDefaultSubSymbols(t,e):123===t&&void 0!==SuperMap.Plot.WJAlgoSymbolFactory?SuperMap.Plot.WJAlgoSymbolFactory.getDefaultSubSymbols(t,e):999===t&&void 0!==SuperMap.Plot.YJAlgoSymbolFactory?SuperMap.Plot.YJAlgoSymbolFactory.getDefaultSubSymbols(t,e):[]},SuperMap.Plot.AlgoSymbolFactory.getMinEditPts=function(t,e){return 0!==t&&22!==t&&421!==t||void 0===SuperMap.Plot.BasicAlgoSymbolFactory?100===t&&void 0!==SuperMap.Plot.JBAlgoSymbolFactory?SuperMap.Plot.JBAlgoSymbolFactory.getMinEditPts(t,e):123===t&&void 0!==SuperMap.Plot.WJAlgoSymbolFactory?SuperMap.Plot.WJAlgoSymbolFactory.getMinEditPts(t,e):999===t&&void 0!==SuperMap.Plot.YJAlgoSymbolFactory?SuperMap.Plot.YJAlgoSymbolFactory.getMinEditPts(t,e):0:SuperMap.Plot.BasicAlgoSymbolFactory.getMinEditPts(t,e)},SuperMap.Plot.AlgoSymbolFactory.getMaxEditPts=function(t,e){return 0!==t&&22!==t&&421!==t||void 0===SuperMap.Plot.BasicAlgoSymbolFactory?100===t&&void 0!==SuperMap.Plot.JBAlgoSymbolFactory?SuperMap.Plot.JBAlgoSymbolFactory.getMaxEditPts(t,e):123===t&&void 0!==SuperMap.Plot.WJAlgoSymbolFactory?SuperMap.Plot.WJAlgoSymbolFactory.getMaxEditPts(t,e):999===t&&void 0!==SuperMap.Plot.YJAlgoSymbolFactory?SuperMap.Plot.YJAlgoSymbolFactory.getMaxEditPts(t,e):0:SuperMap.Plot.BasicAlgoSymbolFactory.getMaxEditPts(t,e)},SuperMap.Plot.AlgoSymbolFactory.getDefaultStyle=function(t,e){return 100===t&&void 0!==SuperMap.Plot.JBAlgoSymbolFactory?SuperMap.Plot.JBAlgoSymbolFactory.getDefaultStyle(t,e):123===t&&void 0!==SuperMap.Plot.WJAlgoSymbolFactory?SuperMap.Plot.WJAlgoSymbolFactory.getDefaultStyle(t,e):999===t&&void 0!==SuperMap.Plot.YJAlgoSymbolFactory?SuperMap.Plot.YJAlgoSymbolFactory.getDefaultStyle(t,e):{}},SuperMap.Plot.AlgoSymbolFactory.getSymbolName=function(t,e){return 0!==t&&22!==t&&421!==t||void 0===SuperMap.Plot.BasicAlgoSymbolFactory?"":SuperMap.Plot.BasicAlgoSymbolFactory.getSymbolName(t,e)},SuperMap.Plot.AlgoSymbolFactory.canPolylineConnect=function(t,e){if(100!==t)return!1;switch(e){case 16500:case 17400:case 17401:case 17500:case 17501:case 23400:case 23500:case 23600:case 23700:case 27300:case 28200:case 28300:case 28400:case 37600:case 37601:case 37700:case 39e3:case 40100:case 40101:case 42200:case 42400:case 2350001:case 3032e3:case 4010800:case 4010801:case 4011100:case 4011101:case 4022100:case 4022101:case 4022102:return!0;default:return!1}},SuperMap.Plot.AlgoSymbolFactory.canSetSubSymbol=function(t,e){return 0!==t&&22!==t&&421!==t||void 0===SuperMap.Plot.BasicAlgoSymbolFactory?100===t&&void 0!==SuperMap.Plot.JBAlgoSymbolFactory?SuperMap.Plot.JBAlgoSymbolFactory.canSetSubSymbol(t,e):123===t&&void 0!==SuperMap.Plot.WJAlgoSymbolFactory?SuperMap.Plot.WJAlgoSymbolFactory.canSetSubSymbol(t,e):999===t&&void 0!==SuperMap.Plot.YJAlgoSymbolFactory&&SuperMap.Plot.YJAlgoSymbolFactory.canSetSubSymbol(t,e):SuperMap.Plot.BasicAlgoSymbolFactory.canSetSubSymbol(t,e)},SuperMap.Plot.AlgoSymbolFactory.zoomInCalSymbol=function(t,e){return 0!==t&&22!==t&&421!==t||void 0===SuperMap.Plot.BasicAlgoSymbolFactory?100===t&&void 0!==SuperMap.Plot.JBAlgoSymbolFactory?SuperMap.Plot.JBAlgoSymbolFactory.zoomInCalSymbol(t,e):123===t&&void 0!==SuperMap.Plot.WJAlgoSymbolFactory?SuperMap.Plot.WJAlgoSymbolFactory.zoomInCalSymbol(t,e):999===t&&void 0!==SuperMap.Plot.YJAlgoSymbolFactory?SuperMap.Plot.YJAlgoSymbolFactory.zoomInCalSymbol(t,e):0:SuperMap.Plot.BasicAlgoSymbolFactory.zoomInCalSymbol(t,e)},SuperMap.Plot.AlgoSymbolFactory.zoomCalSymbol=function(t,e){if((0===t||22===t||421===t)&&void 0!==SuperMap.Plot.BasicAlgoSymbolFactory)return SuperMap.Plot.BasicAlgoSymbolFactory.zoomCalSymbol(t,e);if(100===t)switch(e){case 28e3:case 28100:case 28200:case 28201:case 32300:return!0;default:return!1}else{if(123!==t||void 0===SuperMap.Plot.WJAlgoSymbolFactory)return!1;switch(e){case 50312:case 50313:case 50314:case 50348:return!0;default:return!1}}}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.AlgoSymbol15200=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===o.scaleValues.length&&(o.scaleValues.push(.05),o.scaleValues.push(0),o.scaleValues.push(.185)),o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"calculateParts",value:function(){this.init();var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(!((t=SuperMap.Plot.PlottingUtil.clearSamePts(t)).length<this.minEditPts)){var e=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t);e=SuperMap.Plot.PlottingUtil.clearSamePts(e),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,e);for(var o=0,l=0,i=e.length-1;l<i;l++)o+=SuperMap.Plot.PlottingUtil.distance(e[l],e[l+1]);for(var n=0,r=0,a=t.length-1;r<a;r++)n+=SuperMap.Plot.PlottingUtil.distance(t[r],t[r+1]);this.isEdit||(this.scaleValues[0]=.5*this.getSubSymbolScaleValue());for(var s=this.scaleValues[0]*n,p=this.scaleValues[1],u=this.scaleValues[2]*n,P=.3*u,y=u;y<o;y+=u){var c=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(y,e);if(-1===c.index)return void this.finish();var h=y+P,S=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(h,e);if(-1===S.index)return void this.finish();var f=[],g=[];f.push(c.pts);var M=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(s,e[c.index],c.pts);0===p?f.push(new SuperMap.Geometry.Point(M.pntLeft.x,M.pntLeft.y)):f.push(new SuperMap.Geometry.Point(M.pntRight.x,M.pntRight.y)),g.push(S.pts);var d=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(s,e[S.index],S.pts);if(0===p?g.push(new SuperMap.Geometry.Point(d.pntLeft.x,d.pntLeft.y)):g.push(new SuperMap.Geometry.Point(d.pntRight.x,d.pntRight.y)),u===y){this.scalePoints=[];var m=new SuperMap.Geometry.Point(f[1].x,f[1].y);m.isScalePoint=!0,m.tag=0,this.scalePoints.push(m),(m=new SuperMap.Geometry.Point(f[0].x,f[0].y)).isScalePoint=!0,m.tag=1,this.scalePoints.push(m)}this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,f),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,g)}this.finish()}}},{key:"computeScaleValues",value:function(t,e){if(!0===e.isScalePoint){var o=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((o=SuperMap.Plot.PlottingUtil.clearSamePts(o)).length<this.minEditPts)return;for(var l=0,i=0,n=o.length-1;i<n;i++)l+=SuperMap.Plot.PlottingUtil.distance(o[i],o[i+1]);var r=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(o),a=new SuperMap.Geometry.Point(e.x,e.y);if(0===t){var s=SuperMap.Plot.PlottingUtil.findPointInPolyLine(r,l*this.scaleValues[2]);if(-1===s.index)return;var p=SuperMap.Plot.PlottingUtil.distance(s.pt,a)/l,u=SuperMap.Plot.PlottingUtil.pointIsRightToLine(r[0],r[1],e);this.scaleValues[1]=u?1:0,this.scaleValues[0]=p}else if(1===t){for(var P=0,y=-1,c=[],h=0,S=r.length-1;h<S;h++){var f=SuperMap.Plot.PlottingUtil.pointProjectToSegment(e,r[h],r[h+1]);if(f.isOnline){var g=SuperMap.Plot.PlottingUtil.distance(f.projectPoint,this.controlPoints[1]);0==P?(P=g,y=h,c=e):g<P&&(P=g,y=h,c=e)}}if(-1==y)return;for(var M=0,d=0,m=y-1;d<m;d++)M+=SuperMap.Plot.PlottingUtil.distance(r[d],r[d+1]);var v=(M+=SuperMap.Plot.PlottingUtil.distance(c,r[y]))/l;v>.7&&(v=.7),this.scaleValues[2]=v}}}}]),e}();SuperMap.Plot.AlgoSymbol15200=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.AlgoSymbol315=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0!==o.scaleValues.length&&(o.scaleValues=[],o.scaleValues.push(.2),o.scaleValues.push(.2),o.scaleValues.push(.4),o.scaleValues.push(.4),o.scaleValues.push(.1),o.scaleValues.push(.2),o.scaleValues.push(.1),o.scaleValues.push(.2),o.scaleValues.push(1),o.scaleValues.push(1)),o.CLASS_NAME="SuperMap.Plot.AlgoSymbol315",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol1004),l(e,[{key:"calculateParts",value:function(){this.init();var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((t=SuperMap.Plot.PlottingUtil.clearSamePts(t)).length>=2&&t.length<this.minEditPts&&this.calAssistantLine(),!(t.length<this.minEditPts)){for(var e=0,o=0;o<t.length-1;o++)e+=SuperMap.Plot.PlottingUtil.distance(t[o],t[o+1]);SuperMap.Plot.AlgoSymbol1004.prototype.applyUse.apply(this,arguments),this.scaleValues.length<9&&(this.scaleValues=[],this.scaleValues.push(.2),this.scaleValues.push(.2),this.scaleValues.push(.4),this.scaleValues.push(.4),this.scaleValues.push(.1),this.scaleValues.push(.2),this.scaleValues.push(.1),this.scaleValues.push(.2),this.scaleValues.push(1),this.scaleValues.push(1));var l,i=e*this.scaleValues[4],n=e*this.scaleValues[5],r=SuperMap.Plot.PlottingUtil.distance(t[1],t[0]),a=SuperMap.Plot.PlottingUtil.linePnt(t[1],t[0],r+n);l=(this.scaleValues[8],SuperMap.Plot.PlottingUtil.getSidePointsOfLine(i,t[1],a));var s,p=e*this.scaleValues[6],u=e*this.scaleValues[7],P=SuperMap.Plot.PlottingUtil.linePnt(t[0],t[1],r+u);s=(this.scaleValues[9],SuperMap.Plot.PlottingUtil.getSidePointsOfLine(p,t[0],P));var y=[];y.push(new SuperMap.Geometry.Point(l.pntLeft.x,l.pntLeft.y)),y.push(new SuperMap.Geometry.Point(t[0].x,t[0].y)),y.push(new SuperMap.Geometry.Point(t[1].x,t[1].y)),y.push(new SuperMap.Geometry.Point(s.pntRight.x,s.pntRight.y));var c=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(y);c=SuperMap.Plot.PlottingUtil.clearSamePts(c),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,c),this.addScalePoint(l.pntLeft,3),this.addScalePoint(s.pntRight,4)}}},{key:"modifyPoint",value:function(t,o){if(!0===o.isScalePoint){var l=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);l=SuperMap.Plot.PlottingUtil.clearSamePts(l);var i=SuperMap.Plot.PlottingUtil.polylineDistance(l),n=SuperMap.Plot.PlottingUtil.projectPoint(o,l[0],l[1]);if(t<=2&&(SuperMap.Plot.AlgoSymbol1004.prototype.modifyPoint.apply(this,arguments),function t(e,o,l){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,o);if(void 0===i){var n=Object.getPrototypeOf(e);return null===n?void 0:t(n,o,l)}if("value"in i)return i.value;var r=i.get;return void 0!==r?r.call(l):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"modifyPoint",this).call(this,t,o)),3===t){var r=SuperMap.Plot.PlottingUtil.distance(o,n)/i,a=SuperMap.Plot.PlottingUtil.distance(n,l[0])/i;this.scaleValues[4]=r,this.scaleValues[5]=a,SuperMap.Plot.PlottingUtil.pointIsRightToLine(l[0],l[1],o)?this.scaleValues[8]=1:this.scaleValues[8]=0}if(4===t){var s=SuperMap.Plot.PlottingUtil.distance(o,n)/i,p=SuperMap.Plot.PlottingUtil.distance(n,l[1])/i;this.scaleValues[6]=s,this.scaleValues[7]=p,SuperMap.Plot.PlottingUtil.pointIsRightToLine(l[0],l[1],o)?this.scaleValues[9]=1:this.scaleValues[9]=0}}this.calculateParts()}}]),e}();SuperMap.Plot.AlgoSymbol315=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.AlgoSymbol1022=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===o.scaleValues.length&&o.scaleValues.push(.05),o.CLASS_NAME="SuperMap.Geometry.AlgoSymbol1022",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"calculateParts",value:function(){this.init();var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(!((t=SuperMap.Plot.PlottingUtil.clearSamePts(t)).length<this.minEditPts)){var e=SuperMap.Plot.PlottingUtil.polylineDistance(t),o=e*this.scaleValues[0],l=SuperMap.Plot.PlottingUtil.paraLine(t,o,!0),i=SuperMap.Plot.PlottingUtil.paraLine(t,o,!1),n=SuperMap.Plot.PlottingUtil.findPointInLine(l[0],l[1],.6*e),r=SuperMap.Plot.PlottingUtil.findPointInLine(l[0],l[1],.5*e),a=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(.1*e,l[0],r).pntLeft;this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,[a,n,l[1]],{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0});var s=SuperMap.Plot.PlottingUtil.findPointInLine(i[0],i[1],.4*e),p=SuperMap.Plot.PlottingUtil.findPointInLine(i[0],i[1],.5*e),u=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(.1*e,i[0],p).pntRight;this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,[u,s,i[0]],{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,l),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[i[1],i[0]]),this.addScalePoint(l[0],0),this.finish()}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint){var o=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var l=SuperMap.Plot.PlottingUtil.polylineDistance(o);if(0===t){var i=SuperMap.Plot.PlottingUtil.distance(o[0],e)/l;this.scaleValues[0]=i}}this.calculateParts()}}]),e}();SuperMap.Plot.AlgoSymbol1022=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.AlgoSymbol1021=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===o.scaleValues.length&&o.scaleValues.push(.25),o.CLASS_NAME="SuperMap.Geometry.AlgoSymbol1021",o.QIANJI_RATE1=9,o.QIANJI_RATE2=20,o.QIANJI_RATE4=5,o.QIANJI_RATE3=1/3,o.QIANJI_TAIL_RATE1=8,o.QIANJI_TAIL_RATE2=3,o.QIANJI_TAIL_RATE3=.6,o.SV1_Default=.25,o.SV1_MinValue=0,o.SV1_MaxValue=.5,o.DEFAULT_ARROW_TAIL_POS=.4,o.SCALE_VALUE_COUNT=1,o.MIN_LEN_LeftToRightCenter=1e-7,o.SCALE_AT=1/3,o.SCALE_ATAJ=1/7,o.SCALE_ATAE=1/3,o.SCALE_AW=2/3,o.SCALE_ATAJctrlDefSide=.8,o.SCALE_ATAJctrlSameSide=2/3,o.SCALE_MM_LEFT=.25,o.SCALE_MM_RIGHT=.75,o.BEZIER_K1=1/3,o.QIANJI_OPERATE_RATE1=1,o.m_dMaxDis=0,o.m_bIsAnimation=!1,o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"calculateParts",value:function(){this.init();var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(t=SuperMap.Plot.PlottingUtil.clearSamePts(t),this.components=[],this.m_scalePoints=[],t.length>=2&&t.length<this.minEditPts&&this.calAssistantLine(),!(t.length<3)){var e=SuperMap.Plot.PlottingUtil.clonePoints(t),o=this.arrowMeshs(e);o.LeftArowHead.unshift(o.LeftArowLeftBody[0][o.LeftArowLeftBody[0].length-1]),o.RightArowHead.unshift(o.RightArowLeftBody[o.RightArowLeftBody.length-1]),o.LeftArowLeftBody[0].push(o.LeftArowHead[0]),o.RightArowLeftBody.push(o.RightArowHead[0]),o.shapePts.push(o.shapePts[0]);var l=SuperMap.Plot.PlottingUtil.polylineDistance(o.LeftArowLeftBody[0]),i=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.4*l,o.LeftArowLeftBody[0]),n=[],r=[];if(i.bfind)for(var a=0;a<=i.index;a++)n.push(o.LeftArowLeftBody[0][a]);var s=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.5*l,o.LeftArowLeftBody[0]);if(s.bfind)for(var p=s.index;p<o.LeftArowLeftBody[0].length-1;p++)r.push(o.LeftArowLeftBody[0][p]);var u=SuperMap.Plot.PlottingUtil.polylineDistance(o.RightArowLeftBody),P=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.4*u,o.RightArowLeftBody),y=[],c=[];if(P.bfind)for(var h=0;h<=P.index;h++)y.push(o.RightArowLeftBody[h]);var S=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.5*u,o.RightArowLeftBody);if(S.bfind)for(var f=S.index;f<o.RightArowLeftBody.length-1;f++)c.push(o.RightArowLeftBody[f]);var g=SuperMap.Plot.PlottingUtil.polylineDistance(o.RightArowRightBody),M=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.4*g,o.RightArowRightBody),d=[],m=[];if(M.bfind)for(var v=0;v<=M.index;v++)d.push(o.RightArowRightBody[v]);var b=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.5*g,o.RightArowRightBody);if(b.bfind)for(var A=b.index;A<o.RightArowRightBody.length-1;A++)m.push(o.RightArowRightBody[A]);o.shapePts.length>0&&(this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,o.shapePts,{strokeWidth:0,weight:0,lineWidthLimit:!0}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,n),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,r),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,o.LeftArowHead,{lineTypeLimit:!0}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,o.LeftArowRightBody),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,y),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,c),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,o.RightArowHead,{lineTypeLimit:!0}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,d),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,m)),this.scalePoints=[];for(var L=0;L<this.m_scalePoints.length;L++)this.m_scalePoints[L].isScalePoint=!0,this.m_scalePoints[L].tag=L,this.scalePoints.push(this.m_scalePoints[L]);this.finish()}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint){var o=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var l,i=SuperMap.Plot.PlottingUtil.operateControlPoints(o),n=new SuperMap.Geometry.Point((i[0].x+i[1].x)/2,(i[0].y+i[1].y)/2),r=new SuperMap.Geometry.Point((i[2].x+i[3].x)/2,(i[2].y+i[3].y)/2),a=SuperMap.Plot.PlottingUtil.pointProjectToSegment(e,n,r);if(a.isOnline){var s=SuperMap.Plot.PlottingUtil.distance(a.projectPoint,n),p=SuperMap.Plot.PlottingUtil.distance(n,r);(l=SuperMap.Plot.PlottingUtil.equalFuzzy(s,0)?this.SV1_MinValue:s/p)>this.SV1_MaxValue&&(l=this.SV1_MaxValue)}else l=SuperMap.Plot.PlottingUtil.distance(a.projectPoint,n)<SuperMap.Plot.PlottingUtil.distance(a.projectPoint,r)?this.SV1_MinValue:this.SV1_MaxValue;this.scaleValues=[],this.scaleValues.push(l)}this.calculateParts()}},{key:"arrowMeshs",value:function(t){var e=new SuperMap.Plot.Path2D,o=[];o=this.m_bIsAnimation&&4===t.length?SuperMap.Plot.PlottingUtil.clonePoints(t):SuperMap.Plot.PlottingUtil.operateControlPoints(t);var l=this.scaleValues[0],i=SuperMap.Plot.PlottingUtil.distance(o[0],o[3]),n=SuperMap.Plot.PlottingUtil.distance(o[1],o[2]),r=o[1].clone(),a=.5*(o[0].x+o[3].x),s=.5*(o[0].y+o[3].y),p=new SuperMap.Geometry.Point(a,s),u=.5*(o[1].x+o[2].x),P=.5*(o[1].y+o[2].y),y=new SuperMap.Geometry.Point(u,P),c=SuperMap.Plot.PlottingUtil.distance(p,y);c<this.MIN_LEN_LeftToRightCenter&&(c=this.MIN_LEN_LeftToRightCenter),p.x=a+i*(a-u)/(c*this.QIANJI_RATE1),p.y=s+i*(s-P)/(c*this.QIANJI_RATE1),y.x=u+n*(u-a)/(c*this.QIANJI_RATE1),y.y=P+n*(P-s)/(c*this.QIANJI_RATE1);var h=new SuperMap.Geometry.Point(0,0),S=new SuperMap.Geometry.Point(0,0);h.x=a+i*(a-u)/(c*this.QIANJI_RATE2),h.y=s+i*(s-P)/(c*this.QIANJI_RATE2),S.x=u+n*(u-a)/(c*this.QIANJI_RATE2),S.y=P+n*(P-s)/(c*this.QIANJI_RATE2);var f=new SuperMap.Geometry.Point((o[0].x+o[1].x)/2,(o[0].y+o[1].y)/2),g=new SuperMap.Geometry.Point((o[2].x+o[3].x)/2,(o[2].y+o[3].y)/2),M=o[3].x-(o[3].x-p.x)*this.SCALE_AT,d=o[3].y-(o[3].y-p.y)*this.SCALE_AT,m=o[2].x-(o[2].x-y.x)*this.SCALE_AT,v=o[2].y-(o[2].y-y.y)*this.SCALE_AT,b=new SuperMap.Geometry.Point(0,0),A=new SuperMap.Geometry.Point(0,0),L=new SuperMap.Geometry.Point(0,0),T=new SuperMap.Geometry.Point(0,0);A.x=M-(d-o[3].y)*this.SCALE_ATAJ,A.y=d+(M-o[3].x)*this.SCALE_ATAJ,b.x=M+(d-o[3].y)*this.SCALE_ATAJ,b.y=d-(M-o[3].x)*this.SCALE_ATAJ,T.x=m-(v-o[2].y)*this.SCALE_ATAJ,T.y=v+(m-o[2].x)*this.SCALE_ATAJ,L.x=m+(v-o[2].y)*this.SCALE_ATAJ,L.y=v-(m-o[2].x)*this.SCALE_ATAJ;var x=new SuperMap.Geometry.Point(0,0),O=new SuperMap.Geometry.Point(0,0),w=new SuperMap.Geometry.Point(0,0),U=new SuperMap.Geometry.Point(0,0);x.x=3*b.x-2*M-(o[3].x-M)*this.SCALE_ATAE,x.y=3*b.y-2*d-(o[3].y-d)*this.SCALE_ATAE,O.x=3*A.x-2*M-(o[3].x-M)*this.SCALE_ATAE,O.y=3*A.y-2*d-(o[3].y-d)*this.SCALE_ATAE,w.x=3*L.x-2*m-(o[2].x-m)*this.SCALE_ATAE,w.y=3*L.y-2*v-(o[2].y-v)*this.SCALE_ATAE,U.x=3*T.x-2*m-(o[2].x-m)*this.SCALE_ATAE,U.y=3*T.y-2*v-(o[2].y-v)*this.SCALE_ATAE,p.x=a+i*(a-u)/(c*this.QIANJI_RATE4),p.y=s+i*(s-P)/(c*this.QIANJI_RATE4),y.x=u+n*(u-a)/(c*this.QIANJI_RATE4),y.y=P+n*(P-s)/(c*this.QIANJI_RATE4);var R=new SuperMap.Geometry.Point(0,0);R.x=o[0].x+(p.x-o[0].x)*this.SCALE_AW,R.y=o[0].y+(p.y-o[0].y)*this.SCALE_AW;var _=new SuperMap.Geometry.Point(0,0);_.x=o[1].x+(y.x-o[1].x)*this.SCALE_AW,_.y=o[1].y+(y.y-o[1].y)*this.SCALE_AW;var E=new SuperMap.Geometry.Point(0,0);E.x=b.x+(p.x-b.x)*this.SCALE_ATAJctrlSameSide,E.y=b.y+(p.y-b.y)*this.SCALE_ATAJctrlSameSide;var C=new SuperMap.Geometry.Point(0,0);C.x=T.x+(y.x-T.x)*this.SCALE_ATAJctrlSameSide,C.y=T.y+(y.y-T.y)*this.SCALE_ATAJctrlSameSide;var I=new SuperMap.Geometry.Point(0,0);I.x=A.x+(h.x-A.x)*this.SCALE_ATAJctrlDefSide,I.y=A.y+(h.y-A.y)*this.SCALE_ATAJctrlDefSide;var B=new SuperMap.Geometry.Point(0,0);B.x=L.x+(S.x-L.x)*this.SCALE_ATAJctrlDefSide,B.y=L.y+(S.y-L.y)*this.SCALE_ATAJctrlDefSide;var G=new SuperMap.Geometry.Point(0,0);G.x=f.x+(g.x-f.x)*l,G.y=f.y+(g.y-f.y)*l,this.m_scalePoints.push(new SuperMap.Geometry.Point(G.x,G.y));var D=new SuperMap.Geometry.Point(0,0),V=new SuperMap.Geometry.Point(0,0);D.x=o[0].x+(o[3].x-o[0].x)*l,D.y=o[0].y+(o[3].y-o[0].y)*l,V.x=o[1].x+(o[2].x-o[1].x)*l,V.y=o[1].y+(o[2].y-o[1].y)*l,D.x=D.x+(G.x-D.x)*this.QIANJI_RATE3,D.y=D.y+(G.y-D.y)*this.QIANJI_RATE3,V.x=V.x+(G.x-V.x)*this.QIANJI_RATE3,V.y=V.y+(G.y-V.y)*this.QIANJI_RATE3;var N=[];N.push(o[0].clone()),N.push(R.clone()),N.push(E.clone()),N.push(b.clone()),e.MoveTo(N[0]),e.CurveTo(N[1],N[2],N[3]);var k,Y=[],z=[],j=[],F=[],W=[],H=[],J=[];for(e.ToSubPathPolygons(J),Y.push(J[0]),k=J[0].length,e.LineTo(x),e.LineTo(o[3]),e.LineTo(O),(N=[]).push(A),N.push(I),N.push(D),N.push(G),e.LineTo(N[0]),J=[],e.ToSubPathPolygons(J);k<J[0].length;k++)z.push(J[0][k]);for(k=J[0].length,e.CurveTo(N[1],N[2],N[3]),J=[],e.ToSubPathPolygons(J);k<J[0].length;k++)j.push(J[0][k]);for(k=J[0].length,(N=[]).push(V),N.push(B),N.push(L),e.CurveTo(N[0],N[1],N[2]),J=[],e.ToSubPathPolygons(J);k<J[0].length;k++)F.push(J[0][k]);for(k=J[0].length,e.LineTo(w),e.LineTo(o[2]),e.LineTo(U),(N=[]).push(T),N.push(C),N.push(_),N.push(r),e.LineTo(N[0]),J=[],e.ToSubPathPolygons(J);k<J[0].length;k++)W.push(J[0][k]);for(k=J[0].length,e.CurveTo(N[1],N[2],N[3]),J=[],e.ToSubPathPolygons(J);k<J[0].length;k++)H.push(J[0][k]);return J=[],e.ToSubPathPolygons(J),{shapePts:J[0],LeftArowLeftBody:Y,LeftArowHead:z,LeftArowRightBody:j,ArowMidBody:[],RightArowLeftBody:F,RightArowHead:W,RightArowRightBody:H}}}]),e}();SuperMap.Plot.AlgoSymbol1021=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.AlgoSymbol1020=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===o.scaleValues.length&&(o.scaleValues.push(.5),o.scaleValues.push(.222222),o.scaleValues.push(.5),o.scaleValues.push(.5),o.scaleValues.push(.5)),o.CLASS_NAME="SuperMap.Geometry.AlgoSymbol1020",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"calculateParts",value:function(){this.init();var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(!((t=SuperMap.Plot.PlottingUtil.clearSamePts(t)).length<this.minEditPts)){0==this.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(.5),this.scaleValues.push(.222222),this.scaleValues.push(.5),this.scaleValues.push(.5),this.scaleValues.push(.5));var e=t[0].clone(),o=t[1].clone(),l=SuperMap.Plot.PlottingUtil.distance(e,o),i=this.scaleValues[0],n=new SuperMap.Geometry.Point(0,-l*i),r=new SuperMap.Geometry.Point(0,l*i),a=this.scaleValues[1],s=this.scaleValues[3],p=new SuperMap.Geometry.Point(l*(1-s),-l*a),u=new SuperMap.Geometry.Point(l*(1-s),l*a),P=this.scaleValues[2],y=this.scaleValues[4],c=new SuperMap.Geometry.Point(l*(1-y),-l*P),h=new SuperMap.Geometry.Point(l*(1-y),l*P),S=new SuperMap.Geometry.Point(l,0),f=SuperMap.Plot.PlottingUtil.radian(e,o),g=SuperMap.Plot.PlottingUtil.distance(n,p),M=SuperMap.Plot.PlottingUtil.findPointInLine(n,p,.3*g),d=SuperMap.Plot.PlottingUtil.findPointInLine(n,p,.4*g),m=SuperMap.Plot.PlottingUtil.distance(u,r),v=SuperMap.Plot.PlottingUtil.findPointInLine(u,r,.6*m),b=SuperMap.Plot.PlottingUtil.findPointInLine(u,r,.7*m),A=[];A.push(n),A.push(M),A.push(d),A.push(p),A.push(c),A.push(S),A.push(h),A.push(u),A.push(v),A.push(b),A.push(r);for(var L=[],T=0;T<A.length;T++){var x=SuperMap.Plot.PlottingUtil.coordinateTrans(e,A[T],f*SuperMap.Plot.PlottingUtil.RTOD);L.push(x)}for(var O=[],w=L.length-1;w>=0;--w)O.push(L[w]);var U=SuperMap.Plot.PlottingUtil.clonePoints(O);U.push(U[0]),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,U,{lineWidthLimit:!0,strokeWidth:0,weight:0,surroundLineFlag:!1}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[O[0],O[1]]),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[O[2],O[3]]),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[O[3],O[4],O[5],O[6],O[7]],{lineTypeLimit:!0}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[O[7],O[8]]),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[O[9],O[10]]),this.scalePoints=[];var R=L[0].clone();R.isScalePoint=!0,R.tag=0,this.scalePoints.push(R);var _=L[3].clone();_.isScalePoint=!0,_.tag=1,this.scalePoints.push(_);var E=L[4].clone();E.isScalePoint=!0,E.tag=2,this.scalePoints.push(E),this.finish()}}},{key:"modifyPoint",value:function(t,e){if(e.isScalePoint&&(t>=0||t<3)){var o=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var l=SuperMap.Plot.PlottingUtil.distance(o[0],o[1]),i=o[0].clone(),n=o[1].clone(),r=e.clone();if(0==t){var a=SuperMap.Plot.PlottingUtil.distance(r,i)/l;this.scaleValues[0]=a}else if(1==t){var s=SuperMap.Plot.PlottingUtil.projectPoint(r,i,n),p=SuperMap.Plot.PlottingUtil.distance(s,r)/l;this.scaleValues[1]=p;var u=SuperMap.Plot.PlottingUtil.distance(s,n)/l;this.scaleValues[3]=u}else if(2==t){var P=SuperMap.Plot.PlottingUtil.projectPoint(r,i,n),y=SuperMap.Plot.PlottingUtil.distance(P,r)/l;this.scaleValues[2]=y;var c=SuperMap.Plot.PlottingUtil.distance(P,n)/l;this.scaleValues[4]=c}}this.calculateParts()}}]),e}();SuperMap.Plot.AlgoSymbol1020=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.AlgoSymbol1019=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===o.scaleValues.length&&(o.scaleValues.push(.5),o.scaleValues.push(.222222),o.scaleValues.push(.5),o.scaleValues.push(.5),o.scaleValues.push(.5)),o.CLASS_NAME="SuperMap.Geometry.AlgoSymbol1019",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"calculateParts",value:function(){this.init();var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(!((t=SuperMap.Plot.PlottingUtil.clearSamePts(t)).length<this.minEditPts)){0==this.scaleValues.length&&(this.scaleValues=[],this.scaleValues.push(.5),this.scaleValues.push(.222222),this.scaleValues.push(.5),this.scaleValues.push(.5),this.scaleValues.push(.5));var e=t[0].clone(),o=t[1].clone(),l=SuperMap.Plot.PlottingUtil.distance(e,o),i=this.scaleValues[0],n=new SuperMap.Geometry.Point(0,-l*i),r=new SuperMap.Geometry.Point(0,l*i),a=this.scaleValues[1],s=this.scaleValues[3],p=new SuperMap.Geometry.Point(l*(1-s),-l*a),u=new SuperMap.Geometry.Point(l*(1-s),l*a),P=this.scaleValues[2],y=this.scaleValues[4],c=new SuperMap.Geometry.Point(l*(1-y),-l*P),h=new SuperMap.Geometry.Point(l*(1-y),l*P),S=new SuperMap.Geometry.Point(l,0),f=SuperMap.Plot.PlottingUtil.radian(e,o),g=[];g.push(n),g.push(p),g.push(c),g.push(S),g.push(h),g.push(u),g.push(r),g.push(n);for(var M=[],d=0;d<g.length;d++){var m=SuperMap.Plot.PlottingUtil.coordinateTrans(e,g[d],f*SuperMap.Plot.PlottingUtil.RTOD);M.push(m)}for(var v=[],b=M.length-1;b>=0;--b)v.push(M[b]);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,v,{lineWidthLimit:!0,strokeWidth:0,weight:0,surroundLineFlag:!1}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[v[2],v[1],v[7],v[6]],{surroundLineFlag:!1}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[v[6],v[5],v[4],v[3],v[2]],{lineTypeLimit:!0,surroundLineFlag:!1}),this.scalePoints=[];var A=M[0].clone();A.isScalePoint=!0,A.tag=0,this.scalePoints.push(A);var L=M[1].clone();L.isScalePoint=!0,L.tag=1,this.scalePoints.push(L);var T=M[2].clone();T.isScalePoint=!0,T.tag=2,this.scalePoints.push(T),this.finish()}}},{key:"modifyPoint",value:function(t,e){if(e.isScalePoint&&(t>=0||t<3)){var o=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);o=SuperMap.Plot.PlottingUtil.clearSamePts(o);var l=SuperMap.Plot.PlottingUtil.distance(o[0],o[1]),i=o[0].clone(),n=o[1].clone(),r=e.clone();if(0==t){var a=SuperMap.Plot.PlottingUtil.distance(r,i)/l;this.scaleValues[0]=a}else if(1==t){var s=SuperMap.Plot.PlottingUtil.projectPoint(r,i,n),p=SuperMap.Plot.PlottingUtil.distance(s,r)/l;this.scaleValues[1]=p;var u=SuperMap.Plot.PlottingUtil.distance(s,n)/l;this.scaleValues[3]=u}else if(2==t){var P=SuperMap.Plot.PlottingUtil.projectPoint(r,i,n),y=SuperMap.Plot.PlottingUtil.distance(P,r)/l;this.scaleValues[2]=y;var c=SuperMap.Plot.PlottingUtil.distance(P,n)/l;this.scaleValues[4]=c}}this.calculateParts()}}]),e}();SuperMap.Plot.AlgoSymbol1019=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.AlgoSymbol1018=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.MAX_ARRAY_SIZE=128,o.sv1_DefaultAtLenDivAbLen=0,o.sv2_DefaultAjWidthDivAtLen=.148,o.sv3_DefaultAeWidthDivAtLen=.4,o.sv4_DefaultAeLenDivAtLen=.312,o.sv_AtScaleParameter=1.5,o.sv_AtLenDivAtWidth=1.35,o.sv_AtWidthDivAwWidth=.5,o.sv_defaultAwLenDivAbLen=.15,0===o.scaleValues.length&&(o.scaleValues.push(o.sv1_DefaultAtLenDivAbLen),o.scaleValues.push(o.sv2_DefaultAjWidthDivAtLen),o.scaleValues.push(o.sv3_DefaultAeWidthDivAtLen),o.scaleValues.push(o.sv4_DefaultAeLenDivAtLen)),o.CLASS_NAME="SuperMap.Geometry.AlgoSymbol1018",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"calculateParts",value:function(){this.init(),this.applyUse()}},{key:"applyUse",value:function(){var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((t=SuperMap.Plot.PlottingUtil.clearSamePts(t)).length>=2&&t.length<this.minEditPts&&this.calAssistantLine(),!(t.length<3)){var e=SuperMap.Plot.PlottingUtil.clonePoints(t),o=this.arrowMeshs(e),l=SuperMap.Plot.PlottingUtil.clonePoints(o.shapePts);(l=SuperMap.Plot.PlottingUtil.clearSamePts(l)).push(l[0]);var i=SuperMap.Plot.PlottingUtil.clearSamePts(o.leftBodyPts),n=SuperMap.Plot.PlottingUtil.clearSamePts(o.rightBodyPts),r=SuperMap.Plot.PlottingUtil.clearSamePts(o.arrowHeadPts);if(0!=o.shapePts.length){var a=SuperMap.Plot.PlottingUtil.polylineDistance(i),s=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.4*a,i),p=[],u=[],P=[];if(s.bfind)for(var y=0;y<=s.index;y++)p.push(i[y]);var c=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.45*a,i),h=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.8*a,i);if(c.bfind&&h.bfind)for(var S=c.index;S<=h.index;S++)u.push(i[S]);var f=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.85*a,i);if(f.bfind)for(var g=f.index;g<i.length;g++)P.push(i[g]);var M=SuperMap.Plot.PlottingUtil.polylineDistance(n),d=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.15*M,n),m=[],v=[],b=[];if(d.bfind)for(var A=0;A<=d.index;A++)m.push(n[A]);var L=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.2*M,n),T=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.55*M,n);if(L.bfind&&T.bfind)for(var x=L.index;x<=T.index;x++)v.push(n[x]);var O=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(.6*M,n);if(O.bfind)for(var w=O.index;w<n.length;w++)b.push(n[w]);var U=SuperMap.Plot.PlottingUtil.clonePoints(r);U.splice(0,0,i[i.length-1]),U.push(n[0]),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,l,{lineWidthLimit:!0,strokeWidth:0,weight:0,surroundLineFlag:!1}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,p,{surroundLineFlag:!1}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,u,{surroundLineFlag:!1}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,P,{surroundLineFlag:!1}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,m,{surroundLineFlag:!1}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,v,{surroundLineFlag:!1}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,b,{surroundLineFlag:!1}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,U,{surroundLineFlag:!1,lineTypeLimit:!0});var R=this.updateScalePoints(e);if(this.scalePoints=[],3!=R.length)R=[];else for(var _=0;_<R.length;_++)R[_].isScalePoint=!0,R[_].tag=_,this.scalePoints.push(R[_]);this.finish()}else this.finish()}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint){var o=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);o=SuperMap.Plot.PlottingUtil.clearSamePts(o),this.scaleValues.length<4&&(this.scaleValues.push(this.sv1_DefaultAtLenDivAbLen),this.scaleValues.push(this.sv2_DefaultAjWidthDivAtLen),this.scaleValues.push(this.sv3_DefaultAeWidthDivAtLen),this.scaleValues.push(this.sv4_DefaultAeLenDivAtLen));var l=o.length;if(l<=2)return;var i,n,r,a,s=this.operateCtrlPts(o);l=s.length,l--;var p=this.calcScaleValueCount(o.length);if(this.scaleValues.length<p){var u=this.calcDefaultScaleValues(l);i=u[0],n=u[1],r=u[2],a=u[3]}else i=this.scaleValues[0],n=this.scaleValues[1],r=this.scaleValues[2],a=this.scaleValues[3];for(var P=SuperMap.Plot.PlottingUtil.polylineDistance(o),y=[],c=0;c<this.scalePoints.length;c++)y.push(this.scalePoints[c].clone());if(0==y.length)return;y[t]=e.clone();var h,S,f=l-1;h=l<=3?new SuperMap.Geometry.Point((s[0].x+s[1].x)/2,(s[0].y+s[1].y)/2):s[f-1].clone();var g,M,d,m,v,b,A=new SuperMap.Geometry.Point(0,0),L=new SuperMap.Geometry.Point(0,0),T=new SuperMap.Geometry.Point(0,0);SuperMap.Plot.PlottingUtil.getTrianglePoints(0,3,h,s[f],s[f+1],L,T),SuperMap.Plot.PlottingUtil.getTrapezoidPoints(.5,s[l],s[l-1],T,A),S=A.clone();var x=SuperMap.Plot.PlottingUtil.triangleHeightAndPartBottomLen(s[l],S,y[2]);g=x.dLen1,x.dLen2,0==g&&(g=.1),M=g,i=(g/=a+1)/P,1==t?(m=(x=SuperMap.Plot.PlottingUtil.triangleHeightAndPartBottomLen(s[l],S,y[1])).dLen1,r=(v=x.dLen2)/g,a=(m-g)/g):0==t?(g=(x=SuperMap.Plot.PlottingUtil.triangleHeightAndPartBottomLen(s[l],S,y[0])).dLen1,n=(d=x.dLen2)/g,(b=SuperMap.Plot.PlottingUtil.distance(s[l],s[l-1]))<2*g&&(g=.5*b),m=(x=SuperMap.Plot.PlottingUtil.triangleHeightAndPartBottomLen(s[l],S,y[1])).dLen1,r=(v=x.dLen2)/g,(a=(M-g)/g)<.1&&(r=v/(g=M/(1+(a=.1))),n=d/g),i=g/P):2==t&&(i=g/P),d=g*n,(b=SuperMap.Plot.PlottingUtil.distance(s[l],s[l-1]))<2*g&&(d=(g=.5*b)*n,i=g/P),this.scaleValues[0]=i,this.scaleValues[1]=n,this.scaleValues[2]=r,this.scaleValues[3]=a}this.calculateParts()}},{key:"arrowMeshs",value:function(t){var e=[],o=[],l=[],i=[],n=SuperMap.Plot.PlottingUtil.clonePoints(t),r=SuperMap.Plot.ArrowToolkit.generateArrowBodyShapePts(n,this.scaleValues,SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_MULTIPOLYBEZIER),a=r.arrowTouLen,s=r.leftBodyPts,p=r.rightBodyPts;if(!SuperMap.Plot.PlottingUtil.equalFuzzy(a,0)){var u=[];u.push(s[s.length-1]),u.push(p[p.length-1]);var P=[];P.push(this.scaleValues[2]),P.push(this.scaleValues[3]),P.push(0),P.push(0);for(var y=SuperMap.Plot.ArrowToolkit.generateArrowHeadShapePts(n,u,P,a,SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_WITH_EAR),c=0;c<s.length;c++)e.push(s[c]),o.push(s[c]);for(var h=0;h<y.length;h++)e.push(y[h]),i.push(y[h]);for(var S=p.length-1;S>=0;S--)e.push(p[S]),l.push(p[S])}return{shapePts:e,leftBodyPts:o,rightBodyPts:l,arrowHeadPts:i}}},{key:"updateScalePoints",value:function(t){var e=t.length,o=[];if(!(e<3)){var l=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(!SuperMap.Plot.PlottingUtil.equalFuzzy(l,0)){var i=this.operateCtrlPts(t);e=i.length,e--;for(var n=[],r=0;r<this.scaleValues.length;r++)n.push(this.scaleValues[r]);var a=this.genArrowBodyPts(l,i,n),s=a.ArrowBodyCenterPts,p=this.genAtPts(e,s,n,a.ArrowTouLen),u=this.calc3rdScalePt(e,s,n,a.ArrowTouLen);return o.push(new SuperMap.Geometry.Point(a.LeftBodyPtsTemp[e].x,a.LeftBodyPtsTemp[e].y)),o.push(new SuperMap.Geometry.Point(p[2].x,p[2].y)),o.push(new SuperMap.Geometry.Point(u.x,u.y)),o}}}},{key:"operateCtrlPts",value:function(t){var e=SuperMap.Plot.PlottingUtil.clonePoints(t);if(3===e.length){var o=((e[0].x+e[1].x)/2+e[2].x)/2,l=((e[0].y+e[1].y)/2+e[2].y)/2,i=new SuperMap.Geometry.Point(o,l),n=e[2];e[2]=i,e.push(n)}return e}},{key:"genArrowBodyPts",value:function(t,e,o){var l,i,n,r=[],a=[],s=[],p=[],u=[],P=[],y=e.length;if(y--,o.length<this.calcScaleValueCount(y)){var c=this.calcDefaultScaleValues(y);i=c[0],n=c[1]}else i=o[0],n=o[1];var h=SuperMap.Plot.PlottingUtil.clonePoints(e),S=(h[0].x+h[1].x)/2,f=(h[0].y+h[1].y)/2,g=Math.abs(S-h[2].x),M=Math.abs(f-h[2].y),d=0;if(g>0&&M>0){var m=1/(S-h[2].x),v=-1/(f-h[2].y),b=1*h[2].y/(f-h[2].y)-1*h[2].x/(S-h[2].x);d=Math.abs(m*h[0].x+v*h[0].y+b)/Math.sqrt(m*m+v*v)}else M<=1e-4?d=Math.abs(f-h[1].y):g<=1e-4&&(d=Math.abs(S-h[1].x));var A=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(d,h[2],new SuperMap.Geometry.Point(S,f)),L=SuperMap.Plot.PlottingUtil.pointIsRightToLine(h[1],h[2],h[0]);L?(r[1]=h[1],a[1]=h[0]):(r[1]=h[0],a[1]=h[1]),h[1]=new SuperMap.Geometry.Point((h[0].x+h[1].x)/2,(h[0].y+h[1].y)/2);var T=Math.sqrt((A.pntLeft.x-A.pntRight.x)*(A.pntLeft.x-A.pntRight.x)+(A.pntLeft.y-A.pntRight.y)*(A.pntLeft.y-A.pntRight.y))*this.sv_AtWidthDivAwWidth,x=(l=T*this.sv_AtLenDivAtWidth)*n;SuperMap.Plot.PlottingUtil.equalFuzzy(i,0)||(x=(l=t*i)*n);var O,w,U=SuperMap.Plot.PlottingUtil.distance(h[y],h[y-1]),R=2*l;U<R&&(x=(l=U/2)*n),h.push(h[y].clone()),O=0,w=0;var _=0,E=[];for(_=2;_<=y;_++)O+=SuperMap.Plot.PlottingUtil.distance(h[_],h[_-1]);for(O-=l,_=2;_<=y-1;_++)w+=SuperMap.Plot.PlottingUtil.distance(h[_],h[_-1]),E[_]=x+(T-x)*Math.pow((O-w)/O,this.sv_AtScaleParameter);E[y]=x;var C,I,B=new SuperMap.Geometry.Point(0,0),G=new SuperMap.Geometry.Point(0,0),D=new SuperMap.Geometry.Point(0,0);for(_=2;_<=y-1;_++)SuperMap.Plot.PlottingUtil.getTrianglePoints(0,3,h[_-1],h[_],h[_+1],G,D),_==y-1&&SuperMap.Plot.PlottingUtil.getTrapezoidPoints(.5,h[y],h[y-1],D,B),C=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(E[_],G,h[_]),(L=SuperMap.Plot.PlottingUtil.pointIsRightToLine(D,G,C.pntRight))?(r[_]=new SuperMap.Geometry.Point(C.pntRight.x,C.pntRight.y),a[_]=new SuperMap.Geometry.Point(C.pntLeft.x,C.pntLeft.y)):(r[_]=new SuperMap.Geometry.Point(C.pntLeft.x,C.pntLeft.y),a[_]=new SuperMap.Geometry.Point(C.pntRight.x,C.pntRight.y));for(Math.sqrt(1*(h[y].x-B.x)*(h[y].x-B.x)+1*(h[y].y-B.y)*(h[y].y-B.y))>0&&(h[y]=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(l,h[y],B)),C=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(x,h[y+1],h[y]),(L=SuperMap.Plot.PlottingUtil.pointIsRightToLine(h[y],h[y+1],C.pntLeft))?(a[y]=new SuperMap.Geometry.Point(C.pntLeft.x,C.pntLeft.y),r[y]=new SuperMap.Geometry.Point(C.pntRight.x,C.pntRight.y)):(a[y]=new SuperMap.Geometry.Point(C.pntRight.x,C.pntRight.y),r[y]=new SuperMap.Geometry.Point(C.pntLeft.x,C.pntLeft.y)),_=2;_<y;_++)SuperMap.Plot.PlottingUtil.getTrianglePoints(3,3,r[_-1],r[_],r[_+1],G,D),s[_]=new SuperMap.Geometry.Point(G.x,G.y),p[_]=new SuperMap.Geometry.Point(D.x,D.y),SuperMap.Plot.PlottingUtil.getTrianglePoints(3,3,a[_-1],a[_],a[_+1],G,D),u[_]=new SuperMap.Geometry.Point(G.x,G.y),P[_]=new SuperMap.Geometry.Point(D.x,D.y),2==_&&(SuperMap.Plot.PlottingUtil.getTrapezoidPoints(.5,r[1],r[2],s[2],B),p[_]=new SuperMap.Geometry.Point(B.x,B.y),SuperMap.Plot.PlottingUtil.getTrapezoidPoints(.5,a[1],a[2],u[2],B),P[_]=new SuperMap.Geometry.Point(B.x,B.y)),_==y-1&&(R=(U=SuperMap.Plot.PlottingUtil.distance(r[y],r[y-1]))/3,(I=SuperMap.Plot.PlottingUtil.getExcentrePointOnSegmentByScale(R,h[y],h[y+1])).x+=r[y].x-h[y].x,I.y+=r[y].y-h[y].y,R=(U=T-x)*Math.pow(R/O,this.sv_AtScaleParameter),C=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(R,r[y],I),s[y]=new SuperMap.Geometry.Point(C.pntLeft.x,C.pntLeft.y),R=(U=SuperMap.Plot.PlottingUtil.distance(a[y],a[y-1]))/3,(I=SuperMap.Plot.PlottingUtil.getExcentrePointOnSegmentByScale(R,h[y],h[y+1])).x+=a[y].x-h[y].x,I.y+=a[y].y-h[y].y,R=(U=T-x)*Math.pow(R/O,this.sv_AtScaleParameter),C=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(R,a[y],I),u[y]=new SuperMap.Geometry.Point(C.pntRight.x,C.pntRight.y));return{ArrowBodyCenterPts:SuperMap.Plot.PlottingUtil.clonePoints(h),LeftBodyPtsTemp:r,RightBodyPtsTemp:a,LeftBodyPtsLeftCtrlPts:s,LeftBodyPtsRightCtrlPts:p,RightBodyPtsLeftCtrlPts:u,RightBodyPtsRightCtrlPts:P,ArrowTouLen:l}}},{key:"calcScaleValueCount",value:function(){return 4}},{key:"calcDefaultScaleValues",value:function(){var t=[];return t.push(this.sv1_DefaultAtLenDivAbLen),t.push(this.sv2_DefaultAjWidthDivAtLen),t.push(this.sv3_DefaultAeWidthDivAtLen),t.push(this.sv4_DefaultAeLenDivAtLen),t}},{key:"genAtPts",value:function(t,e,o,l){var i=o[2],n=[],r=l*o[3],a=SuperMap.Plot.PlottingUtil.getExcentrePointOnSegmentByScale(r,e[t],e[t+1]);r=l*i;var s=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(r,e[t+1],a);return n.push(new SuperMap.Geometry.Point(s.pntLeft.x,s.pntLeft.y)),n.push(e[t+1]),n.push(new SuperMap.Geometry.Point(s.pntRight.x,s.pntRight.y)),n}},{key:"calc3rdScalePt",value:function(t,e,o,l){var i=l*o[3];return SuperMap.Plot.PlottingUtil.getExcentrePointOnSegmentByScale(i,e[t],e[t+1])}}]),e}();SuperMap.Plot.AlgoSymbol1018=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.AlgoSymbol1017=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===o.scaleValues.length&&(o.scaleValues.push(.1),o.scaleValues.push(.2),o.scaleValues.push(0),o.scaleValues.push(.3),o.scaleValues.push(.3)),o.CLASS_NAME="SuperMap.Geometry.AlgoSymbol1017",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"calculateParts",value:function(){this.init();var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((t=SuperMap.Plot.PlottingUtil.clearSamePts(t)).length>=this.minEditPts){this.scalePoints=[];var e=SuperMap.Plot.PlottingUtil.clonePoints(t);this.isEdit||(this.scaleValues[0]=1.5*this.getSubSymbolScaleValue());var o=SuperMap.Plot.ArrowToolkit.generateArrowBodyShapePts(e,this.scaleValues,SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_PARALLEL),l=o.arrowTouLen,i=o.leftBodyPts,n=o.rightBodyPts,r=[];r.push(i[i.length-1]),r.push(n[n.length-1]);var a=[];a.push(this.scaleValues[3]),a.push(this.scaleValues[4]),a.push(this.scaleValues[0]),a.push(this.scaleValues[1]);var s=SuperMap.Plot.ArrowToolkit.generateArrowHeadShapePts(e,r,a,l,SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_WITHOUT_EAR),p=[];p=(p=p.concat(i)).concat(s);for(var u=n.length-1;u>=0;u--)p.push(n[u]);p.push(p[0]),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,p,{lineWidthLimit:!0,strokeWidth:0,weight:0,surroundLineFlag:!1});for(var P=SuperMap.Plot.PlottingUtil.clonePoints(i),y=[],c=n.length-1;c>=0;c--)y.push(n[c]);y=y.concat(P),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,y);var h=SuperMap.Plot.PlottingUtil.clonePoints(s);h.push(n[n.length-1]),h.splice(0,0,i[i.length-1]),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,h,{lineTypeLimit:!0});var S=new SuperMap.Geometry.Point((r[0].x+r[1].x)/2,(r[0].y+r[1].y)/2),f=new SuperMap.Geometry.Point(S.x,S.y);f.isScalePoint=!0,f.tag=0,this.scalePoints.push(f);var g=new SuperMap.Geometry.Point(i[i.length-1].x,i[i.length-1].y);g.isScalePoint=!0,g.tag=1,this.scalePoints.push(g);var M=new SuperMap.Geometry.Point(s[0].x,s[0].y);M.isScalePoint=!0,M.tag=2,this.scalePoints.push(M),this.finish()}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint){var o=new SuperMap.Geometry.Point(this.scalePoints[0].x,this.scalePoints[0].y),l=new SuperMap.Geometry.Point(this.scalePoints[1].x,this.scalePoints[1].y),i=new SuperMap.Geometry.Point(this.scalePoints[2].x,this.scalePoints[2].y),n=this.scaleValues[0],r=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);r=SuperMap.Plot.PlottingUtil.clearSamePts(r);var a=SuperMap.Plot.PlottingUtil.polylineDistance(r),s=a*n;if(0==t){var p=SuperMap.Plot.PlottingUtil.pointProjectToSegment(e,r[r.length-2],r[r.length-1]),u=p.projectPoint;if(p.isOnline){var P=SuperMap.Plot.PlottingUtil.distance(u,r[r.length-1]);this.scaleValues[0]=P/a}}else if(1==t){var y=SuperMap.Plot.PlottingUtil.pointProjectToSegment(e,l,i).projectPoint,c=SuperMap.Plot.PlottingUtil.distance(y,o);this.scaleValues[1]=c/s}else if(2==t){var h=SuperMap.Plot.PlottingUtil.pointProjectToSegment(e,r[1],i).projectPoint,S=SuperMap.Plot.PlottingUtil.pointProjectToSegment(h,o,r[1]),f=S.projectPoint,g=SuperMap.Plot.PlottingUtil.distance(f,o);!1===S.isOnline&&(this.scaleValues[4]=g/s)}}this.calculateParts()}}]),e}();SuperMap.Plot.AlgoSymbol1017=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.AlgoSymbol1016=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===o.scaleValues.length&&o.scaleValues.push(.1),o.arrowHeadType=t.arrowHeadType?t.arrowHeadType:0,o.arrowBodyType=t.arrowBodyType?t.arrowBodyType:0,o.arrowTailType=t.arrowTailType?t.arrowTailType:0,o.CLASS_NAME="SuperMap.Plot.AlgoSymbol1016",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"calculateParts",value:function(){this.init();var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(!((t=SuperMap.Plot.PlottingUtil.clearSamePts(t)).length<this.minEditPts)){var e={surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fillStyle:0,lineTypeLimit:!0};this.scaleValues[0]=this.getSubSymbolScaleValue();var o,l=SuperMap.Plot.PlottingUtil.polylineDistance(t)*this.scaleValues[0],i=2*Math.sqrt(l*l/3)/1.4,n=Math.sqrt(l*l/3),r=!1;this.arrowBodyType===SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_COATTAIL?o=SuperMap.Plot.ArrowToolkit.generateArrowBodyShapePtsBySingleLine(t,l,this.arrowBodyType,r):this.arrowHeadType===SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_TRIANGLE||this.arrowHeadType===SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_TRIANGLE_SOLID?(r=!0,o=SuperMap.Plot.ArrowToolkit.generateArrowBodyShapePtsBySingleLine(t,l,this.arrowBodyType,r)):this.arrowHeadType===SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_POLYLINE?o=SuperMap.Plot.ArrowToolkit.generateArrowBodyShapePtsBySingleLine(t,l,this.arrowBodyType,r):this.arrowHeadType===SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_COATTAIL_HOLLOW?(r=!0,o=SuperMap.Plot.ArrowToolkit.generateArrowBodyShapePtsBySingleLine(t,i,this.arrowBodyType,r)):this.arrowHeadType===SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_COATTAIL?(r=!0,o=SuperMap.Plot.ArrowToolkit.generateArrowBodyShapePtsBySingleLine(t,n,this.arrowBodyType,r)):o=SuperMap.Plot.ArrowToolkit.generateArrowBodyShapePtsBySingleLine(t,0,this.arrowBodyType,r);var a=[];this.arrowBodyType===SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_COATTAIL?(a.push(t[t.length-1]),a.push(t[t.length-2])):r?(a.push(t[t.length-1]),a.push(o[o.length-1])):(a.push(o[o.length-1]),a.push(o[o.length-2]));var s,p=SuperMap.Plot.ArrowToolkit.generateArrowHeadShapePtsBySingleLine(a,l,this.arrowHeadType);if(o.length>1)if(this.arrowBodyType!==SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_COATTAIL)this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,o);else for(var u=0,P=o.length-1;u<P;u+=2){var y=SuperMap.Plot.PlottingUtil.distance(o[u+1],o[u]),c=180*SuperMap.Plot.PlottingUtil.radian(o[u+1],o[u])/Math.PI,h=SuperMap.Plot.PlottingUtil.circlePoint(o[u+1],.3*y,.3*y,c+30),S=SuperMap.Plot.PlottingUtil.circlePoint(o[u+1],.3*y,.3*y,c+330),f=SuperMap.Plot.PlottingUtil.circlePoint(o[u],.3*y,.3*y,c+30),g=SuperMap.Plot.PlottingUtil.circlePoint(o[u],.3*y,.3*y,c+330),M=[];M.push(h,o[u+1],S,g,o[u],f),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,M,e)}s=this.arrowBodyType===SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_POLYBEZIER?SuperMap.Plot.ArrowToolkit.generateArrowTailShapePtsBySingleLine([o[0],o[1]],l,this.arrowTailType):SuperMap.Plot.ArrowToolkit.generateArrowTailShapePtsBySingleLine([t[0],t[1]],l,this.arrowTailType);var d=SuperMap.Plot.SymbolType.POLYLINESYMBOL;this.arrowHeadType!==SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_COATTAIL&&this.arrowHeadType!==SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_TRIANGLE_SOLID&&this.arrowHeadType!==SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_TRIANGLE&&this.arrowHeadType!==SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_COATTAIL_HOLLOW||(d=SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL),p.length>1&&this.addCell(d,p,e),s.length>1&&this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,s)}}}]),e}();SuperMap.Plot.AlgoSymbol1016=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=e.AlgoSymbol1015=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.subSymbolDefaultPixelSize=15,o.CLASS_NAME="SuperMap.Plot.AlgoSymbol1015",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol1009),e}();SuperMap.Plot.AlgoSymbol1015=l},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=e.AlgoSymbol1014=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.subSymbolDefaultPixelSize=15,o.CLASS_NAME="SuperMap.Plot.AlgoSymbol1014",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol1008),e}();SuperMap.Plot.AlgoSymbol1014=l},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=e.AlgoSymbol1013=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.subSymbolDefaultPixelSize=15,o.CLASS_NAME="SuperMap.Plot.AlgoSymbol1013",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol1007),e}();SuperMap.Plot.AlgoSymbol1013=l},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=e.AlgoSymbol1012=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.subSymbolDefaultPixelSize=15,o.CLASS_NAME="SuperMap.Plot.AlgoSymbol1012",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol1005),e}();SuperMap.Plot.AlgoSymbol1012=l},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.AlgoSymbol1011=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.sv1_DefaultAtLenDivAbLen=0,o.sv2_DefaultAjWidthDivAtLen=.148,o.sv3_DefaultAeWidthDivAtLen=.4,o.sv4_DefaultAeLenDivAtLen=.312,o.sv_arrowTailWidth=.05,5!==o.scaleValues.length&&(o.scaleValues=[],o.scaleValues.push(o.sv1_DefaultAtLenDivAbLen),o.scaleValues.push(o.sv2_DefaultAjWidthDivAtLen),o.scaleValues.push(o.sv3_DefaultAeWidthDivAtLen),o.scaleValues.push(o.sv4_DefaultAeLenDivAtLen),o.scaleValues.push(o.sv_arrowTailWidth)),o.CLASS_NAME="SuperMap.Plot.AlgoSymbol1011",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol1004),l(e,[{key:"calculateParts",value:function(){this.init();var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(!((t=SuperMap.Plot.PlottingUtil.clearSamePts(t)).length<2)){var e=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(0!==e){var o=e*this.scaleValues[4],l=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(o,t[1],t[0]);void 0!==t[0].z&&(l.pntLeft.z=t[0].z,l.pntRight.z=t[0].z),this.controlPoints=[],this.controlPoints.push(l.pntLeft),this.controlPoints.push(l.pntRight);for(var i=1;i<t.length;i++)this.controlPoints.push(t[i].clone());for(var n=[],r=0;r<this.scaleValues.length;r++)n.push(this.scaleValues[r]);this.scaleValues=[];for(var a=0;a<n.length-1;a++)this.scaleValues.push(n[a]);SuperMap.Plot.AlgoSymbol1004.prototype.calculateParts.apply(this,arguments);var s=l.pntRight.clone();s.isScalePoint=!0,s.tag=3,this.addScalePoint(s),this.controlPoints=SuperMap.Plot.PlottingUtil.clonePoints(t),this.scaleValues=[];for(var p=0;p<n.length;p++)this.scaleValues.push(n[p])}}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint){var o=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(o.length<2)return;this.scaleValues.length<5&&(this.scaleValues=[],this.scaleValues.push(this.sv1_DefaultAtLenDivAbLen),this.scaleValues.push(this.sv2_DefaultAjWidthDivAtLen),this.scaleValues.push(this.sv3_DefaultAeWidthDivAtLen),this.scaleValues.push(this.sv4_DefaultAeLenDivAtLen),this.scaleValues.push(this.sv_arrowTailWidth));var l,i=o[0].clone(),n=SuperMap.Plot.PlottingUtil.polylineDistance(o),r=n*this.scaleValues[4],a=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(r,o[1],o[0]);(o=[]).push(a.pntLeft),o.push(a.pntRight);for(var s=1;s<this.controlPoints.length;s++)o.push(this.controlPoints[s].clone());var p,u,P,y,c,h=o.length,S=this.operateCtrlPts(o);h=S.length,h--;var f=this.calcScaleValueCount(o.length);if(f++,this.scaleValues.length<f){var g=this.calcDefaultScaleValues(h);p=g[0],u=g[1],P=g[2],y=g[3],c=this.sv_arrowTailWidth}else p=this.scaleValues[0],u=this.scaleValues[1],P=this.scaleValues[2],y=this.scaleValues[3],c=this.scaleValues[4];l=SuperMap.Plot.PlottingUtil.polylineDistance(o);for(var M=[],d=0;d<this.scalePoints.length;d++)M.push(this.scalePoints[d].clone());if(0===M.length)return;M[t]=e.clone();var m,v,b=h-1;m=h<=3?new SuperMap.Geometry.Point((S[0].x+S[1].x)/2,(S[0].y+S[1].y)/2):S[b-1].clone();var A,L,T,x,O,w,U=new SuperMap.Geometry.Point(0,0),R=new SuperMap.Geometry.Point(0,0),_=new SuperMap.Geometry.Point(0,0);SuperMap.Plot.PlottingUtil.getTrianglePoints(0,3,m,S[b],S[b+1],R,_),SuperMap.Plot.PlottingUtil.getTrapezoidPoints(.5,S[h],S[h-1],_,U),v=U.clone();var E=SuperMap.Plot.PlottingUtil.triangleHeightAndPartBottomLen(S[h],v,M[2]);if(A=E.dLen1,E.dLen2,0===A&&(A=.1),L=A,p=(A/=y+1)/l,1===t)x=(E=SuperMap.Plot.PlottingUtil.triangleHeightAndPartBottomLen(S[h],v,M[1])).dLen1,P=(O=E.dLen2)/A,y=(x-A)/A;else if(0===t)A=(E=SuperMap.Plot.PlottingUtil.triangleHeightAndPartBottomLen(S[h],v,M[0])).dLen1,u=(T=E.dLen2)/A,(w=SuperMap.Plot.PlottingUtil.distance(S[h],S[h-1]))<2*A&&(A=.5*w),x=(E=SuperMap.Plot.PlottingUtil.triangleHeightAndPartBottomLen(S[h],v,M[1])).dLen1,P=(O=E.dLen2)/A,(y=(L-A)/A)<.1&&(P=O/(A=L/(1+(y=.1))),u=T/A),p=A/l;else if(2===t)p=A/l;else{c=SuperMap.Plot.PlottingUtil.distance(e,i)/n}T=A*u,(w=SuperMap.Plot.PlottingUtil.distance(S[h],S[h-1]))<2*A&&(T=(A=.5*w)*u,p=A/l),this.scaleValues[0]=p,this.scaleValues[1]=u,this.scaleValues[2]=P,this.scaleValues[3]=y,this.scaleValues[4]=c}this.calculateParts()}},{key:"arrowMeshs",value:function(t){var e=[],o=[],l=[],i=[],n=SuperMap.Plot.PlottingUtil.clonePoints(t),r=SuperMap.Plot.ArrowToolkit.generateArrowBodyShapePts(n,this.scaleValues,SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_MULTIPOLYBEZIER),a=r.arrowTouLen,s=r.leftBodyPts,p=r.rightBodyPts;if(!SuperMap.Plot.PlottingUtil.equalFuzzy(a,0)){var u=[];u.push(s[s.length-1]),u.push(p[p.length-1]);var P=[];P.push(this.scaleValues[2]),P.push(this.scaleValues[3]),P.push(0),P.push(0);for(var y=SuperMap.Plot.ArrowToolkit.generateArrowHeadShapePts(n,u,P,a,SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_WITH_EAR),c=0;c<s.length;c++)e.push(s[c]),o.push(s[c]);for(var h=0;h<y.length;h++)e.push(y[h]),i.push(y[h]);for(var S=p.length-1;S>=0;S--)e.push(p[S]),l.push(p[S])}return{shapePts:e,leftBodyPts:o,rightBodyPts:l,arrowHeadPts:i}}},{key:"updateScalePoints",value:function(t){var e=t.length,o=[];if(!(e<3)){var l=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(!SuperMap.Plot.PlottingUtil.equalFuzzy(l,0)){var i=this.operateCtrlPts(t);e=i.length,e--;for(var n=[],r=0;r<this.scaleValues.length;r++)n.push(this.scaleValues[r]);var a=this.genArrowBodyPts(l,i,n),s=a.ArrowBodyCenterPts,p=this.genAtPts(e,s,n,a.ArrowTouLen),u=this.calc3rdScalePt(e,s,n,a.ArrowTouLen);return o.push(new SuperMap.Geometry.Point(a.LeftBodyPtsTemp[e].x,a.LeftBodyPtsTemp[e].y)),o.push(new SuperMap.Geometry.Point(p[2].x,p[2].y)),o.push(new SuperMap.Geometry.Point(u.x,u.y)),o}}}},{key:"operateCtrlPts",value:function(t){var e=SuperMap.Plot.PlottingUtil.clonePoints(t);if(3===e.length){var o=((e[0].x+e[1].x)/2+e[2].x)/2,l=((e[0].y+e[1].y)/2+e[2].y)/2,i=new SuperMap.Geometry.Point(o,l),n=e[2];e[2]=i,e.push(n)}return e}},{key:"genArrowBodyPts",value:function(t,e,o){var l,i,n,r=[],a=[],s=[],p=[],u=[],P=[],y=e.length;if(y--,o.length<this.calcScaleValueCount(y)){var c=this.calcDefaultScaleValues(y);i=c[0],n=c[1]}else i=o[0],n=o[1];var h=SuperMap.Plot.PlottingUtil.clonePoints(e),S=(h[0].x+h[1].x)/2,f=(h[0].y+h[1].y)/2,g=Math.abs(S-h[2].x),M=Math.abs(f-h[2].y),d=0;if(g>0&&M>0){var m=1/(S-h[2].x),v=-1/(f-h[2].y),b=1*h[2].y/(f-h[2].y)-1*h[2].x/(S-h[2].x);d=Math.abs(m*h[0].x+v*h[0].y+b)/Math.sqrt(m*m+v*v)}else M<=1e-4?d=Math.abs(f-h[1].y):g<=1e-4&&(d=Math.abs(S-h[1].x));var A=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(d,h[2],new SuperMap.Geometry.Point(S,f)),L=SuperMap.Plot.PlottingUtil.pointIsRightToLine(h[1],h[2],h[0]);L?(r[1]=h[1],a[1]=h[0]):(r[1]=h[0],a[1]=h[1]),h[1]=new SuperMap.Geometry.Point((h[0].x+h[1].x)/2,(h[0].y+h[1].y)/2);var T=Math.sqrt((A.pntLeft.x-A.pntRight.x)*(A.pntLeft.x-A.pntRight.x)+(A.pntLeft.y-A.pntRight.y)*(A.pntLeft.y-A.pntRight.y))*this.sv_AtWidthDivAwWidth,x=(l=T*this.sv_AtLenDivAtWidth)*n;SuperMap.Plot.PlottingUtil.equalFuzzy(i,0)||(x=(l=t*i)*n);var O,w,U=SuperMap.Plot.PlottingUtil.distance(h[y],h[y-1]),R=2*l;U<R&&(x=(l=U/2)*n),h.push(h[y].clone()),O=0,w=0;var _=0,E=[];for(_=2;_<=y;_++)O+=SuperMap.Plot.PlottingUtil.distance(h[_],h[_-1]);for(O-=l,_=2;_<=y-1;_++)w+=SuperMap.Plot.PlottingUtil.distance(h[_],h[_-1]),E[_]=x+(T-x)*Math.pow((O-w)/O,this.sv_AtScaleParameter);E[y]=x;var C,I,B=new SuperMap.Geometry.Point(0,0),G=new SuperMap.Geometry.Point(0,0),D=new SuperMap.Geometry.Point(0,0);for(_=2;_<=y-1;_++)SuperMap.Plot.PlottingUtil.getTrianglePoints(0,3,h[_-1],h[_],h[_+1],G,D),_===y-1&&SuperMap.Plot.PlottingUtil.getTrapezoidPoints(.5,h[y],h[y-1],D,B),C=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(E[_],G,h[_]),(L=SuperMap.Plot.PlottingUtil.pointIsRightToLine(D,G,C.pntRight))?(r[_]=new SuperMap.Geometry.Point(C.pntRight.x,C.pntRight.y),a[_]=new SuperMap.Geometry.Point(C.pntLeft.x,C.pntLeft.y)):(r[_]=new SuperMap.Geometry.Point(C.pntLeft.x,C.pntLeft.y),a[_]=new SuperMap.Geometry.Point(C.pntRight.x,C.pntRight.y));for(Math.sqrt(1*(h[y].x-B.x)*(h[y].x-B.x)+1*(h[y].y-B.y)*(h[y].y-B.y))>0&&(h[y]=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(l,h[y],B)),C=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(x,h[y+1],h[y]),(L=SuperMap.Plot.PlottingUtil.pointIsRightToLine(h[y],h[y+1],C.pntLeft))?(a[y]=new SuperMap.Geometry.Point(C.pntLeft.x,C.pntLeft.y),r[y]=new SuperMap.Geometry.Point(C.pntRight.x,C.pntRight.y)):(a[y]=new SuperMap.Geometry.Point(C.pntRight.x,C.pntRight.y),r[y]=new SuperMap.Geometry.Point(C.pntLeft.x,C.pntLeft.y)),_=2;_<y;_++)SuperMap.Plot.PlottingUtil.getTrianglePoints(3,3,r[_-1],r[_],r[_+1],G,D),s[_]=new SuperMap.Geometry.Point(G.x,G.y),p[_]=new SuperMap.Geometry.Point(D.x,D.y),SuperMap.Plot.PlottingUtil.getTrianglePoints(3,3,a[_-1],a[_],a[_+1],G,D),u[_]=new SuperMap.Geometry.Point(G.x,G.y),P[_]=new SuperMap.Geometry.Point(D.x,D.y),2===_&&(SuperMap.Plot.PlottingUtil.getTrapezoidPoints(.5,r[1],r[2],s[2],B),p[_]=new SuperMap.Geometry.Point(B.x,B.y),SuperMap.Plot.PlottingUtil.getTrapezoidPoints(.5,a[1],a[2],u[2],B),P[_]=new SuperMap.Geometry.Point(B.x,B.y)),_===y-1&&(R=(U=SuperMap.Plot.PlottingUtil.distance(r[y],r[y-1]))/3,(I=SuperMap.Plot.PlottingUtil.getExcentrePointOnSegmentByScale(R,h[y],h[y+1])).x+=r[y].x-h[y].x,I.y+=r[y].y-h[y].y,R=(U=T-x)*Math.pow(R/O,this.sv_AtScaleParameter),C=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(R,r[y],I),s[y]=new SuperMap.Geometry.Point(C.pntLeft.x,C.pntLeft.y),R=(U=SuperMap.Plot.PlottingUtil.distance(a[y],a[y-1]))/3,(I=SuperMap.Plot.PlottingUtil.getExcentrePointOnSegmentByScale(R,h[y],h[y+1])).x+=a[y].x-h[y].x,I.y+=a[y].y-h[y].y,R=(U=T-x)*Math.pow(R/O,this.sv_AtScaleParameter),C=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(R,a[y],I),u[y]=new SuperMap.Geometry.Point(C.pntRight.x,C.pntRight.y));return{ArrowBodyCenterPts:SuperMap.Plot.PlottingUtil.clonePoints(h),LeftBodyPtsTemp:r,RightBodyPtsTemp:a,LeftBodyPtsLeftCtrlPts:s,LeftBodyPtsRightCtrlPts:p,RightBodyPtsLeftCtrlPts:u,RightBodyPtsRightCtrlPts:P,ArrowTouLen:l}}},{key:"calcScaleValueCount",value:function(){return 4}},{key:"calcDefaultScaleValues",value:function(){var t=[];return t.push(this.sv1_DefaultAtLenDivAbLen),t.push(this.sv2_DefaultAjWidthDivAtLen),t.push(this.sv3_DefaultAeWidthDivAtLen),t.push(this.sv4_DefaultAeLenDivAtLen),t}},{key:"genAtPts",value:function(t,e,o,l){var i=o[2],n=[],r=l*o[3],a=SuperMap.Plot.PlottingUtil.getExcentrePointOnSegmentByScale(r,e[t],e[t+1]);r=l*i;var s=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(r,e[t+1],a);return n.push(new SuperMap.Geometry.Point(s.pntLeft.x,s.pntLeft.y)),n.push(e[t+1]),n.push(new SuperMap.Geometry.Point(s.pntRight.x,s.pntRight.y)),n}},{key:"calc3rdScalePt",value:function(t,e,o,l){var i=l*o[3];return SuperMap.Plot.PlottingUtil.getExcentrePointOnSegmentByScale(i,e[t],e[t+1])}}]),e}();SuperMap.Plot.AlgoSymbol1011=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.AlgoSymbol1010=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===o.scaleValues.length&&(o.scaleValues.push(0),o.scaleValues.push(.148),o.scaleValues.push(.4),o.scaleValues.push(.312),o.scaleValues.push(.2)),o.CLASS_NAME="SuperMap.Plot.AlgoSymbol1010",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"calculateParts",value:function(){this.init();var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((t=SuperMap.Plot.PlottingUtil.clearSamePts(t)).length>=2&&t.length<this.minEditPts&&this.calAssistantLine(),!(t.length<this.minEditPts)){var e=this.arrowMeshs(t);if(SuperMap.Plot.PlottingUtil.clearSamePts(e.shapePts),0!==e.shapePts.length){this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e.shapePts,{surroundLineFlag:!1}),this.scalePoints=[];for(var o=0;o<e.m_scalePoints.length;o++)this.addScalePoint(e.m_scalePoints[o])}}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint){var o=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);this.scaleValues.length<4&&(this.scaleValues.push(0),this.scaleValues.push(.148),this.scaleValues.push(.4),this.scaleValues.push(.312),this.scaleValues.push(.2));var l,i,n,r,a=o.length;if(a<=2)return;this.scaleValues.length<4?(l=0,i=.148,n=.4,r=.312):(l=this.scaleValues[0],i=this.scaleValues[1],n=this.scaleValues[2],r=this.scaleValues[3]);var s=SuperMap.Plot.PlottingUtil.polylineDistance(o),p=this.operateCtrlPts(o);a=p.length,a--;for(var u=[],P=0;P<this.scalePoints.length;P++)u.push(this.scalePoints[P].clone());if(0===u.length)return;if(u[t]=e.clone(),3===t){var y=SuperMap.Plot.ArrowToolkit.generateArrowBodyShapePts(o,this.scaleValues,SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_MULTIPOLYBEZIER),c=new SuperMap.Geometry.Point(.5*(y.leftBodyPts[0].x+y.rightBodyPts[0].x),.5*(y.leftBodyPts[0].y+y.rightBodyPts[0].y)),h=SuperMap.Plot.PlottingUtil.distance(y.leftBodyPts[0],y.rightBodyPts[0]);this.scaleValues[4]=SuperMap.Plot.PlottingUtil.distance(c,e)/h}else{var S,f,g=a-1;S=a<=3?new SuperMap.Geometry.Point((p[0].x+p[1].x)/2,(p[0].y+p[1].y)/2):p[g-1].clone();var M,d,m,v,b,A,L=new SuperMap.Geometry.Point(0,0),T=new SuperMap.Geometry.Point(0,0),x=new SuperMap.Geometry.Point(0,0);SuperMap.Plot.PlottingUtil.getTrianglePoints(0,3,S,p[g],p[g+1],T,x),SuperMap.Plot.PlottingUtil.getTrapezoidPoints(.5,p[a],p[a-1],x,L),f=L.clone();var O=SuperMap.Plot.PlottingUtil.triangleHeightAndPartBottomLen(p[a],f,u[2]);M=O.dLen1,O.dLen2,0===M&&(M=.1),d=M,l=(M/=r+1)/s,1===t?(v=(O=SuperMap.Plot.PlottingUtil.triangleHeightAndPartBottomLen(p[a],f,u[1])).dLen1,n=(b=O.dLen2)/M,r=(v-M)/M):0===t?(M=(O=SuperMap.Plot.PlottingUtil.triangleHeightAndPartBottomLen(p[a],f,u[0])).dLen1,i=(m=O.dLen2)/M,(A=SuperMap.Plot.PlottingUtil.distance(p[a],p[a-1]))<2*M&&(M=.5*A),v=(O=SuperMap.Plot.PlottingUtil.triangleHeightAndPartBottomLen(p[a],f,u[1])).dLen1,n=(b=O.dLen2)/M,(r=(d-M)/M)<.1&&(n=b/(M=d/(1+(r=.1))),i=m/M),l=M/s):2===t&&(l=M/s),m=M*i,(A=SuperMap.Plot.PlottingUtil.distance(p[a],p[a-1]))<2*M&&(m=(M=.5*A)*i,l=M/s),this.scaleValues[0]=l,this.scaleValues[1]=i,this.scaleValues[2]=n,this.scaleValues[3]=r}}this.calculateParts()}},{key:"arrowMeshs",value:function(t){var e=[],o=[],l=[],i=[],n=[],r=[],a=SuperMap.Plot.PlottingUtil.clonePoints(t),s=SuperMap.Plot.ArrowToolkit.generateArrowBodyShapePts(a,this.scaleValues,SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_MULTIPOLYBEZIER),p=s.arrowTouLen,u=s.leftBodyPts,P=s.rightBodyPts;if(a=s.OpectrlPoints,!SuperMap.Plot.PlottingUtil.equalFuzzy(p,0)){var y=[];y.push(u[u.length-1]),y.push(P[P.length-1]);var c=[];c.push(this.scaleValues[2]),c.push(this.scaleValues[3]),c.push(0),c.push(0);var h=SuperMap.Plot.ArrowToolkit.generateArrowHeadShapePts(a,y,c,p,SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_WITH_EAR),S=[];S.push(u[0]),S.push(P[0]);for(var f,g=SuperMap.Plot.ArrowToolkit.generateArrowTailShapePts(t,S,this.scaleValues[4],SuperMap.Plot.ArrowToolkit.ArrowTailType.ARROWTAIL_COATTAIL_POLYBODY),M=0;M<u.length;M++)e.push(u[M]),o.push(u[M]);for(var d=0;d<h.length;d++)e.push(h[d]),i.push(h[d]);for(var m=P.length-1;m>=0;m--)e.push(P[m]),l.push(P[m]);for(var v=1;v<g.length;v++)e.push(g[v]),n.push(g[v]);var b=a.length;b-=2;var A=p*this.scaleValues[3];f=SuperMap.Plot.PlottingUtil.getExcentrePointOnSegmentByScale(A,a[b],a[b+1]);var L=new SuperMap.Geometry.Point(o[o.length-1].x,o[o.length-1].y);L.isScalePoint=!0,L.tag=0,r.push(L),(L=new SuperMap.Geometry.Point(i[0].x,i[0].y)).isScalePoint=!0,L.tag=1,r.push(L),(L=new SuperMap.Geometry.Point(f.x,f.y)).isScalePoint=!0,L.tag=2,r.push(L),(L=new SuperMap.Geometry.Point(g[1].x,g[1].y)).isScalePoint=!0,L.tag=3,r.push(L)}return{shapePts:e,leftBodyPts:o,rightBodyPts:l,arrowHeadPts:i,arrowTailPts:n,m_scalePoints:r}}},{key:"operateCtrlPts",value:function(t){var e=SuperMap.Plot.PlottingUtil.clonePoints(t);if(3===e.length){var o=((e[0].x+e[1].x)/2+e[2].x)/2,l=((e[0].y+e[1].y)/2+e[2].y)/2,i=new SuperMap.Geometry.Point(o,l),n=e[2];e[2]=i,e.push(n)}return e}}]),e}();SuperMap.Plot.AlgoSymbol1010=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.AlgoSymbol1009=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===o.scaleValues.length&&o.scaleValues.push(.1),o.CLASS_NAME="SuperMap.Plot.AlgoSymbol1009",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"calculateParts",value:function(){this.init();var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(!((t=SuperMap.Plot.PlottingUtil.clearSamePts(t)).length<this.minEditPts)){var e=!1;void 0!==t[0].z&&(e=!0),this.scaleValues[0]=this.getSubSymbolScaleValue();var o=SuperMap.Plot.PlottingUtil.polylineDistance(t)*this.scaleValues[0],l=SuperMap.Plot.ArrowToolkit.generateArrowBodyShapePtsBySingleLine(t,0,SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_POLYLINE,!1),i=[];i.push(l[l.length-1]),i.push(l[l.length-2]);var n=SuperMap.Plot.ArrowToolkit.generateArrowHeadShapePtsBySingleLine(i,o,SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_POLYLINE),r=[];r.push(l[0]),r.push(l[1]);var a=SuperMap.Plot.ArrowToolkit.generateArrowTailShapePtsBySingleLine(r,o,SuperMap.Plot.ArrowToolkit.ArrowTailType.ARROWTAIL_COATTAIL);if(e){for(var s=t.length,p=[],u=[],P=[],y=0;y<s;++y)p.push({x:t[y].x,y:t[y].y,z:t[y].z});var c,h={x:t[s-1].x,y:t[s-1].y,z:t[s-1].z},S={x:t[s-2].x,y:t[s-2].y,z:t[s-2].z};c=this.ComputeZValue(l[s-1],h,S),p.push({x:l[s-1].x,y:l[s-1].y,z:c});for(var f=0;f<n.length;++f)c=this.ComputeZValue(n[f],h,S),u.push({x:n[f].x,y:n[f].y,z:c});for(var g={x:t[1].x,y:t[1].y,z:t[1].z},M={x:t[0].x,y:t[0].y,z:t[0].z},d=0;d<a.length;++d)c=this.ComputeZValue(a[d],g,M),P.push({x:a[d].x,y:a[d].y,z:c});this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,p,{surroundLineFlag:!1}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,u),0!==P.length&&this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,P)}else{this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,l,{surroundLineFlag:!1}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,n),0!==a.length&&this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,a)}}}}]),e}();SuperMap.Plot.AlgoSymbol1009=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.AlgoSymbol1008=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===o.scaleValues.length&&o.scaleValues.push(.1),o.CLASS_NAME="SuperMap.Plot.AlgoSymbol1008",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"calculateParts",value:function(){this.init();var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(!((t=SuperMap.Plot.PlottingUtil.clearSamePts(t)).length<this.minEditPts)){this.scaleValues[0]=this.getSubSymbolScaleValue();var e=SuperMap.Plot.PlottingUtil.polylineDistance(t)*this.scaleValues[0],o=Math.sqrt(e*e/3),l=SuperMap.Plot.ArrowToolkit.generateArrowBodyShapePtsBySingleLine(t,o,SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_POLYBEZIER,!0),i=[];i.push(t[t.length-1]),i.push(l[l.length-1]);var n=SuperMap.Plot.ArrowToolkit.generateArrowHeadShapePtsBySingleLine(i,e,SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_COATTAIL);l.push(t[t.length-1]),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,l);n.length>0&&this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,n,{surroundLineFlag:!1,fillLimit:!0,fill:!0})}}}]),e}();SuperMap.Plot.AlgoSymbol1008=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.AlgoSymbol1007=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===o.scaleValues.length&&o.scaleValues.push(.1),o.CLASS_NAME="SuperMap.Plot.AlgoSymbol1007",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"calculateParts",value:function(){this.init();var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(!((t=SuperMap.Plot.PlottingUtil.clearSamePts(t)).length<this.minEditPts)){var e=!1;void 0!==t[0].z&&(e=!0),this.scaleValues[0]=this.getSubSymbolScaleValue();var o=SuperMap.Plot.PlottingUtil.polylineDistance(t)*this.scaleValues[0],l=SuperMap.Plot.ArrowToolkit.generateArrowBodyShapePtsBySingleLine(t,o,SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_POLYLINE,!0),i=[];i.push(t[t.length-1]),i.push(l[l.length-1]);var n=SuperMap.Plot.ArrowToolkit.generateArrowHeadShapePtsBySingleLine(i,o,SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_TRIANGLE_SOLID);if(e){for(var r=t.length,a=[],s=[],p=0;p<r;++p)a.push({x:l[p].x,y:l[p].y,z:t[p].z});var u={x:t[r-1].x,y:t[r-1].y,z:t[r-1].z},P={x:t[r-2].x,y:t[r-2].y,z:t[r-2].z},y=this.ComputeZValue(l[r-1],u,P);a[r-1].z=y;for(var c=0;c<n.length;++c){var h=this.ComputeZValue(n[c],u,P);s.push({x:n[c].x,y:n[c].y,z:h})}this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,a);s.length>0&&this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,s,{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0})}else{this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,l);n.length>0&&this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,n,{surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0})}}}}]),e}();SuperMap.Plot.AlgoSymbol1007=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.AlgoSymbol1006=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.QIANJI_RATE1=9,o.QIANJI_RATE2=20,o.QIANJI_RATE4=5,o.QIANJI_RATE3=1/3,o.QIANJI_TAIL_RATE1=8,o.QIANJI_TAIL_RATE2=3,o.QIANJI_TAIL_RATE3=.6,o.SV1_Default=.25,o.SV1_MinValue=0,o.SV1_MaxValue=.5,o.DEFAULT_ARROW_TAIL_POS=.4,o.SCALE_VALUE_COUNT=1,o.MIN_LEN_LeftToRightCenter=1e-7,o.SCALE_AT=1/3,o.SCALE_ATAJ=1/7,o.SCALE_ATAE=1/3,o.SCALE_AW=2/3,o.SCALE_ATAJctrlDefSide=.8,o.SCALE_ATAJctrlSameSide=2/3,o.SCALE_MM_LEFT=.25,o.SCALE_MM_RIGHT=.75,o.BEZIER_K1=1/3,o.QIANJI_OPERATE_RATE1=1,0===o.scaleValues.length&&o.scaleValues.push(o.SV1_Default),o.m_dMaxDis=0,o.m_bIsAnimation=!1,o.CLASS_NAME="SuperMap.Plot.AlgoSymbol1006",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"calculateParts",value:function(){this.init(),this.m_scalePoints=[];var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((t=SuperMap.Plot.PlottingUtil.clearSamePts(t)).length>=2&&t.length<this.minEditPts&&this.calAssistantLine(),!(t.length<this.minEditPts)){var e=SuperMap.Plot.PlottingUtil.clonePoints(t),o=e.length,l=!1;void 0!==e[0].z&&(l=!0);var i=this.arrowMeshs(t);if(l){for(var n=[],r=0;r<o;r++)n.push(e[r]);var a=i.LeftArowLeftBody,s=i.LeftArowHead,p=i.LeftArowRightBody,u=i.RightArowLeftBody,P=i.RightArowHead,y=i.RightArowRightBody;if(0==a.length)return!1;var c=[],h=[],S=[];if(3==n.length)a[0].x==n[0].x&&a[0].y==n[0].y?(h.push(n[0]),h.push(n[2]),S.push(n[1]),S.push(n[2])):(h.push(n[1]),h.push(n[2]),S.push(n[0]),S.push(n[2]));else{if(4!=n.length)return!1;a[0].x==n[0].x&&a[0].y==n[0].y?(h.push(n[0]),S.push(n[1])):(h.push(n[1]),S.push(n[0])),s[1].x==n[2].x&&s[1].y==n[2].y?(h.push(n[2]),S.push(n[3])):(h.push(n[3]),S.push(n[2]))}var f=new SuperMap.Geometry.Point;f=SuperMap.Plot.PlottingUtil.pointProjectToSegment(a[a.length-1],{x:h[0].x,y:h[0].y},{x:h[1].x,y:h[1].y}).projectPoint;var g=this.ComputeZValue(f,h[1],h[0]),M=[];this.ComputeHeight(a,M,h[0].z,g),c=c.concat(M);for(var d=0;d<s.length;d++){f=SuperMap.Plot.PlottingUtil.pointProjectToSegment(s[d],{x:h[0].x,y:h[0].y},{x:h[1].x,y:h[1].y}).projectPoint;var m=this.ComputeZValue(f,h[1],h[0]);c.push({x:s[d].x,y:s[d].y,z:m})}f=SuperMap.Plot.PlottingUtil.pointProjectToSegment(p[0],{x:h[0].x,y:h[0].y},{x:h[1].x,y:h[1].y}).projectPoint,this.ComputeZValue(f,h[1],h[0]),f=SuperMap.Plot.PlottingUtil.pointProjectToSegment(p[p.length-1],{x:h[0].x,y:h[0].y},{x:h[1].x,y:h[1].y}).projectPoint;var v=this.ComputeZValue(f,h[1],h[0]);f=SuperMap.Plot.PlottingUtil.pointProjectToSegment(u[0],{x:S[0].x,y:S[0].y},{x:S[1].x,y:S[1].y}).projectPoint;var b=(this.ComputeZValue(f,S[1],S[0])+v)/2,A=[];this.ComputeHeight(p,A,g,b),c=c.concat(A),f=SuperMap.Plot.PlottingUtil.pointProjectToSegment(u[u.length-1],{x:S[0].x,y:S[0].y},{x:S[1].x,y:S[1].y}).projectPoint;var L=this.ComputeZValue(f,S[1],S[0]),T=[];this.ComputeHeight(u,T,b,L),c=c.concat(T);for(var x=0;x<P.length;x++){f=SuperMap.Plot.PlottingUtil.pointProjectToSegment(P[x],{x:S[0].x,y:S[0].y},{x:S[1].x,y:S[1].y}).projectPoint;var O=this.ComputeZValue(f,S[1],S[0]);c.push({x:P[x].x,y:P[x].y,z:O})}f=SuperMap.Plot.PlottingUtil.pointProjectToSegment(y[0],{x:S[0].x,y:S[0].y},{x:S[1].x,y:S[1].y}).projectPoint;var w=this.ComputeZValue(f,S[1],S[0]),U=[];this.ComputeHeight(y,U,w,S[0].z),(c=c.concat(U)).length>0&&this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,c,{surroundLineFlag:!1}),this.m_scalePoints.length>0&&(this.m_scalePoints[0]={x:this.m_scalePoints[0].x,y:this.m_scalePoints[0].y,z:b});for(var R=0;R<this.m_scalePoints.length;R++)this.m_scalePoints[R].isScalePoint=!0,this.m_scalePoints[R].tag=R,this.addScalePoint(this.m_scalePoints[R]);return!0}var _=i.shapePts;_.length>0&&(this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,_,{surroundLineFlag:!1,lineWidthLimit:!0,strokeWidth:0,weight:0}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,_,{surroundLineFlag:!1})),this.scalePoints=[];for(var E=0;E<this.m_scalePoints.length;E++)this.m_scalePoints[E].isScalePoint=!0,this.m_scalePoints[E].tag=E,this.addScalePoint(this.m_scalePoints[E])}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint){var o,l=SuperMap.Plot.PlottingUtil.operateControlPoints(this.controlPoints),i=new SuperMap.Geometry.Point((l[0].x+l[1].x)/2,(l[0].y+l[1].y)/2),n=new SuperMap.Geometry.Point((l[2].x+l[3].x)/2,(l[2].y+l[3].y)/2),r=SuperMap.Plot.PlottingUtil.pointProjectToSegment(e,i,n);if(r.isOnline){var a=SuperMap.Plot.PlottingUtil.distance(r.projectPoint,i),s=SuperMap.Plot.PlottingUtil.distance(i,n);(o=SuperMap.Plot.PlottingUtil.equalFuzzy(a,0)?this.SV1_MinValue:a/s)>this.SV1_MaxValue&&(o=this.SV1_MaxValue)}else o=SuperMap.Plot.PlottingUtil.distance(r.projectPoint,i)<SuperMap.Plot.PlottingUtil.distance(r.projectPoint,n)?this.SV1_MinValue:this.SV1_MaxValue;this.scaleValues=[],this.scaleValues.push(o)}this.calculateParts()}},{key:"arrowMeshs",value:function(t){var e=new SuperMap.Plot.Path2D,o=[];this.m_bIsAnimation&&4==t.length?o=SuperMap.Plot.PlottingUtil.clonePoints(t):(o=SuperMap.Plot.PlottingUtil.operateControlPoints(t),void 0!==t[0].z&&(o[o.length-1].z=o[o.length-2].z));var l=this.scaleValues[0],i=SuperMap.Plot.PlottingUtil.distance(o[0],o[3]),n=SuperMap.Plot.PlottingUtil.distance(o[1],o[2]),r=o[1].clone(),a=.5*(o[0].x+o[3].x),s=.5*(o[0].y+o[3].y),p=new SuperMap.Geometry.Point(a,s),u=.5*(o[1].x+o[2].x),P=.5*(o[1].y+o[2].y),y=new SuperMap.Geometry.Point(u,P),c=SuperMap.Plot.PlottingUtil.distance(p,y);c<this.MIN_LEN_LeftToRightCenter&&(c=this.MIN_LEN_LeftToRightCenter),p.x=a+i*(a-u)/(c*this.QIANJI_RATE1),p.y=s+i*(s-P)/(c*this.QIANJI_RATE1),y.x=u+n*(u-a)/(c*this.QIANJI_RATE1),y.y=P+n*(P-s)/(c*this.QIANJI_RATE1);var h=new SuperMap.Geometry.Point(0,0),S=new SuperMap.Geometry.Point(0,0);h.x=a+i*(a-u)/(c*this.QIANJI_RATE2),h.y=s+i*(s-P)/(c*this.QIANJI_RATE2),S.x=u+n*(u-a)/(c*this.QIANJI_RATE2),S.y=P+n*(P-s)/(c*this.QIANJI_RATE2);var f=new SuperMap.Geometry.Point((o[0].x+o[1].x)/2,(o[0].y+o[1].y)/2),g=new SuperMap.Geometry.Point((o[2].x+o[3].x)/2,(o[2].y+o[3].y)/2),M=o[3].x-(o[3].x-p.x)*this.SCALE_AT,d=o[3].y-(o[3].y-p.y)*this.SCALE_AT,m=o[2].x-(o[2].x-y.x)*this.SCALE_AT,v=o[2].y-(o[2].y-y.y)*this.SCALE_AT,b=new SuperMap.Geometry.Point(0,0),A=new SuperMap.Geometry.Point(0,0),L=new SuperMap.Geometry.Point(0,0),T=new SuperMap.Geometry.Point(0,0);A.x=M-(d-o[3].y)*this.SCALE_ATAJ,A.y=d+(M-o[3].x)*this.SCALE_ATAJ,b.x=M+(d-o[3].y)*this.SCALE_ATAJ,b.y=d-(M-o[3].x)*this.SCALE_ATAJ,T.x=m-(v-o[2].y)*this.SCALE_ATAJ,T.y=v+(m-o[2].x)*this.SCALE_ATAJ,L.x=m+(v-o[2].y)*this.SCALE_ATAJ,L.y=v-(m-o[2].x)*this.SCALE_ATAJ;var x=new SuperMap.Geometry.Point(0,0),O=new SuperMap.Geometry.Point(0,0),w=new SuperMap.Geometry.Point(0,0),U=new SuperMap.Geometry.Point(0,0);x.x=3*b.x-2*M-(o[3].x-M)*this.SCALE_ATAE,x.y=3*b.y-2*d-(o[3].y-d)*this.SCALE_ATAE,O.x=3*A.x-2*M-(o[3].x-M)*this.SCALE_ATAE,O.y=3*A.y-2*d-(o[3].y-d)*this.SCALE_ATAE,w.x=3*L.x-2*m-(o[2].x-m)*this.SCALE_ATAE,w.y=3*L.y-2*v-(o[2].y-v)*this.SCALE_ATAE,U.x=3*T.x-2*m-(o[2].x-m)*this.SCALE_ATAE,U.y=3*T.y-2*v-(o[2].y-v)*this.SCALE_ATAE,p.x=a+i*(a-u)/(c*this.QIANJI_RATE4),p.y=s+i*(s-P)/(c*this.QIANJI_RATE4),y.x=u+n*(u-a)/(c*this.QIANJI_RATE4),y.y=P+n*(P-s)/(c*this.QIANJI_RATE4);var R=new SuperMap.Geometry.Point(0,0);R.x=o[0].x+(p.x-o[0].x)*this.SCALE_AW,R.y=o[0].y+(p.y-o[0].y)*this.SCALE_AW;var _=new SuperMap.Geometry.Point(0,0);_.x=o[1].x+(y.x-o[1].x)*this.SCALE_AW,_.y=o[1].y+(y.y-o[1].y)*this.SCALE_AW;var E=new SuperMap.Geometry.Point(0,0);E.x=b.x+(p.x-b.x)*this.SCALE_ATAJctrlSameSide,E.y=b.y+(p.y-b.y)*this.SCALE_ATAJctrlSameSide;var C=new SuperMap.Geometry.Point(0,0);C.x=T.x+(y.x-T.x)*this.SCALE_ATAJctrlSameSide,C.y=T.y+(y.y-T.y)*this.SCALE_ATAJctrlSameSide;var I=new SuperMap.Geometry.Point(0,0);I.x=A.x+(h.x-A.x)*this.SCALE_ATAJctrlDefSide,I.y=A.y+(h.y-A.y)*this.SCALE_ATAJctrlDefSide;var B=new SuperMap.Geometry.Point(0,0);B.x=L.x+(S.x-L.x)*this.SCALE_ATAJctrlDefSide,B.y=L.y+(S.y-L.y)*this.SCALE_ATAJctrlDefSide;var G=new SuperMap.Geometry.Point(0,0);G.x=f.x+(g.x-f.x)*l,G.y=f.y+(g.y-f.y)*l,this.m_scalePoints.push(new SuperMap.Geometry.Point(G.x,G.y));var D=new SuperMap.Geometry.Point(0,0),V=new SuperMap.Geometry.Point(0,0);D.x=o[0].x+(o[3].x-o[0].x)*l,D.y=o[0].y+(o[3].y-o[0].y)*l,V.x=o[1].x+(o[2].x-o[1].x)*l,V.y=o[1].y+(o[2].y-o[1].y)*l,D.x=D.x+(G.x-D.x)*this.QIANJI_RATE3,D.y=D.y+(G.y-D.y)*this.QIANJI_RATE3,V.x=V.x+(G.x-V.x)*this.QIANJI_RATE3,V.y=V.y+(G.y-V.y)*this.QIANJI_RATE3;var N=[];N.push(o[0].clone()),N.push(R.clone()),N.push(E.clone()),N.push(b.clone()),e.MoveTo(N[0]),e.CurveTo(N[1],N[2],N[3]);var k,Y,z=[],j=[],F=[],W=[],H=[],J=[];for(e.ToSubPathPolygons(J),k=J[0],Y=J[0].length,e.LineTo(x),e.LineTo(o[3]),e.LineTo(O),(N=[]).push(A),N.push(I),N.push(D),N.push(G),e.LineTo(N[0]),J=[],e.ToSubPathPolygons(J);Y<J[0].length;Y++)z.push(J[0][Y]);for(Y=J[0].length,e.CurveTo(N[1],N[2],N[3]),J=[],e.ToSubPathPolygons(J);Y<J[0].length;Y++)j.push(J[0][Y]);for(Y=J[0].length,(N=[]).push(V),N.push(B),N.push(L),e.CurveTo(N[0],N[1],N[2]),J=[],e.ToSubPathPolygons(J);Y<J[0].length;Y++)F.push(J[0][Y]);for(Y=J[0].length,e.LineTo(w),e.LineTo(o[2]),e.LineTo(U),(N=[]).push(T),N.push(C),N.push(_),N.push(r),e.LineTo(N[0]),J=[],e.ToSubPathPolygons(J);Y<J[0].length;Y++)W.push(J[0][Y]);for(Y=J[0].length,e.CurveTo(N[1],N[2],N[3]),J=[],e.ToSubPathPolygons(J);Y<J[0].length;Y++)H.push(J[0][Y]);return J=[],e.ToSubPathPolygons(J),{shapePts:J[0],LeftArowLeftBody:k,LeftArowHead:z,LeftArowRightBody:j,RightArowLeftBody:F,RightArowHead:W,RightArowRightBody:H}}}]),e}();SuperMap.Plot.AlgoSymbol1006=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.AlgoSymbol1005=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===o.scaleValues.length&&o.scaleValues.push(.1),o.CLASS_NAME="SuperMap.Plot.AlgoSymbol1005",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"calculateParts",value:function(){this.init();var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(!((t=SuperMap.Plot.PlottingUtil.clearSamePts(t)).length<this.minEditPts)){this.scaleValues[0]=this.getSubSymbolScaleValue();var e=SuperMap.Plot.PlottingUtil.polylineDistance(t)*this.scaleValues[0],o=SuperMap.Plot.ArrowToolkit.generateArrowBodyShapePtsBySingleLine(t,e,SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_POLYBEZIER,!1),l=[];l.push(o[o.length-1]),l.push(o[o.length-2]);var i=SuperMap.Plot.ArrowToolkit.generateArrowHeadShapePtsBySingleLine(l,e,SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_POLYLINE);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,o),i.length>0&&this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,i)}}}]),e}();SuperMap.Plot.AlgoSymbol1005=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.AlgoSymbol1004=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.MAX_ARRAY_SIZE=128,o.sv1_DefaultAtLenDivAbLen=0,o.sv2_DefaultAjWidthDivAtLen=.148,o.sv3_DefaultAeWidthDivAtLen=.4,o.sv4_DefaultAeLenDivAtLen=.312,o.sv_AtScaleParameter=1.5,o.sv_AtLenDivAtWidth=1.35,o.sv_AtWidthDivAwWidth=.5,o.sv_defaultAwLenDivAbLen=.15,0===o.scaleValues.length&&(o.scaleValues.push(o.sv1_DefaultAtLenDivAbLen),o.scaleValues.push(o.sv2_DefaultAjWidthDivAtLen),o.scaleValues.push(o.sv3_DefaultAeWidthDivAtLen),o.scaleValues.push(o.sv4_DefaultAeLenDivAtLen)),o.CLASS_NAME="SuperMap.Plot.AlgoSymbol1004",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"calculateParts",value:function(){this.init(),this.applyUse()}},{key:"applyUse",value:function(){var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((t=SuperMap.Plot.PlottingUtil.clearSamePts(t)).length>=2&&t.length<this.minEditPts&&this.calAssistantLine(),!(t.length<this.minEditPts)){var e=this.arrowMeshs(t);SuperMap.Plot.PlottingUtil.clearSamePts(e.shapePts);var o=SuperMap.Plot.PlottingUtil.clonePoints(t),l=o.length,i=!1;if(void 0!==o[0].z&&(i=!0),i){for(var n=e.leftBodyPts,r=e.rightBodyPts,a=e.arrowHeadPts,s=e.shapePts,p=[],u=0;u<s.length;u++)p.push({x:s[u].x,y:s[u].y,z:0});if(0==s.length)return!1;var P=this.updateScalePoints(t);if(this.scalePoints=[],3!=P.length)P=[];else for(var y=0;y<P.length;y++)P[y].isScalePoint=!0,P[y].tag=y,this.addScalePoint(P[y]);var c=[],h={x:(o[0].x+o[1].x)/2,y:(o[0].y+o[1].y)/2},S={x:(n[n.length-1].x+r[0].x)/2,y:(n[n.length-1].y+r[0].y)/2},f=this.ComputeZValue(S,o[l-1],o[l-2]),g=0,M=0;n[0].x==o[0].x&&n[0].y==o[0].y?(g=o[0].z,M=o[1].z):(g=o[1].z,M=o[0].z),c.push({x:h.x,y:h.y,z:g});for(var d=2;d<l-1;d++)c.push(o[d]);c.push({x:S.x,y:S.y,z:f});var m=[];this.ComputeBeizerZValueByDis(c,n,m),(c=[]).push({x:S.x,y:S.y,z:f});for(var v=l-2;v>=2;v--)c.push(o[v]);c.push({x:h.x,y:h.y,z:M});var b=[];this.ComputeBeizerZValueByDis(c,r,b);for(var A=[],L=0;L<a.length;L++){var T=this.ComputeZValue(a[L],o[l-1],o[l-2]);A.push({x:a[L].x,y:a[L].y,z:T})}if(m.length>0&&b.length>0&&A.length>0){p=(p=(p=(p=[]).concat(m)).concat(A)).concat(b),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,p,{surroundLineFlag:!1});for(var x=[],O=0;O<P.length;O++){var w=this.ComputeZValue(P[O],o[l-1],o[l-2]),U=new SuperMap.Geometry.Point(P[O].x,P[O].y);U.z=w,x.push(U)}3!=P.length?this.scalePoints=[]:this.scalePoints=this.scalePoints.concat(x)}}else{if(0==e.shapePts.length)return;if(this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e.shapePts,{surroundLineFlag:!1,lineWidthLimit:!0,strokeWidth:0,weight:0}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,e.shapePts,{surroundLineFlag:!1}),P=this.updateScalePoints(t),this.scalePoints=[],3!=P.length)P=[];else for(var R=0;R<P.length;R++)P[R].isScalePoint=!0,P[R].tag=R,this.addScalePoint(P[R])}}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint){var o=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);o=SuperMap.Plot.PlottingUtil.clearSamePts(o),this.scaleValues.length<4&&(this.scaleValues.push(this.sv1_DefaultAtLenDivAbLen),this.scaleValues.push(this.sv2_DefaultAjWidthDivAtLen),this.scaleValues.push(this.sv3_DefaultAeWidthDivAtLen),this.scaleValues.push(this.sv4_DefaultAeLenDivAtLen));var l=o.length;if(l<=2)return;var i,n,r,a,s=this.operateCtrlPts(o);l=s.length,l--;var p=this.calcScaleValueCount(o.length);if(this.scaleValues.length<p){var u=this.calcDefaultScaleValues(l);i=u[0],n=u[1],r=u[2],a=u[3]}else i=this.scaleValues[0],n=this.scaleValues[1],r=this.scaleValues[2],a=this.scaleValues[3];for(var P=SuperMap.Plot.PlottingUtil.polylineDistance(o),y=[],c=0;c<this.scalePoints.length;c++)y.push(this.scalePoints[c].clone());if(0==y.length)return;y[t]=e.clone();var h,S,f=l-1;h=l<=3?new SuperMap.Geometry.Point((s[0].x+s[1].x)/2,(s[0].y+s[1].y)/2):s[f-1].clone();var g,M,d,m,v,b,A=new SuperMap.Geometry.Point(0,0),L=new SuperMap.Geometry.Point(0,0),T=new SuperMap.Geometry.Point(0,0);SuperMap.Plot.PlottingUtil.getTrianglePoints(0,3,h,s[f],s[f+1],L,T),SuperMap.Plot.PlottingUtil.getTrapezoidPoints(.5,s[l],s[l-1],T,A),S=A.clone();var x=SuperMap.Plot.PlottingUtil.triangleHeightAndPartBottomLen(s[l],S,y[2]);g=x.dLen1,x.dLen2,0==g&&(g=.1),M=g,i=(g/=a+1)/P,1==t?(m=(x=SuperMap.Plot.PlottingUtil.triangleHeightAndPartBottomLen(s[l],S,y[1])).dLen1,r=(v=x.dLen2)/g,a=(m-g)/g):0==t?(g=(x=SuperMap.Plot.PlottingUtil.triangleHeightAndPartBottomLen(s[l],S,y[0])).dLen1,n=(d=x.dLen2)/g,(b=SuperMap.Plot.PlottingUtil.distance(s[l],s[l-1]))<2*g&&(g=.5*b),m=(x=SuperMap.Plot.PlottingUtil.triangleHeightAndPartBottomLen(s[l],S,y[1])).dLen1,r=(v=x.dLen2)/g,(a=(M-g)/g)<.1&&(r=v/(g=M/(1+(a=.1))),n=d/g),i=g/P):2==t&&(i=g/P),d=g*n,(b=SuperMap.Plot.PlottingUtil.distance(s[l],s[l-1]))<2*g&&(d=(g=.5*b)*n,i=g/P),this.scaleValues[0]=i,this.scaleValues[1]=n,this.scaleValues[2]=r,this.scaleValues[3]=a}this.calculateParts()}},{key:"arrowMeshs",value:function(t){var e=[],o=[],l=[],i=[],n=SuperMap.Plot.PlottingUtil.clonePoints(t),r=SuperMap.Plot.ArrowToolkit.generateArrowBodyShapePts(n,this.scaleValues,SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_MULTIPOLYBEZIER),a=r.arrowTouLen,s=r.leftBodyPts,p=r.rightBodyPts;if(!SuperMap.Plot.PlottingUtil.equalFuzzy(a,0)){var u=[];u.push(s[s.length-1]),u.push(p[p.length-1]);var P=[];P.push(this.scaleValues[2]),P.push(this.scaleValues[3]),P.push(0),P.push(0);for(var y=SuperMap.Plot.ArrowToolkit.generateArrowHeadShapePts(n,u,P,a,SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_WITH_EAR),c=0;c<s.length;c++)e.push(s[c]),o.push(s[c]);for(var h=0;h<y.length;h++)e.push(y[h]),i.push(y[h]);for(var S=p.length-1;S>=0;S--)e.push(p[S]),l.push(p[S])}return{shapePts:e,leftBodyPts:o,rightBodyPts:l,arrowHeadPts:i}}},{key:"updateScalePoints",value:function(t){var e=t.length,o=[];if(!(e<3)){var l=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(!SuperMap.Plot.PlottingUtil.equalFuzzy(l,0)){var i=this.operateCtrlPts(t);e=i.length,e--;for(var n=[],r=0;r<this.scaleValues.length;r++)n.push(this.scaleValues[r]);var a=this.genArrowBodyPts(l,i,n),s=a.ArrowBodyCenterPts,p=this.genAtPts(e,s,n,a.ArrowTouLen),u=this.calc3rdScalePt(e,s,n,a.ArrowTouLen);return o.push(new SuperMap.Geometry.Point(a.LeftBodyPtsTemp[e].x,a.LeftBodyPtsTemp[e].y)),o.push(new SuperMap.Geometry.Point(p[2].x,p[2].y)),o.push(new SuperMap.Geometry.Point(u.x,u.y)),o}}}},{key:"operateCtrlPts",value:function(t){var e=SuperMap.Plot.PlottingUtil.clonePoints(t);if(3===e.length){var o=((e[0].x+e[1].x)/2+e[2].x)/2,l=((e[0].y+e[1].y)/2+e[2].y)/2,i=new SuperMap.Geometry.Point(o,l),n=e[2];e[2]=i,e.push(n)}return e}},{key:"genArrowBodyPts",value:function(t,e,o){var l,i,n,r=[],a=[],s=[],p=[],u=[],P=[],y=e.length;if(y--,o.length<this.calcScaleValueCount(y)){var c=this.calcDefaultScaleValues(y);i=c[0],n=c[1]}else i=o[0],n=o[1];var h=SuperMap.Plot.PlottingUtil.clonePoints(e),S=(h[0].x+h[1].x)/2,f=(h[0].y+h[1].y)/2,g=Math.abs(S-h[2].x),M=Math.abs(f-h[2].y),d=0;if(g>0&&M>0){var m=1/(S-h[2].x),v=-1/(f-h[2].y),b=1*h[2].y/(f-h[2].y)-1*h[2].x/(S-h[2].x);d=Math.abs(m*h[0].x+v*h[0].y+b)/Math.sqrt(m*m+v*v)}else M<=1e-4?d=Math.abs(f-h[1].y):g<=1e-4&&(d=Math.abs(S-h[1].x));var A=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(d,h[2],new SuperMap.Geometry.Point(S,f)),L=SuperMap.Plot.PlottingUtil.pointIsRightToLine(h[1],h[2],h[0]);L?(r[1]=h[1],a[1]=h[0]):(r[1]=h[0],a[1]=h[1]),h[1]=new SuperMap.Geometry.Point((h[0].x+h[1].x)/2,(h[0].y+h[1].y)/2);var T=Math.sqrt((A.pntLeft.x-A.pntRight.x)*(A.pntLeft.x-A.pntRight.x)+(A.pntLeft.y-A.pntRight.y)*(A.pntLeft.y-A.pntRight.y))*this.sv_AtWidthDivAwWidth,x=(l=T*this.sv_AtLenDivAtWidth)*n;SuperMap.Plot.PlottingUtil.equalFuzzy(i,0)||(x=(l=t*i)*n);var O,w,U=SuperMap.Plot.PlottingUtil.distance(h[y],h[y-1]),R=2*l;U<R&&(x=(l=U/2)*n),h.push(h[y].clone()),O=0,w=0;var _=0,E=[];for(_=2;_<=y;_++)O+=SuperMap.Plot.PlottingUtil.distance(h[_],h[_-1]);for(O-=l,_=2;_<=y-1;_++)w+=SuperMap.Plot.PlottingUtil.distance(h[_],h[_-1]),E[_]=x+(T-x)*Math.pow((O-w)/O,this.sv_AtScaleParameter);E[y]=x;var C,I,B=new SuperMap.Geometry.Point(0,0),G=new SuperMap.Geometry.Point(0,0),D=new SuperMap.Geometry.Point(0,0);for(_=2;_<=y-1;_++)SuperMap.Plot.PlottingUtil.getTrianglePoints(0,3,h[_-1],h[_],h[_+1],G,D),_==y-1&&SuperMap.Plot.PlottingUtil.getTrapezoidPoints(.5,h[y],h[y-1],D,B),C=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(E[_],G,h[_]),(L=SuperMap.Plot.PlottingUtil.pointIsRightToLine(D,G,C.pntRight))?(r[_]=new SuperMap.Geometry.Point(C.pntRight.x,C.pntRight.y),a[_]=new SuperMap.Geometry.Point(C.pntLeft.x,C.pntLeft.y)):(r[_]=new SuperMap.Geometry.Point(C.pntLeft.x,C.pntLeft.y),a[_]=new SuperMap.Geometry.Point(C.pntRight.x,C.pntRight.y));for(Math.sqrt(1*(h[y].x-B.x)*(h[y].x-B.x)+1*(h[y].y-B.y)*(h[y].y-B.y))>0&&(h[y]=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(l,h[y],B)),C=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(x,h[y+1],h[y]),(L=SuperMap.Plot.PlottingUtil.pointIsRightToLine(h[y],h[y+1],C.pntLeft))?(a[y]=new SuperMap.Geometry.Point(C.pntLeft.x,C.pntLeft.y),r[y]=new SuperMap.Geometry.Point(C.pntRight.x,C.pntRight.y)):(a[y]=new SuperMap.Geometry.Point(C.pntRight.x,C.pntRight.y),r[y]=new SuperMap.Geometry.Point(C.pntLeft.x,C.pntLeft.y)),_=2;_<y;_++)SuperMap.Plot.PlottingUtil.getTrianglePoints(3,3,r[_-1],r[_],r[_+1],G,D),s[_]=new SuperMap.Geometry.Point(G.x,G.y),p[_]=new SuperMap.Geometry.Point(D.x,D.y),SuperMap.Plot.PlottingUtil.getTrianglePoints(3,3,a[_-1],a[_],a[_+1],G,D),u[_]=new SuperMap.Geometry.Point(G.x,G.y),P[_]=new SuperMap.Geometry.Point(D.x,D.y),2==_&&(SuperMap.Plot.PlottingUtil.getTrapezoidPoints(.5,r[1],r[2],s[2],B),p[_]=new SuperMap.Geometry.Point(B.x,B.y),SuperMap.Plot.PlottingUtil.getTrapezoidPoints(.5,a[1],a[2],u[2],B),P[_]=new SuperMap.Geometry.Point(B.x,B.y)),_==y-1&&(R=(U=SuperMap.Plot.PlottingUtil.distance(r[y],r[y-1]))/3,(I=SuperMap.Plot.PlottingUtil.getExcentrePointOnSegmentByScale(R,h[y],h[y+1])).x+=r[y].x-h[y].x,I.y+=r[y].y-h[y].y,R=(U=T-x)*Math.pow(R/O,this.sv_AtScaleParameter),C=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(R,r[y],I),s[y]=new SuperMap.Geometry.Point(C.pntLeft.x,C.pntLeft.y),R=(U=SuperMap.Plot.PlottingUtil.distance(a[y],a[y-1]))/3,(I=SuperMap.Plot.PlottingUtil.getExcentrePointOnSegmentByScale(R,h[y],h[y+1])).x+=a[y].x-h[y].x,I.y+=a[y].y-h[y].y,R=(U=T-x)*Math.pow(R/O,this.sv_AtScaleParameter),C=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(R,a[y],I),u[y]=new SuperMap.Geometry.Point(C.pntRight.x,C.pntRight.y));return{ArrowBodyCenterPts:SuperMap.Plot.PlottingUtil.clonePoints(h),LeftBodyPtsTemp:r,RightBodyPtsTemp:a,LeftBodyPtsLeftCtrlPts:s,LeftBodyPtsRightCtrlPts:p,RightBodyPtsLeftCtrlPts:u,RightBodyPtsRightCtrlPts:P,ArrowTouLen:l}}},{key:"calcScaleValueCount",value:function(){return 4}},{key:"calcDefaultScaleValues",value:function(){var t=[];return t.push(this.sv1_DefaultAtLenDivAbLen),t.push(this.sv2_DefaultAjWidthDivAtLen),t.push(this.sv3_DefaultAeWidthDivAtLen),t.push(this.sv4_DefaultAeLenDivAtLen),t}},{key:"genAtPts",value:function(t,e,o,l){var i=o[2],n=[],r=l*o[3],a=SuperMap.Plot.PlottingUtil.getExcentrePointOnSegmentByScale(r,e[t],e[t+1]);r=l*i;var s=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(r,e[t+1],a);return n.push(new SuperMap.Geometry.Point(s.pntLeft.x,s.pntLeft.y)),n.push(e[t+1]),n.push(new SuperMap.Geometry.Point(s.pntRight.x,s.pntRight.y)),n}},{key:"calc3rdScalePt",value:function(t,e,o,l){var i=l*o[3];return SuperMap.Plot.PlottingUtil.getExcentrePointOnSegmentByScale(i,e[t],e[t+1])}}]),e}();SuperMap.Plot.AlgoSymbol1004=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.AlgoSymbol1003=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===o.scaleValues.length&&(o.scaleValues.push(.3),o.scaleValues.push(.28),o.scaleValues.push(.433333),o.scaleValues.push(.53),o.scaleValues.push(0)),o.CLASS_NAME="SuperMap.Plot.AlgoSymbol1003",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"calculateParts",value:function(){this.init();var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints),e=(t=SuperMap.Plot.PlottingUtil.clearSamePts(t)).length;if(e>=this.minEditPts){if(SuperMap.Plot.PlottingUtil.equalFuzzy(this.controlPoints[0].x,this.controlPoints[1].x)&&SuperMap.Plot.PlottingUtil.equalFuzzy(this.controlPoints[0].y,this.controlPoints[1].y))return;var o=SuperMap.Plot.PlottingUtil.clonePoints(t),l=!1;void 0!==o[0].z&&(l=!0);var i=SuperMap.Plot.ArrowToolkit.generateArrowBodyShapePts(t,this.scaleValues,SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_TRAPEZOID),n=i.arrowTouLen,r=i.leftBodyPts,a=i.rightBodyPts,s=[];s.push(r[r.length-1]),s.push(a[a.length-1]);var p=[];p.push(this.scaleValues[3]),p.push(this.scaleValues[4]),p.push(0),p.push(0);var u=SuperMap.Plot.ArrowToolkit.generateArrowHeadShapePts(t,s,p,n,SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_WITHOUT_EAR),P=[];P=(P=P.concat(r)).concat(u);for(var y=a.length-1;y>=0;y--)P.push(a[y]);if(P.push(r[0]),l){for(var c=[],h={x:o[1].x,y:o[1].y,z:o[1].z},S={x:o[0].x,y:o[0].y,z:o[0].z},f=0;f<P.length;f++){var g=this.ComputeZValue(P[f],h,S);c.push({x:P[f].x,y:P[f].y,z:g})}var M=new SuperMap.Geometry.Point((s[0].x+s[1].x)/2,(s[0].y+s[1].y)/2),d=new SuperMap.Geometry.Point(M.x,M.y);d.isScalePoint=!0,d.tag=0,this.addScalePoint(d);var m=new SuperMap.Geometry.Point(r[r.length-1].x,r[r.length-1].y);m.isScalePoint=!0,m.tag=1,this.addScalePoint(m);var v=new SuperMap.Geometry.Point(u[0].x,u[0].y);v.isScalePoint=!0,v.tag=2,this.addScalePoint(v);for(var b={x:o[e-1].x,y:o[e-1].y,z:o[e-1].z},A={x:o[e-2].x,y:o[e-2].y,z:o[e-2].z},L=[],T=0;T<this.scalePoints.length;T++){var x={x:this.scalePoints[T].x,y:this.scalePoints[T].y},O=this.ComputeZValue(x,b,A);L.push({x:x.x,y:x.y,z:O})}this.scalePoints=L,this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,c)}else{var w=new SuperMap.Geometry.Point((s[0].x+s[1].x)/2,(s[0].y+s[1].y)/2),U=new SuperMap.Geometry.Point(w.x,w.y);U.isScalePoint=!0,U.tag=0,this.addScalePoint(U);var R=new SuperMap.Geometry.Point(r[r.length-1].x,r[r.length-1].y);R.isScalePoint=!0,R.tag=1,this.addScalePoint(R);var _=new SuperMap.Geometry.Point(u[0].x,u[0].y);_.isScalePoint=!0,_.tag=2,this.addScalePoint(_),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,P)}}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint){var o=new SuperMap.Geometry.Point(this.scalePoints[0].x,this.scalePoints[0].y),l=new SuperMap.Geometry.Point(this.scalePoints[1].x,this.scalePoints[1].y),i=new SuperMap.Geometry.Point(this.scalePoints[2].x,this.scalePoints[2].y),n=this.scaleValues[0],r=SuperMap.Plot.PlottingUtil.polylineDistance(this.controlPoints),a=r*n;if(0==t){var s=SuperMap.Plot.PlottingUtil.pointProjectToSegment(e,this.controlPoints[0],this.controlPoints[1]),p=s.projectPoint;if(s.isOnline){var u=SuperMap.Plot.PlottingUtil.distance(p,this.controlPoints[1]);this.scaleValues[0]=u/r}}else if(1==t){var P=SuperMap.Plot.PlottingUtil.pointProjectToSegment(e,l,i).projectPoint,y=SuperMap.Plot.PlottingUtil.distance(P,o),c=a*this.scaleValues[1];this.scaleValues[1]=y/a,this.scaleValues[2]=(a*this.scaleValues[2]+y-c)/a}else if(2==t){var h=SuperMap.Plot.PlottingUtil.pointProjectToSegment(e,this.controlPoints[1],i).projectPoint,S=SuperMap.Plot.PlottingUtil.pointProjectToSegment(h,o,this.controlPoints[1]),f=S.projectPoint,g=SuperMap.Plot.PlottingUtil.distance(f,o);!0===S.inOnline?this.scaleValues[4]=-g/a:this.scaleValues[4]=g/a}}this.calculateParts()}}]),e}();SuperMap.Plot.AlgoSymbol1003=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.AlgoSymbol1002=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.MIN_GEOPT_COUNT=2,o.MAX_GEOPT_COUNT=1024,o.SV1_defaultATLenDivABLen=0,o.SV2_defaultAYPosScale=.65,o.SV_AJCtrl=.6,o.SV_ArrowWoCtrl=.6,o.SV2_DefaultAJWidDiviedByATLen=.148,o.SV3_DefaultAEWidDividedByATLen=.4,o.SV4_DefaultAELenDividedByATLen=.3,o.SV_ATScaleParameter=1.25,o.SV_ATLenDividedByATWid=1.35,o.SV_ATWidDividedByArrowWeiWid=.5,o.AB_VERTEX_COUNT=4,o.MIN_PTCOUNT_PERARROW=3,o.ATL_DIV_AWW=.7,o.ATL_DIV_ABL=.12,o.ATL_DIV_ABL_1=.18,o.DEFAULT_ARROW_TAIL_POS=.12,o.DUOJIANTOU_TAIL_RATE_1=8,o.DUOJIANTOU_TAIL_RATE_2=3,o.DUOJIANTOU_TAIL_RATE_3=.6,o.AB_CTRLPT_RATE1=0,o.AB_CTRLPT_RATE2=3,o.AB_CTRLPT_RATE3=.5,o.MIN_SCALEVALUE=.1,o.MAX_SCALEVALUE=1,o.m_scalePoints=null,o.CLASS_NAME="SuperMap.Plot.AlgoSymbol1002",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"calculateParts",value:function(){this.init(),this.m_scalePoints=[];var t=SuperMap.Plot.PlottingUtil.clearSamePts(this.controlPoints);if((t=SuperMap.Plot.PlottingUtil.clearSamePts(t)).length>=2&&t.length<this.minEditPts&&this.calAssistantLine(),!(t.length<this.minEditPts)){var e=this.operateCtrlPts(t),o=e.length,l=Math.floor(o/this.MIN_PTCOUNT_PERARROW),i=this.scaleValues.length;if(i<2*l-1){0==i&&(this.scaleValues.push(this.SV1_defaultATLenDivABLen),i++);for(var n=2*l-1-i,r=0;r<n;r+=2)this.scaleValues.splice(i/2+1,0,this.SV1_defaultATLenDivABLen),this.scaleValues.splice(this.scaleValues.length,0,this.SV2_defaultAYPosScale)}else if(i>2*l-1){for(var a=0;a<l;a++)this.scaleValues.push(this.SV1_defaultATLenDivABLen);for(var s=0;s<l-1;s++)this.scaleValues.push(this.SV2_defaultAYPosScale)}var p=this.arrowMeshs(e);SuperMap.Plot.PlottingUtil.clearSamePts(p.shapePts);var u=!1;if(void 0!==t[0].z&&(u=!0),u){var P=this.operateCtrlPts3D(t),y=p.arrLeftPts2D,c=p.arrRightPts2D,h=p.arrHeadPts2D;if(l!=y.length&&l!=c.length&&l!=h.length)return!1;for(var S=[],f=0;f<l;f++){for(var g=[],M=3*f;M<3*(f+1)&&M<P.length;M++)g.push(P[M]);S.push(g)}for(var d=[],m=[],v=[],b=0;b<l;b++)if(!(2>S[b].length)){for(var A=y[b][y[b].length-1],L=c[b][0],T=new SuperMap.Geometry.Point(.5*(A.x+L.x),.5*(A.y+L.y)),x=S[b][S[b].length-1],O=S[b][S[b].length-2],w=this.ComputeZValue(T,x,O),U={x:T.x,y:T.y,z:w},R=[],_=[],E=0;E<S[b].length-1;E++)if(0==b)_.push(S[b][E]);else{var C={x:S[b][E].x,y:S[b][E].y,z:.5*(S[b][E].z+S[b-1][E].z)};_.push(C)}_.push(U),this.ComputeBeizerZValueByDis(_,y[b],R),d.push(R),R=[];var I=[];I.push(U);for(var B=S[b].length-2;B>=0;B--)if(b==l-1)I.push(S[b][B]);else{var G={x:S[b][B].x,y:S[b][B].y,z:.5*(S[b][B].z+S[b+1][B].z)};I.push(G)}this.ComputeBeizerZValueByDis(I,c[b],R),m.push(R),R=[];for(var D=h[b],V=0;V<D.length;V++){var N=this.ComputeZValue(D[V],x,O);R.push({x:D[V].x,y:D[V].y,z:N})}v.push(R)}for(var k=[],Y=0;Y<l;Y++)k=(k=(k=k.concat(d[Y])).concat(v[Y])).concat(m[Y]);return SuperMap.Plot.PlottingUtil.clearSamePts(k),p.shapePts.length>0&&this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,k,{surroundLineFlag:!1}),this.scalePoints=this.scalePoints.concat(this.m_scalePoints),!0}p.shapePts.length>0&&(this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,p.shapePts,{surroundLineFlag:!1,lineWidthLimit:!0,strokeWidth:0,weight:0}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,p.shapePts,{surroundLineFlag:!1})),this.scalePoints=[];for(var z=0;z<this.m_scalePoints.length;z++)this.m_scalePoints[z].isScalePoint=!0,this.m_scalePoints[z].tag=z,this.addScalePoint(this.m_scalePoints[z])}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint){var o=this.operateCtrlPts(this.controlPoints),l=o.length,i=Math.floor(l/this.MIN_PTCOUNT_PERARROW),n=0;if(t<i){var r=[],a=t*this.MIN_PTCOUNT_PERARROW;r[0]=o[a],r[1]=o[a+1],r[2]=o[a+2];var s=SuperMap.Plot.PlottingUtil.polylineDistance(r),p=new SuperMap.Geometry.Point(0,0),u=new SuperMap.Geometry.Point(0,0),P=new SuperMap.Geometry.Point(0,0);SuperMap.Plot.PlottingUtil.getTrianglePoints(this.AB_CTRLPT_RATE1,this.AB_CTRLPT_RATE2,r[0],r[1],r[2],p,u),SuperMap.Plot.PlottingUtil.getTrapezoidPoints(this.AB_CTRLPT_RATE3,r[2],r[1],u,P),n=SuperMap.Plot.PlottingUtil.triangleHeightAndPartBottomLen(r[2],P,e).dLen1/(this.SV4_DefaultAELenDividedByATLen+1)/s}else{var y=[],c=[],h=(t-i)*this.MIN_PTCOUNT_PERARROW;y[0]=o[h],y[1]=o[h+1],y[2]=o[h+2];var S=(t-i+1)*this.MIN_PTCOUNT_PERARROW;c[0]=o[S],c[1]=o[S+1],c[2]=o[S+2];var f=new SuperMap.Geometry.Point(0,0),g=new SuperMap.Geometry.Point(0,0),M=new SuperMap.Geometry.Point(0,0);f.x=.5*(y[2].x+c[2].x),g.x=.5*(y[1].x+c[1].x),M.x=.5*(y[0].x+c[0].x),f.y=.5*(y[2].y+c[2].y),g.y=.5*(y[1].y+c[1].y),M.y=.5*(y[0].y+c[0].y);var d=SuperMap.Plot.PlottingUtil.distance(f,g),m=SuperMap.Plot.PlottingUtil.distance(M,g),v=SuperMap.Plot.PlottingUtil.triangleHeightAndPartBottomLen(f,g,e),b=v.dLen1;n=b<d?b/(d+m):((b=(v=SuperMap.Plot.PlottingUtil.triangleHeightAndPartBottomLen(g,M,e)).dLen1)+d)/(d+m)}n>this.MAX_SCALEVALUE?n=this.MAX_SCALEVALUE:n<this.MIN_SCALEVALUE&&(n=this.MIN_SCALEVALUE),this.scaleValues[t]=n}this.calculateParts()}},{key:"arrowMeshs",value:function(t){var e=[],o=[],l=[],i=new SuperMap.Plot.Path2D,n=t.length,r=Math.floor(n/this.MIN_PTCOUNT_PERARROW),a=this.generateAWWidth(r,t),s=[],p=[],u=0,P=0,y=0,c=[];for(P=0,y=0;P<r;P++,y+=this.MIN_PTCOUNT_PERARROW){c[0]=t[y],c[1]=t[y+1],c[2]=t[y+2],u=this.scaleValues[P];var h=this.generateArrowBodyPts(c,a[P],u);u=h.dATLenDivABLen,s[P]=h.arrowBodyPts,p.push(u)}var S=[],f=0,g=0,M=0,d=[],m=[];for(P=0;P<r-1;P++,g+=this.MIN_PTCOUNT_PERARROW){M=g+this.MIN_PTCOUNT_PERARROW,d[0]=t[g],d[1]=t[g+1],d[2]=t[g+2],m[0]=t[M],m[1]=t[M+1],m[2]=t[M+2],f=this.scaleValues[r+P];var v=this.generateAYPts(d,s[P],m,s[P+1],f);S.push(v.arrowLeftYaoPts),S.push(v.arrowRightYaoPts)}var b=[],A=s[0],L=[],T=0,x=[];i.MoveTo(A[0]),i.CurveTo(A[1],A[2],A[3]),i.CurveTo(A[4],A[5],A[6]),i.ToSubPathPolygons(L),e.push(L[0]),T=L[0].length;for(var O=7;O<10;O++)i.LineTo(A[O]);for(L=[],i.ToSubPathPolygons(L);T<L[0].length;T++)x.push(L[0][T]);for(l.push(x),b.push(A[0]),b.push(t[0]),P=1,y=this.MIN_PTCOUNT_PERARROW;P<r;P++,y+=this.MIN_PTCOUNT_PERARROW){var w=s[P],U=P+P-2,R=S[U];for(i.LineTo(R[0]),i.CurveTo(R[1],R[2],R[3]),L=[],x=[],i.ToSubPathPolygons(L);T<L[0].length;T++)x.push(L[0][T]);o.push(x);var _=S[U+1];for(i.CurveTo(_[1],_[2],_[3]),L=[],x=[],i.ToSubPathPolygons(L);T<L[0].length;T++)x.push(L[0][T]);e.push(x);for(var E=7;E<10;E++)i.LineTo(w[E]);for(L=[],x=[],i.ToSubPathPolygons(L);T<L[0].length;T++)x.push(L[0][T]);l.push(x),b.push(t[y].clone())}var C=s[r-1];for(i.LineTo(C[10]),i.CurveTo(C[11],C[12],C[13]),i.CurveTo(C[14],C[15],C[16]),L=[],x=[],i.ToSubPathPolygons(L);T<L[0].length;T++)x.push(L[0][T]);o.push(x),b.push(C[16]);var I=[];return i.ToSubPathPolygons(I),{shapePts:I[0],arrLeftPts2D:e,arrRightPts2D:o,arrHeadPts2D:l}}},{key:"operateCtrlPts",value:function(t){var e=SuperMap.Plot.PlottingUtil.clonePoints(t),o=e.length,l=Math.floor(o/this.MIN_PTCOUNT_PERARROW),i=o%this.MIN_PTCOUNT_PERARROW,n=new SuperMap.Geometry.Point;if(2==i&&(n.x=.5*(e[o-2].x+e[o-1].x),n.y=.5*(e[o-2].y+e[o-1].y),n.x==e[o-1].x&&n.y==e[o-1].y||(e.push(e[o-1].clone()),e[o-1]=n,o++,l++)),o>3)for(var r=l-1,a=0,s=r;a<r;s--,a++)for(var p=s*this.MIN_PTCOUNT_PERARROW,u=0;u<p;u+=this.MIN_PTCOUNT_PERARROW){if(!SuperMap.Plot.PlottingUtil.isRight(e[u+3],e[u+1],e[u+2])){var P=e[u];e[u]=e[u+3],e[u+3]=P,P=e[u+1],e[u+1]=e[u+4],e[u+4]=P,P=e[u+2],e[u+2]=e[u+5],e[u+5]=P}}return e}},{key:"operateCtrlPts3D",value:function(t){var e=t,o=e.length,l=Math.floor(o/this.MIN_PTCOUNT_PERARROW),i={x:0,y:0,z:0};if(2==o%3&&(i.x=.5*(e[o-2].x+e[o-1].x),i.y=.5*(e[o-2].y+e[o-1].y),i.z=.5*(e[o-2].z+e[o-1].z),i.x==e[o-1].x&&i.y==e[o-1].y&&i.z==e[o-1].z||(e.push(e[o-1]),e[o-1]=i,o++,l++)),o>3)for(var n=l-1,r=0,a=n;r<n;a--,r++)for(var s=3*a,p=0;p<s;p+=3){if(!SuperMap.Plot.PlottingUtil.isRight(e[p+3],e[p+1],e[p+2])){var u=e[p];e[p]=e[p+3],e[p+3]=u,u=e[p+1],e[p+1]=e[p+4],e[p+4]=u,u=e[p+2],e[p+2]=e[p+5],e[p+5]=u}}return e}},{key:"generateAWWidth",value:function(t,e){var o=[];if(t>0)if(1==t)o.push(0);else{var l=SuperMap.Plot.PlottingUtil.distance(e[0],e[this.MIN_PTCOUNT_PERARROW]);o.push(l);for(var i=1,n=this.MIN_PTCOUNT_PERARROW;i<t-1;i++,n+=this.MIN_PTCOUNT_PERARROW){l=.5*(SuperMap.Plot.PlottingUtil.distance(e[n-this.MIN_PTCOUNT_PERARROW],e[n])+SuperMap.Plot.PlottingUtil.distance(e[n],e[n+this.MIN_PTCOUNT_PERARROW])),o.push(l)}l=SuperMap.Plot.PlottingUtil.distance(e[n-this.MIN_PTCOUNT_PERARROW],e[n]),o.push(l)}return o}},{key:"generateArrowBodyPts",value:function(t,e,o){var l=[],i=[],n=[],r=[],a=[],s=[],p=[],u=t.length-1;if(u<2)return{dATLenDivABLen:o=0,arrowBodyPts:l};var P=o,y=this.SV2_DefaultAJWidDiviedByATLen,c=this.SV3_DefaultAEWidDividedByATLen,h=this.SV4_DefaultAELenDividedByATLen,S=SuperMap.Plot.PlottingUtil.clonePoints(t),f=SuperMap.Plot.PlottingUtil.polylineDistance(S),g=0==e?f*this.ATL_DIV_ABL_1:(f+e)*this.ATL_DIV_ABL,M=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(g,S[1],S[0]);i[1]=M.pntLeft.clone(),n[1]=M.pntRight.clone();var d=0;d=SuperMap.Plot.PlottingUtil.equalFuzzy(P,0,1e-14)?g*this.ATL_DIV_AWW:f*P;var m=SuperMap.Plot.PlottingUtil.distance(S[1],S[2]);d+d>m&&(d=.5*m);var v=d*y;S.push(S[u].clone());var b,A=0;b=f-d;var L=[],T=0;for(T=2;T<=u;T++)A+=SuperMap.Plot.PlottingUtil.distance(S[T-1],S[T-2]),SuperMap.Plot.PlottingUtil.equalFuzzy(b,0,1e-14)?L[T]=0:SuperMap.Plot.PlottingUtil.equalFuzzy(b-A,0,1e-14)?L[T]=v:L[T]=v+(g-v)*Math.pow((b-A)/b,this.SV_ATScaleParameter);L[u+1]=v;var x=new SuperMap.Geometry.Point(0,0),O=new SuperMap.Geometry.Point(0,0),w=new SuperMap.Geometry.Point(0,0);for(T=2;T<=u;T++){SuperMap.Plot.PlottingUtil.getTrianglePoints(this.AB_CTRLPT_RATE1,this.AB_CTRLPT_RATE2,S[T-2],S[T-1],S[T],O,w),u==T&&SuperMap.Plot.PlottingUtil.getTrapezoidPoints(this.AB_CTRLPT_RATE3,S[u],S[u-1],w,x);var U=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(L[T],O,S[T-1]);n[T]=U.pntLeft,i[T]=U.pntRight}var R,_,E=x.clone();if(SuperMap.Plot.PlottingUtil.distance(S[u],E)>0){var C=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(d,S[u],x);S[u]=C.clone()}for(M=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(v,S[u+1],S[u]),i[u+1]=M.pntLeft,n[u+1]=M.pntRight,T=2;T<=u;T++)SuperMap.Plot.PlottingUtil.getTrianglePoints(this.AB_CTRLPT_RATE2,this.AB_CTRLPT_RATE2,i[T-1],i[T],i[T+1],O,w),r[T]=O.clone(),a[T]=w.clone(),SuperMap.Plot.PlottingUtil.getTrianglePoints(this.AB_CTRLPT_RATE2,this.AB_CTRLPT_RATE2,n[T-1],n[T],n[T+1],O,w),s[T]=O.clone(),p[T]=w.clone();SuperMap.Plot.PlottingUtil.getTrapezoidPoints(this.AB_CTRLPT_RATE3,i[1],i[2],r[2],x),a[1]=x.clone(),SuperMap.Plot.PlottingUtil.getTrapezoidPoints(this.AB_CTRLPT_RATE3,n[1],n[2],s[2],x),p[1]=x.clone();_=SuperMap.Plot.PlottingUtil.distance(i[u+1],i[u])*(1/3),(R=SuperMap.Plot.PlottingUtil.getExcentrePointOnSegmentByScale(_,S[u],S[u+1])).x+=i[u+1].x-S[u].x,R.y+=i[u+1].y-S[u].y,_=(g-v)*Math.pow(_/b,this.SV_ATScaleParameter+.3),M=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(_,i[u+1],R),r[u+1]=M.pntLeft.clone(),_=SuperMap.Plot.PlottingUtil.distance(n[u+1],n[u])*(1/3),(R=SuperMap.Plot.PlottingUtil.getExcentrePointOnSegmentByScale(_,S[u],S[u+1])).x+=n[u+1].x-S[u].x,R.y+=n[u+1].y-S[u].y,_=(g-v)*Math.pow(_/b,this.SV_ATScaleParameter+.3),M=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(_,n[u+1],R),s[u+1]=M.pntRight.clone();var I=[],B=d*h,G=SuperMap.Plot.PlottingUtil.getExcentrePointOnSegmentByScale(B,S[u],S[u+1]);this.m_scalePoints.push(G.clone()),B=d*c,M=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(B,S[u+1],G),I.push(M.pntRight),I.push(S[u+1]),I.push(M.pntLeft);var D=[];for(D.push(i[u+1]),T=u;T>=1;T--)D.push(r[T+1]),D.push(a[T]),D.push(i[T]);var V=[];for(T=1;T<=u;T++)V.push(n[T]),V.push(p[T]),V.push(s[T+1]);V.push(n[u+1]),l.push.apply(l,V),l.push.apply(l,I),l.push.apply(l,D),o=d/f;var N=[];for(T=D.length-1;T>=0;T--)N.push(D[T]);return{dATLenDivABLen:o,arrowBodyPts:l}}},{key:"generateAYPts",value:function(t,e,o,l,i){var n=new SuperMap.Geometry.Point(.5*(t[2].x+o[2].x),.5*(t[2].y+o[2].y)),r=new SuperMap.Geometry.Point(.5*(t[1].x+o[1].x),.5*(t[1].y+o[1].y)),a=new SuperMap.Geometry.Point(.5*(t[0].x+o[0].x),.5*(t[0].y+o[0].y)),s=SuperMap.Plot.PlottingUtil.distance(n,r),p=SuperMap.Plot.PlottingUtil.distance(a,r),u=i*(s+p),P=new SuperMap.Geometry.Point(0,0),y=new SuperMap.Geometry.Point(0,0),c=new SuperMap.Geometry.Point(0,0);if(u>s){u=s+p-u,P=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(u,a,r);var h=SuperMap.Plot.PlottingUtil.distance(t[1],t[0]),S=SuperMap.Plot.PlottingUtil.distance(o[1],o[0]);h=h*u/p,y=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(h,t[0],t[1]),S=S*u/p,c=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(S,o[0],o[1])}else{P=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(u,n,r);var f=SuperMap.Plot.PlottingUtil.distance(t[1],t[2]),g=SuperMap.Plot.PlottingUtil.distance(o[1],o[2]);f=f*u/s,y=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(f,t[2],t[1]),g=g*u/s,c=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(g,o[2],o[1])}this.m_scalePoints.push(P.clone());var M=this.SV_ArrowWoCtrl*SuperMap.Plot.PlottingUtil.distance(P,y),d=this.SV_ArrowWoCtrl*SuperMap.Plot.PlottingUtil.distance(P,c),m=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(M,P,y),v=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(d,P,c),b=e[11].clone(),A=e[10].clone(),L=l[5].clone(),T=l[6].clone(),x=SuperMap.Plot.PlottingUtil.intersectLines(A,b,P,y),O=SuperMap.Plot.PlottingUtil.distance(x.intersectPoint,A),w=SuperMap.Plot.PlottingUtil.distance(A,P);O=O>w?this.SV_AJCtrl*w:this.SV_AJCtrl*O;var U=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(O,A,b);b=U.clone(),e[11]=U.clone(),x=SuperMap.Plot.PlottingUtil.intersectLines(T,L,P,c),O=(O=SuperMap.Plot.PlottingUtil.distance(x.intersectPoint,T))>(w=SuperMap.Plot.PlottingUtil.distance(T,P))?this.SV_AJCtrl*w:this.SV_AJCtrl*O,L=(U=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(O,T,L)).clone(),l[5]=U.clone();var R=[];R.push(A),R.push(b),R.push(m),R.push(P);var _=[];return _.push(P),_.push(v),_.push(L),_.push(T),{arrowLeftYaoPts:R,arrowRightYaoPts:_}}}]),e}();SuperMap.Plot.AlgoSymbol1002=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.AlgoSymbol1001=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===o.scaleValues.length&&(o.scaleValues.push(.1),o.scaleValues.push(.2),o.scaleValues.push(0),o.scaleValues.push(.3),o.scaleValues.push(.08)),o.CLASS_NAME="SuperMap.Plot.AlgoSymbol1001",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"calculateParts",value:function(){this.init();var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints),e=(t=SuperMap.Plot.PlottingUtil.clearSamePts(t)).length;if(e>=this.minEditPts){this.scalePoints=[];var o=SuperMap.Plot.PlottingUtil.clonePoints(t),l=!1;void 0!==o[0].z&&(l=!0);var i=SuperMap.Plot.ArrowToolkit.generateArrowBodyShapePts(t,this.scaleValues,SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_PARALLEL),n=i.arrowTouLen,r=i.leftBodyPts,a=i.rightBodyPts,s=[];s.push(r[r.length-1]),s.push(a[a.length-1]);var p=[];p.push(this.scaleValues[3]),p.push(this.scaleValues[4]),p.push(this.scaleValues[0]),p.push(this.scaleValues[1]);var u=SuperMap.Plot.ArrowToolkit.generateArrowHeadShapePts(t,s,p,n,SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_WITHOUT_EAR),P=[];if(l){for(var y=[],c=[],h=[],S=0;S<e-1;S++)c.push({x:r[S].x,y:r[S].y,z:o[S].z}),h.push({x:a[S].x,y:a[S].y,z:o[S].z});var f={x:o[e-2].x,y:o[e-2].y,z:o[e-2].z},g={x:o[e-1].x,y:o[e-1].y,z:o[e-1].z},M=this.ComputeZValue(r[e-1],g,f);c.push({x:r[e-1].x,y:r[e-1].y,z:M});var d=this.ComputeZValue(a[e-1],g,f);h.push({x:a[e-1].x,y:a[e-1].y,z:d});for(var m=0;m<u.length;m++){var v=this.ComputeZValue(u[m],g,f);y.push({x:u[m].x,y:u[m].y,z:v})}P=(P=P.concat(c)).concat(y);for(var b=h.length-1;b>=0;b--)P.push(h[b]);var A=new SuperMap.Geometry.Point((s[0].x+s[1].x)/2,(s[0].y+s[1].y)/2),L=new SuperMap.Geometry.Point(A.x,A.y);L.isScalePoint=!0,L.tag=0,this.addScalePoint(L);var T=new SuperMap.Geometry.Point(r[r.length-1].x,r[r.length-1].y);T.isScalePoint=!0,T.tag=1,this.addScalePoint(T);var x=new SuperMap.Geometry.Point(u[0].x,u[0].y);x.isScalePoint=!0,x.tag=2,this.addScalePoint(x);for(var O=0;O<this.scalePoints.length;O++){var w=new SuperMap.Geometry.Point(this.scalePoints[O].x,this.scalePoints[O].y);this.scalePoints[O].z=this.ComputeZValue(w,g,f)}}else{P=(P=P.concat(r)).concat(u);for(var U=a.length-1;U>=0;U--)P.push(a[U]);var R=new SuperMap.Geometry.Point((s[0].x+s[1].x)/2,(s[0].y+s[1].y)/2),_=new SuperMap.Geometry.Point(R.x,R.y);_.isScalePoint=!0,_.tag=0,this.addScalePoint(_);var E=new SuperMap.Geometry.Point(r[r.length-1].x,r[r.length-1].y);E.isScalePoint=!0,E.tag=1,this.addScalePoint(E);var C=new SuperMap.Geometry.Point(u[0].x,u[0].y);C.isScalePoint=!0,C.tag=2,this.addScalePoint(C)}this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,P,{surroundLineFlag:!1,lineWidthLimit:!0,strokeWidth:0,weight:0}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,P)}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint){var o=new SuperMap.Geometry.Point(this.scalePoints[0].x,this.scalePoints[0].y),l=new SuperMap.Geometry.Point(this.scalePoints[1].x,this.scalePoints[1].y),i=new SuperMap.Geometry.Point(this.scalePoints[2].x,this.scalePoints[2].y),n=this.scaleValues[0],r=SuperMap.Plot.PlottingUtil.polylineDistance(this.controlPoints),a=r*n;if(0==t){var s=SuperMap.Plot.PlottingUtil.pointProjectToSegment(e,this.controlPoints[this.controlPoints.length-2],this.controlPoints[this.controlPoints.length-1]),p=s.projectPoint;if(s.isOnline){var u=SuperMap.Plot.PlottingUtil.distance(p,this.controlPoints[this.controlPoints.length-1]);this.scaleValues[0]=u/r}}else if(1==t){var P=SuperMap.Plot.PlottingUtil.pointProjectToSegment(e,l,i).projectPoint,y=SuperMap.Plot.PlottingUtil.distance(P,o);this.scaleValues[1]=y/a}else if(2==t){var c=SuperMap.Plot.PlottingUtil.pointProjectToSegment(e,this.controlPoints[1],i).projectPoint,h=SuperMap.Plot.PlottingUtil.pointProjectToSegment(c,o,this.controlPoints[1]),S=h.projectPoint,f=SuperMap.Plot.PlottingUtil.distance(S,o);!0===h.inOnline?this.scaleValues[4]=-f/a:this.scaleValues[4]=f/a}}this.calculateParts()}}]),e}();SuperMap.Plot.AlgoSymbol1001=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.Wire=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===o.scaleValues.length&&o.scaleValues.push(.05),o.CLASS_NAME="SuperMap.Plot.Wire",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"calculateParts",value:function(){this.init();var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(!((t=SuperMap.Plot.PlottingUtil.clearSamePts(t)).length<this.minEditPts)){this.isEdit||(this.scaleValues[0]=2*this.getSubSymbolScaleValue());var e=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t);e=SuperMap.Plot.PlottingUtil.clearSamePts(e);var o=SuperMap.Plot.PlottingUtil.polylineDistance(e);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,e);for(var l=o*this.scaleValues[0],i=o*this.scaleValues[0]/2,n=SuperMap.Plot.PlottingUtil.clonePoints(e),r=parseInt((o-i)/l),a=0;a<=r&&!(i+l*a>o);a++){var s=SuperMap.Plot.PlottingUtil.findPointInPolyLine(n,i+l*a);if(-1!==s.index){var p=new SuperMap.Geometry.Point(s.pt.x,s.pt.y),u=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(l/2,e[s.index],p);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,[u.pntLeft,u.pntRight])}}this.finish()}}}]),e}();SuperMap.Plot.Wire=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}(),i=function t(e,o,l){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,o);if(void 0===i){var n=Object.getPrototypeOf(e);return null===n?void 0:t(n,o,l)}if("value"in i)return i.value;var r=i.get;return void 0!==r?r.call(l):void 0};var n=e.PolygonRegion=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return void 0===o.scaleValues[0]&&(o.scaleValues[0]=0),void 0===o.scaleValues[1]&&(o.scaleValues[1]=0),o.CLASS_NAME="SuperMap.Plot.PolygonRegion",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"destroy",value:function(){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"destroy",this).call(this)}},{key:"calculateParts",value:function(){this.init();var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(null!=(t=SuperMap.Plot.PlottingUtil.clearSamePts(t))&&t.length>=this.minEditPts){if(this.addCell(32,t,{surroundLineFlag:!1}),this.textContent&&null!=this.textContent&&this.textContent.length>0){var e=[];this.scaleValues[1]>t.length&&(this.scaleValues[1]=0);var o={labelRotation:0,surroundLineFlag:!1,labelAlign:"lt"};if(0===this.scaleValues[1])e=[SuperMap.Plot.PlottingUtil.getPolygonCenterPt(t)];else{var l=null,i=null;this.scaleValues[1]===t.length?(l=t[t.length-1],i=t[0]):(l=t[this.scaleValues[1]-1],i=t[this.scaleValues[1]]),o.labelRotation=-SuperMap.Plot.PlottingUtil.radian(l,i)/Math.PI*180;var n=this.scaleValues[0]*SuperMap.Plot.PlottingUtil.distance(l,i);e=[SuperMap.Plot.PlottingUtil.findPoint(l,i,n,0)]}this.addCell(34,e,o,this.textContent);var r=new SuperMap.Geometry.Point(e[0].x,e[0].y);r.isScalePoint=!0,r.tag=0,this.scalePoints=[],this.addScalePoint(r)}}else this.controlPoints.length>=2&&this.controlPoints.length<this.minEditPts&&this.calAssistantLine()}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint){for(var o=0,l=SuperMap.Plot.PlottingUtil.distance(e,this.controlPoints[0]),i=1;i<this.controlPoints.length;i++){var n=SuperMap.Plot.PlottingUtil.distance(e,this.controlPoints[i]);n<l&&(l=n,o=i)}var r=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);(r=SuperMap.Plot.PlottingUtil.clearSamePts(r)).push(r[0].clone());var a=SuperMap.Plot.PlottingUtil.computePointToLineMinDis(e,r);if(-1===a.minDis)this.scaleValues[1]=o+1,this.offsetX=0,this.offsetY=0;else{var s=SuperMap.Plot.PlottingUtil.projectPoint(e,r[a.index],r[a.index+1]),p=SuperMap.Plot.PlottingUtil.distance(e,s),u=SuperMap.Plot.PlottingUtil.getPolygonCenterPt(this.controlPoints),P=SuperMap.Plot.PlottingUtil.distance(e,u);if(P<p&&P<l)this.scaleValues[1]=0,this.scaleValues[0]=0;else if(l<p&&l<P)this.scaleValues[1]=o+1,this.scaleValues[0]=0;else if(p<l&&p<P){this.scaleValues[1]=a.index+1;var y=null,c=null;this.scaleValues[1]===this.controlPoints.length?(y=this.controlPoints[this.controlPoints.length-1],c=this.controlPoints[0]):(y=this.controlPoints[this.scaleValues[1]-1],c=this.controlPoints[this.scaleValues[1]]);var h=SuperMap.Plot.PlottingUtil.distance(s,y),S=SuperMap.Plot.PlottingUtil.distance(y,c);this.scaleValues[0]=h/S}}}this.calculateParts()}},{key:"parseSymbolData",value:function(){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"parseSymbolData",this).call(this),this.symbolData&&(this.scaleValues[1]=this.symbolData.annotationPosition)}},{key:"setSymbolData",value:function(){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"setSymbolData",this).call(this),this.symbolData&&(this.symbolData.annotationPosition=this.scaleValues[1])}}]),e}();SuperMap.Plot.PolygonRegion=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.LineRelation=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.subSectionCount=t.subSectionCount?t.subSectionCount:10,o.CLASS_NAME="SuperMap.Plot.LineRelation",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"destroy",value:function(){this.subSectionCount=null,function t(e,o,l){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,o);if(void 0===i){var n=Object.getPrototypeOf(e);return null===n?void 0:t(n,o,l)}if("value"in i)return i.value;var r=i.get;return void 0!==r?r.call(l):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"destroy",this).call(this)}},{key:"calculateParts",value:function(){this.init();for(var t=0;t<this.controlPoints.length;t++)this.controlPoints[t].tag=t;var e=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);null!==e&&e.length>=this.minEditPts&&this.computeLine(e)}},{key:"computeLine",value:function(t){this.components=[];var e=t[0],o=t[t.length-1];this.subSectionCount<=1&&(this.subSectionCount=10);var l=SuperMap.Plot.PlottingUtil.distance(e,o)/(2*this.subSectionCount-1);if(this.lineRelationType===SuperMap.Plot.LineRelationType.SOLID)this.addCell(24,t,{surroundLineFlag:!1});else if(this.lineRelationType===SuperMap.Plot.LineRelationType.DASH)for(var i=0;i<this.subSectionCount;i++){var n=SuperMap.Plot.PlottingUtil.findPoint(e,o,2*i*l,0),r=SuperMap.Plot.PlottingUtil.findPoint(e,o,(2*i+1)*l,0);this.addCell(24,[n,r],{surroundLineFlag:!1})}else if(this.lineRelationType===SuperMap.Plot.LineRelationType.ARROW)for(var a=0;a<this.subSectionCount;a++){var s=SuperMap.Plot.PlottingUtil.findPoint(e,o,2*a*l,0),p=SuperMap.Plot.PlottingUtil.findPoint(e,o,(2*a+1)*l,0),u=SuperMap.Plot.PlottingUtil.findPoint(p,s,l,60),P=SuperMap.Plot.PlottingUtil.findPoint(p,s,l,-60);this.addCell(24,[u,p,P],{surroundLineFlag:!1})}}}]),e}();SuperMap.Plot.LineRelation=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.LineMarking=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.islocationCircle=!!t.islocationCircle&&t.islocationCircle,o.textBoxType=t.textBoxType?t.textBoxType:SuperMap.Plot.TextBoxType.RECTBOX,0===o.scaleValues.length&&(o.scaleValues.push(.126),o.scaleValues.push(0),o.scaleValues.push(0),o.scaleValues.push(4)),o.CLASS_NAME="SuperMap.Plot.LineMarking",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"destroy",value:function(){this.islocationCircle=null,this.textBoxType=null,function t(e,o,l){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,o);if(void 0===i){var n=Object.getPrototypeOf(e);return null===n?void 0:t(n,o,l)}if("value"in i)return i.value;var r=i.get;return void 0!==r?r.call(l):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"destroy",this).call(this)}},{key:"calculateParts",value:function(){this.init(),this.controlPoints=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints),this.controlPoints=SuperMap.Plot.PlottingUtil.clearSamePts(this.controlPoints);var t=this.scaleValues[0];if(!(t<0||t>1)){if(t=(1-t)/2,this.controlPoints.length>=this.minEditPts){var e,o,l,i;this.scalePoints=[];var n=[];this.controlPoints[0].x<this.controlPoints[1].x?(e=this.controlPoints[0].x,l=this.controlPoints[1].x):(e=this.controlPoints[1].x,l=this.controlPoints[0].x),this.controlPoints[0].y<this.controlPoints[1].y?(i=this.controlPoints[0].y,o=this.controlPoints[1].y):(i=this.controlPoints[1].y,o=this.controlPoints[0].y),n.push(new SuperMap.Geometry.Point(e,i)),n.push(new SuperMap.Geometry.Point(e,o)),n.push(new SuperMap.Geometry.Point(l,o)),n.push(new SuperMap.Geometry.Point(l,i)),!1===this.isEdit&&(this.scaleValues[1]=e+.1*(l-e),this.scaleValues[2]=i+-.3*(o-i));var r=this.getAction(this.scaleValues[1],this.scaleValues[2],e,o,l,i),a=new SuperMap.Geometry.Point(this.scaleValues[1],this.scaleValues[2]);if(this.textBoxType===SuperMap.Plot.TextBoxType.RECTBOX||this.textBoxType===SuperMap.Plot.TextBoxType.LINEBOX){var s=[];switch(r){case 0:this.addScalePoint(a);break;case 1:this.addScalePoint(a),s.push(new SuperMap.Geometry.Point(e,o-(o-i)*t)),s.push(a);break;case 2:this.addScalePoint(a),s.push(new SuperMap.Geometry.Point(l-(l-e)*t,o)),s.push(a);break;case 3:this.addScalePoint(a),s.push(new SuperMap.Geometry.Point(l,o-(o-i)*t)),s.push(a);break;case 4:this.addScalePoint(a),s.push(new SuperMap.Geometry.Point(l-(l-e)*t,i)),s.push(a)}this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,s)}if(0!==n.length&&this.textBoxType===SuperMap.Plot.TextBoxType.RECTBOX)this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,n);else if(0!==n.length&&this.textBoxType===SuperMap.Plot.TextBoxType.LINEBOX){var p=[];switch(r){case 0:break;case 1:p=(p=p.concat(n[0])).concat(n[1]);break;case 2:p=(p=p.concat(n[1])).concat(n[2]);break;case 3:p=(p=p.concat(n[2])).concat(n[3]);break;case 4:p=(p=p.concat(n[3])).concat(n[0])}0!==p.length?this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,p):this.addCell(SuperMap.Plot.SymbolType.RECTANGLESYMBOL,this.controlPoints)}this.islocationCircle&&this.addCell(SuperMap.Plot.SymbolType.CIRCLESYMBOL,[a,new SuperMap.Geometry.Point(a.x-.05,a.y-.05)]),this.annotationContent(e,o,l,i)}else this.controlPoints.length>=2&&this.controlPoints.length<this.minEditPts&&this.addCell(SuperMap.Plot.SymbolType.RECTANGLESYMBOL,this.controlPoints);this.finish()}}},{key:"modifyPoint",value:function(t,e){!0===e.isScalePoint&&(this.scaleValues[1]=e.x,this.scaleValues[2]=e.y),this.calculateParts()}},{key:"getAction",value:function(t,e,o,l,i,n){var r=(l-n)/(i-o);return t<o?e>l?Math.abs((e-l)/(t-o))>r?2:1:e<n&&Math.abs((e-n)/(t-o))>r?4:1:t>i?e>l?Math.abs((e-l)/(t-i))>r?2:3:e<n&&Math.abs((e-n)/(t-i))>r?4:3:e>l?2:e<n?4:0}}]),e}();SuperMap.Plot.LineMarking=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.PathText=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.relLineText=t.relLineText?t.relLineText:0,o.showPathLine=!t.showPathLine||t.showPathLine,o.showPathLineArrow=!!t.showPathLineArrow&&t.showPathLineArrow,o.isCurve=!!t.isCurve&&t.isCurve,o.isAvoid=!!t.isAvoid&&t.isAvoid,o.textToLineDistance=t.textToLineDistance?t.textToLineDistance:0,o.CLASS_NAME="SuperMap.Plot.PathText",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"calculateParts",value:function(){if(this.init(),null!==this.controlPoints&&0!==this.controlPoints.length&&!(this.controlPoints.length<this.minEditPts)){SuperMap.Util.isArray(this.textContent)||(this.textContent=[this.textContent]);var t=[];if(t=this.isCurve?SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(this.controlPoints):SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints),this.relLineText===SuperMap.Plot.RelLineText.ONBOTHLINE){this.relLineText=SuperMap.Plot.RelLineText.ONRIGHTLINE;var e=this.getTextPathPts(t,!1);this.computeText(e,this.textContent[0],t),this.relLineText=SuperMap.Plot.RelLineText.ONLEFTLINE;var o=this.showPathLine;this.showPathLine=!1;var l=this.getTextPathPts(t,!0);this.textContent.length>1?this.computeText(l,this.textContent[1],t):this.computeText(l,this.textContent[0],t),this.relLineText=SuperMap.Plot.RelLineText.ONBOTHLINE,this.showPathLine=o}else{var i=[];i=this.relLineText===SuperMap.Plot.RelLineText.ONRIGHTLINE?this.getTextPathPts(t,!1):this.relLineText===SuperMap.Plot.RelLineText.ONLEFTLINE?this.getTextPathPts(t,!0):t,this.computeText(i,this.textContent[0],t)}this.finish()}}},{key:"getTextPathPts",value:function(t,e){t=SuperMap.Plot.PlottingUtil.clearSamePts(t);var o=this.getLonLatDistanceFromPixel(this.textToLineDistance);if(0>=o)return SuperMap.Plot.PlottingUtil.clonePoints(t);var l=SuperMap.Plot.PlottingUtil.paraLine(t,o,e);return SuperMap.Plot.PlottingUtil.clearSamePts(l)}},{key:"computeText",value:function(t,e,o){if(!(t.length<2)){for(var l=e.length,i=t,n=i.length,r=0,a=0;a<i.length-1;a++)r+=SuperMap.Plot.PlottingUtil.distance(i[a],i[a+1]);var s={index:-1,pt:i[0]},p=0,u=0,P=0,y=180/Math.PI,c=this.getTextBounds(this.style,e),h="lm";h=this.relLineText===SuperMap.Plot.RelLineText.ONLINE?"lm":this.relLineText===SuperMap.Plot.RelLineText.ONLEFTLINE?"lb":"lt",(p=(r-c.getWidth())/2)<=0&&(p=0);for(var S=[],f=0;f<l;f++){var g=this.getTextBounds(this.style,e.charAt(f));S.push(new SuperMap.Bounds(0,-c.getHeight(),g.getWidth(),0))}for(var M,d=!1,m=!1,v=0,b=0,A=[];u<=p&&P<n-1;)P++,u+=SuperMap.Plot.PlottingUtil.distance(i[P-1],i[P]);var L=SuperMap.Plot.PlottingUtil.findPointInPolyLine(i,p),T=SuperMap.Plot.PlottingUtil.radian(i[P-1],i[P])*y;T>180&&(T-=360),T<-180&&(T+=360),T>90&&T<=180?(v=-180,d=!0,m=!0):T>-180&&T<-90&&(v=180,d=!0,m=!0),!0,0!=v?this.relLineText===SuperMap.Plot.RelLineText.ONLINE||(h=this.relLineText===SuperMap.Plot.RelLineText.ONLEFTLINE?"lt":"lb"):this.relLineText===SuperMap.Plot.RelLineText.ONLINE||(h=this.relLineText===SuperMap.Plot.RelLineText.ONLEFTLINE?"lb":"lt");for(var x=0;x<l&&!(p>r);x++){var O=x;for(m&&(O=l-x-1),b=(M=S[O]).getWidth(),d&&(p+=b);u<=p&&P<n-1;)P++,u+=SuperMap.Plot.PlottingUtil.distance(i[P-1],i[P]);var w=(T=SuperMap.Plot.PlottingUtil.radian(i[P-1],i[P])*y)+v;if((s=SuperMap.Plot.PlottingUtil.findPointInPolyLine(i,p)).index<0)break;M.add(s.pt.x,s.pt.y);var U=e.charAt(O),R={};R.type=SuperMap.Plot.SymbolType.TEXTSYMBOL,R.textContent=U,R.positionPoints=[s.pt],R.style={surroundLineFlag:!1,labelAlign:h,labelRotation:-w},A.push(R),d||(p+=b)}var _=SuperMap.Plot.PlottingUtil.findPointInPolyLine(i,p);if(this.showPathLine){if(this.relLineText===SuperMap.Plot.RelLineText.ONLINE&&this.isAvoid){if(L.index>=0){for(var E=[],C=0;C<=L.index;C++)E.push(o[C]);E.push(L.pt),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,E)}if(_.index>=0){var I=[];I.push(_.pt);for(var B=_.index+1;B<o.length;B++)I.push(o[B]);this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,I)}}else this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,o);this.showPathLineArrow&&this.addArrow(o)}for(var G=0;G<A.length;G++)this.components.push(A[G])}}},{key:"addArrow",value:function(t){if(t.length<2)return t;var e=SuperMap.Plot.PlottingUtil.polylineDistance(this.controlPoints)*(this.isEdit,null==this.getSubSymbolScaleValue()?.05:.5*this.getSubSymbolScaleValue()),o=t[t.length-1];if(t.length>2){for(var l=-1,i=t.length-2;i>=0;i--)if(e<SuperMap.Plot.PlottingUtil.distance(o,t[i])){l=i;break}t.splice(l+1,t.length-l),t.push(o)}var n=t[t.length-2],r=t[t.length-1],a=e;if(void 0===n)return t;if(!(SuperMap.Plot.PlottingUtil.distance(n,r)<e)){var s=SuperMap.Plot.PlottingUtil.radian(n,r)*SuperMap.Plot.PlottingUtil.RTOD,p=SuperMap.Plot.PlottingUtil.circlePoint(r,a,a,s+157.5),u=SuperMap.Plot.PlottingUtil.circlePoint(r,a,a,s+202.5);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,[p,t[t.length-1],u],{surroundLineFlag:!1,fillLimit:!0,lineTypeLimit:!0,fill:!0})}}}]),e}();SuperMap.Plot.PathText=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.CurveEight=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.CLASS_NAME="SuperMap.Plot.CurveEight",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"destroy",value:function(){(function t(e,o,l){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,o);if(void 0===i){var n=Object.getPrototypeOf(e);return null===n?void 0:t(n,o,l)}if("value"in i)return i.value;var r=i.get;return void 0!==r?r.call(l):void 0})(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"destroy",this).call(this)}},{key:"calculateParts",value:function(){if(this.init(),this.controlPoints&&null!==this.controlPoints&&!(this.minEditPts>this.controlPoints.length))if(2===this.controlPoints.length){var t=this.controlPoints[0].clone(),e=this.controlPoints[1].clone(),o=SuperMap.Plot.PlottingUtil.distance(t,e)/2,l=180*SuperMap.Plot.PlottingUtil.radian(t,e)/Math.PI,i=new SuperMap.Geometry.Point((t.x+e.x)/2,(t.y+e.y)/2),n=SuperMap.Plot.PlottingUtil.circlePoint(i,o,o,l+90),r=SuperMap.Plot.PlottingUtil.circlePoint(i,3*o,3*o,l+90);this.addCell(SuperMap.Plot.SymbolType.CIRCLESYMBOL,[n,new SuperMap.Geometry.Point(n.x+o,n.y)]),this.addCell(SuperMap.Plot.SymbolType.CIRCLESYMBOL,[r,new SuperMap.Geometry.Point(r.x+o,r.y)])}else{var a=this.controlPoints[0].clone(),s=this.controlPoints[1].clone(),p=this.controlPoints[2].clone(),u=0;u=SuperMap.Plot.PlottingUtil.isRight(p,a,s)?180*SuperMap.Plot.PlottingUtil.radian(s,a)/Math.PI+90:180*SuperMap.Plot.PlottingUtil.radian(a,s)/Math.PI+90;var P=SuperMap.Plot.PlottingUtil.distance(a,s)/2,y=new SuperMap.Geometry.Point((a.x+s.x)/2,(a.y+s.y)/2),c=SuperMap.Plot.PlottingUtil.circlePoint(y,P,P,u),h=SuperMap.Plot.PlottingUtil.plumbLineLen(p,a,s);if(h<=4*P){var S=SuperMap.Plot.PlottingUtil.circlePoint(y,3*P,3*P,u);this.addCell(SuperMap.Plot.SymbolType.CIRCLESYMBOL,[c,new SuperMap.Geometry.Point(c.x+P,c.y)]),this.addCell(SuperMap.Plot.SymbolType.CIRCLESYMBOL,[S,new SuperMap.Geometry.Point(S.x+P,S.y)])}else{for(var f=SuperMap.Plot.PlottingUtil.circlePoint(y,h-P,h-P,u),g=180*Math.acos(P/(h-2*P))/Math.PI,M=u-g,d=u-180+g,m=u-180-g+360,v=[],b=u+g-360;b<=M;b+=4){var A=SuperMap.Plot.PlottingUtil.circlePoint(c,P,P,b);v.push(A)}var L=SuperMap.Plot.PlottingUtil.circlePoint(c,P,P,M);v.push(L);for(var T=[],x=d;x<m;x+=4){var O=SuperMap.Plot.PlottingUtil.circlePoint(f,P,P,x);T.push(O)}var w=SuperMap.Plot.PlottingUtil.circlePoint(f,P,P,m);T.push(w);var U=[];U=U.concat(v);for(var R=T.length-1;R>=0;R--)U.push(T[R]);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,U)}}}}]),e}();SuperMap.Plot.CurveEight=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.Runway=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===o.scaleValues.length&&o.scaleValues.push(.2),o.CLASS_NAME="SuperMap.Plot.Runway",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"destroy",value:function(){(function t(e,o,l){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,o);if(void 0===i){var n=Object.getPrototypeOf(e);return null===n?void 0:t(n,o,l)}if("value"in i)return i.value;var r=i.get;return void 0!==r?r.call(l):void 0})(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"destroy",this).call(this)}},{key:"calculateParts",value:function(){if(this.init(),this.controlPoints.length>=this.minEditPts){for(var t=this.controlPoints[0],e=this.controlPoints[1],o=SuperMap.Plot.PlottingUtil.distance(t,e),l=this.scaleValues[0]*o,i=SuperMap.Plot.PlottingUtil.parallel(this.controlPoints,l/2),n=SuperMap.Plot.PlottingUtil.parallel(this.controlPoints,-l/2),r=180*SuperMap.Plot.PlottingUtil.radian(t,e)/Math.PI,a=[],s=r+90;s<=r+270;s+=10){var p=SuperMap.Plot.PlottingUtil.circlePoint(t,l/2,l/2,s);a.push(p)}for(var u=[],P=r-90;P<=r+90;P+=10){var y=SuperMap.Plot.PlottingUtil.circlePoint(e,l/2,l/2,P);u.push(y)}var c=[];(c=(c=(c=(c=c.concat(a)).concat(n)).concat(u)).concat(i)).push(c[0]),this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,c);var h=new SuperMap.Geometry.Point(a[0].x,a[0].y);this.addScalePoint(h)}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint&&0==t){var o=SuperMap.Plot.PlottingUtil.distance(e,this.controlPoints[0]),l=SuperMap.Plot.PlottingUtil.distance(this.controlPoints[0],this.controlPoints[1]);this.scaleValues[0]=2*o/l}this.calculateParts()}}]),e}();SuperMap.Plot.Runway=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.NodeChain=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===o.scaleValues.length&&(o.scaleValues.push(0),o.scaleValues[1]=.1),o.CLASS_NAME="SuperMap.Plot.NodeChain",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"destroy",value:function(){(function t(e,o,l){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,o);if(void 0===i){var n=Object.getPrototypeOf(e);return null===n?void 0:t(n,o,l)}if("value"in i)return i.value;var r=i.get;return void 0!==r?r.call(l):void 0})(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"destroy",this).call(this)}},{key:"calculateParts",value:function(){if(this.init(),this.controlPoints&&null!==this.controlPoints){var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(!((t=SuperMap.Plot.PlottingUtil.clearSamePts(t)).length<this.minEditPts)){this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,t),this.isEdit||(this.scaleValues[1]=.25*this.getSubSymbolScaleValue());var e=SuperMap.Plot.PlottingUtil.polylineDistance(t),o=e*this.scaleValues[0],l=e*this.scaleValues[1];if(0<this.subSymbols.length&&null!==this.subSymbols[0]&&void 0!==this.subSymbols[0])if(this.subSymbols[0].code>0)for(var i=0;i<t.length;i++){var n=new SuperMap.Geometry.Point(t[i].x,t[i].y+o);this.computeSubSymbol(this.subSymbols[0],n,2*l,0)}else this.addCircles(t,o,l);else this.addCircles(t,o,l);var r=new SuperMap.Geometry.Point(t[0].x,t[0].y+o);this.addScalePoint(r);var a=SuperMap.Plot.PlottingUtil.circlePoint(r,l,l,90);this.addScalePoint(a)}}}},{key:"addCircles",value:function(t,e,o){for(var l={surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0},i=0;i<t.length;i++){var n=new SuperMap.Geometry.Point(t[i].x,t[i].y+e),r=this.getCirclePts(n,o);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,r,l)}}},{key:"getCirclePts",value:function(t,e){for(var o=[],l=0;l<=360;l+=12){var i=SuperMap.Plot.PlottingUtil.circlePoint(t,e,e,l);o.push(i)}return o}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint){var o=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((o=SuperMap.Plot.PlottingUtil.clearSamePts(o)).length<this.minEditPts)return;var l=SuperMap.Plot.PlottingUtil.polylineDistance(o);if(0===t)this.scaleValues[0]=(e.y-o[0].y)/l;else if(1===t){var i=SuperMap.Plot.PlottingUtil.distance(e,o[0]);this.scaleValues[1]=i/l}}this.calculateParts()}}]),e}();SuperMap.Plot.NodeChain=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.FreeCurve=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.CLASS_NAME="SuperMap.Plot.FreeCurve",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"calculateParts",value:function(){if(this.init(),!(null==this.controlPoints||this.controlPoints.length<this.minEditPts)){this.scalePoints=[];var t=[];if(this.controlPoints.length<3)t.push(this.controlPoints[0]),t.push(this.controlPoints[1]);else{if(!this.isEdit){var e=this.getLonLatFromPixel(0,0),o=this.getLonLatFromPixel(100,100),l=Math.abs(e.lon-o.lon),i=this.reSample(this.controlPoints,l/50);i.length<3&&(i=this.controlPoints),this.controlPoints=[],this.controlPoints=this.controlPoints.concat(i)}var n=SuperMap.Plot.PlottingUtil.computeBeizerPoints(this.isEdit,this.controlPoints,this.scaleValues);n.scalePoints=SuperMap.Plot.PlottingUtil.clearSamePts(n.scalePoints),n.scaleValues=SuperMap.Plot.PlottingUtil.clearSamePts(n.scaleValues),this.scaleValues=n.scaleValues;for(var r=0,a=n.scalePoints.length;r<a;r++){var s=n.scalePoints[r];s.isScalePoint=!0,s.tag=r,this.addScalePoint(s)}t=SuperMap.Plot.PlottingUtil.clonePoints(n.beizerPoints)}this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,t)}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>2*this.controlPoints.length-1)return;var o=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(2>o.length)return;var l=SuperMap.Plot.PlottingUtil.polylineDistance(o),i=-1;i=t%2==0?Math.floor(t/2):Math.floor((t+1)/2);var n=(e.x-o[i].x)/l,r=(e.y-o[i].y)/l;this.scaleValues[2*t]=n,this.scaleValues[2*t+1]=r}this.calculateParts()}},{key:"reSample",value:function(t,e){var o=[];if(null==t||e<0)return o;var l=t.length;if(l>2){var i=new SuperMap.Geometry.Point(0,0),n=0,r=0,a=0,s=2*Math.PI;i=t[0],o.push(i);for(var p=!1,u=!1,P=!1,y=1;y<l;y++)if(r=Math.sqrt((t[y].y-i.y)*(t[y].y-i.y)+(t[y].x-i.x)*(t[y].x-i.x)),SuperMap.Plot.PlottingUtil.equalFuzzy(0,r))p&&(i=t[y-1],y--,o.push(i),a=0,s=2*Math.PI,p=!1,u=!1,P=!1);else{var c=(t[y].x-i.x)/r,h=(t[y].y-i.y)/r;if(n=h>0||SuperMap.Plot.PlottingUtil.equalFuzzy(0,h)?Math.acos(c):2*Math.PI-Math.acos(c),s>2*Math.PI&&n+2*Math.PI<s?(n+=2*Math.PI,a<0&&(a+=2*Math.PI)):a<0&&n-2*Math.PI>a&&(n-=2*Math.PI,s>2*Math.PI&&(s-=2*Math.PI)),n>a&&n<s||SuperMap.Plot.PlottingUtil.equalFuzzy(0,n-a)||SuperMap.Plot.PlottingUtil.equalFuzzy(0,n-s)){var S=Math.atan(e/r);u?a<n-S&&(a=n-S):(u=!0,a=n-S),P?s>n+S&&(s=n+S):(P=!0,s=n+S),p=!0}else i=t[y-1],y--,o.push(i),a=0,s=2*Math.PI,p=!1,u=!1,P=!1}return o.push(t[l-1]),o}return o}},{key:"reSampleByAngle",value:function(t,e){var o=[],l=t.length;if(null==t||l<=0||e<=0)return o;for(var i=t,n=l,r=!1;SuperMap.Plot.PlottingUtil.equalFuzzy(i[0].x,i[n-1].x)&&SuperMap.Plot.PlottingUtil.equalFuzzy(i[0].y,i[n-1].y);){if((n-=1)<=0)return o;r=!0}var a,s,p=[];for(a=0;a<n;a++)p.push(0);for(p[0]=1,p[n-1]=1,s=0,a=1;a<n-1;a++)if(SuperMap.Plot.PlottingUtil.distance(i[s],i[a])>1e-10&&SuperMap.Plot.PlottingUtil.distance(i[s],i[a+1])>1e-10){var u=180*SuperMap.Plot.PlottingUtil.InnerAngle(i[a],i[s],i[a+1])/Math.PI;u>e&&u<180-e&&(p[a]=1,s++)}var P=0;for(a=0;a<n;a++)1==p[a]&&P++;if(P>0){for(r&&P++,o=[],s=0,a=0;a<n;a++)1==p[a]&&(o[s++]=i[a]);return r&&(o[s]=o[0]),o}return o}}]),e}();SuperMap.Plot.FreeCurve=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.CombinationalCircle=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.angleRange=[],o.defaultRadius=t.defaultRadius?t.defaultRadius:60,o.CLASS_NAME="SuperMap.Plot.CombinationalCircle",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"calculateParts",value:function(){if(this.init(),this.controlPoints=SuperMap.Plot.PlottingUtil.clearSamePts(this.controlPoints),!(null==this.controlPoints||this.controlPoints.length<1)){var t=this.getCircleLonLat(this.controlPoints[0],this.defaultRadius);this.angleRange=[];for(var e=0;e<this.controlPoints.length;e++)null==this.scaleValues[e]&&(this.scaleValues[e]=t),this.angleRange.push([{Start:0,End:360}]);for(var o=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints),l=0;l<o.length;l++)if(0!==this.angleRange[l].length&&(0!==this.angleRange[l][0].Start||0!==this.angleRange[l][0].End))for(var i=l+1;i<o.length;i++)if(0!==this.angleRange[i].length&&(0!==this.angleRange[i][0].Start||0!==this.angleRange[i][0].End)){var n=SuperMap.Plot.PlottingUtil.distance(o[l],o[i]);if(n<this.scaleValues[l]+this.scaleValues[i])if(n>Math.abs(this.scaleValues[l]-this.scaleValues[i]))for(var r=0;r<2;r++){var a,s,p;0==r?(p=l,a=SuperMap.Plot.PlottingUtil.radian(o[l],o[i])*SuperMap.Plot.PlottingUtil.RTOD,s=Math.acos((n*n+this.scaleValues[l]*this.scaleValues[l]-this.scaleValues[i]*this.scaleValues[i])/(2*n*this.scaleValues[l]))*SuperMap.Plot.PlottingUtil.RTOD):(p=i,a=SuperMap.Plot.PlottingUtil.radian(o[i],o[l])*SuperMap.Plot.PlottingUtil.RTOD,s=Math.acos((n*n+this.scaleValues[i]*this.scaleValues[i]-this.scaleValues[l]*this.scaleValues[l])/(2*n*this.scaleValues[i]))*SuperMap.Plot.PlottingUtil.RTOD);var u=a-s,P=a+s,y=u<0&&P>0||u>360||P>360;u=this.adjustAngle(u),P=this.adjustAngle(P);for(var c=this.angleRange[p].length-1;c>=0;c--)if(y){if(P>this.angleRange[p][c].End||SuperMap.Plot.PlottingUtil.equalFuzzy(P,this.angleRange[p][c].End)){this.angleRange[p].splice(c,1);continue}if(P>this.angleRange[p][c].Start&&(this.angleRange[p][c].Start=P),u<this.angleRange[p][c].Start||SuperMap.Plot.PlottingUtil.equalFuzzy(u,this.angleRange[p][c].Start)){this.angleRange[p].splice(c,1);continue}u<this.angleRange[p][c].End&&(this.angleRange[p][c].End=u)}else if(u<this.angleRange[p][c].Start&&P>this.angleRange[p][c].End)this.angleRange[p].splice(c,1);else if(u>this.angleRange[p][c].Start&&P<this.angleRange[p][c].End)this.angleRange[p].push({Start:this.angleRange[p][c].Start,End:u}),this.angleRange[p].push({Start:P,End:this.angleRange[p][c].End}),this.angleRange[p].splice(c,1);else{if(u>this.angleRange[p][c].End)continue;if(u>this.angleRange[p][c].Start&&(this.angleRange[p][c].End=u),P<this.angleRange[p][c].Start)continue;P<this.angleRange[p][c].End&&(this.angleRange[p][c].Start=P)}}else{if(this.scaleValues[l]<this.scaleValues[i]){this.angleRange[l][0].Start=0,this.angleRange[l][0].End=0;break}this.angleRange[i][0].Start=0,this.angleRange[i][0].End=0}}for(var h=[],S=0;S<o.length;S++)if(0!==this.angleRange[S].length&&(0!==this.angleRange[S][0].Start||0!==this.angleRange[S][0].End))for(var f=this.angleRange[S].length-1;f>=0;f--){for(var g=this.adjustAngle(this.angleRange[S][f].Start),M=this.adjustAngle(this.angleRange[S][f].End);M<g;)M+=360;if(M-g==360)this.addCell(SuperMap.Plot.SymbolType.CIRCLESYMBOL,[o[S],new SuperMap.Geometry.Point(o[S].x,o[S].y+this.scaleValues[S])]);else{for(var d=[],m=(M-g)/72,v=g;v<M+m/2;v+=m){var b=o[S].x+this.scaleValues[S]*Math.cos(v*SuperMap.Plot.PlottingUtil.DTOR),A=o[S].y+this.scaleValues[S]*Math.sin(v*SuperMap.Plot.PlottingUtil.DTOR);d.push(new SuperMap.Geometry.Point(b,A))}this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,d),h.push(d)}}for(var L=[];0!==h.length;){var T=h[0];h.splice(0,1),void 0!==(T=this.generatePolygon(h,T))&&L.push(T)}for(var x=[],O=0;O<L.length;O++)x.push(L[O]);for(var w=x.length-1;w>=0;w--)for(var U=0;U<x[w].length;U++){for(var R in x)if(parseInt(R)!==w){var _=x[R];if(SuperMap.Plot.PlottingUtil.ptIsInPolygon(_,x[w][U])){var E=w,C=parseInt(R);x[C].push(x[C][0]),x[E].push(x[E][0]),x[C]=x[C].concat(x[E]),x.splice(E,1);break}}if(!isNaN(E)&&!isNaN(C))break}for(var I=0;I<x.length;I++){var B={type:SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,positionPoints:x[I],style:{surroundLineFlag:!1,lineWidthLimit:!0,weight:0,strokeWidth:0}};this.components.splice(0,0,B)}for(var G=0;G<o.length;G++){var D=new SuperMap.Geometry.Point(o[G].x+this.scaleValues[G],o[G].y);D.isScalePoint=!0,D.tag=G,this.addScalePoint(D)}}}},{key:"generatePolygon",value:function(t,e){if(0===t.length||SuperMap.Plot.PlottingUtil.equalFuzzy(e[0].x,e[e.length-1].x,1e-7)&&SuperMap.Plot.PlottingUtil.equalFuzzy(e[0].y,e[e.length-1].y,1e-7))return e;for(var o,l=e[e.length-1],i=0;i<t.length;i++)if(SuperMap.Plot.PlottingUtil.equalFuzzy(t[i][0].x,l.x,1e-7)&&SuperMap.Plot.PlottingUtil.equalFuzzy(t[i][0].y,l.y,1e-7)){if(e=e.concat(t[i]),t.splice(i,1),void 0!==(o=this.generatePolygon(t,e))&&0!==o.length)return o}else if(SuperMap.Plot.PlottingUtil.equalFuzzy(t[i][t[i].length-1].x,l.x,1e-7)&&SuperMap.Plot.PlottingUtil.equalFuzzy(t[i][t[i].length-1].y,l.y,1e-7)){for(var n=t[i].length-1;n>=0;n--)e.push(t[i][n]);if(t.splice(i,1),void 0!==(o=this.generatePolygon(t,e))&&0!==o.length)return o}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint){if(t<0||t>=this.controlPoints.length)return;var o=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints),l=SuperMap.Plot.PlottingUtil.distance(o[t],e);this.scaleValues[t]=l}this.calculateParts()}},{key:"adjustAngle",value:function(t){for(;t>360;)t-=360;for(;t<0;)t+=360;return t}},{key:"getCircleLonLat",value:function(t,e){return null===this.map?2*this.getDefaultSubSymbolSize():this.map&&"undefined"!=typeof L&&void 0!==L.Map&&this.map instanceof L.Map?((o=this.map.latLngToLayerPoint(L.latLng(t.y,t.x))).x+=e,this.map.layerPointToLatLng(L.point(o.x,o.y)).lng-t.x):this.map&&"undefined"!=typeof SuperMap&&void 0!==SuperMap.Map&&this.map instanceof SuperMap.Map?((o=this.map.getPixelFromLonLat(new SuperMap.LonLat(t.x,t.y))).x+=e,this.map.getLonLatFromPixel(new SuperMap.Pixel(o.x,o.y)).lon-t.x):void 0;var o}}]),e}();SuperMap.Plot.CombinationalCircle=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.ConcentricCircle=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return void 0===o.scaleValues[0]&&(o.scaleValues[0]=0),void 0===o.scaleValues[1]&&(o.scaleValues[1]=360),o.CLASS_NAME="SuperMap.Plot.ConcentricCircle",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"calculateParts",value:function(){this.init();var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(!(null==(t=SuperMap.Plot.PlottingUtil.clearSamePts(t))||t.length<2)){for(2==t.length&&t.push(t[1].clone());this.scaleValues[0]>360;)this.scaleValues[0]-=360;for(;this.scaleValues[0]<0;)this.scaleValues[0]+=360;for(;this.scaleValues[1]>360;)this.scaleValues[1]-=360;for(;this.scaleValues[1]<0;)this.scaleValues[1]+=360;for(;this.scaleValues[1]<=this.scaleValues[0];)this.scaleValues[1]+=360;for(var e=SuperMap.Plot.PlottingUtil.distance(t[0],t[1]),o=SuperMap.Plot.PlottingUtil.distance(t[0],t[2]),l=[],i=[],n=Math.PI/180,r=(this.scaleValues[1]-this.scaleValues[0])/72,a=this.scaleValues[0];a<this.scaleValues[1]+r/2;a+=r){var s=t[0].x+e*Math.cos(a*n),p=t[0].y+e*Math.sin(a*n),u=t[0].x+o*Math.cos(a*n),P=t[0].y+o*Math.sin(a*n);l.push(new SuperMap.Geometry.Point(s,p)),i.push(new SuperMap.Geometry.Point(u,P))}for(var y=[],c=0;c<l.length;c++)y.push(l[c]);for(var h=i.length-1;h>=0;h--)y.push(i[h]);this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,y,{surroundLineFlag:!1,lineWidthLimit:!0,weight:0,strokeWidth:0}),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,l),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,i);var S=t[0].x+e/2*Math.cos(this.scaleValues[0]*n),f=t[0].y+e/2*Math.sin(this.scaleValues[0]*n),g=t[0].x+o/2*Math.cos(this.scaleValues[1]*n),M=t[0].y+o/2*Math.sin(this.scaleValues[1]*n),d=new SuperMap.Geometry.Point(S,f);d.isScalePoint=!0,d.tag=0,this.addScalePoint(d);var m=new SuperMap.Geometry.Point(g,M);m.isScalePoint=!0,m.tag=1,this.addScalePoint(m)}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint){for(var o=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints),l=180*SuperMap.Plot.PlottingUtil.radian(o[0],e)/Math.PI;l>360;)l-=360;for(;l<0;)l+=360;0==t?this.scaleValues[0]=l:1==t&&(this.scaleValues[1]=l)}this.calculateParts()}}]),e}();SuperMap.Plot.ConcentricCircle=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.SymbolTextBox=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.roundBox=!!t.roundBox&&t.roundBox,o.textBoxType=t.textBoxType?t.textBoxType:SuperMap.Plot.TextBoxType.WITHTIPBOX,0===o.scaleValues.length&&(o.scaleValues.push(.126),o.scaleValues.push(0),o.scaleValues.push(0)),o.CLASS_NAME="SuperMap.Plot.SymbolTextBox",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"destroy",value:function(){this.roundBox=null,this.textBoxType=null,function t(e,o,l){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,o);if(void 0===i){var n=Object.getPrototypeOf(e);return null===n?void 0:t(n,o,l)}if("value"in i)return i.value;var r=i.get;return void 0!==r?r.call(l):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"destroy",this).call(this)}},{key:"calculateParts",value:function(){this.init();var t=this.scaleValues[0];if(!(t<0||t>1)){if(t=(1-t)/2,this.controlPoints.length>=this.minEditPts){var e,o,l,i;this.scalePoints=[];var n=[];this.controlPoints[0].x<this.controlPoints[1].x?(e=this.controlPoints[0].x,l=this.controlPoints[1].x):(e=this.controlPoints[1].x,l=this.controlPoints[0].x),this.controlPoints[0].y<this.controlPoints[1].y?(i=this.controlPoints[0].y,o=this.controlPoints[1].y):(i=this.controlPoints[1].y,o=this.controlPoints[0].y);var r=1,a=2,s=3,p=4;if(this.roundBox){var u=Math.max(e,l),P=Math.min(e,l),y=Math.max(o,i),c=Math.min(o,i),h=.1*Math.min(Math.abs(e-l),Math.abs(o-i)),S=new SuperMap.Geometry.Point(P+h,c+h),f=new SuperMap.Geometry.Point(P+h,y-h),g=new SuperMap.Geometry.Point(u-h,y-h),M=new SuperMap.Geometry.Point(u-h,c+h),d=this.calculateArc(S,h,3*Math.PI/2,Math.PI,-1,180),m=this.calculateArc(f,h,Math.PI,Math.PI/2,-1,180),v=this.calculateArc(g,h,Math.PI/2,0,-1,180),b=this.calculateArc(M,h,2*Math.PI,3*Math.PI/2,-1,180);r=d.length,a=d.length+m.length,s=d.length+m.length+v.length,p=d.length+m.length+v.length+b.length,n=d.concat(m,v,b)}else n.push(new SuperMap.Geometry.Point(e,i)),n.push(new SuperMap.Geometry.Point(e,o)),n.push(new SuperMap.Geometry.Point(l,o)),n.push(new SuperMap.Geometry.Point(l,i));this.isEdit||(this.scaleValues[1]=e+.1*(l-e),this.scaleValues[2]=i+-.3*(o-i));var A=new SuperMap.Geometry.Point(this.scaleValues[1],this.scaleValues[2]),L=this.getAction(this.scaleValues[1],this.scaleValues[2],e,o,l,i);if(this.textBoxType===SuperMap.Plot.TextBoxType.WITHTIPBOX)switch(this.addScalePoint(A,0),L){case 0:break;case 1:this.addScalePoint(new SuperMap.Geometry.Point(e,o-(o-i)*t)),n.splice(r,0,new SuperMap.Geometry.Point(e,o-(o-i)*t)),n.splice(r,0,A),n.splice(r,0,new SuperMap.Geometry.Point(e,i+(o-i)*t));break;case 2:this.addScalePoint(new SuperMap.Geometry.Point(l-(l-e)*t,o)),n.splice(a,0,new SuperMap.Geometry.Point(l-(l-e)*t,o)),n.splice(a,0,A),n.splice(a,0,new SuperMap.Geometry.Point(e+(l-e)*t,o));break;case 3:this.addScalePoint(new SuperMap.Geometry.Point(l,o-(o-i)*t)),n.splice(s,0,new SuperMap.Geometry.Point(l,i+(o-i)*t)),n.splice(s,0,A),n.splice(s,0,new SuperMap.Geometry.Point(l,o-(o-i)*t));break;case 4:this.addScalePoint(new SuperMap.Geometry.Point(l-(l-e)*t,i)),n.splice(p,0,new SuperMap.Geometry.Point(e+(l-e)*t,i)),n.splice(p,0,A),n.splice(p,0,new SuperMap.Geometry.Point(l-(l-e)*t,i))}if(0!==n.length)if(this.textBoxType===SuperMap.Plot.TextBoxType.NONEBOX){this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,n,{surroundLineFlag:!1,weight:0,lineWidthLimit:!0})}else this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,n)}else this.controlPoints.length>=2&&this.controlPoints.length<this.minEditPts&&this.addCell(SuperMap.Plot.SymbolType.RECTANGLESYMBOL,this.controlPoints);this.annotationContent(e,o,l,i),this.finish()}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint)if(0===t)this.scaleValues[1]=e.x,this.scaleValues[2]=e.y;else if(1===t){var o,l,i,n,r,a,s=this.scalePoints[0];this.controlPoints[0].x<this.controlPoints[1].x?(o=this.controlPoints[0].x,i=this.controlPoints[1].x):(o=this.controlPoints[1].x,i=this.controlPoints[0].x),this.controlPoints[0].y<this.controlPoints[1].y?(n=this.controlPoints[0].y,l=this.controlPoints[1].y):(n=this.controlPoints[1].y,l=this.controlPoints[0].y),r=this.scaleValues[1],a=this.scaleValues[2];var p=(l-n)/(i-o),u=.25;switch(r<o?a>l?Math.abs((a-l)/(r-o))>p?2:1:a<n&&Math.abs((a-n)/(r-o))>p?4:1:r>i?a>l?Math.abs((a-l)/(r-i))>p?2:3:a<n&&Math.abs((a-n)/(r-i))>p?4:3:a>l?2:a<n?4:0){case 1:case 3:var P=s.y+(e.y-s.y);P>l&&(P=l),P<(l+n)/2&&(P=(l+n)/2),u=1-2*(l-P)/(l-n);break;case 2:case 4:var y=s.x+(e.x-s.x);y>i&&(y=i),y<(o+i)/2&&(y=(o+i)/2),u=1-2*(i-y)/(i-o)}u<0&&(u=0),u>1&&(u=1),this.scaleValues[0]=u}this.calculateParts()}},{key:"calculateArc",value:function(t,e,o,l,i,n){(!i||1!=i&&-1!=i)&&(i=-1),n||(n=360);for(var r=Math.PI/n/2,a=r*i,s=Math.abs(l-o),p=[],u=o,P=0;P<s;P+=r){var y=new SuperMap.Geometry.Point(Math.cos(u)*e+t.x,Math.sin(u)*e+t.y);p.push(y),u=(u=(u+=a)<0?u+2*Math.PI:u)>2*Math.PI?u-2*Math.PI:u}return p}},{key:"getAction",value:function(t,e,o,l,i,n){var r=(l-n)/(i-o);return t<o?e>l?Math.abs((e-l)/(t-o))>r?2:1:e<n&&Math.abs((e-n)/(t-o))>r?4:1:t>i?e>l?Math.abs((e-l)/(t-i))>r?2:3:e<n&&Math.abs((e-n)/(t-i))>r?4:3:e>l?2:e<n?4:0}}]),e}();SuperMap.Plot.SymbolTextBox=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.GeoTooltipBoxM=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===o.scaleValues.length&&(o.scaleValues.push(0),o.scaleValues.push(0),o.scaleValues.push(0),o.scaleValues.push(0)),o.CLASS_NAME="SuperMap.Plot.GeoTooltipBoxM",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"destroy",value:function(){(function t(e,o,l){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,o);if(void 0===i){var n=Object.getPrototypeOf(e);return null===n?void 0:t(n,o,l)}if("value"in i)return i.value;var r=i.get;return void 0!==r?r.call(l):void 0})(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"destory",this).call(this)}},{key:"calculateParts",value:function(){this.init();var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((t=SuperMap.Plot.PlottingUtil.clearSamePts(t)).length>=this.minEditPts){var e,o,l,i;t[0].x<t[1].x?(e=t[0].x,l=t[1].x):(e=t[1].x,l=t[0].x),t[0].y<t[1].y?(i=t[0].y,o=t[1].y):(i=t[1].y,o=t[0].y),this.scalePoints=[];var n=[];n.push(new SuperMap.Geometry.Point(e,i)),n.push(new SuperMap.Geometry.Point(e,o)),n.push(new SuperMap.Geometry.Point(l,o)),n.push(new SuperMap.Geometry.Point(l,i)),this.isEdit||(this.scaleValues[0]=e,this.scaleValues[1]=i-.3*(o-i),this.scaleValues[2]=e+.5*(l-e),this.scaleValues[3]=i-.3*(o-i));for(var r=[],a=[],s=0;s<this.scaleValues.length/2;s++)r.push(this.getAction(this.scaleValues[2*s],this.scaleValues[2*s+1],e,o,l,i)),a.push(new SuperMap.Geometry.Point(this.scaleValues[2*s],this.scaleValues[2*s+1]));for(var p,u,P,y,c=a.length,h=[],S=[],f=[],g=[],M=[],d=0;d<r.length;d++)0===r[d]&&h.push(a[d]),1===r[d]&&S.push(a[d]),2===r[d]&&f.push(a[d]),3===r[d]&&g.push(a[d]),4===r[d]&&M.push(a[d]);var m=r.slice();m.sort();var v=new SuperMap.Geometry.Point(0,0);if(m[0]===m[m.length-1]&&0!==m[0]){var b=[];switch(m[0]){case 0:break;case 1:p=1/(2*S.length+1);for(var A=new SuperMap.Geometry.Point,L=0;L<2*S.length;L++)A=new SuperMap.Geometry.Point(e,i+(o-i)*p*(L+1)),b.unshift(A);break;case 2:u=1/(2*f.length+1);for(var T=new SuperMap.Geometry.Point,x=0;x<2*f.length;x++)T=new SuperMap.Geometry.Point(e+(l-e)*u*(x+1),o),b.unshift(T);break;case 3:P=1/(2*g.length+1);for(var O=new SuperMap.Geometry.Point,w=0;w<2*g.length;w++)O=new SuperMap.Geometry.Point(l,i+(o-i)*P*(w+1)),b.push(O);break;case 4:y=1/(2*M.length+1);for(var U=new SuperMap.Geometry.Point,R=0;R<2*M.length;R++)U=new SuperMap.Geometry.Point(e+(l-e)*y*(R+1),i),b.push(U)}for(var _=0;_<c;_++)for(var E=0;E<c;E++){var C=SuperMap.Plot.PlottingUtil.intersectLineSegs(b[2*_+1],a[_],b[2*E],a[E],v);if(C&&SuperMap.Plot.PlottingUtil.equalFuzzy(v.x,b[2*_+1].x)&&SuperMap.Plot.PlottingUtil.equalFuzzy(v.y,b[2*_+1].y)&&(C=!1),C){var I=a[E].clone();a[E]=a[_],a[_]=I}}for(var B=0;B<c;B++)n.splice(m[0],0,b[2*B]),n.splice(m[0],0,a[B]),n.splice(m[0],0,b[2*B+1])}else{for(var G,D,V=[],N=[],k=[],Y=[],z=0;z<r.length;z++)switch(r[z]){case 0:break;case 1:p=1/(2*S.length+1);for(var j=0;j<2*S.length;j++){var F=new SuperMap.Geometry.Point(e,i+(o-i)*p*(j+1));V.unshift(F)}for(var W=0;W<S.length;W++)for(var H=1;H<S.length;H++)(G=SuperMap.Plot.PlottingUtil.intersectLineSegs(V[2*W+1],S[W],V[2*H],S[H],v))&&SuperMap.Plot.PlottingUtil.equalFuzzy(v.x,V[2*W+1].x)&&SuperMap.Plot.PlottingUtil.equalFuzzy(v.y,V[2*W+1].y)&&(G=!1),G&&(D=S[H].clone(),S[H]=S[W],S[W]=D);break;case 2:u=1/(2*f.length+1);for(var J=0;J<2*f.length;J++){var q=new SuperMap.Geometry.Point(e+(l-e)*u*(J+1),o);N.unshift(q)}for(var X=0;X<f.length;X++)for(var Z=1;Z<f.length;Z++)(G=SuperMap.Plot.PlottingUtil.intersectLineSegs(N[2*X+1],f[X],N[2*Z],f[Z],v))&&SuperMap.Plot.PlottingUtil.equalFuzzy(v.x,N[2*X+1].x)&&SuperMap.Plot.PlottingUtil.equalFuzzy(v.y,N[2*X+1].y)&&(G=!1),G&&(D=f[Z].clone(),f[Z]=f[X],f[X]=D);break;case 3:P=1/(2*g.length+1);for(var Q=0;Q<2*g.length;Q++){var K=new SuperMap.Geometry.Point(l,i+(o-i)*P*(Q+1));k.push(K)}for(var $=0;$<g.length;$++)for(var tt=1;tt<g.length;tt++)(G=SuperMap.Plot.PlottingUtil.intersectLineSegs(k[2*$+1],g[$],k[2*tt],g[tt],v))&&SuperMap.Plot.PlottingUtil.equalFuzzy(v.x,k[2*$+1].x)&&SuperMap.Plot.PlottingUtil.equalFuzzy(v.y,k[2*$+1].y)&&(G=!1),G&&(D=g[tt].clone(),g[tt]=g[$],g[$]=D);break;case 4:y=1/(2*M.length+1);for(var et=0;et<2*M.length;et++){var ot=new SuperMap.Geometry.Point(e+(l-e)*y*(et+1),i);Y.push(ot)}for(var lt=0;lt<M.length;lt++)for(var it=1;it<M.length;it++)(G=SuperMap.Plot.PlottingUtil.intersectLineSegs(Y[2*lt+1],M[lt],Y[2*it],M[it],v))&&SuperMap.Plot.PlottingUtil.equalFuzzy(v.x,Y[2*lt+1].x)&&SuperMap.Plot.PlottingUtil.equalFuzzy(v.y,Y[2*lt+1].y)&&(G=!1),G&&(D=M[it].clone(),M[it]=M[lt],M[lt]=D)}for(var nt=0;nt<M.length;nt++)n.splice(4,0,Y[2*nt]),n.splice(4,0,M[nt]),n.splice(4,0,Y[2*nt+1]);for(var rt=0;rt<g.length;rt++)n.splice(3,0,k[2*rt]),n.splice(3,0,g[rt]),n.splice(3,0,k[2*rt+1]);for(var at=0;at<f.length;at++)n.splice(2,0,N[2*at]),n.splice(2,0,f[at]),n.splice(2,0,N[2*at+1]);for(var st=0;st<S.length;st++)n.splice(1,0,V[2*st]),n.splice(1,0,S[st]),n.splice(1,0,V[2*st+1])}for(var pt=0;pt<a.length;pt++)this.addScalePoint(a[pt],pt)}this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,n),this.annotationContent(e,o,l,i),this.finish()}},{key:"modifyPoint",value:function(t,e){!0===e.isScalePoint&&(null==t&&void 0===t||(this.scaleValues[2*t]=e.x,this.scaleValues[2*t+1]=e.y)),this.calculateParts()}},{key:"getAction",value:function(t,e,o,l,i,n){var r=(l-n)/(i-o);return t<o?e>l?Math.abs((e-l)/(t-o))>r?2:1:e<n&&Math.abs((e-n)/(t-o))>r?4:1:t>i?e>l?Math.abs((e-l)/(t-i))>r?2:3:e<n&&Math.abs((e-n)/(t-i))>r?4:3:e>l?2:e<n?4:0}}]),e}();SuperMap.Plot.GeoTooltipBoxM=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.GeoTooltipBox=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===o.scaleValues.length&&o.scaleValues.push(.126),o.CLASS_NAME="SuperMap.Plot.GeoTooltipBox",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"destroy",value:function(){(function t(e,o,l){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,o);if(void 0===i){var n=Object.getPrototypeOf(e);return null===n?void 0:t(n,o,l)}if("value"in i)return i.value;var r=i.get;return void 0!==r?r.call(l):void 0})(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"destroy",this).call(this)}},{key:"calculateParts",value:function(){this.init();var t=this.scaleValues[0];if(!(t<0||t>1)){if(t=(1-t)/2,this.controlPoints.length>=this.minEditPts){var e,o,l,i,n,r;this.controlPoints[2]&&(this.controlPoints[2].isFixedPos=!0),this.controlPoints[0].x<this.controlPoints[1].x?(e=this.controlPoints[0].x,l=this.controlPoints[1].x):(e=this.controlPoints[1].x,l=this.controlPoints[0].x),this.controlPoints[0].y<this.controlPoints[1].y?(i=this.controlPoints[0].y,o=this.controlPoints[1].y):(i=this.controlPoints[1].y,o=this.controlPoints[0].y),n=this.controlPoints[2].x,r=this.controlPoints[2].y;var a=0,s=(o-i)/(l-e);a=n<e?r>o?Math.abs((r-o)/(n-e))>s?2:1:r<i&&Math.abs((r-i)/(n-e))>s?4:1:n>l?r>o?Math.abs((r-o)/(n-l))>s?2:3:r<i&&Math.abs((r-i)/(n-l))>s?4:3:r>o?2:r<i?4:0,this.scalePoints=[];var p=[];switch(p.push(new SuperMap.Geometry.Point(e,i)),p.push(new SuperMap.Geometry.Point(e,o)),p.push(new SuperMap.Geometry.Point(l,o)),p.push(new SuperMap.Geometry.Point(l,i)),a){case 0:break;case 1:this.addScalePoint(new SuperMap.Geometry.Point(e,o-(o-i)*t)),p.splice(a,0,new SuperMap.Geometry.Point(e,o-(o-i)*t)),p.splice(a,0,this.controlPoints[2].clone()),p.splice(a,0,new SuperMap.Geometry.Point(e,i+(o-i)*t));break;case 2:this.addScalePoint(new SuperMap.Geometry.Point(l-(l-e)*t,o)),p.splice(a,0,new SuperMap.Geometry.Point(l-(l-e)*t,o)),p.splice(a,0,this.controlPoints[2].clone()),p.splice(a,0,new SuperMap.Geometry.Point(e+(l-e)*t,o));break;case 3:this.addScalePoint(new SuperMap.Geometry.Point(l,o-(o-i)*t)),p.splice(a,0,new SuperMap.Geometry.Point(l,i+(o-i)*t)),p.splice(a,0,this.controlPoints[2].clone()),p.splice(a,0,new SuperMap.Geometry.Point(l,o-(o-i)*t));break;case 4:this.addScalePoint(new SuperMap.Geometry.Point(l-(l-e)*t,i)),p.splice(a,0,new SuperMap.Geometry.Point(e+(l-e)*t,i)),p.splice(a,0,this.controlPoints[2].clone()),p.splice(a,0,new SuperMap.Geometry.Point(l-(l-e)*t,i))}this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,p),this.annotationContent(e,o,l,i)}this.finish()}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint&&0==t){var o,l,i,n,r,a,s=this.scalePoints[0];this.controlPoints[0].x<this.controlPoints[1].x?(o=this.controlPoints[0].x,i=this.controlPoints[1].x):(o=this.controlPoints[1].x,i=this.controlPoints[0].x),this.controlPoints[0].y<this.controlPoints[1].y?(n=this.controlPoints[0].y,l=this.controlPoints[1].y):(n=this.controlPoints[1].y,l=this.controlPoints[0].y),r=this.controlPoints[2].x,a=this.controlPoints[2].y;var p=(l-n)/(i-o),u=.25;switch(r<o?a>l?Math.abs((a-l)/(r-o))>p?2:1:a<n&&Math.abs((a-n)/(r-o))>p?4:1:r>i?a>l?Math.abs((a-l)/(r-i))>p?2:3:a<n&&Math.abs((a-n)/(r-i))>p?4:3:a>l?2:a<n?4:0){case 1:case 3:var P=s.y+(e.y-s.y);P>l&&(P=l),P<(l+n)/2&&(P=(l+n)/2),u=1-2*(l-P)/(l-n);break;case 2:case 4:var y=s.x+(e.x-s.x);y>i&&(y=i),y<(o+i)/2&&(y=(o+i)/2),u=1-2*(i-y)/(i-o)}u<0&&(u=0),u>1&&(u=1),this.scaleValues[0]=u}this.calculateParts()}}]),e}();SuperMap.Plot.GeoTooltipBox=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.Trapezoid=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.CLASS_NAME="SuperMap.Plot.Trapezoid",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"calculateParts",value:function(){this.init();var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if((t=SuperMap.Plot.PlottingUtil.clearSamePts(t)).length>=2&&t.length<this.minEditPts&&this.calAssistantLine(),!(t.length<this.minEditPts)){var e=[],o=t[0],l=t[1],i=t[2],n=new SuperMap.Geometry.Point(0,0);this.GetPointsByTrapezoid(1,i,l,o,n),e.push(o),e.push(l),e.push(i),e.push(n);var r=SuperMap.Plot.PlottingUtil.intersectLines(o,l,i,n),a=r.intersectPoint;r.isIntersectLines&&(a.x>o.x&&a.x<l.x||a.y>o.y&&a.y<l.y||a.x<o.x&&a.x>l.x||a.y<o.y&&a.y>l.y)&&(e[0]=n,e[3]=o),4==e.length&&this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e)}}},{key:"GetPointsByTrapezoid",value:function(t,e,o,l,i){var n=e.x,r=e.y,a=o.x,s=o.y,p=l.x,u=l.y,P=0,y=0,c=0,h=0;if(SuperMap.Plot.PlottingUtil.equalFuzzy(Math.abs(r-s),0))P=n+a-p,y=u;else if(SuperMap.Plot.PlottingUtil.equalFuzzy(Math.abs(n-a),0))P=p,y=r+s-u;else{var S=1*(r-s)/(n-a),f=u-S*p;y=S*(P=((s+r)/2+(n+a)/(2*S)-f)/(S+1/S))+f,P=2*P-p,y=2*y-u}var g=Math.sqrt(1*(n-a)*(n-a)+1*(r-s)*(r-s)),M=Math.sqrt(1*(n-P)*(n-P)+1*(r-y)*(r-y));g>0?(c=n+(a-n)*M/g,h=r+(s-r)*M/g):(c=n,h=r);var d=c+(P-c)*t,m=h+(y-h)*t;i.x=d,i.y=m}}]),e}();SuperMap.Plot.Trapezoid=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.Brace=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===o.scaleValues.length&&(o.scaleValues.push(.1),o.scaleValues.push(.1)),o.CLASS_NAME="SuperMap.Plot.Brace",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"calculateParts",value:function(){this.init();var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);if(!((t=SuperMap.Plot.PlottingUtil.clearSamePts(t)).length<this.minEditPts)){var e=t[0],o=t[1],l=SuperMap.Plot.PlottingUtil.distance(e,o);this.scaleValues.length<2&&(this.scaleValues=[],this.scaleValues.push(.1),this.scaleValues.push(.1));for(var i=this.scaleValues[0],n=this.scaleValues[1],r=new SuperMap.Geometry.Point(l*i,l*i),a=new SuperMap.Geometry.Point(l*(.5-n/2),0),s=new SuperMap.Geometry.Point(.5*l,-l*n),p=new SuperMap.Geometry.Point(l*(.5+n/2),0),u=new SuperMap.Geometry.Point(l*(1-i),l*i),P=[],y=180*Math.PI/180,c=270*Math.PI/180,h=3*Math.PI/180,S=y;S<=c;S+=h){var f=new SuperMap.Geometry.Point(r.x+l*i,r.y);f=SuperMap.Plot.PlottingUtil.rotateAngle(r,S,f),P.push(f)}P.push(a),P.push(s),P.push(p),y=270*Math.PI/180,c=360*Math.PI/180;for(var g=y;g<=c;g+=h){var M=new SuperMap.Geometry.Point(u.x+l*i,u.y);M=SuperMap.Plot.PlottingUtil.rotateAngle(u,g,M),P.push(M)}for(var d=SuperMap.Plot.PlottingUtil.radian(e,o),m=[],v=0;v<P.length;v++){var b=new SuperMap.Geometry.Point(P[v].x+e.x,P[v].y+e.y);b=SuperMap.Plot.PlottingUtil.rotateAngle(e,d,b),m.push(b)}this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,m),this.scalePoints=[];var A=new SuperMap.Geometry.Point(l*i,0),L=new SuperMap.Geometry.Point(A.x+e.x,A.y+e.y);(L=SuperMap.Plot.PlottingUtil.rotateAngle(e,d,L)).isScalePoint=!0,L.tag=0,this.addScalePoint(L);var T=new SuperMap.Geometry.Point(s.x+e.x,s.y+e.y);SuperMap.Plot.PlottingUtil.rotateAngle(e,d,T),T.isScalePoint=!0,T.tag=1,this.addScalePoint(T)}}},{key:"modifyPoint",value:function(t,e){if(!0===e.isScalePoint){var o=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints),l=SuperMap.Plot.PlottingUtil.distance(o[0],o[1]);if(0==t){var i=SuperMap.Plot.PlottingUtil.distance(o[0],e)/l;i>0&&i<.4&&(this.scaleValues[0]=i)}else if(1==t){var n=new SuperMap.Geometry.Point((o[0].x+o[1].x)/2,(o[0].y+o[1].y)/2),r=SuperMap.Plot.PlottingUtil.distance(e,n)/l;0<r&&.2>r&&(this.scaleValues[1]=r)}}this.calculateParts()}}]),e}();SuperMap.Plot.Brace=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.RegularPolygon=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return 0===o.scaleValues.length&&o.scaleValues.push(1),o.CLASS_NAME="SuperMap.Plot.RegularPolygon",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"calculateParts",value:function(){if(this.init(),!(this.controlPoints.length<this.minEditPts)){var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints),e=this.controlPoints.length+1,o=2*Math.PI/e;if(!this.isEdit){var l=this.controlPoints[this.controlPoints.length-1],i=new SuperMap.Geometry.Point(this.controlPoints[this.controlPoints.length-1].x,this.controlPoints[this.controlPoints.length-1].y);SuperMap.Plot.PlottingUtil.rotateAngle(this.controlPoints[0],o,i),this.scaleValues[0]=SuperMap.Plot.PlottingUtil.distance(t[0],this.calculateMidPt(l,i))/SuperMap.Plot.PlottingUtil.distance(t[0],t[t.length-1])}var n=[],r=this.controlPoints[this.controlPoints.length-1].clone();n.push(r.clone()),r=SuperMap.Plot.PlottingUtil.rotateAngle(this.controlPoints[0],o/2,r);var a=SuperMap.Plot.PlottingUtil.findPointOnLineByRatio(this.scaleValues[0],this.controlPoints[0],r);n.push(a);for(var s=1;s<e;s++)r=SuperMap.Plot.PlottingUtil.rotateAngle(this.controlPoints[0],o/2,r),n.push(r.clone()),r=SuperMap.Plot.PlottingUtil.rotateAngle(this.controlPoints[0],o/2,r),a=SuperMap.Plot.PlottingUtil.findPointOnLineByRatio(this.scaleValues[0],this.controlPoints[0],r),n.push(a);var p=n[1];this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,n,{surroundLineFlag:!1,fill:!1}),this.addScalePoint(p),this.finish()}}},{key:"calculateMidPt",value:function(t,e){return new SuperMap.Geometry.Point((t.x+e.x)/2,(t.y+e.y)/2)}},{key:"modifyPoint",value:function(t,e){if(0===t&&!0===e.isScalePoint){var o=SuperMap.Plot.PlottingUtil.distance(this.controlPoints[0],this.controlPoints[this.controlPoints.length-1]),l=this.scalePoints[0],i=SuperMap.Plot.PlottingUtil.projectPoint(e,this.controlPoints[0],l),n=SuperMap.Plot.PlottingUtil.distance(this.controlPoints[0],i);this.scaleValues[0]=n/o}this.calculateParts()}}]),e}();SuperMap.Plot.RegularPolygon=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.ArrowLine=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.arrowAngle=t.arrowAngle?t.arrowAngle:45,0===o.scaleValues.length&&(o.scaleValues.push(.3),o.scaleValues.push(0),o.scaleValues.push(0)),o.CLASS_NAME="SuperMap.Plot.ArrowLine",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,SuperMap.Plot.AlgoSymbol),l(e,[{key:"calculateParts",value:function(){if(this.init(),!(null==this.controlPoints||this.controlPoints.length<this.minEditPts)){var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);t=SuperMap.Plot.PlottingUtil.clearSamePts(t);var e=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t);e=SuperMap.Plot.PlottingUtil.clearSamePts(e);var o=SuperMap.Plot.PlottingUtil.polylineDistance(e);this.isEdit||(this.scaleValues[0]=.5*this.getSubSymbolScaleValue(o));var l,i=this.scaleValues[0]*o,n=this.arrowAngle*Math.PI/180/2,r=(l=e.length>2?SuperMap.Plot.PlottingUtil.radian(e[e.length-1],e[e.length-2]):SuperMap.Plot.PlottingUtil.radian(e[1],e[0]))-n,a=e[e.length-1].x+i*Math.cos(r),s=e[e.length-1].y+i*Math.sin(r),p=new SuperMap.Geometry.Point(a,s),u=l+n,P=e[e.length-1].x+i*Math.cos(u),y=e[e.length-1].y+i*Math.sin(u),c=new SuperMap.Geometry.Point(P,y),h=[];h.push(p),h.push(e[e.length-1].clone()),h.push(c);var S={surroundLineFlag:!1,fillLimit:!0,lineTypeLimit:!0},f=SuperMap.Plot.PlottingUtil.radian(e[0],e[1]);r=f-n,a=e[0].x+i*Math.cos(r),s=e[0].y+i*Math.sin(r),p=new SuperMap.Geometry.Point(a,s),u=f+n,P=e[0].x+i*Math.cos(u),y=e[0].y+i*Math.sin(u),c=new SuperMap.Geometry.Point(P,y);var g=[];g.push(p),g.push(e[0].clone()),g.push(c);var M=this.scaleValues[1]===SuperMap.Plot.ArrowLineType.DOUBLELINE?SuperMap.Plot.SymbolType.POLYLINESYMBOL:SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,d=this.scaleValues[2]===SuperMap.Plot.ArrowLineType.DOUBLELINE?SuperMap.Plot.SymbolType.POLYLINESYMBOL:SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL;this.scaleValues[1]===SuperMap.Plot.ArrowLineType.DOUBLELINE?this.addCell(M,g,S):this.scaleValues[1]===SuperMap.Plot.ArrowLineType.TRIANGLESOLID&&this.addCell(M,g,S),this.scaleValues[2]===SuperMap.Plot.ArrowLineType.DOUBLELINE?this.addCell(d,h,S):this.scaleValues[2]===SuperMap.Plot.ArrowLineType.TRIANGLESOLID&&this.addCell(d,h,S),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,e),this.finish()}}}]),e}();SuperMap.Plot.ArrowLine=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.AlgoSymbol=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e=e||{},this.style=null,this.libID=e.libID?e.libID:0,this.code=e.code?e.code:0,this.maxEditPts=e.maxEditPts?e.maxEditPts:SuperMap.Plot.AlgoSymbolFactory.getMaxEditPts(e.libID,e.code),this.minEditPts=e.minEditPts?e.minEditPts:SuperMap.Plot.AlgoSymbolFactory.getMinEditPts(e.libID,e.code),this.isEdit=!!e.isEdit&&e.isEdit,this.controlPoints=e.controlPoints?e.controlPoints:[],this.scalePoints=e.scalePoints?e.scalePoints:[],this.scaleValues=e.scaleValues?e.scaleValues:[],this.subSymbols=e.subSymbols?e.subSymbols:SuperMap.Plot.AlgoSymbolFactory.getDefaultSubSymbols(e.libID,e.code),this.polylineConnectLocationPoint=!!e.polylineConnectLocationPoint&&e.polylineConnectLocationPoint,this.style=e.style?e.style:SuperMap.Plot.PlottingUtil.copyAttributes(this.style,SuperMap.Plot.AlgoSymbolFactory.getDefaultStyle(e.libID,e.code)),this.textContent=e.textContent?e.textContent:"",this.map=e.map?e.map:null,this.scene=e.scene?e.scene:null,this.subSymbolDefaultPixelSize=e.subSymbolDefaultPixelSize?e.subSymbolDefaultPixelSize:30,this.components=[],this.symbolType=0===this.libID?this.code:2}return l(t,[{key:"addScalePoint",value:function(t,e){if(null!=t){void 0!==e&&null!==e||(e=this.scalePoints.length);var o=new SuperMap.Geometry.Point(t.x,t.y);o.isScalePoint=!0,o.tag=e,this.scalePoints.push(o)}}},{key:"setOptions",value:function(t){if(t)for(var e in this)t[e]&&(this[e]=t[e])}},{key:"getAlgorithmResult",value:function(t){t.components=this.components,t.scalePoints=this.scalePoints,t.scaleValues=this.scaleValues}}]),l(t,[{key:"destroy",value:function(){this.minEditPts=null,this.maxEditPts=null,this.controlPoints.length=0,this.controlPoints=null,this.scalePoints.length=0,this.scalePoints=null,this.scaleValues.length=0,this.scaleValues=null,this.subSymbols.length=0,this.subSymbols=null,this.subSymbolSize=0,this.components=[],this.style=null}},{key:"init",value:function(){if(this.components=[],this.scalePoints=[],this.controlPoints.length>=2&&this.controlPoints.length<this.minEditPts&&this.calAssistantLine(),this.maxEditPts<this.controlPoints.length&&this.symbolType!==SuperMap.Plot.SymbolType.ELLIPSESYMBOL){var t=this.controlPoints.shift(),e=this.controlPoints.pop();this.controlPoints=[],this.controlPoints.push(t,e)}}},{key:"finish",value:function(){}},{key:"calculateParts",value:function(){this.init();var t=SuperMap.Plot.PlottingUtil.clearSamePts(this.controlPoints);if(t=SuperMap.Plot.PlottingUtil.clonePoints(t),this.controlPoints.length>=this.minEditPts){var e={textContent:this.textContent,type:this.symbolType,surroundLineFlag:!1,positionPoints:t,style:{}};if(e.type===SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL&&e.positionPoints.push(e.positionPoints[0]),this.symbolType===SuperMap.Plot.SymbolType.PARALLELLINE){if(this.controlPoints&&this.controlPoints.length>=3){var o=!1;void 0!==this.controlPoints[0].z&&(o=!0);var l=SuperMap.Plot.PlottingUtil.distance(this.controlPoints[0],this.controlPoints[1]);SuperMap.Plot.PlottingUtil.isRight(this.controlPoints[0],this.controlPoints[1],this.controlPoints[2])&&(l=-l);for(var i=[],n=1;n<this.controlPoints.length;n++)i.push(this.controlPoints[n].clone());var r=SuperMap.Plot.PlottingUtil.parallel(i,l);if(this.controlPoints[0].x=r[0].x,this.controlPoints[0].y=r[0].y,o)for(var a=0;a<i.length;a++)r[a].z=i[a].z;this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,i),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,r)}}else this.components.push(e)}}},{key:"modifyPoint",value:function(t,e){if(0===this.libID&&31===this.code){if(0===t)return this.controlPoints[0].x=(this.controlPoints[1].x+this.controlPoints[3].x)/2,void(this.controlPoints[0].y=(this.controlPoints[1].y+this.controlPoints[3].y)/2);var o=-1;0===(o=(t+2)%4)&&(o=4);var l=SuperMap.Plot.PlottingUtil.distance(this.controlPoints[0],this.controlPoints[t]),i=SuperMap.Plot.PlottingUtil.findPointInLine(this.controlPoints[0],this.controlPoints[o],l),n=new SuperMap.Geometry.Point(2*this.controlPoints[0].x-i.x,2*this.controlPoints[0].y-i.y),r=this.getPixelFromLonLat(i.x,i.y),a=this.getPixelFromLonLat(n.x,n.y),s=!1;(SuperMap.Plot.PlottingUtil.equalFuzzy(r.x-a.x,0)||SuperMap.Plot.PlottingUtil.equalFuzzy(r.y-a.y,0))&&(s=!0),s?(this.controlPoints[o].x=n.x,this.controlPoints[o].y=n.y,this.controlPoints[t].x=i.x,this.controlPoints[t].y=i.y):(this.controlPoints[o].x=i.x,this.controlPoints[o].y=i.y,this.controlPoints[t].x=n.x,this.controlPoints[t].y=n.y)}else this.computeScaleValues(t,e),this.calculateParts()}},{key:"computeScaleValues",value:function(){}},{key:"getLonLatDistanceFromPixel",value:function(t){if(null===this.map)return 0;var e,o;if(this.map&&"undefined"!=typeof L&&void 0!==L.Map&&this.map instanceof L.Map){var l=this.map.layerPointToLatLng(L.point(0,0)),i=this.map.layerPointToLatLng(L.point(t,0));e=new SuperMap.Geometry.Point(l.lng,l.lat),o=new SuperMap.Geometry.Point(i.lng,i.lat)}else if(this.map&&"undefined"!=typeof SuperMap&&void 0!==SuperMap.Map&&this.map instanceof SuperMap.Map){l=this.map.getLonLatFromPixel(new SuperMap.Pixel(0,0)),i=this.map.getLonLatFromPixel(new SuperMap.Pixel(t,0));e=new SuperMap.Geometry.Point(l.lon,l.lat),o=new SuperMap.Geometry.Point(i.lon,i.lat)}return SuperMap.Plot.PlottingUtil.distance(e,o)}},{key:"getPixelFromLonLat",value:function(t,e){if(this.map&&"undefined"!=typeof L&&void 0!==L.Map&&this.map instanceof L.Map){var o=this.map.latLngToLayerPoint(L.latLng(e,t));return{x:o.x,y:o.y}}if(this.map&&"undefined"!=typeof SuperMap&&void 0!==SuperMap.Map&&this.map instanceof SuperMap.Map){var l=this.map.getPixelFromLonLat(new SuperMap.LonLat(t,e));return{x:l.x,y:l.y}}}},{key:"getLonLatFromPixel",value:function(t,e){if(this.map&&"undefined"!=typeof L&&void 0!==L.Map&&this.map instanceof L.Map){var o=this.map.layerPointToLatLng(L.point(t,e));return{lon:o.lng,lat:o.lat}}if(this.map&&"undefined"!=typeof SuperMap&&void 0!==SuperMap.Map&&this.map instanceof SuperMap.Map){var l=this.map.getLonLatFromPixel(new SuperMap.Pixel(t,e));return{lon:l.lon,lat:l.lat}}}},{key:"pixelBoundsToLonLat",value:function(t){var e=this.getLonLatFromPixel(t.left,t.top),o=this.getLonLatFromPixel(t.right,t.bottom);return new SuperMap.Bounds(e.lon,o.lat,o.lon,e.lat)}},{key:"annotationContent",value:function(t,e,o,l){var i=this.textContent;if(0!==i.length){var n=SuperMap.Plot.PlottingUtil.getTextWidth(this.style,i),r=this.getPixelFromLonLat(t,e),a=this.getPixelFromLonLat(o,l),s=parseFloat(Math.abs(a.x-r.x)),p=parseFloat(Math.abs(r.y-a.y));if(n>=s){var u=i.split("");i="";var P=1,y=0;this.style.weight?y=parseFloat(this.style.fontSize)+2*this.style.weight+.2*parseFloat(this.style.fontSize)+P:this.style.strokeWidth&&(y=parseFloat(this.style.fontSize)+2*this.style.strokeWidth+.2*parseFloat(this.style.fontSize)+P);for(var c="",h=0,S=u.length;h<S&&y<=p;h++){if(c+=u[h],SuperMap.Plot.PlottingUtil.getTextWidth(this.style,c)>=s){var f=u[h];if(u[h]="\n",P++,this.style.weight?y=parseFloat(this.style.fontSize)*P+P+2*this.style.weight+.2*parseFloat(this.style.fontSize):this.style.strokeWidth&&(y=parseFloat(this.style.fontSize)*P+P+2*this.style.strokeWidth+.2*parseFloat(this.style.fontSize)),!(y<p))break;u[h]+=f,c=f}i+=u[h]}}if(0!==i.length){var g=this.style.labelAlign,M=0,d=0;"l"===g[0]?M=t:"r"===g[0]?M=o:"c"===g[0]&&(M=(t+o)/2),"t"===g[1]?d=e:"b"===g[1]?d=l:"m"===g[1]&&(d=(e+l)/2);var m=new SuperMap.Geometry.Point(M,d),v={};v.positionPoints=[m],v.type=SuperMap.Plot.SymbolType.TEXTSYMBOL,v.textContent=i,v.style={surroundLineFlag:!1,labelAlign:g},this.components.push(v)}}}},{key:"addCell",value:function(t,e,o,l){if(t&&e){var i={};i.type=t,i.textContent=l,i.positionPoints=e,i.style=null==o?{surroundLineFlag:!1}:o,this.components.push(i)}}},{key:"addText",value:function(t,e,o,l,i){if(t&&e){var n={};n.type=SuperMap.Plot.SymbolType.TEXTSYMBOL,n.textContent=t,n.positionPoints=[e];var r=o/t.length/2;n.style={},n.style.surroundLineFlag=!1,n.style.labelRotation=-l,n.style.fontSize=r,n.style.fontColor=void 0===i?"#000000":i,n.style.fontSizeLimit=!0,n.style.sizeFixed=!1,n.style.labelAlign="cm",n.style.label=t,this.components.push(n)}}},{key:"getLinePts",value:function(t,e,o){var l=new Object;if(e>.5)return l.startIndex=0,l.startPt=t[0],l.endIndex=t.length-1,l.endPt=t[t.length-1],l;null==o&&(o=.5);var i=SuperMap.Plot.PlottingUtil.polylineDistance(t),n=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(i*(o-e),t),r=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(i*(o+e),t);return l.startIndex=n.index,l.startPt=n.pts,l.endIndex=r.index,l.endPt=r.pts,l}},{key:"computeDashLine",value:function(t,e,o){var l=[],i=SuperMap.Plot.PlottingUtil.polylineDistance(o);if(i<=0)return[];for(var n,r=o[0],a=1,s=0,p=!0,u=!0;s<i;){var P,y=[];y.push(r),s+=t;var c=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(s,o);if(P=c.index,n=c.pts,!(p=c.bfind))break;if(a<P)for(var h=a;h<P;h++)y.push(o[h]);y.push(n),l.push(y),s+=e;var S=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(s,o);if(P=S.index,r=S.pts,a=P+1,!(u=S.bfind))break}if(!p){var f=[];f.push(r);for(var g=a;g<o.length;g++)f.push(o[g]);2===f.length&&SuperMap.Plot.PlottingUtil.equalFuzzy(SuperMap.Plot.PlottingUtil.distance(f[0],f[1]),0)||l.push(f)}if(!u){var M=o[o.length-1],d=SuperMap.Plot.PlottingUtil.distance(n,M);if(d*=.01,!SuperMap.Plot.PlottingUtil.equalFuzzy(d,0)){var m=SuperMap.Plot.PlottingUtil.linePnt(M,n,d),v=[];v.push(m),v.push(M),l.push(v)}}return l}},{key:"addArrow",value:function(t,e){if(t.length<2)return t;var o,l=SuperMap.Plot.PlottingUtil.polylineDistance(this.controlPoints);void 0===e&&(e=(this.isEdit,.5*this.getSubSymbolScaleValue()));var i=t.slice();o=l*e;var n,r=t[t.length-1],a=o*Math.cos(.125*Math.PI);if(t.length>2){for(var s=-1,p=t.length-2;p>=0;p--)if(o<SuperMap.Plot.PlottingUtil.distance(r,t[p])){s=p;break}t.splice(s+1,t.length-s),t.push(r)}if(t.length>1){SuperMap.Plot.PlottingUtil.distance(t[t.length-1],t[t.length-2])>a&&(n=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(a,[t[t.length-1],t[t.length-2]])).bfind&&(t.splice(t.length-1,1),t.push(n.pts)),this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,t);var u=t[t.length-1],P=r,y=o;if(void 0===u)return t;var c=SuperMap.Plot.PlottingUtil.radian(u,P)*SuperMap.Plot.PlottingUtil.RTOD,h=SuperMap.Plot.PlottingUtil.circlePoint(P,y,y,c+157.5),S=SuperMap.Plot.PlottingUtil.circlePoint(P,y,y,c+202.5),f={surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0,lineTypeLimit:!0,surroundLineLimit:!0,surroundLineType:SuperMap.Plot.AlgoSurroundLineType.NONE};this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,[h,r,S],f)}else this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,i)}},{key:"addDovetailArrow",value:function(t,e){if(t.length<2)return t;var o,l=SuperMap.Plot.PlottingUtil.polylineDistance(this.controlPoints);void 0===e&&(e=(this.isEdit,.5*this.getSubSymbolScaleValue())),o=l*e;var i=t[t.length-1];if(t.length>2){for(var n=-1,r=t.length-2;r>=0;r--)if(o<SuperMap.Plot.PlottingUtil.distance(i,t[r])){n=r;break}t.splice(n+1,t.length-n),t.push(i)}this.addCell(SuperMap.Plot.SymbolType.POLYLINESYMBOL,t);var a=t[t.length-2],s=t[t.length-1],p=o;if(void 0===a)return t;if(!(SuperMap.Plot.PlottingUtil.distance(a,s)<o)){var u=SuperMap.Plot.PlottingUtil.radian(a,s)*SuperMap.Plot.PlottingUtil.RTOD,P=SuperMap.Plot.PlottingUtil.circlePoint(s,p,p,u+157.5),y=SuperMap.Plot.PlottingUtil.circlePoint(s,p,p,u+202.5),c=SuperMap.Plot.PlottingUtil.circlePoint(s,.5*p,.5*p,u+180),h=[];h.push(P),h.push(t[t.length-1]),h.push(y),h.push(c);var S={surroundLineFlag:!1,fillLimit:!0,fillColorLimit:!1,fill:!0,lineTypeLimit:!0,surroundLineLimit:!0,surroundLineType:SuperMap.Plot.AlgoSurroundLineType.NONE};this.addCell(SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,h,S)}}},{key:"getDefaultSubSymbolSize",value:function(){var t=0;if(this.map){var e=this.getLonLatFromPixel(0,0),o=this.getLonLatFromPixel(this.subSymbolDefaultPixelSize,0),l=new SuperMap.Geometry.Point(e.lon,e.lat),i=new SuperMap.Geometry.Point(o.lon,o.lat);t=SuperMap.Plot.PlottingUtil.distance(l,i)}if(0===t){if(0!==this.subSymbolSize)return this.subSymbolSize;for(var n=0,r=0;r<this.controlPoints.length-1;r++)n+=SuperMap.Plot.PlottingUtil.distance(this.controlPoints[r],this.controlPoints[r+1]);t=.3*n}return t}},{key:"getTextBounds",value:function(t,e){" "===e&&(e="_");var o=document.createElement("span");document.body.appendChild(o),o.style.width="auto",o.style.height="auto",t.fontSize&&(o.style.fontSize=new String(t.fontSize)+"px"),t.fontFamily&&(o.style.fontFamily=t.fontFamily),t.fontWeight&&(o.style.fontWeight=t.fontWeight),o.style.position="absolute",o.style.visibility="hidden",o.innerHTML=e;var l=new SuperMap.Bounds(o.clientLeft,o.clientTop+o.clientHeight-6,o.clientLeft+o.clientWidth,o.clientTop+4),i=this.pixelBoundsToLonLat(l);return document.body.removeChild(o),i}},{key:"calAssistantLine",value:function(){var t=SuperMap.Plot.PlottingUtil.clonePoints(this.controlPoints);this.symbolType===SuperMap.Plot.SymbolType.ANNOFRAMESYMBOL&&(t.splice(1,0,new SuperMap.Geometry.Point(this.controlPoints[1].x,this.controlPoints[0].y)),t.push(new SuperMap.Geometry.Point(this.controlPoints[0].x,this.controlPoints[1].y)),t.push(new SuperMap.Geometry.Point(this.controlPoints[0].x,this.controlPoints[0].y)));var e={type:24,surroundLineFlag:!1,positionPoints:t,style:{color:"#0000ff",opacity:1,weight:1,dashArray:"5, 5",strokeColor:"#0000ff",strokeOpacity:1,strokeWidth:1,strokeDashstyle:"dash",lineColorLimit:!0,lineTypeLimit:!0,lineWidthLimit:!0,surroundLineFlag:!1}};this.components.push(e)}},{key:"getSubSymbolScaleValue",value:function(t,e){var o=0;o=t&&!SuperMap.Plot.PlottingUtil.equalFuzzy(t,0)?t:SuperMap.Plot.PlottingUtil.polylineDistance(this.controlPoints);var l=this.getDefaultSubSymbolSize()/o;return void 0===e&&(e=.3),(l>e||l<=0)&&(l=e),l}},{key:"computeSubSymbol",value:function(t,e,o,l,i,n){if(null==t.symbolData||null==t.symbolData.innerCells)return null;void 0===i&&(i=0),void 0===n&&(n=0);for(var r=SuperMap.Plot.AnalysisSymbol.analysisSymbolCells(t.symbolData,!0),a=0,s=0,p=0,u=0,P=0;P<r.length;P++)for(var y=SuperMap.Plot.Primitives.getSpatialData(r[P].type,r[P].positionPoints,r[P].textContent,0,r[P].isCalculate),c=0,h=y.length;c<h;c++)a<y[c].x&&(a=y[c].x),s<y[c].y&&(s=y[c].y),p>y[c].x&&(p=y[c].x),u>y[c].y&&(u=y[c].y);var S=new SuperMap.Geometry.Point(a,s),f=new SuperMap.Geometry.Point(p,u),g=(S.y-f.y)/o,M=(S.x-f.x)/o,d=M>g?M:g,m=new SuperMap.Geometry.Point(.5*(S.x+f.x),.5*(S.y+f.y));m.x+=i*(S.x-f.x),m.y+=n*(S.y-f.y);for(var v=0,b=r.length;v<b;v++){for(var A=0,L=r[v].positionPoints.length;A<L;A++)r[v].positionPoints[A].x-=m.x,r[v].positionPoints[A].y-=m.y,r[v].positionPoints[A].x/=d,r[v].positionPoints[A].y/=d,SuperMap.Plot.PlottingUtil.rotateAngle(new SuperMap.Geometry.Point(0,0),l*Math.PI/180,r[v].positionPoints[A]),r[v].positionPoints[A].x+=e.x,r[v].positionPoints[A].y+=e.y;r[v].type===SuperMap.Plot.SymbolType.TEXTSYMBOL&&(r[v].style.fontSize/=10*d,r[v].style.labelRotation=-l,r[v].style.sizeFixed=!1),r[v].isCalculate=!1,r[v].style.surroundLineType=0,r[v].style.surroundLineLimit=!0,this.components.push(r[v])}return r}},{key:"ComputeZValue",value:function(t,e,o){var l=SuperMap.Plot.PlottingUtil.pointProjectToSegment(t,e,o),i=new SuperMap.Geometry.Point(l.projectPoint.x,l.projectPoint.y),n=SuperMap.Plot.PlottingUtil.distance(e,o),r=SuperMap.Plot.PlottingUtil.distance(e,t),a=SuperMap.Plot.PlottingUtil.distance(o,t);if(!l.isOnline){if(r>=n)return o.z;if(a>=n)return e.z}return i.x!=e.x&&e.x!=o.x?e.z+(i.x-e.x)/(e.x-o.x)*(e.z-o.z):i.y!=e.y&&e.y!=o.y?e.z+(i.y-e.y)/(e.y-o.y)*(e.z-o.z):0==(r=SuperMap.Plot.PlottingUtil.distance(e,i))?e.z:e.z-(e.z-o.z)*(r/n)}},{key:"ComputeBeizerZValueByDis",value:function(t,e,o){if(t.length<2)return!1;for(var l=[],i=0;i<t.length;i++)l.push({x:t[i].x,y:t[i].y});var n=SuperMap.Plot.PlottingUtil.polylineDistance(l);if(0==n)return!1;var r=SuperMap.Plot.PlottingUtil.polylineDistance(e),a=[];a.push(l[0]);for(var s=-1,p=0,u=e[0],P=1;P<l.length;P++){a.push(l[P]);var y=SuperMap.Plot.PlottingUtil.polylineDistance(a)/n,c=r*y,h=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(c,e),S=h.index,f=h.pts;if(h.bfind){for(var g=t[P-1].z,M=t[P].z,d=r*(y-p),m=0,v=++s;v<=S;v++){var b=g+(M-g)*((m+=v==s?SuperMap.Plot.PlottingUtil.distance(u,e[v]):SuperMap.Plot.PlottingUtil.distance(e[v-1],e[v]))/d);o.push({x:e[v].x,y:e[v].y,z:b})}s=S}p=y,u=f}for(var A=s+1;A<e.length;A++)o.push({x:e[A].x,y:e[A].y,z:t[t.length-1].z});return!0}},{key:"ComputeHeight",value:function(t,e,o,l){if(o!=l){if(0!=t.length)if(1==t.length)e.push({x:t[0].x,y:t[0].y,z:o});else if(2==t.length)e.push({x:t[0].x,y:t[0].y,z:o}),e.push({x:t[1].x,y:t[1].y,z:l});else{var i=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(0!=i){var n=[];n.push(t[0]),e.push({x:t[0].x,y:t[0].y,z:o});for(var r=1;r<t.length-1;r++){n.push(t[r]);var a=o+(l-o)*SuperMap.Plot.PlottingUtil.polylineDistance(n)/i;e.push({x:t[r].x,y:t[r].y,z:a})}e.push({x:t[t.length-1].x,y:t[t.length-1].y,z:l})}else for(var s=0;s<t.length;s++)e.push({x:t[s].x,y:t[s].y,z:o})}}else for(var p=0;p<t.length;p++)e.push({x:t[p].x,y:t[p].y,z:o})}}]),t}();SuperMap.Plot.AlgoSymbol=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.ArrowToolkit=SuperMap.Plot.ArrowToolkit=SuperMap.Plot.ArrowToolkit||{};SuperMap.Plot.ArrowToolkit.ConstValue={MAX_ARRAY_SIZE:128,sv_AtScaleParameter:1.5,sv_AtLenDivAtWidth:1.35,sv_AtWidthDivAwWidth:.5,DUOJIANTOU_TAIL_RATE_1:8,DUOJIANTOU_TAIL_RATE_2:3,DUOJIANTOU_TAIL_RATE_3:.6},SuperMap.Plot.ArrowToolkit.ArrowTailType={ARROWTAIL_NONE:0,ARROWTAIL_LINE:1,ARROWTAIL_CURVE:2,ARROWTAIL_COATTAIL:3,ARROWTAIL_COATTAIL_POLYBODY:4},SuperMap.Plot.ArrowToolkit.ArrowHeadType={ARROWHEAD_POLYLINE:0,ARROWHEAD_TRIANGLE:1,ARROWHEAD_COATTAIL:2,ARROWHEAD_TRIANGLE_SOLID:3,ARROWHEAD_COATTAIL_HOLLOW:6,ARROWHEAD_WITH_EAR:4,ARROWHEAD_WITHOUT_EAR:5},SuperMap.Plot.ArrowToolkit.ArrowBodyType={ARROWBODY_POLYLINE:0,ARROWBODY_POLYBEZIER:1,ARROWBODY_COATTAIL:5,ARROWBODY_PARALLEL:2,ARROWBODY_TRAPEZOID:3,ARROWBODY_MULTIPOLYBEZIER:4},SuperMap.Plot.ArrowToolkit.parallel=function(t,e){var o={leftParallelPts:[],rightParallelPts:[]};return 1===t.length||2===t.length&&t[0].x===t[1].x&&t[0].y===t[1].y?o:(o.leftParallelPts=SuperMap.Plot.PlottingUtil.parallel(t,e),o.rightParallelPts=SuperMap.Plot.PlottingUtil.parallel(t,-e),o)},SuperMap.Plot.ArrowToolkit.trapezoid=function(t,e,o){var l={leftParallelPts:[],rightParallelPts:[]};if(1===t.length||2===t.length&&t[0].x===t[1].x&&t[0].y===t[1].y)return l;for(var i=0;i<t.length-1;i++){t[i].x===t[i+1].x&&t[i].y===t[i+1].y&&(l.leftParallelPts.push(l.leftParallelPts[l.leftParallelPts.length-1]),l.rightParallelPts.push(l.rightParallelPts[l.rightParallelPts.length-1]));var n=t[i+1];n=SuperMap.Plot.PlottingUtil.rotate(t[i],0,1,n),l.leftParallelPts.push(SuperMap.Plot.PlottingUtil.findPointInLine(t[i],n,e)),n=t[i],n=SuperMap.Plot.PlottingUtil.rotate(t[i+1],0,-1,n),l.leftParallelPts.push(SuperMap.Plot.PlottingUtil.findPointInLine(t[i+1],n,o)),n=t[i+1],n=SuperMap.Plot.PlottingUtil.rotate(t[i],0,-1,n),l.rightParallelPts.push(SuperMap.Plot.PlottingUtil.findPointInLine(t[i],n,e)),n=t[i],n=SuperMap.Plot.PlottingUtil.rotate(t[i+1],0,1,n),l.rightParallelPts.push(SuperMap.Plot.PlottingUtil.findPointInLine(t[i+1],n,o))}return l},SuperMap.Plot.ArrowToolkit.generateArrowBodyShapePts=function(t,e,o){var l={};switch(o){case SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_PARALLEL:case SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_TRAPEZOID:var i=e[0],n=e[1],r=e[2],a=SuperMap.Plot.PlottingUtil.equalFuzzy(r,0);if(!a&&t.length>2){var s=t.length;t.splice(2,s-2)}var p=SuperMap.Plot.PlottingUtil.polylineDistance(t);l.arrowTouLen=p*i;for(var u=SuperMap.Plot.PlottingUtil.findPointInPolyLine(t,p-l.arrowTouLen).pt,P=[],y=l.arrowTouLen*r,c=l.arrowTouLen*n,h=t.length-1,S=0;S<h;S++)P.push(t[S]);P.push(u);var f={leftParallelPts:[],rightParallelPts:[]};f=!0===a?SuperMap.Plot.ArrowToolkit.parallel(P,c):SuperMap.Plot.ArrowToolkit.trapezoid(P,y,c);var g=t[t.length-1];t[t.length-1]=u,t.push(g);l.leftBodyPts=f.leftParallelPts,l.rightBodyPts=f.rightParallelPts,l.OpectrlPoints=null;break;case SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_MULTIPOLYBEZIER:var M=SuperMap.Plot.PlottingUtil.polylineDistance(t);if(0==M)return;var d=SuperMap.Plot.ArrowToolkit.OperateCtrlPts(t),m=d.length;m--;var v=SuperMap.Plot.ArrowToolkit.generateMultiBezier(d,m,e,M);t=[];for(var b=0;b<d.length;b++)t.push(d[b]);l.arrowTouLen=v.arrowTouLen,l.leftBodyPts=v.leftBodyPts,l.rightBodyPts=v.rightBodyPts,l.OpectrlPoints=d}return l},SuperMap.Plot.ArrowToolkit.generateArrowHeadShapePts=function(t,e,o,l,i){var n=[];switch(i){case SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_WITH_EAR:case SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_WITHOUT_EAR:var r=o[0],a=o[1],s=0,p=0;3==o.length&&(s=o[2]),4==o.length&&(s=o[2],p=o[3]);var u=0;if(!SuperMap.Plot.PlottingUtil.equalFuzzy(s,0)&&!SuperMap.Plot.PlottingUtil.equalFuzzy(p,0)){var P=SuperMap.Plot.PlottingUtil.clonePoints(t);P.splice(P.length-1,1),u=SuperMap.Plot.PlottingUtil.polylineDistance(P)*s*p}var y=new SuperMap.Geometry.Point((e[0].x+e[1].x)/2,(e[0].y+e[1].y)/2);if(SuperMap.Plot.PlottingUtil.equalFuzzy(a,0)){var c=l*r,h=t[t.length-1];return h=SuperMap.Plot.PlottingUtil.rotate(y,0,1,h),n.push(SuperMap.Plot.PlottingUtil.findPointInLine(y,h,c)),n.push(t[t.length-1]),h=t[t.length-1],h=SuperMap.Plot.PlottingUtil.rotate(y,0,-1,h),n.push(SuperMap.Plot.PlottingUtil.findPointInLine(y,h,c)),n}var S=l*a,f=SuperMap.Plot.PlottingUtil.getExcentrePointOnSegmentByScale(S,y,t[t.length-1]);S=l*r,S+=u;var g=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(S,t[t.length-1],f),M=g.pntLeft,d=g.pntRight,m=t[t.length-1];return n.push(d),n.push(m),n.push(M),n}},SuperMap.Plot.ArrowToolkit.generateArrowBodyShapePtsBySingleLine=function(t,e,o,l){var i=[];if(2>t.length)return i;var n,r=SuperMap.Plot.PlottingUtil.polylineDistance(t),a=SuperMap.Plot.PlottingUtil.equalFuzzy(e,0);switch(o){case SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_POLYLINE:i=i.concat(t),l&&!a&&SuperMap.Plot.PlottingUtil.distance(t[t.length-1],t[t.length-2])>e&&(n=SuperMap.Plot.PlottingUtil.findPointInPolyLine(t,r-e),i.splice(i.length-1,1),i.push(n.pt));break;case SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_POLYBEZIER:if(2==t.length)i=i.concat(t),l&&!a&&SuperMap.Plot.PlottingUtil.distance(t[t.length-1],t[t.length-2])>e&&(n=SuperMap.Plot.PlottingUtil.findPointInPolyLine(t,r-e),i.splice(i.length-1,1),i.push(n.pt));else{var s=SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t);if(a)i=i.concat(s);else{var p=s[s.length-1];if(!a&&(e<SuperMap.Plot.PlottingUtil.distance(t[t.length-1],t[t.length-2])||SuperMap.Plot.PlottingUtil.equalFuzzy(SuperMap.Plot.PlottingUtil.distance(t[t.length-1],t[t.length-2]),e,1e-7))){for(var u=s.length-1;u>1;u--){if(!(e>SuperMap.Plot.PlottingUtil.distance(p,s[u]))){var P=SuperMap.Plot.PlottingUtil.findPoint(p,s[u],e,0);s.push(P),i=s;break}s.splice(u,1)}l||i.push(p)}else i=i.concat(s)}}break;case SuperMap.Plot.ArrowToolkit.ArrowBodyType.ARROWBODY_COATTAIL:var y=e;if(y>r)return i;for(var c,h,S=Math.ceil(r/(1.4*y)),f=0,g=[],M=0;M<S;M++)c=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(y*f,t),h=SuperMap.Plot.PlottingUtil.getPtsIndexByDistance(y*(f+1),t),c.bfind&&h.bfind&&(g.push(c.pts),g.push(h.pts)),f=1.4*(M+1);i=g}return i},SuperMap.Plot.ArrowToolkit.generateArrowHeadShapePtsBySingleLine=function(t,e,o){var l=[];if(2>t.length)return l;switch(o){case SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_POLYLINE:var i=t[0],n=t[1],r=SuperMap.Plot.PlottingUtil.distance(i,n);if(SuperMap.Plot.PlottingUtil.equalFuzzy(r,e,1e-7)||r>e){var a=SuperMap.Plot.PlottingUtil.findPoint(i,n,e,0),s=e*Math.tan(.125*Math.PI),p=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(s,t[0],a);l.push(p.pntLeft),l.push(t[0]),l.push(p.pntRight)}break;case SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_TRIANGLE:break;case SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_TRIANGLE_SOLID:var u=t[0],P=t[1],y=SuperMap.Plot.PlottingUtil.distance(u,P);if(SuperMap.Plot.PlottingUtil.equalFuzzy(y,e,1e-7)||y>e){var c=e*Math.tan(.125*Math.PI),h=SuperMap.Plot.PlottingUtil.findPoint(u,P,e,0),S=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(c,t[0],h);l.push(S.pntLeft),l.push(u),l.push(S.pntRight),l.push(S.pntLeft)}break;case SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_COATTAIL:var f=t[0],g=2*Math.sqrt(e*e/3),M=SuperMap.Plot.PlottingUtil.distance(t[0],t[1]);if(SuperMap.Plot.PlottingUtil.equalFuzzy(g/2,M,1e-7)||M>g/2){var d=SuperMap.Plot.PlottingUtil.findPoint(t[0],t[1],g,20),m=SuperMap.Plot.PlottingUtil.findPoint(t[0],t[1],g,-20),v=SuperMap.Plot.PlottingUtil.findPoint(t[0],t[1],g/2,0);l.push(f),l.push(d),l.push(v),l.push(m),l.push(f)}break;case SuperMap.Plot.ArrowToolkit.ArrowHeadType.ARROWHEAD_COATTAIL_HOLLOW:var b=[],A=t[0],L=2*Math.sqrt(e*e/3),T=SuperMap.Plot.PlottingUtil.distance(t[0],t[1]);if(SuperMap.Plot.PlottingUtil.equalFuzzy(L/1.4,T,1e-7)||T>L/1.4){var x=SuperMap.Plot.PlottingUtil.findPoint(t[0],t[1],L,20),O=SuperMap.Plot.PlottingUtil.findPoint(t[0],t[1],L,-20),w=SuperMap.Plot.PlottingUtil.findPoint(t[0],t[1],L/1.4,0);b.push(A),b.push(x),b.push(w),b.push(O),b.push(A);var U=new SuperMap.Geometry.Point((b[0].x+b[1].x)/2,(b[0].y+b[1].y)/2),R=new SuperMap.Geometry.Point((b[3].x+b[4].x)/2,(b[3].y+b[4].y)/2),_=new SuperMap.Geometry.Point((U.x+R.x)/2,(U.y+R.y)/2),E=.75*SuperMap.Plot.PlottingUtil.distance(U,R)/2,C=SuperMap.Plot.PlottingUtil.findPointInLine(_,U,E),I=SuperMap.Plot.PlottingUtil.findPointInLine(_,R,E);l.push(b[0]),l.push(C),l.push(b[1]),l.push(b[2]),l.push(b[3]),l.push(I),l.push(b[4])}}return l},SuperMap.Plot.ArrowToolkit.generateArrowTailShapePts=function(t,e,o,l){for(var i=e.length,n=[],r=0,a=0;a<t.length-1;a++)r+=SuperMap.Plot.PlottingUtil.distance(t[a],t[a+1]);var s=r*o;switch(l){case SuperMap.Plot.ArrowToolkit.ArrowTailType.ARROWTAIL_NONE:break;case SuperMap.Plot.ArrowToolkit.ArrowTailType.ARROWTAIL_LINE:var p=SuperMap.Plot.PlottingUtil.findPoint(t[0],t[1],s,90),u=SuperMap.Plot.PlottingUtil.findPoint(t[0],t[1],s,-90);n.push(p),n.push(u);break;case SuperMap.Plot.ArrowToolkit.ArrowTailType.ARROWTAIL_CURVE:var P=new SuperMap.Geometry.Point(.5*(e[0].x+e[i-1].x),.5*(e[0].y+e[i-1].y)),y=SuperMap.Plot.PlottingUtil.distance(e[0],e[i-1]),c=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(y*o,P,t[t.length-1]),h=new SuperMap.Geometry.Point(0,0),S=new SuperMap.Geometry.Point(0,0);SuperMap.Plot.PlottingUtil.getTrianglePoints(SuperMap.Plot.ArrowToolkit.ConstValue.DUOJIANTOU_TAIL_RATE_1,SuperMap.Plot.ArrowToolkit.ConstValue.DUOJIANTOU_TAIL_RATE_2,e[0],c,e[i-1],h,S);var f=new SuperMap.Geometry.Point(0,0);SuperMap.Plot.PlottingUtil.getTrapezoidPoints(SuperMap.Plot.ArrowToolkit.ConstValue.DUOJIANTOU_TAIL_RATE_3,e[0],c,h,f);var g=new SuperMap.Geometry.Point(0,0);SuperMap.Plot.PlottingUtil.getTrapezoidPoints(SuperMap.Plot.ArrowToolkit.ConstValue.DUOJIANTOU_TAIL_RATE_3,e[i-1],c,S,g);break;case SuperMap.Plot.ArrowToolkit.ArrowTailType.ARROWTAIL_COATTAIL:var M=SuperMap.Plot.PlottingUtil.findPoint(t[0],t[1],s,157.5),d=SuperMap.Plot.PlottingUtil.findPoint(t[0],t[1],s,-157.5);n.push(M),n.push(t[0]),n.push(d);break;case SuperMap.Plot.ArrowToolkit.ArrowTailType.ARROWTAIL_COATTAIL_POLYBODY:var m=new SuperMap.Geometry.Point(.5*(e[0].x+e[i-1].x),.5*(e[0].y+e[i-1].y)),v=SuperMap.Plot.PlottingUtil.distance(e[0],e[i-1]),b=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(v*o,e[0],m);n.push(e[i-1]),n.push(b.pntLeft),n.push(e[0])}return n},SuperMap.Plot.ArrowToolkit.generateArrowTailShapePtsBySingleLine=function(t,e,o){var l=[];switch(o){case SuperMap.Plot.ArrowToolkit.ArrowTailType.ARROWTAIL_NONE:break;case SuperMap.Plot.ArrowToolkit.ArrowTailType.ARROWTAIL_LINE:var i=SuperMap.Plot.PlottingUtil.findPoint(t[0],t[1],e,90),n=SuperMap.Plot.PlottingUtil.findPoint(t[0],t[1],e,-90);l.push(i),l.push(n);break;case SuperMap.Plot.ArrowToolkit.ArrowTailType.ARROWTAIL_COATTAIL:var r=SuperMap.Plot.PlottingUtil.findPoint(t[0],t[1],e,157.5),a=SuperMap.Plot.PlottingUtil.findPoint(t[0],t[1],e,-157.5);l.push(r),l.push(t[0]),l.push(a)}return l},SuperMap.Plot.ArrowToolkit.OperateCtrlPts=function(t){var e=SuperMap.Plot.PlottingUtil.clonePoints(t);if(3==e.length){var o=((e[0].x+e[1].x)/2+e[2].x)/2,l=((e[0].y+e[1].y)/2+e[2].y)/2,i=new SuperMap.Geometry.Point(o,l),n=e[2].clone();e[2]=i,e.push(n)}return e},SuperMap.Plot.ArrowToolkit.generateMultiBezier=function(t,e,o,l){var i=0,n=[],r=[],a=[],s=[],p=[],u=[],P=o[0],y=o[1],c=(t[0].x+t[1].x)/2,h=(t[0].y+t[1].y)/2,S=Math.abs(c-t[2].x),f=Math.abs(h-t[2].y),g=0;if(S>0&&f>0){var M=1/(c-t[2].x),d=-1/(h-t[2].y),m=1*t[2].y/(h-t[2].y)-1*t[2].x/(c-t[2].x);g=Math.abs(M*t[0].x+d*t[0].y+m)/Math.sqrt(M*M+d*d)}else f<=1e-4?g=Math.abs(h-t[1].y):S<=1e-4&&(g=Math.abs(c-t[1].x));var v=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(g,t[2],new SuperMap.Geometry.Point(c,h)),b=SuperMap.Plot.PlottingUtil.pointIsRightToLine(t[1],t[2],t[0]);b?(n[1]=t[1],r[1]=t[0]):(n[1]=t[0],r[1]=t[1]),t[1]=new SuperMap.Geometry.Point((t[0].x+t[1].x)/2,(t[0].y+t[1].y)/2);var A=Math.sqrt((v.pntLeft.x-v.pntRight.x)*(v.pntLeft.x-v.pntRight.x)+(v.pntLeft.y-v.pntRight.y)*(v.pntLeft.y-v.pntRight.y))*SuperMap.Plot.ArrowToolkit.ConstValue.sv_AtWidthDivAwWidth,L=(i=A*SuperMap.Plot.ArrowToolkit.ConstValue.sv_AtLenDivAtWidth)*y;SuperMap.Plot.PlottingUtil.equalFuzzy(P,0)||(L=(i=l*P)*y);var T,x,O=SuperMap.Plot.PlottingUtil.distance(t[e],t[e-1]),w=2*i;O<w&&(L=(i=O/2)*y),t.push(t[e]),T=0,x=0;var U=0,R=[];for(U=2;U<=e;U++)T+=SuperMap.Plot.PlottingUtil.distance(t[U],t[U-1]);for(T-=i,U=2;U<=e-1;U++)x+=SuperMap.Plot.PlottingUtil.distance(t[U],t[U-1]),R[U]=L+(A-L)*Math.pow((T-x)/T,SuperMap.Plot.ArrowToolkit.ConstValue.sv_AtScaleParameter);R[e]=L;var _,E,C=new SuperMap.Geometry.Point(0,0),I=new SuperMap.Geometry.Point(0,0),B=new SuperMap.Geometry.Point(0,0);for(U=2;U<=e-1;U++)SuperMap.Plot.PlottingUtil.getTrianglePoints(0,3,t[U-1],t[U],t[U+1],I,B),U==e-1&&SuperMap.Plot.PlottingUtil.getTrapezoidPoints(.5,t[e],t[e-1],B,C),_=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(R[U],I,t[U]),(b=SuperMap.Plot.PlottingUtil.pointIsRightToLine(B,I,_.pntRight))?(n[U]=new SuperMap.Geometry.Point(_.pntRight.x,_.pntRight.y),r[U]=new SuperMap.Geometry.Point(_.pntLeft.x,_.pntLeft.y)):(n[U]=new SuperMap.Geometry.Point(_.pntLeft.x,_.pntLeft.y),r[U]=new SuperMap.Geometry.Point(_.pntRight.x,_.pntRight.y));for(Math.sqrt(1*(t[e].x-C.x)*(t[e].x-C.x)+1*(t[e].y-C.y)*(t[e].y-C.y))>0&&(t[e]=SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale(i,t[e],C)),_=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(L,t[e+1],t[e]),(b=SuperMap.Plot.PlottingUtil.pointIsRightToLine(t[e],t[e+1],_.pntLeft))?(r[e]=new SuperMap.Geometry.Point(_.pntLeft.x,_.pntLeft.y),n[e]=new SuperMap.Geometry.Point(_.pntRight.x,_.pntRight.y)):(r[e]=new SuperMap.Geometry.Point(_.pntRight.x,_.pntRight.y),n[e]=new SuperMap.Geometry.Point(_.pntLeft.x,_.pntLeft.y)),U=2;U<e;U++)SuperMap.Plot.PlottingUtil.getTrianglePoints(3,3,n[U-1],n[U],n[U+1],I,B),a[U]=new SuperMap.Geometry.Point(I.x,I.y),s[U]=new SuperMap.Geometry.Point(B.x,B.y),SuperMap.Plot.PlottingUtil.getTrianglePoints(3,3,r[U-1],r[U],r[U+1],I,B),p[U]=new SuperMap.Geometry.Point(I.x,I.y),u[U]=new SuperMap.Geometry.Point(B.x,B.y),2==U&&(SuperMap.Plot.PlottingUtil.getTrapezoidPoints(.5,n[1],n[2],a[2],C),s[1]=new SuperMap.Geometry.Point(C.x,C.y),SuperMap.Plot.PlottingUtil.getTrapezoidPoints(.5,r[1],r[2],p[2],C),u[1]=new SuperMap.Geometry.Point(C.x,C.y)),U==e-1&&(w=(O=SuperMap.Plot.PlottingUtil.distance(n[e],n[e-1]))/3,(E=SuperMap.Plot.PlottingUtil.getExcentrePointOnSegmentByScale(w,t[e],t[e+1])).x+=n[e].x-t[e].x,E.y+=n[e].y-t[e].y,w=(O=A-L)*Math.pow(w/T,SuperMap.Plot.ArrowToolkit.ConstValue.sv_AtScaleParameter),_=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(w,n[e],E),a[e]=new SuperMap.Geometry.Point(_.pntLeft.x,_.pntLeft.y),w=(O=SuperMap.Plot.PlottingUtil.distance(r[e],r[e-1]))/3,(E=SuperMap.Plot.PlottingUtil.getExcentrePointOnSegmentByScale(w,t[e],t[e+1])).x+=r[e].x-t[e].x,E.y+=r[e].y-t[e].y,w=(O=A-L)*Math.pow(w/T,SuperMap.Plot.ArrowToolkit.ConstValue.sv_AtScaleParameter),_=SuperMap.Plot.PlottingUtil.getSidePointsOfLine(w,r[e],E),p[e]=new SuperMap.Geometry.Point(_.pntRight.x,_.pntRight.y));return{arrowTouLen:i,leftBodyPts:SuperMap.Plot.ArrowToolkit.genArrowBody(e,n,a,s),rightBodyPts:SuperMap.Plot.ArrowToolkit.genArrowBody(e,r,p,u)}},SuperMap.Plot.ArrowToolkit.genArrowBody=function(t,e,o,l){var i=new SuperMap.Plot.Path2D;if(!(t<2)){i.MoveTo(e[1]);for(var n=1;n<=t-1;n++)i.CubicTo(l[n],o[n+1],e[n+1]);var r=[];return i.ToSubPathPolygons(r),r[0]}}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.Path2DData=function(){function t(e){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e){this.cStart=e.cStart,this.fillRule=e.fillRule,this.require_StartNewFigure=e.require_StartNewFigure,this.isBoundsDirty=e.isBoundsDirty,this.bounds=new SuperMap.Bounds(e.bounds.left,e.bounds.bottom,e.bounds.right,e.bounds.top),this.ref=1,this.elements=[];for(var o=0;o<e.elements.length;o++)this.elements.push(e.elements[o].clone())}else this.ref=1,this.bounds=new SuperMap.Bounds(0,0,0,0),this.elements=[];this.CLASS_NAME="SuperMap.Plot.Path2DData"}return l(t,[{key:"IsClosed",value:function(){var t=this.elements[this.cStart],e=this.elements[this.elements.length-1];return t.GetX()==e.GetX()&&t.GetY()==e.GetY()}},{key:"Close",value:function(){this.require_StartNewFigure=!0;var t=this.elements[this.cStart],e=this.elements[this.elements.length-1];t!=e&&(t.Equal(e)?e.SetPosition(t.GetX(),t.GetY()):this.elements.push(new SuperMap.Plot.Element(t.GetX(),t.GetY(),SuperMap.Plot.ElementType.LineToElement)))}},{key:"MaybeStartNewFigure",value:function(){if(this.require_StartNewFigure){var t=this.elements[this.elements.length-1].clone();t.SetType(0),this.elements.push(t),this.require_StartNewFigure=!1}}}]),t}();SuperMap.Plot.Path2DData=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.Element=function(){function t(e,o,l){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.m_x=e,this.m_y=o,this.m_type=l,this.CLASS_NAME="SuperMap.Plot.Element"}return l(t,[{key:"GetX",value:function(){return this.m_x}},{key:"GetY",value:function(){return this.m_y}},{key:"GetType",value:function(){return this.m_type}},{key:"GetPosition",value:function(){return SuperMap.Geometry.Point(this.m_x,this.m_y)}},{key:"SetPosition",value:function(t,e){this.m_x=t,this.m_y=e}},{key:"SetType",value:function(t){this.m_type=t}},{key:"IsCurveTo",value:function(){return 2==this.m_type}},{key:"IsLineTo",value:function(){return 1==this.m_type}},{key:"IsMoveTo",value:function(){return 0==this.m_type}},{key:"Equal",value:function(t){return SuperMap.Plot.PlottingUtil.equalFuzzy(this.m_x,t.m_x,1e-10)&&SuperMap.Plot.PlottingUtil.equalFuzzy(this.m_y,t.m_y,1e-10)&&this.m_type==t.m_type}},{key:"clone",value:function(){return new SuperMap.Plot.Path2D.Element(this.m_x,this.m_y,this.m_type)}}]),t}();SuperMap.Plot.Element=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}return function(e,o,l){return o&&t(e.prototype,o),l&&t(e,l),e}}();var i=e.Path2D=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.m_pData=null,this.CLASS_NAME="SuperMap.Plot.Path2D"}return l(t,[{key:"MoveTo",value:function(t){this.ensureData(),this.detach();var e=this.getDataPtr();if(e.require_StartNewFigure=!1,0==e.elements[e.elements.length-1].GetType())e.elements[e.elements.length-1].SetPosition(t.x,t.y);else{var o=new SuperMap.Plot.Element(t.x,t.y,0);e.elements.push(o)}e.cStart=e.elements.length-1}},{key:"LineTo",value:function(t){this.ensureData(),this.detach();var e=this.getDataPtr();if(e.MaybeStartNewFigure(),e.elements[e.elements.length-1].GetX()!=t.x||e.elements[e.elements.length-1].GetY()!=t.y){var o=new SuperMap.Plot.Element(t.x,t.y,1);e.elements.push(o)}}},{key:"CurveTo",value:function(t,e,o){this.ensureData(),this.detach();var l=this.getDataPtr();if(l.elements[l.elements.length-1].GetX()!=t.x||l.elements[l.elements.length-1].GetY()!=t.y||t.x!=e.x||t.y!=e.y||e.x!=o.x||e.y!=o.y){l.MaybeStartNewFigure();var i=new SuperMap.Plot.Element(t.x,t.y,2),n=new SuperMap.Plot.Element(e.x,e.y,3),r=new SuperMap.Plot.Element(o.x,o.y,3);l.elements.push(i),l.elements.push(n),l.elements.push(r)}}},{key:"CubicTo",value:function(t,e,o){this.ensureData(),this.detach();var l=this.getDataPtr();if(l.elements[l.elements.length-1].GetX()!=t.x||l.elements[l.elements.length-1].GetY()!=t.y||t.x!=e.x||t.y!=e.y||e.x!=o.x||e.y!=o.y){l.MaybeStartNewFigure();var i=new SuperMap.Plot.Element(t.x,t.y,2),n=new SuperMap.Plot.Element(e.x,e.y,3),r=new SuperMap.Plot.Element(o.x,o.y,3);l.elements.push(i),l.elements.push(n),l.elements.push(r)}}},{key:"ToSubPathPolygons",value:function(t){var e,o,l=this.getDataPtr();if(this.IsEmpty())return!1;for(var i=[],n=this.GetElementCount(),r=0;r<n;r++){var a=l.elements[r];switch(a.GetType()){case 0:i.length>1&&t.push(i),i=[],e=a.GetX(),o=a.GetY(),i.push(new SuperMap.Geometry.Point(e,o));break;case 1:e=a.GetX(),o=a.GetY(),i.push(new SuperMap.Geometry.Point(e,o));break;case 2:if(3!=l.elements[r+1].GetType()||3!=l.elements[r+1].GetType())break;for(var s=l.elements[r-1].GetX(),p=l.elements[r-1].GetY(),u=a.GetX(),P=a.GetY(),y=l.elements[r+1].GetX(),c=l.elements[r+1].GetY(),h=l.elements[r+2].GetX(),S=l.elements[r+2].GetY(),f=0;f<=1;f+=.03125){var g=f*f,M=g*f,d=1-3*f+3*g-M,m=3*(f-2*g+M),v=3*(g-M),b=M;i.push(new SuperMap.Geometry.Point(d*s+m*u+v*y+b*h,d*p+m*P+v*c+b*S))}r+=2}}return i.length>1&&t.push(i),!0}},{key:"ensureData",value:function(){null==this.m_pData&&this.ensureData_helper()}},{key:"ensureData_helper",value:function(){var t=new SuperMap.Plot.Path2DData,e=new SuperMap.Plot.Element(0,0,0);t.elements.push(e),null==this.m_pData||this.mtDeRef(this.m_pData.ref)||(this.m_pData=null),this.m_pData=t}},{key:"detach",value:function(){1!=this.m_pData.ref&&this.detach_helper(),this.setBoundsDirty(!0)}},{key:"detach_helper",value:function(){var t=new SuperMap.Plot.Path2DData;null==this.m_pData||this.mtDeRef(this.m_pData.ref)||(this.m_pData=null),this.m_pData=t}},{key:"setBoundsDirty",value:function(t){this.getDataPtr().isBoundsDirty=t}},{key:"getDataPtr",value:function(){return this.m_pData}},{key:"IsEmpty",value:function(){if(null==this.m_pData)return!0;var t=this.m_pData.elements.length;return 0==t||1==t&&0==this.m_pData.elements[0].GetType()}},{key:"GetElementCount",value:function(){return null!=this.m_pData?this.m_pData.elements.length:0}}],[{key:"mtRef",value:function(t){return 0!=++t}},{key:"mtDeRef",value:function(t){return 0!=--t}}]),t}();SuperMap.Plot.Path2D=i},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlgoSymbol15200=e.AlgoSymbol315=e.AlgoSymbol1022=e.AlgoSymbol1021=e.AlgoSymbol1020=e.AlgoSymbol1019=e.AlgoSymbol1018=e.AlgoSymbol1017=e.AlgoSymbol1016=e.AlgoSymbol1015=e.AlgoSymbol1014=e.AlgoSymbol1013=e.AlgoSymbol1012=e.AlgoSymbol1011=e.AlgoSymbol1010=e.AlgoSymbol1009=e.AlgoSymbol1008=e.AlgoSymbol1007=e.AlgoSymbol1006=e.AlgoSymbol1005=e.AlgoSymbol1004=e.AlgoSymbol1003=e.AlgoSymbol1002=e.AlgoSymbol1001=e.Wire=e.PolygonRegion=e.LineRelation=e.LineMarking=e.PathText=e.CurveEight=e.Runway=e.NodeChain=e.FreeCurve=e.CombinationalCircle=e.ConcentricCircle=e.SymbolTextBox=e.GeoTooltipBoxM=e.GeoTooltipBox=e.Trapezoid=e.Brace=e.RegularPolygon=e.ArrowLine=e.AlgoSymbol=e.ArrowToolkit=e.Path2DData=e.Element=e.Path2D=void 0;var l=o(48),i=o(47),n=o(46),r=o(45),a=o(44),s=o(43),p=o(42),u=o(41),P=o(40),y=o(39),c=o(38),h=o(37),S=o(36),f=o(35),g=o(34),M=o(33),d=o(32),m=o(31),v=o(30),b=o(29),A=o(28),L=o(27),T=o(26),x=o(25),O=o(24),w=o(23),U=o(22),R=o(21),_=o(20),E=o(19),C=o(18),I=o(17),B=o(16),G=o(15),D=o(14),V=o(13),N=o(12),k=o(11),Y=o(10),z=o(9),j=o(8),F=o(7),W=o(6),H=o(5),J=o(4),q=o(3),X=o(2);e.Path2D=l.Path2D,e.Element=i.Element,e.Path2DData=n.Path2DData,e.ArrowToolkit=r.ArrowToolkit,e.AlgoSymbol=a.AlgoSymbol,e.ArrowLine=s.ArrowLine,e.RegularPolygon=p.RegularPolygon,e.Brace=u.Brace,e.Trapezoid=P.Trapezoid,e.GeoTooltipBox=y.GeoTooltipBox,e.GeoTooltipBoxM=c.GeoTooltipBoxM,e.SymbolTextBox=h.SymbolTextBox,e.ConcentricCircle=S.ConcentricCircle,e.CombinationalCircle=f.CombinationalCircle,e.FreeCurve=g.FreeCurve,e.NodeChain=M.NodeChain,e.Runway=d.Runway,e.CurveEight=m.CurveEight,e.PathText=v.PathText,e.LineMarking=b.LineMarking,e.LineRelation=A.LineRelation,e.PolygonRegion=L.PolygonRegion,e.Wire=T.Wire,e.AlgoSymbol1001=x.AlgoSymbol1001,e.AlgoSymbol1002=O.AlgoSymbol1002,e.AlgoSymbol1003=w.AlgoSymbol1003,e.AlgoSymbol1004=U.AlgoSymbol1004,e.AlgoSymbol1005=R.AlgoSymbol1005,e.AlgoSymbol1006=_.AlgoSymbol1006,e.AlgoSymbol1007=E.AlgoSymbol1007,e.AlgoSymbol1008=C.AlgoSymbol1008,e.AlgoSymbol1009=I.AlgoSymbol1009,e.AlgoSymbol1010=B.AlgoSymbol1010,e.AlgoSymbol1011=G.AlgoSymbol1011,e.AlgoSymbol1012=D.AlgoSymbol1012,e.AlgoSymbol1013=V.AlgoSymbol1013,e.AlgoSymbol1014=N.AlgoSymbol1014,e.AlgoSymbol1015=k.AlgoSymbol1015,e.AlgoSymbol1016=Y.AlgoSymbol1016,e.AlgoSymbol1017=z.AlgoSymbol1017,e.AlgoSymbol1018=j.AlgoSymbol1018,e.AlgoSymbol1019=F.AlgoSymbol1019,e.AlgoSymbol1020=W.AlgoSymbol1020,e.AlgoSymbol1021=H.AlgoSymbol1021,e.AlgoSymbol1022=J.AlgoSymbol1022,e.AlgoSymbol315=q.AlgoSymbol315,e.AlgoSymbol15200=X.AlgoSymbol15200},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlgoSymbolFactory=e.BasicAlgoSymbolFactory=void 0;var l=o(0),i=o(1);e.BasicAlgoSymbolFactory=l.BasicAlgoSymbolFactory,e.AlgoSymbolFactory=i.AlgoSymbolFactory},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.AddPoint_WayType=SuperMap.Plot.AddPoint_WayType={UNKNOWN:0,POLYLINE:1,CURVE:2}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.RouteNodePrimitives=SuperMap.Plot.RouteNodePrimitives=SuperMap.Plot.RouteNodePrimitives||{};SuperMap.Plot.RouteNodePrimitives={initialize:function(){},rendezvousPoint:function(){var t=[],e=new Object;e.type=SuperMap.Plot.SymbolType.CIRCLESYMBOL,e.positionPoints=[],e.positionPoints.push(new SuperMap.Geometry.Point(0,0)),e.positionPoints.push(new SuperMap.Geometry.Point(0,30)),e.style={surroundLineFlag:!1,fillLimit:!0,fill:!1};var o=new Object;return o.type=SuperMap.Plot.SymbolType.TEXTSYMBOL,o.positionPoints=[],o.positionPoints.push(new SuperMap.Geometry.Point(0,0)),o.textContent="会",o.style={surroundLineFlag:!1,fontSize:14,fontSizeLimit:!0},o.style.labelAlign="cm",t.push(o),t.push(e),t},expandingPoint:function(){var t=[],e=new Object;e.type=SuperMap.Plot.SymbolType.CIRCLESYMBOL,e.positionPoints=[],e.positionPoints.push(new SuperMap.Geometry.Point(0,0)),e.positionPoints.push(new SuperMap.Geometry.Point(0,30)),e.style={surroundLineFlag:!1,fillLimit:!0,fill:!1};var o=new Object;return o.type=SuperMap.Plot.SymbolType.TEXTSYMBOL,o.positionPoints=[],o.positionPoints.push(new SuperMap.Geometry.Point(0,0)),o.textContent="展",o.style={surroundLineFlag:!1,fontSize:14,fontSizeLimit:!0},o.style.labelAlign="cm",t.push(o),t.push(e),t},volleyPoint:function(){var t=[],e=new Object;e.type=SuperMap.Plot.SymbolType.CIRCLESYMBOL,e.positionPoints=[],e.positionPoints.push(new SuperMap.Geometry.Point(0,0)),e.positionPoints.push(new SuperMap.Geometry.Point(0,30)),e.style={surroundLineFlag:!1,fillLimit:!0,fill:!1};var o=new Object;return o.type=SuperMap.Plot.SymbolType.TEXTSYMBOL,o.positionPoints=[],o.positionPoints.push(new SuperMap.Geometry.Point(0,0)),o.textContent="齐",o.style={surroundLineFlag:!1,fontSize:14,fontSizeLimit:!0},o.style.labelAlign="cm",t.push(o),t.push(e),t},standbyPoint_Outer:function(t,e){var o=[],l=new SuperMap.Geometry.Point(0,0),i=new SuperMap.Geometry.Point(0,30);t||(t=90);var n=new Object;n.type=SuperMap.Plot.SymbolType.POLYLINESYMBOL,n.positionPoints=[];for(var r=t+10;r<170+t;r+=10){var a=SuperMap.Plot.PlottingUtil.findPoint(l,i,30,r);n.positionPoints.push(a)}n.style={surroundLineFlag:!1,fillLimit:!0,fill:!1},o.push(n);var s=n.positionPoints[n.positionPoints.length-1],p=n.positionPoints[n.positionPoints.length-2],u=SuperMap.Plot.PlottingUtil.findPoint(s,p,9,22.5),P=SuperMap.Plot.PlottingUtil.findPoint(s,p,9,-22.5),y=new Object;y.type=SuperMap.Plot.SymbolType.POLYLINESYMBOL,y.positionPoints=[],y.positionPoints.push(u),y.positionPoints.push(s.clone()),y.positionPoints.push(P),y.style={surroundLineFlag:!1,fillLimit:!0,fill:!1},o.push(y);var c=new Object;c.type=SuperMap.Plot.SymbolType.POLYLINESYMBOL,c.positionPoints=[];for(var h=190+t;h<350+t;h+=10){var S=SuperMap.Plot.PlottingUtil.findPoint(l,i,30,h);c.positionPoints.push(S)}c.style={surroundLineFlag:!1,fillLimit:!0,fill:!1},o.push(c);var f=c.positionPoints[c.positionPoints.length-1],g=c.positionPoints[c.positionPoints.length-2],M=SuperMap.Plot.PlottingUtil.findPoint(f,g,9,22.5),d=SuperMap.Plot.PlottingUtil.findPoint(f,g,9,-22.5),m=new Object;m.type=SuperMap.Plot.SymbolType.POLYLINESYMBOL,m.positionPoints=[],m.positionPoints.push(M),m.positionPoints.push(f.clone()),m.positionPoints.push(d),m.style={surroundLineFlag:!1,fillLimit:!0,fill:!1},o.push(m);for(var v=0;v<o.length;v++)for(var b=0;b<o[v].positionPoints.length;b++){var A=e*(Math.PI/180);SuperMap.Plot.PlottingUtil.rotateAngle(l,A,o[v].positionPoints[b])}return o},standbyPoint_Inner:function(){var t=[],e=new Object;e.type=SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e.positionPoints=[],e.positionPoints.push(new SuperMap.Geometry.Point(-20,0)),e.positionPoints.push(new SuperMap.Geometry.Point(20,10)),e.positionPoints.push(new SuperMap.Geometry.Point(20,-10)),e.style={surroundLineFlag:!1,fillLimit:!0,fill:!1},t.push(e);var o=new Object;o.type=SuperMap.Plot.SymbolType.POLYLINESYMBOL,o.positionPoints=[],o.positionPoints.push(new SuperMap.Geometry.Point(-5,0)),o.positionPoints.push(new SuperMap.Geometry.Point(17,0)),o.style={surroundLineFlag:!1,fillLimit:!0,fill:!1},t.push(o);var l=new Object;return l.type=SuperMap.Plot.SymbolType.POLYLINESYMBOL,l.positionPoints=[],l.positionPoints.push(new SuperMap.Geometry.Point(-2,1.5)),l.positionPoints.push(new SuperMap.Geometry.Point(-5,0)),l.positionPoints.push(new SuperMap.Geometry.Point(-2,-1.5)),l.style={surroundLineFlag:!1,fillLimit:!0,fill:!1},t.push(l),t},supplyPoint:function(){var t=[],e=new Object;e.type=SuperMap.Plot.SymbolType.CIRCLESYMBOL,e.positionPoints=[],e.positionPoints.push(new SuperMap.Geometry.Point(0,0)),e.positionPoints.push(new SuperMap.Geometry.Point(0,30)),e.style={surroundLineFlag:!1,fillLimit:!0,fill:!1};var o=new Object;return o.type=SuperMap.Plot.SymbolType.TEXTSYMBOL,o.positionPoints=[],o.positionPoints.push(new SuperMap.Geometry.Point(0,0)),o.textContent="",o.style={surroundLineFlag:!1,fontSize:14,fontSizeLimit:!0},o.style.labelAlign="cm",t.push(o),t.push(e),t},takeoffPoint:function(){var t=[],e=new Object;return e.type=SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e.positionPoints=[],e.positionPoints.push(new SuperMap.Geometry.Point(-15,25)),e.positionPoints.push(new SuperMap.Geometry.Point(15,25)),e.positionPoints.push(new SuperMap.Geometry.Point(15,-25)),e.positionPoints.push(new SuperMap.Geometry.Point(0,-35)),e.positionPoints.push(new SuperMap.Geometry.Point(-15,-25)),e.positionPoints.push(new SuperMap.Geometry.Point(-15,25)),e.style={surroundLineFlag:!1,fillLimit:!0,fill:!1},t.push(e),t},initialPoint:function(){var t=[],e=new Object;return e.type=SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e.positionPoints=[],e.positionPoints.push(new SuperMap.Geometry.Point(-30,30)),e.positionPoints.push(new SuperMap.Geometry.Point(30,30)),e.positionPoints.push(new SuperMap.Geometry.Point(30,-30)),e.positionPoints.push(new SuperMap.Geometry.Point(-30,-30)),e.style={surroundLineFlag:!1,fillLimit:!0,fill:!1},t.push(e),t},visualInitalPoint:function(){var t=[],e=new Object;return e.type=SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e.positionPoints=[],e.positionPoints.push(new SuperMap.Geometry.Point(0,30)),e.positionPoints.push(new SuperMap.Geometry.Point(30,0)),e.positionPoints.push(new SuperMap.Geometry.Point(0,-30)),e.positionPoints.push(new SuperMap.Geometry.Point(-30,0)),e.style={surroundLineFlag:!1,fillLimit:!0,fill:!1},t.push(e),t},lanchPoint:function(){var t=[],e=new Object;return e.type=SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e.positionPoints=[],e.positionPoints.push(new SuperMap.Geometry.Point(0,30)),e.positionPoints.push(new SuperMap.Geometry.Point(20,-30)),e.positionPoints.push(new SuperMap.Geometry.Point(-20,-30)),e.style={surroundLineFlag:!1,fillLimit:!0,fill:!1},t.push(e),t},turningPoint:function(){var t=[],e=new Object;return e.type=SuperMap.Plot.SymbolType.CIRCLESYMBOL,e.positionPoints=[],e.positionPoints.push(new SuperMap.Geometry.Point(0,0)),e.positionPoints.push(new SuperMap.Geometry.Point(0,30)),e.style={surroundLineFlag:!1,fillLimit:!0,fill:!1},t.push(e),t},aimingPoint:function(){var t=[],e=new Object;return e.type=SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e.positionPoints=[],e.positionPoints.push(new SuperMap.Geometry.Point(0,-30)),e.positionPoints.push(new SuperMap.Geometry.Point(20,30)),e.positionPoints.push(new SuperMap.Geometry.Point(-20,30)),e.style={surroundLineFlag:!1,fillLimit:!0,fill:!1},t.push(e),t},targetPoint:function(){var t=[],e=new Object;return e.type=SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,e.positionPoints=[],e.positionPoints.push(new SuperMap.Geometry.Point(0,30)),e.positionPoints.push(new SuperMap.Geometry.Point(30,-30)),e.positionPoints.push(new SuperMap.Geometry.Point(-30,-30)),e.style={surroundLineFlag:!1,fillLimit:!0,fill:!1},t.push(e),t},eightSpiralPoint:function(){var t=[],e=new Object;e.type=SuperMap.Plot.SymbolType.CIRCLESYMBOL,e.positionPoints=[],e.positionPoints.push(new SuperMap.Geometry.Point(30,0)),e.positionPoints.push(new SuperMap.Geometry.Point(0,0)),e.style={surroundLineFlag:!1,fillLimit:!0,fill:!1};var o=new Object;return o.type=SuperMap.Plot.SymbolType.CIRCLESYMBOL,o.positionPoints=[],o.positionPoints.push(new SuperMap.Geometry.Point(-30,0)),o.positionPoints.push(new SuperMap.Geometry.Point(0,0)),o.style={surroundLineFlag:!1,fillLimit:!0,fill:!1},t.push(e),t.push(o),t},happyValleyPoint:function(){var t=[],e=new Object;e.type=SuperMap.Plot.SymbolType.POLYLINESYMBOL,e.positionPoints=[],e.positionPoints.push(new SuperMap.Geometry.Point(-30,20)),e.positionPoints.push(new SuperMap.Geometry.Point(30,20)),e.style={surroundLineFlag:!1,fillLimit:!0,fill:!1};var o=new Object;o.type=SuperMap.Plot.SymbolType.POLYLINESYMBOL,o.positionPoints=[],o.positionPoints.push(new SuperMap.Geometry.Point(30,-20)),o.positionPoints.push(new SuperMap.Geometry.Point(-30,-20)),o.style={surroundLineFlag:!1,fillLimit:!0,fill:!1};var l=new Object;l.type=SuperMap.Plot.SymbolType.ARCSYMBOL,l.positionPoints=[],l.positionPoints.push(new SuperMap.Geometry.Point(-30,20)),l.positionPoints.push(new SuperMap.Geometry.Point(-50,0)),l.positionPoints.push(new SuperMap.Geometry.Point(-30,-20)),l.style={surroundLineFlag:!1,fillLimit:!0,fill:!1};var i=new Object;return i.type=SuperMap.Plot.SymbolType.ARCSYMBOL,i.positionPoints=[],i.positionPoints.push(new SuperMap.Geometry.Point(30,20)),i.positionPoints.push(new SuperMap.Geometry.Point(50,0)),i.positionPoints.push(new SuperMap.Geometry.Point(30,-20)),i.style={surroundLineFlag:!1,fillLimit:!0,fill:!1},t.push(e),t.push(o),t.push(l),t.push(i),t},attackPoint:function(){var t=[],e=new Object;e.type=SuperMap.Plot.SymbolType.CIRCLESYMBOL,e.positionPoints=[],e.positionPoints.push(new SuperMap.Geometry.Point(0,0)),e.positionPoints.push(new SuperMap.Geometry.Point(0,30)),e.style={surroundLineFlag:!1,fillLimit:!0,fill:!1};var o=new Object;return o.type=SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,o.positionPoints=[],o.positionPoints.push(new SuperMap.Geometry.Point(0,20)),o.positionPoints.push(new SuperMap.Geometry.Point(20,-20)),o.positionPoints.push(new SuperMap.Geometry.Point(-20,-20)),o.style={surroundLineFlag:!1,fillLimit:!0,fill:!1},t.push(o),t.push(e),t},suppressPoint:function(){var t=[],e=new Object;e.type=SuperMap.Plot.SymbolType.CIRCLESYMBOL,e.positionPoints=[],e.positionPoints.push(new SuperMap.Geometry.Point(0,0)),e.positionPoints.push(new SuperMap.Geometry.Point(0,30)),e.style={surroundLineFlag:!1,fontSize:14};var o=new Object;return o.type=SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL,o.positionPoints=[],o.positionPoints.push(new SuperMap.Geometry.Point(-15,15)),o.positionPoints.push(new SuperMap.Geometry.Point(15,15)),o.positionPoints.push(new SuperMap.Geometry.Point(15,-15)),o.positionPoints.push(new SuperMap.Geometry.Point(-15,-15)),o.style={surroundLineFlag:!1,fillLimit:!0,fill:!1},t.push(o),t.push(e),t},getRouteNodeCells:function(t,e,o){switch(t){case SuperMap.Plot.RouteNodeType.RENDEZVOUS:return this.rendezvousPoint();case SuperMap.Plot.RouteNodeType.EXPANDING:return this.expandingPoint();case SuperMap.Plot.RouteNodeType.VOLLEY:return this.volleyPoint();case SuperMap.Plot.RouteNodeType.STANDBY:return e?this.standbyPoint_Inner():this.standbyPoint_Outer(null,o);case SuperMap.Plot.RouteNodeType.SUPPLY:return this.supplyPoint();case SuperMap.Plot.RouteNodeType.TAKEOFF:return this.takeoffPoint();case SuperMap.Plot.RouteNodeType.INITIAL:return this.initialPoint();case SuperMap.Plot.RouteNodeType.VISUALINITAL:return this.visualInitalPoint();case SuperMap.Plot.RouteNodeType.LANCH:case SuperMap.Plot.RouteNodeType.WEAPONLAUNCH:return this.lanchPoint();case SuperMap.Plot.RouteNodeType.TURNING:case SuperMap.Plot.RouteNodeType.COMMONROUTE:return this.turningPoint();case SuperMap.Plot.RouteNodeType.AIMING:return this.aimingPoint();case SuperMap.Plot.RouteNodeType.TARGET:return this.targetPoint();case SuperMap.Plot.RouteNodeType.ATTACK:return this.attackPoint();case SuperMap.Plot.RouteNodeType.SUPPRESS:return this.suppressPoint();case SuperMap.Plot.RouteNodeType.EIGHTSPIRAL:return this.eightSpiralPoint();case SuperMap.Plot.RouteNodeType.HAPPYVALLEY:return this.happyValleyPoint();default:return[]}},getRouteNodeNameByType:function(t){switch(t){case SuperMap.Plot.RouteNodeType.RENDEZVOUS:return"会合点";case SuperMap.Plot.RouteNodeType.EXPANDING:return"展开点";case SuperMap.Plot.RouteNodeType.VOLLEY:return"齐射点";case SuperMap.Plot.RouteNodeType.STANDBY:return"待机点";case SuperMap.Plot.RouteNodeType.SUPPLY:return"补给点";case SuperMap.Plot.RouteNodeType.TAKEOFF:return"起飞点";case SuperMap.Plot.RouteNodeType.INITIAL:return"初始点";case SuperMap.Plot.RouteNodeType.VISUALINITAL:return"可视化初始点";case SuperMap.Plot.RouteNodeType.LANCH:return"发射点";case SuperMap.Plot.RouteNodeType.WEAPONLAUNCH:return"武器发射点";case SuperMap.Plot.RouteNodeType.TURNING:return"转弯点";case SuperMap.Plot.RouteNodeType.COMMONROUTE:return"普通航路点";case SuperMap.Plot.RouteNodeType.AIMING:return"目标瞄准点";case SuperMap.Plot.RouteNodeType.TARGET:return"目标点";case SuperMap.Plot.RouteNodeType.ATTACK:return"攻击点";case SuperMap.Plot.RouteNodeType.SUPPRESS:return"压制点";case SuperMap.Plot.RouteNodeType.EIGHTSPIRAL:return"八字盘旋点";case SuperMap.Plot.RouteNodeType.HAPPYVALLEY:return"跑马圈点";default:return""}}}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.Primitives=SuperMap.Plot.Primitives=SuperMap.Plot.Primitives||{};SuperMap.Plot.Primitives={nSegmentCount:72,initialize:function(t){t&&t.nSegmentCount&&(this.nSegmentCount=t.nSegmentCount)},polyline:function(t){return t},parallelline:function(t){if(t&&t.length>=3){var e=SuperMap.Plot.PlottingUtil.distance(t[0],t[1]);SuperMap.Plot.PlottingUtil.isRight(t[0],t[1],t[2])&&(e=-e);for(var o=[],l=1;l<t.length;l++)o.push(t[l].clone());var i=SuperMap.Plot.PlottingUtil.parallel(o,e);return t[0].x=i[0].x,t[0].y=i[0].y,[o,i]}return[]},kidney:function(t,e){if(t){return e?this.getKendyShapePts(t):t}},bezier:function(t,e){if(t){var o=[];return o=e?SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t):t,SuperMap.Plot.PlottingUtil.clearSamePts(o),o}},loopbezier:function(t,e){if(t){t[0].x===t[t.length-1].x&&t[0].y===t[t.length-1].y||t.push(t[0]);var o=[];return o=e?SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt(t):t,SuperMap.Plot.PlottingUtil.clearSamePts(o),o}},parallelogram:function(t){if(t&&t.length>=3){var e=t[0].x+(t[2].x-t[1].x),o=t[0].y+(t[2].y-t[1].y),l=new SuperMap.Geometry.Point(e,o),i=[];return i.push.apply(i,t),i.push(l),i.push(i[0]),i}},polygon:function(t){if(t&&t.length>2)return t},circle:function(t){if(t&&2===t.length){for(var e=t[0],o=t[1],l=[],i=Math.sqrt((o.x-e.x)*(o.x-e.x)+(o.y-e.y)*(o.y-e.y)),n=360/this.nSegmentCount,r=0;r<this.nSegmentCount;r++){var a=(r*n+1)*Math.PI/180,s=new SuperMap.Geometry.Point(Math.cos(a)*i+e.x,Math.sin(a)*i+e.y);l[r]=s}return l}},rectangle:function(t){if(t&&2===t.length){var e=t[0],o=t[1],l=e.clone();return[l,new SuperMap.Geometry.Point(o.x,e.y),o.clone(),new SuperMap.Geometry.Point(e.x,o.y),l]}},sector:function(t){if(t&&t.length>=3){var e=this.getArcInfo(t[0],t[1],t[2]);e.dStartAngle*=Math.PI/180,e.dEndAngle*=Math.PI/180;var o=(e.dEndAngle-e.dStartAngle)/this.nSegmentCount,l=this.getArcSpatialData(e.pntCenter,e.dRadius,e.dRadius,0,e.dStartAngle,e.dEndAngle,o);if(l.push(e.pntCenter),0!==l.length)return l}},lune:function(t){if(t&&t.length>=3){var e=this.getArcInfo(t[0],t[1],t[2]);e.dStartAngle*=Math.PI/180,e.dEndAngle*=Math.PI/180;var o=(e.dEndAngle-e.dStartAngle)/this.nSegmentCount,l=this.getArcSpatialData(e.pntCenter,e.dRadius,e.dRadius,0,e.dStartAngle,e.dEndAngle,o);if(0!==l.length)return l}},arc:function(t){if(t&&t.length>=3){var e=this.getArcInfo(t[0],t[1],t[2]);e.dStartAngle*=Math.PI/180,e.dEndAngle*=Math.PI/180;var o=(e.dEndAngle-e.dStartAngle)/this.nSegmentCount,l=this.getArcSpatialData(e.pntCenter,e.dRadius,e.dRadius,0,e.dStartAngle,e.dEndAngle,o);if(0!==l.length)return l}},ellipse:function(t,e,o,l,i){if(!0===o){if((!l||null==l)&&t&&t.length>=3&&(l=SuperMap.Plot.PlottingUtil.distance(t[0],t[1])),(!i||null==i)&&t&&t.length>=3){var n=SuperMap.Plot.PlottingUtil.projectPoint(t[2],t[0],t[1]);i=SuperMap.Plot.PlottingUtil.distance(n,t[2])}}else i=SuperMap.Plot.PlottingUtil.distance(t[0],t[2]),l=SuperMap.Plot.PlottingUtil.distance(t[0],t[1]);if(e&&null!=e?e*=Math.PI/180:e=SuperMap.Plot.PlottingUtil.radian(t[0],t[1]),t&&t.length>0){var r=2*Math.PI,a=r/this.nSegmentCount,s=this.getArcSpatialData(t[0],l,i,e,0,r,a);if(!0===o){var p=Math.sin(e),u=Math.cos(e);t[2].x>t[1].x?(t[2].x=t[0].x-i*p,t[2].y=t[0].y+i*u):(t[2].x=t[0].x+i*p,t[2].y=t[0].y-i*u)}return s}},getArcSpatialData:function(t,e,o,l,i,n,r){var a=[];if(Math.abs(r)<1e-9)return a;for(;n<i;)n+=2*Math.PI;for(;n>i+2*Math.PI;)i+=2*Math.PI;var s=Math.cos(l)*e,p=Math.sin(l)*e,u=Math.cos(l)*o,P=Math.sin(l)*o,y=this.calcEllipseRadian(i,e,o),c=this.calcEllipseRadian(n,e,o);c-y<1e-5&&(c+=2*Math.PI);var h=Math.round(Math.abs((c-y)/r)+1);if(h<2)return a;for(var S=0;S<h-1;y+=r,S++){S===h-2&&(y=n);var f=t.x+s*Math.cos(y)-P*Math.sin(y),g=t.y+p*Math.cos(y)+u*Math.sin(y);a.push(new SuperMap.Geometry.Point(f,g))}return 0>a.length&&(a[a.length-1].x=t.x+s*Math.cos(c)-P*Math.sin(c),a[a.length-1].y=t.y+p*Math.cos(c)+u*Math.sin(c)),a},getArcInfo:function(t,e,o){var l={};l.pntCenter=new SuperMap.Geometry.Point(0,0),l.dRadius=0,l.dStartAngle=0,l.dEndAngle=0;var i=e.x-t.x,n=e.y-t.y;if(Math.abs(i)<1e-9){var r={},a={};r.x=(e.x+t.x)/2,r.y=(e.y+t.y)/2,a.x=(e.x+o.x)/2,a.y=(e.y+o.y)/2;var s=0;Math.abs(o.x-e.x)>=1e-9&&(s=(o.y-e.y)/(o.x-e.x)),l.pntCenter.y=r.y,Math.abs(s)<1e-9?l.pntCenter.x=a.x:l.pntCenter.x=a.x-s*(r.y-a.y)}else{var p={},u={};p.x=(e.x+t.x)/2,p.y=(e.y+t.y)/2,u.x=(e.x+o.x)/2,u.y=(e.y+o.y)/2;var P=n/i,y=1;Math.abs(P)<1e-9?(l.pntCenter.x=p.x,Math.abs(o.x-e.x<1e-9)?l.pntCenter.y=u.y:l.pntCenter.y=-(o.x-e.x)/(o.y-e.y)*(l.pntCenter.x-u.x)+u.y):Math.abs(o.x-e.x)<1e-9?(l.pntCenter.y=u.y,l.pntCenter.x=-P*(l.pntCenter.y-p.y)+p.x):(y=(o.y-e.y)/(o.x-e.x),l.pntCenter.x=(P*y*(p.y-u.y)+y*p.x-P*u.x)/(y-P),l.pntCenter.y=(u.x-p.x+y*u.y-P*p.y)/(y-P))}var c=Math.atan2(t.y-l.pntCenter.y,t.x-l.pntCenter.x),h=Math.atan2(o.y-l.pntCenter.y,o.x-l.pntCenter.x);if(SuperMap.Plot.PlottingUtil.isCounterClockwise(t,e,o)){for(;c>=2*Math.PI;)c-=2*Math.PI;for(;c<0;)c+=2*Math.PI;for(;h>2*Math.PI;)h-=2*Math.PI;for(;h<c;)h+=2*Math.PI}else{for(;h>=2*Math.PI;)h-=2*Math.PI;for(;h<0;)h+=2*Math.PI;for(;c>2*Math.PI;)c-=2*Math.PI;for(;h>c;)c+=2*Math.PI;var S=c;c=h,h=S}return l.dRadius=Math.sqrt((l.pntCenter.x-t.x)*(l.pntCenter.x-t.x)+(l.pntCenter.y-t.y)*(l.pntCenter.y-t.y)),l.dEndAngle=180*h/Math.PI,l.dStartAngle=180*c/Math.PI,l},calcEllipseRadian:function(t,e,o){var l=t,i=e*Math.sin(t),n=o*Math.cos(t),r=Math.atan2(i,n);if(t>Math.PI)for(;l>Math.PI;)l-=2*Math.PI,r+=2*Math.PI;else if(t<-Math.PI)for(;l<-Math.PI;)l+=2*Math.PI,r-=2*Math.PI;return r},getKendyShapePts:function(t){var e=[];if(2>(t=SuperMap.Plot.PlottingUtil.clearSamePts(t)).length)return e;var o=this.calcShapePoints(t);if(12!=o.length)return e;o.push(o[0]),o.push(o[1]),o.splice(0,1);for(var l=0;l<o.length-3;l+=3){var i;i=this.getBezierPtsWithScalePts(o[l],o[l+1],o[l+2],o[l+3]),e=e.concat(i)}return e},calcShapePoints:function(t){var e=[],o=[],l=t.length;if(0!==l){if(1!==l){if(2==l){var i=this.calcProtudeC3(t[0],t[1]);o.push(t[0]),o.push(t[1]),o.push(i)}else if(o.push(t[0]),o.push(t[1]),o.push(t[2]),(SuperMap.Plot.PlottingUtil.isSamePt(t[0],t[2])||SuperMap.Plot.PlottingUtil.isSamePt(t[1],t[2]))&&(e.push(t[0]),e.push(t[1])),SuperMap.Plot.PlottingUtil.isSamePt(t[0],t[1]))return e.push(t[0]),void e.push(t[2]);o=this.reNormalizeKidneyCtrlPoints(o);var n=new SuperMap.Geometry.Point(0,0),r=new SuperMap.Geometry.Point(0,0);n.x=.5*(o[0].x+o[1].x),n.y=.5*(o[0].y+o[1].y),r.x=n.x-.1*(o[2].x-n.x),r.y=n.y-.1*(o[2].y-n.y);var a=this.GetPtsByTriangle(3,0,o[1],o[0],r);e.push(a.pr),e.push(r),e.push(a.pl);var s=this.GetPtsByTriangle(4,2,o[2],o[0],o[1]);e.push(s.pr),e.push(o[1]),e.push(s.pl);var p=this.GetPtsByTriangle(2,0,o[0],o[1],o[2]);e.push(p.pr),e.push(o[2]),e.push(p.pl);var u=this.GetPtsByTriangle(4,1,o[1],o[2],o[0]);return e.push(u.pr),e.push(o[0]),e.push(u.pl),e}e.push(t[0])}},calcProtudeC3:function(t,e){var o,l=new SuperMap.Geometry.Point(0,0);return l.x=.5*(t.x+e.x),l.y=.5*(t.y+e.y),o=SuperMap.Plot.PlottingUtil.distance(e,t)/2.7,this.GetPointsOfNormal(o,t,l).pt3},GetPointsOfNormal:function(t,e,o){var l,i=new SuperMap.Geometry.Point(0,0),n=new SuperMap.Geometry.Point(0,0),r=new SuperMap.Geometry.Point(0,0);return 0==(l=SuperMap.Plot.PlottingUtil.distance(e,o))?(r.y=0,r.x=t):(r.x=t*(e.x-o.x)/l,r.y=t*(e.y-o.y)/l),i.x=-r.y+o.x,i.y=r.x+o.y,n.x=r.y+o.x,n.y=-r.x+o.y,{pt3:i,pt4:n}},reNormalizeKidneyCtrlPoints:function(t){var e=[];e.push(new SuperMap.Geometry.Point(0,0)),e.push(new SuperMap.Geometry.Point(0,0)),e.push(new SuperMap.Geometry.Point(0,0));var o=t.length;if(o<2)return e;if(2==o)e[0]=t[0],e[1]=t[1],e[2]=this.calcProtudeC3(t[0],t[1]);else{var l,i,n,r=t[0],a=t[1],s=t[2];if(l=SuperMap.Plot.PlottingUtil.distance(a,r),i=SuperMap.Plot.PlottingUtil.distance(s,a),n=SuperMap.Plot.PlottingUtil.distance(r,s),i>=l&&i>=n){var p=r.clone();r=s.clone(),s=p.clone()}else if(n>=l&&n>=i){var u=s.clone();s=a.clone(),a=u.clone()}if(!SuperMap.Plot.PlottingUtil.isRight(s,r,a)){var P=r.clone();r=a.clone(),a=P.clone()}e[0]=r,e[1]=a,e[2]=s}return e},GetPtsByTriangle:function(t,e,o,l,i){var n=new SuperMap.Geometry.Point(0,0),r=0,a=0;return r=SuperMap.Plot.PlottingUtil.distance(i,o),a=SuperMap.Plot.PlottingUtil.distance(l,i),1==e&&(r*=2),2==e&&(a*=2),n.x=(r*l.x+a*o.x)/(r+a),n.y=(r*l.y+a*o.y)/(r+a),{pl:this.GetWhichPtOfNormal(t,o,n,i),pr:this.GetWhichPtOfNormal(t,l,n,i)}},GetWhichPtOfNormal:function(t,e,o,l){var i=0;i=SuperMap.Plot.PlottingUtil.distance(l,e)/t;var n=this.GetPointsOfNormal(i,o,l);return SuperMap.Plot.PlottingUtil.distance(e,n.pt4)>=(i=SuperMap.Plot.PlottingUtil.distance(e,n.pt3))?n.pt3:n.pt4},getBezierPtsWithScalePts:function(t,e,o,l){var i=[],n=t.x,r=t.y,a=e.x,s=e.y,p=o.x,u=o.y,P=l.x,y=l.y;if(SuperMap.Plot.PlottingUtil.equalFuzzy(n,a,1e-10)&&SuperMap.Plot.PlottingUtil.equalFuzzy(r,s,1e-10)&&SuperMap.Plot.PlottingUtil.equalFuzzy(p,P,1e-10)&&SuperMap.Plot.PlottingUtil.equalFuzzy(u,y,1e-10))i.push(new SuperMap.Geometry.Point(n,r)),i.push(new SuperMap.Geometry.Point(p,u));else for(var c=0;c<=1;c+=.03125){var h,S,f,g,M=c*c,d=M*c;h=1-3*c+3*M-d,S=3*(c-2*M+d),f=3*(M-d),g=d;var m=new SuperMap.Geometry.Point(h*n+S*a+f*p+g*P,h*r+S*s+f*u+g*y);i.push(m)}return i},getSpatialData:function(t,e,o,l){switch(null==l&&(l=!0),t){case 24:return this.polyline(e);case 390:return this.kidney(e,l);case 590:return this.bezier(e,l);case 360:return this.loopbezier(e,l);case 28:return this.parallelogram(e);case 32:return this.polygon(e);case 29:return this.circle(e);case 26:return this.rectangle(e);case 380:return this.sector(e);case 370:return this.lune(e);case 44:return this.arc(e);case 31:return this.ellipse(e,o,l);case 48:return this.parallelline(e);default:return e}}}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.PlottingUtil=SuperMap.Plot.PlottingUtil=SuperMap.Plot.PlottingUtil||{};SuperMap.Plot.PlottingUtil.DEFAULT_PRECISION=14,SuperMap.Plot.PlottingUtil.DPI=96,SuperMap.Plot.PlottingUtil.RTOD=57.29577951308232,SuperMap.Plot.PlottingUtil.DTOR=.017453292519943295,SuperMap.Plot.PlottingUtil.dirAngle=function(t,e){var o,l,i,n;o=e.x,l=e.y,i=o-t.x,n=l-t.y;var r=Math.atan2(n,i);return r<0&&(r+=2*Math.PI),r},SuperMap.Plot.PlottingUtil.generateUuid=function(){for(var t=[],e=0;e<36;e++)t[e]="0123456789abcdef".substr(Math.floor(16*Math.random()),1);return t[14]="4",t[19]="0123456789abcdef".substr(3&t[19]|8,1),t[8]=t[13]=t[18]=t[23]="-",t.join("")},SuperMap.Plot.PlottingUtil.cloneObject=function(t){return JSON.parse(JSON.stringify(t))},SuperMap.Plot.PlottingUtil.colorRGBA=function(t,e){var o=t.substring(1,3),l=parseInt(o,16),i=t.substring(3,5),n=parseInt(i,16),r=t.substring(5);return"rgba("+l+","+n+","+parseInt(r,16)+","+e+")"},SuperMap.Plot.PlottingUtil.colorRGBToString=function(t){var e=t.red.toString(16);e.length<2&&(e="0"+e);var o=t.green.toString(16);o.length<2&&(o="0"+o);var l=t.blue.toString(16);return l.length<2&&(l="0"+l),"#"+e+o+l},SuperMap.Plot.PlottingUtil.colorStringToRGB=function(t){var e={},o=t.substring(1,3);e.red=parseInt(o,16);var l=t.substring(3,5);e.green=parseInt(l,16);var i=t.substring(5);return e.blue=parseInt(i,16),e},SuperMap.Plot.PlottingUtil.decimalToHex=function(t){for(var e=t.toString(16);e.length<8;)e="0"+e;var o=e.substring(0,2),l=e.substring(2,4),i=e.substring(4,6);return{color:"#"+e.substring(6)+i+l,alpha:parseInt(o,16)/255}},SuperMap.Plot.PlottingUtil.hexToDecimal=function(t,e){var o=t.substring(1,3),l=t.substring(3,5),i=t.substring(5),n=parseInt(i+l+o,16),r=Math.round(255*e).toString(16);return parseInt(r+"000000",16)+n},SuperMap.Plot.PlottingUtil.getAlign=function(t){return"TOPLEFT"===t?"lt":"TOPCENTER"===t?"ct":"TOPRIGHT"===t?"rt":"BOTTOMLEFT"===t?"lb":"BOTTOMCENTER"===t?"cb":"BOTTOMRIGHT"===t?"rb":"MIDDLELEFT"===t?"lm":"MIDDLECENTER"===t?"cm":"MIDDLERIGHT"===t?"rm":"lt"},SuperMap.Plot.PlottingUtil.trim=function(t){return null==t?"":t.replace(/(^\s*)|(\s*$)/g,"")},SuperMap.Plot.PlottingUtil.getTextWidth=function(t,e){" "===e&&(e="_");var o=document.createElement("span");document.body.appendChild(o),o.style.width="auto",o.style.height="auto",t.fontSize&&(o.style.fontSize=new String(t.fontSize)+"px"),t.fontFamily&&(o.style.fontFamily=t.fontFamily),t.fontWeight&&(o.style.fontWeight=t.fontWeight),o.style.position="absolute",o.style.visibility="hidden",o.style.display="inline-block",o.innerHTML=e;var l=o.clientWidth,i=e.length;return void 0===t.fontSpace&&void 0===t.fontPercent||(0!==t.fontSpace&&100!==t.fontPercent&&void 0!==t.fontSpace||void 0!==t.fontPercent?l=t.fontPercent/100*l+t.fontSpace*(t.fontPercent/100)*(i-1):0===t.fontSpace&&100!==t.fontPercent&&void 0!==t.fontPercent?l=t.fontPercent/100*l:0!==t.fontSpace&&100===t.fontPercent&&void 0!==t.fontSpace&&(l+=t.fontSpace*(i-1))),document.body.removeChild(o),l},SuperMap.Plot.PlottingUtil.getTextCount=function(t){for(var e=0,o=0,l=0;l<t.length;l++)t.charCodeAt(l)>255?e++:o++;return e+o/2},SuperMap.Plot.PlottingUtil.toJSON=function(t){var e=t;if(null==e)return null;switch(e.constructor){case String:return e=(e=(e=(e=(e=(e=(e='"'+e.replace(/(["\\])/g,"\\$1")+'"').replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace("<","&lt;")).replace(">","&gt;")).replace(/%/g,"%2525")).replace(/&/g,"%26");case Array:for(var o=[],i=0,n=e.length;i<n;i++)o.push(SuperMap.Plot.PlottingUtil.toJSON(e[i]));return"["+o.join(",")+"]";case Number:return isFinite(e)?String(e):null;case Boolean:return String(e);case Date:return"{'__type':\"System.DateTime\",'Year':"+e.getFullYear()+",'Month':"+(e.getMonth()+1)+",'Day':"+e.getDate()+",'Hour':"+e.getHours()+",'Minute':"+e.getMinutes()+",'Second':"+e.getSeconds()+",'Millisecond':"+e.getMilliseconds()+",'TimezoneOffset':"+e.getTimezoneOffset()+"}";default:if(null!=e.toJSON&&"function"==typeof e.toJSON)return e.toJSON();if("object"===(void 0===e?"undefined":l(e))){if(e.length){for(var r=[],a=0,s=e.length;a<s;a++)r.push(SuperMap.Plot.PlottingUtil.toJSON(e[a]));return"["+r.join(",")+"]"}var p=[];for(var u in e)"function"!=typeof e[u]&&"CLASS_NAME"!==u&&"parent"!==u&&p.push('"'+u+'":'+SuperMap.Plot.PlottingUtil.toJSON(e[u]));return p.length>0?"{"+p.join(",")+"}":"{}"}return e.toString()}},SuperMap.Plot.PlottingUtil.copyFeature=function(t){var e=null;if(null!=t&&t.geometry){var o=t.geometry.clone();e=new SuperMap.Feature.Vector(o),t.style&&(e.style=SuperMap.Plot.PlottingUtil.copyAttributes(e.style,t.style)),o.feature=e,o.calculateParts()}return e},SuperMap.Plot.PlottingUtil.getSurroundLinePts=function(t,e){for(var o=[],l=[],i=0;i<t.length-1;i++){var n,r,a=[];if(!SuperMap.Plot.PlottingUtil.equalFuzzy(t[i].x,t[i+1].x)||!SuperMap.Plot.PlottingUtil.equalFuzzy(t[i].y,t[i+1].y)){a.push(t[i]),a.push(t[i+1]);var s=SuperMap.Plot.PlottingUtil.parallel(a,e);if(n=s[0],r=s[1],0!=o.length){var p=SuperMap.Plot.PlottingUtil.intersectLines(n,r,o[0],o[1]);if(p.isIntersectLines){var u=p.intersectPoint,P=SuperMap.Plot.PlottingUtil.distance(n,r);SuperMap.Plot.PlottingUtil.distance(u,r)>2*P?l.push(r):(l[l.length-1]=u,l.push(r))}else l.push(r)}else l.push(n),l.push(r);(o=[]).push(l[l.length-2]),o.push(l[l.length-1])}}if(t[0].x===t[t.length-1].x&&t[0].y===t[t.length-1].y&&1<l.length){var y=SuperMap.Plot.PlottingUtil.intersectLines(l[0],l[1],l[l.length-2],l[l.length-1]);if(y.isIntersectLines){var c=y.intersectPoint;l[l.length-1]=c,l[0]=c}}return l},SuperMap.Plot.PlottingUtil.copyFontStyle=function(t,e){void 0===t.labelAlign&&void 0!==e.labelAlign&&(t.labelAlign=e.labelAlign),!0!==t.fontSizeLimit&&(void 0!==e.fontSize&&(t.fontSize=e.fontSize),void 0!==e.fontWeight&&(t.fontWeight=e.fontWeight),void 0!==e.fontStyle&&(t.fontStyle=e.fontStyle),void 0!==e.fontSpace&&(t.fontSpace=e.fontSpace),void 0!==e.fontPercent&&(t.fontPercent=e.fontPercent)),t.strokeWidth=e.strokeWidth},SuperMap.Plot.PlottingUtil.getDataFromServer=function(t,e,o,i,n,r,a,s){var p=void 0;if(void 0!==r&&(p=r),"undefined"!=typeof SuperMap&&void 0!==SuperMap.GetSymbolInfoService){var u=new SuperMap.GetSymbolInfoService(t);u.events.on({processCompleted:a,processFailed:s,scope:p});var P=new SuperMap.GetSymbolInfoParameters;P.libID=e,P.code=o,n&&SuperMap.Plot.PlottingUtil.extend(P,n),i&&null!=i&&(SuperMap.Plot.PlottingUtil.isArray(i)||(i=[i]),P.inputPoints=i),u.processAsync(P)}else if(void 0!==("undefined"==typeof SuperMap?"undefined":l(SuperMap))&&void 0!==l(SuperMap.REST)&&void 0!==l(SuperMap.REST.GetSymbolInfoService)){var y=new SuperMap.REST.GetSymbolInfoService(t);y.events.on({processCompleted:a,processFailed:s,scope:p});var c=new SuperMap.REST.GetSymbolInfoParameters;if(c.libID=e,c.code=o,n&&SuperMap.Plot.PlottingUtil.extend(c,n),i&&null!=i&&(SuperMap.Plot.PlottingUtil.isArray(i)||(i=[i]),c.inputPoints=i),n&&n.credential){var h=n.credential;y.processAsync(c,h)}else y.processAsync(c)}},SuperMap.Plot.PlottingUtil.innerOutlineDir=function(t){function e(t,e){function o(t){var e=Math.atan2(t.y,t.x);return e<0&&(e+=2*Math.PI),e}var l=o(e)-o(t);return l<-Math.PI&&(l+=2*Math.PI),l>Math.PI&&(l-=2*Math.PI),l}if(t.length<3)return 1;for(var o=0,l={x:0,y:0},i={x:0,y:0},n=2;n<t.length;n++)i.x=t[n].x-t[n-1].x,i.y=t[n].y-t[n-1].y,l.x=t[n-1].x-t[n-2].x,l.y=t[n-1].y-t[n-2].y,o+=e(l,i);return i.x=t[1].x-t[0].x,i.y=t[1].y-t[0].y,l.x=t[0].x-t[t.length-1].x,l.y=t[0].y-t[t.length-1].y,(o+=e(l,i))>=0?-1:1},SuperMap.Plot.PlottingUtil.isNear=function(t,e){return e||(e=SuperMap.Plot.PlottingUtil.TORLERANCE_STATIC),t<e&&t>-e},SuperMap.Plot.PlottingUtil.equalFuzzy=function(t,e,o){return o||(o=1e-18),Math.abs(t-e)<=o},SuperMap.Plot.PlottingUtil.intersectLines=function(t,e,o,l){var i={isIntersectLines:!1};if(t.x===e.x&&t.y===e.y||o.x===l.x&&o.y===l.y)return i;var n=e.x-t.x,r=e.y-t.y,a=l.x-o.x,s=l.y-o.y,p=n*s-a*r;if(SuperMap.Plot.PlottingUtil.isNear(p))return i;var u=(n*(t.y-o.y)-r*(t.x-o.x))/p,P=new SuperMap.Geometry.Point(0,0);return P.x=u*a+o.x,P.y=u*s+o.y,i.isIntersectLines=!0,i.intersectPoint=P,i},SuperMap.Plot.PlottingUtil.getEnvelopePoints=function(t){function e(t,e){if(t.length!==e.length)return!1;for(var o=0;o<t.length;o++)if(t[o].x!==e[o].x||t[o].y!==e[o].y)return!1;return!0}function o(t,e,o){for(var l=0;l<t.length;l++)if(t[l].containsPoint(e))return o.index=l,!0;return!1}function l(t,e,o){for(var l=t.components[0].components,i=new SuperMap.Geometry.Point(0,0),n=0;n<l.length-1;n++)if(SuperMap.Plot.PlottingUtil.intersectLineSegs(e,o,l[n],l[n+1],i))return i;return null}function i(t,e){if(0===t.length||SuperMap.Plot.PlottingUtil.equalFuzzy(e[0].x,e[e.length-1].x,.5)&&SuperMap.Plot.PlottingUtil.equalFuzzy(e[0].y,e[e.length-1].y,.5))return e;for(var o=e[e.length-1],l=0;l<t.length;l++)if(SuperMap.Plot.PlottingUtil.equalFuzzy(t[l][0].x,o.x,.5)&&SuperMap.Plot.PlottingUtil.equalFuzzy(t[l][0].y,o.y,.5)){e=e.concat(t[l]),t.splice(l,1);var n=i(t,e);if(void 0!==n&&0!==n.length)return n}else if(SuperMap.Plot.PlottingUtil.equalFuzzy(t[l][t[l].length-1].x,o.x,.5)&&SuperMap.Plot.PlottingUtil.equalFuzzy(t[l][t[l].length-1].y,o.y,.5)){for(var r=t[l].length-1;r>=0;r--)e.push(t[l][r]);t.splice(l,1);var a=i(t,e);if(void 0!==a&&0!==a.length)return a}return e}if(SuperMap.Plot.PlottingUtil.isArray(t)||(t=[t]),0===t.length)return[];if(1===t.length)return t[0];for(var n=0;n<t.length;n++)for(var r=n+1;r<t.length;)e(t[n],t[r])?t.splice(r,1):r++;for(var a=[],s=0;s<t.length;s++)a.push(new SuperMap.Geometry.Polygon([new SuperMap.Geometry.LinearRing(t[s])]));for(var p=[],u=0;u<t.length;u++){var P=[],y=[],c=-1,h=-1,S=a.slice();S.splice(u,1);for(var f={},g=0;g<t[u].length;g++)if(o(S,t[u][g],f)){if(0!==y.length){var M=l(a[f.index],t[u][g-1],t[u][g]);M&&M!==t[u][g-1]&&M!==t[u][g]&&y.push(M),P.push(y),y=[]}}else{if(0===g&&(c=P.length),g===t[u].length-1&&(h=P.length),0===y.length&&void 0!==f.index){var d=l(a[f.index],t[u][g-1],t[u][g]);d&&d!==t[u][g-1]&&d!==t[u][g]&&y.push(d)}y.push(t[u][g].clone())}if(0!==y.length&&P.push(y),c<P.length&&h<P.length&&c!==h){for(var m=0;m<P[c].length;m++)P[h].push(P[c][m]);P.splice(c,1)}p=p.concat(P)}for(var v=[];0!==p.length;){var b=p[0];p.splice(0,1);var A=i(p,b);void 0!==A&&(b=A),b.length>2&&v.push(b)}return v},SuperMap.Plot.PlottingUtil.isRight=function(t,e,o){var l=e,i=o,n=e,r=t;return(i.x-l.x)*(r.y-n.y)-(r.x-n.x)*(i.y-l.y)<0},SuperMap.Plot.PlottingUtil.radian=function(t,e){var o,l,i=0;return o=e.x-t.x,l=e.y-t.y,(i=Math.atan2(l,o))<0&&(i+=2*Math.PI),i},SuperMap.Plot.PlottingUtil.findBisectorPoint=function(t,e,o,l){var i=SuperMap.Plot.PlottingUtil.radian(e,t),n=(i+SuperMap.Plot.PlottingUtil.radian(e,o))/2,r=Math.cos(n-i+Math.PI/2),a=l;SuperMap.Plot.PlottingUtil.isNear(r,.15)||(a=l/r);var s=e.x+a*Math.cos(n),p=e.y+a*Math.sin(n);return new SuperMap.Geometry.Point(s,p)},SuperMap.Plot.PlottingUtil.findPoint=function(t,e,o,l){if(t===e||Math.abs(o)<1e-18)return t;var i=SuperMap.Plot.PlottingUtil.radian(t,e)+l*Math.PI/180,n=t.x+o*Math.cos(i),r=t.y+o*Math.sin(i);return new SuperMap.Geometry.Point(n,r)},SuperMap.Plot.PlottingUtil.isSameQuadrant=function(t,e,o,l){var i=(e.x-t.x)*(l.x-o.x),n=(e.y-t.y)*(l.y-o.y);return!(Math.abs(i)<1e-18&&Math.abs(n)<1e-18)&&((i>0||Math.abs(i)<1e-18)&&(n>0||Math.abs(n)<1e-18))},SuperMap.Plot.PlottingUtil.isCross=function(t,e,o,l){var i=new SuperMap.Geometry.Point(0,0);return!(!SuperMap.Plot.PlottingUtil.intersectLineSegs(t,e,o,l,i)||i==t||i===e||i===o||i==l)},SuperMap.Plot.PlottingUtil.intersectLineSegs=function(t,e,o,l,i){if(SuperMap.Plot.PlottingUtil.equalFuzzy(t.x,e.x)&&SuperMap.Plot.PlottingUtil.equalFuzzy(t.y,e.y))return i.x=t.x,i.y=t.y,!1;if(SuperMap.Plot.PlottingUtil.equalFuzzy(o.x,l.x)&&SuperMap.Plot.PlottingUtil.equalFuzzy(o.y,l.y))return i.x=o.x,i.y=o.y,!1;var n=0,r=0;if(n=t.x>e.x?t.x:e.x,r=t.x<e.x?t.x:e.x,o.x-n>1e-16&&l.x-n>1e-16||o.x-r<-1e-16&&l.x-r<-1e-16)return!1;if(n=t.y>e.y?t.y:e.y,r=t.y<e.y?t.y:e.y,o.y-n>1e-16&&l.y-n>1e-16||o.y-r<-1e-16&&l.y-r<-1e-16)return!1;var a=e.x-t.x,s=e.y-t.y,p=l.x-o.x,u=l.y-o.y,P=t.x-o.x,y=t.y-o.y,c=a*u-p*s,h=c;if(Math.abs(a)>1e-18&&Math.abs(p)>1e-18&&(h/=a*p),Math.abs(h)<1e-18)return t===o?(i.x=t.x,i.y=t.y,!SuperMap.Plot.PlottingUtil.isSameQuadrant(t,e,o,l)):e===l?(i.x=e.x,i.y=e.y,!SuperMap.Plot.PlottingUtil.isSameQuadrant(t,e,o,l)):t===l?(i.x=t.x,i.y=t.y,SuperMap.Plot.PlottingUtil.isSameQuadrant(t,e,o,l)):e===o&&(i.x=e.x,i.y=e.y,SuperMap.Plot.PlottingUtil.isSameQuadrant(t,e,o,l));var S=(a*y-s*P)/c,f=(p*y-u*P)/c;return!(S<0&&(Math.abs(S*p)>1e-16||Math.abs(S*u)>1e-16))&&(!(S>1&&(Math.abs((S-1)*p)>1e-16||Math.abs((S-1)*u)>1e-16))&&(!(f<0&&(Math.abs(f*a)>1e-16||Math.abs(f*s)>1e-16))&&(!(f>1&&(Math.abs((f-1)*a)>1e-16||Math.abs((f-1)*s)>1e-16))&&(Math.abs(S)<1e-18?(i.x=o.x,i.y=o.y,!0):Math.abs(S-1)<1e-18?(i.x=l.x,i.y=l.y,!0):Math.abs(f)<1e-18?(i.x=t.x,i.y=t.y,!0):Math.abs(f-1)<1e-18?(i.x=e.x,i.y=e.y,!0):!(S<0&&(Math.abs(S*p)>1e-16||Math.abs(S*u)>1e-16))&&(!(S>1&&(Math.abs((S-1)*p)>1e-16||Math.abs((S-1)*u)>1e-16))&&(!(f<0&&(Math.abs(f*a)>1e-16||Math.abs(f*s)>1e-16))&&(!(f>1&&(Math.abs((f-1)*a)>1e-16||Math.abs((f-1)*s)>1e-16))&&(i.x=S*p+o.x,i.y=S*u+o.y,!0))))))))},SuperMap.Plot.PlottingUtil.parallel=function(t,e){var o=[],l=t.length;if(!t||null==t||t.length<2)return o;var i=!1;t.length>3&&t[0].x===t[t.length-1].x&&t[0].y===t[t.length-1].y&&(i=!0),i?(o[0]=SuperMap.Plot.PlottingUtil.findBisectorPoint(t[t.length-2],t[0],t[1],e),o[t.length-1]=o[0]):(o[0]=SuperMap.Plot.PlottingUtil.findPoint(t[0],t[1],e,90),o[t.length-1]=SuperMap.Plot.PlottingUtil.findPoint(t[t.length-1],t[t.length-2],-e,90));for(var n=t[0],r=t[1],a=t[1],s=1;s<t.length-1;s++)if(r=t[s],t[s]!==t[s-1]&&(n=t[s-1]),t[s]!==t[s+1]){a=t[s+1];var p=SuperMap.Plot.PlottingUtil.findBisectorPoint(n,r,a,e);SuperMap.Plot.PlottingUtil.isCross(n,o[s-1],r,p)&&(p=o[s-1]),o[s]=p}else{for(var u=s;u<l-1;){if(t[u]!==t[u+1]){a=t[u+1];break}u++}if(u<l-1){var P=SuperMap.Plot.PlottingUtil.FindBisectorPoint(n,r,a,e);for(SuperMap.Plot.PlottingUtil.isCross(n,o[s-1],r,P)&&(P=o[s-1]);s<u;)o[s]=P,s++;s=u-1}}return o},SuperMap.Plot.PlottingUtil.distance=function(t,e){return Math.sqrt((t.x-e.x)*(t.x-e.x)+(t.y-e.y)*(t.y-e.y))},SuperMap.Plot.PlottingUtil.projectPoint=function(t,e,o){if(e===o)return e;var l=new SuperMap.Geometry.Point(0,0),i=o.x-e.x,n=e.y-o.y,r=i*i,a=n*n,s=i*n,p=i*i+n*n;return l.x=(s*(e.y-t.y)+e.x*a+t.x*r)/p,l.y=(s*(e.x-t.x)+e.y*r+t.y*a)/p,l},SuperMap.Plot.PlottingUtil.pointToLineDis=function(t,e,o){var l=SuperMap.Plot.PlottingUtil.projectPoint(t,e,o);return SuperMap.Plot.PlottingUtil.distance(t,l)},SuperMap.Plot.PlottingUtil.pointToPloyLineDis=function(t,e,o){if(e===o)return SuperMap.Plot.PlottingUtil.distance(t,e);var l=(e.x-t.x)*(e.x-t.x)+(e.y-t.y)*(e.y-t.y),i=(o.x-t.x)*(o.x-t.x)+(o.y-t.y)*(o.y-t.y),n=(e.x-o.x)*(e.x-o.x)+(e.y-o.y)*(e.y-o.y),r=(l+n-i)/(2*n);r<0?r=0:r>1&&(r=1);var a=(o.x-e.x)*r+e.x,s=(o.y-e.y)*r+e.y,p=(a-t.x)*(a-t.x)+(s-t.y)*(s-t.y);return Math.sqrt(p)},SuperMap.Plot.PlottingUtil.isCounterClockwise=function(t,e,o){return(o.x-e.x)*(t.y-e.y)-(t.x-e.x)*(o.y-e.y)>0},SuperMap.Plot.PlottingUtil.clearSamePts=function(t){for(var e=t.length,o=0;o<e-1;)SuperMap.Plot.PlottingUtil.equalFuzzy(t[o].x,t[o+1].x)&&SuperMap.Plot.PlottingUtil.equalFuzzy(t[o].y,t[o+1].y)?(t.splice(o,1),e--):o++;return t},SuperMap.Plot.PlottingUtil.getBeizerCtrlPt=function(t){var e=[],o=t.length;if(o<3)for(var l=0;l<o;++l)e[l]=t[l].clone();else{for(var i=0,n=0;n<3*o-2;n+=3)e[n]=t[i].clone(),e[n+1]=new SuperMap.Geometry.Point(0,0),e[n+2]=new SuperMap.Geometry.Point(0,0),i++;for(var r=1;r<o-1;r++)SuperMap.Plot.PlottingUtil.getTrianglePoints(8,3,t[r-1],t[r],t[r+1],e[3*r-1],e[3*r+1]);SuperMap.Plot.PlottingUtil.getTrapezoidPoints(.6,e[0],e[3],e[2],e[1]),SuperMap.Plot.PlottingUtil.getTrapezoidPoints(.6,e[3*o-3],e[3*o-6],e[3*o-5],e[3*o-4]),e[3*o-1]=e[3*o-2]=t[o-1].clone()}return e},SuperMap.Plot.PlottingUtil.generateBeizerPointsNoCtrlPt=function(t,e){var o=t.slice();!0===e&&o.push(o[0]);var l=SuperMap.Plot.PlottingUtil.getBeizerCtrlPt(o);return SuperMap.Plot.PlottingUtil.generateBeizerPointsWithCtrlPt(l)},SuperMap.Plot.PlottingUtil.generateBeizerPointsWithCtrlPt=function(t){var e=t.length,o=[];if(t.length<3)for(var l=0;l<e;l++)o[l]=t[l].clone();else{e/=3;for(var i=0;i<3*e&&!(i+4>=3*e);i+=3){var n=t[i].x,r=t[i].y,a=t[i+1].x,s=t[i+1].y,p=t[i+2].x,u=t[i+2].y,P=t[i+3].x,y=t[i+3].y;if(SuperMap.Plot.PlottingUtil.equalFuzzy(n,a,1e-10)&&SuperMap.Plot.PlottingUtil.equalFuzzy(r,s,1e-10)&&SuperMap.Plot.PlottingUtil.equalFuzzy(p,P,1e-10)&&SuperMap.Plot.PlottingUtil.equalFuzzy(u,y,1e-10))o.push(new SuperMap.Geometry.Point(n,r)),o.push(new SuperMap.Geometry.Point(p,u));else for(var c=0;c<=1;c+=.03125){var h,S,f,g,M=c*c,d=M*c;h=1-3*c+3*M-d,S=3*(c-2*M+d),f=3*(M-d),g=d;var m=new SuperMap.Geometry.Point(h*n+S*a+f*p+g*P,h*r+S*s+f*u+g*y);o.push(m)}}}return o},SuperMap.Plot.PlottingUtil.computeBeizerPoints=function(t,e,o){var l=SuperMap.Plot.PlottingUtil.polylineDistance(e),i=[],n=[],r=[];if(t){n.push(e[0]);var a=o[0],s=o[1],p=e[0].x+l*a,u=e[0].y+l*s;n.push(new SuperMap.Geometry.Point(p,u)),i.push(new SuperMap.Geometry.Point(p,u));for(var P=1;P<e.length-1;P++){var y=o[4*P-2],c=o[4*P-1],h=e[P].x+l*y,S=e[P].y+l*c;n.push(new SuperMap.Geometry.Point(h,S)),i.push(new SuperMap.Geometry.Point(h,S)),n.push(new SuperMap.Geometry.Point(e[P].x,e[P].y)),y=o[4*P],c=o[4*P+1],h=e[P].x+l*y,S=e[P].y+l*c,n.push(new SuperMap.Geometry.Point(h,S)),i.push(new SuperMap.Geometry.Point(h,S))}var f=e.length-1;a=o[4*f-2],s=o[4*f-1],p=e[f].x+l*a,u=e[f].y+l*s,n.push(new SuperMap.Geometry.Point(p,u)),i.push(new SuperMap.Geometry.Point(p,u)),n.push(new SuperMap.Geometry.Point(e[f].x,e[f].y)),n.push(new SuperMap.Geometry.Point(e[f].x,e[f].y)),n.push(new SuperMap.Geometry.Point(e[f].x,e[f].y)),r=SuperMap.Plot.PlottingUtil.generateBeizerPointsWithCtrlPt(n)}else{o=[];var g=(n=SuperMap.Plot.PlottingUtil.getBeizerCtrlPt(e))[1].x-n[0].x,M=n[1].y-n[0].y,d=g/l,m=M/l;o.push(d),o.push(m),i.push(n[1]);for(var v=1;v<e.length-1;v++){var b=(n[3*v-1].x-n[3*v].x)/l,A=(n[3*v-1].y-n[3*v].y)/l;o.push(b),o.push(A),i.push(n[3*v-1]);var L=(n[3*v+1].x-n[3*v].x)/l,T=(n[3*v+1].y-n[3*v].y)/l;o.push(L),o.push(T),i.push(n[3*v+1])}d=(g=n[3*(e.length-1)-1].x-n[3*(e.length-1)].x)/l,m=(M=n[3*(e.length-1)-1].y-n[3*(e.length-1)].y)/l,o.push(d),o.push(m),i.push(n[3*(e.length-1)-1]),r=SuperMap.Plot.PlottingUtil.generateBeizerPointsWithCtrlPt(n)}return{scalePoints:i,scaleValues:o,beizerPoints:r}},SuperMap.Plot.PlottingUtil.getTrianglePoints=function(t,e,o,l,i,n,r){var a=o.x,s=o.y,p=l.x,u=l.y,P=i.x,y=i.y;SuperMap.Plot.PlottingUtil.getPointsByTriangle(t,e,a,s,p,u,P,y,n,r)},SuperMap.Plot.PlottingUtil.getPointsByTriangle=function(t,e,o,l,i,n,r,a,s,p){var u=i+(r-o),P=n+(a-l),y=0,c=0;if(o==r)y=o,c=P;else if(l==a)y=u,c=l;else{var h=1*(a-l)/(r-o),S=l-o*h;c=h*(y=(P+u/h-S)/(h+1/h))+S}var f=Math.sqrt(1*(i-u)*(i-u)+1*(n-P)*(n-P)),g=Math.sqrt(1*(o-i)*(o-i)+1*(l-n)*(l-n)),M=Math.sqrt(1*(i-r)*(i-r)+1*(n-a)*(n-a)),d=0;u=y+(u-y)*(d=g+M?1+(M-g)*t/(M+g):1),P=c+(P-c)*d,0==f&&(f=1),s.x=i+(i-u)*g/(e*f),s.y=n+(n-P)*g/(e*f),p.x=i+(u-i)*M/(e*f),p.y=n+(P-n)*M/(e*f)},SuperMap.Plot.PlottingUtil.getTrapezoidPoints=function(t,e,o,l,i){var n=e.x,r=e.y,a=o.x,s=o.y,p=l.x,u=l.y;return SuperMap.Plot.PlottingUtil.getPointsByTrapezoid(t,n,r,a,s,p,u,i)},SuperMap.Plot.PlottingUtil.getPointsByTrapezoid=function(t,e,o,l,i,n,r,a){var s=0,p=0,u=0,P=0;if(0==Math.abs(o-i))s=e+l-n,p=r;else if(0==Math.abs(e-l))s=n,p=o+i-r;else{var y=1*(o-i)/(e-l),c=r-y*n;p=y*(s=((i+o)/2+(e+l)/(2*y)-c)/(y+1/y))+c,s=2*s-n,p=2*p-r}var h=Math.sqrt(1*(e-l)*(e-l)+1*(o-i)*(o-i)),S=Math.sqrt(1*(e-s)*(e-s)+1*(o-p)*(o-p));return h>0?(u=e+(l-e)*S/h,P=o+(i-o)*S/h):(u=e,P=o),a.x=u+(s-u)*t,a.y=P+(p-P)*t,a},SuperMap.Plot.PlottingUtil.pointIsOnPolyLine=function(t,e,o){if(SuperMap.Plot.PlottingUtil.equalFuzzy(t.x,e.x)&&SuperMap.Plot.PlottingUtil.equalFuzzy(t.y,e.y)||SuperMap.Plot.PlottingUtil.equalFuzzy(t.x,o.x)&&SuperMap.Plot.PlottingUtil.equalFuzzy(t.y,o.y))return!0;var l=t.x-e.x,i=t.y-e.y,n=t.x-o.x,r=t.y-o.y,a=(l*n+i*r)/(Math.sqrt(l*l+i*i)*Math.sqrt(n*n+r*r));return!!SuperMap.Plot.PlottingUtil.equalFuzzy(a,-1,.1)},SuperMap.Plot.PlottingUtil.pointIsOnPolyLines=function(t,e){if(!e||0===e.length)return{isOnPolyLine:!1,index:-1};for(var o=!1,l=-1,i=0;i<e.length-1;i++)if(o=SuperMap.Plot.PlottingUtil.pointIsOnPolyLine(t,e[i],e[i+1])){l=i;break}return{isOnPolyLine:o,index:l}},SuperMap.Plot.PlottingUtil.computePointToLineMinDis=function(t,e){for(var o=-1,l=-1,i=0;i<e.length-1;i++){var n=e[i],r=e[i+1],a=SuperMap.Plot.PlottingUtil.projectPoint(t,n,r);if(SuperMap.Plot.PlottingUtil.pointIsOnPolyLine(a,n,r)){var s=SuperMap.Plot.PlottingUtil.distance(t,a);o<0?(o=s,l&&(l=i)):o>s&&(o=s,l=i)}}return l&&o<0&&(l=-1),{minDis:o,index:l}},SuperMap.Plot.PlottingUtil.findPointInLine=function(t,e,o){if(t===e||Math.abs(o)<1e-18)return t;var l=e.x-t.x,i=e.y-t.y,n=o/Math.sqrt(l*l+i*i),r=t.x+l*n,a=t.y+i*n;return new SuperMap.Geometry.Point(r,a)},SuperMap.Plot.PlottingUtil.operateControlPoints=function(t){var e=t,o=e.length;if(3==o){var l=new SuperMap.Geometry.Point(0,0);SuperMap.Plot.PlottingUtil.getTrapezoidPoints(1,t[0],t[1],t[2],l),e.push(l)}if(o>4&&(e.splice(4,o-4),o=e.length),SuperMap.Plot.PlottingUtil.pointIsRightToLine(t[0],t[1],e[2])){var i=e[0];e[0]=e[1],e[1]=i}if(!SuperMap.Plot.PlottingUtil.pointIsRightToVerticle(e[0],e[1],e[2])){var n=e[2];e[2]=e[3],e[3]=n}return e},SuperMap.Plot.PlottingUtil.pointIsRightToLine=function(t,e,o){return(e.x-t.x)*(o.y-t.y)-(o.x-t.x)*(e.y-t.y)<0},SuperMap.Plot.PlottingUtil.pointIsRightToVerticle=function(t,e,o){var l=new SuperMap.Geometry.Point(.5*(e.x+t.x),.5*(e.y+t.y)),i=new SuperMap.Geometry.Point(e.x-t.x,e.y-t.y),n=new SuperMap.Geometry.Point(o.x-l.x,o.y-l.y);return i.x*n.x+i.y*n.y>0},SuperMap.Plot.PlottingUtil.linePnt=function(t,e,o){var l=SuperMap.Plot.PlottingUtil.distance(t,e);if(0==l)return t;var i=o/l;return SuperMap.Plot.PlottingUtil.findPointOnLineByRatio(i,t,e)},SuperMap.Plot.PlottingUtil.findPointOnLineByRatio=function(t,e,o){var l=new SuperMap.Geometry.Point(0,0);return l.x=e.x+(o.x-e.x)*t,l.y=e.y+(o.y-e.y)*t,l},SuperMap.Plot.PlottingUtil.rotateAngle=function(t,e,o){var l=e,i=Math.cos(l),n=Math.sin(l),r=o.x-t.x,a=o.y-t.y;return o.x=r*i-a*n+t.x,o.y=r*n+a*i+t.y,o},SuperMap.Plot.PlottingUtil.resize=function(t,e,o){return o.x=t.x+e*(o.x-t.x),o.y=t.y+e*(o.y-t.y),o},SuperMap.Plot.PlottingUtil.findPointInPolyLine=function(t,e){if(e<0||t.length<2)return{index:-1,pt:null};if(Math.abs(e)<1e-18)return{index:0,pt:t[0]};for(var o=0,l=0;l<t.length-1;l++)if((o+=SuperMap.Plot.PlottingUtil.distance(t[l],t[l+1]))>e||SuperMap.Plot.PlottingUtil.equalFuzzy(o,e)){var i=o-e,n=t[l+1],r=t[l],a=i/SuperMap.Plot.PlottingUtil.distance(n,r),s=new SuperMap.Geometry.Point(0,0);return s.x=n.x+(r.x-n.x)*a,s.y=n.y+(r.y-n.y)*a,{index:l,pt:s}}return{index:-1,pt:null}},SuperMap.Plot.PlottingUtil.polylineDistance=function(t){if(0===t.length)return 0;for(var e=0,o=0;o<t.length-1;o++)e+=SuperMap.Plot.PlottingUtil.distance(t[o],t[o+1]);return e},SuperMap.Plot.PlottingUtil.rotate=function(t,e,o,l){var i=l.x-t.x,n=l.y-t.y,r=i*e-n*o+t.x,a=i*o+n*e+t.y;return new SuperMap.Geometry.Point(r,a)},SuperMap.Plot.PlottingUtil.getIncentrePointOnSegmentByScale=function(t,e,o){var l=e.x,i=e.y,n=o.x,r=o.y,a=Math.sqrt(1*(l-n)*(l-n)+1*(i-r)*(i-r)),s=0,p=0;return 0==a?(s=l,p=i):(s=l+(n-l)*t/a,p=i+(r-i)*t/a),new SuperMap.Geometry.Point(s,p)},SuperMap.Plot.PlottingUtil.getExcentrePointOnSegmentByScale=function(t,e,o){var l=e.x,i=e.y,n=o.x,r=o.y,a=0,s=0,p=Math.sqrt(1*(l-n)*(l-n)+1*(i-r)*(i-r));return 0===p?(a=l,s=i):(a=l+(l-n)*t/p,s=i+(i-r)*t/p),new SuperMap.Geometry.Point(a,s)},SuperMap.Plot.PlottingUtil.getSidePointsOfLine=function(t,e,o){var l=e.x,i=e.y,n=o.x,r=o.y,a=Math.sqrt(1*(l-n)*(l-n)+1*(i-r)*(i-r)),s=0,p=0;0==a?(p=0,s=t):(s=t*(l-n)/a,p=t*(i-r)/a);var u=-p+n,P=+s+r,y=+p+n,c=-s+r;return{pntLeft:new SuperMap.Geometry.Point(y,c),pntRight:new SuperMap.Geometry.Point(u,P)}},SuperMap.Plot.PlottingUtil.pointProjectToSegment=function(t,e,o){var l=0,i=0,n=0,r=1,a=void 0,s=void 0;if(i=e.x!==t.x?(e.y-t.y)/(e.x-t.x):1.7976931348623157e308,n=o.x!==t.x?(o.y-t.y)/(o.x-t.x):1.7976931348623157e308,l=o.y!==e.y?(o.x-e.x)/(e.y-o.y):1.7976931348623157e308,(a=e.x>=t.x&&e.y>=t.y?1:e.x<t.x&&e.y>t.y?2:e.x<=t.x&&e.y<=t.y?3:4)==(s=o.x>t.x&&o.y>t.y?1:o.x<t.x&&o.y>t.y?2:o.x<t.x&&o.y<t.y?3:4))(i<l&&n<l||i>l&&n>l)&&(r=0);else switch(a){case 1:(4==s&&i<l||2==s&&i>l)&&(r=0);break;case 2:(1==s&&i<l||3==s&&i>l)&&(r=0);break;case 3:(2==s&&i<l||4==s&&i>l)&&(r=0);break;case 4:(3==s&&i<l||1==s&&i>l)&&(r=0)}var p=new SuperMap.Geometry.Point(0,0);return SuperMap.Plot.PlottingUtil.equalFuzzy(l-1.7976931348623157e308,0)?(p.x=t.x,p.y=e.y):SuperMap.Plot.PlottingUtil.equalFuzzy(l,0)?(p.x=e.x,p.y=t.y):(p.x=(l*(e.y-t.y)+l*l*t.x+e.x)/(l*l+1),p.y=t.y+l*(p.x-t.x)),{isOnline:1===r,projectPoint:p}},SuperMap.Plot.PlottingUtil.coordinateTrans=function(t,e,o){var l=SuperMap.Plot.PlottingUtil.distance(new SuperMap.Geometry.Point(0,0),e),i=SuperMap.Plot.PlottingUtil.radian(new SuperMap.Geometry.Point(0,0),e)+o*Math.PI/180,n=l*Math.cos(i)+t.x,r=l*Math.sin(i)+t.y;return new SuperMap.Geometry.Point(n,r)},SuperMap.Plot.PlottingUtil.triangleHeightAndPartBottomLen=function(t,e,o){var l=void 0,i=void 0,n=(o.x-e.x)*(o.x-e.x)+(o.y-e.y)*(o.y-e.y),r=Math.sqrt((t.x-e.x)*(t.x-e.x)+(t.y-e.y)*(t.y-e.y)),a=Math.sqrt((t.x-o.x)*(t.x-o.x)+(t.y-o.y)*(t.y-o.y));if(0==a||0==r)l=0,i=0;else if(0==n)l=r,i=0;else{var s=(r*r+a*a-n)/2/r/a,p=0;s>=1?(s=1,p=0):p=Math.sqrt(1-s*s),l=a*s,i=a*p}return{dLen1:l,dLen2:i}},SuperMap.Plot.PlottingUtil.paraLine=function(t,e,o){var l=[];if(2>t.length)return l;if(o){var i=t[1].clone();i=SuperMap.Plot.PlottingUtil.rotateAngle(t[0],Math.PI/2,i),l.push(SuperMap.Plot.PlottingUtil.linePnt(t[0],i,e));for(var n=1;n<t.length-1;n++)if(!SuperMap.Plot.PlottingUtil.equalFuzzy(t[n].x,t[n+1].x)||!SuperMap.Plot.PlottingUtil.equalFuzzy(t[n].y,t[n+1].y)){for(var r=SuperMap.Plot.PlottingUtil.radian(t[n],t[n+1]),a=SuperMap.Plot.PlottingUtil.radian(t[n],t[n-1])-r;a<0;)a+=2*Math.PI;var s=a/2,p=void 0;p=s>Math.PI/2?s-Math.PI/2:Math.PI/2-s;var u=e/Math.cos(p);i=t[n+1].clone(),i=SuperMap.Plot.PlottingUtil.rotateAngle(t[n],s,i),l.push(SuperMap.Plot.PlottingUtil.linePnt(t[n],i,u))}i=t[t.length-2].clone(),i=SuperMap.Plot.PlottingUtil.rotateAngle(t[t.length-1],-1*Math.PI/2,i),l.push(SuperMap.Plot.PlottingUtil.linePnt(t[t.length-1],i,e))}else{var P=t[1].clone();P=SuperMap.Plot.PlottingUtil.rotateAngle(t[0],-Math.PI/2,P),l.push(SuperMap.Plot.PlottingUtil.linePnt(t[0],P,e));for(var y=1;y<t.length-1;y++)if(!SuperMap.Plot.PlottingUtil.equalFuzzy(t[y].x,t[y+1].x)||!SuperMap.Plot.PlottingUtil.equalFuzzy(t[y].y,t[y+1].y)){for(var c=SuperMap.Plot.PlottingUtil.radian(t[y],t[y+1]),h=SuperMap.Plot.PlottingUtil.radian(t[y],t[y-1])-c;h<0;)h+=2*Math.PI;var S=Math.PI-h/2,f=void 0;f=S>Math.PI/2?S-Math.PI/2:Math.PI/2-S;var g=e/Math.cos(f);P=t[y-1].clone(),P=SuperMap.Plot.PlottingUtil.rotateAngle(t[y],S,P),l.push(SuperMap.Plot.PlottingUtil.linePnt(t[y],P,g))}P=t[t.length-2].clone(),P=SuperMap.Plot.PlottingUtil.rotateAngle(t[t.length-1],Math.PI/2,P),l.push(SuperMap.Plot.PlottingUtil.linePnt(t[t.length-1],P,e))}return l},SuperMap.Plot.PlottingUtil.circlePoint=function(t,e,o,l){l*=Math.PI/180;var i=t.x+e*Math.cos(l),n=t.y+o*Math.sin(l);return new SuperMap.Geometry.Point(i,n)},SuperMap.Plot.PlottingUtil.getPolygonCenterPt=function(t){if(!t||0===t.length)return null;for(var e=0,o=0,l=0;l<t.length;l++)e+=t[l].x,o+=t[l].y;return new SuperMap.Geometry.Point(e/t.length,o/t.length)},SuperMap.Plot.PlottingUtil.ptIsInPolygon=function(t,e){if(!t||0===t.length)return!1;for(var o=0,l=t.length,i=0;i<l;i++){var n=t[i],r=t[(i+1)%l];if(n.y!==r.y){var a=n.y<r.y?n.y:r.y,s=n.y>r.y?n.y:r.y;if(!(e.y<a||e.y>s))(e.y-n.y)*(r.x-n.x)/(r.y-n.y)+n.x>e.x&&o++}}return o%2==1},SuperMap.Plot.PlottingUtil.projectPtOnPolyLine=function(t,e){if(2>e.length)return{index:-1,pt:null};for(var o=0;o<e.length-1;o++){var l=SuperMap.Plot.PlottingUtil.pointProjectToSegment(t,e[o],e[o+1]);if(l.isOnline)return{index:o,pt:l.projectPoint}}return{index:-1,pt:null}},SuperMap.Plot.PlottingUtil.isPloyClockwise=function(t){var e=SuperMap.Plot.PlottingUtil.clonePoints(t),o=e.length;if(!(o<3)){var l=e[0].y*(e[o-1].x-e[1].x);e.push(e[0].clone());for(var i=1;i<o;++i)l+=e[i].y*(e[i-1].x-e[i+1].x);return l>0?0:1}},SuperMap.Plot.PlottingUtil.isSamePt=function(t,e){return!(!SuperMap.Plot.PlottingUtil.equalFuzzy(t.x,e.x)||!SuperMap.Plot.PlottingUtil.equalFuzzy(t.y,e.y))},SuperMap.Plot.PlottingUtil.getPtsIndexByDistance=function(t,e){var o=SuperMap.Plot.PlottingUtil.findPointInPolyLine(e,t);return{index:o.index,pts:o.pt,bfind:-1!==o.index}},SuperMap.Plot.PlottingUtil.ptInBounds=function(t,e){return t.x>e.left&&t.x<e.right&&t.y<e.top&&t.y>e.bottom},SuperMap.Plot.PlottingUtil.InnerAngle=function(t,e,o){if(t==e||t==o)return 0;var l=SuperMap.Plot.PlottingUtil.distance(t,e),i=SuperMap.Plot.PlottingUtil.distance(t,o),n=SuperMap.Plot.PlottingUtil.distance(e,o),r=(l*l+i*i-n*n)/(2*l*i);return r>1&&SuperMap.Plot.PlottingUtil.equalFuzzy(r,1)?r=1:r<1&&SuperMap.Plot.PlottingUtil.equalFuzzy(r,-1)&&(r=-1),Math.acos(r)},SuperMap.Plot.PlottingUtil.plumbLineLen=function(t,e,o){return SuperMap.Plot.PlottingUtil.distance(t,e)*Math.sin(SuperMap.Plot.PlottingUtil.InnerAngle(e,t,o))},SuperMap.Plot.PlottingUtil.paraPolygon=function(t,e,o){var l=[],i=SuperMap.Plot.PlottingUtil.clonePoints(t),n=i.length;if(n<2)return l;var r=new SuperMap.Geometry.Point(0,0);if(o){if(n<3)r=i[1].clone(),SuperMap.Plot.PlottingUtil.rotateAngle(i[0],Math.PI,r),l.push(SuperMap.Plot.PlottingUtil.linePnt(i[0],r,e));else{for(var a=SuperMap.Plot.PlottingUtil.radian(i[0],i[1]),s=SuperMap.Plot.PlottingUtil.radian(i[0],i[i.length-1])-a;s<0;)s+=2*Math.PI;var p=s/2,u=void 0;u=p>Math.PI/2?p-Math.PI/2:Math.PI/2-p;var P=e/Math.cos(u);r=i[1].clone(),r=SuperMap.Plot.PlottingUtil.rotateAngle(i[0],p,r),l.push(SuperMap.Plot.PlottingUtil.linePnt(i[0],r,P))}for(var y=1;y<n-1;y++){for(var c=SuperMap.Plot.PlottingUtil.radian(i[y],i[y+1]),h=SuperMap.Plot.PlottingUtil.radian(i[y],i[y-1])-c;h<0;)h+=2*Math.PI;var S=h/2,f=void 0;f=S>Math.PI/2?S-Math.PI/2:Math.PI/2-S;var g=e/Math.cos(f);r=i[y+1].clone(),r=SuperMap.Plot.PlottingUtil.rotateAngle(i[y],S,r),l.push(SuperMap.Plot.PlottingUtil.linePnt(i[y],r,g))}if(n<3)r=i[n-2].clone(),SuperMap.Plot.PlottingUtil.rotateAngle(i[n-1],0,r),l.push(SuperMap.Plot.PlottingUtil.linePnt(i[n-1],r,e));else{for(var M=SuperMap.Plot.PlottingUtil.radian(i[n-1],i[0]),d=SuperMap.Plot.PlottingUtil.radian(i[n-1],i[n-2])-M;d<0;)d+=2*Math.PI;var m=d/2,v=void 0;v=m>Math.PI/2?m-Math.PI/2:Math.PI/2-m;var b=e/Math.cos(v);r=i[0].clone(),r=SuperMap.Plot.PlottingUtil.rotateAngle(i[n-1],m,r),l.push(SuperMap.Plot.PlottingUtil.linePnt(i[n-1],r,b))}}else{if(n<3){var A=i[1].clone();SuperMap.Plot.PlottingUtil.rotateAngle(i[0],0,A),l.push(SuperMap.Plot.PlottingUtil.linePnt(i[0],A,e))}else{for(var L=SuperMap.Plot.PlottingUtil.radian(i[0],i[1]),T=SuperMap.Plot.PlottingUtil.radian(i[0],i[n-1])-L;T<0;)T+=2*Math.PI;var x=Math.PI-T/2,O=void 0;O=x>Math.PI/2?x-Math.PI/2:Math.PI/2-x;var w=e/Math.cos(O);r=i[n-1].clone(),r=SuperMap.Plot.PlottingUtil.rotateAngle(i[0],x,r),l.push(SuperMap.Plot.PlottingUtil.linePnt(i[0],r,w))}for(var U=1;U<n-1;U++){for(var R=SuperMap.Plot.PlottingUtil.radian(i[U],i[U+1]),_=SuperMap.Plot.PlottingUtil.radian(i[U],i[U-1])-R;_<0;)_+=2*Math.PI;var E=Math.PI-_/2,C=void 0;C=E>Math.PI/2?E-Math.PI/2:Math.PI/2-E;var I=e/Math.cos(C);r=i[U-1].clone(),r=SuperMap.Plot.PlottingUtil.rotateAngle(i[U],E,r),l.push(SuperMap.Plot.PlottingUtil.linePnt(i[U],r,I))}if(n<3)r=i[n-2].clone(),SuperMap.Plot.PlottingUtil.rotateAngle(i[n-1],Math.PI,r),l.push(SuperMap.Plot.PlottingUtil.linePnt(i[n-1],r,e));else{for(var B=SuperMap.Plot.PlottingUtil.radian(i[n-1],i[0]),G=SuperMap.Plot.PlottingUtil.radian(i[n-1],i[n-2])-B;G<0;)G+=2*Math.PI;var D=Math.PI-G/2,V=void 0;V=D>Math.PI/2?D-Math.PI/2:Math.PI/2-D;var N=e/Math.cos(V);r=i[n-2].clone(),r=SuperMap.Plot.PlottingUtil.rotateAngle(i[n-1],D,r),l.push(SuperMap.Plot.PlottingUtil.linePnt(i[n-1],r,N))}}return l},SuperMap.Plot.PlottingUtil.getOutRectangleDis=function(t){if(2>t.length)return 0;for(var e=t[0].x,o=t[0].x,l=t[0].y,i=t[0].y,n=1;n<t.length;n++)e<t[n].x&&(e=t[n].x),o>t[n].x&&(o=t[n].x),l<t[n].y&&(l=t[n].y),i>t[n].y&&(i=t[n].y);return SuperMap.Plot.PlottingUtil.distance(new SuperMap.Geometry.Point(e,l),new SuperMap.Geometry.Point(o,i))},SuperMap.Plot.PlottingUtil.clonePoints=function(t){var e=[];if(void 0===t||null===t)return e;if(SuperMap.Plot.PlottingUtil.isArray(t)||(t=[t]),t&&null!=t)for(var o=0;o<t.length;o++)void 0!==t[o]&&null!==t[o]&&e.push(t[o].clone());return e},SuperMap.Plot.PlottingUtil.extend=function(t,e){if("function"==typeof SuperMap.Util.extend)return SuperMap.Util.extend(t,e);if(t=t||{},e){for(var o in e){var l=e[o];void 0!==l&&(t[o]=l)}!("function"==typeof window.Event&&e instanceof window.Event)&&e.hasOwnProperty&&e.hasOwnProperty("toString")&&(t.toString=e.toString)}return t},SuperMap.Plot.PlottingUtil.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)},SuperMap.Plot.PlottingUtil.indexOf=function(t,e){if(null==t)return-1;if("function"==typeof t.indexOf)return t.indexOf(e);for(var o=0,l=t.length;o<l;o++)if(t[o]===e)return o;return-1},SuperMap.Plot.PlottingUtil.copyAttributes=function(t,e){if(t=t||{},e)for(var o in e){var l=e[o];void 0!==l&&"CLASS_NAME"!==o&&"function"!=typeof l&&(t[o]=l)}return t},SuperMap.Plot.PlottingUtil.cloneObject=function(t){if(null===t||"object"!==(void 0===t?"undefined":l(t)))return t;if(t instanceof Date){var e=new Date;return e.setTime(t.getTime()),e}if(t instanceof Array)return t.slice(0);if(t instanceof Object){var o={};for(var i in t)t.hasOwnProperty(i)&&(o[i]=SuperMap.Plot.PlottingUtil.cloneObject(t[i]));return o}throw new Error("Unable to copy obj! Its type isn't supported.")},SuperMap.Plot.PlottingUtil.rad=function(t){return t*Math.PI/180},SuperMap.Plot.PlottingUtil.deg=function(t){return 180*t/Math.PI},SuperMap.Plot.PlottingUtil.VincentyConstants={a:6378137,b:6356752.3142,f:1/298.257223563},SuperMap.Plot.PlottingUtil.distVincenty=function(t,e){var o,l,i,n=SuperMap.Plot.PlottingUtil.VincentyConstants,r=n.a,a=n.b,s=n.f;"undefined"!=typeof L&&void 0!==L.LatLng&&t instanceof L.LatLng&&e instanceof L.LatLng?(o=SuperMap.Plot.PlottingUtil.rad(e.lng-t.lng),l=Math.atan((1-s)*Math.tan(SuperMap.Plot.PlottingUtil.rad(t.lat))),i=Math.atan((1-s)*Math.tan(SuperMap.Plot.PlottingUtil.rad(e.lat)))):(o=SuperMap.Plot.PlottingUtil.rad(e.lon-t.lon),l=Math.atan((1-s)*Math.tan(SuperMap.Plot.PlottingUtil.rad(t.lat))),i=Math.atan((1-s)*Math.tan(SuperMap.Plot.PlottingUtil.rad(e.lat))));for(var p=Math.sin(l),u=Math.cos(l),P=Math.sin(i),y=Math.cos(i),c=o,h=2*Math.PI,S=20;Math.abs(c-h)>1e-12&&--S>0;){var f=Math.sin(c),g=Math.cos(c),M=Math.sqrt(y*f*(y*f)+(u*P-p*y*g)*(u*P-p*y*g));if(0==M)return 0;var d=p*P+u*y*g,m=Math.atan2(M,d),v=Math.asin(u*y*f/M),b=Math.cos(v)*Math.cos(v),A=d-2*p*P/b,T=s/16*b*(4+s*(4-3*b));h=c,c=o+(1-T)*s*Math.sin(v)*(m+T*M*(A+T*d*(2*A*A-1)))}if(0==S)return NaN;var x=b*(r*r-a*a)/(a*a),O=x/1024*(256+x*(x*(74-47*x)-128));return(a*(1+x/16384*(4096+x*(x*(320-175*x)-768)))*(m-O*M*(A+O/4*(d*(2*A*A-1)-O/6*A*(4*M*M-3)*(4*A*A-3))))).toFixed(3)/1e3},SuperMap.Plot.PlottingUtil.destinationVincenty=function(t,e,o){var l,i,n=SuperMap.Plot.PlottingUtil,r=n.VincentyConstants,a=r.a,s=r.b,p=r.f;"undefined"!=typeof L&&void 0!==L.LatLng&&t instanceof L.LatLng?(l=t.lng,i=t.lat):(l=t.lon,i=t.lat);for(var u=o,P=n.rad(e),y=Math.sin(P),c=Math.cos(P),h=(1-p)*Math.tan(n.rad(i)),S=1/Math.sqrt(1+h*h),f=h*S,g=Math.atan2(h,c),M=S*y,d=1-M*M,m=d*(a*a-s*s)/(s*s),v=1+m/16384*(4096+m*(m*(320-175*m)-768)),b=m/1024*(256+m*(m*(74-47*m)-128)),A=u/(s*v),T=2*Math.PI;Math.abs(A-T)>1e-12;){var x=Math.cos(2*g+A),O=Math.sin(A),w=Math.cos(A);T=A,A=u/(s*v)+b*O*(x+b/4*(w*(2*x*x-1)-b/6*x*(4*O*O-3)*(4*x*x-3)))}var U=f*O-S*w*c,R=Math.atan2(f*w+S*O*c,(1-p)*Math.sqrt(M*M+U*U)),_=p/16*d*(4+p*(4-3*d)),E=Math.atan2(O*y,S*w-f*O*c)-(1-_)*p*M*(A+_*O*(x+_*w*(2*x*x-1)));return"undefined"!=typeof L&&void 0!==L.LatLng&&t instanceof L.LatLng?L.latLng(n.deg(R),l+n.deg(E)):new SuperMap.LonLat(l+n.deg(E),n.deg(R))}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.AnalysisSymbol=SuperMap.Plot.AnalysisSymbol=SuperMap.Plot.AnalysisSymbol||{};SuperMap.Plot.AnalysisSymbol.analysisBasicInfo=function(t){var e=new Object;return e.libID=t.libID,e.code=t.code,e.symbolType=t.symbolType,e.symbolName=t.symbolName,e.textContent=t.textContent,e.minEditPts=t.algoMinEditPts,e.maxEditPts=t.algoMaxEditPts,e.surroundLineType=t.surroundLineType,e},SuperMap.Plot.AnalysisSymbol.analysisDotBasicInfo=function(t){var e=SuperMap.Plot.PlottingUtil.DPI,o=new Object;o.anchorPoint=new SuperMap.Geometry.Point(t.anchorPoint.x,t.anchorPoint.y);var l=0,i=0;return void 0!==t.symbolSizeInLib?(l=Math.round(t.symbolSizeInLib.x*e/25.4/10),i=Math.round(t.symbolSizeInLib.y*e/25.4/10)):(l=Math.round(t.symbolSize.x*e/25.4/10),i=Math.round(t.symbolSize.y*e/25.4/10)),o.symbolSizeInLib=new SuperMap.Size(l,i),o.symbolSizeInLib.w=l,o.symbolSizeInLib.h=i,o.middleMarkBounds=new SuperMap.Bounds(t.middleMarkBounds.leftBottom.x,t.middleMarkBounds.leftBottom.y,t.middleMarkBounds.rightTop.x,t.middleMarkBounds.rightTop.y),o},SuperMap.Plot.AnalysisSymbol.analysisAlgoBasicInfo=function(t,e){var o=new Object;if(o.subSymbols=[],o.scalePoints=[],o.scaleValues=[],e&&t.subSymbols)for(var l=0;l<t.subSymbols.length;l++)o.subSymbols.push(new SuperMap.Plot.SubSymbol(t.libID,t.subSymbols[l]));if(t.scalePoints){o.scalePoints=[];for(var i=0;i<t.scalePoints.length;i++){var n=new SuperMap.Geometry.Point(t.scalePoints[i].x,t.scalePoints[i].y);n.tag=i,n.isScalePoint=!0,o.scalePoints.push(n)}}if(t.scaleValues)for(var r=0;r<t.scaleValues.length;r++)o.scaleValues.push(t.scaleValues[r]);return o},SuperMap.Plot.AnalysisSymbol.analysisSymbolCells=function(t,e){var o=[];if(t&&(function(t,o){if(t.innerCells&&t.innerCells.length)for(var l=0;l<t.innerCells.length;l++){var i=t.innerCells[l];if(t.symbolIsCanFill&&i.type!==SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL){var n=new Object,r=SuperMap.Plot.AnalysisSymbol.getStyle(t,e);n.type=32,n.style={fillSymbolID:r.fillSymbolID,fillColor:r.fillColor,fillOpacity:r.fillOpacity,strokeOpacity:0,strokeWidth:0,fillLimit:!1,lineColorLimit:!0,lineWidthLimit:!0},n.positionPoints=[];for(var a=0;a<i.positionPoints.length;a++){var s=new SuperMap.Geometry.Point(i.positionPoints[a].x,i.positionPoints[a].y);n.positionPoints.push(s)}o.push(n)}}}(t,o),t.innerCells)){var l=t.innerCells;if(0!==l.length)for(var i=0;i<l.length;i++)o.push(SuperMap.Plot.AnalysisSymbol.analysisInnerCell(l[i],e))}return o},SuperMap.Plot.AnalysisSymbol.analysisInnerCell=function(t,e){var o=new Object;if(o.positionPoints=[],t){if(o.type=t.type,o.surroundLineFlag=t.surroundLineFlag,o.textContent=t.textContent,o.style=SuperMap.Plot.AnalysisSymbol.getStyle(t,e),null!=t.positionPoints)for(var l=t.positionPoints,i=0;i<l.length;i++){var n=new SuperMap.Geometry.Point(l[i].x,l[i].y);o.positionPoints.push(n)}if(o.style.lineColorLimit=t.lineColorLimit,o.style.lineTypeLimit=t.lineTypeLimit,o.style.lineWidthLimit=t.lineWidthLimit,o.style.fillLimit=t.fillLimit,o.style.fillColorLimit=t.fillColorLimit,o.style.fontColorLimit=t.fontColorLimit,o.style.surroundLineLimit=t.surroundLineLimit,o.style.surroundLineFlag=t.surroundLineFlag,o.style.surroundLineType=t.surroundLineType,34==t.type?o.style.fontColorLimit=!0:o.style.fontColorLimit=t.fontColorLimit,o.type===SuperMap.Plot.SymbolType.RECTANGLESYMBOL){var r=o.positionPoints[0],a=o.positionPoints[1],s=r.clone(),p=new SuperMap.Geometry.Point(a.x,r.y),u=a.clone(),P=new SuperMap.Geometry.Point(r.x,a.y);o.positionPoints=[],o.positionPoints.push(s),o.positionPoints.push(p),o.positionPoints.push(u),o.positionPoints.push(P),o.type=SuperMap.Plot.SymbolType.ARBITRARYPOLYGONSYMBOL}o.type===SuperMap.Plot.SymbolType.TEXTSYMBOL&&(o.style.fontSizeLimit=!0)}return o},SuperMap.Plot.AnalysisSymbol.getStyle=function(t,e){function o(t){var e=t.red.toString(16);e.length<2&&(e="0"+e);var o=t.green.toString(16);o.length<2&&(o="0"+o);var l=t.blue.toString(16);return l.length<2&&(l="0"+l),"#"+e+o+l}function l(t){return"TOPLEFT"===t?"lt":"TOPCENTER"===t?"ct":"TOPRIGHT"===t?"rt":"BOTTOMLEFT"===t?"lb":"BOTTOMCENTER"===t?"cb":"BOTTOMRIGHT"===t?"rb":"MIDDLELEFT"===t?"lm":"MIDDLECENTER"===t?"cm":"MIDDLERIGHT"===t?"rm":0===t?"lt":1===t?"ct":2===t?"rt":6===t?"lb":7===t?"cb":8===t?"rb":3===t?"lm":4===t?"cm":5===t?"rm":"lt"}var i=SuperMap.Plot.PlottingUtil.DPI,n={};return t.style?(e?(n.fillSymbolID=t.style.fillSymbolID,n.fillSymbolID||(n.fill=t.style.fill)):(!1===t.style.fill?t.style.fillSymbolID=1:!0===t.style.fill&&(t.style.fillSymbolID=0),n.fillSymbolID=t.style.fillSymbolID),void 0!==t.style.strokeGradientMode&&null!=t.style.strokeGradientMode?1===t.style.strokeGradientMode?n.strokeGradientMode="LINEAR":2===t.style.strokeGradientMode?n.strokeGradientMode="RADIAL":"LINEAR"!==t.style.strokeGradientMode&&"RADIAL"!==t.style.strokeGradientMode&&(n.strokeGradientMode="NONE"):n.strokeGradientMode="NONE",t.style.strokeBackColor?void 0!==t.style.strokeBackColor.red?(n.strokeBackColor=o(t.style.strokeBackColor),n.strokeBackOpacity=(t.style.strokeBackColor.alpha/255).toFixed(2)):(n.strokeBackColor=t.style.strokeBackColor,n.strokeBackOpacity=t.style.strokeBackOpacity):t.style.fillBackColor&&(void 0!==t.style.fillBackColor.red?(n.strokeBackColor=o(t.style.fillBackColor),n.strokeBackOpacity=(t.style.fillBackColor.alpha/255).toFixed(2)):(n.strokeBackColor=t.style.strokeBackColor,n.strokeBackOpacity=t.style.strokeBackOpacity)),void 0!==t.style.fillGradientMode&&null!=t.style.fillGradientMode&&(1===t.style.fillGradientMode?n.fillGradientMode="LINEAR":2===t.style.fillGradientMode?n.fillGradientMode="RADIAL":"LINEAR"!==t.style.fillGradientMode&&"RADIAL"!==t.style.fillGradientMode&&(n.fillGradientMode="NONE")),null!=t.style.fillGradientAngle&&void 0!==t.style.fillGradientAngle?n.fillAngle=t.style.fillGradientAngle:void 0!==t.style.fillAngle&&null!=t.style.fillAngle&&(n.fillAngle=t.style.fillAngle),void 0!==t.style.fillGradientOffsetRatioX&&null!=t.style.fillGradientOffsetRatioX?n.fillCenterOffsetX=t.style.fillGradientOffsetRatioX/100:void 0!==t.style.fillCenterOffsetX&&null!=t.style.fillCenterOffsetX&&(n.fillCenterOffsetX=t.style.fillCenterOffsetX/100),void 0!==t.style.fillGradientOffsetRatioY&&null!=t.style.fillGradientOffsetRatioY?n.fillCenterOffsetY=t.style.fillGradientOffsetRatioY/100:void 0!==t.style.fillCenterOffsetY&&null!=t.style.fillCenterOffsetY&&(n.fillCenterOffsetY=t.style.fillCenterOffsetY/100),void 0!==t.style.fillForeColor&&(n.fillColor=o(t.style.fillForeColor)),void 0!==t.style.fillOpaqueRate&&(n.fillOpacity=(t.style.fillOpaqueRate/100).toFixed(2),100!==t.style.fillOpaqueRate||1===t.style.fillGradientMode&&2===t.style.fillGradientMode||(n.fillOpacity=(t.style.fillForeColor.alpha/255).toFixed(2))),void 0!==t.style.fillBackColor&&(void 0!==t.style.fillBackColor.red?n.fillBackColor=o(t.style.fillBackColor):n.fillBackColor=t.style.fillBackColor),0===t.style.fillBackOpaque?n.fillBackOpacity=0:t.style.fillBackColor&&t.style.fillBackColor.alpha?n.fillBackOpacity=(t.style.fillBackColor.alpha/255).toFixed(2):n.fillBackOpacity=t.style.fillBackOpacity,void 0!==t.style.lineColor&&(!0===e?(n.color=o(t.style.lineColor),n.opacity=(t.style.lineColor.alpha/255).toFixed(2)):(n.strokeColor=o(t.style.lineColor),n.strokeOpacity=(t.style.lineColor.alpha/255).toFixed(2))),!0===e?void 0!==t.style.lineWidth?n.weight=Math.ceil(t.style.lineWidth*i/25.4):n.weight=t.style.strokeWidth:void 0!==t.style.lineWidth?n.strokeWidth=Math.ceil(t.style.lineWidth*i/25.4):n.strokeWidth=t.style.strokeWidth,e?(n.lineSymbolID=t.style.lineSymbolID,n.lineSymbolID||(n.dashArray=t.style.dashArray),!n.dashArray&&t.style.strokeDashstyle&&("dash"===t.style.strokeDashstyle?n.lineSymbolID=1:"dot"===t.style.strokeDashstyle?n.lineSymbolID=2:"dashdot"===t.style.strokeDashstyle?n.lineSymbolID=3:n.lineSymbolID=0)):1===t.style.lineSymbolID?n.strokeDashstyle="dash":2===t.style.lineSymbolID?n.strokeDashstyle="dot":3===t.style.lineSymbolID?n.strokeDashstyle="dashdot":t.style.strokeDashstyle?n.strokeDashstyle=t.style.strokeDashstyle:n.strokeDashstyle="solid",t.textStyle2D&&null!=t.textStyle2D?(void 0!==t.textStyle2D.sizeFixed&&(n.sizeFixed=t.textStyle2D.sizeFixed),void 0!==t.textStyle2D.fontName&&(n.fontFamily=t.textStyle2D.fontName),void 0!==t.textStyle2D.fontHeight&&(n.sizeFixed?n.fontSize=Math.ceil(t.textStyle2D.fontHeight*i/25.4):n.fontSize=t.textStyle2D.fontHeight),void 0!==t.textStyle2D.foreColor&&(n.fontColor=o(t.textStyle2D.foreColor)),void 0!==t.textStyle2D.align&&(n.labelAlign=l(t.textStyle2D.align)),void 0!==t.textStyle2D.rotation&&(n.labelRotation=-t.textStyle2D.rotation),void 0!==t.textStyle2D.bold&&(n.fontWeight=-t.textStyle2D.bold),n.labelXOffset=0,n.labelYOffset=0):t.textStyle&&null!=t.textStyle&&(void 0!==t.textStyle.sizeFixed&&(n.sizeFixed=t.textStyle.sizeFixed),void 0!==t.textStyle.fontName&&(n.fontFamily=t.textStyle.fontName),void 0!==t.textStyle.fontHeight&&(n.sizeFixed?n.fontSize=Math.ceil(t.textStyle.fontHeight*i/25.4):n.fontSize=t.textStyle.fontHeight),void 0!==t.textStyle.foreColor&&(n.fontColor=o(t.textStyle.foreColor)),void 0!==t.textStyle.align&&(n.labelAlign=l(t.textStyle.align)),void 0!==t.textStyle.rotation&&(n.labelRotation=-t.textStyle.rotation),void 0!==t.textStyle.bold&&(n.fontWeight=-t.textStyle.bold),n.labelXOffset=0,n.labelYOffset=0),void 0!==t.style.fontOpacity&&(n.fontOpacity=t.style.fontOpacity),void 0!==t.style.fontStroke?n.fontStroke=t.style.fontStroke:t.textStyle2D&&void 0!==t.textStyle2D.outline&&(n.fontStroke=t.textStyle2D.outline),void 0!==t.style.fontStrokeColor?n.fontStrokeColor=t.style.fontStrokeColor:t.textStyle2D&&void 0!==t.textStyle2D.backColor&&(n.fontStrokeColor=o(t.textStyle2D.backColor)),void 0!==n.fontStrokeWidth&&(n.fontStrokeWidth=t.style.fontStrokeWidth),void 0!==t.style.fontBackground&&(n.fontBackground=t.style.fontBackground),void 0!==t.style.fontBackgroundColor&&(n.fontBackgroundColor=t.style.fontBackgroundColor),void 0!==t.style.fontShadow&&(n.fontShadow=t.style.fontShadow),void 0!==t.style.fontShadowColor&&(n.fontShadowColor=t.style.fontShadowColor),void 0!==t.style.fontShadowOffsetX&&(n.fontShadowOffsetX=t.style.fontShadowOffsetX),void 0!==t.style.fontShadowOffsetY&&(n.fontShadowOffsetY=t.style.fontShadowOffsetY),void 0!==t.style.fontSpace&&(n.fontSpace=t.style.fontSpace),void 0!==t.style.fontPercent&&(n.fontPercent=t.style.fontPercent),void 0!==t.style.fontWeight&&(n.fontWeight=t.style.fontWeight),void 0!==t.style.fontStyle&&(n.fontStyle=t.style.fontStyle),void 0!==t.surroundLineColor&&null!=t.surroundLineColor&&(n.surroundLineColor=o(t.surroundLineColor),n.surroundLineColorOpacity=(t.surroundLineColor.alpha/255).toFixed(2)),void 0!==t.surroundLineWidth2D&&null!=t.surroundLineWidth2D?n.surroundLineWidth=Math.round(t.surroundLineWidth2D*i/25.4):void 0!==t.surroundLineWidth&&null!=t.surroundLineWidth&&(n.surroundLineWidth=Math.round(t.surroundLineWidth*i/25.4)),!1===t.visibility?n.display="none":n.display="display",n):n},SuperMap.Plot.AnalysisSymbol.setStyle=function(t,e,o){var l=SuperMap.Plot.PlottingUtil.DPI;if(null!=e)return e.style||(e.style={}),e.textStyle2D||(e.textStyle2D={}),o?(e.style.fillSymbolID=t.fillSymbolID,e.style.fillSymbolID||(e.style.fill=t.fill)):(!1===t.fill?t.fillSymbolID=1:!0===t.fill&&(t.fillSymbolID=0),e.style.fillSymbolID=t.fillSymbolID),t.fillGradientMode&&(e.style.fillGradientMode=t.fillGradientMode),t.fillGradientMode&&("LINEAR"===t.fillGradientMode?e.style.fillGradientMode=1:"RADIAL"===t.fillGradientMode?e.style.fillGradientMode=2:e.style.fillGradientMode=0),t.strokeGradientMode&&("LINEAR"===t.strokeGradientMode?e.style.strokeGradientMode=1:"RADIAL"===t.strokeGradientMode?e.style.strokeGradientMode=2:e.style.strokeGradientMode=0),t.strokeBackColor&&(e.style.strokeBackColor=SuperMap.Plot.PlottingUtil.colorStringToRGB(t.strokeBackColor)),t.strokeBackOpacity&&(e.style.strokeBackColor.alpha=255*t.strokeBackOpacity),null!=t.fillAngle&&void 0!==t.fillAngle&&(e.style.fillAngle=t.fillAngle,e.style.fillGradientAngle=t.fillAngle),null!=t.fillCenterOffsetX&&void 0!==t.fillCenterOffsetX&&(e.style.fillCenterOffsetX=100*t.fillCenterOffsetX,e.style.fillGradientOffsetRatioX=100*t.fillCenterOffsetX),null!=t.fillCenterOffsetY&&void 0!==t.fillCenterOffsetY&&(e.style.fillCenterOffsetY=100*t.fillCenterOffsetY,e.style.fillGradientOffsetRatioY=100*t.fillCenterOffsetY),t.fillColor&&(e.style.fillForeColor=SuperMap.Plot.PlottingUtil.colorStringToRGB(t.fillColor)),void 0!==t.fillOpacity&&null!=t.fillOpacity&&(e.style.fillOpaqueRate=100*t.fillOpacity,e.style.fillForeColor.alpha=255),t.fillBackColor&&(e.style.fillBackColor=SuperMap.Plot.PlottingUtil.colorStringToRGB(t.fillBackColor)),void 0!==t.fillBackOpacity&&null!=t.fillBackOpacity&&(0===t.fillBackOpacity?(e.style.fillBackOpaque=0,e.style.fillBackColor.alpha=255):e.style.fillBackColor&&(e.style.fillBackOpaque=1,e.style.fillBackColor.alpha=255*t.fillBackOpacity)),!0===o&&t.color?e.style.lineColor=SuperMap.Plot.PlottingUtil.colorStringToRGB(t.color):t.strokeColor&&(e.style.lineColor=SuperMap.Plot.PlottingUtil.colorStringToRGB(t.strokeColor)),!0===o&&null!=t.opacity&&void 0!==t.opacity?(e.style.lineColor.alpha=255*t.opacity,e.style.lineColor.alpha<1&&(e.style.lineColor.alpha=1)):null!=t.strokeOpacity&&void 0!==t.strokeOpacity&&(e.style.lineColor.alpha=255*t.strokeOpacity,e.style.lineColor.alpha<1&&(e.style.lineColor.alpha=1)),!0===o&&t.weight?e.style.lineWidth=25.4*t.weight/l:t.strokeWidth&&(e.style.lineWidth=25.4*t.strokeWidth/l),o?(e.style.lineSymbolID=t.lineSymbolID,e.style.lineSymbolID||(e.style.dashArray=t.dashArray)):"dot"===t.strokeDashstyle?e.style.lineSymbolID=2:"dash"===t.strokeDashstyle||"longdash"===t.strokeDashstyle?e.style.lineSymbolID=1:"dashdot"===t.strokeDashstyle||"longdashdot"===t.strokeDashstyle?e.style.lineSymbolID=3:e.style.lineSymbolID=0,t.fontFamily&&(e.textStyle2D&&null!=e.textStyle2D?e.textStyle2D.fontName=t.fontFamily:e.textStyle&&null!=e.textStyle&&(e.textStyle.fontName=t.fontFamily)),t.sizeFixed&&(e.textStyle2D&&null!=e.textStyle2D?e.textStyle2D.sizeFixed=t.sizeFixed:e.textStyle&&null!=e.textStyle&&(e.textStyle.sizeFixed=t.sizeFixed)),t.fontSize&&(e.textStyle2D&&null!=e.textStyle2D?t.sizeFixed?e.textStyle2D.fontHeight=25.4*t.fontSize/l:e.textStyle2D.fontHeight=t.fontSize:e.textStyle&&null!=e.textStyle&&(t.sizeFixed?e.textStyle.fontHeight=25.4*t.fontSize/l:e.textStyle.fontHeight=t.fontSize)),t.fontWeight&&(e.textStyle2D&&null!=e.textStyle2D?e.textStyle2D.bold=t.fontWeight:e.textStyle&&null!=e.textStyle&&(e.textStyle.bold=t.fontWeight)),t.fontColor&&(e.textStyle2D&&null!=e.textStyle2D?e.textStyle2D.foreColor=SuperMap.Plot.PlottingUtil.colorStringToRGB(t.fontColor):e.textStyle&&null!=e.textStyle&&(e.textStyle.foreColor=SuperMap.Plot.PlottingUtil.colorStringToRGB(t.fontColor))),t.labelRotation&&(e.textStyle2D&&null!=e.textStyle2D?e.textStyle2D.rotation=-t.labelRotation:e.textStyle&&null!=e.textStyle&&(e.textStyle.rotation=-t.labelRotation)),void 0!==t.fontOpacity&&(e.style.fontOpacity=t.fontOpacity),void 0!==t.fontStroke&&(e.textStyle2D.outline=t.fontStroke),void 0!==t.fontStrokeColor&&(e.textStyle2D.backColor=SuperMap.Plot.PlottingUtil.colorStringToRGB(t.fontStrokeColor)),void 0!==t.fontStrokeWidth&&(e.style.fontStrokeWidth=t.fontStrokeWidth),void 0!==t.fontBackground&&(e.style.fontBackground=t.fontBackground),void 0!==t.fontBackgroundColor&&(e.style.fontBackgroundColor=t.fontBackgroundColor),void 0!==t.fontShadow&&(e.style.fontShadow=t.fontShadow),void 0!==t.fontShadowColor&&(e.style.fontShadowColor=t.fontShadowColor),void 0!==t.fontShadowOffsetX&&(e.style.fontShadowOffsetX=t.fontShadowOffsetX),void 0!==t.fontShadowOffsetY&&(e.style.fontShadowOffsetY=t.fontShadowOffsetY),void 0!==t.fontSpace&&(e.style.fontSpace=t.fontSpace),void 0!==t.fontPercent&&(e.style.fontPercent=t.fontPercent),void 0!==t.fontWeight&&(e.style.fontWeight=t.fontWeight),void 0!==t.fontStyle&&(e.style.fontStyle=t.fontStyle),t.surroundLineColor&&(e.surroundLineColor=SuperMap.Plot.PlottingUtil.colorStringToRGB(t.surroundLineColor)),null!=t.surroundLineColorOpacity&&void 0!==t.surroundLineColorOpacity&&(e.surroundLineColor.alpha=255*t.surroundLineColorOpacity),t.surroundLineWidth&&(e.surroundLineWidth2D=25.4*t.surroundLineWidth/l),void 0!==t.labelAlign&&("lt"===t.labelAlign?e.textStyle2D&&null!=e.textStyle2D?e.textStyle2D.align=0:e.textStyle&&null!=e.textStyle&&(e.textStyle.align=0):"ct"===t.labelAlign?e.textStyle2D&&null!=e.textStyle2D?e.textStyle2D.align=1:e.textStyle&&null!=e.textStyle&&(e.textStyle.align=1):"rt"===t.labelAlign?e.textStyle2D&&null!=e.textStyle2D?e.textStyle2D.align=2:e.textStyle&&null!=e.textStyle&&(e.textStyle.align=2):"lb"===t.labelAlign?e.textStyle2D&&null!=e.textStyle2D?e.textStyle2D.align=6:e.textStyle&&null!=e.textStyle&&(e.textStyle.align=6):"cb"===t.labelAlign?e.textStyle2D&&null!=e.textStyle2D?e.textStyle2D.align=7:e.textStyle&&null!=e.textStyle&&(e.textStyle.align=7):"rb"===t.labelAlign?e.textStyle2D&&null!=e.textStyle2D?e.textStyle2D.align=8:e.textStyle&&null!=e.textStyle&&(e.textStyle.align=8):"lm"===t.labelAlign?e.textStyle2D&&null!=e.textStyle2D?e.textStyle2D.align=3:e.textStyle&&null!=e.textStyle&&(e.textStyle.align=3):"cm"===t.labelAlign?e.textStyle2D&&null!=e.textStyle2D?e.textStyle2D.align=4:e.textStyle&&null!=e.textStyle&&(e.textStyle.align=4):"rm"===t.labelAlign&&(e.textStyle2D&&null!=e.textStyle2D?e.textStyle2D.align=5:e.textStyle&&null!=e.textStyle&&(e.textStyle.align=5))),t.display&&"none"===t.display?e.visibility=!1:e.visibility=!0,t},SuperMap.Plot.AnalysisSymbol.mergeDefaultStyleToFeature=function(t,e,o){var l=void 0,i=void 0;l=t.style,i=!0!==o?t.geometry:t,e&&!0===e.defaultFlag&&!1===i.isEdit&&(i.surroundLineType=e.surroundLineType,l.surroundLineColor=e.surroundLineColor,l.surroundLineWidth=e.surroundLineWidth,l.surroundLineColorOpacity=e.surroundLineColorOpacity,l.fillBackColor=e.fillBackColor,l.fillBackOpacity=e.fillBackOpacity,l.fillGradientMode=e.fillGradientMode,l.fillCenterOffsetX=e.fillCenterOffsetX,l.fillCenterOffsetY=e.fillCenterOffsetY,l.fillAngle=e.fillAngle,!0===o?(l.color=e.lineColor,l.weight=e.lineWidth,l.opacity=e.lineOpacity,l.lineSymbolID=e.lineType,l.linecap=e.lineCap,l.linejoin=e.lineJoin):(l.strokeColor=e.lineColor,l.strokeWidth=e.lineWidth,l.strokeOpacity=e.lineOpacity,l.strokeDashstyle=e.lineType,l.strokeLinecap=e.lineCap,l.strokeLinejoin=e.lineJoin),l.fillSymbolID=e.fillSymbolID,l.fillColor=e.fillColor,l.fillOpacity=e.fillOpacity,l.fontColor=e.fontColor,l.fontOpacity=e.fontOpacity,l.fontSize=e.fontSize,l.fontFamily=e.fontFamily,l.fontWeight=e.fontWeight,l.fontStyle=e.fontStyle,l.fontStroke=e.fontStroke,l.fontStrokeColor=e.fontStrokeColor,l.fontStrokeWidth=e.fontStrokeWidth,l.fontBackground=e.fontBackground,l.fontBackgroundColor=e.fontBackgroundColor,l.fontShadow=e.fontShadow,l.fontShadowColor=e.fontShadowColor,l.fontShadowOffsetX=e.fontShadowOffsetX,l.fontShadowOffsetY=e.fontShadowOffsetY,l.fontSpace=e.fontSpace,l.fontPercent=e.fontPercent,l.strokeGradientMode=e.strokeGradientMode,l.strokeBackColor=e.strokeBackColor,l.strokeBackOpacity=e.strokeBackOpacity)},SuperMap.Plot.AnalysisSymbol.mergeSymbolDataAndServerData=function(t,e){t.hasOwnProperty("algoMinEditPts")||(t.algoMinEditPts=e.algoMinEditPts),t.hasOwnProperty("algoMaxEditPts")||(t.algoMaxEditPts=e.algoMaxEditPts),t.hasOwnProperty("innerCells")||(t.innerCells=SuperMap.Util.cloneObject(e.innerCells)),t.hasOwnProperty("symbolRanks")||(t.symbolRanks=SuperMap.Util.cloneObject(e.symbolRanks)),t.hasOwnProperty("symbolSizeInLib")||(t.symbolSizeInLib=SuperMap.Util.cloneObject(e.symbolSize)),t.hasOwnProperty("middleMarkExist")||(t.middleMarkExist=SuperMap.Util.cloneObject(e.middleMarkExist)),t.hasOwnProperty("middleMarkBounds")||(t.middleMarkBounds=SuperMap.Util.cloneObject(e.middleMarkBounds)),t.hasOwnProperty("anchorPoint")||(t.anchorPoint=SuperMap.Util.cloneObject(e.anchorPoint))},SuperMap.Plot.AnalysisSymbol.setSymbolData=function(t,e,o){null==e&&(e={}),e.hasOwnProperty("type")||(e.type="GRAPHICOBJECT"),e.hasOwnProperty("version")||(e.version=2),e.isEdit=!0,e.uuid=t.uuid,e.associatedUuid=t.associatedUuid,e.hasOwnProperty("rotate2D")?e.rotate2D.x=t.dRotate:e.rotate2D={x:t.dRotate,y:0,z:0},e.hasOwnProperty("scale2D")?e.scale2D.x=t.dScale:e.scale2D={x:t.dScale,y:0,z:0},e.libID=t.libID,e.code=t.code,e.algoMaxEditPts=t.maxEditPts,e.algoMinEditPts=t.minEditPts,e.symbolType=t.symbolType,e.symbolName=t.symbolName,e.annotationPosition=t.annotationPosition?t.annotationPosition:t.textPosition,e.textContent=t.textContent,e.scaleByMap=t.scaleByMap,e.resolution=t.resolution,e.isLocked=t.isLocked,e.note=t.note,e.custom=t.custom,e.subSymbols=[];for(var l=0;l<t.subSymbols.length;l++){var i=t.subSymbols[l];e.subSymbols.push({libID:i.libID,code:i.code,symbolData:i.symbolData,textContent:i.textContent,totalNum:i.totalNum})}e.extendProperty=[];for(var n=t.getExtendProperty().getPropertyCount(),r=0;r<n;r++){var a=t.getExtendProperty().getPropertyByIndex(r);e.extendProperty.push({key:a.key,value:a.value})}e.avoidRegions=[];for(var s=0;s<t.avoidRegions.length;s++){var p={};SuperMap.Plot.AnalysisSymbol.setStyle(t.avoidRegions[s].feature.style,p,o),e.avoidRegions.push([t.avoidRegions[s].getSymbolData(),p])}if(!0===o?SuperMap.Plot.AnalysisSymbol.setStyle(t.style,e,o):null!=t.feature&&SuperMap.Plot.AnalysisSymbol.setStyle(t.feature.style,e),t.symbolType===SuperMap.Plot.SymbolType.AIRROUTE||t.symbolType===SuperMap.Plot.SymbolType.NAVYROUTE||t.symbolType===SuperMap.Plot.SymbolType.MISSILEROUTE){for(var u in e.routeNodes=[],t.routeNodes)e.routeNodes.push(t.routeNodes[u].setSymbolData());e.arrRoutePts=t.arrRoutePts,o||SuperMap.Plot.AnalysisSymbol.setStyle(t.lineStyle,e)}else if(t.symbolType===SuperMap.Plot.SymbolType.GROUPOBJECT||t.symbolType===SuperMap.Plot.SymbolType.FLAGGROUP||t.symbolType===SuperMap.Plot.SymbolType.NAVYDEPLOYMENT||t.symbolType===SuperMap.Plot.SymbolType.AIRDEPLOYMENT){if(e.subAssociatedUuids=t.subAssociatedUuids,e.subFeatures=[],o)for(var P=0;P<t.subObjects.length;P++)e.subFeatures.push(t.subObjects[P].getSymbolData());else for(var y=0;y<t.components.length;y++)e.subFeatures.push(t.components[y].geometry.getSymbolData());0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.FLAGGROUP?e.ratio=t.ratio:0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.AIRDEPLOYMENT?(e.colNum=t.colNum,e.speceDis=t.speceDis,e.isShowTooltip=t.isShowTooltip):0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.NAVYDEPLOYMENT&&(e.colNum=t.colNum,e.speceDis=t.speceDis)}else if(0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.SYMBOLTEXT){var c=[];for(var h in t.symbolTexts)c.push(t.symbolTexts[h].setSymbolData());e.symbolTexts=c,e.addFrame=t.addFrame}else if(0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.SYMBOLTEXT1)e.space=t.space,e.offsetX=t.offsetX,e.offsetY=t.offsetY;else if(0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.SATELLITE){if(e.hasOwnProperty("scaleValues"))for(var S=0;S<t.scaleValues.length;S++)e.scaleValues.length>S?e.scaleValues[S]=t.scaleValues[S]:e.scaleValues.push(t.scaleValues[S]);else e.scaleValues=[],e.scaleValues=t.scaleValues;e.visible=t.visible,e.orbitPoints=t.orbitPoints}else if(0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.SATELLITETIMEWINDOWS)e.timeWindows=t.timeWindows;else{var f=void 0;f=!0===o?L.Util.latLngsToSuperMapPoints(t.getLatLngs()):t.controlPoints,e.hasOwnProperty("localePoints")||(e.localePoints=[]);var g=f.length;t.symbolType===SuperMap.Plot.SymbolType.ELLIPSESYMBOL&&(g=3);for(var M=0;M<g;M++)e.localePoints.length>M?(e.localePoints[M].x=f[M].x,e.localePoints[M].y=f[M].y,e.localePoints[M].hasOwnProperty("z")||(e.localePoints[M].z=0)):e.localePoints.push({x:f[M].x,y:f[M].y,z:0});if(0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.LINERELATION)e.endAssociatedUuid=t.endAssociatedUuid,e.lineRelationType=t.lineRelationType,e.startAssociatedUuid=t.startAssociatedUuid,e.subSectionCount=t.subSectionCount;else if(t.symbolType===SuperMap.Plot.SymbolType.DOTSYMBOL){e.surroundLineType=t.surroundLineType,e.symbolRank=t.symbolRank,e.negativeImage=t.negativeImage,e.space=t.space,e.flagTextSize=t.flagTextSize,e.maxScale=t.maxScale,e.minScale=t.minScale,e.textDisplay=t.textDisplay,e.actualScale=t.actualScale,void 0!==t.fontSize&&(e.fontSize=t.fontSize),void 0!==t.strokeWidth&&(e.strokeWidth=t.strokeWidth);var d=25.4*t.symbolSize.w*10/SuperMap.Plot.PlottingUtil.DPI,m=25.4*t.symbolSize.h*10/SuperMap.Plot.PlottingUtil.DPI;e.symbolSize={x:d,y:m};var v=25.4*t.symbolSizeInLib.w*10/SuperMap.Plot.PlottingUtil.DPI,b=25.4*t.symbolSizeInLib.h*10/SuperMap.Plot.PlottingUtil.DPI;e.symbolSizeInLib={x:v,y:b},e.positionOffset=t.positionOffset,e.positionOffsetType=t.positionOffsetType,e.positionOffsetX=t.positionOffsetX,e.positionOffsetY=t.positionOffsetY,!1===t.widthHeightLimit||!0===t.widthHeightLimit?e.limitWidthHeight=t.widthHeightLimit:e.limitWidthHeight=t.limitWidthHeight}else{if(e.surroundLineType=t.surroundLineType,e.hasOwnProperty("scaleValues"))for(var A=0;A<t.scaleValues.length;A++)e.scaleValues.length>A?e.scaleValues[A]=t.scaleValues[A]:e.scaleValues.push(t.scaleValues[A]);else e.scaleValues=[],e.scaleValues=t.scaleValues;e.subSymbolScaleValue=t.subSymbolScaleValue,e.baseScale=t.baseScale,e.strokeWidth=t.strokeWidth,e.polylineConnectLocationPoint=t.polylineConnectLocationPoint,22===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.ALGOSYMBOL?(e.arrowHeadType=t.arrowHeadType,e.arrowBodyType=t.arrowBodyType,e.arrowTailType=t.arrowTailType):0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.ARROWLINE?e.arrowAngle=t.arrowAngle:0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.COMBINATIONALCIRCLE?e.defaultRadius=t.defaultRadius:0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.CONCENTRICCIRCLE||(0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.LINEMARKING?(e.islocationCircle=t.islocationCircle,e.textBoxType=t.textBoxType):0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.SYMBOLTEXTBOX?(e.roundBox=t.roundBox,e.textBoxType=t.textBoxType):0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.PATHTEXT?(e.isAvoid=t.isAvoid,e.isCurve=t.isCurve,e.relLineText=t.relLineText,e.showPathLine=t.showPathLine,e.textToLineDistance=t.textToLineDistance,e.showPathLineArrow=t.showPathLineArrow):0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.ARCREGION&&(o?(e.centerPoint={x:t.centerPoint.lng,y:t.centerPoint.lat},e.circlePts=t.circlePts,e.spatialAnalystUrl=t.spatialAnalystUrl):e.centerPoint=t.centerPoint,e.endAngle=t.endAngle,e.radius=t.radius,e.radiusPosAngle=t.radiusPosAngle,e.startAngle=t.startAngle,e.textPosition=t.textPosition,e.radiusLineType=t.radiusLineType,e.radiusText=t.radiusText))}}t.symbolData=e},SuperMap.Plot.AnalysisSymbol.parseSymbolData=function(t,e,o){if(null!=e){if(void 0!==e.isEdit&&(t.isEdit=e.isEdit),e.hasOwnProperty("version")&&(t.version=e.version),t.libID=parseInt(e.libID),t.code=parseInt(e.code),t.maxEditPts=parseInt(e.algoMaxEditPts),t.minEditPts=parseInt(e.algoMinEditPts),t.symbolType=e.symbolType,t.symbolName=e.symbolName,t.textContent=e.textContent,void 0!==e.dScale?t.dScale=e.dScale:void 0!==e.scale2D&&(t.dScale=e.scale2D.x),void 0!==e.dRotate?t.dRotate=e.dRotate:void 0!==e.rotate2D&&(t.dRotate=e.rotate2D.x),void 0!==e.resolution&&(t.resolution=e.resolution),void 0!==e.uuid&&(t.uuid=e.uuid),void 0!==e.associatedUuid&&(t.associatedUuid=e.associatedUuid),void 0!==e.annotationPosition&&(o?t.annotationPosition=e.annotationPosition:t.textPosition=e.annotationPosition),void 0!==e.scaleByMap&&(t.scaleByMap=e.scaleByMap),void 0!==e.isLocked&&(t.isLocked=e.isLocked),void 0!==e.note&&(t.note=e.note),void 0!==e.custom&&(t.custom=e.custom),e.extendProperty)for(var l=0;l<e.extendProperty.length;l++){var i=e.extendProperty[l];t.extendProperty.addProperty(i.key,i.value)}if(e.hasOwnProperty("subSymbols")&&null!=e.subSymbols){t.subSymbols=[];for(var n=0;n<e.subSymbols.length;n++){var r=e.subSymbols[n].libID;void 0===r&&(r=t.libID);var a=e.subSymbols[n].code;if(void 0!==a){var s={};void 0!==e.subSymbols[n].textContent&&(s.textContent=e.subSymbols[n].textContent),void 0!==e.subSymbols[n].totalNum&&(s.totalNum=e.subSymbols[n].totalNum),void 0!==e.subSymbols[n].symbolData&&(s.symbolData=e.subSymbols[n].symbolData),t.subSymbols.push(new SuperMap.Plot.SubSymbol(r,a,s))}}}if(e.avoidRegions&&0!==e.avoidRegions.length)for(var p=0;p<e.avoidRegions.length;p++){var u={libID:0,code:SuperMap.Plot.SymbolType.AVOIDREGION,map:t.map,symbolData:e.avoidRegions[p][0]},P=null;if(o)(P=L.supermap.plotting.avoidRegion(0,SuperMap.Plot.SymbolType.AVOIDREGION,[],u)).style=SuperMap.Plot.AnalysisSymbol.getStyle(t.symbolData.avoidRegions[p][1],!0);else{P=new SuperMap.Geometry.AvoidRegion(u);var y=new SuperMap.Feature.Vector(P);y.style=SuperMap.Plot.AnalysisSymbol.getStyle(e.avoidRegions[p][1],o),P.feature=y,P.calculateParts()}t.avoidRegions.push(P)}if(!0===o&&(t.style=SuperMap.Plot.AnalysisSymbol.getStyle(e,!0)),t.symbolType===SuperMap.Plot.SymbolType.AIRROUTE||t.symbolType===SuperMap.Plot.SymbolType.NAVYROUTE||t.symbolType===SuperMap.Plot.SymbolType.MISSILEROUTE){for(var c in t.routeNodes=[],e.routeNodes){var h=new SuperMap.Plot.RouteNode;t.routeNodes.push(h.parseSymbolData(e.routeNodes[c]))}t.arrRoutePts=[];for(var S=0;S<e.arrRoutePts.length;S++){for(var f=[],g=0;g<e.arrRoutePts[S].length;g++)e.arrRoutePts[S][g].hasOwnProperty("lat")&&e.arrRoutePts[S][g].hasOwnProperty("lng")?f.push(new SuperMap.Geometry.Point(e.arrRoutePts[S][g].lng,e.arrRoutePts[S][g].lat)):void 0===e.arrRoutePts[S][g].x&&void 0===e.arrRoutePts[S][g].y||f.push(new SuperMap.Geometry.Point(e.arrRoutePts[S][g].x,e.arrRoutePts[S][g].y));o&&(f=L.Util.superMapPointsToLatLngs(f)),t.arrRoutePts.push(f)}o||(t.lineStyle=SuperMap.Plot.AnalysisSymbol.getStyle(e,!1))}else if(t.symbolType===SuperMap.Plot.SymbolType.GROUPOBJECT||t.symbolType===SuperMap.Plot.SymbolType.FLAGGROUP||t.symbolType===SuperMap.Plot.SymbolType.NAVYDEPLOYMENT||t.symbolType===SuperMap.Plot.SymbolType.AIRDEPLOYMENT){if(t.subAssociatedUuids=e.subAssociatedUuids,o){for(var M=[],d=0;d<e.subFeatures.length;d++){var m=e.subFeatures[d];m.uuid=SuperMap.Plot.PlottingUtil.generateUuid();var v=L.supermap.plotting.PlottingObject.createSymbol(m.libID,m.code,null,{symbolData:m});M.push(v)}t.subObjects=M}else for(var b=0;b<e.subFeatures.length;b++){var A=e.subFeatures[b],T=SuperMap.Geometry.PlottingGeometry.createFeature(A.libID,A.code,null,{symbolData:A,map:t.map});T.geometry.ownGroupObj=t,t.components.push(T)}0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.FLAGGROUP?(t.ratio=e.ratio,t.subFeatures=e.subFeatures):0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.AIRDEPLOYMENT?(t.colNum=e.colNum,t.speceDis=e.speceDis,t.isShowTooltip=e.isShowTooltip):0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.NAVYDEPLOYMENT&&(t.colNum=e.colNum,t.speceDis=e.speceDis)}else if(0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.SYMBOLTEXT){t.addFrame=e.addFrame,t.symbolTexts=[];for(var x=0,O=e.symbolTexts.length;x<O;x++){var w=new SuperMap.Plot.SymbolText;w.parseSymbolData(e.symbolTexts[x]),t.symbolTexts.push(w)}}else if(0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.SYMBOLTEXT1)void 0!==e.space&&(t.space=e.space),void 0!==e.offsetX&&(t.offsetX=e.offsetX),void 0!==e.offsetY&&(t.offsetY=e.offsetY);else if(0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.SATELLITE){if(e.scaleValues&&0!==e.scaleValues.length){t.scaleValues=[];for(var U=0;U<e.scaleValues.length;U++)t.scaleValues.push(e.scaleValues[U])}if(e.subSymbol&&(t.subSymbols=[e.subSymbol]),t.visible=e.visible,e.orbitPoints){t.orbitPoints=[];for(var R=0;R<e.orbitPoints.length;R++)t.orbitPoints.push(new SuperMap.Plot.OrbitPoint(e.orbitPoints[R].x,e.orbitPoints[R].y,e.orbitPoints[R].z,e.orbitPoints[R].number,e.orbitPoints[R].time))}}else if(0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.SATELLITETIMEWINDOWS){t.timeWindows=e.timeWindows;for(var _=0;_<t.timeWindows.length;_++)"Time"!==e.type&&"Number"!==e.type||(t.timeWindows[_].type=e.type)}else{if(e.localePoints){t.controlPoints=[];for(var E=0;E<e.localePoints.length;E++)t.controlPoints.push(new SuperMap.Geometry.Point(e.localePoints[E].x,e.localePoints[E].y));!0===o&&(t.latLngs=L.Util.superMapPointsToLatLngs(t.controlPoints),delete t.controlPoints)}if(0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.LINERELATION)t.endAssociatedUuid=e.endAssociatedUuid,t.lineRelationType=e.lineRelationType,t.startAssociatedUuid=e.startAssociatedUuid,t.subSectionCount=e.subSectionCount;else if(t.symbolType===SuperMap.Plot.SymbolType.DOTSYMBOL){t.surroundLineType=e.surroundLineType,t.symbolRank=e.symbolRank,t.negativeImage=e.negativeImage;var C=SuperMap.Plot.AnalysisSymbol.analysisDotBasicInfo(e);if(t.anchorPoint=C.anchorPoint,t.symbolSizeInLib=C.symbolSizeInLib,t.middleMarkBounds=C.middleMarkBounds,void 0!==e.actualScale&&(t.actualScale=e.actualScale),void 0!==e.limitWidthHeight&&(t.limitWidthHeight=e.limitWidthHeight),void 0!==e.fontSize&&(t.fontSize=e.fontSize),void 0!==e.strokeWidth&&(t.strokeWidth=e.strokeWidth),void 0!==e.space&&(t.space=e.space),void 0!==e.flagTextSize&&(t.flagTextSize=e.flagTextSize),void 0!==e.maxScale&&(t.maxScale=e.maxScale),void 0!==e.minScale&&(t.minScale=e.minScale),void 0!==e.textDisplay&&(t.textDisplay=e.textDisplay),!1!==t.isEdit){var I={x:0,y:0};-1===e.symbolSize.x&&-1===e.symbolSize.x?(I.x=e.symbolSizeInLib.x*SuperMap.Plot.PlottingUtil.DPI/25.4/10,I.y=e.symbolSizeInLib.y*SuperMap.Plot.PlottingUtil.DPI/25.4/10):(I.x=e.symbolSize.x*SuperMap.Plot.PlottingUtil.DPI/25.4/10,I.y=e.symbolSize.y*SuperMap.Plot.PlottingUtil.DPI/25.4/10),t.setSymbolSize(I.x,I.y)}void 0!==e.positionOffset&&null!==e.positionOffset&&(t.positionOffset=e.positionOffset),void 0!==e.positionOffsetType&&null!==e.positionOffsetType&&(t.positionOffsetType=e.positionOffsetType),void 0!==e.positionOffsetX&&null!==e.positionOffsetX&&(t.positionOffsetX=e.positionOffsetX),void 0!==e.positionOffsetY&&null!==e.positionOffsetY&&(t.positionOffsetY=e.positionOffsetY)}else{if(t.surroundLineType=e.surroundLineType,e.scaleValues&&0!==e.scaleValues.length){t.scaleValues=[];for(var B=0;B<e.scaleValues.length;B++)t.scaleValues.push(e.scaleValues[B])}if(void 0!==e.strokeWidth&&null!==e.strokeWidth&&(t.strokeWidth=e.strokeWidth),void 0!==e.baseScale&&null!==e.baseScale&&(t.baseScale=e.baseScale),void 0!==e.polylineConnectLocationPoint&&null!==e.polylineConnectLocationPoint&&(t.polylineConnectLocationPoint=e.polylineConnectLocationPoint),22===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.ALGOSYMBOL)void 0!==e.arrowHeadType&&null!==e.arrowHeadType&&(t.arrowHeadType=e.arrowHeadType),void 0!==e.arrowBodyType&&null!==e.arrowBodyType&&(t.arrowBodyType=e.arrowBodyType),void 0!==e.arrowTailType&&null!==e.arrowTailType&&(t.arrowTailType=e.arrowTailType);else if(0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.ARROWLINE)t.arrowAngle=e.arrowAngle,void 0!==e.arrowTypeStart&&(t.scaleValues[1]=e.arrowTypeStart),void 0!==e.arrowTypeEnd&&(t.scaleValues[2]=e.arrowTypeEnd);else if(0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.COMBINATIONALCIRCLE){if(e.radius&&0!==e.radius.length&&0===t.scaleValues.length)for(var G=0;G<e.radius.length;G++)t.scaleValues.push(e.radius[G])}else if(0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.CONCENTRICCIRCLE)t.symbolData.hasOwnProperty("startAngle")&&(t.scaleValues[0]=t.symbolData.startAngle),t.symbolData.hasOwnProperty("endAngle")&&(t.scaleValues[1]=t.symbolData.endAngle);else if(0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.LINEMARKING)void 0!==e.islocationCircle&&null!==e.islocationCircle&&(t.islocationCircle=e.islocationCircle),void 0!==e.textBoxType&&null!==e.textBoxType&&(t.textBoxType=e.textBoxType),e.tipPoint&&(this.scaleValues[1]=e.tipPoint.x,this.scaleValues[2]=e.tipPoint.y);else if(0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.SYMBOLTEXTBOX)void 0!==e.roundBox&&null!==e.roundBox&&(t.roundBox=e.roundBox),void 0!==e.textBoxType&&null!==e.textBoxType&&(t.textBoxType=e.textBoxType),e.tipPoint&&(this.scaleValues[1]=e.tipPoint.x,this.scaleValues[2]=e.tipPoint.y);else if(0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.ANNOFRAMESYMBOLM)e.tipPoint1&&(this.scaleValues[0]=e.tipPoint1.x,this.scaleValues[1]=e.tipPoint1.y),e.tipPoint2&&(this.scaleValues[2]=e.tipPoint2.x,this.scaleValues[3]=e.tipPoint2.y);else if(0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.PATHTEXT)t.isAvoid=e.isAvoid,t.isCurve=e.isCurve,t.relLineText=e.relLineText,t.showPathLine=e.showPathLine,t.textToLineDistance=e.textToLineDistance,t.showPathLineArrow=e.showPathLineArrow;else if(0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.ARCREGION){if(o){if(t.centerPoint=L.latLng(e.centerPoint.y,e.centerPoint.x),t.symbolData.circlePts){for(var D=[],V=0;V<e.circlePts.length;V++)D.push(new SuperMap.Geometry.Point(e.circlePts[V].x,e.circlePts[V].y));0!==D.length&&(t.circlePts=D)}t.spatialAnalystUrl=e.spatialAnalystUrl}else t.centerPoint=new SuperMap.Geometry.Point(e.centerPoint.x,e.centerPoint.y);t.endAngle=e.endAngle,t.radius=e.radius,t.radiusPosAngle=e.radiusPosAngle,t.startAngle=e.startAngle,t.textPosition=e.textPosition,t.radiusLineType=e.radiusLineType,t.radiusText=e.radiusText}else 0===t.libID&&t.symbolType===SuperMap.Plot.SymbolType.POLYGONREGION&&(t.symbolData.hasOwnProperty("textPosition")?t.scaleValues[1]=t.symbolData.textPosition:void 0===t.scaleValues[1]&&(t.scaleValues[1]=t.symbolData.annotationPosition))}}}}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AddPoint_WayType=e.RouteNodePrimitives=e.Primitives=e.PlottingUtil=e.AnalysisSymbol=void 0;var l=o(55),i=o(54),n=o(53),r=o(52),a=o(51);e.AnalysisSymbol=l.AnalysisSymbol,e.PlottingUtil=i.PlottingUtil,e.Primitives=n.Primitives,e.RouteNodePrimitives=r.RouteNodePrimitives,e.AddPoint_WayType=a.AddPoint_WayType},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlgoSymbolFactory=e.BasicAlgoSymbolFactory=e.AddPoint_WayType=e.Primitives=e.PlottingUtil=e.RouteNodePrimitives=e.AnalysisSymbol=void 0;var l=o(56),i=o(50);e.AnalysisSymbol=l.AnalysisSymbol,e.RouteNodePrimitives=l.RouteNodePrimitives,e.PlottingUtil=l.PlottingUtil,e.Primitives=l.Primitives,e.AddPoint_WayType=l.AddPoint_WayType,e.BasicAlgoSymbolFactory=i.BasicAlgoSymbolFactory,e.AlgoSymbolFactory=i.AlgoSymbolFactory}]);