@anoki/fse-ui 1.0.0-beta1.38.18 → 1.0.0-beta1.38.19
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/HeroContentCard/HeroContentCard.css +1 -1
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs101.js +1 -1
- package/dist/index.cjs103.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.cjs108.js +1 -1
- package/dist/index.cjs109.js +1 -1
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs110.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.cjs116.js +1 -1
- package/dist/index.cjs117.js +1 -1
- package/dist/index.cjs118.js +1 -1
- package/dist/index.cjs12.js +1 -1
- package/dist/index.cjs120.js +1 -1
- package/dist/index.cjs122.js +1 -1
- package/dist/index.cjs123.js +1 -1
- package/dist/index.cjs125.js +1 -1
- package/dist/index.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.cjs134.js +1 -1
- package/dist/index.cjs135.js +1 -1
- package/dist/index.cjs137.js +1 -1
- package/dist/index.cjs138.js +1 -1
- package/dist/index.cjs139.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.cjs144.js +1 -1
- package/dist/index.cjs146.js +1 -1
- package/dist/index.cjs148.js +1 -1
- package/dist/index.cjs149.js +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs150.js +1 -1
- package/dist/index.cjs153.js +1 -1
- package/dist/index.cjs154.js +1 -1
- package/dist/index.cjs155.js +1 -1
- package/dist/index.cjs156.js +1 -1
- package/dist/index.cjs157.js +1 -1
- package/dist/index.cjs158.js +1 -1
- package/dist/index.cjs159.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs160.js +1 -1
- package/dist/index.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.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.cjs188.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.cjs215.js +1 -1
- package/dist/index.cjs238.js +1 -1
- package/dist/index.cjs238.js.map +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs240.js +1 -1
- package/dist/index.cjs240.js.map +1 -1
- package/dist/index.cjs247.js +2 -0
- package/dist/index.cjs247.js.map +1 -0
- package/dist/index.cjs248.js +6 -1
- package/dist/index.cjs248.js.map +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs252.js +1 -1
- package/dist/index.cjs252.js.map +1 -1
- package/dist/index.cjs253.js +2 -0
- package/dist/index.cjs253.js.map +1 -0
- package/dist/{index.cjs395.js → index.cjs254.js} +2 -2
- package/dist/{index.cjs395.js.map → index.cjs254.js.map} +1 -1
- package/dist/index.cjs255.js +2 -0
- package/dist/index.cjs255.js.map +1 -0
- package/dist/index.cjs256.js +2 -0
- package/dist/index.cjs256.js.map +1 -0
- package/dist/index.cjs26.js +1 -1
- package/dist/{index.cjs438.js → index.cjs261.js} +1 -1
- package/dist/{index.cjs438.js.map → index.cjs261.js.map} +1 -1
- package/dist/index.cjs263.js +1 -1
- package/dist/index.cjs263.js.map +1 -1
- package/dist/index.cjs264.js +2 -0
- package/dist/index.cjs264.js.map +1 -0
- package/dist/index.cjs266.js +2 -0
- package/dist/index.cjs266.js.map +1 -0
- package/dist/{index.cjs241.js → index.cjs267.js} +1 -1
- package/dist/{index.cjs241.js.map → index.cjs267.js.map} +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs270.js +1 -1
- package/dist/index.cjs270.js.map +1 -1
- package/dist/index.cjs274.js +2 -0
- package/dist/index.cjs274.js.map +1 -0
- package/dist/index.cjs278.js +2 -0
- package/dist/index.cjs278.js.map +1 -0
- package/dist/index.cjs28.js +1 -1
- package/dist/{index.cjs257.js → index.cjs283.js} +2 -2
- package/dist/{index.cjs257.js.map → index.cjs283.js.map} +1 -1
- package/dist/{index.cjs260.js → index.cjs286.js} +2 -2
- package/dist/{index.cjs260.js.map → index.cjs286.js.map} +1 -1
- package/dist/index.cjs288.js +1 -1
- package/dist/index.cjs288.js.map +1 -1
- package/dist/index.cjs289.js +1 -1
- package/dist/index.cjs289.js.map +1 -1
- package/dist/index.cjs29.js +1 -1
- package/dist/index.cjs296.js +2 -0
- package/dist/index.cjs296.js.map +1 -0
- package/dist/{index.cjs271.js → index.cjs297.js} +1 -1
- package/dist/{index.cjs271.js.map → index.cjs297.js.map} +1 -1
- package/dist/index.cjs30.js +1 -1
- package/dist/index.cjs305.js +1 -1
- package/dist/index.cjs305.js.map +1 -1
- package/dist/index.cjs306.js +1 -1
- package/dist/index.cjs306.js.map +1 -1
- package/dist/{index.cjs281.js → index.cjs307.js} +1 -1
- package/dist/{index.cjs281.js.map → index.cjs307.js.map} +1 -1
- package/dist/index.cjs308.js +1 -1
- package/dist/index.cjs308.js.map +1 -1
- package/dist/{index.cjs285.js → index.cjs311.js} +2 -2
- package/dist/{index.cjs285.js.map → index.cjs311.js.map} +1 -1
- package/dist/index.cjs313.js +5 -1
- package/dist/index.cjs313.js.map +1 -1
- package/dist/index.cjs314.js +1 -1
- package/dist/index.cjs314.js.map +1 -1
- package/dist/index.cjs315.js +2 -0
- package/dist/index.cjs315.js.map +1 -0
- package/dist/index.cjs316.js +1 -1
- package/dist/index.cjs316.js.map +1 -1
- package/dist/index.cjs317.js +1 -1
- package/dist/index.cjs317.js.map +1 -1
- package/dist/{index.cjs293.js → index.cjs319.js} +2 -2
- package/dist/{index.cjs293.js.map → index.cjs319.js.map} +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs320.js +1 -6
- package/dist/index.cjs320.js.map +1 -1
- package/dist/{index.cjs295.js → index.cjs321.js} +2 -2
- package/dist/{index.cjs295.js.map → index.cjs321.js.map} +1 -1
- package/dist/{index.cjs298.js → index.cjs324.js} +2 -2
- package/dist/{index.cjs298.js.map → index.cjs324.js.map} +1 -1
- package/dist/{index.cjs299.js → index.cjs325.js} +1 -1
- package/dist/{index.cjs299.js.map → index.cjs325.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 +2 -0
- package/dist/index.cjs331.js.map +1 -0
- package/dist/index.cjs332.js +2 -0
- package/dist/index.cjs332.js.map +1 -0
- package/dist/index.cjs334.js +2 -0
- package/dist/index.cjs334.js.map +1 -0
- package/dist/{index.cjs309.js → index.cjs335.js} +2 -2
- package/dist/{index.cjs309.js.map → index.cjs335.js.map} +1 -1
- package/dist/{index.cjs310.js → index.cjs336.js} +1 -1
- package/dist/{index.cjs310.js.map → index.cjs336.js.map} +1 -1
- package/dist/index.cjs338.js +1 -1
- package/dist/index.cjs338.js.map +1 -1
- package/dist/index.cjs339.js +2 -0
- package/dist/index.cjs339.js.map +1 -0
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs340.js +2 -0
- package/dist/index.cjs340.js.map +1 -0
- package/dist/index.cjs342.js +2 -0
- package/dist/index.cjs342.js.map +1 -0
- package/dist/index.cjs343.js +2 -0
- package/dist/index.cjs343.js.map +1 -0
- package/dist/{index.cjs318.js → index.cjs344.js} +2 -2
- package/dist/{index.cjs318.js.map → index.cjs344.js.map} +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs354.js +2 -0
- package/dist/index.cjs354.js.map +1 -0
- package/dist/index.cjs36.js +1 -1
- package/dist/{index.cjs337.js → index.cjs362.js} +1 -1
- package/dist/{index.cjs337.js.map → index.cjs362.js.map} +1 -1
- package/dist/index.cjs363.js +2 -0
- package/dist/index.cjs363.js.map +1 -0
- package/dist/index.cjs37.js +1 -1
- package/dist/index.cjs38.js +1 -1
- package/dist/{index.cjs360.js → index.cjs385.js} +2 -2
- package/dist/{index.cjs360.js.map → index.cjs385.js.map} +1 -1
- package/dist/index.cjs39.js +1 -1
- package/dist/{index.cjs366.js → index.cjs391.js} +2 -2
- package/dist/index.cjs391.js.map +1 -0
- package/dist/index.cjs394.js +1 -1
- package/dist/index.cjs394.js.map +1 -1
- package/dist/index.cjs396.js +1 -1
- package/dist/index.cjs396.js.map +1 -1
- package/dist/{index.cjs372.js → index.cjs397.js} +2 -2
- package/dist/{index.cjs372.js.map → index.cjs397.js.map} +1 -1
- package/dist/{index.cjs373.js → index.cjs398.js} +1 -1
- package/dist/{index.cjs373.js.map → index.cjs398.js.map} +1 -1
- package/dist/index.cjs40.js +1 -1
- package/dist/{index.cjs378.js → index.cjs403.js} +1 -1
- package/dist/{index.cjs378.js.map → index.cjs403.js.map} +1 -1
- package/dist/{index.cjs384.js → index.cjs409.js} +2 -2
- package/dist/{index.cjs384.js.map → index.cjs409.js.map} +1 -1
- package/dist/index.cjs41.js +1 -1
- package/dist/{index.cjs386.js → index.cjs411.js} +2 -2
- package/dist/{index.cjs386.js.map → index.cjs411.js.map} +1 -1
- package/dist/{index.cjs387.js → index.cjs412.js} +2 -2
- package/dist/{index.cjs387.js.map → index.cjs412.js.map} +1 -1
- package/dist/index.cjs417.js +1 -1
- package/dist/index.cjs417.js.map +1 -1
- package/dist/{index.cjs406.js → index.cjs425.js} +1 -1
- package/dist/{index.cjs406.js.map → index.cjs425.js.map} +1 -1
- package/dist/{index.cjs407.js → index.cjs426.js} +2 -2
- package/dist/{index.cjs407.js.map → index.cjs426.js.map} +1 -1
- package/dist/{index.cjs410.js → index.cjs429.js} +2 -2
- package/dist/{index.cjs410.js.map → index.cjs429.js.map} +1 -1
- package/dist/index.cjs43.js +1 -1
- package/dist/{index.cjs413.js → index.cjs432.js} +2 -2
- package/dist/{index.cjs413.js.map → index.cjs432.js.map} +1 -1
- package/dist/{index.cjs414.js → index.cjs433.js} +1 -1
- package/dist/{index.cjs414.js.map → index.cjs433.js.map} +1 -1
- package/dist/index.cjs434.js +2 -0
- package/dist/{index.cjs415.js.map → index.cjs434.js.map} +1 -1
- package/dist/index.cjs436.js +1 -1
- package/dist/index.cjs436.js.map +1 -1
- package/dist/{index.cjs420.js → index.cjs439.js} +2 -2
- package/dist/{index.cjs420.js.map → index.cjs439.js.map} +1 -1
- package/dist/index.cjs44.js +1 -1
- package/dist/index.cjs446.js +2 -0
- package/dist/index.cjs446.js.map +1 -0
- package/dist/index.cjs447.js +2 -1
- package/dist/index.cjs447.js.map +1 -1
- package/dist/index.cjs448.js +27 -1
- package/dist/index.cjs448.js.map +1 -1
- package/dist/index.cjs449.js +1 -1
- package/dist/index.cjs449.js.map +1 -1
- package/dist/index.cjs45.js +1 -1
- package/dist/index.cjs450.js +1 -1
- package/dist/index.cjs450.js.map +1 -1
- package/dist/index.cjs451.js +1 -1
- package/dist/index.cjs451.js.map +1 -1
- package/dist/index.cjs452.js +1 -1
- package/dist/index.cjs452.js.map +1 -1
- package/dist/index.cjs453.js +1 -1
- package/dist/index.cjs453.js.map +1 -1
- package/dist/{index.cjs454.js → index.cjs455.js} +1 -1
- package/dist/{index.cjs454.js.map → index.cjs455.js.map} +1 -1
- package/dist/index.cjs458.js +1 -1
- package/dist/index.cjs458.js.map +1 -1
- package/dist/index.cjs459.js +1 -1
- package/dist/index.cjs459.js.map +1 -1
- package/dist/index.cjs46.js +1 -1
- package/dist/index.cjs460.js +2 -0
- package/dist/index.cjs460.js.map +1 -0
- package/dist/index.cjs461.js +2 -0
- package/dist/index.cjs461.js.map +1 -0
- package/dist/index.cjs462.js +2 -0
- package/dist/index.cjs462.js.map +1 -0
- package/dist/index.cjs463.js +1 -1
- package/dist/index.cjs463.js.map +1 -1
- package/dist/index.cjs464.js +1 -1
- package/dist/index.cjs464.js.map +1 -1
- package/dist/index.cjs465.js +1 -1
- package/dist/index.cjs465.js.map +1 -1
- package/dist/index.cjs466.js +1 -1
- package/dist/index.cjs466.js.map +1 -1
- package/dist/index.cjs467.js +1 -1
- package/dist/index.cjs467.js.map +1 -1
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs473.js +2 -0
- package/dist/index.cjs473.js.map +1 -0
- package/dist/index.cjs474.js +2 -0
- package/dist/index.cjs474.js.map +1 -0
- package/dist/index.cjs475.js +2 -0
- package/dist/index.cjs475.js.map +1 -0
- package/dist/index.cjs476.js +2 -0
- package/dist/index.cjs476.js.map +1 -0
- package/dist/index.cjs477.js +2 -0
- package/dist/index.cjs477.js.map +1 -0
- package/dist/{index.cjs468.js → index.cjs478.js} +1 -1
- package/dist/{index.cjs468.js.map → index.cjs478.js.map} +1 -1
- package/dist/{index.cjs469.js → index.cjs479.js} +2 -2
- package/dist/{index.cjs469.js.map → index.cjs479.js.map} +1 -1
- package/dist/index.cjs48.js +1 -1
- package/dist/index.cjs49.js +1 -1
- package/dist/index.cjs493.js +1 -1
- package/dist/index.cjs493.js.map +1 -1
- package/dist/index.cjs494.js +1 -1
- package/dist/index.cjs494.js.map +1 -1
- package/dist/index.cjs50.js +1 -1
- package/dist/index.cjs504.js +1 -1
- package/dist/index.cjs504.js.map +1 -1
- package/dist/index.cjs505.js +1 -2
- package/dist/index.cjs505.js.map +1 -1
- package/dist/index.cjs508.js +1 -1
- package/dist/index.cjs508.js.map +1 -1
- package/dist/index.cjs509.js +1 -1
- package/dist/index.cjs509.js.map +1 -1
- package/dist/index.cjs51.js +1 -1
- package/dist/index.cjs510.js +1 -1
- package/dist/index.cjs510.js.map +1 -1
- package/dist/index.cjs511.js +1 -1
- package/dist/index.cjs511.js.map +1 -1
- package/dist/index.cjs512.js +1 -1
- package/dist/index.cjs512.js.map +1 -1
- package/dist/index.cjs513.js +1 -1
- package/dist/index.cjs513.js.map +1 -1
- package/dist/index.cjs514.js +1 -1
- package/dist/index.cjs514.js.map +1 -1
- package/dist/index.cjs515.js +1 -1
- package/dist/index.cjs515.js.map +1 -1
- package/dist/index.cjs516.js +1 -1
- package/dist/index.cjs516.js.map +1 -1
- package/dist/index.cjs517.js +1 -1
- package/dist/index.cjs517.js.map +1 -1
- package/dist/index.cjs518.js +1 -1
- package/dist/index.cjs518.js.map +1 -1
- package/dist/index.cjs519.js +1 -1
- package/dist/index.cjs52.js +1 -1
- package/dist/index.cjs521.js +1 -1
- package/dist/index.cjs526.js +1 -1
- package/dist/index.cjs527.js +1 -1
- package/dist/index.cjs53.js +1 -1
- package/dist/index.cjs532.js +1 -1
- package/dist/index.cjs536.js +1 -1
- package/dist/index.cjs537.js +1 -1
- package/dist/index.cjs54.js +1 -1
- package/dist/index.cjs544.js +1 -1
- package/dist/index.cjs549.js +1 -1
- package/dist/index.cjs55.js +1 -1
- package/dist/index.cjs551.js +1 -1
- package/dist/index.cjs56.js +1 -1
- package/dist/index.cjs57.js +1 -1
- package/dist/index.cjs58.js +1 -1
- package/dist/index.cjs59.js +1 -1
- package/dist/index.cjs6.js +1 -1
- package/dist/index.cjs60.js +1 -1
- package/dist/index.cjs61.js +1 -1
- package/dist/index.cjs62.js +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs64.js +1 -1
- package/dist/index.cjs66.js +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.cjs71.js +1 -1
- package/dist/index.cjs73.js +1 -1
- package/dist/index.cjs74.js +1 -1
- package/dist/index.cjs75.js +1 -1
- package/dist/index.cjs77.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.cjs9.js +1 -1
- package/dist/index.cjs97.js +1 -1
- package/dist/index.cjs98.js +1 -1
- package/dist/index.cjs99.js +1 -1
- package/dist/index.es10.js +4 -4
- package/dist/index.es101.js +2 -2
- package/dist/index.es103.js +2 -2
- package/dist/index.es104.js +4 -4
- package/dist/index.es105.js +1 -1
- package/dist/index.es106.js +1 -1
- package/dist/index.es108.js +1 -1
- package/dist/index.es109.js +1 -1
- package/dist/index.es11.js +1 -1
- package/dist/index.es110.js +3 -3
- package/dist/index.es111.js +1 -1
- package/dist/index.es112.js +1 -1
- package/dist/index.es113.js +1 -1
- package/dist/index.es114.js +1 -1
- package/dist/index.es116.js +2 -2
- package/dist/index.es117.js +1 -1
- package/dist/index.es118.js +1 -1
- package/dist/index.es12.js +2 -2
- package/dist/index.es120.js +1 -1
- package/dist/index.es122.js +3 -3
- package/dist/index.es123.js +1 -1
- package/dist/index.es125.js +3 -3
- package/dist/index.es126.js +1 -1
- package/dist/index.es127.js +3 -3
- package/dist/index.es128.js +1 -1
- package/dist/index.es129.js +2 -2
- package/dist/index.es13.js +1 -1
- package/dist/index.es130.js +1 -1
- package/dist/index.es131.js +3 -3
- package/dist/index.es132.js +1 -1
- package/dist/index.es134.js +1 -1
- package/dist/index.es135.js +2 -2
- package/dist/index.es137.js +2 -2
- package/dist/index.es138.js +1 -1
- package/dist/index.es139.js +1 -1
- package/dist/index.es14.js +1 -1
- package/dist/index.es140.js +2 -2
- package/dist/index.es141.js +1 -1
- package/dist/index.es144.js +2 -2
- package/dist/index.es146.js +1 -1
- package/dist/index.es148.js +1 -1
- package/dist/index.es149.js +6 -6
- package/dist/index.es15.js +2 -2
- package/dist/index.es150.js +1 -1
- package/dist/index.es153.js +2 -2
- package/dist/index.es154.js +2 -2
- package/dist/index.es155.js +2 -2
- package/dist/index.es156.js +2 -2
- package/dist/index.es157.js +2 -2
- package/dist/index.es158.js +2 -2
- package/dist/index.es159.js +2 -2
- package/dist/index.es16.js +2 -2
- package/dist/index.es160.js +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 +1 -1
- package/dist/index.es177.js +1 -1
- package/dist/index.es178.js +1 -1
- package/dist/index.es179.js +2 -2
- package/dist/index.es18.js +2 -2
- package/dist/index.es180.js +2 -2
- package/dist/index.es181.js +2 -2
- package/dist/index.es183.js +2 -2
- package/dist/index.es184.js +2 -2
- package/dist/index.es185.js +2 -2
- package/dist/index.es186.js +2 -2
- package/dist/index.es187.js +2 -2
- package/dist/index.es188.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 +1 -1
- 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 +2 -2
- package/dist/index.es199.js +2 -2
- package/dist/index.es20.js +1 -1
- package/dist/index.es200.js +1 -1
- package/dist/index.es201.js +1 -1
- 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 +2 -2
- package/dist/index.es207.js +2 -2
- package/dist/index.es208.js +2 -2
- package/dist/index.es209.js +2 -2
- package/dist/index.es21.js +2 -2
- package/dist/index.es215.js +2 -2
- package/dist/index.es238.js +15 -27
- package/dist/index.es238.js.map +1 -1
- package/dist/index.es24.js +3 -3
- package/dist/index.es240.js +3 -2
- package/dist/index.es240.js.map +1 -1
- package/dist/index.es247.js +8 -0
- package/dist/index.es247.js.map +1 -0
- package/dist/index.es248.js +59 -22
- package/dist/index.es248.js.map +1 -1
- package/dist/index.es25.js +2 -2
- package/dist/index.es252.js +9 -22
- package/dist/index.es252.js.map +1 -1
- package/dist/index.es253.js +243 -0
- package/dist/index.es253.js.map +1 -0
- package/dist/{index.es395.js → index.es254.js} +3 -3
- package/dist/{index.es395.js.map → index.es254.js.map} +1 -1
- package/dist/index.es255.js +228 -0
- package/dist/index.es255.js.map +1 -0
- package/dist/index.es256.js +192 -0
- package/dist/index.es256.js.map +1 -0
- package/dist/index.es26.js +2 -2
- package/dist/{index.es438.js → index.es261.js} +1 -1
- package/dist/{index.es438.js.map → index.es261.js.map} +1 -1
- package/dist/index.es263.js +44 -153
- package/dist/index.es263.js.map +1 -1
- package/dist/index.es264.js +30 -0
- package/dist/index.es264.js.map +1 -0
- package/dist/index.es266.js +5 -0
- package/dist/index.es266.js.map +1 -0
- package/dist/{index.es241.js → index.es267.js} +1 -1
- package/dist/{index.es241.js.map → index.es267.js.map} +1 -1
- package/dist/index.es27.js +2 -2
- package/dist/index.es270.js +14 -132
- package/dist/index.es270.js.map +1 -1
- package/dist/index.es274.js +25 -0
- package/dist/index.es274.js.map +1 -0
- package/dist/index.es278.js +25 -0
- package/dist/index.es278.js.map +1 -0
- package/dist/index.es28.js +2 -2
- package/dist/{index.es257.js → index.es283.js} +8 -8
- package/dist/{index.es257.js.map → index.es283.js.map} +1 -1
- package/dist/{index.es260.js → index.es286.js} +3 -3
- package/dist/{index.es260.js.map → index.es286.js.map} +1 -1
- package/dist/index.es288.js +137 -73
- package/dist/index.es288.js.map +1 -1
- package/dist/index.es289.js +154 -18
- package/dist/index.es289.js.map +1 -1
- package/dist/index.es29.js +1 -1
- package/dist/index.es296.js +136 -0
- package/dist/index.es296.js.map +1 -0
- package/dist/{index.es271.js → index.es297.js} +1 -1
- package/dist/{index.es271.js.map → index.es297.js.map} +1 -1
- package/dist/index.es30.js +1 -1
- package/dist/index.es305.js +4 -8
- package/dist/index.es305.js.map +1 -1
- package/dist/index.es306.js +20 -27
- package/dist/index.es306.js.map +1 -1
- package/dist/{index.es281.js → index.es307.js} +1 -1
- package/dist/{index.es281.js.map → index.es307.js.map} +1 -1
- package/dist/index.es308.js +5 -8
- package/dist/index.es308.js.map +1 -1
- package/dist/{index.es285.js → index.es311.js} +3 -3
- package/dist/{index.es285.js.map → index.es311.js.map} +1 -1
- package/dist/index.es313.js +259 -8
- package/dist/index.es313.js.map +1 -1
- package/dist/index.es314.js +80 -6
- package/dist/index.es314.js.map +1 -1
- package/dist/index.es315.js +21 -0
- package/dist/index.es315.js.map +1 -0
- package/dist/index.es316.js +15 -27
- package/dist/index.es316.js.map +1 -1
- package/dist/index.es317.js +25 -25
- package/dist/index.es317.js.map +1 -1
- package/dist/{index.es293.js → index.es319.js} +2 -2
- package/dist/{index.es293.js.map → index.es319.js.map} +1 -1
- package/dist/index.es32.js +2 -2
- package/dist/index.es320.js +4 -59
- package/dist/index.es320.js.map +1 -1
- package/dist/{index.es295.js → index.es321.js} +2 -2
- package/dist/{index.es295.js.map → index.es321.js.map} +1 -1
- package/dist/{index.es298.js → index.es324.js} +2 -2
- package/dist/{index.es298.js.map → index.es324.js.map} +1 -1
- package/dist/{index.es299.js → index.es325.js} +1 -1
- package/dist/{index.es299.js.map → index.es325.js.map} +1 -1
- package/dist/index.es329.js +36 -1
- package/dist/index.es329.js.map +1 -1
- package/dist/index.es33.js +2 -2
- package/dist/index.es331.js +11 -0
- package/dist/index.es331.js.map +1 -0
- package/dist/index.es332.js +31 -0
- package/dist/index.es332.js.map +1 -0
- package/dist/index.es334.js +11 -0
- package/dist/index.es334.js.map +1 -0
- package/dist/{index.es309.js → index.es335.js} +2 -2
- package/dist/{index.es309.js.map → index.es335.js.map} +1 -1
- package/dist/{index.es310.js → index.es336.js} +1 -1
- package/dist/{index.es310.js.map → index.es336.js.map} +1 -1
- package/dist/index.es338.js +26 -6
- package/dist/index.es338.js.map +1 -1
- package/dist/index.es339.js +11 -0
- package/dist/index.es339.js.map +1 -0
- package/dist/index.es34.js +1 -1
- package/dist/index.es340.js +9 -0
- package/dist/index.es340.js.map +1 -0
- package/dist/index.es342.js +30 -0
- package/dist/index.es342.js.map +1 -0
- package/dist/index.es343.js +31 -0
- package/dist/index.es343.js.map +1 -0
- package/dist/{index.es318.js → index.es344.js} +8 -8
- package/dist/{index.es318.js.map → index.es344.js.map} +1 -1
- package/dist/index.es35.js +2 -2
- package/dist/index.es354.js +2 -0
- package/dist/index.es354.js.map +1 -0
- package/dist/index.es36.js +1 -1
- package/dist/{index.es337.js → index.es362.js} +1 -1
- package/dist/{index.es337.js.map → index.es362.js.map} +1 -1
- package/dist/index.es363.js +9 -0
- package/dist/index.es363.js.map +1 -0
- package/dist/index.es37.js +1 -1
- package/dist/index.es38.js +1 -1
- package/dist/{index.es360.js → index.es385.js} +6 -6
- package/dist/{index.es360.js.map → index.es385.js.map} +1 -1
- package/dist/index.es39.js +5 -5
- package/dist/index.es391.js +6 -0
- package/dist/index.es391.js.map +1 -0
- package/dist/index.es394.js +8 -240
- package/dist/index.es394.js.map +1 -1
- package/dist/index.es396.js +25 -224
- package/dist/index.es396.js.map +1 -1
- package/dist/{index.es372.js → index.es397.js} +2 -2
- package/dist/{index.es372.js.map → index.es397.js.map} +1 -1
- package/dist/{index.es373.js → index.es398.js} +1 -1
- package/dist/{index.es373.js.map → index.es398.js.map} +1 -1
- package/dist/index.es40.js +5 -5
- package/dist/{index.es378.js → index.es403.js} +1 -1
- package/dist/{index.es378.js.map → index.es403.js.map} +1 -1
- package/dist/{index.es384.js → index.es409.js} +3 -3
- package/dist/{index.es384.js.map → index.es409.js.map} +1 -1
- package/dist/index.es41.js +1 -1
- package/dist/{index.es386.js → index.es411.js} +2 -2
- package/dist/{index.es386.js.map → index.es411.js.map} +1 -1
- package/dist/{index.es387.js → index.es412.js} +2 -2
- package/dist/{index.es387.js.map → index.es412.js.map} +1 -1
- package/dist/index.es417.js +49 -32
- package/dist/index.es417.js.map +1 -1
- package/dist/{index.es406.js → index.es425.js} +1 -1
- package/dist/{index.es406.js.map → index.es425.js.map} +1 -1
- package/dist/{index.es407.js → index.es426.js} +2 -2
- package/dist/{index.es407.js.map → index.es426.js.map} +1 -1
- package/dist/{index.es410.js → index.es429.js} +3 -3
- package/dist/{index.es410.js.map → index.es429.js.map} +1 -1
- package/dist/index.es43.js +1 -1
- package/dist/{index.es413.js → index.es432.js} +3 -3
- package/dist/{index.es413.js.map → index.es432.js.map} +1 -1
- package/dist/{index.es414.js → index.es433.js} +1 -1
- package/dist/{index.es414.js.map → index.es433.js.map} +1 -1
- package/dist/index.es434.js +8 -0
- package/dist/{index.es415.js.map → index.es434.js.map} +1 -1
- package/dist/index.es436.js +33 -189
- package/dist/index.es436.js.map +1 -1
- package/dist/{index.es420.js → index.es439.js} +2 -2
- package/dist/{index.es420.js.map → index.es439.js.map} +1 -1
- package/dist/index.es44.js +5 -5
- package/dist/index.es446.js +9 -0
- package/dist/index.es446.js.map +1 -0
- package/dist/index.es447.js +519 -5
- package/dist/index.es447.js.map +1 -1
- package/dist/index.es448.js +3673 -25
- package/dist/index.es448.js.map +1 -1
- package/dist/index.es449.js +5 -67
- package/dist/index.es449.js.map +1 -1
- package/dist/index.es45.js +4 -4
- package/dist/index.es450.js +2 -30
- package/dist/index.es450.js.map +1 -1
- package/dist/index.es451.js +2030 -31
- package/dist/index.es451.js.map +1 -1
- package/dist/index.es452.js +59 -621
- package/dist/index.es452.js.map +1 -1
- package/dist/index.es453.js +188 -10
- package/dist/index.es453.js.map +1 -1
- package/dist/{index.es454.js → index.es455.js} +1 -1
- package/dist/{index.es454.js.map → index.es455.js.map} +1 -1
- package/dist/index.es458.js +6 -24
- package/dist/index.es458.js.map +1 -1
- package/dist/index.es459.js +21 -63
- package/dist/index.es459.js.map +1 -1
- package/dist/index.es46.js +3 -3
- package/dist/index.es460.js +71 -0
- package/dist/index.es460.js.map +1 -0
- package/dist/index.es461.js +33 -0
- package/dist/index.es461.js.map +1 -0
- package/dist/index.es462.js +36 -0
- package/dist/index.es462.js.map +1 -0
- package/dist/index.es463.js +609 -112
- package/dist/index.es463.js.map +1 -1
- package/dist/index.es464.js +10 -134
- package/dist/index.es464.js.map +1 -1
- package/dist/index.es465.js +6 -14
- package/dist/index.es465.js.map +1 -1
- package/dist/index.es466.js +24 -14
- package/dist/index.es466.js.map +1 -1
- package/dist/index.es467.js +69 -9
- package/dist/index.es467.js.map +1 -1
- package/dist/index.es47.js +2 -2
- package/dist/index.es473.js +128 -0
- package/dist/index.es473.js.map +1 -0
- package/dist/index.es474.js +138 -0
- package/dist/index.es474.js.map +1 -0
- package/dist/index.es475.js +17 -0
- package/dist/index.es475.js.map +1 -0
- package/dist/index.es476.js +18 -0
- package/dist/index.es476.js.map +1 -0
- package/dist/index.es477.js +12 -0
- package/dist/index.es477.js.map +1 -0
- package/dist/{index.es468.js → index.es478.js} +1 -1
- package/dist/{index.es468.js.map → index.es478.js.map} +1 -1
- package/dist/{index.es469.js → index.es479.js} +2 -2
- package/dist/{index.es469.js.map → index.es479.js.map} +1 -1
- package/dist/index.es48.js +2 -2
- package/dist/index.es49.js +3 -3
- package/dist/index.es493.js +65 -2023
- package/dist/index.es493.js.map +1 -1
- package/dist/index.es494.js +2 -60
- package/dist/index.es494.js.map +1 -1
- package/dist/index.es50.js +3 -3
- package/dist/index.es504.js +4 -5
- package/dist/index.es504.js.map +1 -1
- package/dist/index.es505.js +2 -523
- package/dist/index.es505.js.map +1 -1
- package/dist/index.es508.js +9 -10
- package/dist/index.es508.js.map +1 -1
- package/dist/index.es509.js +174 -42
- package/dist/index.es509.js.map +1 -1
- package/dist/index.es51.js +4 -4
- package/dist/index.es510.js +3 -13
- package/dist/index.es510.js.map +1 -1
- package/dist/index.es511.js +127 -212
- package/dist/index.es511.js.map +1 -1
- package/dist/index.es512.js +10 -177
- package/dist/index.es512.js.map +1 -1
- package/dist/index.es513.js +46 -4
- package/dist/index.es513.js.map +1 -1
- package/dist/index.es514.js +13 -11
- package/dist/index.es514.js.map +1 -1
- package/dist/index.es515.js +212 -127
- package/dist/index.es515.js.map +1 -1
- package/dist/index.es516.js +171 -171
- package/dist/index.es516.js.map +1 -1
- package/dist/index.es517.js +4 -10
- package/dist/index.es517.js.map +1 -1
- package/dist/index.es518.js +11 -3
- package/dist/index.es518.js.map +1 -1
- package/dist/index.es519.js +1 -1
- package/dist/index.es52.js +4 -4
- package/dist/index.es521.js +1 -1
- package/dist/index.es526.js +1 -1
- package/dist/index.es527.js +1 -1
- package/dist/index.es53.js +1 -1
- package/dist/index.es532.js +1 -1
- package/dist/index.es536.js +2 -2
- package/dist/index.es537.js +15 -15
- package/dist/index.es54.js +2 -2
- package/dist/index.es544.js +8 -8
- package/dist/index.es549.js +8 -8
- package/dist/index.es55.js +1 -1
- package/dist/index.es551.js +1 -1
- package/dist/index.es56.js +3 -3
- package/dist/index.es57.js +1 -1
- package/dist/index.es58.js +1 -1
- package/dist/index.es59.js +1 -1
- package/dist/index.es6.js +2 -2
- package/dist/index.es60.js +2 -2
- package/dist/index.es61.js +1 -1
- package/dist/index.es62.js +1 -1
- package/dist/index.es63.js +1 -1
- package/dist/index.es64.js +2 -2
- package/dist/index.es66.js +1 -1
- package/dist/index.es67.js +2 -2
- package/dist/index.es68.js +1 -1
- package/dist/index.es69.js +3 -3
- package/dist/index.es7.js +2 -2
- package/dist/index.es71.js +1 -1
- package/dist/index.es73.js +1 -1
- package/dist/index.es74.js +1 -1
- package/dist/index.es75.js +3 -3
- package/dist/index.es77.js +1 -1
- 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.es9.js +4 -4
- package/dist/index.es97.js +1 -1
- package/dist/index.es98.js +1 -1
- package/dist/index.es99.js +1 -1
- package/package.json +1 -1
- package/dist/index.cjs237.js +0 -2
- package/dist/index.cjs237.js.map +0 -1
- package/dist/index.cjs244.js +0 -2
- package/dist/index.cjs244.js.map +0 -1
- package/dist/index.cjs262.js +0 -2
- package/dist/index.cjs262.js.map +0 -1
- package/dist/index.cjs279.js +0 -2
- package/dist/index.cjs279.js.map +0 -1
- package/dist/index.cjs280.js +0 -2
- package/dist/index.cjs280.js.map +0 -1
- package/dist/index.cjs282.js +0 -2
- package/dist/index.cjs282.js.map +0 -1
- package/dist/index.cjs287.js +0 -6
- package/dist/index.cjs287.js.map +0 -1
- package/dist/index.cjs290.js +0 -2
- package/dist/index.cjs290.js.map +0 -1
- package/dist/index.cjs291.js +0 -2
- package/dist/index.cjs291.js.map +0 -1
- package/dist/index.cjs294.js +0 -2
- package/dist/index.cjs294.js.map +0 -1
- package/dist/index.cjs303.js +0 -2
- package/dist/index.cjs303.js.map +0 -1
- package/dist/index.cjs312.js +0 -2
- package/dist/index.cjs312.js.map +0 -1
- package/dist/index.cjs366.js.map +0 -1
- package/dist/index.cjs369.js +0 -2
- package/dist/index.cjs369.js.map +0 -1
- package/dist/index.cjs371.js +0 -2
- package/dist/index.cjs371.js.map +0 -1
- package/dist/index.cjs392.js +0 -2
- package/dist/index.cjs392.js.map +0 -1
- package/dist/index.cjs415.js +0 -2
- package/dist/index.cjs424.js +0 -2
- package/dist/index.cjs424.js.map +0 -1
- package/dist/index.cjs431.js +0 -2
- package/dist/index.cjs431.js.map +0 -1
- package/dist/index.cjs435.js +0 -2
- package/dist/index.cjs435.js.map +0 -1
- package/dist/index.cjs440.js +0 -2
- package/dist/index.cjs440.js.map +0 -1
- package/dist/index.cjs457.js +0 -2
- package/dist/index.cjs457.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.cjs495.js +0 -2
- package/dist/index.cjs495.js.map +0 -1
- package/dist/index.cjs500.js +0 -2
- package/dist/index.cjs500.js.map +0 -1
- package/dist/index.cjs501.js +0 -2
- package/dist/index.cjs501.js.map +0 -1
- package/dist/index.cjs502.js +0 -28
- package/dist/index.cjs502.js.map +0 -1
- package/dist/index.cjs503.js +0 -2
- package/dist/index.cjs503.js.map +0 -1
- package/dist/index.es237.js +0 -18
- package/dist/index.es237.js.map +0 -1
- package/dist/index.es244.js +0 -18
- package/dist/index.es244.js.map +0 -1
- package/dist/index.es262.js +0 -147
- package/dist/index.es262.js.map +0 -1
- package/dist/index.es279.js +0 -7
- package/dist/index.es279.js.map +0 -1
- package/dist/index.es280.js +0 -24
- package/dist/index.es280.js.map +0 -1
- package/dist/index.es282.js +0 -8
- package/dist/index.es282.js.map +0 -1
- package/dist/index.es287.js +0 -262
- package/dist/index.es287.js.map +0 -1
- package/dist/index.es290.js +0 -18
- package/dist/index.es290.js.map +0 -1
- package/dist/index.es291.js +0 -31
- package/dist/index.es291.js.map +0 -1
- package/dist/index.es294.js +0 -7
- package/dist/index.es294.js.map +0 -1
- package/dist/index.es303.js +0 -37
- package/dist/index.es303.js.map +0 -1
- package/dist/index.es312.js +0 -29
- package/dist/index.es312.js.map +0 -1
- package/dist/index.es366.js +0 -6
- package/dist/index.es366.js.map +0 -1
- package/dist/index.es369.js +0 -11
- package/dist/index.es369.js.map +0 -1
- package/dist/index.es371.js +0 -29
- package/dist/index.es371.js.map +0 -1
- package/dist/index.es392.js +0 -53
- package/dist/index.es392.js.map +0 -1
- package/dist/index.es415.js +0 -8
- package/dist/index.es424.js +0 -6
- package/dist/index.es424.js.map +0 -1
- package/dist/index.es431.js +0 -8
- package/dist/index.es431.js.map +0 -1
- package/dist/index.es435.js +0 -12
- package/dist/index.es435.js.map +0 -1
- package/dist/index.es440.js +0 -48
- package/dist/index.es440.js.map +0 -1
- package/dist/index.es457.js +0 -9
- package/dist/index.es457.js.map +0 -1
- package/dist/index.es490.js +0 -77
- package/dist/index.es490.js.map +0 -1
- package/dist/index.es491.js +0 -9
- package/dist/index.es491.js.map +0 -1
- package/dist/index.es492.js +0 -5
- package/dist/index.es492.js.map +0 -1
- package/dist/index.es495.js +0 -192
- package/dist/index.es495.js.map +0 -1
- package/dist/index.es500.js +0 -8
- package/dist/index.es500.js.map +0 -1
- package/dist/index.es501.js +0 -3
- package/dist/index.es501.js.map +0 -1
- package/dist/index.es502.js +0 -3678
- package/dist/index.es502.js.map +0 -1
- package/dist/index.es503.js +0 -5
- package/dist/index.es503.js.map +0 -1
package/dist/index.cjs417.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs417.js","sources":["../src/icons/
|
|
1
|
+
{"version":3,"file":"index.cjs417.js","sources":["../src/icons/Image/index.tsx"],"sourcesContent":["import { IconProps } from \"@radix-ui/themes\";\r\n\r\nexport const Image = ({ width, height }: IconProps) => {\r\n return (\r\n <svg\r\n width={width}\r\n height={height}\r\n viewBox=\"0 0 21 21\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n fillRule=\"evenodd\"\r\n clipRule=\"evenodd\"\r\n d=\"M19.7667 1.23854H1.89999V19.1052H19.7667V1.23854ZM0.833328 0.171875V20.1719H20.8333V0.171875H0.833328Z\"\r\n fill=\"white\"\r\n />\r\n <path\r\n fillRule=\"evenodd\"\r\n clipRule=\"evenodd\"\r\n d=\"M14.8333 7.5941C14.5815 7.5941 14.3444 7.71265 14.1933 7.9141L11.26 11.8252C11.1672 11.9489 11.0254 12.0262 10.8711 12.0372C10.7169 12.0482 10.5655 11.9917 10.4562 11.8823L9.54332 10.9694C9.3793 10.8054 9.15214 10.7206 8.92076 10.7371C8.68939 10.7536 8.47655 10.8697 8.33743 11.0553C8.33209 11.0624 8.32657 11.0694 8.32088 11.0763L5.12494 14.9229L4.30449 14.2413L7.49262 10.404C7.81736 9.97765 8.30993 9.71123 8.845 9.67313C9.38488 9.63469 9.91486 9.83247 10.2976 10.2152L10.7756 10.6933L13.34 7.2741C13.6925 6.80406 14.2458 6.52743 14.8333 6.52743C15.4209 6.52743 15.9741 6.80406 16.3267 7.2741L19.02 10.8652L18.1667 11.5052L15.4733 7.9141C15.3222 7.71265 15.0851 7.5941 14.8333 7.5941Z\"\r\n fill=\"white\"\r\n />\r\n <path\r\n fillRule=\"evenodd\"\r\n clipRule=\"evenodd\"\r\n d=\"M3.63333 5.17188C3.63333 3.95685 4.6183 2.97188 5.83333 2.97188C7.04835 2.97188 8.03333 3.95685 8.03333 5.17188C8.03333 6.3869 7.04835 7.37188 5.83333 7.37188C4.6183 7.37188 3.63333 6.3869 3.63333 5.17188ZM5.83333 4.03854C5.20741 4.03854 4.7 4.54595 4.7 5.17188C4.7 5.7978 5.20741 6.30521 5.83333 6.30521C6.45925 6.30521 6.96666 5.7978 6.96666 5.17188C6.96666 4.54595 6.45925 4.03854 5.83333 4.03854Z\"\r\n fill=\"white\"\r\n />\r\n <path\r\n fillRule=\"evenodd\"\r\n clipRule=\"evenodd\"\r\n d=\"M1.41111 14.083H20.2556V15.1497H1.41111V14.083Z\"\r\n fill=\"white\"\r\n />\r\n </svg>\r\n );\r\n};\r\n"],"names":["Image","width","height","jsxs","jsx"],"mappings":"qHAEaA,EAAQ,CAAC,CAAE,MAAAC,EAAO,OAAAC,KAE3BC,EAAA,kBAAA,KAAC,MAAA,CACC,MAAAF,EACA,OAAAC,EACA,QAAQ,YACR,KAAK,OACL,MAAM,6BAEN,SAAA,CAAAE,EAAA,kBAAA,IAAC,OAAA,CACC,SAAS,UACT,SAAS,UACT,EAAE,yGACF,KAAK,OAAA,CACP,EACAA,EAAA,kBAAA,IAAC,OAAA,CACC,SAAS,UACT,SAAS,UACT,EAAE,krBACF,KAAK,OAAA,CACP,EACAA,EAAA,kBAAA,IAAC,OAAA,CACC,SAAS,UACT,SAAS,UACT,EAAE,mZACF,KAAK,OAAA,CACP,EACAA,EAAA,kBAAA,IAAC,OAAA,CACC,SAAS,UACT,SAAS,UACT,EAAE,kDACF,KAAK,OAAA,CAAA,CACP,CAAA,CACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/ConsentModal/ConsentModalFooter/ConsentModalFooter.css');const o=require("./index.cjs236.js");;/* empty css */const t=({children:e})=>o.jsxRuntimeExports.jsx("footer",{className:"ui-consent-modal-footer bg-white shadow",children:e});exports.CreateReservationModalFooter=t;
|
|
2
|
-
//# sourceMappingURL=index.
|
|
2
|
+
//# sourceMappingURL=index.cjs425.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.
|
|
1
|
+
{"version":3,"file":"index.cjs425.js","sources":["../src/components/ui/CreateReservationModal/CreateReservationModalFooter/index.tsx"],"sourcesContent":["import \"./CreateReservationModalFooter.scss\";\r\n\r\ntype CreateReservationModalFooterProps = {\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const CreateReservationModalFooter = ({\r\n children,\r\n}: CreateReservationModalFooterProps) => {\r\n return (\r\n <footer className=\"ui-consent-modal-footer bg-white shadow\">\r\n {children}\r\n </footer>\r\n );\r\n};\r\n"],"names":["CreateReservationModalFooter","children","jsx"],"mappings":"kJAMO,MAAMA,EAA+B,CAAC,CAC3C,SAAAC,CACF,IAEKC,EAAAA,kBAAAA,IAAA,SAAA,CAAO,UAAU,0CACf,SAAAD,CACH,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/DoctorModal/DoctorModalContent/DoctorModalContent.css');const o=require("./index.cjs236.js"),r=require("./index.
|
|
2
|
-
//# sourceMappingURL=index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/DoctorModal/DoctorModalContent/DoctorModalContent.css');const o=require("./index.cjs236.js"),r=require("./index.cjs238.js");;/* empty css */const n=({overrideClassNames:e,children:t})=>o.jsxRuntimeExports.jsx("div",{className:r.clsx("ui-consent-modal-body",e),children:t});exports.CreateReservationModalContent=n;
|
|
2
|
+
//# sourceMappingURL=index.cjs426.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.
|
|
1
|
+
{"version":3,"file":"index.cjs426.js","sources":["../src/components/ui/CreateReservationModal/CreateReservationModalContent/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport \"./CreateReservationModalContent.scss\";\r\n\r\ntype CreateReservationModalContentProps = {\r\n overrideClassNames?: string;\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const CreateReservationModalContent = ({\r\n overrideClassNames,\r\n children,\r\n}: CreateReservationModalContentProps) => {\r\n return (\r\n <div className={clsx(\"ui-consent-modal-body\", overrideClassNames)}>\r\n {children}\r\n </div>\r\n );\r\n};\r\n"],"names":["CreateReservationModalContent","overrideClassNames","children","clsx"],"mappings":"iLAQO,MAAMA,EAAgC,CAAC,CAC5C,mBAAAC,EACA,SAAAC,CACF,4BAEK,MAAI,CAAA,UAAWC,OAAK,wBAAyBF,CAAkB,EAC7D,SAAAC,EACH"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs236.js"),n=require("./index.
|
|
2
|
-
//# sourceMappingURL=index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs236.js"),n=require("./index.cjs238.js"),x=require("./index.cjs266.js"),c=({width:r=24,height:s=24,className:t,color:o="primary"})=>{const i=x.createColorClasses({color:o});return e.jsxRuntimeExports.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:s,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round",className:n.clsx(t,i),"aria-hidden":"true",children:[e.jsxRuntimeExports.jsx("rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",ry:"2",stroke:"#06C"}),e.jsxRuntimeExports.jsx("line",{x1:"2",y1:"9",x2:"22",y2:"9",stroke:"#06C"}),e.jsxRuntimeExports.jsx("line",{x1:"6",y1:"14",x2:"10",y2:"14",stroke:"#06C"})]})};exports.CreditCard=c;
|
|
2
|
+
//# sourceMappingURL=index.cjs429.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.
|
|
1
|
+
{"version":3,"file":"index.cjs429.js","sources":["../src/icons/CreditCard/CreditCard.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport { IconProps } from \"@/types/icons\";\r\nimport { createColorClasses } from \"@/theme/colors\";\r\n\r\nexport const CreditCard = ({\r\n width = 24,\r\n height = 24,\r\n className,\r\n color = \"primary\",\r\n}: IconProps) => {\r\n const classes = createColorClasses({ color });\r\n\r\n return (\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n width={width}\r\n height={height}\r\n viewBox=\"0 0 24 24\"\r\n fill=\"none\"\r\n stroke=\"currentColor\"\r\n strokeWidth=\"1.3\"\r\n strokeLinecap=\"round\"\r\n strokeLinejoin=\"round\"\r\n className={clsx(className, classes)}\r\n aria-hidden=\"true\"\r\n >\r\n <rect x=\"2\" y=\"4\" width=\"20\" height=\"16\" rx=\"2\" ry=\"2\" stroke=\"#06C\" />\r\n <line x1=\"2\" y1=\"9\" x2=\"22\" y2=\"9\" stroke=\"#06C\" />\r\n <line x1=\"6\" y1=\"14\" x2=\"10\" y2=\"14\" stroke=\"#06C\" />\r\n </svg>\r\n );\r\n};\r\n"],"names":["CreditCard","width","height","className","color","classes","createColorClasses","jsxs","clsx","jsx"],"mappings":"mLAIaA,EAAa,CAAC,CACzB,MAAAC,EAAQ,GACR,OAAAC,EAAS,GACT,UAAAC,EACA,MAAAC,EAAQ,SACV,IAAiB,CACf,MAAMC,EAAUC,EAAAA,mBAAmB,CAAE,MAAAF,EAAO,EAG1C,OAAAG,EAAA,kBAAA,KAAC,MAAA,CACC,MAAM,6BACN,MAAAN,EACA,OAAAC,EACA,QAAQ,YACR,KAAK,OACL,OAAO,eACP,YAAY,MACZ,cAAc,QACd,eAAe,QACf,UAAWM,EAAAA,KAAKL,EAAWE,CAAO,EAClC,cAAY,OAEZ,SAAA,CAAAI,EAAA,kBAAA,IAAC,OAAK,CAAA,EAAE,IAAI,EAAE,IAAI,MAAM,KAAK,OAAO,KAAK,GAAG,IAAI,GAAG,IAAI,OAAO,OAAO,EACrEA,EAAAA,kBAAAA,IAAC,OAAK,CAAA,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,IAAI,OAAO,MAAO,CAAA,EACjDA,EAAAA,kBAAAA,IAAC,OAAK,CAAA,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,OAAO,MAAO,CAAA,CAAA,CAAA,CACrD,CAEJ"}
|
package/dist/index.cjs43.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/EntryButton/EntryButton.css');const e=require("./index.cjs236.js"),x=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/EntryButton/EntryButton.css');const e=require("./index.cjs236.js"),x=require("./index.cjs311.js");;/* empty css */const c=require("./index.cjs9.js"),u=({href:t,asLink:r="a",showIcon:s=!1,ariaLabel:n="Accedi con SPID",children:i})=>{const o=r;return e.jsxRuntimeExports.jsxs(o,{className:"bg-primary min-h-x40 h-full base-row align-items-center br-x4 min-w-x252 text-decoration-none ui-entry-btn",href:t,rel:"noreferrer noopener",children:[e.jsxRuntimeExports.jsx(c.Row,{py:"x8",px:"x12",className:"items-center ui-entry-btn-spid",children:s?e.jsxRuntimeExports.jsx(x.Spid,{color:"white"}):e.jsxRuntimeExports.jsx("div",{style:{width:24,height:24},"aria-hidden":"true"})}),e.jsxRuntimeExports.jsxs("span",{className:"p-x8 fw-bold text-white text-decoration-none fs-6",rel:"noreferrer noopener",children:[i,n&&e.jsxRuntimeExports.jsx("span",{className:"visually-hidden",children:n})]})]})};exports.EntryButton=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs43.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/Feedback/Rating.css');const e=require("./index.cjs236.js");;/* empty css */const r=require("./index.
|
|
2
|
-
//# sourceMappingURL=index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/Feedback/Rating.css');const e=require("./index.cjs236.js");;/* empty css */const r=require("./index.cjs240.js"),o=require("./index.cjs238.js"),t=5,x=r.lodashExports.range(1,t+1);function c({onClick:i,rating:n=0}){const l=s=>s<=n;return e.jsxRuntimeExports.jsxs("fieldset",{className:"rating",children:[e.jsxRuntimeExports.jsx("legend",{className:"visually-hidden",children:"Valutazione"}),x.map((s,a)=>e.jsxRuntimeExports.jsxs("button",{onClick:()=>i(s),className:o.clsx("star black-focus",{active:l(s)}),"aria-label":`${s} ${s===1?"punto":"punti"} di valutazione su ${t} punti`,children:[e.jsxRuntimeExports.jsx("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 24 24",className:"icon icon-sm",children:e.jsxRuntimeExports.jsx("g",{children:e.jsxRuntimeExports.jsx("path",{d:"M12,1.7L9.5,9.2H1.6L8,13.9l-2.4,7.6l6.4-4.7l6.4,4.7L16,13.9l6.4-4.7h-7.9L12,1.7z"})})}),e.jsxRuntimeExports.jsxs("span",{className:"visually-hidden",children:["Valuta ",s," stelle su ",t]})]},a))]})}exports.Rating=c;
|
|
2
|
+
//# sourceMappingURL=index.cjs432.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.
|
|
1
|
+
{"version":3,"file":"index.cjs432.js","sources":["../src/components/ui/Feedback/Rating.tsx"],"sourcesContent":["import \"./Rating.scss\";\r\nimport { range } from \"lodash\";\r\nimport { clsx } from \"clsx\";\r\n\r\nexport type RatingProps = {\r\n onClick: (value: number) => void;\r\n rating?: number;\r\n};\r\n\r\nconst STAR_QUANTITY = 5;\r\nconst STARS = range(1, STAR_QUANTITY + 1);\r\n\r\nexport function Rating({ onClick, rating = 0 }: RatingProps) {\r\n const isRatingActive = (num: number) => num <= rating;\r\n\r\n return (\r\n <fieldset className=\"rating\">\r\n <legend className=\"visually-hidden\">Valutazione</legend>\r\n {STARS.map((num, index) => (\r\n <button\r\n key={index}\r\n onClick={() => onClick(num)}\r\n className={clsx(\"star black-focus\", {\r\n active: isRatingActive(num),\r\n })}\r\n aria-label={`${num} ${num === 1 ? \"punto\" : \"punti\"} di valutazione su ${STAR_QUANTITY} punti`}\r\n >\r\n <svg\r\n version=\"1.1\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n x=\"0px\"\r\n y=\"0px\"\r\n viewBox=\"0 0 24 24\"\r\n className=\"icon icon-sm\"\r\n >\r\n <g>\r\n <path d=\"M12,1.7L9.5,9.2H1.6L8,13.9l-2.4,7.6l6.4-4.7l6.4,4.7L16,13.9l6.4-4.7h-7.9L12,1.7z\" />\r\n </g>\r\n </svg>\r\n\r\n <span className=\"visually-hidden\">\r\n Valuta {num} stelle su {STAR_QUANTITY}\r\n </span>\r\n </button>\r\n ))}\r\n </fieldset>\r\n );\r\n}\r\n"],"names":["STAR_QUANTITY","STARS","range","Rating","onClick","rating","isRatingActive","num","jsxs","jsx","index","clsx"],"mappings":"sNASMA,EAAgB,EAChBC,EAAQC,EAAA,cAAA,MAAM,EAAGF,EAAgB,CAAC,EAEjC,SAASG,EAAO,CAAE,QAAAC,EAAS,OAAAC,EAAS,GAAkB,CACrD,MAAAC,EAAkBC,GAAgBA,GAAOF,EAG7C,OAAAG,EAAA,kBAAA,KAAC,WAAS,CAAA,UAAU,SAClB,SAAA,CAACC,EAAA,kBAAA,IAAA,SAAA,CAAO,UAAU,kBAAkB,SAAW,cAAA,EAC9CR,EAAM,IAAI,CAACM,EAAKG,IACfF,EAAA,kBAAA,KAAC,SAAA,CAEC,QAAS,IAAMJ,EAAQG,CAAG,EAC1B,UAAWI,OAAK,mBAAoB,CAClC,OAAQL,EAAeC,CAAG,CAAA,CAC3B,EACD,aAAY,GAAGA,CAAG,IAAIA,IAAQ,EAAI,QAAU,OAAO,sBAAsBP,CAAa,SAEtF,SAAA,CAAAS,EAAA,kBAAA,IAAC,MAAA,CACC,QAAQ,MACR,MAAM,6BACN,EAAE,MACF,EAAE,MACF,QAAQ,YACR,UAAU,eAEV,iCAAC,IACC,CAAA,SAAAA,wBAAC,OAAK,CAAA,EAAE,mFAAmF,CAC7F,CAAA,CAAA,CACF,EAEAD,EAAAA,kBAAAA,KAAC,OAAK,CAAA,UAAU,kBAAkB,SAAA,CAAA,UACxBD,EAAI,cAAYP,CAAA,CAC1B,CAAA,CAAA,CAAA,EAtBKU,CAwBR,CAAA,CAAA,EACH,CAEJ"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/Feedback/Questions.css');const t=require("./index.cjs236.js");;/* empty css */const p=require("react"),d=require("./index.cjs28.js");function N({questions:n,onChangeAnswer:l,onSend:h,values:i,openAnswer:a,handleOpenAnswer:j,buttons:c,maxCharactersMessage:o,openAnswerPlaceholder:f}){const[e,x]=p.useState(0),g=p.useCallback((s,r)=>{l(s,r)},[l]),b=()=>{h()},v=()=>{!i[e]&&n[e].type!=="OPEN"||(e<n.length-1&&x(e+1),e===n.length-1&&b())},E=()=>{e>0&&x(e-1)};return t.jsxRuntimeExports.jsxs("div",{className:"steppers",children:[t.jsxRuntimeExports.jsxs("div",{className:"steppers-header pb-2 align-items-center",children:[t.jsxRuntimeExports.jsx("p",{className:"steppers-header-question-title",children:n[e].question}),t.jsxRuntimeExports.jsxs("span",{className:"steppers-header-question-number",children:[e+1,"/",n.length]})]}),t.jsxRuntimeExports.jsx("div",{className:"steppers-content","aria-live":"polite",children:n[e].type==="CLOSE"?t.jsxRuntimeExports.jsx("div",{className:"list-group",children:n[e].answers.map((s,r)=>{var u,m;return t.jsxRuntimeExports.jsxs("label",{htmlFor:`checkbox-${s.id}`,className:" fw-regular fs-6 list-group-item ",children:[t.jsxRuntimeExports.jsx("input",{type:"radio",id:`checkbox-${s.id}`,name:`question-${e}`,value:s.answer,checked:((m=(u=i==null?void 0:i[e])==null?void 0:u.answer)==null?void 0:m.includes(s))||!1,onChange:()=>g(n[e].id,s),className:"custom-control-input form-check-input me-2 black-focus"}),s.answer]},`${n[e].id}-${r}`)})}):t.jsxRuntimeExports.jsxs("div",{className:"form-group d-flex flex-column gap-1",children:[t.jsxRuntimeExports.jsx("input",{type:"text",placeholder:f,className:"form-control black-focus",value:a,onChange:s=>s.target.value.length<=200&&j(s.target.value),autoFocus:!0}),t.jsxRuntimeExports.jsxs("div",{className:"d-flex justify-content-between align-items-center max-chars-container",children:[o&&t.jsxRuntimeExports.jsx("p",{className:" fs-6 fw-normal ",children:o}),a&&a.length>0&&t.jsxRuntimeExports.jsxs("p",{className:"active fs-6 fw-normal ",children:[a.length,"/200"]})]})]})}),t.jsxRuntimeExports.jsxs("nav",{className:"steppers-nav no-border shadow-none align-items-center justify-content-center gap-4 flex-wrap",children:[t.jsxRuntimeExports.jsx(d.Button,{className:"feedback-button-back",onClick:E,disabled:e===0,children:c.previous}),t.jsxRuntimeExports.jsx(d.Button,{className:"feedback-button-next",onClick:v,disabled:e===n.length,children:c.next})]})]})}exports.Questions=N;
|
|
2
|
-
//# sourceMappingURL=index.
|
|
2
|
+
//# sourceMappingURL=index.cjs433.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.
|
|
1
|
+
{"version":3,"file":"index.cjs433.js","sources":["../src/components/ui/Feedback/Questions.tsx"],"sourcesContent":["import \"./Questions.scss\";\r\nimport { useCallback, useState } from \"react\";\r\nimport { Answer, QuestionsProps } from \"@anoki/fse-common\";\r\nimport { Button } from \"@/components\";\r\n\r\nexport function Questions({\r\n questions,\r\n onChangeAnswer,\r\n onSend,\r\n values: selectedAnswers,\r\n openAnswer,\r\n handleOpenAnswer,\r\n buttons,\r\n maxCharactersMessage,\r\n openAnswerPlaceholder,\r\n}: QuestionsProps) {\r\n const [currentStep, setCurrentStep] = useState(0);\r\n\r\n const handleAnswerChange = useCallback(\r\n (questionId: string, answer: Answer) => {\r\n onChangeAnswer(questionId, answer);\r\n },\r\n [onChangeAnswer],\r\n );\r\n\r\n const onConfirm = () => {\r\n onSend();\r\n };\r\n\r\n const handleNext = () => {\r\n if (!selectedAnswers[currentStep] && questions[currentStep].type !== \"OPEN\")\r\n return;\r\n\r\n if (currentStep < questions.length - 1) {\r\n setCurrentStep(currentStep + 1);\r\n }\r\n\r\n if (currentStep === questions.length - 1) {\r\n onConfirm();\r\n }\r\n };\r\n\r\n const handlePrevious = () => {\r\n if (currentStep > 0) {\r\n setCurrentStep(currentStep - 1);\r\n }\r\n };\r\n\r\n return (\r\n <div className=\"steppers\">\r\n <div className=\"steppers-header pb-2 align-items-center\">\r\n <p className={\"steppers-header-question-title\"}>\r\n {questions[currentStep].question}\r\n </p>\r\n <span className={\"steppers-header-question-number\"}>\r\n {currentStep + 1}/{questions.length}\r\n </span>\r\n </div>\r\n <div className=\"steppers-content\" aria-live=\"polite\">\r\n {questions[currentStep].type === \"CLOSE\" ? (\r\n <div className=\"list-group\">\r\n {questions[currentStep].answers.map((answer, index) => (\r\n <label\r\n key={`${questions[currentStep].id}-${index}`}\r\n htmlFor={`checkbox-${answer.id}`}\r\n className=\" fw-regular fs-6 list-group-item \"\r\n >\r\n <input\r\n type=\"radio\"\r\n id={`checkbox-${answer.id}`}\r\n name={`question-${currentStep}`}\r\n value={answer.answer}\r\n checked={\r\n selectedAnswers?.[currentStep]?.answer?.includes(answer) ||\r\n false\r\n }\r\n onChange={() =>\r\n handleAnswerChange(questions[currentStep].id, answer)\r\n }\r\n className=\"custom-control-input form-check-input me-2 black-focus\"\r\n />\r\n {answer.answer}\r\n </label>\r\n ))}\r\n </div>\r\n ) : (\r\n <div className=\"form-group d-flex flex-column gap-1\">\r\n <input\r\n type=\"text\"\r\n placeholder={openAnswerPlaceholder}\r\n className=\"form-control black-focus\"\r\n value={openAnswer}\r\n onChange={(e) =>\r\n e.target.value.length <= 200 && handleOpenAnswer(e.target.value)\r\n }\r\n autoFocus\r\n />\r\n\r\n <div className=\"d-flex justify-content-between align-items-center max-chars-container\">\r\n {maxCharactersMessage && (\r\n <p className=\" fs-6 fw-normal \">{maxCharactersMessage}</p>\r\n )}\r\n {openAnswer && openAnswer.length > 0 && (\r\n <p className=\"active fs-6 fw-normal \">\r\n {openAnswer.length}/200\r\n </p>\r\n )}\r\n </div>\r\n </div>\r\n )}\r\n </div>\r\n <nav className=\"steppers-nav no-border shadow-none align-items-center justify-content-center gap-4 flex-wrap\">\r\n <Button\r\n className=\"feedback-button-back\"\r\n onClick={handlePrevious}\r\n disabled={currentStep === 0}\r\n >\r\n {buttons.previous}\r\n </Button>\r\n\r\n <Button\r\n className=\"feedback-button-next\"\r\n onClick={handleNext}\r\n disabled={currentStep === questions.length}\r\n >\r\n {buttons.next}\r\n </Button>\r\n </nav>\r\n </div>\r\n );\r\n}\r\n"],"names":["Questions","questions","onChangeAnswer","onSend","selectedAnswers","openAnswer","handleOpenAnswer","buttons","maxCharactersMessage","openAnswerPlaceholder","currentStep","setCurrentStep","useState","handleAnswerChange","useCallback","questionId","answer","onConfirm","handleNext","handlePrevious","jsxs","jsx","index","_b","_a","e","Button"],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.
|
|
1
|
+
{"version":3,"file":"index.cjs434.js","sources":["../src/components/ui/card/index.ts"],"sourcesContent":["import { CardRoot } from \"./CardRoot\";\r\n\r\nexport const CardComponent = {\r\n Root: CardRoot,\r\n};\r\n"],"names":["CardComponent","CardRoot"],"mappings":"qHAEaA,EAAgB,CAC3B,KAAMC,EAAAA,QACR"}
|
package/dist/index.cjs436.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs236.js"),s=({className:e})=>t.jsxRuntimeExports.jsxs("svg",{className:e,width:"121",height:"49",viewBox:"0 0 121 49",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t.jsxRuntimeExports.jsx("rect",{width:"121",height:"49",fill:"#C5C7C9"}),t.jsxRuntimeExports.jsxs("g",{clipPath:"url(#clip0_16364_119694)",children:[t.jsxRuntimeExports.jsx("rect",{width:"1440",height:"35228",transform:"translate(-608 -31452)",fill:"white"}),t.jsxRuntimeExports.jsx("rect",{width:"1440",height:"29722",transform:"translate(-608 -29136)",fill:"white"}),t.jsxRuntimeExports.jsx("rect",{width:"1055",height:"29848.1",transform:"translate(-223 -29136)",fill:"white"}),t.jsxRuntimeExports.jsx("rect",{width:"900",height:"29848.1",transform:"translate(-223 -29136)",fill:"white"}),t.jsxRuntimeExports.jsxs("g",{clipPath:"url(#clip1_16364_119694)",filter:"url(#filter0_d_16364_119694)",children:[t.jsxRuntimeExports.jsx("rect",{x:"-199",y:"-47.9004",width:"320",height:"96",rx:"4",fill:"#0066CC"}),t.jsxRuntimeExports.jsx("mask",{id:"path-2-inside-1_16364_119694",fill:"white",children:t.jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M103.231 7.5H44.0314V44.1287L7.40001 44.1287L7.40001 103.329H44.0314V140.7H103.231V103.329H140.6V44.1287L103.231 44.1287V7.5Z"})}),t.jsxRuntimeExports.jsx("path",{d:"M44.0314 7.5V3.5H40.0314V7.5H44.0314ZM103.231 7.5H107.231V3.5H103.231V7.5ZM44.0314 44.1287V48.1287H48.0314V44.1287H44.0314ZM7.40001 44.1287L7.40001 40.1287H3.40001L3.40001 44.1287H7.40001ZM7.40001 103.329H3.40001V107.329H7.40001V103.329ZM44.0314 103.329H48.0314V99.3287H44.0314V103.329ZM44.0314 140.7H40.0314V144.7H44.0314V140.7ZM103.231 140.7V144.7H107.231V140.7H103.231ZM103.231 103.329V99.3287H99.2314V103.329H103.231ZM140.6 103.329V107.329H144.6V103.329H140.6ZM140.6 44.1287H144.6V40.1287H140.6V44.1287ZM103.231 44.1287H99.2314V48.1287H103.231V44.1287ZM44.0314 11.5H103.231V3.5H44.0314V11.5ZM48.0314 44.1287V7.5H40.0314V44.1287H48.0314ZM7.40001 48.1287L44.0314 48.1287V40.1287L7.40001 40.1287L7.40001 48.1287ZM11.4 103.329L11.4 44.1287H3.40001L3.40001 103.329H11.4ZM44.0314 99.3287H7.40001V107.329H44.0314V99.3287ZM48.0314 140.7V103.329H40.0314V140.7H48.0314ZM103.231 136.7H44.0314V144.7H103.231V136.7ZM99.2314 103.329V140.7H107.231V103.329H99.2314ZM140.6 99.3287H103.231V107.329H140.6V99.3287ZM136.6 44.1287V103.329H144.6V44.1287H136.6ZM103.231 48.1287L140.6 48.1287V40.1287L103.231 40.1287V48.1287ZM99.2314 7.5V44.1287H107.231V7.5H99.2314Z",fill:"white",mask:"url(#path-2-inside-1_16364_119694)"}),t.jsxRuntimeExports.jsxs("g",{opacity:"0.4",children:[t.jsxRuntimeExports.jsx("mask",{id:"path-4-inside-2_16364_119694",fill:"white",children:t.jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M75.363 6.85156H53.363V20.4641L39.75 20.4641V42.4641H53.363V56.3516H75.363V42.4641H89.25V20.4641L75.363 20.4641V6.85156Z"})}),t.jsxRuntimeExports.jsx("path",{d:"M53.363 6.85156V3.85156H50.363V6.85156H53.363ZM75.363 6.85156H78.363V3.85156H75.363V6.85156ZM53.363 20.4641V23.4641H56.363V20.4641H53.363ZM39.75 20.4641L39.75 17.4641H36.75V20.4641H39.75ZM39.75 42.4641H36.75V45.4641H39.75V42.4641ZM53.363 42.4641H56.363V39.4641H53.363V42.4641ZM53.363 56.3516H50.363V59.3516H53.363V56.3516ZM75.363 56.3516V59.3516H78.363V56.3516H75.363ZM75.363 42.4641V39.4641H72.363V42.4641H75.363ZM89.25 42.4641V45.4641H92.25V42.4641H89.25ZM89.25 20.4641H92.25V17.4641H89.25V20.4641ZM75.363 20.4641H72.363V23.4641H75.363V20.4641ZM53.363 9.85156H75.363V3.85156H53.363V9.85156ZM56.363 20.4641V6.85156H50.363V20.4641H56.363ZM39.75 23.4641L53.363 23.4641V17.4641L39.75 17.4641L39.75 23.4641ZM42.75 42.4641V20.4641H36.75V42.4641H42.75ZM53.363 39.4641H39.75V45.4641H53.363V39.4641ZM56.363 56.3516V42.4641H50.363V56.3516H56.363ZM75.363 53.3516H53.363V59.3516H75.363V53.3516ZM72.363 42.4641V56.3516H78.363V42.4641H72.363ZM89.25 39.4641H75.363V45.4641H89.25V39.4641ZM86.25 20.4641V42.4641H92.25V20.4641H86.25ZM75.363 23.4641H89.25V17.4641L75.363 17.4641V23.4641ZM72.363 6.85156V20.4641H78.363V6.85156H72.363Z",fill:"white",mask:"url(#path-4-inside-2_16364_119694)"})]})]})]}),t.jsxRuntimeExports.jsxs("defs",{children:[t.jsxRuntimeExports.jsxs("filter",{id:"filter0_d_16364_119694",x:"-215",y:"-63.9004",width:"352",height:"128",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[t.jsxRuntimeExports.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),t.jsxRuntimeExports.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),t.jsxRuntimeExports.jsx("feOffset",{}),t.jsxRuntimeExports.jsx("feGaussianBlur",{stdDeviation:"8"}),t.jsxRuntimeExports.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),t.jsxRuntimeExports.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_16364_119694"}),t.jsxRuntimeExports.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_16364_119694",result:"shape"})]}),t.jsxRuntimeExports.jsx("clipPath",{id:"clip0_16364_119694",children:t.jsxRuntimeExports.jsx("rect",{width:"1440",height:"35228",fill:"white",transform:"translate(-608 -31452)"})}),t.jsxRuntimeExports.jsx("clipPath",{id:"clip1_16364_119694",children:t.jsxRuntimeExports.jsx("rect",{width:"320",height:"96",fill:"white",transform:"translate(-199 -47.9004)"})})]})]});exports.CtaCardIcon=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs436.js.map
|
package/dist/index.cjs436.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs436.js","sources":["../node_modules/swiper/modules/a11y.mjs"],"sourcesContent":["import { g as getDocument } from '../shared/ssr-window.esm.mjs';\nimport { c as classesToSelector } from '../shared/classes-to-selector.mjs';\nimport { c as createElement, h as elementIndex, m as makeElementsArray } from '../shared/utils.mjs';\n\nfunction A11y(_ref) {\n let {\n swiper,\n extendParams,\n on\n } = _ref;\n extendParams({\n a11y: {\n enabled: true,\n notificationClass: 'swiper-notification',\n prevSlideMessage: 'Previous slide',\n nextSlideMessage: 'Next slide',\n firstSlideMessage: 'This is the first slide',\n lastSlideMessage: 'This is the last slide',\n paginationBulletMessage: 'Go to slide {{index}}',\n slideLabelMessage: '{{index}} / {{slidesLength}}',\n containerMessage: null,\n containerRoleDescriptionMessage: null,\n containerRole: null,\n itemRoleDescriptionMessage: null,\n slideRole: 'group',\n id: null,\n scrollOnFocus: true\n }\n });\n swiper.a11y = {\n clicked: false\n };\n let liveRegion = null;\n let preventFocusHandler;\n let focusTargetSlideEl;\n let visibilityChangedTimestamp = new Date().getTime();\n function notify(message) {\n const notification = liveRegion;\n if (notification.length === 0) return;\n notification.innerHTML = '';\n notification.innerHTML = message;\n }\n function getRandomNumber(size) {\n if (size === void 0) {\n size = 16;\n }\n const randomChar = () => Math.round(16 * Math.random()).toString(16);\n return 'x'.repeat(size).replace(/x/g, randomChar);\n }\n function makeElFocusable(el) {\n el = makeElementsArray(el);\n el.forEach(subEl => {\n subEl.setAttribute('tabIndex', '0');\n });\n }\n function makeElNotFocusable(el) {\n el = makeElementsArray(el);\n el.forEach(subEl => {\n subEl.setAttribute('tabIndex', '-1');\n });\n }\n function addElRole(el, role) {\n el = makeElementsArray(el);\n el.forEach(subEl => {\n subEl.setAttribute('role', role);\n });\n }\n function addElRoleDescription(el, description) {\n el = makeElementsArray(el);\n el.forEach(subEl => {\n subEl.setAttribute('aria-roledescription', description);\n });\n }\n function addElControls(el, controls) {\n el = makeElementsArray(el);\n el.forEach(subEl => {\n subEl.setAttribute('aria-controls', controls);\n });\n }\n function addElLabel(el, label) {\n el = makeElementsArray(el);\n el.forEach(subEl => {\n subEl.setAttribute('aria-label', label);\n });\n }\n function addElId(el, id) {\n el = makeElementsArray(el);\n el.forEach(subEl => {\n subEl.setAttribute('id', id);\n });\n }\n function addElLive(el, live) {\n el = makeElementsArray(el);\n el.forEach(subEl => {\n subEl.setAttribute('aria-live', live);\n });\n }\n function disableEl(el) {\n el = makeElementsArray(el);\n el.forEach(subEl => {\n subEl.setAttribute('aria-disabled', true);\n });\n }\n function enableEl(el) {\n el = makeElementsArray(el);\n el.forEach(subEl => {\n subEl.setAttribute('aria-disabled', false);\n });\n }\n function onEnterOrSpaceKey(e) {\n if (e.keyCode !== 13 && e.keyCode !== 32) return;\n const params = swiper.params.a11y;\n const targetEl = e.target;\n if (swiper.pagination && swiper.pagination.el && (targetEl === swiper.pagination.el || swiper.pagination.el.contains(e.target))) {\n if (!e.target.matches(classesToSelector(swiper.params.pagination.bulletClass))) return;\n }\n if (swiper.navigation && swiper.navigation.prevEl && swiper.navigation.nextEl) {\n const prevEls = makeElementsArray(swiper.navigation.prevEl);\n const nextEls = makeElementsArray(swiper.navigation.nextEl);\n if (nextEls.includes(targetEl)) {\n if (!(swiper.isEnd && !swiper.params.loop)) {\n swiper.slideNext();\n }\n if (swiper.isEnd) {\n notify(params.lastSlideMessage);\n } else {\n notify(params.nextSlideMessage);\n }\n }\n if (prevEls.includes(targetEl)) {\n if (!(swiper.isBeginning && !swiper.params.loop)) {\n swiper.slidePrev();\n }\n if (swiper.isBeginning) {\n notify(params.firstSlideMessage);\n } else {\n notify(params.prevSlideMessage);\n }\n }\n }\n if (swiper.pagination && targetEl.matches(classesToSelector(swiper.params.pagination.bulletClass))) {\n targetEl.click();\n }\n }\n function updateNavigation() {\n if (swiper.params.loop || swiper.params.rewind || !swiper.navigation) return;\n const {\n nextEl,\n prevEl\n } = swiper.navigation;\n if (prevEl) {\n if (swiper.isBeginning) {\n disableEl(prevEl);\n makeElNotFocusable(prevEl);\n } else {\n enableEl(prevEl);\n makeElFocusable(prevEl);\n }\n }\n if (nextEl) {\n if (swiper.isEnd) {\n disableEl(nextEl);\n makeElNotFocusable(nextEl);\n } else {\n enableEl(nextEl);\n makeElFocusable(nextEl);\n }\n }\n }\n function hasPagination() {\n return swiper.pagination && swiper.pagination.bullets && swiper.pagination.bullets.length;\n }\n function hasClickablePagination() {\n return hasPagination() && swiper.params.pagination.clickable;\n }\n function updatePagination() {\n const params = swiper.params.a11y;\n if (!hasPagination()) return;\n swiper.pagination.bullets.forEach(bulletEl => {\n if (swiper.params.pagination.clickable) {\n makeElFocusable(bulletEl);\n if (!swiper.params.pagination.renderBullet) {\n addElRole(bulletEl, 'button');\n addElLabel(bulletEl, params.paginationBulletMessage.replace(/\\{\\{index\\}\\}/, elementIndex(bulletEl) + 1));\n }\n }\n if (bulletEl.matches(classesToSelector(swiper.params.pagination.bulletActiveClass))) {\n bulletEl.setAttribute('aria-current', 'true');\n } else {\n bulletEl.removeAttribute('aria-current');\n }\n });\n }\n const initNavEl = (el, wrapperId, message) => {\n makeElFocusable(el);\n if (el.tagName !== 'BUTTON') {\n addElRole(el, 'button');\n el.addEventListener('keydown', onEnterOrSpaceKey);\n }\n addElLabel(el, message);\n addElControls(el, wrapperId);\n };\n const handlePointerDown = e => {\n if (focusTargetSlideEl && focusTargetSlideEl !== e.target && !focusTargetSlideEl.contains(e.target)) {\n preventFocusHandler = true;\n }\n swiper.a11y.clicked = true;\n };\n const handlePointerUp = () => {\n preventFocusHandler = false;\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n if (!swiper.destroyed) {\n swiper.a11y.clicked = false;\n }\n });\n });\n };\n const onVisibilityChange = e => {\n visibilityChangedTimestamp = new Date().getTime();\n };\n const handleFocus = e => {\n if (swiper.a11y.clicked || !swiper.params.a11y.scrollOnFocus) return;\n if (new Date().getTime() - visibilityChangedTimestamp < 100) return;\n const slideEl = e.target.closest(`.${swiper.params.slideClass}, swiper-slide`);\n if (!slideEl || !swiper.slides.includes(slideEl)) return;\n focusTargetSlideEl = slideEl;\n const isActive = swiper.slides.indexOf(slideEl) === swiper.activeIndex;\n const isVisible = swiper.params.watchSlidesProgress && swiper.visibleSlides && swiper.visibleSlides.includes(slideEl);\n if (isActive || isVisible) return;\n if (e.sourceCapabilities && e.sourceCapabilities.firesTouchEvents) return;\n if (swiper.isHorizontal()) {\n swiper.el.scrollLeft = 0;\n } else {\n swiper.el.scrollTop = 0;\n }\n requestAnimationFrame(() => {\n if (preventFocusHandler) return;\n if (swiper.params.loop) {\n swiper.slideToLoop(parseInt(slideEl.getAttribute('data-swiper-slide-index')), 0);\n } else {\n swiper.slideTo(swiper.slides.indexOf(slideEl), 0);\n }\n preventFocusHandler = false;\n });\n };\n const initSlides = () => {\n const params = swiper.params.a11y;\n if (params.itemRoleDescriptionMessage) {\n addElRoleDescription(swiper.slides, params.itemRoleDescriptionMessage);\n }\n if (params.slideRole) {\n addElRole(swiper.slides, params.slideRole);\n }\n const slidesLength = swiper.slides.length;\n if (params.slideLabelMessage) {\n swiper.slides.forEach((slideEl, index) => {\n const slideIndex = swiper.params.loop ? parseInt(slideEl.getAttribute('data-swiper-slide-index'), 10) : index;\n const ariaLabelMessage = params.slideLabelMessage.replace(/\\{\\{index\\}\\}/, slideIndex + 1).replace(/\\{\\{slidesLength\\}\\}/, slidesLength);\n addElLabel(slideEl, ariaLabelMessage);\n });\n }\n };\n const init = () => {\n const params = swiper.params.a11y;\n swiper.el.append(liveRegion);\n\n // Container\n const containerEl = swiper.el;\n if (params.containerRoleDescriptionMessage) {\n addElRoleDescription(containerEl, params.containerRoleDescriptionMessage);\n }\n if (params.containerMessage) {\n addElLabel(containerEl, params.containerMessage);\n }\n if (params.containerRole) {\n addElRole(containerEl, params.containerRole);\n }\n\n // Wrapper\n const wrapperEl = swiper.wrapperEl;\n const wrapperId = params.id || wrapperEl.getAttribute('id') || `swiper-wrapper-${getRandomNumber(16)}`;\n const live = swiper.params.autoplay && swiper.params.autoplay.enabled ? 'off' : 'polite';\n addElId(wrapperEl, wrapperId);\n addElLive(wrapperEl, live);\n\n // Slide\n initSlides();\n\n // Navigation\n let {\n nextEl,\n prevEl\n } = swiper.navigation ? swiper.navigation : {};\n nextEl = makeElementsArray(nextEl);\n prevEl = makeElementsArray(prevEl);\n if (nextEl) {\n nextEl.forEach(el => initNavEl(el, wrapperId, params.nextSlideMessage));\n }\n if (prevEl) {\n prevEl.forEach(el => initNavEl(el, wrapperId, params.prevSlideMessage));\n }\n\n // Pagination\n if (hasClickablePagination()) {\n const paginationEl = makeElementsArray(swiper.pagination.el);\n paginationEl.forEach(el => {\n el.addEventListener('keydown', onEnterOrSpaceKey);\n });\n }\n\n // Tab focus\n const document = getDocument();\n document.addEventListener('visibilitychange', onVisibilityChange);\n swiper.el.addEventListener('focus', handleFocus, true);\n swiper.el.addEventListener('focus', handleFocus, true);\n swiper.el.addEventListener('pointerdown', handlePointerDown, true);\n swiper.el.addEventListener('pointerup', handlePointerUp, true);\n };\n function destroy() {\n if (liveRegion) liveRegion.remove();\n let {\n nextEl,\n prevEl\n } = swiper.navigation ? swiper.navigation : {};\n nextEl = makeElementsArray(nextEl);\n prevEl = makeElementsArray(prevEl);\n if (nextEl) {\n nextEl.forEach(el => el.removeEventListener('keydown', onEnterOrSpaceKey));\n }\n if (prevEl) {\n prevEl.forEach(el => el.removeEventListener('keydown', onEnterOrSpaceKey));\n }\n\n // Pagination\n if (hasClickablePagination()) {\n const paginationEl = makeElementsArray(swiper.pagination.el);\n paginationEl.forEach(el => {\n el.removeEventListener('keydown', onEnterOrSpaceKey);\n });\n }\n const document = getDocument();\n document.removeEventListener('visibilitychange', onVisibilityChange);\n // Tab focus\n if (swiper.el && typeof swiper.el !== 'string') {\n swiper.el.removeEventListener('focus', handleFocus, true);\n swiper.el.removeEventListener('pointerdown', handlePointerDown, true);\n swiper.el.removeEventListener('pointerup', handlePointerUp, true);\n }\n }\n on('beforeInit', () => {\n liveRegion = createElement('span', swiper.params.a11y.notificationClass);\n liveRegion.setAttribute('aria-live', 'assertive');\n liveRegion.setAttribute('aria-atomic', 'true');\n });\n on('afterInit', () => {\n if (!swiper.params.a11y.enabled) return;\n init();\n });\n on('slidesLengthChange snapGridLengthChange slidesGridLengthChange', () => {\n if (!swiper.params.a11y.enabled) return;\n initSlides();\n });\n on('fromEdge toEdge afterInit lock unlock', () => {\n if (!swiper.params.a11y.enabled) return;\n updateNavigation();\n });\n on('paginationUpdate', () => {\n if (!swiper.params.a11y.enabled) return;\n updatePagination();\n });\n on('destroy', () => {\n if (!swiper.params.a11y.enabled) return;\n destroy();\n });\n}\n\nexport { A11y as default };\n"],"names":["A11y","_ref","swiper","extendParams","on","liveRegion","preventFocusHandler","focusTargetSlideEl","visibilityChangedTimestamp","notify","message","notification","getRandomNumber","size","randomChar","makeElFocusable","el","makeElementsArray","subEl","makeElNotFocusable","addElRole","role","addElRoleDescription","description","addElControls","controls","addElLabel","label","addElId","id","addElLive","live","disableEl","enableEl","onEnterOrSpaceKey","params","targetEl","classesToSelector","prevEls","updateNavigation","nextEl","prevEl","hasPagination","hasClickablePagination","updatePagination","bulletEl","elementIndex","initNavEl","wrapperId","handlePointerDown","handlePointerUp","onVisibilityChange","handleFocus","slideEl","isActive","isVisible","initSlides","slidesLength","index","slideIndex","ariaLabelMessage","init","containerEl","wrapperEl","getDocument","destroy","createElement"],"mappings":"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","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.cjs436.js","sources":["../src/icons/CtaCardIcon/index.tsx"],"sourcesContent":["import { IconProps } from \"@/types/icons.ts\";\r\n\r\nexport const CtaCardIcon = ({className}: IconProps) => {\r\n return (\r\n <svg className={className} width=\"121\" height=\"49\" viewBox=\"0 0 121 49\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <rect width=\"121\" height=\"49\" fill=\"#C5C7C9\" />\r\n <g clipPath=\"url(#clip0_16364_119694)\">\r\n <rect width=\"1440\" height=\"35228\" transform=\"translate(-608 -31452)\" fill=\"white\" />\r\n <rect width=\"1440\" height=\"29722\" transform=\"translate(-608 -29136)\" fill=\"white\" />\r\n <rect width=\"1055\" height=\"29848.1\" transform=\"translate(-223 -29136)\" fill=\"white\" />\r\n <rect width=\"900\" height=\"29848.1\" transform=\"translate(-223 -29136)\" fill=\"white\" />\r\n <g clipPath=\"url(#clip1_16364_119694)\" filter=\"url(#filter0_d_16364_119694)\">\r\n <rect x=\"-199\" y=\"-47.9004\" width=\"320\" height=\"96\" rx=\"4\" fill=\"#0066CC\" />\r\n <mask id=\"path-2-inside-1_16364_119694\" fill=\"white\">\r\n <path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M103.231 7.5H44.0314V44.1287L7.40001 44.1287L7.40001 103.329H44.0314V140.7H103.231V103.329H140.6V44.1287L103.231 44.1287V7.5Z\" />\r\n </mask>\r\n <path d=\"M44.0314 7.5V3.5H40.0314V7.5H44.0314ZM103.231 7.5H107.231V3.5H103.231V7.5ZM44.0314 44.1287V48.1287H48.0314V44.1287H44.0314ZM7.40001 44.1287L7.40001 40.1287H3.40001L3.40001 44.1287H7.40001ZM7.40001 103.329H3.40001V107.329H7.40001V103.329ZM44.0314 103.329H48.0314V99.3287H44.0314V103.329ZM44.0314 140.7H40.0314V144.7H44.0314V140.7ZM103.231 140.7V144.7H107.231V140.7H103.231ZM103.231 103.329V99.3287H99.2314V103.329H103.231ZM140.6 103.329V107.329H144.6V103.329H140.6ZM140.6 44.1287H144.6V40.1287H140.6V44.1287ZM103.231 44.1287H99.2314V48.1287H103.231V44.1287ZM44.0314 11.5H103.231V3.5H44.0314V11.5ZM48.0314 44.1287V7.5H40.0314V44.1287H48.0314ZM7.40001 48.1287L44.0314 48.1287V40.1287L7.40001 40.1287L7.40001 48.1287ZM11.4 103.329L11.4 44.1287H3.40001L3.40001 103.329H11.4ZM44.0314 99.3287H7.40001V107.329H44.0314V99.3287ZM48.0314 140.7V103.329H40.0314V140.7H48.0314ZM103.231 136.7H44.0314V144.7H103.231V136.7ZM99.2314 103.329V140.7H107.231V103.329H99.2314ZM140.6 99.3287H103.231V107.329H140.6V99.3287ZM136.6 44.1287V103.329H144.6V44.1287H136.6ZM103.231 48.1287L140.6 48.1287V40.1287L103.231 40.1287V48.1287ZM99.2314 7.5V44.1287H107.231V7.5H99.2314Z\" fill=\"white\" mask=\"url(#path-2-inside-1_16364_119694)\" />\r\n <g opacity=\"0.4\">\r\n <mask id=\"path-4-inside-2_16364_119694\" fill=\"white\">\r\n <path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M75.363 6.85156H53.363V20.4641L39.75 20.4641V42.4641H53.363V56.3516H75.363V42.4641H89.25V20.4641L75.363 20.4641V6.85156Z\" />\r\n </mask>\r\n <path d=\"M53.363 6.85156V3.85156H50.363V6.85156H53.363ZM75.363 6.85156H78.363V3.85156H75.363V6.85156ZM53.363 20.4641V23.4641H56.363V20.4641H53.363ZM39.75 20.4641L39.75 17.4641H36.75V20.4641H39.75ZM39.75 42.4641H36.75V45.4641H39.75V42.4641ZM53.363 42.4641H56.363V39.4641H53.363V42.4641ZM53.363 56.3516H50.363V59.3516H53.363V56.3516ZM75.363 56.3516V59.3516H78.363V56.3516H75.363ZM75.363 42.4641V39.4641H72.363V42.4641H75.363ZM89.25 42.4641V45.4641H92.25V42.4641H89.25ZM89.25 20.4641H92.25V17.4641H89.25V20.4641ZM75.363 20.4641H72.363V23.4641H75.363V20.4641ZM53.363 9.85156H75.363V3.85156H53.363V9.85156ZM56.363 20.4641V6.85156H50.363V20.4641H56.363ZM39.75 23.4641L53.363 23.4641V17.4641L39.75 17.4641L39.75 23.4641ZM42.75 42.4641V20.4641H36.75V42.4641H42.75ZM53.363 39.4641H39.75V45.4641H53.363V39.4641ZM56.363 56.3516V42.4641H50.363V56.3516H56.363ZM75.363 53.3516H53.363V59.3516H75.363V53.3516ZM72.363 42.4641V56.3516H78.363V42.4641H72.363ZM89.25 39.4641H75.363V45.4641H89.25V39.4641ZM86.25 20.4641V42.4641H92.25V20.4641H86.25ZM75.363 23.4641H89.25V17.4641L75.363 17.4641V23.4641ZM72.363 6.85156V20.4641H78.363V6.85156H72.363Z\" fill=\"white\" mask=\"url(#path-4-inside-2_16364_119694)\" />\r\n </g>\r\n </g>\r\n </g>\r\n <defs>\r\n <filter id=\"filter0_d_16364_119694\" x=\"-215\" y=\"-63.9004\" width=\"352\" height=\"128\" filterUnits=\"userSpaceOnUse\" colorInterpolationFilters=\"sRGB\">\r\n <feFlood floodOpacity=\"0\" result=\"BackgroundImageFix\" />\r\n <feColorMatrix in=\"SourceAlpha\" type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\" result=\"hardAlpha\" />\r\n <feOffset />\r\n <feGaussianBlur stdDeviation=\"8\" />\r\n <feColorMatrix type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0\" />\r\n <feBlend mode=\"normal\" in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_16364_119694\" />\r\n <feBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"effect1_dropShadow_16364_119694\" result=\"shape\" />\r\n </filter>\r\n <clipPath id=\"clip0_16364_119694\">\r\n <rect width=\"1440\" height=\"35228\" fill=\"white\" transform=\"translate(-608 -31452)\" />\r\n </clipPath>\r\n <clipPath id=\"clip1_16364_119694\">\r\n <rect width=\"320\" height=\"96\" fill=\"white\" transform=\"translate(-199 -47.9004)\" />\r\n </clipPath>\r\n </defs>\r\n </svg>\r\n );\r\n};\r\n"],"names":["CtaCardIcon","className","jsxs","jsx"],"mappings":"qHAEaA,EAAc,CAAC,CAAC,UAAAC,KAExBC,EAAAA,kBAAAA,KAAA,MAAA,CAAI,UAAAD,EAAsB,MAAM,MAAM,OAAO,KAAK,QAAQ,aAAa,KAAK,OAAO,MAAM,6BACxF,SAAA,CAAAE,wBAAC,QAAK,MAAM,MAAM,OAAO,KAAK,KAAK,UAAU,EAC7CD,EAAAA,kBAAAA,KAAC,IAAE,CAAA,SAAS,2BACV,SAAA,CAACC,EAAAA,kBAAAA,IAAA,OAAA,CAAK,MAAM,OAAO,OAAO,QAAQ,UAAU,yBAAyB,KAAK,OAAQ,CAAA,EAClFA,EAAAA,kBAAAA,IAAC,QAAK,MAAM,OAAO,OAAO,QAAQ,UAAU,yBAAyB,KAAK,OAAQ,CAAA,EAClFA,EAAAA,kBAAAA,IAAC,QAAK,MAAM,OAAO,OAAO,UAAU,UAAU,yBAAyB,KAAK,OAAQ,CAAA,EACpFA,EAAAA,kBAAAA,IAAC,QAAK,MAAM,MAAM,OAAO,UAAU,UAAU,yBAAyB,KAAK,OAAQ,CAAA,EAClFD,EAAA,kBAAA,KAAA,IAAA,CAAE,SAAS,2BAA2B,OAAO,+BAC5C,SAAA,CAAAC,EAAA,kBAAA,IAAC,OAAK,CAAA,EAAE,OAAO,EAAE,WAAW,MAAM,MAAM,OAAO,KAAK,GAAG,IAAI,KAAK,UAAU,EACzEA,EAAA,kBAAA,IAAA,OAAA,CAAK,GAAG,+BAA+B,KAAK,QAC3C,SAAAA,EAAA,kBAAA,IAAC,OAAK,CAAA,SAAS,UAAU,SAAS,UAAU,EAAE,+HAAgI,CAAA,EAChL,0BACC,OAAK,CAAA,EAAE,4nCAA4nC,KAAK,QAAQ,KAAK,qCAAqC,EAC3rCD,EAAAA,kBAAAA,KAAC,IAAE,CAAA,QAAQ,MACT,SAAA,CAAAC,EAAA,kBAAA,IAAC,OAAK,CAAA,GAAG,+BAA+B,KAAK,QAC3C,SAAAA,EAAA,kBAAA,IAAC,OAAK,CAAA,SAAS,UAAU,SAAS,UAAU,EAAE,0HAA2H,CAAA,EAC3K,0BACC,OAAK,CAAA,EAAE,+lCAA+lC,KAAK,QAAQ,KAAK,oCAAqC,CAAA,CAAA,CAChqC,CAAA,CAAA,CACF,CAAA,CAAA,EACF,2BACC,OACC,CAAA,SAAA,CAAAD,EAAA,kBAAA,KAAC,SAAO,CAAA,GAAG,yBAAyB,EAAE,OAAO,EAAE,WAAW,MAAM,MAAM,OAAO,MAAM,YAAY,iBAAiB,0BAA0B,OACxI,SAAA,CAAAC,EAAA,kBAAA,IAAC,UAAQ,CAAA,aAAa,IAAI,OAAO,qBAAqB,EACtDA,EAAAA,kBAAAA,IAAC,iBAAc,GAAG,cAAc,KAAK,SAAS,OAAO,4CAA4C,OAAO,WAAY,CAAA,0BACnH,WAAS,EAAA,EACVA,EAAAA,kBAAAA,IAAC,iBAAe,CAAA,aAAa,GAAI,CAAA,EAChCA,EAAA,kBAAA,IAAA,gBAAA,CAAc,KAAK,SAAS,OAAO,6CAA6C,0BAChF,UAAQ,CAAA,KAAK,SAAS,IAAI,qBAAqB,OAAO,kCAAkC,EACzFA,EAAAA,kBAAAA,IAAC,WAAQ,KAAK,SAAS,GAAG,gBAAgB,IAAI,kCAAkC,OAAO,OAAQ,CAAA,CAAA,EACjG,EACCA,EAAA,kBAAA,IAAA,WAAA,CAAS,GAAG,qBACX,iCAAC,OAAK,CAAA,MAAM,OAAO,OAAO,QAAQ,KAAK,QAAQ,UAAU,wBAAyB,CAAA,EACpF,EACCA,EAAA,kBAAA,IAAA,WAAA,CAAS,GAAG,qBACX,iCAAC,OAAK,CAAA,MAAM,MAAM,OAAO,KAAK,KAAK,QAAQ,UAAU,2BAA2B,CAClF,CAAA,CAAA,CACF,CAAA,CAAA,EACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react");require("./index.
|
|
2
|
-
//# sourceMappingURL=index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react");require("./index.cjs505.js");function u(){const[l,e]=r.useState(null),o=r.useCallback(async t=>{if(!(navigator!=null&&navigator.clipboard))return console.warn("Clipboard not supported"),!1;try{return await navigator.clipboard.writeText(t),e(t),!0}catch(a){return console.warn("Copy failed",a),e(null),!1}},[]);return[l,o]}function n(l){const[e,o]=r.useState(!1),t=r.useCallback(()=>{o(a=>!a)},[]);return[e,t,o]}exports.useCopyToClipboard=u;exports.useToggle=n;
|
|
2
|
+
//# sourceMappingURL=index.cjs439.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs420.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","useToggle","defaultValue","value","setValue","toggle","x"],"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,CAw6BA,SAASI,EAAUC,EAAc,CAC/B,KAAM,CAACC,EAAOC,CAAQ,EAAIR,EAAAA,SAAS,EAAc,EAC3CS,EAASP,EAAAA,YAAY,IAAM,CAC/BM,EAAUE,GAAM,CAACA,CAAC,CACnB,EAAE,EAAE,EACL,MAAO,CAACH,EAAOE,EAAQD,CAAQ,CACjC","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.cjs439.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","useToggle","defaultValue","value","setValue","toggle","x"],"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,CAw6BA,SAASI,EAAUC,EAAc,CAC/B,KAAM,CAACC,EAAOC,CAAQ,EAAIR,EAAAA,SAAS,EAAc,EAC3CS,EAASP,EAAAA,YAAY,IAAM,CAC/BM,EAAUE,GAAM,CAACA,CAAC,CACnB,EAAE,EAAE,EACL,MAAO,CAACH,EAAOE,EAAQD,CAAQ,CACjC","x_google_ignoreList":[0]}
|
package/dist/index.cjs44.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/BaseModal/BaseModal.css');const o=require("./index.cjs236.js"),a=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/BaseModal/BaseModal.css');const o=require("./index.cjs236.js"),a=require("./index.cjs313.js"),r=require("./index.cjs314.js"),u=require("./index.cjs315.js"),c=require("./index.cjs316.js"),j=require("./index.cjs317.js");;/* empty css */const e=({open:s,setOpen:t,overrideClassNames:n,overrideBaseModalClassName:d="ui-base-modal-overlay",id:i=void 0,role:l="dialog",children:x})=>o.jsxRuntimeExports.jsx(a.Root,{open:s,onOpenChange:t,children:o.jsxRuntimeExports.jsxs(a.Portal,{children:[o.jsxRuntimeExports.jsx(a.Overlay,{className:d}),o.jsxRuntimeExports.jsx(a.Content,{className:`bg-white shadow br-x4 ui-base-modal-body ${n??""}`,id:i,role:l,children:x})]})});e.Header=r.BaseModalHeader;e.HeaderV2=r.BaseModalHeaderV2;e.HeaderBack=j.BaseModalBackHeader;e.Content=c.BaseModalContent;e.Footer=u.BaseModalFooter;exports.BaseModal=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs44.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs447.js");var r,i;function u(){return i||(i=1,r=window.DOMPurify||(window.DOMPurify=e.__require().default||e.__require())),r}exports.__require=u;
|
|
2
|
+
//# sourceMappingURL=index.cjs446.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs446.js","sources":["../node_modules/isomorphic-dompurify/browser.js"],"sourcesContent":["module.exports = window.DOMPurify || (window.DOMPurify = require('dompurify').default || require('dompurify'));\n"],"names":["browser","require$$0"],"mappings":"yJAAAA,EAAiB,OAAO,YAAc,OAAO,UAAYC,YAAoB,EAAC,SAAWA,EAAAA","x_google_ignoreList":[0]}
|