@performant-software/geospatial 2.1.0-beta.10 → 2.1.0-beta.11
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.cjs.js +1 -1
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs10.js.map +1 -1
- package/dist/index.cjs103.js +1 -1
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs11.js.map +1 -1
- package/dist/index.cjs12.js +1 -1
- package/dist/index.cjs12.js.map +1 -1
- package/dist/index.cjs122.js +1 -1
- package/dist/index.cjs123.js +1 -1
- package/dist/index.cjs125.js +1 -1
- package/dist/index.cjs129.js +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs13.js.map +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs14.js.map +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs15.js.map +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs16.js.map +1 -1
- package/dist/index.cjs162.js +1 -1
- package/dist/index.cjs165.js +1 -1
- package/dist/index.cjs167.js +1 -1
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs17.js.map +1 -1
- package/dist/index.cjs175.js +1 -1
- package/dist/index.cjs176.js +1 -1
- package/dist/index.cjs176.js.map +1 -1
- package/dist/index.cjs177.js +1 -1
- package/dist/index.cjs177.js.map +1 -1
- package/dist/index.cjs178.js +4 -1
- package/dist/index.cjs178.js.map +1 -1
- package/dist/index.cjs179.js +1 -1
- package/dist/index.cjs179.js.map +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs18.js.map +1 -1
- package/dist/index.cjs180.js +1 -1
- package/dist/index.cjs180.js.map +1 -1
- package/dist/index.cjs181.js +1 -1
- package/dist/index.cjs181.js.map +1 -1
- package/dist/index.cjs182.js +1 -1
- package/dist/index.cjs182.js.map +1 -1
- package/dist/index.cjs183.js +1 -1
- package/dist/index.cjs183.js.map +1 -1
- package/dist/index.cjs184.js +1 -1
- package/dist/index.cjs184.js.map +1 -1
- package/dist/index.cjs185.js +1 -1
- package/dist/index.cjs185.js.map +1 -1
- package/dist/index.cjs186.js +1 -4
- package/dist/index.cjs186.js.map +1 -1
- package/dist/index.cjs187.js +1 -1
- package/dist/index.cjs187.js.map +1 -1
- package/dist/index.cjs188.js +1 -1
- package/dist/index.cjs188.js.map +1 -1
- package/dist/index.cjs189.js +1 -1
- package/dist/index.cjs189.js.map +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs19.js.map +1 -1
- package/dist/index.cjs190.js +1 -1
- package/dist/index.cjs190.js.map +1 -1
- package/dist/index.cjs191.js +1 -1
- package/dist/index.cjs191.js.map +1 -1
- package/dist/index.cjs192.js +1 -1
- package/dist/index.cjs192.js.map +1 -1
- package/dist/index.cjs193.js +1 -1
- package/dist/index.cjs193.js.map +1 -1
- package/dist/index.cjs194.js +1 -1
- package/dist/index.cjs194.js.map +1 -1
- package/dist/index.cjs195.js +1 -1
- package/dist/index.cjs195.js.map +1 -1
- package/dist/index.cjs196.js +1 -1
- package/dist/index.cjs196.js.map +1 -1
- package/dist/index.cjs197.js +1 -1
- package/dist/index.cjs197.js.map +1 -1
- package/dist/index.cjs198.js +1 -1
- package/dist/index.cjs198.js.map +1 -1
- package/dist/index.cjs199.js +1 -1
- package/dist/index.cjs2.js +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs20.js.map +1 -1
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs201.js +1 -1
- package/dist/index.cjs202.js +1 -1
- package/dist/index.cjs203.js +1 -1
- package/dist/index.cjs205.js +1 -1
- package/dist/index.cjs206.js +1 -1
- package/dist/index.cjs208.js +1 -1
- package/dist/index.cjs209.js +1 -1
- package/dist/index.cjs21.js +1 -1
- package/dist/index.cjs21.js.map +1 -1
- package/dist/index.cjs211.js +1 -1
- package/dist/index.cjs216.js +1 -1
- package/dist/index.cjs218.js +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs22.js.map +1 -1
- package/dist/index.cjs220.js +1 -1
- package/dist/index.cjs221.js +1 -1
- package/dist/index.cjs225.js +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.cjs23.js +1 -1
- package/dist/index.cjs23.js.map +1 -1
- package/dist/index.cjs230.js +1 -1
- package/dist/index.cjs230.js.map +1 -1
- package/dist/index.cjs232.js +1 -1
- package/dist/index.cjs235.js +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs24.js.map +1 -1
- package/dist/index.cjs241.js +1 -1
- package/dist/index.cjs247.js +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs25.js.map +1 -1
- package/dist/index.cjs252.js +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs26.js.map +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs27.js.map +1 -1
- package/dist/index.cjs28.js +1 -1
- package/dist/index.cjs28.js.map +1 -1
- package/dist/index.cjs29.js +1 -1
- package/dist/index.cjs29.js.map +1 -1
- package/dist/index.cjs3.js +1 -1
- package/dist/index.cjs3.js.map +1 -1
- package/dist/index.cjs30.js +1 -1
- package/dist/index.cjs30.js.map +1 -1
- package/dist/index.cjs31.js +1 -1
- package/dist/index.cjs31.js.map +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs32.js.map +1 -1
- package/dist/index.cjs33.js +1 -1
- package/dist/index.cjs33.js.map +1 -1
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs34.js.map +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs35.js.map +1 -1
- package/dist/index.cjs36.js +1 -1
- package/dist/index.cjs36.js.map +1 -1
- package/dist/index.cjs37.js +1 -1
- package/dist/index.cjs37.js.map +1 -1
- package/dist/index.cjs38.js +1 -1
- package/dist/index.cjs38.js.map +1 -1
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs39.js.map +1 -1
- package/dist/index.cjs4.js +1 -1
- package/dist/index.cjs40.js +1 -1
- package/dist/index.cjs40.js.map +1 -1
- package/dist/index.cjs41.js +1 -1
- package/dist/index.cjs41.js.map +1 -1
- package/dist/index.cjs42.js +1 -1
- package/dist/index.cjs42.js.map +1 -1
- package/dist/index.cjs43.js +1 -1
- package/dist/index.cjs43.js.map +1 -1
- package/dist/index.cjs44.js +1 -1
- package/dist/index.cjs44.js.map +1 -1
- package/dist/index.cjs45.js +1 -1
- package/dist/index.cjs45.js.map +1 -1
- package/dist/index.cjs46.js +1 -1
- package/dist/index.cjs49.js +1 -1
- package/dist/index.cjs5.js +1 -1
- package/dist/index.cjs5.js.map +1 -1
- package/dist/index.cjs51.js +1 -1
- package/dist/index.cjs52.js +1 -1
- package/dist/index.cjs53.js +9 -1
- package/dist/index.cjs53.js.map +1 -1
- package/dist/index.cjs54.js +19 -1
- package/dist/index.cjs54.js.map +1 -1
- package/dist/index.cjs55.js +1 -9
- package/dist/index.cjs55.js.map +1 -1
- package/dist/index.cjs56.js +1 -19
- package/dist/index.cjs56.js.map +1 -1
- package/dist/index.cjs57.js +1 -1
- package/dist/index.cjs58.js +1 -1
- package/dist/index.cjs58.js.map +1 -1
- package/dist/index.cjs59.js +1 -1
- package/dist/index.cjs59.js.map +1 -1
- package/dist/index.cjs6.js +1 -1
- package/dist/index.cjs60.js +1 -1
- package/dist/index.cjs60.js.map +1 -1
- package/dist/index.cjs61.js +1 -1
- package/dist/index.cjs61.js.map +1 -1
- package/dist/index.cjs62.js +1 -1
- package/dist/index.cjs62.js.map +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs63.js.map +1 -1
- package/dist/index.cjs64.js +1 -1
- package/dist/index.cjs64.js.map +1 -1
- package/dist/index.cjs65.js +1 -1
- package/dist/index.cjs65.js.map +1 -1
- package/dist/index.cjs66.js +1 -1
- package/dist/index.cjs66.js.map +1 -1
- package/dist/index.cjs67.js +1 -1
- package/dist/index.cjs67.js.map +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.cjs7.js +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.cjs75.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs80.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.cjs96.js +1 -1
- package/dist/index.cjs98.js +1 -1
- package/dist/index.cjs99.js +1 -1
- package/dist/index.es.js +8 -6
- package/dist/index.es.js.map +1 -1
- package/dist/index.es10.js +39 -2102
- package/dist/index.es10.js.map +1 -1
- package/dist/index.es103.js +1 -1
- package/dist/index.es11.js +2102 -19
- package/dist/index.es11.js.map +1 -1
- package/dist/index.es12.js +19 -12
- package/dist/index.es12.js.map +1 -1
- package/dist/index.es122.js +2 -2
- package/dist/index.es123.js +1 -1
- package/dist/index.es125.js +1 -1
- package/dist/index.es129.js +1 -1
- package/dist/index.es13.js +12 -6
- package/dist/index.es13.js.map +1 -1
- package/dist/index.es14.js +6 -5
- package/dist/index.es14.js.map +1 -1
- package/dist/index.es15.js +6 -28
- package/dist/index.es15.js.map +1 -1
- package/dist/index.es16.js +6 -8
- package/dist/index.es16.js.map +1 -1
- package/dist/index.es162.js +1 -1
- package/dist/index.es165.js +1 -1
- package/dist/index.es167.js +1 -1
- package/dist/index.es17.js +5 -5
- package/dist/index.es17.js.map +1 -1
- package/dist/index.es175.js +1 -1
- package/dist/index.es176.js +7 -320
- package/dist/index.es176.js.map +1 -1
- package/dist/index.es177.js +144 -71
- package/dist/index.es177.js.map +1 -1
- package/dist/index.es178.js +12197 -3
- package/dist/index.es178.js.map +1 -1
- package/dist/index.es179.js +3 -18
- package/dist/index.es179.js.map +1 -1
- package/dist/index.es18.js +28 -10
- package/dist/index.es18.js.map +1 -1
- package/dist/index.es180.js +3 -13
- package/dist/index.es180.js.map +1 -1
- package/dist/index.es181.js +33 -28
- package/dist/index.es181.js.map +1 -1
- package/dist/index.es182.js +3 -7
- package/dist/index.es182.js.map +1 -1
- package/dist/index.es183.js +23 -2
- package/dist/index.es183.js.map +1 -1
- package/dist/index.es184.js +2 -10
- package/dist/index.es184.js.map +1 -1
- package/dist/index.es185.js +3 -150
- package/dist/index.es185.js.map +1 -1
- package/dist/index.es186.js +2 -12199
- package/dist/index.es186.js.map +1 -1
- package/dist/index.es187.js +34 -3
- package/dist/index.es187.js.map +1 -1
- package/dist/index.es188.js +14 -2
- package/dist/index.es188.js.map +1 -1
- package/dist/index.es189.js +13 -35
- package/dist/index.es189.js.map +1 -1
- package/dist/index.es19.js +8 -17
- package/dist/index.es19.js.map +1 -1
- package/dist/index.es190.js +11 -3
- package/dist/index.es190.js.map +1 -1
- package/dist/index.es191.js +319 -21
- package/dist/index.es191.js.map +1 -1
- package/dist/index.es192.js +77 -2
- package/dist/index.es192.js.map +1 -1
- package/dist/index.es193.js +5 -3
- package/dist/index.es193.js.map +1 -1
- package/dist/index.es194.js +18 -2
- package/dist/index.es194.js.map +1 -1
- package/dist/index.es195.js +10 -31
- package/dist/index.es195.js.map +1 -1
- package/dist/index.es196.js +31 -13
- package/dist/index.es196.js.map +1 -1
- package/dist/index.es197.js +4 -13
- package/dist/index.es197.js.map +1 -1
- package/dist/index.es198.js +2 -9
- package/dist/index.es198.js.map +1 -1
- package/dist/index.es199.js +1 -1
- package/dist/index.es2.js +3 -3
- package/dist/index.es20.js +5 -5
- package/dist/index.es20.js.map +1 -1
- package/dist/index.es200.js +1 -1
- package/dist/index.es201.js +1 -1
- package/dist/index.es202.js +1 -1
- package/dist/index.es203.js +1 -1
- package/dist/index.es205.js +1 -1
- package/dist/index.es206.js +2 -2
- package/dist/index.es208.js +1 -1
- package/dist/index.es209.js +2 -2
- package/dist/index.es21.js +9 -4
- package/dist/index.es21.js.map +1 -1
- package/dist/index.es211.js +2 -2
- package/dist/index.es216.js +1 -1
- package/dist/index.es218.js +1 -1
- package/dist/index.es22.js +17 -5
- package/dist/index.es22.js.map +1 -1
- package/dist/index.es220.js +1 -1
- package/dist/index.es221.js +1 -1
- package/dist/index.es225.js +1 -1
- package/dist/index.es226.js +3 -46
- package/dist/index.es226.js.map +1 -1
- package/dist/index.es227.js +45 -22
- package/dist/index.es227.js.map +1 -1
- package/dist/index.es228.js +23 -3
- package/dist/index.es228.js.map +1 -1
- package/dist/index.es229.js +4 -6
- package/dist/index.es229.js.map +1 -1
- package/dist/index.es23.js +5 -7
- package/dist/index.es23.js.map +1 -1
- package/dist/index.es230.js +6 -4
- package/dist/index.es230.js.map +1 -1
- package/dist/index.es232.js +1 -1
- package/dist/index.es235.js +1 -1
- package/dist/index.es24.js +5 -7
- package/dist/index.es24.js.map +1 -1
- package/dist/index.es241.js +2 -2
- package/dist/index.es247.js +1 -1
- package/dist/index.es25.js +5 -4
- package/dist/index.es25.js.map +1 -1
- package/dist/index.es252.js +2 -2
- package/dist/index.es26.js +7 -4
- package/dist/index.es26.js.map +1 -1
- package/dist/index.es27.js +6 -6
- package/dist/index.es27.js.map +1 -1
- package/dist/index.es28.js +4 -15
- package/dist/index.es28.js.map +1 -1
- package/dist/index.es29.js +4 -12
- package/dist/index.es29.js.map +1 -1
- package/dist/index.es3.js +22 -63
- package/dist/index.es3.js.map +1 -1
- package/dist/index.es30.js +7 -15
- package/dist/index.es30.js.map +1 -1
- package/dist/index.es31.js +14 -6
- package/dist/index.es31.js.map +1 -1
- package/dist/index.es32.js +12 -5
- package/dist/index.es32.js.map +1 -1
- package/dist/index.es33.js +15 -4
- package/dist/index.es33.js.map +1 -1
- package/dist/index.es34.js +6 -17
- package/dist/index.es34.js.map +1 -1
- package/dist/index.es35.js +5 -18
- package/dist/index.es35.js.map +1 -1
- package/dist/index.es36.js +4 -14
- package/dist/index.es36.js.map +1 -1
- package/dist/index.es37.js +17 -5
- package/dist/index.es37.js.map +1 -1
- package/dist/index.es38.js +17 -6
- package/dist/index.es38.js.map +1 -1
- package/dist/index.es39.js +12 -8
- package/dist/index.es39.js.map +1 -1
- package/dist/index.es4.js +8 -8
- package/dist/index.es40.js +6 -4
- package/dist/index.es40.js.map +1 -1
- package/dist/index.es41.js +6 -18
- package/dist/index.es41.js.map +1 -1
- package/dist/index.es42.js +10 -6
- package/dist/index.es42.js.map +1 -1
- package/dist/index.es43.js +4 -6
- package/dist/index.es43.js.map +1 -1
- package/dist/index.es44.js +21 -1
- package/dist/index.es44.js.map +1 -1
- package/dist/index.es45.js +1 -39
- package/dist/index.es45.js.map +1 -1
- package/dist/index.es46.js +2 -2
- package/dist/index.es49.js +1 -1
- package/dist/index.es5.js +17 -17
- package/dist/index.es5.js.map +1 -1
- package/dist/index.es51.js +12 -12
- package/dist/index.es52.js +2 -6
- package/dist/index.es52.js.map +1 -1
- package/dist/index.es53.js +30 -2
- package/dist/index.es53.js.map +1 -1
- package/dist/index.es54.js +602 -2
- package/dist/index.es54.js.map +1 -1
- package/dist/index.es55.js +105 -28
- package/dist/index.es55.js.map +1 -1
- package/dist/index.es56.js +10 -602
- package/dist/index.es56.js.map +1 -1
- package/dist/index.es57.js +6 -2
- package/dist/index.es57.js.map +1 -1
- package/dist/index.es58.js +2 -107
- package/dist/index.es58.js.map +1 -1
- package/dist/index.es59.js +2 -10
- package/dist/index.es59.js.map +1 -1
- package/dist/index.es6.js +6 -6
- package/dist/index.es60.js +2 -28
- package/dist/index.es60.js.map +1 -1
- package/dist/index.es61.js +2 -55
- package/dist/index.es61.js.map +1 -1
- package/dist/index.es62.js +29 -47
- package/dist/index.es62.js.map +1 -1
- package/dist/index.es63.js +55 -37
- package/dist/index.es63.js.map +1 -1
- package/dist/index.es64.js +47 -11
- package/dist/index.es64.js.map +1 -1
- package/dist/index.es65.js +38 -11
- package/dist/index.es65.js.map +1 -1
- package/dist/index.es66.js +11 -29
- package/dist/index.es66.js.map +1 -1
- package/dist/index.es67.js +10 -10
- package/dist/index.es67.js.map +1 -1
- package/dist/index.es68.js +29 -13
- package/dist/index.es68.js.map +1 -1
- package/dist/index.es69.js +11 -52
- package/dist/index.es69.js.map +1 -1
- package/dist/index.es7.js +7 -7
- package/dist/index.es70.js +13 -66
- package/dist/index.es70.js.map +1 -1
- package/dist/index.es71.js +51 -4
- package/dist/index.es71.js.map +1 -1
- package/dist/index.es72.js +65 -2
- package/dist/index.es72.js.map +1 -1
- package/dist/index.es73.js +4 -2
- package/dist/index.es73.js.map +1 -1
- package/dist/index.es74.js +26 -26
- package/dist/index.es75.js +2 -2
- package/dist/index.es8.js +2 -2
- package/dist/index.es80.js +1 -1
- package/dist/index.es89.js +2 -2
- 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.es96.js +4 -4
- package/dist/index.es98.js +1 -1
- package/dist/index.es99.js +1 -1
- package/package.json +1 -1
- package/src/components/GeoJsonLayer.js +10 -66
- package/src/components/LocationMarkers.js +4 -4
- package/src/index.js +1 -0
- package/src/utils/MapStyles.js +9 -3
- package/types/components/GeoJsonLayer.js.flow +10 -66
- package/types/components/LocationMarkers.js.flow +4 -4
- package/types/index.js.flow +1 -0
- package/types/utils/MapStyles.js.flow +9 -3
package/dist/index.cjs226.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs226.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.cjs226.js","sources":["../../../node_modules/underscore/modules/_hasObjectTag.js"],"sourcesContent":["import tagTester from './_tagTester.js';\n\nexport default tagTester('Object');\n"],"names":["tagTester"],"mappings":"kDAEeA,EAAAA,EAAU,QAAQ","x_google_ignoreList":[0]}
|
package/dist/index.cjs227.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs196.js");function a(n){const i=n.clone();return i.pixelsToGLUnits=n.pixelsToGLUnits,i}function r(n,i){if(!n.getProjection)return;const e=n.getProjection(),o=i.getProjection();c.deepEqual(e,o)||i.setProjection(e)}function s(n){return{longitude:n.center.lng,latitude:n.center.lat,zoom:n.zoom,pitch:n.pitch,bearing:n.bearing,padding:n.padding}}function d(n,i){const e=i.viewState||i;let o=!1;if("longitude"in e&&"latitude"in e){const t=n.center;n.center=new t.constructor(e.longitude,e.latitude),o=o||t!==n.center}if("zoom"in e){const t=n.zoom;n.zoom=e.zoom,o=o||t!==n.zoom}if("bearing"in e){const t=n.bearing;n.bearing=e.bearing,o=o||t!==n.bearing}if("pitch"in e){const t=n.pitch;n.pitch=e.pitch,o=o||t!==n.pitch}return e.padding&&!n.isPaddingEqual(e.padding)&&(o=!0,n.padding=e.padding),o}exports.applyViewStateToTransform=d;exports.cloneTransform=a;exports.syncProjection=r;exports.transformToViewState=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs227.js.map
|
package/dist/index.cjs227.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs227.js","sources":["../../../node_modules/react-map-gl/dist/esm/utils/
|
|
1
|
+
{"version":3,"file":"index.cjs227.js","sources":["../../../node_modules/react-map-gl/dist/esm/utils/transform.js"],"sourcesContent":["import { deepEqual } from './deep-equal';\n/**\n * Make a copy of a transform\n * @param tr\n */\nexport function cloneTransform(tr) {\n const newTransform = tr.clone();\n // Work around mapbox bug - this value is not assigned in clone(), only in resize()\n newTransform.pixelsToGLUnits = tr.pixelsToGLUnits;\n return newTransform;\n}\n/**\n * Copy projection from one transform to another. This only applies to mapbox-gl transforms\n * @param src the transform to copy projection settings from\n * @param dest to transform to copy projection settings to\n */\nexport function syncProjection(src, dest) {\n if (!src.getProjection) {\n return;\n }\n const srcProjection = src.getProjection();\n const destProjection = dest.getProjection();\n if (!deepEqual(srcProjection, destProjection)) {\n dest.setProjection(srcProjection);\n }\n}\n/**\n * Capture a transform's current state\n * @param transform\n * @returns descriptor of the view state\n */\nexport function transformToViewState(tr) {\n return {\n longitude: tr.center.lng,\n latitude: tr.center.lat,\n zoom: tr.zoom,\n pitch: tr.pitch,\n bearing: tr.bearing,\n padding: tr.padding\n };\n}\n/* eslint-disable complexity */\n/**\n * Mutate a transform to match the given view state\n * @param transform\n * @param viewState\n * @returns true if the transform has changed\n */\nexport function applyViewStateToTransform(tr, props) {\n const v = props.viewState || props;\n let changed = false;\n if ('longitude' in v && 'latitude' in v) {\n const center = tr.center;\n // @ts-ignore\n tr.center = new center.constructor(v.longitude, v.latitude);\n changed = changed || center !== tr.center;\n }\n if ('zoom' in v) {\n const zoom = tr.zoom;\n tr.zoom = v.zoom;\n changed = changed || zoom !== tr.zoom;\n }\n if ('bearing' in v) {\n const bearing = tr.bearing;\n tr.bearing = v.bearing;\n changed = changed || bearing !== tr.bearing;\n }\n if ('pitch' in v) {\n const pitch = tr.pitch;\n tr.pitch = v.pitch;\n changed = changed || pitch !== tr.pitch;\n }\n if (v.padding && !tr.isPaddingEqual(v.padding)) {\n changed = true;\n tr.padding = v.padding;\n }\n return changed;\n}\n//# sourceMappingURL=transform.js.map"],"names":["cloneTransform","tr","newTransform","syncProjection","src","dest","srcProjection","destProjection","deepEqual","transformToViewState","applyViewStateToTransform","props","v","changed","center","zoom","bearing","pitch"],"mappings":"qHAKO,SAASA,EAAeC,EAAI,CACzB,MAAAC,EAAeD,EAAG,QAExB,OAAAC,EAAa,gBAAkBD,EAAG,gBAC3BC,CACX,CAMgB,SAAAC,EAAeC,EAAKC,EAAM,CAClC,GAAA,CAACD,EAAI,cACL,OAEE,MAAAE,EAAgBF,EAAI,gBACpBG,EAAiBF,EAAK,gBACvBG,EAAA,UAAUF,EAAeC,CAAc,GACxCF,EAAK,cAAcC,CAAa,CAExC,CAMO,SAASG,EAAqBR,EAAI,CAC9B,MAAA,CACH,UAAWA,EAAG,OAAO,IACrB,SAAUA,EAAG,OAAO,IACpB,KAAMA,EAAG,KACT,MAAOA,EAAG,MACV,QAASA,EAAG,QACZ,QAASA,EAAG,OAAA,CAEpB,CAQgB,SAAAS,EAA0BT,EAAIU,EAAO,CAC3C,MAAAC,EAAID,EAAM,WAAaA,EAC7B,IAAIE,EAAU,GACV,GAAA,cAAeD,GAAK,aAAcA,EAAG,CACrC,MAAME,EAASb,EAAG,OAElBA,EAAG,OAAS,IAAIa,EAAO,YAAYF,EAAE,UAAWA,EAAE,QAAQ,EAChDC,EAAAA,GAAWC,IAAWb,EAAG,MACvC,CACA,GAAI,SAAUW,EAAG,CACb,MAAMG,EAAOd,EAAG,KAChBA,EAAG,KAAOW,EAAE,KACFC,EAAAA,GAAWE,IAASd,EAAG,IACrC,CACA,GAAI,YAAaW,EAAG,CAChB,MAAMI,EAAUf,EAAG,QACnBA,EAAG,QAAUW,EAAE,QACLC,EAAAA,GAAWG,IAAYf,EAAG,OACxC,CACA,GAAI,UAAWW,EAAG,CACd,MAAMK,EAAQhB,EAAG,MACjBA,EAAG,MAAQW,EAAE,MACHC,EAAAA,GAAWI,IAAUhB,EAAG,KACtC,CACA,OAAIW,EAAE,SAAW,CAACX,EAAG,eAAeW,EAAE,OAAO,IAC/BC,EAAA,GACVZ,EAAG,QAAUW,EAAE,SAEZC,CACX","x_google_ignoreList":[0]}
|
package/dist/index.cjs228.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function c(e){if(!e)return null;if(typeof e=="string"||("toJS"in e&&(e=e.toJS()),!e.layers))return e;const t={};for(const r of e.layers)t[r.id]=r;const f=e.layers.map(r=>{let n=null;"interactive"in r&&(n=Object.assign({},r),delete n.interactive);const o=t[r.ref];if(o){n=n||Object.assign({},r),delete n.ref;for(const i of a)i in o&&(n[i]=o[i])}return n||r});return{...e,layers:f}}exports.normalizeStyle=c;
|
|
2
2
|
//# sourceMappingURL=index.cjs228.js.map
|
package/dist/index.cjs228.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs228.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.cjs228.js","sources":["../../../node_modules/react-map-gl/dist/esm/utils/style-utils.js"],"sourcesContent":["const refProps = ['type', 'source', 'source-layer', 'minzoom', 'maxzoom', 'filter', 'layout'];\n// Prepare a map style object for diffing\n// If immutable - convert to plain object\n// Work around some issues in older styles that would fail Mapbox's diffing\nexport function normalizeStyle(style) {\n if (!style) {\n return null;\n }\n if (typeof style === 'string') {\n return style;\n }\n if ('toJS' in style) {\n style = style.toJS();\n }\n if (!style.layers) {\n return style;\n }\n const layerIndex = {};\n for (const layer of style.layers) {\n layerIndex[layer.id] = layer;\n }\n const layers = style.layers.map(layer => {\n let normalizedLayer = null;\n if ('interactive' in layer) {\n normalizedLayer = Object.assign({}, layer);\n // Breaks style diffing :(\n // @ts-ignore legacy field not typed\n delete normalizedLayer.interactive;\n }\n // Style diffing doesn't work with refs so expand them out manually before diffing.\n // @ts-ignore legacy field not typed\n const layerRef = layerIndex[layer.ref];\n if (layerRef) {\n normalizedLayer = normalizedLayer || Object.assign({}, layer);\n // @ts-ignore\n delete normalizedLayer.ref;\n // https://github.com/mapbox/mapbox-gl-js/blob/master/src/style-spec/deref.js\n for (const propName of refProps) {\n if (propName in layerRef) {\n normalizedLayer[propName] = layerRef[propName];\n }\n }\n }\n return normalizedLayer || layer;\n });\n // Do not mutate the style object provided by the user\n return { ...style, layers };\n}\n//# sourceMappingURL=style-utils.js.map"],"names":["refProps","normalizeStyle","style","layerIndex","layer","layers","normalizedLayer","layerRef","propName"],"mappings":"gFAAA,MAAMA,EAAW,CAAC,OAAQ,SAAU,eAAgB,UAAW,UAAW,SAAU,QAAQ,EAIrF,SAASC,EAAeC,EAAO,CAClC,GAAI,CAACA,EACM,OAAA,KAQP,GANA,OAAOA,GAAU,WAGjB,SAAUA,IACVA,EAAQA,EAAM,QAEd,CAACA,EAAM,QACA,OAAAA,EAEX,MAAMC,EAAa,CAAA,EACR,UAAAC,KAASF,EAAM,OACXC,EAAAC,EAAM,EAAE,EAAIA,EAE3B,MAAMC,EAASH,EAAM,OAAO,IAAaE,GAAA,CACrC,IAAIE,EAAkB,KAClB,gBAAiBF,IACjBE,EAAkB,OAAO,OAAO,CAAC,EAAGF,CAAK,EAGzC,OAAOE,EAAgB,aAIrB,MAAAC,EAAWJ,EAAWC,EAAM,GAAG,EACrC,GAAIG,EAAU,CACVD,EAAkBA,GAAmB,OAAO,OAAO,GAAIF,CAAK,EAE5D,OAAOE,EAAgB,IAEvB,UAAWE,KAAYR,EACfQ,KAAYD,IACID,EAAAE,CAAQ,EAAID,EAASC,CAAQ,EAGzD,CACA,OAAOF,GAAmBF,CAAA,CAC7B,EAEM,MAAA,CAAE,GAAGF,EAAO,OAAAG,EACvB","x_google_ignoreList":[0]}
|
package/dist/index.cjs229.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";function n(t){return function(r){return r==null?void 0:r[t]}}module.exports=n;
|
|
2
2
|
//# sourceMappingURL=index.cjs229.js.map
|
package/dist/index.cjs229.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs229.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs229.js","sources":["../../../node_modules/underscore/modules/_shallowProperty.js"],"sourcesContent":["// Internal helper to generate a function to obtain property `key` from `obj`.\nexport default function shallowProperty(key) {\n return function(obj) {\n return obj == null ? void 0 : obj[key];\n };\n}\n"],"names":["shallowProperty","key","obj"],"mappings":"aACA,SAAwBA,EAAgBC,EAAK,CAC3C,OAAO,SAASC,EAAK,CACnB,OAAOA,GAAO,KAAO,OAASA,EAAID,CAAG,CAAA,CAEzC","x_google_ignoreList":[0]}
|
package/dist/index.cjs23.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const r=require("./index.cjs199.js"),t=require("./index.cjs20.js"),e=require("./index.cjs205.js"),i=t.isIE11?e.ie11fingerprint(e.mapMethods):r("Map");module.exports=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs23.js.map
|
package/dist/index.cjs23.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs23.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs23.js","sources":["../../../node_modules/underscore/modules/isMap.js"],"sourcesContent":["import tagTester from './_tagTester.js';\nimport { isIE11 } from './_stringTagBug.js';\nimport { ie11fingerprint, mapMethods } from './_methodFingerprint.js';\n\nexport default isIE11 ? ie11fingerprint(mapMethods) : tagTester('Map');\n"],"names":["isIE11","ie11fingerprint","mapMethods","tagTester"],"mappings":"+GAIeA,EAAAA,EAAAA,OAASC,EAAAA,gBAAgBC,EAAAA,UAAU,EAAIC,EAAU,KAAK","x_google_ignoreList":[0]}
|
package/dist/index.cjs230.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";const n=require("./index.cjs18.js");function u(r){return function(t){var e=r(t);return typeof e=="number"&&e>=0&&e<=n.MAX_ARRAY_INDEX}}module.exports=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs230.js.map
|
package/dist/index.cjs230.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs230.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs230.js","sources":["../../../node_modules/underscore/modules/_createSizePropertyCheck.js"],"sourcesContent":["import { MAX_ARRAY_INDEX } from './_setup.js';\n\n// Common internal logic for `isArrayLike` and `isBufferLike`.\nexport default function createSizePropertyCheck(getSizeProperty) {\n return function(collection) {\n var sizeProperty = getSizeProperty(collection);\n return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= MAX_ARRAY_INDEX;\n }\n}\n"],"names":["createSizePropertyCheck","getSizeProperty","collection","sizeProperty","MAX_ARRAY_INDEX"],"mappings":"iDAGA,SAAwBA,EAAwBC,EAAiB,CAC/D,OAAO,SAASC,EAAY,CACtB,IAAAC,EAAeF,EAAgBC,CAAU,EAC7C,OAAO,OAAOC,GAAgB,UAAYA,GAAgB,GAAKA,GAAgBC,iBAAA,CAEnF","x_google_ignoreList":[0]}
|
package/dist/index.cjs232.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./index.cjs233.js"),a=require("./index.cjs234.js");require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./index.cjs233.js"),a=require("./index.cjs234.js");require("./index.cjs181.js");function q(i,e,c,u,r,s){if(c){var n=a.cos(e),o=a.sin(e),v=u*c;r==null?(r=e+u*a.tau,s=e-v/2):(r=S(n,r),s=S(n,s),(u>0?r<s:r>s)&&(r+=u*a.tau));for(var f,l=r;u>0?l>s:l<s;l-=v)f=m.spherical([n,-o*a.cos(l),-o*a.sin(l)]),i.point(f[0],f[1])}}function S(i,e){e=m.cartesian(e),e[0]-=i,m.cartesianNormalizeInPlace(e);var c=a.acos(-e[1]);return((-e[2]<0?-c:c)+a.tau-a.epsilon)%a.tau}exports.circleStream=q;
|
|
2
2
|
//# sourceMappingURL=index.cjs232.js.map
|
package/dist/index.cjs235.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("./index.cjs234.js"),U=require("./index.cjs236.js"),V=require("./index.cjs237.js"),W=require("./index.cjs238.js");require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("./index.cjs234.js"),U=require("./index.cjs236.js"),V=require("./index.cjs237.js"),W=require("./index.cjs238.js");require("./index.cjs182.js");const X=require("./index.cjs239.js");var E=1e9,O=-E;function Y(s,d,m,u){function j(i,n){return s<=i&&i<=m&&d<=n&&n<=u}function k(i,n,l,o){var r=0,p=0;if(i==null||(r=q(i,l))!==(p=q(n,l))||z(i,n)<0^l>0)do o.point(r===0||r===3?s:m,r>1?u:d);while((r=(r+l+4)%4)!==p);else o.point(n[0],n[1])}function q(i,n){return S.abs(i[0]-s)<S.epsilon?n>0?0:3:S.abs(i[0]-m)<S.epsilon?n>0?2:1:S.abs(i[1]-d)<S.epsilon?n>0?1:0:n>0?3:2}function G(i,n){return z(i.x,n.x)}function z(i,n){var l=q(i,1),o=q(n,1);return l!==o?l-o:l===0?n[1]-i[1]:l===1?i[0]-n[0]:l===2?i[1]-n[1]:n[0]-i[0]}return function(i){var n=i,l=U(),o,r,p,A,B,C,I,P,v,T,w,$={point:D,lineStart:L,lineEnd:Q,polygonStart:J,polygonEnd:K};function D(e,t){j(e,t)&&n.point(e,t)}function H(){for(var e=0,t=0,f=r.length;t<f;++t)for(var a=r[t],c=1,R=a.length,M=a[0],_,h,N=M[0],g=M[1];c<R;++c)_=N,h=g,M=a[c],N=M[0],g=M[1],h<=u?g>u&&(N-_)*(u-h)>(g-h)*(s-_)&&++e:g<=u&&(N-_)*(u-h)<(g-h)*(s-_)&&--e;return e}function J(){n=l,o=[],r=[],w=!0}function K(){var e=H(),t=w&&e,f=(o=X(o)).length;(t||f)&&(i.polygonStart(),t&&(i.lineStart(),k(null,null,1,i),i.lineEnd()),f&&W(o,G,e,k,i),i.polygonEnd()),n=i,o=r=p=null}function L(){$.point=F,r&&r.push(p=[]),T=!0,v=!1,I=P=NaN}function Q(){o&&(F(A,B),C&&v&&l.rejoin(),o.push(l.result())),$.point=D,v&&n.lineEnd()}function F(e,t){var f=j(e,t);if(r&&p.push([e,t]),T)A=e,B=t,C=f,T=!1,f&&(n.lineStart(),n.point(e,t));else if(f&&v)n.point(e,t);else{var a=[I=Math.max(O,Math.min(E,I)),P=Math.max(O,Math.min(E,P))],c=[e=Math.max(O,Math.min(E,e)),t=Math.max(O,Math.min(E,t))];V(a,c,s,d,m,u)?(v||(n.lineStart(),n.point(a[0],a[1])),n.point(c[0],c[1]),f||n.lineEnd(),w=!1):f&&(n.lineStart(),n.point(e,t),w=!1)}I=e,P=t,v=f}return $}}exports.clipExtent=Y;
|
|
2
2
|
//# sourceMappingURL=index.cjs235.js.map
|
package/dist/index.cjs24.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const r=require("./index.cjs199.js"),t=require("./index.cjs20.js"),e=require("./index.cjs205.js"),i=t.isIE11?e.ie11fingerprint(e.weakMapMethods):r("WeakMap");module.exports=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs24.js.map
|
package/dist/index.cjs24.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs24.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs24.js","sources":["../../../node_modules/underscore/modules/isWeakMap.js"],"sourcesContent":["import tagTester from './_tagTester.js';\nimport { isIE11 } from './_stringTagBug.js';\nimport { ie11fingerprint, weakMapMethods } from './_methodFingerprint.js';\n\nexport default isIE11 ? ie11fingerprint(weakMapMethods) : tagTester('WeakMap');\n"],"names":["isIE11","ie11fingerprint","weakMapMethods","tagTester"],"mappings":"+GAIeA,EAAAA,EAAAA,OAASC,EAAAA,gBAAgBC,EAAAA,cAAc,EAAIC,EAAU,SAAS","x_google_ignoreList":[0]}
|
package/dist/index.cjs241.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const G=require("./index.cjs242.js"),D=require("./index.cjs243.js"),F=require("./index.cjs235.js"),H=require("./index.cjs244.js"),L=require("./index.cjs245.js"),r=require("./index.cjs234.js"),I=require("./index.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const G=require("./index.cjs242.js"),D=require("./index.cjs243.js"),F=require("./index.cjs235.js"),H=require("./index.cjs244.js"),L=require("./index.cjs245.js"),r=require("./index.cjs234.js"),I=require("./index.cjs181.js"),J=require("./index.cjs187.js"),O=require("./index.cjs246.js"),w=require("./index.cjs247.js");var K=J.transformer({point:function(u,a){this.stream.point(u*r.radians,a*r.radians)}});function N(u){return B(function(){return u})()}function B(u){var a,n=150,g=480,m=250,c,o,h=0,p=0,q=0,j=0,v=0,z,y,x=null,P=G,l=null,S,b,E,T=L,M=.5,k=w(A,M),d,R;function t(e){return e=y(e[0]*r.radians,e[1]*r.radians),[e[0]*n+c,o-e[1]*n]}function C(e){return e=y.invert((e[0]-c)/n,(o-e[1])/n),e&&[e[0]*r.degrees,e[1]*r.degrees]}function A(e,s){return e=a(e,s),[e[0]*n+c,o-e[1]*n]}t.stream=function(e){return d&&R===e?d:d=K(P(z,k(T(R=e))))},t.clipAngle=function(e){return arguments.length?(P=+e?D(x=e*r.radians,6*r.radians):(x=null,G),f()):x*r.degrees},t.clipExtent=function(e){return arguments.length?(T=e==null?(l=S=b=E=null,L):F.clipExtent(l=+e[0][0],S=+e[0][1],b=+e[1][0],E=+e[1][1]),f()):l==null?null:[[l,S],[b,E]]},t.scale=function(e){return arguments.length?(n=+e,i()):n},t.translate=function(e){return arguments.length?(g=+e[0],m=+e[1],i()):[g,m]},t.center=function(e){return arguments.length?(h=e[0]%360*r.radians,p=e[1]%360*r.radians,i()):[h*r.degrees,p*r.degrees]},t.rotate=function(e){return arguments.length?(q=e[0]%360*r.radians,j=e[1]%360*r.radians,v=e.length>2?e[2]%360*r.radians:0,i()):[q*r.degrees,j*r.degrees,v*r.degrees]},t.precision=function(e){return arguments.length?(k=w(A,M=e*e),f()):r.sqrt(M)},t.fitExtent=function(e,s){return O.fitExtent(t,e,s)},t.fitSize=function(e,s){return O.fitSize(t,e,s)};function i(){y=H(z=I.rotateRadians(q,j,v),a);var e=a(h,p);return c=g-e[0]*n,o=m+e[1]*n,f()}function f(){return d=R=null,t}return function(){return a=u.apply(this,arguments),t.invert=a.invert&&C,i()}}exports.default=N;exports.projectionMutator=B;
|
|
2
2
|
//# sourceMappingURL=index.cjs241.js.map
|
package/dist/index.cjs247.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const H=require("./index.cjs233.js"),o=require("./index.cjs234.js"),I=require("./index.
|
|
1
|
+
"use strict";const H=require("./index.cjs233.js"),o=require("./index.cjs234.js"),I=require("./index.cjs187.js");var G=16,J=o.cos(30*o.radians);function K(p,r){return+r?Q(p,r):O(p)}function O(p){return I.transformer({point:function(r,D){r=p(r,D),this.stream.point(r[0],r[1])}})}function Q(p,r){function D(i,P,L,M,T,$,w,h,e,s,c,l,a,n){var E=w-i,S=h-P,v=E*E+S*S;if(v>4*r&&a--){var f=M+s,q=T+c,g=$+l,y=o.sqrt(f*f+q*q+g*g),t=o.asin(g/=y),u=o.abs(o.abs(g)-1)<o.epsilon||o.abs(L-e)<o.epsilon?(L+e)/2:o.atan2(q,f),k=p(u,t),N=k[0],A=k[1],B=N-i,C=A-P,F=S*B-E*C;(F*F/v>r||o.abs((E*B+S*C)/v-.5)>.3||M*s+T*c+$*l<J)&&(D(i,P,L,M,T,$,N,A,u,f/=y,q/=y,g,a,n),n.point(N,A),D(N,A,u,f,q,g,w,h,e,s,c,l,a,n))}}return function(i){var P,L,M,T,$,w,h,e,s,c,l,a,n={point:E,lineStart:S,lineEnd:f,polygonStart:function(){i.polygonStart(),n.lineStart=q},polygonEnd:function(){i.polygonEnd(),n.lineStart=S}};function E(t,u){t=p(t,u),i.point(t[0],t[1])}function S(){e=NaN,n.point=v,i.lineStart()}function v(t,u){var k=H.cartesian([t,u]),N=p(t,u);D(e,s,h,c,l,a,e=N[0],s=N[1],h=t,c=k[0],l=k[1],a=k[2],G,i),i.point(e,s)}function f(){n.point=E,i.lineEnd()}function q(){S(),n.point=g,n.lineEnd=y}function g(t,u){v(P=t,u),L=e,M=s,T=c,$=l,w=a,n.point=v}function y(){D(e,s,h,c,l,a,L,M,P,T,$,w,G,i),n.lineEnd=f,f()}return n}}module.exports=K;
|
|
2
2
|
//# sourceMappingURL=index.cjs247.js.map
|
package/dist/index.cjs25.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const t=require("./index.cjs199.js"),r=require("./index.cjs20.js"),e=require("./index.cjs205.js"),s=r.isIE11?e.ie11fingerprint(e.setMethods):t("Set");module.exports=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs25.js.map
|
package/dist/index.cjs25.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs25.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs25.js","sources":["../../../node_modules/underscore/modules/isSet.js"],"sourcesContent":["import tagTester from './_tagTester.js';\nimport { isIE11 } from './_stringTagBug.js';\nimport { ie11fingerprint, setMethods } from './_methodFingerprint.js';\n\nexport default isIE11 ? ie11fingerprint(setMethods) : tagTester('Set');\n"],"names":["isIE11","ie11fingerprint","setMethods","tagTester"],"mappings":"+GAIeA,EAAAA,EAAAA,OAASC,EAAAA,gBAAgBC,EAAAA,UAAU,EAAIC,EAAU,KAAK","x_google_ignoreList":[0]}
|
package/dist/index.cjs252.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const w=require("./index.cjs236.js"),z=require("./index.cjs238.js"),g=require("./index.cjs234.js"),A=require("./index.
|
|
1
|
+
"use strict";const w=require("./index.cjs236.js"),z=require("./index.cjs238.js"),g=require("./index.cjs234.js"),A=require("./index.cjs183.js");require("./index.cjs182.js");const D=require("./index.cjs239.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.cjs252.js.map
|
package/dist/index.cjs26.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const t=require("./index.cjs22.js"),o=require("./index.cjs90.js");function e(r){return o(r)?r:[r]}t.toPath=e;module.exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs26.js.map
|
package/dist/index.cjs26.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs26.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs26.js","sources":["../../../node_modules/underscore/modules/toPath.js"],"sourcesContent":["import _ from './underscore.js';\nimport isArray from './isArray.js';\n\n// Normalize a (deep) property `path` to array.\n// Like `_.iteratee`, this function can be customized.\nexport default function toPath(path) {\n return isArray(path) ? path : [path];\n}\n_.toPath = toPath;\n"],"names":["toPath","path","isArray","_"],"mappings":"+EAKA,SAAwBA,EAAOC,EAAM,CACnC,OAAOC,EAAQD,CAAI,EAAIA,EAAO,CAACA,CAAI,CACrC,CACAE,EAAE,OAASH","x_google_ignoreList":[0]}
|
package/dist/index.cjs27.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const i=require("./index.cjs22.js"),n=require("./index.cjs216.js");function e(t,r){return n(t,r,1/0)}i.iteratee=e;module.exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs27.js.map
|
package/dist/index.cjs27.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs27.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs27.js","sources":["../../../node_modules/underscore/modules/iteratee.js"],"sourcesContent":["import _ from './underscore.js';\nimport baseIteratee from './_baseIteratee.js';\n\n// External wrapper for our callback generator. Users may customize\n// `_.iteratee` if they want additional predicate/iteratee shorthand styles.\n// This abstraction hides the internal-only `argCount` argument.\nexport default function iteratee(value, context) {\n return baseIteratee(value, context, Infinity);\n}\n_.iteratee = iteratee;\n"],"names":["iteratee","value","context","baseIteratee","_"],"mappings":"gFAMwB,SAAAA,EAASC,EAAOC,EAAS,CACxC,OAAAC,EAAaF,EAAOC,EAAS,GAAQ,CAC9C,CACAE,EAAE,SAAWJ","x_google_ignoreList":[0]}
|
package/dist/index.cjs28.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const e=require("./index.cjs213.js"),s=require("./index.cjs214.js"),c=e(s);module.exports=c;
|
|
2
2
|
//# sourceMappingURL=index.cjs28.js.map
|
package/dist/index.cjs28.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs28.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs28.js","sources":["../../../node_modules/underscore/modules/escape.js"],"sourcesContent":["import createEscaper from './_createEscaper.js';\nimport escapeMap from './_escapeMap.js';\n\n// Function for escaping strings to HTML interpolation.\nexport default createEscaper(escapeMap);\n"],"names":["createEscaper","escapeMap"],"mappings":"iFAIeA,EAAAA,EAAcC,CAAS","x_google_ignoreList":[0]}
|
package/dist/index.cjs29.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs213.js"),s=require("./index.cjs215.js"),c=e(s);module.exports=c;
|
|
2
2
|
//# sourceMappingURL=index.cjs29.js.map
|
package/dist/index.cjs29.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs29.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs29.js","sources":["../../../node_modules/underscore/modules/unescape.js"],"sourcesContent":["import createEscaper from './_createEscaper.js';\nimport unescapeMap from './_unescapeMap.js';\n\n// Function for unescaping strings from HTML interpolation.\nexport default createEscaper(unescapeMap);\n"],"names":["createEscaper","unescapeMap"],"mappings":"iFAIeA,EAAAA,EAAcC,CAAW","x_google_ignoreList":[0]}
|
package/dist/index.cjs3.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const e=require("./index.cjs14.js"),r=require("react"),i=require("./index.cjs12.js"),s=require("./index.cjs10.js"),l=t=>{const[o,a]=r.useState(t.data);return r.useEffect(()=>{t.url&&fetch(t.url).then(n=>n.json()).then(n=>a(n))},[t.url]),e.jsxRuntimeExports.jsxs(i.Source,{data:o,type:"geojson",children:[e.jsxRuntimeExports.jsx(i.Layer,{filter:["!=","$type","Point"],paint:t.fillStyle,type:"fill"}),e.jsxRuntimeExports.jsx(i.Layer,{filter:["!=","$type","Point"],paint:t.lineStyle,type:"line"}),e.jsxRuntimeExports.jsx(i.Layer,{filter:["==","$type","Point"],paint:t.pointStyle,type:"circle"})]})};l.defaultProps={fillStyle:s.fill,pointStyle:s.point,strokeStyle:s.stroke};module.exports=l;
|
|
2
2
|
//# sourceMappingURL=index.cjs3.js.map
|
package/dist/index.cjs3.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs3.js","sources":["../src/components/GeoJsonLayer.js"],"sourcesContent":["// @flow\n\nimport React, {\n
|
|
1
|
+
{"version":3,"file":"index.cjs3.js","sources":["../src/components/GeoJsonLayer.js"],"sourcesContent":["// @flow\n\nimport React, {\n useEffect,\n useState\n} from 'react';\nimport { Layer, Source } from 'react-map-gl';\nimport MapStyles from '../utils/MapStyles';\n\ntype Props = {\n data?: { [key: string]: any },\n fillStyle?: { [key: string]: any },\n lineStyle?: { [key: string]: any },\n pointStyle?: { [key: string]: any },\n url?: string\n};\n\nconst GeoJsonLayer = (props: Props) => {\n const [data, setData] = useState(props.data);\n\n /**\n * If the data is passed as a URL, fetches the passed URL and sets the response on the state.\n */\n useEffect(() => {\n if (props.url) {\n fetch(props.url)\n .then((response) => response.json())\n .then((json) => setData(json));\n }\n }, [props.url]);\n\n return (\n <Source\n data={data}\n type='geojson'\n >\n <Layer\n filter={['!=', '$type', 'Point']}\n paint={props.fillStyle}\n type='fill'\n />\n <Layer\n filter={['!=', '$type', 'Point']}\n paint={props.lineStyle}\n type='line'\n />\n <Layer\n filter={['==', '$type', 'Point']}\n paint={props.pointStyle}\n type='circle'\n />\n </Source>\n );\n};\n\nGeoJsonLayer.defaultProps = {\n fillStyle: MapStyles.fill,\n pointStyle: MapStyles.point,\n strokeStyle: MapStyles.stroke\n};\n\nexport default GeoJsonLayer;\n"],"names":["GeoJsonLayer","props","data","setData","useState","useEffect","response","json","jsxs","Source","jsx","Layer","MapStyles"],"mappings":"gIAiBMA,EAAgBC,GAAiB,CACrC,KAAM,CAACC,EAAMC,CAAO,EAAIC,EAAAA,SAASH,EAAM,IAAI,EAK3CI,OAAAA,EAAAA,UAAU,IAAM,CACVJ,EAAM,KACR,MAAMA,EAAM,GAAG,EACZ,KAAMK,GAAaA,EAAS,KAAK,CAAC,EAClC,KAAMC,GAASJ,EAAQI,CAAI,CAAC,CACjC,EACC,CAACN,EAAM,GAAG,CAAC,EAGZO,EAAA,kBAAA,KAACC,EAAA,OAAA,CACC,KAAAP,EACA,KAAK,UAEL,SAAA,CAAAQ,EAAA,kBAAA,IAACC,EAAA,MAAA,CACC,OAAQ,CAAC,KAAM,QAAS,OAAO,EAC/B,MAAOV,EAAM,UACb,KAAK,MAAA,CACP,EACAS,EAAA,kBAAA,IAACC,EAAA,MAAA,CACC,OAAQ,CAAC,KAAM,QAAS,OAAO,EAC/B,MAAOV,EAAM,UACb,KAAK,MAAA,CACP,EACAS,EAAA,kBAAA,IAACC,EAAA,MAAA,CACC,OAAQ,CAAC,KAAM,QAAS,OAAO,EAC/B,MAAOV,EAAM,WACb,KAAK,QAAA,CACP,CAAA,CAAA,CAAA,CAGN,EAEAD,EAAa,aAAe,CAC1B,UAAWY,EAAU,KACrB,WAAYA,EAAU,MACtB,YAAaA,EAAU,MACzB"}
|
package/dist/index.cjs30.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const e=require("./index.cjs22.js"),t=e.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};module.exports=t;
|
|
2
2
|
//# sourceMappingURL=index.cjs30.js.map
|
package/dist/index.cjs30.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs30.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs30.js","sources":["../../../node_modules/underscore/modules/templateSettings.js"],"sourcesContent":["import _ from './underscore.js';\n\n// By default, Underscore uses ERB-style template delimiters. Change the\n// following template settings to use alternative delimiters.\nexport default _.templateSettings = {\n evaluate: /<%([\\s\\S]+?)%>/g,\n interpolate: /<%=([\\s\\S]+?)%>/g,\n escape: /<%-([\\s\\S]+?)%>/g\n};\n"],"names":["_"],"mappings":"iDAIeA,EAAAA,EAAE,iBAAmB,CAClC,SAAU,kBACV,YAAa,mBACb,OAAQ,kBACV","x_google_ignoreList":[0]}
|
package/dist/index.cjs31.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const l=require("./index.cjs76.js"),h=require("./index.cjs217.js"),i=require("./index.cjs22.js");var a=l(function(o,e){var c=a.placeholder,s=function(){for(var t=0,u=e.length,n=Array(u),r=0;r<u;r++)n[r]=e[r]===c?arguments[t++]:e[r];for(;t<arguments.length;)n.push(arguments[t++]);return h(o,s,this,this,n)};return s});a.placeholder=i;module.exports=a;
|
|
2
2
|
//# sourceMappingURL=index.cjs31.js.map
|
package/dist/index.cjs31.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs31.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs31.js","sources":["../../../node_modules/underscore/modules/partial.js"],"sourcesContent":["import restArguments from './restArguments.js';\nimport executeBound from './_executeBound.js';\nimport _ from './underscore.js';\n\n// Partially apply a function by creating a version that has had some of its\n// arguments pre-filled, without changing its dynamic `this` context. `_` acts\n// as a placeholder by default, allowing any combination of arguments to be\n// pre-filled. Set `_.partial.placeholder` for a custom placeholder argument.\nvar partial = restArguments(function(func, boundArgs) {\n var placeholder = partial.placeholder;\n var bound = function() {\n var position = 0, length = boundArgs.length;\n var args = Array(length);\n for (var i = 0; i < length; i++) {\n args[i] = boundArgs[i] === placeholder ? arguments[position++] : boundArgs[i];\n }\n while (position < arguments.length) args.push(arguments[position++]);\n return executeBound(func, bound, this, this, args);\n };\n return bound;\n});\n\npartial.placeholder = _;\nexport default partial;\n"],"names":["partial","restArguments","func","boundArgs","placeholder","bound","position","length","args","i","executeBound","_"],"mappings":"8GAQA,IAAIA,EAAUC,EAAc,SAASC,EAAMC,EAAW,CACpD,IAAIC,EAAcJ,EAAQ,YACtBK,EAAQ,UAAW,CAGrB,QAFIC,EAAW,EAAGC,EAASJ,EAAU,OACjCK,EAAO,MAAMD,CAAM,EACdE,EAAI,EAAGA,EAAIF,EAAQE,IACrBD,EAAAC,CAAC,EAAIN,EAAUM,CAAC,IAAML,EAAc,UAAUE,GAAU,EAAIH,EAAUM,CAAC,EAE9E,KAAOH,EAAW,UAAU,QAAaE,EAAA,KAAK,UAAUF,GAAU,CAAC,EACnE,OAAOI,EAAaR,EAAMG,EAAO,KAAM,KAAMG,CAAI,CAAA,EAE5C,OAAAH,CACT,CAAC,EAEDL,EAAQ,YAAcW","x_google_ignoreList":[0]}
|
package/dist/index.cjs32.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs76.js"),i=require("./index.cjs19.js"),c=require("./index.cjs217.js"),s=e(function(n,r,o){if(!i(n))throw new TypeError("Bind must be called on a function");var t=e(function(u){return c(n,t,r,this,o.concat(u))});return t});module.exports=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs32.js.map
|
package/dist/index.cjs32.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs32.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs32.js","sources":["../../../node_modules/underscore/modules/bind.js"],"sourcesContent":["import restArguments from './restArguments.js';\nimport isFunction from './isFunction.js';\nimport executeBound from './_executeBound.js';\n\n// Create a function bound to a given object (assigning `this`, and arguments,\n// optionally).\nexport default restArguments(function(func, context, args) {\n if (!isFunction(func)) throw new TypeError('Bind must be called on a function');\n var bound = restArguments(function(callArgs) {\n return executeBound(func, bound, context, this, args.concat(callArgs));\n });\n return bound;\n});\n"],"names":["bind","restArguments","func","context","args","isFunction","bound","callArgs","executeBound"],"mappings":"8GAMeA,EAAAC,EAAc,SAASC,EAAMC,EAASC,EAAM,CACrD,GAAA,CAACC,EAAWH,CAAI,EAAS,MAAA,IAAI,UAAU,mCAAmC,EAC1E,IAAAI,EAAQL,EAAc,SAASM,EAAU,CACpC,OAAAC,EAAaN,EAAMI,EAAOH,EAAS,KAAMC,EAAK,OAAOG,CAAQ,CAAC,CAAA,CACtE,EACM,OAAAD,CACT,CAAC","x_google_ignoreList":[0]}
|
package/dist/index.cjs33.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const i=require("./index.cjs76.js"),s=require("./index.cjs218.js"),l=require("./index.cjs32.js"),u=i(function(n,r){r=s(r,!1,!1);var e=r.length;if(e<1)throw new Error("bindAll must be passed function names");for(;e--;){var t=r[e];n[t]=l(n[t],n)}return n});module.exports=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs33.js.map
|
package/dist/index.cjs33.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs33.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs33.js","sources":["../../../node_modules/underscore/modules/bindAll.js"],"sourcesContent":["import restArguments from './restArguments.js';\nimport flatten from './_flatten.js';\nimport bind from './bind.js';\n\n// Bind a number of an object's methods to that object. Remaining arguments\n// are the method names to be bound. Useful for ensuring that all callbacks\n// defined on an object belong to it.\nexport default restArguments(function(obj, keys) {\n keys = flatten(keys, false, false);\n var index = keys.length;\n if (index < 1) throw new Error('bindAll must be passed function names');\n while (index--) {\n var key = keys[index];\n obj[key] = bind(obj[key], obj);\n }\n return obj;\n});\n"],"names":["bindAll","restArguments","obj","keys","flatten","index","key","bind"],"mappings":"8GAOAA,EAAeC,EAAc,SAASC,EAAKC,EAAM,CACxCA,EAAAC,EAAQD,EAAM,GAAO,EAAK,EACjC,IAAIE,EAAQF,EAAK,OACjB,GAAIE,EAAQ,EAAS,MAAA,IAAI,MAAM,uCAAuC,EACtE,KAAOA,KAAS,CACV,IAAAC,EAAMH,EAAKE,CAAK,EACpBH,EAAII,CAAG,EAAIC,EAAKL,EAAII,CAAG,EAAGJ,CAAG,CAC/B,CACO,OAAAA,CACT,CAAC","x_google_ignoreList":[0]}
|
package/dist/index.cjs34.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const r=require("./index.cjs76.js"),u=r(function(t,e,n){return setTimeout(function(){return t.apply(null,n)},e)});module.exports=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs34.js.map
|
package/dist/index.cjs34.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs34.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs34.js","sources":["../../../node_modules/underscore/modules/delay.js"],"sourcesContent":["import restArguments from './restArguments.js';\n\n// Delays a function for the given number of milliseconds, and then calls\n// it with the arguments supplied.\nexport default restArguments(function(func, wait, args) {\n return setTimeout(function() {\n return func.apply(null, args);\n }, wait);\n});\n"],"names":["delay","restArguments","func","wait","args"],"mappings":"iDAIeA,EAAAC,EAAc,SAASC,EAAMC,EAAMC,EAAM,CACtD,OAAO,WAAW,UAAW,CACpB,OAAAF,EAAK,MAAM,KAAME,CAAI,GAC3BD,CAAI,CACT,CAAC","x_google_ignoreList":[0]}
|
package/dist/index.cjs35.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const e=require("./index.cjs31.js"),r=require("./index.cjs34.js"),s=require("./index.cjs22.js"),t=e(r,s,1);module.exports=t;
|
|
2
2
|
//# sourceMappingURL=index.cjs35.js.map
|
package/dist/index.cjs35.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs35.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs35.js","sources":["../../../node_modules/underscore/modules/defer.js"],"sourcesContent":["import partial from './partial.js';\nimport delay from './delay.js';\nimport _ from './underscore.js';\n\n// Defers a function, scheduling it to run after the current call stack has\n// cleared.\nexport default partial(delay, _, 1);\n"],"names":["defer","partial","delay","_"],"mappings":"6GAMAA,EAAeC,EAAQC,EAAOC,EAAG,CAAC","x_google_ignoreList":[0]}
|
package/dist/index.cjs36.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const e=require("./index.cjs31.js"),r=require("./index.cjs133.js"),t=e(r,2);module.exports=t;
|
|
2
2
|
//# sourceMappingURL=index.cjs36.js.map
|
package/dist/index.cjs36.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs36.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs36.js","sources":["../../../node_modules/underscore/modules/once.js"],"sourcesContent":["import partial from './partial.js';\nimport before from './before.js';\n\n// Returns a function that will be executed at most one time, no matter how\n// often you call it. Useful for lazy initialization.\nexport default partial(before, 2);\n"],"names":["once","partial","before"],"mappings":"gFAKAA,EAAeC,EAAQC,EAAQ,CAAC","x_google_ignoreList":[0]}
|
package/dist/index.cjs37.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const t=require("./index.cjs76.js"),c=require("./index.cjs19.js"),l=require("./index.cjs143.js"),f=require("./index.cjs210.js"),q=require("./index.cjs209.js"),v=t(function(s,e,o){var i,u;return c(e)?u=e:(e=q(e),i=e.slice(0,-1),e=e[e.length-1]),l(s,function(r){var n=u;if(!n){if(i&&i.length&&(r=f(r,i)),r==null)return;n=r[e]}return n==null?n:n.apply(r,o)})});module.exports=v;
|
|
2
2
|
//# sourceMappingURL=index.cjs37.js.map
|
package/dist/index.cjs37.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs37.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs37.js","sources":["../../../node_modules/underscore/modules/invoke.js"],"sourcesContent":["import restArguments from './restArguments.js';\nimport isFunction from './isFunction.js';\nimport map from './map.js';\nimport deepGet from './_deepGet.js';\nimport toPath from './_toPath.js';\n\n// Invoke a method (with arguments) on every item in a collection.\nexport default restArguments(function(obj, path, args) {\n var contextPath, func;\n if (isFunction(path)) {\n func = path;\n } else {\n path = toPath(path);\n contextPath = path.slice(0, -1);\n path = path[path.length - 1];\n }\n return map(obj, function(context) {\n var method = func;\n if (!method) {\n if (contextPath && contextPath.length) {\n context = deepGet(context, contextPath);\n }\n if (context == null) return void 0;\n method = context[path];\n }\n return method == null ? method : method.apply(context, args);\n });\n});\n"],"names":["invoke","restArguments","obj","path","args","contextPath","func","isFunction","toPath","map","context","method","deepGet"],"mappings":"4KAOeA,EAAAC,EAAc,SAASC,EAAKC,EAAMC,EAAM,CACrD,IAAIC,EAAaC,EACb,OAAAC,EAAWJ,CAAI,EACVG,EAAAH,GAEPA,EAAOK,EAAOL,CAAI,EACJE,EAAAF,EAAK,MAAM,EAAG,EAAE,EACvBA,EAAAA,EAAKA,EAAK,OAAS,CAAC,GAEtBM,EAAIP,EAAK,SAASQ,EAAS,CAChC,IAAIC,EAASL,EACb,GAAI,CAACK,EAAQ,CAIX,GAHIN,GAAeA,EAAY,SACnBK,EAAAE,EAAQF,EAASL,CAAW,GAEpCK,GAAW,KAAa,OAC5BC,EAASD,EAAQP,CAAI,CACvB,CACA,OAAOQ,GAAU,KAAOA,EAASA,EAAO,MAAMD,EAASN,CAAI,CAAA,CAC5D,CACH,CAAC","x_google_ignoreList":[0]}
|
package/dist/index.cjs38.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const l=require("./index.cjs76.js"),f=require("./index.cjs19.js"),a=require("./index.cjs212.js"),o=require("./index.cjs99.js"),q=require("./index.cjs224.js"),g=require("./index.cjs218.js"),p=l(function(t,r){var n={},e=r[0];if(t==null)return n;f(e)?(r.length>1&&(e=a(e,r[1])),r=o(t)):(e=q,r=g(r,!1,!1),t=Object(t));for(var i=0,s=r.length;i<s;i++){var u=r[i],c=t[u];e(c,u,t)&&(n[u]=c)}return n});module.exports=p;
|
|
2
2
|
//# sourceMappingURL=index.cjs38.js.map
|
package/dist/index.cjs38.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs38.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs38.js","sources":["../../../node_modules/underscore/modules/pick.js"],"sourcesContent":["import restArguments from './restArguments.js';\nimport isFunction from './isFunction.js';\nimport optimizeCb from './_optimizeCb.js';\nimport allKeys from './allKeys.js';\nimport keyInObj from './_keyInObj.js';\nimport flatten from './_flatten.js';\n\n// Return a copy of the object only containing the allowed properties.\nexport default restArguments(function(obj, keys) {\n var result = {}, iteratee = keys[0];\n if (obj == null) return result;\n if (isFunction(iteratee)) {\n if (keys.length > 1) iteratee = optimizeCb(iteratee, keys[1]);\n keys = allKeys(obj);\n } else {\n iteratee = keyInObj;\n keys = flatten(keys, false, false);\n obj = Object(obj);\n }\n for (var i = 0, length = keys.length; i < length; i++) {\n var key = keys[i];\n var value = obj[key];\n if (iteratee(value, key, obj)) result[key] = value;\n }\n return result;\n});\n"],"names":["pick","restArguments","obj","keys","result","iteratee","isFunction","optimizeCb","allKeys","keyInObj","flatten","length","key","value"],"mappings":"0MAQAA,EAAeC,EAAc,SAASC,EAAKC,EAAM,CAC/C,IAAIC,EAAS,CAAI,EAAAC,EAAWF,EAAK,CAAC,EAClC,GAAID,GAAO,KAAa,OAAAE,EACpBE,EAAWD,CAAQ,GACjBF,EAAK,OAAS,IAAGE,EAAWE,EAAWF,EAAUF,EAAK,CAAC,CAAC,GAC5DA,EAAOK,EAAQN,CAAG,IAEPG,EAAAI,EACJN,EAAAO,EAAQP,EAAM,GAAO,EAAK,EACjCD,EAAM,OAAOA,CAAG,GAElB,QAAS,EAAI,EAAGS,EAASR,EAAK,OAAQ,EAAIQ,EAAQ,IAAK,CACjD,IAAAC,EAAMT,EAAK,CAAC,EACZU,EAAQX,EAAIU,CAAG,EACfP,EAASQ,EAAOD,EAAKV,CAAG,IAAGE,EAAOQ,CAAG,EAAIC,EAC/C,CACO,OAAAT,CACT,CAAC","x_google_ignoreList":[0]}
|
package/dist/index.cjs39.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const c=require("./index.cjs76.js"),o=require("./index.cjs19.js"),u=require("./index.cjs130.js"),s=require("./index.cjs143.js"),a=require("./index.cjs218.js"),f=require("./index.cjs150.js"),q=require("./index.cjs38.js"),l=c(function(n,t){var e=t[0],r;return o(e)?(e=u(e),t.length>1&&(r=t[1])):(t=s(a(t,!1,!1),String),e=function(g,i){return!f(t,i)}),q(n,e,r)});module.exports=l;
|
|
2
2
|
//# sourceMappingURL=index.cjs39.js.map
|
package/dist/index.cjs39.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs39.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs39.js","sources":["../../../node_modules/underscore/modules/omit.js"],"sourcesContent":["import restArguments from './restArguments.js';\nimport isFunction from './isFunction.js';\nimport negate from './negate.js';\nimport map from './map.js';\nimport flatten from './_flatten.js';\nimport contains from './contains.js';\nimport pick from './pick.js';\n\n// Return a copy of the object without the disallowed properties.\nexport default restArguments(function(obj, keys) {\n var iteratee = keys[0], context;\n if (isFunction(iteratee)) {\n iteratee = negate(iteratee);\n if (keys.length > 1) context = keys[1];\n } else {\n keys = map(flatten(keys, false, false), String);\n iteratee = function(value, key) {\n return !contains(keys, key);\n };\n }\n return pick(obj, iteratee, context);\n});\n"],"names":["omit","restArguments","obj","keys","iteratee","context","isFunction","negate","map","flatten","value","key","contains","pick"],"mappings":"yOASAA,EAAeC,EAAc,SAASC,EAAKC,EAAM,CAC3C,IAAAC,EAAWD,EAAK,CAAC,EAAGE,EACpB,OAAAC,EAAWF,CAAQ,GACrBA,EAAWG,EAAOH,CAAQ,EACtBD,EAAK,OAAS,IAAGE,EAAUF,EAAK,CAAC,KAErCA,EAAOK,EAAIC,EAAQN,EAAM,GAAO,EAAK,EAAG,MAAM,EACnCC,EAAA,SAASM,EAAOC,EAAK,CACvB,MAAA,CAACC,EAAST,EAAMQ,CAAG,CAAA,GAGvBE,EAAKX,EAAKE,EAAUC,CAAO,CACpC,CAAC","x_google_ignoreList":[0]}
|
package/dist/index.cjs4.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const s=require("./index.
|
|
1
|
+
"use strict";const s=require("./index.cjs14.js"),t=require("react"),b=require("./index.cjs15.js"),E=require("./index.cjs16.js"),u=require("./index.cjs17.js");require("./index.cjs18.js");require("./index.cjs19.js");require("./index.cjs20.js");require("./index.cjs21.js");require("./index.cjs22.js");require("./index.cjs23.js");require("./index.cjs24.js");require("./index.cjs25.js");require("./index.cjs26.js");require("./index.cjs27.js");require("./index.cjs28.js");require("./index.cjs29.js");require("./index.cjs30.js");require("./index.cjs31.js");require("./index.cjs32.js");require("./index.cjs33.js");require("./index.cjs34.js");require("./index.cjs35.js");require("./index.cjs36.js");require("./index.cjs37.js");require("./index.cjs38.js");require("./index.cjs39.js");require("./index.cjs40.js");require("./index.cjs41.js");require("./index.cjs42.js");require("./index.cjs43.js");require("./index.cjs44.js");const R=require("./index.cjs6.js");require("./index.cjs45.js");const g=30,q=i=>{const[x,h]=t.useState(0),[c,o]=t.useState(),[j,d]=t.useState(!1),l=t.useRef(),f=t.useCallback(e=>i.names&&i.names.length>e&&i.names[e],[i.names]),n=t.useCallback(e=>u.includes(c,e),[c]),a=t.useMemo(()=>t.Children.toArray(i.children),[i.children]),p=t.useMemo(()=>u.filter(a,(e,r)=>n(r)),[a,n]),m=t.useCallback(e=>{let r;n(e)?r=u.without(c,e):r=[...c,e],o(r)},[n,c]);return t.useEffect(()=>{o(u.times(a.length,e=>e))},[]),t.useEffect(()=>{const{current:e}=l;if(e&&e._canvas){const{offsetHeight:r=0}=l.current._canvas;h(r)}},[l.current]),u.isEmpty(a)?null:s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsxs(R,{mapRef:l,position:i.position,children:[s.jsxRuntimeExports.jsx("button",{className:"mapbox-gl-draw_ctrl-draw-btn layer-button",onClick:()=>d(e=>!e),type:"button",children:s.jsxRuntimeExports.jsx(b.BsStack,{size:"1.25em"})}),j&&s.jsxRuntimeExports.jsx("div",{className:"layer-menu",style:{maxHeight:`calc(${x}px - ${g}px)`},children:s.jsxRuntimeExports.jsx("div",{className:"menu",children:u.map(a,(e,r)=>s.jsxRuntimeExports.jsxs("div",{"aria-selected":n(r),className:"option",role:"option",onClick:()=>m(r),onKeyDown:()=>m(r),tabIndex:r,children:[s.jsxRuntimeExports.jsx("div",{className:"checkmark-container",children:n(r)&&s.jsxRuntimeExports.jsx(E.IoCheckmarkOutline,{size:"1em"})}),f(r)]}))})})]}),p]})};q.defaultProps={position:"top-left"};module.exports=q;
|
|
2
2
|
//# sourceMappingURL=index.cjs4.js.map
|
package/dist/index.cjs40.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const r=require("./index.cjs76.js"),n=require("./index.cjs42.js"),s=r(function(e,t){return n(e,t)});module.exports=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs40.js.map
|
package/dist/index.cjs40.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs40.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs40.js","sources":["../../../node_modules/underscore/modules/without.js"],"sourcesContent":["import restArguments from './restArguments.js';\nimport difference from './difference.js';\n\n// Return a version of the array that does not contain the specified value(s).\nexport default restArguments(function(array, otherArrays) {\n return difference(array, otherArrays);\n});\n"],"names":["without","restArguments","array","otherArrays","difference"],"mappings":"+EAIAA,EAAeC,EAAc,SAASC,EAAOC,EAAa,CACjD,OAAAC,EAAWF,EAAOC,CAAW,CACtC,CAAC","x_google_ignoreList":[0]}
|
package/dist/index.cjs41.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const e=require("./index.cjs76.js"),r=require("./index.cjs170.js"),n=require("./index.cjs218.js"),u=e(function(t){return r(n(t,!0,!0))});module.exports=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs41.js.map
|
package/dist/index.cjs41.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs41.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs41.js","sources":["../../../node_modules/underscore/modules/union.js"],"sourcesContent":["import restArguments from './restArguments.js';\nimport uniq from './uniq.js';\nimport flatten from './_flatten.js';\n\n// Produce an array that contains the union: each distinct element from all of\n// the passed-in arrays.\nexport default restArguments(function(arrays) {\n return uniq(flatten(arrays, true, true));\n});\n"],"names":["union","restArguments","arrays","uniq","flatten"],"mappings":"+GAMAA,EAAeC,EAAc,SAASC,EAAQ,CAC5C,OAAOC,EAAKC,EAAQF,EAAQ,GAAM,EAAI,CAAC,CACzC,CAAC","x_google_ignoreList":[0]}
|
package/dist/index.cjs42.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";const n=require("./index.cjs76.js"),u=require("./index.cjs218.js"),c=require("./index.cjs146.js"),i=require("./index.cjs150.js"),o=n(function(r,e){return e=u(e,!0,!0),c(r,function(t){return!i(e,t)})});module.exports=o;
|
|
2
2
|
//# sourceMappingURL=index.cjs42.js.map
|