@performant-software/geospatial 3.0.1-beta.0 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/dist/index.cjs15.js +1 -1
  2. package/dist/index.cjs16.js +1 -1
  3. package/dist/index.cjs19.js +1 -1
  4. package/dist/index.cjs21.js +1 -1
  5. package/dist/index.cjs22.js +1 -1
  6. package/dist/index.cjs244.js +1 -1
  7. package/dist/index.cjs246.js +1 -1
  8. package/dist/index.cjs250.js +1 -1
  9. package/dist/index.cjs251.js +1 -1
  10. package/dist/index.cjs254.js +1 -1
  11. package/dist/index.cjs257.js +1 -1
  12. package/dist/index.cjs257.js.map +1 -1
  13. package/dist/index.cjs258.js +1 -1
  14. package/dist/index.cjs258.js.map +1 -1
  15. package/dist/index.cjs259.js +1 -1
  16. package/dist/index.cjs259.js.map +1 -1
  17. package/dist/index.cjs260.js +1 -1
  18. package/dist/index.cjs260.js.map +1 -1
  19. package/dist/index.cjs52.js +1 -1
  20. package/dist/index.cjs61.js +1 -1
  21. package/dist/index.cjs62.js +1 -1
  22. package/dist/index.cjs65.js +1 -1
  23. package/dist/index.cjs65.js.map +1 -1
  24. package/dist/index.cjs66.js +1 -1
  25. package/dist/index.cjs66.js.map +1 -1
  26. package/dist/index.cjs67.js +1 -1
  27. package/dist/index.cjs67.js.map +1 -1
  28. package/dist/index.cjs68.js +1 -1
  29. package/dist/index.cjs68.js.map +1 -1
  30. package/dist/index.cjs69.js +1 -1
  31. package/dist/index.cjs69.js.map +1 -1
  32. package/dist/index.cjs70.js +1 -1
  33. package/dist/index.cjs70.js.map +1 -1
  34. package/dist/index.cjs71.js +1 -1
  35. package/dist/index.cjs71.js.map +1 -1
  36. package/dist/index.cjs72.js +1 -1
  37. package/dist/index.cjs72.js.map +1 -1
  38. package/dist/index.cjs73.js +1 -1
  39. package/dist/index.cjs73.js.map +1 -1
  40. package/dist/index.cjs74.js +1 -1
  41. package/dist/index.cjs74.js.map +1 -1
  42. package/dist/index.cjs75.js +1 -1
  43. package/dist/index.cjs75.js.map +1 -1
  44. package/dist/index.cjs76.js +1 -1
  45. package/dist/index.cjs76.js.map +1 -1
  46. package/dist/index.cjs77.js +1 -1
  47. package/dist/index.cjs77.js.map +1 -1
  48. package/dist/index.cjs78.js +1 -1
  49. package/dist/index.cjs78.js.map +1 -1
  50. package/dist/index.cjs80.js +1 -1
  51. package/dist/index.cjs81.js +1 -1
  52. package/dist/index.es15.js +5 -5
  53. package/dist/index.es16.js +1 -1
  54. package/dist/index.es19.js +1 -1
  55. package/dist/index.es21.js +2 -2
  56. package/dist/index.es22.js +2 -2
  57. package/dist/index.es244.js +1 -1
  58. package/dist/index.es246.js +1 -1
  59. package/dist/index.es250.js +1 -1
  60. package/dist/index.es251.js +2 -2
  61. package/dist/index.es254.js +1 -1
  62. package/dist/index.es257.js +2 -70
  63. package/dist/index.es257.js.map +1 -1
  64. package/dist/index.es258.js +15 -4
  65. package/dist/index.es258.js.map +1 -1
  66. package/dist/index.es259.js +4 -15
  67. package/dist/index.es259.js.map +1 -1
  68. package/dist/index.es260.js +70 -2
  69. package/dist/index.es260.js.map +1 -1
  70. package/dist/index.es52.js +5 -5
  71. package/dist/index.es61.js +1 -1
  72. package/dist/index.es62.js +1 -1
  73. package/dist/index.es65.js +2 -107
  74. package/dist/index.es65.js.map +1 -1
  75. package/dist/index.es66.js +107 -10
  76. package/dist/index.es66.js.map +1 -1
  77. package/dist/index.es67.js +10 -2
  78. package/dist/index.es67.js.map +1 -1
  79. package/dist/index.es68.js +2 -55
  80. package/dist/index.es68.js.map +1 -1
  81. package/dist/index.es69.js +4 -48
  82. package/dist/index.es69.js.map +1 -1
  83. package/dist/index.es70.js +55 -37
  84. package/dist/index.es70.js.map +1 -1
  85. package/dist/index.es71.js +47 -11
  86. package/dist/index.es71.js.map +1 -1
  87. package/dist/index.es72.js +38 -14
  88. package/dist/index.es72.js.map +1 -1
  89. package/dist/index.es73.js +11 -29
  90. package/dist/index.es73.js.map +1 -1
  91. package/dist/index.es74.js +10 -10
  92. package/dist/index.es74.js.map +1 -1
  93. package/dist/index.es75.js +29 -13
  94. package/dist/index.es75.js.map +1 -1
  95. package/dist/index.es76.js +12 -10
  96. package/dist/index.es76.js.map +1 -1
  97. package/dist/index.es77.js +14 -4
  98. package/dist/index.es77.js.map +1 -1
  99. package/dist/index.es78.js +11 -2
  100. package/dist/index.es78.js.map +1 -1
  101. package/dist/index.es80.js +1 -1
  102. package/dist/index.es81.js +1 -1
  103. package/dist/style.css +1 -1
  104. package/package.json +1 -1
  105. package/build/index.js +0 -2
  106. package/build/index.js.map +0 -1
  107. package/build/main.css +0 -127
  108. package/types/components/LocationMarker.js.flow +0 -82
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs65.js");require("./index.cjs66.js");function c(t){return a.GenIcon({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"m14.12 10.163 1.715.858c.22.11.22.424 0 .534L8.267 15.34a.598.598 0 0 1-.534 0L.165 11.555a.299.299 0 0 1 0-.534l1.716-.858 5.317 2.659c.505.252 1.1.252 1.604 0l5.317-2.66zM7.733.063a.598.598 0 0 1 .534 0l7.568 3.784a.3.3 0 0 1 0 .535L8.267 8.165a.598.598 0 0 1-.534 0L.165 4.382a.299.299 0 0 1 0-.535L7.733.063z"},child:[]},{tag:"path",attr:{d:"m14.12 6.576 1.715.858c.22.11.22.424 0 .534l-7.568 3.784a.598.598 0 0 1-.534 0L.165 7.968a.299.299 0 0 1 0-.534l1.716-.858 5.317 2.659c.505.252 1.1.252 1.604 0l5.317-2.659z"},child:[]}]})(t)}exports.BsStack=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs66.js");require("./index.cjs67.js");function c(t){return a.GenIcon({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"m14.12 10.163 1.715.858c.22.11.22.424 0 .534L8.267 15.34a.598.598 0 0 1-.534 0L.165 11.555a.299.299 0 0 1 0-.534l1.716-.858 5.317 2.659c.505.252 1.1.252 1.604 0l5.317-2.66zM7.733.063a.598.598 0 0 1 .534 0l7.568 3.784a.3.3 0 0 1 0 .535L8.267 8.165a.598.598 0 0 1-.534 0L.165 4.382a.299.299 0 0 1 0-.535L7.733.063z"},child:[]},{tag:"path",attr:{d:"m14.12 6.576 1.715.858c.22.11.22.424 0 .534l-7.568 3.784a.598.598 0 0 1-.534 0L.165 7.968a.299.299 0 0 1 0-.534l1.716-.858 5.317 2.659c.505.252 1.1.252 1.604 0l5.317-2.659z"},child:[]}]})(t)}exports.BsStack=c;
2
2
  //# sourceMappingURL=index.cjs21.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs65.js");require("./index.cjs66.js");function r(e){return t.GenIcon({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M416 128 192 384l-96-96"},child:[]}]})(e)}exports.IoCheckmarkOutline=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs66.js");require("./index.cjs67.js");function r(e){return t.GenIcon({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M416 128 192 384l-96-96"},child:[]}]})(e)}exports.IoCheckmarkOutline=r;
2
2
  //# sourceMappingURL=index.cjs22.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs260.js");function r(){var n=[],t;return{point:function(i,u){t.push([i,u])},lineStart:function(){n.push(t=[])},lineEnd:e,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var i=n;return n=[],t=null,i}}}module.exports=r;
1
+ "use strict";const e=require("./index.cjs257.js");function r(){var n=[],t;return{point:function(i,u){t.push([i,u])},lineStart:function(){n.push(t=[])},lineEnd:e,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var i=n;return n=[],t=null,i}}}module.exports=r;
2
2
  //# sourceMappingURL=index.cjs244.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const A=require("./index.cjs258.js");function d(h,v,f,o){this.x=h,this.z=v,this.o=f,this.e=o,this.v=!1,this.n=this.p=null}function B(h,v,f,o,n){var x=[],s=[],l,z;if(h.forEach(function(w){if(!((g=w.length-1)<=0)){var g,u=w[0],q=w[g],t;if(A(u,q)){for(n.lineStart(),l=0;l<g;++l)n.point((u=w[l])[0],u[1]);n.lineEnd();return}x.push(t=new d(u,w,null,!0)),s.push(t.o=new d(u,null,t,!1)),x.push(t=new d(q,w,null,!1)),s.push(t.o=new d(q,null,t,!0))}}),!!x.length){for(s.sort(v),P(x),P(s),l=0,z=s.length;l<z;++l)s[l].e=f=!f;for(var k=x[0],p,E;;){for(var i=k,e=!0;i.v;)if((i=i.n)===k)return;p=i.z,n.lineStart();do{if(i.v=i.o.v=!0,i.e){if(e)for(l=0,z=p.length;l<z;++l)n.point((E=p[l])[0],E[1]);else o(i.x,i.n.x,1,n);i=i.n}else{if(e)for(p=i.p.z,l=p.length-1;l>=0;--l)n.point((E=p[l])[0],E[1]);else o(i.x,i.p.x,-1,n);i=i.p}i=i.o,p=i.z,e=!e}while(!i.v);n.lineEnd()}}}function P(h){if(v=h.length){for(var v,f=0,o=h[0],n;++f<v;)o.n=n=h[f],n.p=o,o=n;o.n=n=h[0],n.p=o}}module.exports=B;
1
+ "use strict";const A=require("./index.cjs259.js");function d(h,v,f,o){this.x=h,this.z=v,this.o=f,this.e=o,this.v=!1,this.n=this.p=null}function B(h,v,f,o,n){var x=[],s=[],l,z;if(h.forEach(function(w){if(!((g=w.length-1)<=0)){var g,u=w[0],q=w[g],t;if(A(u,q)){for(n.lineStart(),l=0;l<g;++l)n.point((u=w[l])[0],u[1]);n.lineEnd();return}x.push(t=new d(u,w,null,!0)),s.push(t.o=new d(u,null,t,!1)),x.push(t=new d(q,w,null,!1)),s.push(t.o=new d(q,null,t,!0))}}),!!x.length){for(s.sort(v),P(x),P(s),l=0,z=s.length;l<z;++l)s[l].e=f=!f;for(var k=x[0],p,E;;){for(var i=k,e=!0;i.v;)if((i=i.n)===k)return;p=i.z,n.lineStart();do{if(i.v=i.o.v=!0,i.e){if(e)for(l=0,z=p.length;l<z;++l)n.point((E=p[l])[0],E[1]);else o(i.x,i.n.x,1,n);i=i.n}else{if(e)for(p=i.p.z,l=p.length-1;l>=0;--l)n.point((E=p[l])[0],E[1]);else o(i.x,i.p.x,-1,n);i=i.p}i=i.o,p=i.z,e=!e}while(!i.v);n.lineEnd()}}}function P(h){if(v=h.length){for(var v,f=0,o=h[0],n;++f<v;)o.n=n=h[f],n.p=o,o=n;o.n=n=h[0],n.p=o}}module.exports=B;
2
2
  //# sourceMappingURL=index.cjs246.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const s=require("./index.cjs257.js"),i=require("./index.cjs242.js"),N=s(function(){return!0},P,A,[-i.pi,-i.halfPi]);function P(p){var l=NaN,t=NaN,n=NaN,o;return{lineStart:function(){p.lineStart(),o=1},point:function(c,e){var u=c>0?i.pi:-i.pi,f=i.abs(c-l);i.abs(f-i.pi)<i.epsilon?(p.point(l,t=(t+e)/2>0?i.halfPi:-i.halfPi),p.point(n,t),p.lineEnd(),p.lineStart(),p.point(u,t),p.point(c,t),o=0):n!==u&&f>=i.pi&&(i.abs(l-n)<i.epsilon&&(l-=n*i.epsilon),i.abs(c-u)<i.epsilon&&(c-=u*i.epsilon),t=v(l,t,c,e),p.point(n,t),p.lineEnd(),p.lineStart(),p.point(u,t),o=0),p.point(l=c,t=e),n=u},lineEnd:function(){p.lineEnd(),l=t=NaN},clean:function(){return 2-o}}}function v(p,l,t,n){var o,c,e=i.sin(p-t);return i.abs(e)>i.epsilon?i.atan((i.sin(l)*(c=i.cos(n))*i.sin(t)-i.sin(n)*(o=i.cos(l))*i.sin(p))/(o*c*e)):(l+n)/2}function A(p,l,t,n){var o;if(p==null)o=t*i.halfPi,n.point(-i.pi,o),n.point(0,o),n.point(i.pi,o),n.point(i.pi,0),n.point(i.pi,-o),n.point(0,-o),n.point(-i.pi,-o),n.point(-i.pi,0),n.point(-i.pi,o);else if(i.abs(p[0]-l[0])>i.epsilon){var c=p[0]<l[0]?i.pi:-i.pi;o=t*c/2,n.point(-c,o),n.point(0,o),n.point(c,o)}else n.point(l[0],l[1])}module.exports=N;
