google.maps.__gjsload__('geometry', function(_){var Lla=function(a,b){return Math.abs(_.rl(b-a,-180,180))},Mla=function(a,b,c,d,e){if(!d){c=Lla(a.lng(),c)/Lla(a.lng(),b.lng());if(!e)return e=Math.sin(_.xk(a.lat())),e=Math.log((1+e)/(1-e))/2,b=Math.sin(_.xk(b.lat())),_.yk(2*Math.atan(Math.exp(e+c*(Math.log((1+b)/(1-b))/2-e)))-Math.PI/2);a=e.fromLatLngToPoint(a);b=e.fromLatLngToPoint(b);return e.fromPointToLatLng(new _.Nn(a.x+c*(b.x-a.x),a.y+c*(b.y-a.y))).lat()}e=_.xk(a.lat());a=_.xk(a.lng());d=_.xk(b.lat());b=_.xk(b.lng());c=_.xk(c);return _.rl(_.yk(Math.atan2(Math.sin(e)* Math.cos(d)*Math.sin(c-b)-Math.sin(d)*Math.cos(e)*Math.sin(c-a),Math.cos(e)*Math.cos(d)*Math.sin(a-b))),-90,90)},Nla=function(a,b){a=new _.om(a,!1);b=new _.om(b,!1);return a.equals(b)},Ola=function(a,b,c){a=_.um(a);c=c||1E-9;const d=_.rl(a.lng(),-180,180),e=b instanceof _.Cv,f=!!b.get("geodesic"),g=b.get("latLngs");b=b.get("map");b=!f&&b?b.getProjection():null;for(let r=0,u=g.getLength();r=n&&l<=p}if(l)return!0;if(L-K>180?d+c>=L||d-c<=K:d+c>=K&&d-c<=L)if(h=Mla(h,I,d,f,b),Math.abs(h-a.lat())180?c>=D||c=h)&&Mla(w,x,c,d,f)Math.PI*b)throw _.Ul("Invalid path passed to computeArea(): Circle must not cover more than 100% of the sphere.");return 2*Math.PI*b**2*(1-Math.cos(a.getRadius()/b))}if(a instanceof _.un){if(b<0)throw _.Ul("Invalid radiusOfSphere passed to computeArea(): radiusOfSphere must be non-negative.");if(a.ni.lo>a.ni.hi)throw _.Ul("Invalid path passed to computeArea(): the southern LatLng of a LatLngBounds cannot be more north than the northern LatLng.");let c=2*Math.PI*b**2*(1-Math.cos((a.ni.lo- 90)*Math.PI/180));c-=2*Math.PI*b**2*(1-Math.cos((a.ni.hi-90)*Math.PI/180));return c*Math.abs(a.Mh.hi-a.Mh.lo)/360}return Math.abs(Tla(a,b))};vE.computeLength=function(a,b){b=b||6378137;let c=0;a instanceof _.Ho&&(a=a.getArray());for(let d=0,e=a.length-1;dMath.PI/2)g=e*c-Math.sqrt(f),g=Math.atan2(h,g/(d*d+e*e));if(g<-Math.PI/2||g>Math.PI/2)return null;a=_.rm(a)-Math.atan2(b,d*Math.cos(g)-e*Math.sin(g));return new _.om(_.yk(g),_.yk(a))}; vE.computeOffset=function(a,b,c,d){a=_.um(a);b/=d||6378137;c=_.xk(c);var e=_.qm(a);a=_.rm(a);d=Math.cos(b);b=Math.sin(b);const f=Math.sin(e);e=Math.cos(e);const g=d*f+b*e*Math.cos(c);return new _.om(_.yk(Math.asin(g)),_.yk(a+Math.atan2(b*e*Math.sin(c),d-f*g)))};vE.computeHeading=function(a,b){a=_.um(a);b=_.um(b);const c=_.qm(a),d=_.rm(a);a=_.qm(b);b=_.rm(b)-d;return _.rl(_.yk(Math.atan2(Math.sin(b)*Math.cos(a),Math.cos(c)*Math.sin(a)-Math.sin(c)*Math.cos(a)*Math.cos(b))),-180,180)};var Vla={encoding:_.Zv,spherical:vE,poly:uE};_.na.google.maps.geometry=Vla;_.Uk("geometry",Vla);});