@performant-software/geospatial 3.1.21 → 3.1.22-beta.0
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.cjs100.js +1 -1
- package/dist/index.cjs100.js.map +1 -1
- package/dist/index.cjs101.js +1 -1
- package/dist/index.cjs101.js.map +1 -1
- package/dist/index.cjs102.js +1 -1
- package/dist/index.cjs102.js.map +1 -1
- package/dist/index.cjs103.js +1 -1
- package/dist/index.cjs103.js.map +1 -1
- package/dist/index.cjs104.js +1 -1
- package/dist/index.cjs104.js.map +1 -1
- package/dist/index.cjs105.js +1 -1
- package/dist/index.cjs105.js.map +1 -1
- package/dist/index.cjs106.js +1 -1
- package/dist/index.cjs106.js.map +1 -1
- package/dist/index.cjs107.js +1 -1
- package/dist/index.cjs107.js.map +1 -1
- package/dist/index.cjs108.js +1 -1
- package/dist/index.cjs108.js.map +1 -1
- package/dist/index.cjs109.js +1 -1
- package/dist/index.cjs109.js.map +1 -1
- package/dist/index.cjs110.js +1 -1
- package/dist/index.cjs110.js.map +1 -1
- package/dist/index.cjs111.js +1 -1
- package/dist/index.cjs111.js.map +1 -1
- package/dist/index.cjs112.js +1 -1
- package/dist/index.cjs112.js.map +1 -1
- package/dist/index.cjs113.js +1 -1
- package/dist/index.cjs113.js.map +1 -1
- package/dist/index.cjs114.js +1 -1
- package/dist/index.cjs114.js.map +1 -1
- package/dist/index.cjs115.js +1 -1
- package/dist/index.cjs115.js.map +1 -1
- package/dist/index.cjs116.js +1 -1
- package/dist/index.cjs116.js.map +1 -1
- package/dist/index.cjs117.js +1 -1
- package/dist/index.cjs117.js.map +1 -1
- package/dist/index.cjs118.js +1 -1
- package/dist/index.cjs118.js.map +1 -1
- package/dist/index.cjs119.js +1 -1
- package/dist/index.cjs119.js.map +1 -1
- package/dist/index.cjs120.js +1 -1
- package/dist/index.cjs120.js.map +1 -1
- package/dist/index.cjs121.js +1 -1
- package/dist/index.cjs121.js.map +1 -1
- package/dist/index.cjs122.js +1 -1
- package/dist/index.cjs122.js.map +1 -1
- package/dist/index.cjs123.js +1 -1
- package/dist/index.cjs123.js.map +1 -1
- package/dist/index.cjs124.js +1 -1
- package/dist/index.cjs124.js.map +1 -1
- package/dist/index.cjs125.js +1 -1
- package/dist/index.cjs125.js.map +1 -1
- package/dist/index.cjs126.js +1 -1
- package/dist/index.cjs126.js.map +1 -1
- package/dist/index.cjs127.js +1 -1
- package/dist/index.cjs127.js.map +1 -1
- package/dist/index.cjs128.js +1 -1
- package/dist/index.cjs128.js.map +1 -1
- package/dist/index.cjs129.js +1 -1
- package/dist/index.cjs129.js.map +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs13.js.map +1 -1
- package/dist/index.cjs130.js +1 -1
- package/dist/index.cjs130.js.map +1 -1
- package/dist/index.cjs131.js +1 -1
- package/dist/index.cjs131.js.map +1 -1
- package/dist/index.cjs132.js +1 -1
- package/dist/index.cjs132.js.map +1 -1
- package/dist/index.cjs133.js +1 -1
- package/dist/index.cjs133.js.map +1 -1
- package/dist/index.cjs134.js +1 -1
- package/dist/index.cjs134.js.map +1 -1
- package/dist/index.cjs135.js +1 -13
- package/dist/index.cjs135.js.map +1 -1
- package/dist/index.cjs136.js +1 -1
- package/dist/index.cjs136.js.map +1 -1
- package/dist/index.cjs137.js +1 -1
- package/dist/index.cjs137.js.map +1 -1
- package/dist/index.cjs138.js +1 -1
- package/dist/index.cjs138.js.map +1 -1
- package/dist/index.cjs139.js +13 -1
- package/dist/index.cjs139.js.map +1 -1
- package/dist/index.cjs140.js +1 -1
- package/dist/index.cjs140.js.map +1 -1
- package/dist/index.cjs141.js +1 -1
- package/dist/index.cjs141.js.map +1 -1
- package/dist/index.cjs142.js +1 -1
- package/dist/index.cjs142.js.map +1 -1
- package/dist/index.cjs143.js +1 -1
- package/dist/index.cjs143.js.map +1 -1
- package/dist/index.cjs144.js +1 -1
- package/dist/index.cjs144.js.map +1 -1
- package/dist/index.cjs145.js +1 -1
- package/dist/index.cjs145.js.map +1 -1
- package/dist/index.cjs146.js +1 -1
- package/dist/index.cjs146.js.map +1 -1
- package/dist/index.cjs147.js +1 -1
- package/dist/index.cjs147.js.map +1 -1
- package/dist/index.cjs148.js +1 -1
- package/dist/index.cjs148.js.map +1 -1
- package/dist/index.cjs149.js +1 -1
- package/dist/index.cjs149.js.map +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs150.js +1 -1
- package/dist/index.cjs150.js.map +1 -1
- package/dist/index.cjs151.js +1 -1
- package/dist/index.cjs151.js.map +1 -1
- package/dist/index.cjs152.js +1 -1
- package/dist/index.cjs152.js.map +1 -1
- package/dist/index.cjs153.js +1 -1
- package/dist/index.cjs153.js.map +1 -1
- package/dist/index.cjs154.js +1 -1
- package/dist/index.cjs154.js.map +1 -1
- package/dist/index.cjs155.js +1 -1
- package/dist/index.cjs155.js.map +1 -1
- package/dist/index.cjs156.js +1 -1
- package/dist/index.cjs156.js.map +1 -1
- package/dist/index.cjs157.js +1 -1
- package/dist/index.cjs157.js.map +1 -1
- package/dist/index.cjs158.js +1 -1
- package/dist/index.cjs158.js.map +1 -1
- package/dist/index.cjs159.js +1 -1
- package/dist/index.cjs159.js.map +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs160.js +1 -1
- package/dist/index.cjs160.js.map +1 -1
- package/dist/index.cjs161.js +1 -1
- package/dist/index.cjs161.js.map +1 -1
- package/dist/index.cjs162.js +1 -1
- package/dist/index.cjs162.js.map +1 -1
- package/dist/index.cjs163.js +1 -1
- package/dist/index.cjs163.js.map +1 -1
- package/dist/index.cjs164.js +1 -1
- package/dist/index.cjs164.js.map +1 -1
- package/dist/index.cjs165.js +1 -1
- package/dist/index.cjs165.js.map +1 -1
- package/dist/index.cjs166.js +1 -1
- package/dist/index.cjs166.js.map +1 -1
- package/dist/index.cjs167.js +1 -1
- package/dist/index.cjs167.js.map +1 -1
- package/dist/index.cjs168.js +1 -1
- package/dist/index.cjs168.js.map +1 -1
- package/dist/index.cjs169.js +1 -1
- package/dist/index.cjs169.js.map +1 -1
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs170.js +1 -1
- package/dist/index.cjs170.js.map +1 -1
- package/dist/index.cjs171.js +1 -1
- package/dist/index.cjs171.js.map +1 -1
- package/dist/index.cjs172.js +1 -1
- package/dist/index.cjs172.js.map +1 -1
- package/dist/index.cjs173.js +1 -1
- package/dist/index.cjs173.js.map +1 -1
- package/dist/index.cjs174.js +1 -1
- package/dist/index.cjs174.js.map +1 -1
- package/dist/index.cjs175.js +1 -1
- package/dist/index.cjs175.js.map +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 +1 -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.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 -1
- 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.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.cjs199.js.map +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs200.js.map +1 -1
- package/dist/index.cjs201.js +1 -1
- package/dist/index.cjs201.js.map +1 -1
- package/dist/index.cjs202.js +1 -1
- package/dist/index.cjs202.js.map +1 -1
- package/dist/index.cjs203.js +1 -1
- package/dist/index.cjs203.js.map +1 -1
- package/dist/index.cjs204.js +1 -1
- package/dist/index.cjs204.js.map +1 -1
- package/dist/index.cjs205.js +1 -7
- package/dist/index.cjs205.js.map +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.cjs21.js +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 +7 -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.cjs22.js +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.cjs23.js +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.cjs238.js +1 -1
- package/dist/index.cjs238.js.map +1 -1
- package/dist/index.cjs239.js +1 -1
- package/dist/index.cjs239.js.map +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs240.js +1 -1
- package/dist/index.cjs240.js.map +1 -1
- package/dist/index.cjs241.js +1 -1
- package/dist/index.cjs241.js.map +1 -1
- package/dist/index.cjs242.js +1 -1
- package/dist/index.cjs242.js.map +1 -1
- package/dist/index.cjs243.js +1 -1
- package/dist/index.cjs243.js.map +1 -1
- package/dist/index.cjs244.js +1 -1
- package/dist/index.cjs244.js.map +1 -1
- package/dist/index.cjs245.js +1 -1
- package/dist/index.cjs245.js.map +1 -1
- package/dist/index.cjs246.js +1 -1
- package/dist/index.cjs246.js.map +1 -1
- package/dist/index.cjs247.js +1 -1
- package/dist/index.cjs247.js.map +1 -1
- package/dist/index.cjs248.js +1 -1
- package/dist/index.cjs248.js.map +1 -1
- package/dist/index.cjs249.js +1 -1
- package/dist/index.cjs249.js.map +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs250.js +1 -1
- package/dist/index.cjs250.js.map +1 -1
- package/dist/index.cjs251.js +1 -1
- package/dist/index.cjs251.js.map +1 -1
- package/dist/index.cjs252.js +1 -1
- package/dist/index.cjs252.js.map +1 -1
- package/dist/index.cjs253.js +1 -1
- package/dist/index.cjs253.js.map +1 -1
- package/dist/index.cjs254.js +1 -1
- package/dist/index.cjs254.js.map +1 -1
- package/dist/index.cjs255.js +1 -1
- package/dist/index.cjs255.js.map +1 -1
- package/dist/index.cjs256.js +1 -1
- package/dist/index.cjs256.js.map +1 -1
- package/dist/index.cjs257.js +1 -1
- package/dist/index.cjs257.js.map +1 -1
- package/dist/index.cjs258.js +1 -1
- package/dist/index.cjs258.js.map +1 -1
- package/dist/index.cjs259.js +1 -1
- package/dist/index.cjs259.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.cjs261.js +1 -1
- package/dist/index.cjs261.js.map +1 -1
- package/dist/index.cjs262.js +1 -1
- package/dist/index.cjs262.js.map +1 -1
- package/dist/index.cjs263.js +1 -1
- package/dist/index.cjs263.js.map +1 -1
- package/dist/index.cjs264.js +1 -1
- package/dist/index.cjs264.js.map +1 -1
- package/dist/index.cjs265.js +1 -1
- package/dist/index.cjs265.js.map +1 -1
- package/dist/index.cjs266.js +1 -1
- package/dist/index.cjs266.js.map +1 -1
- package/dist/index.cjs267.js +1 -1
- package/dist/index.cjs267.js.map +1 -1
- package/dist/index.cjs268.js +1 -1
- package/dist/index.cjs268.js.map +1 -1
- package/dist/index.cjs269.js +1 -1
- package/dist/index.cjs269.js.map +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs270.js +1 -1
- package/dist/index.cjs270.js.map +1 -1
- package/dist/index.cjs271.js +2 -0
- package/dist/index.cjs271.js.map +1 -0
- package/dist/index.cjs272.js +2 -0
- package/dist/index.cjs272.js.map +1 -0
- package/dist/index.cjs273.js +2 -0
- package/dist/index.cjs273.js.map +1 -0
- package/dist/index.cjs274.js +2 -0
- package/dist/index.cjs274.js.map +1 -0
- package/dist/index.cjs29.js +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs36.js +1 -1
- package/dist/index.cjs38.js +1 -1
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs40.js +1 -1
- package/dist/index.cjs42.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.cjs46.js +1 -1
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs48.js +1 -1
- package/dist/index.cjs50.js +1 -1
- package/dist/index.cjs51.js +1 -1
- package/dist/index.cjs52.js +1 -1
- package/dist/index.cjs53.js +1 -1
- package/dist/index.cjs55.js +1 -1
- package/dist/index.cjs56.js +1 -1
- package/dist/index.cjs57.js +1 -1
- package/dist/index.cjs58.js +1 -1
- package/dist/index.cjs59.js +1 -1
- package/dist/index.cjs60.js +1 -1
- package/dist/index.cjs61.js +1 -1
- package/dist/index.cjs62.js +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs67.js +1 -1
- package/dist/index.cjs67.js.map +1 -1
- package/dist/index.cjs69.js +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 -9
- package/dist/index.cjs75.js.map +1 -1
- package/dist/index.cjs76.js +1 -17
- package/dist/index.cjs76.js.map +1 -1
- package/dist/index.cjs77.js +1 -743
- 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.cjs79.js +1 -1
- package/dist/index.cjs79.js.map +1 -1
- package/dist/index.cjs80.js +9 -1
- package/dist/index.cjs80.js.map +1 -1
- package/dist/index.cjs81.js +17 -1
- package/dist/index.cjs81.js.map +1 -1
- package/dist/index.cjs82.js +1 -1
- package/dist/index.cjs82.js.map +1 -1
- package/dist/index.cjs83.js +1 -1
- package/dist/index.cjs83.js.map +1 -1
- package/dist/index.cjs84.js +1 -1
- package/dist/index.cjs84.js.map +1 -1
- package/dist/index.cjs85.js +1 -1
- package/dist/index.cjs85.js.map +1 -1
- package/dist/index.cjs86.js +1 -1
- package/dist/index.cjs86.js.map +1 -1
- package/dist/index.cjs87.js +743 -1
- package/dist/index.cjs87.js.map +1 -1
- package/dist/index.cjs88.js +1 -1
- package/dist/index.cjs88.js.map +1 -1
- package/dist/index.cjs89.js +1 -1
- package/dist/index.cjs89.js.map +1 -1
- package/dist/index.cjs90.js +1 -1
- package/dist/index.cjs90.js.map +1 -1
- package/dist/index.cjs91.js +1 -1
- package/dist/index.cjs91.js.map +1 -1
- package/dist/index.cjs92.js +1 -1
- package/dist/index.cjs92.js.map +1 -1
- package/dist/index.cjs93.js +1 -1
- package/dist/index.cjs93.js.map +1 -1
- package/dist/index.cjs94.js +1 -1
- package/dist/index.cjs94.js.map +1 -1
- package/dist/index.cjs95.js +1 -1
- package/dist/index.cjs95.js.map +1 -1
- package/dist/index.cjs96.js +1 -1
- package/dist/index.cjs96.js.map +1 -1
- package/dist/index.cjs97.js +1 -1
- package/dist/index.cjs97.js.map +1 -1
- package/dist/index.cjs98.js +1 -1
- package/dist/index.cjs98.js.map +1 -1
- package/dist/index.cjs99.js +1 -1
- package/dist/index.cjs99.js.map +1 -1
- package/dist/index.es100.js +3 -3
- package/dist/index.es100.js.map +1 -1
- package/dist/index.es101.js +3 -3
- package/dist/index.es101.js.map +1 -1
- package/dist/index.es102.js +3 -10
- package/dist/index.es102.js.map +1 -1
- package/dist/index.es103.js +3 -4
- package/dist/index.es103.js.map +1 -1
- package/dist/index.es104.js +3 -6
- package/dist/index.es104.js.map +1 -1
- package/dist/index.es105.js +3 -6
- package/dist/index.es105.js.map +1 -1
- package/dist/index.es106.js +9 -9
- package/dist/index.es106.js.map +1 -1
- package/dist/index.es107.js +4 -11
- package/dist/index.es107.js.map +1 -1
- package/dist/index.es108.js +5 -10
- package/dist/index.es108.js.map +1 -1
- package/dist/index.es109.js +5 -74
- package/dist/index.es109.js.map +1 -1
- package/dist/index.es110.js +10 -3
- package/dist/index.es110.js.map +1 -1
- package/dist/index.es111.js +10 -11
- package/dist/index.es111.js.map +1 -1
- package/dist/index.es112.js +10 -9
- package/dist/index.es112.js.map +1 -1
- package/dist/index.es113.js +74 -6
- package/dist/index.es113.js.map +1 -1
- package/dist/index.es114.js +3 -7
- package/dist/index.es114.js.map +1 -1
- package/dist/index.es115.js +11 -6
- package/dist/index.es115.js.map +1 -1
- package/dist/index.es116.js +9 -7
- package/dist/index.es116.js.map +1 -1
- package/dist/index.es117.js +6 -3
- package/dist/index.es117.js.map +1 -1
- package/dist/index.es118.js +7 -4
- package/dist/index.es118.js.map +1 -1
- package/dist/index.es119.js +6 -3
- package/dist/index.es119.js.map +1 -1
- package/dist/index.es120.js +7 -6
- package/dist/index.es120.js.map +1 -1
- package/dist/index.es121.js +4 -7
- package/dist/index.es121.js.map +1 -1
- package/dist/index.es122.js +4 -4
- package/dist/index.es122.js.map +1 -1
- package/dist/index.es123.js +4 -8
- package/dist/index.es123.js.map +1 -1
- package/dist/index.es124.js +6 -11
- package/dist/index.es124.js.map +1 -1
- package/dist/index.es125.js +6 -10
- package/dist/index.es125.js.map +1 -1
- package/dist/index.es126.js +2 -2
- package/dist/index.es126.js.map +1 -1
- package/dist/index.es127.js +7 -5
- package/dist/index.es127.js.map +1 -1
- package/dist/index.es128.js +11 -2
- package/dist/index.es128.js.map +1 -1
- package/dist/index.es129.js +10 -7
- package/dist/index.es129.js.map +1 -1
- package/dist/index.es13.js +49 -33
- package/dist/index.es13.js.map +1 -1
- package/dist/index.es130.js +3 -7
- package/dist/index.es130.js.map +1 -1
- package/dist/index.es131.js +4 -6
- package/dist/index.es131.js.map +1 -1
- package/dist/index.es132.js +2 -7
- package/dist/index.es132.js.map +1 -1
- package/dist/index.es133.js +7 -3
- package/dist/index.es133.js.map +1 -1
- package/dist/index.es134.js +8 -4
- package/dist/index.es134.js.map +1 -1
- package/dist/index.es135.js +6 -55
- package/dist/index.es135.js.map +1 -1
- package/dist/index.es136.js +7 -13
- package/dist/index.es136.js.map +1 -1
- package/dist/index.es137.js +2 -4
- package/dist/index.es137.js.map +1 -1
- package/dist/index.es138.js +3 -5
- package/dist/index.es138.js.map +1 -1
- package/dist/index.es139.js +55 -7
- package/dist/index.es139.js.map +1 -1
- package/dist/index.es140.js +13 -16
- package/dist/index.es140.js.map +1 -1
- package/dist/index.es141.js +5 -13
- package/dist/index.es141.js.map +1 -1
- package/dist/index.es142.js +5 -4
- package/dist/index.es142.js.map +1 -1
- package/dist/index.es143.js +7 -4
- package/dist/index.es143.js.map +1 -1
- package/dist/index.es144.js +15 -6
- package/dist/index.es144.js.map +1 -1
- package/dist/index.es145.js +13 -6
- package/dist/index.es145.js.map +1 -1
- package/dist/index.es146.js +4 -6
- package/dist/index.es146.js.map +1 -1
- package/dist/index.es147.js +5 -7
- package/dist/index.es147.js.map +1 -1
- package/dist/index.es148.js +8 -3
- package/dist/index.es148.js.map +1 -1
- package/dist/index.es149.js +7 -3
- package/dist/index.es149.js.map +1 -1
- package/dist/index.es15.js +1 -1
- package/dist/index.es150.js +6 -10
- package/dist/index.es150.js.map +1 -1
- package/dist/index.es151.js +8 -5
- package/dist/index.es151.js.map +1 -1
- package/dist/index.es152.js +3 -4
- package/dist/index.es152.js.map +1 -1
- package/dist/index.es153.js +3 -8
- package/dist/index.es153.js.map +1 -1
- package/dist/index.es154.js +10 -5
- package/dist/index.es154.js.map +1 -1
- package/dist/index.es155.js +5 -17
- package/dist/index.es155.js.map +1 -1
- package/dist/index.es156.js +4 -12
- package/dist/index.es156.js.map +1 -1
- package/dist/index.es157.js +8 -3
- package/dist/index.es157.js.map +1 -1
- package/dist/index.es158.js +6 -3
- package/dist/index.es158.js.map +1 -1
- package/dist/index.es159.js +16 -8
- package/dist/index.es159.js.map +1 -1
- package/dist/index.es16.js +4 -4
- package/dist/index.es160.js +11 -6
- package/dist/index.es160.js.map +1 -1
- package/dist/index.es161.js +3 -12
- package/dist/index.es161.js.map +1 -1
- package/dist/index.es162.js +3 -12
- package/dist/index.es162.js.map +1 -1
- package/dist/index.es163.js +8 -6
- package/dist/index.es163.js.map +1 -1
- package/dist/index.es164.js +6 -5
- package/dist/index.es164.js.map +1 -1
- package/dist/index.es165.js +11 -5
- package/dist/index.es165.js.map +1 -1
- package/dist/index.es166.js +11 -16
- package/dist/index.es166.js.map +1 -1
- package/dist/index.es167.js +6 -16
- package/dist/index.es167.js.map +1 -1
- package/dist/index.es168.js +5 -4
- package/dist/index.es168.js.map +1 -1
- package/dist/index.es169.js +5 -16
- package/dist/index.es169.js.map +1 -1
- package/dist/index.es17.js +3 -3
- package/dist/index.es170.js +16 -20
- package/dist/index.es170.js.map +1 -1
- package/dist/index.es171.js +17 -6
- package/dist/index.es171.js.map +1 -1
- package/dist/index.es172.js +5 -5
- package/dist/index.es172.js.map +1 -1
- package/dist/index.es173.js +17 -6
- package/dist/index.es173.js.map +1 -1
- package/dist/index.es174.js +21 -5
- package/dist/index.es174.js.map +1 -1
- package/dist/index.es175.js +6 -12
- package/dist/index.es175.js.map +1 -1
- package/dist/index.es176.js +4 -5
- package/dist/index.es176.js.map +1 -1
- package/dist/index.es177.js +6 -5
- package/dist/index.es177.js.map +1 -1
- package/dist/index.es178.js +5 -5
- package/dist/index.es178.js.map +1 -1
- package/dist/index.es179.js +11 -4
- package/dist/index.es179.js.map +1 -1
- package/dist/index.es18.js +3 -3
- package/dist/index.es180.js +5 -4
- package/dist/index.es180.js.map +1 -1
- package/dist/index.es181.js +4 -4
- package/dist/index.es181.js.map +1 -1
- package/dist/index.es182.js +4 -4
- package/dist/index.es182.js.map +1 -1
- package/dist/index.es183.js +4 -12
- package/dist/index.es183.js.map +1 -1
- package/dist/index.es184.js +4 -14
- package/dist/index.es184.js.map +1 -1
- package/dist/index.es185.js +4 -8
- package/dist/index.es185.js.map +1 -1
- package/dist/index.es186.js +4 -6
- package/dist/index.es186.js.map +1 -1
- package/dist/index.es187.js +12 -6
- package/dist/index.es187.js.map +1 -1
- package/dist/index.es188.js +13 -6
- package/dist/index.es188.js.map +1 -1
- package/dist/index.es189.js +8 -147
- package/dist/index.es189.js.map +1 -1
- package/dist/index.es19.js +1 -1
- package/dist/index.es190.js +6 -6
- package/dist/index.es190.js.map +1 -1
- package/dist/index.es191.js +7 -5
- package/dist/index.es191.js.map +1 -1
- package/dist/index.es192.js +10 -3
- package/dist/index.es192.js.map +1 -1
- package/dist/index.es193.js +20 -3
- package/dist/index.es193.js.map +1 -1
- package/dist/index.es194.js +144 -32
- package/dist/index.es194.js.map +1 -1
- package/dist/index.es195.js +9 -3
- package/dist/index.es195.js.map +1 -1
- package/dist/index.es196.js +5 -23
- package/dist/index.es196.js.map +1 -1
- package/dist/index.es197.js +2 -1
- package/dist/index.es197.js.map +1 -1
- package/dist/index.es198.js +2 -2
- package/dist/index.es198.js.map +1 -1
- package/dist/index.es199.js +38 -2
- package/dist/index.es199.js.map +1 -1
- package/dist/index.es20.js +1 -1
- package/dist/index.es200.js +3 -33
- package/dist/index.es200.js.map +1 -1
- package/dist/index.es201.js +23 -13
- package/dist/index.es201.js.map +1 -1
- package/dist/index.es202.js +2 -16
- package/dist/index.es202.js.map +1 -1
- package/dist/index.es203.js +3 -11
- package/dist/index.es203.js.map +1 -1
- package/dist/index.es204.js +2 -16
- package/dist/index.es204.js.map +1 -1
- package/dist/index.es205.js +30 -7506
- package/dist/index.es205.js.map +1 -1
- package/dist/index.es206.js +13 -2
- package/dist/index.es206.js.map +1 -1
- package/dist/index.es207.js +13 -7
- package/dist/index.es207.js.map +1 -1
- package/dist/index.es208.js +8 -4
- package/dist/index.es208.js.map +1 -1
- package/dist/index.es209.js +243 -4
- package/dist/index.es209.js.map +1 -1
- package/dist/index.es21.js +1 -1
- package/dist/index.es210.js +43 -3
- 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 -7
- package/dist/index.es212.js.map +1 -1
- package/dist/index.es213.js +10 -18
- package/dist/index.es213.js.map +1 -1
- package/dist/index.es214.js +29 -19
- package/dist/index.es214.js.map +1 -1
- package/dist/index.es215.js +13 -12
- package/dist/index.es215.js.map +1 -1
- package/dist/index.es216.js +4 -14
- package/dist/index.es216.js.map +1 -1
- package/dist/index.es217.js +7506 -5
- package/dist/index.es217.js.map +1 -1
- package/dist/index.es218.js +2 -8
- package/dist/index.es218.js.map +1 -1
- package/dist/index.es219.js +7 -6
- package/dist/index.es219.js.map +1 -1
- package/dist/index.es22.js +1 -1
- package/dist/index.es220.js +4 -21
- package/dist/index.es220.js.map +1 -1
- package/dist/index.es221.js +4 -10
- package/dist/index.es221.js.map +1 -1
- package/dist/index.es222.js +3 -9
- package/dist/index.es222.js.map +1 -1
- package/dist/index.es223.js +3 -4
- package/dist/index.es223.js.map +1 -1
- package/dist/index.es224.js +8 -10
- package/dist/index.es224.js.map +1 -1
- package/dist/index.es225.js +18 -7
- package/dist/index.es225.js.map +1 -1
- package/dist/index.es226.js +20 -20
- package/dist/index.es226.js.map +1 -1
- package/dist/index.es227.js +11 -9
- package/dist/index.es227.js.map +1 -1
- package/dist/index.es228.js +13 -16
- package/dist/index.es228.js.map +1 -1
- package/dist/index.es229.js +6 -4
- package/dist/index.es229.js.map +1 -1
- package/dist/index.es23.js +1 -1
- package/dist/index.es230.js +7 -17
- package/dist/index.es230.js.map +1 -1
- package/dist/index.es231.js +6 -11
- package/dist/index.es231.js.map +1 -1
- package/dist/index.es232.js +21 -3
- package/dist/index.es232.js.map +1 -1
- package/dist/index.es233.js +9 -4
- package/dist/index.es233.js.map +1 -1
- package/dist/index.es234.js +9 -243
- package/dist/index.es234.js.map +1 -1
- package/dist/index.es235.js +4 -43
- package/dist/index.es235.js.map +1 -1
- package/dist/index.es236.js +11 -3
- package/dist/index.es236.js.map +1 -1
- package/dist/index.es237.js +7 -10
- package/dist/index.es237.js.map +1 -1
- package/dist/index.es238.js +19 -9
- package/dist/index.es238.js.map +1 -1
- package/dist/index.es239.js +10 -30
- package/dist/index.es239.js.map +1 -1
- package/dist/index.es24.js +1 -1
- package/dist/index.es240.js +17 -13
- package/dist/index.es240.js.map +1 -1
- package/dist/index.es241.js +4 -5
- package/dist/index.es241.js.map +1 -1
- package/dist/index.es242.js +17 -24
- package/dist/index.es242.js.map +1 -1
- package/dist/index.es243.js +11 -16
- package/dist/index.es243.js.map +1 -1
- package/dist/index.es244.js +3 -30
- package/dist/index.es244.js.map +1 -1
- package/dist/index.es245.js +4 -21
- package/dist/index.es245.js.map +1 -1
- package/dist/index.es246.js +19 -73
- package/dist/index.es246.js.map +1 -1
- package/dist/index.es247.js +21 -19
- package/dist/index.es247.js.map +1 -1
- package/dist/index.es248.js +23 -39
- package/dist/index.es248.js.map +1 -1
- package/dist/index.es249.js +14 -47
- package/dist/index.es249.js.map +1 -1
- package/dist/index.es25.js +1 -1
- package/dist/index.es250.js +30 -7
- package/dist/index.es250.js.map +1 -1
- package/dist/index.es251.js +20 -19
- package/dist/index.es251.js.map +1 -1
- package/dist/index.es252.js +68 -59
- package/dist/index.es252.js.map +1 -1
- package/dist/index.es253.js +14 -36
- package/dist/index.es253.js.map +1 -1
- package/dist/index.es254.js +36 -59
- package/dist/index.es254.js.map +1 -1
- package/dist/index.es255.js +48 -7
- package/dist/index.es255.js.map +1 -1
- package/dist/index.es256.js +7 -3
- package/dist/index.es256.js.map +1 -1
- package/dist/index.es257.js +19 -11
- package/dist/index.es257.js.map +1 -1
- package/dist/index.es258.js +62 -56
- package/dist/index.es258.js.map +1 -1
- package/dist/index.es259.js +40 -47
- package/dist/index.es259.js.map +1 -1
- package/dist/index.es26.js +2 -2
- package/dist/index.es260.js +63 -7
- package/dist/index.es260.js.map +1 -1
- package/dist/index.es261.js +8 -5
- package/dist/index.es261.js.map +1 -1
- package/dist/index.es262.js +4 -3
- package/dist/index.es262.js.map +1 -1
- package/dist/index.es263.js +11 -19
- package/dist/index.es263.js.map +1 -1
- package/dist/index.es264.js +58 -21
- package/dist/index.es264.js.map +1 -1
- package/dist/index.es265.js +49 -2
- package/dist/index.es265.js.map +1 -1
- package/dist/index.es266.js +3 -5
- package/dist/index.es266.js.map +1 -1
- package/dist/index.es267.js +5 -15
- package/dist/index.es267.js.map +1 -1
- package/dist/index.es268.js +6 -68
- package/dist/index.es268.js.map +1 -1
- package/dist/index.es269.js +2 -3
- package/dist/index.es269.js.map +1 -1
- package/dist/index.es27.js +2 -2
- package/dist/index.es270.js +4 -24
- package/dist/index.es270.js.map +1 -1
- package/dist/index.es271.js +19 -0
- package/dist/index.es271.js.map +1 -0
- package/dist/index.es272.js +73 -0
- package/dist/index.es272.js.map +1 -0
- package/dist/index.es273.js +7 -0
- package/dist/index.es273.js.map +1 -0
- package/dist/index.es274.js +28 -0
- package/dist/index.es274.js.map +1 -0
- package/dist/index.es29.js +2 -2
- package/dist/index.es32.js +2 -2
- package/dist/index.es34.js +2 -2
- package/dist/index.es35.js +2 -2
- package/dist/index.es36.js +2 -2
- package/dist/index.es38.js +1 -1
- package/dist/index.es39.js +1 -1
- package/dist/index.es40.js +2 -2
- package/dist/index.es42.js +2 -2
- package/dist/index.es43.js +2 -2
- package/dist/index.es44.js +2 -2
- package/dist/index.es45.js +1 -1
- package/dist/index.es46.js +1 -1
- package/dist/index.es47.js +2 -2
- package/dist/index.es48.js +2 -2
- package/dist/index.es50.js +2 -2
- package/dist/index.es51.js +2 -2
- package/dist/index.es52.js +2 -2
- package/dist/index.es53.js +1 -1
- package/dist/index.es55.js +1 -1
- package/dist/index.es56.js +4 -4
- package/dist/index.es57.js +5 -5
- package/dist/index.es58.js +5 -5
- package/dist/index.es59.js +1 -1
- package/dist/index.es60.js +3 -3
- package/dist/index.es61.js +4 -4
- package/dist/index.es62.js +2 -2
- package/dist/index.es63.js +2 -2
- package/dist/index.es67.js +33 -24
- package/dist/index.es67.js.map +1 -1
- package/dist/index.es69.js +1 -1
- package/dist/index.es71.js +11 -79
- package/dist/index.es71.js.map +1 -1
- package/dist/index.es72.js +115 -11
- package/dist/index.es72.js.map +1 -1
- package/dist/index.es73.js +80 -7
- package/dist/index.es73.js.map +1 -1
- package/dist/index.es74.js +13 -2
- package/dist/index.es74.js.map +1 -1
- package/dist/index.es75.js +11 -25
- package/dist/index.es75.js.map +1 -1
- package/dist/index.es76.js +9 -588
- package/dist/index.es76.js.map +1 -1
- package/dist/index.es77.js +7 -21351
- package/dist/index.es77.js.map +1 -1
- package/dist/index.es78.js +8 -2
- package/dist/index.es78.js.map +1 -1
- package/dist/index.es79.js +2 -1993
- package/dist/index.es79.js.map +1 -1
- package/dist/index.es80.js +25 -5
- package/dist/index.es80.js.map +1 -1
- package/dist/index.es81.js +589 -2
- package/dist/index.es81.js.map +1 -1
- package/dist/index.es82.js +1991 -104
- package/dist/index.es82.js.map +1 -1
- package/dist/index.es83.js +6 -10
- package/dist/index.es83.js.map +1 -1
- package/dist/index.es84.js +2 -12
- package/dist/index.es84.js.map +1 -1
- package/dist/index.es85.js +106 -2
- package/dist/index.es85.js.map +1 -1
- package/dist/index.es86.js +10 -2
- package/dist/index.es86.js.map +1 -1
- package/dist/index.es87.js +21352 -273
- package/dist/index.es87.js.map +1 -1
- package/dist/index.es88.js +2 -15
- package/dist/index.es88.js.map +1 -1
- package/dist/index.es89.js +2 -19
- package/dist/index.es89.js.map +1 -1
- package/dist/index.es90.js +2 -5
- package/dist/index.es90.js.map +1 -1
- package/dist/index.es91.js +273 -4
- package/dist/index.es91.js.map +1 -1
- package/dist/index.es92.js +14 -3
- package/dist/index.es92.js.map +1 -1
- package/dist/index.es93.js +18 -4
- package/dist/index.es93.js.map +1 -1
- package/dist/index.es94.js +3 -2
- package/dist/index.es94.js.map +1 -1
- package/dist/index.es95.js +4 -3
- package/dist/index.es95.js.map +1 -1
- package/dist/index.es96.js +4 -3
- package/dist/index.es96.js.map +1 -1
- package/dist/index.es97.js +5 -3
- package/dist/index.es97.js.map +1 -1
- package/dist/index.es98.js +4 -3
- package/dist/index.es98.js.map +1 -1
- package/dist/index.es99.js +3 -3
- package/dist/index.es99.js.map +1 -1
- package/package.json +1 -1
- package/src/utils/Map.js +45 -1
- package/types/utils/Map.js.flow +45 -1
package/dist/index.cjs27.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),g=require("./index.cjs16.js"),L=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),g=require("./index.cjs16.js"),L=require("./index.cjs216.js"),l=require("./index.cjs214.js");function m(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:s,beforeId:d}=a;if(d!==o.beforeId&&t.moveLayer(e,d),r!==o.layout){const c=o.layout||{};for(const n in r)l.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)l.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)}l.deepEqual(y,o.filter)||t.setFilter(e,y),(f!==o.minzoom||s!==o.maxzoom)&&t.setLayerZoomRange(e,f,s)}function q(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 b=0;function h(t){const e=u.useContext(g.MapContext).map.getMap(),a=u.useRef(t),[,o]=u.useState(0),r=u.useMemo(()=>t.id||`jsx-layer-${b++}`,[]);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{m(e,r,t,a.current)}catch(y){console.warn(y)}else q(e,r,t);return a.current=t,null}exports.Layer=h;
|
|
2
2
|
//# sourceMappingURL=index.cjs27.js.map
|
package/dist/index.cjs270.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const s=require("./index.
|
|
1
|
+
"use strict";const s=require("./index.cjs251.js");function n(t,e){return s.abs(t[0]-e[0])<s.epsilon&&s.abs(t[1]-e[1])<s.epsilon}module.exports=n;
|
|
2
2
|
//# sourceMappingURL=index.cjs270.js.map
|
package/dist/index.cjs270.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs270.js","sources":["../../../node_modules/d3-geo/
|
|
1
|
+
{"version":3,"file":"index.cjs270.js","sources":["../../../node_modules/d3-geo/src/pointEqual.js"],"sourcesContent":["import {abs, epsilon} from \"./math\";\n\nexport default function(a, b) {\n return abs(a[0] - b[0]) < epsilon && abs(a[1] - b[1]) < epsilon;\n}\n"],"names":["pointEqual","a","b","abs","epsilon"],"mappings":"kDAEA,SAAAA,EAAwBC,EAAGC,EAAG,CAC5B,OAAOC,EAAAA,IAAIF,EAAE,CAAC,EAAIC,EAAE,CAAC,CAAC,EAAIE,EAAAA,SAAWD,EAAAA,IAAIF,EAAE,CAAC,EAAIC,EAAE,CAAC,CAAC,EAAIE,EAAAA,OAC1D","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const r=require("./index.cjs269.js");var t=1/0,e=t,i=-t,u=i,f={point:s,lineStart:r,lineEnd:r,polygonStart:r,polygonEnd:r,result:function(){var n=[[t,e],[i,u]];return i=u=-(e=t=1/0),n}};function s(n,o){n<t&&(t=n),n>i&&(i=n),o<e&&(e=o),o>u&&(u=o)}module.exports=f;
|
|
2
|
+
//# sourceMappingURL=index.cjs271.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs271.js","sources":["../../../node_modules/d3-geo/src/path/bounds.js"],"sourcesContent":["import noop from \"../noop\";\n\nvar x0 = Infinity,\n y0 = x0,\n x1 = -x0,\n y1 = x1;\n\nvar boundsStream = {\n point: boundsPoint,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: noop,\n polygonEnd: noop,\n result: function() {\n var bounds = [[x0, y0], [x1, y1]];\n x1 = y1 = -(y0 = x0 = Infinity);\n return bounds;\n }\n};\n\nfunction boundsPoint(x, y) {\n if (x < x0) x0 = x;\n if (x > x1) x1 = x;\n if (y < y0) y0 = y;\n if (y > y1) y1 = y;\n}\n\nexport default boundsStream;\n"],"names":["x0","y0","x1","y1","boundsStream","boundsPoint","noop","bounds","x","y"],"mappings":"kDAEA,IAAIA,EAAK,IACLC,EAAKD,EACLE,EAAK,CAACF,EACNG,EAAKD,EAELE,EAAe,CACjB,MAAOC,EACP,UAAWC,EACX,QAASA,EACT,aAAcA,EACd,WAAYA,EACZ,OAAQ,UAAW,CACjB,IAAIC,EAAS,CAAC,CAACP,EAAIC,CAAE,EAAG,CAACC,EAAIC,CAAE,CAAC,EAChC,OAAAD,EAAKC,EAAK,EAAEF,EAAKD,EAAK,KACfO,CACT,CACF,EAEA,SAASF,EAAYG,EAAGC,EAAG,CACrBD,EAAIR,IAAIA,EAAKQ,GACbA,EAAIN,IAAIA,EAAKM,GACbC,EAAIR,IAAIA,EAAKQ,GACbA,EAAIN,IAAIA,EAAKM,EACnB","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const w=require("./index.cjs253.js"),z=require("./index.cjs255.js"),g=require("./index.cjs251.js"),A=require("./index.cjs201.js");require("./index.cjs200.js");const D=require("./index.cjs256.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
|
+
//# sourceMappingURL=index.cjs272.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs272.js","sources":["../../../node_modules/d3-geo/src/clip/index.js"],"sourcesContent":["import clipBuffer from \"./buffer\";\nimport clipPolygon from \"./polygon\";\nimport {epsilon, halfPi} from \"../math\";\nimport polygonContains from \"../polygonContains\";\nimport {merge} from \"d3-array\";\n\nexport default function(pointVisible, clipLine, interpolate, start) {\n return function(rotate, sink) {\n var line = clipLine(sink),\n rotatedStart = rotate.invert(start[0], start[1]),\n ringBuffer = clipBuffer(),\n ringSink = clipLine(ringBuffer),\n polygonStarted = false,\n polygon,\n segments,\n ring;\n\n var clip = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: function() {\n clip.point = pointRing;\n clip.lineStart = ringStart;\n clip.lineEnd = ringEnd;\n segments = [];\n polygon = [];\n },\n polygonEnd: function() {\n clip.point = point;\n clip.lineStart = lineStart;\n clip.lineEnd = lineEnd;\n segments = merge(segments);\n var startInside = polygonContains(polygon, rotatedStart);\n if (segments.length) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n clipPolygon(segments, compareIntersection, startInside, interpolate, sink);\n } else if (startInside) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n }\n if (polygonStarted) sink.polygonEnd(), polygonStarted = false;\n segments = polygon = null;\n },\n sphere: function() {\n sink.polygonStart();\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n sink.polygonEnd();\n }\n };\n\n function point(lambda, phi) {\n var point = rotate(lambda, phi);\n if (pointVisible(lambda = point[0], phi = point[1])) sink.point(lambda, phi);\n }\n\n function pointLine(lambda, phi) {\n var point = rotate(lambda, phi);\n line.point(point[0], point[1]);\n }\n\n function lineStart() {\n clip.point = pointLine;\n line.lineStart();\n }\n\n function lineEnd() {\n clip.point = point;\n line.lineEnd();\n }\n\n function pointRing(lambda, phi) {\n ring.push([lambda, phi]);\n var point = rotate(lambda, phi);\n ringSink.point(point[0], point[1]);\n }\n\n function ringStart() {\n ringSink.lineStart();\n ring = [];\n }\n\n function ringEnd() {\n pointRing(ring[0][0], ring[0][1]);\n ringSink.lineEnd();\n\n var clean = ringSink.clean(),\n ringSegments = ringBuffer.result(),\n i, n = ringSegments.length, m,\n segment,\n point;\n\n ring.pop();\n polygon.push(ring);\n ring = null;\n\n if (!n) return;\n\n // No intersections.\n if (clean & 1) {\n segment = ringSegments[0];\n if ((m = segment.length - 1) > 0) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n for (i = 0; i < m; ++i) sink.point((point = segment[i])[0], point[1]);\n sink.lineEnd();\n }\n return;\n }\n\n // Rejoin connected segments.\n // TODO reuse ringBuffer.rejoin()?\n if (n > 1 && clean & 2) ringSegments.push(ringSegments.pop().concat(ringSegments.shift()));\n\n segments.push(ringSegments.filter(validSegment));\n }\n\n return clip;\n };\n}\n\nfunction validSegment(segment) {\n return segment.length > 1;\n}\n\n// Intersections are sorted along the clip edge. For both antimeridian cutting\n// and circle clipping, the same comparison is used.\nfunction compareIntersection(a, b) {\n return ((a = a.x)[0] < 0 ? a[1] - halfPi - epsilon : halfPi - a[1])\n - ((b = b.x)[0] < 0 ? b[1] - halfPi - epsilon : halfPi - b[1]);\n}\n"],"names":["clip","pointVisible","clipLine","interpolate","start","rotate","sink","line","rotatedStart","ringBuffer","clipBuffer","ringSink","polygonStarted","polygon","segments","ring","point","lineStart","lineEnd","pointRing","ringStart","ringEnd","merge","startInside","polygonContains","clipPolygon","compareIntersection","lambda","phi","pointLine","clean","ringSegments","n","m","segment","validSegment","a","b","halfPi","epsilon"],"mappings":"iNAMA,SAAAA,EAAwBC,EAAcC,EAAUC,EAAaC,EAAO,CAClE,OAAO,SAASC,EAAQC,EAAM,CAC5B,IAAIC,EAAOL,EAASI,CAAI,EACpBE,EAAeH,EAAO,OAAOD,EAAM,CAAC,EAAGA,EAAM,CAAC,CAAC,EAC/CK,EAAaC,IACbC,EAAWT,EAASO,CAAU,EAC9BG,EAAiB,GACjBC,EACAC,EACAC,EAEAf,EAAO,CACT,MAAAgB,EACA,UAAAC,EACA,QAAAC,EACA,aAAc,UAAW,CACvBlB,EAAK,MAAQmB,EACbnB,EAAK,UAAYoB,EACjBpB,EAAK,QAAUqB,EACfP,EAAW,CAAA,EACXD,EAAU,CAAA,CACZ,EACA,WAAY,UAAW,CACrBb,EAAK,MAAQgB,EACbhB,EAAK,UAAYiB,EACjBjB,EAAK,QAAUkB,EACfJ,EAAWQ,EAAMR,CAAQ,EACzB,IAAIS,EAAcC,EAAgBX,EAASL,CAAY,EACnDM,EAAS,QACNF,IAAgBN,EAAK,aAAA,EAAgBM,EAAiB,IAC3Da,EAAYX,EAAUY,EAAqBH,EAAapB,EAAaG,CAAI,GAChEiB,IACJX,IAAgBN,EAAK,aAAA,EAAgBM,EAAiB,IAC3DN,EAAK,UAAA,EACLH,EAAY,KAAM,KAAM,EAAGG,CAAI,EAC/BA,EAAK,QAAA,GAEHM,IAAgBN,EAAK,WAAA,EAAcM,EAAiB,IACxDE,EAAWD,EAAU,IACvB,EACA,OAAQ,UAAW,CACjBP,EAAK,aAAA,EACLA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IAAgBN,EAAK,aAAA,EAAgBM,EAAiB,IAC3DN,EAAK,UAAA,EACA,EAAI,EAAG,EAAI2B,EAAG,EAAE,EAAG3B,EAAK,OAAOU,EAAQkB,EAAQ,CAAC,GAAG,CAAC,EAAGlB,EAAM,CAAC,CAAC,EACpEV,EAAK,QAAA,CACP,CACA,MACF,CAII0B,EAAI,GAAKF,EAAQ,GAAGC,EAAa,KAAKA,EAAa,IAAA,EAAM,OAAOA,EAAa,MAAA,CAAO,CAAC,EAEzFjB,EAAS,KAAKiB,EAAa,OAAOI,CAAY,CAAC,EACjD,CAEA,OAAOnC,CACT,CACF,CAEA,SAASmC,EAAaD,EAAS,CAC7B,OAAOA,EAAQ,OAAS,CAC1B,CAIA,SAASR,EAAoBU,EAAGC,EAAG,CACjC,QAASD,EAAIA,EAAE,GAAG,CAAC,EAAI,EAAIA,EAAE,CAAC,EAAIE,EAAAA,OAASC,EAAAA,QAAUD,EAAAA,OAASF,EAAE,CAAC,KACxDC,EAAIA,EAAE,GAAG,CAAC,EAAI,EAAIA,EAAE,CAAC,EAAIC,EAAAA,OAASC,EAAAA,QAAUD,EAAAA,OAASD,EAAE,CAAC,EACnE","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs273.js","sources":["../../../node_modules/d3-geo/node_modules/d3-array/src/ascending.js"],"sourcesContent":["export default function(a, b) {\n return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;\n}\n"],"names":["ascending","a","b"],"mappings":"aAAA,SAAAA,EAAwBC,EAAGC,EAAG,CAC5B,OAAOD,EAAIC,EAAI,GAAKD,EAAIC,EAAI,EAAID,GAAKC,EAAI,EAAI,GAC/C","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const s=require("./index.cjs273.js");function i(e){return e.length===1&&(e=c(e)),{left:function(r,f,n,t){for(n==null&&(n=0),t==null&&(t=r.length);n<t;){var u=n+t>>>1;e(r[u],f)<0?n=u+1:t=u}return n},right:function(r,f,n,t){for(n==null&&(n=0),t==null&&(t=r.length);n<t;){var u=n+t>>>1;e(r[u],f)>0?t=u:n=u+1}return n}}}function c(e){return function(r,f){return s(e(r),f)}}module.exports=i;
|
|
2
|
+
//# sourceMappingURL=index.cjs274.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs274.js","sources":["../../../node_modules/d3-geo/node_modules/d3-array/src/bisector.js"],"sourcesContent":["import ascending from \"./ascending\";\n\nexport default function(compare) {\n if (compare.length === 1) compare = ascendingComparator(compare);\n return {\n left: function(a, x, lo, hi) {\n if (lo == null) lo = 0;\n if (hi == null) hi = a.length;\n while (lo < hi) {\n var mid = lo + hi >>> 1;\n if (compare(a[mid], x) < 0) lo = mid + 1;\n else hi = mid;\n }\n return lo;\n },\n right: function(a, x, lo, hi) {\n if (lo == null) lo = 0;\n if (hi == null) hi = a.length;\n while (lo < hi) {\n var mid = lo + hi >>> 1;\n if (compare(a[mid], x) > 0) hi = mid;\n else lo = mid + 1;\n }\n return lo;\n }\n };\n}\n\nfunction ascendingComparator(f) {\n return function(d, x) {\n return ascending(f(d), x);\n };\n}\n"],"names":["bisector","compare","ascendingComparator","a","x","lo","hi","mid","f","d","ascending"],"mappings":"kDAEA,SAAAA,EAAwBC,EAAS,CAC/B,OAAIA,EAAQ,SAAW,IAAGA,EAAUC,EAAoBD,CAAO,GACxD,CACL,KAAM,SAASE,EAAGC,EAAGC,EAAIC,EAAI,CAG3B,IAFID,GAAM,OAAMA,EAAK,GACjBC,GAAM,OAAMA,EAAKH,EAAE,QAChBE,EAAKC,GAAI,CACd,IAAIC,EAAMF,EAAKC,IAAO,EAClBL,EAAQE,EAAEI,CAAG,EAAGH,CAAC,EAAI,IAAQG,EAAM,EAClCD,EAAKC,CACZ,CACA,OAAOF,CACT,EACA,MAAO,SAASF,EAAGC,EAAGC,EAAIC,EAAI,CAG5B,IAFID,GAAM,OAAMA,EAAK,GACjBC,GAAM,OAAMA,EAAKH,EAAE,QAChBE,EAAKC,GAAI,CACd,IAAIC,EAAMF,EAAKC,IAAO,EAClBL,EAAQE,EAAEI,CAAG,EAAGH,CAAC,EAAI,EAAGE,EAAKC,IACvBA,EAAM,CAClB,CACA,OAAOF,CACT,CAAA,CAEJ,CAEA,SAASH,EAAoBM,EAAG,CAC9B,OAAO,SAASC,EAAGL,EAAG,CACpB,OAAOM,EAAUF,EAAEC,CAAC,EAAGL,CAAC,CAC1B,CACF","x_google_ignoreList":[0]}
|
package/dist/index.cjs29.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const r=require("./index.
|
|
1
|
+
"use strict";const r=require("./index.cjs83.js"),e=require("./index.cjs82.js");var o=e.__require();const s=r.getDefaultExportFromCjs(o);module.exports=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs29.js.map
|
package/dist/index.cjs32.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./index.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./index.cjs83.js"),u=require("./index.cjs87.js");function c(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const l=Object.getOwnPropertyDescriptor(e,r);l&&Object.defineProperty(t,r,l.get?l:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var i=u.__require();const s=a.getDefaultExportFromCjs(i),p=c({__proto__:null,default:s},[i]);exports.Li=p;exports.default=s;exports.maplibreGlExports=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs32.js.map
|
package/dist/index.cjs34.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs85.js");require("./index.cjs86.js");function c(t){return a.GenIcon({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"m14.12 10.163 1.715.858c.22.11.22.424 0 .534L8.267 15.34a.6.6 0 0 1-.534 0L.165 11.555a.299.299 0 0 1 0-.534l1.716-.858 5.317 2.659c.505.252 1.1.252 1.604 0l5.317-2.66zM7.733.063a.6.6 0 0 1 .534 0l7.568 3.784a.3.3 0 0 1 0 .535L8.267 8.165a.6.6 0 0 1-.534 0L.165 4.382a.299.299 0 0 1 0-.535z"},child:[]},{tag:"path",attr:{d:"m14.12 6.576 1.715.858c.22.11.22.424 0 .534l-7.568 3.784a.6.6 0 0 1-.534 0L.165 7.968a.299.299 0 0 1 0-.534l1.716-.858 5.317 2.659c.505.252 1.1.252 1.604 0z"},child:[]}]})(t)}exports.BsStack=c;
|
|
2
2
|
//# sourceMappingURL=index.cjs34.js.map
|
package/dist/index.cjs35.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs85.js");require("./index.cjs86.js");function r(e){return t.GenIcon({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M416 128 192 384l-96-96"},child:[]}]})(e)}exports.IoCheckmarkOutline=r;
|
|
2
2
|
//# sourceMappingURL=index.cjs35.js.map
|
package/dist/index.cjs36.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const r=require("./index.
|
|
1
|
+
"use strict";const r=require("./index.cjs91.js"),i=require("./index.cjs92.js");var e=i(r);e._=e;module.exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs36.js.map
|
package/dist/index.cjs38.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs219.js"),t=require("./index.cjs37.js");var o=e("Function"),c=t.root.document&&t.root.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof c!="function"&&(o=function(n){return typeof n=="function"||!1});const i=o;module.exports=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs38.js.map
|
package/dist/index.cjs39.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs37.js"),e=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs37.js"),e=require("./index.cjs266.js");var t=a.supportsDataView&&(!/\[native code\]/.test(String(DataView))||e(new DataView(new ArrayBuffer(8)))),i=typeof Map<"u"&&e(new Map);exports.hasDataViewBug=t;exports.isIE11=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs39.js.map
|
package/dist/index.cjs40.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const r=require("./index.
|
|
1
|
+
"use strict";const r=require("./index.cjs219.js"),s=require("./index.cjs220.js");var e=r("Arguments");(function(){e(arguments)||(e=function(t){return s(t,"callee")})})();const n=e;module.exports=n;
|
|
2
2
|
//# sourceMappingURL=index.cjs40.js.map
|
package/dist/index.cjs42.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const r=require("./index.
|
|
1
|
+
"use strict";const r=require("./index.cjs219.js"),t=require("./index.cjs39.js"),e=require("./index.cjs225.js"),i=t.isIE11?e.ie11fingerprint(e.mapMethods):r("Map");module.exports=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs42.js.map
|
package/dist/index.cjs43.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const r=require("./index.
|
|
1
|
+
"use strict";const r=require("./index.cjs219.js"),t=require("./index.cjs39.js"),e=require("./index.cjs225.js"),i=t.isIE11?e.ie11fingerprint(e.weakMapMethods):r("WeakMap");module.exports=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs43.js.map
|
package/dist/index.cjs44.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const t=require("./index.
|
|
1
|
+
"use strict";const t=require("./index.cjs219.js"),r=require("./index.cjs39.js"),e=require("./index.cjs225.js"),s=r.isIE11?e.ie11fingerprint(e.setMethods):t("Set");module.exports=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs44.js.map
|
package/dist/index.cjs45.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const t=require("./index.cjs41.js"),o=require("./index.
|
|
1
|
+
"use strict";const t=require("./index.cjs41.js"),o=require("./index.cjs107.js");function e(r){return o(r)?r:[r]}t.toPath=e;module.exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs45.js.map
|
package/dist/index.cjs46.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const i=require("./index.cjs41.js"),n=require("./index.
|
|
1
|
+
"use strict";const i=require("./index.cjs41.js"),n=require("./index.cjs236.js");function e(t,r){return n(t,r,1/0)}i.iteratee=e;module.exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs46.js.map
|
package/dist/index.cjs47.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs233.js"),s=require("./index.cjs234.js"),c=e(s);module.exports=c;
|
|
2
2
|
//# sourceMappingURL=index.cjs47.js.map
|
package/dist/index.cjs48.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs233.js"),s=require("./index.cjs235.js"),c=e(s);module.exports=c;
|
|
2
2
|
//# sourceMappingURL=index.cjs48.js.map
|
package/dist/index.cjs50.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const l=require("./index.
|
|
1
|
+
"use strict";const l=require("./index.cjs93.js"),h=require("./index.cjs237.js"),i=require("./index.cjs41.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.cjs50.js.map
|
package/dist/index.cjs51.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs93.js"),i=require("./index.cjs38.js"),c=require("./index.cjs237.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.cjs51.js.map
|
package/dist/index.cjs52.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const i=require("./index.
|
|
1
|
+
"use strict";const i=require("./index.cjs93.js"),s=require("./index.cjs238.js"),l=require("./index.cjs51.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.cjs52.js.map
|
package/dist/index.cjs53.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const r=require("./index.
|
|
1
|
+
"use strict";const r=require("./index.cjs93.js"),u=r(function(t,e,n){return setTimeout(function(){return t.apply(null,n)},e)});module.exports=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs53.js.map
|
package/dist/index.cjs55.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.cjs50.js"),r=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs50.js"),r=require("./index.cjs150.js"),t=e(r,2);module.exports=t;
|
|
2
2
|
//# sourceMappingURL=index.cjs55.js.map
|
package/dist/index.cjs56.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const t=require("./index.
|
|
1
|
+
"use strict";const t=require("./index.cjs93.js"),c=require("./index.cjs38.js"),l=require("./index.cjs160.js"),f=require("./index.cjs230.js"),q=require("./index.cjs229.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.cjs56.js.map
|
package/dist/index.cjs57.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const l=require("./index.
|
|
1
|
+
"use strict";const l=require("./index.cjs93.js"),f=require("./index.cjs38.js"),a=require("./index.cjs232.js"),o=require("./index.cjs116.js"),q=require("./index.cjs244.js"),g=require("./index.cjs238.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.cjs57.js.map
|
package/dist/index.cjs58.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const c=require("./index.
|
|
1
|
+
"use strict";const c=require("./index.cjs93.js"),o=require("./index.cjs38.js"),u=require("./index.cjs147.js"),s=require("./index.cjs160.js"),a=require("./index.cjs238.js"),f=require("./index.cjs167.js"),q=require("./index.cjs57.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.cjs58.js.map
|
package/dist/index.cjs59.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const r=require("./index.
|
|
1
|
+
"use strict";const r=require("./index.cjs93.js"),n=require("./index.cjs61.js"),s=r(function(e,t){return n(e,t)});module.exports=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs59.js.map
|
package/dist/index.cjs60.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs93.js"),r=require("./index.cjs187.js"),n=require("./index.cjs238.js"),u=e(function(t){return r(n(t,!0,!0))});module.exports=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs60.js.map
|
package/dist/index.cjs61.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const n=require("./index.
|
|
1
|
+
"use strict";const n=require("./index.cjs93.js"),u=require("./index.cjs238.js"),c=require("./index.cjs163.js"),i=require("./index.cjs167.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.cjs61.js.map
|
package/dist/index.cjs62.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs93.js"),r=require("./index.cjs189.js"),s=e(r);module.exports=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs62.js.map
|
package/dist/index.cjs63.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const o=require("./index.cjs41.js"),s=require("./index.
|
|
1
|
+
"use strict";const o=require("./index.cjs41.js"),s=require("./index.cjs159.js"),i=require("./index.cjs37.js"),n=require("./index.cjs245.js");s(["pop","push","reverse","shift","sort","splice","unshift"],function(r){var e=i.ArrayProto[r];o.prototype[r]=function(){var t=this._wrapped;return t!=null&&(e.apply(t,arguments),(r==="shift"||r==="splice")&&t.length===0&&delete t[0]),n(this,t)}});s(["concat","join","slice"],function(r){var e=i.ArrayProto[r];o.prototype[r]=function(){var t=this._wrapped;return t!=null&&(t=e.apply(t,arguments)),n(this,t)}});module.exports=o;
|
|
2
2
|
//# sourceMappingURL=index.cjs63.js.map
|
package/dist/index.cjs67.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var n=63710088e-1,
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var n=63710088e-1,u={centimeters:n*100,centimetres:n*100,degrees:360/(2*Math.PI),feet:n*3.28084,inches:n*39.37,kilometers:n/1e3,kilometres:n/1e3,meters:n,metres:n,miles:n/1609.344,millimeters:n*1e3,millimetres:n*1e3,nauticalmiles:n/1852,radians:1,yards:n*1.0936};function s(e,t,r={}){const i={type:"Feature"};return(r.id===0||r.id)&&(i.id=r.id),r.bbox&&(i.bbox=r.bbox),i.properties=t||{},i.geometry=e,i}function f(e,t,r={}){if(!e)throw new Error("coordinates is required");if(!Array.isArray(e))throw new Error("coordinates must be an Array");if(e.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!l(e[0])||!l(e[1]))throw new Error("coordinates must contain numbers");return s({type:"Point",coordinates:e},t,r)}function g(e,t,r={}){for(const o of e){if(o.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");if(o[o.length-1].length!==o[0].length)throw new Error("First and last Position are not equivalent.");for(let a=0;a<o[o.length-1].length;a++)if(o[o.length-1][a]!==o[0][a])throw new Error("First and last Position are not equivalent.")}return s({type:"Polygon",coordinates:e},t,r)}function m(e,t,r={}){if(e.length<2)throw new Error("coordinates must be an array of two or more positions");return s({type:"LineString",coordinates:e},t,r)}function c(e,t={}){const r={type:"FeatureCollection"};return t.id&&(r.id=t.id),t.bbox&&(r.bbox=t.bbox),r.features=e,r}function d(e,t="kilometers"){const r=u[t];if(!r)throw new Error(t+" units is invalid");return e*r}function h(e,t="kilometers"){const r=u[t];if(!r)throw new Error(t+" units is invalid");return e/r}function b(e){return e%(2*Math.PI)*180/Math.PI}function w(e){return e%360*Math.PI/180}function l(e){return!isNaN(e)&&e!==null&&!Array.isArray(e)}exports.degreesToRadians=w;exports.earthRadius=n;exports.factors=u;exports.feature=s;exports.featureCollection=c;exports.isNumber=l;exports.lengthToRadians=h;exports.lineString=m;exports.point=f;exports.polygon=g;exports.radiansToDegrees=b;exports.radiansToLength=d;
|
|
2
2
|
//# sourceMappingURL=index.cjs67.js.map
|
package/dist/index.cjs67.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs67.js","sources":["../../../node_modules/@turf/helpers/dist/esm/index.js"],"sourcesContent":["// index.ts\nvar earthRadius = 63710088e-1;\nvar factors = {\n centimeters: earthRadius * 100,\n centimetres: earthRadius * 100,\n degrees: 360 / (2 * Math.PI),\n feet: earthRadius * 3.28084,\n inches: earthRadius * 39.37,\n kilometers: earthRadius / 1e3,\n kilometres: earthRadius / 1e3,\n meters: earthRadius,\n metres: earthRadius,\n miles: earthRadius / 1609.344,\n millimeters: earthRadius * 1e3,\n millimetres: earthRadius * 1e3,\n nauticalmiles: earthRadius / 1852,\n radians: 1,\n yards: earthRadius * 1.0936\n};\nvar areaFactors = {\n acres: 247105e-9,\n centimeters: 1e4,\n centimetres: 1e4,\n feet: 10.763910417,\n hectares: 1e-4,\n inches: 1550.003100006,\n kilometers: 1e-6,\n kilometres: 1e-6,\n meters: 1,\n metres: 1,\n miles: 386e-9,\n nauticalmiles: 29155334959812285e-23,\n millimeters: 1e6,\n millimetres: 1e6,\n yards: 1.195990046\n};\nfunction feature(geom, properties, options = {}) {\n const feat = { type: \"Feature\" };\n if (options.id === 0 || options.id) {\n feat.id = options.id;\n }\n if (options.bbox) {\n feat.bbox = options.bbox;\n }\n feat.properties = properties || {};\n feat.geometry = geom;\n return feat;\n}\nfunction geometry(type, coordinates, _options = {}) {\n switch (type) {\n case \"Point\":\n return point(coordinates).geometry;\n case \"LineString\":\n return lineString(coordinates).geometry;\n case \"Polygon\":\n return polygon(coordinates).geometry;\n case \"MultiPoint\":\n return multiPoint(coordinates).geometry;\n case \"MultiLineString\":\n return multiLineString(coordinates).geometry;\n case \"MultiPolygon\":\n return multiPolygon(coordinates).geometry;\n default:\n throw new Error(type + \" is invalid\");\n }\n}\nfunction point(coordinates, properties, options = {}) {\n if (!coordinates) {\n throw new Error(\"coordinates is required\");\n }\n if (!Array.isArray(coordinates)) {\n throw new Error(\"coordinates must be an Array\");\n }\n if (coordinates.length < 2) {\n throw new Error(\"coordinates must be at least 2 numbers long\");\n }\n if (!isNumber(coordinates[0]) || !isNumber(coordinates[1])) {\n throw new Error(\"coordinates must contain numbers\");\n }\n const geom = {\n type: \"Point\",\n coordinates\n };\n return feature(geom, properties, options);\n}\nfunction points(coordinates, properties, options = {}) {\n return featureCollection(\n coordinates.map((coords) => {\n return point(coords, properties);\n }),\n options\n );\n}\nfunction polygon(coordinates, properties, options = {}) {\n for (const ring of coordinates) {\n if (ring.length < 4) {\n throw new Error(\n \"Each LinearRing of a Polygon must have 4 or more Positions.\"\n );\n }\n if (ring[ring.length - 1].length !== ring[0].length) {\n throw new Error(\"First and last Position are not equivalent.\");\n }\n for (let j = 0; j < ring[ring.length - 1].length; j++) {\n if (ring[ring.length - 1][j] !== ring[0][j]) {\n throw new Error(\"First and last Position are not equivalent.\");\n }\n }\n }\n const geom = {\n type: \"Polygon\",\n coordinates\n };\n return feature(geom, properties, options);\n}\nfunction polygons(coordinates, properties, options = {}) {\n return featureCollection(\n coordinates.map((coords) => {\n return polygon(coords, properties);\n }),\n options\n );\n}\nfunction lineString(coordinates, properties, options = {}) {\n if (coordinates.length < 2) {\n throw new Error(\"coordinates must be an array of two or more positions\");\n }\n const geom = {\n type: \"LineString\",\n coordinates\n };\n return feature(geom, properties, options);\n}\nfunction lineStrings(coordinates, properties, options = {}) {\n return featureCollection(\n coordinates.map((coords) => {\n return lineString(coords, properties);\n }),\n options\n );\n}\nfunction featureCollection(features, options = {}) {\n const fc = { type: \"FeatureCollection\" };\n if (options.id) {\n fc.id = options.id;\n }\n if (options.bbox) {\n fc.bbox = options.bbox;\n }\n fc.features = features;\n return fc;\n}\nfunction multiLineString(coordinates, properties, options = {}) {\n const geom = {\n type: \"MultiLineString\",\n coordinates\n };\n return feature(geom, properties, options);\n}\nfunction multiPoint(coordinates, properties, options = {}) {\n const geom = {\n type: \"MultiPoint\",\n coordinates\n };\n return feature(geom, properties, options);\n}\nfunction multiPolygon(coordinates, properties, options = {}) {\n const geom = {\n type: \"MultiPolygon\",\n coordinates\n };\n return feature(geom, properties, options);\n}\nfunction geometryCollection(geometries, properties, options = {}) {\n const geom = {\n type: \"GeometryCollection\",\n geometries\n };\n return feature(geom, properties, options);\n}\nfunction round(num, precision = 0) {\n if (precision && !(precision >= 0)) {\n throw new Error(\"precision must be a positive number\");\n }\n const multiplier = Math.pow(10, precision || 0);\n return Math.round(num * multiplier) / multiplier;\n}\nfunction radiansToLength(radians, units = \"kilometers\") {\n const factor = factors[units];\n if (!factor) {\n throw new Error(units + \" units is invalid\");\n }\n return radians * factor;\n}\nfunction lengthToRadians(distance, units = \"kilometers\") {\n const factor = factors[units];\n if (!factor) {\n throw new Error(units + \" units is invalid\");\n }\n return distance / factor;\n}\nfunction lengthToDegrees(distance, units) {\n return radiansToDegrees(lengthToRadians(distance, units));\n}\nfunction bearingToAzimuth(bearing) {\n let angle = bearing % 360;\n if (angle < 0) {\n angle += 360;\n }\n return angle;\n}\nfunction azimuthToBearing(angle) {\n angle = angle % 360;\n if (angle > 180) {\n return angle - 360;\n } else if (angle < -180) {\n return angle + 360;\n }\n return angle;\n}\nfunction radiansToDegrees(radians) {\n const normalisedRadians = radians % (2 * Math.PI);\n return normalisedRadians * 180 / Math.PI;\n}\nfunction degreesToRadians(degrees) {\n const normalisedDegrees = degrees % 360;\n return normalisedDegrees * Math.PI / 180;\n}\nfunction convertLength(length, originalUnit = \"kilometers\", finalUnit = \"kilometers\") {\n if (!(length >= 0)) {\n throw new Error(\"length must be a positive number\");\n }\n return radiansToLength(lengthToRadians(length, originalUnit), finalUnit);\n}\nfunction convertArea(area, originalUnit = \"meters\", finalUnit = \"kilometers\") {\n if (!(area >= 0)) {\n throw new Error(\"area must be a positive number\");\n }\n const startFactor = areaFactors[originalUnit];\n if (!startFactor) {\n throw new Error(\"invalid original units\");\n }\n const finalFactor = areaFactors[finalUnit];\n if (!finalFactor) {\n throw new Error(\"invalid final units\");\n }\n return area / startFactor * finalFactor;\n}\nfunction isNumber(num) {\n return !isNaN(num) && num !== null && !Array.isArray(num);\n}\nfunction isObject(input) {\n return input !== null && typeof input === \"object\" && !Array.isArray(input);\n}\nfunction validateBBox(bbox) {\n if (!bbox) {\n throw new Error(\"bbox is required\");\n }\n if (!Array.isArray(bbox)) {\n throw new Error(\"bbox must be an Array\");\n }\n if (bbox.length !== 4 && bbox.length !== 6) {\n throw new Error(\"bbox must be an Array of 4 or 6 numbers\");\n }\n bbox.forEach((num) => {\n if (!isNumber(num)) {\n throw new Error(\"bbox must only contain numbers\");\n }\n });\n}\nfunction validateId(id) {\n if (!id) {\n throw new Error(\"id is required\");\n }\n if ([\"string\", \"number\"].indexOf(typeof id) === -1) {\n throw new Error(\"id must be a number or a string\");\n }\n}\nexport {\n areaFactors,\n azimuthToBearing,\n bearingToAzimuth,\n convertArea,\n convertLength,\n degreesToRadians,\n earthRadius,\n factors,\n feature,\n featureCollection,\n geometry,\n geometryCollection,\n isNumber,\n isObject,\n lengthToDegrees,\n lengthToRadians,\n lineString,\n lineStrings,\n multiLineString,\n multiPoint,\n multiPolygon,\n point,\n points,\n polygon,\n polygons,\n radiansToDegrees,\n radiansToLength,\n round,\n validateBBox,\n validateId\n};\n//# sourceMappingURL=index.js.map"],"names":["earthRadius","factors","feature","geom","properties","options","feat","point","coordinates","isNumber","polygon","ring","j","featureCollection","features","fc","radiansToLength","radians","units","factor","lengthToRadians","distance","radiansToDegrees","degreesToRadians","degrees","num"],"mappings":"gFACA,IAAIA,EAAc,YACdC,EAAU,CACZ,YAAaD,EAAc,IAC3B,YAAaA,EAAc,IAC3B,QAAS,KAAO,EAAI,KAAK,IACzB,KAAMA,EAAc,QACpB,OAAQA,EAAc,MACtB,WAAYA,EAAc,IAC1B,WAAYA,EAAc,IAC1B,OAAQA,EACR,OAAQA,EACR,MAAOA,EAAc,SACrB,YAAaA,EAAc,IAC3B,YAAaA,EAAc,IAC3B,cAAeA,EAAc,KAC7B,QAAS,EACT,MAAOA,EAAc,MACvB,EAkBA,SAASE,EAAQC,EAAMC,EAAYC,EAAU,CAAA,EAAI,CAC/C,MAAMC,EAAO,CAAE,KAAM,SAAA,EACrB,OAAID,EAAQ,KAAO,GAAKA,EAAQ,MAC9BC,EAAK,GAAKD,EAAQ,IAEhBA,EAAQ,OACVC,EAAK,KAAOD,EAAQ,MAEtBC,EAAK,WAAaF,GAAc,CAAA,EAChCE,EAAK,SAAWH,EACTG,CACT,CAmBA,SAASC,EAAMC,EAAaJ,EAAYC,EAAU,CAAA,EAAI,CACpD,GAAI,CAACG,EACH,MAAM,IAAI,MAAM,yBAAyB,EAE3C,GAAI,CAAC,MAAM,QAAQA,CAAW,EAC5B,MAAM,IAAI,MAAM,8BAA8B,EAEhD,GAAIA,EAAY,OAAS,EACvB,MAAM,IAAI,MAAM,6CAA6C,EAE/D,GAAI,CAACC,EAASD,EAAY,CAAC,CAAC,GAAK,CAACC,EAASD,EAAY,CAAC,CAAC,EACvD,MAAM,IAAI,MAAM,kCAAkC,EAMpD,OAAON,EAJM,CACX,KAAM,QACN,YAAAM,CAAA,EAEmBJ,EAAYC,CAAO,CAC1C,CASA,SAASK,EAAQF,EAAaJ,EAAYC,EAAU,CAAA,EAAI,CACtD,UAAWM,KAAQH,EAAa,C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reList":[0]}
|
|
1
|
+
{"version":3,"file":"index.cjs67.js","sources":["../../../node_modules/@turf/helpers/dist/esm/index.js"],"sourcesContent":["// index.ts\nvar earthRadius = 63710088e-1;\nvar factors = {\n centimeters: earthRadius * 100,\n centimetres: earthRadius * 100,\n degrees: 360 / (2 * Math.PI),\n feet: earthRadius * 3.28084,\n inches: earthRadius * 39.37,\n kilometers: earthRadius / 1e3,\n kilometres: earthRadius / 1e3,\n meters: earthRadius,\n metres: earthRadius,\n miles: earthRadius / 1609.344,\n millimeters: earthRadius * 1e3,\n millimetres: earthRadius * 1e3,\n nauticalmiles: earthRadius / 1852,\n radians: 1,\n yards: earthRadius * 1.0936\n};\nvar areaFactors = {\n acres: 247105e-9,\n centimeters: 1e4,\n centimetres: 1e4,\n feet: 10.763910417,\n hectares: 1e-4,\n inches: 1550.003100006,\n kilometers: 1e-6,\n kilometres: 1e-6,\n meters: 1,\n metres: 1,\n miles: 386e-9,\n nauticalmiles: 29155334959812285e-23,\n millimeters: 1e6,\n millimetres: 1e6,\n yards: 1.195990046\n};\nfunction feature(geom, properties, options = {}) {\n const feat = { type: \"Feature\" };\n if (options.id === 0 || options.id) {\n feat.id = options.id;\n }\n if (options.bbox) {\n feat.bbox = options.bbox;\n }\n feat.properties = properties || {};\n feat.geometry = geom;\n return feat;\n}\nfunction geometry(type, coordinates, _options = {}) {\n switch (type) {\n case \"Point\":\n return point(coordinates).geometry;\n case \"LineString\":\n return lineString(coordinates).geometry;\n case \"Polygon\":\n return polygon(coordinates).geometry;\n case \"MultiPoint\":\n return multiPoint(coordinates).geometry;\n case \"MultiLineString\":\n return multiLineString(coordinates).geometry;\n case \"MultiPolygon\":\n return multiPolygon(coordinates).geometry;\n default:\n throw new Error(type + \" is invalid\");\n }\n}\nfunction point(coordinates, properties, options = {}) {\n if (!coordinates) {\n throw new Error(\"coordinates is required\");\n }\n if (!Array.isArray(coordinates)) {\n throw new Error(\"coordinates must be an Array\");\n }\n if (coordinates.length < 2) {\n throw new Error(\"coordinates must be at least 2 numbers long\");\n }\n if (!isNumber(coordinates[0]) || !isNumber(coordinates[1])) {\n throw new Error(\"coordinates must contain numbers\");\n }\n const geom = {\n type: \"Point\",\n coordinates\n };\n return feature(geom, properties, options);\n}\nfunction points(coordinates, properties, options = {}) {\n return featureCollection(\n coordinates.map((coords) => {\n return point(coords, properties);\n }),\n options\n );\n}\nfunction polygon(coordinates, properties, options = {}) {\n for (const ring of coordinates) {\n if (ring.length < 4) {\n throw new Error(\n \"Each LinearRing of a Polygon must have 4 or more Positions.\"\n );\n }\n if (ring[ring.length - 1].length !== ring[0].length) {\n throw new Error(\"First and last Position are not equivalent.\");\n }\n for (let j = 0; j < ring[ring.length - 1].length; j++) {\n if (ring[ring.length - 1][j] !== ring[0][j]) {\n throw new Error(\"First and last Position are not equivalent.\");\n }\n }\n }\n const geom = {\n type: \"Polygon\",\n coordinates\n };\n return feature(geom, properties, options);\n}\nfunction polygons(coordinates, properties, options = {}) {\n return featureCollection(\n coordinates.map((coords) => {\n return polygon(coords, properties);\n }),\n options\n );\n}\nfunction lineString(coordinates, properties, options = {}) {\n if (coordinates.length < 2) {\n throw new Error(\"coordinates must be an array of two or more positions\");\n }\n const geom = {\n type: \"LineString\",\n coordinates\n };\n return feature(geom, properties, options);\n}\nfunction lineStrings(coordinates, properties, options = {}) {\n return featureCollection(\n coordinates.map((coords) => {\n return lineString(coords, properties);\n }),\n options\n );\n}\nfunction featureCollection(features, options = {}) {\n const fc = { type: \"FeatureCollection\" };\n if (options.id) {\n fc.id = options.id;\n }\n if (options.bbox) {\n fc.bbox = options.bbox;\n }\n fc.features = features;\n return fc;\n}\nfunction multiLineString(coordinates, properties, options = {}) {\n const geom = {\n type: \"MultiLineString\",\n coordinates\n };\n return feature(geom, properties, options);\n}\nfunction multiPoint(coordinates, properties, options = {}) {\n const geom = {\n type: \"MultiPoint\",\n coordinates\n };\n return feature(geom, properties, options);\n}\nfunction multiPolygon(coordinates, properties, options = {}) {\n const geom = {\n type: \"MultiPolygon\",\n coordinates\n };\n return feature(geom, properties, options);\n}\nfunction geometryCollection(geometries, properties, options = {}) {\n const geom = {\n type: \"GeometryCollection\",\n geometries\n };\n return feature(geom, properties, options);\n}\nfunction round(num, precision = 0) {\n if (precision && !(precision >= 0)) {\n throw new Error(\"precision must be a positive number\");\n }\n const multiplier = Math.pow(10, precision || 0);\n return Math.round(num * multiplier) / multiplier;\n}\nfunction radiansToLength(radians, units = \"kilometers\") {\n const factor = factors[units];\n if (!factor) {\n throw new Error(units + \" units is invalid\");\n }\n return radians * factor;\n}\nfunction lengthToRadians(distance, units = \"kilometers\") {\n const factor = factors[units];\n if (!factor) {\n throw new Error(units + \" units is invalid\");\n }\n return distance / factor;\n}\nfunction lengthToDegrees(distance, units) {\n return radiansToDegrees(lengthToRadians(distance, units));\n}\nfunction bearingToAzimuth(bearing) {\n let angle = bearing % 360;\n if (angle < 0) {\n angle += 360;\n }\n return angle;\n}\nfunction azimuthToBearing(angle) {\n angle = angle % 360;\n if (angle > 180) {\n return angle - 360;\n } else if (angle < -180) {\n return angle + 360;\n }\n return angle;\n}\nfunction radiansToDegrees(radians) {\n const normalisedRadians = radians % (2 * Math.PI);\n return normalisedRadians * 180 / Math.PI;\n}\nfunction degreesToRadians(degrees) {\n const normalisedDegrees = degrees % 360;\n return normalisedDegrees * Math.PI / 180;\n}\nfunction convertLength(length, originalUnit = \"kilometers\", finalUnit = \"kilometers\") {\n if (!(length >= 0)) {\n throw new Error(\"length must be a positive number\");\n }\n return radiansToLength(lengthToRadians(length, originalUnit), finalUnit);\n}\nfunction convertArea(area, originalUnit = \"meters\", finalUnit = \"kilometers\") {\n if (!(area >= 0)) {\n throw new Error(\"area must be a positive number\");\n }\n const startFactor = areaFactors[originalUnit];\n if (!startFactor) {\n throw new Error(\"invalid original units\");\n }\n const finalFactor = areaFactors[finalUnit];\n if (!finalFactor) {\n throw new Error(\"invalid final units\");\n }\n return area / startFactor * finalFactor;\n}\nfunction isNumber(num) {\n return !isNaN(num) && num !== null && !Array.isArray(num);\n}\nfunction isObject(input) {\n return input !== null && typeof input === \"object\" && !Array.isArray(input);\n}\nfunction validateBBox(bbox) {\n if (!bbox) {\n throw new Error(\"bbox is required\");\n }\n if (!Array.isArray(bbox)) {\n throw new Error(\"bbox must be an Array\");\n }\n if (bbox.length !== 4 && bbox.length !== 6) {\n throw new Error(\"bbox must be an Array of 4 or 6 numbers\");\n }\n bbox.forEach((num) => {\n if (!isNumber(num)) {\n throw new Error(\"bbox must only contain numbers\");\n }\n });\n}\nfunction validateId(id) {\n if (!id) {\n throw new Error(\"id is required\");\n }\n if ([\"string\", \"number\"].indexOf(typeof id) === -1) {\n throw new Error(\"id must be a number or a string\");\n }\n}\nexport {\n areaFactors,\n azimuthToBearing,\n bearingToAzimuth,\n convertArea,\n convertLength,\n degreesToRadians,\n earthRadius,\n factors,\n feature,\n featureCollection,\n geometry,\n geometryCollection,\n isNumber,\n isObject,\n lengthToDegrees,\n lengthToRadians,\n lineString,\n lineStrings,\n multiLineString,\n multiPoint,\n multiPolygon,\n point,\n points,\n polygon,\n polygons,\n radiansToDegrees,\n radiansToLength,\n round,\n validateBBox,\n validateId\n};\n//# sourceMappingURL=index.js.map"],"names":["earthRadius","factors","feature","geom","properties","options","feat","point","coordinates","isNumber","polygon","ring","j","lineString","featureCollection","features","fc","radiansToLength","radians","units","factor","lengthToRadians","distance","radiansToDegrees","degreesToRadians","degrees","num"],"mappings":"gFACA,IAAIA,EAAc,YACdC,EAAU,CACZ,YAAaD,EAAc,IAC3B,YAAaA,EAAc,IAC3B,QAAS,KAAO,EAAI,KAAK,IACzB,KAAMA,EAAc,QACpB,OAAQA,EAAc,MACtB,WAAYA,EAAc,IAC1B,WAAYA,EAAc,IAC1B,OAAQA,EACR,OAAQA,EACR,MAAOA,EAAc,SACrB,YAAaA,EAAc,IAC3B,YAAaA,EAAc,IAC3B,cAAeA,EAAc,KAC7B,QAAS,EACT,MAAOA,EAAc,MACvB,EAkBA,SAASE,EA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A,EAAI,CACzD,GAAIG,EAAY,OAAS,EACvB,MAAM,IAAI,MAAM,uDAAuD,EAMzE,OAAON,EAJM,CACX,KAAM,aACN,YAAAM,CAAA,EAEmBJ,EAAYC,CAAO,CAC1C,CASA,SAASS,EAAkBC,EAAUV,EAAU,GAAI,CACjD,MAAMW,EAAK,CAAE,KAAM,mBAAA,EACnB,OAAIX,EAAQ,KACVW,EAAG,GAAKX,EAAQ,IAEdA,EAAQ,OACVW,EAAG,KAAOX,EAAQ,MAEpBW,EAAG,SAAWD,EACPC,CACT,CAoCA,SAASC,EAAgBC,EAASC,EAAQ,aAAc,CACtD,MAAMC,EAASnB,EAAQkB,CAAK,EAC5B,GAAI,CAACC,EACH,MAAM,IAAI,MAAMD,EAAQ,mBAAmB,EAE7C,OAAOD,EAAUE,CACnB,CACA,SAASC,EAAgBC,EAAUH,EAAQ,aAAc,CACvD,MAAMC,EAASnB,EAAQkB,CAAK,EAC5B,GAAI,CAACC,EACH,MAAM,IAAI,MAAMD,EAAQ,mBAAmB,EAE7C,OAAOG,EAAWF,CACpB,CAoBA,SAASG,EAAiBL,EAAS,CAEjC,OAD0BA,GAAW,EAAI,KAAK,IACnB,IAAM,KAAK,EACxC,CACA,SAASM,EAAiBC,EAAS,CAEjC,OAD0BA,EAAU,IACT,KAAK,GAAK,GACvC,CAqBA,SAAShB,EAASiB,EAAK,CACrB,MAAO,CAAC,MAAMA,CAAG,GAAKA,IAAQ,MAAQ,CAAC,MAAM,QAAQA,CAAG,CAC1D","x_google_ignoreList":[0]}
|
package/dist/index.cjs69.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index.cjs194.js");function u(n,e={}){if(n.bbox!=null&&e.recompute!==!0)return n.bbox;const i=[1/0,1/0,-1/0,-1/0];return f.coordEach(n,t=>{i[0]>t[0]&&(i[0]=t[0]),i[1]>t[1]&&(i[1]=t[1]),i[2]<t[0]&&(i[2]=t[0]),i[3]<t[1]&&(i[3]=t[1])}),i}exports.bbox=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs69.js.map
|
package/dist/index.cjs71.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 n=require("./index.cjs67.js"),g=require("./index.cjs193.js");function l(t,o,e={}){if(e.final===!0)return h(t,o);const s=g.getCoord(t),r=g.getCoord(o),i=n.degreesToRadians(s[0]),c=n.degreesToRadians(r[0]),d=n.degreesToRadians(s[1]),a=n.degreesToRadians(r[1]),u=Math.sin(c-i)*Math.cos(a),M=Math.cos(d)*Math.sin(a)-Math.sin(d)*Math.cos(a)*Math.cos(c-i);return n.radiansToDegrees(Math.atan2(u,M))}function h(t,o){let e=l(o,t);return e=(e+180)%360,e}exports.bearing=l;
|
|
2
2
|
//# sourceMappingURL=index.cjs71.js.map
|
package/dist/index.cjs71.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs71.js","sources":["../node_modules/@turf/
|
|
1
|
+
{"version":3,"file":"index.cjs71.js","sources":["../node_modules/@turf/bearing/dist/esm/index.js"],"sourcesContent":["// index.ts\nimport { degreesToRadians, radiansToDegrees } from \"@turf/helpers\";\nimport { getCoord } from \"@turf/invariant\";\nfunction bearing(start, end, options = {}) {\n if (options.final === true) {\n return calculateFinalBearing(start, end);\n }\n const coordinates1 = getCoord(start);\n const coordinates2 = getCoord(end);\n const lon1 = degreesToRadians(coordinates1[0]);\n const lon2 = degreesToRadians(coordinates2[0]);\n const lat1 = degreesToRadians(coordinates1[1]);\n const lat2 = degreesToRadians(coordinates2[1]);\n const a = Math.sin(lon2 - lon1) * Math.cos(lat2);\n const b = Math.cos(lat1) * Math.sin(lat2) - Math.sin(lat1) * Math.cos(lat2) * Math.cos(lon2 - lon1);\n return radiansToDegrees(Math.atan2(a, b));\n}\nfunction calculateFinalBearing(start, end) {\n let bear = bearing(end, start);\n bear = (bear + 180) % 360;\n return bear;\n}\nvar turf_bearing_default = bearing;\nexport {\n bearing,\n turf_bearing_default as default\n};\n//# sourceMappingURL=index.js.map"],"names":["bearing","start","end","options","calculateFinalBearing","coordinates1","getCoord","coordinates2","lon1","degreesToRadians","lon2","lat1","lat2","a","b","radiansToDegrees","bear"],"mappings":"mJAGA,SAASA,EAAQC,EAAOC,EAAKC,EAAU,CAAA,EAAI,CACzC,GAAIA,EAAQ,QAAU,GACpB,OAAOC,EAAsBH,EAAOC,CAAG,EAEzC,MAAMG,EAAeC,EAAAA,SAASL,CAAK,EAC7BM,EAAeD,EAAAA,SAASJ,CAAG,EAC3BM,EAAOC,EAAAA,iBAAiBJ,EAAa,CAAC,CAAC,EACvCK,EAAOD,EAAAA,iBAAiBF,EAAa,CAAC,CAAC,EACvCI,EAAOF,EAAAA,iBAAiBJ,EAAa,CAAC,CAAC,EACvCO,EAAOH,EAAAA,iBAAiBF,EAAa,CAAC,CAAC,EACvCM,EAAI,KAAK,IAAIH,EAAOF,CAAI,EAAI,KAAK,IAAII,CAAI,EACzCE,EAAI,KAAK,IAAIH,CAAI,EAAI,KAAK,IAAIC,CAAI,EAAI,KAAK,IAAID,CAAI,EAAI,KAAK,IAAIC,CAAI,EAAI,KAAK,IAAIF,EAAOF,CAAI,EAClG,OAAOO,EAAAA,iBAAiB,KAAK,MAAMF,EAAGC,CAAC,CAAC,CAC1C,CACA,SAASV,EAAsBH,EAAOC,EAAK,CACzC,IAAIc,EAAOhB,EAAQE,EAAKD,CAAK,EAC7B,OAAAe,GAAQA,EAAO,KAAO,IACfA,CACT","x_google_ignoreList":[0]}
|
package/dist/index.cjs72.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index.cjs67.js"),u=require("./index.cjs193.js");var y=class{constructor(i){this.points=i.points||[],this.duration=i.duration||1e4,this.sharpness=i.sharpness||.85,this.centers=[],this.controls=[],this.stepLength=i.stepLength||60,this.length=this.points.length,this.delay=0;for(let s=0;s<this.length;s++)this.points[s].z=this.points[s].z||0;for(let s=0;s<this.length-1;s++){const t=this.points[s],n=this.points[s+1];this.centers.push({x:(t.x+n.x)/2,y:(t.y+n.y)/2,z:(t.z+n.z)/2})}this.controls.push([this.points[0],this.points[0]]);for(let s=0;s<this.centers.length-1;s++){const t=this.points[s+1].x-(this.centers[s].x+this.centers[s+1].x)/2,n=this.points[s+1].y-(this.centers[s].y+this.centers[s+1].y)/2,e=this.points[s+1].z-(this.centers[s].y+this.centers[s+1].z)/2;this.controls.push([{x:(1-this.sharpness)*this.points[s+1].x+this.sharpness*(this.centers[s].x+t),y:(1-this.sharpness)*this.points[s+1].y+this.sharpness*(this.centers[s].y+n),z:(1-this.sharpness)*this.points[s+1].z+this.sharpness*(this.centers[s].z+e)},{x:(1-this.sharpness)*this.points[s+1].x+this.sharpness*(this.centers[s+1].x+t),y:(1-this.sharpness)*this.points[s+1].y+this.sharpness*(this.centers[s+1].y+n),z:(1-this.sharpness)*this.points[s+1].z+this.sharpness*(this.centers[s+1].z+e)}])}return this.controls.push([this.points[this.length-1],this.points[this.length-1]]),this.steps=this.cacheSteps(this.stepLength),this}cacheSteps(i){const s=[];let t=this.pos(0);s.push(0);for(let n=0;n<this.duration;n+=10){const e=this.pos(n);Math.sqrt((e.x-t.x)*(e.x-t.x)+(e.y-t.y)*(e.y-t.y)+(e.z-t.z)*(e.z-t.z))>i&&(s.push(n),t=e)}return s}vector(i){const s=this.pos(i+10),t=this.pos(i-10);return{angle:180*Math.atan2(s.y-t.y,s.x-t.x)/3.14,speed:Math.sqrt((t.x-s.x)*(t.x-s.x)+(t.y-s.y)*(t.y-s.y)+(t.z-s.z)*(t.z-s.z))}}pos(i){let s=i-this.delay;s<0&&(s=0),s>this.duration&&(s=this.duration-1);const t=s/this.duration;if(t>=1)return this.points[this.length-1];const n=Math.floor((this.points.length-1)*t),e=(this.length-1)*t-n;return x(e,this.points[n],this.controls[n][1],this.controls[n+1][0],this.points[n+1])}};function x(i,s,t,n,e){const h=z(i);return{x:e.x*h[0]+n.x*h[1]+t.x*h[2]+s.x*h[3],y:e.y*h[0]+n.y*h[1]+t.y*h[2]+s.y*h[3],z:e.z*h[0]+n.z*h[1]+t.z*h[2]+s.z*h[3]}}function z(i){const s=i*i;return[s*i,3*s*(1-i),3*i*(1-i)*(1-i),(1-i)*(1-i)*(1-i)]}function d(i,s={}){const t=s.resolution||1e4,n=s.sharpness||.85,e=[],h=u.getGeom(i).coordinates.map(o=>({x:o[0],y:o[1]})),r=new y({duration:t,points:h,sharpness:n}),c=o=>{var a=r.pos(o);Math.floor(o/100)%2===0&&e.push([a.x,a.y])};for(var p=0;p<r.duration;p+=10)c(p);return c(r.duration),l.lineString(e,s.properties)}exports.bezierSpline=d;
|
|
2
2
|
//# sourceMappingURL=index.cjs72.js.map
|
package/dist/index.cjs72.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs72.js","sources":["../node_modules/@turf/
|
|
1
|
+
{"version":3,"file":"index.cjs72.js","sources":["../node_modules/@turf/bezier-spline/dist/esm/index.js"],"sourcesContent":["// index.ts\nimport { lineString } from \"@turf/helpers\";\nimport { getGeom } from \"@turf/invariant\";\n\n// lib/spline.ts\nvar Spline = class {\n constructor(options) {\n this.points = options.points || [];\n this.duration = options.duration || 1e4;\n this.sharpness = options.sharpness || 0.85;\n this.centers = [];\n this.controls = [];\n this.stepLength = options.stepLength || 60;\n this.length = this.points.length;\n this.delay = 0;\n for (let i = 0; i < this.length; i++) {\n this.points[i].z = this.points[i].z || 0;\n }\n for (let i = 0; i < this.length - 1; i++) {\n const p1 = this.points[i];\n const p2 = this.points[i + 1];\n this.centers.push({\n x: (p1.x + p2.x) / 2,\n y: (p1.y + p2.y) / 2,\n z: (p1.z + p2.z) / 2\n });\n }\n this.controls.push([this.points[0], this.points[0]]);\n for (let i = 0; i < this.centers.length - 1; i++) {\n const dx = this.points[i + 1].x - (this.centers[i].x + this.centers[i + 1].x) / 2;\n const dy = this.points[i + 1].y - (this.centers[i].y + this.centers[i + 1].y) / 2;\n const dz = this.points[i + 1].z - (this.centers[i].y + this.centers[i + 1].z) / 2;\n this.controls.push([\n {\n x: (1 - this.sharpness) * this.points[i + 1].x + this.sharpness * (this.centers[i].x + dx),\n y: (1 - this.sharpness) * this.points[i + 1].y + this.sharpness * (this.centers[i].y + dy),\n z: (1 - this.sharpness) * this.points[i + 1].z + this.sharpness * (this.centers[i].z + dz)\n },\n {\n x: (1 - this.sharpness) * this.points[i + 1].x + this.sharpness * (this.centers[i + 1].x + dx),\n y: (1 - this.sharpness) * this.points[i + 1].y + this.sharpness * (this.centers[i + 1].y + dy),\n z: (1 - this.sharpness) * this.points[i + 1].z + this.sharpness * (this.centers[i + 1].z + dz)\n }\n ]);\n }\n this.controls.push([\n this.points[this.length - 1],\n this.points[this.length - 1]\n ]);\n this.steps = this.cacheSteps(this.stepLength);\n return this;\n }\n /**\n * Caches an array of equidistant (more or less) points on the curve.\n */\n cacheSteps(mindist) {\n const steps = [];\n let laststep = this.pos(0);\n steps.push(0);\n for (let t = 0; t < this.duration; t += 10) {\n const step = this.pos(t);\n const dist = Math.sqrt(\n (step.x - laststep.x) * (step.x - laststep.x) + (step.y - laststep.y) * (step.y - laststep.y) + (step.z - laststep.z) * (step.z - laststep.z)\n );\n if (dist > mindist) {\n steps.push(t);\n laststep = step;\n }\n }\n return steps;\n }\n /**\n * returns angle and speed in the given point in the curve\n */\n vector(t) {\n const p1 = this.pos(t + 10);\n const p2 = this.pos(t - 10);\n return {\n angle: 180 * Math.atan2(p1.y - p2.y, p1.x - p2.x) / 3.14,\n speed: Math.sqrt(\n (p2.x - p1.x) * (p2.x - p1.x) + (p2.y - p1.y) * (p2.y - p1.y) + (p2.z - p1.z) * (p2.z - p1.z)\n )\n };\n }\n /**\n * Gets the position of the point, given time.\n *\n * WARNING: The speed is not constant. The time it takes between control points is constant.\n *\n * For constant speed, use Spline.steps[i];\n */\n pos(time) {\n let t = time - this.delay;\n if (t < 0) {\n t = 0;\n }\n if (t > this.duration) {\n t = this.duration - 1;\n }\n const t2 = t / this.duration;\n if (t2 >= 1) {\n return this.points[this.length - 1];\n }\n const n = Math.floor((this.points.length - 1) * t2);\n const t1 = (this.length - 1) * t2 - n;\n return bezier(\n t1,\n this.points[n],\n this.controls[n][1],\n this.controls[n + 1][0],\n this.points[n + 1]\n );\n }\n};\nfunction bezier(t, p1, c1, c2, p2) {\n const b = B(t);\n const pos = {\n x: p2.x * b[0] + c2.x * b[1] + c1.x * b[2] + p1.x * b[3],\n y: p2.y * b[0] + c2.y * b[1] + c1.y * b[2] + p1.y * b[3],\n z: p2.z * b[0] + c2.z * b[1] + c1.z * b[2] + p1.z * b[3]\n };\n return pos;\n}\nfunction B(t) {\n const t2 = t * t;\n const t3 = t2 * t;\n return [\n t3,\n 3 * t2 * (1 - t),\n 3 * t * (1 - t) * (1 - t),\n (1 - t) * (1 - t) * (1 - t)\n ];\n}\n\n// index.ts\nfunction bezierSpline(line, options = {}) {\n const resolution = options.resolution || 1e4;\n const sharpness = options.sharpness || 0.85;\n const coords = [];\n const points = getGeom(line).coordinates.map((pt) => {\n return { x: pt[0], y: pt[1] };\n });\n const spline = new Spline({\n duration: resolution,\n points,\n sharpness\n });\n const pushCoord = (time) => {\n var pos = spline.pos(time);\n if (Math.floor(time / 100) % 2 === 0) {\n coords.push([pos.x, pos.y]);\n }\n };\n for (var i = 0; i < spline.duration; i += 10) {\n pushCoord(i);\n }\n pushCoord(spline.duration);\n return lineString(coords, options.properties);\n}\nvar turf_bezier_spline_default = bezierSpline;\nexport {\n bezierSpline,\n turf_bezier_spline_default as default\n};\n//# sourceMappingURL=index.js.map"],"names":["Spline","options","i","p1","p2","dx","dy","dz","mindist","steps","laststep","t","step","time","t2","t1","bezier","c1","c2","b","B","bezierSpline","line","resolution","sharpness","coords","points","getGeom","pt","spline","pushCoord","pos","lineString"],"mappings":"mJAKA,IAAIA,EAAS,KAAM,CACjB,YAAYC,EAAS,CACnB,KAAK,OAASA,EAAQ,QAAU,CAAA,EAChC,KAAK,SAAWA,EAAQ,UAAY,IACpC,KAAK,UAAYA,EAAQ,WAAa,IACtC,KAAK,QAAU,CAAA,EACf,KAAK,SAAW,CAAA,EAChB,KAAK,WAAaA,EAAQ,YAAc,GACxC,KAAK,OAAS,KAAK,OAAO,OAC1B,KAAK,MAAQ,EACb,QAASC,EAAI,EAAGA,EAAI,KAAK,OAAQA,IAC/B,KAAK,OAAOA,CAAC,EAAE,EAAI,KAAK,OAAOA,CAAC,EAAE,GAAK,EAEzC,QAASA,EAAI,EAAGA,EAAI,KAAK,OAAS,EAAGA,IAAK,CACxC,MAAMC,EAAK,KAAK,OAAOD,CAAC,EAClBE,EAAK,KAAK,OAAOF,EAAI,CAAC,EAC5B,KAAK,QAAQ,KAAK,CAChB,GAAIC,EAAG,EAAIC,EAAG,GAAK,EACnB,GAAID,EAAG,EAAIC,EAAG,GAAK,EACnB,GAAID,EAAG,EAAIC,EAAG,GAAK,CAAA,CACpB,CACH,CACA,KAAK,SAAS,KAAK,CAAC,KAAK,OAAO,CAAC,EAAG,KAAK,OAAO,CAAC,CAAC,CAAC,EACnD,QAASF,EAAI,EAAGA,EAAI,KAAK,QAAQ,OAAS,EAAGA,IAAK,CAChD,MAAMG,EAAK,KAAK,OAAOH,EAAI,CAAC,EAAE,GAAK,KAAK,QAAQA,CAAC,EAAE,EAAI,KAAK,QAAQA,EAAI,CAAC,EAAE,GAAK,EAC1EI,EAAK,KAAK,OAAOJ,EAAI,CAAC,EAAE,GAAK,KAAK,QAAQA,CAAC,EAAE,EAAI,KAAK,QAAQA,EAAI,CAAC,EAAE,GAAK,EAC1EK,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CAC9C","x_google_ignoreList":[0]}
|
package/dist/index.cjs73.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 N=require("./index.cjs195.js"),O=require("./index.cjs196.js"),p=require("./index.cjs194.js");require("./index.cjs197.js");require("./index.cjs198.js");require("./index.cjs199.js");require("./index.cjs200.js");require("./index.cjs201.js");require("./index.cjs202.js");require("./index.cjs203.js");require("./index.cjs204.js");require("./index.cjs205.js");require("./index.cjs206.js");const g=require("./index.cjs207.js");require("./index.cjs208.js");const a=require("./index.cjs67.js");var{BufferOp:G,GeoJSONReader:S,GeoJSONWriter:x}=O;function F(e,r,t){t=t||{};var o=t.units||"kilometers",u=t.steps||8;if(!e)throw new Error("geojson is required");if(typeof t!="object")throw new Error("options must be an object");if(typeof u!="number")throw new Error("steps must be an number");if(r===void 0)throw new Error("radius is required");if(u<=0)throw new Error("steps must be greater than 0");var i=[];switch(e.type){case"GeometryCollection":return p.geomEach(e,function(f){var n=d(f,r,o,u);n&&i.push(n)}),a.featureCollection(i);case"FeatureCollection":return p.featureEach(e,function(f){var n=d(f,r,o,u);n&&p.featureEach(n,function(s){s&&i.push(s)})}),a.featureCollection(i)}return d(e,r,o,u)}function d(e,r,t,o){var u=e.properties||{},i=e.type==="Feature"?e.geometry:e;if(i.type==="GeometryCollection"){var f=[];return p.geomEach(e,function(C){var v=d(C,r,t,o);v&&f.push(v)}),a.featureCollection(f)}var n=R(i),s={type:i.type,coordinates:m(i.coordinates,n)},q=new S,h=q.read(s),b=a.radiansToLength(a.lengthToRadians(r,t),"meters"),c=G.bufferOp(h,b,o),w=new x;if(c=w.write(c),!l(c.coordinates)){var E={type:c.type,coordinates:y(c.coordinates,n)};return a.feature(E,u)}}function l(e){return Array.isArray(e[0])?l(e[0]):isNaN(e[0])}function m(e,r){return typeof e[0]!="object"?r(e):e.map(function(t){return m(t,r)})}function y(e,r){return typeof e[0]!="object"?r.invert(e):e.map(function(t){return y(t,r)})}function R(e){var r=N.center(e).geometry.coordinates,t=[-r[0],-r[1]];return g.default().rotate(t).scale(a.earthRadius)}exports.buffer=F;
|
|
2
2
|
//# sourceMappingURL=index.cjs73.js.map
|
package/dist/index.cjs73.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs73.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.cjs73.js","sources":["../node_modules/@turf/buffer/dist/esm/index.js"],"sourcesContent":["// index.js\nimport { center } from \"@turf/center\";\nimport jsts from \"@turf/jsts\";\nimport { geomEach, featureEach } from \"@turf/meta\";\nimport { geoAzimuthalEquidistant } from \"d3-geo\";\nimport {\n feature,\n featureCollection,\n radiansToLength,\n lengthToRadians,\n earthRadius\n} from \"@turf/helpers\";\nvar { BufferOp, GeoJSONReader, GeoJSONWriter } = jsts;\nfunction buffer(geojson, radius, options) {\n options = options || {};\n var units = options.units || \"kilometers\";\n var steps = options.steps || 8;\n if (!geojson) throw new Error(\"geojson is required\");\n if (typeof options !== \"object\") throw new Error(\"options must be an object\");\n if (typeof steps !== \"number\") throw new Error(\"steps must be an number\");\n if (radius === void 0) throw new Error(\"radius is required\");\n if (steps <= 0) throw new Error(\"steps must be greater than 0\");\n var results = [];\n switch (geojson.type) {\n case \"GeometryCollection\":\n geomEach(geojson, function(geometry) {\n var buffered = bufferFeature(geometry, radius, units, steps);\n if (buffered) results.push(buffered);\n });\n return featureCollection(results);\n case \"FeatureCollection\":\n featureEach(geojson, function(feature2) {\n var multiBuffered = bufferFeature(feature2, radius, units, steps);\n if (multiBuffered) {\n featureEach(multiBuffered, function(buffered) {\n if (buffered) results.push(buffered);\n });\n }\n });\n return featureCollection(results);\n }\n return bufferFeature(geojson, radius, units, steps);\n}\nfunction bufferFeature(geojson, radius, units, steps) {\n var properties = geojson.properties || {};\n var geometry = geojson.type === \"Feature\" ? geojson.geometry : geojson;\n if (geometry.type === \"GeometryCollection\") {\n var results = [];\n geomEach(geojson, function(geometry2) {\n var buffered2 = bufferFeature(geometry2, radius, units, steps);\n if (buffered2) results.push(buffered2);\n });\n return featureCollection(results);\n }\n var projection = defineProjection(geometry);\n var projected = {\n type: geometry.type,\n coordinates: projectCoords(geometry.coordinates, projection)\n };\n var reader = new GeoJSONReader();\n var geom = reader.read(projected);\n var distance = radiansToLength(lengthToRadians(radius, units), \"meters\");\n var buffered = BufferOp.bufferOp(geom, distance, steps);\n var writer = new GeoJSONWriter();\n buffered = writer.write(buffered);\n if (coordsIsNaN(buffered.coordinates)) return void 0;\n var result = {\n type: buffered.type,\n coordinates: unprojectCoords(buffered.coordinates, projection)\n };\n return feature(result, properties);\n}\nfunction coordsIsNaN(coords) {\n if (Array.isArray(coords[0])) return coordsIsNaN(coords[0]);\n return isNaN(coords[0]);\n}\nfunction projectCoords(coords, proj) {\n if (typeof coords[0] !== \"object\") return proj(coords);\n return coords.map(function(coord) {\n return projectCoords(coord, proj);\n });\n}\nfunction unprojectCoords(coords, proj) {\n if (typeof coords[0] !== \"object\") return proj.invert(coords);\n return coords.map(function(coord) {\n return unprojectCoords(coord, proj);\n });\n}\nfunction defineProjection(geojson) {\n var coords = center(geojson).geometry.coordinates;\n var rotation = [-coords[0], -coords[1]];\n return geoAzimuthalEquidistant().rotate(rotation).scale(earthRadius);\n}\nvar turf_buffer_default = buffer;\nexport {\n buffer,\n turf_buffer_default as default\n};\n//# sourceMappingURL=index.js.map"],"names":["BufferOp","GeoJSONReader","GeoJSONWriter","jsts","buffer","geojson","radius","options","units","steps","results","geomEach","geometry","buffered","bufferFeature","featureCollection","featureEach","feature2","multiBuffered","properties","geometry2","buffered2","projection","defineProjection","projected","projectCoords","reader","geom","distance","radiansToLength","lengthToRadians","writer","coordsIsNaN","result","unprojectCoords","feature","coords","proj","coord","center","rotation","geoAzimuthalEquidistant","earthRadius"],"mappings":"2jBAYA,GAAI,CAAE,SAAAA,EAA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,CAACJ,EAAO,CAAC,EAAG,CAACA,EAAO,CAAC,CAAC,EACtC,OAAOK,EAAAA,UAA0B,OAAOD,CAAQ,EAAE,MAAME,EAAAA,WAAW,CACrE","x_google_ignoreList":[0]}
|
package/dist/index.cjs74.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./index.cjs75.js"),c=require("./index.cjs67.js");function o(e,u,r={}){const i=r.steps||64,p=r.properties?r.properties:!Array.isArray(e)&&e.type==="Feature"&&e.properties?e.properties:{},t=[];for(let s=0;s<i;s++)t.push(a.destination(e,u,s*-360/i,r).geometry.coordinates);return t.push(t[0]),c.polygon([t],p)}var l=o;exports.circle=o;exports.default=l;
|
|
2
2
|
//# sourceMappingURL=index.cjs74.js.map
|
package/dist/index.cjs74.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs74.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs74.js","sources":["../node_modules/@turf/circle/dist/esm/index.js"],"sourcesContent":["// index.ts\nimport { destination } from \"@turf/destination\";\nimport { polygon } from \"@turf/helpers\";\nfunction circle(center, radius, options = {}) {\n const steps = options.steps || 64;\n const properties = options.properties ? options.properties : !Array.isArray(center) && center.type === \"Feature\" && center.properties ? center.properties : {};\n const coordinates = [];\n for (let i = 0; i < steps; i++) {\n coordinates.push(\n destination(center, radius, i * -360 / steps, options).geometry.coordinates\n );\n }\n coordinates.push(coordinates[0]);\n return polygon([coordinates], properties);\n}\nvar turf_circle_default = circle;\nexport {\n circle,\n turf_circle_default as default\n};\n//# sourceMappingURL=index.js.map"],"names":["circle","center","radius","options","steps","properties","coordinates","i","destination","polygon","turf_circle_default"],"mappings":"8KAGA,SAASA,EAAOC,EAAQC,EAAQC,EAAU,CAAA,EAAI,CAC5C,MAAMC,EAAQD,EAAQ,OAAS,GACzBE,EAAaF,EAAQ,WAAaA,EAAQ,WAAa,CAAC,MAAM,QAAQF,CAAM,GAAKA,EAAO,OAAS,WAAaA,EAAO,WAAaA,EAAO,WAAa,CAAA,EACtJK,EAAc,CAAA,EACpB,QAASC,EAAI,EAAGA,EAAIH,EAAOG,IACzBD,EAAY,KACVE,cAAYP,EAAQC,EAAQK,EAAI,KAAOH,EAAOD,CAAO,EAAE,SAAS,WAAA,EAGpE,OAAAG,EAAY,KAAKA,EAAY,CAAC,CAAC,EACxBG,UAAQ,CAACH,CAAW,EAAGD,CAAU,CAC1C,CACA,IAAIK,EAAsBV","x_google_ignoreList":[0]}
|
package/dist/index.cjs75.js
CHANGED
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.
|
|
2
|
-
* @license React
|
|
3
|
-
* react-jsx-runtime.production.min.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var f=R,c=Symbol.for("react.element"),l=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,m=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,y={key:!0,ref:!0,__self:!0,__source:!0};function u(o,e,i){var r,n={},_=null,s=null;i!==void 0&&(_=""+i),e.key!==void 0&&(_=""+e.key),e.ref!==void 0&&(s=e.ref);for(r in e)d.call(e,r)&&!y.hasOwnProperty(r)&&(n[r]=e[r]);if(o&&o.defaultProps)for(r in e=o.defaultProps,e)n[r]===void 0&&(n[r]=e[r]);return{$$typeof:c,type:o,key:_,ref:s,props:n,_owner:m.current}}return t.__exports.Fragment=l,t.__exports.jsx=u,t.__exports.jsxs=u,t.__exports}exports.__require=a;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs67.js"),l=require("./index.cjs193.js");function T(d,r,c,s={}){const a=l.getCoord(d),h=t.degreesToRadians(a[0]),n=t.degreesToRadians(a[1]),o=t.degreesToRadians(c),e=t.lengthToRadians(r,s.units),i=Math.asin(Math.sin(n)*Math.cos(e)+Math.cos(n)*Math.sin(e)*Math.cos(o)),M=h+Math.atan2(Math.sin(o)*Math.sin(e)*Math.cos(n),Math.cos(e)-Math.sin(n)*Math.sin(i)),g=t.radiansToDegrees(M),u=t.radiansToDegrees(i);return t.point([g,u],s.properties)}exports.destination=T;
|
|
10
2
|
//# sourceMappingURL=index.cjs75.js.map
|
package/dist/index.cjs75.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs75.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.cjs75.js","sources":["../node_modules/@turf/destination/dist/esm/index.js"],"sourcesContent":["// index.ts\nimport {\n degreesToRadians,\n lengthToRadians,\n point,\n radiansToDegrees\n} from \"@turf/helpers\";\nimport { getCoord } from \"@turf/invariant\";\nfunction destination(origin, distance, bearing, options = {}) {\n const coordinates1 = getCoord(origin);\n const longitude1 = degreesToRadians(coordinates1[0]);\n const latitude1 = degreesToRadians(coordinates1[1]);\n const bearingRad = degreesToRadians(bearing);\n const radians = lengthToRadians(distance, options.units);\n const latitude2 = Math.asin(\n Math.sin(latitude1) * Math.cos(radians) + Math.cos(latitude1) * Math.sin(radians) * Math.cos(bearingRad)\n );\n const longitude2 = longitude1 + Math.atan2(\n Math.sin(bearingRad) * Math.sin(radians) * Math.cos(latitude1),\n Math.cos(radians) - Math.sin(latitude1) * Math.sin(latitude2)\n );\n const lng = radiansToDegrees(longitude2);\n const lat = radiansToDegrees(latitude2);\n return point([lng, lat], options.properties);\n}\nvar turf_destination_default = destination;\nexport {\n turf_destination_default as default,\n destination\n};\n//# sourceMappingURL=index.js.map"],"names":["destination","origin","distance","bearing","options","coordinates1","getCoord","longitude1","degreesToRadians","latitude1","bearingRad","radians","lengthToRadians","latitude2","longitude2","lng","radiansToDegrees","lat","point"],"mappings":"mJAQA,SAASA,EAAYC,EAAQC,EAAUC,EAASC,EAAU,CAAA,EAAI,CAC5D,MAAMC,EAAeC,EAAAA,SAASL,CAAM,EAC9BM,EAAaC,EAAAA,iBAAiBH,EAAa,CAAC,CAAC,EAC7CI,EAAYD,EAAAA,iBAAiBH,EAAa,CAAC,CAAC,EAC5CK,EAAaF,EAAAA,iBAAiBL,CAAO,EACrCQ,EAAUC,EAAAA,gBAAgBV,EAAUE,EAAQ,KAAK,EACjDS,EAAY,KAAK,KACrB,KAAK,IAAIJ,CAAS,EAAI,KAAK,IAAIE,CAAO,EAAI,KAAK,IAAIF,CAAS,EAAI,KAAK,IAAIE,CAAO,EAAI,KAAK,IAAID,CAAU,CAAA,EAEnGI,EAAaP,EAAa,KAAK,MACnC,KAAK,IAAIG,CAAU,EAAI,KAAK,IAAIC,CAAO,EAAI,KAAK,IAAIF,CAAS,EAC7D,KAAK,IAAIE,CAAO,EAAI,KAAK,IAAIF,CAAS,EAAI,KAAK,IAAII,CAAS,CAAA,EAExDE,EAAMC,EAAAA,iBAAiBF,CAAU,EACjCG,EAAMD,EAAAA,iBAAiBH,CAAS,EACtC,OAAOK,EAAAA,MAAM,CAACH,EAAKE,CAAG,EAAGb,EAAQ,UAAU,CAC7C","x_google_ignoreList":[0]}
|