1
+ "use strict";const s=require("./index.cjs260.js"),i=require("./index.cjs242.js"),N=s(function(){return!0},P,A,[-i.pi,-i.halfPi]);function P(p){var l=NaN,t=NaN,n=NaN,o;return{lineStart:function(){p.lineStart(),o=1},point:function(c,e){var u=c>0?i.pi:-i.pi,f=i.abs(c-l);i.abs(f-i.pi)<i.epsilon?(p.point(l,t=(t+e)/2>0?i.halfPi:-i.halfPi),p.point(n,t),p.lineEnd(),p.lineStart(),p.point(u,t),p.point(c,t),o=0):n!==u&&f>=i.pi&&(i.abs(l-n)<i.epsilon&&(l-=n*i.epsilon),i.abs(c-u)<i.epsilon&&(c-=u*i.epsilon),t=v(l,t,c,e),p.point(n,t),p.lineEnd(),p.lineStart(),p.point(u,t),o=0),p.point(l=c,t=e),n=u},lineEnd:function(){p.lineEnd(),l=t=NaN},clean:function(){return 2-o}}}function v(p,l,t,n){var o,c,e=i.sin(p-t);return i.abs(e)>i.epsilon?i.atan((i.sin(l)*(c=i.cos(n))*i.sin(t)-i.sin(n)*(o=i.cos(l))*i.sin(p))/(o*c*e)):(l+n)/2}function A(p,l,t,n){var o;if(p==null)o=t*i.halfPi,n.point(-i.pi,o),n.point(0,o),n.point(i.pi,o),n.point(i.pi,0),n.point(i.pi,-o),n.point(0,-o),n.point(-i.pi,-o),n.point(-i.pi,0),n.point(-i.pi,o);else if(i.abs(p[0]-l[0])>i.epsilon){var c=p[0]<l[0]?i.pi:-i.pi;o=t*c/2,n.point(-c,o),n.point(0,o),n.point(c,o)}else n.point(l[0],l[1])}module.exports=N;
2
2
  //# sourceMappingURL=index.cjs250.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("./index.cjs241.js"),Q=require("./index.cjs240.js"),e=require("./index.cjs242.js"),j=require("./index.cjs258.js"),T=require("./index.cjs257.js");function U(d,G){var D=e.cos(d),x=D>0,J=e.abs(D)>e.epsilon;function K(n,i,o,r){Q.circleStream(r,d,G,o,n,i)}function L(n,i){return e.cos(n)*e.cos(i)>D}function M(n){var i,o,r,C,u;return{lineStart:function(){C=r=!1,u=1},point:function(s,v){var c=[s,v],a,l=L(s,v),z=x?l?0:k(s,v):l?k(s+(s<0?e.pi:-e.pi),v):0;if(!i&&(C=r=l)&&n.lineStart(),l!==r&&(a=h(i,c),(!a||j(i,a)||j(c,a))&&(c[0]+=e.epsilon,c[1]+=e.epsilon,l=L(c[0],c[1]))),l!==r)u=0,l?(n.lineStart(),a=h(c,i),n.point(a[0],a[1])):(a=h(i,c),n.point(a[0],a[1]),n.lineEnd()),i=a;else if(J&&i&&x^l){var p;!(z&o)&&(p=h(c,i,!0))&&(u=0,x?(n.lineStart(),n.point(p[0][0],p[0][1]),n.point(p[1][0],p[1][1]),n.lineEnd()):(n.point(p[1][0],p[1][1]),n.lineEnd(),n.lineStart(),n.point(p[0][0],p[0][1])))}l&&(!i||!j(i,c))&&n.point(c[0],c[1]),i=c,r=l,o=z},lineEnd:function(){r&&n.lineEnd(),i=null},clean:function(){return u|(C&&r)<<1}}}function h(n,i,o){var r=t.cartesian(n),C=t.cartesian(i),u=[1,0,0],s=t.cartesianCross(r,C),v=t.cartesianDot(s,s),c=s[0],a=v-c*c;if(!a)return!o&&n;var l=D*v/a,z=-D*c/a,p=t.cartesianCross(u,s),S=t.cartesianScale(u,l),N=t.cartesianScale(s,z);t.cartesianAddInPlace(S,N);var I=p,B=t.cartesianDot(S,I),R=t.cartesianDot(I,I),w=B*B-R*(t.cartesianDot(S,S)-1);if(!(w<0)){var y=e.sqrt(w),f=t.cartesianScale(I,(-B-y)/R);if(t.cartesianAddInPlace(f,S),f=t.spherical(f),!o)return f;var q=n[0],P=i[0],E=n[1],A=i[1],H;P<q&&(H=q,q=P,P=H);var b=P-q,g=e.abs(b-e.pi)<e.epsilon,O=g||b<e.epsilon;if(!g&&A<E&&(H=E,E=A,A=H),O?g?E+A>0^f[1]<(e.abs(f[0]-q)<e.epsilon?E:A):E<=f[1]&&f[1]<=A:b>e.pi^(q<=f[0]&&f[0]<=P)){var F=t.cartesianScale(I,(-B+y)/R);return t.cartesianAddInPlace(F,S),[f,t.spherical(F)]}}}function k(n,i){var o=x?d:e.pi-d,r=0;return n<-o?r|=1:n>o&&(r|=2),i<-o?r|=4:i>o&&(r|=8),r}return T(L,M,K,x?[0,-d]:[-e.pi,d-e.pi])}module.exports=U;
1
+ "use strict";const t=require("./index.cjs241.js"),Q=require("./index.cjs240.js"),e=require("./index.cjs242.js"),j=require("./index.cjs259.js"),T=require("./index.cjs260.js");function U(d,G){var D=e.cos(d),x=D>0,J=e.abs(D)>e.epsilon;function K(n,i,o,r){Q.circleStream(r,d,G,o,n,i)}function L(n,i){return e.cos(n)*e.cos(i)>D}function M(n){var i,o,r,C,u;return{lineStart:function(){C=r=!1,u=1},point:function(s,v){var c=[s,v],a,l=L(s,v),z=x?l?0:k(s,v):l?k(s+(s<0?e.pi:-e.pi),v):0;if(!i&&(C=r=l)&&n.lineStart(),l!==r&&(a=h(i,c),(!a||j(i,a)||j(c,a))&&(c[0]+=e.epsilon,c[1]+=e.epsilon,l=L(c[0],c[1]))),l!==r)u=0,l?(n.lineStart(),a=h(c,i),n.point(a[0],a[1])):(a=h(i,c),n.point(a[0],a[1]),n.lineEnd()),i=a;else if(J&&i&&x^l){var p;!(z&o)&&(p=h(c,i,!0))&&(u=0,x?(n.lineStart(),n.point(p[0][0],p[0][1]),n.point(p[1][0],p[1][1]),n.lineEnd()):(n.point(p[1][0],p[1][1]),n.lineEnd(),n.lineStart(),n.point(p[0][0],p[0][1])))}l&&(!i||!j(i,c))&&n.point(c[0],c[1]),i=c,r=l,o=z},lineEnd:function(){r&&n.lineEnd(),i=null},clean:function(){return u|(C&&r)<<1}}}function h(n,i,o){var r=t.cartesian(n),C=t.cartesian(i),u=[1,0,0],s=t.cartesianCross(r,C),v=t.cartesianDot(s,s),c=s[0],a=v-c*c;if(!a)return!o&&n;var l=D*v/a,z=-D*c/a,p=t.cartesianCross(u,s),S=t.cartesianScale(u,l),N=t.cartesianScale(s,z);t.cartesianAddInPlace(S,N);var I=p,B=t.cartesianDot(S,I),R=t.cartesianDot(I,I),w=B*B-R*(t.cartesianDot(S,S)-1);if(!(w<0)){var y=e.sqrt(w),f=t.cartesianScale(I,(-B-y)/R);if(t.cartesianAddInPlace(f,S),f=t.spherical(f),!o)return f;var q=n[0],P=i[0],E=n[1],A=i[1],H;P<q&&(H=q,q=P,P=H);var b=P-q,g=e.abs(b-e.pi)<e.epsilon,O=g||b<e.epsilon;if(!g&&A<E&&(H=E,E=A,A=H),O?g?E+A>0^f[1]<(e.abs(f[0]-q)<e.epsilon?E:A):E<=f[1]&&f[1]<=A:b>e.pi^(q<=f[0]&&f[0]<=P)){var F=t.cartesianScale(I,(-B+y)/R);return t.cartesianAddInPlace(F,S),[f,t.spherical(F)]}}}function k(n,i){var o=x?d:e.pi-d,r=0;return n<-o?r|=1:n>o&&(r|=2),i<-o?r|=4:i>o&&(r|=8),r}return T(L,M,K,x?[0,-d]:[-e.pi,d-e.pi])}module.exports=U;
2
2
  //# sourceMappingURL=index.cjs251.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("./index.cjs256.js"),s=require("./index.cjs259.js");function f(t,l,u){var e=l[1][0]-l[0][0],n=l[1][1]-l[0][1],a=t.clipExtent&&t.clipExtent();t.scale(150).translate([0,0]),a!=null&&t.clipExtent(null),b(u,t.stream(s));var i=s.result(),r=Math.min(e/(i[1][0]-i[0][0]),n/(i[1][1]-i[0][1])),c=+l[0][0]+(e-r*(i[1][0]+i[0][0]))/2,E=+l[0][1]+(n-r*(i[1][1]+i[0][1]))/2;return a!=null&&t.clipExtent(a),t.scale(r*150).translate([c,E])}function m(t,l,u){return f(t,[[0,0],l],u)}exports.fitExtent=f;exports.fitSize=m;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("./index.cjs256.js"),s=require("./index.cjs258.js");function f(t,l,u){var e=l[1][0]-l[0][0],n=l[1][1]-l[0][1],a=t.clipExtent&&t.clipExtent();t.scale(150).translate([0,0]),a!=null&&t.clipExtent(null),b(u,t.stream(s));var i=s.result(),r=Math.min(e/(i[1][0]-i[0][0]),n/(i[1][1]-i[0][1])),c=+l[0][0]+(e-r*(i[1][0]+i[0][0]))/2,E=+l[0][1]+(n-r*(i[1][1]+i[0][1]))/2;return a!=null&&t.clipExtent(a),t.scale(r*150).translate([c,E])}function m(t,l,u){return f(t,[[0,0],l],u)}exports.fitExtent=f;exports.fitSize=m;
2
2
  //# sourceMappingURL=index.cjs254.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const w=require("./index.cjs244.js"),z=require("./index.cjs246.js"),g=require("./index.cjs242.js"),A=require("./index.cjs199.js");require("./index.cjs198.js");const D=require("./index.cjs247.js");function F(r,u,d,s){return function(c,n){var h=u(n),C=c.invert(s[0],s[1]),v=w(),a=u(v),l=!1,S,f,p,o={point:y,lineStart:q,lineEnd:m,polygonStart:function(){o.point=P,o.lineStart=$,o.lineEnd=j,f=[],S=[]},polygonEnd:function(){o.point=y,o.lineStart=q,o.lineEnd=m,f=D(f);var e=A(S,C);f.length?(l||(n.polygonStart(),l=!0),z(f,H,e,d,n)):e&&(l||(n.polygonStart(),l=!0),n.lineStart(),d(null,null,1,n),n.lineEnd()),l&&(n.polygonEnd(),l=!1),f=S=null},sphere:function(){n.polygonStart(),n.lineStart(),d(null,null,1,n),n.lineEnd(),n.polygonEnd()}};function y(e,t){var i=c(e,t);r(e=i[0],t=i[1])&&n.point(e,t)}function R(e,t){var i=c(e,t);h.point(i[0],i[1])}function q(){o.point=R,h.lineStart()}function m(){o.point=y,h.lineEnd()}function P(e,t){p.push([e,t]);var i=c(e,t);a.point(i[0],i[1])}function $(){a.lineStart(),p=[]}function j(){P(p[0][0],p[0][1]),a.lineEnd();var e=a.clean(),t=v.result(),i,x=t.length,I,E,B;if(p.pop(),S.push(p),p=null,!!x){if(e&1){if(E=t[0],(I=E.length-1)>0){for(l||(n.polygonStart(),l=!0),n.lineStart(),i=0;i<I;++i)n.point((B=E[i])[0],B[1]);n.lineEnd()}return}x>1&&e&2&&t.push(t.pop().concat(t.shift())),f.push(t.filter(G))}}return o}}function G(r){return r.length>1}function H(r,u){return((r=r.x)[0]<0?r[1]-g.halfPi-g.epsilon:g.halfPi-r[1])-((u=u.x)[0]<0?u[1]-g.halfPi-g.epsilon:g.halfPi-u[1])}module.exports=F;
1
+ "use strict";function o(){}module.exports=o;
2
2
  //# sourceMappingURL=index.cjs257.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs257.js","sources":["../../../node_modules/d3-geo/src/clip/index.js"],"sourcesContent":["import clipBuffer from \"./buffer\";\nimport clipPolygon from \"./polygon\";\nimport {epsilon, halfPi} from \"../math\";\nimport polygonContains from \"../polygonContains\";\nimport {merge} from \"d3-array\";\n\nexport default function(pointVisible, clipLine, interpolate, start) {\n return function(rotate, sink) {\n var line = clipLine(sink),\n rotatedStart = rotate.invert(start[0], start[1]),\n ringBuffer = clipBuffer(),\n ringSink = clipLine(ringBuffer),\n polygonStarted = false,\n polygon,\n segments,\n ring;\n\n var clip = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: function() {\n clip.point = pointRing;\n clip.lineStart = ringStart;\n clip.lineEnd = ringEnd;\n segments = [];\n polygon = [];\n },\n polygonEnd: function() {\n clip.point = point;\n clip.lineStart = lineStart;\n clip.lineEnd = lineEnd;\n segments = merge(segments);\n var startInside = polygonContains(polygon, rotatedStart);\n if (segments.length) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n clipPolygon(segments, compareIntersection, startInside, interpolate, sink);\n } else if (startInside) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n }\n if (polygonStarted) sink.polygonEnd(), polygonStarted = false;\n segments = polygon = null;\n },\n sphere: function() {\n sink.polygonStart();\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n sink.polygonEnd();\n }\n };\n\n function point(lambda, phi) {\n var point = rotate(lambda, phi);\n if (pointVisible(lambda = point[0], phi = point[1])) sink.point(lambda, phi);\n }\n\n function pointLine(lambda, phi) {\n var point = rotate(lambda, phi);\n line.point(point[0], point[1]);\n }\n\n function lineStart() {\n clip.point = pointLine;\n line.lineStart();\n }\n\n function lineEnd() {\n clip.point = point;\n line.lineEnd();\n }\n\n function pointRing(lambda, phi) {\n ring.push([lambda, phi]);\n var point = rotate(lambda, phi);\n ringSink.point(point[0], point[1]);\n }\n\n function ringStart() {\n ringSink.lineStart();\n ring = [];\n }\n\n function ringEnd() {\n pointRing(ring[0][0], ring[0][1]);\n ringSink.lineEnd();\n\n var clean = ringSink.clean(),\n ringSegments = ringBuffer.result(),\n i, n = ringSegments.length, m,\n segment,\n point;\n\n ring.pop();\n polygon.push(ring);\n ring = null;\n\n if (!n) return;\n\n // No intersections.\n if (clean & 1) {\n segment = ringSegments[0];\n if ((m = segment.length - 1) > 0) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n for (i = 0; i < m; ++i) sink.point((point = segment[i])[0], point[1]);\n sink.lineEnd();\n }\n return;\n }\n\n // Rejoin connected segments.\n // TODO reuse ringBuffer.rejoin()?\n if (n > 1 && clean & 2) ringSegments.push(ringSegments.pop().concat(ringSegments.shift()));\n\n segments.push(ringSegments.filter(validSegment));\n }\n\n return clip;\n };\n}\n\nfunction validSegment(segment) {\n return segment.length > 1;\n}\n\n// Intersections are sorted along the clip edge. For both antimeridian cutting\n// and circle clipping, the same comparison is used.\nfunction compareIntersection(a, b) {\n return ((a = a.x)[0] < 0 ? a[1] - halfPi - epsilon : halfPi - a[1])\n - ((b = b.x)[0] < 0 ? b[1] - halfPi - epsilon : halfPi - b[1]);\n}\n"],"names":["clip","pointVisible","clipLine","interpolate","start","rotate","sink","line","rotatedStart","ringBuffer","clipBuffer","ringSink","polygonStarted","polygon","segments","ring","point","lineStart","lineEnd","pointRing","ringStart","ringEnd","merge","startInside","polygonContains","clipPolygon","compareIntersection","lambda","phi","pointLine","clean","ringSegments","n","m","segment","validSegment","a","b","halfPi","epsilon"],"mappings":"iNAMwB,SAAAA,EAAAC,EAAcC,EAAUC,EAAaC,EAAO,CAC3D,OAAA,SAASC,EAAQC,EAAM,CACxB,IAAAC,EAAOL,EAASI,CAAI,EACpBE,EAAeH,EAAO,OAAOD,EAAM,CAAC,EAAGA,EAAM,CAAC,CAAC,EAC/CK,EAAaC,EAAW,EACxBC,EAAWT,EAASO,CAAU,EAC9BG,EAAiB,GACjBC,EACAC,EACAC,EAEAf,EAAO,CACT,MAAAgB,EACA,UAAAC,EACA,QAAAC,EACA,aAAc,UAAW,CACvBlB,EAAK,MAAQmB,EACbnB,EAAK,UAAYoB,EACjBpB,EAAK,QAAUqB,EACfP,EAAW,CAAA,EACXD,EAAU,CAAA,CACZ,EACA,WAAY,UAAW,CACrBb,EAAK,MAAQgB,EACbhB,EAAK,UAAYiB,EACjBjB,EAAK,QAAUkB,EACfJ,EAAWQ,EAAMR,CAAQ,EACrB,IAAAS,EAAcC,EAAgBX,EAASL,CAAY,EACnDM,EAAS,QACNF,IAAqBN,EAAA,aAAA,EAAgBM,EAAiB,IAC3Da,EAAYX,EAAUY,EAAqBH,EAAapB,EAAaG,CAAI,GAChEiB,IACJX,IAAqBN,EA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EAAID,EAAa,OAAQE,EAC5BC,EACAlB,EAMJ,GAJAD,EAAK,IAAI,EACTF,EAAQ,KAAKE,CAAI,EACVA,EAAA,KAEH,EAACiB,EAGL,IAAIF,EAAQ,EAAG,CAEb,GADAI,EAAUH,EAAa,CAAC,GACnBE,EAAIC,EAAQ,OAAS,GAAK,EAAG,CAGhC,IAFKtB,IAAqBN,EAAA,aAAA,EAAgBM,EAAiB,IAC3DN,EAAK,UAAU,EACV,EAAI,EAAG,EAAI2B,EAAG,EAAE,EAAQ3B,EAAA,OAAOU,EAAQkB,EAAQ,CAAC,GAAG,CAAC,EAAGlB,EAAM,CAAC,CAAC,EACpEV,EAAK,QAAQ,CACf,CACA,MACF,CAII0B,EAAI,GAAKF,EAAQ,GAAgBC,EAAA,KAAKA,EAAa,IAAI,EAAE,OAAOA,EAAa,MAAO,CAAA,CAAC,EAEzFjB,EAAS,KAAKiB,EAAa,OAAOI,CAAY,CAAC,EACjD,CAEO,OAAAnC,CAAA,CAEX,CAEA,SAASmC,EAAaD,EAAS,CAC7B,OAAOA,EAAQ,OAAS,CAC1B,CAIA,SAASR,EAAoBU,EAAGC,EAAG,CACjC,QAASD,EAAIA,EAAE,GAAG,CAAC,EAAI,EAAIA,EAAE,CAAC,EAAIE,EAAA,OAASC,EAAU,QAAAD,EAAA,OAASF,EAAE,CAAC,KACxDC,EAAIA,EAAE,GAAG,CAAC,EAAI,EAAIA,EAAE,CAAC,EAAIC,EAAAA,OAASC,EAAAA,QAAUD,EAAAA,OAASD,EAAE,CAAC,EACnE","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs257.js","sources":["../../../node_modules/d3-geo/src/noop.js"],"sourcesContent":["export default function noop() {}\n"],"names":["noop"],"mappings":"aAAA,SAAwBA,GAAO,CAAC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const s=require("./index.cjs242.js");function n(t,e){return s.abs(t[0]-e[0])<s.epsilon&&s.abs(t[1]-e[1])<s.epsilon}module.exports=n;
