google.maps.__gjsload__('geometry', function(_){var Via=function(a,b){return Math.abs(_.fj(b-a,-180,180))},Wia=function(a,b,c,d,e){if(!d){c=Via(a.lng(),c)/Via(a.lng(),b.lng());if(!e)return e=Math.sin(_.Kf(a.lat())),e=Math.log((1+e)/(1-e))/2,b=Math.sin(_.Kf(b.lat())),_.Lf(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 _.Pl(a.x+c*(b.x-a.x),a.y+c*(b.y-a.y))).lat()}e=_.Kf(a.lat());a=_.Kf(a.lng());d=_.Kf(b.lat());b=_.Kf(b.lng());c=_.Kf(c);return _.fj(_.Lf(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)},Xia=function(a,b){a=new _.Oj(a,!1);b=new _.Oj(b,!1);return a.equals(b)},Yia=function(a,b){const c=[];let d=[0,0],e;for(let f=0,g=_.bj(a);f=B||c=h)&&Wia(w,x,c,d,f)=Math.abs(_.fj(l-n,-180,180))&& (Math.abs(_.fj(l-d,-180,180))<=c||Math.abs(_.fj(n-d,-180,180))<=c)){l=a.lat();n=Math.min(h.lat(),C.lat())-c;var q=Math.max(h.lat(),C.lat())+c;l=l>=n&&l<=q}if(l)return!0;if(180=F||d-c<=N:d+c>=N&&d-c<=F)if(h=Wia(h,C,d,f,b),Math.abs(h-a.lat())>1):h>>1;h=1;l=0;do n=a.charCodeAt(d++)-63-1,h+=n<>1):h>>1;c[g]=new _.Oj(1E-5*e,1E-5*f,!0)}c.length=g;return c}};_.Ia("module$exports$mapsapi$poly$polylineCodec.PolylineCodec.decodePath",BC.decodePath); BC.encodePath=function(a){a instanceof _.Om&&(a=a.getArray());a=(0,_.bl)(a);return Yia(a,function(b){return[Math.round(1E5*b.lat()),Math.round(1E5*b.lng())]})};_.Ia("module$exports$mapsapi$poly$polylineCodec.PolylineCodec.encodePath",BC.encodePath);BC.dC=function(a,b){for(a=0>a?~(a<<1):a<<1;32<=a;)b.push(String.fromCharCode((32|a&31)+63)),a>>=5;b.push(String.fromCharCode(a+63))};var Zia={encoding:BC,spherical:_.Cr,poly:CC};_.oa.google.maps.geometry=Zia;_.sk("geometry",Zia);});