@performant-software/geospatial 3.0.6-beta.9 → 3.0.6
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.
- package/dist/index.cjs101.js +1 -1
- package/dist/index.cjs102.js +1 -1
- package/dist/index.cjs103.js +1 -1
- package/dist/index.cjs104.js +1 -1
- package/dist/index.cjs109.js +1 -1
- package/dist/index.cjs110.js +1 -1
- package/dist/index.cjs111.js +1 -1
- package/dist/index.cjs112.js +1 -1
- package/dist/index.cjs115.js +1 -1
- package/dist/index.cjs116.js +1 -1
- package/dist/index.cjs117.js +1 -1
- package/dist/index.cjs121.js +1 -1
- package/dist/index.cjs124.js +1 -1
- package/dist/index.cjs128.js +1 -1
- package/dist/index.cjs131.js +1 -1
- package/dist/index.cjs139.js +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs140.js +1 -1
- package/dist/index.cjs141.js +1 -1
- package/dist/index.cjs142.js +1 -1
- package/dist/index.cjs143.js +1 -1
- package/dist/index.cjs144.js +1 -1
- package/dist/index.cjs145.js +1 -1
- package/dist/index.cjs147.js +1 -1
- package/dist/index.cjs148.js +1 -1
- package/dist/index.cjs149.js +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs150.js +1 -1
- package/dist/index.cjs151.js +1 -1
- package/dist/index.cjs152.js +1 -1
- package/dist/index.cjs153.js +1 -1
- package/dist/index.cjs154.js +1 -1
- package/dist/index.cjs155.js +1 -1
- package/dist/index.cjs158.js +1 -1
- package/dist/index.cjs159.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs161.js +1 -1
- package/dist/index.cjs162.js +1 -1
- package/dist/index.cjs163.js +1 -1
- package/dist/index.cjs164.js +1 -1
- package/dist/index.cjs165.js +1 -1
- package/dist/index.cjs166.js +1 -1
- package/dist/index.cjs167.js +1 -1
- package/dist/index.cjs168.js +1 -1
- package/dist/index.cjs174.js +1 -1
- package/dist/index.cjs175.js +1 -1
- package/dist/index.cjs176.js +1 -1
- package/dist/index.cjs177.js +1 -1
- package/dist/index.cjs178.js +1 -1
- package/dist/index.cjs181.js +1 -1
- package/dist/index.cjs182.js +1 -1
- package/dist/index.cjs183.js +1 -1
- package/dist/index.cjs184.js +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs206.js +1 -1
- package/dist/index.cjs206.js.map +1 -1
- package/dist/index.cjs207.js +1 -1
- package/dist/index.cjs207.js.map +1 -1
- package/dist/index.cjs208.js +1 -1
- package/dist/index.cjs208.js.map +1 -1
- package/dist/index.cjs209.js +1 -1
- package/dist/index.cjs209.js.map +1 -1
- package/dist/index.cjs210.js +1 -1
- package/dist/index.cjs210.js.map +1 -1
- package/dist/index.cjs211.js +1 -1
- package/dist/index.cjs211.js.map +1 -1
- package/dist/index.cjs212.js +1 -1
- package/dist/index.cjs212.js.map +1 -1
- package/dist/index.cjs213.js +1 -1
- package/dist/index.cjs213.js.map +1 -1
- package/dist/index.cjs214.js +1 -1
- package/dist/index.cjs214.js.map +1 -1
- package/dist/index.cjs215.js +1 -1
- package/dist/index.cjs215.js.map +1 -1
- package/dist/index.cjs216.js +1 -1
- package/dist/index.cjs216.js.map +1 -1
- package/dist/index.cjs217.js +1 -1
- package/dist/index.cjs217.js.map +1 -1
- package/dist/index.cjs218.js +1 -1
- package/dist/index.cjs218.js.map +1 -1
- package/dist/index.cjs219.js +1 -1
- package/dist/index.cjs219.js.map +1 -1
- package/dist/index.cjs220.js +1 -1
- package/dist/index.cjs220.js.map +1 -1
- package/dist/index.cjs221.js +1 -1
- package/dist/index.cjs221.js.map +1 -1
- package/dist/index.cjs222.js +1 -1
- package/dist/index.cjs222.js.map +1 -1
- package/dist/index.cjs223.js +1 -1
- package/dist/index.cjs223.js.map +1 -1
- package/dist/index.cjs224.js +1 -1
- package/dist/index.cjs224.js.map +1 -1
- package/dist/index.cjs225.js +1 -1
- package/dist/index.cjs225.js.map +1 -1
- package/dist/index.cjs226.js +1 -1
- package/dist/index.cjs226.js.map +1 -1
- package/dist/index.cjs227.js +1 -1
- package/dist/index.cjs227.js.map +1 -1
- package/dist/index.cjs228.js +1 -1
- package/dist/index.cjs228.js.map +1 -1
- package/dist/index.cjs229.js +1 -1
- package/dist/index.cjs229.js.map +1 -1
- package/dist/index.cjs230.js +1 -1
- package/dist/index.cjs230.js.map +1 -1
- package/dist/index.cjs231.js +1 -1
- package/dist/index.cjs231.js.map +1 -1
- package/dist/index.cjs232.js +1 -1
- package/dist/index.cjs232.js.map +1 -1
- package/dist/index.cjs233.js +1 -1
- package/dist/index.cjs233.js.map +1 -1
- package/dist/index.cjs234.js +1 -1
- package/dist/index.cjs234.js.map +1 -1
- package/dist/index.cjs235.js +1 -1
- package/dist/index.cjs235.js.map +1 -1
- package/dist/index.cjs236.js +1 -1
- package/dist/index.cjs236.js.map +1 -1
- package/dist/index.cjs237.js +1 -1
- package/dist/index.cjs237.js.map +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs250.js +1 -1
- package/dist/index.cjs251.js +1 -1
- package/dist/index.cjs254.js +1 -1
- package/dist/index.cjs258.js +1 -1
- package/dist/index.cjs258.js.map +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs260.js +1 -1
- package/dist/index.cjs260.js.map +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs29.js +1 -1
- package/dist/index.cjs30.js +1 -1
- package/dist/index.cjs31.js +1 -1
- package/dist/index.cjs33.js +1 -1
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs37.js +1 -1
- package/dist/index.cjs38.js +1 -1
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs43.js +1 -1
- package/dist/index.cjs44.js +1 -1
- package/dist/index.cjs45.js +1 -1
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs48.js +1 -1
- package/dist/index.cjs5.js +1 -1
- package/dist/index.cjs5.js.map +1 -1
- package/dist/index.cjs50.js +1 -1
- package/dist/index.cjs52.js +1 -1
- package/dist/index.cjs61.js +1 -1
- package/dist/index.cjs62.js +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs68.js.map +1 -1
- package/dist/index.cjs69.js +1 -1
- package/dist/index.cjs69.js.map +1 -1
- package/dist/index.cjs70.js +1 -1
- package/dist/index.cjs70.js.map +1 -1
- package/dist/index.cjs71.js +1 -1
- package/dist/index.cjs71.js.map +1 -1
- package/dist/index.cjs72.js +1 -1
- package/dist/index.cjs72.js.map +1 -1
- package/dist/index.cjs73.js +1 -1
- package/dist/index.cjs73.js.map +1 -1
- package/dist/index.cjs74.js +1 -1
- package/dist/index.cjs74.js.map +1 -1
- package/dist/index.cjs75.js +1 -1
- package/dist/index.cjs75.js.map +1 -1
- package/dist/index.cjs76.js +1 -1
- package/dist/index.cjs76.js.map +1 -1
- package/dist/index.cjs77.js +1 -1
- package/dist/index.cjs77.js.map +1 -1
- package/dist/index.cjs78.js +1 -1
- package/dist/index.cjs78.js.map +1 -1
- package/dist/index.cjs80.js +1 -1
- package/dist/index.cjs87.js +1 -1
- package/dist/index.cjs88.js +1 -1
- package/dist/index.cjs89.js +1 -1
- package/dist/index.cjs90.js +1 -1
- package/dist/index.cjs91.js +1 -1
- package/dist/index.cjs92.js +1 -1
- package/dist/index.cjs93.js +1 -1
- package/dist/index.cjs94.js +1 -1
- package/dist/index.cjs95.js +1 -1
- package/dist/index.cjs98.js +1 -1
- package/dist/index.cjs99.js +1 -1
- package/dist/index.es101.js +3 -3
- package/dist/index.es102.js +1 -1
- package/dist/index.es103.js +2 -2
- package/dist/index.es104.js +1 -1
- package/dist/index.es109.js +1 -1
- package/dist/index.es110.js +1 -1
- package/dist/index.es111.js +1 -1
- package/dist/index.es112.js +1 -1
- package/dist/index.es115.js +2 -2
- package/dist/index.es116.js +2 -2
- package/dist/index.es117.js +1 -1
- package/dist/index.es121.js +2 -2
- package/dist/index.es124.js +1 -1
- package/dist/index.es128.js +1 -1
- package/dist/index.es131.js +1 -1
- package/dist/index.es139.js +1 -1
- package/dist/index.es14.js +1 -1
- package/dist/index.es140.js +1 -1
- package/dist/index.es141.js +1 -1
- package/dist/index.es142.js +2 -2
- package/dist/index.es143.js +1 -1
- package/dist/index.es144.js +1 -1
- package/dist/index.es145.js +1 -1
- package/dist/index.es147.js +2 -2
- package/dist/index.es148.js +2 -2
- package/dist/index.es149.js +1 -1
- package/dist/index.es15.js +5 -5
- package/dist/index.es150.js +1 -1
- package/dist/index.es151.js +1 -1
- package/dist/index.es152.js +1 -1
- package/dist/index.es153.js +2 -2
- package/dist/index.es154.js +2 -2
- package/dist/index.es155.js +1 -1
- package/dist/index.es158.js +2 -2
- package/dist/index.es159.js +2 -2
- package/dist/index.es16.js +1 -1
- package/dist/index.es161.js +2 -2
- package/dist/index.es162.js +1 -1
- package/dist/index.es163.js +2 -2
- package/dist/index.es164.js +1 -1
- package/dist/index.es165.js +2 -2
- package/dist/index.es166.js +1 -1
- package/dist/index.es167.js +1 -1
- package/dist/index.es168.js +1 -1
- package/dist/index.es174.js +1 -1
- package/dist/index.es175.js +2 -2
- package/dist/index.es176.js +1 -1
- package/dist/index.es177.js +1 -1
- package/dist/index.es178.js +1 -1
- package/dist/index.es181.js +1 -1
- package/dist/index.es182.js +1 -1
- package/dist/index.es183.js +1 -1
- package/dist/index.es184.js +2 -2
- package/dist/index.es19.js +1 -1
- package/dist/index.es206.js +2 -46
- package/dist/index.es206.js.map +1 -1
- package/dist/index.es207.js +7 -22
- package/dist/index.es207.js.map +1 -1
- package/dist/index.es208.js +4 -7
- package/dist/index.es208.js.map +1 -1
- package/dist/index.es209.js +4 -5
- package/dist/index.es209.js.map +1 -1
- package/dist/index.es210.js +3 -4
- package/dist/index.es210.js.map +1 -1
- package/dist/index.es211.js +2 -2
- package/dist/index.es211.js.map +1 -1
- package/dist/index.es212.js +9 -3
- package/dist/index.es212.js.map +1 -1
- package/dist/index.es213.js +21 -8
- package/dist/index.es213.js.map +1 -1
- package/dist/index.es214.js +20 -20
- package/dist/index.es214.js.map +1 -1
- package/dist/index.es215.js +12 -20
- package/dist/index.es215.js.map +1 -1
- package/dist/index.es216.js +15 -12
- package/dist/index.es216.js.map +1 -1
- package/dist/index.es217.js +5 -16
- package/dist/index.es217.js.map +1 -1
- package/dist/index.es218.js +8 -5
- package/dist/index.es218.js.map +1 -1
- package/dist/index.es219.js +6 -8
- package/dist/index.es219.js.map +1 -1
- package/dist/index.es220.js +21 -6
- package/dist/index.es220.js.map +1 -1
- package/dist/index.es221.js +8 -20
- package/dist/index.es221.js.map +1 -1
- package/dist/index.es222.js +9 -10
- package/dist/index.es222.js.map +1 -1
- package/dist/index.es223.js +4 -9
- package/dist/index.es223.js.map +1 -1
- package/dist/index.es224.js +11 -4
- package/dist/index.es224.js.map +1 -1
- package/dist/index.es225.js +8 -10
- package/dist/index.es225.js.map +1 -1
- package/dist/index.es226.js +22 -8
- package/dist/index.es226.js.map +1 -1
- package/dist/index.es227.js +11 -22
- package/dist/index.es227.js.map +1 -1
- package/dist/index.es228.js +16 -9
- package/dist/index.es228.js.map +1 -1
- package/dist/index.es229.js +4 -19
- package/dist/index.es229.js.map +1 -1
- package/dist/index.es230.js +18 -4
- package/dist/index.es230.js.map +1 -1
- package/dist/index.es231.js +10 -16
- package/dist/index.es231.js.map +1 -1
- package/dist/index.es232.js +3 -11
- package/dist/index.es232.js.map +1 -1
- package/dist/index.es233.js +4 -3
- package/dist/index.es233.js.map +1 -1
- package/dist/index.es234.js +45 -4
- package/dist/index.es234.js.map +1 -1
- package/dist/index.es235.js +23 -2
- package/dist/index.es235.js.map +1 -1
- package/dist/index.es236.js +6 -3
- package/dist/index.es236.js.map +1 -1
- package/dist/index.es237.js +3 -6
- package/dist/index.es237.js.map +1 -1
- package/dist/index.es25.js +1 -1
- package/dist/index.es250.js +1 -1
- package/dist/index.es251.js +1 -1
- package/dist/index.es254.js +1 -1
- package/dist/index.es258.js +15 -70
- package/dist/index.es258.js.map +1 -1
- package/dist/index.es26.js +1 -1
- package/dist/index.es260.js +70 -15
- package/dist/index.es260.js.map +1 -1
- package/dist/index.es27.js +2 -2
- package/dist/index.es29.js +2 -2
- package/dist/index.es30.js +2 -2
- package/dist/index.es31.js +2 -2
- package/dist/index.es33.js +1 -1
- package/dist/index.es34.js +2 -2
- package/dist/index.es35.js +2 -2
- package/dist/index.es37.js +1 -1
- package/dist/index.es38.js +1 -1
- package/dist/index.es39.js +1 -1
- package/dist/index.es43.js +2 -2
- package/dist/index.es44.js +3 -3
- package/dist/index.es45.js +1 -1
- package/dist/index.es47.js +1 -1
- package/dist/index.es48.js +1 -1
- package/dist/index.es5.js +6 -7
- package/dist/index.es5.js.map +1 -1
- package/dist/index.es50.js +1 -1
- package/dist/index.es52.js +5 -5
- package/dist/index.es61.js +1 -1
- package/dist/index.es62.js +1 -1
- package/dist/index.es64.js +2 -2
- package/dist/index.es65.js +2 -2
- package/dist/index.es68.js +55 -2
- package/dist/index.es68.js.map +1 -1
- package/dist/index.es69.js +48 -4
- package/dist/index.es69.js.map +1 -1
- package/dist/index.es70.js +37 -55
- package/dist/index.es70.js.map +1 -1
- package/dist/index.es71.js +11 -47
- package/dist/index.es71.js.map +1 -1
- package/dist/index.es72.js +14 -38
- package/dist/index.es72.js.map +1 -1
- package/dist/index.es73.js +29 -11
- package/dist/index.es73.js.map +1 -1
- package/dist/index.es74.js +10 -10
- package/dist/index.es74.js.map +1 -1
- package/dist/index.es75.js +13 -29
- package/dist/index.es75.js.map +1 -1
- package/dist/index.es76.js +10 -12
- package/dist/index.es76.js.map +1 -1
- package/dist/index.es77.js +4 -14
- package/dist/index.es77.js.map +1 -1
- package/dist/index.es78.js +2 -11
- package/dist/index.es78.js.map +1 -1
- package/dist/index.es80.js +1 -1
- package/dist/index.es87.js +1 -1
- package/dist/index.es88.js +1 -1
- package/dist/index.es89.js +1 -1
- package/dist/index.es90.js +1 -1
- package/dist/index.es91.js +1 -1
- package/dist/index.es92.js +1 -1
- package/dist/index.es93.js +1 -1
- package/dist/index.es94.js +1 -1
- package/dist/index.es95.js +1 -1
- package/dist/index.es98.js +1 -1
- package/dist/index.es99.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/LayerMenu.js +1 -2
- package/types/components/LayerMenu.js.flow +1 -2
package/dist/index.cjs152.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const c=require("./index.cjs151.js"),n=require("./index.cjs135.js"),i=require("./index.
|
|
1
|
+
"use strict";const c=require("./index.cjs151.js"),n=require("./index.cjs135.js"),i=require("./index.cjs219.js");function s(e,r,t){return c(e,n(i(r)),t)}module.exports=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs152.js.map
|
package/dist/index.cjs153.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const v=require("./index.
|
|
1
|
+
"use strict";const v=require("./index.cjs219.js"),a=require("./index.cjs229.js"),c=require("./index.cjs103.js");function i(r,s,n){s=v(s,n);for(var t=!a(r)&&c(r),f=(t||r).length,e=0;e<f;e++){var u=t?t[e]:e;if(!s(r[u],u,r))return!1}return!0}module.exports=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs153.js.map
|
package/dist/index.cjs154.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const a=require("./index.
|
|
1
|
+
"use strict";const a=require("./index.cjs219.js"),c=require("./index.cjs229.js"),i=require("./index.cjs103.js");function k(r,e,n){e=a(e,n);for(var t=!c(r)&&i(r),f=(t||r).length,s=0;s<f;s++){var u=t?t[s]:s;if(e(r[u],u,r))return!0}return!1}module.exports=k;
|
|
2
2
|
//# sourceMappingURL=index.cjs154.js.map
|
package/dist/index.cjs155.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const s=require("./index.
|
|
1
|
+
"use strict";const s=require("./index.cjs229.js"),n=require("./index.cjs105.js"),u=require("./index.cjs143.js");function c(e,r,i,t){return s(e)||(e=n(e)),(typeof i!="number"||t)&&(i=0),u(e,r,i)>=0}module.exports=c;
|
|
2
2
|
//# sourceMappingURL=index.cjs155.js.map
|
package/dist/index.cjs158.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const p=require("./index.
|
|
1
|
+
"use strict";const p=require("./index.cjs229.js"),a=require("./index.cjs105.js"),m=require("./index.cjs219.js"),q=require("./index.cjs147.js");function I(n,u,s){var r=-1/0,f=-1/0,i,t;if(u==null||typeof u=="number"&&typeof n[0]!="object"&&n!=null){n=p(n)?n:a(n);for(var e=0,c=n.length;e<c;e++)i=n[e],i!=null&&i>r&&(r=i)}else u=m(u,s),q(n,function(l,y,o){t=u(l,y,o),(t>f||t===-1/0&&r===-1/0)&&(r=l,f=t)});return r}module.exports=I;
|
|
2
2
|
//# sourceMappingURL=index.cjs158.js.map
|
package/dist/index.cjs159.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const p=require("./index.
|
|
1
|
+
"use strict";const p=require("./index.cjs229.js"),m=require("./index.cjs105.js"),q=require("./index.cjs219.js"),I=require("./index.cjs147.js");function a(n,u,s){var i=1/0,f=1/0,r,t;if(u==null||typeof u=="number"&&typeof n[0]!="object"&&n!=null){n=p(n)?n:m(n);for(var e=0,c=n.length;e<c;e++)r=n[e],r!=null&&r<i&&(i=r)}else u=q(u,s),I(n,function(l,y,o){t=u(l,y,o),(t<f||t===1/0&&i===1/0)&&(i=l,f=t)});return i}module.exports=a;
|
|
2
2
|
//# sourceMappingURL=index.cjs159.js.map
|
package/dist/index.cjs16.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const u=require("react"),r=require("./index.
|
|
1
|
+
"use strict";const u=require("react"),r=require("./index.cjs68.js");function C(l,o,n,p){const e=u.useContext(r.MapContext),t=u.useMemo(()=>l(e),[]);return u.useEffect(()=>{const c=p||n||o,i=typeof o=="function"&&typeof n=="function"?o:null,f=typeof n=="function"?n:typeof o=="function"?o:null,{map:s}=e;return s.hasControl(t)||(s.addControl(t,c==null?void 0:c.position),i&&i(e)),()=>{f&&f(e),s.hasControl(t)&&s.removeControl(t)}},[]),t}module.exports=C;
|
|
2
2
|
//# sourceMappingURL=index.cjs16.js.map
|
package/dist/index.cjs161.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const n=require("./index.
|
|
1
|
+
"use strict";const n=require("./index.cjs229.js"),h=require("./index.cjs105.js"),m=require("./index.cjs210.js"),i=require("./index.cjs125.js"),o=require("./index.cjs167.js");function q(r,t,l){if(t==null||l)return n(r)||(r=h(r)),r[i(r.length-1)];var e=o(r),s=m(e);t=Math.max(Math.min(t,s),0);for(var c=s-1,a=0;a<t;a++){var u=i(a,c),v=e[a];e[a]=e[u],e[u]=v}return e.slice(0,t)}module.exports=q;
|
|
2
2
|
//# sourceMappingURL=index.cjs161.js.map
|
package/dist/index.cjs162.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const s=require("./index.
|
|
1
|
+
"use strict";const s=require("./index.cjs219.js"),a=require("./index.cjs156.js"),d=require("./index.cjs148.js");function f(u,t,c){var o=0;return t=s(t,c),a(d(u,function(i,n,r){return{value:i,index:o++,criteria:t(i,n,r)}}).sort(function(i,n){var r=i.criteria,e=n.criteria;if(r!==e){if(r>e||r===void 0)return 1;if(r<e||e===void 0)return-1}return i.index-n.index}),"value")}module.exports=f;
|
|
2
2
|
//# sourceMappingURL=index.cjs162.js.map
|
package/dist/index.cjs163.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const c=require("./index.
|
|
1
|
+
"use strict";const c=require("./index.cjs231.js"),i=require("./index.cjs208.js"),n=c(function(o,r,s){i(o,s)?o[s].push(r):o[s]=[r]});module.exports=n;
|
|
2
2
|
//# sourceMappingURL=index.cjs163.js.map
|
package/dist/index.cjs164.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const o=require("./index.
|
|
1
|
+
"use strict";const o=require("./index.cjs231.js"),r=o(function(t,e,n){t[n]=e});module.exports=r;
|
|
2
2
|
//# sourceMappingURL=index.cjs164.js.map
|
package/dist/index.cjs165.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const n=require("./index.
|
|
1
|
+
"use strict";const n=require("./index.cjs231.js"),s=require("./index.cjs208.js"),t=n(function(o,e,c){s(o,c)?o[c]++:o[c]=1});module.exports=t;
|
|
2
2
|
//# sourceMappingURL=index.cjs165.js.map
|
package/dist/index.cjs166.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const s=require("./index.
|
|
1
|
+
"use strict";const s=require("./index.cjs231.js"),u=s(function(t,r,o){t[o?0:1].push(r)},!0);module.exports=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs166.js.map
|
package/dist/index.cjs167.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.cjs95.js"),u=require("./index.cjs24.js"),t=require("./index.cjs87.js"),i=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs95.js"),u=require("./index.cjs24.js"),t=require("./index.cjs87.js"),i=require("./index.cjs229.js"),f=require("./index.cjs148.js"),n=require("./index.cjs118.js"),s=require("./index.cjs105.js");var c=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function d(r){return r?e(r)?u.slice.call(r):t(r)?r.match(c):i(r)?f(r,n):s(r):[]}module.exports=d;
|
|
2
2
|
//# sourceMappingURL=index.cjs167.js.map
|
package/dist/index.cjs168.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const r=require("./index.
|
|
1
|
+
"use strict";const r=require("./index.cjs229.js"),t=require("./index.cjs103.js");function n(e){return e==null?0:r(e)?e.length:t(e).length}module.exports=n;
|
|
2
2
|
//# sourceMappingURL=index.cjs168.js.map
|
package/dist/index.cjs174.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const n=require("./index.
|
|
1
|
+
"use strict";const n=require("./index.cjs226.js");function r(t,e){return n(t,e,!1)}module.exports=r;
|
|
2
2
|
//# sourceMappingURL=index.cjs174.js.map
|
package/dist/index.cjs175.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const p=require("./index.cjs85.js"),_=require("./index.
|
|
1
|
+
"use strict";const p=require("./index.cjs85.js"),_=require("./index.cjs219.js"),b=require("./index.cjs210.js"),g=require("./index.cjs155.js");function i(o,h,s,r){p(h)||(r=s,s=h,h=!1),s!=null&&(s=_(s,r));for(var f=[],q=[],u=0,l=b(o);u<l;u++){var n=o[u],c=s?s(n,u,o):n;h&&!s?((!u||q!==c)&&f.push(n),q=c):s?g(q,c)||(q.push(c),f.push(n)):g(f,n)||f.push(n)}return f}module.exports=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs175.js.map
|
package/dist/index.cjs176.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const c=require("./index.
|
|
1
|
+
"use strict";const c=require("./index.cjs210.js"),o=require("./index.cjs155.js");function g(s){for(var e=[],u=arguments.length,n=0,a=c(s);n<a;n++){var t=s[n];if(!o(e,t)){var r;for(r=1;r<u&&o(arguments[r],t);r++);r===u&&e.push(t)}}return e}module.exports=g;
|
|
2
2
|
//# sourceMappingURL=index.cjs176.js.map
|
package/dist/index.cjs177.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const n=require("./index.cjs158.js"),s=require("./index.
|
|
1
|
+
"use strict";const n=require("./index.cjs158.js"),s=require("./index.cjs210.js"),c=require("./index.cjs156.js");function o(t){for(var e=t&&n(t,s).length||0,u=Array(e),r=0;r<e;r++)u[r]=c(t,r);return u}module.exports=o;
|
|
2
2
|
//# sourceMappingURL=index.cjs177.js.map
|
package/dist/index.cjs178.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const c=require("./index.
|
|
1
|
+
"use strict";const c=require("./index.cjs210.js");function u(r,n){for(var t={},e=0,o=c(r);e<o;e++)n?t[r[e]]=n[e]:t[r[e][0]]=r[e][1];return t}module.exports=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs178.js.map
|
package/dist/index.cjs181.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./index.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./index.cjs206.js");function u(o,i){for(var n=0;n<i.length;n++){const e=i[n];if(typeof e!="string"&&!Array.isArray(e)){for(const t in e)if(t!=="default"&&!(t in o)){const s=Object.getOwnPropertyDescriptor(e,t);s&&Object.defineProperty(o,t,s.get?s:{enumerable:!0,get:()=>e[t]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var a=r.__exports.printMsg=function(){console.log("This is a message from the demo package")};const c=u({__proto__:null,default:r.__exports,printMsg:a},[r.__exports]);exports.default=r.__exports;exports.index=c;exports.printMsg=a;
|
|
2
2
|
//# sourceMappingURL=index.cjs181.js.map
|
package/dist/index.cjs182.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const u=require("react"),m=require("./index.
|
|
1
|
+
"use strict";const u=require("react"),m=require("./index.cjs68.js"),L=require("./index.cjs190.js"),s=require("./index.cjs189.js");function q(t,e,a,o){if(L(a.id===o.id,"layer id changed"),L(a.type===o.type,"layer type changed"),a.type==="custom"||o.type==="custom")return;const{layout:r={},paint:i={},filter:y,minzoom:f,maxzoom:l,beforeId:d}=a;if(d!==o.beforeId&&t.moveLayer(e,d),r!==o.layout){const c=o.layout||{};for(const n in r)s.deepEqual(r[n],c[n])||t.setLayoutProperty(e,n,r[n]);for(const n in c)r.hasOwnProperty(n)||t.setLayoutProperty(e,n,void 0)}if(i!==o.paint){const c=o.paint||{};for(const n in i)s.deepEqual(i[n],c[n])||t.setPaintProperty(e,n,i[n]);for(const n in c)i.hasOwnProperty(n)||t.setPaintProperty(e,n,void 0)}s.deepEqual(y,o.filter)||t.setFilter(e,y),(f!==o.minzoom||l!==o.maxzoom)&&t.setLayerZoomRange(e,f,l)}function g(t,e,a){if(t.style&&t.style._loaded&&(!("source"in a)||t.getSource(a.source))){const o={...a,id:e};delete o.beforeId,t.addLayer(o,a.beforeId)}}let x=0;function h(t){const e=u.useContext(m.MapContext).map.getMap(),a=u.useRef(t),[,o]=u.useState(0),r=u.useMemo(()=>t.id||`jsx-layer-${x++}`,[]);if(u.useEffect(()=>{if(e){const y=()=>o(f=>f+1);return e.on("styledata",y),y(),()=>{e.off("styledata",y),e.style&&e.style._loaded&&e.getLayer(r)&&e.removeLayer(r)}}},[e]),e&&e.style&&e.getLayer(r))try{q(e,r,t,a.current)}catch(y){console.warn(y)}else g(e,r,t);return a.current=t,null}module.exports=h;
|
|
2
2
|
//# sourceMappingURL=index.cjs182.js.map
|
package/dist/index.cjs183.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const l=require("react"),f=require("./index.
|
|
1
|
+
"use strict";const l=require("react"),f=require("./index.cjs68.js"),d=require("./index.cjs190.js"),y=require("./index.cjs189.js");function g(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const S=g(l);let m=0;function b(t,e,n){if(t.style&&t.style._loaded){const o={...n};return delete o.id,delete o.children,t.addSource(e,o),t.getSource(e)}return null}function h(t,e,n){d(e.id===n.id,"source id changed"),d(e.type===n.type,"source type changed");let o="",c=0;for(const r in e)r!=="children"&&r!=="id"&&!y.deepEqual(n[r],e[r])&&(o=r,c++);if(!c)return;const a=e.type;if(a==="geojson")t.setData(e.data);else if(a==="image")t.updateImage({url:e.url,coordinates:e.coordinates});else if("setCoordinates"in t&&c===1&&o==="coordinates")t.setCoordinates(e.coordinates);else if("setUrl"in t)switch(o){case"url":t.setUrl(e.url);break;case"tiles":t.setTiles(e.tiles);break}else console.warn(`Unable to update <Source> prop: ${o}`)}function C(t){const e=l.useContext(f.MapContext).map.getMap(),n=l.useRef(t),[,o]=l.useState(0),c=l.useMemo(()=>t.id||`jsx-source-${m++}`,[]);l.useEffect(()=>{if(e){const r=()=>setTimeout(()=>o(i=>i+1),0);return e.on("styledata",r),r(),()=>{var i;if(e.off("styledata",r),e.style&&e.style._loaded&&e.getSource(c)){const u=(i=e.getStyle())===null||i===void 0?void 0:i.layers;if(u)for(const s of u)s.source===c&&e.removeLayer(s.id);e.removeSource(c)}}}},[e]);let a=e&&e.style&&e.getSource(c);return a?h(a,t,n.current):a=b(e,c,t),n.current=t,a&&S.Children.map(t.children,r=>r&&l.cloneElement(r,{source:c}))||null}module.exports=C;
|
|
2
2
|
//# sourceMappingURL=index.cjs183.js.map
|
package/dist/index.cjs184.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const d=require("./index.
|
|
1
|
+
"use strict";const d=require("./index.cjs234.js"),p=require("./index.cjs235.js"),u=require("./index.cjs189.js"),_={version:8,sources:{},layers:[]},v={mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",click:"onClick",dblclick:"onDblClick",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",mouseout:"onMouseOut",contextmenu:"onContextMenu",touchstart:"onTouchStart",touchend:"onTouchEnd",touchmove:"onTouchMove",touchcancel:"onTouchCancel"},f={movestart:"onMoveStart",move:"onMove",moveend:"onMoveEnd",dragstart:"onDragStart",drag:"onDrag",dragend:"onDragEnd",zoomstart:"onZoomStart",zoom:"onZoom",zoomend:"onZoomEnd",rotatestart:"onRotateStart",rotate:"onRotate",rotateend:"onRotateEnd",pitchstart:"onPitchStart",pitch:"onPitch",pitchend:"onPitchEnd"},g={wheel:"onWheel",boxzoomstart:"onBoxZoomStart",boxzoomend:"onBoxZoomEnd",boxzoomcancel:"onBoxZoomCancel",resize:"onResize",load:"onLoad",render:"onRender",idle:"onIdle",remove:"onRemove",data:"onData",styledata:"onStyleData",sourcedata:"onSourceData",error:"onError"},y=["minZoom","maxZoom","minPitch","maxPitch","maxBounds","projection","renderWorldCopies"],S=["scrollZoom","boxZoom","dragRotate","dragPan","keyboard","doubleClickZoom","touchZoomRotate","touchPitch"];class m{constructor(e,o,n){this._map=null,this._internalUpdate=!1,this._inRender=!1,this._hoveredFeatures=null,this._deferredEvents={move:!1,zoom:!1,pitch:!1,rotate:!1},this._onEvent=t=>{const r=this.props[g[t.type]];r?r(t):t.type==="error"&&console.error(t.error)},this._onPointerEvent=t=>{(t.type==="mousemove"||t.type==="mouseout")&&this._updateHover(t);const r=this.props[v[t.type]];r&&(this.props.interactiveLayerIds&&t.type!=="mouseover"&&t.type!=="mouseout"&&(t.features=this._hoveredFeatures||this._queryRenderedFeatures(t.point)),r(t),delete t.features)},this._onCameraEvent=t=>{if(!this._internalUpdate){const r=this.props[f[t.type]];r&&r(t)}t.type in this._deferredEvents&&(this._deferredEvents[t.type]=!1)},this._MapClass=e,this.props=o,this._initialize(n)}get map(){return this._map}get transform(){return this._renderTransform}setProps(e){const o=this.props;this.props=e;const n=this._updateSettings(e,o);n&&this._createShadowTransform(this._map);const t=this._updateSize(e),r=this._updateViewState(e,!0);this._updateStyle(e,o),this._updateStyleComponents(e,o),this._updateHandlers(e,o),(n||t||r&&!this._map.isMoving())&&this.redraw()}static reuse(e,o){const n=m.savedMaps.pop();if(!n)return null;const t=n.map,r=t.getContainer();for(o.className=r.className;r.childNodes.length>0;)o.appendChild(r.childNodes[0]);t._container=o;const s=t._resizeObserver;s&&(s.disconnect(),s.observe(o)),n.setProps({...e,styleDiffing:!1}),t.resize();const{initialViewState:i}=e;return i&&(i.bounds?t.fitBounds(i.bounds,{...i.fitBoundsOptions,duration:0}):n._updateViewState(i,!1)),t.isStyleLoaded()?t.fire("load"):t.once("styledata",()=>t.fire("load")),t._update(),n}_initialize(e){const{props:o}=this,{mapStyle:n=_}=o,t={...o,...o.initialViewState,accessToken:o.mapboxAccessToken||E()||null,container:e,style:p.normalizeStyle(n)},r=t.initialViewState||t.viewState||t;if(Object.assign(t,{center:[r.longitude||0,r.latitude||0],zoom:r.zoom||0,pitch:r.pitch||0,bearing:r.bearing||0}),o.gl){const a=HTMLCanvasElement.prototype.getContext;HTMLCanvasElement.prototype.getContext=()=>(HTMLCanvasElement.prototype.getContext=a,o.gl)}const s=new this._MapClass(t);r.padding&&s.setPadding(r.padding),o.cursor&&(s.getCanvas().style.cursor=o.cursor),this._createShadowTransform(s);const i=s._render;s._render=a=>{this._inRender=!0,i.call(s,a),this._inRender=!1};const c=s._renderTaskQueue.run;s._renderTaskQueue.run=a=>{c.call(s._renderTaskQueue,a),this._onBeforeRepaint()},s.on("render",()=>this._onAfterRepaint());const h=s.fire;s.fire=this._fireEvent.bind(this,h),s.on("resize",()=>{this._renderTransform.resize(s.transform.width,s.transform.height)}),s.on("styledata",()=>{this._updateStyleComponents(this.props,{}),d.syncProjection(s.transform,this._renderTransform)}),s.on("sourcedata",()=>this._updateStyleComponents(this.props,{}));for(const a in v)s.on(a,this._onPointerEvent);for(const a in f)s.on(a,this._onCameraEvent);for(const a in g)s.on(a,this._onEvent);this._map=s}recycle(){const o=this.map.getContainer().querySelector("[mapboxgl-children]");o==null||o.remove(),m.savedMaps.push(this)}destroy(){this._map.remove()}redraw(){const e=this._map;!this._inRender&&e.style&&(e._frame&&(e._frame.cancel(),e._frame=null),e._render())}_createShadowTransform(e){const o=d.cloneTransform(e.transform);e.painter.transform=o,this._renderTransform=o}_updateSize(e){const{viewState:o}=e;if(o){const n=this._map;if(o.width!==n.transform.width||o.height!==n.transform.height)return n.resize(),!0}return!1}_updateViewState(e,o){if(this._internalUpdate)return!1;const n=this._map,t=this._renderTransform,{zoom:r,pitch:s,bearing:i}=t,c=n.isMoving();c&&(t.cameraElevationReference="sea");const h=d.applyViewStateToTransform(t,{...d.transformToViewState(n.transform),...e});if(c&&(t.cameraElevationReference="ground"),h&&o){const a=this._deferredEvents;a.move=!0,a.zoom||(a.zoom=r!==t.zoom),a.rotate||(a.rotate=i!==t.bearing),a.pitch||(a.pitch=s!==t.pitch)}return c||d.applyViewStateToTransform(n.transform,e),h}_updateSettings(e,o){const n=this._map;let t=!1;for(const r of y)if(r in e&&!u.deepEqual(e[r],o[r])){t=!0;const s=n[`set${r[0].toUpperCase()}${r.slice(1)}`];s==null||s.call(n,e[r])}return t}_updateStyle(e,o){if(e.cursor!==o.cursor&&(this._map.getCanvas().style.cursor=e.cursor||""),e.mapStyle!==o.mapStyle){const{mapStyle:n=_,styleDiffing:t=!0}=e,r={diff:t};return"localIdeographFontFamily"in e&&(r.localIdeographFontFamily=e.localIdeographFontFamily),this._map.setStyle(p.normalizeStyle(n),r),!0}return!1}_updateStyleComponents(e,o){const n=this._map;let t=!1;return n.isStyleLoaded()&&("light"in e&&n.setLight&&!u.deepEqual(e.light,o.light)&&(t=!0,n.setLight(e.light)),"fog"in e&&n.setFog&&!u.deepEqual(e.fog,o.fog)&&(t=!0,n.setFog(e.fog)),"terrain"in e&&n.setTerrain&&!u.deepEqual(e.terrain,o.terrain)&&(!e.terrain||n.getSource(e.terrain.source))&&(t=!0,n.setTerrain(e.terrain))),t}_updateHandlers(e,o){var n,t;const r=this._map;let s=!1;for(const i of S){const c=(n=e[i])!==null&&n!==void 0?n:!0,h=(t=o[i])!==null&&t!==void 0?t:!0;u.deepEqual(c,h)||(s=!0,c?r[i].enable(c):r[i].disable())}return s}_queryRenderedFeatures(e){const o=this._map,n=o.transform,{interactiveLayerIds:t=[]}=this.props;try{return o.transform=this._renderTransform,o.queryRenderedFeatures(e,{layers:t.filter(o.getLayer.bind(o))})}catch{return[]}finally{o.transform=n}}_updateHover(e){var o;const{props:n}=this;if(n.interactiveLayerIds&&(n.onMouseMove||n.onMouseEnter||n.onMouseLeave)){const r=e.type,s=((o=this._hoveredFeatures)===null||o===void 0?void 0:o.length)>0,i=this._queryRenderedFeatures(e.point),c=i.length>0;!c&&s&&(e.type="mouseleave",this._onPointerEvent(e)),this._hoveredFeatures=i,c&&!s&&(e.type="mouseenter",this._onPointerEvent(e)),e.type=r}else this._hoveredFeatures=null}_fireEvent(e,o,n){const t=this._map,r=t.transform,s=typeof o=="string"?o:o.type;return s==="move"&&this._updateViewState(this.props,!1),s in f&&(typeof o=="object"&&(o.viewState=d.transformToViewState(r)),this._map.isMoving())?(t.transform=this._renderTransform,e.call(t,o,n),t.transform=r,t):(e.call(t,o,n),t)}_onBeforeRepaint(){const e=this._map;this._internalUpdate=!0;for(const n in this._deferredEvents)this._deferredEvents[n]&&e.fire(n);this._internalUpdate=!1;const o=this._map.transform;e.transform=this._renderTransform,this._onAfterRepaint=()=>{d.syncProjection(this._renderTransform,o),e.transform=o}}}m.savedMaps=[];function E(){let l=null;if(typeof location<"u"){const e=/access_token=([^&\/]*)/.exec(location.search);l=e&&e[1]}try{l=l||process.env.MapboxAccessToken}catch{}try{l=l||process.env.REACT_APP_MAPBOX_ACCESS_TOKEN}catch{}return l}module.exports=m;
|
|
2
2
|
//# sourceMappingURL=index.cjs184.js.map
|