1
+ "use strict";const r=require("./index.cjs257.js");var t=1/0,e=t,i=-t,u=i,f={point:s,lineStart:r,lineEnd:r,polygonStart:r,polygonEnd:r,result:function(){var n=[[t,e],[i,u]];return i=u=-(e=t=1/0),n}};function s(n,o){n<t&&(t=n),n>i&&(i=n),o<e&&(e=o),o>u&&(u=o)}module.exports=f;
2
2
  //# sourceMappingURL=index.cjs258.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs258.js","sources":["../../../node_modules/d3-geo/src/pointEqual.js"],"sourcesContent":["import {abs, epsilon} from \"./math\";\n\nexport default function(a, b) {\n return abs(a[0] - b[0]) < epsilon && abs(a[1] - b[1]) < epsilon;\n}\n"],"names":["pointEqual","a","b","abs","epsilon"],"mappings":"kDAEA,SAAAA,EAAwBC,EAAGC,EAAG,CAC5B,OAAOC,EAAAA,IAAIF,EAAE,CAAC,EAAIC,EAAE,CAAC,CAAC,EAAIE,EAAAA,SAAWD,EAAAA,IAAIF,EAAE,CAAC,EAAIC,EAAE,CAAC,CAAC,EAAIE,SAC1D","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs258.js","sources":["../../../node_modules/d3-geo/src/path/bounds.js"],"sourcesContent":["import noop from \"../noop\";\n\nvar x0 = Infinity,\n y0 = x0,\n x1 = -x0,\n y1 = x1;\n\nvar boundsStream = {\n point: boundsPoint,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: noop,\n polygonEnd: noop,\n result: function() {\n var bounds = [[x0, y0], [x1, y1]];\n x1 = y1 = -(y0 = x0 = Infinity);\n return bounds;\n }\n};\n\nfunction boundsPoint(x, y) {\n if (x < x0) x0 = x;\n if (x > x1) x1 = x;\n if (y < y0) y0 = y;\n if (y > y1) y1 = y;\n}\n\nexport default boundsStream;\n"],"names":["x0","y0","x1","y1","boundsStream","boundsPoint","noop","bounds","x","y"],"mappings":"kDAEA,IAAIA,EAAK,IACLC,EAAKD,EACLE,EAAK,CAACF,EACNG,EAAKD,EAELE,EAAe,CACjB,MAAOC,EACP,UAAWC,EACX,QAASA,EACT,aAAcA,EACd,WAAYA,EACZ,OAAQ,UAAW,CACb,IAAAC,EAAS,CAAC,CAACP,EAAIC,CAAE,EAAG,CAACC,EAAIC,CAAE,CAAC,EAC3B,OAAAD,EAAAC,EAAK,EAAEF,EAAKD,EAAK,KACfO,CACT,CACF,EAEA,SAASF,EAAYG,EAAGC,EAAG,CACrBD,EAAIR,IAASA,EAAAQ,GACbA,EAAIN,IAASA,EAAAM,GACbC,EAAIR,IAASA,EAAAQ,GACbA,EAAIN,IAASA,EAAAM,EACnB","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const r=require("./index.cjs260.js");var t=1/0,e=t,i=-t,u=i,f={point:s,lineStart:r,lineEnd:r,polygonStart:r,polygonEnd:r,result:function(){var n=[[t,e],[i,u]];return i=u=-(e=t=1/0),n}};function s(n,o){n<t&&(t=n),n>i&&(i=n),o<e&&(e=o),o>u&&(u=o)}module.exports=f;
1
+ "use strict";const s=require("./index.cjs242.js");function n(t,e){return s.abs(t[0]-e[0])<s.epsilon&&s.abs(t[1]-e[1])<s.epsilon}module.exports=n;
2
2
  //# sourceMappingURL=index.cjs259.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs259.js","sources":["../../../node_modules/d3-geo/src/path/bounds.js"],"sourcesContent":["import noop from \"../noop\";\n\nvar x0 = Infinity,\n y0 = x0,\n x1 = -x0,\n y1 = x1;\n\nvar boundsStream = {\n point: boundsPoint,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: noop,\n polygonEnd: noop,\n result: function() {\n var bounds = [[x0, y0], [x1, y1]];\n x1 = y1 = -(y0 = x0 = Infinity);\n return bounds;\n }\n};\n\nfunction boundsPoint(x, y) {\n if (x < x0) x0 = x;\n if (x > x1) x1 = x;\n if (y < y0) y0 = y;\n if (y > y1) y1 = y;\n}\n\nexport default boundsStream;\n"],"names":["x0","y0","x1","y1","boundsStream","boundsPoint","noop","bounds","x","y"],"mappings":"kDAEA,IAAIA,EAAK,IACLC,EAAKD,EACLE,EAAK,CAACF,EACNG,EAAKD,EAELE,EAAe,CACjB,MAAOC,EACP,UAAWC,EACX,QAASA,EACT,aAAcA,EACd,WAAYA,EACZ,OAAQ,UAAW,CACb,IAAAC,EAAS,CAAC,CAACP,EAAIC,CAAE,EAAG,CAACC,EAAIC,CAAE,CAAC,EAC3B,OAAAD,EAAAC,EAAK,EAAEF,EAAKD,EAAK,KACfO,CACT,CACF,EAEA,SAASF,EAAYG,EAAGC,EAAG,CACrBD,EAAIR,IAASA,EAAAQ,GACbA,EAAIN,IAASA,EAAAM,GACbC,EAAIR,IAASA,EAAAQ,GACbA,EAAIN,IAASA,EAAAM,EACnB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs259.js","sources":["../../../node_modules/d3-geo/src/pointEqual.js"],"sourcesContent":["import {abs, epsilon} from \"./math\";\n\nexport default function(a, b) {\n return abs(a[0] - b[0]) < epsilon && abs(a[1] - b[1]) < epsilon;\n}\n"],"names":["pointEqual","a","b","abs","epsilon"],"mappings":"kDAEA,SAAAA,EAAwBC,EAAGC,EAAG,CAC5B,OAAOC,EAAAA,IAAIF,EAAE,CAAC,EAAIC,EAAE,CAAC,CAAC,EAAIE,EAAAA,SAAWD,EAAAA,IAAIF,EAAE,CAAC,EAAIC,EAAE,CAAC,CAAC,EAAIE,SAC1D","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";function o(){}module.exports=o;
1
+ "use strict";const w=require("./index.cjs244.js"),z=require("./index.cjs246.js"),g=require("./index.cjs242.js"),A=require("./index.cjs199.js");require("./index.cjs198.js");const D=require("./index.cjs247.js");function F(r,u,d,s){return function(c,n){var h=u(n),C=c.invert(s[0],s[1]),v=w(),a=u(v),l=!1,S,f,p,o={point:y,lineStart:q,lineEnd:m,polygonStart:function(){o.point=P,o.lineStart=$,o.lineEnd=j,f=[],S=[]},polygonEnd:function(){o.point=y,o.lineStart=q,o.lineEnd=m,f=D(f);var e=A(S,C);f.length?(l||(n.polygonStart(),l=!0),z(f,H,e,d,n)):e&&(l||(n.polygonStart(),l=!0),n.lineStart(),d(null,null,1,n),n.lineEnd()),l&&(n.polygonEnd(),l=!1),f=S=null},sphere:function(){n.polygonStart(),n.lineStart(),d(null,null,1,n),n.lineEnd(),n.polygonEnd()}};function y(e,t){var i=c(e,t);r(e=i[0],t=i[1])&&n.point(e,t)}function R(e,t){var i=c(e,t);h.point(i[0],i[1])}function q(){o.point=R,h.lineStart()}function m(){o.point=y,h.lineEnd()}function P(e,t){p.push([e,t]);var i=c(e,t);a.point(i[0],i[1])}function $(){a.lineStart(),p=[]}function j(){P(p[0][0],p[0][1]),a.lineEnd();var e=a.clean(),t=v.result(),i,x=t.length,I,E,B;if(p.pop(),S.push(p),p=null,!!x){if(e&1){if(E=t[0],(I=E.length-1)>0){for(l||(n.polygonStart(),l=!0),n.lineStart(),i=0;i<I;++i)n.point((B=E[i])[0],B[1]);n.lineEnd()}return}x>1&&e&2&&t.push(t.pop().concat(t.shift())),f.push(t.filter(G))}}return o}}function G(r){return r.length>1}function H(r,u){return((r=r.x)[0]<0?r[1]-g.halfPi-g.epsilon:g.halfPi-r[1])-((u=u.x)[0]<0?u[1]-g.halfPi-g.epsilon:g.halfPi-u[1])}module.exports=F;
2
2
  //# sourceMappingURL=index.cjs260.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs260.js","sources":["../../../node_modules/d3-geo/src/noop.js"],"sourcesContent":["export default function noop() {}\n"],"names":["noop"],"mappings":"aAAA,SAAwBA,GAAO,CAAC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs260.js","sources":["../../../node_modules/d3-geo/src/clip/index.js"],"sourcesContent":["import clipBuffer from \"./buffer\";\nimport clipPolygon from \"./polygon\";\nimport {epsilon, halfPi} from \"../math\";\nimport polygonContains from \"../polygonContains\";\nimport {merge} from \"d3-array\";\n\nexport default function(pointVisible, clipLine, interpolate, start) {\n return function(rotate, sink) {\n var line = clipLine(sink),\n rotatedStart = rotate.invert(start[0], start[1]),\n ringBuffer = clipBuffer(),\n ringSink = clipLine(ringBuffer),\n polygonStarted = false,\n polygon,\n segments,\n ring;\n\n var clip = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: function() {\n clip.point = pointRing;\n clip.lineStart = ringStart;\n clip.lineEnd = ringEnd;\n segments = [];\n polygon = [];\n },\n polygonEnd: function() {\n clip.point = point;\n clip.lineStart = lineStart;\n clip.lineEnd = lineEnd;\n segments = merge(segments);\n var startInside = polygonContains(polygon, rotatedStart);\n if (segments.length) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n clipPolygon(segments, compareIntersection, startInside, interpolate, sink);\n } else if (startInside) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n }\n if (polygonStarted) sink.polygonEnd(), polygonStarted = false;\n segments = polygon = null;\n },\n sphere: function() {\n sink.polygonStart();\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n sink.polygonEnd();\n }\n };\n\n function point(lambda, phi) {\n var point = rotate(lambda, phi);\n if (pointVisible(lambda = point[0], phi = point[1])) sink.point(lambda, phi);\n }\n\n function pointLine(lambda, phi) {\n var point = rotate(lambda, phi);\n line.point(point[0], point[1]);\n }\n\n function lineStart() {\n clip.point = pointLine;\n line.lineStart();\n }\n\n function lineEnd() {\n clip.point = point;\n line.lineEnd();\n }\n\n function pointRing(lambda, phi) {\n ring.push([lambda, phi]);\n var point = rotate(lambda, phi);\n ringSink.point(point[0], point[1]);\n }\n\n function ringStart() {\n ringSink.lineStart();\n ring = [];\n }\n\n function ringEnd() {\n pointRing(ring[0][0], ring[0][1]);\n ringSink.lineEnd();\n\n var clean = ringSink.clean(),\n ringSegments = ringBuffer.result(),\n i, n = ringSegments.length, m,\n segment,\n point;\n\n ring.pop();\n polygon.push(ring);\n ring = null;\n\n if (!n) return;\n\n // No intersections.\n if (clean & 1) {\n segment = ringSegments[0];\n if ((m = segment.length - 1) > 0) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n for (i = 0; i < m; ++i) sink.point((point = segment[i])[0], point[1]);\n sink.lineEnd();\n }\n return;\n }\n\n // Rejoin connected segments.\n // TODO reuse ringBuffer.rejoin()?\n if (n > 1 && clean & 2) ringSegments.push(ringSegments.pop().concat(ringSegments.shift()));\n\n segments.push(ringSegments.filter(validSegment));\n }\n\n return clip;\n };\n}\n\nfunction validSegment(segment) {\n return segment.length > 1;\n}\n\n// Intersections are sorted along the clip edge. For both antimeridian cutting\n// and circle clipping, the same comparison is used.\nfunction compareIntersection(a, b) {\n return ((a = a.x)[0] < 0 ? a[1] - halfPi - epsilon : halfPi - a[1])\n - ((b = b.x)[0] < 0 ? b[1] - halfPi - epsilon : halfPi - b[1]);\n}\n"],"names":["clip","pointVisible","clipLine","interpolate","start","rotate","sink","line","rotatedStart","ringBuffer","clipBuffer","ringSink","polygonStarted","polygon","segments","ring","point","lineStart","lineEnd","pointRing","ringStart","ringEnd","merge","startInside","polygonContains","clipPolygon","compareIntersection","lambda","phi","pointLine","clean","ringSegments","n","m","segment","validSegment","a","b","halfPi","epsilon"],"mappings":"iNAMwB,SAAAA,EAAAC,EAAcC,EAAUC,EAAaC,EAAO,CAC3D,OAAA,SAASC,EAAQC,EAAM,CACxB,IAAAC,EAAOL,EAASI,CAAI,EACpBE,EAAeH,EAAO,OAAOD,EAAM,CAAC,EAAGA,EAAM,CAAC,CAAC,EAC/CK,EAAaC,EAAW,EACxBC,EAAWT,EAASO,CAAU,EAC9BG,EAAiB,GACjBC,EACAC,EACAC,EAEAf,EAAO,CACT,MAAAgB,EACA,UAAAC,EACA,QAAAC,EACA,aAAc,UAAW,CACvBlB,EAAK,MAAQmB,EACbnB,EAAK,UAAYoB,EACjBpB,EAAK,QAAUqB,EACfP,EAAW,CAAA,EACXD,EAAU,CAAA,CACZ,EACA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,EACnE","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),u=require("./index.cjs68.js");require("./index.cjs69.js");require("./index.cjs70.js");require("./index.cjs71.js");const c=require("./index.cjs72.js");require("./index.cjs73.js");require("./index.cjs74.js");require("./index.cjs75.js");require("./index.cjs76.js");function i(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const l=i(o),a=Promise.resolve().then(()=>require("./index.cjs19.js")).then(e=>e.on);l.forwardRef(function(t,r){return u.default(t,r,a)});const s=c;exports.FullscreenControl=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),u=require("./index.cjs70.js");require("./index.cjs71.js");require("./index.cjs72.js");require("./index.cjs73.js");const c=require("./index.cjs74.js");require("./index.cjs75.js");require("./index.cjs76.js");require("./index.cjs77.js");require("./index.cjs78.js");function i(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const l=i(o),a=Promise.resolve().then(()=>require("./index.cjs19.js")).then(e=>e.on);l.forwardRef(function(t,r){return u.default(t,r,a)});const s=c;exports.FullscreenControl=s;
