@performant-software/visualize 3.1.13-beta.1 → 3.1.13-beta.3
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.cjs103.js +1 -1
- package/dist/index.cjs104.js +1 -1
- package/dist/index.cjs106.js +1 -1
- package/dist/index.cjs107.js +1 -1
- package/dist/index.cjs108.js +1 -1
- package/dist/index.cjs109.js +1 -1
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs114.js +1 -1
- package/dist/index.cjs115.js +1 -1
- package/dist/index.cjs116.js +1 -1
- package/dist/index.cjs117.js +1 -1
- package/dist/index.cjs12.js +1 -1
- package/dist/index.cjs120.js +1 -1
- package/dist/index.cjs121.js +1 -1
- package/dist/index.cjs122.js +1 -1
- package/dist/index.cjs126.js +1 -1
- package/dist/index.cjs129.js +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs133.js +1 -1
- package/dist/index.cjs136.js +1 -1
- package/dist/index.cjs144.js +1 -1
- package/dist/index.cjs145.js +1 -1
- package/dist/index.cjs146.js +1 -1
- package/dist/index.cjs147.js +1 -1
- package/dist/index.cjs148.js +1 -1
- package/dist/index.cjs149.js +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs150.js +1 -1
- package/dist/index.cjs152.js +1 -1
- package/dist/index.cjs153.js +1 -1
- package/dist/index.cjs154.js +1 -1
- package/dist/index.cjs155.js +1 -1
- package/dist/index.cjs156.js +1 -1
- package/dist/index.cjs157.js +1 -1
- package/dist/index.cjs158.js +1 -1
- package/dist/index.cjs159.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs160.js +1 -1
- package/dist/index.cjs163.js +1 -1
- package/dist/index.cjs164.js +1 -1
- package/dist/index.cjs166.js +1 -1
- package/dist/index.cjs167.js +1 -1
- package/dist/index.cjs168.js +1 -1
- package/dist/index.cjs169.js +1 -1
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs170.js +1 -1
- package/dist/index.cjs171.js +1 -1
- package/dist/index.cjs172.js +1 -1
- package/dist/index.cjs173.js +1 -1
- package/dist/index.cjs179.js +1 -1
- package/dist/index.cjs180.js +1 -1
- package/dist/index.cjs181.js +1 -1
- package/dist/index.cjs182.js +1 -1
- package/dist/index.cjs183.js +1 -1
- package/dist/index.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.cjs19.js +1 -1
- package/dist/index.cjs193.js +1 -1
- package/dist/index.cjs194.js +1 -1
- package/dist/index.cjs195.js +1 -1
- package/dist/index.cjs197.js +1 -1
- package/dist/index.cjs198.js +1 -1
- package/dist/index.cjs198.js.map +1 -1
- package/dist/index.cjs199.js +1 -1
- package/dist/index.cjs199.js.map +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs200.js.map +1 -1
- package/dist/index.cjs201.js +1 -1
- package/dist/index.cjs201.js.map +1 -1
- package/dist/index.cjs202.js +1 -1
- package/dist/index.cjs202.js.map +1 -1
- package/dist/index.cjs203.js +1 -2
- package/dist/index.cjs203.js.map +1 -1
- package/dist/index.cjs204.js +2 -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.cjs21.js +1 -1
- package/dist/index.cjs210.js +1 -8
- package/dist/index.cjs210.js.map +1 -1
- package/dist/index.cjs211.js +1 -8
- package/dist/index.cjs211.js.map +1 -1
- package/dist/index.cjs212.js +1 -5
- 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.cjs218.js +1 -1
- package/dist/index.cjs218.js.map +1 -1
- package/dist/index.cjs219.js +1 -1
- package/dist/index.cjs219.js.map +1 -1
- package/dist/index.cjs220.js +1 -1
- package/dist/index.cjs220.js.map +1 -1
- package/dist/index.cjs221.js +1 -1
- package/dist/index.cjs221.js.map +1 -1
- package/dist/index.cjs222.js +1 -1
- package/dist/index.cjs222.js.map +1 -1
- package/dist/index.cjs223.js +1 -1
- package/dist/index.cjs223.js.map +1 -1
- package/dist/index.cjs224.js +1 -1
- package/dist/index.cjs224.js.map +1 -1
- package/dist/index.cjs225.js +1 -1
- package/dist/index.cjs225.js.map +1 -1
- package/dist/index.cjs226.js +1 -1
- package/dist/index.cjs226.js.map +1 -1
- package/dist/index.cjs227.js +1 -1
- package/dist/index.cjs227.js.map +1 -1
- package/dist/index.cjs228.js +1 -1
- package/dist/index.cjs228.js.map +1 -1
- package/dist/index.cjs229.js +1 -1
- package/dist/index.cjs229.js.map +1 -1
- package/dist/index.cjs230.js +1 -1
- package/dist/index.cjs230.js.map +1 -1
- package/dist/index.cjs231.js +1 -1
- package/dist/index.cjs231.js.map +1 -1
- package/dist/index.cjs232.js +1 -1
- package/dist/index.cjs232.js.map +1 -1
- package/dist/index.cjs233.js +1 -1
- package/dist/index.cjs233.js.map +1 -1
- package/dist/index.cjs234.js +1 -1
- package/dist/index.cjs234.js.map +1 -1
- package/dist/index.cjs235.js +1 -1
- package/dist/index.cjs235.js.map +1 -1
- package/dist/index.cjs236.js +1 -1
- package/dist/index.cjs236.js.map +1 -1
- package/dist/index.cjs237.js +1 -1
- package/dist/index.cjs237.js.map +1 -1
- package/dist/index.cjs238.js +1 -1
- package/dist/index.cjs238.js.map +1 -1
- package/dist/index.cjs239.js +1 -1
- package/dist/index.cjs239.js.map +1 -1
- package/dist/index.cjs240.js +1 -1
- package/dist/index.cjs240.js.map +1 -1
- package/dist/index.cjs241.js +1 -1
- package/dist/index.cjs241.js.map +1 -1
- package/dist/index.cjs242.js +1 -1
- package/dist/index.cjs242.js.map +1 -1
- package/dist/index.cjs243.js +1 -1
- package/dist/index.cjs243.js.map +1 -1
- package/dist/index.cjs244.js +1 -1
- package/dist/index.cjs244.js.map +1 -1
- package/dist/index.cjs245.js +1 -1
- package/dist/index.cjs245.js.map +1 -1
- package/dist/index.cjs246.js +1 -1
- package/dist/index.cjs246.js.map +1 -1
- package/dist/index.cjs247.js +1 -1
- package/dist/index.cjs247.js.map +1 -1
- package/dist/index.cjs248.js +1 -1
- package/dist/index.cjs248.js.map +1 -1
- package/dist/index.cjs249.js +1 -1
- package/dist/index.cjs249.js.map +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs250.js +8 -1
- package/dist/index.cjs250.js.map +1 -1
- package/dist/index.cjs251.js +8 -1
- package/dist/index.cjs251.js.map +1 -1
- package/dist/index.cjs252.js +5 -1
- package/dist/index.cjs252.js.map +1 -1
- package/dist/index.cjs253.js +1 -1
- package/dist/index.cjs253.js.map +1 -1
- package/dist/index.cjs254.js +1 -1
- package/dist/index.cjs254.js.map +1 -1
- package/dist/index.cjs255.js +1 -1
- package/dist/index.cjs255.js.map +1 -1
- package/dist/index.cjs256.js +1 -1
- package/dist/index.cjs256.js.map +1 -1
- package/dist/index.cjs257.js +1 -1
- package/dist/index.cjs257.js.map +1 -1
- package/dist/index.cjs258.js +1 -1
- package/dist/index.cjs258.js.map +1 -1
- package/dist/index.cjs259.js +1 -1
- package/dist/index.cjs259.js.map +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs260.js +1 -1
- package/dist/index.cjs260.js.map +1 -1
- package/dist/index.cjs261.js +1 -1
- package/dist/index.cjs261.js.map +1 -1
- package/dist/index.cjs262.js +1 -1
- package/dist/index.cjs262.js.map +1 -1
- package/dist/index.cjs263.js +1 -1
- package/dist/index.cjs263.js.map +1 -1
- package/dist/index.cjs264.js +1 -1
- package/dist/index.cjs264.js.map +1 -1
- package/dist/index.cjs265.js +1 -1
- package/dist/index.cjs265.js.map +1 -1
- package/dist/index.cjs266.js +1 -1
- package/dist/index.cjs266.js.map +1 -1
- package/dist/index.cjs267.js +1 -1
- package/dist/index.cjs267.js.map +1 -1
- package/dist/index.cjs268.js +1 -1
- package/dist/index.cjs268.js.map +1 -1
- package/dist/index.cjs269.js +1 -1
- package/dist/index.cjs269.js.map +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs270.js +1 -1
- package/dist/index.cjs270.js.map +1 -1
- package/dist/index.cjs271.js +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.cjs29.js +1 -1
- package/dist/index.cjs292.js +1 -1
- package/dist/index.cjs293.js +1 -1
- package/dist/index.cjs295.js +1 -1
- package/dist/index.cjs296.js +1 -1
- package/dist/index.cjs298.js +1 -1
- package/dist/index.cjs30.js +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs36.js +1 -1
- package/dist/index.cjs36.js.map +1 -1
- package/dist/index.cjs37.js +1 -1
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs39.js.map +1 -1
- package/dist/index.cjs40.js +1 -1
- package/dist/index.cjs40.js.map +1 -1
- package/dist/index.cjs41.js +1 -1
- package/dist/index.cjs41.js.map +1 -1
- package/dist/index.cjs42.js +1 -1
- package/dist/index.cjs42.js.map +1 -1
- package/dist/index.cjs43.js +1 -1
- package/dist/index.cjs43.js.map +1 -1
- package/dist/index.cjs44.js +1 -1
- package/dist/index.cjs44.js.map +1 -1
- package/dist/index.cjs45.js +1 -1
- package/dist/index.cjs45.js.map +1 -1
- package/dist/index.cjs46.js +1 -1
- package/dist/index.cjs46.js.map +1 -1
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs47.js.map +1 -1
- package/dist/index.cjs48.js +1 -1
- package/dist/index.cjs48.js.map +1 -1
- package/dist/index.cjs49.js +1 -1
- package/dist/index.cjs49.js.map +1 -1
- package/dist/index.cjs50.js +1 -1
- package/dist/index.cjs50.js.map +1 -1
- package/dist/index.cjs53.js +1 -1
- package/dist/index.cjs54.js +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs63.js.map +1 -1
- package/dist/index.cjs64.js +1 -1
- package/dist/index.cjs64.js.map +1 -1
- package/dist/index.cjs65.js +1 -1
- package/dist/index.cjs65.js.map +1 -1
- package/dist/index.cjs66.js +1 -1
- package/dist/index.cjs66.js.map +1 -1
- package/dist/index.cjs67.js +1 -1
- package/dist/index.cjs67.js.map +1 -1
- package/dist/index.cjs7.js +1 -1
- package/dist/index.cjs70.js +1 -1
- package/dist/index.cjs72.js +1 -1
- package/dist/index.cjs75.js +1 -1
- package/dist/index.cjs76.js +1 -1
- package/dist/index.cjs77.js +1 -1
- package/dist/index.cjs78.js +1 -1
- package/dist/index.cjs78.js.map +1 -1
- package/dist/index.cjs79.js +1 -1
- package/dist/index.cjs79.js.map +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs80.js +1 -1
- package/dist/index.cjs80.js.map +1 -1
- package/dist/index.cjs81.js +1 -1
- package/dist/index.cjs81.js.map +1 -1
- package/dist/index.cjs82.js +1 -1
- package/dist/index.cjs82.js.map +1 -1
- package/dist/index.cjs83.js +1 -1
- package/dist/index.cjs83.js.map +1 -1
- package/dist/index.cjs85.js +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.cjs92.js +1 -1
- package/dist/index.cjs93.js +1 -1
- package/dist/index.cjs94.js +1 -1
- package/dist/index.cjs95.js +1 -1
- package/dist/index.cjs96.js +1 -1
- package/dist/index.cjs97.js +1 -1
- package/dist/index.cjs98.js +1 -1
- package/dist/index.cjs99.js +1 -1
- package/dist/index.es100.js +1 -1
- package/dist/index.es103.js +1 -1
- package/dist/index.es104.js +1 -1
- package/dist/index.es106.js +3 -3
- package/dist/index.es107.js +1 -1
- package/dist/index.es108.js +2 -2
- package/dist/index.es109.js +1 -1
- package/dist/index.es11.js +2 -2
- package/dist/index.es114.js +1 -1
- package/dist/index.es115.js +1 -1
- package/dist/index.es116.js +1 -1
- package/dist/index.es117.js +1 -1
- package/dist/index.es12.js +2 -2
- package/dist/index.es120.js +2 -2
- package/dist/index.es121.js +2 -2
- package/dist/index.es122.js +1 -1
- package/dist/index.es126.js +2 -2
- package/dist/index.es129.js +1 -1
- package/dist/index.es13.js +2 -2
- package/dist/index.es133.js +1 -1
- package/dist/index.es136.js +1 -1
- package/dist/index.es144.js +1 -1
- package/dist/index.es145.js +1 -1
- package/dist/index.es146.js +1 -1
- package/dist/index.es147.js +2 -2
- package/dist/index.es148.js +1 -1
- package/dist/index.es149.js +1 -1
- package/dist/index.es15.js +1 -1
- package/dist/index.es150.js +1 -1
- package/dist/index.es152.js +2 -2
- package/dist/index.es153.js +2 -2
- package/dist/index.es154.js +1 -1
- package/dist/index.es155.js +1 -1
- package/dist/index.es156.js +1 -1
- package/dist/index.es157.js +1 -1
- package/dist/index.es158.js +2 -2
- package/dist/index.es159.js +2 -2
- package/dist/index.es16.js +2 -2
- package/dist/index.es160.js +1 -1
- package/dist/index.es163.js +2 -2
- package/dist/index.es164.js +2 -2
- package/dist/index.es166.js +2 -2
- package/dist/index.es167.js +1 -1
- package/dist/index.es168.js +2 -2
- package/dist/index.es169.js +1 -1
- package/dist/index.es17.js +2 -2
- package/dist/index.es170.js +2 -2
- package/dist/index.es171.js +1 -1
- package/dist/index.es172.js +1 -1
- package/dist/index.es173.js +1 -1
- package/dist/index.es179.js +1 -1
- package/dist/index.es180.js +2 -2
- package/dist/index.es181.js +1 -1
- package/dist/index.es182.js +1 -1
- package/dist/index.es183.js +1 -1
- package/dist/index.es186.js +15 -36
- package/dist/index.es186.js.map +1 -1
- package/dist/index.es187.js +52 -23
- package/dist/index.es187.js.map +1 -1
- package/dist/index.es188.js +49 -80
- package/dist/index.es188.js.map +1 -1
- package/dist/index.es189.js +1 -1
- package/dist/index.es19.js +1 -1
- package/dist/index.es193.js +3 -3
- package/dist/index.es194.js +4 -4
- package/dist/index.es195.js +1 -1
- package/dist/index.es197.js +1 -1
- package/dist/index.es198.js +5 -6
- package/dist/index.es198.js.map +1 -1
- package/dist/index.es199.js +6 -5
- package/dist/index.es199.js.map +1 -1
- package/dist/index.es20.js +1 -1
- package/dist/index.es200.js +5 -3
- package/dist/index.es200.js.map +1 -1
- package/dist/index.es201.js +3 -3
- package/dist/index.es201.js.map +1 -1
- package/dist/index.es202.js +3 -9
- package/dist/index.es202.js.map +1 -1
- package/dist/index.es203.js +9 -4
- package/dist/index.es203.js.map +1 -1
- package/dist/index.es204.js +4 -5
- package/dist/index.es204.js.map +1 -1
- package/dist/index.es205.js +9 -57
- package/dist/index.es205.js.map +1 -1
- package/dist/index.es206.js +9 -10
- package/dist/index.es206.js.map +1 -1
- package/dist/index.es207.js +6 -10
- package/dist/index.es207.js.map +1 -1
- package/dist/index.es208.js +8 -25
- package/dist/index.es208.js.map +1 -1
- package/dist/index.es209.js +7 -2
- package/dist/index.es209.js.map +1 -1
- package/dist/index.es21.js +1 -1
- package/dist/index.es210.js +5 -75
- package/dist/index.es210.js.map +1 -1
- package/dist/index.es211.js +14 -94
- package/dist/index.es211.js.map +1 -1
- package/dist/index.es212.js +5 -51
- package/dist/index.es212.js.map +1 -1
- package/dist/index.es213.js +6 -7
- package/dist/index.es213.js.map +1 -1
- package/dist/index.es214.js +6 -4
- package/dist/index.es214.js.map +1 -1
- package/dist/index.es215.js +6 -51
- package/dist/index.es215.js.map +1 -1
- package/dist/index.es218.js +56 -10
- package/dist/index.es218.js.map +1 -1
- package/dist/index.es219.js +10 -9
- package/dist/index.es219.js.map +1 -1
- package/dist/index.es220.js +10 -9
- package/dist/index.es220.js.map +1 -1
- package/dist/index.es221.js +25 -6
- package/dist/index.es221.js.map +1 -1
- package/dist/index.es222.js +7 -8
- package/dist/index.es222.js.map +1 -1
- package/dist/index.es223.js +4 -6
- package/dist/index.es223.js.map +1 -1
- package/dist/index.es224.js +4 -6
- package/dist/index.es224.js.map +1 -1
- package/dist/index.es225.js +3 -15
- package/dist/index.es225.js.map +1 -1
- package/dist/index.es226.js +3 -6
- package/dist/index.es226.js.map +1 -1
- package/dist/index.es227.js +8 -6
- package/dist/index.es227.js.map +1 -1
- package/dist/index.es228.js +18 -6
- package/dist/index.es228.js.map +1 -1
- package/dist/index.es229.js +20 -6
- package/dist/index.es229.js.map +1 -1
- package/dist/index.es230.js +12 -5
- package/dist/index.es230.js.map +1 -1
- package/dist/index.es231.js +13 -7
- package/dist/index.es231.js.map +1 -1
- package/dist/index.es232.js +5 -11
- package/dist/index.es232.js.map +1 -1
- package/dist/index.es233.js +6 -11
- package/dist/index.es233.js.map +1 -1
- package/dist/index.es234.js +6 -7
- package/dist/index.es234.js.map +1 -1
- package/dist/index.es235.js +21 -4
- package/dist/index.es235.js.map +1 -1
- package/dist/index.es236.js +10 -4
- package/dist/index.es236.js.map +1 -1
- package/dist/index.es237.js +9 -3
- package/dist/index.es237.js.map +1 -1
- package/dist/index.es238.js +4 -3
- package/dist/index.es238.js.map +1 -1
- package/dist/index.es239.js +10 -8
- package/dist/index.es239.js.map +1 -1
- package/dist/index.es240.js +7 -18
- package/dist/index.es240.js.map +1 -1
- package/dist/index.es241.js +20 -20
- package/dist/index.es241.js.map +1 -1
- package/dist/index.es242.js +9 -11
- package/dist/index.es242.js.map +1 -1
- package/dist/index.es243.js +16 -13
- package/dist/index.es243.js.map +1 -1
- package/dist/index.es244.js +4 -6
- package/dist/index.es244.js.map +1 -1
- package/dist/index.es245.js +17 -7
- package/dist/index.es245.js.map +1 -1
- package/dist/index.es246.js +11 -6
- package/dist/index.es246.js.map +1 -1
- package/dist/index.es247.js +3 -21
- package/dist/index.es247.js.map +1 -1
- package/dist/index.es248.js +4 -9
- package/dist/index.es248.js.map +1 -1
- package/dist/index.es249.js +2 -9
- package/dist/index.es249.js.map +1 -1
- package/dist/index.es25.js +2 -2
- package/dist/index.es250.js +76 -4
- package/dist/index.es250.js.map +1 -1
- package/dist/index.es251.js +94 -10
- package/dist/index.es251.js.map +1 -1
- package/dist/index.es252.js +51 -7
- package/dist/index.es252.js.map +1 -1
- package/dist/index.es253.js +7 -20
- package/dist/index.es253.js.map +1 -1
- package/dist/index.es254.js +4 -10
- package/dist/index.es254.js.map +1 -1
- package/dist/index.es255.js +50 -16
- package/dist/index.es255.js.map +1 -1
- package/dist/index.es256.js +12 -4
- package/dist/index.es256.js.map +1 -1
- package/dist/index.es257.js +5 -17
- package/dist/index.es257.js.map +1 -1
- package/dist/index.es258.js +3 -12
- package/dist/index.es258.js.map +1 -1
- package/dist/index.es259.js +6 -2
- package/dist/index.es259.js.map +1 -1
- package/dist/index.es26.js +3 -3
- package/dist/index.es260.js +5 -4
- package/dist/index.es260.js.map +1 -1
- package/dist/index.es261.js +9 -2
- package/dist/index.es261.js.map +1 -1
- package/dist/index.es262.js +12 -2
- package/dist/index.es262.js.map +1 -1
- package/dist/index.es263.js +12 -3
- package/dist/index.es263.js.map +1 -1
- package/dist/index.es264.js +2 -2
- package/dist/index.es264.js.map +1 -1
- package/dist/index.es265.js +2 -6
- package/dist/index.es265.js.map +1 -1
- package/dist/index.es266.js +29 -8
- package/dist/index.es266.js.map +1 -1
- package/dist/index.es267.js +34 -28
- package/dist/index.es267.js.map +1 -1
- package/dist/index.es268.js +9 -34
- package/dist/index.es268.js.map +1 -1
- package/dist/index.es269.js +4 -10
- package/dist/index.es269.js.map +1 -1
- package/dist/index.es27.js +1 -1
- package/dist/index.es270.js +8 -4
- package/dist/index.es270.js.map +1 -1
- package/dist/index.es271.js +4 -8
- package/dist/index.es271.js.map +1 -1
- package/dist/index.es272.js +2 -33
- package/dist/index.es272.js.map +1 -1
- package/dist/index.es273.js +5 -8
- package/dist/index.es273.js.map +1 -1
- package/dist/index.es274.js +7 -12
- package/dist/index.es274.js.map +1 -1
- package/dist/index.es275.js +31 -12
- package/dist/index.es275.js.map +1 -1
- package/dist/index.es276.js +11 -8
- package/dist/index.es276.js.map +1 -1
- package/dist/index.es277.js +13 -5
- package/dist/index.es277.js.map +1 -1
- package/dist/index.es278.js +9 -7
- package/dist/index.es278.js.map +1 -1
- package/dist/index.es279.js +9 -3
- package/dist/index.es279.js.map +1 -1
- package/dist/index.es280.js +68 -9
- package/dist/index.es280.js.map +1 -1
- package/dist/index.es281.js +17 -18
- package/dist/index.es281.js.map +1 -1
- package/dist/index.es282.js +6 -10
- package/dist/index.es282.js.map +1 -1
- package/dist/index.es283.js +2 -5
- package/dist/index.es283.js.map +1 -1
- package/dist/index.es284.js +5 -13
- package/dist/index.es284.js.map +1 -1
- package/dist/index.es285.js +13 -2
- package/dist/index.es285.js.map +1 -1
- package/dist/index.es286.js +2 -68
- package/dist/index.es286.js.map +1 -1
- package/dist/index.es287.js +9 -18
- package/dist/index.es287.js.map +1 -1
- package/dist/index.es288.js +18 -6
- package/dist/index.es288.js.map +1 -1
- package/dist/index.es289.js +11 -2
- package/dist/index.es289.js.map +1 -1
- package/dist/index.es29.js +1 -1
- package/dist/index.es292.js +1 -1
- package/dist/index.es293.js +1 -1
- package/dist/index.es295.js +3 -3
- package/dist/index.es296.js +1 -1
- package/dist/index.es298.js +1 -1
- package/dist/index.es30.js +1 -1
- package/dist/index.es32.js +1 -1
- package/dist/index.es34.js +4 -4
- package/dist/index.es35.js +2 -2
- package/dist/index.es36.js +5 -5
- package/dist/index.es37.js +11 -11
- package/dist/index.es39.js +2 -2
- package/dist/index.es40.js +3 -3
- package/dist/index.es41.js +3 -3
- package/dist/index.es42.js +3 -3
- package/dist/index.es43.js +3 -3
- package/dist/index.es44.js +3 -3
- package/dist/index.es45.js +3 -3
- package/dist/index.es46.js +3 -3
- package/dist/index.es47.js +3 -3
- package/dist/index.es48.js +3 -3
- package/dist/index.es49.js +3 -3
- package/dist/index.es50.js +3 -3
- package/dist/index.es53.js +2 -2
- package/dist/index.es54.js +3 -3
- package/dist/index.es63.js +5 -20
- package/dist/index.es63.js.map +1 -1
- package/dist/index.es64.js +30 -25
- package/dist/index.es64.js.map +1 -1
- package/dist/index.es65.js +95 -5
- package/dist/index.es65.js.map +1 -1
- package/dist/index.es66.js +19 -32
- package/dist/index.es66.js.map +1 -1
- package/dist/index.es67.js +21 -88
- package/dist/index.es67.js.map +1 -1
- package/dist/index.es7.js +1 -1
- package/dist/index.es70.js +1 -1
- package/dist/index.es72.js +1 -1
- package/dist/index.es75.js +1 -1
- package/dist/index.es76.js +4 -4
- package/dist/index.es77.js +5 -5
- package/dist/index.es78.js +36 -28
- package/dist/index.es78.js.map +1 -1
- package/dist/index.es79.js +21 -38
- package/dist/index.es79.js.map +1 -1
- package/dist/index.es8.js +1 -1
- package/dist/index.es80.js +83 -5
- package/dist/index.es80.js.map +1 -1
- package/dist/index.es81.js +5 -16
- package/dist/index.es81.js.map +1 -1
- package/dist/index.es82.js +28 -51
- package/dist/index.es82.js.map +1 -1
- package/dist/index.es83.js +38 -50
- package/dist/index.es83.js.map +1 -1
- package/dist/index.es85.js +1 -1
- package/dist/index.es9.js +2 -2
- package/dist/index.es92.js +1 -1
- package/dist/index.es93.js +1 -1
- package/dist/index.es94.js +1 -1
- package/dist/index.es95.js +1 -1
- package/dist/index.es96.js +1 -1
- package/dist/index.es97.js +1 -1
- package/dist/index.es98.js +1 -1
- package/dist/index.es99.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs197.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs272.js");function it(s,t){if(typeof s!="object"||s===null)return s;var e=s[Symbol.toPrimitive];if(e!==void 0){var i=e.call(s,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(s)}function ot(s){var t=it(s,"string");return typeof t=="symbol"?t:String(t)}function f(s,t,e){return t=ot(t),t in s?Object.defineProperty(s,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):s[t]=e,s}function V(s,t){var e=Object.keys(s);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(s);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(s,o).enumerable})),e.push.apply(e,i)}return e}function h(s){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{};t%2?V(Object(e),!0).forEach(function(i){f(s,i,e[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(e)):V(Object(e)).forEach(function(i){Object.defineProperty(s,i,Object.getOwnPropertyDescriptor(e,i))})}return s}const j={pointer:{start:"down",change:"move",end:"up"},mouse:{start:"down",change:"move",end:"up"},touch:{start:"start",change:"move",end:"end"},gesture:{start:"start",change:"change",end:"end"}};function P(s){return s?s[0].toUpperCase()+s.slice(1):""}const nt=["enter","leave"];function rt(s=!1,t){return s&&!nt.includes(t)}function at(s,t="",e=!1){const i=j[s],o=i&&i[t]||t;return"on"+P(s)+P(o)+(rt(e,o)?"Capture":"")}const ct=["gotpointercapture","lostpointercapture"];function ht(s){let t=s.substring(2).toLowerCase();const e=!!~t.indexOf("passive");e&&(t=t.replace("passive",""));const i=ct.includes(t)?"capturecapture":"capture",o=!!~t.indexOf(i);return o&&(t=t.replace("capture","")),{device:t,capture:o,passive:e}}function ut(s,t=""){const e=j[s],i=e&&e[t]||t;return s+i}function S(s){return"touches"in s}function H(s){return S(s)?"touch":"pointerType"in s?s.pointerType:"mouse"}function lt(s){return Array.from(s.touches).filter(t=>{var e,i;return t.target===s.currentTarget||((e=s.currentTarget)===null||e===void 0||(i=e.contains)===null||i===void 0?void 0:i.call(e,t.target))})}function ft(s){return s.type==="touchend"||s.type==="touchcancel"?s.changedTouches:s.targetTouches}function X(s){return S(s)?ft(s)[0]:s}function C(s,t){try{const e=t.clientX-s.clientX,i=t.clientY-s.clientY,o=(t.clientX+s.clientX)/2,n=(t.clientY+s.clientY)/2,r=Math.hypot(e,i);return{angle:-(Math.atan2(e,i)*180)/Math.PI,distance:r,origin:[o,n]}}catch{}return null}function dt(s){return lt(s).map(t=>t.identifier)}function M(s,t){const[e,i]=Array.from(s.touches).filter(o=>t.includes(o.identifier));return C(e,i)}function x(s){const t=X(s);return S(s)?t.identifier:t.pointerId}function _(s){const t=X(s);return[t.clientX,t.clientY]}const L=40,N=800;function W(s){let{deltaX:t,deltaY:e,deltaMode:i}=s;return i===1?(t*=L,e*=L):i===2&&(t*=N,e*=N),[t,e]}function pt(s){var t,e;const{scrollX:i,scrollY:o,scrollLeft:n,scrollTop:r}=s.currentTarget;return[(t=i??n)!==null&&t!==void 0?t:0,(e=o??r)!==null&&e!==void 0?e:0]}function mt(s){const t={};if("buttons"in s&&(t.buttons=s.buttons),"shiftKey"in s){const{shiftKey:e,altKey:i,metaKey:o,ctrlKey:n}=s;Object.assign(t,{shiftKey:e,altKey:i,metaKey:o,ctrlKey:n})}return t}function I(s,...t){return typeof s=="function"?s(...t):s}function gt(){}function _t(...s){return s.length===0?gt:s.length===1?s[0]:function(){let t;for(const e of s)t=e.apply(this,arguments)||t;return t}}function K(s,t){return Object.assign({},t,s||{})}const vt=32;class z{constructor(t,e,i){this.ctrl=t,this.args=e,this.key=i,this.state||(this.state={},this.computeValues([0,0]),this.computeInitial(),this.init&&this.init(),this.reset())}get state(){return this.ctrl.state[this.key]}set state(t){this.ctrl.state[this.key]=t}get shared(){return this.ctrl.state.shared}get eventStore(){return this.ctrl.gestureEventStores[this.key]}get timeoutStore(){return this.ctrl.gestureTimeoutStores[this.key]}get config(){return this.ctrl.config[this.key]}get sharedConfig(){return this.ctrl.config.shared}get handler(){return this.ctrl.handlers[this.key]}reset(){const{state:t,shared:e,ingKey:i,args:o}=this;e[i]=t._active=t.active=t._blocked=t._force=!1,t._step=[!1,!1],t.intentional=!1,t._movement=[0,0],t._distance=[0,0],t._direction=[0,0],t._delta=[0,0],t._bounds=[[-1/0,1/0],[-1/0,1/0]],t.args=o,t.axis=void 0,t.memo=void 0,t.elapsedTime=t.timeDelta=0,t.direction=[0,0],t.distance=[0,0],t.overflow=[0,0],t._movementBound=[!1,!1],t.velocity=[0,0],t.movement=[0,0],t.delta=[0,0],t.timeStamp=0}start(t){const e=this.state,i=this.config;e._active||(this.reset(),this.computeInitial(),e._active=!0,e.target=t.target,e.currentTarget=t.currentTarget,e.lastOffset=i.from?I(i.from,e):e.offset,e.offset=e.lastOffset,e.startTime=e.timeStamp=t.timeStamp)}computeValues(t){const e=this.state;e._values=t,e.values=this.config.transform(t)}computeInitial(){const t=this.state;t._initial=t._values,t.initial=t.values}compute(t){const{state:e,config:i,shared:o}=this;e.args=this.args;let n=0;if(t&&(e.event=t,i.preventDefault&&t.cancelable&&e.event.preventDefault(),e.type=t.type,o.touches=this.ctrl.pointerIds.size||this.ctrl.touchIds.size,o.locked=!!document.pointerLockElement,Object.assign(o,mt(t)),o.down=o.pressed=o.buttons%2===1||o.touches>0,n=t.timeStamp-e.timeStamp,e.timeStamp=t.timeStamp,e.elapsedTime=e.timeStamp-e.startTime),e._active){const m=e._delta.map(Math.abs);a.V.addTo(e._distance,m)}this.axisIntent&&this.axisIntent(t);const[r,u]=e._movement,[p,v]=i.threshold,{_step:c,values:y}=e;if(i.hasCustomTransform?(c[0]===!1&&(c[0]=Math.abs(r)>=p&&y[0]),c[1]===!1&&(c[1]=Math.abs(u)>=v&&y[1])):(c[0]===!1&&(c[0]=Math.abs(r)>=p&&Math.sign(r)*p),c[1]===!1&&(c[1]=Math.abs(u)>=v&&Math.sign(u)*v)),e.intentional=c[0]!==!1||c[1]!==!1,!e.intentional)return;const d=[0,0];if(i.hasCustomTransform){const[m,st]=y;d[0]=c[0]!==!1?m-c[0]:0,d[1]=c[1]!==!1?st-c[1]:0}else d[0]=c[0]!==!1?r-c[0]:0,d[1]=c[1]!==!1?u-c[1]:0;this.restrictToAxis&&!e._blocked&&this.restrictToAxis(d);const w=e.offset,T=e._active&&!e._blocked||e.active;T&&(e.first=e._active&&!e.active,e.last=!e._active&&e.active,e.active=o[this.ingKey]=e._active,t&&(e.first&&("bounds"in i&&(e._bounds=I(i.bounds,e)),this.setup&&this.setup()),e.movement=d,this.computeOffset()));const[D,A]=e.offset,[[k,Q],[Z,tt]]=e._bounds;e.overflow=[D<k?-1:D>Q?1:0,A<Z?-1:A>tt?1:0],e._movementBound[0]=e.overflow[0]?e._movementBound[0]===!1?e._movement[0]:e._movementBound[0]:!1,e._movementBound[1]=e.overflow[1]?e._movementBound[1]===!1?e._movement[1]:e._movementBound[1]:!1;const et=e._active?i.rubberband||[0,0]:[0,0];if(e.offset=a.c(e._bounds,e.offset,et),e.delta=a.V.sub(e.offset,w),this.computeMovement(),T&&(!e.last||n>vt)){e.delta=a.V.sub(e.offset,w);const m=e.delta.map(Math.abs);a.V.addTo(e.distance,m),e.direction=e.delta.map(Math.sign),e._direction=e._delta.map(Math.sign),!e.first&&n>0&&(e.velocity=[m[0]/n,m[1]/n],e.timeDelta=n)}}emit(){const t=this.state,e=this.shared,i=this.config;if(t._active||this.clean(),(t._blocked||!t.intentional)&&!t._force&&!i.triggerAllEvents)return;const o=this.handler(h(h(h({},e),t),{},{[this.aliasKey]:t.values}));o!==void 0&&(t.memo=o)}clean(){this.eventStore.clean(),this.timeoutStore.clean()}}function yt([s,t],e){const i=Math.abs(s),o=Math.abs(t);if(i>o&&i>e)return"x";if(o>i&&o>e)return"y"}class b extends z{constructor(...t){super(...t),f(this,"aliasKey","xy")}reset(){super.reset(),this.state.axis=void 0}init(){this.state.offset=[0,0],this.state.lastOffset=[0,0]}computeOffset(){this.state.offset=a.V.add(this.state.lastOffset,this.state.movement)}computeMovement(){this.state.movement=a.V.sub(this.state.offset,this.state.lastOffset)}axisIntent(t){const e=this.state,i=this.config;if(!e.axis&&t){const o=typeof i.axisThreshold=="object"?i.axisThreshold[H(t)]:i.axisThreshold;e.axis=yt(e._movement,o)}e._blocked=(i.lockDirection||!!i.axis)&&!e.axis||!!i.axis&&i.axis!==e.axis}restrictToAxis(t){if(this.config.axis||this.config.lockDirection)switch(this.state.axis){case"x":t[1]=0;break;case"y":t[0]=0;break}}}const R=s=>s,U=.15,O={enabled(s=!0){return s},eventOptions(s,t,e){return h(h({},e.shared.eventOptions),s)},preventDefault(s=!1){return s},triggerAllEvents(s=!1){return s},rubberband(s=0){switch(s){case!0:return[U,U];case!1:return[0,0];default:return a.V.toVector(s)}},from(s){if(typeof s=="function")return s;if(s!=null)return a.V.toVector(s)},transform(s,t,e){const i=s||e.shared.transform;if(this.hasCustomTransform=!!i,process.env.NODE_ENV==="development"){const o=i||R;return n=>{const r=o(n);return(!isFinite(r[0])||!isFinite(r[1]))&&console.warn(`[@use-gesture]: config.transform() must produce a valid result, but it was: [${r[0]},${[1]}]`),r}}return i||R},threshold(s){return a.V.toVector(s,0)}};process.env.NODE_ENV==="development"&&Object.assign(O,{domTarget(s){if(s!==void 0)throw Error("[@use-gesture]: `domTarget` option has been renamed to `target`.");return NaN},lockDirection(s){if(s!==void 0)throw Error("[@use-gesture]: `lockDirection` option has been merged with `axis`. Use it as in `{ axis: 'lock' }`");return NaN},initial(s){if(s!==void 0)throw Error("[@use-gesture]: `initial` option has been renamed to `from`.");return NaN}});const bt=0,g=h(h({},O),{},{axis(s,t,{axis:e}){if(this.lockDirection=e==="lock",!this.lockDirection)return e},axisThreshold(s=bt){return s},bounds(s={}){if(typeof s=="function")return n=>g.bounds(s(n));if("current"in s)return()=>s.current;if(typeof HTMLElement=="function"&&s instanceof HTMLElement)return s;const{left:t=-1/0,right:e=1/0,top:i=-1/0,bottom:o=1/0}=s;return[[t,e],[i,o]]}}),B={ArrowRight:(s,t=1)=>[s*t,0],ArrowLeft:(s,t=1)=>[-1*s*t,0],ArrowUp:(s,t=1)=>[0,-1*s*t],ArrowDown:(s,t=1)=>[0,s*t]};class Et extends b{constructor(...t){super(...t),f(this,"ingKey","dragging")}reset(){super.reset();const t=this.state;t._pointerId=void 0,t._pointerActive=!1,t._keyboardActive=!1,t._preventScroll=!1,t._delayed=!1,t.swipe=[0,0],t.tap=!1,t.canceled=!1,t.cancel=this.cancel.bind(this)}setup(){const t=this.state;if(t._bounds instanceof HTMLElement){const e=t._bounds.getBoundingClientRect(),i=t.currentTarget.getBoundingClientRect(),o={left:e.left-i.left+t.offset[0],right:e.right-i.right+t.offset[0],top:e.top-i.top+t.offset[1],bottom:e.bottom-i.bottom+t.offset[1]};t._bounds=g.bounds(o)}}cancel(){const t=this.state;t.canceled||(t.canceled=!0,t._active=!1,setTimeout(()=>{this.compute(),this.emit()},0))}setActive(){this.state._active=this.state._pointerActive||this.state._keyboardActive}clean(){this.pointerClean(),this.state._pointerActive=!1,this.state._keyboardActive=!1,super.clean()}pointerDown(t){const e=this.config,i=this.state;if(t.buttons!=null&&(Array.isArray(e.pointerButtons)?!e.pointerButtons.includes(t.buttons):e.pointerButtons!==-1&&e.pointerButtons!==t.buttons))return;const o=this.ctrl.setEventIds(t);e.pointerCapture&&t.target.setPointerCapture(t.pointerId),!(o&&o.size>1&&i._pointerActive)&&(this.start(t),this.setupPointer(t),i._pointerId=x(t),i._pointerActive=!0,this.computeValues(_(t)),this.computeInitial(),e.preventScrollAxis&&H(t)!=="mouse"?(i._active=!1,this.setupScrollPrevention(t)):e.delay>0?(this.setupDelayTrigger(t),e.triggerAllEvents&&(this.compute(t),this.emit())):this.startPointerDrag(t))}startPointerDrag(t){const e=this.state;e._active=!0,e._preventScroll=!0,e._delayed=!1,this.compute(t),this.emit()}pointerMove(t){const e=this.state,i=this.config;if(!e._pointerActive)return;const o=x(t);if(e._pointerId!==void 0&&o!==e._pointerId)return;const n=_(t);if(document.pointerLockElement===t.target?e._delta=[t.movementX,t.movementY]:(e._delta=a.V.sub(n,e._values),this.computeValues(n)),a.V.addTo(e._movement,e._delta),this.compute(t),e._delayed&&e.intentional){this.timeoutStore.remove("dragDelay"),e.active=!1,this.startPointerDrag(t);return}if(i.preventScrollAxis&&!e._preventScroll)if(e.axis)if(e.axis===i.preventScrollAxis||i.preventScrollAxis==="xy"){e._active=!1,this.clean();return}else{this.timeoutStore.remove("startPointerDrag"),this.startPointerDrag(t);return}else return;this.emit()}pointerUp(t){this.ctrl.setEventIds(t);try{this.config.pointerCapture&&t.target.hasPointerCapture(t.pointerId)&&t.target.releasePointerCapture(t.pointerId)}catch{process.env.NODE_ENV==="development"&&console.warn("[@use-gesture]: If you see this message, it's likely that you're using an outdated version of `@react-three/fiber`. \n\nPlease upgrade to the latest version.")}const e=this.state,i=this.config;if(!e._active||!e._pointerActive)return;const o=x(t);if(e._pointerId!==void 0&&o!==e._pointerId)return;this.state._pointerActive=!1,this.setActive(),this.compute(t);const[n,r]=e._distance;if(e.tap=n<=i.tapsThreshold&&r<=i.tapsThreshold,e.tap&&i.filterTaps)e._force=!0;else{const[u,p]=e._delta,[v,c]=e._movement,[y,d]=i.swipe.velocity,[w,T]=i.swipe.distance,D=i.swipe.duration;if(e.elapsedTime<D){const A=Math.abs(u/e.timeDelta),k=Math.abs(p/e.timeDelta);A>y&&Math.abs(v)>w&&(e.swipe[0]=Math.sign(u)),k>d&&Math.abs(c)>T&&(e.swipe[1]=Math.sign(p))}}this.emit()}pointerClick(t){!this.state.tap&&t.detail>0&&(t.preventDefault(),t.stopPropagation())}setupPointer(t){const e=this.config,i=e.device;if(process.env.NODE_ENV==="development")try{if(i==="pointer"&&e.preventScrollDelay===void 0){const o="uv"in t?t.sourceEvent.currentTarget:t.currentTarget;window.getComputedStyle(o).touchAction==="auto"&&console.warn("[@use-gesture]: The drag target has its `touch-action` style property set to `auto`. It is recommended to add `touch-action: 'none'` so that the drag gesture behaves correctly on touch-enabled devices. For more information read this: https://use-gesture.netlify.app/docs/extras/#touch-action.\n\nThis message will only show in development mode. It won't appear in production. If this is intended, you can ignore it.",o)}}catch{}e.pointerLock&&t.currentTarget.requestPointerLock(),e.pointerCapture||(this.eventStore.add(this.sharedConfig.window,i,"change",this.pointerMove.bind(this)),this.eventStore.add(this.sharedConfig.window,i,"end",this.pointerUp.bind(this)),this.eventStore.add(this.sharedConfig.window,i,"cancel",this.pointerUp.bind(this)))}pointerClean(){this.config.pointerLock&&document.pointerLockElement===this.state.currentTarget&&document.exitPointerLock()}preventScroll(t){this.state._preventScroll&&t.cancelable&&t.preventDefault()}setupScrollPrevention(t){this.state._preventScroll=!1,wt(t);const e=this.eventStore.add(this.sharedConfig.window,"touch","change",this.preventScroll.bind(this),{passive:!1});this.eventStore.add(this.sharedConfig.window,"touch","end",e),this.eventStore.add(this.sharedConfig.window,"touch","cancel",e),this.timeoutStore.add("startPointerDrag",this.startPointerDrag.bind(this),this.config.preventScrollDelay,t)}setupDelayTrigger(t){this.state._delayed=!0,this.timeoutStore.add("dragDelay",()=>{this.state._step=[0,0],this.startPointerDrag(t)},this.config.delay)}keyDown(t){const e=B[t.key];if(e){const i=this.state,o=t.shiftKey?10:t.altKey?.1:1;this.start(t),i._delta=e(this.config.keyboardDisplacement,o),i._keyboardActive=!0,a.V.addTo(i._movement,i._delta),this.compute(t),this.emit()}}keyUp(t){t.key in B&&(this.state._keyboardActive=!1,this.setActive(),this.compute(t),this.emit())}bind(t){const e=this.config.device;t(e,"start",this.pointerDown.bind(this)),this.config.pointerCapture&&(t(e,"change",this.pointerMove.bind(this)),t(e,"end",this.pointerUp.bind(this)),t(e,"cancel",this.pointerUp.bind(this)),t("lostPointerCapture","",this.pointerUp.bind(this))),this.config.keys&&(t("key","down",this.keyDown.bind(this)),t("key","up",this.keyUp.bind(this))),this.config.filterTaps&&t("click","",this.pointerClick.bind(this),{capture:!0,passive:!1})}}function wt(s){"persist"in s&&typeof s.persist=="function"&&s.persist()}const E=typeof window<"u"&&window.document&&window.document.createElement;function G(){return E&&"ontouchstart"in window}function Tt(){return G()||E&&window.navigator.maxTouchPoints>1}function Dt(){return E&&"onpointerdown"in window}function At(){return E&&"exitPointerLock"in window.document}function It(){try{return"constructor"in GestureEvent}catch{return!1}}const l={isBrowser:E,gesture:It(),touch:G(),touchscreen:Tt(),pointer:Dt(),pointerLock:At()},St=250,kt=180,xt=.5,Ct=50,Ot=250,Vt=10,Y={mouse:0,touch:0,pen:8},$=h(h({},g),{},{device(s,t,{pointer:{touch:e=!1,lock:i=!1,mouse:o=!1}={}}){return this.pointerLock=i&&l.pointerLock,l.touch&&e?"touch":this.pointerLock?"mouse":l.pointer&&!o?"pointer":l.touch?"touch":"mouse"},preventScrollAxis(s,t,{preventScroll:e}){if(this.preventScrollDelay=typeof e=="number"?e:e||e===void 0&&s?St:void 0,!(!l.touchscreen||e===!1))return s||(e!==void 0?"y":void 0)},pointerCapture(s,t,{pointer:{capture:e=!0,buttons:i=1,keys:o=!0}={}}){return this.pointerButtons=i,this.keys=o,!this.pointerLock&&this.device==="pointer"&&e},threshold(s,t,{filterTaps:e=!1,tapsThreshold:i=3,axis:o=void 0}){const n=a.V.toVector(s,e?i:o?1:0);return this.filterTaps=e,this.tapsThreshold=i,n},swipe({velocity:s=xt,distance:t=Ct,duration:e=Ot}={}){return{velocity:this.transform(a.V.toVector(s)),distance:this.transform(a.V.toVector(t)),duration:e}},delay(s=0){switch(s){case!0:return kt;case!1:return 0;default:return s}},axisThreshold(s){return s?h(h({},Y),s):Y},keyboardDisplacement(s=Vt){return s}});process.env.NODE_ENV==="development"&&Object.assign($,{useTouch(s){if(s!==void 0)throw Error("[@use-gesture]: `useTouch` option has been renamed to `pointer.touch`. Use it as in `{ pointer: { touch: true } }`.");return NaN},experimental_preventWindowScrollY(s){if(s!==void 0)throw Error("[@use-gesture]: `experimental_preventWindowScrollY` option has been renamed to `preventScroll`.");return NaN},swipeVelocity(s){if(s!==void 0)throw Error("[@use-gesture]: `swipeVelocity` option has been renamed to `swipe.velocity`. Use it as in `{ swipe: { velocity: 0.5 } }`.");return NaN},swipeDistance(s){if(s!==void 0)throw Error("[@use-gesture]: `swipeDistance` option has been renamed to `swipe.distance`. Use it as in `{ swipe: { distance: 50 } }`.");return NaN},swipeDuration(s){if(s!==void 0)throw Error("[@use-gesture]: `swipeDuration` option has been renamed to `swipe.duration`. Use it as in `{ swipe: { duration: 250 } }`.");return NaN}});function q(s){const[t,e]=s.overflow,[i,o]=s._delta,[n,r]=s._direction;(t<0&&i>0&&n<0||t>0&&i<0&&n>0)&&(s._movement[0]=s._movementBound[0]),(e<0&&o>0&&r<0||e>0&&o<0&&r>0)&&(s._movement[1]=s._movementBound[1])}const Pt=30,Mt=100;class Lt extends z{constructor(...t){super(...t),f(this,"ingKey","pinching"),f(this,"aliasKey","da")}init(){this.state.offset=[1,0],this.state.lastOffset=[1,0],this.state._pointerEvents=new Map}reset(){super.reset();const t=this.state;t._touchIds=[],t.canceled=!1,t.cancel=this.cancel.bind(this),t.turns=0}computeOffset(){const{type:t,movement:e,lastOffset:i}=this.state;t==="wheel"?this.state.offset=a.V.add(e,i):this.state.offset=[(1+e[0])*i[0],e[1]+i[1]]}computeMovement(){const{offset:t,lastOffset:e}=this.state;this.state.movement=[t[0]/e[0],t[1]-e[1]]}axisIntent(){const t=this.state,[e,i]=t._movement;if(!t.axis){const o=Math.abs(e)*Pt-Math.abs(i);o<0?t.axis="angle":o>0&&(t.axis="scale")}}restrictToAxis(t){this.config.lockDirection&&(this.state.axis==="scale"?t[1]=0:this.state.axis==="angle"&&(t[0]=0))}cancel(){const t=this.state;t.canceled||setTimeout(()=>{t.canceled=!0,t._active=!1,this.compute(),this.emit()},0)}touchStart(t){this.ctrl.setEventIds(t);const e=this.state,i=this.ctrl.touchIds;if(e._active&&e._touchIds.every(n=>i.has(n))||i.size<2)return;this.start(t),e._touchIds=Array.from(i).slice(0,2);const o=M(t,e._touchIds);o&&this.pinchStart(t,o)}pointerStart(t){if(t.buttons!=null&&t.buttons%2!==1)return;this.ctrl.setEventIds(t),t.target.setPointerCapture(t.pointerId);const e=this.state,i=e._pointerEvents,o=this.ctrl.pointerIds;if(e._active&&Array.from(i.keys()).every(r=>o.has(r))||(i.size<2&&i.set(t.pointerId,t),e._pointerEvents.size<2))return;this.start(t);const n=C(...Array.from(i.values()));n&&this.pinchStart(t,n)}pinchStart(t,e){const i=this.state;i.origin=e.origin,this.computeValues([e.distance,e.angle]),this.computeInitial(),this.compute(t),this.emit()}touchMove(t){if(!this.state._active)return;const e=M(t,this.state._touchIds);e&&this.pinchMove(t,e)}pointerMove(t){const e=this.state._pointerEvents;if(e.has(t.pointerId)&&e.set(t.pointerId,t),!this.state._active)return;const i=C(...Array.from(e.values()));i&&this.pinchMove(t,i)}pinchMove(t,e){const i=this.state,o=i._values[1],n=e.angle-o;let r=0;Math.abs(n)>270&&(r+=Math.sign(n)),this.computeValues([e.distance,e.angle-360*r]),i.origin=e.origin,i.turns=r,i._movement=[i._values[0]/i._initial[0]-1,i._values[1]-i._initial[1]],this.compute(t),this.emit()}touchEnd(t){this.ctrl.setEventIds(t),this.state._active&&this.state._touchIds.some(e=>!this.ctrl.touchIds.has(e))&&(this.state._active=!1,this.compute(t),this.emit())}pointerEnd(t){const e=this.state;this.ctrl.setEventIds(t);try{t.target.releasePointerCapture(t.pointerId)}catch{}e._pointerEvents.has(t.pointerId)&&e._pointerEvents.delete(t.pointerId),e._active&&e._pointerEvents.size<2&&(e._active=!1,this.compute(t),this.emit())}gestureStart(t){t.cancelable&&t.preventDefault();const e=this.state;e._active||(this.start(t),this.computeValues([t.scale,t.rotation]),e.origin=[t.clientX,t.clientY],this.compute(t),this.emit())}gestureMove(t){if(t.cancelable&&t.preventDefault(),!this.state._active)return;const e=this.state;this.computeValues([t.scale,t.rotation]),e.origin=[t.clientX,t.clientY];const i=e._movement;e._movement=[t.scale-1,t.rotation],e._delta=a.V.sub(e._movement,i),this.compute(t),this.emit()}gestureEnd(t){this.state._active&&(this.state._active=!1,this.compute(t),this.emit())}wheel(t){const e=this.config.modifierKey;e&&(Array.isArray(e)?!e.find(i=>t[i]):!t[e])||(this.state._active?this.wheelChange(t):this.wheelStart(t),this.timeoutStore.add("wheelEnd",this.wheelEnd.bind(this)))}wheelStart(t){this.start(t),this.wheelChange(t)}wheelChange(t){"uv"in t||(t.cancelable&&t.preventDefault(),process.env.NODE_ENV==="development"&&!t.defaultPrevented&&console.warn("[@use-gesture]: To properly support zoom on trackpads, try using the `target` option.\n\nThis message will only appear in development mode."));const i=this.state;i._delta=[-W(t)[1]/Mt*i.offset[0],0],a.V.addTo(i._movement,i._delta),q(i),this.state.origin=[t.clientX,t.clientY],this.compute(t),this.emit()}wheelEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(t){const e=this.config.device;e&&(t(e,"start",this[e+"Start"].bind(this)),t(e,"change",this[e+"Move"].bind(this)),t(e,"end",this[e+"End"].bind(this)),t(e,"cancel",this[e+"End"].bind(this)),t("lostPointerCapture","",this[e+"End"].bind(this))),this.config.pinchOnWheel&&t("wheel","",this.wheel.bind(this),{passive:!1})}}const Nt=h(h({},O),{},{device(s,t,{shared:e,pointer:{touch:i=!1}={}}){if(e.target&&!l.touch&&l.gesture)return"gesture";if(l.touch&&i)return"touch";if(l.touchscreen){if(l.pointer)return"pointer";if(l.touch)return"touch"}},bounds(s,t,{scaleBounds:e={},angleBounds:i={}}){const o=r=>{const u=K(I(e,r),{min:-1/0,max:1/0});return[u.min,u.max]},n=r=>{const u=K(I(i,r),{min:-1/0,max:1/0});return[u.min,u.max]};return typeof e!="function"&&typeof i!="function"?[o(),n()]:r=>[o(r),n(r)]},threshold(s,t,e){return this.lockDirection=e.axis==="lock",a.V.toVector(s,this.lockDirection?[.1,3]:0)},modifierKey(s){return s===void 0?"ctrlKey":s},pinchOnWheel(s=!0){return s}});class Kt extends b{constructor(...t){super(...t),f(this,"ingKey","moving")}move(t){this.config.mouseOnly&&t.pointerType!=="mouse"||(this.state._active?this.moveChange(t):this.moveStart(t),this.timeoutStore.add("moveEnd",this.moveEnd.bind(this)))}moveStart(t){this.start(t),this.computeValues(_(t)),this.compute(t),this.computeInitial(),this.emit()}moveChange(t){if(!this.state._active)return;const e=_(t),i=this.state;i._delta=a.V.sub(e,i._values),a.V.addTo(i._movement,i._delta),this.computeValues(e),this.compute(t),this.emit()}moveEnd(t){this.state._active&&(this.state._active=!1,this.compute(t),this.emit())}bind(t){t("pointer","change",this.move.bind(this)),t("pointer","leave",this.moveEnd.bind(this))}}const Rt=h(h({},g),{},{mouseOnly:(s=!0)=>s});class Ut extends b{constructor(...t){super(...t),f(this,"ingKey","scrolling")}scroll(t){this.state._active||this.start(t),this.scrollChange(t),this.timeoutStore.add("scrollEnd",this.scrollEnd.bind(this))}scrollChange(t){t.cancelable&&t.preventDefault();const e=this.state,i=pt(t);e._delta=a.V.sub(i,e._values),a.V.addTo(e._movement,e._delta),this.computeValues(i),this.compute(t),this.emit()}scrollEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(t){t("scroll","",this.scroll.bind(this))}}const Bt=g;class Yt extends b{constructor(...t){super(...t),f(this,"ingKey","wheeling")}wheel(t){this.state._active||this.start(t),this.wheelChange(t),this.timeoutStore.add("wheelEnd",this.wheelEnd.bind(this))}wheelChange(t){const e=this.state;e._delta=W(t),a.V.addTo(e._movement,e._delta),q(e),this.compute(t),this.emit()}wheelEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(t){t("wheel","",this.wheel.bind(this))}}const jt=g;class Ht extends b{constructor(...t){super(...t),f(this,"ingKey","hovering")}enter(t){this.config.mouseOnly&&t.pointerType!=="mouse"||(this.start(t),this.computeValues(_(t)),this.compute(t),this.emit())}leave(t){if(this.config.mouseOnly&&t.pointerType!=="mouse")return;const e=this.state;if(!e._active)return;e._active=!1;const i=_(t);e._movement=e._delta=a.V.sub(i,e._values),this.computeValues(i),this.compute(t),e.delta=e.movement,this.emit()}bind(t){t("pointer","enter",this.enter.bind(this)),t("pointer","leave",this.leave.bind(this))}}const Xt=h(h({},g),{},{mouseOnly:(s=!0)=>s}),F=new Map,J=new Map;function Wt(s){F.set(s.key,s.engine),J.set(s.key,s.resolver)}const zt={key:"drag",engine:Et,resolver:$},Gt={key:"hover",engine:Ht,resolver:Xt},$t={key:"move",engine:Kt,resolver:Rt},qt={key:"pinch",engine:Lt,resolver:Nt},Ft={key:"scroll",engine:Ut,resolver:Bt},Jt={key:"wheel",engine:Yt,resolver:jt};exports.C=J;exports.E=F;exports.S=l;exports._=h;exports.a=f;exports.b=dt;exports.c=_t;exports.d=at;exports.e=zt;exports.f=qt;exports.h=Gt;exports.i=S;exports.m=$t;exports.p=ht;exports.r=Wt;exports.s=Ft;exports.t=ut;exports.w=Jt;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs275.js");function it(s,t){if(typeof s!="object"||s===null)return s;var e=s[Symbol.toPrimitive];if(e!==void 0){var i=e.call(s,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(s)}function ot(s){var t=it(s,"string");return typeof t=="symbol"?t:String(t)}function f(s,t,e){return t=ot(t),t in s?Object.defineProperty(s,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):s[t]=e,s}function V(s,t){var e=Object.keys(s);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(s);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(s,o).enumerable})),e.push.apply(e,i)}return e}function h(s){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{};t%2?V(Object(e),!0).forEach(function(i){f(s,i,e[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(e)):V(Object(e)).forEach(function(i){Object.defineProperty(s,i,Object.getOwnPropertyDescriptor(e,i))})}return s}const j={pointer:{start:"down",change:"move",end:"up"},mouse:{start:"down",change:"move",end:"up"},touch:{start:"start",change:"move",end:"end"},gesture:{start:"start",change:"change",end:"end"}};function P(s){return s?s[0].toUpperCase()+s.slice(1):""}const nt=["enter","leave"];function rt(s=!1,t){return s&&!nt.includes(t)}function at(s,t="",e=!1){const i=j[s],o=i&&i[t]||t;return"on"+P(s)+P(o)+(rt(e,o)?"Capture":"")}const ct=["gotpointercapture","lostpointercapture"];function ht(s){let t=s.substring(2).toLowerCase();const e=!!~t.indexOf("passive");e&&(t=t.replace("passive",""));const i=ct.includes(t)?"capturecapture":"capture",o=!!~t.indexOf(i);return o&&(t=t.replace("capture","")),{device:t,capture:o,passive:e}}function ut(s,t=""){const e=j[s],i=e&&e[t]||t;return s+i}function S(s){return"touches"in s}function H(s){return S(s)?"touch":"pointerType"in s?s.pointerType:"mouse"}function lt(s){return Array.from(s.touches).filter(t=>{var e,i;return t.target===s.currentTarget||((e=s.currentTarget)===null||e===void 0||(i=e.contains)===null||i===void 0?void 0:i.call(e,t.target))})}function ft(s){return s.type==="touchend"||s.type==="touchcancel"?s.changedTouches:s.targetTouches}function X(s){return S(s)?ft(s)[0]:s}function C(s,t){try{const e=t.clientX-s.clientX,i=t.clientY-s.clientY,o=(t.clientX+s.clientX)/2,n=(t.clientY+s.clientY)/2,r=Math.hypot(e,i);return{angle:-(Math.atan2(e,i)*180)/Math.PI,distance:r,origin:[o,n]}}catch{}return null}function dt(s){return lt(s).map(t=>t.identifier)}function M(s,t){const[e,i]=Array.from(s.touches).filter(o=>t.includes(o.identifier));return C(e,i)}function x(s){const t=X(s);return S(s)?t.identifier:t.pointerId}function _(s){const t=X(s);return[t.clientX,t.clientY]}const L=40,N=800;function W(s){let{deltaX:t,deltaY:e,deltaMode:i}=s;return i===1?(t*=L,e*=L):i===2&&(t*=N,e*=N),[t,e]}function pt(s){var t,e;const{scrollX:i,scrollY:o,scrollLeft:n,scrollTop:r}=s.currentTarget;return[(t=i??n)!==null&&t!==void 0?t:0,(e=o??r)!==null&&e!==void 0?e:0]}function mt(s){const t={};if("buttons"in s&&(t.buttons=s.buttons),"shiftKey"in s){const{shiftKey:e,altKey:i,metaKey:o,ctrlKey:n}=s;Object.assign(t,{shiftKey:e,altKey:i,metaKey:o,ctrlKey:n})}return t}function I(s,...t){return typeof s=="function"?s(...t):s}function gt(){}function _t(...s){return s.length===0?gt:s.length===1?s[0]:function(){let t;for(const e of s)t=e.apply(this,arguments)||t;return t}}function K(s,t){return Object.assign({},t,s||{})}const vt=32;class z{constructor(t,e,i){this.ctrl=t,this.args=e,this.key=i,this.state||(this.state={},this.computeValues([0,0]),this.computeInitial(),this.init&&this.init(),this.reset())}get state(){return this.ctrl.state[this.key]}set state(t){this.ctrl.state[this.key]=t}get shared(){return this.ctrl.state.shared}get eventStore(){return this.ctrl.gestureEventStores[this.key]}get timeoutStore(){return this.ctrl.gestureTimeoutStores[this.key]}get config(){return this.ctrl.config[this.key]}get sharedConfig(){return this.ctrl.config.shared}get handler(){return this.ctrl.handlers[this.key]}reset(){const{state:t,shared:e,ingKey:i,args:o}=this;e[i]=t._active=t.active=t._blocked=t._force=!1,t._step=[!1,!1],t.intentional=!1,t._movement=[0,0],t._distance=[0,0],t._direction=[0,0],t._delta=[0,0],t._bounds=[[-1/0,1/0],[-1/0,1/0]],t.args=o,t.axis=void 0,t.memo=void 0,t.elapsedTime=t.timeDelta=0,t.direction=[0,0],t.distance=[0,0],t.overflow=[0,0],t._movementBound=[!1,!1],t.velocity=[0,0],t.movement=[0,0],t.delta=[0,0],t.timeStamp=0}start(t){const e=this.state,i=this.config;e._active||(this.reset(),this.computeInitial(),e._active=!0,e.target=t.target,e.currentTarget=t.currentTarget,e.lastOffset=i.from?I(i.from,e):e.offset,e.offset=e.lastOffset,e.startTime=e.timeStamp=t.timeStamp)}computeValues(t){const e=this.state;e._values=t,e.values=this.config.transform(t)}computeInitial(){const t=this.state;t._initial=t._values,t.initial=t.values}compute(t){const{state:e,config:i,shared:o}=this;e.args=this.args;let n=0;if(t&&(e.event=t,i.preventDefault&&t.cancelable&&e.event.preventDefault(),e.type=t.type,o.touches=this.ctrl.pointerIds.size||this.ctrl.touchIds.size,o.locked=!!document.pointerLockElement,Object.assign(o,mt(t)),o.down=o.pressed=o.buttons%2===1||o.touches>0,n=t.timeStamp-e.timeStamp,e.timeStamp=t.timeStamp,e.elapsedTime=e.timeStamp-e.startTime),e._active){const m=e._delta.map(Math.abs);a.V.addTo(e._distance,m)}this.axisIntent&&this.axisIntent(t);const[r,u]=e._movement,[p,v]=i.threshold,{_step:c,values:y}=e;if(i.hasCustomTransform?(c[0]===!1&&(c[0]=Math.abs(r)>=p&&y[0]),c[1]===!1&&(c[1]=Math.abs(u)>=v&&y[1])):(c[0]===!1&&(c[0]=Math.abs(r)>=p&&Math.sign(r)*p),c[1]===!1&&(c[1]=Math.abs(u)>=v&&Math.sign(u)*v)),e.intentional=c[0]!==!1||c[1]!==!1,!e.intentional)return;const d=[0,0];if(i.hasCustomTransform){const[m,st]=y;d[0]=c[0]!==!1?m-c[0]:0,d[1]=c[1]!==!1?st-c[1]:0}else d[0]=c[0]!==!1?r-c[0]:0,d[1]=c[1]!==!1?u-c[1]:0;this.restrictToAxis&&!e._blocked&&this.restrictToAxis(d);const w=e.offset,T=e._active&&!e._blocked||e.active;T&&(e.first=e._active&&!e.active,e.last=!e._active&&e.active,e.active=o[this.ingKey]=e._active,t&&(e.first&&("bounds"in i&&(e._bounds=I(i.bounds,e)),this.setup&&this.setup()),e.movement=d,this.computeOffset()));const[D,A]=e.offset,[[k,Q],[Z,tt]]=e._bounds;e.overflow=[D<k?-1:D>Q?1:0,A<Z?-1:A>tt?1:0],e._movementBound[0]=e.overflow[0]?e._movementBound[0]===!1?e._movement[0]:e._movementBound[0]:!1,e._movementBound[1]=e.overflow[1]?e._movementBound[1]===!1?e._movement[1]:e._movementBound[1]:!1;const et=e._active?i.rubberband||[0,0]:[0,0];if(e.offset=a.c(e._bounds,e.offset,et),e.delta=a.V.sub(e.offset,w),this.computeMovement(),T&&(!e.last||n>vt)){e.delta=a.V.sub(e.offset,w);const m=e.delta.map(Math.abs);a.V.addTo(e.distance,m),e.direction=e.delta.map(Math.sign),e._direction=e._delta.map(Math.sign),!e.first&&n>0&&(e.velocity=[m[0]/n,m[1]/n],e.timeDelta=n)}}emit(){const t=this.state,e=this.shared,i=this.config;if(t._active||this.clean(),(t._blocked||!t.intentional)&&!t._force&&!i.triggerAllEvents)return;const o=this.handler(h(h(h({},e),t),{},{[this.aliasKey]:t.values}));o!==void 0&&(t.memo=o)}clean(){this.eventStore.clean(),this.timeoutStore.clean()}}function yt([s,t],e){const i=Math.abs(s),o=Math.abs(t);if(i>o&&i>e)return"x";if(o>i&&o>e)return"y"}class b extends z{constructor(...t){super(...t),f(this,"aliasKey","xy")}reset(){super.reset(),this.state.axis=void 0}init(){this.state.offset=[0,0],this.state.lastOffset=[0,0]}computeOffset(){this.state.offset=a.V.add(this.state.lastOffset,this.state.movement)}computeMovement(){this.state.movement=a.V.sub(this.state.offset,this.state.lastOffset)}axisIntent(t){const e=this.state,i=this.config;if(!e.axis&&t){const o=typeof i.axisThreshold=="object"?i.axisThreshold[H(t)]:i.axisThreshold;e.axis=yt(e._movement,o)}e._blocked=(i.lockDirection||!!i.axis)&&!e.axis||!!i.axis&&i.axis!==e.axis}restrictToAxis(t){if(this.config.axis||this.config.lockDirection)switch(this.state.axis){case"x":t[1]=0;break;case"y":t[0]=0;break}}}const R=s=>s,U=.15,O={enabled(s=!0){return s},eventOptions(s,t,e){return h(h({},e.shared.eventOptions),s)},preventDefault(s=!1){return s},triggerAllEvents(s=!1){return s},rubberband(s=0){switch(s){case!0:return[U,U];case!1:return[0,0];default:return a.V.toVector(s)}},from(s){if(typeof s=="function")return s;if(s!=null)return a.V.toVector(s)},transform(s,t,e){const i=s||e.shared.transform;if(this.hasCustomTransform=!!i,process.env.NODE_ENV==="development"){const o=i||R;return n=>{const r=o(n);return(!isFinite(r[0])||!isFinite(r[1]))&&console.warn(`[@use-gesture]: config.transform() must produce a valid result, but it was: [${r[0]},${[1]}]`),r}}return i||R},threshold(s){return a.V.toVector(s,0)}};process.env.NODE_ENV==="development"&&Object.assign(O,{domTarget(s){if(s!==void 0)throw Error("[@use-gesture]: `domTarget` option has been renamed to `target`.");return NaN},lockDirection(s){if(s!==void 0)throw Error("[@use-gesture]: `lockDirection` option has been merged with `axis`. Use it as in `{ axis: 'lock' }`");return NaN},initial(s){if(s!==void 0)throw Error("[@use-gesture]: `initial` option has been renamed to `from`.");return NaN}});const bt=0,g=h(h({},O),{},{axis(s,t,{axis:e}){if(this.lockDirection=e==="lock",!this.lockDirection)return e},axisThreshold(s=bt){return s},bounds(s={}){if(typeof s=="function")return n=>g.bounds(s(n));if("current"in s)return()=>s.current;if(typeof HTMLElement=="function"&&s instanceof HTMLElement)return s;const{left:t=-1/0,right:e=1/0,top:i=-1/0,bottom:o=1/0}=s;return[[t,e],[i,o]]}}),B={ArrowRight:(s,t=1)=>[s*t,0],ArrowLeft:(s,t=1)=>[-1*s*t,0],ArrowUp:(s,t=1)=>[0,-1*s*t],ArrowDown:(s,t=1)=>[0,s*t]};class Et extends b{constructor(...t){super(...t),f(this,"ingKey","dragging")}reset(){super.reset();const t=this.state;t._pointerId=void 0,t._pointerActive=!1,t._keyboardActive=!1,t._preventScroll=!1,t._delayed=!1,t.swipe=[0,0],t.tap=!1,t.canceled=!1,t.cancel=this.cancel.bind(this)}setup(){const t=this.state;if(t._bounds instanceof HTMLElement){const e=t._bounds.getBoundingClientRect(),i=t.currentTarget.getBoundingClientRect(),o={left:e.left-i.left+t.offset[0],right:e.right-i.right+t.offset[0],top:e.top-i.top+t.offset[1],bottom:e.bottom-i.bottom+t.offset[1]};t._bounds=g.bounds(o)}}cancel(){const t=this.state;t.canceled||(t.canceled=!0,t._active=!1,setTimeout(()=>{this.compute(),this.emit()},0))}setActive(){this.state._active=this.state._pointerActive||this.state._keyboardActive}clean(){this.pointerClean(),this.state._pointerActive=!1,this.state._keyboardActive=!1,super.clean()}pointerDown(t){const e=this.config,i=this.state;if(t.buttons!=null&&(Array.isArray(e.pointerButtons)?!e.pointerButtons.includes(t.buttons):e.pointerButtons!==-1&&e.pointerButtons!==t.buttons))return;const o=this.ctrl.setEventIds(t);e.pointerCapture&&t.target.setPointerCapture(t.pointerId),!(o&&o.size>1&&i._pointerActive)&&(this.start(t),this.setupPointer(t),i._pointerId=x(t),i._pointerActive=!0,this.computeValues(_(t)),this.computeInitial(),e.preventScrollAxis&&H(t)!=="mouse"?(i._active=!1,this.setupScrollPrevention(t)):e.delay>0?(this.setupDelayTrigger(t),e.triggerAllEvents&&(this.compute(t),this.emit())):this.startPointerDrag(t))}startPointerDrag(t){const e=this.state;e._active=!0,e._preventScroll=!0,e._delayed=!1,this.compute(t),this.emit()}pointerMove(t){const e=this.state,i=this.config;if(!e._pointerActive)return;const o=x(t);if(e._pointerId!==void 0&&o!==e._pointerId)return;const n=_(t);if(document.pointerLockElement===t.target?e._delta=[t.movementX,t.movementY]:(e._delta=a.V.sub(n,e._values),this.computeValues(n)),a.V.addTo(e._movement,e._delta),this.compute(t),e._delayed&&e.intentional){this.timeoutStore.remove("dragDelay"),e.active=!1,this.startPointerDrag(t);return}if(i.preventScrollAxis&&!e._preventScroll)if(e.axis)if(e.axis===i.preventScrollAxis||i.preventScrollAxis==="xy"){e._active=!1,this.clean();return}else{this.timeoutStore.remove("startPointerDrag"),this.startPointerDrag(t);return}else return;this.emit()}pointerUp(t){this.ctrl.setEventIds(t);try{this.config.pointerCapture&&t.target.hasPointerCapture(t.pointerId)&&t.target.releasePointerCapture(t.pointerId)}catch{process.env.NODE_ENV==="development"&&console.warn("[@use-gesture]: If you see this message, it's likely that you're using an outdated version of `@react-three/fiber`. \n\nPlease upgrade to the latest version.")}const e=this.state,i=this.config;if(!e._active||!e._pointerActive)return;const o=x(t);if(e._pointerId!==void 0&&o!==e._pointerId)return;this.state._pointerActive=!1,this.setActive(),this.compute(t);const[n,r]=e._distance;if(e.tap=n<=i.tapsThreshold&&r<=i.tapsThreshold,e.tap&&i.filterTaps)e._force=!0;else{const[u,p]=e._delta,[v,c]=e._movement,[y,d]=i.swipe.velocity,[w,T]=i.swipe.distance,D=i.swipe.duration;if(e.elapsedTime<D){const A=Math.abs(u/e.timeDelta),k=Math.abs(p/e.timeDelta);A>y&&Math.abs(v)>w&&(e.swipe[0]=Math.sign(u)),k>d&&Math.abs(c)>T&&(e.swipe[1]=Math.sign(p))}}this.emit()}pointerClick(t){!this.state.tap&&t.detail>0&&(t.preventDefault(),t.stopPropagation())}setupPointer(t){const e=this.config,i=e.device;if(process.env.NODE_ENV==="development")try{if(i==="pointer"&&e.preventScrollDelay===void 0){const o="uv"in t?t.sourceEvent.currentTarget:t.currentTarget;window.getComputedStyle(o).touchAction==="auto"&&console.warn("[@use-gesture]: The drag target has its `touch-action` style property set to `auto`. It is recommended to add `touch-action: 'none'` so that the drag gesture behaves correctly on touch-enabled devices. For more information read this: https://use-gesture.netlify.app/docs/extras/#touch-action.\n\nThis message will only show in development mode. It won't appear in production. If this is intended, you can ignore it.",o)}}catch{}e.pointerLock&&t.currentTarget.requestPointerLock(),e.pointerCapture||(this.eventStore.add(this.sharedConfig.window,i,"change",this.pointerMove.bind(this)),this.eventStore.add(this.sharedConfig.window,i,"end",this.pointerUp.bind(this)),this.eventStore.add(this.sharedConfig.window,i,"cancel",this.pointerUp.bind(this)))}pointerClean(){this.config.pointerLock&&document.pointerLockElement===this.state.currentTarget&&document.exitPointerLock()}preventScroll(t){this.state._preventScroll&&t.cancelable&&t.preventDefault()}setupScrollPrevention(t){this.state._preventScroll=!1,wt(t);const e=this.eventStore.add(this.sharedConfig.window,"touch","change",this.preventScroll.bind(this),{passive:!1});this.eventStore.add(this.sharedConfig.window,"touch","end",e),this.eventStore.add(this.sharedConfig.window,"touch","cancel",e),this.timeoutStore.add("startPointerDrag",this.startPointerDrag.bind(this),this.config.preventScrollDelay,t)}setupDelayTrigger(t){this.state._delayed=!0,this.timeoutStore.add("dragDelay",()=>{this.state._step=[0,0],this.startPointerDrag(t)},this.config.delay)}keyDown(t){const e=B[t.key];if(e){const i=this.state,o=t.shiftKey?10:t.altKey?.1:1;this.start(t),i._delta=e(this.config.keyboardDisplacement,o),i._keyboardActive=!0,a.V.addTo(i._movement,i._delta),this.compute(t),this.emit()}}keyUp(t){t.key in B&&(this.state._keyboardActive=!1,this.setActive(),this.compute(t),this.emit())}bind(t){const e=this.config.device;t(e,"start",this.pointerDown.bind(this)),this.config.pointerCapture&&(t(e,"change",this.pointerMove.bind(this)),t(e,"end",this.pointerUp.bind(this)),t(e,"cancel",this.pointerUp.bind(this)),t("lostPointerCapture","",this.pointerUp.bind(this))),this.config.keys&&(t("key","down",this.keyDown.bind(this)),t("key","up",this.keyUp.bind(this))),this.config.filterTaps&&t("click","",this.pointerClick.bind(this),{capture:!0,passive:!1})}}function wt(s){"persist"in s&&typeof s.persist=="function"&&s.persist()}const E=typeof window<"u"&&window.document&&window.document.createElement;function G(){return E&&"ontouchstart"in window}function Tt(){return G()||E&&window.navigator.maxTouchPoints>1}function Dt(){return E&&"onpointerdown"in window}function At(){return E&&"exitPointerLock"in window.document}function It(){try{return"constructor"in GestureEvent}catch{return!1}}const l={isBrowser:E,gesture:It(),touch:G(),touchscreen:Tt(),pointer:Dt(),pointerLock:At()},St=250,kt=180,xt=.5,Ct=50,Ot=250,Vt=10,Y={mouse:0,touch:0,pen:8},$=h(h({},g),{},{device(s,t,{pointer:{touch:e=!1,lock:i=!1,mouse:o=!1}={}}){return this.pointerLock=i&&l.pointerLock,l.touch&&e?"touch":this.pointerLock?"mouse":l.pointer&&!o?"pointer":l.touch?"touch":"mouse"},preventScrollAxis(s,t,{preventScroll:e}){if(this.preventScrollDelay=typeof e=="number"?e:e||e===void 0&&s?St:void 0,!(!l.touchscreen||e===!1))return s||(e!==void 0?"y":void 0)},pointerCapture(s,t,{pointer:{capture:e=!0,buttons:i=1,keys:o=!0}={}}){return this.pointerButtons=i,this.keys=o,!this.pointerLock&&this.device==="pointer"&&e},threshold(s,t,{filterTaps:e=!1,tapsThreshold:i=3,axis:o=void 0}){const n=a.V.toVector(s,e?i:o?1:0);return this.filterTaps=e,this.tapsThreshold=i,n},swipe({velocity:s=xt,distance:t=Ct,duration:e=Ot}={}){return{velocity:this.transform(a.V.toVector(s)),distance:this.transform(a.V.toVector(t)),duration:e}},delay(s=0){switch(s){case!0:return kt;case!1:return 0;default:return s}},axisThreshold(s){return s?h(h({},Y),s):Y},keyboardDisplacement(s=Vt){return s}});process.env.NODE_ENV==="development"&&Object.assign($,{useTouch(s){if(s!==void 0)throw Error("[@use-gesture]: `useTouch` option has been renamed to `pointer.touch`. Use it as in `{ pointer: { touch: true } }`.");return NaN},experimental_preventWindowScrollY(s){if(s!==void 0)throw Error("[@use-gesture]: `experimental_preventWindowScrollY` option has been renamed to `preventScroll`.");return NaN},swipeVelocity(s){if(s!==void 0)throw Error("[@use-gesture]: `swipeVelocity` option has been renamed to `swipe.velocity`. Use it as in `{ swipe: { velocity: 0.5 } }`.");return NaN},swipeDistance(s){if(s!==void 0)throw Error("[@use-gesture]: `swipeDistance` option has been renamed to `swipe.distance`. Use it as in `{ swipe: { distance: 50 } }`.");return NaN},swipeDuration(s){if(s!==void 0)throw Error("[@use-gesture]: `swipeDuration` option has been renamed to `swipe.duration`. Use it as in `{ swipe: { duration: 250 } }`.");return NaN}});function q(s){const[t,e]=s.overflow,[i,o]=s._delta,[n,r]=s._direction;(t<0&&i>0&&n<0||t>0&&i<0&&n>0)&&(s._movement[0]=s._movementBound[0]),(e<0&&o>0&&r<0||e>0&&o<0&&r>0)&&(s._movement[1]=s._movementBound[1])}const Pt=30,Mt=100;class Lt extends z{constructor(...t){super(...t),f(this,"ingKey","pinching"),f(this,"aliasKey","da")}init(){this.state.offset=[1,0],this.state.lastOffset=[1,0],this.state._pointerEvents=new Map}reset(){super.reset();const t=this.state;t._touchIds=[],t.canceled=!1,t.cancel=this.cancel.bind(this),t.turns=0}computeOffset(){const{type:t,movement:e,lastOffset:i}=this.state;t==="wheel"?this.state.offset=a.V.add(e,i):this.state.offset=[(1+e[0])*i[0],e[1]+i[1]]}computeMovement(){const{offset:t,lastOffset:e}=this.state;this.state.movement=[t[0]/e[0],t[1]-e[1]]}axisIntent(){const t=this.state,[e,i]=t._movement;if(!t.axis){const o=Math.abs(e)*Pt-Math.abs(i);o<0?t.axis="angle":o>0&&(t.axis="scale")}}restrictToAxis(t){this.config.lockDirection&&(this.state.axis==="scale"?t[1]=0:this.state.axis==="angle"&&(t[0]=0))}cancel(){const t=this.state;t.canceled||setTimeout(()=>{t.canceled=!0,t._active=!1,this.compute(),this.emit()},0)}touchStart(t){this.ctrl.setEventIds(t);const e=this.state,i=this.ctrl.touchIds;if(e._active&&e._touchIds.every(n=>i.has(n))||i.size<2)return;this.start(t),e._touchIds=Array.from(i).slice(0,2);const o=M(t,e._touchIds);o&&this.pinchStart(t,o)}pointerStart(t){if(t.buttons!=null&&t.buttons%2!==1)return;this.ctrl.setEventIds(t),t.target.setPointerCapture(t.pointerId);const e=this.state,i=e._pointerEvents,o=this.ctrl.pointerIds;if(e._active&&Array.from(i.keys()).every(r=>o.has(r))||(i.size<2&&i.set(t.pointerId,t),e._pointerEvents.size<2))return;this.start(t);const n=C(...Array.from(i.values()));n&&this.pinchStart(t,n)}pinchStart(t,e){const i=this.state;i.origin=e.origin,this.computeValues([e.distance,e.angle]),this.computeInitial(),this.compute(t),this.emit()}touchMove(t){if(!this.state._active)return;const e=M(t,this.state._touchIds);e&&this.pinchMove(t,e)}pointerMove(t){const e=this.state._pointerEvents;if(e.has(t.pointerId)&&e.set(t.pointerId,t),!this.state._active)return;const i=C(...Array.from(e.values()));i&&this.pinchMove(t,i)}pinchMove(t,e){const i=this.state,o=i._values[1],n=e.angle-o;let r=0;Math.abs(n)>270&&(r+=Math.sign(n)),this.computeValues([e.distance,e.angle-360*r]),i.origin=e.origin,i.turns=r,i._movement=[i._values[0]/i._initial[0]-1,i._values[1]-i._initial[1]],this.compute(t),this.emit()}touchEnd(t){this.ctrl.setEventIds(t),this.state._active&&this.state._touchIds.some(e=>!this.ctrl.touchIds.has(e))&&(this.state._active=!1,this.compute(t),this.emit())}pointerEnd(t){const e=this.state;this.ctrl.setEventIds(t);try{t.target.releasePointerCapture(t.pointerId)}catch{}e._pointerEvents.has(t.pointerId)&&e._pointerEvents.delete(t.pointerId),e._active&&e._pointerEvents.size<2&&(e._active=!1,this.compute(t),this.emit())}gestureStart(t){t.cancelable&&t.preventDefault();const e=this.state;e._active||(this.start(t),this.computeValues([t.scale,t.rotation]),e.origin=[t.clientX,t.clientY],this.compute(t),this.emit())}gestureMove(t){if(t.cancelable&&t.preventDefault(),!this.state._active)return;const e=this.state;this.computeValues([t.scale,t.rotation]),e.origin=[t.clientX,t.clientY];const i=e._movement;e._movement=[t.scale-1,t.rotation],e._delta=a.V.sub(e._movement,i),this.compute(t),this.emit()}gestureEnd(t){this.state._active&&(this.state._active=!1,this.compute(t),this.emit())}wheel(t){const e=this.config.modifierKey;e&&(Array.isArray(e)?!e.find(i=>t[i]):!t[e])||(this.state._active?this.wheelChange(t):this.wheelStart(t),this.timeoutStore.add("wheelEnd",this.wheelEnd.bind(this)))}wheelStart(t){this.start(t),this.wheelChange(t)}wheelChange(t){"uv"in t||(t.cancelable&&t.preventDefault(),process.env.NODE_ENV==="development"&&!t.defaultPrevented&&console.warn("[@use-gesture]: To properly support zoom on trackpads, try using the `target` option.\n\nThis message will only appear in development mode."));const i=this.state;i._delta=[-W(t)[1]/Mt*i.offset[0],0],a.V.addTo(i._movement,i._delta),q(i),this.state.origin=[t.clientX,t.clientY],this.compute(t),this.emit()}wheelEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(t){const e=this.config.device;e&&(t(e,"start",this[e+"Start"].bind(this)),t(e,"change",this[e+"Move"].bind(this)),t(e,"end",this[e+"End"].bind(this)),t(e,"cancel",this[e+"End"].bind(this)),t("lostPointerCapture","",this[e+"End"].bind(this))),this.config.pinchOnWheel&&t("wheel","",this.wheel.bind(this),{passive:!1})}}const Nt=h(h({},O),{},{device(s,t,{shared:e,pointer:{touch:i=!1}={}}){if(e.target&&!l.touch&&l.gesture)return"gesture";if(l.touch&&i)return"touch";if(l.touchscreen){if(l.pointer)return"pointer";if(l.touch)return"touch"}},bounds(s,t,{scaleBounds:e={},angleBounds:i={}}){const o=r=>{const u=K(I(e,r),{min:-1/0,max:1/0});return[u.min,u.max]},n=r=>{const u=K(I(i,r),{min:-1/0,max:1/0});return[u.min,u.max]};return typeof e!="function"&&typeof i!="function"?[o(),n()]:r=>[o(r),n(r)]},threshold(s,t,e){return this.lockDirection=e.axis==="lock",a.V.toVector(s,this.lockDirection?[.1,3]:0)},modifierKey(s){return s===void 0?"ctrlKey":s},pinchOnWheel(s=!0){return s}});class Kt extends b{constructor(...t){super(...t),f(this,"ingKey","moving")}move(t){this.config.mouseOnly&&t.pointerType!=="mouse"||(this.state._active?this.moveChange(t):this.moveStart(t),this.timeoutStore.add("moveEnd",this.moveEnd.bind(this)))}moveStart(t){this.start(t),this.computeValues(_(t)),this.compute(t),this.computeInitial(),this.emit()}moveChange(t){if(!this.state._active)return;const e=_(t),i=this.state;i._delta=a.V.sub(e,i._values),a.V.addTo(i._movement,i._delta),this.computeValues(e),this.compute(t),this.emit()}moveEnd(t){this.state._active&&(this.state._active=!1,this.compute(t),this.emit())}bind(t){t("pointer","change",this.move.bind(this)),t("pointer","leave",this.moveEnd.bind(this))}}const Rt=h(h({},g),{},{mouseOnly:(s=!0)=>s});class Ut extends b{constructor(...t){super(...t),f(this,"ingKey","scrolling")}scroll(t){this.state._active||this.start(t),this.scrollChange(t),this.timeoutStore.add("scrollEnd",this.scrollEnd.bind(this))}scrollChange(t){t.cancelable&&t.preventDefault();const e=this.state,i=pt(t);e._delta=a.V.sub(i,e._values),a.V.addTo(e._movement,e._delta),this.computeValues(i),this.compute(t),this.emit()}scrollEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(t){t("scroll","",this.scroll.bind(this))}}const Bt=g;class Yt extends b{constructor(...t){super(...t),f(this,"ingKey","wheeling")}wheel(t){this.state._active||this.start(t),this.wheelChange(t),this.timeoutStore.add("wheelEnd",this.wheelEnd.bind(this))}wheelChange(t){const e=this.state;e._delta=W(t),a.V.addTo(e._movement,e._delta),q(e),this.compute(t),this.emit()}wheelEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(t){t("wheel","",this.wheel.bind(this))}}const jt=g;class Ht extends b{constructor(...t){super(...t),f(this,"ingKey","hovering")}enter(t){this.config.mouseOnly&&t.pointerType!=="mouse"||(this.start(t),this.computeValues(_(t)),this.compute(t),this.emit())}leave(t){if(this.config.mouseOnly&&t.pointerType!=="mouse")return;const e=this.state;if(!e._active)return;e._active=!1;const i=_(t);e._movement=e._delta=a.V.sub(i,e._values),this.computeValues(i),this.compute(t),e.delta=e.movement,this.emit()}bind(t){t("pointer","enter",this.enter.bind(this)),t("pointer","leave",this.leave.bind(this))}}const Xt=h(h({},g),{},{mouseOnly:(s=!0)=>s}),F=new Map,J=new Map;function Wt(s){F.set(s.key,s.engine),J.set(s.key,s.resolver)}const zt={key:"drag",engine:Et,resolver:$},Gt={key:"hover",engine:Ht,resolver:Xt},$t={key:"move",engine:Kt,resolver:Rt},qt={key:"pinch",engine:Lt,resolver:Nt},Ft={key:"scroll",engine:Ut,resolver:Bt},Jt={key:"wheel",engine:Yt,resolver:jt};exports.C=J;exports.E=F;exports.S=l;exports._=h;exports.a=f;exports.b=dt;exports.c=_t;exports.d=at;exports.e=zt;exports.f=qt;exports.h=Gt;exports.i=S;exports.m=$t;exports.p=ht;exports.r=Wt;exports.s=Ft;exports.t=ut;exports.w=Jt;
|
|
2
2
|
//# sourceMappingURL=index.cjs197.js.map
|
package/dist/index.cjs198.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var o=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function l(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}exports.commonjsGlobal=o;exports.getDefaultExportFromCjs=l;
|
|
2
2
|
//# sourceMappingURL=index.cjs198.js.map
|
package/dist/index.cjs198.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs198.js","sources":[
|
|
1
|
+
{"version":3,"file":"index.cjs198.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.cjs199.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";const e=require("./index.cjs68.js"),i=require("./index.cjs256.js");function o(t){var r=i(t,"string");return e(r)=="symbol"?r:String(r)}module.exports=o;
|
|
2
2
|
//# sourceMappingURL=index.cjs199.js.map
|
package/dist/index.cjs199.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs199.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/
|
|
1
|
+
{"version":3,"file":"index.cjs199.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js"],"sourcesContent":["import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : String(i);\n}"],"names":["toPropertyKey","i","toPrimitive","_typeof"],"mappings":"gFAEA,SAAwBA,EAAc,EAAG,CACvC,IAAIC,EAAIC,EAAY,EAAG,QAAQ,EAC/B,OAAmBC,EAAQF,CAAC,GAArB,SAAyBA,EAAI,OAAOA,CAAC,CAC9C","x_google_ignoreList":[0]}
|
package/dist/index.cjs20.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.cjs86.js"),i=require("./index.cjs7.js"),c=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs86.js"),i=require("./index.cjs7.js"),c=require("./index.cjs240.js"),s=e(function(n,r,o){if(!i(n))throw new TypeError("Bind must be called on a function");var t=e(function(u){return c(n,t,r,this,o.concat(u))});return t});module.exports=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs20.js.map
|
package/dist/index.cjs200.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";function t(r){
|
|
1
|
+
"use strict";function t(o,r){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},t(o,r)}module.exports=t;
|
|
2
2
|
//# sourceMappingURL=index.cjs200.js.map
|
package/dist/index.cjs200.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs200.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/
|
|
1
|
+
{"version":3,"file":"index.cjs200.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"],"sourcesContent":["export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}"],"names":["_setPrototypeOf","p","o"],"mappings":"aAAA,SAAwBA,EAAgB,EAAGC,EAAG,CAC5C,OAAAD,EAAkB,OAAO,eAAiB,OAAO,eAAe,OAAS,SAAyBE,EAAGD,EAAG,CACtGC,OAAAA,EAAE,UAAYD,EACPC,CACT,EACOF,EAAgB,EAAGC,CAAC,CAC7B","x_google_ignoreList":[0]}
|
package/dist/index.cjs201.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";function
|
|
1
|
+
"use strict";function t(r){if(Array.isArray(r))return r}module.exports=t;
|
|
2
2
|
//# sourceMappingURL=index.cjs201.js.map
|
package/dist/index.cjs201.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs201.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/
|
|
1
|
+
{"version":3,"file":"index.cjs201.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js"],"sourcesContent":["export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}"],"names":["_arrayWithHoles","arr"],"mappings":"aAAA,SAAwBA,EAAgBC,EAAK,CAC3C,GAAI,MAAM,QAAQA,CAAG,EAAG,OAAOA,CACjC","x_google_ignoreList":[0]}
|
package/dist/index.cjs202.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";function o(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}module.exports=o;
|
|
2
2
|
//# sourceMappingURL=index.cjs202.js.map
|
package/dist/index.cjs202.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs202.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/
|
|
1
|
+
{"version":3,"file":"index.cjs202.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js"],"sourcesContent":["export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}"],"names":["_iterableToArray","iter"],"mappings":"aAAA,SAAwBA,EAAiBC,EAAM,CAC7C,GAAI,OAAO,OAAW,KAAeA,EAAK,OAAO,QAAQ,GAAK,MAAQA,EAAK,YAAY,GAAK,KAAM,OAAO,MAAM,KAAKA,CAAI,CAC1H","x_google_ignoreList":[0]}
|
package/dist/index.cjs203.js
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
"use strict";function
|
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}module.exports=t;
|
|
1
|
+
"use strict";const n=require("./index.cjs257.js");function a(r,e){if(r){if(typeof r=="string")return n(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);if(t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set")return Array.from(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return n(r,e)}}module.exports=a;
|
|
3
2
|
//# sourceMappingURL=index.cjs203.js.map
|
package/dist/index.cjs203.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs203.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/
|
|
1
|
+
{"version":3,"file":"index.cjs203.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}"],"names":["_unsupportedIterableToArray","o","minLen","arrayLikeToArray","n"],"mappings":"kDACA,SAAwBA,EAA4BC,EAAGC,EAAQ,CAC7D,GAAKD,EACL,IAAI,OAAOA,GAAM,SAAU,OAAOE,EAAiBF,EAAGC,CAAM,EAC5D,IAAIE,EAAI,OAAO,UAAU,SAAS,KAAKH,CAAC,EAAE,MAAM,EAAG,EAAE,EAErD,GADIG,IAAM,UAAYH,EAAE,cAAaG,EAAIH,EAAE,YAAY,MACnDG,IAAM,OAASA,IAAM,MAAO,OAAO,MAAM,KAAKH,CAAC,EACnD,GAAIG,IAAM,aAAe,2CAA2C,KAAKA,CAAC,EAAG,OAAOD,EAAiBF,EAAGC,CAAM,EAChH","x_google_ignoreList":[0]}
|
package/dist/index.cjs204.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";function t(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}module.exports=t;
|
|
2
3
|
//# sourceMappingURL=index.cjs204.js.map
|
package/dist/index.cjs204.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs204.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs204.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js"],"sourcesContent":["export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}"],"names":["_nonIterableRest"],"mappings":"aAAA,SAAwBA,GAAmB,CACzC,MAAM,IAAI,UAAU;AAAA,mFAA2I,CACjK","x_google_ignoreList":[0]}
|
package/dist/index.cjs205.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";function u(i){var e=0,t=i.children,n=t&&t.length;if(!n)e=1;else for(;--n>=0;)e+=t[n].value;i.value=e}function c(){return this.eachAfter(u)}module.exports=c;
|
|
2
2
|
//# sourceMappingURL=index.cjs205.js.map
|
package/dist/index.cjs205.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs205.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.cjs205.js","sources":["../../../node_modules/d3-hierarchy/src/hierarchy/count.js"],"sourcesContent":["function count(node) {\n var sum = 0,\n children = node.children,\n i = children && children.length;\n if (!i) sum = 1;\n else while (--i >= 0) sum += children[i].value;\n node.value = sum;\n}\n\nexport default function() {\n return this.eachAfter(count);\n}\n"],"names":["count","node","sum","children","i","node_count"],"mappings":"aAAA,SAASA,EAAMC,EAAM,CACnB,IAAIC,EAAM,EACNC,EAAWF,EAAK,SAChBG,EAAID,GAAYA,EAAS,OAC7B,GAAI,CAACC,EAAGF,EAAM,YACF,EAAEE,GAAK,GAAGF,GAAOC,EAASC,CAAC,EAAE,MACzCH,EAAK,MAAQC,CACf,CAEA,SAAAG,GAA0B,CACxB,OAAO,KAAK,UAAUL,CAAK,CAC7B","x_google_ignoreList":[0]}
|
package/dist/index.cjs206.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";function s(o){var e=this,h,n=[e],r,t,i;do for(h=n.reverse(),n=[];e=h.pop();)if(o(e),r=e.children,r)for(t=0,i=r.length;t<i;++t)n.push(r[t]);while(n.length);return this}module.exports=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs206.js.map
|
package/dist/index.cjs206.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs206.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.cjs206.js","sources":["../../../node_modules/d3-hierarchy/src/hierarchy/each.js"],"sourcesContent":["export default function(callback) {\n var node = this, current, next = [node], children, i, n;\n do {\n current = next.reverse(), next = [];\n while (node = current.pop()) {\n callback(node), children = node.children;\n if (children) for (i = 0, n = children.length; i < n; ++i) {\n next.push(children[i]);\n }\n }\n } while (next.length);\n return this;\n}\n"],"names":["node_each","callback","node","current","next","children","i","n"],"mappings":"aAAA,SAAAA,EAAwBC,EAAU,CAChC,IAAIC,EAAO,KAAMC,EAASC,EAAO,CAACF,CAAI,EAAGG,EAAUC,EAAGC,EACtD,EAEE,KADAJ,EAAUC,EAAK,QAAA,EAAWA,EAAO,CAAA,EAC1BF,EAAOC,EAAQ,OAEpB,GADAF,EAASC,CAAI,EAAGG,EAAWH,EAAK,SAC5BG,EAAU,IAAKC,EAAI,EAAGC,EAAIF,EAAS,OAAQC,EAAIC,EAAG,EAAED,EACtDF,EAAK,KAAKC,EAASC,CAAC,CAAC,QAGlBF,EAAK,QACd,OAAO,IACT","x_google_ignoreList":[0]}
|
package/dist/index.cjs207.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";function o(h){for(var e=this,r=[e],i,n;e=r.pop();)if(h(e),i=e.children,i)for(n=i.length-1;n>=0;--n)r.push(i[n]);return this}module.exports=o;
|
|
2
2
|
//# sourceMappingURL=index.cjs207.js.map
|
package/dist/index.cjs207.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs207.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.cjs207.js","sources":["../../../node_modules/d3-hierarchy/src/hierarchy/eachBefore.js"],"sourcesContent":["export default function(callback) {\n var node = this, nodes = [node], children, i;\n while (node = nodes.pop()) {\n callback(node), children = node.children;\n if (children) for (i = children.length - 1; i >= 0; --i) {\n nodes.push(children[i]);\n }\n }\n return this;\n}\n"],"names":["node_eachBefore","callback","node","nodes","children","i"],"mappings":"aAAA,SAAAA,EAAwBC,EAAU,CAEhC,QADIC,EAAO,KAAMC,EAAQ,CAACD,CAAI,EAAGE,EAAUC,EACpCH,EAAOC,EAAM,OAElB,GADAF,EAASC,CAAI,EAAGE,EAAWF,EAAK,SAC5BE,MAAeC,EAAID,EAAS,OAAS,EAAGC,GAAK,EAAG,EAAEA,EACpDF,EAAM,KAAKC,EAASC,CAAC,CAAC,EAG1B,OAAO,IACT","x_google_ignoreList":[0]}
|
package/dist/index.cjs208.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";function s(o){for(var e=this,i=[e],t=[],n,h,r;e=i.pop();)if(t.push(e),n=e.children,n)for(h=0,r=n.length;h<r;++h)i.push(n[h]);for(;e=t.pop();)o(e);return this}module.exports=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs208.js.map
|
package/dist/index.cjs208.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs208.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.cjs208.js","sources":["../../../node_modules/d3-hierarchy/src/hierarchy/eachAfter.js"],"sourcesContent":["export default function(callback) {\n var node = this, nodes = [node], next = [], children, i, n;\n while (node = nodes.pop()) {\n next.push(node), children = node.children;\n if (children) for (i = 0, n = children.length; i < n; ++i) {\n nodes.push(children[i]);\n }\n }\n while (node = next.pop()) {\n callback(node);\n }\n return this;\n}\n"],"names":["node_eachAfter","callback","node","nodes","next","children","i","n"],"mappings":"aAAA,SAAAA,EAAwBC,EAAU,CAEhC,QADIC,EAAO,KAAMC,EAAQ,CAACD,CAAI,EAAGE,EAAO,CAAA,EAAIC,EAAUC,EAAGC,EAClDL,EAAOC,EAAM,OAElB,GADAC,EAAK,KAAKF,CAAI,EAAGG,EAAWH,EAAK,SAC7BG,EAAU,IAAKC,EAAI,EAAGC,EAAIF,EAAS,OAAQC,EAAIC,EAAG,EAAED,EACtDH,EAAM,KAAKE,EAASC,CAAC,CAAC,EAG1B,KAAOJ,EAAOE,EAAK,OACjBH,EAASC,CAAI,EAEf,OAAO,IACT","x_google_ignoreList":[0]}
|
package/dist/index.cjs209.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";function n(u){return this.eachAfter(function(e){for(var i=+u(e.data)||0,t=e.children,r=t&&t.length;--r>=0;)i+=t[r].value;e.value=i})}module.exports=n;
|
|
2
2
|
//# sourceMappingURL=index.cjs209.js.map
|
package/dist/index.cjs209.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs209.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs209.js","sources":["../../../node_modules/d3-hierarchy/src/hierarchy/sum.js"],"sourcesContent":["export default function(value) {\n return this.eachAfter(function(node) {\n var sum = +value(node.data) || 0,\n children = node.children,\n i = children && children.length;\n while (--i >= 0) sum += children[i].value;\n node.value = sum;\n });\n}\n"],"names":["node_sum","value","node","sum","children","i"],"mappings":"aAAA,SAAAA,EAAwBC,EAAO,CAC7B,OAAO,KAAK,UAAU,SAASC,EAAM,CAInC,QAHIC,EAAM,CAACF,EAAMC,EAAK,IAAI,GAAK,EAC3BE,EAAWF,EAAK,SAChBG,EAAID,GAAYA,EAAS,OACtB,EAAEC,GAAK,GAAGF,GAAOC,EAASC,CAAC,EAAE,MACpCH,EAAK,MAAQC,CACf,CAAC,CACH","x_google_ignoreList":[0]}
|
package/dist/index.cjs21.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const i=require("./index.cjs86.js"),s=require("./index.
|
|
1
|
+
"use strict";const i=require("./index.cjs86.js"),s=require("./index.cjs241.js"),l=require("./index.cjs20.js"),u=i(function(n,r){r=s(r,!1,!1);var e=r.length;if(e<1)throw new Error("bindAll must be passed function names");for(;e--;){var t=r[e];n[t]=l(n[t],n)}return n});module.exports=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs21.js.map
|
package/dist/index.cjs210.js
CHANGED
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
* react-is.production.min.js
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the MIT license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/var t=typeof Symbol=="function"&&Symbol.for,m=t?Symbol.for("react.element"):60103,x=t?Symbol.for("react.portal"):60106,n=t?Symbol.for("react.fragment"):60107,s=t?Symbol.for("react.strict_mode"):60108,c=t?Symbol.for("react.profiler"):60114,_=t?Symbol.for("react.provider"):60109,f=t?Symbol.for("react.context"):60110,b=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,i=t?Symbol.for("react.forward_ref"):60112,u=t?Symbol.for("react.suspense"):60113,$=t?Symbol.for("react.suspense_list"):60120,y=t?Symbol.for("react.memo"):60115,l=t?Symbol.for("react.lazy"):60116,M=t?Symbol.for("react.block"):60121,v=t?Symbol.for("react.fundamental"):60117,C=t?Symbol.for("react.responder"):60118,g=t?Symbol.for("react.scope"):60119;function o(e){if(typeof e=="object"&&e!==null){var d=e.$$typeof;switch(d){case m:switch(e=e.type,e){case b:case p:case n:case c:case s:case u:return e;default:switch(e=e&&e.$$typeof,e){case f:case i:case l:case y:case _:return e;default:return d}}case x:return d}}}function a(e){return o(e)===p}return r.__exports.AsyncMode=b,r.__exports.ConcurrentMode=p,r.__exports.ContextConsumer=f,r.__exports.ContextProvider=_,r.__exports.Element=m,r.__exports.ForwardRef=i,r.__exports.Fragment=n,r.__exports.Lazy=l,r.__exports.Memo=y,r.__exports.Portal=x,r.__exports.Profiler=c,r.__exports.StrictMode=s,r.__exports.Suspense=u,r.__exports.isAsyncMode=function(e){return a(e)||o(e)===b},r.__exports.isConcurrentMode=a,r.__exports.isContextConsumer=function(e){return o(e)===f},r.__exports.isContextProvider=function(e){return o(e)===_},r.__exports.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===m},r.__exports.isForwardRef=function(e){return o(e)===i},r.__exports.isFragment=function(e){return o(e)===n},r.__exports.isLazy=function(e){return o(e)===l},r.__exports.isMemo=function(e){return o(e)===y},r.__exports.isPortal=function(e){return o(e)===x},r.__exports.isProfiler=function(e){return o(e)===c},r.__exports.isStrictMode=function(e){return o(e)===s},r.__exports.isSuspense=function(e){return o(e)===u},r.__exports.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===n||e===p||e===c||e===s||e===u||e===$||typeof e=="object"&&e!==null&&(e.$$typeof===l||e.$$typeof===y||e.$$typeof===_||e.$$typeof===f||e.$$typeof===i||e.$$typeof===v||e.$$typeof===C||e.$$typeof===g||e.$$typeof===M)},r.__exports.typeOf=o,r.__exports}exports.__require=w;
|
|
1
|
+
"use strict";function e(t){return this.eachBefore(function(r){r.children&&r.children.sort(t)})}module.exports=e;
|
|
9
2
|
//# sourceMappingURL=index.cjs210.js.map
|
package/dist/index.cjs210.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs210.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.cjs210.js","sources":["../../../node_modules/d3-hierarchy/src/hierarchy/sort.js"],"sourcesContent":["export default function(compare) {\n return this.eachBefore(function(node) {\n if (node.children) {\n node.children.sort(compare);\n }\n });\n}\n"],"names":["node_sort","compare","node"],"mappings":"aAAA,SAAAA,EAAwBC,EAAS,CAC/B,OAAO,KAAK,WAAW,SAASC,EAAM,CAChCA,EAAK,UACPA,EAAK,SAAS,KAAKD,CAAO,CAE9B,CAAC,CACH","x_google_ignoreList":[0]}
|
package/dist/index.cjs211.js
CHANGED
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
* react-is.development.js
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the MIT license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/return process.env.NODE_ENV!=="production"&&function(){var o=typeof Symbol=="function"&&Symbol.for,d=o?Symbol.for("react.element"):60103,v=o?Symbol.for("react.portal"):60106,n=o?Symbol.for("react.fragment"):60107,s=o?Symbol.for("react.strict_mode"):60108,a=o?Symbol.for("react.profiler"):60114,_=o?Symbol.for("react.provider"):60109,c=o?Symbol.for("react.context"):60110,T=o?Symbol.for("react.async_mode"):60111,i=o?Symbol.for("react.concurrent_mode"):60111,f=o?Symbol.for("react.forward_ref"):60112,u=o?Symbol.for("react.suspense"):60113,P=o?Symbol.for("react.suspense_list"):60120,E=o?Symbol.for("react.memo"):60115,l=o?Symbol.for("react.lazy"):60116,y=o?Symbol.for("react.block"):60121,A=o?Symbol.for("react.fundamental"):60117,M=o?Symbol.for("react.responder"):60118,b=o?Symbol.for("react.scope"):60119;function Y(r){return typeof r=="string"||typeof r=="function"||r===n||r===i||r===a||r===s||r===u||r===P||typeof r=="object"&&r!==null&&(r.$$typeof===l||r.$$typeof===E||r.$$typeof===_||r.$$typeof===c||r.$$typeof===f||r.$$typeof===A||r.$$typeof===M||r.$$typeof===b||r.$$typeof===y)}function t(r){if(typeof r=="object"&&r!==null){var p=r.$$typeof;switch(p){case d:var m=r.type;switch(m){case T:case i:case n:case a:case s:case u:return m;default:var S=m&&m.$$typeof;switch(S){case c:case f:case l:case E:case _:return S;default:return p}}case v:return p}}}var $=T,O=i,F=c,N=_,I=d,L=f,h=n,w=l,D=E,g=v,z=a,U=s,q=u,C=!1;function V(r){return C||(C=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),R(r)||t(r)===T}function R(r){return t(r)===i}function W(r){return t(r)===c}function k(r){return t(r)===_}function B(r){return typeof r=="object"&&r!==null&&r.$$typeof===d}function G(r){return t(r)===f}function K(r){return t(r)===n}function X(r){return t(r)===l}function Z(r){return t(r)===E}function H(r){return t(r)===v}function J(r){return t(r)===a}function Q(r){return t(r)===s}function j(r){return t(r)===u}e.__exports.AsyncMode=$,e.__exports.ConcurrentMode=O,e.__exports.ContextConsumer=F,e.__exports.ContextProvider=N,e.__exports.Element=I,e.__exports.ForwardRef=L,e.__exports.Fragment=h,e.__exports.Lazy=w,e.__exports.Memo=D,e.__exports.Portal=g,e.__exports.Profiler=z,e.__exports.StrictMode=U,e.__exports.Suspense=q,e.__exports.isAsyncMode=V,e.__exports.isConcurrentMode=R,e.__exports.isContextConsumer=W,e.__exports.isContextProvider=k,e.__exports.isElement=B,e.__exports.isForwardRef=G,e.__exports.isFragment=K,e.__exports.isLazy=X,e.__exports.isMemo=Z,e.__exports.isPortal=H,e.__exports.isProfiler=J,e.__exports.isStrictMode=Q,e.__exports.isSuspense=j,e.__exports.isValidElementType=Y,e.__exports.typeOf=t}(),e.__exports}exports.__require=rr;
|
|
1
|
+
"use strict";function n(t){for(var r=this,o=p(r,t),e=[r];r!==o;)r=r.parent,e.push(r);for(var s=e.length;t!==o;)e.splice(s,0,t),t=t.parent;return e}function p(t,r){if(t===r)return t;var o=t.ancestors(),e=r.ancestors(),s=null;for(t=o.pop(),r=e.pop();t===r;)s=t,t=o.pop(),r=e.pop();return s}module.exports=n;
|
|
9
2
|
//# sourceMappingURL=index.cjs211.js.map
|
package/dist/index.cjs211.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs211.js","sources":["../../../node_modules/react-is/cjs/react-is.development.js"],"sourcesContent":["/** @license React v16.13.1\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n"],"names":["hasSymbol","REACT_ELEMENT_TYPE","REACT_PORTAL_TYPE","REACT_FRAGMENT_TYPE","REACT_STRICT_MODE_TYPE","REACT_PROFILER_TYPE","REACT_PROVIDER_TYPE","REACT_CONTEXT_TYPE","REACT_ASYNC_MODE_TYPE","REACT_CONCURRENT_MODE_TYPE","REACT_FORWARD_REF_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_MEMO_TYPE","REACT_LAZY_TYPE","REACT_BLOCK_TYPE","REACT_FUNDAMENTAL_TYPE","REACT_RESPONDER_TYPE","REACT_SCOPE_TYPE","isValidElementType","type","typeOf","object","$$typeof","$$typeofType","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","Element","ForwardRef","Fragment","Lazy","Memo","Portal","Profiler","StrictMode","Suspense","hasWarnedAboutDeprecatedIsAsyncMode","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","reactIs_development"],"mappings":"qKAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAaA,OAAI,QAAQ,IAAI,WAAa,cAC1B,UAAW,CAKd,IAAIA,EAAY,OAAO,QAAW,YAAc,OAAO,IACnDC,EAAqBD,EAAY,OAAO,IAAI,eAAe,EAAI,MAC/DE,EAAoBF,EAAY,OAAO,IAAI,cAAc,EAAI,MAC7DG,EAAsBH,EAAY,OAAO,IAAI,gBAAgB,EAAI,MACjEI,EAAyBJ,EAAY,OAAO,IAAI,mBAAmB,EAAI,MACvEK,EAAsBL,EAAY,OAAO,IAAI,gBAAgB,EAAI,MACjEM,EAAsBN,EAAY,OAAO,IAAI,gBAAgB,EAAI,MACjEO,EAAqBP,EAAY,OAAO,IAAI,eAAe,EAAI,MAG/DQ,EAAwBR,EAAY,OAAO,IAAI,kBAAkB,EAAI,MACrES,EAA6BT,EAAY,OAAO,IAAI,uBAAuB,EAAI,MAC/EU,EAAyBV,EAAY,OAAO,IAAI,mBAAmB,EAAI,MACvEW,EAAsBX,EAAY,OAAO,IAAI,gBAAgB,EAAI,MACjEY,EAA2BZ,EAAY,OAAO,IAAI,qBAAqB,EAAI,MAC3Ea,EAAkBb,EAAY,OAAO,IAAI,YAAY,EAAI,MACzDc,EAAkBd,EAAY,OAAO,IAAI,YAAY,EAAI,MACzDe,EAAmBf,EAAY,OAAO,IAAI,aAAa,EAAI,MAC3DgB,EAAyBhB,EAAY,OAAO,IAAI,mBAAmB,EAAI,MACvEiB,EAAuBjB,EAAY,OAAO,IAAI,iBAAiB,EAAI,MACnEkB,EAAmBlB,EAAY,OAAO,IAAI,aAAa,EAAI,MAE/D,SAASmB,EAAmBC,EAAM,CAChC,OAAO,OAAOA,GAAS,UAAY,OAAOA,GAAS,YACnDA,IAASjB,GAAuBiB,IAASX,GAA8BW,IAASf,GAAuBe,IAAShB,GAA0BgB,IAAST,GAAuBS,IAASR,GAA4B,OAAOQ,GAAS,UAAYA,IAAS,OAASA,EAAK,WAAaN,GAAmBM,EAAK,WAAaP,GAAmBO,EAAK,WAAad,GAAuBc,EAAK,WAAab,GAAsBa,EAAK,WAAaV,GAA0BU,EAAK,WAAaJ,GAA0BI,EAAK,WAAaH,GAAwBG,EAAK,WAAaF,GAAoBE,EAAK,WAAaL,EAAA,CAGplB,SAASM,EAAOC,EAAQ,CACtB,GAAI,OAAOA,GAAW,UAAYA,IAAW,KAAM,CACjD,IAAIC,EAAWD,EAAO,SAEtB,OAAQC,EAAA,CACN,KAAKtB,EACH,IAAImB,EAAOE,EAAO,KAElB,OAAQF,EAAA,CACN,KAAKZ,EACL,KAAKC,EACL,KAAKN,EACL,KAAKE,EACL,KAAKD,EACL,KAAKO,EACH,OAAOS,EAET,QACE,IAAII,EAAeJ,GAAQA,EAAK,SAEhC,OAAQI,EAAA,CACN,KAAKjB,EACL,KAAKG,EACL,KAAKI,EACL,KAAKD,EACL,KAAKP,EACH,OAAOkB,EAET,QACE,OAAOD,CAAA,CACX,CAIN,KAAKrB,EACH,OAAOqB,CAAA,CACX,CAGK,CAGT,IAAIE,EAAYjB,EACZkB,EAAiBjB,EACjBkB,EAAkBpB,EAClBqB,EAAkBtB,EAClBuB,EAAU5B,EACV6B,EAAapB,EACbqB,EAAW5B,EACX6B,EAAOlB,EACPmB,EAAOpB,EACPqB,EAAShC,EACTiC,EAAW9B,EACX+B,EAAahC,EACbiC,EAAW1B,EACX2B,EAAsC,GAE1C,SAASC,EAAYjB,EAAQ,CAEzB,OAAKgB,IACHA,EAAsC,GAEtC,QAAQ,KAAQ,+KAAyL,GAItME,EAAiBlB,CAAM,GAAKD,EAAOC,CAAM,IAAMd,CAAA,CAExD,SAASgC,EAAiBlB,EAAQ,CAChC,OAAOD,EAAOC,CAAM,IAAMb,CAAA,CAE5B,SAASgC,EAAkBnB,EAAQ,CACjC,OAAOD,EAAOC,CAAM,IAAMf,CAAA,CAE5B,SAASmC,EAAkBpB,EAAQ,CACjC,OAAOD,EAAOC,CAAM,IAAMhB,CAAA,CAE5B,SAASqC,EAAUrB,EAAQ,CACzB,OAAO,OAAOA,GAAW,UAAYA,IAAW,MAAQA,EAAO,WAAarB,CAAA,CAE9E,SAAS2C,EAAatB,EAAQ,CAC5B,OAAOD,EAAOC,CAAM,IAAMZ,CAAA,CAE5B,SAASmC,EAAWvB,EAAQ,CAC1B,OAAOD,EAAOC,CAAM,IAAMnB,CAAA,CAE5B,SAAS2C,EAAOxB,EAAQ,CACtB,OAAOD,EAAOC,CAAM,IAAMR,CAAA,CAE5B,SAASiC,EAAOzB,EAAQ,CACtB,OAAOD,EAAOC,CAAM,IAAMT,CAAA,CAE5B,SAASmC,EAAS1B,EAAQ,CACxB,OAAOD,EAAOC,CAAM,IAAMpB,CAAA,CAE5B,SAAS+C,EAAW3B,EAAQ,CAC1B,OAAOD,EAAOC,CAAM,IAAMjB,CAAA,CAE5B,SAAS6C,EAAa5B,EAAQ,CAC5B,OAAOD,EAAOC,CAAM,IAAMlB,CAAA,CAE5B,SAAS+C,EAAW7B,EAAQ,CAC1B,OAAOD,EAAOC,CAAM,IAAMX,CAAA,CAG5ByC,EAAAA,UAAA,UAAoB3B,EACpB2B,EAAAA,UAAA,eAAyB1B,EACzB0B,EAAAA,UAAA,gBAA0BzB,EAC1ByB,EAAAA,UAAA,gBAA0BxB,EAC1BwB,EAAAA,UAAA,QAAkBvB,EAClBuB,EAAAA,UAAA,WAAqBtB,EACrBsB,EAAAA,UAAA,SAAmBrB,EACnBqB,EAAAA,UAAA,KAAepB,EACfoB,EAAAA,UAAA,KAAenB,EACfmB,EAAAA,UAAA,OAAiBlB,EACjBkB,EAAAA,UAAA,SAAmBjB,EACnBiB,EAAAA,UAAA,WAAqBhB,EACrBgB,EAAAA,UAAA,SAAmBf,EACnBe,EAAAA,UAAA,YAAsBb,EACtBa,EAAAA,UAAA,iBAA2BZ,EAC3BY,EAAAA,UAAA,kBAA4BX,EAC5BW,EAAAA,UAAA,kBAA4BV,EAC5BU,EAAAA,UAAA,UAAoBT,EACpBS,EAAAA,UAAA,aAAuBR,EACvBQ,EAAAA,UAAA,WAAqBP,EACrBO,EAAAA,UAAA,OAAiBN,EACjBM,EAAAA,UAAA,OAAiBL,EACjBK,EAAAA,UAAA,SAAmBJ,EACnBI,EAAAA,UAAA,WAAqBH,EACrBG,EAAAA,UAAA,aAAuBF,EACvBE,EAAAA,UAAA,WAAqBD,EACrBC,EAAAA,UAAA,mBAA6BjC,EAC7BiC,EAAAA,UAAA,OAAiB/B,CAAA,EACf","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.cjs211.js","sources":["../../../node_modules/d3-hierarchy/src/hierarchy/path.js"],"sourcesContent":["export default function(end) {\n var start = this,\n ancestor = leastCommonAncestor(start, end),\n nodes = [start];\n while (start !== ancestor) {\n start = start.parent;\n nodes.push(start);\n }\n var k = nodes.length;\n while (end !== ancestor) {\n nodes.splice(k, 0, end);\n end = end.parent;\n }\n return nodes;\n}\n\nfunction leastCommonAncestor(a, b) {\n if (a === b) return a;\n var aNodes = a.ancestors(),\n bNodes = b.ancestors(),\n c = null;\n a = aNodes.pop();\n b = bNodes.pop();\n while (a === b) {\n c = a;\n a = aNodes.pop();\n b = bNodes.pop();\n }\n return c;\n}\n"],"names":["node_path","end","start","ancestor","leastCommonAncestor","nodes","k","a","b","aNodes","bNodes","c"],"mappings":"aAAA,SAAAA,EAAwBC,EAAK,CAI3B,QAHIC,EAAQ,KACRC,EAAWC,EAAoBF,EAAOD,CAAG,EACzCI,EAAQ,CAACH,CAAK,EACXA,IAAUC,GACfD,EAAQA,EAAM,OACdG,EAAM,KAAKH,CAAK,EAGlB,QADII,EAAID,EAAM,OACPJ,IAAQE,GACbE,EAAM,OAAOC,EAAG,EAAGL,CAAG,EACtBA,EAAMA,EAAI,OAEZ,OAAOI,CACT,CAEA,SAASD,EAAoBG,EAAGC,EAAG,CACjC,GAAID,IAAMC,EAAG,OAAOD,EACpB,IAAIE,EAASF,EAAE,UAAA,EACXG,EAASF,EAAE,YACXG,EAAI,KAGR,IAFAJ,EAAIE,EAAO,IAAA,EACXD,EAAIE,EAAO,IAAA,EACJH,IAAMC,GACXG,EAAIJ,EACJA,EAAIE,EAAO,IAAA,EACXD,EAAIE,EAAO,IAAA,EAEb,OAAOC,CACT","x_google_ignoreList":[0]}
|
package/dist/index.cjs212.js
CHANGED
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
object-assign
|
|
3
|
-
(c) Sindre Sorhus
|
|
4
|
-
@license MIT
|
|
5
|
-
*/var u=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;function O(t){if(t==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function g(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de",Object.getOwnPropertyNames(t)[0]==="5")return!1;for(var c={},r=0;r<10;r++)c["_"+String.fromCharCode(r)]=r;var o=Object.getOwnPropertyNames(c).map(function(e){return c[e]});if(o.join("")!=="0123456789")return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),Object.keys(Object.assign({},n)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return i=g()?Object.assign:function(t,c){for(var r,o=O(t),n,e=1;e<arguments.length;e++){r=Object(arguments[e]);for(var s in r)b.call(r,s)&&(o[s]=r[s]);if(u){n=u(r);for(var a=0;a<n.length;a++)l.call(r,n[a])&&(o[n[a]]=r[n[a]])}}return o},i}exports.__require=j;
|
|
1
|
+
"use strict";function s(){for(var e=this,n=[e];e=e.parent;)n.push(e);return n}module.exports=s;
|
|
6
2
|
//# sourceMappingURL=index.cjs212.js.map
|
package/dist/index.cjs212.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs212.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.cjs212.js","sources":["../../../node_modules/d3-hierarchy/src/hierarchy/ancestors.js"],"sourcesContent":["export default function() {\n var node = this, nodes = [node];\n while (node = node.parent) {\n nodes.push(node);\n }\n return nodes;\n}\n"],"names":["node_ancestors","node","nodes"],"mappings":"aAAA,SAAAA,GAA0B,CAExB,QADIC,EAAO,KAAMC,EAAQ,CAACD,CAAI,EACvBA,EAAOA,EAAK,QACjBC,EAAM,KAAKD,CAAI,EAEjB,OAAOC,CACT","x_google_ignoreList":[0]}
|
package/dist/index.cjs213.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";function s(){var n=[];return this.each(function(e){n.push(e)}),n}module.exports=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs213.js.map
|
package/dist/index.cjs213.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs213.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.cjs213.js","sources":["../../../node_modules/d3-hierarchy/src/hierarchy/descendants.js"],"sourcesContent":["export default function() {\n var nodes = [];\n this.each(function(node) {\n nodes.push(node);\n });\n return nodes;\n}\n"],"names":["node_descendants","nodes","node"],"mappings":"aAAA,SAAAA,GAA0B,CACxB,IAAIC,EAAQ,CAAA,EACZ,YAAK,KAAK,SAASC,EAAM,CACvBD,EAAM,KAAKC,CAAI,CACjB,CAAC,EACMD,CACT","x_google_ignoreList":[0]}
|
package/dist/index.cjs214.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";function s(){var e=[];return this.eachBefore(function(r){r.children||e.push(r)}),e}module.exports=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs214.js.map
|
package/dist/index.cjs214.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs214.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.cjs214.js","sources":["../../../node_modules/d3-hierarchy/src/hierarchy/leaves.js"],"sourcesContent":["export default function() {\n var leaves = [];\n this.eachBefore(function(node) {\n if (!node.children) {\n leaves.push(node);\n }\n });\n return leaves;\n}\n"],"names":["node_leaves","leaves","node"],"mappings":"aAAA,SAAAA,GAA0B,CACxB,IAAIC,EAAS,CAAA,EACb,YAAK,WAAW,SAASC,EAAM,CACxBA,EAAK,UACRD,EAAO,KAAKC,CAAI,CAEpB,CAAC,EACMD,CACT","x_google_ignoreList":[0]}
|
package/dist/index.cjs215.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";function i(){var r=this,s=[];return r.each(function(t){t!==r&&s.push({source:t.parent,target:t})}),s}module.exports=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs215.js.map
|
package/dist/index.cjs215.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs215.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.cjs215.js","sources":["../../../node_modules/d3-hierarchy/src/hierarchy/links.js"],"sourcesContent":["export default function() {\n var root = this, links = [];\n root.each(function(node) {\n if (node !== root) { // Don’t include the root’s parent, if any.\n links.push({source: node.parent, target: node});\n }\n });\n return links;\n}\n"],"names":["node_links","root","links","node"],"mappings":"aAAA,SAAAA,GAA0B,CACxB,IAAIC,EAAO,KAAMC,EAAQ,CAAA,EACzB,OAAAD,EAAK,KAAK,SAASE,EAAM,CACnBA,IAASF,GACXC,EAAM,KAAK,CAAC,OAAQC,EAAK,OAAQ,OAAQA,EAAK,CAElD,CAAC,EACMD,CACT","x_google_ignoreList":[0]}
|
package/dist/index.cjs218.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const $=require("./index.cjs219.js"),p=require("./index.cjs220.js"),A=require("./index.cjs221.js");var _,S;function D(){if(S)return _;S=1;var y=$.__require(),m=p.__require(),h=A.__require(),M="Expected a function",W=Math.max,C=Math.min;function L(q,r,u){var a,c,s,o,i,t,l=0,x=!1,v=!1,g=!0;if(typeof q!="function")throw new TypeError(M);r=h(r)||0,y(u)&&(x=!!u.leading,v="maxWait"in u,s=v?W(h(u.maxWait)||0,r):s,g="trailing"in u?!!u.trailing:g);function T(e){var n=a,f=c;return a=c=void 0,l=e,o=q.apply(f,n),o}function O(e){return l=e,i=setTimeout(d,r),x?T(e):o}function R(e){var n=e-t,f=e-l,I=r-n;return v?C(I,s-f):I}function E(e){var n=e-t,f=e-l;return t===void 0||n>=r||n<0||v&&f>=s}function d(){var e=m();if(E(e))return k(e);i=setTimeout(d,R(e))}function k(e){return i=void 0,g&&a?T(e):(a=c=void 0,o)}function j(){i!==void 0&&clearTimeout(i),l=0,a=t=c=i=void 0}function N(){return i===void 0?o:k(m())}function b(){var e=m(),n=E(e);if(a=arguments,c=this,t=e,n){if(i===void 0)return O(t);if(v)return clearTimeout(i),i=setTimeout(d,r),T(t)}return i===void 0&&(i=setTimeout(d,r)),o}return b.cancel=j,b.flush=N,b}return _=L,_}exports.__require=D;
|
|
2
2
|
//# sourceMappingURL=index.cjs218.js.map
|