text: import { o } from './_commonjsHelpers-268aa74f.js';
  
  /*
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
  See https://js.arcgis.com/4.19/esri/copyright.txt for details.
  */
  var i=o((function(t,i){function n(){function t(t){if("number"==typeof t)return W.Uc.hh(t);if(null==t)return null;if(null!=nt[t])return W.Uc.hh(nt[t]);throw Error("Unrecognised Unit Type")}function i(t){if("number"==typeof t)return W.Uc.hh(t);if(null==t)return null;if(null!=st[t])return W.Uc.hh(st[t]);throw Error("Unrecognised Unit Type")}function n(t){if(t)switch(t){case"loxodrome":return 1;case"great-elliptic":return 2;case"normal-section":return 3;case"shape-preserving":return 4}return 0}function s(t,i,n,s){if(null==n||n.u())return null;switch(n.F()){case W.In.Point:return t.exportPoint(i,n,s);case W.In.Polygon:return t.exportPolygon(i,n,s);case W.In.Polyline:return t.exportPolyline(i,n,s);case W.In.MultiPoint:return t.exportMultipoint(i,n,s);case W.In.Envelope:return t.exportExtent(i,n,s)}return null}function h(t,i,n,s){if(n.F()!==W.In.Point)throw Error("Geometry not Point");return t.exportPoint(i,n,s)}function r(t,i,n){return t.convertToGEGeometry(i,n)}function e(t){var i=t.wkid;t=t.wkt;var n=ht.get(i||t);return null==n&&(-1!==i&&null!=i?(n=W.je.create(i),ht.set(i,n)):t&&(n=W.je.AQ(t),ht.set(t,n))),n}function a(t){var i;if(null==t)return null;var n=e(t);return t=n.Ld(),n=n.co(),(i={}).tolerance=n,i.unitType=null==t?-1:t.od,i.unitID=null==t?-1:t.xc(),i.unitBaseFactor=null==t?0:t.gi,i.unitSquareDerivative=null==t?0:W.Uc.MG(t).xc(),i}function o(t,i,n,h){return null==n?null:(n=W.bc.clip(r(t,rt,n),r(t,rt,h),e(i)),s(t,rt,n,i))}function u(t,i,n,h){n=W.bc.jl(r(t,rt,n),r(t,rt,h),e(i)),h=[];for(var a=0;a<n.length;a++)h.push(s(t,rt,n[a],i));return h}function f(t,i,n,s){if(null==n||null==s)throw Error("Illegal Argument Exception");return W.bc.contains(r(t,rt,n),r(t,rt,s),e(i))}function c(t,i,n,s){if(null==n||null==s)throw Error("Illegal Argument Exception");return W.bc.MQ(r(t,rt,n),r(t,rt,s),e(i))}function l(i,n,s,h,a){if(null==s||null==h)throw Error("Illegal Argument Exception");return W.bc.vb(r(i,rt,s),r(i,rt,h),e(n),t(a))}function p(t,i,n,s){return !(null==n&&null!=s||null==s&&null!=n)&&W.bc.Ib(r(t,rt,n),r(t,rt,s),e(i))}function b(t,i,n,s){if(null==n||null==s)throw Error("Illegal Argument Exception");return W.bc.mU(r(t,rt,n),r(t,rt,s),e(i))}function v(t,i,n,s){if(null==n||null==s)throw Error("Illegal Argument Exception");return W.bc.touches(r(t,rt,n),r(t,rt,s),e(i))}function y(t,i,n,s){if(null==n||null==s)throw Error("Illegal Argument Exception");return W.bc.XZ(r(t,rt,n),r(t,rt,s),e(i))}function w(t,i,n,s){if(null==n||null==s)throw Error("Illegal Argument Exception");return W.bc.dR(r(t,rt,n),r(t,rt,s),e(i))}function d(t,i,n,s){if(null==n||null==s)throw Error("Illegal Argument Exception");return W.bc.WV(r(t,rt,n),r(t,rt,s),e(i))}function g(t,i,n,s,h){if(null==n||null==s)throw Error("Illegal Argument Exception");return W.bc.hC(r(t,rt,n),r(t,rt,s),e(i),h)}function x(t,i,n){if(null==n)throw Error("Illegal Argument Exception");return W.bc.AU(r(t,rt,n),e(i))}function m(t,i,n){if(null==n)throw Error("Illegal Argument Exception");return n=W.bc.MC(r(t,rt,n),e(i)),s(t,rt,n,i)}function j(t,i,n,h){if(void 0===h&&(h=!1),null==n)throw Error("Illegal Argument Exception");if(Array.isArray(n)){var a=h,o=[];for(h=0;h<n.length;h++)o.push(r(t,rt,n[h]));for(n=W.bc.tQ(o,a),a=Array(n.length),h=0;h<n.length;h++)a[h]=s(t,rt,n[h],i);return a}return h=W.bc.sQ(r(t,rt,n),e(i)),s(t,rt,h,i)}function M(t,i,n,h){if(null==n||null==h)throw Error("Illegal Argument Exception");if(Array.isArray(n)){for(var a=[],o=0;o<n.length;o++)a.push(r(t,rt,n[o]));for(n=W.bc.aR(a,r(t,rt,h),e(i)),h=Array(n.length),o=0;o<n.length;o++)h[o]=s(t,rt,n[o],i);return h}return o=W.bc.tm(r(t,rt,n),r(t,rt,h),e(i)),s(t,rt,o,i)}function k(t,i,n,h){if(null==n||null==h)throw Error("Illegal Argument Exception");if(Array.isArray(n)){for(var a=[],o=0;o<n.length;o++)a.push(r(t,rt,n[o]));for(n=W.bc.AZ(a,r(t,rt,h),e(i)),h=Array(n.length),o=0;o<n.length;o++)h[o]=s(t,rt,n[o],i);return h}return o=W.bc.tp(r(t,rt,n),r(t,rt,h),e(i)),s(t,rt,o,i)}function z(t,i,n,h){if(null==n||null==h)throw Error("Illegal Argument Exception");if(Array.isArray(n)){for(var a=[],o=0;o<n.length;o++)a.push(r(t,rt,n[o]));for(n=W.bc.kU(a,r(t,rt,h),e(i)),h=Array(n.length),o=0;o<n.length;o++)h[o]=s(t,rt,n[o],i);return h}return o=W.bc.Ia(r(t,rt,n),r(t,rt,h),e(i)),s(t,rt,o,i)}function N(t,i,n,h){if(null==n)return null;var a=[];if(Array.isArray(n)){if(0===n.length)return null;for(h=0;h<n.length;h++)a.push(r(t,rt,n[h]));}else a.push(r(t,rt,n)),null!=h&&a.push(r(t,rt,h));return s(t,rt,W.bc.SZ(a,e(i)),i)}function A(i,n,h,a,o,u,f,c){var l=0;if(null!=u)switch(u){case"round":l=0;break;case"bevel":l=1;break;case"miter":l=2;break;case"square":l=3;}if(Array.isArray(h)){if(null==h)i=null;else if(0===h.length)i=[];else {var p=[];for(u=0;u<h.length;u++)p.push(r(i,rt,h[u]));for(h=W.bc.UV(p,e(n),a,l,f,c,t(o)),a=Array(h.length),u=0;u<h.length;u++)a[u]=s(i,rt,h[u],n);i=a;}return i}return h=W.bc.offset(r(i,rt,h),e(n),a,l,f,c,t(o)),s(i,rt,h,n)}function I(i,n,h,a,o,u){if(void 0===u&&(u=!1),Array.isArray(h)){if(!Array.isArray(a)){for(var f=[],c=0;c<h.length;c++)f.push(a);a=f;}if(a.length!=h.length){if(0==a.length)throw Error("Illegal Argument Exception");f=[];var l=0;for(c=0;c<h.length;c++)void 0===a[c]?f.push(l):(f.push(a[c]),l=a[c]);a=f;}return P(i,n,h,a,o,!1,u,"geodesic",NaN)}return h=W.bc.buffer(r(i,rt,h),e(n),a,t(o),!1,0,NaN),s(i,rt,h,n)}function C(i,h,a,o,u,f,c,l){if(Array.isArray(a)){if(!Array.isArray(o)){for(var p=[],b=0;b<a.length;b++)p.push(o);o=p;}if(o.length!==a.length){if(0===o.length)throw Error("Illegal Argument Exception");p=[];var v=0;for(b=0;b<a.length;b++)void 0===o[b]?p.push(v):(p.push(o[b]),v=o[b]);o=p;}return P(i,h,a,o,u,!0,f,c,l)}return void 0===c&&(c=NaN),a=W.bc.buffer(r(i,rt,a),e(h),o,t(u),!0,n(f),c),s(i,rt,a,h)}function P(i,h,a,o,u,f,c,l,p){if(void 0===p&&(p=NaN),null==a)return null;if(0===a.length)return [];for(var b=[],v=0;v<a.length;v++)b.push(r(i,rt,a[v]));for(a=W.bc.XO(b,e(h),o,t(u),f,c,n(l),p),o=Array(a.length),v=0;v<a.length;v++)o[v]=s(i,rt,a[v],h);return o}function q(t,i,n,s,e){var a;return void 0===e&&(e=!0),n=W.bc.Xz(r(t,rt,n),r(t,rt,s),e),(a={}).coordinate=h(t,rt,n.Lz(),i),a.distance=n.Oz(),a.isRightSide=n.AA(),a.vertexIndex=n.Ua(),a.isEmpty=n.u(),a}function D(t,i,n,s){var e;return n=W.bc.Yz(r(t,rt,n),r(t,rt,s)),(e={}).coordinate=h(t,rt,n.Lz(),i),e.distance=n.Oz(),e.isRightSide=n.AA(),e.vertexIndex=n.Ua(),e.isEmpty=n.u(),e}function B(t,i,n,s,e,a){var o;for(n=W.bc.Zz(r(t,rt,n),r(t,rt,s),e,a),s=[],e=0;e<n.length;e++)!1===n[e].u()&&s.push(((o={}).coordinate=h(t,rt,n[e].Lz(),i),o.distance=n[e].Oz(),o.isRightSide=n[e].AA(),o.vertexIndex=n[e].Ua(),o.isEmpty=n[e].u(),o));return s}function G(i,n,h,a,o,u){return h=W.bc.bS(r(i,rt,h),e(n),a,o,t(u)),s(i,rt,h,n)}function F(i,n,h,a,o){return h=W.bc.rs(r(i,rt,h),e(n),a,t(o)),s(i,rt,h,n)}function E(i,n,h,a,o,u){return void 0===u&&(u=0),h=W.bc.Bz(r(i,rt,h),e(n),a,t(o),u),s(i,rt,h,n)}function T(t,n,s,h){if(null==s)throw Error("Illegal Argument Exception");return W.bc.bW(r(t,rt,s),e(n),i(h))}function S(i,n,s,h){if(null==s)throw Error("Illegal Argument Exception");return W.bc.cW(r(i,rt,s),e(n),t(h))}function O(t,s,h,a,o){if(null==h)throw Error("Illegal Argument Exception");return W.bc.hS(r(t,rt,h),e(s),i(a),n(o))}function H(i,s,h,a,o){if(null==h)throw Error("Illegal Argument Exception");return W.bc.lS(r(i,rt,h),e(s),t(a),n(o))}function L(t){W.VM.bind(t);}function J(t,i,n,s,h){var a=null,o=null;if(s){if(!h)throw W.f.I("AOI missing Spatial Reference");a=r(t,rt,s),o=e(h).mh();}return null!==(t=W.Nu.nT(e(i).mh(),e(n).mh(),a,o))?t:null}function K(t,i,n,s,h){var a=null,o=null;if(s){if(!h)throw W.f.I("AOI missing Spatial Reference");a=r(t,rt,s),o=e(h).mh();}return W.Nu.oT(e(i).mh(),e(n).mh(),a,o)}function R(t,i,n,s,h){if(void 0===h&&(h=null),!1===this.z_)throw Error("Projection Engine must be enabled using enableProjection");if(0===i.length)return [];if(h){var r=h.getCachedGeTransformation(n,s);if(!r)t:{if(r=h,h=null,r){var a=r.getGTListEntry();if(null!==a){h=new W.hy(null);for(var o=0,u=a.steps;o<u.length;o++){a=u[o];var f=new W.Hn(a.geogtran);a.isInverse&&f.Xs(),h.add(f);}h=W.Ur.os(e(n).mh(),e(s).mh(),h),r.assignCachedGe(n,s,h),r=h;break t}}if(null===h&&r&&r.steps&&0<r.steps.length){for(h=new W.hy(null),o=0,u=r.steps;o<u.length;o++)-1!=(a=u[o]).wkid&&null!=a.wkid?h.add(W.Hn.create(a.wkid,a.isInverse)):h.add(W.Hn.LF(a.wkt,a.isInverse));h=W.Ur.os(e(n).mh(),e(s).mh(),h),r.assignCachedGe(n,s,h),r=h;}else r=W.Ur.os(e(n).mh(),e(s).mh(),h);}for(n=[],a=0;a<i.length;a++)h=i[a],n.push(U(t,h,s,r));}else for(r=W.Ur.os(e(n).mh(),e(s).mh(),null),n=[],a=0;a<i.length;a++)h=i[a],n.push(U(t,h,s,r));return n}function U(t,i,n,h){return i=W.bc.$g(r(t,rt,i),h),s(t,rt,i,n)}var Y,W,V,X,Z=this&&this.__extends||function(){function t(i,n){return (t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i;}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n]);})(i,n)}return function(i,n){function s(){this.constructor=i;}t(i,n),i.prototype=null===n?Object.create(n):(s.prototype=n.prototype,new s);}}();!function(t){var i;(i=t.In||(t.In={}))[i.Unknown=0]="Unknown",i[i.Point=33]="Point",i[i.Line=322]="Line",i[i.Envelope=197]="Envelope",i[i.MultiPoint=550]="MultiPoint",i[i.Polyline=1607]="Polyline",i[i.Polygon=1736]="Polygon",function(t){t[t.enumMild=0]="enumMild",t[t.enumMedium=1]="enumMedium",t[t.enumHot=2]="enumHot";}(t.gM||(t.gM={}));var n=function(){function i(){this.description=null,this.FB=0;}return i.prototype.F=function(){return 0},i.prototype.pb=function(){return -1},i.prototype.rg=function(t){this.vc(),t!=this.description&&this.Ln(t);},i.prototype.Ln=function(){},i.prototype.Tl=function(i){this.vc(),i!=this.description&&((i=t.ke.SS(this.description,i))!=this.description&&this.Ln(i));},i.prototype.hasAttribute=function(t){return this.description.hasAttribute(t)},i.prototype.le=function(i){this.vc(),this.description.hasAttribute(i)||(i=t.ke.RS(this.description,i),this.Ln(i));},i.prototype.Qf=function(){return null},i.prototype.qn=function(){},i.prototype.s=function(){},i.prototype.ip=function(){},i.prototype.Zb=function(t){this.s(t);},i.prototype.u=function(){return !0},i.prototype.Ka=function(){},i.prototype.Qc=function(){},i.prototype.Ea=function(){return null},i.prototype.copyTo=function(){},i.prototype.Pe=function(){return 0},i.prototype.Pb=function(){return 0},i.prototype.VG=function(){return this.hasAttribute(1)},i.Se=function(t){return 1+((192&t)>>6)>>1},i.lo=function(t){return 0!=(32&t)},i.m0=function(t){return 0!=(64&t)},i.nU=function(t){return 0!=(128&t)},i.Ic=function(t){return 0!=(256&t)},i.Rg=function(t){return 0!=(512&t)},i.Bc=function(t){return 0!=(1024&t)},i.prototype.Cf=function(){var t=this.Ea();return this.copyTo(t),t},i.prototype.sg=function(){return null},i.$d=function(t){var i=t.Ea();return t.copyTo(i),i},i.prototype.vc=function(){0<=this.FB&&(this.FB+=2147483649);},i.fy=function(n){var s=n.F();if(i.Rg(s))return n.D();if(n.u())return 0;if(197==s)return 4;if(33==s)return 1;if(i.Ic(s))return 2;throw t.f.Y("missing type")},i}();t.R=n;}(W||(W={})),V=W||(W={}),X=function(){function t(){this.y=this.x=0;}return t.construct=function(i,n){var s=new t;return s.x=i,s.y=n,s},t.gl=function(i){var n=new t;return n.x=i.x,n.y=i.y,n},t.prototype.ka=function(t,i){this.x=t,this.y=i;},t.prototype.K=function(t){this.x=t.x,this.y=t.y;},t.prototype.wq=function(t,i){return this.x===t&&this.y===i},t.prototype.xA=function(t){return 2220446049250313e-31>=Math.abs(this.x-t.x)&&2220446049250313e-31>=Math.abs(this.y-t.y)},t.prototype.qb=function(t){return this.x===t.x&&this.y===t.y},t.prototype.Ib=function(i){return i==this||i instanceof t&&this.x==i.x&&this.y==i.y},t.prototype.sub=function(t){this.x-=t.x,this.y-=t.y;},t.prototype.tc=function(t,i){this.x=t.x-i.x,this.y=t.y-i.y;},t.prototype.add=function(t,i){void 0!==i?(this.x=t.x+i.x,this.y=t.y+i.y):(this.x+=t.x,this.y+=t.y);},t.prototype.lr=function(){this.x=-this.x,this.y=-this.y;},t.prototype.Vt=function(t){this.x=-t.x,this.y=-t.y;},t.prototype.hU=function(t,i,n){this.x=t.x*(1-n)+i.x*n,this.y=t.y*(1-n)+i.y*n;},t.prototype.nu=function(t,i){this.x=this.x*t+i.x,this.y=this.y*t+i.y;},t.prototype.mY=function(t,i,n){this.x=i.x*t+n.x,this.y=i.y*t+n.y;},t.prototype.scale=function(t){this.x*=t,this.y*=t;},t.prototype.compare=function(t){return this.y<t.y?-1:this.y>t.y?1:this.x<t.x?-1:this.x>t.x?1:0},t.prototype.normalize=function(){var t=this.length();0==t&&(this.x=1,this.y=0),this.x/=t,this.y/=t;},t.prototype.length=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.En=function(){return this.x*this.x+this.y*this.y},t.vb=function(t,i){return Math.sqrt(this.oc(t,i))},t.uz=function(t,i,n,s){return t-=n,i-=s,Math.sqrt(t*t+i*i)},t.prototype.Vh=function(t){return this.x*t.x+this.y*t.y},t.prototype.PD=function(t){return Math.abs(this.x*t.x)+Math.abs(this.y*t.y)},t.prototype.Di=function(t){return this.x*t.y-this.y*t.x},t.prototype.mu=function(t,i){var n=-this.x*i+this.y*t;this.x=this.x*t+this.y*i,this.y=n;},t.prototype.pw=function(){var t=this.x;this.x=-this.y,this.y=t;},t.prototype.yH=function(t){this.x=-t.y,this.y=t.x;},t.prototype.ur=function(){var t=this.x;this.x=this.y,this.y=-t;},t.prototype.iE=function(){this.y=this.x=NaN;},t.prototype.Ey=function(){return isNaN(this.x)},t.prototype.Xu=function(){return 0<this.x?0<=this.y?1:4:0<this.y?2:0==this.x?4:3},t.Wr=function(t,i){var n=t.Xu(),s=i.Xu();return s==n?0>(t=t.Di(i))?1:0<t?-1:0:n<s?-1:1},t.I_=function(i,n){return t.Wr(i,n)},t.oc=function(t,i){var n=t.x-i.x;return n*n+(t=t.y-i.y)*t},t.prototype.toString=function(){return "("+this.x+" , "+this.y+")"},t.prototype.Tc=function(){this.y=this.x=NaN;},t.prototype.isNaN=function(){return isNaN(this.x)||isNaN(this.y)},t.prototype.ZN=function(){return this.Ey()?NaN:Math.abs(this.x)>=Math.abs(this.y)?Math.abs(this.x):Math.abs(this.y)},t.prototype.offset=function(i,n){var s=t.vb(i,n),h=t.construct(this.x,this.y);if(0==s)return t.vb(h,i);var r=new t;return r.K(n),r.sub(i),h.sub(i),h.Di(r)/s},t.fp=function(t,i,n){var s=new V.Wb;s.set(i.x),s.sub(t.x);var h=new V.Wb;h.set(n.y),h.sub(t.y);var r=new V.Wb;r.set(i.y),r.sub(t.y);var e=new V.Wb;return e.set(n.x),e.sub(t.x),s.Gg(h),r.Gg(e),s.sub(r),s.Ys()?(s=new V.xp(i.x),h=new V.xp(t.x),r=new V.xp(t.y),s=s.St(h),t=(t=new V.xp(n.y)).St(r),i=(i=new V.xp(i.y)).St(r),n=(n=new V.xp(n.x)).St(h),s=s.Hr(t),i=i.Hr(n),(s=s.Hr(i)).JU()?-1:s.AT()?1:0):0>(n=s.value())?-1:0<n?1:0},t.prototype.fc=function(){return V.L.Aj(V.L.Aj())},t}(),V.b=X,function(t){var i=function(){function t(t){this.jz=this.wu=0,this.tZ=t;}return t.prototype.reset=function(){this.jz=this.wu=0;},t.prototype.add=function(t){t-=this.jz;var i=this.wu+t;this.jz=i-this.wu-t,this.wu=i;},t.prototype.sub=function(t){this.add(-t);},t.prototype.Dm=function(){return this.tZ+this.wu},t}();t.ky=i,t.Tb=function(){function t(){}return t.hl=function(t,i){return 0<=i?Math.abs(t):-Math.abs(t)},t.sign=function(t){return 0>t?-1:0<t?1:0},t.ZL=function(t){return t-360*Math.floor(t/360)},t.round=function(t){return Math.floor(t+.5)},t.Wx=function(t){return t*t},t.Aq=function(t,i,n){return .5>=n?t+(i-t)*n:i-(i-t)*(1-n)},t.AH=function(t,i,n,s){.5>=n?(s.x=t.x+(i.x-t.x)*n,s.y=t.y+(i.y-t.y)*n):(s.x=i.x-(i.x-t.x)*(1-n),s.y=i.y-(i.y-t.y)*(1-n));},t.HU=function(t,i,n,s,h,r){.5>=h?(r.x=t+(n-t)*h,r.y=i+(s-i)*h):(r.x=n-(n-t)*(1-h),r.y=s-(s-i)*(1-h));},t}();}(W||(W={})),function(t){var i=function(i){function n(){var t=i.call(this)||this;return t.ra=0,t.na=0,t.pa=0,t.ma=0,t.ia=null,t}return Z(n,i),n.prototype.ac=function(){return t.b.construct(this.ra,this.na)},n.prototype.qq=function(t){t.x=this.ra,t.y=this.na;},n.prototype.Fc=function(t){this.pm(0,t);},n.prototype.GC=function(i,n){this.pm(0,t.b.construct(i,n));},n.prototype.jp=function(t){this.SD(0,t);},n.prototype.setStart=function(t){this.fE(0,t);},n.prototype.Ks=function(t,i){return this.Pd(0,t,i)},n.prototype.Qx=function(t,i,n){this.Nn(0,t,i,n);},n.prototype.wc=function(){return t.b.construct(this.pa,this.ma)},n.prototype.vs=function(t){t.x=this.pa,t.y=this.ma;},n.prototype.Sc=function(t){this.pm(1,t);},n.prototype.am=function(i,n){this.pm(1,t.b.construct(i,n));},n.prototype.hp=function(t){this.SD(1,t);},n.prototype.setEnd=function(t){this.fE(1,t);},n.prototype.us=function(t,i){return this.Pd(1,t,i)},n.prototype.Hx=function(t,i,n){this.Nn(1,t,i,n);},n.prototype.pb=function(){return 1},n.prototype.u=function(){return this.Ac()},n.prototype.Ka=function(){},n.prototype.Pe=function(){return 0},n.prototype.Ia=function(t,i,n,s,h){return this.SN(t,i,n,s,h)},n.prototype.isIntersecting=function(t,i){return 0!=this.Zr(t,i,!1)},n.prototype.Zs=function(t,i){return this.Yu(t,i,!1)},n.prototype.Yu=function(){return null},n.prototype.Ac=function(){return !1},n.prototype.Hy=function(i){if(this.vc(),null==this.ia&&0<i)this.ia=t.L.Xf(2*i);else if(null!=this.ia&&this.ia.length<2*i){for(var n=this.ia.slice(0),s=this.ia.length;s<2*i;s++)n[s]=0;this.ia=n;}},n.nN=function(t,i,n){if(0<n)var s=0;for(var h=0;h<n;h++)i[0+s]=t[0],s++;},n.prototype.pm=function(t,i){0!=t?(this.pa=i.x,this.ma=i.y):(this.ra=i.x,this.na=i.y);},n.prototype.Ln=function(i){if(null!=this.ia){for(var s=t.ke.ox(i,this.description),h=[],r=n.Mg(this.description,0),e=n.Mg(this.description,1),a=n.Mg(i,0),o=n.Mg(i,1),u=0,f=1,c=i.Ca;f<c;f++){var l=i.kd(f),p=t.oa.Sa(l);if(-1==s[f]){var b=t.oa.me(l);for(l=0;l<p;l++)h[a+u]=b,h[o+u]=b,u++;}else for(b=this.description.dk(s[f])-2,l=0;l<p;l++)h[a+u]=this.ia[r+b],h[o+u]=this.ia[e+b],u++,b++;}this.ia=h;}this.description=i;},n.prototype.SD=function(i,n){if(this.Ac())throw t.f.Y("empty geometry");n.rg(this.description),n.Ac()&&n.Mp();for(var s=0;s<this.description.Ca;s++)for(var h=this.description.Jd(s),r=0,e=t.oa.Sa(h);r<e;r++){var a=this.Pd(i,h,r);n.setAttribute(h,r,a);}},n.prototype.fE=function(i,n){if(this.vc(),n.Ac())throw t.f.Y("empty geometry");for(var s=n.description,h=0,r=s.Ca;h<r;h++)for(var e=s.Jd(h),a=t.oa.Sa(e),o=0;o<a;o++){var u=n.Rc(e,o);this.Nn(i,e,o,u);}},n.prototype.Pd=function(i,s,h){if(this.Ac())throw t.f.Y("This operation was performed on an Empty Geometry.");if(0==s)return 0!=i?0!=h?this.ma:this.pa:0!=h?this.na:this.ra;if(h>=t.oa.Sa(s))throw t.f.Gd();var r=this.description.Yf(s);return 0<=r?(null!=this.ia&&this.Hy(this.description.Ge.length-2),this.ia[n.Mg(this.description,i)+this.description.dk(r)-2+h]):t.oa.me(s)},n.prototype.Nn=function(i,s,h,r){if(this.vc(),h>=t.oa.Sa(s))throw t.f.Gd();var e=this.description.Yf(s);0>e&&(this.le(s),e=this.description.Yf(s)),0==s?0!=i?0!=h?this.ma=r:this.pa=r:0!=h?this.na=r:this.ra=r:(null==this.ia&&this.Hy(this.description.Ge.length-2),this.ia[n.Mg(this.description,i)+this.description.dk(e)-2+h]=r);},n.prototype.copyTo=function(i){if(i.F()!=this.F())throw t.f.I();i.description=this.description,i.Hy(this.description.Ge.length-2),n.nN(this.ia,i.ia,2*(this.description.Ge.length-2)),i.ra=this.ra,i.na=this.na,i.pa=this.pa,i.ma=this.ma,i.vc(),this.Hp(i);},n.prototype.Qf=function(i,n){var s=new t.uc;return this.Ac()?(s.Ka(),s):(s.fa=this.Pd(0,i,n),s.ja=s.fa,s.Sk(this.Pd(1,i,n)),s)},n.prototype.QJ=function(t){this.Ac()?t.Ka():(t.fa=this.Pd(0,0,0),t.ja=t.fa,t.Sk(this.Pd(1,0,0)));},n.prototype.zx=function(i,n){n.rg(this.description),n.nb(this.cc(i));for(var s=1,h=this.description.Ca;s<h;s++)for(var r=this.description.Jd(s),e=t.oa.Sa(r),a=0;a<e;a++){var o=this.Rc(i,r,a);n.setAttribute(r,a,o);}},n.prototype.NN=function(t){if(this.description!=t.description||this.ra!=t.ra||this.pa!=t.pa||this.na!=t.na||this.ma!=t.ma)return !1;for(var i=0;i<2*(this.description.Ge.length-2);i++)if(this.ia[i]!=t.ia[i])return !1;return !0},n.prototype.nH=function(){return this.ra==this.pa&&this.na==this.ma},n.prototype.reverse=function(){var i=this.ra;this.ra=this.pa,this.pa=i,i=this.na,this.na=this.ma,this.ma=i,i=1;for(var n=this.description.Ca;i<n;i++)for(var s=this.description.kd(i),h=0,r=t.oa.Sa(s);h<r;h++){var e=this.Pd(0,s,h),a=this.Pd(1,s,h);this.Nn(0,s,h,a),this.Nn(1,s,h,e);}},n.prototype.Zr=function(i,n,s){var h=i.F();switch(this.F()){case 322:if(322==h)return t.zb.WN(this,i,n,s);throw t.f.za();default:throw t.f.za()}},n.prototype.SN=function(i,n,s,h,r){var e=i.F();switch(this.F()){case 322:if(322==e)return t.zb.Dy(this,i,n,s,h,r);throw t.f.za();default:throw t.f.za()}},n.prototype.yy=function(){return null},n.Mg=function(t,i){return i*(t.Ge.length-2)},n.prototype.cc=function(i,n){if(void 0===n)return n=new t.b,this.cc(i,n),n;t.Tb.HU(this.ra,this.na,this.pa,this.ma,i,n);},n.prototype.ae=function(){return null},n.prototype.QG=function(){return null},n.prototype.uq=function(){return null},n.prototype.Qg=function(){return null},n.prototype.jo=function(){return null},n.prototype.qg=function(){return null},n.prototype.zy=function(t,i){return void 0!==i?this.by(i)-this.by(t):this.by(t)},n.prototype.Hp=function(){},n.prototype.jl=function(){return null},n.prototype.jh=function(){},n.prototype.Rc=function(){return null},n.prototype.Te=function(){return null},n.prototype.by=function(){return null},n.prototype.zH=function(){return null},n.prototype.vb=function(t,i){if(!i&&0!=this.Zr(t,0,!1))return 0;i=17976931348623157e292;var n=this.ac(),s=t.ae(n,!1);return n.sub(t.cc(s)),(n=n.length())<i&&(i=n),n=this.wc(),s=t.ae(n,!1),n.sub(t.cc(s)),(n=n.length())<i&&(i=n),n=t.ac(),s=this.ae(n,!1),n.sub(this.cc(s)),(n=n.length())<i&&(i=n),n=t.wc(),s=this.ae(n,!1),n.sub(this.cc(s)),(n=n.length())<i&&(i=n),i},n.prototype.sg=function(){return t.yi.qm(this,null)},n}(t.R);t.zD=i;}(W||(W={})),new W.b,function(t){var i;(i=t.iM||(t.iM={}))[i.Unknown=-1]="Unknown",i[i.Not=0]="Not",i[i.Weak=1]="Weak",i[i.Strong=2]="Strong",function(t){t[t.DirtyIsKnownSimple=1]="DirtyIsKnownSimple",t[t.IsWeakSimple=2]="IsWeakSimple",t[t.IsStrongSimple=4]="IsStrongSimple",t[t.DirtyOGCFlags=8]="DirtyOGCFlags",t[t.DirtyVerifiedStreams=32]="DirtyVerifiedStreams",t[t.DirtyExactIntervals=64]="DirtyExactIntervals",t[t.DirtyLooseIntervals=128]="DirtyLooseIntervals",t[t.DirtyIntervals=192]="DirtyIntervals",t[t.DirtyIsEnvelope=256]="DirtyIsEnvelope",t[t.DirtyLength2D=512]="DirtyLength2D",t[t.DirtyRingAreas2D=1024]="DirtyRingAreas2D",t[t.DirtyCoordinates=1993]="DirtyCoordinates",t[t.DirtyAllInternal=65535]="DirtyAllInternal",t[t.DirtyAll=16777215]="DirtyAll";}(t.VL||(t.VL={}));var n=function(i){function n(){var t=i.call(this)||this;return t.Sm=65535,t.sa=0,t.Vg=-1,t.ib=null,t}return Z(n,i),n.prototype.Hp=function(){},n.prototype.Gy=function(){},n.prototype.Oy=function(){},n.prototype.D=function(){return this.sa},n.prototype.u=function(){return this.Ac()},n.prototype.Ac=function(){return 0==this.sa},n.prototype.ek=function(t){return 0!=(this.Sm&t)},n.prototype.Vf=function(t,i){this.Sm=i?this.Sm|t:this.Sm&~t;},n.prototype.rc=function(){this.ek(32)&&this.lO();},n.prototype.yu=function(){if(this.Ac())throw t.f.Y("This operation was performed on an Empty Geometry.")},n.prototype.ne=function(i,n){if(0>i||i>=this.sa)throw t.f.Y("index out of bounds");this.rc(),n.rg(this.description),n.u()&&n.Mp();for(var s=0;s<this.description.Ca;s++)for(var h=this.description.Jd(s),r=0,e=t.oa.Sa(h);r<e;r++){var a=this.va[s].Ig(e*i+r);n.setAttribute(h,r,a);}},n.prototype.ru=function(i,n){this.rc();for(var s=n.description,h=0;h<s.Ca;h++)for(var r=s.Jd(h),e=t.oa.Sa(r),a=0;a<e;a++){var o=n.Rc(r,a);this.setAttribute(r,i,a,o);}},n.prototype.w=function(i,n){if(0>i||i>=this.D())throw t.f.Gd();this.rc(),this.va[0].mc(2*i,n);},n.prototype.xa=function(i){var n=new t.b;return this.w(i,n),n},n.prototype.Hc=function(t,i){this.va[0].mc(2*t,i);},n.prototype.nb=function(i,n,s){if(0>i||i>=this.sa)throw t.f.Gd();this.rc();var h=this.va[0];void 0!==s?(h.write(2*i,n),h.write(2*i+1,s)):h.Bu(2*i,n),this.Oc(1993);},n.prototype.kA=function(){if(void 0>=this.D())throw t.f.Gd();this.rc();var i=this.va[0],n=new t.Id;return n.x=i.read(NaN),n.y=i.read(NaN),n.z=this.hasAttribute(1)?this.va[1].Ig(void 0):t.oa.me(1),n},n.prototype.LC=function(i){if(0>i||i>=this.D())throw t.f.Gd();this.le(1),this.rc(),this.Oc(1993);var n=this.va[0];n.write(2*i,(void 0).x),n.write(2*i+1,(void 0).y),this.va[1].Mr(i,(void 0).z);},n.prototype.Rc=function(i,n,s){if(0>n||n>=this.sa)throw t.f.Gd();var h=t.oa.Sa(i);if(s>=h)throw t.f.Gd();this.rc();var r=this.description.Yf(i);return 0<=r?this.va[r].Ig(n*h+s):t.oa.me(i)},n.prototype.lG=function(t,i){return this.Rc(t,i,void 0)},n.prototype.setAttribute=function(i,n,s,h){if(0>n||n>=this.sa)throw t.f.Gd();var r=t.oa.Sa(i);if(s>=r)throw t.f.Gd();this.le(i),this.rc(),i=this.description.Yf(i),this.Oc(1993),this.va[i].Mr(n*r+s,h);},n.prototype.Va=function(t){return this.yu(),this.le(t),this.rc(),this.va[this.description.Yf(t)]},n.prototype.yn=function(i,n){if(null!=n&&t.oa.sl(i)!=n.sl())throw t.f.I();this.le(i),i=this.description.Yf(i),null==this.va&&(this.va=t.Xc.gJ(this.description.Ca)),this.va[i]=n,this.Oc(16777215);},n.prototype.Ln=function(i){var n=null;if(null!=this.va){var s=t.ke.ox(i,this.description);n=[];for(var h=0,r=i.Ca;h<r;h++)-1!=s[h]&&(n[h]=this.va[s[h]]);}this.description=i,this.va=n,this.Vg=-1,this.Oc(16777215);},n.prototype.mE=function(i){this.cv(!0),i instanceof t.g?this.X.s(i):this.X.ip(i);},n.prototype.kO=function(i){this.cv(!1),i instanceof t.g?this.X.s(i):this.X.ip(i);},n.prototype.qn=function(t){this.cv(!0),this.X.copyTo(t);},n.prototype.s=function(t){this.mE(t);},n.prototype.ip=function(t){this.mE(t);},n.prototype.Zb=function(t){this.kO(t);},n.prototype.Qf=function(i,n){var s=new t.uc;return this.Ac()?(s.Ka(),s):(this.cv(!0),this.X.Qf(i,n))},n.prototype.fc=function(){var i=this.description.fc();if(!this.Ac())for(var n=this.D(),s=0,h=this.description.Ca;s<h;s++)i=this.va[s].Un(i,0,n*t.oa.Sa(this.description.Jd(s)));return i},n.prototype.Ib=function(i){if(i==this)return !0;if(!(i instanceof n&&this.description.Ib(i.description))||this.Ac()!=i.Ac())return !1;if(this.Ac())return !0;var s=this.D();if(s!=i.D())return !1;for(var h=0;h<this.description.Ca;h++){var r=this.description.kd(h),e=this.Va(r),a=i.Va(r);if(!e.Ib(a,0,s*t.oa.Sa(r)))return !1}return !0},n.prototype.copyTo=function(i){if(i.F()!=this.F())throw t.f.I();this.ND(i);},n.prototype.ND=function(i){this.rc(),i.description=this.description,i.va=null;var n=this.description.Ca,s=null;if(null!=this.va){s=[];for(var h=0;h<n;h++)null!=this.va[h]&&(s[h]=this.va[h].qC(this.D()*t.oa.Sa(this.description.Jd(h))));}null!=this.X?(i.X=this.X.Ea(),this.X.copyTo(i.X)):i.X=null,i.sa=this.sa,i.Sm=this.Sm,i.va=s;try{this.Hp(i);}catch(r){throw i.Ka(),t.f.Mu()}},n.prototype.hE=function(){this.sa=0,this.Vg=-1,this.va=null,this.Oc(16777215);},n.prototype.Oc=function(t){16777215==t&&(this.Vg=-1,this.Gy()),this.Sm|=t,this.tN(),this.vc();},n.prototype.cv=function(i){if(this.rc(),this.ek(192))if(null==this.X?this.X=new t.Ih(this.description):this.X.rg(this.description),this.u())this.X.Ka();else {this.Ny(i);for(var n=1;n<this.description.Ca;n++)for(var s=this.description.Jd(n),h=t.oa.Sa(s),r=this.va[n],e=0;e<h;e++){var a=new t.uc;a.Ka();for(var o=0;o<this.sa;o++){var u=r.Ig(o*h+e);a.Nb(u);}this.X.setInterval(s,e,a);}i&&this.Vf(192,!1);}},n.prototype.Ny=function(){this.X.Ka();for(var i=this.va[0],n=new t.b,s=0;s<this.sa;s++)i.mc(2*s,n),this.X.Nb(n);},n.prototype.Tn=function(i){i.Ka();for(var n=this.va[0],s=new t.b,h=0;h<this.sa;h++)n.mc(2*h,s),i.Nb(s);},n.prototype.lO=function(){if(this.Vg<this.sa){null==this.va&&(this.va=t.Xc.gJ(this.description.Ca)),this.Vg=2147483647;for(var i=0;i<this.description.Ca;i++){var n=this.description.Jd(i);if(null!=this.va[i]){var s=t.oa.Sa(n),h=t.L.truncate(this.va[i].size/s);h<this.sa&&(h=t.L.truncate(this.Vg>this.sa+5?(5*this.sa+3)/4:this.sa),this.va[i].resize(h*s,t.oa.me(n))),h<this.Vg&&(this.Vg=h);}else this.va[i]=t.Xc.JF(n,this.sa),this.Vg=this.sa;}}this.Oy(),this.Vf(32,!1);},n.prototype.bl=function(i){if(0>i)throw t.f.I();i!=this.sa&&(this.sa=i,this.Oc(65535));},n.prototype.rk=function(t){if(!this.ek(1)){if(!this.ek(2))return 0;if(this.iV>=t)return this.ek(8)?1:2}return -1},n.prototype.Jg=function(i,n){if(this.iV=n,-1==i)this.Vf(1,!0),this.Vf(8,!0);else if(this.Vf(1,!1),this.Vf(8,!0),0==i)this.Vf(2,!1),this.Vf(4,!1);else if(1==i)this.Vf(2,!0),this.Vf(4,!1);else {if(2!=i)throw t.f.Y("internal error.");this.Vf(2,!0),this.Vf(4,!0);}},n.prototype.tN=function(){null!=this.ib&&(this.ib=null);},n.prototype.VD=function(i,n,s,h){if(0>i||i>=this.sa)throw t.f.Y("index out of bounds");if(0>n||n>=this.sa)throw t.f.Y("index out of bounds");this.rc(),h.rg(this.description),h.u()&&h.Mp();for(var r=0;r<this.description.Ca;r++)for(var e=this.description.Jd(r),a=0,o=t.oa.Sa(e);a<o;a++){var u=this.va[r].Ig(o*i+a),f=this.va[r].Ig(o*n+a);h.setAttribute(e,a,t.Tb.Aq(u,f,s));}},n.prototype.Yr=function(t,i){var n=this.va[0].i,s=n[2*t]-n[2*i];return t=n[2*t+1]-n[2*i+1],Math.sqrt(s*s+t*t)},n.prototype.Hh=function(i,n){if(0>i||i>=this.sa)throw t.f.Gd();if(n.u())throw t.f.I();this.rc();for(var s=n.description,h=0;h<s.Ca;h++)for(var r=s.kd(h),e=t.oa.Sa(r),a=0;a<e;a++){var o=n.Rc(r,a);this.setAttribute(r,i,a,o);}},n.prototype.Tu=function(){return null},n.prototype.lj=function(){return null},n}(t.R);t.ly=n;}(W||(W={})),function(t){var i=function(){function i(){this.lb=this.so=null,this.fn=124234251,this.yw=!0,this.Ve=-1,this.lb=new t.ad(7),this.so=null;}return i.prototype.kp=function(t){this.so=t;},i.prototype.bR=function(){this.yw=!1;},i.prototype.Le=function(t){this.lb.Le(t);},i.prototype.qs=function(t){var i=this.lb.Ke();return this.VY(i),this.YY(t,i),i},i.prototype.XQ=function(t){this.lb.jd(t);},i.prototype.addElement=function(t,i){return -1==i&&(-1==this.Ve&&(this.Ve=this.qs(-1)),i=this.Ve),this.rE(t,0,i)},i.prototype.wE=function(t){return -1==this.Ve&&(this.Ve=this.qs(-1)),this.rE(t,1,this.Ve)},i.prototype.Qn=function(t){-1==this.Ve&&(this.Ve=this.qs(-1));var i=this.Ve,n=this.lb.i;if(-1==i||-1==n[7*i])return t=this.lb.Vl([-1,-1,-1,t,this.nl(),-1,-1]),(n=this.lb.i)[7*i]=t,this.Pp(-1,t,i,n),t;var s=-1==i?-1:n[7*i+2];return t=this.lb.Vl([-1,-1,s,t,this.nl(),-1,-1]),(n=this.lb.i)[7*s+1]=t,this.Uy(t,n),-1===n[7*t+2]&&(n[7*i]=t),this.Pp(-1,t,i,n),t},i.prototype.fv=function(i,n,s,h){var r=-1;-1==r&&(-1==this.Ve&&(this.Ve=this.qs(-1)),r=this.Ve);var e=this.lb.i;if(-1==r||-1==e[7*r])return s=this.lb.Vl([-1,-1,-1,s,this.nl(),-1,-1]),(e=this.lb.i)[7*r]=s,this.Pp(-1,s,r,e),s;if(h){h=-1!=n?this.so.compare(this,s,n):-1;var a=-1!=i?this.so.compare(this,s,i):1;}else h=-1,a=1;if(0==h||0==a)return e[7*r+3]=0==h?n:i,-1;for((-1!=n&&-1!=i?this.fn>t.L.MB(this.fn)>>1:-1!=n)?i=n:h=a,n=!0;;){if(0>h){if(-1==(a=e[7*i])){h=i,s=this.lb.Vl([-1,-1,i,s,this.nl(),-1,-1]),(e=this.lb.i)[7*i]=s;break}i=a;}else {if(-1==(a=e[7*i+1])){h=e[7*i+6],s=this.lb.Vl([-1,-1,i,s,this.nl(),-1,-1]),(e=this.lb.i)[7*i+1]=s;break}i=a;}n&&(h*=-1,n=!1);}return this.Uy(s,e),-1===e[7*s+2]&&(e[7*r]=s),this.Pp(h,s,r,e),s},i.prototype.rG=function(){return this.wS(this.Ve)},i.prototype.zd=function(t,i){i=-1==i?this.Ve:i,this.yw?this.WQ(t,i):this.RZ(t,i);},i.prototype.search=function(t,i){for(i=this.aw(i);-1!=i;){var n=this.so.compare(this,t,i);if(0==n)return i;i=0>n?this.rl(i):this.pq(i);}return -1},i.prototype.nY=function(t){for(var i=this.aw(-1),n=-1;-1!=i;){var s=t.compare(this,i);if(0==s)return i;0>s?i=this.rl(i):(n=i,i=this.pq(i));}return n},i.prototype.yK=function(t){for(var i=this.aw(-1),n=-1;-1!=i;){var s=t.compare(this,i);if(0==s)return i;0>s?(n=i,i=this.rl(i)):i=this.pq(i);}return n},i.prototype.ga=function(t){return this.lb.S(t,3)},i.prototype.rl=function(t){return this.lb.S(t,0)},i.prototype.pq=function(t){return this.lb.S(t,1)},i.prototype.getParent=function(t){return this.lb.S(t,2)},i.prototype.hb=function(t){return this.lb.S(t,6)},i.prototype.Be=function(t){return this.lb.S(t,5)},i.prototype.sc=function(t){return -1==t?this.ql(this.Ve):this.ql(t)},i.prototype.Gc=function(t){return -1==t?this.Fs(this.Ve):this.Fs(t)},i.prototype.qT=function(t){return -1==t?this.NG(this.Ve):this.NG(t)},i.prototype.Tj=function(t,i){this.xC(t,i);},i.prototype.aw=function(t){return -1==t?this.JG(this.Ve):this.JG(t)},i.prototype.clear=function(){this.lb.rj(!1),this.Ve=-1;},i.prototype.size=function(t){return -1==t?this.LG(this.Ve):this.LG(t)},i.prototype.VO=function(t,i){for(var n=i[7*t],s=i[7*t+1],h=i[7*t+4];-1!=n||-1!=s;){var r=-1!=n?i[7*n+4]:2147483647;if(s=-1!=s?i[7*s+4]:2147483647,h<=Math.min(r,s))break;r<=s?this.wK(n,i):this.vK(t,i),n=i[7*t],s=i[7*t+1];}},i.prototype.Uy=function(t,i){if(this.yw)for(var n=i[7*t+4],s=i[7*t+2];-1!=s&&i[7*s+4]>n;)i[7*s]==t?this.wK(t,i):this.vK(s,i),s=i[7*t+2];},i.prototype.vK=function(t,i){var n=i[7*t+1];i[7*n+2]=i[7*t+2],i[7*t+2]=n;var s=i[7*n];i[7*t+1]=s,-1!=s&&(i[7*s+2]=t),i[7*n]=t,-1!=(s=i[7*n+2])&&(i[7*s]==t?i[7*s]=n:i[7*s+1]=n);},i.prototype.wK=function(t,i){var n=i[7*t+2];i[7*t+2]=i[7*n+2],i[7*n+2]=t;var s=i[7*t+1];i[7*n]=s,-1!=s&&(i[7*s+2]=n),i[7*t+1]=n,-1!=(s=i[7*t+2])&&(i[7*s]===n?i[7*s]=t:i[7*s+1]=t);},i.prototype.Wk=function(t,i){this.lb.P(t,2,i);},i.prototype.BC=function(t,i){this.lb.P(t,0,i);},i.prototype.FC=function(t,i){this.lb.P(t,1,i);},i.prototype.EC=function(t,i){this.lb.P(t,5,i);},i.prototype.Mx=function(t,i){this.lb.P(t,6,i);},i.prototype.aL=function(t,i){this.lb.P(i,0,t);},i.prototype.VY=function(t){this.lb.P(t,4,0);},i.prototype.YY=function(t,i){this.lb.P(i,5,t);},i.prototype.JG=function(t){return -1==t?-1:this.lb.S(t,0)},i.prototype.ql=function(t){return -1==t?-1:this.lb.S(t,1)},i.prototype.Fs=function(t){return -1==t?-1:this.lb.S(t,2)},i.prototype.wS=function(t){return -1==t?-1:this.lb.S(t,3)},i.prototype.LG=function(t){return -1==t?0:this.lb.S(t,4)},i.prototype.NG=function(t){return this.lb.S(t,5)},i.prototype.vx=function(){return this.lb.Vl([-1,-1,-1,void 0,this.nl(),-1,-1])},i.prototype.ml=function(t){-1!=t&&this.lb.jd(t);},i.prototype.nl=function(){return this.fn=t.L.MB(this.fn),1073741823&this.fn},i.prototype.rE=function(t,i,n){var s=this.lb.i;if(-1==n||-1==s[7*n])return t=this.lb.Vl([-1,-1,-1,t,this.nl(),-1,-1]),(s=this.lb.i)[7*n]=t,this.Pp(-1,t,n,s),t;for(var h=-1==n?-1:s[7*n];;){var r=-1==i?1:this.so.compare(this,t,h);if(0>r){if(-1==(r=this.rl(h))){i=h,t=this.lb.Vl([-1,-1,h,t,this.nl(),-1,-1]),(s=this.lb.i)[7*h]=t;break}h=r;}else {if(1==i&&0==r)return s[7*n+3]=h,-1;if(-1==(r=s[7*h+1])){i=s[7*h+6],t=this.lb.Vl([-1,-1,h,t,this.nl(),-1,-1]),(s=this.lb.i)[7*h+1]=t;break}h=r;}}return this.Uy(t,s),-1===s[7*t+2]&&(s[7*n]=t),this.Pp(i,t,n,s),t},i.prototype.Pp=function(t,i,n,s){if(-1!=t){var h=s[7*t+5];s[7*t+5]=i;}else h=-1==n?-1:s[7*n+2];s[7*i+5]=h,-1!=h&&(s[7*h+6]=i),s[7*i+6]=t,t==(-1==n?-1:s[7*n+1])&&(s[7*n+1]=i),-1==t&&(s[7*n+2]=i),s[7*n+4]=(-1==n?0:s[7*n+4])+1;},i.prototype.jC=function(t,i){var n=this.lb.i,s=n[7*t+5];t=n[7*t+6],-1!=s?n[7*s+6]=t:n[7*i+1]=t,-1!=t?n[7*t+5]=s:n[7*i+2]=s,n[7*i+4]=-1===i?-1:n[7*i+4]-1;},i.prototype.RZ=function(i,n){this.jC(i,n);var s=this.rl(i),h=this.pq(i),r=this.getParent(i),e=i;if(-1!=s&&-1!=h){this.fn=t.L.MB(this.fn);var a=1073741823<this.fn?this.hb(i):this.Be(i),o=this.getParent(a)==i;this.lb.PC(i,a,0),this.lb.PC(i,a,1),this.lb.PC(i,a,2),-1!=r?this.rl(r)==i?this.BC(r,a):this.FC(r,a):this.aL(a,n),o?(s==a?(this.BC(a,i),this.Wk(h,a)):h==a&&(this.FC(a,i),this.Wk(s,a)),this.Wk(i,a),r=a):(this.Wk(s,a),this.Wk(h,a),r=this.getParent(i),e=a),s=this.rl(i),h=this.pq(i),-1!=s&&this.Wk(s,i),-1!=h&&this.Wk(h,i);}s=-1!=s?s:h,-1==r?this.aL(s,n):this.rl(r)==e?this.BC(r,s):this.FC(r,s),-1!=s&&this.Wk(s,r),this.ml(i);},i.prototype.WQ=function(t,i){var n=this.lb.i;n[7*t+4]=2147483647;var s=-1,h=-1,r=-1===i?-1:n[7*i],e=r==t;if(e&&(s=n[7*r],h=n[7*r+1],-1==s&&-1==h))return this.jC(r,i),this.ml(r),void(n[7*i]=-1);this.VO(t,n),-1!=(r=n[7*t+2])&&(n[7*r]==t?n[7*r]=-1:n[7*r+1]=-1),this.jC(t,i),this.ml(t),e&&(n[7*i]=-1==s||-1!=n[7*s+2]?h:s);},i.prototype.xC=function(t,i){this.lb.P(t,3,i);},i}();t.bk=i;}(W||(W={})),function(t){var i=function(){function i(t,i){void 0!==t&&this.H(t,i);}return i.prototype.H=function(t,i){this.fa=t,this.ja=i,this.normalize();},i.prototype.isIntersecting=function(t){return this.fa<=t.fa?this.ja>=t.fa:t.ja>=this.fa},i.prototype.move=function(t){this.u()||(this.fa+=t,this.ja+=t);},i.prototype.normalize=function(){if(!isNaN(this.fa)){if(this.fa>this.ja){var t=this.fa;this.fa=this.ja,this.ja=t;}isNaN(this.ja)&&this.Ka();}},i.prototype.Ka=function(){this.ja=this.fa=NaN;},i.prototype.u=function(){return isNaN(this.fa)},i.prototype.Nb=function(t){"number"==typeof t?this.u()?this.ja=this.fa=t:this.Sk(t):t.u()||(this.u()?(this.fa=t.fa,this.ja=t.ja):(this.fa>t.fa&&(this.fa=t.fa),this.ja<t.ja&&(this.ja=t.ja),this.fa>this.ja&&this.Ka()));},i.prototype.Sk=function(t){t<this.fa?this.fa=t:t>this.ja&&(this.ja=t);},i.prototype.contains=function(t){return "number"==typeof t?t>=this.fa&&t<=this.ja:t.fa>=this.fa&&t.ja<=this.ja},i.prototype.Ia=function(t){this.u()||t.u()?this.Ka():(this.fa<t.fa&&(this.fa=t.fa),this.ja>t.ja&&(this.ja=t.ja),this.fa>this.ja&&this.Ka());},i.prototype.O=function(t){this.u()||(this.fa-=t,this.ja+=t,this.ja<this.fa&&this.Ka());},i.prototype.Mn=function(){return this.u()?2220446049250313e-29:2220446049250313e-29*(Math.abs(this.fa)+Math.abs(this.ja)+1)},i.prototype.uC=function(t,i){t>i?(this.fa=i,this.ja=t):(this.fa=t,this.ja=i);},i.prototype.su=function(i){return t.L.Yj(i,this.fa,this.ja)},i.prototype.N=function(){return this.ja-this.fa},i.prototype.hf=function(){return .5*(this.fa+this.ja)},i.prototype.Ib=function(t){return t==this||t instanceof i&&(!(!this.u()||!t.u())||this.fa==t.fa&&this.ja==t.ja)},i.prototype.fc=function(){return t.L.Aj(t.L.Aj())},i}();t.uc=i;}(W||(W={})),function(t){var i=new t.uc,n=new t.uc,s=function(){this.ue=null,this.mb=-1,this.sb=new t.zb,this.aB=55555555,this.Aw=this.Cw=!1,this.cg=new t.uc,this.cg.uC(0,0);};t.s_=s;var h=function(){function h(i,n,h){this.a=i,this.Ok=NaN,this.CI=this.cr=0,this.DI=NaN,this.qa=n,this.fr=10*n,this.EI=this.FI=NaN,this.yg=!1,this.Qm=this.Pt=this.bp=this.Ft=this.Et=-1,this.SA=h,this.DB=new s,this.MI=new s,t.L.truncate(3*i.hd/2);}return h.prototype.ZG=function(t,i,n,s){t.ue=null===s?null:s[n[5*i]],t.Aw=null!=t.ue,t.Aw||(-1!==(s=n[5*i+2])&&this.a.DX(n[5*i],n[5*s],t.sb),t.ue=t.sb,t.cg.uC(t.sb.ra,t.sb.pa),t.cg.ja+=this.qa,t.sb.hJ(),t.Cw=t.sb.ma==t.sb.na,t.Cw||(t.aB=(t.sb.pa-t.sb.ra)/(t.sb.ma-t.sb.na)));},h.prototype.YP=function(t,i){var n=t.Zr(i,this.qa,!0);return 0!=n?2==n?this.wz():this.Ei():(t.qq($),t.vs(_),i.qq(tt),i.vs(it),Q.ka(this.cr,this.Ok),$.qb(tt)&&this.Ok==$.y?0>_.compare(it)?Q.K(_):Q.K(it):$.qb(it)&&this.Ok==$.y?0>_.compare(tt)?Q.K(_):Q.K(tt):tt.qb(_)&&this.Ok==tt.y?0>$.compare(it)?Q.K($):Q.K(it):_.qb(it)&&this.Ok==_.y&&(0>$.compare(tt)?Q.K($):Q.K(tt)),t.Te(Q.y,Q.x)<i.Te(Q.y,Q.x)?-1:1)},h.prototype.WP=function(t,i){if(t.sb.na==i.sb.na&&t.sb.ra==i.sb.ra)return t.sb.ma==i.sb.ma&&t.sb.pa==i.sb.pa?this.SA?this.wz():0:this.AF(t,i);if(t.sb.ma==i.sb.ma&&t.sb.pa==i.sb.pa)return this.zF(t,i);var n=this.zF(t,i);return t=this.AF(t,i),0>n&&0>t?-1:0<n&&0<t?1:this.Ei()},h.prototype.SP=function(t,i){if(t.pa>i.pa){if(i.pa>i.ra&&i.ma-i.na<2*this.qa&&t.Ci(i.pa,i.ma,this.qa))return this.Ei()}else if((i.ma-i.na)/(i.pa-i.ra)*(t.pa-t.ra)<this.fr&&i.Ci(t.pa,t.ma,this.qa))return this.Ei();return 1},h.prototype.TP=function(t,i){if(t.ra<i.ra){if(i.pa>i.ra&&i.ma-i.na<2*this.qa&&t.Ci(i.pa,i.ma,this.qa))return this.Ei()}else if((i.ma-i.na)/(i.pa-i.ra)*(t.ra-t.pa)<this.fr&&i.Ci(t.ra,t.na,this.qa))return this.Ei();return -1},h.prototype.UP=function(i,n){var s=new t.b;s.tc(n.wc(),n.ac()),s.ur(),s.normalize();var h=new t.b;h.tc(i.ac(),n.ac());var r=new t.b;r.tc(i.wc(),n.ac()),h=h.Vh(s),s=r.Vh(s),r=Math.abs(h);var e=Math.abs(s);if(r<e){if(r<this.fr&&n.Ci(i.ra,i.na,this.qa))return this.Ei()}else if(e<this.fr&&n.Ci(i.pa,i.ma,this.qa))return this.Ei();return 0>h&&0>s?-1:0<h&&0<s?1:this.Ei()},h.prototype.yF=function(t,i){return t.na==i.na&&t.ra==i.ra?this.SP(t,i):t.ma==i.ma&&t.pa==i.pa?this.TP(t,i):this.UP(t,i)},h.prototype.VP=function(t,i){return t.ma==i.ma&&t.pa==i.pa&&t.na==i.na&&t.ra==i.ra?this.SA?this.wz():0:this.Ei()},h.prototype.zF=function(t,i){var n=1;if(t.sb.na<i.sb.na){n=-1;var s=t;t=i,i=s;}t=t.sb,s=i.sb;var h=t.ra-s.ra;i=i.aB*(t.na-s.na);var r=this.fr;return h<i-r?-n:h>i+r?n:s.Ci(t.ra,t.na,this.qa)?this.Ei():h<i?-n:n},h.prototype.AF=function(t,i){var n=1;if(i.sb.ma<t.sb.ma){n=-1;var s=t;t=i,i=s;}t=t.sb,s=i.sb;var h=t.pa-s.ra;i=i.aB*(t.ma-s.na);var r=this.fr;return h<i-r?-n:h>i+r?n:s.Ci(t.pa,t.ma,this.qa)?this.Ei():h<i?-n:n},h.prototype.wz=function(){return this.yg=!0,this.Ti=new t.Od(5,this.bp,this.Pt),-1},h.prototype.Ei=function(){return this.yg=!0,this.SA?this.Ti=new t.Od(4,this.bp,this.Pt):this.Pt=this.bp=this.Ft=this.Et=-1,-1},h.prototype.XP=function(t,s,h,r){if(this.yg)return -1;var e=this.DI==this.Ok&&this.CI==this.cr;if(e&&t==this.Et)var a=this.EI;else a=NaN,this.Et=-1;return e&&s==this.Ft?e=this.FI:(e=NaN,this.Ft=-1),h.ue.QJ(i),r.ue.QJ(n),i.ja<n.fa?-1:n.ja<i.fa?1:(this.DI=this.Ok,this.CI=this.cr,isNaN(a)&&(this.Et=t,this.EI=a=t=h.ue.Te(this.Ok,this.cr)),isNaN(e)&&(this.Ft=s,this.FI=e=t=r.ue.Te(this.Ok,this.cr)),Math.abs(a-e)<=this.qa?this.YP(h.ue,r.ue):a<e?-1:a>e?1:0)},h.prototype.ks=function(){this.yg=!1;},h.prototype.Dm=function(){return this.Ti},h.prototype.dL=function(t,i){this.Ok=t,this.cr=i,this.Pt=this.bp=this.Ft=this.Et=-1;},h.prototype.compare=function(t,i,n){return this.yg?-1:(t=t.ga(n),this.Qm=n,this.CF(i,i,t,t))},h.prototype.CF=function(t,i,n,s){if(this.bp==i)var h=this.DB;else this.bp=i,h=this.DB,this.DB.mb=t,this.ZG(h,i,this.a.ud.i,this.a.bf);if(null==r){this.Pt=s;var r=this.MI;this.MI.mb=n,this.ZG(r,s,this.a.ud.i,this.a.bf);}return h.Aw||r.Aw?this.XP(i,s,h,r):h.cg.ja<r.cg.fa?-1:r.cg.ja<h.cg.fa?1:(t=h.Cw?1:0,0==(t|=r.Cw?2:0)?this.WP(h,r):1==t?this.yF(h.sb,r.sb):2==t?-1*this.yF(r.sb,h.sb):this.VP(h.sb,r.sb))},h}();t.CD=h;}(W||(W={})),function(t){var i=function(){function i(i,n){this.a=i,this.qa=n,this.yg=!1,this.bp=-1,this.cg=new t.uc,this.$q=new t.b,this.$q.Tc(),this.qe=new t.zb,this.Qm=-1,this.kB=17976931348623157e292;}return i.prototype.ks=function(){this.yg=!1,this.kB=17976931348623157e292;},i.prototype.Hh=function(t){this.$q.K(t);},i.prototype.compare=function(t,i){return this.DF(i,t.ga(i))},i.prototype.DF=function(i,n){var s=null!=this.a.ec(n);if(s||(this.a.gd(n,this.qe),this.cg.uC(this.qe.ra,this.qe.pa)),s)throw t.f.Y("not implemented");if(this.$q.x+this.qa<this.cg.fa)return -1;if(this.$q.x-this.qa>this.cg.ja)return 1;if(this.qe.na==this.qe.ma)return this.Qm=i,this.yg=!0,0;this.qe.hJ(),s=this.qe.ac(),(n=new t.b).tc(this.qe.wc(),s),n.ur();var h=new t.b;return h.tc(this.$q,s),s=n.Vh(h),(s/=n.length())<10*-this.qa?-1:s>10*this.qa?1:this.qe.Zs(this.$q,this.qa)&&((n=Math.abs(s))<this.kB&&(this.Qm=i,this.kB=n),this.yg=!0,n<.25*this.qa)?0:0>s?-1:1},i}();t.hN=i;}(W||(W={})),function(t){function i(t,i,n,s){n=new Float64Array(t.subarray(n,s)),t.set(n,i);}var n=function(){function n(t){this.Mb=this.wk=!1,this.i=null;var i=t;2>i&&(i=2),this.i=new Float64Array(i),this.size=t;}return n.prototype.rotate=function(i,n,s){if(this.Mb)throw t.f.Y("invalid_call");if(n<i||n>s||i>s)throw t.f.I();i!=n&&s!=n&&(this.wi(i,n-i,1),this.wi(n,s-n,1),this.wi(i,s-i,1));},n.Af=function(t,i){var s=new n(t),h=s.i;if(2>t&&(t=2),0!==i)for(var r=0;r<t;r++)h[r]=i;return s},n.Vn=function(t){var i=new n(0);return i.i=new Float64Array(t.i),i.size=t.size,i},n.ms=function(t,i){var s=new n(0);return s.size=t.size,s.size>i&&(s.size=i),2>(i=s.size)&&(i=2),s.i=new Float64Array(i),s.i.set(t.i.length<=i?t.i:t.i.subarray(0,i),0),s},n.prototype.Db=function(t){0>=t||(null==this.i?this.i=new Float64Array(t):t<=this.i.length||(0<this.i.length?((t=new Float64Array(t)).set(this.i),this.i=t):this.i=new Float64Array(t)));},n.prototype.read=function(t){return this.i[t]},n.prototype.mc=function(t,i){i.x=this.i[t],i.y=this.i[t+1];},n.prototype.get=function(t){return this.i[t]},n.prototype.write=function(i,n){if(this.Mb)throw t.f.Eb();this.i[i]=n;},n.prototype.set=function(i,n){if(this.Mb)throw t.f.Eb();this.i[i]=n;},n.prototype.Bu=function(i,n){if(this.Mb)throw t.f.Eb();this.i[i]=n.x,this.i[i+1]=n.y;},n.prototype.add=function(t){this.resize(this.size+1),this.i[this.size-1]=t;},n.prototype.qC=function(t){return n.ms(this,t)},n.prototype.Ig=function(t){return this.read(t)},n.prototype.resize=function(i,n){if(void 0===n&&(n=0),this.wk)throw t.f.Y("invalid call. Attribute Stream is locked and cannot be resized.");if(i<=this.size){if(30<this.i.length&&5*i/4<this.i.length){var s=new Float64Array(this.i,0,i);this.i=s;}}else {i>this.i.length&&(s=t.L.truncate(64>i?Math.max(2*i,4):5*i/4),(s=new Float64Array(s)).set(this.i),this.i=s),s=this.i;for(var h=this.size;h<i;h++)s[h]=n;}this.size=i;},n.prototype.Gh=function(i){if((null==this.i||i>this.i.length)&&this.resize(i),this.wk)throw t.f.Y("invalid call. Attribute Stream is locked and cannot be resized.");this.size=i;},n.prototype.Mr=function(t,i){this.write(t,i);},n.prototype.Un=function(i,n,s){for(var h=this.size;n<h&&n<s;n++)i=t.L.Aj(this.read(n));return i},n.prototype.Ib=function(t,i,s){if(null==t||!(t instanceof n))return !1;var h=this.size,r=t.size;if(s>h||s>r&&h!=r)return !1;for(s>h&&(s=h);i<s;i++)if(this.read(i)!=t.read(i))return !1;return !0},n.prototype.addRange=function(i,n,s,h,r){if(this.Mb)throw t.f.Eb();if(!h&&(1>r||0!=s%r))throw t.f.I();var e=this.size;if(this.resize(e+s),h)this.i.set(i.i.subarray(n,n+s),e);else {h=s;for(var a=0;a<s;a+=r){h-=r;for(var o=0;o<r;o++)this.i[e+a+o]=i.i[n+h+o];}}},n.prototype.fo=function(n,s,h,r,e,a,o){if(this.Mb)throw t.f.Eb();if(!e&&(1>a||0!=r%a))throw t.f.I();var u=this.size-o;if(u<r&&this.resize(this.size+r-u),i(this.i,n+r,n,n+(o-n)),this.i==s.i&&n<h&&(h+=r),e)this.i.set(s.i.subarray(h,h+r),n);else for(e=r,o=0;o<r;o+=a)for(e-=a,u=0;u<a;u++)this.i[n+o+u]=s.i[h+e+u];},n.prototype.qA=function(n,s,h,r,e,a){if(this.Mb)throw t.f.Eb();if(0>a&&(a=this.size),this.size+2*r>this.i.length?this.resize(this.size+2*r):this.size+=2*r,i(this.i,n+2*r,n,n+(a-n)),e)for(e=0;e<r;e++)a=s[h++],this.i[n++]=a.x,this.i[n++]=a.y;else {e=0;for(var o=r-1;e<r;++e)a=s[h+o],this.i[n++]=a.x,this.i[n++]=a.y,o--;}},n.prototype.Gm=function(n,s,h,r){if(this.Mb)throw t.f.Eb();for(r-=n,i(this.i,n+r,n,n+r),r=0;r<h;r++)this.i[n+r]=s;},n.prototype.Gi=function(n,s,h){if(this.Mb)throw t.f.Eb();i(this.i,n+2,n,n+(h-n)),this.i[n]=s.x,this.i[n+1]=s.y;},n.prototype.cD=function(i,n,s,h,r){if(0>i||0>n||0>h)throw t.f.I();if(s.length<h+n)throw t.f.I();if(0!=n)if(this.size<n+i&&this.resize(n+i),r)this.i.set(s.subarray(h,n),i);else for(r||(i+=n-1),n=h+n;h<n;h++)this.i[i]=s[h],i--;},n.prototype.Cu=function(i,n,s,h,r,e){if(0>i||0>n||0>h)throw t.f.I();if(!r&&(0>=e||0!=n%e))throw t.f.I();if(s.size<h+n)throw t.f.I();if(0!=n)if(this.size<n+i&&this.resize(n+i),s==this)this.$r(i,n,h,r,e);else if(r)for(r=0;r<n;r++)this.i[i]=s.i[h],i++,h++;else if(h=h+n-e,1==e)for(r=0;r<n;r++)this.i[i]=s.i[h],i++,h--;else for(r=0,n=t.L.truncate(n/e);r<n;r++){for(var a=0;a<e;a++)this.i[i+a]=s.i[h+a];i+=e,h-=e;}},n.prototype.Xn=function(n,s,h){if(this.Mb)throw t.f.Eb();if(n+s>this.size)throw t.f.Eb();0<h-(n+s)&&i(this.i,n,n+s,n+(h-(n+s))+s),this.size-=s;},n.prototype.wi=function(i,n,s){if(this.Mb)throw t.f.Eb();if(1>s||0!=n%s)throw t.f.Eb();for(var h=n>>1,r=0;r<h;r+=s){n-=s;for(var e=0;e<s;e++){var a=this.i[i+r+e];this.i[i+r+e]=this.i[i+n+e],this.i[i+n+e]=a;}}},n.prototype.Xj=function(i,n,s){if(0>n||0>s||0>n||s+n>this.size)throw t.f.I();for(var h=n;h<n+s;h++)this.i[h]=i;},n.prototype.$r=function(i,n,s,h,r){if(!(h&&i==s||(this.i.set(this.i.subarray(s,s+n),i),h)))for(s=i,i=i+n-r,h=0,n=t.L.truncate(n/2);h<n;h++){for(var e=0;e<r;e++){var a=this.i[s+e];this.i[s+e]=this.i[i+e],this.i[i+e]=a;}s+=r,i-=r;}},n.prototype.eD=function(i,n,s,h,r){if(0>i||0>n||0>h)throw t.f.I();if(0!=n)for(this.size<(n<<1)+i&&this.resize((n<<1)+i),r||(i+=n-1<<1),r=r?2:-2,n+=h;h<n;h++)this.i[i]=s[h].x,this.i[i+1]=s[h].y,i+=r;},n.prototype.dD=function(i,n,s){if(0>i||0>n)throw t.f.I();if(0!=n){this.size<(n<<1)+i&&this.resize((n<<1)+i),n+=0;for(var h=0;h<n;h++)this.i[i]=s[h][0],this.i[i+1]=s[h][1],i+=2;}},n.prototype.iu=function(i,n,s,h,r){if(0>i||0>n||0>h||this.size<n+i)throw t.f.I();if(r)for(r=0;r<n;r++)s[h+r]=this.i[i+r];else for(h=h+n-1;i<n;i++)s[h]=this.i[i],h--;},n.prototype.dC=function(i,n,s){if(0>i||0>n||this.size<(n>>1)+i)throw t.f.I();if(0!=n){n=0+n;for(var h=0;h<n;h++)s[h][0]=this.i[i],s[h][1]=this.i[i+1],i+=2;}},n.prototype.clear=function(t){t?this.resize(0):this.Gh(0);},n.prototype.Px=function(){this.wk=this.Mb=!0;},n.prototype.Zd=function(t,i,n){Array.prototype.sort.call(this.i.subarray(t,i),n);},n.prototype.sl=function(){return 1},n}();t.ie=n;}(W||(W={})),function(t){function i(t,i,n,s){n=new Int32Array(t.subarray(n,s)),t.set(n,i);}t.YZ=function(){this.random=1973;};var n=function(){function n(t){this.Mb=this.wk=!1,this.i=null;var i=t;2>i&&(i=2),this.i=new Int32Array(i),this.size=t;}return n.prototype.rotate=function(i,n,s){if(this.Mb)throw t.f.Y("invalid_call");if(n<i||n>s||i>s)throw t.f.I();i!=n&&s!=n&&(this.wi(i,n-i,1),this.wi(n,s-n,1),this.wi(i,s-i,1));},n.Af=function(t,i){var s=new n(t),h=s.i;if(2>t&&(t=2),0!==i)for(var r=0;r<t;r++)h[r]=i;return s},n.Vn=function(t){var i=new n(0);return i.i=new Int32Array(t.i),i.size=t.size,i},n.ms=function(t,i){var s=new n(0);return s.size=t.size,s.size>i&&(s.size=i),2>(i=s.size)&&(i=2),s.i=new Int32Array(i),s.i.set(t.i.length<=i?t.i:t.i.subarray(0,i),0),s},n.prototype.Db=function(t){0>=t||(null==this.i?this.i=new Int32Array(t):t<=this.i.length||(0<this.i.length?((t=new Int32Array(t)).set(this.i),this.i=t):this.i=new Int32Array(t)));},n.prototype.read=function(t){return this.i[t]},n.prototype.mc=function(t,i){i.x=this.i[t],i.y=this.i[t+1];},n.prototype.get=function(t){return this.i[t]},n.prototype.write=function(i,n){if(this.Mb)throw t.f.Eb();this.i[i]=n;},n.prototype.set=function(i,n){if(this.Mb)throw t.f.Eb();this.i[i]=n;},n.prototype.Bu=function(i,n){if(this.Mb)throw t.f.Eb();this.i[i]=n.x,this.i[i+1]=n.y;},n.prototype.add=function(t){this.resize(this.size+1),this.i[this.size-1]=t;},n.prototype.qC=function(t){return n.ms(this,t)},n.prototype.Ig=function(t){return this.read(t)},n.prototype.resize=function(i,n){if(void 0===n&&(n=0),this.wk)throw t.f.Y("invalid call. Attribute Stream is locked and cannot be resized.");if(i<=this.size){if(30<this.i.length&&5*i/4<this.i.length){var s=new Int32Array(this.i,0,i);this.i=s;}}else {i>this.i.length&&(s=t.L.truncate(64>i?Math.max(2*i,4):5*i/4),(s=new Int32Array(s)).set(this.i),this.i=s),s=this.i;for(var h=this.size;h<i;h++)s[h]=n;}this.size=i;},n.prototype.Gh=function(i){if((null==this.i||i>this.i.length)&&this.resize(i),this.wk)throw t.f.Y("invalid call. Attribute Stream is locked and cannot be resized.");this.size=i;},n.prototype.Mr=function(t,i){this.write(t,i);},n.prototype.Un=function(i,n,s){for(var h=this.size;n<h&&n<s;n++)i=t.L.Zh(this.read(n),i);return i},n.prototype.Ib=function(t,i,s){if(null==t||!(t instanceof n))return !1;var h=this.size,r=t.size;if(s>h||s>r&&h!=r)return !1;for(s>h&&(s=h);i<s;i++)if(this.read(i)!=t.read(i))return !1;return !0},n.prototype.addRange=function(i,n,s,h,r){if(this.Mb)throw t.f.Eb();if(!h&&(1>r||0!=s%r))throw t.f.I();var e=this.size;if(this.resize(e+s),h)this.i.set(i.i.subarray(n,n+s),e);else {h=s;for(var a=0;a<s;a+=r){h-=r;for(var o=0;o<r;o++)this.i[e+a+o]=i.i[n+h+o];}}},n.prototype.fo=function(n,s,h,r,e,a,o){if(this.Mb)throw t.f.Eb();if(!e&&(1>a||0!=r%a))throw t.f.I();if(i(this.i,n+r,n,n+(o-n)),this.i==s.i&&n<h&&(h+=r),e)this.i.set(s.i.subarray(h,h+r),n);else for(e=r,o=0;o<r;o+=a){e-=a;for(var u=0;u<a;u++)this.i[n+o+u]=s.i[h+e+u];}},n.prototype.qA=function(n,s,h,r,e,a){if(this.Mb)throw t.f.Eb();if(0>a&&(a=this.size),this.size+2*r>this.i.length?this.resize(this.size+2*r):this.size+=2*r,i(this.i,n+2*r,n,n+(a-n)),e)for(e=0;e<r;e++)a=s[h++],this.i[n++]=a.x,this.i[n++]=a.y;else {e=0;for(var o=r-1;e<r;++e)a=s[h+o],this.i[n++]=a.x,this.i[n++]=a.y,o--;}},n.prototype.Gm=function(n,s,h,r){if(this.Mb)throw t.f.Eb();for(r-=n,i(this.i,n+r,n,n+r),r=0;r<h;r++)this.i[n+r]=s;},n.prototype.Gi=function(n,s,h){if(this.Mb)throw t.f.Eb();i(this.i,n+2,n,n+(h-n)),this.i[n]=s.x,this.i[n+1]=s.y;},n.prototype.cD=function(i,n,s,h,r){if(0>i||0>n||0>h)throw t.f.I();if(s.length<h+n)throw t.f.I();if(0!=n)if(this.size<n+i&&this.resize(n+i),r)this.i.set(s.subarray(h,n),i);else for(r||(i+=n-1),n=h+n;h<n;h++)this.i[i]=s[h],i--;},n.prototype.Cu=function(i,n,s,h,r,e){if(0>i||0>n||0>h)throw t.f.I();if(!r&&(0>=e||0!=n%e))throw t.f.I();if(s.size<h+n)throw t.f.I();if(0!=n)if(this.size<n+i&&this.resize(n+i),s==this)this.$r(i,n,h,r,e);else if(r)for(r=0;r<n;r++)this.i[i]=s.i[h],i++,h++;else if(h=h+n-e,1==e)for(r=0;r<n;r++)this.i[i]=s.i[h],i++,h--;else for(r=0,n=t.L.truncate(n/e);r<n;r++){for(var a=0;a<e;a++)this.i[i+a]=s.i[h+a];i+=e,h-=e;}},n.prototype.Xn=function(n,s,h){if(this.Mb)throw t.f.Eb();if(n+s>this.size)throw t.f.Eb();0<h-(n+s)&&i(this.i,n,n+s,n+(h-(n+s))+s),this.size-=s;},n.prototype.wi=function(i,n,s){if(this.Mb)throw t.f.Eb();if(1>s||0!=n%s)throw t.f.Eb();for(var h=n>>1,r=0;r<h;r+=s){n-=s;for(var e=0;e<s;e++){var a=this.i[i+r+e];this.i[i+r+e]=this.i[i+n+e],this.i[i+n+e]=a;}}},n.prototype.Xj=function(i,n,s){if(0>n||0>s||0>n||s+n>this.size)throw t.f.I();for(var h=n;h<n+s;h++)this.i[h]=i;},n.prototype.$r=function(i,n,s,h,r){if(!(h&&i==s||(this.i.set(this.i.subarray(s,s+n),i),h)))for(s=i,i=i+n-r,h=0,n=t.L.truncate(n/2);h<n;h++){for(var e=0;e<r;e++){var a=this.i[s+e];this.i[s+e]=this.i[i+e],this.i[i+e]=a;}s+=r,i-=r;}},n.prototype.eD=function(i,n,s,h,r){if(0>i||0>n||0>h)throw t.f.I();if(0!=n)for(this.size<(n<<1)+i&&this.resize((n<<1)+i),r||(i+=n-1<<1),r=r?2:-2,n+=h;h<n;h++)this.i[i]=s[h].x,this.i[i+1]=s[h].y,i+=r;},n.prototype.iu=function(i,n,s,h,r){if(0>i||0>n||0>h||this.size<n+i)throw t.f.I();if(r)for(r=0;r<n;r++)s[h+r]=this.i[i+r];else for(h=h+n-1;i<n;i++)s[h]=this.i[i],h--;},n.prototype.clear=function(t){t?this.resize(0):this.Gh(0);},n.prototype.Px=function(){this.wk=this.Mb=!0;},n.prototype.Zd=function(t,i,s){10>i-t?n.dH(this.i,t,i,s):n.$B(this.i,t,i-1,s);},n.prototype.sl=function(){return 2},n.prototype.Gc=function(){return this.i[this.size-1]},n.prototype.Rf=function(){this.resize(this.size-1);},n.prototype.EY=function(t){this.i[this.size-1]=t;},n.prototype.kX=function(t){t<this.size-1&&(this.i[t]=this.i[this.size-1]),this.resize(this.size-1);},n.prototype.ZF=function(t){for(var i=0,n=this.size;i<n;i++)if(this.i[i]==t)return i;return -1},n.prototype.UG=function(t){return 0<=this.ZF(t)},n.dH=function(t,i,n,s){for(var h=i;h<n;h++){for(var r=t[h],e=h-1;e>=i&&0<s(t[e],r);)t[e+1]=t[e],e--;t[e+1]=r;}},n.$x=function(t,i,n){var s=t[n];t[n]=t[i],t[i]=s;},n.$B=function(t,i,s,h){if(!(i>=s))for(;;){if(9>s-i){n.dH(t,i,s+1,h);break}var r=t[i];n.$x(t,i,s);for(var e=i,a=i;a<s;a++)0>=h(t[a],r)&&(n.$x(t,e,a),e+=1);n.$x(t,e,s),e-i<s-e?(n.$B(t,i,e-1,h),i=e+1):(n.$B(t,e+1,s,h),s=e-1);}},n}();t.ha=n;}(W||(W={})),function(t){function i(t,i,n,s){n=new Int8Array(t.subarray(n,s)),t.set(n,i);}var n=function(){function n(t){this.i=null;var i=t;2>i&&(i=2),this.i=new Int8Array(i),this.size=t;}return n.prototype.rotate=function(i,n,s){if(this.Mb)throw t.f.Y("invalid_call");if(n<i||n>s||i>s)throw t.f.I();i!=n&&s!=n&&(this.wi(i,n-i,1),this.wi(n,s-n,1),this.wi(i,s-i,1));},n.Af=function(t,i){var s=new n(t),h=s.i;if(2>t&&(t=2),0!==i)for(var r=0;r<t;r++)h[r]=i;return s},n.Vn=function(t){var i=new n(0);return i.i=new Int8Array(t.i),i.size=t.size,i},n.ms=function(t,i){var s=new n(0);return s.size=t.size,s.size>i&&(s.size=i),2>(i=s.size)&&(i=2),s.i=new Int8Array(i),s.i.set(t.i.length<=i?t.i:t.i.subarray(0,i),0),s},n.prototype.Db=function(t){0>=t||(null==this.i?this.i=new Int8Array(t):t<=this.i.length||(0<this.i.length?((t=new Int8Array(t)).set(this.i),this.i=t):this.i=new Int8Array(t)));},n.prototype.read=function(t){return this.i[t]},n.prototype.mc=function(t,i){i.x=this.i[t],i.y=this.i[t+1];},n.prototype.get=function(t){return this.i[t]},n.prototype.write=function(i,n){if(this.Mb)throw t.f.Eb();this.i[i]=n;},n.prototype.set=function(i,n){if(this.Mb)throw t.f.Eb();this.i[i]=n;},n.prototype.Bu=function(i,n){if(this.Mb)throw t.f.Eb();this.i[i]=n.x,this.i[i+1]=n.y;},n.prototype.add=function(t){this.resize(this.size+1),this.i[this.size-1]=t;},n.prototype.qC=function(t){return n.ms(this,t)},n.prototype.Ig=function(t){return this.read(t)},n.prototype.resize=function(i,n){if(void 0===n&&(n=0),this.wk)throw t.f.Y("invalid call. Attribute Stream is locked and cannot be resized.");if(i<=this.size){if(30<this.i.length&&5*i/4<this.i.length){var s=new Int8Array(this.i,0,i);this.i=s;}}else {i>this.i.length&&(s=t.L.truncate(64>i?Math.max(2*i,4):5*i/4),(s=new Int8Array(s)).set(this.i),this.i=s),s=this.i;for(var h=this.size;h<i;h++)s[h]=n;}this.size=i;},n.prototype.Gh=function(i){if((null==this.i||i>this.i.length)&&this.resize(i),this.wk)throw t.f.Y("invalid call. Attribute Stream is locked and cannot be resized.");this.size=i;},n.prototype.Mr=function(t,i){this.write(t,i);},n.prototype.Un=function(i,n,s){for(var h=this.size;n<h&&n<s;n++)i=t.L.Zh(this.read(n),i);return i},n.prototype.Ib=function(t,i,s){if(null==t||!(t instanceof n))return !1;var h=this.size,r=t.size;if(s>h||s>r&&h!=r)return !1;for(s>h&&(s=h);i<s;i++)if(this.read(i)!=t.read(i))return !1;return !0},n.prototype.addRange=function(i,n,s,h,r){if(this.Mb)throw t.f.Eb();if(!h&&(1>r||0!=s%r))throw t.f.I();var e=this.size;if(this.resize(e+s),h)this.i.set(i.i.subarray(n,n+s),e);else {h=s;for(var a=0;a<s;a+=r){h-=r;for(var o=0;o<r;o++)this.i[e+a+o]=i.i[n+h+o];}}},n.prototype.fo=function(n,s,h,r,e,a,o){if(this.Mb)throw t.f.Eb();if(!e&&(1>a||0!=r%a))throw t.f.I();if(i(this.i,n+r,n,n+(o-n)),this.i==s.i&&n<h&&(h+=r),e)this.i.set(s.i.subarray(h,h+r),n);else for(e=r,o=0;o<r;o+=a){e-=a;for(var u=0;u<a;u++)this.i[n+o+u]=s.i[h+e+u];}},n.prototype.Gm=function(n,s,h,r){if(this.Mb)throw t.f.Eb();for(r-=n,i(this.i,n+r,n,n+r),r=0;r<h;r++)this.i[n+r]=s;},n.prototype.qA=function(n,s,h,r,e,a){if(this.Mb)throw t.f.Eb();if(0>a&&(a=this.size),this.size+2*r>this.i.length?this.resize(this.size+2*r):this.size+=2*r,i(this.i,n+2*r,n,n+(a-n)),e)for(e=0;e<r;e++)a=s[h++],this.i[n++]=a.x,this.i[n++]=a.y;else {e=0;for(var o=r-1;e<r;++e)a=s[h+o],this.i[n++]=a.x,this.i[n++]=a.y,o--;}},n.prototype.Gi=function(n,s,h){if(this.Mb)throw t.f.Eb();i(this.i,n+2,n,n+(h-n)),this.i[n]=s.x,this.i[n+1]=s.y;},n.prototype.cD=function(i,n,s,h,r){if(0>i||0>n||0>h)throw t.f.I();if(s.length<h+n)throw t.f.I();if(0!=n)if(this.size<n+i&&this.resize(n+i),r)this.i.set(s.subarray(h,n),i);else for(r||(i+=n-1),n=h+n;h<n;h++)this.i[i]=s[h],i--;},n.prototype.Cu=function(i,n,s,h,r,e){if(0>i||0>n||0>h)throw t.f.I();if(!r&&(0>=e||0!=n%e))throw t.f.I();if(s.size<h+n)throw t.f.I();if(0!=n)if(this.size<n+i&&this.resize(n+i),s==this)this.$r(i,n,h,r,e);else if(r)for(r=0;r<n;r++)this.i[i]=s.i[h],i++,h++;else if(h=h+n-e,1==e)for(r=0;r<n;r++)this.i[i]=s.i[h],i++,h--;else for(r=0,n=t.L.truncate(n/e);r<n;r++){for(var a=0;a<e;a++)this.i[i+a]=s.i[h+a];i+=e,h-=e;}},n.prototype.Xn=function(n,s,h){if(this.Mb)throw t.f.Eb();if(n+s>this.size)throw t.f.Eb();0<h-(n+s)&&i(this.i,n,n+s,n+(h-(n+s))+s),this.size-=s;},n.prototype.wi=function(i,n,s){if(this.Mb)throw t.f.Eb();if(1>s||0!=n%s)throw t.f.Eb();for(var h=n>>1,r=0;r<h;r+=s){n-=s;for(var e=0;e<s;e++){var a=this.i[i+r+e];this.i[i+r+e]=this.i[i+n+e],this.i[i+n+e]=a;}}},n.prototype.Xj=function(i,n,s){if(0>n||0>s||0>n||s+n>this.size)throw t.f.I();for(var h=n;h<n+s;h++)this.i[h]=i;},n.prototype.$r=function(i,n,s,h,r){if(!(h&&i==s||(this.i.set(this.i.subarray(s,s+n),i),h)))for(s=i,i=i+n-r,h=0,n=t.L.truncate(n/2);h<n;h++){for(var e=0;e<r;e++){var a=this.i[s+e];this.i[s+e]=this.i[i+e],this.i[i+e]=a;}s+=r,i-=r;}},n.prototype.eD=function(i,n,s,h,r){if(0>i||0>n||0>h)throw t.f.I();if(0!=n)for(this.size<(n<<1)+i&&this.resize((n<<1)+i),r||(i+=n-1<<1),r=r?2:-2,n+=h;h<n;h++)this.i[i]=s[h].x,this.i[i+1]=s[h].y,i+=r;},n.prototype.iu=function(i,n,s,h,r){if(0>i||0>n||0>h||this.size<n+i)throw t.f.I();if(r)for(r=0;r<n;r++)s[h+r]=this.i[i+r];else for(h=h+n-1;i<n;i++)s[h]=this.i[i],h--;},n.prototype.clear=function(t){t?this.resize(0):this.Gh(0);},n.prototype.Px=function(){this.wk=this.Mb=!0;},n.prototype.Zd=function(t,i,n){i=this.i.subarray(t,i),Array.prototype.sort.call(i,n),this.i.set(i,t);},n.prototype.DK=function(i,n){if(this.Mb)throw t.f.Y("invalid call. Attribute Stream is read only.");this.i[i]|=n;},n.prototype.uF=function(i,n){if(this.Mb)throw t.f.Y("invalid call. Attribute Stream is read only.");this.i[i]&=~n;},n.prototype.sl=function(){return 1},n}();t.Gn=n;}(W||(W={})),function(t){t.Xc=function(){function i(){}return i.ns=function(i,n){return t.Gn.Af(i,n)},i.Wn=function(i,n){return t.ie.Af(i,n)},i.zQ=function(i,n,s){switch(i){case 1:i=t.ie.Af(n,s);break;case 2:i=t.ha.Af(n,s);break;case 4:i=t.Gn.Af(n,s);break;default:throw t.f.za()}return i},i.JF=function(n,s){return i.zQ(t.oa.sl(n),s*t.oa.Sa(n),t.oa.me(n))},i.Sh=function(i,n){return t.ha.Af(i,n)},i.gJ=function(t){var i,n=[];for(i=0;i<t;i++)n.push(null);return n},i}();}(W||(W={})),function(t){t.da=function(t){void 0===t&&(t=0),this.j=t;};}(W||(W={})),function(t){t.VM=function(){function i(){}return i.bind=function(n){t.Pc=n.PeDefs,t.zf=n.PeFactory,t.uD=n.PeVertcs,t.Kh=n.PeCSTransformations,t.tD=n.PeGTTransformations,t.TM=n.PeGeogtran,t.SM=n.PeFactoryCodechange,t.sD=n.PeGCSExtent,t.ng=n.PePCSInfo,t.UM=n.PeHorizon,t.RM=n.PeCoordsys,t.Dp=n.PeGTlistExtended,t.Dp.PE_GTLIST_OPTS_USE_DEFAULT=128,t.zf.initialize(null),t.ry=n.PeGTlistExtendedEntry,i.rV=t.zf.fromString(t.Pc.PE_TYPE_UNIT,'UNIT["Meter",1.0]');},i.K0=function(){},i.rV=null,i}(),t.zf=null,t.uD=null,t.RM=null,t.UM=null,t.ng=null,t.Dp=null,t.ry=null,t.sD=null,t.SM=null,t.TM=null,t.Pc=null,t.tD=null,t.Kh=null;}(W||(W={})),function(t){var i=function(){function t(){}return t.ub=function(i,n){return 0<=n?t.J(i):-t.J(i)},t.J=function(t){return 0>t?-t:t},t.Ai=function(t){return 3552713678800501e-30>t},t.rD=function(i,n,s){return t.J(i-n)<=s*(1+(t.J(i)+t.J(n))/2)},t.V=function(i,n){return t.rD(i,n,3552713678800501e-30)},t.NM=function(i){return 3552713678800501e-30>=t.J(i)},t.qd=function(i){return t.NM(i)},t}();t.l=i,t.C=function(){function n(){}return n.wp=function(t,n){var s=0;return 0!=(t=i.J(t))+(n=i.J(n))&&(t>n?(s=n/t,s=t*Math.sqrt(1+s*s)):(s=t/n,s=n*Math.sqrt(1+s*s))),s},n.pr=function(t,s,h,r,e){for(var a=[0,0,0],o=[0,0,0],u=0;2>=u;u++)s[u]-=t[u],h[u]-=s[u];h=a[1]*o[2]-a[2]*o[1],s=a[2]*o[0]-a[0]*o[2],a=a[0]*o[1]-a[1]*o[0],t=-1*(h*t[0]+s*t[1]+a*t[2]),r[0]=h,r[1]=s,r[2]=a,r[3]=t,o=n.Fn(r),r[0]/=o,r[1]/=o,r[2]/=o,r[3]/=o,0!=e&&(o=i.qd(a)?i.qd(t)?i.ub(1,s):-i.ub(1,t):i.ub(1,a),o*=i.ub(1,e),r[0]*=o,r[1]*=o,r[2]*=o,r[3]*=o);},n.ey=function(t,i,n){n[0]=t[1]*i[2]-i[1]*t[2],n[1]=t[2]*i[0]-i[2]*t[0],n[2]=t[0]*i[1]-i[0]*t[1];},n.Au=function(t,i){return t[0]*i[0]+t[1]*i[1]+t[2]*i[2]},n.Fn=function(t){return n.wp(n.wp(t[0],t[1]),t[2])},n.hk=function(t,i,s,h,r,e,a,o){t=n.n(t,i,s);var u=Math.cos(s);e.j=(t+r)*u*Math.cos(h),a.j=(t+r)*u*Math.sin(h),o.j=(t*(1-i)+r)*Math.sin(s);},n.sP=function(t,s,h,r,e,a,o){var u=n.wp(s,h),f=1*Math.sqrt(1-t),c=f/1;if(i.V(u,0))a.j=0,e.j=i.ub(1.570796326794897,r),o.j=i.J(r)-f;else {a.j=Math.atan2(h,s),h=Math.atan2(1*r,f*u),a=Math.cos(h);var l=Math.sin(h);s=f*t/(1-t),t*=1,h=Math.atan2(r+s*l*l*l,u-t*a*a*a),3.141592653589793<i.J(h)&&(h=i.ub(3.141592653589793,h)-h),h=Math.atan(c*Math.tan(h)),l=Math.sin(h),a=Math.cos(h),e.j=Math.atan2(r+s*l*l*l,u-t*a*a*a),1.570796326794897<i.J(e.j)&&(e.j=i.ub(3.141592653589793,e.j)-e.j),h=Math.atan(c*Math.tan(e.j)),l=Math.sin(h),a=Math.cos(h),o.j=(r-f*l)*Math.sin(e.j)+(u-1*a)*Math.cos(e.j);}},n.n=function(t,i,n){return n=Math.sin(n),t/Math.sqrt(1-i*n*n)},n.Xt=function(t,i){return Math.atan2(Math.sin(i)*(1-t),Math.cos(i))},n.Rj=function(t,i){return Math.atan2(Math.sin(i),Math.cos(i)*(1-t))},n.kr=function(t,s){if(i.Ai(t)||0==s||i.V(i.J(s),1.570796326794897))return s;if(.006884661117170036>t){var h=Math.sqrt(1-t),r=(1-h)/(1+h),e=r*r,a=r*e,o=r*a,u=r*o,f=r*u,c=r*f,l=1.572916666666667*a-3.2578125*u+4.295068359375*c;t=2.142578125*o-6.071484375*f,h=3.129296875*u-11.249837239583334*c;var p=4.775276692708333*f,b=7.958636765252976*c,v=Math.cos(2*s);return s+Math.sin(2*s)*(1.5*r-.84375*a+.525390625*u-.2688395182291667*c-l+h-b+v*(2*(1.3125*e-1.71875*o+1.650146484375*f)-4*t+6*p+v*(4*l-12*h+24*b+v*(8*t-32*p+v*(16*h-80*b+v*(32*p+64*v*b))))))}for(h=1-t,r=t/2,a=(e=i.J(s))*n.Gv(t)/(1.570796326794897*h),o=9999,f=e,e=0;1e-16<o&&50>e;e++)c=n.gm(t,f),u=f-(l=(u=(n.XG(f,t)-r*Math.sin(2*f)/c)/h-a)/(c=1/(c*c*c))),o=i.J(l),f=u;return 0<=s?f:-f},n.WX=function(t,s){return i.Ai(s)?t:t*n.Gv(s)/1.570796326794897},n.ba=function(t){return 0>(t=n.cG(t,6.283185307179586))?t+6.283185307179586:3.141592653589793>i.J(t)||i.V(i.J(t),3.141592653589793)?t:t-6.283185307179586},n.cG=function(t,i){return t-Math.floor(t/i)*i},n.Hg=function(t,i){if(.006884661117170036>i){var s=(i=(1-(i=Math.sqrt(1-i)))/(1+i))*i,h=s*s;return t/(1+i)*(1+.25*s+.015625*h+.00390625*s*h)*1.570796326794897}return t*n.Gv(i)},n.nr=function(t,s){var h=i.ub(1,Math.sin(s));return s=1.570796326794897>=(s=i.J(n.cG(s,3.141592653589793)))?s:3.141592653589793-s,(i.V(s,1.570796326794897)?s:Math.atan(Math.sqrt(1-t)*Math.tan(s)))*h},n.q=function(t,i,s){if(.006884661117170036>i){var h=(i=(1-(i=Math.sqrt(1-i)))/(1+i))*i,r=i*h,e=i*r,a=i*e,o=i*a,u=i*o,f=-.7291666666666666*r+.2278645833333333*a+.03987630208333334*u,c=.615234375*e-.21533203125*o,l=-.54140625*a+.20302734375*u,p=.48876953125*o,b=-.4488699776785715*u,v=Math.cos(2*s);return t/(1+i)*((1+.25*h+.015625*e+.00390625*o)*s+Math.sin(2*s)*(-1.5*i+.1875*r+.0234375*a+.00732421875*u-f+l-b+v*(2*(.9375*h-.234375*e-.03662109375*o)-4*c+6*p+v*(4*f-12*l+24*b+v*(8*c-32*p+v*(16*l-80*b+v*(32*p+64*v*b)))))))}return t*(n.XG(s,i)-.5*i*Math.sin(2*s)/n.gm(i,s))},n.gm=function(t,i){return i=Math.sin(i),Math.sqrt(1-t*i*i)},n.Gv=function(t){return i.rD(t,1,2220446049250313e-31)?1:1>t?n.Ex(0,1-t)-t/3*n.Cx(0,1-t):NaN},n.XG=function(s,h){var r=i.ub(1,s);s=i.J(s);var e=Math.floor(s/1.570796326794897);if(1<h)h=0==s?0:NaN;else if(i.qd(e))h=(s=n.sin(s))*n.Ex(1-s*s,1-h*s*s)-h/3*s*s*s*n.Cx(1-s*s,1-h*s*s);else {var a=t.L.truncate(e%2),o=n.Gv(h);0<a?h=o*(e+1)-(h=(s=Math.sin(1.570796326794897*(e+1)-s))*n.Ex(1-s*s,1-h*s*s)-h/3*s*s*s*n.Cx(1-s*s,1-h*s*s)):h=o*e+(h=(s=Math.sin(s-1.570796326794897*e))*n.Ex(1-s*s,1-h*s*s)-h/3*s*s*s*n.Cx(1-s*s,1-h*s*s));}return h*r},n.sin=function(t){t=n.ba(t);var s=i.ub(1,t);return t=i.J(t),i.V(t,3.141592653589793)?0:i.V(t,1.570796326794897)?1*s:Math.sin(t)*s},n.Cx=function(t,n){var s,h,r,e,a=t,o=n,u=1;for(n=0,t=1;h=((s=.2*(a+o+3*u))-a)/s,r=(s-o)/s,e=(s-u)/s,!(1e-4>i.J(h)&&1e-4>i.J(r)&&1e-4>i.J(e));)e=Math.sqrt(o),n+=t/((s=Math.sqrt(u))*(u+(e=Math.sqrt(a)*(e+s)+e*s))),t*=.25,a=.25*(a+e),o=.25*(o+e),u=.25*(u+e);return o=(a=h*r)-(u=e*e),3*n+t*(1+(u=a-6*u)*(.10227272727272728*u-.2142857142857143-.1730769230769231*e*(h=u+o+o))+e*(.1666666666666667*h+e*(-.4090909090909091*o+.1153846153846154*e*a)))/(s*Math.sqrt(s))},n.Ex=function(t,n){for(var s,h,r,e,a=1;h=2-((s=(t+n+a)/3)+t)/s,r=2-(s+n)/s,e=2-(s+a)/s,!(1e-4>i.J(h)&&1e-4>i.J(r)&&1e-4>i.J(e));a=.25*(a+s))s=Math.sqrt(n),h=Math.sqrt(a),t=.25*(t+(s=Math.sqrt(t)*(s+h)+s*h)),n=.25*(n+s);return (1+(.04166666666666666*(t=h*r-e*e)-.1-.06818181818181818*(n=h*r*e))*t+.07142857142857142*n)/Math.sqrt(s)},n.wx=function(t,n){if(i.Ai(t)||0==n||i.V(i.J(n),1.570796326794897))return n;if(.006884661117170036>t){var s=t*t,h=t*s,r=t*h,e=t*r,a=t*e,o=t*a,u=-(.02708333333333333*h+.03430059523809524*r+.03149181547619048*e+.02634359154541446*a+.02156896735835538*o),f=.007669890873015873*r+.01299603174603175*e+.0148051353064374*a+.01454454953803912*o,c=-(.002275545634920635*e+.004830845032667949*a+.006558395368616723*o),l=.0006957236677288761*a+.001775193002406544*o,p=-.000217324089394402*o,b=Math.cos(2*n);return n+Math.sin(2*n)*(-(.5*t+.2083333333333333*s+.09375*h+.04878472222222222*r+.02916666666666667*e+.01938905423280423*a+.01388255931712963*o)-u+c-p+b*(2*(.1041666666666667*s+.0875*h+.06050347222222222*r+.04151785714285714*e+.02958958540013228*a+.02203667534722222*o)-4*f+6*l+b*(4*u-12*c+24*p+b*(8*f-32*l+b*(16*c-80*p+b*(32*l+64*b*p))))))}return 0==n||i.V(i.J(n),1.570796326794897)?s=n:(r=(h=Math.sqrt(t))*Math.sin(n),s=Math.tan(.7853981633974483+n/2)*Math.pow((1-r)/(1+r),h/2),s=2*Math.atan(s)-1.570796326794897),s},n.IP=function(t,n){if(i.Ai(t)||0==n||i.V(i.J(n),1.570796326794897))return n;if(.006884661117170036>t){var s=t*(l=t*(c=t*(b=t*t))),h=t*(p=t*s),r=.05833333333333333*c+.07232142857142858*l+.05634300595238095*s+.0355325796406526*p+.020235546186067*h,e=.02653149801587302*l+.04379960317460317*s+.0429211791776896*p+.03255384637546096*h,a=.01294022817460318*s+.02668104344536636*p+.03155651254609588*h,o=.00659454790965208*p+.0163075268674227*h,u=.003463473736911237*h,f=Math.cos(2*n);return n+Math.sin(2*n)*(.5*t+.2083333333333333*b+.08333333333333333*c+.03611111111111111*l+.01875*s+.01195601851851852*p+.008863673941798942*h-r+a-u+f*(2*(.1458333333333333*b+.1208333333333333*c+.07039930555555556*l+.03616071428571429*s+.01839451058201058*p+.01017113095238095*h)-4*e+6*o+f*(4*r-12*a+24*u+f*(8*e-32*o+f*(16*a-80*u+f*(32*o+64*f*u))))))}var c=Math.sqrt(t),l=c/2,p=Math.tan(.7853981633974483+n/2);t=0,r=1;for(var b=n;0!=r;b=h)s=c*Math.sin(b),h=p*Math.pow((1+s)/(1-s),l),h=2*Math.atan(h)-1.570796326794897,t++,(i.V(h,b)||3e4<t)&&(r=0);return b},n}();}(W||(W={})),function(t){var i=function(){function i(i){this.Dl=this.Ct=null,this.qw=!1,this.qB=this.rB=0,this.oB=new t.b,this.BB=new t.b,this.bx=!1,this.Oq=new t.g,this.jI=this.Zw=0,this.$w=null,this.Gk=!1,this.Yo=null,this.MA=0,this.Ze=i,this.it=t.Ab.ew(this.Ze,0,!0),this.oB.Tc(),this.BB.Tc(),this.GI=NaN;var n=i.getCode();0<n?(this.Rk=n,t.zf.getCode(i)):this.Rk=t.zf.getCode(i),0>this.Rk&&(this.Rk=0);var s=this.Ze.getType();if(this.XH=s==t.Pc.PE_TYPE_PROJCS?2:1,s==t.Pc.PE_TYPE_PROJCS&&!i.loadConstants())throw t.f.I("PeProjcs.loadConstants failed");n=s==t.Pc.PE_TYPE_GEOGCS?this.Ze:this.Ze.getGeogcs(),s!=t.Pc.PE_TYPE_GEOGCS&&t.zf.getCode(n),this.Yo=i.getUnit(),this.GI=n.getPrimem().getLongitude(),this.jI=i=n.getUnit().getUnitFactor(),i=Math.PI/(180*i),1e-10>Math.abs(i-1)&&(i=1),this.qB=i,0!=(s&t.Pc.PE_TYPE_PROJCS)?(n=this.Ze,this.rB=1/n.getUnit().getUnitFactor(),this.Zw=.001/this.Ze.getUnit().getUnitFactor(),this.$w=t.ng.generate(n,t.ng.PE_PCSINFO_OPTION_NONE),this.Gk=this.$w.isPannableRectangle(),this.MA=t.Ab.BO(this.$w.getCentralMeridian(),this.qB)):(this.bx=this.Gk=!0,this.rB=0,s=1/n.getUnit().getUnitFactor(),this.Zw=.001/n.getDatum().getSpheroid().getAxis()*s,this.MA=0),this.Gk&&(this.cy(),this.KL(),this.LL(),this.JL(),this.UZ(),this.VZ());}return i.prototype.Gs=function(){return this.Rk},i.prototype.xj=function(){return this.$w},i.vz=function(t,i){return t==i||null!=t&&null!=i&&0==t.Rk&&0==i.Rk&&t.it===i.it},i.prototype.Cc=function(){return this.Gk},i.prototype.nh=function(t){t.H(this.Lo);},i.prototype.Xv=function(){return this.Lo.o},i.prototype.Wv=function(){return this.Lo.v},i.prototype.WS=function(t){t.H(this.ax);},i.prototype.UZ=function(){var i=this.Ze.getType();if(i==t.Pc.PE_TYPE_PROJCS){i=this.Ze;var n=this.xj().getCentralMeridian(),s=i.getGeogcs();if(null==s)throw t.f.Y("internal error");n=[[n+(s=1/s.getUnit().getUnitFactor()*Math.PI),0]],t.Kh.geogToProj(i,1,n),n=n[0][0],s=i.getParameters()[t.Pc.PE_PARM_X0].getValue();var h=this.sk();i=new t.g,h.s(i),n=(h=Math.abs(n-s))+s,s=-1*h+s,h=i.B,i=i.A;var r=new t.g;r.H(s,i,n,h),null==this.Lo&&(this.Lo=r);}else {if(i!=t.Pc.PE_TYPE_GEOGCS)throw t.f.Y("internal error");s=1/this.Ze.getUnit().getUnitFactor()*Math.PI,(i=new t.g).H(-s,-s/2,s,s/2),null==this.Lo&&(this.Lo=i);}},i.prototype.VZ=function(){var i=this.Ze.getType();if(i==t.Pc.PE_TYPE_PROJCS){var n=this.Ze;if(i=this.xj().getCentralMeridian(),null==(n=n.getGeogcs()))throw t.f.Y("internal error");n=1/n.getUnit().getUnitFactor()*Math.PI;var s=this.Bs(),h=new t.g;s.s(h),(s=new t.g).H(i-n,h.A,i+n,h.B),null==this.ax&&(this.ax=s);}else {if(i!=t.Pc.PE_TYPE_GEOGCS)throw t.f.Y("internal error");n=1/this.Ze.getUnit().getUnitFactor()*Math.PI,(i=new t.g).H(-n,-n/2,n,n/2),null==this.ax&&(this.ax=i);}},i.prototype.Sd=function(){return this.qB},i.prototype.Am=function(){return this.rB},i.prototype.Bs=function(){if(this.Gk)return this.Dl;var t=this.Dl;return null!=t?t:(this.cy(),this.Dl)},i.prototype.Cs=function(){return this.Gk?null:(null!=this.Dl||this.cy(),this.JH)},i.prototype.cy=function(){if(this.Ze.getType()==t.Pc.PE_TYPE_PROJCS){var i=this.Ze,n=i.getGeogcs(),s=i.horizonGcsGenerate();if(null!=s){var h=s[0].getNump(),r=s[0].getKind();i=0<s[0].getInclusive();var e=this.Sd(),a=90*e,o=360*e,u=370*e,f=180*e*t.Pc.PE_HORIZON_DELTA/Math.PI,c=new t.g,l=null;if(1<h)for(var p=1;p<h;p++)if(s[p].getKind()==t.Pc.PE_HORIZON_LINE){null==l&&(l=new t.Oa);var b=s[p].getCoord();l.Zx(b[0][0],b[0][1]),l.Cj(b[1][0],b[1][1]);}if(r==t.Pc.PE_HORIZON_RECT)s=s[0].getCoord(),c.H(s[0][0],s[0][1]),c.Nb(s[1][0],s[1][1]),Math.abs(c.B-a)<1e-7*f&&(c.B=a),Math.abs(c.A+a)<1e-7*f&&(c.A=-a),c.N()>u&&(s=-400*e,c.H(s,c.A,s+5*o,c.B)),s=new t.Ih(c),null==this.Dl&&(this.Dl=s,this.qw=i);else {if(u=new t.Ga,o=this.xj().isGcsHorizonMultiOverlap(),c=t.Nu.OF(n,t.Ou.Integer64),o){for(u=new t.qM,f=t.Jh.local().U(u,c,null),p=0;p<h;p++)if(s[p].getKind()==t.Pc.PE_HORIZON_POLY){for(n=s[p].getSize(),e=s[p].getCoord(),r=[],a=0;a<n;a++)r[a]=t.b.construct(e[a][0],e[a][1]);s[p].getInclusive(),o&&((e=new t.Ga).dl(r,n-1),u.FZ(e),f.xe());}u=f.next();}else for(p=0;p<h;p++)if(s[p].getKind()==t.Pc.PE_HORIZON_POLY){for(n=s[p].getSize(),e=s[p].getCoord(),o=[],a=0;a<n;a++)o[a]=t.b.construct(e[a][0],e[a][1]);s[p].getInclusive(),u.dl(o,n-1);}i?t.ak.local().Pn(u,c,1):t.Cp.local().Pn(u,c,1),t.kj.local().Pn(u,c,1),null==this.Dl&&(this.Dl=u,this.qw=i,this.JH=l);}}}},i.prototype.Pv=function(){return this.Gk||null==this.Dl&&this.cy(),this.qw},i.prototype.KL=function(){if(2==this.XH){var i=this.Ze.horizonPcsGenerate();if(null!=i){var n=i[0].getKind();i[0].getInclusive();var s=i[0].getNump(),h=!1;if(n==t.Pc.PE_HORIZON_RECT)i=i[0].getCoord(),(s=new t.g).H(i[0][0],i[0][1]),s.Nb(i[1][0],i[1][1]),i=new t.Ih(s);else {for(n=-1,h=0;h<s;h++)i[h].getKind()==t.Pc.PE_HORIZON_POLY&&(n=h);for(h=i[n].getSize()-1,i=i[n].getCoord(),s=[],n=0;n<h;n++)s[n]=t.b.construct(i[n][0],i[n][1]);i=n=new t.Ga,n.dl(s,h),h=!0;}this.xj().isDensificationNeeded()&&(s=1e5*this.Am(),i=t.im.local().U(i,s,null)),h&&(h=new t.Ih,i.qn(h),i.Pe(),i.Pb(),i.DS(),t.ak.local().Pn(i,null,1)),null==this.Ct&&(this.Ct=i);}}},i.prototype.sk=function(){if(this.Gk)return this.Ct;var t=this.Ct;return null!=t?t:(this.KL(),this.Ct)},i.prototype.LL=function(){if(this.Ze.getType()==t.Pc.PE_TYPE_PROJCS){var i=90*this.Sd();i=[[0,i],[0,-i]],t.Kh.geogToProj(this.Ze,2,i);var n=this.xj(),s=n.getNorthPoleLocation()!=t.ng.PE_POLE_OUTSIDE_BOUNDARY;n=n.getSouthPoleLocation()!=t.ng.PE_POLE_OUTSIDE_BOUNDARY,this.bx||(s&&this.oB.ka(i[0][0],i[0][1]),n&&this.BB.ka(i[1][0],i[1][1]));}this.bx=!0;},i.prototype.bA=function(t,i){this.Gk||this.bx||this.LL(),t?i.K(this.BB):i.K(this.oB);},i.prototype.JL=function(){if(1==this.XH){var i=400*this.Sd();this.Oq.H(-i,-i,i,i);}else i=t.ng.generate(this.Ze,t.ng.PE_PCSINFO_OPTION_DOMAIN),i=t.g.construct(i.getDomainMinx(),i.getDomainMiny(),i.getDomainMaxx(),i.getDomainMaxy()),this.Oq.u()&&this.Oq.H(i);},i.prototype.vS=function(t){this.Gk&&t.H(this.Oq),this.Oq.u()&&this.JL(),t.H(this.Oq);},i.prototype.Cm=function(){return this.GI},i.prototype.Wh=function(){return this.MA},i.prototype.Ld=function(){return this.Yo},i.prototype.Ds=function(){return this.jI},i}();t.vD=i;}(W||(W={})),function(t){var i=function(){function i(i){this.cV=i,this.it=t.Ab.ew(i,0,!0);var n=i.getCode();this.$s=0<n?n:t.zf.getCode(i),0>this.$s&&(this.$s=0),this.Yo=n=this.cV.getUnit(),this.xI=1/n.getUnitFactor(),t.zf.getCode(i);}return i.vz=function(t,i){return t==i||null!=t&&null!=i&&0==t.$s&&0==i.$s&&t.it===i.it},i.prototype.Gs=function(){return this.$s},i}();t.XM=i;}(W||(W={})),function(t){t.gh=function(){function i(){}return i.vb=function(i,n,s,h,r,e,a,o){if(null!=e||null!=a||null!=o){h=t.C.ba(h),n=t.C.ba(n),s=t.C.ba(s),r=t.C.ba(r),1.570796326794897<t.l.J(s)&&(s=t.l.ub(3.141592653589793,s)-s,n=t.C.ba(n+3.141592653589793)),1.570796326794897<t.l.J(r)&&(r=t.l.ub(3.141592653589793,r)-r,h=t.C.ba(h+3.141592653589793));var u=t.C.ba(h-n);if(t.l.V(s,r)&&(t.l.V(n,h)||t.l.V(t.l.J(s),1.570796326794897)))null!=e&&(e.j=0),null!=a&&(a.j=0),null!=o&&(o.j=0);else {if(t.l.V(s,-r)){if(t.l.V(t.l.J(s),1.570796326794897))return null!=e&&(e.j=3.141592653589793*i),null!=a&&(a.j=0<s?t.C.ba(3.141592653589793-t.C.ba(h)):t.C.ba(h)),void(null!=o&&(o.j=0<s?t.C.ba(h):t.C.ba(3.141592653589793-t.C.ba(h))));if(t.l.V(t.l.J(u),3.141592653589793))return null!=e&&(e.j=3.141592653589793*i),null!=a&&(a.j=0),void(null!=o&&(o.j=0))}var f=1.570796326794897==t.l.J(s)?0:Math.cos(s),c=Math.sin(s),l=1.570796326794897==t.l.J(r)?0:Math.cos(r),p=Math.sin(r),b=1.570796326794897==t.l.J(u)?0:Math.cos(u),v=3.141592653589793==t.l.J(u)?0:Math.sin(u);if(null!=e){var y=Math.sin((r-s)/2);u=Math.sin(u/2),e.j=2*Math.asin(Math.sqrt(y*y+f*l*u*u))*i;}null!=a&&(a.j=t.l.V(t.l.J(s),1.570796326794897)?0>s?h:t.C.ba(3.141592653589793-h):Math.atan2(l*v,f*p-c*l*b)),null!=o&&(t.l.V(t.l.J(r),1.570796326794897)?o.j=0>r?n:t.C.ba(3.141592653589793-n):(o.j=Math.atan2(f*v,p*f*b-l*c),o.j=t.C.ba(o.j+3.141592653589793)));}}},i.Bf=function(i,n,s,h,r,e,a){if(null!=e||null!=a){n=t.C.ba(n),s=t.C.ba(s),1.570796326794897<t.l.J(s)&&(s=t.l.ub(3.141592653589793,s)-s,n=t.C.ba(n+3.141592653589793)),t.l.V(t.l.J(s),1.570796326794897)&&(n=0),r=t.C.ba(r);var o=t.l.V(t.l.J(r),1.570796326794897)?0:Math.cos(r),u=t.l.V(t.l.J(r),3.141592653589793)?0:Math.sin(r),f=t.l.V(t.l.J(s),1.570796326794897)?0:Math.cos(s),c=Math.sin(s);i=h/i,h=t.l.V(t.l.J(i),1.570796326794897)?0:Math.cos(i);var l=t.l.V(t.l.J(i),3.141592653589793)?0:Math.sin(i),p=Math.asin(c*h+f*l*o);null!=a&&(a.j=p),null!=e&&(e.j=t.l.V(t.l.J(p),1.570796326794897)?t.l.V(s,-p)?0>p?r:t.C.ba(3.141592653589793-r):n:t.l.V(t.l.J(s),1.570796326794897)&&t.l.V(i,3.141592653589793)?0>s?r:t.C.ba(3.141592653589793-r):t.C.ba(n+Math.atan2(l*u,f*h-c*l*o)));}},i}();}(W||(W={})),function(t){t.$k=function(){function i(){}return i.vb=function(i,n,s,h,r,e,a,o,u){var f=new t.da(0),c=new t.da(0),l=[0,0,0],p=[0,0,0],b=[0,0,0],v=new t.da(0),y=new t.da(0),w=new t.da(0),d=new t.da(0),g=new t.da(0);if(null!=a||null!=o||null!=u)if(t.l.Ai(n))t.gh.vb(i,s,h,r,e,a,o,u);else {r=t.C.ba(r),s=t.C.ba(s);var x=t.C.ba(r-s);if(t.l.V(h,e)&&(t.l.V(s,r)||t.l.V(t.l.J(h),1.570796326794897)))null!=a&&(a.j=0),null!=o&&(o.j=0),null!=u&&(u.j=0);else {if(t.l.V(h,-e)){if(t.l.V(t.l.J(h),1.570796326794897))return null!=a&&(a.j=2*t.C.Hg(i,n)),null!=o&&(o.j=0<h?t.C.ba(3.141592653589793-t.C.ba(r)):t.C.ba(r)),void(null!=u&&(u.j=0<h?t.C.ba(r):t.C.ba(3.141592653589793-t.C.ba(r))));t.l.V(t.l.J(x),3.141592653589793)&&(null!=a&&(a.j=2*t.C.Hg(i,n)),null!=o&&(o.j=0),null!=u&&(u.j=0));}else (t.l.V(t.l.J(h),1.570796326794897)||t.l.V(t.l.J(e),1.570796326794897))&&(t.l.V(t.l.J(h),1.570796326794897)?s=r:r=s);var m=0;if(0>x){m=1;var j=s;s=r,r=j,j=h,h=e,e=j;}x=t.C.Xt(n,h);var M=t.C.Xt(n,e);null==o&&null==u||(t.gh.vb(i,s,x,r,M,null,f,c),f=Math.atan2(Math.sin(f.j)*Math.cos(h-x),Math.cos(f.j)),c=Math.atan2(Math.sin(c.j)*Math.cos(e-M),Math.cos(c.j)),0!=m&&(j=f,f=c,c=j),null!=o&&(o.j=f),null!=u&&(u.j=c)),null!=a&&(t.C.hk(1,n,h,s,0,w,d,g),l[0]=w.j,l[1]=d.j,l[2]=g.j,t.C.hk(1,n,e,r,0,w,d,g),p[0]=w.j,p[1]=d.j,p[2]=g.j,b[0]=l[1]*p[2]-p[1]*l[2],b[1]=-(l[0]*p[2]-p[0]*l[2]),b[2]=l[0]*p[1]-p[0]*l[1],n=1-t.C.gm(n,t.C.nr(n,t.C.Rj(n,Math.acos(b[2]/Math.sqrt(b[0]*b[0]+b[1]*b[1]+b[2]*b[2]))))),n*=2-n,o=Math.atan2(-b[1],-b[0]),b=t.C.ba(o-1.570796326794897),o=t.C.ba(o+1.570796326794897),b=t.l.J(t.C.ba(s-b))<=t.l.J(t.C.ba(s-o))?b:o,t.gh.vb(1,b,0,s,x,v,null,null),t.gh.vb(1,b,0,r,M,y,null,null),3.141592653589793<v.j+y.j&&(b=t.C.ba(b+3.141592653589793),t.gh.vb(1,b,0,s,x,v,null,null),t.gh.vb(1,b,0,r,M,y,null,null)),v.j*=t.l.ub(1,h),y.j*=t.l.ub(1,e),v.j=t.C.Rj(n,v.j),y.j=t.C.Rj(n,y.j),s=t.C.q(i,n,v.j),i=t.C.q(i,n,y.j),a.j=t.l.J(i-s));}}},i.Bf=function(i,n,s,h,r,e,a,o){var u=0,f=new t.da(0),c=new t.da(0),l=[0,0,0],p=[0,0,0],b=new t.da(0),v=new t.da(0),y=new t.da(0);if(null!=a||null!=o)if(t.l.Ai(n))t.gh.Bf(i,s,h,r,e,a,o);else if(t.l.qd(r))null!=a&&(a.j=s),null!=o&&(o.j=h);else if(e=t.C.ba(e),0>r&&(r=t.l.J(r),e=t.C.ba(e+3.141592653589793)),s=t.C.ba(s),h=t.C.ba(h),1.570796326794897<t.l.J(h)&&(s=t.C.ba(s+3.141592653589793),h=t.l.ub(3.141592653589793,h)-h),t.l.V(t.l.J(h),1.570796326794897)&&(s=0),t.l.qd(h)){var w=t.l.J(1.570796326794897-t.l.J(e));w=t.C.Rj(n,w),w=1-t.C.gm(n,t.C.nr(n,w)),w*=2-w,i=r/t.C.Hg(i,w)*1.570796326794897,i=t.C.kr(w,i),i=t.C.Xt(w,i),t.gh.Bf(1,s,h,i,e,a,f),null!=o&&(u=f.j),null!=o&&(o.j=t.C.Rj(n,u));}else if(t.l.V(t.l.J(h),1.570796326794897))f=2*(u=t.C.Hg(i,n)),e=0<(i=t.l.ub(1.570796326794897,h))?t.C.ba(3.141592653589793-e):e,h=u-r,t.l.J(h)<=u?null!=a&&(a.j=e):(h=Math.floor(r/f),0==t.L.truncate(h%2)?(null!=a&&(a.j=e),r-=h*f):(null!=a&&(a.j=t.C.ba(e+3.141592653589793)),r=(h+1)*f-r),h=u-r),null!=o&&(o.j=t.C.kr(n,h/u*i));else {w=t.C.Xt(n,h),e=Math.atan2(Math.sin(e),Math.cos(e)*Math.cos(h-w));var d=t.L.truncate(t.l.ub(1,w))*(1.570796326794897>=t.l.J(e)?1:-1);e=t.C.ba(s+Math.atan(Math.tan(e)*-Math.sin(w))),t.gh.vb(i,e,0,s,w,null,c,null),w=t.l.J(1.570796326794897-t.l.J(c.j)),w=t.C.Rj(n,w),w=1-t.C.gm(n,t.C.nr(n,w)),w*=2-w,t.C.hk(1,n,0,e,0,b,v,y),l[0]=b.j,l[1]=v.j,l[2]=y.j,t.C.hk(1,n,h,s,0,b,v,y),p[0]=b.j,p[1]=v.j,p[2]=y.j,h=Math.acos((l[0]*p[0]+l[1]*p[1]+l[2]*p[2])/Math.sqrt(p[0]*p[0]+p[1]*p[1]+p[2]*p[2])),h=t.C.Rj(w,h),r=0<(h=t.C.q(i,w,h)+r*d)?c.j:t.C.ba(c.j+3.141592653589793),i=t.l.J(h)/t.C.Hg(i,w)*1.570796326794897,i=t.C.kr(w,i),i=t.C.Xt(w,i),t.gh.Bf(1,e,0,i,r,a,f),null!=o&&(u=f.j),null!=o&&(o.j=t.C.Rj(n,u));}},i}();}(W||(W={})),function(t){t.Ku=function(){function i(){}return i.vb=function(i,n,s,h,r,e,a,o,u){var f=0,c=0,l=0;if(null!=a||null!=o||null!=u)if(t.l.Ai(n))t.gh.vb(i,s,h,r,e,a,o,u);else {var p=t.C.ba(r-s);if(t.l.V(h,e)&&(t.l.qd(p)||t.l.V(t.l.J(h),1.570796326794897)))null!=a&&(a.j=0),null!=o&&(o.j=0),null!=u&&(u.j=0);else {if(t.l.V(h,-e)){if(t.l.V(t.l.J(h),1.570796326794897))return null!=a&&(a.j=2*t.C.Hg(i,n)),null!=o&&(o.j=0<h?t.C.ba(3.141592653589793-t.C.ba(r)):t.C.ba(r)),void(null!=u&&(u.j=0<h?t.C.ba(r):t.C.ba(3.141592653589793-t.C.ba(r))));t.l.V(t.l.J(p),3.141592653589793)&&(null!=a&&(a.j=2*t.C.Hg(i,n)),null!=o&&(o.j=0),null!=u&&(u.j=0));}else {if(t.l.V(t.l.J(h),1.570796326794897)||t.l.V(t.l.J(e),1.570796326794897))return void t.$k.vb(i,n,s,h,r,e,a,o,u);if(t.l.qd(p)||t.l.V(t.l.J(p),3.141592653589793))return void t.$k.vb(i,n,s,h,r,e,a,o,u)}var b=1-Math.sqrt(1-n),v=n/(1-n),y=i*(1-b);i=t.C.nr(n,h);var w=t.C.nr(n,e);n=1.570796326794897==t.l.J(i)?0:Math.cos(i);var d=Math.sin(i),g=1.570796326794897==t.l.J(w)?0:Math.cos(w),x=Math.sin(w),m=p,j=Math.cos(m),M=Math.sin(m),k=1,z=0;do{var N=m,A=Math.sqrt(Math.pow(g*M,2)+Math.pow(n*x-d*g*j,2)),I=d*x+n*g*j,C=Math.atan2(A,I);if(0==A){k=0;break}var P=n*g*M/A;if(f=Math.cos(Math.asin(P)),c=I-2*d*x/(f*=f),1<t.l.J(c)&&(c=t.l.ub(1,c)),m=p+(1-(m=b/16*f*(4+b*(4-3*f))))*b*P*(C+m*A*(c+m*I*(2*(l=c*c)-1))),j=Math.cos(m),M=Math.sin(m),z++,3.141592653589793<t.l.J(m)&&30<z){k=0;break}}while(5e3>=z&&!t.l.V(N,m));if(0!=k)b=(v*=f)*(256+v*(v*(74-47*v)-128))/1024,null!=a&&(a.j=y*(1+v*(4096+v*(v*(320-175*v)-768))/16384)*(C-b*A*(c+b/4*(I*(2*l-1)-b/6*c*(4*A*A-3)*(4*l-3))))),null!=o&&(o.j=t.l.V(t.l.J(h),1.570796326794897)?0>h?r:t.C.ba(3.141592653589793-r):Math.atan2(g*M,n*x-d*g*j)),null!=u&&(t.l.V(t.l.J(e),1.570796326794897)?u.j=0>e?s:t.C.ba(3.141592653589793-s):(u.j=Math.atan2(n*M,n*x*j-d*g),u.j=t.C.ba(u.j+3.141592653589793)));else {m=t.l.ub(3.141592653589793,p),I=d*x-n*g,C=Math.acos(I),A=Math.sin(C),f=1,z=P=0;do{l=P,j=1-.25*(P=b*(f*=f)*(1+b+b*b))+.1875*(c=b*b*(j=f*f)*(1+2.25*b))-.1953125*(k=b*b*b*j*f),P=.25*P-.25*c+.29296875*k,M=.03125*c-.05859375*k,k*=.00651041666666667,c=I-2*d*x/f,1<t.l.J(c)&&(c=t.l.ub(1,c)),f=Math.acos(c),I=Math.cos(2*f),N=Math.cos(3*f),M=(P=t.l.V(h,-e)?t.C.ba(3.141592653589793-p)/(3.141592653589793*b*j):t.C.ba(m-p)/(b*(j*C+P*A*c+M*Math.sin(2*C)*I+k*Math.sin(3*C)*N)))*A/(n*g),m=1.570796326794897<t.l.J(p)?t.l.ub(3.141592653589793,M)-Math.asin(M):Math.asin(M),j=Math.cos(m),A=Math.sqrt(Math.pow(g*M,2)+Math.pow(n*x-d*g*j,2)),C=3.141592653589793-Math.asin(t.l.J(A)),I=Math.cos(C),f=Math.cos(Math.asin(P)),z++;}while(70>=z&&!t.l.V(l,P));null!=a&&(j=1+(v*=f*=f)*(4096+v*(v*(320-175*v)-768))/16384,t.l.V(h,-e)?a.j=3.141592653589793*y*j:(c=I-2*d*x/f,f=Math.acos(c),I=Math.cos(2*f),N=Math.cos(3*f),a.j=y*(j*C+v*(v*(128+v*(35*v-60))-512)/2048*A*c+v*(5*v-4)/6144*v*v*Math.sin(2*C)*I+k*Math.sin(3*C)*N+-762939453125e-16*v*v*v*v*Math.sin(4*C)*Math.cos(4*f)))),null!=o&&(t.l.qd(h)&&t.l.qd(e)?(f=Math.sqrt(1-P*P),o.j=Math.acos(f),0>p&&(o.j*=-1)):t.l.V(t.l.J(h),1.570796326794897)?o.j=0>h?r:t.C.ba(3.141592653589793-r):(a=P/n,y=Math.sqrt(1-a*a),0>n*x-d*g*Math.cos(m)&&(y*=-1),o.j=Math.atan2(a,y),t.l.V(h,-e)&&t.l.J(t.C.ba(s-r))>3.141592653589793*(1-b*Math.cos(h))&&(0<h&&1.570796326794897>t.l.J(o.j)||0>h&&1.570796326794897<t.l.J(o.j))&&(o.j=t.l.ub(3.141592653589793,o.j)-o.j))),null!=u&&(t.l.qd(h)&&t.l.qd(e)?(f=Math.sqrt(1-P*P),u.j=Math.acos(f),0<=p&&(u.j*=-1)):t.l.V(t.l.J(e),1.570796326794897)?u.j=0>e?s:t.C.ba(3.141592653589793-s):(p=P/g,a=Math.sqrt(1-p*p),y=Math.sin(m/2),0>Math.sin(w-i)-2*n*x*y*y&&(a*=-1),u.j=Math.atan2(p,a),u.j=t.C.ba(u.j+3.141592653589793),t.l.V(h,-e)&&!t.l.qd(h)&&!t.l.V(t.l.J(h),1.570796326794897)&&t.l.J(t.C.ba(s-r))>3.141592653589793*(1-b*Math.cos(h))&&(null!=o?y=o.j:(a=P/n,y=Math.sqrt(1-a*a),0>n*x-d*g*Math.cos(m)&&(y*=-1),y=Math.atan2(a,y),t.l.V(h,-e)&&t.l.J(t.C.ba(s-r))>3.141592653589793*(1-b*Math.cos(h))&&(0<h&&1.570796326794897>t.l.J(y)||0>h&&1.570796326794897<t.l.J(y))&&(y=t.l.ub(3.141592653589793,y)-y)),1.570796326794897>=t.l.J(y)&&1.570796326794897<t.l.J(u.j)||1.570796326794897<=t.l.J(y)&&1.570796326794897>t.l.J(u.j))&&(u.j=-1*t.C.ba(u.j+3.141592653589793))));}}}},i.Bf=function(i,n,s,h,r,e,a,o){if(null!=a||null!=o)if(t.l.Ai(n))t.gh.Bf(i,s,h,r,e,a,o);else if(e=t.C.ba(e),t.l.V(t.l.J(h),1.570796326794897)||t.l.qd(e)||t.l.V(t.l.J(e),3.141592653589793))t.$k.Bf(i,n,s,h,r,e,a,o);else {var u=1.570796326794897==t.l.J(e)?0:Math.cos(e),f=3.141592653589793==t.l.J(e)?0:Math.sin(e);t.l.V(t.l.J(h),1.570796326794897)&&(s=0),e=1-Math.sqrt(1-n);var c=t.C.nr(n,h);h=1.570796326794897==t.l.J(c)?0:Math.cos(c);var l=Math.sin(c);c=Math.atan2(Math.tan(c),u);var p=h*f,b=p*p,v=1-b,y=n/(1-n)*v,w=(n=y*(256+y*(y*(74-47*y)-128))/1024)/4,d=n/6,g=r/(i*(1-e)*(1+y*(4096+y*(y*(320-175*y)-768))/16384)),x=g;do{var m=x;r=1.570796326794897==t.l.J(x)?0:Math.cos(x);var j=(y=3.141592653589793==t.l.J(x)?0:Math.sin(x))*y;x=n*y*((i=Math.cos(2*c+x))+w*(r*(2*(x=i*i)-1)-d*i*(4*j-3)*(4*x-3)))+g;}while(!t.l.V(m,x));r=1.570796326794897==t.l.J(x)?0:Math.cos(x),y=3.141592653589793==t.l.J(x)?0:Math.sin(x),null!=a&&(f=Math.atan2(y*f,h*r-l*y*u),v=e/16*v*(4+e*(4-3*v)),i=Math.cos(2*c+x),a.j=t.C.ba(s+(f-(1-v)*e*p*(x+v*y*(i+v*r*(2*i*i-1)))))),null!=o&&(v=l*y-h*r*u,v=(1-e)*Math.sqrt(b+v*v),o.j=Math.atan2(l*r+h*y*u,v));}},i}();}(W||(W={})),function(t){t.wD=function(){function i(){}return i.vb=function(i,n,s,h,r,e,a,o,u){var f=t.C.ba(r-s),c=t.l.V(t.l.J(h),1.570796326794897),l=t.l.V(t.l.J(e),1.570796326794897);if(t.l.V(h,e)&&(t.l.qd(f)||c))null!=a&&(a.j=0),null!=o&&(o.j=0),null!=u&&(u.j=0);else {if(t.l.Ai(n)){var p=Math.sin(h),b=Math.sin(e);p=Math.sqrt((1+p)/(1-p)),b=Math.sqrt((1+b)/(1-b)),p=Math.log(b)-Math.log(p),p=Math.atan2(f,p),null!=a&&(a.j=t.l.V(h,e)?t.l.J(i*Math.cos(h)*f):t.l.J((i*e-i*h)/Math.cos(p)));}else b=t.C.wx(n,e),p=Math.sin(t.C.wx(n,h)),b=Math.sin(b),p=Math.sqrt((1+p)/(1-p)),b=Math.sqrt((1+b)/(1-b)),p=Math.log(b)-Math.log(p),p=Math.atan2(f,p),null!=a&&(t.l.V(h,e)?a.j=t.l.J(i*f*Math.cos(h)/t.C.gm(n,h)):(f=t.C.q(i,n,h),i=t.C.q(i,n,e),a.j=t.l.J((i-f)/Math.cos(p))));null==o&&null==u||(a=t.C.ba(p+3.141592653589793),c&&l||!c&&!l||(c?p=0>h?r:t.C.ba(3.141592653589793-r):l&&(a=0>e?s:t.C.ba(3.141592653589793-s))),null!=o&&(o.j=p),null!=u&&(u.j=a));}},i.Bf=function(i,n,s,h,r,e,a,o){e=t.C.ba(e),0>r&&(r=t.l.J(r),e=t.C.ba(e+3.141592653589793)),t.l.Ai(n)?t.l.V(t.l.J(h),1.570796326794897)?(s=0>h?e:t.C.ba(3.141592653589793-e),3.141592653589793>=(e=r/i%6.283185307179586)?i=h-t.l.ub(e,h):(s=t.C.ba(s+3.141592653589793),i=-h+t.l.ub(e-3.141592653589793,h))):t.l.V(t.l.J(e),1.570796326794897)?(s=t.C.ba(s+t.l.ub(r,e)/(i*Math.cos(h))),i=h):(i=h+r*Math.cos(e)/i,1.570796326794897<t.l.J(i)&&(i=1.570796326794897),t.l.V(t.l.J(i),1.570796326794897)&&(t.l.qd(e)||t.l.V(t.l.J(e),3.141592653589793))||(1.570796316258184<t.l.J(i)&&(i=t.l.ub(1.570796316258184,i)),n=Math.sin(h),h=Math.sin(i),n=Math.sqrt((1+n)/(1-n)),h=Math.sqrt((1+h)/(1-h)),n=Math.log(h)-Math.log(n),s=t.C.ba(s+Math.tan(e)*n))):t.l.V(t.l.J(h),1.570796326794897)?(s=0>h?e:t.C.ba(3.141592653589793-e),e=r/t.C.WX(i,n),3.141592653589793>=(e%=6.283185307179586)?i=h-t.l.ub(e,h):(s=t.C.ba(s+3.141592653589793),i=-h+t.l.ub(e-3.141592653589793,h)),i=t.C.kr(n,i)):t.l.V(t.l.J(e),1.570796326794897)?(s=t.C.ba(s+t.l.ub(r,e)*t.C.gm(n,h)/(i*Math.cos(h))),i=h):(i=1.570796326794897*(r*Math.cos(e)+t.C.q(i,n,h))/t.C.Hg(i,n),1.570796326794897<t.l.J(i)&&(i=t.l.ub(1.570796326794897,i)),i=t.C.kr(n,i),t.l.V(t.l.J(i),1.570796326794897)&&(t.l.qd(e)||t.l.V(t.l.J(e),3.141592653589793))||(r=t.C.wx(n,h),h=t.C.wx(n,i),1.570796316258184<t.l.J(h)&&(h=t.l.ub(1.570796316258184,i),i=t.C.IP(n,h)),n=Math.sin(r),h=Math.sin(h),n=Math.sqrt((1+n)/(1-n)),h=Math.sqrt((1+h)/(1-h)),n=Math.log(h)-Math.log(n),s=t.C.ba(s+Math.tan(e)*n))),null!=a&&(a.j=s),null!=o&&(o.j=i);},i}();}(W||(W={})),function(t){t.gb=function(){function i(){}return i.Cz=function(i,n,s,h,r,e,a){t.Ku.vb(i,n,s,h,r,e,null,a,null);},i.Fi=function(i,n,s,h,r,e,a,o){t.Ku.Bf(i,n,s,h,r,e,a,o);},i.Ad=function(i,n,s,h,r,e,a,o,u,f){switch(f){case 2:t.$k.vb(i,n,s,h,r,e,a,o,u);break;case 3:t.xD.vb(i,n,s,h,r,e,a,o,u);break;case 1:t.wD.vb(i,n,s,h,r,e,a,o,u);break;default:t.Ku.vb(i,n,s,h,r,e,a,o,u);}},i.tj=function(i,n,s,h,r,e,a,o,u){switch(u){case 2:t.$k.Bf(i,n,s,h,r,e,a,o);break;case 3:t.xD.Bf(i,n,s,h,r,e,a,o);break;case 1:t.wD.Bf(i,n,s,h,r,e,a,o);break;default:t.Ku.Bf(i,n,s,h,r,e,a,o);}},i}();}(W||(W={})),function(t){var i=function(){function i(){this.y=this.x=null;}return i.construct=function(n){var s=new i;return s.x=new t.Wb,s.x.set(n.x),s.y=new t.Wb,s.y.set(n.y),s},i.GF=function(n,s){var h=new i;return h.x=new t.Wb,h.x.set(n),h.y=new t.Wb,h.y.set(s),h},i.prototype.xg=function(){return this.x.xg()&&this.y.xg()},i.prototype.value=function(){return t.b.construct(this.x.value(),this.y.value())},i}();t.b_=i;var n=function(){function i(){this.z=this.y=this.x=null;}return i.construct=function(n){var s=new i;return s.x=new t.Wb,s.x.set(n.x),s.y=new t.Wb,s.y.set(n.y),s.z=new t.Wb,s.z.set(n.z),s},i.GF=function(n,s,h){var r=new i;return r.x=new t.Wb,r.x.set(n),r.y=new t.Wb,r.y.set(s),r.z=new t.Wb,r.z.set(h),r},i.prototype.xg=function(){return this.x.xg()&&this.y.xg()&&this.z.xg()},i.prototype.value=function(){return new t.Id(this.x.value(),this.y.value(),this.z.value())},i.prototype.Vh=function(i){var n=new t.Wb,s=new t.Wb,h=new t.Wb;return n.Ul(this.x,i.x),s.Ul(this.y,i.y),h.Ul(this.z,i.z),(i=new t.Wb).nO(n,s),i.add(h),i},i.prototype.PF=function(n){var s=new i;s.x.Ul(this.y,n.z),s.y.Ul(this.z,n.x),s.z.Ul(this.x,n.y);var h=new t.Wb,r=new t.Wb,e=new t.Wb;return h.Ul(this.z,n.y),r.Ul(this.x,n.z),e.Ul(this.y,n.x),s.x.sub(h),s.y.sub(r),s.z.sub(e),s},i}();t.c_=n,t.ty=function(){function s(){}return s.PQ=function(t,i,n){var h=i.x;i=i.y,s.hk(1,t,Math.cos(h),Math.sin(h),Math.cos(i),Math.sin(i),n);},s.OQ=function(i,n){var h=new t.Id;return s.PQ(i,n,h),h},s.Q_=function(i,n,h,r,e,a){var o=new t.Id;return s.hk(i,n,h,r,e,a,o),o},s.hk=function(t,i,n,s,h,r,e){t/=Math.sqrt(1-i*r*r),e.H(t*h*n,t*h*s,t*(1-i)*r);},s.Fv=function(i,s){var h=new t.Wb,r=new t.Wb,e=new t.Wb,a=new t.Wb;h.cos(s.x),r.sin(s.x),e.cos(s.y),a.sin(s.y);var o=new t.Wb;return o.set(a),o.Gg(a),o.ep(i),o.ep(-1),o.uO(),o.sqrt(),(s=new t.Wb).set(1),s.um(o),(o=new t.Wb).set(s),o.Gg(e),o.Gg(h),(h=new t.Wb).set(s),h.Gg(e),h.Gg(r),(r=new t.Wb).set(s),r.ep(1-i),r.Gg(a),n.GF(o,h,r)},s.tP=function(t,i,n){var s=i.x,h=i.y;n.ka(Math.atan2(h,s),Math.atan2(i.z,(1-t)*Math.sqrt(s*s+h*h)));},s.F_=function(i,n,h){return i=new t.b,s.tP(n,h,i),i},s.lU=function(n,h,r,e){if(Math.abs(h.x-r.x)>Math.PI||Math.abs(h.y)>.5*Math.PI||Math.abs(r.y)>.5*Math.PI||(Math.abs(h.y)==.5*Math.PI||Math.abs(r.y)==.5*Math.PI)&&h.x!=r.x)return NaN;if(e=s.NB(e,Math.min(h.x,r.x),Math.max(h.x,r.x)),!new t.uc(h.x,r.x).contains(e))return NaN;var a=i.construct(h);if(r=i.construct(r),a=s.Fv(n,a),r=s.Fv(n,r),(r=a.PF(r)).z.xg())return h.y;var o=new t.Wb;o.set(r.x),o.um(r.z),o.ep(-1);var u=new t.Wb;u.set(r.y),u.um(r.z),u.ep(-1);var f=new t.Wb;return f.set(u),f.Gg(u),(a=new t.Wb).set(o),a.Gg(o),a.add(f),a.sqrt(),a.xg()||o.xg()&&u.xg()?h.y:(h=Math.atan2(u.value(),o.value()),h=Math.atan2(a.value()*Math.cos(h-e),1-n),e=s.OQ(n,t.b.construct(e,h)),n=new t.Id(e.x,e.y,-e.z),e=r.value().Vh(e),n=r.value().Vh(n),Math.abs(n)<Math.abs(e)&&(h=-h),h)},s.vA=function(n,h,r,e,a){if(a[0]=NaN,a[1]=NaN,Math.abs(h.x-r.x)>Math.PI||Math.abs(h.y)>.5*Math.PI||Math.abs(r.y)>.5*Math.PI||(Math.abs(h.y)==.5*Math.PI||Math.abs(r.y)==.5*Math.PI)&&h.x!=r.x||Math.abs(e)>=.5*Math.PI||0<h.y&&0<r.y&&h.y>e&&r.y>e||0>h.y&&0>r.y&&h.y<e&&r.y<e)return 0;var o=i.construct(h),u=i.construct(r);o=s.Fv(n,o),u=s.Fv(n,u);var f=o.PF(u);if(f.z.xg())return new t.uc(h.y,r.y).contains(e)?(a[0]=h.x,1):0;(u=new t.Wb).set(f.x),u.um(f.z),u.ep(-1),(o=new t.Wb).set(f.y),o.um(f.z),o.ep(-1),(f=new t.Wb).set(o),f.Gg(o);var c=new t.Wb;return c.set(u),c.Gg(u),c.add(f),c.sqrt(),c.xg()||u.xg()&&o.xg()?0==e?(a[0]=h.x,a[1]=r.x,2):0:(n=(1-n)*Math.tan(e)/c.value(),1<Math.abs(n)?0:(n=Math.acos(n),f=Math.atan2(o.value(),u.value()),u=Math.min(h.x,r.x),o=Math.max(h.x,r.x),r=s.NB(f-n,u,o),n=0!=e?s.NB(f+n,u,o):r,e=0,u<=r&&r<=o&&(a[e]=r,e++),n!=r&&u<=n&&n<=o&&(a[e]=n,2==++e&&Math.abs(a[0]-h.x)>Math.abs(a[1]-h.x)&&(h=a[0],a[0]=a[1],a[1]=h)),e))},s.NB=function(t,i,n){return t>n?t-=2*(i=Math.ceil((t-n)/(2*Math.PI)))*Math.PI:t<i&&(t+=2*(i=Math.ceil((i-t)/(2*Math.PI)))*Math.PI),t},s.EA=function(t,i){i[0]>.5*Math.PI?(t[0]+=Math.PI,i[0]=Math.PI-i[0]):i[0]<-.5*Math.PI&&(t[0]-=Math.PI,i[0]=-Math.PI-i[0]);},s}();}(W||(W={})),function(t){t.fM=function(){function i(){}return i.GZ=function(n,s){var h=8,r=[0,0,0,0],e=new t.b;e.K(s),e.scale(9102==t.ab.hc(n).Ld().xc()?1:t.ab.hc(n).Ld().gi/3.141592653589793*180),-180>e.x?(e.x-=e.x%360,-180>e.x&&(e.x+=360)):180<e.x&&(e.x-=e.x%360,180<e.x&&(e.x-=360)),90<e.y&&(e.y=90),-90>e.y&&(e.y=-90);for(var a=-180,o=180,u=(n=5*h)-1,f=(s=(n+31)/32)-1;0<=f;f--)for(var c=u-32*f,l=Math.min(32,n-32*f),p=1;p<l;p+=2){var b=.5*(o+a);e.x>=b?(r[f]|=1<<c,a=b):o=b,c-=2,u-=2;}for(a=-90,o=90,u=n-2,f=s-1;0<=f;f--)for(c=u-32*f,l=Math.min(32,n-32*f),p=0;p<l;p+=2)b=.5*(o+a),e.y>=b?(r[f]|=1<<c,a=b):o=b,c-=2,u-=2;return i.kR(r,h,h)},i.kR=function(t,i,n){for(var s=[],h=0;h<i;h++)s[h]="";for(var r=h=0,e=0;e<i;e++){var a=t[h]>>r&31;if(31<(r+=5)){var o=37-r;a&=(1<<o)-1,r-=32,a|=(t[++h]&(1<<r)-1)<<o;}s[i-1-e]="0123456789bcdefghjkmnpqrstuvwxyz".split("")[a];}if(n>i)for(e=0;e<n-i;e++)s.push("0");else n<i&&(s.length=n);return s.join("")},i}();}(W||(W={})),function(t){var i={gcstol:[0,2e-9,1,2.241706620489156e-9,2,2.313672246530541e-9,3,8.98240164660333e-9,4,8.982433838020134e-9,5,8.982439417325895e-9,6,8.982466029667677e-9,7,8.982476760268133e-9,8,8.982492642167149e-9,9,8.98251968292634e-9,10,8.98253685210448e-9,11,8.982546725256576e-9,12,8.982557456049832e-9,13,8.98257333682596e-9,14,8.982575482995276e-9,15,8.982578488197342e-9,16,8.982579775336987e-9,17,8.9825840676828e-9,18,8.982599090925448e-9,19,8.982605529473397e-9,20,8.982609220517402e-9,21,8.982611968030573e-9,22,8.982616260407152e-9,23,8.982620552787834e-9,24,8.982633429954492e-9,25,8.982637722351582e-9,26,8.98264416095491e-9,27,8.982646307158072e-9,28,8.982654891980968e-9,29,8.982667769246082e-9,30,8.982674207892485e-9,31,8.982680646548117e-9,32,8.982682792768713e-9,33,8.982685798042582e-9,34,8.982689231436652e-9,35,8.98269137766135e-9,36,8.98269266624163e-9,37,8.982705114087017e-9,38,8.982706830791106e-9,39,8.982711958374661e-9,40,8.982712839964735e-9,41,8.982717991496125e-9,42,8.982721424914803e-9,43,8.982723571154887e-9,44,8.982727863638127e-9,45,8.982730868942154e-9,46,8.982734302370678e-9,47,8.982745033612112e-9,48,8.982751472369276e-9,49,8.982755764879183e-9,50,8.982762203651733e-9,51,8.982764776628385e-9,52,8.982766496171896e-9,53,8.98277722749025e-9,54,8.98278152002477e-9,55,8.98279933943848e-9,56,8.9829143024805e-9,57,8.982922161948598e-9,58,8.98292327314211e-9,59,8.982925667349601e-9,60,8.982932222965576e-9,61,8.982961298941316e-9,62,8.982965524049989e-9,63,8.982994818246099e-9,64,8.982994895706967e-9,65,8.98299489597736e-9,66,8.983000733443498e-9,67,8.983055097289157e-9,68,8.983064111047368e-9,69,8.983111996941178e-9,70,8.983120447446023e-9,71,8.98312748954554e-9,72,8.983134531656096e-9,73,8.983141573777694e-9,74,8.983148615910332e-9,75,8.983152841195215e-9,76,8.983153545409748e-9,77,8.983153827095593e-9,78,8.98315396793852e-9,79,8.983154249624393e-9,80,8.983155658054012e-9,81,8.983960794340072e-9,82,8.984061344391998e-9,83,8.984072829255685e-9,84,8.984194981201908e-9,85,8.984275233099427e-9,86,8.984326127007554e-9,87,8.984330099816539e-9,88,8.98433275258421e-9,89,8.984333047023206e-9,90,8.984333885258723e-9,91,8.984337959508212e-9,92,8.984365176209457e-9,93,8.984727360418079e-9,94,8.984901041679577e-9,95,8.98542662091587e-9,96,8.98610024130669e-9,97,8.992894229037531e-9,98,8.993203677616635e-9,99,8.993206178094346e-9,100,8.993216059187305e-9,101,8.99322029394808e-9,102,8.994627867045891e-9,103,9.467559984315793e-9,104,9.46881168618118e-9,105,9.980888154931644e-9,106,9.981105353606775e-9,107,9.983807356573187e-9,108,1.687060485811522e-8,109,1.688447560354875e-8,110,2.176606011487185e-8,111,2.225078816042032e-8,112,2.348476432064694e-8,113,2.348765250187846e-8,114,2.378108974103778e-8,115,3.14559636297708e-8,116,3.297788621680806e-8,117,3.667892343788279e-8,118,4.235973644320739e-8,119,4.794625900676345e-8,120,7.262742998235812e-8,121,7.499447580246377e-8,122,7.525056410964318e-8,123,7.979913581209237e-8,124,9.662020153976783e-8,125,9.799175562353741e-8,126,9.897353517547472e-8,127,1.02313891987647e-7,128,1.081460541960784e-7,129,1.21905913857622e-7,130,2.246893314238523e-7,131,2.297344808062643e-7,132,2.42984645941825e-7,133,2.754604784282804e-7,134,2.884548130346993e-7,135,3.370339971357784e-7,136,4.307953346848296e-7,137,5.208707228462029e-7,138,5.509209568565608e-7,139,6.452227422644406e-7,140,6.740679942715567e-7,141,6.861770001566745e-7,142,7.252630318111686e-7,143,7.441010326374328e-7,144,7.742672907173287e-7,145,9.629542775307953e-7,146,1061032953945969e-21,147,1143628333594458e-21,148,1162186197019925e-21,149,136418522650196e-20,150,1367441038498385e-21,151,1432394487827058e-21,152,1736235742820677e-21,153,1848250952034914e-21,154,1909859317102744e-21,155,1975716534933873e-21,156,2122065907891938e-21,157,272837045300392e-20,158,3183098861837907e-21,159,3580986219567645e-21,160,3819718634205488e-21,161,409255567950588e-20,162,4407367654852486e-21,163,4774648292756861e-21,164,5161781938115525e-21,165,520870722846203e-20,166,5729577951308232e-21,167,6031134685587613e-21,168,6987290184522236e-21,169,9241254760174569e-21,170,1145915590261646e-20],pcstol:[0,6.666666666666667e-9,1,2e-8,2,4970973863636364e-20,3,4970978156565657e-20,4,4970980410559237e-20,5,.001,6,.001093615055555556,7,.001093615194444445,8,.001093619003239988,9,.001093623110088878,10,.003280833333333333,11,.003280839895013123,12,.003280843014596366,13,.003280845583333334,14,.003280869330266636,15,.00497101413676763],newtoold:[2154,102110,2195,102200,2204,32036,2205,26979,2225,102641,2226,102642,2227,102643,2228,102644,2229,102645,2230,102646,2231,102653,2232,102654,2233,102655,2234,102656,2235,102657,2236,102658,2237,102659,2238,102660,2239,102666,2240,102667,2241,102668,2242,102669,2243,102670,2246,102679,2247,102680,2248,102685,2249,102686,2250,102687,2254,102694,2255,102695,2257,102712,2258,102713,2259,102714,2260,102715,2261,102716,2262,102717,2263,102718,2264,102719,2267,102724,2268,102725,2271,102728,2272,102729,2274,102736,2275,102737,2276,102738,2277,102739,2278,102740,2279,102741,2283,102746,2284,102747,2285,102748,2286,102749,2287,102752,2288,102753,2289,102754,2312,23433,2326,102140,2395,2091,2396,2092,2397,2166,2398,2167,2399,2168,2759,102229,2760,102230,2761,102248,2762,102249,2763,102250,2764,102251,2765,102252,2766,102241,2767,102242,2768,102243,2769,102244,2770,102245,2771,102246,2772,102253,2773,102254,2774,102255,2775,102256,2776,102257,2777,102258,2778,102259,2779,102260,2780,102266,2781,102267,2782,102261,2783,102262,2784,102263,2785,102264,2786,102265,2787,102268,2788,102269,2789,102270,2790,102271,2791,102272,2792,102273,2793,102274,2794,102275,2795,102276,2796,102277,2797,102278,2798,102279,2799,102280,2800,102281,2801,102282,2802,102283,2803,102284,2804,102285,2805,102286,2806,102287,2807,102288,2808,102289,2809,102290,2810,102291,2811,102292,2812,102293,2813,102294,2814,102295,2815,102296,2816,102297,2817,102298,2818,102300,2819,102304,2820,102307,2821,102308,2822,102309,2823,102310,2824,102311,2825,102312,2826,102313,2827,102314,2828,102315,2829,102316,2830,102317,2831,102318,2832,102320,2833,102321,2834,102322,2835,102323,2836,102324,2837,102325,2838,102326,2839,102327,2840,102330,2841,102334,2842,102335,2843,102336,2844,102337,2845,102338,2846,102339,2847,102340,2848,102341,2849,102342,2850,102343,2851,102344,2852,102345,2853,102346,2854,102347,2855,102348,2856,102349,2857,102350,2858,102351,2859,102352,2860,102353,2861,102354,2862,102355,2863,102356,2864,102357,2865,102358,2866,102361,2942,102167,2943,102169,2944,2139,2945,2140,2946,2141,2947,2142,2948,2143,2949,2144,2950,2145,2951,2146,2952,2147,2953,2036,2954,2291,2955,2153,2956,2152,2957,2151,2958,2150,2959,2149,2960,2037,2961,2038,2962,2148,2965,2244,2966,2245,3003,102091,3004,102092,3005,102190,3060,2982,3067,102139,3072,102606,3074,102608,3075,102208,3077,102210,3078,102123,3080,102119,3081,102603,3082,102602,3083,102601,3088,65163,3089,102763,3090,102363,3092,102151,3093,102152,3094,102153,3095,102154,3096,102155,3097,102145,3098,102146,3099,102147,3100,102148,3101,102149,3102,2155,3107,102172,3110,102170,3111,102171,3119,2214,3158,102234,3159,102235,3160,102236,3336,2979,3338,102006,3346,2600,3370,102126,3371,102127,3372,102130,3373,102131,3389,2577,3390,2694,3400,102184,3401,102185,3404,3359,3407,3366,3417,102675,3418,102676,3419,102677,3420,102678,3421,102707,3422,102708,3423,102709,3424,102711,3433,102651,3434,102652,3435,102671,3436,102672,3437,102710,3438,102730,3448,102095,3451,102681,3452,102682,3455,102735,3461,2063,3462,2064,3463,3073,3464,3076,3560,102742,3566,102743,3567,102744,3734,102722,3735,102723,3736,102755,3737,102756,3738,102757,3739,102758,3741,102205,3742,102206,3743,102207,3748,102211,3750,102202,3751,102203,3759,102663,3760,102463,3764,102112,3770,102090,3771,102180,3772,102181,3773,102182,3775,102186,3776,102187,3777,102188,3800,102183,3801,102189,3812,102199,3814,102609,3815,102469,3819,104990,3821,104136,3824,104137,3825,102444,3826,102443,3827,102442,3828,102441,3857,102100,3889,104991,3906,104992,4048,103201,4049,103202,4050,103203,4051,103204,4056,103205,4057,103206,4058,103207,4059,103208,4060,103209,4061,103210,4062,103211,4063,103212,4071,103213,4082,103214,4083,103215,4093,103216,4094,103217,4095,103218,4096,103219,4167,104108,4169,37252,4171,104107,4189,104110,4197,4234,4223,37223,4304,104304,4414,102201,4415,102762,4417,102764,4434,102765,4437,102647,4455,32029,4456,32018,4457,3454,4462,102439,4463,4466,4470,4469,4484,103794,4485,103795,4486,103796,4487,103797,4488,103798,4489,103799,4611,104104,4612,104111,4613,37255,4615,37247,4616,37250,4617,4140,4618,4291,4620,37211,4626,37235,4647,102362,4658,37204,4668,37201,4669,4126,4672,37217,4673,104125,4675,37220,4684,37232,4698,4631,4707,37213,4708,37231,4709,37212,4710,37238,4711,37214,4712,37237,4713,37208,4714,37215,4715,37253,4716,37216,4717,37239,4719,37219,4722,37242,4724,37233,4725,37222,4727,37224,4728,37246,4729,37226,4730,37227,4731,37228,4732,37229,4733,37230,4734,37251,4735,37259,4736,37254,4739,37205,4758,104133,4760,37001,4762,104114,4826,102214,5013,104142,5014,102331,5015,102332,5016,102333,5173,102085,5174,102086,5175,102087,5176,102088,5177,102089,5178,102040,5179,102080,5185,102081,5186,102082,5187,102083,5188,102084,5221,102066,5246,104100,5247,102490,5324,104144,5325,102420,5329,2934,5365,104143,5367,102305,5451,104132,5513,102065,5514,102067,5519,102111,5520,31461,5646,102745,5839,5388,5858,5532,5879,4474,6207,104256,6244,102769,6245,102790,6246,102770,6247,102771,6248,102793,6249,102796,6250,102772,6251,102788,6252,102775,6253,102795,6254,102781,6255,102767,6256,102774,6257,102768,6258,102797,6259,102789,6260,102780,6261,102783,6262,102787,6263,102791,6264,102777,6265,102798,6266,102779,6267,102784,6268,102792,6269,102782,6270,102785,6271,102794,6272,102773,6273,102778,6274,102786,6275,102776,6311,104141,6318,104145,6322,104287,6325,104286,6328,102046,6329,102047,6330,102048,6331,102049,6332,102050,6333,102051,6334,102052,6335,102053,6336,102054,6337,102055,6338,102056,6339,102057,6340,102058,6341,102059,6342,102382,6343,102383,6344,102384,6345,102385,6346,102386,6347,102387,6348,102388,6350,102965,6355,102975,6356,102976,6391,6141,6393,102966,6394,102977,6395,102978,6396,102979,6397,102980,6398,102981,6399,102982,6400,102983,6401,102984,6402,102985,6403,102986,6404,102988,6405,102991,6406,102987,6407,102990,6408,102989,6409,102992,6410,102993,6411,102995,6412,102994,6413,102996,6414,102962,6415,102997,6416,103003,6417,102998,6418,103004,6419,102999,6420,103005,6421,103e3,6422,103006,6423,103001,6424,103007,6425,103002,6426,103008,6427,103010,6428,103013,6429,103009,6430,103012,6431,103011,6432,103014,6433,103015,6434,103016,6435,103017,6436,103018,6437,103019,6438,103022,6439,102967,6440,103021,6441,103024,6442,103020,6443,103023,6444,103025,6445,103027,6446,103026,6447,103028,6448,103030,6449,103033,6450,103029,6451,103032,6452,103031,6453,103034,6454,103035,6455,103037,6456,103036,6457,103038,6458,103039,6459,103041,6460,103040,6461,103042,6462,103043,6463,103045,6464,103044,6465,103046,6466,103047,6467,103049,6468,103048,6469,103050,6470,103051,6471,103052,6472,103053,6473,103054,6474,103055,6475,103056,6476,103057,6477,103059,6478,103058,6479,103060,6480,103066,6481,103065,6482,103067,6483,103061,6484,103063,6485,103062,6486,103064,6487,103068,6488,103069,6489,103071,6490,103073,6491,103070,6492,103072,6493,103075,6494,103078,6495,103074,6496,103077,6497,102968,6498,103076,6499,103079,6500,103081,6501,103084,6502,103080,6503,103083,6504,103082,6505,103085,6506,103086,6507,103088,6508,102963,6509,103087,6510,103089,6511,103091,6512,103090,6513,103092,6514,103093,6515,103094,6516,103095,6518,103098,6519,103101,6520,103097,6521,103100,6522,103099,6523,103102,6524,103103,6525,103104,6526,103105,6527,103106,6528,103108,6529,103111,6530,103107,6531,103110,6532,103109,6533,103112,6534,103114,6535,103118,6536,103113,6537,103117,6538,103116,6539,103120,6540,103115,6541,103119,6542,103121,6543,103122,6544,103123,6545,103125,6546,103124,6547,103126,6548,103127,6549,103129,6550,103128,6551,103130,6552,103131,6553,103133,6554,103132,6555,103134,6556,102969,6557,102970,6558,103135,6559,103137,6560,103136,6561,103138,6562,103139,6563,103140,6564,103141,6565,103142,6566,103200,6567,103143,6568,103144,6569,103145,6570,103146,6571,103147,6572,103149,6573,103148,6574,103150,6575,103151,6576,103152,6577,103155,6578,103160,6579,102971,6580,102972,6581,103153,6582,103158,6583,103154,6584,103159,6585,103157,6586,103162,6587,103156,6588,103161,6589,103172,6590,103173,6592,103174,6593,103176,6594,103175,6595,103177,6596,103178,6597,103180,6598,103179,6599,103181,6600,103182,6601,103184,6602,103183,6603,103185,6605,103190,6606,103186,6607,103189,6608,103188,6609,103191,6610,102973,6611,103192,6612,103196,6613,103193,6614,103197,6615,103195,6616,103199,6617,103194,6618,103198,6619,103164,6620,103163,6621,103165,6625,103170,6626,103169,6627,103171,6628,102520,6629,102521,6630,102522,6631,102523,6632,102524,6633,102527,6634,102493,6635,102494,6636,102496,6637,102495,6668,104020,6669,102610,6670,102611,6671,102612,6672,102613,6673,102614,6674,102615,6675,102616,6676,102617,6677,102618,6678,102619,6679,102620,6680,102621,6681,102622,6682,102623,6683,102624,6684,102625,6685,102626,6686,102627,6687,102628,6688,102593,6689,102594,6690,102595,6691,102596,6692,102597,6783,104223,6784,102530,6785,102500,6788,102532,6789,102502,6792,102533,6793,102503,6796,102531,6797,102501,6800,102534,6801,102504,6804,102535,6805,102505,6808,102536,6809,102506,6812,102537,6813,102507,6816,102538,6817,102508,6820,102539,6821,102509,6824,102540,6825,102510,6828,102541,6829,102511,6832,102542,6833,102512,6836,102543,6837,102513,6840,102544,6841,102514,6844,102546,6845,102516,6848,102545,6849,102515,6852,102547,6853,102517,6856,102548,6857,102518,6860,102549,6861,102519,6867,102380,6868,102381,6879,103187,6880,103096,6884,102376,6885,102378,6886,102377,6887,102379,7136,6980,7139,6987,7142,102706,7692,102557,7693,102558,7694,102559,7695,102560,7696,102561,8090,103318,8091,103418,8092,103317,8093,103417,8095,103371,8096,103471,8097,103369,8098,103469,8099,103368,8100,103468,8101,103367,8102,103467,8103,103366,8104,103466,8105,103365,8106,103465,8107,103364,8108,103464,8109,103363,8110,103463,8111,103362,8112,103462,8113,103361,8114,103461,8115,103360,8116,103460,8117,103359,8118,103459,8119,103357,8120,103457,8121,103356,8122,103456,8123,103355,8124,103455,8125,103354,8126,103454,8127,103353,8128,103453,8129,103352,8130,103452,8131,103350,8132,103450,8133,103349,8134,103449,8135,103348,8136,103448,8139,103343,8140,103443,8141,103342,8142,103442,8143,103341,8144,103441,8145,103339,8146,103439,8147,103337,8148,103437,8149,103336,8150,103436,8151,103334,8152,103434,8153,103333,8154,103433,8155,103331,8156,103431,8161,103326,8162,103426,8163,103325,8164,103425,8165,103324,8166,103424,8171,103321,8172,103421,8173,103320,8177,103420,8179,103316,8180,103416,8181,103315,8182,103415,8184,103314,8185,103414,8191,103312,8193,103412,8196,103311,8197,103411,8198,103310,8200,103410,8201,103309,8202,103409,8203,103308,8204,103408,8207,103306,8208,103406,8209,103305,8210,103405,8212,103304,8213,103404,8214,103303,8216,103403,8218,103302,8220,103402,8222,103301,8224,103401,8431,104248,8441,102590,8693,102449,8826,102605,8857,54035,8858,54036,8859,54037,8860,8449,8988,104115,8989,104116,8990,104117,8991,104118,8992,104119,8993,104120,8994,104121,8995,104122,8996,104123,8997,104124,8998,104896,8999,104257,9e3,104019,9014,104010,9019,104021,9053,104011,9054,104012,9055,104013,9056,104014,9057,104015,9059,104258,9060,104179,9061,104180,9062,104181,9063,104182,9064,104183,9065,104184,9066,104185,9067,104186,21896,21891,21897,21892,21898,21893,21899,21894,26701,102124,26702,102125,26799,26747,26847,102683,26848,102684,26849,102691,26850,102692,26851,102693,26852,102704,26853,102750,26854,102751,26857,102466,26858,102467,26859,102468,26901,102128,26902,102129,27493,27492,29101,29100,29168,29118,29169,29119,29170,29120,29171,29121,29172,29122,29187,29177,29188,29178,29189,29179,29190,29180,29191,29181,29192,29182,29193,29183,29194,29184,29195,29185,29902,29900,31279,31278,31281,31291,31282,31292,31283,31293,31284,31294,31285,31295,31286,31296,31287,31297,31466,31462,31467,31463,31468,31464,31469,31465,31986,31917,31987,31918,31988,31919,31989,31920,31990,31921,31991,31922,32064,32074,32065,32075,32066,32076,32067,32077,102550,2181,102551,2182,102552,2183,102553,2184,102554,2185,102555,2186,102556,2187],pcsid:[2066,15,2136,12,2155,10,2157,5,2158,5,2159,12,2160,12,2219,5,2220,5,2244,10,2245,10,2256,11,2265,11,2266,11,2269,11,2270,11,2273,11,2290,5,2291,5,2294,5,2295,5,2313,5,2314,14,2899,10,2900,10,2901,11,2909,11,2910,11,2911,10,2912,10,2913,11,2914,11,2964,10,2967,10,2968,10,2991,5,2992,11,2993,5,2994,11,3073,5,3076,5,3079,5,3091,10,3106,5,3108,5,3109,5,3141,5,3142,5,3167,4,3337,5,3347,5,3348,5,3359,10,3360,5,3361,11,3362,5,3363,10,3364,5,3365,10,3366,14,3402,5,3403,5,3405,5,3406,5,3439,5,3440,5,3447,5,3449,5,3450,5,3453,10,3454,10,3460,5,3479,11,3480,5,3481,11,3482,5,3483,11,3484,5,3485,10,3486,5,3487,10,3488,5,3489,5,3490,10,3491,5,3492,10,3493,5,3494,10,3495,5,3496,10,3497,5,3498,10,3499,5,3500,10,3501,5,3502,10,3503,5,3504,10,3505,5,3506,10,3507,5,3508,10,3509,5,3510,10,3511,5,3512,10,3513,5,3514,5,3515,10,3516,5,3517,10,3518,5,3519,10,3520,5,3521,10,3522,5,3523,10,3524,5,3525,10,3526,5,3527,10,3528,5,3529,10,3530,5,3531,10,3532,5,3533,10,3534,5,3535,10,3536,5,3537,10,3538,5,3539,10,3540,5,3541,10,3542,5,3543,10,3544,5,3545,10,3546,5,3547,10,3548,5,3549,10,3550,5,3551,10,3552,5,3553,10,3582,10,3583,5,3584,10,3585,5,3586,10,3587,5,3588,11,3589,5,3590,11,3591,5,3592,5,3593,11,3598,10,3599,5,3600,10,3605,11,3606,5,3607,5,3608,10,3609,5,3610,10,3611,5,3612,10,3613,5,3614,10,3615,5,3616,10,3617,5,3618,10,3619,5,3620,10,3621,5,3622,10,3623,5,3624,10,3625,5,3626,10,3627,5,3628,10,3629,5,3630,10,3631,5,3632,10,3633,5,3634,11,3635,5,3636,11,3640,10,3641,5,3642,10,3643,5,3644,11,3645,5,3646,11,3647,5,3648,11,3649,5,3650,10,3651,5,3652,10,3653,5,3654,10,3655,5,3656,11,3657,5,3658,10,3659,5,3660,10,3661,5,3662,10,3663,5,3664,10,3668,10,3669,5,3670,10,3671,5,3672,10,3673,5,3674,10,3675,5,3676,11,3677,10,3678,5,3679,11,3680,10,3681,5,3682,11,3683,10,3684,5,3685,5,3686,10,3687,5,3688,10,3689,5,3690,10,3691,5,3692,10,3696,10,3697,5,3698,10,3699,5,3700,10,3740,5,3749,5,3783,5,3784,5,3793,5,3794,5,3802,5,3816,5,3829,5,3854,5,3911,5,3912,5,3920,5,3978,5,3979,5,3991,10,3992,10,4026,5,4037,5,4038,5,4087,5,4088,5,4217,10,4438,10,4439,10,4467,5,4471,5,4474,5,4559,5,4822,5,4839,5,5018,5,5048,5,5167,5,5168,5,5223,5,5234,5,5235,5,5243,5,5266,5,5316,5,5320,5,5321,5,5330,5,5331,5,5337,5,5361,5,5362,5,5382,5,5383,5,5396,5,5456,5,5457,5,5469,5,5472,9,5490,5,5518,5,5523,5,5559,5,5588,11,5589,14,5596,5,5627,5,5629,5,5641,5,5643,5,5644,5,5654,10,5655,10,5659,5,5700,5,5825,5,5836,5,5837,5,5842,5,5844,5,5880,5,5887,5,5890,5,6128,11,6129,11,6141,11,6204,5,6210,5,6211,5,6307,5,6312,5,6316,5,6362,5,6591,5,6646,5,6703,5,6786,5,6787,11,6790,5,6791,11,6794,5,6795,11,6798,5,6799,11,6802,5,6803,11,6806,5,6807,11,6810,5,6811,11,6814,5,6815,11,6818,5,6819,11,6822,5,6823,11,6826,5,6827,11,6830,5,6831,11,6834,5,6835,11,6838,5,6839,11,6842,5,6843,11,6846,5,6847,11,6850,5,6851,11,6854,5,6855,11,6858,5,6859,11,6862,5,6863,11,6870,5,6875,5,6876,5,6915,5,6922,5,6923,10,6924,5,6925,10,6962,5,6984,5,6991,5,7128,10,7131,5,7132,10,7257,5,7258,10,7259,5,7260,10,7261,5,7262,10,7263,5,7264,10,7265,5,7266,10,7267,5,7268,10,7269,5,7270,10,7271,5,7272,10,7273,5,7274,10,7275,5,7276,10,7277,5,7278,10,7279,5,7280,10,7281,5,7282,10,7283,5,7284,10,7285,5,7286,10,7287,5,7288,10,7289,5,7290,10,7291,5,7292,10,7293,5,7294,10,7295,5,7296,10,7297,5,7298,10,7299,5,7300,10,7301,5,7302,10,7303,5,7304,10,7305,5,7306,10,7307,5,7308,10,7309,5,7310,10,7311,5,7312,10,7313,5,7314,10,7315,5,7316,10,7317,5,7318,10,7319,5,7320,10,7321,5,7322,10,7323,5,7324,10,7325,5,7326,10,7327,5,7328,10,7329,5,7330,10,7331,5,7332,10,7333,5,7334,10,7335,5,7336,10,7337,5,7338,10,7339,5,7340,10,7341,5,7342,10,7343,5,7344,10,7345,5,7346,10,7347,5,7348,10,7349,5,7350,10,7351,5,7352,10,7353,5,7354,10,7355,5,7356,10,7357,5,7358,10,7359,5,7360,10,7361,5,7362,10,7363,5,7364,10,7365,5,7366,10,7367,5,7368,10,7369,5,7370,10,7877,5,7878,5,7882,5,7883,5,7887,5,7899,5,7991,5,7992,5,8035,10,8036,10,8058,5,8059,5,8082,5,8083,5,8088,5,8137,5,8138,10,8157,5,8158,10,8159,5,8160,10,8167,5,8168,10,8169,5,8170,10,8187,5,8189,10,8205,5,8206,10,8225,5,8226,10,8311,5,8312,11,8313,5,8314,11,8315,5,8316,11,8317,5,8318,11,8319,5,8320,11,8321,5,8322,11,8323,5,8324,11,8325,5,8326,11,8327,5,8328,11,8329,5,8330,11,8331,5,8332,11,8333,5,8334,11,8335,5,8336,11,8337,5,8338,11,8339,5,8340,11,8341,5,8342,11,8343,5,8344,11,8345,5,8346,11,8347,5,8348,11,8352,5,8353,5,8379,5,8380,10,8381,5,8382,10,8383,5,8384,10,8385,5,8387,10,8391,5,8395,5,8433,5,8455,5,8456,5,8531,10,8682,5,8687,5,8692,5,8903,5,8950,5,8951,5,9039,5,9040,5,9141,5,9149,5,9150,5,9191,5,9221,5,9222,5,20499,5,20538,5,20539,5,20790,5,20791,5,21291,5,21292,5,21500,5,21817,5,21818,5,22032,5,22033,5,22091,5,22092,5,22332,5,22391,5,22392,5,22700,5,22770,5,22780,5,22832,5,23090,5,23095,5,23239,5,23240,5,23433,5,23700,5,24047,5,24048,5,24100,14,24200,5,24305,5,24306,5,24382,6,24383,5,24500,5,24547,5,24548,5,24571,2,24600,5,25e3,5,25231,5,25884,5,25932,5,26237,5,26331,5,26332,5,26591,5,26592,5,26632,5,26692,5,26855,10,26856,10,27120,5,27200,5,27291,7,27292,7,27429,5,27492,5,27500,5,27700,5,28232,5,28600,5,28991,5,28992,5,29100,5,29220,5,29221,5,29333,5,29635,5,29636,5,29701,5,29738,5,29739,5,29849,5,29850,5,29871,3,29872,13,29873,5,29900,5,29901,5,29903,5,30200,15,30339,5,30340,5,30791,5,30792,5,31028,5,31121,5,31154,5,31170,5,31171,5,31370,5,31528,5,31529,5,31600,5,31700,5,31838,5,31839,5,31901,5,32061,5,32062,5,32098,5,32099,10,32100,5,32104,5,32161,5,32766,5,53048,5,53049,5,54090,5,54091,5,65061,10,65062,10,65161,5,65163,5,102041,10,102064,8,102068,1,102069,0,102118,10,102119,11,102120,10,102121,10,102217,10,102218,5,102219,10,102220,10,102378,11,102379,11,102380,5,102381,11,102498,5,102499,5,102589,10,102590,5,102599,10,102600,10,102604,10,102605,5,102606,5,102647,5,102704,10,102705,10,102706,5,102733,10,102761,10,102762,5,102763,10,102764,5,102765,5,102766,10,102962,5,102963,5,102970,11,102974,10,102993,5,102994,5,102995,10,102996,10,103015,5,103016,10,103017,5,103018,10,103025,5,103026,5,103027,10,103028,10,103035,5,103036,5,103037,10,103038,10,103039,5,103040,5,103041,10,103042,10,103043,5,103044,5,103045,10,103046,10,103047,5,103048,5,103049,10,103050,10,103051,5,103052,10,103053,5,103054,10,103055,5,103056,10,103057,5,103058,5,103059,10,103060,10,103061,5,103062,5,103063,10,103064,10,103069,10,103070,5,103071,5,103072,10,103073,10,103086,5,103087,5,103088,10,103089,10,103094,11,103095,5,103096,10,103103,5,103104,10,103105,5,103106,10,103121,5,103122,10,103123,5,103124,5,103125,11,103126,11,103127,5,103128,5,103129,10,103130,10,103131,5,103132,5,103133,10,103134,10,103135,5,103136,5,103137,11,103138,11,103139,5,103140,10,103141,5,103142,10,103143,5,103144,10,103145,5,103146,11,103147,5,103148,5,103149,10,103150,10,103151,5,103152,10,103172,5,103173,10,103174,5,103175,5,103176,10,103177,10,103178,5,103179,5,103180,10,103181,10,103182,5,103183,5,103184,10,103185,10,103228,5,103229,5,103230,10,103231,10,103250,5,103251,10,103252,5,103253,10,103260,5,103261,5,103262,10,103263,10,103270,5,103271,5,103272,10,103273,10,103274,5,103275,5,103276,10,103277,10,103278,5,103279,5,103280,10,103281,10,103282,5,103283,5,103284,10,103285,10,103286,5,103287,10,103288,5,103289,10,103290,5,103291,10,103292,5,103293,5,103294,10,103295,10,103296,5,103297,5,103298,10,103299,10,103376,10,103377,5,103378,5,103379,10,103380,10,103393,5,103394,5,103395,10,103396,10,103472,5,103473,11,103474,5,103475,10,103482,5,103483,10,103484,5,103485,10,103500,5,103501,10,103502,5,103503,5,103504,11,103505,11,103506,5,103507,5,103508,10,103509,10,103510,5,103511,5,103512,10,103513,10,103514,5,103515,10,103516,5,103517,10,103518,5,103519,10,103520,5,103521,11,103522,5,103523,5,103524,10,103525,10,103526,5,103527,10,103561,10,103562,10,103563,5,103564,5,103565,10,103566,10,103567,5,103568,5,103569,10,103570,10,103585,10,103586,5,103587,10,103588,11,103589,5,103590,10,103591,11,103592,5,103593,10,103594,11,103695,10,103846,5,103946,10],pcsidc:[[2e3,2045,5],[2056,2065,5],[2067,2135,5],[2137,2153,5],[2161,2170,5],[2172,2193,5],[2196,2198,5],[2200,2203,5],[2206,2217,5],[2222,2224,11],[2251,2253,11],[2280,2282,11],[2308,2311,5],[2315,2325,5],[2327,2394,5],[2400,2491,5],[2494,2758,5],[2867,2869,11],[2870,2888,10],[2891,2895,10],[2896,2898,11],[2902,2908,10],[2915,2920,10],[2921,2923,11],[2924,2930,10],[2931,2941,5],[2969,2973,5],[2975,2982,5],[2984,2988,5],[2995,3002,5],[3006,3051,5],[3054,3059,5],[3061,3066,5],[3068,3071,5],[3084,3087,5],[3112,3118,5],[3120,3138,5],[3146,3151,5],[3153,3157,5],[3161,3166,5],[3168,3172,5],[3174,3203,5],[3294,3313,5],[3315,3335,5],[3339,3345,5],[3350,3358,5],[3367,3369,5],[3374,3388,5],[3391,3399,5],[3408,3416,5],[3425,3432,10],[3441,3446,10],[3456,3459,10],[3465,3478,5],[3554,3559,5],[3561,3565,10],[3568,3570,10],[3571,3581,5],[3594,3597,5],[3601,3604,5],[3637,3639,5],[3665,3667,5],[3693,3695,5],[3701,3727,5],[3728,3733,10],[3744,3747,5],[3753,3758,10],[3761,3763,5],[3765,3769,5],[3779,3781,5],[3788,3791,5],[3797,3799,5],[3832,3841,5],[3844,3852,5],[3873,3885,5],[3890,3893,5],[3942,3950,5],[3968,3970,5],[3973,3976,5],[3986,3989,5],[3994,3997,5],[4390,4398,5],[4399,4413,10],[4418,4433,10],[4491,4554,5],[4568,4589,5],[4652,4656,5],[4766,4800,5],[5069,5072,5],[5105,5130,5],[5180,5184,5],[5253,5259,5],[5269,5275,5],[5292,5311,5],[5343,5349,5],[5355,5357,5],[5387,5389,5],[5459,5463,5],[5479,5482,5],[5530,5539,5],[5550,5552,5],[5562,5583,5],[5623,5625,10],[5631,5639,5],[5649,5653,5],[5663,5680,5],[5682,5685,5],[5875,5877,5],[5896,5899,5],[5921,5940,5],[6050,6125,5],[6351,6354,5],[6366,6372,5],[6381,6387,5],[6622,6624,5],[6707,6709,5],[6720,6723,5],[6732,6738,5],[6931,6933,5],[7005,7007,5],[7057,7070,10],[7074,7082,5],[7109,7118,5],[7119,7127,11],[7374,7376,5],[7528,7586,5],[7587,7645,10],[7755,7787,5],[7791,7795,5],[7799,7801,5],[7803,7805,5],[7825,7831,5],[7845,7859,5],[8013,8032,5],[8065,8068,11],[8518,8529,10],[8533,8536,10],[8538,8540,10],[8677,8679,5],[8836,8840,5],[8908,8910,5],[9154,9159,5],[9205,9218,5],[20002,20032,5],[20062,20092,5],[20135,20138,5],[20248,20258,5],[20348,20358,5],[20436,20440,5],[20822,20824,5],[20934,20936,5],[21035,21037,5],[21095,21097,5],[21148,21150,5],[21413,21423,5],[21473,21483,5],[21780,21782,5],[21891,21894,5],[22171,22177,5],[22181,22187,5],[22191,22197,5],[22234,22236,5],[22521,22525,5],[22991,22994,5],[23028,23038,5],[23830,23853,5],[23866,23872,5],[23877,23884,5],[23886,23894,5],[23946,23948,5],[24311,24313,5],[24342,24347,5],[24370,24374,6],[24375,24381,5],[24718,24721,5],[24817,24821,5],[24877,24882,5],[24891,24893,5],[25391,25395,5],[25828,25838,5],[26191,26195,5],[26391,26393,5],[26703,26722,5],[26729,26760,10],[26766,26798,10],[26860,26870,10],[26891,26899,5],[26903,26923,5],[26929,26946,5],[26948,26998,5],[27037,27040,5],[27205,27232,5],[27258,27260,5],[27391,27398,5],[27561,27564,5],[27571,27574,5],[27581,27584,5],[27591,27594,5],[28191,28193,5],[28348,28358,5],[28402,28432,5],[28462,28492,5],[29118,29122,5],[29177,29185,5],[30161,30179,5],[30491,30494,5],[30729,30732,5],[31251,31259,5],[31265,31268,5],[31275,31278,5],[31288,31297,5],[31461,31465,5],[31491,31495,5],[31917,31922,5],[31965,31985,5],[31992,32e3,5],[32001,32003,10],[32005,32031,10],[32033,32060,10],[32074,32077,10],[32081,32086,5],[32107,32130,5],[32133,32158,5],[32164,32167,10],[32180,32199,5],[32201,32260,5],[32301,32360,5],[32601,32662,5],[32664,32667,10],[32701,32761,5],[53001,53004,5],[53008,53019,5],[53021,53032,5],[53034,53037,5],[53042,53046,5],[53074,53080,5],[54001,54004,5],[54008,54019,5],[54021,54032,5],[54034,54037,5],[54042,54046,5],[54048,54053,5],[54074,54080,5],[54098,54101,5],[102001,102040,5],[102042,102063,5],[102065,102067,5],[102070,102112,5],[102114,102117,5],[102122,102208,5],[102210,102216,5],[102221,102300,5],[102304,102377,5],[102382,102388,5],[102389,102398,10],[102399,102444,5],[102445,102447,10],[102448,102458,5],[102459,102468,10],[102469,102496,5],[102500,102519,11],[102520,102524,5],[102525,102529,10],[102530,102549,5],[102557,102588,5],[102593,102598,5],[102601,102603,5],[102608,102628,5],[102629,102646,10],[102648,102672,10],[102675,102700,10],[102701,102703,5],[102707,102730,10],[102735,102758,10],[102767,102900,5],[102965,102969,5],[102971,102973,5],[102975,102989,5],[102990,102992,11],[102997,103002,5],[103003,103008,10],[103009,103011,5],[103012,103014,10],[103019,103021,5],[103022,103024,10],[103029,103031,5],[103032,103034,10],[103065,103068,5],[103074,103076,5],[103077,103079,11],[103080,103082,5],[103083,103085,10],[103090,103093,5],[103097,103099,5],[103100,103102,10],[103107,103109,5],[103110,103112,10],[103113,103116,5],[103117,103120,10],[103153,103157,5],[103158,103162,10],[103163,103165,5],[103166,103168,11],[103169,103171,10],[103186,103188,5],[103189,103191,10],[103192,103195,5],[103196,103199,10],[103200,103224,5],[103225,103227,11],[103232,103237,5],[103238,103243,10],[103244,103246,5],[103247,103249,10],[103254,103256,5],[103257,103259,10],[103264,103266,5],[103267,103269,10],[103300,103375,5],[103381,103383,5],[103384,103386,11],[103387,103389,5],[103390,103392,10],[103397,103399,5],[103400,103471,10],[103476,103478,5],[103479,103481,10],[103486,103488,5],[103489,103491,10],[103492,103495,5],[103496,103499,10],[103539,103543,5],[103544,103548,10],[103549,103551,5],[103552,103554,11],[103555,103557,10],[103558,103560,5],[103571,103573,5],[103574,103576,10],[103577,103580,5],[103581,103583,10],[103595,103597,5],[103600,103694,5],[103696,103698,5],[103700,103793,10],[103794,103799,5]],gcsid:[4001,81,4002,85,4003,70,4004,84,4005,82,4006,83,4007,60,4008,67,4009,39,4010,57,4011,63,4012,64,4013,64,4014,63,4015,92,4016,90,4018,86,4019,75,4020,68,4021,70,4022,55,4023,75,4024,66,4025,73,4027,95,4028,59,4029,58,4031,75,4032,78,4033,77,4034,65,4035,100,4036,70,4042,88,4044,87,4045,89,4046,75,4047,99,4052,101,4053,97,4054,61,4075,75,4081,75,4120,84,4121,75,4122,80,4123,55,4124,84,4126,75,4130,75,4131,92,4132,64,4133,75,4134,64,4140,75,4141,75,4142,64,4143,64,4144,92,4145,87,4146,89,4147,66,4148,75,4149,84,4150,84,4151,75,4152,75,4153,55,4154,55,4155,63,4156,84,4157,60,4162,84,4163,75,4164,66,4165,55,4166,75,4168,58,4170,75,4172,75,4173,75,4174,58,4175,64,4176,75,4178,66,4179,66,4180,75,4188,81,4190,75,4191,66,4192,55,4193,63,4198,64,4199,55,4200,66,4201,64,4202,70,4203,70,4204,55,4205,66,4206,63,4207,55,4208,55,4209,64,4210,64,4211,84,4212,64,4213,63,4214,66,4215,55,4216,67,4218,55,4219,84,4220,64,4221,55,4222,64,4224,55,4225,55,4229,68,4230,55,4231,55,4232,64,4234,64,4235,55,4236,55,4237,70,4238,70,4239,92,4240,92,4241,65,4242,67,4243,88,4244,92,4245,86,4246,64,4250,64,4251,64,4252,63,4253,67,4254,55,4255,55,4256,64,4257,84,4258,75,4259,55,4260,64,4261,106,4262,84,4263,64,4265,55,4266,63,4267,67,4269,75,4270,64,4271,55,4272,55,4273,82,4274,55,4275,63,4276,73,4280,84,4281,57,4282,63,4283,75,4284,66,4285,55,4286,68,4288,55,4289,84,4291,70,4292,55,4293,83,4294,84,4295,84,4296,63,4297,55,4298,90,4299,85,4300,85,4301,84,4302,60,4303,68,4306,84,4307,64,4308,84,4309,55,4310,63,4311,55,4312,84,4313,55,4314,84,4315,63,4316,55,4317,66,4318,75,4319,75,4322,80,4324,80,4326,75,4466,75,4469,75,4475,55,4483,75,4490,75,4555,66,4558,75,4608,67,4609,67,4610,74,4614,55,4619,75,4624,75,4625,55,4627,75,4636,55,4637,55,4638,67,4639,55,4657,93,4659,75,4660,55,4661,75,4666,84,4667,75,4670,75,4671,63,4674,75,4679,64,4680,64,4682,92,4683,67,4686,75,4687,75,4693,75,4694,75,4695,67,4696,64,4697,64,4702,75,4703,64,4704,55,4705,55,4706,68,4718,55,4720,80,4721,55,4723,67,4726,67,4737,75,4738,60,4740,79,4741,55,4742,75,4743,64,4744,64,4745,84,4746,84,4747,75,4748,56,4749,75,4750,75,4751,91,4752,56,4753,55,4754,55,4759,75,4761,75,4801,84,4802,55,4803,55,4804,84,4805,84,4806,55,4807,106,4808,84,4809,55,4810,105,4811,106,4816,106,4817,82,4818,84,4820,84,4821,106,4823,55,4824,55,4901,107,4902,107,4903,59,4904,84,5228,84,5229,84,5233,92,5252,75,5264,75,5340,75,5354,75,5360,75,5371,75,5373,75,5381,75,5393,75,5464,60,5467,67,5489,75,5524,55,5527,70,5546,75,5561,66,5593,75,5681,84,5886,75,6135,75,6365,75,6706,75,6881,64,6882,64,6883,55,6892,64,6894,64,6980,75,6983,75,6987,75,6990,75,7035,75,7037,75,7039,75,7041,75,7073,75,7084,75,7086,75,7133,75,7373,75,7683,76,7798,75,7844,75,7881,75,7886,75,8042,96,8043,96,8086,75,8232,75,8237,75,8240,75,8246,75,8249,75,8252,75,8255,75,8351,84,8427,75,8428,55,8449,75,8545,75,8685,75,8694,64,8699,75,8818,75,8888,75,8900,75,8902,75,8907,75,8949,75,9003,75,9006,75,9009,75,9012,75,9017,75,9068,75,9069,75,9140,75,9148,75,9153,75,37001,73,37002,69,37003,72,37004,71,37005,62,37006,91,37007,94,37008,101,37201,55,37202,92,37203,87,37204,55,37205,55,37206,64,37207,71,37208,64,37211,64,37220,67,37221,55,37222,55,37223,63,37224,55,37225,106,37226,55,37227,55,37228,64,37229,62,37230,55,37231,70,37232,55,37233,55,37235,55,37237,55,37238,55,37239,67,37240,64,37241,55,37242,55,37243,67,37252,67,37253,55,37254,64,37255,84,37257,66,37259,55,37260,67,104017,79,104018,79,104024,75,104027,75,104047,98,104050,75,104100,75,104101,84,104102,84,104103,64,104104,55,104105,84,104106,55,104107,75,104108,75,104109,67,104110,75,104111,75,104112,67,104113,67,104128,102,104129,75,104130,55,104131,84,104132,67,104133,75,104134,75,104135,66,104136,70,104137,75,104138,55,104139,106,104140,106,104223,75,104248,55,104256,92,104261,63,104286,75,104287,75,104304,63,104700,49,104701,9,104702,24,104703,15,104704,28,104705,32,104706,53,104707,46,104708,37,104709,54,104710,11,104711,14,104712,30,104713,52,104714,4,104715,4,104716,23,104717,14,104718,48,104719,29,104720,22,104721,21,104722,35,104723,21,104724,46,104725,22,104726,49,104727,45,104728,52,104729,10,104730,10,104731,21,104732,31,104733,26,104734,40,104735,19,104736,30,104737,34,104738,27,104739,46,104740,5,104741,12,104742,50,104743,9,104744,43,104745,21,104746,26,104747,25,104748,21,104749,7,104750,53,104751,6,104752,33,104753,29,104754,19,104755,41,104756,31,104757,3,104758,41,104759,25,104760,49,104761,41,104762,44,104763,50,104764,46,104765,6,104766,40,104767,16,104768,8,104769,17,104770,48,104771,42,104772,50,104773,25,104774,29,104775,25,104776,32,104777,13,104778,36,104779,47,104780,14,104781,29,104782,23,104783,38,104784,42,104785,18,104786,20,104808,51,104896,75,104900,112,104901,104,104902,103,104903,116,104904,109,104905,108,104906,169,104907,164,104908,0,104909,168,104910,141,104911,166,104912,114,104913,160,104914,151,104915,117,104916,110,104917,140,104918,115,104919,170,104920,163,104921,154,104922,158,104923,161,104924,148,104925,0,104926,159,104927,167,104928,127,104929,131,104930,145,104931,159,104932,136,104933,123,104934,139,104935,134,104936,166,104937,150,104938,137,104939,147,104940,121,104941,165,104942,128,104943,111,104944,1,104945,126,104946,152,104947,157,104948,162,104949,153,104950,156,104951,149,104952,132,104953,122,104954,160,104955,146,104956,143,104957,156,104958,120,104959,125,104960,2,104961,144,104962,142,104963,138,104964,155,104965,135,104966,133,104967,151,104968,118,104969,119,104970,124,104971,108,104972,129,104973,130,104974,113,104975,0,104990,84,104991,75,104992,84],gcsidc:[[4127,4129,67],[4135,4139,67],[4158,4161,55],[4181,4185,55],[4194,4196,55],[4226,4228,63],[4247,4249,55],[4277,4279,81],[4600,4607,64],[4621,4623,55],[4628,4633,55],[4641,4646,55],[4662,4665,55],[4676,4678,66],[4688,4692,55],[4699,4701,64],[4755,4757,75],[4763,4765,75],[4813,4815,84],[8972,8987,75],[37212,37219,55],[37245,37247,55],[37249,37251,55],[104009,104015,75],[104019,104022,75],[104114,104124,75],[104125,104127,55],[104141,104145,75],[104179,104186,75],[104257,104260,75]]},n={c:[[2e3,2035,9001],[2039,2045,9001],[2056,2062,9001],[2067,2090,9001],[2093,2135,9001],[2161,2165,9001],[2172,2180,9001],[2188,2193,9001],[2195,2198,9001],[2200,2203,9001],[2205,2213,9001],[2215,2217,9001],[2222,2224,9002],[2225,2243,9003],[2246,2250,9003],[2251,2253,9002],[2257,2264,9003],[2274,2279,9003],[2280,2282,9002],[2283,2289,9003],[2308,2313,9001],[2315,2491,9001],[2494,2576,9001],[2578,2599,9001],[2601,2693,9001],[2695,2866,9001],[2867,2869,9002],[2870,2888,9003],[2891,2895,9003],[2896,2898,9002],[2902,2908,9003],[2915,2920,9003],[2921,2923,9002],[2924,2930,9003],[2931,2933,9001],[2935,2962,9001],[2964,2968,9003],[2969,2973,9001],[2975,2978,9001],[2984,2988,9001],[2995,3051,9001],[3054,3072,9001],[3077,3079,9001],[3081,3088,9001],[3092,3101,9001],[3106,3138,9001],[3146,3151,9001],[3153,3166,9001],[3168,3172,9001],[3174,3203,9001],[3294,3313,9001],[3315,3348,9001],[3350,3358,9001],[3367,3403,9001],[3408,3416,9001],[3417,3438,9003],[3441,3446,9003],[3447,3450,9001],[3451,3453,9003],[3455,3459,9003],[3460,3478,9001],[3554,3559,9001],[3560,3570,9003],[3571,3581,9001],[3594,3597,9001],[3601,3604,9001],[3637,3639,9001],[3665,3667,9001],[3693,3695,9001],[3701,3727,9001],[3728,3739,9003],[3740,3751,9001],[3753,3760,9003],[3761,3773,9001],[3775,3777,9001],[3779,3781,9001],[3788,3791,9001],[3797,3802,9001],[3814,3816,9001],[3825,3829,9001],[3832,3841,9001],[3844,3852,9001],[3873,3885,9001],[3890,3893,9001],[3942,3950,9001],[3968,3970,9001],[3973,3976,9001],[3986,3989,9001],[3994,3997,9001],[4001,4016,9102],[4018,4025,9102],[4027,4029,9102],[4031,4036,9102],[4044,4047,9102],[4048,4051,9001],[4052,4054,9102],[4056,4063,9001],[4093,4096,9001],[4120,4124,9102],[4127,4139,9102],[4141,4176,9102],[4178,4185,9102],[4188,4216,9102],[4218,4232,9102],[4235,4260,9102],[4265,4267,9102],[4269,4286,9102],[4292,4304,9102],[4306,4319,9102],[4390,4398,9001],[4399,4413,9003],[4418,4433,9003],[4455,4457,9003],[4484,4489,9001],[4491,4554,9001],[4568,4589,9001],[4600,4630,9102],[4636,4639,9102],[4641,4646,9102],[4652,4656,9001],[4657,4680,9102],[4682,4684,9102],[4686,4765,9102],[4766,4800,9001],[4801,4806,9102],[4813,4815,9102],[5014,5016,9001],[5069,5072,9001],[5105,5130,9001],[5173,5188,9001],[5253,5259,9001],[5269,5275,9001],[5292,5311,9001],[5329,5331,9001],[5343,5349,9001],[5355,5357,9001],[5459,5463,9001],[5479,5482,9001],[5518,5520,9001],[5533,5539,9001],[5550,5552,9001],[5562,5583,9001],[5623,5625,9003],[5631,5639,9001],[5649,5653,9001],[5663,5680,9001],[5682,5685,9001],[5875,5877,9001],[5896,5899,9001],[5921,5940,9001],[6050,6125,9001],[6244,6275,9001],[6328,6348,9001],[6350,6356,9001],[6366,6372,9001],[6381,6387,9001],[6393,6404,9001],[6480,6483,9001],[6511,6514,9001],[6579,6581,9001],[6619,6624,9001],[6625,6627,9003],[6628,6632,9001],[6634,6637,9001],[6669,6692,9001],[6707,6709,9001],[6720,6723,9001],[6732,6738,9001],[6881,6883,9102],[6931,6933,9001],[7005,7007,9001],[7057,7070,9003],[7074,7082,9001],[7109,7118,9001],[7119,7127,9002],[7374,7376,9001],[7528,7586,9001],[7587,7645,9003],[7692,7696,9001],[7755,7787,9001],[7791,7795,9001],[7799,7801,9001],[7803,7805,9001],[7825,7831,9001],[7845,7859,9001],[8013,8032,9001],[8065,8068,9002],[8518,8529,9003],[8533,8536,9003],[8538,8540,9003],[8677,8679,9001],[8836,8840,9001],[8857,8859,9001],[8908,8910,9001],[8972,9e3,9102],[9053,9057,9102],[9059,9069,9102],[9154,9159,9001],[9205,9218,9001],[20002,20032,9001],[20062,20092,9001],[20135,20138,9001],[20248,20258,9001],[20348,20358,9001],[20436,20440,9001],[20822,20824,9001],[20934,20936,9001],[21035,21037,9001],[21095,21097,9001],[21148,21150,9001],[21413,21423,9001],[21473,21483,9001],[21780,21782,9001],[21896,21899,9001],[22171,22177,9001],[22181,22187,9001],[22191,22197,9001],[22234,22236,9001],[22521,22525,9001],[22991,22994,9001],[23028,23038,9001],[23830,23853,9001],[23866,23872,9001],[23877,23884,9001],[23886,23894,9001],[23946,23948,9001],[24311,24313,9001],[24342,24347,9001],[24370,24374,9084],[24375,24381,9001],[24718,24721,9001],[24817,24821,9001],[24877,24882,9001],[24891,24893,9001],[25391,25395,9001],[25828,25838,9001],[26191,26195,9001],[26391,26393,9001],[26701,26722,9001],[26729,26746,9003],[26748,26760,9003],[26766,26799,9003],[26847,26870,9003],[26891,26899,9001],[26901,26923,9001],[26929,26946,9001],[26948,26978,9001],[26980,26998,9001],[27037,27040,9001],[27205,27232,9001],[27258,27260,9001],[27391,27398,9001],[27561,27564,9001],[27571,27574,9001],[27581,27584,9001],[27591,27594,9001],[28191,28193,9001],[28348,28358,9001],[28402,28432,9001],[28462,28492,9001],[29168,29172,9001],[29187,29195,9001],[29901,29903,9001],[30161,30179,9001],[30491,30494,9001],[30729,30732,9001],[31251,31259,9001],[31265,31268,9001],[31275,31277,9001],[31281,31290,9001],[31466,31469,9001],[31491,31495,9001],[31965,32e3,9001],[32001,32003,9003],[32005,32017,9003],[32019,32028,9003],[32033,32035,9003],[32037,32060,9003],[32064,32067,9003],[32081,32086,9001],[32107,32130,9001],[32133,32158,9001],[32164,32167,9003],[32180,32199,9001],[32201,32260,9001],[32301,32360,9001],[32601,32662,9001],[32664,32667,9003],[32701,32761,9001],[37002,37008,9102],[53001,53004,9001],[53008,53019,9001],[53021,53032,9001],[53034,53037,9001],[53042,53046,9001],[53074,53080,9001],[54001,54004,9001],[54008,54019,9001],[54021,54032,9001],[54042,54046,9001],[54048,54053,9001],[54074,54080,9001],[54098,54101,9001],[102001,102005,9001],[102007,102039,9001],[102042,102045,9001],[102060,102063,9001],[102070,102079,9001],[102096,102099,9001],[102101,102109,9001],[102114,102117,9001],[102132,102138,9001],[102141,102144,9001],[102156,102166,9001],[102173,102179,9001],[102191,102198,9001],[102221,102228,9001],[102231,102233,9001],[102237,102240,9001],[102364,102375,9001],[102389,102398,9003],[102399,102419,9001],[102421,102438,9001],[102445,102447,9003],[102450,102458,9001],[102459,102462,9003],[102470,102489,9001],[102550,102556,9001],[102562,102588,9001],[102629,102640,9003],[102648,102650,9003],[102688,102690,9003],[102696,102700,9003],[102701,102703,9001],[102799,102900,9001],[103166,103168,9002],[103220,103224,9001],[103225,103227,9002],[103232,103237,9001],[103238,103243,9003],[103244,103246,9001],[103247,103249,9003],[103254,103256,9001],[103257,103259,9003],[103264,103266,9001],[103267,103269,9003],[103327,103330,9001],[103344,103347,9001],[103372,103375,9001],[103381,103383,9001],[103384,103386,9002],[103387,103389,9001],[103390,103392,9003],[103397,103399,9001],[103427,103430,9003],[103444,103447,9003],[103476,103478,9001],[103479,103481,9003],[103486,103488,9001],[103489,103491,9003],[103492,103495,9001],[103496,103499,9003],[103539,103543,9001],[103544,103548,9003],[103549,103551,9001],[103552,103554,9002],[103555,103557,9003],[103558,103560,9001],[103571,103573,9001],[103574,103576,9003],[103577,103580,9001],[103581,103583,9003],[103595,103597,9001],[103600,103694,9001],[103696,103698,9001],[103700,103793,9003],[104101,104103,9102],[104126,104131,9102],[104259,104261,9102],[104700,104786,9102],[104900,104975,9102]],nc:[2065,9001,2066,9039,2136,9094,2137,9001,2138,9001,2154,9001,2157,9001,2158,9001,2159,9094,2160,9094,2169,9001,2170,9001,2204,9003,2219,9001,2220,9001,2254,9003,2255,9003,2256,9002,2265,9002,2266,9002,2267,9003,2268,9003,2269,9002,2270,9002,2271,9003,2272,9003,2273,9002,2290,9001,2294,9001,2295,9001,2314,9005,2899,9003,2900,9003,2901,9002,2909,9002,2910,9002,2911,9003,2912,9003,2913,9002,2914,9002,2980,9001,2981,9001,2991,9001,2992,9002,2993,9001,2994,9002,3074,9001,3075,9001,3080,9002,3089,9003,3090,9001,3091,9003,3102,9003,3141,9001,3142,9001,3167,9301,3360,9001,3361,9002,3362,9001,3363,9003,3364,9001,3365,9003,3404,9003,3405,9001,3406,9001,3407,9005,3439,9001,3440,9001,3479,9002,3480,9001,3481,9002,3482,9001,3483,9002,3484,9001,3485,9003,3486,9001,3487,9003,3488,9001,3489,9001,3490,9003,3491,9001,3492,9003,3493,9001,3494,9003,3495,9001,3496,9003,3497,9001,3498,9003,3499,9001,3500,9003,3501,9001,3502,9003,3503,9001,3504,9003,3505,9001,3506,9003,3507,9001,3508,9003,3509,9001,3510,9003,3511,9001,3512,9003,3513,9001,3514,9001,3515,9003,3516,9001,3517,9003,3518,9001,3519,9003,3520,9001,3521,9003,3522,9001,3523,9003,3524,9001,3525,9003,3526,9001,3527,9003,3528,9001,3529,9003,3530,9001,3531,9003,3532,9001,3533,9003,3534,9001,3535,9003,3536,9001,3537,9003,3538,9001,3539,9003,3540,9001,3541,9003,3542,9001,3543,9003,3544,9001,3545,9003,3546,9001,3547,9003,3548,9001,3549,9003,3550,9001,3551,9003,3552,9001,3553,9003,3582,9003,3583,9001,3584,9003,3585,9001,3586,9003,3587,9001,3588,9002,3589,9001,3590,9002,3591,9001,3592,9001,3593,9002,3598,9003,3599,9001,3600,9003,3605,9002,3606,9001,3607,9001,3608,9003,3609,9001,3610,9003,3611,9001,3612,9003,3613,9001,3614,9003,3615,9001,3616,9003,3617,9001,3618,9003,3619,9001,3620,9003,3621,9001,3622,9003,3623,9001,3624,9003,3625,9001,3626,9003,3627,9001,3628,9003,3629,9001,3630,9003,3631,9001,3632,9003,3633,9001,3634,9002,3635,9001,3636,9002,3640,9003,3641,9001,3642,9003,3643,9001,3644,9002,3645,9001,3646,9002,3647,9001,3648,9002,3649,9001,3650,9003,3651,9001,3652,9003,3653,9001,3654,9003,3655,9001,3656,9002,3657,9001,3658,9003,3659,9001,3660,9003,3661,9001,3662,9003,3663,9001,3664,9003,3668,9003,3669,9001,3670,9003,3671,9001,3672,9003,3673,9001,3674,9003,3675,9001,3676,9002,3677,9003,3678,9001,3679,9002,3680,9003,3681,9001,3682,9002,3683,9003,3684,9001,3685,9001,3686,9003,3687,9001,3688,9003,3689,9001,3690,9003,3691,9001,3692,9003,3696,9003,3697,9001,3698,9003,3699,9001,3700,9003,3783,9001,3784,9001,3793,9001,3794,9001,3812,9001,3819,9102,3821,9102,3824,9102,3854,9001,3857,9001,3889,9102,3906,9102,3911,9001,3912,9001,3920,9001,3978,9001,3979,9001,3991,9003,3992,9003,4026,9001,4037,9001,4038,9001,4042,9102,4071,9001,4075,9102,4081,9102,4082,9001,4083,9001,4087,9001,4088,9001,4217,9003,4261,9105,4262,9102,4263,9102,4288,9102,4289,9102,4322,9102,4324,9102,4326,9102,4414,9001,4415,9001,4417,9001,4434,9001,4437,9001,4438,9003,4439,9003,4462,9001,4463,9102,4467,9001,4470,9102,4471,9001,4475,9102,4483,9102,4490,9102,4555,9102,4558,9102,4559,9001,4632,9102,4633,9102,4647,9001,4807,9105,4808,9102,4809,9102,4810,9105,4811,9105,4816,9105,4817,9102,4818,9102,4820,9102,4821,9105,4822,9001,4823,9102,4824,9102,4826,9001,4839,9001,4901,9105,4902,9105,4903,9102,4904,9102,5013,9102,5018,9001,5048,9001,5167,9001,5168,9001,5221,9001,5223,9001,5228,9102,5229,9102,5233,9102,5234,9001,5235,9001,5243,9001,5246,9102,5247,9001,5252,9102,5264,9102,5266,9001,5316,9001,5320,9001,5321,9001,5324,9102,5325,9001,5337,9001,5340,9102,5354,9102,5360,9102,5361,9001,5362,9001,5365,9102,5367,9001,5371,9102,5373,9102,5381,9102,5382,9001,5383,9001,5387,9001,5389,9001,5393,9102,5396,9001,5451,9102,5456,9001,5457,9001,5464,9102,5467,9102,5469,9001,5472,9037,5489,9102,5490,9001,5513,9001,5514,9001,5523,9001,5524,9102,5527,9102,5530,9001,5531,9001,5546,9102,5559,9001,5561,9102,5588,9002,5589,9005,5593,9102,5596,9001,5627,9001,5629,9001,5641,9001,5643,9001,5644,9001,5646,9003,5654,9003,5655,9003,5659,9001,5681,9102,5700,9001,5825,9001,5836,9001,5837,9001,5839,9001,5842,9001,5844,9001,5858,9001,5879,9001,5880,9001,5886,9102,5887,9001,5890,9001,6128,9002,6129,9002,6135,9102,6204,9001,6207,9102,6210,9001,6211,9001,6307,9001,6311,9102,6312,9001,6316,9001,6318,9102,6322,9102,6325,9102,6362,9001,6365,9102,6391,9002,6405,9002,6406,9001,6407,9002,6408,9001,6409,9002,6410,9001,6411,9003,6412,9001,6413,9003,6414,9001,6415,9001,6416,9003,6417,9001,6418,9003,6419,9001,6420,9003,6421,9001,6422,9003,6423,9001,6424,9003,6425,9001,6426,9003,6427,9001,6428,9003,6429,9001,6430,9003,6431,9001,6432,9003,6433,9001,6434,9003,6435,9001,6436,9003,6437,9001,6438,9003,6439,9001,6440,9001,6441,9003,6442,9001,6443,9003,6444,9001,6445,9003,6446,9001,6447,9003,6448,9001,6449,9003,6450,9001,6451,9003,6452,9001,6453,9003,6454,9001,6455,9003,6456,9001,6457,9003,6458,9001,6459,9003,6460,9001,6461,9003,6462,9001,6463,9003,6464,9001,6465,9003,6466,9001,6467,9003,6468,9001,6469,9003,6470,9001,6471,9003,6472,9001,6473,9003,6474,9001,6475,9003,6476,9001,6477,9003,6478,9001,6479,9003,6484,9003,6485,9001,6486,9003,6487,9001,6488,9003,6489,9001,6490,9003,6491,9001,6492,9003,6493,9001,6494,9002,6495,9001,6496,9002,6497,9001,6498,9001,6499,9002,6500,9001,6501,9003,6502,9001,6503,9003,6504,9001,6505,9003,6506,9001,6507,9003,6508,9001,6509,9001,6510,9003,6515,9002,6516,9001,6518,9001,6519,9003,6520,9001,6521,9003,6522,9001,6523,9003,6524,9001,6525,9003,6526,9001,6527,9003,6528,9001,6529,9003,6530,9001,6531,9003,6532,9001,6533,9003,6534,9001,6535,9003,6536,9001,6537,9003,6538,9001,6539,9003,6540,9001,6541,9003,6542,9001,6543,9003,6544,9001,6545,9002,6546,9001,6547,9002,6548,9001,6549,9003,6550,9001,6551,9003,6552,9001,6553,9003,6554,9001,6555,9003,6556,9001,6557,9002,6558,9001,6559,9002,6560,9001,6561,9002,6562,9001,6563,9003,6564,9001,6565,9003,6566,9001,6567,9001,6568,9003,6569,9001,6570,9002,6571,9001,6572,9003,6573,9001,6574,9003,6575,9001,6576,9003,6577,9001,6578,9003,6582,9003,6583,9001,6584,9003,6585,9001,6586,9003,6587,9001,6588,9003,6589,9001,6590,9003,6591,9001,6592,9001,6593,9003,6594,9001,6595,9003,6596,9001,6597,9003,6598,9001,6599,9003,6600,9001,6601,9003,6602,9001,6603,9003,6605,9003,6606,9001,6607,9003,6608,9001,6609,9003,6610,9001,6611,9001,6612,9003,6613,9001,6614,9003,6615,9001,6616,9003,6617,9001,6618,9003,6633,9003,6646,9001,6668,9102,6703,9001,6706,9102,6783,9102,6784,9001,6785,9002,6786,9001,6787,9002,6788,9001,6789,9002,6790,9001,6791,9002,6792,9001,6793,9002,6794,9001,6795,9002,6796,9001,6797,9002,6798,9001,6799,9002,6800,9001,6801,9002,6802,9001,6803,9002,6804,9001,6805,9002,6806,9001,6807,9002,6808,9001,6809,9002,6810,9001,6811,9002,6812,9001,6813,9002,6814,9001,6815,9002,6816,9001,6817,9002,6818,9001,6819,9002,6820,9001,6821,9002,6822,9001,6823,9002,6824,9001,6825,9002,6826,9001,6827,9002,6828,9001,6829,9002,6830,9001,6831,9002,6832,9001,6833,9002,6834,9001,6835,9002,6836,9001,6837,9002,6838,9001,6839,9002,6840,9001,6841,9002,6842,9001,6843,9002,6844,9001,6845,9002,6846,9001,6847,9002,6848,9001,6849,9002,6850,9001,6851,9002,6852,9001,6853,9002,6854,9001,6855,9002,6856,9001,6857,9002,6858,9001,6859,9002,6860,9001,6861,9002,6862,9001,6863,9002,6867,9001,6868,9002,6870,9001,6875,9001,6876,9001,6879,9001,6880,9003,6884,9001,6885,9002,6886,9001,6887,9002,6892,9102,6894,9102,6915,9001,6922,9001,6923,9003,6924,9001,6925,9003,6962,9001,6983,9102,6984,9001,6990,9102,6991,9001,7035,9102,7037,9102,7039,9102,7041,9102,7073,9102,7084,9102,7086,9102,7128,9003,7131,9001,7132,9003,7133,9102,7136,9102,7139,9102,7142,9001,7257,9001,7258,9003,7259,9001,7260,9003,7261,9001,7262,9003,7263,9001,7264,9003,7265,9001,7266,9003,7267,9001,7268,9003,7269,9001,7270,9003,7271,9001,7272,9003,7273,9001,7274,9003,7275,9001,7276,9003,7277,9001,7278,9003,7279,9001,7280,9003,7281,9001,7282,9003,7283,9001,7284,9003,7285,9001,7286,9003,7287,9001,7288,9003,7289,9001,7290,9003,7291,9001,7292,9003,7293,9001,7294,9003,7295,9001,7296,9003,7297,9001,7298,9003,7299,9001,7300,9003,7301,9001,7302,9003,7303,9001,7304,9003,7305,9001,7306,9003,7307,9001,7308,9003,7309,9001,7310,9003,7311,9001,7312,9003,7313,9001,7314,9003,7315,9001,7316,9003,7317,9001,7318,9003,7319,9001,7320,9003,7321,9001,7322,9003,7323,9001,7324,9003,7325,9001,7326,9003,7327,9001,7328,9003,7329,9001,7330,9003,7331,9001,7332,9003,7333,9001,7334,9003,7335,9001,7336,9003,7337,9001,7338,9003,7339,9001,7340,9003,7341,9001,7342,9003,7343,9001,7344,9003,7345,9001,7346,9003,7347,9001,7348,9003,7349,9001,7350,9003,7351,9001,7352,9003,7353,9001,7354,9003,7355,9001,7356,9003,7357,9001,7358,9003,7359,9001,7360,9003,7361,9001,7362,9003,7363,9001,7364,9003,7365,9001,7366,9003,7367,9001,7368,9003,7369,9001,7370,9003,7373,9102,7683,9102,7798,9102,7844,9102,7877,9001,7878,9001,7881,9102,7882,9001,7883,9001,7886,9102,7887,9001,7899,9001,7991,9001,7992,9001,8035,9003,8036,9003,8042,9102,8043,9102,8058,9001,8059,9001,8082,9001,8083,9001,8086,9102,8088,9001,8090,9001,8091,9003,8092,9001,8093,9003,8095,9001,8096,9003,8097,9001,8098,9003,8099,9001,8100,9003,8101,9001,8102,9003,8103,9001,8104,9003,8105,9001,8106,9003,8107,9001,8108,9003,8109,9001,8110,9003,8111,9001,8112,9003,8113,9001,8114,9003,8115,9001,8116,9003,8117,9001,8118,9003,8119,9001,8120,9003,8121,9001,8122,9003,8123,9001,8124,9003,8125,9001,8126,9003,8127,9001,8128,9003,8129,9001,8130,9003,8131,9001,8132,9003,8133,9001,8134,9003,8135,9001,8136,9003,8137,9001,8138,9003,8139,9001,8140,9003,8141,9001,8142,9003,8143,9001,8144,9003,8145,9001,8146,9003,8147,9001,8148,9003,8149,9001,8150,9003,8151,9001,8152,9003,8153,9001,8154,9003,8155,9001,8156,9003,8157,9001,8158,9003,8159,9001,8160,9003,8161,9001,8162,9003,8163,9001,8164,9003,8165,9001,8166,9003,8167,9001,8168,9003,8169,9001,8170,9003,8171,9001,8172,9003,8173,9001,8177,9003,8179,9001,8180,9003,8181,9001,8182,9003,8184,9001,8185,9003,8187,9001,8189,9003,8191,9001,8193,9003,8196,9001,8197,9003,8198,9001,8200,9003,8201,9001,8202,9003,8203,9001,8204,9003,8205,9001,8206,9003,8207,9001,8208,9003,8209,9001,8210,9003,8212,9001,8213,9003,8214,9001,8216,9003,8218,9001,8220,9003,8222,9001,8224,9003,8225,9001,8226,9003,8232,9102,8237,9102,8240,9102,8246,9102,8249,9102,8252,9102,8255,9102,8311,9001,8312,9002,8313,9001,8314,9002,8315,9001,8316,9002,8317,9001,8318,9002,8319,9001,8320,9002,8321,9001,8322,9002,8323,9001,8324,9002,8325,9001,8326,9002,8327,9001,8328,9002,8329,9001,8330,9002,8331,9001,8332,9002,8333,9001,8334,9002,8335,9001,8336,9002,8337,9001,8338,9002,8339,9001,8340,9002,8341,9001,8342,9002,8343,9001,8344,9002,8345,9001,8346,9002,8347,9001,8348,9002,8351,9102,8352,9001,8353,9001,8379,9001,8380,9003,8381,9001,8382,9003,8383,9001,8384,9003,8385,9001,8387,9003,8391,9001,8395,9001,8427,9102,8428,9102,8431,9102,8433,9001,8441,9001,8455,9001,8456,9001,8531,9003,8545,9102,8682,9001,8685,9102,8687,9001,8692,9001,8693,9001,8694,9102,8699,9102,8818,9102,8826,9001,8860,9102,8888,9102,8900,9102,8902,9102,8903,9001,8907,9102,8949,9102,8950,9001,8951,9001,9003,9102,9006,9102,9009,9102,9012,9102,9014,9102,9017,9102,9019,9102,9039,9001,9040,9001,9140,9102,9141,9001,9148,9102,9149,9001,9150,9001,9153,9102,9191,9001,9221,9001,9222,9001,20499,9001,20538,9001,20539,9001,20790,9001,20791,9001,21291,9001,21292,9001,21500,9001,21817,9001,21818,9001,22032,9001,22033,9001,22091,9001,22092,9001,22332,9001,22391,9001,22392,9001,22700,9001,22770,9001,22780,9001,22832,9001,23090,9001,23095,9001,23239,9001,23240,9001,23700,9001,24047,9001,24048,9001,24100,9005,24200,9001,24305,9001,24306,9001,24382,9084,24383,9001,24500,9001,24547,9001,24548,9001,24571,9062,24600,9001,25e3,9001,25231,9001,25884,9001,25932,9001,26237,9001,26331,9001,26332,9001,26591,9001,26592,9001,26632,9001,26692,9001,27120,9001,27200,9001,27291,9040,27292,9040,27429,9001,27493,9001,27500,9001,27700,9001,28232,9001,28600,9001,28991,9001,28992,9001,29101,9001,29220,9001,29221,9001,29333,9001,29635,9001,29636,9001,29701,9001,29738,9001,29739,9001,29849,9001,29850,9001,29871,9042,29872,9041,29873,9001,30200,9039,30339,9001,30340,9001,30791,9001,30792,9001,31028,9001,31121,9001,31154,9001,31170,9001,31171,9001,31279,9001,31370,9001,31528,9001,31529,9001,31600,9001,31700,9001,31838,9001,31839,9001,31901,9001,32030,9003,32031,9003,32061,9001,32062,9001,32098,9001,32099,9003,32100,9001,32104,9001,32161,9001,32766,9001,37202,9102,37203,9102,37206,9102,37207,9102,37218,9102,37221,9102,37225,9105,37240,9102,37241,9102,37243,9102,37245,9102,37249,9102,37257,9102,37260,9102,53048,9001,53049,9001,54034,9001,54090,9001,54091,9001,65061,9003,65062,9003,65161,9001,102041,9003,102064,9085,102068,109030,102069,109031,102093,9001,102094,9001,102118,9003,102120,9003,102121,9003,102122,9001,102150,9001,102168,9001,102204,9001,102212,9001,102213,9001,102215,9001,102216,9001,102217,9003,102218,9001,102219,9003,102220,9003,102247,9001,102299,9001,102306,9001,102319,9001,102328,9001,102329,9001,102359,9001,102360,9001,102440,9001,102448,9001,102464,9003,102465,9003,102491,9001,102492,9001,102498,9001,102499,9001,102525,9003,102526,9003,102528,9003,102529,9003,102589,9003,102598,9001,102599,9003,102600,9003,102604,9003,102661,9003,102662,9003,102664,9003,102665,9003,102705,9003,102720,9003,102721,9003,102726,9003,102727,9003,102733,9003,102761,9003,102766,9003,102974,9003,103228,9001,103229,9001,103230,9003,103231,9003,103250,9001,103251,9003,103252,9001,103253,9003,103260,9001,103261,9001,103262,9003,103263,9003,103270,9001,103271,9001,103272,9003,103273,9003,103274,9001,103275,9001,103276,9003,103277,9003,103278,9001,103279,9001,103280,9003,103281,9003,103282,9001,103283,9001,103284,9003,103285,9003,103286,9001,103287,9003,103288,9001,103289,9003,103290,9001,103291,9003,103292,9001,103293,9001,103294,9003,103295,9003,103296,9001,103297,9001,103298,9003,103299,9003,103300,9001,103307,9001,103313,9001,103319,9001,103322,9001,103323,9001,103332,9001,103335,9001,103338,9001,103340,9001,103351,9001,103358,9001,103370,9001,103376,9003,103377,9001,103378,9001,103379,9003,103380,9003,103393,9001,103394,9001,103395,9003,103396,9003,103400,9003,103407,9003,103413,9003,103419,9003,103422,9003,103423,9003,103432,9003,103435,9003,103438,9003,103440,9003,103451,9003,103458,9003,103470,9003,103472,9001,103473,9002,103474,9001,103475,9003,103482,9001,103483,9003,103484,9001,103485,9003,103500,9001,103501,9003,103502,9001,103503,9001,103504,9002,103505,9002,103506,9001,103507,9001,103508,9003,103509,9003,103510,9001,103511,9001,103512,9003,103513,9003,103514,9001,103515,9003,103516,9001,103517,9003,103518,9001,103519,9003,103520,9001,103521,9002,103522,9001,103523,9001,103524,9003,103525,9003,103526,9001,103527,9003,103561,9003,103562,9003,103563,9001,103564,9001,103565,9003,103566,9003,103567,9001,103568,9001,103569,9003,103570,9003,103585,9003,103586,9001,103587,9003,103588,9002,103589,9001,103590,9003,103591,9002,103592,9001,103593,9003,103594,9002,103695,9003,103846,9001,103946,9003,104009,9102,104017,9102,104018,9102,104022,9102,104024,9102,104027,9102,104047,9102,104050,9102,104105,9102,104106,9102,104109,9102,104112,9102,104113,9102,104134,9102,104135,9102,104138,9102,104139,9105,104140,9105,104808,9102]};t.Vr=function(){function t(){}return t.yz=function(i){!1===t.Rp&&t.ju();var n=t.RR(i);if(-1==n){var s=t.gy(i);s!=i&&(n=t.yz(s));}return -1==n&&((s=t.OL(i))!=i&&(n=t.yz(s))),n},t.RR=function(i){return void 0!==t.lx[i]?t.lx[i]:-1},t.OR=function(i){!1===t.Rp&&t.ju();var n=t.aG(i);if(1e38==n){var s=t.gy(i);if(s!=i&&(n=t.aG(s)),1e38==n)return 1e-10}return n},t.sU=function(i){if(void 0!==t.qt[i])return !0;var n=t.gy(i);return n!=i&&void 0!==t.qt[n]},t.vU=function(i){if(void 0!==t.Qo[i])return !0;var n=t.gy(i);return n!=i&&void 0!==t.Qo[n]},t.aG=function(i){return !1===t.Rp&&t.ju(),void 0!==t.qt[i]?t.qt[i]:void 0!==t.Qo[i]?t.Qo[i]:1e38},t.OL=function(i){return !1===t.Rp&&t.ju(),void 0!==t.GB[i]?t.GB[i]:i},t.gy=function(i){return !1===t.Rp&&t.ju(),void 0!==t.HB[i]?t.HB[i]:i},t.ju=function(){for(var s,h=i,r=0;r<h.pcsid.length;r+=2)t.Qo[h.pcsid[r]]=h.pcstol[2*h.pcsid[r+1]+1];for(r=0;r<h.pcsidc.length;r+=1)for(var e=(s=h.pcsidc[r])[0];e<=s[1];e++)t.Qo[e]=h.pcstol[2*s[2]+1];for(r=0;r<h.gcsid.length;r+=2)t.qt[h.gcsid[r]]=h.gcstol[2*h.gcsid[r+1]+1];for(r=0;r<h.gcsidc.length;r+=1)for(e=(s=h.gcsidc[r])[0];e<=s[1];e++)t.Qo[e]=h.gcstol[2*s[2]+1];for(r=0;r<n.c.length;r+=1)for(e=(s=n.c[r])[0];e<=s[1];e++)t.lx[e]=s[2];for(r=0;r<n.nc.length;r+=2)t.lx[n.nc[r]]=n.nc[r+1];for(n=null,r=0;r<h.newtoold.length;r+=2)t.GB[h.newtoold[r+1]]=h.newtoold[r],t.HB[h.newtoold[r]]=h.newtoold[r+1];i=null,t.Rp=!0;},t.Rp=!1,t.qt=[],t.Qo=[],t.GB=[],t.HB=[],t.lx=[],t}();}(W||(W={})),function(t){function i(t){return 0===t.length?'""':'"'==t[0]||"."==t[0]||"0"<=t[0]&&"9">=t[0]?t:'"'+t.trim()+'"'}var n=[];t.FD=function(){function s(){}return s.QR=function(h){try{for(var r=0;r<n.length;r++)if(n[r].wkttext===h)return n[r].unit;for(var e,a=r="",o=!1,u=0;u<h.length;u++){var f=h[u];!0===o?'"'==f?'"'==h[u+1]?r+=f:o=o=!1:r+=f:/[\s]/.test(f)||(","==f?(a=""!==r?a+(i(r)+","):a+",",r=""):")"==f||"]"==f?(a=""!==r?a+(i(r)+"]}"):a+"]}",r=""):"("==f||"["==f?(a+='{ "entity": "'+r.toUpperCase().trim()+'", "values":[',r=""):'"'==f?(o=!0,r=""):r+=f);}e=JSON.parse(a);var c=s.$F(e);if(null===c)return null;for(e=null,f=0;f<c.values.length;f++)if("object"==typeof c.values[f]&&"UNIT"===c.values[f].entity){e=c.values[f];break}if(null===e)return null;var l=t.Uc.iQ("GEOGCS"===c.entity?1:0,e.values[1],e.values[2]);return n.push({wkttext:h,unit:l}),10<n.length&&n.shift(),l}catch(p){return null}},s.$F=function(t){if(null===t)return null;if("GEOGCS"===t.entity||"PROJCS"===t.entity)return t;for(var i=[],n=0;n<t.values.length;n++)if("object"==typeof t.values[n]&&void 0!==t.values[n].entity){if("GEOGCS"===t.values[n].entity||"PROJCS"==t.values[n].entity)return t.values[n];i.push(t.values[n]);}for(t=0;t<i.length;t++)if(null!==(n=s.$F(i[t])))return n;return null},s.PR=function(t){var i=-1;if(null!=t&&0<t.length){var n=t.indexOf("PROJCS");if(0<=n){var s=0;if(0<=(n=t.lastIndexOf("UNIT"))&&0<(n=t.indexOf(",",n+4))){n++;var h=t.indexOf("]",n+1);if(0<h)try{s=parseFloat(t.substring(n,h));}catch(e){s=0;}}0<s&&(i=.001/s);}else if(0<=(n=t.indexOf("GEOGCS"))){var r=0;if(s=0,0<(n=t.indexOf("SPHEROID",n+6))&&0<(n=t.indexOf(",",n+8))){if(n++,0<(h=t.indexOf(",",n+1)))try{r=parseFloat(t.substring(n,h));}catch(e){r=0;}if(0<r&&(0<=(n=t.indexOf("UNIT",h+1))&&(0<(n=t.indexOf(",",n+4))&&(n++,0<(h=t.indexOf("]",n+1))))))try{s=parseFloat(t.substring(n,h));}catch(e){s=0;}}0<r&&0<s&&(i=.001/(r*s));}}return i},s}();}(W||(W={})),function(t){var i;(i=t.oM||(t.oM={}))[i.NONE=0]="NONE",i[i.LINEAR=1]="LINEAR",i[i.ANGULAR=2]="ANGULAR",function(t){t[t.enumFloat=0]="enumFloat",t[t.enumDouble=1]="enumDouble",t[t.enumInt32=2]="enumInt32",t[t.enumInt64=3]="enumInt64",t[t.enumInt8=4]="enumInt8",t[t.enumInt16=5]="enumInt16";}(t.YM||(t.YM={})),function(t){t[t.POSITION=0]="POSITION",t[t.Z=1]="Z",t[t.M=2]="M",t[t.ID=3]="ID",t[t.NORMAL=4]="NORMAL",t[t.TEXTURE1D=5]="TEXTURE1D",t[t.TEXTURE2D=6]="TEXTURE2D",t[t.TEXTURE3D=7]="TEXTURE3D",t[t.ID2=8]="ID2",t[t.MAXSEMANTICS=10]="MAXSEMANTICS";}(t.Mh||(t.Mh={}));var n=function(){function i(t,n){if(this.Dt=this.Ge=null,this.gr=this.Ca=0,this.Bh=this.hg=null,this.Fl=0,void 0!==n){for(this.Ca=n.Ca,this.gr=n.gr,this.hg=n.hg.slice(0),this.Bh=n.Bh.slice(0),this.Fl=n.Fl,this.Dt=[],t=n=0;t<this.Ca;t++)this.Dt[t]=n,n+=i.Sa(this.hg[t]);for(this.gr=n,this.Ge=[],t=0;t<this.Ca;t++){n=i.Sa(this.kd(t));for(var s=i.me(this.kd(t)),h=0;h<n;h++)this.Ge[this.Dt[t]+h]=s;}}else this.gr=this.Ca=0;}return i.prototype.kd=function(i){if(0>i||i>this.Ca)throw t.f.I();return this.hg[i]},i.prototype.Yf=function(t){return this.Bh[t]},i.Uz=function(t){return i.RN[t]},i.sl=function(t){return i.$N[t]},i.aT=function(t){return i.aO[t]},i.a0=function(t){return i.aT(i.sl(t))*i.Sa(t)},i.Sa=function(t){return i.zN[t]},i.tU=function(t){return 2>t},i.k0=function(t){return i.tU(i.sl(t))},i.prototype.hasAttribute=function(t){return 0<=this.Bh[t]},i.prototype.VG=function(){return this.hasAttribute(1)},i.me=function(t){return i.OD[t]},i.prototype.bT=function(t){return this.Dt[t]},i.pH=function(t,n){return i.OD[t]===n},i.$_=function(i){if(4==i)return 2;if(8==i)return 3;throw t.f.I()},i.prototype.Ib=function(t){return this===t},i.prototype.Un=function(){for(var i=t.L.Zh(this.hg[0]),n=1;n<this.Ca;n++)i=t.L.Zh(this.hg[n],i);return i},i.prototype.dk=function(t){return this.Dt[t]},i.prototype.fc=function(){return this.Fl},i.prototype.Jd=function(t){return this.hg[t]},i.OD=[0,0,NaN,0,0,0,0,0,0],i.RN=[1,1,1,0,2,1,1,1,0],i.$N=[1,1,1,2,0,0,0,0,2],i.aO=[4,8,4,8,1,2],i.zN=[2,1,1,1,3,1,2,3,2],i}();t.oa=n;}(W||(W={})),function(t){function i(t,i,s){var r=i-(t=new a(t)).e,e=t.Vc;for(e.length>++i&&n(t,r,a.Lu),e[0]?s?r=i:(e=t.Vc,r=t.e+r+1):++r;e.length<r;e.push(0));return r=t.e,1===s||s&&(i<=r||r<=h)?(0>t.Fd&&e[0]?"-":"")+(1<e.length?e[0]+"."+e.join("").slice(1):e[0])+(0>r?"e":"e+")+r:t.toString()}function n(t,i,n,h){var r=t.Vc,e=t.e+i+1;if(1===n?h=5<=r[e]:2===n?h=5<r[e]||5==r[e]&&(h||0>e||void 0!==r[e+1]||1&r[e-1]):3===n?h=h||void 0!==r[e]||0>e:(h=!1,0!==n&&s("!Big.RM!")),1>e||!r[0])h?(t.e=-i,t.Vc=[1]):t.Vc=[t.e=0];else {if(r.length=e--,h)for(;9<++r[e];)r[e]=0,e--||(++t.e,r.unshift(1));for(e=r.length;!r[--e];r.pop());}return t}function s(t){throw (t=Error(t)).name="BigError",t}var h=-7,r=21,e=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,a=function(){function t(i){if(i instanceof t)this.Fd=i.Fd,this.e=i.e,this.Vc=i.Vc.slice();else {var n,h,r;for(0===i&&0>1/i?i="-0":e.test(i+="")||s(NaN),this.Fd="-"==i.charAt(0)?(i=i.slice(1),-1):1,-1<(n=i.indexOf("."))&&(i=i.replace(".","")),0<(h=i.search(/e/i))?(0>n&&(n=h),n+=+i.slice(h+1),i=i.substring(0,h)):0>n&&(n=i.length),h=0;"0"==i.charAt(h);h++);if(h==(r=i.length))this.Vc=[this.e=0];else {for(;"0"==i.charAt(--r););for(this.e=n-h-1,this.Vc=[],n=0;h<=r;this.Vc[n++]=+i.charAt(h++));}}}return t.prototype.abs=function(){var i=new t(this);return i.Fd=1,i},t.prototype.cmp=function(i){var n=this.Vc,s=(i=new t(i)).Vc,h=this.Fd,r=i.Fd,e=this.e,a=i.e;if(!n[0]||!s[0])return n[0]?h:s[0]?-r:0;if(h!=r)return h;if(i=0>h,e!=a)return e>(a^i)?1:-1;for(h=-1,r=(e=n.length)<(a=s.length)?e:a;++h<r;)if(n[h]!=s[h])return n[h]>(s[h]^i)?1:-1;return e==a?0:e>(a^i)?1:-1},t.prototype.um=function(i){var h=this.Vc,r=(i=new t(i)).Vc,e=this.Fd==i.Fd?1:-1,a=t.Pr;if((a!==~~a||0>a||1e6<a)&&s("!Big.DP!"),!h[0]||!r[0])return h[0]==r[0]&&s(NaN),r[0]||s(e/0),new t(0*e);var o,u,f=r.slice(),c=o=r.length,l=h.length,p=h.slice(0,o),b=p.length,v=i,y=v.Vc=[],w=0,d=a+(v.e=this.e-i.e)+1;for(v.Fd=e,e=0>d?0:d,f.unshift(0);b++<o;p.push(0));do{for(u=0;10>u;u++){if(o!=(b=p.length))var g=o>b?1:-1;else {var x=-1;for(g=0;++x<o;)if(r[x]!=p[x]){g=r[x]>p[x]?1:-1;break}}if(!(0>g))break;for(i=b==o?r:f;b;){if(p[--b]<i[b]){for(x=b;x&&!p[--x];p[x]=9);--p[x],p[b]+=10;}p[b]-=i[b];}for(;!p[0];p.shift());}y[w++]=g?u:++u,p[0]&&g?p[b]=h[c]||0:p=[h[c]];}while((c++<l||void 0!==p[0])&&e--);return y[0]||1==w||(y.shift(),v.e--),w>d&&n(v,a,t.Lu,void 0!==p[0]),v},t.prototype.AT=function(){return 0<this.cmp(0)},t.prototype.JU=function(){return 0>this.cmp(0)},t.prototype.St=function(i){var n,s=this.Fd,h=(i=new t(i)).Fd;if(s!=h)return i.Fd=-h,this.kJ(i);var r=this.Vc.slice(),e=this.e,a=i.Vc,o=i.e;if(!r[0]||!a[0])return a[0]?(i.Fd=-h,i):new t(r[0]?this:0);if(s=e-o){for((n=0>s)?(s=-s,e=r):(o=e,e=a),e.reverse(),h=s;h--;e.push(0));e.reverse();}else for(e=((n=r.length<a.length)?r:a).length,s=h=0;h<e;h++)if(r[h]!=a[h]){n=r[h]<a[h];break}if(n&&(e=r,r=a,a=e,i.Fd=-i.Fd),0<(h=(e=a.length)-(n=r.length)))for(;h--;r[n++]=0);for(h=n;e>s;){if(r[--e]<a[e]){for(n=e;n&&!r[--n];r[n]=9);--r[n],r[e]+=10;}r[e]-=a[e];}for(;0==r[--h];r.pop());for(;0==r[0];)r.shift(),--o;return r[0]||(i.Fd=1,r=[o=0]),i.Vc=r,i.e=o,i},t.prototype.kJ=function(i){var n=this.Fd,s=(i=new t(i)).Fd;if(n!=s)return i.Fd=-s,this.St(i);s=this.e;var h=this.Vc,r=i.e,e=i.Vc;if(!h[0]||!e[0])return e[0]?i:new t(h[0]?this:0*n);if(h=h.slice(),n=s-r){for(0<n?(r=s,s=e):(n=-n,s=h),s.reverse();n--;s.push(0));s.reverse();}for(0>h.length-e.length&&(s=e,e=h,h=s),n=e.length,s=0;n;)s=(h[--n]=h[n]+e[n]+s)/10|0,h[n]%=10;for(s&&(h.unshift(s),++r),n=h.length;0==h[--n];h.pop());return i.Vc=h,i.e=r,i},t.prototype.pow=function(i){var n=this,h=new t(1),r=h,e=0>i;for((i!==~~i||-1e6>i||1e6<i)&&s("!pow!"),i=e?-i:i;1&i&&(r=r.Hr(n)),i>>=1;)n=n.Hr(n);return e?h.um(r):r},t.prototype.round=function(i,h){var r=this;return null==i?i=0:(i!==~~i||0>i||1e6<i)&&s("!round!"),n(r=new t(r),i,null==h?t.Lu:h),r},t.prototype.sqrt=function(){var i=this.Vc,h=this.Fd,r=this.e,e=new t("0.5");if(!i[0])return new t(this);0>h&&s(NaN),0==(h=Math.sqrt(this.toString()))||h==1/0?((h=i.join("")).length+r&1||(h+="0"),(i=new t(Math.sqrt(h).toString())).e=((r+1)/2|0)-(0>r||1&r)):i=new t(h.toString()),h=i.e+(t.Pr+=4);do{r=i,i=e.Hr(r.kJ(this.um(r)));}while(r.Vc.slice(0,h).join("")!==i.Vc.slice(0,h).join(""));return n(i,t.Pr-=4,t.Lu),i},t.prototype.Hr=function(i){var n=this.Vc,s=(i=new t(i)).Vc,h=n.length,r=s.length,e=this.e,a=i.e;if(i.Fd=this.Fd==i.Fd?1:-1,!n[0]||!s[0])return new t(0*i.Fd);if(i.e=e+a,h<r){var o=n;n=s,s=o,a=h,h=r,r=a;}for(o=Array(a=h+r);a--;o[a]=0);for(e=r;e--;){for(r=0,a=h+e;a>e;)r=o[a]+s[e]*n[a-e-1]+r,o[a--]=r%10,r=r/10|0;o[a]=(o[a]+r)%10;}for(r&&++i.e,o[0]||o.shift(),e=o.length;!o[--e];o.pop());return i.Vc=o,i},t.prototype.toString=function(){var t=this.e,i=this.Vc.join(""),n=i.length;if(t<=h||t>=r)i=i.charAt(0)+(1<n?"."+i.slice(1):"")+(0>t?"e":"e+")+t;else if(0>t){for(;++t;i="0"+i);i="0."+i;}else if(0<t)if(++t>n)for(t-=n;t--;i+="0");else t<n&&(i=i.slice(0,t)+"."+i.slice(t));else 1<n&&(i=i.charAt(0)+"."+i.slice(1));return 0>this.Fd&&this.Vc[0]?"-"+i:i},t.prototype.toExponential=function(t){return null==t?t=this.Vc.length-1:(t!==~~t||0>t||1e6<t)&&s("!toExp!"),i(this,t,1)},t.prototype.toFixed=function(t){var n=h,e=r;if(h=-(r=1/0),null==t)var a=this.toString();else t===~~t&&0<=t&&1e6>=t&&(a=i(this,this.e+t),0>this.Fd&&this.Vc[0]&&0>a.indexOf("-")&&(a="-"+a));return h=n,r=e,a||s("!toFix!"),a},t.prototype.toPrecision=function(t){return null==t?this.toString():((t!==~~t||1>t||1e6<t)&&s("!toPre!"),i(this,t-1,2))},t.Pr=20,t.Lu=1,t}();t.xp=a;}(W||(W={})),function(t){var i=function(){function i(t){this.vf=t;}return i.prototype.Lr=function(i,n,s){var h=new t.b,r=new t.b,e=this.vf;s.Zd(i,n,(function(t,i){return e.mc(2*t,h),e.mc(2*i,r),h.compare(r)}));},i.prototype.sq=function(t){return this.vf.read(2*t+1)},i}();t.yi=function(){function n(){}return n.tq=function(i){if(i.u())return !1;var s=i.F();return 1736==s?0!=i.Pe():1607==s?(s=[!1],n.eF(i,!0,s),s[0]):!(197!=s&&(!t.R.Ic(s)||i.nH()))},n.qm=function(i){var s=i.F();if(1736==s)return s=new t.Oa(i.description),i.u()||i.ND(s),s;if(1607==s)return n.eF(i,!1,null);if(197==s)return s=new t.Oa(i.description),i.u()||s.bd(i,!1),s;if(t.R.Ic(s)){if(s=new t.Hd(i.description),!i.u()&&!i.nH()){var h=new t.Ra;i.jp(h),s.add(h),i.hp(h),s.add(h);}return s}if(t.R.lo(s))return null;throw t.f.I()},n.eF=function(n,s,h){null!=h&&(h[0]=!1);var r=null;if(s||(r=new t.Hd(n.description)),!n.u()){var e=new t.ha(0);e.Db(2*n.$());for(var a=0,o=n.$();a<o;a++)if(0<n.Ha(a)&&!n.ho(a)){var u=n.ua(a);e.add(u),u=n.zc(a)-1,e.add(u);}if(0<e.size){o=new t.Eu,a=n.Va(0),o.sort(e,0,e.size,new i(a)),o=new t.b,a.mc(2*e.get(0),o),u=0;for(var f=1,c=new t.Ra,l=new t.b,p=1,b=e.size;p<b;p++)if(a.mc(2*e.get(p),l),l.qb(o))e.get(u)>e.get(p)?(e.set(u,2147483647),u=p):e.set(p,2147483647),f++;else {if(0==(1&f))e.set(u,2147483647);else if(s)return null!=h&&(h[0]=!0),null;o.K(l),u=p,f=1;}if(0==(1&f))e.set(u,2147483647);else if(s)return null!=h&&(h[0]=!0),null;if(!s)for(e.Zd(0,e.size,(function(t,i){return t-i})),p=0,b=e.size;p<b&&2147483647!=e.get(p);p++)n.ne(e.get(p),c),r.add(c);}}return s?null:r},n}();}(W||(W={})),function(t){var i=function(){function i(){this.Hf=new t.ha(0),this.gt=new t.ha(0),this.uI=1,this.mt=NaN;}return i.prototype.sort=function(t,i,n,s){if(32>n-i)s.Lr(i,n,t);else {var h=!0;try{for(var r=1/0,e=-1/0,a=i;a<n;a++){var o=s.sq(t.get(a));o<r&&(r=o),o>e&&(e=o);}if(this.reset(n-i,r,e,n-i)){for(a=i;a<n;a++){var u=t.get(a);o=s.sq(u);var f=this.mG(o);this.Hf.set(f,this.Hf.get(f)+1),this.gt.write(a-i,u);}var c=this.Hf.get(0);this.Hf.set(0,0),a=1;for(var l=this.Hf.size;a<l;a++){var p=this.Hf.get(a);this.Hf.set(a,c),c+=p;}for(a=i;a<n;a++){u=this.gt.read(a-i),o=s.sq(u),f=this.mG(o);var b=this.Hf.get(f);t.set(b+i,u),this.Hf.set(f,b+1);}h=!1;}}catch(v){this.Hf.resize(0),this.gt.resize(0);}if(h)s.Lr(i,n,t);else {for(a=n=0,l=this.Hf.size;a<l;a++)h=n,(n=this.Hf.get(a))>h&&s.Lr(i+h,i+n,t);100<this.Hf.size&&(this.Hf.resize(0),this.gt.resize(0));}}},i.prototype.reset=function(t,n,s,h){return !(2>t||s==n)&&(t=Math.min(i.rM,t),this.Hf.Db(t),this.Hf.resize(t),this.Hf.Xj(0,0,this.Hf.size),this.uI=n,this.gt.resize(h),this.mt=(s-n)/(t-1),!0)},i.prototype.mG=function(i){return t.L.truncate((i-this.uI)/this.mt)},i.rM=65536,i}();t.Eu=i;}(W||(W={})),function(t){var i,n;(n=i||(i={}))[n.enum_line=1]="enum_line",n[n.enum_arc=2]="enum_arc",n[n.enum_dummy=4]="enum_dummy",n[n.enum_concave_dip=8]="enum_concave_dip",n[n.enum_connection=3]="enum_connection";var s=function(){function i(){}return i.yv=function(n,s,h,r,e,a){var o=new i;return o.Tm=new t.b,o.hn=new t.b,o.Iw=new t.b,o.Tm.K(n),o.hn.K(s),o.Iw.K(h),o.Wo=r,o.xh=e,o.zh=a,o},i.construct=function(n,s,h,r){var e=new i;return e.Tm=new t.b,e.hn=new t.b,e.Iw=new t.b,e.Tm.K(n),e.hn.K(s),e.Iw.Tc(),e.Wo=4,e.xh=h,e.zh=r,e},i}(),h=function(){function i(t,i,n,s,h,r){this.Fw=null,this.ya=0,this.nB=t,this.RI=this.OI=0,this.La=i,this.Oj=n,this.Ck=s,this.Xq=h,this.Vb=r;}return i.prototype.next=function(){for(var i=new t.Ra;;){if(this.ya==this.nB.D())return null;if(this.nB.ne(this.ya,i),this.ya++,!i.u())break}var n=!1;if(null==this.Fw&&(this.OI=i.Ce(),this.RI=i.lf(),this.Fw=a.buffer(i,this.La,this.Oj,this.Ck,this.Xq,this.Vb),n=!0),this.ya<this.nB.D()){var s=new t.Ga;this.Fw.copyTo(s);}else s=this.Fw;if(!n){n=new t.xd;var h=i.Ce()-this.OI;i=i.lf()-this.RI,n.mg(h,i),s.Qc(n);}return s},i.prototype.Fa=function(){return 0},i.prototype.xe=function(){},i}(),r=function(){function i(t,i){this.Wa=t,this.ya=0,this.Hq=i;}return i.prototype.next=function(){var i=this.Wa.W;if(this.ya<i.$()){var n=this.ya;if(this.ya++,!i.ho(n))for(var s=i.xa(i.zc(n)-1);this.ya<i.$();){var h=i.xa(i.ua(this.ya));if(i.ho(this.ya))break;if(h!=s)break;s=i.xa(i.zc(this.ya)-1),this.ya++;}if(1==this.ya-n)return this.Wa.XE(this.Wa.W,n,this.Hq);for((s=new t.Oa(this.Wa.W.description)).addPath(this.Wa.W,n,!0),n+=1;n<this.ya;n++)s.ds(this.Wa.W,n,0,i.$v(n),!1);return this.Wa.XE(s,0,this.Hq)}return null},i.prototype.Fa=function(){return 0},i.prototype.xe=function(){},i}(),e=function(){function t(t){this.Wa=t,this.ya=0;}return t.prototype.next=function(){var t=this.Wa.W;if(this.ya<t.$()){var i=this.ya;for(t.rm(this.ya),this.ya++;this.ya<t.$()&&!(0<t.rm(this.ya));)this.ya++;return 0==i&&this.ya==t.$()?this.Wa.Vy(t,0,t.$()):this.Wa.Vy(t,i,this.ya)}return null},t.prototype.Fa=function(){return 0},t.prototype.xe=function(){},t}(),a=function(){function i(t){this.st=this.Tw=this.tt=this.Md=null,this.de=[],this.Vb=t,this.rb=this.sw=this.bV=this.La=this.bB=this.Kt=this.qa=0,this.ZA=this.Ck=-1,this.Hq=!0;}return i.buffer=function(n,s,h,r,e,a){if(null==n)throw t.f.I();if(0>r)throw t.f.I();if(n.u())return new t.Ga(n.description);var o=new t.g;return n.Zb(o),0<s&&o.O(s,s),(a=new i(a)).Oj=h,a.W=n,a.qa=t.la.Qd(h,o,!0),a.Kt=t.la.Qd(null,o,!0),a.La=s,a.bV=n.F(),0>=e&&(e=96),a.rb=Math.abs(a.La),a.sw=0!=a.rb?1/a.rb:0,isNaN(r)||0==r?r=1e-5*a.rb:r>.5*a.rb&&(r=.5*a.rb),12>e&&(e=12),(n=Math.abs(s)*(1-Math.cos(Math.PI/e)))>r?r=n:(n=Math.PI/Math.acos(1-r/Math.abs(s)))<e-1&&(12>(e=t.L.truncate(n))&&(e=12,r=Math.abs(s)*(1-Math.cos(Math.PI/e)))),a.Ck=r,a.Xq=e,a.bB=Math.min(a.Kt,.25*r),a.YE()},i.prototype.Lv=function(){if(null==this.Md)this.Md=[];else if(0!==this.Md.length)return;var i=this.cF();i=t.L.truncate((i+3)/4);var n=.5*Math.PI/i;this.ZA=n;for(var s=0;s<4*i;s++)this.Md.push(null);var h=Math.cos(n);n=Math.sin(n);var r=t.b.construct(0,1);for(s=0;s<i;s++)this.Md[s+0*i]=t.b.construct(r.y,-r.x),this.Md[s+1*i]=t.b.construct(-r.x,-r.y),this.Md[s+2*i]=t.b.construct(-r.y,r.x),this.Md[s+3*i]=r,(r=t.b.construct(r.x,r.y)).mu(h,n);},i.prototype.YE=function(){var i=this.W.F();if(t.R.Ic(i))return (i=new t.Oa(this.W.description)).$b(this.W,!0),this.W=i,this.YE();if(this.La<=this.qa){if(!t.R.nU(i))return new t.Ga(this.W.description);if(0>=this.La&&(i=new t.g,this.W.s(i),i.N()<=2*-this.La||i.ca()<=2*this.La))return new t.Ga(this.W.description)}switch(this.W.F()){case 33:return this.$O();case 550:return this.ZO();case 1607:return this.bP();case 1736:return this.aP();case 197:return this.WO();default:throw t.f.za()}},i.prototype.bP=function(){if(this.qH(this.W)){var i=new t.Ra;this.W.ne(0,i);var n=new t.g;return this.W.s(n),i.nb(n.hf()),this.mv(i)}return this.W=this.oX(this.W),i=new r(this,this.Hq),t.Jh.local().U(i,this.Oj,this.Vb).next()},i.prototype.aP=function(){if(0==this.La)return this.W;var i=t.jm.local();if(this.Lv(),this.W=i.U(this.W,null,!1,this.Vb),0>this.La){var n=this.W;return n=this.Vy(n,0,n.$()),i.U(n,this.Oj,!1,this.Vb)}return this.qH(this.W)?(i=new t.Ra,this.W.ne(0,i),n=new t.g,this.W.s(n),i.nb(n.hf()),this.mv(i)):(i=new e(this),t.Jh.local().U(i,this.Oj,this.Vb).next())},i.prototype.Vy=function(n,s,h){for(var r=new t.Ga(n.description);s<h;s++)if(!(1>n.Ha(s))){var e=n.rm(s),a=new t.g;if(n.Sj(s,a),0<this.La){if(0<e)if(this.rH(n,s))e=new t.Ra,n.ne(n.ua(s),e),e.nb(a.hf()),this.ev(r,e);else {var o=e=new t.Oa(n.description);o=t.Gu.vH(this.W,s)||2==this.Sn(this.W,s,o,!0,1)?this.WE(n,s):this.Rn(e),r.add(o,!1);}else if(!(a.N()+this.qa<=2*this.rb||a.ca()+this.qa<=2*this.rb||(o=e=new t.Oa(n.description),this.Sn(this.W,s,o,!0,1),e.u()))){var u=new t.g;for(u.H(a),u.O(this.rb,this.rb),o.Np(u),a=1,e=(o=this.Rn(e)).$();a<e;a++)r.addPath(o,a,!0);}}else if(0<e){if(!(a.N()+this.qa<=2*this.rb||a.ca()+this.qa<=2*this.rb||(o=e=new t.Oa(n.description),this.Sn(this.W,s,o,!0,-1),e.u())))for(u=new t.g,o.Zb(u),u.O(this.rb,this.rb),o.Np(u),a=1,e=(o=this.Rn(e)).$();a<e;a++)r.addPath(o,a,!0);}else for(o=e=new t.Oa(n.description),this.Sn(this.W,s,o,!0,-1),a=0,e=(o=this.Rn(e)).$();a<e;a++)r.addPath(o,a,!0);}if(0<this.La)return 1<r.$()?r=this.Rn(r):i.Sx(r);if(n=new t.g,r.Zb(n),r.u())return i.Sx(r);for(n.O(this.rb,this.rb),r.Np(n),r=this.Rn(r),n=new t.Ga(r.description),a=1,e=r.$();a<e;a++)n.addPath(r,a,!1);return i.Sx(n)},i.prototype.$O=function(){return this.mv(this.W)},i.prototype.mv=function(i){var n=new t.Ga(this.W.description);return this.ev(n,i),this.WY(n)},i.prototype.ZO=function(){var i=new h(this.W,this.La,this.Oj,this.Ck,this.Xq,this.Vb);return t.Jh.local().U(i,this.Oj,this.Vb).next()},i.prototype.WO=function(){var i=new t.Ga(this.W.description);if(0>=this.La){if(0==this.La)i.bd(this.W,!1);else {var n=new t.Ih;this.W.qn(n),n.O(this.La,this.La),i.bd(n,!1);}return i}return i.bd(this.W,!1),this.W=i,this.WE(i,0)},i.prototype.WE=function(n,s){this.Lv();var h=new t.Ga(n.description),r=new t.b,e=new t.b,a=new t.b,o=new t.b,u=new t.b,f=new t.b,c=new t.b,l=new t.b,p=n.Ha(s),b=n.ua(s),v=0;for(s=n.Ha(s);v<s;v++){if(n.w(b+v,e),n.w(b+(v+1)%p,o),n.w(b+(v+2)%p,f),c.tc(o,e),0==c.length())throw t.f.za();if(c.pw(),c.normalize(),c.scale(this.rb),r.add(c,e),a.add(c,o),0==v?h.vu(r):h.Ii(r),h.Ii(a),l.tc(f,o),0==l.length())throw t.f.za();l.pw(),l.normalize(),l.scale(this.rb),u.add(l,o),this.sE(h,o,a,u,!1);}return i.Sx(h)},i.prototype.XE=function(i,n,s){if(this.Lv(),1>i.Ha(n))return null;if(this.rH(i,n)&&0<this.La){s=new t.Ra,i.ne(i.ua(n),s);var h=new t.g;return i.Sj(n,h),s.nb(h.hf()),this.mv(s)}if(h=new t.Oa(i.description),i.ho(n))this.Sn(i,n,h,s,1),this.Sn(i,n,h,s,-1);else {var r=new t.Oa(i.description);r.addPath(i,n,!1),r.ds(i,n,0,i.$v(n),!1),this.Sn(r,0,h,s,1);}return this.Rn(h)},i.prototype.qr=function(){if(this.Gt++,0==this.Gt%1024&&null!=this.Vb&&!this.Vb.progress(-1,-1))throw t.f.Mu("user_canceled")},i.prototype.Rn=function(i){return t.pg.Tk(i,this.Kt,!0,!0,this.Vb)},i.prototype.cF=function(){if(0==this.Ck)return this.Xq;var i=1-this.Ck*Math.abs(this.sw);return 4>(i=-1>i?4:2*Math.PI/Math.acos(i)+.5)?i=4:i>this.Xq&&(i=this.Xq),t.L.truncate(i)},i.prototype.sE=function(i,n,s,h,r){this.Lv();var e=new t.b;e.tc(s,n),e.scale(this.sw);var a=new t.b;a.tc(h,n),a.scale(this.sw),0>(e=Math.atan2(e.y,e.x)/this.ZA)&&(e=this.Md.length+e),e=this.Md.length-e,0>(a=Math.atan2(a.y,a.x)/this.ZA)&&(a=this.Md.length+a),(a=this.Md.length-a)<e&&(a+=this.Md.length);var o=t.L.truncate(a);a=t.L.truncate(Math.ceil(e)),(e=new t.b).K(this.Md[a%this.Md.length]),e.nu(this.rb,n);var u=10*this.qa;for(e.sub(s),e.length()<u&&(a+=1),e.K(this.Md[o%this.Md.length]),e.nu(this.rb,n),e.sub(h),e.length()<u&&--o,s=o-a,s++,o=0,a%=this.Md.length;o<s;o++,a=(a+1)%this.Md.length)e.K(this.Md[a]),e.nu(this.rb,n),i.Ii(e),this.qr();r&&i.Ii(h);},i.prototype.Sn=function(i,n,h,r,e){var a=new t.Yc,o=a.wO(i,n);if(a.$p(this.bB,!1,!1),2>a.D(o))return 0>e||(e=i,a=new t.Ra,e.ne(e.ua(n),a),this.ev(h,a)),1;var u=a.xa(a.Za(a.Kb(o))),f=new t.xd;if(f.mg(-u.x,-u.y),a.Qc(f),r&&(this.FR(a,o,e),2>a.D(o)))return 0>e||(e=i,a=new t.Ra,e.ne(e.ua(n),a),this.ev(h,a)),1;this.de.length=0;var c=a.Kb(o);n=a.Za(c);var l=1==e?a.Ma(n):a.T(n);i=1==e?a.T(n):a.Ma(n);var p=!0;r=new t.b,o=new t.b;var b=new t.b,v=new t.b,y=new t.b,w=new t.b,d=new t.b,g=new t.b,x=new t.b,m=new t.b,j=this.rb;c=a.Ha(c);for(var M=0;M<c;M++)a.w(i,o),p&&(a.w(n,r),a.w(l,b),g.tc(r,b),g.normalize(),m.yH(g),m.scale(j),v.add(m,r)),d.tc(o,r),d.normalize(),x.yH(d),x.scale(j),y.add(r,x),l=g.Di(d),p=g.Vh(d),0>l||0>p&&0==l?this.de.push(s.yv(v,y,r,2,this.de.length+1,this.de.length-1)):v.qb(y)||(this.de.push(s.construct(v,r,this.de.length+1,this.de.length-1,"dummy")),this.de.push(s.construct(r,y,this.de.length+1,this.de.length-1,"dummy"))),w.add(o,x),this.de.push(s.yv(y,w,r,1,this.de.length+1,this.de.length-1)),v.K(w),m.K(x),b.K(r),r.K(o),g.K(d),l=n,n=i,p=!1,i=1==e?a.T(n):a.Ma(n);return this.de[this.de.length-1].xh=0,this.de[0].zh=this.de.length-1,this.qX(h),f.mg(u.x,u.y),h.KE(f,h.$()-1),1},i.prototype.qX=function(t){for(var i=this.JP(),n=!0,s=i+1,h=i;s!=i;h=s){var r=this.de[h];s=-1!=r.xh?r.xh:(h+1)%this.de.length,0!=r.Wo&&(n&&t.vu(r.Tm),2==r.Wo?this.sE(t,r.Iw,r.Tm,r.hn,!0):t.Ii(r.hn),n=!1);}},i.prototype.JP=function(){null==this.st&&(this.st=[null,null,null,null,null,null,null,null,null]);for(var i=0,n=0,s=this.de.length;n<s;){var h=this.de[n];if(0!=(3&h.Wo)){i=n;break}n=h.xh;}for(s=i+1,n=i;s!=i;n=s){s=(h=this.de[n]).xh;for(var r=1,e=null;s!=n&&0==(3&(e=this.de[s]).Wo);)s=e.xh,r++;1!=r&&1==(h.Wo&e.Wo)&&(null==this.tt&&(this.tt=new t.zb,this.Tw=new t.zb),this.tt.Fc(h.Tm),this.tt.Sc(h.hn),this.Tw.Fc(e.Tm),this.Tw.Sc(e.hn),1==this.tt.Ia(this.Tw,this.st,null,null,this.Kt)&&(h.hn.K(this.st[0]),e.Tm.K(this.st[0]),h.xh=s,e.zh=n));}return i},i.prototype.mw=function(i,n,s){var h=new t.b;if(h.tc(s,i),s=h.length(),0<(s=this.rb*this.rb-s*s*.25)){s=Math.sqrt(s),h.normalize(),h.ur();var r=new t.b;if(r.tc(n,i),r.Vh(h)+s>=this.rb)return !0}return !1},i.prototype.FR=function(i,n,s){for(var h=0;1>h;h++){var r=!1,e=i.Kb(n),a=i.Ha(e);if(0==a)break;var o=a;if(3>a)break;!i.Lb(e)&&(o=a-1),e=i.Za(e),a=0<s?i.Ma(e):i.T(e);for(var u=0<s?i.T(e):i.Ma(e),f=a,c=!0,l=new t.b,p=new t.b,b=new t.b,v=new t.b,y=new t.b,w=t.b.construct(0,0),d=new t.b,g=new t.b,x=new t.b,m=new t.b,j=this.rb,M=0,k=0;k<o&&(i.w(u,p),c&&(i.w(e,l),i.w(a,b),f=a),g.tc(l,b),g.normalize(),d.tc(p,l),d.normalize(),f!=u);){var z=g.Di(d),N=g.Vh(d),A=!0;if(0>z||0>N&&0==z||!this.mw(b,l,p)||(w.K(p),A=!1,++M,r=!0),A){if(0<M)for(;(z=0<s?i.Ma(f):i.T(f))!=e;){if(i.w(z,v),!this.mw(v,b,w)){z!=u&&this.mw(v,b,p)&&this.mw(v,l,p)&&(b.K(v),f=z,A=!1,++M);break}b.K(v),f=z,A=!1,++M;}if(!A)continue;if(0<M){for(f=0<s?i.Ma(a):i.T(a),c=1;c<M;c++)A=0<s?i.Ma(f):i.T(f),i.pd(f,!0),f=A;x.tc(l,b),M=j*j-(M=x.length())*M*.25,j-(M=Math.sqrt(M))>.5*this.Ck?(y.add(b,l),y.scale(.5),x.normalize(),x.ur(),m.K(x),m.scale(j-M),y.add(m),i.wf(a,y)):i.pd(a,!0),M=0;}b.K(l),f=e;}l.K(p),a=e,e=u,u=0<s?i.T(e):i.Ma(e),k++,c=!1;}if(0<M){for(f=0<s?i.Ma(a):i.T(a),c=1;c<M;c++)A=0<s?i.Ma(f):i.T(f),i.pd(f,!0),f=A;y.add(b,l),y.scale(.5),x.tc(l,b),M=j*j-(M=x.length())*M*.25,M=Math.sqrt(M),x.normalize(),x.ur(),m.K(x),m.scale(j-M),y.add(m),i.wf(a,y);}if(i.$p(this.bB,!1,!1),!r)break}},i.prototype.rH=function(i,n){if(1==i.Ha(n))return !0;var s=new t.g;return i.Sj(n,s),Math.max(s.N(),s.ca())<.5*this.Ck},i.prototype.qH=function(i){var n=new t.g;return i.s(n),Math.max(n.N(),n.ca())<.5*this.Ck},i.prototype.oX=function(i){for(var n=0,s=0,h=(i=t.lD.local().U(i,.25*this.Ck,!1,this.Vb)).$();s<h;s++)n=Math.max(i.Ha(s),n);return 32>n?(this.Hq=!1,i):(this.Hq=!0,t.pg.Tk(i,this.Kt,!1,!0,this.Vb))},i.prototype.ev=function(i,n){if(n=n.w(),null!=this.Md&&0!==this.Md.length){var s=new t.b;s.K(this.Md[0]),s.nu(this.rb,n),i.vu(s);for(var h=1,r=this.Md.length;h<r;h++)s.K(this.Md[h]),s.nu(this.rb,n),i.Ii(s);}else {h=this.cF(),s=t.L.truncate((h+3)/4),h=.5*Math.PI/s,r=Math.cos(h);for(var e=Math.sin(h),a=new t.b,o=3;0<=o;o--){switch(a.ka(0,this.rb),o){case 0:for(h=0;h<s;h++)i.Cj(a.x+n.x,a.y+n.y),a.mu(r,e);break;case 1:for(h=0;h<s;h++)i.Cj(-a.y+n.x,a.x+n.y),a.mu(r,e);break;case 2:for(h=0;h<s;h++)i.Cj(-a.x+n.x,-a.y+n.y),a.mu(r,e);break;default:for(i.Zx(a.y+n.x,-a.x+n.y),h=1;h<s;h++)a.mu(r,e),i.Cj(a.y+n.x,-a.x+n.y);}this.qr();}}},i.Sx=function(t){return t.Jg(1,0),t},i.prototype.WY=function(t){return t.Jg(2,this.qa),t.cl(),t},i}();t.QL=a;}(W||(W={})),function(t){var i=function(){function i(i){this.Da=i,this.a=new t.Yc,this.fd=new t.ha(0);}return i.prototype.Ph=function(t,i,n){switch(i){case 0:if(t.o<n&&t.v<=n)break;return t.o>=n?1:-1;case 1:if(t.A<n&&t.B<=n)break;return t.A>=n?1:-1;case 2:if(t.o>=n&&t.v>n)break;return t.v<=n?1:-1;case 3:if(!(t.A>=n&&t.B>n))return t.B<=n?1:-1}return 0},i.prototype.fz=function(t,i){return 1736==t.F()?this.hz(t,i):this.iz(t)},i.prototype.hz=function(i,n){if(0==this.Da.N()||0==this.Da.ca())return i.Ea();var s=new t.g;i.Zb(s),this.W=this.a.Bb(i);var h=new t.g,r=new t.g,e=new t.b,a=new t.b,o=[0,0,0,0,0,0,0,0,0],u=[0,0,0,0,0,0,0,0,0];new t.og;var f=new t.zb,c=new t.ha(0);c.Db(Math.min(100,i.D()));for(var l=!1,p=0;!l&&4>p;p++){var b=!1,v=0!=(1&p),y=0;switch(p){case 0:y=this.Da.o,b=s.o<=y&&s.v>=y;break;case 1:y=this.Da.A,b=s.A<=y&&s.B>=y;break;case 2:y=this.Da.v,b=s.o<=y&&s.v>=y;break;case 3:y=this.Da.B,b=s.A<=y&&s.B>=y;}if(b)for(l=!0,b=this.a.Kb(this.W);-1!=b;){var w=-1,d=-1,g=this.a.Za(b),x=g;do{var m=this.a.ec(x);null==m&&(m=f,this.a.w(x,e),m.Fc(e),this.a.w(this.a.T(x),a),m.Sc(a)),m.s(h);var j=this.Ph(h,p,y),M=0,k=-1;if(-1==j){M=0<(m=m.uq(v,y,o,u))?this.a.em(x,u,m):0,M+=1;var z=x,N=this.a.T(z);for(m=0;m<M;m++){if(this.a.w(z,e),this.a.w(N,a),null==(k=this.a.ec(z))&&((k=f).Fc(e),k.Sc(a)),k.s(r),-1==(k=this.Ph(r,p,y))){if(v)(k=Math.abs(e.y-y))<(A=Math.abs(a.y-y))?(e.y=y,this.a.wf(z,e)):(a.y=y,this.a.wf(N,a));else {k=Math.abs(e.x-y);var A=Math.abs(a.x-y);k<A?(e.x=y,this.a.wf(z,e)):(a.x=y,this.a.wf(N,a));}null==(k=this.a.ec(z))&&((k=f).Fc(e),k.Sc(a)),k.s(r),k=this.Ph(r,p,y);}A=w,w=k,-1==d&&(d=w),0==A&&1==w||1==A&&0==w||0!=A||0!=w||c.add(z),1==w&&(l=!1),k=z=N,N=this.a.T(N);}}0==M&&(A=w,w=j,-1==d&&(d=w),0==A&&1==w||1==A&&0==w||0!=A||0!=w||c.add(x),1==w&&(l=!1),k=this.a.T(x)),x=k;}while(x!=g);for(0==d&&0==w&&c.add(g),m=0,w=c.size;m<w;m++)d=c.get(m),this.a.pd(d,!1);c.clear(!1),b=3>this.a.Ha(b)?this.a.sr(b):this.a.Qb(b);}}return l?i.Ea():(this.pC(),0<n&&this.rz(n),this.a.ye(this.W))},i.prototype.iz=function(i){var n=new t.g,s=new t.g,h=[0,0,0,0,0,0,0,0,0],r=[0,0,0,0,0,0,0,0,0],e=new t.og,a=i,o=new t.g;i.Zb(o);for(var u=0;4>u;u++){var f=!1,c=0!=(1&u),l=0;switch(u){case 0:l=this.Da.o,f=o.o<=l&&o.v>=l;break;case 1:l=this.Da.A,f=o.A<=l&&o.B>=l;break;case 2:l=this.Da.v,f=o.o<=l&&o.v>=l;break;case 3:l=this.Da.B,f=o.A<=l&&o.B>=l;}if(f){f=a,a=i.Ea(),(f=f.Ba()).ej();for(var p,b=new t.b;f.Ta();)for(var v,y=!0;f.Aa();){var w=f.aa();w.s(n);var d=this.Ph(n,u,l);if(-1==d){if(0<(d=w.uq(c,l,h,r))){var g=0;p=w.ac();for(var x=0;x<=d;x++)if(g!=(v=x<d?r[x]:1)){w.jh(g,v,e);var m=e.get();m.Fc(p),x<d&&(c?(b.x=h[x],b.y=l):(b.x=l,b.y=h[x]),m.Sc(b)),m.s(s);var j=this.Ph(s,u,l);if(-1==j){if(p=m.ac(),g=m.wc(),c)(j=Math.abs(p.y-l))<(M=Math.abs(g.y-l))?(p.y=l,m.Fc(p)):(g.y=l,m.Sc(g));else {j=Math.abs(p.x-l);var M=Math.abs(g.x-l);j<M?(p.x=l,m.Fc(p)):(g.x=l,m.Sc(g));}m.s(s),j=this.Ph(s,u,l);}p=m.wc(),g=v,1==(v=j)?(a.$b(m,y),y=!1):y=!0;}}}else 1==(v=d)?(a.$b(w,y),y=!1):y=!0;}}}return a},i.prototype.pC=function(){this.si=-1,this.fm(!1,this.Da.o),this.fm(!1,this.Da.v),this.fm(!0,this.Da.A),this.fm(!0,this.Da.B),this.fd.resize(0),this.fd.Db(100),this.si=this.a.Kd();for(var i=new t.b,n=this.a.Kb(this.W);-1!=n;n=this.a.Qb(n))for(var s=this.a.Za(n),h=0,r=this.a.Ha(n);h<r;h++,s=this.a.T(s))this.a.w(s,i),(this.Da.o==i.x||this.Da.v==i.x||this.Da.A==i.y||this.Da.B==i.y)&&(this.a.Qa(s,this.si,this.fd.size),this.fd.add(s));this.Yl(!1,this.Da.o),this.Yl(!1,this.Da.v),this.Yl(!0,this.Da.A),this.Yl(!0,this.Da.B),this.zz();},i.prototype.rz=function(i){for(var n=new t.b,s=new t.b,h=t.L.Xf(2048,0),r=this.a.Kb(this.W);-1!=r;r=this.a.Qb(r)){var e=this.a.Za(r),a=e;do{var o=this.a.T(a);this.a.w(a,n);var u=-1;if(n.x==this.Da.o?(this.a.w(o,s),s.x==this.Da.o&&(u=1)):n.x==this.Da.v&&(this.a.w(o,s),s.x==this.Da.v&&(u=1)),n.y==this.Da.A?(this.a.w(o,s),s.y==this.Da.A&&(u=0)):n.y==this.Da.B&&(this.a.w(o,s),s.y==this.Da.B&&(u=0)),-1!=u&&(u=t.b.vb(n,s),!(1>=(u=t.L.truncate(Math.min(Math.ceil(u/i),2048)))))){for(var f=1;f<u;f++)h[f-1]=1*f/u;this.a.em(a,h,u-1);}a=o;}while(a!=e)}},i.prototype.fm=function(i,n){var s=this.a.Kd(),h=new t.b,r=new t.ha(0);r.Db(100);for(var e=this.a.Kb(this.W);-1!=e;e=this.a.Qb(e))for(var a=this.a.Za(e),o=0,u=this.a.Ha(e);o<u;o++){var f=this.a.T(a);this.a.w(a,h),(i?h.y==n:h.x==n)&&(this.a.w(f,h),(i?h.y==n:h.x==n)&&(1!=this.a.Na(a,s)&&(r.add(a),this.a.Qa(a,s,1)),1!=this.a.Na(f,s)&&(r.add(f),this.a.Qa(f,s,1)))),a=f;}if(this.a.Xd(s),!(3>r.size)){var c=this;r.Zd(0,r.size,(function(t,i){return c.Qh(t,i)})),s=new t.b,e=new t.b,a=new t.b,e.Tc();var l=-1;o=new t.ha(0),u=new t.ha(0),f=this.a.Kd();for(var p=this.a.Kd(),b=0,v=r.size;b<v;b++){var y=r.get(b);if(this.a.w(y,h),!h.qb(e)){if(-1!=l){for(var w=l;w<b;w++){l=r.get(w);var d=this.a.T(l);y=this.a.Ma(l);var g=!1;0>this.Qh(l,d)&&(this.a.w(d,s),i?s.y==n:s.x==n)&&(o.add(l),g=!0,this.a.Qa(l,p,1)),0>this.Qh(l,y)&&(this.a.w(y,s),i?s.y==n:s.x==n)&&(g||o.add(l),this.a.Qa(l,f,1));}for(w=0,g=o.size;w<g;w++){if(l=o.get(w),y=this.a.Na(l,f),d=this.a.Na(l,p),1==y){y=this.a.Ma(l),this.a.w(y,a);var x=[0];if(x[0]=0,!a.qb(h)){var m=t.b.vb(e,a);x[0]=t.b.vb(a,h)/m,0==x[0]?x[0]=2220446049250313e-31:1==x[0]&&(x[0]=.9999999999999998),this.a.em(y,x,1),y=this.a.Ma(l),this.a.wf(y,h),u.add(y),this.a.Qa(y,f,1),this.a.Qa(y,p,-1);}}1==d&&(d=this.a.T(l),this.a.w(d,a),(x=[0])[0]=0,a.qb(h)||(m=t.b.vb(e,a),x[0]=t.b.vb(e,h)/m,0==x[0]?x[0]=2220446049250313e-31:1==x[0]&&(x[0]=.9999999999999998),this.a.em(l,x,1),y=this.a.T(l),this.a.wf(y,h),u.add(y),this.a.Qa(y,f,-1),this.a.Qa(y,p,1)));}l=o,o=u,(u=l).clear(!1);}l=b,e.K(h);}}this.a.Xd(f),this.a.Xd(p);}},i.prototype.Yl=function(i,n){var s=new t.b,h=new t.ha(0);h.Db(100);for(var r=this.a.Kd(),e=0,a=this.fd.size;e<a;e++){var o=this.fd.get(e);if(-1!=o){var u=this.a.T(o);this.a.w(o,s),(i?s.y==n:s.x==n)&&(this.a.w(u,s),(i?s.y==n:s.x==n)&&(-2!=this.a.Na(o,r)&&(h.add(o),this.a.Qa(o,r,-2)),-2!=this.a.Na(u,r)&&(h.add(u),this.a.Qa(u,r,-2))));}}if(0!=h.size){var f=this;for(h.Zd(0,h.size,(function(t,i){return f.Qh(t,i)})),e=0,a=h.size;e<a;e++){var c=h.get(e);this.a.Qa(c,r,e);}o=new t.b,(u=new t.b).Tc();var l=-1;for(e=0,a=h.size;e<a;e++)if(-1!=(c=h.get(e))&&(this.a.w(c,s),!s.qb(u))){if(-1!=l)for(;;){c=!1;for(var p=1<e-l?e-1:e,b=l;b<p;b++){var v=h.get(b);if(-1!=v){var y=-1,w=this.a.T(v);0>this.Qh(v,w)&&(this.a.w(w,o),i?o.y==n:o.x==n)&&(y=w),w=-1;var d=this.a.Ma(v);if(0>this.Qh(v,d)&&(this.a.w(d,o),i?o.y==n:o.x==n)&&(w=d),-1!=y&&-1!=w)this.Oh(v,h,r),this.a.pd(v,!1),this.Oh(y,h,r),this.a.pd(y,!1),c=!0;else if(-1!=y||-1!=w){for(d=b+1;d<e;d++){var g=h.get(d);if(-1!=g){var x=this.a.T(g),m=-1;0>this.Qh(g,x)&&(this.a.w(x,o),i?o.y==n:o.x==n)&&(m=x),x=this.a.Ma(g);var j=-1;if(0>this.Qh(g,x)&&(this.a.w(x,o),i?o.y==n:o.x==n)&&(j=x),-1!=m&&-1!=j){this.Oh(g,h,r),this.a.pd(g,!1),this.Oh(m,h,r),this.a.pd(m,!1),c=!0;break}if(-1!=y&&-1!=j){this.ku(h,v,y,g,j,r),c=!0;break}if(-1!=w&&-1!=m){this.ku(h,g,m,v,w,r),c=!0;break}}}if(c)break}}}if(!c)break}l=e,u.K(s);}}this.a.Xd(r);},i.prototype.Oh=function(t,i,n){n=this.a.Na(t,n),i.set(n,-1),n=this.a.Na(t,this.si),this.fd.set(n,-1),-1!=(i=this.a.cd(t))&&this.a.Za(i)==t&&(this.a.Sf(i,-1),this.a.dh(i,-1));},i.prototype.ku=function(t,i,n,s,h,r){this.a.Dc(i,s),this.a.Ec(s,i),this.a.Ec(n,h),this.a.Dc(h,n),this.Oh(s,t,r),this.a.ui(s,!1),this.Oh(h,t,r),this.a.ui(h,!0);},i.prototype.zz=function(){for(var t=0,i=this.fd.size;t<i;t++){var n=this.fd.get(t);-1!=n&&this.a.hj(n,-1);}for(var s=0,h=0,r=this.a.Kb(this.W);-1!=r;){var e=this.a.Za(r);if(-1==e||r!=this.a.cd(e)){var a=r;r=this.a.Qb(r),this.a.Sf(a,-1),this.a.tr(a);}else {n=e,a=0;do{this.a.hj(n,r),a++,n=this.a.T(n);}while(n!=e);2>=a?(n=this.a.Na(e,this.si),this.fd.set(n,-1),e=this.a.pd(e,!1),2==a&&(n=this.a.Na(e,this.si),this.fd.set(n,-1),this.a.pd(e,!1)),a=r,r=this.a.Qb(r),this.a.Sf(a,-1),this.a.tr(a)):(this.a.sp(r,!1),this.a.dh(r,this.a.Ma(e)),this.a.Wj(r,a),h+=a,s++,r=this.a.Qb(r));}}for(t=0,i=this.fd.size;t<i;t++)if(-1!=(n=this.fd.get(t))&&-1==(r=this.a.cd(n))){r=this.a.Ef(this.W,-1),a=0,e=n;do{this.a.hj(n,r),a++,n=this.a.T(n);}while(n!=e);2>=a?(n=this.a.Na(e,this.si),this.fd.set(n,-1),e=this.a.pd(e,!1),2==a&&(0<=(n=this.a.Na(e,this.si))&&this.fd.set(n,-1),this.a.pd(e,!1)),a=r,this.a.Sf(a,-1),this.a.tr(a)):(this.a.An(r,!0),this.a.Wj(r,a),this.a.Sf(r,e),this.a.dh(r,this.a.Ma(e)),this.a.sp(r,!1),h+=a,s++);}for(this.a.bm(this.W,s),this.a.Uj(this.W,h),t=0,i=this.a.ld;-1!=i;i=this.a.Ae(i))t+=this.a.D(i);this.a.JC(t);},i.gz=function(t,n,s){return new i(n).fz(t,s)},i.clip=function(n,s,h,r){if(n.u())return n;if(s.u())return n.Ea();if(33==(h=n.F()))return r=n.w(),s.contains(r)?n:n.Ea();if(197==h)return r=new t.g,n.s(r),r.Ia(s)?(s=new t.Ih,n.copyTo(s),s.mp(r),s):n.Ea();var e=new t.g;if(n.Zb(e),s.contains(e))return n;if(!s.isIntersecting(e))return n.Ea();if(null!=(e=n.ib)&&null!=(e=e.oi)){if(1==(e=e.rn(s))){if(1736!=h)throw t.f.za();return (n=new t.Ga(n.description)).Np(s),n}if(0==e)return n.Ea()}switch(h){case 550:h=null,e=n.D();for(var a=n.Va(0),o=0,u=0;u<e;u++)r=new t.b,a.mc(2*u,r),s.contains(r)||(0==o&&(h=n.Ea()),o<u&&h.yd(n,o,u),o=u+1);return 0<o&&h.yd(n,o,e),0==o?n:h;case 1736:case 1607:return i.gz(n,s,r);default:throw t.f.za()}},i.prototype.Qh=function(i,n){var s=new t.b;return this.a.w(i,s),i=new t.b,this.a.w(n,i),s.compare(i)},i}();t.Yd=i;}(W||(W={})),function(t){var i=function(){function i(i,n){this.Da=i,this.a=new t.Yc,this.fd=new t.ha(0),this.nd=n;}return i.prototype.Ph=function(t,i,n){switch(i){case 0:if(t.o<n&&t.v<=n)break;return t.o>=n?1:-1;case 1:if(t.A<n&&t.B<=n)break;return t.A>=n?1:-1;case 2:if(t.o>=n&&t.v>n)break;return t.v<=n?1:-1;case 3:if(!(t.A>=n&&t.B>n))return t.B<=n?1:-1}return 0},i.prototype.fz=function(t,i){return 1736==t.F()?this.hz(t,i):this.iz(t)},i.prototype.hz=function(i,n){if(0==this.Da.N()||0==this.Da.ca())return i.Ea();var s=new t.g;i.Zb(s),this.W=this.a.Bb(i);var h=new t.g,r=new t.g,e=new t.b,a=new t.b,o=[0,0,0,0,0,0,0,0,0],u=[0,0,0,0,0,0,0,0,0],f=new t.zb,c=new t.ha(0);c.Db(256);for(var l=!1,p=0;!l&&4>p;p++){var b=!1,v=0!=(1&p),y=0;switch(p){case 0:y=this.Da.o,b=s.o<=y&&s.v>=y;break;case 1:y=this.Da.A,b=s.A<=y&&s.B>=y;break;case 2:y=this.Da.v,b=s.o<=y&&s.v>=y;break;case 3:y=this.Da.B,b=s.A<=y&&s.B>=y;}if(b)for(l=!0,b=this.a.Kb(this.W);-1!=b;){var w=!0,d=-1,g=-1,x=this.a.Za(b),m=x;do{var j=this.a.ec(m);null==j&&(j=f,this.a.w(m,e),j.Fc(e),this.a.w(this.a.T(m),a),j.Sc(a)),j.s(h);var M=this.Ph(h,p,y),k=0,z=-1;if(-1==M){k=0<(j=j.uq(v,y,o,u))?this.a.qZ(m,u,j):0,k+=1;var N=m,A=this.a.T(N);for(j=0;j<k;j++){if(this.a.w(N,e),this.a.w(A,a),null==(z=this.a.ec(N))&&((z=f).Fc(e),z.Sc(a)),z.s(r),-1==(z=this.Ph(r,p,y))){if(v)(z=Math.abs(e.y-y))<(I=Math.abs(a.y-y))?(e.y=y,this.a.wf(N,e)):(a.y=y,this.a.wf(A,a));else {z=Math.abs(e.x-y);var I=Math.abs(a.x-y);z<I?(e.x=y,this.a.wf(N,e)):(a.x=y,this.a.wf(A,a));}null==(z=this.a.ec(N))&&((z=f).Fc(e),z.Sc(a)),z.s(r),z=this.Ph(r,p,y);}I=d,d=z,-1==g&&(g=d),0==I&&1==d||1==I&&0==d||0!=I||0!=d||c.add(N),1==d&&(w=l=!1),z=N=A,A=this.a.T(A);}}if(0==k&&(I=d,d=M,-1==g&&(g=d),0==I&&1==d||1==I&&0==d||0!=I||0!=d||c.add(m),1==d&&(w=l=!1),z=this.a.T(m)),m=z,256<=c.size){for(j=1,M=c.size-1;j<M;j++)k=c.get(j),this.a.pd(k,!1);c.set(1,c.Gc()),c.Gh(2);}}while(m!=x);if(!w)for(0==g&&0==d&&c.add(x),j=0,M=c.size;j<M;j++)k=c.get(j),this.a.pd(k,!1);c.clear(!1),b=w||0==this.a.Ha(b)?this.a.sr(b):this.a.Qb(b);}}return l?i.Ea():(this.pC(),0<n&&this.rz(n),this.a.ye(this.W))},i.prototype.iz=function(i){var n=new t.g,s=new t.g,h=[0,0,0,0,0,0,0,0,0],r=[0,0,0,0,0,0,0,0,0],e=new t.og,a=i,o=new t.g;i.Zb(o);for(var u=new t.b,f=new t.b,c=null,l=null,p=0;4>p;p++){var b=!1,v=0!=(1&p),y=0;switch(p){case 0:y=this.Da.o,b=o.o<=y&&o.v>=y;break;case 1:y=this.Da.A,b=o.A<=y&&o.B>=y;break;case 2:y=this.Da.v,b=o.o<=y&&o.v>=y;break;case 3:y=this.Da.B,b=o.A<=y&&o.B>=y;}if(b)for(b=a,a=i.Ea(),(b=b.Ba()).ej();b.Ta();)for(var w,d=!0;b.Aa();){var g=b.aa();g.s(n);var x=this.Ph(n,p,y);if(-1==x){if(0<(x=g.uq(v,y,h,r))){var m=0;g.qq(u);for(var j=0;j<=x;j++)if(m!=(w=j<x?r[j]:1)){g.jh(m,w,e);var M=e.get();M.Fc(u),j<x&&(v?(f.x=h[j],f.y=y):(f.x=y,f.y=h[j]),M.Sc(f)),M.s(s);var k=this.Ph(s,p,y);-1==k&&(null==c&&(c=new t.b),null==l&&(l=new t.b),M.qq(c),M.vs(l),v?(m=Math.abs(c.y-y))<(k=Math.abs(l.y-y))?(c.y=y,M.Fc(c)):(l.y=y,M.Sc(l)):(m=Math.abs(c.x-y))<(k=Math.abs(l.x-y))?(c.x=y,M.Fc(c)):(l.x=y,M.Sc(l)),M.s(s),k=this.Ph(s,p,y)),M.vs(u),m=w,1==(w=k)?(a.$b(M,d),d=!1):d=!0;}}}else 1==(w=x)?(a.$b(g,d),d=!1):d=!0;}}return a},i.prototype.pC=function(){this.si=-1,this.fm(!1,this.Da.o),this.fm(!1,this.Da.v),this.fm(!0,this.Da.A),this.fm(!0,this.Da.B),this.fd.resize(0),this.fd.Db(100),this.si=this.a.Kd();for(var i=new t.b,n=this.a.Kb(this.W);-1!=n;n=this.a.Qb(n))for(var s=this.a.Za(n),h=0,r=this.a.Ha(n);h<r;h++,s=this.a.T(s))this.a.w(s,i),(this.Da.o==i.x||this.Da.v==i.x||this.Da.A==i.y||this.Da.B==i.y)&&(this.a.Qa(s,this.si,this.fd.size),this.fd.add(s));this.Yl(!1,this.Da.o),this.Yl(!1,this.Da.v),this.Yl(!0,this.Da.A),this.Yl(!0,this.Da.B),this.zz();},i.prototype.rz=function(i){for(var n=new t.b,s=new t.b,h=null,r=null,e=t.L.Xf(2048,0),a=this.a.Kb(this.W);-1!=a;a=this.a.Qb(a)){var o=this.a.Za(a),u=o;do{var f=this.a.T(u);this.a.w(u,n);var c=-1;if(n.x==this.Da.o?(this.a.w(f,s),s.x==this.Da.o&&(c=1)):n.x==this.Da.v&&(this.a.w(f,s),s.x==this.Da.v&&(c=1)),n.y==this.Da.A?(this.a.w(f,s),s.y==this.Da.A&&(c=0)):n.y==this.Da.B&&(this.a.w(f,s),s.y==this.Da.B&&(c=0)),-1!=c){if(null==h&&(h=new t.b),null==r&&(r=new t.b),h.K(n),r.ka(0,0),0==c){var l=n.x-this.Da.o;r.x=t.Tb.sign(s.x-n.x),h.x=i*t.Tb.hl(Math.floor(Math.abs(l/i)),l)+this.Da.o,0>h.x&&(h.x+=i);}else l=n.y-this.Da.A,r.y=t.Tb.sign(s.y-n.y),h.y=i*t.Tb.hl(Math.floor(Math.abs(l/i)),l)+this.Da.A,0>h.y&&(h.y+=i);l=0!=c?s.y-n.y:s.x-n.x;var p=Math.abs(l);if(65536<p/i)throw t.f.Y("internal error");if(0<p){p=t.L.truncate(p/i)+2,e.length<p&&(e=t.L.Xf(p));for(var b=p=0;;b++){var v=new t.b;if(v.x=h.x+r.x*b*i,v.y=h.y+r.y*b*i,1<=(v=(0!=c?v.y-n.y:v.x-n.x)/l))break;0>=v||(e[p]=v,p++);}0!=p&&this.a.em(u,e,p);}}u=f;}while(u!=o)}},i.prototype.fm=function(i,n){for(var s=-1,h=new t.b,r=null,e=this.a.Kb(this.W);-1!=e;e=this.a.Qb(e))for(var a=this.a.Za(e),o=0,u=this.a.Ha(e);o<u;o++){var f=this.a.T(a);this.a.w(a,h),(i?h.y==n:h.x==n)&&(this.a.w(f,h),(i?h.y==n:h.x==n)&&(-1==s&&(s=this.a.Kd()),null==r&&(r=new t.ha(0)).Db(100),1!=this.a.Na(a,s)&&(r.add(a),this.a.Qa(a,s,1)),1!=this.a.Na(f,s)&&(r.add(f),this.a.Qa(f,s,1)))),a=f;}if(-1!=s&&this.a.Xd(s),!(null==r||3>r.size)){var c=this;r.Zd(0,r.size,(function(t,i){return c.Qh(t,i)})),s=new t.b,e=new t.b,a=new t.b,e.Tc();var l=-1;o=new t.ha(0),u=new t.ha(0),f=null;for(var p=this.a.Kd(),b=this.a.Kd(),v=0,y=r.size;v<y;v++){var w=r.get(v);if(this.a.w(w,h),!h.qb(e)){if(-1!=l){for(var d=l;d<v;d++){l=r.get(d);var g=this.a.T(l);w=this.a.Ma(l);var x=!1;this.a.w(g,s),0>e.compare(s)&&(i?s.y==n:s.x==n)&&(o.add(l),x=!0,this.a.Qa(l,b,1)),this.a.w(w,s),0>e.compare(s)&&(i?s.y==n:s.x==n)&&(x||o.add(l),this.a.Qa(l,p,1));}for(d=0,x=o.size;d<x;d++){if(l=o.get(d),w=this.a.Na(l,p),g=this.a.Na(l,b),1==w&&(w=this.a.Ma(l),this.a.w(w,a),!a.qb(h))){null==f&&(f=[]);var m=t.b.vb(e,a);f[0]=t.b.vb(a,h)/m,0==f[0]?f[0]=2220446049250313e-31:1==f[0]&&(f[0]=.9999999999999998),this.a.em(w,f,1),w=this.a.Ma(l),this.a.wf(w,h),u.add(w),this.a.Qa(w,p,1),this.a.Qa(w,b,-1);}1==g&&(g=this.a.T(l),this.a.w(g,a),a.qb(h)||(null==f&&(f=[]),m=t.b.vb(e,a),f[0]=t.b.vb(e,h)/m,0==f[0]?f[0]=2220446049250313e-31:1==f[0]&&(f[0]=.9999999999999998),this.a.em(l,f,1),w=this.a.T(l),this.a.wf(w,h),u.add(w),this.a.Qa(w,p,-1),this.a.Qa(w,b,1)));}l=o,o=u,(u=l).clear(!1);}l=v,e.K(h);}}this.a.Xd(p),this.a.Xd(b);}},i.prototype.Yl=function(i,n){for(var s=new t.b,h=null,r=-1,e=0,a=this.fd.size;e<a;e++){var o=this.fd.get(e);if(-1!=o){var u=this.a.T(o);this.a.w(o,s),(i?s.y==n:s.x==n)&&(this.a.w(u,s),(i?s.y==n:s.x==n)&&(-1==r&&(r=this.a.Kd()),null==h&&(h=new t.ha(0)).Db(100),-2!=this.a.Na(o,r)&&(h.add(o),this.a.Qa(o,r,-2)),-2!=this.a.Na(u,r)&&(h.add(u),this.a.Qa(u,r,-2))));}}if(null==h)-1!=r&&this.a.Xd(r);else {var f=this;for(h.Zd(0,h.size,(function(t,i){return f.Qh(t,i)})),e=0,a=h.size;e<a;e++){var c=h.get(e);this.a.Qa(c,r,e);}o=new t.b,(u=new t.b).Tc();var l=-1;for(e=0,a=h.size;e<a;e++)if(-1!=(c=h.get(e))&&(this.a.w(c,s),!s.qb(u))){if(-1!=l)for(;;){c=!1;for(var p=1<e-l?e-1:e,b=l;b<p;b++){var v=h.get(b);if(-1!=v){var y=-1,w=this.a.T(v);this.a.w(w,o),0>u.compare(o)&&(i?o.y==n:o.x==n)&&(y=w),w=-1;var d=this.a.Ma(v);if(this.a.w(d,o),0>u.compare(o)&&(i?o.y==n:o.x==n)&&(w=d),-1!=y&&-1!=w)this.Oh(v,h,r),this.a.pd(v,!1),this.Oh(y,h,r),this.a.pd(y,!1),c=!0;else if(-1!=y||-1!=w){for(d=b+1;d<e;d++){var g=h.get(d);if(-1!=g){var x=this.a.T(g),m=-1;this.a.w(x,o),0>u.compare(o)&&(i?o.y==n:o.x==n)&&(m=x),x=this.a.Ma(g);var j=-1;if(this.a.w(x,o),0>u.compare(o)&&(i?o.y==n:o.x==n)&&(j=x),-1!=m&&-1!=j){this.Oh(g,h,r),this.a.pd(g,!1),this.Oh(m,h,r),this.a.pd(m,!1),c=!0;break}if(-1!=y&&-1!=j){this.ku(h,v,y,g,j,r),c=!0;break}if(-1!=w&&-1!=m){this.ku(h,g,m,v,w,r),c=!0;break}}}if(c)break}}}if(!c)break}l=e,u.K(s);}this.a.Xd(r);}},i.prototype.Oh=function(t,i,n){n=this.a.Na(t,n),i.set(n,-1),n=this.a.Na(t,this.si),this.fd.set(n,-1),-1!=(i=this.a.cd(t))&&this.a.Za(i)==t&&(this.a.Sf(i,-1),this.a.dh(i,-1));},i.prototype.ku=function(t,i,n,s,h,r){this.a.Dc(i,s),this.a.Ec(s,i),this.a.Ec(n,h),this.a.Dc(h,n),this.Oh(s,t,r),this.a.ui(s,!1),this.Oh(h,t,r),this.a.ui(h,!0);},i.prototype.zz=function(){for(var t=0,i=this.fd.size;t<i;t++){var n=this.fd.get(t);-1!=n&&this.a.hj(n,-1);}for(var s=0,h=0,r=this.a.Kb(this.W);-1!=r;){var e=this.a.Za(r);if(-1==e||r!=this.a.cd(e)){var a=r;r=this.a.Qb(r),this.a.Sf(a,-1),this.a.tr(a);}else {n=e,a=0;do{this.a.hj(n,r),a++,n=this.a.T(n);}while(n!=e);this.a.sp(r,!1),this.a.dh(r,this.a.Ma(e)),this.a.Wj(r,a),h+=a,s++,r=this.a.Qb(r);}}for(t=0,i=this.fd.size;t<i;t++)if(-1!=(n=this.fd.get(t))&&-1==(r=this.a.cd(n))){r=this.a.Ef(this.W,-1),a=0,e=n;do{this.a.hj(n,r),a++,n=this.a.T(n);}while(n!=e);2>=a?(n=this.a.Na(e,this.si),this.fd.set(n,-1),e=this.a.pd(e,!1),2==a&&(0<=(n=this.a.Na(e,this.si))&&this.fd.set(n,-1),this.a.pd(e,!1)),a=r,this.a.Sf(a,-1),this.a.tr(a)):(this.a.An(r,!0),this.a.Wj(r,a),this.a.Sf(r,e),this.a.dh(r,this.a.Ma(e)),this.a.sp(r,!1),h+=a,s++);}for(this.a.bm(this.W,s),this.a.Uj(this.W,h),t=0,i=this.a.ld;-1!=i;i=this.a.Ae(i))t+=this.a.D(i);this.a.JC(t);},i.gz=function(t,n,s,h){return new i(n,h).fz(t,s)},i.clip=function(t,n,s,h,r){return i.Tp(t,n,null,s,h,r)},i.Tp=function(n,s,h,r,e,a){var o=n.F();if(33==o)return e=n.w(),s.contains(e)?n:n.Ea();if(197==o)return e=new t.g,n.s(e),e.Ia(s)?(s=new t.Ih,n.copyTo(s),s.mp(e),s):n.Ea();if(n.u())return n;if(s.u())return n.Ea();var u=new t.g;if(n.Zb(u),s.contains(u))return n;if(!s.isIntersecting(u))return n.Ea();if((null!=h||isNaN(r))&&t.la.Yy(h,s,!1),!t.R.Rg(o))throw t.f.I();if(null!=(h=n.ib)&&null!=(h=h.oi)){if(1==(h=h.rn(s))){if(1736!=o)throw t.f.Y("internal error");return (n=new t.Ga(n.description)).Np(s),n}if(0==h)return n.Ea()}switch(o){case 550:for(a=null,o=n.D(),h=n.Va(0),r=0,e=new t.b,u=0;u<o;u++)h.mc(2*u,e),s.contains(e)||(0==r&&(a=n.Ea()),r<u&&a.yd(n,r,u),r=u+1);return 0<r&&a.yd(n,r,o),0==r?n:a;case 1736:case 1607:return i.gz(n,s,e,a);default:throw t.f.Y("internal error")}},i.prototype.Qh=function(i,n){var s=new t.b;return this.a.w(i,s),i=new t.b,this.a.w(n,i),s.compare(i)},i}();t.fh=i;}(W||(W={})),function(t){var i=new t.b,n=function(){function i(i,n,s,h,r){this.bn=new t.b,this.Lk=new t.b,this.Vi=new t.b,this.a=i,this.hx=s,this.Go=h,this.bn=n,this.Hl=r,this.Lk.Tc(),this.Vi.Tc();}return i.prototype.iF=function(i){this.a.w(i,this.Lk),i=t.L.truncate((this.Lk.x-this.bn.x)*this.Go+.5);var n=t.L.truncate((this.Lk.y-this.bn.y)*this.Go+.5);return s.WG(i,n)},i.prototype.Tz=function(t){return this.a.Na(t,this.Hl)},i.prototype.vz=function(t,i){return this.a.w(t,this.Lk),this.a.w(i,this.Vi),s.jw(this.Lk.x,this.Lk.y,this.Vi.x,this.Vi.y,this.hx)},i}();t.ZZ=function(){};var s=function(){function s(){this.bn=new t.b,this.Iq=[0,0,0,0],this.ft=[0,0,0,0],this.Jo=this.Hl=-1;}return s.uR=function(t,i){var n=new s;return n.a=t,n.qa=i,n.hx=i*i,n.Hw=2*i,n.Go=1/n.Hw,n.LP()},s.jw=function(t,i,n,s,h){return (t-=n)*t+(i-=s)*i<=h},s.WG=function(i,n){return t.L.Zh(n,t.L.Zh(i))},s.prototype.NP=function(n,h){this.a.Hc(n,i);for(var r=(i.y-this.bn.y)*this.Go,e=t.L.truncate((i.x-this.bn.x)*this.Go),a=t.L.truncate(r),o=r=0;1>=o;o+=1)for(var u=0;1>=u;u+=1){var f=s.WG(e+o,a+u),c=this.Gl.ES(f);-1!=c&&(this.Iq[r]=c,this.ft[r]=f,r++);}for(e=r-1;1<=e;e--)for(c=this.Iq[e],a=e-1;0<=a;a--)if(c==this.Iq[a]){this.ft[a]=-1,e!=--r&&(this.ft[e]=this.ft[r],this.Iq[e]=this.Iq[r]);break}for(a=0;a<r;a++)this.OP(n,this.ft[a],i,this.Iq[a],h);},s.prototype.OP=function(i,n,h,r,e){for(var a=new t.b;-1!=r;r=this.Gl.US(r)){var o=this.Gl.ga(r);i==o||-1!=n&&this.a.Na(o,this.Hl)!=n||(this.a.Hc(o,a),s.jw(h.x,h.y,a.x,a.y,this.hx)&&e.add(r));}},s.prototype.ln=function(t,i,n){var s=this.a.Na(t,this.Jo),h=this.a.Na(i,this.Jo);return -1==s&&(s=this.Cd.Th(),this.Cd.addElement(s,t),this.a.Qa(t,this.Jo,s)),-1==h?this.Cd.addElement(s,i):this.Cd.lz(s,h),this.a.Qa(i,this.Jo,-2),i=this.qV(t,i),n&&(n=this.Sw.iF(t),this.a.Qa(t,this.Hl,n)),i},s.oV=function(i,n,h){i.Ib(n),h=i;var r=new t.b;s.pV(i.w(),n.w(),r),h.nb(r);},s.pV=function(t,i,n){var s=t.x;t.x!=i.x&&(s=(1*t.x+1*i.x)/2);var h=t.y;t.y!=i.y&&(h=(1*t.y+1*i.y)/2),n.ka(s,h);},s.prototype.qV=function(i,n){var s=new t.b;this.a.w(i,s);var h=new t.b;this.a.w(n,h);var r=this.a.OG(i),e=r+(n=this.a.OG(n)),a=0,o=s.x;s.x!=h.x&&(o=(s.x*r+h.x*n)/e,a++);var u=s.y;return s.y!=h.y&&(u=(s.y*r+h.y*n)/e,a++),0<a&&this.a.nb(i,o,u),this.a.ZY(i,e),0!=a},s.prototype.LP=function(){var i=this.a.hd,s=this.a.uG();for(this.bn=s.Wz(),s=Math.max(s.ca(),s.N())/2147483646,this.Hw<s&&(this.Hw=s,this.Go=1/this.Hw),this.Cd=new t.Iu,this.Cd.lu(t.L.truncate(this.a.hd/3+1)),this.Cd.vn(t.L.truncate(this.a.hd/3+1)),this.Hl=this.a.Kd(),this.Jo=this.a.Kd(),this.Sw=new n(this.a,this.bn,this.hx,this.Go,this.Hl),this.Gl=new t.nM(t.L.truncate(4*i/3),this.Sw),this.Gl.fY(this.a.hd),i=!1,s=this.a.ld;-1!=s;s=this.a.Ae(s))for(var h=this.a.Kb(s);-1!=h;h=this.a.Qb(h))for(var r=this.a.Za(h),e=0,a=this.a.Ha(h);e<a;e++){var o=this.Sw.iF(r);this.a.Qa(r,this.Hl,o),this.Gl.addElement(r,o),r=this.a.T(r);}var u=new t.ha(0);for(u.Db(10),s=this.a.ld;-1!=s;s=this.a.Ae(s))for(h=this.a.Kb(s);-1!=h;h=this.a.Qb(h))for(r=this.a.Za(h),e=0,a=this.a.Ha(h);e<a;e++){if(-2!=this.a.Na(r,this.Jo))for(o=this.a.Na(r,this.Hl),this.Gl.jd(r,o);this.NP(r,u),0!=u.size;){o=!1;for(var f=0,c=u.size;f<c;f++){var l=u.get(f),p=this.Gl.ga(l);this.Gl.zd(l),o=this.ln(r,p,f+1==c)||o;}if(i=i||o,u.clear(!1),!o)break}r=this.a.T(r);}return i&&this.GO(),this.Sw=this.Gl=null,this.a.Xd(this.Hl),this.a.Xd(this.Jo),i},s.prototype.GO=function(){for(var i=new t.b,n=this.Cd.re;-1!=n;n=this.Cd.$z(n)){var s=this.Cd.sc(n);for(this.a.w(this.Cd.ga(s),i),s=this.Cd.hb(s);-1!=s;s=this.Cd.hb(s))this.a.wf(this.Cd.ga(s),i);}},s}();t.Fu=s;}(W||(W={})),function(t){var i=function(){function i(t){void 0===t&&(t=null),this.uf=null,this.Mb=!1,this.uf=null===t?[]:t;}return i.prototype.copyTo=function(i){if(i.Mb)throw t.f.Y("CompositeGeographicTransformation is read-only");for(var n=0;n<this.uf.length;n++)i.uf.push(this.uf[n].Cf());},i.prototype.count=function(){return this.uf.length},i.prototype.GS=function(t){return this.uf[t]},i.prototype.add=function(i){if(this.Mb)throw t.f.Y("CompositeGeographicTransformation is read-only");this.uf.push(i.Cf());},i.prototype.clear=function(){if(this.Mb)throw t.f.Y("CompositeGeographicTransformation is read-only");this.uf.length=0;},i.prototype.remove=function(i){if(this.Mb)throw t.f.Y("CompositeGeographicTransformation is read-only");this.uf.splice(i,1);},i.prototype.Rv=function(){for(var t=this.$d(),i=0;i<t.count();i++)t.GS(i).Xs();return t.uf=t.uf.reverse(),t},i.prototype.$d=function(){var t=new i;return this.copyTo(t),t},i.prototype.Cf=function(){return this.$d()},i.prototype.transform=function(i,n,s,h){if(i.length<n)throw t.f.Y("invalid Argument");var r=s;for(s=0;s<this.uf.length;s++){var e=this.uf[s];if(null!=e.Bm()){var a=e.no,o=a?1:0,u=a?e.Bm().getGeogcs2():e.Bm().getGeogcs1();if(u=r/(u=u.getUnit().getUnitFactor()),3552713678800501e-30<Math.abs(u-1))for(r=0;r<n;r++)i[r][0]*=u,i[r][1]*=u;t.tD.geogToGeog(e.Bm(),n,i,null,o),r=(a?e.Bm().getGeogcs1():e.Bm().getGeogcs2()).getUnit().getUnitFactor();}}if(u=r/h,3552713678800501e-30<Math.abs(u-1))for(r=0;r<n;r++)i[r][0]*=u,i[r][1]*=u;return n},i.prototype.Ib=function(t){if(t==this)return !0;if(!(t instanceof i)||this.uf.length!=t.uf.length)return !1;for(var n=0;n<this.uf.length;n++)if(!this.uf[n].Ib(t.uf[n]))return !1;return !0},i.prototype.Px=function(){this.Mb=!0;},i.prototype.toString=function(){for(var t="CGT ("+this.count()+") ",i=0,n=this.count();i<n;++i)t+=this.uf[i].toString()+", ";return 200<t.length?t.substring(0,197)+"... ("+t.length.toString()+" characters)":t},i.create=function(){return new i},i.N_=function(n,s){var h=new i;return h.add(t.Hn.create(n,s)),h},i.O_=function(n,s){var h=new i;return h.add(t.Hn.LF(n,s)),h},i}();t.hy=i;}(W||(W={})),function(t){var i,n=Math.PI,s=2*Math.PI,h=Math.PI/2,r=function(){function t(){}return t.cQ=function(i,n){var s=new t;return s.x=i,s.y=n,s.type=0,s.$h=0,s},t.gl=function(i){var n=new t;return n.x=i.x,n.y=i.y,n.type=0,n.$h=0,n},t.bQ=function(i){var n=new t;return n.x=i.x,n.y=i.y,n.type=i.type,n.$h=i.$h,n},t.Rd=function(i,n,s){var h=new t;return h.x=i.x+n*Math.cos(s),h.y=i.y+n*Math.sin(s),h.type=i.type,h.$h=i.$h,h},t.xv=function(i,n){var s=new t;return s.x=.5*(i.x+n.x),s.y=.5*(i.y+n.y),s.type=i.type,s.$h=i.$h,s},t.EF=function(i,n){var s=new t;return s.x=i.x+.001*(n.x-i.x),s.y=i.y+.001*(n.y-i.y),s.type=i.type,s.$h=i.$h,s},t}(),e=function(){};(i=t.pM||(t.pM={}))[i.Round=0]="Round",i[i.Bevel=1]="Bevel",i[i.Miter=2]="Miter",i[i.Square=3]="Square";var a=function(){function i(t){this.wB=this.Yb=this.Dg=null,this.nd=t;}return i.U=function(n,s,h,r,e,a){if(null==n)throw t.f.I();if(1>n.pb())throw t.f.I();return 0==s||n.u()?n:((a=new i(a)).Do=n,a.La=s,a.qa=e,a.Qi=h,a.lB=r,a.wy())},i.prototype.lN=function(){var i=this.Do,n=i.ac(),s=i.wc(),h=new t.b;return h.tc(s,n),h.normalize(),h.pw(),h.scale(this.La),n.add(h),s.add(h),h=i.Ea(),i.Fc(n),i.Sc(s),h},i.prototype.kN=function(){var i=this.Do;if(0<this.La&&2!=this.Qi){var n=new t.Ga;return n.bd(i,!1),this.Do=n,this.wy()}return (i=new t.Ih(i.X)).O(this.La,this.La),i},i.prototype.xK=function(t,i,n,s){return (i.x-t.x)*(s.x-n.x)+(i.y-t.y)*(s.y-n.y)},i.prototype.jc=function(t,i){if(void 0===i)this.Yb.push(t),this.qf++;else if(0==this.qf)this.jc(t);else {var n=this.ix,s=this.Dg[0==i?n-1:i-1],e=this.Dg[i],a=this.xK(s,e,this.Yb[this.qf-1],t);0<a?this.jc(t):0>a&&(0<this.xK(s,e,e,this.Yb[this.qf-1])?(e=this.Dg[0==i?n-2:1==i?n-1:i-2],n=r.Rd(s,this.La,Math.atan2(s.y-e.y,s.x-e.x)-h),this.Yb[this.qf-1]=n,1==this.Qi||2==this.Qi?(n=r.xv(n,s),this.jc(n),n=r.Rd(s,this.La,this.rw+h),(s=r.xv(n,s)).type|=256,this.jc(s)):(n=r.Rd(s,this.La,this.rw+h)).type|=256,this.jc(n),this.jc(t,i)):(n=r.Rd(e,this.La,this.rw+h),this.jc(n),1==this.Qi||2==this.Qi?(n=r.xv(n,e),this.jc(n),n=r.Rd(e,this.La,this.LA-h),(s=r.xv(n,e)).type|=256,this.jc(s)):(n=r.Rd(e,this.La,this.LA-h)).type|=256,this.jc(n)));}},i.prototype.ZE=function(){var i,e=this.ix;this.qf=0;var a=.5*this.qa,o=0,u=0;for(i=0;i<e;i++){var f=this.Dg[i],c=0==i?this.Dg[e-1]:this.Dg[i-1],l=i==e-1?this.Dg[0]:this.Dg[i+1],p=c.x-f.x,b=c.y-f.y,v=l.x-f.x,y=l.y-f.y,w=Math.atan2(b,p),d=Math.atan2(y,v);if(this.rw=w,this.LA=d,0==i&&(o=w,u=d),p=p*y-v*b,b=d,d<w&&(d+=s),0<p*this.La)1==this.Qi||2==this.Qi?(w=r.Rd(f,this.La,w+h),this.jc(w),w=r.EF(f,w),this.jc(w),w=r.Rd(f,this.La,d-h),(f=r.EF(f,w)).type|=256,this.jc(f),this.jc(w)):(p=.5*(d-w),p=this.La/Math.abs(Math.sin(p)),w=r.Rd(f,p,.5*(w+d)),this.jc(w,i));else if(0!=(512&f.type)){for(p=1-a/Math.abs(this.La),c=1,l=0>this.La?-n:n,-1<p&&1>p&&(.017453292519943295>(b=2*Math.acos(p))&&(b=.017453292519943295),1<(c=t.L.truncate(n/b+1.5))&&(l/=c)),b=w+h,w=r.Rd(f,this.La,b),0==i&&(w.type|=1024),this.jc(w,i),p=this.La/Math.cos(l/2),b+=l/2,(w=r.Rd(f,p,b)).type|=1024,this.jc(w);0<--c;)b+=l,(w=r.Rd(f,p,b)).type|=1024,this.jc(w);(w=r.Rd(f,this.La,d-h)).type|=1024,this.jc(w);}else if(1==this.Qi)w=r.Rd(f,this.La,w+h),this.jc(w,i),w=r.Rd(f,this.La,d-h),this.jc(w);else if(0==this.Qi)for(p=1-a/Math.abs(this.La),c=1,l=d-h-(w+h),-1<p&&1>p&&(.017453292519943295>(b=2*Math.acos(p))&&(b=.017453292519943295),1<(c=t.L.truncate(Math.abs(l)/b+1.5))&&(l/=c)),p=this.La/Math.cos(.5*l),b=w+h+.5*l,w=r.Rd(f,p,b),this.jc(w,i);0<--c;)b+=l,w=r.Rd(f,p,b),this.jc(w);else 2==this.Qi?(p=c.x-f.x,b=c.y-f.y,.99999999<(c=(p*(v=l.x-f.x)+b*(y=l.y-f.y))/Math.sqrt(p*p+b*b)/Math.sqrt(v*v+y*y))?(w=r.Rd(f,1.4142135623730951*this.La,d-.25*n),this.jc(w,i),w=r.Rd(f,1.4142135623730951*this.La,d+.25*n),this.jc(w)):(c=Math.abs(this.La/Math.sin(.5*Math.acos(c))))>(l=Math.abs(this.lB*this.La))?(p=.5*(d-w),p=this.La/Math.abs(Math.sin(p)),w=r.Rd(f,p,.5*(w+d)),d=t.b.construct(w.x,w.y),w=t.b.construct(f.x,f.y),(f=new t.b).tc(d,w),(d=new t.b).mY(l/f.length(),f,w),w=(c-l)*Math.abs(this.La)/Math.sqrt(c*c-this.La*this.La),0<this.La?f.pw():f.ur(),f.scale(w/f.length()),(w=new t.b).add(d,f),(c=new t.b).tc(d,f),w=r.gl(w),this.jc(w,i),w=r.gl(c),this.jc(w)):(p=.5*(d-w),p=this.La/Math.abs(Math.sin(p)),w=r.Rd(f,p,.5*(w+d)),this.jc(w,i))):(d=b,0<this.La?(d>w&&(d-=s),c=w-d<h):(d<w&&(d+=s),c=d-w<h),c?(b=0>(p=1.4142135623730951*this.La)?w+.25*n:w+.75*n,w=r.Rd(f,p,b),this.jc(w,i),b=0>p?d-.25*n:d-.75*n,w=r.Rd(f,p,b),this.jc(w)):(p=.5*(d-w),p=this.La/Math.abs(Math.sin(p)),d<w&&(d+=s),w=r.Rd(f,p,(w+d)/2),this.jc(w,i)));}return this.rw=o,this.LA=u,this.jc(this.Yb[0],0),f=r.bQ(this.Yb[this.qf-1]),this.Yb[0]=f,this.bY()},i.prototype.gv=function(i,n){if(!(2>n))for(var s=0;s<n;s++){var h=this.Yb[i+s];0!=s?this.wB.Ii(t.b.construct(h.x,h.y)):this.wB.vu(t.b.construct(h.x,h.y));}},i.prototype.mN=function(t,i,n){var s=t.ua(i),h=t.zc(i);if(this.Yb=[],this.wB=n,t.Lb(i)){for(i=t.xa(s);t.xa(h-1).qb(i);)h--;if(2<=h-s){for(this.ix=h-s,this.Dg=[],i=s;i<h;i++)this.Dg.push(r.gl(t.xa(i)));this.ZE()&&this.gv(0,this.qf-1);}}else {for(i=t.xa(s);s<h&&t.xa(s+1).qb(i);)s++;for(i=t.xa(h-1);s<h&&t.xa(h-2).qb(i);)h--;if(2<=h-s){for(this.ix=2*(h-s)-2,this.Dg=[],(n=r.gl(t.xa(s))).type|=1536,this.Dg.push(n),i=s+1;i<h-1;i++)n=r.gl(t.xa(i)),this.Dg.push(n);for((n=r.gl(t.xa(h-1))).type|=512,this.Dg.push(n),i=h-2;i>=s+1;i--)(n=r.gl(t.xa(i))).type|=1024,this.Dg.push(n);if(this.ZE())if(2<=this.Yb.length){for(t=-1,(h=0!=(1024&this.Yb[this.qf-1].type))||(t=0),i=1;i<this.qf;i++)(s=0!=(1024&this.Yb[i].type))?h||1<(h=i-1)-t+1&&this.gv(t,h-t+1):h&&(t=i-1),h=s;h||1<(h=this.qf-1)-t+1&&this.gv(t,h-t+1);}else t=0,h=this.qf-1,0<=t&&1<=h-t&&this.gv(t,h-t+1);}}this.Dg=null,this.ix=0,this.Yb=null,this.qf=0;},i.prototype.bY=function(){for(var t=!1,i=0;i<this.qf;i++){var n=this.Yb[i];n.xh=i+1,n.zh=i-1,this.Yb[i]=n;}for((n=this.Yb[0]).zh=this.qf-2,this.Yb[0]=n,(n=this.Yb[this.qf-2]).xh=0,this.Yb[this.qf-2]=n,i=n=0;i<this.qf;i++)if(0!=(256&this.Yb[n].type)){var s=this.RQ(n);if(-1==s){t=!0;break}n=s;}else n=this.Yb[n].xh;return !t&&(this.$P(n),!0)},i.prototype.RQ=function(t){for(var i,n,s=this.qf-1,h=t,r=1;r<=s-2;r++){i=h=this.Yb[h].xh,n=t;for(var e=1;e<=r;e++){if(n=this.Yb[n].zh,0==(256&this.Yb[n].type)&&0==(256&this.Yb[i].type)){var a=this.BT(n,i);if(-1!=a)return a}i=this.Yb[i].zh;}}return -1},i.prototype.BT=function(i,n){var s=this.Yb[this.Yb[i].zh],h=this.Yb[i],r=this.Yb[this.Yb[n].zh],a=this.Yb[n];if(!this.oY(s,h,r,a))return -1;var o=new e;return this.JR(s,h,r,a,o)&&!o.OE&&t.L.fL((h.x-s.x)*(a.y-r.y)-(h.y-s.y)*(a.x-r.x))!=t.L.fL(this.La)?(s=this.Yb[i].zh,o.pn.type=h.type,o.pn.xh=n,o.pn.zh=s,this.Yb[i]=o.pn,o.pn=this.Yb[n],o.pn.zh=i,this.Yb[n]=o.pn,n):-1},i.prototype.oY=function(t,i,n,s){return Math.max(t.x,i.x)>=Math.min(n.x,s.x)&&Math.max(n.x,s.x)>=Math.min(t.x,i.x)&&Math.max(t.y,i.y)>=Math.min(n.y,s.y)&&Math.max(n.y,s.y)>=Math.min(t.y,i.y)},i.prototype.JR=function(t,i,n,s,h){h.OE=!1;var e=(i.y-t.y)*(s.x-n.x)-(i.x-t.x)*(s.y-n.y),a=(n.y-t.y)*(i.x-t.x)-(n.x-t.x)*(i.y-t.y);if(0<=(e=0==e?2:a/e)&&1>=e){var o=e;if(e=(s.y-n.y)*(i.x-t.x)-(s.x-n.x)*(i.y-t.y),a=(t.y-n.y)*(s.x-n.x)-(t.x-n.x)*(s.y-n.y),0<=(e=0==e?2:a/e)&&1>=e)return h.pn=r.cQ(t.x+e*(i.x-t.x),t.y+e*(i.y-t.y)),h.pn.$h=n.$h+o*(s.$h-n.$h),0!=o&&1!=o||0!=e&&1!=e||(h.OE=!0),h.C0=e,h.D0=o,!((0==o||1==o)&&0<e&&1>e||(0==e||1==e)&&0<o&&1>o)}return !1},i.prototype.$P=function(t){for(;this.Yb[t].zh<t;)t=this.Yb[t].zh;var i=0,n=t;do{n=this.Yb[n],this.Yb[i]=n,n=n.xh,i++;}while(n!=t);this.Yb[i]=this.Yb[0],this.qf=i+1;},i.prototype.JD=function(t){var i=this.Do,n=i.Ba();if(null!=n){n.ej();for(var s=-1;n.Ta();)s++,this.mN(i,s,t);}},i.prototype.wy=function(){var i=this.Do.F();return 322==i?this.lN():197==i?this.kN():t.R.Ic(i)?((i=new t.Oa).$b(this.Do,!0),this.Do=i,this.wy()):1607==i?(i=new t.Oa,this.JD(i),i):1736==i?(i=new t.Ga,this.JD(i),i):null},i}();t.RL=a;}(W||(W={})),function(t){var i=function(){function t(t){this.xk=t;}return t.prototype.w=function(t,i){this.xk.a.w(t,i);},t.prototype.zd=function(t){var i=this.xk.Ja.ga(t);this.xk.Ja.zd(t,-1),this.xk.a.pd(i,!1);},t}(),n=function(){function t(t){this.xk=t;}return t.prototype.w=function(t,i){this.xk.aV.w(t,i);},t.prototype.zd=function(t){this.xk.Ja.zd(t,-1);},t}(),s=function(){function t(t){this.xk=t;}return t.prototype.w=function(t,i){i.K(this.xk.dV[t]);},t.prototype.zd=function(t){this.xk.Ja.zd(t,-1);},t}(),h=function(){function h(h){void 0===h?(this.Ja=new t.bk,this.Ja.Le(20),this.a=new t.Yc,this.SU=this.a.Pg(550),this.At=this.a.Ef(this.SU,-1),this.ci=new i(this)):h instanceof Array?(this.Ja=new t.bk,this.Ja.Le(20),this.dV=h,this.ci=new s(this)):(this.Ja=new t.bk,this.Ja.Le(20),this.aV=h,this.ci=new n(this));}return h.prototype.Bb=function(i){var n=i.F();if(t.ly.Rg(n))this.tO(i);else if(t.Zk.Ic(n))this.zO(i);else if(197==n)this.qO(i);else {if(33!=n)throw t.f.I("invalid shape type");this.xO(i);}},h.prototype.qS=function(){var i=new t.Ra,n=this.Ja.sc(-1),s=new t.Ga(this.a.Qt);for(this.a.bj(this.Ja.ga(n),i),s.xf(i),n=this.Ja.hb(n);-1!=n;n=this.Ja.hb(n))this.a.bj(this.Ja.ga(n),i),s.lineTo(i);return s},h.aQ=function(i){var n=new h(i),s=i.D(),r=1,e=new t.b,a=new t.b,o=new t.b;for(i.w(0,e);i.w(r,a),a.xA(e)&&r<s-1;)r++;for(n.Ja.addElement(0,-1),n.Ja.Qn(r),s=r+1;s<i.D();s++)i.w(s,o),-1!=(r=n.YC(o))&&n.Ja.Tj(r,s);for(o=new t.Ra,r=n.Ja.sc(-1),s=new t.Ga(i.description),i.ne(n.Ja.ga(r),o),s.xf(o),r=n.Ja.hb(r);-1!=r;r=n.Ja.hb(r))i.ne(n.Ja.ga(r),o),s.lineTo(o);return s},h.construct=function(t,i,n){for(var s=new h(t),r=1,e=t[0];t[r].xA(e)&&r<i-1;)r++;for(s.Ja.addElement(0,-1),s.Ja.Qn(r),r+=1;r<i;r++)-1!=(e=s.YC(t[r]))&&s.Ja.Tj(e,r);for(t=0,i=s.Ja.sc(-1);-1!=i;i=s.Ja.hb(i))n[t++]=s.Ja.ga(i);return t},h.vH=function(i,n){var s=i.ua(n),r=i.zc(n);if(n=!i.Lb(n)&&i.ho(n),i=i.Va(0),r*=2,n&&(r-=2),6>r-(s*=2))return !0;n=new t.b;var e=new t.b,a=new t.b;i.mc(s,n),i.mc(s+2,e),i.mc(s+4,a);var o=h.Dv(e,a,n);if(o.Ys()||!h.Hm(o.value()))return !1;var u=t.b.construct(e.x,e.y),f=new t.b;for(s+=6;s<r;s+=2){if(f.K(e),e.K(a),i.mc(s,a),(o=h.Dv(e,a,n)).Ys()||!h.Hm(o.value()))return !1;if((o=h.Dv(u,a,n)).Ys()||!h.Hm(o.value()))return !1;if((o=h.Dv(e,a,f)).Ys()||!h.Hm(o.value()))return !1}return !0},h.prototype.tO=function(i){for(var n=new t.Ra,s=new t.b,h=0;h<i.D();h++){i.w(h,s);var r=this.cs(s);if(-1!=r){i.ne(h,n);var e=this.a.jc(this.At,n);this.Ja.Tj(r,e);}}},h.prototype.qO=function(i){for(var n=new t.Ra,s=new t.b,h=0;4>h;h++){i.Ax(h,s);var r=this.cs(s);if(-1!=r){i.Pf(h,n);var e=this.a.jc(this.At,n);this.Ja.Tj(r,e);}}},h.prototype.zO=function(i){var n=new t.Ra,s=i.ac();if(-1!=(s=this.cs(s))){i.jp(n);var h=this.a.jc(this.At,n);this.Ja.Tj(s,h);}s=i.wc(),-1!=(s=this.cs(s))&&(i.hp(n),i=this.a.jc(this.At,n),this.Ja.Tj(s,i));},h.prototype.xO=function(t){var i=t.w();-1!=(i=this.cs(i))&&(t=this.a.jc(this.At,t),this.Ja.Tj(i,t));},h.prototype.cs=function(t){var i=-1;if(0==this.Ja.size(-1))return this.Ja.addElement(-4,-1);if(1==this.Ja.size(-1)){var n=this.a.xa(this.Ja.ga(this.Ja.sc(-1)));return t.xA(n)||(i=this.Ja.Qn(-5)),i}return this.YC(t)},h.prototype.YC=function(i){var n=-1;do{var s=this.Ja.sc(-1),r=this.Ja.Gc(-1),e=this.Ja.ga(s),a=this.Ja.ga(r),o=new t.b,u=new t.b;if(this.ci.w(e,o),this.ci.w(a,u),e=t.b.fp(u,i,o),h.Hm(e))n=this.Ja.Qn(-1),(o=this.WC(i,r,s))!=s&&this.XC(i,s,this.Ja.Be(o));else if(h.oH(e)){u=this.Ja.aw(-1);var f=this.Ja.sc(-1),c=this.Ja.Gc(-1);for(e=new t.b,a=new t.b;f!=this.Ja.Be(c);){var l=this.Ja.ga(u);this.ci.w(l,e),l=t.b.fp(e,i,o),h.oH(l)?(c=u,u=this.Ja.rl(u)):(f=u,u=this.Ja.pq(u));}if(u=c,o=f,l=this.Ja.ga(u),f=this.Ja.ga(o),this.ci.w(l,e),this.ci.w(f,a),o!=s&&(e=t.b.fp(a,i,e),!h.Hm(e)))continue;n=this.Ja.fv(o,u,-2,!1),this.XC(i,u,r),this.WC(i,o,s);}else null==this.sb&&(this.sb=new t.zb),this.sb.Fc(u),this.sb.Sc(o),0>(o=this.sb.ae(i,!0))?(o=this.Ja.Be(r),this.Ja.zd(r,-1),n=this.Ja.Qn(-3),this.WC(i,o,s)):1<o&&(o=this.Ja.hb(s),this.Ja.zd(s,-1),n=this.Ja.fv(-1,o,-3,!1),this.XC(i,o,r));}while(0);return n},h.prototype.XC=function(i,n,s){if(n!=s){var r=this.Ja.ga(n),e=this.Ja.hb(n),a=new t.b,o=new t.b;for(this.ci.w(r,a);n!=s&&2<this.Ja.size(-1)&&(this.ci.w(this.Ja.ga(e),o),r=t.b.fp(o,i,a),!h.Hm(r));)r=n,n=e,a.K(o),e=this.Ja.hb(n),this.ci.zd(r);}},h.prototype.WC=function(i,n,s){if(n==s)return s;var r=this.Ja.ga(n),e=this.Ja.Be(n),a=new t.b,o=new t.b;for(this.ci.w(r,a);n!=s&&2<this.Ja.size(-1)&&(this.ci.w(this.Ja.ga(e),o),r=t.b.fp(a,i,o),!h.Hm(r));)r=n,n=e,a.K(o),e=this.Ja.Be(n),this.ci.zd(r);return n},h.Dv=function(i,n,s){var h=new t.Wb;h.set(n.x),h.sub(i.x);var r=new t.Wb;r.set(s.y),r.sub(i.y);var e=new t.Wb;return e.set(n.y),e.sub(i.y),(n=new t.Wb).set(s.x),n.sub(i.x),h.Gg(r),e.Gg(n),h.sub(e),h},h.Hm=function(t){return 0>t},h.oH=function(t){return 0<t},h.j0=function(t){return 0==t},h}();t.Gu=h;}(W||(W={})),function(t){var i=function(){function i(t){this.a=null,this.gI=!0,this.nd=t;}return i.eJ=function(i,n,s){return i=t.la.es(i),t.Fu.jw(n.Ce(),n.lf(),s.Ce(),s.lf(),t.Tb.Wx(i))},i.MP=function(i,n){var s=new t.Ra;return t.Fu.oV(i,n,s),s},i.U=function(t,n,s,h){return (s=new i(s)).a=t,s.qa=n,s.gI=h,s.MN()},i.prototype.vN=function(i){return t.Fu.uR(this.a,i)},i.prototype.AN=function(i){return t.Hu.U(this.a,i,this.nd)},i.prototype.MN=function(){var i=this.qa,n=t.la.es(i),s=1.00001*(i=t.la.CO(i));i*=1.000001;for(var h=!1,r=30<this.a.hd+10?1e3:(this.a.hd+10)*(this.a.hd+10),e=0,a=this.a.ET();;e++){if(e>r)throw t.f.Y("Internal Error: max number of iterations exceeded");var o=this.vN(n);if(h=h||o,this.gI&&(o=0!=this.a.$p(n,!0,!1),h=h||o),o=!1,(0==e||a||t.Hu.$I(!0,this.a,i,null,this.nd))&&(o=this.AN(s),h=h||o),!o)break;t.Ep.Sp(this.nd);}return h},i}();t.$j=i;}(W||(W={})),function(t){var i=function(){function i(t){this.ge=this.Nc=null,this.Gt=0,this.Vb=t,this.NA=!0;}return i.prototype.cw=function(t,i){var n=this.a.ec(t);if(null==n){if(!this.a.gd(t,i))return null;n=i;}return n},i.prototype.qr=function(){var i;void 0===i&&(i=!1),this.Gt++,(i||0==(4095&this.Gt))&&(this.Gt=0,t.Ep.Sp(this.Vb));},i.prototype.xQ=function(){var i=this.a.rr(!1),n=!1,s=new t.zb,h=new t.zb,r=new t.g;r.Ka();var e=new t.g;e.Ka();for(var a=new t.Ra,o=new t.AD,u=i.next();-1!=u;u=i.next()){t.Ep.Sp(this.Vb);var f=null,c=!1;if(!t.R.lo(this.a.dc(i.gk))){if(null==(f=this.cw(u,s)))continue;if(f.s(r),r.O(this.qa,this.qa),f.Qg(this.qa)){if(!f.Qg(0))continue;c=!0,f=null;}}var l=this.a.rr(i),p=l.next();for(-1!=p&&(p=l.next());-1!=p;p=l.next()){var b=null,v=!1;if(!t.R.lo(this.a.dc(l.gk))){if(null==(b=this.cw(p,h)))continue;if(b.s(e),b.Qg(this.qa)){if(!b.Qg(0))continue;v=!0,b=null;}}var y=0,w=0;if(null!=f&&null!=b)r.tH(e)&&(o.gp(f),o.gp(b),o.Ia(this.qa,!1),0<(y=o.ul(0))+(w=o.ul(1))&&(this.a.Fr(u,o,0,!0),this.a.Fr(p,o,1,!0)),o.clear());else if(null!=f){var d=new t.b;if(this.a.w(p,d),r.contains(d)){if(o.gp(f),this.a.bj(p,a),o.rA(this.qa,a,!1),0<(y=o.ul(0)))if(this.a.Fr(u,o,0,!0),v){for(v=-1,d=this.a.T(p);-1!=d&&d!=p&&(v=d,null!=(b=this.cw(d,h))&&b.Qg(0));d=this.a.T(d));for(d=p;-1!=d&&(this.a.Hh(d,o.Jf),d!=v);d=this.a.T(d));}else this.a.Hh(p,o.Jf);o.clear();}}else {if(null==b)continue;if(d=new t.b,this.a.w(u,d),e.O(this.qa,this.qa),e.contains(d)){if(o.gp(b),this.a.bj(u,a),o.rA(this.qa,a,!1),0<(w=o.ul(0)))if(this.a.Fr(p,o,0,!0),c){for(v=-1,d=this.a.T(u);-1!=d&&d!=u&&(v=d,null!=(b=this.cw(d,h))&&b.Qg(0));d=this.a.T(d));for(d=u;-1!=d&&(this.a.Hh(d,o.Jf),d!=v);d=this.a.T(d));}else this.a.Hh(u,o.Jf);o.clear();}}if(0!=y+w){if(0!=y){if(null==(f=this.a.ec(u))){if(!this.a.gd(u,s))continue;f=s,s.s(r);}else f.s(r);if(f.Qg(this.qa))break}n=!0;}}}return n},i.prototype.yQ=function(){return this.hW()},i.prototype.hW=function(){return (new t.yD).uZ(this.a,this.qa)},i.prototype.aJ=function(){var i=!1;null==this.Nc&&(this.Nc=new t.bk);var n=new t.ha(0);n.Db(this.a.hd+1);for(var s=this.a.rr(),h=s.next();-1!=h;h=s.next())n.add(h);this.a.Vx(n,n.size),n.add(-1),s=this.a.Kd(),h=this.a.Kd(),this.ge=new t.CD(this.a,this.qa,!this.NA),this.Nc.kp(this.ge);var r=new t.ha(0),e=new t.ha(0),a=0;new t.b;var o=this.a.ud;this.a.xb.rc();for(var u,f,c=this.a.xb.va[0].i,l=n.get(a++);-1!=l;){var p=u=c[2*(f=o.S(l,0))],b=f=c[2*f+1];do{var v=o.S(l,2),y=o.S(l,1);if(-1!=v){var w=o.S(v,0),d=c[2*w];0>(b<(w=c[2*w+1])?-1:b>w?1:p<d?-1:p>d?1:0)&&(e.add(l),e.add(v));}-1!=y&&(d=c[2*(w=o.S(y,0))],0>(b<(w=c[2*w+1])?-1:b>w?1:p<d?-1:p>d?1:0)&&(e.add(y),e.add(y))),-1!=(d=this.a.Na(l,s))&&(r.add(d),this.a.Qa(l,s,-1)),-1!=(d=this.a.Na(l,h))&&(r.add(d),this.a.Qa(l,h,-1)),-1!==(l=n.get(a++))&&(p=c[2*(b=o.S(l,0))],b=c[2*b+1]);}while(-1!=l&&p===u&&b===f);for(p=1==r.size&&2==e.size,d=b=-1,v=0,y=r.size;v<y;v++){w=r.get(v);var g=this.Nc.Be(w);if(-1==g||r.UG(g)||(b=g),-1==(w=this.Nc.hb(w))||r.UG(w)||(d=w),-1!=b&&-1!=d)break}for(this.ge.dL(f,u),v=0,y=r.size;v<y;v++)w=r.get(v),this.Nc.zd(w,-1);if(r.clear(!1),!p&&-1!=b&&-1!=d&&this.AP(b,d)){i=!0,this.Ti=this.ge.Dm();break}for(v=0,y=e.size;v<y;v+=2){if(f=e.get(v),u=e.get(v+1),p?(f=this.Nc.fv(b,d,f,!0),p=!1):f=this.Nc.addElement(f,-1),this.ge.yg){this.Ti=this.ge.Dm(),i=!0;break}-1==this.a.Na(u,s)?this.a.Qa(u,s,f):this.a.Qa(u,h,f);}if(i)break;e.Gh(0);}return this.a.Xd(s),this.a.Xd(h),i},i.prototype.AP=function(t,i){return this.ge.compare(this.Nc,this.Nc.ga(t),i),t=this.ge.yg,this.ge.ks(),t},i.jF=function(i){for(var n=i.ld;-1!=n;n=i.Ae(n))if(t.R.Bc(i.dc(n)))return !0;return !1},i.rR=function(t,n,s,h){return !!i.jF(t)&&((n=new i(h)).a=t,n.qa=s,15>t.hd?t=n.xQ():n.yQ())},i.U=function(t,n,s){return i.rR(t,t.uG(),n,s)},i.$I=function(n,s,h,r,e){if(!i.jF(s))return !1;var a=new i(e);if(a.a=s,a.qa=h,a.NA=n,a.aJ())return null!=r&&r.Or(a.Ti),!0;var o=new t.xd;return o.HC(),s.Qc(o),(a=new i(e)).a=s,a.qa=h,a.NA=n,n=a.aJ(),o.HC(),s.Qc(o),!!n&&(null!=r&&r.Or(a.Ti),!0)},i.Wl=function(t,i){return !(16>(t=t.D()))&&2*t+Math.log(t)*Math.LOG10E/Math.log(2)*i<1*t*i},i.vQ=function(n,s,h,r){if(t.R.Bc(s.F()))return new i(r).wQ(n,s,h);throw t.f.Y("crack_A_with_B")},i.prototype.wQ=function(s,h,r){var e=new t.g;s.Zb(e);var a=new t.g;if(h.Zb(a),a.O(r,r),!a.isIntersecting(e))return s;var o=s.ib,u=null;null!=o&&(u=o.Hb),i.Wl(s,s.D())&&(u=t.la.pj(s,a));var f=null!=u?u.getIterator():null,c=h.Ba();h=s.Ba();var l=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(a=[];c.Ta();)for(;c.Aa();){var p=c.aa();if(null!=u){for(f.wn(p,r),o=f.next();-1!=o;o=f.next())if(this.qr(),h.Rb(u.ga(o),-1),h.Aa()){var b=(o=h.aa()).Ia(p,null,l,null,r);for(o=0;o<b;++o){var v=l[o];if(0!=v&&1!=v){var y=h.wb(),w=new n;w.t=v,w.index=y,a.push(w);}}}}else {var d=new t.g;if(p.Zb(d),d.O(r,r),e.isIntersecting(d))for(h.ej();h.Ta();)for(;h.Aa();)if(this.qr(),o=h.aa(),v=new t.g,o.Zb(v),v.isIntersecting(d))for(b=o.Ia(p,null,l,null,r),o=0;o<b;++o)0!=(v=l[o])&&1!=v&&(y=h.wb(),(w=new n).t=v,w.index=y,a.push(w));}}if(0==a.length)return s;for(a=a.sort(n.ls),s=s.Ea(),h.ej();h.Ta()&&!h.Aa(););for(r=h.aa(),e=new t.og,u=-1,o=0,f=a.length;o<f;){for(l=a[o].index,c=o+1;c<f&&a[c].index==l;)++c;for(;h.wb()<l;){if(this.qr(),p=h.Aa(),v=h.Pa,(d=p||!h.io()||h.jo())&&s.$b(r,u!=v),u=v,!p)for(;h.Ta()&&!h.Aa(););r=h.aa();}for(l=0;o<c;o++)(v=a[o].t)!=l&&(r.jh(l,v,e),l=v,v=h.Pa,s.$b(e.get(),u!=v),u=v);if((d=(p=h.Aa())||!h.io()||h.jo())&&(r.jh(l,1,e),s.$b(e.get(),!1)),p)r=h.aa();else {for(;h.Ta()&&!h.Aa(););r=h.Aa()?h.aa():null;}o=c;}for(null!=r&&(v=h.Pa,(d=(p=h.Aa())||!h.io()||h.jo())&&s.$b(r,u!=v),u=v),p=h.Aa();;){if(!p){for(;h.Ta()&&!(p=h.Aa()););if(!p)break}r=h.aa(),v=h.Pa,(d=(p=h.Aa())||!h.io()||h.jo())&&s.$b(r,u!=v),u=v;}return s},i}();t.Hu=i;var n=function(){function t(){}return t.ls=function(t,i){return t.index==i.index?t.t>i.t?1:t.t<i.t?-1:0:t.index>i.index?1:-1},t}();}(W||(W={})),function(t){var i;(i=t.TL||(t.TL={}))[i.Left=0]="Left",i[i.Right=1]="Right",i[i.Coincident=2]="Coincident",i[i.Undefined=3]="Undefined",i[i.Uncut=4]="Uncut";var n=function(t,i,n,s,h,r,e,a,o,u,f){this.W=t,this.Jt=i,this.vt=n,this.Ag=s,this.Ym=u,this.Il=f;};t.a_=n;var s=function(){function i(t,i){this.yI=t,this.Ni=i;}return i.prototype.yN=function(i,n){var s=new t.b;this.Ni.w(i,s);var h=new t.b;return this.Ni.w(n,h),0!=(s=s.compare(h))?s:(i=this.Ni.Na(i,this.yI))<(n=this.Ni.Na(n,this.yI))?-1:i==n?0:1},i}(),h=function(t,i,n,s,h,r,e,a,o){this.Ag=t,this.vt=i,this.xB=n,this.JI=s,this.Ki=h,this.Il=r,this.Ym=e,this.KI=a,this.gV=o;};t.$Z=h,t.UL=function(){function i(){}return i.SL=function(s,h,r,e,a,o){if(h.u())s=new n(h,4,-1,-1,NaN,4,-1,-1,NaN,-1,-1,NaN,-1,-1,NaN),a.push(s);else if(r.u())s=new n(h,4,-1,-1,NaN,4,-1,-1,NaN,-1,-1,NaN,-1,-1,NaN),a.push(s);else {var u=new t.Yc;if(u.Bb(h),u.Bb(r),t.$j.U(u,e,o,!0),0==u.hd)s=new n(h.Ea(),4,-1,-1,NaN,4,-1,-1,NaN,-1,-1,NaN,-1,-1,NaN),a.push(s);else {for(h=0,r=u.Kd(),e=u.ld;-1!=e;e=u.Ae(e))for(o=u.Kb(e);-1!=o;o=u.Qb(o))for(var f=u.Za(o),c=0,l=u.Ha(o);c<l;f=u.T(f),c++)u.Qa(f,r,h++);h=i.PN(r,u),i.jN(s,h,u,a);}}},i.PN=function(n,h){for(var r=h.hd,e=new t.ha(0),a=h.ld;-1!=a;a=h.Ae(a))for(var o=h.Kb(a);-1!=o;o=h.Qb(o))for(var u=h.Za(o),f=0,c=h.Ha(o);f<c;u=h.T(u),f++)e.add(u);var l=new s(n,h);e.Zd(0,r,(function(t,i){return l.yN(t,i)})),n=[];var p=[],b=h.Kd(),v=h.Kd();a=h.ld,o=h.Ae(a),c=new t.b;var y=new t.b,w=e.get(0),d=h.cd(w),g=h.Zf(d);h.w(w,c);var x=1;for(u=0;x<r-1;){var m=!1;for(f=x;f<r;f++)if(f!=u){var j=e.get(f),M=h.cd(j),k=h.Zf(M);if(h.w(j,y),!c.qb(y))break;g==a&&k==o&&(m=i.CN(b,v,h,n,p,d,w,M,j));}if(m||u==x-1){if(m&&u==x-1&&x--,++u==r)break;w=e.get(u),d=h.cd(w),g=h.Zf(d),h.w(w,c);}m||(x=u+1);}for(r=[],a=h.ld;-1!=a;a=h.Ae(a))for(o=h.Kb(a);-1!=o;o=h.Qb(o))for(e=h.Za(o),f=0,c=h.Ha(o);f<c;e=h.T(e),f++){if(0<=(u=h.Na(e,v)))for(;u<p.length&&p[u].Ag==e;)r.push(p[u++]);if(0<=(u=h.Na(e,b)))for(;u<n.length&&n[u].Ag==e;)r.push(n[u++]);}return h.Xd(b),h.Xd(v),r},i.CN=function(t,n,s,h,r,e,a,o,u){var f=s.wj(e),c=s.wj(o),l=s.Za(e),p=s.Za(o),b=s.Ma(a),v=s.Ma(u),y=!1,w=!1,d=!1,g=!1;return a!=l&&(u!=p&&(y=i.DN(t,s,h,e,b,o,v)),u!=c&&(w=i.EN(t,s,h,e,b,o,u))),a!=f&&(u!=p&&(d=i.FN(n,s,r,e,a,o,v,l)),u!=c&&(g=i.GN(n,s,r,e,a,o,u,l))),y&&w&&d?(t=h.length-1,2==r[g?r.length-2:r.length-1].Ki&&(h[t-1]=h[t],--h.length)):y&&w&&g&&2==r[r.length-1].Ki&&(r=h[h.length-1],--h.length,s.Na(r.Ag,t)==h.length&&s.Qa(r.Ag,t,-1)),y||w||d||g},i.DN=function(i,n,s,r,e,a,o){var u=new t.zb,f=new t.zb,c=[0,0],l=[0,0],p=n.ec(e);return null==p&&(n.gd(e,u),p=u),null==(u=n.ec(o))&&(n.gd(o,f),u=f),2>(p=p.Ia(u,null,c,l,0))&&(r=new h(e,r,c[0],NaN,p,o,a,l[0],NaN),s.push(r),0>(r=n.Na(e,i))&&n.Qa(e,i,s.length-1)),!0},i.EN=function(i,n,s,r,e,a,o){var u=new t.zb,f=new t.zb,c=[0,0],l=[0,0],p=n.ec(e);return null==p&&(n.gd(e,u),p=u),null==(u=n.ec(o))&&(n.gd(o,f),u=f),2>(p=p.Ia(u,null,c,l,0))&&(r=new h(e,r,c[0],NaN,p,o,a,l[0],NaN),s.push(r),0>(r=n.Na(e,i))&&n.Qa(e,i,s.length-1),!0)},i.FN=function(i,n,s,r,e,a,o,u){var f=new t.zb,c=new t.zb,l=[0,0],p=[0,0],b=n.ec(e);return null==b&&(n.gd(e,f),b=f),null==(f=n.ec(o))&&(n.gd(o,c),f=c),2==(b=b.Ia(f,null,l,p,0))?(r=new h(e,r,l[0],l[1],b,o,a,p[0],p[1]),s.push(r),0>(r=n.Na(e,i))&&n.Qa(e,i,s.length-1),!0):(c=!1,e==u&&(r=new h(e,r,l[0],NaN,b,o,a,p[0],NaN),s.push(r),0>(r=n.Na(e,i))&&n.Qa(e,i,s.length-1),c=!0),c)},i.GN=function(i,n,s,r,e,a,o,u){var f=new t.zb,c=new t.zb,l=[0,0],p=[0,0],b=n.ec(e);return null==b&&(n.gd(e,f),b=f),null==(f=n.ec(o))&&(n.gd(o,c),f=c),2==(b=b.Ia(f,null,l,p,0))?(r=new h(e,r,l[0],l[1],b,o,a,p[0],p[1]),s.push(r),0>(r=n.Na(e,i))&&n.Qa(e,i,s.length-1),!0):(c=!1,e==u&&(r=new h(e,r,l[0],NaN,b,o,a,p[0],NaN),s.push(r),0>(r=n.Na(e,i))&&n.Qa(e,i,s.length-1),c=!0),c)},i.jN=function(s,h,r,e){var a=[];a[0]=new t.b,a[1]=new t.b,a[2]=new t.b,a[3]=new t.b;var o=new t.b,u=new t.b,f=new t.b,c=new t.b,l=null;null!=e&&(l=new t.og).ps();var p=0,b=null,v=new t.zb;new t.zb;for(var y=r.Kb(r.ld);-1!=y;y=r.Qb(y)){for(var w=4,d=-1,g=-1,x=-1,m=-1,j=NaN,M=!0,k=!1,z=!0,N=!0,A=!0,I=0,C=y,P=0,q=r.Za(y),D=r.Ha(y),B=0;B<D;q=r.T(q),B++){var G=r.ec(q);if(null==G){if(!r.gd(q,v))continue;G=v;}-1==g&&(g=q);for(var F=0;p<h.length&&q==h[p].Ag;){d=h[p].vt;var E=h[p].Ag,T=h[p].xB,S=h[p].Ym,O=h[p].Il,H=h[p].KI;if(2==h[p].Ki){if(k||(C=d,g=E,P=T,x=S,m=O,j=H,w=2,null!=e?b=new t.Oa:I=0,A=!1,N=!0),T=h[p].JI,H=h[p].gV,null!=e?(G.jh(F,h[p].JI,l),b.$b(l.get(),N)):I++,F=T,k=!0,N=M=!1,p+1==h.length||2!=h[p+1].Ki||h[p+1].Ag==E&&h[p+1].xB!=F){if(null!=e){var L=new n(b,2,d,E,T,w,C,g,P,S,O,H,x,m,j);e.push(L);}else null.add(I);C=d,g=E,P=T,x=S,m=O,j=H,w=2,k=M=!1,N=A=!0;}}else {var J=r.T(E);if(p<h.length-1&&h[p+1].Ag==J&&h[p+1].Il==O&&2==h[p+1].Ki)T!=F&&(A&&(null!=e?b=new t.Oa:I=0),M=0<p&&h[p-1].vt==d?1==w?0:0==w?1:3:3,null!=e?(G.jh(F,T,l),b.$b(l.get(),N),L=new n(b,M,d,E,T,w,C,g,P,S,O,H,x,m,j),e.push(L)):(I++,null.add(I)),F=T,C=d,g=E,P=T,x=S,m=O,j=H,w=M,M=z=!1,N=A=!0);else if(!i.KN(s,r,h,p,o,u)){i.HN(r,h,p,y,q,f,c);var K=!1;if(J=!1,L=!0,!(o.qb(f)||u.qb(f)||o.qb(c)||u.qb(c))){a[0].K(o),a[1].K(u),a[2].K(f),a[3].K(c),a.sort(t.b.Wr);var R=a[0],U=a[1],Y=a[2],W=a[3];R.qb(o)?U.qb(u)?s?(J=K=!0,L=!1):K=!1:W.qb(u)?s?L=J=K=!0:K=!1:(K=!0,L=U.qb(f)):U.qb(o)?Y.qb(u)?s?(J=K=!0,L=!1):K=!1:R.qb(u)?s?L=J=K=!0:K=!1:(K=!0,L=Y.qb(f)):Y.qb(o)?W.qb(u)?s?(J=K=!0,L=!1):K=!1:U.qb(u)?s?L=J=K=!0:K=!1:(K=!0,L=W.qb(f)):R.qb(u)?s?(J=K=!0,L=!1):K=!1:Y.qb(u)?s?L=J=K=!0:K=!1:(K=!0,L=R.qb(f));}K&&(K=q==E,(T!=F||K&&0==F)&&(A&&(null!=e?b=new t.Oa:I=0),null!=e?(G.jh(F,T,l),b.$b(l.get(),N)):I++),L?1!=w?((T!=F||K&&0==F)&&(null!=e?(L=new n(b,1,d,E,T,w,C,g,P,S,O,H,x,m,j),e.push(L)):null.add(I)),J?(p>=h.length-2||h[p+2].vt!=d)&&(w=0):w=1):((T!=F||K&&0==F)&&(null!=e?(L=new n(b,3,d,E,T,w,C,g,P,S,O,H,x,m,j),e.push(L)):null.add(I)),w=1):0!=w?((T!=F||K&&0==F)&&(null!=e?(L=new n(b,0,d,E,T,w,C,g,P,S,O,H,x,m,j),e.push(L)):null.add(I)),J?(p>=h.length-2||h[p+2].vt!=d)&&(w=1):w=0):((T!=F||K&&0==F)&&(null!=e?(L=new n(b,3,d,E,T,w,C,g,P,S,O,H,x,m,j),e.push(L)):null.add(I)),w=0),(T!=F||K&&0==F)&&(F=T,C=d,g=E,P=T,x=S,m=O,j=H,M=z=!1,N=A=!0));}}p++;}1!=F&&(A&&(null!=e?b=new t.Oa:I=0),null!=e?(G.jh(F,1,l),b.$b(l.get(),N)):I++,N=A=!1,z=!0);}z&&(T=1,E=r.wj(y),E=r.Ma(E),O=S=-1,H=NaN,M?null!=e?(L=new n(b,4,d,E,T,w,C,g,P,S,O,H,x,m,j),e.push(L)):null.add(I):(M=1==w?0:0==w?1:3,null!=e?(L=new n(b,M,d,E,T,w,C,g,P,S,O,H,x,m,j),e.push(L)):null.add(I)));}},i.KN=function(n,s,h,r,e,a){var o=h[r].KI;if(1==o)return i.IN(n,s,h,r,e,a);if(0==o)return i.JN(n,s,h,r,e,a);throw t.f.za()},i.IN=function(i,n,s,h,r,e){var a=new t.zb,o=s[h].Ag,u=s[h].Ym,f=s[h].Il,c=-1,l=-1,p=-1,b=-1;if(!i&&0<h){var v=s[h-1];c=v.Ag,l=v.Ym,p=v.Il,b=v.Ki;}var y=-1,w=-1,d=-1,g=-1;h<s.length-1&&(y=(v=s[h+1]).Ag,w=v.Ym,d=v.Il,g=v.Ki);var x=n.T(o);return v=n.T(f),i?h==s.length-1||y!=o||w!=u||d!=v||2==g?(null==(i=n.ec(f))&&(n.gd(f,a),i=a),e.K(i.qg()),r.Vt(e),e.normalize(),r.normalize(),!1):(null==(i=n.ec(f))&&(n.gd(f,a),i=a),r.K(i.qg()),null==(i=n.ec(v))&&(n.gd(v,a),i=a),e.K(i.qg()),r.lr(),e.normalize(),r.normalize(),!1):0<h&&c==o&&l==u&&p==v&&2==b||h<s.length-1&&y==x&&w==u&&d==v&&2==g?(null==(i=n.ec(f))&&(n.gd(f,a),i=a),e.K(i.qg()),r.Vt(e),e.normalize(),r.normalize(),!1):!(h<s.length-1&&y==o&&w==u&&d==v)||(null==(i=n.ec(f))&&(n.gd(f,a),i=a),r.K(i.qg()),null==(i=n.ec(v))&&(n.gd(v,a),i=a),e.K(i.qg()),r.lr(),e.normalize(),r.normalize(),!1)},i.JN=function(i,n,s,h,r,e){var a=new t.zb,o=s[h].Ag,u=s[h].Ym,f=s[h].Il,c=-1,l=-1,p=-1,b=-1;if(!i&&h<s.length-1){var v=s[h+1];c=v.Ag,l=v.Ym,p=v.Il,b=v.Ki;}var y=-1,w=-1,d=-1;v=-1,0<h&&(y=(v=s[h-1]).Ag,w=v.Ym,d=v.Il,v=v.Ki);var g=n.T(o),x=n.Ma(f);return i?0!=h&&y==o&&w==u&&d==x&&2!=v||(null==(i=n.ec(f))&&(n.gd(f,a),i=a),e.K(i.qg()),r.Vt(e),e.normalize(),r.normalize(),!1):!(0<h&&y==o&&w==u&&d==x&&2==v||h<s.length-1&&c==g&&l==u&&p==x&&2==b)||(null==(i=n.ec(f))&&(n.gd(f,a),i=a),e.K(i.qg()),r.Vt(e),e.normalize(),r.normalize(),!1)},i.HN=function(i,n,s,h,r,e,a){var o=new t.zb,u=i.ec(r);if(null==u&&(i.gd(r,o),u=o),n=(s=n[s]).Ag,s=s.xB,r=i.T(n),1==s)e.K(u.qg()),-1!=r&&r!=i.wj(h)?(null==(u=i.ec(r))&&(i.gd(r,o),u=o),a.K(u.qg()),null==(u=i.ec(n))&&i.gd(n,o)):a.K(e),e.lr(),a.normalize(),e.normalize();else {if(0!=s)throw t.f.za();a.K(u.qg()),e.Vt(a),a.normalize(),e.normalize();}},i}();}(W||(W={})),function(t){var i;(i=t.iN||(t.iN={}))[i.Linear=0]="Linear",i[i.Angular=1]="Angular",i[i.Area=2]="Area";var n=function(){function i(t,i,n){this.od=i,this.gi=n,this.eB=t;}return i.prototype.Ib=function(t){return t instanceof i&&this.gi===t.gi},i.MG=function(t){return 0!==t.od?null:-1===t.eB?new i(-1,2,t.gi*t.gi):i.hh(a[t.eB])},i.hh=function(t){return void 0===(t=e[t])?null:t},i.iQ=function(t,n,s){var h=null;if(null!=s)try{"EPSG"===s.values[0]&&(h=i.hh(parseInt(s.values[1])));}catch(r){}return null===h&&(h=new i(-1,t,n)),h},i.prototype.xc=function(){return this.eB},i.prototype.pG=function(i){if(i.od!=this.od)throw t.f.Eb();return this.gi/i.gi},i.Rh=function(t,i,n){return i.pG(n)*t},i.IF=function(t,i,n,s,h){for(n=n.pG(s),s=0;s<i;s++)h[s]=t[s]*n;},i}();t.Uc=n;for(var s=[109401,1e4,109402,4046.8564224,109403,4046.87260987425,109404,1,109405,.09290304,109406,.09290341161327487,109407,.09290137299531805,109408,3.34450944,109409,3429904,109410,1.000027193184865,109411,404.6872609874253,109412,.04046872609874253,109413,2589998.4703195216,109414,1e6,109415,.8361123569578626,109416,404.67838076760535,109417,.04046783807676053,109418,.8361244606523066,109419,.09290271785025629,109420,404.68423895571647,109421,.04046842389557164,109422,.83612589696064,109423,.0929028774400711,109424,404.6849341289498,109425,.04046849341289498,109426,.836125904805842,109427,.09290287831176021,109428,404.68493792602754,109429,.04046849379260275,109430,.09290354800069446,109431,.09290274144751023,109432,.09290207073852812,109433,.09290279616016,109434,.09290273520025,109435,.836124673027592,109436,.836118636646753,109437,.8361251654414399,109438,.83612461680225,109439,2589988.110336,109440,.09290286332673177,109441,.09290349665192114,109442,.83612736,109443,.8361307045194736,109444,404.68564224000005,109445,.04046856422400001,109446,.8361237024040001,109447,.0929026336004445,109448,404.683871963536,109449,.0404683871963536,109450,.01,109451,1e-4,109452,1e-6,109453,64516e-8,109454,.0006451625806477421,109455,25.292852640000003,109456,25.29295381171408,109457,3434528.1495040003,109458,3434290.937856,109459,2.89612324,109460,25e8,109461,225e8,109462,.7168473118308245,109463,100,109464,1.244521604938272e-7,109465,1e-12,109466,1e-18],h=[1031,4.84813681109536e-9,9101,1,9102,.0174532925199433,9103,.0002908882086657216,9104,484813681109536e-20,9105,.01570796326794897,9106,.01570796326794897,9109,1e-6,9112,.0001570796326794897,9113,1570796326794897e-21,9114,.0009817477042468104],r=[1025,.001,109452,1033,.01,109451,9001,1,109404,9002,.3048,109405,9003,.3048006096012192,109406,9005,.3047972654,109407,9014,1.8288,109408,9030,1852,109409,9031,1.0000135965,109410,9033,20.11684023368047,109411,9034,.2011684023368047,109412,9035,1609.3472186944375,109413,9036,1e3,109414,9037,.9143917962000001,109415,9038,20.1166195164,109416,9039,.201166195164,109417,9040,.9143984146160287,109418,9041,.304799471538676,109419,9042,20.116765121552632,109420,9043,.2011676512155263,109421,9050,.9143992,109422,9051,.3047997333333333,109423,9052,20.1167824,109424,9053,.201167824,109425,9060,.9143992042898124,109426,9061,.3047997347632708,109427,9062,20.116782494375872,109428,9063,.2011678249437587,109429,9070,.3048008333333334,109430,9080,.3047995102481469,109431,9081,.30479841,109432,9082,.3047996,109433,9083,.3047995,109434,9084,.9143985307444408,109435,9085,.91439523,109436,9086,.9143988,109437,9087,.9143985,109438,9093,1609.344,109439,9094,.3047997101815088,109440,9095,.3048007491,109441,9096,.9144,109442,9097,20.1168,109444,9098,.201168,109445,9099,.914398,109446,9300,.3047993333333334,109447,9301,20.116756,109448,9302,.20116756,109449,109001,.9144,109442,109002,.9144018288036576,109443,109003,20.1168,109444,109004,.201168,109445,109005,.1,109450,109006,.01,109451,109007,.001,109452,109008,.0254,109453,109009,.0254000508001016,109454,109010,5.0292,109455,109011,5.029210058420118,109456,109012,1853.248,109457,109013,1853.184,109458,109014,1.7018,109459,109015,.8466683600033867,109462,109016,.0003527777777777778,109464,109017,1e-6,109465,109018,1e-9,109466,109030,5e4,109460,109031,15e4,109461],e=[],a=[],o=0;o<s.length;o+=2)e[s[o]]=new n(s[o],2,s[o+1]);for(s=null,o=0;o<h.length;o+=2)e[h[o]]=new n(h[o],1,h[o+1]);for(h=null,o=0;o<r.length;o+=3)e[r[o]]=new n(r[o],0,r[o+1]),a[r[o]]=r[o+2];r=null;}(W||(W={})),function(t){var i=function(){function t(){this.yb=this.mb=0;}return t.prototype.set=function(t,i){void 0!==i?(this.mb=t,this.yb=i):"number"==typeof t?(this.mb=t,this.yb=0):(this.mb=t.mb,this.yb=t.yb);},t.prototype.value=function(){return this.mb},t.prototype.add=function(t){var i=this.mb+t.mb;t=this.yb+t.yb+2220446049250313e-31*Math.abs(i),this.mb=i,this.yb=t;},t.prototype.uO=function(){var t=this.mb+1,i=this.yb+2220446049250313e-31*Math.abs(t);this.mb=t,this.yb=i;},t.prototype.nO=function(t,i){this.mb=t.mb+i.mb,this.yb=t.yb+i.yb+2220446049250313e-31*Math.abs(this.mb);},t.prototype.sub=function(t){if("number"==typeof t){var i=this.mb-t;t=this.yb+2220446049250313e-31*Math.abs(i);}else i=this.mb-t.mb,t=this.yb+t.yb+2220446049250313e-31*Math.abs(i);this.mb=i,this.yb=t;},t.prototype.Gg=function(t){var i=this.mb*t.mb;this.yb=this.yb*Math.abs(t.mb)+t.yb*Math.abs(this.mb)+this.yb*t.yb+2220446049250313e-31*Math.abs(i),this.mb=i;},t.prototype.ep=function(t){var i=this.mb*t;this.yb=this.yb*Math.abs(t)+2220446049250313e-31*Math.abs(i),this.mb=i;},t.prototype.Ul=function(t,i){var n=Math.abs(t.mb)*Math.abs(i.mb);this.yb=t.yb*Math.abs(i.mb)+i.yb*Math.abs(t.mb)+t.yb*i.yb+2220446049250313e-31*Math.abs(n),this.mb=n;},t.prototype.um=function(t){var i=Math.abs(t.mb),n=this.mb/t.mb,s=(this.yb+Math.abs(n)*t.yb)/i;t.yb>.01*i&&(s*=1+(1+(t=t.yb/i))*t),this.mb=n,this.yb=s+2220446049250313e-31*Math.abs(n);},t.prototype.sqrt=function(){if(0<=this.mb){var t=Math.sqrt(this.mb),i=this.mb>10*this.yb?.5*this.yb/t:this.mb>this.yb?t-Math.sqrt(this.mb-this.yb):Math.max(t,Math.sqrt(this.mb+this.yb)-t);i+=2220446049250313e-31*Math.abs(t);}else this.mb<-1*this.yb?i=t=NaN:(t=0,i=Math.sqrt(this.yb));this.mb=t,this.yb=i;},t.prototype.sin=function(t){var i=Math.sin(t.mb),n=Math.cos(t.mb);this.mb=i,i=Math.abs(i),this.yb=(Math.abs(n)+.5*i*t.yb)*t.yb+2220446049250313e-31*i;},t.prototype.cos=function(t){var i=Math.sin(t.mb),n=Math.cos(t.mb);this.mb=n,n=Math.abs(n),this.yb=(Math.abs(i)+.5*n*t.yb)*t.yb+2220446049250313e-31*n;},t.prototype.xg=function(){return Math.abs(this.mb)<=this.yb},t.prototype.Ys=function(){return this.xg()&&0!=this.yb},t}();t.Wb=i;}(W||(W={}));var Q=new W.b,$=new W.b,_=new W.b,tt=new W.b,it=new W.b;!function(t){var i,n;(n=i||(i={}))[n.closedPath=1]="closedPath",n[n.exteriorPath=2]="exteriorPath",n[n.ringAreaValid=4]="ringAreaValid";var s=function(){function i(t,i,n,s,h,r,e){void 0!==i?(this.Ya=t,this.gk=i,this.il=n,this.ri=s,this.ya=r,this.TA=e,this.Ow=h):(this.Ya=t.Ya,this.gk=t.gk,this.il=t.il,this.ri=t.ri,this.ya=t.ya,this.TA=t.TA,this.Ow=t.Ow),this.PH=!0;}return i.prototype.next=function(){return this.PH?(this.PH=!1,this.ri):-1!=this.ri?(this.ri=this.Ya.T(this.ri),this.ya++,-1!=this.ri&&this.ri!=this.Ow?this.ri:this.tV()):-1},i.prototype.tV=function(){for(this.il=this.Ya.Qb(this.il),this.ya=0;-1!=this.gk;){for(;-1!=this.il;this.il=this.Ya.Qb(this.il))if(this.Ow=this.ri=this.Ya.Za(this.il),-1!=this.ri)return this.ri;if(this.gk=this.Ya.Ae(this.gk),-1==this.gk)break;this.TA&&!t.R.Bc(this.Ya.dc(this.gk))||(this.il=this.Ya.Kb(this.gk));}return -1},i.LQ=function(t,n,s,h,r,e,a){return new i(t,n,s,h,r,e,a)},i}();t.f_=s,i=function(){function i(){this.Co=this.Nm=this.Dk=this.dd=this.Kk=this.Oo=this.Ui=this.md=this.hi=this.Zg=this.bf=this.Sl=null,this.Xw=this.ld=-1,this.hd=0,this.QA=!1,this.Qt=this.Rt=this.xb=null;}return i.prototype.Yh=function(t){return null!=this.bf?this.bf[t]:null},i.prototype.eh=function(t,i){if(null==this.bf){if(null==i)return;this.bf=[];for(var n=0,s=this.xb.D();n<s;n++)this.bf.push(null);}this.bf[t]=i;},i.prototype.rp=function(t,i){this.md.P(t,1,i);},i.prototype.qp=function(t,i){this.md.P(t,2,i);},i.prototype.DC=function(t,i){this.md.P(t,6,i);},i.prototype.mq=function(t){return this.md.S(t,6)},i.prototype.Nx=function(t,i){this.md.P(t,7,i);},i.prototype.Zv=function(t){return this.md.S(t,0)},i.prototype.SK=function(t,i){this.dd.P(t,1,i);},i.prototype.WK=function(t,i){this.dd.P(t,0,i);},i.prototype.vG=function(t){return this.dd.S(t,7)},i.prototype.op=function(t,i){this.dd.P(t,3,i);},i.prototype.pp=function(t,i){this.dd.P(t,4,i);},i.prototype.OV=function(i){null==this.dd&&(this.dd=new t.ad(8));var n=this.dd.Ke();return this.dd.P(n,2,i),this.dd.P(n,5,0),this.dd.P(n,6,0),this.dd.P(n,7,n),n},i.prototype.$R=function(t){this.dd.jd(t);},i.prototype.QV=function(i){null==this.md&&(this.md=new t.ad(8),this.ud=new t.ad(5),this.Ui=new t.ie(0),this.Oo=new t.ie(0));var n=this.md.Ke();return this.md.P(n,0,n),this.md.P(n,3,0),this.md.P(n,6,0),this.Nx(n,i),n>=this.Ui.size&&(i=16>n?16:t.L.truncate(3*n/2),this.Ui.resize(i),this.Oo.resize(i)),this.Ui.set(n,0),this.Oo.set(n,0),n},i.prototype.fG=function(t){this.md.jd(t);},i.prototype.Az=function(t){this.ud.jd(t),this.hd--;},i.prototype.dJ=function(i){null==this.md&&(this.md=new t.ad(8),this.ud=new t.ad(5),this.Ui=new t.ie(0),this.Oo=new t.ie(0));var n=this.ud.Ke(),s=0<=i?i:n;if(this.ud.P(n,0,s),0>i){if(s>=this.xb.D()){if(i=16>s?16:t.L.truncate(3*s/2),this.xb.resize(i),null!=this.bf)for(var h=0;h<i;h++)this.bf.push(null);null!=this.Zg&&this.Zg.resize(i),this.Rt=this.xb.Va(0);}this.xb.nb(s,-1e38,-1e38),null!=this.bf&&(this.bf[s]=null),null!=this.Zg&&this.Zg.write(s,1);}return this.ud.P(n,4,2*s),this.hd++,n},i.prototype.Bj=function(t,i,n){var s=-1!=i?this.Ma(i):this.wj(t),h=-1!=s?this.T(s):-1,r=this.dJ(null==n?this.hd:-1),e=this.Ua(r);return null!=n&&this.xb.ru(e,n),this.hj(r,t),this.Dc(r,h),this.Ec(r,s),-1!=h&&this.Ec(h,r),-1!=s&&this.Dc(s,r),n=this.Lb(t),s=this.Za(t),-1==i&&this.dh(t,r),i==s&&this.Sf(t,r),n&&-1==h&&(this.Dc(r,r),this.Ec(r,r)),this.Wj(t,this.Ha(t)+1),t=this.Zf(t),this.Uj(t,this.D(t)+1),r},i.prototype.zm=function(){return null==this.Co&&(this.Co=new t.Ra(this.xb.description)),this.Co},i.prototype.np=function(t,i){this.dd.P(t,2,-134217729&this.dd.S(t,2)||(1==i?134217728:0));},i.prototype.$n=function(t){return 0!=(134217728&this.dd.S(t,2))?1:0},i.prototype.rO=function(t){var i=this.Pg(t.F(),t.description);return 1736==t.F()&&this.np(i,t.$n()),this.GE(i,t),i},i.prototype.sO=function(t){var i=this.Pg(t.F(),t.description);return this.HE(i,t),i},i.prototype.pX=function(i,n){null==this.md&&(this.md=new t.ad(8),this.ud=new t.ad(5),this.Ui=new t.ie(0),this.Oo=new t.ie(0)),this.md.Le(this.md.Og+i),this.ud.Le(this.ud.Og+n),this.Ui.Db(this.Ui.size+i),this.Oo.Db(this.Oo.size+i);},i.prototype.GE=function(i,n){this.pX(n.$(),n.D()),this.Sl.yd(n,0,n.D()),this.Rt=this.xb.Va(0);for(var s=null!=this.bf&&null!=n.af,h=0,r=n.$();h<r;h++)if(!(2>n.Ha(h))){var e=this.Ef(i,-1);this.An(e,n.Lb(h));for(var a=n.ua(h),o=n.zc(h);a<o;a++){var u=this.Bj(e,-1,null);if(s)if(u=this.Ua(u),0!=(1&n.KG(a)))this.eh(u,null);else {var f=new t.og;n.ec(a,f,!0),this.eh(u,f.get());}}}},i.prototype.HE=function(t,i){this.Sl.yd(i,0,i.D()),this.Rt=this.xb.Va(0),t=this.Ef(t,-1);var n=0;for(i=i.D();n<i;n++)this.Bj(t,-1,null);},i.prototype.sZ=function(i,n,s){var h=this.T(i);if(-1==h)throw t.f.za();for(var r=this.zm(),e=this.cd(i),a=0,o=n.ul(s);a<o;a++){var u=this.Ua(i),f=this.T(i),c=n.nq(s,a);0==a&&(c.jp(r),this.Hh(i,r)),322==c.F()?this.eh(u,null):this.eh(u,t.R.$d(c)),c.hp(r),a<o-1?i=this.Bj(e,f,r):this.Hh(h,r);}},i.prototype.rZ=function(i,n,s){var h=this.T(i);if(-1==h)throw t.f.za();for(var r=this.zm(),e=this.cd(i),a=0,o=n.ul(s);a<o;a++){var u=this.Ua(i),f=this.T(i),c=n.nq(s,o-a-1);0==a&&(c.hp(r),this.Hh(i,r)),322==c.F()?this.eh(u,null):this.eh(u,t.R.$d(c)),c.jp(r),a<o-1?i=this.Bj(e,f,r):this.Hh(h,r);}},i.prototype.uG=function(){var i=new t.g;i.Ka();for(var n=this.rr(),s=new t.b,h=!0,r=n.next();-1!=r;r=n.next())this.w(r,s),h?i.Nb(s.x,s.y):i.Sk(s.x,s.y),h=!1;return i},i.prototype.Bb=function(i){var n=i.F();if(t.R.Bc(n))return this.rO(i);if(550==n)return this.sO(i);throw t.f.za()},i.prototype.FO=function(i,n){var s=n.F();if(t.R.Bc(s))this.GE(i,n);else {if(550!=s)throw t.f.za();this.HE(i,n);}},i.prototype.wO=function(i,n){var s=this.Pg(1736,i.description);if(2>i.Ha(n))return s;this.Sl.yd(i,i.ua(n),i.zc(n)),this.Rt=this.xb.Va(0);var h=this.Ef(s,-1);this.An(h,i.Lb(n)||!0);var r=null!=this.bf&&null!=i.af,e=i.ua(n);for(n=i.zc(n);e<n;e++){var a=this.Bj(h,-1,null);if(r)if(a=this.Ua(a),0!=(1&i.KG(e)))this.eh(a,null);else {var o=new t.og;i.ec(e,o,!0),this.eh(a,o.get());}}return s},i.prototype.ye=function(i){var n=this.dc(i),s=t.hM.Pg(n,this.Sl.description),h=this.D(i);if(0==h)return s;if(t.R.Bc(n)){n=this.$(i);for(var r=t.Xc.Sh(n+1),e=t.Xc.ns(n+1,0),a=s.description,o=0,u=a.Ca;o<u;o++){for(var f=a.kd(o),c=t.oa.Sa(f),l=t.Xc.JF(f,h),p=this.xb.Va(f),b=0,v=0,y=0,w=this.Kb(i);-1!=w;w=this.Qb(w)){var d=0;this.Lb(w)&&(d|=1),this.rU(w)&&(d|=4),0!=d&&e.DK(v,d);var g=this.Ha(w);if(r.write(v++,y),y+=g,0==f){g=p;var x=l,m=new t.b;for(d=this.Za(w);b<y;d=this.T(d),b++){var j=this.Ua(d);g.mc(2*j,m),x.Bu(2*b,m);}}else for(d=this.Za(w);b<y;d=this.T(d),b++)for(j=this.Ua(d),x=0;x<c;x++)m=p.Ig(j*c+x),l.Mr(b*c+x,m);}s.yn(f,l),r.write(n,h);}s.TK(e),s.UK(r),s.Oc(16777215);}else if(550==n){for(a=s.description,s.resize(h),o=0,u=a.Ca;o<u;o++){for(f=a.kd(o),c=t.oa.Sa(f),l=s.Va(f),p=this.xb.Va(f),b=0,w=this.Kb(i),g=this.Ha(w),d=this.Za(w);b<g;d=this.T(d),b++)for(j=this.Ua(d),x=0;x<c;x++)m=p.Ig(j*c+x),l.Mr(b*c+x,m);s.yn(f,l);}s.Oc(16777215);}return s},i.prototype.kC=function(t){for(var i=this.Kb(t);-1!=i;i=this.sr(i));i=this.fT(t);var n=this.Ae(t);-1!=i?this.SK(i,n):this.ld=n,-1!=n?this.WK(n,i):this.Xw=i,this.$R(t);},i.prototype.Pg=function(i,n){return void 0===n?this.MF(i,t.ke.ug()):this.MF(i,n)},i.prototype.MF=function(i,n){return i=this.OV(i),null==this.xb?this.xb=this.Sl=new t.Hd(n):this.Sl.Tl(n),this.Qt=this.Sl.description,this.QA=1<this.Qt.Ca,-1==this.ld?this.ld=i:(this.WK(i,this.Xw),this.SK(this.Xw,i)),this.Xw=i},i.prototype.Ae=function(t){return this.dd.S(t,1)},i.prototype.fT=function(t){return this.dd.S(t,0)},i.prototype.dc=function(t){return 2147483647&this.dd.S(t,2)},i.prototype.LK=function(i,n,s){n=this.Dk[n],(i=this.vG(i))>=n.size&&n.resize(Math.max(t.L.truncate(1.25*i),16),-1),n.write(i,s);},i.prototype.wG=function(t,i){return (t=this.vG(t))<(i=this.Dk[i]).size?i.read(t):-1},i.prototype.NF=function(){null==this.Dk&&(this.Dk=[]);for(var i=0;i<this.Dk.length;i++)if(null==this.Dk[i])return this.Dk[i]=t.Xc.Sh(0),i;return this.Dk.push(t.Xc.Sh(0)),this.Dk.length-1},i.prototype.cY=function(t){this.Dk[t]=null;},i.prototype.Kb=function(t){return this.dd.S(t,3)},i.prototype.Sv=function(t){return this.dd.S(t,4)},i.prototype.D=function(t){return this.dd.S(t,5)},i.prototype.$=function(t){return this.dd.S(t,6)},i.prototype.$p=function(i,n,s){for(var h=0,r=this.ld;-1!=r;r=this.Ae(r)){var e=this.dc(r);if(t.R.Bc(e)&&(!s||1736==e)){e=1736==this.dc(r);for(var a=this.Kb(r);-1!=a;){for(var o=0,u=this.Za(a);o<t.L.truncate(this.Ha(a)/2);){var f=this.T(u);if(-1==f)break;var c=this.Ua(u),l=this.Yh(c);null!=l?c=l.Pb():(l=this.Ua(f),c=this.xb.Yr(c,l)),c<=i?(0==c?0==h&&(h=-1):h=1,f!=this.wj(a)&&(this.UC(f,u),this.pd(f,!0))):u=this.T(u),o++;}for(o=this.Za(a),u=this.Lb(a)?o:this.wj(a);0<this.Ha(a);){if(-1==(f=this.Ma(u))){this.pd(u,!0),0==h&&(h=-1);break}var p=this.Ua(f);if(null!=(l=this.Yh(p))?c=l.Pb():(c=this.Ua(u),c=this.xb.Yr(c,p)),c<=i)0==c?0==h&&(h=-1):h=1,this.UC(f,u),this.pd(f,!1),o==f&&(o=this.Za(a));else if((u=this.Ma(u))==o)break}u=this.Ha(a),n&&(e?3>u:2>u)?(a=this.sr(a),h=0<u?1:0==h?-1:h):a=this.Qb(a);}}}return h},i.prototype.UC=function(t,i){var n=this.Ua(t),s=this.Ua(i);if(null!=this.Zg&&(n=this.Zg.read(n),this.Zg.write(s,n)),null!=this.hi)for(s=0,n=this.hi.length;s<n;s++)if(null!=this.hi[s]){var h=this.Na(t,s);-1!=h&&this.Qa(i,s,h);}},i.prototype.em=function(i,n,s){var h=0,r=this.T(i);if(-1==r)throw t.f.za();for(var e=this.Ua(i),a=this.Ua(r),o=this.Yh(e),u=null==o?this.xb.Yr(e,a):o.Pb(),f=0;f<s;f++){var c=n[f];if(0<c&&1>c){var l=c;null!=o&&(l=0<u?o.zy(c)/u:0),this.xb.VD(e,a,l,this.zm());var p=this.Bj(this.cd(i),r,this.zm());if(h++,null!=o){var b=o.jl(0,c);l=this.Ua(this.Ma(p)),this.eh(l,b),this.wf(p,b.wc()),f!=s-1&&1!=n[f+1]||(c=o.jl(c,1),this.eh(l,c));}}}return h},i.prototype.qZ=function(i,n,s){var h=0,r=this.T(i);if(-1==r)throw t.f.Y("internal error");var e=this.Ua(i),a=this.Ua(r),o=this.Yh(e),u=null==o?this.xb.Yr(e,a):o.Pb(),f=0;i=this.cd(i);for(var c=0;c<s;c++){var l=n[c];if(f<l&&1>l){var p=l;if(null!=o&&(p=0<u?o.zy(l)/u:0),this.xb.VD(e,a,p,this.zm()),p=this.TT(i,r,this.zm()),h++,null!=o){f=o.jl(f,l);var b=this.Ua(this.Ma(p));this.eh(b,f),this.nb(p,f.pa,f.ma),c!=s-1&&1!=n[c+1]||(f=o.jl(l,1),p=this.Ua(p),this.eh(p,f));}}f=l;}return h},i.prototype.TT=function(t,i,n){var s=-1!=i?this.Ma(i):this.wj(t),h=-1!=s?this.T(s):-1,r=this.dJ(null==n?this.hd:-1),e=this.Ua(r);return null!=n&&this.xb.ru(e,n),this.hj(r,t),this.Dc(r,h),this.Ec(r,s),-1!=h&&this.Ec(h,r),-1!=s&&this.Dc(s,r),n=this.Lb(t),s=this.Za(t),-1==i&&this.dh(t,r),i==s&&(n&&-1!=s||this.Sf(t,r)),n&&-1==h&&(this.Dc(r,r),this.Ec(r,r)),this.Wj(t,this.Ha(t)+1),t=this.Zf(t),this.Uj(t,this.D(t)+1),r},i.prototype.gF=function(i,n,s){var h=this.Ua(n),r=this.Ua(s);if(0>h||r>this.hd-1)throw t.f.I("invalid call");if(h>r&&!this.Lb(i))throw t.f.I("cannot iterate across an open path");for(i=0;n!=s;n=this.T(n))h=this.Ua(n),null!=(r=this.Yh(h))?i+=r.Pb():(r=this.Ua(this.T(n)),i+=this.xb.Yr(h,r));return i},i.prototype.Hh=function(t,i){var n=this.Ua(t);this.xb.ru(n,i),null!=(n=this.Yh(n))&&n.setStart(i),-1!=(t=this.Ma(t))&&(t=this.Ua(t),null!=this.Yh(t)&&n.setEnd(i));},i.prototype.bj=function(t,i){t=this.Ua(t),this.xb.ne(t,i);},i.prototype.wf=function(t,i){this.nb(t,i.x,i.y);},i.prototype.nb=function(t,i,n){var s=this.Ua(t);this.xb.nb(s,i,n),null!=(s=this.Yh(s))&&s.GC(i,n),-1!=(t=this.Ma(t))&&(t=this.Ua(t),null!=this.Yh(t)&&s.am(i,n));},i.prototype.w=function(t,i){this.xb.w(this.ud.S(t,0),i);},i.prototype.Hc=function(t,i){this.xb.va[0].mc(2*this.ud.S(t,0),i);},i.prototype.xa=function(i){var n=new t.b;return this.xb.w(this.ud.S(i,0),n),n},i.prototype.PG=function(t,i){this.Rt.mc(2*t,i);},i.prototype.Rc=function(t,i,n){return this.xb.Rc(t,this.Ua(i),n)},i.prototype.setAttribute=function(t,i,n,s){this.xb.setAttribute(t,this.Ua(i),n,s);},i.prototype.Ua=function(t){return this.ud.S(t,0)},i.prototype.lf=function(){var i=new t.b;return this.w(void 0,i),i.y},i.prototype.wq=function(t,i){t=this.Ua(t),i=this.Ua(i);var n=this.xb.va[0].i;return n[2*t]===n[2*i]&&n[2*t+1]===n[2*i+1]},i.prototype.kw=function(t,i){t=this.Ua(t);var n=this.xb.va[0].i;return n[2*t]===i.x&&n[2*t+1]===i.y},i.prototype.ZY=function(i,n){if(1>n&&(n=1),null==this.Zg){if(1==n)return;this.Zg=t.Xc.Wn(this.xb.D(),1);}(i=this.Ua(i))>=this.Zg.size&&this.Zg.resize(i+1,1),this.Zg.write(i,n);},i.prototype.OG=function(t){return t=this.Ua(t),null==this.Zg||t>=this.Zg.size?1:this.Zg.read(t)},i.prototype.Qa=function(t,i,n){i=this.hi[i],t=this.Ua(t),i.size<this.xb.D()&&i.resize(this.xb.D(),-1),i.write(t,n);},i.prototype.Na=function(t,i){return (t=this.Ua(t))<(i=this.hi[i]).size?i.read(t):-1},i.prototype.Kd=function(){null==this.hi&&(this.hi=[]);for(var i=0;i<this.hi.length;i++)if(null==this.hi[i])return this.hi[i]=t.Xc.Sh(0,-1),i;return this.hi.push(t.Xc.Sh(0,-1)),this.hi.length-1},i.prototype.Xd=function(t){this.hi[t]=null;},i.prototype.ec=function(t){return null!=this.bf?(t=this.Ua(t),this.bf[t]):null},i.prototype.gd=function(i,n){var s=this.ud.S(i,2);if(-1==s)return !1;if(this.QA){var h=new t.Ra;this.bj(i,h),n.setStart(h),this.bj(s,h),n.setEnd(h);}else this.xb.Hc(this.ud.S(i,0),Q),n.pm(0,Q),this.xb.Hc(this.ud.S(s,0),Q),n.pm(1,Q);return !0},i.prototype.DX=function(i,n,s){if(this.QA){var h=new t.Ra;this.bj(i,h),s.setStart(h),this.bj(n,h),s.setEnd(h);}else this.xb.Hc(i,Q),s.pm(0,Q),this.xb.Hc(n,Q),s.pm(1,Q);},i.prototype.Ef=function(i,n){if(-1!=n){if(i!=this.Zf(n))throw t.f.za();var s=this.Js(n);}else s=this.Sv(i);var h=this.QV(i);return -1!=n&&this.rp(n,h),this.qp(h,n),this.rp(h,s),-1!=s?this.qp(s,h):this.op(i,h),-1==n&&this.pp(i,h),this.bm(i,this.$(i)+1),h},i.prototype.$G=function(t,i,n,s){t=this.Ef(t,-1);for(var h=0,r=i,e=!1;r==n&&(e=!0),this.hj(r,t),h++,(r=this.T(r))!=i;);return this.An(t,!0),this.Wj(t,h),e&&(i=n),this.Sf(t,i),this.dh(t,this.Ma(i)),this.sp(t,!1),null!=s&&(s[0]=e),t},i.prototype.sr=function(t){var i=this.Js(t),n=this.Qb(t),s=this.Zf(t);return -1!=i?this.qp(i,n):this.op(s,n),-1!=n?this.rp(n,i):this.pp(s,i),this.KP(t),this.bm(s,this.$(s)-1),this.fG(t),n},i.prototype.KP=function(t){var i=this.Za(t);if(-1!=i){for(var n=0,s=this.Ha(t);n<s;n++){var h=i;i=this.T(i),this.Az(h);}i=this.Zf(t),this.Uj(i,this.D(i)-this.Ha(t));}this.Wj(t,0);},i.prototype.Qb=function(t){return this.md.S(t,2)},i.prototype.Js=function(t){return this.md.S(t,1)},i.prototype.Ha=function(t){return this.md.S(t,3)},i.prototype.Lb=function(t){return 0!=(1&this.mq(t))},i.prototype.An=function(t,i){if(this.Lb(t)!=i){if(0<this.Ha(t)){var n=this.Za(t),s=this.wj(t);i?(this.Dc(s,n),this.Ec(n,s),n=this.Ua(s)):(this.Dc(s,-1),this.Ec(n,-1),n=this.Ua(s)),this.eh(n,null);}this.DC(t,(1|this.mq(t))-1|(i?1:0));}},i.prototype.Zf=function(t){return this.md.S(t,7)},i.prototype.rU=function(t){return 0!=(2&this.mq(t))},i.prototype.yC=function(t,i){this.DC(t,(2|this.mq(t))-2|(i?2:0));},i.prototype.eA=function(i){if(this.zU(i))return this.Ui.get(this.Zv(i));var n=new t.zb,s=this.Za(i);if(-1==s)return 0;var h=new t.b;this.w(s,h);for(var r=0,e=0,a=this.Ha(i);e<a;e++,s=this.T(s)){var o=this.ec(s);if(null==o){if(!this.gd(s,n))continue;o=n;}r+=o.yy(h.x,h.y);}return this.sp(i,!0),this.Ui.set(this.Zv(i),r),r},i.prototype.Br=function(t,i,n){i=this.Kk[i],t=this.Zv(t),i.size<this.Ui.size&&i.resize(this.Ui.size,-1),i.write(t,n);},i.prototype.yj=function(t,i){return (t=this.Zv(t))<(i=this.Kk[i]).size?i.read(t):-1},i.prototype.oz=function(){null==this.Kk&&(this.Kk=[]);for(var i=0;i<this.Kk.length;i++)if(null==this.Kk[i])return this.Kk[i]=t.Xc.Sh(0),i;return this.Kk.push(t.Xc.Sh(0)),this.Kk.length-1},i.prototype.lC=function(t){this.Kk[t]=null;},i.prototype.sV=function(i,n,s){if(-1==s)throw t.f.I();if(n!=s){var h=this.Qb(s),r=this.Js(s),e=this.Zf(s);-1==r?this.op(e,h):this.qp(r,h),-1==h?this.pp(e,r):this.rp(h,r),this.Uj(e,this.D(e)-this.Ha(s)),this.bm(e,this.$(e)-1),r=-1==n?this.Sv(i):this.Js(n),this.rp(s,r),this.qp(s,n),-1==n?this.pp(i,s):this.rp(n,s),-1==r?this.op(i,s):this.qp(r,s),this.Uj(i,this.D(i)+this.Ha(s)),this.bm(i,this.$(i)+1),this.Nx(s,i);}},i.prototype.oj=function(t,i){this.xb.ne(this.Ua(i),this.zm()),this.Bj(t,-1,this.zm());},i.prototype.pd=function(i,n){var s=this.cd(i),h=this.Ma(i),r=this.T(i);-1!=h&&this.Dc(h,r);var e=this.Ha(s);if(i==this.Za(s)&&this.Sf(s,1<e?r:-1),-1!=r&&this.Ec(r,h),i==this.wj(s)&&this.dh(s,1<e?h:-1),-1!=h&&-1!=r){h=this.Ua(h);var a=this.Ua(r);n?null!=(n=this.Yh(h))&&(h=new t.b,this.xb.w(a,h),n.Sc(h)):(a=this.Ua(i),n=this.Yh(a),this.eh(h,n),null!=n&&(h=this.xb.xa(h),n.Fc(h)));}return this.Wj(s,e-1),s=this.Zf(s),this.Uj(s,this.D(s)-1),this.Az(i),r},i.prototype.Za=function(t){return this.md.S(t,4)},i.prototype.wj=function(t){return this.md.S(t,5)},i.prototype.T=function(t){return this.ud.S(t,2)},i.prototype.Ma=function(t){return this.ud.S(t,1)},i.prototype.cd=function(t){return this.ud.S(t,3)},i.prototype.jc=function(t,i){return this.Bj(t,-1,i)},i.prototype.rr=function(i){if(void 0===i)return this.rr(!1);if(i instanceof s)return new s(i);var n,h=-1,r=-1,e=-1,a=0,o=!1;for(n=this.ld;-1!=n;n=this.Ae(n))if(!i||t.R.Bc(this.dc(n))){for(h=this.Kb(n);-1!=h;h=this.Qb(h))if(e=r=this.Za(h),a=0,-1!=r){o=!0;break}if(o)break}return s.LQ(this,n,h,r,e,a,i)},i.prototype.Qc=function(t){if(this.Sl.Qc(t),null!=this.bf)for(var i=0,n=this.bf.length;i<n;i++)null!=this.bf[i]&&this.bf[i].Qc(t);},i.prototype.Fr=function(t,i,n,s){s?this.sZ(t,i,n):this.rZ(t,i,n);},i.prototype.Ec=function(t,i){this.ud.P(t,1,i);},i.prototype.Dc=function(t,i){this.ud.P(t,2,i);},i.prototype.hj=function(t,i){this.ud.P(t,3,i);},i.prototype.Wj=function(t,i){this.md.P(t,3,i);},i.prototype.Sf=function(t,i){this.md.P(t,4,i);},i.prototype.dh=function(t,i){this.md.P(t,5,i);},i.prototype.bm=function(t,i){this.dd.P(t,6,i);},i.prototype.Uj=function(t,i){this.dd.P(t,5,i);},i.prototype.tK=function(t){var i=t;do{var n=this.T(i);this.Dc(i,this.Ma(i)),this.Ec(i,n),i=n;}while(i!=t)},i.prototype.JC=function(t){this.hd=t;},i.prototype.tr=function(t){var i=this.Js(t),n=this.Qb(t),s=this.Zf(t);-1!=i?this.qp(i,n):this.op(s,n),-1!=n?this.rp(n,i):this.pp(s,i),this.Sf(t,-1),this.dh(t,-1),this.fG(t);},i.prototype.ui=function(i,n){var s=this.Ma(i),h=this.T(i);if(-1!=s&&this.Dc(s,h),-1!=h&&this.Ec(h,s),-1!=s&&-1!=h)if(s=this.Ua(s),h=this.Ua(h),n){if(null!=(n=this.Yh(s))){var r=new t.b;this.xb.w(h,r),n.Sc(r);}}else n=this.Ua(i),n=this.Yh(n),this.eh(s,n),null!=n&&(r=new t.b,this.xb.w(s,r),n.Fc(r));this.Az(i);},i.prototype.zU=function(t){return 0!=(4&this.mq(t))},i.prototype.sp=function(t,i){this.DC(t,(4|this.mq(t))-4|(i?4:0));},i.prototype.Vx=function(t,i){var n=this.ud.i;this.xb.rc();var s=this.xb.va[0].i;t.Zd(0,i,(function(t,i){var h=n[5*t];t=n[5*i],i=s[2*h],h=s[2*h+1];var r=s[2*t];return h<(t=s[2*t+1])?-1:h>t?1:i<r?-1:i>r?1:0}));},i.prototype.ET=function(){for(var i=this.ld;-1!=i;i=this.Ae(i))if(!t.R.Bc(this.dc(i)))return !0;return !1},i.prototype.QC=function(t,i){for(var n=this.Kb(t),s=this.Kb(i),h=this.Sv(t),r=this.Sv(i),e=this.Kb(t);-1!=e;e=this.Qb(e))this.Nx(e,i);for(e=this.Kb(i);-1!=e;e=this.Qb(e))this.Nx(e,t);this.op(t,s),this.op(i,n),this.pp(t,r),this.pp(i,h),n=this.D(t),s=this.$(t),h=this.$(i),this.Uj(t,this.D(i)),this.Uj(i,n),this.bm(t,h),this.bm(i,s),n=this.dd.S(t,2),this.dd.P(t,2,this.dd.S(i,2)),this.dd.P(i,2,n);},i}(),t.Yc=i;}(W||(W={})),function(t){var i=function(i){function n(n,s,h,r){var e=i.call(this)||this;return e.X=new t.g,void 0===n?e.FF():"number"==typeof n?e.eQ(n,s,h,r):n instanceof t.Ra?void 0!==s?e.yv(n,s,h):e.fQ(n):n instanceof t.oa?void 0!==s?e.hQ(n,s):e.gQ(n):n instanceof t.g?e.dQ(n):e.FF(),e}return Z(n,i),n.prototype.yv=function(i,n,s){this.description=t.ke.ug(),this.X.Ka(),i.u()||this.$u(i,n,s);},n.prototype.dQ=function(i){this.description=t.ke.ug(),this.X.H(i),this.X.normalize();},n.prototype.gQ=function(i){if(null==i)throw t.f.I();this.description=i,this.X.Ka();},n.prototype.hQ=function(i,n){if(null==i)throw t.f.I();this.description=i,this.X.H(n),this.X.normalize();},n.prototype.FF=function(){this.description=t.ke.ug(),this.X.Ka();},n.prototype.fQ=function(i){this.description=t.ke.ug(),this.X.Ka(),i.u()||this.$u(i);},n.prototype.eQ=function(i,n,s,h){this.description=t.ke.ug(),this.H(i,n,s,h);},n.prototype.H=function(t,i,n,s){if(this.vc(),"number"==typeof t)this.X.H(t,i,n,s);else for(this.Ka(),i=0,n=t.length;i<n;i++)this.Nb(t[i]);},n.prototype.mp=function(i){if(this.vc(),!i.BU())throw t.f.I();this.X.H(i);},n.prototype.Ka=function(){this.vc(),this.X.Ka();},n.prototype.u=function(){return this.X.u()},n.prototype.N=function(){return this.X.N()},n.prototype.ca=function(){return this.X.ca()},n.prototype.lk=function(){return this.X.lk()},n.prototype.cq=function(){return this.X.cq()},n.prototype.bq=function(){return this.X.hf()},n.prototype.Nb=function(i){if(i instanceof t.b)this.vc(),this.X.Nb(i);else if(i instanceof t.g)this.vc(),this.X.Nb(i);else if(i instanceof t.Ra){if(this.vc(),!i.Ac()){var s=i.description;if(this.description!=s&&this.Tl(s),this.u())this.$u(i);else {this.X.Nb(i.w());for(var h=1,r=s.Ca;h<r;h++)for(var e=s.Jd(h),a=t.oa.Sa(e),o=0;o<a;o++){var u=i.Rc(e,o),f=this.Qf(e,o);f.Nb(u),this.setInterval(e,o,f);}}}}else if(i instanceof n&&!i.u())for((s=i.description)!=this.description&&this.Tl(s),this.X.Nb(i.X),h=1,r=s.Ca;h<r;h++)for(e=s.kd(h),a=t.oa.Sa(e),o=0;o<a;o++)u=i.Qf(e,o),(f=this.Qf(e,o)).Nb(u),this.setInterval(e,o,f);},n.prototype.$u=function(i,n,s){if(void 0!==n){this.X.H(i.w(),n,s),s=1;for(var h=(n=i.description).Ca;s<h;s++)for(var r=n.Jd(s),e=t.oa.Sa(r),a=0;a<e;a++){var o=i.Rc(r,a);this.setInterval(r,a,o,o);}}else for(this.X.H(i.ia[0],i.ia[1]),s=1,h=(n=i.description).Ca;s<h;s++)for(r=n.Jd(s),e=t.oa.Sa(r),a=0;a<e;a++)o=i.Rc(r,a),this.setInterval(r,a,o,o);},n.prototype.setInterval=function(i,n,s,h){if(s="number"==typeof s?new t.uc(s,h):s,this.vc(),0==i)if(0==n)this.X.o=s.fa,this.X.v=s.ja;else {if(1!=n)throw t.f.Gd();this.X.A=s.fa,this.X.B=s.ja;}else this.gE(0,i,n,s.fa),this.gE(1,i,n,s.ja);},n.prototype.O=function(t,i){this.vc(),this.X.O(t,i);},n.prototype.Qc=function(i){if(i instanceof t.xd)this.vc(),i.VC(this.X);else if(this.vc(),!this.X.u()){var n=new t.WL;this.ip(n),n.qU()?n.Ka():i.VC(n);}},n.prototype.copyTo=function(i){if(i.F()!=this.F())throw t.f.I();if(i.vc(),i.description=this.description,i.X.H(this.X),i.ia=null,null!=this.ia){i.Vu();for(var n=0;n<2*(this.description.Ge.length-2);n++)i.ia[n]=this.ia[n];}},n.prototype.Ea=function(){return new n(this.description)},n.prototype.Pe=function(){return this.X.jG()},n.prototype.Pb=function(){return this.X.AG()},n.prototype.F=function(){return 197},n.prototype.pb=function(){return 2},n.prototype.qn=function(t){this.copyTo(t);},n.prototype.s=function(t){t.o=this.X.o,t.A=this.X.A,t.v=this.X.v,t.B=this.X.B;},n.prototype.ip=function(t){t.o=this.X.o,t.A=this.X.A,t.v=this.X.v,t.B=this.X.B,t.H(this.X.o,this.X.A,this.Pd(0,1,0),this.X.v,this.X.B,this.Pd(1,1,0));},n.prototype.Qf=function(i,n){var s=new t.uc;return s.H(this.Pd(0,i,n),this.Pd(1,i,n)),s},n.prototype.Pf=function(i,n){n.rg(this.description);var s=this.description.Ca-1;switch(i){case 0:for(i=0;i<s;i++)for(var h=this.description.kd(i),r=t.oa.Sa(h),e=0;e<r;e++)n.setAttribute(h,e,this.Pd(0,h,e));n.nb(this.X.o,this.X.A);break;case 1:for(i=0;i<s;i++)for(h=this.description.kd(i),r=t.oa.Sa(h),e=0;e<r;e++)n.setAttribute(h,e,this.Pd(1,h,e));n.nb(this.X.o,this.X.B);break;case 2:for(i=0;i<s;i++)for(h=this.description.kd(i),r=t.oa.Sa(h),e=0;e<r;e++)n.setAttribute(h,e,this.Pd(0,h,e));n.nb(this.X.v,this.X.B);break;case 3:for(i=0;i<s;i++)for(h=this.description.kd(i),r=t.oa.Sa(h),e=0;e<r;e++)n.setAttribute(h,e,this.Pd(1,h,e));n.nb(this.X.v,this.X.A);break;default:throw t.f.Gd()}},n.prototype.Ax=function(t,i){t=this.X.Ax(t),i.ka(t.x,t.y);},n.prototype.yS=function(t,i){return i*(t.gr-2)},n.prototype.kG=function(i,n,s){if(this.X.u())throw t.f.Y("empty geometry");if(0==n)return 0!=i?0!=s?this.X.B:this.X.v:0!=s?this.X.A:this.X.o;if(s>=t.oa.Sa(n))throw t.f.I();var h=this.description.Yf(n);return this.Vu(),0<=h?this.ia[this.yS(this.description,i)+this.description.bT(h)-2+s]:t.oa.me(n)},n.prototype.Vu=function(){if(this.vc(),null==this.ia&&2<this.description.Ge.length){this.ia=[];for(var i=n.Mg(this.description,0),s=n.Mg(this.description,1),h=0,r=1,e=this.description.Ca;r<e;r++){var a=this.description.kd(r),o=t.oa.Sa(a);a=t.oa.me(a);for(var u=0;u<o;u++)this.ia[i+h]=a,this.ia[s+h]=a,h++;}}},n.prototype.Ln=function(i){if(null!=this.ia)if(2<i.Ge.length){for(var s=t.ke.ox(i,this.description),h=[],r=n.Mg(this.description,0),e=n.Mg(this.description,1),a=n.Mg(i,0),o=n.Mg(i,1),u=0,f=1,c=i.Ca;f<c;f++){var l=i.kd(f),p=t.oa.Sa(l);if(-1==s[f]){var b=t.oa.me(l);for(l=0;l<p;l++)h[a+u]=b,h[o+u]=b,u++;}else for(b=this.description.dk(s[f])-2,l=0;l<p;l++)h[a+u]=this.ia[r+b],h[o+u]=this.ia[e+b],u++,b++;}this.ia=h;}else this.ia=null;this.description=i;},n.prototype.Pd=function(i,s,h){if(this.X.u())throw t.f.Y("This operation was performed on an Empty Geometry.");if(0==s)return 0!=i?0!=h?this.X.B:this.X.v:0!=h?this.X.A:this.X.o;if(h>=t.oa.Sa(s))throw t.f.Gd();var r=this.description.Yf(s);return 0<=r?(this.Vu(),this.ia[n.Mg(this.description,i)+this.description.dk(r)-2+h]):t.oa.me(s)},n.prototype.gE=function(i,s,h,r){if(this.vc(),0==s)0!=i?0!=h?this.X.B=r:this.X.v=r:0!=h?this.X.A=r:this.X.o=r;else {if(h>=t.oa.Sa(s))throw t.f.Gd();if(!this.hasAttribute(s)){if(t.oa.pH(s,r))return;this.le(s);}s=this.description.Yf(s),this.Vu(),this.ia[n.Mg(this.description,i)+this.description.dk(s)-2+h]=r;}},n.Mg=function(t,i){return i*(t.Ge.length-2)},n.prototype.Ia=function(i){this.vc();var n=new t.g;return i.s(n),this.X.Ia(n)},n.prototype.isIntersecting=function(i){return i instanceof t.g?this.X.isIntersecting(i):this.X.isIntersecting(i.X)},n.prototype.rv=function(t,i){this.vc(),t.u()?this.Ka():void 0!==i?this.$u(t,i,void 0):this.X.rv(t.Ce(),t.lf());},n.prototype.offset=function(t,i){this.vc(),this.X.offset(t,i);},n.prototype.normalize=function(){this.vc(),this.X.normalize();},n.prototype.hf=function(i){if(void 0===i){if(i=new t.Ra(this.description),this.u())return i;for(n=this.description.Ca,s=1;s<n;s++)for(h=this.description.Jd(s),r=t.oa.Sa(h),e=0;e<r;e++)a=.5*(this.Pd(0,h,e)+this.Pd(1,h,e)),i.setAttribute(h,e,a);return i.nb(this.X.lk(),this.X.cq()),i}if(i.rg(this.description),this.u())i.Ka();else {for(var n=this.description.Ca,s=1;s<n;s++)for(var h=this.description.kd(s),r=t.oa.Sa(h),e=0;e<r;e++){var a=.5*(this.kG(0,h,e)+this.kG(1,h,e));i.setAttribute(h,e,a);}i.nb(this.X.hf());}},n.prototype.Wz=function(){return new t.Ra(this.X.Wz())},n.prototype.contains=function(i){return i instanceof t.Ra?!i.u()&&this.X.contains(i.Ce(),i.lf()):this.X.contains(i.X)},n.prototype.nQ=function(t){return this.X.contains(t)},n.prototype.Ib=function(t){if(t==this)return !0;if(!(t instanceof n)||this.description!=t.description)return !1;if(this.u())return !!t.u();if(!this.X.Ib(t.X))return !1;for(var i=0,s=2*(this.description.Ge.length-2);i<s;i++)if(this.ia[i]!=t.ia[i])return !1;return !0},n.prototype.fc=function(){var i=this.description.fc();if(i=t.L.Zh(i,this.X.fc()),!this.u()&&null!=this.ia)for(var n=0,s=2*(this.description.Ge.length-2);n<s;n++)i=t.L.Zh(i,this.ia[n]);return i},n.prototype.Ms=function(){return this.X.o},n.prototype.Os=function(){return this.X.A},n.prototype.Ls=function(){return this.X.v},n.prototype.Ns=function(){return this.X.B},n.prototype.sg=function(){return t.yi.qm(this,null)},n.prototype.toString=function(){return this.u()?"Envelope: []":"Envelope: ["+this.X.o+", "+this.X.A+", "+this.X.v+", "+this.X.B+"]"},n}(t.R);t.Ih=i;}(W||(W={})),function(t){var i=function(){function i(t,i,n,s){void 0===t?this.Ka():(this.o=t,this.A=i,this.v=n,this.B=s);}return i.construct=function(t,n,s,h){var r=new i;return r.o=t,r.A=n,r.v=s,r.B=h,r},i.prototype.H=function(n,s,h,r){"number"==typeof n?void 0!==h?(this.o=n,this.A=s,this.v=h,this.B=r,this.normalize()):(this.o=n,this.A=s,this.v=n,this.B=s):n instanceof t.b?void 0!==s?(this.o=n.x-.5*s,this.v=this.o+s,this.A=n.y-.5*h,this.B=this.A+h,this.normalize()):(this.o=n.x,this.A=n.y,this.v=n.x,this.B=n.y):n instanceof i?this.H(n.o,n.A,n.v,n.B):n instanceof t.uc&&(n.u()||s.u()?this.Ka():(this.o=n.fa,this.v=n.ja,this.A=s.fa,this.B=s.ja));},i.prototype.KS=function(t,n){var s=new i;return s.H(this.o,this.A,this.v,this.B),s.O(t,n),s},i.prototype.Ix=function(t,i){if(void 0!==i)if(0==i)this.Ka();else {this.o=t[0].x,this.A=t[0].y,this.v=this.o,this.B=this.A;for(var n=1;n<i;n++){var s=t[n];s.x<this.o?this.o=s.x:s.x>this.v&&(this.v=s.x),s.y<this.A?this.A=s.y:s.y>this.B&&(this.B=s.y);}}else if(null==t||0==t.length)this.Ka();else for(s=t[0],this.H(s.x,s.y),n=1;n<t.length;n++)i=t[n],this.Sk(i.x,i.y);},i.prototype.Ka=function(){this.B=this.v=this.A=this.o=NaN;},i.prototype.u=function(){return isNaN(this.o)},i.prototype.Nb=function(n,s){"number"==typeof n?this.u()?(this.o=n,this.A=s,this.v=n,this.B=s):(this.o>n?this.o=n:this.v<n&&(this.v=n),this.A>s?this.A=s:this.B<s&&(this.B=s)):n instanceof t.b||n instanceof t.Id?this.Nb(n.x,n.y):n instanceof i&&!n.u()&&(this.Nb(n.o,n.A),this.Nb(n.v,n.B));},i.prototype.Sk=function(t,i){this.o>t?this.o=t:this.v<t&&(this.v=t),this.A>i?this.A=i:this.B<i&&(this.B=i);},i.prototype.O=function(t,i){this.u()||(this.o-=t,this.v+=t,this.A-=i,this.B+=i,(this.o>this.v||this.A>this.B)&&this.Ka());},i.prototype.scale=function(t){0>t&&this.Ka(),this.u()||(this.o*=t,this.v*=t,this.A*=t,this.B*=t);},i.prototype.zoom=function(t,i){this.u()||this.H(this.hf(),t*this.N(),i*this.ca());},i.prototype.isIntersecting=function(t){return !this.u()&&!t.u()&&(this.o<=t.o?this.v>=t.o:t.v>=this.o)&&(this.A<=t.A?this.B>=t.A:t.B>=this.A)},i.prototype.tH=function(t){return (this.o<=t.o?this.v>=t.o:t.v>=this.o)&&(this.A<=t.A?this.B>=t.A:t.B>=this.A)},i.prototype.Ia=function(t){return !this.u()&&!t.u()&&(t.o>this.o&&(this.o=t.o),t.v<this.v&&(this.v=t.v),t.A>this.A&&(this.A=t.A),t.B<this.B&&(this.B=t.B),(t=this.o<=this.v&&this.A<=this.B)||this.Ka(),t)},i.prototype.Ax=function(i){switch(i){case 0:return t.b.construct(this.o,this.A);case 1:return t.b.construct(this.o,this.B);case 2:return t.b.construct(this.v,this.B);case 3:return t.b.construct(this.v,this.A);default:throw t.f.Gd()}},i.prototype.XB=function(i){if(null==i||4>i.length)throw t.f.I();null!=i[0]?i[0].ka(this.o,this.A):i[0]=t.b.construct(this.o,this.A),null!=i[1]?i[1].ka(this.o,this.B):i[1]=t.b.construct(this.o,this.B),null!=i[2]?i[2].ka(this.v,this.B):i[2]=t.b.construct(this.v,this.B),null!=i[3]?i[3].ka(this.v,this.A):i[3]=t.b.construct(this.v,this.A);},i.prototype.jG=function(){return this.u()?0:this.N()*this.ca()},i.prototype.AG=function(){return this.u()?0:2*(this.N()+this.ca())},i.prototype.lk=function(){return (this.v+this.o)/2},i.prototype.cq=function(){return (this.B+this.A)/2},i.prototype.N=function(){return this.v-this.o},i.prototype.ca=function(){return this.B-this.A},i.prototype.move=function(t,i){this.u()||(this.o+=t,this.A+=i,this.v+=t,this.B+=i);},i.prototype.rv=function(i,n){if(void 0!==n)this.move(i-this.lk(),n-this.cq());else if(i instanceof t.b)this.rv(i.x,i.y);else {if(!(i instanceof t.Ra))throw t.f.I();n=(this.v-this.o)/2;var s=(this.B-this.A)/2;this.o=i.Ce()-n,this.v=i.Ce()+n,this.A=i.lf()-s,this.B=i.lf()+s;}},i.prototype.offset=function(t,i){this.o+=t,this.v+=t,this.A+=i,this.B+=i;},i.prototype.normalize=function(){if(!this.u()){var t=Math.min(this.o,this.v),i=Math.max(this.o,this.v);this.o=t,this.v=i,t=Math.min(this.A,this.B),i=Math.max(this.A,this.B),this.A=t,this.B=i;}},i.prototype.tn=function(t){t.ka(this.o,this.A);},i.prototype.RJ=function(t){t.ka(this.v,this.A);},i.prototype.UJ=function(t){t.ka(this.o,this.B);},i.prototype.un=function(t){t.ka(this.v,this.B);},i.prototype.BU=function(){return this.u()||this.o<=this.v&&this.A<=this.B},i.prototype.hf=function(){return t.b.construct((this.v+this.o)/2,(this.B+this.A)/2)},i.prototype.Wz=function(){return t.b.construct(this.o,this.A)},i.prototype.contains=function(n,s){if(void 0!==s)return n>=this.o&&n<=this.v&&s>=this.A&&s<=this.B;if(n instanceof t.Ra)return this.contains(n.Ce(),n.lf());if(n instanceof t.b)return this.contains(n.x,n.y);if(n instanceof i)return n.o>=this.o&&n.v<=this.v&&n.A>=this.A&&n.B<=this.B;throw t.f.I()},i.prototype.sm=function(n,s){if(void 0!==s)return n>this.o&&n<this.v&&s>this.A&&s<this.B;if(n instanceof t.b)return this.sm(n.x,n.y);if(n instanceof i)return n.o>this.o&&n.v<this.v&&n.A>this.A&&n.B<this.B;throw t.f.I()},i.prototype.Ib=function(t){return t==this||t instanceof i&&(!(!this.u()||!t.u())||this.o==t.o&&this.A==t.A&&this.v==t.v&&this.B==t.B)},i.prototype.fc=function(){var i=this.o;i=t.L.truncate(i^i>>>32);var n=t.L.Zh(i);return i=this.v,i=t.L.truncate(i^i>>>32),n=t.L.Zh(i,n),i=this.A,i=t.L.truncate(i^i>>>32),n=t.L.Zh(i,n),i=this.B,i=t.L.truncate(i^i>>>32),t.L.Zh(i,n)},i.prototype.My=function(i){var n=new t.b;return n.K(i),n.Ey()?n:this.u()?(n.iE(),n):(n.x<this.o?n.x=this.o:n.x>this.v&&(n.x=this.v),n.y<this.A?n.y=this.A:n.y>this.B&&(n.y=this.B),n.Ib(i)?(i=this.hf(),(n.x<i.x?n.x-this.o:this.v-n.x)<(n.y<i.y?n.y-this.A:this.B-n.y)?n.x=n.x<i.x?this.o:this.v:n.y=n.y<i.y?this.A:this.B,n):n)},i.prototype.Su=function(t){if(this.u())return NaN;if(t.x==this.o)return t.y-this.A;var i=this.B-this.A,n=this.v-this.o;return t.y==this.B?i+t.x-this.o:t.x==this.v?i+n+this.B-t.y:t.y==this.A?2*i+n+this.v-t.x:this.Su(this.My(t))},i.prototype.QD=function(t){if(this.u())return -1;t=this.Su(t);var i=this.B-this.A,n=this.v-this.o;return t<i?0:(t-=i)<n?1:t-n<i?2:3},i.prototype.Mn=function(){return this.u()?2220446049250313e-29:2220446049250313e-29*(Math.abs(this.o)+Math.abs(this.v)+Math.abs(this.A)+Math.abs(this.B)+1)},i.prototype.ez=function(t,n){var s=this.ck(t),h=this.ck(n);if(0!=(s&h))return 0;if(0==(s|h))return 4;var r=(0!=s?1:0)|(0!=h?2:0);do{var e=n.x-t.x,a=n.y-t.y;if(e>a?0!=(s&i.GD)?(0!=(s&i.Qu)?(t.y+=a*(this.o-t.x)/e,t.x=this.o):(t.y+=a*(this.v-t.x)/e,t.x=this.v),s=this.ck(t)):0!=(h&i.GD)?(0!=(h&i.Qu)?(n.y+=a*(this.o-n.x)/e,n.x=this.o):(n.y+=a*(this.v-n.x)/e,n.x=this.v),h=this.ck(n)):0!=s?(0!=(s&i.Ru)?(t.x+=e*(this.A-t.y)/a,t.y=this.A):(t.x+=e*(this.B-t.y)/a,t.y=this.B),s=this.ck(t)):(0!=(h&i.Ru)?(n.x+=e*(this.A-n.y)/a,n.y=this.A):(n.x+=e*(this.B-n.y)/a,n.y=this.B),h=this.ck(n)):0!=(s&i.HD)?(0!=(s&i.Ru)?(t.x+=e*(this.A-t.y)/a,t.y=this.A):(t.x+=e*(this.B-t.y)/a,t.y=this.B),s=this.ck(t)):0!=(h&i.HD)?(0!=(h&i.Ru)?(n.x+=e*(this.A-n.y)/a,n.y=this.A):(n.x+=e*(this.B-n.y)/a,n.y=this.B),h=this.ck(n)):0!=s?(0!=(s&i.Qu)?(t.y+=a*(this.o-t.x)/e,t.x=this.o):(t.y+=a*(this.v-t.x)/e,t.x=this.v),s=this.ck(t)):(0!=(h&i.Qu)?(n.y+=a*(this.o-n.x)/e,n.x=this.o):(n.y+=a*(this.v-n.x)/e,n.x=this.v),h=this.ck(n)),0!=(s&h))return 0}while(0!=(s|h));return r},i.prototype.ck=function(t){return (t.x<this.o?1:0)|(t.x>this.v?1:0)<<1|(t.y<this.A?1:0)<<2|(t.y>this.B?1:0)<<3},i.prototype.Qg=function(t){return !this.u()&&(this.N()<=t||this.ca()<=t)},i.prototype.vb=function(i){return i instanceof t.b?Math.sqrt(this.nL(i)):Math.sqrt(this.Xx(i))},i.prototype.Xx=function(t){var i=0,n=0,s=this.o-t.v;return s>i&&(i=s),(s=this.A-t.B)>n&&(n=s),(s=t.o-this.v)>i&&(i=s),(s=t.A-this.B)>n&&(n=s),i*i+n*n},i.prototype.nL=function(t){var i=0,n=0,s=this.o-t.x;return s>i&&(i=s),(s=this.A-t.y)>n&&(n=s),(s=t.x-this.v)>i&&(i=s),(s=t.y-this.B)>n&&(n=s),i*i+n*n},i.prototype.sn=function(t){this.u()?t.Ka():t.H(this.o,this.v);},i.sN=function(t,i,n,s){var h=1;return isNaN(t)||(h+=Math.abs(t)),isNaN(i)||(h+=Math.abs(i)),isNaN(n)||(h+=Math.abs(n)),isNaN(s)||(h+=Math.abs(s)),2220446049250313e-29*h},i.Qu=1,i.Ru=4,i.GD=3,i.HD=12,i}();t.g=i;}(W||(W={})),function(t){var i,n;(n=i||(i={}))[n.initialize=0]="initialize",n[n.initializeRed=1]="initializeRed",n[n.initializeBlue=2]="initializeBlue",n[n.initializeRedBlue=3]="initializeRedBlue",n[n.sweep=4]="sweep",n[n.sweepBruteForce=5]="sweepBruteForce",n[n.sweepRedBlueBruteForce=6]="sweepRedBlueBruteForce",n[n.sweepRedBlue=7]="sweepRedBlue",n[n.sweepRed=8]="sweepRed",n[n.sweepBlue=9]="sweepBlue",n[n.iterate=10]="iterate",n[n.iterateRed=11]="iterateRed",n[n.iterateBlue=12]="iterateBlue",n[n.iterateBruteForce=13]="iterateBruteForce",n[n.iterateRedBlueBruteForce=14]="iterateRedBlueBruteForce",n[n.resetRed=15]="resetRed",n[n.resetBlue=16]="resetBlue";var s=function(){function t(t,i){this.ii=t,this.RH=i;}return t.prototype.Lr=function(t,i,n){this.ii.oZ(n,t,i,this.RH);},t.prototype.sq=function(t){return this.ii.ss(t,this.RH)},t}();i=function(){function i(){this.Vw=this.Ho=this.pf=this.sd=null,this.Pq=new t.g,this.Nm=this.Kj=this.Lj=this.Ed=this.Mf=this.Nd=this.Kw=this.yo=this.rd=this.Gb=null,this.Xb=-1,this.qa=0,this.Uk();}return i.prototype.Gr=function(){this.Uk(),this.ww=!0,null==this.Gb?(this.yo=new t.ha(0),this.Gb=[]):(this.yo.Gh(0),this.Gb.length=0);},i.prototype.bd=function(i,n){if(!this.ww)throw t.f.Eb();var s=new t.g;s.H(n),this.yo.add(i),this.Gb.push(s);},i.prototype.Zp=function(){if(!this.ww)throw t.f.Eb();this.ww=!1,null!=this.Gb&&0<this.Gb.length&&(this.Xb=0,this.Jc=!1);},i.prototype.vL=function(){this.Uk(),this.vw=!0,null==this.Gb?(this.yo=new t.ha(0),this.Gb=[]):(this.yo.Gh(0),this.Gb.length=0);},i.prototype.vE=function(i,n){if(!this.vw)throw t.f.Eb();var s=new t.g;s.H(n),this.yo.add(i),this.Gb.push(s);},i.prototype.WF=function(){if(!this.vw)throw t.f.Eb();this.vw=!1,null!=this.Gb&&0<this.Gb.length&&null!=this.rd&&0<this.rd.length&&(-1==this.Xb||2==this.Xb?this.Xb=3:3!=this.Xb&&(this.Xb=1),this.Jc=!1);},i.prototype.uL=function(){this.Uk(),this.uw=!0,null==this.rd?(this.Kw=new t.ha(0),this.rd=[]):(this.Kw.Gh(0),this.rd.length=0);},i.prototype.qE=function(i,n){if(!this.uw)throw t.f.Eb();var s=new t.g;s.H(n),this.Kw.add(i),this.rd.push(s);},i.prototype.VF=function(){if(!this.uw)throw t.f.Eb();this.uw=!1,null!=this.Gb&&0<this.Gb.length&&null!=this.rd&&0<this.rd.length&&(-1==this.Xb||1==this.Xb?this.Xb=3:3!=this.Xb&&(this.Xb=2),this.Jc=!1);},i.prototype.next=function(){if(this.Jc)return !1;for(var i=!0;i;)switch(this.Xb){case 0:i=this.oA();break;case 1:i=this.MT();break;case 2:i=this.JT();break;case 3:i=this.LT();break;case 4:i=this.zZ();break;case 5:i=this.vZ();break;case 6:i=this.wZ();break;case 7:i=this.xZ();break;case 8:i=this.ay();break;case 9:i=this.RC();break;case 10:i=this.DA();break;case 11:i=this.FU();break;case 12:i=this.CU();break;case 13:i=this.DU();break;case 14:i=this.EU();break;case 15:i=this.oK();break;case 16:i=this.nK();break;default:throw t.f.za()}return !this.Jc},i.prototype.IC=function(t){this.qa=t;},i.prototype.cA=function(t){return this.Gb[t]},i.prototype.Gz=function(t){return this.rd[t]},i.prototype.tl=function(t){return this.yo.read(t)},i.prototype.ol=function(t){return this.Kw.read(t)},i.CA=function(t){return 1==(1&t)},i.vq=function(t){return 0==(1&t)},i.prototype.Uk=function(){this.ww=this.uw=this.vw=!1,this.Kf=this.Lf=this.Xg=this.we=-1,this.Jc=!0;},i.prototype.oA=function(){if(this.If=this.dg=-1,10>this.Gb.length)return this.we=this.Gb.length,this.Xb=5,!0;null==this.sd&&(this.sd=new t.Qr(!0),this.Ho=this.sd.getIterator(),this.Nd=new t.ha(0)),this.sd.Gr();for(var i=0;i<this.Gb.length;i++){var n=this.Gb[i];this.sd.bs(n.o,n.v);}for(this.sd.Zp(),this.Nd.Db(2*this.Gb.length),this.Nd.resize(0),i=0;i<2*this.Gb.length;i++)this.Nd.add(i);return this.uu(this.Nd,2*this.Gb.length,!0),this.we=2*this.Gb.length,this.Xb=4,!0},i.prototype.MT=function(){if(this.If=this.dg=-1,10>this.Gb.length||10>this.rd.length)return this.we=this.Gb.length,this.Xb=6,!0;null==this.sd&&(this.sd=new t.Qr(!0),this.Ho=this.sd.getIterator(),this.Nd=new t.ha(0)),this.sd.Gr();for(var i=0;i<this.Gb.length;i++){var n=this.Gb[i];this.sd.bs(n.o,n.v);}for(this.sd.Zp(),this.Nd.Db(2*this.Gb.length),this.Nd.resize(0),i=0;i<2*this.Gb.length;i++)this.Nd.add(i);return this.uu(this.Nd,this.Nd.size,!0),this.we=this.Nd.size,-1!=this.Lf&&(this.Ed.kh(this.Lf),this.Lj.resize(0),this.Lf=-1),this.Xb=7,this.nK()},i.prototype.JT=function(){if(this.If=this.dg=-1,10>this.Gb.length||10>this.rd.length)return this.we=this.Gb.length,this.Xb=6,!0;null==this.pf&&(this.pf=new t.Qr(!0),this.Vw=this.pf.getIterator(),this.Mf=new t.ha(0)),this.pf.Gr();for(var i=0;i<this.rd.length;i++){var n=this.rd[i];this.pf.bs(n.o,n.v);}for(this.pf.Zp(),this.Mf.Db(2*this.rd.length),this.Mf.resize(0),i=0;i<2*this.rd.length;i++)this.Mf.add(i);return this.uu(this.Mf,this.Mf.size,!1),this.Xg=this.Mf.size,-1!=this.Kf&&(this.Ed.kh(this.Kf),this.Kj.resize(0),this.Kf=-1),this.Xb=7,this.oK()},i.prototype.LT=function(){if(this.If=this.dg=-1,10>this.Gb.length||10>this.rd.length)return this.we=this.Gb.length,this.Xb=6,!0;null==this.sd&&(this.sd=new t.Qr(!0),this.Ho=this.sd.getIterator(),this.Nd=new t.ha(0)),null==this.pf&&(this.pf=new t.Qr(!0),this.Vw=this.pf.getIterator(),this.Mf=new t.ha(0)),this.sd.Gr();for(var i=0;i<this.Gb.length;i++){var n=this.Gb[i];this.sd.bs(n.o,n.v);}for(this.sd.Zp(),this.pf.Gr(),i=0;i<this.rd.length;i++)n=this.rd[i],this.pf.bs(n.o,n.v);for(this.pf.Zp(),this.Nd.Db(2*this.Gb.length),this.Mf.Db(2*this.rd.length),this.Nd.resize(0),this.Mf.resize(0),i=0;i<2*this.Gb.length;i++)this.Nd.add(i);for(i=0;i<2*this.rd.length;i++)this.Mf.add(i);return this.uu(this.Nd,this.Nd.size,!0),this.uu(this.Mf,this.Mf.size,!1),this.we=this.Nd.size,this.Xg=this.Mf.size,-1!=this.Lf&&(this.Ed.kh(this.Lf),this.Lj.resize(0),this.Lf=-1),-1!=this.Kf&&(this.Ed.kh(this.Kf),this.Kj.resize(0),this.Kf=-1),this.Xb=7,!0},i.prototype.zZ=function(){var t=this.Nd.get(--this.we),n=t>>1;return i.vq(t)?(this.sd.remove(n),0!=this.we||(this.If=this.dg=-1,this.Jc=!0,!1)):(this.Ho.nC(this.Gb[n].o,this.Gb[n].v,this.qa),this.dg=n,this.Xb=10,!0)},i.prototype.vZ=function(){return -1==--this.we?(this.If=this.dg=-1,this.Jc=!0,!1):(this.Xg=this.dg=this.we,this.Xb=13,!0)},i.prototype.wZ=function(){return -1==--this.we?(this.If=this.dg=-1,this.Jc=!0,!1):(this.dg=this.we,this.Xg=this.rd.length,this.Xb=14,!0)},i.prototype.xZ=function(){var t=this.Nd.get(this.we-1),n=this.Mf.get(this.Xg-1),s=this.ss(t,!0),h=this.ss(n,!1);return s>h?this.ay():s<h?this.RC():i.CA(t)?this.ay():i.CA(n)?this.RC():this.ay()},i.prototype.ay=function(){var n=this.Nd.get(--this.we),s=n>>1;if(i.vq(n))return -1!=this.Lf&&-1!=this.Lj.get(s)?(this.Ed.jd(this.Lf,this.Lj.get(s)),this.Lj.set(s,-1)):this.sd.remove(s),0!=this.we||(this.If=this.dg=-1,this.Jc=!0,!1);if(-1!=this.Kf&&0<this.Ed.Hs(this.Kf))for(n=this.Ed.sc(this.Kf);-1!=n;){var h=this.Ed.getData(n);this.pf.Gi(h),this.Kj.set(h,-1),h=this.Ed.hb(n),this.Ed.jd(this.Kf,n),n=h;}return 0<this.pf.size()?(this.Vw.nC(this.Gb[s].o,this.Gb[s].v,this.qa),this.dg=s,this.Xb=12):(-1==this.Lf&&(null==this.Ed&&(this.Ed=new t.Ap),this.Lj=new t.ha(0),this.Lj.resize(this.Gb.length,-1),this.Lj.Xj(-1,0,this.Gb.length),this.Lf=this.Ed.Th(1)),this.Lj.set(s,this.Ed.addElement(this.Lf,s)),this.Xb=7),!0},i.prototype.RC=function(){var n=this.Mf.get(--this.Xg),s=n>>1;if(i.vq(n))return -1!=this.Kf&&-1!=this.Kj.get(s)?(this.Ed.jd(this.Kf,this.Kj.get(s)),this.Kj.set(s,-1)):this.pf.remove(s),0!=this.Xg||(this.If=this.dg=-1,this.Jc=!0,!1);if(-1!=this.Lf&&0<this.Ed.Hs(this.Lf))for(n=this.Ed.sc(this.Lf);-1!=n;){var h=this.Ed.getData(n);this.sd.Gi(h),this.Lj.set(h,-1),h=this.Ed.hb(n),this.Ed.jd(this.Lf,n),n=h;}return 0<this.sd.size()?(this.Ho.nC(this.rd[s].o,this.rd[s].v,this.qa),this.If=s,this.Xb=11):(-1==this.Kf&&(null==this.Ed&&(this.Ed=new t.Ap),this.Kj=new t.ha(0),this.Kj.resize(this.rd.length,-1),this.Kj.Xj(-1,0,this.rd.length),this.Kf=this.Ed.Th(0)),this.Kj.set(s,this.Ed.addElement(this.Kf,s)),this.Xb=7),!0},i.prototype.DA=function(){if(this.If=this.Ho.next(),-1!=this.If)return !1;var t=this.Nd.get(this.we)>>1;return this.sd.Gi(t),this.Xb=4,!0},i.prototype.FU=function(){if(this.dg=this.Ho.next(),-1!=this.dg)return !1;this.If=this.dg=-1;var t=this.Mf.get(this.Xg)>>1;return this.pf.Gi(t),this.Xb=7,!0},i.prototype.CU=function(){if(this.If=this.Vw.next(),-1!=this.If)return !1;var t=this.Nd.get(this.we)>>1;return this.sd.Gi(t),this.Xb=7,!0},i.prototype.DU=function(){if(-1==--this.Xg)return this.Xb=5,!0;this.Pq.H(this.Gb[this.we]);var t=this.Gb[this.Xg];return this.Pq.O(this.qa,this.qa),!this.Pq.isIntersecting(t)||(this.If=this.Xg,!1)},i.prototype.EU=function(){if(-1==--this.Xg)return this.Xb=6,!0;this.Pq.H(this.Gb[this.we]);var t=this.rd[this.Xg];return this.Pq.O(this.qa,this.qa),!this.Pq.isIntersecting(t)||(this.If=this.Xg,!1)},i.prototype.oK=function(){return null==this.sd?(this.Jc=!0,!1):(this.we=this.Nd.size,0<this.sd.size()&&this.sd.reset(),-1!=this.Lf&&(this.Ed.kh(this.Lf),this.Lj.resize(0),this.Lf=-1),this.Jc=!1,!0)},i.prototype.nK=function(){return null==this.pf?(this.Jc=!0,!1):(this.Xg=this.Mf.size,0<this.pf.size()&&this.pf.reset(),-1!=this.Kf&&(this.Ed.kh(this.Kf),this.Kj.resize(0),this.Kf=-1),this.Jc=!1,!0)},i.prototype.uu=function(i,n,h){null==this.Nm&&(this.Nm=new t.Eu),h=new s(this,h),this.Nm.sort(i,0,n,h);},i.prototype.oZ=function(t,n,s,h){var r=this;t.Zd(n,s,(function(t,n){var s=r.ss(t,h),e=r.ss(n,h);return s<e||s==e&&i.vq(t)&&i.CA(n)?-1:1}));},i.prototype.ss=function(t,n){var s=.5*this.qa;return n?(n=this.Gb[t>>1],i.vq(t)?n.A-s:n.B+s):(n=this.rd[t>>1],i.vq(t)?n.A-s:n.B+s)},i}(),t.fD=i;}(W||(W={})),function(t){var i=function(){function i(){}return i.construct=function(t,n,s,h,r,e){var a=new i;return a.o=t,a.A=n,a.ef=s,a.v=h,a.B=r,a.Lg=e,a},i.prototype.Ka=function(){this.ef=this.o=NaN;},i.prototype.u=function(){return isNaN(this.o)},i.prototype.qU=function(){return isNaN(this.ef)},i.prototype.H=function(t,i,n,s,h,r){void 0!==s?"number"==typeof t?(this.o=t,this.A=i,this.ef=n,this.v=s,this.B=h,this.Lg=r):(this.o=t.x-.5*i,this.v=this.o+i,this.A=t.y-.5*n,this.B=this.A+n,this.ef=t.z-.5*s,this.Lg=this.ef+s):(this.o=t,this.A=i,this.ef=n,this.v=t,this.B=i,this.Lg=n);},i.prototype.move=function(t){this.o+=t.x,this.A+=t.y,this.ef+=t.z,this.v+=t.x,this.B+=t.y,this.Lg+=t.z;},i.prototype.copyTo=function(t){t.o=this.o,t.A=this.A,t.v=this.v,t.B=this.B;},i.prototype.Sk=function(t,i,n){this.o>t?this.o=t:this.v<t&&(this.v=t),this.A>i?this.A=i:this.B<i&&(this.B=i),0==isNaN(this.ef)?this.ef>n?this.ef=n:this.Lg<n&&(this.Lg=n):this.Lg=this.ef=n;},i.prototype.Nb=function(n,s,h){if("number"==typeof n)this.u()?(this.o=n,this.A=s,this.ef=h,this.v=n,this.B=s,this.Lg=h):this.Sk(n,s,h);else if(n instanceof t.Id)this.Nb(n.x,n.y,n.z);else {if(!(n instanceof i))throw t.f.I();n.u()||(this.Nb(n.o,n.A,n.ef),this.Nb(n.v,n.B,n.Lg));}},i.prototype.construct=function(t,i,n){t.u()||i.u()?this.Ka():(this.o=t.fa,this.v=t.ja,this.A=i.fa,this.B=i.ja,this.ef=n.fa,this.Lg=n.ja);},i.prototype.XB=function(i){if(null==i||8>i.length)throw t.f.I();i[0]=new t.Id(this.o,this.A,this.ef),i[1]=new t.Id(this.o,this.B,this.ef),i[2]=new t.Id(this.v,this.B,this.ef),i[3]=new t.Id(this.v,this.A,this.ef),i[4]=new t.Id(this.o,this.A,this.Lg),i[5]=new t.Id(this.o,this.B,this.Lg),i[6]=new t.Id(this.v,this.B,this.Lg),i[7]=new t.Id(this.v,this.A,this.Lg);},i.prototype.Ix=function(t){if(null==t||0==t.length)this.Ka();else {var i=t[0];for(this.H(i.x,i.y,i.z),i=1;i<t.length;i++){var n=t[i];this.Sk(n.x,n.y,n.z);}}},i}();t.WL=i;}(W||(W={})),function(t){!function(t){t.za=function(){var t=Error();return t.message="Internal Error",t},t.Me=function(){var t=Error();return t.message="Not Implemented",t},t.al=function(){var t=Error();return t.message="The input unit and the spatial reference unit are not of the same unit type.ie Linear vs.Angular",t},t.Eb=function(){var t=Error();return t.message="Invalid Call",t},t.I=function(t){var i=Error();return i.message="Illegal Argument Exception",void 0!==t&&(i.message+=": "+t),i},t.Mu=function(t){var i=Error();return i.message=void 0!==t?"Runtime Exception: "+t:"Runtime Exception.",i},t.Y=function(t){var i=Error();return i.message="Geometry Exception: "+t,i},t.PL=function(){var t=Error();return t.message="Assert Failed Exception",t},t.Gd=function(){var t=Error();return t.message="IndexOutOfBoundsException",t},t.ED=function(){var t=Error();return t.message="UserCancelException",t};}(t.f||(t.f={}));}(W||(W={})),function(t){(t=t.nm||(t.nm={}))[t.forward=0]="forward",t[t.reverse=1]="reverse";}(W||(W={})),function(t){var i=function(){function i(t,i){this.Wa=t,this.vI=i,this.AI=-1,this.Al=!1;}return i.prototype.xe=function(){},i.prototype.next=function(){if(++this.AI==this.vI.D())return null;var i=this.vI.xa(this.AI);i.scale(this.Wa.ic);var n=new t.Ga;return this.Wa.Xy(i,this.Al,n),n},i.prototype.Fa=function(){return 0},i}(),n=function(){function i(i,n,s){this.Wa=i,this.Yw=n,this.qo=!1,this.wo=s,this.Jw=[0],this.zk=[0],this.Pj=[0],this.ot=[0],this.Al=!1,this.Jq=new t.Ga,this.Bk=[];}return i.prototype.xe=function(){},i.prototype.next=function(){if(this.qo){this.qo=!1,this.td.aa();var i=t.R.$d(this.Jq);return t.pg.Tk(i,this.Wa.Tq,!0,!0,this.Wa.Vb)}if(null==this.td&&(this.td=this.Yw.Ba(),this.td.Ta(),null!=this.wo&&this.wo.dl(null,0)),!this.td.Aa()){if(!this.td.Ta())return null;null!=this.wo&&this.wo.dl(null,0);}i=null,this.zk[0]=0,this.pB=this.Jw[0]=0,this.ji=NaN,this.qo=!1;for(var n=this.Bk.length=0,h=new t.b,r=new t.b,e=[0];this.td.Aa()&&8>this.pB;){var a=this.td.aa();if(h.K(a.ac()),r.K(a.wc()),h.scale(this.Wa.ic),r.scale(this.Wa.ic),t.jj.vv(h,r)?h.x=r.x:t.jj.tv(h,r)&&(r.x=h.x),this.Bk.length=0,t.jj.gG(this.Wa.Ub,this.Wa.lc,this.Wa.Fe,h,r,this.Wa.zB,this.Wa.Ht,e,this.Pj,this.ot,this.Bk,this.Jw),null!=this.wo&&(a=this.Bk.slice(0),this.wo.cH(this.wo.$()-1,a,a.length-1)),t.jj.uv(h,r)?(this.Jq.Ka(),this.Wa.Xy(h,this.Al,this.Jq),this.qo=!0):(this.Jq.Ka(),this.qo=this.cz(e[0],this.Jq)),this.qo){if(this.td.ti(),this.td.mA()){this.td.ti(),this.td.aa();break}this.td.hY();break}null==i&&(i=new t.Ga).dl(null,0),this.AE(i),n++;}if(this.Jw[0]=0,0<n){for(e=this.td.wb();0<n;)this.td.ti(),h.K(this.Yw.xa(this.td.wb())),r.K(this.Yw.xa(this.td.nk())),h.scale(this.Wa.ic),r.scale(this.Wa.ic),this.Al&&(t.jj.vv(h,r)?h.x=r.x:t.jj.tv(h,r)&&(r.x=h.x)),this.Bk.length=0,t.jj.gG(this.Wa.Ub,this.Wa.lc,this.Wa.Fe,r,h,this.Wa.zB,this.Wa.Ht,null,this.Pj,this.ot,this.Bk,this.Jw),this.AE(i),n--;return h.K(this.Yw.xa(this.td.wb())),h.scale(this.Wa.ic),s.hs(this.Wa.Ub,this.Wa.lc,this.Wa.ic,this.Wa.rb,h,this.ji+1.570796326794897,this.ji+4.71238898038469,this.Wa.uo,this.Al,this.zk,i,NaN,NaN),this.td.Rb(e),this.td.aa(),n=t.la.Ng(null,i,!0),t.pg.Tk(i,n,!0,!0,this.Wa.Vb)}return this.qo=!1,this.td.aa(),i=t.R.$d(this.Jq),t.pg.Tk(i,this.Wa.Tq,!0,!0,this.Wa.Vb)},i.prototype.AE=function(i){var n=this.Bk[0],h=this.Pj[0]-1.570796326794897,r=this.ot[0]+1.570796326794897;if(!isNaN(this.ji)){if(this.ji>=this.Pj[0]){var e=this.ji+1.570796326794897;h=e+3.141592653589793-(this.ji-this.Pj[0]);}else h=(e=this.ji+1.570796326794897)+3.141592653589793-(6.283185307179586-(this.Pj[0]-this.ji));var a=!(this.ji>=this.Pj[0]&&3.141592653589793>=this.ji-this.Pj[0])&&!(this.ji<this.Pj[0]&&3.141592653589793<=this.Pj[0]-this.ji),o=!1;if(Math.abs(h-e)<=.5*this.Wa.uo)if(a){var u=i.xa(i.D()-2);u.scale(this.Wa.ic);var f=new t.da(0);for(t.gb.Cz(this.Wa.Ub,this.Wa.lc,n.x,n.y,u.x,u.y,f),u=f.j;u<=e;)u+=6.283185307179586;for(;u>e;)u-=6.283185307179586;u<h&&(o=!0);}else o=!0;o?(i.mC(0,i.D()-1),this.Al||((n=new t.b).K(i.xa(i.D()-1)),n.scale(this.Wa.ic),-3.141592653589793>n.x-this.zk[0]?this.zk[0]-=6.283185307179586:3.141592653589793<n.x-this.zk[0]&&(this.zk[0]+=6.283185307179586)),a||(h=.5*(h+e))):(a?((e=new t.b).K(n),e.scale(1/this.Wa.ic),i.Ff(0,-1,e)):s.hs(this.Wa.Ub,this.Wa.lc,this.Wa.ic,this.Wa.rb,this.Bk[0],e,h,this.Wa.uo,this.Al,this.zk,i,NaN,NaN),this.pB+=1);}s.Wy(this.Wa.Ub,this.Wa.lc,this.Wa.ic,this.Wa.rb,this.Wa.Fe,this.Bk,h,r,this.Al,this.zk,i),this.ji=this.ot[0];},i.prototype.cz=function(t,i){return this.Wa.cz(this.Bk,t,this.Pj[0],this.ot[0],this.Al,i)},i.prototype.Fa=function(){return 0},i}(),s=function(){function s(){}return s.buffer=function(i,n,h,r,e,a){if(null==i)throw t.f.I("Geometry::Geodesic_bufferer::buffer");if(i.u())return new t.Ga(i.description);var o=new s;o.Wg=n,o.Kc=t.ab.hc(n);var u=t.ab.dw(o.Kc);if(o.Vb=a,o.Ub=t.ab.Nv(o.Kc),o.lc=u*(2-u),o.ic=o.Kc.Ld().gi,o.qa=o.Wg.co(),o.Tq=o.Kc.co(),o.Ht=o.Tq*o.ic,o.Sq=1.570796326794897/o.ic,o.t0=3.141592653589793/o.ic,o.rt=6.283185307179586/o.ic,o.u0=o.rt/6,o.uB=0,o.s0=1.5707963267948966*o.Ub/o.uB,4==h?(o.Fe=2,o.Dw=!0):(o.Fe=h,o.Dw=!1),o.La=r,o.rb=Math.abs(r),isNaN(e)||.001>e?o.aZ():o.to=e,h=i.F(),t.R.Ic(h)?((h=new t.Oa(i.description)).$b(i,!0),i=h,h=1607):197==h&&(h=new t.g,i.s(h),h.N()<=o.qa||h.ca()<=o.qa?((h=new t.Oa(i.description)).bd(i,!1),i=h,h=1607):((h=new t.Ga(i.description)).bd(i,!1),i=h,h=1736)),o.bZ(),t.R.lo(h)||o.cZ(),o.rb<=.5*o.to)return 1736!=h?new t.Ga(i.description):o.Dw?i:t.jj.rs(i,o.Wg,o.Fe,o.zB,-1,a);if(0>o.La&&1736!=h)return new t.Ga(i.description);if(o.Dw&&t.R.Bc(h)?(n=t.jj.rs(i,n,4,NaN,o.to,a),i=t.ab.$g(n,o.Wg,o.Kc)):i=t.ab.$g(i,o.Wg,o.Kc),(i=t.Lh.qj(i,o.Kc)).u())return new t.Ga(i.description);switch(!o.Dw&&t.R.Bc(h)&&(i=t.jj.fJ(o.ic,i)),i=s.pZ(i,o.Kc),h){case 1736:n=o.eP(i);break;case 1607:n=o.fP(i);break;case 550:n=o.cP(i);break;case 33:n=o.dP(i);break;default:throw t.f.Y("corrupted_geometry")}return (o=t.ab.$g(n,o.Kc,o.Wg)).Tl(i.description),o},s.prototype.eP=function(i){var s=new t.Ga;i=new n(this,i,s),i=t.Jh.local().U(i,this.Kc,this.Vb).next(),i=t.zp.sj(i,this.Kc,2);var h=new t.xd;return h.scale(1/this.ic,1/this.ic),s.Qc(h),s=t.zp.sj(s,this.Kc,2),0<=this.La?t.Jh.local().U(s,i,this.Kc,this.Vb):t.Cp.local().U(s,i,this.Kc,this.Vb)},s.prototype.fP=function(i){return i=new n(this,i,null),i=t.Jh.local().U(i,this.Kc,this.Vb).next(),t.zp.sj(i,this.Kc,2)},s.prototype.cP=function(n){return n=new i(this,n),n=t.Jh.local().U(n,this.Kc,this.Vb).next(),t.zp.sj(n,this.Kc,2)},s.prototype.dP=function(i){(i=i.w()).scale(this.ic);var n=new t.Ga;return this.Xy(i,!1,n),t.zp.sj(n,this.Kc,2)},s.prototype.cz=function(i,n,h,r,e,a){var o=i[0],u=i[i.length-1],f=o.y>u.y?o.y:u.y,c=t.C.q(this.Ub,this.lc,o.y<u.y?o.y:u.y);if(f=t.C.q(this.Ub,this.lc,f),.001<this.uB-(c+n+this.rb)&&.001<this.uB+(f-n-this.rb))return !1;c=(n=h-1.570796326794897)-3.141592653589793,f=n+3.141592653589793;var l=(h=r+1.570796326794897)+3.141592653589793,p=[NaN],b=[NaN],v=[NaN],y=[NaN];if(r=!1,s.VJ(this.Ub,this.lc,this.rb,o,n,c,u,h,p,b),s.VJ(this.Ub,this.lc,this.rb,u,l,h,o,c,v,y),(h<p[0]&&p[0]<l||h<b[0]&&b[0]<l)&&(r=!0),r||(c<v[0]&&v[0]<n||c<y[0]&&y[0]<n)&&(r=!0),!r&&e)return !1;for(var w=[],d=i.length-1;0<=d;d--)w.push(i[d]);return a.Ka(),a.dl(null,0),d=[0],s.Wy(this.Ub,this.lc,this.ic,this.rb,this.Fe,i,n,h,e,d,a),s.hs(this.Ub,this.lc,this.ic,this.rb,u,h,l,this.uo,e,d,a,p[0],b[0]),s.Wy(this.Ub,this.lc,this.ic,this.rb,this.Fe,w,l,f,e,d,a),s.hs(this.Ub,this.lc,this.ic,this.rb,o,c,n,this.uo,e,d,a,v[0],y[0]),i=!1,e||(i=this.sF(this.ic,a)),r||i},s.prototype.Xy=function(t,i,n){n.Ka(),n.dl(null,0),s.hs(this.Ub,this.lc,this.ic,this.rb,t,-this.uo,6.283185307179586,this.uo,i,[0],n,NaN,NaN),i||this.sF(this.ic,n);},s.prototype.sF=function(t,i){var n=this.FP(t,i);return t=this.GP(t,i),n||t},s.prototype.FP=function(i,n){var s=n.D(),h=!1,r=new t.g;if(n.s(r),!t.l.V(r.B*i,1.570796326794897)&&!t.l.V(r.A*i,-1.570796326794897))return !1;var e=new t.b;for(--s;0<=s;s--)n.w(s,e),(e.y==r.B&&t.l.V(e.y*i,1.570796326794897)||e.y==r.A&&t.l.V(e.y*i,-1.570796326794897))&&(h=!0,this.FJ(e,s,n));return h},s.prototype.GP=function(t,i){var n=i.xa(0),s=i.xa(i.D()-1);return 3.141592653589793<Math.abs(n.x-s.x)*t?(this.nX(i),!0):this.EP(i)},s.prototype.EP=function(t){return 0>t.Pe()&&(this.mX(t),!0)},s.prototype.FJ=function(i,n,s){var h=s.D(),r=0<n?n-1:h-1;if(h=s.xa(n<h-1?n+1:0),r=s.xa(r),!t.l.V(h.y,i.y)&&!t.l.V(h.x,i.x)){var e=new t.b;e.ka(h.x,i.y),s.nb(n,e);}t.l.V(r.y,i.y)||t.l.V(r.x,i.x)||((h=new t.b).ka(r.x,i.y),s.Ff(0,n,h));},s.prototype.nX=function(i){var n=new t.Ga,s=new t.Ga,h=new t.xd,r=i.xa(0),e=i.xa(i.D()-1),a=new t.b;r.x>e.x?(e=this.Sq,h.mg(-this.rt,0)):(e=-this.Sq,h.mg(this.rt,0)),n.add(i,!1),i.Ka(),s.add(n,!1),s.Qc(h),r=new t.g,s.s(r),r.O((this.rt-r.N())/2,0),r.A=-this.Sq,r.B=this.Sq;for(var o=0;o<s.D();o++)s.w(o,a),n.Ff(0,-1,a);for(s.Qc(h),o=0;o<s.D();o++)s.w(o,a),n.Ff(0,-1,a);s=n.xa(0),h=n.xa(n.D()-1),a.ka(h.x,e),n.Ff(0,-1,a),a.ka(.5*(h.x+s.x),e),n.Ff(0,-1,a),a.ka(s.x,e),n.Ff(0,-1,a),n=t.Lh.Ss(n,this.Kc,2,!0,r.o),n=t.Lh.Ss(n,this.Kc,2,!0,r.v),n=t.Yd.clip(n,r,this.Tq,NaN),i.add(n,!1);},s.prototype.mX=function(i){var n=new t.g;i.s(n),n.O((this.rt-n.N())/2,0),n.A=-this.Sq,n.B=this.Sq,i.dl(null,0);var s=new t.b;s.ka(n.o,n.A),i.Ff(1,-1,s),s.ka(n.o,n.B),i.Ff(1,-1,s),s.ka(.5*(n.o+n.v),n.B),i.Ff(1,-1,s),s.ka(n.v,n.B),i.Ff(1,-1,s),s.ka(n.v,n.A),i.Ff(1,-1,s),s.ka(.5*(n.o+n.v),n.A),i.Ff(1,-1,s);},s.Wy=function(i,n,h,r,e,a,o,u,f,c,l){var p=null;f||((p=new t.b).Tc(),0<l.D()&&(p.K(l.xa(l.D()-1)),p.scale(h)));var b=new t.da(0),v=new t.da(0),y=new t.da(0),w=new t.b,d=new t.b,g=a[a.length-1];h=1/h;for(var x=0;x<a.length;x++){var m=a[x];if(0==x)var j=o;else x==a.length-1?j=u:(t.gb.Ad(i,n,g.x,g.y,m.x,m.y,null,null,b,e),j=b.j-1.570796326794897);t.gb.Fi(i,n,m.x,m.y,r,j,v,y),f?d.ka(v.j,y.j):(w.ka(v.j,y.j),s.kK(m.x,w.x,p.x,c),d.ka(c[0]+w.x,w.y),p.K(d)),d.scale(h),l.Ff(0,-1,d);}},s.hs=function(i,n,h,r,e,a,o,u,f,c,l,p,b){if(!(o-a<u)){var v=new t.da(0),y=new t.da(0),w=new t.b,d=new t.b,g=null;f||((g=new t.b).Tc(),0<l.D()&&(g.K(l.xa(l.D()-1)),g.scale(h)));var x=t.L.truncate(Math.ceil(a/u)),m=x++*u;for(m==a&&(m=x++*u),h=1/h;m<o+u&&(a<p&&p<m?(m=p,x--):a<b&&b<m&&(m=b,x--),!(m>=o));)t.gb.Fi(i,n,e.x,e.y,r,m,v,y),f?d.ka(v.j,y.j):(w.ka(v.j,y.j),s.kK(e.x,w.x,g.x,c),d.ka(c[0]+w.x,w.y),g.K(d)),d.scale(h),l.Ff(0,-1,d),a=m,m=x++*u;}},s.VJ=function(i,n,s,h,r,e,a,o,u,f){var c=new t.b,l=new t.b,p=new t.da(0),b=new t.da(0);for(t.gb.Fi(i,n,h.x,h.y,s,r,p,b),c.ka(p.j,b.j),t.gb.Fi(i,n,h.x,h.y,s,e,p,b),l.ka(p.j,b.j),s=new t.da(0),t.gb.Cz(i,n,a.x,a.y,c.x,c.y,s),u[0]=s.j,t.gb.Cz(i,n,a.x,a.y,l.x,l.y,s),f[0]=s.j;u[0]<=f[0];)u[0]+=6.283185307179586;for(;u[0]>f[0];)u[0]-=6.283185307179586;for(;u[0]>=o;)u[0]-=6.283185307179586,f[0]-=6.283185307179586;for(;u[0]<o;)u[0]+=6.283185307179586,f[0]+=6.283185307179586;},s.kK=function(t,i,n,s){if(isNaN(n)){for(;3.141592653589793<s[0]+i-t;)s[0]-=6.283185307179586;for(;3.141592653589793<t-(s[0]+i);)s[0]+=6.283185307179586;}else 3.141592653589793<s[0]+i-n?s[0]-=6.283185307179586:3.141592653589793<n-(s[0]+i)&&(s[0]+=6.283185307179586);},s.pZ=function(i,n){var s=i.F(),h=t.R.Bc(s)?i.$():550==s?i.D():1;if(1==h)return i;var r=new t.ha(0);r.resize(h);for(var e=[],a=new t.g,o=0;o<h;o++){if(r.write(o,o),t.R.Bc(s)){i.Sj(o,a);var u=a.hf();}else u=i.xa(o);u=t.fM.GZ(n,u),e[o]=u;}for(r.Zd(0,r.size,(function(t,i){return e[t]<e[i]?-1:e[t]>e[i]?1:0})),n=i.Ea(),o=0;o<h;o++)a=r.read(o),t.R.Bc(s)?n.addPath(i,a,!0):n.yd(i,a,a+1);return n},s.prototype.bZ=function(){var i=Math.min(3.141592653589793*this.Ub-this.rb,this.rb);i=Math.min(i,.39269908169872414*this.Ub);var n=new t.b;n.ka(0,10*this.ic);var s=45*this.ic,h=new t.da(0),r=new t.da(0),e=new t.da(0),a=new t.da(0),o=new t.da(0),u=new t.da(0),f=new t.da(0),c=new t.da(0),l=new t.b,p=new t.b,b=new t.b,v=new t.b;t.gb.Fi(this.Ub,this.lc,n.x,n.y,i,0,h,r),l.ka(h.j,r.j),t.gb.Fi(this.Ub,this.lc,n.x,n.y,i,s,e,a),p.ka(e.j,a.j),h=new t.da(0),r=new t.da(0);for(var y=new t.da(0);t.gb.Fi(this.Ub,this.lc,n.x,n.y,i,.5*(0+s),o,u),b.ka(o.j,u.j),t.gb.Ad(this.Ub,this.lc,l.x,l.y,p.x,p.y,h,r,null,2),t.gb.tj(this.Ub,this.lc,l.x,l.y,.5*h.j,r.j,f,c,2),v.ka(f.j,c.j),t.gb.Ad(this.Ub,this.lc,b.x,b.y,v.x,v.y,y,null,null,2),!(y.j<=this.to);)s*=.9,t.gb.Fi(this.Ub,this.lc,n.x,n.y,i,s,e,a),p.ka(e.j,a.j);this.uo=6.283185307179586/Math.ceil(6.283185307179586/(s-0));},s.prototype.cZ=function(){var i=Math.min(3.141592653589793*this.Ub-this.rb,this.rb);i=Math.min(i,.39269908169872414*this.Ub);var n=new t.b,s=new t.b;n.ka(0,10*this.ic),s.ka(10*this.ic,10*this.ic);var h=new t.da(0),r=new t.da(0),e=new t.da(0);t.gb.Ad(this.Ub,this.lc,n.x,n.y,s.x,s.y,e,h,r,this.Fe);var a=new t.da(0),o=new t.da(0),u=new t.da(0),f=new t.da(0),c=new t.b,l=new t.da(0),p=new t.da(0),b=new t.da(0),v=new t.da(0),y=new t.da(0),w=new t.da(0),d=new t.da(0),g=new t.da(0),x=new t.da(0),m=new t.b,j=new t.b,M=new t.b,k=new t.b,z=1;h=h.j,r=r.j+1.570796326794897,e=e.j,t.gb.Fi(this.Ub,this.lc,n.x,n.y,i,h-1.570796326794897,p,b),m.ka(p.j,b.j),t.gb.Fi(this.Ub,this.lc,s.x,s.y,i,r,v,y),j.ka(v.j,y.j),p=new t.da(0),b=new t.da(0),r=new t.da(0);for(var N=new t.da(0);t.gb.tj(this.Ub,this.lc,n.x,n.y,.5*(0+z)*e,h,a,o,this.Fe),c.ka(a.j,o.j),t.gb.Ad(this.Ub,this.lc,n.x,n.y,c.x,c.y,null,null,l,this.Fe),t.gb.Fi(this.Ub,this.lc,c.x,c.y,i,l.j+1.570796326794897,w,d),M.ka(w.j,d.j),t.gb.Ad(this.Ub,this.lc,m.x,m.y,j.x,j.y,p,b,null,2),t.gb.tj(this.Ub,this.lc,m.x,m.y,.5*p.j,b.j,g,x,2),k.ka(g.j,x.j),t.gb.Ad(this.Ub,this.lc,M.x,M.y,k.x,k.y,r,null,null,2),!(r.j<=this.to);)z*=.9,t.gb.tj(this.Ub,this.lc,n.x,n.y,z*e,h,u,f,this.Fe),s.ka(u.j,f.j),t.gb.Ad(this.Ub,this.lc,n.x,n.y,s.x,s.y,null,null,N,this.Fe),t.gb.Fi(this.Ub,this.lc,s.x,s.y,i,N.j+1.570796326794897,v,y),j.ka(v.j,y.j);1e5<(i=z*e)&&(i=1e5),this.zB=i;},s.prototype.aZ=function(){var t=5e4<this.rb?100:1e4<this.rb?10:1;500>this.rb/t&&(t=this.rb/500),.01>t&&(t=.01),this.to=t;},s}();t.dM=s;}(W||(W={})),function(t){var i=function(){function i(){}return i.Wf=function(i,n){var s=new t.b;s.K(n),i.push(s);},i.Op=function(t,i){t.add(i.x),t.add(i.y);},i.SB=function(t){t.Gh(t.size-2);},i.YB=function(t,i){i.ka(t.get(t.size-2),t.get(t.size-1));},i.rs=function(n,s,h,r,e,a){if(null==n)throw t.f.I();var o=n.F();if(n.u()||t.R.lo(o))return n;var u=new i;u.Wg=s,u.Kc=t.ab.hc(s);var f=t.ab.dw(u.Kc);if(u.Vb=a,u.Ub=t.ab.Nv(u.Kc),u.lc=f*(2-f),u.ic=u.Kc.Ld().gi,u.Tq=u.Kc.co(),u.Ht=u.Tq*u.ic,u.jB=r,u.iB=e,u.Fe=h,197==o?(h=new t.Ga(n.description)).bd(n,!1):t.R.Ic(o)?(h=new t.Oa(n.description)).$b(n,!0):h=n,4!=u.Fe){if((s=0==u.Wg.Ib(u.Kc)?t.ab.$g(h,u.Wg,u.Kc):t.Lh.qj(h,u.Kc)).u())return s;s=i.fJ(u.ic,s),s=u.Ez(s),s=t.zp.sj(s,u.Kc,u.Fe),u=t.ab.$g(s,u.Kc,u.Wg);}else {if(2==t.je.Fb(s)?(n=t.ab.sk(),(s=t.ak.local().U(h,n,s,a))==n&&(s=new t.Ga,n.copyTo(s))):s=t.Lh.qj(h,u.Kc),s.u())return s;u=u.fZ(s);}return u},i.fJ=function(n,s){var h=new t.g;if(s.Zb(h),3.141592653589793>h.N()*n)return s;var r=!1;h=s.Ba();for(var e=new t.b,a=new t.b;h.Ta();)for(;h.Aa();){var o=h.aa();if(e.K(o.ac()),a.K(o.wc()),e.scale(n),a.scale(n),3.141592653589793<Math.abs(e.x-a.x)){var u=i.uv(e,a);if(!u){r=!0;break}if(6.283185307179586<Math.abs(e.x-a.x)){r=!0;break}}}if(!r)return s;r=s.Ea();var f=1<s.description.Ca,c=new t.b,l=new t.b,p=new t.b,b=new t.b,v=new t.Ra;for(h.ej();h.Ta();)for(var y=NaN,w=[0];h.Aa();){if(o=h.aa(),e.K(o.ac()),a.K(o.wc()),e.scale(n),a.scale(n),isNaN(y)?(i.cj(e.x,NaN,w),l.K(e)):l.K(p),y=l.x,u=i.uv(e,a)){if(6.283185307179586<a.x-e.x)for(;6.283185307179586<a.x-e.x;)a.x-=6.283185307179586;if(-6.283185307179586>a.x-e.x)for(;-6.283185307179586>a.x-e.x;)a.x+=6.283185307179586;i.cj(a.x,NaN,w),p.K(a);}else c.K(a),i.TV(c),i.cj(c.x,y,w),p.ka(w[0]+c.x,c.y);.5>Math.abs(p.x-a.x)&&p.K(a),f?(o.zx(0,v),b.K(l),b.scale(1/n),v.nb(b),(u=h.Im())?r.xf(v):r.lineTo(v),h.ko()&&!s.Lb(h.Pa)&&(o.zx(1,v),b.K(p),b.scale(1/n),v.nb(b),r.lineTo(v))):((u=h.Im())&&r.pA(null,0),o=r.$()-1,b.K(l),b.scale(1/n),r.Ff(o,-1,b),h.ko()&&!s.Lb(h.Pa)&&(b.K(p),b.scale(1/n),r.Ff(o,-1,b)));}return r},i.gG=function(n,s,h,r,e,a,o,u,f,c,l,p){var b=new t.b,v=new t.b,y=0<r.compare(e);i.jK(y,r,e,b,v),i.hG(n,s,h,b,v,a,NaN,o,u,f,c,null,l,p),y&&i.OC(f,c,null,l);},i.prototype.Ez=function(n){var s=n.Ea(),h=n.Ba(),r=[],e=null,a=null,o=1<n.description.Ca;o&&(e=new t.ie(0),a=new t.og);for(var u=[0],f=new t.b,c=new t.b,l=new t.b,p=new t.b;h.Ta();)for(u[0]=0;h.Aa();){var b=h.aa();f.K(b.ac()),c.K(b.wc()),f.scale(this.ic),c.scale(this.ic);var v=0<f.compare(c);i.jK(v,f,c,l,p),r.length=0,null!=e&&e.Gh(0),0<this.jB?i.hG(this.Ub,this.lc,this.Fe,l,p,this.jB,this.iB,this.Ht,null,null,null,o?e:null,r,u):i.oS(this.Ub,this.lc,this.Fe,l,p,this.iB,this.Ht,o?e:null,r,u),v&&i.OC(null,null,o?e:null,r),r[0].K(b.ac()),r[r.length-1].K(b.wc());for(var y=1;y<r.length-1;y++)r[y].scale(1/this.ic);o?(v=i.iK(v,b,a),i.FE(h.Im(),h.ko()&&!n.Lb(h.Pa),b,v,e,r,s)):i.EE(h.Im(),h.ko()&&!n.Lb(h.Pa),r,s);}return s},i.prototype.fZ=function(n){var s=n.Ea(),h=n.Ba(),r=[],e=null,a=new t.og,o=1<n.description.Ca;for(o&&(e=new t.ie(0));h.Ta();)for(;h.Aa();){var u=h.aa(),f=u.ac(),c=u.wc();f=0<f.compare(c),c=i.iK(f,u,a),r.length=0,null!=e&&e.Gh(0),i.eZ(this.Ub,this.lc,this.ic,c,this.Wg,this.jB,this.iB,o?e:null,r),f&&i.OC(null,null,o?e:null,r),o?i.FE(h.Im(),h.ko()&&!n.Lb(h.Pa),u,c,e,r,s):i.EE(h.Im(),h.ko()&&!n.Lb(h.Pa),r,s);}return s},i.EE=function(t,i,n,s){t&&s.pA(null,0),t=s.$()-1;var h=n.slice(0);s.cH(t,h,h.length-1),i&&s.Ff(t,-1,n[n.length-1]);},i.FE=function(i,n,s,h,r,e,a){var o=new t.Ra;if(s.jp(o),i?a.xf(o):a.lineTo(o),2<e.length){i=h.Pb();for(var u=1;u<e.length-1;u++){var f=h.zH(r.get(u)*i);h.zx(f,o),o.nb(e[u]),a.lineTo(o);}}n&&(s.hp(o),a.lineTo(o));},i.hG=function(n,s,h,r,e,a,o,u,f,c,l,p,b,v){var y=new t.da(0),w=new t.da(0),d=new t.da(0);t.gb.Ad(n,s,r.x,r.y,e.x,e.y,d,y,w,h),d=d.j;var g=y=y.j;0>g&&(g+=6.283185307179586),0>(w=w.j)&&(w+=6.283185307179586),null!=f&&(f[0]=d),null!=c&&(c[0]=g),null!=l&&(l[0]=w),c=f=NaN,null!=p&&(f=((c=t.C.Hg(n,s))-(l=t.C.q(n,s,r.y)))/d,c=(c+l)/d),l=i.vv(r,e),w=i.tv(r,e),g=l||w;var x=i.pF(r,e,u),m=new t.da(0),j=new t.da(0),M=new t.b,k=new t.b,z=new t.b;i.cj(r.x,NaN,v);var N=[v[0]];if(d<=a)i.Wf(b,r),i.cj(e.x,NaN,v),null!=p&&p.add(0),g?(l&&i.VB(r,e,p,b),w&&i.TB(r,e,p,b)):x?i.UB(r,e,y,f,c,p,b):0<o&&(k.ka(r.x-N[0],r.y),M.ka(e.x-v[0],e.y),i.Dz(n,s,h,r,d,y,k,M,0,1,o,p,b,N)),i.Wf(b,e);else {var A=d/((a=1+t.L.truncate(Math.ceil(d/a)))-1),I=new t.b,C=0;i.Wf(b,r),I.K(r),k.ka(r.x-v[0],r.y),null!=p&&p.add(0);for(var P=1;P<a;P++){if(P<a-1){t.gb.tj(n,s,r.x,r.y,P*A,y,m,j,h),M.ka(m.j,j.j),i.cj(M.x,I.x,v),z.ka(v[0]+M.x,M.y);var q=P/(a-1);}else i.cj(e.x,NaN,v),M.ka(e.x-v[0],e.y),z.K(e),q=1;g?(1==P&&l&&i.VB(r,z,p,b),P==a-1&&w&&i.TB(I,e,p,b)):x?i.oF(I,z,u)&&(r.x<e.x?I.x>z.x&&(v[0]+=6.283185307179586,z.ka(v[0]+M.x,M.y)):I.x<z.x&&(v[0]-=6.283185307179586,z.ka(v[0]+M.x,M.y)),i.UB(I,z,y,f,c,p,b)):0<o&&i.Dz(n,s,h,r,d,y,k,M,C,q,o,p,b,N),i.Wf(b,z),null!=p&&p.add(q),I.K(z),k.K(M),N[0]=v[0],C=q;}}},i.oS=function(n,s,h,r,e,a,o,u,f,c){var l=new t.da(0),p=new t.da(0),b=new t.da(0);t.gb.Ad(n,s,r.x,r.y,e.x,e.y,b,l,p,h),p=b.j,l=l.j;var v=b=NaN;if(null!=u){v=t.C.Hg(n,s);var y=t.C.q(n,s,r.y);b=(v-y)/p,v=(v+y)/p;}y=i.vv(r,e);var w=i.tv(r,e),d=y||w;o=i.pF(r,e,o);var g=i.uv(r,e);g=d||o||g,i.cj(r.x,NaN,c);var x=new t.b;i.Wf(f,r),x.K(r),null!=u&&u.add(0),g?(d?(y&&i.VB(r,e,u,f),w&&i.TB(r,e,u,f)):o&&i.UB(r,e,l,b,v,u,f),i.cj(e.x,NaN,c),i.Wf(f,e)):p<=a?(i.cj(e.x,NaN,c),i.Wf(f,e)):(b=new t.b,o=new t.b,b.K(r),o.K(e),b.x-=c[0],o.x-=c[0],-3.141592653589793>o.x?o.x+=6.283185307179586:3.141592653589793<o.x&&(o.x-=6.283185307179586),i.Dz(n,s,h,r,p,l,b,o,0,1,a,u,f,c),i.Wf(f,e),i.cj(e.x,NaN,c)),null!=u&&u.add(1);},i.Dz=function(n,s,h,r,e,a,o,u,f,c,l,p,b,v){var y=new t.b,w=new t.b;y.ka(o.x+v[0],o.y),new t.da(0),new t.da(0),new t.da(0),new t.da(0);var d=new t.da(0),g=new t.da(0),x=new t.da(0),m=new t.b,j=new t.b,M=new t.b,k=new t.b;m.K(o),j.K(u),o=new t.ie(0),u=new t.ie(0),i.Op(o,j),u.add(c);var z=new t.b,N=new t.zb,A=[];for(i.bL(4,A);0<o.size;){for(var I,C=!1,P=NaN,q=0;3>q;q++)if(I=A[q]*c+(1-A[q])*f,t.gb.tj(n,s,r.x,r.y,I*e,a,d,g,h),M.ka(d.j,g.j),0==q&&(P=I,k.K(M)),i.yY(m,M,j,N),N.cc(N.ae(M,!0),z),t.gb.Ad(n,s,M.x,M.y,z.x,z.y,x,null,null,2),x.j>l){C=!0;break}C?(j.K(k),c=P,i.Op(o,j),u.add(c)):(i.SB(o),u.Xn(u.size-1,1,u.size-1),0<o.size&&(i.cj(j.x,y.x,v),w.ka(v[0]+j.x,j.y),i.Wf(b,w),y.K(w),null!=p&&p.add(c),m.K(j),f=c,i.YB(o,j),c=u.get(u.size-1)));}},i.eZ=function(n,s,h,r,e,a,o,u,f){var c=new t.b,l=new t.b,p=new t.b,b=new t.b,v=new t.b,y=new t.b,w=new t.b,d=new t.b,g=new t.b,x=new t.b,m=new t.da(0),j=new t.da(0),M=new t.b,k=[[],[]],z=1==t.je.Fb(e);e=e.ce(0);var N=r.ac(),A=r.wc();z?(y.ka(N.x*h,N.y*h),w.ka(A.x*h,A.y*h)):(k[0][0]=N.x,k[0][1]=N.y,k[1][0]=A.x,k[1][1]=A.y,t.ab.eu(),y.x=k[0][0]*h,y.y=k[0][1]*h,w.x=k[1][0]*h,w.y=k[1][1]*h);var I=0,C=0,P=1,q=r.jo();c.K(N),l.K(A),A=new t.ie(0);var D=new t.ie(0),B=new t.ie(0);i.Op(A,l),i.Op(D,w),B.add(P),i.Wf(f,c),null!=u&&u.add(C);var G=[],F=0<o?q?5:3:q?5:1;i.bL(F,G);for(var E=new t.da(0),T=new t.da(0),S=new t.da(0),O=new t.da(0),H=new t.da(0),L=new t.da(0),J=new t.da(0);0<D.size;){var K=!1,R=NaN;for(t.gb.Ad(n,s,y.x,y.y,w.x,w.y,E,T,null,2),N=0;N<F;N++){if(0==N){if(!q&&0>=o&&E.j<=a&&3.141592653589793>Math.abs(y.x-w.x))break;if(r.zy(C,P)<=e)break}var U=G[N]*P+(1-G[N])*C;if(r.cc(U,p),z?d.ka(p.x*h,p.y*h):(k[0][0]=p.x,k[0][1]=p.y,t.ab.eu(),d.x=k[0][0]*h,d.y=k[0][1]*h),0==N&&(R=U,v.K(p),x.K(d),0<a&&(E.j>a||3.141592653589793<=Math.abs(y.x-w.x)))){K=!0;break}if(q&&0<a){if(t.gb.Ad(n,s,y.x,y.y,d.x,d.y,S,null,null,2),S.j>a||3.141592653589793<=Math.abs(y.x-d.x)){K=!0;break}}else if(0<o){if(q?(b.hU(c,l,G[N]),z?g.ka(b.x*h,b.y*h):(k[0][0]=b.x,k[0][1]=b.y,t.ab.eu(),g.x=k[0][0]*h,g.y=k[0][1]*h)):(b.K(p),g.K(d)),t.gb.Ad(n,s,y.x,y.y,g.x,g.y,O,null,null,2),!(O.j<=E.j)){K=!0;break}if(t.gb.tj(n,s,y.x,y.y,O.j,T.j,m,j,2),M.ka(m.j,j.j),t.gb.Ad(n,s,M.x,M.y,d.x,d.y,H,null,null,2),H.j>o){K=!0;break}if(q){if(t.gb.Ad(n,s,M.x,M.y,g.x,g.y,L,null,null,2),L.j>o){K=!0;break}if(t.gb.Ad(n,s,g.x,g.y,d.x,d.y,J,null,null,2),J.j>o){K=!0;break}}}}K?(l.K(v),w.K(x),P=R,i.Op(A,l),i.Op(D,w),B.add(P)):(i.SB(A),i.SB(D),B.Xn(B.size-1,1,B.size-1),i.Wf(f,l),I+=E.j,null!=u&&u.add(I),0<D.size&&(c.K(l),y.K(w),C=P,i.YB(A,l),i.YB(D,w),P=B.get(B.size-1)));}if(null!=u)for(n=1/I,N=0;N<u.size;N++)u.write(N,u.read(N)*n);},i.OC=function(t,i,n,s){s.reverse(),null!=n&&n.wi(0,n.size,1),n=null!=t?t[0]:NaN,s=null!=i?i[0]:NaN,null!=t&&(t[0]=s),null!=i&&(i[0]=n);},i.jK=function(t,i,n,s,h){t?(s.K(n),h.K(i)):(s.K(i),h.K(n));},i.iK=function(t,i,n){return t?(n.create(i.F()),i.copyTo(n.get()),n.get().reverse(),n.get()):i},i.cj=function(t,i,n){if(isNaN(i)){for(;3.141592653589793<n[0]-t;)n[0]-=6.283185307179586;for(;3.141592653589793<t-n[0];)n[0]+=6.283185307179586;}else 3.141592653589793<n[0]+t-i?n[0]-=6.283185307179586:3.141592653589793<i-(n[0]+t)&&(n[0]+=6.283185307179586);},i.yY=function(t,i,n,s){3.141592653589793>Math.abs(i.x-t.x)?(s.Fc(t),3.141592653589793<=n.x-t.x?s.am(n.x-6.283185307179586,n.y):3.141592653589793<=t.x-n.x?s.am(n.x+6.283185307179586,n.y):s.am(n.x,n.y)):(s.Fc(n),3.141592653589793<=t.x-n.x?s.am(t.x-6.283185307179586,t.y):3.141592653589793<=n.x-t.x?s.am(t.x+6.283185307179586,t.y):s.am(t.x,t.y));},i.bL=function(t,i){for(var n=0;n<t;n++){var s=Math.ceil(n/2)/(t+1);0!=n%2&&(s=-s),i[n]=.5+s;}},i.vv=function(i,n){return !!(t.l.V(i.y,1.570796326794897)&&!t.l.V(n.y,1.570796326794897)||t.l.V(i.y,-1.570796326794897)&&!t.l.V(n.y,-1.570796326794897))},i.tv=function(i,n){return !!(t.l.V(n.y,1.570796326794897)&&!t.l.V(i.y,1.570796326794897)||t.l.V(n.y,-1.570796326794897)&&!t.l.V(i.y,-1.570796326794897))},i.pF=function(n,s,h){return !(!i.oF(n,s,h)||t.l.V(n.y,1.570796326794897)||t.l.V(n.y,-1.570796326794897)||t.l.V(s.y,1.570796326794897)||t.l.V(s.y,-1.570796326794897))},i.oF=function(t,i,n){return Math.abs(Math.abs(t.x-i.x)-3.141592653589793)<=n},i.uv=function(i,n){return !!(t.l.V(i.y,1.570796326794897)&&t.l.V(n.y,1.570796326794897)||t.l.V(i.y,-1.570796326794897)&&t.l.V(n.y,-1.570796326794897))},i.VB=function(n,s,h,r){if(0<n.y){var e=new t.b;e.ka(s.x,1.570796326794897);}else (e=new t.b).ka(s.x,-1.570796326794897);t.l.V(n.x,e.x)||t.l.V(s.y,e.y)||(i.Wf(r,e),null!=h&&h.add(0));},i.TB=function(n,s,h,r){if(0<s.y){var e=new t.b;e.ka(n.x,1.570796326794897);}else (e=new t.b).ka(n.x,-1.570796326794897);t.l.V(s.x,e.x)||t.l.V(n.y,e.y)||(i.Wf(r,e),null!=h&&h.add(1));},i.UB=function(n,s,h,r,e,a,o){t.l.qd(h)?(0<1.570796326794897-n.y&&((h=new t.b).ka(n.x,1.570796326794897),i.Wf(o,h),null!=a&&a.add(r)),0<1.570796326794897-s.y&&((h=new t.b).ka(s.x,1.570796326794897),i.Wf(o,h),null!=a&&a.add(r))):(0<1.570796326794897+n.y&&((h=new t.b).ka(n.x,-1.570796326794897),i.Wf(o,h),null!=a&&a.add(e)),0<1.570796326794897+s.y&&((h=new t.b).ka(s.x,-1.570796326794897),i.Wf(o,h),null!=a&&a.add(e)));},i.TV=function(t){if(-3.141592653589793>t.x)for(;-3.141592653589793>t.x;)t.x+=6.283185307179586;if(3.141592653589793<t.x)for(;3.141592653589793<t.x;)t.x-=6.283185307179586;},i}();t.jj=i;}(W||(W={})),function(t){t.zp=function(){function i(){}return i.sj=function(n,s,h){if(null==n||null==s||!t.ab.Cc(s))throw t.f.I();if(n.u())return n;var r=n,e=r.F();if(t.R.Bc(e)){r=t.Lh.qj(n,s),n=new t.g,r.s(n),e=t.la.Qd(s,n,!1);for(var a=t.ab.nh(s),o=Math.floor((n.o-a.o)/a.N())*a.N()+a.o;o<n.v;)o>n.o+e&&o<n.v-e&&(r=t.Lh.Ss(r,s,h,!0,o)),o+=a.N();}else {if(197==e)return (n=new t.Ga(r.description)).bd(r,!1),i.sj(n,s,h);if(t.R.Ic(e))return (n=new t.Oa(r.description)).$b(r,!0),i.sj(n,s,h)}return i.Jv(r,s)},i.Jv=function(n,s){if(null==n||null==s||!t.ab.Cc(s))throw t.f.I();if(n.u())return n;var h=n.F();return 197==h?(h=new t.Ga(n.description)).bd(n,!1):t.R.Ic(h)?(h=new t.Oa(n.description)).$b(n,!0):h=n,(h=t.Lh.qj(h,s)).u()?h:1==t.je.Fb(s)?t.Lh.vm(h,s,0,h!=n,0):i.ZR(h,s,h!=n)},i.ZR=function(i,n,s){if(!t.ab.Cc(n))throw t.f.I();if(i.u())return i;var h=t.ab.Sd(n),r=-180*h;return h*=360,2==t.je.Fb(n)&&(h=(r=t.ab.nh(n)).v,h-=r=r.o),t.Lh.aq(i,r,h,n,s,0,!0)},i}();}(W||(W={})),function(t){t.bM=function(){function i(){}return i.kM=function(t,i){var n=Math.abs(t%i);return isNaN(n)||n==t||n<=Math.abs(i)/2?n:0>t?-1*(n-i):0<t?n-i:0*(n-i)},i.J=function(t){return 0>t?-t:t},i.ub=function(t,n){return 0<=n?i.J(t):-i.J(t)},i.V=function(t,n){return t==n||i.J(t-n)<=i.qD*(1+(i.J(t)+i.J(n))/2)},i.qd=function(t){return 0==t||i.J(t)<=i.qD},i.ow=function(t){return t=i.kM(t,i.py),i.J(t)<=i.Jn?t:0>t?t+i.py:t-i.py},i.EA=function(t,n){t.j=i.ow(t.j),n.j=i.ow(n.j),i.J(n.j)>i.Ju&&(t.j=i.ow(t.j+i.Jn),n.j=i.ub(i.Jn,n.j)-n.j);},i.Hg=function(t,n){var s=(n=(1-(n=Math.sqrt(1-n)))/(1+n))*n;return t/(1+n)*(1+s*(.25+s*(.015625+1/256*s)))*i.Ju},i.nS=function(n,s,h,r,e){var a,o,u,f=0,c=o=0,l=0,p=0,b=0,v=0,y=0,w=new t.da,d=new t.da;if(null!=e)if(w.j=n,d.j=s,i.EA(w,d),n=w.j,s=d.j,w.j=h,d.j=r,i.EA(w,d),h=w.j,r=d.j,h=i.ow(h-n),i.V(s,r)&&(i.qd(h)||i.V(i.J(s),i.Ju)))null!=e&&(e.j=0);else {if(i.V(s,-r)){if(i.V(i.J(s),i.Ju))return void(null!=e&&(e.j=2*i.Hg(6378137,.0066943799901413165)));if(i.V(i.J(h),i.Jn))return void(null!=e&&(e.j=2*i.Hg(6378137,.0066943799901413165)))}if(i.qd(.0066943799901413165))p=Math.cos(s),b=Math.cos(r),null!=e&&(f=Math.sin((r-s)/2),o=Math.sin(h/2),y=2*Math.asin(Math.sqrt(f*f+p*b*o*o)),e.j=6378137*y);else {n=1-(w=1-Math.sqrt(.9933056200098587)),d=Math.atan(n*Math.tan(s)),s=Math.sin(d),d=Math.cos(d);var g=Math.atan(n*Math.tan(r));r=Math.sin(g),g=Math.cos(g);var x=a=h,m=0,j=1,M=h;for(u=!0;1==u;){m+=1,1==j&&(f=g*(v=Math.sin(M)),y=d*r-s*g*(o=Math.cos(M)),f=Math.sqrt(f*f+y*y),o=s*r+d*g*o,y=Math.atan2(f,o),l=1-(c=1e-15>i.J(f)?d*g*v/i.ub(1e-15,f):d*g*v/f)*c,b=(p=1e-15>i.J(l)?o-s*r/i.ub(1e-15,l)*2:o-s*r/l*2)*p,v=((-3*l+4)*w+4)*l*w/16);var k=(1-v)*w*(y+v*f*(p+o*v*(2*b-1)));1==j?(M=h+k*c,1e-14>i.J(M-x)?u=!1:i.J(M)>i.Jn?(j=2,M=i.Jn,0>h&&(M=-M),c=0,l=1,a=x=2,y=i.Jn-i.J(Math.atan(s/d)+Math.atan(r/g)),f=Math.sin(y),o=Math.cos(y),v=((-3*l+4)*w+4)*l*w/16,1e-14>i.J(c-a)?u=!1:b=(p=1e-15>i.J(l)?o-s*r/i.ub(1e-15,l)*2:o-s*r/l*2)*p):(0>(M-x)*(x-a)&&5<m&&(M=(2*M+3*x+a)/6),a=x,x=M)):(0>((c=(M-h)/k)-x)*(x-a)&&5<m&&(c=(2*c+3*x+a)/6),a=x,x=c,l=1-c*c,v=c*f/(d*g),o=-Math.sqrt(i.J(1-v*v)),M=Math.atan2(v,o),f=g*v,y=d*r-s*g*o,f=Math.sqrt(f*f+y*y),o=s*r+d*g*o,y=Math.atan2(f,o),v=((-3*l+4)*w+4)*l*w/16,1e-14>i.J(c-a)?u=!1:b=(p=1e-15>i.J(l)?o-s*r/i.ub(1e-15,l)*2:o-s*r/l*2)*p);}null!=e&&(l=(c=((c=Math.sqrt(1+(1/(n*n)-1)*l))-1)/(c+1))*(1-.375*c*c),e.j=(1+c*c/4)/(1-c)*n*6378137*(y-l*f*(p+l/4*(o*(2*b-1)-l/6*p*(4*f*f-3)*(4*b-3)))));}}},i.Jn=3.141592653589793,i.Ju=1.5707963267948966,i.py=6.283185307179586,i.qD=3552713678800501e-30,i}();}(W||(W={})),function(t){var i=function(t){this.He=t,this.Rk=this.He.getCode(),0>this.Rk&&(this.Rk=0);};t.j_=i;var n=function(){function n(t){void 0===t&&(t=null),this.Gj=null,this.no=!1,null!==t&&(this.Gj=new i(t));}return n.prototype.xc=function(){return null!=this.Gj?this.Gj.Rk:0},n.prototype.Cf=function(){var t=new n;return this.copyTo(t),t},n.prototype.copyTo=function(t){t.Gj=this.Gj,t.no=this.no;},n.prototype.Rv=function(){var t=this.Cf();return t.Xs(),t},n.prototype.Xs=function(){this.no=!this.no;},n.prototype.Bm=function(){return null!=this.Gj?this.Gj.He:null},n.prototype.PK=function(n){if(0>=n)throw t.f.I();if(n!=this.xc()){if(null==(n=t.zf.geogtran(n)))throw t.f.I("Geogtran not found.");this.Gj=new i(n);}},n.prototype.jA=function(){return null==this.Gj?null:this.Gj.He.toString()},n.prototype.XY=function(n){if(null==n)throw t.f.I();var s=null;try{s=t.zf.fromString(t.Pc.PE_TYPE_GEOGTRAN,n);}catch(h){throw t.f.I()}this.Gj=new i(s);},n.prototype.Ib=function(t){return t==this||!(!(t instanceof n)||(0>=this.xc()||this.xc()!=t.xc())&&!this.Bm().isEqual(t.Bm()))&&this.no==t.no},n.prototype.toString=function(){var t="GeographicTransformation: "+this.jA();return 200<t.length?t.substring(0,197)+"... ("+t.length.toString()+" characters)":t},n.create=function(t,i){var s=new n;return s.PK(t),i&&s.Xs(),s},n.LF=function(t,i){var s=new n;return s.XY(t),i&&s.Xs(),s},n}();t.Hn=n;}(W||(W={})),function(t){var i=function(){function t(){}return t.construct=function(i,n,s,h){var r=new t;return r.Um=i,r.Vm=n,r.nI=s,r.oI=h,r},t.ls=function(t,i){return t.Um==i.Um?t.Vm==i.Vm?0:t.Vm<i.Vm?-1:1:t.Um<i.Um?-1:1},t}(),n=function(){function n(){this.pI=[],this.cB=[],this.LH=this.RA=this.KH=!1,this.Jp();}return n.bo=function(){return null==n.oL&&(n.oL=new n),n.oL},n.d0=function(){return n.bo().RA},n.e0=function(){return n.bo().LH},n.l_=function(t,i){if(t==i)return null;var s=n.bo();if(s.KH){var h=n.Fy(s.cB,t,i);return null!=h?h:null}return null!=(h=n.Fy(s.cB,t,i))?h:n.Fy(s.pI,t,i)},n.CQ=function(i,n,s,h,r){var e=t.hy.create();if(0<i)try{var a=t.Hn.create(i,n);if(0==a.xc())return null;if(e.add(a),0<s){var o=t.Hn.create(s,h);if(0==o.xc())return null;e.add(o);}r&&(e=e.Rv());}catch(u){e=null;}return e},n.Fy=function(t,s,h){if(s==h||0==t.length)return null;for(var r=i.construct(s,h,0,0),e=!1,a=!1,o=0,u=0,f=-1,c=0;c<t.length;c++)if(0===i.ls(r,t[c])){f=c;break}if(0>f||t[f].Um!=r.Um||t[f].Vm!=r.Vm){for(r=i.construct(h,s,0,0),s=-1,c=0;c<t.length;c++)if(0===i.ls(r,t[c])){s=c;break}0<=s&&t[s].Um==r.Um&&t[s].Vm==r.Vm&&(o=t[s].nI,u=t[s].oI,a=e=!0);}else o=t[f].nI,u=t[f].oI,e=!1,a=!0;return a?(0==o&&(o=u,u=0),r=t=!1,0>o&&(o=-o,t=!0),0>u&&(u=-u,r=!0),n.CQ(o,t,u,r,e)):null},n.prototype.Jp=function(){this.TD(this.pI)&&(this.RA=!0),this.TD(this.cB)&&(this.LH=!0),this.KH=!this.RA;},n.prototype.TD=function(t){try{var n=[];n=n.sort(i.ls);for(var s=0;s<n.length;s++)t.push(n[s]);}catch(h){}return !0},n.y_=function(){return null},n}();t.i_=n;}(W||(W={})),function(t){var i=function(){function t(){}return t.prototype.Ky=function(t){this.oi=t;},t.prototype.jE=function(t){this.Hb=t;},t.prototype.kE=function(t){this.To=t;},t.mF=function(t){return !(t.u()||1607!=t.F()&&1736!=t.F())},t.kF=function(t){return !(t.u()||1607!=t.F()&&1736!=t.F()||20>t.D())},t.lF=function(t){return !(t.u()||1607!=t.F()&&1736!=t.F()||20>t.D())},t}();t.Yk=i;}(W||(W={})),function(t){t.bc=function(){function i(){}return i.lV=function(i){var n=new t.Ga;return n.Zx(i.Ms(),i.Os()),n.Cj(i.Ms(),i.Ns()),n.Cj(i.Ls(),i.Ns()),n.Cj(i.Ls(),i.Os()),n},i.$g=function(i,n){return null===i?null:t.Rr.local().U(i,n,null)},i.SZ=function(i,n){var s=t.Jh.local();return i=new t.$c(i),s.U(i,n,null).next()},i.tm=function(i,n,s){return t.Cp.local().U(i,n,s,null)},i.tp=function(i,n,s){return t.oy.local().U(i,n,s,null)},i.AZ=function(i,n,s){var h=t.oy.local();for(i=new t.$c(i),n=new t.$c(n),s=h.U(i,n,s,null),h=[];null!=(n=s.next());)h.push(n);return h},i.Ib=function(i,n,s){return t.kj.local().U(3,i,n,s,null)},i.dR=function(i,n,s){return t.kj.local().U(4,i,n,s,null)},i.kU=function(i,n,s){var h=t.ak.local();for(i=new t.$c(i),n=new t.$c(n),s=h.U(i,n,s,null),h=[];null!=(n=s.next());)h.push(n);return h},i.aR=function(i,n,s){var h=t.Cp.local();for(i=new t.$c(i),n=new t.$c(n),s=h.U(i,n,s,null),h=[];null!=(n=s.next());)h.push(n);return h},i.Ia=function(i,n,s){return t.ak.local().U(i,n,s,null)},i.XZ=function(i,n,s){return t.kj.local().U(2,i,n,s,null)},i.contains=function(i,n,s){return t.kj.local().U(1,i,n,s,null)},i.MQ=function(i,n,s){return t.kj.local().U(16,i,n,s,null)},i.touches=function(i,n,s){return t.kj.local().U(8,i,n,s,null)},i.WV=function(i,n,s){return t.kj.local().U(32,i,n,s,null)},i.mU=function(i,n,s){return t.kj.local().U(1073741824,i,n,s,null)},i.hC=function(i,n,s,h){return t.IM.local().U(i,n,s,h,null)},i.vb=function(i,n,s,h){var r=null;if(null!=s){if(r=s.Ld(),null!=h&&r.xc()!=h.xc()&&r.od!=h.od)throw t.f.al()}else if(null!=h)throw t.f.I();return i=t.AM.local().U(i,n,null),null!==r&&null!==h&&(i=t.Uc.Rh(i,r,h)),i},i.clip=function(i,n,s){return t.uM.local().U(i,t.g.construct(n.Ms(),n.Os(),n.Ls(),n.Ns()),s,null)},i.jl=function(i,n,s){if(null==i||null==n)return null;for(i=t.wM.local().U(!0,i,n,s,null),n=[];null!=(s=i.next());)s.u()||n.push(s);return n.slice(0)},i.XO=function(n,s,h,r,e,a,o,u){if(!0===e)return i.YO(n,s,h,r,a,o,u);if(e=h,null!=s){if(o=s.Ld(),null!=r&&o.xc()!=r.xc()){if(o.od!=r.od)throw t.f.al();e=[],t.Uc.IF(h,h.length,r,o,e);}}else if(null!=r)throw t.f.I();if(h=t.hD.local(),a){for(n=new t.$c(n),s=h.U(n,s,e,a,null),n=[];null!=(a=s.next());)n.push(a);a=n.slice(0);}else for(a=[],r=0;r<n.length;r++)a[r]=h.U(n[r],s,e[r],null);return a},i.YO=function(i,n,s,h,r,e,a){if(null===n)throw t.f.I();if(null==h&&(h=4326!==n.xc()?n.Ld():t.Uc.hh(9001)),0!==h.od)throw t.f.I();if(t.Uc.IF(s,s.length,h,t.Uc.hh(9001),s),h=t.mD.local(),r){for(i=new t.$c(i),n=h.U(i,n,e,s,a,!1,r,null),s=[];null!=(e=n.next());)s.push(e);r=s.slice(0);}else {r=[];for(var o=0;o<i.length;o++)r[o]=h.U(i[o],n,e,s[o],a,!1,null);}return r},i.buffer=function(i,n,s,h,r,e,a){var o=s;if(!1===r){if(null!=n){if(r=n.Ld(),null!=h&&r.xc()!=h.xc()){if(r.od!=h.od)throw t.f.al();o=t.Uc.Rh(s,h,r);}}else if(null!=h)throw t.f.I();i=t.hD.local().U(i,n,o,null);}else {if(null===n)throw t.f.I();if(null==h&&(h=4326!==n.xc()?n.Ld():t.Uc.hh(9001)),0!==h.od)throw t.f.I();o=t.Uc.Rh(s,h,t.Uc.hh(9001)),i=t.mD.local().U(i,n,e,o,a,!1,null);}return i},i.UV=function(i,n,s,h,r,e,a){if(null!=n){var o=n.Ld();if(null!=a&&o.xc()!=a.xc()){if(o.od!=a.od)throw t.f.al();s=t.Uc.Rh(s,a,o);}}else if(null!=a)throw t.f.I();for(i=new t.$c(i),n=t.pD.local().U(i,n,s,h,r,e,null),s=[];null!=(h=n.next());)s.push(h);return s.slice(0)},i.offset=function(i,n,s,h,r,e,a){if(null!=n){var o=n.Ld();if(null!=a&&o.xc()!=a.xc()){if(o.od!=a.od)throw t.f.al();s=t.Uc.Rh(s,a,o);}}else if(null!=a)throw t.f.I();return t.pD.local().U(i,n,s,h,r,e,null)},i.sQ=function(i){return t.jD.local().U(i,null)},i.tQ=function(i,n){var s=t.jD.local();for(i=new t.$c(i),n=s.U(i,n,null),s=[];null!=(i=n.next());)s.push(i);return s},i.Xz=function(i,n,s){return t.my.local().Xz(i,n,s)},i.Yz=function(i,n){return t.my.local().Yz(i,n)},i.Zz=function(i,n,s,h){return t.my.local().Zz(i,n,s,h)},i.MC=function(i,n){return t.jm.local().U(i,n,!1,null)},i.AU=function(i,n){return t.jm.local().zq(i,n,null)},i.bS=function(i,n,s,h,r){var e=t.lD.local();if(null!=n){if(n=n.Ld(),null!=r&&n.xc()!=r.xc()){if(n.od!=r.od)throw t.f.al();s=t.Uc.Rh(s,r,n);}}else if(null!=r)throw t.f.I();return e.U(i,s,h,null)},i.rs=function(i,n,s,h){var r=t.im.local();if(null!=n){if(n=n.Ld(),null!=h&&n.xc()!=h.xc()){if(n.od!=h.od)throw t.f.al();s=t.Uc.Rh(s,h,n);}}else if(null!=h)throw t.f.I();return r.U(i,s,null)},i.Bz=function(i,n,s,h,r){void 0===r&&(r=0);var e=t.CM.local();if(4==r)throw t.f.Me();if(0!==r)throw t.f.Me();if(null!==h){if(0!==h.od)throw t.f.I("Unit must be a linear unit type");s=t.Uc.Rh(s,h,t.Uc.hh(9001));}return e.U(i,s,n,r,null)},i.hS=function(n,s,h,r){if(null===n)return 0;if(4==r)throw t.f.Me();if(0!==r)throw t.f.Me();if(197==n.F())n=i.lV(n);else if(1736!=n.F())return 0;if(r=t.ab.hc(s),n=t.ab.$g(n,s,r),n=t.cM.iS([n])[0],null!==h){if(2!==h.od)throw t.f.I("Unit must be a area unit type");n=t.Uc.Rh(n,t.Uc.hh(109404),h);}return n},i.lS=function(i,n,s,h){if(i=t.EM.local().U(i,n,h,null),null!==s){if(0!==s.od)throw t.f.I("Unit must be a linear unit type");i=t.Uc.Rh(i,t.Uc.hh(9001),s);}return i},i.bW=function(i,n,s){if(null===i)return 0;var h=null;if(null!=n){if(0==(h=n.Ld()).od&&(null==(h=t.Uc.MG(h))&&null!==s))throw t.f.I();if(null!=s&&h.xc()!=s.xc()&&h.od!=s.od)throw t.f.al()}else if(null!=s)throw t.f.I();return 1736==i.F()||197==i.F()?(i=i.Pe(),null!==s?t.Uc.Rh(i,h,s):i):0},i.cW=function(i,n,s){if(null===i||i.u()||1>i.pb())return 0;var h=null;if(null!=n){if(h=n.Ld(),null!=s&&h.xc()!=s.xc()&&h.od!=s.od)throw t.f.al()}else if(null!=s)throw t.f.I();1736==i.F()||197==i.F()?n=i.sg():t.R.Ic(i.F())?(n=new t.Oa(i.description)).$b(i,!0):n=i,i=0,n=n.Ba();for(var r=new t.b,e=new t.b;n.Ta();)for(;n.Aa();){var a=n.aa();a.qq(r),a.vs(e),i+=t.b.vb(r,e);}return null!==h&&null!==s&&(i=t.Uc.Rh(i,h,s)),i},i.X_=function(i,n){return t.je.kS(i,n)},i.pQ=function(t){return void 0!==t.points?i.HT(t,void 0!==t.hasZ&&t.hasZ,void 0!==t.hasM&&t.hasM):void 0!==t.rings?i.YG(t.rings,void 0!==t.hasZ&&t.hasZ,void 0!==t.hasM&&t.hasM,"P"):void 0!==t.paths?i.YG(t.paths,void 0!==t.hasZ&&t.hasZ,void 0!==t.hasM&&t.hasM,"L"):void 0!==t.x?i.IT(t):void 0!==t.xmin?i.GT(t):null},i.IT=function(i){if(null==i.x||"NaN"==i.x)return new t.Ra;var n=new t.Ra(i.x,i.y);return void 0!==i.z&&null!==i.z&&n.$Y(i.z),void 0!==i.m&&null!==i.m&&n.KY(i.m),n},i.GT=function(i){if(null==i.xmin||"NaN"==i.xmin)return new t.Ih;var n=new t.Ih(i.xmin,i.ymin,i.xmax,i.ymax);return void 0!==i.zmin&&null!==i.zmin&&n.setInterval(1,0,i.zmin,i.zmax),void 0!==i.mmin&&null!==i.mmin&&n.setInterval(2,0,i.mmin,i.mmax),n},i.HT=function(i,n,s){var h=0,r=new t.Hd,e=3*i.points.length;0!=e%2&&e++,2>e&&(e=2);var a=t.L.truncate(3*i.points.length/2);4>a?a=4:16>a&&(a=16),e=t.Xc.Wn(e,0);var o=t.Xc.Wn(a);a=t.Xc.Wn(a);for(var u=0;u<i.points.length;u++)e.write(2*u,i.points[u][0]),e.write(2*u+1,i.points[u][1]),o.write(u,n||s?i.points[u][2]:NaN),a.write(u,s&&n?i.points[u][3]:NaN),h++;return 0!=h&&(r.resize(h),r.yn(0,e)),n&&(r.le(1),r.yn(1,o)),s&&(r.le(2),r.yn(2,0==n?o:a)),r.Oc(16777215),r},i.YG=function(i,n,s,h){var r=0,e=2;if("P"==h){var a=new t.Ga;r=1,e=3;}else a=new t.Oa;for(var o=t.Xc.Sh(0),u=t.Xc.ns(0),f=0,c=0,l=[],p=[],b=0;b<i.length;b++){var v=i[b].length;if(l[b]=!1,"P"===h&&i[b][0][0]===i[b][i[b].length-1][0]&&i[b][0][1]===i[b][i[b].length-1][1]){var y=0==s||(i[b][0][3]===i[b][i[b].length-1][3]||void 0===i[b][0][3]&&void 0===i[b][i[b].length-1][3]);(0==n||i[b][0][2]===i[b][i[b].length-1][2]||void 0===i[b][0][2]&&void 0===i[b][i[b].length-1][2])&&y&&(l[b]=!0,--v);}v>=e?(p[b]=!1,c+=1,o.add(f),u.add(r),f+=v):p[b]=!0;}for(0!=(h=3*f)%2&&h++,2>h&&(h=2),4>(b=t.L.truncate(3*f/2))?b=4:16>b&&(b=16),h=t.Xc.Wn(h,0),r=t.Xc.Wn(b),e=t.Xc.Wn(b),b=v=0;b<i.length;b++)if(!1===p[b])for(y=0;y<i[b].length;y++){var w=!1;y===i[b].length-1&&!0===l[b]&&(w=!0),w||(h.write(2*v,i[b][y][0]),h.write(2*v+1,i[b][y][1]),r.write(v,n||s?i[b][y][2]:NaN),e.write(v,s&&n?i[b][y][3]:NaN),v++);}return 0!=f&&(i=a,o.resize(c),u.resize(c),0<f&&(o.add(f),u.add(0)),i.yn(0,h),i.TK(u),i.UK(o)),n&&(a.le(1),a.yn(1,r)),s&&(a.le(2),a.yn(2,0==n?r:e)),a.Oc(16777215),a},i}();}(W||(W={})),function(t){t.jy=function(){function t(){}return t.vr=function(t){var i,n=0,s=t.length,h=t[0];for(i=0;i<s-1;i++){var r=t[i+1];n+=(r[0]-h[0])*(r[1]+h[1]),h=r;}return 0<=n},t.rotate=function(i,n,s){n=n*Math.PI/180;var h=Math.cos(n),r=Math.sin(n);if(void 0!==i.paths){n={paths:[]};for(var e=0;e<i.paths.length;e++){for(var a=i.paths[e],o=[],u=0;u<a.length;u++){var f=a[u].slice(0);o.push(f);var c=h*(a[u][0]-s.x)-r*(a[u][1]-s.y)+s.x,l=r*(a[u][0]-s.x)+h*(a[u][1]-s.y)+s.y;f[0]=c,f[1]=l;}n.paths.push(o);}return n}if(void 0!==i.rings){for(n={rings:[]},e=0;e<i.rings.length;e++){a=i.rings[e],o=[];var p=t.vr(a);for(u=0;u<a.length;u++)f=a[u].slice(0),o.push(f),c=h*(a[u][0]-s.x)-r*(a[u][1]-s.y)+s.x,l=r*(a[u][0]-s.x)+h*(a[u][1]-s.y)+s.y,f[0]=c,f[1]=l;t.vr(o)!==p&&o.reverse(),n.rings.push(o);}return n}if(void 0!==i.x)return n={x:h*(i.x-s.x)-r*(i.y-s.y)+s.x,y:r*(i.x-s.x)+h*(i.y-s.y)+s.y},void 0!==i.z&&(n.z=i.z),void 0!==i.m&&(n.m=i.m),n;if(void 0!==i.points){for(n={points:[]},i=i.points,u=0;u<i.length;u++)(e=i[u].slice(0))[0]=h*(i[u][0]-s.x)-r*(i[u][1]-s.y)+s.x,e[1]=r*(i[u][0]-s.x)+h*(i[u][1]-s.y)+s.y,n.points.push(e);return n}return null},t.VR=function(i,n){if(void 0!==i.paths){for(var s={paths:[]},h=0;h<i.paths.length;h++){for(var r=i.paths[h],e=[],a=0;a<r.length;a++){var o=r[a].slice(0);e.push(o);var u=n.x-r[a][0];o[0]=r[a][0]+2*u;}s.paths.push(e);}return s}if(void 0!==i.rings){for(s={rings:[]},h=0;h<i.rings.length;h++){r=i.rings[h];var f=t.vr(r);for(e=[],a=0;a<r.length;a++)o=r[a].slice(0),e.push(o),u=n.x-r[a][0],o[0]=r[a][0]+2*u;t.vr(e)!==f&&e.reverse(),s.rings.push(e);}return s}if(void 0!==i.x)return u=n.x-i.x,s={x:i.x+2*u,y:i.y},void 0!==i.z&&(s.z=i.z),void 0!==i.m&&(s.m=i.m),s;if(void 0!==i.points){for(s={points:[]},i=i.points,a=0;a<i.length;a++)h=i[a].slice(0),u=n.x-h[0],h[0]+=2*u,s.points.push(h);return s}return void 0!==i.xmin?(s={o:i.xmin,A:i.ymin,v:i.xmax,B:i.ymax},void 0!==i.zmin&&(s.zmin=i.zmin,s.zmax=i.zmax),void 0!==i.mmin&&(s.mmin=i.mmin,s.mmax=i.mmax),u=n.x-i.xmin,s.xmax=i.xmin+2*u,u=n.x-i.xmax,s.xmin=i.xmax+2*u,s):null},t.WR=function(i,n){if(void 0!==i.paths){for(var s={paths:[]},h=0;h<i.paths.length;h++){for(var r=i.paths[h],e=[],a=0;a<r.length;a++){var o=r[a].slice(0);e.push(o);var u=n.y-r[a][1];o[1]=r[a][1]+2*u;}s.paths.push(e);}return s}if(void 0!==i.rings){for(s={rings:[]},h=0;h<i.rings.length;h++){r=i.rings[h];var f=t.vr(r);for(e=[],a=0;a<r.length;a++)o=r[a].slice(0),e.push(o),u=n.y-r[a][1],o[1]=r[a][1]+2*u;t.vr(e)!==f&&e.reverse(),s.rings.push(e);}return s}if(void 0!==i.x)return u=n.y-i.y,s={y:i.y+2*u,x:i.x},void 0!==i.z&&(s.z=i.z),void 0!==i.m&&(s.m=i.m),s;if(void 0!==i.points){for(s={points:[]},i=i.points,a=0;a<i.length;a++)h=i[a].slice(0),u=n.y-h[1],h[1]+=2*u,s.points.push(h);return s}return void 0!==i.xmin?(s={o:i.xmin,A:i.ymin,v:i.xmax,B:i.ymax},void 0!==i.zmin&&(s.zmin=i.zmin,s.zmax=i.zmax),void 0!==i.mmin&&(s.mmin=i.mmin,s.mmax=i.mmax),u=n.y-i.ymin,s.ymax=i.ymin+2*u,u=n.y-i.ymax,s.ymin=i.ymax+2*u,s):null},t}();}(W||(W={})),function(t){t.hM=function(){function i(){}return i.Pg=function(i,n){switch(null==n&&(n=t.ke.ug()),i){case 33:return new t.Ra(n);case 322:return new t.zb(n);case 197:return new t.Ih(n);case 550:return new t.Hd(n);case 1607:return new t.Oa(n);case 1736:return new t.Ga(n);default:throw t.f.Y("invalid argument.")}},i}();}(W||(W={})),function(t){var i=function(){function i(i,n){this.Ye=t.ha.Af(i,-1),this.ta=new t.Iu,this.Fl=n;}return i.prototype.fY=function(t){this.ta.lu(Math.min(this.Ye.size,t)),this.ta.vn(t);},i.prototype.addElement=function(i,n){if(void 0===n)return this.oO(i);n=t.L.truncate(n%this.Ye.size);var s=this.Ye.get(n);return -1==s&&(s=this.ta.Th(),this.Ye.set(n,s)),this.ta.addElement(s,i)},i.prototype.oO=function(i){var n=this.Fl.Tz(i);n=t.L.truncate(n%this.Ye.size);var s=this.Ye.get(n);return -1==s&&(s=this.ta.Th(),this.Ye.set(n,s)),this.ta.addElement(s,i)},i.prototype.jd=function(i,n){if(void 0===n)this.VQ(i);else {n=t.L.truncate(n%this.Ye.size);var s=this.Ye.get(n);if(-1==s)throw t.f.I();for(var h=this.ta.sc(s),r=-1;-1!=h;){var e=this.ta.hb(h);this.ta.ga(h)==i?(this.ta.jd(s,r,h),-1==this.ta.sc(s)&&(this.ta.kh(s),this.Ye.set(n,-1))):r=h,h=e;}}},i.prototype.VQ=function(i){var n=this.Fl.Tz(i);n=t.L.truncate(n%this.Ye.size);var s=this.Ye.get(n);if(-1==s)throw t.f.I();for(var h=this.ta.sc(s),r=-1;-1!=h;){var e=this.ta.hb(h);this.ta.ga(h)==i?(this.ta.jd(s,r,h),-1==this.ta.sc(s)&&(this.ta.kh(s),this.Ye.set(n,-1))):r=h,h=e;}},i.prototype.ES=function(i){return i=t.L.truncate(i%this.Ye.size),-1==(i=this.Ye.get(i))?-1:this.ta.sc(i)},i.prototype.US=function(t){return this.ta.hb(t)},i.prototype.zd=function(i){var n=this.Fl.Tz(this.ga(i));n=t.L.truncate(n%this.Ye.size);var s=this.Ye.get(n);if(-1==s)throw t.f.I();for(var h=this.ta.sc(s),r=-1;-1!=h;){if(h==i)return this.ta.jd(s,r,h),void(-1==this.ta.sc(s)&&(this.ta.kh(s),this.Ye.set(n,-1)));r=h,h=this.ta.hb(h);}throw t.f.I()},i.prototype.ga=function(t){return this.ta.ga(t)},i.prototype.clear=function(){this.Ye=t.ha.Af(this.Ye.size,-1),this.ta.clear();},i.prototype.size=function(){return this.ta.FG()},i}();t.nM=i;}(W||(W={})),function(t){var i=function(){function i(){this.Ri=new t.ad(3),this.ta=new t.ad(6),this.NU=!1,this.re=-1;}return i.prototype.ml=function(t){this.Ri.jd(t);},i.prototype.vx=function(){return this.Ri.Ke()},i.prototype.Kv=function(t){this.ta.jd(t);},i.prototype.KB=function(){return this.ta.Ke()},i.prototype.EC=function(t,i){this.Ri.P(t,1,i);},i.prototype.Mx=function(t,i){this.Ri.P(t,2,i);},i.prototype.JY=function(t,i){this.Ri.P(t,3,i);},i.prototype.CC=function(t,i){this.ta.P(t,4,i);},i.prototype.MY=function(t,i){this.ta.P(t,3,i);},i.prototype.XK=function(t,i){this.ta.P(t,2,i);},i.prototype.Th=function(t){var i=this.KB();return this.ta.P(i,3,this.re),this.ta.P(i,4,0),this.ta.P(i,5,t),-1!=this.re&&this.XK(this.re,i),this.re=i},i.prototype.kh=function(t){this.vF(t);var i=this.ta.S(t,2),n=this.ta.S(t,3);return -1!=i?this.MY(i,n):this.re=n,-1!=n&&this.XK(n,i),this.Kv(t),n},i.prototype.lu=function(t){this.ta.Le(t);},i.prototype.BG=function(t){return this.ta.S(t,5)},i.prototype.IY=function(t,i){this.ta.P(t,5,i);},i.prototype.addElement=function(t,i){return this.OT(t,i)},i.prototype.OT=function(t,i){var n=this.vx();this.Mx(n,-1),-1==this.ta.S(t,0)&&this.ta.P(t,0,n);var s=this.ta.S(t,1);return this.EC(n,s),-1!=s&&this.Mx(s,n),this.ta.P(t,1,n),this.setData(n,i),this.CC(t,this.Hs(t)+1),this.NU&&this.JY(n,t),n},i.prototype.jd=function(t,i){var n=this.Be(i),s=this.hb(i);return -1!=n?this.Mx(n,s):this.ta.P(t,0,s),-1!=s?this.EC(s,n):this.ta.P(t,1,n),this.ml(i),this.CC(t,this.Hs(t)-1),s},i.prototype.vn=function(t){this.Ri.Le(t);},i.prototype.getData=function(t){return this.Ri.S(t,0)},i.prototype.setData=function(t,i){this.Ri.P(t,0,i);},i.prototype.hb=function(t){return this.Ri.S(t,2)},i.prototype.Be=function(t){return this.Ri.S(t,1)},i.prototype.sc=function(t){return this.ta.S(t,0)},i.prototype.Gc=function(t){return this.ta.S(t,1)},i.prototype.clear=function(){for(var t=this.re;-1!=t;)t=this.kh(t);},i.prototype.vF=function(t){for(var i=this.Gc(t);-1!=i;){var n=i;i=this.Be(n),this.ml(n);}this.ta.P(t,0,-1),this.ta.P(t,1,-1),this.CC(t,0);},i.prototype.u=function(){return 0==this.Ri.size},i.prototype.FG=function(){return this.Ri.size},i.prototype.Hs=function(t){return this.ta.S(t,4)},i.prototype.$z=function(t){return this.ta.S(t,3)},i}();t.Ap=i;}(W||(W={})),function(t){var i=function(){function i(i){void 0===i?(this.Bg=new t.ad(2),this.ta=new t.ad(4),this.re=-1,this.xw=!0):(this.Bg=new t.ad(2),this.ta=new t.ad(i?4:2),this.re=-1,this.xw=i);}return i.prototype.ml=function(t){this.Bg.jd(t);},i.prototype.vx=function(){return this.Bg.Ke()},i.prototype.Kv=function(t){this.ta.jd(t);},i.prototype.KB=function(){return this.ta.Ke()},i.prototype.Th=function(){var t=this.KB();return this.xw&&(this.ta.P(t,3,this.re),-1!=this.re&&this.ta.P(this.re,2,t),this.re=t),t},i.prototype.kh=function(t){for(var i=this.sc(t);-1!=i;){var n=i;i=this.hb(i),this.ml(n);}this.xw&&(i=this.ta.S(t,2),n=this.ta.S(t,3),-1!=i?this.ta.P(i,3,n):this.re=n,-1!=n&&this.ta.P(n,2,i)),this.Kv(t);},i.prototype.lu=function(t){this.ta.Le(t);},i.prototype.addElement=function(t,i){var n=this.ta.S(t,1),s=this.vx();return -1!=n?this.Bg.P(n,1,s):this.ta.P(t,0,s),this.ta.P(t,1,s),this.Bg.P(s,0,i),s},i.prototype.vn=function(t){this.Bg.Le(t);},i.prototype.jd=function(t,i,n){-1!=i?(this.Bg.P(i,1,this.Bg.S(n,1)),this.ta.S(t,1)==n&&this.ta.P(t,1,i)):(this.ta.P(t,0,this.Bg.S(n,1)),this.ta.S(t,1)==n&&this.ta.P(t,1,-1)),this.ml(n);},i.prototype.lz=function(t,i){var n=this.ta.S(t,1),s=this.ta.S(i,0);-1!=s&&(-1!=n?this.Bg.P(n,1,s):this.ta.P(t,0,s),this.ta.P(t,1,this.ta.S(i,1))),this.xw&&(t=this.ta.S(i,2),n=this.ta.S(i,3),-1!=t?this.ta.P(t,3,n):this.re=n,-1!=n&&this.ta.P(n,2,t)),this.Kv(i);},i.prototype.ga=function(t){return this.Bg.S(t,0)},i.prototype.Tj=function(t,i){this.Bg.P(t,0,i);},i.prototype.hb=function(t){return this.Bg.S(t,1)},i.prototype.sc=function(t){return this.ta.S(t,0)},i.prototype.ao=function(t){return this.ga(this.sc(t))},i.prototype.clear=function(){this.Bg.rj(!0),this.ta.rj(!0),this.re=-1;},i.prototype.u=function(){return 0==this.Bg.size},i.prototype.FG=function(){return this.Bg.size},i.prototype.$z=function(t){return this.ta.S(t,3)},i}();t.Iu=i;}(W||(W={})),function(t){t.la=function(){function i(){}return i.uE=function(n,s,h,r,e,a,o){var u=new t.b;u.K(n),(n=new t.b).K(s),e.My(u),e.My(n),s=e.Su(u);var f=e.Su(n);if(0==f&&(f=e.AG()),u.x!=n.x&&(u.y!=n.y||u.y!=e.A&&u.y!=e.B)||f>s!=a){s=e.QD(u),f=e.QD(n);var c=a?1:3;do{s=s+c&3;var l=e.Ax(s);0!=o&&(r=i.uE(u,l,h,r,e,a,o)),h[r++].ka(l.x,l.y),u=l;}while((3&s)!=f);0!=o&&(r=i.uE(u,n,h,r,e,a,o));}else if((e=new t.b).ka(n.x-u.x,n.y-u.y),0!=o&&0<(o=t.L.truncate(e.ZN()/o)))for(e.scale(1/(o+1)),a=0;a<o;a++)u.add(e),h[r++].ka(u.x,u.y);return r},i.Qd=function(t,i,n){return i=i.Mn(),t=null!=t&&void 0!==t.ce?t.ce(0):0,n&&(i*=4,t*=1.1),Math.max(t,i)},i.es=function(t){return 2*Math.sqrt(2)*t},i.CO=function(t){return Math.sqrt(2)*t},i.Ng=function(n,s,h){var r=new t.g;return s.s(r),i.Qd(n,r,h)},i.hF=function(t,i,n){return i=i.Qf(1,0).Mn(),t=null!=t?t.ce(1):0,n&&(i*=4,t*=1.1),Math.max(t,i)},i.Z_=function(i,n){var s=new t.g;return i.Zb(s),s.Nb(n),s},i.Uv=function(i,n){var s=new t.g;return i.Zb(s),i=new t.g,n.Zb(i),s.Nb(i),s},i.i0=function(i,n){var s=i.JS(n),h=i.ua(n),r=i.zc(n),e=i.xa(s);return s==h?(r=i.xa(r-1),s=i.xa(h+1)):s==r-1?(r=i.xa(s-1),s=i.xa(h)):(r=i.xa(s-1),s=i.xa(s+1)),0==(e=t.b.fp(r,e,s))?0<i.rm(n):-1==e},i.iP=function(i){var n=new t.g;if(i.Zb(n),n.u())return null;var s=new t.Fp(n,8),h=-1,r=new t.g,e=!1;do{for(var a=0,o=i.$();a<o;a++){if(i.Sj(a,r),-1==(h=s.fw(a,r,h))){if(e)throw t.f.Y("internal error");i.Tn(n,!1),e=!0,s.reset(n,8);break}e=!1;}}while(e);return s},i.$E=function(i){var n=new t.g;i.Zb(n);for(var s=new t.Fp(n,8),h=-1,r=i.Ba(),e=new t.g,a=!1;r.Ta();)for(;r.Aa();){var o=r.aa(),u=r.wb();if(o.s(e),-1==(h=s.fw(u,e,h))){if(a)throw t.f.za();i.Tn(n,!1),a=!0,s.reset(n,8),r.ej();break}}return s},i.pj=function(i,n){var s=new t.g;i.Zb(s);for(var h=new t.Fp(s,8),r=-1,e=new t.g,a=i.Ba(),o=!1;a.Ta();)for(;a.Aa();){var u=a.aa(),f=a.wb();if(u.s(e),e.isIntersecting(n)&&-1==(r=h.fw(f,e,r))){if(o)throw t.f.Y("internal error.");i.Tn(s,!1),o=!0,h.reset(s,8),a.ej();break}}return h},i.B_=function(i){var n=new t.g;i.Zb(n);for(var s=new t.Fp(n,8),h=new t.b,r=new t.g,e=!1,a=0;a<i.D();a++)if(i.w(a,h),r.H(h),-1==s.Gi(a,r)){if(e)throw t.f.za();i.Tn(n,!1),e=!0,s.reset(n,8),a=-1;}return s},i.aF=function(i,n){for(var s=new t.Fp(n,8),h=new t.b,r=!1,e=new t.g,a=0;a<i.D();a++)if(i.w(a,h),n.contains(h)&&(e.H(h),-1==s.Gi(a,e))){if(r)throw t.f.za();r=!0,a=new t.g,i.Tn(a,!1),s.reset(a,8),a=-1;}return s},i.zS=function(i,n,s){var h=new t.g,r=new t.g;i.Zb(h),n.Zb(r),h.O(s,s),r.O(s,s);var e=new t.g;e.H(h),e.Ia(r),i=i.Ba(),n=n.Ba();var a=new t.fD;a.IC(s);var o=!1;for(a.vL();i.Ta();)for(;i.Aa();)i.aa().s(h),h.isIntersecting(e)&&(o=!0,(s=new t.g).H(h),a.vE(i.wb(),s));if(a.WF(),!o)return null;for(h=!1,a.uL();n.Ta();)for(;n.Aa();)n.aa().s(r),r.isIntersecting(e)&&(h=!0,(s=new t.g).H(r),a.qE(n.wb(),s));return a.VF(),h?a:null},i.AS=function(i,n,s,h,r){var e=i.F(),a=n.F(),o=new t.g,u=new t.g;i.Zb(o),n.Zb(u),o.O(s,s),u.O(s,s);var f=new t.g;f.H(o),f.Ia(u);var c=new t.fD;c.IC(s);var l=!1;c.vL();var p=0;for(s=i.$();p<s;p++)h&&1736==e&&!i.lw(p)||(i.Sj(p,o),o.isIntersecting(f)&&(l=!0,c.vE(p,o)));if(c.WF(),!l)return null;for(i=!1,c.uL(),h=0,s=n.$();h<s;h++)r&&1736==a&&!n.lw(h)||(n.Sj(h,u),u.isIntersecting(f)&&(i=!0,c.qE(h,u)));return c.VF(),i?c:null},i.q0=function(t,i){return 0<t.rk(i)},i.A_=function(i,n){var s=new t.g;i.EX(n,s),s=new t.Fp(s,8);var h=-1,r=new t.g;if((i=i.Ba()).oC(n),i.Ta())for(;i.Aa();){n=i.aa();var e=i.wb();if(n.Zb(r),-1==(h=s.fw(e,r,h)))throw t.f.Y("internal error")}return s},i.zv=function(i,n,s){if(i!=n)for(var h=0;h<s;h++)null==i[h]?i[h]=t.b.gl(n[h]):i[h].K(n[h]);},i.nz=function(t,i,n,s){var h=0;for(s+=0;h<s;n++,h++)null==t[h]&&(t[h]=[0,0]),t[h][0]=i[n].x,t[h][1]=i[n].y;},i.mz=function(i,n,s,h){var r=n,e=0;for(n=h+n;r<n;e++,r++)null==i[r]?i[r]=t.b.construct(s[e][0],s[e][1]):i[r].ka(s[e][0],s[e][1]);},i.uQ=function(i,n,s){if(i!=n)for(var h=0;h<s;h++)null==i[h]?i[h]=new t.Ra(n[h]):n[h].copyTo(i[h]);},i.iZ=function(t,i,n,s){var h=s.fa;s=s.ja;for(var r=0;r<i;r+=n){var e=t.read(r);e<h?t.write(r,h):e>s&&t.write(r,s);}},i.hZ=function(t,i,n,s){var h=s.fa;s=s.ja;for(var r=0;r<i;r+=n){var e=t.read(r);e<h?t.write(r,h):e>s&&t.write(r,s);}},i.hL=function(n,s,h){if(n.hasAttribute(h)){var r=n.F();if(t.R.Rg(r)){var e=t.oa.sl(h);r=t.oa.Sa(h);var a=n.D();if(1==e)return n=n.Va(h),void i.iZ(n,a*r,r,s);if(2==e)return n=n.Va(h),void i.hZ(n,a*r,r,s);throw t.f.Y("snap_coordinate not implemented")}if(197==r)r=!1,(a=n.Qf(h,0)).fa<s.fa&&(r=!0,a.fa=s.fa),a.ja>s.ja&&(r=!0,a.ja=s.ja),r&&n.setInterval(h,0,a);else if(33==r)r=!1,(a=n.Rc(h,0))<s.fa&&(r=!0,a=s.fa),a>s.ja&&(r=!0,a=s.ja),r&&n.setAttribute(h,0,a);else {if(!t.R.Ic(r))throw t.f.Y("snap_coordinate not implemented");r=!1,(a=n.Ks(h,0))<s.fa&&(r=!0,a=s.fa),a>s.ja&&(r=!0,a=s.ja),r&&n.Qx(h,0,a),(a=n.us(h,0))<s.fa&&(r=!0,a=s.fa),a>s.ja&&(r=!0,a=s.ja),r&&n.Hx(h,0,a);}}},i.js=function(t,i,n,s,h){var r=0;return null!=i&&(r=i.ce(t),h&&!s||null==i||(r+=1.01*i.dA(t))),s&&(n*=4,r*=1.01),Math.max(r,n)},i.C_=function(n,s,h,r){return s=t.g.sN(s.Ce(),s.lf(),h.Ce(),h.lf()),i.js(0,n,s,r,!1)},i.Yy=function(t,n,s){return i.js(0,t,n.Mn(),s,!1)},i.D_=function(t,n,s){return i.js(1,t,n.Mn(),s,!1)},i.pP=function(n,s){var h=new t.g;return s.s(h),i.Yy(n,h,!0)},i.Zy=function(t,n){return i.js(0,t,n.Mn(),!1,!0)},i.E_=function(t,n,s){return i.js(1,t,n.Mn(),s,!0)},i.pv=function(n,s){var h=new t.g;return s.s(h),i.Zy(n,h)},i.mH=function(i,n,s,h){h*=h;var r=new t.b;if(r.tc(i,n),(i=new t.b).tc(s,n),n=r.En(),s=i.En(),n<=h&&s<=h)return !0;var e=t.Tb.Wx(r.Di(i));return (e<=h*n||e<=h*s)&&0<=r.Vh(i)},i.iL=function(i,n,s,h){for(var r=0;r<n;r++){var e=i[r].y,a=t.L.Yj(e,s,h);a!=e&&(i[r].y=a);}},i}();}(W||(W={})),function(t){var i,n,s=function(){function t(t){this.Xa=t;}return t.prototype.compare=function(t,i,n){t=t.ga(n),n=this.Xa.vk(i);var s=this.Xa.vk(t);return n<s?-1:n==s?e.yq(i)&&e.nw(t)?-1:e.yq(t)&&e.nw(i)?1:0:1},t}(),h=function(){function t(t){this.Xa=t;}return t.prototype.Lr=function(t,i,n){this.Xa.lZ(n,t,i);},t.prototype.sq=function(t){return this.Xa.vk(t)},t}();(n=i||(i={}))[n.initialize=0]="initialize",n[n.pIn=1]="pIn",n[n.pL=2]="pL",n[n.pR=3]="pR",n[n.pT=4]="pT",n[n.right=5]="right",n[n.left=6]="left",n[n.all=7]="all";var r=function(){function i(){this.Xa=null,this.Wi=new t.uc,this.Yg=new t.ha(0),this.zg=[0,0];}return i.prototype.vi=function(t,i){this.Wi.fa=t.fa-i,this.Wi.ja=t.ja+i,this.Yg.resize(0),this.pe=0,this.zg[0]=0;},i.prototype.nC=function(i,n,s){if(i>n)throw t.f.I();this.Wi.fa=i-s,this.Wi.ja=n+s,this.Yg.resize(0),this.pe=0,this.zg[0]=0;},i.prototype.wn=function(t,i){this.Wi.fa=t-i,this.Wi.ja=t+i,this.Yg.resize(0),this.pe=0,this.zg[0]=0;},i.prototype.next=function(){if(!this.Xa.Eq)throw t.f.Eb();if(0>this.pe)return -1;for(var i=!0;i;)switch(this.zg[this.pe]){case 1:i=this.YV();break;case 2:i=this.ZV();break;case 3:i=this.$V();break;case 4:i=this.aW();break;case 5:i=this.lY();break;case 6:i=this.GU();break;case 7:i=this.EO();break;case 0:i=this.oA();break;default:throw t.f.za()}return -1!=this.Ug?this.hq()>>1:-1},i.J_=function(t,n,s){var h=new i;return h.Xa=t,h.Yg.Db(20),h.vi(n,s),h},i.K_=function(t,n,s){var h=new i;return h.Xa=t,h.Yg.Db(20),h.wn(n,s),h},i.construct=function(t){var n=new i;return n.Xa=t,n.Yg.Db(20),n.pe=-1,n},i.prototype.oA=function(){return this.Ug=this.iI=this.Si=this.Mc=-1,null!=this.Xa.te&&0<this.Xa.te.size?(this.zg[0]=1,this.Si=this.Xa.tf,!0):(this.pe=-1,!1)},i.prototype.YV=function(){if(this.Mc=this.Si,-1==this.Mc)return this.Ug=this.pe=-1,!1;var t=this.Xa.iq(this.Mc);return this.Wi.ja<t?(t=this.Xa.uk(this.Mc),this.Si=this.Xa.vj(this.Mc),-1!=t&&(this.li=this.Xa.ql(t),this.zg[++this.pe]=6),!0):t<this.Wi.fa?(t=this.Xa.uk(this.Mc),this.Si=this.Xa.tk(this.Mc),-1!=t&&(this.li=this.Xa.Fs(t),this.zg[++this.pe]=5),!0):(this.zg[this.pe]=2,this.iI=this.Mc,t=this.Xa.uk(this.Mc),this.Si=this.Xa.vj(this.Mc),-1!=t&&(this.li=this.Xa.ql(t),this.zg[++this.pe]=7),!0)},i.prototype.ZV=function(){if(this.Mc=this.Si,-1==this.Mc)return this.zg[this.pe]=3,this.Si=this.Xa.tk(this.iI),!0;if(this.Xa.iq(this.Mc)<this.Wi.fa){var t=this.Xa.uk(this.Mc);return this.Si=this.Xa.tk(this.Mc),-1!=t&&(this.li=this.Xa.Fs(t),this.zg[++this.pe]=5),!0}return t=this.Xa.uk(this.Mc),this.Si=this.Xa.vj(this.Mc),-1!=t&&(this.li=this.Xa.ql(t),this.zg[++this.pe]=7),-1!=(t=this.Xa.tk(this.Mc))&&this.Yg.add(t),!0},i.prototype.$V=function(){if(this.Mc=this.Si,-1==this.Mc)return this.zg[this.pe]=4,!0;if(this.Wi.ja<this.Xa.iq(this.Mc)){var t=this.Xa.uk(this.Mc);return this.Si=this.Xa.vj(this.Mc),-1!=t&&(this.li=this.Xa.ql(t),this.zg[++this.pe]=6),!0}return t=this.Xa.uk(this.Mc),this.Si=this.Xa.tk(this.Mc),-1!=t&&(this.li=this.Xa.ql(t),this.zg[++this.pe]=7),-1!=(t=this.Xa.vj(this.Mc))&&this.Yg.add(t),!0},i.prototype.aW=function(){if(0==this.Yg.size)return this.Ug=this.pe=-1,!1;this.Mc=this.Yg.get(this.Yg.size-1),this.Yg.resize(this.Yg.size-1);var t=this.Xa.uk(this.Mc);return -1!=t&&(this.li=this.Xa.ql(t),this.zg[++this.pe]=7),-1!=this.Xa.vj(this.Mc)&&this.Yg.add(this.Xa.vj(this.Mc)),-1!=this.Xa.tk(this.Mc)&&this.Yg.add(this.Xa.tk(this.Mc)),!0},i.prototype.GU=function(){return this.Ug=this.li,-1!=this.Ug&&e.yq(this.hq())&&this.Xa.vk(this.hq())<=this.Wi.ja?(this.li=this.EG(),!1):(this.pe--,!0)},i.prototype.lY=function(){return this.Ug=this.li,-1!=this.Ug&&e.nw(this.hq())&&this.Xa.vk(this.hq())>=this.Wi.fa?(this.li=this.gT(),!1):(this.pe--,!0)},i.prototype.EO=function(){return this.Ug=this.li,-1!=this.Ug&&e.yq(this.hq())?(this.li=this.EG(),!1):(this.pe--,!0)},i.prototype.EG=function(){return this.Xa.ag?this.Xa.gg.hb(this.Ug):this.Xa.Zi.hb(this.Ug)},i.prototype.gT=function(){return this.Xa.ag?this.Xa.gg.Be(this.Ug):this.Xa.Zi.Be(this.Ug)},i.prototype.hq=function(){return this.Xa.ag?this.Xa.gg.ga(this.Ug):this.Xa.Zi.getData(this.Ug)},i}();t.k_=r;var e=function(){function i(t){this.Nm=this.fi=this.gg=this.Zi=this.Xm=this.Ij=this.te=this.Jj=null,this.ag=t,this.Eq=this.zw=!1;}return i.prototype.Gr=function(){this.Uk(!0);},i.prototype.bs=function(i,n){if(!this.zw)throw t.f.Eb();this.Jj.push(new t.uc(i,n));},i.prototype.Zp=function(){if(!this.zw)throw t.f.Y("invalid call");this.zw=!1,this.Eq=!0,this.ag||(this.QT(),this.Gw=this.Jj.length);},i.prototype.Gi=function(i){if(!this.ag||!this.Eq)throw t.f.I("invalid call");if(-1==this.tf){var n=this.Jj.length;if(this.UA){var s=new t.ha(0);s.Db(2*n),this.TJ(s),this.fi.Db(2*n),this.fi.resize(0),this.SJ(s),this.Xm.resize(n,-1),this.Xm.Xj(-1,0,n),this.UA=!1;}else this.Xm.Xj(-1,0,n);this.tf=this.Bv();}n=this.bH(i<<1,this.tf),s=this.gg.addElement(1+(i<<1),this.fA(n)),this.ZK(n,s),this.Xm.set(i,n),this.Gw++;},i.prototype.remove=function(i){if(!this.ag||!this.Eq)throw t.f.Y("invalid call");var n=this.Xm.get(i);if(-1==n)throw t.f.I("the interval does not exist in the interval tree");this.Xm.set(i,-1),this.Gw--;var s=this.fA(n),h=this.gg.qT(s);this.gg.zd(this.MS(n),s),this.gg.zd(this.jT(n),s),0==(i=this.gg.size(s))&&(this.gg.XQ(s),this.cL(h,-1)),this.Ij.jd(n),s=this.GG(h);var r=this.vj(h),e=this.tk(h);for(n=0;!(0<i||h==this.tf||-1!=r&&-1!=e);)h==this.vj(s)?-1!=r?(this.Vk(s,r),this.Vj(r,s),this.Vk(h,-1)):-1!=e?(this.Vk(s,e),this.Vj(e,s),this.Xk(h,-1)):this.Vk(s,-1):-1!=r?(this.Xk(s,r),this.Vj(r,s),this.Vk(h,-1)):-1!=e?(this.Xk(s,e),this.Vj(e,s),this.Xk(h,-1)):this.Xk(s,-1),this.Vj(h,-1),n++,h=s,i=-1!=(s=this.uk(h))?this.gg.size(s):0,r=this.vj(h),e=this.tk(h),s=this.GG(h);},i.prototype.reset=function(){if(!this.ag||!this.Eq)throw t.f.I("invalid call");this.Uk(!1);},i.prototype.size=function(){return this.Gw},i.prototype.getIterator=function(){return r.construct(this)},i.prototype.TJ=function(t){for(var i=this.Jj.length,n=0;n<2*i;n++)t.add(n);this.mZ(t,2*i);},i.prototype.SJ=function(t){for(var i=NaN,n=0;n<t.size;n++){var s=t.get(n),h=this.vk(s);h!=i&&(this.fi.add(s),i=h);}},i.prototype.QT=function(){var i=this.Jj.length,n=new t.ha(0);n.Db(2*i),this.TJ(n),this.fi.Db(2*i),this.fi.resize(0),this.SJ(n),this.Ij.Le(i),this.Zi.vn(2*i);var s=t.Xc.Sh(i);for(s.Xj(-1,0,i),this.tf=this.Bv(),i=0;i<n.size;i++){var h=n.get(i),r=s.get(h>>1);-1!=r?this.ZK(r,this.Zi.addElement(this.fA(r),h)):(r=this.bH(h,this.tf),s.set(h>>1,r));}},i.prototype.bH=function(i,n){var s=n,h=n,r=-1,e=0,a=this.fi.size-1,o=0,u=i>>1,f=NaN,c=NaN,l=!0,p=this.TS(u);for(u=this.QS(u);l;){e<a?(o=e+t.L.truncate((a-e)/2),-1==this.Nz(s)&&this.JK(s,this.fi.get(o),this.fi.get(o+1))):-1==this.Nz(s)&&this.JK(s,this.fi.get(e),this.fi.get(e));var b=this.iq(s);if(u<b)-1!=n&&(n==s?(h=s,f=b,c=-1!=(n=this.vj(s))?this.iq(n):NaN):c>b&&(b<f?this.Vk(h,s):this.Xk(h,s),this.Xk(s,n),this.ag&&(this.Vj(s,h),this.Vj(n,s)),h=s,f=b,n=-1,c=NaN)),-1==(a=this.NS(s))&&(a=this.Bv(),this.GY(s,a)),s=a,a=o;else if(p>b)-1!=n&&(n==s?(h=s,f=b,c=-1!=(n=this.tk(s))?this.iq(n):NaN):c<b&&(b<f?this.Vk(h,s):this.Xk(h,s),this.Vk(s,n),this.ag&&(this.Vj(s,h),this.Vj(n,s)),h=s,f=b,n=-1,c=NaN)),-1==(e=this.kT(s))&&(e=this.Bv(),this.RY(s,e)),s=e,e=o+1;else {-1==(l=this.uk(s))&&(l=this.KQ(s),this.cL(s,l));var v=this.pO(l,i);r=this.IQ(),this.UY(r,l),this.FY(r,v),s!=n&&(b<f?this.Vk(h,s):this.Xk(h,s),this.ag&&this.Vj(s,h),-1!=n&&(c<b?this.Vk(s,n):this.Xk(s,n),this.ag&&this.Vj(n,s))),l=!1;}}return r},i.prototype.Bv=function(){return this.te.Ke()},i.prototype.KQ=function(t){return this.ag?this.gg.qs(t):this.Zi.Th(t)},i.prototype.IQ=function(){return this.Ij.Ke()},i.prototype.Uk=function(i){i?(this.zw=this.UA=!0,this.Eq=!1,null==this.fi?this.fi=t.Xc.Sh(0):this.fi.resize(0),null==this.Jj?this.Jj=[]:this.Jj.length=0):this.UA=!1,this.ag?null==this.Xm?(this.Xm=t.Xc.Sh(0),this.gg=new t.bk,this.gg.kp(new s(this))):this.gg.clear():null==this.Zi?this.Zi=new t.Ap:this.Zi.clear(),null==this.te?(this.Ij=new t.ad(3),this.te=new t.ad(this.ag?8:7)):(this.Ij.rj(!1),this.te.rj(!1)),this.tf=-1,this.Gw=0;},i.prototype.JK=function(t,i,n){this.zY(t,i),this.AY(t,n);},i.prototype.iq=function(t){var i=this.Nz(t);return -1==i?NaN:(i=this.vk(i))==(t=this.vk(this.uS(t)))?i:.5*(i+t)},i.prototype.zY=function(t,i){this.te.P(t,0,i);},i.prototype.AY=function(t,i){this.te.P(t,1,i);},i.prototype.GY=function(t,i){this.te.P(t,3,i);},i.prototype.RY=function(t,i){this.te.P(t,4,i);},i.prototype.cL=function(t,i){this.te.P(t,2,i);},i.prototype.Vk=function(t,i){this.te.P(t,5,i);},i.prototype.Xk=function(t,i){this.te.P(t,6,i);},i.prototype.Vj=function(t,i){this.te.P(t,7,i);},i.prototype.UY=function(t,i){this.Ij.P(t,0,i);},i.prototype.pO=function(t,i){return this.ag?this.gg.addElement(i,t):this.Zi.addElement(t,i)},i.prototype.FY=function(t,i){this.Ij.P(t,1,i);},i.prototype.ZK=function(t,i){this.Ij.P(t,2,i);},i.prototype.ql=function(t){return this.ag?this.gg.sc(t):this.Zi.sc(t)},i.prototype.Fs=function(t){return this.ag?this.gg.Gc(t):this.Zi.Gc(t)},i.yq=function(t){return 0==(1&t)},i.nw=function(t){return 1==(1&t)},i.prototype.Nz=function(t){return this.te.S(t,0)},i.prototype.uS=function(t){return this.te.S(t,1)},i.prototype.uk=function(t){return this.te.S(t,2)},i.prototype.NS=function(t){return this.te.S(t,3)},i.prototype.kT=function(t){return this.te.S(t,4)},i.prototype.vj=function(t){return this.te.S(t,5)},i.prototype.tk=function(t){return this.te.S(t,6)},i.prototype.GG=function(t){return this.te.S(t,7)},i.prototype.fA=function(t){return this.Ij.S(t,0)},i.prototype.MS=function(t){return this.Ij.S(t,1)},i.prototype.jT=function(t){return this.Ij.S(t,2)},i.prototype.TS=function(t){return this.Jj[t].fa},i.prototype.QS=function(t){return this.Jj[t].ja},i.prototype.mZ=function(i,n){null==this.Nm&&(this.Nm=new t.Eu);var s=new h(this);this.Nm.sort(i,0,n,s);},i.prototype.lZ=function(t,n,s){var h=this;t.Zd(n,s,(function(t,n){var s=h.vk(t),r=h.vk(n);return s<r||s==r&&i.yq(t)&&i.nw(n)?-1:1}));},i.prototype.vk=function(t){var n=this.Jj[t>>1];return i.yq(t)?n.fa:n.ja},i}();t.Qr=e;}(W||(W={})),function(t){var i=function(){function i(i){if(null==i)throw t.f.Y("Invalid arguement");this.rf=i;var n=i.BS();n.CT()?i.ee.uH()?this.Eo=t.zi.PannableFold:this.Eo=t.zi.Clip:this.Eo=t.zi.DontClip,n.DT()?i.Je.uH()?this.cn=t.zi.PannableFold:this.cn=t.zi.Clip:this.cn=t.zi.DontClip,this.Om=n.sv,this.$H=n.qz,i=this.rf.fI,this.OH=i.Ps(2147483648),this.Bw=i.Ps(1073741824);}return i.$g=function(t,i,n){return i.dx.$g(t,n)},i.Kr=function(t,i,n,s){return t.dx.Kr(i,n,s)},i.zu=function(t,i,n,s){if(n=0>n?i.length:n,(t=t.dx.Kr(i,n,s))==n)return t;for(var h=i=0;h<n;h++){var r=s[h];r.isNaN()||(i<h&&s[i].K(r),i++);}for(;i<n;i++)s[i].Tc();return t},i.transform=function(n,s,h,r,e){if(n.xq())return t.la.uQ(r,s,h),h;for(var a=[],o=0,u=0;u<h;){for(var f=Math.min(a.length,h-u),c=u,l=0;c<f;c++,l++)null==a[l]?a[l]=s[c].w():s[c].w(a[l]);var p=e?i.zu(n,a,f,a):i.Kr(n,a,f,a);for(l=c=0;c<p;c++,l++)null==r[u]&&(r[u]=new t.Ra(s[u])),r[u].nb(a[l]);u+=f,o+=p;}return o},i.BL=function(i,n,s){if(0==s)return [];var h=new t.Hd;return h.yO(n,2*s),i=(n=this.$g(h,i,null)).Va(0),n=2*n.D(),s=t.L.Xf(n),i.iu(0,n,s,0,!0),s},i.prototype.Kr=function(i,n,s){if(this.rf.xq())return i!=s&&t.la.zv(s,i,n),n;var h=this.rf.ee,r=this.rf.Je,e=h.Fb(),a=r.Fb();if(0==e&&e===a){var o=h.qk();return r=o/(r=r.qk()),(o=new t.xd).Dr(r,r),o.NZ(i,n,s),n}if(o=t.L.lv(Math.min(n,64)),3==e){var u=h.Pi;e=(h=u.kk()).Fb(),s!=i&&t.la.zv(s,i,n),t.Ab.fl(u,s,n,!0),u.zu(t.nm.forward,s,n),t.Ab.el(u,s,n,!0);}if(3==e||3===a)throw t.f.Y("image: transform_in_place_");if(2==e)this.Eo==t.zi.Clip?(s!=i&&t.la.zv(s,i,n),i=h.sk(),t.Ab.iU(i,h,s,n)):(s!=i&&t.la.zv(s,i,n),h.Cc()&&(e=h.ce(0),u=h.be(),t.Ab.jZ(s,n,u,e),t.Ab.dG(s,n,h,0))),t.Ab.QM(h,s,n,o);else for(e=h.ce(0),u=h.be(),h=0;h<n;h++)t.Ab.kZ(i[h],u,e,s[h]);for(t.Ab.OM(this.rf,s,n,o),i=0,(a=2==a)?i=r.Wh():isNaN(this.Om)||(i=this.Om),a&&this.cn!=t.zi.Clip||t.Ab.dG(s,n,r.hc(),i),a&&(t.Ab.kH(s,n,r,this.cn),t.Ab.PM(r,s,n,o)),i=n,h=0;h<n;++h)s[h].isNaN()&&i--;return i},i.prototype.$g=function(i,n){if(this.rf.xq()||i.u())return i;if(33==i.F())return this.OJ(i);var s=this.rf.ee,h=this.rf.Je,r=s.Fb(),e=h.Fb();if(0==r&&r==e)return n=s.qk(),n/=h=h.qk(),(h=new t.xd).Dr(n,n),(i=t.R.$d(i)).Qc(h),i;switch(i.F()){case 1607:case 1736:i=this.MJ(i,n);break;case 550:i=this.wX(i,n);break;case 197:i=this.vX(i,n);break;default:throw t.f.Y("")}return i},i.prototype.OJ=function(i){var n=i.w(),s=[];return s[0]=n,this.Kr(s,1,s),(i=new t.Ra(i)).nb(s[0]),i},i.prototype.MJ=function(i,n){if(i.Fm())throw t.f.Y("curves not supported");var s=i.F();if(1736==s)return this.xX(i,n);if(1607==s)return this.yX(i,n);throw t.f.Y("projectMultiPath")},i.prototype.xX=function(n,s){var h=this.rf.ee,r=this.rf.Je,e=h.Fb(),a=r.Fb(),o=t.L.lv(Math.min(n.D(),64)),u=t.Ga.$d(n);3==e&&(e=(h=(n=h.Pi).kk()).Fb(),u=n.fl(u,!0),this.Qp(n,t.nm.forward,u),u=n.el(u,!0)),n=null,3==a&&(a=(r=(n=r.Pi).kk()).Fb());var f=2==e,c=2==a,l=c?r.hc():r,p=!c&&!this.Bw;a=!1;var b=u;if(f){if((b=t.Ab.LJ(b,h,this.Eo,s)).u())return b}else {if(u=new t.g,b.Zb(u),e=h.be(),u.A<e.A||u.B>e.B){var v=t.g.construct(u.o-1,e.A,u.v+1,e.B);if((b=t.fh.Tp(b,v,h,NaN,0,s)).u())return b}u.N()>2*e.N()&&(b=t.Ab.aq(b,-2*e.N(),2*e.N(),h,!0,0,!0,s));}u=this.$H,(e=!isNaN(u))&&(b=t.im.local().U(b,u,s)),v=c?r.xj():null;var y=NaN;f&&(y=h.Wh());var w=null!=r.Cs();if(this.OH)f&&(t.Ab.Tr(h,y,b,o),e&&(f=h.oh(),u*=(y=h.hc().oh())/f)),t.Ab.Sr(this.rf,b,p,o),e&&(f=h.hc().oh(),u*=(y=r.hc().oh())/f),h=b;else {var d=new t.Oa(b.description);d.pE(b),f&&(t.Ab.Tr(h,y,d,o),e&&(f=h.oh(),u*=(y=h.hc().oh())/f)),t.Ab.Sr(this.rf,d,p,o),e&&(f=h.hc().Am(),u*=(y=r.hc().Am())/f),p=NaN,c?(v=r.xj(),p=r.Wh()):isNaN(this.Om)||(p=this.Om),f=i.bw(h)|i.bw(r),y=10*l.ce(0),this.Bw&&(f=3,y=0),h=t.Ab.fS(b,h,d,l,p,s,f,y);}return w&&(h=t.Ab.JE(h,r,s)),c&&(a||(c=l.be().N(),h.Qf(0,0).N()>=c-l.ce(0)&&(l=v.getNorthPoleLocation(),c=v.getSouthPoleLocation(),b=v.getNorthPoleGeometry(),v=v.getSouthPoleGeometry(),p=0,b==t.ng.PE_POLE_POINT&&l!=t.ng.PE_POLE_OUTSIDE_BOUNDARY&&(p=1),v==t.ng.PE_POLE_POINT&&c!=t.ng.PE_POLE_OUTSIDE_BOUNDARY&&(p|=2),0!==p&&(a=!0))),h=t.Ab.tA(h,r,this.cn,s),e&&(h=t.im.local().U(h,u,s)),t.Ab.qy(r,h,o)),h.u()||(a&&(h=t.jm.local().U(h,r,!1,s)),null!=n&&(h=n.el(h,!1),this.Qp(n,t.nm.reverse,h),h=n.fl(h,!1))),h},i.bw=function(i){if(2!=i.Fb())return 0;var n=0,s=i.xj();i=s.getNorthPoleLocation();var h=s.getSouthPoleLocation(),r=s.getNorthPoleGeometry();return s=s.getSouthPoleGeometry(),r==t.ng.PE_POLE_POINT&&i!=t.ng.PE_POLE_OUTSIDE_BOUNDARY&&(n=1),s==t.ng.PE_POLE_POINT&&h!=t.ng.PE_POLE_OUTSIDE_BOUNDARY&&(n|=2),n},i.prototype.yX=function(n,s){var h=this.rf.ee,r=this.rf.Je,e=h.Fb(),a=r.Fb(),o=t.L.lv(Math.min(n.D(),64)),u=t.Oa.$d(n);3==e&&(e=(h=(n=h.Pi).kk()).Fb(),u=n.fl(u,!0),this.Qp(n,t.nm.forward,u),u=n.el(u,!0)),n=null,3==a&&(a=(r=(n=r.Pi).kk()).Fb());var f=2==e;e=(a=2==a)?r.hc():r;var c=!a&&!this.Bw;if(f){if((u=t.Ab.LJ(u,h,this.Eo,s)).u())return u}else {var l=new t.g;u.Zb(l);var p=h.be();if((l.A<p.A||l.B>p.B)&&(l=t.g.construct(l.o-1,p.A,l.v+1,p.B),(u=t.fh.Tp(u,l,h,NaN,0,s)).u()))return u}var b=NaN;f&&(b=h.Wh()),l=null!=r.Cs(),p=this.$H;var v=!isNaN(p);if(v&&(u=t.im.local().U(u,p,s)),this.OH)f&&t.Ab.Tr(h,b,u,o),v&&(f=h.oh(),p*=(b=h.hc().oh())/f),t.Ab.Sr(this.rf,u,c,o),v&&(f=h.hc().oh(),p*=(b=r.hc().oh())/f),h=u;else {var y=new t.Oa(u.description);y.pE(u),f&&(t.Ab.Tr(h,b,y,o),v&&(f=h.oh(),p*=(b=h.hc().oh())/f)),t.Ab.Sr(this.rf,y,c,o),v&&(f=h.hc().oh(),p*=(b=r.hc().oh())/f),c=NaN,a?c=r.Wh():isNaN(this.Om)||(c=this.Om),f=i.bw(h)|i.bw(r),b=10*e.ce(0),this.Bw&&(f=3,b=0),h=t.Ab.gS(u,h,y,e,c,s,f,b);}return l&&(h=t.Ab.JE(h,r,s)),a&&(h=t.Ab.tA(h,r,this.cn,s),v&&(h=t.im.local().U(h,p,s)),t.Ab.qy(r,h,o)),h.u()||null!=n&&(h=n.el(h,!1),this.Qp(n,t.nm.reverse,h),h=n.fl(h,!1)),h},i.prototype.vX=function(i,n){var s=(i.ca()+i.N())/400;return 0!=s?(s=t.im.local().U(i,s,n),s=this.MJ(s,n),n=i.Ea(),s.qn(n)):(n=new t.Ra(i.bq()),s=this.OJ(n),n=i.Ea(),s.u()?n.Ka():(i.copyTo(n),i=s.w(),n.H(i.x,i.y,i.x,i.y))),n},i.prototype.wX=function(i,n){i=t.R.$d(i);var s=this.rf.ee,h=this.rf.Je,r=s.Fb(),e=h.Fb(),a=t.L.lv(Math.min(i.D(),64));if(3==r){var o=s.Pi;r=(s=o.kk()).Fb(),i=o.el(i,!0),this.Qp(o,t.nm.forward,i),i=o.fl(i,!0);}if(2==r){if(this.Eo==t.zi.Clip?i=t.ak.local().U(i,s.sk(),s,n):s.Cc()&&(r=new t.g,i.Zb(r),s.be().contains(r)||(this.Eo==t.zi.PannableFold&&(i=t.Ab.qj(i,s)),t.Ab.tu(i,s.be(),s.ce(0),!0),i=t.Ab.vm(i,s,0,!0,0,n))),i.u())return i;t.Ab.Tr(s,0,i,a);}else t.Ab.tu(i,s.be(),s.ce(0),!0);return t.Ab.Sr(this.rf,i,!1,a),s=0,r=!1,o=null,3==e&&(r=!0,e=(h=(o=h.Pi).kk()).Fb()),(e=2==e)?s=h.Wh():isNaN(this.Om)||(s=this.Om),e&&this.cn!=t.zi.Clip||(i=t.Ab.vm(i,h.hc(),s,!1,0,n)),e&&(i=t.Ab.tA(i,h,this.cn,n),t.Ab.qy(h,i,a),i.u())||r&&(i=o.el(i,!0),this.Qp(o,t.nm.reverse,i),i=o.fl(i,!0)),i},i.prototype.Qp=function(i,n,s){var h=s.D();if(0!=h){for(var r=s.Va(0),e=t.L.Xf(200,0),a=[],o=0;o<h;){var u=Math.min(100,h-o);r.iu(2*o,2*u,e,2,!0);for(var f=0;f<u;++f)a[f]=t.b.construct(e[2*o],e[2*o+1]);i.zu(n,a,u),o+=u;}s.Oc(1993);}},i.Jv=function(i,n,s){if(null==i||null==n||!n.Cc())throw t.f.Y("Invalid Arguement");if(i.u())return i;var h=i.F();return 197==h?(h=new t.Ga(i.description)).bd(i,!1):t.R.Ic(h)?(h=new t.Oa(i.description)).$b(i,!0):h=i,(h=t.Ab.qj(h,n)).u()?h:t.Ab.vm(h,n,0,h!=i,0,s)},i.sj=function(n,s,h,r){if(null==n||null==s||!s.Cc())throw t.f.Y("Invalid Arguement");if(n.u())return n;var e=n.F();if(t.R.Bc(e)){n=t.Ab.qj(n,s),e=new t.g,n.s(e);for(var a=t.la.Yy(s,e,!1),o=s.nh(),u=Math.floor((e.o-o.o)/o.N())*o.N()+o.o;u<e.v;)u>e.o+a&&u<e.v-a&&(n=t.Ab.PT(n,s,h,u)),u+=o.N();}else {if(197==e)return (e=new t.Ga(n.description)).bd(n,!1),i.sj(e,s,h,r);if(t.R.Ic(e))return (e=new t.Oa(n.description)).$b(n,!0),i.sj(e,s,h,r)}return i.Jv(n,s,r)},i.H_=function(n,s,h,r){var e=s.Fb(),a=new t.BD;if(s.FX(a),0==e)return i.wF(n,a,s,h);if(r==t.yp.foldAndClipWithHorizon&&s.Cc()&&(n=i.Jv(n,s,h)),n=i.wF(n,a,s,h),r==t.yp.clipToDomainOnly||n.u())return n;if(1==e)return r==t.yp.clipWithHorizon?(r=new t.g,n.Zb(r),a=.01*(e=s.be()).N(),r.A=e.A,r.B=e.B,r.o-=a,r.v+=a,t.fh.Tp(n,r,s,NaN,0,h)):n;if(2==e)return e=s.sk(),r==t.yp.clipWithHorizon||r==t.yp.foldAndClipWithHorizon?(s=t.ak.local().U(n,e,s,h))==e?t.R.$d(s):s:n;if(3==e)return n;throw t.f.Y("missing implementation")},i.wF=function(i,n,s,h){var r=n.uT(),e=i.hasAttribute(1),a=i.hasAttribute(2),o=new t.uc;o.Ka();var u=new t.uc;return u.Ka(),e&&(o=n.wT()),a&&(u=n.PS()),n=t.fh.Tp(i,r,s,NaN,0,h),e&&(e=n.Qf(1,0),o.contains(e)||(i==n&&(n=t.R.$d(n)),t.la.hL(n,o,1))),a&&(e=n.Qf(2,0),u.contains(e)||(i==n&&(n=t.R.$d(n)),t.la.hL(n,u,2))),n},i}();t.Bp=i;}(W||(W={})),function(t){var i=function(i){function n(n,s,h,r){var e=i.call(this)||this;return void 0===n?e.description=t.ke.ug():void 0===h?e.description=n:(e.description=t.ke.ug(),e.GC(n,s),e.am(h,r)),e}return Z(n,i),n.prototype.F=function(){return 322},n.prototype.Pb=function(){var t=this.ra-this.pa,i=this.na-this.ma;return Math.sqrt(t*t+i*i)},n.prototype.Qg=function(t){var i=this.ra-this.pa,n=this.na-this.ma;return Math.sqrt(i*i+n*n)<=t},n.prototype.jo=function(){return !1},n.prototype.qg=function(){var i=new t.b;return i.tc(this.wc(),this.ac()),i},n.mQ=function(t,i){return new n(t.x,t.y,i.x,i.y)},n.prototype.qn=function(i){i.Ka(),i.rg(this.description);var n=new t.g;this.s(n),i.mp(n),n=1;for(var s=this.description.Ca;n<s;n++)for(var h=this.description.kd(n),r=t.oa.Sa(h);n<r;n++){var e=this.Qf(h,0);i.setInterval(h,0,e);}},n.prototype.s=function(t){t.H(this.ra,this.na,this.pa,this.ma),t.normalize();},n.prototype.ip=function(t){t.Ka(),t.Nb(this.ra,this.na,this.Pd(0,1,0)),t.Nb(this.pa,this.ma,this.Pd(1,1,0));},n.prototype.Qc=function(i){if(i instanceof t.xd){this.vc();var n=new t.b;n.x=this.ra,n.y=this.na,i.Zj(n,n),this.ra=n.x,this.na=n.y,n.x=this.pa,n.y=this.ma,i.Zj(n,n),this.pa=n.x,this.ma=n.y;}else this.vc(),(n=new t.Id).x=this.ra,n.y=this.na,n.z=this.Pd(0,1,0),n=i.vp(n),this.ra=n.x,this.na=n.y,this.Nn(0,1,0,n.z),n.x=this.pa,n.y=this.ma,n.z=this.Pd(1,1,0),n=i.vp(n),this.pa=n.x,this.ma=n.y,this.Nn(1,1,0,n.z);},n.prototype.Ea=function(){return new n(this.description)},n.prototype.yy=function(t,i){return (this.pa-t-(this.ra-t))*(this.ma-i+(this.na-i))*.5},n.prototype.by=function(t){return t*this.Pb()},n.prototype.zH=function(t){return t/this.Pb()},n.prototype.qG=function(i){return t.Tb.Aq(this.ra,this.pa,i)},n.prototype.tS=function(i){return t.Tb.Aq(this.na,this.ma,i)},n.prototype.jl=function(i,n){var s=new t.og;return this.jh(i,n,s),s.get()},n.prototype.jh=function(i,n,s){if(null==s)throw t.f.I();s.ps(),(s=s.get()).rg(this.description);var h=new t.b;this.cc(i,h),s.GC(h.x,h.y),this.cc(n,h),s.am(h.x,h.y),h=1;for(var r=this.description.Ca;h<r;h++)for(var e=this.description.Jd(h),a=t.oa.Sa(e),o=0;o<a;o++){var u=this.Rc(i,e,o);s.Qx(e,o,u),u=this.Rc(n,e,o),s.Hx(e,o,u);}},n.prototype.Rc=function(i,n,s){if(0==n)return 0==s?this.cc(i).x:this.cc(i).y;switch(t.oa.Uz(n)){case 0:return .5>i?this.Ks(n,s):this.us(n,s);case 1:var h=this.Ks(n,s);return n=this.us(n,s),t.Tb.Aq(h,n,i);case 2:throw t.f.Y("not implemented")}throw t.f.za()},n.prototype.ae=function(t,i){var n=this.pa-this.ra,s=this.ma-this.na,h=n*n+s*s;return 0==h?.5:(t=((t.x-this.ra)*n+(t.y-this.na)*s)/h,i||(0>t?t=0:1<t&&(t=1)),t)},n.prototype.uq=function(t,i,n,s){if(t){if(0==(t=this.ma-this.na))return i==this.ma?-1:0;if(0>(i=(i-this.na)/t)||1<i)return 0;null!=n&&(n[0]=this.qG(i));}else {if(0==(t=this.pa-this.ra))return i==this.pa?-1:0;if(0>(i=(i-this.ra)/t)||1<i)return 0;null!=n&&(n[0]=this.tS(i));}return null!=s&&(s[0]=i),1},n.prototype.Te=function(t,i){var n=this.ma-this.na;return 0==n?t==this.ma?i:NaN:(t=(t-this.na)/n,i=this.qG(t),1==t&&(i=this.pa),i)},n.prototype.Yu=function(t,i,n){return 0<=this.Kp(t.x,t.y,i,n)},n.prototype.Ci=function(t,i,n){return 0<=this.Kp(t,i,n,!0)},n.prototype.Zs=function(t,i){return this.Yu(t,i,!1)},n.prototype.hJ=function(){if(this.ma<this.na||this.ma==this.na&&this.pa<this.ra){var t=this.ra;this.ra=this.pa,this.pa=t,t=this.na,this.na=this.ma,this.ma=t,t=0;for(var i=this.description.gr-2;t<i;t++){var n=this.ia[t];this.ia[t]=this.ia[t+i],this.ia[t+i]=n;}}},n.prototype.av=function(i,n){(n=t.b.construct(i,n)).sub(this.ac());var s=new t.b;return s.tc(this.wc(),this.ac()),(i=s.Di(n))>(n=8881784197001252e-31*(Math.abs(s.x*n.y)+Math.abs(s.y*n.x)))?-1:i<-n?1:0},n.prototype.Kp=function(i,n,s,h){var r=this.ra,e=this.na,a=i-r,o=n-e;if((a=Math.sqrt(a*a+o*o))<=Math.max(s,6661338147750939e-31*a))return h&&0==a?NaN:0;if(a=i-this.pa,o=n-this.ma,(a=Math.sqrt(a*a+o*o))<=Math.max(s,6661338147750939e-31*a))return h&&0==a?NaN:1;if(a=this.pa-this.ra,o=this.ma-this.na,0<(h=Math.sqrt(a*a+o*o))){var u=1/h,f=i-r,c=n-e,l=f*(a*=u)+c*(o*=u),p=17763568394002505e-31*(Math.abs(f*a)+Math.abs(c*o)),b=a;if(a=-o,o=b,l<-(p=Math.max(s,p))||l>h+p)return NaN;if(Math.abs(f*a+c*o)<=Math.max(s,17763568394002505e-31*(Math.abs(f*a)+Math.abs(c*o)))&&(.5>=(a=t.L.Yj(l*u,0,1))?(o=this.ra+(this.pa-this.ra)*a,h=this.na+(this.ma-this.na)*a):(o=this.pa-(this.pa-this.ra)*(1-a),h=this.ma-(this.ma-this.na)*(1-a)),t.b.uz(o,h,i,n)<=s)){if(.5>a){if(t.b.uz(o,h,r,e)<=s)return 0}else if(t.b.uz(o,h,this.pa,this.ma)<=s)return 1;return a}}return NaN},n.prototype.Ib=function(t){return null!=t&&(t==this||t.constructor===this.constructor&&this.NN(t))},n.prototype.cE=function(i,n,s){var h=s?this.ra:this.pa;s=s?this.na:this.ma;var r=new t.b;return r.x=i.pa-h,r.y=i.ma-s,!(n.Vh(r)>6661338147750939e-31*n.PD(r))||(r.x=i.ra-h,r.y=i.na-s,n.Vh(r)<=6661338147750939e-31*n.PD(r))},n.prototype.bE=function(i){var n=new t.b;return n.x=this.pa-this.ra,n.y=this.ma-this.na,!!this.cE(i,n,!1)&&(n.lr(),!!this.cE(i,n,!0))},n.VN=function(t,i){var n=t.av(i.ra,i.na),s=t.av(i.pa,i.ma);return !(0>n&&0>s||0<n&&0<s)&&(n=i.av(t.ra,t.na),s=i.av(t.pa,t.ma),!(0>n&&0>s||0<n&&0<s)&&((n=t.Pb())>(s=i.Pb())?t.bE(i):i.bE(t)))},n.TN=function(i,n,s){var h=t.b.construct(NaN,NaN),r=i.pa-i.ra,e=i.ma-i.na,a=n.pa-n.ra,o=n.ma-n.na,u=a*e-r*o;if(0==u)return h;var f=8881784197001252e-31*(Math.abs(a*e)+Math.abs(r*o)),c=n.ra-i.ra,l=n.na-i.na,p=a*l-c*o,b=p/u,v=Math.abs(u);return b<-(a=(8881784197001252e-31*(Math.abs(a*l)+Math.abs(c*o))*v+f*Math.abs(p))/(u*u)+2220446049250313e-31*Math.abs(b))||b>1+a||(a=(o=r*l-c*e)/u)<-(r=(8881784197001252e-31*(Math.abs(r*l)+Math.abs(c*e))*v+f*Math.abs(o))/(u*u)+2220446049250313e-31*Math.abs(a))||a>1+r?h:(b=t.L.Yj(b,0,1),r=t.L.Yj(a,0,1),e=i.cc(b),u=n.cc(r),(f=new t.b).tc(e,u),f.length()>s&&(f.add(e,u),f.scale(.5),b=i.ae(f,!1),r=n.ae(f,!1),i=i.cc(b),n=n.cc(r),i.sub(n),i.length()>s)||h.ka(b,r),h)},n.WN=function(t,i,s,h){var r=0;if((t.ra==i.ra&&t.na==i.na||t.ra==i.pa&&t.na==i.ma)&&(r++,!h))return 1;if(t.pa==i.ra&&t.ma==i.na||t.pa==i.pa&&t.ma==i.ma){if(2==++r)return 2;if(!h)return 1}return i.Ci(t.ra,t.na,s)||i.Ci(t.pa,t.ma,s)||t.Ci(i.ra,i.na,s)||t.Ci(i.pa,i.ma,s)?1:h&&0!=r||0==n.VN(t,i)?0:1},n.Dy=function(i,s,h,r,e,a){var o=0,u=i.Kp(s.ra,s.na,a,!1),f=i.Kp(s.pa,s.ma,a,!1),c=s.Kp(i.ra,i.na,a,!1),l=s.Kp(i.pa,i.ma,a,!1);return isNaN(u)||(null!=r&&(r[o]=u),null!=e&&(e[o]=0),null!=h&&(h[o]=t.b.construct(s.ra,s.na)),o++),isNaN(f)||(null!=r&&(r[o]=f),null!=e&&(e[o]=1),null!=h&&(h[o]=t.b.construct(s.pa,s.ma)),o++),2==o||isNaN(c)||0==u&&0==c||0==f&&1==c||(null!=r&&(r[o]=0),null!=e&&(e[o]=c),null!=h&&(h[o]=t.b.construct(i.ra,i.na)),o++),2==o||isNaN(l)||1==u&&0==l||1==f&&1==l||(null!=r&&(r[o]=1),null!=e&&(e[o]=l),null!=h&&(h[o]=t.b.construct(s.pa,s.ma)),o++),0<o?(2==o&&null!=r&&r[0]>r[1]&&(i=r[0],r[0]=r[1],r[1]=i,null!=e&&(r=e[0],e[0]=e[1],e[1]=r),null!=h&&(e=t.b.construct(h[0].x,h[0].y),h[0]=h[1],h[1]=e)),o):(o=n.TN(i,s,a),isNaN(o.x)?0:(null!=h&&(h[0]=i.cc(o.x)),null!=r&&(r[0]=o.x),null!=e&&(e[0]=o.y),1))},n.prototype.QG=function(){return 0},n.prototype.Hp=function(){},n.prototype.toString=function(){return "Line: ["+this.ra.toString()+", "+this.na.toString()+", "+this.pa.toString()+", "+this.ma.toString()+"]"},n}(t.zD);t.zb=i;}(W||(W={})),function(t){var i=function(){function t(){this.Wm=[],this.ya=-1;}return t.prototype.Fa=function(){return this.ya},t.prototype.next=function(){if(null!=this.Wm&&0!=this.Wm.length){this.ya++;var t=this.Wm[0];return this.Wm=1>=this.Wm.length?[]:this.Wm.slice(1),t}return this.Wm=null},t.prototype.FZ=function(t){this.Wm.push(t);},t.prototype.xe=function(){},t}();t.qM=i;}(W||(W={})),function(t){var i;(i=t.$M||(t.$M={}))[i.enumFillRuleOddEven=0]="enumFillRuleOddEven",i[i.enumFillRuleWinding=1]="enumFillRuleWinding";var n=function(i){function n(n,s){var h=i.call(this)||this;if(h.Gf=!1,h.Yq=null,h.Lq=0,h.Kq=0,h.Ej=null,h.Sg=!1,h.kb=null,h.jb=null,h.af=null,h.Nj=null,h.Wd=null,h.Mq=0,h.Pa=0,h.Qq=0,void 0===s)h.Gf=n,h.Sg=!1,h.Mq=0,h.Lq=0,h.Kq=0,h.sa=0,h.description=t.ke.ug();else {if(null==s)throw t.f.I();h.Gf=n,h.Sg=!1,h.Mq=0,h.Lq=0,h.Kq=0,h.sa=0,h.description=s;}return h.Ej=null,h.Pa=0,h}return Z(n,i),n.prototype.Fm=function(){return 0<this.Mq},n.prototype.Cy=function(){this.vc(),null==this.Yq?this.Yq=new t.Ra(this.description):this.Yq.rg(this.description);},n.prototype.Zx=function(i,n){var s=new t.b;s.x=i,s.y=n,this.vu(s);},n.prototype.vu=function(t){this.Cy(),this.Yq.nb(t),this.Sg=!0;},n.prototype.xf=function(i){if(i.u())throw t.f.I();this.Tl(i.description),this.Cy(),i.copyTo(this.Yq),this.Sg=!0;},n.prototype.xy=function(){var i=1;this.Sg&&(this.Cy(),null==this.kb?(this.kb=t.Xc.Sh(2),this.kb.write(0,0),this.jb=t.Xc.ns(2,0)):(this.kb.resize(this.kb.size+1,0),this.jb.resize(this.jb.size+1,0)),this.Gf&&this.jb.write(this.jb.size-2,1),i++);var n=this.sa;this.kb.write(this.kb.size-1,this.sa+i),this.bl(n+i),this.jb.write(this.kb.size-1,0),this.Sg&&(this.ru(n,this.Yq),this.Sg=!1);},n.prototype.Cj=function(t,i){this.xy(),this.nb(this.sa-1,t,i);},n.prototype.Ii=function(t){this.xy(),this.nb(this.sa-1,t);},n.prototype.lineTo=function(t){this.xy(),this.ru(this.sa-1,t);},n.prototype.VV=function(i){if(this.vc(),this.Gf)throw t.f.za();var n=this.$();if(i>n)throw t.f.za();if(this.Lb(i)){if(null==this.jb)throw t.f.za();var s=this.sa,h=this.ua(i),r=this.zc(i);this.bl(this.sa+1),this.rc();for(var e=0,a=this.description.Ca;e<a;e++)if(null!=this.va[e]){var o=t.oa.Sa(this.description.Jd(e));this.va[e].fo(o*r,this.va[e],o*h,o,!0,1,o*s);}for(;n>i;n--)s=this.kb.read(n),this.kb.write(n,s+1);this.jb.uF(i,1);}},n.prototype.Up=function(){if(this.yu(),void 0===t){this.Sg=!1;var t=this.$()-1;}var i=this.jb.read(t);this.jb.write(t,1|i),null!=this.af&&(t=this.zc(t)-1,this.af.write(t,1),this.Nj.write(t,-1));},n.c0=function(t){return n.eO[t]},n.prototype.Lb=function(t){return 0!=(1&this.jb.read(t))},n.prototype.ho=function(t){if(this.Lb(t))return !0;var i=this.ua(t);return !(i>(t=this.zc(t)-1))&&(i=this.xa(i),t=this.xa(t),i.qb(t))},n.prototype.Qs=function(t){return 0!=(2&this.jb.read(t))},n.prototype.$b=function(i,n){if(this.Tl(i.description),322!=i.F())throw t.f.za();var s=new t.Ra;(n||this.u())&&(i.jp(s),this.xf(s)),i.hp(s),this.lineTo(s);},n.prototype.Np=function(t){var i=0==this.sa;this.Zx(t.o,t.A),this.Cj(t.o,t.B),this.Cj(t.v,t.B),this.Cj(t.v,t.A),this.Up(),this.Sg=!1,i&&this.Vf(256,!1);},n.prototype.bd=function(i,n){if(!i.u()){for(var s=0==this.sa,h=new t.Ra(this.description),r=0;4>r;r++)i.Pf(n?4-r-1:r,h),0==r?this.xf(h):this.lineTo(h);this.Up(),this.Sg=!1,s&&!n&&this.Vf(256,!1);}},n.prototype.add=function(t,i){for(var n=0;n<t.$();n++)this.addPath(t,n,!i);},n.prototype.addPath=function(t,i,n){this.Ef(-1,t,i,n);},n.prototype.dl=function(t,i){this.pA(t,i);},n.prototype.ds=function(i,n,s,h,r){if(r||0!=this.$()||(r=!0),0>n&&(n=i.$()-1),n>=i.$()||0>s||0>h||h>i.$v(n))throw t.f.Y("index out of bounds");if(0!=h){var e=i.Lb(n)&&s+h==i.$v(n);if(!e||1!=h){if(this.Sg=!1,this.Tl(i.description),s=i.ua(n)+s+1,r&&(h++,s--),e&&h--,e=this.sa,this.bl(this.sa+h),this.rc(),r){if(0==h)return;this.kb.add(this.sa),r=i.jb.read(n),r&=-5,this.Gf&&(r|=1),this.jb.write(this.jb.size-1,r),this.jb.add(0);}else this.kb.write(this.jb.size-1,this.sa);r=0;for(var a=this.description.Ca;r<a;r++){var o=this.description.kd(r),u=t.oa.Sa(o),f=i.description.Yf(o);0>f||null==i.va[f]?this.va[r].Gm(u*e,t.oa.me(o),h*u,u*e):this.va[r].fo(u*e,i.va[f],u*s,h*u,!0,u,u*e);}if(this.Fm())throw t.f.za();if(i.Qs(n))throw t.f.za();this.Oc(1993);}}},n.prototype.sK=function(){for(var t=0,i=this.$();t<i;t++)this.kY(t);},n.prototype.kY=function(i){if(this.rc(),i>=this.$())throw t.f.I();var n=this.ua(i),s=this.Ha(i);i=this.Lb(i)?1:0;for(var h=0,r=this.description.Ca;h<r;h++)if(null!=this.va[h]){var e=t.oa.Sa(this.description.Jd(h));this.va[h].wi(e*(n+i),e*(s-i),e);}this.Oc(1993);},n.prototype.sr=function(i){this.rc();var n=this.$();if(0>i&&(i=n-1),i>=n)throw t.f.I();for(var s=this.ua(i),h=this.Ha(i),r=0,e=this.description.Ca;r<e;r++)if(null!=this.va[r]){var a=t.oa.Sa(this.description.Jd(r));this.va[r].Xn(a*s,a*h,a*this.sa);}for(s=i+1;s<=n;s++)r=this.kb.read(s),this.kb.write(s-1,r-h);if(null==this.jb)for(s=i+1;s<=n;s++)i=this.jb.read(s),this.jb.write(s-1,i);this.kb.resize(n),this.jb.resize(n),this.sa-=h,this.Vg-=h,this.Oc(1993);},n.prototype.Ef=function(i,n,s,h){if(n==this)throw t.f.I();if(s>=n.$())throw t.f.I();var r=this.$();if(i>r)throw t.f.I();0>i&&(i=r),0>s&&(s=n.$()-1),this.Sg=!1,this.Tl(n.description),n.rc();var e=n.ua(s),a=n.Ha(s),o=this.sa,u=n.Lb(s)&&!h?1:0;this.bl(this.sa+a),this.rc();for(var f=i<r?this.ua(i):o,c=0,l=this.description.Ca;c<l;c++){var p=this.description.Jd(c),b=n.description.Yf(p),v=t.oa.Sa(p);0<=b&&null!=n.va[b]?(0!=u&&this.va[c].fo(f*v,n.va[b],v*e,v,!0,v,v*o),this.va[c].fo((f+u)*v,n.va[b],v*(e+u),v*(a-u),h,v,v*(o+u))):this.va[c].Gm(f*v,t.oa.me(p),v*a,v*o);}for(this.kb.add(o+a),h=r;h>=i+1;h--)e=this.kb.read(h-1),this.kb.write(h,e+a);for(n.Qs(s),this.jb.add(0),h=r-1;h>=i+1;h--)r=this.jb.read(h),r&=-5,this.jb.write(h+1,r);r=n.ZS().read(s),r&=-5,this.Gf&&(r|=1),this.jb.write(i,r);},n.prototype.pA=function(i,n){var s=-1,h=this.$();if(s>h)throw t.f.I();0>s&&(s=h),this.Sg=!1;var r=this.sa;this.bl(this.sa+n),this.rc();var e=s<h?this.ua(s):r;if(null!=i)this.va[0].qA(2*e,i,0,n,!0,2*r);else {var a=t.oa.me(0);this.va[0].Gm(2*e,a,2*n,2*r);}i=1;for(var o=this.description.Ca;i<o;i++){a=this.description.kd(i);var u=t.oa.Sa(a);a=t.oa.me(a),this.va[i].Gm(e*u,a,u*n,u*r);}for(this.kb.add(this.sa),r=h;r>=s+1;r--)e=this.kb.read(r-1),this.kb.write(r,e+n);for(this.jb.add(0),r=h-1;r>=s+1;r--)n=this.jb.read(r),n&=-5,this.jb.write(r+1,n);this.Gf&&this.jb.write(s,1);},n.prototype.cH=function(i,n,s){var h=-1;if(0>i&&(i=this.$()),i>this.$()||h>this.Ha(i)||s>n.length)throw t.f.Y("index out of bounds");if(0!=s){i==this.$()&&(this.kb.add(this.sa),this.Gf?this.jb.add(1):this.jb.add(0)),0>h&&(h=this.Ha(i)),this.rc();var r=this.sa;this.bl(this.sa+s),this.rc();for(var e=0,a=this.description.Ca;e<a;e++){var o=this.description.Jd(e),u=t.oa.Sa(o);this.va[e].Cu(u*(this.ua(i)+h+s),(r-this.ua(i)-h)*u,this.va[e],u*(this.ua(i)+h),!0,u),0==e?this.va[e].eD(u*(this.ua(i)+h),s,n,0,!0):this.va[e].Xj(t.oa.me(o),(this.ua(i)+h)*u,s*u);}for(this.Fm()&&(this.af.Cu(this.ua(i)+h+s,r-this.ua(i)-h,this.af,this.ua(i)+h,!0,1),this.Nj.Cu(this.ua(i)+h+s,r-this.ua(i)-h,this.Nj,this.ua(i)+h,!0,1),this.af.Xj(1,this.ua(i)+h,s),this.Nj.Xj(-1,this.ua(i)+h,s)),i+=1,n=this.$();i<=n;i++)this.kb.write(i,this.kb.read(i)+s);}},n.prototype.Ff=function(i,n,s){var h=this.$();if(0>i&&(i=this.$()),i>=h||n>this.Ha(i))throw t.f.Y("index out of bounds");i==this.$()&&(this.kb.add(this.sa),this.Gf?this.jb.add(1):this.jb.add(0)),0>n&&(n=this.Ha(i));var r=this.sa;this.bl(this.sa+1),this.rc();var e=this.ua(i);this.va[0].Gi(2*(e+n),s,2*r),s=1;for(var a=this.description.Ca;s<a;s++){var o=this.description.Jd(s),u=t.oa.Sa(o);this.va[s].Gm(u*(e+n),t.oa.me(o),u,u*r);}for(i+=1;i<=h;i++)this.kb.write(i,this.kb.read(i)+1);},n.prototype.mC=function(i,n){var s=this.$();if(0>i&&(i=s-1),i>=s||n>=this.Ha(i))throw t.f.Y("index out of bounds");this.rc();var h=this.ua(i);0>n&&(n=this.Ha(i)-1),n=h+n,h=0;for(var r=this.description.Ca;h<r;h++)if(null!=this.va[h]){var e=t.oa.Sa(this.description.Jd(h));this.va[h].Xn(e*n,e,e*this.sa);}for(;s>=i+1;s--)n=this.kb.read(s),this.kb.write(s,n-1);this.sa--,this.Vg--,this.Oc(1993);},n.prototype.gF=function(i,n,s,h){if(i=this.ua(i)+n,(s=this.ua(s)+h)<i||0>i||s>this.D()-1)throw t.f.I();n=0,(h=this.Ba()).Rb(i);do{for(;h.Aa()&&(i=h.aa(),h.wb()!=s);)n+=i=i.Pb();if(h.wb()==s)break}while(h.Ta());return n},n.prototype.oP=function(i,n,s){if(n=this.ua(i)+n,s=this.ua(i)+s,0>n||s>this.D()-1)throw t.f.I();var h=this.Ba();if(n>s){if(!this.Lb(i))throw t.f.I("cannot iterate across an open path");h.tC();}var r=i=0;h.Rb(n);do{r+=i,i=h.aa().Pb();}while(h.wb()!=s);return r},n.prototype.sg=function(){return t.yi.qm(this,null)},n.prototype.eU=function(i,n,s){for(var h=i;h<s-1;h++)if(this.Lb(h))throw t.f.I("cannot interpolate across closed paths");if(1!=(h=this.description.Ca)){var r=this.gF(i,n,s,void 0);if(0!=r)for(var e=1;e<h;e++){var a=this.description.kd(e);if(2!=t.oa.Uz(a))for(var o=t.oa.Sa(a),u=0;u<o;u++)this.gU(a,i,n,s,r,u);}}},n.prototype.dU=function(i,n,s){var h=this.description.Ca;if(1!=h){var r=this.oP(i,n,s);if(0!=r)for(var e=1;e<h;e++){var a=this.description.kd(e);if(2!=t.oa.Uz(a))for(var o=t.oa.Sa(a),u=0;u<o;u++)this.fU(a,i,n,s,r,u);}}},n.prototype.gU=function(i,n,s,h,r,e){var a=this.Ba(),o=this.ua(n)+s;h=this.ua(h)+void 0,n=this.Rc(i,o,e),s=this.Rc(i,h,e);var u=n,f=0;a.Rb(o);do{if(a.Aa()){if(a.aa(),a.wb()==h)break;this.setAttribute(i,a.wb(),e,u),a.ti();do{if(o=a.aa(),a.nk()==h)return;f+=o=o.Pb(),u=t.Tb.Aq(n,s,f/r),a.io()||this.setAttribute(i,a.nk(),e,u);}while(a.Aa())}}while(a.Ta())},n.prototype.fU=function(i,n,s,h,r,e){var a=this.Ba(),o=this.ua(n)+s;if((n=this.ua(n)+h)!=o){h=this.Rc(i,o,e),s=this.Rc(i,n,e);var u=0;a.Rb(o),a.tC(),o=h;do{var f=a.aa();this.setAttribute(i,a.wb(),e,o),u+=o=f.Pb(),o=t.Tb.Aq(h,s,u/r);}while(a.nk()!=n)}},n.prototype.Ka=function(){this.Mq=0,this.Sg=!1,this.Wd=this.af=this.Nj=this.jb=this.kb=null,this.hE();},n.prototype.Qc=function(i){i instanceof t.xd?this.KE(i,-1):this.HO(i);},n.prototype.KE=function(i,n){if(!this.u()&&!i.xq()){this.rc();var s=this.va[0],h=new t.b,r=new t.b;if(0>n){var e=this.Fm(),a=0;n=this.sa;}else e=this.Qs(n),a=this.ua(n),n=this.zc(n);for(;a<n;a++){if(h.x=s.read(2*a),h.y=s.read(2*a+1),e){var o=this.Nj.read(a);if(0<=o)switch(7&this.af.read(a)){case 2:r.x=this.Wd.read(o),r.y=this.Wd.read(o+1),i.Zj(r,r),this.Wd.write(o,r.x),this.Wd.write(o+1,r.y),r.x=this.Wd.read(o+3),r.y=this.Wd.read(o+4),i.Zj(r,r),this.Wd.write(o+3,r.x),this.Wd.write(o+4,r.y);break;case 4:throw t.f.za()}}i.Zj(h,h),s.write(2*a,h.x),s.write(2*a+1,h.y);}this.Oc(1993);}},n.prototype.HO=function(i){if(!this.u()){this.le(1),this.rc();for(var n=this.va[0],s=this.va[1],h=new t.Id,r=new t.Id,e=this.Fm(),a=0;a<this.sa;a++){if(h.x=n.read(2*a),h.y=n.read(2*a+1),h.z=s.read(a),e){var o=this.Nj.read(a);if(0<=o)switch(7&this.af.read(a)){case 2:r.x=this.Wd.read(o),r.y=this.Wd.read(o+1),r.z=this.Wd.read(o+2),r=i.vp(r),this.Wd.write(o,r.x),this.Wd.write(o+1,r.y),this.Wd.write(o+1,r.z),r.x=this.Wd.read(o+3),r.y=this.Wd.read(o+4),r.z=this.Wd.read(o+5),r=i.vp(r),this.Wd.write(o+3,r.x),this.Wd.write(o+4,r.y),this.Wd.write(o+5,r.z);break;case 4:throw t.f.za()}}h=i.vp(h),n.write(2*a,h.x),n.write(2*a+1,h.y),s.write(a,h.z);}this.Oc(1993);}},n.prototype.Oy=function(){null==this.kb&&(this.kb=t.Xc.Sh(1,0),this.jb=t.Xc.ns(1,0)),null!=this.af&&(this.af.resize(this.Vg,1),this.Nj.resize(this.Vg,-1));},n.prototype.Hp=function(i){i.Sg=!1,i.Mq=this.Mq,i.Qq=this.Qq,i.kb=null!=this.kb?t.ha.Vn(this.kb):null,i.jb=null!=this.jb?t.Gn.Vn(this.jb):null,i.Nj=null!=this.Nj?t.ha.Vn(this.Nj):null,i.af=null!=this.af?t.Gn.Vn(this.af):null,i.Wd=null!=this.Wd?t.ie.Vn(this.Wd):null,i.Lq=this.Lq,i.Kq=this.Kq,i.Ej=this.ek(1024)?null:this.Ej;},n.prototype.Pb=function(){if(!this.ek(512))return this.Lq;for(var i=this.Ba(),n=new t.ky(0);i.Ta();)for(;i.Aa();)n.add(i.aa().Pb());return this.Lq=n.Dm(),this.Vf(512,!1),n.Dm()},n.prototype.Ib=function(t){if(t==this)return !0;if(!(t instanceof n&&i.prototype.Ib.call(this,t)))return !1;var s=this.$();return !(s!=t.$()||null!=this.kb&&!this.kb.Ib(t.kb,0,s+1)||this.Qq!=t.Qq||null!=this.jb&&!this.jb.Ib(t.jb,0,s))&&i.prototype.Ib.call(this,t)},n.prototype.Ba=function(){return new t.fN(this)},n.prototype.Ny=function(t){if(i.prototype.Ny.call(this,t),this.Fm())for(t=this.Ba();t.Ta();){t.Aa();}},n.prototype.Tn=function(t,n){if(i.prototype.Tn.call(this,t,n),this.Fm())for(t=this.Ba();t.Ta();){t.Aa();}},n.prototype.Gy=function(){this.sa=null==this.kb||0==this.kb.size?0:this.kb.read(this.kb.size-1);},n.prototype.Pe=function(){return this.Gf?(this.dv(),this.Kq):0},n.prototype.lw=function(t){return !!this.Gf&&(this.ek(8)?(this.dv(),0<this.Ej.read(t)):0!=(4&this.jb.read(t)))},n.prototype.rm=function(t){return this.Gf?(this.dv(),this.Ej.read(t)):0},n.prototype.dv=function(){if(this.ek(1024)){var i=this.$();null==this.Ej?this.Ej=new t.ie(i):this.Ej.size!=i&&this.Ej.resize(i),i=new t.ky(0);for(var n=new t.ky(0),s=new t.b,h=0,r=this.Ba();r.Ta();){for(n.reset(),this.w(this.ua(r.Pa),s);r.Aa();)n.add(r.aa().yy(s.x,s.y));i.add(n.Dm());var e=h++;this.Ej.write(e,n.Dm());}this.Kq=i.Dm(),this.Vf(1024,!1);}},n.prototype.VS=function(){if(this.Gf){this.cl();for(var t=this.$(),i=0;i<t;i++)0!=(4&this.jb.read(i))&&0;}},n.prototype.cl=function(){if(this.ek(8)){this.dv();var i=this.$();(null==this.jb||this.jb.size<i)&&(this.jb=t.Xc.ns(i+1));for(var n=1,s=0;s<i;s++){var h=this.Ej.read(s);0==s&&(n=0<h?1:-1),0<h*n?this.jb.DK(s,4):this.jb.uF(s,4);}this.Vf(8,!1);}},n.prototype.Yv=function(i){var n=this.Pa,s=this.$();if(0<=n&&n<s){if(i<this.zc(n)){if(i>=this.ua(n))return n;n--;}else n++;if(0<=n&&n<s&&i>=this.ua(n)&&i<this.zc(n))return this.Pa=n}if(5>s){for(n=0;n<s;n++)if(i<this.zc(n))return this.Pa=n;throw t.f.Y("corrupted geometry")}for(n=0,--s;s>n;){var h=n+(s-n>>1);if(i<this.ua(h))s=h-1;else {if(!(i>=(n=this.zc(h))))return this.Pa=h;n=h+1;}}return this.Pa=n},n.prototype.JS=function(i){var n=this.Va(0);this.$S();var s=this.zc(i),h=this.ua(i);i=-1;var r=new t.b,e=new t.b;for(r.y=-1/0,r.x=-1/0,h+=0;h<s;h++)n.mc(2*h,e),-1==r.compare(e)&&(i=h,r.K(e));return i},n.prototype.gA=function(){var t=this.D();if(!this.Gf){t-=this.$();for(var i=0,n=this.$();i<n;i++)this.Lb(i)&&t++;}return t},n.prototype.$v=function(t){var i=this.Ha(t);return this.Lb(t)||i--,i},n.prototype.Ea=function(){return new n(this.Gf,this.description)},n.prototype.pb=function(){return this.Gf?2:1},n.prototype.F=function(){return this.Gf?1736:1607},n.prototype.$S=function(){this.yu();},n.prototype.UK=function(t){this.kb=t,this.Oc(16777215);},n.prototype.lT=function(){return this.yu(),this.af},n.prototype.ZS=function(){return this.yu(),this.jb},n.prototype.TK=function(t){this.jb=t,this.Oc(16777215);},n.prototype.$=function(){return null!=this.kb?this.kb.size-1:0},n.prototype.zc=function(t){return this.kb.read(t+1)},n.prototype.Ha=function(t){return this.kb.read(t+1)-this.kb.read(t)},n.prototype.ua=function(t){return this.kb.read(t)},n.prototype.Tu=function(i,n){null==this.ib&&(this.ib=new t.Yk),n=t.sy.VX(n);var s=this.ib.oi;if(null!=s){if(!(s.Pk<i||n>s.hT()))return !0;this.ib.Ky(null);}return s=t.sy.create(this,i,n),this.ib.Ky(s),!0},n.prototype.fc=function(){var t=i.prototype.fc.call(this);if(!this.Ac()){var n=this.$();null!=this.kb&&this.kb.Un(t,0,n+1),null!=this.jb&&this.jb.Un(t,0,n);}return t},n.prototype.KG=function(t){return null!=this.af?this.af.read(t):1},n.prototype.ec=function(i,n,s){var h=this.Yv(i);if(i==this.zc(h)-1&&!this.Lb(h))throw t.f.Y("index out of bounds");this.rc();var r=this.af,e=1;switch(null!=r&&(e=7&r.read(i)),e){case 1:n.ps();break;case 2:case 4:default:throw t.f.za()}if(n=n.get(),s?n.rg(t.ke.ug()):n.rg(this.description),h=i==this.zc(h)-1&&this.Lb(h)?this.ua(h):i+1,r=new t.b,this.w(i,r),n.Fc(r),this.w(h,r),n.Sc(r),!s)for(s=1,r=this.description.Ca;s<r;s++){e=this.description.Jd(s);for(var a=t.oa.Sa(e),o=0;o<a;o++){var u=this.Rc(e,i,o);n.Qx(e,o,u),u=this.Rc(e,h,o),n.Hx(e,o,u);}}},n.prototype.Sj=function(i,n){if(i>=this.$())throw t.f.I();if(this.u())n.Ka();else {if(this.Qs(i))throw t.f.Y("not implemented");var s=this.Va(0),h=new t.b,r=new t.g;r.Ka();var e=this.ua(i);for(i=this.zc(i);e<i;e++)s.mc(2*e,h),r.Nb(h);n.H(r);}},n.prototype.EX=function(i,n){if(i>=this.$())throw t.f.I();if(this.u())n.Ka();else {if(this.Qs(i))throw t.f.Y("not implemented");var s=this.Va(0),h=new t.b,r=new t.g;r.Ka();var e=this.ua(i);for(i=this.zc(i);e<i;e++)s.mc(2*e,h),r.Nb(h);n.H(r);}},n.prototype.lj=function(i){return null==this.ib&&(this.ib=new t.Yk),!(0==i||16>this.D())&&(i=t.la.$E(this),this.ib.jE(i),!0)},n.prototype.oN=function(){if(null==this.ib&&(this.ib=new t.Yk),null==this.ib.To){this.ib.kE(null);var i=t.la.iP(this);this.ib.kE(i);}},n.prototype.np=function(t){this.Qq=t;},n.prototype.$n=function(){return this.Qq},n.prototype.pE=function(i){if(this==i)throw t.f.Y("MultiPathImpl.add");for(var n=this.$(),s=0;s<i.$();s++)this.addPath(i,s,!0),this.VV(n),n++;},n.prototype.uP=function(i){var n=this.Yv(i),s=this.ua(n);if(s!=i){if(i>=(n=this.zc(n))||i<s)throw t.f.Y("change_ring_start_point");for(var h=0,r=this.description.Ca;h<r;h++){var e=this.description.kd(h);e=t.oa.Sa(e),this.va[h].rotate(s*e,i*e,n*e);}}},n.eO=[0,0,6,0,8,0],n}(t.ly);t.Zk=n;}(W||(W={})),function(t){var i=function(i){function n(n){var s=i.call(this)||this;if(void 0!==n){if(null==n)throw t.f.I();s.description=n;}else s.description=t.ke.ug();return s.sa=0,s}return Z(n,i),n.prototype.Ea=function(){return new n(this.description)},n.prototype.add=function(t){this.resize(this.sa+1),this.Hh(this.sa-1,t);},n.prototype.hv=function(i,n){this.resize(this.sa+1);var s=new t.b;s.ka(i,n),this.nb(this.sa-1,s);},n.prototype.yd=function(i,n,s){if(s=0>s?i.D():s,0>n||n>i.D()||s<n)throw t.f.I();if(n!=s){this.Tl(i.description),s-=n;var h=this.sa;this.resize(this.sa+s),this.rc();for(var r=0,e=i.description.Ca;r<e;r++){var a=i.description.Jd(r),o=t.oa.Sa(a),u=this.Va(a);a=i.Va(a),u.fo(h*o,a,n*o,s*o,!0,1,h*o);}}},n.prototype.tE=function(i,n){var s=i.length;if(n=0>n?s:n,0>s||0>n)throw t.f.I();if(0!=n){s=n-0,n=this.sa,this.resize(this.sa+s);for(var h=0;h<s;h++)this.nb(n+h,i[0+h]);}},n.prototype.mC=function(i){if(0>i||i>=this.D())throw t.f.Y("index out of bounds");this.rc();for(var n=0,s=this.description.Ca;n<s;n++)if(null!=this.va[n]){var h=t.oa.Sa(this.description.Jd(n));this.va[n].Xn(h*i,h,h*this.sa);}this.sa--,this.Vg--,this.Oc(1993);},n.prototype.resize=function(t){this.bl(t);},n.prototype.Hp=function(){},n.prototype.Ka=function(){i.prototype.hE.call(this);},n.prototype.Qc=function(i){if(i instanceof t.xd){if(this.u())return;this.rc();for(var n=this.va[0],s=new t.b,h=0;h<this.sa;h++)s.x=n.read(2*h),s.y=n.read(2*h+1),i.Zj(s,s),n.write(2*h,s.x),n.write(2*h+1,s.y);}else {if(this.u())return;this.rc(),this.le(1),this.rc(),n=this.va[0],s=this.va[1];var r=new t.Id;for(h=0;h<this.sa;h++){r.x=n.read(2*h),r.y=n.read(2*h+1),r.z=s.read(h);var e=i.vp(r);n.write(2*h,e.x),n.write(2*h+1,e.y),s.write(h,e.z);}}this.Oc(1993);},n.prototype.pb=function(){return 0},n.prototype.F=function(){return 550},n.prototype.Pe=function(){return 0},n.prototype.Pb=function(){return 0},n.prototype.Ib=function(t){return t==this||t instanceof n&&i.prototype.Ib.call(this,t)},n.prototype.yO=function(i,n){var s=i.length;if(n=0>n?s:n,0>s||0>n)throw t.f.I();if(0!=n){if(0!=(1&(s=n-0)))throw t.f.I();n=this.sa,this.jY(this.sa+s/2),this.va[0].cD(2*n,s,i,0,!0);}},n.prototype.jY=function(i){var n=this.sa;if(this.bl(i),this.sa>n){i=1;for(var s=this.description.Ca;i<s;i++){var h=this.description.kd(i),r=t.oa.Sa(h);this.va[i].Gm(r*n,t.oa.me(h),r*(this.sa-n),r*n);}}},n.prototype.CX=function(i,n){var s=this.sa;if(s=Math.min(s,n+1e3),0>n||n>=this.sa||s<n||1e3!=i.length)throw t.f.I();var h=s-n,r=[];for(this.Va(0).iu(2*n,2*h,r,0,!0),n=0;n<h;n++)i[n]=t.b.construct(r[2*n],r[2*n+1]);return s},n.prototype.Gy=function(){},n.prototype.Oy=function(){},n.prototype.Tu=function(){return !1},n.prototype.lj=function(){return !1},n.prototype.sg=function(){return null},n}(t.ly);t.Hd=i;}(W||(W={})),function(t){var i;(i=t.sM||(t.sM={}))[i.NotDetermined=0]="NotDetermined",i[i.Structure=1]="Structure",i[i.DegenerateSegments=2]="DegenerateSegments",i[i.Clustering=3]="Clustering",i[i.Cracking=4]="Cracking",i[i.CrossOver=5]="CrossOver",i[i.RingOrientation=6]="RingOrientation",i[i.RingOrder=7]="RingOrder",i[i.OGCPolylineSelfTangency=8]="OGCPolylineSelfTangency",i[i.OGCPolygonSelfTangency=9]="OGCPolygonSelfTangency",i[i.OGCDisconnectedInterior=10]="OGCDisconnectedInterior";var n=function(){function t(t,i,n){void 0===t?(this.pi=0,this.Rl=this.Ql=-1):(this.pi=t,this.Ql=i,this.Rl=n);}return t.prototype.Or=function(t){this.pi=t.pi,this.Ql=t.Ql,this.Rl=t.Rl;},t}();t.Od=n;}(W||(W={})),function(t){t.L=function(){function i(){}return i.assert=function(i){if(!1===i)throw t.f.PL()},i.fL=function(t){return isNaN(t)?NaN:0===t?t:0<t?1:-1},i.lv=function(t){var n;void 0===n&&(n=0);for(var s=[],h=0;h<t;h++)s[h]=i.Xf(2,n);return s},i.Xf=function(t,i){void 0===i&&(i=0);for(var n=[],s=0;s<t;s++)n[s]=i;return n},i.Hv=function(t,i){var n,s;for(void 0===n&&(n=0),void 0===s&&(s=t.length-1);n<=s;n++)t[n]=i;},i.Yj=function(t,i,n){return t<i?i:t>n?n:t},i.H0=function(){return 4},i.Zh=function(t,i){var n=5381;return ((n=((n=((n=void 0!==i?(i<<5)+i+(255&t):(n<<5)+n+(255&t))<<5)+n+(t>>8&255))<<5)+n+(t>>16&255))<<5)+n+(t>>24&255)&2147483647},i.Aj=function(){throw Error("Not Implemented")},i.y0=function(){return -1/0},i.A0=function(){return 1/0},i.h0=function(){return 2147483647},i.U_=function(){return 2220446049250313e-31},i.V_=function(){return 17976931348623157e292},i.MB=function(t){return i.uV(t)+12345&2147483647},i.IH=function(t){var n=32,s=t%i.vy|0,h=t/i.vy|0;return 0==(n&=63)?t:(32>n?(t=s>>>n|h<<32-n,n=h>>n):(t=h>>n-32,n=0<=h?0:-1),n*i.vy+(t>>>0))},i.uV=function(t){var i=1103515245,n=65535&i;return ((i-n)*(t|=0)|0)+(n*t|0)|0},i.truncate=function(t){return 0>t?-1*Math.floor(Math.abs(t)):Math.floor(t)},i.MAX_SAFE_INTEGER=Math.pow(2,53)-1,i.MIN_SAFE_INTEGER=-i.MAX_SAFE_INTEGER,i.DD=65536,i.t_=16777216,i.vy=i.DD*i.DD,i}();}(W||(W={})),function(t){var i;(i=t.LM||(t.LM={}))[i.Project=0]="Project",i[i.Union=1]="Union",i[i.Difference=2]="Difference",i[i.Proximity2D=3]="Proximity2D",i[i.Relate=4]="Relate",i[i.Equals=5]="Equals",i[i.Disjoint=6]="Disjoint",i[i.Intersects=7]="Intersects",i[i.Within=8]="Within",i[i.Contains=9]="Contains",i[i.Crosses=10]="Crosses",i[i.Touches=11]="Touches",i[i.Overlaps=12]="Overlaps",i[i.Buffer=13]="Buffer",i[i.Distance=14]="Distance",i[i.Intersection=15]="Intersection",i[i.Clip=16]="Clip",i[i.Cut=17]="Cut",i[i.DensifyByLength=18]="DensifyByLength",i[i.DensifyByAngle=19]="DensifyByAngle",i[i.LabelPoint=20]="LabelPoint",i[i.GeodesicBuffer=21]="GeodesicBuffer",i[i.GeodeticDensifyByLength=22]="GeodeticDensifyByLength",i[i.ShapePreservingDensify=23]="ShapePreservingDensify",i[i.GeodeticLength=24]="GeodeticLength",i[i.GeodeticArea=25]="GeodeticArea",i[i.Simplify=26]="Simplify",i[i.SimplifyOGC=27]="SimplifyOGC",i[i.Offset=28]="Offset",i[i.Generalize=29]="Generalize",i[i.SymmetricDifference=30]="SymmetricDifference",i[i.ConvexHull=31]="ConvexHull",i[i.Boundary=32]="Boundary",i[i.SimpleRelation=33]="SimpleRelation";var n=function(){function i(){}return i.prototype.F=function(){return null},i.prototype.Pn=function(){},i.prototype.qv=function(){return !1},i.R_=function(i){t.R.Rg(i.F())&&(null!=(i=i.ib)&&(i.Ky(null),i.jE(null)));},i}();t.Ne=n;}(W||(W={})),function(t){var i=function(i){function n(){return null!==i&&i.apply(this,arguments)||this}return Z(n,i),n.prototype.F=function(){return 13},n.local=function(){return null===n.instance&&(n.instance=new n),n.instance},n.prototype.U=function(i,n,s,h,r){return i instanceof t.R?(r=new t.$c(i),this.U(r,n,[s],!1,h).next()):!0===h?(s=new t.iD(i,n,s,!1,r),t.Jh.local().U(s,n,r)):new t.iD(i,n,s,!1,r)},n.instance=null,n}(t.Ne);t.hD=i;}(W||(W={})),function(t){var i=function(){function i(i,n,s,h,r){this.ya=-1,this.Vd=i,this.KA=n,this.kt=s,this.OU=new t.g,this.OU.Ka(),this.xo=-1,this.Vb=r;}return i.prototype.next=function(){for(var t;null!=(t=this.Vd.next());)return this.ya=this.Vd.Fa(),this.xo+1<this.kt.length&&this.xo++,this.buffer(t,this.kt[this.xo]);return null},i.prototype.Fa=function(){return this.ya},i.prototype.buffer=function(i,n){return t.QL.buffer(i,n,this.KA,NaN,96,this.Vb)},i.prototype.xe=function(){},i}();t.iD=i;}(W||(W={})),function(t){var i=function(i){function n(){return null!==i&&i.apply(this,arguments)||this}return Z(n,i),n.prototype.F=function(){return 16},n.local=function(){return null===n.instance&&(n.instance=new n),n.instance},n.prototype.U=function(i,n,s,h){return i instanceof t.R?(i=new t.$c(i),this.U(i,n,s,h).next()):new t.vM(i,n,s,h)},n.instance=null,n}(t.Ne);t.uM=i;}(W||(W={})),function(t){var i=function(){function i(i,n,s){if(this.ya=-1,null==i)throw t.f.I();this.X=n,this.Fk=i,this.qa=t.la.Qd(s,n,!1);}return i.prototype.next=function(){var i;return null!=(i=this.Fk.next())?(this.ya=this.Fk.Fa(),t.Yd.clip(i,this.X,this.qa,0)):null},i.prototype.Fa=function(){return this.ya},i.prototype.xe=function(){},i}();t.vM=i;}(W||(W={})),function(t){var i=function(i){function n(){return null!==i&&i.apply(this,arguments)||this}return Z(n,i),n.prototype.F=function(){return 31},n.local=function(){return null===n.instance&&(n.instance=new n),n.instance},n.prototype.U=function(i,n,s){return i instanceof t.R?t.kD.dF(i):new t.kD(n,i,s)},n.instance=null,n}(t.Ne);t.jD=i;}(W||(W={})),function(t){var i=function(){function i(i,n,s){if(this.dB=new t.Gu,this.ya=-1,null==n)throw t.f.I();this.QH=i,this.Jc=!1,this.Fk=n,this.Vb=s;}return i.prototype.next=function(){if(this.QH){if(!this.Jc){var t=this.mP(this.Fk);return this.Jc=!0,t}return null}if(!this.Jc){if(null!=(t=this.Fk.next()))return this.ya=this.Fk.Fa(),i.dF(t);this.Jc=!0;}return null},i.prototype.Fa=function(){return this.ya},i.prototype.mP=function(t){for(var i;null!=(i=t.next());)this.dB.Bb(i);return this.dB.qS()},i.prototype.xe=function(){if(!this.Jc){if(!this.QH)throw t.f.Y("Invalid call for non merging convex hull.");var i=this.Fk.next();if(null==i)throw t.f.Y("Expects a non-null geometry.");this.dB.Bb(i);}},i.dF=function(n){if(i.oU(n))return n;var s=n.F();if(t.Zk.Ic(s))return (s=new t.Oa(n.description)).$b(n,!0),s;if(550==s&&2==n.D()){var h=new t.Ra;return s=new t.Oa(n.description),n.ne(0,h),s.xf(h),n.ne(1,h),s.lineTo(h),s}return t.Gu.aQ(n)},i.oU=function(i){if(i.u())return !0;var n=i.F();return 33==n||197==n||!t.Zk.Ic(n)&&(550==n?1==i.D():1607==n?1==i.$()&&2>=i.D():1==i.$()&&(2>=i.D()||t.Gu.vH(i,0)))},i}();t.kD=i;}(W||(W={})),function(t){var i=function(i){function n(){return null!==i&&i.apply(this,arguments)||this}return Z(n,i),n.prototype.F=function(){return 17},n.local=function(){return null===n.instance&&(n.instance=new n),n.instance},n.prototype.U=function(i,n,s,h,r){return new t.xM(i,n,s,h,r)},n.instance=null,n}(t.Ne);t.wM=i;}(W||(W={})),function(t){var i=function(){function i(i,n,s,h,r){if(this.bg=null,null==n||null==s)throw t.f.Y("invalid argument");this.LU=i,this.YA=n,this.ZH=s,i=t.la.Uv(n,s),this.qa=t.la.Qd(h,i,!0),this.YH=-1,this.nd=r;}return i.prototype.Fa=function(){return 0},i.prototype.next=function(){return this.cS(),++this.YH<this.bg.length?this.bg[this.YH]:null},i.prototype.cS=function(){if(null==this.bg)switch(this.bg=[],this.YA.F()){case 1607:this.eS();break;case 1736:this.dS();}},i.prototype.eS=function(){var i=new t.Oa,n=new t.Oa,s=new t.Oa;this.bg.push(i),this.bg.push(n);var h=[];t.UL.SL(this.LU,this.YA,this.ZH,this.qa,h,this.nd);for(var r=0;r<h.length;r++){var e=h[r];if(0==e.Jt)i.add(e.W,!1);else if(1==e.Jt||2==e.Jt)n.add(e.W,!1);else if(3==e.Jt)this.bg.push(e.W);else {if(4!=e.Jt)throw t.f.Y("internal");s.add(e.W,!1);}}s.u()||i.u()&&n.u()&&!(3<=this.bg.length)||this.bg.push(s),i.u()&&n.u()&&3>this.bg.length&&(this.bg.length=0);},i.prototype.dS=function(){var i=new t.ha(0),n=new t.Yc,s=n.NF(),h=n.Bb(this.YA),r=n.Bb(this.ZH),e=new t.pg;try{e.yr(n,this.qa,this.nd),e.jl(s,h,r,i);var a=n.ye(h),o=new t.Ga,u=new t.Ga;for(this.bg.length=0,this.bg.push(o),this.bg.push(u),h=0;h<i.size;h++){var f=new t.Yc,c=f.Bb(a),l=f.Bb(n.ye(i.get(h)));e.xr(f,this.nd);var p=e.hw(c,l),b=f.ye(p);if(!b.u()){var v=n.wG(i.get(h),s);2==v?o.add(b,!1):1==v?u.add(b,!1):this.bg.push(b);var y=new t.Yc;c=y.Bb(a),l=y.Bb(n.ye(i.get(h))),e.xr(y,this.nd),a=y.ye(e.tm(c,l));}}!a.u()&&0<i.size&&this.bg.push(a),o.u()&&u.u()&&(this.bg.length=0);}finally{e.ah();}},i.prototype.xe=function(){},i}();t.xM=i;}(W||(W={})),function(t){var i=function(i){function n(){return null!==i&&i.apply(this,arguments)||this}return Z(n,i),n.prototype.F=function(){return 18},n.local=function(){return null===n.instance&&(n.instance=new n),n.instance},n.prototype.U=function(i,n,s){if(i instanceof t.R)return i=new t.$c(i),this.U(i,n,s).next();if(0>=n)throw t.f.I();return new t.yM(i,n,s)},n.instance=null,n}(t.Ne);t.im=i;}(W||(W={})),function(t){var i=function(){function i(t,i){this.ya=-1,this.Vd=t,this.xt=i;}return i.prototype.Fa=function(){return this.ya},i.prototype.next=function(){var t;return null!=(t=this.Vd.next())?(this.ya=this.Vd.Fa(),this.YQ(t)):null},i.prototype.YQ=function(i){if(i.u()||1>i.pb())return i;var n=i.F();if(1736==n||1607==n)return this.sz(i);if(t.R.Ic(n))return this.$Q(i);if(197==n)return this.ZQ(i);throw t.f.za()},i.prototype.$Q=function(i){if(i.Pb()<=this.xt)return i;var n=new t.Oa(i.description);return n.$b(i,!0),this.sz(n)},i.prototype.ZQ=function(i){var n=new t.Ga(i.description);n.bd(i,!1);var s=new t.g;return i.s(s),i=s.ca(),s.N()<=this.xt&&i<=this.xt?n:this.sz(n)},i.prototype.sz=function(i){for(var n=i.Ea(),s=i.Ba();s.Ta();)for(var h=!0;s.Aa();){var r=s.aa();if(322!=r.F())throw t.f.Y("not implemented");var e=s.io(),a=r.Pb();if(a>this.xt){var o=Math.ceil(a/this.xt);a=new t.Ra(i.description),h&&(r.jp(a),n.xf(a));var u=h=1/o,f=0;for(--o;f<o;f++)r.zx(u,a),n.lineTo(a),u+=h;e?n.Up():(r.hp(a),n.lineTo(a));}else e?n.Up():n.$b(r,h);h=!1;}return n},i.prototype.xe=function(){},i}();t.yM=i;}(W||(W={})),function(t){var i=function(i){function n(){return null!==i&&i.apply(this,arguments)||this}return Z(n,i),n.local=function(){return null===n.instance&&(n.instance=new n),n.instance},n.prototype.F=function(){return 2},n.prototype.U=function(i,n,s,h){return i instanceof t.R?(i=new t.$c(i),n=new t.$c(n),this.U(i,n,s,h).next()):new t.zM(i,n,s,h)},n.tm=function(i,s,h,r){if(i.u()||s.u())return i;var e=i.pb(),a=s.pb();if(e>a)return i;var o=i.F(),u=s.F(),f=new t.g,c=new t.g,l=new t.g;i.s(f),s.s(c),l.H(f),l.Nb(c);var p=(l=t.la.Qd(h,l,!0))*Math.sqrt(2)*1.00001,b=new t.g;if(b.H(f),b.O(p,p),!b.isIntersecting(c))return i;if(1==e&&2==a)return n.cX(i,s,u,h,r);if(33==o)switch(t.Zk.Ic(u)?(h=new t.Oa(s.description),h.$b(s,!0)):h=s,u){case 1736:return n.oW(i,h,l);case 1607:return n.pW(i,h,l);case 550:return n.mW(i,h,l);case 197:return n.lW(i,h,l);case 33:return n.nW(i,h,l);default:throw t.f.I()}else if(550==o)switch(u){case 1736:return n.HV(i,s,l);case 197:return n.FV(i,s,l);case 33:return n.GV(i,s,l)}return t.pg.tm(i,s,h,r)},n.oW=function(i,n,s){return 0==t.Zc.wH(n,i,s)?i:i.Ea()},n.pW=function(i,n,s){var h=i.w();n=n.Ba();for(var r=s*Math.sqrt(2)*1.00001,e=r*r,a=new t.g;n.Ta();)for(;n.Aa();){var o=n.aa();if(o.s(a),a.O(r,r),a.contains(h)){if(o.Zs(h,s))return i.Ea();var u=o.ac();if(t.b.oc(h,u)<=e)return i.Ea();if(u=o.wc(),t.b.oc(h,u)<=e)return i.Ea()}}return i},n.mW=function(i,n,s){var h=n.Va(0);n=n.D();var r=i.w(),e=new t.b;s=s*Math.sqrt(2)*1.00001,s*=s;for(var a=0;a<n;a++)if(h.mc(2*a,e),t.b.oc(e,r)<=s)return i.Ea();return i},n.lW=function(i,n,s){var h=new t.g;return n.s(h),h.O(s,s),n=i.w(),h.contains(n)?i.Ea():i},n.nW=function(i,n,s){s=s*Math.sqrt(2)*1.00001,s*=s;var h=i.w();return n=n.w(),t.b.oc(h,n)<=s?i.Ea():i},n.HV=function(i,n,s){var h=new t.g;n.s(h),h.O(s,s);for(var r=i.D(),e=!1,a=[],o=0;o<r;o++)a[o]=!1;var u=new t.b;for(o=0;o<r;o++)i.w(o,u),h.contains(u)&&0!=t.Zc.Td(n,u,s)&&(e=!0,a[o]=!0);if(!e)return i;for(n=i.Ea(),o=0;o<r;o++)a[o]||n.yd(i,o,o+1);return n},n.FV=function(i,n,s){var h=new t.g;n.s(h),h.O(s,s),n=i.D();var r=!1;s=[];for(var e=0;e<n;e++)s[e]=!1;var a=new t.b;for(e=0;e<n;e++)i.w(e,a),h.contains(a)&&(r=!0,s[e]=!0);if(!r)return i;for(h=i.Ea(),e=0;e<n;e++)s[e]||h.yd(i,e,e+1);return h},n.GV=function(i,n,s){var h=i.Va(0),r=i.D(),e=n.w(),a=new t.b,o=!1;n=[];for(var u=0;u<r;u++)n[u]=!1;for(s=(u=s*Math.sqrt(2)*1.00001)*u,u=0;u<r;u++)h.mc(2*u,a),t.b.oc(a,e)<=s&&(o=!0,n[u]=!0);if(!o)return i;for(h=i.Ea(),u=0;u<r;u++)n[u]||h.yd(i,u,u+1);return h},n.cX=function(i,n,s,h,r){var e=new t.Ih;i.qn(e);var a=new t.g;return n.s(a),e.Nb(a),e.O(.1*e.N(),.1*e.ca()),(a=new t.Ga).bd(e,!1),1736==s?a.add(n,!0):a.bd(n,!0),t.ak.local().U(i,a,h,r)},n.instance=null,n}(t.Ne);t.Cp=i;}(W||(W={})),function(t){var i=function(){function i(t,i,n,s){this.at=null==i,this.ya=-1,this.Vd=t,this.KA=n,this.RU=i.next(),this.Vb=s;}return i.prototype.next=function(){return this.at?null:null!=(i=this.Vd.next())?(this.ya=this.Vd.Fa(),t.Cp.tm(i,this.RU,this.KA,this.Vb)):null;var i;},i.prototype.Fa=function(){return this.ya},i.prototype.xe=function(){},i}();t.zM=i;}(W||(W={})),function(t){var i=function(){function i(i){this.nd=i,this.Fj=new t.g,this.Fj.Ka(),this.uh=new t.g,this.uh.Ka();}return i.prototype.xu=function(){var t=this.Fj.o;this.Fj.o=this.uh.o,this.uh.o=t,t=this.Fj.v,this.Fj.v=this.uh.v,this.uh.v=t,t=this.Fj.A,this.Fj.A=this.uh.A,this.uh.A=t,t=this.Fj.B,this.Fj.B=this.uh.B,this.uh.B=t;},i.prototype.qR=function(i,n){if(null!=this.nd&&!this.nd.progress(-1,-1))throw t.f.Mu("user_canceled");var s=!this.Fj.isIntersecting(this.uh);return t.R.Bc(i.F())&&t.R.Bc(n.F())?i.D()>n.D()?this.TE(i,n,s):(this.xu(),i=this.TE(n,i,s),this.xu(),i):550==i.F()&&t.R.Bc(n.F())?(i=this.UE(n,i,s),this.xu(),i):550==n.F()&&t.R.Bc(i.F())?this.UE(i,n,s):550==i.F()&&550==n.F()?i.D()>n.D()?this.VE(i,n):(this.xu(),i=this.VE(n,i),this.xu(),i):0},i.prototype.TE=function(i,n,s){var h=i.Ba(),r=n.Ba(),e=new t.g,a=new t.g,o=17976931348623157e292;if(!s&&this.WZ(i,n,h,r))return 0;for(;h.Ta();)for(;h.Aa();)if((i=h.aa()).s(e),!(e.Xx(this.uh)>o)){for(;r.Ta();)for(;r.Aa();)if((n=r.aa()).s(a),e.Xx(a)<o&&(n=i.vb(n,s),(n*=n)<o)){if(0==n)return 0;o=n;}r.ej();}return Math.sqrt(o)},i.prototype.UE=function(i,n,s){var h=i.Ba(),r=new t.g,e=17976931348623157e292,a=new t.b,o=n.D();for(s=!s&&1736==i.F();h.Ta();)for(;h.Aa();){var u=h.aa();if(u.s(r),!(1<o&&r.Xx(this.uh)>e)){for(var f=0;f<o;f++){if(n.w(f,a),s&&0!=t.Zc.Td(i,a,0))return 0;var c=u.ae(a,!1);if(a.sub(u.cc(c)),(c=a.En())<e){if(0==c)return 0;e=c;}}s=!1;}}return Math.sqrt(e)},i.prototype.VE=function(i,n){for(var s,h=17976931348623157e292,r=new t.b,e=new t.b,a=i.D(),o=n.D(),u=0;u<a;u++)if(i.w(u,r),!(1<o&&this.uh.nL(r)>h))for(var f=0;f<o;f++)if(n.w(f,e),(s=t.b.oc(r,e))<h){if(0==s)return 0;h=s;}return Math.sqrt(h)},i.prototype.WZ=function(i,n,s,h){if(1736==i.F()){for(;h.Ta();)if(h.Aa()){var r=h.aa();if(0!=t.Zc.Td(i,r.wc(),0))return !0}h.ej();}if(1736==n.F()){for(;s.Ta();)if(s.Aa()&&(i=s.aa(),0!=t.Zc.Td(n,i.wc(),0)))return !0;s.ej();}return !1},i.prototype.qm=function(t,i){return t.u()||i.u()?NaN:(t.s(this.Fj),i.s(this.uh),this.qR(t,i))},i}(),n=function(n){function s(){return null!==n&&n.apply(this,arguments)||this}return Z(s,n),s.prototype.U=function(n,s,h){if(null==n||null==s)throw t.f.I();if(n.u()||s.u())return NaN;var r=n.F(),e=s.F();if(33==r){if(33==e)return t.b.vb(n.w(),s.w());if(197==e)return h=new t.g,s.s(h),h.vb(n.w());(r=new t.Hd).add(n),n=r;}else if(197==r){if(197==e)return e=new t.g,n.s(e),h=new t.g,s.s(h),h.vb(e);(r=new t.Ga).bd(n,!1),n=r;}return 33==e?((e=new t.Hd).add(s),s=e):197==e&&((e=new t.Ga).bd(s,!1),s=e),new i(h).qm(n,s)},s.local=function(){return null===s.instance&&(s.instance=new s),s.instance},s.prototype.F=function(){return 14},s.instance=null,s}(t.Ne);t.AM=n;}(W||(W={})),function(t){var i=function(){function i(t,i,n,s){this.mI=t,this.tI=i,this.nd=s,this.NH=n;}return i.prototype.next=function(){var t=this.mI.next();return null==t?null:this.gD(t)},i.prototype.Fa=function(){return this.mI.Fa()},i.prototype.gD=function(i){var n=i.F();if(t.R.lo(n))return i;if(197==n)return (n=new t.Ga(i.description)).bd(i,!1),this.gD(n);if(i.u())return i;if(null==i)throw t.f.za();n=i.Ea();for(var s=new t.zb,h=0,r=i.$();h<r;h++)this.aM(i,h,n,s);return n},i.prototype.aM=function(i,n,s,h){if(!(2>i.Ha(n))){var r=i.ua(n),e=i.zc(n)-1,a=i.Va(0),o=i.Lb(n),u=new t.ha(0);u.Db(i.Ha(n)+1);var f=new t.ha(0);for(f.Db(i.Ha(n)+1),u.add(o?r:e),u.add(r),r=new t.b;1<u.size;){var c=u.Gc();u.Rf();var l=u.Gc();i.w(c,r),h.Fc(r),i.w(l,r),h.Sc(r),0<=(l=this.$L(h,r,a,c,l,e))?(u.add(l),u.add(c)):f.add(c);}if(o||f.add(u.get(0)),f.size==u.size)s.addPath(i,n,!0);else if(2<=f.size&&(!this.NH||2!=f.size||!(o||t.b.vb(i.xa(f.get(0)),i.xa(f.get(1)))<=this.tI))){for(n=new t.Ra,h=0,e=f.size;h<e;h++)i.ne(f.get(h),n),0==h?s.xf(n):s.lineTo(n);o&&(this.NH||2!=f.size||s.lineTo(n),s.Up());}}},i.prototype.$L=function(t,i,n,s,h,r){var e=h-1;for(h<=s&&(e=r),r=h=-1,s+=1;s<=e;s++){n.mc(2*s,i);var a=i.x,o=i.y;t.cc(t.ae(i,!1),i),i.x-=a,i.y-=o,(a=i.length())>this.tI&&a>r&&(h=s,r=a);}return h},i.prototype.xe=function(){},i}();t.BM=i;}(W||(W={})),function(t){var i=function(i){function n(){return null!==i&&i.apply(this,arguments)||this}return Z(n,i),n.prototype.F=function(){return 29},n.prototype.U=function(i,n,s,h){return i instanceof t.R?(i=new t.$c(i),this.U(i,n,s,h).next()):new t.BM(i,n,s,h)},n.local=function(){return null===n.instance&&(n.instance=new n),n.instance},n.instance=null,n}(t.Ne);t.lD=i;}(W||(W={})),function(t){var i=function(i){function n(){return null!==i&&i.apply(this,arguments)||this}return Z(n,i),n.prototype.F=function(){return 21},n.local=function(){return null===n.instance&&(n.instance=new n),n.instance},n.prototype.U=function(i,n,s,h,r,e,a,o){return i instanceof t.R?(o=new t.$c(i),this.U(o,n,s,[h],r,e,!1,a).next()):!0===a?(s=new t.nD(i,n,s,h,r,!1,!1,o),t.Jh.local().U(s,n,o)):new t.nD(i,n,s,h,r,!1,!1,o)},n.instance=null,n}(t.Ne);t.mD=i;}(W||(W={})),function(t){var i=function(){function i(i,n,s,h,r,e,a,o){if(e)throw t.f.Me();if(null==n)throw t.f.I();this.ya=-1,this.ut=i,this.Cg=n,this.Fe=s,this.kt=h,this.to=r,this.xo=-1,this.Vb=o,this.PU=new t.g,this.PU.Ka();}return i.prototype.next=function(){for(var t;null!=(t=this.ut.next());)return this.ya=this.ut.Fa(),this.xo+1<this.kt.length&&this.xo++,this.mS(t,this.kt[this.xo]);return null},i.prototype.Fa=function(){return this.ya},i.prototype.mS=function(i,n){return t.dM.buffer(i,this.Cg,this.Fe,n,this.to,this.Vb)},i.prototype.xe=function(){},i}();t.nD=i;}(W||(W={})),function(t){var i=function(i){function n(){return null!==i&&i.apply(this,arguments)||this}return Z(n,i),n.prototype.F=function(){return 24},n.local=function(){return null===n.instance&&(n.instance=new n),n.instance},n.prototype.U=function(i,n,s){if(null==n)throw t.f.I();if(i.u()||1>i.pb())return 0;if(4==s)throw t.f.Me();var h=t.ab.hc(n),r=t.ab.dw(h),e=t.ab.Nv(h);r*=2-r;var a=h.Ld().gi,o=i.F();if(1736==o||197==o)var u=i.sg();else t.R.Ic(o)?(u=new t.Oa(i.description)).$b(i,!0):u=i;if(0==h.Ib(n)){if(t.ab.Cc(n)){u=t.Lh.qj(u,n),1607==o&&u==i&&(u=t.R.$d(i)),i=new t.uc,t.ab.nh(n).sn(i),o=0;for(var f=u.D();o<f;o++){var c=u.xa(o);c.x=t.Lh.nn(c.x,i),u.nb(o,c);}}i=u.Ea(),u=t.Lh.NJ(n,h,u,i)?i:t.ab.$g(u,n,h);}return this.tR(u,s,e,r,a)},n.prototype.tR=function(i,n,s,h,r){var e=new t.da(0),a=0;for(i=i.Ba();i.Ta();)for(;i.Aa();){var o=i.aa(),u=o.ac();o=o.wc(),u.scale(r),o.scale(r),t.gb.Ad(s,h,u.x,u.y,o.x,o.y,e,null,null,n),a+=e.j;}return a},n.instance=null,n}(t.Ne);t.EM=i;}(W||(W={})),function(t){var i=function(i){function n(){return null!==i&&i.apply(this,arguments)||this}return Z(n,i),n.prototype.F=function(){return 18},n.local=function(){return null===n.instance&&(n.instance=new n),n.instance},n.prototype.U=function(i,n,s,h,r){return i instanceof t.R?(i=new t.$c(i),this.U(i,n,s,h,r).next()):new t.DM(i,s,h,n,-1,-1,r)},n.instance=null,n}(t.Ne);t.CM=i;}(W||(W={})),function(t){var i=function(){function i(i,n,s,h,r,e){if(0<e)throw t.f.Me();if(4!=s&&0<r)throw t.f.Me();if(null==n)throw t.f.I();this.ya=-1,this.ut=i,this.Cg=n,this.Fe=s,this.WU=h,this.VU=r;}return i.prototype.next=function(){for(var t;null!=(t=this.ut.next());)return this.ya=this.ut.Fa(),this.Ez(t);return null},i.prototype.Fa=function(){return this.ya},i.prototype.Ez=function(i){return t.jj.rs(i,this.Cg,this.Fe,this.WU,this.VU,this.Vb)},i.prototype.xe=function(){},i}();t.DM=i;}(W||(W={})),function(t){!function(t){t[t.Unknown=0]="Unknown",t[t.Contains=1]="Contains",t[t.Within=2]="Within",t[t.Equals=3]="Equals",t[t.Disjoint=4]="Disjoint",t[t.Touches=8]="Touches",t[t.Crosses=16]="Crosses",t[t.Overlaps=32]="Overlaps",t[t.NoThisRelation=64]="NoThisRelation",t[t.Intersects=1073741824]="Intersects",t[t.IntersectsOrDisjoint=1073741828]="IntersectsOrDisjoint";}(t.mM||(t.mM={})),t.FM=function(){function i(){}return i.B0=function(n,s,h,r){if(s.u()||n.u())return 4;var e,a=n.F(),o=s.F();switch(t.R.Ic(a)&&(n=e=new t.Oa(n.description),e.$b(n,!0)),t.R.Ic(o)&&(s=e=new t.Oa(s.description),e.$b(s,!0)),a){case 33:switch(o){case 33:return i.MX(n,s,h);case 197:return i.fj(i.WJ(s,n,h));case 550:return i.fj(i.ZJ(s,n,h));case 1607:return i.fj(i.hK(s,n,h,r));case 1736:return i.fj(i.dK(s,n,h))}throw t.f.za();case 197:switch(o){case 33:return i.WJ(n,s,h);case 197:return i.GX(n,s,h);case 550:return i.fj(i.XJ(s,n,h,r));case 1607:return i.fj(i.fK(s,n));case 1736:return i.fj(i.bK(s,n))}throw t.f.za();case 550:switch(o){case 33:return i.ZJ(n,s,h);case 197:return i.XJ(n,s,h,r);case 550:return i.YJ(n,s,h,r);case 1607:return i.fj(i.gK(s,n));case 1736:return i.fj(i.cK(s,n))}throw t.f.za();case 1607:switch(o){case 33:return i.hK(n,s,h,r);case 197:return i.fK(n,s);case 550:return i.gK(n,s);case 1607:return i.SX(n,s);case 1736:return i.fj(i.eK(s,n))}throw t.f.za();case 1736:switch(o){case 33:return i.dK(n,s,h);case 197:return i.bK(n,s);case 550:return i.cK(n,s);case 1607:return i.eK(n,s);case 1736:return i.PX(n,s)}throw t.f.za();default:throw t.f.za()}},i.MX=function(t,n,s){return t=t.w(),n=n.w(),i.aK(t,n,s)},i.aK=function(t,i,n){return t.sub(i),t.En()<=n*n?3:4},i.WJ=function(n,s,h){var r=new t.g;return n.s(r),n=s.w(),i.IX(r,n,h)},i.IX=function(t,i,n){return t.O(-n,-n),t.contains(i)?1:(t.O(n,n),t.contains(i)?8:4)},i.JX=function(t,i,n){return i.contains(n)?1:t.contains(n)?8:4},i.GX=function(n,s,h){var r=new t.g;return n.s(r),n=new t.g,s.s(n),i.HX(r,n,h)},i.HX=function(t,i,n){var s=0;return t.contains(i)&&(s|=1),i.contains(t)&&(s|=2),0!=s?s:(t.O(-n,-n),i.O(-n,-n),t.isIntersecting(i)?((s=t).O(n,n),s=s.contains(i)?1:0,i.O(n,n),0!=(s|=i.contains(t)?2:0)?s:32):((s=t).O(n,n),i.O(n,n),s.isIntersecting(i)?8:4))},i.ZJ=function(t,n,s){return n=n.w(),i.$J(t,n,s)},i.$J=function(t,n,s){for(var h=0,r=t.D();h<r;h++){var e=t.xa(h);if(4!=(e=i.aK(e,n,s)))return 0!=(2&e)&&1!=r?1:e}return 4},i.XJ=function(n,s,h,r){var e=new t.g;return s.s(e),i.LX(n,e,h,r)},i.LX=function(t,n,s,h){n.O(-s,-s),n.O(s,s);for(var r=s=0,e=t.D();r<e;r++){var a=t.xa(r);if(4!=(a=i.fj(i.JX(n,n,a)))&&(s|=a,4==h))return 1073741824}return 0==s?4:2==s?s:32},i.YJ=function(t,n,s,h){for(var r=0,e=0,a=n.D();e<a;e++){var o=n.xa(e);if(4!=(o=i.$J(t,o,s))&&(r++,4==h))return 1073741824}return 0<r?r==n.D()?3==h?1==(o=i.YJ(n,t,s,1))?3:0:1:32:0},i.hK=function(t,n,s,h){return n=n.w(),i.RX(t,n,s,h)},i.KX=function(t,i){var n=null;return null!=(t=t.ib)&&(n=t.oi),null==n?-1:0==(i=n.Xl(i.x,i.y))?4:1==i?1:0},i.RX=function(n,s,h,r){if(0==(1073741839&r))return 64;var e=i.KX(n,s);if(0<e)return e;for(h*=h,e=n.Ba();e.Ta();){var a=e.Pa;if(!n.Lb(a)){var o=n.Ha(a);if(a=n.ua(a),0==o)continue;if(t.b.oc(n.xa(a),s)<=h||1<o&&t.b.oc(n.xa(a+o-1),s)<=h)return 8}if(8!=r)for(;e.Aa();)if(o=(o=e.aa()).cc(o.ae(s,!1)),t.b.oc(o,s)<=h)return 0!=(1073741828&r)?1073741824:1}return 0!=(1073741828&r)?4:64},i.fK=function(n,s){var h=new t.g;return s.s(h),i.QX(n,h)},i.QX=function(t,n){return 0<(t=i.hu(t,n))?t:0},i.hu=function(t,i){return null==(t=t.ib)||null==(t=t.oi)?-1:0==(i=t.rn(i))?4:1==i?1:0},i.gK=function(n,s){var h=new t.g;return s.s(h),0<(n=i.hu(n,h))?n:0},i.Bx=function(n,s){var h=new t.g;return s.s(h),0<(h=i.hu(n,h))?h:-1==h&&(h=new t.g,n.s(h),0<(h=i.hu(s,h)))?i.fj(h):0},i.SX=function(t,n){return 0<(t=i.Bx(t,n))?t:0},i.dK=function(t,n,s){return n=n.w(),i.OX(t,n,s)},i.OX=function(i,n,s){if(0==(i=t.Zc.Td(i,n,s)))return 4;if(1==i)return 1;if(2==i)return 8;throw t.f.za()},i.bK=function(n,s){var h=new t.g;return s.s(h),i.NX(n,h)},i.NX=function(t,n){return 0<(t=i.hu(t,n))?t:0},i.cK=function(t,n){return 0<(t=i.Bx(t,n))?t:0},i.eK=function(t,n){return 0<(t=i.Bx(t,n))?t:0},i.PX=function(t,n){return 0<(t=i.Bx(t,n))?t:0},i.TX=function(i,n){var s=i.F(),h=n.F();if(t.R.Rg(s)){var r=i.ib;if(null!=r&&null!=(r=r.oi)){if(33==h){var e=n.w();r=r.Xl(e.x,e.y);}else e=new t.g,n.s(e),r=r.rn(e);if(1==r)return 1;if(0==r)return 4}}if(t.R.Rg(h)&&(null!=(r=n.ib)&&null!=(r=r.oi))){if(33==s?(i=i.w(),r=r.Xl(i.x,i.y)):(n=new t.g,i.s(n),r=r.rn(n)),1==r)return 2;if(0==r)return 4}return 0},i.fj=function(t){return 0!=(1&t)&&(t=-2&t|2),0!=(2&t)&&(t=-3&t|1),t},i}();}(W||(W={})),function(t){var i=function(i){function n(){return null!==i&&i.apply(this,arguments)||this}return Z(n,i),n.local=function(){return null===n.instance&&(n.instance=new n),n.instance},n.prototype.F=function(){return 15},n.prototype.U=function(i,n,s,h,r){return i instanceof t.R?(i=new t.$c(i),n=new t.$c(n),this.U(i,n,s,h,r).next()):void 0===r?new t.oD(i,n,s,h,-1):new t.oD(i,n,s,h,r)},n.prototype.Pn=function(i,n,s){this.qv(i)&&(n=t.la.Ng(n,i,!1),i.lj(s)||i.Tu(n,s));},n.prototype.qv=function(i){return t.sy.az(i)},n.instance=null,n}(t.Ne);t.ak=i;}(W||(W={})),function(t){var i=function(){function i(i,n,s,h,r){if(this.at=null==n,this.ya=-1,this.Vd=i,this.Cg=s,this.Xe=n.next(),this.Hj=this.Xe.F(),this.Vb=h,this.Li=r,-1!=this.Li&&(0>=this.Li||7<this.Li))throw t.f.I("bad dimension mask")}return i.prototype.next=function(){if(this.at)return null;if(null!=this.gx){var t=this.gx.next();if(null!=t)return t;this.gx=null;}for(;null!=(t=this.Vd.next());)return this.ya=this.Vd.Fa(),-1==this.Li?t=this.Ia(t):(this.gx=this.jU(t),t=this.gx.next()),t;return null},i.prototype.Fa=function(){return this.ya},i.prototype.Ia=function(i){var n=this.GL(i);if(null!=n)return n;n=t.la.Uv(this.Xe,i);var s=t.la.Qd(this.Cg,n,!0);n=new t.g,this.Xe.s(n);var h=new t.g;return i.s(h),n.O(2*s,2*s),n.Ia(h),n.O(100*s,100*s),s=t.Yd.clip(this.Xe,n,0,0),i=t.Yd.clip(i,n,0,0),t.pg.hw(i,s,this.Cg,this.Vb)},i.prototype.GJ=function(i,n,s){var h=0;if(0!=(1&n))null==s[0]&&(s[0]=new t.Hd(i)),h++;else for(var r=0;r<s.length-1;r++)s[r]=s[r+1];if(0!=(2&n))null==s[h]&&(s[h]=new t.Oa(i)),h++;else for(r=h;r<s.length-1;r++)s[r]=s[r+1];if(0!=(4&n))null==s[h]&&(s[h]=new t.Ga(i)),h++;else for(r=h;r<s.length-1;r++)s[r]=s[r+1];if(3!=h){for(i=[],r=0;r<h;r++)i[r]=s[r];return new t.$c(i)}return new t.$c(s)},i.prototype.jU=function(i){var n=this.GL(i);if(null!=n){var s=[null,null,null];return s[n.pb()]=n,this.GJ(i.description,this.Li,s)}n=t.la.Uv(this.Xe,i),s=t.la.Qd(this.Cg,n,!0),n=new t.g,this.Xe.s(n),n.O(2*s,2*s);var h=new t.g;return i.s(h),n.Ia(h),n.O(100*s,100*s),s=t.Yd.clip(this.Xe,n,0,0),n=t.Yd.clip(i,n,0,0),s=t.pg.wA(n,s,this.Cg,this.Vb),this.GJ(i.description,this.Li,s)},i.prototype.GL=function(n){var s=t.la.Uv(n,this.Xe),h=t.la.Qd(this.Cg,s,!0);s=n.F();var r=n.u(),e=this.Xe.u();if(!(e=r||e)){e=new t.g,n.s(e);var a=new t.g;this.Xe.s(a),a.O(2*h,2*h),e=!e.isIntersecting(a);}if(!e)if(4==(a=t.FM.TX(this.Xe,n)))e=!0;else {if(0!=(2&a))return this.Xe;if(0!=(1&a))return n}if(e)return (h=t.R.Se(s))<(e=t.R.Se(this.Hj))?i.rC(n,r):h>e||0==h&&550==s&&33==this.Hj?this.rK():i.rC(n,r);if((-1==this.Li||4==this.Li)&&197==s&&197==this.Hj)return h=this.Xe,s=new t.g,n.s(s),r=new t.g,h.s(r),s.Ia(r),h=new t.Ih,n.copyTo(h),h.mp(s),h;if(197==s&&0==t.R.Se(this.Hj)||197==this.Hj&&0==t.R.Se(s))return r=197==s?n:this.Xe,n=197==s?this.Xe:n,s=new t.g,r.s(s),t.Yd.clip(n,s,h,0);if(0==t.R.Se(s)&&0<t.R.Se(this.Hj)||0<t.R.Se(s)&&0==t.R.Se(this.Hj)){if(h=t.la.Ng(this.Cg,n,!1),550==s||33==s)return t.pg.lH(n,this.Xe,h);if(550==this.Hj||33==this.Hj)return t.pg.lH(this.Xe,n,h);throw t.f.za()}return -1!=this.Li&&2!=this.Li||1607!=s||1736!=this.Hj?-1!=this.Li&&2!=this.Li||1736!=s||1607!=this.Hj?null:this.DL(this.Xe,n):this.DL(n,this.Xe)},i.prototype.DL=function(i,n){var s=i,h=n,r=t.la.Ng(this.Cg,n,!1),e=new t.g;h.s(e);var a=new t.g;s.s(a),a.O(2*r,2*r),e.Ia(a),e.O(10*r,10*r),s=i=t.Yd.clip(i,e,0,0),a=new t.ha(0);var o=-1,u=h.ib;if(null!=u){var f=u.oi;if(null!=f){o=0,a.Db(s.D()+s.$());for(var c=new t.g,l=s.Ba();l.Ta();)for(;l.Aa();){l.aa().s(c);var p=f.rn(c);1==p?a.add(1):0==p?a.add(0):(a.add(-1),o++);}}}if(5<n.D()&&(u=(h=n=t.Yd.clip(n,e,0,0)).ib),0>o&&(o=s.gA()),e=s.D()+h.D(),o*h.D()>Math.log(e)*e*4)return null;e=null,o=h.Ba(),null!=u&&null!=u.Hb&&(e=u.Hb),null==e&&20<h.D()&&(e=t.la.$E(h)),i=i.Ea(),h=null,u=s.Ba(),f=[0,0,0,0,0,0,0,0,0],c=new t.ie(0),l=new t.og,p=-1;for(var b=0,v=0,y=0<a.size,w=-1;u.Ta();){w=u.Pa;var d=0;for(p=-1,b=0;u.Aa();){var g=y?t.L.truncate(a.get(v)):-1;v++;var x=u.aa();if(0>g){if(null!=e)for(null==h?h=e.LS(x,r):h.wn(x,r),g=h.next();-1!=g;g=h.next()){o.Rb(e.ga(g)),g=o.aa();var m=x.Ia(g,null,f,null,r);for(g=0;g<m;g++)c.add(f[g]);}else for(o.ej();o.Ta();)for(;o.Aa();)for(g=o.aa(),m=x.Ia(g,null,f,null,r),g=0;g<m;g++)c.add(f[g]);if(0<c.size){c.Zd(0,c.size,(function(t,i){return t-i}));var j=0;c.add(1),m=-1,g=0;for(var M=c.size;g<M;g++){var k=c.get(g);if(k!=j){var z=!1;if(0!=j||1!=k?(x.jh(j,k,l),j=l.get()):(j=x,z=!0),2<=d){if(i.ds(s,w,p,b,3==d),1!=this.CE(n,j.ac(),r)&&1!=this.DE(n,j,r))return null;i.$b(j,!1),d=1,b=0;}else switch(m=this.DE(n,j,r),m){case 1:z?2>d?(p=u.wb()-s.ua(w),b=1,d=0==d?3:2):b++:(i.$b(j,0==d),d=1);break;case 0:d=0,p=-1,b=0;break;default:return null}j=k;}}}else {if(0>(g=this.CE(n,x.ac(),r)))return null;1==g?(2>d&&(p=u.wb()-s.ua(w),d=0==d?3:2),b++):(p=-1,b=0);}c.clear(!1);}else 0!=g&&1==g&&(0==d?(d=3,p=u.wb()-s.ua(w)):1==d?(d=2,p=u.wb()-s.ua(w)):b++);}2<=d&&(i.ds(s,w,p,b,3==d),p=-1);}return i},i.prototype.CE=function(i,n,s){return t.Oe.Jm(i,n,s)},i.prototype.DE=function(i,n,s){var h=n.ac();n=n.wc();var r=t.Oe.Jm(i,h,s),e=t.Oe.Jm(i,n,s);return 1==r&&0==e||0==r&&1==e?-1:0==r||0==e?0:1==r||1==e?1:((r=new t.b).add(h,n),r.scale(.5),0==(i=t.Oe.Jm(i,r,s))?0:1==i?1:-1)},i.rC=function(t,i){return i?t:t.Ea()},i.prototype.rK=function(){return null==this.lI&&(this.lI=this.Xe.Ea()),this.lI},i.prototype.xe=function(){},i}();t.oD=i;}(W||(W={})),function(t){var i=function(i){function n(){return null!==i&&i.apply(this,arguments)||this}return Z(n,i),n.prototype.F=function(){return 28},n.local=function(){return null===n.instance&&(n.instance=new n),n.instance},n.prototype.U=function(i,n,s,h,r,e,a){return i instanceof t.R?(i=new t.$c(i),this.U(i,n,s,h,r,e,a).next()):new t.GM(i,n,s,h,r,e,a)},n.instance=null,n}(t.Ne);t.pD=i;}(W||(W={})),function(t){var i=function(){function i(t,i,n,s,h,r,e){this.ya=-1,this.Vd=t,this.Oj=i,this.La=n,this.Qi=s,this.lB=h,this.hI=r,this.nd=e;}return i.prototype.next=function(){var t=this.Vd.next();return null!=t?(this.ya=this.Vd.Fa(),this.tM(t)):null},i.prototype.Fa=function(){return this.ya},i.prototype.tM=function(i){var n=0>=this.hI?t.la.Ng(this.Oj,i,!1):this.hI;return t.RL.U(i,this.La,this.Qi,this.lB,n,this.nd)},i.prototype.xe=function(){},i}();t.GM=i;}(W||(W={})),function(t){var i;(i=t.yp||(t.yp={}))[i.clipToDomainOnly=1]="clipToDomainOnly",i[i.clipWithHorizon=2]="clipWithHorizon",i[i.foldAndClipWithHorizon=3]="foldAndClipWithHorizon";var n=function(i){function n(){return null!==i&&i.apply(this,arguments)||this}return Z(n,i),n.prototype.F=function(){return 0},n.local=function(){return null===n.instance&&(n.instance=new n),n.instance},n.prototype.U=function(i,n,s){return i instanceof t.R?(i=new t.$c(i),this.U(i,n,s).next()):new t.HM(i,n,s)},n.prototype.transform=function(i,n,s,h){return t.Bp.transform(i,n,s,h,!0)},n.prototype.BL=function(i,n,s){return t.Bp.BL(i,n,s)},n.prototype.zu=function(i,n,s,h){return t.Bp.zu(i,n,s,h)},n.prototype.KZ=function(i,n,s,h){return t.Bp.Kr(i,n,s,h)},n.instance=null,n}(t.Ne);t.Rr=n;}(W||(W={})),function(t){var i=function(){function i(t,i,n){this.ya=-1,this.Vd=t,this.eV=i,this.nd=n;}return i.prototype.next=function(){var i=this.Vd.next();return null!=i?(this.ya=this.Vd.Fa(),t.Bp.$g(i,this.eV,this.nd)):null},i.prototype.Fa=function(){return this.ya},i.prototype.xe=function(){},i}();t.HM=i;}(W||(W={})),function(t){var i=function(){function i(){}return i.prototype.reset=function(){this.vh=this.Ek=-1,this.ct=this.Dq=!1;},i.prototype.MR=function(t,i,n){for(t.Rb(i,n);t.Aa();){var s=t.aa();if(0!=(s=s.Pb()))return t.wb()}for(t.Rb(i,n);t.mA();)if(0!=(s=(s=t.ti()).Pb()))return t.wb();return -1},i.prototype.NR=function(t,i){for(t.Rb(i,-1);t.mA();)if(0!=t.ti().Pb())return t.wb();return -1},i.prototype.LR=function(t,i){for(t.Rb(i,-1),t.aa();t.Aa();)if(0!=t.aa().Pb())return t.wb();return -1},i.prototype.KR=function(i,n,s,h){if(this.Ek=this.MR(n,s,h),-1!=this.Ek){n.Rb(this.Ek,-1);var r=n.aa(),e=r.cc(r.ae(i,!1));if(s=t.b.oc(e,i),(h=new t.b).K(e),h.sub(r.ac()),(e=new t.b).K(i),e.sub(r.ac()),this.Dq=0>h.Di(e),this.vh=this.LR(n,this.Ek),-1!=this.vh){n.Rb(this.vh,-1);var a=(r=n.aa()).ae(i,!1);a=r.cc(a);var o=t.b.oc(a,i);o>s?this.vh=-1:(h.K(a),h.sub(r.ac()),e.K(i),e.sub(r.ac()),this.ct=0>h.Di(e));}-1==this.vh&&(this.vh=this.NR(n,this.Ek),-1!=this.vh&&(n.Rb(this.vh,-1),a=(r=n.aa()).ae(i,!1),a=r.cc(a),(o=t.b.oc(a,i))>s?this.vh=-1:(h.K(a),h.sub(r.ac()),e.K(i),e.sub(r.ac()),this.ct=0>h.Di(e),i=this.Ek,this.Ek=this.vh,this.vh=i,i=this.Dq,this.Dq=this.ct,this.ct=i)));}},i.prototype.lP=function(t,i,n,s,h){return n=n.Ba(),this.KR(t,n,s,h),-1!=this.Ek&&-1==this.vh?this.Dq:-1!=this.Ek&&-1!=this.vh?this.Dq==this.ct?this.Dq:(n.Rb(this.Ek,-1),t=n.aa().qg(),n.Rb(this.vh,-1),i=n.aa().qg(),0<=t.Di(i)):i},i}(),n=function(n){function s(){return null!==n&&n.apply(this,arguments)||this}return Z(s,n),s.local=function(){return null===s.instance&&(s.instance=new s),s.instance},s.prototype.F=function(){return 3},s.prototype.Xz=function(i,n,s){var h;if(void 0===h&&(h=!1),i.u())return new t.lm;n=n.w();var r=i,e=i.F();switch(197==e&&((r=new t.Ga).bd(i,!1),e=1736),e){case 33:return this.oJ(r,n);case 550:return this.ZI(r,n);case 1607:case 1736:return this.vV(r,n,s,h);default:throw t.f.Y("not implemented")}},s.prototype.Yz=function(i,n){if(i.u())return new t.lm;n=n.w();var s=i,h=i.F();switch(197==h&&((s=new t.Ga).bd(i,!1),h=1736),h){case 33:return this.oJ(s,n);case 550:case 1607:case 1736:return this.ZI(s,n);default:throw t.f.Y("not implemented")}},s.prototype.Zz=function(i,n,s,h){if(0>h)throw t.f.I();if(i.u())return [];n=n.w();var r=i,e=i.F();switch(197==e&&((r=new t.Ga).bd(i,!1),e=1736),e){case 33:return this.kW(r,n,s,h);case 550:case 1607:case 1736:return this.NV(r,n,s,h);default:throw t.f.Y("not implemented")}},s.prototype.vV=function(n,s,h,r){if(1736==n.F()&&h&&(h=new t.g,n.s(h),h=t.la.Qd(null,h,!1),0!=(r?t.Zc.Td(n,s,0):t.Zc.Td(n,s,h)))){var e=new t.lm(s,0,0);return r&&e.$K(!0),e}var a=n.Ba();e=new t.b;for(var o=h=-1,u=17976931348623157e292,f=0;a.Ta();)for(;a.Aa();){var c=a.aa();c=c.cc(c.ae(s,!1));var l=t.b.oc(c,s);l<u?(f=1,e=c,h=a.wb(),o=a.Pa,u=l):l==u&&f++;}return e=new t.lm(e,h,Math.sqrt(u)),r&&(a.Rb(h,o),c=a.aa(),r=0>t.b.fp(s,c.ac(),c.wc()),1<f&&((f=new i).reset(),r=f.lP(s,r,n,h,o)),e.$K(r)),e},s.prototype.oJ=function(i,n){return i=i.w(),n=t.b.vb(i,n),new t.lm(i,0,n)},s.prototype.ZI=function(i,n){for(var s=i.Va(0),h=i.D(),r=i=0,e=0,a=17976931348623157e292,o=0;o<h;o++){var u=new t.b;s.mc(2*o,u);var f=t.b.oc(u,n);f<a&&(r=u.x,e=u.y,i=o,a=f);}return (n=new t.lm).Jy(r,e,i,Math.sqrt(a)),n},s.prototype.kW=function(i,n,s,h){return 0==h?[]:(s*=s,i=i.w(),(n=t.b.oc(i,n))<=s?(s=[],(h=new t.lm).Jy(i.x,i.y,0,Math.sqrt(n)),s[0]=h):s=[],s)},s.prototype.NV=function(i,n,s,h){if(0==h)return [];var r=i.Va(0),e=i.D();i=[],s*=s;for(var a=0;a<e;a++){var o=r.read(2*a),u=r.read(2*a+1),f=n.x-o,c=n.y-u;(f=f*f+c*c)<=s&&((c=new t.lm).Jy(o,u,a,Math.sqrt(f)),i.push(c));}return n=i.length,i.sort((function(t,i){return t.La<i.La?-1:t.La==i.La?0:1})),h>=n||(i.length=h),i.slice(0)},s.instance=null,s}(t.Ne);t.my=n;}(W||(W={})),function(t){var i=function(i){function n(){return null!==i&&i.apply(this,arguments)||this}return Z(n,i),n.prototype.F=function(){return 4},n.prototype.U=function(i,n,s,h,r){return t.mm.hC(i,n,s,h,r)},n.local=function(){return null===n.instance&&(n.instance=new n),n.instance},n.prototype.qv=function(i){return t.Du.bz(i)},n.prototype.Pn=function(i,n,s){t.Du.oE(i,n,s);},n.instance=null,n}(t.Ne);t.IM=i;}(W||(W={})),function(t){var i=function(i){function n(){return null!==i&&i.apply(this,arguments)||this}return Z(n,i),n.prototype.F=function(){return 33},n.prototype.U=function(i,n,s,h,r){return 1073741824===i?!t.wd.iC(n,s,h,4,r):t.wd.iC(n,s,h,i,r)},n.local=function(){return null===n.instance&&(n.instance=new n),n.instance},n.prototype.qv=function(i){return t.Du.bz(i)},n.prototype.Pn=function(i,n,s){t.Du.oE(i,n,s);},n.instance=null,n}(t.Ne);t.kj=i;}(W||(W={})),function(t){var i=function(){function i(i,n,s,h){if(this.nd=h,this.MU=s,this.ya=-1,null==i)throw t.f.I();this.Fk=i,this.Oj=n;}return i.prototype.next=function(){var i;if(null!=(i=this.Fk.next())){if(this.ya=this.Fk.Fa(),null!=this.nd&&!this.nd.progress(-1,-1))throw t.f.Mu("user_canceled");return this.MC(i)}return null},i.prototype.Fa=function(){return this.ya},i.prototype.MC=function(i){if(null==i)throw t.f.I();return t.ny.gL(i,this.Oj,this.MU,this.nd)},i.prototype.xe=function(){},i}();t.JM=i;}(W||(W={})),function(t){var i=function(i){function n(){return null!==i&&i.apply(this,arguments)||this}return Z(n,i),n.prototype.F=function(){return 26},n.prototype.U=function(i,n,s,h){return i instanceof t.R?(i=new t.$c(i),this.U(i,n,s,h).next()):new t.JM(i,n,s,h)},n.prototype.zq=function(i,n,s,h,r){return 0<(void 0!==h?t.ny.zq(i,n,s,h,r):t.ny.zq(i,n,!1,null,s))},n.local=function(){return null===n.instance&&(n.instance=new n),n.instance},n.instance=null,n}(t.Ne);t.jm=i;}(W||(W={})),function(t){var i=function(){function t(){this.Rq=0;}return t.prototype.QY=function(t){this.Rq&=-2,this.Rq|=t?1:0;},t.prototype.oq=function(){return 0!=(1&this.Rq)},t.prototype.IG=function(){return this.oq()?0:1},t}();t.d_=i;var n=function(){},s=function(t,i,n,s){this.x=t,this.y=i,this.Hi=n,this.Km=s;},h=function(){function t(t){this.Ie=t;}return t.prototype.compare=function(t,i,n){return t=t.ga(n),i=this.Ie.vf.read(2*i),0>(i-=t=this.Ie.vf.read(2*t))?-1:0<i?1:0},t}(),r=function(){function t(t){this.Ie=t;}return t.prototype.compare=function(t,i,n){i=this.Ie.eb[i],t=this.Ie.eb[t.ga(n)];var s=i.oq(),h=t.oq();n=i.ue.Te(this.Ie.cp,0);var r=t.ue.Te(this.Ie.cp,0);return n==r&&((s=.5*((n=Math.min(s?i.ue.na:i.ue.ma,h?t.ue.na:t.ue.ma))-this.Ie.cp)+this.Ie.cp)==this.Ie.cp&&(s=n),n=i.ue.Te(s,0),r=t.ue.Te(s,0)),n<r?-1:n>r?1:0},t}(),e=function(){function i(i,n){this.PJ=new t.b,this.parent=i,this.yT=n;}return i.prototype.Lr=function(t,i,n){var s=this.parent,h=this.yT;n.Zd(t,i,(function(t,i){return s.Qh(t,i,h)}));},i.prototype.sq=function(t){return t=this.parent.ni.get(t),this.parent.vf.mc(2*(t>>1),this.PJ),this.PJ.y+(0!=(1&t)?this.parent.Qj:-this.parent.Qj)},i}(),a=function(){function a(i,n,s,h,r){this.aI=i.description,this.W=i,this.Wg=n,this.Qj=t.la.Ng(this.Wg,i,!1),this.Vo=t.la.Ng(this.Wg,i,!0),this.gB=s,this.KU=this.aI.Ca,this.eb=[],this.Io=[],this.sh=new t.Ap,this.cb=new t.bk,this.fe=new t.Od,this.MH=this.yl=r;}return a.prototype.BA=function(){return this.MH=!0,(!t.R.Bc(this.W.F())||this.qF()&&this.nF(!1))&&this.wP()?t.R.Bc(this.W.F())?this.zP()?1607==this.W.F()?this.BP()?2:0:this.CP()?this.DP():0:0:2:0},a.prototype.TC=function(i,n){var s=this.vf.read(2*i);i=this.vf.read(2*i+1);var h=this.vf.read(2*n);n=this.vf.read(2*n+1);var r=!t.Fu.jw(s,i,h,n,this.Qj*this.Qj);return r||0!=this.W.pb()&&(s==h&&i==n)},a.prototype.qF=function(){for(var i=this.W,n=i.Gf?3:2,s=0,h=i.$();s<h;s++)if(i.Ha(s)<n)return this.fe=new t.Od(1,s,0),!1;return !0},a.prototype.nF=function(i){var n=this.W,s=n.Ba(),h=n.hasAttribute(1);for(n=h?t.la.hF(this.Wg,n,!1):0;s.Ta();)for(;s.Aa();){var r=s.aa();if(!(r.Pb()>this.Qj)){if(i&&h){var e=r.Ks(1,0);if(r=r.Ks(1,0),Math.abs(r-e)>n)continue}return this.fe=new t.Od(2,s.wb(),-1),!1}}return !0},a.prototype.wP=function(){var i=this.W,n=null;t.R.Bc(this.W.F())&&(n=this.W);var s=(this.MH||this.yl)&&null!=n,r=i.D();this.vf=i.Va(0),this.ni=new t.ha(0),this.ni.Db(2*r),this.mi=new t.ha(0),this.mi.Db(2*r),s&&(null==this.Nl&&(this.Nl=new t.ha(0)),this.Nl.Db(r));for(var a=i=0;a<r;a++)if(this.ni.add(2*a),this.ni.add(2*a+1),this.mi.add(2*a),this.mi.add(2*a+1),s){for(;a>=n.zc(i);)i++;this.Nl.add(i);}for((new t.Eu).sort(this.mi,0,2*r,new e(this,s)),this.cb.clear(),this.cb.kp(new h(this)),this.cb.Le(r),n=0,r*=2;n<r;n++)if(s=this.mi.get(n),s=(i=this.ni.get(s))>>1,0==(1&i)){if(i=this.cb.addElement(s,-1),-1!=(a=this.cb.Be(i))&&!this.TC(this.cb.ga(a),s))return this.fe=new t.Od(3,s,this.cb.ga(a)),!1;var o=this.cb.hb(i);if(-1!=o&&!this.TC(this.cb.ga(o),s))return this.fe=new t.Od(3,s,this.cb.ga(o)),!1}else if(i=this.cb.search(s,-1),a=this.cb.Be(i),o=this.cb.hb(i),this.cb.zd(i,-1),-1!=a&&-1!=o&&!this.TC(this.cb.ga(a),this.cb.ga(o)))return this.fe=new t.Od(3,this.cb.ga(a),this.cb.ga(o)),!1;return !0},a.prototype.zP=function(){return 10>this.W.D()?this.xP():this.yP()},a.prototype.yP=function(){var i=new t.Yc;i.Bb(this.W);var n=new t.Od;return !t.Hu.$I(!1,i,this.Qj,n,this.nd)||(n.Ql=i.Ua(n.Ql),n.Rl=i.Ua(n.Rl),this.fe.Or(n),!1)},a.prototype.xP=function(){var i=this.W,n=i.Ba();for(i=i.Ba();n.Ta();)for(;n.Aa();){var s=n.aa();if(!n.ko()||!n.uU()){i.gY(n);do{for(;i.Aa();){var h=i.aa();if(0!=(h=s.Zr(h,this.Qj,!0)))return this.fe=new t.Od(2==h?5:4,n.wb(),i.wb()),!1}}while(i.Ta())}}return !0},a.prototype.CP=function(){var i=this.W;this.eb.length=0,this.Io.length=0,this.fg=i.Ba(),this.fg.tC();var n=new t.ha(0);n.Db(10);var s=NaN,h=0,r=0;for(i=2*i.D();r<i;r++){var e=this.mi.get(r);if(0==(1&(e=this.ni.get(e)))){e>>=1;var a=this.vf.read(2*e),o=this.vf.read(2*e+1);if(0!=n.size&&(a!=s||o!=h)){if(!this.HJ(n))return !1;null!=n&&n.clear(!1);}n.add(e),s=a,h=o;}}return !!this.HJ(n)},a.prototype.BP=function(){for(var i=this.W,s=Array(i.$()),h=0,r=i.$();h<r;h++)s[h]=i.ho(h);r=new n;var e=new t.b;h=this.mi.get(0);var a=(h=this.ni.get(h))>>1;this.vf.mc(2*a,e);var o=s[h=this.Nl.get(a)],u=i.ua(h),f=i.zc(h)-1;r.kl=a==u||a==f,r.Ty=this.yl?!o&&r.kl:r.kl,r.Hi=h,r.x=e.x,r.y=e.y,r.Km=a;for(var c=new n,l=1,p=this.mi.size;l<p;l++)if(h=this.mi.get(l),0==(1&(h=this.ni.get(h)))){a=h>>1,this.vf.mc(2*a,e),(h=this.Nl.get(a))!=r.Hi&&(o=s[h],u=i.ua(h),f=i.zc(h)-1);var b=a==u||a==f,v=this.yl?!o&&r.kl:r.kl;if(c.x=e.x,c.y=e.y,c.Hi=h,c.Km=a,c.Ty=v,c.kl=b,c.x==r.x&&c.y==r.y)if(this.yl){if(!(c.Ty&&r.Ty||c.Hi==r.Hi&&(c.kl||r.kl)))return this.fe=new t.Od(8,c.Km,r.Km),!1}else if(!c.kl||!r.kl)return this.fe=new t.Od(5,c.Km,r.Km),!1;h=r,r=c,c=h;}return !0},a.prototype.tF=function(){for(var i=this.W,n=[],h=-1,r=!1,e=0,a=i.$();e<a;e++)i.lw(e)&&(r=!1,h++,e<a-1&&(i.lw(e+1)||(r=!0))),n[e]=r?h:-1;r=new t.b,e=this.mi.get(0);var o=(e=this.ni.get(e))>>1;this.vf.mc(2*o,r),e=this.Nl.get(o),h=new s(r.x,r.y,e,o,n[e]),i=[];var u=1;for(a=this.mi.size;u<a;u++)if(e=this.mi.get(u),0==(1&(e=this.ni.get(e)))){if(o=e>>1,this.vf.mc(2*o,r),e=this.Nl.get(o),(e=new s(r.x,r.y,e,o,n[e])).x==h.x&&e.y==h.y){if(e.Hi==h.Hi)return this.fe=new t.Od(9,e.Km,h.Km),!1;0<=n[e.Hi]&&n[e.Hi]==n[h.Hi]&&(0!=i.length&&i[i.length-1]==h||i.push(h),i.push(e));}h=e;}if(0==i.length)return !0;for(e=new t.Ap(!0),t.L.Hv(n,-1),r=-1,(u=new t.b).Tc(),h=0,a=i.length;h<a;h++){(o=i[h]).x==u.x&&o.y==u.y||(r=e.Th(0),u.x=o.x,u.y=o.y);var f=n[o.Hi];-1==f&&(f=e.Th(2),n[o.Hi]=f),e.addElement(f,r),e.addElement(r,f);}for((a=new t.ha(0)).Db(10),h=e.re;-1!=h;h=e.$z(h))if(0==(1&(i=e.BG(h)))&&0!=(2&i)){for(i=-1,a.add(h),a.add(-1);0<a.size;){if(r=a.Gc(),a.Rf(),u=a.Gc(),a.Rf(),0!=(1&(o=e.BG(u)))){i=0==(2&o)?r:u;break}for(e.IY(u,1|o),o=e.sc(u);-1!=o;o=e.hb(o))(f=e.getData(o))!=r&&(a.add(f),a.add(u));}if(-1!=i){for(e=-1,h=0,a=n.length;h<a;h++)if(n[h]==i){e=h;break}return this.fe=new t.Od(10,e,-1),!1}}return !0},a.prototype.DP=function(){var i=this.W;if(0>=i.Pe())return this.fe=new t.Od(6,1==i.$()?1:-1,-1),0;if(1==i.$())return this.yl&&!this.tF()?0:2;this.Mo=t.ha.Af(i.$(),0),this.tB=t.ha.Af(i.$(),-1);for(var n=-1,s=0,h=0,e=i.$();h<e;h++){var a=i.rm(h);if(this.Mo.write(h,0>a?0:256),0<a)n=h,s=a;else {if(0==a)return this.fe=new t.Od(6,h,-1),0;if((0>n||s<Math.abs(a))&&(this.fe=new t.Od(7,h,-1),this.yl))return 0;this.tB.write(h,n);}}for(this.Lt=i.$(),this.an=new t.ha(0),this.an.Db(10),e=i.D(),this.cp=NaN,(i=new t.ha(0)).Db(10),this.jr=t.ha.Af(e,-1),this.nx=t.ha.Af(e,-1),null!=this.Dj?this.Dj.clear(!1):this.Dj=new t.ha(0),this.Dj.Db(10),this.cb.clear(),this.cb.kp(new r(this)),n=0,e*=2;0<this.Lt&&n<e;n++)if(s=this.mi.get(n),0==(1&(s=this.ni.get(s)))){if(s>>=1,(h=this.vf.read(2*s+1))!=this.cp&&0!=i.size){if(!this.cu(i))return 0;null!=i&&i.clear(!1);}i.add(s),this.cp=h;}return 0<this.Lt&&!this.cu(i)?0:this.yl?0==this.fe.pi&&this.tF()?2:0:0==this.fe.pi?2:1},a.prototype.HJ=function(i){if(1==i.size)return !0;for(var n=0,s=i.size;n<s;n++){var h=i.get(n);this.fg.Rb(h);var r=this.fg.ti();this.eb.push(this.Av(r,h,this.fg.Pa,!0)),this.fg.aa(),r=this.fg.aa(),this.eb.push(this.Av(r,h,this.fg.Pa,!1));}var e=this;for(this.eb.sort((function(t,i){return e.hR(t,i)})),-1==(h=this.sh.re)&&(h=this.sh.Th(0)),this.sh.vn(this.eb.length),n=0,s=this.eb.length;n<s;n++)this.sh.addElement(h,n);n=!0;for(var a=s=-1;n&&(n=!1,-1!=(r=this.sh.sc(h)));)for(var o=this.sh.hb(r);-1!=o;)if(s=this.sh.getData(r),a=this.sh.getData(o),(s=this.eb[s].ap)!=(a=this.eb[a].ap))r=o,o=this.sh.hb(r);else if(n=!0,this.sh.jd(h,r),r=this.sh.Be(o),-1==(o=this.sh.jd(h,o))||-1==r)break;if(n=this.sh.Hs(h),this.sh.vF(h),0<n)return this.fe=new t.Od(5,s,a),!1;for(n=0,s=i.size;n<s;n++)this.eC(this.eb[n]);return this.eb.length=0,!0},a.prototype.cu=function(i){for(var n=0,s=i.size;n<s;n++){var h=i.get(n),r=this.jr.read(h);if(-1!=r){var e=this.cb.ga(r);this.Dj.add(e),this.cb.zd(r,-1),this.eC(this.eb[e]),this.eb[e]=null,this.jr.write(h,-1);}-1!=(r=this.nx.read(h))&&(e=this.cb.ga(r),this.Dj.add(e),this.cb.zd(r,-1),this.eC(this.eb[e]),this.eb[e]=null,this.nx.write(h,-1));}for(n=0,s=i.size;n<s;n++){if(h=i.get(n),this.fg.Rb(h),(r=this.fg.ti()).na>r.ma){var a=this.fg.wb(),o=this.Av(r,h,this.fg.Pa,!0);0<this.Dj.size?(e=this.Dj.Gc(),this.Dj.Rf(),this.eb[e]=o):(e=this.eb.length,this.eb.push(o)),r=this.cb.addElement(e,-1),-1==this.jr.read(a)?this.jr.write(a,r):this.nx.write(a,r),0==(3&this.Mo.read(this.fg.Pa))&&this.an.add(r);}this.fg.aa(),(r=this.fg.aa()).na<r.ma&&(a=this.fg.nk(),o=this.Av(r,h,this.fg.Pa,!1),0<this.Dj.size?(e=this.Dj.Gc(),this.Dj.Rf(),this.eb[e]=o):(e=this.eb.length,this.eb.push(o)),r=this.cb.addElement(e,-1),-1==this.jr.read(a)?this.jr.write(a,r):this.nx.write(a,r),0==(3&this.Mo.read(this.fg.Pa))&&this.an.add(r));}for(n=0,s=this.an.size;n<s&&0<this.Lt;n++)if(r=this.an.get(n),0==(3&this.Mo.read(this.eb[this.cb.ga(r)].sB))){i=-1,h=this.cb.Be(r);var u=r;o=null,e=-1;for(var f=0;-1!=h&&(e=this.cb.ga(h),e=(o=this.eb[e]).sB,0==(3&(f=this.Mo.read(e))));)u=h,h=this.cb.Be(h);-1==h?(a=1,h=u):(i=1==(3&f)?e:this.tB.read(e),a=0!=o.IG()?0:1,h=this.cb.hb(h));do{if(e=this.cb.ga(h),e=(o=this.eb[e]).sB,0==(3&(u=this.Mo.read(e)))){if(a!=o.IG())return this.fe=new t.Od(6,e,-1),!1;if(u=252&u|(f=0==a||o.oq()?2:1),this.Mo.write(e,f),2==f&&0==this.fe.pi&&this.tB.read(e)!=i&&(this.fe=new t.Od(7,e,-1),this.yl))return !1;if(this.Lt--,0==this.Lt)return !0}1==(3&u)&&(i=e),u=h,h=this.cb.hb(h),a=0!=a?0:1;}while(u!=r)}return null!=this.an?this.an.clear(!1):this.an=new t.ha(0),!0},a.prototype.Av=function(i,n,s,h){if(322!=i.F())throw t.f.za();return (i=this.DQ(i)).ap=n,i.sB=s,i.Rq=0,i.QY(h),i},a.prototype.DQ=function(n){if(0<this.Io.length){var s=this.Io[this.Io.length-1];--this.Io.length,n.copyTo(s.ue);}else (s=new i).ue=t.zD.$d(n);return s},a.prototype.eC=function(t){322==t.ue.F()&&this.Io.push(t);},a.prototype.EV=function(){for(var i=this.W.D(),n=new t.ha(0),s=0;s<i;s++)n.add(s);var h=this;for(n.Zd(0,i,(function(t,i){return h.wv(t,i)})),s=1;s<i;s++)if(0==this.wv(n.get(s-1),n.get(s)))return this.fe=new t.Od(3,n.get(s-1),n.get(s)),0;return 2},a.prototype.bX=function(){return this.qF()&&this.nF(!0)?2:0},a.prototype.HW=function(){return this.BA()},a.prototype.JV=function(){for(var i=this.W.D(),n=new t.ha(0),s=0;s<i;s++)n.add(s);var h=this;n.Zd(0,i,(function(t,i){return h.ZP(t,i)}));var r=Array(i);for(t.L.Hv(r,!1),r[n.get(0)]=!0,s=1;s<i;s++){var e=n.get(s-1),a=n.get(s);0==this.wv(e,a)?r[a]=!1:r[a]=!0;}n=this.W.Ea(),e=this.W,a=0;var o=1;for(s=0;s<i;s++)r[s]?o=s+1:(a<o&&n.yd(e,a,o),a=s+1);return a<o&&n.yd(e,a,o),n.Jg(2,this.Vo),n},a.prototype.fX=function(){var i=this.W,n=i.Ba(),s=i.Ba(),h=this.W.Ea(),r=this.W,e=i.hasAttribute(1),a=e?t.la.hF(this.Wg,i,!0):0,o=new t.ha(0),u=new t.ha(0);for(o.Db(t.L.truncate(i.D()/2+1)),u.Db(t.L.truncate(i.D()/2+1));n.Ta();)if(s.Ta(),!(2>i.Ha(n.Pa))){s.iY();for(var f,c,l=!0;n.Aa();){var p=n.aa(),b=s.ti();if(n.wb()>s.wb())break;l&&(o.add(n.wb()),u.add(s.nk()),l=!1),c=o.Gc();var v=n.nk();if(1<v-c){var y=new t.b;y.tc(i.xa(c),i.xa(v)),f=y.length();}else f=p.Pb();c=u.Gc(),1<(v=s.wb())-c?((y=new t.b).tc(i.xa(c),i.xa(v)),c=y.length()):c=b.Pb(),f>this.Vo?o.add(n.nk()):e&&(f=i.Rc(1,o.Gc(),0),p=p.us(1,0),Math.abs(p-f)>a&&o.add(n.nk())),c>this.Vo?u.add(s.wb()):e&&(f=i.Rc(1,u.Gc(),0),p=b.us(1,0),Math.abs(p-f)>a&&u.add(s.wb()));}if(o.Gc()<u.Gc()?o.size>u.size?o.Rf():u.Rf():(o.Gc()!=u.Gc()&&u.Rf(),u.Rf()),2<=u.size+o.size){for(l=new t.Ra,b=0,p=o.size;b<p;b++)r.ne(o.get(b),l),0==b?h.xf(l):h.lineTo(l);for(b=u.size-1;0<b;b--)r.ne(u.get(b),l),h.lineTo(l);r.Lb(n.Pa)?h.Up():0<u.size&&(r.ne(u.get(0),l),h.lineTo(l));}null!=o&&o.clear(!1),null!=u&&u.clear(!1);}return h.Jg(2,this.Vo),h},a.prototype.KW=function(){return this.gZ()},a.prototype.gZ=function(){return 1736==this.W.F()&&1==this.W.$n()?t.pg.Tk(this.W,this.Vo,!0,!1,this.nd):(this.Ni=new t.Yc,this.Ni.Bb(this.W),0!=this.Ni.hd&&(1!=this.gB&&t.$j.U(this.Ni,this.Vo,this.nd,!0),1736==this.W.F()&&t.Kn.U(this.Ni,this.Ni.ld,this.gB,!1,this.nd)),this.W=this.Ni.ye(this.Ni.ld),1736==this.W.F()&&(this.W.cl(),this.W.np(0)),this.W.Jg(2,this.Vo),this.W)},a.p0=function(i,n,s,h){if(i.u())return 1;var r=i.F();if(33==r)return 1;if(197==r)return h=new t.g,i.s(h),h.Qg(t.la.Ng(n,i,!1))?0:1;if(t.R.Ic(r))throw t.f.za();if(!t.R.Rg(r))throw t.f.za();r=t.la.Ng(n,i,!1);var e=i.rk(r);return -1!=(s=s?-1:e)||(1==s&&(r=0),s=new a(i,n,s,h,!1).BA(),i.Jg(s,r)),s},a.zq=function(i,n,s,h,r){if(null!=h&&(h.pi=0,h.Ql=-1,h.Rl=-1),i.u())return 1;var e=i.F();if(33==e)return 1;var o=t.la.Ng(n,i,!1);if(197==e)return n=new t.g,i.s(n),n.Qg(o)?(null!=h&&(h.pi=2,h.Ql=-1,h.Rl=-1),0):1;if(t.R.Ic(e))return (o=new t.Oa(i.description)).$b(i,!0),a.zq(o,n,s,h,r);var u=i.rk(o);if(-1!=(s=s?-1:u))return s;if(n=new a(i,n,s,r,!1),550==e)s=n.EV();else if(1607==e)s=n.bX();else {if(1736!=e)throw t.f.za();s=n.HW();}return i.Jg(s,o),null!=h&&0==s&&h.Or(n.fe),s},a.o0=function(i,n,s,h,r){if(null!=h&&(h.pi=0,h.Ql=-1,h.Rl=-1),i.u())return 1;var e=i.F();if(33==e)return 1;var o=t.la.Ng(n,i,!1);if(197==e)return n=new t.g,i.s(n),n.Qg(o)?(null!=h&&(h.pi=2,h.Ql=-1,h.Rl=-1),0):1;if(t.R.Ic(e))return (e=new t.Oa(i.description)).$b(i,!0),a.zq(e,n,s,h,r);if(i=new a(i,n,-1,r,!0),550!=e&&1607!=e&&1736!=e)throw t.f.za();return n=i.BA(),null!=h&&h.Or(i.fe),n},a.gL=function(i,n,s,h){if(i.u())return i;var r=i.F();if(33==r)return i;var e=t.la.Ng(n,i,!1);if(197==r)return n=new t.g,i.s(n),n.Qg(e)?i.Ea():i;if(t.R.Ic(r))return (r=new t.Oa(i.description)).$b(i,!0),a.gL(r,n,s,h);if(e=i.rk(e),2==(s=s?-1:e))return i;if(i=new a(i,n,s,h,!1),550==r)i=i.JV();else if(1607==r)i=i.fX();else {if(1736!=r)throw t.f.za();i=i.KW();}return i},a.NC=function(i,n,s,h){if(i.u())return i;var r=i.F();if(33==r)return i;var e=t.la.Ng(n,i,!1);if(197==r)return n=new t.g,i.s(n),n.Qg(e)?i.Ea():i;if(t.R.Ic(r))return (e=new t.Oa(i.description)).$b(i,!0),a.NC(e,n,s,h);if(!t.R.Rg(r))throw t.f.Y("OGC simplify is not implemented for this geometry type "+r);return t.pg.NC(i,e,!1,h)},a.prototype.Qh=function(i,n,s){if(i==n)return 0;i=this.ni.get(i);var h=this.ni.get(n);n=i>>1;var r=h>>1,e=new t.b,a=new t.b;return this.vf.mc(2*n,e),e.y+=0!=(1&i)?this.Qj:-this.Qj,this.vf.mc(2*r,a),a.y+=0!=(1&h)?this.Qj:-this.Qj,0==(i=e.compare(a))&&s?0>(s=this.Nl.get(n)-this.Nl.get(r))?-1:0<s?1:0:i},a.prototype.wv=function(i,n){if(i==n)return 0;var s=this.W,h=s.xa(i),r=s.xa(n);if(h.x<r.x)return -1;if(h.x>r.x)return 1;if(h.y<r.y)return -1;if(h.y>r.y)return 1;for(h=1;h<this.KU;h++){r=this.aI.kd(h);for(var e=t.oa.Sa(r),a=0;a<e;a++){var o=s.Rc(r,i,a),u=s.Rc(r,n,a);if(o<u)return -1;if(o>u)return 1}}return 0},a.prototype.ZP=function(t,i){var n=this.wv(t,i);return 0==n?t<i?-1:1:n},a.prototype.hR=function(t,i){if(t===i)return 0;var n=t.ue.qg();t.oq()&&n.lr(),t=i.ue.qg(),i.oq()&&t.lr(),i=n.Xu();var s=t.Xu();return s==i?(i=n.Di(t),Math.abs(i)<=8881784197001252e-31*(Math.abs(t.x*n.y)+Math.abs(t.y*n.x))&&(i--,i++),0>i?1:0<i?-1:0):i<s?-1:1},a}();t.ny=a;}(W||(W={})),function(t){var i=function(i){function n(){return null!==i&&i.apply(this,arguments)||this}return Z(n,i),n.prototype.F=function(){return 30},n.local=function(){return null===n.instance&&(n.instance=new n),n.instance},n.prototype.U=function(i,n,s,h){return i instanceof t.R?(i=new t.$c(i),n=new t.$c(n),this.U(i,n,s,h).next()):new t.KM(i,n,s,h)},n.tp=function(i,s,h,r){var e=i.pb(),a=s.pb();if(i.u()&&s.u())return e>a?i:s;if(i.u())return s;if(s.u())return i;var o=new t.g,u=new t.g,f=new t.g;return i.s(o),s.s(u),f.H(o),f.Nb(u),o=t.la.Qd(h,f,!0),u=i.F(),f=s.F(),33==u&&33==f?n.sW(i,s,o):u!=f?0<e||0<a?e>a?i:s:550==u?n.YI(i,s,o):n.YI(s,i,o):t.pg.tp(i,s,h,r)},n.sW=function(i,n,s){s=s*Math.sqrt(2)*1.00001,s*=s;var h=i.w(),r=n.w(),e=new t.Hd(i.description);return t.b.oc(h,r)>s&&(e.add(i),e.add(n)),e},n.YI=function(i,n,s){var h=i.Va(0),r=i.D(),e=n.w(),a=i.Ea();s=s*Math.sqrt(2)*1.00001;var o=new t.g;if(i.s(o),o.O(s,s),o.contains(e)){s*=s,o=!1;for(var u=[],f=0;f<r;f++)u[f]=!1;for(f=0;f<r;f++){var c=h.read(2*f),l=h.read(2*f+1);(c-=e.x)*c+(l-=e.y)*l<=s&&(o=!0,u[f]=!0);}if(o)for(f=0;f<r;f++)u[f]||a.yd(i,f,f+1);else a.yd(i,0,r),a.add(n);}else a.yd(i,0,r),a.add(n);return a},n.instance=null,n}(t.Ne);t.oy=i;}(W||(W={})),function(t){var i=function(){function i(t,i,n,s){this.at=null==i,this.ya=-1,this.Vd=t,this.Cg=n,this.fV=i.next(),this.Vb=s;}return i.prototype.next=function(){return this.at?null:null!=(i=this.Vd.next())?(this.ya=this.Vd.Fa(),t.oy.tp(i,this.fV,this.Cg,this.Vb)):null;var i;},i.prototype.Fa=function(){return this.ya},i.prototype.xe=function(){},i}();t.KM=i;}(W||(W={})),function(t){var i=function(){function t(){}return t.prototype.nA=function(){this.Fz=null,this.fy=-1,this.HL=!1;},t}(),n=function(){function t(){this.gs=0,this.uj=[];}return t.prototype.AO=function(t){this.gs+=t.fy,this.uj.push(t);},t.prototype.lX=function(){this.gs-=this.uj[this.uj.length-1].fy,--this.uj.length;},t.prototype.Sy=function(){return this.uj[this.uj.length-1]},t.prototype.Ib=function(t){return t===this},t}(),s=function(){function s(t,i,n){this.ya=-1,this.Jc=!1,this.qI=[!1,!1,!1,!1],this.Nq=[0,0,0,0],this.VA=!1,this.Hk=-1,this.Bq=0,this.vo=-1,this.Xo=[],this.Vd=t,this.Cg=i,this.Vb=n;}return s.QE=function(t){var i=[],n=0;for(t=Object.keys(t);n<t.length;n++)i.push(Number(t[n]));return i.sort((function(t,i){return t-i})),i},s.prototype.SG=function(i){var n=this.Xo[i],h=s.QE(n)[0],r=n[h],e=r.Sy().Fz;return r=r.Sy().HL,delete n[h],r&&(e=t.jm.local().U(e,this.Cg,!1,this.Vb),0==i&&33==e.F()&&(i=new t.Hd(e.description),e.u()||i.add(e),e=i)),e},s.prototype.next=function(){if(this.Jc&&this.vo==this.Hk)return null;for(;!this.wL(););if(-1==this.Hk)return null;if(this.VA){for(this.vo++;;){if(this.vo>this.Hk||0>this.vo)throw t.f.za();if(this.qI[this.vo])break}return this.ya++,this.SG(this.vo)}return this.ya=0,this.vo=this.Hk,this.SG(this.Hk)},s.prototype.Fa=function(){return this.ya},s.prototype.wL=function(){if(this.Jc)return !0;var i=null;if(null!=this.Vd&&(null==(i=this.Vd.next())&&(this.Jc=!0,this.Vd=null)),t.Ep.Sp(this.Vb),null!=i){var n=i.pb();this.qI[n]=!0,n>=this.Hk&&!this.VA&&(this.zE(n,!1,i),n>this.Hk&&!this.VA&&this.eY(n));}if(0<this.Bq)for(n=0;n<=this.Hk;n++)for(;1<this.Nq[n]&&0!=(i=this.PP(n)).length;)i=t.pg.fR(i,this.Cg,this.Vb),this.zE(n,!0,i);return this.Jc},s.prototype.PP=function(t){for(var i=[],n=[],h=this.Xo[t],r=s.QE(h),e=0;e<r.length;e++){var a=r[e],o=h[a];if(this.Jc||1e4<o.gs&&1<o.uj.length){for(this.Nq[t]-=o.uj.length,this.Bq-=o.uj.length;0<o.uj.length;)i.push(o.Sy().Fz),o.lX();n.push(a);}}for(e=0;e<n.length;e++)delete h[n[e]];return i},s.prototype.eY=function(t){for(var i=0;i<t;i++)this.Xo[i]=[],this.Bq-=this.Nq[i],this.Nq[i]=0;},s.prototype.zE=function(t,h,r){var e=new i;if(e.nA(),e.Fz=r,r=s.zT(r),e.fy=r,r=s.xT(r),t+1>this.Xo.length)for(var a=0,o=Math.max(2,t+1);a<o;a++)this.Xo.push([]);void 0===(a=this.Xo[t][r])&&(a=new n,this.Xo[t][r]=a),e.HL=h,a.AO(e),this.Nq[t]++,this.Bq++,this.Hk=Math.max(this.Hk,t);},s.xT=function(i){return 0<i?t.L.truncate(Math.log(i)/Math.log(4)+.5):0},s.zT=function(i){var n=i.F();if(t.R.Rg(n))return i.D();if(33==n)return 1;if(197==n)return 4;if(t.R.Ic(n))return 2;throw t.f.za()},s.prototype.xe=function(){this.wL();},s}();t.MM=s;}(W||(W={})),function(t){var i=function(i){function n(){return null!==i&&i.apply(this,arguments)||this}return Z(n,i),n.prototype.F=function(){return 1},n.prototype.U=function(i,n,s,h){return void 0===h?new t.MM(i,n,s):this.sR(i,n,s,h)},n.prototype.sR=function(i,n,s,h){return i=new t.$c([i,n]),this.U(i,s,h).next()},n.local=function(){return null===n.instance&&(n.instance=new n),n.instance},n.instance=null,n}(t.Ne);t.Jh=i;}(W||(W={})),function(t){var i,n;(n=i||(i={}))[n.nextPath=0]="nextPath",n[n.nextSegment=1]="nextSegment",n[n.iterate=2]="iterate",i=function(){function i(i,n,s,h){this.Bt=new t.g,this.ZU=i,this.$U=n,this.Fq=h,this.No=-1,this.zl=!1;var r=i.ib;null!=r&&(null!=(r=h?r.To:r.Hb)&&(this.Jc=!1,this.qa=s,this.Hb=r,this.ex=this.Hb.getIterator(),this.Gq=this.zl=!0,this.Xb=0,h?this.No=n.$():this.td=n.Ba())),this.zl||null!=(r=n.ib)&&(null!=(r=h?r.To:r.Hb)&&(this.Jc=!1,this.qa=s,this.Hb=r,this.ex=this.Hb.getIterator(),this.zl=!0,this.Gq=!1,this.Xb=0,h?this.No=i.$():this.td=i.Ba())),this.zl||(this.ii=h?t.la.AS(i,n,s,1<=i.rk(0),1<=n.rk(0)):t.la.zS(i,n,s));}return i.prototype.next=function(){if(this.zl){if(this.Jc)return !1;for(var i=!0;i;)switch(this.Xb){case 0:i=this.RV();break;case 1:i=this.SV();break;case 2:i=this.DA();break;default:throw t.f.Y("internal error")}return !this.Jc}return null!=this.ii&&this.ii.next()},i.prototype.tl=function(){return this.zl?this.Gq?this.Hb.ga(this.nt):this.Fq?this.No:this.td.wb():this.ii.tl(this.ii.dg)},i.prototype.ol=function(){return this.zl?this.Gq?this.Fq?this.No:this.td.wb():this.Hb.ga(this.nt):this.ii.ol(this.ii.If)},i.prototype.cA=function(){if(!this.Fq)throw t.f.Y("internal error");return this.zl?this.Gq?this.Hb.sG(this.nt):this.Bt:this.ii.cA(this.ii.dg)},i.prototype.Gz=function(){if(!this.Fq)throw t.f.Y("internal error");return this.zl?this.Gq?this.Bt:this.Hb.sG(this.nt):this.ii.Gz(this.ii.If)},i.prototype.RV=function(){return this.Fq?-1==--this.No?(this.Jc=!0,!1):(this.Gq?this.$U.Sj(this.No,this.Bt):this.ZU.Sj(this.No,this.Bt),this.ex.vi(this.Bt,this.qa),this.Xb=2,!0):this.td.Ta()?(this.Xb=1,!0):(this.Jc=!0,!1)},i.prototype.SV=function(){if(!this.td.Aa())return this.Xb=0,!0;var t=this.td.aa();return this.ex.wn(t,this.qa),this.Xb=2,!0},i.prototype.DA=function(){return this.nt=this.ex.next(),-1==this.nt&&(this.Xb=this.Fq?0:1,!0)},i}(),t.km=i;}(W||(W={})),function(t){(t=t.WM||(t.WM={}))[t.enumClosed=1]="enumClosed",t[t.enumHasNonlinearSegments=2]="enumHasNonlinearSegments",t[t.enumOGCStartPolygon=4]="enumOGCStartPolygon",t[t.enumCalcMask=4]="enumCalcMask";}(W||(W={})),function(t){t.xD=function(){function i(){}return i.vb=function(n,s,h,r,e,a,o,u,f){var c=[0,0,0],l=[0,0,0],p=[0,0,0],b=[0,0,0,0],v=new t.da(0),y=new t.da(0),w=new t.da(0);if(null!=o||null!=u||null!=f)if(t.l.Ai(s))t.gh.vb(n,h,r,e,a,o,u,f);else {e=t.C.ba(e),h=t.C.ba(h);var d=t.C.ba(e-h);if(t.l.V(r,a)&&(t.l.V(h,e)||t.l.V(t.l.J(r),1.570796326794897)))null!=o&&(o.j=0),null!=u&&(u.j=0),null!=f&&(f.j=0);else {if(t.l.V(r,-a)){if(t.l.V(t.l.J(r),1.570796326794897))return null!=o&&(o.j=2*t.C.Hg(n,s)),null!=u&&(u.j=0<r?t.C.ba(3.141592653589793-t.C.ba(e)):t.C.ba(e)),void(null!=f&&(f.j=0<r?t.C.ba(e):t.C.ba(3.141592653589793-t.C.ba(e))));t.l.V(t.l.J(d),3.141592653589793)&&(null!=o&&(o.j=2*t.C.Hg(n,s)),null!=u&&(u.j=0),null!=f&&(f.j=0));}else {if(t.l.V(t.l.J(r),1.570796326794897)||t.l.V(t.l.J(a),1.570796326794897))return void t.$k.vb(n,s,h,r,e,a,o,u,f);if(t.l.V(h,e)||t.l.V(t.l.J(d),3.141592653589793))return void t.$k.vb(n,s,h,r,e,a,o,u,f);if(t.l.qd(r))return void t.$k.vb(n,s,h,r,e,a,o,u,f)}var g=Math.sqrt(1-s);e=t.C.ba(e-h),h=0,t.C.hk(1,s,r,h,0,v,y,w),c[0]=v.j,c[1]=y.j,c[2]=w.j,t.C.hk(1,s,a,e,0,v,y,w),l[0]=v.j,l[1]=y.j,l[2]=w.j,p[0]=0,p[1]=0,p[2]=-1*s*t.C.n(1,s,r)*Math.sin(r),0>e?t.C.pr(p,l,c,b,0):t.C.pr(p,c,l,b,0),y=[0,0,0],w=[0,0,0];var x=[0,0,0];c=[0,0,0],v=[0,0,0];var m=Math.acos(b[2]/1),j=1-s,M=Math.tan(m),k=1+M*M/j,z=2*p[2]*M/j;for(j=(-z+(M=Math.sqrt(z*z-4*k*(p[2]*p[2]/j-1))))/(k*=2),z=(-z-M)/k,M=Math.tan(m),m=(j+z)/2,p=((k=M*j+p[2])+(M*z+p[2]))/2,M=t.C.wp(j-m,k-p),j=p/g*1.570796326794897,z=0;100>z&&(k=(k=t.C.gm(s,j))*k/Math.cos(j)*(Math.sin(j)-p*k/(1-s)),!t.l.qd(k));z++)j-=k;p=t.C.n(1,s,j)*Math.cos(j),M=1-M/(p=Math.sqrt((p-m)*(p+m))),M*=2-M,k=t.C.Fn(y),m=t.C.Fn(w),j=t.C.Fn(x);var N=t.C.Au(x,y);z=t.C.Au(x,w),t.C.ey(x,y,c),t.C.ey(x,w,v),y=Math.acos(N/(j*k)),w=Math.acos(z/(j*m)),w*=t.l.ub(1,t.C.Au(c,v)),(1.570796326794897<=t.l.J(y)&&1.570796326794897<=t.l.J(w)||3.141592653589793<t.l.J(y-w))&&(y=(3.141592653589793-t.l.J(y))*t.l.ub(1,y),w=(3.141592653589793-t.l.J(w))*t.l.ub(1,w)),c=t.C.Rj(M,w),v=t.C.q(p,M,t.C.Rj(M,y)),c=t.C.q(p,M,c),c=t.l.J(c-v)*n,y=new t.da(0),w=new t.da(0),x=b[1]/1,x*=-t.l.ub(1,d),v=Math.acos(x)*t.l.ub(1,d),i.Bf(n,s,h,r,c,v,y,w),t.l.V(e,y.j)&&t.l.V(a,w.j)||(M=t.C.wp(t.C.ba(e-y.j),a-w.j),i.Bf(n,s,h,r,c,t.C.ba(v+3.141592653589793),y,w),(k=t.C.wp(t.C.ba(e-y.j),a-w.j))<M&&(v=t.C.ba(v+3.141592653589793))),y=[0,0,0,0],w=[0,0,0,0],M=[0,0,0],n=[0,0,0],h=[0,0,0],r=[0,0,0],x=[0,0,0],(p=[0,0,0])[0]=0,p[1]=0,p[2]=g,M[0]=0,M[1]=0,M[2]=0,t.C.pr(M,p,l,y,0),t.l.qd(a)?(n[0]=l[0],n[1]=l[1],n[2]=1,h[0]=1*Math.cos(e)-1*Math.sin(e),h[1]=1*Math.sin(e)+1*Math.cos(e)):(s=t.C.n(1,s,a)*Math.cos(a),n[0]=0,n[1]=0,l[2]+=Math.tan(1.570796326794897-t.l.J(a))*s*t.l.ub(1,a),h[0]=s*Math.cos(e)-s*Math.sin(e),h[1]=s*Math.sin(e)+s*Math.cos(e)),h[2]=l[2],t.C.pr(l,h,n,w,1),t.C.ey(w,y,r),t.C.ey(w,b,x),x=t.C.Au(r,x)/(t.C.Fn(r)*t.C.Fn(x)),x*=t.l.ub(1,d),e=Math.acos(x)*-t.l.ub(1,d),(0<v&&0<e||0>v&&0>e)&&(e=t.C.ba(e+3.141592653589793)),null!=o&&(o.j=c),null!=u&&(u.j=v),null!=f&&(f.j=e);}}},i.Bf=function(i,n,s,h,r,e,a,o){var u=[0,0,0],f=[0,0,0],c=[0,0,0],l=[0,0,0],p=[0,0,0],b=[0,0,0],v=[0,0,0],y=[0,0,0,0],w=new t.da(0),d=new t.da(0),g=new t.da(0),x=new t.da(0),m=new t.da(0),j=new t.da(0);if(null!=a&&null!=o)if(t.l.Ai(n))t.gh.Bf(i,s,h,r,e,a,o);else if(t.l.qd(r))null!=a&&(a.j=s),null!=o&&(o.j=h);else if(e=t.C.ba(e),0>r&&(r=t.l.J(r),e=t.C.ba(e+3.141592653589793)),s=t.C.ba(s),h=t.C.ba(h),1.570796326794897<t.l.J(h)&&(s=t.C.ba(s+3.141592653589793),h=t.l.ub(3.141592653589793,h)-h),t.l.V(t.l.J(h),1.570796326794897)||t.l.qd(h)||t.l.qd(e)||t.l.V(t.l.J(e),3.141592653589793))t.$k.Bf(i,n,s,h,r,e,a,o);else {var M=Math.sqrt(1-n);for(i=r/i,t.C.hk(1,n,h,0,0,x,m,j),u[0]=x.j,u[1]=m.j,u[2]=m.j,v[0]=0,v[1]=0,v[2]=-1*n*t.C.n(1,n,h)*Math.sin(h),x=t.C.n(1,n,h),m=t.C.ba(1.570796326794897-e),j=Math.sin(m),r=Math.cos(h),h=Math.sin(h),p[0]=x*r-h*j,p[1]=Math.cos(m),p[2]=(1-n)*x*h+r*j,0>e?t.C.pr(v,p,u,y,0):t.C.pr(v,u,p,y,0),u=Math.acos(y[2]/1),y=Math.atan2(-y[1],-y[0]),h=1-n,m=1+(p=Math.tan(u))*p/h,h=(-(x=2*v[2]*p/h)+(p=Math.sqrt(x*x-4*m*(v[2]*v[2]/h-1))))/(m*=2),x=(-x-p)/m,p=Math.tan(u),u=(h+x)/2,v=((m=p*h+v[2])+(p*x+v[2]))/2,p=t.C.wp(h-u,m-v),M=v/M*1.570796326794897,h=0;100>h&&(x=(x=t.C.gm(n,M))*x/Math.cos(M)*(Math.sin(M)-v*x/(1-n)),!t.l.qd(x));h++)M-=x;M=t.C.n(1,n,M)*Math.cos(M),v=1-p/(M=Math.sqrt((M-u)*(M+u))),v*=2-v,b=Math.acos(t.C.Au(b,f)/(t.C.Fn(b)*t.C.Fn(f))),b*=t.l.ub(1,f[0]),e=(t.C.q(M,v,t.C.Rj(v,b))+i*t.l.ub(1,e))/t.C.Hg(M,v),e=t.C.ba(1.570796326794897*e),e=t.C.kr(v,e),t.C.n(M,v,e),p=t.C.ba(y+s),s=Math.cos(p),e=Math.sin(p),c[0]=l[0]*s+l[1]*-e,c[1]=l[0]*e+l[1]*s,c[2]=l[2],t.C.sP(n,c[0],c[1],c[2],g,d,w),null!=a&&(a.j=d.j),null!=o&&(o.j=g.j);}},i}();}(W||(W={})),function(t){var i=function(){function i(i){this.Xa=null,this.fu=new t.b,this.gu=new t.b,this.a=i;}return i.prototype.compare=function(t,i,n){return this.a.Hc(i,this.fu),this.a.Hc(t.ga(n),this.gu),this.fu.compare(this.gu)},i}(),n=function(){function i(i){this.Jf=new t.b,this.Lk=new t.b,this.a=i;}return i.prototype.Hh=function(t){this.Jf.K(t);},i.prototype.compare=function(t,i){return this.a.Hc(t.ga(i),this.Lk),this.Jf.compare(this.Lk)},i}(),s=function(t){function i(i){var n=t.call(this,i.a,i.qa,!1)||this;return n.Ya=i,n}return Z(i,t),i.prototype.compare=function(t,i,n){if(this.yg)return -1;var s=this.Ya.Ud.ao(this.Ya.Xh(i));t=t.ga(n);var h=this.Ya.Ud.ao(this.Ya.Xh(t));return this.Qm=n,this.CF(i,s,t,h)},i}(t.CD),h=function(t){function i(i){var n=t.call(this,i.a,i.qa)||this;return n.Ya=i,n}return Z(i,t),i.prototype.compare=function(t,i){return this.yg?-1:(t=this.Ya.Ud.ao(this.Ya.Xh(t.ga(i))),this.Qm=i,this.DF(i,t))},i}(t.hN),r=function(){function r(){this.Nc=this.nf=this.Co=this.Ud=this.rh=this.Cd=this.eb=this.a=null,this.Tg=!1,this.Ch=this.$m=this.qe=this.Nk=this.th=this.Ik=this.Nf=this.ge=null,this.Eh=this.br=this.EB=this.qa=0,this.Ew=this.po=!1,this.So=new t.b,this.Vi=new t.b,this.eb=new t.ad(8),this.Cd=new t.ad(5),this.rh=new t.Iu,this.Ud=new t.Iu,this.Tg=!1,this.Ch=new t.b,this.Ch.ka(0,0),this.qa=0,this.Eh=-1,this.po=!1,this.a=null,this.nf=new t.bk,this.Nc=new t.bk,this.th=new t.ha(0),this.Nk=new t.AD,this.Nf=new t.ha(0),this.Ik=new t.ha(0),this.Co=new t.Ra;}return r.prototype.uZ=function(i,n){var s=new t.xd;return s.HC(),i.Qc(s),this.zr(i),this.po=!1,this.qa=n,this.EB=n*n,n=this.SC(),i.Qc(s),n||(this.CR(),n||this.SC()),-1!=this.Eh&&(this.a.Xd(this.Eh),this.Eh=-1),this.a=null,this.po},r.prototype.yZ=function(t,i){this.zr(t),this.po=!1,this.qa=i,this.EB=i*i,this.Tg=!1,this.SC(),this.Tg||(this.Tg=1==t.$p(i,!0,!1)),-1!=this.Eh&&(this.a.Xd(this.Eh),this.Eh=-1),this.a=null;},r.prototype.vg=function(t,i){return this.eb.S(t,0+i)},r.prototype.vC=function(t,i,n){this.eb.P(t,0+i,n);},r.prototype.Xh=function(t){return this.eb.S(t,2)},r.prototype.BY=function(t,i){this.eb.P(t,2,i);},r.prototype.DG=function(t,i){return this.eb.S(t,3+i)},r.prototype.kq=function(t){return this.eb.S(t,7)},r.prototype.$l=function(t,i){this.eb.P(t,7,i);},r.prototype.lq=function(t,i){return this.eb.S(t,3+this.jq(t,i))},r.prototype.Ar=function(t,i,n){this.eb.P(t,3+this.jq(t,i),n);},r.prototype.dT=function(t,i){return this.eb.S(t,5+this.jq(t,i))},r.prototype.Cr=function(t,i,n){this.eb.P(t,5+this.jq(t,i),n);},r.prototype.ts=function(t){return this.Cd.S(t,0)},r.prototype.xY=function(t,i){this.Cd.P(t,0,i);},r.prototype.Kz=function(t){return this.Cd.S(t,4)},r.prototype.wr=function(t,i){this.Cd.P(t,4,i);},r.prototype.pl=function(t){return this.Cd.S(t,1)},r.prototype.Bn=function(t,i){this.Cd.P(t,1,i);},r.prototype.Jz=function(t){return this.Cd.S(t,3)},r.prototype.pu=function(t,i){this.Cd.P(t,3,i);},r.prototype.mn=function(t){var i=this.Cd.Ke(),n=this.rh.Th();return this.xY(i,n),-1!=t?(this.rh.addElement(n,t),this.a.Qa(t,this.Eh,i),this.wr(i,this.a.Ua(t))):this.wr(i,-1),i},r.prototype.SQ=function(t){this.Cd.jd(t);},r.prototype.xE=function(t,i){this.rh.addElement(this.ts(t),i),this.a.Qa(i,this.Eh,t);},r.prototype.Wt=function(t){var i=this.eb.Ke(),n=this.Ud.Th();return this.BY(i,n),-1!=t&&this.Ud.addElement(n,t),i},r.prototype.yE=function(t,i){this.Ud.addElement(this.Xh(t),i);},r.prototype.Cv=function(t){this.eb.jd(t),0<=(t=this.th.ZF(t))&&this.th.kX(t);},r.prototype.nj=function(i,n){if(-1==this.vg(i,0))this.vC(i,0,n);else {if(-1!=this.vg(i,1))throw t.f.za();this.vC(i,1,n);}this.Qy(i,n);},r.prototype.Qy=function(t,i){var n=this.pl(i);if(-1!=n){var s=this.lq(n,i);this.Cr(s,i,t),this.Ar(t,i,s),this.Ar(n,i,t),this.Cr(t,i,n);}else this.Cr(t,i,t),this.Ar(t,i,t),this.Bn(i,t);},r.prototype.jq=function(t,i){return this.vg(t,0)==i?0:1},r.prototype.ln=function(t,i){var n,s=this.Jz(i);if(-1!=s&&(this.nf.zd(s,-1),this.pu(i,-1)),-1!=(s=this.pl(i))){var h=n=s;do{var r=!1,e=this.jq(n,i),a=this.DG(n,e);if(this.vg(n,e+1&1)==t){if(this.Ev(n),this.Ud.kh(this.Xh(n)),this.Cv(n),n==a){s=-1;break}s==n&&(s=this.pl(i),h=a,r=!0);}n=a;}while(n!=h||r);if(-1!=s){do{e=this.jq(n,i),a=this.DG(n,e),this.vC(n,e,t),n=a;}while(n!=h);-1!=(n=this.pl(t))?(h=this.lq(n,t),r=this.lq(s,t),h==n?(this.Bn(t,s),this.Qy(n,t),this.Bn(t,n)):r==s&&this.Qy(s,t),this.Ar(s,t,h),this.Cr(h,t,s),this.Ar(n,t,r),this.Cr(r,t,n)):this.Bn(t,s);}}for(s=this.ts(t),n=this.ts(i),h=this.rh.sc(n);-1!=h;h=this.rh.hb(h))this.a.Qa(this.rh.ga(h),this.Eh,t);this.rh.lz(s,n),this.SQ(i);},r.prototype.mV=function(t,i){var n=this.vg(t,0),s=this.vg(t,1),h=this.vg(i,0),r=this.vg(i,1);this.Ud.lz(this.Xh(t),this.Xh(i)),i==this.pl(n)&&this.Bn(n,t),i==this.pl(s)&&this.Bn(s,t),this.Ev(i),this.Cv(i),n==h&&s==r||s==h&&n==r||(this.Zn(n,this.So),this.Zn(h,this.Vi),this.So.qb(this.Vi)?(n!=h&&this.ln(n,h),s!=r&&this.ln(s,r)):(s!=h&&this.ln(s,h),n!=r&&this.ln(n,r)));},r.prototype.Ev=function(t){var i=this.vg(t,1);this.QF(t,this.vg(t,0)),this.QF(t,i);},r.prototype.QF=function(t,i){var n=this.lq(t,i),s=this.dT(t,i),h=this.pl(i);n!=t?(this.Ar(s,i,n),this.Cr(n,i,s),h==t&&this.Bn(i,n)):this.Bn(i,-1);},r.prototype.IE=function(t,i,n){var s=this.Ud.sc(t),h=this.Ud.ga(s);t=this.Qe(h);var r=this.Qe(this.a.T(h));for(this.a.Fr(h,i,n,!0),s=this.Ud.hb(s);-1!=s;s=this.Ud.hb(s)){h=this.Ud.ga(s);var e=this.Qe(h)==t;this.a.Fr(h,i,n,e);}s=i.nq(n,0).ac(),i=i.nq(n,i.ul(n)-1).wc(),this.IL(t,s),this.IL(r,i);},r.prototype.KF=function(t,i,n){var s=this.Xh(t),h=this.vg(t,0),r=this.vg(t,1),e=this.Wt(-1);for(this.th.add(e),this.$l(e,-3),this.Nf.add(e),this.nj(e,h),t=1,i=i.ul(n);t<i;t++)n=this.mn(-1),this.Ik.add(n),this.Nf.add(n),this.nj(e,n),e=this.Wt(-1),this.th.add(e),this.$l(e,-3),this.Nf.add(e),this.nj(e,n);for(this.nj(e,r),s=this.Ud.sc(s);-1!=s;s=this.Ud.hb(s))if(r=this.Ud.ga(s),this.Qe(r)==h){t=0;do{0<t&&(e=this.Nf.get(t-1),this.xE(e,r),-1==this.Kz(e)&&this.wr(e,this.a.Ua(r))),e=this.Nf.get(t),t+=2,this.yE(e,r),r=this.a.T(r);}while(t<this.Nf.size)}else {t=this.Nf.size-1;do{t<this.Nf.size-2&&(e=this.Nf.get(t+1),this.xE(e,r),0>this.Kz(e)&&this.wr(e,this.a.Ua(r))),e=this.Nf.get(t),t-=2,this.yE(e,r),r=this.a.T(r);}while(0<=t)}this.Nf.clear(!1);},r.prototype.Qe=function(t){return this.a.Na(t,this.Eh)},r.prototype.KJ=function(i,n,s){var h=this.vg(n,0),r=new t.b;this.Zn(h,r);var e=new t.b,a=this.vg(n,1);this.Zn(a,e);var o=s.ul(i),u=s.nq(i,0),f=new t.b;if(u.qq(f),!r.qb(f)){if(!this.Tg){var c=r.compare(this.Ch);0>c*(f=f.compare(this.Ch))&&(this.Tg=!0);}this.iG(h,this.Nf),this.Ik.add(h);}for(!this.Tg&&1<o&&(c=r.compare(e),u=u.wc(),(r.compare(u)!=c||u.compare(e)!=c||0>u.compare(this.Ch))&&(this.Tg=!0)),i=(u=s.nq(i,o-1)).wc(),e.qb(i)||(this.Tg||0>(c=e.compare(this.Ch))*(f=i.compare(this.Ch))&&(this.Tg=!0),this.iG(a,this.Nf),this.Ik.add(a)),this.Nf.add(n),e=0,a=this.Nf.size;e<a;e++)i=this.Nf.get(e),s=this.kq(i),t.ad.xH(s)&&(this.Nc.zd(s,-1),this.$l(i,-1)),i!=n&&-3!=this.kq(i)&&(this.th.add(i),this.$l(i,-3));this.Nf.clear(!1);},r.prototype.vP=function(t,i){this.ge.compare(this.Nc,this.Nc.ga(t),i),this.ge.yg&&(this.ge.ks(),this.bG(t,i));},r.prototype.bG=function(i,n){this.po=!0,i=this.Nc.ga(i),n=this.Nc.ga(n);var s=this.Ud.ao(this.Xh(i)),h=this.Ud.ao(this.Xh(n)),r=this.a.ec(s);null==r&&(null==this.qe&&(this.qe=new t.zb),this.a.gd(s,this.qe),r=this.qe),null==(s=this.a.ec(h))&&(null==this.$m&&(this.$m=new t.zb),this.a.gd(h,this.$m),s=this.$m),this.Nk.gp(r),this.Nk.gp(s),this.Nk.Ia(this.qa,!0)&&(this.Tg=!0),this.mL(i,n,-1,this.Nk),this.Nk.clear();},r.prototype.SR=function(i,n){this.po=!0,n=this.Nc.ga(n);var s=this.Ud.ao(this.Xh(n)),h=this.a.ec(s);null==h&&(null==this.qe&&(this.qe=new t.zb),this.a.gd(s,this.qe),h=this.qe),s=this.oG(i),this.Nk.gp(h),this.a.bj(s,this.Co),this.Nk.rA(this.qa,this.Co,!0),this.mL(n,-1,i,this.Nk),this.Nk.clear();},r.prototype.ST=function(){if(0!=this.th.size)for(;0!=this.th.size;){if(this.th.size>Math.max(100,this.a.hd)){this.th.clear(!1),this.Tg=!0;break}var t=this.th.Gc();this.th.Rf(),this.$l(t,-1),-1!=this.pU(t)&&this.RT(t),this.oo=!1;}},r.prototype.RT=function(t){if(this.oo){var i=this.Nc.fv(this.BI,this.wI,t,!0);this.oo=!1;}else i=this.Nc.wE(t);-1==i?this.mV(this.Nc.ga(this.Nc.rG()),t):(this.$l(t,i),this.ge.yg&&(this.ge.ks(),this.bG(this.ge.Qm,i)));},r.prototype.pU=function(i){var n=this.vg(i,0);if(i=this.vg(i,1),this.Zn(n,this.So),this.Zn(i,this.Vi),t.b.oc(this.So,this.Vi)<=this.EB)return this.Tg=!0,-1;var s=this.So.compare(this.Ch),h=this.Vi.compare(this.Ch);return 0>=s&&0<h?i:0>=h&&0<s?n:-1},r.prototype.AR=function(){var i=new t.ha(0);i.Db(this.a.hd);for(var n=this.a.rr(),s=n.next();-1!=s;s=n.next())-1!=this.a.Na(s,this.Eh)&&i.add(s);this.a.Vx(i,i.size),this.BR(i);},r.prototype.BR=function(n){this.nf.clear(),this.nf.Le(n.size),this.nf.kp(new i(this.a));var s=new t.b;s.Tc();for(var h=-1,r=new t.b,e=0,a=n.size;e<a;e++){var o=n.get(e);this.a.Hc(o,r),r.qb(s)?(o=this.a.Na(o,this.Eh),this.ln(h,o)):(h=this.Qe(o),this.a.Hc(o,s),o=this.nf.Qn(o),this.pu(h,o));}},r.prototype.CR=function(){var i=new t.ha(0);i.Db(this.a.hd);for(var n=this.nf.sc(-1);-1!=n;n=this.nf.hb(n))i.add(this.nf.ga(n));this.nf.clear(),this.a.Vx(i,i.size),n=0;for(var s=i.size;n<s;n++){var h=i.get(n),r=this.Qe(h);h=this.nf.Qn(h),this.pu(r,h);}},r.prototype.iG=function(i,n){var s=this.pl(i);if(-1!=s){var h=s;do{t.ad.xH(this.kq(h))&&n.add(h),h=this.lq(h,i);}while(h!=s)}},r.prototype.IL=function(t,i){for(t=this.rh.sc(this.ts(t));-1!=t;t=this.rh.hb(t))this.a.wf(this.rh.ga(t),i);},r.prototype.mL=function(t,i,n,s){this.Ev(t),-1!=i&&this.Ev(i),this.KJ(0,t,s),-1!=i&&this.KJ(1,i,s),-1!=n&&(s.Jf.w(this.So),this.Zn(n,this.Vi),this.Vi.qb(this.So)||this.Ik.add(n)),n=0;for(var h=this.Ik.size;n<h;n++){var r=this.Ik.get(n),e=this.Jz(r);-1!=e&&(this.nf.zd(e,-1),this.pu(r,-1));}for(n=this.Xh(t),h=-1!=i?this.Xh(i):-1,this.IE(n,s,0),-1!=i&&this.IE(h,s,1),this.KF(t,s,0),-1!=i&&this.KF(i,s,1),this.Ud.kh(n),this.Cv(t),-1!=i&&(this.Ud.kh(h),this.Cv(i)),n=0,h=this.Ik.size;n<h;n++)(r=this.Ik.get(n))==this.br&&(this.Ew=!0),-1==(e=this.Jz(r))&&(-1==(e=this.nf.wE(this.oG(r)))?(t=this.Qe(this.nf.ga(this.nf.rG())),this.ln(t,r)):this.pu(r,e));this.Ik.clear(!1);},r.prototype.Zn=function(t,i){this.a.PG(this.Kz(t),i);},r.prototype.oG=function(t){return this.rh.ao(this.ts(t))},r.prototype.SC=function(){this.Ew=!1,this.br=-1,null==this.ge&&(this.Nc.yw=!1,this.ge=new s(this),this.Nc.so=this.ge);var i=new t.ha(0),r=null,e=null;this.wI=this.BI=-1,this.oo=!1;for(var a=this.nf.sc(-1);-1!=a;){this.oo=!1;var o=this.nf.ga(a);this.br=this.Qe(o),this.a.Hc(o,this.Ch),this.ge.dL(this.Ch.y,this.Ch.x);var u=this.pl(this.br),f=-1==u;if(!f){o=u;do{var c=this.kq(o);-1==c?(this.th.add(o),this.$l(o,-3)):-3!=c&&i.add(c),o=this.lq(o,this.br);}while(o!=u)}if(0<i.size){for(this.oo=1==i.size&&1==this.th.size,f=0,u=i.size;f<u;f++)o=this.Nc.ga(i.get(f)),this.$l(o,-2);var l=-2,p=-2;for(f=0,u=i.size;f<u;f++){if(c=i.get(f),-2==l){var b=this.Nc.Be(c);-1!=b?(o=this.Nc.ga(b),-2!=(o=this.kq(o))&&(l=b)):l=-1;}if(-2==p&&(-1!=(c=this.Nc.hb(c))?(o=this.Nc.ga(c),-2!=(o=this.kq(o))&&(p=c)):p=-1),-2!=l&&-2!=p)break}for(f=0,u=i.size;f<u;f++)c=i.get(f),o=this.Nc.ga(c),this.Nc.zd(c,-1),this.$l(o,-1);i.clear(!1),this.BI=-1!=l?l:-1,this.wI=-1!=p?p:-1,-1!=l&&-1!=p?this.oo||this.vP(l,p):-1==l&&-1==p&&(this.oo=!1);}else f&&(null==r&&(r=new h(this)),r.Hh(this.Ch),this.Nc.yK(r),r.yg&&(r.ks(),this.SR(this.br,r.Qm)));this.ST(),this.Ew?(this.Ew=!1,null==e&&(e=new n(this.a)),e.Hh(this.Ch),a=this.nf.yK(e)):a=this.nf.hb(a);}return this.po},r.prototype.zr=function(i){for(this.a=i,this.Eh=this.a.Kd(),this.eb.Le(i.hd+32),this.Cd.Le(i.hd),this.rh.lu(i.hd),this.rh.vn(i.hd),this.Ud.lu(i.hd+32),this.Ud.vn(i.hd+32),i=this.a.ld;-1!=i;i=this.a.Ae(i))if(t.R.Bc(this.a.dc(i)))for(o=this.a.Kb(i);-1!=o;o=this.a.Qb(o)){var n=this.a.Ha(o),s=this.a.Za(o),h=this.mn(s),r=this.Wt(s);for(this.nj(r,h),u=this.a.T(s),s=0,n-=2;s<n;s++){var e=this.a.T(u),a=this.mn(u);this.nj(r,a),r=this.Wt(u),this.nj(r,a),u=e;}this.a.Lb(o)?(a=this.mn(u),this.nj(r,a),r=this.Wt(u),this.nj(r,a),this.nj(r,h)):(a=this.mn(u),this.nj(r,a));}else for(var o=this.a.Kb(i);-1!=o;o=this.a.Qb(o)){var u=this.a.Za(o);for(h=0,n=this.a.Ha(o);h<n;h++)this.mn(u),u=this.a.T(u);}this.AR();},r}();t.yD=r;}(W||(W={})),function(t){var i=function(i){function n(s,h,r){var e=i.call(this)||this;if(void 0!==s)if(void 0!==r){e.description=t.ke.ug();var a=new t.Id;a.H(s,h,r),e.LC(a);}else if(void 0!==h)e.description=t.ke.ug(),e.nb(s,h);else if(s instanceof t.oa)e.description=s;else if(s instanceof t.b)e.description=t.ke.ug(),e.nb(s);else {if(!(s instanceof n))throw t.f.I();e.description=s.description,e.nb(s.Ce(),s.lf()),null!==s.ia&&(e.ia=s.ia.slice(0));}else e.description=t.ke.ug();return e}return Z(n,i),n.prototype.w=function(i){if(void 0===i){if(this.Ac())throw t.f.Y("This operation should not be performed on an empty geometry.");return (i=new t.b).ka(this.ia[0],this.ia[1]),i}if(this.Ac())throw t.f.Y("This operation should not be performed on an empty geometry.");i.ka(this.ia[0],this.ia[1]);},n.prototype.nb=function(t,i){"number"==typeof t?(this.vc(),null==this.ia&&this.Mp(),this.ia[0]=t,this.ia[1]=i):(this.vc(),this.nb(t.x,t.y));},n.prototype.kA=function(){if(this.Ac())throw t.f.Y("This operation should not be performed on an empty geometry.");var i=new t.Id;return i.x=this.ia[0],i.y=this.ia[1],i.z=this.description.VG()?this.ia[2]:t.oa.me(1),i},n.prototype.LC=function(i){this.vc();var n=this.hasAttribute(1);n||t.oa.pH(1,i.z)||(this.le(1),n=!0),null==this.ia&&this.Mp(),this.ia[0]=i.x,this.ia[1]=i.y,n&&(this.ia[2]=i.z);},n.prototype.Ce=function(){if(this.Ac())throw t.f.Y("This operation should not be performed on an empty geometry.");return this.ia[0]},n.prototype.KC=function(t){this.setAttribute(0,0,t);},n.prototype.lf=function(){if(this.Ac())throw t.f.Y("This operation should not be performed on an empty geometry.");return this.ia[1]},n.prototype.eL=function(t){this.setAttribute(0,1,t);},n.prototype.vT=function(){return this.Rc(1,0)},n.prototype.$Y=function(t){this.setAttribute(1,0,t);},n.prototype.OS=function(){return this.Rc(2,0)},n.prototype.KY=function(t){this.setAttribute(2,0,t);},n.prototype.xc=function(){return this.lG(3,0)},n.prototype.PK=function(t){this.setAttribute(3,0,t);},n.prototype.Rc=function(i,n){var s=this.description.Yf(i);return 0<=s?this.ia[this.description.dk(s)+n]:t.oa.me(i)},n.prototype.lG=function(i,n){var s=this.description.Yf(i);return 0<=s?this.ia[this.description.dk(s)+n]:t.oa.me(i)},n.prototype.setAttribute=function(t,i,n){this.vc();var s=this.description.Yf(t);0>s&&(this.le(t),s=this.description.Yf(t)),null==this.ia&&this.Mp(),this.ia[this.description.dk(s)+i]=n;},n.prototype.F=function(){return 33},n.prototype.pb=function(){return 0},n.prototype.Ka=function(){this.vc(),null!=this.ia&&(this.ia[0]=NaN,this.ia[1]=NaN);},n.prototype.Ln=function(i){if(null!=this.ia){for(var n=t.ke.ox(i,this.description),s=[],h=0,r=0,e=i.Ca;r<e;r++){var a=i.kd(r),o=t.oa.Sa(a);if(-1==n[r]){var u=t.oa.me(a);for(a=0;a<o;a++)s[h]=u,h++;}else for(u=this.description.dk(n[r]),a=0;a<o;a++)s[h]=this.ia[u],h++,u++;}this.ia=s;}this.description=i;},n.prototype.Mp=function(){this.pK(this.description.Ge.length),n.PE(this.description.Ge,this.ia,this.description.Ge.length),this.ia[0]=NaN,this.ia[1]=NaN;},n.prototype.Qc=function(i){if(i instanceof t.xd){if(!this.Ac()){var n=this.w();i.Zj(n,n),this.nb(n);}}else this.Ac()||(this.le(1),n=this.kA(),this.LC(i.vp(n)));},n.prototype.copyTo=function(i){if(33!=i.F())throw t.f.I();i.vc(),null==this.ia?(i.Ka(),i.ia=null,i.rg(this.description)):(i.rg(this.description),i.pK(this.description.Ge.length),n.PE(this.ia,i.ia,this.description.Ge.length));},n.prototype.Ea=function(){return new n(this.description)},n.prototype.u=function(){return this.Ac()},n.prototype.Ac=function(){return null==this.ia||isNaN(this.ia[0])||isNaN(this.ia[1])},n.prototype.qn=function(t){t.Ka(),this.description!=t.description&&t.rg(this.description),t.Nb(this);},n.prototype.s=function(t){this.Ac()?t.Ka():(t.o=this.ia[0],t.A=this.ia[1],t.v=this.ia[0],t.B=this.ia[1]);},n.prototype.ip=function(t){if(this.Ac())t.Ka();else {var i=this.kA();t.o=i.x,t.A=i.y,t.ef=i.z,t.v=i.x,t.B=i.y,t.Lg=i.z;}},n.prototype.Qf=function(i,n){var s=new t.uc;return this.Ac()?(s.Ka(),s):(i=this.Rc(i,n),s.fa=i,s.ja=i,s)},n.prototype.pK=function(i){if(null==this.ia)this.ia=t.L.Xf(i);else if(this.ia.length<i){for(var n=this.ia.slice(0),s=this.ia.length;s<i;s++)n[s]=0;this.ia=n;}},n.PE=function(t,i,n){if(0<n)for(n=0;n<t.length;n++)i[n]=t[n];},n.prototype.Ib=function(t){if(t==this)return !0;if(!(t instanceof n)||this.description!=t.description)return !1;if(this.Ac())return !!t.Ac();for(var i=0,s=this.description.Ge.length;i<s;i++)if(this.ia[i]!=t.ia[i])return !1;return !0},n.prototype.fc=function(){var i=this.description.fc();if(!this.Ac())for(var n=0,s=this.description.Ge.length;n<s;n++){var h=this.ia[n];h=t.L.truncate(h^h>>>32),i=t.L.Zh(h,i);}return i},n.prototype.sg=function(){return null},n}(t.R);t.Ra=i;}(W||(W={})),function(t){var i=function(){function t(t,i,n){void 0!==t&&(this.x=t,this.y=i,this.z=n);}return t.construct=function(i,n,s){var h=new t;return h.x=i,h.y=n,h.z=s,h},t.prototype.H=function(t,i,n){this.x=t,this.y=i,this.z=n;},t.prototype.Tx=function(){this.z=this.y=this.x=0;},t.prototype.normalize=function(){var t=this.length();0==t&&(this.x/=t,this.y/=t,this.z/=t);},t.prototype.length=function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)},t.prototype.sub=function(i){return new t(this.x-i.x,this.y-i.y,this.z-i.z)},t.prototype.Gg=function(i){new t(this.x*i,this.y*i,this.z*i);},t.prototype.iE=function(){this.x=NaN;},t.prototype.Ey=function(){return isNaN(this.x)},t.prototype.Vh=function(t){return this.x*t.x+this.y*t.y+this.z*t.z},t}();t.Id=i;}(W||(W={})),function(t){var i=function(){function i(t,i,n){this.mx=this.mB=null,this.eg=i,this.YU=i.y-n,this.XU=i.y+n,this.ir=0,this.OA=t,this.qa=n,this.jV=n*n,this.PA=0!=n,this.tw=!1;}return i.prototype.result=function(){return 0!=this.ir?1:0},i.prototype.hO=function(i){return i=i.cc(i.ae(this.eg,!1)),t.b.oc(i,this.eg)<=this.jV},i.prototype.TF=function(t){if(!this.PA&&(this.OA&&this.eg.qb(t.ac())||this.eg.qb(t.wc())))this.tw=!0;else if(t.na==this.eg.y&&t.na==t.ma){if(this.OA&&!this.PA){var i=Math.max(t.ra,t.pa);this.eg.x>Math.min(t.ra,t.pa)&&this.eg.x<i&&(this.tw=!0);}}else {var n=!1;if(i=Math.max(t.ra,t.pa),this.eg.x>i?n=!0:this.eg.x>=Math.min(t.ra,t.pa)&&(n=0<t.uq(!0,this.eg.y,this.mx,null)&&this.mx[0]<=this.eg.x),n){if(this.eg.y==t.ac().y){if(this.eg.y<t.wc().y)return}else if(this.eg.y==t.wc().y&&this.eg.y<t.ac().y)return;this.ir=this.OA?1^this.ir:this.ir+(t.ac().y>t.wc().y?1:-1);}}},i.prototype.du=function(t){var i=t.Qf(0,1);if(i.fa>this.XU||i.ja<this.YU)return !1;if(this.PA&&this.hO(t))return !0;if(i.fa>this.eg.y||i.ja<this.eg.y)return !1;if(null==this.mB&&(this.mB=[null,null,null,null,null]),null==this.mx&&(this.mx=[0,0,0]),0<(i=t.QG()))for(t=0;t<i;t++){var n=this.mB[t].get();if(this.TF(n),this.tw)return !0}else if(this.TF(t),this.tw)return !0;return !1},i.WD=function(t,n,s){for(n=new i(0==t.$n(),n,s),t=t.Ba();t.Ta();)for(;t.Aa();)if(s=t.aa(),n.du(s))return -1;return n.result()},i.XN=function(n,s,h,r){var e=new t.g;n.Zb(e),e.O(r,r);var a=new i(0==n.$n(),h,r);n=n.Ba();var o=new t.g;for(o.H(e),o.v=h.x+r,o.A=h.y-r,o.B=h.y+r,r=(h=s.Vz(o,r)).next();-1!=r;r=h.next())if(n.Rb(s.ga(r)),n.Aa()&&(r=n.aa(),a.du(r)))return -1;return a.result()},i.Jm=function(n,s,h){if(n.u())return 0;var r=new t.g;if(n.Zb(r),r.O(h,h),!r.contains(s))return 0;if(null!=(r=n.ib)){var e=r.oi;if(null!=e){if(1==(e=e.Xl(s.x,s.y)))return 1;if(0==e)return 0}if(null!=(r=r.Hb))return i.XN(n,r,s,h)}return i.WD(n,s,h)},i.yU=function(n,s,h,r){if(n.u())return 0;var e=new t.g;if(n.Zb(e),e.O(r,r),!e.contains(s,h))return 0;if(null!=(e=n.ib)&&null!=(e=e.oi)){if(1==(e=e.Xl(s,h)))return 1;if(0==e)return 0}return i.WD(n,t.b.construct(s,h),r)},i.wU=function(t,n,s){return n.u()?0:i.Jm(t,n.w(),s)},i.zA=function(n,s,h,r,e){var a=new t.g;if(n.Zb(a),a.O(r,r),!a.contains(h))return 0;var o=new i(!0,h,r);if(null!=e){var u=new t.g;for(u.H(a),u.v=h.x+r,u.A=h.y-r,u.B=h.y+r,n=n.Ba(),u=(r=e.Vz(u,r)).next();-1!=u;u=r.next())if(n.Rb(e.ga(u),s),n.Aa()&&n.Pa==s&&(u=n.aa(),o.du(u)))return -1}else if((n=n.Ba()).oC(s),n.Ta())for(;n.Aa();)if(u=n.aa(),o.du(u))return -1;return o.result()},i.yA=function(n,s,h){var r=new t.g;if(n.Zb(r),r.O(h,h),!r.contains(s))return 0;for(s=new i(!1,s,h),h=n.Ba();h.Ta();)if(!(0>n.rm(h.Pa))){for(s.ir=0;h.Aa();)if(r=h.aa(),s.du(r))return -1;if(0!=s.ir)return 1}return s.result()},i.x_=function(n,s,h,r,e){var a=n.Ba();if(a.oC(s),!a.Ta()||!a.Aa())throw t.f.Y("corrupted geometry");for(s=2;2==s&&a.Aa();)s=a.aa().cc(.5),s=i.zA(n,h,s,r,e);if(2==s)throw t.f.Y("internal error");return 1==s},i.Wl=function(t,i){return !(16>(t=t.D()))&&2*t+Math.log(t)/Math.log(2)*i<1*t*i},i}();t.Oe=i;}(W||(W={})),function(t){var i=function(t){function i(i){return t.call(this,!0,i)||this}return Z(i,t),i.prototype.Ea=function(){return new i(this.description)},i.prototype.pb=function(){return 2},i.prototype.F=function(){return 1736},i.prototype.jH=function(t,i,n){this.dU(t,i,n);},i.prototype.DS=function(){this.VS();},i}(t.Zk);t.Ga=i;}(W||(W={})),function(t){!function(t){t[t.PiPOutside=0]="PiPOutside",t[t.PiPInside=1]="PiPInside",t[t.PiPBoundary=2]="PiPBoundary";}(t.ZM||(t.ZM={})),t.Zc=function(){function i(){}return i.wH=function(i,n,s){return 0==(i=t.Oe.wU(i,n,s))?0:1==i?1:2},i.Td=function(i,n,s){return 0==(i=t.Oe.Jm(i,n,s))?0:1==i?1:2},i.xU=function(i,n,s,h){return 0==(i=t.Oe.yU(i,n,s,h))?0:1==i?1:2},i.n0=function(i,n,s,h){return 0==t.Oe.zA(i,n,s,h,null)?0:1},i.yA=function(i,n,s){return 0==t.Oe.yA(i,n,s)?0:1},i.BZ=function(n,s,h,r,e){if(s.length<h||e.length<h)throw t.f.I();for(var a=0;a<h;a++)e[a]=i.Td(n,s[a],r);},i.CZ=function(n,s,h,r,e){if(s.length/2<h||e.length<h)throw t.f.I();for(var a=0;a<h;a++)e[a]=i.xU(n,s[2*a],s[2*a+1],r);},i.yL=function(n,s,h,r,e){if(1736==n.F())i.BZ(n,s,h,r,e);else {if(197!=n.F())throw t.f.Y("invalid_call");var a=new t.g;n.s(a),i.iO(a,s,h,r,e);}},i.J0=function(n,s,h,r,e){if(1736==n.F())i.CZ(n,s,h,r,e);else {if(197!=n.F())throw t.f.Eb();var a=new t.g;n.s(a),i.jO(a,s,h,r,e);}},i.iO=function(i,n,s,h,r){if(n.length<s||r.length<s)throw t.f.I();if(i.u())for(h=0;h<s;h++)r[h]=0;else for(i.O(.5*-h,.5*-h),i.O(.5*h,.5*h),h=0;h<s;h++)i.contains(n[h])?r[h]=1:i.contains(n[h])?r[h]=2:r[h]=0;},i.jO=function(i,n,s,h,r){if(n.length/2<s||r.length<s)throw t.f.I();if(i.u())for(h=0;h<s;h++)r[h]=0;else for(i.O(.5*-h,.5*-h),i.O(.5*h,.5*h),h=0;h<s;h++)i.contains(n[2*h],n[2*h+1])?r[h]=1:i.contains(n[2*h],n[2*h+1])?r[h]=2:r[h]=0;},i.EZ=function(t,i,n,s,h){for(var r=0;r<n;r++)h[r]=t.Zs(i[r],s)?2:0;},i.DZ=function(t,i,n,s,h){var r=t.ib,e=null;null!=r&&(e=r.oi),r=n;for(var a=0;a<n;a++)if(h[a]=1,null!=e){var o=i[a];0==e.Xl(o.x,o.y)&&(h[a]=0,r--);}if(0!=r)for(t=t.Ba();t.Ta()&&0!=r;)for(;t.Aa()&&0!=r;)for(e=t.aa(),a=0;a<n&&0!=r;a++)1==h[a]&&e.Zs(i[a],s)&&(h[a]=2,r--);for(a=0;a<n;a++)1==h[a]&&(h[a]=0);},i.zL=function(n,s,h,r,e){var a=n.F();if(1607==a)i.DZ(n,s,h,r,e);else {if(!t.R.Ic(a))throw t.f.Y("Invalid call.");i.EZ(n,s,h,r,e);}},i}();}(W||(W={})),function(t){var i=function(t){function i(i,n){if(2==arguments.length){var s=t.call(this,!1,i.description)||this;s.xf(i),s.lineTo(n);}else s=t.call(this,!1,i)||this;return s}return Z(i,t),i.prototype.Ea=function(){return new i(this.description)},i.prototype.pb=function(){return 1},i.prototype.F=function(){return 1607},i.prototype.jH=function(t,i,n){this.eU(t,i,n);},i}(t.Zk);t.Oa=i;}(W||(W={})),function(t){var i=function(){function i(){}return i.prototype.progress=function(){return !0},i.Sp=function(i){if(null!=i&&!i.progress(-1,-1))throw t.f.ED()},i}();t.Ep=i;}(W||(W={})),function(t){var i;(i=t.XL||(t.XL={}))[i.clipWithInputHorizon=1]="clipWithInputHorizon",i[i.clipWithOutputHorizon=2]="clipWithOutputHorizon";var n=function(){function t(){this.ll=3,this.qz=this.sv=NaN;}return t.prototype.CT=function(){return this.Ps(1)},t.prototype.DT=function(){return this.Ps(2)},t.prototype.Ps=function(t){return 0!=(this.ll&t)},t.prototype.Cf=function(){var i=new t;return i.sv=this.sv,i.qz=this.qz,i.ll=this.ll,i},t}();t.g_=n,function(t){t[t.Dont_Geonomalize_Polygon=2147483648]="Dont_Geonomalize_Polygon",t[t.Dont_Adjust_At_Poles=1073741824]="Dont_Adjust_At_Poles";}(t.YL||(t.YL={}));var s=function(){function t(){this.ll=0;}return t.prototype.Ps=function(t){return 0!=(this.ll&t)},t.$d=function(i){var n=new t;return n.ll=i.ll,n},t.prototype.uN=function(t){this.ll=t.ll;},t}();t.h_=s;var h=function(){function i(i,n,s){this.ee=i,this.Je=n,this.cg=new t.g,this.cg.H(s),this.TU=i.fc()+n.fc()+this.cg.fc().toString();}return i.prototype.fc=function(){return this.TU},i.prototype.Ib=function(t){return this==t||this.ee.Ib(t.ee)&&this.Je.Ib(t.Je)&&this.cg.Ib(t.cg)},i}();t.p_=h,h=function(){function i(){this.Je=this.ee=null,this.eI=new n,this.fI=new s,this.dx=this.He=null,this.Wq=this.xl=!0;}return i.os=function(t,n,s,h){var r;void 0===h&&(h=null),void 0===r&&(r=null);var e=new i;return e.Jp(t,n,s,h,r),e},i.prototype.Jp=function(i,n,s,h,r){if(null==i||null==n)throw t.f.Y("invalidArgument");if(this.ee=i,this.Je=n,this.Wq=this.xl=!1,null!=h&&(this.eI=h.Cf()),null!=r&&this.fI.uN(r),r=!1,1==n.Fb()&&null!=h&&(h=h.sv,isNaN(h)||0==h||(r=!0)),i==n)this.xl=!r,this.Wq=!0;else {h=i.Fb();var e=n.Fb();if(0==h||0==e){if(null!=s)throw t.f.I();null!=i.Ld()&&null!=n.Ld()&&(this.xl=i.Ld().Ib(n.Ld()));}else 3==h||3==e?this.xl=i.Ib(n):this.ee.FT(this.Je)?this.xl=!r:this.xl=!1,this.He=s,null!=this.He&&this.He.Px(),this.Wq=(null==this.He||0==this.He.count())&&this.ee.hc().Ib(this.Je.hc());}this.ML();},i.prototype.Rv=function(){var t=new i;return t.ee=this.Je,t.Je=this.ee,null!=this.He&&(t.He=this.He.Rv()),t.xl=this.xl,t.Wq=this.Wq,t.ML(),t},i.prototype.xq=function(){return this.xl},i.prototype.BS=function(){return this.eI.Cf()},i.prototype.Ib=function(t){return t==this||!!(t instanceof i&&this.ee.Ib(t.ee)&&this.Je.Ib(t.Je))&&(this.He==t.He||!(null==this.He||null==t.He||!this.He.Ib(t.He)))},i.prototype.ML=function(){this.dx=new t.Bp(this);},i.I0={},i}(),t.Ur=h;}(W||(W={})),function(t){var i=function(){function i(){}return i.Wp=function(t){return t*i.UX},i.Ux=function(t,n){return i.qQ(n-t)},i.rQ=function(i){return -360<=i&&720>i?(0>i?i+=360:360<=i&&(i-=360),i):(0>(i=t.Tb.ZL(i))&&(i+=360),i)},i.qQ=function(t){return 180<(t=i.rQ(t))&&(t-=360),t},i.S_=.0174532925199433,i.UX=57.29577951308232,i}();t.Nr=i,t.Lh=function(){function n(){}return n.qj=function(i,n){var s=new t.g;i.s(s);var h=t.ab.nh(n),r=new t.g;return r.H(h),r.o=s.o,r.v=s.v,r.O(.01*r.ca(),0),n=t.la.Qd(n,s,!1),r.contains(s)?i:t.Yd.clip(i,r,n,0)},n.Ss=function(i,s,h,r,e){if(!t.ab.Cc(s))throw t.f.I();var a=t.la.Ng(s,i,!1),o=t.ab.nh(s),u=t.ab.hc(s),f=u.Ld().gi,c=t.ab.dw(u);u=t.ab.Nv(u),c*=2-c;var l=new t.uc;o.sn(l);var p=[[0,0],[0,0]];if(2==t.je.Fb(s)?r?(p[0][0]=n.nn(e,l),p[0][1]=o.cq(),t.ab.eu(),o=p[0][0]*f):(p[0][0]=o.lk(),p[0][1]=e,t.ab.eu(),o=p[0][1]*f):o=e*f,!r&&0!=o)throw t.f.I();var b=new t.da,v=new t.Yc;i=v.Bb(i);for(var y=[0],w=new t.b,d=new t.b,g=new t.b,x=new t.b,m=new t.b,j=new t.b,M=v.Kb(i);-1!=M;M=v.Qb(M)){var k=v.Za(M);v.w(k,g);for(var z=!1,N=k=v.T(k);-1!=N;N=v.T(N)){if(N==k){if(z)break;z=!0;}if(v.w(N,x),r&&a<e-g.x&&x.x-e>a||a<e-x.x&&g.x-e>a||!r&&a<-g.y&&x.y>a||a<-x.y&&g.y>a)do{if(!(Math.abs(g.x-x.x)>=.5*l.N())){if(2==t.je.Fb(s)?(p[0][0]=n.nn(g.x,l),p[0][1]=g.y,p[1][0]=n.nn(x.x,l),p[1][1]=x.y,t.ab.uX(),m.x=p[0][0]*f,m.y=p[0][1]*f,j.x=p[1][0]*f,j.y=p[1][1]*f):(m.x=g.x*f,m.y=g.y*f,j.x=x.x*f,j.y=x.y*f),j.x=6.283185307179586*(x.x-g.x)/l.N()+m.x,r){if(d.x=o,d.y=n.uA(u,c,m,j,o,h),isNaN(d.y))break}else {if(d.x=n.sA(u,c,m,j,h),isNaN(d.x))break;d.y=0;}t.gb.Ad(u,c,m.x,m.y,j.x,j.y,b,null,null,h);var A=b.j;t.gb.Ad(u,c,m.x,m.y,d.x,d.y,b,null,null,h);var I=b.j;2==t.je.Fb(s)?(p[0][0]=d.x/f,p[0][1]=d.y/f,t.ab.pS(),r?(w.y=p[0][1],w.x=e):(w.x=n.Ws(p[0][0],g.x,x.x,l),w.y=e)):r?(w.x=e,w.y=d.y/f):(w.x=n.Ws(d.x/f,g.x,x.x,l),w.y=e),y[0]=0<A?t.L.Yj(I/A,0,1):.5,0!=y[0]&&1!=y[0]&&(A=v.Ma(N),v.em(A,y,1),v.nb(v.T(A),w.x,w.y));}}while(0);g.K(x);}}return v.ye(i)},n.vm=function(i,s,h,r,e){if(i.u())return i;var a=t.ab.Sd(s);return n.aq(i,h-180*a,360*a,s,r,e,!0)},n.uA=function(i,s,h,r,e,a){if(3.141592653589793<=Math.abs(h.x-r.x)||!n.mo(h.x,r.x,e))return NaN;if(h.x>r.x)var o=r;else o=h,h=r;r=new t.da(0);var u=new t.da(0),f=new t.da(0);t.gb.Ad(i,s,o.x,o.y,h.x,h.y,u,r,null,a);var c=u.j,l=0,p=1,b=new t.b;for(b.K(o);c*(p-l)>1e-12*i;){var v=.5*(l+p);if(t.gb.tj(i,s,o.x,o.y,c*v,r.j,u,f,a),b.x=u.j,b.y=f.j,b.x==e)break;if(n.mo(o.x,b.x,e))p=v;else {if(!n.mo(h.x,b.x,e))return NaN;l=v;}}return b.y},n.mo=function(t,n,s){return t=i.Wp(t),n=i.Ux(t,i.Wp(n)),0==(s=i.Ux(t,i.Wp(s)))||0<n&&0<s&&s<=n||0>n&&0>s&&s>=n},n.nn=function(t,i){var n=i.ja-i.fa;return i.su(t-Math.floor((t-i.fa)/n)*n)},n.Ws=function(i,n,s,h){var r=new t.uc;for(r.H(n,s),s=h.N(),i=Math.floor((i-n)/s)*s+i,r=r.hf();Math.abs(i-r)>Math.abs(i+s-r);)i+=s;return i},n.sA=function(i,n,s,h,r){if(s.y>h.y)var e=h;else e=s,s=h;if((h=new t.uc).H(e.y,s.y),!h.contains(0)||3.141592653589793<=Math.abs(e.x-s.x))return NaN;if(e.x==s.x)return e.x;var a=new t.da(0),o=new t.da(0),u=new t.da(0);t.gb.Ad(i,n,e.x,e.y,s.x,s.y,o,a,null,r);var f=o.j,c=0,l=1,p=new t.b;for(p.K(e);f*(l-c)>1e-12*i;){var b=.5*(c+l);if(t.gb.tj(i,n,e.x,e.y,f*b,a.j,o,u,r),p.x=o.j,p.y=u.j,h.H(e.y,p.y),0==p.y)break;if(h.contains(0))l=b;else {if(h.H(s.y,p.y),!h.contains(0))return NaN;c=b;}}return p.x},n.aq=function(i,n,s,h,r,e,a){var o=new t.g;if(i.s(o),o.u())return i;var u=new t.uc;o.sn(u);var f=new t.uc;if(f.H(n,n+s),f.contains(u)&&f.ja!=u.ja)return i;var c=new t.g;c.H(o);var l=i.F();if(33==l)return ((o=(c=r?i:i.Cf()).Ce())<f.fa||o>=f.ja||a&&o==f.ja)&&(o+=Math.ceil((f.fa-o)/s)*s,o=f.su(o),c.KC(o)),c;if(550==l){for(h=(c=r?i:i.Cf()).Va(0),l=2*c.D(),i=!1,r=0;r<l;r+=2)((o=h.read(r))<f.fa||o>=f.ja||a&&o==f.ja)&&(i=!0,o+=Math.ceil((f.fa-o)/s)*s,o=f.su(o),h.write(r,o));return i&&c.Oc(1993),c}if(f.contains(u))return i;if(197==l)return s=r?i:i.Cf(),o.Ia(c),s.mp(o),s;var p=.1*Math.max(o.ca(),o.N());for(c.O(0,p),a=i,f=h.ce(0),i=t.Jh.local(),r=new t.xd;;){var b=Math.floor((u.fa-n)/s),v=Math.ceil((u.ja-n)/s);if(!(3<v-b))break;b=Math.floor(.5*(v+b)),c.o=o.o-p,c.v=n+s*b;var y=t.Yd.clip(a,c,f,e);c.o=c.v,c.v=o.v+p;var w=t.Yd.clip(a,c,f,e);r.mg((b-v)*s,0),w.Qc(r),1736==l?a=i.U(y,w,h,null):(a=y).add(w,!1),a.s(o),o.sn(u);}for(c.o=n,c.v=n+s,(n=new t.g).H(c),n.O(f,0),0!=(n=Math.floor((o.o-c.o)/s)*s)?(c.move(n,0),r.mg(-n,0)):r.zC(),n=1607==l?new t.Oa(a.description):new t.Ga(a.description),e=new t.g,u=new t.g;o.v>c.o;)(p=t.Yd.clip(a,c,f,0)).s(u),(1607==l?!p.u()&&(u.N()>f||u.ca()>f):!p.u()&&(1736!=l||u.N()>f))&&(p.Qc(r),p.s(u),n.s(e),e.O(f,f),e.isIntersecting(u)&&1736==l?n=i.U(n,p,h,null):n.add(p,!1)),c.move(s,0),r.shift(-s,0);return n},n.NJ=function(i,n,s,h){var r=new t.Hd(s.description);r.yd(s,0,-1),r=t.ab.$g(r,i,n);var e=s.D();if(h.Ka(),!t.ab.Cc(i)||e!=r.D())return !1;var a=new t.g;s.s(a);var o=new t.g;if(r.s(o),a=a.N(),o=o.N(),0!=a&&0!=o){if(o/=a,i=t.ab.nh(n).N()/t.ab.nh(i).N(),1e-10<Math.abs(o/i-1))return !1}else if(0!=a||0!=o)return !1;for(h.add(s,!1),s=0;s<e;s++)i=r.xa(s),h.nb(s,i);return !0},n.vA=function(){throw t.f.Me()},n}();}(W||(W={})),function(t){var i,n,s;(n=i=t.zi||(t.zi={}))[n.Clip=0]="Clip",n[n.DontClip=1]="DontClip",n[n.PannableFold=2]="PannableFold",function(t){t[t.Geodesic=0]="Geodesic",t[t.Loxodrome=1]="Loxodrome",t[t.GreatElliptic=2]="GreatElliptic",t[t.NormalSection=3]="NormalSection",t[t.ShapePreserving=4]="ShapePreserving";}(s=t.eM||(t.eM={})),t.Ab=function(){function n(){}return n.ew=function(i,n,s){if(s||0<n){for(i=i.toString(t.Pc.PE_STR_NAME_CANON|t.Pc.PE_STR_AUTH_NONE),n=[],s=0;s<i.length;s++)n[s]="a"<=i[s]&&"z">=i[s]?n[s]=i[s].toUpperCase():i[s];return n.join()}return i.toString(t.Pc.PE_STR_AUTH_TOP)},n.Tr=function(i,n,s,h){var r=h.length,e=s.D();if(0!=e){var a=s.Va(0),o=Math.min(e,r),u=0,f=i.wg();isNaN(n)&&(n=0);for(var c=i.Cc(),l=179*(i=c?i.hc().be().N():0)/360;0<e;){if(a.dC(u<<1,o,h),t.Kh.projToGeogCenter(f,o,h,n),c)for(var p=0;p<o;p++){var b=h[p][0]-n,v=t.Tb.sign(b),y=a.read(2*(u+p));0>v*t.Tb.sign(y)&&Math.abs(b)>l&&(h[p][0]+=-v*i);}a.dD(u<<1,o,h),u+=o,e-=o,o=Math.min(e,r);}s.Oc(1993);}},n.o_=function(i,n,s,h){var r=i.wg();isNaN(n)&&(n=0);var e=s.Ce();h[0][0]=e,h[0][1]=s.lf(),t.Kh.projToGeogCenter(r,1,h,n),i.Cc()&&(0>(n=t.Tb.sign(h[0][0]-n))*t.Tb.sign(e)&&(i=i.hc().be().N(),Math.abs(h[0][0])>179*i/360&&(h[0][0]-=n*i))),s.nb(h[0][0],h[0][1]);},n.QM=function(i,n,s,h){var r=0,e=i.wg();isNaN(r)&&(r=0);var a=i.Cc(),o=i.Sd();i=360*o,o*=179;for(var u=h.length,f=0;f<s;){for(var c=f;c<s&&n[c].isNaN();++c)f++;var l=Math.min(u,s-f);if(0<l){c=1;for(var p=f+1;c<l;++c,++p)if(n[p].isNaN()){l=c;break}if(t.la.nz(h,n,f,l),t.Kh.projToGeogCenter(e,l,h,r),a)for(c=0,p=f;c<l;++c,++p){var b=n[p].x,v=h[c][0]-r,y=t.Tb.sign(v);0>y*t.Tb.sign(b)&&Math.abs(v)>o&&(h[c][0]-=y*i);}t.la.mz(n,f,h,l),f+=l;}}},n.qy=function(i,n,s){var h=s.length,r=n.D();if(!(1>r)){var e=n.Va(0),a=Math.min(r,h),o=0,u=i.wg(),f=i.Cc(),c=f?i.be().N():0,l=179*c/360,p=0;for(f&&(p=i.Wh());0<r;){if(e.dC(o<<1,a,s),t.Kh.geogToProj(u,a,s),f)for(i=0;i<a;i++){var b=s[i][0],v=t.Tb.sign(b),y=e.read(2*(o+i))-p;0>v*t.Tb.sign(y)&&Math.abs(b)>l&&(s[i][0]+=-v*c);}e.dD(o<<1,a,s),o+=a,r-=a,a=Math.min(r,h);}n.Oc(1993);}},n.n_=function(i,n,s){if(!n.u()){var h=i.wg();if(s[0][0]=n.Ce(),s[0][1]=n.lf(),t.Kh.geogToProj(h,1,s),i.Cc()){h=t.Tb.sign(s[0][0]);var r=i.Wh();0>h*t.Tb.sign(n.Ce()-r)&&(i=i.be().N(),Math.abs(s[0][0])>179*i/360&&(s[0][0]-=h*i));}n.nb(s[0][0],s[0][1]);}},n.PM=function(i,n,s,h){if(0!=s){var r=i.wg(),e=i.Cc(),a=e?i.be().N():0,o=179*a/360,u=0;for(e&&(u=i.Wh()),i=0;i<s;){for(var f=i;f<s&&n[f].isNaN();++f)i++;var c=Math.min(h.length,s-i);if(0<c){f=1;for(var l=i+1;f<c;++f,++l)if(n[l].isNaN()){c=f;break}if(t.la.nz(h,n,i,c),t.Kh.geogToProj(r,c,h),e)for(f=0,l=i;f<c;f++){var p=h[f][0],b=t.Tb.sign(p);0>b*t.Tb.sign(n[l].x-u)&&Math.abs(p)>o&&(h[f][0]-=b*a);}t.la.mz(n,i,h,c),i+=c;}}}},n.Sr=function(i,n,s,h){var r=n.D();if(0!=r){var e=n.Va(0),a=i.ee,o=i.Je,u=a.hc().qk(),f=o.hc().qk(),c=a.Sd(),l=o.Sd();if(null==(i=i.He)||0==i.count()){for(s=u/f,h=(a.Cm()-o.Cm())*l,f=-90*c,i=90*c,u=!1,l=1,a=2*r;l<a;)c=e.get(l),(o=t.L.Yj(c,f,i))!=c&&(e.set(l,o),u=!0),l+=2;if(0!=h||1!=s)for(u=!0,f=new t.b,l=0;l<r;l++)e.mc(2*l,f),f.x*=s,f.x+=h,f.y*=s,e.Bu(2*l,f);u&&n.Oc(1993);}else {a=h.length,o=Math.min(r,a);var p=t.L.Xf(o),b=null,v=0,y=NaN,w=NaN,d=360*l,g=l/c;s&&(w=90*l,y=89.9*c,b=t.L.Xf(o));for(var x=!0,m=0;0!=r;){for(c=!1,e.dC(v<<1,o,h),l=0;l<o;l++)p[l]=h[l][0];if(s)for(l=0;l<o;l++){var j=Math.abs(h[l][1])-y;0<j&&(c=h[l][1],h[l][1]=t.Tb.hl(y,c),b[l]=t.Tb.hl(j,c),c=!0);}for(l=h[0][0],i.transform(h,o,u,f),x&&(m=h[0][0]-g*l,x=!1),l=0;l<o;l++)j=h[l][0]-p[l]*g-m,200<Math.abs(j)&&(h[l][0]=0<j?h[l][0]-d:h[l][0]+d);if(c){for(l=0;l<o;l++)0!=b[l]&&(h[l][1]+=g*b[l],h[l][1]>w?h[l][1]=w:h[l][1]<-w&&(h[l][1]=-w));for(c=0;c<o;c++)b[c]=0;}e.dD(v<<1,o,h),v+=o,r-=o,o=Math.min(r,a);}n.Oc(1993);}}},n.m_=function(i,n,s,h){if(n.u())return !1;var r=i.ee,e=i.Je,a=i.He,o=r.hc().qk(),u=e.hc().qk();if(h[0][0]=n.Ce(),h[0][1]=n.lf(),null!=a&&0<a.count()){i=!0;var f=!1,c=NaN,l=0,p=1;s&&(s=r.Sd(),p=(c=e.Sd())/s,c*=90,r=89.9*s,0<(e=Math.abs(h[0][1])-r)&&(f=h[0][1],h[0][1]=t.Tb.hl(r,f),l=t.Tb.hl(e,f),f=!0)),a.transform(h,1,o,u),f&&0!=l&&(h[0][1]+=p*l,h[0][1]>c?h[0][1]=c:h[0][1]<-c&&(h[0][1]=-c)),n.nb(h[0][0],h[0][1]);}else s=r.Sd(),i=t.L.Yj(h[0][1],-90*s,90*s)!=h[0][1],c=e.Sd(),a=(r.Cm()-e.Cm())*c,1==(o/=u)&&0==a||(i=!0,h[0][0]*=o,h[0][0]+=a,h[0][1]*=o),i&&n.nb(h[0][0],h[0][1]);return i},n.OM=function(i,n,s,h){if(i.Wq)h=90*i.ee.Sd(),t.la.iL(n,s,-h,h);else {var r=i.He,e=i.ee,a=i.Je;i=e.Ds();var o=a.Ds(),u=e.Sd(),f=90*u,c=a.Sd();if(null==r||0==r.count()){if(h=i/o,r=(e.Cm()-a.Cm())*c,t.la.iL(n,s,-f,f),0!=r||1!=h)for(c=0;c<s;c++)n[c].x*=h,n[c].x+=r,n[c].y*=h;}else {e=Math.min(s,h.length),f=t.L.Xf(e),a=360*c,u=c/u;for(var l=!0,p=0,b=0;0!=s;){for(c=0;c<e;c++)f[c]=n[c+b].x;for(c=n[0].x,t.la.nz(h,n,b,e),r.transform(h,e,i,o),t.la.mz(n,b,h,e),l&&(p=n[0].x-u*c,l=!1),c=0;c<e;c++){var v=n[b+c].x-f[c]*u-p;200<Math.abs(v)&&(n[b+c].x=0<v?n[b+c].x-a:n[b+c].x+a);}b+=e,s-=e,e=Math.min(s,h.length);}}}},n.W_=function(t,i,s,h){return n.vm(t,i,isNaN(s)?0:s,!0,h,null)},n.Mv=function(t,i){return t=t.nh(),isNaN(i)||t.rv(i,0),t},n.fS=function(i,s,h,r,e,a,o,u){for(var f=n.Mv(r,e),c=f.N(),l=c/360,p=n.bF*l,b=i.Va(0),v=s.Cc(),y=v?c/s.be().N():0,w=!1,d=new t.Ga(h.description),g=0,x=h.$();g<x;++g){var m=v,j=new t.Oa(h.description);if(j.addPath(h,g,!0),0!=o){var M=n.BE(!0,j,f.B-u,f.B,o);(w=w||M)&&(m=!1);}var k=-1;m&&(k=i.ua(g));var z=j.Va(0),N=j.D(),A=0,I=z.read(0),C=0;M=3*r.ce(0);var P=!1,q=new t.b;q.Tc();var D=new t.b;D.Tc();for(var B=!1,G=1;G<N;++G){var F=t.b.construct(z.Ig(2*G),z.Ig(2*G+1)),E=F.x,T=E+A,S=T-I;if(F.x=T,Math.abs(S)>p){if(m){var O=k+(G+1<N?G:0),H=b.read(2*(k+G-1));O=(b.read(2*O)-H)*y,Math.abs(S-O)>1*l&&(m=!1);}m||(T=E+(A-=t.Tb.hl(c,T-I)),++C,B=0!=A,F.x=T);}else P||t.la.mH(D,q,F,M)&&(P=!0);B&&z.write(2*G,T),I=T,D.K(q),q.K(F);}0<C&&j.Oc(1993),m=j.xa(0),N=j.xa(N-1),j=t.b.vb(m,N)<M?n.GR(j,r,e,a,P):n.HR(i,g,j,r,e),d.add(j,!1);}return e=r.ce(0),h=f.N()/180,n.tu(d,f,.1*e,!1),d=d!=(e=t.fh.clip(d,f,e,h,a)),i=i.Pe(),o=0,0<(u=e.Pe())&&0>i?o=1:0>=u&&0<i&&(0==u?(u=NaN,2==s.Fb()?u=s.sk().Pe():1==s.Fb()&&(u=s.be().jG()),i>.99*u&&(o=-1)):o=-1),0!=o&&((s=new t.Ga(e.description)).Np(f),(s=t.im.local().U(s,h,a)).add(e,!1),d=!0,e=s),d&&(e=t.jm.local().U(e,r,!1,a)),e},n.HR=function(i,s,h,r,e){var a=h.D(),o=h.xa(0),u=h.xa(a-1);e=(r=n.Mv(r,e)).N(),o=t.Tb.sign(u.x-o.x);var f=new t.g;h.Zb(f);var c=r.lk();if(u=c-e,c+=e,0<=o){var l=Math.ceil((u-f.o)/e);for(l*=e;u>f.o+l;)l+=e;for(;u<f.v+l;)l-=e;var p=l;720<f.N()&&(c=u+360*Math.ceil(f.N()/360));}else {for(l=Math.ceil((c-f.v)/e),l*=e;c<f.v+l;)l-=e;for(;c>f.o+l;)l+=e;p=l,720<f.N()&&(u=c-360*Math.ceil(f.N()/360));}l=o*e;var b=t.g.construct(f.o,f.A,f.v,f.B);b.move(p,0);var v=new t.xd;v.mg(p,0),h.Qc(v),(f=new t.Oa(h.description)).add(h,!1),p=h.xa(a-1),e=0;for(var y=f.xa(0).x;0<o?b.v<c:b.o>u;)b.move(l,0),v.Ob=l,h.Qc(v),y+=l,r.o<=y&&r.v>=y&&(e=f.D()-1),h.nb(0,p),p=h.xa(a-1),f.ds(h,0,0,a-1,!1);return h=new t.Ga(f.description),a=0<i.rm(s),h.add(f,!1),i=f.xa(0),u=f.xa(f.D()-1),s=h.$()-1,(0>o?a:!a)?(o=t.b.construct(u.x,r.B),h.Ii(o),o=t.b.construct(r.lk(),r.B),h.Ii(o),r=t.b.construct(i.x,r.B)):(o=t.b.construct(u.x,r.A),h.Ii(o),o=t.b.construct(r.lk(),r.A),h.Ii(o),r=t.b.construct(i.x,r.A)),h.Ii(r),h.jH(0,s,0),h.uP(e),h},n.GR=function(i,s,h,r,e){var a=new t.Ga(i.description);a.add(i,!1),a.mC(0,a.D()-1);var o=new t.g;a.Zb(o);var u=(h=n.Mv(s,h)).N(),f=Math.ceil((h.o-o.o)/u);for(f*=u;h.o>o.o+f;)f+=u;for(;h.o<o.v+f;)f-=u;if(0!=(f+=u)){o.move(f,0);var c=new t.xd;c.mg(f,0),a.Qc(c);}if(h.o<=o.o&&h.v>o.v)return e&&(e=a.Pe(),s=(a=t.jm.local().U(a,s,!0,r)).Pe(),(s=t.Tb.sign(e)!=t.Tb.sign(s))&&a.sK()),a;for((i=new t.Ga(i.description)).add(a,!1),e=e||o.N()>u-s.ce(0);o.o<h.v;)o.move(u,0),(c=new t.xd).mg(u,0),a.Qc(c),i.add(a,!1);return e&&(e=i.Pe(),i.np(1),s=(i=t.jm.local().U(i,s,!0,r)).Pe(),(s=t.Tb.sign(e)!=t.Tb.sign(s))&&i.sK()),i},n.BE=function(i,n,s,h,r){for(var e=n.Va(0),a=n.D(),o=!1,u=0;u<a;u++){var f=t.b.construct(e.Ig(2*u),e.Ig(2*u+1));if(0!=(1&r)&&f.y>=s){o=!0;break}if(0!=(2&r)&&f.y<=-s){o=!0;break}}if(!o)return !1;e=!1,i&&(e=n.ho(0)),a=(i=new t.Yc).Bb(n),o=i.Kb(a);var c=-1,l=!0,p=new t.b;p.Tc(),u=new t.Ra;for(var b=-1,v=i.Za(o);-1!=v;v=i.T(v)){f=i.xa(v);var y=0!=(1&r)&&90<=f.y?1:0;if(y|=0!=(2&r)&&f.y<=-s?2:0,0<c&&c!=y){if(p.x!=f.x){p.x=f.x,i.bj(i.Ma(v),u);var w=i.Bj(o,v,u);i.wf(w,p);}if(e)for(b=-1!=b?i.T(b):i.Za(o),w=i.Ma(v);b!=w;)b=i.pd(b,!1);b=-1;}0<y&&(f.y=t.Tb.hl(h,f.y),i.wf(v,f),l||c==y||(f.x!=p.x?(i.bj(v,u),w=i.Bj(o,v,u),i.nb(w,p.x,f.y),b=w):b=v)),c=y,p=f,l=!1;}if(e){if(-1!=b)for(b=i.T(b);-1!=b;)b=i.pd(b,!1);s=i.Za(o),i.wq(s,i.wj(o))||(i.bj(s,u),i.Bj(o,-1,u));}return i.ye(a).copyTo(n),!0},n.G0=function(t,i){var n=0,s=t.Ha(i);i+=1;for(var h=t.$();i<h&&!(0<t.rm(i));++i)n++;return 64<s&&3<=n},n.tA=function(s,h,r,e){var a=s;if(a.u()||r==i.DontClip)return a;var o=a.F();if(33==o)return a=[(e=a).w()],n.kH(a,1,h,r),a[0].isNaN()?e.Ka():e.nb(a[0]),s;var u=(s=h.hc()).Sd(),f=90*u,c=180*u,l=360*u,p=h.Wh(),b=.5*u,v=new t.g;a.s(v);var y=h.Bs(),w=h.aS(),d=197==y.F();if(h=new t.g,y.s(h),r==i.PannableFold&&(r=s.be().N(),h.o=p-.5*r,h.v=h.o+r),v.A<-f||v.B>f){if((new t.g).H(v.o-u,-f,v.v+u,f),(a=t.fh.Tp(a,h,s,NaN,0,e)).u())return a;a.s(v);}if(w&&(h.B<v.A||h.A>v.B))return a.Ea();if(v.N()>l&&(a=n.aq(a,p-c,l,s,!0,0,!0,e)).s(v),0!=(f=n.nP(v.o,v.v,h.o,h.v,l))&&v.move(f,0),v.v>h.v||v.o<h.o){if(v.v>h.v)for(;v.o>=h.v;)v.move(-l,0),f-=l;for(;v.o<h.v-l;)v.move(l,0),f+=l;}if(r=t.la.pv(s,y),0!=f&&((u=new t.xd).mg(f,0),a.Qc(u)),w){if(d&&h.contains(v))return a;for(w=[null,null],f=0;2>f;f++){if(d?u=t.R.Bc(o)?t.fh.clip(a,h,r,b,e):t.fh.clip(a,h,r,0,e):(u=t.ak.local().U(a,y,s,e))==y&&(u=t.R.$d(u)),h.o<=v.o&&h.v>=v.v||h.o>=v.o&&h.v<=v.v)return u;w[f]=u,0==f&&(v.move(-l,0),(u=new t.xd).mg(-l,0),a.Qc(u));}if(550==o)w[0].yd(w[1],0,-1);else if(t.R.Bc(o))w[0].add(w[1],!1);else {if(33!=o)throw t.f.Y("intersect_with_GCS_horizon: unexpected geometry type");w[0].u()&&(w[0]=w[1]);}return w[0]}if(h.B<v.A||h.A>v.B)return a;for(o=0;!a.u()&&v.v>h.o;)0!=o&&((u=new t.xd).mg(o,0),a.Qc(u)),t.kj.local().U(4,a,y,s,e)||y==(a=t.Cp.local().U(a,y,s,e))&&(a=t.R.$d(a)),0!=o&&((b=new t.xd).mg(-o,0),a.Qc(b)),o-=l,v.move(-l,0);return a},n.kH=function(s,h,r,e){if(0!=h&&e!=i.DontClip)if(e==i.PannableFold){e=r.XS();for(var a=h,o=0;o<h;o++)(s[o].y>e.B||s[o].y<e.A)&&(s[o].Tc(),a--);0!=a&&n.Iv(s,h,e.o,e.N());}else {var u=90*(e=r.Sd()),f=180*e;for(e*=360,a=h,o=0;o<h;o++)(s[o].y>u||s[o].y<-u)&&(s[o].Tc(),a--);if(0!=a){(a=new t.g).Ix(s,h),u=r.Bs();var c=r.Pv();o=197==u.F();var l=new t.g;if(u.s(l),!c||!(l.B<a.A||l.A>a.B))if(c)if(n.Iv(s,h,l.lk()-f,e),a=h,o)for(o=0;o<h;o++)l.contains(s[o])||(s[o].Tc(),a--);else for(r=t.la.pv(r.hc(),u),o=0;o<h;o++)(f=0!=t.Zc.Td(u,s[o],r))||(s[o].Tc(),a--);else for(n.Iv(s,h,-f,e),a=h,r=t.la.pv(r.hc(),u),o=0;o<h;o++)(f=s[o]).isNaN()&&a--,c=n.fF(f.x,l.o,l.v,e),f.x+=c,(f=0!=t.Zc.Td(u,f,r))&&(s[o].Tc(),a--);}}},n.b0=function(i,n,s){if(0<=n&&!i.Lb(n))return 0;var h=0;if(1==s.Fb())return n=90*s.Sd(),n-=2*n/Math.PI*t.Pc.PE_HORIZON_DELTA,s=new t.g,i.s(s),s.B>=n&&(h=1),s.A<=-n&&(h|=2),h;var r=s.xj();if(null==r)return 0;var e=null;0<=n&&(e=i);for(var a=0;2>a;a++)if((0<a?r.getSouthPoleLocation():r.getNorthPoleLocation())!=t.ng.PE_POLE_OUTSIDE_BOUNDARY){var o=s.bA(0<a);o.isNaN()||(h|=(o=0>n?t.Oe.yA(i,o,0):t.Oe.zA(e,n,o,0,null))<<a);}return h},n.aq=function(i,n,s,h,r,e,a,o){var u=i.F(),f=n+s;if(33===u){var c=(h=r?i:i.Cf()).Ce();return (c<n||c>=f||a&&c==f)&&(c+=Math.ceil((n-c)/s)*s,c=t.L.Yj(c,n,f),h.KC(c)),h}if(i.u())return i;if(c=new t.g,i.s(c),c.u())return i;var l=new t.uc;c.sn(l);var p=new t.uc;if(p.H(n,f),p.contains(l))return i;if((f=new t.g).H(c),550===u){for(o=(h=r?i:i.Cf()).Va(0),u=2*h.D(),f=!1,n=0;n<u;n+=2)((c=o.read(n))<p.fa||c>=p.ja||a&&c==p.ja)&&(f=!0,c+=Math.ceil((p.fa-c)/s)*s,c=p.su(c),o.write(n,c));return f&&h.Oc(1993),h}if(197==u)return s=r?i:i.Cf(),c.Ia(f),s.mp(c),s;var b=.1*Math.max(c.ca(),c.N());for(f.O(0,b),a=i,p=h.ce(0),i=t.Jh.local(),r=new t.xd;;){var v=Math.floor((l.fa-n)/s),y=Math.ceil((l.ja-n)/s);if(!(3<y-v))break;v=Math.floor(.5*(y+v)),f.o=c.o-b,f.v=n+s*v;var w=t.fh.clip(a,f,p,e,o);f.o=f.v,f.v=c.v+b;var d=t.fh.clip(a,f,p,e,o);r.mg((v-y)*s,0),d.Qc(r),1736==u?a=i.U(w,d,h,null):(a=w).add(d,!1),a.s(c),c.sn(l);}for(f.o=n,f.v=n+s,(n=new t.g).H(f),n.O(p,0),0!=(n=Math.floor((c.o-f.o)/s)*s)?(f.move(n,0),r.mg(-n,0)):r.zC(),n=1607==u?new t.Oa(a.description):new t.Ga(a.description),e=new t.g,l=new t.g;c.v>f.o;)(b=t.fh.clip(a,f,p,0,o)).s(l),(1607==u?!b.u()&&(l.N()>p||l.ca()>p):!b.u()&&(1736!=u||l.N()>p))&&(b.Qc(r),b.s(l),n.s(e),e.O(p,p),e.isIntersecting(l)&&1736==u?n=i.U(n,b,h,null):n.add(b,!1)),f.move(s,0),r.shift(-s,0);return n},n.Iv=function(i,n,s,h){for(var r=s+h,e=0;e<n;e++){var a=i[e].x;s<=a&&a<r||!(a<s||a>r||a==r)||(a+=Math.ceil((s-a)/h)*h,a=t.L.Yj(a,s,r),i[e].x=a);}},n.vm=function(i,s,h,r,e,a){if(!s.Cc())throw t.f.Y("fold_into_360_degree_range");if(i.u())return i;if(2==s.Fb()){h=s.Xv();var o=s.Wv()-h;}else {var u=s.Sd();o=360*u,h-=180*u;}return n.aq(i,h,o,s,r,e,!0,a)},n.dG=function(t,i,s,h){if(2==s.Fb())h=s.Xv(),s=s.Wv()-h;else {var r=s.Sd();s=360*r,h-=180*r;}n.Iv(t,i,h,s);},n.qj=function(i,n){var s=n.be();if(33==i.F()){var h=i.lf();return s.A<=h&&h<=s.B?i:i.Ea()}h=new t.g,i.s(h);var r=new t.g;return r.H(s),r.o=h.o,r.v=h.v,r.O(.01*r.ca(),0),s=t.la.Zy(n,h),r.contains(h)?i:t.fh.clip(i,r,s,0,null)},n.Er=function(t,i,n){return t>i.v&&t-i.v<n?i.v:t<i.o&&i.o-t<n?i.o:t},n.kZ=function(t,i,s,h){h.x=n.Er(t.x,i,s),h.y=t.y;},n.jZ=function(t,i,s,h){for(var r=0;r<i;r++)t[r].y<s.A||t[r].y>s.B?t[r].Tc():t[r].x=n.Er(t[r].x,s,h);},n.tu=function(i,s,h,r){if(!i.u()){var e=i.F();if(!r||1736!=e)if(t.R.Rg(e)){r=i.Va(0),e=0;for(var a=i.D();e<a;e++){var o=r.read(2*e),u=n.Er(o,s,h);u!=o&&r.write(2*e,u);}i.Oc(1993);}else if(197==e)r=new t.g,i.s(r),r.o=n.Er(r.o,s,h),r.v=n.Er(r.v,s,h),i.mp(r);else {if(33!=e)throw t.f.Y("internal error");i.KC(n.Er(i.Ce(),s,h));}}},n.PT=function(i,s,h,r){var e=new t.Yc,a=e.Bb(i);return i=t.la.pv(s,i),n.Ss(e,a,s,i,h,!0,r),e.ye(a)},n.Ss=function(i,h,r,e,a,o,u){if(!r.Cc())throw t.f.I("invalid call");var f=r.be(),c=r.hc(),l=c.wg().getDatum().getSpheroid();c=c.Ld().gi;var p=l.getFlattening();l=l.getAxis(),p*=2-p;var b=new t.uc;f.sn(b);var v=null,y=[[0,0],[0,0]];if(2==r.Fb()?(v=r.wg(),o?(y[0][0]=n.nn(u,b),y[0][1]=f.cq(),t.Kh.projToGeog(v,1,y),f=y[0][0]*c):(y[0][0]=f.lk(),y[0][1]=u,t.Kh.projToGeog(v,1,y),f=y[0][1]*c)):f=u*c,!o&&0!=f&&a!=s.GreatElliptic)throw t.f.Y("invalid argument");var w=new t.da,d=[0],g=new t.b,x=new t.b,m=new t.b,j=[null,null],M=new t.b,k=new t.b,z=new t.b,N=new t.b;for(h=i.Kb(h);-1!=h;h=i.Qb(h)){var A=i.Za(h);i.w(A,M);for(var I=!1,C=A=i.T(A);-1!=C;C=i.T(C)){if(C==A){if(I)break;I=!0;}if(i.w(C,k),o&&(e<u-M.x&&k.x-u>e||e<u-k.x&&M.x-u>e)||!o&&(0!=u||e<-M.y&&k.y>e||e<-k.y&&M.y>e))do{if(!(Math.abs(M.x-k.x)>=.5*b.N())){if(2==r.Fb()?(y[0][0]=n.nn(M.x,b),y[0][1]=M.y,y[1][0]=n.nn(k.x,b),y[1][1]=k.y,t.Kh.projToGeogCenter(v,2,y,0),z.x=y[0][0]*c,z.y=y[0][1]*c,N.y=y[1][1]*c):(z.x=M.x*c,z.y=M.y*c,N.y=k.y*c),N.x=2*(k.x-M.x)*Math.PI/b.N()+z.x,o){if(x.x=f,x.y=n.uA(l,p,z,N,f,a),isNaN(x.y))break;j[0]=x;var P=1;}else if(a==s.GreatElliptic){var q=[0,0];if(0==(P=t.ty.vA(p,z,N,f,q)))break;x.x=q[0],x.y=f,j[0]=x,2==P&&(m.x=q[1],m.y=f,j[1]=m);}else {if(x.x=n.sA(l,p,z,N,a),isNaN(x.x))break;x.y=0,j[0]=x,P=1;}var D=-1;for(q=0;q<P;q++){t.gb.Ad(l,p,z.x,z.y,N.x,N.y,w,null,null,a);var B=w.j;t.gb.Ad(l,p,z.x,z.y,j[q].x,j[q].y,w,null,null,a);var G=w.j;if(2==r.Fb()?(y[0][0]=j[q].x/c,y[0][1]=j[q].y/c,t.Kh.geogToProj(v,1,y),o?(g.y=y[0][1],g.x=u):(g.x=n.Ws(y[0][0],M.x,k.x,b),g.y=u)):o?(g.x=u,g.y=j[q].y/c):(g.x=n.Ws(j[q].x/c,M.x,k.x,b),g.y=u),d[0]=0<B?t.L.Yj(G/B,0,1):.5,0==d[0]||1==d[0])break;D>d[0]||(D=i.Ma(C),i.em(D,d,1),i.nb(i.T(D),g.x,g.y),D=d[0]);}}}while(0);M.K(k);}}},n.nn=function(t,i){var n=i.ja-i.fa;return i.su(t-Math.floor((t-i.fa)/n)*n)},n.Ws=function(i,n,s,h){var r=new t.uc;for(r.H(n,s),s=h.N(),i=Math.floor((i-n)/s)*s+i,r=r.hf();Math.abs(i-r)>Math.abs(i+s-r);)i+=s;return i},n.mo=function(i,n,s){return i=t.Nr.Wp(i),n=t.Nr.Ux(i,t.Nr.Wp(n)),0==(s=t.Nr.Ux(i,t.Nr.Wp(s)))||0<n&&0<s&&s<=n||0>n&&0>s&&s>=n},n.uA=function(i,h,r,e,a,o){if(o==s.GreatElliptic)return t.ty.lU(h,r,e,a);if(Math.abs(r.x-e.x)>=Math.PI||!n.mo(r.x,e.x,a))return NaN;if(r.x>e.x)var u=e;else u=r,r=e;e=new t.da;var f=new t.da,c=new t.da;t.gb.Ad(i,h,u.x,u.y,r.x,r.y,f,e,null,o);var l=f.j,p=0,b=1,v=new t.b;for(v.K(u);l*(b-p)>1e-12*i;){var y=.5*(p+b);if(t.gb.tj(i,h,u.x,u.y,l*y,e.j,f,c,o),v.x=f.j,v.y=c.j,v.x==a)break;if(n.mo(u.x,v.x,a))b=y;else {if(!n.mo(r.x,v.x,a))return NaN;p=y;}}return v.y},n.sA=function(i,n,h,r,e){if(e==s.GreatElliptic)return i=[0,0],t.ty.vA(n,h,r,0,i),i[0];if(h.y>r.y)var a=r;else a=h,h=r;if((r=new t.uc).H(a.y,h.y),!r.contains(0)||Math.abs(a.x-h.x)>=Math.PI)return NaN;if(a.x==h.x)return a.x;var o=new t.da,u=new t.da,f=new t.da;t.gb.Ad(i,n,a.x,a.y,h.x,h.y,u,o,null,e);var c=u.j,l=0,p=1,b=new t.b;for(b.K(a);c*(p-l)>1e-12*i;){var v=.5*(l+p);if(t.gb.tj(i,n,a.x,a.y,c*v,o.j,u,f,e),b.x=u.j,b.y=f.j,r.H(a.y,b.y),0==b.y)break;if(r.contains(0))p=v;else {if(r.H(h.y,b.y),!r.contains(0))return NaN;l=v;}}return b.x},n.L0=function(i,n,s,h,r,e){if(n==r&&s!=e)throw t.f.I();if(0>=h)return 0;if(i.xq()){e*=2;var a=2*s;for(i=2*h,s=0;s<i;s++)r[e+s]=n[a+s];return h}if(2>=h){for(e=[new t.b,new t.b],a=0;a<h;a++)e[a].ka(n[2*a],n[2*a+1]);for(n=t.Rr.local().KZ(i,e,h,e),a=0;a<h;a++)r[2*a]=e[a].x,r[2*a+1]=e[a].y;return n}var o=i.ee;a=i.Je;var u=o.Fb(),f=a.Fb();if(0==u&&u==f)return a=(i=o.qk())/(a=a.qk()),(i=new t.xd).Dr(a,a),i.LZ(n,s,r,e,h),h;(u=new t.Hd).le(3),u.resize(h),f=u.Va(0);var c=u.Va(3);a=0;for(var l=2*s,p=2*e;a<h;a++,p+=2){s=n[l++],o=n[l++];var b=p;(isNaN(s)||isNaN(o))&&(o=s=0,b=-1),c.write(a,b),f.write(2*a,s),f.write(2*a+1,o);}for(u.Oc(1993),n=t.Rr.local().U(u,i,null),a=0,e*=2;a<h;a++,e+=2)r[e]=NaN,r[e+1]=NaN;if(n.u())return 0;for(e=n.Va(3),i=n.Va(0),a=u=0,h=n.D();a<h;a++)-1!=(n=e.read(a))&&(s=i.read(2*a),o=i.read(2*a+1),r[n]=s,r[n+1]=o,u++);return u},n.NJ=function(i,n,s,h){if(!i.ee.Cc())return !1;var r=new t.Hd(n.description);if(r.yd(n,0,-1),h=t.Rr.local().U(r,i,h),r=n.D(),s.Ka(),r!=h.D())return !1;var e=new t.g;n.s(e);var a=new t.g;if(h.s(a),e=e.N(),a=a.N(),0!=e&&0!=a){if(a/=e,i=i.Je.nh().N()/i.ee.nh().N(),1e-10<Math.abs(a/i-1))return !1}else if(0!=e||0!=a)return !1;for(s.add(n,!1),n=new t.b,i=0;i<r;i++)h.w(i,n),s.nb(i,n);return !0},n.BO=function(t,i){return (t%=360*i)>=180*i&&(t-=360*i),t},n.LJ=function(s,h,r,e){if(r==i.Clip){var a=h.sk();197==a.F()?(r=new t.g,a.s(r),a=t.la.Zy(h,r),s=t.fh.clip(s,r,a,5e4*h.Am(),e)):t.kj.local().U(1,a,s,h,e)||(s=t.ak.local().U(s,a,h,e))==a&&(s=t.Zk.$d(s));}else h.Cc()&&(e=new t.g,s.Zb(e),h.be().contains(e)||(n.tu(s,h.be(),h.ce(0),!0),r==i.PannableFold&&(s=n.qj(s,h)),s=n.vm(s,h,0,!0,1e5*h.Am(),null)));return s},n.JE=function(i,n,s){var h=n.Cs();if(null==h)return i;var r=(n=n.hc()).be().N(),e=new t.g;i.Zb(e);var a=new t.uc;e.sn(a),e=h.Ba(),h=null;for(var o=new t.xd;e.Ta();)for(;e.Aa();){var u=e.aa(),f=u.Qf(0,0),c=new t.uc;for(c.H(f.fa,f.ja),f=0;c.ja>a.fa;)c.move(-r),--f;for(;c.fa<=a.ja;){if(c.isIntersecting(a)){null==h&&(h=new t.Oa);var l=t.zb.mQ(u.ac(),u.wc());0!=f&&(o.mg(f*r,0),l.Qc(o)),h.$b(l,!0);}c.move(r),++f;}}return null!=h?(n=t.la.pP(n,h),n=t.la.es(n),t.Hu.vQ(i,h,n,s)):i},n.nP=function(t,i,s,h,r){return t>=s&&i<=h?0:n.fF(.5*(i+t),s,h,r)},n.fF=function(i,n,s,h){return t.Tb.round((.5*(s+n)-i)/h)*h},n.gS=function(i,s,h,r,e,a,o,u){var f=n.Mv(r,e),c=f.N(),l=c/360,p=n.bF*l,b=i.Va(0),v=s.Cc(),y=v?c/s.be().N():0;s=i.Ea();for(var w=0,d=h.$();w<d;++w){var g=v,x=new t.Oa(h.description);x.addPath(h,w,!0);var m=h.Lb(w);0!=o&&(m=n.BE(m,x,f.B-u,f.B,o))&&(g=!1);var j=-1;m=x.D();var M=!1;g&&(j=i.ua(w),M=i.Lb(w));var k=x.Va(0),z=0,N=k.read(0),A=0,I=3*r.ce(0),C=!1,P=new t.b;P.Tc();var q=new t.b;q.Tc();for(var D=!1,B=1;B<m;++B){var G=t.b.construct(k.Ig(2*B),k.Ig(2*B+1)),F=G.x,E=F+z,T=E-N;if(G.x=E,Math.abs(T)>p){if(g){var S=j+B-1,O=j;(!M||B+1<m)&&(O+=B),S=b.read(2*S),O=(b.read(2*O)-S)*y,Math.abs(T-O)>1*l&&(v=!1);}g||(E=F+(z-=t.Tb.hl(c,E-N)),++A,D=0!=z,G.x=E);}else C||t.la.mH(P,q,G,I)&&(C=!0);D&&k.write(2*B,E),N=E,P.K(q),q.K(G);}0!=A&&x.Oc(1993),g=x.xa(0),m=x.xa(m-1),t.b.vb(g,m),x=n.IR(x,r,isNaN(e)?0:e,a),s.add(x,!1);}return i=r.ce(0),h=f.N()/180,n.tu(s,f,.1*i,!1),t.fh.clip(s,f,i,h,a)},n.IR=function(t,i,s,h){return n.vm(t,i,s,!0,0,h)},n.iU=function(i,n,s,h){var r=i.F();if(1736==r)for(n=null!=n?n.ce(0):0,r=0;r<h;r++)1!=t.Zc.Td(i,s[r],n)&&s[r].Tc();else {if(197!=r)throw t.f.I();for(r=0;r<h;r++)i.nQ(s[r])||s[r].Tc();}},n.fl=function(i,n,s,h){if(32>s)for(var r=new t.Ra,e=0;e<s;e++)r.nb(n[e]),i.fl(r,h).w(n[e]);else {var a=new t.Hd;for(a.le(3),a.tE(n,s),r=a.Va(3),e=0;e<s;e++)r.write(e,e);for(e=i.fl(a,h),i=e.Va(0),r=e.Va(3),h=t.b.construct(NaN,NaN),a=0;a<s;a++)n[a]=h;for(s=e.D(),e=0;e<s;e++)h=r.read(e),i.mc(2*e,n[h]);}},n.el=function(i,n,s,h){if(32>s)for(var r=new t.Ra,e=0;e<s;e++)r.nb(n[e]),i.el(r,h).w(n[e]);else {var a=new t.Hd;for(a.le(3),a.tE(n,s),r=a.Va(3),e=0;e<s;e++)r.write(e,e);for(e=i.el(a,h),i=e.Va(0),r=e.Va(3),h=t.b.construct(NaN,NaN),a=0;a<s;a++)n[a]=h;for(s=e.D(),e=0;e<s;e++)h=r.read(e),i.mc(2*e,n[h]);}},n.G_="ABCDEFGHIJKLMNOPQRSTUVWXYZ",n.bF=210,n}();}(W||(W={})),function(t){var i;(i=t.bN||(t.bN={}))[i.rightSide=1]="rightSide";var n=function(){function i(i,n,s){this.jt=new t.b,void 0===i?this.ap=-1:(this.jt.K(i),this.ap=n,this.La=s,this.Uw=0);}return i.prototype.$K=function(t){this.Uw=t?1|this.Uw:-2&this.Uw;},i.prototype.u=function(){return 0>this.ap},i.prototype.Lz=function(){if(this.u())throw t.f.Y("invalid call");return new t.Ra(this.jt.x,this.jt.y)},i.prototype.Ua=function(){if(this.u())throw t.f.Y("invalid call");return this.ap},i.prototype.Oz=function(){if(this.u())throw t.f.Y("invalid call");return this.La},i.prototype.AA=function(){return 0!=(1&this.Uw)},i.prototype.Jy=function(t,i,n,s){this.jt.x=t,this.jt.y=i,this.ap=n,this.La=s;},i}();t.lm=n;}(W||(W={})),function(t){var i=function(){function i(){}return i.prototype.wn=function(i,n){this.Ah.resize(0),this.Oi.length=0,this.Ak=-1,i.Zb(this.Mk),this.Mk.O(n,n),this.Mk.isIntersecting(this.Hb.Da)?((this.dt=t.R.Ic(i.F()))?(this.II=i.ac(),this.HI=i.wc(),this.qa=n):this.qa=NaN,this.Ah.add(this.Hb.tf),this.Oi.push(this.Hb.Da),this.yt=this.Hb.As(this.Hb.tf)):this.yt=-1;},i.prototype.vi=function(t,i){this.Ah.resize(0),this.Oi.length=0,this.Ak=-1,this.Mk.H(t),this.Mk.O(i,i),this.qa=NaN,this.Mk.isIntersecting(this.Hb.Da)?(this.Ah.add(this.Hb.tf),this.Oi.push(this.Hb.Da),this.yt=this.Hb.As(this.Hb.tf),this.dt=!1):this.yt=-1;},i.prototype.next=function(){if(0==this.Ah.size)return -1;this.Ak=this.yt;var i=null,s=null,h=null,r=null;this.dt&&(i=new t.b,s=new t.b,h=new t.g);for(var e=!1;!e;){for(;-1!=this.Ak;){var a=this.Hb.Hz(this.Hb.Ov(this.Ak));if(a.isIntersecting(this.Mk)){if(!this.dt){e=!0;break}if(i.K(this.II),s.K(this.HI),h.H(a),h.O(this.qa,this.qa),0<h.ez(i,s)){e=!0;break}}this.Ak=this.Hb.Vv(this.Ak);}if(-1==this.Ak){a=this.Ah.Gc();var o=this.Oi[this.Oi.length-1];for(null==r&&((r=[])[0]=new t.g,r[1]=new t.g,r[2]=new t.g,r[3]=new t.g),n.IK(o,r),this.Ah.Rf(),--this.Oi.length,o=0;4>o;o++){var u=this.Hb.fq(a,o);if(-1!=u&&0<this.Hb.mT(u)&&r[o].isIntersecting(this.Mk))if(this.dt){if(i.K(this.II),s.K(this.HI),h.H(r[o]),h.O(this.qa,this.qa),0<h.ez(i,s)){var f=new t.g;f.H(r[o]),this.Ah.add(u),this.Oi.push(f);}}else (f=new t.g).H(r[o]),this.Ah.add(u),this.Oi.push(f);}if(0==this.Ah.size)return -1;this.Ak=this.Hb.As(this.Ah.get(this.Ah.size-1));}}return this.yt=this.Hb.Vv(this.Ak),this.Ak},i.lQ=function(n,s,h){var r=new i;return r.Hb=n,r.Mk=new t.g,r.Ah=new t.ha(0),r.Oi=[],r.wn(s,h),r},i.kQ=function(n,s,h){var r=new i;return r.Hb=n,r.Mk=new t.g,r.Ah=new t.ha(0),r.Oi=[],r.vi(s,h),r},i.jQ=function(n){var s=new i;return s.Hb=n,s.Mk=new t.g,s.Ah=new t.ha(0),s.Oi=[],s},i}();t.q_=i;var n=function(){function n(i,n){this.sf=new t.ad(11),this.ei=new t.ad(5),this.et=[],this.Qw=new t.ha(0),this.Da=new t.g,this.Uk(i,n);}return n.prototype.reset=function(t,i){this.sf.rj(!1),this.ei.rj(!1),this.et.length=0,this.Qw.clear(!1),this.Uk(t,i);},n.prototype.Gi=function(t,i){return this.gw(t,i,0,this.Da,this.tf,!1,-1)},n.prototype.fw=function(t,i,n){n=-1==n?this.tf:this.HG(n);var s=this.ca(n),h=this.CS(n);return this.gw(t,i,s,h,n,!1,-1)},n.prototype.ga=function(t){return this.xS(t)},n.prototype.sG=function(t){return this.Hz(this.Ov(t))},n.prototype.ca=function(t){return this.Qv(t)},n.prototype.CS=function(i){var n=new t.g;n.H(this.Da);var s=this.Qv(i);i=this.CG(i);for(var h=0;h<2*s;h+=2){var r=t.L.truncate(3&i>>h);0==r?(n.o=.5*(n.o+n.v),n.A=.5*(n.A+n.B)):1==r?(n.v=.5*(n.o+n.v),n.A=.5*(n.A+n.B)):(2==r?n.v=.5*(n.o+n.v):n.o=.5*(n.o+n.v),n.B=.5*(n.A+n.B));}return n},n.prototype.mT=function(t){return this.iA(t)},n.prototype.LS=function(t,n){return i.lQ(this,t,n)},n.prototype.Vz=function(t,n){return i.kQ(this,t,n)},n.prototype.getIterator=function(){return i.jQ(this)},n.prototype.Uk=function(i,n){if(0>n||32<2*n)throw t.f.I("invalid height");this.UU=n,this.Da.H(i),this.tf=this.sf.Ke(),this.Rx(this.tf,0),this.Kx(this.tf,0),this.RK(this.tf,0),this.OK(this.tf,0);},n.prototype.gw=function(i,s,h,r,e,a,o){if(!r.contains(s))return 0==h?-1:this.gw(i,s,0,this.Da,this.tf,a,o);if(!a)for(var u=e;-1!=u;u=this.YS(u))this.Rx(u,this.iA(u)+1);(u=new t.g).H(r),r=e;var f=[];for(f[0]=new t.g,f[1]=new t.g,f[2]=new t.g,f[3]=new t.g;h<this.UU&&this.rP(r);h++){n.IK(u,f);for(var c=!1,l=0;4>l;l++)if(f[l].contains(s)){c=!0;var p=this.fq(r,l);-1==p&&(p=this.BQ(r,l)),this.Rx(p,this.iA(p)+1),r=p,u.H(f[l]);break}if(!c)break}return this.NT(i,s,h,u,r,a,e,o)},n.prototype.NT=function(t,i,n,s,h,r,e,a){var o=this.yG(h);if(r){if(h==e)return a;this.cR(a),r=a;}else r=this.EQ(),this.xC(r,t),this.pY(this.Ov(r),i);return this.PY(r,h),-1!=o?(this.Ox(r,o),this.Lx(o,r)):this.KK(h,r),this.AC(h,r),this.Kx(h,this.Tv(h)+1),this.qP(h)&&this.YR(n,s,h),r},n.prototype.cR=function(t){var i=this.HG(t),n=this.yG(i),s=this.eT(t),h=this.Vv(t);this.As(i)==t?(-1!=h?this.Ox(h,-1):this.AC(i,-1),this.KK(i,h)):n==t?(this.Lx(s,-1),this.AC(i,s)):(this.Ox(h,s),this.Lx(s,h)),this.Ox(t,-1),this.Lx(t,-1),this.Kx(i,this.Tv(i)-1);},n.IK=function(t,i){var n=.5*(t.o+t.v),s=.5*(t.A+t.B);i[0].H(n,s,t.v,t.B),i[1].H(t.o,s,n,t.B),i[2].H(t.o,t.A,n,s),i[3].H(n,t.A,t.v,s);},n.prototype.qP=function(t){return 8==this.Tv(t)&&!this.TG(t)},n.prototype.YR=function(t,i,n){var s=this.As(n);do{var h=this.Ov(s),r=this.ei.S(s,0);h=this.Hz(h),this.gw(r,h,t,i,n,!0,s),s=r=this.Vv(s);}while(-1!=s)},n.prototype.rP=function(t){return 8<=this.Tv(t)||this.TG(t)},n.prototype.TG=function(t){return -1!=this.fq(t,0)||-1!=this.fq(t,1)||-1!=this.fq(t,2)||-1!=this.fq(t,3)},n.prototype.BQ=function(t,i){var n=this.sf.Ke();return this.tY(t,i,n),this.Rx(n,0),this.Kx(n,0),this.Wk(n,t),this.OK(n,this.Qv(t)+1),this.RK(n,i<<2*this.Qv(t)|this.CG(t)),n},n.prototype.EQ=function(){var i=this.ei.Ke();if(0<this.Qw.size){var n=this.Qw.Gc();this.Qw.Rf();}else n=this.et.length,this.et.push(new t.g);return this.qY(i,n),i},n.prototype.fq=function(t,i){return this.sf.S(t,i)},n.prototype.tY=function(t,i,n){this.sf.P(t,i,n);},n.prototype.As=function(t){return this.sf.S(t,4)},n.prototype.KK=function(t,i){this.sf.P(t,4,i);},n.prototype.yG=function(t){return this.sf.S(t,5)},n.prototype.AC=function(t,i){this.sf.P(t,5,i);},n.prototype.CG=function(t){return this.sf.S(t,6)},n.prototype.RK=function(t,i){this.sf.P(t,6,i);},n.prototype.Tv=function(t){return this.sf.S(t,7)},n.prototype.iA=function(t){return this.sf.S(t,8)},n.prototype.Kx=function(t,i){this.sf.P(t,7,i);},n.prototype.Rx=function(t,i){this.sf.P(t,8,i);},n.prototype.YS=function(t){return this.sf.S(t,9)},n.prototype.Wk=function(t,i){this.sf.P(t,9,i);},n.prototype.Qv=function(t){return this.sf.S(t,10)},n.prototype.OK=function(t,i){this.sf.P(t,10,i);},n.prototype.xS=function(t){return this.ei.S(t,0)},n.prototype.xC=function(t,i){this.ei.P(t,0,i);},n.prototype.eT=function(t){return this.ei.S(t,1)},n.prototype.Vv=function(t){return this.ei.S(t,2)},n.prototype.Ox=function(t,i){this.ei.P(t,1,i);},n.prototype.Lx=function(t,i){this.ei.P(t,2,i);},n.prototype.HG=function(t){return this.ei.S(t,3)},n.prototype.PY=function(t,i){this.ei.P(t,3,i);},n.prototype.Ov=function(t){return this.ei.S(t,4)},n.prototype.qY=function(t,i){this.ei.P(t,4,i);},n.prototype.Hz=function(t){return this.et[t]},n.prototype.pY=function(t,i){this.et[t].H(i);},n}();t.Fp=n;}(W||(W={})),function(t){var i;(i=t.jM||(t.jM={}))[i.Outside=0]="Outside",i[i.Inside=1]="Inside",i[i.Border=2]="Border";var n=function(){function t(t,i){this.hV=i,this.ai=t;}return t.prototype.Gx=function(t,i){this.WH!=i&&t.flush(),this.WH=i;},t.prototype.UF=function(t,i){for(var n=0;n<i;)for(var s=t[n++],h=t[n++],r=t[n++]*this.hV;s<h;s++)this.ai[r+(s>>4)]|=this.WH<<2*(15&s);},t}();t.r_=n;var s=function(){function i(t,i,n){this.ai=null,this.CB=this.Pk=this.SI=this.QI=this.mt=this.dI=this.Of=this.gn=0,this.Xi=this.Qk=this.El=null,this.nA(t,i,n);}return i.create=function(n,s,h){if(!i.az(n))throw t.f.I();return i.GQ(n,s,h)},i.P_=function(n,s,h){if(!i.az(n))throw t.f.I();return i.HQ(n,s,h)},i.VX=function(i){switch(i){case 0:i=1024;break;case 1:i=16384;break;case 2:i=262144;break;default:throw t.f.Y("Internal Error")}return i},i.az=function(t){return !(t.u()||1607!=t.F()&&1736!=t.F())},i.prototype.DR=function(i,n){n=n.Ba();for(var s=new t.b,h=new t.b;n.Ta();)for(;n.Aa();){var r=n.aa();if(322!=r.F())throw t.f.Y("Internal Error");i.Zj(r.ac(),s),i.Zj(r.wc(),h),this.Xi.Py(s.x,s.y,h.x,h.y);}this.Xi.mK(t.uy.iy);},i.prototype.ER=function(){throw t.f.Y("Internal Error")},i.prototype.xz=function(i,n){for(var s=1;4>s;s++)i.Py(n[s-1].x,n[s-1].y,n[s].x,n[s].y);i.Py(n[3].x,n[3].y,n[0].x,n[0].y),this.Xi.mK(t.uy.iy);},i.prototype.xL=function(i,n,s){for(var h=[null,null,null,null],r=0;r<h.length;r++)h[r]=new t.b;n=n.Ba(),s=this.Qk.MZ(s)+1.5,r=new t.b;for(var e=new t.b,a=new t.b,o=new t.b,u=new t.b,f=new t.g,c=new t.b;n.Ta();){var l=!1,p=!0;for(c.ka(0,0);n.Aa();){var b=n.aa();if(o.x=b.ra,o.y=b.na,u.x=b.pa,u.y=b.ma,f.Ka(),f.Nb(o.x,o.y),f.Sk(u.x,u.y),this.El.tH(f)){this.Qk.Zj(u,u),p?(this.Qk.Zj(o,o),c.K(o),p=!1):o.K(c),r.tc(u,o);var v=.5>(b=r.length());0==b?r.ka(1,0):(v||c.K(u),r.scale(s/b),e.ka(-r.y,r.x),a.ka(r.y,-r.x),o.sub(r),u.add(r),h[0].add(o,e),h[1].add(o,a),h[2].add(u,a),h[3].add(u,e),v?l=!0:this.xz(i,h));}else l&&(this.xz(i,h),l=!1),p=!0;}l&&this.xz(i,h);}},i.prototype.aD=function(i){return t.L.truncate(i*this.dI+this.QI)},i.prototype.bD=function(i){return t.L.truncate(i*this.mt+this.SI)},i.GQ=function(t,n,s){return new i(t,n,s)},i.HQ=function(t,n,s){return new i(t,n,s)},i.prototype.nA=function(i,s,h){this.Of=Math.max(t.L.truncate(2*Math.sqrt(h)+.5),64),this.gn=t.L.truncate((2*this.Of+31)/32),this.El=new t.g,this.Pk=s,h=0;for(var r=this.Of,e=this.gn;8<=r;)h+=r*e,r=t.L.truncate(r/2),e=t.L.truncate((2*r+31)/32);this.ai=t.L.Xf(h,0),this.Xi=new t.uy,h=new n(this.ai,this.gn,this),this.Xi.dZ(this.Of,this.Of,h),i.s(this.El),this.El.O(s,s),r=new t.g;var a=s*(e=t.g.construct(1,1,this.Of-2,this.Of-2)).N();switch(s*=e.ca(),r.H(this.El.hf(),Math.max(a,this.El.N()),Math.max(s,this.El.ca())),this.CB=this.Pk,this.Qk=new t.xd,this.Qk.KT(r,e),new t.xd,i.F()){case 550:h.Gx(this.Xi,2),this.ER();break;case 1607:h.Gx(this.Xi,2),this.xL(this.Xi,i,this.CB);break;case 1736:h.Gx(this.Xi,1),this.DR(this.Qk,i),h.Gx(this.Xi,2),this.xL(this.Xi,i,this.CB);}this.dI=this.Qk.fb,this.mt=this.Qk.bb,this.QI=this.Qk.Ob,this.SI=this.Qk.Sb,this.hP();},i.prototype.hP=function(){this.Xi.flush();for(var i=0,n=this.Of*this.gn,s=this.Of,h=t.L.truncate(this.Of/2),r=this.gn,e=t.L.truncate((2*h+31)/32);8<s;){for(s=0;s<h;s++)for(var a=2*s,o=2*s+1,u=0;u<h;u++){var f=2*u,c=2*u+1,l=f>>4;f=2*(15&f);var p=c>>4;c=2*(15&c);var b=this.ai[i+r*a+l]>>f&3;b|=this.ai[i+r*a+p]>>c&3,b|=this.ai[i+r*o+l]>>f&3,b|=this.ai[i+r*o+p]>>c&3,this.ai[n+e*s+(u>>4)]|=b<<2*(15&u);}s=h,r=e,i=n,h=t.L.truncate(s/2),e=t.L.truncate((2*h+31)/32),n=i+r*s;}},i.prototype.Xl=function(t,i){return this.El.contains(t,i)?(t=this.aD(t),i=this.bD(i),0>t||t>=this.Of||0>i||i>=this.Of||0==(i=this.ai[this.gn*i+(t>>4)]>>2*(15&t)&3)?0:1==i?1:2):0},i.prototype.rn=function(i){if(!i.Ia(this.El))return 0;var n=this.aD(i.o),s=this.aD(i.v),h=this.bD(i.A);if(i=this.bD(i.B),0>n&&(n=0),0>h&&(h=0),s>=this.Of&&(s=this.Of-1),i>=this.Of&&(i=this.Of-1),n>s||h>i)return 0;for(var r=Math.max(s-n,1)*Math.max(i-h,1),e=0,a=this.gn,o=this.Of,u=0;;){if(32>r||16>o){for(r=h;r<=i;r++)for(var f=n;f<=s;f++)if(1<(u=this.ai[e+a*r+(f>>4)]>>2*(15&f)&3))return 2;if(0==u)return 0;if(1==u)return 1}e+=a*o,o=t.L.truncate(o/2),a=t.L.truncate((2*o+31)/32),n=t.L.truncate(n/2),h=t.L.truncate(h/2),s=t.L.truncate(s/2),i=t.L.truncate(i/2),r=Math.max(s-n,1)*Math.max(i-h,1);}},i.prototype.hT=function(){return this.Of*this.gn},i}();t.sy=s;}(W||(W={})),function(t){var i;(i=t.cN||(t.cN={}))[i.contains=1]="contains",i[i.within=2]="within",i[i.equals=3]="equals",i[i.disjoint=4]="disjoint",i[i.touches=8]="touches",i[i.crosses=16]="crosses",i[i.overlaps=32]="overlaps",i[i.unknown=0]="unknown",i[i.intersects=1073741824]="intersects";var n=function(){function t(){}return t.construct=function(i,n,s,h,r,e,a,o){var u=new t;return u.Ww=i,u.Zm=n,u.Mj=s,u.Yi=h,u.rI=r,u.v0=e,u.w0=a,u.x0=o,u},t}();t.Du=function(){function i(){}return i.oE=function(n,s,h){if(i.bz(n)){var r=t.la.Ng(s,n,!1);s=!1,t.Yk.mF(n)&&(s=s||n.Tu(r,h)),1736!=(r=n.F())&&1607!=r||!t.Yk.kF(n)||0==h||(s=s||n.lj(h)),1736!=r&&1607!=r||!t.Yk.lF(n)||0==h||s||n.oN();}},i.bz=function(i){return t.Yk.mF(i)||t.Yk.kF(i)||t.Yk.lF(i)},i}();var s=function(){function i(){this.yh=[];}return i.iC=function(n,s,h,r,e){var a=n.F(),o=s.F();if(197==a){if(197==o)return i.ZX(n,s,h,r);if(33==o)return 2==r?r=1:1==r&&(r=2),i.lK(s,n,h,r)}else if(33==a){if(197==o)return i.lK(n,s,h,r);if(33==o)return i.aY(n,s,h,r)}if(n.u()||s.u())return 4==r;var u=new t.g;n.s(u);var f=new t.g;s.s(f);var c=new t.g;if(c.H(u),c.Nb(f),h=t.la.Qd(h,c,!1),i.ik(u,f,h))return 4==r;switch(u=!1,t.Zk.Ic(a)&&((a=new t.Oa(n.description)).$b(n,!0),n=a,a=1607),t.Zk.Ic(o)&&((o=new t.Oa(s.description)).$b(s,!0),s=o,o=1607),197!=a&&197!=o?(n.pb()<s.pb()||33==a&&550==o)&&(2==r?r=1:1==r&&(r=2)):1736!=a&&197!=o&&(2==r?r=1:1==r&&(r=2)),a){case 1736:switch(o){case 1736:u=i.$t(n,s,h,r,e);break;case 1607:u=i.on(n,s,h,r,e);break;case 33:u=i.Zt(n,s,h,r);break;case 550:u=i.Yt(n,s,h,r,e);break;case 197:u=i.xJ(n,s,h,r,e);}break;case 1607:switch(o){case 1736:u=i.on(s,n,h,r,e);break;case 1607:u=i.RB(n,s,h,r,e);break;case 33:u=i.bu(n,s,h,r,e);break;case 550:u=i.au(n,s,h,r,e);break;case 197:u=i.DJ(n,s,h,r);}break;case 33:switch(o){case 1736:u=i.Zt(s,n,h,r);break;case 1607:u=i.bu(s,n,h,r,e);break;case 550:u=i.Ut(s,n,h,r);}break;case 550:switch(o){case 1736:u=i.Yt(s,n,h,r,e);break;case 1607:u=i.au(s,n,h,r,e);break;case 550:u=i.JB(n,s,h,r,e);break;case 33:u=i.Ut(n,s,h,r);break;case 197:u=i.XI(n,s,h,r);}break;case 197:switch(o){case 1736:u=i.xJ(s,n,h,r,e);break;case 1607:u=i.DJ(s,n,h,r);break;case 550:u=i.XI(s,n,h,r);}}return u},i.ZX=function(n,s,h,r){if(n.u()||s.u())return 4==r;var e=new t.g,a=new t.g,o=new t.g;switch(n.s(e),s.s(a),o.H(e),o.Nb(a),n=t.la.Qd(h,o,!1),r){case 4:return i.ik(e,a,n);case 2:return i.XF(a,e,n);case 1:return i.XF(e,a,n);case 3:return i.jk(e,a,n);case 8:return i.nR(e,a,n);case 32:return i.mR(e,a,n);case 16:return i.lR(e,a,n)}return !1},i.lK=function(n,s,h,r){if(n.u()||s.u())return 4==r;n=n.w();var e=new t.g,a=new t.g;switch(s.s(e),a.H(n),a.Nb(e),s=t.la.Qd(h,a,!1),r){case 4:return i.xx(n,e,s);case 2:return i.PB(n,e,s);case 1:return i.iW(n,e,s);case 3:return i.mJ(n,e,s);case 8:return i.OB(n,e,s)}return !1},i.aY=function(n,s,h,r){if(n.u()||s.u())return 4==r;n=n.w(),s=s.w();var e=new t.g;switch(e.H(n),e.Nb(s),h=t.la.Qd(h,e,!1),r){case 4:return i.jW(n,s,h);case 2:return i.lJ(s,n,h);case 1:return i.lJ(n,s,h);case 3:return i.nJ(n,s,h)}return !1},i.$t=function(t,n,s,h,r){switch(h){case 4:return i.DW(t,n,s);case 2:return i.yx(n,t,s,r);case 1:return i.yx(t,n,s,r);case 3:return i.GW(t,n,s);case 8:return i.OW(t,n,s);case 32:return i.JW(t,n,s,r)}return !1},i.on=function(t,n,s,h,r){switch(h){case 4:return i.EW(t,n,s);case 1:return i.QB(t,n,s,r);case 8:return i.PW(t,n,s,r);case 16:return i.yW(t,n,s)}return !1},i.Zt=function(t,n,s,h){switch(h){case 4:return i.BW(t,n,s);case 1:return i.vW(t,n,s);case 8:return i.NW(t,n,s)}return !1},i.Yt=function(t,n,s,h){switch(h){case 4:return i.AW(t,n,s);case 1:return i.uW(t,n,s);case 8:return i.MW(t,n,s);case 16:return i.xW(t,n,s)}return !1},i.xJ=function(t,n,s,h,r){if(i.zW(t,n,s))return 4==h;if(4==h)return !1;switch(h){case 2:return i.QW(t,n,s);case 1:return i.tW(t,n,s);case 3:return i.FW(t,n,s);case 8:return i.LW(t,n,s,r);case 32:return i.IW(t,n,s,r);case 16:return i.wW(t,n,s,r)}return !1},i.RB=function(t,n,s,h){switch(h){case 4:return i.ZW(t,n,s);case 2:return i.BJ(n,t,s);case 1:return i.BJ(t,n,s);case 3:return i.aX(t,n,s);case 8:return i.EJ(t,n,s);case 32:return i.eX(t,n,s);case 16:return i.CJ(t,n,s)}return !1},i.bu=function(t,n,s,h){switch(h){case 4:return i.YW(t,n,s);case 1:return i.TW(t,n,s);case 8:return i.iX(t,n,s)}return !1},i.au=function(t,n,s,h){switch(h){case 4:return i.XW(t,n,s);case 1:return i.SW(t,n,s);case 8:return i.hX(t,n,s);case 16:return i.VW(t,n,s)}return !1},i.DJ=function(t,n,s,h){if(i.WW(t,n,s))return 4==h;if(4==h)return !1;switch(h){case 2:return i.jX(t,n,s);case 1:return i.RW(t,n,s);case 3:return i.$W(t,n,s);case 8:return i.gX(t,n,s);case 32:return i.dX(t,n,s);case 16:return i.UW(t,n,s)}return !1},i.JB=function(t,n,s,h){switch(h){case 4:return i.AV(t,n,s);case 2:return i.UI(n,t,s);case 1:return i.UI(t,n,s);case 3:return i.CV(t,n,s);case 32:return i.IV(t,n,s)}return !1},i.Ut=function(t,n,s,h){switch(h){case 4:return i.VI(t,n,s);case 2:return i.MV(t,n,s);case 1:return i.xV(t,n,s);case 3:return i.tx(t,n,s)}return !1},i.XI=function(t,n,s,h){switch(h){case 4:return i.zV(t,n,s);case 2:return i.LV(t,n,s);case 1:return i.wV(t,n,s);case 3:return i.BV(t,n,s);case 8:return i.KV(t,n,s);case 16:return i.yV(t,n,s)}return !1},i.GW=function(n,s,h){var r=new t.g,e=new t.g;return n.s(r),s.s(e),!!i.jk(r,e,h)&&(4!=(r=i.qc(n,s,!1))&&1!=r&&2!=r&&(!!i.TI(n,s,h)||(r=n.Pb(),e=s.Pb(),!(Math.abs(r-e)>4*Math.max(n.D(),s.D())*h)&&i.GA(n,s,h,!0))))},i.DW=function(t,n,s){var h=i.qc(t,n,!0);return 4==h||1!=h&&2!=h&&1073741824!=h&&i.vJ(t,n,s)},i.OW=function(t,n,s){var h=i.qc(t,n,!1);return 4!=h&&1!=h&&2!=h&&i.zJ(t,n,s,null)},i.JW=function(t,n,s,h){var r=i.qc(t,n,!1);return 4!=r&&1!=r&&2!=r&&i.wJ(t,n,s,h)},i.yx=function(n,s,h,r){var e=new t.g,a=new t.g;return n.s(e),s.s(a),!!i.yc(e,a,h)&&(4!=(e=i.qc(n,s,!1))&&2!=e&&(1==e||i.sJ(n,s,h,r)))},i.EW=function(t,n,s){var h=i.qc(t,n,!0);return 4==h||1!=h&&1073741824!=h&&i.vJ(t,n,s)},i.PW=function(t,n,s,h){var r=i.qc(t,n,!1);return 4!=r&&1!=r&&i.AJ(t,n,s,h)},i.yW=function(t,n,s){var h=i.qc(t,n,!1);return 4!=h&&1!=h&&i.uJ(t,n,s,null)},i.QB=function(n,s,h,r){var e=new t.g,a=new t.g;return n.s(e),s.s(a),!!i.yc(e,a,h)&&(4!=(e=i.qc(n,s,!1))&&(1==e||i.tJ(n,s,h,r)))},i.BW=function(i,n,s){return 0==t.Zc.wH(i,n,s)},i.NW=function(t,n,s){return n=n.w(),i.yJ(t,n,s)},i.vW=function(t,n,s){return n=n.w(),i.rJ(t,n,s)},i.AW=function(n,s,h){var r=i.qc(n,s,!1);if(4==r)return !0;if(1==r)return !1;r=new t.g,n.s(r),r.O(h,h);for(var e=new t.b,a=0;a<s.D();a++)if(s.w(a,e),r.contains(e)){var o=t.Zc.Td(n,e,h);if(1==o||2==o)return !1}return !0},i.MW=function(i,n,s){var h=this.qc(i,n,!1);if(4==h||1==h)return !1;h=new t.g,i.s(h),h.O(s,s);for(var r=!1,e=i,a=!1,o=0;o<n.D();o++){var u=n.xa(o);if(h.contains(u))if(2==(u=t.Zc.Td(e,u,s)))r=!0;else if(1==u)return !1;a||(!t.Oe.Wl(i,n.D()-1)||null!=i.ib&&null!=i.ib.Hb?e=i:(e=new t.Ga,i.copyTo(e),e.lj(1)),a=!0);}return !!r},i.xW=function(i,n,s){var h=this.qc(i,n,!1);if(4==h||1==h)return !1;var r=new t.g;h=new t.g;var e=new t.g;i.s(r),n.s(e),h.H(r),h.O(s,s),e=r=!1;for(var a=i,o=!1,u=0;u<n.D();u++){var f=n.xa(u);if(h.contains(f)?0==(f=t.Zc.Td(a,f,s))?e=!0:1==f&&(r=!0):e=!0,r&&e)return !0;o||(!t.Oe.Wl(i,n.D()-1)||null!=i.ib&&null!=i.ib.Hb?a=i:(a=new t.Ga,i.copyTo(a),a.lj(1)),o=!0);}return !1},i.uW=function(i,n,s){var h=new t.g,r=new t.g;if(i.s(h),n.s(r),!this.yc(h,r,s))return !1;if(4==(r=this.qc(i,n,!1)))return !1;if(1==r)return !0;r=!1;for(var e=i,a=!1,o=0;o<n.D();o++){var u=n.xa(o);if(!h.contains(u))return !1;if(1==(u=t.Zc.Td(e,u,s)))r=!0;else if(0==u)return !1;a||(!t.Oe.Wl(i,n.D()-1)||null!=i.ib&&null!=i.ib.Hb?e=i:(e=new t.Ga,i.copyTo(e),e.lj(1)),a=!0);}return r},i.FW=function(n,s,h){var r=new t.g,e=new t.g;return n.s(r),s.s(e),!!i.jk(r,e,h)&&((r=new t.Ga).bd(s,!1),i.GA(n,r,h,!0))},i.zW=function(n,s,h){var r=i.qc(n,s,!1);if(4==r)return !0;if(1==r||2==r)return !1;var e=new t.g;if(r=new t.g,n.s(e),s.s(r),i.yc(r,e,h))return !1;if(e=new t.b,r.tn(e),0!=(s=t.Zc.Td(n,e,h)))return !1;if(r.RJ(e),0!=(s=t.Zc.Td(n,e,h)))return !1;if(r.un(e),0!=(s=t.Zc.Td(n,e,h)))return !1;if(r.UJ(e),0!=(s=t.Zc.Td(n,e,h)))return !1;s=n.Va(0),(e=new t.g).H(r),e.O(h,h);for(var a=0,o=n.D();a<o;a++){var u=s.read(2*a),f=s.read(2*a+1);if(e.contains(u,f))return !1}return !i.EH(n,r,h)},i.LW=function(n,s,h,r){var e=i.qc(n,s,!1);if(4==e||1==e||2==e)return !1;e=new t.g;var a=new t.g;return n.s(e),s.s(a),!i.yc(a,e,h)&&(a.N()<=h&&a.ca()<=h?(s=s.bq(),i.yJ(n,s,h)):a.N()<=h||a.ca()<=h?(e=new t.Oa,a=new t.Ra,s.Pf(0,a),e.xf(a),s.Pf(2,a),e.lineTo(a),i.AJ(n,e,h,r)):((e=new t.Ga).bd(s,!1),i.zJ(n,e,h,r)))},i.IW=function(n,s,h,r){var e=i.qc(n,s,!1);if(4==e||1==e||2==e)return !1;e=new t.g;var a=new t.g;return n.s(e),s.s(a),!(i.yc(a,e,h)||a.N()<=h||a.ca()<=h)&&((e=new t.Ga).bd(s,!1),i.wJ(n,e,h,r))},i.QW=function(n,s,h){var r=new t.g,e=new t.g;return n.s(r),s.s(e),i.yc(e,r,h)},i.tW=function(n,s,h){var r=new t.g,e=new t.g;return n.s(r),s.s(e),!!i.yc(r,e,h)&&(4!=(r=i.qc(n,s,!1))&&2!=r&&(1==r||(e.N()<=h&&e.ca()<=h?(s=s.bq(),i.rJ(n,s,h)):e.N()<=h||e.ca()<=h?(e=new t.Oa,r=new t.Ra,s.Pf(0,r),e.xf(r),s.Pf(2,r),e.lineTo(r),i.tJ(n,e,h,null)):((e=new t.Ga).bd(s,!1),i.sJ(n,e,h,null)))))},i.wW=function(n,s,h,r){var e=new t.g,a=new t.g;return n.s(e),s.s(a),!(i.yc(a,e,h)||a.ca()>h&&a.N()>h||a.ca()<=h&&a.N()<=h)&&(e=new t.Oa,a=new t.Ra,s.Pf(0,a),e.xf(a),s.Pf(2,a),e.lineTo(a),i.uJ(n,e,h,r))},i.aX=function(n,s,h){var r=new t.g,e=new t.g;return n.s(r),s.s(e),!(!i.jk(r,e,h)||4==i.qc(n,s,!1))&&(!!i.TI(n,s,h)||i.GA(n,s,h,!1))},i.ZW=function(i,n,s){return 4==this.qc(i,n,!1)||!!new t.km(i,n,s,!0).next()&&!this.FH(i,n,s)},i.EJ=function(n,s,h){if(4==i.qc(n,s,!1))return !1;var r=new t.ie(0);if(0!=i.HA(n,s,h,r))return !1;for(var e=new t.Hd,a=0;a<r.size;a+=2){var o=r.read(a),u=r.read(a+1);e.hv(o,u);}return n=n.sg(),s=s.sg(),n.yd(s,0,s.D()),i.sx(n,e,h)},i.CJ=function(n,s,h){if(4==i.qc(n,s,!1))return !1;var r=new t.ie(0);if(0!=i.HA(n,s,h,r))return !1;for(var e=new t.Hd,a=0;a<r.size;a+=2){var o=r.read(a),u=r.read(a+1);e.hv(o,u);}return n=n.sg(),s=s.sg(),n.yd(s,0,s.D()),!i.sx(n,e,h)},i.eX=function(t,n,s){return 4!=i.qc(t,n,!1)&&i.HH(t,n,s)},i.BJ=function(n,s,h){var r=new t.g,e=new t.g;return n.s(r),s.s(e),!(!i.yc(r,e,h)||4==i.qc(n,s,!1))&&i.Lm(s,n,h,!1)},i.YW=function(t,n,s){return 4==i.qc(t,n,!1)||(n=n.w(),!i.IA(t,n,s))},i.iX=function(t,n,s){return 4!=i.qc(t,n,!1)&&(n=n.w(),i.JA(t,n,s))},i.TW=function(t,n,s){return 4!=i.qc(t,n,!1)&&(n=n.w(),i.DH(t,n,s))},i.XW=function(t,n,s){return 4==i.qc(t,n,!1)||!i.GH(t,n,s,!1)},i.hX=function(i,n,s){if(4==this.qc(i,n,!1))return !1;var h=i.Ba(),r=new t.g,e=new t.g,a=new t.g;i.s(r),n.s(e),r.O(s,s),e.O(s,s),a.H(r),a.Ia(e),r=null;var o=i.ib;if(null!=o){var u=o.Hb;r=o.To,null==u&&(u=o=t.la.pj(i,a));}else u=o=t.la.pj(i,a);var f=u.getIterator(),c=null;null!=r&&(c=r.getIterator());var l=new t.b,p=new t.b,b=!1,v=s*s;for(r=new t.Gn(n.D()),o=0;o<n.D();o++)r.write(o,0);for(o=0;o<n.D();o++)if(n.w(o,l),a.contains(l)){if(e.H(l.x,l.y,l.x,l.y),null!=c&&(c.vi(e,s),-1==c.next()))continue;f.vi(e,s);for(var y=f.next();-1!=y;y=f.next())if(h.Rb(u.ga(y)),(y=h.aa()).cc(y.ae(l,!1),p),t.b.oc(l,p)<=v){r.write(o,1),b=!0;break}}if(!b)return !1;for(i=i.sg(),h=new t.Hd,e=new t.b,o=0;o<n.D();o++)0!=r.read(o)&&(n.w(o,e),h.hv(e.x,e.y));return this.sx(i,h,s)},i.VW=function(i,n,s){if(4==this.qc(i,n,!1))return !1;var h=i.Ba(),r=new t.g,e=new t.g,a=new t.g;i.s(r),n.s(e),r.O(s,s),e.O(s,s),a.H(r),a.Ia(e),r=null;var o=i.ib;if(null!=o){var u=o.Hb;r=o.To,null==u&&(u=o=t.la.pj(i,a));}else u=o=t.la.pj(i,a);var f=u.getIterator(),c=null;null!=r&&(c=r.getIterator());var l=new t.b,p=new t.b,b=!1,v=!1,y=s*s;for(r=new t.Gn(n.D()),o=0;o<n.D();o++)r.write(o,0);for(o=0;o<n.D();o++)if(n.w(o,l),a.contains(l)){if(e.H(l.x,l.y,l.x,l.y),null!=c&&(c.vi(e,s),-1==c.next())){v=!0;continue}f.vi(e,s);for(var w=!1,d=f.next();-1!=d;d=f.next())if(h.Rb(u.ga(d)),(d=h.aa()).cc(d.ae(l,!1),p),t.b.oc(l,p)<=y){r.write(o,1),w=b=!0;break}w||(v=!0);}else v=!0;if(!b||!v)return !1;for(i=i.sg(),h=new t.Hd,e=new t.b,o=0;o<n.D();o++)0!=r.read(o)&&(n.w(o,e),h.hv(e.x,e.y));return !this.sx(i,h,s)},i.SW=function(n,s,h){var r=new t.g,e=new t.g;return n.s(r),s.s(e),!(!i.yc(r,e,h)||4==i.qc(n,s,!1)||!i.GH(n,s,h,!0))&&(n=n.sg(),!i.WI(n,s,h))},i.$W=function(n,s,h){var r=new t.g,e=new t.g;return n.s(r),s.s(e),!(e.ca()>h&&e.N()>h)&&i.jk(r,e,h)},i.WW=function(n,s,h){var r=new t.g,e=new t.g;return n.s(r),s.s(e),!i.yc(e,r,h)&&!i.EH(n,e,h)},i.gX=function(n,s,h){var r=new t.g,e=new t.g;if(n.s(r),s.s(e),e.ca()<=h&&e.N()<=h)return e=s.bq(),i.JA(n,e,h);if(e.ca()<=h||e.N()<=h)return e=new t.Oa,r=new t.Ra,s.Pf(0,r),e.xf(r),s.Pf(2,r),e.lineTo(r),i.EJ(n,e,h);n=n.Ba(),s=new t.g,r=new t.g,s.H(e),r.H(e),s.O(-h,-h),r.O(h,h),e=!1;for(var a=new t.g,o=new t.g;n.Ta();)for(;n.Aa();){if(n.aa().s(a),o.H(s),o.Ia(a),!o.u()&&(o.ca()>h||o.N()>h))return !1;o.H(r),o.Ia(a),o.u()||(e=!0);}return e},i.dX=function(n,s,h){var r=new t.g,e=new t.g;return n.s(r),s.s(e),!(i.yc(r,e,h)||i.yc(e,r,h)||i.yc(e,r,h)||e.ca()>h&&e.N()>h||e.ca()<=h&&e.N()<=h)&&(r=new t.Oa,e=new t.Ra,s.Pf(0,e),r.xf(e),s.Pf(2,e),r.lineTo(e),i.HH(n,r,h))},i.jX=function(n,s,h){var r=new t.g,e=new t.g;if(n.s(r),s.s(e),!i.yc(e,r,h)||e.ca()<=h&&e.N()<=h)return !1;if(e.ca()<=h||e.N()<=h)return i.yc(e,r,h);n=n.Ba(),(s=new t.g).H(e),s.O(-h,-h),e=!1,r=new t.g;for(var a=new t.g;n.Ta();)for(;n.Aa();)n.aa().s(r),s.sm(r)?e=!0:(a.H(s),a.Ia(r),!a.u()&&(a.ca()>h||a.N()>h)&&(e=!0));return e},i.RW=function(n,s,h){var r=new t.g,e=new t.g;return s.s(e),n.s(r),!(!i.yc(r,e,h)||e.ca()>h&&e.N()>h)&&(e.ca()<=h&&e.N()<=h?(s=s.bq(),i.DH(n,s,h)):(r=new t.Oa,e=new t.Ra,s.Pf(0,e),r.xf(e),s.Pf(2,e),r.lineTo(e),i.Lm(r,n,h,!1)))},i.UW=function(n,s,h){var r=new t.g,e=new t.g;if(n.s(r),s.s(e),i.yc(e,r,h)||e.ca()<=h&&e.N()<=h)return !1;if(e.ca()<=h||e.N()<=h)return r=new t.Oa,e=new t.Ra,s.Pf(0,e),r.xf(e),s.Pf(2,e),r.lineTo(e),i.CJ(n,r,h);n=n.Ba(),s=new t.g,(r=new t.g).H(e),s.H(e),r.O(-h,-h),s.O(h,h);for(var a=e=!1,o=new t.g,u=new t.g;n.Ta();)for(;n.Aa();)if(n.aa().s(o),a||s.contains(o)||(a=!0),e||(u.H(r),u.Ia(o),!u.u()&&(u.ca()>h||u.N()>h)&&(e=!0)),e&&a)return !0;return !1},i.CV=function(n,s,h){var r=new t.g,e=new t.g;return n.s(r),s.s(e),!!i.jk(r,e,h)&&(!!i.DV(n,s,h)||i.IB(n,s,h,!1,!0,!1))},i.AV=function(t,n,s){return !i.WI(t,n,s)},i.IV=function(t,n,s){return i.IB(t,n,s,!1,!1,!0)},i.UI=function(n,s,h){var r=new t.g,e=new t.g;return n.s(r),s.s(e),!!i.yc(r,e,h)&&i.IB(s,n,h,!0,!1,!1)},i.sx=function(i,n,s){s*=s;for(var h=new t.b,r=new t.b,e=0;e<n.D();e++){n.w(e,r);for(var a=!1,o=0;o<i.D();o++)if(i.w(o,h),t.b.oc(h,r)<=s){a=!0;break}if(!a)return !1}return !0},i.tx=function(n,s,h){var r=new t.g,e=new t.g;return n.s(r),s.s(e),i.jk(r,e,h)},i.VI=function(t,n,s){return n=n.w(),i.Tt(t,n,s)},i.MV=function(t,n,s){return i.tx(t,n,s)},i.xV=function(t,n,s){return !i.VI(t,n,s)},i.BV=function(n,s,h){var r=new t.g,e=new t.g;return n.s(r),s.s(e),!(e.ca()>h||e.N()>h)&&i.jk(r,e,h)},i.zV=function(n,s,h){var r=new t.g,e=new t.g;if(n.s(r),s.s(e),i.yc(e,r,h))return !1;for((s=new t.g).H(e),s.O(h,h),h=new t.b,e=0;e<n.D();e++)if(n.w(e,h),s.contains(h))return !1;return !0},i.KV=function(i,n,s){var h=new t.g,r=new t.g,e=new t.g;if(n.s(h),h.ca()<=s&&h.N()<=s)return !1;if(h.ca()<=s||h.N()<=s){n=new t.b;var a=!1;r.H(h),e.H(h),r.O(s,s),h.ca()>s?e.O(0,-s):e.O(-s,0);for(var o=0;o<i.D();o++)if(i.w(o,n),r.contains(n)){if(h.ca()>s){if(n.y>e.A&&n.y<e.B)return !1}else if(n.x>e.o&&n.x<e.v)return !1;a=!0;}return a}for(r.H(h),e.H(h),r.O(s,s),e.O(-s,-s),n=new t.b,a=!1,o=0;o<i.D();o++)if(i.w(o,n),r.contains(n)){if(e.sm(n))return !1;a=!0;}return a},i.LV=function(n,s,h){var r=new t.g,e=new t.g;if(n.s(r),s.s(e),!i.yc(e,r,h))return !1;if(e.ca()<=h&&e.N()<=h)return i.jk(r,e,h);if(e.ca()<=h||e.N()<=h){s=!1,r=new t.g;var a=new t.g;r.H(e),a.H(e),e.ca()>h?r.O(0,-h):r.O(-h,0),a.O(h,h);for(var o=new t.b,u=0;u<n.D();u++){if(n.w(u,o),!a.contains(o))return !1;e.ca()>h?o.y>r.A&&o.y<r.B&&(s=!0):o.x>r.o&&o.x<r.v&&(s=!0);}return s}for(s=!1,r=new t.g,a=new t.g,r.H(e),a.H(e),r.O(-h,-h),a.O(h,h),o=new t.b,u=0;u<n.D();u++){if(n.w(u,o),!a.contains(o))return !1;r.sm(o)&&(s=!0);}return s},i.wV=function(n,s,h){var r=new t.g,e=new t.g;return n.s(r),s.s(e),!(!i.yc(r,e,h)||e.ca()>h||e.N()>h)&&(s=s.bq(),!i.Tt(n,s,h))},i.yV=function(n,s,h){var r=new t.g,e=new t.g;if(n.s(r),s.s(e),i.yc(e,r,h)||e.ca()<=h&&e.N()<=h)return !1;if(e.ca()<=h||e.N()<=h){s=new t.g,r=new t.g,s.H(e),e.ca()>h?s.O(0,-h):s.O(-h,0),r.H(e),r.O(h,h);for(var a=new t.b,o=!1,u=!1,f=0;f<n.D();f++)if(n.w(f,a),o||(e.ca()>h?a.y>s.A&&a.y<s.B&&(o=!0):a.x>s.o&&a.x<s.v&&(o=!0)),u||r.contains(a)||(u=!0),o&&u)return !0;return !1}for(s=new t.g,r=new t.g,s.H(e),s.O(-h,-h),r.H(e),r.O(h,h),a=new t.b,u=o=!1,f=0;f<n.D();f++)if(n.w(f,a),!o&&s.sm(a)&&(o=!0),u||r.contains(a)||(u=!0),o&&u)return !0;return !1},i.nJ=function(i,n,s){return t.b.oc(i,n)<=s*s},i.jW=function(i,n,s){return t.b.oc(i,n)>s*s},i.lJ=function(t,n,s){return i.nJ(t,n,s)},i.mJ=function(n,s,h){var r=new t.g;return r.H(n),i.jk(r,s,h)},i.xx=function(i,n,s){var h=new t.g;return h.H(n),h.O(s,s),!h.contains(i)},i.OB=function(i,n,s){if(n.ca()<=s&&n.N()<=s)return !1;var h=new t.g,r=new t.g;if(h.H(n),h.O(s,s),!h.contains(i))return !1;if(n.ca()<=s||n.N()<=s){if(r.H(n),n.ca()>s?r.O(0,-s):r.O(-s,0),n.ca()>s){if(i.y>r.A&&i.y<r.B)return !1}else if(i.x>r.o&&i.x<r.v)return !1;return !0}return r.H(n),r.O(-s,-s),!r.sm(i)},i.PB=function(i,n,s){if(n.ca()<=s&&n.N()<=s)return !0;if(n.ca()<=s||n.N()<=s){var h=new t.g;h.H(n),n.ca()>s?h.O(0,-s):h.O(-s,0);var r=!1;return n.ca()>s?i.y>h.A&&i.y<h.B&&(r=!0):i.x>h.o&&i.x<h.v&&(r=!0),r}return (h=new t.g).H(n),h.O(-s,-s),h.sm(i)},i.iW=function(t,n,s){return i.mJ(t,n,s)},i.jk=function(t,n,s){return i.yc(t,n,s)&&i.yc(n,t,s)},i.ik=function(i,n,s){var h=new t.g;return h.H(n),h.O(s,s),!i.isIntersecting(h)},i.nR=function(n,s,h){if(n.ca()<=h&&n.N()<=h){var r=n.hf();return i.OB(r,s,h)}if(s.ca()<=h&&s.N()<=h)return r=s.hf(),i.OB(r,n,h);if(n.ca()>h&&n.N()>h&&(s.ca()<=h||s.N()<=h)?r=s:(r=n,n=s),r.ca()<=h||r.N()<=h){if(n.ca()<=h||n.N()<=h){s=new t.zb;var e=new t.zb,a=[0,0],o=[0,0],u=new t.b;return r.tn(u),s.Fc(u),r.un(u),s.Sc(u),n.tn(u),e.Fc(u),n.un(u),e.Sc(u),s.Ia(e,null,a,o,h),1==s.Ia(e,null,null,null,h)&&(0==a[0]||1==a[1]||0==o[0]||1==o[1])}return s=new t.g,e=new t.g,s.H(n),s.O(-h,-h),e.H(s),e.Ia(r),!(!e.u()&&(e.ca()>h||e.N()>h))}return n.O(h,h),(e=new t.g).H(r),e.Ia(n),!(e.u()||!e.u()&&e.ca()>h&&e.N()>h)},i.mR=function(n,s,h){if(i.yc(n,s,h)||i.yc(s,n,h)||n.ca()<=h&&n.N()<=h||s.ca()<=h&&s.N()<=h)return !1;if(n.ca()<=h||n.N()<=h){if(s.ca()>h&&s.N()>h)return !1;var r=new t.zb,e=new t.zb,a=[0,0],o=[0,0],u=new t.b;return n.tn(u),r.Fc(u),n.un(u),r.Sc(u),s.tn(u),e.Fc(u),s.un(u),e.Sc(u),r.Ia(e,null,a,o,h),2==r.Ia(e,null,null,null,h)&&((0<a[0]||1>a[1])&&(0<o[0]||1>o[1]))}return !(s.ca()<=h||s.N()<=h)&&((r=new t.g).H(n),r.Ia(s),!(r.u()||r.ca()<=h||r.N()<=h))},i.XF=function(n,s,h){if(!i.yc(n,s,h))return !1;if(n.ca()<=h&&n.N()<=h)return n=n.hf(),i.PB(n,s,h);if(s.ca()<=h&&s.N()<=h)return s=s.hf(),i.PB(s,n,h);if(n.ca()<=h||n.N()<=h)return i.yc(n,s,h);if(s.ca()<=h||s.N()<=h){var r=new t.g;return r.H(n),r.O(-h,-h),r.sm(s)?!0:((n=new t.g).H(r),n.Ia(s),!(n.u()||n.ca()<=h&&n.N()<=h))}return i.yc(n,s,h)},i.lR=function(n,s,h){if(i.yc(n,s,h)||i.yc(s,n,h)||n.ca()<=h&&n.N()<=h||s.ca()<=h&&s.N()<=h||s.ca()>h&&s.N()>h&&n.ca()>h&&n.N()>h)return !1;if(n.ca()>h&&n.N()>h)var r=s;else r=n,n=s;if(n.ca()>h&&n.N()>h){s=new t.g;var e=new t.g;return e.H(n),e.O(-h,-h),s.H(e),s.Ia(r),!(s.u()||s.ca()<=h&&s.N()<=h)}s=new t.zb,e=new t.zb;var a=[0,0],o=[0,0],u=new t.b;return r.tn(u),s.Fc(u),r.un(u),s.Sc(u),n.tn(u),e.Fc(u),n.un(u),e.Sc(u),s.Ia(e,null,a,o,h),1==s.Ia(e,null,null,null,h)&&(0<a[0]&&1>a[1]&&0<o[0]&&1>o[1])},i.vJ=function(i,n,s){var h=new t.g,r=new t.g,e=new t.km(i,n,s,!0);if(!e.next())return !0;if(this.FH(i,n,s))return !1;var a=i,o=null;1736==n.F()&&(o=n);var u=!1,f=!1;do{var c=e.tl(),l=e.ol();if(l=n.xa(n.ua(l)),h.H(e.cA()),h.O(s,s),h.contains(l)&&0!=(l=t.Zc.Td(a,l,0))||1736==n.F()&&(c=i.xa(i.ua(c)),r.H(e.Gz()),r.O(s,s),r.contains(c)&&0!=(l=t.Zc.Td(o,c,0))))return !1;u||(!t.Oe.Wl(i,n.$()-1)||null!=i.ib&&null!=i.ib.Hb?a=i:(a=new t.Ga,i.copyTo(a),a.lj(1)),u=!0),1736!=n.F()||f||(f=n,!t.Oe.Wl(f,i.$()-1)||null!=n.ib&&null!=n.ib.Hb?o=n:(o=new t.Ga,f.copyTo(o),o.lj(1)),f=!0);}while(e.next());return !0},i.yc=function(i,n,s){var h=new t.g;return h.H(i),h.O(s,s),h.contains(n)},i.Ts=function(i,n,s){var h=new t.g;return h.H(n),h.O(s,s),n=new t.b,i.tn(n),!h.contains(n)||(i.RJ(n),!h.contains(n)||(i.UJ(n),!h.contains(n)||(i.un(n),!h.contains(n))))},i.TI=function(i,n,s){if(i.$()!=n.$()||i.D()!=n.D())return !1;var h=new t.b,r=new t.b,e=!0;s*=s;for(var a=0;a<i.$();a++){if(i.zc(a)!=n.zc(a)){e=!1;break}for(var o=i.ua(a);o<n.zc(a);o++)if(i.w(o,h),n.w(o,r),t.b.oc(h,r)>s){e=!1;break}if(!e)break}return !!e},i.DV=function(i,n,s){if(i.D()!=n.D())return !1;var h=new t.b,r=new t.b,e=!0;s*=s;for(var a=0;a<i.D();a++)if(i.w(a,h),n.w(a,r),t.b.oc(h,r)>s){e=!1;break}return !!e},i.IB=function(i,n,s,h,r,e){var a=!1;if(i.D()>n.D()){h&&(h=!1,a=!0);var o=n;}else o=i,i=n;if(n=null,r||e||a){n=new t.Gn(i.D());for(var u=0;u<i.D();u++)n.write(u,0);}u=new t.g;var f=new t.g,c=new t.g;o.s(u),i.s(f),u.O(s,s),f.O(s,s),c.H(u),c.Ia(f),f=new t.b;for(var l=new t.b,p=!0,b=t.la.aF(i,c),v=b.getIterator(),y=s*s,w=0;w<o.D();w++)if(o.w(w,f),c.contains(f)){var d=!1;u.H(f.x,f.y,f.x,f.y),v.vi(u,s);for(var g=v.next();-1!=g&&(g=b.ga(g),i.w(g,l),!(t.b.oc(f,l)<=y&&((r||e||a)&&n.write(g,1),d=!0,h)));g=v.next());if(!d&&(p=!1,r||h))return !1}else {if(r||h)return !1;p=!1;}if(e&&p)return !1;if(h)return !0;for(u=0;u<i.D();u++)if(1==n.read(u)){if(e)return !0}else if(r||a)return !1;return !e},i.WI=function(i,n,s){if(i.D()>n.D())var h=n;else h=i,i=n;n=new t.g;var r=new t.g,e=new t.g;h.s(n),i.s(r),n.O(s,s),r.O(s,s),e.H(n),e.Ia(r),r=new t.b;for(var a=new t.b,o=s*s,u=t.la.aF(i,e),f=u.getIterator(),c=0;c<h.D();c++)if(h.w(c,r),e.contains(r)){n.H(r.x,r.y,r.x,r.y),f.vi(n,s);for(var l=f.next();-1!=l;l=f.next())if(i.w(u.ga(l),a),t.b.oc(r,a)<=o)return !0}return !1},i.GA=function(t,n,s,h){return i.Lm(t,n,s,h)&&i.Lm(n,t,s,h)},i.Lm=function(s,h,r,e){function a(t,i){return b.BF(t,i)}var o,u=!0,f=[0,0],c=[0,0],l=0,p=new t.ha(0),b=new i,v=new t.g,y=new t.g,w=new t.g;s.s(v),h.s(y),v.O(r,r),y.O(r,r),w.H(v),w.Ia(y),s=s.Ba(),y=h.Ba();var d=null,g=d=null,x=h.ib;for(null!=x?(d=x.Hb,g=x.To,null==d&&(d=t.la.pj(h,w))):d=t.la.pj(h,w),h=d.getIterator(),x=null,null!=g&&(x=g.getIterator());s.Ta();)for(;s.Aa();){var m=!1,j=s.aa();if(j.s(v),!v.isIntersecting(w))return !1;if(null!=x&&(x.vi(v,r),-1==x.next()))return !1;for(g=j.Pb(),h.wn(j,r),o=h.next();-1!=o;o=h.next()){y.Rb(d.ga(o)),o=y.aa();var M=j.Ia(o,null,f,c,r);if(2==M&&(!e||c[0]<=c[1])){M=f[0];var k=f[1],z=c[0],N=c[1];if(M*g<=r&&(1-k)*g<=r){m=!0,l=0,p.resize(0),b.yh.length=0;var A=s.wb();for(z=!0;z;){if(s.Aa()){if(g=(j=s.aa()).Pb(),2==(M=j.Ia(o,null,f,c,r))&&(!e||c[0]<=c[1])&&(M=f[0],k=f[1],M*g<=r&&(1-k)*g<=r)){A=s.wb();continue}if(y.Aa()&&(o=y.aa(),2==(M=j.Ia(o,null,f,c,r))&&(!e||c[0]<=c[1])&&(M=f[0],k=f[1],M*g<=r&&(1-k)*g<=r))){A=s.wb();continue}}z=!1;}A!=s.wb()&&(s.Rb(A),s.aa());break}A=s.wb(),o=n.construct(A,s.Pa,M,k,y.wb(),y.Pa,z,N),b.yh.push(o),p.add(p.size);}}if(!m){if(l==b.yh.length)return !1;for(1<p.size-l&&p.Zd(l,p.size,a),m=0;l<b.yh.length;l++)if(!((o=b.yh[p.get(l)]).Mj<m&&o.Yi<m)){if(g*(o.Mj-m)>r)return !1;if(g*(1-(m=o.Yi))<=r||1==m)break}if(g*(1-m)>r)return !1;l=0,p.resize(0),b.yh.length=0;}}return u},i.HH=function(n,s,h){if(1>i.HA(n,s,h,null))return !1;var r=new t.g,e=new t.g;n.s(r),s.s(e);var a=i.Ts(r,e,h);return r=i.Ts(e,r,h),!(!a||!r)||(a&&!r?!i.Lm(s,n,h,!1):r&&!a?!i.Lm(n,s,h,!1):!i.Lm(n,s,h,!1)&&!i.Lm(s,n,h,!1))},i.HA=function(s,h,r,e){function a(t,i){return v.BF(t,i)}if(s.gA()>h.gA())var o=h,u=s;else o=s,u=h;s=o.Ba(),h=u.Ba();var f=[0,0],c=[0,0],l=-1,p=0,b=new t.ha(0),v=new i,y=new t.g,w=new t.g,d=new t.g;o.s(y),u.s(w),y.O(r,r),w.O(r,r),d.H(y),d.Ia(w),o=null,null!=e&&(o=new t.b);var g=w=w=null,x=u.ib;for(null!=x?(w=x.Hb,g=x.To,null==w&&(w=t.la.pj(u,d))):w=t.la.pj(u,d),u=w.getIterator(),x=null,null!=g&&(x=g.getIterator());s.Ta();)for(g=0;s.Aa();){var m=s.aa();if(m.s(y),y.isIntersecting(d)){if(null!=x&&(x.vi(y,r),-1==x.next()))continue;var j=m.Pb();u.wn(m,r);for(var M=u.next();-1!=M;M=u.next()){var k=w.ga(M);h.Rb(k);var z=h.aa(),N=z.Pb(),A=m.Ia(z,null,f,c,r);if(0<A){M=f[0],l=c[0];var I=2==A?f[1]:NaN,C=2==A?c[1]:NaN;if(2==A){if(j*(I-M)>r)return 1;var P=j*(I-M);if(h.Aa()){if(z=h.aa(),2==(A=m.Ia(z,null,f,null,r))){A=f[0];var q=f[1];if(P+(A=j*(q-A))>r)return 1}h.Rb(k),h.aa();}if(!h.Im()){if(h.ti(),z=h.ti(),2==(A=m.Ia(z,null,f,null,r))&&(A=f[0],P+(A=j*((q=f[1])-A))>r))return 1;h.Rb(k),h.aa();}if(s.Aa()){if(k=s.wb(),2==(A=(m=s.aa()).Ia(z,null,f,null,r))&&(A=f[0],P+(A=j*((q=f[1])-A))>r))return 1;s.Rb(k),s.aa();}if(!s.Im()){if(k=s.wb(),s.ti(),2==(A=(m=s.ti()).Ia(z,null,f,null,r))&&(A=f[0],P+(A=N*((q=f[1])-A))>r))return 1;s.Rb(k),s.aa();}z=n.construct(s.wb(),s.Pa,M,I,h.wb(),h.Pa,l,C),v.yh.push(z),b.add(b.size);}l=0,null!=e&&(m.cc(M,o),e.add(o.x),e.add(o.y));}}if(p<v.yh.length){for(b.Zd(p,b.size,a),m=0,M=v.yh[b.get(p)].Zm;p<v.yh.length;p++)if(!((z=v.yh[b.get(p)]).Mj<m&&z.Yi<m))if(j*(z.Mj-m)>r)g=j*(z.Yi-z.Mj),m=z.Yi,M=z.Zm;else {if(z.Zm!=M?(g=j*(z.Yi-z.Mj),M=z.Zm):g+=j*(z.Yi-z.Mj),g>r)return 1;if(1==(m=z.Yi))break}j*(1-m)>r&&(g=0),p=0,b.resize(0),v.yh.length=0;}}}return l},i.FH=function(i,n,s){var h=i.Ba(),r=n.Ba();for(i=new t.km(i,n,s,!1);i.next();){n=i.tl();var e=i.ol();if(h.Rb(n),r.Rb(e),n=h.aa(),0<r.aa().Ia(n,null,null,null,s))return !0}return !1},i.GH=function(i,n,s,h){var r=i.Ba(),e=new t.g,a=new t.g,o=new t.g;i.s(e),n.s(a),e.O(s,s),e.contains(a),a.O(s,s),o.H(e),o.Ia(a),null!=(e=i.ib)?null==(e=e.Hb)&&(e=t.la.pj(i,o)):e=t.la.pj(i,o),i=e.getIterator();for(var u=new t.b,f=new t.b,c=s*s,l=0;l<n.D();l++)if(n.w(l,u),o.contains(u)){a.H(u.x,u.y,u.x,u.y),i.vi(a,s);for(var p=!1,b=i.next();-1!=b;b=i.next())if(r.Rb(e.ga(b)),(b=r.aa()).cc(b.ae(u,!1),f),t.b.oc(f,u)<=c){p=!0;break}if(h){if(!p)return !1}else if(p)return !0}return !!h},i.IA=function(i,n,s){var h=new t.b,r=s*s,e=i.Ba();if(null!=(i=i.ib)&&null!=(i=i.Hb)){var a=new t.g;for(a.H(n),a=(s=i.Vz(a,s)).next();-1!=a;a=s.next())if(e.Rb(i.ga(a)),e.Aa()){var o=(a=e.aa()).ae(n,!1);if(a.cc(o,h),t.b.oc(n,h)<=r)return !0}return !1}for(i=new t.g;e.Ta();)for(;e.Aa();)if((a=e.aa()).s(i),i.O(s,s),i.contains(n)&&(o=a.ae(n,!1),a.cc(o,h),t.b.oc(n,h)<=r))return !0;return !1},i.DH=function(t,n,s){return i.IA(t,n,s)&&!i.JA(t,n,s)},i.JA=function(t,n,s){return t=t.sg(),!i.Tt(t,n,s)},i.EH=function(i,n,s){if(i.Fm()){var h=new t.zb(n.o,n.A,n.o,n.B),r=new t.zb(n.o,n.B,n.v,n.B),e=new t.zb(n.v,n.B,n.v,n.A);for(n=new t.zb(n.v,n.A,n.o,n.A),i=i.Ba();i.Ta();)for(;i.Aa();){var a=i.aa();if(a.isIntersecting(h,s)||a.isIntersecting(r,s)||a.isIntersecting(e,s)||a.isIntersecting(n,s))return !0}}else {(h=new t.g).H(n),h.O(s,s),s=i.Va(0),r=new t.b,e=new t.b,n=new t.b,a=new t.b;for(var o=0,u=i.$();o<u;o++)for(var f=!0,c=i.ua(o),l=i.zc(o);c<l;c++)if(f)s.mc(2*c,e),f=!1;else {if(s.mc(2*c,r),n.K(e),a.K(r),0!=h.ez(n,a))return !0;e.K(r);}}return !1},i.qc=function(n,s,h){var r=n.F(),e=s.F();if(t.R.Rg(r)){var a=n.ib;if(null!=a&&null!=(a=a.oi))if(33==e){var o=s.w();if(1==(o=a.Xl(o.x,o.y)))return 1;if(0==o)return 4}else {if(o=new t.g,s.s(o),1==(o=a.rn(o)))return 1;if(0==o)return 4;if(h&&t.R.Rg(e)&&i.rF(s,a))return 1073741824}}if(t.R.Rg(e)&&(null!=(a=s.ib)&&null!=(a=a.oi)))if(33==r){if(n=n.w(),1==(o=a.Xl(n.x,n.y)))return 2;if(0==o)return 4}else {if(s=new t.g,n.s(s),1==(o=a.rn(s)))return 2;if(0==o)return 4;if(h&&t.R.Rg(r)&&i.rF(n,a))return 1073741824}return 0},i.rF=function(i,n){for(var s=i.D(),h=new t.b,r=0;r<s;r++)if(i.w(r,h),1==n.Xl(h.x,h.y))return !0;return !1},i.zJ=function(i,n,s,h){for(var r=1<=i.rk(0)&&1<=n.rk(0),e=i.Ba(),a=n.Ba(),o=[0,0],u=[0,0],f=new t.km(i,n,s,!1),c=!1;f.next();){var l=f.tl(),p=f.ol();if(e.Rb(l),a.Rb(p),l=e.aa(),2==(p=a.aa().Ia(l,null,u,o,s))){if(c=o[0],p=o[1],l=l.Pb(),r&&(p-c)*l>s)return !1;c=!0;}else if(0!=p){if(c=o[0],l=u[0],0<c&&1>c&&0<l&&1>l)return !1;c=!0;}}return !!c&&(e=new t.g,a=new t.g,r=new t.g,i.s(e),n.s(a),e.O(1e3*s,1e3*s),a.O(1e3*s,1e3*s),r.H(e),r.Ia(a),!(10<i.D()&&(i=t.Yd.clip(i,r,s,0),i.u())||10<n.D()&&(n=t.Yd.clip(n,r,s,0),n.u()))&&t.mm.$t(i,n,s,"F********",h))},i.wJ=function(n,s,h,r){var e=1<=n.rk(0)&&1<=s.rk(0),a=new t.g,o=new t.g,u=new t.g;n.s(a),s.s(o);for(var f=!1,c=i.Ts(a,o,h),l=i.Ts(o,a,h),p=n.Ba(),b=s.Ba(),v=[0,0],y=[0,0],w=new t.km(n,s,h,!1);w.next();){var d=w.tl(),g=w.ol();if(p.Rb(d),b.Rb(g),g=p.aa(),2==(d=b.aa().Ia(g,null,y,v,h))){d=v[0];var x=v[1];if(g=g.Pb(),e&&(x-d)*g>h&&(f=!0,c&&l))return !0}else if(0!=d&&(d=v[0],g=y[0],0<d&&1>d&&0<g&&1>g))return !0}if(e=new t.g,p=new t.g,e.H(a),e.O(1e3*h,1e3*h),p.H(o),p.O(1e3*h,1e3*h),u.H(e),u.Ia(p),a="",a=f?a+"**":a+"T*",c){if(10<s.D()&&(s=t.Yd.clip(s,u,h,0)).u())return !1;a+="****";}else a+="T***";if(l){if(10<n.D()&&(n=t.Yd.clip(n,u,h,0)).u())return !1;a+="***";}else a+="T**";return t.mm.$t(n,s,h,a.toString(),r)},i.sJ=function(n,s,h,r){var e=[!1],a=i.qJ(n,s,h,e);return e[0]?a:(e=new t.g,s.s(e),e.O(1e3*h,1e3*h),!(10<n.D()&&(n=t.Yd.clip(n,e,h,0),n.u()))&&t.mm.yx(n,s,h,r))},i.qJ=function(i,n,s,h){h[0]=!1;for(var r=i.Ba(),e=n.Ba(),a=[0,0],o=[0,0],u=new t.km(i,n,s,!1),f=!1;u.next();){var c=u.tl(),l=u.ol();if(r.Rb(c,-1),e.Rb(l,-1),c=r.aa(),0!=(c=e.aa().Ia(c,null,o,a,s))&&(f=!0,1==c&&(c=a[0],l=o[0],0<c&&1>c&&0<l&&1>l)))return h[0]=!0,!1}if(!f){for(h[0]=!0,a=new t.g,i.s(a),a.O(s,s),u=i,f=!1,o=new t.g,h=0,r=n.$();h<r;h++)if(0<n.Ha(h)){if(n.Sj(h,o),!a.isIntersecting(o))return !1;if(e=n.xa(n.ua(h)),0==(e=t.Oe.Jm(u,e,0)))return !1;f||(!t.Oe.Wl(i,n.$()-1)||null!=i.ib&&null!=i.ib.Hb?u=i:(e=new t.Ga,i.copyTo(e),e.lj(1),u=e),f=!0);}if(1==i.$()||1607==n.F())return !0;for(a=new t.g,n.s(a),a.O(s,s),o=n,u=!1,s=new t.g,h=0,r=i.$();h<r;h++)if(0<i.Ha(h)){if(i.Sj(h,s),a.isIntersecting(s)&&(e=i.xa(i.ua(h)),1==(e=t.Oe.Jm(o,e,0))))return !1;u||(!t.Oe.Wl(n,i.$()-1)||null!=n.ib&&null!=n.ib.Hb?o=n:(e=new t.Ga,n.copyTo(e),e.lj(1),o=e),u=!0);}return !0}return !1},i.AJ=function(i,n,s,h){for(var r=i.Ba(),e=n.Ba(),a=[0,0],o=[0,0],u=new t.km(i,n,s,!1),f=!1;u.next();){var c=u.tl(),l=u.ol();if(r.Rb(c),e.Rb(l),c=r.aa(),2==(c=e.aa().Ia(c,null,o,a,s)))f=!0;else if(0!=c){if(f=a[0],c=o[0],0<f&&1>f&&0<c&&1>c)return !1;f=!0;}}return !!f&&(e=new t.g,a=new t.g,r=new t.g,i.s(e),n.s(a),e.O(1e3*s,1e3*s),a.O(1e3*s,1e3*s),r.H(e),r.Ia(a),!(10<i.D()&&(i=t.Yd.clip(i,r,s,0),i.u())||10<n.D()&&(n=t.Yd.clip(n,r,s,0),n.u()))&&t.mm.on(i,n,s,"F********",h))},i.uJ=function(n,s,h,r){for(var e=n.Ba(),a=s.Ba(),o=[0,0],u=[0,0],f=new t.km(n,s,h,!1),c=!1;f.next();){var l=f.tl(),p=f.ol();if(e.Rb(l),a.Rb(p),l=e.aa(),2==(l=a.aa().Ia(l,null,u,o,h)))c=!0;else if(0!=l){if(c=o[0],l=u[0],0<c&&1>c&&0<l&&1>l)return !0;c=!0;}}return !!c&&(a=new t.g,o=new t.g,u=new t.g,f=new t.g,e=new t.g,n.s(a),s.s(o),i.Ts(o,a,h)?(u.H(a),u.O(1e3*h,1e3*h),f.H(o),f.O(1e3*h,1e3*h),e.H(u),e.Ia(f),!(10<n.D()&&(n=t.Yd.clip(n,e,h,0),n.u())||10<s.D()&&(s=t.Yd.clip(s,e,h,0),s.u()))&&(h=t.mm.on(n,s,h,"T********",r))):h=t.mm.on(n,s,h,"T*****T**",r))},i.tJ=function(n,s,h,r){var e=[!1],a=i.qJ(n,s,h,e);return e[0]?a:(e=new t.g,s.s(e),e.O(1e3*h,1e3*h),!(10<n.D()&&(n=t.Yd.clip(n,e,h,0),n.u()))&&t.mm.QB(n,s,h,r))},i.rJ=function(i,n,s){return 1==t.Zc.Td(i,n,s)},i.yJ=function(i,n,s){return 2==t.Zc.Td(i,n,s)},i.Tt=function(i,n,s){var h=new t.b;s*=s;for(var r=0;r<i.D();r++)if(i.w(r,h),t.b.oc(h,n)<=s)return !1;return !0},i.prototype.BF=function(t,i){return t=this.yh[t],i=this.yh[i],t.Zm<i.Zm||t.Zm==i.Zm&&(t.Ww<i.Ww||t.Ww==i.Ww&&(t.Mj<i.Mj||t.Mj==i.Mj&&(t.Yi<i.Yi||t.Yi==i.Yi&&t.rI<i.rI)))?-1:1},i}();t.wd=s;}(W||(W={})),function(t){var i,n,s;(n=i||(i={}))[n.InteriorInterior=0]="InteriorInterior",n[n.InteriorBoundary=1]="InteriorBoundary",n[n.InteriorExterior=2]="InteriorExterior",n[n.BoundaryInterior=3]="BoundaryInterior",n[n.BoundaryBoundary=4]="BoundaryBoundary",n[n.BoundaryExterior=5]="BoundaryExterior",n[n.ExteriorInterior=6]="ExteriorInterior",n[n.ExteriorBoundary=7]="ExteriorBoundary",n[n.ExteriorExterior=8]="ExteriorExterior",function(t){t[t.AreaAreaPredicates=0]="AreaAreaPredicates",t[t.AreaLinePredicates=1]="AreaLinePredicates",t[t.LineLinePredicates=2]="LineLinePredicates",t[t.AreaPointPredicates=3]="AreaPointPredicates",t[t.LinePointPredicates=4]="LinePointPredicates",t[t.PointPointPredicates=5]="PointPointPredicates";}(s||(s={})),i=function(){function i(){this.se=0,this.h=new t.Pu,this.G=[0,0,0,0,0,0,0,0,0],this.$a=[0,0,0,0,0,0,0,0,0],this.ea=[!1,!1,!1,!1,!1,!1,!1,!1,!1],this.en=this.cx=-1;}return i.hC=function(i,n,s,h,r){if(9!=h.length)throw t.f.Y("relation string length has to be 9 characters");for(var e=0;9>e;e++){var a=h.charAt(e);if("*"!=a&&"T"!=a&&"F"!=a&&"0"!=a&&"1"!=a&&"2"!=a)throw t.f.Y("relation string")}if(0!=(e=this.cT(h,i.pb(),n.pb())))return t.wd.iC(i,n,s,e,r);e=new t.g,i.s(e),a=new t.g,n.s(a);var o=new t.g;if(o.H(e),o.Nb(a),s=t.la.Qd(s,o,!1),i=this.HF(i,s),n=this.HF(n,s),i.u()||n.u())return this.$X(i,n,h);switch(e=n.F(),a=!1,i.F()){case 1736:switch(e){case 1736:a=this.$t(i,n,s,h,r);break;case 1607:a=this.on(i,n,s,h,r);break;case 33:a=this.Zt(i,n,s,h);break;case 550:a=this.Yt(i,n,s,h,r);}break;case 1607:switch(e){case 1736:a=this.on(n,i,s,this.rq(h),r);break;case 1607:a=this.RB(i,n,s,h,r);break;case 33:a=this.bu(i,n,s,h,r);break;case 550:a=this.au(i,n,s,h,r);}break;case 33:switch(e){case 1736:a=this.Zt(n,i,s,this.rq(h));break;case 1607:a=this.bu(n,i,s,this.rq(h),r);break;case 33:a=this.rW(i,n,s,h);break;case 550:a=this.Ut(n,i,s,this.rq(h));}break;case 550:switch(e){case 1736:a=this.Yt(n,i,s,this.rq(h),r);break;case 1607:a=this.au(n,i,s,this.rq(h),r);break;case 550:a=this.JB(i,n,s,h,r);break;case 33:a=this.Ut(i,n,s,h);}break;default:a=!1;}return a},i.$t=function(n,s,h,r,e){var a=new i;a.dj(),a.ij(r),a.BK();var o=new t.g,u=new t.g;return n.s(o),s.s(u),r=!1,t.wd.ik(o,u,h)&&(a.iv(n,s),r=!0),r||(4==(o=t.wd.qc(n,s,!1))?(a.iv(n,s),r=!0):1==o?(a.Ry(s),r=!0):2==o&&(a.LE(n),r=!0)),r||(n=(r=new t.Yc).Bb(n),s=r.Bb(s),a.lp(r,h,e),a.Vp(n,s),a.h.ah()),i.lg(a.G,a.Wc)},i.yx=function(n,s,h,r){var e=new i;e.dj(),e.ij("T*****F**"),e.BK();var a=new t.g,o=new t.g;n.s(a),s.s(o);var u=!1;return t.wd.ik(a,o,h)&&(e.iv(n,s),u=!0),u||(4==(a=t.wd.qc(n,s,!1))?(e.iv(n,s),u=!0):1==a?(e.Ry(s),u=!0):2==a&&(e.LE(n),u=!0)),u?this.lg(e.G,e.Wc):(n=(u=new t.Yc).Bb(n),a=u.Bb(s),t.$j.U(u,h,r,!1),h=u.ye(a).sg(),u.$p(0,!0,!0),t.Kn.U(u,n,-1,!1,r),0!=u.D(n)&&(t.Kn.U(u,a,-1,!1,r),e.zr(u,r),(s=0==u.D(a))||(e.Vp(n,a),e.h.ah(),a=this.lg(e.G,e.Wc))?(n=u.ye(n),n=(u=new t.Yc).Bb(n),a=u.Bb(h),e.zr(u,r),e.se=0,e.dj(),e.ij(s?"T*****F**":"******F**"),e.sC(),e.Vp(n,a),e.h.ah(),this.lg(e.G,e.Wc)):a))},i.on=function(n,s,h,r,e){var a=new i;a.dj(),a.ij(r),a.sC();var o=new t.g,u=new t.g;return n.s(o),s.s(u),r=!1,t.wd.ik(o,u,h)&&(a.jv(n,s),r=!0),r||(4==(o=t.wd.qc(n,s,!1))?(a.jv(n,s),r=!0):1==o&&(a.ME(s),r=!0)),r||(n=(r=new t.Yc).Bb(n),s=r.Bb(s),a.lp(r,h,e),a.qh=a.h.Xp(),i.px(s,a.h,a.qh),a.Vp(n,s),a.h.Yp(a.qh),a.h.ah()),i.lg(a.G,a.Wc)},i.QB=function(n,s,h,r){var e=new i;e.dj(),e.ij("T*****F**"),e.sC();var a=new t.g,o=new t.g;n.s(a),s.s(o);var u=!1;return t.wd.ik(a,o,h)&&(e.jv(n,s),u=!0),u||(4==(a=t.wd.qc(n,s,!1))?(e.jv(n,s),u=!0):1==a&&(e.ME(s),u=!0)),u?this.lg(e.G,e.Wc):(n=(u=new t.Yc).Bb(n),s=u.Bb(s),e.lp(u,h,r),0!=u.D(n)&&(e.Vp(n,s),e.h.ah(),this.lg(e.G,e.Wc)))},i.Yt=function(n,s,h,r,e){var a=new i;a.dj(),a.ij(r),a.CK();var o=new t.g,u=new t.g;return n.s(o),s.s(u),r=!1,t.wd.ik(o,u,h)&&(a.kv(n),r=!0),r||(4==(o=t.wd.qc(n,s,!1))?(a.kv(n),r=!0):1==o&&(a.KO(),r=!0)),r||(n=(r=new t.Yc).Bb(n),s=r.Bb(s),a.lp(r,h,e),a.kz(n,s),a.h.ah()),i.lg(a.G,a.Wc)},i.RB=function(n,s,h,r,e){var a=new i;a.dj(),a.ij(r),a.HY(),r=new t.g;var o=new t.g;n.s(r),s.s(o);var u=!1;return t.wd.ik(r,o,h)&&(a.BH(n,s),u=!0),u||4!=t.wd.qc(n,s,!1)||(a.BH(n,s),u=!0),u||(n=(r=new t.Yc).Bb(n),s=r.Bb(s),a.lp(r,h,e),a.di=a.h.Xp(),a.qh=a.h.Xp(),i.px(n,a.h,a.di),i.px(s,a.h,a.qh),a.Vp(n,s),a.h.Yp(a.di),a.h.Yp(a.qh),a.h.ah()),i.lg(a.G,a.Wc)},i.au=function(n,s,h,r,e){var a=new i;a.dj(),a.ij(r),a.QK(),r=new t.g;var o=new t.g;n.s(r),s.s(o);var u=!1;return t.wd.ik(r,o,h)&&(a.FA(n),u=!0),u||4!=t.wd.qc(n,s,!1)||(a.FA(n),u=!0),u||(n=(r=new t.Yc).Bb(n),s=r.Bb(s),a.lp(r,h,e),a.di=a.h.Xp(),i.px(n,a.h,a.di),a.kz(n,s),a.h.Yp(a.di),a.h.ah()),i.lg(a.G,a.Wc)},i.JB=function(n,s,h,r,e){var a=new i;a.dj(),a.ij(r),a.VK(),r=new t.g;var o=new t.g;n.s(r),s.s(o);var u=!1;return t.wd.ik(r,o,h)&&(a.pJ(),u=!0),u||(n=(r=new t.Yc).Bb(n),s=r.Bb(s),a.lp(r,h,e),a.kz(n,s),a.h.ah()),i.lg(a.G,a.Wc)},i.Zt=function(n,s,h,r){var e=new i;e.dj(),e.ij(r),e.CK();var a=new t.g;n.s(a),s=s.w();var o=!1;return t.wd.xx(s,a,h)&&(e.kv(n),o=!0),o||(1==(h=t.Zc.Td(n,s,h))?(e.G[0]=0,e.G[2]=2,e.G[3]=-1,e.G[5]=1,e.G[6]=-1):2==h?(e.G[6]=-1,0!=n.Pe()?(e.G[0]=-1,e.G[3]=0,e.G[2]=2,e.G[5]=1):(e.G[0]=0,e.G[3]=-1,e.G[5]=-1,h=new t.g,n.s(h),e.G[2]=0==h.ca()&&0==h.N()?-1:1)):e.kv(n)),this.lg(e.G,r)},i.bu=function(n,s,h,r,e){var a=new i;a.dj(),a.ij(r),a.QK();var o=new t.g;n.s(o),r=s.w();var u=!1;if(t.wd.xx(r,o,h)&&(a.FA(n),u=!0),!u){o=null;var f=u=!1;(a.ea[0]||a.ea[6])&&(t.wd.IA(n,r,h)?(a.ea[0]&&(o=t.yi.qm(n,e),f=!t.wd.Tt(o,r,h),u=!0,a.G[0]=f?-1:0),a.G[6]=-1):(a.G[0]=-1,a.G[6]=0)),a.ea[3]&&(null!=o&&o.u()?a.G[3]=-1:(u||(null==o&&(o=t.yi.qm(n,e)),f=!t.wd.Tt(o,r,h),u=!0),a.G[3]=f?0:-1)),a.ea[5]&&(null!=o&&o.u()?a.G[5]=-1:u&&!f?a.G[5]=0:(null==o&&(o=t.yi.qm(n,e)),e=t.wd.tx(o,s,h),a.G[5]=e?-1:0)),a.ea[2]&&(0!=n.Pb()?a.G[2]=1:((e=new t.Hd(n.description)).yd(n,0,n.D()),n=t.wd.tx(e,s,h),a.G[2]=n?-1:0));}return this.lg(a.G,a.Wc)},i.Ut=function(n,s,h,r){var e=new i;e.dj(),e.ij(r),e.VK();var a=new t.g;n.s(a),s=s.w();var o=!1;if(t.wd.xx(s,a,h)&&(e.pJ(),o=!0),!o){a=!1,o=!0,h*=h;for(var u=0;u<n.D();u++){var f=n.xa(u);if(t.b.oc(f,s)<=h?a=!0:o=!1,a&&!o)break}a?(e.G[0]=0,e.G[2]=o?-1:0,e.G[6]=-1):(e.G[0]=-1,e.G[2]=0,e.G[6]=0);}return i.lg(e.G,r)},i.rW=function(n,s,h,r){n=n.w(),s=s.w();for(var e=[],a=0;9>a;a++)e[a]=-1;return t.b.oc(n,s)<=h*h?e[0]=0:(e[2]=0,e[6]=0),e[8]=2,i.lg(e,r)},i.lg=function(t,i){for(var n=0;9>n;n++)switch(i.charAt(n)){case"T":if(-1==t[n])return !1;break;case"F":if(-1!=t[n])return !1;break;case"0":if(0!=t[n])return !1;break;case"1":if(1!=t[n])return !1;break;case"2":if(2!=t[n])return !1}return !0},i.$X=function(i,n,s){var h=[-1,-1,-1,-1,-1,-1,-1,-1,-1];if(i.u()&&n.u()){for(var r=0;9>r;r++)h[r]=-1;return this.lg(h,s)}return r=!1,i.u()&&(i=n,r=!0),h[0]=-1,h[1]=-1,h[3]=-1,h[4]=-1,h[6]=-1,h[7]=-1,h[8]=2,n=i.F(),t.R.Bc(n)?1736==n?0!=i.Pe()?(h[2]=2,h[5]=1):(h[5]=-1,n=new t.g,i.s(n),h[2]=0==n.ca()&&0==n.N()?0:1):(n=0!=i.Pb(),h[2]=n?1:0,h[5]=t.yi.tq(i)?0:-1):(h[2]=0,h[5]=-1),r&&this.CL(h),this.lg(h,s)},i.cT=function(t,n,s){return i.oR(t)?3:i.eR(t)?4:i.JZ(t,n,s)?8:i.NQ(t,n,s)?16:i.oQ(t)?1:i.XV(t,n,s)?32:0},i.oR=function(t){return "T"==t.charAt(0)&&"*"==t.charAt(1)&&"F"==t.charAt(2)&&"*"==t.charAt(3)&&"*"==t.charAt(4)&&"F"==t.charAt(5)&&"F"==t.charAt(6)&&"F"==t.charAt(7)&&"*"==t.charAt(8)},i.eR=function(t){return "F"==t.charAt(0)&&"F"==t.charAt(1)&&"*"==t.charAt(2)&&"F"==t.charAt(3)&&"F"==t.charAt(4)&&"*"==t.charAt(5)&&"*"==t.charAt(6)&&"*"==t.charAt(7)&&"*"==t.charAt(8)},i.JZ=function(t,i,n){return (0!=i||0!=n)&&((2!=i||2!=n)&&("F"==t.charAt(0)&&"*"==t.charAt(1)&&"*"==t.charAt(2)&&"T"==t.charAt(3)&&"*"==t.charAt(4)&&"*"==t.charAt(5)&&"*"==t.charAt(6)&&"*"==t.charAt(7)&&"*"==t.charAt(8)||1==i&&1==n&&"F"==t.charAt(0)&&"T"==t.charAt(1)&&"*"==t.charAt(2)&&"*"==t.charAt(3)&&"*"==t.charAt(4)&&"*"==t.charAt(5)&&"*"==t.charAt(6)&&"*"==t.charAt(7)&&"*"==t.charAt(8))||0!=n&&"F"==t.charAt(0)&&"*"==t.charAt(1)&&"*"==t.charAt(2)&&"*"==t.charAt(3)&&"T"==t.charAt(4)&&"*"==t.charAt(5)&&"*"==t.charAt(6)&&"*"==t.charAt(7)&&"*"==t.charAt(8))},i.NQ=function(t,i,n){return i>n?"T"==t.charAt(0)&&"*"==t.charAt(1)&&"*"==t.charAt(2)&&"*"==t.charAt(3)&&"*"==t.charAt(4)&&"*"==t.charAt(5)&&"T"==t.charAt(6)&&"*"==t.charAt(7)&&"*"==t.charAt(8):1==i&&1==n&&"0"==t.charAt(0)&&"*"==t.charAt(1)&&"*"==t.charAt(2)&&"*"==t.charAt(3)&&"*"==t.charAt(4)&&"*"==t.charAt(5)&&"*"==t.charAt(6)&&"*"==t.charAt(7)&&"*"==t.charAt(8)},i.oQ=function(t){return "T"==t.charAt(0)&&"*"==t.charAt(1)&&"*"==t.charAt(2)&&"*"==t.charAt(3)&&"*"==t.charAt(4)&&"*"==t.charAt(5)&&"F"==t.charAt(6)&&"F"==t.charAt(7)&&"*"==t.charAt(8)},i.XV=function(t,i,n){if(i==n){if(1!=i)return "T"==t.charAt(0)&&"*"==t.charAt(1)&&"T"==t.charAt(2)&&"*"==t.charAt(3)&&"*"==t.charAt(4)&&"*"==t.charAt(5)&&"T"==t.charAt(6)&&"*"==t.charAt(7)&&"*"==t.charAt(8);if("1"==t.charAt(0)&&"*"==t.charAt(1)&&"T"==t.charAt(2)&&"*"==t.charAt(3)&&"*"==t.charAt(4)&&"*"==t.charAt(5)&&"T"==t.charAt(6)&&"*"==t.charAt(7)&&"*"==t.charAt(8))return !0}return !1},i.px=function(t,i,n){t=i.Fa(t);for(var s=i.We;-1!=s;s=i.$f(s))if(0!=(i.Bd(s)&t)){var h=i.Re(s);if(-1==h)i.Dn(s,n,0);else {var r=h,e=0;do{0!=(i.lh(r)&t)&&e++,r=i.kc(i.wa(r));}while(r!=h);i.Dn(s,n,e);}}},i.rq=function(t){var i=""+t.charAt(0);return i+=t.charAt(3),i+=t.charAt(6),i+=t.charAt(1),i+=t.charAt(4),i+=t.charAt(7),i+=t.charAt(2),(i+=t.charAt(5))+t.charAt(8)},i.prototype.dj=function(){for(var t=0;9>t;t++)this.G[t]=-2,this.$a[t]=-2;},i.CL=function(t){var i=t[1],n=t[2],s=t[5];t[1]=t[3],t[2]=t[6],t[5]=t[7],t[3]=i,t[6]=n,t[7]=s;},i.prototype.ij=function(t){for(this.Wc=t,t=0;9>t;t++)"*"!=this.Wc.charAt(t)?(this.ea[t]=!0,this.se++):this.ea[t]=!1;},i.prototype.YK=function(){for(var t=0;9>t;t++)this.ea[t]&&-2==this.G[t]&&(this.G[t]=-1,this.ea[t]=!1);},i.prototype.pc=function(t){return -2!=this.G[t]&&(-1==this.G[t]?(this.ea[t]=!1,this.se--,!0):"T"!=this.Wc.charAt(t)&&"F"!=this.Wc.charAt(t)?!(this.G[t]<this.$a[t])&&(this.ea[t]=!1,this.se--,!0):(this.ea[t]=!1,this.se--,!0))},i.prototype.BK=function(){this.cx=0,this.$a[0]=2,this.$a[1]=1,this.$a[2]=2,this.$a[3]=1,this.$a[4]=1,this.$a[5]=1,this.$a[6]=2,this.$a[7]=1,this.$a[8]=2,this.ea[8]&&(this.G[8]=2,this.ea[8]=!1,this.se--);},i.prototype.sC=function(){this.cx=1,this.en=3,this.$a[0]=1,this.$a[1]=0,this.$a[2]=2,this.$a[3]=1,this.$a[4]=0,this.$a[5]=1,this.$a[6]=1,this.$a[7]=0,this.$a[8]=2,this.ea[8]&&(this.G[8]=2,this.ea[8]=!1,this.se--);},i.prototype.HY=function(){this.cx=2,this.en=4,this.$a[0]=1,this.$a[1]=0,this.$a[2]=1,this.$a[3]=0,this.$a[4]=0,this.$a[5]=0,this.$a[6]=1,this.$a[7]=0,this.$a[8]=2,this.ea[8]&&(this.G[8]=2,this.ea[8]=!1,this.se--);},i.prototype.CK=function(){this.en=3,this.$a[0]=0,this.$a[1]=-1,this.$a[2]=2,this.$a[3]=0,this.$a[4]=-1,this.$a[5]=1,this.$a[6]=0,this.$a[7]=-1,this.$a[8]=2,this.ea[1]&&(this.G[1]=-1,this.ea[1]=!1,this.se--),this.ea[4]&&(this.G[4]=-1,this.ea[4]=!1,this.se--),this.ea[7]&&(this.G[7]=-1,this.ea[7]=!1,this.se--),this.ea[8]&&(this.G[8]=2,this.ea[8]=!1,this.se--);},i.prototype.QK=function(){this.en=4,this.$a[0]=0,this.$a[1]=-1,this.$a[2]=1,this.$a[3]=0,this.$a[4]=-1,this.$a[5]=0,this.$a[6]=0,this.$a[7]=-1,this.$a[8]=2,this.ea[1]&&(this.G[1]=-1,this.ea[1]=!1,this.se--),this.ea[4]&&(this.G[4]=-1,this.ea[4]=!1,this.se--),this.ea[7]&&(this.G[7]=-1,this.ea[7]=!1,this.se--),this.ea[8]&&(this.G[8]=2,this.ea[8]=!1,this.se--);},i.prototype.VK=function(){this.en=5,this.$a[0]=0,this.$a[1]=-1,this.$a[2]=0,this.$a[3]=-1,this.$a[4]=-1,this.$a[5]=-1,this.$a[6]=0,this.$a[7]=-1,this.$a[8]=2,this.ea[1]&&(this.G[1]=-1,this.ea[1]=!1,this.se--),this.ea[3]&&(this.G[3]=-1,this.ea[3]=!1,this.se--),this.ea[4]&&(this.G[4]=-1,this.ea[4]=!1,this.se--),this.ea[5]&&(this.G[5]=-1,this.ea[5]=!1,this.se--),this.ea[7]&&(this.G[7]=-1,this.ea[7]=!1,this.se--),this.ea[8]&&(this.G[8]=2,this.ea[8]=!1,this.se--);},i.prototype.IO=function(t,i,n){var s=!0;return this.ea[0]&&(this.XT(t,i,n),s=s&&this.pc(0)),this.ea[1]&&(this.eH(t,i,1),s=s&&this.pc(1)),this.ea[2]&&(this.fH(t,i,n,2),s=s&&this.pc(2)),this.ea[3]&&(this.eH(t,n,3),s=s&&this.pc(3)),this.ea[4]&&(this.MO(t,i,n),s=s&&this.pc(4)),this.ea[5]&&(this.RE(t,n,5),s=s&&this.pc(5)),this.ea[6]&&(this.fH(t,n,i,6),s=s&&this.pc(6)),this.ea[7]&&(this.RE(t,i,7),s=s&&this.pc(7)),s},i.prototype.iv=function(t,i){this.G[0]=-1,this.G[1]=-1,this.G[3]=-1,this.G[4]=-1,this.fs(t,this.ea[2]?2:-1,this.Wc.charAt(2),this.ea[5]?5:-1,this.Wc.charAt(5)),this.fs(i,this.ea[6]?6:-1,this.Wc.charAt(6),this.ea[7]?7:-1,this.Wc.charAt(7));},i.prototype.fs=function(i,n,s,h,r){-1==n&&-1==h||(("T"!=s&&"F"!=s&&-1!=n||"T"!=r&&"F"!=r&&-1!=h)&&0==i.Pe()?(-1!=h&&(this.G[h]=-1),-1!=n&&(s=new t.g,i.s(s),this.G[n]=0==s.ca()&&0==s.N()?0:1)):(-1!=n&&(this.G[n]=2),-1!=h&&(this.G[h]=1)));},i.prototype.Ry=function(t){this.G[2]=2,this.G[3]=-1,this.G[4]=-1,this.G[5]=1,this.G[6]=-1,this.G[7]=-1,this.fs(t,this.ea[0]?0:-1,this.Wc.charAt(0),this.ea[1]?1:-1,this.Wc.charAt(1));},i.prototype.LE=function(t){this.Ry(t),i.CL(this.G);},i.prototype.jv=function(i,n){if(this.G[0]=-1,this.G[1]=-1,this.G[3]=-1,this.G[4]=-1,this.ea[6]){var s=this.Wc.charAt(6);s="T"==s||"F"==s||0!=n.Pb(),this.G[6]=s?1:0;}this.ea[7]&&(n=t.yi.tq(n),this.G[7]=n?0:-1),this.fs(i,this.ea[2]?2:-1,this.Wc.charAt(2),this.ea[5]?5:-1,this.Wc.charAt(5));},i.prototype.ME=function(i){if(this.ea[0]){var n=this.Wc.charAt(0);n="T"==n||"F"==n||0!=i.Pb(),this.G[0]=n?1:0;}this.ea[1]&&(i=t.yi.tq(i),this.G[1]=i?0:-1),this.G[2]=2,this.G[3]=-1,this.G[4]=-1,this.G[5]=1,this.G[6]=-1,this.G[7]=-1;},i.prototype.kv=function(t){this.G[0]=-1,this.G[3]=-1,this.G[6]=0,this.fs(t,this.ea[2]?2:-1,this.Wc.charAt(2),this.ea[5]?5:-1,this.Wc.charAt(5));},i.prototype.KO=function(){this.G[0]=0,this.G[2]=2,this.G[3]=-1,this.G[5]=1,this.G[6]=-1;},i.prototype.BH=function(i,n){if(this.G[0]=-1,this.G[1]=-1,this.G[3]=-1,this.G[4]=-1,this.ea[2]){var s=this.Wc.charAt(2);s="T"==s||"F"==s||0!=i.Pb(),this.G[2]=s?1:0;}this.ea[5]&&(i=t.yi.tq(i),this.G[5]=i?0:-1),this.ea[6]&&(s="T"==(s=this.Wc.charAt(6))||"F"==s||0!=n.Pb(),this.G[6]=s?1:0),this.ea[7]&&(n=t.yi.tq(n),this.G[7]=n?0:-1);},i.prototype.FA=function(i){if(this.G[0]=-1,this.G[3]=-1,this.ea[2]){var n=this.Wc.charAt(2);n="T"==n||"F"==n||0!=i.Pb(),this.G[2]=n?1:0;}this.ea[5]&&(i=t.yi.tq(i),this.G[5]=i?0:-1),this.G[6]=0;},i.prototype.pJ=function(){this.G[0]=-1,this.G[2]=0,this.G[6]=0;},i.prototype.JO=function(t,i,n){var s=!0;return this.ea[0]&&(this.YT(t,i),s=s&&this.pc(0)),this.ea[1]&&(this.UT(t,i,n,this.qh),s=s&&this.pc(1)),this.ea[2]&&(this.VT(t,i),s=s&&this.pc(2)),this.ea[3]&&(this.QO(t,i,n,this.qh),s=s&&this.pc(3)),this.ea[4]&&(this.NO(t,i,n,this.qh),s=s&&this.pc(4)),this.ea[5]&&(this.OO(t,i,n),s=s&&this.pc(5)),this.ea[6]&&(this.xR(t,i),s=s&&this.pc(6)),this.ea[7]&&(this.wR(t,i,n,this.qh),s=s&&this.pc(7)),s},i.prototype.IU=function(t,i,n){var s=!0;return this.ea[0]&&(this.aU(t,i,n,this.di,this.qh),s=s&&this.pc(0)),this.ea[1]&&(this.gH(t,i,n,this.di,this.qh,1),s=s&&this.pc(1)),this.ea[2]&&(this.hH(t,i,n,2),s=s&&this.pc(2)),this.ea[3]&&(this.gH(t,n,i,this.qh,this.di,3),s=s&&this.pc(3)),this.ea[4]&&(this.SO(t,i,n,this.di,this.qh),s=s&&this.pc(4)),this.ea[5]&&(this.SE(t,n,this.di,5),s=s&&this.pc(5)),this.ea[6]&&(this.hH(t,n,i,6),s=s&&this.pc(6)),this.ea[7]&&(this.SE(t,i,this.qh,7),s=s&&this.pc(7)),s},i.prototype.NE=function(t,i,n){var s=!0;return this.ea[0]&&(this.ZT(t,i),s=s&&this.pc(0)),this.ea[2]&&(this.WT(t,i),s=s&&this.pc(2)),this.ea[3]&&(this.RO(t,i,n),s=s&&this.pc(3)),this.ea[5]&&(this.PO(t,i),s=s&&this.pc(5)),this.ea[6]&&(this.yR(t,i),s=s&&this.pc(6)),s},i.prototype.CH=function(t,i,n){var s=!0;return this.ea[0]&&(this.bU(t,i,n,this.di),s=s&&this.pc(0)),this.ea[2]&&(this.$T(t,n),s=s&&this.pc(2)),this.ea[3]&&(this.UO(t,i,n,this.di),s=s&&this.pc(3)),this.ea[5]&&(this.TO(t,i,n,this.di),s=s&&this.pc(5)),this.ea[6]&&(this.zR(t,i,n),s=s&&this.pc(6)),s},i.prototype.qW=function(t,i,n){var s=!0;return this.ea[0]&&(this.cU(t,i,n),s=s&&this.pc(0)),this.ea[2]&&(this.iH(t,i,n,2),s=s&&this.pc(2)),this.ea[6]&&(this.iH(t,n,i,6),s=s&&this.pc(6)),s},i.prototype.XT=function(t,i,n){2!=this.G[0]&&(0!=((t=this.h.kf(t))&i)&&0!=(t&n)&&(this.G[0]=2));},i.prototype.eH=function(t,i,n){if(1!=this.G[n]){var s=this.h.kf(this.h.wa(t));0!=(this.h.kf(t)&i)&&0!=(s&i)&&(this.G[n]=1);}},i.prototype.fH=function(t,i,n,s){2!=this.G[s]&&(0!=((t=this.h.kf(t))&i)&&0==(t&n)&&(this.G[s]=2));},i.prototype.MO=function(t,i,n){if(1!=this.G[4]){var s=this.h.lh(t);0!=(s&i)&&0!=(s&n)?this.G[4]=1:0!=this.G[4]&&1!=this.h.Cb(this.h.ze(this.h.wa(t)),this.aj)&&(0!=((t=this.h.Bd(this.h.Df(t)))&i)&&0!=(t&n)&&(this.G[4]=0));}},i.prototype.RE=function(t,i,n){if(1!=this.G[n]){var s=this.h.kf(this.h.wa(t));0==(this.h.kf(t)&i)&&0==(s&i)&&(this.G[n]=1);}},i.prototype.YT=function(t,i){if(1!=this.G[0]){var n=this.h.kf(this.h.wa(t));0!=(this.h.kf(t)&i)&&0!=(n&i)&&(this.G[0]=1);}},i.prototype.UT=function(t,i,n,s){if(0!=this.G[1]&&1!=this.h.Cb(this.h.ze(this.h.wa(t)),this.aj)){var h=this.h.Df(t),r=this.h.Bd(h);0==(r&i)&&0!=(this.h.kf(t)&i)&&(t=this.h.tg(h,s),0!=(r&n)&&0!=t%2&&(this.G[1]=0));}},i.prototype.VT=function(t,i){2!=this.G[2]&&0!=(this.h.lh(t)&i)&&(this.G[2]=2);},i.prototype.QO=function(t,i,n,s){if(1!=this.G[3]){var h=this.h.lh(t);0!=(h&i)&&0!=(h&n)?this.G[3]=1:0!=this.G[3]&&1!=this.h.Cb(this.h.ze(this.h.wa(t)),this.aj)&&(h=this.h.Df(t),0!=((t=this.h.Bd(h))&i)&&(i=this.h.tg(h,s),0!=(t&n)&&0==i%2&&(this.G[3]=0)));}},i.prototype.NO=function(t,i,n,s){if(0!=this.G[4]&&1!=this.h.Cb(this.h.ze(this.h.wa(t)),this.aj)){var h=this.h.Df(t);0!=((t=this.h.Bd(h))&i)&&(i=this.h.tg(h,s),0!=(t&n)&&0!=i%2&&(this.G[4]=0));}},i.prototype.OO=function(t,i,n){1!=this.G[5]&&(0!=((t=this.h.lh(t))&i)&&0==(t&n)&&(this.G[5]=1));},i.prototype.xR=function(t,i){if(1!=this.G[6]){var n=this.h.kf(this.h.wa(t));0==(this.h.kf(t)&i)&&0==(n&i)&&(this.G[6]=1);}},i.prototype.wR=function(t,i,n,s){if(0!=this.G[7]&&1!=this.h.Cb(this.h.ze(this.h.wa(t)),this.aj)){var h=this.h.Df(t),r=this.h.Bd(h);0==(r&i)&&0==(this.h.kf(t)&i)&&(t=this.h.tg(h,s),0!=(r&n)&&0!=t%2&&(this.G[7]=0));}},i.prototype.aU=function(t,i,n,s,h){if(1!=this.G[0]){var r=this.h.lh(t);0!=(r&i)&&0!=(r&n)?this.G[0]=1:0!=this.G[0]&&1!=this.h.Cb(this.h.ze(this.h.wa(t)),this.aj)&&(t=this.h.Df(t),0!=((r=this.h.Bd(t))&i)&&0!=(r&n)&&(i=this.h.tg(t,s),h=this.h.tg(t,h),0==i%2&&0==h%2&&(this.G[0]=0)));}},i.prototype.gH=function(t,i,n,s,h,r){if(0!=this.G[r]&&1!=this.h.Cb(this.h.ze(this.h.wa(t)),this.aj)){t=this.h.Df(t);var e=this.h.Bd(t);0!=(e&i)&&0!=(e&n)&&(i=this.h.tg(t,s),h=this.h.tg(t,h),0==i%2&&0!=h%2&&(this.G[r]=0));}},i.prototype.hH=function(t,i,n,s){1!=this.G[s]&&(0!=((t=this.h.lh(t))&i)&&0==(t&n)&&(this.G[s]=1));},i.prototype.SO=function(t,i,n,s,h){if(0!=this.G[4]&&1!=this.h.Cb(this.h.ze(this.h.wa(t)),this.aj)){t=this.h.Df(t);var r=this.h.Bd(t);0!=(r&i)&&0!=(r&n)&&(i=this.h.tg(t,s),h=this.h.tg(t,h),0!=i%2&&0!=h%2&&(this.G[4]=0));}},i.prototype.SE=function(t,i,n,s){0!=this.G[s]&&1!=this.h.Cb(this.h.ze(this.h.wa(t)),this.aj)&&(t=this.h.Df(t),0==(this.h.Bd(t)&i)&&0!=this.h.tg(t,n)%2&&(this.G[s]=0));},i.prototype.ZT=function(t,i){0!=this.G[0]&&0==(this.h.Bd(t)&i)&&0!=(this.h.mk(this.h.Iz(t))&i)&&(this.G[0]=0);},i.prototype.WT=function(t,i){2!=this.G[2]&&0!=(this.h.Bd(t)&i)&&(this.G[2]=2);},i.prototype.RO=function(t,i,n){0!=this.G[3]&&(0!=((t=this.h.Bd(t))&i)&&0!=(t&n)&&(this.G[3]=0));},i.prototype.PO=function(t,i){1!=this.G[5]&&0!=(this.h.Bd(t)&i)&&(this.G[5]=1);},i.prototype.yR=function(t,i){0!=this.G[6]&&0==(this.h.Bd(t)&i)&&0==(this.h.mk(this.h.Iz(t))&i)&&(this.G[6]=0);},i.prototype.bU=function(t,i,n,s){if(0!=this.G[0]){var h=this.h.Bd(t);0!=(h&i)&&0!=(h&n)&&0==this.h.tg(t,s)%2&&(this.G[0]=0);}},i.prototype.$T=function(t,i){1!=this.G[2]&&(-1!=this.h.Re(t)?this.G[2]=1:0!=this.G[2]&&0==(this.h.Bd(t)&i)&&(this.G[2]=0));},i.prototype.UO=function(t,i,n,s){if(0!=this.G[3]){var h=this.h.Bd(t);0!=(h&i)&&0!=(h&n)&&0!=this.h.tg(t,s)%2&&(this.G[3]=0);}},i.prototype.TO=function(t,i,n,s){if(0!=this.G[5]){var h=this.h.Bd(t);0!=(h&i)&&0==(h&n)&&0!=this.h.tg(t,s)%2&&(this.G[5]=0);}},i.prototype.zR=function(t,i,n){0!=this.G[6]&&(0==((t=this.h.Bd(t))&i)&&0!=(t&n)&&(this.G[6]=0));},i.prototype.cU=function(t,i,n){0!=this.G[0]&&(0!=((t=this.h.Bd(t))&i)&&0!=(t&n)&&(this.G[0]=0));},i.prototype.iH=function(t,i,n,s){0!=this.G[s]&&(0!=((t=this.h.Bd(t))&i)&&0==(t&n)&&(this.G[s]=0));},i.prototype.Vp=function(i,n){var s=!1;i=this.h.Fa(i),n=this.h.Fa(n),this.aj=this.h.ih();for(var h=this.h.We;-1!=h;h=this.h.$f(h)){var r=this.h.Re(h);if(-1==r){if(-1!=this.en)switch(this.en){case 3:s=this.NE(h,i,n);break;case 4:s=this.CH(h,i,n);break;default:throw t.f.Y("internal error")}}else {var e=r;do{var a=e;if(1!=this.h.Cb(a,this.aj))do{switch(this.cx){case 0:s=this.IO(a,i,n);break;case 1:s=this.JO(a,i,n);break;case 2:s=this.IU(a,i,n);break;default:throw t.f.Y("internal error")}if(s)break;this.h.Jb(a,this.aj,1),a=this.h.kc(a);}while(a!=e&&!s);if(s)break;e=this.h.kc(this.h.wa(a));}while(e!=r);if(s)break}}s||this.YK(),this.h.Uh(this.aj);},i.prototype.kz=function(i,n){var s=!1;i=this.h.Fa(i),n=this.h.Fa(n);for(var h=this.h.We;-1!=h;h=this.h.$f(h)){switch(this.en){case 3:s=this.NE(h,i,n);break;case 4:s=this.CH(h,i,n);break;case 5:s=this.qW(h,i,n);break;default:throw t.f.za()}if(s)break}s||this.YK();},i.prototype.zr=function(t,i){this.h.xr(t,i);},i.prototype.lp=function(t,i,n){this.iR(t,i,n),this.zr(t,n);},i.prototype.iR=function(i,n,s){for(t.$j.U(i,n,s,!1),i.$p(0,!0,!0),n=i.ld;-1!=n;n=i.Ae(n))1736==i.dc(n)&&t.Kn.U(i,n,-1,!1,s);},i.HF=function(i,n){var s=i.F();return t.R.Ic(s)?((n=new t.Oa(i.description)).$b(i,!0),n):197==s?(s=new t.g,i.s(s),s.ca()<=n&&s.N()<=n?(n=new t.Ra(i.description),i.hf(n),n):s.ca()<=n||s.N()<=n?(n=new t.Oa(i.description),s=new t.Ra,i.Pf(0,s),n.xf(s),i.Pf(2,s),n.lineTo(s),n):((n=new t.Ga(i.description)).bd(i,!1),n)):i},i}(),t.mm=i;}(W||(W={})),function(t){var i=function(){function i(i){this.Rm=new t.ha(0),this.Lw=new t.ha(0),this.fu=new t.b,this.gu=new t.b,this.a=i,this.pt=-1;}return i.prototype.ec=function(t){return this.a.ec(this.hA(t))},i.prototype.iw=function(t){var i=this.Pz(t);if(t=this.tG(t),this.a.Ma(i)==t){var n=i;i=t,t=n;}return this.a.Hc(i,this.fu),this.a.Hc(t,this.gu),this.fu.y<this.gu.y},i.prototype.hA=function(t){var i=this.Pz(t);return t=this.tG(t),this.a.T(i)==t?i:t},i.prototype.Pz=function(t){return this.Rm.get(t)},i.prototype.tG=function(t){return this.Lw.get(t)},i.prototype.eG=function(t){this.Rm.set(t,this.pt),this.pt=t;},i.prototype.cJ=function(i){if(-1!=this.pt){var n=this.pt;return this.pt=this.Rm.get(n),this.Rm.set(n,i),this.Lw.set(n,this.a.T(i)),n}return null==this.Rm&&(this.Rm=new t.ha(0),this.Lw=new t.ha(0)),n=this.Rm.size,this.Rm.add(i),this.Lw.add(this.a.T(i)),n},i.prototype.aA=function(t){return this.a.cd(this.Pz(t))},i}();t.e_=i;var n=function(){function i(i){this.Ie=i,this.qe=new t.zb,this.$m=new t.zb,this.sI=0,this.Uo=null,this.hB=-1;}return i.prototype.compare=function(t,i,n){n=t.ga(n);var s=this.Ie.eb;if(this.hB==i)var h=this.sI;else this.Uo=s.ec(i),null==this.Uo?((t=s.a).gd(s.hA(i),this.qe),this.Uo=this.qe,h=this.qe.Te(this.Ie.Fh,0)):h=this.Uo.Te(this.Ie.Fh,0),this.sI=h,this.hB=i;if(null==(t=s.ec(n))){(t=s.a).gd(s.hA(n),this.$m),t=this.$m;var r=this.$m.Te(this.Ie.Fh,0);}else r=t.Te(this.Ie.Fh,0);return h==r&&(i=s.iw(i),n=s.iw(n),(i=.5*((n=Math.min(i?this.Uo.ma:this.Uo.na,n?t.ma:t.na))+this.Ie.Fh))==this.Ie.Fh&&(i=n),h=this.Uo.Te(i,0),r=t.Te(i,0)),h<r?-1:h>r?1:0},i.prototype.reset=function(){this.hB=-1;},i}(),s=function(){function s(){this.kn=this.Ol=null,this.cb=new t.bk,this.cb.bR(),this.ge=new n(this),this.cb.kp(this.ge);}return s.prototype.TR=function(){var i=!1;if(this.Pw&&(i=this.UR()),1==this.a.$(this.W)){var n=this.a.Kb(this.W);return i=this.a.eA(n),this.a.yC(n,!0),0>i&&(i=this.a.Za(n),this.a.tK(i),this.a.dh(n,this.a.Ma(i)),!0)}for(this.Ml=this.a.oz(),this.Po=this.a.oz(),n=this.a.Kb(this.W);-1!=n;n=this.a.Qb(n))this.a.Br(n,this.Ml,0),this.a.Br(n,this.Po,-1);n=new t.ha(0),this.Fh=NaN;var s=new t.b;this.Mt=this.a.$(this.W),this.Ko=this.a.Kd(),this.zt=this.a.Kd();for(var h=this.Ol.sc(this.Ol.re);-1!=h;h=this.Ol.hb(h)){var r=this.Ol.getData(h);if(this.a.Hc(r,s),s.y!=this.Fh&&0!=n.size&&(i=this.cu(n)||i,this.ge.reset(),n.clear(!1)),n.add(r),this.Fh=s.y,0==this.Mt)break}for(0<this.Mt&&(i=this.cu(n)||i,n.clear(!1)),this.a.Xd(this.Ko),this.a.Xd(this.zt),n=this.a.Kb(this.W);-1!=n;)if(3==this.a.yj(n,this.Ml)){for(this.a.yC(n,!0),s=n,n=this.a.yj(n,this.Po);-1!=n;)h=this.a.yj(n,this.Po),this.a.sV(this.W,this.a.Qb(s),n),s=n,n=h;n=this.a.Qb(s);}else this.a.yC(n,!1),n=this.a.Qb(n);return this.a.lC(this.Ml),this.a.lC(this.Po),i},s.prototype.cu=function(t){return this.sX(t)},s.prototype.sX=function(n){var s=!1;null==this.eb&&(this.eb=new i(this.a)),null==this.kn?(this.kn=new t.ha(0),this.kn.Db(16)):this.kn.clear(!1),this.rX(n);for(var h=0,r=n.size;h<r;h++){var e=n.get(h);-1!=e&&this.aH(e,-1);}for(h=0;h<this.kn.size&&0<this.Mt;h++)if(n=this.kn.get(h),e=this.eb.aA(this.cb.ga(n)),r=-1,0==this.a.yj(e,this.Ml)){e=this.cb.Be(n);for(var a,o=n;-1!=e;){var u=this.cb.ga(e),f=this.eb.aA(u),c=this.a.yj(f,this.Ml);if(0!=c){r=f;break}o=e,e=this.cb.Be(e);}-1==e?(a=!0,e=o):(u=this.cb.ga(e),a=this.eb.iw(u),e=this.cb.hb(e),a=!a);do{if(u=this.cb.ga(e),f=this.eb.aA(u),0==(c=this.a.yj(f,this.Ml))&&(a!=this.eb.iw(u)&&(s=this.a.Za(f),this.a.tK(s),this.a.dh(f,this.a.Ma(s)),s=!0),this.a.Br(f,this.Ml,a?3:2),a||(o=this.a.yj(r,this.Po),this.a.Br(r,this.Po,f),this.a.Br(f,this.Po,o)),this.Mt--,0==this.Mt))return s;r=f,o=e,e=this.cb.hb(e),a=!a;}while(o!=n)}return s},s.prototype.rX=function(t){for(var i=0,n=t.size;i<n;i++){var s=t.get(i),h=this.a.Na(s,this.Ko),r=this.a.Na(s,this.zt);if(-1!=h){var e=this.cb.ga(h);this.eb.eG(e),this.a.Qa(s,this.Ko,-1);}-1!=r&&(e=this.cb.ga(r),this.eb.eG(e),this.a.Qa(s,this.zt,-1)),e=-1,-1!=h&&-1!=r?(this.cb.zd(h,-1),this.cb.zd(r,-1),t.set(i,-1)):e=-1!=h?h:r,-1!=e&&(this.aH(s,e)||this.cb.zd(e,-1),t.set(i,-1));}},s.prototype.aH=function(i,n){var s=new t.b,h=new t.b;this.a.Hc(i,s);var r=this.a.T(i);this.a.Hc(r,h);var e=!1;if(s.y<h.y){e=!0;var a=this.eb.cJ(i);if(-1==n)var o=this.cb.addElement(a,-1);else o=n,this.cb.Tj(o,a);-1==(a=this.a.Na(r,this.Ko))?this.a.Qa(r,this.Ko,o):this.a.Qa(r,this.zt,o),r=this.a.cd(i),0==this.a.yj(r,this.Ml)&&this.kn.add(o);}return r=this.a.Ma(i),this.a.Hc(r,h),s.y<h.y&&(e=!0,a=this.eb.cJ(r),-1==n?o=this.cb.addElement(a,-1):(o=n,this.cb.Tj(o,a)),-1==(a=this.a.Na(r,this.Ko))?this.a.Qa(r,this.Ko,o):this.a.Qa(r,this.zt,o),r=this.a.cd(i),0==this.a.yj(r,this.Ml)&&this.kn.add(o)),e},s.U=function(t,i,n,h){var r=new s;return r.a=t,r.W=i,r.Ol=n,r.Pw=h,r.TR()},s.prototype.UR=function(){var i=new t.ha(0),n=new t.ha(0),s=-1,h=-1,r=new t.b;r.Tc();for(var e=-1,a=-1,o=-1,u=new t.b,f=this.Ol.sc(this.Ol.re);-1!=f;f=this.Ol.hb(f)){var c=this.Ol.getData(f);this.a.Hc(c,u);var l=this.a.cd(c);r.qb(u)&&a==l?(-1==h&&(s=this.a.oz(),h=this.a.Kd()),-1==o&&(o=n.size,this.a.Qa(e,h,o),n.add(1),-1==this.a.yj(l,s)&&(this.a.Br(l,s,e),i.add(l))),this.a.Qa(c,h,o),n.EY(n.Gc()+1)):(o=-1,r.K(u)),e=c,a=l;}if(0==i.size)return !1;for(r=new t.ha(0),e=new t.ha(0),a=0,o=i.size;a<o;a++){l=i.get(a);var p=this.a.yj(l,s);for(c=this.a.Na(p,h),r.clear(!1),e.clear(!1),r.add(p),e.add(c),c=this.a.T(p);c!=p;c=this.a.T(c)){var b=c;if(-1!=(u=this.a.Na(b,h)))if(0==e.size)e.add(u),r.add(b);else if(e.Gc()==u){f=r.Gc();var v=this.a.T(f);p=this.a.T(b),this.a.Dc(f,p),this.a.Ec(p,f),this.a.Dc(b,v),this.a.Ec(v,b),b=[!1],v=this.a.$G(this.W,v,this.a.Za(l),b),this.a.Qa(c,h,-1),b[0]&&this.a.Sf(l,p),c=this.a.Ha(l),c-=p=this.a.Ha(v),this.a.Wj(l,c),n.set(u,n.get(u)-1),1==n.get(u)&&(n.set(u,0),e.Rf(),r.Rf()),c=p=f;}else r.add(c),e.add(u);}}return this.a.lC(s),this.a.Xd(h),!0},s}();t.dN=s;}(W||(W={})),function(t){var i=function(){function i(){}return i.prototype.og=function(){this.yB=this.sb=null;},i.prototype.get=function(){return this.yB},i.prototype.set=function(i){if(this.yB=i,null!=i)throw 322==i.F()&&(this.sb=i),t.f.za()},i.prototype.create=function(i){if(322!=i)throw t.f.Y("Not Implemented");this.ps();},i.prototype.ps=function(){null==this.sb&&(this.sb=new t.zb),this.yB=this.sb;},i}();t.og=i;}(W||(W={})),function(t){(t=t.eN||(t.eN={}))[t.enumLineSeg=1]="enumLineSeg",t[t.enumBezierSeg=2]="enumBezierSeg",t[t.enumArcSeg=4]="enumArcSeg",t[t.enumNonlinearSegmentMask=6]="enumNonlinearSegmentMask",t[t.enumSegmentMask=7]="enumSegmentMask",t[t.enumDensified=8]="enumDensified";}(W||(W={})),function(t){var i=function(t){this.gj=t,this.ZC=this.$C=1,this.bC=this.aC=this.cC=0;},n=function(){function n(){this.Zq=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.Jk=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.Jf=new t.Ra,this.qa=this.kx=0,this.Fo=[],this.It=[],this.fx=[],this.ar=[],this.vB=[];}return n.prototype.fC=function(t){if(null!=t){for(var i=0,n=t.length;i<n;i++)this.XX(t[i]);t.length=0;}},n.prototype.XX=function(t){t.gj=null,this.ar.push(t);},n.prototype.ux=function(t){if(0===this.ar.length)var n=new i(t);else (n=this.ar[this.ar.length-1]).gj=t,--this.ar.length;return n},n.prototype.iT=function(t,i){return 0==t?this.It[i]:this.fx[i]},n.prototype.LB=function(){this.kx>=this.vB.length&&this.vB.push(new t.og);var i=this.vB[this.kx];return this.kx++,i},n.prototype.clear=function(){this.fC(this.Fo),this.fC(this.It),this.fC(this.fx),this.kx=0;},n.prototype.gp=function(t){this.Fo.push(this.ux(t));},n.prototype.ul=function(t){return 0==t?this.It.length:this.fx.length},n.prototype.nq=function(t,i){return this.iT(t,i).gj},n.prototype.Ia=function(i,n){if(2!=this.Fo.length)throw t.f.za();this.qa=i;var s=t.Tb.Wx(.01*i),h=!1,r=this.Fo[0],e=this.Fo[1];if(n||0!=(5&r.gj.Zr(e.gj,i,!0))){if(322==r.gj.F()){var a=r.gj;if(322==e.gj.F()){n=e.gj;var o=t.zb.Dy(a,n,null,this.Zq,this.Jk,i);if(0==o)throw t.zb.Dy(a,n,null,this.Zq,this.Jk,i),t.f.za();i=Array(9),t.L.Hv(i,null);for(var u=0;u<o;u++){var f=this.Zq[u],c=this.Jk[u],l=r.bC,p=1;0==f?(l=r.cC,p=r.$C):1==f&&(l=r.aC,p=r.ZC);var b=e.bC,v=1;0==c?(b=e.cC,v=e.$C):1==c&&(b=e.aC,v=e.ZC);var y=new t.b;l==b?(l=new t.b,a.cc(f,l),f=new t.b,n.cc(c,f),v/=c=p+v,t.Tb.AH(l,f,v,y),t.b.oc(y,l)+t.b.oc(y,f)>s&&(h=!0)):l>b?(a.cc(f,y),f=new t.b,n.cc(c,f),t.b.oc(y,f)>s&&(h=!0)):(n.cc(c,y),l=new t.b,a.cc(f,l),t.b.oc(y,l)>s&&(h=!0)),i[u]=y;}for(r=0,e=-1,u=0;u<=o;u++)(v=u<o?this.Zq[u]:1)!=r&&(s=this.LB(),a.jh(r,v,s),-1!=e&&s.get().Fc(i[e]),u!=o&&s.get().Sc(i[u]),r=v,this.It.push(this.ux(s.get()))),e=u;for(a=[0,0,0,0,0,0,0,0,0],u=0;u<o;u++)a[u]=u;for(1<o&&this.Jk[0]>this.Jk[1]&&(v=this.Jk[0],this.Jk[0]=this.Jk[1],this.Jk[1]=v,u=a[0],a[0]=a[1],a[1]=u),r=0,e=-1,u=0;u<=o;u++)(v=u<o?this.Jk[u]:1)!=r&&(s=this.LB(),n.jh(r,v,s),-1!=e&&(r=a[e],s.get().Fc(i[r])),u!=o&&(r=a[u],s.get().Sc(i[r])),r=v,this.fx.push(this.ux(s.get()))),e=u;return h}}throw t.f.za()}return !1},n.prototype.rA=function(i,n,s){if(n.copyTo(this.Jf),1!=this.Fo.length)throw t.f.za();this.qa=i;var h=this.Fo[0];if(s||h.gj.Yu(n.w(),i,!0)){if(322!=h.gj.F())throw t.f.za();var r=(i=h.gj).ae(n.w(),!1);this.Zq[0]=r;var e=h.bC;for(s=1,0==r?(e=h.cC,s=h.$C):1==r&&(e=h.aC,s=h.ZC),h=new t.b,0==e?(e=new t.b,i.cc(r,e),n=n.w(),t.Tb.AH(e,n,1/(s+1),h)):0<e?(h=new t.b,i.cc(r,h)):h=n.w(),s=0,r=-1,e=0;1>=e;e++){if((n=1>e?this.Zq[e]:1)!=s){var a=this.LB();i.jh(s,n,a),-1!=r&&a.get().Fc(h),1!=e&&a.get().Sc(h),s=n,this.It.push(this.ux(a.get()));}r=e;}this.Jf.nb(h);}},n}();t.AD=n;}(W||(W={})),function(t){var i=function(){function i(i){this.lt=this.yk=this.sb=null,this.Ll=this.$e=0,this.wl=this.Mm=!1,this.Ue=-1,this.ki=this.ed=0,this.Pa=-1,this.Ya=i,this.$e=this.Xr(this.ki),this.Mm=!1,this.yk=null,this.Ll=-1,this.wl=!1,this.lt=new t.b;}return i.M_=function(n,s){if(0>s||s>=n.D())throw t.f.Gd();var h=new i(n),r=n.Yv(s);return h.ed=s-n.ua(r),h.ki=r+1,h.Pa=r,h.$e=h.Xr(h.Pa),h.Ll=h.Ya.ua(h.Pa),h.wl=h.Ya.Lb(h.Pa),h},i.L_=function(n,s,h){if(0>s||s>=n.$()||0>h)throw t.f.Gd();var r=n.Lb(s)?0:1;if(h>=n.Ha(s)-r)throw t.f.Gd();return (n=new i(n)).Ue=-1,n.ed=h,n.Pa=s,n.ki=n.ed+1,n.$e=n.Xr(n.ki),n.Ll=n.Ya.ua(n.Pa),n.wl=n.Ya.Lb(n.Pa),n},i.prototype.gY=function(i){if(this.Ya!=i.Ya)throw t.f.Eb();this.Ue=i.Ue,this.ed=i.ed,this.Pa=i.Pa,this.ki=i.ki,this.$e=i.$e,this.Mm=i.Mm,this.Ll=i.Ll,this.yk=null,this.wl=i.wl;},i.prototype.aa=function(){if(this.Ue!=this.ed&&this.nE(),this.Mm)this.ed=(this.ed+1)%this.$e;else {if(this.ed==this.$e)throw t.f.Gd();this.ed++;}return this.yk},i.prototype.ti=function(){if(this.Mm)this.ed=(this.$e+this.ed-1)%this.$e;else {if(0==this.ed)throw t.f.Gd();this.ed--;}return this.ed!=this.Ue&&this.nE(),this.yk},i.prototype.hY=function(){this.Ue=-1,this.ed=0;},i.prototype.iY=function(){this.ed=this.$e,this.Ue=-1;},i.prototype.Rb=function(t,i){if(void 0===i&&(i=-1),0<=this.Pa&&this.Pa<this.Ya.$()){var n=this.QN();if(t>=n&&t<this.Ya.zc(this.Pa))return this.Ue=-1,void(this.ed=t-n)}i=0<=i&&i<this.Ya.$()&&t>=this.Ya.ua(i)&&t<this.Ya.zc(i)?i:this.Ya.Yv(t),this.ki=i+1,this.Pa=i,this.Ue=-1,this.ed=t-this.Ya.ua(i),this.$e=this.Xr(i),this.Ll=this.Ya.ua(this.Pa),this.wl=this.Ya.Lb(this.Pa);},i.prototype.Ta=function(){return this.Pa=this.ki,!(this.Pa>=this.Ya.$())&&(this.Ue=-1,this.ed=0,this.$e=this.Xr(this.Pa),this.Ll=this.Ya.ua(this.Pa),this.wl=this.Ya.Lb(this.Pa),this.ki++,!0)},i.prototype.ej=function(){this.$e=this.ed=this.Ue=-1,this.ki=0,this.Pa=-1,this.wl=!1,this.Ll=-1;},i.prototype.oC=function(i){if(0>i)throw t.f.Gd();this.ki=i,this.Ll=this.$e=this.ed=this.Ue=this.Pa=-1,this.wl=!1;},i.prototype.Xr=function(t){if(this.Ya.Ac())return 0;var i=1;return this.Ya.Lb(t)&&(i=0),this.Ya.Ha(t)-i},i.prototype.io=function(){return this.Ue==this.$e-1&&this.Ya.Lb(this.Pa)},i.prototype.tC=function(){this.Mm=!0;},i.prototype.wb=function(){return this.Ya.kb.i[this.Pa]+this.Ue},i.prototype.QN=function(){return this.Ya.ua(this.Pa)},i.prototype.nk=function(){return this.io()?this.Ya.ua(this.Pa):this.wb()+1},i.prototype.Im=function(){return 0==this.Ue},i.prototype.ko=function(){return this.Ue==this.$e-1},i.prototype.Aa=function(){return this.ed<this.$e},i.prototype.mA=function(){return 0<this.ed},i.prototype.Cf=function(){var t=new i(this.Ya);return t.Ue=this.Ue,t.ed=this.ed,t.$e=this.$e,t.Pa=this.Pa,t.ki=this.ki,t.Ya=this.Ya,t.Mm=this.Mm,t},i.prototype.nE=function(){if(0>this.ed||this.ed>=this.$e)throw t.f.Gd();this.Ue=this.ed;var i=this.wb();this.Ya.rc();var n=this.Ya.af,s=1;switch(null!=n&&(s=7&n.read(i)),n=this.Ya.description,s){case 1:null==this.sb&&(this.sb=new t.zb),this.yk=this.sb;break;case 2:throw t.f.Y("internal error");case 4:default:throw t.f.za()}this.yk.rg(n),s=this.nk(),this.Ya.Hc(i,this.lt),this.yk.Fc(this.lt),this.Ya.Hc(s,this.lt),this.yk.Sc(this.lt);for(var h=1,r=n.Ca;h<r;h++)for(var e=n.kd(h),a=t.oa.Sa(e),o=0;o<a;o++){var u=this.Ya.Rc(e,i,o);this.yk.Qx(e,o,u),u=this.Ya.Rc(e,s,o),this.yk.Hx(e,o,u);}},i.prototype.uU=function(){return this.Pa==this.Ya.$()-1},i.prototype.jo=function(){var t=this.Ya.lT();return null!=t&&1!=(7&t.read(this.Ue))},i}();t.fN=i;}(W||(W={})),function(t){var i=function(){function i(i){i instanceof t.R?(this.kI=i,this.ya=-1,this.Ki=1):(this.QU=i.slice(0),this.ya=-1,this.Ki=i.length);}return i.prototype.Fa=function(){return this.ya},i.prototype.next=function(){return this.ya<this.Ki-1?(this.ya++,null!=this.kI?this.kI:this.QU[this.ya]):null},i.prototype.xe=function(){},i}();t.$c=i;}(W||(W={})),function(t){var i=function(){this.next=null;},n=function(){function n(){this.mr=this.qx=this.rx=0,this.YF=!1,this.lL=0,this.xn=this.Tf=this.hm=this.Nh=null,this.Zl=0,this.$y=null,this.vl=this.xi=-1;}return n.prototype.dZ=function(i,n,s){this.xi=i,this.vl=n,this.Nh=this.hm=null,this.mr=0,this.$y=s,null==this.xn&&(this.xn=t.L.Xf(384,0)),this.tL();},n.prototype.N=function(){return this.xi},n.prototype.ca=function(){return this.vl},n.prototype.flush=function(){0<this.Zl&&(this.$y.UF(this.xn,this.Zl),this.Zl=0);},n.prototype.tL=function(){if(0<this.mr){for(var t=0;t<this.vl;t++){for(var i=this.hm[t];null!=i;){var n=i;i=i.next,n.next=null;}this.hm[t]=null;}this.Nh=null;}this.rx=this.vl,this.qx=-1,this.mr=0;},n.prototype.mK=function(t){for(this.YF=t==n.iy,t=this.rx;t<=this.qx;t++)this.DO(),this.vO(t),this.jR();this.tL();},n.prototype.Py=function(n,s,h,r){if(s!=r){var e=1;if(s>r&&(e=n,n=h,h=e,e=s,s=r,r=e,e=-1),!(0>r||s>=this.vl)){0>n&&0>h?h=n=-1:n>=this.xi&&h>=this.xi&&(h=n=this.xi);var a=(h-n)/(r-s);r>this.vl&&(h=a*((r=this.vl)-s)+n),0>s&&(n=a*(0-s)+n,s=0);var o=Math.max(this.xi+1,8388607);-8388607>n?(s=(0-n)/a+s,n=0):n>o&&(s=(this.xi-n)/a+s,n=this.xi),-8388607>h?r=(0-n)/a+s:h>o&&(r=(this.xi-n)/a+s),(s=t.L.truncate(s))!=(r=t.L.truncate(r))&&((h=new i).x=t.L.truncate(4294967296*n),h.y=s,h.B=r,h.gR=t.L.truncate(4294967296*a),h.dir=e,null==this.hm&&(this.hm=t.L.Xf(this.vl,null)),h.next=this.hm[h.y],this.hm[h.y]=h,h.y<this.rx&&(this.rx=h.y),h.B>this.qx&&(this.qx=h.B),this.mr++);}}},n.prototype.DO=function(){if(null!=this.Nh){for(var t=!1,i=null,n=this.Nh;null!=n;)if(n.y++,n.y==n.B){var s=n;n=n.next,null!=i?i.next=n:this.Nh=n,s.next=null;}else n.x+=n.gR,null!=i&&i.x>n.x&&(t=!0),i=n,n=n.next;t&&(this.Nh=this.kL(this.Nh));}},n.prototype.vO=function(t){if(!(t>=this.vl)){var i=this.hm[t];if(null!=i){this.hm[t]=null,i=this.kL(i),this.mr-=this.lL,t=this.Nh;for(var n=!0,s=i,h=null;null!=t&&null!=s;)t.x>s.x?(n&&(this.Nh=s),n=s.next,s.next=t,null!=h&&(h.next=s),h=s,s=n):(n=t.next,t.next=s,null!=h&&(h.next=t),h=t,t=n),n=!1;null==this.Nh&&(this.Nh=i);}}},n.jL=function(t,i){return 0>t?0:t>i?i:t},n.prototype.jR=function(){if(null!=this.Nh)for(var i=0,s=this.Nh,h=t.L.truncate(t.L.IH(s.x)),r=s.next;null!=r;r=r.next)if(i=this.YF?1^i:i+r.dir,r.x>s.x){var e=t.L.truncate(t.L.IH(r.x));0!=i&&(s=n.jL(h,this.xi),(h=n.jL(e,this.xi))>s&&s<this.xi&&(this.xn[this.Zl++]=s,this.xn[this.Zl++]=h,this.xn[this.Zl++]=r.y,this.Zl==this.xn.length&&(this.$y.UF(this.xn,this.Zl),this.Zl=0))),s=r,h=e;}},n.prototype.kL=function(i){for(var s=0,h=i;null!=h;h=h.next)s++;if(this.lL=s,1==s)return i;null==this.Tf?this.Tf=t.L.Xf(Math.max(s,16),null):this.Tf.length<s&&(this.Tf=t.L.Xf(Math.max(s,2*this.Tf.length),null));var r=0;for(h=i;null!=h;h=h.next)this.Tf[r++]=h;for(2==s?this.Tf[0].x>this.Tf[1].x&&(i=this.Tf[0],this.Tf[0]=this.Tf[1],this.Tf[1]=i):n.LO(this.Tf,s,(function(t,i){return t==i?0:t.x<i.x?-1:t.x>i.x?1:0})),i=this.Tf[0],this.Tf[0]=null,h=i,r=1;r<s;r++)h.next=this.Tf[r],h=this.Tf[r],this.Tf[r]=null;return h.next=null,i},n.LO=function(t,i,n){if(i==t.length)t.sort(n);else {var s=t.slice(0,0),h=t.slice(i);i=t.slice(0,i).sort(n),t.length=0,t.push.apply(t,s.concat(i).concat(h));}},n.iy=0,n.v_=1,n}();t.uy=n;}(W||(W={})),function(t){var i=function(){function i(){}return i.prototype.Bi=function(t,i){var n=this.a.Na(t,this.hr);if(this.Kl==n&&(this.Kl=this.ve.hb(this.Kl)),this.zo==n&&(this.zo=this.ve.hb(this.zo)),this.ve.jd(this.AB,n),this.fk(t),i&&(-1!=(i=this.a.cd(t))&&this.a.Za(i)==t)){var s=this.a.T(t);if(s!=t){if((n=this.a.cd(s))==i)return void this.a.Sf(i,s);if((s=this.a.Ma(t))!=t&&(n=this.a.cd(s))==i)return void this.a.Sf(i,s)}this.a.Sf(i,-1),this.a.dh(i,-1);}},i.prototype.aE=function(){for(var i=!1,n=new t.b;;){null==this.bi?(this.bi=new t.ha(0),this.ht=new t.ha(0),this.De=new t.ha(0)):(this.bi.clear(!1),this.ht.clear(!1),this.De.clear(!1));for(var s=this.zo,h=0,r=!0;s!=this.Kl;){var e=this.ve.getData(s),a=new t.b;this.a.Hc(e,a),r&&(this.a.Hc(e,n),r=!1),a=this.a.Ma(e);var o=this.a.T(e);-559038737!=this.a.Na(a,this.Fg)&&(this.bi.add(a),this.a.Qa(a,this.Fg,-559038737),this.ht.add(e),this.De.add(h++)),-559038737!=this.a.Na(o,this.Fg)&&(this.bi.add(o),this.a.Qa(o,this.Fg,-559038737),this.ht.add(e),this.De.add(h++)),s=this.ve.hb(s);}if(2>this.bi.size)break;var u=this;for(this.De.Zd(0,this.De.size,(function(t,i){return u.xN(t,i)})),s=0,h=this.De.size;s<h;s++)r=this.De.get(s),r=this.bi.get(r),this.a.Qa(r,this.Fg,s),a=new t.b,this.a.Hc(r,a);for(a=this.bO(n),s=0,h=this.De.size;s<h;s++)-1!=(r=this.De.get(s))&&(r=this.bi.get(r),this.a.Qa(r,this.Fg,-1));if(!a)break;i=!0;}return i},i.prototype.bO=function(t){for(var i=!1,n=!0;n;){n=!1;var s=0;-1==this.De.get(s)&&(s=this.om(s));for(var h=this.om(s),r=0,e=this.De.size;r<e&&-1!=s&&-1!=h&&s!=h;r++){var a=this.De.get(s);h=this.De.get(h),a=this.bi.get(a),h=this.bi.get(h);var o=this.a.T(a);this.a.kw(o,t)||(o=this.a.Ma(a));var u=this.a.T(h);this.a.kw(u,t)||(u=this.a.Ma(h));var f=this.Wu(o,a),c=this.Wu(u,h),l=f?this.a.Ma(o):this.a.T(o),p=c?this.a.Ma(u):this.a.T(u),b=!1;(this.Lp(o)||this.Lp(u)||this.Lp(a)||this.Lp(h)||this.Lp(l)||this.Lp(p))&&(b=!0),!b&&this.a.wq(a,h)&&(b=!0,this.eE(f,c,o,a,u,h)),!b&&this.a.wq(l,p)&&(b=!0,this.eE(!f,!c,o,l,u,p)),b&&(i=!0),n=n||b,s=this.om(s),h=this.om(s);}}if(!i)for(s=0,-1==this.De.get(s)&&(s=this.om(s)),h=this.om(s),r=0,e=this.De.size;r<e&&-1!=s&&-1!=h&&s!=h;r++)a=this.De.get(s),h=this.De.get(h),a=this.bi.get(a),h=this.bi.get(h),o=this.a.T(a),this.a.kw(o,t)||(o=this.a.Ma(a)),u=this.a.T(h),this.a.kw(u,t)||(u=this.a.Ma(h)),f=this.Wu(o,a),c=this.Wu(u,h),l=f?this.a.Ma(o):this.a.T(o),p=c?this.a.Ma(u):this.a.T(u),this.LN(f,c,a,o,l,h,u,p)&&(i=!0),s=this.om(s),h=this.om(s);return i},i.prototype.fO=function(){1736==this.a.dc(this.W)&&1==this.a.$n(this.W)&&(new t.pg).dW(this.Pw,this.a,this.W,this.nd);var i=!1,n=!0;this.Fg=this.hr=-1;var s=this.a.D(this.W),h=new t.ha(0);h.Db(s);for(var r=this.a.Kb(this.W);-1!=r;r=this.a.Qb(r))for(var e=this.a.Za(r),a=0,o=this.a.Ha(r);a<o;a++)h.add(e),e=this.a.T(e);var u=this.a.ud.i,f=this.a.ud.Uf;this.a.xb.rc();var c=this.a.xb.va[0].i;for(h.Zd(0,s,(function(t,i){var n=u[f*t],s=u[f*i],h=c[2*n];n=c[2*n+1];var r=c[2*s];return 0==(h=n<(s=c[2*s+1])?-1:n>s?1:h<r?-1:h>r?1:0)&&(h=(t=u[f*t+3])<(i=u[f*i+3])?-1:t==i?0:1),h})),this.hr=this.a.Kd(),this.ve=new t.Ap,this.AB=this.ve.Th(0),this.ve.vn(s),r=0;r<s;r++)e=h.get(r),a=this.ve.addElement(this.AB,e),this.a.Qa(e,this.hr,a);for(this.Fg=this.a.Kd(),this.Kl=-1,this.MD()&&(i=!0);n;){n=!1,s=0,h=!1;do{h=!1,this.zo=-1,o=0,r=new t.b,a=new t.b;for(var l=this.ve.sc(this.AB);-1!=l;)e=this.ve.getData(l),-1!=this.zo?(this.a.Hc(e,a),r.qb(a)?o++:(r.K(a),this.Kl=l,0<o&&(e=this.aE())&&(h=!0,-1!=this.Kl&&(e=this.ve.getData(this.Kl),this.a.Hc(e,r))),this.zo=l=this.Kl,o=0)):(this.zo=l,this.a.Hc(this.ve.getData(l),r),o=0),-1!=l&&(l=this.ve.hb(l));if(this.Kl=-1,0<o&&(e=this.aE())&&(h=!0),10<s++)throw t.f.za();h&&this.ON(),this.MD()&&(h=!0),n=n||h&&!1,i=i||h;}while(h)}return this.a.Xd(this.hr),this.a.Xd(this.Fg),t.dN.U(this.a,this.W,this.ve,this.Pw)||i},i.prototype.Wu=function(t,i){return this.a.T(i)!=t},i.prototype.LN=function(t,i,n,s,h,r,e,a){if(s==e)return this.fk(n),this.fk(r),!1;var o=this.a.Na(n,this.Fg),u=this.a.Na(h,this.Fg),f=this.a.Na(r,this.Fg),c=this.a.Na(a,this.Fg),l=[0,0,0,0];for((n=[0,0,0,0,0,0,0,0])[0]=0,l[0]=o,n[1]=0,l[1]=u,n[2]=1,l[2]=f,n[3]=1,l[3]=c,o=1;4>o;o++){for(u=l[o],f=n[o],c=o-1;0<=c&&l[c]>u;)l[c+1]=l[c],n[c+1]=n[c],c--;l[c+1]=u,n[c+1]=f;}return l=0,0!=n[0]&&(l|=1),0!=n[1]&&(l|=2),0!=n[2]&&(l|=4),0!=n[3]&&(l|=8),(5==l||10==l)&&(t==i?t?(this.a.Dc(a,s),this.a.Ec(s,a),this.a.Dc(h,e),this.a.Ec(e,h)):(this.a.Ec(a,s),this.a.Dc(s,a),this.a.Ec(h,e),this.a.Dc(e,h)):t?(this.a.Ec(s,r),this.a.Dc(r,s),this.a.Ec(e,h),this.a.Dc(h,e)):(this.a.Dc(s,r),this.a.Ec(r,s),this.a.Dc(e,h),this.a.Ec(h,e)),!0)},i.prototype.eE=function(t,i,n,s,h,r){this.r0?this.dO():this.cO(t,i,n,s,h,r);},i.prototype.dO=function(){throw t.f.Y("not implemented.")},i.prototype.cO=function(t,i,n,s,h,r){if(t!=i)t?(this.a.Dc(n,h),this.a.Ec(h,n),this.a.Dc(r,s),this.a.Ec(s,r),this.On(h,n),this.Bi(h,!0),this.a.ui(h,!0),this.fk(n),this.On(r,s),this.Bi(r,!0),this.a.ui(r,!1)):(this.a.Dc(h,n),this.a.Ec(n,h),this.a.Dc(s,r),this.a.Ec(r,s),this.On(h,n),this.Bi(h,!0),this.a.ui(h,!1),this.fk(n),this.On(r,s),this.Bi(r,!0),this.a.ui(r,!0)),this.fk(s);else {var e=t?n:s,a=i?h:r;for(t=t?s:n,i=i?r:h,h=!1,this.a.Dc(e,a),this.a.Dc(a,e),this.a.Ec(t,i),this.a.Ec(i,t),r=i;r!=a;)n=this.a.Ma(r),s=this.a.T(r),this.a.Ec(r,s),this.a.Dc(r,n),h=h||r==e,r=s;h||(n=this.a.Ma(a),s=this.a.T(a),this.a.Ec(a,s),this.a.Dc(a,n)),this.On(a,e),this.Bi(a,!0),this.a.ui(a,!1),this.fk(e),this.On(i,t),this.Bi(i,!0),this.a.ui(i,!1),this.fk(t);}},i.prototype.MD=function(){for(var t=!1,i=this.a.Kb(this.W);-1!=i;){for(var n=this.a.Za(i),s=0,h=this.a.Ha(i);s<h&&1<h;){var r=this.a.Ma(n),e=this.a.T(n);this.a.wq(r,e)?(t=!0,this.Bi(n,!1),this.a.pd(n,!0),this.Bi(e,!1),this.a.pd(e,!0),n=r,s=0,h=this.a.Ha(i)):(n=e,s++);}if(2>this.a.Ha(i)){for(t=this.a.Za(i),s=0,h=this.a.Ha(i);s<h;s++)this.Bi(t,!1),t=this.a.T(t);i=this.a.sr(i),t=!0;}else i=this.a.Qb(i);}return t},i.prototype.Lp=function(t){for(var i=!1;;){var n=this.a.T(t),s=this.a.Ma(t);if(n==t)return this.Bi(t,!0),this.a.ui(t,!1),!0;if(!this.a.wq(n,s))break;if(i=!0,this.fk(s),this.fk(n),this.Bi(t,!0),this.a.ui(t,!1),this.On(n,s),this.Bi(n,!0),this.a.ui(n,!0),n==s)break;t=s;}return i},i.prototype.ON=function(){for(var t=0,i=this.ve.sc(this.ve.re);-1!=i;i=this.ve.hb(i)){var n=this.ve.getData(i);this.a.hj(n,-1);}for(var s=0,h=this.a.Kb(this.W);-1!=h;)if(-1==(i=this.a.Za(h))||-1!=this.a.cd(i))n=h,h=this.a.Qb(h),this.a.tr(n);else {this.a.hj(i,h);var r=1;for(n=this.a.T(i);n!=i;n=this.a.T(n))this.a.hj(n,h),r++;this.a.sp(h,!1),this.a.Wj(h,r),this.a.dh(h,this.a.Ma(i)),s+=r,t++,h=this.a.Qb(h);}for(i=this.ve.sc(this.ve.re);-1!=i;i=this.ve.hb(i))n=this.ve.getData(i),-1==this.a.cd(n)&&(h=this.a.$G(this.W,n,n,null),s+=this.a.Ha(h),t++);for(this.a.bm(this.W,t),this.a.Uj(this.W,s),t=0,s=this.a.ld;-1!=s;s=this.a.Ae(s))t+=this.a.D(s);this.a.JC(t);},i.prototype.om=function(t){for(var i=0,n=this.De.size-1;i<n;i++)if(t=(t+1)%this.De.size,-1!=this.De.get(t))return t;return -1},i.prototype.On=function(t,i){var n=this.a.Na(i,this.hr),s=this.a.Na(i,this.Fg);this.a.UC(t,i),this.a.Qa(i,this.hr,n),this.a.Qa(i,this.Fg,s);},i.prototype.fk=function(t){var i=this.a.Na(t,this.Fg);-1!=i&&(this.De.set(i,-1),this.a.Qa(t,this.Fg,-1));},i.U=function(t,n,s,h,r){var e=new i;return e.a=t,e.W=n,e.gB=s,e.Pw=h,e.nd=r,e.fO()},i.prototype.xN=function(i,n){var s=this.bi.get(i),h=new t.b;this.a.Hc(s,h),s=new t.b;var r=this.bi.get(n);return this.a.Hc(r,s),h.qb(s)?0:(r=this.ht.get(i),i=new t.b,this.a.Hc(r,i),r=this.ht.get(n),n=new t.b,this.a.Hc(r,n),(r=new t.b).tc(h,i),(h=new t.b).tc(s,n),t.b.Wr(r,h))},i}();t.Kn=i;}(W||(W={})),function(t){var i;(i=t.gN||(t.gN={}))[i.Local=0]="Local",i[i.Geographic=1]="Geographic",i[i.Projected=2]="Projected",i[i.Image=3]="Image",i[i.Unknown=4]="Unknown",function(t){t[t.Integer32=0]="Integer32",t[t.Integer64=1]="Integer64",t[t.FloatingPoint=2]="FloatingPoint";}(t.aN||(t.aN={}));var n=function(){function i(){this.Ip="",this.Zu=null,this.jg=0,this.NI=this.$o=-1,this.Dh=null;}return i.prototype.xc=function(){return this.jg},i.prototype.xs=function(){return 0},i.prototype.ys=function(){return 0},i.prototype.zs=function(){return 0},i.prototype.ws=function(){return 0},i.prototype.Rz=function(){return 57295779513.082306},i.prototype.Sz=function(){return 1e3},i.prototype.Qz=function(){return 1e3},i.prototype.Is=function(){return 1},i.prototype.ce=function(){var i=.001;return 0!=this.jg?i=t.Vr.OR(this.jg):null!=this.Dh&&(i=t.FD.PR(this.Dh)),i},i.prototype.jA=function(){return this.Dh},i.prototype.Ld=function(){return 0!=this.jg?t.Uc.hh(t.Vr.yz(this.jg)):null!=this.Dh?t.FD.QR(this.Dh):void 0},i.Fb=function(i){if(0!=i.jg){if(!0===t.Vr.sU(i.jg))return 1;if(!0===t.Vr.vU(i.jg))return 2}return 4},i.prototype.Gs=function(){var i=this.xc();return -1!=this.$o?this.$o:(this.$o=t.Vr.OL(i),-1!=this.$o?this.$o:i)},i.create=function(n){if(0>=n)throw t.f.I("Invalid or unsupported wkid: "+n);var s=new i;return s.jg=n,s},i.AQ=function(n){if(null==n||0==n.length)throw t.f.I("Cannot create SpatialReference from null or empty text.");var s=new i;return s.Dh=n,s},i.prototype.Ib=function(t){return this==t||null!=t&&this.constructor==t.constructor&&this.jg==t.jg&&(0!=this.jg||this.Dh===t.Dh)},i.kS=function(i,n){var s=Math.PI/180,h=new t.da;return t.bM.nS(i.w().x*s,i.w().y*s,n.w().x*s,n.w().y*s,h),h.j},i.prototype.toString=function(){return "[ tol: "+this.co()+"; wkid: "+this.xc()+"; wkt: "+this.jA()+"]"},i.prototype.fc=function(){if(""!==this.Ip)return this.Ip;var t=this.toString();if(Array.prototype.reduce)return this.Ip="S"+t.split("").reduce((function(t,i){return (t=(t<<5)-t+i.charCodeAt(0))&t}),0);var i=0;if(0===t.length)return "";for(var n=0;n<t.length;n++)i=(i<<5)-i+t.charCodeAt(n),i&=i;return this.Ip="S"+i},i.prototype.co=function(){return this.ce(0)},i.prototype.mh=function(){return null!==this.Zu?this.Zu:this.Zu=t.Nu.JQ(this)},i.z0=!0,i.nv=2147483645,i.ov=9007199254740990,i}();t.je=n;}(W||(W={})),function(t){var i=function(i){function n(){var n=null!==i&&i.apply(this,arguments)||this;return n.Pi=null,n.kV=null,n.Ro=new t.BD,n.Yo=null,n.Rw=null,n}return Z(n,i),n.JQ=function(i){var s=new n;if(s.jg=i.jg,s.$o=i.$o,s.NI=i.NI,s.Dh=i.Dh,""!==s.Dh&&null!==s.Dh){i=n.rN(s.Dh);var h=n.pN(s.Dh);s.Ro.By(i,h,t.Ou.Integer64),s.Iy(i),s.Ly(h),s.jg=i.Gs();}else i=n.qN(s.jg),s.Iy(i),s.Ly(null),s.Ro.By(i,null,t.Ou.Integer64);return s},n.prototype.ce=function(t){return this.Ro.co(t)},n.pN=function(i){if(0>=i.length)throw t.f.I();var s=null;try{s=t.uD.fromString(i);}catch(h){s=null;}return null==s?null:n.LD(s,!0)},n.prototype.Iy=function(t){this.Dd=t,this.Yo=this.Dd.Ld();},n.prototype.Ly=function(t){this.zI=t,this.kV=null!=this.zI?this.zI.Yo:null;},n.prototype.Cc=function(){return 0!=this.Fb()&&3!=this.Fb()&&this.Dd.Cc()},n.prototype.uH=function(){return 0!=this.Fb()&&(3==this.Fb()?this.Pi.kk().Cc():this.Dd.Cc())},n.prototype.wg=function(){return null!=this.Dd?this.Dd.Ze:null},n.prototype.Am=function(){return this.Dd.Am()},n.prototype.Sd=function(){return this.Dd.Sd()},n.prototype.oh=function(){return null!=this.Dd?this.Dd.Zw:NaN},n.prototype.Cm=function(){return this.Dd.Cm()},n.prototype.Cs=function(){return this.Dd.Cs()},n.prototype.xj=function(){return this.Dd.xj()},n.prototype.FT=function(i){return t.vD.vz(this.Dd,i.Dd)},n.prototype.sk=function(){return this.Dd.sk()},n.prototype.Bs=function(){return this.Dd.Bs()},n.prototype.Wh=function(){return 3==this.Fb()?this.Pi.kk().Wh():this.Dd.Wh()},n.prototype.nh=function(){if(!this.Cc())throw t.f.I("!isPannable()");var i=new t.g;return this.Dd.nh(i),i},n.prototype.be=function(){if(!this.Cc())throw t.f.I("!isPannable()");return this.Dd.Lo},n.prototype.XS=function(){if(!this.Cc())throw t.f.I("!isPannable()");var i=new t.g;return this.Dd.WS(i),i},n.prototype.Xv=function(){if(!this.Cc())throw t.f.I("!isPannable()");return this.Dd.Xv()},n.prototype.Wv=function(){if(!this.Cc())throw t.f.I("!isPannable()");return this.Dd.Wv()},n.prototype.Ds=function(){return null!=this.Pi?this.Pi.kk().Ds():this.Dd.Ds()},n.prototype.aS=function(){return this.Dd.Pv()},n.prototype.FX=function(t){t.assign(this.Ro);},n.prototype.qk=function(){return this.Yo.getUnitFactor()},n.prototype.dA=function(t){return this.Ro.dA(t)},n.prototype.hc=function(){var i=this.Fb();if(1==i)return this;if(3==i)return this.Pi.kk().hc();if(0==i)throw t.f.Y("invalid call");if(4===i)throw t.f.Y("invalid call");if(null!==this.Rw)return this.Rw;if(null==(i=this.wg().getGeogcs()))throw t.f.za();return this.Rw=n.OF(i,this.Ro.Is())},n.OF=function(i,s){if(null==i)throw t.f.I("null pointer.");var h=new n;return i=n.Uu(i,!0),h.Ro.By(i,null,s),h.Iy(i),h.Ly(null),h.jg=i.Gs(),h},n.prototype.Fb=function(){var i=this.wg();if(null!=i)switch(i.getType()){case t.Pc.PE_TYPE_GEOGCS:return 1;case t.Pc.PE_TYPE_PROJCS:return 2}return 4},n.prototype.bA=function(i){var n=new t.b;return this.Dd.bA(i,n),n},n.prototype.Pv=function(){return this.Dd.Pv()},n.Uu=function(i,s){var h=i.getCode();if(0>=h&&0<(h=t.zf.getCode(i))){if(null==(i=t.zf.coordsys(h)))throw t.f.I("Text to wkid mapping had failed: "+h);return n.Uu(i,s)}if(s&&0<h&&(s=n.Yx[h]))return s;s=t.Ab.ew(i,h,!1);var r=n.rL[s];return r||(i=0>=h?i:t.zf.coordsys(h),i=new t.vD(i),n.rL[s]=i,0<h&&(n.Yx[h]=i),i)},n.qN=function(i){if(0>=i)throw t.f.I("Invalid or unsupported wkid: "+i);var s=n.Yx[i];if(null!=s)return s;if(null==(s=t.zf.coordsys(i)))throw t.f.I("Invalid or unsupported wkid: "+i);return (s=n.Uu(s,!1)).Gs()!=i&&(n.Yx[i]=s),s},n.rN=function(i){if(null==i||void 0===i||0==i.length)throw t.f.I("Cannot create SpatialReference from null or empty text.");var s=null;try{s=t.zf.fromString(t.Pc.PE_TYPE_COORDSYS,i);}catch(h){throw t.f.I("Cannot create SpatialReference from text. "+h.message)}if(null===s)throw t.f.I("Cannot create SpatialReference from text. ");return n.Uu(s,!0)},n.LD=function(i,s){var h,r=i.getCode();if(0>=r&&0<(r=t.zf.getCode(i))){if(null===(r=t.zf.vertcs(r)))throw t.f.I();return n.LD(r,s)}if(s&&0<r&&(s=n.qL[r]))return s;if(i=t.Ab.ew(i,r,!1),s=n.sL[i])return s;if(0>=r||(h=t.zf.vertcs(r)),null===h)throw t.f.I();return h=new t.XM(h),n.sL[i]=h,0<r&&(n.qL[r]=h),h},n.iJ=function(i,n){if(null===n||n.u())return null;var s=new t.g;if(null!==n&&1!=i.Fb()){var h=i.hc(),r=h.wg();i=t.Ur.os(i,h,null,null),(n=t.Rr.local().U(n,i,null)).s(s);}else r=i.wg(),n.s(s);return n=r.getPrimem().getLongitude(),r=r.getUnit().getUnitFactor(),new t.sD(s.o,s.A,s.v,s.B,n,r)},n.XD=function(t){var i={name:"",steps:[],_pt:null,_entry:null},n=0;for(t=t.getEntries();n<t.length;n++){var s=t[n],h={l0:!1,N0:"",M0:-1,geogtran:null};0===s.getDirection()?h.isInverse=!1:h.isInverse=!0;var r=s.getGeogtran().getCode();-1<r?h.wkid=r:h.wkt=s.getGeogtran().toString(),i.steps.push(h);}return i},n.nT=function(i,s,h,r){return void 0===h&&(h=null),h=n.iJ(r,h),i=t.Dp.getGTlist(i.wg(),s.wg(),2,t.Dp.PE_GTLIST_OPTS_COMMON,h,1),s=null,i&&0<i.length&&(s=this.XD(i[0]),t.ry.destroy(i)),null!==h&&h.destroy(),s},n.oT=function(i,s,h,r){var e;if(void 0===h&&(h=null),void 0===r&&(r=null),void 0===e&&(e=30),h=n.iJ(r,h),i=t.Dp.getGTlist(i.wg(),s.wg(),2,t.Dp.PE_GTLIST_OPTS_COMMON,h,e),s=[],i&&0<i.length){for(e=0;e<i.length;e++)s.push(this.XD(i[e]));t.ry.destroy(i);}return null!==h&&h.destroy(),s},n.Yx={},n.rL={},n.qL={},n.sL={},n}(t.je);t.Nu=i;}(W||(W={})),function(t){var i,n;(n=i=t.Ou||(t.Ou={}))[n.Integer32=0]="Integer32",n[n.Integer64=1]="Integer64",n[n.FloatingPoint=2]="FloatingPoint";var s=function(){function n(){this.Jp();}return n.prototype.assign=function(t){this.Bl=t.Bl,this.Cl=t.Cl,this.$i=t.$i,this.Nw=t.Nw,this.jn=t.jn,this.Mw=t.Mw,this.jx=t.jx,this.Pk=t.Pk,this.er=t.er,this.dr=t.dr,this.dn=t.dn;},n.prototype.xs=function(){return this.Bl},n.prototype.ys=function(){return this.Cl},n.prototype.zs=function(){return this.Nw},n.prototype.ws=function(){return this.Mw},n.prototype.Rz=function(){return this.$i},n.prototype.Sz=function(){return this.jn},n.prototype.Qz=function(){return this.jx},n.prototype.Is=function(){return this.dn},n.prototype.Jp=function(){this.Cl=this.Bl=0,this.$i=1,this.Nw=0,this.jn=1,this.Mw=0,this.jx=1,this.dr=this.er=this.Pk=2220446049250313e-29,this.dn=i.FloatingPoint;},n.prototype.By=function(n,s,h){if(this.Jp(),this.dn=h,h!=i.FloatingPoint){var r=new t.g;n.vS(r),this.Bl=r.o,this.Cl=r.A;}else this.Cl=this.Bl=-17976931348623157e292;(r=n.Ze.getType())==t.Pc.PE_TYPE_GEOGCS?(r=(h==i.Integer64?1e-9:1/18e5)*n.Sd(),this.$i=1/r):r==t.Pc.PE_TYPE_PROJCS&&(r=(h==i.Integer64?1e-4:.001)*n.Am(),this.$i=1/r),null!=s?(r=(h==i.Integer32?.001:1e-4)*s.xI,this.jn=1/r):this.jn=1e4,this.jx=1e4,this.gO(),this.Pk=n.Zw,this.er=null!=s?.001*s.xI:.001,this.dr=2220446049250313e-29;},n.prototype.gO=function(){if(this.dn!=i.FloatingPoint){var n=this.dn==i.Integer64?t.je.ov:t.je.nv,s=n/this.$i,h=this.Bl+s,r=t.L.truncate((h-this.Bl)*this.$i);r>n&&(this.$i=n/(h-this.Bl)),s=this.Cl+s,(r=t.L.truncate((s-this.Cl)*this.$i))>n&&(this.$i=n/(s-this.Cl));}},n.prototype.IC=function(t){switch(t){case 0:this.Pk=void 0;case 1:this.er=void 0;case 2:this.dr=void 0;}},n.prototype.co=function(t){switch(t){case 0:return this.Pk;case 1:return this.er;case 2:return this.dr}return 0},n.prototype.uT=function(){var n=new t.g;switch(this.Is()){case i.Integer32:var s=t.je.nv/this.Rz();n.H(this.xs(),this.ys(),this.xs()+s,this.ys()+s);break;case i.Integer64:s=t.je.ov/this.Rz(),n.H(this.xs(),this.ys(),this.xs()+s,this.ys()+s);break;case i.FloatingPoint:n.H(-17976931348623157e292,-17976931348623157e292,17976931348623157e292,17976931348623157e292);break;default:throw t.f.Y("internal error")}return n},n.prototype.wT=function(){var n=new t.uc;switch(this.Is()){case i.Integer32:var s=t.je.nv/this.Sz();n.H(this.zs(),this.zs()+s);break;case i.Integer64:s=t.je.ov/this.Sz(),n.H(this.zs(),this.zs()+s);break;case i.FloatingPoint:n.H(-17976931348623157e292,17976931348623157e292);break;default:throw t.f.Y("internal error")}return n},n.prototype.PS=function(){var n=new t.uc;switch(this.Is()){case i.Integer32:var s=t.je.nv/this.Qz();n.H(this.ws(),this.ws()+s);break;case i.Integer64:s=t.je.ov/this.Qz(),n.H(this.ws(),this.ws()+s);break;case i.FloatingPoint:n.H(-17976931348623157e292,17976931348623157e292);break;default:throw t.f.Y("internal error")}return n},n.prototype.dA=function(t){if(this.dn==i.FloatingPoint)return 0;switch(t){case 0:return 1/this.$i;case 1:case 2:return 1/this.jn;default:return 0}},n.prototype.toString=function(){var t="SRPD [m_toleranceXY: "+this.Pk.toString();return (t=(t=(t=(t=(t=(t=(t=(t=(t=t+";m_falseX: "+this.Bl.toString())+";m_falseY: "+this.Cl.toString())+";m_unitsXY: "+this.$i.toString())+";m_falseZ: "+this.Nw.toString())+";m_unitsZ: "+this.jn.toString())+";m_falseM: "+this.Mw.toString())+";m_toleranceZ: "+this.er.toString())+";m_toleranceM: "+this.dr.toString())+";m_precision: "+this.dn.toString())+"] "},n}();t.BD=s;}(W||(W={})),function(t){function i(t,i){return 89.99999<i?i=89.99999:-89.99999>i&&(i=-89.99999),i*=.017453292519943,[111319.49079327169*t,3189068.5*Math.log((1+Math.sin(i))/(1-Math.sin(i)))]}function n(t,i,n){return t=t/6378137*57.29577951308232,n?[t,57.29577951308232*(1.5707963267948966-2*Math.atan(Math.exp(-1*i/6378137)))]:[t-360*Math.floor((t+180)/360),57.29577951308232*(1.5707963267948966-2*Math.atan(Math.exp(-1*i/6378137)))]}function s(i,n,s){var h=i.Cf();if(33===i.F())n=n(h.Ce(),h.lf()),h.nb(n[0],n[1]);else if(197===i.F()){var r=n(i.Ms(),i.Os(),s);n=n(i.Ls(),i.Ns(),s),h.H(r[0],r[1],n[0],n[1]);}else for(r=new t.b,i=0;i<h.D();i++){h.w(i,r);var e=n(r.x,r.y,s);r.ka(e[0],e[1]),h.nb(i,r);}return h}function h(t){return s(t,n,!0)}function r(t){return s(t,i,!0)}var e=Math.PI/180;t.cM=function(){function i(){}return i.bv=function(i){var n=Math.sqrt(.006694379990197414),s=Math.sin(i.y*e);return t.b.construct(6378137*i.x*e,3167719.6636462314*(s/(1-.006694379990197414*s*s)-1/(2*n)*Math.log((1-n*s)/(1+n*s))))},i.Ay=function(i,n,s,h){var r=1/298.257223563,a=Math.sin(s);s=Math.cos(s);var o=(1-r)*Math.tan(i),u=o*(i=1/Math.sqrt(1+o*o)),f=Math.atan2(o,s),c=(o=i*a)*o,l=1-c,p=272331606107.54688*l/40408299984661.45,b=1+p/16384*(4096+p*(p*(320-175*p)-768)),v=p/1024*(256+p*(p*(74-47*p)-128));p=h/(6356752.31424518*b);for(var y,w,d,g=2*Math.PI;1e-12<Math.abs(p-g);)d=Math.cos(2*f+p),g=p,p=h/(6356752.31424518*b)+v*(y=Math.sin(p))*(d+v/4*((w=Math.cos(p))*(2*d*d-1)-v/6*d*(4*y*y-3)*(4*d*d-3)));return h=u*y-i*w*s,l=r/16*l*(4+r*(4-3*l)),t.b.construct((n+(Math.atan2(y*a,i*w-u*y*s)-(1-l)*r*o*(p+l*y*(d+l*w*(2*d*d-1)))))/e,Math.atan2(u*w+i*y*s,(1-r)*Math.sqrt(c+h*h))/e)},i.UN=function(t,i,n,s){var h=1/298.257223563,r=s-i,e=Math.atan((1-h)*Math.tan(t)),a=Math.atan((1-h)*Math.tan(n)),o=Math.sin(e);e=Math.cos(e);var u=Math.sin(a);a=Math.cos(a);var f=r,c=1e3;do{var l=Math.sin(f),p=Math.cos(f),b=Math.sqrt(a*l*a*l+(e*u-o*a*p)*(e*u-o*a*p));if(0===b)return 0;p=o*u+e*a*p;var v=Math.atan2(b,p),y=e*a*l/b,w=1-y*y;l=p-2*o*u/w,isNaN(l)&&(l=0);var d=h/16*w*(4+h*(4-3*w)),g=f;f=r+(1-d)*h*y*(v+d*b*(l+d*p*(2*l*l-1)));}while(1e-12<Math.abs(f-g)&&0<--c);return 0===c?(o=s-i,{azimuth:Math.atan2(Math.sin(o)*Math.cos(n),Math.cos(t)*Math.sin(n)-Math.sin(t)*Math.cos(n)*Math.cos(o)),geodesicDistance:6371008.771415059*Math.acos(Math.sin(t)*Math.sin(n)+Math.cos(t)*Math.cos(n)*Math.cos(s-i))}):(i=(t=272331606107.54688*w/40408299984661.45)/1024*(256+t*(t*(74-47*t)-128)),{azimuth:Math.atan2(a*Math.sin(f),e*u-o*a*Math.cos(f)),jS:6356752.31424518*(1+t/16384*(4096+t*(t*(320-175*t)-768)))*(v-i*b*(l+i/4*(p*(2*l*l-1)-i/6*l*(4*b*b-3)*(4*l*l-3)))),F0:Math.atan2(e*Math.sin(f),e*u*Math.cos(f)-o*a)})},i.vR=function(i){var n=i.hasAttribute(1),s=i.hasAttribute(2),h=[],r=i.$(),e=null,a=null;n&&(e=i.Va(1)),s&&(a=i.Va(2));for(var o=new t.b,u=0;u<r;u++){for(var f=i.ua(u),c=i.Ha(u),l=0,p=0,b=NaN,v=NaN,y=NaN,w=NaN,d=i.Lb(u),g=[],x=f;x<f+c;x++){i.w(x,o),w=y=NaN;var m=[o.x,o.y];n&&(y=e.get(x),m.push(y)),s&&(r=a.get(x),m.push(w)),x==f&&d&&(l=o.x,p=o.y,b=y,v=w),g.push(m);}!d||l==o.x&&p==o.y&&(!n||isNaN(b)&&isNaN(y)||b==y)&&(!s||isNaN(v)&&isNaN(w)||v==w)||g.push(g[0].slice(0)),h.push(g);}return h},i.Bz=function(t,n){t=i.vR(t),637.100877141506>n&&(n=637.100877141506);for(var s,h=[],r=0;r<t.length;r++){var a,o,u=t[r];h.push(s=[]),s.push([u[0][0],u[0][1]]);var f=u[0][0]*e,c=u[0][1]*e;for(a=0;a<u.length-1;a++){var l=u[a+1][0]*e,p=u[a+1][1]*e;if(f!==l||c!==p){l=(p=i.UN(c,f,p,l)).azimuth;var b=(p=p.jS)/n;if(1<b){for(o=1;o<=b-1;o++){var v=i.Ay(c,f,l,o*n);s.push([v.x,v.y]);}o=i.Ay(c,f,l,(p+Math.floor(b-1)*n)/2),s.push([o.x,o.y]);}c=i.Ay(c,f,l,p),s.push([c.x,c.y]),f=c.x*e,c=c.y*e;}}}return {uK:h}},i.iS=function(n){for(var s=[],h=0;h<n.length;h++){var r=n[h];r=i.Bz(r,1e4),s.push(r);}n=[];for(var e=0;e<s.length;e++){r=s[e];var a=0;for(h=0;h<r.uK.length;h++){var o,u=r.uK[h],f=i.bv(t.b.construct(u[0][0],u[0][1])),c=i.bv(t.b.construct(u[u.length-1][0],u[u.length-1][1])),l=c.x*f.y-f.x*c.y;for(o=0;o<u.length-1;o++)f=i.bv(t.b.construct(u[o+1][0],u[o+1][1])),l+=(c=i.bv(t.b.construct(u[o][0],u[o][1]))).x*f.y-f.x*c.y;a+=l;}a/=1,n.push(a/-2);}return n},i}(),t.ab=function(){function i(){}return i.gC=function(t,n,s,h,r,e,a){i.RD[t.fc()]=n,0==isNaN(s)&&(i.YD[t.fc()]=s),0==isNaN(h)&&(i.lE[t.fc()]=h),0==isNaN(r)&&(i.KD[t.fc()]=r),i.ZD[t.fc()]=e,null!==a&&(i.$D[t.fc()]=a);},i.Dx=function(t,n,s){i.dE[t.fc()+"-"+n.fc()]=s;},i.hc=function(n){if(null==(n=i.RD[n.fc()]))throw t.f.Me();return n},i.Sd=function(n){if(null==(n=i.YD[n.fc()]))throw t.f.Me();return n},i.dw=function(n){if(null==(n=i.lE[n.fc()]))throw t.f.Me();return n},i.Nv=function(n){if(null==(n=i.KD[n.fc()]))throw t.f.Me();return n},i.nh=function(n){if(null==(n=i.$D[n.fc()]))throw t.f.Me();return t.g.construct(n[0],n[1],n[2],n[3])},i.Cc=function(n){if(null==(n=i.ZD[n.fc()]))throw t.f.Me();return n},i.$g=function(n,s,h){if(s.Ib(h))return n;var r=i.dE[s.fc()+"-"+h.fc()];if(void 0!==r)return r(n,s,h);throw t.f.Me()},i.eu=function(){throw t.f.Me()},i.pS=function(){throw t.f.Me()},i.uX=function(){throw t.f.Me()},i.sk=function(){throw t.f.Me()},i.YX=function(){var i=t.je.create(102100),n=t.je.create(3857),s=t.je.create(4326);t.ab.gC(i,s,NaN,NaN,NaN,!1,null),t.ab.gC(s,s,1,.0033528106647474805,6378137,!0,[-180,-90,180,90]),t.ab.gC(n,s,NaN,NaN,NaN,!1,null),t.ab.Dx(i,s,h),t.ab.Dx(s,i,r),t.ab.Dx(n,s,h),t.ab.Dx(s,n,r);},i.RD=[],i.YD=[],i.lE=[],i.KD=[],i.ZD=[],i.$D=[],i.dE=[],i}();}(W||(W={})),W.ab.YX(),function(t){var i=function(){function i(t){this.i=new Int32Array(0),this.Ao=-1,this.Og=this.size=this.Jl=0,this.Uf=t;}return i.prototype.jd=function(t){t<this.Jl?(this.i[t*this.Uf]=this.Ao,this.Ao=t):this.Jl--,this.size--;},i.prototype.S=function(t,i){return this.i[t*this.Uf+i]},i.prototype.P=function(t,i,n){this.i[t*this.Uf+i]=n;},i.prototype.Ke=function(){var i=this.Ao;if(-1==i){if(this.Jl==this.Og){if(2147483647<(i=0!=this.Og?t.L.truncate(3*(this.Og+1)/2):1)&&(i=2147483647),i==this.Og)throw t.f.Gd();this.lA(i);}i=this.Jl,this.Jl++;}else this.Ao=this.i[i*this.Uf];this.size++;for(var n=i*this.Uf;n<i*this.Uf+this.Uf;n++)this.i[n]=-1;return i},i.prototype.Vl=function(i){var n=this.Ao;if(-1==n){if(this.Jl==this.Og){if(2147483647<(n=0!=this.Og?t.L.truncate(3*(this.Og+1)/2):1)&&(n=2147483647),n==this.Og)throw t.f.Gd();this.lA(n);}n=this.Jl,this.Jl++;}else this.Ao=this.i[n*this.Uf];this.size++;for(var s=n*this.Uf,h=0;h<i.length;h++)this.i[s+h]=i[h];return n},i.prototype.rj=function(t){this.Ao=-1,this.size=this.Jl=0,t&&(this.i=null,this.Og=0);},i.prototype.Le=function(t){t>this.Og&&this.lA(t);},i.prototype.$x=function(t,i){t*=this.Uf,i*=this.Uf;for(var n=0;n<this.Uf;n++){var s=this.i[i+n];this.i[i+n]=this.i[t+n],this.i[t+n]=s;}},i.prototype.PC=function(t,i,n){var s=this.i[this.Uf*i+n];this.i[this.Uf*i+n]=this.i[this.Uf*t+n],this.i[this.Uf*t+n]=s;},i.f0=function(){return -2},i.g0=function(){return -3},i.xH=function(t){return 0<=t},i.prototype.lA=function(t){null==this.i&&(this.i=new Int32Array(0));var i=new Int32Array(this.Uf*t);i.set(this.i,0),this.i=i,this.Og=t;},i}();t.ad=i;}(W||(W={})),function(t){var i,n;(n=i||(i={}))[n.enumInputModeBuildGraph=0]="enumInputModeBuildGraph",n[n.enumInputModeSimplifyAlternate=4]="enumInputModeSimplifyAlternate",n[n.enumInputModeSimplifyWinding=5]="enumInputModeSimplifyWinding",n[n.enumInputModeIsSimplePolygon=7]="enumInputModeIsSimplePolygon";var s=function(){function i(i){this.Ie=i,this.Fh=NaN,this.SH=new t.og,this.TH=new t.og,this.Us=new t.uc,this.Vs=new t.uc;}return i.prototype.compare=function(t,i,n){if(t=t.ga(n),this.Ie.ZB(i,this.SH),this.Ie.ZB(t,this.TH),i=this.SH.get(),t=this.TH.get(),this.Us.H(i.ra,i.pa),this.Vs.H(t.ra,t.pa),this.Us.ja<this.Vs.fa)return -1;if(this.Us.fa>this.Vs.ja)return 1;n=i.na==i.ma;var s=t.na==t.ma;if(n||s){if(n&&s)return 0;if(i.na==t.na&&i.ra==t.ra)return n?1:-1;if(i.ma==t.ma&&i.pa==t.pa)return n?-1:1}return (n=i.Te(this.Fh,this.Us.fa))==(s=t.Te(this.Fh,this.Vs.fa))&&((s=.5*((n=Math.min(i.ma,t.ma))+this.Fh))==this.Fh&&(s=n),n=i.Te(s,this.Us.fa),s=t.Te(s,this.Vs.fa)),n<s?-1:n>s?1:0},i.prototype.eL=function(t){this.Fh=t;},i}(),h=function(){function i(i){this.Ya=i,this.LI=new t.og,this.Jf=new t.b,this.fB=new t.uc;}return i.prototype.NY=function(t){this.Jf.K(t);},i.prototype.compare=function(t,i){return this.Ya.ZB(t.ga(i),this.LI),t=this.LI.get(),this.fB.H(t.ra,t.pa),this.Jf.x<this.fB.fa?-1:this.Jf.x>this.fB.ja?1:(t=t.Te(this.Jf.y,this.Jf.x),this.Jf.x<t?-1:this.Jf.x>t?1:0)},i}();i=function(){function i(){this.VH=this.Ji=this.Mi=this.WA=this.ro=this.Ee=this.Lc=this.ph=this.oe=null,this.Zo=this.Eg=-1,this.UH=!0,this.$A=!1,this.XA=NaN,this.Ti=new t.Od,this.kP=2147483647,this.jP=t.L.truncate(-2147483648),this.ig=this.he=this.Pl=this.Vq=this.Pm=this.Uq=this.wt=this.We=-1,this.sa=0;}return i.prototype.dz=function(t){this.XA=t;},i.prototype.mn=function(){null==this.oe&&(this.oe=new t.ad(8));var i=this.oe.Ke();return this.oe.P(i,1,0),i},i.prototype.PV=function(){null==this.Lc&&(this.Lc=new t.ad(8));var i=this.Lc.Ke();this.Lc.P(i,2,0),this.Lc.P(i,3,0);var n=this.Lc.Ke();return this.Lc.P(n,2,0),this.Lc.P(n,3,0),this.NK(i,n),this.NK(n,i),i},i.prototype.bJ=function(){null==this.Ee&&(this.Ee=new t.ad(8));var i=this.Ee.Ke();return this.Ee.P(i,2,0),i},i.prototype.wY=function(t,i){this.oe.P(t,7,i);},i.prototype.Cn=function(t,i){this.oe.P(t,2,i);},i.prototype.vY=function(t,i){this.oe.P(t,1,i);},i.prototype.OY=function(t,i){this.oe.P(t,3,i);},i.prototype.LY=function(t,i){this.oe.P(t,4,i);},i.prototype.wr=function(t,i){this.oe.P(t,5,i);},i.prototype.sS=function(t){return this.oe.S(t,5)},i.prototype.uY=function(t,i){this.oe.P(t,6,i);},i.prototype.mO=function(t,i){this.uY(i,t);},i.prototype.MK=function(t,i){this.Lc.P(t,1,i);},i.prototype.NK=function(t,i){this.Lc.P(t,4,i);},i.prototype.dm=function(t,i){this.Lc.P(t,5,i);},i.prototype.cm=function(t,i){this.Lc.P(t,6,i);},i.prototype.CY=function(t,i){this.Lc.P(t,2,i);},i.prototype.Jx=function(t,i){this.Lc.P(t,3,i);},i.prototype.xG=function(t){return this.Lc.S(t,3)},i.prototype.qu=function(t,i){this.Lc.P(t,7,i);},i.prototype.NL=function(t,i){if(-1!=this.ym(t))for(i=i?-1:t,t=this.ym(t);-1!=t;t=this.Rs(t))this.a.Qa(this.zj(t),this.Vq,i);},i.prototype.dy=function(t,i){-1!=t&&(this.NL(t,i),this.NL(this.wa(t),i));},i.prototype.ou=function(t,i){this.Ee.P(t,1,i);},i.prototype.bh=function(t,i){this.Ee.P(t,2,i);},i.prototype.zn=function(t,i){this.Ee.P(t,3,i),this.sY(t,this.rS(i)),this.rY(i,t);},i.prototype.rY=function(t,i){this.Ee.P(t,4,i);},i.prototype.sY=function(t,i){this.Ee.P(t,5,i);},i.prototype.HK=function(t,i){this.Ee.P(t,6,i);},i.prototype.FK=function(t,i){this.Ee.P(t,7,i);},i.prototype.EK=function(t,i){this.ro.write(t,i);},i.prototype.GK=function(t,i){this.WA.write(t,i);},i.prototype.TZ=function(i){var n=0,s=0,h=this.nG(i),r=new t.b,e=new t.b,a=new t.b;this.Es(h,r),e.K(r);var o=h;do{this.xm(o,a),s+=t.b.vb(e,a),this.jf(this.wa(o))!=i&&(n+=(a.x-r.x-(e.x-r.x))*(a.y-r.y+(e.y-r.y))*.5),e.K(a),o=this.kc(o);}while(o!=h);this.ro.write(i,n),this.WA.write(i,s);},i.prototype.gW=function(i,n){var r=new s(this),e=new t.bk;e.Le(t.L.truncate(this.sa/2)),e.kp(r);for(var a=new t.ha(0),o=this.ih(),u=null,f=0,c=new t.b,l=this.We;-1!=l;l=this.$f(l)){if(0==(255&++f)&&null!=n&&!n.progress(-1,-1))throw t.f.ED();var p=this.Re(l);if(-1!=p){if(a.Gh(0),!this.PZ(e,o,a,p)){this.w(l,c),r.eL(c.y);var b=p;do{var v=this.Cb(b,o);-1!=v&&(e.zd(v,-1),this.Jb(b,o,-2)),b=this.kc(this.wa(b));}while(p!=b);b=p;do{-1==(v=this.Cb(b,o))&&(v=e.addElement(b,-1),a.add(v)),b=this.kc(this.wa(b));}while(p!=b)}for(p=a.size-1;0<=p;p--)v=a.get(p),b=e.ga(v),this.Jb(this.wa(b),o,v),this.fW(e,v,i);}else -1==this.Iz(l)&&(null==u&&(u=new h(this)),this.w(l,c),u.NY(c),b=e.nY(u),p=this.Pl,-1!=b&&(v=e.ga(b),this.jf(v)==this.jf(this.wa(v))&&(v=this.zG(e,b)),-1!=v&&(p=this.jf(v))),this.mO(p,l));}this.Uh(o);},i.prototype.fW=function(t,i,n){var s=t.ga(i),h=this.jf(s);if(-1==this.Yn(h)){var r=this.zG(t,i),e=this.wa(s),a=this.jf(e);this.eq(h),this.eq(a);var o=this.Yn(h),u=this.Yn(a);if(-1==r&&-1==o&&(a==h?(this.zn(a,this.Pl),o=u=this.Pl):(-1==u&&(this.zn(a,this.Pl),u=this.Pl),this.zn(h,a),o=a)),-1!=r){var f=this.jf(r);-1==u&&(0>=this.eq(f)?(u=this.Yn(f),this.zn(a,u)):(this.zn(a,f),u=f),a==h&&(o=u));}-1==o&&this.QZ(h,a),0==n?this.AX(t,i,s,r,h,a):5==n?this.BX(t,i,s,e,h,a):4==n&&this.zX(s,r,h,a);}},i.prototype.AX=function(t,i,n,s,h,r){var e=this.mk(h);if(-1!=s){var a=this.mk(r),o=this.mk(this.jf(s));s=e&a&o,o^=o&this.lh(n),0!=(o|=s)&&(this.bh(r,a|o),this.bh(h,o|e),e=e||o);}for(i=t.hb(i);-1!=i&&(s=t.ga(i),n=this.jf(this.wa(s)),h=this.mk(n),r=this.lh(s),a=this.jf(s),s=h&(o=this.mk(a))&e,e^=e&r,0!=(e|=s));i=t.hb(i))this.bh(n,h|e),this.bh(a,o|e);},i.prototype.BX=function(i,n,s,h,r,e){if(r!=e){s=this.Cb(s,this.ig),s+=this.Cb(h,this.ig),h=0;var a=new t.ha(0),o=new t.ha(0);o.add(0);for(var u=i.sc(-1);u!=n;u=i.hb(u)){var f=i.ga(u),c=this.wa(f),l=this.jf(f),p=this.jf(c);if(l!=p){if(f=this.Cb(f,this.ig),h+=f+=this.Cb(c,this.ig),c=!1,0!=a.size&&a.Gc()==p&&(o.Rf(),a.Rf(),c=!0),-1==this.Yn(p))throw t.f.za();c&&this.Yn(p)==l||(o.add(h),a.add(l));}}h+=s,0!=a.size&&a.Gc()==e&&(o.Rf(),a.Rf()),0!=h?0==o.Gc()&&(i=this.a.ld,i=this.Fa(i),this.bh(r,i)):0!=o.Gc()&&(i=this.a.ld,i=this.Fa(i),this.bh(r,i));}},i.prototype.zX=function(t,i,n,s){var h=this.Fa(this.a.ld);if(-1==i)this.bh(s,this.Zo),0!=(1&(t=this.Cb(t,this.Eg)))?this.bh(n,h):this.bh(n,this.Zo);else {var r=this.mk(s);0==r?(r=this.mk(this.jf(i)),this.bh(s,r),0!=(1&(t=this.Cb(t,this.Eg)))?this.bh(n,r==h?this.Zo:h):this.bh(n,r)):0!=(1&(t=this.Cb(t,this.Eg)))?this.bh(n,r==h?this.Zo:h):this.bh(n,r);}},i.prototype.PZ=function(t,i,n,s){var h=s,r=-1,e=-1,a=0;do{if(2==a)return !1;var o=this.Cb(h,i);if(-1!=o){if(-1!=r)return !1;r=o;}else {if(-1!=e)return !1;e=h;}a++,h=this.kc(this.wa(h));}while(s!=h);return -1!=e&&-1!=r&&(this.Jb(t.ga(r),i,-2),t.Tj(r,e),n.add(r),!0)},i.prototype.QZ=function(t,i){var n=this.eq(t);if(0!=n){var s=this.eq(i);0<n&&0>s||0>n&&0<s?this.zn(t,i):-1!=(i=this.Yn(i))&&this.zn(t,i);}},i.prototype.FQ=function(i,n){this.Vq=this.a.Kd();for(var s=0,h=n.size;s<h;s++){var r=n.get(s),e=this.a.Na(r,this.Pm),a=this.a.Zf(this.a.cd(r)),o=this.a.dc(a);if(t.R.Bc(o)){var u=this.a.T(r);if(-1!=u){var f=this.a.Na(u,this.Pm);if(e!=f){var c=this.PV(),l=this.wa(c),p=this.ph.Ke();this.ph.P(p,0,r),this.ph.P(p,1,-1),this.qu(c,p),this.MK(c,e),-1==(p=this.Re(e))?(this.Cn(e,c),this.dm(c,l),this.cm(l,c)):(e=this.ze(p),this.dm(p,l),this.cm(l,p),this.cm(e,c),this.dm(c,e)),this.MK(l,f),-1==(e=this.Re(f))?(this.Cn(f,l),this.cm(c,l),this.dm(l,c)):(f=this.ze(e),this.dm(e,c),this.cm(c,e),this.cm(f,l),this.dm(l,f)),a=this.Fa(a),0==i?(this.Jb(l,this.he,0),this.Jb(c,this.he,1736==o?a:0)):5==i?(f=new t.b,this.a.w(r,f),r=new t.b,this.a.w(u,r),e=u=0,0>f.compare(r)?u=1:e=-1,this.Jb(l,this.he,0),this.Jb(c,this.he,0),this.Jb(c,this.ig,u),this.Jb(l,this.ig,e)):7==i?(this.Jb(l,this.he,this.Zo),this.Jb(c,this.he,1736==o?a:0)):4==i&&(this.Jb(l,this.he,0),this.Jb(c,this.he,0),this.Jb(c,this.Eg,1),this.Jb(l,this.Eg,1)),o=1736==o?this.jP:0,this.Jx(c,a|o),this.Jx(l,a|o);}}}}},i.prototype.nV=function(t,i){var n=this.ym(i);if(-1!=n){var s=this.ym(t);this.ph.P(n,1,s),this.qu(t,n),this.qu(i,-1);}t=this.wa(t),i=this.wa(i),-1!=(n=this.ym(i))&&(s=this.ym(t),this.ph.P(n,1,s),this.qu(t,n),this.qu(i,-1));},i.prototype.nZ=function(i){function n(t,i){return h.RP(t,i)}var s=new t.ha(0);s.Db(10);for(var h=this,r=this.We;-1!=r;r=this.$f(r)){s.clear(!1);var e=this.Re(r);if(-1!=e){var a=e;do{s.add(a),a=this.kc(this.wa(a));}while(a!=e);if(1<s.size){if(a=!0,2<s.size)s.Zd(0,s.size,n),s.add(s.get(0));else if(0<this.QP(s.get(0),s.get(1))){var o=s.get(0);s.set(0,s.get(1)),s.set(1,o);}else a=!1;for(var u=o=s.get(0),f=this.Df(u),c=this.wa(u),l=-1,p=1,b=s.size;p<b;p++){var v=s.get(p),y=this.wa(v),w=this.pk(y);if(w==f&&v!=u){if(0==i)l=this.xG(u)|this.xG(v),this.Jx(u,l),this.Jx(c,l),this.Jb(u,this.he,this.Cb(u,this.he)|this.Cb(v,this.he)),this.Jb(c,this.he,this.Cb(c,this.he)|this.Cb(y,this.he));else if(-1!=this.ig)l=this.Cb(u,this.ig)+this.Cb(v,this.ig),y=this.Cb(c,this.ig)+this.Cb(y,this.ig),this.Jb(u,this.ig,l),this.Jb(c,this.ig,y);else {if(7==i)return void(this.Ti=new t.Od(5,r,-1));-1!=this.Eg&&(l=this.Cb(u,this.Eg)+this.Cb(v,this.Eg),y=this.Cb(c,this.Eg)+this.Cb(y,this.Eg),this.Jb(u,this.Eg,l),this.Jb(c,this.Eg,y));}this.nV(u,v),this.pz(v),l=u,s.set(p,-1),v==o&&(s.set(0,-1),o=-1);}else this.dy(l,!1),l=-1,u=v,f=w,c=y;}if(this.dy(l,!1),l=-1,a){for(o=-1,p=0,b=s.size;p<b;p++)if(-1!=(v=s.get(p)))if(-1==o)u=o=v,f=this.Df(u),c=this.wa(u);else if(v!=u&&(y=this.wa(v),w=this.pk(y),this.cm(c,v),this.dm(v,c),u=v,f=w,c=y,7==i&&(this.Cb(v,this.he)|this.Cb(this.ze(v),this.he))==(1|this.Zo)))return void(this.Ti=new t.Od(5,r,-1));this.Cn(r,o);}else {for(o=-1,p=0,b=s.size;p<b;p++)if(-1!=(v=s.get(p))){o=v;break}e!=o&&this.Cn(r,o);}}}}},i.prototype.gP=function(){for(var i=-1,n=this.ih(),s=this.We;-1!=s;s=this.$f(s)){var h=this.Re(s);if(-1!=h){var r=h;do{if(1!=this.Cb(r,n)){var e=this.bJ();this.ou(e,r),this.FK(e,i),-1!=i&&this.HK(i,e),i=e;var a=0,o=r;do{a|=this.Cb(o,this.he),this.CY(o,e),this.Jb(o,n,1),o=this.kc(o);}while(o!=r);this.bh(e,a);}r=this.kc(this.wa(r));}while(r!=h)}}e=this.bJ(),this.ou(e,-1),this.FK(e,i),-1!=i&&this.HK(i,e),this.Pl=e,this.ro=t.ie.Af(this.Ee.size,NaN),this.WA=t.ie.Af(this.Ee.size,NaN),this.EK(this.Pl,1/0),this.GK(this.Pl,1/0),this.Uh(n);},i.prototype.FS=function(t,i,n){if(-1==(i=-1!=i?i:this.Re(t)))return -1;for(t=i;;){if(1!=this.Cb(i,n))return i;if((i=this.kc(this.wa(i)))==t)return -1}},i.prototype.dY=function(){for(var t=this.ih(),i=this.We;-1!=i;i=this.$f(i))for(var n=-1;;){var s=this.FS(i,n,t);if(-1==s)break;n=this.kc(this.wa(s));for(var h=s;;){var r=this.kc(h),e=this.ze(h),a=this.wa(h);if(e==a){if(this.TQ(h),n!=h&&n!=a||(n=-1),h==s||e==s){if(h==(s=r)||e==s)break;h=r;continue}}else this.Jb(h,t,1);if((h=r)==s)break}}},i.prototype.wC=function(i,n,s,h,r){this.ah(),this.UH=r,this.a=i,this.Uq=this.a.NF(),(i=new t.ha(0)).Db(null!=s?this.a.D(s.get(0)):this.a.hd);var e=0,a=1,o=null!=s?s.get(0):this.a.ld;for(r=1;-1!=o;){this.a.LK(o,this.Uq,a),a<<=1;for(var u=this.a.Kb(o);-1!=u;u=this.a.Qb(u))for(var f=this.a.Za(u),c=0,l=this.a.Ha(u);c<l;c++)i.add(f),f=this.a.T(f);t.R.lo(this.a.dc(o))||(e+=this.a.$(o)),null!=s?(o=r<s.size?s.get(r):-1,r++):o=this.a.Ae(o);}for(this.Zo=a,this.sa=i.size,this.a.Vx(i,this.sa),null==this.ph&&(this.ph=new t.ad(2),this.oe=new t.ad(8),this.Lc=new t.ad(8),this.Ee=new t.ad(8)),this.ph.Le(this.sa),t.Ep.Sp(h),this.oe.Le(this.sa+10),this.Lc.Le(2*this.sa+32),this.Ee.Le(Math.max(32,e)),this.Pm=this.a.Kd(),s=new t.b,r=0,e=new t.b,s.Tc(),a=0;a<=this.sa;a++)if(a<this.sa?(f=i.get(a),this.a.w(f,e)):e.Tc(),!s.qb(e)){if(r<a){for(f=this.mn(),l=c=-1;r<a;r++)l=i.get(r),this.a.Qa(l,this.Pm,f),o=this.ph.Ke(),this.ph.P(o,0,l),this.ph.P(o,1,c),c=o,u=this.a.cd(l),o=this.a.Zf(u),o=this.Fa(o),this.vY(f,this.Bd(f)|o);this.wY(f,c),this.wr(f,this.a.Ua(l)),-1!=this.wt&&this.LY(this.wt,f),this.OY(f,this.wt),this.wt=f,-1==this.We&&(this.We=f);}r=a,s.K(e);}t.Ep.Sp(h),this.he=this.ih(),5==n&&(this.ig=this.ih()),4==n&&(this.Eg=this.ih()),this.FQ(n,i),0==this.Ti.pi&&(this.nZ(n),0==this.Ti.pi&&(isNaN(this.XA)||this.HP()?(this.gP(),0==this.Ti.pi&&(this.Uh(this.he),this.he=-1,this.UH&&this.gW(n,h))):this.$A=!0));},i.prototype.pz=function(t){var i=this.kc(t),n=this.ze(t),s=this.wa(t),h=this.kc(s),r=this.ze(s);i!=s&&(this.cm(r,i),this.dm(i,r)),n!=s&&(this.cm(n,h),this.dm(h,n)),n=this.pk(t),this.Re(n)==t&&(h!=t?this.Cn(n,h):this.Cn(n,-1)),h=this.pk(s),this.Re(h)==s&&(i!=s?this.Cn(h,i):this.Cn(h,-1)),this.Lc.jd(t),this.Lc.jd(s);},i.prototype.zG=function(t,i){for(;;){if(-1==(i=t.Be(i)))return -1;var n=t.ga(i);if(this.jf(n)!=this.jf(this.wa(n)))return n}},i.prototype.xr=function(t,i){var n;void 0===n&&(n=!0),this.wC(t,0,null,i,n);},i.prototype.zK=function(i,n,s){var h=new t.ha(0);h.add(n),this.wC(i,4,h,s,1736==i.dc(n));},i.prototype.AK=function(i,n,s){var h=new t.ha(0);h.add(n),this.wC(i,5,h,s,!0);},i.prototype.ah=function(){null!=this.a&&(-1!=this.Uq&&(this.a.cY(this.Uq),this.Uq=-1),-1!=this.Pm&&(this.a.Xd(this.Pm),this.Pm=-1),-1!=this.Vq&&(this.a.Xd(this.Vq),this.Vq=-1),-1!=this.he&&(this.Uh(this.he),this.he=-1),-1!=this.ig&&(this.Uh(this.ig),this.ig=-1),-1!=this.Eg&&(this.Uh(this.Eg),this.Eg=-1),this.a=null,this.oe.rj(!0),this.ph.rj(!0),this.wt=this.We=-1,null!=this.Lc&&this.Lc.rj(!0),null!=this.Mi&&(this.Mi.length=0),null!=this.Ji&&(this.Ji.length=0),null!=this.VH&&(this.VH.length=0),null!=this.Ee&&this.Ee.rj(!0),this.Pl=-1,this.ro=null);},i.prototype.Re=function(t){return this.oe.S(t,2)},i.prototype.w=function(t,i){this.a.PG(this.sS(t),i);},i.prototype.Bd=function(t){return this.oe.S(t,1)},i.prototype.$f=function(t){return this.oe.S(t,4)},i.prototype.Iz=function(t){return this.oe.S(t,6)},i.prototype.wm=function(t){return this.oe.S(t,7)},i.prototype.Rs=function(t){return this.ph.S(t,1)},i.prototype.zj=function(t){return this.ph.S(t,0)},i.prototype.tg=function(t,i){return (i=this.Ji[i]).size<=t?-1:i.read(t)},i.prototype.Dn=function(t,i,n){(i=this.Ji[i]).size<=t&&i.resize(this.oe.size,-1),i.write(t,n);},i.prototype.Xp=function(){null==this.Ji&&(this.Ji=[]);for(var i=t.ha.Af(this.oe.Og,-1),n=0,s=this.Ji.length;n<s;n++)if(null==this.Ji[n])return this.Ji[n]=i,n;return this.Ji.push(i),this.Ji.length-1},i.prototype.Yp=function(t){this.Ji[t]=null;},i.prototype.pk=function(t){return this.Lc.S(t,1)},i.prototype.Df=function(t){return this.pk(this.wa(t))},i.prototype.wa=function(t){return this.Lc.S(t,4)},i.prototype.ze=function(t){return this.Lc.S(t,5)},i.prototype.kc=function(t){return this.Lc.S(t,6)},i.prototype.jf=function(t){return this.Lc.S(t,2)},i.prototype.kf=function(t){return this.mk(this.Lc.S(t,2))},i.prototype.ym=function(t){return this.Lc.S(t,7)},i.prototype.Es=function(t,i){this.w(this.pk(t),i);},i.prototype.xm=function(t,i){this.w(this.Df(t),i);},i.prototype.lh=function(t){return this.Lc.S(t,3)&this.kP},i.prototype.Cb=function(t,i){return (i=this.Mi[i]).size<=t?-1:i.read(t)},i.prototype.Jb=function(t,i,n){(i=this.Mi[i]).size<=t&&i.resize(this.Lc.size,-1),i.write(t,n);},i.prototype.ih=function(){null==this.Mi&&(this.Mi=[]);for(var i=t.ha.Af(this.Lc.Og,-1),n=0,s=this.Mi.length;n<s;n++)if(null==this.Mi[n])return this.Mi[n]=i,n;return this.Mi.push(i),this.Mi.length-1},i.prototype.Uh=function(t){this.Mi[t]=null;},i.prototype.TQ=function(t){var i=this.jf(t),n=this.kc(t);n==this.wa(t)&&((n=this.kc(n))==t&&(n=-1)),this.nG(i)==t&&this.ou(i,n),n=this.ro.read(i),isNaN(n)||(this.EK(i,NaN),this.GK(i,NaN)),this.dy(t,!0),this.pz(t);},i.prototype.UQ=function(t){for(var i=0,n=t.size;i<n;i++){var s=t.get(i),h=this.jf(this.wa(s));this.ou(this.jf(s),-1),this.ou(h,-1),this.dy(s,!0),this.pz(s);}},i.prototype.nG=function(t){return this.Ee.S(t,1)},i.prototype.mk=function(t){return this.Ee.S(t,2)},i.prototype.Yn=function(t){return this.Ee.S(t,3)},i.prototype.rS=function(t){return this.Ee.S(t,4)},i.prototype.eq=function(t){var i=this.ro.read(t);return isNaN(i)&&(this.TZ(t),i=this.ro.read(t)),i},i.prototype.Fa=function(t){return this.a.wG(t,this.Uq)},i.prototype.Qe=function(t){return this.a.Na(t,this.Pm)},i.prototype.IS=function(t){return this.a.Na(t,this.Vq)},i.prototype.HS=function(t,i){var n=this.Re(t);if(-1==n)return -1;var s=n,h=-1,r=-1;do{if(this.Df(s)==i)return s;if(-1==h){if(-1==(h=this.Re(i)))break;r=h;}if(this.Df(r)==t)return this.wa(r);s=this.kc(this.wa(s)),r=this.kc(this.wa(r));}while(s!=n&&r!=h);return -1},i.prototype.ZB=function(i,n){n.ps(),n=n.get();var s=new t.b;this.Es(i,s),n.Fc(s),this.xm(i,s),n.Sc(s);},i.prototype.RP=function(i,n){if(i==n)return 0;var s=new t.b;this.xm(i,s);var h=new t.b;return this.xm(n,h),s.qb(h)?0:(n=new t.b,this.Es(i,n),(i=new t.b).tc(s,n),(s=new t.b).tc(h,n),t.b.Wr(i,s))},i.prototype.QP=function(i,n){if(i==n)return 0;var s=new t.b;this.xm(i,s);var h=new t.b;return this.xm(n,h),s.qb(h)?0:(n=new t.b,this.Es(i,n),(i=new t.b).tc(s,n),(s=new t.b).tc(h,n),0<=s.y&&0<i.y?t.b.Wr(i,s):0)},i.prototype.HP=function(){for(var i=t.Tb.Wx(this.XA),n=new t.b,s=new t.b,h=new t.b,r=new t.b,e=new t.b,a=this.We;-1!=a;a=this.$f(a)){var o=this.Re(a);if(-1!=o){var u=o;this.Es(u,n),this.xm(u,s),e.tc(s,n);var f=e.En();do{var c=u;if((u=this.kc(this.wa(u)))!=c){this.xm(u,h),r.tc(h,n),c=r.En();var l=r.Di(e);if(l*l/(c*f)*Math.min(c,f)<=i)return !1;e.K(r),f=c,s.K(h);}}while(u!=o)}}return !0},i}(),t.Pu=i;}(W||(W={})),function(t){var i=function(){function i(){this.h=null,this.bI=new t.b,this.cI=new t.b,this.wh=null,this.bt=!1,this.Bo=-1;}return i.prototype.mf=function(t){return t<this.wh.length&&this.wh[t]},i.prototype.jl=function(i,n,s,h){var r=t.R.Se(this.h.a.dc(s));if(2!=t.R.Se(this.h.a.dc(n))||1!=r)throw t.f.za();this.QQ(i,n,s,h);},i.prototype.xr=function(i,n){null==this.h&&(this.h=new t.Pu),this.h.xr(i,n);},i.prototype.yr=function(i,n,s){for(t.$j.U(i,n,s,!0),n=i.ld;-1!=n;n=i.Ae(n))1736==i.dc(n)&&t.Kn.U(i,n,-1,this.bt,s);this.xr(i,s);},i.prototype.xF=function(t,i,n,s,h){var r=this.h.a;if(1736==r.dc(t))for(t=r.Kb(t);-1!=t;t=r.Qb(t)){var e=r.Za(t);this.h.Qe(e),this.h.Qe(r.T(e));var a=this.h.IS(e);if(-1!=a){var o=this.h.Cb(a,n);if(1!=o&&2!=o)if(this.mf(this.h.kf(a))){this.h.Jb(a,n,1),o=r.Ef(i,-1);var u=a,f=this.h.Qe(e),c=1;do{var l=this.Em(e,h);r.oj(o,l),-1!=s&&this.h.Dn(f,s,1),this.h.Jb(u,n,1),u=this.h.kc(u);do{var p=-1!=(l=1==c?r.T(e):r.Ma(e))?this.h.Qe(l):-1;}while(p==f);var b=this.h.pk(u);if(b!=p){do{p=-1!=(l=1==c?r.Ma(e):r.T(e))?this.h.Qe(l):-1;}while(p==f);b!=p?(p=b,l=this.h.zj(this.h.wm(p))):c=-c;}f=p,e=l;}while(u!=a);r.An(o,!0);}else this.h.Jb(a,n,2);}}},i.prototype.SF=function(){for(var i=this.h.ih(),n=new t.ha(0),s=this.h.We;-1!=s;s=this.h.$f(s)){var h=this.h.Re(s),r=h;if(-1!=h)do{if(1!=this.h.Cb(r,i)){var e=this.h.wa(r);this.h.Jb(e,i,1),this.h.Jb(r,i,1),this.mf(this.h.kf(r))&&this.mf(this.h.kf(e))&&n.add(r);}r=this.h.kc(this.h.wa(r));}while(r!=h)}this.h.Uh(i),this.h.UQ(n);},i.prototype.Em=function(t,i){return -1==i?t:this.tT(t,i)},i.prototype.tT=function(t,i){var n=this.h.a,s=this.h.wm(this.h.Qe(t));do{var h=this.h.zj(s);if(n.Zf(n.cd(h))==i)return h;s=this.h.Rs(s);}while(-1!=s);return t},i.prototype.Ir=function(i,n,s){this.SF();var h=this.h.a,r=h.Pg(1736),e=this.h.ih();return this.AL(i,n,r,s,e,-1),this.h.Uh(e),t.Kn.U(h,r,1,this.bt,null),r},i.prototype.AL=function(t,i,n,s,h,r){for(this.xF(t,n,h,r,s),-1!=i&&this.xF(i,n,h,r,s),t=this.h.a,i=this.h.We;-1!=i;i=this.h.$f(i)){var e=this.h.Re(i);if(-1!=e){var a=e;do{var o=this.h.Cb(a,h);if(1!=o&&2!=o)if(this.mf(this.h.kf(a))){o=t.Ef(n,-1);var u=a;do{var f=this.h.ym(u);-1!=f?f=this.h.zj(f):(f=this.h.zj(this.h.ym(this.h.wa(u))),f=this.h.a.T(f)),f=this.Em(f,s),t.oj(o,f),this.h.Jb(u,h,1),-1!=r&&(f=this.h.Qe(f),this.h.Dn(f,r,1)),u=this.h.kc(u);}while(u!=a);t.An(o,!0);}else this.h.Jb(a,h,2);a=this.h.kc(this.h.wa(a));}while(a!=e)}}},i.prototype.HZ=function(i,n,s){var h=this.h.a,r=h.Pg(1736),e=h.Pg(1607),a=h.Pg(550);this.SF();var o=-1,u=this.h.ih(),f=this.h.Xp();for(this.AL(i,n,r,s,u,f),i=this.h.We;-1!=i;i=this.h.$f(i))if(-1!=(n=this.h.Re(i))){var c=n;do{var l=this.h.Cb(c,u),p=this.h.Cb(this.h.wa(c),u);if(2==(l|=p))if(l=this.h.lh(c),this.mf(l)){var b=h.Ef(e,-1),v=c;l=this.Fx(i,h),l=this.Em(l,s),h.oj(b,l),this.h.Dn(i,f,1);do{if(l=this.h.Df(v),p=this.Fx(l,h),p=this.Em(p,s),h.oj(b,p),this.h.Jb(v,u,1),this.h.Jb(this.h.wa(v),u,1),this.h.Dn(l,f,1),v=this.h.kc(v),l=this.h.Cb(v,u),2!=(l|=p=this.h.Cb(this.h.wa(v),u)))break;if(l=this.h.lh(v),!this.mf(l)){this.h.Jb(v,u,1),this.h.Jb(this.h.wa(v),u,1);break}}while(v!=c)}else this.h.Jb(c,u,1),this.h.Jb(this.h.wa(c),u,1);c=this.h.kc(this.h.wa(c));}while(c!=n)}for(i=this.h.We;-1!=i;i=this.h.$f(i))1!=(l=this.h.tg(i,f))&&(l=this.h.Bd(i),this.mf(l)&&(-1==o&&(o=h.Ef(a,-1)),-1!=(n=this.h.wm(i))&&(n=this.h.zj(n),l=this.Em(n,s),h.oj(o,l))));return this.h.Yp(f),this.h.Uh(u),t.Kn.U(h,r,1,this.bt,null),(s=[])[0]=a,s[1]=e,s[2]=r,s},i.prototype.Fx=function(t,i){var n=-1;for(t=this.h.wm(t);-1!=t;t=this.h.Rs(t)){var s=this.h.zj(t);-1==n&&(n=s);var h=this.h.Fa(i.Zf(i.cd(s)));if(this.mf(h)){n=s;break}}return n},i.prototype.WB=function(i,n){for(var s=this.h.pk(n),h=this.h.Df(n),r=0,e=0,a=this.h.wm(s);-1!=a;a=this.h.Rs(a)){var o=this.h.zj(a),u=i.cd(o),f=this.h.Fa(i.Zf(u)),c=i.T(o),l=i.Ma(o);(u=i.Za(u))==o&&(this.Bo=n),-1!=c&&this.h.Qe(c)==h?(r++,this.mf(f)&&(u==c&&(this.Bo=this.h.kc(n)),e++)):-1!=l&&this.h.Qe(l)==h&&(r--,this.mf(f)&&(u==l&&(this.Bo=this.h.kc(n)),e--));}return this.h.w(s,this.bI),this.h.w(h,this.cI),(0!=e?e:r)*(i=t.b.vb(this.bI,this.cI))},i.prototype.gq=function(t){return this.h.lh(t)|this.h.kf(t)|this.h.kf(this.h.wa(t))},i.prototype.EL=function(t){for(var i=this.h.wa(this.h.ze(t)),n=-1;i!=t;){if(this.mf(this.gq(i))){if(-1!=n)return -1;n=i;}i=this.h.wa(this.h.ze(i));}return -1!=n?this.h.wa(n):-1},i.prototype.FL=function(t){for(var i=this.h.wa(this.h.kc(t)),n=-1;i!=t;){if(this.mf(this.gq(i))){if(-1!=n)return -1;n=i;}i=this.h.wa(this.h.kc(i));}return -1!=n?this.h.wa(n):-1},i.prototype.qK=function(i,n,s,h,r){var e=this.h.a,a=i,o=this.h.wa(a);this.h.Jb(a,s,1),this.h.Jb(o,s,1);var u=this.WB(e,a);this.Bo=-1;for(var f=a,c=-1,l=!1,p=1;;){var b=this.h.ze(a);if(b==o)break;if(o=this.h.kc(o),this.h.wa(b)!=o){if(-1==(a=this.EL(a)))break;l=!0,o=this.h.wa(a);}else a=b;if(a==i){c=i;break}if(b=this.gq(a),!this.mf(b))break;this.h.Jb(a,s,1),this.h.Jb(o,s,1),f=a,u+=this.WB(e,a),p++;}if(-1==c)for(a=i,o=this.h.wa(a),c=a;(i=this.h.kc(a))!=o;){if(o=this.h.ze(o),this.h.wa(i)!=o){if(-1==(a=this.FL(a))){l=!0;break}o=this.h.wa(a);}else a=i;if(b=this.gq(a),!this.mf(b))break;this.h.Jb(a,s,1),this.h.Jb(o,s,1),c=a,u+=this.WB(e,a),p++;}else if(-1!=this.Bo&&(f=this.Bo,c=this.h.ze(this.Bo),this.h.wa(c)!=this.h.kc(this.h.wa(f))&&-1==(c=this.EL(f))))throw t.f.za();for(0<=u||(a=c,c=this.h.wa(f),f=this.h.wa(a)),s=e.Ef(n,-1),a=f,f=this.h.pk(f),l=this.h.Df(c)==f&&l,u=this.Fx(f,e),u=this.Em(u,r),e.oj(s,u),-1!=h&&this.h.Dn(f,h,1),f=0,p=l?t.L.truncate((p+1)/2):-1;i=this.h.Df(a),u=this.Fx(i,e),u=this.Em(u,r),e.oj(s,u),f++,-1!=h&&this.h.Dn(i,h,1),l&&f==p&&(s=e.Ef(n,-1),e.oj(s,u)),a!=c;)if(i=this.h.kc(a),this.h.ze(this.h.wa(a))!=this.h.wa(i)){if(-1==(a=this.FL(a)))throw t.f.za()}else a=i;},i.prototype.Jr=function(t){for(var i=this.h.a.Pg(1607),n=this.h.ih(),s=this.h.We;-1!=s;s=this.h.$f(s)){var h=this.h.Re(s),r=h;do{1!=this.h.Cb(r,n)&&this.mf(this.gq(r))&&this.qK(r,i,n,-1,t),r=this.h.kc(this.h.wa(r));}while(r!=h)}return this.h.Uh(n),i},i.prototype.IZ=function(t){for(var i=this.h.a,n=i.Pg(1607),s=i.Pg(550),h=this.h.ih(),r=this.h.Xp(),e=-1,a=this.h.We;-1!=a;a=this.h.$f(a)){var o=this.h.Re(a),u=o;do{var f=this.h.Cb(u,h);1!=f&&(f=this.gq(u),this.mf(f)&&this.qK(u,n,h,r,t)),u=this.h.kc(this.h.wa(u));}while(u!=o)}for(a=this.h.We;-1!=a;a=this.h.$f(a))1!=(f=this.h.tg(a,r))&&(f=this.h.Bd(a),this.mf(f)&&(-1==e&&(e=i.Ef(s,-1)),-1!=(o=this.h.wm(a))&&(o=this.h.zj(o),o=this.Em(o,t),i.oj(e,o))));return this.h.Uh(h),this.h.Yp(r),(t=[])[0]=s,t[1]=n,t},i.prototype.up=function(){for(var t=this.h.a,i=t.Pg(550),n=t.Ef(i,-1),s=this.h.We;-1!=s;s=this.h.$f(s))if(this.mf(this.h.Bd(s))){for(var h=-1,r=this.h.wm(s);-1!=r;r=this.h.Rs(r)){var e=this.h.zj(r);-1==h&&(h=e);var a=this.h.Fa(t.Zf(t.cd(e)));if(this.mf(a)){h=e;break}}t.oj(n,h);}return i},i.prototype.eo=function(t){this.wh=[];for(var i=0;i<t;i++)this.wh[i]=!1;},i.IJ=function(i,n,s,h){var r=i.Ea(),e=Array(1e3);t.L.Hv(e,null);var a=t.L.Xf(1e3,0),o=i.D(),u=!0,f=2==n.pb();if(1!=n.pb()&&2!=n.pb())throw t.f.za();for(var c=0;c<o;){var l=t.L.truncate(i.CX(e,c)-c);f?t.Zc.yL(n,e,l,s,a):t.Zc.zL(n,e,l,s,a);for(var p=0,b=0;b<l;b++){var v=0==a[b];h||(v=!v),v&&(u&&(u=!1,r.yd(i,0,c)),p!=b&&r.yd(i,c+p,c+b),p=b+1);}u||p==l||r.yd(i,c+p,c+l),c+=l;}return u?i:r},i.lH=function(n,s,h){return n instanceof t.Hd?i.IJ(n,s,h,!0):s instanceof t.Ra?n.u()||s.u()?n.Ea():t.$j.eJ(h,n,s)?t.$j.MP(n,s):n.Ea():i.JJ(n,s,h,!0)},i.hw=function(n,s,h,r){var e=new t.g;n.s(e);var a=new t.g;s.s(a);var o=new t.g;if(o.H(e),o.Nb(a),h=t.la.Qd(h,o,!0),(o=new t.g).H(a),a=t.la.es(h),o.O(a,a),!e.isIntersecting(o)){if(n.pb()<=s.pb())return i.kg(i.vd(n.Ea()),n,"&");if(n.pb()>s.pb())return i.kg(i.vd(s.Ea()),n,"&")}return a=new i,o=(e=new t.Yc).Bb(i.vd(n)),s=e.Bb(i.vd(s)),a.yr(e,h,r),r=a.hw(o,s),n=i.kg(e.ye(r),n,"&"),t.R.Bc(n.F())&&(n.Jg(2,h),1736==n.F()&&n.cl()),n},i.JJ=function(i,n,s,h){if(i.u())return i.Ea();if(n.u())return h?i.Ea():null;var r=[null],e=[0],a=2==n.pb();if(1!=n.pb()&&2!=n.pb())throw t.f.za();return r[0]=i.w(),a?t.Zc.yL(n,r,1,s,e):t.Zc.zL(n,r,1,s,e),n=0==e[0],h||(n=!n),n?i.Ea():i},i.T_=function(n,s,h){return n instanceof t.Hd?i.IJ(n,s,h,!1):s instanceof t.Ra?n.u()?n.Ea():s.u()?n:t.$j.eJ(h,n,s)?n.Ea():n:i.JJ(n,s,h,!1)},i.prototype.jJ=function(i,n,s,h,r){if(i.u())return i;var e=new t.Yc;return i=e.Bb(i),this.Tk(e,i,n,s,h,r)},i.prototype.eW=function(i,n,s,h,r,e){if(r&&550!=i.dc(n)){var a=new t.yD;a.yZ(i,s),a.Tg?(t.$j.U(i,s,e,!0),r=!1):this.h.dz(s);}else t.$j.U(i,s,e,!0),r=!1;if(h&&550!=i.dc(n)?this.h.AK(i,n,e):this.h.zK(i,n,e),this.h.$A)return this.h.ah(),this.h=null,this.Tk(i,n,s,h,!1,e);if(this.h.dz(NaN),e=this.h.Fa(n),this.eo(e+1),this.wh[e]=!0,1736==i.dc(n)||h&&550!=i.dc(n))return i.np(n,0),n=this.Ir(n,-1,-1),(i=i.ye(n)).np(0),r?i.Jg(1,0):(i.Jg(2,s),i.cl()),i;if(1607==i.dc(n))return n=this.Jr(-1),i=i.ye(n),r||i.Jg(2,s),i;if(550==i.dc(n))return n=this.up(),i=i.ye(n),r||i.Jg(2,s),i;throw t.f.za()},i.prototype.Tk=function(i,n,s,h,r,e){this.h=new t.Pu;try{return this.eW(i,n,s,h,r,e)}finally{this.h.ah();}},i.Tk=function(t,n,s,h,r){return (new i).jJ(t,n,s,h,r)},i.prototype.dW=function(i,n,s,h){this.bt=i,this.h=new t.Pu,i=n.$n(s);var r=n.dc(s);if(1!=i||550==r?this.h.zK(n,s,h):this.h.AK(n,s,h),!this.h.$A)if(this.h.dz(NaN),h=this.h.Fa(s),this.eo(h+1),this.wh[h]=!0,1736==n.dc(s)||1==i&&550!=n.dc(s))n.np(s,0),h=this.Ir(s,-1,-1),n.QC(h,s),n.kC(h);else if(1607==n.dc(s))h=this.Jr(-1),n.QC(h,s),n.kC(h);else {if(550!=n.dc(s))throw t.f.Y("internal error");h=this.up(),n.QC(h,s),n.kC(h);}},i.NC=function(t,n,s,h){var r=new i;return r.bt=!0,r.jJ(t,n,!1,s,h)},i.prototype.tm=function(i,n){var s=t.R.Se(this.h.a.dc(i)),h=t.R.Se(this.h.a.dc(n));if(s>h)return i;var r=this.h.Fa(i),e=this.h.Fa(n);if(this.eo(1+(r|e)),this.wh[this.h.Fa(i)]=!0,2==s&&2==h)return this.Ir(i,n,-1);if(1==s&&2==h||1==s&&1==h)return this.Jr(-1);if(0==s)return this.up();throw t.f.za()},i.prototype.RF=function(i,n){var s=t.R.Se(this.h.a.dc(i)),h=t.R.Se(this.h.a.dc(n));if(s>h)return i;if(s<h)return n;var r=this.h.Fa(i),e=this.h.Fa(n);if(this.eo(1+(r|e)),this.wh[this.h.Fa(i)]=!0,this.wh[this.h.Fa(n)]=!0,this.wh[this.h.Fa(i)|this.h.Fa(n)]=!0,2==s&&2==h)return this.Ir(i,n,-1);if(1==s&&1==h)return this.Jr(-1);if(0==s&&0==h)return this.up();throw t.f.za()},i.prototype.hw=function(i,n){var s=t.R.Se(this.h.a.dc(i)),h=t.R.Se(this.h.a.dc(n)),r=this.h.Fa(i),e=this.h.Fa(n);if(this.eo(1+(r|e)),this.wh[this.h.Fa(i)|this.h.Fa(n)]=!0,r=-1,1<this.h.a.Qt.Ca&&(r=i),2==s&&2==h)return this.Ir(i,n,r);if(1==s&&0<h||1==h&&0<s)return this.Jr(r);if(0==s||0==h)return this.up();throw t.f.za()},i.prototype.wA=function(i,n){var s=t.R.Se(this.h.a.dc(i)),h=t.R.Se(this.h.a.dc(n)),r=this.h.Fa(i),e=this.h.Fa(n);if(this.eo(1+(r|e)),this.wh[this.h.Fa(i)|this.h.Fa(n)]=!0,r=-1,1<this.h.a.Qt.Ca&&(r=i),2==s&&2==h)return this.HZ(i,n,r);if(1==s&&0<h||1==h&&0<s)return this.IZ(r);if(0==s||0==h)return (i=[])[0]=this.up(),i;throw t.f.za()},i.prototype.tp=function(i,n){var s=t.R.Se(this.h.a.dc(i)),h=t.R.Se(this.h.a.dc(n)),r=this.h.Fa(i),e=this.h.Fa(n);if(this.eo(1+(r|e)),this.wh[this.h.Fa(i)]=!0,this.wh[this.h.Fa(n)]=!0,2==s&&2==h)return this.Ir(i,n,-1);if(1==s&&1==h)return this.Jr(-1);if(0==s&&0==h)return this.up();throw t.f.za()},i.vd=function(i){var n=i.F();return 197==n?(n=new t.Ga(i.description),i.u()||n.bd(i,!1),n):33==n?(n=new t.Hd(i.description),i.u()||n.add(i),n):322==n?(n=new t.Oa(i.description),i.u()||n.$b(i,!0),n):i},i.kg=function(i,n,s){var h=i.F();return 197==h?(n=new t.Ga(i.description),i.u()||n.bd(i,!1),n):33!=h||"|"!=s&&"^"!=s?322==h?(n=new t.Oa(i.description),i.u()||n.$b(i,!0),n):33==h&&"-"==s&&33==n.F()||550==h&&"&"==s&&33==n.F()?(n=new t.Ra(i.description),i.u()||i.ne(0,n),n):i:(n=new t.Hd(i.description),i.u()||n.add(i),n)},i.tm=function(n,s,h,r){if(n.u()||s.u()||n.pb()>s.pb())return i.kg(i.vd(n),n,"-");var e=new t.g;n.s(e);var a=new t.g;if(s.s(a),!e.isIntersecting(a))return i.kg(i.vd(n),n,"-");var o=new t.g;return o.H(e),o.Nb(a),h=t.la.Qd(h,o,!0),a=new i,o=(e=new t.Yc).Bb(i.vd(n)),s=e.Bb(i.vd(s)),a.yr(e,h,r),r=a.tm(o,s),r=e.ye(r),n=i.kg(r,n,"-"),t.R.Bc(n.F())&&(n.Jg(2,h),1736==n.F()&&n.cl()),n},i.RF=function(n,s){if(n.pb()>s.pb())return i.kg(i.vd(n),n,"|");if(n.pb()<s.pb()||n.u())return i.kg(i.vd(s),n,"|");if(s.u())return i.kg(i.vd(n),n,"|");var h=new t.g;n.s(h);var r=new t.g;s.s(r);var e=new t.g;if(e.H(h),e.Nb(r),e=t.la.Qd(void 0,e,!0),!h.isIntersecting(r.KS(e,e)))switch(n=i.vd(n),e=i.vd(s),n.F()){case 550:return (n=t.R.$d(n)).yd(e,0,-1),n;case 1607:case 1736:return (n=t.R.$d(n)).add(e,!1),n;default:throw t.f.za()}r=new i;var a=(h=new t.Yc).Bb(i.vd(n));return s=h.Bb(i.vd(s)),r.yr(h,e,void 0),s=r.RF(a,s),n=i.kg(h.ye(s),n,"|"),t.R.Bc(n.F())&&(n.Jg(2,e),1736==n.F()&&n.cl()),n},i.fR=function(n,s,h){if(2>n.length)throw t.f.I("not enough geometries to dissolve");for(var r=0,e=0,a=n.length;e<a;e++)r=Math.max(n[e].pb(),r);var o=new t.g;o.Ka();var u=new t.Yc,f=-1,c=0,l=-1;for(e=0,a=n.length;e<a;e++)if(n[e].pb()==r)if(n[e].u())-1==l&&(l=e);else {l=e,-1==f?f=u.Bb(i.vd(n[e])):u.FO(f,i.vd(n[e]));var p=new t.g;n[e].Zb(p),o.Nb(p),c++;}return 2>c?i.vd(n[l]):(n=2==r,s=t.la.Qd(0==r?s:null,o,!0),(new i).Tk(u,f,s,n,!0,h))},i.wA=function(n,s,h,r){var e=[null,null,null],a=new t.g;n.s(a);var o=new t.g;s.s(o);var u=new t.g;if(u.H(a),u.Nb(o),h=t.la.Qd(h,u,!0),(u=new t.g).H(o),o=t.la.es(h),u.O(o,o),!a.isIntersecting(u)){if(n.pb()<=s.pb())return e[(n=i.kg(i.vd(n.Ea()),n,"&")).pb()]=n,e;if(n.pb()>s.pb())return e[(n=i.kg(i.vd(s.Ea()),n,"&")).pb()]=n,e}for(o=new i,u=(a=new t.Yc).Bb(i.vd(n)),s=a.Bb(i.vd(s)),o.yr(a,h,r),r=o.wA(u,s),s=0;s<r.length;s++)o=i.kg(a.ye(r[s]),n,"&"),t.R.Bc(o.F())&&(o.Jg(2,h),1736==o.F()&&o.cl()),e[o.pb()]=o;return e},i.tp=function(n,s,h,r){if(n.pb()>s.pb())return i.kg(i.vd(n),n,"^");if(n.pb()<s.pb()||n.u())return i.kg(i.vd(s),n,"^");if(s.u())return i.kg(i.vd(n),n,"^");var e=new t.g;n.s(e);var a=new t.g;s.s(a);var o=new t.g;return o.H(e),o.Nb(a),h=t.la.Qd(h,o,!0),a=new i,o=(e=new t.Yc).Bb(i.vd(n)),s=e.Bb(i.vd(s)),a.yr(e,h,r),r=a.tp(o,s),n=i.kg(e.ye(r),n,"^"),t.R.Bc(n.F())&&(n.Jg(2,h),1736==n.F()&&n.cl()),n},i.w_=function(i,n,s){return n=n.F(),s=s.F(),550==i.F()&&(33==n||33==s)&&1>=i.D()?(s=new t.Ra(i.description),i.u()||i.ne(0,s),s):i},i.prototype.XR=function(t,i){var n=this.h.a;t=n.Ef(t,-1);for(var s=i.size,h=0;h<s;h++){var r=i.get(h);n.oj(t,r);}n.An(t,!0);},i.prototype.DY=function(t,i){for(var n=this.h.a,s=n.ld;-1!=s;s=n.Ae(s))if(s==i)for(var h=n.Kb(s);-1!=h;h=n.Qb(h)){var r=n.Za(h);if(-1!=r)for(var e=n.T(r);-1!=e;){r=this.h.Qe(r);var a=this.h.Qe(e);-1!=(r=this.h.HS(r,a))&&(a=this.h.wa(r),this.h.Jb(r,t,1),this.h.Jb(a,t,2)),r=e,e=n.T(r);}}},i.prototype.tX=function(i,n,s,h){s=this.h.Fa(s),h=this.h.Fa(h);var r=new t.ha(0);r.Db(256);for(var e=this.h.a,a=this.h.ih(),o=this.h.We;-1!=o;o=this.h.$f(o)){var u=this.h.Re(o);if(-1!=u){var f=u;do{if(1!=this.h.Cb(f,a)){var c=f,l=f,p=!1,b=0;do{if(this.h.Jb(c,a,1),!p){var v=this.h.lh(c);0!=(v&h)&&0!=(this.h.kf(c)&s)&&(l=c,p=!0);}p&&(r.add(this.h.zj(this.h.wm(this.h.pk(c)))),-1!=i&&(0!=((v=this.h.lh(c))&h)&&(b|=v=this.h.Cb(c,i)))),c=this.h.kc(c);}while(c!=l);p&&0<this.h.eq(this.h.jf(l))&&(c=e.Pg(1736),this.XR(c,r),-1!=n&&e.LK(c,n,b)),r.clear(!1);}f=this.h.kc(this.h.wa(f));}while(f!=u)}}this.h.Uh(a);},i.prototype.QQ=function(t,i,n,s){this.h.dY();var h=-1;-1!=t&&(h=this.h.ih(),this.DY(h,n)),this.tX(h,t,i,n);var r=this.h.a;for(t=0,h=r.ld;-1!=h;h=r.Ae(h))h!=i&&h!=n&&(s.add(h),t++);s.Zd(0,t,(function(t,i){return (t=r.eA(r.Kb(t)))<(i=r.eA(r.Kb(i)))?-1:t==i?0:1}));},i.prototype.ah=function(){null!=this.h&&(this.h.ah(),this.h=null);},i}();t.pg=i;}(W||(W={})),function(t){var i=function(){function i(t){void 0!==t?this.Dr(t):this.zC();}return i.prototype.Tx=function(){this.Sb=this.Ob=this.tb=this.ob=this.bb=this.fb=0;},i.prototype.Ib=function(t){return this==t||t instanceof i&&(this.fb==t.fb&&this.ob==t.ob&&this.Ob==t.Ob&&this.tb==t.tb&&this.bb==t.bb&&this.Sb==t.Sb)},i.prototype.fc=function(){return t.L.Aj(),t.L.Aj(),t.L.Aj(),t.L.Aj(),t.L.Aj(),t.L.Aj()},i.prototype.Zj=function(t,i){var n=this.tb*t.x+this.bb*t.y+this.Sb;i.x=this.fb*t.x+this.ob*t.y+this.Ob,i.y=n;},i.prototype.LZ=function(t,i,n,s,h){var r=2*i;for(s*=2,i=2*(i+h);r<i;r+=2,s+=2){h=t[r];var e=t[r+1];n[s]=this.fb*h+this.ob*e+this.Ob,n[s+1]=this.tb*h+this.bb*e+this.Sb;}},i.prototype.NZ=function(i,n,s){for(var h=0;h<n;h++){var r=i[h].x,e=i[h].y,a=this.fb*r+this.ob*e+this.Ob;r=this.tb*r+this.bb*e+this.Sb,null!=s[h]?s[h].ka(a,r):s[h]=t.b.construct(a,r);}},i.prototype.multiply=function(t){i.multiply(this,t,this);},i.multiply=function(t,i,n){var s=t.fb*i.fb+t.tb*i.ob,h=t.ob*i.fb+t.bb*i.ob,r=t.Ob*i.fb+t.Sb*i.ob+i.Ob,e=t.fb*i.tb+t.tb*i.bb,a=t.ob*i.tb+t.bb*i.bb;t=t.Ob*i.tb+t.Sb*i.bb+i.Sb,n.fb=s,n.ob=h,n.Ob=r,n.tb=e,n.bb=a,n.Sb=t;},i.prototype.Cf=function(){var t=new i;return t.fb=this.fb,t.ob=this.ob,t.Ob=this.Ob,t.tb=this.tb,t.bb=this.bb,t.Sb=this.Sb,t},i.prototype.VC=function(i){if(!i.u()){for(var n=[],s=0;4>s;s++)n[s]=new t.b;i.XB(n),this.OZ(n,n),i.Ix(n,4);}},i.prototype.OZ=function(i,n){for(var s=0;s<i.length;s++){var h=new t.b,r=i[s];h.x=this.fb*r.x+this.ob*r.y+this.Ob,h.y=this.tb*r.x+this.bb*r.y+this.Sb,n[s]=h;}},i.prototype.KT=function(t,i){t.u()||i.u()||0==t.N()||0==t.ca()?this.Tx():(this.ob=this.tb=0,this.fb=i.N()/t.N(),this.bb=i.ca()/t.ca(),this.Ob=i.o-t.o*this.fb,this.Sb=i.A-t.A*this.bb);},i.prototype.MZ=function(i){var n=new t.b,s=new t.b;n.ka(this.fb,this.tb),s.ka(this.ob,this.bb),n.sub(n);var h=.5*n.En();return n.ka(this.fb,this.tb),s.ka(this.ob,this.bb),n.add(s),i*(h>(n=.5*n.En())?Math.sqrt(h):Math.sqrt(n))},i.prototype.zC=function(){this.fb=1,this.tb=this.Ob=this.ob=0,this.bb=1,this.Sb=0;},i.prototype.xq=function(){return 1==this.fb&&1==this.bb&&0==this.ob&&0==this.Ob&&0==this.tb&&0==this.Sb},i.prototype.Qg=function(t){return Math.abs(this.fb*this.bb-this.tb*this.ob)<=2*t*(Math.abs(this.fb*this.bb)+Math.abs(this.tb*this.ob))},i.prototype.mg=function(t,i){this.fb=1,this.ob=0,this.Ob=t,this.tb=0,this.bb=1,this.Sb=i;},i.prototype.Dr=function(t,i){void 0!==i?(this.fb=t,this.tb=this.Ob=this.ob=0,this.bb=i,this.Sb=0):this.Dr(t,t);},i.prototype.HC=function(){this.fb=0,this.ob=1,this.Ob=0,this.tb=1,this.Sb=this.bb=0;},i.prototype.SY=function(t){this.TY(Math.cos(t),Math.sin(t));},i.prototype.TY=function(t,i){this.fb=t,this.ob=-i,this.Ob=0,this.tb=i,this.bb=t,this.Sb=0;},i.prototype.shift=function(t,i){this.Ob+=t,this.Sb+=i;},i.prototype.scale=function(t,i){this.fb*=t,this.ob*=t,this.Ob*=t,this.tb*=i,this.bb*=i,this.Sb*=i;},i.prototype.rotate=function(t){var n=new i;n.SY(t),this.multiply(n);},i.prototype.inverse=function(t){if(void 0!==t){var i=this.fb*this.bb-this.ob*this.tb;0==i?t.Tx():(i=1/i,t.Ob=(this.ob*this.Sb-this.Ob*this.bb)*i,t.Sb=(this.Ob*this.tb-this.fb*this.Sb)*i,t.fb=this.bb*i,t.ob=-this.ob*i,t.tb=-this.tb*i,t.bb=this.fb*i);}else this.inverse(this);},i}();t.xd=i;}(W||(W={})),function(t){var i=function(){function i(){}return i.prototype.Tx=function(){this.Kg=this.Sb=this.Ob=this.gf=this.df=this.cf=this.ff=this.bb=this.ob=this.yf=this.tb=this.fb=0;},i.prototype.Dr=function(t,i){this.fb=t,this.ob=this.yf=this.tb=0,this.bb=i,this.df=this.cf=this.ff=0,this.gf=void 0,this.Kg=this.Sb=this.Ob=0;},i.prototype.translate=function(t,i,n){this.Ob+=t,this.Sb+=i,this.Kg+=n;},i.prototype.VC=function(i){if(!i.u()){for(var n=new t.Id[8],s=0;8>s;s++)n[s]=new t.Id;i.XB(n),this.transform(n,8,n),i.Ix(n);}},i.prototype.transform=function(i,n,s){for(var h=0;h<n;h++){var r=new t.Id,e=i[h];r.x=this.fb*e.x+this.ob*e.y+this.cf*e.z+this.Ob,r.y=this.tb*e.x+this.bb*e.y+this.df*e.z+this.Sb,r.z=this.yf*e.x+this.ff*e.y+this.gf*e.z+this.Kg,s[h]=r;}},i.prototype.vp=function(i){var n=new t.Id;return n.x=this.fb*i.x+this.ob*i.y+this.cf*i.z+this.Ob,n.y=this.tb*i.x+this.bb*i.y+this.df*i.z+this.Sb,n.z=this.yf*i.x+this.ff*i.y+this.gf*i.z+this.Kg,n},i.prototype.Gg=function(t){i.multiply(this,t,this);},i.multiply=function(t,i,n){var s=t.fb*i.fb+t.tb*i.ob+t.yf*i.cf,h=t.fb*i.tb+t.tb*i.bb+t.yf*i.df,r=t.fb*i.yf+t.tb*i.ff+t.yf*i.gf,e=t.ob*i.fb+t.bb*i.ob+t.ff*i.cf,a=t.ob*i.tb+t.bb*i.bb+t.ff*i.df,o=t.ob*i.yf+t.bb*i.ff+t.ff*i.gf,u=t.cf*i.fb+t.df*i.ob+t.gf*i.cf,f=t.cf*i.tb+t.df*i.bb+t.gf*i.df,c=t.cf*i.yf+t.df*i.ff+t.gf*i.gf,l=t.Ob*i.fb+t.Sb*i.ob+t.Kg*i.cf+i.Ob,p=t.Ob*i.tb+t.Sb*i.bb+t.Kg*i.df+i.Sb;t=t.Ob*i.yf+t.Sb*i.ff+t.Kg*i.gf+i.Kg,n.fb=s,n.tb=h,n.yf=r,n.ob=e,n.bb=a,n.ff=o,n.cf=u,n.df=f,n.gf=c,n.Ob=l,n.Sb=p,n.Kg=t;},i.inverse=function(i,n){var s=i.fb*(i.bb*i.gf-i.ff*i.df)-i.tb*(i.ob*i.gf-i.ff*i.cf)+i.yf*(i.ob*i.df-i.bb*i.cf);if(0==s)throw t.f.Y("math singularity");var h=1/s;s=(i.bb*i.gf-i.ff*i.df)*h;var r=-(i.ob*i.gf-i.ff*i.cf)*h,e=(i.ob*i.df-i.bb*i.cf)*h,a=-(i.tb*i.gf-i.df*i.yf)*h,o=(i.fb*i.gf-i.yf*i.cf)*h,u=-(i.fb*i.df-i.tb*i.cf)*h,f=(i.tb*i.ff-i.yf*i.bb)*h,c=-(i.fb*i.ff-i.yf*i.ob)*h;h*=i.fb*i.bb-i.tb*i.ob;var l=-(i.Ob*s+i.Sb*r+i.Kg*e),p=-(i.Ob*a+i.Sb*o+i.Kg*u);i=-(i.Ob*f+i.Sb*c+i.Kg*h),n.fb=s,n.tb=a,n.yf=f,n.ob=r,n.bb=o,n.ff=c,n.cf=e,n.df=u,n.gf=h,n.Ob=l,n.Sb=p,n.Kg=i;},i.prototype.Cf=function(){var t=new i;return t.fb=this.fb,t.tb=this.tb,t.yf=this.yf,t.ob=this.ob,t.bb=this.bb,t.ff=this.ff,t.cf=this.cf,t.df=this.df,t.gf=this.gf,t.Ob=this.Ob,t.Sb=this.Sb,t.Kg=this.Kg,t},i}();t.u_=i;}(W||(W={})),function(t){var i=function(i){function s(t){if(void 0!==t)t=i.call(this,t.fc(),t)||this;else {(t=i.call(this)||this).hg=[],t.hg[0]=0,t.Ca=1,t.Bh=[];for(var n=0;10>n;n++)t.Bh[n]=-1;t.Bh[t.hg[0]]=0;}return t.Cq=!0,t}return Z(s,i),s.prototype.le=function(t){this.hasAttribute(t)||(this.Bh[t]=0,this.UD());},s.prototype.removeAttribute=function(i){if(0==i)throw t.f.I("Position attribue cannot be removed");this.hasAttribute(i)&&(this.Bh[i]=-1,this.UD());},s.prototype.reset=function(){this.hg[0]=0,this.Ca=1;for(var t=0;t<this.Bh.length;t++)this.Bh[t]=-1;this.Bh[this.hg[0]]=0,this.Cq=!0;},s.prototype.Mz=function(){return n.bo().add(this)},s.ug=function(){return n.bo().rT()},s.Y_=function(){return n.bo().sT()},s.prototype.BN=function(){var i=this.fc();return new t.oa(i,this)},s.prototype.UD=function(){for(var t=this.Ca=0,i=0;10>t;t++)0<=this.Bh[t]&&(this.hg[i]=t,this.Bh[t]=i,i++,this.Ca++);this.Cq=!0;},s.prototype.fc=function(){return this.Cq&&(this.Fl=this.Un(),this.Cq=!1),this.Fl},s.prototype.Ib=function(t){if(null==t)return !1;if(t==this)return !0;if(!(t instanceof s)||t.Ca!=this.Ca)return !1;for(var i=0;i<this.Ca;i++)if(this.hg[i]!=t.hg[i])return !1;return this.Cq==t.Cq},s.prototype.sH=function(t){if(t.Ca!=this.Ca)return !1;for(var i=0;i<this.Ca;i++)if(this.hg[i]!=t.hg[i])return !1;return !0},s.ox=function(t,i){for(var n=[],s=0;s<t.Ca;s++)n[s]=-1;s=0;for(var h=t.Ca;s<h;s++)n[s]=i.Yf(t.kd(s));return n},s.RS=function(t,i){return (t=new s(t)).le(i),t.Mz()},s.SS=function(t,i){for(var n=null,h=0;10>h;h++)!t.hasAttribute(h)&&i.hasAttribute(h)&&(null==n&&(n=new s(t)),n.le(h));return null!=n?n.Mz():t},s.E0=function(t,i){return (t=new s(t)).removeAttribute(i),t.Mz()},s}(t.oa);t.ke=i;var n=function(){function t(){this.map=[];var t=new i;this.add(t),(t=new i).le(1),this.add(t);}return t.bo=function(){return t.lM},t.prototype.rT=function(){return t.Nt},t.prototype.sT=function(){return t.Ot},t.prototype.add=function(i){var n=i.fc();if(null!=t.Nt&&t.Nt.fc()==n&&i.sH(t.Nt))return t.Nt;if(null!=t.Ot&&t.Ot.fc()==n&&i.sH(t.Ot))return t.Ot;var s=null;return void 0!==this.map[n]&&(s=this.map[n]),null==s&&(1==(s=i.BN()).Ca?t.Nt=s:2==s.Ca&&1==s.kd(1)?t.Ot=s:this.map[n]=s),s},t.lM=new t,t}();}(W||(W={}));var nt={feet:9002,kilometers:9036,meters:9001,miles:9035,"nautical-miles":9030,yards:9096},st={acres:109402,ares:109463,hectares:109401,"square-feet":109405,"square-kilometers":109414,"square-meters":109404,"square-miles":109413,"square-yards":109442},ht=new(function(){function t(){this.YN=50,this.Gp=new Map,this.mj=[];}return t.prototype.clear=function(){this.mj.length=0,this.Gp.clear();},t.prototype.delete=function(t){return !!this.Gp.delete(t)&&(this.mj.splice(this.mj.indexOf(t),1),!0)},t.prototype.get=function(t){var i=this.Gp.get(t);if(void 0!==i)return this.mj[0]!==t&&(this.mj.splice(this.mj.indexOf(t),1),this.mj.unshift(t)),i},t.prototype.has=function(t){return this.Gp.has(t)},t.prototype.set=function(t,i){return void 0!==this.get(t)&&this.delete(t),this.mj.unshift(t),this.Gp.set(t,i),this.wN(),this},t.prototype.wN=function(){for(;this.mj.length&&this.mj.length>this.YN;){var t=this.mj.pop();this.Gp.delete(t);}},t}()),rt=((Y={}).convertJSONToGeometry=function(t){return W.bc.pQ(t)},Y.hasM=function(t){return t.hasAttribute(W.Mh.M)},Y.hasZ=function(t){return t.hasAttribute(W.Mh.Z)},Y.getPointX=function(t){return t.Ce()},Y.getPointY=function(t){return t.lf()},Y.getPointZ=function(t){return t.vT()},Y.getPointM=function(t){return t.OS()},Y.getXMin=function(t){return t.Ms()},Y.getYMin=function(t){return t.Os()},Y.getXMax=function(t){return t.Ls()},Y.getYMax=function(t){return t.Ns()},Y.getZExtent=function(t){return t.Qf(W.Mh.Z,0)},Y.getMExtent=function(t){return t.Qf(W.Mh.M,0)},Y.exportPaths=function(t){var i=[],n=t.$(),s=null,h=null,r=t.hasAttribute(W.Mh.Z),e=t.hasAttribute(W.Mh.M);r&&(s=t.Va(W.Mh.Z)),e&&(h=t.Va(W.Mh.M));for(var a=new W.b,o=0;o<n;o++){for(var u=t.ua(o),f=t.Ha(o),c=0,l=0,p=NaN,b=NaN,v=NaN,y=NaN,w=t.Lb(o),d=[],g=u;g<u+f;g++){t.w(g,a),y=v=NaN;var x=[a.x,a.y];r&&(v=s.get(g),x.push(v)),e&&(y=h.get(g),x.push(y)),g==u&&w&&(c=a.x,l=a.y,p=v,b=y),d.push(x);}!w||c==a.x&&l==a.y&&(!r||isNaN(p)&&isNaN(v)||p==v)&&(!e||isNaN(b)&&isNaN(y)||b==y)||d.push(d[0].slice(0)),i.push(d);}return i},Y.exportPathsFlat=function(){},Y.exportPoints=function(t){var i=t.hasAttribute(W.Mh.Z),n=t.hasAttribute(W.Mh.M),s=null,h=null;i&&(s=t.Va(W.Mh.Z)),n&&(h=t.Va(W.Mh.M));for(var r=new W.b,e=t.D(),a=[],o=0;o<e;o++){t.w(o,r);var u=[r.x,r.y];i&&u.push(s.get(o)),n&&u.push(h.get(o)),a.push(u);}return a},Y.exportPointsFlat=function(){},Y);return function(){function t(){}return t.buffer=I,t.clip=o,t.contains=f,t.convexHull=j,t.crosses=c,t.cut=u,t.densify=F,t.difference=M,t.disjoint=w,t.distance=l,t.equals=p,t.extendedSpatialReferenceInfo=a,t.generalize=G,t.geodesicArea=O,t.geodesicBuffer=C,t.geodesicDensify=E,t.geodesicLength=H,t.intersect=z,t.intersects=b,t.isSimple=x,t.nearestCoordinate=q,t.nearestVertex=D,t.nearestVertices=B,t.offset=A,t.overlaps=d,t.planarArea=T,t.planarLength=S,t.relate=g,t.simplify=m,t.symmetricDifference=k,t.touches=v,t.union=N,t.within=y,t.rotate=W.jy.rotate,t.flipHorizontal=W.jy.VR,t.flipVertical=W.jy.WR,t._enableProjection=L,t._project=R,t._getTransformation=J,t._getTransformationBySuitability=K,t}()}var s=n();void 0!==s&&(t.exports=s);})),n=Object.freeze(Object.assign(Object.create(null),i,{default:i}));
  
  export { i as a, n as g };
  