2
2
  //# sourceMappingURL=index.cjs52.js.map
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs77.js"),R=require("react");var p;function a(){if(p)return t.__exports;p=1;/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs68.js"),R=require("react");var p;function a(){if(p)return t.__exports;p=1;/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("./index.cjs78.js"),tr=require("react");var he;function ar(){if(he)return R.__exports;he=1;/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("./index.cjs69.js"),tr=require("react");var he;function ar(){if(he)return R.__exports;he=1;/**
2
2
  * @license React
3
3
  * react-jsx-runtime.development.js
4
4
  *
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),s=require("./index.cjs66.js");var O=["attr","size","title"];function v(e,t){if(e==null)return{};var r=p(e,t),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function p(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?m(Object(r),!0).forEach(function(n){j(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function j(e,t,r){return t=P(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P(e){var t=d(e,"string");return typeof t=="symbol"?t:String(t)}function d(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function b(e){return e&&e.map((t,r)=>l.createElement(t.tag,u({key:r},t.attr),b(t.child)))}function h(e){return t=>l.createElement(g,c({attr:u({},e.attr)},t),b(e.child))}function g(e){var t=r=>{var{attr:n,size:i,title:o}=e,y=v(e,O),f=i||r.size||"1em",a;return r.className&&(a=r.className),e.className&&(a=(a?a+" ":"")+e.className),l.createElement("svg",c({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,y,{className:a,style:u(u({color:e.color||r.color},r.style),e.style),height:f,width:f,xmlns:"http://www.w3.org/2000/svg"}),o&&l.createElement("title",null,o),e.children)};return s.IconContext!==void 0?l.createElement(s.IconContext.Consumer,null,r=>t(r)):t(s.DefaultContext)}exports.GenIcon=h;exports.IconBase=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
2
2
  //# sourceMappingURL=index.cjs65.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs65.js","sources":["../../../node_modules/react-icons/lib/iconBase.mjs"],"sourcesContent":["var _excluded = [\"attr\", \"size\", \"title\"];\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return typeof key === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (typeof input !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (typeof res !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nimport React from \"react\";\nimport { IconContext, DefaultContext } from \"./iconContext.mjs\";\nfunction Tree2Element(tree) {\n return tree && tree.map((node, i) => /*#__PURE__*/React.createElement(node.tag, _objectSpread({\n key: i\n }, node.attr), Tree2Element(node.child)));\n}\nexport function GenIcon(data) {\n // eslint-disable-next-line react/display-name\n return props => /*#__PURE__*/React.createElement(IconBase, _extends({\n attr: _objectSpread({}, data.attr)\n }, props), Tree2Element(data.child));\n}\nexport function IconBase(props) {\n var elem = conf => {\n var {\n attr,\n size,\n title\n } = props,\n svgProps = _objectWithoutProperties(props, _excluded);\n var computedSize = size || conf.size || \"1em\";\n var className;\n if (conf.className) className = conf.className;\n if (props.className) className = (className ? className + \" \" : \"\") + props.className;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n stroke: \"currentColor\",\n fill: \"currentColor\",\n strokeWidth: \"0\"\n }, conf.attr, attr, svgProps, {\n className: className,\n style: _objectSpread(_objectSpread({\n color: props.color || conf.color\n }, conf.style), props.style),\n height: computedSize,\n width: computedSize,\n xmlns: \"http://www.w3.org/2000/svg\"\n }), title && /*#__PURE__*/React.createElement(\"title\", null, title), props.children);\n };\n return IconContext !== undefined ? /*#__PURE__*/React.createElement(IconContext.Consumer, null, conf => elem(conf)) : elem(DefaultContext);\n}"],"names":["_excluded","_objectWithoutProperties","source","excluded","target","_objectWithoutPropertiesLoose","key","sourceSymbolKeys","sourceKeys","i","_extends","ownKeys","r","t","o","_objectSpread","_defineProperty","obj","value","_toPropertyKey","arg","_toPrimitive","input","hint","prim","res","Tree2Element","tree","node","React","GenIcon","data","props","IconBase","elem","conf","attr","size","title","svgProps","computedSize","className","IconContext","DefaultContext"],"mappings":"uIAAA,IAAIA,EAAY,CAAC,OAAQ,OAAQ,OAAO,EACxC,SAASC,EAAyBC,EAAQC,EAAU,CAAE,GAAID,GAAU,KAAM,MAAO,GAAI,IAAIE,EAASC,EAA8BH,EAAQC,CAAQ,EAAOG,EAAK,EAAG,GAAI,OAAO,sBAAuB,CAAE,IAAIC,EAAmB,OAAO,sBAAsBL,CAAM,EAAG,IAAK,EAAI,EAAG,EAAIK,EAAiB,OAAQ,IAAOD,EAAMC,EAAiB,CAAC,EAAO,EAAAJ,EAAS,QAAQG,CAAG,GAAK,IAAkB,OAAO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,SAASE,EAAQC,EAAM,CAE5B,OAAOC,GAAsBH,EAAM,cAAcI,EAAUvB,EAAS,CAClE,KAAMK,EAAc,GAAIgB,EAAK,IAAI,CAClC,EAAEC,CAAK,EAAGN,EAAaK,EAAK,KAAK,CAAC,CACrC,CACO,SAASE,EAASD,EAAO,CAC9B,IAAIE,EAAOC,GAAQ,CACjB,GAAI,CACA,KAAAC,EACA,KAAAC,EACA,MAAAC,CACR,EAAUN,EACJO,EAAWtC,EAAyB+B,EAAOhC,CAAS,EAClDwC,EAAeH,GAAQF,EAAK,MAAQ,MACpCM,EACJ,OAAIN,EAAK,YAAWM,EAAYN,EAAK,WACjCH,EAAM,YAAWS,GAAaA,EAAYA,EAAY,IAAM,IAAMT,EAAM,WACxDH,EAAM,cAAc,MAAOnB,EAAS,CACtD,OAAQ,eACR,KAAM,eACN,YAAa,GACd,EAAEyB,EAAK,KAAMC,EAAMG,EAAU,CAC5B,UAAWE,EACX,MAAO1B,EAAcA,EAAc,CACjC,MAAOiB,EAAM,OAASG,EAAK,KAC5B,EAAEA,EAAK,KAAK,EAAGH,EAAM,KAAK,EAC3B,OAAQQ,EACR,MAAOA,EACP,MAAO,4BACb,CAAK,EAAGF,GAAsBT,EAAM,cAAc,QAAS,KAAMS,CAAK,EAAGN,EAAM,QAAQ,CACvF,EACE,OAAOU,EAAW,cAAK,OAAyBb,EAAM,cAAca,EAAW,YAAC,SAAU,KAAMP,GAAQD,EAAKC,CAAI,CAAC,EAAID,EAAKS,EAAc,cAAA,CAC3I","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs65.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");var t={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},n=e.createContext&&e.createContext(t);exports.DefaultContext=t;exports.IconContext=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),s=require("./index.cjs67.js");var O=["attr","size","title"];function v(e,t){if(e==null)return{};var r=p(e,t),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function p(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?m(Object(r),!0).forEach(function(n){j(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function j(e,t,r){return t=P(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P(e){var t=d(e,"string");return typeof t=="symbol"?t:String(t)}function d(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function b(e){return e&&e.map((t,r)=>l.createElement(t.tag,u({key:r},t.attr),b(t.child)))}function h(e){return t=>l.createElement(g,c({attr:u({},e.attr)},t),b(e.child))}function g(e){var t=r=>{var{attr:n,size:i,title:o}=e,y=v(e,O),f=i||r.size||"1em",a;return r.className&&(a=r.className),e.className&&(a=(a?a+" ":"")+e.className),l.createElement("svg",c({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,y,{className:a,style:u(u({color:e.color||r.color},r.style),e.style),height:f,width:f,xmlns:"http://www.w3.org/2000/svg"}),o&&l.createElement("title",null,o),e.children)};return s.IconContext!==void 0?l.createElement(s.IconContext.Consumer,null,r=>t(r)):t(s.DefaultContext)}exports.GenIcon=h;exports.IconBase=g;
2
2
  //# sourceMappingURL=index.cjs66.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs66.js","sources":["../../../node_modules/react-icons/lib/iconContext.mjs"],"sourcesContent":["import React from \"react\";\nexport var DefaultContext = {\n color: undefined,\n size: undefined,\n className: undefined,\n style: undefined,\n attr: undefined\n};\nexport var IconContext = React.createContext && /*#__PURE__*/React.createContext(DefaultContext);"],"names":["DefaultContext","IconContext","React"],"mappings":"yGACU,IAACA,EAAiB,CAC1B,MAAO,OACP,KAAM,OACN,UAAW,OACX,MAAO,OACP,KAAM,MACR,EACWC,EAAcC,EAAM,eAA8BA,EAAM,cAAcF,CAAc","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs66.js","sources":["../../../node_modules/react-icons/lib/iconBase.mjs"],"sourcesContent":["var _excluded = [\"attr\", \"size\", \"title\"];\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return typeof key === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (typeof input !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (typeof res !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nimport React from \"react\";\nimport { IconContext, DefaultContext } from \"./iconContext.mjs\";\nfunction Tree2Element(tree) {\n return tree && tree.map((node, i) => /*#__PURE__*/React.createElement(node.tag, _objectSpread({\n key: i\n }, node.attr), Tree2Element(node.child)));\n}\nexport function GenIcon(data) {\n // eslint-disable-next-line react/display-name\n return props => /*#__PURE__*/React.createElement(IconBase, _extends({\n attr: _objectSpread({}, data.attr)\n }, props), Tree2Element(data.child));\n}\nexport function IconBase(props) {\n var elem = conf => {\n var {\n attr,\n size,\n title\n } = props,\n svgProps = _objectWithoutProperties(props, _excluded);\n var computedSize = size || conf.size || \"1em\";\n var className;\n if (conf.className) className = conf.className;\n if (props.className) className = (className ? className + \" \" : \"\") + props.className;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n stroke: \"currentColor\",\n fill: \"currentColor\",\n strokeWidth: \"0\"\n }, conf.attr, attr, svgProps, {\n className: className,\n style: _objectSpread(_objectSpread({\n color: props.color || conf.color\n }, conf.style), props.style),\n height: computedSize,\n width: computedSize,\n xmlns: \"http://www.w3.org/2000/svg\"\n }), title && /*#__PURE__*/React.createElement(\"title\", null, title), props.children);\n };\n return IconContext !== undefined ? /*#__PURE__*/React.createElement(IconContext.Consumer, null, conf => elem(conf)) : elem(DefaultContext);\n}"],"names":["_excluded","_objectWithoutProperties","source","excluded","target","_objectWithoutPropertiesLoose","key","sourceSymbolKeys","sourceKeys","i","_extends","ownKeys","r","t","o","_objectSpread","_defineProperty","obj","value","_toPropertyKey","arg","_toPrimitive","input","hint","prim","res","Tree2Element","tree","node","React","GenIcon","data","props","IconBase","elem","conf","attr","size","title","svgProps","computedSize","className","IconContext","DefaultContext"],"mappings":"uIAAA,IAAIA,EAAY,CAAC,OAAQ,OAAQ,OAAO,EACxC,SAASC,EAAyBC,EAAQC,EAAU,CAAE,GAAID,GAAU,KAAM,MAAO,GAAI,IAAIE,EAASC,EAA8BH,EAAQC,CAAQ,EAAOG,EAAK,EAAG,GAAI,OAAO,sBAAuB,CAAE,IAAIC,EAAmB,OAAO,sBAAsBL,CAAM,EAAG,IAAK,EAAI,EAAG,EAAIK,EAAiB,OAAQ,IAAOD,EAAMC,EAAiB,CAAC,EAAO,EAAAJ,EAAS,QAAQG,CAAG,GAAK,IAAkB,OAAO,UAAU,qBAAqB,KAAKJ,EAAQI,CAAG,IAAaF,EAAOE,CAAG,EAAIJ,EAAOI,CAAG,EAAI,CAA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,GAAIgB,EAAK,IAAI,CAClC,EAAEC,CAAK,EAAGN,EAAaK,EAAK,KAAK,CAAC,CACrC,CACO,SAASE,EAASD,EAAO,CAC9B,IAAIE,EAAOC,GAAQ,CACjB,GAAI,CACA,KAAAC,EACA,KAAAC,EACA,MAAAC,CACR,EAAUN,EACJO,EAAWtC,EAAyB+B,EAAOhC,CAAS,EAClDwC,EAAeH,GAAQF,EAAK,MAAQ,MACpCM,EACJ,OAAIN,EAAK,YAAWM,EAAYN,EAAK,WACjCH,EAAM,YAAWS,GAAaA,EAAYA,EAAY,IAAM,IAAMT,EAAM,WACxDH,EAAM,cAAc,MAAOnB,EAAS,CACtD,OAAQ,eACR,KAAM,eACN,YAAa,GACd,EAAEyB,EAAK,KAAMC,EAAMG,EAAU,CAC5B,UAAWE,EACX,MAAO1B,EAAcA,EAAc,CACjC,MAAOiB,EAAM,OAASG,EAAK,KAC5B,EAAEA,EAAK,KAAK,EAAGH,EAAM,KAAK,EAC3B,OAAQQ,EACR,MAAOA,EACP,MAAO,4BACb,CAAK,EAAGF,GAAsBT,EAAM,cAAc,QAAS,KAAMS,CAAK,EAAGN,EAAM,QAAQ,CACvF,EACE,OAAOU,EAAW,cAAK,OAAyBb,EAAM,cAAca,EAAW,YAAC,SAAU,KAAMP,GAAQD,EAAKC,CAAI,CAAC,EAAID,EAAKS,EAAc,cAAA,CAC3I","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");var t={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},n=e.createContext&&e.createContext(t);exports.DefaultContext=t;exports.IconContext=n;
2
2
  //# sourceMappingURL=index.cjs67.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs67.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs67.js","sources":["../../../node_modules/react-icons/lib/iconContext.mjs"],"sourcesContent":["import React from \"react\";\nexport var DefaultContext = {\n color: undefined,\n size: undefined,\n className: undefined,\n style: undefined,\n attr: undefined\n};\nexport var IconContext = React.createContext && /*#__PURE__*/React.createContext(DefaultContext);"],"names":["DefaultContext","IconContext","React"],"mappings":"yGACU,IAACA,EAAiB,CAC1B,MAAO,OACP,KAAM,OACN,UAAW,OACX,MAAO,OACP,KAAM,MACR,EACWC,EAAcC,EAAM,eAA8BA,EAAM,cAAcF,CAAc","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("react"),g=require("./index.cjs76.js"),m=require("./index.cjs184.js"),y=require("./index.cjs185.js"),E=require("./index.cjs186.js"),x=require("./index.cjs187.js");function w(e){const u=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const t=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(u,i,t.get?t:{enumerable:!0,get:()=>e[i]})}}return u.default=e,Object.freeze(u)}const c=w(a),M=c.createContext(null);function L(e,u,i){const t=a.useContext(g.MountedMapsContext),[s,b]=a.useState(null),f=a.useRef(),{current:l}=a.useRef({mapLib:null,map:null});a.useEffect(()=>{const h=e.mapLib;let d=!0,r;return Promise.resolve(h||i).then(o=>{if(!d)return;if(!o)throw new Error("Invalid mapLib");const n="Map"in o?o:o.default;if(!n.Map)throw new Error("Invalid mapLib");if(x(n,e),!n.supported||n.supported(e))e.reuseMaps&&(r=m.reuse(e,f.current)),r||(r=new m(n.Map,e,f.current)),l.map=y(r),l.mapLib=n,b(r),t==null||t.onMapMount(l.map,e.id);else throw new Error("Map is not supported by this browser")}).catch(o=>{const{onError:n}=e;n?n({type:"error",target:null,originalEvent:null,error:o}):console.error(o)}),()=>{d=!1,r&&(t==null||t.onMapUnmount(e.id),e.reuseMaps?r.recycle():r.destroy())}},[]),E(()=>{s&&s.setProps(e)}),a.useImperativeHandle(u,()=>l.map,[s]);const p=a.useMemo(()=>({position:"relative",width:"100%",height:"100%",...e.style}),[e.style]),v={height:"100%"};return c.createElement("div",{id:e.id,ref:f,style:p},s&&c.createElement(M.Provider,{value:l},c.createElement("div",{"mapboxgl-children":"",style:v},e.children)))}exports.MapContext=M;exports.default=L;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
2
2
  //# sourceMappingURL=index.cjs68.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs68.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/map.js"],"sourcesContent":["import * as React from 'react';\nimport { useState, useRef, useEffect, useContext, useMemo, useImperativeHandle } from 'react';\nimport { MountedMapsContext } from './use-map';\nimport Mapbox from '../mapbox/mapbox';\nimport createRef from '../mapbox/create-ref';\nimport useIsomorphicLayoutEffect from '../utils/use-isomorphic-layout-effect';\nimport setGlobals from '../utils/set-globals';\nexport const MapContext = React.createContext(null);\nexport default function Map(props, ref, defaultLib) {\n const mountedMapsContext = useContext(MountedMapsContext);\n const [mapInstance, setMapInstance] = useState(null);\n const containerRef = useRef();\n const { current: contextValue } = useRef({ mapLib: null, map: null });\n useEffect(() => {\n const mapLib = props.mapLib;\n let isMounted = true;\n let mapbox;\n Promise.resolve(mapLib || defaultLib)\n .then((module) => {\n if (!isMounted) {\n return;\n }\n if (!module) {\n throw new Error('Invalid mapLib');\n }\n const mapboxgl = 'Map' in module ? module : module.default;\n if (!mapboxgl.Map) {\n throw new Error('Invalid mapLib');\n }\n // workerUrl & workerClass may change the result of supported()\n // https://github.com/visgl/react-map-gl/discussions/2027\n setGlobals(mapboxgl, props);\n if (!mapboxgl.supported || mapboxgl.supported(props)) {\n if (props.reuseMaps) {\n mapbox = Mapbox.reuse(props, containerRef.current);\n }\n if (!mapbox) {\n mapbox = new Mapbox(mapboxgl.Map, props, containerRef.current);\n }\n contextValue.map = createRef(mapbox);\n contextValue.mapLib = mapboxgl;\n setMapInstance(mapbox);\n mountedMapsContext === null || mountedMapsContext === void 0 ? void 0 : mountedMapsContext.onMapMount(contextValue.map, props.id);\n }\n else {\n throw new Error('Map is not supported by this browser');\n }\n })\n .catch(error => {\n const { onError } = props;\n if (onError) {\n onError({\n type: 'error',\n target: null,\n originalEvent: null,\n error\n });\n }\n else {\n console.error(error); // eslint-disable-line\n }\n });\n return () => {\n isMounted = false;\n if (mapbox) {\n mountedMapsContext === null || mountedMapsContext === void 0 ? void 0 : mountedMapsContext.onMapUnmount(props.id);\n if (props.reuseMaps) {\n mapbox.recycle();\n }\n else {\n mapbox.destroy();\n }\n }\n };\n }, []);\n useIsomorphicLayoutEffect(() => {\n if (mapInstance) {\n mapInstance.setProps(props);\n }\n });\n useImperativeHandle(ref, () => contextValue.map, [mapInstance]);\n const style = useMemo(() => ({\n position: 'relative',\n width: '100%',\n height: '100%',\n ...props.style\n }), [props.style]);\n const CHILD_CONTAINER_STYLE = {\n height: '100%'\n };\n return (React.createElement(\"div\", { id: props.id, ref: containerRef, style: style }, mapInstance && (React.createElement(MapContext.Provider, { value: contextValue },\n React.createElement(\"div\", { \"mapboxgl-children\": \"\", style: CHILD_CONTAINER_STYLE }, props.children)))));\n}\n//# sourceMappingURL=map.js.map"],"names":["MapContext","React","Map","props","ref","defaultLib","mountedMapsContext","useContext","MountedMapsContext","mapInstance","setMapInstance","useState","containerRef","useRef","contextValue","useEffect","mapLib","isMounted","mapbox","module","mapboxgl","setGlobals","Mapbox","createRef","error","onError","useIsomorphicLayoutEffect","useImperativeHandle","style","useMemo","CHILD_CONTAINER_STYLE"],"mappings":"yjBAOaA,EAAaC,EAAM,cAAc,IAAI,EAC1B,SAAAC,EAAIC,EAAOC,EAAKC,EAAY,CAC1C,MAAAC,EAAqBC,aAAWC,EAAAA,kBAAkB,EAClD,CAACC,EAAaC,CAAc,EAAIC,WAAS,IAAI,EAC7CC,EAAeC,EAAAA,SACf,CAAE,QAASC,C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EACxD,MAAAmB,EAAQC,EAAAA,QAAQ,KAAO,CACzB,SAAU,WACV,MAAO,OACP,OAAQ,OACR,GAAG1B,EAAM,KACT,GAAA,CAACA,EAAM,KAAK,CAAC,EACX2B,EAAwB,CAC1B,OAAQ,MAAA,EAEZ,OAAQ7B,EAAM,cAAc,MAAO,CAAE,GAAIE,EAAM,GAAI,IAAKS,EAAc,MAAAgB,CAAgB,EAAAnB,GAAgBR,EAAM,cAAcD,EAAW,SAAU,CAAE,MAAOc,CAAa,EACjKb,EAAM,cAAc,MAAO,CAAE,oBAAqB,GAAI,MAAO6B,CAAA,EAAyB3B,EAAM,QAAQ,CAAA,CAAG,CAC/G","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs68.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";const o=require("react"),y=require("react-dom"),k=require("./index.cjs188.js"),D=require("./index.cjs68.js"),P=require("./index.cjs189.js");function q(n){const g=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const c in n)if(c!=="default"){const s=Object.getOwnPropertyDescriptor(n,c);Object.defineProperty(g,c,s.get?s:{enumerable:!0,get:()=>n[c]})}}return g.default=n,Object.freeze(g)}const O=q(o);function A(n,g){const{map:c,mapLib:s}=o.useContext(D.MapContext),u=o.useRef({props:n});u.current.props=n;const t=o.useMemo(()=>{let _=!1;O.Children.forEach(n.children,r=>{r&&(_=!0)});const h={...n,element:_?document.createElement("div"):null},i=new s.Marker(h);return i.setLngLat([n.longitude,n.latitude]),i.getElement().addEventListener("click",r=>{var a,e;(e=(a=u.current.props).onClick)===null||e===void 0||e.call(a,{type:"click",target:i,originalEvent:r})}),i.on("dragstart",r=>{var a,e;const l=r;l.lngLat=t.getLngLat(),(e=(a=u.current.props).onDragStart)===null||e===void 0||e.call(a,l)}),i.on("drag",r=>{var a,e;const l=r;l.lngLat=t.getLngLat(),(e=(a=u.current.props).onDrag)===null||e===void 0||e.call(a,l)}),i.on("dragend",r=>{var a,e;const l=r;l.lngLat=t.getLngLat(),(e=(a=u.current.props).onDragEnd)===null||e===void 0||e.call(a,l)}),i},[]);o.useEffect(()=>(t.addTo(c.getMap()),()=>{t.remove()}),[]);const{longitude:f,latitude:m,offset:d,style:p,draggable:v=!1,popup:L=null,rotation:b=0,rotationAlignment:E="auto",pitchAlignment:R="auto"}=n;return o.useEffect(()=>{k.applyReactStyle(t.getElement(),p)},[p]),o.useImperativeHandle(g,()=>t,[]),(t.getLngLat().lng!==f||t.getLngLat().lat!==m)&&t.setLngLat([f,m]),d&&!P.arePointsEqual(t.getOffset(),d)&&t.setOffset(d),t.isDraggable()!==v&&t.setDraggable(v),t.getRotation()!==b&&t.setRotation(b),t.getRotationAlignment()!==E&&t.setRotationAlignment(E),t.getPitchAlignment()!==R&&t.setPitchAlignment(R),t.getPopup()!==L&&t.setPopup(L),y.createPortal(n.children,t.getElement())}o.memo(o.forwardRef(A));
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
2
2
  //# sourceMappingURL=index.cjs69.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs69.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/marker.js"],"sourcesContent":["/* global document */\nimport * as React from 'react';\nimport { createPortal } from 'react-dom';\nimport { useImperativeHandle, useEffect, useMemo, useRef, useContext, forwardRef, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport { MapContext } from './map';\nimport { arePointsEqual } from '../utils/deep-equal';\n/* eslint-disable complexity,max-statements */\nfunction Marker(props, ref) {\n const { map, mapLib } = useContext(MapContext);\n const thisRef = useRef({ props });\n thisRef.current.props = props;\n const marker = useMemo(() => {\n let hasChildren = false;\n React.Children.forEach(props.children, el => {\n if (el) {\n hasChildren = true;\n }\n });\n const options = {\n ...props,\n element: hasChildren ? document.createElement('div') : null\n };\n const mk = new mapLib.Marker(options);\n mk.setLngLat([props.longitude, props.latitude]);\n mk.getElement().addEventListener('click', (e) => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onClick) === null || _b === void 0 ? void 0 : _b.call(_a, {\n type: 'click',\n target: mk,\n originalEvent: e\n });\n });\n mk.on('dragstart', e => {\n var _a, _b;\n const evt = e;\n evt.lngLat = marker.getLngLat();\n (_b = (_a = thisRef.current.props).onDragStart) === null || _b === void 0 ? void 0 : _b.call(_a, evt);\n });\n mk.on('drag', e => {\n var _a, _b;\n const evt = e;\n evt.lngLat = marker.getLngLat();\n (_b = (_a = thisRef.current.props).onDrag) === null || _b === void 0 ? void 0 : _b.call(_a, evt);\n });\n mk.on('dragend', e => {\n var _a, _b;\n const evt = e;\n evt.lngLat = marker.getLngLat();\n (_b = (_a = thisRef.current.props).onDragEnd) === null || _b === void 0 ? void 0 : _b.call(_a, evt);\n });\n return mk;\n }, []);\n useEffect(() => {\n marker.addTo(map.getMap());\n return () => {\n marker.remove();\n };\n }, []);\n const { longitude, latitude, offset, style, draggable = false, popup = null, rotation = 0, rotationAlignment = 'auto', pitchAlignment = 'auto' } = props;\n useEffect(() => {\n applyReactStyle(marker.getElement(), style);\n }, [style]);\n useImperativeHandle(ref, () => marker, []);\n if (marker.getLngLat().lng !== longitude || marker.getLngLat().lat !== latitude) {\n marker.setLngLat([longitude, latitude]);\n }\n if (offset && !arePointsEqual(marker.getOffset(), offset)) {\n marker.setOffset(offset);\n }\n if (marker.isDraggable() !== draggable) {\n marker.setDraggable(draggable);\n }\n if (marker.getRotation() !== rotation) {\n marker.setRotation(rotation);\n }\n if (marker.getRotationAlignment() !== rotationAlignment) {\n marker.setRotationAlignment(rotationAlignment);\n }\n if (marker.getPitchAlignment() !== pitchAlignment) {\n marker.setPitchAlignment(pitchAlignment);\n }\n if (marker.getPopup() !== popup) {\n marker.setPopup(popup);\n }\n return createPortal(props.children, marker.getElement());\n}\nexport default memo(forwardRef(Marker));\n//# sourceMappingURL=marker.js.map"],"names":["Marker","props","ref","map","mapLib","useContext","MapContext","thisRef","useRef","marker","useMemo","hasChildren","React","el","options","mk","e","_a","_b","evt","useEffect","longitude","latitude","offset","style","draggable","popup","rotation","rotationAlignment","pitchAlignment","applyReactStyle","useImperativeHandle","arePointsEqual","createPortal","memo","forwardRef"],"mappings":"mbAQA,SAASA,EAAOC,EAAOC,EAAK,CACxB,KAAM,CAAEC,IAAAA,EAAK,OAAAC,CAAO,EAAIC,aAAWC,EAAU,UAAA,EACvCC,EAAUC,EAAAA,OAAO,CAAE,MAAAP,CAAO,CAAA,EAChCM,EAAQ,QAAQ,MAAQN,EAClB,MAAAQ,EAASC,EAAAA,QAAQ,IAAM,CACzB,IAAIC,EAAc,GAClBC,EAAM,SAAS,QAAQX,EAAM,SAAgBY,GAAA,CACrCA,IACcF,EAAA,GAClB,CACH,EACD,MAAMG,EAAU,CACZ,GAAGb,EACH,QAASU,EAAc,SAAS,cAAc,KAAK,EAAI,IAAA,EAErDI,EAAK,IAAIX,EAAO,OAAOU,CAAO,EACpC,OAAAC,EAAG,UAAU,CAACd,EAAM,UAAWA,EAAM,QAAQ,CAAC,EAC9Cc,EAAG,WAAW,EAAE,iBAAiB,QAAUC,GAAM,CAC7C,IAAIC,EAAIC,GACPA,GAAMD,EAAKV,EAAQ,QAAQ,OAAO,WAAa,MAAQW,IAAO,QAAkBA,EAAG,KAAKD,EAAI,CACzF,KAAM,QACN,OAAQF,EACR,cAAeC,CAAA,CAClB,CAAA,CACJ,EACED,EAAA,GAAG,YAAkBC,GAAA,CACpB,IAAIC,EAAIC,EACR,MAAMC,EAAMH,EACRG,EAAA,OAASV,EAAO,aACnBS,GAAMD,EAAKV,EAAQ,QAAQ,OAAO,eAAiB,MAAQW,IAAO,QAAkBA,EAAG,KAAKD,EAAIE,CAAG,CAAA,CACvG,EACEJ,EAAA,GAAG,OAAaC,GAAA,CACf,IAAIC,EAAIC,EACR,MAAMC,EAAMH,EACRG,EAAA,OAASV,EAAO,aACnBS,GAAMD,EAAKV,EAAQ,QAAQ,OAAO,UAAY,MAAQW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BjB,EAAO,SAASiB,CAAK,EAElBO,EAAAA,aAAahC,EAAM,SAAUQ,EAAO,WAAY,CAAA,CAC3D,CACeyB,EAAAA,KAAKC,EAAAA,WAAWnC,CAAM,CAAC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs69.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";const g=require("react-dom"),a=require("react"),h=require("./index.cjs188.js"),L=require("./index.cjs68.js"),v=require("./index.cjs189.js");function f(e){return new Set(e?e.trim().split(/\s+/):[])}function C(e,r){const{map:m,mapLib:d}=a.useContext(L.MapContext),u=a.useMemo(()=>document.createElement("div"),[]),c=a.useRef({props:e});c.current.props=e;const t=a.useMemo(()=>{const s={...e},o=new d.Popup(s);return o.setLngLat([e.longitude,e.latitude]),o.once("open",n=>{var i,l;(l=(i=c.current.props).onOpen)===null||l===void 0||l.call(i,n)}),o},[]);if(a.useEffect(()=>{const s=o=>{var n,i;(i=(n=c.current.props).onClose)===null||i===void 0||i.call(n,o)};return t.on("close",s),t.setDOMContent(u).addTo(m.getMap()),()=>{t.off("close",s),t.isOpen()&&t.remove()}},[]),a.useEffect(()=>{h.applyReactStyle(t.getElement(),e.style)},[e.style]),a.useImperativeHandle(r,()=>t,[]),t.isOpen()&&((t.getLngLat().lng!==e.longitude||t.getLngLat().lat!==e.latitude)&&t.setLngLat([e.longitude,e.latitude]),e.offset&&!v.deepEqual(t.options.offset,e.offset)&&t.setOffset(e.offset),(t.options.anchor!==e.anchor||t.options.maxWidth!==e.maxWidth)&&(t.options.anchor=e.anchor,t.setMaxWidth(e.maxWidth)),t.options.className!==e.className)){const s=f(t.options.className),o=f(e.className);for(const n of s)o.has(n)||t.removeClassName(n);for(const n of o)s.has(n)||t.addClassName(n);t.options.className=e.className}return g.createPortal(e.children,u)}a.memo(a.forwardRef(C));
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("react"),g=require("./index.cjs78.js"),m=require("./index.cjs184.js"),y=require("./index.cjs185.js"),E=require("./index.cjs186.js"),x=require("./index.cjs187.js");function w(e){const u=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const t=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(u,i,t.get?t:{enumerable:!0,get:()=>e[i]})}}return u.default=e,Object.freeze(u)}const c=w(a),M=c.createContext(null);function L(e,u,i){const t=a.useContext(g.MountedMapsContext),[s,b]=a.useState(null),f=a.useRef(),{current:l}=a.useRef({mapLib:null,map:null});a.useEffect(()=>{const h=e.mapLib;let d=!0,r;return Promise.resolve(h||i).then(o=>{if(!d)return;if(!o)throw new Error("Invalid mapLib");const n="Map"in o?o:o.default;if(!n.Map)throw new Error("Invalid mapLib");if(x(n,e),!n.supported||n.supported(e))e.reuseMaps&&(r=m.reuse(e,f.current)),r||(r=new m(n.Map,e,f.current)),l.map=y(r),l.mapLib=n,b(r),t==null||t.onMapMount(l.map,e.id);else throw new Error("Map is not supported by this browser")}).catch(o=>{const{onError:n}=e;n?n({type:"error",target:null,originalEvent:null,error:o}):console.error(o)}),()=>{d=!1,r&&(t==null||t.onMapUnmount(e.id),e.reuseMaps?r.recycle():r.destroy())}},[]),E(()=>{s&&s.setProps(e)}),a.useImperativeHandle(u,()=>l.map,[s]);const p=a.useMemo(()=>({position:"relative",width:"100%",height:"100%",...e.style}),[e.style]),v={height:"100%"};return c.createElement("div",{id:e.id,ref:f,style:p},s&&c.createElement(M.Provider,{value:l},c.createElement("div",{"mapboxgl-children":"",style:v},e.children)))}exports.MapContext=M;exports.default=L;
2
2
  //# sourceMappingURL=index.cjs70.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs70.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/popup.js"],"sourcesContent":["import { createPortal } from 'react-dom';\nimport { useImperativeHandle, useEffect, useMemo, useRef, useContext, forwardRef, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport { MapContext } from './map';\nimport { deepEqual } from '../utils/deep-equal';\n// Adapted from https://github.com/mapbox/mapbox-gl-js/blob/v1.13.0/src/ui/popup.js\nfunction getClassList(className) {\n return new Set(className ? className.trim().split(/\\s+/) : []);\n}\n/* eslint-disable complexity,max-statements */\nfunction Popup(props, ref) {\n const { map, mapLib } = useContext(MapContext);\n const container = useMemo(() => {\n return document.createElement('div');\n }, []);\n const thisRef = useRef({ props });\n thisRef.current.props = props;\n const popup = useMemo(() => {\n const options = { ...props };\n const pp = new mapLib.Popup(options);\n pp.setLngLat([props.longitude, props.latitude]);\n pp.once('open', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onOpen) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n return pp;\n }, []);\n useEffect(() => {\n const onClose = e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onClose) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n };\n popup.on('close', onClose);\n popup.setDOMContent(container).addTo(map.getMap());\n return () => {\n // https://github.com/visgl/react-map-gl/issues/1825\n // onClose should not be fired if the popup is removed by unmounting\n // When using React strict mode, the component is mounted twice.\n // Firing the onClose callback here would be a false signal to remove the component.\n popup.off('close', onClose);\n if (popup.isOpen()) {\n popup.remove();\n }\n };\n }, []);\n useEffect(() => {\n applyReactStyle(popup.getElement(), props.style);\n }, [props.style]);\n useImperativeHandle(ref, () => popup, []);\n if (popup.isOpen()) {\n if (popup.getLngLat().lng !== props.longitude || popup.getLngLat().lat !== props.latitude) {\n popup.setLngLat([props.longitude, props.latitude]);\n }\n if (props.offset && !deepEqual(popup.options.offset, props.offset)) {\n popup.setOffset(props.offset);\n }\n if (popup.options.anchor !== props.anchor || popup.options.maxWidth !== props.maxWidth) {\n popup.options.anchor = props.anchor;\n popup.setMaxWidth(props.maxWidth);\n }\n if (popup.options.className !== props.className) {\n const prevClassList = getClassList(popup.options.className);\n const nextClassList = getClassList(props.className);\n for (const c of prevClassList) {\n if (!nextClassList.has(c)) {\n popup.removeClassName(c);\n }\n }\n for (const c of nextClassList) {\n if (!prevClassList.has(c)) {\n popup.addClassName(c);\n }\n }\n popup.options.className = props.className;\n }\n }\n return createPortal(props.children, container);\n}\nexport default memo(forwardRef(Popup));\n//# sourceMappingURL=popup.js.map"],"names":["getClassList","className","Popup","props","ref","map","mapLib","useContext","MapContext","container","useMemo","thisRef","useRef","popup","options","pp","e","_a","_b","useEffect","onClose","applyReactStyle","useImperativeHandle","deepEqual","prevClassList","nextClassList","c","createPortal","memo","forwardRef"],"mappings":"yJAMA,SAASA,EAAaC,EAAW,CACtB,OAAA,IAAI,IAAIA,EAAYA,EAAU,OAAO,MAAM,KAAK,EAAI,CAAA,CAAE,CACjE,CAEA,SAASC,EAAMC,EAAOC,EAAK,CACvB,KAAM,CAAEC,IAAAA,EAAK,OAAAC,CAAO,EAAIC,aAAWC,EAAU,UAAA,EACvCC,EAAYC,EAAAA,QAAQ,IACf,SAAS,cAAc,KAAK,EACpC,CAAE,CAAA,EACCC,EAAUC,EAAAA,OAAO,CAAE,MAAAT,CAAO,CAAA,EAChCQ,EAAQ,QAAQ,MAAQR,EAClB,MAAAU,EAAQH,EAAAA,QAAQ,IAAM,CAClB,MAAAI,EAAU,CAAE,GAAGX,GACfY,EAAK,IAAIT,EAAO,MAAMQ,CAAO,EACnC,OAAAC,EAAG,UAAU,CAACZ,EAAM,UAAWA,EAAM,QAAQ,CAAC,EAC3CY,EAAA,KAAK,OAAaC,GAAA,CACjB,IAAIC,EAAIC,GACPA,GAAMD,EAAKN,EAAQ,QAAQ,OAAO,UAAY,MAAQO,IAAO,QAAkBA,EAAG,KAAKD,EAAID,CAAC,CAAA,CAChG,EACMD,CACX,EAAG,CAAE,CAAA,EAuBD,GAtBJI,EAAAA,UAAU,IAAM,CACZ,MAAMC,EAAeJ,GAAA,CACjB,IAAIC,EAAIC,GACPA,GAAMD,EAAKN,EAAQ,QAAQ,OAAO,WAAa,MAAQO,IAAO,QAAkBA,EAAG,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.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/map.js"],"sourcesContent":["import * as React from 'react';\nimport { useState, useRef, useEffect, useContext, useMemo, useImperativeHandle } from 'react';\nimport { MountedMapsContext } from './use-map';\nimport Mapbox from '../mapbox/mapbox';\nimport createRef from '../mapbox/create-ref';\nimport useIsomorphicLayoutEffect from '../utils/use-isomorphic-layout-effect';\nimport setGlobals from '../utils/set-globals';\nexport const MapContext = React.createContext(null);\nexport default function Map(props, ref, defaultLib) {\n const mountedMapsContext = useContext(MountedMapsContext);\n const [mapInstance, setMapInstance] = useState(null);\n const containerRef = useRef();\n const { current: contextValue } = useRef({ mapLib: null, map: null });\n useEffect(() => {\n const mapLib = props.mapLib;\n let isMounted = true;\n let mapbox;\n Promise.resolve(mapLib || defaultLib)\n .then((module) => {\n if (!isMounted) {\n return;\n }\n if (!module) {\n throw new Error('Invalid mapLib');\n }\n const mapboxgl = 'Map' in module ? module : module.default;\n if (!mapboxgl.Map) {\n throw new Error('Invalid mapLib');\n }\n // workerUrl & workerClass may change the result of supported()\n // https://github.com/visgl/react-map-gl/discussions/2027\n setGlobals(mapboxgl, props);\n if (!mapboxgl.supported || mapboxgl.supported(props)) {\n if (props.reuseMaps) {\n mapbox = Mapbox.reuse(props, containerRef.current);\n }\n if (!mapbox) {\n mapbox = new Mapbox(mapboxgl.Map, props, containerRef.current);\n }\n contextValue.map = createRef(mapbox);\n contextValue.mapLib = mapboxgl;\n setMapInstance(mapbox);\n mountedMapsContext === null || mountedMapsContext === void 0 ? void 0 : mountedMapsContext.onMapMount(contextValue.map, props.id);\n }\n else {\n throw new Error('Map is not supported by this browser');\n }\n })\n .catch(error => {\n const { onError } = props;\n if (onError) {\n onError({\n type: 'error',\n target: null,\n originalEvent: null,\n error\n });\n }\n else {\n console.error(error); // eslint-disable-line\n }\n });\n return () => {\n isMounted = false;\n if (mapbox) {\n mountedMapsContext === null || mountedMapsContext === void 0 ? void 0 : mountedMapsContext.onMapUnmount(props.id);\n if (props.reuseMaps) {\n mapbox.recycle();\n }\n else {\n mapbox.destroy();\n }\n }\n };\n }, []);\n useIsomorphicLayoutEffect(() => {\n if (mapInstance) {\n mapInstance.setProps(props);\n }\n });\n useImperativeHandle(ref, () => contextValue.map, [mapInstance]);\n const style = useMemo(() => ({\n position: 'relative',\n width: '100%',\n height: '100%',\n ...props.style\n }), [props.style]);\n const CHILD_CONTAINER_STYLE = {\n height: '100%'\n };\n return (React.createElement(\"div\", { id: props.id, ref: containerRef, style: style }, mapInstance && (React.createElement(MapContext.Provider, { value: contextValue },\n React.createElement(\"div\", { \"mapboxgl-children\": \"\", style: CHILD_CONTAINER_STYLE }, props.children)))));\n}\n//# sourceMappingURL=map.js.map"],"names":["MapContext","React","Map","props","ref","defaultLib","mountedMapsContext","useContext","MountedMapsContext","mapInstance","setMapInstance","useState","containerRef","useRef","contextValue","useEffect","mapLib","isMounted","mapbox","module","mapboxgl","setGlobals","Mapbox","createRef","error","onError","useIsomorphicLayoutEffect","useImperativeHandle","style","useMemo","CHILD_CONTAINER_STYLE"],"mappings":"yjBAOaA,EAAaC,EAAM,cAAc,IAAI,EAC1B,SAAAC,EAAIC,EAAOC,EAAKC,EAAY,CAC1C,MAAAC,EAAqBC,aAAWC,EAAAA,kBAAkB,EAClD,CAACC,EAAaC,CAAc,EAAIC,WAAS,IAAI,EAC7CC,EAAeC,EAAAA,SACf,CAAE,QAASC,CAAA,EAAiBD,EAAA,OAAO,CAAE,OAAQ,KAAM,IAAK,IAAA,CAAM,EACpEE,EAAAA,UAAU,IAAM,CACZ,MAAMC,EAASb,EAAM,OACrB,IAAIc,EAAY,GACZC,EACJ,eAAQ,QAAQF,GAAUX,CAAU,EAC/B,KAAMc,GAAW,CAClB,GAAI,CAACF,EACD,OAEJ,GAAI,CAACE,EACK,MAAA,IAAI,MAAM,gBAAgB,EAEpC,MAAMC,EAAW,QAASD,EAASA,EAASA,EAAO,QAC/C,GAAA,CAACC,EAAS,IACJ,MAAA,IAAI,MAAM,gBAAg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6B,CAAA,EAAyB3B,EAAM,QAAQ,CAAA,CAAG,CAC/G","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("react"),i=require("./index.cjs188.js"),r=require("./index.cjs16.js");function c(t){const n=r(({mapLib:o})=>new o.AttributionControl(t),{position:t.position});return e.useEffect(()=>{i.applyReactStyle(n._container,t.style)},[t.style]),null}e.memo(c);
