@performant-software/shared-components 3.0.7 → 3.1.0-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 +41 -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 +5 -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 -5
- package/dist/index.cjs114.js.map +1 -1
- package/dist/index.cjs115.js +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.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.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.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 -1
- 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 +1 -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.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.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 +13 -1
- package/dist/index.cjs169.js.map +1 -1
- package/dist/index.cjs170.js +1 -13
- 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.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.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.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 -1
- 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.cjs210.js +1 -1
- package/dist/index.cjs210.js.map +1 -1
- package/dist/index.cjs211.js +1 -1
- package/dist/index.cjs211.js.map +1 -1
- package/dist/index.cjs212.js +1 -1
- package/dist/index.cjs212.js.map +1 -1
- package/dist/index.cjs213.js +1 -1
- package/dist/index.cjs213.js.map +1 -1
- package/dist/index.cjs214.js +1 -1
- package/dist/index.cjs214.js.map +1 -1
- package/dist/index.cjs215.js +1 -1
- package/dist/index.cjs215.js.map +1 -1
- package/dist/index.cjs216.js +1 -1
- package/dist/index.cjs216.js.map +1 -1
- package/dist/index.cjs217.js +1 -1
- package/dist/index.cjs217.js.map +1 -1
- package/dist/index.cjs218.js +1 -1
- package/dist/index.cjs218.js.map +1 -1
- package/dist/index.cjs219.js +1 -1
- package/dist/index.cjs219.js.map +1 -1
- package/dist/index.cjs220.js +1 -1
- package/dist/index.cjs220.js.map +1 -1
- package/dist/index.cjs221.js +1 -1
- package/dist/index.cjs221.js.map +1 -1
- package/dist/index.cjs222.js +1 -1
- package/dist/index.cjs222.js.map +1 -1
- package/dist/index.cjs223.js +1 -1
- package/dist/index.cjs223.js.map +1 -1
- package/dist/index.cjs224.js +1 -1
- package/dist/index.cjs224.js.map +1 -1
- package/dist/index.cjs225.js +2 -1
- package/dist/index.cjs225.js.map +1 -1
- package/dist/index.cjs226.js +1 -1
- package/dist/index.cjs226.js.map +1 -1
- package/dist/index.cjs227.js +1 -1
- package/dist/index.cjs227.js.map +1 -1
- package/dist/index.cjs228.js +1 -1
- package/dist/index.cjs228.js.map +1 -1
- package/dist/index.cjs229.js +1 -1
- package/dist/index.cjs229.js.map +1 -1
- package/dist/index.cjs230.js +1 -1
- package/dist/index.cjs230.js.map +1 -1
- package/dist/index.cjs231.js +1 -1
- package/dist/index.cjs231.js.map +1 -1
- package/dist/index.cjs232.js +1 -1
- package/dist/index.cjs232.js.map +1 -1
- package/dist/index.cjs233.js +1 -1
- package/dist/index.cjs233.js.map +1 -1
- package/dist/index.cjs234.js +1 -1
- package/dist/index.cjs234.js.map +1 -1
- package/dist/index.cjs235.js +1 -1
- package/dist/index.cjs235.js.map +1 -1
- package/dist/index.cjs236.js +1 -1
- package/dist/index.cjs236.js.map +1 -1
- package/dist/index.cjs237.js +2 -1
- package/dist/index.cjs237.js.map +1 -1
- package/dist/index.cjs238.js +3 -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.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.cjs249.js +1 -1
- package/dist/index.cjs249.js.map +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.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.cjs270.js +1 -1
- package/dist/index.cjs270.js.map +1 -1
- package/dist/index.cjs271.js +1 -1
- package/dist/index.cjs271.js.map +1 -1
- package/dist/index.cjs272.js +1 -1
- package/dist/index.cjs272.js.map +1 -1
- package/dist/index.cjs273.js +1 -1
- package/dist/index.cjs273.js.map +1 -1
- package/dist/index.cjs274.js +1 -1
- package/dist/index.cjs274.js.map +1 -1
- package/dist/index.cjs275.js +1 -1
- package/dist/index.cjs275.js.map +1 -1
- package/dist/index.cjs276.js +1 -1
- package/dist/index.cjs276.js.map +1 -1
- package/dist/index.cjs277.js +1 -1
- package/dist/index.cjs277.js.map +1 -1
- package/dist/index.cjs278.js +1 -1
- package/dist/index.cjs278.js.map +1 -1
- package/dist/index.cjs279.js +1 -1
- package/dist/index.cjs279.js.map +1 -1
- package/dist/index.cjs280.js +1 -1
- package/dist/index.cjs280.js.map +1 -1
- package/dist/index.cjs281.js +1 -1
- package/dist/index.cjs281.js.map +1 -1
- package/dist/index.cjs282.js +1 -1
- package/dist/index.cjs282.js.map +1 -1
- package/dist/index.cjs283.js +1 -1
- package/dist/index.cjs283.js.map +1 -1
- package/dist/index.cjs284.js +1 -1
- package/dist/index.cjs284.js.map +1 -1
- package/dist/index.cjs285.js +1 -1
- package/dist/index.cjs285.js.map +1 -1
- package/dist/index.cjs286.js +1 -1
- package/dist/index.cjs286.js.map +1 -1
- package/dist/index.cjs287.js +1 -1
- package/dist/index.cjs287.js.map +1 -1
- package/dist/index.cjs288.js +1 -1
- package/dist/index.cjs288.js.map +1 -1
- package/dist/index.cjs289.js +1 -1
- package/dist/index.cjs289.js.map +1 -1
- package/dist/index.cjs290.js +1 -1
- package/dist/index.cjs290.js.map +1 -1
- package/dist/index.cjs291.js +1 -1
- package/dist/index.cjs291.js.map +1 -1
- package/dist/index.cjs292.js +1 -1
- package/dist/index.cjs292.js.map +1 -1
- package/dist/index.cjs293.js +2 -1
- package/dist/index.cjs293.js.map +1 -1
- package/dist/index.cjs294.js +1 -1
- package/dist/index.cjs294.js.map +1 -1
- package/dist/index.cjs295.js +1 -1
- package/dist/index.cjs295.js.map +1 -1
- package/dist/index.cjs296.js +1 -1
- package/dist/index.cjs296.js.map +1 -1
- package/dist/index.cjs297.js +1 -1
- package/dist/index.cjs297.js.map +1 -1
- package/dist/index.cjs298.js +1 -1
- package/dist/index.cjs298.js.map +1 -1
- package/dist/index.cjs299.js +1 -1
- package/dist/index.cjs299.js.map +1 -1
- package/dist/index.cjs300.js +1 -1
- package/dist/index.cjs300.js.map +1 -1
- package/dist/index.cjs301.js +1 -1
- package/dist/index.cjs301.js.map +1 -1
- package/dist/index.cjs302.js +1 -1
- package/dist/index.cjs302.js.map +1 -1
- package/dist/index.cjs303.js +1 -1
- package/dist/index.cjs303.js.map +1 -1
- package/dist/index.cjs304.js +1 -1
- package/dist/index.cjs304.js.map +1 -1
- package/dist/index.cjs305.js +1 -1
- package/dist/index.cjs305.js.map +1 -1
- package/dist/index.cjs306.js +1 -1
- package/dist/index.cjs306.js.map +1 -1
- package/dist/index.cjs307.js +1 -1
- package/dist/index.cjs307.js.map +1 -1
- package/dist/index.cjs308.js +1 -1
- package/dist/index.cjs308.js.map +1 -1
- package/dist/index.cjs309.js +1 -1
- package/dist/index.cjs309.js.map +1 -1
- package/dist/index.cjs310.js +1 -1
- package/dist/index.cjs310.js.map +1 -1
- package/dist/index.cjs311.js +1 -1
- package/dist/index.cjs311.js.map +1 -1
- package/dist/index.cjs312.js +1 -1
- package/dist/index.cjs312.js.map +1 -1
- package/dist/index.cjs313.js +1 -1
- package/dist/index.cjs313.js.map +1 -1
- package/dist/index.cjs314.js +1 -1
- package/dist/index.cjs314.js.map +1 -1
- package/dist/index.cjs315.js +1 -1
- package/dist/index.cjs315.js.map +1 -1
- package/dist/index.cjs316.js +1 -1
- package/dist/index.cjs316.js.map +1 -1
- package/dist/index.cjs317.js +1 -1
- package/dist/index.cjs317.js.map +1 -1
- package/dist/index.cjs318.js +1 -1
- package/dist/index.cjs318.js.map +1 -1
- package/dist/index.cjs319.js +1 -1
- package/dist/index.cjs319.js.map +1 -1
- package/dist/index.cjs320.js +1 -1
- package/dist/index.cjs320.js.map +1 -1
- package/dist/index.cjs321.js +1 -2
- package/dist/index.cjs321.js.map +1 -1
- package/dist/index.cjs322.js +1 -1
- package/dist/index.cjs322.js.map +1 -1
- package/dist/index.cjs323.js +1 -1
- package/dist/index.cjs323.js.map +1 -1
- package/dist/index.cjs324.js +1 -1
- package/dist/index.cjs324.js.map +1 -1
- package/dist/index.cjs325.js +1 -1
- package/dist/index.cjs326.js +1 -1
- package/dist/index.cjs326.js.map +1 -1
- package/dist/index.cjs327.js +1 -1
- package/dist/index.cjs327.js.map +1 -1
- package/dist/index.cjs328.js +1 -1
- package/dist/index.cjs328.js.map +1 -1
- package/dist/index.cjs329.js +1 -1
- package/dist/index.cjs329.js.map +1 -1
- package/dist/index.cjs330.js +1 -1
- package/dist/index.cjs330.js.map +1 -1
- package/dist/index.cjs331.js +1 -1
- package/dist/index.cjs331.js.map +1 -1
- package/dist/index.cjs332.js +1 -1
- package/dist/index.cjs332.js.map +1 -1
- package/dist/index.cjs333.js +1 -1
- package/dist/index.cjs333.js.map +1 -1
- package/dist/index.cjs334.js +1 -1
- package/dist/index.cjs334.js.map +1 -1
- package/dist/index.cjs335.js +1 -1
- package/dist/index.cjs335.js.map +1 -1
- package/dist/index.cjs336.js +1 -1
- package/dist/index.cjs336.js.map +1 -1
- package/dist/index.cjs337.js +1 -1
- package/dist/index.cjs337.js.map +1 -1
- package/dist/index.cjs338.js +1 -1
- package/dist/index.cjs338.js.map +1 -1
- package/dist/index.cjs339.js +1 -1
- package/dist/index.cjs339.js.map +1 -1
- package/dist/index.cjs340.js +1 -1
- package/dist/index.cjs340.js.map +1 -1
- package/dist/index.cjs341.js +1 -1
- package/dist/index.cjs341.js.map +1 -1
- package/dist/index.cjs342.js +1 -1
- package/dist/index.cjs342.js.map +1 -1
- package/dist/index.cjs343.js +1 -1
- package/dist/index.cjs343.js.map +1 -1
- package/dist/index.cjs344.js +1 -1
- package/dist/index.cjs344.js.map +1 -1
- package/dist/index.cjs345.js +1 -1
- package/dist/index.cjs345.js.map +1 -1
- package/dist/index.cjs346.js +1 -1
- package/dist/index.cjs346.js.map +1 -1
- package/dist/index.cjs347.js +1 -1
- package/dist/index.cjs347.js.map +1 -1
- package/dist/index.cjs348.js +1 -1
- package/dist/index.cjs348.js.map +1 -1
- package/dist/index.cjs349.js +1 -1
- package/dist/index.cjs349.js.map +1 -1
- package/dist/index.cjs350.js +1 -1
- package/dist/index.cjs350.js.map +1 -1
- package/dist/index.cjs351.js +1 -1
- package/dist/index.cjs351.js.map +1 -1
- package/dist/index.cjs352.js +1 -1
- package/dist/index.cjs352.js.map +1 -1
- package/dist/index.cjs353.js +1 -1
- package/dist/index.cjs353.js.map +1 -1
- package/dist/index.cjs354.js +1 -1
- package/dist/index.cjs354.js.map +1 -1
- package/dist/index.cjs355.js +1 -1
- package/dist/index.cjs355.js.map +1 -1
- package/dist/index.cjs356.js +1 -1
- package/dist/index.cjs356.js.map +1 -1
- package/dist/index.cjs357.js +1 -1
- package/dist/index.cjs357.js.map +1 -1
- package/dist/index.cjs358.js +1 -1
- package/dist/index.cjs358.js.map +1 -1
- package/dist/index.cjs359.js +1 -1
- package/dist/index.cjs359.js.map +1 -1
- package/dist/index.cjs360.js +1 -1
- package/dist/index.cjs360.js.map +1 -1
- package/dist/index.cjs361.js +1 -1
- package/dist/index.cjs361.js.map +1 -1
- package/dist/index.cjs362.js +1 -1
- package/dist/index.cjs362.js.map +1 -1
- package/dist/index.cjs363.js +1 -1
- package/dist/index.cjs363.js.map +1 -1
- package/dist/index.cjs364.js +1 -1
- package/dist/index.cjs364.js.map +1 -1
- package/dist/index.cjs365.js +1 -1
- package/dist/index.cjs365.js.map +1 -1
- package/dist/index.cjs366.js +1 -1
- package/dist/index.cjs366.js.map +1 -1
- package/dist/index.cjs367.js +1 -1
- package/dist/index.cjs367.js.map +1 -1
- package/dist/index.cjs368.js +1 -1
- package/dist/index.cjs368.js.map +1 -1
- package/dist/index.cjs369.js +1 -1
- package/dist/index.cjs369.js.map +1 -1
- package/dist/index.cjs370.js +1 -1
- package/dist/index.cjs370.js.map +1 -1
- package/dist/index.cjs371.js +1 -1
- package/dist/index.cjs371.js.map +1 -1
- package/dist/index.cjs372.js +1 -1
- package/dist/index.cjs372.js.map +1 -1
- package/dist/index.cjs373.js +1 -1
- package/dist/index.cjs373.js.map +1 -1
- package/dist/index.cjs374.js +1 -1
- package/dist/index.cjs374.js.map +1 -1
- package/dist/index.cjs375.js +1 -1
- package/dist/index.cjs375.js.map +1 -1
- package/dist/index.cjs376.js +1 -1
- package/dist/index.cjs376.js.map +1 -1
- package/dist/index.cjs377.js +1 -1
- package/dist/index.cjs377.js.map +1 -1
- package/dist/index.cjs378.js +1 -1
- package/dist/index.cjs378.js.map +1 -1
- package/dist/index.cjs379.js +1 -1
- package/dist/index.cjs379.js.map +1 -1
- package/dist/index.cjs38.js +1 -1
- package/dist/index.cjs380.js +1 -1
- package/dist/index.cjs380.js.map +1 -1
- package/dist/index.cjs381.js +1 -1
- package/dist/index.cjs381.js.map +1 -1
- package/dist/index.cjs382.js +1 -1
- package/dist/index.cjs382.js.map +1 -1
- package/dist/index.cjs383.js +1 -1
- package/dist/index.cjs383.js.map +1 -1
- package/dist/index.cjs384.js +1 -1
- package/dist/index.cjs384.js.map +1 -1
- package/dist/index.cjs385.js +1 -1
- package/dist/index.cjs385.js.map +1 -1
- package/dist/index.cjs386.js +1 -1
- package/dist/index.cjs386.js.map +1 -1
- package/dist/index.cjs387.js +1 -1
- package/dist/index.cjs387.js.map +1 -1
- package/dist/index.cjs388.js +1 -1
- package/dist/index.cjs388.js.map +1 -1
- package/dist/index.cjs389.js +1 -1
- package/dist/index.cjs389.js.map +1 -1
- package/dist/index.cjs390.js +1 -1
- package/dist/index.cjs390.js.map +1 -1
- package/dist/index.cjs391.js +1 -1
- package/dist/index.cjs391.js.map +1 -1
- package/dist/index.cjs392.js +1 -1
- package/dist/index.cjs392.js.map +1 -1
- package/dist/index.cjs393.js +1 -1
- package/dist/index.cjs393.js.map +1 -1
- package/dist/index.cjs394.js +1 -1
- package/dist/index.cjs394.js.map +1 -1
- package/dist/index.cjs395.js +1 -1
- package/dist/index.cjs395.js.map +1 -1
- package/dist/index.cjs396.js +1 -1
- package/dist/index.cjs396.js.map +1 -1
- package/dist/index.cjs397.js +1 -1
- package/dist/index.cjs397.js.map +1 -1
- package/dist/index.cjs398.js +1 -1
- package/dist/index.cjs398.js.map +1 -1
- package/dist/index.cjs399.js +1 -1
- package/dist/index.cjs399.js.map +1 -1
- package/dist/index.cjs40.js +1 -1
- package/dist/index.cjs400.js +1 -1
- package/dist/index.cjs400.js.map +1 -1
- package/dist/index.cjs401.js +1 -1
- package/dist/index.cjs401.js.map +1 -1
- package/dist/index.cjs402.js +1 -1
- package/dist/index.cjs402.js.map +1 -1
- package/dist/index.cjs403.js +1 -1
- package/dist/index.cjs403.js.map +1 -1
- package/dist/index.cjs404.js +1 -1
- package/dist/index.cjs404.js.map +1 -1
- package/dist/index.cjs405.js +1 -1
- package/dist/index.cjs405.js.map +1 -1
- package/dist/index.cjs406.js +1 -1
- package/dist/index.cjs406.js.map +1 -1
- package/dist/index.cjs407.js +1 -1
- package/dist/index.cjs407.js.map +1 -1
- package/dist/index.cjs408.js +1 -1
- package/dist/index.cjs408.js.map +1 -1
- package/dist/index.cjs409.js +1 -1
- package/dist/index.cjs409.js.map +1 -1
- package/dist/index.cjs41.js +1 -1
- package/dist/index.cjs410.js +1 -1
- package/dist/index.cjs410.js.map +1 -1
- package/dist/index.cjs411.js +1 -1
- package/dist/index.cjs411.js.map +1 -1
- package/dist/index.cjs412.js +1 -1
- package/dist/index.cjs412.js.map +1 -1
- package/dist/index.cjs413.js +1 -1
- package/dist/index.cjs413.js.map +1 -1
- package/dist/index.cjs414.js +1 -1
- package/dist/index.cjs414.js.map +1 -1
- package/dist/index.cjs415.js +1 -1
- package/dist/index.cjs415.js.map +1 -1
- package/dist/index.cjs416.js +1 -1
- package/dist/index.cjs416.js.map +1 -1
- package/dist/index.cjs417.js +1 -1
- package/dist/index.cjs417.js.map +1 -1
- package/dist/index.cjs418.js +1 -1
- package/dist/index.cjs418.js.map +1 -1
- package/dist/index.cjs419.js +1 -1
- package/dist/index.cjs419.js.map +1 -1
- package/dist/index.cjs42.js +1 -1
- package/dist/index.cjs420.js +1 -1
- package/dist/index.cjs420.js.map +1 -1
- package/dist/index.cjs421.js +1 -1
- package/dist/index.cjs421.js.map +1 -1
- package/dist/index.cjs422.js +1 -1
- package/dist/index.cjs422.js.map +1 -1
- package/dist/index.cjs423.js +1 -1
- package/dist/index.cjs423.js.map +1 -1
- package/dist/index.cjs424.js +1 -1
- package/dist/index.cjs424.js.map +1 -1
- package/dist/index.cjs425.js +1 -1
- package/dist/index.cjs425.js.map +1 -1
- package/dist/index.cjs426.js +1 -1
- package/dist/index.cjs426.js.map +1 -1
- package/dist/index.cjs427.js +1 -1
- package/dist/index.cjs427.js.map +1 -1
- package/dist/index.cjs428.js +1 -1
- package/dist/index.cjs428.js.map +1 -1
- package/dist/index.cjs429.js +1 -1
- package/dist/index.cjs429.js.map +1 -1
- package/dist/index.cjs430.js +1 -1
- package/dist/index.cjs430.js.map +1 -1
- package/dist/index.cjs431.js +1 -1
- package/dist/index.cjs431.js.map +1 -1
- package/dist/index.cjs432.js +1 -1
- package/dist/index.cjs432.js.map +1 -1
- package/dist/index.cjs433.js +1 -1
- package/dist/index.cjs433.js.map +1 -1
- package/dist/index.cjs434.js +1 -1
- package/dist/index.cjs434.js.map +1 -1
- package/dist/index.cjs435.js +1 -1
- package/dist/index.cjs435.js.map +1 -1
- package/dist/index.cjs436.js +1 -1
- package/dist/index.cjs436.js.map +1 -1
- package/dist/index.cjs437.js +1 -1
- package/dist/index.cjs437.js.map +1 -1
- package/dist/index.cjs438.js +1 -1
- package/dist/index.cjs438.js.map +1 -1
- package/dist/index.cjs439.js +1 -1
- package/dist/index.cjs439.js.map +1 -1
- package/dist/index.cjs44.js +1 -1
- package/dist/index.cjs440.js +1 -1
- package/dist/index.cjs440.js.map +1 -1
- package/dist/index.cjs441.js +1 -1
- package/dist/index.cjs441.js.map +1 -1
- package/dist/index.cjs442.js +1 -1
- package/dist/index.cjs442.js.map +1 -1
- package/dist/index.cjs443.js +1 -1
- package/dist/index.cjs443.js.map +1 -1
- package/dist/index.cjs444.js +1 -1
- package/dist/index.cjs444.js.map +1 -1
- package/dist/index.cjs445.js +1 -1
- package/dist/index.cjs445.js.map +1 -1
- package/dist/index.cjs446.js +1 -1
- package/dist/index.cjs446.js.map +1 -1
- package/dist/index.cjs447.js +1 -1
- package/dist/index.cjs447.js.map +1 -1
- package/dist/index.cjs448.js +1 -1
- package/dist/index.cjs448.js.map +1 -1
- package/dist/index.cjs449.js +1 -1
- package/dist/index.cjs449.js.map +1 -1
- package/dist/index.cjs45.js +1 -1
- package/dist/index.cjs450.js +1 -1
- package/dist/index.cjs450.js.map +1 -1
- package/dist/index.cjs451.js +1 -1
- package/dist/index.cjs451.js.map +1 -1
- package/dist/index.cjs452.js +1 -1
- package/dist/index.cjs452.js.map +1 -1
- package/dist/index.cjs453.js +1 -1
- package/dist/index.cjs453.js.map +1 -1
- package/dist/index.cjs454.js +1 -1
- package/dist/index.cjs454.js.map +1 -1
- package/dist/index.cjs455.js +1 -1
- package/dist/index.cjs455.js.map +1 -1
- package/dist/index.cjs456.js +1 -1
- package/dist/index.cjs456.js.map +1 -1
- package/dist/index.cjs457.js +1 -1
- package/dist/index.cjs457.js.map +1 -1
- package/dist/index.cjs458.js +1 -1
- package/dist/index.cjs458.js.map +1 -1
- package/dist/index.cjs459.js +1 -1
- package/dist/index.cjs459.js.map +1 -1
- package/dist/index.cjs46.js +1 -1
- package/dist/index.cjs460.js +1 -1
- package/dist/index.cjs460.js.map +1 -1
- package/dist/index.cjs461.js +1 -1
- package/dist/index.cjs461.js.map +1 -1
- package/dist/index.cjs462.js +1 -1
- package/dist/index.cjs462.js.map +1 -1
- package/dist/index.cjs463.js +1 -1
- package/dist/index.cjs463.js.map +1 -1
- package/dist/index.cjs464.js +1 -1
- package/dist/index.cjs464.js.map +1 -1
- package/dist/index.cjs465.js +1 -1
- package/dist/index.cjs465.js.map +1 -1
- package/dist/index.cjs466.js +1 -1
- package/dist/index.cjs466.js.map +1 -1
- package/dist/index.cjs467.js +1 -1
- package/dist/index.cjs467.js.map +1 -1
- package/dist/index.cjs468.js +1 -1
- package/dist/index.cjs468.js.map +1 -1
- package/dist/index.cjs469.js +1 -1
- package/dist/index.cjs469.js.map +1 -1
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs470.js +1 -1
- package/dist/index.cjs470.js.map +1 -1
- package/dist/index.cjs471.js +1 -1
- package/dist/index.cjs471.js.map +1 -1
- package/dist/index.cjs472.js +1 -1
- package/dist/index.cjs472.js.map +1 -1
- package/dist/index.cjs473.js +1 -1
- package/dist/index.cjs473.js.map +1 -1
- package/dist/index.cjs474.js +1 -1
- package/dist/index.cjs474.js.map +1 -1
- package/dist/index.cjs475.js +1 -1
- package/dist/index.cjs475.js.map +1 -1
- package/dist/index.cjs476.js +1 -1
- package/dist/index.cjs476.js.map +1 -1
- package/dist/index.cjs477.js +1 -1
- package/dist/index.cjs477.js.map +1 -1
- package/dist/index.cjs478.js +1 -1
- package/dist/index.cjs478.js.map +1 -1
- package/dist/index.cjs479.js +1 -1
- package/dist/index.cjs479.js.map +1 -1
- package/dist/index.cjs48.js +1 -1
- package/dist/index.cjs480.js +1 -1
- package/dist/index.cjs480.js.map +1 -1
- package/dist/index.cjs481.js +1 -1
- package/dist/index.cjs481.js.map +1 -1
- package/dist/index.cjs482.js +1 -1
- package/dist/index.cjs482.js.map +1 -1
- package/dist/index.cjs483.js +1 -1
- package/dist/index.cjs483.js.map +1 -1
- package/dist/index.cjs484.js +1 -1
- package/dist/index.cjs484.js.map +1 -1
- package/dist/index.cjs485.js +1 -1
- package/dist/index.cjs485.js.map +1 -1
- package/dist/index.cjs486.js +1 -1
- package/dist/index.cjs486.js.map +1 -1
- package/dist/index.cjs487.js +1 -1
- package/dist/index.cjs487.js.map +1 -1
- package/dist/index.cjs488.js +1 -1
- package/dist/index.cjs488.js.map +1 -1
- package/dist/index.cjs489.js +1 -1
- package/dist/index.cjs489.js.map +1 -1
- package/dist/index.cjs49.js +1 -1
- package/dist/index.cjs490.js +1 -1
- package/dist/index.cjs490.js.map +1 -1
- package/dist/index.cjs491.js +1 -1
- package/dist/index.cjs491.js.map +1 -1
- package/dist/index.cjs492.js +1 -1
- package/dist/index.cjs492.js.map +1 -1
- package/dist/index.cjs493.js +1 -1
- package/dist/index.cjs493.js.map +1 -1
- package/dist/index.cjs494.js +1 -1
- package/dist/index.cjs494.js.map +1 -1
- package/dist/index.cjs495.js +1 -1
- package/dist/index.cjs495.js.map +1 -1
- package/dist/index.cjs496.js +1 -1
- package/dist/index.cjs496.js.map +1 -1
- package/dist/index.cjs497.js +1 -1
- package/dist/index.cjs497.js.map +1 -1
- package/dist/index.cjs498.js +1 -1
- package/dist/index.cjs498.js.map +1 -1
- package/dist/index.cjs499.js +1 -1
- package/dist/index.cjs499.js.map +1 -1
- package/dist/index.cjs5.js +9 -22
- package/dist/index.cjs5.js.map +1 -1
- package/dist/index.cjs50.js +1 -1
- package/dist/index.cjs500.js +1 -1
- package/dist/index.cjs500.js.map +1 -1
- package/dist/index.cjs501.js +1 -1
- package/dist/index.cjs501.js.map +1 -1
- package/dist/index.cjs502.js +1 -1
- package/dist/index.cjs502.js.map +1 -1
- package/dist/index.cjs503.js +1 -1
- package/dist/index.cjs503.js.map +1 -1
- package/dist/index.cjs504.js +1 -1
- package/dist/index.cjs504.js.map +1 -1
- package/dist/index.cjs505.js +1 -1
- package/dist/index.cjs505.js.map +1 -1
- package/dist/index.cjs506.js +1 -1
- package/dist/index.cjs506.js.map +1 -1
- package/dist/index.cjs507.js +1 -1
- package/dist/index.cjs507.js.map +1 -1
- package/dist/index.cjs508.js +1 -1
- package/dist/index.cjs508.js.map +1 -1
- package/dist/index.cjs509.js +1 -1
- package/dist/index.cjs509.js.map +1 -1
- package/dist/index.cjs510.js +1 -1
- package/dist/index.cjs510.js.map +1 -1
- package/dist/index.cjs511.js +1 -1
- package/dist/index.cjs511.js.map +1 -1
- package/dist/index.cjs512.js +1 -1
- package/dist/index.cjs512.js.map +1 -1
- package/dist/index.cjs513.js +1 -1
- package/dist/index.cjs513.js.map +1 -1
- package/dist/index.cjs514.js +1 -1
- package/dist/index.cjs514.js.map +1 -1
- package/dist/index.cjs515.js +1 -1
- package/dist/index.cjs515.js.map +1 -1
- package/dist/index.cjs516.js +1 -1
- package/dist/index.cjs516.js.map +1 -1
- package/dist/index.cjs517.js +1 -1
- package/dist/index.cjs517.js.map +1 -1
- package/dist/index.cjs518.js +1 -1
- package/dist/index.cjs518.js.map +1 -1
- package/dist/index.cjs519.js +1 -1
- package/dist/index.cjs519.js.map +1 -1
- package/dist/index.cjs52.js +1 -1
- package/dist/index.cjs520.js +1 -1
- package/dist/index.cjs520.js.map +1 -1
- package/dist/index.cjs521.js +1 -1
- package/dist/index.cjs521.js.map +1 -1
- package/dist/index.cjs522.js +1 -1
- package/dist/index.cjs522.js.map +1 -1
- package/dist/index.cjs523.js +1 -1
- package/dist/index.cjs523.js.map +1 -1
- package/dist/index.cjs524.js +1 -1
- package/dist/index.cjs524.js.map +1 -1
- package/dist/index.cjs525.js +1 -1
- package/dist/index.cjs525.js.map +1 -1
- package/dist/index.cjs526.js +1 -1
- package/dist/index.cjs526.js.map +1 -1
- package/dist/index.cjs527.js +1 -1
- package/dist/index.cjs527.js.map +1 -1
- package/dist/index.cjs528.js +1 -1
- package/dist/index.cjs528.js.map +1 -1
- package/dist/index.cjs529.js +1 -1
- package/dist/index.cjs529.js.map +1 -1
- package/dist/index.cjs53.js +1 -1
- package/dist/index.cjs530.js +1 -1
- package/dist/index.cjs530.js.map +1 -1
- package/dist/index.cjs531.js +1 -1
- package/dist/index.cjs531.js.map +1 -1
- package/dist/index.cjs532.js +1 -1
- package/dist/index.cjs532.js.map +1 -1
- package/dist/index.cjs533.js +1 -1
- package/dist/index.cjs533.js.map +1 -1
- package/dist/index.cjs534.js +1 -1
- package/dist/index.cjs534.js.map +1 -1
- package/dist/index.cjs535.js +1 -1
- package/dist/index.cjs535.js.map +1 -1
- package/dist/index.cjs536.js +1 -1
- package/dist/index.cjs536.js.map +1 -1
- package/dist/index.cjs537.js +1 -1
- package/dist/index.cjs537.js.map +1 -1
- package/dist/index.cjs538.js +1 -1
- package/dist/index.cjs538.js.map +1 -1
- package/dist/index.cjs539.js +1 -1
- package/dist/index.cjs539.js.map +1 -1
- package/dist/index.cjs54.js +1 -1
- package/dist/index.cjs540.js +1 -1
- package/dist/index.cjs540.js.map +1 -1
- package/dist/index.cjs541.js +1 -1
- package/dist/index.cjs541.js.map +1 -1
- package/dist/index.cjs542.js +1 -1
- package/dist/index.cjs542.js.map +1 -1
- package/dist/index.cjs543.js +1 -1
- package/dist/index.cjs543.js.map +1 -1
- package/dist/index.cjs544.js +1 -1
- package/dist/index.cjs544.js.map +1 -1
- package/dist/index.cjs545.js +1 -1
- package/dist/index.cjs545.js.map +1 -1
- package/dist/index.cjs546.js +1 -1
- package/dist/index.cjs546.js.map +1 -1
- package/dist/index.cjs547.js +1 -1
- package/dist/index.cjs547.js.map +1 -1
- package/dist/index.cjs548.js +1 -1
- package/dist/index.cjs548.js.map +1 -1
- package/dist/index.cjs549.js +1 -1
- package/dist/index.cjs549.js.map +1 -1
- package/dist/index.cjs55.js +1 -1
- package/dist/index.cjs550.js +1 -1
- package/dist/index.cjs550.js.map +1 -1
- package/dist/index.cjs551.js +1 -1
- package/dist/index.cjs551.js.map +1 -1
- package/dist/index.cjs552.js +1 -1
- package/dist/index.cjs552.js.map +1 -1
- package/dist/index.cjs553.js +1 -1
- package/dist/index.cjs553.js.map +1 -1
- package/dist/index.cjs554.js +1 -1
- package/dist/index.cjs554.js.map +1 -1
- package/dist/index.cjs555.js +1 -1
- package/dist/index.cjs555.js.map +1 -1
- package/dist/index.cjs556.js +1 -1
- package/dist/index.cjs556.js.map +1 -1
- package/dist/index.cjs557.js +1 -1
- package/dist/index.cjs557.js.map +1 -1
- package/dist/index.cjs558.js +1 -1
- package/dist/index.cjs558.js.map +1 -1
- package/dist/index.cjs559.js +1 -1
- package/dist/index.cjs559.js.map +1 -1
- package/dist/index.cjs560.js +1 -1
- package/dist/index.cjs560.js.map +1 -1
- package/dist/index.cjs561.js +1 -1
- package/dist/index.cjs561.js.map +1 -1
- package/dist/index.cjs562.js +1 -1
- package/dist/index.cjs562.js.map +1 -1
- package/dist/index.cjs563.js +1 -1
- package/dist/index.cjs563.js.map +1 -1
- package/dist/index.cjs564.js +1 -1
- package/dist/index.cjs564.js.map +1 -1
- package/dist/index.cjs565.js +1 -1
- package/dist/index.cjs565.js.map +1 -1
- package/dist/index.cjs566.js +1 -1
- package/dist/index.cjs566.js.map +1 -1
- package/dist/index.cjs567.js +1 -1
- package/dist/index.cjs567.js.map +1 -1
- package/dist/index.cjs568.js +1 -1
- package/dist/index.cjs568.js.map +1 -1
- package/dist/index.cjs569.js +1 -1
- package/dist/index.cjs569.js.map +1 -1
- package/dist/index.cjs57.js +1 -1
- package/dist/index.cjs570.js +1 -1
- package/dist/index.cjs570.js.map +1 -1
- package/dist/index.cjs571.js +1 -1
- package/dist/index.cjs571.js.map +1 -1
- package/dist/index.cjs572.js +1 -1
- package/dist/index.cjs572.js.map +1 -1
- package/dist/index.cjs573.js +1 -1
- package/dist/index.cjs573.js.map +1 -1
- package/dist/index.cjs574.js +1 -1
- package/dist/index.cjs574.js.map +1 -1
- package/dist/index.cjs575.js +1 -1
- package/dist/index.cjs575.js.map +1 -1
- package/dist/index.cjs576.js +1 -1
- package/dist/index.cjs576.js.map +1 -1
- package/dist/index.cjs577.js +1 -1
- package/dist/index.cjs577.js.map +1 -1
- package/dist/index.cjs578.js +1 -1
- package/dist/index.cjs578.js.map +1 -1
- package/dist/index.cjs579.js +1 -1
- package/dist/index.cjs579.js.map +1 -1
- package/dist/index.cjs58.js +1 -1
- package/dist/index.cjs580.js +1 -1
- package/dist/index.cjs580.js.map +1 -1
- package/dist/index.cjs581.js +1 -1
- package/dist/index.cjs581.js.map +1 -1
- package/dist/index.cjs582.js +1 -1
- package/dist/index.cjs582.js.map +1 -1
- package/dist/index.cjs583.js +1 -1
- package/dist/index.cjs583.js.map +1 -1
- package/dist/index.cjs584.js +1 -1
- package/dist/index.cjs584.js.map +1 -1
- package/dist/index.cjs585.js +1 -1
- package/dist/index.cjs585.js.map +1 -1
- package/dist/index.cjs586.js +1 -1
- package/dist/index.cjs586.js.map +1 -1
- package/dist/index.cjs587.js +1 -1
- package/dist/index.cjs587.js.map +1 -1
- package/dist/index.cjs588.js +1 -1
- package/dist/index.cjs588.js.map +1 -1
- package/dist/index.cjs589.js +1 -1
- package/dist/index.cjs589.js.map +1 -1
- package/dist/index.cjs59.js +1 -1
- package/dist/index.cjs590.js +1 -1
- package/dist/index.cjs590.js.map +1 -1
- package/dist/index.cjs591.js +1 -1
- package/dist/index.cjs591.js.map +1 -1
- package/dist/index.cjs592.js +1 -1
- package/dist/index.cjs592.js.map +1 -1
- package/dist/index.cjs593.js +1 -1
- package/dist/index.cjs593.js.map +1 -1
- package/dist/index.cjs594.js +1 -1
- package/dist/index.cjs594.js.map +1 -1
- package/dist/index.cjs595.js +1 -1
- package/dist/index.cjs595.js.map +1 -1
- package/dist/index.cjs596.js +1 -1
- package/dist/index.cjs596.js.map +1 -1
- package/dist/index.cjs597.js +1 -1
- package/dist/index.cjs597.js.map +1 -1
- package/dist/index.cjs598.js +1 -1
- package/dist/index.cjs598.js.map +1 -1
- package/dist/index.cjs599.js +1 -1
- package/dist/index.cjs599.js.map +1 -1
- package/dist/index.cjs60.js +1 -1
- package/dist/index.cjs600.js +1 -1
- package/dist/index.cjs600.js.map +1 -1
- package/dist/index.cjs601.js +1 -1
- package/dist/index.cjs601.js.map +1 -1
- package/dist/index.cjs602.js +1 -1
- package/dist/index.cjs602.js.map +1 -1
- package/dist/index.cjs603.js +1 -1
- package/dist/index.cjs603.js.map +1 -1
- package/dist/index.cjs604.js +1 -1
- package/dist/index.cjs604.js.map +1 -1
- package/dist/index.cjs605.js +1 -1
- package/dist/index.cjs605.js.map +1 -1
- package/dist/index.cjs606.js +1 -1
- package/dist/index.cjs606.js.map +1 -1
- package/dist/index.cjs607.js +1 -1
- package/dist/index.cjs607.js.map +1 -1
- package/dist/index.cjs608.js +1 -1
- package/dist/index.cjs608.js.map +1 -1
- package/dist/index.cjs609.js +1 -1
- package/dist/index.cjs609.js.map +1 -1
- package/dist/index.cjs61.js +1 -1
- package/dist/index.cjs610.js +1 -1
- package/dist/index.cjs610.js.map +1 -1
- package/dist/index.cjs611.js +1 -1
- package/dist/index.cjs611.js.map +1 -1
- package/dist/index.cjs612.js +1 -1
- package/dist/index.cjs612.js.map +1 -1
- package/dist/index.cjs613.js +1 -1
- package/dist/index.cjs613.js.map +1 -1
- package/dist/index.cjs614.js +1 -1
- package/dist/index.cjs614.js.map +1 -1
- package/dist/index.cjs615.js +1 -1
- package/dist/index.cjs615.js.map +1 -1
- package/dist/index.cjs616.js +1 -1
- package/dist/index.cjs616.js.map +1 -1
- package/dist/index.cjs617.js +1 -1
- package/dist/index.cjs617.js.map +1 -1
- package/dist/index.cjs618.js +1 -1
- package/dist/index.cjs618.js.map +1 -1
- package/dist/index.cjs619.js +1 -1
- package/dist/index.cjs619.js.map +1 -1
- package/dist/index.cjs62.js +1 -1
- package/dist/index.cjs620.js +1 -1
- package/dist/index.cjs620.js.map +1 -1
- package/dist/index.cjs621.js +1 -1
- package/dist/index.cjs621.js.map +1 -1
- package/dist/index.cjs622.js +1 -1
- package/dist/index.cjs622.js.map +1 -1
- package/dist/index.cjs623.js +1 -1
- package/dist/index.cjs623.js.map +1 -1
- package/dist/index.cjs624.js +1 -1
- package/dist/index.cjs624.js.map +1 -1
- package/dist/index.cjs625.js +1 -1
- package/dist/index.cjs625.js.map +1 -1
- package/dist/index.cjs626.js +1 -1
- package/dist/index.cjs626.js.map +1 -1
- package/dist/index.cjs627.js +1 -1
- package/dist/index.cjs627.js.map +1 -1
- package/dist/index.cjs628.js +1 -1
- package/dist/index.cjs628.js.map +1 -1
- package/dist/index.cjs629.js +1 -1
- package/dist/index.cjs629.js.map +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs630.js +1 -1
- package/dist/index.cjs630.js.map +1 -1
- package/dist/index.cjs631.js +1 -1
- package/dist/index.cjs631.js.map +1 -1
- package/dist/index.cjs632.js +2 -0
- package/dist/index.cjs632.js.map +1 -0
- package/dist/index.cjs633.js +2 -0
- package/dist/index.cjs633.js.map +1 -0
- package/dist/index.cjs634.js +2 -0
- package/dist/index.cjs634.js.map +1 -0
- package/dist/index.cjs635.js +2 -0
- package/dist/index.cjs635.js.map +1 -0
- package/dist/index.cjs636.js +2 -0
- package/dist/index.cjs636.js.map +1 -0
- package/dist/index.cjs637.js +2 -0
- package/dist/index.cjs637.js.map +1 -0
- package/dist/index.cjs638.js +2 -0
- package/dist/index.cjs638.js.map +1 -0
- package/dist/index.cjs639.js +2 -0
- package/dist/index.cjs639.js.map +1 -0
- package/dist/index.cjs64.js +1 -1
- package/dist/index.cjs640.js +2 -0
- package/dist/index.cjs640.js.map +1 -0
- package/dist/index.cjs641.js +2 -0
- package/dist/index.cjs641.js.map +1 -0
- package/dist/index.cjs642.js +2 -0
- package/dist/index.cjs642.js.map +1 -0
- package/dist/index.cjs643.js +2 -0
- package/dist/index.cjs643.js.map +1 -0
- package/dist/index.cjs644.js +2 -0
- package/dist/index.cjs644.js.map +1 -0
- package/dist/index.cjs645.js +2 -0
- package/dist/index.cjs645.js.map +1 -0
- package/dist/index.cjs646.js +2 -0
- package/dist/index.cjs646.js.map +1 -0
- package/dist/index.cjs647.js +2 -0
- package/dist/index.cjs647.js.map +1 -0
- package/dist/index.cjs648.js +2 -0
- package/dist/index.cjs648.js.map +1 -0
- package/dist/index.cjs649.js +2 -0
- package/dist/index.cjs649.js.map +1 -0
- package/dist/index.cjs65.js +1 -1
- package/dist/index.cjs71.js +1 -1
- package/dist/index.cjs71.js.map +1 -1
- package/dist/index.cjs75.js +1 -1
- package/dist/index.cjs75.js.map +1 -1
- package/dist/index.cjs77.js +1 -1
- package/dist/index.cjs77.js.map +1 -1
- package/dist/index.cjs78.js +1 -1
- package/dist/index.cjs79.js +1 -1
- package/dist/index.cjs81.js +1 -1
- package/dist/index.cjs82.js +1 -1
- package/dist/index.cjs85.js +1 -1
- package/dist/index.cjs87.js +1 -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.cjs90.js +1 -1
- package/dist/index.cjs92.js +1 -1
- package/dist/index.cjs92.js.map +1 -1
- package/dist/index.cjs93.js +1 -41
- 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 +7 -2
- package/dist/index.es100.js.map +1 -1
- package/dist/index.es101.js +7395 -3
- package/dist/index.es101.js.map +1 -1
- package/dist/index.es102.js +2 -13
- package/dist/index.es102.js.map +1 -1
- package/dist/index.es103.js +2264 -3
- package/dist/index.es103.js.map +1 -1
- package/dist/index.es104.js +3 -8
- package/dist/index.es104.js.map +1 -1
- package/dist/index.es105.js +2 -13
- package/dist/index.es105.js.map +1 -1
- package/dist/index.es106.js +2 -5
- package/dist/index.es106.js.map +1 -1
- package/dist/index.es107.js +17 -15
- package/dist/index.es107.js.map +1 -1
- package/dist/index.es108.js +23 -12
- package/dist/index.es108.js.map +1 -1
- package/dist/index.es109.js +2 -6
- package/dist/index.es109.js.map +1 -1
- package/dist/index.es110.js +2 -6
- package/dist/index.es110.js.map +1 -1
- package/dist/index.es111.js +2 -15
- package/dist/index.es111.js.map +1 -1
- package/dist/index.es112.js +3 -34
- package/dist/index.es112.js.map +1 -1
- package/dist/index.es113.js +3 -2
- package/dist/index.es113.js.map +1 -1
- package/dist/index.es114.js +17 -2264
- package/dist/index.es114.js.map +1 -1
- package/dist/index.es115.js +2 -4
- package/dist/index.es115.js.map +1 -1
- package/dist/index.es116.js +3 -2
- package/dist/index.es116.js.map +1 -1
- package/dist/index.es117.js +2 -2
- package/dist/index.es118.js +5 -17
- package/dist/index.es118.js.map +1 -1
- package/dist/index.es119.js +14 -22
- package/dist/index.es119.js.map +1 -1
- package/dist/index.es120.js +3 -2
- package/dist/index.es120.js.map +1 -1
- package/dist/index.es121.js +273 -2
- package/dist/index.es121.js.map +1 -1
- package/dist/index.es122.js +15 -273
- package/dist/index.es122.js.map +1 -1
- package/dist/index.es123.js +18 -14
- package/dist/index.es123.js.map +1 -1
- package/dist/index.es124.js +4 -18
- package/dist/index.es124.js.map +1 -1
- package/dist/index.es125.js +3 -4
- package/dist/index.es125.js.map +1 -1
- package/dist/index.es126.js +3 -3
- package/dist/index.es126.js.map +1 -1
- package/dist/index.es127.js +4 -3
- package/dist/index.es127.js.map +1 -1
- package/dist/index.es128.js +3 -4
- package/dist/index.es128.js.map +1 -1
- package/dist/index.es129.js +3 -4
- package/dist/index.es129.js.map +1 -1
- package/dist/index.es130.js +3 -3
- package/dist/index.es130.js.map +1 -1
- package/dist/index.es131.js +3 -3
- package/dist/index.es131.js.map +1 -1
- package/dist/index.es132.js +3 -3
- package/dist/index.es132.js.map +1 -1
- package/dist/index.es133.js +3 -3
- package/dist/index.es133.js.map +1 -1
- package/dist/index.es134.js +3 -3
- package/dist/index.es134.js.map +1 -1
- package/dist/index.es135.js +3 -3
- package/dist/index.es135.js.map +1 -1
- package/dist/index.es136.js +10 -3
- package/dist/index.es136.js.map +1 -1
- package/dist/index.es137.js +4 -10
- package/dist/index.es137.js.map +1 -1
- package/dist/index.es138.js +6 -4
- package/dist/index.es138.js.map +1 -1
- package/dist/index.es139.js +5 -5
- package/dist/index.es139.js.map +1 -1
- package/dist/index.es140.js +9 -5
- package/dist/index.es140.js.map +1 -1
- package/dist/index.es141.js +11 -9
- package/dist/index.es141.js.map +1 -1
- package/dist/index.es142.js +12 -11
- package/dist/index.es142.js.map +1 -1
- package/dist/index.es143.js +83 -10
- package/dist/index.es143.js.map +1 -1
- package/dist/index.es144.js +3 -86
- package/dist/index.es144.js.map +1 -1
- package/dist/index.es145.js +15 -3
- package/dist/index.es145.js.map +1 -1
- package/dist/index.es146.js +9 -12
- package/dist/index.es146.js.map +1 -1
- package/dist/index.es147.js +5 -10
- package/dist/index.es147.js.map +1 -1
- package/dist/index.es148.js +6 -6
- package/dist/index.es148.js.map +1 -1
- package/dist/index.es149.js +6 -6
- package/dist/index.es149.js.map +1 -1
- package/dist/index.es150.js +7 -6
- package/dist/index.es150.js.map +1 -1
- package/dist/index.es151.js +4 -8
- package/dist/index.es151.js.map +1 -1
- package/dist/index.es152.js +2 -2
- package/dist/index.es152.js.map +1 -1
- package/dist/index.es153.js +2 -2
- package/dist/index.es153.js.map +1 -1
- package/dist/index.es154.js +7 -4
- package/dist/index.es154.js.map +1 -1
- package/dist/index.es155.js +6 -6
- package/dist/index.es155.js.map +1 -1
- package/dist/index.es156.js +3 -6
- package/dist/index.es156.js.map +1 -1
- package/dist/index.es157.js +7 -3
- package/dist/index.es157.js.map +1 -1
- package/dist/index.es158.js +12 -7
- package/dist/index.es158.js.map +1 -1
- package/dist/index.es159.js +9 -11
- package/dist/index.es159.js.map +1 -1
- package/dist/index.es160.js +3 -10
- package/dist/index.es160.js.map +1 -1
- package/dist/index.es161.js +5 -3
- package/dist/index.es161.js.map +1 -1
- package/dist/index.es162.js +2 -5
- package/dist/index.es162.js.map +1 -1
- package/dist/index.es163.js +7 -2
- package/dist/index.es163.js.map +1 -1
- package/dist/index.es164.js +4 -4
- package/dist/index.es164.js.map +1 -1
- package/dist/index.es165.js +6 -6
- package/dist/index.es165.js.map +1 -1
- package/dist/index.es166.js +8 -7
- package/dist/index.es166.js.map +1 -1
- package/dist/index.es167.js +3 -8
- package/dist/index.es167.js.map +1 -1
- package/dist/index.es168.js +4 -4
- package/dist/index.es168.js.map +1 -1
- package/dist/index.es169.js +58 -4
- package/dist/index.es169.js.map +1 -1
- package/dist/index.es170.js +12 -56
- package/dist/index.es170.js.map +1 -1
- package/dist/index.es171.js +5 -13
- 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 +8 -5
- package/dist/index.es173.js.map +1 -1
- package/dist/index.es174.js +15 -7
- package/dist/index.es174.js.map +1 -1
- package/dist/index.es175.js +13 -16
- package/dist/index.es175.js.map +1 -1
- package/dist/index.es176.js +4 -13
- package/dist/index.es176.js.map +1 -1
- package/dist/index.es177.js +5 -4
- package/dist/index.es177.js.map +1 -1
- package/dist/index.es178.js +5 -2
- package/dist/index.es178.js.map +1 -1
- package/dist/index.es179.js +4 -6
- package/dist/index.es179.js.map +1 -1
- package/dist/index.es180.js +4 -4
- package/dist/index.es180.js.map +1 -1
- package/dist/index.es181.js +8 -6
- package/dist/index.es181.js.map +1 -1
- package/dist/index.es182.js +3 -9
- package/dist/index.es182.js.map +1 -1
- package/dist/index.es183.js +3 -3
- package/dist/index.es183.js.map +1 -1
- package/dist/index.es184.js +11 -3
- package/dist/index.es184.js.map +1 -1
- package/dist/index.es185.js +5 -11
- package/dist/index.es185.js.map +1 -1
- package/dist/index.es186.js +4 -5
- package/dist/index.es186.js.map +1 -1
- package/dist/index.es187.js +9 -4
- package/dist/index.es187.js.map +1 -1
- package/dist/index.es188.js +5 -8
- package/dist/index.es188.js.map +1 -1
- package/dist/index.es189.js +16 -5
- package/dist/index.es189.js.map +1 -1
- package/dist/index.es190.js +10 -15
- package/dist/index.es190.js.map +1 -1
- package/dist/index.es191.js +3 -12
- package/dist/index.es191.js.map +1 -1
- package/dist/index.es192.js +3 -3
- package/dist/index.es192.js.map +1 -1
- package/dist/index.es193.js +9 -3
- package/dist/index.es193.js.map +1 -1
- package/dist/index.es194.js +6 -8
- package/dist/index.es194.js.map +1 -1
- package/dist/index.es195.js +12 -6
- package/dist/index.es195.js.map +1 -1
- package/dist/index.es196.js +11 -11
- package/dist/index.es196.js.map +1 -1
- package/dist/index.es197.js +6 -12
- package/dist/index.es197.js.map +1 -1
- package/dist/index.es198.js +5 -6
- package/dist/index.es198.js.map +1 -1
- package/dist/index.es199.js +5 -5
- package/dist/index.es199.js.map +1 -1
- package/dist/index.es200.js +16 -5
- package/dist/index.es200.js.map +1 -1
- package/dist/index.es201.js +12 -12
- package/dist/index.es201.js.map +1 -1
- package/dist/index.es202.js +4 -16
- package/dist/index.es202.js.map +1 -1
- package/dist/index.es203.js +16 -4
- package/dist/index.es203.js.map +1 -1
- package/dist/index.es204.js +22 -16
- package/dist/index.es204.js.map +1 -1
- package/dist/index.es205.js +6 -23
- package/dist/index.es205.js.map +1 -1
- package/dist/index.es206.js +4 -5
- package/dist/index.es206.js.map +1 -1
- package/dist/index.es207.js +5 -4
- package/dist/index.es207.js.map +1 -1
- package/dist/index.es208.js +5 -6
- package/dist/index.es208.js.map +1 -1
- package/dist/index.es209.js +12 -5
- package/dist/index.es209.js.map +1 -1
- package/dist/index.es210.js +5 -11
- package/dist/index.es210.js.map +1 -1
- package/dist/index.es211.js +4 -5
- package/dist/index.es211.js.map +1 -1
- package/dist/index.es212.js +4 -4
- package/dist/index.es212.js.map +1 -1
- package/dist/index.es213.js +4 -4
- package/dist/index.es213.js.map +1 -1
- package/dist/index.es214.js +4 -4
- package/dist/index.es214.js.map +1 -1
- package/dist/index.es215.js +4 -4
- package/dist/index.es215.js.map +1 -1
- package/dist/index.es216.js +4 -4
- package/dist/index.es216.js.map +1 -1
- package/dist/index.es217.js +12 -4
- package/dist/index.es217.js.map +1 -1
- package/dist/index.es218.js +13 -11
- package/dist/index.es218.js.map +1 -1
- package/dist/index.es219.js +8 -14
- package/dist/index.es219.js.map +1 -1
- package/dist/index.es220.js +6 -8
- package/dist/index.es220.js.map +1 -1
- package/dist/index.es221.js +5 -5
- package/dist/index.es221.js.map +1 -1
- package/dist/index.es222.js +8 -6
- package/dist/index.es222.js.map +1 -1
- package/dist/index.es223.js +222 -7
- package/dist/index.es223.js.map +1 -1
- package/dist/index.es224.js +6 -3
- package/dist/index.es224.js.map +1 -1
- package/dist/index.es225.js +135 -2
- package/dist/index.es225.js.map +1 -1
- package/dist/index.es226.js +69 -16
- package/dist/index.es226.js.map +1 -1
- package/dist/index.es227.js +85 -18
- package/dist/index.es227.js.map +1 -1
- package/dist/index.es228.js +30 -3
- package/dist/index.es228.js.map +1 -1
- package/dist/index.es229.js +9 -3
- package/dist/index.es229.js.map +1 -1
- package/dist/index.es230.js +77 -2
- package/dist/index.es230.js.map +1 -1
- package/dist/index.es231.js +4 -3
- package/dist/index.es231.js.map +1 -1
- package/dist/index.es232.js +2 -4
- package/dist/index.es232.js.map +1 -1
- package/dist/index.es233.js +84 -2
- package/dist/index.es233.js.map +1 -1
- package/dist/index.es234.js +50 -109
- package/dist/index.es234.js.map +1 -1
- package/dist/index.es235.js +5 -7
- package/dist/index.es235.js.map +1 -1
- package/dist/index.es236.js +4 -76
- package/dist/index.es236.js.map +1 -1
- package/dist/index.es237.js +176 -61
- package/dist/index.es237.js.map +1 -1
- package/dist/index.es238.js +45 -62
- package/dist/index.es238.js.map +1 -1
- package/dist/index.es239.js +70 -13
- package/dist/index.es239.js.map +1 -1
- package/dist/index.es240.js +7 -57
- package/dist/index.es240.js.map +1 -1
- package/dist/index.es241.js +2 -7
- package/dist/index.es241.js.map +1 -1
- package/dist/index.es242.js +2 -7
- package/dist/index.es242.js.map +1 -1
- package/dist/index.es243.js +3 -9
- package/dist/index.es243.js.map +1 -1
- package/dist/index.es244.js +3 -12
- package/dist/index.es244.js.map +1 -1
- package/dist/index.es245.js +2 -7
- package/dist/index.es245.js.map +1 -1
- package/dist/index.es246.js +3 -8
- package/dist/index.es246.js.map +1 -1
- package/dist/index.es247.js +3 -2
- package/dist/index.es247.js.map +1 -1
- package/dist/index.es249.js +17 -10
- package/dist/index.es249.js.map +1 -1
- package/dist/index.es250.js +21 -7
- package/dist/index.es250.js.map +1 -1
- package/dist/index.es251.js +4 -6
- package/dist/index.es251.js.map +1 -1
- package/dist/index.es252.js +7 -31
- package/dist/index.es252.js.map +1 -1
- package/dist/index.es253.js +7 -4
- package/dist/index.es253.js.map +1 -1
- package/dist/index.es254.js +4 -27
- package/dist/index.es254.js.map +1 -1
- package/dist/index.es255.js +4 -23
- package/dist/index.es255.js.map +1 -1
- package/dist/index.es256.js +3 -44
- package/dist/index.es256.js.map +1 -1
- package/dist/index.es257.js +3 -43
- package/dist/index.es257.js.map +1 -1
- package/dist/index.es258.js +9 -7
- package/dist/index.es258.js.map +1 -1
- package/dist/index.es259.js +22 -22
- package/dist/index.es259.js.map +1 -1
- package/dist/index.es260.js +22 -6
- package/dist/index.es260.js.map +1 -1
- package/dist/index.es261.js +12 -72
- package/dist/index.es261.js.map +1 -1
- package/dist/index.es262.js +17 -3
- package/dist/index.es262.js.map +1 -1
- package/dist/index.es263.js +6 -4
- package/dist/index.es263.js.map +1 -1
- package/dist/index.es264.js +10 -27
- package/dist/index.es264.js.map +1 -1
- package/dist/index.es265.js +9 -25
- package/dist/index.es265.js.map +1 -1
- package/dist/index.es266.js +23 -10
- package/dist/index.es266.js.map +1 -1
- package/dist/index.es267.js +12 -26
- package/dist/index.es267.js.map +1 -1
- package/dist/index.es268.js +9 -3
- package/dist/index.es268.js.map +1 -1
- package/dist/index.es269.js +4 -3
- package/dist/index.es269.js.map +1 -1
- package/dist/index.es270.js +11 -2
- package/dist/index.es270.js.map +1 -1
- package/dist/index.es271.js +9 -3
- package/dist/index.es271.js.map +1 -1
- package/dist/index.es272.js +23 -3
- package/dist/index.es272.js.map +1 -1
- package/dist/index.es273.js +12 -2
- package/dist/index.es273.js.map +1 -1
- package/dist/index.es274.js +19 -3
- package/dist/index.es274.js.map +1 -1
- package/dist/index.es275.js +6 -6
- package/dist/index.es275.js.map +1 -1
- package/dist/index.es276.js +18 -3
- package/dist/index.es276.js.map +1 -1
- package/dist/index.es277.js +12 -3
- package/dist/index.es277.js.map +1 -1
- package/dist/index.es278.js +3 -7
- package/dist/index.es278.js.map +1 -1
- package/dist/index.es279.js +4 -4
- package/dist/index.es279.js.map +1 -1
- package/dist/index.es280.js +9 -3
- package/dist/index.es280.js.map +1 -1
- package/dist/index.es281.js +7 -3
- package/dist/index.es281.js.map +1 -1
- package/dist/index.es282.js +6 -3
- package/dist/index.es282.js.map +1 -1
- package/dist/index.es283.js +30 -8
- package/dist/index.es283.js.map +1 -1
- package/dist/index.es284.js +4 -21
- package/dist/index.es284.js.map +1 -1
- package/dist/index.es285.js +19 -20
- package/dist/index.es285.js.map +1 -1
- package/dist/index.es286.js +55 -13
- package/dist/index.es286.js.map +1 -1
- package/dist/index.es287.js +27 -15
- package/dist/index.es287.js.map +1 -1
- package/dist/index.es288.js +6 -5
- package/dist/index.es288.js.map +1 -1
- package/dist/index.es289.js +50 -7
- package/dist/index.es289.js.map +1 -1
- package/dist/index.es290.js +6 -7
- package/dist/index.es290.js.map +1 -1
- package/dist/index.es291.js +10 -21
- package/dist/index.es291.js.map +1 -1
- package/dist/index.es292.js +7 -10
- package/dist/index.es292.js.map +1 -1
- package/dist/index.es293.js +27 -8
- package/dist/index.es293.js.map +1 -1
- package/dist/index.es294.js +2 -4
- package/dist/index.es294.js.map +1 -1
- package/dist/index.es295.js +69 -11
- package/dist/index.es295.js.map +1 -1
- package/dist/index.es296.js +139 -9
- package/dist/index.es296.js.map +1 -1
- package/dist/index.es297.js +2 -23
- package/dist/index.es297.js.map +1 -1
- package/dist/index.es298.js +3 -12
- package/dist/index.es298.js.map +1 -1
- package/dist/index.es299.js +3 -19
- package/dist/index.es299.js.map +1 -1
- package/dist/index.es300.js +2 -4
- package/dist/index.es300.js.map +1 -1
- package/dist/index.es301.js +3 -18
- package/dist/index.es301.js.map +1 -1
- package/dist/index.es302.js +3 -12
- package/dist/index.es302.js.map +1 -1
- package/dist/index.es303.js +3 -4
- package/dist/index.es303.js.map +1 -1
- package/dist/index.es304.js +3 -5
- package/dist/index.es304.js.map +1 -1
- package/dist/index.es305.js +3 -14
- package/dist/index.es305.js.map +1 -1
- package/dist/index.es306.js +4 -18
- package/dist/index.es306.js.map +1 -1
- package/dist/index.es307.js +27 -40
- package/dist/index.es307.js.map +1 -1
- package/dist/index.es308.js +24 -45
- package/dist/index.es308.js.map +1 -1
- package/dist/index.es309.js +10 -36
- package/dist/index.es309.js.map +1 -1
- package/dist/index.es310.js +25 -28
- package/dist/index.es310.js.map +1 -1
- package/dist/index.es311.js +6 -4
- package/dist/index.es311.js.map +1 -1
- package/dist/index.es312.js +3 -10
- package/dist/index.es312.js.map +1 -1
- package/dist/index.es313.js +3 -5
- package/dist/index.es313.js.map +1 -1
- package/dist/index.es314.js +6 -3
- package/dist/index.es314.js.map +1 -1
- package/dist/index.es315.js +8 -3
- package/dist/index.es315.js.map +1 -1
- package/dist/index.es316.js +18 -9
- package/dist/index.es316.js.map +1 -1
- package/dist/index.es317.js +39 -3
- package/dist/index.es317.js.map +1 -1
- package/dist/index.es318.js +43 -18
- package/dist/index.es318.js.map +1 -1
- package/dist/index.es319.js +34 -39
- package/dist/index.es319.js.map +1 -1
- package/dist/index.es320.js +27 -13
- package/dist/index.es320.js.map +1 -1
- package/dist/index.es321.js +2 -38
- package/dist/index.es321.js.map +1 -1
- package/dist/index.es322.js +10 -40
- package/dist/index.es322.js.map +1 -1
- package/dist/index.es323.js +5 -13
- package/dist/index.es323.js.map +1 -1
- package/dist/index.es324.js +14 -3
- package/dist/index.es324.js.map +1 -1
- package/dist/index.es325.js +1 -1
- package/dist/index.es326.js +3 -4
- package/dist/index.es326.js.map +1 -1
- package/dist/index.es327.js +14 -14
- package/dist/index.es327.js.map +1 -1
- package/dist/index.es328.js +3 -33
- package/dist/index.es328.js.map +1 -1
- package/dist/index.es329.js +3 -14
- package/dist/index.es329.js.map +1 -1
- package/dist/index.es330.js +3 -8
- package/dist/index.es330.js.map +1 -1
- package/dist/index.es331.js +3 -2
- package/dist/index.es331.js.map +1 -1
- package/dist/index.es332.js +3 -11
- package/dist/index.es332.js.map +1 -1
- package/dist/index.es333.js +14 -5
- package/dist/index.es333.js.map +1 -1
- package/dist/index.es334.js +33 -3
- package/dist/index.es334.js.map +1 -1
- package/dist/index.es335.js +14 -3
- package/dist/index.es335.js.map +1 -1
- package/dist/index.es336.js +8 -8
- package/dist/index.es336.js.map +1 -1
- package/dist/index.es337.js +2 -6
- package/dist/index.es337.js.map +1 -1
- package/dist/index.es338.js +3 -20
- package/dist/index.es338.js.map +1 -1
- package/dist/index.es339.js +30 -6
- package/dist/index.es339.js.map +1 -1
- package/dist/index.es340.js +10 -5
- package/dist/index.es340.js.map +1 -1
- package/dist/index.es341.js +3 -4
- package/dist/index.es341.js.map +1 -1
- package/dist/index.es342.js +3 -4
- package/dist/index.es342.js.map +1 -1
- package/dist/index.es343.js +13 -16
- package/dist/index.es343.js.map +1 -1
- package/dist/index.es344.js +7 -13
- package/dist/index.es344.js.map +1 -1
- package/dist/index.es345.js +11 -7
- package/dist/index.es345.js.map +1 -1
- package/dist/index.es346.js +4 -4
- package/dist/index.es346.js.map +1 -1
- package/dist/index.es347.js +33 -3
- package/dist/index.es347.js.map +1 -1
- package/dist/index.es348.js +31 -3
- package/dist/index.es348.js.map +1 -1
- package/dist/index.es349.js +28 -5
- package/dist/index.es349.js.map +1 -1
- package/dist/index.es350.js +61 -8
- package/dist/index.es350.js.map +1 -1
- package/dist/index.es351.js +19 -7
- package/dist/index.es351.js.map +1 -1
- package/dist/index.es352.js +6 -8
- package/dist/index.es352.js.map +1 -1
- package/dist/index.es353.js +6 -4
- package/dist/index.es353.js.map +1 -1
- package/dist/index.es354.js +5 -4
- package/dist/index.es354.js.map +1 -1
- package/dist/index.es355.js +5 -4
- package/dist/index.es355.js.map +1 -1
- package/dist/index.es356.js +16 -4
- package/dist/index.es356.js.map +1 -1
- package/dist/index.es357.js +13 -4
- package/dist/index.es357.js.map +1 -1
- package/dist/index.es358.js +7 -8
- package/dist/index.es358.js.map +1 -1
- package/dist/index.es359.js +4 -15
- package/dist/index.es359.js.map +1 -1
- package/dist/index.es360.js +3 -2
- package/dist/index.es360.js.map +1 -1
- package/dist/index.es361.js +3 -3
- package/dist/index.es361.js.map +1 -1
- package/dist/index.es362.js +4 -4
- package/dist/index.es362.js.map +1 -1
- package/dist/index.es363.js +7 -10
- package/dist/index.es363.js.map +1 -1
- package/dist/index.es364.js +7 -6
- package/dist/index.es364.js.map +1 -1
- package/dist/index.es365.js +9 -15
- package/dist/index.es365.js.map +1 -1
- package/dist/index.es366.js +4 -8
- package/dist/index.es366.js.map +1 -1
- package/dist/index.es367.js +4 -3
- package/dist/index.es367.js.map +1 -1
- package/dist/index.es368.js +4 -7
- package/dist/index.es368.js.map +1 -1
- package/dist/index.es369.js +4 -7
- package/dist/index.es369.js.map +1 -1
- package/dist/index.es370.js +4 -7
- package/dist/index.es370.js.map +1 -1
- package/dist/index.es371.js +9 -3
- package/dist/index.es371.js.map +1 -1
- package/dist/index.es372.js +16 -5
- package/dist/index.es372.js.map +1 -1
- package/dist/index.es373.js +2 -8
- package/dist/index.es373.js.map +1 -1
- package/dist/index.es374.js +3 -45
- package/dist/index.es374.js.map +1 -1
- package/dist/index.es375.js +5 -8
- package/dist/index.es375.js.map +1 -1
- package/dist/index.es376.js +11 -9
- package/dist/index.es376.js.map +1 -1
- package/dist/index.es377.js +7 -12
- package/dist/index.es377.js.map +1 -1
- package/dist/index.es378.js +15 -5
- package/dist/index.es378.js.map +1 -1
- package/dist/index.es379.js +8 -6
- package/dist/index.es379.js.map +1 -1
- package/dist/index.es38.js +2 -2
- package/dist/index.es380.js +7 -6
- package/dist/index.es380.js.map +1 -1
- package/dist/index.es381.js +6 -23
- package/dist/index.es381.js.map +1 -1
- package/dist/index.es382.js +6 -11
- package/dist/index.es382.js.map +1 -1
- package/dist/index.es383.js +3 -4
- package/dist/index.es383.js.map +1 -1
- package/dist/index.es384.js +3 -11
- package/dist/index.es384.js.map +1 -1
- package/dist/index.es385.js +6 -12
- package/dist/index.es385.js.map +1 -1
- package/dist/index.es386.js +6 -8
- package/dist/index.es386.js.map +1 -1
- package/dist/index.es387.js +3 -4
- package/dist/index.es387.js.map +1 -1
- package/dist/index.es388.js +3 -18
- package/dist/index.es388.js.map +1 -1
- package/dist/index.es389.js +3 -8
- package/dist/index.es389.js.map +1 -1
- package/dist/index.es390.js +3 -9
- package/dist/index.es390.js.map +1 -1
- package/dist/index.es391.js +3 -7
- package/dist/index.es391.js.map +1 -1
- package/dist/index.es392.js +5 -6
- package/dist/index.es392.js.map +1 -1
- package/dist/index.es393.js +7 -6
- package/dist/index.es393.js.map +1 -1
- package/dist/index.es394.js +10 -3
- package/dist/index.es394.js.map +1 -1
- package/dist/index.es395.js +11 -3
- package/dist/index.es395.js.map +1 -1
- package/dist/index.es396.js +47 -6
- package/dist/index.es396.js.map +1 -1
- package/dist/index.es397.js +9 -5
- package/dist/index.es397.js.map +1 -1
- package/dist/index.es398.js +18 -3
- package/dist/index.es398.js.map +1 -1
- package/dist/index.es399.js +8 -3
- package/dist/index.es399.js.map +1 -1
- package/dist/index.es40.js +1 -1
- package/dist/index.es400.js +10 -3
- package/dist/index.es400.js.map +1 -1
- package/dist/index.es401.js +12 -4
- package/dist/index.es401.js.map +1 -1
- package/dist/index.es402.js +5 -3
- package/dist/index.es402.js.map +1 -1
- package/dist/index.es403.js +7 -5
- package/dist/index.es403.js.map +1 -1
- package/dist/index.es404.js +6 -11
- package/dist/index.es404.js.map +1 -1
- package/dist/index.es405.js +21 -8
- package/dist/index.es405.js.map +1 -1
- package/dist/index.es406.js +9 -7
- package/dist/index.es406.js.map +1 -1
- package/dist/index.es407.js +2 -8
- package/dist/index.es407.js.map +1 -1
- package/dist/index.es408.js +9 -20
- package/dist/index.es408.js.map +1 -1
- package/dist/index.es409.js +10 -9
- package/dist/index.es409.js.map +1 -1
- package/dist/index.es41.js +1 -1
- package/dist/index.es410.js +6 -8
- package/dist/index.es410.js.map +1 -1
- package/dist/index.es411.js +2 -9
- package/dist/index.es411.js.map +1 -1
- package/dist/index.es412.js +8 -5
- package/dist/index.es412.js.map +1 -1
- package/dist/index.es413.js +8 -2
- package/dist/index.es413.js.map +1 -1
- package/dist/index.es414.js +9 -3
- package/dist/index.es414.js.map +1 -1
- package/dist/index.es415.js +20 -3
- package/dist/index.es415.js.map +1 -1
- package/dist/index.es416.js +6 -4
- package/dist/index.es416.js.map +1 -1
- package/dist/index.es417.js +3 -4
- package/dist/index.es417.js.map +1 -1
- package/dist/index.es418.js +8 -4
- package/dist/index.es418.js.map +1 -1
- package/dist/index.es419.js +14 -154
- package/dist/index.es419.js.map +1 -1
- package/dist/index.es42.js +2 -2
- package/dist/index.es420.js +8 -16
- package/dist/index.es420.js.map +1 -1
- package/dist/index.es421.js +8 -15
- package/dist/index.es421.js.map +1 -1
- package/dist/index.es422.js +3 -33
- package/dist/index.es422.js.map +1 -1
- package/dist/index.es423.js +5 -15
- package/dist/index.es423.js.map +1 -1
- package/dist/index.es424.js +2 -3
- package/dist/index.es424.js.map +1 -1
- package/dist/index.es425.js +8 -11
- package/dist/index.es425.js.map +1 -1
- package/dist/index.es426.js +4 -13
- package/dist/index.es426.js.map +1 -1
- package/dist/index.es427.js +10 -5
- package/dist/index.es427.js.map +1 -1
- package/dist/index.es428.js +8 -2
- package/dist/index.es428.js.map +1 -1
- package/dist/index.es429.js +9 -8
- package/dist/index.es429.js.map +1 -1
- package/dist/index.es430.js +8 -4
- package/dist/index.es430.js.map +1 -1
- package/dist/index.es431.js +6 -7
- package/dist/index.es431.js.map +1 -1
- package/dist/index.es432.js +9 -3
- package/dist/index.es432.js.map +1 -1
- package/dist/index.es433.js +6 -3
- package/dist/index.es433.js.map +1 -1
- package/dist/index.es434.js +7 -3
- package/dist/index.es434.js.map +1 -1
- package/dist/index.es435.js +3 -12
- package/dist/index.es435.js.map +1 -1
- package/dist/index.es436.js +3 -26
- package/dist/index.es436.js.map +1 -1
- package/dist/index.es437.js +3 -15
- package/dist/index.es437.js.map +1 -1
- package/dist/index.es438.js +10 -4
- package/dist/index.es438.js.map +1 -1
- package/dist/index.es439.js +24 -7
- package/dist/index.es439.js.map +1 -1
- package/dist/index.es44.js +2 -2
- package/dist/index.es440.js +12 -4
- package/dist/index.es440.js.map +1 -1
- package/dist/index.es441.js +16 -6
- package/dist/index.es441.js.map +1 -1
- package/dist/index.es442.js +13 -7
- package/dist/index.es442.js.map +1 -1
- package/dist/index.es443.js +6 -7
- package/dist/index.es443.js.map +1 -1
- package/dist/index.es444.js +30 -9
- package/dist/index.es444.js.map +1 -1
- package/dist/index.es445.js +3 -6
- package/dist/index.es445.js.map +1 -1
- package/dist/index.es446.js +2 -7
- package/dist/index.es446.js.map +1 -1
- package/dist/index.es447.js +2 -11
- package/dist/index.es447.js.map +1 -1
- package/dist/index.es448.js +33 -4
- package/dist/index.es448.js.map +1 -1
- package/dist/index.es449.js +121 -7
- package/dist/index.es449.js.map +1 -1
- package/dist/index.es45.js +2 -2
- package/dist/index.es450.js +21 -28
- package/dist/index.es450.js.map +1 -1
- package/dist/index.es451.js +10 -4
- package/dist/index.es451.js.map +1 -1
- package/dist/index.es452.js +20 -7
- package/dist/index.es452.js.map +1 -1
- package/dist/index.es453.js +11 -15
- package/dist/index.es453.js.map +1 -1
- package/dist/index.es454.js +11 -15
- package/dist/index.es454.js.map +1 -1
- package/dist/index.es455.js +28 -14
- package/dist/index.es455.js.map +1 -1
- package/dist/index.es456.js +16 -36
- package/dist/index.es456.js.map +1 -1
- package/dist/index.es457.js +33 -5
- package/dist/index.es457.js.map +1 -1
- package/dist/index.es458.js +11 -6
- package/dist/index.es458.js.map +1 -1
- package/dist/index.es459.js +2 -5
- package/dist/index.es459.js.map +1 -1
- package/dist/index.es46.js +2 -2
- package/dist/index.es460.js +4 -10
- package/dist/index.es460.js.map +1 -1
- package/dist/index.es461.js +3 -8
- package/dist/index.es461.js.map +1 -1
- package/dist/index.es462.js +155 -8
- package/dist/index.es462.js.map +1 -1
- package/dist/index.es463.js +16 -8
- package/dist/index.es463.js.map +1 -1
- package/dist/index.es464.js +15 -7
- package/dist/index.es464.js.map +1 -1
- package/dist/index.es465.js +33 -13
- package/dist/index.es465.js.map +1 -1
- package/dist/index.es466.js +15 -12
- package/dist/index.es466.js.map +1 -1
- package/dist/index.es467.js +4 -23
- package/dist/index.es467.js.map +1 -1
- package/dist/index.es468.js +3 -3
- package/dist/index.es468.js.map +1 -1
- package/dist/index.es469.js +12 -39
- package/dist/index.es469.js.map +1 -1
- package/dist/index.es47.js +1 -1
- package/dist/index.es470.js +13 -31
- package/dist/index.es470.js.map +1 -1
- package/dist/index.es471.js +13 -4
- package/dist/index.es471.js.map +1 -1
- package/dist/index.es472.js +35 -32
- package/dist/index.es472.js.map +1 -1
- package/dist/index.es473.js +9 -122
- package/dist/index.es473.js.map +1 -1
- package/dist/index.es474.js +8 -23
- package/dist/index.es474.js.map +1 -1
- package/dist/index.es475.js +9 -10
- package/dist/index.es475.js.map +1 -1
- package/dist/index.es476.js +7 -20
- package/dist/index.es476.js.map +1 -1
- package/dist/index.es477.js +12 -11
- package/dist/index.es477.js.map +1 -1
- package/dist/index.es478.js +8 -11
- package/dist/index.es478.js.map +1 -1
- package/dist/index.es479.js +9 -28
- package/dist/index.es479.js.map +1 -1
- package/dist/index.es48.js +1 -1
- package/dist/index.es480.js +9 -16
- package/dist/index.es480.js.map +1 -1
- package/dist/index.es481.js +5 -33
- package/dist/index.es481.js.map +1 -1
- package/dist/index.es482.js +4 -11
- package/dist/index.es482.js.map +1 -1
- package/dist/index.es483.js +12 -2
- package/dist/index.es483.js.map +1 -1
- package/dist/index.es484.js +10 -13
- package/dist/index.es484.js.map +1 -1
- package/dist/index.es485.js +23 -8
- package/dist/index.es485.js.map +1 -1
- package/dist/index.es486.js +3 -7
- package/dist/index.es486.js.map +1 -1
- package/dist/index.es487.js +39 -6
- package/dist/index.es487.js.map +1 -1
- package/dist/index.es488.js +32 -8
- package/dist/index.es488.js.map +1 -1
- package/dist/index.es489.js +5 -10
- package/dist/index.es489.js.map +1 -1
- package/dist/index.es49.js +2 -2
- package/dist/index.es490.js +7 -7
- package/dist/index.es490.js.map +1 -1
- package/dist/index.es491.js +7 -9
- package/dist/index.es491.js.map +1 -1
- package/dist/index.es492.js +7 -5
- package/dist/index.es492.js.map +1 -1
- package/dist/index.es493.js +6 -19
- package/dist/index.es493.js.map +1 -1
- package/dist/index.es494.js +7 -13
- package/dist/index.es494.js.map +1 -1
- package/dist/index.es495.js +11 -8
- package/dist/index.es495.js.map +1 -1
- package/dist/index.es496.js +4 -11
- package/dist/index.es496.js.map +1 -1
- package/dist/index.es497.js +7 -9
- package/dist/index.es497.js.map +1 -1
- package/dist/index.es498.js +28 -15
- package/dist/index.es498.js.map +1 -1
- package/dist/index.es499.js +2 -5
- package/dist/index.es499.js.map +1 -1
- package/dist/index.es5.js +2988 -2360
- package/dist/index.es5.js.map +1 -1
- package/dist/index.es50.js +2 -2
- package/dist/index.es500.js +5 -5
- package/dist/index.es500.js.map +1 -1
- package/dist/index.es501.js +15 -23
- package/dist/index.es501.js.map +1 -1
- package/dist/index.es502.js +5 -14
- package/dist/index.es502.js.map +1 -1
- package/dist/index.es503.js +10 -11
- package/dist/index.es503.js.map +1 -1
- package/dist/index.es504.js +14 -5
- package/dist/index.es504.js.map +1 -1
- package/dist/index.es505.js +11 -2
- package/dist/index.es505.js.map +1 -1
- package/dist/index.es506.js +15 -12
- package/dist/index.es506.js.map +1 -1
- package/dist/index.es507.js +8 -9
- package/dist/index.es507.js.map +1 -1
- package/dist/index.es508.js +7 -7
- package/dist/index.es508.js.map +1 -1
- package/dist/index.es509.js +7 -18
- package/dist/index.es509.js.map +1 -1
- package/dist/index.es510.js +8 -6
- package/dist/index.es510.js.map +1 -1
- package/dist/index.es511.js +4 -10
- package/dist/index.es511.js.map +1 -1
- package/dist/index.es512.js +5 -6
- package/dist/index.es512.js.map +1 -1
- package/dist/index.es513.js +2 -7
- package/dist/index.es513.js.map +1 -1
- package/dist/index.es514.js +23 -9
- package/dist/index.es514.js.map +1 -1
- package/dist/index.es515.js +7 -7
- package/dist/index.es515.js.map +1 -1
- package/dist/index.es516.js +9 -12
- package/dist/index.es516.js.map +1 -1
- package/dist/index.es517.js +5 -16
- package/dist/index.es517.js.map +1 -1
- package/dist/index.es518.js +19 -10
- package/dist/index.es518.js.map +1 -1
- package/dist/index.es519.js +13 -2
- package/dist/index.es519.js.map +1 -1
- package/dist/index.es52.js +2 -2
- package/dist/index.es520.js +8 -3
- package/dist/index.es520.js.map +1 -1
- package/dist/index.es521.js +49 -2
- package/dist/index.es521.js.map +1 -1
- package/dist/index.es522.js +54 -4
- package/dist/index.es522.js.map +1 -1
- package/dist/index.es523.js +3 -9
- package/dist/index.es523.js.map +1 -1
- package/dist/index.es524.js +9 -7
- package/dist/index.es524.js.map +1 -1
- package/dist/index.es525.js +10 -6
- package/dist/index.es525.js.map +1 -1
- package/dist/index.es526.js +17 -4
- package/dist/index.es526.js.map +1 -1
- package/dist/index.es527.js +7 -9
- package/dist/index.es527.js.map +1 -1
- package/dist/index.es528.js +7 -3
- package/dist/index.es528.js.map +1 -1
- package/dist/index.es529.js +5 -6
- package/dist/index.es529.js.map +1 -1
- package/dist/index.es53.js +2 -2
- package/dist/index.es530.js +9 -16
- package/dist/index.es530.js.map +1 -1
- package/dist/index.es531.js +4 -7
- package/dist/index.es531.js.map +1 -1
- package/dist/index.es532.js +2 -4
- package/dist/index.es532.js.map +1 -1
- package/dist/index.es533.js +7 -9
- package/dist/index.es533.js.map +1 -1
- package/dist/index.es534.js +12 -6
- package/dist/index.es534.js.map +1 -1
- package/dist/index.es535.js +5 -2
- package/dist/index.es535.js.map +1 -1
- package/dist/index.es536.js +6 -7
- package/dist/index.es536.js.map +1 -1
- package/dist/index.es537.js +5 -48
- package/dist/index.es537.js.map +1 -1
- package/dist/index.es538.js +7 -55
- package/dist/index.es538.js.map +1 -1
- package/dist/index.es539.js +8 -3
- package/dist/index.es539.js.map +1 -1
- package/dist/index.es54.js +2 -2
- package/dist/index.es540.js +7 -5
- package/dist/index.es540.js.map +1 -1
- package/dist/index.es541.js +11 -5
- package/dist/index.es541.js.map +1 -1
- package/dist/index.es542.js +16 -20
- package/dist/index.es542.js.map +1 -1
- package/dist/index.es543.js +10 -8
- package/dist/index.es543.js.map +1 -1
- package/dist/index.es544.js +2 -9
- package/dist/index.es544.js.map +1 -1
- package/dist/index.es545.js +3 -11
- package/dist/index.es545.js.map +1 -1
- package/dist/index.es546.js +5 -17
- package/dist/index.es546.js.map +1 -1
- package/dist/index.es547.js +2 -7
- package/dist/index.es547.js.map +1 -1
- package/dist/index.es548.js +5 -7
- package/dist/index.es548.js.map +1 -1
- package/dist/index.es549.js +10 -8
- package/dist/index.es549.js.map +1 -1
- package/dist/index.es55.js +1 -1
- package/dist/index.es550.js +7 -7
- package/dist/index.es550.js.map +1 -1
- package/dist/index.es551.js +5 -7
- package/dist/index.es551.js.map +1 -1
- package/dist/index.es552.js +9 -3
- package/dist/index.es552.js.map +1 -1
- package/dist/index.es553.js +3 -11
- package/dist/index.es553.js.map +1 -1
- package/dist/index.es554.js +5 -24
- package/dist/index.es554.js.map +1 -1
- package/dist/index.es555.js +15 -9
- package/dist/index.es555.js.map +1 -1
- package/dist/index.es556.js +7 -10
- package/dist/index.es556.js.map +1 -1
- package/dist/index.es557.js +4 -6
- package/dist/index.es557.js.map +1 -1
- package/dist/index.es558.js +9 -6
- package/dist/index.es558.js.map +1 -1
- package/dist/index.es559.js +6 -7
- package/dist/index.es559.js.map +1 -1
- package/dist/index.es560.js +16 -15
- package/dist/index.es560.js.map +1 -1
- package/dist/index.es561.js +10 -3
- package/dist/index.es561.js.map +1 -1
- package/dist/index.es562.js +11 -5
- package/dist/index.es562.js.map +1 -1
- package/dist/index.es563.js +10 -6
- package/dist/index.es563.js.map +1 -1
- package/dist/index.es564.js +6 -11
- package/dist/index.es564.js.map +1 -1
- package/dist/index.es565.js +2 -60
- package/dist/index.es565.js.map +1 -1
- package/dist/index.es566.js +4 -2
- package/dist/index.es566.js.map +1 -1
- package/dist/index.es567.js +34 -4
- package/dist/index.es567.js.map +1 -1
- package/dist/index.es568.js +3 -4
- package/dist/index.es568.js.map +1 -1
- package/dist/index.es569.js +3 -5
- package/dist/index.es569.js.map +1 -1
- package/dist/index.es57.js +1 -1
- package/dist/index.es570.js +3 -5
- package/dist/index.es570.js.map +1 -1
- package/dist/index.es571.js +3 -28
- package/dist/index.es571.js.map +1 -1
- package/dist/index.es572.js +3 -5
- package/dist/index.es572.js.map +1 -1
- package/dist/index.es573.js +3 -34
- package/dist/index.es573.js.map +1 -1
- package/dist/index.es574.js +3 -3
- package/dist/index.es574.js.map +1 -1
- package/dist/index.es575.js +3 -3
- package/dist/index.es575.js.map +1 -1
- package/dist/index.es576.js +2 -2
- package/dist/index.es576.js.map +1 -1
- package/dist/index.es577.js +3 -3
- package/dist/index.es577.js.map +1 -1
- package/dist/index.es578.js +5 -3
- package/dist/index.es578.js.map +1 -1
- package/dist/index.es579.js +6 -3
- package/dist/index.es579.js.map +1 -1
- package/dist/index.es58.js +4 -4
- package/dist/index.es580.js +2 -2
- package/dist/index.es580.js.map +1 -1
- package/dist/index.es581.js +4 -3
- package/dist/index.es581.js.map +1 -1
- package/dist/index.es582.js +9 -3
- package/dist/index.es582.js.map +1 -1
- package/dist/index.es583.js +10 -3
- package/dist/index.es583.js.map +1 -1
- package/dist/index.es584.js +9 -6
- package/dist/index.es584.js.map +1 -1
- package/dist/index.es585.js +9 -3
- package/dist/index.es585.js.map +1 -1
- package/dist/index.es586.js +5 -4
- package/dist/index.es586.js.map +1 -1
- package/dist/index.es587.js +4 -2
- package/dist/index.es587.js.map +1 -1
- package/dist/index.es588.js +5 -4
- package/dist/index.es588.js.map +1 -1
- package/dist/index.es589.js +13 -9
- package/dist/index.es589.js.map +1 -1
- package/dist/index.es59.js +5 -5
- package/dist/index.es590.js +6 -4
- package/dist/index.es590.js.map +1 -1
- package/dist/index.es591.js +53 -5
- package/dist/index.es591.js.map +1 -1
- package/dist/index.es592.js +35 -4
- package/dist/index.es592.js.map +1 -1
- package/dist/index.es593.js +7 -2
- package/dist/index.es593.js.map +1 -1
- package/dist/index.es594.js +18 -2
- package/dist/index.es594.js.map +1 -1
- package/dist/index.es595.js +2 -4
- package/dist/index.es595.js.map +1 -1
- package/dist/index.es596.js +4 -9
- package/dist/index.es596.js.map +1 -1
- package/dist/index.es597.js +8 -11
- package/dist/index.es597.js.map +1 -1
- package/dist/index.es598.js +10 -20
- package/dist/index.es598.js.map +1 -1
- package/dist/index.es599.js +22 -6
- package/dist/index.es599.js.map +1 -1
- package/dist/index.es60.js +5 -5
- package/dist/index.es600.js +6 -7
- package/dist/index.es600.js.map +1 -1
- package/dist/index.es601.js +19 -5
- package/dist/index.es601.js.map +1 -1
- package/dist/index.es602.js +7 -11
- package/dist/index.es602.js.map +1 -1
- package/dist/index.es603.js +11 -10
- package/dist/index.es603.js.map +1 -1
- package/dist/index.es604.js +10 -8
- package/dist/index.es604.js.map +1 -1
- package/dist/index.es605.js +2 -14
- package/dist/index.es605.js.map +1 -1
- package/dist/index.es606.js +6 -5
- package/dist/index.es606.js.map +1 -1
- package/dist/index.es607.js +5 -53
- package/dist/index.es607.js.map +1 -1
- package/dist/index.es608.js +8 -35
- package/dist/index.es608.js.map +1 -1
- package/dist/index.es609.js +13 -3
- package/dist/index.es609.js.map +1 -1
- package/dist/index.es61.js +1 -1
- package/dist/index.es610.js +3 -18
- package/dist/index.es610.js.map +1 -1
- package/dist/index.es611.js +5 -7
- package/dist/index.es611.js.map +1 -1
- package/dist/index.es612.js +11 -7
- package/dist/index.es612.js.map +1 -1
- package/dist/index.es613.js +60 -8
- package/dist/index.es613.js.map +1 -1
- package/dist/index.es614.js +2 -3
- package/dist/index.es614.js.map +1 -1
- package/dist/index.es615.js +2 -6
- package/dist/index.es615.js.map +1 -1
- package/dist/index.es616.js +2 -5
- package/dist/index.es616.js.map +1 -1
- package/dist/index.es617.js +3 -14
- package/dist/index.es617.js.map +1 -1
- package/dist/index.es618.js +3 -5
- package/dist/index.es618.js.map +1 -1
- package/dist/index.es619.js +25 -5
- package/dist/index.es619.js.map +1 -1
- package/dist/index.es62.js +3 -3
- package/dist/index.es620.js +4 -8
- package/dist/index.es620.js.map +1 -1
- package/dist/index.es621.js +9 -11
- package/dist/index.es621.js.map +1 -1
- package/dist/index.es622.js +4 -9
- package/dist/index.es622.js.map +1 -1
- package/dist/index.es623.js +5 -4
- package/dist/index.es623.js.map +1 -1
- package/dist/index.es624.js +9 -3
- package/dist/index.es624.js.map +1 -1
- package/dist/index.es625.js +4 -5
- package/dist/index.es625.js.map +1 -1
- package/dist/index.es626.js +12 -3
- package/dist/index.es626.js.map +1 -1
- package/dist/index.es627.js +8 -9
- package/dist/index.es627.js.map +1 -1
- package/dist/index.es628.js +7 -3
- package/dist/index.es628.js.map +1 -1
- package/dist/index.es629.js +3 -3
- package/dist/index.es629.js.map +1 -1
- package/dist/index.es63.js +4 -4
- package/dist/index.es630.js +4 -37
- package/dist/index.es630.js.map +1 -1
- package/dist/index.es631.js +9 -8
- package/dist/index.es631.js.map +1 -1
- package/dist/index.es632.js +9 -0
- package/dist/index.es632.js.map +1 -0
- package/dist/index.es633.js +6 -0
- package/dist/index.es633.js.map +1 -0
- package/dist/index.es634.js +12 -0
- package/dist/index.es634.js.map +1 -0
- package/dist/index.es635.js +6 -0
- package/dist/index.es635.js.map +1 -0
- package/dist/index.es636.js +6 -0
- package/dist/index.es636.js.map +1 -0
- package/dist/index.es637.js +9 -0
- package/dist/index.es637.js.map +1 -0
- package/dist/index.es638.js +10 -0
- package/dist/index.es638.js.map +1 -0
- package/dist/index.es639.js +9 -0
- package/dist/index.es639.js.map +1 -0
- package/dist/index.es64.js +2 -2
- package/dist/index.es640.js +15 -0
- package/dist/index.es640.js.map +1 -0
- package/dist/index.es641.js +11 -0
- package/dist/index.es641.js.map +1 -0
- package/dist/index.es642.js +11 -0
- package/dist/index.es642.js.map +1 -0
- package/dist/index.es643.js +28 -0
- package/dist/index.es643.js.map +1 -0
- package/dist/index.es644.js +13 -0
- package/dist/index.es644.js.map +1 -0
- package/dist/index.es645.js +41 -0
- package/dist/index.es645.js.map +1 -0
- package/dist/index.es646.js +17 -0
- package/dist/index.es646.js.map +1 -0
- package/dist/index.es647.js +12 -0
- package/dist/index.es647.js.map +1 -0
- package/dist/index.es648.js +9 -0
- package/dist/index.es648.js.map +1 -0
- package/dist/index.es649.js +6 -0
- package/dist/index.es649.js.map +1 -0
- package/dist/index.es65.js +2 -2
- package/dist/index.es71.js +2 -2
- package/dist/index.es75.js +8 -8
- package/dist/index.es77.js +44 -5
- package/dist/index.es77.js.map +1 -1
- package/dist/index.es78.js +2 -2
- package/dist/index.es79.js +2 -2
- package/dist/index.es81.js +1 -1
- package/dist/index.es82.js +1 -1
- package/dist/index.es85.js +4 -4
- package/dist/index.es87.js +4 -4
- package/dist/index.es88.js +2 -2
- package/dist/index.es89.js +3 -3
- package/dist/index.es90.js +1 -1
- package/dist/index.es92.js +8 -6
- package/dist/index.es92.js.map +1 -1
- package/dist/index.es93.js +13 -7395
- package/dist/index.es93.js.map +1 -1
- package/dist/index.es94.js +5 -2
- package/dist/index.es94.js.map +1 -1
- package/dist/index.es95.js +13 -3
- package/dist/index.es95.js.map +1 -1
- package/dist/index.es96.js +10 -3
- package/dist/index.es96.js.map +1 -1
- package/dist/index.es97.js +6 -17
- package/dist/index.es97.js.map +1 -1
- package/dist/index.es98.js +6 -2
- package/dist/index.es98.js.map +1 -1
- package/dist/index.es99.js +15 -3
- package/dist/index.es99.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs5.js
CHANGED
|
@@ -1,25 +1,12 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
Copyright (c) Microsoft Corporation.
|
|
3
|
-
|
|
4
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
-
purpose with or without fee is hereby granted.
|
|
6
|
-
|
|
7
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
9
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
-
***************************************************************************** */var Qe=function(t,e){return Qe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(n[s]=o[s])},Qe(t,e)};function X(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Qe(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var w=function(){return w=Object.assign||function(e){for(var n,o=1,s=arguments.length;o<s;o++){n=arguments[o];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w.apply(this,arguments)};function nt(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,o=Object.getOwnPropertySymbols(t);s<o.length;s++)e.indexOf(o[s])<0&&Object.prototype.propertyIsEnumerable.call(t,o[s])&&(n[o[s]]=t[o[s]]);return n}function $n(t,e,n,o){function s(r){return r instanceof n?r:new n(function(a){a(r)})}return new(n||(n=Promise))(function(r,a){function u(p){try{c(o.next(p))}catch(f){a(f)}}function l(p){try{c(o.throw(p))}catch(f){a(f)}}function c(p){p.done?r(p.value):s(p.value).then(u,l)}c((o=o.apply(t,e||[])).next())})}function Gn(t,e){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},o,s,r,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(c){return function(p){return l([c,p])}}function l(c){if(o)throw new TypeError("Generator is already executing.");for(;n;)try{if(o=1,s&&(r=c[0]&2?s.return:c[0]?s.throw||((r=s.return)&&r.call(s),0):s.next)&&!(r=r.call(s,c[1])).done)return r;switch(s=0,r&&(c=[c[0]&2,r.value]),c[0]){case 0:case 1:r=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,s=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(r=n.trys,!(r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){n.label=c[1];break}if(c[0]===6&&n.label<r[1]){n.label=r[1],r=c;break}if(r&&n.label<r[2]){n.label=r[2],n.ops.push(c);break}r[2]&&n.ops.pop(),n.trys.pop();continue}c=e.call(t,n)}catch(p){c=[6,p],s=0}finally{o=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function Dn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var _n=process.env.NODE_ENV,qn=function(t,e,n,o,s,r,a,u){if(_n!=="production"&&e===void 0)throw new Error("invariant requires an error message argument");if(!t){var l;if(e===void 0)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,o,s,r,a,u],p=0;l=new Error(e.replace(/%s/g,function(){return c[p++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},Kn=qn,de=Dn(Kn),Z=i.createContext(null);function In(){de(!!i.useContext,"useGoogleMap is React hook and requires React version 16.8+");var t=i.useContext(Z);return de(!!t,"useGoogleMap needs a GoogleMap available up in the tree"),t}function Jn(t,e,n){return Object.keys(t).reduce(function(s,r){return e(s,t[r],r)},n)}function Yn(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function Qn(t,e,n,o){var s={},r=function(a,u){var l=n[u];l!==e[u]&&(s[u]=l,a(o,l))};return Yn(t,r),s}function Xn(t,e,n){var o=Jn(n,function(r,a,u){return typeof t[u]=="function"&&r.push(google.maps.event.addListener(e,a,t[u])),r},[]);return o}function eo(t){google.maps.event.removeListener(t)}function H(t){t===void 0&&(t=[]),t.forEach(eo)}function W(t){var e=t.updaterMap,n=t.eventMap,o=t.prevProps,s=t.nextProps,r=t.instance,a=Xn(s,r,n);return Qn(e,o,s,r),a}var Tt={onDblClick:"dblclick",onDragEnd:"dragend",onDragStart:"dragstart",onMapTypeIdChanged:"maptypeid_changed",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseDown:"mousedown",onMouseUp:"mouseup",onRightClick:"rightclick",onTilesLoaded:"tilesloaded",onBoundsChanged:"bounds_changed",onCenterChanged:"center_changed",onClick:"click",onDrag:"drag",onHeadingChanged:"heading_changed",onIdle:"idle",onProjectionChanged:"projection_changed",onResize:"resize",onTiltChanged:"tilt_changed",onZoomChanged:"zoom_changed"},Bt={extraMapTypes:function(t,e){e.forEach(function(o,s){t.mapTypes.set(String(s),o)})},center:function(t,e){t.setCenter(e)},clickableIcons:function(t,e){t.setClickableIcons(e)},heading:function(t,e){t.setHeading(e)},mapTypeId:function(t,e){t.setMapTypeId(e)},options:function(t,e){t.setOptions(e)},streetView:function(t,e){t.setStreetView(e)},tilt:function(t,e){t.setTilt(e)},zoom:function(t,e){t.setZoom(e)}};function to(t){var e=t.children,n=t.options,o=t.id,s=t.mapContainerStyle,r=t.mapContainerClassName,a=t.center,u=t.onClick,l=t.onDblClick,c=t.onDrag,p=t.onDragEnd,f=t.onDragStart,h=t.onMouseMove,g=t.onMouseOut,M=t.onMouseOver,m=t.onMouseDown,y=t.onMouseUp,x=t.onRightClick,S=t.onCenterChanged,b=t.onLoad,O=t.onUnmount,E=i.useState(null),d=E[0],R=E[1],v=i.useRef(null),I=i.useState(null),L=I[0],U=I[1],B=i.useState(null),G=B[0],T=B[1],z=i.useState(null),V=z[0],k=z[1],N=i.useState(null),J=N[0],_=N[1],A=i.useState(null),ae=A[0],Y=A[1],K=i.useState(null),le=K[0],C=K[1],Q=i.useState(null),ce=Q[0],P=Q[1],ee=i.useState(null),fe=ee[0],ie=ee[1],te=i.useState(null),ge=te[0],se=te[1],ne=i.useState(null),he=ne[0],ue=ne[1],re=i.useState(null),F=re[0],$=re[1],me=i.useState(null),ve=me[0],D=me[1];return i.useEffect(function(){n&&d!==null&&d.setOptions(n)},[d,n]),i.useEffect(function(){d!==null&&typeof a<"u"&&d.setCenter(a)},[d,a]),i.useEffect(function(){d&&l&&(G!==null&&google.maps.event.removeListener(G),T(google.maps.event.addListener(d,"dblclick",l)))},[l]),i.useEffect(function(){d&&p&&(V!==null&&google.maps.event.removeListener(V),k(google.maps.event.addListener(d,"dragend",p)))},[p]),i.useEffect(function(){d&&f&&(J!==null&&google.maps.event.removeListener(J),_(google.maps.event.addListener(d,"dragstart",f)))},[f]),i.useEffect(function(){d&&m&&(ae!==null&&google.maps.event.removeListener(ae),Y(google.maps.event.addListener(d,"mousedown",m)))},[m]),i.useEffect(function(){d&&h&&(le!==null&&google.maps.event.removeListener(le),C(google.maps.event.addListener(d,"mousemove",h)))},[h]),i.useEffect(function(){d&&g&&(ce!==null&&google.maps.event.removeListener(ce),P(google.maps.event.addListener(d,"mouseout",g)))},[g]),i.useEffect(function(){d&&M&&(fe!==null&&google.maps.event.removeListener(fe),ie(google.maps.event.addListener(d,"mouseover",M)))},[M]),i.useEffect(function(){d&&y&&(ge!==null&&google.maps.event.removeListener(ge),se(google.maps.event.addListener(d,"mouseup",y)))},[y]),i.useEffect(function(){d&&x&&(he!==null&&google.maps.event.removeListener(he),ue(google.maps.event.addListener(d,"rightclick",x)))},[x]),i.useEffect(function(){d&&u&&(F!==null&&google.maps.event.removeListener(F),$(google.maps.event.addListener(d,"click",u)))},[u]),i.useEffect(function(){d&&c&&(ve!==null&&google.maps.event.removeListener(ve),D(google.maps.event.addListener(d,"drag",c)))},[c]),i.useEffect(function(){d&&S&&(L!==null&&google.maps.event.removeListener(L),U(google.maps.event.addListener(d,"center_changed",S)))},[u]),i.useEffect(function(){var Ce=v.current===null?null:new google.maps.Map(v.current,n);return R(Ce),Ce!==null&&b&&b(Ce),function(){Ce!==null&&O&&O(Ce)}},[]),pe.jsxRuntimeExports.jsx("div",{id:o,ref:v,style:s,className:r,children:pe.jsxRuntimeExports.jsx(Z.Provider,{value:d,children:d!==null?e:pe.jsxRuntimeExports.jsx(pe.jsxRuntimeExports.Fragment,{})})})}i.memo(to);(function(t){X(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={map:null},n.registeredEvents=[],n.mapRef=null,n.getInstance=function(){return n.mapRef===null?null:new google.maps.Map(n.mapRef,n.props.options)},n.panTo=function(o){var s=n.getInstance();s&&s.panTo(o)},n.setMapCallback=function(){n.state.map!==null&&n.props.onLoad&&n.props.onLoad(n.state.map)},n.getRef=function(o){n.mapRef=o},n}return e.prototype.componentDidMount=function(){var n=this.getInstance();this.registeredEvents=W({updaterMap:Bt,eventMap:Tt,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{map:n}},this.setMapCallback)},e.prototype.componentDidUpdate=function(n){this.state.map!==null&&(H(this.registeredEvents),this.registeredEvents=W({updaterMap:Bt,eventMap:Tt,prevProps:n,nextProps:this.props,instance:this.state.map}))},e.prototype.componentWillUnmount=function(){this.state.map!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.map),H(this.registeredEvents))},e.prototype.render=function(){return pe.jsxRuntimeExports.jsx("div",{id:this.props.id,ref:this.getRef,style:this.props.mapContainerStyle,className:this.props.mapContainerClassName,children:pe.jsxRuntimeExports.jsx(Z.Provider,{value:this.state.map,children:this.state.map!==null?this.props.children:pe.jsxRuntimeExports.jsx(pe.jsxRuntimeExports.Fragment,{})})})},e})(i.PureComponent);var ke=typeof document<"u";function On(t){var e=t.url,n=t.id,o=t.nonce;return ke?new Promise(function(r,a){var u=document.getElementById(n),l=window;if(u){var c=u.getAttribute("data-state");if(u.src===e&&c!=="error"){if(c==="ready")return r(n);var p=l.initMap,f=u.onerror;l.initMap=function(){p&&p(),r(n)},u.onerror=function(g){f&&f(g),a(g)};return}else u.remove()}var h=document.createElement("script");h.type="text/javascript",h.src=e,h.id=n,h.async=!0,h.nonce=o||"",h.onerror=function(M){h.setAttribute("data-state","error"),a(M)},l.initMap=function(){h.setAttribute("data-state","ready"),r(n)},document.head.appendChild(h)}).catch(function(s){throw console.error("injectScript error: ",s),s}):Promise.reject(new Error("document is undefined"))}function zt(t){var e=t.href;return e&&(e.indexOf("https://fonts.googleapis.com/css?family=Roboto")===0||e.indexOf("https://fonts.googleapis.com/css?family=Google+Sans+Text")===0)?!0:t.tagName.toLowerCase()==="style"&&t.styleSheet&&t.styleSheet.cssText&&t.styleSheet.cssText.replace(`\r
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ie=require("./index.cjs36.js"),i=require("react"),Ce=require("react-dom");function Es(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,s.get?s:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const Zn=Es(Ce);function be(t){"@babel/helpers - typeof";return be=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},be(t)}function ws(t,e){if(be(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var s=n.call(t,e||"default");if(be(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function xs(t){var e=ws(t,"string");return be(e)=="symbol"?e:e+""}function h(t,e,n){return(e=xs(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Ge,xt;function Ss(){if(xt)return Ge;xt=1;var t=process.env.NODE_ENV,e=function(s,r,o,a,l,u,g,d){if(t!=="production"&&r===void 0)throw new Error("invariant requires an error message argument");if(!s){var p;if(r===void 0)p=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var f=[o,a,l,u,g,d],v=0;p=new Error(r.replace(/%s/g,function(){return f[v++]})),p.name="Invariant Violation"}throw p.framesToPop=1,p}};return Ge=e,Ge}var Os=Ss(),ne=Vn(Os),A=i.createContext(null);function Wn(){ne(!!i.useContext,"useGoogleMap is React hook and requires React version 16.8+");var t=i.useContext(A);return ne(!!t,"useGoogleMap needs a GoogleMap available up in the tree"),t}function ks(t,e,n){return Object.keys(t).reduce(function(r,o){return e(r,t[o],o)},n)}function Ps(t,e){Object.keys(t).forEach(n=>e(t[n],n))}function Ds(t,e,n,s){var r={},o=(a,l)=>{var u=n[l];u!==e[l]&&(r[l]=u,a(s,u))};return Ps(t,o),r}function Is(t,e,n){var s=ks(n,function(o,a,l){return typeof t[l]=="function"&&o.push(google.maps.event.addListener(e,a,t[l])),o},[]);return s}function js(t){google.maps.event.removeListener(t)}function V(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];t.forEach(js)}function _(t){var{updaterMap:e,eventMap:n,prevProps:s,nextProps:r,instance:o}=t,a=Is(r,o,n);return Ds(e,s,r,o),a}function Rs(t){var{children:e,options:n,id:s,mapContainerStyle:r,mapContainerClassName:o,center:a,onClick:l,onDblClick:u,onDrag:g,onDragEnd:d,onDragStart:p,onMouseMove:f,onMouseOut:v,onMouseOver:c,onMouseDown:x,onMouseUp:M,onRightClick:S,onCenterChanged:w,onLoad:D,onUnmount:C}=t,[m,y]=i.useState(null),E=i.useRef(null),[P,b]=i.useState(null),[O,k]=i.useState(null),[U,Z]=i.useState(null),[R,T]=i.useState(null),[W,q]=i.useState(null),[N,G]=i.useState(null),[$,K]=i.useState(null),[J,j]=i.useState(null),[Y,L]=i.useState(null),[ee,X]=i.useState(null),[z,te]=i.useState(null),[I,F]=i.useState(null);return i.useEffect(()=>{n&&m!==null&&m.setOptions(n)},[m,n]),i.useEffect(()=>{m!==null&&typeof a<"u"&&m.setCenter(a)},[m,a]),i.useEffect(()=>{m&&u&&(O!==null&&google.maps.event.removeListener(O),k(google.maps.event.addListener(m,"dblclick",u)))},[u]),i.useEffect(()=>{m&&d&&(U!==null&&google.maps.event.removeListener(U),Z(google.maps.event.addListener(m,"dragend",d)))},[d]),i.useEffect(()=>{m&&p&&(R!==null&&google.maps.event.removeListener(R),T(google.maps.event.addListener(m,"dragstart",p)))},[p]),i.useEffect(()=>{m&&x&&(W!==null&&google.maps.event.removeListener(W),q(google.maps.event.addListener(m,"mousedown",x)))},[x]),i.useEffect(()=>{m&&f&&(N!==null&&google.maps.event.removeListener(N),G(google.maps.event.addListener(m,"mousemove",f)))},[f]),i.useEffect(()=>{m&&v&&($!==null&&google.maps.event.removeListener($),K(google.maps.event.addListener(m,"mouseout",v)))},[v]),i.useEffect(()=>{m&&c&&(J!==null&&google.maps.event.removeListener(J),j(google.maps.event.addListener(m,"mouseover",c)))},[c]),i.useEffect(()=>{m&&M&&(Y!==null&&google.maps.event.removeListener(Y),L(google.maps.event.addListener(m,"mouseup",M)))},[M]),i.useEffect(()=>{m&&S&&(ee!==null&&google.maps.event.removeListener(ee),X(google.maps.event.addListener(m,"rightclick",S)))},[S]),i.useEffect(()=>{m&&l&&(z!==null&&google.maps.event.removeListener(z),te(google.maps.event.addListener(m,"click",l)))},[l]),i.useEffect(()=>{m&&g&&(I!==null&&google.maps.event.removeListener(I),F(google.maps.event.addListener(m,"drag",g)))},[g]),i.useEffect(()=>{m&&w&&(P!==null&&google.maps.event.removeListener(P),b(google.maps.event.addListener(m,"center_changed",w)))},[l]),i.useEffect(()=>{var oe=E.current===null?null:new google.maps.Map(E.current,n);return y(oe),oe!==null&&D&&D(oe),()=>{oe!==null&&C&&C(oe)}},[]),ie.jsxRuntimeExports.jsx("div",{id:s,ref:E,style:r,className:o,children:ie.jsxRuntimeExports.jsx(A.Provider,{value:m,children:m!==null?e:null})})}i.memo(Rs);function St(t,e,n,s,r,o,a){try{var l=t[o](a),u=l.value}catch(g){return void n(g)}l.done?e(u):Promise.resolve(u).then(s,r)}function Nn(t){return function(){var e=this,n=arguments;return new Promise(function(s,r){var o=t.apply(e,n);function a(u){St(o,s,r,a,l,"next",u)}function l(u){St(o,s,r,a,l,"throw",u)}a(void 0)})}}function $n(t){var{googleMapsApiKey:e,googleMapsClientId:n,version:s="weekly",language:r,region:o,libraries:a,channel:l,mapIds:u,authReferrerPolicy:g,apiUrl:d="https://maps.googleapis.com"}=t,p=[];return ne(e&&n||!(e&&n),"You need to specify either googleMapsApiKey or googleMapsClientId for @react-google-maps/api load script to work. You cannot use both at the same time."),e?p.push("key=".concat(e)):n&&p.push("client=".concat(n)),s&&p.push("v=".concat(s)),r&&p.push("language=".concat(r)),o&&p.push("region=".concat(o)),a&&a.length&&p.push("libraries=".concat(a.sort().join(","))),l&&p.push("channel=".concat(l)),u&&u.length&&p.push("map_ids=".concat(u.join(","))),g&&p.push("auth_referrer_policy=".concat(g)),p.push("loading=async"),p.push("callback=initMap"),"".concat(d,"/maps/api/js?").concat(p.join("&"))}var ce=typeof document<"u";function Fn(t){var{url:e,id:n,nonce:s}=t;return ce?new Promise(function(o,a){var l=document.getElementById(n),u=window;if(l){var g=l.getAttribute("data-state");if(l.src===e&&g!=="error"){if(g==="ready")return o(n);var d=u.initMap,p=l.onerror;u.initMap=function(){d&&d(),o(n)},l.onerror=function(v){p&&p(v),a(v)};return}else l.remove()}var f=document.createElement("script");f.type="text/javascript",f.src=e,f.id=n,f.async=!0,f.nonce=s||"",f.onerror=function(c){f.setAttribute("data-state","error"),a(c)},u.initMap=function(){f.setAttribute("data-state","ready"),o(n)},document.head.appendChild(f)}).catch(r=>{throw console.error("injectScript error: ",r),r}):Promise.reject(new Error("document is undefined"))}function Ot(t){var e=t.href;return e&&(e.indexOf("https://fonts.googleapis.com/css?family=Roboto")===0||e.indexOf("https://fonts.googleapis.com/css?family=Google+Sans+Text")===0)?!0:t.tagName.toLowerCase()==="style"&&t.styleSheet&&t.styleSheet.cssText&&t.styleSheet.cssText.replace(`\r
|
|
15
2
|
`,"").indexOf(".gm-style")===0?(t.styleSheet.cssText="",!0):t.tagName.toLowerCase()==="style"&&t.innerHTML&&t.innerHTML.replace(`\r
|
|
16
|
-
`,"").indexOf(".gm-style")===0?(t.innerHTML="",!0):t.tagName.toLowerCase()==="style"&&!t.styleSheet&&!t.innerHTML}function
|
|
17
|
-
There has been an Error with loading Google Maps API script, please check that you provided correct google API key (`.concat(
|
|
3
|
+
`,"").indexOf(".gm-style")===0?(t.innerHTML="",!0):t.tagName.toLowerCase()==="style"&&!t.styleSheet&&!t.innerHTML}function Hn(){var t=document.getElementsByTagName("head")[0];if(t){var e=t.insertBefore.bind(t);t.insertBefore=function(r,o){return Ot(r)||Reflect.apply(e,t,[r,o]),r};var n=t.appendChild.bind(t);t.appendChild=function(r){return Ot(r)||Reflect.apply(n,t,[r]),r}}}var ve=!1;function Gn(){return ie.jsxRuntimeExports.jsx("div",{children:"Loading..."})}var Qe={id:"script-loader",version:"weekly"};class Kn extends i.PureComponent{constructor(){super(...arguments),h(this,"check",null),h(this,"state",{loaded:!1}),h(this,"cleanupCallback",()=>{delete window.google.maps,this.injectScript()}),h(this,"isCleaningUp",Nn(function*(){function e(n){if(!ve)n();else if(ce)var s=window.setInterval(function(){ve||(window.clearInterval(s),n())},1)}return new Promise(e)})),h(this,"cleanup",()=>{ve=!0;var e=document.getElementById(this.props.id);e&&e.parentNode&&e.parentNode.removeChild(e),Array.prototype.slice.call(document.getElementsByTagName("script")).filter(function(s){return typeof s.src=="string"&&s.src.includes("maps.googleapis")}).forEach(function(s){s.parentNode&&s.parentNode.removeChild(s)}),Array.prototype.slice.call(document.getElementsByTagName("link")).filter(function(s){return s.href==="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Google+Sans"}).forEach(function(s){s.parentNode&&s.parentNode.removeChild(s)}),Array.prototype.slice.call(document.getElementsByTagName("style")).filter(function(s){return s.innerText!==void 0&&s.innerText.length>0&&s.innerText.includes(".gm-")}).forEach(function(s){s.parentNode&&s.parentNode.removeChild(s)})}),h(this,"injectScript",()=>{this.props.preventGoogleFontsLoading&&Hn(),ne(!!this.props.id,'LoadScript requires "id" prop to be a string: %s',this.props.id);var e={id:this.props.id,nonce:this.props.nonce,url:$n(this.props)};Fn(e).then(()=>{this.props.onLoad&&this.props.onLoad(),this.setState(function(){return{loaded:!0}})}).catch(n=>{this.props.onError&&this.props.onError(n),console.error(`
|
|
4
|
+
There has been an Error with loading Google Maps API script, please check that you provided correct google API key (`.concat(this.props.googleMapsApiKey||"-",") or Client ID (").concat(this.props.googleMapsClientId||"-",`) to <LoadScript />
|
|
18
5
|
Otherwise it is a Network issue.
|
|
19
|
-
`))})},
|
|
20
|
-
There has been an Error with loading Google Maps API script, please check that you provided correct google API key (`.concat(
|
|
6
|
+
`))})}),h(this,"getRef",e=>{this.check=e})}componentDidMount(){if(ce){if(window.google&&window.google.maps&&!ve){console.error("google api is already presented");return}this.isCleaningUp().then(this.injectScript).catch(function(n){console.error("Error at injecting script after cleaning up: ",n)})}}componentDidUpdate(e){this.props.libraries!==e.libraries&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),ce&&e.language!==this.props.language&&(this.cleanup(),this.setState(function(){return{loaded:!1}},this.cleanupCallback))}componentWillUnmount(){if(ce){this.cleanup();var e=()=>{this.check||(delete window.google,ve=!1)};window.setTimeout(e,1),this.props.onUnmount&&this.props.onUnmount()}}render(){return ie.jsxRuntimeExports.jsxs(ie.jsxRuntimeExports.Fragment,{children:[ie.jsxRuntimeExports.jsx("div",{ref:this.getRef}),this.state.loaded?this.props.children:this.props.loadingElement||ie.jsxRuntimeExports.jsx(Gn,{})]})}}h(Kn,"defaultProps",Qe);function Ts(t,e){if(t==null)return{};var n={};for(var s in t)if({}.hasOwnProperty.call(t,s)){if(e.includes(s))continue;n[s]=t[s]}return n}function tt(t,e){if(t==null)return{};var n,s,r=Ts(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(s=0;s<o.length;s++)n=o[s],e.includes(n)||{}.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}var kt;function qn(t){var{id:e=Qe.id,version:n=Qe.version,nonce:s,googleMapsApiKey:r,googleMapsClientId:o,language:a,region:l,libraries:u,preventGoogleFontsLoading:g,channel:d,mapIds:p,authReferrerPolicy:f,apiUrl:v="https://maps.googleapis.com"}=t,c=i.useRef(!1),[x,M]=i.useState(!1),[S,w]=i.useState(void 0);i.useEffect(function(){return c.current=!0,()=>{c.current=!1}},[]),i.useEffect(function(){ce&&g&&Hn()},[g]),i.useEffect(function(){x&&ne(!!window.google,"useLoadScript was marked as loaded, but window.google is not present. Something went wrong.")},[x]);var D=$n({version:n,googleMapsApiKey:r,googleMapsClientId:o,language:a,region:l,libraries:u,channel:d,mapIds:p,authReferrerPolicy:f,apiUrl:v});i.useEffect(function(){if(!ce)return;function y(){c.current&&(M(!0),kt=D)}if(window.google&&window.google.maps&&kt===D){y();return}Fn({id:e,url:D,nonce:s}).then(y).catch(function(P){c.current&&w(P),console.warn(`
|
|
7
|
+
There has been an Error with loading Google Maps API script, please check that you provided correct google API key (`.concat(r||"-",") or Client ID (").concat(o||"-",`)
|
|
21
8
|
Otherwise it is a Network issue.
|
|
22
|
-
`)),console.error(U)})},[n,d,r]);var R=i.useRef();return i.useEffect(function(){R.current&&p!==R.current&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),R.current=p},[p]),{isLoaded:x,loadError:O,url:d}}var oo=pe.jsxRuntimeExports.jsx(Tn,{});function io(t){var e=t.loadingElement,n=t.onLoad,o=t.onError,s=t.onUnmount,r=t.children,a=nt(t,["loadingElement","onLoad","onError","onUnmount","children"]),u=Bn(a),l=u.isLoaded,c=u.loadError;return i.useEffect(function(){l&&typeof n=="function"&&n()},[l,n]),i.useEffect(function(){c&&typeof o=="function"&&o(c)},[c,o]),i.useEffect(function(){return function(){s&&s()}},[s]),l?r:e||oo}i.memo(io);var jt;(function(t){t[t.INITIALIZED=0]="INITIALIZED",t[t.LOADING=1]="LOADING",t[t.SUCCESS=2]="SUCCESS",t[t.FAILURE=3]="FAILURE"})(jt||(jt={}));var Zt={},Vt={options:function(t,e){t.setOptions(e)}};function so(t){var e=t.options,n=t.onLoad,o=t.onUnmount,s=i.useContext(Z),r=i.useState(null),a=r[0],u=r[1];return i.useEffect(function(){a!==null&&a.setMap(s)},[s]),i.useEffect(function(){e&&a!==null&&a.setOptions(e)},[a,e]),i.useEffect(function(){var l=new google.maps.TrafficLayer(w(w({},e||{}),{map:s}));return u(l),n&&n(l),function(){a!==null&&(o&&o(a),a.setMap(null))}},[]),null}i.memo(so);(function(t){X(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={trafficLayer:null},n.setTrafficLayerCallback=function(){n.state.trafficLayer!==null&&n.props.onLoad&&n.props.onLoad(n.state.trafficLayer)},n.registeredEvents=[],n}return e.prototype.componentDidMount=function(){var n=new google.maps.TrafficLayer(w(w({},this.props.options||{}),{map:this.context}));this.registeredEvents=W({updaterMap:Vt,eventMap:Zt,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{trafficLayer:n}},this.setTrafficLayerCallback)},e.prototype.componentDidUpdate=function(n){this.state.trafficLayer!==null&&(H(this.registeredEvents),this.registeredEvents=W({updaterMap:Vt,eventMap:Zt,prevProps:n,nextProps:this.props,instance:this.state.trafficLayer}))},e.prototype.componentWillUnmount=function(){this.state.trafficLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.trafficLayer),H(this.registeredEvents),this.state.trafficLayer.setMap(null))},e.prototype.render=function(){return null},e.contextType=Z,e})(i.PureComponent);function ro(t){var e=t.onLoad,n=t.onUnmount,o=i.useContext(Z),s=i.useState(null),r=s[0],a=s[1];return i.useEffect(function(){r!==null&&r.setMap(o)},[o]),i.useEffect(function(){var u=new google.maps.BicyclingLayer;return a(u),u.setMap(o),e&&e(u),function(){u!==null&&(n&&n(u),u.setMap(null))}},[]),null}i.memo(ro);(function(t){X(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={bicyclingLayer:null},n.setBicyclingLayerCallback=function(){n.state.bicyclingLayer!==null&&(n.state.bicyclingLayer.setMap(n.context),n.props.onLoad&&n.props.onLoad(n.state.bicyclingLayer))},n}return e.prototype.componentDidMount=function(){var n=new google.maps.BicyclingLayer;this.setState(function(){return{bicyclingLayer:n}},this.setBicyclingLayerCallback)},e.prototype.componentWillUnmount=function(){this.state.bicyclingLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.bicyclingLayer),this.state.bicyclingLayer.setMap(null))},e.prototype.render=function(){return null},e.contextType=Z,e})(i.PureComponent);function ao(t){var e=t.onLoad,n=t.onUnmount,o=i.useContext(Z),s=i.useState(null),r=s[0],a=s[1];return i.useEffect(function(){r!==null&&r.setMap(o)},[o]),i.useEffect(function(){var u=new google.maps.TransitLayer;return a(u),u.setMap(o),e&&e(u),function(){r!==null&&(n&&n(r),r.setMap(null))}},[]),null}i.memo(ao);(function(t){X(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={transitLayer:null},n.setTransitLayerCallback=function(){n.state.transitLayer!==null&&(n.state.transitLayer.setMap(n.context),n.props.onLoad&&n.props.onLoad(n.state.transitLayer))},n}return e.prototype.componentDidMount=function(){var n=new google.maps.TransitLayer;this.setState(function(){return{transitLayer:n}},this.setTransitLayerCallback)},e.prototype.componentWillUnmount=function(){this.state.transitLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.transitLayer),this.state.transitLayer.setMap(null))},e.prototype.render=function(){return null},e.contextType=Z,e})(i.PureComponent);var Nt={onCircleComplete:"circlecomplete",onMarkerComplete:"markercomplete",onOverlayComplete:"overlaycomplete",onPolygonComplete:"polygoncomplete",onPolylineComplete:"polylinecomplete",onRectangleComplete:"rectanglecomplete"},Wt={drawingMode:function(t,e){t.setDrawingMode(e)},options:function(t,e){t.setOptions(e)}};function lo(t){var e=t.options,n=t.drawingMode,o=t.onCircleComplete,s=t.onMarkerComplete,r=t.onOverlayComplete,a=t.onPolygonComplete,u=t.onPolylineComplete,l=t.onRectangleComplete,c=t.onLoad,p=t.onUnmount,f=i.useContext(Z),h=i.useState(null),g=h[0],M=h[1],m=i.useState(null),y=m[0],x=m[1],S=i.useState(null),b=S[0],O=S[1],E=i.useState(null),d=E[0],R=E[1],v=i.useState(null),I=v[0],L=v[1],U=i.useState(null),B=U[0],G=U[1],T=i.useState(null),z=T[0],V=T[1];return i.useEffect(function(){g!==null&&g.setMap(f)},[f]),i.useEffect(function(){e&&g!==null&&g.setOptions(e)},[g,e]),i.useEffect(function(){n&&g!==null&&g.setDrawingMode(n)},[g,n]),i.useEffect(function(){g&&o&&(y!==null&&google.maps.event.removeListener(y),x(google.maps.event.addListener(g,"circlecomplete",o)))},[g,o]),i.useEffect(function(){g&&s&&(b!==null&&google.maps.event.removeListener(b),O(google.maps.event.addListener(g,"markercomplete",s)))},[g,s]),i.useEffect(function(){g&&r&&(d!==null&&google.maps.event.removeListener(d),R(google.maps.event.addListener(g,"overlaycomplete",r)))},[g,r]),i.useEffect(function(){g&&a&&(I!==null&&google.maps.event.removeListener(I),L(google.maps.event.addListener(g,"polygoncomplete",a)))},[g,a]),i.useEffect(function(){g&&u&&(B!==null&&google.maps.event.removeListener(B),G(google.maps.event.addListener(g,"polylinecomplete",u)))},[g,u]),i.useEffect(function(){g&&l&&(z!==null&&google.maps.event.removeListener(z),V(google.maps.event.addListener(g,"rectanglecomplete",l)))},[g,l]),i.useEffect(function(){de(!!google.maps.drawing,"Did you include prop libraries={['drawing']} in the URL? %s",google.maps.drawing);var k=new google.maps.drawing.DrawingManager(w(w({},e||{}),{map:f}));return n&&k.setDrawingMode(n),o&&x(google.maps.event.addListener(k,"circlecomplete",o)),s&&O(google.maps.event.addListener(k,"markercomplete",s)),r&&R(google.maps.event.addListener(k,"overlaycomplete",r)),a&&L(google.maps.event.addListener(k,"polygoncomplete",a)),u&&G(google.maps.event.addListener(k,"polylinecomplete",u)),l&&V(google.maps.event.addListener(k,"rectanglecomplete",l)),M(k),c&&c(k),function(){g!==null&&(y&&google.maps.event.removeListener(y),b&&google.maps.event.removeListener(b),d&&google.maps.event.removeListener(d),I&&google.maps.event.removeListener(I),B&&google.maps.event.removeListener(B),z&&google.maps.event.removeListener(z),p&&p(g),g.setMap(null))}},[]),null}i.memo(lo);(function(t){X(e,t);function e(n){var o=t.call(this,n)||this;return o.registeredEvents=[],o.state={drawingManager:null},o.setDrawingManagerCallback=function(){o.state.drawingManager!==null&&o.props.onLoad&&o.props.onLoad(o.state.drawingManager)},de(!!google.maps.drawing,"Did you include prop libraries={['drawing']} in the URL? %s",google.maps.drawing),o}return e.prototype.componentDidMount=function(){var n=new google.maps.drawing.DrawingManager(w(w({},this.props.options||{}),{map:this.context}));this.registeredEvents=W({updaterMap:Wt,eventMap:Nt,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{drawingManager:n}},this.setDrawingManagerCallback)},e.prototype.componentDidUpdate=function(n){this.state.drawingManager!==null&&(H(this.registeredEvents),this.registeredEvents=W({updaterMap:Wt,eventMap:Nt,prevProps:n,nextProps:this.props,instance:this.state.drawingManager}))},e.prototype.componentWillUnmount=function(){this.state.drawingManager!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.drawingManager),H(this.registeredEvents),this.state.drawingManager.setMap(null))},e.prototype.render=function(){return null},e.contextType=Z,e})(i.PureComponent);var Ft={onAnimationChanged:"animation_changed",onClick:"click",onClickableChanged:"clickable_changed",onCursorChanged:"cursor_changed",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDraggableChanged:"draggable_changed",onDragStart:"dragstart",onFlatChanged:"flat_changed",onIconChanged:"icon_changed",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onPositionChanged:"position_changed",onRightClick:"rightclick",onShapeChanged:"shape_changed",onTitleChanged:"title_changed",onVisibleChanged:"visible_changed",onZindexChanged:"zindex_changed"},Ht={animation:function(t,e){t.setAnimation(e)},clickable:function(t,e){t.setClickable(e)},cursor:function(t,e){t.setCursor(e)},draggable:function(t,e){t.setDraggable(e)},icon:function(t,e){t.setIcon(e)},label:function(t,e){t.setLabel(e)},map:function(t,e){t.setMap(e)},opacity:function(t,e){t.setOpacity(e)},options:function(t,e){t.setOptions(e)},position:function(t,e){t.setPosition(e)},shape:function(t,e){t.setShape(e)},title:function(t,e){t.setTitle(e)},visible:function(t,e){t.setVisible(e)},zIndex:function(t,e){t.setZIndex(e)}},qe={};function uo(t){var e=t.position,n=t.options,o=t.clusterer,s=t.noClustererRedraw,r=t.children,a=t.draggable,u=t.visible,l=t.animation,c=t.clickable,p=t.cursor,f=t.icon,h=t.label,g=t.opacity,M=t.shape,m=t.title,y=t.zIndex,x=t.onClick,S=t.onDblClick,b=t.onDrag,O=t.onDragEnd,E=t.onDragStart,d=t.onMouseOut,R=t.onMouseOver,v=t.onMouseUp,I=t.onMouseDown,L=t.onRightClick,U=t.onClickableChanged,B=t.onCursorChanged,G=t.onAnimationChanged,T=t.onDraggableChanged,z=t.onFlatChanged,V=t.onIconChanged,k=t.onPositionChanged,N=t.onShapeChanged,J=t.onTitleChanged,_=t.onVisibleChanged,A=t.onZindexChanged,ae=t.onLoad,Y=t.onUnmount,K=i.useContext(Z),le=i.useState(null),C=le[0],Q=le[1],ce=i.useState(null),P=ce[0],ee=ce[1],fe=i.useState(null),ie=fe[0],te=fe[1],ge=i.useState(null),se=ge[0],ne=ge[1],he=i.useState(null),ue=he[0],re=he[1],F=i.useState(null),$=F[0],me=F[1],ve=i.useState(null),D=ve[0],Ce=ve[1],Se=i.useState(null),Me=Se[0],we=Se[1],oe=i.useState(null),Te=oe[0],st=oe[1],rt=i.useState(null),Be=rt[0],at=rt[1],lt=i.useState(null),ut=lt[0],ct=lt[1],pt=i.useState(null),ze=pt[0],dt=pt[1],ft=i.useState(null),Ae=ft[0],gt=ft[1],ht=i.useState(null),je=ht[0],mt=ht[1],vt=i.useState(null),Ze=vt[0],Lt=vt[1],yt=i.useState(null),Ve=yt[0],Ct=yt[1],Mt=i.useState(null),Ne=Mt[0],bt=Mt[1],Et=i.useState(null),We=Et[0],xt=Et[1],kt=i.useState(null),St=kt[0],wt=kt[1],Pt=i.useState(null),Fe=Pt[0],Dt=Pt[1],It=i.useState(null),He=It[0],Ot=It[1],Rt=i.useState(null),$e=Rt[0],Ut=Rt[1];i.useEffect(function(){C!==null&&C.setMap(K)},[K]),i.useEffect(function(){typeof n<"u"&&C!==null&&C.setOptions(n)},[C,n]),i.useEffect(function(){typeof a<"u"&&C!==null&&C.setDraggable(a)},[C,a]),i.useEffect(function(){e&&C!==null&&C.setPosition(e)},[C,e]),i.useEffect(function(){typeof u<"u"&&C!==null&&C.setVisible(u)},[C,u]),i.useEffect(function(){C==null||C.setAnimation(l)},[C,l]),i.useEffect(function(){C&&S&&(P!==null&&google.maps.event.removeListener(P),ee(google.maps.event.addListener(C,"dblclick",S)))},[S]),i.useEffect(function(){C&&O&&(ie!==null&&google.maps.event.removeListener(ie),te(google.maps.event.addListener(C,"dragend",O)))},[O]),i.useEffect(function(){C&&E&&(se!==null&&google.maps.event.removeListener(se),ne(google.maps.event.addListener(C,"dragstart",E)))},[E]),i.useEffect(function(){C&&I&&(ue!==null&&google.maps.event.removeListener(ue),re(google.maps.event.addListener(C,"mousedown",I)))},[I]),i.useEffect(function(){C&&d&&($!==null&&google.maps.event.removeListener($),me(google.maps.event.addListener(C,"mouseout",d)))},[d]),i.useEffect(function(){C&&R&&(D!==null&&google.maps.event.removeListener(D),Ce(google.maps.event.addListener(C,"mouseover",R)))},[R]),i.useEffect(function(){C&&v&&(Me!==null&&google.maps.event.removeListener(Me),we(google.maps.event.addListener(C,"mouseup",v)))},[v]),i.useEffect(function(){C&&L&&(Te!==null&&google.maps.event.removeListener(Te),st(google.maps.event.addListener(C,"rightclick",L)))},[L]),i.useEffect(function(){C&&x&&(Be!==null&&google.maps.event.removeListener(Be),at(google.maps.event.addListener(C,"click",x)))},[x]),i.useEffect(function(){C&&b&&(ut!==null&&google.maps.event.removeListener(ut),ct(google.maps.event.addListener(C,"drag",b)))},[b]),i.useEffect(function(){C&&U&&(ze!==null&&google.maps.event.removeListener(ze),dt(google.maps.event.addListener(C,"clickable_changed",U)))},[U]),i.useEffect(function(){C&&B&&(Ae!==null&&google.maps.event.removeListener(Ae),gt(google.maps.event.addListener(C,"cursor_changed",B)))},[B]),i.useEffect(function(){C&&G&&(je!==null&&google.maps.event.removeListener(je),mt(google.maps.event.addListener(C,"animation_changed",G)))},[G]),i.useEffect(function(){C&&T&&(Ze!==null&&google.maps.event.removeListener(Ze),Lt(google.maps.event.addListener(C,"draggable_changed",T)))},[T]),i.useEffect(function(){C&&z&&(Ve!==null&&google.maps.event.removeListener(Ve),Ct(google.maps.event.addListener(C,"flat_changed",z)))},[z]),i.useEffect(function(){C&&V&&(Ne!==null&&google.maps.event.removeListener(Ne),bt(google.maps.event.addListener(C,"icon_changed",V)))},[V]),i.useEffect(function(){C&&k&&(We!==null&&google.maps.event.removeListener(We),xt(google.maps.event.addListener(C,"position_changed",k)))},[k]),i.useEffect(function(){C&&N&&(St!==null&&google.maps.event.removeListener(St),wt(google.maps.event.addListener(C,"shape_changed",N)))},[N]),i.useEffect(function(){C&&J&&(Fe!==null&&google.maps.event.removeListener(Fe),Dt(google.maps.event.addListener(C,"title_changed",J)))},[J]),i.useEffect(function(){C&&_&&(He!==null&&google.maps.event.removeListener(He),Ot(google.maps.event.addListener(C,"visible_changed",_)))},[_]),i.useEffect(function(){C&&A&&($e!==null&&google.maps.event.removeListener($e),Ut(google.maps.event.addListener(C,"zindex_changed",A)))},[A]),i.useEffect(function(){var Pe=w(w(w({},n||qe),o?qe:{map:K}),{position:e}),j=new google.maps.Marker(Pe);return o?o.addMarker(j,!!s):j.setMap(K),e&&j.setPosition(e),typeof u<"u"&&j.setVisible(u),typeof a<"u"&&j.setDraggable(a),typeof c<"u"&&j.setClickable(c),typeof p=="string"&&j.setCursor(p),f&&j.setIcon(f),typeof h<"u"&&j.setLabel(h),typeof g<"u"&&j.setOpacity(g),M&&j.setShape(M),typeof m=="string"&&j.setTitle(m),typeof y=="number"&&j.setZIndex(y),S&&ee(google.maps.event.addListener(j,"dblclick",S)),O&&te(google.maps.event.addListener(j,"dragend",O)),E&&ne(google.maps.event.addListener(j,"dragstart",E)),I&&re(google.maps.event.addListener(j,"mousedown",I)),d&&me(google.maps.event.addListener(j,"mouseout",d)),R&&Ce(google.maps.event.addListener(j,"mouseover",R)),v&&we(google.maps.event.addListener(j,"mouseup",v)),L&&st(google.maps.event.addListener(j,"rightclick",L)),x&&at(google.maps.event.addListener(j,"click",x)),b&&ct(google.maps.event.addListener(j,"drag",b)),U&&dt(google.maps.event.addListener(j,"clickable_changed",U)),B&>(google.maps.event.addListener(j,"cursor_changed",B)),G&&mt(google.maps.event.addListener(j,"animation_changed",G)),T&&Lt(google.maps.event.addListener(j,"draggable_changed",T)),z&&Ct(google.maps.event.addListener(j,"flat_changed",z)),V&&bt(google.maps.event.addListener(j,"icon_changed",V)),k&&xt(google.maps.event.addListener(j,"position_changed",k)),N&&wt(google.maps.event.addListener(j,"shape_changed",N)),J&&Dt(google.maps.event.addListener(j,"title_changed",J)),_&&Ot(google.maps.event.addListener(j,"visible_changed",_)),A&&Ut(google.maps.event.addListener(j,"zindex_changed",A)),Q(j),ae&&ae(j),function(){P!==null&&google.maps.event.removeListener(P),ie!==null&&google.maps.event.removeListener(ie),se!==null&&google.maps.event.removeListener(se),ue!==null&&google.maps.event.removeListener(ue),$!==null&&google.maps.event.removeListener($),D!==null&&google.maps.event.removeListener(D),Me!==null&&google.maps.event.removeListener(Me),Te!==null&&google.maps.event.removeListener(Te),Be!==null&&google.maps.event.removeListener(Be),ze!==null&&google.maps.event.removeListener(ze),Ae!==null&&google.maps.event.removeListener(Ae),je!==null&&google.maps.event.removeListener(je),Ze!==null&&google.maps.event.removeListener(Ze),Ve!==null&&google.maps.event.removeListener(Ve),Ne!==null&&google.maps.event.removeListener(Ne),We!==null&&google.maps.event.removeListener(We),Fe!==null&&google.maps.event.removeListener(Fe),He!==null&&google.maps.event.removeListener(He),$e!==null&&google.maps.event.removeListener($e),Y&&Y(j),o?o.removeMarker(j,!!s):j&&j.setMap(null)}},[]);var Fn=i.useMemo(function(){return r?i.Children.map(r,function(Pe){if(!i.isValidElement(Pe))return Pe;var j=Pe;return i.cloneElement(j,{anchor:C})}):null},[r,C]);return pe.jsxRuntimeExports.jsx(pe.jsxRuntimeExports.Fragment,{children:Fn})||null}i.memo(uo);(function(t){X(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n}return e.prototype.componentDidMount=function(){var n=w(w(w({},this.props.options||qe),this.props.clusterer?qe:{map:this.context}),{position:this.props.position});this.marker=new google.maps.Marker(n),this.props.clusterer?this.props.clusterer.addMarker(this.marker,!!this.props.noClustererRedraw):this.marker.setMap(this.context),this.registeredEvents=W({updaterMap:Ht,eventMap:Ft,prevProps:{},nextProps:this.props,instance:this.marker}),this.props.onLoad&&this.props.onLoad(this.marker)},e.prototype.componentDidUpdate=function(n){this.marker&&(H(this.registeredEvents),this.registeredEvents=W({updaterMap:Ht,eventMap:Ft,prevProps:n,nextProps:this.props,instance:this.marker}))},e.prototype.componentWillUnmount=function(){this.marker&&(this.props.onUnmount&&this.props.onUnmount(this.marker),H(this.registeredEvents),this.props.clusterer?this.props.clusterer.removeMarker(this.marker,!!this.props.noClustererRedraw):this.marker&&this.marker.setMap(null))},e.prototype.render=function(){var n=this,o=null;return this.props.children&&(o=i.Children.map(this.props.children,function(s){if(!i.isValidElement(s))return s;var r=s;return i.cloneElement(r,{anchor:n.marker})})),o||null},e.contextType=Z,e})(i.PureComponent);var co=function(){function t(e,n){e.getClusterer().extend(t,google.maps.OverlayView),this.cluster=e,this.clusterClassName=this.cluster.getClusterer().getClusterClass(),this.className=this.clusterClassName,this.styles=n,this.center=void 0,this.div=null,this.sums=null,this.visible=!1,this.boundsChangedListener=null,this.url="",this.height=0,this.width=0,this.anchorText=[0,0],this.anchorIcon=[0,0],this.textColor="black",this.textSize=11,this.textDecoration="none",this.fontWeight="bold",this.fontStyle="normal",this.fontFamily="Arial,sans-serif",this.backgroundPosition="0 0",this.cMouseDownInCluster=null,this.cDraggingMapByCluster=null,this.timeOut=null,this.setMap(e.getMap()),this.onBoundsChanged=this.onBoundsChanged.bind(this),this.onMouseDown=this.onMouseDown.bind(this),this.onClick=this.onClick.bind(this),this.onMouseOver=this.onMouseOver.bind(this),this.onMouseOut=this.onMouseOut.bind(this),this.onAdd=this.onAdd.bind(this),this.onRemove=this.onRemove.bind(this),this.draw=this.draw.bind(this),this.hide=this.hide.bind(this),this.show=this.show.bind(this),this.useStyle=this.useStyle.bind(this),this.setCenter=this.setCenter.bind(this),this.getPosFromLatLng=this.getPosFromLatLng.bind(this)}return t.prototype.onBoundsChanged=function(){this.cDraggingMapByCluster=this.cMouseDownInCluster},t.prototype.onMouseDown=function(){this.cMouseDownInCluster=!0,this.cDraggingMapByCluster=!1},t.prototype.onClick=function(e){if(this.cMouseDownInCluster=!1,!this.cDraggingMapByCluster){var n=this.cluster.getClusterer();if(google.maps.event.trigger(n,"click",this.cluster),google.maps.event.trigger(n,"clusterclick",this.cluster),n.getZoomOnClick()){var o=n.getMaxZoom(),s=this.cluster.getBounds(),r=n.getMap();r!==null&&"fitBounds"in r&&r.fitBounds(s),this.timeOut=window.setTimeout(function(){var a=n.getMap();if(a!==null){"fitBounds"in a&&a.fitBounds(s);var u=a.getZoom()||0;o!==null&&u>o&&a.setZoom(o+1)}},100)}e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation()}},t.prototype.onMouseOver=function(){google.maps.event.trigger(this.cluster.getClusterer(),"mouseover",this.cluster)},t.prototype.onMouseOut=function(){google.maps.event.trigger(this.cluster.getClusterer(),"mouseout",this.cluster)},t.prototype.onAdd=function(){var e;this.div=document.createElement("div"),this.div.className=this.className,this.visible&&this.show(),(e=this.getPanes())===null||e===void 0||e.overlayMouseTarget.appendChild(this.div);var n=this.getMap();n!==null&&(this.boundsChangedListener=google.maps.event.addListener(n,"bounds_changed",this.onBoundsChanged),this.div.addEventListener("mousedown",this.onMouseDown),this.div.addEventListener("click",this.onClick),this.div.addEventListener("mouseover",this.onMouseOver),this.div.addEventListener("mouseout",this.onMouseOut))},t.prototype.onRemove=function(){this.div&&this.div.parentNode&&(this.hide(),this.boundsChangedListener!==null&&google.maps.event.removeListener(this.boundsChangedListener),this.div.removeEventListener("mousedown",this.onMouseDown),this.div.removeEventListener("click",this.onClick),this.div.removeEventListener("mouseover",this.onMouseOver),this.div.removeEventListener("mouseout",this.onMouseOut),this.div.parentNode.removeChild(this.div),this.timeOut!==null&&(window.clearTimeout(this.timeOut),this.timeOut=null),this.div=null)},t.prototype.draw=function(){if(this.visible&&this.div!==null&&this.center){var e=this.getPosFromLatLng(this.center);this.div.style.top=e!==null?"".concat(e.y,"px"):"0",this.div.style.left=e!==null?"".concat(e.x,"px"):"0"}},t.prototype.hide=function(){this.div&&(this.div.style.display="none"),this.visible=!1},t.prototype.show=function(){var e,n,o,s,r,a;if(this.div&&this.center){var u=this.sums===null||typeof this.sums.title>"u"||this.sums.title===""?this.cluster.getClusterer().getTitle():this.sums.title,l=this.backgroundPosition.split(" "),c=parseInt(((e=l[0])===null||e===void 0?void 0:e.replace(/^\s+|\s+$/g,""))||"0",10),p=parseInt(((n=l[1])===null||n===void 0?void 0:n.replace(/^\s+|\s+$/g,""))||"0",10),f=this.getPosFromLatLng(this.center);this.div.className=this.className,this.div.setAttribute("style","cursor: pointer; position: absolute; top: ".concat(f!==null?"".concat(f.y,"px"):"0","; left: ").concat(f!==null?"".concat(f.x,"px"):"0","; width: ").concat(this.width,"px; height: ").concat(this.height,"px; "));var h=document.createElement("img");h.alt=u,h.src=this.url,h.width=this.width,h.height=this.height,h.setAttribute("style","position: absolute; top: ".concat(p,"px; left: ").concat(c,"px")),this.cluster.getClusterer().enableRetinaIcons||(h.style.clip="rect(-".concat(p,"px, -").concat(c+this.width,"px, -").concat(p+this.height,", -").concat(c,")"));var g=document.createElement("div");g.setAttribute("style","position: absolute; top: ".concat(this.anchorText[0],"px; left: ").concat(this.anchorText[1],"px; color: ").concat(this.textColor,"; font-size: ").concat(this.textSize,"px; font-family: ").concat(this.fontFamily,"; font-weight: ").concat(this.fontWeight,"; fontStyle: ").concat(this.fontStyle,"; text-decoration: ").concat(this.textDecoration,"; text-align: center; width: ").concat(this.width,"px; line-height: ").concat(this.height,"px")),!((o=this.sums)===null||o===void 0)&&o.text&&(g.innerText="".concat((s=this.sums)===null||s===void 0?void 0:s.text)),!((r=this.sums)===null||r===void 0)&&r.html&&(g.innerHTML="".concat((a=this.sums)===null||a===void 0?void 0:a.html)),this.div.innerHTML="",this.div.appendChild(h),this.div.appendChild(g),this.div.title=u,this.div.style.display=""}this.visible=!0},t.prototype.useStyle=function(e){this.sums=e;var n=this.cluster.getClusterer().getStyles(),o=n[Math.min(n.length-1,Math.max(0,e.index-1))];o&&(this.url=o.url,this.height=o.height,this.width=o.width,o.className&&(this.className="".concat(this.clusterClassName," ").concat(o.className)),this.anchorText=o.anchorText||[0,0],this.anchorIcon=o.anchorIcon||[this.height/2,this.width/2],this.textColor=o.textColor||"black",this.textSize=o.textSize||11,this.textDecoration=o.textDecoration||"none",this.fontWeight=o.fontWeight||"bold",this.fontStyle=o.fontStyle||"normal",this.fontFamily=o.fontFamily||"Arial,sans-serif",this.backgroundPosition=o.backgroundPosition||"0 0")},t.prototype.setCenter=function(e){this.center=e},t.prototype.getPosFromLatLng=function(e){var n=this.getProjection().fromLatLngToDivPixel(e);return n!==null&&(n.x-=this.anchorIcon[1],n.y-=this.anchorIcon[0]),n},t}(),po=function(){function t(e){this.markerClusterer=e,this.map=this.markerClusterer.getMap(),this.gridSize=this.markerClusterer.getGridSize(),this.minClusterSize=this.markerClusterer.getMinimumClusterSize(),this.averageCenter=this.markerClusterer.getAverageCenter(),this.markers=[],this.center=void 0,this.bounds=null,this.clusterIcon=new co(this,this.markerClusterer.getStyles()),this.getSize=this.getSize.bind(this),this.getMarkers=this.getMarkers.bind(this),this.getCenter=this.getCenter.bind(this),this.getMap=this.getMap.bind(this),this.getClusterer=this.getClusterer.bind(this),this.getBounds=this.getBounds.bind(this),this.remove=this.remove.bind(this),this.addMarker=this.addMarker.bind(this),this.isMarkerInClusterBounds=this.isMarkerInClusterBounds.bind(this),this.calculateBounds=this.calculateBounds.bind(this),this.updateIcon=this.updateIcon.bind(this),this.isMarkerAlreadyAdded=this.isMarkerAlreadyAdded.bind(this)}return t.prototype.getSize=function(){return this.markers.length},t.prototype.getMarkers=function(){return this.markers},t.prototype.getCenter=function(){return this.center},t.prototype.getMap=function(){return this.map},t.prototype.getClusterer=function(){return this.markerClusterer},t.prototype.getBounds=function(){for(var e=new google.maps.LatLngBounds(this.center,this.center),n=this.getMarkers(),o=0,s=n;o<s.length;o++){var r=s[o],a=r.getPosition();a&&e.extend(a)}return e},t.prototype.remove=function(){this.clusterIcon.setMap(null),this.markers=[],delete this.markers},t.prototype.addMarker=function(e){var n;if(this.isMarkerAlreadyAdded(e))return!1;if(this.center){if(this.averageCenter){var o=e.getPosition();if(o){var s=this.markers.length+1;this.center=new google.maps.LatLng((this.center.lat()*(s-1)+o.lat())/s,(this.center.lng()*(s-1)+o.lng())/s),this.calculateBounds()}}}else{var o=e.getPosition();o&&(this.center=o,this.calculateBounds())}e.isAdded=!0,this.markers.push(e);var r=this.markers.length,a=this.markerClusterer.getMaxZoom(),u=(n=this.map)===null||n===void 0?void 0:n.getZoom();if(a!==null&&typeof u<"u"&&u>a)e.getMap()!==this.map&&e.setMap(this.map);else if(r<this.minClusterSize)e.getMap()!==this.map&&e.setMap(this.map);else if(r===this.minClusterSize)for(var l=0,c=this.markers;l<c.length;l++){var p=c[l];p.setMap(null)}else e.setMap(null);return!0},t.prototype.isMarkerInClusterBounds=function(e){if(this.bounds!==null){var n=e.getPosition();if(n)return this.bounds.contains(n)}return!1},t.prototype.calculateBounds=function(){this.bounds=this.markerClusterer.getExtendedBounds(new google.maps.LatLngBounds(this.center,this.center))},t.prototype.updateIcon=function(){var e,n=this.markers.length,o=this.markerClusterer.getMaxZoom(),s=(e=this.map)===null||e===void 0?void 0:e.getZoom();if(o!==null&&typeof s<"u"&&s>o){this.clusterIcon.hide();return}if(n<this.minClusterSize){this.clusterIcon.hide();return}this.center&&this.clusterIcon.setCenter(this.center),this.clusterIcon.useStyle(this.markerClusterer.getCalculator()(this.markers,this.markerClusterer.getStyles().length)),this.clusterIcon.show()},t.prototype.isMarkerAlreadyAdded=function(e){if(this.markers.includes)return this.markers.includes(e);for(var n=0;n<this.markers.length;n++)if(e===this.markers[n])return!0;return!1},t}();function fo(t,e){var n=t.length,o=n.toString().length,s=Math.min(o,e);return{text:n.toString(),index:s,title:""}}var go=2e3,ho=500,mo="https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m",vo="png",Lo=[53,56,66,78,90],yo="cluster",zn=function(){function t(e,n,o){n===void 0&&(n=[]),o===void 0&&(o={}),this.getMinimumClusterSize=this.getMinimumClusterSize.bind(this),this.setMinimumClusterSize=this.setMinimumClusterSize.bind(this),this.getEnableRetinaIcons=this.getEnableRetinaIcons.bind(this),this.setEnableRetinaIcons=this.setEnableRetinaIcons.bind(this),this.addToClosestCluster=this.addToClosestCluster.bind(this),this.getImageExtension=this.getImageExtension.bind(this),this.setImageExtension=this.setImageExtension.bind(this),this.getExtendedBounds=this.getExtendedBounds.bind(this),this.getAverageCenter=this.getAverageCenter.bind(this),this.setAverageCenter=this.setAverageCenter.bind(this),this.getTotalClusters=this.getTotalClusters.bind(this),this.fitMapToMarkers=this.fitMapToMarkers.bind(this),this.getIgnoreHidden=this.getIgnoreHidden.bind(this),this.setIgnoreHidden=this.setIgnoreHidden.bind(this),this.getClusterClass=this.getClusterClass.bind(this),this.setClusterClass=this.setClusterClass.bind(this),this.getTotalMarkers=this.getTotalMarkers.bind(this),this.getZoomOnClick=this.getZoomOnClick.bind(this),this.setZoomOnClick=this.setZoomOnClick.bind(this),this.getBatchSizeIE=this.getBatchSizeIE.bind(this),this.setBatchSizeIE=this.setBatchSizeIE.bind(this),this.createClusters=this.createClusters.bind(this),this.onZoomChanged=this.onZoomChanged.bind(this),this.getImageSizes=this.getImageSizes.bind(this),this.setImageSizes=this.setImageSizes.bind(this),this.getCalculator=this.getCalculator.bind(this),this.setCalculator=this.setCalculator.bind(this),this.removeMarkers=this.removeMarkers.bind(this),this.resetViewport=this.resetViewport.bind(this),this.getImagePath=this.getImagePath.bind(this),this.setImagePath=this.setImagePath.bind(this),this.pushMarkerTo=this.pushMarkerTo.bind(this),this.removeMarker=this.removeMarker.bind(this),this.clearMarkers=this.clearMarkers.bind(this),this.setupStyles=this.setupStyles.bind(this),this.getGridSize=this.getGridSize.bind(this),this.setGridSize=this.setGridSize.bind(this),this.getClusters=this.getClusters.bind(this),this.getMaxZoom=this.getMaxZoom.bind(this),this.setMaxZoom=this.setMaxZoom.bind(this),this.getMarkers=this.getMarkers.bind(this),this.addMarkers=this.addMarkers.bind(this),this.getStyles=this.getStyles.bind(this),this.setStyles=this.setStyles.bind(this),this.addMarker=this.addMarker.bind(this),this.onRemove=this.onRemove.bind(this),this.getTitle=this.getTitle.bind(this),this.setTitle=this.setTitle.bind(this),this.repaint=this.repaint.bind(this),this.onIdle=this.onIdle.bind(this),this.redraw=this.redraw.bind(this),this.onAdd=this.onAdd.bind(this),this.draw=this.draw.bind(this),this.extend=this.extend.bind(this),this.extend(t,google.maps.OverlayView),this.markers=[],this.clusters=[],this.listeners=[],this.activeMap=null,this.ready=!1,this.gridSize=o.gridSize||60,this.minClusterSize=o.minimumClusterSize||2,this.maxZoom=o.maxZoom||null,this.styles=o.styles||[],this.title=o.title||"",this.zoomOnClick=!0,o.zoomOnClick!==void 0&&(this.zoomOnClick=o.zoomOnClick),this.averageCenter=!1,o.averageCenter!==void 0&&(this.averageCenter=o.averageCenter),this.ignoreHidden=!1,o.ignoreHidden!==void 0&&(this.ignoreHidden=o.ignoreHidden),this.enableRetinaIcons=!1,o.enableRetinaIcons!==void 0&&(this.enableRetinaIcons=o.enableRetinaIcons),this.imagePath=o.imagePath||mo,this.imageExtension=o.imageExtension||vo,this.imageSizes=o.imageSizes||Lo,this.calculator=o.calculator||fo,this.batchSize=o.batchSize||go,this.batchSizeIE=o.batchSizeIE||ho,this.clusterClass=o.clusterClass||yo,navigator.userAgent.toLowerCase().indexOf("msie")!==-1&&(this.batchSize=this.batchSizeIE),this.timerRefStatic=null,this.setupStyles(),this.addMarkers(n,!0),this.setMap(e)}return t.prototype.onZoomChanged=function(){var e,n;this.resetViewport(!1),(((e=this.getMap())===null||e===void 0?void 0:e.getZoom())===(this.get("minZoom")||0)||((n=this.getMap())===null||n===void 0?void 0:n.getZoom())===this.get("maxZoom"))&&google.maps.event.trigger(this,"idle")},t.prototype.onIdle=function(){this.redraw()},t.prototype.onAdd=function(){var e=this.getMap();this.activeMap=e,this.ready=!0,this.repaint(),e!==null&&(this.listeners=[google.maps.event.addListener(e,"zoom_changed",this.onZoomChanged),google.maps.event.addListener(e,"idle",this.onIdle)])},t.prototype.onRemove=function(){for(var e=0,n=this.markers;e<n.length;e++){var o=n[e];o.getMap()!==this.activeMap&&o.setMap(this.activeMap)}for(var s=0,r=this.clusters;s<r.length;s++){var a=r[s];a.remove()}this.clusters=[];for(var u=0,l=this.listeners;u<l.length;u++){var c=l[u];google.maps.event.removeListener(c)}this.listeners=[],this.activeMap=null,this.ready=!1},t.prototype.draw=function(){},t.prototype.getMap=function(){return null},t.prototype.getPanes=function(){return null},t.prototype.getProjection=function(){return{fromContainerPixelToLatLng:function(){return null},fromDivPixelToLatLng:function(){return null},fromLatLngToContainerPixel:function(){return null},fromLatLngToDivPixel:function(){return null},getVisibleRegion:function(){return null},getWorldWidth:function(){return 0}}},t.prototype.setMap=function(){},t.prototype.addListener=function(){return{remove:function(){}}},t.prototype.bindTo=function(){},t.prototype.get=function(){},t.prototype.notify=function(){},t.prototype.set=function(){},t.prototype.setValues=function(){},t.prototype.unbind=function(){},t.prototype.unbindAll=function(){},t.prototype.setupStyles=function(){if(!(this.styles.length>0))for(var e=0;e<this.imageSizes.length;e++)this.styles.push({url:"".concat(this.imagePath+(e+1),".").concat(this.imageExtension),height:this.imageSizes[e]||0,width:this.imageSizes[e]||0})},t.prototype.fitMapToMarkers=function(){for(var e=this.getMarkers(),n=new google.maps.LatLngBounds,o=0,s=e;o<s.length;o++){var r=s[o],a=r.getPosition();a&&n.extend(a)}var u=this.getMap();u!==null&&"fitBounds"in u&&u.fitBounds(n)},t.prototype.getGridSize=function(){return this.gridSize},t.prototype.setGridSize=function(e){this.gridSize=e},t.prototype.getMinimumClusterSize=function(){return this.minClusterSize},t.prototype.setMinimumClusterSize=function(e){this.minClusterSize=e},t.prototype.getMaxZoom=function(){return this.maxZoom},t.prototype.setMaxZoom=function(e){this.maxZoom=e},t.prototype.getStyles=function(){return this.styles},t.prototype.setStyles=function(e){this.styles=e},t.prototype.getTitle=function(){return this.title},t.prototype.setTitle=function(e){this.title=e},t.prototype.getZoomOnClick=function(){return this.zoomOnClick},t.prototype.setZoomOnClick=function(e){this.zoomOnClick=e},t.prototype.getAverageCenter=function(){return this.averageCenter},t.prototype.setAverageCenter=function(e){this.averageCenter=e},t.prototype.getIgnoreHidden=function(){return this.ignoreHidden},t.prototype.setIgnoreHidden=function(e){this.ignoreHidden=e},t.prototype.getEnableRetinaIcons=function(){return this.enableRetinaIcons},t.prototype.setEnableRetinaIcons=function(e){this.enableRetinaIcons=e},t.prototype.getImageExtension=function(){return this.imageExtension},t.prototype.setImageExtension=function(e){this.imageExtension=e},t.prototype.getImagePath=function(){return this.imagePath},t.prototype.setImagePath=function(e){this.imagePath=e},t.prototype.getImageSizes=function(){return this.imageSizes},t.prototype.setImageSizes=function(e){this.imageSizes=e},t.prototype.getCalculator=function(){return this.calculator},t.prototype.setCalculator=function(e){this.calculator=e},t.prototype.getBatchSizeIE=function(){return this.batchSizeIE},t.prototype.setBatchSizeIE=function(e){this.batchSizeIE=e},t.prototype.getClusterClass=function(){return this.clusterClass},t.prototype.setClusterClass=function(e){this.clusterClass=e},t.prototype.getMarkers=function(){return this.markers},t.prototype.getTotalMarkers=function(){return this.markers.length},t.prototype.getClusters=function(){return this.clusters},t.prototype.getTotalClusters=function(){return this.clusters.length},t.prototype.addMarker=function(e,n){this.pushMarkerTo(e),n||this.redraw()},t.prototype.addMarkers=function(e,n){for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=e[o];s&&this.pushMarkerTo(s)}n||this.redraw()},t.prototype.pushMarkerTo=function(e){var n=this;e.getDraggable()&&google.maps.event.addListener(e,"dragend",function(){n.ready&&(e.isAdded=!1,n.repaint())}),e.isAdded=!1,this.markers.push(e)},t.prototype.removeMarker_=function(e){var n=-1;if(this.markers.indexOf)n=this.markers.indexOf(e);else for(var o=0;o<this.markers.length;o++)if(e===this.markers[o]){n=o;break}return n===-1?!1:(e.setMap(null),this.markers.splice(n,1),!0)},t.prototype.removeMarker=function(e,n){var o=this.removeMarker_(e);return!n&&o&&this.repaint(),o},t.prototype.removeMarkers=function(e,n){for(var o=!1,s=0,r=e;s<r.length;s++){var a=r[s];o=o||this.removeMarker_(a)}return!n&&o&&this.repaint(),o},t.prototype.clearMarkers=function(){this.resetViewport(!0),this.markers=[]},t.prototype.repaint=function(){var e=this.clusters.slice();this.clusters=[],this.resetViewport(!1),this.redraw(),setTimeout(function(){for(var o=0,s=e;o<s.length;o++){var r=s[o];r.remove()}},0)},t.prototype.getExtendedBounds=function(e){var n=this.getProjection(),o=n.fromLatLngToDivPixel(new google.maps.LatLng(e.getNorthEast().lat(),e.getNorthEast().lng()));o!==null&&(o.x+=this.gridSize,o.y-=this.gridSize);var s=n.fromLatLngToDivPixel(new google.maps.LatLng(e.getSouthWest().lat(),e.getSouthWest().lng()));if(s!==null&&(s.x-=this.gridSize,s.y+=this.gridSize),o!==null){var r=n.fromDivPixelToLatLng(o);r!==null&&e.extend(r)}if(s!==null){var a=n.fromDivPixelToLatLng(s);a!==null&&e.extend(a)}return e},t.prototype.redraw=function(){this.createClusters(0)},t.prototype.resetViewport=function(e){for(var n=0,o=this.clusters;n<o.length;n++){var s=o[n];s.remove()}this.clusters=[];for(var r=0,a=this.markers;r<a.length;r++){var u=a[r];u.isAdded=!1,e&&u.setMap(null)}},t.prototype.distanceBetweenPoints=function(e,n){var o=6371,s=(n.lat()-e.lat())*Math.PI/180,r=(n.lng()-e.lng())*Math.PI/180,a=Math.sin(s/2)*Math.sin(s/2)+Math.cos(e.lat()*Math.PI/180)*Math.cos(n.lat()*Math.PI/180)*Math.sin(r/2)*Math.sin(r/2);return o*(2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a)))},t.prototype.isMarkerInBounds=function(e,n){var o=e.getPosition();return o?n.contains(o):!1},t.prototype.addToClosestCluster=function(e){for(var n,o=4e4,s=null,r=0,a=this.clusters;r<a.length;r++){var u=a[r];n=u;var l=n.getCenter(),c=e.getPosition();if(l&&c){var p=this.distanceBetweenPoints(l,c);p<o&&(o=p,s=n)}}s&&s.isMarkerInClusterBounds(e)?s.addMarker(e):(n=new po(this),n.addMarker(e),this.clusters.push(n))},t.prototype.createClusters=function(e){var n=this;if(this.ready){e===0&&(google.maps.event.trigger(this,"clusteringbegin",this),this.timerRefStatic!==null&&(window.clearTimeout(this.timerRefStatic),delete this.timerRefStatic));for(var o=this.getMap(),s=o!==null&&("getBounds"in o)?o.getBounds():null,r=(o==null?void 0:o.getZoom())||0,a=r>3?new google.maps.LatLngBounds(s==null?void 0:s.getSouthWest(),s==null?void 0:s.getNorthEast()):new google.maps.LatLngBounds(new google.maps.LatLng(85.02070771743472,-178.48388434375),new google.maps.LatLng(-85.08136444384544,178.00048865625)),u=this.getExtendedBounds(a),l=Math.min(e+this.batchSize,this.markers.length),c=e;c<l;c++){var p=this.markers[c];p&&!p.isAdded&&this.isMarkerInBounds(p,u)&&(!this.ignoreHidden||this.ignoreHidden&&p.getVisible())&&this.addToClosestCluster(p)}if(l<this.markers.length)this.timerRefStatic=window.setTimeout(function(){n.createClusters(l)},0);else{this.timerRefStatic=null,google.maps.event.trigger(this,"clusteringend",this);for(var f=0,h=this.clusters;f<h.length;f++){var g=h[f];g.updateIcon()}}}},t.prototype.extend=function(e,n){return(function(s){for(var r in s.prototype){var a=r;this.prototype[a]=s.prototype[a]}return this}).apply(e,[n])},t}(),ye={onClick:"click",onClusteringBegin:"clusteringbegin",onClusteringEnd:"clusteringend",onMouseOut:"mouseout",onMouseOver:"mouseover"},q={averageCenter:function(t,e){t.setAverageCenter(e)},batchSizeIE:function(t,e){t.setBatchSizeIE(e)},calculator:function(t,e){t.setCalculator(e)},clusterClass:function(t,e){t.setClusterClass(e)},enableRetinaIcons:function(t,e){t.setEnableRetinaIcons(e)},gridSize:function(t,e){t.setGridSize(e)},ignoreHidden:function(t,e){t.setIgnoreHidden(e)},imageExtension:function(t,e){t.setImageExtension(e)},imagePath:function(t,e){t.setImagePath(e)},imageSizes:function(t,e){t.setImageSizes(e)},maxZoom:function(t,e){t.setMaxZoom(e)},minimumClusterSize:function(t,e){t.setMinimumClusterSize(e)},styles:function(t,e){t.setStyles(e)},title:function(t,e){t.setTitle(e)},zoomOnClick:function(t,e){t.setZoomOnClick(e)}},Co={};function Mo(t){var e=t.children,n=t.options,o=t.averageCenter,s=t.batchSizeIE,r=t.calculator,a=t.clusterClass,u=t.enableRetinaIcons,l=t.gridSize,c=t.ignoreHidden,p=t.imageExtension,f=t.imagePath,h=t.imageSizes,g=t.maxZoom,M=t.minimumClusterSize,m=t.styles,y=t.title,x=t.zoomOnClick,S=t.onClick,b=t.onClusteringBegin,O=t.onClusteringEnd,E=t.onMouseOver,d=t.onMouseOut,R=t.onLoad,v=t.onUnmount,I=i.useState(null),L=I[0],U=I[1],B=i.useContext(Z),G=i.useState(null),T=G[0],z=G[1],V=i.useState(null),k=V[0],N=V[1],J=i.useState(null),_=J[0],A=J[1],ae=i.useState(null),Y=ae[0],K=ae[1],le=i.useState(null),C=le[0],Q=le[1];return i.useEffect(function(){L&&d&&(Y!==null&&google.maps.event.removeListener(Y),K(google.maps.event.addListener(L,ye.onMouseOut,d)))},[d]),i.useEffect(function(){L&&E&&(C!==null&&google.maps.event.removeListener(C),Q(google.maps.event.addListener(L,ye.onMouseOver,E)))},[E]),i.useEffect(function(){L&&S&&(T!==null&&google.maps.event.removeListener(T),z(google.maps.event.addListener(L,ye.onClick,S)))},[S]),i.useEffect(function(){L&&b&&(k!==null&&google.maps.event.removeListener(k),N(google.maps.event.addListener(L,ye.onClusteringBegin,b)))},[b]),i.useEffect(function(){L&&O&&(_!==null&&google.maps.event.removeListener(_),N(google.maps.event.addListener(L,ye.onClusteringEnd,O)))},[O]),i.useEffect(function(){typeof o<"u"&&L!==null&&q.averageCenter(L,o)},[L,o]),i.useEffect(function(){typeof s<"u"&&L!==null&&q.batchSizeIE(L,s)},[L,s]),i.useEffect(function(){typeof r<"u"&&L!==null&&q.calculator(L,r)},[L,r]),i.useEffect(function(){typeof a<"u"&&L!==null&&q.clusterClass(L,a)},[L,a]),i.useEffect(function(){typeof u<"u"&&L!==null&&q.enableRetinaIcons(L,u)},[L,u]),i.useEffect(function(){typeof l<"u"&&L!==null&&q.gridSize(L,l)},[L,l]),i.useEffect(function(){typeof c<"u"&&L!==null&&q.ignoreHidden(L,c)},[L,c]),i.useEffect(function(){typeof p<"u"&&L!==null&&q.imageExtension(L,p)},[L,p]),i.useEffect(function(){typeof f<"u"&&L!==null&&q.imagePath(L,f)},[L,f]),i.useEffect(function(){typeof h<"u"&&L!==null&&q.imageSizes(L,h)},[L,h]),i.useEffect(function(){typeof g<"u"&&L!==null&&q.maxZoom(L,g)},[L,g]),i.useEffect(function(){typeof M<"u"&&L!==null&&q.minimumClusterSize(L,M)},[L,M]),i.useEffect(function(){typeof m<"u"&&L!==null&&q.styles(L,m)},[L,m]),i.useEffect(function(){typeof y<"u"&&L!==null&&q.title(L,y)},[L,y]),i.useEffect(function(){typeof x<"u"&&L!==null&&q.zoomOnClick(L,x)},[L,x]),i.useEffect(function(){if(B){var ce=w({},n||Co),P=new zn(B,[],ce);return o&&q.averageCenter(P,o),s&&q.batchSizeIE(P,s),r&&q.calculator(P,r),a&&q.clusterClass(P,a),u&&q.enableRetinaIcons(P,u),l&&q.gridSize(P,l),c&&q.ignoreHidden(P,c),p&&q.imageExtension(P,p),f&&q.imagePath(P,f),h&&q.imageSizes(P,h),g&&q.maxZoom(P,g),M&&q.minimumClusterSize(P,M),m&&q.styles(P,m),y&&q.title(P,y),x&&q.zoomOnClick(P,x),d&&K(google.maps.event.addListener(P,ye.onMouseOut,d)),E&&Q(google.maps.event.addListener(P,ye.onMouseOver,E)),S&&z(google.maps.event.addListener(P,ye.onClick,S)),b&&N(google.maps.event.addListener(P,ye.onClusteringBegin,b)),O&&A(google.maps.event.addListener(P,ye.onClusteringEnd,O)),U(P),R&&R(P),function(){Y!==null&&google.maps.event.removeListener(Y),C!==null&&google.maps.event.removeListener(C),T!==null&&google.maps.event.removeListener(T),k!==null&&google.maps.event.removeListener(k),_!==null&&google.maps.event.removeListener(_),v&&v(P)}}},[]),L!==null&&e(L)||null}i.memo(Mo);(function(t){X(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={markerClusterer:null},n.setClustererCallback=function(){n.state.markerClusterer!==null&&n.props.onLoad&&n.props.onLoad(n.state.markerClusterer)},n}return e.prototype.componentDidMount=function(){if(this.context){var n=new zn(this.context,[],this.props.options);this.registeredEvents=W({updaterMap:q,eventMap:ye,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{markerClusterer:n}},this.setClustererCallback)}},e.prototype.componentDidUpdate=function(n){this.state.markerClusterer&&(H(this.registeredEvents),this.registeredEvents=W({updaterMap:q,eventMap:ye,prevProps:n,nextProps:this.props,instance:this.state.markerClusterer}))},e.prototype.componentWillUnmount=function(){this.state.markerClusterer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.markerClusterer),H(this.registeredEvents),this.state.markerClusterer.setMap(null))},e.prototype.render=function(){return this.state.markerClusterer!==null?this.props.children(this.state.markerClusterer):null},e.contextType=Z,e})(i.PureComponent);function $t(t){t.cancelBubble=!0,t.stopPropagation&&t.stopPropagation()}var An=function(){function t(e){e===void 0&&(e={}),this.getCloseClickHandler=this.getCloseClickHandler.bind(this),this.closeClickHandler=this.closeClickHandler.bind(this),this.createInfoBoxDiv=this.createInfoBoxDiv.bind(this),this.addClickHandler=this.addClickHandler.bind(this),this.getCloseBoxImg=this.getCloseBoxImg.bind(this),this.getBoxWidths=this.getBoxWidths.bind(this),this.setBoxStyle=this.setBoxStyle.bind(this),this.setPosition=this.setPosition.bind(this),this.getPosition=this.getPosition.bind(this),this.setOptions=this.setOptions.bind(this),this.setContent=this.setContent.bind(this),this.setVisible=this.setVisible.bind(this),this.getContent=this.getContent.bind(this),this.getVisible=this.getVisible.bind(this),this.setZIndex=this.setZIndex.bind(this),this.getZIndex=this.getZIndex.bind(this),this.onRemove=this.onRemove.bind(this),this.panBox=this.panBox.bind(this),this.extend=this.extend.bind(this),this.close=this.close.bind(this),this.draw=this.draw.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.open=this.open.bind(this),this.extend(t,google.maps.OverlayView),this.content=e.content||"",this.disableAutoPan=e.disableAutoPan||!1,this.maxWidth=e.maxWidth||0,this.pixelOffset=e.pixelOffset||new google.maps.Size(0,0),this.position=e.position||new google.maps.LatLng(0,0),this.zIndex=e.zIndex||null,this.boxClass=e.boxClass||"infoBox",this.boxStyle=e.boxStyle||{},this.closeBoxMargin=e.closeBoxMargin||"2px",this.closeBoxURL=e.closeBoxURL||"http://www.google.com/intl/en_us/mapfiles/close.gif",e.closeBoxURL===""&&(this.closeBoxURL=""),this.infoBoxClearance=e.infoBoxClearance||new google.maps.Size(1,1),typeof e.visible>"u"&&(typeof e.isHidden>"u"?e.visible=!0:e.visible=!e.isHidden),this.isHidden=!e.visible,this.alignBottom=e.alignBottom||!1,this.pane=e.pane||"floatPane",this.enableEventPropagation=e.enableEventPropagation||!1,this.div=null,this.closeListener=null,this.moveListener=null,this.mapListener=null,this.contextListener=null,this.eventListeners=null,this.fixedWidthSet=null}return t.prototype.createInfoBoxDiv=function(){var e=this,n=function(c){c.returnValue=!1,c.preventDefault&&c.preventDefault(),e.enableEventPropagation||$t(c)};if(!this.div){this.div=document.createElement("div"),this.setBoxStyle(),typeof this.content=="string"?this.div.innerHTML=this.getCloseBoxImg()+this.content:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(this.content));var o=this.getPanes();if(o!==null&&o[this.pane].appendChild(this.div),this.addClickHandler(),this.div.style.width)this.fixedWidthSet=!0;else if(this.maxWidth!==0&&this.div.offsetWidth>this.maxWidth)this.div.style.width=this.maxWidth+"px",this.fixedWidthSet=!0;else{var s=this.getBoxWidths();this.div.style.width=this.div.offsetWidth-s.left-s.right+"px",this.fixedWidthSet=!1}if(this.panBox(this.disableAutoPan),!this.enableEventPropagation){this.eventListeners=[];for(var r=["mousedown","mouseover","mouseout","mouseup","click","dblclick","touchstart","touchend","touchmove"],a=0,u=r;a<u.length;a++){var l=u[a];this.eventListeners.push(google.maps.event.addListener(this.div,l,$t))}this.eventListeners.push(google.maps.event.addListener(this.div,"mouseover",function(){e.div&&(e.div.style.cursor="default")}))}this.contextListener=google.maps.event.addListener(this.div,"contextmenu",n),google.maps.event.trigger(this,"domready")}},t.prototype.getCloseBoxImg=function(){var e="";return this.closeBoxURL!==""&&(e='<img alt=""',e+=' aria-hidden="true"',e+=" src='"+this.closeBoxURL+"'",e+=" align=right",e+=" style='",e+=" position: relative;",e+=" cursor: pointer;",e+=" margin: "+this.closeBoxMargin+";",e+="'>"),e},t.prototype.addClickHandler=function(){this.closeListener=this.div&&this.div.firstChild&&this.closeBoxURL!==""?google.maps.event.addListener(this.div.firstChild,"click",this.getCloseClickHandler()):null},t.prototype.closeClickHandler=function(e){e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation(),google.maps.event.trigger(this,"closeclick"),this.close()},t.prototype.getCloseClickHandler=function(){return this.closeClickHandler},t.prototype.panBox=function(e){if(this.div&&!e){var n=this.getMap();if(n instanceof google.maps.Map){var o=0,s=0,r=n.getBounds();r&&!r.contains(this.position)&&n.setCenter(this.position);var a=n.getDiv(),u=a.offsetWidth,l=a.offsetHeight,c=this.pixelOffset.width,p=this.pixelOffset.height,f=this.div.offsetWidth,h=this.div.offsetHeight,g=this.infoBoxClearance.width,M=this.infoBoxClearance.height,m=this.getProjection(),y=m.fromLatLngToContainerPixel(this.position);y!==null&&(y.x<-c+g?o=y.x+c-g:y.x+f+c+g>u&&(o=y.x+f+c+g-u),this.alignBottom?y.y<-p+M+h?s=y.y+p-M-h:y.y+p+M>l&&(s=y.y+p+M-l):y.y<-p+M?s=y.y+p-M:y.y+h+p+M>l&&(s=y.y+h+p+M-l)),o===0&&s===0||n.panBy(o,s)}}},t.prototype.setBoxStyle=function(){if(this.div){this.div.className=this.boxClass,this.div.style.cssText="";var e=this.boxStyle;for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(this.div.style[n]=e[n]);if(this.div.style.webkitTransform="translateZ(0)",typeof this.div.style.opacity<"u"&&this.div.style.opacity!==""){var o=parseFloat(this.div.style.opacity||"");this.div.style.msFilter='"progid:DXImageTransform.Microsoft.Alpha(Opacity='+o*100+')"',this.div.style.filter="alpha(opacity="+o*100+")"}this.div.style.position="absolute",this.div.style.visibility="hidden",this.zIndex!==null&&(this.div.style.zIndex=this.zIndex+""),this.div.style.overflow||(this.div.style.overflow="auto")}},t.prototype.getBoxWidths=function(){var e={top:0,bottom:0,left:0,right:0};if(!this.div)return e;if(document.defaultView){var n=this.div.ownerDocument,o=n&&n.defaultView?n.defaultView.getComputedStyle(this.div,""):null;o&&(e.top=parseInt(o.borderTopWidth||"",10)||0,e.bottom=parseInt(o.borderBottomWidth||"",10)||0,e.left=parseInt(o.borderLeftWidth||"",10)||0,e.right=parseInt(o.borderRightWidth||"",10)||0)}else if(document.documentElement.currentStyle){var s=this.div.currentStyle;s&&(e.top=parseInt(s.borderTopWidth||"",10)||0,e.bottom=parseInt(s.borderBottomWidth||"",10)||0,e.left=parseInt(s.borderLeftWidth||"",10)||0,e.right=parseInt(s.borderRightWidth||"",10)||0)}return e},t.prototype.onRemove=function(){this.div&&this.div.parentNode&&(this.div.parentNode.removeChild(this.div),this.div=null)},t.prototype.draw=function(){if(this.createInfoBoxDiv(),this.div){var e=this.getProjection(),n=e.fromLatLngToDivPixel(this.position);n!==null&&(this.div.style.left=n.x+this.pixelOffset.width+"px",this.alignBottom?this.div.style.bottom=-(n.y+this.pixelOffset.height)+"px":this.div.style.top=n.y+this.pixelOffset.height+"px"),this.isHidden?this.div.style.visibility="hidden":this.div.style.visibility="visible"}},t.prototype.setOptions=function(e){e===void 0&&(e={}),typeof e.boxClass<"u"&&(this.boxClass=e.boxClass,this.setBoxStyle()),typeof e.boxStyle<"u"&&(this.boxStyle=e.boxStyle,this.setBoxStyle()),typeof e.content<"u"&&this.setContent(e.content),typeof e.disableAutoPan<"u"&&(this.disableAutoPan=e.disableAutoPan),typeof e.maxWidth<"u"&&(this.maxWidth=e.maxWidth),typeof e.pixelOffset<"u"&&(this.pixelOffset=e.pixelOffset),typeof e.alignBottom<"u"&&(this.alignBottom=e.alignBottom),typeof e.position<"u"&&this.setPosition(e.position),typeof e.zIndex<"u"&&this.setZIndex(e.zIndex),typeof e.closeBoxMargin<"u"&&(this.closeBoxMargin=e.closeBoxMargin),typeof e.closeBoxURL<"u"&&(this.closeBoxURL=e.closeBoxURL),typeof e.infoBoxClearance<"u"&&(this.infoBoxClearance=e.infoBoxClearance),typeof e.isHidden<"u"&&(this.isHidden=e.isHidden),typeof e.visible<"u"&&(this.isHidden=!e.visible),typeof e.enableEventPropagation<"u"&&(this.enableEventPropagation=e.enableEventPropagation),this.div&&this.draw()},t.prototype.setContent=function(e){this.content=e,this.div&&(this.closeListener&&(google.maps.event.removeListener(this.closeListener),this.closeListener=null),this.fixedWidthSet||(this.div.style.width=""),typeof e=="string"?this.div.innerHTML=this.getCloseBoxImg()+e:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(e)),this.fixedWidthSet||(this.div.style.width=this.div.offsetWidth+"px",typeof e=="string"?this.div.innerHTML=this.getCloseBoxImg()+e:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(e))),this.addClickHandler()),google.maps.event.trigger(this,"content_changed")},t.prototype.setPosition=function(e){this.position=e,this.div&&this.draw(),google.maps.event.trigger(this,"position_changed")},t.prototype.setVisible=function(e){this.isHidden=!e,this.div&&(this.div.style.visibility=this.isHidden?"hidden":"visible")},t.prototype.setZIndex=function(e){this.zIndex=e,this.div&&(this.div.style.zIndex=e+""),google.maps.event.trigger(this,"zindex_changed")},t.prototype.getContent=function(){return this.content},t.prototype.getPosition=function(){return this.position},t.prototype.getZIndex=function(){return this.zIndex},t.prototype.getVisible=function(){var e=this.getMap();return typeof e>"u"||e===null?!1:!this.isHidden},t.prototype.show=function(){this.isHidden=!1,this.div&&(this.div.style.visibility="visible")},t.prototype.hide=function(){this.isHidden=!0,this.div&&(this.div.style.visibility="hidden")},t.prototype.open=function(e,n){var o=this;n&&(this.position=n.getPosition(),this.moveListener=google.maps.event.addListener(n,"position_changed",function(){var s=n.getPosition();o.setPosition(s)}),this.mapListener=google.maps.event.addListener(n,"map_changed",function(){o.setMap(n.map)})),this.setMap(e),this.div&&this.panBox()},t.prototype.close=function(){if(this.closeListener&&(google.maps.event.removeListener(this.closeListener),this.closeListener=null),this.eventListeners){for(var e=0,n=this.eventListeners;e<n.length;e++){var o=n[e];google.maps.event.removeListener(o)}this.eventListeners=null}this.moveListener&&(google.maps.event.removeListener(this.moveListener),this.moveListener=null),this.mapListener&&(google.maps.event.removeListener(this.mapListener),this.mapListener=null),this.contextListener&&(google.maps.event.removeListener(this.contextListener),this.contextListener=null),this.setMap(null)},t.prototype.extend=function(e,n){return(function(s){for(var r in s.prototype)Object.prototype.hasOwnProperty.call(this,r)||(this.prototype[r]=s.prototype[r]);return this}).apply(e,[n])},t}(),Gt={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},_t={options:function(t,e){t.setOptions(e)},position:function(t,e){e instanceof google.maps.LatLng?t.setPosition(e):t.setPosition(new google.maps.LatLng(e.lat,e.lng))},visible:function(t,e){t.setVisible(e)},zIndex:function(t,e){t.setZIndex(e)}},bo={};function Eo(t){var e=t.children,n=t.anchor,o=t.options,s=t.position,r=t.zIndex,a=t.onCloseClick,u=t.onDomReady,l=t.onContentChanged,c=t.onPositionChanged,p=t.onZindexChanged,f=t.onLoad,h=t.onUnmount,g=i.useContext(Z),M=i.useState(null),m=M[0],y=M[1],x=i.useState(null),S=x[0],b=x[1],O=i.useState(null),E=O[0],d=O[1],R=i.useState(null),v=R[0],I=R[1],L=i.useState(null),U=L[0],B=L[1],G=i.useState(null),T=G[0],z=G[1],V=i.useRef(null);return i.useEffect(function(){g&&m!==null&&(m.close(),n?m.open(g,n):m.getPosition()&&m.open(g))},[g,m,n]),i.useEffect(function(){o&&m!==null&&m.setOptions(o)},[m,o]),i.useEffect(function(){if(s&&m!==null){var k=s instanceof google.maps.LatLng?s:new google.maps.LatLng(s.lat,s.lng);m.setPosition(k)}},[s]),i.useEffect(function(){typeof r=="number"&&m!==null&&m.setZIndex(r)},[r]),i.useEffect(function(){m&&a&&(S!==null&&google.maps.event.removeListener(S),b(google.maps.event.addListener(m,"closeclick",a)))},[a]),i.useEffect(function(){m&&u&&(E!==null&&google.maps.event.removeListener(E),d(google.maps.event.addListener(m,"domready",u)))},[u]),i.useEffect(function(){m&&l&&(v!==null&&google.maps.event.removeListener(v),I(google.maps.event.addListener(m,"content_changed",l)))},[l]),i.useEffect(function(){m&&c&&(U!==null&&google.maps.event.removeListener(U),B(google.maps.event.addListener(m,"position_changed",c)))},[c]),i.useEffect(function(){m&&p&&(T!==null&&google.maps.event.removeListener(T),z(google.maps.event.addListener(m,"zindex_changed",p)))},[p]),i.useEffect(function(){if(g){var k=o||bo,N=k.position,J=nt(k,["position"]),_=void 0;N&&!(N instanceof google.maps.LatLng)&&(_=new google.maps.LatLng(N.lat,N.lng));var A=new An(w(w({},J),_?{position:_}:{}));V.current=document.createElement("div"),y(A),a&&b(google.maps.event.addListener(A,"closeclick",a)),u&&d(google.maps.event.addListener(A,"domready",u)),l&&I(google.maps.event.addListener(A,"content_changed",l)),c&&B(google.maps.event.addListener(A,"position_changed",c)),p&&z(google.maps.event.addListener(A,"zindex_changed",p)),A.setContent(V.current),n?A.open(g,n):A.getPosition()?A.open(g):de(!1,"You must provide either an anchor or a position prop for <InfoBox>."),f&&f(A)}return function(){m!==null&&(S&&google.maps.event.removeListener(S),v&&google.maps.event.removeListener(v),E&&google.maps.event.removeListener(E),U&&google.maps.event.removeListener(U),T&&google.maps.event.removeListener(T),h&&h(m),m.close())}},[]),V.current?Ue.createPortal(i.Children.only(e),V.current):null}i.memo(Eo);(function(t){X(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.containerElement=null,n.state={infoBox:null},n.open=function(o,s){s?n.context!==null&&o.open(n.context,s):o.getPosition()?n.context!==null&&o.open(n.context):de(!1,"You must provide either an anchor or a position prop for <InfoBox>.")},n.setInfoBoxCallback=function(){n.state.infoBox!==null&&n.containerElement!==null&&(n.state.infoBox.setContent(n.containerElement),n.open(n.state.infoBox,n.props.anchor),n.props.onLoad&&n.props.onLoad(n.state.infoBox))},n}return e.prototype.componentDidMount=function(){var n=this.props.options||{},o=n.position,s=nt(n,["position"]),r;o&&!(o instanceof google.maps.LatLng)&&(r=new google.maps.LatLng(o.lat,o.lng));var a=new An(w(w({},s),r?{position:r}:{}));this.containerElement=document.createElement("div"),this.registeredEvents=W({updaterMap:_t,eventMap:Gt,prevProps:{},nextProps:this.props,instance:a}),this.setState({infoBox:a},this.setInfoBoxCallback)},e.prototype.componentDidUpdate=function(n){var o=this.state.infoBox;o!==null&&(H(this.registeredEvents),this.registeredEvents=W({updaterMap:_t,eventMap:Gt,prevProps:n,nextProps:this.props,instance:o}))},e.prototype.componentWillUnmount=function(){var n=this.props.onUnmount,o=this.state.infoBox;o!==null&&(n&&n(o),H(this.registeredEvents),o.close())},e.prototype.render=function(){return this.containerElement?Ue.createPortal(i.Children.only(this.props.children),this.containerElement):null},e.contextType=Z,e})(i.PureComponent);var xo=function t(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var o,s,r;if(Array.isArray(e)){if(o=e.length,o!=n.length)return!1;for(s=o;s--!==0;)if(!t(e[s],n[s]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(r=Object.keys(e),o=r.length,o!==Object.keys(n).length)return!1;for(s=o;s--!==0;)if(!Object.prototype.hasOwnProperty.call(n,r[s]))return!1;for(s=o;s--!==0;){var a=r[s];if(!t(e[a],n[a]))return!1}return!0}return e!==e&&n!==n},qt=Dn(xo);const Kt=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],Ke=1,Ie=8;class ot{static from(e){if(!(e instanceof ArrayBuffer))throw new Error("Data must be an instance of ArrayBuffer.");const[n,o]=new Uint8Array(e,0,2);if(n!==219)throw new Error("Data does not appear to be in a KDBush format.");const s=o>>4;if(s!==Ke)throw new Error(`Got v${s} data when expected v${Ke}.`);const r=Kt[o&15];if(!r)throw new Error("Unrecognized array type.");const[a]=new Uint16Array(e,2,1),[u]=new Uint32Array(e,4,1);return new ot(u,a,r,e)}constructor(e,n=64,o=Float64Array,s){if(isNaN(e)||e<0)throw new Error(`Unpexpected numItems value: ${e}.`);this.numItems=+e,this.nodeSize=Math.min(Math.max(+n,2),65535),this.ArrayType=o,this.IndexArrayType=e<65536?Uint16Array:Uint32Array;const r=Kt.indexOf(this.ArrayType),a=e*2*this.ArrayType.BYTES_PER_ELEMENT,u=e*this.IndexArrayType.BYTES_PER_ELEMENT,l=(8-u%8)%8;if(r<0)throw new Error(`Unexpected typed array class: ${o}.`);s&&s instanceof ArrayBuffer?(this.data=s,this.ids=new this.IndexArrayType(this.data,Ie,e),this.coords=new this.ArrayType(this.data,Ie+u+l,e*2),this._pos=e*2,this._finished=!0):(this.data=new ArrayBuffer(Ie+a+u+l),this.ids=new this.IndexArrayType(this.data,Ie,e),this.coords=new this.ArrayType(this.data,Ie+u+l,e*2),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,(Ke<<4)+r]),new Uint16Array(this.data,2,1)[0]=n,new Uint32Array(this.data,4,1)[0]=e)}add(e,n){const o=this._pos>>1;return this.ids[o]=o,this.coords[this._pos++]=e,this.coords[this._pos++]=n,o}finish(){const e=this._pos>>1;if(e!==this.numItems)throw new Error(`Added ${e} items when expected ${this.numItems}.`);return et(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(e,n,o,s){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:r,coords:a,nodeSize:u}=this,l=[0,r.length-1,0],c=[];for(;l.length;){const p=l.pop()||0,f=l.pop()||0,h=l.pop()||0;if(f-h<=u){for(let y=h;y<=f;y++){const x=a[2*y],S=a[2*y+1];x>=e&&x<=o&&S>=n&&S<=s&&c.push(r[y])}continue}const g=h+f>>1,M=a[2*g],m=a[2*g+1];M>=e&&M<=o&&m>=n&&m<=s&&c.push(r[g]),(p===0?e<=M:n<=m)&&(l.push(h),l.push(g-1),l.push(1-p)),(p===0?o>=M:s>=m)&&(l.push(g+1),l.push(f),l.push(1-p))}return c}within(e,n,o){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:s,coords:r,nodeSize:a}=this,u=[0,s.length-1,0],l=[],c=o*o;for(;u.length;){const p=u.pop()||0,f=u.pop()||0,h=u.pop()||0;if(f-h<=a){for(let y=h;y<=f;y++)Jt(r[2*y],r[2*y+1],e,n)<=c&&l.push(s[y]);continue}const g=h+f>>1,M=r[2*g],m=r[2*g+1];Jt(M,m,e,n)<=c&&l.push(s[g]),(p===0?e-o<=M:n-o<=m)&&(u.push(h),u.push(g-1),u.push(1-p)),(p===0?e+o>=M:n+o>=m)&&(u.push(g+1),u.push(f),u.push(1-p))}return l}}function et(t,e,n,o,s,r){if(s-o<=n)return;const a=o+s>>1;jn(t,e,a,o,s,r),et(t,e,n,o,a-1,1-r),et(t,e,n,a+1,s,1-r)}function jn(t,e,n,o,s,r){for(;s>o;){if(s-o>600){const c=s-o+1,p=n-o+1,f=Math.log(c),h=.5*Math.exp(2*f/3),g=.5*Math.sqrt(f*h*(c-h)/c)*(p-c/2<0?-1:1),M=Math.max(o,Math.floor(n-p*h/c+g)),m=Math.min(s,Math.floor(n+(c-p)*h/c+g));jn(t,e,n,M,m,r)}const a=e[2*n+r];let u=o,l=s;for(Oe(t,e,o,n),e[2*s+r]>a&&Oe(t,e,o,s);u<l;){for(Oe(t,e,u,l),u++,l--;e[2*u+r]<a;)u++;for(;e[2*l+r]>a;)l--}e[2*o+r]===a?Oe(t,e,o,l):(l++,Oe(t,e,l,s)),l<=n&&(o=l+1),n<=l&&(s=l-1)}}function Oe(t,e,n,o){Je(t,n,o),Je(e,2*n,2*o),Je(e,2*n+1,2*o+1)}function Je(t,e,n){const o=t[e];t[e]=t[n],t[n]=o}function Jt(t,e,n,o){const s=t-n,r=e-o;return s*s+r*r}const ko={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:t=>t},Yt=Math.fround||(t=>e=>(t[0]=+e,t[0]))(new Float32Array(1)),xe=2,Ee=3,Ye=4,be=5,Zn=6;class So{constructor(e){this.options=Object.assign(Object.create(ko),e),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}load(e){const{log:n,minZoom:o,maxZoom:s}=this.options;n&&console.time("total time");const r=`prepare ${e.length} points`;n&&console.time(r),this.points=e;const a=[];for(let l=0;l<e.length;l++){const c=e[l];if(!c.geometry)continue;const[p,f]=c.geometry.coordinates,h=Yt(Ge(p)),g=Yt(_e(f));a.push(h,g,1/0,l,-1,1),this.options.reduce&&a.push(0)}let u=this.trees[s+1]=this._createTree(a);n&&console.timeEnd(r);for(let l=s;l>=o;l--){const c=+Date.now();u=this.trees[l]=this._createTree(this._cluster(u,l)),n&&console.log("z%d: %d clusters in %dms",l,u.numItems,+Date.now()-c)}return n&&console.timeEnd("total time"),this}getClusters(e,n){let o=((e[0]+180)%360+360)%360-180;const s=Math.max(-90,Math.min(90,e[1]));let r=e[2]===180?180:((e[2]+180)%360+360)%360-180;const a=Math.max(-90,Math.min(90,e[3]));if(e[2]-e[0]>=360)o=-180,r=180;else if(o>r){const f=this.getClusters([o,s,180,a],n),h=this.getClusters([-180,s,r,a],n);return f.concat(h)}const u=this.trees[this._limitZoom(n)],l=u.range(Ge(o),_e(a),Ge(r),_e(s)),c=u.data,p=[];for(const f of l){const h=this.stride*f;p.push(c[h+be]>1?Qt(c,h,this.clusterProps):this.points[c[h+Ee]])}return p}getChildren(e){const n=this._getOriginId(e),o=this._getOriginZoom(e),s="No cluster with the specified id.",r=this.trees[o];if(!r)throw new Error(s);const a=r.data;if(n*this.stride>=a.length)throw new Error(s);const u=this.options.radius/(this.options.extent*Math.pow(2,o-1)),l=a[n*this.stride],c=a[n*this.stride+1],p=r.within(l,c,u),f=[];for(const h of p){const g=h*this.stride;a[g+Ye]===e&&f.push(a[g+be]>1?Qt(a,g,this.clusterProps):this.points[a[g+Ee]])}if(f.length===0)throw new Error(s);return f}getLeaves(e,n,o){n=n||10,o=o||0;const s=[];return this._appendLeaves(s,e,n,o,0),s}getTile(e,n,o){const s=this.trees[this._limitZoom(e)],r=Math.pow(2,e),{extent:a,radius:u}=this.options,l=u/a,c=(o-l)/r,p=(o+1+l)/r,f={features:[]};return this._addTileFeatures(s.range((n-l)/r,c,(n+1+l)/r,p),s.data,n,o,r,f),n===0&&this._addTileFeatures(s.range(1-l/r,c,1,p),s.data,r,o,r,f),n===r-1&&this._addTileFeatures(s.range(0,c,l/r,p),s.data,-1,o,r,f),f.features.length?f:null}getClusterExpansionZoom(e){let n=this._getOriginZoom(e)-1;for(;n<=this.options.maxZoom;){const o=this.getChildren(e);if(n++,o.length!==1)break;e=o[0].properties.cluster_id}return n}_appendLeaves(e,n,o,s,r){const a=this.getChildren(n);for(const u of a){const l=u.properties;if(l&&l.cluster?r+l.point_count<=s?r+=l.point_count:r=this._appendLeaves(e,l.cluster_id,o,s,r):r<s?r++:e.push(u),e.length===o)break}return r}_createTree(e){const n=new ot(e.length/this.stride|0,this.options.nodeSize,Float32Array);for(let o=0;o<e.length;o+=this.stride)n.add(e[o],e[o+1]);return n.finish(),n.data=e,n}_addTileFeatures(e,n,o,s,r,a){for(const u of e){const l=u*this.stride,c=n[l+be]>1;let p,f,h;if(c)p=Vn(n,l,this.clusterProps),f=n[l],h=n[l+1];else{const m=this.points[n[l+Ee]];p=m.properties;const[y,x]=m.geometry.coordinates;f=Ge(y),h=_e(x)}const g={type:1,geometry:[[Math.round(this.options.extent*(f*r-o)),Math.round(this.options.extent*(h*r-s))]],tags:p};let M;c||this.options.generateId?M=n[l+Ee]:M=this.points[n[l+Ee]].id,M!==void 0&&(g.id=M),a.features.push(g)}}_limitZoom(e){return Math.max(this.options.minZoom,Math.min(Math.floor(+e),this.options.maxZoom+1))}_cluster(e,n){const{radius:o,extent:s,reduce:r,minPoints:a}=this.options,u=o/(s*Math.pow(2,n)),l=e.data,c=[],p=this.stride;for(let f=0;f<l.length;f+=p){if(l[f+xe]<=n)continue;l[f+xe]=n;const h=l[f],g=l[f+1],M=e.within(l[f],l[f+1],u),m=l[f+be];let y=m;for(const x of M){const S=x*p;l[S+xe]>n&&(y+=l[S+be])}if(y>m&&y>=a){let x=h*m,S=g*m,b,O=-1;const E=((f/p|0)<<5)+(n+1)+this.points.length;for(const d of M){const R=d*p;if(l[R+xe]<=n)continue;l[R+xe]=n;const v=l[R+be];x+=l[R]*v,S+=l[R+1]*v,l[R+Ye]=E,r&&(b||(b=this._map(l,f,!0),O=this.clusterProps.length,this.clusterProps.push(b)),r(b,this._map(l,R)))}l[f+Ye]=E,c.push(x/y,S/y,1/0,E,-1,y),r&&c.push(O)}else{for(let x=0;x<p;x++)c.push(l[f+x]);if(y>1)for(const x of M){const S=x*p;if(!(l[S+xe]<=n)){l[S+xe]=n;for(let b=0;b<p;b++)c.push(l[S+b])}}}}return c}_getOriginId(e){return e-this.points.length>>5}_getOriginZoom(e){return(e-this.points.length)%32}_map(e,n,o){if(e[n+be]>1){const a=this.clusterProps[e[n+Zn]];return o?Object.assign({},a):a}const s=this.points[e[n+Ee]].properties,r=this.options.map(s);return o&&r===s?Object.assign({},r):r}}function Qt(t,e,n){return{type:"Feature",id:t[e+Ee],properties:Vn(t,e,n),geometry:{type:"Point",coordinates:[wo(t[e]),Po(t[e+1])]}}}function Vn(t,e,n){const o=t[e+be],s=o>=1e4?`${Math.round(o/1e3)}k`:o>=1e3?`${Math.round(o/100)/10}k`:o,r=t[e+Zn],a=r===-1?{}:Object.assign({},n[r]);return Object.assign(a,{cluster:!0,cluster_id:t[e+Ee],point_count:o,point_count_abbreviated:s})}function Ge(t){return t/360+.5}function _e(t){const e=Math.sin(t*Math.PI/180),n=.5-.25*Math.log((1+e)/(1-e))/Math.PI;return n<0?0:n>1?1:n}function wo(t){return(t-.5)*360}function Po(t){const e=(180-t*360)*Math.PI/180;return 360*Math.atan(Math.exp(e))/Math.PI-90}/*! *****************************************************************************
|
|
9
|
+
`)),console.error(P)})},[e,D,s]);var C=i.useRef(void 0);return i.useEffect(function(){C.current&&u!==C.current&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),C.current=u},[u]),{isLoaded:x,loadError:S,url:D}}var Bs=["loadingElement","onLoad","onError","onUnmount","children"],Us=ie.jsxRuntimeExports.jsx(Gn,{});function As(t){var{loadingElement:e,onLoad:n,onError:s,onUnmount:r,children:o}=t,a=tt(t,Bs),{isLoaded:l,loadError:u}=qn(a);return i.useEffect(function(){l&&typeof n=="function"&&n()},[l,n]),i.useEffect(function(){u&&typeof s=="function"&&s(u)},[u,s]),i.useEffect(function(){return()=>{r&&r()}},[r]),l?o:e||Us}i.memo(As);var Pt;(function(t){t[t.INITIALIZED=0]="INITIALIZED",t[t.LOADING=1]="LOADING",t[t.SUCCESS=2]="SUCCESS",t[t.FAILURE=3]="FAILURE"})(Pt||(Pt={}));function Dt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,s)}return n}function ze(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Dt(Object(n),!0).forEach(function(s){h(t,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Dt(Object(n)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(n,s))})}return t}var It={},jt={options(t,e){t.setOptions(e)}};function zs(t){var{options:e,onLoad:n,onUnmount:s}=t,r=i.useContext(A),[o,a]=i.useState(null);return i.useEffect(()=>{o!==null&&o.setMap(r)},[r]),i.useEffect(()=>{e&&o!==null&&o.setOptions(e)},[o,e]),i.useEffect(()=>{var l=new google.maps.TrafficLayer(ze(ze({},e),{},{map:r}));return a(l),n&&n(l),()=>{o!==null&&(s&&s(o),o.setMap(null))}},[]),null}i.memo(zs);class Jn extends i.PureComponent{constructor(){super(...arguments),h(this,"state",{trafficLayer:null}),h(this,"setTrafficLayerCallback",()=>{this.state.trafficLayer!==null&&this.props.onLoad&&this.props.onLoad(this.state.trafficLayer)}),h(this,"registeredEvents",[])}componentDidMount(){var e=new google.maps.TrafficLayer(ze(ze({},this.props.options),{},{map:this.context}));this.registeredEvents=_({updaterMap:jt,eventMap:It,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{trafficLayer:e}},this.setTrafficLayerCallback)}componentDidUpdate(e){this.state.trafficLayer!==null&&(V(this.registeredEvents),this.registeredEvents=_({updaterMap:jt,eventMap:It,prevProps:e,nextProps:this.props,instance:this.state.trafficLayer}))}componentWillUnmount(){this.state.trafficLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.trafficLayer),V(this.registeredEvents),this.state.trafficLayer.setMap(null))}render(){return null}}h(Jn,"contextType",A);function _s(t){var{onLoad:e,onUnmount:n}=t,s=i.useContext(A),[r,o]=i.useState(null);return i.useEffect(()=>{r!==null&&r.setMap(s)},[s]),i.useEffect(()=>{var a=new google.maps.BicyclingLayer;return o(a),a.setMap(s),e&&e(a),()=>{a!==null&&(n&&n(a),a.setMap(null))}},[]),null}i.memo(_s);class Yn extends i.PureComponent{constructor(){super(...arguments),h(this,"state",{bicyclingLayer:null}),h(this,"setBicyclingLayerCallback",()=>{this.state.bicyclingLayer!==null&&(this.state.bicyclingLayer.setMap(this.context),this.props.onLoad&&this.props.onLoad(this.state.bicyclingLayer))})}componentDidMount(){var e=new google.maps.BicyclingLayer;this.setState(()=>({bicyclingLayer:e}),this.setBicyclingLayerCallback)}componentWillUnmount(){this.state.bicyclingLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.bicyclingLayer),this.state.bicyclingLayer.setMap(null))}render(){return null}}h(Yn,"contextType",A);function Zs(t){var{onLoad:e,onUnmount:n}=t,s=i.useContext(A),[r,o]=i.useState(null);return i.useEffect(()=>{r!==null&&r.setMap(s)},[s]),i.useEffect(()=>{var a=new google.maps.TransitLayer;return o(a),a.setMap(s),e&&e(a),()=>{r!==null&&(n&&n(r),r.setMap(null))}},[]),null}i.memo(Zs);class Qn extends i.PureComponent{constructor(){super(...arguments),h(this,"state",{transitLayer:null}),h(this,"setTransitLayerCallback",()=>{this.state.transitLayer!==null&&(this.state.transitLayer.setMap(this.context),this.props.onLoad&&this.props.onLoad(this.state.transitLayer))})}componentDidMount(){var e=new google.maps.TransitLayer;this.setState(function(){return{transitLayer:e}},this.setTransitLayerCallback)}componentWillUnmount(){this.state.transitLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.transitLayer),this.state.transitLayer.setMap(null))}render(){return null}}h(Qn,"contextType",A);function Rt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,s)}return n}function _e(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Rt(Object(n),!0).forEach(function(s){h(t,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Rt(Object(n)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(n,s))})}return t}var Tt={onCircleComplete:"circlecomplete",onMarkerComplete:"markercomplete",onOverlayComplete:"overlaycomplete",onPolygonComplete:"polygoncomplete",onPolylineComplete:"polylinecomplete",onRectangleComplete:"rectanglecomplete"},Bt={drawingMode(t,e){t.setDrawingMode(e)},options(t,e){t.setOptions(e)}};function Vs(t){var{options:e,drawingMode:n,onCircleComplete:s,onMarkerComplete:r,onOverlayComplete:o,onPolygonComplete:a,onPolylineComplete:l,onRectangleComplete:u,onLoad:g,onUnmount:d}=t,p=i.useContext(A),[f,v]=i.useState(null),[c,x]=i.useState(null),[M,S]=i.useState(null),[w,D]=i.useState(null),[C,m]=i.useState(null),[y,E]=i.useState(null),[P,b]=i.useState(null);return i.useEffect(()=>{f!==null&&f.setMap(p)},[p]),i.useEffect(()=>{e&&f!==null&&f.setOptions(e)},[f,e]),i.useEffect(()=>{f!==null&&f.setDrawingMode(n??null)},[f,n]),i.useEffect(()=>{f&&s&&(c!==null&&google.maps.event.removeListener(c),x(google.maps.event.addListener(f,"circlecomplete",s)))},[f,s]),i.useEffect(()=>{f&&r&&(M!==null&&google.maps.event.removeListener(M),S(google.maps.event.addListener(f,"markercomplete",r)))},[f,r]),i.useEffect(()=>{f&&o&&(w!==null&&google.maps.event.removeListener(w),D(google.maps.event.addListener(f,"overlaycomplete",o)))},[f,o]),i.useEffect(()=>{f&&a&&(C!==null&&google.maps.event.removeListener(C),m(google.maps.event.addListener(f,"polygoncomplete",a)))},[f,a]),i.useEffect(()=>{f&&l&&(y!==null&&google.maps.event.removeListener(y),E(google.maps.event.addListener(f,"polylinecomplete",l)))},[f,l]),i.useEffect(()=>{f&&u&&(P!==null&&google.maps.event.removeListener(P),b(google.maps.event.addListener(f,"rectanglecomplete",u)))},[f,u]),i.useEffect(()=>{ne(!!google.maps.drawing,"Did you include prop libraries={['drawing']} in the URL? %s",google.maps.drawing);var O=new google.maps.drawing.DrawingManager(_e(_e({},e),{},{map:p}));return n&&O.setDrawingMode(n),s&&x(google.maps.event.addListener(O,"circlecomplete",s)),r&&S(google.maps.event.addListener(O,"markercomplete",r)),o&&D(google.maps.event.addListener(O,"overlaycomplete",o)),a&&m(google.maps.event.addListener(O,"polygoncomplete",a)),l&&E(google.maps.event.addListener(O,"polylinecomplete",l)),u&&b(google.maps.event.addListener(O,"rectanglecomplete",u)),v(O),g&&g(O),()=>{f!==null&&(c&&google.maps.event.removeListener(c),M&&google.maps.event.removeListener(M),w&&google.maps.event.removeListener(w),C&&google.maps.event.removeListener(C),y&&google.maps.event.removeListener(y),P&&google.maps.event.removeListener(P),d&&d(f),f.setMap(null))}},[]),null}i.memo(Vs);class Xn extends i.PureComponent{constructor(e){super(e),h(this,"registeredEvents",[]),h(this,"state",{drawingManager:null}),h(this,"setDrawingManagerCallback",()=>{this.state.drawingManager!==null&&this.props.onLoad&&this.props.onLoad(this.state.drawingManager)}),ne(!!google.maps.drawing,"Did you include prop libraries={['drawing']} in the URL? %s",google.maps.drawing)}componentDidMount(){var e=new google.maps.drawing.DrawingManager(_e(_e({},this.props.options),{},{map:this.context}));this.registeredEvents=_({updaterMap:Bt,eventMap:Tt,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{drawingManager:e}},this.setDrawingManagerCallback)}componentDidUpdate(e){this.state.drawingManager!==null&&(V(this.registeredEvents),this.registeredEvents=_({updaterMap:Bt,eventMap:Tt,prevProps:e,nextProps:this.props,instance:this.state.drawingManager}))}componentWillUnmount(){this.state.drawingManager!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.drawingManager),V(this.registeredEvents),this.state.drawingManager.setMap(null))}render(){return null}}h(Xn,"contextType",A);function Ut(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,s)}return n}function ge(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Ut(Object(n),!0).forEach(function(s){h(t,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ut(Object(n)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(n,s))})}return t}var At={onAnimationChanged:"animation_changed",onClick:"click",onClickableChanged:"clickable_changed",onCursorChanged:"cursor_changed",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDraggableChanged:"draggable_changed",onDragStart:"dragstart",onFlatChanged:"flat_changed",onIconChanged:"icon_changed",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onPositionChanged:"position_changed",onRightClick:"rightclick",onShapeChanged:"shape_changed",onTitleChanged:"title_changed",onVisibleChanged:"visible_changed",onZindexChanged:"zindex_changed"},zt={animation(t,e){t.setAnimation(e)},clickable(t,e){t.setClickable(e)},cursor(t,e){t.setCursor(e)},draggable(t,e){t.setDraggable(e)},icon(t,e){t.setIcon(e)},label(t,e){t.setLabel(e)},map(t,e){t.setMap(e)},opacity(t,e){t.setOpacity(e)},options(t,e){t.setOptions(e)},position(t,e){t.setPosition(e)},shape(t,e){t.setShape(e)},title(t,e){t.setTitle(e)},visible(t,e){t.setVisible(e)},zIndex(t,e){t.setZIndex(e)}},Ze={};function Ws(t){var{position:e,options:n,clusterer:s,noClustererRedraw:r,children:o,draggable:a,visible:l,animation:u,clickable:g,cursor:d,icon:p,label:f,opacity:v,shape:c,title:x,zIndex:M,onClick:S,onDblClick:w,onDrag:D,onDragEnd:C,onDragStart:m,onMouseOut:y,onMouseOver:E,onMouseUp:P,onMouseDown:b,onRightClick:O,onClickableChanged:k,onCursorChanged:U,onAnimationChanged:Z,onDraggableChanged:R,onFlatChanged:T,onIconChanged:W,onPositionChanged:q,onShapeChanged:N,onTitleChanged:G,onVisibleChanged:$,onZindexChanged:K,onLoad:J,onUnmount:j}=t,Y=i.useContext(A),[L,ee]=i.useState(null),[X,z]=i.useState(null),[te,I]=i.useState(null),[F,oe]=i.useState(null),[ae,fe]=i.useState(null),[Q,ot]=i.useState(null),[Me,at]=i.useState(null),[Ee,lt]=i.useState(null),[we,ut]=i.useState(null),[xe,pt]=i.useState(null),[ct,dt]=i.useState(null),[Se,gt]=i.useState(null),[Oe,ft]=i.useState(null),[ke,ht]=i.useState(null),[Pe,vt]=i.useState(null),[De,mt]=i.useState(null),[Ie,Lt]=i.useState(null),[je,yt]=i.useState(null),[bt,Ct]=i.useState(null),[Re,Mt]=i.useState(null),[Te,Et]=i.useState(null),[Be,wt]=i.useState(null);i.useEffect(()=>{L!==null&&L.setMap(Y)},[Y]),i.useEffect(()=>{typeof n<"u"&&L!==null&&L.setOptions(n)},[L,n]),i.useEffect(()=>{typeof a<"u"&&L!==null&&L.setDraggable(a)},[L,a]),i.useEffect(()=>{e&&L!==null&&L.setPosition(e)},[L,e]),i.useEffect(()=>{typeof l<"u"&&L!==null&&L.setVisible(l)},[L,l]),i.useEffect(()=>{L==null||L.setAnimation(u)},[L,u]),i.useEffect(()=>{L&&g!==void 0&&L.setClickable(g)},[L,g]),i.useEffect(()=>{L&&d!==void 0&&L.setCursor(d)},[L,d]),i.useEffect(()=>{L&&p!==void 0&&L.setIcon(p)},[L,p]),i.useEffect(()=>{L&&f!==void 0&&L.setLabel(f)},[L,f]),i.useEffect(()=>{L&&v!==void 0&&L.setOpacity(v)},[L,v]),i.useEffect(()=>{L&&c!==void 0&&L.setShape(c)},[L,c]),i.useEffect(()=>{L&&x!==void 0&&L.setTitle(x)},[L,x]),i.useEffect(()=>{L&&M!==void 0&&L.setZIndex(M)},[L,M]),i.useEffect(()=>{L&&w&&(X!==null&&google.maps.event.removeListener(X),z(google.maps.event.addListener(L,"dblclick",w)))},[w]),i.useEffect(()=>{L&&C&&(te!==null&&google.maps.event.removeListener(te),I(google.maps.event.addListener(L,"dragend",C)))},[C]),i.useEffect(()=>{L&&m&&(F!==null&&google.maps.event.removeListener(F),oe(google.maps.event.addListener(L,"dragstart",m)))},[m]),i.useEffect(()=>{L&&b&&(ae!==null&&google.maps.event.removeListener(ae),fe(google.maps.event.addListener(L,"mousedown",b)))},[b]),i.useEffect(()=>{L&&y&&(Q!==null&&google.maps.event.removeListener(Q),ot(google.maps.event.addListener(L,"mouseout",y)))},[y]),i.useEffect(()=>{L&&E&&(Me!==null&&google.maps.event.removeListener(Me),at(google.maps.event.addListener(L,"mouseover",E)))},[E]),i.useEffect(()=>{L&&P&&(Ee!==null&&google.maps.event.removeListener(Ee),lt(google.maps.event.addListener(L,"mouseup",P)))},[P]),i.useEffect(()=>{L&&O&&(we!==null&&google.maps.event.removeListener(we),ut(google.maps.event.addListener(L,"rightclick",O)))},[O]),i.useEffect(()=>{L&&S&&(xe!==null&&google.maps.event.removeListener(xe),pt(google.maps.event.addListener(L,"click",S)))},[S]),i.useEffect(()=>{L&&D&&(ct!==null&&google.maps.event.removeListener(ct),dt(google.maps.event.addListener(L,"drag",D)))},[D]),i.useEffect(()=>{L&&k&&(Se!==null&&google.maps.event.removeListener(Se),gt(google.maps.event.addListener(L,"clickable_changed",k)))},[k]),i.useEffect(()=>{L&&U&&(Oe!==null&&google.maps.event.removeListener(Oe),ft(google.maps.event.addListener(L,"cursor_changed",U)))},[U]),i.useEffect(()=>{L&&Z&&(ke!==null&&google.maps.event.removeListener(ke),ht(google.maps.event.addListener(L,"animation_changed",Z)))},[Z]),i.useEffect(()=>{L&&R&&(Pe!==null&&google.maps.event.removeListener(Pe),vt(google.maps.event.addListener(L,"draggable_changed",R)))},[R]),i.useEffect(()=>{L&&T&&(De!==null&&google.maps.event.removeListener(De),mt(google.maps.event.addListener(L,"flat_changed",T)))},[T]),i.useEffect(()=>{L&&W&&(Ie!==null&&google.maps.event.removeListener(Ie),Lt(google.maps.event.addListener(L,"icon_changed",W)))},[W]),i.useEffect(()=>{L&&q&&(je!==null&&google.maps.event.removeListener(je),yt(google.maps.event.addListener(L,"position_changed",q)))},[q]),i.useEffect(()=>{L&&N&&(bt!==null&&google.maps.event.removeListener(bt),Ct(google.maps.event.addListener(L,"shape_changed",N)))},[N]),i.useEffect(()=>{L&&G&&(Re!==null&&google.maps.event.removeListener(Re),Mt(google.maps.event.addListener(L,"title_changed",G)))},[G]),i.useEffect(()=>{L&&$&&(Te!==null&&google.maps.event.removeListener(Te),Et(google.maps.event.addListener(L,"visible_changed",$)))},[$]),i.useEffect(()=>{L&&K&&(Be!==null&&google.maps.event.removeListener(Be),wt(google.maps.event.addListener(L,"zindex_changed",K)))},[K]),i.useEffect(()=>{var he=ge(ge(ge({},n||Ze),s?Ze:{map:Y}),{},{position:e}),B=new google.maps.Marker(he);return s?s.addMarker(B,!!r):B.setMap(Y),e&&B.setPosition(e),typeof l<"u"&&B.setVisible(l),typeof a<"u"&&B.setDraggable(a),typeof g<"u"&&B.setClickable(g),typeof d=="string"&&B.setCursor(d),p&&B.setIcon(p),typeof f<"u"&&B.setLabel(f),typeof v<"u"&&B.setOpacity(v),c&&B.setShape(c),typeof x=="string"&&B.setTitle(x),typeof M=="number"&&B.setZIndex(M),w&&z(google.maps.event.addListener(B,"dblclick",w)),C&&I(google.maps.event.addListener(B,"dragend",C)),m&&oe(google.maps.event.addListener(B,"dragstart",m)),b&&fe(google.maps.event.addListener(B,"mousedown",b)),y&&ot(google.maps.event.addListener(B,"mouseout",y)),E&&at(google.maps.event.addListener(B,"mouseover",E)),P&<(google.maps.event.addListener(B,"mouseup",P)),O&&ut(google.maps.event.addListener(B,"rightclick",O)),S&&pt(google.maps.event.addListener(B,"click",S)),D&&dt(google.maps.event.addListener(B,"drag",D)),k&>(google.maps.event.addListener(B,"clickable_changed",k)),U&&ft(google.maps.event.addListener(B,"cursor_changed",U)),Z&&ht(google.maps.event.addListener(B,"animation_changed",Z)),R&&vt(google.maps.event.addListener(B,"draggable_changed",R)),T&&mt(google.maps.event.addListener(B,"flat_changed",T)),W&&Lt(google.maps.event.addListener(B,"icon_changed",W)),q&&yt(google.maps.event.addListener(B,"position_changed",q)),N&&Ct(google.maps.event.addListener(B,"shape_changed",N)),G&&Mt(google.maps.event.addListener(B,"title_changed",G)),$&&Et(google.maps.event.addListener(B,"visible_changed",$)),K&&wt(google.maps.event.addListener(B,"zindex_changed",K)),ee(B),J&&J(B),()=>{X!==null&&google.maps.event.removeListener(X),te!==null&&google.maps.event.removeListener(te),F!==null&&google.maps.event.removeListener(F),ae!==null&&google.maps.event.removeListener(ae),Q!==null&&google.maps.event.removeListener(Q),Me!==null&&google.maps.event.removeListener(Me),Ee!==null&&google.maps.event.removeListener(Ee),we!==null&&google.maps.event.removeListener(we),xe!==null&&google.maps.event.removeListener(xe),Se!==null&&google.maps.event.removeListener(Se),Oe!==null&&google.maps.event.removeListener(Oe),ke!==null&&google.maps.event.removeListener(ke),Pe!==null&&google.maps.event.removeListener(Pe),De!==null&&google.maps.event.removeListener(De),Ie!==null&&google.maps.event.removeListener(Ie),je!==null&&google.maps.event.removeListener(je),Re!==null&&google.maps.event.removeListener(Re),Te!==null&&google.maps.event.removeListener(Te),Be!==null&&google.maps.event.removeListener(Be),j&&j(B),s?s.removeMarker(B,!!r):B&&B.setMap(null)}},[]);var Ms=i.useMemo(()=>o?i.Children.map(o,he=>{if(!i.isValidElement(he))return he;var B=he;return i.cloneElement(B,{anchor:L})}):null,[o,L]);return ie.jsxRuntimeExports.jsx(ie.jsxRuntimeExports.Fragment,{children:Ms})||null}i.memo(Ws);class es extends i.PureComponent{constructor(){super(...arguments),h(this,"registeredEvents",[])}componentDidMount(){var e=this;return Nn(function*(){var n=ge(ge(ge({},e.props.options||Ze),e.props.clusterer?Ze:{map:e.context}),{},{position:e.props.position});e.marker=new google.maps.Marker(n),e.props.clusterer?e.props.clusterer.addMarker(e.marker,!!e.props.noClustererRedraw):e.marker.setMap(e.context),e.registeredEvents=_({updaterMap:zt,eventMap:At,prevProps:{},nextProps:e.props,instance:e.marker}),e.props.onLoad&&e.props.onLoad(e.marker)})()}componentDidUpdate(e){this.marker&&(V(this.registeredEvents),this.registeredEvents=_({updaterMap:zt,eventMap:At,prevProps:e,nextProps:this.props,instance:this.marker}))}componentWillUnmount(){this.marker&&(this.props.onUnmount&&this.props.onUnmount(this.marker),V(this.registeredEvents),this.props.clusterer?this.props.clusterer.removeMarker(this.marker,!!this.props.noClustererRedraw):this.marker&&this.marker.setMap(null))}render(){var e=this.props.children?i.Children.map(this.props.children,n=>{if(!i.isValidElement(n))return n;var s=n;return i.cloneElement(s,{anchor:this.marker})}):null;return e||null}}h(es,"contextType",A);var Ns=function(){function t(e,n){e.getClusterer().extend(t,google.maps.OverlayView),this.cluster=e,this.clusterClassName=this.cluster.getClusterer().getClusterClass(),this.className=this.clusterClassName,this.styles=n,this.center=void 0,this.div=null,this.sums=null,this.visible=!1,this.boundsChangedListener=null,this.url="",this.height=0,this.width=0,this.anchorText=[0,0],this.anchorIcon=[0,0],this.textColor="black",this.textSize=11,this.textDecoration="none",this.fontWeight="bold",this.fontStyle="normal",this.fontFamily="Arial,sans-serif",this.backgroundPosition="0 0",this.cMouseDownInCluster=null,this.cDraggingMapByCluster=null,this.timeOut=null,this.setMap(e.getMap()),this.onBoundsChanged=this.onBoundsChanged.bind(this),this.onMouseDown=this.onMouseDown.bind(this),this.onClick=this.onClick.bind(this),this.onMouseOver=this.onMouseOver.bind(this),this.onMouseOut=this.onMouseOut.bind(this),this.onAdd=this.onAdd.bind(this),this.onRemove=this.onRemove.bind(this),this.draw=this.draw.bind(this),this.hide=this.hide.bind(this),this.show=this.show.bind(this),this.useStyle=this.useStyle.bind(this),this.setCenter=this.setCenter.bind(this),this.getPosFromLatLng=this.getPosFromLatLng.bind(this)}return t.prototype.onBoundsChanged=function(){this.cDraggingMapByCluster=this.cMouseDownInCluster},t.prototype.onMouseDown=function(){this.cMouseDownInCluster=!0,this.cDraggingMapByCluster=!1},t.prototype.onClick=function(e){if(this.cMouseDownInCluster=!1,!this.cDraggingMapByCluster){var n=this.cluster.getClusterer();if(google.maps.event.trigger(n,"click",this.cluster),google.maps.event.trigger(n,"clusterclick",this.cluster),n.getZoomOnClick()){var s=n.getMaxZoom(),r=this.cluster.getBounds(),o=n.getMap();o!==null&&"fitBounds"in o&&o.fitBounds(r),this.timeOut=window.setTimeout(function(){var a=n.getMap();if(a!==null){"fitBounds"in a&&a.fitBounds(r);var l=a.getZoom()||0;s!==null&&l>s&&a.setZoom(s+1)}},100)}e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation()}},t.prototype.onMouseOver=function(){google.maps.event.trigger(this.cluster.getClusterer(),"mouseover",this.cluster)},t.prototype.onMouseOut=function(){google.maps.event.trigger(this.cluster.getClusterer(),"mouseout",this.cluster)},t.prototype.onAdd=function(){var e;this.div=document.createElement("div"),this.div.className=this.className,this.visible&&this.show(),(e=this.getPanes())===null||e===void 0||e.overlayMouseTarget.appendChild(this.div);var n=this.getMap();n!==null&&(this.boundsChangedListener=google.maps.event.addListener(n,"bounds_changed",this.onBoundsChanged),this.div.addEventListener("mousedown",this.onMouseDown),this.div.addEventListener("click",this.onClick),this.div.addEventListener("mouseover",this.onMouseOver),this.div.addEventListener("mouseout",this.onMouseOut))},t.prototype.onRemove=function(){this.div&&this.div.parentNode&&(this.hide(),this.boundsChangedListener!==null&&google.maps.event.removeListener(this.boundsChangedListener),this.div.removeEventListener("mousedown",this.onMouseDown),this.div.removeEventListener("click",this.onClick),this.div.removeEventListener("mouseover",this.onMouseOver),this.div.removeEventListener("mouseout",this.onMouseOut),this.div.parentNode.removeChild(this.div),this.timeOut!==null&&(window.clearTimeout(this.timeOut),this.timeOut=null),this.div=null)},t.prototype.draw=function(){if(this.visible&&this.div!==null&&this.center){var e=this.getPosFromLatLng(this.center);this.div.style.top=e!==null?"".concat(e.y,"px"):"0",this.div.style.left=e!==null?"".concat(e.x,"px"):"0"}},t.prototype.hide=function(){this.div&&(this.div.style.display="none"),this.visible=!1},t.prototype.show=function(){var e,n,s,r,o,a;if(this.div&&this.center){var l=this.sums===null||typeof this.sums.title>"u"||this.sums.title===""?this.cluster.getClusterer().getTitle():this.sums.title,u=this.backgroundPosition.split(" "),g=parseInt(((e=u[0])===null||e===void 0?void 0:e.replace(/^\s+|\s+$/g,""))||"0",10),d=parseInt(((n=u[1])===null||n===void 0?void 0:n.replace(/^\s+|\s+$/g,""))||"0",10),p=this.getPosFromLatLng(this.center);this.div.className=this.className,this.div.setAttribute("style","cursor: pointer; position: absolute; top: ".concat(p!==null?"".concat(p.y,"px"):"0","; left: ").concat(p!==null?"".concat(p.x,"px"):"0","; width: ").concat(this.width,"px; height: ").concat(this.height,"px; "));var f=document.createElement("img");f.alt=l,f.src=this.url,f.width=this.width,f.height=this.height,f.setAttribute("style","position: absolute; top: ".concat(d,"px; left: ").concat(g,"px")),this.cluster.getClusterer().enableRetinaIcons||(f.style.clip="rect(-".concat(d,"px, -").concat(g+this.width,"px, -").concat(d+this.height,", -").concat(g,")"));var v=document.createElement("div");v.setAttribute("style","position: absolute; top: ".concat(this.anchorText[0],"px; left: ").concat(this.anchorText[1],"px; color: ").concat(this.textColor,"; font-size: ").concat(this.textSize,"px; font-family: ").concat(this.fontFamily,"; font-weight: ").concat(this.fontWeight,"; fontStyle: ").concat(this.fontStyle,"; text-decoration: ").concat(this.textDecoration,"; text-align: center; width: ").concat(this.width,"px; line-height: ").concat(this.height,"px")),!((s=this.sums)===null||s===void 0)&&s.text&&(v.innerText="".concat((r=this.sums)===null||r===void 0?void 0:r.text)),!((o=this.sums)===null||o===void 0)&&o.html&&(v.innerHTML="".concat((a=this.sums)===null||a===void 0?void 0:a.html)),this.div.innerHTML="",this.div.appendChild(f),this.div.appendChild(v),this.div.title=l,this.div.style.display=""}this.visible=!0},t.prototype.useStyle=function(e){this.sums=e;var n=this.cluster.getClusterer().getStyles(),s=n[Math.min(n.length-1,Math.max(0,e.index-1))];s&&(this.url=s.url,this.height=s.height,this.width=s.width,s.className&&(this.className="".concat(this.clusterClassName," ").concat(s.className)),this.anchorText=s.anchorText||[0,0],this.anchorIcon=s.anchorIcon||[this.height/2,this.width/2],this.textColor=s.textColor||"black",this.textSize=s.textSize||11,this.textDecoration=s.textDecoration||"none",this.fontWeight=s.fontWeight||"bold",this.fontStyle=s.fontStyle||"normal",this.fontFamily=s.fontFamily||"Arial,sans-serif",this.backgroundPosition=s.backgroundPosition||"0 0")},t.prototype.setCenter=function(e){this.center=e},t.prototype.getPosFromLatLng=function(e){var n=this.getProjection().fromLatLngToDivPixel(e);return n!==null&&(n.x-=this.anchorIcon[1],n.y-=this.anchorIcon[0]),n},t}(),$s=function(){function t(e){this.markerClusterer=e,this.map=this.markerClusterer.getMap(),this.gridSize=this.markerClusterer.getGridSize(),this.minClusterSize=this.markerClusterer.getMinimumClusterSize(),this.averageCenter=this.markerClusterer.getAverageCenter(),this.markers=[],this.center=void 0,this.bounds=null,this.clusterIcon=new Ns(this,this.markerClusterer.getStyles()),this.getSize=this.getSize.bind(this),this.getMarkers=this.getMarkers.bind(this),this.getCenter=this.getCenter.bind(this),this.getMap=this.getMap.bind(this),this.getClusterer=this.getClusterer.bind(this),this.getBounds=this.getBounds.bind(this),this.remove=this.remove.bind(this),this.addMarker=this.addMarker.bind(this),this.isMarkerInClusterBounds=this.isMarkerInClusterBounds.bind(this),this.calculateBounds=this.calculateBounds.bind(this),this.updateIcon=this.updateIcon.bind(this),this.isMarkerAlreadyAdded=this.isMarkerAlreadyAdded.bind(this)}return t.prototype.getSize=function(){return this.markers.length},t.prototype.getMarkers=function(){return this.markers},t.prototype.getCenter=function(){return this.center},t.prototype.getMap=function(){return this.map},t.prototype.getClusterer=function(){return this.markerClusterer},t.prototype.getBounds=function(){for(var e=new google.maps.LatLngBounds(this.center,this.center),n=this.getMarkers(),s=0,r=n;s<r.length;s++){var o=r[s],a=o.getPosition();a&&e.extend(a)}return e},t.prototype.remove=function(){this.clusterIcon.setMap(null),this.markers=[],delete this.markers},t.prototype.addMarker=function(e){var n;if(this.isMarkerAlreadyAdded(e))return!1;if(this.center){if(this.averageCenter){var s=e.getPosition();if(s){var r=this.markers.length+1;this.center=new google.maps.LatLng((this.center.lat()*(r-1)+s.lat())/r,(this.center.lng()*(r-1)+s.lng())/r),this.calculateBounds()}}}else{var s=e.getPosition();s&&(this.center=s,this.calculateBounds())}e.isAdded=!0,this.markers.push(e);var o=this.markers.length,a=this.markerClusterer.getMaxZoom(),l=(n=this.map)===null||n===void 0?void 0:n.getZoom();if(a!==null&&typeof l<"u"&&l>a)e.getMap()!==this.map&&e.setMap(this.map);else if(o<this.minClusterSize)e.getMap()!==this.map&&e.setMap(this.map);else if(o===this.minClusterSize)for(var u=0,g=this.markers;u<g.length;u++){var d=g[u];d.setMap(null)}else e.setMap(null);return!0},t.prototype.isMarkerInClusterBounds=function(e){if(this.bounds!==null){var n=e.getPosition();if(n)return this.bounds.contains(n)}return!1},t.prototype.calculateBounds=function(){this.bounds=this.markerClusterer.getExtendedBounds(new google.maps.LatLngBounds(this.center,this.center))},t.prototype.updateIcon=function(){var e,n=this.markers.length,s=this.markerClusterer.getMaxZoom(),r=(e=this.map)===null||e===void 0?void 0:e.getZoom();if(s!==null&&typeof r<"u"&&r>s){this.clusterIcon.hide();return}if(n<this.minClusterSize){this.clusterIcon.hide();return}this.center&&this.clusterIcon.setCenter(this.center),this.clusterIcon.useStyle(this.markerClusterer.getCalculator()(this.markers,this.markerClusterer.getStyles().length)),this.clusterIcon.show()},t.prototype.isMarkerAlreadyAdded=function(e){if(this.markers.includes)return this.markers.includes(e);for(var n=0;n<this.markers.length;n++)if(e===this.markers[n])return!0;return!1},t}();function Fs(t,e){var n=t.length,s=n.toString().length,r=Math.min(s,e);return{text:n.toString(),index:r,title:""}}var Hs=2e3,Gs=500,Ks="https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m",qs="png",Js=[53,56,66,78,90],Ys="cluster",ts=function(){function t(e,n,s){n===void 0&&(n=[]),s===void 0&&(s={}),this.getMinimumClusterSize=this.getMinimumClusterSize.bind(this),this.setMinimumClusterSize=this.setMinimumClusterSize.bind(this),this.getEnableRetinaIcons=this.getEnableRetinaIcons.bind(this),this.setEnableRetinaIcons=this.setEnableRetinaIcons.bind(this),this.addToClosestCluster=this.addToClosestCluster.bind(this),this.getImageExtension=this.getImageExtension.bind(this),this.setImageExtension=this.setImageExtension.bind(this),this.getExtendedBounds=this.getExtendedBounds.bind(this),this.getAverageCenter=this.getAverageCenter.bind(this),this.setAverageCenter=this.setAverageCenter.bind(this),this.getTotalClusters=this.getTotalClusters.bind(this),this.fitMapToMarkers=this.fitMapToMarkers.bind(this),this.getIgnoreHidden=this.getIgnoreHidden.bind(this),this.setIgnoreHidden=this.setIgnoreHidden.bind(this),this.getClusterClass=this.getClusterClass.bind(this),this.setClusterClass=this.setClusterClass.bind(this),this.getTotalMarkers=this.getTotalMarkers.bind(this),this.getZoomOnClick=this.getZoomOnClick.bind(this),this.setZoomOnClick=this.setZoomOnClick.bind(this),this.getBatchSizeIE=this.getBatchSizeIE.bind(this),this.setBatchSizeIE=this.setBatchSizeIE.bind(this),this.createClusters=this.createClusters.bind(this),this.onZoomChanged=this.onZoomChanged.bind(this),this.getImageSizes=this.getImageSizes.bind(this),this.setImageSizes=this.setImageSizes.bind(this),this.getCalculator=this.getCalculator.bind(this),this.setCalculator=this.setCalculator.bind(this),this.removeMarkers=this.removeMarkers.bind(this),this.resetViewport=this.resetViewport.bind(this),this.getImagePath=this.getImagePath.bind(this),this.setImagePath=this.setImagePath.bind(this),this.pushMarkerTo=this.pushMarkerTo.bind(this),this.removeMarker=this.removeMarker.bind(this),this.clearMarkers=this.clearMarkers.bind(this),this.setupStyles=this.setupStyles.bind(this),this.getGridSize=this.getGridSize.bind(this),this.setGridSize=this.setGridSize.bind(this),this.getClusters=this.getClusters.bind(this),this.getMaxZoom=this.getMaxZoom.bind(this),this.setMaxZoom=this.setMaxZoom.bind(this),this.getMarkers=this.getMarkers.bind(this),this.addMarkers=this.addMarkers.bind(this),this.getStyles=this.getStyles.bind(this),this.setStyles=this.setStyles.bind(this),this.addMarker=this.addMarker.bind(this),this.onRemove=this.onRemove.bind(this),this.getTitle=this.getTitle.bind(this),this.setTitle=this.setTitle.bind(this),this.repaint=this.repaint.bind(this),this.onIdle=this.onIdle.bind(this),this.redraw=this.redraw.bind(this),this.onAdd=this.onAdd.bind(this),this.draw=this.draw.bind(this),this.extend=this.extend.bind(this),this.extend(t,google.maps.OverlayView),this.markers=[],this.clusters=[],this.listeners=[],this.activeMap=null,this.ready=!1,this.gridSize=s.gridSize||60,this.minClusterSize=s.minimumClusterSize||2,this.maxZoom=s.maxZoom||null,this.styles=s.styles||[],this.title=s.title||"",this.zoomOnClick=!0,s.zoomOnClick!==void 0&&(this.zoomOnClick=s.zoomOnClick),this.averageCenter=!1,s.averageCenter!==void 0&&(this.averageCenter=s.averageCenter),this.ignoreHidden=!1,s.ignoreHidden!==void 0&&(this.ignoreHidden=s.ignoreHidden),this.enableRetinaIcons=!1,s.enableRetinaIcons!==void 0&&(this.enableRetinaIcons=s.enableRetinaIcons),this.imagePath=s.imagePath||Ks,this.imageExtension=s.imageExtension||qs,this.imageSizes=s.imageSizes||Js,this.calculator=s.calculator||Fs,this.batchSize=s.batchSize||Hs,this.batchSizeIE=s.batchSizeIE||Gs,this.clusterClass=s.clusterClass||Ys,navigator.userAgent.toLowerCase().indexOf("msie")!==-1&&(this.batchSize=this.batchSizeIE),this.timerRefStatic=null,this.setupStyles(),this.addMarkers(n,!0),this.setMap(e)}return t.prototype.onZoomChanged=function(){var e,n;this.resetViewport(!1),(((e=this.getMap())===null||e===void 0?void 0:e.getZoom())===(this.get("minZoom")||0)||((n=this.getMap())===null||n===void 0?void 0:n.getZoom())===this.get("maxZoom"))&&google.maps.event.trigger(this,"idle")},t.prototype.onIdle=function(){this.redraw()},t.prototype.onAdd=function(){var e=this.getMap();this.activeMap=e,this.ready=!0,this.repaint(),e!==null&&(this.listeners=[google.maps.event.addListener(e,"zoom_changed",this.onZoomChanged),google.maps.event.addListener(e,"idle",this.onIdle)])},t.prototype.onRemove=function(){for(var e=0,n=this.markers;e<n.length;e++){var s=n[e];s.getMap()!==this.activeMap&&s.setMap(this.activeMap)}for(var r=0,o=this.clusters;r<o.length;r++){var a=o[r];a.remove()}this.clusters=[];for(var l=0,u=this.listeners;l<u.length;l++){var g=u[l];google.maps.event.removeListener(g)}this.listeners=[],this.activeMap=null,this.ready=!1},t.prototype.draw=function(){},t.prototype.getMap=function(){return null},t.prototype.getPanes=function(){return null},t.prototype.getProjection=function(){return{fromContainerPixelToLatLng:function(){return null},fromDivPixelToLatLng:function(){return null},fromLatLngToContainerPixel:function(){return null},fromLatLngToDivPixel:function(){return null},getVisibleRegion:function(){return null},getWorldWidth:function(){return 0}}},t.prototype.setMap=function(){},t.prototype.addListener=function(){return{remove:function(){}}},t.prototype.bindTo=function(){},t.prototype.get=function(){},t.prototype.notify=function(){},t.prototype.set=function(){},t.prototype.setValues=function(){},t.prototype.unbind=function(){},t.prototype.unbindAll=function(){},t.prototype.setupStyles=function(){if(!(this.styles.length>0))for(var e=0;e<this.imageSizes.length;e++)this.styles.push({url:"".concat(this.imagePath+(e+1),".").concat(this.imageExtension),height:this.imageSizes[e]||0,width:this.imageSizes[e]||0})},t.prototype.fitMapToMarkers=function(){for(var e=this.getMarkers(),n=new google.maps.LatLngBounds,s=0,r=e;s<r.length;s++){var o=r[s],a=o.getPosition();a&&n.extend(a)}var l=this.getMap();l!==null&&"fitBounds"in l&&l.fitBounds(n)},t.prototype.getGridSize=function(){return this.gridSize},t.prototype.setGridSize=function(e){this.gridSize=e},t.prototype.getMinimumClusterSize=function(){return this.minClusterSize},t.prototype.setMinimumClusterSize=function(e){this.minClusterSize=e},t.prototype.getMaxZoom=function(){return this.maxZoom},t.prototype.setMaxZoom=function(e){this.maxZoom=e},t.prototype.getStyles=function(){return this.styles},t.prototype.setStyles=function(e){this.styles=e},t.prototype.getTitle=function(){return this.title},t.prototype.setTitle=function(e){this.title=e},t.prototype.getZoomOnClick=function(){return this.zoomOnClick},t.prototype.setZoomOnClick=function(e){this.zoomOnClick=e},t.prototype.getAverageCenter=function(){return this.averageCenter},t.prototype.setAverageCenter=function(e){this.averageCenter=e},t.prototype.getIgnoreHidden=function(){return this.ignoreHidden},t.prototype.setIgnoreHidden=function(e){this.ignoreHidden=e},t.prototype.getEnableRetinaIcons=function(){return this.enableRetinaIcons},t.prototype.setEnableRetinaIcons=function(e){this.enableRetinaIcons=e},t.prototype.getImageExtension=function(){return this.imageExtension},t.prototype.setImageExtension=function(e){this.imageExtension=e},t.prototype.getImagePath=function(){return this.imagePath},t.prototype.setImagePath=function(e){this.imagePath=e},t.prototype.getImageSizes=function(){return this.imageSizes},t.prototype.setImageSizes=function(e){this.imageSizes=e},t.prototype.getCalculator=function(){return this.calculator},t.prototype.setCalculator=function(e){this.calculator=e},t.prototype.getBatchSizeIE=function(){return this.batchSizeIE},t.prototype.setBatchSizeIE=function(e){this.batchSizeIE=e},t.prototype.getClusterClass=function(){return this.clusterClass},t.prototype.setClusterClass=function(e){this.clusterClass=e},t.prototype.getMarkers=function(){return this.markers},t.prototype.getTotalMarkers=function(){return this.markers.length},t.prototype.getClusters=function(){return this.clusters},t.prototype.getTotalClusters=function(){return this.clusters.length},t.prototype.addMarker=function(e,n){this.pushMarkerTo(e),n||this.redraw()},t.prototype.addMarkers=function(e,n){for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)){var r=e[s];r&&this.pushMarkerTo(r)}n||this.redraw()},t.prototype.pushMarkerTo=function(e){var n=this;e.getDraggable()&&google.maps.event.addListener(e,"dragend",function(){n.ready&&(e.isAdded=!1,n.repaint())}),e.isAdded=!1,this.markers.push(e)},t.prototype.removeMarker_=function(e){var n=-1;if(this.markers.indexOf)n=this.markers.indexOf(e);else for(var s=0;s<this.markers.length;s++)if(e===this.markers[s]){n=s;break}return n===-1?!1:(e.setMap(null),this.markers.splice(n,1),!0)},t.prototype.removeMarker=function(e,n){var s=this.removeMarker_(e);return!n&&s&&this.repaint(),s},t.prototype.removeMarkers=function(e,n){for(var s=!1,r=0,o=e;r<o.length;r++){var a=o[r];s=s||this.removeMarker_(a)}return!n&&s&&this.repaint(),s},t.prototype.clearMarkers=function(){this.resetViewport(!0),this.markers=[]},t.prototype.repaint=function(){var e=this.clusters.slice();this.clusters=[],this.resetViewport(!1),this.redraw(),setTimeout(function(){for(var s=0,r=e;s<r.length;s++){var o=r[s];o.remove()}},0)},t.prototype.getExtendedBounds=function(e){var n=this.getProjection(),s=n.fromLatLngToDivPixel(new google.maps.LatLng(e.getNorthEast().lat(),e.getNorthEast().lng()));s!==null&&(s.x+=this.gridSize,s.y-=this.gridSize);var r=n.fromLatLngToDivPixel(new google.maps.LatLng(e.getSouthWest().lat(),e.getSouthWest().lng()));if(r!==null&&(r.x-=this.gridSize,r.y+=this.gridSize),s!==null){var o=n.fromDivPixelToLatLng(s);o!==null&&e.extend(o)}if(r!==null){var a=n.fromDivPixelToLatLng(r);a!==null&&e.extend(a)}return e},t.prototype.redraw=function(){this.createClusters(0)},t.prototype.resetViewport=function(e){for(var n=0,s=this.clusters;n<s.length;n++){var r=s[n];r.remove()}this.clusters=[];for(var o=0,a=this.markers;o<a.length;o++){var l=a[o];l.isAdded=!1,e&&l.setMap(null)}},t.prototype.distanceBetweenPoints=function(e,n){var s=6371,r=(n.lat()-e.lat())*Math.PI/180,o=(n.lng()-e.lng())*Math.PI/180,a=Math.sin(r/2)*Math.sin(r/2)+Math.cos(e.lat()*Math.PI/180)*Math.cos(n.lat()*Math.PI/180)*Math.sin(o/2)*Math.sin(o/2);return s*(2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a)))},t.prototype.isMarkerInBounds=function(e,n){var s=e.getPosition();return s?n.contains(s):!1},t.prototype.addToClosestCluster=function(e){for(var n,s=4e4,r=null,o=0,a=this.clusters;o<a.length;o++){var l=a[o];n=l;var u=n.getCenter(),g=e.getPosition();if(u&&g){var d=this.distanceBetweenPoints(u,g);d<s&&(s=d,r=n)}}r&&r.isMarkerInClusterBounds(e)?r.addMarker(e):(n=new $s(this),n.addMarker(e),this.clusters.push(n))},t.prototype.createClusters=function(e){var n=this;if(this.ready){e===0&&(google.maps.event.trigger(this,"clusteringbegin",this),this.timerRefStatic!==null&&(window.clearTimeout(this.timerRefStatic),delete this.timerRefStatic));for(var s=this.getMap(),r=s!==null&&("getBounds"in s)?s.getBounds():null,o=(s==null?void 0:s.getZoom())||0,a=o>3?new google.maps.LatLngBounds(r==null?void 0:r.getSouthWest(),r==null?void 0:r.getNorthEast()):new google.maps.LatLngBounds(new google.maps.LatLng(85.02070771743472,-178.48388434375),new google.maps.LatLng(-85.08136444384544,178.00048865625)),l=this.getExtendedBounds(a),u=Math.min(e+this.batchSize,this.markers.length),g=e;g<u;g++){var d=this.markers[g];d&&!d.isAdded&&this.isMarkerInBounds(d,l)&&(!this.ignoreHidden||this.ignoreHidden&&d.getVisible())&&this.addToClosestCluster(d)}if(u<this.markers.length)this.timerRefStatic=window.setTimeout(function(){n.createClusters(u)},0);else{this.timerRefStatic=null,google.maps.event.trigger(this,"clusteringend",this);for(var p=0,f=this.clusters;p<f.length;p++){var v=f[p];v.updateIcon()}}}},t.prototype.extend=function(e,n){return(function(r){for(var o in r.prototype){var a=o;this.prototype[a]=r.prototype[a]}return this}).apply(e,[n])},t}();function _t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,s)}return n}function Qs(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?_t(Object(n),!0).forEach(function(s){h(t,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_t(Object(n)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(n,s))})}return t}var re={onClick:"click",onClusteringBegin:"clusteringbegin",onClusteringEnd:"clusteringend",onMouseOut:"mouseout",onMouseOver:"mouseover"},H={averageCenter(t,e){t.setAverageCenter(e)},batchSizeIE(t,e){t.setBatchSizeIE(e)},calculator(t,e){t.setCalculator(e)},clusterClass(t,e){t.setClusterClass(e)},enableRetinaIcons(t,e){t.setEnableRetinaIcons(e)},gridSize(t,e){t.setGridSize(e)},ignoreHidden(t,e){t.setIgnoreHidden(e)},imageExtension(t,e){t.setImageExtension(e)},imagePath(t,e){t.setImagePath(e)},imageSizes(t,e){t.setImageSizes(e)},maxZoom(t,e){t.setMaxZoom(e)},minimumClusterSize(t,e){t.setMinimumClusterSize(e)},styles(t,e){t.setStyles(e)},title(t,e){t.setTitle(e)},zoomOnClick(t,e){t.setZoomOnClick(e)}},Xs={};function ei(t){var{children:e,options:n,averageCenter:s,batchSizeIE:r,calculator:o,clusterClass:a,enableRetinaIcons:l,gridSize:u,ignoreHidden:g,imageExtension:d,imagePath:p,imageSizes:f,maxZoom:v,minimumClusterSize:c,styles:x,title:M,zoomOnClick:S,onClick:w,onClusteringBegin:D,onClusteringEnd:C,onMouseOver:m,onMouseOut:y,onLoad:E,onUnmount:P}=t,[b,O]=i.useState(null),k=i.useContext(A),[U,Z]=i.useState(null),[R,T]=i.useState(null),[W,q]=i.useState(null),[N,G]=i.useState(null),[$,K]=i.useState(null);return i.useEffect(()=>{b&&y&&(N!==null&&google.maps.event.removeListener(N),G(google.maps.event.addListener(b,re.onMouseOut,y)))},[y]),i.useEffect(()=>{b&&m&&($!==null&&google.maps.event.removeListener($),K(google.maps.event.addListener(b,re.onMouseOver,m)))},[m]),i.useEffect(()=>{b&&w&&(U!==null&&google.maps.event.removeListener(U),Z(google.maps.event.addListener(b,re.onClick,w)))},[w]),i.useEffect(()=>{b&&D&&(R!==null&&google.maps.event.removeListener(R),T(google.maps.event.addListener(b,re.onClusteringBegin,D)))},[D]),i.useEffect(()=>{b&&C&&(W!==null&&google.maps.event.removeListener(W),T(google.maps.event.addListener(b,re.onClusteringEnd,C)))},[C]),i.useEffect(()=>{typeof s<"u"&&b!==null&&H.averageCenter(b,s)},[b,s]),i.useEffect(()=>{typeof r<"u"&&b!==null&&H.batchSizeIE(b,r)},[b,r]),i.useEffect(()=>{typeof o<"u"&&b!==null&&H.calculator(b,o)},[b,o]),i.useEffect(()=>{typeof a<"u"&&b!==null&&H.clusterClass(b,a)},[b,a]),i.useEffect(()=>{typeof l<"u"&&b!==null&&H.enableRetinaIcons(b,l)},[b,l]),i.useEffect(()=>{typeof u<"u"&&b!==null&&H.gridSize(b,u)},[b,u]),i.useEffect(()=>{typeof g<"u"&&b!==null&&H.ignoreHidden(b,g)},[b,g]),i.useEffect(()=>{typeof d<"u"&&b!==null&&H.imageExtension(b,d)},[b,d]),i.useEffect(()=>{typeof p<"u"&&b!==null&&H.imagePath(b,p)},[b,p]),i.useEffect(()=>{typeof f<"u"&&b!==null&&H.imageSizes(b,f)},[b,f]),i.useEffect(()=>{typeof v<"u"&&b!==null&&H.maxZoom(b,v)},[b,v]),i.useEffect(()=>{typeof c<"u"&&b!==null&&H.minimumClusterSize(b,c)},[b,c]),i.useEffect(()=>{typeof x<"u"&&b!==null&&H.styles(b,x)},[b,x]),i.useEffect(()=>{typeof M<"u"&&b!==null&&H.title(b,M)},[b,M]),i.useEffect(()=>{typeof S<"u"&&b!==null&&H.zoomOnClick(b,S)},[b,S]),i.useEffect(()=>{if(k){var J=Qs({},n||Xs),j=new ts(k,[],J);return s&&H.averageCenter(j,s),r&&H.batchSizeIE(j,r),o&&H.calculator(j,o),a&&H.clusterClass(j,a),l&&H.enableRetinaIcons(j,l),u&&H.gridSize(j,u),g&&H.ignoreHidden(j,g),d&&H.imageExtension(j,d),p&&H.imagePath(j,p),f&&H.imageSizes(j,f),v&&H.maxZoom(j,v),c&&H.minimumClusterSize(j,c),x&&H.styles(j,x),M&&H.title(j,M),S&&H.zoomOnClick(j,S),y&&G(google.maps.event.addListener(j,re.onMouseOut,y)),m&&K(google.maps.event.addListener(j,re.onMouseOver,m)),w&&Z(google.maps.event.addListener(j,re.onClick,w)),D&&T(google.maps.event.addListener(j,re.onClusteringBegin,D)),C&&q(google.maps.event.addListener(j,re.onClusteringEnd,C)),O(j),E&&E(j),()=>{N!==null&&google.maps.event.removeListener(N),$!==null&&google.maps.event.removeListener($),U!==null&&google.maps.event.removeListener(U),R!==null&&google.maps.event.removeListener(R),W!==null&&google.maps.event.removeListener(W),P&&P(j)}}},[]),b!==null&&e(b)||null}i.memo(ei);class ns extends i.PureComponent{constructor(){super(...arguments),h(this,"registeredEvents",[]),h(this,"state",{markerClusterer:null}),h(this,"setClustererCallback",()=>{this.state.markerClusterer!==null&&this.props.onLoad&&this.props.onLoad(this.state.markerClusterer)})}componentDidMount(){if(this.context){var e=new ts(this.context,[],this.props.options);this.registeredEvents=_({updaterMap:H,eventMap:re,prevProps:{},nextProps:this.props,instance:e}),this.setState(()=>({markerClusterer:e}),this.setClustererCallback)}}componentDidUpdate(e){this.state.markerClusterer&&(V(this.registeredEvents),this.registeredEvents=_({updaterMap:H,eventMap:re,prevProps:e,nextProps:this.props,instance:this.state.markerClusterer}))}componentWillUnmount(){this.state.markerClusterer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.markerClusterer),V(this.registeredEvents),this.state.markerClusterer.setMap(null))}render(){return this.state.markerClusterer!==null?this.props.children(this.state.markerClusterer):null}}h(ns,"contextType",A);function Zt(t){t.cancelBubble=!0,t.stopPropagation&&t.stopPropagation()}var ss=function(){function t(e){e===void 0&&(e={}),this.getCloseClickHandler=this.getCloseClickHandler.bind(this),this.closeClickHandler=this.closeClickHandler.bind(this),this.createInfoBoxDiv=this.createInfoBoxDiv.bind(this),this.addClickHandler=this.addClickHandler.bind(this),this.getCloseBoxImg=this.getCloseBoxImg.bind(this),this.getBoxWidths=this.getBoxWidths.bind(this),this.setBoxStyle=this.setBoxStyle.bind(this),this.setPosition=this.setPosition.bind(this),this.getPosition=this.getPosition.bind(this),this.setOptions=this.setOptions.bind(this),this.setContent=this.setContent.bind(this),this.setVisible=this.setVisible.bind(this),this.getContent=this.getContent.bind(this),this.getVisible=this.getVisible.bind(this),this.setZIndex=this.setZIndex.bind(this),this.getZIndex=this.getZIndex.bind(this),this.onRemove=this.onRemove.bind(this),this.panBox=this.panBox.bind(this),this.extend=this.extend.bind(this),this.close=this.close.bind(this),this.draw=this.draw.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.open=this.open.bind(this),this.extend(t,google.maps.OverlayView),this.content=e.content||"",this.disableAutoPan=e.disableAutoPan||!1,this.maxWidth=e.maxWidth||0,this.pixelOffset=e.pixelOffset||new google.maps.Size(0,0),this.position=e.position||new google.maps.LatLng(0,0),this.zIndex=e.zIndex||null,this.boxClass=e.boxClass||"infoBox",this.boxStyle=e.boxStyle||{},this.closeBoxMargin=e.closeBoxMargin||"2px",this.closeBoxURL=e.closeBoxURL||"http://www.google.com/intl/en_us/mapfiles/close.gif",e.closeBoxURL===""&&(this.closeBoxURL=""),this.infoBoxClearance=e.infoBoxClearance||new google.maps.Size(1,1),typeof e.visible>"u"&&(typeof e.isHidden>"u"?e.visible=!0:e.visible=!e.isHidden),this.isHidden=!e.visible,this.alignBottom=e.alignBottom||!1,this.pane=e.pane||"floatPane",this.enableEventPropagation=e.enableEventPropagation||!1,this.div=null,this.closeListener=null,this.moveListener=null,this.mapListener=null,this.contextListener=null,this.eventListeners=null,this.fixedWidthSet=null}return t.prototype.createInfoBoxDiv=function(){var e=this,n=function(d){d.returnValue=!1,d.preventDefault&&d.preventDefault(),e.enableEventPropagation||Zt(d)};if(!this.div){this.div=document.createElement("div"),this.setBoxStyle(),typeof this.content=="string"?this.div.innerHTML=this.getCloseBoxImg()+this.content:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(this.content));var s=this.getPanes();if(s!==null&&s[this.pane].appendChild(this.div),this.addClickHandler(),this.div.style.width)this.fixedWidthSet=!0;else if(this.maxWidth!==0&&this.div.offsetWidth>this.maxWidth)this.div.style.width=this.maxWidth+"px",this.fixedWidthSet=!0;else{var r=this.getBoxWidths();this.div.style.width=this.div.offsetWidth-r.left-r.right+"px",this.fixedWidthSet=!1}if(this.panBox(this.disableAutoPan),!this.enableEventPropagation){this.eventListeners=[];for(var o=["mousedown","mouseover","mouseout","mouseup","click","dblclick","touchstart","touchend","touchmove"],a=0,l=o;a<l.length;a++){var u=l[a];this.eventListeners.push(google.maps.event.addListener(this.div,u,Zt))}this.eventListeners.push(google.maps.event.addListener(this.div,"mouseover",function(){e.div&&(e.div.style.cursor="default")}))}this.contextListener=google.maps.event.addListener(this.div,"contextmenu",n),google.maps.event.trigger(this,"domready")}},t.prototype.getCloseBoxImg=function(){var e="";return this.closeBoxURL!==""&&(e='<img alt=""',e+=' aria-hidden="true"',e+=" src='"+this.closeBoxURL+"'",e+=" align=right",e+=" style='",e+=" position: relative;",e+=" cursor: pointer;",e+=" margin: "+this.closeBoxMargin+";",e+="'>"),e},t.prototype.addClickHandler=function(){this.closeListener=this.div&&this.div.firstChild&&this.closeBoxURL!==""?google.maps.event.addListener(this.div.firstChild,"click",this.getCloseClickHandler()):null},t.prototype.closeClickHandler=function(e){e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation(),google.maps.event.trigger(this,"closeclick"),this.close()},t.prototype.getCloseClickHandler=function(){return this.closeClickHandler},t.prototype.panBox=function(e){if(this.div&&!e){var n=this.getMap();if(n instanceof google.maps.Map){var s=0,r=0,o=n.getBounds();o&&!o.contains(this.position)&&n.setCenter(this.position);var a=n.getDiv(),l=a.offsetWidth,u=a.offsetHeight,g=this.pixelOffset.width,d=this.pixelOffset.height,p=this.div.offsetWidth,f=this.div.offsetHeight,v=this.infoBoxClearance.width,c=this.infoBoxClearance.height,x=this.getProjection(),M=x.fromLatLngToContainerPixel(this.position);M!==null&&(M.x<-g+v?s=M.x+g-v:M.x+p+g+v>l&&(s=M.x+p+g+v-l),this.alignBottom?M.y<-d+c+f?r=M.y+d-c-f:M.y+d+c>u&&(r=M.y+d+c-u):M.y<-d+c?r=M.y+d-c:M.y+f+d+c>u&&(r=M.y+f+d+c-u)),s===0&&r===0||n.panBy(s,r)}}},t.prototype.setBoxStyle=function(){if(this.div){this.div.className=this.boxClass,this.div.style.cssText="";var e=this.boxStyle;for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(this.div.style[n]=e[n]);if(this.div.style.webkitTransform="translateZ(0)",typeof this.div.style.opacity<"u"&&this.div.style.opacity!==""){var s=parseFloat(this.div.style.opacity||"");this.div.style.msFilter='"progid:DXImageTransform.Microsoft.Alpha(Opacity='+s*100+')"',this.div.style.filter="alpha(opacity="+s*100+")"}this.div.style.position="absolute",this.div.style.visibility="hidden",this.zIndex!==null&&(this.div.style.zIndex=this.zIndex+""),this.div.style.overflow||(this.div.style.overflow="auto")}},t.prototype.getBoxWidths=function(){var e={top:0,bottom:0,left:0,right:0};if(!this.div)return e;if(document.defaultView){var n=this.div.ownerDocument,s=n&&n.defaultView?n.defaultView.getComputedStyle(this.div,""):null;s&&(e.top=parseInt(s.borderTopWidth||"",10)||0,e.bottom=parseInt(s.borderBottomWidth||"",10)||0,e.left=parseInt(s.borderLeftWidth||"",10)||0,e.right=parseInt(s.borderRightWidth||"",10)||0)}else if(document.documentElement.currentStyle){var r=this.div.currentStyle;r&&(e.top=parseInt(r.borderTopWidth||"",10)||0,e.bottom=parseInt(r.borderBottomWidth||"",10)||0,e.left=parseInt(r.borderLeftWidth||"",10)||0,e.right=parseInt(r.borderRightWidth||"",10)||0)}return e},t.prototype.onRemove=function(){this.div&&this.div.parentNode&&(this.div.parentNode.removeChild(this.div),this.div=null)},t.prototype.draw=function(){if(this.createInfoBoxDiv(),this.div){var e=this.getProjection(),n=e.fromLatLngToDivPixel(this.position);n!==null&&(this.div.style.left=n.x+this.pixelOffset.width+"px",this.alignBottom?this.div.style.bottom=-(n.y+this.pixelOffset.height)+"px":this.div.style.top=n.y+this.pixelOffset.height+"px"),this.isHidden?this.div.style.visibility="hidden":this.div.style.visibility="visible"}},t.prototype.setOptions=function(e){e===void 0&&(e={}),typeof e.boxClass<"u"&&(this.boxClass=e.boxClass,this.setBoxStyle()),typeof e.boxStyle<"u"&&(this.boxStyle=e.boxStyle,this.setBoxStyle()),typeof e.content<"u"&&this.setContent(e.content),typeof e.disableAutoPan<"u"&&(this.disableAutoPan=e.disableAutoPan),typeof e.maxWidth<"u"&&(this.maxWidth=e.maxWidth),typeof e.pixelOffset<"u"&&(this.pixelOffset=e.pixelOffset),typeof e.alignBottom<"u"&&(this.alignBottom=e.alignBottom),typeof e.position<"u"&&this.setPosition(e.position),typeof e.zIndex<"u"&&this.setZIndex(e.zIndex),typeof e.closeBoxMargin<"u"&&(this.closeBoxMargin=e.closeBoxMargin),typeof e.closeBoxURL<"u"&&(this.closeBoxURL=e.closeBoxURL),typeof e.infoBoxClearance<"u"&&(this.infoBoxClearance=e.infoBoxClearance),typeof e.isHidden<"u"&&(this.isHidden=e.isHidden),typeof e.visible<"u"&&(this.isHidden=!e.visible),typeof e.enableEventPropagation<"u"&&(this.enableEventPropagation=e.enableEventPropagation),this.div&&this.draw()},t.prototype.setContent=function(e){this.content=e,this.div&&(this.closeListener&&(google.maps.event.removeListener(this.closeListener),this.closeListener=null),this.fixedWidthSet||(this.div.style.width=""),typeof e=="string"?this.div.innerHTML=this.getCloseBoxImg()+e:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(e)),this.fixedWidthSet||(this.div.style.width=this.div.offsetWidth+"px",typeof e=="string"?this.div.innerHTML=this.getCloseBoxImg()+e:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(e))),this.addClickHandler()),google.maps.event.trigger(this,"content_changed")},t.prototype.setPosition=function(e){this.position=e,this.div&&this.draw(),google.maps.event.trigger(this,"position_changed")},t.prototype.setVisible=function(e){this.isHidden=!e,this.div&&(this.div.style.visibility=this.isHidden?"hidden":"visible")},t.prototype.setZIndex=function(e){this.zIndex=e,this.div&&(this.div.style.zIndex=e+""),google.maps.event.trigger(this,"zindex_changed")},t.prototype.getContent=function(){return this.content},t.prototype.getPosition=function(){return this.position},t.prototype.getZIndex=function(){return this.zIndex},t.prototype.getVisible=function(){var e=this.getMap();return typeof e>"u"||e===null?!1:!this.isHidden},t.prototype.show=function(){this.isHidden=!1,this.div&&(this.div.style.visibility="visible")},t.prototype.hide=function(){this.isHidden=!0,this.div&&(this.div.style.visibility="hidden")},t.prototype.open=function(e,n){var s=this;n&&(this.position=n.getPosition(),this.moveListener=google.maps.event.addListener(n,"position_changed",function(){var r=n.getPosition();s.setPosition(r)}),this.mapListener=google.maps.event.addListener(n,"map_changed",function(){s.setMap(n.map)})),this.setMap(e),this.div&&this.panBox()},t.prototype.close=function(){if(this.closeListener&&(google.maps.event.removeListener(this.closeListener),this.closeListener=null),this.eventListeners){for(var e=0,n=this.eventListeners;e<n.length;e++){var s=n[e];google.maps.event.removeListener(s)}this.eventListeners=null}this.moveListener&&(google.maps.event.removeListener(this.moveListener),this.moveListener=null),this.mapListener&&(google.maps.event.removeListener(this.mapListener),this.mapListener=null),this.contextListener&&(google.maps.event.removeListener(this.contextListener),this.contextListener=null),this.setMap(null)},t.prototype.extend=function(e,n){return(function(r){for(var o in r.prototype)Object.prototype.hasOwnProperty.call(this,o)||(this.prototype[o]=r.prototype[o]);return this}).apply(e,[n])},t}(),ti=["position"],ni=["position"];function Vt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,s)}return n}function Ve(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Vt(Object(n),!0).forEach(function(s){h(t,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Vt(Object(n)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(n,s))})}return t}var Wt={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},Nt={options(t,e){t.setOptions(e)},position(t,e){e instanceof google.maps.LatLng?t.setPosition(e):t.setPosition(new google.maps.LatLng(e.lat,e.lng))},visible(t,e){t.setVisible(e)},zIndex(t,e){t.setZIndex(e)}},si={};function ii(t){var{children:e,anchor:n,options:s,position:r,zIndex:o,onCloseClick:a,onDomReady:l,onContentChanged:u,onPositionChanged:g,onZindexChanged:d,onLoad:p,onUnmount:f}=t,v=i.useContext(A),[c,x]=i.useState(null),[M,S]=i.useState(null),[w,D]=i.useState(null),[C,m]=i.useState(null),[y,E]=i.useState(null),[P,b]=i.useState(null),O=i.useRef(null);return i.useEffect(()=>{v&&c!==null&&(c.close(),n?c.open(v,n):c.getPosition()&&c.open(v))},[v,c,n]),i.useEffect(()=>{s&&c!==null&&c.setOptions(s)},[c,s]),i.useEffect(()=>{if(r&&c!==null){var k=r instanceof google.maps.LatLng?r:new google.maps.LatLng(r.lat,r.lng);c.setPosition(k)}},[r]),i.useEffect(()=>{typeof o=="number"&&c!==null&&c.setZIndex(o)},[o]),i.useEffect(()=>{c&&a&&(M!==null&&google.maps.event.removeListener(M),S(google.maps.event.addListener(c,"closeclick",a)))},[a]),i.useEffect(()=>{c&&l&&(w!==null&&google.maps.event.removeListener(w),D(google.maps.event.addListener(c,"domready",l)))},[l]),i.useEffect(()=>{c&&u&&(C!==null&&google.maps.event.removeListener(C),m(google.maps.event.addListener(c,"content_changed",u)))},[u]),i.useEffect(()=>{c&&g&&(y!==null&&google.maps.event.removeListener(y),E(google.maps.event.addListener(c,"position_changed",g)))},[g]),i.useEffect(()=>{c&&d&&(P!==null&&google.maps.event.removeListener(P),b(google.maps.event.addListener(c,"zindex_changed",d)))},[d]),i.useEffect(()=>{if(v){var k=s||si,{position:U}=k,Z=tt(k,ti),R;U&&!(U instanceof google.maps.LatLng)&&(R=new google.maps.LatLng(U.lat,U.lng));var T=new ss(Ve(Ve({},Z),R?{position:R}:{}));O.current=document.createElement("div"),x(T),a&&S(google.maps.event.addListener(T,"closeclick",a)),l&&D(google.maps.event.addListener(T,"domready",l)),u&&m(google.maps.event.addListener(T,"content_changed",u)),g&&E(google.maps.event.addListener(T,"position_changed",g)),d&&b(google.maps.event.addListener(T,"zindex_changed",d)),T.setContent(O.current),n?T.open(v,n):T.getPosition()?T.open(v):ne(!1,"You must provide either an anchor or a position prop for <InfoBox>."),p&&p(T)}return()=>{c!==null&&(M&&google.maps.event.removeListener(M),C&&google.maps.event.removeListener(C),w&&google.maps.event.removeListener(w),y&&google.maps.event.removeListener(y),P&&google.maps.event.removeListener(P),f&&f(c),c.close())}},[]),O.current?Ce.createPortal(i.Children.only(e),O.current):null}i.memo(ii);class is extends i.PureComponent{constructor(){super(...arguments),h(this,"registeredEvents",[]),h(this,"containerElement",null),h(this,"state",{infoBox:null}),h(this,"open",(e,n)=>{n?this.context!==null&&e.open(this.context,n):e.getPosition()?this.context!==null&&e.open(this.context):ne(!1,"You must provide either an anchor or a position prop for <InfoBox>.")}),h(this,"setInfoBoxCallback",()=>{this.state.infoBox!==null&&this.containerElement!==null&&(this.state.infoBox.setContent(this.containerElement),this.open(this.state.infoBox,this.props.anchor),this.props.onLoad&&this.props.onLoad(this.state.infoBox))})}componentDidMount(){var e=this.props.options||{},{position:n}=e,s=tt(e,ni),r;n&&!(n instanceof google.maps.LatLng)&&(r=new google.maps.LatLng(n.lat,n.lng));var o=new ss(Ve(Ve({},s),r?{position:r}:{}));this.containerElement=document.createElement("div"),this.registeredEvents=_({updaterMap:Nt,eventMap:Wt,prevProps:{},nextProps:this.props,instance:o}),this.setState({infoBox:o},this.setInfoBoxCallback)}componentDidUpdate(e){var{infoBox:n}=this.state;n!==null&&(V(this.registeredEvents),this.registeredEvents=_({updaterMap:Nt,eventMap:Wt,prevProps:e,nextProps:this.props,instance:n}))}componentWillUnmount(){var{onUnmount:e}=this.props,{infoBox:n}=this.state;n!==null&&(e&&e(n),V(this.registeredEvents),n.close())}render(){return this.containerElement?Ce.createPortal(i.Children.only(this.props.children),this.containerElement):null}}h(is,"contextType",A);var Ke,$t;function ri(){return $t||($t=1,Ke=function t(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var s,r,o;if(Array.isArray(e)){if(s=e.length,s!=n.length)return!1;for(r=s;r--!==0;)if(!t(e[r],n[r]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(o=Object.keys(e),s=o.length,s!==Object.keys(n).length)return!1;for(r=s;r--!==0;)if(!Object.prototype.hasOwnProperty.call(n,o[r]))return!1;for(r=s;r--!==0;){var a=o[r];if(!t(e[a],n[a]))return!1}return!0}return e!==e&&n!==n}),Ke}var oi=ri(),Ft=Vn(oi),Ht=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],qe=1,me=8;class nt{static from(e){if(!(e instanceof ArrayBuffer))throw new Error("Data must be an instance of ArrayBuffer.");var[n,s]=new Uint8Array(e,0,2);if(n!==219)throw new Error("Data does not appear to be in a KDBush format.");var r=s>>4;if(r!==qe)throw new Error("Got v".concat(r," data when expected v").concat(qe,"."));var o=Ht[s&15];if(!o)throw new Error("Unrecognized array type.");var[a]=new Uint16Array(e,2,1),[l]=new Uint32Array(e,4,1);return new nt(l,a,o,e)}constructor(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:64,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Float64Array,r=arguments.length>3?arguments[3]:void 0;if(isNaN(e)||e<0)throw new Error("Unpexpected numItems value: ".concat(e,"."));this.numItems=+e,this.nodeSize=Math.min(Math.max(+n,2),65535),this.ArrayType=s,this.IndexArrayType=e<65536?Uint16Array:Uint32Array;var o=Ht.indexOf(this.ArrayType),a=e*2*this.ArrayType.BYTES_PER_ELEMENT,l=e*this.IndexArrayType.BYTES_PER_ELEMENT,u=(8-l%8)%8;if(o<0)throw new Error("Unexpected typed array class: ".concat(s,"."));r&&r instanceof ArrayBuffer?(this.data=r,this.ids=new this.IndexArrayType(this.data,me,e),this.coords=new this.ArrayType(this.data,me+l+u,e*2),this._pos=e*2,this._finished=!0):(this.data=new ArrayBuffer(me+a+l+u),this.ids=new this.IndexArrayType(this.data,me,e),this.coords=new this.ArrayType(this.data,me+l+u,e*2),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,(qe<<4)+o]),new Uint16Array(this.data,2,1)[0]=n,new Uint32Array(this.data,4,1)[0]=e)}add(e,n){var s=this._pos>>1;return this.ids[s]=s,this.coords[this._pos++]=e,this.coords[this._pos++]=n,s}finish(){var e=this._pos>>1;if(e!==this.numItems)throw new Error("Added ".concat(e," items when expected ").concat(this.numItems,"."));return Xe(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(e,n,s,r){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");for(var{ids:o,coords:a,nodeSize:l}=this,u=[0,o.length-1,0],g=[];u.length;){var d=u.pop()||0,p=u.pop()||0,f=u.pop()||0;if(p-f<=l){for(var v=f;v<=p;v++){var c=a[2*v],x=a[2*v+1];c>=e&&c<=s&&x>=n&&x<=r&&g.push(o[v])}continue}var M=f+p>>1,S=a[2*M],w=a[2*M+1];S>=e&&S<=s&&w>=n&&w<=r&&g.push(o[M]),(d===0?e<=S:n<=w)&&(u.push(f),u.push(M-1),u.push(1-d)),(d===0?s>=S:r>=w)&&(u.push(M+1),u.push(p),u.push(1-d))}return g}within(e,n,s){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");for(var{ids:r,coords:o,nodeSize:a}=this,l=[0,r.length-1,0],u=[],g=s*s;l.length;){var d=l.pop()||0,p=l.pop()||0,f=l.pop()||0;if(p-f<=a){for(var v=f;v<=p;v++)Gt(o[2*v],o[2*v+1],e,n)<=g&&u.push(r[v]);continue}var c=f+p>>1,x=o[2*c],M=o[2*c+1];Gt(x,M,e,n)<=g&&u.push(r[c]),(d===0?e-s<=x:n-s<=M)&&(l.push(f),l.push(c-1),l.push(1-d)),(d===0?e+s>=x:n+s>=M)&&(l.push(c+1),l.push(p),l.push(1-d))}return u}}function Xe(t,e,n,s,r,o){if(!(r-s<=n)){var a=s+r>>1;rs(t,e,a,s,r,o),Xe(t,e,n,s,a-1,1-o),Xe(t,e,n,a+1,r,1-o)}}function rs(t,e,n,s,r,o){for(;r>s;){if(r-s>600){var a=r-s+1,l=n-s+1,u=Math.log(a),g=.5*Math.exp(2*u/3),d=.5*Math.sqrt(u*g*(a-g)/a)*(l-a/2<0?-1:1),p=Math.max(s,Math.floor(n-l*g/a+d)),f=Math.min(r,Math.floor(n+(a-l)*g/a+d));rs(t,e,n,p,f,o)}var v=e[2*n+o],c=s,x=r;for(Le(t,e,s,n),e[2*r+o]>v&&Le(t,e,s,r);c<x;){for(Le(t,e,c,x),c++,x--;e[2*c+o]<v;)c++;for(;e[2*x+o]>v;)x--}e[2*s+o]===v?Le(t,e,s,x):(x++,Le(t,e,x,r)),x<=n&&(s=x+1),n<=x&&(r=x-1)}}function Le(t,e,n,s){Je(t,n,s),Je(e,2*n,2*s),Je(e,2*n+1,2*s+1)}function Je(t,e,n){var s=t[e];t[e]=t[n],t[n]=s}function Gt(t,e,n,s){var r=t-n,o=e-s;return r*r+o*o}var ai={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:t=>t},Kt=Math.fround||(t=>e=>(t[0]=+e,t[0]))(new Float32Array(1)),pe=2,ue=3,Ye=4,le=5,os=6;class li{constructor(e){this.options=Object.assign(Object.create(ai),e),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}load(e){var{log:n,minZoom:s,maxZoom:r}=this.options;n&&console.time("total time");var o="prepare ".concat(e.length," points");n&&console.time(o),this.points=e;for(var a=[],l=0;l<e.length;l++){var u=e[l];if(u.geometry){var[g,d]=u.geometry.coordinates,p=Kt(Ue(g)),f=Kt(Ae(d));a.push(p,f,1/0,l,-1,1),this.options.reduce&&a.push(0)}}var v=this.trees[r+1]=this._createTree(a);n&&console.timeEnd(o);for(var c=r;c>=s;c--){var x=+Date.now();v=this.trees[c]=this._createTree(this._cluster(v,c)),n&&console.log("z%d: %d clusters in %dms",c,v.numItems,+Date.now()-x)}return n&&console.timeEnd("total time"),this}getClusters(e,n){var s=((e[0]+180)%360+360)%360-180,r=Math.max(-90,Math.min(90,e[1])),o=e[2]===180?180:((e[2]+180)%360+360)%360-180,a=Math.max(-90,Math.min(90,e[3]));if(e[2]-e[0]>=360)s=-180,o=180;else if(s>o){var l=this.getClusters([s,r,180,a],n),u=this.getClusters([-180,r,o,a],n);return l.concat(u)}var g=this.trees[this._limitZoom(n)],d=g.range(Ue(s),Ae(a),Ue(o),Ae(r)),p=g.data,f=[];for(var v of d){var c=this.stride*v;f.push(p[c+le]>1?qt(p,c,this.clusterProps):this.points[p[c+ue]])}return f}getChildren(e){var n=this._getOriginId(e),s=this._getOriginZoom(e),r="No cluster with the specified id.",o=this.trees[s];if(!o)throw new Error(r);var a=o.data;if(n*this.stride>=a.length)throw new Error(r);var l=this.options.radius/(this.options.extent*Math.pow(2,s-1)),u=a[n*this.stride],g=a[n*this.stride+1],d=o.within(u,g,l),p=[];for(var f of d){var v=f*this.stride;a[v+Ye]===e&&p.push(a[v+le]>1?qt(a,v,this.clusterProps):this.points[a[v+ue]])}if(p.length===0)throw new Error(r);return p}getLeaves(e,n,s){n=n||10,s=s||0;var r=[];return this._appendLeaves(r,e,n,s,0),r}getTile(e,n,s){var r=this.trees[this._limitZoom(e)],o=Math.pow(2,e),{extent:a,radius:l}=this.options,u=l/a,g=(s-u)/o,d=(s+1+u)/o,p={features:[]};return this._addTileFeatures(r.range((n-u)/o,g,(n+1+u)/o,d),r.data,n,s,o,p),n===0&&this._addTileFeatures(r.range(1-u/o,g,1,d),r.data,o,s,o,p),n===o-1&&this._addTileFeatures(r.range(0,g,u/o,d),r.data,-1,s,o,p),p.features.length?p:null}getClusterExpansionZoom(e){for(var n=this._getOriginZoom(e)-1;n<=this.options.maxZoom;){var s=this.getChildren(e);if(n++,s.length!==1)break;e=s[0].properties.cluster_id}return n}_appendLeaves(e,n,s,r,o){var a=this.getChildren(n);for(var l of a){var u=l.properties;if(u&&u.cluster?o+u.point_count<=r?o+=u.point_count:o=this._appendLeaves(e,u.cluster_id,s,r,o):o<r?o++:e.push(l),e.length===s)break}return o}_createTree(e){for(var n=new nt(e.length/this.stride|0,this.options.nodeSize,Float32Array),s=0;s<e.length;s+=this.stride)n.add(e[s],e[s+1]);return n.finish(),n.data=e,n}_addTileFeatures(e,n,s,r,o,a){for(var l of e){var u=l*this.stride,g=n[u+le]>1,d=void 0,p=void 0,f=void 0;if(g)d=as(n,u,this.clusterProps),p=n[u],f=n[u+1];else{var v=this.points[n[u+ue]];d=v.properties;var[c,x]=v.geometry.coordinates;p=Ue(c),f=Ae(x)}var M={type:1,geometry:[[Math.round(this.options.extent*(p*o-s)),Math.round(this.options.extent*(f*o-r))]],tags:d},S=void 0;g||this.options.generateId?S=n[u+ue]:S=this.points[n[u+ue]].id,S!==void 0&&(M.id=S),a.features.push(M)}}_limitZoom(e){return Math.max(this.options.minZoom,Math.min(Math.floor(+e),this.options.maxZoom+1))}_cluster(e,n){for(var{radius:s,extent:r,reduce:o,minPoints:a}=this.options,l=s/(r*Math.pow(2,n)),u=e.data,g=[],d=this.stride,p=0;p<u.length;p+=d)if(!(u[p+pe]<=n)){u[p+pe]=n;var f=u[p],v=u[p+1],c=e.within(u[p],u[p+1],l),x=u[p+le],M=x;for(var S of c){var w=S*d;u[w+pe]>n&&(M+=u[w+le])}if(M>x&&M>=a){var D=f*x,C=v*x,m=void 0,y=-1,E=((p/d|0)<<5)+(n+1)+this.points.length;for(var P of c){var b=P*d;if(!(u[b+pe]<=n)){u[b+pe]=n;var O=u[b+le];D+=u[b]*O,C+=u[b+1]*O,u[b+Ye]=E,o&&(m||(m=this._map(u,p,!0),y=this.clusterProps.length,this.clusterProps.push(m)),o(m,this._map(u,b)))}}u[p+Ye]=E,g.push(D/M,C/M,1/0,E,-1,M),o&&g.push(y)}else{for(var k=0;k<d;k++)g.push(u[p+k]);if(M>1)for(var U of c){var Z=U*d;if(!(u[Z+pe]<=n)){u[Z+pe]=n;for(var R=0;R<d;R++)g.push(u[Z+R])}}}}return g}_getOriginId(e){return e-this.points.length>>5}_getOriginZoom(e){return(e-this.points.length)%32}_map(e,n,s){if(e[n+le]>1){var r=this.clusterProps[e[n+os]];return s?Object.assign({},r):r}var o=this.points[e[n+ue]].properties,a=this.options.map(o);return s&&a===o?Object.assign({},a):a}}function qt(t,e,n){return{type:"Feature",id:t[e+ue],properties:as(t,e,n),geometry:{type:"Point",coordinates:[ui(t[e]),pi(t[e+1])]}}}function as(t,e,n){var s=t[e+le],r=s>=1e4?"".concat(Math.round(s/1e3),"k"):s>=1e3?"".concat(Math.round(s/100)/10,"k"):s,o=t[e+os],a=o===-1?{}:Object.assign({},n[o]);return Object.assign(a,{cluster:!0,cluster_id:t[e+ue],point_count:s,point_count_abbreviated:r})}function Ue(t){return t/360+.5}function Ae(t){var e=Math.sin(t*Math.PI/180),n=.5-.25*Math.log((1+e)/(1-e))/Math.PI;return n<0?0:n>1?1:n}function ui(t){return(t-.5)*360}function pi(t){var e=(180-t*360)*Math.PI/180;return 360*Math.atan(Math.exp(e))/Math.PI-90}/*! *****************************************************************************
|
|
23
10
|
Copyright (c) Microsoft Corporation.
|
|
24
11
|
|
|
25
12
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -32,10 +19,10 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
32
19
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
33
20
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
34
21
|
PERFORMANCE OF THIS SOFTWARE.
|
|
35
|
-
***************************************************************************** */function
|
|
22
|
+
***************************************************************************** */function ci(t,e){var n={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&e.indexOf(s)<0&&(n[s]=t[s]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,s=Object.getOwnPropertySymbols(t);r<s.length;r++)e.indexOf(s[r])<0&&Object.prototype.propertyIsEnumerable.call(t,s[r])&&(n[s[r]]=t[s[r]]);return n}class se{static isAdvancedMarkerAvailable(e){return google.maps.marker&&e.getMapCapabilities().isAdvancedMarkersAvailable===!0}static isAdvancedMarker(e){return google.maps.marker&&e instanceof google.maps.marker.AdvancedMarkerElement}static setMap(e,n){this.isAdvancedMarker(e)?e.map=n:e.setMap(n)}static getPosition(e){if(this.isAdvancedMarker(e)){if(e.position){if(e.position instanceof google.maps.LatLng)return e.position;if(e.position.lat&&e.position.lng)return new google.maps.LatLng(e.position.lat,e.position.lng)}return new google.maps.LatLng(null)}return e.getPosition()}static getVisible(e){return this.isAdvancedMarker(e)?!0:e.getVisible()}}class et{constructor(e){var{markers:n,position:s}=e;this.markers=n,s&&(s instanceof google.maps.LatLng?this._position=s:this._position=new google.maps.LatLng(s))}get bounds(){if(!(this.markers.length===0&&!this._position)){var e=new google.maps.LatLngBounds(this._position,this._position);for(var n of this.markers)e.extend(se.getPosition(n));return e}}get position(){return this._position||this.bounds.getCenter()}get count(){return this.markers.filter(e=>se.getVisible(e)).length}push(e){this.markers.push(e)}delete(){this.marker&&(se.setMap(this.marker,null),this.marker=void 0),this.markers.length=0}}class di{constructor(e){var{maxZoom:n=16}=e;this.maxZoom=n}noop(e){var{markers:n}=e;return gi(n)}}var gi=t=>{var e=t.map(n=>new et({position:se.getPosition(n),markers:[n]}));return e};class fi extends di{constructor(e){var{maxZoom:n,radius:s=60}=e,r=ci(e,["maxZoom","radius"]);super({maxZoom:n}),this.state={zoom:-1},this.superCluster=new li(Object.assign({maxZoom:this.maxZoom,radius:s},r))}calculate(e){var n=!1,s={zoom:e.map.getZoom()};if(!Ft(e.markers,this.markers)){n=!0,this.markers=[...e.markers];var r=this.markers.map(o=>{var a=se.getPosition(o),l=[a.lng(),a.lat()];return{type:"Feature",geometry:{type:"Point",coordinates:l},properties:{marker:o}}});this.superCluster.load(r)}return n||(this.state.zoom<=this.maxZoom||s.zoom<=this.maxZoom)&&(n=!Ft(this.state,s)),this.state=s,n&&(this.clusters=this.cluster(e)),{clusters:this.clusters,changed:n}}cluster(e){var{map:n}=e;return this.superCluster.getClusters([-180,-90,180,90],Math.round(n.getZoom())).map(s=>this.transformCluster(s))}transformCluster(e){var{geometry:{coordinates:[n,s]},properties:r}=e;if(r.cluster)return new et({markers:this.superCluster.getLeaves(r.cluster_id,1/0).map(a=>a.properties.marker),position:{lat:s,lng:n}});var o=r.marker;return new et({markers:[o],position:se.getPosition(o)})}}class hi{constructor(e,n){this.markers={sum:e.length};var s=n.map(o=>o.count),r=s.reduce((o,a)=>o+a,0);this.clusters={count:n.length,markers:{mean:r/n.length,sum:r,min:Math.min(...s),max:Math.max(...s)}}}}class vi{render(e,n,s){var{count:r,position:o}=e,a=r>Math.max(10,n.clusters.markers.mean)?"#ff0000":"#0000ff",l='<svg fill="'.concat(a,`" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240" width="50" height="50">
|
|
36
23
|
<circle cx="120" cy="120" opacity=".6" r="70" />
|
|
37
24
|
<circle cx="120" cy="120" opacity=".3" r="90" />
|
|
38
25
|
<circle cx="120" cy="120" opacity=".2" r="110" />
|
|
39
|
-
<text x="50%" y="50%" style="fill:#fff" text-anchor="middle" font-size="50" dominant-baseline="middle" font-family="roboto,arial,sans-serif"
|
|
40
|
-
</svg>`,u=`Cluster of ${e} markers`,l=Number(google.maps.Marker.MAX_ZINDEX)+e;if(Le.isAdvancedMarkerAvailable(s)){const p=document.createElement("div");p.innerHTML=a;const f=p.firstElementChild;f.setAttribute("transform","translate(0 25)");const h={map:s,position:n,zIndex:l,title:u,content:f};return new google.maps.marker.AdvancedMarkerElement(h)}const c={position:n,zIndex:l,title:u,icon:{url:`data:image/svg+xml;base64,${btoa(a)}`,anchor:new google.maps.Point(25,25)}};return new google.maps.Marker(c)}}function Bo(t,e){for(let n in e.prototype)t.prototype[n]=e.prototype[n]}class it{constructor(){Bo(it,google.maps.OverlayView)}}var Re;(function(t){t.CLUSTERING_BEGIN="clusteringbegin",t.CLUSTERING_END="clusteringend",t.CLUSTER_CLICK="click"})(Re||(Re={}));const zo=(t,e,n)=>{n.fitBounds(e.bounds)};class Ao extends it{constructor({map:e,markers:n=[],algorithmOptions:o={},algorithm:s=new Ro(o),renderer:r=new To,onClusterClick:a=zo}){super(),this.markers=[...n],this.clusters=[],this.algorithm=s,this.renderer=r,this.onClusterClick=a,e&&this.setMap(e)}addMarker(e,n){this.markers.includes(e)||(this.markers.push(e),n||this.render())}addMarkers(e,n){e.forEach(o=>{this.addMarker(o,!0)}),n||this.render()}removeMarker(e,n){const o=this.markers.indexOf(e);return o===-1?!1:(Le.setMap(e,null),this.markers.splice(o,1),n||this.render(),!0)}removeMarkers(e,n){let o=!1;return e.forEach(s=>{o=this.removeMarker(s,!0)||o}),o&&!n&&this.render(),o}clearMarkers(e){this.markers.length=0,e||this.render()}render(){const e=this.getMap();if(e instanceof google.maps.Map&&e.getProjection()){google.maps.event.trigger(this,Re.CLUSTERING_BEGIN,this);const{clusters:n,changed:o}=this.algorithm.calculate({markers:this.markers,map:e,mapCanvasProjection:this.getProjection()});if(o||o==null){const s=new Set;for(const a of n)a.markers.length==1&&s.add(a.markers[0]);const r=[];for(const a of this.clusters)a.marker!=null&&(a.markers.length==1?s.has(a.marker)||Le.setMap(a.marker,null):r.push(a.marker));this.clusters=n,this.renderClusters(),requestAnimationFrame(()=>r.forEach(a=>Le.setMap(a,null)))}google.maps.event.trigger(this,Re.CLUSTERING_END,this)}}onAdd(){this.idleListener=this.getMap().addListener("idle",this.render.bind(this)),this.render()}onRemove(){google.maps.event.removeListener(this.idleListener),this.reset()}reset(){this.markers.forEach(e=>Le.setMap(e,null)),this.clusters.forEach(e=>e.delete()),this.clusters=[]}renderClusters(){const e=new Uo(this.markers,this.clusters),n=this.getMap();this.clusters.forEach(o=>{o.markers.length===1?o.marker=o.markers[0]:(o.marker=this.renderer.render(o,e,n),o.markers.forEach(s=>Le.setMap(s,null)),this.onClusterClick&&o.marker.addListener("click",s=>{google.maps.event.trigger(this,Re.CLUSTER_CLICK,o),this.onClusterClick(s,o,n)})),Le.setMap(o.marker,n)})}}function jo(t){var e=In(),n=i.useState(null),o=n[0],s=n[1];return i.useEffect(function(){if(e&&o===null){var r=new Ao(w(w({},t),{map:e}));s(r)}},[e]),o}function Zo(t){var e=t.children,n=t.options,o=jo(n);return o!==null?e(o):null}i.memo(Zo);var Xt={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},en={options:function(t,e){t.setOptions(e)},position:function(t,e){t.setPosition(e)},zIndex:function(t,e){t.setZIndex(e)}};function Vo(t){var e=t.children,n=t.anchor,o=t.options,s=t.position,r=t.zIndex,a=t.onCloseClick,u=t.onDomReady,l=t.onContentChanged,c=t.onPositionChanged,p=t.onZindexChanged,f=t.onLoad,h=t.onUnmount,g=i.useContext(Z),M=i.useState(null),m=M[0],y=M[1],x=i.useState(null),S=x[0],b=x[1],O=i.useState(null),E=O[0],d=O[1],R=i.useState(null),v=R[0],I=R[1],L=i.useState(null),U=L[0],B=L[1],G=i.useState(null),T=G[0],z=G[1],V=i.useRef(null);return i.useEffect(function(){m!==null&&(m.close(),n?m.open(g,n):m.getPosition()&&m.open(g))},[g,m,n]),i.useEffect(function(){o&&m!==null&&m.setOptions(o)},[m,o]),i.useEffect(function(){s&&m!==null&&m.setPosition(s)},[s]),i.useEffect(function(){typeof r=="number"&&m!==null&&m.setZIndex(r)},[r]),i.useEffect(function(){m&&a&&(S!==null&&google.maps.event.removeListener(S),b(google.maps.event.addListener(m,"closeclick",a)))},[a]),i.useEffect(function(){m&&u&&(E!==null&&google.maps.event.removeListener(E),d(google.maps.event.addListener(m,"domready",u)))},[u]),i.useEffect(function(){m&&l&&(v!==null&&google.maps.event.removeListener(v),I(google.maps.event.addListener(m,"content_changed",l)))},[l]),i.useEffect(function(){m&&c&&(U!==null&&google.maps.event.removeListener(U),B(google.maps.event.addListener(m,"position_changed",c)))},[c]),i.useEffect(function(){m&&p&&(T!==null&&google.maps.event.removeListener(T),z(google.maps.event.addListener(m,"zindex_changed",p)))},[p]),i.useEffect(function(){var k=new google.maps.InfoWindow(w({},o||{}));return y(k),V.current=document.createElement("div"),a&&b(google.maps.event.addListener(k,"closeclick",a)),u&&d(google.maps.event.addListener(k,"domready",u)),l&&I(google.maps.event.addListener(k,"content_changed",l)),c&&B(google.maps.event.addListener(k,"position_changed",c)),p&&z(google.maps.event.addListener(k,"zindex_changed",p)),k.setContent(V.current),s&&k.setPosition(s),r&&k.setZIndex(r),n?k.open(g,n):k.getPosition()?k.open(g):de(!1,"You must provide either an anchor (typically render it inside a <Marker>) or a position props for <InfoWindow>."),f&&f(k),function(){S&&google.maps.event.removeListener(S),v&&google.maps.event.removeListener(v),E&&google.maps.event.removeListener(E),U&&google.maps.event.removeListener(U),T&&google.maps.event.removeListener(T),h&&h(k),k.close()}},[]),V.current?Ue.createPortal(i.Children.only(e),V.current):null}i.memo(Vo);(function(t){X(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.containerElement=null,n.state={infoWindow:null},n.open=function(o,s){s?o.open(n.context,s):o.getPosition()?o.open(n.context):de(!1,"You must provide either an anchor (typically render it inside a <Marker>) or a position props for <InfoWindow>.")},n.setInfoWindowCallback=function(){n.state.infoWindow!==null&&n.containerElement!==null&&(n.state.infoWindow.setContent(n.containerElement),n.open(n.state.infoWindow,n.props.anchor),n.props.onLoad&&n.props.onLoad(n.state.infoWindow))},n}return e.prototype.componentDidMount=function(){var n=new google.maps.InfoWindow(w({},this.props.options||{}));this.containerElement=document.createElement("div"),this.registeredEvents=W({updaterMap:en,eventMap:Xt,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{infoWindow:n}},this.setInfoWindowCallback)},e.prototype.componentDidUpdate=function(n){this.state.infoWindow!==null&&(H(this.registeredEvents),this.registeredEvents=W({updaterMap:en,eventMap:Xt,prevProps:n,nextProps:this.props,instance:this.state.infoWindow}))},e.prototype.componentWillUnmount=function(){this.state.infoWindow!==null&&(H(this.registeredEvents),this.props.onUnmount&&this.props.onUnmount(this.state.infoWindow),this.state.infoWindow.close())},e.prototype.render=function(){return this.containerElement?Ue.createPortal(i.Children.only(this.props.children),this.containerElement):null},e.contextType=Z,e})(i.PureComponent);var tn={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},nn={draggable:function(t,e){t.setDraggable(e)},editable:function(t,e){t.setEditable(e)},map:function(t,e){t.setMap(e)},options:function(t,e){t.setOptions(e)},path:function(t,e){t.setPath(e)},visible:function(t,e){t.setVisible(e)}},No={};function Wo(t){var e=t.options,n=t.draggable,o=t.editable,s=t.visible,r=t.path,a=t.onDblClick,u=t.onDragEnd,l=t.onDragStart,c=t.onMouseDown,p=t.onMouseMove,f=t.onMouseOut,h=t.onMouseOver,g=t.onMouseUp,M=t.onRightClick,m=t.onClick,y=t.onDrag,x=t.onLoad,S=t.onUnmount,b=i.useContext(Z),O=i.useState(null),E=O[0],d=O[1],R=i.useState(null),v=R[0],I=R[1],L=i.useState(null),U=L[0],B=L[1],G=i.useState(null),T=G[0],z=G[1],V=i.useState(null),k=V[0],N=V[1],J=i.useState(null),_=J[0],A=J[1],ae=i.useState(null),Y=ae[0],K=ae[1],le=i.useState(null),C=le[0],Q=le[1],ce=i.useState(null),P=ce[0],ee=ce[1],fe=i.useState(null),ie=fe[0],te=fe[1],ge=i.useState(null),se=ge[0],ne=ge[1],he=i.useState(null),ue=he[0],re=he[1];return i.useEffect(function(){E!==null&&E.setMap(b)},[b]),i.useEffect(function(){typeof e<"u"&&E!==null&&E.setOptions(e)},[E,e]),i.useEffect(function(){typeof n<"u"&&E!==null&&E.setDraggable(n)},[E,n]),i.useEffect(function(){typeof o<"u"&&E!==null&&E.setEditable(o)},[E,o]),i.useEffect(function(){typeof s<"u"&&E!==null&&E.setVisible(s)},[E,s]),i.useEffect(function(){typeof r<"u"&&E!==null&&E.setPath(r)},[E,r]),i.useEffect(function(){E&&a&&(v!==null&&google.maps.event.removeListener(v),I(google.maps.event.addListener(E,"dblclick",a)))},[a]),i.useEffect(function(){E&&u&&(U!==null&&google.maps.event.removeListener(U),B(google.maps.event.addListener(E,"dragend",u)))},[u]),i.useEffect(function(){E&&l&&(T!==null&&google.maps.event.removeListener(T),z(google.maps.event.addListener(E,"dragstart",l)))},[l]),i.useEffect(function(){E&&c&&(k!==null&&google.maps.event.removeListener(k),N(google.maps.event.addListener(E,"mousedown",c)))},[c]),i.useEffect(function(){E&&p&&(_!==null&&google.maps.event.removeListener(_),A(google.maps.event.addListener(E,"mousemove",p)))},[p]),i.useEffect(function(){E&&f&&(Y!==null&&google.maps.event.removeListener(Y),K(google.maps.event.addListener(E,"mouseout",f)))},[f]),i.useEffect(function(){E&&h&&(C!==null&&google.maps.event.removeListener(C),Q(google.maps.event.addListener(E,"mouseover",h)))},[h]),i.useEffect(function(){E&&g&&(P!==null&&google.maps.event.removeListener(P),ee(google.maps.event.addListener(E,"mouseup",g)))},[g]),i.useEffect(function(){E&&M&&(ie!==null&&google.maps.event.removeListener(ie),te(google.maps.event.addListener(E,"rightclick",M)))},[M]),i.useEffect(function(){E&&m&&(se!==null&&google.maps.event.removeListener(se),ne(google.maps.event.addListener(E,"click",m)))},[m]),i.useEffect(function(){E&&y&&(ue!==null&&google.maps.event.removeListener(ue),re(google.maps.event.addListener(E,"drag",y)))},[y]),i.useEffect(function(){var F=new google.maps.Polyline(w(w({},e||No),{map:b}));return r&&F.setPath(r),typeof s<"u"&&F.setVisible(s),typeof o<"u"&&F.setEditable(o),typeof n<"u"&&F.setDraggable(n),a&&I(google.maps.event.addListener(F,"dblclick",a)),u&&B(google.maps.event.addListener(F,"dragend",u)),l&&z(google.maps.event.addListener(F,"dragstart",l)),c&&N(google.maps.event.addListener(F,"mousedown",c)),p&&A(google.maps.event.addListener(F,"mousemove",p)),f&&K(google.maps.event.addListener(F,"mouseout",f)),h&&Q(google.maps.event.addListener(F,"mouseover",h)),g&&ee(google.maps.event.addListener(F,"mouseup",g)),M&&te(google.maps.event.addListener(F,"rightclick",M)),m&&ne(google.maps.event.addListener(F,"click",m)),y&&re(google.maps.event.addListener(F,"drag",y)),d(F),x&&x(F),function(){v!==null&&google.maps.event.removeListener(v),U!==null&&google.maps.event.removeListener(U),T!==null&&google.maps.event.removeListener(T),k!==null&&google.maps.event.removeListener(k),_!==null&&google.maps.event.removeListener(_),Y!==null&&google.maps.event.removeListener(Y),C!==null&&google.maps.event.removeListener(C),P!==null&&google.maps.event.removeListener(P),ie!==null&&google.maps.event.removeListener(ie),se!==null&&google.maps.event.removeListener(se),S&&S(F),F.setMap(null)}},[]),null}i.memo(Wo);(function(t){X(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={polyline:null},n.setPolylineCallback=function(){n.state.polyline!==null&&n.props.onLoad&&n.props.onLoad(n.state.polyline)},n}return e.prototype.componentDidMount=function(){var n=new google.maps.Polyline(w(w({},this.props.options||{}),{map:this.context}));this.registeredEvents=W({updaterMap:nn,eventMap:tn,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{polyline:n}},this.setPolylineCallback)},e.prototype.componentDidUpdate=function(n){this.state.polyline!==null&&(H(this.registeredEvents),this.registeredEvents=W({updaterMap:nn,eventMap:tn,prevProps:n,nextProps:this.props,instance:this.state.polyline}))},e.prototype.componentWillUnmount=function(){this.state.polyline!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.polyline),H(this.registeredEvents),this.state.polyline.setMap(null))},e.prototype.render=function(){return null},e.contextType=Z,e})(i.PureComponent);var on={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},sn={draggable:function(t,e){t.setDraggable(e)},editable:function(t,e){t.setEditable(e)},map:function(t,e){t.setMap(e)},options:function(t,e){t.setOptions(e)},path:function(t,e){t.setPath(e)},paths:function(t,e){t.setPaths(e)},visible:function(t,e){t.setVisible(e)}};function Fo(t){var e=t.options,n=t.draggable,o=t.editable,s=t.visible,r=t.path,a=t.paths,u=t.onDblClick,l=t.onDragEnd,c=t.onDragStart,p=t.onMouseDown,f=t.onMouseMove,h=t.onMouseOut,g=t.onMouseOver,M=t.onMouseUp,m=t.onRightClick,y=t.onClick,x=t.onDrag,S=t.onLoad,b=t.onUnmount,O=i.useContext(Z),E=i.useState(null),d=E[0],R=E[1],v=i.useState(null),I=v[0],L=v[1],U=i.useState(null),B=U[0],G=U[1],T=i.useState(null),z=T[0],V=T[1],k=i.useState(null),N=k[0],J=k[1],_=i.useState(null),A=_[0],ae=_[1],Y=i.useState(null),K=Y[0],le=Y[1],C=i.useState(null),Q=C[0],ce=C[1],P=i.useState(null),ee=P[0],fe=P[1],ie=i.useState(null),te=ie[0],ge=ie[1],se=i.useState(null),ne=se[0],he=se[1],ue=i.useState(null),re=ue[0],F=ue[1];return i.useEffect(function(){d!==null&&d.setMap(O)},[O]),i.useEffect(function(){typeof e<"u"&&d!==null&&d.setOptions(e)},[d,e]),i.useEffect(function(){typeof n<"u"&&d!==null&&d.setDraggable(n)},[d,n]),i.useEffect(function(){typeof o<"u"&&d!==null&&d.setEditable(o)},[d,o]),i.useEffect(function(){typeof s<"u"&&d!==null&&d.setVisible(s)},[d,s]),i.useEffect(function(){typeof r<"u"&&d!==null&&d.setPath(r)},[d,r]),i.useEffect(function(){typeof a<"u"&&d!==null&&d.setPaths(a)},[d,a]),i.useEffect(function(){d&&u&&(I!==null&&google.maps.event.removeListener(I),L(google.maps.event.addListener(d,"dblclick",u)))},[u]),i.useEffect(function(){d&&l&&(B!==null&&google.maps.event.removeListener(B),G(google.maps.event.addListener(d,"dragend",l)))},[l]),i.useEffect(function(){d&&c&&(z!==null&&google.maps.event.removeListener(z),V(google.maps.event.addListener(d,"dragstart",c)))},[c]),i.useEffect(function(){d&&p&&(N!==null&&google.maps.event.removeListener(N),J(google.maps.event.addListener(d,"mousedown",p)))},[p]),i.useEffect(function(){d&&f&&(A!==null&&google.maps.event.removeListener(A),ae(google.maps.event.addListener(d,"mousemove",f)))},[f]),i.useEffect(function(){d&&h&&(K!==null&&google.maps.event.removeListener(K),le(google.maps.event.addListener(d,"mouseout",h)))},[h]),i.useEffect(function(){d&&g&&(Q!==null&&google.maps.event.removeListener(Q),ce(google.maps.event.addListener(d,"mouseover",g)))},[g]),i.useEffect(function(){d&&M&&(ee!==null&&google.maps.event.removeListener(ee),fe(google.maps.event.addListener(d,"mouseup",M)))},[M]),i.useEffect(function(){d&&m&&(te!==null&&google.maps.event.removeListener(te),ge(google.maps.event.addListener(d,"rightclick",m)))},[m]),i.useEffect(function(){d&&y&&(ne!==null&&google.maps.event.removeListener(ne),he(google.maps.event.addListener(d,"click",y)))},[y]),i.useEffect(function(){d&&x&&(re!==null&&google.maps.event.removeListener(re),F(google.maps.event.addListener(d,"drag",x)))},[x]),i.useEffect(function(){var $=new google.maps.Polygon(w(w({},e||{}),{map:O}));return r&&$.setPath(r),a&&$.setPaths(a),typeof s<"u"&&$.setVisible(s),typeof o<"u"&&$.setEditable(o),typeof n<"u"&&$.setDraggable(n),u&&L(google.maps.event.addListener($,"dblclick",u)),l&&G(google.maps.event.addListener($,"dragend",l)),c&&V(google.maps.event.addListener($,"dragstart",c)),p&&J(google.maps.event.addListener($,"mousedown",p)),f&&ae(google.maps.event.addListener($,"mousemove",f)),h&&le(google.maps.event.addListener($,"mouseout",h)),g&&ce(google.maps.event.addListener($,"mouseover",g)),M&&fe(google.maps.event.addListener($,"mouseup",M)),m&&ge(google.maps.event.addListener($,"rightclick",m)),y&&he(google.maps.event.addListener($,"click",y)),x&&F(google.maps.event.addListener($,"drag",x)),R($),S&&S($),function(){I!==null&&google.maps.event.removeListener(I),B!==null&&google.maps.event.removeListener(B),z!==null&&google.maps.event.removeListener(z),N!==null&&google.maps.event.removeListener(N),A!==null&&google.maps.event.removeListener(A),K!==null&&google.maps.event.removeListener(K),Q!==null&&google.maps.event.removeListener(Q),ee!==null&&google.maps.event.removeListener(ee),te!==null&&google.maps.event.removeListener(te),ne!==null&&google.maps.event.removeListener(ne),b&&b($),$.setMap(null)}},[]),null}i.memo(Fo);(function(t){X(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={polygon:null},n.setPolygonCallback=function(){n.state.polygon!==null&&n.props.onLoad&&n.props.onLoad(n.state.polygon)},n}return e.prototype.componentDidMount=function(){var n=new google.maps.Polygon(w(w({},this.props.options||{}),{map:this.context}));this.registeredEvents=W({updaterMap:sn,eventMap:on,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{polygon:n}},this.setPolygonCallback)},e.prototype.componentDidUpdate=function(n){this.state.polygon!==null&&(H(this.registeredEvents),this.registeredEvents=W({updaterMap:sn,eventMap:on,prevProps:n,nextProps:this.props,instance:this.state.polygon}))},e.prototype.componentWillUnmount=function(){this.state.polygon!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.polygon),H(this.registeredEvents),this.state.polygon&&this.state.polygon.setMap(null))},e.prototype.render=function(){return null},e.contextType=Z,e})(i.PureComponent);var rn={onBoundsChanged:"bounds_changed",onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},an={bounds:function(t,e){t.setBounds(e)},draggable:function(t,e){t.setDraggable(e)},editable:function(t,e){t.setEditable(e)},map:function(t,e){t.setMap(e)},options:function(t,e){t.setOptions(e)},visible:function(t,e){t.setVisible(e)}};function Ho(t){var e=t.options,n=t.bounds,o=t.draggable,s=t.editable,r=t.visible,a=t.onDblClick,u=t.onDragEnd,l=t.onDragStart,c=t.onMouseDown,p=t.onMouseMove,f=t.onMouseOut,h=t.onMouseOver,g=t.onMouseUp,M=t.onRightClick,m=t.onClick,y=t.onDrag,x=t.onBoundsChanged,S=t.onLoad,b=t.onUnmount,O=i.useContext(Z),E=i.useState(null),d=E[0],R=E[1],v=i.useState(null),I=v[0],L=v[1],U=i.useState(null),B=U[0],G=U[1],T=i.useState(null),z=T[0],V=T[1],k=i.useState(null),N=k[0],J=k[1],_=i.useState(null),A=_[0],ae=_[1],Y=i.useState(null),K=Y[0],le=Y[1],C=i.useState(null),Q=C[0],ce=C[1],P=i.useState(null),ee=P[0],fe=P[1],ie=i.useState(null),te=ie[0],ge=ie[1],se=i.useState(null),ne=se[0],he=se[1],ue=i.useState(null),re=ue[0],F=ue[1],$=i.useState(null),me=$[0],ve=$[1];return i.useEffect(function(){d!==null&&d.setMap(O)},[O]),i.useEffect(function(){typeof e<"u"&&d!==null&&d.setOptions(e)},[d,e]),i.useEffect(function(){typeof o<"u"&&d!==null&&d.setDraggable(o)},[d,o]),i.useEffect(function(){typeof s<"u"&&d!==null&&d.setEditable(s)},[d,s]),i.useEffect(function(){typeof r<"u"&&d!==null&&d.setVisible(r)},[d,r]),i.useEffect(function(){typeof n<"u"&&d!==null&&d.setBounds(n)},[d,n]),i.useEffect(function(){d&&a&&(I!==null&&google.maps.event.removeListener(I),L(google.maps.event.addListener(d,"dblclick",a)))},[a]),i.useEffect(function(){d&&u&&(B!==null&&google.maps.event.removeListener(B),G(google.maps.event.addListener(d,"dragend",u)))},[u]),i.useEffect(function(){d&&l&&(z!==null&&google.maps.event.removeListener(z),V(google.maps.event.addListener(d,"dragstart",l)))},[l]),i.useEffect(function(){d&&c&&(N!==null&&google.maps.event.removeListener(N),J(google.maps.event.addListener(d,"mousedown",c)))},[c]),i.useEffect(function(){d&&p&&(A!==null&&google.maps.event.removeListener(A),ae(google.maps.event.addListener(d,"mousemove",p)))},[p]),i.useEffect(function(){d&&f&&(K!==null&&google.maps.event.removeListener(K),le(google.maps.event.addListener(d,"mouseout",f)))},[f]),i.useEffect(function(){d&&h&&(Q!==null&&google.maps.event.removeListener(Q),ce(google.maps.event.addListener(d,"mouseover",h)))},[h]),i.useEffect(function(){d&&g&&(ee!==null&&google.maps.event.removeListener(ee),fe(google.maps.event.addListener(d,"mouseup",g)))},[g]),i.useEffect(function(){d&&M&&(te!==null&&google.maps.event.removeListener(te),ge(google.maps.event.addListener(d,"rightclick",M)))},[M]),i.useEffect(function(){d&&m&&(ne!==null&&google.maps.event.removeListener(ne),he(google.maps.event.addListener(d,"click",m)))},[m]),i.useEffect(function(){d&&y&&(re!==null&&google.maps.event.removeListener(re),F(google.maps.event.addListener(d,"drag",y)))},[y]),i.useEffect(function(){d&&x&&(me!==null&&google.maps.event.removeListener(me),ve(google.maps.event.addListener(d,"bounds_changed",x)))},[x]),i.useEffect(function(){var D=new google.maps.Rectangle(w(w({},e||{}),{map:O}));return typeof r<"u"&&D.setVisible(r),typeof s<"u"&&D.setEditable(s),typeof o<"u"&&D.setDraggable(o),typeof n<"u"&&D.setBounds(n),a&&L(google.maps.event.addListener(D,"dblclick",a)),u&&G(google.maps.event.addListener(D,"dragend",u)),l&&V(google.maps.event.addListener(D,"dragstart",l)),c&&J(google.maps.event.addListener(D,"mousedown",c)),p&&ae(google.maps.event.addListener(D,"mousemove",p)),f&&le(google.maps.event.addListener(D,"mouseout",f)),h&&ce(google.maps.event.addListener(D,"mouseover",h)),g&&fe(google.maps.event.addListener(D,"mouseup",g)),M&&ge(google.maps.event.addListener(D,"rightclick",M)),m&&he(google.maps.event.addListener(D,"click",m)),y&&F(google.maps.event.addListener(D,"drag",y)),x&&ve(google.maps.event.addListener(D,"bounds_changed",x)),R(D),S&&S(D),function(){I!==null&&google.maps.event.removeListener(I),B!==null&&google.maps.event.removeListener(B),z!==null&&google.maps.event.removeListener(z),N!==null&&google.maps.event.removeListener(N),A!==null&&google.maps.event.removeListener(A),K!==null&&google.maps.event.removeListener(K),Q!==null&&google.maps.event.removeListener(Q),ee!==null&&google.maps.event.removeListener(ee),te!==null&&google.maps.event.removeListener(te),ne!==null&&google.maps.event.removeListener(ne),re!==null&&google.maps.event.removeListener(re),me!==null&&google.maps.event.removeListener(me),b&&b(D),D.setMap(null)}},[]),null}i.memo(Ho);(function(t){X(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={rectangle:null},n.setRectangleCallback=function(){n.state.rectangle!==null&&n.props.onLoad&&n.props.onLoad(n.state.rectangle)},n}return e.prototype.componentDidMount=function(){var n=new google.maps.Rectangle(w(w({},this.props.options||{}),{map:this.context}));this.registeredEvents=W({updaterMap:an,eventMap:rn,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{rectangle:n}},this.setRectangleCallback)},e.prototype.componentDidUpdate=function(n){this.state.rectangle!==null&&(H(this.registeredEvents),this.registeredEvents=W({updaterMap:an,eventMap:rn,prevProps:n,nextProps:this.props,instance:this.state.rectangle}))},e.prototype.componentWillUnmount=function(){this.state.rectangle!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.rectangle),H(this.registeredEvents),this.state.rectangle.setMap(null))},e.prototype.render=function(){return null},e.contextType=Z,e})(i.PureComponent);var ln={onCenterChanged:"center_changed",onRadiusChanged:"radius_changed",onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},un={center:function(t,e){t.setCenter(e)},draggable:function(t,e){t.setDraggable(e)},editable:function(t,e){t.setEditable(e)},map:function(t,e){t.setMap(e)},options:function(t,e){t.setOptions(e)},radius:function(t,e){t.setRadius(e)},visible:function(t,e){t.setVisible(e)}},$o={};function Go(t){var e=t.options,n=t.center,o=t.radius,s=t.draggable,r=t.editable,a=t.visible,u=t.onDblClick,l=t.onDragEnd,c=t.onDragStart,p=t.onMouseDown,f=t.onMouseMove,h=t.onMouseOut,g=t.onMouseOver,M=t.onMouseUp,m=t.onRightClick,y=t.onClick,x=t.onDrag,S=t.onCenterChanged,b=t.onRadiusChanged,O=t.onLoad,E=t.onUnmount,d=i.useContext(Z),R=i.useState(null),v=R[0],I=R[1],L=i.useState(null),U=L[0],B=L[1],G=i.useState(null),T=G[0],z=G[1],V=i.useState(null),k=V[0],N=V[1],J=i.useState(null),_=J[0],A=J[1],ae=i.useState(null),Y=ae[0],K=ae[1],le=i.useState(null),C=le[0],Q=le[1],ce=i.useState(null),P=ce[0],ee=ce[1],fe=i.useState(null),ie=fe[0],te=fe[1],ge=i.useState(null),se=ge[0],ne=ge[1],he=i.useState(null),ue=he[0],re=he[1],F=i.useState(null),$=F[0],me=F[1],ve=i.useState(null),D=ve[0],Ce=ve[1],Se=i.useState(null),Me=Se[0],we=Se[1];return i.useEffect(function(){v!==null&&v.setMap(d)},[d]),i.useEffect(function(){typeof e<"u"&&v!==null&&v.setOptions(e)},[v,e]),i.useEffect(function(){typeof s<"u"&&v!==null&&v.setDraggable(s)},[v,s]),i.useEffect(function(){typeof r<"u"&&v!==null&&v.setEditable(r)},[v,r]),i.useEffect(function(){typeof a<"u"&&v!==null&&v.setVisible(a)},[v,a]),i.useEffect(function(){typeof o=="number"&&v!==null&&v.setRadius(o)},[v,o]),i.useEffect(function(){typeof n<"u"&&v!==null&&v.setCenter(n)},[v,n]),i.useEffect(function(){v&&u&&(U!==null&&google.maps.event.removeListener(U),B(google.maps.event.addListener(v,"dblclick",u)))},[u]),i.useEffect(function(){v&&l&&(T!==null&&google.maps.event.removeListener(T),z(google.maps.event.addListener(v,"dragend",l)))},[l]),i.useEffect(function(){v&&c&&(k!==null&&google.maps.event.removeListener(k),N(google.maps.event.addListener(v,"dragstart",c)))},[c]),i.useEffect(function(){v&&p&&(_!==null&&google.maps.event.removeListener(_),A(google.maps.event.addListener(v,"mousedown",p)))},[p]),i.useEffect(function(){v&&f&&(Y!==null&&google.maps.event.removeListener(Y),K(google.maps.event.addListener(v,"mousemove",f)))},[f]),i.useEffect(function(){v&&h&&(C!==null&&google.maps.event.removeListener(C),Q(google.maps.event.addListener(v,"mouseout",h)))},[h]),i.useEffect(function(){v&&g&&(P!==null&&google.maps.event.removeListener(P),ee(google.maps.event.addListener(v,"mouseover",g)))},[g]),i.useEffect(function(){v&&M&&(ie!==null&&google.maps.event.removeListener(ie),te(google.maps.event.addListener(v,"mouseup",M)))},[M]),i.useEffect(function(){v&&m&&(se!==null&&google.maps.event.removeListener(se),ne(google.maps.event.addListener(v,"rightclick",m)))},[m]),i.useEffect(function(){v&&y&&(ue!==null&&google.maps.event.removeListener(ue),re(google.maps.event.addListener(v,"click",y)))},[y]),i.useEffect(function(){v&&x&&($!==null&&google.maps.event.removeListener($),me(google.maps.event.addListener(v,"drag",x)))},[x]),i.useEffect(function(){v&&S&&(D!==null&&google.maps.event.removeListener(D),Ce(google.maps.event.addListener(v,"center_changed",S)))},[y]),i.useEffect(function(){v&&b&&(Me!==null&&google.maps.event.removeListener(Me),we(google.maps.event.addListener(v,"radius_changed",b)))},[b]),i.useEffect(function(){var oe=new google.maps.Circle(w(w({},e||$o),{map:d}));return typeof o=="number"&&oe.setRadius(o),typeof n<"u"&&oe.setCenter(n),typeof o=="number"&&oe.setRadius(o),typeof a<"u"&&oe.setVisible(a),typeof r<"u"&&oe.setEditable(r),typeof s<"u"&&oe.setDraggable(s),u&&B(google.maps.event.addListener(oe,"dblclick",u)),l&&z(google.maps.event.addListener(oe,"dragend",l)),c&&N(google.maps.event.addListener(oe,"dragstart",c)),p&&A(google.maps.event.addListener(oe,"mousedown",p)),f&&K(google.maps.event.addListener(oe,"mousemove",f)),h&&Q(google.maps.event.addListener(oe,"mouseout",h)),g&&ee(google.maps.event.addListener(oe,"mouseover",g)),M&&te(google.maps.event.addListener(oe,"mouseup",M)),m&&ne(google.maps.event.addListener(oe,"rightclick",m)),y&&re(google.maps.event.addListener(oe,"click",y)),x&&me(google.maps.event.addListener(oe,"drag",x)),S&&Ce(google.maps.event.addListener(oe,"center_changed",S)),b&&we(google.maps.event.addListener(oe,"radius_changed",b)),I(oe),O&&O(oe),function(){U!==null&&google.maps.event.removeListener(U),T!==null&&google.maps.event.removeListener(T),k!==null&&google.maps.event.removeListener(k),_!==null&&google.maps.event.removeListener(_),Y!==null&&google.maps.event.removeListener(Y),C!==null&&google.maps.event.removeListener(C),P!==null&&google.maps.event.removeListener(P),ie!==null&&google.maps.event.removeListener(ie),se!==null&&google.maps.event.removeListener(se),ue!==null&&google.maps.event.removeListener(ue),D!==null&&google.maps.event.removeListener(D),Me!==null&&google.maps.event.removeListener(Me),E&&E(oe),oe.setMap(null)}},[]),null}i.memo(Go);(function(t){X(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={circle:null},n.setCircleCallback=function(){n.state.circle!==null&&n.props.onLoad&&n.props.onLoad(n.state.circle)},n}return e.prototype.componentDidMount=function(){var n=new google.maps.Circle(w(w({},this.props.options||{}),{map:this.context}));this.registeredEvents=W({updaterMap:un,eventMap:ln,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{circle:n}},this.setCircleCallback)},e.prototype.componentDidUpdate=function(n){this.state.circle!==null&&(H(this.registeredEvents),this.registeredEvents=W({updaterMap:un,eventMap:ln,prevProps:n,nextProps:this.props,instance:this.state.circle}))},e.prototype.componentWillUnmount=function(){var n;this.state.circle!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.circle),H(this.registeredEvents),(n=this.state.circle)===null||n===void 0||n.setMap(null))},e.prototype.render=function(){return null},e.contextType=Z,e})(i.PureComponent);var cn={onClick:"click",onDblClick:"dblclick",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick",onAddFeature:"addfeature",onRemoveFeature:"removefeature",onRemoveProperty:"removeproperty",onSetGeometry:"setgeometry",onSetProperty:"setproperty"},pn={add:function(t,e){t.add(e)},addgeojson:function(t,e,n){t.addGeoJson(e,n)},contains:function(t,e){t.contains(e)},foreach:function(t,e){t.forEach(e)},loadgeojson:function(t,e,n,o){t.loadGeoJson(e,n,o)},overridestyle:function(t,e,n){t.overrideStyle(e,n)},remove:function(t,e){t.remove(e)},revertstyle:function(t,e){t.revertStyle(e)},controlposition:function(t,e){t.setControlPosition(e)},controls:function(t,e){t.setControls(e)},drawingmode:function(t,e){t.setDrawingMode(e)},map:function(t,e){t.setMap(e)},style:function(t,e){t.setStyle(e)},togeojson:function(t,e){t.toGeoJson(e)}};function _o(t){var e=t.options,n=t.onClick,o=t.onDblClick,s=t.onMouseDown,r=t.onMouseMove,a=t.onMouseOut,u=t.onMouseOver,l=t.onMouseUp,c=t.onRightClick,p=t.onAddFeature,f=t.onRemoveFeature,h=t.onRemoveProperty,g=t.onSetGeometry,M=t.onSetProperty,m=t.onLoad,y=t.onUnmount,x=i.useContext(Z),S=i.useState(null),b=S[0],O=S[1],E=i.useState(null),d=E[0],R=E[1],v=i.useState(null),I=v[0],L=v[1],U=i.useState(null),B=U[0],G=U[1],T=i.useState(null),z=T[0],V=T[1],k=i.useState(null),N=k[0],J=k[1],_=i.useState(null),A=_[0],ae=_[1],Y=i.useState(null),K=Y[0],le=Y[1],C=i.useState(null),Q=C[0],ce=C[1],P=i.useState(null),ee=P[0],fe=P[1],ie=i.useState(null),te=ie[0],ge=ie[1],se=i.useState(null),ne=se[0],he=se[1],ue=i.useState(null),re=ue[0],F=ue[1],$=i.useState(null),me=$[0],ve=$[1];return i.useEffect(function(){b!==null&&b.setMap(x)},[x]),i.useEffect(function(){b&&o&&(d!==null&&google.maps.event.removeListener(d),R(google.maps.event.addListener(b,"dblclick",o)))},[o]),i.useEffect(function(){b&&s&&(I!==null&&google.maps.event.removeListener(I),L(google.maps.event.addListener(b,"mousedown",s)))},[s]),i.useEffect(function(){b&&r&&(B!==null&&google.maps.event.removeListener(B),G(google.maps.event.addListener(b,"mousemove",r)))},[r]),i.useEffect(function(){b&&a&&(z!==null&&google.maps.event.removeListener(z),V(google.maps.event.addListener(b,"mouseout",a)))},[a]),i.useEffect(function(){b&&u&&(N!==null&&google.maps.event.removeListener(N),J(google.maps.event.addListener(b,"mouseover",u)))},[u]),i.useEffect(function(){b&&l&&(A!==null&&google.maps.event.removeListener(A),ae(google.maps.event.addListener(b,"mouseup",l)))},[l]),i.useEffect(function(){b&&c&&(K!==null&&google.maps.event.removeListener(K),le(google.maps.event.addListener(b,"rightclick",c)))},[c]),i.useEffect(function(){b&&n&&(Q!==null&&google.maps.event.removeListener(Q),ce(google.maps.event.addListener(b,"click",n)))},[n]),i.useEffect(function(){b&&p&&(ee!==null&&google.maps.event.removeListener(ee),fe(google.maps.event.addListener(b,"addfeature",p)))},[p]),i.useEffect(function(){b&&f&&(te!==null&&google.maps.event.removeListener(te),ge(google.maps.event.addListener(b,"removefeature",f)))},[f]),i.useEffect(function(){b&&h&&(ne!==null&&google.maps.event.removeListener(ne),he(google.maps.event.addListener(b,"removeproperty",h)))},[h]),i.useEffect(function(){b&&g&&(re!==null&&google.maps.event.removeListener(re),F(google.maps.event.addListener(b,"setgeometry",g)))},[g]),i.useEffect(function(){b&&M&&(me!==null&&google.maps.event.removeListener(me),ve(google.maps.event.addListener(b,"setproperty",M)))},[M]),i.useEffect(function(){if(x!==null){var D=new google.maps.Data(w(w({},e||{}),{map:x}));o&&R(google.maps.event.addListener(D,"dblclick",o)),s&&L(google.maps.event.addListener(D,"mousedown",s)),r&&G(google.maps.event.addListener(D,"mousemove",r)),a&&V(google.maps.event.addListener(D,"mouseout",a)),u&&J(google.maps.event.addListener(D,"mouseover",u)),l&&ae(google.maps.event.addListener(D,"mouseup",l)),c&&le(google.maps.event.addListener(D,"rightclick",c)),n&&ce(google.maps.event.addListener(D,"click",n)),p&&fe(google.maps.event.addListener(D,"addfeature",p)),f&&ge(google.maps.event.addListener(D,"removefeature",f)),h&&he(google.maps.event.addListener(D,"removeproperty",h)),g&&F(google.maps.event.addListener(D,"setgeometry",g)),M&&ve(google.maps.event.addListener(D,"setproperty",M)),O(D),m&&m(D)}return function(){b&&(d!==null&&google.maps.event.removeListener(d),I!==null&&google.maps.event.removeListener(I),B!==null&&google.maps.event.removeListener(B),z!==null&&google.maps.event.removeListener(z),N!==null&&google.maps.event.removeListener(N),A!==null&&google.maps.event.removeListener(A),K!==null&&google.maps.event.removeListener(K),Q!==null&&google.maps.event.removeListener(Q),ee!==null&&google.maps.event.removeListener(ee),te!==null&&google.maps.event.removeListener(te),ne!==null&&google.maps.event.removeListener(ne),re!==null&&google.maps.event.removeListener(re),me!==null&&google.maps.event.removeListener(me),y&&y(b),b.setMap(null))}},[]),null}i.memo(_o);(function(t){X(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={data:null},n.setDataCallback=function(){n.state.data!==null&&n.props.onLoad&&n.props.onLoad(n.state.data)},n}return e.prototype.componentDidMount=function(){if(this.context!==null){var n=new google.maps.Data(w(w({},this.props.options||{}),{map:this.context}));this.registeredEvents=W({updaterMap:pn,eventMap:cn,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{data:n}},this.setDataCallback)}},e.prototype.componentDidUpdate=function(n){this.state.data!==null&&(H(this.registeredEvents),this.registeredEvents=W({updaterMap:pn,eventMap:cn,prevProps:n,nextProps:this.props,instance:this.state.data}))},e.prototype.componentWillUnmount=function(){this.state.data!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.data),H(this.registeredEvents),this.state.data&&this.state.data.setMap(null))},e.prototype.render=function(){return null},e.contextType=Z,e})(i.PureComponent);var dn={onClick:"click",onDefaultViewportChanged:"defaultviewport_changed",onStatusChanged:"status_changed"},fn={options:function(t,e){t.setOptions(e)},url:function(t,e){t.setUrl(e)},zIndex:function(t,e){t.setZIndex(e)}};(function(t){X(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={kmlLayer:null},n.setKmlLayerCallback=function(){n.state.kmlLayer!==null&&n.props.onLoad&&n.props.onLoad(n.state.kmlLayer)},n}return e.prototype.componentDidMount=function(){var n=new google.maps.KmlLayer(w(w({},this.props.options),{map:this.context}));this.registeredEvents=W({updaterMap:fn,eventMap:dn,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{kmlLayer:n}},this.setKmlLayerCallback)},e.prototype.componentDidUpdate=function(n){this.state.kmlLayer!==null&&(H(this.registeredEvents),this.registeredEvents=W({updaterMap:fn,eventMap:dn,prevProps:n,nextProps:this.props,instance:this.state.kmlLayer}))},e.prototype.componentWillUnmount=function(){this.state.kmlLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.kmlLayer),H(this.registeredEvents),this.state.kmlLayer.setMap(null))},e.prototype.render=function(){return null},e.contextType=Z,e})(i.PureComponent);function Nn(t,e){return typeof e=="function"?e(t.offsetWidth,t.offsetHeight):{x:0,y:0}}function qo(t,e){return new e(t.lat,t.lng)}function Ko(t,e){return new e(new google.maps.LatLng(t.ne.lat,t.ne.lng),new google.maps.LatLng(t.sw.lat,t.sw.lng))}function Jo(t,e,n){return t instanceof e?t:n(t,e)}function Yo(t,e,n){return t instanceof e?t:n(t,e)}function Qo(t,e,n){var o=t&&t.fromLatLngToDivPixel(n.getNorthEast()),s=t&&t.fromLatLngToDivPixel(n.getSouthWest());return o&&s?{left:"".concat(s.x+e.x,"px"),top:"".concat(o.y+e.y,"px"),width:"".concat(o.x-s.x-e.x,"px"),height:"".concat(s.y-o.y-e.y,"px")}:{left:"-9999px",top:"-9999px"}}function Xo(t,e,n){var o=t&&t.fromLatLngToDivPixel(n);if(o){var s=o.x,r=o.y;return{left:"".concat(s+e.x,"px"),top:"".concat(r+e.y,"px")}}return{left:"-9999px",top:"-9999px"}}function Wn(t,e,n,o){return n!==void 0?Qo(t,e,Yo(n,google.maps.LatLngBounds,Ko)):Xo(t,e,Jo(o,google.maps.LatLng,qo))}function ei(t,e){return t.left===e.left&&t.top===e.top&&t.width===e.height&&t.height===e.height}function ti(t,e,n,o,s){var r=function(a){X(u,a);function u(l,c,p,f){var h=a.call(this)||this;return h.container=l,h.pane=c,h.position=p,h.bounds=f,h}return u.prototype.onAdd=function(){var l,c=(l=this.getPanes())===null||l===void 0?void 0:l[this.pane];c==null||c.appendChild(this.container)},u.prototype.draw=function(){for(var l=this.getProjection(),c=w({},this.container?Nn(this.container,s):{x:0,y:0}),p=Wn(l,c,this.bounds,this.position),f=0,h=Object.entries(p);f<h.length;f++){var g=h[f],M=g[0],m=g[1];this.container.style[M]=m}},u.prototype.onRemove=function(){this.container.parentNode!==null&&this.container.parentNode.removeChild(this.container)},u}(google.maps.OverlayView);return new r(t,e,n,o)}function gn(t){if(!t)return"";var e=t instanceof google.maps.LatLng?t:new google.maps.LatLng(t.lat,t.lng);return e+""}function hn(t){if(!t)return"";var e=t instanceof google.maps.LatLngBounds?t:new google.maps.LatLngBounds(new google.maps.LatLng(t.south,t.east),new google.maps.LatLng(t.north,t.west));return e+""}function ni(t){var e=t.position,n=t.bounds,o=t.mapPaneName,s=t.zIndex,r=t.onLoad,a=t.onUnmount,u=t.getPixelPositionOffset,l=t.children,c=i.useContext(Z),p=i.useMemo(function(){var h=document.createElement("div");return h.style.position="absolute",h},[]),f=i.useMemo(function(){return ti(p,o,e,n,u)},[p,o,e,n]);return i.useEffect(function(){return r==null||r(f),f==null||f.setMap(c),function(){a==null||a(f),f==null||f.setMap(null)}},[c,f]),i.useEffect(function(){p.style.zIndex="".concat(s)},[s,p]),Pn.createPortal(l,p)}i.memo(ni);(function(t){X(e,t);function e(n){var o=t.call(this,n)||this;o.state={paneEl:null,containerStyle:{position:"absolute"}},o.updatePane=function(){var r=o.props.mapPaneName,a=o.overlayView.getPanes();de(!!r,"OverlayView requires props.mapPaneName but got %s",r),a?o.setState({paneEl:a[r]}):o.setState({paneEl:null})},o.onAdd=function(){var r,a;o.updatePane(),(a=(r=o.props).onLoad)===null||a===void 0||a.call(r,o.overlayView)},o.onPositionElement=function(){var r,a=o.overlayView.getProjection(),u=w({x:0,y:0},o.containerRef.current?Nn(o.containerRef.current,o.props.getPixelPositionOffset):{}),l=Wn(a,u,o.props.bounds,o.props.position),c=(r=o.state.containerStyle,r.left),p=r.top,f=r.width,h=r.height;ei(l,{left:c,top:p,width:f,height:h})||o.setState({containerStyle:{top:l.top||0,left:l.left||0,width:l.width||0,height:l.height||0,position:"absolute"}})},o.draw=function(){o.onPositionElement()},o.onRemove=function(){var r,a;o.setState(function(){return{paneEl:null}}),(a=(r=o.props).onUnmount)===null||a===void 0||a.call(r,o.overlayView)},o.containerRef=i.createRef();var s=new google.maps.OverlayView;return s.onAdd=o.onAdd,s.draw=o.draw,s.onRemove=o.onRemove,o.overlayView=s,o}return e.prototype.componentDidMount=function(){this.overlayView.setMap(this.context)},e.prototype.componentDidUpdate=function(n){var o=gn(n.position),s=gn(this.props.position),r=hn(n.bounds),a=hn(this.props.bounds);(o!==s||r!==a)&&this.overlayView.draw(),n.mapPaneName!==this.props.mapPaneName&&this.updatePane()},e.prototype.componentWillUnmount=function(){this.overlayView.setMap(null)},e.prototype.render=function(){var n=this.state.paneEl;return n?Pn.createPortal(pe.jsxRuntimeExports.jsx("div",{ref:this.containerRef,style:this.state.containerStyle,children:i.Children.only(this.props.children)}),n):null},e.FLOAT_PANE="floatPane",e.MAP_PANE="mapPane",e.MARKER_LAYER="markerLayer",e.OVERLAY_LAYER="overlayLayer",e.OVERLAY_MOUSE_TARGET="overlayMouseTarget",e.contextType=Z,e})(i.PureComponent);function oi(){}var mn={onDblClick:"dblclick",onClick:"click"},vn={opacity:function(t,e){t.setOpacity(e)}};function ii(t){var e=t.url,n=t.bounds,o=t.options,s=t.visible,r=i.useContext(Z),a=new google.maps.LatLngBounds(new google.maps.LatLng(n.south,n.west),new google.maps.LatLng(n.north,n.east)),u=i.useMemo(function(){var l=new google.maps.GroundOverlay(e,a,w({},o));return l},[]);return i.useEffect(function(){u!==null&&u.setMap(r)},[r]),i.useEffect(function(){typeof e<"u"&&u!==null&&(u.set("url",e),u.setMap(r))},[u,e]),i.useEffect(function(){typeof s<"u"&&u!==null&&u.setOpacity(s?1:0)},[u,s]),i.useEffect(function(){var l=new google.maps.LatLngBounds(new google.maps.LatLng(n.south,n.west),new google.maps.LatLng(n.north,n.east));typeof n<"u"&&u!==null&&(u.set("bounds",l),u.setMap(r))},[u,n]),null}i.memo(ii);(function(t){X(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={groundOverlay:null},n.setGroundOverlayCallback=function(){n.state.groundOverlay!==null&&n.props.onLoad&&n.props.onLoad(n.state.groundOverlay)},n}return e.prototype.componentDidMount=function(){de(!!this.props.url||!!this.props.bounds,"For GroundOverlay, url and bounds are passed in to constructor and are immutable after instantiated. This is the behavior of Google Maps JavaScript API v3 ( See https://developers.google.com/maps/documentation/javascript/reference#GroundOverlay) Hence, use the corresponding two props provided by `react-google-maps-api`, url and bounds. In some cases, you'll need the GroundOverlay component to reflect the changes of url and bounds. You can leverage the React's key property to remount the component. Typically, just `key={url}` would serve your need. See https://github.com/tomchentw/react-google-maps/issues/655");var n=new google.maps.GroundOverlay(this.props.url,this.props.bounds,w(w({},this.props.options),{map:this.context}));this.registeredEvents=W({updaterMap:vn,eventMap:mn,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{groundOverlay:n}},this.setGroundOverlayCallback)},e.prototype.componentDidUpdate=function(n){this.state.groundOverlay!==null&&(H(this.registeredEvents),this.registeredEvents=W({updaterMap:vn,eventMap:mn,prevProps:n,nextProps:this.props,instance:this.state.groundOverlay}))},e.prototype.componentWillUnmount=function(){this.state.groundOverlay&&(this.props.onUnmount&&this.props.onUnmount(this.state.groundOverlay),this.state.groundOverlay.setMap(null))},e.prototype.render=function(){return null},e.defaultProps={onLoad:oi},e.contextType=Z,e})(i.PureComponent);var Ln={},yn={data:function(t,e){t.setData(e)},map:function(t,e){t.setMap(e)},options:function(t,e){t.setOptions(e)}};function si(t){var e=t.data,n=t.onLoad,o=t.onUnmount,s=t.options,r=i.useContext(Z),a=i.useState(null),u=a[0],l=a[1];return i.useEffect(function(){google.maps.visualization||de(!!google.maps.visualization,'Did you include prop libraries={["visualization"]} in useJsApiScript? %s',google.maps.visualization)},[]),i.useEffect(function(){de(!!e,"data property is required in HeatmapLayer %s",e)},[e]),i.useEffect(function(){u!==null&&u.setMap(r)},[r]),i.useEffect(function(){s&&u!==null&&u.setOptions(s)},[u,s]),i.useEffect(function(){var c=new google.maps.visualization.HeatmapLayer(w(w({},s||{}),{data:e,map:r}));return l(c),n&&n(c),function(){u!==null&&(o&&o(u),u.setMap(null))}},[]),null}i.memo(si);(function(t){X(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={heatmapLayer:null},n.setHeatmapLayerCallback=function(){n.state.heatmapLayer!==null&&n.props.onLoad&&n.props.onLoad(n.state.heatmapLayer)},n}return e.prototype.componentDidMount=function(){de(!!google.maps.visualization,'Did you include prop libraries={["visualization"]} to <LoadScript />? %s',google.maps.visualization),de(!!this.props.data,"data property is required in HeatmapLayer %s",this.props.data);var n=new google.maps.visualization.HeatmapLayer(w(w({},this.props.options||{}),{data:this.props.data,map:this.context}));this.registeredEvents=W({updaterMap:yn,eventMap:Ln,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{heatmapLayer:n}},this.setHeatmapLayerCallback)},e.prototype.componentDidUpdate=function(n){H(this.registeredEvents),this.registeredEvents=W({updaterMap:yn,eventMap:Ln,prevProps:n,nextProps:this.props,instance:this.state.heatmapLayer})},e.prototype.componentWillUnmount=function(){this.state.heatmapLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.heatmapLayer),H(this.registeredEvents),this.state.heatmapLayer.setMap(null))},e.prototype.render=function(){return null},e.contextType=Z,e})(i.PureComponent);var Cn={onCloseClick:"closeclick",onPanoChanged:"pano_changed",onPositionChanged:"position_changed",onPovChanged:"pov_changed",onResize:"resize",onStatusChanged:"status_changed",onVisibleChanged:"visible_changed",onZoomChanged:"zoom_changed"},Mn={register:function(t,e,n){t.registerPanoProvider(e,n)},links:function(t,e){t.setLinks(e)},motionTracking:function(t,e){t.setMotionTracking(e)},options:function(t,e){t.setOptions(e)},pano:function(t,e){t.setPano(e)},position:function(t,e){t.setPosition(e)},pov:function(t,e){t.setPov(e)},visible:function(t,e){t.setVisible(e)},zoom:function(t,e){t.setZoom(e)}};(function(t){X(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={streetViewPanorama:null},n.setStreetViewPanoramaCallback=function(){n.state.streetViewPanorama!==null&&n.props.onLoad&&n.props.onLoad(n.state.streetViewPanorama)},n}return e.prototype.componentDidMount=function(){var n,o,s=(o=(n=this.context)===null||n===void 0?void 0:n.getStreetView())!==null&&o!==void 0?o:null;this.registeredEvents=W({updaterMap:Mn,eventMap:Cn,prevProps:{},nextProps:this.props,instance:s}),this.setState(function(){return{streetViewPanorama:s}},this.setStreetViewPanoramaCallback)},e.prototype.componentDidUpdate=function(n){this.state.streetViewPanorama!==null&&(H(this.registeredEvents),this.registeredEvents=W({updaterMap:Mn,eventMap:Cn,prevProps:n,nextProps:this.props,instance:this.state.streetViewPanorama}))},e.prototype.componentWillUnmount=function(){this.state.streetViewPanorama!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.streetViewPanorama),H(this.registeredEvents),this.state.streetViewPanorama.setVisible(!1))},e.prototype.render=function(){return null},e.contextType=Z,e})(i.PureComponent);(function(t){X(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={streetViewService:null},n.setStreetViewServiceCallback=function(){n.state.streetViewService!==null&&n.props.onLoad&&n.props.onLoad(n.state.streetViewService)},n}return e.prototype.componentDidMount=function(){var n=new google.maps.StreetViewService;this.setState(function(){return{streetViewService:n}},this.setStreetViewServiceCallback)},e.prototype.componentWillUnmount=function(){this.state.streetViewService!==null&&this.props.onUnmount&&this.props.onUnmount(this.state.streetViewService)},e.prototype.render=function(){return null},e.contextType=Z,e})(i.PureComponent);(function(t){X(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={directionsService:null},n.setDirectionsServiceCallback=function(){n.state.directionsService!==null&&n.props.onLoad&&n.props.onLoad(n.state.directionsService)},n}return e.prototype.componentDidMount=function(){de(!!this.props.options,"DirectionsService expected options object as parameter, but got %s",this.props.options);var n=new google.maps.DirectionsService;this.setState(function(){return{directionsService:n}},this.setDirectionsServiceCallback)},e.prototype.componentDidUpdate=function(){this.state.directionsService!==null&&this.state.directionsService.route(this.props.options,this.props.callback)},e.prototype.componentWillUnmount=function(){this.state.directionsService!==null&&this.props.onUnmount&&this.props.onUnmount(this.state.directionsService)},e.prototype.render=function(){return null},e})(i.PureComponent);var bn={onDirectionsChanged:"directions_changed"},En={directions:function(t,e){t.setDirections(e)},map:function(t,e){t.setMap(e)},options:function(t,e){t.setOptions(e)},panel:function(t,e){t.setPanel(e)},routeIndex:function(t,e){t.setRouteIndex(e)}};(function(t){X(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={directionsRenderer:null},n.setDirectionsRendererCallback=function(){n.state.directionsRenderer!==null&&(n.state.directionsRenderer.setMap(n.context),n.props.onLoad&&n.props.onLoad(n.state.directionsRenderer))},n}return e.prototype.componentDidMount=function(){var n=new google.maps.DirectionsRenderer(this.props.options);this.registeredEvents=W({updaterMap:En,eventMap:bn,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{directionsRenderer:n}},this.setDirectionsRendererCallback)},e.prototype.componentDidUpdate=function(n){this.state.directionsRenderer!==null&&(H(this.registeredEvents),this.registeredEvents=W({updaterMap:En,eventMap:bn,prevProps:n,nextProps:this.props,instance:this.state.directionsRenderer}))},e.prototype.componentWillUnmount=function(){this.state.directionsRenderer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.directionsRenderer),H(this.registeredEvents),this.state.directionsRenderer&&this.state.directionsRenderer.setMap(null))},e.prototype.render=function(){return pe.jsxRuntimeExports.jsx(pe.jsxRuntimeExports.Fragment,{})},e.contextType=Z,e})(i.PureComponent);(function(t){X(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={distanceMatrixService:null},n.setDistanceMatrixServiceCallback=function(){n.state.distanceMatrixService!==null&&n.props.onLoad&&n.props.onLoad(n.state.distanceMatrixService)},n}return e.prototype.componentDidMount=function(){de(!!this.props.options,"DistanceMatrixService expected options object as parameter, but go %s",this.props.options);var n=new google.maps.DistanceMatrixService;this.setState(function(){return{distanceMatrixService:n}},this.setDistanceMatrixServiceCallback)},e.prototype.componentDidUpdate=function(){this.state.distanceMatrixService!==null&&this.state.distanceMatrixService.getDistanceMatrix(this.props.options,this.props.callback)},e.prototype.componentWillUnmount=function(){this.state.distanceMatrixService!==null&&this.props.onUnmount&&this.props.onUnmount(this.state.distanceMatrixService)},e.prototype.render=function(){return null},e})(i.PureComponent);var xn={onPlacesChanged:"places_changed"},kn={bounds:function(t,e){t.setBounds(e)}};(function(t){X(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.containerElement=i.createRef(),n.state={searchBox:null},n.setSearchBoxCallback=function(){n.state.searchBox!==null&&n.props.onLoad&&n.props.onLoad(n.state.searchBox)},n}return e.prototype.componentDidMount=function(){if(de(!!google.maps.places,'You need to provide libraries={["places"]} prop to <LoadScript /> component %s',google.maps.places),this.containerElement!==null&&this.containerElement.current!==null){var n=this.containerElement.current.querySelector("input");if(n!==null){var o=new google.maps.places.SearchBox(n,this.props.options);this.registeredEvents=W({updaterMap:kn,eventMap:xn,prevProps:{},nextProps:this.props,instance:o}),this.setState(function(){return{searchBox:o}},this.setSearchBoxCallback)}}},e.prototype.componentDidUpdate=function(n){this.state.searchBox!==null&&(H(this.registeredEvents),this.registeredEvents=W({updaterMap:kn,eventMap:xn,prevProps:n,nextProps:this.props,instance:this.state.searchBox}))},e.prototype.componentWillUnmount=function(){this.state.searchBox!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.searchBox),H(this.registeredEvents))},e.prototype.render=function(){return pe.jsxRuntimeExports.jsx("div",{ref:this.containerElement,children:i.Children.only(this.props.children)})},e.contextType=Z,e})(i.PureComponent);var Sn={onPlaceChanged:"place_changed"},wn={bounds:function(t,e){t.setBounds(e)},restrictions:function(t,e){t.setComponentRestrictions(e)},fields:function(t,e){t.setFields(e)},options:function(t,e){t.setOptions(e)},types:function(t,e){t.setTypes(e)}};(function(t){X(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.containerElement=i.createRef(),n.state={autocomplete:null},n.setAutocompleteCallback=function(){n.state.autocomplete!==null&&n.props.onLoad&&n.props.onLoad(n.state.autocomplete)},n}return e.prototype.componentDidMount=function(){var n;de(!!google.maps.places,'You need to provide libraries={["places"]} prop to <LoadScript /> component %s',google.maps.places);var o=(n=this.containerElement.current)===null||n===void 0?void 0:n.querySelector("input");if(o){var s=new google.maps.places.Autocomplete(o,this.props.options);this.registeredEvents=W({updaterMap:wn,eventMap:Sn,prevProps:{},nextProps:this.props,instance:s}),this.setState(function(){return{autocomplete:s}},this.setAutocompleteCallback)}},e.prototype.componentDidUpdate=function(n){H(this.registeredEvents),this.registeredEvents=W({updaterMap:wn,eventMap:Sn,prevProps:n,nextProps:this.props,instance:this.state.autocomplete})},e.prototype.componentWillUnmount=function(){this.state.autocomplete!==null&&H(this.registeredEvents)},e.prototype.render=function(){return pe.jsxRuntimeExports.jsx("div",{ref:this.containerElement,className:this.props.className,children:i.Children.only(this.props.children)})},e.defaultProps={className:""},e.contextType=Z,e})(i.PureComponent);exports.LoadScript=no;exports.MapContext=Z;exports.useGoogleMap=In;exports.useLoadScript=Bn;
|
|
26
|
+
<text x="50%" y="50%" style="fill:#fff" text-anchor="middle" font-size="50" dominant-baseline="middle" font-family="roboto,arial,sans-serif">`).concat(r,`</text>
|
|
27
|
+
</svg>`),u="Cluster of ".concat(r," markers"),g=Number(google.maps.Marker.MAX_ZINDEX)+r;if(se.isAdvancedMarkerAvailable(s)){var d=new DOMParser,p=d.parseFromString(l,"image/svg+xml").documentElement;p.setAttribute("transform","translate(0 25)");var f={map:s,position:o,zIndex:g,title:u,content:p};return new google.maps.marker.AdvancedMarkerElement(f)}var v={position:o,zIndex:g,title:u,icon:{url:"data:image/svg+xml;base64,".concat(btoa(l)),anchor:new google.maps.Point(25,25)}};return new google.maps.Marker(v)}}function mi(t,e){for(var n in e.prototype)t.prototype[n]=e.prototype[n]}class st{constructor(){mi(st,google.maps.OverlayView)}}var ye;(function(t){t.CLUSTERING_BEGIN="clusteringbegin",t.CLUSTERING_END="clusteringend",t.CLUSTER_CLICK="click"})(ye||(ye={}));var Li=(t,e,n)=>{n.fitBounds(e.bounds)};class yi extends st{constructor(e){var{map:n,markers:s=[],algorithmOptions:r={},algorithm:o=new fi(r),renderer:a=new vi,onClusterClick:l=Li}=e;super(),this.markers=[...s],this.clusters=[],this.algorithm=o,this.renderer=a,this.onClusterClick=l,n&&this.setMap(n)}addMarker(e,n){this.markers.includes(e)||(this.markers.push(e),n||this.render())}addMarkers(e,n){e.forEach(s=>{this.addMarker(s,!0)}),n||this.render()}removeMarker(e,n){var s=this.markers.indexOf(e);return s===-1?!1:(se.setMap(e,null),this.markers.splice(s,1),n||this.render(),!0)}removeMarkers(e,n){var s=!1;return e.forEach(r=>{s=this.removeMarker(r,!0)||s}),s&&!n&&this.render(),s}clearMarkers(e){this.markers.length=0,e||this.render()}render(){var e=this.getMap();if(e instanceof google.maps.Map&&e.getProjection()){google.maps.event.trigger(this,ye.CLUSTERING_BEGIN,this);var{clusters:n,changed:s}=this.algorithm.calculate({markers:this.markers,map:e,mapCanvasProjection:this.getProjection()});if(s||s==null){var r=new Set;for(var o of n)o.markers.length==1&&r.add(o.markers[0]);var a=[];for(var l of this.clusters)l.marker!=null&&(l.markers.length==1?r.has(l.marker)||se.setMap(l.marker,null):a.push(l.marker));this.clusters=n,this.renderClusters(),requestAnimationFrame(()=>a.forEach(u=>se.setMap(u,null)))}google.maps.event.trigger(this,ye.CLUSTERING_END,this)}}onAdd(){this.idleListener=this.getMap().addListener("idle",this.render.bind(this)),this.render()}onRemove(){google.maps.event.removeListener(this.idleListener),this.reset()}reset(){this.markers.forEach(e=>se.setMap(e,null)),this.clusters.forEach(e=>e.delete()),this.clusters=[]}renderClusters(){var e=new hi(this.markers,this.clusters),n=this.getMap();this.clusters.forEach(s=>{s.markers.length===1?s.marker=s.markers[0]:(s.marker=this.renderer.render(s,e,n),s.markers.forEach(r=>se.setMap(r,null)),this.onClusterClick&&s.marker.addListener("click",r=>{google.maps.event.trigger(this,ye.CLUSTER_CLICK,s),this.onClusterClick(r,s,n)})),se.setMap(s.marker,n)})}}function Jt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,s)}return n}function Yt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Jt(Object(n),!0).forEach(function(s){h(t,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Jt(Object(n)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(n,s))})}return t}function bi(t){var e=Wn(),[n,s]=i.useState(null);return i.useEffect(()=>{if(e&&n===null){var r=new yi(Yt(Yt({},t),{},{map:e}));s(r)}},[e]),n}function Ci(t){var{children:e,options:n}=t,s=bi(n);return s!==null?e(s):null}i.memo(Ci);var Qt={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},Xt={options(t,e){t.setOptions(e)},position(t,e){t.setPosition(e)},zIndex(t,e){t.setZIndex(e)}};function Mi(t){var{children:e,anchor:n,options:s,position:r,zIndex:o,onCloseClick:a,onDomReady:l,onContentChanged:u,onPositionChanged:g,onZindexChanged:d,onLoad:p,onUnmount:f}=t,v=i.useContext(A),[c,x]=i.useState(null),[M,S]=i.useState(null),[w,D]=i.useState(null),[C,m]=i.useState(null),[y,E]=i.useState(null),[P,b]=i.useState(null),O=i.useRef(null);return i.useEffect(()=>{c!==null&&(c.close(),n?c.open(v,n):c.getPosition()&&c.open(v))},[v,c,n]),i.useEffect(()=>{s&&c!==null&&c.setOptions(s)},[c,s]),i.useEffect(()=>{r&&c!==null&&c.setPosition(r)},[r]),i.useEffect(()=>{typeof o=="number"&&c!==null&&c.setZIndex(o)},[o]),i.useEffect(()=>{c&&a&&(M!==null&&google.maps.event.removeListener(M),S(google.maps.event.addListener(c,"closeclick",a)))},[a]),i.useEffect(()=>{c&&l&&(w!==null&&google.maps.event.removeListener(w),D(google.maps.event.addListener(c,"domready",l)))},[l]),i.useEffect(()=>{c&&u&&(C!==null&&google.maps.event.removeListener(C),m(google.maps.event.addListener(c,"content_changed",u)))},[u]),i.useEffect(()=>{c&&g&&(y!==null&&google.maps.event.removeListener(y),E(google.maps.event.addListener(c,"position_changed",g)))},[g]),i.useEffect(()=>{c&&d&&(P!==null&&google.maps.event.removeListener(P),b(google.maps.event.addListener(c,"zindex_changed",d)))},[d]),i.useEffect(()=>{var k=new google.maps.InfoWindow(s);return x(k),O.current=document.createElement("div"),a&&S(google.maps.event.addListener(k,"closeclick",a)),l&&D(google.maps.event.addListener(k,"domready",l)),u&&m(google.maps.event.addListener(k,"content_changed",u)),g&&E(google.maps.event.addListener(k,"position_changed",g)),d&&b(google.maps.event.addListener(k,"zindex_changed",d)),k.setContent(O.current),r&&k.setPosition(r),o&&k.setZIndex(o),n?k.open(v,n):k.getPosition()?k.open(v):ne(!1,"You must provide either an anchor (typically render it inside a <Marker>) or a position props for <InfoWindow>."),p&&p(k),()=>{M&&google.maps.event.removeListener(M),C&&google.maps.event.removeListener(C),w&&google.maps.event.removeListener(w),y&&google.maps.event.removeListener(y),P&&google.maps.event.removeListener(P),f&&f(k),k.close()}},[]),O.current?Ce.createPortal(i.Children.only(e),O.current):null}i.memo(Mi);class ls extends i.PureComponent{constructor(){super(...arguments),h(this,"registeredEvents",[]),h(this,"containerElement",null),h(this,"state",{infoWindow:null}),h(this,"open",(e,n)=>{n?e.open(this.context,n):e.getPosition()?e.open(this.context):ne(!1,"You must provide either an anchor (typically render it inside a <Marker>) or a position props for <InfoWindow>.")}),h(this,"setInfoWindowCallback",()=>{this.state.infoWindow!==null&&this.containerElement!==null&&(this.state.infoWindow.setContent(this.containerElement),this.open(this.state.infoWindow,this.props.anchor),this.props.onLoad&&this.props.onLoad(this.state.infoWindow))})}componentDidMount(){var e=new google.maps.InfoWindow(this.props.options);this.containerElement=document.createElement("div"),this.registeredEvents=_({updaterMap:Xt,eventMap:Qt,prevProps:{},nextProps:this.props,instance:e}),this.setState(()=>({infoWindow:e}),this.setInfoWindowCallback)}componentDidUpdate(e){this.state.infoWindow!==null&&(V(this.registeredEvents),this.registeredEvents=_({updaterMap:Xt,eventMap:Qt,prevProps:e,nextProps:this.props,instance:this.state.infoWindow}))}componentWillUnmount(){this.state.infoWindow!==null&&(V(this.registeredEvents),this.props.onUnmount&&this.props.onUnmount(this.state.infoWindow),this.state.infoWindow.close())}render(){return this.containerElement?Ce.createPortal(i.Children.only(this.props.children),this.containerElement):null}}h(ls,"contextType",A);function en(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,s)}return n}function We(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?en(Object(n),!0).forEach(function(s){h(t,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):en(Object(n)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(n,s))})}return t}var tn={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},nn={draggable(t,e){t.setDraggable(e)},editable(t,e){t.setEditable(e)},map(t,e){t.setMap(e)},options(t,e){t.setOptions(e)},path(t,e){t.setPath(e)},visible(t,e){t.setVisible(e)}},Ei={};function wi(t){var{options:e,draggable:n,editable:s,visible:r,path:o,onDblClick:a,onDragEnd:l,onDragStart:u,onMouseDown:g,onMouseMove:d,onMouseOut:p,onMouseOver:f,onMouseUp:v,onRightClick:c,onClick:x,onDrag:M,onLoad:S,onUnmount:w}=t,D=i.useContext(A),[C,m]=i.useState(null),[y,E]=i.useState(null),[P,b]=i.useState(null),[O,k]=i.useState(null),[U,Z]=i.useState(null),[R,T]=i.useState(null),[W,q]=i.useState(null),[N,G]=i.useState(null),[$,K]=i.useState(null),[J,j]=i.useState(null),[Y,L]=i.useState(null),[ee,X]=i.useState(null);return i.useEffect(()=>{C!==null&&C.setMap(D)},[D]),i.useEffect(()=>{typeof e<"u"&&C!==null&&C.setOptions(e)},[C,e]),i.useEffect(()=>{typeof n<"u"&&C!==null&&C.setDraggable(n)},[C,n]),i.useEffect(()=>{typeof s<"u"&&C!==null&&C.setEditable(s)},[C,s]),i.useEffect(()=>{typeof r<"u"&&C!==null&&C.setVisible(r)},[C,r]),i.useEffect(()=>{typeof o<"u"&&C!==null&&C.setPath(o)},[C,o]),i.useEffect(()=>{C&&a&&(y!==null&&google.maps.event.removeListener(y),E(google.maps.event.addListener(C,"dblclick",a)))},[a]),i.useEffect(()=>{C&&l&&(P!==null&&google.maps.event.removeListener(P),b(google.maps.event.addListener(C,"dragend",l)))},[l]),i.useEffect(()=>{C&&u&&(O!==null&&google.maps.event.removeListener(O),k(google.maps.event.addListener(C,"dragstart",u)))},[u]),i.useEffect(()=>{C&&g&&(U!==null&&google.maps.event.removeListener(U),Z(google.maps.event.addListener(C,"mousedown",g)))},[g]),i.useEffect(()=>{C&&d&&(R!==null&&google.maps.event.removeListener(R),T(google.maps.event.addListener(C,"mousemove",d)))},[d]),i.useEffect(()=>{C&&p&&(W!==null&&google.maps.event.removeListener(W),q(google.maps.event.addListener(C,"mouseout",p)))},[p]),i.useEffect(()=>{C&&f&&(N!==null&&google.maps.event.removeListener(N),G(google.maps.event.addListener(C,"mouseover",f)))},[f]),i.useEffect(()=>{C&&v&&($!==null&&google.maps.event.removeListener($),K(google.maps.event.addListener(C,"mouseup",v)))},[v]),i.useEffect(()=>{C&&c&&(J!==null&&google.maps.event.removeListener(J),j(google.maps.event.addListener(C,"rightclick",c)))},[c]),i.useEffect(()=>{C&&x&&(Y!==null&&google.maps.event.removeListener(Y),L(google.maps.event.addListener(C,"click",x)))},[x]),i.useEffect(()=>{C&&M&&(ee!==null&&google.maps.event.removeListener(ee),X(google.maps.event.addListener(C,"drag",M)))},[M]),i.useEffect(()=>{var z=new google.maps.Polyline(We(We({},e||Ei),{},{map:D}));return o&&z.setPath(o),typeof r<"u"&&z.setVisible(r),typeof s<"u"&&z.setEditable(s),typeof n<"u"&&z.setDraggable(n),a&&E(google.maps.event.addListener(z,"dblclick",a)),l&&b(google.maps.event.addListener(z,"dragend",l)),u&&k(google.maps.event.addListener(z,"dragstart",u)),g&&Z(google.maps.event.addListener(z,"mousedown",g)),d&&T(google.maps.event.addListener(z,"mousemove",d)),p&&q(google.maps.event.addListener(z,"mouseout",p)),f&&G(google.maps.event.addListener(z,"mouseover",f)),v&&K(google.maps.event.addListener(z,"mouseup",v)),c&&j(google.maps.event.addListener(z,"rightclick",c)),x&&L(google.maps.event.addListener(z,"click",x)),M&&X(google.maps.event.addListener(z,"drag",M)),m(z),S&&S(z),()=>{y!==null&&google.maps.event.removeListener(y),P!==null&&google.maps.event.removeListener(P),O!==null&&google.maps.event.removeListener(O),U!==null&&google.maps.event.removeListener(U),R!==null&&google.maps.event.removeListener(R),W!==null&&google.maps.event.removeListener(W),N!==null&&google.maps.event.removeListener(N),$!==null&&google.maps.event.removeListener($),J!==null&&google.maps.event.removeListener(J),Y!==null&&google.maps.event.removeListener(Y),w&&w(z),z.setMap(null)}},[]),null}i.memo(wi);class us extends i.PureComponent{constructor(){super(...arguments),h(this,"registeredEvents",[]),h(this,"state",{polyline:null}),h(this,"setPolylineCallback",()=>{this.state.polyline!==null&&this.props.onLoad&&this.props.onLoad(this.state.polyline)})}componentDidMount(){var e=new google.maps.Polyline(We(We({},this.props.options),{},{map:this.context}));this.registeredEvents=_({updaterMap:nn,eventMap:tn,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{polyline:e}},this.setPolylineCallback)}componentDidUpdate(e){this.state.polyline!==null&&(V(this.registeredEvents),this.registeredEvents=_({updaterMap:nn,eventMap:tn,prevProps:e,nextProps:this.props,instance:this.state.polyline}))}componentWillUnmount(){this.state.polyline!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.polyline),V(this.registeredEvents),this.state.polyline.setMap(null))}render(){return null}}h(us,"contextType",A);function sn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,s)}return n}function rn(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?sn(Object(n),!0).forEach(function(s){h(t,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):sn(Object(n)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(n,s))})}return t}var on={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},an={draggable(t,e){t.setDraggable(e)},editable(t,e){t.setEditable(e)},map(t,e){t.setMap(e)},options(t,e){t.setOptions(e)},path(t,e){t.setPath(e)},paths(t,e){t.setPaths(e)},visible(t,e){t.setVisible(e)}};function xi(t){var{options:e,draggable:n,editable:s,visible:r,path:o,paths:a,onDblClick:l,onDragEnd:u,onDragStart:g,onMouseDown:d,onMouseMove:p,onMouseOut:f,onMouseOver:v,onMouseUp:c,onRightClick:x,onClick:M,onDrag:S,onLoad:w,onUnmount:D,onEdit:C}=t,m=i.useContext(A),[y,E]=i.useState(null),[P,b]=i.useState(null),[O,k]=i.useState(null),[U,Z]=i.useState(null),[R,T]=i.useState(null),[W,q]=i.useState(null),[N,G]=i.useState(null),[$,K]=i.useState(null),[J,j]=i.useState(null),[Y,L]=i.useState(null),[ee,X]=i.useState(null),[z,te]=i.useState(null);return i.useEffect(()=>{y!==null&&y.setMap(m)},[m]),i.useEffect(()=>{typeof e<"u"&&y!==null&&y.setOptions(e)},[y,e]),i.useEffect(()=>{typeof n<"u"&&y!==null&&y.setDraggable(n)},[y,n]),i.useEffect(()=>{typeof s<"u"&&y!==null&&y.setEditable(s)},[y,s]),i.useEffect(()=>{typeof r<"u"&&y!==null&&y.setVisible(r)},[y,r]),i.useEffect(()=>{typeof o<"u"&&y!==null&&y.setPath(o)},[y,o]),i.useEffect(()=>{typeof a<"u"&&y!==null&&y.setPaths(a)},[y,a]),i.useEffect(()=>{y&&typeof l=="function"&&(P!==null&&google.maps.event.removeListener(P),b(google.maps.event.addListener(y,"dblclick",l)))},[l]),i.useEffect(()=>{y&&(google.maps.event.addListener(y.getPath(),"insert_at",()=>{C==null||C(y)}),google.maps.event.addListener(y.getPath(),"set_at",()=>{C==null||C(y)}),google.maps.event.addListener(y.getPath(),"remove_at",()=>{C==null||C(y)}))},[y,C]),i.useEffect(()=>{y&&typeof u=="function"&&(O!==null&&google.maps.event.removeListener(O),k(google.maps.event.addListener(y,"dragend",u)))},[u]),i.useEffect(()=>{y&&typeof g=="function"&&(U!==null&&google.maps.event.removeListener(U),Z(google.maps.event.addListener(y,"dragstart",g)))},[g]),i.useEffect(()=>{y&&typeof d=="function"&&(R!==null&&google.maps.event.removeListener(R),T(google.maps.event.addListener(y,"mousedown",d)))},[d]),i.useEffect(()=>{y&&typeof p=="function"&&(W!==null&&google.maps.event.removeListener(W),q(google.maps.event.addListener(y,"mousemove",p)))},[p]),i.useEffect(()=>{y&&typeof f=="function"&&(N!==null&&google.maps.event.removeListener(N),G(google.maps.event.addListener(y,"mouseout",f)))},[f]),i.useEffect(()=>{y&&typeof v=="function"&&($!==null&&google.maps.event.removeListener($),K(google.maps.event.addListener(y,"mouseover",v)))},[v]),i.useEffect(()=>{y&&typeof c=="function"&&(J!==null&&google.maps.event.removeListener(J),j(google.maps.event.addListener(y,"mouseup",c)))},[c]),i.useEffect(()=>{y&&typeof x=="function"&&(Y!==null&&google.maps.event.removeListener(Y),L(google.maps.event.addListener(y,"rightclick",x)))},[x]),i.useEffect(()=>{y&&typeof M=="function"&&(ee!==null&&google.maps.event.removeListener(ee),X(google.maps.event.addListener(y,"click",M)))},[M]),i.useEffect(()=>{y&&typeof S=="function"&&(z!==null&&google.maps.event.removeListener(z),te(google.maps.event.addListener(y,"drag",S)))},[S]),i.useEffect(()=>{var I=new google.maps.Polygon(rn(rn({},e),{},{map:m}));return o&&I.setPath(o),a&&I.setPaths(a),typeof r<"u"&&I.setVisible(r),typeof s<"u"&&I.setEditable(s),typeof n<"u"&&I.setDraggable(n),l&&b(google.maps.event.addListener(I,"dblclick",l)),u&&k(google.maps.event.addListener(I,"dragend",u)),g&&Z(google.maps.event.addListener(I,"dragstart",g)),d&&T(google.maps.event.addListener(I,"mousedown",d)),p&&q(google.maps.event.addListener(I,"mousemove",p)),f&&G(google.maps.event.addListener(I,"mouseout",f)),v&&K(google.maps.event.addListener(I,"mouseover",v)),c&&j(google.maps.event.addListener(I,"mouseup",c)),x&&L(google.maps.event.addListener(I,"rightclick",x)),M&&X(google.maps.event.addListener(I,"click",M)),S&&te(google.maps.event.addListener(I,"drag",S)),E(I),w&&w(I),()=>{P!==null&&google.maps.event.removeListener(P),O!==null&&google.maps.event.removeListener(O),U!==null&&google.maps.event.removeListener(U),R!==null&&google.maps.event.removeListener(R),W!==null&&google.maps.event.removeListener(W),N!==null&&google.maps.event.removeListener(N),$!==null&&google.maps.event.removeListener($),J!==null&&google.maps.event.removeListener(J),Y!==null&&google.maps.event.removeListener(Y),ee!==null&&google.maps.event.removeListener(ee),D&&D(I),I.setMap(null)}},[]),null}i.memo(xi);class ps extends i.PureComponent{constructor(){super(...arguments),h(this,"registeredEvents",[])}componentDidMount(){var e=this.props.options||{};this.polygon=new google.maps.Polygon(e),this.polygon.setMap(this.context),this.registeredEvents=_({updaterMap:an,eventMap:on,prevProps:{},nextProps:this.props,instance:this.polygon}),this.props.onLoad&&this.props.onLoad(this.polygon)}componentDidUpdate(e){this.polygon&&(V(this.registeredEvents),this.registeredEvents=_({updaterMap:an,eventMap:on,prevProps:e,nextProps:this.props,instance:this.polygon}))}componentWillUnmount(){this.polygon&&(this.props.onUnmount&&this.props.onUnmount(this.polygon),V(this.registeredEvents),this.polygon&&this.polygon.setMap(null))}render(){return null}}h(ps,"contextType",A);function ln(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,s)}return n}function Ne(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?ln(Object(n),!0).forEach(function(s){h(t,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ln(Object(n)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(n,s))})}return t}var un={onBoundsChanged:"bounds_changed",onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},pn={bounds(t,e){t.setBounds(e)},draggable(t,e){t.setDraggable(e)},editable(t,e){t.setEditable(e)},map(t,e){t.setMap(e)},options(t,e){t.setOptions(e)},visible(t,e){t.setVisible(e)}};function Si(t){var{options:e,bounds:n,draggable:s,editable:r,visible:o,onDblClick:a,onDragEnd:l,onDragStart:u,onMouseDown:g,onMouseMove:d,onMouseOut:p,onMouseOver:f,onMouseUp:v,onRightClick:c,onClick:x,onDrag:M,onBoundsChanged:S,onLoad:w,onUnmount:D}=t,C=i.useContext(A),[m,y]=i.useState(null),[E,P]=i.useState(null),[b,O]=i.useState(null),[k,U]=i.useState(null),[Z,R]=i.useState(null),[T,W]=i.useState(null),[q,N]=i.useState(null),[G,$]=i.useState(null),[K,J]=i.useState(null),[j,Y]=i.useState(null),[L,ee]=i.useState(null),[X,z]=i.useState(null),[te,I]=i.useState(null);return i.useEffect(()=>{m!==null&&m.setMap(C)},[C]),i.useEffect(()=>{typeof e<"u"&&m!==null&&m.setOptions(e)},[m,e]),i.useEffect(()=>{typeof s<"u"&&m!==null&&m.setDraggable(s)},[m,s]),i.useEffect(()=>{typeof r<"u"&&m!==null&&m.setEditable(r)},[m,r]),i.useEffect(()=>{typeof o<"u"&&m!==null&&m.setVisible(o)},[m,o]),i.useEffect(()=>{typeof n<"u"&&m!==null&&m.setBounds(n)},[m,n]),i.useEffect(()=>{m&&a&&(E!==null&&google.maps.event.removeListener(E),P(google.maps.event.addListener(m,"dblclick",a)))},[a]),i.useEffect(()=>{m&&l&&(b!==null&&google.maps.event.removeListener(b),O(google.maps.event.addListener(m,"dragend",l)))},[l]),i.useEffect(()=>{m&&u&&(k!==null&&google.maps.event.removeListener(k),U(google.maps.event.addListener(m,"dragstart",u)))},[u]),i.useEffect(()=>{m&&g&&(Z!==null&&google.maps.event.removeListener(Z),R(google.maps.event.addListener(m,"mousedown",g)))},[g]),i.useEffect(()=>{m&&d&&(T!==null&&google.maps.event.removeListener(T),W(google.maps.event.addListener(m,"mousemove",d)))},[d]),i.useEffect(()=>{m&&p&&(q!==null&&google.maps.event.removeListener(q),N(google.maps.event.addListener(m,"mouseout",p)))},[p]),i.useEffect(()=>{m&&f&&(G!==null&&google.maps.event.removeListener(G),$(google.maps.event.addListener(m,"mouseover",f)))},[f]),i.useEffect(()=>{m&&v&&(K!==null&&google.maps.event.removeListener(K),J(google.maps.event.addListener(m,"mouseup",v)))},[v]),i.useEffect(()=>{m&&c&&(j!==null&&google.maps.event.removeListener(j),Y(google.maps.event.addListener(m,"rightclick",c)))},[c]),i.useEffect(()=>{m&&x&&(L!==null&&google.maps.event.removeListener(L),ee(google.maps.event.addListener(m,"click",x)))},[x]),i.useEffect(()=>{m&&M&&(X!==null&&google.maps.event.removeListener(X),z(google.maps.event.addListener(m,"drag",M)))},[M]),i.useEffect(()=>{m&&S&&(te!==null&&google.maps.event.removeListener(te),I(google.maps.event.addListener(m,"bounds_changed",S)))},[S]),i.useEffect(()=>{var F=new google.maps.Rectangle(Ne(Ne({},e),{},{map:C}));return typeof o<"u"&&F.setVisible(o),typeof r<"u"&&F.setEditable(r),typeof s<"u"&&F.setDraggable(s),typeof n<"u"&&F.setBounds(n),a&&P(google.maps.event.addListener(F,"dblclick",a)),l&&O(google.maps.event.addListener(F,"dragend",l)),u&&U(google.maps.event.addListener(F,"dragstart",u)),g&&R(google.maps.event.addListener(F,"mousedown",g)),d&&W(google.maps.event.addListener(F,"mousemove",d)),p&&N(google.maps.event.addListener(F,"mouseout",p)),f&&$(google.maps.event.addListener(F,"mouseover",f)),v&&J(google.maps.event.addListener(F,"mouseup",v)),c&&Y(google.maps.event.addListener(F,"rightclick",c)),x&&ee(google.maps.event.addListener(F,"click",x)),M&&z(google.maps.event.addListener(F,"drag",M)),S&&I(google.maps.event.addListener(F,"bounds_changed",S)),y(F),w&&w(F),()=>{E!==null&&google.maps.event.removeListener(E),b!==null&&google.maps.event.removeListener(b),k!==null&&google.maps.event.removeListener(k),Z!==null&&google.maps.event.removeListener(Z),T!==null&&google.maps.event.removeListener(T),q!==null&&google.maps.event.removeListener(q),G!==null&&google.maps.event.removeListener(G),K!==null&&google.maps.event.removeListener(K),j!==null&&google.maps.event.removeListener(j),L!==null&&google.maps.event.removeListener(L),X!==null&&google.maps.event.removeListener(X),te!==null&&google.maps.event.removeListener(te),D&&D(F),F.setMap(null)}},[]),null}i.memo(Si);class cs extends i.PureComponent{constructor(){super(...arguments),h(this,"registeredEvents",[]),h(this,"state",{rectangle:null}),h(this,"setRectangleCallback",()=>{this.state.rectangle!==null&&this.props.onLoad&&this.props.onLoad(this.state.rectangle)})}componentDidMount(){var e=new google.maps.Rectangle(Ne(Ne({},this.props.options),{},{map:this.context}));this.registeredEvents=_({updaterMap:pn,eventMap:un,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{rectangle:e}},this.setRectangleCallback)}componentDidUpdate(e){this.state.rectangle!==null&&(V(this.registeredEvents),this.registeredEvents=_({updaterMap:pn,eventMap:un,prevProps:e,nextProps:this.props,instance:this.state.rectangle}))}componentWillUnmount(){this.state.rectangle!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.rectangle),V(this.registeredEvents),this.state.rectangle.setMap(null))}render(){return null}}h(cs,"contextType",A);function cn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,s)}return n}function $e(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?cn(Object(n),!0).forEach(function(s){h(t,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):cn(Object(n)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(n,s))})}return t}var dn={onCenterChanged:"center_changed",onRadiusChanged:"radius_changed",onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},gn={center(t,e){t.setCenter(e)},draggable(t,e){t.setDraggable(e)},editable(t,e){t.setEditable(e)},map(t,e){t.setMap(e)},options(t,e){t.setOptions(e)},radius(t,e){t.setRadius(e)},visible(t,e){t.setVisible(e)}},Oi={};function ki(t){var{options:e,center:n,radius:s,draggable:r,editable:o,visible:a,onDblClick:l,onDragEnd:u,onDragStart:g,onMouseDown:d,onMouseMove:p,onMouseOut:f,onMouseOver:v,onMouseUp:c,onRightClick:x,onClick:M,onDrag:S,onCenterChanged:w,onRadiusChanged:D,onLoad:C,onUnmount:m}=t,y=i.useContext(A),[E,P]=i.useState(null),[b,O]=i.useState(null),[k,U]=i.useState(null),[Z,R]=i.useState(null),[T,W]=i.useState(null),[q,N]=i.useState(null),[G,$]=i.useState(null),[K,J]=i.useState(null),[j,Y]=i.useState(null),[L,ee]=i.useState(null),[X,z]=i.useState(null),[te,I]=i.useState(null),[F,oe]=i.useState(null),[ae,fe]=i.useState(null);return i.useEffect(()=>{E!==null&&E.setMap(y)},[y]),i.useEffect(()=>{typeof e<"u"&&E!==null&&E.setOptions(e)},[E,e]),i.useEffect(()=>{typeof r<"u"&&E!==null&&E.setDraggable(r)},[E,r]),i.useEffect(()=>{typeof o<"u"&&E!==null&&E.setEditable(o)},[E,o]),i.useEffect(()=>{typeof a<"u"&&E!==null&&E.setVisible(a)},[E,a]),i.useEffect(()=>{typeof s=="number"&&E!==null&&E.setRadius(s)},[E,s]),i.useEffect(()=>{typeof n<"u"&&E!==null&&E.setCenter(n)},[E,n]),i.useEffect(()=>{E&&l&&(b!==null&&google.maps.event.removeListener(b),O(google.maps.event.addListener(E,"dblclick",l)))},[l]),i.useEffect(()=>{E&&u&&(k!==null&&google.maps.event.removeListener(k),U(google.maps.event.addListener(E,"dragend",u)))},[u]),i.useEffect(()=>{E&&g&&(Z!==null&&google.maps.event.removeListener(Z),R(google.maps.event.addListener(E,"dragstart",g)))},[g]),i.useEffect(()=>{E&&d&&(T!==null&&google.maps.event.removeListener(T),W(google.maps.event.addListener(E,"mousedown",d)))},[d]),i.useEffect(()=>{E&&p&&(q!==null&&google.maps.event.removeListener(q),N(google.maps.event.addListener(E,"mousemove",p)))},[p]),i.useEffect(()=>{E&&f&&(G!==null&&google.maps.event.removeListener(G),$(google.maps.event.addListener(E,"mouseout",f)))},[f]),i.useEffect(()=>{E&&v&&(K!==null&&google.maps.event.removeListener(K),J(google.maps.event.addListener(E,"mouseover",v)))},[v]),i.useEffect(()=>{E&&c&&(j!==null&&google.maps.event.removeListener(j),Y(google.maps.event.addListener(E,"mouseup",c)))},[c]),i.useEffect(()=>{E&&x&&(L!==null&&google.maps.event.removeListener(L),ee(google.maps.event.addListener(E,"rightclick",x)))},[x]),i.useEffect(()=>{E&&M&&(X!==null&&google.maps.event.removeListener(X),z(google.maps.event.addListener(E,"click",M)))},[M]),i.useEffect(()=>{E&&S&&(te!==null&&google.maps.event.removeListener(te),I(google.maps.event.addListener(E,"drag",S)))},[S]),i.useEffect(()=>{E&&w&&(F!==null&&google.maps.event.removeListener(F),oe(google.maps.event.addListener(E,"center_changed",w)))},[M]),i.useEffect(()=>{E&&D&&(ae!==null&&google.maps.event.removeListener(ae),fe(google.maps.event.addListener(E,"radius_changed",D)))},[D]),i.useEffect(()=>{var Q=new google.maps.Circle($e($e({},e||Oi),{},{map:y}));return typeof s=="number"&&Q.setRadius(s),typeof n<"u"&&Q.setCenter(n),typeof s=="number"&&Q.setRadius(s),typeof a<"u"&&Q.setVisible(a),typeof o<"u"&&Q.setEditable(o),typeof r<"u"&&Q.setDraggable(r),l&&O(google.maps.event.addListener(Q,"dblclick",l)),u&&U(google.maps.event.addListener(Q,"dragend",u)),g&&R(google.maps.event.addListener(Q,"dragstart",g)),d&&W(google.maps.event.addListener(Q,"mousedown",d)),p&&N(google.maps.event.addListener(Q,"mousemove",p)),f&&$(google.maps.event.addListener(Q,"mouseout",f)),v&&J(google.maps.event.addListener(Q,"mouseover",v)),c&&Y(google.maps.event.addListener(Q,"mouseup",c)),x&&ee(google.maps.event.addListener(Q,"rightclick",x)),M&&z(google.maps.event.addListener(Q,"click",M)),S&&I(google.maps.event.addListener(Q,"drag",S)),w&&oe(google.maps.event.addListener(Q,"center_changed",w)),D&&fe(google.maps.event.addListener(Q,"radius_changed",D)),P(Q),C&&C(Q),()=>{b!==null&&google.maps.event.removeListener(b),k!==null&&google.maps.event.removeListener(k),Z!==null&&google.maps.event.removeListener(Z),T!==null&&google.maps.event.removeListener(T),q!==null&&google.maps.event.removeListener(q),G!==null&&google.maps.event.removeListener(G),K!==null&&google.maps.event.removeListener(K),j!==null&&google.maps.event.removeListener(j),L!==null&&google.maps.event.removeListener(L),X!==null&&google.maps.event.removeListener(X),F!==null&&google.maps.event.removeListener(F),ae!==null&&google.maps.event.removeListener(ae),m&&m(Q),Q.setMap(null)}},[]),null}i.memo(ki);class ds extends i.PureComponent{constructor(){super(...arguments),h(this,"registeredEvents",[]),h(this,"state",{circle:null}),h(this,"setCircleCallback",()=>{this.state.circle!==null&&this.props.onLoad&&this.props.onLoad(this.state.circle)})}componentDidMount(){var e=new google.maps.Circle($e($e({},this.props.options),{},{map:this.context}));this.registeredEvents=_({updaterMap:gn,eventMap:dn,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{circle:e}},this.setCircleCallback)}componentDidUpdate(e){this.state.circle!==null&&(V(this.registeredEvents),this.registeredEvents=_({updaterMap:gn,eventMap:dn,prevProps:e,nextProps:this.props,instance:this.state.circle}))}componentWillUnmount(){if(this.state.circle!==null){var e;this.props.onUnmount&&this.props.onUnmount(this.state.circle),V(this.registeredEvents),(e=this.state.circle)===null||e===void 0||e.setMap(null)}}render(){return null}}h(ds,"contextType",A);function fn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,s)}return n}function Fe(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?fn(Object(n),!0).forEach(function(s){h(t,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):fn(Object(n)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(n,s))})}return t}var hn={onClick:"click",onDblClick:"dblclick",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick",onAddFeature:"addfeature",onRemoveFeature:"removefeature",onRemoveProperty:"removeproperty",onSetGeometry:"setgeometry",onSetProperty:"setproperty"},vn={add(t,e){t.add(e)},addgeojson(t,e,n){t.addGeoJson(e,n)},contains(t,e){t.contains(e)},foreach(t,e){t.forEach(e)},loadgeojson(t,e,n,s){t.loadGeoJson(e,n,s)},overridestyle(t,e,n){t.overrideStyle(e,n)},remove(t,e){t.remove(e)},revertstyle(t,e){t.revertStyle(e)},controlposition(t,e){t.setControlPosition(e)},controls(t,e){t.setControls(e)},drawingmode(t,e){t.setDrawingMode(e)},map(t,e){t.setMap(e)},style(t,e){t.setStyle(e)},togeojson(t,e){t.toGeoJson(e)}};function Pi(t){var{options:e,onClick:n,onDblClick:s,onMouseDown:r,onMouseMove:o,onMouseOut:a,onMouseOver:l,onMouseUp:u,onRightClick:g,onAddFeature:d,onRemoveFeature:p,onRemoveProperty:f,onSetGeometry:v,onSetProperty:c,onLoad:x,onUnmount:M}=t,S=i.useContext(A),[w,D]=i.useState(null),[C,m]=i.useState(null),[y,E]=i.useState(null),[P,b]=i.useState(null),[O,k]=i.useState(null),[U,Z]=i.useState(null),[R,T]=i.useState(null),[W,q]=i.useState(null),[N,G]=i.useState(null),[$,K]=i.useState(null),[J,j]=i.useState(null),[Y,L]=i.useState(null),[ee,X]=i.useState(null),[z,te]=i.useState(null);return i.useEffect(()=>{w!==null&&w.setMap(S)},[S]),i.useEffect(()=>{w&&s&&(C!==null&&google.maps.event.removeListener(C),m(google.maps.event.addListener(w,"dblclick",s)))},[s]),i.useEffect(()=>{w&&r&&(y!==null&&google.maps.event.removeListener(y),E(google.maps.event.addListener(w,"mousedown",r)))},[r]),i.useEffect(()=>{w&&o&&(P!==null&&google.maps.event.removeListener(P),b(google.maps.event.addListener(w,"mousemove",o)))},[o]),i.useEffect(()=>{w&&a&&(O!==null&&google.maps.event.removeListener(O),k(google.maps.event.addListener(w,"mouseout",a)))},[a]),i.useEffect(()=>{w&&l&&(U!==null&&google.maps.event.removeListener(U),Z(google.maps.event.addListener(w,"mouseover",l)))},[l]),i.useEffect(()=>{w&&u&&(R!==null&&google.maps.event.removeListener(R),T(google.maps.event.addListener(w,"mouseup",u)))},[u]),i.useEffect(()=>{w&&g&&(W!==null&&google.maps.event.removeListener(W),q(google.maps.event.addListener(w,"rightclick",g)))},[g]),i.useEffect(()=>{w&&n&&(N!==null&&google.maps.event.removeListener(N),G(google.maps.event.addListener(w,"click",n)))},[n]),i.useEffect(()=>{w&&d&&($!==null&&google.maps.event.removeListener($),K(google.maps.event.addListener(w,"addfeature",d)))},[d]),i.useEffect(()=>{w&&p&&(J!==null&&google.maps.event.removeListener(J),j(google.maps.event.addListener(w,"removefeature",p)))},[p]),i.useEffect(()=>{w&&f&&(Y!==null&&google.maps.event.removeListener(Y),L(google.maps.event.addListener(w,"removeproperty",f)))},[f]),i.useEffect(()=>{w&&v&&(ee!==null&&google.maps.event.removeListener(ee),X(google.maps.event.addListener(w,"setgeometry",v)))},[v]),i.useEffect(()=>{w&&c&&(z!==null&&google.maps.event.removeListener(z),te(google.maps.event.addListener(w,"setproperty",c)))},[c]),i.useEffect(()=>{if(S!==null){var I=new google.maps.Data(Fe(Fe({},e),{},{map:S}));s&&m(google.maps.event.addListener(I,"dblclick",s)),r&&E(google.maps.event.addListener(I,"mousedown",r)),o&&b(google.maps.event.addListener(I,"mousemove",o)),a&&k(google.maps.event.addListener(I,"mouseout",a)),l&&Z(google.maps.event.addListener(I,"mouseover",l)),u&&T(google.maps.event.addListener(I,"mouseup",u)),g&&q(google.maps.event.addListener(I,"rightclick",g)),n&&G(google.maps.event.addListener(I,"click",n)),d&&K(google.maps.event.addListener(I,"addfeature",d)),p&&j(google.maps.event.addListener(I,"removefeature",p)),f&&L(google.maps.event.addListener(I,"removeproperty",f)),v&&X(google.maps.event.addListener(I,"setgeometry",v)),c&&te(google.maps.event.addListener(I,"setproperty",c)),D(I),x&&x(I)}return()=>{w&&(C!==null&&google.maps.event.removeListener(C),y!==null&&google.maps.event.removeListener(y),P!==null&&google.maps.event.removeListener(P),O!==null&&google.maps.event.removeListener(O),U!==null&&google.maps.event.removeListener(U),R!==null&&google.maps.event.removeListener(R),W!==null&&google.maps.event.removeListener(W),N!==null&&google.maps.event.removeListener(N),$!==null&&google.maps.event.removeListener($),J!==null&&google.maps.event.removeListener(J),Y!==null&&google.maps.event.removeListener(Y),ee!==null&&google.maps.event.removeListener(ee),z!==null&&google.maps.event.removeListener(z),M&&M(w),w.setMap(null))}},[]),null}i.memo(Pi);class gs extends i.PureComponent{constructor(){super(...arguments),h(this,"registeredEvents",[]),h(this,"state",{data:null}),h(this,"setDataCallback",()=>{this.state.data!==null&&this.props.onLoad&&this.props.onLoad(this.state.data)})}componentDidMount(){if(this.context!==null){var e=new google.maps.Data(Fe(Fe({},this.props.options),{},{map:this.context}));this.registeredEvents=_({updaterMap:vn,eventMap:hn,prevProps:{},nextProps:this.props,instance:e}),this.setState(()=>({data:e}),this.setDataCallback)}}componentDidUpdate(e){this.state.data!==null&&(V(this.registeredEvents),this.registeredEvents=_({updaterMap:vn,eventMap:hn,prevProps:e,nextProps:this.props,instance:this.state.data}))}componentWillUnmount(){this.state.data!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.data),V(this.registeredEvents),this.state.data&&this.state.data.setMap(null))}render(){return null}}h(gs,"contextType",A);function mn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,s)}return n}function Ln(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?mn(Object(n),!0).forEach(function(s){h(t,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):mn(Object(n)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(n,s))})}return t}var yn={onClick:"click",onDefaultViewportChanged:"defaultviewport_changed",onStatusChanged:"status_changed"},bn={options(t,e){t.setOptions(e)},url(t,e){t.setUrl(e)},zIndex(t,e){t.setZIndex(e)}};class fs extends i.PureComponent{constructor(){super(...arguments),h(this,"registeredEvents",[]),h(this,"state",{kmlLayer:null}),h(this,"setKmlLayerCallback",()=>{this.state.kmlLayer!==null&&this.props.onLoad&&this.props.onLoad(this.state.kmlLayer)})}componentDidMount(){var e=new google.maps.KmlLayer(Ln(Ln({},this.props.options),{},{map:this.context}));this.registeredEvents=_({updaterMap:bn,eventMap:yn,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{kmlLayer:e}},this.setKmlLayerCallback)}componentDidUpdate(e){this.state.kmlLayer!==null&&(V(this.registeredEvents),this.registeredEvents=_({updaterMap:bn,eventMap:yn,prevProps:e,nextProps:this.props,instance:this.state.kmlLayer}))}componentWillUnmount(){this.state.kmlLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.kmlLayer),V(this.registeredEvents),this.state.kmlLayer.setMap(null))}render(){return null}}h(fs,"contextType",A);function hs(t,e){return typeof e=="function"?e(t.offsetWidth,t.offsetHeight):{x:0,y:0}}function Di(t,e){return new e(t.lat,t.lng)}function Ii(t,e){return new e(new google.maps.LatLng(t.ne.lat,t.ne.lng),new google.maps.LatLng(t.sw.lat,t.sw.lng))}function ji(t,e,n){return t instanceof e?t:n(t,e)}function Ri(t,e,n){return t instanceof e?t:n(t,e)}function Ti(t,e,n){var s=t&&t.fromLatLngToDivPixel(n.getNorthEast()),r=t&&t.fromLatLngToDivPixel(n.getSouthWest());return s&&r?{left:"".concat(r.x+e.x,"px"),top:"".concat(s.y+e.y,"px"),width:"".concat(s.x-r.x-e.x,"px"),height:"".concat(r.y-s.y-e.y,"px")}:{left:"-9999px",top:"-9999px"}}function Bi(t,e,n){var s=t&&t.fromLatLngToDivPixel(n);if(s){var{x:r,y:o}=s;return{left:"".concat(r+e.x,"px"),top:"".concat(o+e.y,"px")}}return{left:"-9999px",top:"-9999px"}}function vs(t,e,n,s){return n!==void 0?Ti(t,e,Ri(n,google.maps.LatLngBounds,Ii)):Bi(t,e,ji(s,google.maps.LatLng,Di))}function Ui(t,e){return t.left===e.left&&t.top===e.top&&t.width===e.height&&t.height===e.height}function Cn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,s)}return n}function Ai(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Cn(Object(n),!0).forEach(function(s){h(t,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Cn(Object(n)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(n,s))})}return t}function zi(t,e,n,s,r){class o extends google.maps.OverlayView{constructor(l,u,g,d){super(),this.container=l,this.pane=u,this.position=g,this.bounds=d}onAdd(){var l,u=(l=this.getPanes())===null||l===void 0?void 0:l[this.pane];u==null||u.appendChild(this.container)}draw(){var l=this.getProjection(),u=Ai({},this.container?hs(this.container,r):{x:0,y:0}),g=vs(l,u,this.bounds,this.position);for(var[d,p]of Object.entries(g))this.container.style[d]=p}onRemove(){this.container.parentNode!==null&&this.container.parentNode.removeChild(this.container)}}return new o(t,e,n,s)}function Mn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,s)}return n}function _i(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Mn(Object(n),!0).forEach(function(s){h(t,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Mn(Object(n)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(n,s))})}return t}function En(t){if(!t)return"";var e=t instanceof google.maps.LatLng?t:new google.maps.LatLng(t.lat,t.lng);return e+""}function wn(t){if(!t)return"";var e=t instanceof google.maps.LatLngBounds?t:new google.maps.LatLngBounds(new google.maps.LatLng(t.south,t.east),new google.maps.LatLng(t.north,t.west));return e+""}function Zi(t){var{position:e,bounds:n,mapPaneName:s,zIndex:r,onLoad:o,onUnmount:a,getPixelPositionOffset:l,children:u}=t,g=i.useContext(A),d=i.useMemo(()=>{var f=document.createElement("div");return f.style.position="absolute",f},[]),p=i.useMemo(()=>zi(d,s,e,n,l),[d,s,e,n]);return i.useEffect(()=>(o==null||o(p),p==null||p.setMap(g),()=>{a==null||a(p),p==null||p.setMap(null)}),[g,p]),i.useEffect(()=>{d.style.zIndex="".concat(r)},[r,d]),Zn.createPortal(u,d)}i.memo(Zi);class de extends i.PureComponent{constructor(e){super(e),h(this,"state",{paneEl:null,containerStyle:{position:"absolute"}}),h(this,"updatePane",()=>{var s=this.props.mapPaneName,r=this.overlayView.getPanes();ne(!!s,"OverlayView requires props.mapPaneName but got %s",s),r?this.setState({paneEl:r[s]}):this.setState({paneEl:null})}),h(this,"onAdd",()=>{var s,r;this.updatePane(),(s=(r=this.props).onLoad)===null||s===void 0||s.call(r,this.overlayView)}),h(this,"onPositionElement",()=>{var s=this.overlayView.getProjection(),r=_i({x:0,y:0},this.containerRef.current?hs(this.containerRef.current,this.props.getPixelPositionOffset):{}),o=vs(s,r,this.props.bounds,this.props.position);if(!Ui(o,{left:this.state.containerStyle.left,top:this.state.containerStyle.top,width:this.state.containerStyle.width,height:this.state.containerStyle.height})){var a,l,u,g;this.setState({containerStyle:{top:(a=o.top)!==null&&a!==void 0?a:0,left:(l=o.left)!==null&&l!==void 0?l:0,width:(u=o.width)!==null&&u!==void 0?u:0,height:(g=o.height)!==null&&g!==void 0?g:0,position:"absolute"}})}}),h(this,"draw",()=>{this.onPositionElement()}),h(this,"onRemove",()=>{var s,r;this.setState(()=>({paneEl:null})),(s=(r=this.props).onUnmount)===null||s===void 0||s.call(r,this.overlayView)}),this.containerRef=i.createRef();var n=new google.maps.OverlayView;n.onAdd=this.onAdd,n.draw=this.draw,n.onRemove=this.onRemove,this.overlayView=n}componentDidMount(){this.overlayView.setMap(this.context)}componentDidUpdate(e){var n=En(e.position),s=En(this.props.position),r=wn(e.bounds),o=wn(this.props.bounds);(n!==s||r!==o)&&this.overlayView.draw(),e.mapPaneName!==this.props.mapPaneName&&this.updatePane()}componentWillUnmount(){this.overlayView.setMap(null)}render(){var e=this.state.paneEl;return e?Zn.createPortal(ie.jsxRuntimeExports.jsx("div",{ref:this.containerRef,style:this.state.containerStyle,children:i.Children.only(this.props.children)}),e):null}}h(de,"FLOAT_PANE","floatPane");h(de,"MAP_PANE","mapPane");h(de,"MARKER_LAYER","markerLayer");h(de,"OVERLAY_LAYER","overlayLayer");h(de,"OVERLAY_MOUSE_TARGET","overlayMouseTarget");h(de,"contextType",A);function Vi(){}function xn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,s)}return n}function Sn(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?xn(Object(n),!0).forEach(function(s){h(t,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xn(Object(n)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(n,s))})}return t}var On={onDblClick:"dblclick",onClick:"click"},kn={opacity(t,e){t.setOpacity(e)}};function Wi(t){var{url:e,bounds:n,options:s,visible:r}=t,o=i.useContext(A),a=new google.maps.LatLngBounds(new google.maps.LatLng(n.south,n.west),new google.maps.LatLng(n.north,n.east)),l=i.useMemo(()=>new google.maps.GroundOverlay(e,a,s),[]);return i.useEffect(()=>{l!==null&&l.setMap(o)},[o]),i.useEffect(()=>{typeof e<"u"&&l!==null&&(l.set("url",e),l.setMap(o))},[l,e]),i.useEffect(()=>{typeof r<"u"&&l!==null&&l.setOpacity(r?1:0)},[l,r]),i.useEffect(()=>{var u=new google.maps.LatLngBounds(new google.maps.LatLng(n.south,n.west),new google.maps.LatLng(n.north,n.east));typeof n<"u"&&l!==null&&(l.set("bounds",u),l.setMap(o))},[l,n]),null}i.memo(Wi);class it extends i.PureComponent{constructor(){super(...arguments),h(this,"registeredEvents",[]),h(this,"state",{groundOverlay:null}),h(this,"setGroundOverlayCallback",()=>{this.state.groundOverlay!==null&&this.props.onLoad&&this.props.onLoad(this.state.groundOverlay)})}componentDidMount(){ne(!!this.props.url||!!this.props.bounds,"For GroundOverlay, url and bounds are passed in to constructor and are immutable after instantiated. This is the behavior of Google Maps JavaScript API v3 ( See https://developers.google.com/maps/documentation/javascript/reference#GroundOverlay) Hence, use the corresponding two props provided by `react-google-maps-api`, url and bounds. In some cases, you'll need the GroundOverlay component to reflect the changes of url and bounds. You can leverage the React's key property to remount the component. Typically, just `key={url}` would serve your need. See https://github.com/tomchentw/react-google-maps/issues/655");var e=new google.maps.GroundOverlay(this.props.url,this.props.bounds,Sn(Sn({},this.props.options),{},{map:this.context}));this.registeredEvents=_({updaterMap:kn,eventMap:On,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{groundOverlay:e}},this.setGroundOverlayCallback)}componentDidUpdate(e){this.state.groundOverlay!==null&&(V(this.registeredEvents),this.registeredEvents=_({updaterMap:kn,eventMap:On,prevProps:e,nextProps:this.props,instance:this.state.groundOverlay}))}componentWillUnmount(){this.state.groundOverlay&&(this.props.onUnmount&&this.props.onUnmount(this.state.groundOverlay),this.state.groundOverlay.setMap(null))}render(){return null}}h(it,"defaultProps",{onLoad:Vi});h(it,"contextType",A);function Pn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,s)}return n}function He(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Pn(Object(n),!0).forEach(function(s){h(t,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Pn(Object(n)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(n,s))})}return t}var Dn={},In={data(t,e){t.setData(e)},map(t,e){t.setMap(e)},options(t,e){t.setOptions(e)}};function Ni(t){var{data:e,onLoad:n,onUnmount:s,options:r}=t,o=i.useContext(A),[a,l]=i.useState(null);return i.useEffect(()=>{google.maps.visualization||ne(!!google.maps.visualization,'Did you include prop libraries={["visualization"]} in useJsApiScript? %s',google.maps.visualization)},[]),i.useEffect(()=>{ne(!!e,"data property is required in HeatmapLayer %s",e)},[e]),i.useEffect(()=>{a!==null&&a.setMap(o)},[o]),i.useEffect(()=>{r&&a!==null&&a.setOptions(r)},[a,r]),i.useEffect(()=>{var u=new google.maps.visualization.HeatmapLayer(He(He({},r),{},{data:e,map:o}));return l(u),n&&n(u),()=>{a!==null&&(s&&s(a),a.setMap(null))}},[]),null}i.memo(Ni);class ms extends i.PureComponent{constructor(){super(...arguments),h(this,"registeredEvents",[]),h(this,"state",{heatmapLayer:null}),h(this,"setHeatmapLayerCallback",()=>{this.state.heatmapLayer!==null&&this.props.onLoad&&this.props.onLoad(this.state.heatmapLayer)})}componentDidMount(){ne(!!google.maps.visualization,'Did you include prop libraries={["visualization"]} to <LoadScript />? %s',google.maps.visualization),ne(!!this.props.data,"data property is required in HeatmapLayer %s",this.props.data);var e=new google.maps.visualization.HeatmapLayer(He(He({},this.props.options),{},{data:this.props.data,map:this.context}));this.registeredEvents=_({updaterMap:In,eventMap:Dn,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{heatmapLayer:e}},this.setHeatmapLayerCallback)}componentDidUpdate(e){V(this.registeredEvents),this.registeredEvents=_({updaterMap:In,eventMap:Dn,prevProps:e,nextProps:this.props,instance:this.state.heatmapLayer})}componentWillUnmount(){this.state.heatmapLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.heatmapLayer),V(this.registeredEvents),this.state.heatmapLayer.setMap(null))}render(){return null}}h(ms,"contextType",A);var jn={onCloseClick:"closeclick",onPanoChanged:"pano_changed",onPositionChanged:"position_changed",onPovChanged:"pov_changed",onResize:"resize",onStatusChanged:"status_changed",onVisibleChanged:"visible_changed",onZoomChanged:"zoom_changed"},Rn={register(t,e,n){t.registerPanoProvider(e,n)},links(t,e){t.setLinks(e)},motionTracking(t,e){t.setMotionTracking(e)},options(t,e){t.setOptions(e)},pano(t,e){t.setPano(e)},position(t,e){t.setPosition(e)},pov(t,e){t.setPov(e)},visible(t,e){t.setVisible(e)},zoom(t,e){t.setZoom(e)}};class Ls extends i.PureComponent{constructor(){super(...arguments),h(this,"registeredEvents",[]),h(this,"state",{streetViewPanorama:null}),h(this,"setStreetViewPanoramaCallback",()=>{this.state.streetViewPanorama!==null&&this.props.onLoad&&this.props.onLoad(this.state.streetViewPanorama)})}componentDidMount(){var e,n,s=(e=(n=this.context)===null||n===void 0?void 0:n.getStreetView())!==null&&e!==void 0?e:null;this.registeredEvents=_({updaterMap:Rn,eventMap:jn,prevProps:{},nextProps:this.props,instance:s}),this.setState(()=>({streetViewPanorama:s}),this.setStreetViewPanoramaCallback)}componentDidUpdate(e){this.state.streetViewPanorama!==null&&(V(this.registeredEvents),this.registeredEvents=_({updaterMap:Rn,eventMap:jn,prevProps:e,nextProps:this.props,instance:this.state.streetViewPanorama}))}componentWillUnmount(){this.state.streetViewPanorama!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.streetViewPanorama),V(this.registeredEvents),this.state.streetViewPanorama.setVisible(!1))}render(){return null}}h(Ls,"contextType",A);class ys extends i.PureComponent{constructor(){super(...arguments),h(this,"state",{streetViewService:null}),h(this,"setStreetViewServiceCallback",()=>{this.state.streetViewService!==null&&this.props.onLoad&&this.props.onLoad(this.state.streetViewService)})}componentDidMount(){var e=new google.maps.StreetViewService;this.setState(function(){return{streetViewService:e}},this.setStreetViewServiceCallback)}componentWillUnmount(){this.state.streetViewService!==null&&this.props.onUnmount&&this.props.onUnmount(this.state.streetViewService)}render(){return null}}h(ys,"contextType",A);var Tn={onDirectionsChanged:"directions_changed"},Bn={directions(t,e){t.setDirections(e)},map(t,e){t.setMap(e)},options(t,e){t.setOptions(e)},panel(t,e){t.setPanel(e)},routeIndex(t,e){t.setRouteIndex(e)}};class bs extends i.PureComponent{constructor(){super(...arguments),h(this,"registeredEvents",[]),h(this,"state",{directionsRenderer:null}),h(this,"setDirectionsRendererCallback",()=>{this.state.directionsRenderer!==null&&(this.state.directionsRenderer.setMap(this.context),this.props.onLoad&&this.props.onLoad(this.state.directionsRenderer))})}componentDidMount(){var e=new google.maps.DirectionsRenderer(this.props.options);this.registeredEvents=_({updaterMap:Bn,eventMap:Tn,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{directionsRenderer:e}},this.setDirectionsRendererCallback)}componentDidUpdate(e){this.state.directionsRenderer!==null&&(V(this.registeredEvents),this.registeredEvents=_({updaterMap:Bn,eventMap:Tn,prevProps:e,nextProps:this.props,instance:this.state.directionsRenderer}))}componentWillUnmount(){this.state.directionsRenderer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.directionsRenderer),V(this.registeredEvents),this.state.directionsRenderer&&this.state.directionsRenderer.setMap(null))}render(){return null}}h(bs,"contextType",A);var Un={onPlacesChanged:"places_changed"},An={bounds(t,e){t.setBounds(e)}};class Cs extends i.PureComponent{constructor(){super(...arguments),h(this,"registeredEvents",[]),h(this,"containerElement",i.createRef()),h(this,"state",{searchBox:null}),h(this,"setSearchBoxCallback",()=>{this.state.searchBox!==null&&this.props.onLoad&&this.props.onLoad(this.state.searchBox)})}componentDidMount(){if(ne(!!google.maps.places,'You need to provide libraries={["places"]} prop to <LoadScript /> component %s',google.maps.places),this.containerElement!==null&&this.containerElement.current!==null){var e=this.containerElement.current.querySelector("input");if(e!==null){var n=new google.maps.places.SearchBox(e,this.props.options);this.registeredEvents=_({updaterMap:An,eventMap:Un,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{searchBox:n}},this.setSearchBoxCallback)}}}componentDidUpdate(e){this.state.searchBox!==null&&(V(this.registeredEvents),this.registeredEvents=_({updaterMap:An,eventMap:Un,prevProps:e,nextProps:this.props,instance:this.state.searchBox}))}componentWillUnmount(){this.state.searchBox!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.searchBox),V(this.registeredEvents))}render(){return ie.jsxRuntimeExports.jsx("div",{ref:this.containerElement,children:i.Children.only(this.props.children)})}}h(Cs,"contextType",A);var zn={onPlaceChanged:"place_changed"},_n={bounds(t,e){t.setBounds(e)},restrictions(t,e){t.setComponentRestrictions(e)},fields(t,e){t.setFields(e)},options(t,e){t.setOptions(e)},types(t,e){t.setTypes(e)}};class rt extends i.PureComponent{constructor(){super(...arguments),h(this,"registeredEvents",[]),h(this,"containerElement",i.createRef()),h(this,"state",{autocomplete:null}),h(this,"setAutocompleteCallback",()=>{this.state.autocomplete!==null&&this.props.onLoad&&this.props.onLoad(this.state.autocomplete)})}componentDidMount(){var e;ne(!!google.maps.places,'You need to provide libraries={["places"]} prop to <LoadScript /> component %s',google.maps.places);var n=(e=this.containerElement.current)===null||e===void 0?void 0:e.querySelector("input");if(n){var s=new google.maps.places.Autocomplete(n,this.props.options);this.registeredEvents=_({updaterMap:_n,eventMap:zn,prevProps:{},nextProps:this.props,instance:s}),this.setState(()=>({autocomplete:s}),this.setAutocompleteCallback)}}componentDidUpdate(e){V(this.registeredEvents),this.registeredEvents=_({updaterMap:_n,eventMap:zn,prevProps:e,nextProps:this.props,instance:this.state.autocomplete})}componentWillUnmount(){this.state.autocomplete!==null&&V(this.registeredEvents)}render(){return ie.jsxRuntimeExports.jsx("div",{ref:this.containerElement,className:this.props.className,children:i.Children.only(this.props.children)})}}h(rt,"defaultProps",{className:""});h(rt,"contextType",A);exports.Autocomplete=rt;exports.BicyclingLayer=Yn;exports.Circle=ds;exports.Data=gs;exports.DirectionsRenderer=bs;exports.DrawingManager=Xn;exports.GroundOverlay=it;exports.HeatmapLayer=ms;exports.InfoBox=is;exports.InfoWindow=ls;exports.KmlLayer=fs;exports.LoadScript=Kn;exports.MapContext=A;exports.Marker=es;exports.MarkerClusterer=ns;exports.OverlayView=de;exports.Polygon=ps;exports.Polyline=us;exports.Rectangle=cs;exports.StandaloneSearchBox=Cs;exports.StreetViewPanorama=Ls;exports.StreetViewService=ys;exports.TrafficLayer=Jn;exports.TransitLayer=Qn;exports.useGoogleMap=Wn;exports.useLoadScript=qn;
|
|
41
28
|
//# sourceMappingURL=index.cjs5.js.map
|