@anoki/fse-ui 1.10.1-RC2.6 → 1.10.1-RC2.8
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/components/ui/VideoPlayer/VideoPlayer.css +1 -1
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs100.js +1 -1
- package/dist/index.cjs102.js +1 -1
- package/dist/index.cjs104.js +1 -1
- package/dist/index.cjs105.js +1 -1
- package/dist/index.cjs106.js +1 -1
- package/dist/index.cjs107.js +1 -1
- package/dist/index.cjs109.js +1 -1
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs111.js +1 -1
- package/dist/index.cjs112.js +1 -1
- package/dist/index.cjs113.js +1 -1
- package/dist/index.cjs114.js +1 -1
- package/dist/index.cjs115.js +1 -1
- package/dist/index.cjs117.js +1 -1
- package/dist/index.cjs118.js +1 -1
- package/dist/index.cjs119.js +1 -1
- package/dist/index.cjs12.js +1 -1
- package/dist/index.cjs121.js +1 -1
- package/dist/index.cjs123.js +1 -1
- package/dist/index.cjs124.js +1 -1
- package/dist/index.cjs125.js +1 -1
- package/dist/index.cjs126.js +1 -1
- package/dist/index.cjs127.js +1 -1
- package/dist/index.cjs128.js +1 -1
- package/dist/index.cjs129.js +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs130.js +1 -1
- package/dist/index.cjs131.js +1 -1
- package/dist/index.cjs132.js +1 -1
- package/dist/index.cjs133.js +1 -1
- package/dist/index.cjs135.js +1 -1
- package/dist/index.cjs136.js +1 -1
- package/dist/index.cjs138.js +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs140.js +1 -1
- package/dist/index.cjs141.js +1 -1
- package/dist/index.cjs142.js +1 -1
- package/dist/index.cjs143.js +1 -1
- package/dist/index.cjs144.js +1 -1
- package/dist/index.cjs147.js +1 -1
- package/dist/index.cjs149.js +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs151.js +1 -1
- package/dist/index.cjs152.js +1 -1
- package/dist/index.cjs153.js +1 -1
- package/dist/index.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.cjs161.js +1 -1
- package/dist/index.cjs162.js +1 -1
- package/dist/index.cjs163.js +1 -1
- package/dist/index.cjs164.js +1 -1
- package/dist/index.cjs165.js +1 -1
- package/dist/index.cjs166.js +1 -1
- package/dist/index.cjs167.js +1 -1
- package/dist/index.cjs168.js +1 -1
- package/dist/index.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.cjs174.js +1 -1
- package/dist/index.cjs175.js +1 -1
- package/dist/index.cjs176.js +1 -1
- package/dist/index.cjs177.js +1 -1
- package/dist/index.cjs178.js +1 -1
- package/dist/index.cjs179.js +1 -1
- package/dist/index.cjs18.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.cjs184.js +1 -1
- package/dist/index.cjs185.js +1 -1
- package/dist/index.cjs186.js +1 -1
- package/dist/index.cjs187.js +1 -1
- package/dist/index.cjs189.js +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs190.js +1 -1
- package/dist/index.cjs191.js +1 -1
- package/dist/index.cjs192.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.cjs196.js +1 -1
- package/dist/index.cjs197.js +1 -1
- package/dist/index.cjs198.js +1 -1
- package/dist/index.cjs199.js +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs201.js +1 -1
- package/dist/index.cjs202.js +1 -1
- package/dist/index.cjs203.js +1 -1
- package/dist/index.cjs204.js +1 -1
- package/dist/index.cjs205.js +1 -1
- package/dist/index.cjs206.js +1 -1
- package/dist/index.cjs207.js +1 -1
- package/dist/index.cjs208.js +1 -1
- package/dist/index.cjs209.js +1 -1
- package/dist/index.cjs21.js +1 -1
- package/dist/index.cjs210.js +1 -1
- package/dist/index.cjs211.js +1 -1
- package/dist/index.cjs212.js +1 -1
- package/dist/index.cjs213.js +1 -1
- package/dist/index.cjs214.js +1 -1
- package/dist/index.cjs215.js +1 -1
- package/dist/index.cjs216.js +1 -1
- package/dist/index.cjs217.js +1 -1
- package/dist/index.cjs223.js +1 -1
- package/dist/index.cjs225.js +1 -1
- package/dist/index.cjs226.js +1 -1
- package/dist/index.cjs227.js +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs248.js +2 -0
- package/dist/index.cjs248.js.map +1 -0
- 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.cjs251.js +1 -1
- package/dist/index.cjs251.js.map +1 -1
- package/dist/{index.cjs282.js → index.cjs252.js} +1 -1
- package/dist/{index.cjs282.js.map → index.cjs252.js.map} +1 -1
- package/dist/{index.cjs285.js → index.cjs255.js} +1 -1
- package/dist/{index.cjs285.js.map → index.cjs255.js.map} +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs262.js +2 -0
- package/dist/index.cjs262.js.map +1 -0
- package/dist/index.cjs267.js +1 -1
- package/dist/index.cjs267.js.map +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs270.js +2 -0
- package/dist/index.cjs270.js.map +1 -0
- package/dist/index.cjs272.js +1 -1
- package/dist/index.cjs272.js.map +1 -1
- package/dist/{index.cjs303.js → index.cjs273.js} +2 -2
- package/dist/{index.cjs303.js.map → index.cjs273.js.map} +1 -1
- package/dist/index.cjs28.js +1 -1
- package/dist/index.cjs280.js +2 -0
- package/dist/index.cjs280.js.map +1 -0
- package/dist/index.cjs281.js +1 -1
- package/dist/index.cjs281.js.map +1 -1
- package/dist/index.cjs287.js +2 -0
- package/dist/index.cjs287.js.map +1 -0
- package/dist/index.cjs29.js +1 -1
- package/dist/index.cjs290.js +2 -0
- package/dist/index.cjs290.js.map +1 -0
- package/dist/index.cjs291.js +2 -0
- package/dist/index.cjs291.js.map +1 -0
- package/dist/index.cjs292.js +1 -1
- package/dist/index.cjs292.js.map +1 -1
- package/dist/index.cjs293.js +2 -0
- package/dist/index.cjs293.js.map +1 -0
- package/dist/{index.cjs326.js → index.cjs296.js} +2 -2
- package/dist/{index.cjs326.js.map → index.cjs296.js.map} +1 -1
- package/dist/index.cjs298.js +6 -0
- package/dist/index.cjs298.js.map +1 -0
- package/dist/index.cjs299.js +2 -0
- package/dist/index.cjs299.js.map +1 -0
- package/dist/index.cjs30.js +1 -1
- package/dist/index.cjs300.js +1 -1
- package/dist/index.cjs300.js.map +1 -1
- package/dist/index.cjs301.js +2 -0
- package/dist/index.cjs301.js.map +1 -0
- package/dist/index.cjs302.js +1 -1
- package/dist/index.cjs302.js.map +1 -1
- package/dist/{index.cjs334.js → index.cjs304.js} +2 -2
- package/dist/{index.cjs334.js.map → index.cjs304.js.map} +1 -1
- package/dist/{index.cjs335.js → index.cjs305.js} +1 -1
- package/dist/{index.cjs335.js.map → index.cjs305.js.map} +1 -1
- package/dist/{index.cjs336.js → index.cjs306.js} +2 -2
- package/dist/{index.cjs336.js.map → index.cjs306.js.map} +1 -1
- package/dist/{index.cjs339.js → index.cjs309.js} +2 -2
- package/dist/{index.cjs339.js.map → index.cjs309.js.map} +1 -1
- package/dist/index.cjs310.js +1 -1
- package/dist/index.cjs310.js.map +1 -1
- package/dist/{index.cjs344.js → index.cjs314.js} +2 -2
- package/dist/{index.cjs344.js.map → index.cjs314.js.map} +1 -1
- package/dist/{index.cjs346.js → index.cjs316.js} +2 -2
- package/dist/{index.cjs346.js.map → index.cjs316.js.map} +1 -1
- package/dist/index.cjs317.js +1 -1
- package/dist/index.cjs317.js.map +1 -1
- package/dist/index.cjs319.js +2 -0
- package/dist/index.cjs319.js.map +1 -0
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs320.js +1 -1
- package/dist/index.cjs320.js.map +1 -1
- package/dist/index.cjs321.js +1 -1
- package/dist/index.cjs321.js.map +1 -1
- package/dist/index.cjs323.js +1 -1
- package/dist/index.cjs323.js.map +1 -1
- package/dist/{index.cjs354.js → index.cjs324.js} +2 -2
- package/dist/{index.cjs354.js.map → index.cjs324.js.map} +1 -1
- package/dist/{index.cjs355.js → index.cjs325.js} +1 -1
- package/dist/{index.cjs355.js.map → index.cjs325.js.map} +1 -1
- package/dist/{index.cjs357.js → index.cjs327.js} +2 -2
- package/dist/{index.cjs357.js.map → index.cjs327.js.map} +1 -1
- package/dist/index.cjs328.js +1 -5
- package/dist/index.cjs328.js.map +1 -1
- package/dist/index.cjs329.js +1 -1
- package/dist/index.cjs329.js.map +1 -1
- package/dist/index.cjs33.js +1 -1
- package/dist/index.cjs331.js +6 -1
- package/dist/index.cjs331.js.map +1 -1
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs340.js +1 -1
- package/dist/index.cjs340.js.map +1 -1
- package/dist/index.cjs348.js +2 -0
- package/dist/index.cjs348.js.map +1 -0
- package/dist/index.cjs349.js +1 -1
- package/dist/index.cjs349.js.map +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs36.js +1 -1
- package/dist/index.cjs37.js +1 -1
- package/dist/{index.cjs400.js → index.cjs371.js} +2 -2
- package/dist/{index.cjs400.js.map → index.cjs371.js.map} +1 -1
- package/dist/index.cjs377.js +1 -1
- package/dist/index.cjs377.js.map +1 -1
- package/dist/index.cjs38.js +1 -1
- package/dist/{index.cjs409.js → index.cjs380.js} +2 -2
- package/dist/{index.cjs409.js.map → index.cjs380.js.map} +1 -1
- package/dist/{index.cjs411.js → index.cjs382.js} +2 -2
- package/dist/{index.cjs411.js.map → index.cjs382.js.map} +1 -1
- package/dist/{index.cjs412.js → index.cjs383.js} +2 -2
- package/dist/{index.cjs412.js.map → index.cjs383.js.map} +1 -1
- package/dist/{index.cjs413.js → index.cjs384.js} +1 -1
- package/dist/{index.cjs413.js.map → index.cjs384.js.map} +1 -1
- package/dist/index.cjs389.js +2 -0
- package/dist/index.cjs389.js.map +1 -0
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs395.js +2 -0
- package/dist/index.cjs395.js.map +1 -0
- package/dist/index.cjs397.js +2 -0
- package/dist/index.cjs397.js.map +1 -0
- package/dist/{index.cjs427.js → index.cjs398.js} +2 -2
- package/dist/{index.cjs427.js.map → index.cjs398.js.map} +1 -1
- package/dist/index.cjs40.js +1 -1
- package/dist/{index.cjs432.js → index.cjs403.js} +1 -1
- package/dist/{index.cjs432.js.map → index.cjs403.js.map} +1 -1
- package/dist/{index.cjs264.js → index.cjs405.js} +2 -2
- package/dist/{index.cjs264.js.map → index.cjs405.js.map} +1 -1
- package/dist/index.cjs406.js +1 -1
- package/dist/index.cjs406.js.map +1 -1
- package/dist/{index.cjs266.js → index.cjs407.js} +2 -2
- package/dist/{index.cjs266.js.map → index.cjs407.js.map} +1 -1
- package/dist/index.cjs41.js +1 -1
- package/dist/index.cjs41.js.map +1 -1
- package/dist/index.cjs414.js +2 -0
- package/dist/index.cjs414.js.map +1 -0
- package/dist/index.cjs418.js +1 -1
- package/dist/index.cjs418.js.map +1 -1
- package/dist/{index.cjs442.js → index.cjs419.js} +2 -2
- package/dist/{index.cjs442.js.map → index.cjs419.js.map} +1 -1
- package/dist/index.cjs424.js +1 -1
- package/dist/index.cjs424.js.map +1 -1
- package/dist/index.cjs425.js +2 -0
- package/dist/index.cjs425.js.map +1 -0
- package/dist/index.cjs426.js +1 -1
- package/dist/index.cjs426.js.map +1 -1
- package/dist/{index.cjs451.js → index.cjs428.js} +1 -1
- package/dist/{index.cjs451.js.map → index.cjs428.js.map} +1 -1
- package/dist/index.cjs436.js +2 -0
- package/dist/index.cjs436.js.map +1 -0
- package/dist/index.cjs44.js +1 -1
- package/dist/index.cjs443.js +2 -0
- package/dist/index.cjs443.js.map +1 -0
- package/dist/index.cjs447.js +1 -1
- package/dist/index.cjs447.js.map +1 -1
- package/dist/index.cjs448.js +1 -1
- package/dist/index.cjs448.js.map +1 -1
- package/dist/index.cjs45.js +1 -1
- package/dist/index.cjs450.js +2 -0
- package/dist/index.cjs450.js.map +1 -0
- package/dist/{index.cjs274.js → index.cjs452.js} +1 -1
- package/dist/{index.cjs274.js.map → index.cjs452.js.map} +1 -1
- package/dist/{index.cjs278.js → index.cjs456.js} +1 -1
- package/dist/{index.cjs278.js.map → index.cjs456.js.map} +1 -1
- package/dist/index.cjs46.js +1 -1
- package/dist/index.cjs462.js +1 -1
- package/dist/index.cjs462.js.map +1 -1
- package/dist/index.cjs463.js +1 -2
- package/dist/index.cjs463.js.map +1 -1
- package/dist/index.cjs464.js +1 -27
- package/dist/index.cjs464.js.map +1 -1
- package/dist/index.cjs465.js +1 -1
- package/dist/index.cjs465.js.map +1 -1
- package/dist/index.cjs466.js +1 -1
- package/dist/index.cjs466.js.map +1 -1
- package/dist/index.cjs467.js +1 -1
- package/dist/index.cjs467.js.map +1 -1
- package/dist/index.cjs468.js +1 -1
- package/dist/index.cjs468.js.map +1 -1
- package/dist/index.cjs469.js +1 -1
- package/dist/index.cjs469.js.map +1 -1
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs472.js +1 -1
- package/dist/index.cjs472.js.map +1 -1
- package/dist/index.cjs473.js +1 -1
- package/dist/index.cjs473.js.map +1 -1
- package/dist/index.cjs474.js +1 -1
- package/dist/index.cjs474.js.map +1 -1
- package/dist/{index.cjs487.js → index.cjs478.js} +2 -2
- package/dist/{index.cjs487.js.map → index.cjs478.js.map} +1 -1
- package/dist/index.cjs479.js +2 -0
- package/dist/index.cjs479.js.map +1 -0
- package/dist/index.cjs48.js +1 -1
- package/dist/index.cjs480.js +1 -1
- package/dist/index.cjs480.js.map +1 -1
- package/dist/index.cjs481.js +1 -1
- package/dist/index.cjs481.js.map +1 -1
- package/dist/index.cjs482.js +1 -1
- package/dist/index.cjs482.js.map +1 -1
- package/dist/index.cjs483.js +1 -1
- package/dist/index.cjs483.js.map +1 -1
- package/dist/{index.cjs493.js → index.cjs484.js} +2 -2
- package/dist/{index.cjs493.js.map → index.cjs484.js.map} +1 -1
- package/dist/index.cjs488.js +1 -1
- package/dist/index.cjs488.js.map +1 -1
- package/dist/index.cjs49.js +1 -1
- package/dist/index.cjs50.js +1 -1
- package/dist/index.cjs501.js +2 -0
- package/dist/index.cjs501.js.map +1 -0
- package/dist/index.cjs502.js +2 -0
- package/dist/index.cjs502.js.map +1 -0
- package/dist/index.cjs503.js +2 -0
- package/dist/index.cjs503.js.map +1 -0
- package/dist/index.cjs509.js +1 -1
- package/dist/index.cjs509.js.map +1 -1
- package/dist/index.cjs51.js +1 -1
- package/dist/index.cjs510.js +1 -1
- package/dist/{index.cjs518.js → index.cjs511.js} +2 -2
- package/dist/{index.cjs518.js.map → index.cjs511.js.map} +1 -1
- package/dist/{index.cjs519.js → index.cjs512.js} +2 -2
- package/dist/{index.cjs519.js.map → index.cjs512.js.map} +1 -1
- package/dist/index.cjs513.js +2 -0
- package/dist/index.cjs513.js.map +1 -0
- package/dist/index.cjs514.js +2 -0
- package/dist/index.cjs514.js.map +1 -0
- package/dist/index.cjs515.js +2 -0
- package/dist/index.cjs515.js.map +1 -0
- package/dist/index.cjs52.js +1 -1
- package/dist/index.cjs520.js +2 -0
- package/dist/index.cjs520.js.map +1 -0
- package/dist/index.cjs521.js +28 -0
- package/dist/index.cjs521.js.map +1 -0
- package/dist/index.cjs522.js +2 -0
- package/dist/index.cjs522.js.map +1 -0
- package/dist/index.cjs523.js +2 -0
- package/dist/index.cjs523.js.map +1 -0
- package/dist/index.cjs524.js +2 -1
- package/dist/index.cjs524.js.map +1 -1
- package/dist/index.cjs527.js +1 -1
- package/dist/index.cjs527.js.map +1 -1
- package/dist/index.cjs528.js +1 -1
- package/dist/index.cjs528.js.map +1 -1
- package/dist/index.cjs529.js +1 -1
- package/dist/index.cjs529.js.map +1 -1
- package/dist/index.cjs53.js +1 -1
- package/dist/index.cjs530.js +1 -1
- package/dist/index.cjs530.js.map +1 -1
- package/dist/index.cjs531.js +1 -1
- package/dist/index.cjs531.js.map +1 -1
- package/dist/index.cjs532.js +1 -1
- package/dist/index.cjs532.js.map +1 -1
- package/dist/index.cjs533.js +1 -1
- package/dist/index.cjs533.js.map +1 -1
- package/dist/index.cjs534.js +1 -1
- package/dist/index.cjs534.js.map +1 -1
- package/dist/index.cjs535.js +1 -1
- package/dist/index.cjs535.js.map +1 -1
- package/dist/index.cjs536.js +1 -1
- package/dist/index.cjs536.js.map +1 -1
- package/dist/index.cjs537.js +1 -1
- package/dist/index.cjs537.js.map +1 -1
- package/dist/index.cjs538.js +1 -1
- package/dist/index.cjs538.js.map +1 -1
- package/dist/index.cjs539.js +1 -1
- package/dist/index.cjs539.js.map +1 -1
- package/dist/index.cjs54.js +1 -1
- package/dist/index.cjs540.js +1 -1
- package/dist/index.cjs540.js.map +1 -1
- package/dist/index.cjs541.js +1 -1
- package/dist/index.cjs541.js.map +1 -1
- package/dist/index.cjs542.js +1 -1
- package/dist/index.cjs542.js.map +1 -1
- package/dist/index.cjs543.js +1 -1
- package/dist/index.cjs543.js.map +1 -1
- package/dist/index.cjs544.js +1 -1
- package/dist/index.cjs544.js.map +1 -1
- package/dist/index.cjs545.js +1 -1
- package/dist/index.cjs545.js.map +1 -1
- package/dist/index.cjs546.js +1 -1
- package/dist/index.cjs546.js.map +1 -1
- package/dist/index.cjs547.js +1 -1
- package/dist/index.cjs547.js.map +1 -1
- package/dist/index.cjs548.js +1 -1
- package/dist/index.cjs548.js.map +1 -1
- package/dist/index.cjs549.js +1 -1
- package/dist/index.cjs549.js.map +1 -1
- package/dist/index.cjs55.js +1 -1
- package/dist/index.cjs550.js +1 -1
- package/dist/index.cjs550.js.map +1 -1
- package/dist/index.cjs551.js +1 -1
- package/dist/index.cjs551.js.map +1 -1
- package/dist/index.cjs552.js +1 -1
- package/dist/index.cjs552.js.map +1 -1
- package/dist/index.cjs553.js +1 -1
- package/dist/index.cjs553.js.map +1 -1
- package/dist/index.cjs554.js +1 -1
- package/dist/index.cjs554.js.map +1 -1
- package/dist/index.cjs555.js +1 -1
- package/dist/index.cjs555.js.map +1 -1
- package/dist/index.cjs556.js +1 -1
- package/dist/index.cjs556.js.map +1 -1
- package/dist/index.cjs557.js +1 -1
- package/dist/index.cjs557.js.map +1 -1
- package/dist/index.cjs558.js +1 -1
- package/dist/index.cjs558.js.map +1 -1
- package/dist/index.cjs559.js +1 -1
- package/dist/index.cjs559.js.map +1 -1
- package/dist/index.cjs56.js +1 -1
- package/dist/index.cjs560.js +1 -1
- package/dist/index.cjs560.js.map +1 -1
- package/dist/index.cjs561.js +1 -1
- package/dist/index.cjs561.js.map +1 -1
- package/dist/index.cjs562.js +1 -1
- package/dist/index.cjs562.js.map +1 -1
- package/dist/index.cjs563.js +1 -1
- package/dist/index.cjs563.js.map +1 -1
- package/dist/index.cjs564.js +1 -1
- package/dist/index.cjs564.js.map +1 -1
- package/dist/index.cjs565.js +1 -1
- package/dist/index.cjs565.js.map +1 -1
- package/dist/index.cjs566.js +1 -1
- package/dist/index.cjs566.js.map +1 -1
- package/dist/index.cjs567.js +1 -1
- package/dist/index.cjs567.js.map +1 -1
- package/dist/index.cjs568.js +1 -1
- package/dist/index.cjs568.js.map +1 -1
- package/dist/index.cjs569.js +1 -1
- package/dist/index.cjs569.js.map +1 -1
- package/dist/index.cjs57.js +1 -1
- package/dist/index.cjs570.js +1 -1
- package/dist/index.cjs570.js.map +1 -1
- package/dist/index.cjs571.js +1 -1
- package/dist/index.cjs571.js.map +1 -1
- package/dist/index.cjs572.js +1 -1
- package/dist/index.cjs572.js.map +1 -1
- package/dist/index.cjs573.js +1 -1
- package/dist/index.cjs573.js.map +1 -1
- package/dist/index.cjs574.js +1 -1
- package/dist/index.cjs574.js.map +1 -1
- package/dist/index.cjs575.js +1 -1
- package/dist/index.cjs575.js.map +1 -1
- package/dist/index.cjs577.js +1 -1
- package/dist/index.cjs578.js +1 -1
- package/dist/index.cjs58.js +1 -1
- package/dist/index.cjs582.js +1 -1
- package/dist/index.cjs59.js +1 -1
- package/dist/index.cjs6.js +1 -1
- package/dist/index.cjs60.js +1 -1
- package/dist/index.cjs61.js +1 -1
- package/dist/index.cjs618.js +1 -1
- package/dist/index.cjs619.js +1 -1
- package/dist/index.cjs62.js +1 -1
- package/dist/index.cjs624.js +1 -1
- package/dist/index.cjs628.js +1 -1
- package/dist/index.cjs629.js +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs636.js +1 -1
- package/dist/index.cjs641.js +1 -1
- package/dist/index.cjs643.js +1 -1
- package/dist/index.cjs645.js +1 -1
- package/dist/index.cjs647.js +1 -1
- package/dist/index.cjs65.js +1 -1
- package/dist/index.cjs662.js +1 -38
- package/dist/index.cjs662.js.map +1 -1
- package/dist/index.cjs663.js +1 -1
- package/dist/index.cjs663.js.map +1 -1
- package/dist/index.cjs664.js +1 -1
- package/dist/index.cjs664.js.map +1 -1
- package/dist/index.cjs665.js +38 -1
- package/dist/index.cjs665.js.map +1 -1
- package/dist/index.cjs666.js +1 -1
- package/dist/index.cjs666.js.map +1 -1
- package/dist/index.cjs667.js +1 -1
- package/dist/index.cjs667.js.map +1 -1
- package/dist/index.cjs668.js +1 -1
- package/dist/index.cjs668.js.map +1 -1
- package/dist/index.cjs669.js +1 -1
- package/dist/index.cjs669.js.map +1 -1
- package/dist/index.cjs67.js +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs69.js +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.cjs74.js +1 -1
- package/dist/index.cjs75.js +1 -1
- package/dist/index.cjs76.js +1 -1
- package/dist/index.cjs78.js +1 -1
- package/dist/index.cjs79.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs80.js +1 -1
- package/dist/index.cjs81.js +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.cjs99.js +1 -1
- package/dist/index.es10.js +4 -4
- package/dist/index.es100.js +1 -1
- package/dist/index.es102.js +2 -2
- package/dist/index.es104.js +2 -2
- package/dist/index.es105.js +4 -4
- package/dist/index.es106.js +1 -1
- package/dist/index.es107.js +1 -1
- package/dist/index.es109.js +1 -1
- package/dist/index.es11.js +1 -1
- package/dist/index.es111.js +3 -3
- package/dist/index.es112.js +1 -1
- package/dist/index.es113.js +1 -1
- package/dist/index.es114.js +1 -1
- package/dist/index.es115.js +1 -1
- package/dist/index.es117.js +2 -2
- package/dist/index.es118.js +1 -1
- package/dist/index.es119.js +1 -1
- package/dist/index.es12.js +2 -2
- package/dist/index.es121.js +1 -1
- package/dist/index.es123.js +3 -3
- package/dist/index.es124.js +1 -1
- package/dist/index.es125.js +1 -1
- package/dist/index.es126.js +3 -3
- package/dist/index.es127.js +1 -1
- package/dist/index.es128.js +3 -3
- package/dist/index.es129.js +1 -1
- package/dist/index.es13.js +1 -1
- package/dist/index.es130.js +1 -1
- package/dist/index.es131.js +1 -1
- package/dist/index.es132.js +3 -3
- package/dist/index.es133.js +1 -1
- package/dist/index.es135.js +1 -1
- package/dist/index.es136.js +1 -1
- package/dist/index.es138.js +2 -2
- package/dist/index.es14.js +1 -1
- package/dist/index.es140.js +2 -2
- package/dist/index.es141.js +1 -1
- package/dist/index.es142.js +1 -1
- package/dist/index.es143.js +2 -2
- package/dist/index.es144.js +1 -1
- package/dist/index.es147.js +2 -2
- package/dist/index.es149.js +1 -1
- package/dist/index.es15.js +2 -2
- package/dist/index.es151.js +1 -1
- package/dist/index.es152.js +6 -6
- package/dist/index.es153.js +1 -1
- package/dist/index.es156.js +1 -1
- package/dist/index.es157.js +1 -1
- package/dist/index.es158.js +1 -1
- package/dist/index.es159.js +2 -2
- package/dist/index.es16.js +1 -1
- package/dist/index.es160.js +2 -2
- package/dist/index.es161.js +2 -2
- package/dist/index.es162.js +2 -2
- package/dist/index.es163.js +2 -2
- package/dist/index.es164.js +2 -2
- package/dist/index.es165.js +2 -2
- package/dist/index.es166.js +2 -2
- package/dist/index.es167.js +2 -2
- package/dist/index.es168.js +2 -2
- package/dist/index.es169.js +2 -2
- package/dist/index.es17.js +1 -1
- package/dist/index.es170.js +2 -2
- package/dist/index.es171.js +2 -2
- package/dist/index.es172.js +2 -2
- package/dist/index.es173.js +2 -2
- package/dist/index.es174.js +2 -2
- package/dist/index.es175.js +2 -2
- package/dist/index.es176.js +2 -2
- package/dist/index.es177.js +2 -2
- package/dist/index.es178.js +2 -2
- package/dist/index.es179.js +2 -2
- package/dist/index.es18.js +1 -1
- package/dist/index.es180.js +2 -2
- package/dist/index.es181.js +2 -2
- package/dist/index.es182.js +1 -1
- package/dist/index.es183.js +1 -1
- package/dist/index.es184.js +1 -1
- package/dist/index.es185.js +2 -2
- package/dist/index.es186.js +2 -2
- package/dist/index.es187.js +2 -2
- package/dist/index.es189.js +2 -2
- package/dist/index.es19.js +2 -2
- package/dist/index.es190.js +2 -2
- package/dist/index.es191.js +2 -2
- package/dist/index.es192.js +2 -2
- package/dist/index.es193.js +2 -2
- package/dist/index.es194.js +2 -2
- package/dist/index.es195.js +2 -2
- package/dist/index.es196.js +2 -2
- package/dist/index.es197.js +2 -2
- package/dist/index.es198.js +1 -1
- package/dist/index.es199.js +2 -2
- package/dist/index.es20.js +1 -1
- package/dist/index.es200.js +2 -2
- package/dist/index.es201.js +2 -2
- package/dist/index.es202.js +2 -2
- package/dist/index.es203.js +2 -2
- package/dist/index.es204.js +2 -2
- package/dist/index.es205.js +2 -2
- package/dist/index.es206.js +1 -1
- package/dist/index.es207.js +1 -1
- package/dist/index.es208.js +2 -2
- package/dist/index.es209.js +2 -2
- package/dist/index.es21.js +1 -1
- package/dist/index.es210.js +2 -2
- package/dist/index.es211.js +2 -2
- package/dist/index.es212.js +2 -2
- package/dist/index.es213.js +2 -2
- package/dist/index.es214.js +2 -2
- package/dist/index.es215.js +2 -2
- package/dist/index.es216.js +2 -2
- package/dist/index.es217.js +2 -2
- package/dist/index.es223.js +2 -2
- package/dist/index.es225.js +2 -2
- package/dist/index.es226.js +2 -2
- package/dist/index.es227.js +2 -2
- package/dist/index.es24.js +3 -3
- package/dist/index.es248.js +18 -0
- package/dist/index.es248.js.map +1 -0
- package/dist/index.es249.js +27 -15
- package/dist/index.es249.js.map +1 -1
- package/dist/index.es25.js +2 -2
- package/dist/index.es251.js +2 -3
- package/dist/index.es251.js.map +1 -1
- package/dist/{index.es282.js → index.es252.js} +1 -1
- package/dist/{index.es282.js.map → index.es252.js.map} +1 -1
- package/dist/{index.es285.js → index.es255.js} +1 -1
- package/dist/{index.es285.js.map → index.es255.js.map} +1 -1
- package/dist/index.es26.js +2 -2
- package/dist/index.es262.js +25 -0
- package/dist/index.es262.js.map +1 -0
- package/dist/index.es267.js +203 -185
- package/dist/index.es267.js.map +1 -1
- package/dist/index.es27.js +3 -3
- package/dist/index.es270.js +82 -0
- package/dist/index.es270.js.map +1 -0
- package/dist/index.es272.js +143 -47
- package/dist/index.es272.js.map +1 -1
- package/dist/{index.es303.js → index.es273.js} +3 -3
- package/dist/{index.es303.js.map → index.es273.js.map} +1 -1
- package/dist/index.es28.js +2 -2
- package/dist/index.es280.js +136 -0
- package/dist/index.es280.js.map +1 -0
- package/dist/index.es281.js +20 -2
- package/dist/index.es281.js.map +1 -1
- package/dist/index.es287.js +65 -0
- package/dist/index.es287.js.map +1 -0
- package/dist/index.es29.js +1 -1
- package/dist/index.es290.js +7 -0
- package/dist/index.es290.js.map +1 -0
- package/dist/index.es291.js +24 -0
- package/dist/index.es291.js.map +1 -0
- package/dist/index.es292.js +5 -21
- package/dist/index.es292.js.map +1 -1
- package/dist/index.es293.js +8 -0
- package/dist/index.es293.js.map +1 -0
- package/dist/{index.es326.js → index.es296.js} +3 -3
- package/dist/{index.es326.js.map → index.es296.js.map} +1 -1
- package/dist/index.es298.js +262 -0
- package/dist/index.es298.js.map +1 -0
- package/dist/index.es299.js +83 -0
- package/dist/index.es299.js.map +1 -0
- package/dist/index.es30.js +1 -1
- package/dist/index.es300.js +18 -79
- package/dist/index.es300.js.map +1 -1
- package/dist/index.es301.js +18 -0
- package/dist/index.es301.js.map +1 -0
- package/dist/index.es302.js +28 -143
- package/dist/index.es302.js.map +1 -1
- package/dist/{index.es334.js → index.es304.js} +2 -2
- package/dist/{index.es334.js.map → index.es304.js.map} +1 -1
- package/dist/{index.es335.js → index.es305.js} +1 -1
- package/dist/{index.es335.js.map → index.es305.js.map} +1 -1
- package/dist/{index.es336.js → index.es306.js} +2 -2
- package/dist/{index.es336.js.map → index.es306.js.map} +1 -1
- package/dist/{index.es339.js → index.es309.js} +2 -2
- package/dist/{index.es339.js.map → index.es309.js.map} +1 -1
- package/dist/index.es310.js +4 -133
- package/dist/index.es310.js.map +1 -1
- package/dist/{index.es344.js → index.es314.js} +2 -2
- package/dist/{index.es344.js.map → index.es314.js.map} +1 -1
- package/dist/{index.es346.js → index.es316.js} +2 -2
- package/dist/{index.es346.js.map → index.es316.js.map} +1 -1
- package/dist/index.es317.js +24 -58
- package/dist/index.es317.js.map +1 -1
- package/dist/index.es319.js +11 -0
- package/dist/index.es319.js.map +1 -0
- package/dist/index.es32.js +3 -3
- package/dist/index.es320.js +26 -4
- package/dist/index.es320.js.map +1 -1
- package/dist/index.es321.js +6 -21
- package/dist/index.es321.js.map +1 -1
- package/dist/index.es323.js +26 -5
- package/dist/index.es323.js.map +1 -1
- package/dist/{index.es354.js → index.es324.js} +2 -2
- package/dist/{index.es354.js.map → index.es324.js.map} +1 -1
- package/dist/{index.es355.js → index.es325.js} +1 -1
- package/dist/{index.es355.js.map → index.es325.js.map} +1 -1
- package/dist/{index.es357.js → index.es327.js} +3 -3
- package/dist/{index.es357.js.map → index.es327.js.map} +1 -1
- package/dist/index.es328.js +24 -255
- package/dist/index.es328.js.map +1 -1
- package/dist/index.es329.js +112 -76
- package/dist/index.es329.js.map +1 -1
- package/dist/index.es33.js +3 -3
- package/dist/index.es331.js +58 -14
- package/dist/index.es331.js.map +1 -1
- package/dist/index.es34.js +1 -1
- package/dist/index.es340.js +1 -6
- package/dist/index.es340.js.map +1 -1
- package/dist/index.es348.js +28 -0
- package/dist/index.es348.js.map +1 -0
- package/dist/index.es349.js +6 -8
- package/dist/index.es349.js.map +1 -1
- package/dist/index.es35.js +1 -1
- package/dist/index.es36.js +1 -1
- package/dist/index.es37.js +2 -2
- package/dist/{index.es400.js → index.es371.js} +6 -6
- package/dist/{index.es400.js.map → index.es371.js.map} +1 -1
- package/dist/index.es377.js +3 -25
- package/dist/index.es377.js.map +1 -1
- package/dist/index.es38.js +1 -1
- package/dist/{index.es409.js → index.es380.js} +2 -2
- package/dist/{index.es409.js.map → index.es380.js.map} +1 -1
- package/dist/{index.es411.js → index.es382.js} +2 -2
- package/dist/{index.es411.js.map → index.es382.js.map} +1 -1
- package/dist/{index.es412.js → index.es383.js} +2 -2
- package/dist/{index.es412.js.map → index.es383.js.map} +1 -1
- package/dist/{index.es413.js → index.es384.js} +1 -1
- package/dist/{index.es413.js.map → index.es384.js.map} +1 -1
- package/dist/index.es389.js +18 -0
- package/dist/index.es389.js.map +1 -0
- package/dist/index.es39.js +5 -5
- package/dist/index.es395.js +38 -0
- package/dist/index.es395.js.map +1 -0
- package/dist/index.es397.js +12 -0
- package/dist/index.es397.js.map +1 -0
- package/dist/{index.es427.js → index.es398.js} +2 -2
- package/dist/{index.es427.js.map → index.es398.js.map} +1 -1
- package/dist/index.es40.js +5 -5
- package/dist/{index.es432.js → index.es403.js} +1 -1
- package/dist/{index.es432.js.map → index.es403.js.map} +1 -1
- package/dist/{index.es264.js → index.es405.js} +4 -4
- package/dist/{index.es264.js.map → index.es405.js.map} +1 -1
- package/dist/index.es406.js +125 -3
- package/dist/index.es406.js.map +1 -1
- package/dist/{index.es266.js → index.es407.js} +4 -4
- package/dist/{index.es266.js.map → index.es407.js.map} +1 -1
- package/dist/index.es41.js +21 -23
- package/dist/index.es41.js.map +1 -1
- package/dist/index.es414.js +6 -0
- package/dist/index.es414.js.map +1 -0
- package/dist/index.es418.js +6 -15
- package/dist/index.es418.js.map +1 -1
- package/dist/{index.es442.js → index.es419.js} +2 -2
- package/dist/{index.es442.js.map → index.es419.js.map} +1 -1
- package/dist/index.es424.js +32 -35
- package/dist/index.es424.js.map +1 -1
- package/dist/index.es425.js +107 -0
- package/dist/index.es425.js.map +1 -0
- package/dist/index.es426.js +5 -9
- package/dist/index.es426.js.map +1 -1
- package/dist/{index.es451.js → index.es428.js} +1 -1
- package/dist/{index.es451.js.map → index.es428.js.map} +1 -1
- package/dist/index.es436.js +6 -0
- package/dist/index.es436.js.map +1 -0
- package/dist/index.es44.js +1 -1
- package/dist/index.es443.js +8 -0
- package/dist/index.es443.js.map +1 -0
- package/dist/index.es447.js +8 -31
- package/dist/index.es447.js.map +1 -1
- package/dist/index.es448.js +187 -102
- package/dist/index.es448.js.map +1 -1
- package/dist/index.es45.js +6 -6
- package/dist/index.es450.js +50 -0
- package/dist/index.es450.js.map +1 -0
- package/dist/{index.es274.js → index.es452.js} +1 -1
- package/dist/{index.es274.js.map → index.es452.js.map} +1 -1
- package/dist/{index.es278.js → index.es456.js} +1 -1
- package/dist/{index.es278.js.map → index.es456.js.map} +1 -1
- package/dist/index.es46.js +4 -4
- package/dist/index.es462.js +6 -5
- package/dist/index.es462.js.map +1 -1
- package/dist/index.es463.js +24 -518
- package/dist/index.es463.js.map +1 -1
- package/dist/index.es464.js +66 -3673
- package/dist/index.es464.js.map +1 -1
- package/dist/index.es465.js +29 -5
- package/dist/index.es465.js.map +1 -1
- package/dist/index.es466.js +33 -2
- package/dist/index.es466.js.map +1 -1
- package/dist/index.es467.js +610 -2020
- package/dist/index.es467.js.map +1 -1
- package/dist/index.es468.js +10 -59
- package/dist/index.es468.js.map +1 -1
- package/dist/index.es469.js +15 -189
- package/dist/index.es469.js.map +1 -1
- package/dist/index.es47.js +3 -3
- package/dist/index.es472.js +4 -66
- package/dist/index.es472.js.map +1 -1
- package/dist/index.es473.js +24 -29
- package/dist/index.es473.js.map +1 -1
- package/dist/index.es474.js +67 -31
- package/dist/index.es474.js.map +1 -1
- package/dist/{index.es487.js → index.es478.js} +6 -6
- package/dist/{index.es487.js.map → index.es478.js.map} +1 -1
- package/dist/index.es479.js +138 -0
- package/dist/index.es479.js.map +1 -0
- package/dist/index.es48.js +1 -1
- package/dist/index.es480.js +14 -6
- package/dist/index.es480.js.map +1 -1
- package/dist/index.es481.js +14 -24
- package/dist/index.es481.js.map +1 -1
- package/dist/index.es482.js +9 -69
- package/dist/index.es482.js.map +1 -1
- package/dist/index.es483.js +50 -15
- package/dist/index.es483.js.map +1 -1
- package/dist/{index.es493.js → index.es484.js} +2 -2
- package/dist/{index.es493.js.map → index.es484.js.map} +1 -1
- package/dist/index.es488.js +13 -133
- package/dist/index.es488.js.map +1 -1
- package/dist/index.es49.js +2 -2
- package/dist/index.es50.js +2 -2
- package/dist/index.es501.js +77 -0
- package/dist/index.es501.js.map +1 -0
- package/dist/index.es502.js +9 -0
- package/dist/index.es502.js.map +1 -0
- package/dist/index.es503.js +5 -0
- package/dist/index.es503.js.map +1 -0
- package/dist/index.es509.js +20 -73
- package/dist/index.es509.js.map +1 -1
- package/dist/index.es51.js +3 -3
- package/dist/index.es510.js +2 -2
- package/dist/index.es511.js +57 -0
- package/dist/{index.es518.js.map → index.es511.js.map} +1 -1
- package/dist/{index.es519.js → index.es512.js} +2 -2
- package/dist/{index.es519.js.map → index.es512.js.map} +1 -1
- package/dist/index.es513.js +2035 -0
- package/dist/index.es513.js.map +1 -0
- package/dist/index.es514.js +63 -0
- package/dist/index.es514.js.map +1 -0
- package/dist/index.es515.js +192 -0
- package/dist/index.es515.js.map +1 -0
- package/dist/index.es52.js +4 -4
- package/dist/index.es520.js +8 -0
- package/dist/index.es520.js.map +1 -0
- package/dist/index.es521.js +3678 -0
- package/dist/index.es521.js.map +1 -0
- package/dist/index.es522.js +5 -0
- package/dist/index.es522.js.map +1 -0
- package/dist/index.es523.js +9 -0
- package/dist/index.es523.js.map +1 -0
- package/dist/index.es524.js +520 -4
- package/dist/index.es524.js.map +1 -1
- package/dist/index.es527.js +10 -132
- package/dist/index.es527.js.map +1 -1
- package/dist/index.es528.js +42 -174
- package/dist/index.es528.js.map +1 -1
- package/dist/index.es529.js +13 -9
- package/dist/index.es529.js.map +1 -1
- package/dist/index.es53.js +4 -4
- package/dist/index.es530.js +217 -3
- package/dist/index.es530.js.map +1 -1
- package/dist/index.es531.js +177 -10
- package/dist/index.es531.js.map +1 -1
- package/dist/index.es532.js +4 -46
- package/dist/index.es532.js.map +1 -1
- package/dist/index.es533.js +11 -13
- package/dist/index.es533.js.map +1 -1
- package/dist/index.es534.js +2 -220
- package/dist/index.es534.js.map +1 -1
- package/dist/index.es535.js +2 -178
- package/dist/index.es535.js.map +1 -1
- package/dist/index.es536.js +6 -4
- package/dist/index.es536.js.map +1 -1
- package/dist/index.es537.js +16 -2
- package/dist/index.es537.js.map +1 -1
- package/dist/index.es538.js +5 -11
- package/dist/index.es538.js.map +1 -1
- package/dist/index.es539.js +6 -2
- package/dist/index.es539.js.map +1 -1
- package/dist/index.es54.js +1 -1
- package/dist/index.es540.js +3 -3
- package/dist/index.es540.js.map +1 -1
- package/dist/index.es541.js +4 -12
- package/dist/index.es541.js.map +1 -1
- package/dist/index.es542.js +5 -5
- package/dist/index.es542.js.map +1 -1
- package/dist/index.es543.js +3 -3
- package/dist/index.es543.js.map +1 -1
- package/dist/index.es544.js +1 -1
- package/dist/index.es544.js.map +1 -1
- package/dist/index.es545.js +3 -3
- package/dist/index.es545.js.map +1 -1
- package/dist/index.es546.js +3 -3
- package/dist/index.es546.js.map +1 -1
- package/dist/index.es547.js +3 -3
- package/dist/index.es547.js.map +1 -1
- package/dist/index.es548.js +1 -1
- package/dist/index.es548.js.map +1 -1
- package/dist/index.es549.js +3 -3
- package/dist/index.es549.js.map +1 -1
- package/dist/index.es55.js +2 -2
- package/dist/index.es550.js +1 -1
- package/dist/index.es550.js.map +1 -1
- package/dist/index.es551.js +3 -3
- package/dist/index.es551.js.map +1 -1
- package/dist/index.es552.js +5 -5
- package/dist/index.es552.js.map +1 -1
- package/dist/index.es553.js +8 -4
- package/dist/index.es553.js.map +1 -1
- package/dist/index.es554.js +3 -3
- package/dist/index.es554.js.map +1 -1
- package/dist/index.es555.js +1 -1
- package/dist/index.es555.js.map +1 -1
- package/dist/index.es556.js +3 -3
- package/dist/index.es556.js.map +1 -1
- package/dist/index.es557.js +4 -8
- package/dist/index.es557.js.map +1 -1
- package/dist/index.es558.js +3 -3
- package/dist/index.es558.js.map +1 -1
- package/dist/index.es559.js +10 -5
- package/dist/index.es559.js.map +1 -1
- package/dist/index.es56.js +1 -1
- package/dist/index.es560.js +3 -3
- package/dist/index.es560.js.map +1 -1
- package/dist/index.es561.js +3 -3
- package/dist/index.es561.js.map +1 -1
- package/dist/index.es562.js +3 -3
- package/dist/index.es562.js.map +1 -1
- package/dist/index.es563.js +5 -10
- package/dist/index.es563.js.map +1 -1
- package/dist/index.es564.js +1 -1
- package/dist/index.es564.js.map +1 -1
- package/dist/index.es565.js +3 -3
- package/dist/index.es565.js.map +1 -1
- package/dist/index.es566.js +10 -4
- package/dist/index.es566.js.map +1 -1
- package/dist/index.es567.js +1 -1
- package/dist/index.es567.js.map +1 -1
- package/dist/index.es568.js +3 -3
- package/dist/index.es568.js.map +1 -1
- package/dist/index.es569.js +8 -5
- package/dist/index.es569.js.map +1 -1
- package/dist/index.es57.js +3 -3
- package/dist/index.es570.js +14 -9
- package/dist/index.es570.js.map +1 -1
- package/dist/index.es571.js +2 -6
- package/dist/index.es571.js.map +1 -1
- package/dist/index.es572.js +9 -5
- package/dist/index.es572.js.map +1 -1
- package/dist/index.es573.js +177 -8
- package/dist/index.es573.js.map +1 -1
- package/dist/index.es574.js +3 -16
- package/dist/index.es574.js.map +1 -1
- package/dist/index.es575.js +133 -2
- package/dist/index.es575.js.map +1 -1
- package/dist/index.es577.js +1 -1
- package/dist/index.es578.js +3 -3
- package/dist/index.es58.js +1 -1
- package/dist/index.es582.js +1 -1
- package/dist/index.es59.js +1 -1
- package/dist/index.es6.js +2 -2
- package/dist/index.es60.js +1 -1
- package/dist/index.es61.js +2 -2
- package/dist/index.es618.js +1 -1
- package/dist/index.es619.js +1 -1
- package/dist/index.es62.js +1 -1
- package/dist/index.es624.js +1 -1
- package/dist/index.es628.js +2 -2
- package/dist/index.es629.js +15 -15
- package/dist/index.es63.js +1 -1
- package/dist/index.es636.js +8 -8
- package/dist/index.es641.js +8 -8
- package/dist/index.es643.js +1 -1
- package/dist/index.es645.js +1 -1
- package/dist/index.es647.js +4 -4
- package/dist/index.es65.js +2 -2
- package/dist/index.es662.js +518 -64
- package/dist/index.es662.js.map +1 -1
- package/dist/index.es663.js +126 -8
- package/dist/index.es663.js.map +1 -1
- package/dist/index.es664.js +128 -13
- package/dist/index.es664.js.map +1 -1
- package/dist/index.es665.js +68 -61
- package/dist/index.es665.js.map +1 -1
- package/dist/index.es666.js +8 -64
- package/dist/index.es666.js.map +1 -1
- package/dist/index.es667.js +11 -520
- package/dist/index.es667.js.map +1 -1
- package/dist/index.es668.js +61 -126
- package/dist/index.es668.js.map +1 -1
- package/dist/index.es669.js +61 -125
- package/dist/index.es669.js.map +1 -1
- package/dist/index.es67.js +1 -1
- package/dist/index.es68.js +2 -2
- package/dist/index.es69.js +1 -1
- package/dist/index.es7.js +2 -2
- package/dist/index.es70.js +3 -3
- package/dist/index.es72.js +1 -1
- package/dist/index.es74.js +1 -1
- package/dist/index.es75.js +1 -1
- package/dist/index.es76.js +3 -3
- package/dist/index.es78.js +1 -1
- package/dist/index.es79.js +1 -1
- package/dist/index.es8.js +2 -2
- package/dist/index.es80.js +1 -1
- package/dist/index.es81.js +1 -1
- package/dist/index.es9.js +4 -4
- package/dist/index.es99.js +1 -1
- package/package.json +1 -1
- package/dist/index.cjs258.js +0 -2
- package/dist/index.cjs258.js.map +0 -1
- package/dist/index.cjs259.js +0 -7
- package/dist/index.cjs259.js.map +0 -1
- package/dist/index.cjs263.js +0 -2
- package/dist/index.cjs263.js.map +0 -1
- package/dist/index.cjs265.js +0 -2
- package/dist/index.cjs265.js.map +0 -1
- package/dist/index.cjs279.js +0 -2
- package/dist/index.cjs279.js.map +0 -1
- package/dist/index.cjs297.js +0 -2
- package/dist/index.cjs297.js.map +0 -1
- package/dist/index.cjs311.js +0 -2
- package/dist/index.cjs311.js.map +0 -1
- package/dist/index.cjs322.js +0 -2
- package/dist/index.cjs322.js.map +0 -1
- package/dist/index.cjs330.js +0 -2
- package/dist/index.cjs330.js.map +0 -1
- package/dist/index.cjs332.js +0 -2
- package/dist/index.cjs332.js.map +0 -1
- package/dist/index.cjs347.js +0 -2
- package/dist/index.cjs347.js.map +0 -1
- package/dist/index.cjs350.js +0 -2
- package/dist/index.cjs350.js.map +0 -1
- package/dist/index.cjs351.js +0 -2
- package/dist/index.cjs351.js.map +0 -1
- package/dist/index.cjs353.js +0 -2
- package/dist/index.cjs353.js.map +0 -1
- package/dist/index.cjs358.js +0 -2
- package/dist/index.cjs358.js.map +0 -1
- package/dist/index.cjs359.js +0 -2
- package/dist/index.cjs359.js.map +0 -1
- package/dist/index.cjs369.js +0 -2
- package/dist/index.cjs369.js.map +0 -1
- package/dist/index.cjs378.js +0 -2
- package/dist/index.cjs378.js.map +0 -1
- package/dist/index.cjs437.js +0 -2
- package/dist/index.cjs437.js.map +0 -1
- package/dist/index.cjs441.js +0 -2
- package/dist/index.cjs441.js.map +0 -1
- package/dist/index.cjs449.js +0 -2
- package/dist/index.cjs449.js.map +0 -1
- package/dist/index.cjs470.js +0 -2
- package/dist/index.cjs470.js.map +0 -1
- package/dist/index.cjs471.js +0 -2
- package/dist/index.cjs471.js.map +0 -1
- package/dist/index.cjs475.js +0 -2
- package/dist/index.cjs475.js.map +0 -1
- package/dist/index.cjs476.js +0 -2
- package/dist/index.cjs476.js.map +0 -1
- package/dist/index.cjs477.js +0 -2
- package/dist/index.cjs477.js.map +0 -1
- package/dist/index.cjs489.js +0 -2
- package/dist/index.cjs489.js.map +0 -1
- package/dist/index.cjs490.js +0 -2
- package/dist/index.cjs490.js.map +0 -1
- package/dist/index.cjs491.js +0 -2
- package/dist/index.cjs491.js.map +0 -1
- package/dist/index.cjs492.js +0 -2
- package/dist/index.cjs492.js.map +0 -1
- package/dist/index.cjs516.js +0 -2
- package/dist/index.cjs516.js.map +0 -1
- package/dist/index.cjs517.js +0 -2
- package/dist/index.cjs517.js.map +0 -1
- package/dist/index.es258.js +0 -8
- package/dist/index.es258.js.map +0 -1
- package/dist/index.es259.js +0 -62
- package/dist/index.es259.js.map +0 -1
- package/dist/index.es263.js +0 -12
- package/dist/index.es263.js.map +0 -1
- package/dist/index.es265.js +0 -128
- package/dist/index.es265.js.map +0 -1
- package/dist/index.es279.js +0 -30
- package/dist/index.es279.js.map +0 -1
- package/dist/index.es297.js +0 -210
- package/dist/index.es297.js.map +0 -1
- package/dist/index.es311.js +0 -23
- package/dist/index.es311.js.map +0 -1
- package/dist/index.es322.js +0 -9
- package/dist/index.es322.js.map +0 -1
- package/dist/index.es330.js +0 -21
- package/dist/index.es330.js.map +0 -1
- package/dist/index.es332.js +0 -31
- package/dist/index.es332.js.map +0 -1
- package/dist/index.es347.js +0 -31
- package/dist/index.es347.js.map +0 -1
- package/dist/index.es350.js +0 -29
- package/dist/index.es350.js.map +0 -1
- package/dist/index.es351.js +0 -9
- package/dist/index.es351.js.map +0 -1
- package/dist/index.es353.js +0 -29
- package/dist/index.es353.js.map +0 -1
- package/dist/index.es358.js +0 -31
- package/dist/index.es358.js.map +0 -1
- package/dist/index.es359.js +0 -119
- package/dist/index.es359.js.map +0 -1
- package/dist/index.es369.js +0 -2
- package/dist/index.es369.js.map +0 -1
- package/dist/index.es378.js +0 -9
- package/dist/index.es378.js.map +0 -1
- package/dist/index.es437.js +0 -6
- package/dist/index.es437.js.map +0 -1
- package/dist/index.es441.js +0 -9
- package/dist/index.es441.js.map +0 -1
- package/dist/index.es449.js +0 -8
- package/dist/index.es449.js.map +0 -1
- package/dist/index.es470.js +0 -10
- package/dist/index.es470.js.map +0 -1
- package/dist/index.es471.js +0 -30
- package/dist/index.es471.js.map +0 -1
- package/dist/index.es475.js +0 -625
- package/dist/index.es475.js.map +0 -1
- package/dist/index.es476.js +0 -14
- package/dist/index.es476.js.map +0 -1
- package/dist/index.es477.js +0 -18
- package/dist/index.es477.js.map +0 -1
- package/dist/index.es489.js +0 -17
- package/dist/index.es489.js.map +0 -1
- package/dist/index.es490.js +0 -18
- package/dist/index.es490.js.map +0 -1
- package/dist/index.es491.js +0 -12
- package/dist/index.es491.js.map +0 -1
- package/dist/index.es492.js +0 -53
- package/dist/index.es492.js.map +0 -1
- package/dist/index.es516.js +0 -24
- package/dist/index.es516.js.map +0 -1
- package/dist/index.es517.js +0 -5
- package/dist/index.es517.js.map +0 -1
- package/dist/index.es518.js +0 -57
- /package/dist/components/ui/{CardMapDoctor/CardMapDoctor.css → CardMapDoctorV2/CardMapDoctorV2.css} +0 -0
package/dist/index.cjs483.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs483.js","sources":["../node_modules/usehooks-ts/dist/index.js"],"sourcesContent":["import { useState, useCallback, useLayoutEffect, useEffect, useRef, useMemo } from 'react';\nimport debounce from 'lodash.debounce';\n\n// src/useBoolean/useBoolean.ts\nfunction useBoolean(defaultValue = false) {\n if (typeof defaultValue !== \"boolean\") {\n throw new Error(\"defaultValue must be `true` or `false`\");\n }\n const [value, setValue] = useState(defaultValue);\n const setTrue = useCallback(() => {\n setValue(true);\n }, []);\n const setFalse = useCallback(() => {\n setValue(false);\n }, []);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return { value, setValue, setTrue, setFalse, toggle };\n}\nvar useIsomorphicLayoutEffect = typeof window !== \"undefined\" ? useLayoutEffect : useEffect;\n\n// src/useEventListener/useEventListener.ts\nfunction useEventListener(eventName, handler, element, options) {\n const savedHandler = useRef(handler);\n useIsomorphicLayoutEffect(() => {\n savedHandler.current = handler;\n }, [handler]);\n useEffect(() => {\n const targetElement = (element == null ? void 0 : element.current) ?? window;\n if (!(targetElement && targetElement.addEventListener))\n return;\n const listener = (event) => {\n savedHandler.current(event);\n };\n targetElement.addEventListener(eventName, listener, options);\n return () => {\n targetElement.removeEventListener(eventName, listener, options);\n };\n }, [eventName, element, options]);\n}\n\n// src/useClickAnyWhere/useClickAnyWhere.ts\nfunction useClickAnyWhere(handler) {\n useEventListener(\"click\", (event) => {\n handler(event);\n });\n}\nfunction useCopyToClipboard() {\n const [copiedText, setCopiedText] = useState(null);\n const copy = useCallback(async (text) => {\n if (!(navigator == null ? void 0 : navigator.clipboard)) {\n console.warn(\"Clipboard not supported\");\n return false;\n }\n try {\n await navigator.clipboard.writeText(text);\n setCopiedText(text);\n return true;\n } catch (error) {\n console.warn(\"Copy failed\", error);\n setCopiedText(null);\n return false;\n }\n }, []);\n return [copiedText, copy];\n}\nfunction useCounter(initialValue) {\n const [count, setCount] = useState(initialValue ?? 0);\n const increment = useCallback(() => {\n setCount((x) => x + 1);\n }, []);\n const decrement = useCallback(() => {\n setCount((x) => x - 1);\n }, []);\n const reset = useCallback(() => {\n setCount(initialValue ?? 0);\n }, [initialValue]);\n return {\n count,\n increment,\n decrement,\n reset,\n setCount\n };\n}\nfunction useInterval(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (delay === null) {\n return;\n }\n const id = setInterval(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearInterval(id);\n };\n }, [delay]);\n}\n\n// src/useCountdown/useCountdown.ts\nfunction useCountdown({\n countStart,\n countStop = 0,\n intervalMs = 1e3,\n isIncrement = false\n}) {\n const {\n count,\n increment,\n decrement,\n reset: resetCounter\n } = useCounter(countStart);\n const {\n value: isCountdownRunning,\n setTrue: startCountdown,\n setFalse: stopCountdown\n } = useBoolean(false);\n const resetCountdown = useCallback(() => {\n stopCountdown();\n resetCounter();\n }, [stopCountdown, resetCounter]);\n const countdownCallback = useCallback(() => {\n if (count === countStop) {\n stopCountdown();\n return;\n }\n if (isIncrement) {\n increment();\n } else {\n decrement();\n }\n }, [count, countStop, decrement, increment, isIncrement, stopCountdown]);\n useInterval(countdownCallback, isCountdownRunning ? intervalMs : null);\n return [count, { startCountdown, stopCountdown, resetCountdown }];\n}\nfunction useEventCallback(fn) {\n const ref = useRef(() => {\n throw new Error(\"Cannot call an event handler while rendering.\");\n });\n useIsomorphicLayoutEffect(() => {\n ref.current = fn;\n }, [fn]);\n return useCallback((...args) => {\n var _a;\n return (_a = ref.current) == null ? void 0 : _a.call(ref, ...args);\n }, [ref]);\n}\n\n// src/useLocalStorage/useLocalStorage.ts\nvar IS_SERVER = typeof window === \"undefined\";\nfunction useLocalStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER) {\n return initialValueToUse;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER) {\n console.warn(\n `Tried setting localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.localStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting localStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER) {\n console.warn(\n `Tried removing localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.localStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nvar IS_SERVER2 = typeof window === \"undefined\";\nfunction useMediaQuery(query, {\n defaultValue = false,\n initializeWithValue = true\n} = {}) {\n const getMatches = (query2) => {\n if (IS_SERVER2) {\n return defaultValue;\n }\n return window.matchMedia(query2).matches;\n };\n const [matches, setMatches] = useState(() => {\n if (initializeWithValue) {\n return getMatches(query);\n }\n return defaultValue;\n });\n function handleChange() {\n setMatches(getMatches(query));\n }\n useIsomorphicLayoutEffect(() => {\n const matchMedia = window.matchMedia(query);\n handleChange();\n if (matchMedia.addListener) {\n matchMedia.addListener(handleChange);\n } else {\n matchMedia.addEventListener(\"change\", handleChange);\n }\n return () => {\n if (matchMedia.removeListener) {\n matchMedia.removeListener(handleChange);\n } else {\n matchMedia.removeEventListener(\"change\", handleChange);\n }\n };\n }, [query]);\n return matches;\n}\n\n// src/useDarkMode/useDarkMode.ts\nvar COLOR_SCHEME_QUERY = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY = \"usehooks-ts-dark-mode\";\nfunction useDarkMode(options = {}) {\n const {\n defaultValue,\n localStorageKey = LOCAL_STORAGE_KEY,\n initializeWithValue = true\n } = options;\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY, {\n initializeWithValue,\n defaultValue\n });\n const [isDarkMode, setDarkMode] = useLocalStorage(\n localStorageKey,\n defaultValue ?? isDarkOS ?? false,\n { initializeWithValue }\n );\n useIsomorphicLayoutEffect(() => {\n if (isDarkOS !== isDarkMode) {\n setDarkMode(isDarkOS);\n }\n }, [isDarkOS]);\n return {\n isDarkMode,\n toggle: () => {\n setDarkMode((prev) => !prev);\n },\n enable: () => {\n setDarkMode(true);\n },\n disable: () => {\n setDarkMode(false);\n },\n set: (value) => {\n setDarkMode(value);\n }\n };\n}\nfunction useUnmount(func) {\n const funcRef = useRef(func);\n funcRef.current = func;\n useEffect(\n () => () => {\n funcRef.current();\n },\n []\n );\n}\n\n// src/useDebounceCallback/useDebounceCallback.ts\nfunction useDebounceCallback(func, delay = 500, options) {\n const debouncedFunc = useRef();\n useUnmount(() => {\n if (debouncedFunc.current) {\n debouncedFunc.current.cancel();\n }\n });\n const debounced = useMemo(() => {\n const debouncedFuncInstance = debounce(func, delay, options);\n const wrappedFunc = (...args) => {\n return debouncedFuncInstance(...args);\n };\n wrappedFunc.cancel = () => {\n debouncedFuncInstance.cancel();\n };\n wrappedFunc.isPending = () => {\n return !!debouncedFunc.current;\n };\n wrappedFunc.flush = () => {\n return debouncedFuncInstance.flush();\n };\n return wrappedFunc;\n }, [func, delay, options]);\n useEffect(() => {\n debouncedFunc.current = debounce(func, delay, options);\n }, [func, delay, options]);\n return debounced;\n}\nfunction useDebounceValue(initialValue, delay, options) {\n const eq = (options == null ? void 0 : options.equalityFn) ?? ((left, right) => left === right);\n const unwrappedInitialValue = initialValue instanceof Function ? initialValue() : initialValue;\n const [debouncedValue, setDebouncedValue] = useState(unwrappedInitialValue);\n const previousValueRef = useRef(unwrappedInitialValue);\n const updateDebouncedValue = useDebounceCallback(\n setDebouncedValue,\n delay,\n options\n );\n if (!eq(previousValueRef.current, unwrappedInitialValue)) {\n updateDebouncedValue(unwrappedInitialValue);\n previousValueRef.current = unwrappedInitialValue;\n }\n return [debouncedValue, updateDebouncedValue];\n}\nfunction useDocumentTitle(title, options = {}) {\n const { preserveTitleOnUnmount = true } = options;\n const defaultTitle = useRef(null);\n useIsomorphicLayoutEffect(() => {\n defaultTitle.current = window.document.title;\n }, []);\n useIsomorphicLayoutEffect(() => {\n window.document.title = title;\n }, [title]);\n useUnmount(() => {\n if (!preserveTitleOnUnmount && defaultTitle.current) {\n window.document.title = defaultTitle.current;\n }\n });\n}\nfunction useHover(elementRef) {\n const [value, setValue] = useState(false);\n const handleMouseEnter = () => {\n setValue(true);\n };\n const handleMouseLeave = () => {\n setValue(false);\n };\n useEventListener(\"mouseenter\", handleMouseEnter, elementRef);\n useEventListener(\"mouseleave\", handleMouseLeave, elementRef);\n return value;\n}\nfunction useIntersectionObserver({\n threshold = 0,\n root = null,\n rootMargin = \"0%\",\n freezeOnceVisible = false,\n initialIsIntersecting = false,\n onChange\n} = {}) {\n var _a;\n const [ref, setRef] = useState(null);\n const [state, setState] = useState(() => ({\n isIntersecting: initialIsIntersecting,\n entry: void 0\n }));\n const callbackRef = useRef();\n callbackRef.current = onChange;\n const frozen = ((_a = state.entry) == null ? void 0 : _a.isIntersecting) && freezeOnceVisible;\n useEffect(() => {\n if (!ref)\n return;\n if (!(\"IntersectionObserver\" in window))\n return;\n if (frozen)\n return;\n let unobserve;\n const observer = new IntersectionObserver(\n (entries) => {\n const thresholds = Array.isArray(observer.thresholds) ? observer.thresholds : [observer.thresholds];\n entries.forEach((entry) => {\n const isIntersecting = entry.isIntersecting && thresholds.some((threshold2) => entry.intersectionRatio >= threshold2);\n setState({ isIntersecting, entry });\n if (callbackRef.current) {\n callbackRef.current(isIntersecting, entry);\n }\n if (isIntersecting && freezeOnceVisible && unobserve) {\n unobserve();\n unobserve = void 0;\n }\n });\n },\n { threshold, root, rootMargin }\n );\n observer.observe(ref);\n return () => {\n observer.disconnect();\n };\n }, [\n ref,\n // eslint-disable-next-line react-hooks/exhaustive-deps\n JSON.stringify(threshold),\n root,\n rootMargin,\n frozen,\n freezeOnceVisible\n ]);\n const prevRef = useRef(null);\n useEffect(() => {\n var _a2;\n if (!ref && ((_a2 = state.entry) == null ? void 0 : _a2.target) && !freezeOnceVisible && !frozen && prevRef.current !== state.entry.target) {\n prevRef.current = state.entry.target;\n setState({ isIntersecting: initialIsIntersecting, entry: void 0 });\n }\n }, [ref, state.entry, freezeOnceVisible, frozen, initialIsIntersecting]);\n const result = [\n setRef,\n !!state.isIntersecting,\n state.entry\n ];\n result.ref = result[0];\n result.isIntersecting = result[1];\n result.entry = result[2];\n return result;\n}\nfunction useIsClient() {\n const [isClient, setClient] = useState(false);\n useEffect(() => {\n setClient(true);\n }, []);\n return isClient;\n}\nfunction useIsMounted() {\n const isMounted = useRef(false);\n useEffect(() => {\n isMounted.current = true;\n return () => {\n isMounted.current = false;\n };\n }, []);\n return useCallback(() => isMounted.current, []);\n}\nfunction useMap(initialState = /* @__PURE__ */ new Map()) {\n const [map, setMap] = useState(new Map(initialState));\n const actions = {\n set: useCallback((key, value) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.set(key, value);\n return copy;\n });\n }, []),\n setAll: useCallback((entries) => {\n setMap(() => new Map(entries));\n }, []),\n remove: useCallback((key) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.delete(key);\n return copy;\n });\n }, []),\n reset: useCallback(() => {\n setMap(() => /* @__PURE__ */ new Map());\n }, [])\n };\n return [map, actions];\n}\n\n// src/useOnClickOutside/useOnClickOutside.ts\nfunction useOnClickOutside(ref, handler, eventType = \"mousedown\", eventListenerOptions = {}) {\n useEventListener(\n eventType,\n (event) => {\n const target = event.target;\n if (!target || !target.isConnected) {\n return;\n }\n const isOutside = Array.isArray(ref) ? ref.filter((r) => Boolean(r.current)).every((r) => r.current && !r.current.contains(target)) : ref.current && !ref.current.contains(target);\n if (isOutside) {\n handler(event);\n }\n },\n void 0,\n eventListenerOptions\n );\n}\nvar IS_SERVER3 = typeof window === \"undefined\";\nfunction useReadLocalStorage(key, options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER3) {\n initializeWithValue = false;\n }\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return null;\n }\n return parsed;\n },\n [options]\n );\n const readValue = useCallback(() => {\n if (IS_SERVER3) {\n return null;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : null;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return null;\n }\n }, [key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return void 0;\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return storedValue;\n}\nvar initialSize = {\n width: void 0,\n height: void 0\n};\nfunction useResizeObserver(options) {\n const { ref, box = \"content-box\" } = options;\n const [{ width, height }, setSize] = useState(initialSize);\n const isMounted = useIsMounted();\n const previousSize = useRef({ ...initialSize });\n const onResize = useRef(void 0);\n onResize.current = options.onResize;\n useEffect(() => {\n if (!ref.current)\n return;\n if (typeof window === \"undefined\" || !(\"ResizeObserver\" in window))\n return;\n const observer = new ResizeObserver(([entry]) => {\n const boxProp = box === \"border-box\" ? \"borderBoxSize\" : box === \"device-pixel-content-box\" ? \"devicePixelContentBoxSize\" : \"contentBoxSize\";\n const newWidth = extractSize(entry, boxProp, \"inlineSize\");\n const newHeight = extractSize(entry, boxProp, \"blockSize\");\n const hasChanged = previousSize.current.width !== newWidth || previousSize.current.height !== newHeight;\n if (hasChanged) {\n const newSize = { width: newWidth, height: newHeight };\n previousSize.current.width = newWidth;\n previousSize.current.height = newHeight;\n if (onResize.current) {\n onResize.current(newSize);\n } else {\n if (isMounted()) {\n setSize(newSize);\n }\n }\n }\n });\n observer.observe(ref.current, { box });\n return () => {\n observer.disconnect();\n };\n }, [box, ref, isMounted]);\n return { width, height };\n}\nfunction extractSize(entry, box, sizeType) {\n if (!entry[box]) {\n if (box === \"contentBoxSize\") {\n return entry.contentRect[sizeType === \"inlineSize\" ? \"width\" : \"height\"];\n }\n return void 0;\n }\n return Array.isArray(entry[box]) ? entry[box][0][sizeType] : (\n // @ts-ignore Support Firefox's non-standard behavior\n entry[box][sizeType]\n );\n}\nvar IS_SERVER4 = typeof window === \"undefined\";\nfunction useScreen(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER4) {\n initializeWithValue = false;\n }\n const readScreen = () => {\n if (IS_SERVER4) {\n return void 0;\n }\n return window.screen;\n };\n const [screen, setScreen] = useState(() => {\n if (initializeWithValue) {\n return readScreen();\n }\n return void 0;\n });\n const debouncedSetScreen = useDebounceCallback(\n setScreen,\n options.debounceDelay\n );\n function handleSize() {\n const newScreen = readScreen();\n const setSize = options.debounceDelay ? debouncedSetScreen : setScreen;\n if (newScreen) {\n const {\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n } = newScreen;\n setSize({\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n });\n }\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return screen;\n}\nvar cachedScriptStatuses = /* @__PURE__ */ new Map();\nfunction getScriptNode(src) {\n const node = document.querySelector(\n `script[src=\"${src}\"]`\n );\n const status = node == null ? void 0 : node.getAttribute(\"data-status\");\n return {\n node,\n status\n };\n}\nfunction useScript(src, options) {\n const [status, setStatus] = useState(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return \"idle\";\n }\n if (typeof window === \"undefined\") {\n return \"loading\";\n }\n return cachedScriptStatuses.get(src) ?? \"loading\";\n });\n useEffect(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return;\n }\n const cachedScriptStatus = cachedScriptStatuses.get(src);\n if (cachedScriptStatus === \"ready\" || cachedScriptStatus === \"error\") {\n setStatus(cachedScriptStatus);\n return;\n }\n const script = getScriptNode(src);\n let scriptNode = script.node;\n if (!scriptNode) {\n scriptNode = document.createElement(\"script\");\n scriptNode.src = src;\n scriptNode.async = true;\n if (options == null ? void 0 : options.id) {\n scriptNode.id = options.id;\n }\n scriptNode.setAttribute(\"data-status\", \"loading\");\n document.body.appendChild(scriptNode);\n const setAttributeFromEvent = (event) => {\n const scriptStatus = event.type === \"load\" ? \"ready\" : \"error\";\n scriptNode == null ? void 0 : scriptNode.setAttribute(\"data-status\", scriptStatus);\n };\n scriptNode.addEventListener(\"load\", setAttributeFromEvent);\n scriptNode.addEventListener(\"error\", setAttributeFromEvent);\n } else {\n setStatus(script.status ?? cachedScriptStatus ?? \"loading\");\n }\n const setStateFromEvent = (event) => {\n const newStatus = event.type === \"load\" ? \"ready\" : \"error\";\n setStatus(newStatus);\n cachedScriptStatuses.set(src, newStatus);\n };\n scriptNode.addEventListener(\"load\", setStateFromEvent);\n scriptNode.addEventListener(\"error\", setStateFromEvent);\n return () => {\n if (scriptNode) {\n scriptNode.removeEventListener(\"load\", setStateFromEvent);\n scriptNode.removeEventListener(\"error\", setStateFromEvent);\n }\n if (scriptNode && (options == null ? void 0 : options.removeOnUnmount)) {\n scriptNode.remove();\n cachedScriptStatuses.delete(src);\n }\n };\n }, [src, options == null ? void 0 : options.shouldPreventLoad, options == null ? void 0 : options.removeOnUnmount, options == null ? void 0 : options.id]);\n return status;\n}\nvar IS_SERVER5 = typeof window === \"undefined\";\nfunction useScrollLock(options = {}) {\n const { autoLock = true, lockTarget, widthReflow = true } = options;\n const [isLocked, setIsLocked] = useState(false);\n const target = useRef(null);\n const originalStyle = useRef(null);\n const lock = () => {\n if (target.current) {\n const { overflow, paddingRight } = target.current.style;\n originalStyle.current = { overflow, paddingRight };\n if (widthReflow) {\n const offsetWidth = target.current === document.body ? window.innerWidth : target.current.offsetWidth;\n const currentPaddingRight = parseInt(window.getComputedStyle(target.current).paddingRight, 10) || 0;\n const scrollbarWidth = offsetWidth - target.current.scrollWidth;\n target.current.style.paddingRight = `${scrollbarWidth + currentPaddingRight}px`;\n }\n target.current.style.overflow = \"hidden\";\n setIsLocked(true);\n }\n };\n const unlock = () => {\n if (target.current && originalStyle.current) {\n target.current.style.overflow = originalStyle.current.overflow;\n if (widthReflow) {\n target.current.style.paddingRight = originalStyle.current.paddingRight;\n }\n }\n setIsLocked(false);\n };\n useIsomorphicLayoutEffect(() => {\n if (IS_SERVER5)\n return;\n if (lockTarget) {\n target.current = typeof lockTarget === \"string\" ? document.querySelector(lockTarget) : lockTarget;\n }\n if (!target.current) {\n target.current = document.body;\n }\n if (autoLock) {\n lock();\n }\n return () => {\n unlock();\n };\n }, [autoLock, lockTarget, widthReflow]);\n return { isLocked, lock, unlock };\n}\nvar IS_SERVER6 = typeof window === \"undefined\";\nfunction useSessionStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER6) {\n return initialValueToUse;\n }\n try {\n const raw = window.sessionStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading sessionStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER6) {\n console.warn(\n `Tried setting sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.sessionStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting sessionStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER6) {\n console.warn(\n `Tried removing sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.sessionStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"session-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nfunction useStep(maxStep) {\n const [currentStep, setCurrentStep] = useState(1);\n const canGoToNextStep = currentStep + 1 <= maxStep;\n const canGoToPrevStep = currentStep - 1 > 0;\n const setStep = useCallback(\n (step) => {\n const newStep = step instanceof Function ? step(currentStep) : step;\n if (newStep >= 1 && newStep <= maxStep) {\n setCurrentStep(newStep);\n return;\n }\n throw new Error(\"Step not valid\");\n },\n [maxStep, currentStep]\n );\n const goToNextStep = useCallback(() => {\n if (canGoToNextStep) {\n setCurrentStep((step) => step + 1);\n }\n }, [canGoToNextStep]);\n const goToPrevStep = useCallback(() => {\n if (canGoToPrevStep) {\n setCurrentStep((step) => step - 1);\n }\n }, [canGoToPrevStep]);\n const reset = useCallback(() => {\n setCurrentStep(1);\n }, []);\n return [\n currentStep,\n {\n goToNextStep,\n goToPrevStep,\n canGoToNextStep,\n canGoToPrevStep,\n setStep,\n reset\n }\n ];\n}\n\n// src/useTernaryDarkMode/useTernaryDarkMode.ts\nvar COLOR_SCHEME_QUERY2 = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY2 = \"usehooks-ts-ternary-dark-mode\";\nfunction useTernaryDarkMode({\n defaultValue = \"system\",\n localStorageKey = LOCAL_STORAGE_KEY2,\n initializeWithValue = true\n} = {}) {\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY2, { initializeWithValue });\n const [mode, setMode] = useLocalStorage(localStorageKey, defaultValue, {\n initializeWithValue\n });\n const isDarkMode = mode === \"dark\" || mode === \"system\" && isDarkOS;\n const toggleTernaryDarkMode = () => {\n const modes = [\"light\", \"system\", \"dark\"];\n setMode((prevMode) => {\n const nextIndex = (modes.indexOf(prevMode) + 1) % modes.length;\n return modes[nextIndex];\n });\n };\n return {\n isDarkMode,\n ternaryDarkMode: mode,\n setTernaryDarkMode: setMode,\n toggleTernaryDarkMode\n };\n}\nfunction useTimeout(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (!delay && delay !== 0) {\n return;\n }\n const id = setTimeout(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearTimeout(id);\n };\n }, [delay]);\n}\nfunction useToggle(defaultValue) {\n const [value, setValue] = useState(!!defaultValue);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return [value, toggle, setValue];\n}\nvar IS_SERVER7 = typeof window === \"undefined\";\nfunction useWindowSize(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER7) {\n initializeWithValue = false;\n }\n const [windowSize, setWindowSize] = useState(() => {\n if (initializeWithValue) {\n return {\n width: window.innerWidth,\n height: window.innerHeight\n };\n }\n return {\n width: void 0,\n height: void 0\n };\n });\n const debouncedSetWindowSize = useDebounceCallback(\n setWindowSize,\n options.debounceDelay\n );\n function handleSize() {\n const setSize = options.debounceDelay ? debouncedSetWindowSize : setWindowSize;\n setSize({\n width: window.innerWidth,\n height: window.innerHeight\n });\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return windowSize;\n}\n\nexport { useBoolean, useClickAnyWhere, useCopyToClipboard, useCountdown, useCounter, useDarkMode, useDebounceCallback, useDebounceValue, useDocumentTitle, useEventCallback, useEventListener, useHover, useIntersectionObserver, useInterval, useIsClient, useIsMounted, useIsomorphicLayoutEffect, useLocalStorage, useMap, useMediaQuery, useOnClickOutside, useReadLocalStorage, useResizeObserver, useScreen, useScript, useScrollLock, useSessionStorage, useStep, useTernaryDarkMode, useTimeout, useToggle, useUnmount, useWindowSize };\n"],"names":["useCopyToClipboard","copiedText","setCopiedText","useState","copy","useCallback","text","error"],"mappings":"sIAgDA,SAASA,GAAqB,CAC5B,KAAM,CAACC,EAAYC,CAAa,EAAIC,EAAAA,SAAS,IAAI,EAC3CC,EAAOC,cAAY,MAAOC,GAAS,CACvC,GAAI,EAAE,WAAa,MAAgB,UAAU,WAC3C,eAAQ,KAAK,yBAAyB,EAC/B,GAET,GAAI,CACF,aAAM,UAAU,UAAU,UAAUA,CAAI,EACxCJ,EAAcI,CAAI,EACX,EACR,OAAQC,EAAO,CACd,eAAQ,KAAK,cAAeA,CAAK,EACjCL,EAAc,IAAI,EACX,EACb,CACG,EAAE,EAAE,EACL,MAAO,CAACD,EAAYG,CAAI,CAC1B","x_google_ignoreList":[0]}
|
1
|
+
{"version":3,"file":"index.cjs483.js","sources":["../node_modules/aria-hidden/dist/es2015/index.js"],"sourcesContent":["var getDefaultParent = function (originalTarget) {\n if (typeof document === 'undefined') {\n return null;\n }\n var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;\n return sampleTarget.ownerDocument.body;\n};\nvar counterMap = new WeakMap();\nvar uncontrolledNodes = new WeakMap();\nvar markerMap = {};\nvar lockCount = 0;\nvar unwrapHost = function (node) {\n return node && (node.host || unwrapHost(node.parentNode));\n};\nvar correctTargets = function (parent, targets) {\n return targets\n .map(function (target) {\n if (parent.contains(target)) {\n return target;\n }\n var correctedTarget = unwrapHost(target);\n if (correctedTarget && parent.contains(correctedTarget)) {\n return correctedTarget;\n }\n console.error('aria-hidden', target, 'in not contained inside', parent, '. Doing nothing');\n return null;\n })\n .filter(function (x) { return Boolean(x); });\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @param {String} [controlAttribute] - html Attribute to control\n * @return {Undo} undo command\n */\nvar applyAttributeToOthers = function (originalTarget, parentNode, markerName, controlAttribute) {\n var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n if (!markerMap[markerName]) {\n markerMap[markerName] = new WeakMap();\n }\n var markerCounter = markerMap[markerName];\n var hiddenNodes = [];\n var elementsToKeep = new Set();\n var elementsToStop = new Set(targets);\n var keep = function (el) {\n if (!el || elementsToKeep.has(el)) {\n return;\n }\n elementsToKeep.add(el);\n keep(el.parentNode);\n };\n targets.forEach(keep);\n var deep = function (parent) {\n if (!parent || elementsToStop.has(parent)) {\n return;\n }\n Array.prototype.forEach.call(parent.children, function (node) {\n if (elementsToKeep.has(node)) {\n deep(node);\n }\n else {\n try {\n var attr = node.getAttribute(controlAttribute);\n var alreadyHidden = attr !== null && attr !== 'false';\n var counterValue = (counterMap.get(node) || 0) + 1;\n var markerValue = (markerCounter.get(node) || 0) + 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n hiddenNodes.push(node);\n if (counterValue === 1 && alreadyHidden) {\n uncontrolledNodes.set(node, true);\n }\n if (markerValue === 1) {\n node.setAttribute(markerName, 'true');\n }\n if (!alreadyHidden) {\n node.setAttribute(controlAttribute, 'true');\n }\n }\n catch (e) {\n console.error('aria-hidden: cannot operate on ', node, e);\n }\n }\n });\n };\n deep(parentNode);\n elementsToKeep.clear();\n lockCount++;\n return function () {\n hiddenNodes.forEach(function (node) {\n var counterValue = counterMap.get(node) - 1;\n var markerValue = markerCounter.get(node) - 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n if (!counterValue) {\n if (!uncontrolledNodes.has(node)) {\n node.removeAttribute(controlAttribute);\n }\n uncontrolledNodes.delete(node);\n }\n if (!markerValue) {\n node.removeAttribute(markerName);\n }\n });\n lockCount--;\n if (!lockCount) {\n // clear\n counterMap = new WeakMap();\n counterMap = new WeakMap();\n uncontrolledNodes = new WeakMap();\n markerMap = {};\n }\n };\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var hideOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-aria-hidden'; }\n var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n // we should not hide ariaLive elements - https://github.com/theKashey/aria-hidden/issues/10\n targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll('[aria-live]')));\n return applyAttributeToOthers(targets, activeParentNode, markerName, 'aria-hidden');\n};\n/**\n * Marks everything except given node(or nodes) as inert\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var inertOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-inert-ed'; }\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n return applyAttributeToOthers(originalTarget, activeParentNode, markerName, 'inert');\n};\n/**\n * @returns if current browser supports inert\n */\nexport var supportsInert = function () {\n return typeof HTMLElement !== 'undefined' && HTMLElement.prototype.hasOwnProperty('inert');\n};\n/**\n * Automatic function to \"suppress\" DOM elements - _hide_ or _inert_ in the best possible way\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var suppressOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-suppressed'; }\n return (supportsInert() ? inertOthers : hideOthers)(originalTarget, parentNode, markerName);\n};\n"],"names":["getDefaultParent","originalTarget","sampleTarget","counterMap","uncontrolledNodes","markerMap","lockCount","unwrapHost","node","correctTargets","parent","targets","target","correctedTarget","x","applyAttributeToOthers","parentNode","markerName","controlAttribute","markerCounter","hiddenNodes","elementsToKeep","elementsToStop","keep","el","deep","attr","alreadyHidden","counterValue","markerValue","e","hideOthers","activeParentNode"],"mappings":"gFAAA,IAAIA,EAAmB,SAAUC,EAAgB,CAC7C,GAAI,OAAO,SAAa,IACpB,OAAO,KAEX,IAAIC,EAAe,MAAM,QAAQD,CAAc,EAAIA,EAAe,CAAC,EAAIA,EACvE,OAAOC,EAAa,cAAc,IACtC,EACIC,EAAa,IAAI,QACjBC,EAAoB,IAAI,QACxBC,EAAY,CAAE,EACdC,EAAY,EACZC,EAA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-1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("react"),b=require("./index.
|
2
|
-
//# sourceMappingURL=index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("react"),b=require("./index.cjs463.js"),u=require("./index.cjs247.js");function x(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const l=x(g);function d(e){const t=j(e),r=l.forwardRef((n,o)=>{const{children:i,...c}=n,s=l.Children.toArray(i),f=s.find(E);if(f){const a=f.props.children,S=s.map(p=>p===f?l.Children.count(a)>1?l.Children.only(null):l.isValidElement(a)?a.props.children:null:p);return u.jsxRuntimeExports.jsx(t,{...c,ref:o,children:l.isValidElement(a)?l.cloneElement(a,void 0,S):null})}return u.jsxRuntimeExports.jsx(t,{...c,ref:o,children:i})});return r.displayName=`${e}.Slot`,r}var m=d("Slot");function j(e){const t=l.forwardRef((r,n)=>{const{children:o,...i}=r;if(l.isValidElement(o)){const c=C(o),s=O(i,o.props);return o.type!==l.Fragment&&(s.ref=n?b.composeRefs(n,c):c),l.cloneElement(o,s)}return l.Children.count(o)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var y=Symbol("radix.slottable");function R(e){const t=({children:r})=>u.jsxRuntimeExports.jsx(u.jsxRuntimeExports.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=y,t}function E(e){return l.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===y}function O(e,t){const r={...t};for(const n in t){const o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...s)=>{i(...s),o(...s)}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}function C(e){var n,o;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}exports.Root=m;exports.Slot=m;exports.createSlot=d;exports.createSlottable=R;
|
2
|
+
//# sourceMappingURL=index.cjs484.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.
|
1
|
+
{"version":3,"file":"index.cjs484.js","sources":["../node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/slot/src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n childPropValue(...args);\n slotPropValue(...args);\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","Slot","childrenRef","getElementRef","props2","mergeProps","composeRefs","SLOTTABLE_IDENTIFIER","createSlottable","Slottable2","Fragment2","childProps","overrideProps","propName","slotPropValue","childPropValue","args","element","getter","_a","mayWarn","_b"],"mappings":"icAKA,SAASA,EAAWC,EAAW,CAC7B,MAAMC,EAA4BC,EAAgBF,CAAS,EACrDG,EAAQC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACtD,KAAM,CAAE,SAAAC,EAAU,GAAGC,CAAS,EAAKH,EAC7BI,EAAgBL,EAAM,SAAS,QAAQG,CAAQ,EAC/CG,EAAYD,EAAc,KAAKE,CAAW,EAChD,GAAID,EAAW,CACb,MAAME,EAAaF,EAAU,MAAM,SAC7BG,EAAcJ,EAAc,IAAKK,GACjCA,IAAUJ,EACRN,EAAM,SAAS,MAAMQ,CAAU,EAAI,EAAUR,EAAM,SAAS,KAAK,IAAI,EAClEA,EAAM,eAAeQ,CAAU,EAAIA,EAAW,MAAM,SAAW,KAE/DE,CAEV,EACD,OAAuBC,EAAAA,kBAAAA,IAAId,EAAW,CAAE,GAAGO,EAAW,IAAKF,EAAc,SAAUF,EAAM,eAAeQ,CAAU,EAAIR,EAAM,aAAaQ,EAAY,OAAQC,CAAW,EAAI,KAAM,CACxL,CACI,OAAuBE,EAAAA,kBAAAA,IAAId,EAAW,CAAE,GAAGO,EAAW,IAAKF,EAAc,SAAAC,EAAU,CACvF,CAAG,EACD,OAAAJ,EAAM,YAAc,GAAGH,CAAS,QACzBG,CACT,CACG,IAACa,EAAuBjB,EAAW,MAAM,EAE5C,SAASG,EAAgBF,EAAW,CAClC,MAAM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AAcC,CAAQ,EAAI,CAAE,GAAGC,EAAe,GAAGC,CAAgB,EACxDF,IAAa,cACtBD,EAAcC,CAAQ,EAAI,CAACC,EAAeC,CAAc,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG,EAExF,CACE,MAAO,CAAE,GAAGtB,EAAW,GAAGmB,CAAe,CAC3C,CACA,SAAST,EAAcc,EAAS,SAC9B,IAAIC,GAASC,EAAA,OAAO,yBAAyBF,EAAQ,MAAO,KAAK,IAApD,YAAAE,EAAuD,IAChEC,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eAC7D,OAAIE,EACKH,EAAQ,KAEjBC,GAASG,EAAA,OAAO,yBAAyBJ,EAAS,KAAK,IAA9C,YAAAI,EAAiD,IAC1DD,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eACrDE,EACKH,EAAQ,MAAM,IAEhBA,EAAQ,MAAM,KAAOA,EAAQ,IACtC","x_google_ignoreList":[0]}
|
package/dist/index.cjs488.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react");require("./index.cjs534.js");function i(){const[t,e]=o.useState(null),a=o.useCallback(async r=>{if(!(navigator!=null&&navigator.clipboard))return console.warn("Clipboard not supported"),!1;try{return await navigator.clipboard.writeText(r),e(r),!0}catch(n){return console.warn("Copy failed",n),e(null),!1}},[]);return[t,a]}exports.useCopyToClipboard=i;
|
2
2
|
//# sourceMappingURL=index.cjs488.js.map
|
package/dist/index.cjs488.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs488.js","sources":["../node_modules/@radix-ui/react-focus-scope/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/focus-scope/src/focus-scope.tsx\nimport * as React from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { jsx } from \"react/jsx-runtime\";\nvar AUTOFOCUS_ON_MOUNT = \"focusScope.autoFocusOnMount\";\nvar AUTOFOCUS_ON_UNMOUNT = \"focusScope.autoFocusOnUnmount\";\nvar EVENT_OPTIONS = { bubbles: false, cancelable: true };\nvar FOCUS_SCOPE_NAME = \"FocusScope\";\nvar FocusScope = React.forwardRef((props, forwardedRef) => {\n const {\n loop = false,\n trapped = false,\n onMountAutoFocus: onMountAutoFocusProp,\n onUnmountAutoFocus: onUnmountAutoFocusProp,\n ...scopeProps\n } = props;\n const [container, setContainer] = React.useState(null);\n const onMountAutoFocus = useCallbackRef(onMountAutoFocusProp);\n const onUnmountAutoFocus = useCallbackRef(onUnmountAutoFocusProp);\n const lastFocusedElementRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setContainer(node));\n const focusScope = React.useRef({\n paused: false,\n pause() {\n this.paused = true;\n },\n resume() {\n this.paused = false;\n }\n }).current;\n React.useEffect(() => {\n if (trapped) {\n let handleFocusIn2 = function(event) {\n if (focusScope.paused || !container) return;\n const target = event.target;\n if (container.contains(target)) {\n lastFocusedElementRef.current = target;\n } else {\n focus(lastFocusedElementRef.current, { select: true });\n }\n }, handleFocusOut2 = function(event) {\n if (focusScope.paused || !container) return;\n const relatedTarget = event.relatedTarget;\n if (relatedTarget === null) return;\n if (!container.contains(relatedTarget)) {\n focus(lastFocusedElementRef.current, { select: true });\n }\n }, handleMutations2 = function(mutations) {\n const focusedElement = document.activeElement;\n if (focusedElement !== document.body) return;\n for (const mutation of mutations) {\n if (mutation.removedNodes.length > 0) focus(container);\n }\n };\n var handleFocusIn = handleFocusIn2, handleFocusOut = handleFocusOut2, handleMutations = handleMutations2;\n document.addEventListener(\"focusin\", handleFocusIn2);\n document.addEventListener(\"focusout\", handleFocusOut2);\n const mutationObserver = new MutationObserver(handleMutations2);\n if (container) mutationObserver.observe(container, { childList: true, subtree: true });\n return () => {\n document.removeEventListener(\"focusin\", handleFocusIn2);\n document.removeEventListener(\"focusout\", handleFocusOut2);\n mutationObserver.disconnect();\n };\n }\n }, [trapped, container, focusScope.paused]);\n React.useEffect(() => {\n if (container) {\n focusScopesStack.add(focusScope);\n const previouslyFocusedElement = document.activeElement;\n const hasFocusedCandidate = container.contains(previouslyFocusedElement);\n if (!hasFocusedCandidate) {\n const mountEvent = new CustomEvent(AUTOFOCUS_ON_MOUNT, EVENT_OPTIONS);\n container.addEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);\n container.dispatchEvent(mountEvent);\n if (!mountEvent.defaultPrevented) {\n focusFirst(removeLinks(getTabbableCandidates(container)), { select: true });\n if (document.activeElement === previouslyFocusedElement) {\n focus(container);\n }\n }\n }\n return () => {\n container.removeEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);\n setTimeout(() => {\n const unmountEvent = new CustomEvent(AUTOFOCUS_ON_UNMOUNT, EVENT_OPTIONS);\n container.addEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);\n container.dispatchEvent(unmountEvent);\n if (!unmountEvent.defaultPrevented) {\n focus(previouslyFocusedElement ?? document.body, { select: true });\n }\n container.removeEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);\n focusScopesStack.remove(focusScope);\n }, 0);\n };\n }\n }, [container, onMountAutoFocus, onUnmountAutoFocus, focusScope]);\n const handleKeyDown = React.useCallback(\n (event) => {\n if (!loop && !trapped) return;\n if (focusScope.paused) return;\n const isTabKey = event.key === \"Tab\" && !event.altKey && !event.ctrlKey && !event.metaKey;\n const focusedElement = document.activeElement;\n if (isTabKey && focusedElement) {\n const container2 = event.currentTarget;\n const [first, last] = getTabbableEdges(container2);\n const hasTabbableElementsInside = first && last;\n if (!hasTabbableElementsInside) {\n if (focusedElement === container2) event.preventDefault();\n } else {\n if (!event.shiftKey && focusedElement === last) {\n event.preventDefault();\n if (loop) focus(first, { select: true });\n } else if (event.shiftKey && focusedElement === first) {\n event.preventDefault();\n if (loop) focus(last, { select: true });\n }\n }\n }\n },\n [loop, trapped, focusScope.paused]\n );\n return /* @__PURE__ */ jsx(Primitive.div, { tabIndex: -1, ...scopeProps, ref: composedRefs, onKeyDown: handleKeyDown });\n});\nFocusScope.displayName = FOCUS_SCOPE_NAME;\nfunction focusFirst(candidates, { select = false } = {}) {\n const previouslyFocusedElement = document.activeElement;\n for (const candidate of candidates) {\n focus(candidate, { select });\n if (document.activeElement !== previouslyFocusedElement) return;\n }\n}\nfunction getTabbableEdges(container) {\n const candidates = getTabbableCandidates(container);\n const first = findVisible(candidates, container);\n const last = findVisible(candidates.reverse(), container);\n return [first, last];\n}\nfunction getTabbableCandidates(container) {\n const nodes = [];\n const walker = document.createTreeWalker(container, NodeFilter.SHOW_ELEMENT, {\n acceptNode: (node) => {\n const isHiddenInput = node.tagName === \"INPUT\" && node.type === \"hidden\";\n if (node.disabled || node.hidden || isHiddenInput) return NodeFilter.FILTER_SKIP;\n return node.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;\n }\n });\n while (walker.nextNode()) nodes.push(walker.currentNode);\n return nodes;\n}\nfunction findVisible(elements, container) {\n for (const element of elements) {\n if (!isHidden(element, { upTo: container })) return element;\n }\n}\nfunction isHidden(node, { upTo }) {\n if (getComputedStyle(node).visibility === \"hidden\") return true;\n while (node) {\n if (upTo !== void 0 && node === upTo) return false;\n if (getComputedStyle(node).display === \"none\") return true;\n node = node.parentElement;\n }\n return false;\n}\nfunction isSelectableInput(element) {\n return element instanceof HTMLInputElement && \"select\" in element;\n}\nfunction focus(element, { select = false } = {}) {\n if (element && element.focus) {\n const previouslyFocusedElement = document.activeElement;\n element.focus({ preventScroll: true });\n if (element !== previouslyFocusedElement && isSelectableInput(element) && select)\n element.select();\n }\n}\nvar focusScopesStack = createFocusScopesStack();\nfunction createFocusScopesStack() {\n let stack = [];\n return {\n add(focusScope) {\n const activeFocusScope = stack[0];\n if (focusScope !== activeFocusScope) {\n activeFocusScope?.pause();\n }\n stack = arrayRemove(stack, focusScope);\n stack.unshift(focusScope);\n },\n remove(focusScope) {\n stack = arrayRemove(stack, focusScope);\n stack[0]?.resume();\n }\n };\n}\nfunction arrayRemove(array, item) {\n const updatedArray = [...array];\n const index = updatedArray.indexOf(item);\n if (index !== -1) {\n updatedArray.splice(index, 1);\n }\n return updatedArray;\n}\nfunction removeLinks(items) {\n return items.filter((item) => item.tagName !== \"A\");\n}\nvar Root = FocusScope;\nexport {\n FocusScope,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["AUTOFOCUS_ON_MOUNT","AUTOFOCUS_ON_UNMOUNT","EVENT_OPTIONS","FOCUS_SCOPE_NAME","FocusScope","React","props","forwardedRef","loop","trapped","onMountAutoFocusProp","onUnmountAutoFocusProp","scopeProps","container","setContainer","onMountAutoFocus","useCallbackRef","onUnmountAutoFocus","lastFocusedElementRef","composedRefs","useComposedRefs","node","focusScope","handleFocusIn2","event","target","focus","handleFocusOut2","relatedTarget","handleMutations2","mutations","mutation","mutationObserver","focusScopesStack","previouslyFocusedElement","mountEvent","focusFirst","removeLinks","getTabbableCandidates","unmountEvent","handleKeyDown","isTabKey","focusedElement","container2","first","last","getTabbableEdges","jsx","Primitive","candidates","select","candidate","findVisible","nodes","walker","isHiddenInput","elements","element","isHidden","upTo","isSelectableInput","createFocusScopesStack","stack","activeFocusScope","arrayRemove","_a","array","item","updatedArray","index","items"],"mappings":"+fAQA,IAAIA,EAAqB,8BACrBC,EAAuB,gCACvBC,EAAgB,CAAE,QAAS,GAAO,WAAY,EAAM,EACpDC,EAAmB,aACnBC,EAAaC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACzD,KAAM,CACJ,KAAAC,EAAO,GACP,QAAAC,EAAU,GACV,iBAAkBC,EAClB,mBAAoBC,EACpB,GAAGC,CACP,EAAMN,EACE,CAACO,EAAWC,CAAY,EAAIT,EAAM,SAAS,IAAI,EAC/CU,EA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]}
|
1
|
+
{"version":3,"file":"index.cjs488.js","sources":["../node_modules/usehooks-ts/dist/index.js"],"sourcesContent":["import { useState, useCallback, useLayoutEffect, useEffect, useRef, useMemo } from 'react';\nimport debounce from 'lodash.debounce';\n\n// src/useBoolean/useBoolean.ts\nfunction useBoolean(defaultValue = false) {\n if (typeof defaultValue !== \"boolean\") {\n throw new Error(\"defaultValue must be `true` or `false`\");\n }\n const [value, setValue] = useState(defaultValue);\n const setTrue = useCallback(() => {\n setValue(true);\n }, []);\n const setFalse = useCallback(() => {\n setValue(false);\n }, []);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return { value, setValue, setTrue, setFalse, toggle };\n}\nvar useIsomorphicLayoutEffect = typeof window !== \"undefined\" ? useLayoutEffect : useEffect;\n\n// src/useEventListener/useEventListener.ts\nfunction useEventListener(eventName, handler, element, options) {\n const savedHandler = useRef(handler);\n useIsomorphicLayoutEffect(() => {\n savedHandler.current = handler;\n }, [handler]);\n useEffect(() => {\n const targetElement = (element == null ? void 0 : element.current) ?? window;\n if (!(targetElement && targetElement.addEventListener))\n return;\n const listener = (event) => {\n savedHandler.current(event);\n };\n targetElement.addEventListener(eventName, listener, options);\n return () => {\n targetElement.removeEventListener(eventName, listener, options);\n };\n }, [eventName, element, options]);\n}\n\n// src/useClickAnyWhere/useClickAnyWhere.ts\nfunction useClickAnyWhere(handler) {\n useEventListener(\"click\", (event) => {\n handler(event);\n });\n}\nfunction useCopyToClipboard() {\n const [copiedText, setCopiedText] = useState(null);\n const copy = useCallback(async (text) => {\n if (!(navigator == null ? void 0 : navigator.clipboard)) {\n console.warn(\"Clipboard not supported\");\n return false;\n }\n try {\n await navigator.clipboard.writeText(text);\n setCopiedText(text);\n return true;\n } catch (error) {\n console.warn(\"Copy failed\", error);\n setCopiedText(null);\n return false;\n }\n }, []);\n return [copiedText, copy];\n}\nfunction useCounter(initialValue) {\n const [count, setCount] = useState(initialValue ?? 0);\n const increment = useCallback(() => {\n setCount((x) => x + 1);\n }, []);\n const decrement = useCallback(() => {\n setCount((x) => x - 1);\n }, []);\n const reset = useCallback(() => {\n setCount(initialValue ?? 0);\n }, [initialValue]);\n return {\n count,\n increment,\n decrement,\n reset,\n setCount\n };\n}\nfunction useInterval(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (delay === null) {\n return;\n }\n const id = setInterval(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearInterval(id);\n };\n }, [delay]);\n}\n\n// src/useCountdown/useCountdown.ts\nfunction useCountdown({\n countStart,\n countStop = 0,\n intervalMs = 1e3,\n isIncrement = false\n}) {\n const {\n count,\n increment,\n decrement,\n reset: resetCounter\n } = useCounter(countStart);\n const {\n value: isCountdownRunning,\n setTrue: startCountdown,\n setFalse: stopCountdown\n } = useBoolean(false);\n const resetCountdown = useCallback(() => {\n stopCountdown();\n resetCounter();\n }, [stopCountdown, resetCounter]);\n const countdownCallback = useCallback(() => {\n if (count === countStop) {\n stopCountdown();\n return;\n }\n if (isIncrement) {\n increment();\n } else {\n decrement();\n }\n }, [count, countStop, decrement, increment, isIncrement, stopCountdown]);\n useInterval(countdownCallback, isCountdownRunning ? intervalMs : null);\n return [count, { startCountdown, stopCountdown, resetCountdown }];\n}\nfunction useEventCallback(fn) {\n const ref = useRef(() => {\n throw new Error(\"Cannot call an event handler while rendering.\");\n });\n useIsomorphicLayoutEffect(() => {\n ref.current = fn;\n }, [fn]);\n return useCallback((...args) => {\n var _a;\n return (_a = ref.current) == null ? void 0 : _a.call(ref, ...args);\n }, [ref]);\n}\n\n// src/useLocalStorage/useLocalStorage.ts\nvar IS_SERVER = typeof window === \"undefined\";\nfunction useLocalStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER) {\n return initialValueToUse;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER) {\n console.warn(\n `Tried setting localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.localStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting localStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER) {\n console.warn(\n `Tried removing localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.localStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nvar IS_SERVER2 = typeof window === \"undefined\";\nfunction useMediaQuery(query, {\n defaultValue = false,\n initializeWithValue = true\n} = {}) {\n const getMatches = (query2) => {\n if (IS_SERVER2) {\n return defaultValue;\n }\n return window.matchMedia(query2).matches;\n };\n const [matches, setMatches] = useState(() => {\n if (initializeWithValue) {\n return getMatches(query);\n }\n return defaultValue;\n });\n function handleChange() {\n setMatches(getMatches(query));\n }\n useIsomorphicLayoutEffect(() => {\n const matchMedia = window.matchMedia(query);\n handleChange();\n if (matchMedia.addListener) {\n matchMedia.addListener(handleChange);\n } else {\n matchMedia.addEventListener(\"change\", handleChange);\n }\n return () => {\n if (matchMedia.removeListener) {\n matchMedia.removeListener(handleChange);\n } else {\n matchMedia.removeEventListener(\"change\", handleChange);\n }\n };\n }, [query]);\n return matches;\n}\n\n// src/useDarkMode/useDarkMode.ts\nvar COLOR_SCHEME_QUERY = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY = \"usehooks-ts-dark-mode\";\nfunction useDarkMode(options = {}) {\n const {\n defaultValue,\n localStorageKey = LOCAL_STORAGE_KEY,\n initializeWithValue = true\n } = options;\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY, {\n initializeWithValue,\n defaultValue\n });\n const [isDarkMode, setDarkMode] = useLocalStorage(\n localStorageKey,\n defaultValue ?? isDarkOS ?? false,\n { initializeWithValue }\n );\n useIsomorphicLayoutEffect(() => {\n if (isDarkOS !== isDarkMode) {\n setDarkMode(isDarkOS);\n }\n }, [isDarkOS]);\n return {\n isDarkMode,\n toggle: () => {\n setDarkMode((prev) => !prev);\n },\n enable: () => {\n setDarkMode(true);\n },\n disable: () => {\n setDarkMode(false);\n },\n set: (value) => {\n setDarkMode(value);\n }\n };\n}\nfunction useUnmount(func) {\n const funcRef = useRef(func);\n funcRef.current = func;\n useEffect(\n () => () => {\n funcRef.current();\n },\n []\n );\n}\n\n// src/useDebounceCallback/useDebounceCallback.ts\nfunction useDebounceCallback(func, delay = 500, options) {\n const debouncedFunc = useRef();\n useUnmount(() => {\n if (debouncedFunc.current) {\n debouncedFunc.current.cancel();\n }\n });\n const debounced = useMemo(() => {\n const debouncedFuncInstance = debounce(func, delay, options);\n const wrappedFunc = (...args) => {\n return debouncedFuncInstance(...args);\n };\n wrappedFunc.cancel = () => {\n debouncedFuncInstance.cancel();\n };\n wrappedFunc.isPending = () => {\n return !!debouncedFunc.current;\n };\n wrappedFunc.flush = () => {\n return debouncedFuncInstance.flush();\n };\n return wrappedFunc;\n }, [func, delay, options]);\n useEffect(() => {\n debouncedFunc.current = debounce(func, delay, options);\n }, [func, delay, options]);\n return debounced;\n}\nfunction useDebounceValue(initialValue, delay, options) {\n const eq = (options == null ? void 0 : options.equalityFn) ?? ((left, right) => left === right);\n const unwrappedInitialValue = initialValue instanceof Function ? initialValue() : initialValue;\n const [debouncedValue, setDebouncedValue] = useState(unwrappedInitialValue);\n const previousValueRef = useRef(unwrappedInitialValue);\n const updateDebouncedValue = useDebounceCallback(\n setDebouncedValue,\n delay,\n options\n );\n if (!eq(previousValueRef.current, unwrappedInitialValue)) {\n updateDebouncedValue(unwrappedInitialValue);\n previousValueRef.current = unwrappedInitialValue;\n }\n return [debouncedValue, updateDebouncedValue];\n}\nfunction useDocumentTitle(title, options = {}) {\n const { preserveTitleOnUnmount = true } = options;\n const defaultTitle = useRef(null);\n useIsomorphicLayoutEffect(() => {\n defaultTitle.current = window.document.title;\n }, []);\n useIsomorphicLayoutEffect(() => {\n window.document.title = title;\n }, [title]);\n useUnmount(() => {\n if (!preserveTitleOnUnmount && defaultTitle.current) {\n window.document.title = defaultTitle.current;\n }\n });\n}\nfunction useHover(elementRef) {\n const [value, setValue] = useState(false);\n const handleMouseEnter = () => {\n setValue(true);\n };\n const handleMouseLeave = () => {\n setValue(false);\n };\n useEventListener(\"mouseenter\", handleMouseEnter, elementRef);\n useEventListener(\"mouseleave\", handleMouseLeave, elementRef);\n return value;\n}\nfunction useIntersectionObserver({\n threshold = 0,\n root = null,\n rootMargin = \"0%\",\n freezeOnceVisible = false,\n initialIsIntersecting = false,\n onChange\n} = {}) {\n var _a;\n const [ref, setRef] = useState(null);\n const [state, setState] = useState(() => ({\n isIntersecting: initialIsIntersecting,\n entry: void 0\n }));\n const callbackRef = useRef();\n callbackRef.current = onChange;\n const frozen = ((_a = state.entry) == null ? void 0 : _a.isIntersecting) && freezeOnceVisible;\n useEffect(() => {\n if (!ref)\n return;\n if (!(\"IntersectionObserver\" in window))\n return;\n if (frozen)\n return;\n let unobserve;\n const observer = new IntersectionObserver(\n (entries) => {\n const thresholds = Array.isArray(observer.thresholds) ? observer.thresholds : [observer.thresholds];\n entries.forEach((entry) => {\n const isIntersecting = entry.isIntersecting && thresholds.some((threshold2) => entry.intersectionRatio >= threshold2);\n setState({ isIntersecting, entry });\n if (callbackRef.current) {\n callbackRef.current(isIntersecting, entry);\n }\n if (isIntersecting && freezeOnceVisible && unobserve) {\n unobserve();\n unobserve = void 0;\n }\n });\n },\n { threshold, root, rootMargin }\n );\n observer.observe(ref);\n return () => {\n observer.disconnect();\n };\n }, [\n ref,\n // eslint-disable-next-line react-hooks/exhaustive-deps\n JSON.stringify(threshold),\n root,\n rootMargin,\n frozen,\n freezeOnceVisible\n ]);\n const prevRef = useRef(null);\n useEffect(() => {\n var _a2;\n if (!ref && ((_a2 = state.entry) == null ? void 0 : _a2.target) && !freezeOnceVisible && !frozen && prevRef.current !== state.entry.target) {\n prevRef.current = state.entry.target;\n setState({ isIntersecting: initialIsIntersecting, entry: void 0 });\n }\n }, [ref, state.entry, freezeOnceVisible, frozen, initialIsIntersecting]);\n const result = [\n setRef,\n !!state.isIntersecting,\n state.entry\n ];\n result.ref = result[0];\n result.isIntersecting = result[1];\n result.entry = result[2];\n return result;\n}\nfunction useIsClient() {\n const [isClient, setClient] = useState(false);\n useEffect(() => {\n setClient(true);\n }, []);\n return isClient;\n}\nfunction useIsMounted() {\n const isMounted = useRef(false);\n useEffect(() => {\n isMounted.current = true;\n return () => {\n isMounted.current = false;\n };\n }, []);\n return useCallback(() => isMounted.current, []);\n}\nfunction useMap(initialState = /* @__PURE__ */ new Map()) {\n const [map, setMap] = useState(new Map(initialState));\n const actions = {\n set: useCallback((key, value) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.set(key, value);\n return copy;\n });\n }, []),\n setAll: useCallback((entries) => {\n setMap(() => new Map(entries));\n }, []),\n remove: useCallback((key) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.delete(key);\n return copy;\n });\n }, []),\n reset: useCallback(() => {\n setMap(() => /* @__PURE__ */ new Map());\n }, [])\n };\n return [map, actions];\n}\n\n// src/useOnClickOutside/useOnClickOutside.ts\nfunction useOnClickOutside(ref, handler, eventType = \"mousedown\", eventListenerOptions = {}) {\n useEventListener(\n eventType,\n (event) => {\n const target = event.target;\n if (!target || !target.isConnected) {\n return;\n }\n const isOutside = Array.isArray(ref) ? ref.filter((r) => Boolean(r.current)).every((r) => r.current && !r.current.contains(target)) : ref.current && !ref.current.contains(target);\n if (isOutside) {\n handler(event);\n }\n },\n void 0,\n eventListenerOptions\n );\n}\nvar IS_SERVER3 = typeof window === \"undefined\";\nfunction useReadLocalStorage(key, options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER3) {\n initializeWithValue = false;\n }\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return null;\n }\n return parsed;\n },\n [options]\n );\n const readValue = useCallback(() => {\n if (IS_SERVER3) {\n return null;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : null;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return null;\n }\n }, [key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return void 0;\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return storedValue;\n}\nvar initialSize = {\n width: void 0,\n height: void 0\n};\nfunction useResizeObserver(options) {\n const { ref, box = \"content-box\" } = options;\n const [{ width, height }, setSize] = useState(initialSize);\n const isMounted = useIsMounted();\n const previousSize = useRef({ ...initialSize });\n const onResize = useRef(void 0);\n onResize.current = options.onResize;\n useEffect(() => {\n if (!ref.current)\n return;\n if (typeof window === \"undefined\" || !(\"ResizeObserver\" in window))\n return;\n const observer = new ResizeObserver(([entry]) => {\n const boxProp = box === \"border-box\" ? \"borderBoxSize\" : box === \"device-pixel-content-box\" ? \"devicePixelContentBoxSize\" : \"contentBoxSize\";\n const newWidth = extractSize(entry, boxProp, \"inlineSize\");\n const newHeight = extractSize(entry, boxProp, \"blockSize\");\n const hasChanged = previousSize.current.width !== newWidth || previousSize.current.height !== newHeight;\n if (hasChanged) {\n const newSize = { width: newWidth, height: newHeight };\n previousSize.current.width = newWidth;\n previousSize.current.height = newHeight;\n if (onResize.current) {\n onResize.current(newSize);\n } else {\n if (isMounted()) {\n setSize(newSize);\n }\n }\n }\n });\n observer.observe(ref.current, { box });\n return () => {\n observer.disconnect();\n };\n }, [box, ref, isMounted]);\n return { width, height };\n}\nfunction extractSize(entry, box, sizeType) {\n if (!entry[box]) {\n if (box === \"contentBoxSize\") {\n return entry.contentRect[sizeType === \"inlineSize\" ? \"width\" : \"height\"];\n }\n return void 0;\n }\n return Array.isArray(entry[box]) ? entry[box][0][sizeType] : (\n // @ts-ignore Support Firefox's non-standard behavior\n entry[box][sizeType]\n );\n}\nvar IS_SERVER4 = typeof window === \"undefined\";\nfunction useScreen(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER4) {\n initializeWithValue = false;\n }\n const readScreen = () => {\n if (IS_SERVER4) {\n return void 0;\n }\n return window.screen;\n };\n const [screen, setScreen] = useState(() => {\n if (initializeWithValue) {\n return readScreen();\n }\n return void 0;\n });\n const debouncedSetScreen = useDebounceCallback(\n setScreen,\n options.debounceDelay\n );\n function handleSize() {\n const newScreen = readScreen();\n const setSize = options.debounceDelay ? debouncedSetScreen : setScreen;\n if (newScreen) {\n const {\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n } = newScreen;\n setSize({\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n });\n }\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return screen;\n}\nvar cachedScriptStatuses = /* @__PURE__ */ new Map();\nfunction getScriptNode(src) {\n const node = document.querySelector(\n `script[src=\"${src}\"]`\n );\n const status = node == null ? void 0 : node.getAttribute(\"data-status\");\n return {\n node,\n status\n };\n}\nfunction useScript(src, options) {\n const [status, setStatus] = useState(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return \"idle\";\n }\n if (typeof window === \"undefined\") {\n return \"loading\";\n }\n return cachedScriptStatuses.get(src) ?? \"loading\";\n });\n useEffect(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return;\n }\n const cachedScriptStatus = cachedScriptStatuses.get(src);\n if (cachedScriptStatus === \"ready\" || cachedScriptStatus === \"error\") {\n setStatus(cachedScriptStatus);\n return;\n }\n const script = getScriptNode(src);\n let scriptNode = script.node;\n if (!scriptNode) {\n scriptNode = document.createElement(\"script\");\n scriptNode.src = src;\n scriptNode.async = true;\n if (options == null ? void 0 : options.id) {\n scriptNode.id = options.id;\n }\n scriptNode.setAttribute(\"data-status\", \"loading\");\n document.body.appendChild(scriptNode);\n const setAttributeFromEvent = (event) => {\n const scriptStatus = event.type === \"load\" ? \"ready\" : \"error\";\n scriptNode == null ? void 0 : scriptNode.setAttribute(\"data-status\", scriptStatus);\n };\n scriptNode.addEventListener(\"load\", setAttributeFromEvent);\n scriptNode.addEventListener(\"error\", setAttributeFromEvent);\n } else {\n setStatus(script.status ?? cachedScriptStatus ?? \"loading\");\n }\n const setStateFromEvent = (event) => {\n const newStatus = event.type === \"load\" ? \"ready\" : \"error\";\n setStatus(newStatus);\n cachedScriptStatuses.set(src, newStatus);\n };\n scriptNode.addEventListener(\"load\", setStateFromEvent);\n scriptNode.addEventListener(\"error\", setStateFromEvent);\n return () => {\n if (scriptNode) {\n scriptNode.removeEventListener(\"load\", setStateFromEvent);\n scriptNode.removeEventListener(\"error\", setStateFromEvent);\n }\n if (scriptNode && (options == null ? void 0 : options.removeOnUnmount)) {\n scriptNode.remove();\n cachedScriptStatuses.delete(src);\n }\n };\n }, [src, options == null ? void 0 : options.shouldPreventLoad, options == null ? void 0 : options.removeOnUnmount, options == null ? void 0 : options.id]);\n return status;\n}\nvar IS_SERVER5 = typeof window === \"undefined\";\nfunction useScrollLock(options = {}) {\n const { autoLock = true, lockTarget, widthReflow = true } = options;\n const [isLocked, setIsLocked] = useState(false);\n const target = useRef(null);\n const originalStyle = useRef(null);\n const lock = () => {\n if (target.current) {\n const { overflow, paddingRight } = target.current.style;\n originalStyle.current = { overflow, paddingRight };\n if (widthReflow) {\n const offsetWidth = target.current === document.body ? window.innerWidth : target.current.offsetWidth;\n const currentPaddingRight = parseInt(window.getComputedStyle(target.current).paddingRight, 10) || 0;\n const scrollbarWidth = offsetWidth - target.current.scrollWidth;\n target.current.style.paddingRight = `${scrollbarWidth + currentPaddingRight}px`;\n }\n target.current.style.overflow = \"hidden\";\n setIsLocked(true);\n }\n };\n const unlock = () => {\n if (target.current && originalStyle.current) {\n target.current.style.overflow = originalStyle.current.overflow;\n if (widthReflow) {\n target.current.style.paddingRight = originalStyle.current.paddingRight;\n }\n }\n setIsLocked(false);\n };\n useIsomorphicLayoutEffect(() => {\n if (IS_SERVER5)\n return;\n if (lockTarget) {\n target.current = typeof lockTarget === \"string\" ? document.querySelector(lockTarget) : lockTarget;\n }\n if (!target.current) {\n target.current = document.body;\n }\n if (autoLock) {\n lock();\n }\n return () => {\n unlock();\n };\n }, [autoLock, lockTarget, widthReflow]);\n return { isLocked, lock, unlock };\n}\nvar IS_SERVER6 = typeof window === \"undefined\";\nfunction useSessionStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER6) {\n return initialValueToUse;\n }\n try {\n const raw = window.sessionStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading sessionStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER6) {\n console.warn(\n `Tried setting sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.sessionStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting sessionStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER6) {\n console.warn(\n `Tried removing sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.sessionStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"session-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nfunction useStep(maxStep) {\n const [currentStep, setCurrentStep] = useState(1);\n const canGoToNextStep = currentStep + 1 <= maxStep;\n const canGoToPrevStep = currentStep - 1 > 0;\n const setStep = useCallback(\n (step) => {\n const newStep = step instanceof Function ? step(currentStep) : step;\n if (newStep >= 1 && newStep <= maxStep) {\n setCurrentStep(newStep);\n return;\n }\n throw new Error(\"Step not valid\");\n },\n [maxStep, currentStep]\n );\n const goToNextStep = useCallback(() => {\n if (canGoToNextStep) {\n setCurrentStep((step) => step + 1);\n }\n }, [canGoToNextStep]);\n const goToPrevStep = useCallback(() => {\n if (canGoToPrevStep) {\n setCurrentStep((step) => step - 1);\n }\n }, [canGoToPrevStep]);\n const reset = useCallback(() => {\n setCurrentStep(1);\n }, []);\n return [\n currentStep,\n {\n goToNextStep,\n goToPrevStep,\n canGoToNextStep,\n canGoToPrevStep,\n setStep,\n reset\n }\n ];\n}\n\n// src/useTernaryDarkMode/useTernaryDarkMode.ts\nvar COLOR_SCHEME_QUERY2 = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY2 = \"usehooks-ts-ternary-dark-mode\";\nfunction useTernaryDarkMode({\n defaultValue = \"system\",\n localStorageKey = LOCAL_STORAGE_KEY2,\n initializeWithValue = true\n} = {}) {\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY2, { initializeWithValue });\n const [mode, setMode] = useLocalStorage(localStorageKey, defaultValue, {\n initializeWithValue\n });\n const isDarkMode = mode === \"dark\" || mode === \"system\" && isDarkOS;\n const toggleTernaryDarkMode = () => {\n const modes = [\"light\", \"system\", \"dark\"];\n setMode((prevMode) => {\n const nextIndex = (modes.indexOf(prevMode) + 1) % modes.length;\n return modes[nextIndex];\n });\n };\n return {\n isDarkMode,\n ternaryDarkMode: mode,\n setTernaryDarkMode: setMode,\n toggleTernaryDarkMode\n };\n}\nfunction useTimeout(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (!delay && delay !== 0) {\n return;\n }\n const id = setTimeout(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearTimeout(id);\n };\n }, [delay]);\n}\nfunction useToggle(defaultValue) {\n const [value, setValue] = useState(!!defaultValue);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return [value, toggle, setValue];\n}\nvar IS_SERVER7 = typeof window === \"undefined\";\nfunction useWindowSize(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER7) {\n initializeWithValue = false;\n }\n const [windowSize, setWindowSize] = useState(() => {\n if (initializeWithValue) {\n return {\n width: window.innerWidth,\n height: window.innerHeight\n };\n }\n return {\n width: void 0,\n height: void 0\n };\n });\n const debouncedSetWindowSize = useDebounceCallback(\n setWindowSize,\n options.debounceDelay\n );\n function handleSize() {\n const setSize = options.debounceDelay ? debouncedSetWindowSize : setWindowSize;\n setSize({\n width: window.innerWidth,\n height: window.innerHeight\n });\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return windowSize;\n}\n\nexport { useBoolean, useClickAnyWhere, useCopyToClipboard, useCountdown, useCounter, useDarkMode, useDebounceCallback, useDebounceValue, useDocumentTitle, useEventCallback, useEventListener, useHover, useIntersectionObserver, useInterval, useIsClient, useIsMounted, useIsomorphicLayoutEffect, useLocalStorage, useMap, useMediaQuery, useOnClickOutside, useReadLocalStorage, useResizeObserver, useScreen, useScript, useScrollLock, useSessionStorage, useStep, useTernaryDarkMode, useTimeout, useToggle, useUnmount, useWindowSize };\n"],"names":["useCopyToClipboard","copiedText","setCopiedText","useState","copy","useCallback","text","error"],"mappings":"sIAgDA,SAASA,GAAqB,CAC5B,KAAM,CAACC,EAAYC,CAAa,EAAIC,EAAAA,SAAS,IAAI,EAC3CC,EAAOC,cAAY,MAAOC,GAAS,CACvC,GAAI,EAAE,WAAa,MAAgB,UAAU,WAC3C,eAAQ,KAAK,yBAAyB,EAC/B,GAET,GAAI,CACF,aAAM,UAAU,UAAU,UAAUA,CAAI,EACxCJ,EAAcI,CAAI,EACX,EACR,OAAQC,EAAO,CACd,eAAQ,KAAK,cAAeA,CAAK,EACjCL,EAAc,IAAI,EACX,EACb,CACG,EAAE,EAAE,EACL,MAAO,CAACD,EAAYG,CAAI,CAC1B","x_google_ignoreList":[0]}
|
package/dist/index.cjs49.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardSelectDoctor/CardSelectDoctor.css');const e=require("./index.cjs247.js");;/* empty css */const h=require("react"),x=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardSelectDoctor/CardSelectDoctor.css');const e=require("./index.cjs247.js");;/* empty css */const h=require("react"),x=require("./index.cjs280.js"),j=require("./index.cjs281.js"),p=require("./index.cjs10.js"),R=require("./index.cjs215.js"),w=({id:o,title:r,titleTag:a="h1",description:l,className:u,setSelectedCard:t=()=>{},description2:c,keepSelectionOnNavigation:d=!1,disabled:s=!1,isActive:i=!1})=>{const n=h.useRef(null);j.useClickOutside(n,i,()=>t(void 0),()=>t(void 0),d);const m=`${u} ${i?"ui-is-active":"ui-card-search"} shadow br-x4 px-x24 py-x16 base-row bg-white gap-x16 ${s?"ui-card-disabled":"cursor-pointer"}`,f=()=>{s||t(o)};return e.jsxRuntimeExports.jsxs("div",{ref:n,className:m,onClick:f,"aria-disabled":s,children:[e.jsxRuntimeExports.jsx(x.Root,{id:o,checked:i,disabled:s,className:"ui-checkbox-filter",title:`Seleziona ${r}`,"aria-label":`Seleziona ${r}`,children:e.jsxRuntimeExports.jsx(x.Indicator,{children:e.jsxRuntimeExports.jsx(R.CheckIcon,{width:14,height:14,color:"white"})})}),e.jsxRuntimeExports.jsxs(p.Col,{children:[e.jsxRuntimeExports.jsx(a,{className:"flex-1 pb-x8 fs-5 md-fs-4 text-slate-20 fw-semibold",children:r}),e.jsxRuntimeExports.jsx("p",{className:"fs-7 md-fs-custom fw-regular text-slate-28",children:l}),c&&e.jsxRuntimeExports.jsx("p",{className:"fs-7 md-fs-custom fw-regular text-slate-28 pt-x16",children:c})]})]})};exports.CardSelectDoctor=w;
|
2
2
|
//# sourceMappingURL=index.cjs49.js.map
|
package/dist/index.cjs50.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardDoctorInfo/CardDoctorInfo.css');const s=require("./index.cjs247.js"),N=require("./index.cjs65.js");;/* empty css */const a=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardDoctorInfo/CardDoctorInfo.css');const s=require("./index.cjs247.js"),N=require("./index.cjs65.js");;/* empty css */const a=require("./index.cjs248.js"),o=require("./index.cjs138.js"),j=require("react"),w=require("./index.cjs314.js"),p=require("./index.cjs60.js"),C=require("./index.cjs9.js"),q=require("./index.cjs10.js"),$=({titleTag:g="h1",doctorName:b,specialties:u,contactInfo:i,avatar:r,className:R,officesInfo:l=[],officesInfoV2:x=[],officeLabel:n="Ambulatorio"})=>{const[d,c]=j.useState([]),E=()=>i&&(i==null?void 0:i.length)>0,h=e=>{d.includes(e)?c(d.filter(t=>t!==e)):c([...d,e])};return s.jsxRuntimeExports.jsxs("article",{className:a.clsx("bg-white shadow br-x4 ui-card-doctor-info",R),children:[s.jsxRuntimeExports.jsxs(C.Row,{as:"header",gap:"x16",children:[r&&s.jsxRuntimeExports.jsx(N.Avatar,{textColor:(r==null?void 0:r.textColor)??"slate-20",bg:(r==null?void 0:r.bg)??"lightblue-a01",initials:(r==null?void 0:r.initials)??"",className:"ui-card-doctor-avatar",size:"3"}),s.jsxRuntimeExports.jsxs("div",{children:[s.jsxRuntimeExports.jsx(g,{className:"fs-5 fw-semibold text-slate-20",children:b}),u&&(u==null?void 0:u.length)>0&&s.jsxRuntimeExports.jsx("p",{className:"fs-6 text-slate-20 fw-regular",children:u==null?void 0:u.join(" | ")})]})]}),s.jsxRuntimeExports.jsxs("div",{className:"ui-card-doctor-content-info",children:[E()&&s.jsxRuntimeExports.jsx("dl",{className:"ui-card-doctor-contact-info",children:i==null?void 0:i.map(e=>s.jsxRuntimeExports.jsxs("div",{role:"group",className:"ui-card-doctor-contact-detail-info",children:[s.jsxRuntimeExports.jsx("dt",{className:"fs-6 fw-bold text-slate-28",children:e.label}),s.jsxRuntimeExports.jsx("dd",{className:"fs-6 fw-regular text-slate-28",children:e.value})]},e.label))}),(l==null?void 0:l.length)>0&&s.jsxRuntimeExports.jsx(o.Divider,{bg:"border-divider",className:"ui-card-doctor-divider-info mt-x24"}),(x==null?void 0:x.length)>0&&s.jsxRuntimeExports.jsx(o.Divider,{bg:"border-divider",className:"ui-card-doctor-divider-info mt-x24"}),s.jsxRuntimeExports.jsxs(q.Col,{children:[(l==null?void 0:l.length)>0&&(l==null?void 0:l.map((e,t)=>s.jsxRuntimeExports.jsxs(j.Fragment,{children:[s.jsxRuntimeExports.jsx(p.CategoryHeader,{title:`${n} ${t+1}`,isOpen:d.includes(t),onToggle:()=>h(t),hasBorder:!d.includes(t),className:"pt-x24",titleClassName:"fw-semibold fs-6 text-primary pb-x16"}),d.includes(t)&&s.jsxRuntimeExports.jsx("div",{className:a.clsx("ui-has-border-bottom","pb-x24"),children:e.length>0&&s.jsxRuntimeExports.jsx("dl",{className:"ui-card-doctor-contact-info",children:e==null?void 0:e.map(m=>s.jsxRuntimeExports.jsxs("div",{role:"group",className:"ui-card-doctor-contact-detail-info",children:[s.jsxRuntimeExports.jsx("dt",{className:"fs-6 fw-bold text-slate-28",children:m.label}),s.jsxRuntimeExports.jsx("dd",{className:"fs-6 fw-regular text-slate-28",children:m.value})]},m.label))})})]},t))),(x==null?void 0:x.length)>0&&(x==null?void 0:x.map((e,t)=>s.jsxRuntimeExports.jsxs(j.Fragment,{children:[s.jsxRuntimeExports.jsx(p.CategoryHeader,{title:`${n} ${t+1}`,isOpen:d.includes(t),onToggle:()=>h(t),hasBorder:!d.includes(t),className:"pt-x24",titleClassName:"fw-semibold fs-6 text-primary pb-x16"}),d.includes(t)&&s.jsxRuntimeExports.jsxs("div",{className:a.clsx("ui-has-border-bottom","pb-x24"),children:[e.info.length>0&&s.jsxRuntimeExports.jsx("dl",{className:"ui-card-doctor-contact-info",children:e==null?void 0:e.info.map(m=>s.jsxRuntimeExports.jsxs("div",{role:"group",className:"ui-card-doctor-contact-detail-info",children:[s.jsxRuntimeExports.jsx("dt",{className:"fs-6 fw-bold text-slate-28",children:m.label}),s.jsxRuntimeExports.jsx("dd",{className:"fs-6 fw-regular text-slate-28",children:m.value})]},m.label))}),e.schedule&&s.jsxRuntimeExports.jsx("dl",{className:"mt-x16",children:s.jsxRuntimeExports.jsx(w.DoctorSchedule,{...e.schedule,labelClassName:"fs-6 fw-bold text-slate-28"})})]})]},t)))]})]})]})};exports.CardDoctorInfo=$;
|
2
2
|
//# sourceMappingURL=index.cjs50.js.map
|
@@ -0,0 +1,2 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index.cjs502.js"),d=require("./index.cjs503.js");var E=d.__module.exports,j;function R(){return j||(j=1,function(_,L){(function(m,i){i()})(E,function(){function m(e,t){return typeof t>"u"?t={autoBom:!1}:typeof t!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\uFEFF",e],{type:e.type}):e}function i(e,t,r){var o=new XMLHttpRequest;o.open("GET",e),o.responseType="blob",o.onload=function(){c(o.response,t,r)},o.onerror=function(){console.error("could not download file")},o.send()}function v(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return 200<=t.status&&299>=t.status}function l(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof u.commonjsGlobal=="object"&&u.commonjsGlobal.global===u.commonjsGlobal?u.commonjsGlobal:void 0,w=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),c=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!w?function(e,t,r){var o=a.URL||a.webkitURL,n=document.createElement("a");t=t||e.name||"download",n.download=t,n.rel="noopener",typeof e=="string"?(n.href=e,n.origin===location.origin?l(n):v(n.href)?i(e,t,r):l(n,n.target="_blank")):(n.href=o.createObjectURL(e),setTimeout(function(){o.revokeObjectURL(n.href)},4e4),setTimeout(function(){l(n)},0))}:"msSaveOrOpenBlob"in navigator?function(e,t,r){if(t=t||e.name||"download",typeof e!="string")navigator.msSaveOrOpenBlob(m(e,r),t);else if(v(e))i(e,t,r);else{var o=document.createElement("a");o.href=e,o.target="_blank",setTimeout(function(){l(o)})}}:function(e,t,r,o){if(o=o||open("","_blank"),o&&(o.document.title=o.document.body.innerText="downloading..."),typeof e=="string")return i(e,t,r);var n=e.type==="application/octet-stream",h=/constructor/i.test(a.HTMLElement)||a.safari,y=/CriOS\/[\d]+/.test(navigator.userAgent);if((y||n&&h||w)&&typeof FileReader<"u"){var f=new FileReader;f.onloadend=function(){var s=f.result;s=y?s:s.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=s:location=s,o=null},f.readAsDataURL(e)}else{var b=a.URL||a.webkitURL,p=b.createObjectURL(e);o?o.location=p:location.href=p,o=null,setTimeout(function(){b.revokeObjectURL(p)},4e4)}});a.saveAs=c.saveAs=c,_.exports=c})}(d.__module)),d.__module.exports}exports.__require=R;
|
2
|
+
//# sourceMappingURL=index.cjs501.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.cjs501.js","sources":["../node_modules/file-saver/dist/FileSaver.min.js"],"sourcesContent":["(function(a,b){if(\"function\"==typeof define&&define.amd)define([],b);else if(\"undefined\"!=typeof exports)b();else{b(),a.FileSaver={exports:{}}.exports}})(this,function(){\"use strict\";function b(a,b){return\"undefined\"==typeof b?b={autoBom:!1}:\"object\"!=typeof b&&(console.warn(\"Deprecated: Expected third argument to be a object\"),b={autoBom:!b}),b.autoBom&&/^\\s*(?:text\\/\\S*|application\\/xml|\\S*\\/\\S*\\+xml)\\s*;.*charset\\s*=\\s*utf-8/i.test(a.type)?new Blob([\"\\uFEFF\",a],{type:a.type}):a}function c(a,b,c){var d=new XMLHttpRequest;d.open(\"GET\",a),d.responseType=\"blob\",d.onload=function(){g(d.response,b,c)},d.onerror=function(){console.error(\"could not download file\")},d.send()}function d(a){var b=new XMLHttpRequest;b.open(\"HEAD\",a,!1);try{b.send()}catch(a){}return 200<=b.status&&299>=b.status}function e(a){try{a.dispatchEvent(new MouseEvent(\"click\"))}catch(c){var b=document.createEvent(\"MouseEvents\");b.initMouseEvent(\"click\",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),a.dispatchEvent(b)}}var f=\"object\"==typeof window&&window.window===window?window:\"object\"==typeof self&&self.self===self?self:\"object\"==typeof global&&global.global===global?global:void 0,a=f.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),g=f.saveAs||(\"object\"!=typeof window||window!==f?function(){}:\"download\"in HTMLAnchorElement.prototype&&!a?function(b,g,h){var i=f.URL||f.webkitURL,j=document.createElement(\"a\");g=g||b.name||\"download\",j.download=g,j.rel=\"noopener\",\"string\"==typeof b?(j.href=b,j.origin===location.origin?e(j):d(j.href)?c(b,g,h):e(j,j.target=\"_blank\")):(j.href=i.createObjectURL(b),setTimeout(function(){i.revokeObjectURL(j.href)},4E4),setTimeout(function(){e(j)},0))}:\"msSaveOrOpenBlob\"in navigator?function(f,g,h){if(g=g||f.name||\"download\",\"string\"!=typeof f)navigator.msSaveOrOpenBlob(b(f,h),g);else if(d(f))c(f,g,h);else{var i=document.createElement(\"a\");i.href=f,i.target=\"_blank\",setTimeout(function(){e(i)})}}:function(b,d,e,g){if(g=g||open(\"\",\"_blank\"),g&&(g.document.title=g.document.body.innerText=\"downloading...\"),\"string\"==typeof b)return c(b,d,e);var h=\"application/octet-stream\"===b.type,i=/constructor/i.test(f.HTMLElement)||f.safari,j=/CriOS\\/[\\d]+/.test(navigator.userAgent);if((j||h&&i||a)&&\"undefined\"!=typeof FileReader){var k=new FileReader;k.onloadend=function(){var a=k.result;a=j?a:a.replace(/^data:[^;]*;/,\"data:attachment/file;\"),g?g.location.href=a:location=a,g=null},k.readAsDataURL(b)}else{var l=f.URL||f.webkitURL,m=l.createObjectURL(b);g?g.location=m:location.href=m,g=null,setTimeout(function(){l.revokeObjectURL(m)},4E4)}});f.saveAs=g.saveAs=g,\"undefined\"!=typeof module&&(module.exports=g)});\n\n//# sourceMappingURL=FileSaver.min.js.map"],"names":["a","b","this","c","d","g","e","f","global","h","i","j","k","l","m","module"],"mappings":"0NAAC,SAASA,EAAEC,EAAE,CAA2FA,EAAC,CAA6C,GAAGC,EAAK,UAAU,CAAc,SAASD,EAAED,EAAEC,EAAE,CAAC,OAAmB,OAAOA,EAApB,IAAsBA,EAAE,CAAC,QAAQ,EAAE,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EG,EAAEE,CAAC,EAAE,IAAIG,EAA+BR,EAAE,OAA/B,2BAAoCS,EAAE,eAAe,KAAKH,EAAE,WAAW,GAAGA,EAAE,OAAOI,EAAE,eAAe,KAAK,UAAU,SAAS,EAAE,IAAIA,GAAGF,GAAGC,GAAGV,IAAiB,OAAO,WAApB,IAA+B,CAAC,IAAIY,EAAE,IAAI,WAAWA,EAAE,UAAU,UAAU,CAAC,IAAIZ,EAAEY,EAAE,OAAOZ,EAAEW,EAAEX,EAAEA,EAAE,QAAQ,eAAe,uBAAuB,EAAEK,EAAEA,EAAE,SAAS,KAAKL,EAAE,SAASA,EAAEK,EAAE,IAAI,EAAEO,EAAE,cAAcX,CAAC,CAAC,KAAK,CAAC,IAAIY,EAAEN,EAAE,KAAKA,EAAE,UAAUO,EAAED,EAAE,gBAAgBZ,CAAC,EAAEI,EAAEA,EAAE,SAASS,EAAE,SAAS,KAAKA,EAAET,EAAE,KAAK,WAAW,UAAU,CAACQ,EAAE,gBAAgBC,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,GAAGP,EAAE,OAAOF,EAAE,OAAOA,EAA+BU,EAAe,QAAAV,CAAE,CAAC","x_google_ignoreList":[0]}
|
@@ -0,0 +1,2 @@
|
|
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
|
+
//# sourceMappingURL=index.cjs502.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.cjs502.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.cjs503.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.cjs509.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index.cjs510.js"),f=require("./index.cjs511.js"),s=require("./index.cjs512.js");var c;function d(){return c||(c=1,function(o){var a=n.__exports&&n.__exports.__createBinding||(Object.create?function(i,r,e,t){t===void 0&&(t=e);var _=Object.getOwnPropertyDescriptor(r,e);(!_||("get"in _?!r.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return r[e]}}),Object.defineProperty(i,t,_)}:function(i,r,e,t){t===void 0&&(t=e),i[t]=r[e]}),u=n.__exports&&n.__exports.__exportStar||function(i,r){for(var e in i)e!=="default"&&!Object.prototype.hasOwnProperty.call(r,e)&&a(r,i,e)};Object.defineProperty(o,"__esModule",{value:!0}),u(f.__require(),o),u(s.__require(),o)}(n.__exports)),n.__exports}exports.__require=d;
|
2
2
|
//# sourceMappingURL=index.cjs509.js.map
|
package/dist/index.cjs509.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs509.js","sources":["../node_modules/
|
1
|
+
{"version":3,"file":"index.cjs509.js","sources":["../node_modules/@anoki/fse-common/dist/index.js"],"sourcesContent":["\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./types\"), exports);\n__exportStar(require(\"./constants\"), exports);\n//# sourceMappingURL=index.js.map"],"names":["__createBinding","this","o","m","k","k2","desc","__exportStar","exports","p","require$$0","require$$1"],"mappings":"iOACA,IAAIA,EAAmBC,aAAQA,EAAAA,UAAK,kBAAqB,OAAO,OAAU,SAASC,EAAGC,EAAGC,EAAGC,EAAI,CACxFA,IAAO,SAAWA,EAAKD,GAC3B,IAAIE,EAAO,OAAO,yBAAyBH,EAAGC,CAAC,GAC3C,CAACE,IAAS,QAASA,EAAO,CAACH,EAAE,WAAaG,EAAK,UAAYA,EAAK,iBAClEA,EAAO,CAAE,WAAY,GAAM,IAAK,UAAW,CAAE,OAAOH,EAAEC,CAAC,EAAM,GAE/D,OAAO,eAAeF,EAAGG,EAAIC,CAAI,CACpC,EAAK,SAASJ,EAAGC,EAAGC,EAAGC,EAAI,CACpBA,IAAO,SAAWA,EAAKD,GAC3BF,EAAEG,CAAE,EAAIF,EAAEC,CAAC,CACf,GACIG,EAAgBN,aAAQA,EAAAA,UAAK,cAAiB,SAASE,EAAGK,EAAS,CACnE,QAASC,KAAKN,EAAOM,IAAM,WAAa,CAAC,OAAO,UAAU,eAAe,KAAKD,EAASC,CAAC,GAAGT,EAAgBQ,EAASL,EAAGM,CAAC,CAC3H,EACD,OAAO,eAAcD,EAAU,aAAc,CAAE,MAAO,GAAM,EAC5DD,EAAaG,EAAAA,UAAkB,EAAEF,CAAO,EACxCD,EAAaI,EAAAA,UAAsB,EAAEH,CAAO","x_google_ignoreList":[0]}
|
package/dist/index.cjs51.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardInfoDoctorModal/CardInfoDoctorModal.css');const i=require("./index.cjs247.js"),s=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardInfoDoctorModal/CardInfoDoctorModal.css');const i=require("./index.cjs247.js"),s=require("./index.cjs248.js");;/* empty css */const c=require("./index.cjs316.js"),u=require("./index.cjs317.js"),l=require("./index.cjs45.js"),e=({open:o,overrideClassNames:r,overrideBaseModalClassName:t,setOpen:n,children:d,role:a})=>i.jsxRuntimeExports.jsx(l.BaseModal,{overrideBaseModalClassName:t,open:o,setOpen:n,overrideClassNames:s.clsx("ui-card-info-modal-override",r),role:a,children:d});e.Header=u.CardInfoDoctorModalHeader;e.Content=c.CardInfoDoctorModalContent;exports.CardInfoDoctorModal=e;
|
2
2
|
//# sourceMappingURL=index.cjs51.js.map
|
package/dist/index.cjs510.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
|
2
2
|
//# sourceMappingURL=index.cjs510.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index.
|
2
|
-
//# sourceMappingURL=index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index.cjs535.js"),a=require("./index.cjs536.js"),s=require("./index.cjs537.js"),d=require("./index.cjs538.js"),g=require("./index.cjs539.js"),f=require("./index.cjs540.js"),l=require("./index.cjs541.js"),y=require("./index.cjs542.js"),b=require("./index.cjs543.js"),v=require("./index.cjs544.js"),h=require("./index.cjs545.js"),O=require("./index.cjs546.js"),P=require("./index.cjs547.js"),w=require("./index.cjs548.js"),j=require("./index.cjs549.js"),M=require("./index.cjs550.js"),S=require("./index.cjs551.js"),T=require("./index.cjs552.js"),m=require("./index.cjs553.js"),B=require("./index.cjs554.js"),F=require("./index.cjs555.js"),C=require("./index.cjs556.js"),D=require("./index.cjs557.js"),I=require("./index.cjs558.js"),L=require("./index.cjs559.js"),R=require("./index.cjs560.js"),z=require("./index.cjs561.js"),A=require("./index.cjs562.js"),E=require("./index.cjs563.js"),G=require("./index.cjs564.js"),H=require("./index.cjs565.js"),J=require("./index.cjs566.js"),K=require("./index.cjs567.js"),N=require("./index.cjs568.js"),Q=require("./index.cjs569.js"),U=require("./index.cjs570.js");var c;function V(){return c||(c=1,function(e){var o=n.__exports&&n.__exports.__createBinding||(Object.create?function(q,u,i,_){_===void 0&&(_=i);var t=Object.getOwnPropertyDescriptor(u,i);(!t||("get"in t?!u.__esModule:t.writable||t.configurable))&&(t={enumerable:!0,get:function(){return u[i]}}),Object.defineProperty(q,_,t)}:function(q,u,i,_){_===void 0&&(_=i),q[_]=u[i]}),r=n.__exports&&n.__exports.__exportStar||function(q,u){for(var i in q)i!=="default"&&!Object.prototype.hasOwnProperty.call(u,i)&&o(u,q,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(a.__require(),e),r(s.__require(),e),r(d.__require(),e),r(g.__require(),e),r(f.__require(),e),r(l.__require(),e),r(y.__require(),e),r(b.__require(),e),r(v.__require(),e),r(h.__require(),e),r(O.__require(),e),r(P.__require(),e),r(w.__require(),e),r(j.__require(),e),r(M.__require(),e),r(S.__require(),e),r(T.__require(),e),r(m.__require(),e),r(B.__require(),e),r(F.__require(),e),r(C.__require(),e),r(D.__require(),e),r(I.__require(),e),r(L.__require(),e),r(R.__require(),e),r(z.__require(),e),r(A.__require(),e),r(E.__require(),e),r(G.__require(),e),r(H.__require(),e),r(J.__require(),e),r(K.__require(),e),r(N.__require(),e),r(Q.__require(),e),r(U.__require(),e)}(n.__exports)),n.__exports}exports.__require=V;
|
2
|
+
//# sourceMappingURL=index.cjs511.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.
|
1
|
+
{"version":3,"file":"index.cjs511.js","sources":["../node_modules/@anoki/fse-common/dist/types/index.js"],"sourcesContent":["\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./with-mongoose-props\"), exports);\n__exportStar(require(\"./user\"), exports);\n__exportStar(require(\"./structure\"), exports);\n__exportStar(require(\"./entity-type\"), exports);\n__exportStar(require(\"./image\"), exports);\n__exportStar(require(\"./element\"), exports);\n__exportStar(require(\"./chip-link\"), exports);\n__exportStar(require(\"./category\"), exports);\n__exportStar(require(\"./page\"), exports);\n__exportStar(require(\"./upload-file\"), exports);\n__exportStar(require(\"./section\"), exports);\n__exportStar(require(\"./load-more\"), exports);\n__exportStar(require(\"./feedback\"), exports);\n__exportStar(require(\"./question\"), exports);\n__exportStar(require(\"./rating\"), exports);\n__exportStar(require(\"./event\"), exports);\n__exportStar(require(\"./with-translations\"), exports);\n__exportStar(require(\"./saved-changes\"), exports);\n__exportStar(require(\"./service\"), exports);\n__exportStar(require(\"./document\"), exports);\n__exportStar(require(\"./unit\"), exports);\n__exportStar(require(\"./news\"), exports);\n__exportStar(require(\"./aggregation-page\"), exports);\n__exportStar(require(\"./link\"), exports);\n__exportStar(require(\"./faq\"), exports);\n__exportStar(require(\"./person\"), exports);\n__exportStar(require(\"./aggregation-item\"), exports);\n__exportStar(require(\"./with-basic-fields\"), exports);\n__exportStar(require(\"./changes\"), exports);\n__exportStar(require(\"./address\"), exports);\n__exportStar(require(\"./setting\"), exports);\n__exportStar(require(\"./general-practitioner-service\"), exports);\n__exportStar(require(\"./seo\"), exports);\n__exportStar(require(\"./translation\"), exports);\n__exportStar(require(\"./report\"), exports);\n//# sourceMappingURL=index.js.map"],"names":["__createBinding","this","o","m","k","k2","desc","__exportStar","exports","p","require$$0","require$$1","require$$2","require$$3","require$$4","require$$5","require$$6","require$$7","require$$8","require$$9","require$$10","require$$11","require$$12","require$$13","require$$14","require$$15","require$$16","require$$17","require$$18","require$$19","require$$20","require$$21","require$$22","require$$23","require$$24","require$$25","require$$26","require$$27","require$$28","require$$29","require$$30","require$$31","require$$32","require$$33","require$$34"],"mappings":"guCACA,IAAIA,EAAmBC,aAAQA,EAAAA,UAAK,kBAAqB,OAAO,OAAU,SAASC,EAAGC,EAAGC,EAAGC,EAAI,CACxFA,IAAO,SAAWA,EAAKD,GAC3B,IAAIE,EAAO,OAAO,yBAAyBH,EAAGC,CAAC,GAC3C,CAACE,IAAS,QAASA,EAAO,CAACH,EAAE,WAAaG,EAAK,UAAYA,EAAK,iBAClEA,EAAO,CAAE,WAAY,GAAM,IAAK,UAAW,CAAE,OAAOH,EAAEC,CAAC,EAAM,GAE/D,OAAO,eAAeF,EAAGG,EAAIC,CAAI,CACpC,EAAK,SAASJ,EAAGC,EAAGC,EAAGC,EAAI,CACpBA,IAAO,SAAWA,EAAKD,GAC3BF,EAAEG,CAAE,EAAIF,EAAEC,CAAC,CACf,GACIG,EAAgBN,aAAQA,EAAAA,UAAK,cAAiB,SAASE,EAAGK,EAAS,CACnE,QAASC,KAAKN,EAAOM,IAAM,WAAa,CAAC,OAAO,UAAU,eAAe,KAAKD,EAASC,CAAC,GAAGT,EAAgBQ,EAASL,EAAGM,CAAC,CAC3H,EACD,OAAO,eAAcD,EAAU,aAAc,CAAE,MAAO,GAAM,EAC5DD,EAAaG,EAAAA,UAAgC,EAAEF,CAAO,EACtDD,EAAaI,EAAAA,UAAiB,EAAEH,CAAO,EACvCD,EAAaK,EAAAA,UAAsB,EAAEJ,CAAO,EAC5CD,EAAaM,EAAAA,UAAwB,EAAEL,CAAO,EAC9CD,EAAaO,EAAAA,UAAkB,EAAEN,CAAO,EACxCD,EAAaQ,EAAAA,UAAoB,EA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AO,EAC9CD,EAAaqC,EAAAA,UAAmB,EAAEpC,CAAO","x_google_ignoreList":[0]}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./index.
|
2
|
-
//# sourceMappingURL=index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./index.cjs571.js");var T;function n(){return T||(T=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ServicePageUrlsEnum=e.FaqTypesEnum=e.EntitiesEnum=e.LanguagesValues=e.LanguagesEnum=e.CategoriesUrlEnum=e.EntityTypeTypesEnum=e.ElementTypeEnum=e.RegisterTypeEnum=e.OrganizationStructureEnum=e.ContestTypeEnum=e.AnnouncementTypeEnum=e.SectionTypeEnum=e.PageTypeEnum=e.AggregationPageTypeEnum=e.ProcedureTypeEnum=e.PublicationTypeEnum=e.ReferenceEntityTypeEnum=e.RenderTypeEnum=void 0,e.RenderTypeEnum={STATIC:"Static",DYNAMIC:"Dynamic"},e.ReferenceEntityTypeEnum={NEWS:"News",SERVICE:"Service",PAGE:"Page",AGGREGATION_PAGE:"AggregationPage",AGGREGATION_ITEM:"AggregationItem",EVENT:"Event",STRUCTURE:"Structure",DOCUMENT:"Document",CATEGORY:"Category",ENTITY_TYPE:"EntityType",FAQ:"Faq"},e.PublicationTypeEnum={ANNOUNCEMENT:"Announcement",ALERT:"Alert"},e.ProcedureTypeEnum={OPEN_PROCEDURE:"OpenProcedure"},e.AggregationPageTypeEnum={USER_TYPE:"UserType",THEMATIC:"Thematic"},e.PageTypeEnum={HOME:"Home",STATIC_CONTENT:"StaticContent",SERVICES:"Services",EVENTS:"Events",COMMUNICATION:"Communication",FSE_COMMUNICATION:"FseCommunication"},e.SectionTypeEnum={SERVICES:"SectionServices",SUGGESTED_SERVICES:"SuggestedServices",LOGIN:"Login",WHAT_DO_YOU_NEED:"WhatDoYouNeed",HOME_SERVICES:"HomeServices",SERVICES_BY_ENTITY_TYPE:"ServicesByEntityType",NEED_HELP:"NeedHelp",RICH_TEXT:"RichText",FOLDER:"Folder",FILES:"Files",ENTITY_TYPE_ID:"EntityTypeId",STEPPER_ACCORDION:"StepperAccordion",EDITORIAL_WIDGET_ALERT:"EditorialWidgetAlert",DOCUMENTS:"Documents",EDITORIAL_WIDGET_ACTION_BANNER:"EditorialWidgetActionBanner",TAGS:"Tags",EDITORIAL_WIDGET:"EditorialWidget",EDITORIAL_WIDGET_BLOCK_QUOTE:"EditorialWidgetBlockQuote",EDITORIAL_WIDGET_CALLOUT:"EditorialWidgetCallout",GENERIC_CAROUSEL:"GenericCarousel",INSIGHTS:"InsightsSection",VIDEO:"Video",IMAGES:"Images",VERTICAL_STEPPER_ACCORDION:"VerticalStepperAccordion",TABLE_LIST:"TableList",TABLE_CARD:"TableCard",CARD_FAQ_CTA_SECTION:"CardFaqCtaSection",CARD_PREVIEW_SECTION:"CardPreviewSection",CARD_FEATURED_SECTION:"CardFeaturedSection",ACCORDION_SECTION:"AccordionSection",FEEDBACK_SECTION:"FeedbackSection",TASK_FORCE_FORM_SECTION:"TaskForceFormSection",SLIDER_SECTION:"SliderSection",COMMUNICATION_TAGS_SECTION:"CommunicationTagsSection",COMMUNICATION_SEARCH_SECTION:"CommunicationSearchSection",COMMUNICATION_CONTENTS_SECTION:"CommunicationContentsSection"},e.AnnouncementTypeEnum={TENDER:"Tender",CONTEST:"Contest",PRAETORIAN_REGISTER:"PraetorianRegister"},e.ContestTypeEnum={EXTERNAL:"External",INTERNAL:"Internal"},e.OrganizationStructureEnum={GENERAL_DIRECTION:"GeneralDirection",UO:"UO",PERSONNEL:"Personnel"},e.RegisterTypeEnum={DIRECTOR_DETERMINED:"DirectorDetermined",MANAGER_DETERMINED:"ManagerDetermined"},e.ElementTypeEnum={AVATAR:"Avatar",CARD_BASIC:"CardBasic",CARD_EVENT:"CardEvent",CARD_FEATURED:"CardFeatured",CARD_LIFE:"CardLife",CARD_FILE:"CardFile",CARD_GHOST:"CardGhost",CARD_GUIDE:"CardGuide",CARD_LIST:"CardList",CARD_NEWS:"CardNews",CARD_PEOPLE:"CardPeople",CARD_PLACE:"CardPlace",CARD_SERVICE:"CardService",CARD_USER:"CardUser",CARD_DOCUMENT:"CardDocument",CARD:"Card",CHIP_LINK:"ChipLink",ICONS:"Icons",INDEX:"Index",LINK:"Link",PLACEHOLDER:"Placeholder",TEXT:"Text",RICH_TEXT:"RichText",STEPPER_ITEM:"StepperItem",EDITORIAL_WIDGET_ALERT:"EditorialWidgetAlert",EDITORIAL_WIDGET_ACTION_BANNER:"EditorialWidgetActionBanner",EDITORIAL_WIDGET:"EditorialWidget",EDITORIAL_WIDGET_BLOCK_QUOTE:"EditorialWidgetBlockQuote",EDITORIAL_WIDGET_CALLOUT:"EditorialWidgetCallout",GENERIC_CAROUSEL_ITEM:"GenericCarouselItem",INSIGHT_ITEM:"InsightItem",VIDEO:"Video",IMAGE:"Image",VERTICAL_STEPPER_ITEM:"VerticalStepperItem",TABLE_LIST_ITEM:"TableListItem",TABLE_CARD_ITEM:"TableCardItem",CARD_FAQ_CTA_ITEM:"CardFaqCtaItem",CARD_PREVIEW_ITEM:"CardPreviewItem",CARD_FEATURED_ITEM:"CardFeaturedItem",ACCORDION_ITEM:"AccordionItem",FEEDBACK_ITEM:"FeedbackItem",TASK_FORCE_FORM_ITEM:"TaskForceFormItem",SLIDER_ITEM:"SliderItem",COMMUNICATION_TAGS_ITEM:"CommunicationTagsItem",COMMUNICATION_SEARCH_ITEM:"CommunicationSearchItem",COMMUNICATION_CONTENTS_ITEM:"CommunicationContentsItem"},e.EntityTypeTypesEnum={PARENT:"Parent",CHILD:"Child"},e.CategoriesUrlEnum={SERVIZI_E_PRESTAZIONI:"servizi",ASL_COMUNICA:"ast-comunica",AST_COMUNICA:"ast-comunica",STRUTTURE:"strutture",ORGANIZZAZIONE:"organizzazione",COME_FARE_PER:"come-fare-per",FAQ:"supporto"},e.LanguagesEnum={it:"it",en:"en"},e.LanguagesValues=Object.values(e.LanguagesEnum),e.EntitiesEnum={AGGREGATION_ITEMS:"aggregation-items",AGGREGATION_PAGES:"aggregation-pages",SERVICES:"services",STRUCTURES:"structures",PAGES:"pages",SECTIONS:"sections",ELEMENTS:"elements",NEWS:"news",EVENTS:"events",SETTINGS:"settings",DOCUMENTS:"documents",FAQS:"faqs"},e.FaqTypesEnum={GENERIC_FAQS:"FAQS Generiche",PAGE_FAQS:"FAQS Pagina"},e.ServicePageUrlsEnum={DOCTOR:"medico-di-famiglia",FIND_STRUCTURES:"cerca-una-struttura",ARCHIVE:"tutti-i-documenti",HEALTH_PROFILE:"profilo-della-salute"}}(E.__exports)),E.__exports}exports.__require=n;
|
2
|
+
//# sourceMappingURL=index.cjs512.js.map
|