1
+ "use strict";const o=require("react"),y=require("react-dom"),k=require("./index.cjs188.js"),D=require("./index.cjs70.js"),P=require("./index.cjs189.js");function q(n){const g=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const c in n)if(c!=="default"){const s=Object.getOwnPropertyDescriptor(n,c);Object.defineProperty(g,c,s.get?s:{enumerable:!0,get:()=>n[c]})}}return g.default=n,Object.freeze(g)}const O=q(o);function A(n,g){const{map:c,mapLib:s}=o.useContext(D.MapContext),u=o.useRef({props:n});u.current.props=n;const t=o.useMemo(()=>{let _=!1;O.Children.forEach(n.children,r=>{r&&(_=!0)});const h={...n,element:_?document.createElement("div"):null},i=new s.Marker(h);return i.setLngLat([n.longitude,n.latitude]),i.getElement().addEventListener("click",r=>{var a,e;(e=(a=u.current.props).onClick)===null||e===void 0||e.call(a,{type:"click",target:i,originalEvent:r})}),i.on("dragstart",r=>{var a,e;const l=r;l.lngLat=t.getLngLat(),(e=(a=u.current.props).onDragStart)===null||e===void 0||e.call(a,l)}),i.on("drag",r=>{var a,e;const l=r;l.lngLat=t.getLngLat(),(e=(a=u.current.props).onDrag)===null||e===void 0||e.call(a,l)}),i.on("dragend",r=>{var a,e;const l=r;l.lngLat=t.getLngLat(),(e=(a=u.current.props).onDragEnd)===null||e===void 0||e.call(a,l)}),i},[]);o.useEffect(()=>(t.addTo(c.getMap()),()=>{t.remove()}),[]);const{longitude:f,latitude:m,offset:d,style:p,draggable:v=!1,popup:L=null,rotation:b=0,rotationAlignment:E="auto",pitchAlignment:R="auto"}=n;return o.useEffect(()=>{k.applyReactStyle(t.getElement(),p)},[p]),o.useImperativeHandle(g,()=>t,[]),(t.getLngLat().lng!==f||t.getLngLat().lat!==m)&&t.setLngLat([f,m]),d&&!P.arePointsEqual(t.getOffset(),d)&&t.setOffset(d),t.isDraggable()!==v&&t.setDraggable(v),t.getRotation()!==b&&t.setRotation(b),t.getRotationAlignment()!==E&&t.setRotationAlignment(E),t.getPitchAlignment()!==R&&t.setPitchAlignment(R),t.getPopup()!==L&&t.setPopup(L),y.createPortal(n.children,t.getElement())}o.memo(o.forwardRef(A));
2
2
  //# sourceMappingURL=index.cjs71.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs71.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/attribution-control.js"],"sourcesContent":["import { useEffect, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport useControl from './use-control';\nfunction AttributionControl(props) {\n const ctrl = useControl(({ mapLib }) => new mapLib.AttributionControl(props), {\n position: props.position\n });\n useEffect(() => {\n applyReactStyle(ctrl._container, props.style);\n }, [props.style]);\n return null;\n}\nexport default memo(AttributionControl);\n//# sourceMappingURL=attribution-control.js.map"],"names":["AttributionControl","props","ctrl","useControl","mapLib","useEffect","applyReactStyle","memo"],"mappings":"mGAGA,SAASA,EAAmBC,EAAO,CACzB,MAAAC,EAAOC,EAAW,CAAC,CAAE,OAAAC,KAAa,IAAIA,EAAO,mBAAmBH,CAAK,EAAG,CAC1E,SAAUA,EAAM,QAAA,CACnB,EACDI,OAAAA,EAAAA,UAAU,IAAM,CACIC,EAAAA,gBAAAJ,EAAK,WAAYD,EAAM,KAAK,CAAA,EAC7C,CAACA,EAAM,KAAK,CAAC,EACT,IACX,CACeM,OAAKP,CAAkB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs71.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/marker.js"],"sourcesContent":["/* global document */\nimport * as React from 'react';\nimport { createPortal } from 'react-dom';\nimport { useImperativeHandle, useEffect, useMemo, useRef, useContext, forwardRef, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport { MapContext } from './map';\nimport { arePointsEqual } from '../utils/deep-equal';\n/* eslint-disable complexity,max-statements */\nfunction Marker(props, ref) {\n const { map, mapLib } = useContext(MapContext);\n const thisRef = useRef({ props });\n thisRef.current.props = props;\n const marker = useMemo(() => {\n let hasChildren = false;\n React.Children.forEach(props.children, el => {\n if (el) {\n hasChildren = true;\n }\n });\n const options = {\n ...props,\n element: hasChildren ? document.createElement('div') : null\n };\n const mk = new mapLib.Marker(options);\n mk.setLngLat([props.longitude, props.latitude]);\n mk.getElement().addEventListener('click', (e) => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onClick) === null || _b === void 0 ? void 0 : _b.call(_a, {\n type: 'click',\n target: mk,\n originalEvent: e\n });\n });\n mk.on('dragstart', e => {\n var _a, _b;\n const evt = e;\n evt.lngLat = marker.getLngLat();\n (_b = (_a = thisRef.current.props).onDragStart) === null || _b === void 0 ? void 0 : _b.call(_a, evt);\n });\n mk.on('drag', e => {\n var _a, _b;\n const evt = e;\n evt.lngLat = marker.getLngLat();\n (_b = (_a = thisRef.current.props).onDrag) === null || _b === void 0 ? void 0 : _b.call(_a, evt);\n });\n mk.on('dragend', e => {\n var _a, _b;\n const evt = e;\n evt.lngLat = marker.getLngLat();\n (_b = (_a = thisRef.current.props).onDragEnd) === null || _b === void 0 ? void 0 : _b.call(_a, evt);\n });\n return mk;\n }, []);\n useEffect(() => {\n marker.addTo(map.getMap());\n return () => {\n marker.remove();\n };\n }, []);\n const { longitude, latitude, offset, style, draggable = false, popup = null, rotation = 0, rotationAlignment = 'auto', pitchAlignment = 'auto' } = props;\n useEffect(() => {\n applyReactStyle(marker.getElement(), style);\n }, [style]);\n useImperativeHandle(ref, () => marker, []);\n if (marker.getLngLat().lng !== longitude || marker.getLngLat().lat !== latitude) {\n marker.setLngLat([longitude, latitude]);\n }\n if (offset && !arePointsEqual(marker.getOffset(), offset)) {\n marker.setOffset(offset);\n }\n if (marker.isDraggable() !== draggable) {\n marker.setDraggable(draggable);\n }\n if (marker.getRotation() !== rotation) {\n marker.setRotation(rotation);\n }\n if (marker.getRotationAlignment() !== rotationAlignment) {\n marker.setRotationAlignment(rotationAlignment);\n }\n if (marker.getPitchAlignment() !== pitchAlignment) {\n marker.setPitchAlignment(pitchAlignment);\n }\n if (marker.getPopup() !== popup) {\n marker.setPopup(popup);\n }\n return createPortal(props.children, marker.getElement());\n}\nexport default memo(forwardRef(Marker));\n//# sourceMappingURL=marker.js.map"],"names":["Marker","props","ref","map","mapLib","useContext","MapContext","thisRef","useRef","marker","useMemo","hasChildren","React","el","options","mk","e","_a","_b","evt","useEffect","longitude","latitude","offset","style","draggable","popup","rotation","rotationAlignment","pitchAlignment","applyReactStyle","useImperativeHandle","arePointsEqual","createPortal","memo","forwardRef"],"mappings":"mbAQA,SAASA,EAAOC,EAAOC,EAAK,CACxB,KAAM,CAAEC,IAAAA,EAAK,OAAAC,CAAO,EAAIC,aAAWC,EAAU,UAAA,EACvCC,EAAUC,EAAAA,OAAO,CAAE,MAAAP,CAAO,CAAA,EAChCM,EAAQ,QAAQ,MAAQN,EAClB,MAAAQ,EAASC,EAAAA,QAAQ,IAAM,CACzB,IAAIC,EAAc,GAClBC,EAAM,SAAS,QAAQX,EAAM,SAAgBY,GAAA,CACrCA,IACcF,EAAA,GAClB,CACH,EACD,MAAMG,EAAU,CACZ,GAAGb,EACH,QAASU,EAAc,SAAS,cAAc,KAAK,EAAI,IAAA,EAErDI,EAAK,IAAIX,EAAO,OAAOU,CAAO,EACpC,OAAAC,EAAG,UAAU,CAACd,EAAM,UAAWA,EAAM,QAAQ,CAAC,EAC9Cc,EAAG,WAAW,EAAE,iBAAiB,QAAUC,GAAM,CAC7C,IAAIC,EAAIC,GACPA,GAAMD,EAAKV,EAAQ,QAAQ,OAAO,WAAa,MAAQW,IAAO,QAAkBA,EAAG,KAAKD,EAAI,CACzF,KAAM,QACN,OAAQF,EACR,cAAeC,CAAA,CAClB,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EAEtCC,GAAU,CAACS,EAAA,eAAevB,EAAO,UAAU,EAAGc,CAAM,GACpDd,EAAO,UAAUc,CAAM,EAEvBd,EAAO,YAAY,IAAMgB,GACzBhB,EAAO,aAAagB,CAAS,EAE7BhB,EAAO,YAAY,IAAMkB,GACzBlB,EAAO,YAAYkB,CAAQ,EAE3BlB,EAAO,qBAAqB,IAAMmB,GAClCnB,EAAO,qBAAqBmB,CAAiB,EAE7CnB,EAAO,kBAAkB,IAAMoB,GAC/BpB,EAAO,kBAAkBoB,CAAc,EAEvCpB,EAAO,SAAS,IAAMiB,GACtBjB,EAAO,SAASiB,CAAK,EAElBO,EAAAA,aAAahC,EAAM,SAAUQ,EAAO,WAAY,CAAA,CAC3D,CACeyB,EAAAA,KAAKC,EAAAA,WAAWnC,CAAM,CAAC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("react"),l=require("./index.cjs188.js"),c=require("./index.cjs16.js");function r(e){const n=c(({mapLib:o})=>new o.FullscreenControl({container:e.containerId&&document.getElementById(e.containerId)}),{position:e.position});return t.useEffect(()=>{l.applyReactStyle(n._controlContainer,e.style)},[e.style]),null}const i=t.memo(r);module.exports=i;
