@anoki/fse-ui 1.0.695 → 1.0.697
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/navigations/TabBar/TabBar.css +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.cjs10.js.map +1 -1
- package/dist/index.cjs100.js +1 -1
- package/dist/index.cjs100.js.map +1 -1
- package/dist/index.cjs101.js.map +1 -1
- package/dist/index.cjs103.js.map +1 -1
- package/dist/index.cjs105.js.map +1 -1
- package/dist/index.cjs106.js.map +1 -1
- package/dist/index.cjs107.js.map +1 -1
- package/dist/index.cjs108.js.map +1 -1
- package/dist/index.cjs109.js.map +1 -1
- package/dist/index.cjs110.js.map +1 -1
- package/dist/index.cjs111.js.map +1 -1
- package/dist/index.cjs112.js.map +1 -1
- package/dist/index.cjs113.js.map +1 -1
- package/dist/index.cjs114.js.map +1 -1
- package/dist/index.cjs115.js.map +1 -1
- package/dist/index.cjs116.js.map +1 -1
- package/dist/index.cjs118.js.map +1 -1
- package/dist/index.cjs119.js.map +1 -1
- package/dist/index.cjs12.js.map +1 -1
- package/dist/index.cjs121.js.map +1 -1
- package/dist/index.cjs123.js.map +1 -1
- package/dist/index.cjs124.js.map +1 -1
- package/dist/index.cjs125.js.map +1 -1
- package/dist/index.cjs126.js.map +1 -1
- package/dist/index.cjs127.js.map +1 -1
- package/dist/index.cjs128.js.map +1 -1
- package/dist/index.cjs129.js.map +1 -1
- package/dist/index.cjs13.js.map +1 -1
- package/dist/index.cjs130.js.map +1 -1
- package/dist/index.cjs131.js.map +1 -1
- package/dist/index.cjs132.js.map +1 -1
- package/dist/index.cjs133.js.map +1 -1
- package/dist/index.cjs134.js.map +1 -1
- package/dist/index.cjs135.js.map +1 -1
- package/dist/index.cjs136.js.map +1 -1
- package/dist/index.cjs137.js.map +1 -1
- package/dist/index.cjs138.js.map +1 -1
- package/dist/index.cjs139.js.map +1 -1
- package/dist/index.cjs14.js.map +1 -1
- package/dist/index.cjs140.js.map +1 -1
- package/dist/index.cjs141.js.map +1 -1
- package/dist/index.cjs142.js.map +1 -1
- package/dist/index.cjs143.js.map +1 -1
- package/dist/index.cjs144.js.map +1 -1
- package/dist/index.cjs145.js.map +1 -1
- package/dist/index.cjs146.js.map +1 -1
- package/dist/index.cjs147.js.map +1 -1
- package/dist/index.cjs148.js.map +1 -1
- package/dist/index.cjs149.js.map +1 -1
- package/dist/index.cjs15.js.map +1 -1
- package/dist/index.cjs150.js.map +1 -1
- package/dist/index.cjs151.js.map +1 -1
- package/dist/index.cjs152.js.map +1 -1
- package/dist/index.cjs153.js.map +1 -1
- package/dist/index.cjs154.js.map +1 -1
- package/dist/index.cjs155.js.map +1 -1
- package/dist/index.cjs156.js.map +1 -1
- package/dist/index.cjs157.js.map +1 -1
- package/dist/index.cjs158.js.map +1 -1
- package/dist/index.cjs159.js.map +1 -1
- package/dist/index.cjs16.js.map +1 -1
- package/dist/index.cjs160.js.map +1 -1
- package/dist/index.cjs161.js.map +1 -1
- package/dist/index.cjs162.js.map +1 -1
- package/dist/index.cjs163.js.map +1 -1
- package/dist/index.cjs164.js.map +1 -1
- package/dist/index.cjs165.js.map +1 -1
- package/dist/index.cjs166.js.map +1 -1
- package/dist/index.cjs167.js.map +1 -1
- package/dist/index.cjs168.js.map +1 -1
- package/dist/index.cjs169.js.map +1 -1
- package/dist/index.cjs17.js.map +1 -1
- package/dist/index.cjs170.js.map +1 -1
- package/dist/index.cjs171.js.map +1 -1
- package/dist/index.cjs172.js.map +1 -1
- package/dist/index.cjs173.js.map +1 -1
- package/dist/index.cjs174.js.map +1 -1
- package/dist/index.cjs18.js.map +1 -1
- package/dist/index.cjs180.js.map +1 -1
- package/dist/index.cjs181.js.map +1 -1
- package/dist/index.cjs182.js.map +1 -1
- package/dist/index.cjs183.js.map +1 -1
- package/dist/index.cjs184.js.map +1 -1
- package/dist/index.cjs185.js.map +1 -1
- package/dist/index.cjs186.js.map +1 -1
- package/dist/index.cjs187.js.map +1 -1
- package/dist/index.cjs188.js.map +1 -1
- package/dist/index.cjs19.js.map +1 -1
- package/dist/index.cjs20.js.map +1 -1
- package/dist/index.cjs21.js.map +1 -1
- package/dist/index.cjs22.js.map +1 -1
- package/dist/index.cjs225.js.map +1 -1
- package/dist/index.cjs227.js.map +1 -1
- package/dist/index.cjs23.js.map +1 -1
- package/dist/index.cjs230.js.map +1 -1
- package/dist/index.cjs234.js.map +1 -1
- package/dist/index.cjs237.js.map +1 -1
- package/dist/index.cjs240.js +1 -1
- package/dist/index.cjs240.js.map +1 -1
- package/dist/index.cjs243.js.map +1 -1
- package/dist/index.cjs244.js +1 -1
- package/dist/index.cjs244.js.map +1 -1
- package/dist/index.cjs245.js.map +1 -1
- package/dist/index.cjs25.js.map +1 -1
- package/dist/index.cjs251.js +1 -1
- package/dist/index.cjs251.js.map +1 -1
- package/dist/index.cjs252.js.map +1 -1
- package/dist/index.cjs255.js.map +1 -1
- package/dist/index.cjs26.js.map +1 -1
- package/dist/index.cjs260.js.map +1 -1
- package/dist/index.cjs261.js +1 -1
- package/dist/index.cjs265.js.map +1 -1
- package/dist/index.cjs267.js +1 -1
- package/dist/index.cjs267.js.map +1 -1
- package/dist/index.cjs268.js.map +1 -1
- package/dist/index.cjs269.js.map +1 -1
- package/dist/index.cjs27.js.map +1 -1
- package/dist/index.cjs270.js.map +1 -1
- package/dist/index.cjs271.js.map +1 -1
- package/dist/index.cjs273.js.map +1 -1
- package/dist/index.cjs274.js +1 -1
- package/dist/index.cjs274.js.map +1 -1
- package/dist/index.cjs275.js.map +1 -1
- package/dist/index.cjs278.js.map +1 -1
- package/dist/index.cjs279.js +1 -1
- package/dist/index.cjs279.js.map +1 -1
- package/dist/index.cjs28.js +1 -1
- package/dist/index.cjs28.js.map +1 -1
- package/dist/index.cjs284.js.map +1 -1
- package/dist/index.cjs285.js.map +1 -1
- package/dist/index.cjs286.js +1 -1
- package/dist/index.cjs286.js.map +1 -1
- package/dist/index.cjs288.js.map +1 -1
- package/dist/index.cjs289.js.map +1 -1
- package/dist/index.cjs290.js.map +1 -1
- package/dist/index.cjs293.js.map +1 -1
- package/dist/index.cjs294.js +1 -1
- package/dist/index.cjs294.js.map +1 -1
- package/dist/index.cjs30.js.map +1 -1
- package/dist/index.cjs31.js.map +1 -1
- package/dist/index.cjs32.js.map +1 -1
- package/dist/index.cjs33.js +1 -1
- package/dist/index.cjs33.js.map +1 -1
- package/dist/index.cjs333.js +1 -1
- package/dist/index.cjs333.js.map +1 -1
- package/dist/index.cjs34.js.map +1 -1
- package/dist/index.cjs341.js.map +1 -1
- package/dist/index.cjs346.js +1 -1
- package/dist/index.cjs35.js.map +1 -1
- package/dist/index.cjs352.js.map +1 -1
- package/dist/index.cjs354.js.map +1 -1
- package/dist/index.cjs358.js.map +1 -1
- package/dist/index.cjs36.js.map +1 -1
- package/dist/index.cjs360.js +1 -1
- package/dist/index.cjs361.js +1 -1
- package/dist/index.cjs362.js +1 -1
- package/dist/index.cjs37.js.map +1 -1
- package/dist/index.cjs372.js +1 -1
- package/dist/index.cjs373.js +1 -1
- package/dist/index.cjs38.js.map +1 -1
- package/dist/index.cjs380.js +1 -1
- package/dist/index.cjs380.js.map +1 -1
- package/dist/index.cjs383.js +2 -0
- package/dist/index.cjs383.js.map +1 -0
- package/dist/index.cjs384.js +2 -0
- package/dist/index.cjs384.js.map +1 -0
- package/dist/index.cjs385.js +2 -0
- package/dist/index.cjs385.js.map +1 -0
- package/dist/index.cjs386.js +2 -0
- package/dist/index.cjs386.js.map +1 -0
- package/dist/{index.cjs409.js → index.cjs387.js} +1 -1
- package/dist/{index.cjs409.js.map → index.cjs387.js.map} +1 -1
- package/dist/index.cjs388.js +1 -1
- package/dist/index.cjs388.js.map +1 -1
- package/dist/index.cjs389.js +1 -1
- package/dist/index.cjs389.js.map +1 -1
- package/dist/index.cjs39.js.map +1 -1
- package/dist/index.cjs390.js +1 -1
- package/dist/index.cjs390.js.map +1 -1
- package/dist/index.cjs391.js +1 -1
- package/dist/index.cjs391.js.map +1 -1
- package/dist/index.cjs392.js +1 -1
- package/dist/index.cjs392.js.map +1 -1
- package/dist/index.cjs395.js +1 -1
- package/dist/index.cjs395.js.map +1 -1
- package/dist/index.cjs396.js +1 -1
- package/dist/index.cjs396.js.map +1 -1
- package/dist/index.cjs397.js +1 -1
- package/dist/index.cjs397.js.map +1 -1
- package/dist/index.cjs398.js +1 -1
- package/dist/index.cjs398.js.map +1 -1
- package/dist/index.cjs399.js +1 -1
- package/dist/index.cjs399.js.map +1 -1
- package/dist/index.cjs40.js.map +1 -1
- package/dist/index.cjs400.js +1 -1
- package/dist/index.cjs400.js.map +1 -1
- package/dist/index.cjs401.js +1 -1
- package/dist/index.cjs401.js.map +1 -1
- package/dist/index.cjs408.js +1 -1
- package/dist/index.cjs408.js.map +1 -1
- package/dist/index.cjs41.js.map +1 -1
- package/dist/{index.cjs379.js → index.cjs418.js} +1 -1
- package/dist/index.cjs418.js.map +1 -0
- package/dist/index.cjs419.js +2 -0
- package/dist/index.cjs419.js.map +1 -0
- package/dist/index.cjs42.js +1 -1
- package/dist/index.cjs42.js.map +1 -1
- package/dist/index.cjs420.js +2 -0
- package/dist/index.cjs420.js.map +1 -0
- package/dist/index.cjs421.js +1 -1
- package/dist/index.cjs421.js.map +1 -1
- package/dist/index.cjs422.js +1 -1
- package/dist/index.cjs422.js.map +1 -1
- package/dist/index.cjs423.js +1 -1
- package/dist/index.cjs423.js.map +1 -1
- package/dist/index.cjs424.js +2 -0
- package/dist/index.cjs424.js.map +1 -0
- package/dist/index.cjs425.js +2 -0
- package/dist/index.cjs425.js.map +1 -0
- package/dist/index.cjs426.js +2 -0
- package/dist/index.cjs426.js.map +1 -0
- package/dist/{index.cjs402.js → index.cjs427.js} +2 -2
- package/dist/index.cjs427.js.map +1 -0
- package/dist/index.cjs428.js +2 -0
- package/dist/index.cjs428.js.map +1 -0
- package/dist/{index.cjs411.js → index.cjs429.js} +2 -2
- package/dist/{index.cjs411.js.map → index.cjs429.js.map} +1 -1
- package/dist/index.cjs43.js.map +1 -1
- package/dist/index.cjs430.js +2 -0
- package/dist/index.cjs430.js.map +1 -0
- package/dist/index.cjs431.js +1 -1
- package/dist/index.cjs431.js.map +1 -1
- package/dist/index.cjs432.js +1 -1
- package/dist/index.cjs432.js.map +1 -1
- package/dist/index.cjs433.js +1 -1
- package/dist/index.cjs433.js.map +1 -1
- package/dist/index.cjs434.js +1 -4
- package/dist/index.cjs434.js.map +1 -1
- package/dist/index.cjs435.js +1 -1
- package/dist/index.cjs435.js.map +1 -1
- package/dist/index.cjs436.js +1 -1
- package/dist/index.cjs436.js.map +1 -1
- package/dist/index.cjs437.js +1 -1
- package/dist/index.cjs437.js.map +1 -1
- package/dist/index.cjs438.js +1 -1
- package/dist/index.cjs438.js.map +1 -1
- package/dist/index.cjs439.js +1 -38
- package/dist/index.cjs439.js.map +1 -1
- package/dist/index.cjs44.js.map +1 -1
- package/dist/index.cjs440.js +1 -1
- package/dist/index.cjs440.js.map +1 -1
- package/dist/index.cjs441.js +1 -1
- package/dist/index.cjs441.js.map +1 -1
- package/dist/index.cjs442.js +1 -1
- package/dist/index.cjs442.js.map +1 -1
- package/dist/index.cjs443.js +1 -1
- package/dist/index.cjs443.js.map +1 -1
- package/dist/index.cjs444.js +1 -1
- package/dist/index.cjs444.js.map +1 -1
- package/dist/index.cjs445.js +1 -1
- package/dist/index.cjs445.js.map +1 -1
- package/dist/index.cjs446.js +1 -1
- package/dist/index.cjs446.js.map +1 -1
- package/dist/index.cjs447.js +1 -1
- package/dist/index.cjs447.js.map +1 -1
- package/dist/index.cjs448.js +1 -1
- package/dist/index.cjs448.js.map +1 -1
- package/dist/index.cjs449.js +1 -1
- package/dist/index.cjs449.js.map +1 -1
- package/dist/index.cjs45.js.map +1 -1
- package/dist/index.cjs450.js +2 -0
- package/dist/index.cjs450.js.map +1 -0
- package/dist/index.cjs451.js +2 -0
- package/dist/index.cjs451.js.map +1 -0
- package/dist/index.cjs452.js +1 -1
- package/dist/index.cjs452.js.map +1 -1
- package/dist/index.cjs453.js +4 -1
- package/dist/index.cjs453.js.map +1 -1
- package/dist/index.cjs454.js +1 -1
- package/dist/index.cjs454.js.map +1 -1
- package/dist/index.cjs455.js +5 -1
- package/dist/index.cjs455.js.map +1 -1
- package/dist/index.cjs456.js +1 -1
- package/dist/index.cjs456.js.map +1 -1
- package/dist/index.cjs457.js +1 -1
- package/dist/index.cjs457.js.map +1 -1
- package/dist/index.cjs458.js +1 -1
- package/dist/index.cjs458.js.map +1 -1
- package/dist/index.cjs459.js +1 -1
- package/dist/index.cjs459.js.map +1 -1
- package/dist/index.cjs46.js.map +1 -1
- package/dist/index.cjs460.js +1 -1
- package/dist/index.cjs460.js.map +1 -1
- package/dist/index.cjs461.js +1 -1
- package/dist/index.cjs461.js.map +1 -1
- package/dist/index.cjs462.js +1 -1
- package/dist/index.cjs462.js.map +1 -1
- package/dist/index.cjs463.js +1 -1
- package/dist/index.cjs463.js.map +1 -1
- package/dist/index.cjs464.js +1 -1
- package/dist/index.cjs464.js.map +1 -1
- package/dist/index.cjs465.js +1 -1
- package/dist/index.cjs465.js.map +1 -1
- package/dist/index.cjs466.js +1 -1
- package/dist/index.cjs466.js.map +1 -1
- package/dist/index.cjs467.js +38 -5
- package/dist/index.cjs467.js.map +1 -1
- package/dist/index.cjs468.js +1 -1
- package/dist/index.cjs468.js.map +1 -1
- package/dist/index.cjs469.js +1 -1
- package/dist/index.cjs469.js.map +1 -1
- package/dist/index.cjs47.js.map +1 -1
- package/dist/index.cjs470.js +1 -1
- package/dist/index.cjs470.js.map +1 -1
- package/dist/index.cjs471.js +1 -1
- package/dist/index.cjs471.js.map +1 -1
- package/dist/index.cjs472.js +1 -1
- package/dist/index.cjs472.js.map +1 -1
- package/dist/index.cjs473.js +1 -1
- package/dist/index.cjs473.js.map +1 -1
- package/dist/index.cjs474.js +1 -1
- package/dist/index.cjs474.js.map +1 -1
- package/dist/index.cjs475.js +1 -1
- package/dist/index.cjs475.js.map +1 -1
- package/dist/index.cjs476.js +1 -1
- package/dist/index.cjs476.js.map +1 -1
- package/dist/index.cjs477.js +1 -1
- package/dist/index.cjs477.js.map +1 -1
- package/dist/index.cjs48.js.map +1 -1
- package/dist/index.cjs49.js +1 -1
- package/dist/index.cjs49.js.map +1 -1
- package/dist/index.cjs50.js.map +1 -1
- package/dist/index.cjs51.js +1 -1
- package/dist/index.cjs51.js.map +1 -1
- package/dist/index.cjs52.js.map +1 -1
- package/dist/index.cjs53.js.map +1 -1
- package/dist/index.cjs54.js.map +1 -1
- package/dist/index.cjs55.js.map +1 -1
- package/dist/index.cjs57.js.map +1 -1
- package/dist/index.cjs58.js.map +1 -1
- package/dist/index.cjs59.js.map +1 -1
- package/dist/index.cjs6.js.map +1 -1
- package/dist/index.cjs61.js.map +1 -1
- package/dist/index.cjs62.js +1 -1
- package/dist/index.cjs62.js.map +1 -1
- package/dist/index.cjs63.js.map +1 -1
- package/dist/index.cjs64.js.map +1 -1
- package/dist/index.cjs65.js.map +1 -1
- package/dist/index.cjs69.js.map +1 -1
- package/dist/index.cjs7.js.map +1 -1
- package/dist/index.cjs70.js.map +1 -1
- package/dist/index.cjs71.js.map +1 -1
- package/dist/index.cjs73.js.map +1 -1
- package/dist/index.cjs74.js.map +1 -1
- package/dist/index.cjs75.js.map +1 -1
- package/dist/index.cjs76.js.map +1 -1
- package/dist/index.cjs77.js.map +1 -1
- package/dist/index.cjs78.js.map +1 -1
- package/dist/index.cjs79.js.map +1 -1
- package/dist/index.cjs8.js.map +1 -1
- package/dist/index.cjs80.js.map +1 -1
- package/dist/index.cjs81.js.map +1 -1
- package/dist/index.cjs82.js.map +1 -1
- package/dist/index.cjs83.js.map +1 -1
- package/dist/index.cjs84.js.map +1 -1
- package/dist/index.cjs85.js.map +1 -1
- package/dist/index.cjs86.js.map +1 -1
- package/dist/index.cjs87.js.map +1 -1
- package/dist/index.cjs88.js.map +1 -1
- package/dist/index.cjs89.js.map +1 -1
- package/dist/index.cjs90.js.map +1 -1
- package/dist/index.cjs92.js.map +1 -1
- package/dist/index.cjs93.js.map +1 -1
- package/dist/index.cjs94.js.map +1 -1
- package/dist/index.cjs96.js.map +1 -1
- package/dist/index.cjs97.js.map +1 -1
- package/dist/index.cjs98.js.map +1 -1
- package/dist/index.cjs99.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.es10.js.map +1 -1
- package/dist/index.es100.js +2 -2
- package/dist/index.es100.js.map +1 -1
- package/dist/index.es101.js.map +1 -1
- package/dist/index.es103.js.map +1 -1
- package/dist/index.es105.js.map +1 -1
- package/dist/index.es106.js.map +1 -1
- package/dist/index.es107.js.map +1 -1
- package/dist/index.es108.js.map +1 -1
- package/dist/index.es109.js.map +1 -1
- package/dist/index.es110.js.map +1 -1
- package/dist/index.es111.js.map +1 -1
- package/dist/index.es112.js.map +1 -1
- package/dist/index.es113.js.map +1 -1
- package/dist/index.es114.js.map +1 -1
- package/dist/index.es115.js.map +1 -1
- package/dist/index.es116.js.map +1 -1
- package/dist/index.es118.js.map +1 -1
- package/dist/index.es119.js.map +1 -1
- package/dist/index.es12.js.map +1 -1
- package/dist/index.es121.js.map +1 -1
- package/dist/index.es123.js.map +1 -1
- package/dist/index.es124.js.map +1 -1
- package/dist/index.es125.js.map +1 -1
- package/dist/index.es126.js.map +1 -1
- package/dist/index.es127.js.map +1 -1
- package/dist/index.es128.js.map +1 -1
- package/dist/index.es129.js.map +1 -1
- package/dist/index.es13.js.map +1 -1
- package/dist/index.es130.js.map +1 -1
- package/dist/index.es131.js.map +1 -1
- package/dist/index.es132.js.map +1 -1
- package/dist/index.es133.js.map +1 -1
- package/dist/index.es134.js.map +1 -1
- package/dist/index.es135.js.map +1 -1
- package/dist/index.es136.js.map +1 -1
- package/dist/index.es137.js.map +1 -1
- package/dist/index.es138.js.map +1 -1
- package/dist/index.es139.js.map +1 -1
- package/dist/index.es14.js.map +1 -1
- package/dist/index.es140.js.map +1 -1
- package/dist/index.es141.js.map +1 -1
- package/dist/index.es142.js.map +1 -1
- package/dist/index.es143.js.map +1 -1
- package/dist/index.es144.js.map +1 -1
- package/dist/index.es145.js.map +1 -1
- package/dist/index.es146.js.map +1 -1
- package/dist/index.es147.js.map +1 -1
- package/dist/index.es148.js.map +1 -1
- package/dist/index.es149.js.map +1 -1
- package/dist/index.es15.js.map +1 -1
- package/dist/index.es150.js.map +1 -1
- package/dist/index.es151.js.map +1 -1
- package/dist/index.es152.js.map +1 -1
- package/dist/index.es153.js.map +1 -1
- package/dist/index.es154.js.map +1 -1
- package/dist/index.es155.js.map +1 -1
- package/dist/index.es156.js.map +1 -1
- package/dist/index.es157.js.map +1 -1
- package/dist/index.es158.js.map +1 -1
- package/dist/index.es159.js.map +1 -1
- package/dist/index.es16.js.map +1 -1
- package/dist/index.es160.js.map +1 -1
- package/dist/index.es161.js.map +1 -1
- package/dist/index.es162.js.map +1 -1
- package/dist/index.es163.js.map +1 -1
- package/dist/index.es164.js.map +1 -1
- package/dist/index.es165.js.map +1 -1
- package/dist/index.es166.js.map +1 -1
- package/dist/index.es167.js.map +1 -1
- package/dist/index.es168.js.map +1 -1
- package/dist/index.es169.js.map +1 -1
- package/dist/index.es17.js.map +1 -1
- package/dist/index.es170.js.map +1 -1
- package/dist/index.es171.js.map +1 -1
- package/dist/index.es172.js.map +1 -1
- package/dist/index.es173.js.map +1 -1
- package/dist/index.es174.js.map +1 -1
- package/dist/index.es18.js.map +1 -1
- package/dist/index.es180.js.map +1 -1
- package/dist/index.es181.js.map +1 -1
- package/dist/index.es182.js.map +1 -1
- package/dist/index.es183.js.map +1 -1
- package/dist/index.es184.js.map +1 -1
- package/dist/index.es185.js.map +1 -1
- package/dist/index.es186.js.map +1 -1
- package/dist/index.es187.js.map +1 -1
- package/dist/index.es188.js.map +1 -1
- package/dist/index.es19.js.map +1 -1
- package/dist/index.es20.js.map +1 -1
- package/dist/index.es21.js.map +1 -1
- package/dist/index.es22.js.map +1 -1
- package/dist/index.es225.js.map +1 -1
- package/dist/index.es227.js.map +1 -1
- package/dist/index.es23.js.map +1 -1
- package/dist/index.es230.js.map +1 -1
- package/dist/index.es234.js.map +1 -1
- package/dist/index.es237.js.map +1 -1
- package/dist/index.es240.js +24 -25
- package/dist/index.es240.js.map +1 -1
- package/dist/index.es243.js.map +1 -1
- package/dist/index.es244.js +1 -1
- package/dist/index.es244.js.map +1 -1
- package/dist/index.es245.js.map +1 -1
- package/dist/index.es25.js.map +1 -1
- package/dist/index.es251.js +120 -237
- package/dist/index.es251.js.map +1 -1
- package/dist/index.es252.js.map +1 -1
- package/dist/index.es255.js.map +1 -1
- package/dist/index.es26.js.map +1 -1
- package/dist/index.es260.js.map +1 -1
- package/dist/index.es261.js +1 -1
- package/dist/index.es265.js.map +1 -1
- package/dist/index.es267.js +30 -31
- package/dist/index.es267.js.map +1 -1
- package/dist/index.es268.js.map +1 -1
- package/dist/index.es269.js.map +1 -1
- package/dist/index.es27.js.map +1 -1
- package/dist/index.es270.js.map +1 -1
- package/dist/index.es271.js.map +1 -1
- package/dist/index.es273.js.map +1 -1
- package/dist/index.es274.js +1 -1
- package/dist/index.es274.js.map +1 -1
- package/dist/index.es275.js.map +1 -1
- package/dist/index.es278.js.map +1 -1
- package/dist/index.es279.js +1 -1
- package/dist/index.es279.js.map +1 -1
- package/dist/index.es28.js +5 -5
- package/dist/index.es284.js.map +1 -1
- package/dist/index.es285.js.map +1 -1
- package/dist/index.es286.js +1 -1
- package/dist/index.es286.js.map +1 -1
- package/dist/index.es288.js.map +1 -1
- package/dist/index.es289.js.map +1 -1
- package/dist/index.es290.js.map +1 -1
- package/dist/index.es293.js.map +1 -1
- package/dist/index.es294.js +89 -104
- package/dist/index.es294.js.map +1 -1
- package/dist/index.es30.js.map +1 -1
- package/dist/index.es31.js.map +1 -1
- package/dist/index.es32.js.map +1 -1
- package/dist/index.es33.js +1 -0
- package/dist/index.es33.js.map +1 -1
- package/dist/index.es333.js +4 -4
- package/dist/index.es333.js.map +1 -1
- package/dist/index.es34.js.map +1 -1
- package/dist/index.es341.js.map +1 -1
- package/dist/index.es346.js +8 -8
- package/dist/index.es35.js.map +1 -1
- package/dist/index.es352.js.map +1 -1
- package/dist/index.es354.js.map +1 -1
- package/dist/index.es358.js.map +1 -1
- package/dist/index.es36.js.map +1 -1
- package/dist/index.es360.js +3 -3
- package/dist/index.es361.js +2 -2
- package/dist/index.es362.js +3 -3
- package/dist/index.es37.js.map +1 -1
- package/dist/index.es372.js +1 -1
- package/dist/index.es373.js +1 -1
- package/dist/index.es38.js.map +1 -1
- package/dist/index.es380.js +15 -2
- package/dist/index.es380.js.map +1 -1
- package/dist/index.es383.js +30 -0
- package/dist/index.es383.js.map +1 -0
- package/dist/index.es384.js +71 -0
- package/dist/index.es384.js.map +1 -0
- package/dist/index.es385.js +10 -0
- package/dist/index.es385.js.map +1 -0
- package/dist/index.es386.js +33 -0
- package/dist/index.es386.js.map +1 -0
- package/dist/{index.es409.js → index.es387.js} +1 -1
- package/dist/{index.es409.js.map → index.es387.js.map} +1 -1
- package/dist/index.es388.js +24 -6
- package/dist/index.es388.js.map +1 -1
- package/dist/index.es389.js +63 -21
- package/dist/index.es389.js.map +1 -1
- package/dist/index.es39.js.map +1 -1
- package/dist/index.es390.js +32 -67
- package/dist/index.es390.js.map +1 -1
- package/dist/index.es391.js +620 -50
- package/dist/index.es391.js.map +1 -1
- package/dist/index.es392.js +10 -33
- package/dist/index.es392.js.map +1 -1
- package/dist/index.es395.js +125 -4
- package/dist/index.es395.js.map +1 -1
- package/dist/index.es396.js +129 -48
- package/dist/index.es396.js.map +1 -1
- package/dist/index.es397.js +14 -46
- package/dist/index.es397.js.map +1 -1
- package/dist/index.es398.js +14 -7
- package/dist/index.es398.js.map +1 -1
- package/dist/index.es399.js +8 -124
- package/dist/index.es399.js.map +1 -1
- package/dist/index.es40.js.map +1 -1
- package/dist/index.es400.js +50 -15
- package/dist/index.es400.js.map +1 -1
- package/dist/index.es401.js +47 -129
- package/dist/index.es401.js.map +1 -1
- package/dist/index.es408.js +15 -9
- package/dist/index.es408.js.map +1 -1
- package/dist/index.es41.js.map +1 -1
- package/dist/{index.es379.js → index.es418.js} +1 -1
- package/dist/index.es418.js.map +1 -0
- package/dist/index.es419.js +5 -0
- package/dist/index.es419.js.map +1 -0
- package/dist/index.es42.js +9 -9
- package/dist/index.es42.js.map +1 -1
- package/dist/index.es420.js +2035 -0
- package/dist/index.es420.js.map +1 -0
- package/dist/index.es421.js +58 -23
- package/dist/index.es421.js.map +1 -1
- package/dist/index.es422.js +189 -29
- package/dist/index.es422.js.map +1 -1
- package/dist/index.es423.js +11 -5
- package/dist/index.es423.js.map +1 -1
- package/dist/index.es424.js +7 -0
- package/dist/index.es424.js.map +1 -0
- package/dist/index.es425.js +49 -0
- package/dist/index.es425.js.map +1 -0
- package/dist/index.es426.js +11 -0
- package/dist/index.es426.js.map +1 -0
- package/dist/{index.es402.js → index.es427.js} +10 -10
- package/dist/index.es427.js.map +1 -0
- package/dist/index.es428.js +181 -0
- package/dist/index.es428.js.map +1 -0
- package/dist/{index.es411.js → index.es429.js} +2 -2
- package/dist/{index.es411.js.map → index.es429.js.map} +1 -1
- package/dist/index.es43.js.map +1 -1
- package/dist/index.es430.js +3 -0
- package/dist/index.es430.js.map +1 -0
- package/dist/index.es431.js +10 -5
- package/dist/index.es431.js.map +1 -1
- package/dist/index.es432.js +178 -3
- package/dist/index.es432.js.map +1 -1
- package/dist/index.es433.js +3 -23
- package/dist/index.es433.js.map +1 -1
- package/dist/index.es434.js +128 -105
- package/dist/index.es434.js.map +1 -1
- package/dist/index.es435.js +204 -15
- package/dist/index.es435.js.map +1 -1
- package/dist/index.es436.js +21 -526
- package/dist/index.es436.js.map +1 -1
- package/dist/index.es437.js +379 -113
- package/dist/index.es437.js.map +1 -1
- package/dist/index.es438.js +23 -127
- package/dist/index.es438.js.map +1 -1
- package/dist/index.es439.js +28 -68
- package/dist/index.es439.js.map +1 -1
- package/dist/index.es44.js.map +1 -1
- package/dist/index.es440.js +5 -9
- package/dist/index.es440.js.map +1 -1
- package/dist/index.es441.js +81 -12
- package/dist/index.es441.js.map +1 -1
- package/dist/index.es442.js +5 -62
- package/dist/index.es442.js.map +1 -1
- package/dist/index.es443.js +4 -65
- package/dist/index.es443.js.map +1 -1
- package/dist/index.es444.js +4 -3
- package/dist/index.es444.js.map +1 -1
- package/dist/index.es445.js +9 -22
- package/dist/index.es445.js.map +1 -1
- package/dist/index.es446.js +56 -23
- package/dist/index.es446.js.map +1 -1
- package/dist/index.es447.js +7 -12
- package/dist/index.es447.js.map +1 -1
- package/dist/index.es448.js +5 -27
- package/dist/index.es448.js.map +1 -1
- package/dist/index.es449.js +532 -4
- package/dist/index.es449.js.map +1 -1
- package/dist/index.es45.js.map +1 -1
- package/dist/index.es450.js +8 -0
- package/dist/index.es450.js.map +1 -0
- package/dist/index.es451.js +6 -0
- package/dist/index.es451.js.map +1 -0
- package/dist/index.es452.js +19 -2027
- package/dist/index.es452.js.map +1 -1
- package/dist/index.es453.js +108 -58
- package/dist/index.es453.js.map +1 -1
- package/dist/index.es454.js +15 -188
- package/dist/index.es454.js.map +1 -1
- package/dist/index.es455.js +40 -5
- package/dist/index.es455.js.map +1 -1
- package/dist/index.es456.js +2 -4
- package/dist/index.es456.js.map +1 -1
- package/dist/index.es457.js +2 -5
- package/dist/index.es457.js.map +1 -1
- package/dist/index.es458.js +2 -10
- package/dist/index.es458.js.map +1 -1
- package/dist/index.es459.js +3 -56
- package/dist/index.es459.js.map +1 -1
- package/dist/index.es46.js.map +1 -1
- package/dist/index.es460.js +2 -8
- package/dist/index.es460.js.map +1 -1
- package/dist/index.es461.js +3 -5
- package/dist/index.es461.js.map +1 -1
- package/dist/index.es462.js +4 -532
- package/dist/index.es462.js.map +1 -1
- package/dist/index.es463.js +512 -122
- package/dist/index.es463.js.map +1 -1
- package/dist/index.es464.js +122 -173
- package/dist/index.es464.js.map +1 -1
- package/dist/index.es465.js +127 -8
- package/dist/index.es465.js.map +1 -1
- package/dist/index.es466.js +64 -3
- package/dist/index.es466.js.map +1 -1
- package/dist/index.es467.js +69 -40
- package/dist/index.es467.js.map +1 -1
- package/dist/index.es468.js +9 -2
- package/dist/index.es468.js.map +1 -1
- package/dist/index.es469.js +14 -2
- package/dist/index.es469.js.map +1 -1
- package/dist/index.es47.js.map +1 -1
- package/dist/index.es470.js +64 -2
- package/dist/index.es470.js.map +1 -1
- package/dist/index.es471.js +4 -2
- package/dist/index.es471.js.map +1 -1
- package/dist/index.es472.js +4 -3
- package/dist/index.es472.js.map +1 -1
- package/dist/index.es473.js +23 -2
- package/dist/index.es473.js.map +1 -1
- package/dist/index.es474.js +23 -4
- package/dist/index.es474.js.map +1 -1
- package/dist/index.es475.js +13 -5
- package/dist/index.es475.js.map +1 -1
- package/dist/index.es476.js +27 -3
- package/dist/index.es476.js.map +1 -1
- package/dist/index.es477.js +5 -83
- package/dist/index.es477.js.map +1 -1
- package/dist/index.es48.js.map +1 -1
- package/dist/index.es49.js +14 -14
- package/dist/index.es49.js.map +1 -1
- package/dist/index.es50.js.map +1 -1
- package/dist/index.es51.js +13 -12
- package/dist/index.es51.js.map +1 -1
- package/dist/index.es52.js.map +1 -1
- package/dist/index.es53.js.map +1 -1
- package/dist/index.es54.js.map +1 -1
- package/dist/index.es55.js.map +1 -1
- package/dist/index.es57.js.map +1 -1
- package/dist/index.es58.js.map +1 -1
- package/dist/index.es59.js.map +1 -1
- package/dist/index.es6.js.map +1 -1
- package/dist/index.es61.js.map +1 -1
- package/dist/index.es62.js +1 -1
- package/dist/index.es62.js.map +1 -1
- package/dist/index.es63.js.map +1 -1
- package/dist/index.es64.js.map +1 -1
- package/dist/index.es65.js.map +1 -1
- package/dist/index.es69.js.map +1 -1
- package/dist/index.es7.js.map +1 -1
- package/dist/index.es70.js.map +1 -1
- package/dist/index.es71.js.map +1 -1
- package/dist/index.es73.js.map +1 -1
- package/dist/index.es74.js.map +1 -1
- package/dist/index.es75.js.map +1 -1
- package/dist/index.es76.js.map +1 -1
- package/dist/index.es77.js.map +1 -1
- package/dist/index.es78.js.map +1 -1
- package/dist/index.es79.js.map +1 -1
- package/dist/index.es8.js.map +1 -1
- package/dist/index.es80.js.map +1 -1
- package/dist/index.es81.js.map +1 -1
- package/dist/index.es82.js.map +1 -1
- package/dist/index.es83.js.map +1 -1
- package/dist/index.es84.js.map +1 -1
- package/dist/index.es85.js.map +1 -1
- package/dist/index.es86.js.map +1 -1
- package/dist/index.es87.js.map +1 -1
- package/dist/index.es88.js.map +1 -1
- package/dist/index.es89.js.map +1 -1
- package/dist/index.es90.js.map +1 -1
- package/dist/index.es92.js.map +1 -1
- package/dist/index.es93.js.map +1 -1
- package/dist/index.es94.js.map +1 -1
- package/dist/index.es96.js.map +1 -1
- package/dist/index.es97.js.map +1 -1
- package/dist/index.es98.js.map +1 -1
- package/dist/index.es99.js.map +1 -1
- package/package.json +112 -112
- package/readme.md +42 -42
- package/dist/index.cjs379.js.map +0 -1
- package/dist/index.cjs381.js +0 -2
- package/dist/index.cjs381.js.map +0 -1
- package/dist/index.cjs393.js +0 -2
- package/dist/index.cjs393.js.map +0 -1
- package/dist/index.cjs394.js +0 -2
- package/dist/index.cjs394.js.map +0 -1
- package/dist/index.cjs402.js.map +0 -1
- package/dist/index.cjs403.js +0 -2
- package/dist/index.cjs403.js.map +0 -1
- package/dist/index.cjs404.js +0 -2
- package/dist/index.cjs404.js.map +0 -1
- package/dist/index.cjs405.js +0 -2
- package/dist/index.cjs405.js.map +0 -1
- package/dist/index.cjs406.js +0 -2
- package/dist/index.cjs406.js.map +0 -1
- package/dist/index.cjs407.js +0 -2
- package/dist/index.cjs407.js.map +0 -1
- package/dist/index.cjs410.js +0 -2
- package/dist/index.cjs410.js.map +0 -1
- package/dist/index.cjs412.js +0 -2
- package/dist/index.cjs412.js.map +0 -1
- package/dist/index.cjs413.js +0 -2
- package/dist/index.cjs413.js.map +0 -1
- package/dist/index.cjs414.js +0 -2
- package/dist/index.cjs414.js.map +0 -1
- package/dist/index.cjs415.js +0 -2
- package/dist/index.cjs415.js.map +0 -1
- package/dist/index.es379.js.map +0 -1
- package/dist/index.es381.js +0 -18
- package/dist/index.es381.js.map +0 -1
- package/dist/index.es393.js +0 -625
- package/dist/index.es393.js.map +0 -1
- package/dist/index.es394.js +0 -14
- package/dist/index.es394.js.map +0 -1
- package/dist/index.es402.js.map +0 -1
- package/dist/index.es403.js +0 -17
- package/dist/index.es403.js.map +0 -1
- package/dist/index.es404.js +0 -72
- package/dist/index.es404.js.map +0 -1
- package/dist/index.es405.js +0 -184
- package/dist/index.es405.js.map +0 -1
- package/dist/index.es406.js +0 -14
- package/dist/index.es406.js.map +0 -1
- package/dist/index.es407.js +0 -53
- package/dist/index.es407.js.map +0 -1
- package/dist/index.es410.js +0 -28
- package/dist/index.es410.js.map +0 -1
- package/dist/index.es412.js +0 -208
- package/dist/index.es412.js.map +0 -1
- package/dist/index.es413.js +0 -25
- package/dist/index.es413.js.map +0 -1
- package/dist/index.es414.js +0 -400
- package/dist/index.es414.js.map +0 -1
- package/dist/index.es415.js +0 -18
- package/dist/index.es415.js.map +0 -1
- /package/dist/components/ui/{ConsentModal/ConsentModalFooter/ConsentModalFooter.css → DoctorModal/DoctorModalFooter/DoctorModalFooter.css} +0 -0
package/dist/index.cjs401.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react"),g=require("./index.cjs383.js"),u=require("./index.cjs209.js");function S(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const l=S(y);function b(e){const t=x(e),n=l.forwardRef((r,o)=>{const{children:i,...c}=r,s=l.Children.toArray(i),f=s.find(E);if(f){const a=f.props.children,m=s.map(p=>p===f?l.Children.count(a)>1?l.Children.only(null):l.isValidElement(a)?a.props.children:null:p);return u.jsxRuntimeExports.jsx(t,{...c,ref:o,children:l.isValidElement(a)?l.cloneElement(a,void 0,m):null})}return u.jsxRuntimeExports.jsx(t,{...c,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function x(e){const t=l.forwardRef((n,r)=>{const{children:o,...i}=n;if(l.isValidElement(o)){const c=O(o),s=R(i,o.props);return o.type!==l.Fragment&&(s.ref=r?g.composeRefs(r,c):c),l.cloneElement(o,s)}return l.Children.count(o)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var d=Symbol("radix.slottable");function j(e){const t=({children:n})=>u.jsxRuntimeExports.jsx(u.jsxRuntimeExports.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=d,t}function E(e){return l.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===d}function R(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{i(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function O(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}exports.createSlot=b;exports.createSlottable=j;
|
2
2
|
//# sourceMappingURL=index.cjs401.js.map
|
package/dist/index.cjs401.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs401.js","sources":["../node_modules/@radix-ui/react-focus-scope/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/focus-scope.tsx\nimport * as React from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { jsx } from \"react/jsx-runtime\";\nvar AUTOFOCUS_ON_MOUNT = \"focusScope.autoFocusOnMount\";\nvar AUTOFOCUS_ON_UNMOUNT = \"focusScope.autoFocusOnUnmount\";\nvar EVENT_OPTIONS = { bubbles: false, cancelable: true };\nvar FOCUS_SCOPE_NAME = \"FocusScope\";\nvar FocusScope = React.forwardRef((props, forwardedRef) => {\n const {\n loop = false,\n trapped = false,\n onMountAutoFocus: onMountAutoFocusProp,\n onUnmountAutoFocus: onUnmountAutoFocusProp,\n ...scopeProps\n } = props;\n const [container, setContainer] = React.useState(null);\n const onMountAutoFocus = useCallbackRef(onMountAutoFocusProp);\n const onUnmountAutoFocus = useCallbackRef(onUnmountAutoFocusProp);\n const lastFocusedElementRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setContainer(node));\n const focusScope = React.useRef({\n paused: false,\n pause() {\n this.paused = true;\n },\n resume() {\n this.paused = false;\n }\n }).current;\n React.useEffect(() => {\n if (trapped) {\n let handleFocusIn2 = function(event) {\n if (focusScope.paused || !container) return;\n const target = event.target;\n if (container.contains(target)) {\n lastFocusedElementRef.current = target;\n } else {\n focus(lastFocusedElementRef.current, { select: true });\n }\n }, handleFocusOut2 = function(event) {\n if (focusScope.paused || !container) return;\n const relatedTarget = event.relatedTarget;\n if (relatedTarget === null) return;\n if (!container.contains(relatedTarget)) {\n focus(lastFocusedElementRef.current, { select: true });\n }\n }, handleMutations2 = function(mutations) {\n const focusedElement = document.activeElement;\n if (focusedElement !== document.body) return;\n for (const mutation of mutations) {\n if (mutation.removedNodes.length > 0) focus(container);\n }\n };\n var handleFocusIn = handleFocusIn2, handleFocusOut = handleFocusOut2, handleMutations = handleMutations2;\n document.addEventListener(\"focusin\", handleFocusIn2);\n document.addEventListener(\"focusout\", handleFocusOut2);\n const mutationObserver = new MutationObserver(handleMutations2);\n if (container) mutationObserver.observe(container, { childList: true, subtree: true });\n return () => {\n document.removeEventListener(\"focusin\", handleFocusIn2);\n document.removeEventListener(\"focusout\", handleFocusOut2);\n mutationObserver.disconnect();\n };\n }\n }, [trapped, container, focusScope.paused]);\n React.useEffect(() => {\n if (container) {\n focusScopesStack.add(focusScope);\n const previouslyFocusedElement = document.activeElement;\n const hasFocusedCandidate = container.contains(previouslyFocusedElement);\n if (!hasFocusedCandidate) {\n const mountEvent = new CustomEvent(AUTOFOCUS_ON_MOUNT, EVENT_OPTIONS);\n container.addEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);\n container.dispatchEvent(mountEvent);\n if (!mountEvent.defaultPrevented) {\n focusFirst(removeLinks(getTabbableCandidates(container)), { select: true });\n if (document.activeElement === previouslyFocusedElement) {\n focus(container);\n }\n }\n }\n return () => {\n container.removeEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);\n setTimeout(() => {\n const unmountEvent = new CustomEvent(AUTOFOCUS_ON_UNMOUNT, EVENT_OPTIONS);\n container.addEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);\n container.dispatchEvent(unmountEvent);\n if (!unmountEvent.defaultPrevented) {\n focus(previouslyFocusedElement ?? document.body, { select: true });\n }\n container.removeEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);\n focusScopesStack.remove(focusScope);\n }, 0);\n };\n }\n }, [container, onMountAutoFocus, onUnmountAutoFocus, focusScope]);\n const handleKeyDown = React.useCallback(\n (event) => {\n if (!loop && !trapped) return;\n if (focusScope.paused) return;\n const isTabKey = event.key === \"Tab\" && !event.altKey && !event.ctrlKey && !event.metaKey;\n const focusedElement = document.activeElement;\n if (isTabKey && focusedElement) {\n const container2 = event.currentTarget;\n const [first, last] = getTabbableEdges(container2);\n const hasTabbableElementsInside = first && last;\n if (!hasTabbableElementsInside) {\n if (focusedElement === container2) event.preventDefault();\n } else {\n if (!event.shiftKey && focusedElement === last) {\n event.preventDefault();\n if (loop) focus(first, { select: true });\n } else if (event.shiftKey && focusedElement === first) {\n event.preventDefault();\n if (loop) focus(last, { select: true });\n }\n }\n }\n },\n [loop, trapped, focusScope.paused]\n );\n return /* @__PURE__ */ jsx(Primitive.div, { tabIndex: -1, ...scopeProps, ref: composedRefs, onKeyDown: handleKeyDown });\n});\nFocusScope.displayName = FOCUS_SCOPE_NAME;\nfunction focusFirst(candidates, { select = false } = {}) {\n const previouslyFocusedElement = document.activeElement;\n for (const candidate of candidates) {\n focus(candidate, { select });\n if (document.activeElement !== previouslyFocusedElement) return;\n }\n}\nfunction getTabbableEdges(container) {\n const candidates = getTabbableCandidates(container);\n const first = findVisible(candidates, container);\n const last = findVisible(candidates.reverse(), container);\n return [first, last];\n}\nfunction getTabbableCandidates(container) {\n const nodes = [];\n const walker = document.createTreeWalker(container, NodeFilter.SHOW_ELEMENT, {\n acceptNode: (node) => {\n const isHiddenInput = node.tagName === \"INPUT\" && node.type === \"hidden\";\n if (node.disabled || node.hidden || isHiddenInput) return NodeFilter.FILTER_SKIP;\n return node.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;\n }\n });\n while (walker.nextNode()) nodes.push(walker.currentNode);\n return nodes;\n}\nfunction findVisible(elements, container) {\n for (const element of elements) {\n if (!isHidden(element, { upTo: container })) return element;\n }\n}\nfunction isHidden(node, { upTo }) {\n if (getComputedStyle(node).visibility === \"hidden\") return true;\n while (node) {\n if (upTo !== void 0 && node === upTo) return false;\n if (getComputedStyle(node).display === \"none\") return true;\n node = node.parentElement;\n }\n return false;\n}\nfunction isSelectableInput(element) {\n return element instanceof HTMLInputElement && \"select\" in element;\n}\nfunction focus(element, { select = false } = {}) {\n if (element && element.focus) {\n const previouslyFocusedElement = document.activeElement;\n element.focus({ preventScroll: true });\n if (element !== previouslyFocusedElement && isSelectableInput(element) && select)\n element.select();\n }\n}\nvar focusScopesStack = createFocusScopesStack();\nfunction createFocusScopesStack() {\n let stack = [];\n return {\n add(focusScope) {\n const activeFocusScope = stack[0];\n if (focusScope !== activeFocusScope) {\n activeFocusScope?.pause();\n }\n stack = arrayRemove(stack, focusScope);\n stack.unshift(focusScope);\n },\n remove(focusScope) {\n stack = arrayRemove(stack, focusScope);\n stack[0]?.resume();\n }\n };\n}\nfunction arrayRemove(array, item) {\n const updatedArray = [...array];\n const index = updatedArray.indexOf(item);\n if (index !== -1) {\n updatedArray.splice(index, 1);\n }\n return updatedArray;\n}\nfunction removeLinks(items) {\n return items.filter((item) => item.tagName !== \"A\");\n}\nvar Root = FocusScope;\nexport {\n FocusScope,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["AUTOFOCUS_ON_MOUNT","AUTOFOCUS_ON_UNMOUNT","EVENT_OPTIONS","FOCUS_SCOPE_NAME","FocusScope","React","props","forwardedRef","loop","trapped","onMountAutoFocusProp","onUnmountAutoFocusProp","scopeProps","container","setContainer","onMountAutoFocus","useCallbackRef","onUnmountAutoFocus","lastFocusedElementRef","composedRefs","useComposedRefs","node","focusScope","handleFocusIn2","event","target","focus","handleFocusOut2","relatedTarget","handleMutations2","mutations","mutation","mutationObserver","focusScopesStack","previouslyFocusedElement","mountEvent","focusFirst","removeLinks","getTabbableCandidates","unmountEvent","handleKeyDown","isTabKey","focusedElement","container2","first","last","getTabbableEdges","jsx","Primitive","candidates","select","candidate","findVisible","nodes","walker","isHiddenInput","elements","element","isHidden","upTo","isSelectableInput","createFocusScopesStack","stack","activeFocusScope","arrayRemove","_a","array","item","updatedArray","index","items"],"mappings":"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","x_google_ignoreList":[0]}
|
1
|
+
{"version":3,"file":"index.cjs401.js","sources":["../node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/slot/src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n childPropValue(...args);\n slotPropValue(...args);\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","childrenRef","getElementRef","props2","mergeProps","composeRefs","SLOTTABLE_IDENTIFIER","createSlottable","Slottable2","Fragment2","childProps","overrideProps","propName","slotPropValue","childPropValue","args","element","getter","_a","mayWarn","_b"],"mappings":"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","x_google_ignoreList":[0]}
|
package/dist/index.cjs408.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react");require("./index.cjs430.js");function i(){const[t,e]=o.useState(null),a=o.useCallback(async r=>{if(!(navigator!=null&&navigator.clipboard))return console.warn("Clipboard not supported"),!1;try{return await navigator.clipboard.writeText(r),e(r),!0}catch(n){return console.warn("Copy failed",n),e(null),!1}},[]);return[t,a]}exports.useCopyToClipboard=i;
|
2
2
|
//# sourceMappingURL=index.cjs408.js.map
|
package/dist/index.cjs408.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs408.js","sources":["../node_modules/react-remove-scroll/dist/es2015/Combination.js"],"sourcesContent":["import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScroll } from './UI';\nimport SideCar from './sidecar';\nvar ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });\nReactRemoveScroll.classNames = RemoveScroll.classNames;\nexport default ReactRemoveScroll;\n"],"names":["ReactRemoveScroll","React","props","ref","RemoveScroll","__assign","SideCar"],"mappings":"6ZAIG,IAACA,EAAoBC,EAAM,WAAW,SAAUC,EAAOC,EAAK,CAAE,OAAQF,EAAM,cAAcG,EAAAA,aAAcC,EAAAA,SAAS,CAAE,EAAEH,EAAO,CAAE,IAAKC,EAAK,QAASG,EAAS,CAAC,CAAK,CAAA,EACnKN,EAAkB,WAAaI,EAAAA,aAAa","x_google_ignoreList":[0]}
|
1
|
+
{"version":3,"file":"index.cjs408.js","sources":["../node_modules/usehooks-ts/dist/index.js"],"sourcesContent":["import { useState, useCallback, useLayoutEffect, useEffect, useRef, useMemo } from 'react';\nimport debounce from 'lodash.debounce';\n\n// src/useBoolean/useBoolean.ts\nfunction useBoolean(defaultValue = false) {\n if (typeof defaultValue !== \"boolean\") {\n throw new Error(\"defaultValue must be `true` or `false`\");\n }\n const [value, setValue] = useState(defaultValue);\n const setTrue = useCallback(() => {\n setValue(true);\n }, []);\n const setFalse = useCallback(() => {\n setValue(false);\n }, []);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return { value, setValue, setTrue, setFalse, toggle };\n}\nvar useIsomorphicLayoutEffect = typeof window !== \"undefined\" ? useLayoutEffect : useEffect;\n\n// src/useEventListener/useEventListener.ts\nfunction useEventListener(eventName, handler, element, options) {\n const savedHandler = useRef(handler);\n useIsomorphicLayoutEffect(() => {\n savedHandler.current = handler;\n }, [handler]);\n useEffect(() => {\n const targetElement = (element == null ? void 0 : element.current) ?? window;\n if (!(targetElement && targetElement.addEventListener))\n return;\n const listener = (event) => {\n savedHandler.current(event);\n };\n targetElement.addEventListener(eventName, listener, options);\n return () => {\n targetElement.removeEventListener(eventName, listener, options);\n };\n }, [eventName, element, options]);\n}\n\n// src/useClickAnyWhere/useClickAnyWhere.ts\nfunction useClickAnyWhere(handler) {\n useEventListener(\"click\", (event) => {\n handler(event);\n });\n}\nfunction useCopyToClipboard() {\n const [copiedText, setCopiedText] = useState(null);\n const copy = useCallback(async (text) => {\n if (!(navigator == null ? void 0 : navigator.clipboard)) {\n console.warn(\"Clipboard not supported\");\n return false;\n }\n try {\n await navigator.clipboard.writeText(text);\n setCopiedText(text);\n return true;\n } catch (error) {\n console.warn(\"Copy failed\", error);\n setCopiedText(null);\n return false;\n }\n }, []);\n return [copiedText, copy];\n}\nfunction useCounter(initialValue) {\n const [count, setCount] = useState(initialValue ?? 0);\n const increment = useCallback(() => {\n setCount((x) => x + 1);\n }, []);\n const decrement = useCallback(() => {\n setCount((x) => x - 1);\n }, []);\n const reset = useCallback(() => {\n setCount(initialValue ?? 0);\n }, [initialValue]);\n return {\n count,\n increment,\n decrement,\n reset,\n setCount\n };\n}\nfunction useInterval(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (delay === null) {\n return;\n }\n const id = setInterval(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearInterval(id);\n };\n }, [delay]);\n}\n\n// src/useCountdown/useCountdown.ts\nfunction useCountdown({\n countStart,\n countStop = 0,\n intervalMs = 1e3,\n isIncrement = false\n}) {\n const {\n count,\n increment,\n decrement,\n reset: resetCounter\n } = useCounter(countStart);\n const {\n value: isCountdownRunning,\n setTrue: startCountdown,\n setFalse: stopCountdown\n } = useBoolean(false);\n const resetCountdown = useCallback(() => {\n stopCountdown();\n resetCounter();\n }, [stopCountdown, resetCounter]);\n const countdownCallback = useCallback(() => {\n if (count === countStop) {\n stopCountdown();\n return;\n }\n if (isIncrement) {\n increment();\n } else {\n decrement();\n }\n }, [count, countStop, decrement, increment, isIncrement, stopCountdown]);\n useInterval(countdownCallback, isCountdownRunning ? intervalMs : null);\n return [count, { startCountdown, stopCountdown, resetCountdown }];\n}\nfunction useEventCallback(fn) {\n const ref = useRef(() => {\n throw new Error(\"Cannot call an event handler while rendering.\");\n });\n useIsomorphicLayoutEffect(() => {\n ref.current = fn;\n }, [fn]);\n return useCallback((...args) => {\n var _a;\n return (_a = ref.current) == null ? void 0 : _a.call(ref, ...args);\n }, [ref]);\n}\n\n// src/useLocalStorage/useLocalStorage.ts\nvar IS_SERVER = typeof window === \"undefined\";\nfunction useLocalStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER) {\n return initialValueToUse;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER) {\n console.warn(\n `Tried setting localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.localStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting localStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER) {\n console.warn(\n `Tried removing localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.localStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nvar IS_SERVER2 = typeof window === \"undefined\";\nfunction useMediaQuery(query, {\n defaultValue = false,\n initializeWithValue = true\n} = {}) {\n const getMatches = (query2) => {\n if (IS_SERVER2) {\n return defaultValue;\n }\n return window.matchMedia(query2).matches;\n };\n const [matches, setMatches] = useState(() => {\n if (initializeWithValue) {\n return getMatches(query);\n }\n return defaultValue;\n });\n function handleChange() {\n setMatches(getMatches(query));\n }\n useIsomorphicLayoutEffect(() => {\n const matchMedia = window.matchMedia(query);\n handleChange();\n if (matchMedia.addListener) {\n matchMedia.addListener(handleChange);\n } else {\n matchMedia.addEventListener(\"change\", handleChange);\n }\n return () => {\n if (matchMedia.removeListener) {\n matchMedia.removeListener(handleChange);\n } else {\n matchMedia.removeEventListener(\"change\", handleChange);\n }\n };\n }, [query]);\n return matches;\n}\n\n// src/useDarkMode/useDarkMode.ts\nvar COLOR_SCHEME_QUERY = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY = \"usehooks-ts-dark-mode\";\nfunction useDarkMode(options = {}) {\n const {\n defaultValue,\n localStorageKey = LOCAL_STORAGE_KEY,\n initializeWithValue = true\n } = options;\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY, {\n initializeWithValue,\n defaultValue\n });\n const [isDarkMode, setDarkMode] = useLocalStorage(\n localStorageKey,\n defaultValue ?? isDarkOS ?? false,\n { initializeWithValue }\n );\n useIsomorphicLayoutEffect(() => {\n if (isDarkOS !== isDarkMode) {\n setDarkMode(isDarkOS);\n }\n }, [isDarkOS]);\n return {\n isDarkMode,\n toggle: () => {\n setDarkMode((prev) => !prev);\n },\n enable: () => {\n setDarkMode(true);\n },\n disable: () => {\n setDarkMode(false);\n },\n set: (value) => {\n setDarkMode(value);\n }\n };\n}\nfunction useUnmount(func) {\n const funcRef = useRef(func);\n funcRef.current = func;\n useEffect(\n () => () => {\n funcRef.current();\n },\n []\n );\n}\n\n// src/useDebounceCallback/useDebounceCallback.ts\nfunction useDebounceCallback(func, delay = 500, options) {\n const debouncedFunc = useRef();\n useUnmount(() => {\n if (debouncedFunc.current) {\n debouncedFunc.current.cancel();\n }\n });\n const debounced = useMemo(() => {\n const debouncedFuncInstance = debounce(func, delay, options);\n const wrappedFunc = (...args) => {\n return debouncedFuncInstance(...args);\n };\n wrappedFunc.cancel = () => {\n debouncedFuncInstance.cancel();\n };\n wrappedFunc.isPending = () => {\n return !!debouncedFunc.current;\n };\n wrappedFunc.flush = () => {\n return debouncedFuncInstance.flush();\n };\n return wrappedFunc;\n }, [func, delay, options]);\n useEffect(() => {\n debouncedFunc.current = debounce(func, delay, options);\n }, [func, delay, options]);\n return debounced;\n}\nfunction useDebounceValue(initialValue, delay, options) {\n const eq = (options == null ? void 0 : options.equalityFn) ?? ((left, right) => left === right);\n const unwrappedInitialValue = initialValue instanceof Function ? initialValue() : initialValue;\n const [debouncedValue, setDebouncedValue] = useState(unwrappedInitialValue);\n const previousValueRef = useRef(unwrappedInitialValue);\n const updateDebouncedValue = useDebounceCallback(\n setDebouncedValue,\n delay,\n options\n );\n if (!eq(previousValueRef.current, unwrappedInitialValue)) {\n updateDebouncedValue(unwrappedInitialValue);\n previousValueRef.current = unwrappedInitialValue;\n }\n return [debouncedValue, updateDebouncedValue];\n}\nfunction useDocumentTitle(title, options = {}) {\n const { preserveTitleOnUnmount = true } = options;\n const defaultTitle = useRef(null);\n useIsomorphicLayoutEffect(() => {\n defaultTitle.current = window.document.title;\n }, []);\n useIsomorphicLayoutEffect(() => {\n window.document.title = title;\n }, [title]);\n useUnmount(() => {\n if (!preserveTitleOnUnmount && defaultTitle.current) {\n window.document.title = defaultTitle.current;\n }\n });\n}\nfunction useHover(elementRef) {\n const [value, setValue] = useState(false);\n const handleMouseEnter = () => {\n setValue(true);\n };\n const handleMouseLeave = () => {\n setValue(false);\n };\n useEventListener(\"mouseenter\", handleMouseEnter, elementRef);\n useEventListener(\"mouseleave\", handleMouseLeave, elementRef);\n return value;\n}\nfunction useIntersectionObserver({\n threshold = 0,\n root = null,\n rootMargin = \"0%\",\n freezeOnceVisible = false,\n initialIsIntersecting = false,\n onChange\n} = {}) {\n var _a;\n const [ref, setRef] = useState(null);\n const [state, setState] = useState(() => ({\n isIntersecting: initialIsIntersecting,\n entry: void 0\n }));\n const callbackRef = useRef();\n callbackRef.current = onChange;\n const frozen = ((_a = state.entry) == null ? void 0 : _a.isIntersecting) && freezeOnceVisible;\n useEffect(() => {\n if (!ref)\n return;\n if (!(\"IntersectionObserver\" in window))\n return;\n if (frozen)\n return;\n let unobserve;\n const observer = new IntersectionObserver(\n (entries) => {\n const thresholds = Array.isArray(observer.thresholds) ? observer.thresholds : [observer.thresholds];\n entries.forEach((entry) => {\n const isIntersecting = entry.isIntersecting && thresholds.some((threshold2) => entry.intersectionRatio >= threshold2);\n setState({ isIntersecting, entry });\n if (callbackRef.current) {\n callbackRef.current(isIntersecting, entry);\n }\n if (isIntersecting && freezeOnceVisible && unobserve) {\n unobserve();\n unobserve = void 0;\n }\n });\n },\n { threshold, root, rootMargin }\n );\n observer.observe(ref);\n return () => {\n observer.disconnect();\n };\n }, [\n ref,\n // eslint-disable-next-line react-hooks/exhaustive-deps\n JSON.stringify(threshold),\n root,\n rootMargin,\n frozen,\n freezeOnceVisible\n ]);\n const prevRef = useRef(null);\n useEffect(() => {\n var _a2;\n if (!ref && ((_a2 = state.entry) == null ? void 0 : _a2.target) && !freezeOnceVisible && !frozen && prevRef.current !== state.entry.target) {\n prevRef.current = state.entry.target;\n setState({ isIntersecting: initialIsIntersecting, entry: void 0 });\n }\n }, [ref, state.entry, freezeOnceVisible, frozen, initialIsIntersecting]);\n const result = [\n setRef,\n !!state.isIntersecting,\n state.entry\n ];\n result.ref = result[0];\n result.isIntersecting = result[1];\n result.entry = result[2];\n return result;\n}\nfunction useIsClient() {\n const [isClient, setClient] = useState(false);\n useEffect(() => {\n setClient(true);\n }, []);\n return isClient;\n}\nfunction useIsMounted() {\n const isMounted = useRef(false);\n useEffect(() => {\n isMounted.current = true;\n return () => {\n isMounted.current = false;\n };\n }, []);\n return useCallback(() => isMounted.current, []);\n}\nfunction useMap(initialState = /* @__PURE__ */ new Map()) {\n const [map, setMap] = useState(new Map(initialState));\n const actions = {\n set: useCallback((key, value) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.set(key, value);\n return copy;\n });\n }, []),\n setAll: useCallback((entries) => {\n setMap(() => new Map(entries));\n }, []),\n remove: useCallback((key) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.delete(key);\n return copy;\n });\n }, []),\n reset: useCallback(() => {\n setMap(() => /* @__PURE__ */ new Map());\n }, [])\n };\n return [map, actions];\n}\n\n// src/useOnClickOutside/useOnClickOutside.ts\nfunction useOnClickOutside(ref, handler, eventType = \"mousedown\", eventListenerOptions = {}) {\n useEventListener(\n eventType,\n (event) => {\n const target = event.target;\n if (!target || !target.isConnected) {\n return;\n }\n const isOutside = Array.isArray(ref) ? ref.filter((r) => Boolean(r.current)).every((r) => r.current && !r.current.contains(target)) : ref.current && !ref.current.contains(target);\n if (isOutside) {\n handler(event);\n }\n },\n void 0,\n eventListenerOptions\n );\n}\nvar IS_SERVER3 = typeof window === \"undefined\";\nfunction useReadLocalStorage(key, options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER3) {\n initializeWithValue = false;\n }\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return null;\n }\n return parsed;\n },\n [options]\n );\n const readValue = useCallback(() => {\n if (IS_SERVER3) {\n return null;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : null;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return null;\n }\n }, [key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return void 0;\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return storedValue;\n}\nvar initialSize = {\n width: void 0,\n height: void 0\n};\nfunction useResizeObserver(options) {\n const { ref, box = \"content-box\" } = options;\n const [{ width, height }, setSize] = useState(initialSize);\n const isMounted = useIsMounted();\n const previousSize = useRef({ ...initialSize });\n const onResize = useRef(void 0);\n onResize.current = options.onResize;\n useEffect(() => {\n if (!ref.current)\n return;\n if (typeof window === \"undefined\" || !(\"ResizeObserver\" in window))\n return;\n const observer = new ResizeObserver(([entry]) => {\n const boxProp = box === \"border-box\" ? \"borderBoxSize\" : box === \"device-pixel-content-box\" ? \"devicePixelContentBoxSize\" : \"contentBoxSize\";\n const newWidth = extractSize(entry, boxProp, \"inlineSize\");\n const newHeight = extractSize(entry, boxProp, \"blockSize\");\n const hasChanged = previousSize.current.width !== newWidth || previousSize.current.height !== newHeight;\n if (hasChanged) {\n const newSize = { width: newWidth, height: newHeight };\n previousSize.current.width = newWidth;\n previousSize.current.height = newHeight;\n if (onResize.current) {\n onResize.current(newSize);\n } else {\n if (isMounted()) {\n setSize(newSize);\n }\n }\n }\n });\n observer.observe(ref.current, { box });\n return () => {\n observer.disconnect();\n };\n }, [box, ref, isMounted]);\n return { width, height };\n}\nfunction extractSize(entry, box, sizeType) {\n if (!entry[box]) {\n if (box === \"contentBoxSize\") {\n return entry.contentRect[sizeType === \"inlineSize\" ? \"width\" : \"height\"];\n }\n return void 0;\n }\n return Array.isArray(entry[box]) ? entry[box][0][sizeType] : (\n // @ts-ignore Support Firefox's non-standard behavior\n entry[box][sizeType]\n );\n}\nvar IS_SERVER4 = typeof window === \"undefined\";\nfunction useScreen(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER4) {\n initializeWithValue = false;\n }\n const readScreen = () => {\n if (IS_SERVER4) {\n return void 0;\n }\n return window.screen;\n };\n const [screen, setScreen] = useState(() => {\n if (initializeWithValue) {\n return readScreen();\n }\n return void 0;\n });\n const debouncedSetScreen = useDebounceCallback(\n setScreen,\n options.debounceDelay\n );\n function handleSize() {\n const newScreen = readScreen();\n const setSize = options.debounceDelay ? debouncedSetScreen : setScreen;\n if (newScreen) {\n const {\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n } = newScreen;\n setSize({\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n });\n }\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return screen;\n}\nvar cachedScriptStatuses = /* @__PURE__ */ new Map();\nfunction getScriptNode(src) {\n const node = document.querySelector(\n `script[src=\"${src}\"]`\n );\n const status = node == null ? void 0 : node.getAttribute(\"data-status\");\n return {\n node,\n status\n };\n}\nfunction useScript(src, options) {\n const [status, setStatus] = useState(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return \"idle\";\n }\n if (typeof window === \"undefined\") {\n return \"loading\";\n }\n return cachedScriptStatuses.get(src) ?? \"loading\";\n });\n useEffect(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return;\n }\n const cachedScriptStatus = cachedScriptStatuses.get(src);\n if (cachedScriptStatus === \"ready\" || cachedScriptStatus === \"error\") {\n setStatus(cachedScriptStatus);\n return;\n }\n const script = getScriptNode(src);\n let scriptNode = script.node;\n if (!scriptNode) {\n scriptNode = document.createElement(\"script\");\n scriptNode.src = src;\n scriptNode.async = true;\n if (options == null ? void 0 : options.id) {\n scriptNode.id = options.id;\n }\n scriptNode.setAttribute(\"data-status\", \"loading\");\n document.body.appendChild(scriptNode);\n const setAttributeFromEvent = (event) => {\n const scriptStatus = event.type === \"load\" ? \"ready\" : \"error\";\n scriptNode == null ? void 0 : scriptNode.setAttribute(\"data-status\", scriptStatus);\n };\n scriptNode.addEventListener(\"load\", setAttributeFromEvent);\n scriptNode.addEventListener(\"error\", setAttributeFromEvent);\n } else {\n setStatus(script.status ?? cachedScriptStatus ?? \"loading\");\n }\n const setStateFromEvent = (event) => {\n const newStatus = event.type === \"load\" ? \"ready\" : \"error\";\n setStatus(newStatus);\n cachedScriptStatuses.set(src, newStatus);\n };\n scriptNode.addEventListener(\"load\", setStateFromEvent);\n scriptNode.addEventListener(\"error\", setStateFromEvent);\n return () => {\n if (scriptNode) {\n scriptNode.removeEventListener(\"load\", setStateFromEvent);\n scriptNode.removeEventListener(\"error\", setStateFromEvent);\n }\n if (scriptNode && (options == null ? void 0 : options.removeOnUnmount)) {\n scriptNode.remove();\n cachedScriptStatuses.delete(src);\n }\n };\n }, [src, options == null ? void 0 : options.shouldPreventLoad, options == null ? void 0 : options.removeOnUnmount, options == null ? void 0 : options.id]);\n return status;\n}\nvar IS_SERVER5 = typeof window === \"undefined\";\nfunction useScrollLock(options = {}) {\n const { autoLock = true, lockTarget, widthReflow = true } = options;\n const [isLocked, setIsLocked] = useState(false);\n const target = useRef(null);\n const originalStyle = useRef(null);\n const lock = () => {\n if (target.current) {\n const { overflow, paddingRight } = target.current.style;\n originalStyle.current = { overflow, paddingRight };\n if (widthReflow) {\n const offsetWidth = target.current === document.body ? window.innerWidth : target.current.offsetWidth;\n const currentPaddingRight = parseInt(window.getComputedStyle(target.current).paddingRight, 10) || 0;\n const scrollbarWidth = offsetWidth - target.current.scrollWidth;\n target.current.style.paddingRight = `${scrollbarWidth + currentPaddingRight}px`;\n }\n target.current.style.overflow = \"hidden\";\n setIsLocked(true);\n }\n };\n const unlock = () => {\n if (target.current && originalStyle.current) {\n target.current.style.overflow = originalStyle.current.overflow;\n if (widthReflow) {\n target.current.style.paddingRight = originalStyle.current.paddingRight;\n }\n }\n setIsLocked(false);\n };\n useIsomorphicLayoutEffect(() => {\n if (IS_SERVER5)\n return;\n if (lockTarget) {\n target.current = typeof lockTarget === \"string\" ? document.querySelector(lockTarget) : lockTarget;\n }\n if (!target.current) {\n target.current = document.body;\n }\n if (autoLock) {\n lock();\n }\n return () => {\n unlock();\n };\n }, [autoLock, lockTarget, widthReflow]);\n return { isLocked, lock, unlock };\n}\nvar IS_SERVER6 = typeof window === \"undefined\";\nfunction useSessionStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER6) {\n return initialValueToUse;\n }\n try {\n const raw = window.sessionStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading sessionStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER6) {\n console.warn(\n `Tried setting sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.sessionStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting sessionStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER6) {\n console.warn(\n `Tried removing sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.sessionStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"session-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nfunction useStep(maxStep) {\n const [currentStep, setCurrentStep] = useState(1);\n const canGoToNextStep = currentStep + 1 <= maxStep;\n const canGoToPrevStep = currentStep - 1 > 0;\n const setStep = useCallback(\n (step) => {\n const newStep = step instanceof Function ? step(currentStep) : step;\n if (newStep >= 1 && newStep <= maxStep) {\n setCurrentStep(newStep);\n return;\n }\n throw new Error(\"Step not valid\");\n },\n [maxStep, currentStep]\n );\n const goToNextStep = useCallback(() => {\n if (canGoToNextStep) {\n setCurrentStep((step) => step + 1);\n }\n }, [canGoToNextStep]);\n const goToPrevStep = useCallback(() => {\n if (canGoToPrevStep) {\n setCurrentStep((step) => step - 1);\n }\n }, [canGoToPrevStep]);\n const reset = useCallback(() => {\n setCurrentStep(1);\n }, []);\n return [\n currentStep,\n {\n goToNextStep,\n goToPrevStep,\n canGoToNextStep,\n canGoToPrevStep,\n setStep,\n reset\n }\n ];\n}\n\n// src/useTernaryDarkMode/useTernaryDarkMode.ts\nvar COLOR_SCHEME_QUERY2 = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY2 = \"usehooks-ts-ternary-dark-mode\";\nfunction useTernaryDarkMode({\n defaultValue = \"system\",\n localStorageKey = LOCAL_STORAGE_KEY2,\n initializeWithValue = true\n} = {}) {\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY2, { initializeWithValue });\n const [mode, setMode] = useLocalStorage(localStorageKey, defaultValue, {\n initializeWithValue\n });\n const isDarkMode = mode === \"dark\" || mode === \"system\" && isDarkOS;\n const toggleTernaryDarkMode = () => {\n const modes = [\"light\", \"system\", \"dark\"];\n setMode((prevMode) => {\n const nextIndex = (modes.indexOf(prevMode) + 1) % modes.length;\n return modes[nextIndex];\n });\n };\n return {\n isDarkMode,\n ternaryDarkMode: mode,\n setTernaryDarkMode: setMode,\n toggleTernaryDarkMode\n };\n}\nfunction useTimeout(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (!delay && delay !== 0) {\n return;\n }\n const id = setTimeout(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearTimeout(id);\n };\n }, [delay]);\n}\nfunction useToggle(defaultValue) {\n const [value, setValue] = useState(!!defaultValue);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return [value, toggle, setValue];\n}\nvar IS_SERVER7 = typeof window === \"undefined\";\nfunction useWindowSize(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER7) {\n initializeWithValue = false;\n }\n const [windowSize, setWindowSize] = useState(() => {\n if (initializeWithValue) {\n return {\n width: window.innerWidth,\n height: window.innerHeight\n };\n }\n return {\n width: void 0,\n height: void 0\n };\n });\n const debouncedSetWindowSize = useDebounceCallback(\n setWindowSize,\n options.debounceDelay\n );\n function handleSize() {\n const setSize = options.debounceDelay ? debouncedSetWindowSize : setWindowSize;\n setSize({\n width: window.innerWidth,\n height: window.innerHeight\n });\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return windowSize;\n}\n\nexport { useBoolean, useClickAnyWhere, useCopyToClipboard, useCountdown, useCounter, useDarkMode, useDebounceCallback, useDebounceValue, useDocumentTitle, useEventCallback, useEventListener, useHover, useIntersectionObserver, useInterval, useIsClient, useIsMounted, useIsomorphicLayoutEffect, useLocalStorage, useMap, useMediaQuery, useOnClickOutside, useReadLocalStorage, useResizeObserver, useScreen, useScript, useScrollLock, useSessionStorage, useStep, useTernaryDarkMode, useTimeout, useToggle, useUnmount, useWindowSize };\n"],"names":["useCopyToClipboard","copiedText","setCopiedText","useState","copy","useCallback","text","error"],"mappings":"sIAgDA,SAASA,GAAqB,CAC5B,KAAM,CAACC,EAAYC,CAAa,EAAIC,EAAAA,SAAS,IAAI,EAC3CC,EAAOC,cAAY,MAAOC,GAAS,CACvC,GAAI,EAAE,WAAa,MAAgB,UAAU,WAC3C,eAAQ,KAAK,yBAAyB,EAC/B,GAET,GAAI,CACF,aAAM,UAAU,UAAU,UAAUA,CAAI,EACxCJ,EAAcI,CAAI,EACX,EACR,OAAQC,EAAO,CACd,eAAQ,KAAK,cAAeA,CAAK,EACjCL,EAAc,IAAI,EACX,EACb,CACG,EAAE,EAAE,EACL,MAAO,CAACD,EAAYG,CAAI,CAC1B","x_google_ignoreList":[0]}
|
package/dist/index.cjs41.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs41.js","sources":["../src/components/ui/ProgressBar/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\nimport { Close } from \"@/icons\";\nimport \"./ProgressBar.scss\";\nimport { Button } from \"@/components\";\nimport { PropsWithChildren, ReactNode } from \"react\";\nimport clsx from \"clsx\";\n\ntype DoctorModalHeaderProps = PropsWithChildren<{\n closeButton?: string;\n onCloseClick?: () => void;\n children?: ReactNode;\n title?: string;\n stepLabel?: string;\n currentStep?: number;\n totalSteps?: number;\n}>;\n\nexport const ProgressBar = ({\n closeButton = \"Chiudi\",\n onCloseClick,\n title,\n stepLabel = \"di\",\n currentStep = 1,\n totalSteps = 3,\n}: DoctorModalHeaderProps) => {\n return (\n <div className={\"text-slate-28\"}>\n <header className=\"ui-modal-header \">\n <Dialog.Title className=\"base-col justify-content-center align-items-center mb-5 pb-x8\">\n {title && <div className={\"fw-bold fs-7 md-fs-custom\"}>{title}</div>}\n <p className={\"fs-7\"}>\n Step <span className={\"text-primary fw-bold\"}>{currentStep}</span>{\" \"}\n {stepLabel} {totalSteps}\n </p>\n </Dialog.Title>\n\n <Dialog.Close asChild className=\"ui-modal-header-close\">\n <Button\n size=\"4\"\n textColor=\"primary\"\n bg=\"transparent\"\n aria-label=\"Chiudi modale\"\n onClick={onCloseClick}\n >\n {closeButton}\n <Close className=\"ml-x8\" />\n </Button>\n </Dialog.Close>\n </header>\n <div className={\"ui-progress-bar mx-x4\"}>\n {Array.from({ length: totalSteps }, (_, i) => (\n <div\n key={i + 1}\n className={clsx(\n \"ui-bar\",\n i + 1 <= currentStep ? \"bg-primary\" : \"bg-lightblue-a02\",\n )}\n style={{\n width: `${100 / totalSteps}%`,\n }}\n />\n ))}\n </div>\n </div>\n );\n};\n"],"names":["ProgressBar","closeButton","onCloseClick","title","stepLabel","currentStep","totalSteps","jsxs","Dialog.Title","jsx","Dialog.Close","Button","Close","_","i","clsx"],"mappings":"mRAiBaA,EAAc,CAAC,CAC1B,YAAAC,EAAc,SACd,aAAAC,EACA,MAAAC,EACA,UAAAC,EAAY,KACZ,YAAAC,EAAc,EACd,WAAAC,EAAa,CACf,IAEIC,EAAA,kBAAA,KAAC,MAAI,CAAA,UAAW,gBACd,SAAA,CAACA,EAAAA,kBAAAA,KAAA,SAAA,CAAO,UAAU,mBAChB,SAAA,CAAAA,EAAAA,kBAAAA,KAACC,EAAAA,MAAA,CAAa,UAAU,gEACrB,SAAA,CAAAL,GAAUM,EAAA,kBAAA,IAAA,MAAA,CAAI,UAAW,4BAA8B,SAAMN,EAAA,EAC9DI,EAAAA,kBAAAA,KAAC,IAAE,CAAA,UAAW,OAAQ,SAAA,CAAA,QACdE,EAAA,kBAAA,IAAA,OAAA,CAAK,UAAW,uBAAyB,SAAYJ,EAAA,EAAQ,IAClED,EAAU,IAAEE,CAAA,CACf,CAAA,CAAA,EACF,0BAECI,EAAO,MAAP,CAAa,QAAO,GAAC,UAAU,wBAC9B,SAAAH,EAAA,kBAAA,KAACI,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,gBACX,QAAST,EAER,SAAA,CAAAD,EACDQ,EAAAA,kBAAAA,IAACG,EAAM,MAAA,CAAA,UAAU,OAAQ,CAAA,CAAA,CAAA,CAAA,CAE7B,CAAA,CAAA,EACF,EACCH,EAAAA,kBAAAA,IAAA,MAAA,CAAI,UAAW,wBACb,SAAM,MAAA,KAAK,CAAE,OAAQH,CAAW,EAAG,CAACO,EAAGC,IACtCL,EAAA,kBAAA,IAAC,MAAA,CAEC,UAAWM,EAAA,KACT,SACAD,EAAI,GAAKT,EAAc,aAAe,kBACxC,EACA,MAAO,CACL,MAAO,GAAG,IAAMC,CAAU,GAAA,CAC5B,EAPKQ,EAAI,CAAA,CASZ,CACH,CAAA,CAAA,EACF"}
|
1
|
+
{"version":3,"file":"index.cjs41.js","sources":["../src/components/ui/ProgressBar/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\r\nimport { Close } from \"@/icons\";\r\nimport \"./ProgressBar.scss\";\r\nimport { Button } from \"@/components\";\r\nimport { PropsWithChildren, ReactNode } from \"react\";\r\nimport clsx from \"clsx\";\r\n\r\ntype DoctorModalHeaderProps = PropsWithChildren<{\r\n closeButton?: string;\r\n onCloseClick?: () => void;\r\n children?: ReactNode;\r\n title?: string;\r\n stepLabel?: string;\r\n currentStep?: number;\r\n totalSteps?: number;\r\n}>;\r\n\r\nexport const ProgressBar = ({\r\n closeButton = \"Chiudi\",\r\n onCloseClick,\r\n title,\r\n stepLabel = \"di\",\r\n currentStep = 1,\r\n totalSteps = 3,\r\n}: DoctorModalHeaderProps) => {\r\n return (\r\n <div className={\"text-slate-28\"}>\r\n <header className=\"ui-modal-header \">\r\n <Dialog.Title className=\"base-col justify-content-center align-items-center mb-5 pb-x8\">\r\n {title && <div className={\"fw-bold fs-7 md-fs-custom\"}>{title}</div>}\r\n <p className={\"fs-7\"}>\r\n Step <span className={\"text-primary fw-bold\"}>{currentStep}</span>{\" \"}\r\n {stepLabel} {totalSteps}\r\n </p>\r\n </Dialog.Title>\r\n\r\n <Dialog.Close asChild className=\"ui-modal-header-close\">\r\n <Button\r\n size=\"4\"\r\n textColor=\"primary\"\r\n bg=\"transparent\"\r\n aria-label=\"Chiudi modale\"\r\n onClick={onCloseClick}\r\n >\r\n {closeButton}\r\n <Close className=\"ml-x8\" />\r\n </Button>\r\n </Dialog.Close>\r\n </header>\r\n <div className={\"ui-progress-bar mx-x4\"}>\r\n {Array.from({ length: totalSteps }, (_, i) => (\r\n <div\r\n key={i + 1}\r\n className={clsx(\r\n \"ui-bar\",\r\n i + 1 <= currentStep ? \"bg-primary\" : \"bg-lightblue-a02\",\r\n )}\r\n style={{\r\n width: `${100 / totalSteps}%`,\r\n }}\r\n />\r\n ))}\r\n </div>\r\n </div>\r\n );\r\n};\r\n"],"names":["ProgressBar","closeButton","onCloseClick","title","stepLabel","currentStep","totalSteps","jsxs","Dialog.Title","jsx","Dialog.Close","Button","Close","_","i","clsx"],"mappings":"mRAiBaA,EAAc,CAAC,CAC1B,YAAAC,EAAc,SACd,aAAAC,EACA,MAAAC,EACA,UAAAC,EAAY,KACZ,YAAAC,EAAc,EACd,WAAAC,EAAa,CACf,IAEIC,EAAA,kBAAA,KAAC,MAAI,CAAA,UAAW,gBACd,SAAA,CAACA,EAAAA,kBAAAA,KAAA,SAAA,CAAO,UAAU,mBAChB,SAAA,CAAAA,EAAAA,kBAAAA,KAACC,EAAAA,MAAA,CAAa,UAAU,gEACrB,SAAA,CAAAL,GAAUM,EAAA,kBAAA,IAAA,MAAA,CAAI,UAAW,4BAA8B,SAAMN,EAAA,EAC9DI,EAAAA,kBAAAA,KAAC,IAAE,CAAA,UAAW,OAAQ,SAAA,CAAA,QACdE,EAAA,kBAAA,IAAA,OAAA,CAAK,UAAW,uBAAyB,SAAYJ,EAAA,EAAQ,IAClED,EAAU,IAAEE,CAAA,CACf,CAAA,CAAA,EACF,0BAECI,EAAO,MAAP,CAAa,QAAO,GAAC,UAAU,wBAC9B,SAAAH,EAAA,kBAAA,KAACI,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,gBACX,QAAST,EAER,SAAA,CAAAD,EACDQ,EAAAA,kBAAAA,IAACG,EAAM,MAAA,CAAA,UAAU,OAAQ,CAAA,CAAA,CAAA,CAAA,CAE7B,CAAA,CAAA,EACF,EACCH,EAAAA,kBAAAA,IAAA,MAAA,CAAI,UAAW,wBACb,SAAM,MAAA,KAAK,CAAE,OAAQH,CAAW,EAAG,CAACO,EAAGC,IACtCL,EAAA,kBAAA,IAAC,MAAA,CAEC,UAAWM,EAAA,KACT,SACAD,EAAI,GAAKT,EAAc,aAAe,kBACxC,EACA,MAAO,CACL,MAAO,GAAG,IAAMC,CAAU,GAAA,CAC5B,EAPKQ,EAAI,CAAA,CASZ,CACH,CAAA,CAAA,EACF"}
|
@@ -1,2 +1,2 @@
|
|
1
1
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
|
2
|
-
//# sourceMappingURL=index.
|
2
|
+
//# sourceMappingURL=index.cjs418.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.cjs418.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.cjs419.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.cjs42.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardSelectDoctor/CardSelectDoctor.css');const e=require("./index.cjs209.js");;/* empty css */const x=require("react"),a=require("./index.cjs251.js"),
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardSelectDoctor/CardSelectDoctor.css');const e=require("./index.cjs209.js");;/* empty css */const x=require("react"),a=require("./index.cjs251.js"),R=require("./index.cjs252.js"),w=require("./index.cjs10.js"),g=({id:r,title:l,titleTag:u="h3",description:d,className:h,setSelectedCard:i=()=>{},description2:o,keepSelectionOnNavigation:m=!1,disabled:s=!1})=>{const[t,c]=x.useState(!1),n=x.useRef(null);R.useClickOutside(n,t,()=>c(!1),()=>i(""),m);const j=()=>e.jsxRuntimeExports.jsx("svg",{width:"14",height:"14",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsxRuntimeExports.jsx("path",{d:"M10 3L4.5 8.5L2 6",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),p=`${h} ${t?"ui-is-active":"ui-card-search"} shadow br-x4 px-x24 py-x16 base-row bg-white gap-x16 ${s?"ui-card-disabled":"cursor-pointer"}`,f=()=>{s||(c(!0),i(r))};return e.jsxRuntimeExports.jsxs("div",{ref:n,className:p,onClick:f,"aria-disabled":s,children:[e.jsxRuntimeExports.jsx(a.Root,{id:r,checked:t,disabled:s,className:"ui-checkbox-filter",children:e.jsxRuntimeExports.jsx(a.Indicator,{children:e.jsxRuntimeExports.jsx(j,{})})}),e.jsxRuntimeExports.jsxs(w.Col,{children:[e.jsxRuntimeExports.jsx(u,{className:"flex-1 pb-x8 fs-5 md-fs-4 text-slate-20 fw-semibold",children:l}),e.jsxRuntimeExports.jsx("p",{className:"fs-7 md-fs-custom fw-regular text-slate-28",children:d}),o&&e.jsxRuntimeExports.jsx("p",{className:"fs-7 md-fs-custom fw-regular text-slate-28 pt-x16",children:o})]})]})};exports.CardSelectDoctor=g;
|
2
2
|
//# sourceMappingURL=index.cjs42.js.map
|
package/dist/index.cjs42.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs42.js","sources":["../src/components/ui/CardSelectDoctor/index.tsx"],"sourcesContent":["import \"./CardSelectDoctor.scss\";\nimport { useRef, useState } from \"react\";\nimport * as CheckboxRadix from \"@radix-ui/react-checkbox\";\nimport { useClickOutside } from \"@/hooks/useClickOutside.ts\";\nimport { Col } from \"../Col\";\ntype HeadingLevel = \"h2\" | \"h3\" | \"h4\";\n\ntype CardSelectDoctorProps = {\n id: string;\n title: string;\n titleTag?: HeadingLevel;\n href?: string;\n description?: string;\n isExternal?: boolean;\n showIcon?: boolean;\n asLink?: \"a\";\n className?: string;\n setSelectedCard?: (id: string) => void;\n description2?: string;\n keepSelectionOnNavigation?: boolean;\n disabled?: boolean;\n};\n\nexport const CardSelectDoctor = ({\n id,\n title,\n titleTag: TitleTag = \"h3\",\n description,\n className,\n setSelectedCard = () => {},\n description2,\n keepSelectionOnNavigation = false,\n disabled = false,\n}: CardSelectDoctorProps) => {\n const [isActive, setIsActive] = useState(false);\n const dropdownRef = useRef<HTMLDivElement>(null);\n useClickOutside(\n dropdownRef,\n isActive,\n () => setIsActive(false),\n () => setSelectedCard(\"\"),\n keepSelectionOnNavigation,\n );\n\n const CheckIcon = () => (\n <svg\n width=\"14\"\n height=\"14\"\n viewBox=\"0 0 12 12\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M10 3L4.5 8.5L2 6\"\n stroke=\"white\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n );\n\n // Generate class names based on active and disabled states\n const cardClasses = `${className} ${\n isActive ? \"ui-is-active\" : \"ui-card-search\"\n } shadow br-x4 px-x24 py-x16 base-row bg-white gap-x16 ${\n disabled ? \"ui-card-disabled\" : \"cursor-pointer\"\n }`;\n\n // Handle click only if not disabled\n const handleClick = () => {\n if (!disabled) {\n setIsActive(true);\n setSelectedCard(id);\n }\n };\n\n return (\n <div\n ref={dropdownRef}\n className={cardClasses}\n onClick={handleClick}\n aria-disabled={disabled}\n >\n <CheckboxRadix.Root\n id={id}\n checked={isActive}\n disabled={disabled}\n // onCheckedChange={onChange}\n className={\"ui-checkbox-filter\"}\n // aria-label={labelText}\n >\n <CheckboxRadix.Indicator>\n <CheckIcon />\n </CheckboxRadix.Indicator>\n </CheckboxRadix.Root>\n <Col>\n <TitleTag className=\"flex-1 pb-x8 fs-5 md-fs-4 text-slate-20 fw-semibold\">\n {title}\n </TitleTag>\n <p className=\"fs-7 md-fs-custom fw-regular text-slate-28\">\n {description}\n </p>\n {description2 && (\n <p className=\"fs-7 md-fs-custom fw-regular text-slate-28 pt-x16\">\n {description2}\n </p>\n )}\n </Col>\n </div>\n );\n};\n"],"names":["CardSelectDoctor","id","title","TitleTag","description","className","setSelectedCard","description2","keepSelectionOnNavigation","disabled","isActive","setIsActive","useState","dropdownRef","useRef","useClickOutside","CheckIcon","jsx","cardClasses","handleClick","jsxs","CheckboxRadix.Root","CheckboxRadix.Indicator","Col"],"mappings":"uQAuBaA,EAAmB,CAAC,CAC/B,GAAAC,EACA,MAAAC,EACA,SAAUC,EAAW,KACrB,YAAAC,EACA,UAAAC,EACA,gBAAAC,EAAkB,IAAM,CAAC,EACzB,aAAAC,EACA,0BAAAC,EAA4B,GAC5B,SAAAC,EAAW,EACb,IAA6B,CAC3B,KAAM,CAACC,EAAUC,CAAW,EAAIC,EAAAA,SAAS,EAAK,EACxCC,EAAcC,SAAuB,IAAI,EAC/CC,EAAA,gBACEF,EACAH,EACA,IAAMC,EAAY,EAAK,EACvB,IAAML,EAAgB,EAAE,EACxBE,CACF,EAEA,MAAMQ,EAAY,IAChBC,EAAA,kBAAA,IAAC,MAAA,CACC,MAAM,KACN,OAAO,KACP,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,cAAY,OAEZ,SAAAA,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,oBACF,OAAO,QACP,YAAY,IACZ,cAAc,QACd,eAAe,OAAA,CAAA,CACjB,CACF,EAIIC,EAAc,GAAGb,CAAS,IAC9BK,EAAW,eAAiB,gBAC9B,yDACED,EAAW,mBAAqB,gBAClC,GAGMU,EAAc,IAAM,CACnBV,IACHE,EAAY,EAAI,EAChBL,EAAgBL,CAAE,EAEtB,EAGE,OAAAmB,EAAA,kBAAA,KAAC,MAAA,CACC,IAAKP,EACL,UAAWK,EACX,QAASC,EACT,gBAAeV,EAEf,SAAA,CAAAQ,EAAA,kBAAA,IAACI,EAAc,
|
1
|
+
{"version":3,"file":"index.cjs42.js","sources":["../src/components/ui/CardSelectDoctor/index.tsx"],"sourcesContent":["import \"./CardSelectDoctor.scss\";\r\nimport { useRef, useState } from \"react\";\r\nimport * as CheckboxRadix from \"@radix-ui/react-checkbox\";\r\nimport { useClickOutside } from \"@/hooks/useClickOutside.ts\";\r\nimport { Col } from \"../Col\";\r\ntype HeadingLevel = \"h2\" | \"h3\" | \"h4\";\r\n\r\ntype CardSelectDoctorProps = {\r\n id: string;\r\n title: string;\r\n titleTag?: HeadingLevel;\r\n href?: string;\r\n description?: string;\r\n isExternal?: boolean;\r\n showIcon?: boolean;\r\n asLink?: \"a\";\r\n className?: string;\r\n setSelectedCard?: (id: string) => void;\r\n description2?: string;\r\n keepSelectionOnNavigation?: boolean;\r\n disabled?: boolean;\r\n};\r\n\r\nexport const CardSelectDoctor = ({\r\n id,\r\n title,\r\n titleTag: TitleTag = \"h3\",\r\n description,\r\n className,\r\n setSelectedCard = () => {},\r\n description2,\r\n keepSelectionOnNavigation = false,\r\n disabled = false,\r\n}: CardSelectDoctorProps) => {\r\n const [isActive, setIsActive] = useState(false);\r\n const dropdownRef = useRef<HTMLDivElement>(null);\r\n useClickOutside(\r\n dropdownRef,\r\n isActive,\r\n () => setIsActive(false),\r\n () => setSelectedCard(\"\"),\r\n keepSelectionOnNavigation,\r\n );\r\n\r\n const CheckIcon = () => (\r\n <svg\r\n width=\"14\"\r\n height=\"14\"\r\n viewBox=\"0 0 12 12\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n aria-hidden=\"true\"\r\n >\r\n <path\r\n d=\"M10 3L4.5 8.5L2 6\"\r\n stroke=\"white\"\r\n strokeWidth=\"2\"\r\n strokeLinecap=\"round\"\r\n strokeLinejoin=\"round\"\r\n />\r\n </svg>\r\n );\r\n\r\n // Generate class names based on active and disabled states\r\n const cardClasses = `${className} ${\r\n isActive ? \"ui-is-active\" : \"ui-card-search\"\r\n } shadow br-x4 px-x24 py-x16 base-row bg-white gap-x16 ${\r\n disabled ? \"ui-card-disabled\" : \"cursor-pointer\"\r\n }`;\r\n\r\n // Handle click only if not disabled\r\n const handleClick = () => {\r\n if (!disabled) {\r\n setIsActive(true);\r\n setSelectedCard(id);\r\n }\r\n };\r\n\r\n return (\r\n <div\r\n ref={dropdownRef}\r\n className={cardClasses}\r\n onClick={handleClick}\r\n aria-disabled={disabled}\r\n >\r\n <CheckboxRadix.Root\r\n id={id}\r\n checked={isActive}\r\n disabled={disabled}\r\n // onCheckedChange={onChange}\r\n className={\"ui-checkbox-filter\"}\r\n // aria-label={labelText}\r\n >\r\n <CheckboxRadix.Indicator>\r\n <CheckIcon />\r\n </CheckboxRadix.Indicator>\r\n </CheckboxRadix.Root>\r\n <Col>\r\n <TitleTag className=\"flex-1 pb-x8 fs-5 md-fs-4 text-slate-20 fw-semibold\">\r\n {title}\r\n </TitleTag>\r\n <p className=\"fs-7 md-fs-custom fw-regular text-slate-28\">\r\n {description}\r\n </p>\r\n {description2 && (\r\n <p className=\"fs-7 md-fs-custom fw-regular text-slate-28 pt-x16\">\r\n {description2}\r\n </p>\r\n )}\r\n </Col>\r\n </div>\r\n );\r\n};\r\n"],"names":["CardSelectDoctor","id","title","TitleTag","description","className","setSelectedCard","description2","keepSelectionOnNavigation","disabled","isActive","setIsActive","useState","dropdownRef","useRef","useClickOutside","CheckIcon","jsx","cardClasses","handleClick","jsxs","CheckboxRadix.Root","CheckboxRadix.Indicator","Col"],"mappings":"uQAuBaA,EAAmB,CAAC,CAC/B,GAAAC,EACA,MAAAC,EACA,SAAUC,EAAW,KACrB,YAAAC,EACA,UAAAC,EACA,gBAAAC,EAAkB,IAAM,CAAC,EACzB,aAAAC,EACA,0BAAAC,EAA4B,GAC5B,SAAAC,EAAW,EACb,IAA6B,CAC3B,KAAM,CAACC,EAAUC,CAAW,EAAIC,EAAAA,SAAS,EAAK,EACxCC,EAAcC,SAAuB,IAAI,EAC/CC,EAAA,gBACEF,EACAH,EACA,IAAMC,EAAY,EAAK,EACvB,IAAML,EAAgB,EAAE,EACxBE,CACF,EAEA,MAAMQ,EAAY,IAChBC,EAAA,kBAAA,IAAC,MAAA,CACC,MAAM,KACN,OAAO,KACP,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,cAAY,OAEZ,SAAAA,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,oBACF,OAAO,QACP,YAAY,IACZ,cAAc,QACd,eAAe,OAAA,CAAA,CACjB,CACF,EAIIC,EAAc,GAAGb,CAAS,IAC9BK,EAAW,eAAiB,gBAC9B,yDACED,EAAW,mBAAqB,gBAClC,GAGMU,EAAc,IAAM,CACnBV,IACHE,EAAY,EAAI,EAChBL,EAAgBL,CAAE,EAEtB,EAGE,OAAAmB,EAAA,kBAAA,KAAC,MAAA,CACC,IAAKP,EACL,UAAWK,EACX,QAASC,EACT,gBAAeV,EAEf,SAAA,CAAAQ,EAAA,kBAAA,IAACI,EAAc,KAAd,CACC,GAAApB,EACA,QAASS,EACT,SAAAD,EAEA,UAAW,qBAGX,iCAACa,YAAA,CACC,SAAAL,wBAACD,IAAU,CACb,CAAA,CAAA,CACF,2BACCO,EAAAA,IACC,CAAA,SAAA,CAACN,EAAA,kBAAA,IAAAd,EAAA,CAAS,UAAU,sDACjB,SACHD,EAAA,EACCe,EAAA,kBAAA,IAAA,IAAA,CAAE,UAAU,6CACV,SACHb,EAAA,EACCG,GACCU,EAAA,kBAAA,IAAC,IAAE,CAAA,UAAU,oDACV,SACHV,CAAA,CAAA,CAAA,CAEJ,CAAA,CAAA,CAAA,CACF,CAEJ"}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("./index.cjs434.js"),v=require("./index.cjs432.js");let N;function le(){const i=A.a(),t=A.g();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in i||i.DocumentTouch&&t instanceof i.DocumentTouch)}}function ee(){return N||(N=le()),N}let R;function oe(i){let{userAgent:t}=i===void 0?{}:i;const e=ee(),s=A.a(),n=s.navigator.platform,r=t||s.navigator.userAgent,a={ios:!1,android:!1},l=s.screen.width,d=s.screen.height,o=r.match(/(Android);?[\s\/]+([\d.]+)?/);let c=r.match(/(iPad).*OS\s([\d_]+)/);const f=r.match(/(iPod)(.*OS\s([\d_]+))?/),u=!c&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=n==="Win32";let h=n==="MacIntel";const S=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&h&&e.touch&&S.indexOf(`${l}x${d}`)>=0&&(c=r.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),h=!1),o&&!p&&(a.os="android",a.android=!0),(c||u||f)&&(a.os="ios",a.ios=!0),a}function te(i){return i===void 0&&(i={}),R||(R=oe(i)),R}let $;function de(){const i=A.a(),t=te();let e=!1;function s(){const l=i.navigator.userAgent.toLowerCase();return l.indexOf("safari")>=0&&l.indexOf("chrome")<0&&l.indexOf("android")<0}if(s()){const l=String(i.navigator.userAgent);if(l.includes("Version/")){const[d,o]=l.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));e=d<16||d===16&&o<2}}const n=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(i.navigator.userAgent),r=s(),a=r||n&&t.ios;return{isSafari:e||r,needPerspectiveFix:e,need3dFix:a,isWebView:n}}function ie(){return $||($=de()),$}function ce(i){let{swiper:t,on:e,emit:s}=i;const n=A.a();let r=null,a=null;const l=()=>{!t||t.destroyed||!t.initialized||(s("beforeResize"),s("resize"))},d=()=>{!t||t.destroyed||!t.initialized||(r=new ResizeObserver(f=>{a=n.requestAnimationFrame(()=>{const{width:u,height:p}=t;let h=u,S=p;f.forEach(P=>{let{contentBoxSize:g,contentRect:T,target:m}=P;m&&m!==t.el||(h=T?T.width:(g[0]||g).inlineSize,S=T?T.height:(g[0]||g).blockSize)}),(h!==u||S!==p)&&l()})}),r.observe(t.el))},o=()=>{a&&n.cancelAnimationFrame(a),r&&r.unobserve&&t.el&&(r.unobserve(t.el),r=null)},c=()=>{!t||t.destroyed||!t.initialized||s("orientationchange")};e("init",()=>{if(t.params.resizeObserver&&typeof n.ResizeObserver<"u"){d();return}n.addEventListener("resize",l),n.addEventListener("orientationchange",c)}),e("destroy",()=>{o(),n.removeEventListener("resize",l),n.removeEventListener("orientationchange",c)})}function fe(i){let{swiper:t,extendParams:e,on:s,emit:n}=i;const r=[],a=A.a(),l=function(c,f){f===void 0&&(f={});const u=a.MutationObserver||a.WebkitMutationObserver,p=new u(h=>{if(t.__preventObserver__)return;if(h.length===1){n("observerUpdate",h[0]);return}const S=function(){n("observerUpdate",h[0])};a.requestAnimationFrame?a.requestAnimationFrame(S):a.setTimeout(S,0)});p.observe(c,{attributes:typeof f.attributes>"u"?!0:f.attributes,childList:t.isElement||(typeof f.childList>"u"?!0:f).childList,characterData:typeof f.characterData>"u"?!0:f.characterData}),r.push(p)},d=()=>{if(t.params.observer){if(t.params.observeParents){const c=v.a(t.hostEl);for(let f=0;f<c.length;f+=1)l(c[f])}l(t.hostEl,{childList:t.params.observeSlideChildren}),l(t.wrapperEl,{attributes:!1})}},o=()=>{r.forEach(c=>{c.disconnect()}),r.splice(0,r.length)};e({observer:!1,observeParents:!1,observeSlideChildren:!1}),s("init",d),s("destroy",o)}var ue={on(i,t,e){const s=this;if(!s.eventsListeners||s.destroyed||typeof t!="function")return s;const n=e?"unshift":"push";return i.split(" ").forEach(r=>{s.eventsListeners[r]||(s.eventsListeners[r]=[]),s.eventsListeners[r][n](t)}),s},once(i,t,e){const s=this;if(!s.eventsListeners||s.destroyed||typeof t!="function")return s;function n(){s.off(i,n),n.__emitterProxy&&delete n.__emitterProxy;for(var r=arguments.length,a=new Array(r),l=0;l<r;l++)a[l]=arguments[l];t.apply(s,a)}return n.__emitterProxy=t,s.on(i,n,e)},onAny(i,t){const e=this;if(!e.eventsListeners||e.destroyed||typeof i!="function")return e;const s=t?"unshift":"push";return e.eventsAnyListeners.indexOf(i)<0&&e.eventsAnyListeners[s](i),e},offAny(i){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsAnyListeners)return t;const e=t.eventsAnyListeners.indexOf(i);return e>=0&&t.eventsAnyListeners.splice(e,1),t},off(i,t){const e=this;return!e.eventsListeners||e.destroyed||!e.eventsListeners||i.split(" ").forEach(s=>{typeof t>"u"?e.eventsListeners[s]=[]:e.eventsListeners[s]&&e.eventsListeners[s].forEach((n,r)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&e.eventsListeners[s].splice(r,1)})}),e},emit(){const i=this;if(!i.eventsListeners||i.destroyed||!i.eventsListeners)return i;let t,e,s;for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return typeof r[0]=="string"||Array.isArray(r[0])?(t=r[0],e=r.slice(1,r.length),s=i):(t=r[0].events,e=r[0].data,s=r[0].context||i),e.unshift(s),(Array.isArray(t)?t:t.split(" ")).forEach(d=>{i.eventsAnyListeners&&i.eventsAnyListeners.length&&i.eventsAnyListeners.forEach(o=>{o.apply(s,[d,...e])}),i.eventsListeners&&i.eventsListeners[d]&&i.eventsListeners[d].forEach(o=>{o.apply(s,e)})}),i}};function pe(){const i=this;let t,e;const s=i.el;typeof i.params.width<"u"&&i.params.width!==null?t=i.params.width:t=s.clientWidth,typeof i.params.height<"u"&&i.params.height!==null?e=i.params.height:e=s.clientHeight,!(t===0&&i.isHorizontal()||e===0&&i.isVertical())&&(t=t-parseInt(v.p(s,"padding-left")||0,10)-parseInt(v.p(s,"padding-right")||0,10),e=e-parseInt(v.p(s,"padding-top")||0,10)-parseInt(v.p(s,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(e)&&(e=0),Object.assign(i,{width:t,height:e,size:i.isHorizontal()?t:e}))}function he(){const i=this;function t(w,b){return parseFloat(w.getPropertyValue(i.getDirectionLabel(b))||0)}const e=i.params,{wrapperEl:s,slidesEl:n,size:r,rtlTranslate:a,wrongRTL:l}=i,d=i.virtual&&e.virtual.enabled,o=d?i.virtual.slides.length:i.slides.length,c=v.e(n,`.${i.params.slideClass}, swiper-slide`),f=d?i.virtual.slides.length:c.length;let u=[];const p=[],h=[];let S=e.slidesOffsetBefore;typeof S=="function"&&(S=e.slidesOffsetBefore.call(i));let P=e.slidesOffsetAfter;typeof P=="function"&&(P=e.slidesOffsetAfter.call(i));const g=i.snapGrid.length,T=i.slidesGrid.length;let m=e.spaceBetween,y=-S,x=0,L=0;if(typeof r>"u")return;typeof m=="string"&&m.indexOf("%")>=0?m=parseFloat(m.replace("%",""))/100*r:typeof m=="string"&&(m=parseFloat(m)),i.virtualSize=-m,c.forEach(w=>{a?w.style.marginLeft="":w.style.marginRight="",w.style.marginBottom="",w.style.marginTop=""}),e.centeredSlides&&e.cssMode&&(v.s(s,"--swiper-centered-offset-before",""),v.s(s,"--swiper-centered-offset-after",""));const C=e.grid&&e.grid.rows>1&&i.grid;C?i.grid.initSlides(c):i.grid&&i.grid.unsetSlides();let E;const G=e.slidesPerView==="auto"&&e.breakpoints&&Object.keys(e.breakpoints).filter(w=>typeof e.breakpoints[w].slidesPerView<"u").length>0;for(let w=0;w<f;w+=1){E=0;let b;if(c[w]&&(b=c[w]),C&&i.grid.updateSlide(w,b,c),!(c[w]&&v.p(b,"display")==="none")){if(e.slidesPerView==="auto"){G&&(c[w].style[i.getDirectionLabel("width")]="");const I=getComputedStyle(b),z=b.style.transform,B=b.style.webkitTransform;if(z&&(b.style.transform="none"),B&&(b.style.webkitTransform="none"),e.roundLengths)E=i.isHorizontal()?v.f(b,"width"):v.f(b,"height");else{const F=t(I,"width"),M=t(I,"padding-left"),O=t(I,"padding-right"),k=t(I,"margin-left"),D=t(I,"margin-right"),U=I.getPropertyValue("box-sizing");if(U&&U==="border-box")E=F+k+D;else{const{clientWidth:ne,offsetWidth:ae}=b;E=F+M+O+k+D+(ae-ne)}}z&&(b.style.transform=z),B&&(b.style.webkitTransform=B),e.roundLengths&&(E=Math.floor(E))}else E=(r-(e.slidesPerView-1)*m)/e.slidesPerView,e.roundLengths&&(E=Math.floor(E)),c[w]&&(c[w].style[i.getDirectionLabel("width")]=`${E}px`);c[w]&&(c[w].swiperSlideSize=E),h.push(E),e.centeredSlides?(y=y+E/2+x/2+m,x===0&&w!==0&&(y=y-r/2-m),w===0&&(y=y-r/2-m),Math.abs(y)<1/1e3&&(y=0),e.roundLengths&&(y=Math.floor(y)),L%e.slidesPerGroup===0&&u.push(y),p.push(y)):(e.roundLengths&&(y=Math.floor(y)),(L-Math.min(i.params.slidesPerGroupSkip,L))%i.params.slidesPerGroup===0&&u.push(y),p.push(y),y=y+E+m),i.virtualSize+=E+m,x=E,L+=1}}if(i.virtualSize=Math.max(i.virtualSize,r)+P,a&&l&&(e.effect==="slide"||e.effect==="coverflow")&&(s.style.width=`${i.virtualSize+m}px`),e.setWrapperSize&&(s.style[i.getDirectionLabel("width")]=`${i.virtualSize+m}px`),C&&i.grid.updateWrapperSize(E,u),!e.centeredSlides){const w=[];for(let b=0;b<u.length;b+=1){let I=u[b];e.roundLengths&&(I=Math.floor(I)),u[b]<=i.virtualSize-r&&w.push(I)}u=w,Math.floor(i.virtualSize-r)-Math.floor(u[u.length-1])>1&&u.push(i.virtualSize-r)}if(d&&e.loop){const w=h[0]+m;if(e.slidesPerGroup>1){const b=Math.ceil((i.virtual.slidesBefore+i.virtual.slidesAfter)/e.slidesPerGroup),I=w*e.slidesPerGroup;for(let z=0;z<b;z+=1)u.push(u[u.length-1]+I)}for(let b=0;b<i.virtual.slidesBefore+i.virtual.slidesAfter;b+=1)e.slidesPerGroup===1&&u.push(u[u.length-1]+w),p.push(p[p.length-1]+w),i.virtualSize+=w}if(u.length===0&&(u=[0]),m!==0){const w=i.isHorizontal()&&a?"marginLeft":i.getDirectionLabel("marginRight");c.filter((b,I)=>!e.cssMode||e.loop?!0:I!==c.length-1).forEach(b=>{b.style[w]=`${m}px`})}if(e.centeredSlides&&e.centeredSlidesBounds){let w=0;h.forEach(I=>{w+=I+(m||0)}),w-=m;const b=w>r?w-r:0;u=u.map(I=>I<=0?-S:I>b?b+P:I)}if(e.centerInsufficientSlides){let w=0;h.forEach(I=>{w+=I+(m||0)}),w-=m;const b=(e.slidesOffsetBefore||0)+(e.slidesOffsetAfter||0);if(w+b<r){const I=(r-w-b)/2;u.forEach((z,B)=>{u[B]=z-I}),p.forEach((z,B)=>{p[B]=z+I})}}if(Object.assign(i,{slides:c,snapGrid:u,slidesGrid:p,slidesSizesGrid:h}),e.centeredSlides&&e.cssMode&&!e.centeredSlidesBounds){v.s(s,"--swiper-centered-offset-before",`${-u[0]}px`),v.s(s,"--swiper-centered-offset-after",`${i.size/2-h[h.length-1]/2}px`);const w=-i.snapGrid[0],b=-i.slidesGrid[0];i.snapGrid=i.snapGrid.map(I=>I+w),i.slidesGrid=i.slidesGrid.map(I=>I+b)}if(f!==o&&i.emit("slidesLengthChange"),u.length!==g&&(i.params.watchOverflow&&i.checkOverflow(),i.emit("snapGridLengthChange")),p.length!==T&&i.emit("slidesGridLengthChange"),e.watchSlidesProgress&&i.updateSlidesOffset(),i.emit("slidesUpdated"),!d&&!e.cssMode&&(e.effect==="slide"||e.effect==="fade")){const w=`${e.containerModifierClass}backface-hidden`,b=i.el.classList.contains(w);f<=e.maxBackfaceHiddenSlides?b||i.el.classList.add(w):b&&i.el.classList.remove(w)}}function me(i){const t=this,e=[],s=t.virtual&&t.params.virtual.enabled;let n=0,r;typeof i=="number"?t.setTransition(i):i===!0&&t.setTransition(t.params.speed);const a=l=>s?t.slides[t.getSlideIndexByData(l)]:t.slides[l];if(t.params.slidesPerView!=="auto"&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(l=>{e.push(l)});else for(r=0;r<Math.ceil(t.params.slidesPerView);r+=1){const l=t.activeIndex+r;if(l>t.slides.length&&!s)break;e.push(a(l))}else e.push(a(t.activeIndex));for(r=0;r<e.length;r+=1)if(typeof e[r]<"u"){const l=e[r].offsetHeight;n=l>n?l:n}(n||n===0)&&(t.wrapperEl.style.height=`${n}px`)}function ge(){const i=this,t=i.slides,e=i.isElement?i.isHorizontal()?i.wrapperEl.offsetLeft:i.wrapperEl.offsetTop:0;for(let s=0;s<t.length;s+=1)t[s].swiperSlideOffset=(i.isHorizontal()?t[s].offsetLeft:t[s].offsetTop)-e-i.cssOverflowAdjustment()}const K=(i,t,e)=>{t&&!i.classList.contains(e)?i.classList.add(e):!t&&i.classList.contains(e)&&i.classList.remove(e)};function ve(i){i===void 0&&(i=this&&this.translate||0);const t=this,e=t.params,{slides:s,rtlTranslate:n,snapGrid:r}=t;if(s.length===0)return;typeof s[0].swiperSlideOffset>"u"&&t.updateSlidesOffset();let a=-i;n&&(a=i),t.visibleSlidesIndexes=[],t.visibleSlides=[];let l=e.spaceBetween;typeof l=="string"&&l.indexOf("%")>=0?l=parseFloat(l.replace("%",""))/100*t.size:typeof l=="string"&&(l=parseFloat(l));for(let d=0;d<s.length;d+=1){const o=s[d];let c=o.swiperSlideOffset;e.cssMode&&e.centeredSlides&&(c-=s[0].swiperSlideOffset);const f=(a+(e.centeredSlides?t.minTranslate():0)-c)/(o.swiperSlideSize+l),u=(a-r[0]+(e.centeredSlides?t.minTranslate():0)-c)/(o.swiperSlideSize+l),p=-(a-c),h=p+t.slidesSizesGrid[d],S=p>=0&&p<=t.size-t.slidesSizesGrid[d],P=p>=0&&p<t.size-1||h>1&&h<=t.size||p<=0&&h>=t.size;P&&(t.visibleSlides.push(o),t.visibleSlidesIndexes.push(d)),K(o,P,e.slideVisibleClass),K(o,S,e.slideFullyVisibleClass),o.progress=n?-f:f,o.originalProgress=n?-u:u}}function we(i){const t=this;if(typeof i>"u"){const c=t.rtlTranslate?-1:1;i=t&&t.translate&&t.translate*c||0}const e=t.params,s=t.maxTranslate()-t.minTranslate();let{progress:n,isBeginning:r,isEnd:a,progressLoop:l}=t;const d=r,o=a;if(s===0)n=0,r=!0,a=!0;else{n=(i-t.minTranslate())/s;const c=Math.abs(i-t.minTranslate())<1,f=Math.abs(i-t.maxTranslate())<1;r=c||n<=0,a=f||n>=1,c&&(n=0),f&&(n=1)}if(e.loop){const c=t.getSlideIndexByData(0),f=t.getSlideIndexByData(t.slides.length-1),u=t.slidesGrid[c],p=t.slidesGrid[f],h=t.slidesGrid[t.slidesGrid.length-1],S=Math.abs(i);S>=u?l=(S-u)/h:l=(S+h-p)/h,l>1&&(l-=1)}Object.assign(t,{progress:n,progressLoop:l,isBeginning:r,isEnd:a}),(e.watchSlidesProgress||e.centeredSlides&&e.autoHeight)&&t.updateSlidesProgress(i),r&&!d&&t.emit("reachBeginning toEdge"),a&&!o&&t.emit("reachEnd toEdge"),(d&&!r||o&&!a)&&t.emit("fromEdge"),t.emit("progress",n)}const H=(i,t,e)=>{t&&!i.classList.contains(e)?i.classList.add(e):!t&&i.classList.contains(e)&&i.classList.remove(e)};function Se(){const i=this,{slides:t,params:e,slidesEl:s,activeIndex:n}=i,r=i.virtual&&e.virtual.enabled,a=i.grid&&e.grid&&e.grid.rows>1,l=f=>v.e(s,`.${e.slideClass}${f}, swiper-slide${f}`)[0];let d,o,c;if(r)if(e.loop){let f=n-i.virtual.slidesBefore;f<0&&(f=i.virtual.slides.length+f),f>=i.virtual.slides.length&&(f-=i.virtual.slides.length),d=l(`[data-swiper-slide-index="${f}"]`)}else d=l(`[data-swiper-slide-index="${n}"]`);else a?(d=t.find(f=>f.column===n),c=t.find(f=>f.column===n+1),o=t.find(f=>f.column===n-1)):d=t[n];d&&(a||(c=v.q(d,`.${e.slideClass}, swiper-slide`)[0],e.loop&&!c&&(c=t[0]),o=v.r(d,`.${e.slideClass}, swiper-slide`)[0],e.loop&&!o===0&&(o=t[t.length-1]))),t.forEach(f=>{H(f,f===d,e.slideActiveClass),H(f,f===c,e.slideNextClass),H(f,f===o,e.slidePrevClass)}),i.emitSlidesClasses()}const _=(i,t)=>{if(!i||i.destroyed||!i.params)return;const e=()=>i.isElement?"swiper-slide":`.${i.params.slideClass}`,s=t.closest(e());if(s){let n=s.querySelector(`.${i.params.lazyPreloaderClass}`);!n&&i.isElement&&(s.shadowRoot?n=s.shadowRoot.querySelector(`.${i.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{s.shadowRoot&&(n=s.shadowRoot.querySelector(`.${i.params.lazyPreloaderClass}`),n&&n.remove())})),n&&n.remove()}},W=(i,t)=>{if(!i.slides[t])return;const e=i.slides[t].querySelector('[loading="lazy"]');e&&e.removeAttribute("loading")},q=i=>{if(!i||i.destroyed||!i.params)return;let t=i.params.lazyPreloadPrevNext;const e=i.slides.length;if(!e||!t||t<0)return;t=Math.min(t,e);const s=i.params.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(i.params.slidesPerView),n=i.activeIndex;if(i.params.grid&&i.params.grid.rows>1){const a=n,l=[a-t];l.push(...Array.from({length:t}).map((d,o)=>a+s+o)),i.slides.forEach((d,o)=>{l.includes(d.column)&&W(i,o)});return}const r=n+s-1;if(i.params.rewind||i.params.loop)for(let a=n-t;a<=r+t;a+=1){const l=(a%e+e)%e;(l<n||l>r)&&W(i,l)}else for(let a=Math.max(n-t,0);a<=Math.min(r+t,e-1);a+=1)a!==n&&(a>r||a<n)&&W(i,a)};function Te(i){const{slidesGrid:t,params:e}=i,s=i.rtlTranslate?i.translate:-i.translate;let n;for(let r=0;r<t.length;r+=1)typeof t[r+1]<"u"?s>=t[r]&&s<t[r+1]-(t[r+1]-t[r])/2?n=r:s>=t[r]&&s<t[r+1]&&(n=r+1):s>=t[r]&&(n=r);return e.normalizeSlideIndex&&(n<0||typeof n>"u")&&(n=0),n}function xe(i){const t=this,e=t.rtlTranslate?t.translate:-t.translate,{snapGrid:s,params:n,activeIndex:r,realIndex:a,snapIndex:l}=t;let d=i,o;const c=p=>{let h=p-t.virtual.slidesBefore;return h<0&&(h=t.virtual.slides.length+h),h>=t.virtual.slides.length&&(h-=t.virtual.slides.length),h};if(typeof d>"u"&&(d=Te(t)),s.indexOf(e)>=0)o=s.indexOf(e);else{const p=Math.min(n.slidesPerGroupSkip,d);o=p+Math.floor((d-p)/n.slidesPerGroup)}if(o>=s.length&&(o=s.length-1),d===r&&!t.params.loop){o!==l&&(t.snapIndex=o,t.emit("snapIndexChange"));return}if(d===r&&t.params.loop&&t.virtual&&t.params.virtual.enabled){t.realIndex=c(d);return}const f=t.grid&&n.grid&&n.grid.rows>1;let u;if(t.virtual&&n.virtual.enabled&&n.loop)u=c(d);else if(f){const p=t.slides.find(S=>S.column===d);let h=parseInt(p.getAttribute("data-swiper-slide-index"),10);Number.isNaN(h)&&(h=Math.max(t.slides.indexOf(p),0)),u=Math.floor(h/n.grid.rows)}else if(t.slides[d]){const p=t.slides[d].getAttribute("data-swiper-slide-index");p?u=parseInt(p,10):u=d}else u=d;Object.assign(t,{previousSnapIndex:l,snapIndex:o,previousRealIndex:a,realIndex:u,previousIndex:r,activeIndex:d}),t.initialized&&q(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(a!==u&&t.emit("realIndexChange"),t.emit("slideChange"))}function be(i,t){const e=this,s=e.params;let n=i.closest(`.${s.slideClass}, swiper-slide`);!n&&e.isElement&&t&&t.length>1&&t.includes(i)&&[...t.slice(t.indexOf(i)+1,t.length)].forEach(l=>{!n&&l.matches&&l.matches(`.${s.slideClass}, swiper-slide`)&&(n=l)});let r=!1,a;if(n){for(let l=0;l<e.slides.length;l+=1)if(e.slides[l]===n){r=!0,a=l;break}}if(n&&r)e.clickedSlide=n,e.virtual&&e.params.virtual.enabled?e.clickedIndex=parseInt(n.getAttribute("data-swiper-slide-index"),10):e.clickedIndex=a;else{e.clickedSlide=void 0,e.clickedIndex=void 0;return}s.slideToClickedSlide&&e.clickedIndex!==void 0&&e.clickedIndex!==e.activeIndex&&e.slideToClickedSlide()}var ye={updateSize:pe,updateSlides:he,updateAutoHeight:me,updateSlidesOffset:ge,updateSlidesProgress:ve,updateProgress:we,updateSlidesClasses:Se,updateActiveIndex:xe,updateClickedSlide:be};function Ee(i){i===void 0&&(i=this.isHorizontal()?"x":"y");const t=this,{params:e,rtlTranslate:s,translate:n,wrapperEl:r}=t;if(e.virtualTranslate)return s?-n:n;if(e.cssMode)return n;let a=v.j(r,i);return a+=t.cssOverflowAdjustment(),s&&(a=-a),a||0}function Pe(i,t){const e=this,{rtlTranslate:s,params:n,wrapperEl:r,progress:a}=e;let l=0,d=0;const o=0;e.isHorizontal()?l=s?-i:i:d=i,n.roundLengths&&(l=Math.floor(l),d=Math.floor(d)),e.previousTranslate=e.translate,e.translate=e.isHorizontal()?l:d,n.cssMode?r[e.isHorizontal()?"scrollLeft":"scrollTop"]=e.isHorizontal()?-l:-d:n.virtualTranslate||(e.isHorizontal()?l-=e.cssOverflowAdjustment():d-=e.cssOverflowAdjustment(),r.style.transform=`translate3d(${l}px, ${d}px, ${o}px)`);let c;const f=e.maxTranslate()-e.minTranslate();f===0?c=0:c=(i-e.minTranslate())/f,c!==a&&e.updateProgress(i),e.emit("setTranslate",e.translate,t)}function Me(){return-this.snapGrid[0]}function Ie(){return-this.snapGrid[this.snapGrid.length-1]}function Ce(i,t,e,s,n){i===void 0&&(i=0),t===void 0&&(t=this.params.speed),e===void 0&&(e=!0),s===void 0&&(s=!0);const r=this,{params:a,wrapperEl:l}=r;if(r.animating&&a.preventInteractionOnTransition)return!1;const d=r.minTranslate(),o=r.maxTranslate();let c;if(s&&i>d?c=d:s&&i<o?c=o:c=i,r.updateProgress(c),a.cssMode){const f=r.isHorizontal();if(t===0)l[f?"scrollLeft":"scrollTop"]=-c;else{if(!r.support.smoothScroll)return v.t({swiper:r,targetPosition:-c,side:f?"left":"top"}),!0;l.scrollTo({[f?"left":"top"]:-c,behavior:"smooth"})}return!0}return t===0?(r.setTransition(0),r.setTranslate(c),e&&(r.emit("beforeTransitionStart",t,n),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(c),e&&(r.emit("beforeTransitionStart",t,n),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(u){!r||r.destroyed||u.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,r.animating=!1,e&&r.emit("transitionEnd"))}),r.wrapperEl.addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd))),!0}var Le={getTranslate:Ee,setTranslate:Pe,minTranslate:Me,maxTranslate:Ie,translateTo:Ce};function ze(i,t){const e=this;e.params.cssMode||(e.wrapperEl.style.transitionDuration=`${i}ms`,e.wrapperEl.style.transitionDelay=i===0?"0ms":""),e.emit("setTransition",i,t)}function se(i){let{swiper:t,runCallbacks:e,direction:s,step:n}=i;const{activeIndex:r,previousIndex:a}=t;let l=s;if(l||(r>a?l="next":r<a?l="prev":l="reset"),t.emit(`transition${n}`),e&&r!==a){if(l==="reset"){t.emit(`slideResetTransition${n}`);return}t.emit(`slideChangeTransition${n}`),l==="next"?t.emit(`slideNextTransition${n}`):t.emit(`slidePrevTransition${n}`)}}function Oe(i,t){i===void 0&&(i=!0);const e=this,{params:s}=e;s.cssMode||(s.autoHeight&&e.updateAutoHeight(),se({swiper:e,runCallbacks:i,direction:t,step:"Start"}))}function Ae(i,t){i===void 0&&(i=!0);const e=this,{params:s}=e;e.animating=!1,!s.cssMode&&(e.setTransition(0),se({swiper:e,runCallbacks:i,direction:t,step:"End"}))}var Ge={setTransition:ze,transitionStart:Oe,transitionEnd:Ae};function ke(i,t,e,s,n){i===void 0&&(i=0),e===void 0&&(e=!0),typeof i=="string"&&(i=parseInt(i,10));const r=this;let a=i;a<0&&(a=0);const{params:l,snapGrid:d,slidesGrid:o,previousIndex:c,activeIndex:f,rtlTranslate:u,wrapperEl:p,enabled:h}=r;if(!h&&!s&&!n||r.destroyed||r.animating&&l.preventInteractionOnTransition)return!1;typeof t>"u"&&(t=r.params.speed);const S=Math.min(r.params.slidesPerGroupSkip,a);let P=S+Math.floor((a-S)/r.params.slidesPerGroup);P>=d.length&&(P=d.length-1);const g=-d[P];if(l.normalizeSlideIndex)for(let C=0;C<o.length;C+=1){const E=-Math.floor(g*100),G=Math.floor(o[C]*100),w=Math.floor(o[C+1]*100);typeof o[C+1]<"u"?E>=G&&E<w-(w-G)/2?a=C:E>=G&&E<w&&(a=C+1):E>=G&&(a=C)}if(r.initialized&&a!==f&&(!r.allowSlideNext&&(u?g>r.translate&&g>r.minTranslate():g<r.translate&&g<r.minTranslate())||!r.allowSlidePrev&&g>r.translate&&g>r.maxTranslate()&&(f||0)!==a))return!1;a!==(c||0)&&e&&r.emit("beforeSlideChangeStart"),r.updateProgress(g);let T;a>f?T="next":a<f?T="prev":T="reset";const m=r.virtual&&r.params.virtual.enabled;if(!(m&&n)&&(u&&-g===r.translate||!u&&g===r.translate))return r.updateActiveIndex(a),l.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),l.effect!=="slide"&&r.setTranslate(g),T!=="reset"&&(r.transitionStart(e,T),r.transitionEnd(e,T)),!1;if(l.cssMode){const C=r.isHorizontal(),E=u?g:-g;if(t===0)m&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),m&&!r._cssModeVirtualInitialSet&&r.params.initialSlide>0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[C?"scrollLeft":"scrollTop"]=E})):p[C?"scrollLeft":"scrollTop"]=E,m&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1});else{if(!r.support.smoothScroll)return v.t({swiper:r,targetPosition:E,side:C?"left":"top"}),!0;p.scrollTo({[C?"left":"top"]:E,behavior:"smooth"})}return!0}const L=ie().isSafari;return m&&!n&&L&&r.isElement&&r.virtual.update(!1,!1,a),r.setTransition(t),r.setTranslate(g),r.updateActiveIndex(a),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,s),r.transitionStart(e,T),t===0?r.transitionEnd(e,T):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(E){!r||r.destroyed||E.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(e,T))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0}function Ve(i,t,e,s){i===void 0&&(i=0),e===void 0&&(e=!0),typeof i=="string"&&(i=parseInt(i,10));const n=this;if(n.destroyed)return;typeof t>"u"&&(t=n.params.speed);const r=n.grid&&n.params.grid&&n.params.grid.rows>1;let a=i;if(n.params.loop)if(n.virtual&&n.params.virtual.enabled)a=a+n.virtual.slidesBefore;else{let l;if(r){const u=a*n.params.grid.rows;l=n.slides.find(p=>p.getAttribute("data-swiper-slide-index")*1===u).column}else l=n.getSlideIndexByData(a);const d=r?Math.ceil(n.slides.length/n.params.grid.rows):n.slides.length,{centeredSlides:o}=n.params;let c=n.params.slidesPerView;c==="auto"?c=n.slidesPerViewDynamic():(c=Math.ceil(parseFloat(n.params.slidesPerView,10)),o&&c%2===0&&(c=c+1));let f=d-l<c;if(o&&(f=f||l<Math.ceil(c/2)),s&&o&&n.params.slidesPerView!=="auto"&&!r&&(f=!1),f){const u=o?l<n.activeIndex?"prev":"next":l-n.activeIndex-1<n.params.slidesPerView?"next":"prev";n.loopFix({direction:u,slideTo:!0,activeSlideIndex:u==="next"?l+1:l-d+1,slideRealIndex:u==="next"?n.realIndex:void 0})}if(r){const u=a*n.params.grid.rows;a=n.slides.find(p=>p.getAttribute("data-swiper-slide-index")*1===u).column}else a=n.getSlideIndexByData(a)}return requestAnimationFrame(()=>{n.slideTo(a,t,e,s)}),n}function De(i,t,e){t===void 0&&(t=!0);const s=this,{enabled:n,params:r,animating:a}=s;if(!n||s.destroyed)return s;typeof i>"u"&&(i=s.params.speed);let l=r.slidesPerGroup;r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(l=Math.max(s.slidesPerViewDynamic("current",!0),1));const d=s.activeIndex<r.slidesPerGroupSkip?1:l,o=s.virtual&&r.virtual.enabled;if(r.loop){if(a&&!o&&r.loopPreventsSliding)return!1;if(s.loopFix({direction:"next"}),s._clientLeft=s.wrapperEl.clientLeft,s.activeIndex===s.slides.length-1&&r.cssMode)return requestAnimationFrame(()=>{s.slideTo(s.activeIndex+d,i,t,e)}),!0}return r.rewind&&s.isEnd?s.slideTo(0,i,t,e):s.slideTo(s.activeIndex+d,i,t,e)}function Be(i,t,e){t===void 0&&(t=!0);const s=this,{params:n,snapGrid:r,slidesGrid:a,rtlTranslate:l,enabled:d,animating:o}=s;if(!d||s.destroyed)return s;typeof i>"u"&&(i=s.params.speed);const c=s.virtual&&n.virtual.enabled;if(n.loop){if(o&&!c&&n.loopPreventsSliding)return!1;s.loopFix({direction:"prev"}),s._clientLeft=s.wrapperEl.clientLeft}const f=l?s.translate:-s.translate;function u(T){return T<0?-Math.floor(Math.abs(T)):Math.floor(T)}const p=u(f),h=r.map(T=>u(T)),S=n.freeMode&&n.freeMode.enabled;let P=r[h.indexOf(p)-1];if(typeof P>"u"&&(n.cssMode||S)){let T;r.forEach((m,y)=>{p>=m&&(T=y)}),typeof T<"u"&&(P=S?r[T]:r[T>0?T-1:T])}let g=0;if(typeof P<"u"&&(g=a.indexOf(P),g<0&&(g=s.activeIndex-1),n.slidesPerView==="auto"&&n.slidesPerGroup===1&&n.slidesPerGroupAuto&&(g=g-s.slidesPerViewDynamic("previous",!0)+1,g=Math.max(g,0))),n.rewind&&s.isBeginning){const T=s.params.virtual&&s.params.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1;return s.slideTo(T,i,t,e)}else if(n.loop&&s.activeIndex===0&&n.cssMode)return requestAnimationFrame(()=>{s.slideTo(g,i,t,e)}),!0;return s.slideTo(g,i,t,e)}function Fe(i,t,e){t===void 0&&(t=!0);const s=this;if(!s.destroyed)return typeof i>"u"&&(i=s.params.speed),s.slideTo(s.activeIndex,i,t,e)}function _e(i,t,e,s){t===void 0&&(t=!0),s===void 0&&(s=.5);const n=this;if(n.destroyed)return;typeof i>"u"&&(i=n.params.speed);let r=n.activeIndex;const a=Math.min(n.params.slidesPerGroupSkip,r),l=a+Math.floor((r-a)/n.params.slidesPerGroup),d=n.rtlTranslate?n.translate:-n.translate;if(d>=n.snapGrid[l]){const o=n.snapGrid[l],c=n.snapGrid[l+1];d-o>(c-o)*s&&(r+=n.params.slidesPerGroup)}else{const o=n.snapGrid[l-1],c=n.snapGrid[l];d-o<=(c-o)*s&&(r-=n.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,n.slidesGrid.length-1),n.slideTo(r,i,t,e)}function Ne(){const i=this;if(i.destroyed)return;const{params:t,slidesEl:e}=i,s=t.slidesPerView==="auto"?i.slidesPerViewDynamic():t.slidesPerView;let n=i.clickedIndex,r;const a=i.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(i.animating)return;r=parseInt(i.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?n<i.loopedSlides-s/2||n>i.slides.length-i.loopedSlides+s/2?(i.loopFix(),n=i.getSlideIndex(v.e(e,`${a}[data-swiper-slide-index="${r}"]`)[0]),v.n(()=>{i.slideTo(n)})):i.slideTo(n):n>i.slides.length-s?(i.loopFix(),n=i.getSlideIndex(v.e(e,`${a}[data-swiper-slide-index="${r}"]`)[0]),v.n(()=>{i.slideTo(n)})):i.slideTo(n)}else i.slideTo(n)}var Re={slideTo:ke,slideToLoop:Ve,slideNext:De,slidePrev:Be,slideReset:Fe,slideToClosest:_e,slideToClickedSlide:Ne};function $e(i,t){const e=this,{params:s,slidesEl:n}=e;if(!s.loop||e.virtual&&e.params.virtual.enabled)return;const r=()=>{v.e(n,`.${s.slideClass}, swiper-slide`).forEach((u,p)=>{u.setAttribute("data-swiper-slide-index",p)})},a=e.grid&&s.grid&&s.grid.rows>1,l=s.slidesPerGroup*(a?s.grid.rows:1),d=e.slides.length%l!==0,o=a&&e.slides.length%s.grid.rows!==0,c=f=>{for(let u=0;u<f;u+=1){const p=e.isElement?v.c("swiper-slide",[s.slideBlankClass]):v.c("div",[s.slideClass,s.slideBlankClass]);e.slidesEl.append(p)}};if(d){if(s.loopAddBlankSlides){const f=l-e.slides.length%l;c(f),e.recalcSlides(),e.updateSlides()}else v.u("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");r()}else if(o){if(s.loopAddBlankSlides){const f=s.grid.rows-e.slides.length%s.grid.rows;c(f),e.recalcSlides(),e.updateSlides()}else v.u("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");r()}else r();e.loopFix({slideRealIndex:i,direction:s.centeredSlides?void 0:"next",initial:t})}function He(i){let{slideRealIndex:t,slideTo:e=!0,direction:s,setTranslate:n,activeSlideIndex:r,initial:a,byController:l,byMousewheel:d}=i===void 0?{}:i;const o=this;if(!o.params.loop)return;o.emit("beforeLoopFix");const{slides:c,allowSlidePrev:f,allowSlideNext:u,slidesEl:p,params:h}=o,{centeredSlides:S,initialSlide:P}=h;if(o.allowSlidePrev=!0,o.allowSlideNext=!0,o.virtual&&h.virtual.enabled){e&&(!h.centeredSlides&&o.snapIndex===0?o.slideTo(o.virtual.slides.length,0,!1,!0):h.centeredSlides&&o.snapIndex<h.slidesPerView?o.slideTo(o.virtual.slides.length+o.snapIndex,0,!1,!0):o.snapIndex===o.snapGrid.length-1&&o.slideTo(o.virtual.slidesBefore,0,!1,!0)),o.allowSlidePrev=f,o.allowSlideNext=u,o.emit("loopFix");return}let g=h.slidesPerView;g==="auto"?g=o.slidesPerViewDynamic():(g=Math.ceil(parseFloat(h.slidesPerView,10)),S&&g%2===0&&(g=g+1));const T=h.slidesPerGroupAuto?g:h.slidesPerGroup;let m=T;m%T!==0&&(m+=T-m%T),m+=h.loopAdditionalSlides,o.loopedSlides=m;const y=o.grid&&h.grid&&h.grid.rows>1;c.length<g+m||o.params.effect==="cards"&&c.length<g+m*2?v.u("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):y&&h.grid.fill==="row"&&v.u("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const x=[],L=[],C=y?Math.ceil(c.length/h.grid.rows):c.length,E=a&&C-P<g&&!S;let G=E?P:o.activeIndex;typeof r>"u"?r=o.getSlideIndex(c.find(M=>M.classList.contains(h.slideActiveClass))):G=r;const w=s==="next"||!s,b=s==="prev"||!s;let I=0,z=0;const F=(y?c[r].column:r)+(S&&typeof n>"u"?-g/2+.5:0);if(F<m){I=Math.max(m-F,T);for(let M=0;M<m-F;M+=1){const O=M-Math.floor(M/C)*C;if(y){const k=C-O-1;for(let D=c.length-1;D>=0;D-=1)c[D].column===k&&x.push(D)}else x.push(C-O-1)}}else if(F+g>C-m){z=Math.max(F-(C-m*2),T),E&&(z=Math.max(z,g-C+P+1));for(let M=0;M<z;M+=1){const O=M-Math.floor(M/C)*C;y?c.forEach((k,D)=>{k.column===O&&L.push(D)}):L.push(O)}}if(o.__preventObserver__=!0,requestAnimationFrame(()=>{o.__preventObserver__=!1}),o.params.effect==="cards"&&c.length<g+m*2&&(L.includes(r)&&L.splice(L.indexOf(r),1),x.includes(r)&&x.splice(x.indexOf(r),1)),b&&x.forEach(M=>{c[M].swiperLoopMoveDOM=!0,p.prepend(c[M]),c[M].swiperLoopMoveDOM=!1}),w&&L.forEach(M=>{c[M].swiperLoopMoveDOM=!0,p.append(c[M]),c[M].swiperLoopMoveDOM=!1}),o.recalcSlides(),h.slidesPerView==="auto"?o.updateSlides():y&&(x.length>0&&b||L.length>0&&w)&&o.slides.forEach((M,O)=>{o.grid.updateSlide(O,M,o.slides)}),h.watchSlidesProgress&&o.updateSlidesOffset(),e){if(x.length>0&&b){if(typeof t>"u"){const M=o.slidesGrid[G],k=o.slidesGrid[G+I]-M;d?o.setTranslate(o.translate-k):(o.slideTo(G+Math.ceil(I),0,!1,!0),n&&(o.touchEventsData.startTranslate=o.touchEventsData.startTranslate-k,o.touchEventsData.currentTranslate=o.touchEventsData.currentTranslate-k))}else if(n){const M=y?x.length/h.grid.rows:x.length;o.slideTo(o.activeIndex+M,0,!1,!0),o.touchEventsData.currentTranslate=o.translate}}else if(L.length>0&&w)if(typeof t>"u"){const M=o.slidesGrid[G],k=o.slidesGrid[G-z]-M;d?o.setTranslate(o.translate-k):(o.slideTo(G-z,0,!1,!0),n&&(o.touchEventsData.startTranslate=o.touchEventsData.startTranslate-k,o.touchEventsData.currentTranslate=o.touchEventsData.currentTranslate-k))}else{const M=y?L.length/h.grid.rows:L.length;o.slideTo(o.activeIndex-M,0,!1,!0)}}if(o.allowSlidePrev=f,o.allowSlideNext=u,o.controller&&o.controller.control&&!l){const M={slideRealIndex:t,direction:s,setTranslate:n,activeSlideIndex:r,byController:!0};Array.isArray(o.controller.control)?o.controller.control.forEach(O=>{!O.destroyed&&O.params.loop&&O.loopFix({...M,slideTo:O.params.slidesPerView===h.slidesPerView?e:!1})}):o.controller.control instanceof o.constructor&&o.controller.control.params.loop&&o.controller.control.loopFix({...M,slideTo:o.controller.control.params.slidesPerView===h.slidesPerView?e:!1})}o.emit("loopFix")}function We(){const i=this,{params:t,slidesEl:e}=i;if(!t.loop||!e||i.virtual&&i.params.virtual.enabled)return;i.recalcSlides();const s=[];i.slides.forEach(n=>{const r=typeof n.swiperSlideIndex>"u"?n.getAttribute("data-swiper-slide-index")*1:n.swiperSlideIndex;s[r]=n}),i.slides.forEach(n=>{n.removeAttribute("data-swiper-slide-index")}),s.forEach(n=>{e.append(n)}),i.recalcSlides(),i.slideTo(i.realIndex,0)}var Ye={loopCreate:$e,loopFix:He,loopDestroy:We};function Xe(i){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const e=t.params.touchEventsTarget==="container"?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),e.style.cursor="move",e.style.cursor=i?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})}function qe(){const i=this;i.params.watchOverflow&&i.isLocked||i.params.cssMode||(i.isElement&&(i.__preventObserver__=!0),i[i.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",i.isElement&&requestAnimationFrame(()=>{i.__preventObserver__=!1}))}var je={setGrabCursor:Xe,unsetGrabCursor:qe};function Ue(i,t){t===void 0&&(t=this);function e(s){if(!s||s===A.g()||s===A.a())return null;s.assignedSlot&&(s=s.assignedSlot);const n=s.closest(i);return!n&&!s.getRootNode?null:n||e(s.getRootNode().host)}return e(t)}function J(i,t,e){const s=A.a(),{params:n}=i,r=n.edgeSwipeDetection,a=n.edgeSwipeThreshold;return r&&(e<=a||e>=s.innerWidth-a)?r==="prevent"?(t.preventDefault(),!0):!1:!0}function Ke(i){const t=this,e=A.g();let s=i;s.originalEvent&&(s=s.originalEvent);const n=t.touchEventsData;if(s.type==="pointerdown"){if(n.pointerId!==null&&n.pointerId!==s.pointerId)return;n.pointerId=s.pointerId}else s.type==="touchstart"&&s.targetTouches.length===1&&(n.touchId=s.targetTouches[0].identifier);if(s.type==="touchstart"){J(t,s,s.targetTouches[0].pageX);return}const{params:r,touches:a,enabled:l}=t;if(!l||!r.simulateTouch&&s.pointerType==="mouse"||t.animating&&r.preventInteractionOnTransition)return;!t.animating&&r.cssMode&&r.loop&&t.loopFix();let d=s.target;if(r.touchEventsTarget==="wrapper"&&!v.v(d,t.wrapperEl)||"which"in s&&s.which===3||"button"in s&&s.button>0||n.isTouched&&n.isMoved)return;const o=!!r.noSwipingClass&&r.noSwipingClass!=="",c=s.composedPath?s.composedPath():s.path;o&&s.target&&s.target.shadowRoot&&c&&(d=c[0]);const f=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,u=!!(s.target&&s.target.shadowRoot);if(r.noSwiping&&(u?Ue(f,d):d.closest(f))){t.allowClick=!0;return}if(r.swipeHandler&&!d.closest(r.swipeHandler))return;a.currentX=s.pageX,a.currentY=s.pageY;const p=a.currentX,h=a.currentY;if(!J(t,s,p))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=p,a.startY=h,n.touchStartTime=v.d(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,r.threshold>0&&(n.allowThresholdMove=!1);let S=!0;d.matches(n.focusableElements)&&(S=!1,d.nodeName==="SELECT"&&(n.isTouched=!1)),e.activeElement&&e.activeElement.matches(n.focusableElements)&&e.activeElement!==d&&(s.pointerType==="mouse"||s.pointerType!=="mouse"&&!d.matches(n.focusableElements))&&e.activeElement.blur();const P=S&&t.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||P)&&!d.isContentEditable&&s.preventDefault(),r.freeMode&&r.freeMode.enabled&&t.freeMode&&t.animating&&!r.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",s)}function Je(i){const t=A.g(),e=this,s=e.touchEventsData,{params:n,touches:r,rtlTranslate:a,enabled:l}=e;if(!l||!n.simulateTouch&&i.pointerType==="mouse")return;let d=i;if(d.originalEvent&&(d=d.originalEvent),d.type==="pointermove"&&(s.touchId!==null||d.pointerId!==s.pointerId))return;let o;if(d.type==="touchmove"){if(o=[...d.changedTouches].find(x=>x.identifier===s.touchId),!o||o.identifier!==s.touchId)return}else o=d;if(!s.isTouched){s.startMoving&&s.isScrolling&&e.emit("touchMoveOpposite",d);return}const c=o.pageX,f=o.pageY;if(d.preventedByNestedSwiper){r.startX=c,r.startY=f;return}if(!e.allowTouchMove){d.target.matches(s.focusableElements)||(e.allowClick=!1),s.isTouched&&(Object.assign(r,{startX:c,startY:f,currentX:c,currentY:f}),s.touchStartTime=v.d());return}if(n.touchReleaseOnEdges&&!n.loop)if(e.isVertical()){if(f<r.startY&&e.translate<=e.maxTranslate()||f>r.startY&&e.translate>=e.minTranslate()){s.isTouched=!1,s.isMoved=!1;return}}else{if(a&&(c>r.startX&&-e.translate<=e.maxTranslate()||c<r.startX&&-e.translate>=e.minTranslate()))return;if(!a&&(c<r.startX&&e.translate<=e.maxTranslate()||c>r.startX&&e.translate>=e.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(s.focusableElements)&&t.activeElement!==d.target&&d.pointerType!=="mouse"&&t.activeElement.blur(),t.activeElement&&d.target===t.activeElement&&d.target.matches(s.focusableElements)){s.isMoved=!0,e.allowClick=!1;return}s.allowTouchCallbacks&&e.emit("touchMove",d),r.previousX=r.currentX,r.previousY=r.currentY,r.currentX=c,r.currentY=f;const u=r.currentX-r.startX,p=r.currentY-r.startY;if(e.params.threshold&&Math.sqrt(u**2+p**2)<e.params.threshold)return;if(typeof s.isScrolling>"u"){let x;e.isHorizontal()&&r.currentY===r.startY||e.isVertical()&&r.currentX===r.startX?s.isScrolling=!1:u*u+p*p>=25&&(x=Math.atan2(Math.abs(p),Math.abs(u))*180/Math.PI,s.isScrolling=e.isHorizontal()?x>n.touchAngle:90-x>n.touchAngle)}if(s.isScrolling&&e.emit("touchMoveOpposite",d),typeof s.startMoving>"u"&&(r.currentX!==r.startX||r.currentY!==r.startY)&&(s.startMoving=!0),s.isScrolling||d.type==="touchmove"&&s.preventTouchMoveFromPointerMove){s.isTouched=!1;return}if(!s.startMoving)return;e.allowClick=!1,!n.cssMode&&d.cancelable&&d.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&d.stopPropagation();let h=e.isHorizontal()?u:p,S=e.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;n.oneWayMovement&&(h=Math.abs(h)*(a?1:-1),S=Math.abs(S)*(a?1:-1)),r.diff=h,h*=n.touchRatio,a&&(h=-h,S=-S);const P=e.touchesDirection;e.swipeDirection=h>0?"prev":"next",e.touchesDirection=S>0?"prev":"next";const g=e.params.loop&&!n.cssMode,T=e.touchesDirection==="next"&&e.allowSlideNext||e.touchesDirection==="prev"&&e.allowSlidePrev;if(!s.isMoved){if(g&&T&&e.loopFix({direction:e.swipeDirection}),s.startTranslate=e.getTranslate(),e.setTransition(0),e.animating){const x=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});e.wrapperEl.dispatchEvent(x)}s.allowMomentumBounce=!1,n.grabCursor&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!0),e.emit("sliderFirstMove",d)}if(new Date().getTime(),n._loopSwapReset!==!1&&s.isMoved&&s.allowThresholdMove&&P!==e.touchesDirection&&g&&T&&Math.abs(h)>=1){Object.assign(r,{startX:c,startY:f,currentX:c,currentY:f,startTranslate:s.currentTranslate}),s.loopSwapReset=!0,s.startTranslate=s.currentTranslate;return}e.emit("sliderMove",d),s.isMoved=!0,s.currentTranslate=h+s.startTranslate;let m=!0,y=n.resistanceRatio;if(n.touchReleaseOnEdges&&(y=0),h>0?(g&&T&&s.allowThresholdMove&&s.currentTranslate>(n.centeredSlides?e.minTranslate()-e.slidesSizesGrid[e.activeIndex+1]-(n.slidesPerView!=="auto"&&e.slides.length-n.slidesPerView>=2?e.slidesSizesGrid[e.activeIndex+1]+e.params.spaceBetween:0)-e.params.spaceBetween:e.minTranslate())&&e.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),s.currentTranslate>e.minTranslate()&&(m=!1,n.resistance&&(s.currentTranslate=e.minTranslate()-1+(-e.minTranslate()+s.startTranslate+h)**y))):h<0&&(g&&T&&s.allowThresholdMove&&s.currentTranslate<(n.centeredSlides?e.maxTranslate()+e.slidesSizesGrid[e.slidesSizesGrid.length-1]+e.params.spaceBetween+(n.slidesPerView!=="auto"&&e.slides.length-n.slidesPerView>=2?e.slidesSizesGrid[e.slidesSizesGrid.length-1]+e.params.spaceBetween:0):e.maxTranslate())&&e.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:e.slides.length-(n.slidesPerView==="auto"?e.slidesPerViewDynamic():Math.ceil(parseFloat(n.slidesPerView,10)))}),s.currentTranslate<e.maxTranslate()&&(m=!1,n.resistance&&(s.currentTranslate=e.maxTranslate()+1-(e.maxTranslate()-s.startTranslate-h)**y))),m&&(d.preventedByNestedSwiper=!0),!e.allowSlideNext&&e.swipeDirection==="next"&&s.currentTranslate<s.startTranslate&&(s.currentTranslate=s.startTranslate),!e.allowSlidePrev&&e.swipeDirection==="prev"&&s.currentTranslate>s.startTranslate&&(s.currentTranslate=s.startTranslate),!e.allowSlidePrev&&!e.allowSlideNext&&(s.currentTranslate=s.startTranslate),n.threshold>0)if(Math.abs(h)>n.threshold||s.allowThresholdMove){if(!s.allowThresholdMove){s.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,s.currentTranslate=s.startTranslate,r.diff=e.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY;return}}else{s.currentTranslate=s.startTranslate;return}!n.followFinger||n.cssMode||((n.freeMode&&n.freeMode.enabled&&e.freeMode||n.watchSlidesProgress)&&(e.updateActiveIndex(),e.updateSlidesClasses()),n.freeMode&&n.freeMode.enabled&&e.freeMode&&e.freeMode.onTouchMove(),e.updateProgress(s.currentTranslate),e.setTranslate(s.currentTranslate))}function Qe(i){const t=this,e=t.touchEventsData;let s=i;s.originalEvent&&(s=s.originalEvent);let n;if(s.type==="touchend"||s.type==="touchcancel"){if(n=[...s.changedTouches].find(x=>x.identifier===e.touchId),!n||n.identifier!==e.touchId)return}else{if(e.touchId!==null||s.pointerId!==e.pointerId)return;n=s}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(s.type)&&!(["pointercancel","contextmenu"].includes(s.type)&&(t.browser.isSafari||t.browser.isWebView)))return;e.pointerId=null,e.touchId=null;const{params:a,touches:l,rtlTranslate:d,slidesGrid:o,enabled:c}=t;if(!c||!a.simulateTouch&&s.pointerType==="mouse")return;if(e.allowTouchCallbacks&&t.emit("touchEnd",s),e.allowTouchCallbacks=!1,!e.isTouched){e.isMoved&&a.grabCursor&&t.setGrabCursor(!1),e.isMoved=!1,e.startMoving=!1;return}a.grabCursor&&e.isMoved&&e.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);const f=v.d(),u=f-e.touchStartTime;if(t.allowClick){const x=s.path||s.composedPath&&s.composedPath();t.updateClickedSlide(x&&x[0]||s.target,x),t.emit("tap click",s),u<300&&f-e.lastClickTime<300&&t.emit("doubleTap doubleClick",s)}if(e.lastClickTime=v.d(),v.n(()=>{t.destroyed||(t.allowClick=!0)}),!e.isTouched||!e.isMoved||!t.swipeDirection||l.diff===0&&!e.loopSwapReset||e.currentTranslate===e.startTranslate&&!e.loopSwapReset){e.isTouched=!1,e.isMoved=!1,e.startMoving=!1;return}e.isTouched=!1,e.isMoved=!1,e.startMoving=!1;let p;if(a.followFinger?p=d?t.translate:-t.translate:p=-e.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){t.freeMode.onTouchEnd({currentPos:p});return}const h=p>=-t.maxTranslate()&&!t.params.loop;let S=0,P=t.slidesSizesGrid[0];for(let x=0;x<o.length;x+=x<a.slidesPerGroupSkip?1:a.slidesPerGroup){const L=x<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;typeof o[x+L]<"u"?(h||p>=o[x]&&p<o[x+L])&&(S=x,P=o[x+L]-o[x]):(h||p>=o[x])&&(S=x,P=o[o.length-1]-o[o.length-2])}let g=null,T=null;a.rewind&&(t.isBeginning?T=a.virtual&&a.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(g=0));const m=(p-o[S])/P,y=S<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(u>a.longSwipesMs){if(!a.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(m>=a.longSwipesRatio?t.slideTo(a.rewind&&t.isEnd?g:S+y):t.slideTo(S)),t.swipeDirection==="prev"&&(m>1-a.longSwipesRatio?t.slideTo(S+y):T!==null&&m<0&&Math.abs(m)>a.longSwipesRatio?t.slideTo(T):t.slideTo(S))}else{if(!a.shortSwipes){t.slideTo(t.activeIndex);return}t.navigation&&(s.target===t.navigation.nextEl||s.target===t.navigation.prevEl)?s.target===t.navigation.nextEl?t.slideTo(S+y):t.slideTo(S):(t.swipeDirection==="next"&&t.slideTo(g!==null?g:S+y),t.swipeDirection==="prev"&&t.slideTo(T!==null?T:S))}}function Q(){const i=this,{params:t,el:e}=i;if(e&&e.offsetWidth===0)return;t.breakpoints&&i.setBreakpoint();const{allowSlideNext:s,allowSlidePrev:n,snapGrid:r}=i,a=i.virtual&&i.params.virtual.enabled;i.allowSlideNext=!0,i.allowSlidePrev=!0,i.updateSize(),i.updateSlides(),i.updateSlidesClasses();const l=a&&t.loop;(t.slidesPerView==="auto"||t.slidesPerView>1)&&i.isEnd&&!i.isBeginning&&!i.params.centeredSlides&&!l?i.slideTo(i.slides.length-1,0,!1,!0):i.params.loop&&!a?i.slideToLoop(i.realIndex,0,!1,!0):i.slideTo(i.activeIndex,0,!1,!0),i.autoplay&&i.autoplay.running&&i.autoplay.paused&&(clearTimeout(i.autoplay.resizeTimeout),i.autoplay.resizeTimeout=setTimeout(()=>{i.autoplay&&i.autoplay.running&&i.autoplay.paused&&i.autoplay.resume()},500)),i.allowSlidePrev=n,i.allowSlideNext=s,i.params.watchOverflow&&r!==i.snapGrid&&i.checkOverflow()}function Ze(i){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&i.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(i.stopPropagation(),i.stopImmediatePropagation())))}function et(){const i=this,{wrapperEl:t,rtlTranslate:e,enabled:s}=i;if(!s)return;i.previousTranslate=i.translate,i.isHorizontal()?i.translate=-t.scrollLeft:i.translate=-t.scrollTop,i.translate===0&&(i.translate=0),i.updateActiveIndex(),i.updateSlidesClasses();let n;const r=i.maxTranslate()-i.minTranslate();r===0?n=0:n=(i.translate-i.minTranslate())/r,n!==i.progress&&i.updateProgress(e?-i.translate:i.translate),i.emit("setTranslate",i.translate,!1)}function tt(i){const t=this;_(t,i.target),!(t.params.cssMode||t.params.slidesPerView!=="auto"&&!t.params.autoHeight)&&t.update()}function it(){const i=this;i.documentTouchHandlerProceeded||(i.documentTouchHandlerProceeded=!0,i.params.touchReleaseOnEdges&&(i.el.style.touchAction="auto"))}const re=(i,t)=>{const e=A.g(),{params:s,el:n,wrapperEl:r,device:a}=i,l=!!s.nested,d=t==="on"?"addEventListener":"removeEventListener",o=t;!n||typeof n=="string"||(e[d]("touchstart",i.onDocumentTouchStart,{passive:!1,capture:l}),n[d]("touchstart",i.onTouchStart,{passive:!1}),n[d]("pointerdown",i.onTouchStart,{passive:!1}),e[d]("touchmove",i.onTouchMove,{passive:!1,capture:l}),e[d]("pointermove",i.onTouchMove,{passive:!1,capture:l}),e[d]("touchend",i.onTouchEnd,{passive:!0}),e[d]("pointerup",i.onTouchEnd,{passive:!0}),e[d]("pointercancel",i.onTouchEnd,{passive:!0}),e[d]("touchcancel",i.onTouchEnd,{passive:!0}),e[d]("pointerout",i.onTouchEnd,{passive:!0}),e[d]("pointerleave",i.onTouchEnd,{passive:!0}),e[d]("contextmenu",i.onTouchEnd,{passive:!0}),(s.preventClicks||s.preventClicksPropagation)&&n[d]("click",i.onClick,!0),s.cssMode&&r[d]("scroll",i.onScroll),s.updateOnWindowResize?i[o](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",Q,!0):i[o]("observerUpdate",Q,!0),n[d]("load",i.onLoad,{capture:!0}))};function st(){const i=this,{params:t}=i;i.onTouchStart=Ke.bind(i),i.onTouchMove=Je.bind(i),i.onTouchEnd=Qe.bind(i),i.onDocumentTouchStart=it.bind(i),t.cssMode&&(i.onScroll=et.bind(i)),i.onClick=Ze.bind(i),i.onLoad=tt.bind(i),re(i,"on")}function rt(){re(this,"off")}var nt={attachEvents:st,detachEvents:rt};const Z=(i,t)=>i.grid&&t.grid&&t.grid.rows>1;function at(){const i=this,{realIndex:t,initialized:e,params:s,el:n}=i,r=s.breakpoints;if(!r||r&&Object.keys(r).length===0)return;const a=A.g(),l=s.breakpointsBase==="window"||!s.breakpointsBase?s.breakpointsBase:"container",d=["window","container"].includes(s.breakpointsBase)||!s.breakpointsBase?i.el:a.querySelector(s.breakpointsBase),o=i.getBreakpoint(r,l,d);if(!o||i.currentBreakpoint===o)return;const f=(o in r?r[o]:void 0)||i.originalParams,u=Z(i,s),p=Z(i,f),h=i.params.grabCursor,S=f.grabCursor,P=s.enabled;u&&!p?(n.classList.remove(`${s.containerModifierClass}grid`,`${s.containerModifierClass}grid-column`),i.emitContainerClasses()):!u&&p&&(n.classList.add(`${s.containerModifierClass}grid`),(f.grid.fill&&f.grid.fill==="column"||!f.grid.fill&&s.grid.fill==="column")&&n.classList.add(`${s.containerModifierClass}grid-column`),i.emitContainerClasses()),h&&!S?i.unsetGrabCursor():!h&&S&&i.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(L=>{if(typeof f[L]>"u")return;const C=s[L]&&s[L].enabled,E=f[L]&&f[L].enabled;C&&!E&&i[L].disable(),!C&&E&&i[L].enable()});const g=f.direction&&f.direction!==s.direction,T=s.loop&&(f.slidesPerView!==s.slidesPerView||g),m=s.loop;g&&e&&i.changeDirection(),v.w(i.params,f);const y=i.params.enabled,x=i.params.loop;Object.assign(i,{allowTouchMove:i.params.allowTouchMove,allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev}),P&&!y?i.disable():!P&&y&&i.enable(),i.currentBreakpoint=o,i.emit("_beforeBreakpoint",f),e&&(T?(i.loopDestroy(),i.loopCreate(t),i.updateSlides()):!m&&x?(i.loopCreate(t),i.updateSlides()):m&&!x&&i.loopDestroy()),i.emit("breakpoint",f)}function lt(i,t,e){if(t===void 0&&(t="window"),!i||t==="container"&&!e)return;let s=!1;const n=A.a(),r=t==="window"?n.innerHeight:e.clientHeight,a=Object.keys(i).map(l=>{if(typeof l=="string"&&l.indexOf("@")===0){const d=parseFloat(l.substr(1));return{value:r*d,point:l}}return{value:l,point:l}});a.sort((l,d)=>parseInt(l.value,10)-parseInt(d.value,10));for(let l=0;l<a.length;l+=1){const{point:d,value:o}=a[l];t==="window"?n.matchMedia(`(min-width: ${o}px)`).matches&&(s=d):o<=e.clientWidth&&(s=d)}return s||"max"}var ot={setBreakpoint:at,getBreakpoint:lt};function dt(i,t){const e=[];return i.forEach(s=>{typeof s=="object"?Object.keys(s).forEach(n=>{s[n]&&e.push(t+n)}):typeof s=="string"&&e.push(t+s)}),e}function ct(){const i=this,{classNames:t,params:e,rtl:s,el:n,device:r}=i,a=dt(["initialized",e.direction,{"free-mode":i.params.freeMode&&e.freeMode.enabled},{autoheight:e.autoHeight},{rtl:s},{grid:e.grid&&e.grid.rows>1},{"grid-column":e.grid&&e.grid.rows>1&&e.grid.fill==="column"},{android:r.android},{ios:r.ios},{"css-mode":e.cssMode},{centered:e.cssMode&&e.centeredSlides},{"watch-progress":e.watchSlidesProgress}],e.containerModifierClass);t.push(...a),n.classList.add(...t),i.emitContainerClasses()}function ft(){const i=this,{el:t,classNames:e}=i;!t||typeof t=="string"||(t.classList.remove(...e),i.emitContainerClasses())}var ut={addClasses:ct,removeClasses:ft};function pt(){const i=this,{isLocked:t,params:e}=i,{slidesOffsetBefore:s}=e;if(s){const n=i.slides.length-1,r=i.slidesGrid[n]+i.slidesSizesGrid[n]+s*2;i.isLocked=i.size>r}else i.isLocked=i.snapGrid.length===1;e.allowSlideNext===!0&&(i.allowSlideNext=!i.isLocked),e.allowSlidePrev===!0&&(i.allowSlidePrev=!i.isLocked),t&&t!==i.isLocked&&(i.isEnd=!1),t!==i.isLocked&&i.emit(i.isLocked?"lock":"unlock")}var ht={checkOverflow:pt},j={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function mt(i,t){return function(s){s===void 0&&(s={});const n=Object.keys(s)[0],r=s[n];if(typeof r!="object"||r===null){v.w(t,s);return}if(i[n]===!0&&(i[n]={enabled:!0}),n==="navigation"&&i[n]&&i[n].enabled&&!i[n].prevEl&&!i[n].nextEl&&(i[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&i[n]&&i[n].enabled&&!i[n].el&&(i[n].auto=!0),!(n in i&&"enabled"in r)){v.w(t,s);return}typeof i[n]=="object"&&!("enabled"in i[n])&&(i[n].enabled=!0),i[n]||(i[n]={enabled:!1}),v.w(t,s)}}const Y={eventsEmitter:ue,update:ye,translate:Le,transition:Ge,slide:Re,loop:Ye,grabCursor:je,events:nt,breakpoints:ot,checkOverflow:ht,classes:ut},X={};class V{constructor(){let t,e;for(var s=arguments.length,n=new Array(s),r=0;r<s;r++)n[r]=arguments[r];n.length===1&&n[0].constructor&&Object.prototype.toString.call(n[0]).slice(8,-1)==="Object"?e=n[0]:[t,e]=n,e||(e={}),e=v.w({},e),t&&!e.el&&(e.el=t);const a=A.g();if(e.el&&typeof e.el=="string"&&a.querySelectorAll(e.el).length>1){const c=[];return a.querySelectorAll(e.el).forEach(f=>{const u=v.w({},e,{el:f});c.push(new V(u))}),c}const l=this;l.__swiper__=!0,l.support=ee(),l.device=te({userAgent:e.userAgent}),l.browser=ie(),l.eventsListeners={},l.eventsAnyListeners=[],l.modules=[...l.__modules__],e.modules&&Array.isArray(e.modules)&&l.modules.push(...e.modules);const d={};l.modules.forEach(c=>{c({params:e,swiper:l,extendParams:mt(e,d),on:l.on.bind(l),once:l.once.bind(l),off:l.off.bind(l),emit:l.emit.bind(l)})});const o=v.w({},j,d);return l.params=v.w({},o,X,e),l.originalParams=v.w({},l.params),l.passedParams=v.w({},e),l.params&&l.params.on&&Object.keys(l.params.on).forEach(c=>{l.on(c,l.params.on[c])}),l.params&&l.params.onAny&&l.onAny(l.params.onAny),Object.assign(l,{enabled:l.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return l.params.direction==="horizontal"},isVertical(){return l.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:l.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.emit("_swiper"),l.params.init&&l.init(),l}getDirectionLabel(t){return this.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}getSlideIndex(t){const{slidesEl:e,params:s}=this,n=v.e(e,`.${s.slideClass}, swiper-slide`),r=v.h(n[0]);return v.h(t)-r}getSlideIndexByData(t){return this.getSlideIndex(this.slides.find(e=>e.getAttribute("data-swiper-slide-index")*1===t))}recalcSlides(){const t=this,{slidesEl:e,params:s}=t;t.slides=v.e(e,`.${s.slideClass}, swiper-slide`)}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,e){const s=this;t=Math.min(Math.max(t,0),1);const n=s.minTranslate(),a=(s.maxTranslate()-n)*t+n;s.translateTo(a,typeof e>"u"?0:e),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const e=t.el.className.split(" ").filter(s=>s.indexOf("swiper")===0||s.indexOf(t.params.containerModifierClass)===0);t.emit("_containerClasses",e.join(" "))}getSlideClasses(t){const e=this;return e.destroyed?"":t.className.split(" ").filter(s=>s.indexOf("swiper-slide")===0||s.indexOf(e.params.slideClass)===0).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const e=[];t.slides.forEach(s=>{const n=t.getSlideClasses(s);e.push({slideEl:s,classNames:n}),t.emit("_slideClass",s,n)}),t.emit("_slideClasses",e)}slidesPerViewDynamic(t,e){t===void 0&&(t="current"),e===void 0&&(e=!1);const s=this,{params:n,slides:r,slidesGrid:a,slidesSizesGrid:l,size:d,activeIndex:o}=s;let c=1;if(typeof n.slidesPerView=="number")return n.slidesPerView;if(n.centeredSlides){let f=r[o]?Math.ceil(r[o].swiperSlideSize):0,u;for(let p=o+1;p<r.length;p+=1)r[p]&&!u&&(f+=Math.ceil(r[p].swiperSlideSize),c+=1,f>d&&(u=!0));for(let p=o-1;p>=0;p-=1)r[p]&&!u&&(f+=r[p].swiperSlideSize,c+=1,f>d&&(u=!0))}else if(t==="current")for(let f=o+1;f<r.length;f+=1)(e?a[f]+l[f]-a[o]<d:a[f]-a[o]<d)&&(c+=1);else for(let f=o-1;f>=0;f-=1)a[o]-a[f]<d&&(c+=1);return c}update(){const t=this;if(!t||t.destroyed)return;const{snapGrid:e,params:s}=t;s.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(a=>{a.complete&&_(t,a)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();function n(){const a=t.rtlTranslate?t.translate*-1:t.translate,l=Math.min(Math.max(a,t.maxTranslate()),t.minTranslate());t.setTranslate(l),t.updateActiveIndex(),t.updateSlidesClasses()}let r;if(s.freeMode&&s.freeMode.enabled&&!s.cssMode)n(),s.autoHeight&&t.updateAutoHeight();else{if((s.slidesPerView==="auto"||s.slidesPerView>1)&&t.isEnd&&!s.centeredSlides){const a=t.virtual&&s.virtual.enabled?t.virtual.slides:t.slides;r=t.slideTo(a.length-1,0,!1,!0)}else r=t.slideTo(t.activeIndex,0,!1,!0);r||n()}s.watchOverflow&&e!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,e){e===void 0&&(e=!0);const s=this,n=s.params.direction;return t||(t=n==="horizontal"?"vertical":"horizontal"),t===n||t!=="horizontal"&&t!=="vertical"||(s.el.classList.remove(`${s.params.containerModifierClass}${n}`),s.el.classList.add(`${s.params.containerModifierClass}${t}`),s.emitContainerClasses(),s.params.direction=t,s.slides.forEach(r=>{t==="vertical"?r.style.width="":r.style.height=""}),s.emit("changeDirection"),e&&s.update()),s}changeLanguageDirection(t){const e=this;e.rtl&&t==="rtl"||!e.rtl&&t==="ltr"||(e.rtl=t==="rtl",e.rtlTranslate=e.params.direction==="horizontal"&&e.rtl,e.rtl?(e.el.classList.add(`${e.params.containerModifierClass}rtl`),e.el.dir="rtl"):(e.el.classList.remove(`${e.params.containerModifierClass}rtl`),e.el.dir="ltr"),e.update())}mount(t){const e=this;if(e.mounted)return!0;let s=t||e.params.el;if(typeof s=="string"&&(s=document.querySelector(s)),!s)return!1;s.swiper=e,s.parentNode&&s.parentNode.host&&s.parentNode.host.nodeName===e.params.swiperElementNodeName.toUpperCase()&&(e.isElement=!0);const n=()=>`.${(e.params.wrapperClass||"").trim().split(" ").join(".")}`;let a=s&&s.shadowRoot&&s.shadowRoot.querySelector?s.shadowRoot.querySelector(n()):v.e(s,n())[0];return!a&&e.params.createElements&&(a=v.c("div",e.params.wrapperClass),s.append(a),v.e(s,`.${e.params.slideClass}`).forEach(l=>{a.append(l)})),Object.assign(e,{el:s,wrapperEl:a,slidesEl:e.isElement&&!s.parentNode.host.slideSlots?s.parentNode.host:a,hostEl:e.isElement?s.parentNode.host:s,mounted:!0,rtl:s.dir.toLowerCase()==="rtl"||v.p(s,"direction")==="rtl",rtlTranslate:e.params.direction==="horizontal"&&(s.dir.toLowerCase()==="rtl"||v.p(s,"direction")==="rtl"),wrongRTL:v.p(a,"display")==="-webkit-box"}),!0}init(t){const e=this;if(e.initialized||e.mount(t)===!1)return e;e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.enabled&&e.setGrabCursor(),e.params.loop&&e.virtual&&e.params.virtual.enabled?e.slideTo(e.params.initialSlide+e.virtual.slidesBefore,0,e.params.runCallbacksOnInit,!1,!0):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit,!1,!0),e.params.loop&&e.loopCreate(void 0,!0),e.attachEvents();const n=[...e.el.querySelectorAll('[loading="lazy"]')];return e.isElement&&n.push(...e.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(r=>{r.complete?_(e,r):r.addEventListener("load",a=>{_(e,a.target)})}),q(e),e.initialized=!0,q(e),e.emit("init"),e.emit("afterInit"),e}destroy(t,e){t===void 0&&(t=!0),e===void 0&&(e=!0);const s=this,{params:n,el:r,wrapperEl:a,slides:l}=s;return typeof s.params>"u"||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),n.loop&&s.loopDestroy(),e&&(s.removeClasses(),r&&typeof r!="string"&&r.removeAttribute("style"),a&&a.removeAttribute("style"),l&&l.length&&l.forEach(d=>{d.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),d.removeAttribute("style"),d.removeAttribute("data-swiper-slide-index")})),s.emit("destroy"),Object.keys(s.eventsListeners).forEach(d=>{s.off(d)}),t!==!1&&(s.el&&typeof s.el!="string"&&(s.el.swiper=null),v.x(s)),s.destroyed=!0),null}static extendDefaults(t){v.w(X,t)}static get extendedDefaults(){return X}static get defaults(){return j}static installModule(t){V.prototype.__modules__||(V.prototype.__modules__=[]);const e=V.prototype.__modules__;typeof t=="function"&&e.indexOf(t)<0&&e.push(t)}static use(t){return Array.isArray(t)?(t.forEach(e=>V.installModule(e)),V):(V.installModule(t),V)}}Object.keys(Y).forEach(i=>{Object.keys(Y[i]).forEach(t=>{V.prototype[t]=Y[i][t]})});V.use([ce,fe]);exports.S=V;exports.d=j;
|
2
|
+
//# sourceMappingURL=index.cjs420.js.map
|