1
+ "use strict";const g=require("react-dom"),a=require("react"),h=require("./index.cjs188.js"),L=require("./index.cjs70.js"),v=require("./index.cjs189.js");function f(e){return new Set(e?e.trim().split(/\s+/):[])}function C(e,r){const{map:m,mapLib:d}=a.useContext(L.MapContext),u=a.useMemo(()=>document.createElement("div"),[]),c=a.useRef({props:e});c.current.props=e;const t=a.useMemo(()=>{const s={...e},o=new d.Popup(s);return o.setLngLat([e.longitude,e.latitude]),o.once("open",n=>{var i,l;(l=(i=c.current.props).onOpen)===null||l===void 0||l.call(i,n)}),o},[]);if(a.useEffect(()=>{const s=o=>{var n,i;(i=(n=c.current.props).onClose)===null||i===void 0||i.call(n,o)};return t.on("close",s),t.setDOMContent(u).addTo(m.getMap()),()=>{t.off("close",s),t.isOpen()&&t.remove()}},[]),a.useEffect(()=>{h.applyReactStyle(t.getElement(),e.style)},[e.style]),a.useImperativeHandle(r,()=>t,[]),t.isOpen()&&((t.getLngLat().lng!==e.longitude||t.getLngLat().lat!==e.latitude)&&t.setLngLat([e.longitude,e.latitude]),e.offset&&!v.deepEqual(t.options.offset,e.offset)&&t.setOffset(e.offset),(t.options.anchor!==e.anchor||t.options.maxWidth!==e.maxWidth)&&(t.options.anchor=e.anchor,t.setMaxWidth(e.maxWidth)),t.options.className!==e.className)){const s=f(t.options.className),o=f(e.className);for(const n of s)o.has(n)||t.removeClassName(n);for(const n of o)s.has(n)||t.addClassName(n);t.options.className=e.className}return g.createPortal(e.children,u)}a.memo(a.forwardRef(C));
2
2
  //# sourceMappingURL=index.cjs72.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs72.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/fullscreen-control.js"],"sourcesContent":["import { useEffect, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport useControl from './use-control';\nfunction FullscreenControl(props) {\n const ctrl = useControl(({ mapLib }) => new mapLib.FullscreenControl({\n container: props.containerId && document.getElementById(props.containerId)\n }), { position: props.position });\n useEffect(() => {\n applyReactStyle(ctrl._controlContainer, props.style);\n }, [props.style]);\n return null;\n}\nexport default memo(FullscreenControl);\n//# sourceMappingURL=fullscreen-control.js.map"],"names":["FullscreenControl","props","ctrl","useControl","mapLib","useEffect","applyReactStyle","memo"],"mappings":"mGAGA,SAASA,EAAkBC,EAAO,CACxB,MAAAC,EAAOC,EAAW,CAAC,CAAE,OAAAC,KAAa,IAAIA,EAAO,kBAAkB,CACjE,UAAWH,EAAM,aAAe,SAAS,eAAeA,EAAM,WAAW,CAC5E,CAAA,EAAG,CAAE,SAAUA,EAAM,QAAU,CAAA,EAChCI,OAAAA,EAAAA,UAAU,IAAM,CACIC,EAAAA,gBAAAJ,EAAK,kBAAmBD,EAAM,KAAK,CAAA,EACpD,CAACA,EAAM,KAAK,CAAC,EACT,IACX,CACA,MAAeM,EAAAA,EAAAA,KAAKP,CAAiB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs72.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/popup.js"],"sourcesContent":["import { createPortal } from 'react-dom';\nimport { useImperativeHandle, useEffect, useMemo, useRef, useContext, forwardRef, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport { MapContext } from './map';\nimport { deepEqual } from '../utils/deep-equal';\n// Adapted from https://github.com/mapbox/mapbox-gl-js/blob/v1.13.0/src/ui/popup.js\nfunction getClassList(className) {\n return new Set(className ? className.trim().split(/\\s+/) : []);\n}\n/* eslint-disable complexity,max-statements */\nfunction Popup(props, ref) {\n const { map, mapLib } = useContext(MapContext);\n const container = useMemo(() => {\n return document.createElement('div');\n }, []);\n const thisRef = useRef({ props });\n thisRef.current.props = props;\n const popup = useMemo(() => {\n const options = { ...props };\n const pp = new mapLib.Popup(options);\n pp.setLngLat([props.longitude, props.latitude]);\n pp.once('open', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onOpen) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n return pp;\n }, []);\n useEffect(() => {\n const onClose = e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onClose) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n };\n popup.on('close', onClose);\n popup.setDOMContent(container).addTo(map.getMap());\n return () => {\n // https://github.com/visgl/react-map-gl/issues/1825\n // onClose should not be fired if the popup is removed by unmounting\n // When using React strict mode, the component is mounted twice.\n // Firing the onClose callback here would be a false signal to remove the component.\n popup.off('close', onClose);\n if (popup.isOpen()) {\n popup.remove();\n }\n };\n }, []);\n useEffect(() => {\n applyReactStyle(popup.getElement(), props.style);\n }, [props.style]);\n useImperativeHandle(ref, () => popup, []);\n if (popup.isOpen()) {\n if (popup.getLngLat().lng !== props.longitude || popup.getLngLat().lat !== props.latitude) {\n popup.setLngLat([props.longitude, props.latitude]);\n }\n if (props.offset && !deepEqual(popup.options.offset, props.offset)) {\n popup.setOffset(props.offset);\n }\n if (popup.options.anchor !== props.anchor || popup.options.maxWidth !== props.maxWidth) {\n popup.options.anchor = props.anchor;\n popup.setMaxWidth(props.maxWidth);\n }\n if (popup.options.className !== props.className) {\n const prevClassList = getClassList(popup.options.className);\n const nextClassList = getClassList(props.className);\n for (const c of prevClassList) {\n if (!nextClassList.has(c)) {\n popup.removeClassName(c);\n }\n }\n for (const c of nextClassList) {\n if (!prevClassList.has(c)) {\n popup.addClassName(c);\n }\n }\n popup.options.className = props.className;\n }\n }\n return createPortal(props.children, container);\n}\nexport default memo(forwardRef(Popup));\n//# sourceMappingURL=popup.js.map"],"names":["getClassList","className","Popup","props","ref","map","mapLib","useContext","MapContext","container","useMemo","thisRef","useRef","popup","options","pp","e","_a","_b","useEffect","onClose","applyReactStyle","useImperativeHandle","deepEqual","prevClassList","nextClassList","c","createPortal","memo","forwardRef"],"mappings":"yJAMA,SAASA,EAAaC,EAAW,CACtB,OAAA,IAAI,IAAIA,EAAYA,EAAU,OAAO,MAAM,KAAK,EAAI,CAAA,CAAE,CACjE,CAEA,SAASC,EAAMC,EAAOC,EAAK,CACvB,KAAM,CAAEC,IAAAA,EAAK,OAAAC,CAAO,EAAIC,aAAWC,EAAU,UAAA,EACvCC,EAAYC,EAAAA,QAAQ,IACf,SAAS,cAAc,KAAK,EACpC,CAAE,CAAA,EACCC,EAAUC,EAAAA,OAAO,CAAE,MAAAT,CAAO,CAAA,EAChCQ,EAAQ,QAAQ,MAAQR,EAClB,MAAAU,EAAQH,EAAAA,QAAQ,IAAM,CAClB,MAAAI,EAAU,CAAE,GAAGX,GACfY,EAAK,IAAIT,EAAO,MAAMQ,CAAO,EACnC,OAAAC,EAAG,UAAU,CAACZ,EAAM,UAAWA,EAAM,QAAQ,CAAC,EAC3CY,EAAA,KAAK,OAAaC,GAAA,CACjB,IAAIC,EAAIC,GACPA,GAAMD,EAAKN,EAAQ,QAAQ,OAAO,UAAY,MAAQO,IA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AKD,EACPD,EAAc,IAAIE,CAAC,GACpBb,EAAM,aAAaa,CAAC,EAGtBb,EAAA,QAAQ,UAAYV,EAAM,SACpC,CAEG,OAAAwB,eAAaxB,EAAM,SAAUM,CAAS,CACjD,CACemB,EAAAA,KAAKC,EAAAA,WAAW3B,CAAK,CAAC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const c=require("react"),d=require("./index.cjs188.js"),v=require("./index.cjs16.js");function _(n,u){const a=c.useRef({props:n}),l=v(({mapLib:s})=>{const r=new s.GeolocateControl(n),i=r._setupUI;return r._setupUI=t=>{r._container.hasChildNodes()||i(t)},r.on("geolocate",t=>{var e,o;(o=(e=a.current.props).onGeolocate)===null||o===void 0||o.call(e,t)}),r.on("error",t=>{var e,o;(o=(e=a.current.props).onError)===null||o===void 0||o.call(e,t)}),r.on("outofmaxbounds",t=>{var e,o;(o=(e=a.current.props).onOutOfMaxBounds)===null||o===void 0||o.call(e,t)}),r.on("trackuserlocationstart",t=>{var e,o;(o=(e=a.current.props).onTrackUserLocationStart)===null||o===void 0||o.call(e,t)}),r.on("trackuserlocationend",t=>{var e,o;(o=(e=a.current.props).onTrackUserLocationEnd)===null||o===void 0||o.call(e,t)}),r},{position:n.position});return a.current.props=n,c.useImperativeHandle(u,()=>l,[]),c.useEffect(()=>{d.applyReactStyle(l._container,n.style)},[n.style]),null}c.memo(c.forwardRef(_));
1
+ "use strict";const e=require("react"),i=require("./index.cjs188.js"),r=require("./index.cjs16.js");function c(t){const n=r(({mapLib:o})=>new o.AttributionControl(t),{position:t.position});return e.useEffect(()=>{i.applyReactStyle(n._container,t.style)},[t.style]),null}e.memo(c);
2
2
  //# sourceMappingURL=index.cjs73.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs73.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/geolocate-control.js"],"sourcesContent":["import { useImperativeHandle, useRef, useEffect, forwardRef, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport useControl from './use-control';\nfunction GeolocateControl(props, ref) {\n const thisRef = useRef({ props });\n const ctrl = useControl(({ mapLib }) => {\n const gc = new mapLib.GeolocateControl(props);\n // Hack: fix GeolocateControl reuse\n // When using React strict mode, the component is mounted twice.\n // GeolocateControl's UI creation is asynchronous. Removing and adding it back causes the UI to be initialized twice.\n // @ts-expect-error private method\n const setupUI = gc._setupUI;\n // @ts-expect-error private method\n gc._setupUI = args => {\n if (!gc._container.hasChildNodes()) {\n setupUI(args);\n }\n };\n gc.on('geolocate', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onGeolocate) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n gc.on('error', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onError) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n gc.on('outofmaxbounds', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onOutOfMaxBounds) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n gc.on('trackuserlocationstart', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onTrackUserLocationStart) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n gc.on('trackuserlocationend', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onTrackUserLocationEnd) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n return gc;\n }, { position: props.position });\n thisRef.current.props = props;\n useImperativeHandle(ref, () => ctrl, []);\n useEffect(() => {\n applyReactStyle(ctrl._container, props.style);\n }, [props.style]);\n return null;\n}\nexport default memo(forwardRef(GeolocateControl));\n//# sourceMappingURL=geolocate-control.js.map"],"names":["GeolocateControl","props","ref","thisRef","useRef","ctrl","useControl","mapLib","gc","setupUI","args","e","_a","_b","useImperativeHandle","useEffect","applyReactStyle","memo","forwardRef"],"mappings":"mGAGA,SAASA,EAAiBC,EAAOC,EAAK,CAClC,MAAMC,EAAUC,EAAAA,OAAO,CAAE,MAAAH,CAAO,CAAA,EAC1BI,EAAOC,EAAW,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AC,EACT,IACX,CACegB,EAAAA,KAAKC,EAAAA,WAAWlB,CAAgB,CAAC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs73.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/attribution-control.js"],"sourcesContent":["import { useEffect, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport useControl from './use-control';\nfunction AttributionControl(props) {\n const ctrl = useControl(({ mapLib }) => new mapLib.AttributionControl(props), {\n position: props.position\n });\n useEffect(() => {\n applyReactStyle(ctrl._container, props.style);\n }, [props.style]);\n return null;\n}\nexport default memo(AttributionControl);\n//# sourceMappingURL=attribution-control.js.map"],"names":["AttributionControl","props","ctrl","useControl","mapLib","useEffect","applyReactStyle","memo"],"mappings":"mGAGA,SAASA,EAAmBC,EAAO,CACzB,MAAAC,EAAOC,EAAW,CAAC,CAAE,OAAAC,KAAa,IAAIA,EAAO,mBAAmBH,CAAK,EAAG,CAC1E,SAAUA,EAAM,QAAA,CACnB,EACDI,OAAAA,EAAAA,UAAU,IAAM,CACIC,EAAAA,gBAAAJ,EAAK,WAAYD,EAAM,KAAK,CAAA,EAC7C,CAACA,EAAM,KAAK,CAAC,EACT,IACX,CACeM,OAAKP,CAAkB","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("react"),i=require("./index.cjs188.js"),c=require("./index.cjs16.js");function l(t){const n=c(({mapLib:o})=>new o.NavigationControl(t),{position:t.position});return e.useEffect(()=>{i.applyReactStyle(n._container,t.style)},[t.style]),null}const r=e.memo(l);module.exports=r;
1
+ "use strict";const t=require("react"),l=require("./index.cjs188.js"),c=require("./index.cjs16.js");function r(e){const n=c(({mapLib:o})=>new o.FullscreenControl({container:e.containerId&&document.getElementById(e.containerId)}),{position:e.position});return t.useEffect(()=>{l.applyReactStyle(n._controlContainer,e.style)},[e.style]),null}const i=t.memo(r);module.exports=i;
2
2
  //# sourceMappingURL=index.cjs74.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs74.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/navigation-control.js"],"sourcesContent":["import { useEffect, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport useControl from './use-control';\nfunction NavigationControl(props) {\n const ctrl = useControl(({ mapLib }) => new mapLib.NavigationControl(props), {\n position: props.position\n });\n useEffect(() => {\n applyReactStyle(ctrl._container, props.style);\n }, [props.style]);\n return null;\n}\nexport default memo(NavigationControl);\n//# sourceMappingURL=navigation-control.js.map"],"names":["NavigationControl","props","ctrl","useControl","mapLib","useEffect","applyReactStyle","memo"],"mappings":"mGAGA,SAASA,EAAkBC,EAAO,CACxB,MAAAC,EAAOC,EAAW,CAAC,CAAE,OAAAC,KAAa,IAAIA,EAAO,kBAAkBH,CAAK,EAAG,CACzE,SAAUA,EAAM,QAAA,CACnB,EACDI,OAAAA,EAAAA,UAAU,IAAM,CACIC,EAAAA,gBAAAJ,EAAK,WAAYD,EAAM,KAAK,CAAA,EAC7C,CAACA,EAAM,KAAK,CAAC,EACT,IACX,CACA,MAAeM,EAAAA,EAAAA,KAAKP,CAAiB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs74.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/fullscreen-control.js"],"sourcesContent":["import { useEffect, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport useControl from './use-control';\nfunction FullscreenControl(props) {\n const ctrl = useControl(({ mapLib }) => new mapLib.FullscreenControl({\n container: props.containerId && document.getElementById(props.containerId)\n }), { position: props.position });\n useEffect(() => {\n applyReactStyle(ctrl._controlContainer, props.style);\n }, [props.style]);\n return null;\n}\nexport default memo(FullscreenControl);\n//# sourceMappingURL=fullscreen-control.js.map"],"names":["FullscreenControl","props","ctrl","useControl","mapLib","useEffect","applyReactStyle","memo"],"mappings":"mGAGA,SAASA,EAAkBC,EAAO,CACxB,MAAAC,EAAOC,EAAW,CAAC,CAAE,OAAAC,KAAa,IAAIA,EAAO,kBAAkB,CACjE,UAAWH,EAAM,aAAe,SAAS,eAAeA,EAAM,WAAW,CAC5E,CAAA,EAAG,CAAE,SAAUA,EAAM,QAAU,CAAA,EAChCI,OAAAA,EAAAA,UAAU,IAAM,CACIC,EAAAA,gBAAAJ,EAAK,kBAAmBD,EAAM,KAAK,CAAA,EACpD,CAACA,EAAM,KAAK,CAAC,EACT,IACX,CACA,MAAeM,EAAAA,EAAAA,KAAKP,CAAiB","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("react"),a=require("./index.cjs188.js"),l=require("./index.cjs16.js");function r(t){const e=l(({mapLib:u})=>new u.ScaleControl(t),{position:t.position}),i=n.useRef(t),c=i.current;i.current=t;const{style:o}=t;return t.maxWidth!==void 0&&t.maxWidth!==c.maxWidth&&(e.options.maxWidth=t.maxWidth),t.unit!==void 0&&t.unit!==c.unit&&e.setUnit(t.unit),n.useEffect(()=>{a.applyReactStyle(e._container,o)},[o]),null}n.memo(r);
1
+ "use strict";const c=require("react"),d=require("./index.cjs188.js"),v=require("./index.cjs16.js");function _(n,u){const a=c.useRef({props:n}),l=v(({mapLib:s})=>{const r=new s.GeolocateControl(n),i=r._setupUI;return r._setupUI=t=>{r._container.hasChildNodes()||i(t)},r.on("geolocate",t=>{var e,o;(o=(e=a.current.props).onGeolocate)===null||o===void 0||o.call(e,t)}),r.on("error",t=>{var e,o;(o=(e=a.current.props).onError)===null||o===void 0||o.call(e,t)}),r.on("outofmaxbounds",t=>{var e,o;(o=(e=a.current.props).onOutOfMaxBounds)===null||o===void 0||o.call(e,t)}),r.on("trackuserlocationstart",t=>{var e,o;(o=(e=a.current.props).onTrackUserLocationStart)===null||o===void 0||o.call(e,t)}),r.on("trackuserlocationend",t=>{var e,o;(o=(e=a.current.props).onTrackUserLocationEnd)===null||o===void 0||o.call(e,t)}),r},{position:n.position});return a.current.props=n,c.useImperativeHandle(u,()=>l,[]),c.useEffect(()=>{d.applyReactStyle(l._container,n.style)},[n.style]),null}c.memo(c.forwardRef(_));
2
2
  //# sourceMappingURL=index.cjs75.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs75.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/scale-control.js"],"sourcesContent":["import { useEffect, useRef, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport useControl from './use-control';\nfunction ScaleControl(props) {\n const ctrl = useControl(({ mapLib }) => new mapLib.ScaleControl(props), {\n position: props.position\n });\n const propsRef = useRef(props);\n const prevProps = propsRef.current;\n propsRef.current = props;\n const { style } = props;\n if (props.maxWidth !== undefined && props.maxWidth !== prevProps.maxWidth) {\n ctrl.options.maxWidth = props.maxWidth;\n }\n if (props.unit !== undefined && props.unit !== prevProps.unit) {\n ctrl.setUnit(props.unit);\n }\n useEffect(() => {\n applyReactStyle(ctrl._container, style);\n }, [style]);\n return null;\n}\nexport default memo(ScaleControl);\n//# sourceMappingURL=scale-control.js.map"],"names":["ScaleControl","props","ctrl","useControl","mapLib","propsRef","useRef","prevProps","style","useEffect","applyReactStyle","memo"],"mappings":"mGAGA,SAASA,EAAaC,EAAO,CACnB,MAAAC,EAAOC,EAAW,CAAC,CAAE,OAAAC,KAAa,IAAIA,EAAO,aAAaH,CAAK,EAAG,CACpE,SAAUA,EAAM,QAAA,CACnB,EACKI,EAAWC,SAAOL,CAAK,EACvBM,EAAYF,EAAS,QAC3BA,EAAS,QAAUJ,EACb,KAAA,CAAE,MAAAO,CAAU,EAAAP,EAClB,OAAIA,EAAM,WAAa,QAAaA,EAAM,WAAaM,EAAU,WACxDL,EAAA,QAAQ,SAAWD,EAAM,UAE9BA,EAAM,OAAS,QAAaA,EAAM,OAASM,EAAU,MAChDL,EAAA,QAAQD,EAAM,IAAI,EAE3BQ,EAAAA,UAAU,IAAM,CACIC,EAAAA,gBAAAR,EAAK,WAAYM,CAAK,CAAA,EACvC,CAACA,CAAK,CAAC,EACH,IACX,CACeG,OAAKX,CAAY","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs75.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/geolocate-control.js"],"sourcesContent":["import { useImperativeHandle, useRef, useEffect, forwardRef, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport useControl from './use-control';\nfunction GeolocateControl(props, ref) {\n const thisRef = useRef({ props });\n const ctrl = useControl(({ mapLib }) => {\n const gc = new mapLib.GeolocateControl(props);\n // Hack: fix GeolocateControl reuse\n // When using React strict mode, the component is mounted twice.\n // GeolocateControl's UI creation is asynchronous. Removing and adding it back causes the UI to be initialized twice.\n // @ts-expect-error private method\n const setupUI = gc._setupUI;\n // @ts-expect-error private method\n gc._setupUI = args => {\n if (!gc._container.hasChildNodes()) {\n setupUI(args);\n }\n };\n gc.on('geolocate', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onGeolocate) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n gc.on('error', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onError) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n gc.on('outofmaxbounds', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onOutOfMaxBounds) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n gc.on('trackuserlocationstart', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onTrackUserLocationStart) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n gc.on('trackuserlocationend', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onTrackUserLocationEnd) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n return gc;\n }, { position: props.position });\n thisRef.current.props = props;\n useImperativeHandle(ref, () => ctrl, []);\n useEffect(() => {\n applyReactStyle(ctrl._container, props.style);\n }, [props.style]);\n return null;\n}\nexport default memo(forwardRef(GeolocateControl));\n//# sourceMappingURL=geolocate-control.js.map"],"names":["GeolocateControl","props","ref","thisRef","useRef","ctrl","useControl","mapLib","gc","setupUI","args","e","_a","_b","useImperativeHandle","useEffect","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