@anoki/fse-ui 2.3.0-8-SNAPSHOT → 2.3.0-9-SNAPSHOT
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs159.js +1 -1
- package/dist/index.cjs160.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs18.js.map +1 -1
- package/dist/index.cjs266.js +1 -1
- package/dist/index.cjs267.js +1 -1
- package/dist/index.cjs268.js +1 -1
- package/dist/index.cjs285.js +1 -1
- package/dist/index.cjs298.js +1 -1
- package/dist/index.cjs299.js +1 -1
- package/dist/index.cjs310.js +1 -1
- package/dist/index.cjs315.js +1 -1
- package/dist/index.cjs319.js +1 -1
- package/dist/index.cjs345.js +1 -1
- package/dist/index.cjs361.js +1 -1
- package/dist/index.cjs368.js +1 -1
- package/dist/index.cjs369.js +1 -1
- package/dist/index.cjs374.js +1 -1
- package/dist/index.cjs375.js +1 -1
- package/dist/index.cjs382.js +1 -1
- package/dist/index.cjs384.js +1 -1
- package/dist/index.cjs386.js +1 -1
- package/dist/index.cjs387.js +1 -1
- package/dist/index.cjs396.js +1 -1
- package/dist/index.cjs405.js +1 -1
- package/dist/index.cjs424.js +1 -1
- package/dist/index.cjs425.js +1 -1
- package/dist/index.cjs449.js +1 -1
- package/dist/index.cjs454.js +1 -1
- package/dist/index.cjs46.js +1 -1
- package/dist/index.cjs467.js +1 -1
- package/dist/index.cjs468.js +1 -1
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs472.js +1 -1
- package/dist/index.cjs473.js +1 -1
- package/dist/index.cjs474.js +1 -1
- package/dist/index.cjs476.js +1 -1
- package/dist/index.cjs477.js +1 -1
- package/dist/index.cjs477.js.map +1 -1
- package/dist/index.cjs480.js +2 -0
- package/dist/index.cjs480.js.map +1 -0
- package/dist/{index.cjs478.js → index.cjs481.js} +1 -1
- package/dist/index.cjs481.js.map +1 -0
- package/dist/index.cjs482.js +1 -1
- package/dist/index.cjs482.js.map +1 -1
- package/dist/index.cjs483.js +1 -1
- package/dist/index.cjs483.js.map +1 -1
- package/dist/index.cjs484.js +1 -1
- package/dist/index.cjs484.js.map +1 -1
- package/dist/index.cjs485.js +1 -1
- package/dist/index.cjs485.js.map +1 -1
- package/dist/index.cjs491.js +1 -1
- package/dist/index.cjs491.js.map +1 -1
- package/dist/index.cjs492.js +1 -1
- package/dist/index.cjs492.js.map +1 -1
- package/dist/index.cjs493.js +1 -1
- package/dist/index.cjs493.js.map +1 -1
- package/dist/index.cjs494.js +1 -1
- package/dist/index.cjs494.js.map +1 -1
- package/dist/index.cjs495.js +1 -1
- package/dist/index.cjs495.js.map +1 -1
- package/dist/{index.cjs487.js → index.cjs496.js} +2 -2
- package/dist/{index.cjs487.js.map → index.cjs496.js.map} +1 -1
- package/dist/{index.cjs488.js → index.cjs497.js} +2 -2
- package/dist/{index.cjs488.js.map → index.cjs497.js.map} +1 -1
- package/dist/{index.cjs489.js → index.cjs498.js} +2 -2
- package/dist/{index.cjs489.js.map → index.cjs498.js.map} +1 -1
- package/dist/{index.cjs490.js → index.cjs499.js} +2 -2
- package/dist/{index.cjs490.js.map → index.cjs499.js.map} +1 -1
- package/dist/index.cjs500.js +2 -0
- package/dist/index.cjs500.js.map +1 -0
- package/dist/index.cjs501.js +2 -0
- package/dist/index.cjs501.js.map +1 -0
- package/dist/index.cjs502.js +1 -1
- package/dist/index.cjs502.js.map +1 -1
- package/dist/index.cjs503.js +1 -1
- package/dist/index.cjs503.js.map +1 -1
- package/dist/index.cjs504.js +1 -1
- package/dist/index.cjs504.js.map +1 -1
- package/dist/index.cjs508.js +1 -1
- package/dist/index.cjs508.js.map +1 -1
- package/dist/index.cjs510.js +2 -0
- package/dist/index.cjs510.js.map +1 -0
- package/dist/index.cjs511.js +1 -1
- package/dist/index.cjs511.js.map +1 -1
- package/dist/index.cjs514.js +1 -1
- package/dist/index.cjs514.js.map +1 -1
- package/dist/index.cjs515.js +1 -1
- package/dist/index.cjs515.js.map +1 -1
- package/dist/index.cjs527.js +2 -0
- package/dist/index.cjs527.js.map +1 -0
- package/dist/index.cjs531.js +2 -0
- package/dist/index.cjs531.js.map +1 -0
- package/dist/index.cjs532.js +2 -0
- package/dist/index.cjs532.js.map +1 -0
- package/dist/index.cjs533.js +1 -1
- package/dist/index.cjs533.js.map +1 -1
- package/dist/index.cjs534.js +1 -1
- package/dist/index.cjs534.js.map +1 -1
- package/dist/index.cjs535.js +1 -1
- package/dist/index.cjs535.js.map +1 -1
- package/dist/index.cjs536.js +1 -1
- package/dist/index.cjs536.js.map +1 -1
- package/dist/index.cjs537.js +1 -1
- package/dist/index.cjs537.js.map +1 -1
- package/dist/index.cjs538.js +1 -1
- package/dist/index.cjs538.js.map +1 -1
- package/dist/index.cjs539.js +1 -1
- package/dist/index.cjs539.js.map +1 -1
- package/dist/index.cjs540.js +1 -1
- package/dist/index.cjs540.js.map +1 -1
- package/dist/index.cjs541.js +1 -1
- package/dist/index.cjs541.js.map +1 -1
- package/dist/index.cjs542.js +1 -1
- package/dist/index.cjs542.js.map +1 -1
- package/dist/index.cjs543.js +1 -1
- package/dist/index.cjs543.js.map +1 -1
- package/dist/index.cjs544.js +1 -1
- package/dist/index.cjs544.js.map +1 -1
- package/dist/index.cjs545.js +1 -1
- package/dist/index.cjs545.js.map +1 -1
- package/dist/index.cjs546.js +1 -1
- package/dist/index.cjs546.js.map +1 -1
- package/dist/index.cjs547.js +1 -1
- package/dist/index.cjs547.js.map +1 -1
- package/dist/index.cjs548.js +1 -1
- package/dist/index.cjs548.js.map +1 -1
- package/dist/index.cjs549.js +1 -1
- package/dist/index.cjs549.js.map +1 -1
- package/dist/index.cjs550.js +1 -1
- package/dist/index.cjs550.js.map +1 -1
- package/dist/index.cjs551.js +1 -1
- package/dist/index.cjs551.js.map +1 -1
- package/dist/index.cjs552.js +1 -1
- package/dist/index.cjs552.js.map +1 -1
- package/dist/index.cjs553.js +1 -1
- package/dist/index.cjs553.js.map +1 -1
- package/dist/index.cjs554.js +1 -1
- package/dist/index.cjs554.js.map +1 -1
- package/dist/index.cjs555.js +1 -1
- package/dist/index.cjs555.js.map +1 -1
- package/dist/index.cjs556.js +1 -1
- package/dist/index.cjs556.js.map +1 -1
- package/dist/index.cjs557.js +1 -1
- package/dist/index.cjs557.js.map +1 -1
- package/dist/index.cjs558.js +1 -1
- package/dist/index.cjs558.js.map +1 -1
- package/dist/index.cjs559.js +1 -1
- package/dist/index.cjs559.js.map +1 -1
- package/dist/index.cjs560.js +1 -1
- package/dist/index.cjs560.js.map +1 -1
- package/dist/index.cjs561.js +1 -1
- package/dist/index.cjs561.js.map +1 -1
- package/dist/index.cjs562.js +1 -1
- package/dist/index.cjs562.js.map +1 -1
- package/dist/index.cjs563.js +1 -1
- package/dist/index.cjs563.js.map +1 -1
- package/dist/index.cjs564.js +1 -1
- package/dist/index.cjs564.js.map +1 -1
- package/dist/index.cjs565.js +1 -1
- package/dist/index.cjs565.js.map +1 -1
- package/dist/index.cjs566.js +1 -1
- package/dist/index.cjs566.js.map +1 -1
- package/dist/index.cjs567.js +1 -1
- package/dist/index.cjs567.js.map +1 -1
- package/dist/index.cjs568.js +1 -1
- package/dist/index.cjs568.js.map +1 -1
- package/dist/index.cjs569.js +1 -1
- package/dist/index.cjs569.js.map +1 -1
- package/dist/index.cjs570.js +1 -1
- package/dist/index.cjs570.js.map +1 -1
- package/dist/{index.cjs517.js → index.cjs571.js} +1 -1
- package/dist/{index.cjs517.js.map → index.cjs571.js.map} +1 -1
- package/dist/index.cjs572.js +2 -0
- package/dist/index.cjs572.js.map +1 -0
- package/dist/index.cjs573.js +1 -1
- package/dist/index.cjs573.js.map +1 -1
- package/dist/index.cjs574.js +1 -1
- package/dist/index.cjs574.js.map +1 -1
- package/dist/index.cjs575.js +1 -1
- package/dist/index.cjs575.js.map +1 -1
- package/dist/index.cjs576.js +1 -1
- package/dist/index.cjs576.js.map +1 -1
- package/dist/index.cjs580.js +1 -1
- package/dist/index.cjs580.js.map +1 -1
- package/dist/index.cjs581.js +1 -2
- package/dist/index.cjs581.js.map +1 -1
- package/dist/index.cjs582.js +1 -8
- package/dist/index.cjs582.js.map +1 -1
- package/dist/index.cjs583.js +1 -1
- package/dist/index.cjs583.js.map +1 -1
- package/dist/index.cjs584.js +1 -1
- package/dist/index.cjs584.js.map +1 -1
- package/dist/index.cjs585.js +1 -6
- package/dist/index.cjs585.js.map +1 -1
- package/dist/index.cjs586.js +1 -1
- package/dist/index.cjs586.js.map +1 -1
- package/dist/index.cjs587.js +1 -2
- package/dist/index.cjs587.js.map +1 -1
- package/dist/index.cjs588.js +1 -3
- package/dist/index.cjs588.js.map +1 -1
- package/dist/index.cjs589.js +1 -1
- package/dist/index.cjs590.js +1 -1
- package/dist/index.cjs590.js.map +1 -1
- package/dist/index.cjs591.js +1 -1
- package/dist/index.cjs591.js.map +1 -1
- package/dist/index.cjs592.js +1 -1
- package/dist/index.cjs592.js.map +1 -1
- package/dist/index.cjs593.js +1 -1
- package/dist/index.cjs593.js.map +1 -1
- package/dist/index.cjs596.js +1 -1
- package/dist/index.cjs610.js +1 -1
- package/dist/index.cjs613.js +1 -1
- package/dist/index.cjs616.js +1 -1
- package/dist/index.cjs616.js.map +1 -1
- package/dist/index.cjs617.js +1 -1
- package/dist/index.cjs617.js.map +1 -1
- package/dist/index.cjs618.js +1 -1
- package/dist/index.cjs618.js.map +1 -1
- package/dist/index.cjs619.js +1 -1
- package/dist/index.cjs619.js.map +1 -1
- package/dist/index.cjs620.js +1 -1
- package/dist/index.cjs620.js.map +1 -1
- package/dist/index.cjs621.js +1 -1
- package/dist/index.cjs621.js.map +1 -1
- package/dist/index.cjs622.js +1 -1
- package/dist/index.cjs622.js.map +1 -1
- package/dist/index.cjs623.js +1 -1
- package/dist/index.cjs623.js.map +1 -1
- package/dist/index.cjs624.js +2 -1
- package/dist/index.cjs624.js.map +1 -1
- package/dist/index.cjs625.js +8 -1
- package/dist/index.cjs625.js.map +1 -1
- package/dist/index.cjs626.js +1 -1
- package/dist/index.cjs626.js.map +1 -1
- package/dist/index.cjs627.js +1 -1
- package/dist/index.cjs627.js.map +1 -1
- package/dist/index.cjs628.js +6 -1
- package/dist/index.cjs628.js.map +1 -1
- package/dist/index.cjs629.js +1 -1
- package/dist/index.cjs629.js.map +1 -1
- package/dist/index.cjs630.js +2 -1
- package/dist/index.cjs630.js.map +1 -1
- package/dist/index.cjs631.js +3 -1
- package/dist/index.cjs631.js.map +1 -1
- package/dist/index.cjs632.js +1 -1
- package/dist/index.cjs632.js.map +1 -1
- package/dist/index.cjs633.js +1 -1
- package/dist/index.cjs633.js.map +1 -1
- package/dist/index.cjs634.js +1 -1
- package/dist/index.cjs634.js.map +1 -1
- package/dist/index.cjs635.js +1 -1
- package/dist/index.cjs635.js.map +1 -1
- package/dist/index.cjs636.js +4 -1
- package/dist/index.cjs636.js.map +1 -1
- package/dist/index.cjs637.js +1 -1
- package/dist/index.cjs637.js.map +1 -1
- package/dist/index.cjs638.js +1 -1
- package/dist/index.cjs638.js.map +1 -1
- package/dist/index.cjs639.js +1 -1
- package/dist/index.cjs639.js.map +1 -1
- package/dist/index.cjs640.js +1 -1
- package/dist/index.cjs640.js.map +1 -1
- package/dist/index.cjs641.js +1 -7
- package/dist/index.cjs641.js.map +1 -1
- package/dist/index.cjs642.js +1 -1
- package/dist/index.cjs642.js.map +1 -1
- package/dist/index.cjs643.js +1 -1
- package/dist/index.cjs643.js.map +1 -1
- package/dist/index.cjs644.js +1 -1
- package/dist/index.cjs644.js.map +1 -1
- package/dist/index.cjs645.js +1 -2
- package/dist/index.cjs645.js.map +1 -1
- package/dist/index.cjs646.js +1 -1
- package/dist/index.cjs646.js.map +1 -1
- package/dist/index.cjs647.js +1 -2
- package/dist/index.cjs647.js.map +1 -1
- package/dist/index.cjs648.js +1 -3
- package/dist/index.cjs648.js.map +1 -1
- package/dist/index.cjs649.js +1 -4
- package/dist/index.cjs649.js.map +1 -1
- package/dist/index.cjs650.js +1 -1
- package/dist/index.cjs650.js.map +1 -1
- package/dist/index.cjs651.js +1 -1
- package/dist/index.cjs651.js.map +1 -1
- package/dist/index.cjs652.js +7 -1
- package/dist/index.cjs652.js.map +1 -1
- package/dist/index.cjs653.js +1 -1
- package/dist/index.cjs653.js.map +1 -1
- package/dist/index.cjs654.js +1 -1
- package/dist/index.cjs654.js.map +1 -1
- package/dist/index.cjs655.js +1 -1
- package/dist/index.cjs655.js.map +1 -1
- package/dist/index.cjs656.js +2 -1
- package/dist/index.cjs656.js.map +1 -1
- package/dist/index.cjs657.js +1 -1
- package/dist/index.cjs657.js.map +1 -1
- package/dist/index.cjs658.js +2 -1
- package/dist/index.cjs658.js.map +1 -1
- package/dist/index.cjs659.js +3 -1
- package/dist/index.cjs659.js.map +1 -1
- package/dist/index.cjs660.js +4 -1
- package/dist/index.cjs660.js.map +1 -1
- package/dist/index.cjs661.js +1 -1
- package/dist/index.cjs661.js.map +1 -1
- package/dist/index.cjs662.js +1 -1
- package/dist/index.cjs662.js.map +1 -1
- package/dist/index.cjs663.js +1 -1
- package/dist/index.cjs663.js.map +1 -1
- package/dist/index.cjs664.js +1 -1
- package/dist/index.cjs664.js.map +1 -1
- package/dist/index.cjs665.js +1 -1
- package/dist/index.cjs665.js.map +1 -1
- package/dist/index.cjs666.js +1 -1
- package/dist/index.cjs666.js.map +1 -1
- package/dist/index.cjs667.js +1 -1
- package/dist/index.cjs667.js.map +1 -1
- package/dist/index.cjs668.js +1 -5
- package/dist/index.cjs668.js.map +1 -1
- package/dist/index.cjs669.js +1 -1
- package/dist/index.cjs669.js.map +1 -1
- package/dist/index.cjs670.js +1 -12
- package/dist/index.cjs670.js.map +1 -1
- package/dist/index.cjs671.js +1 -1
- package/dist/index.cjs671.js.map +1 -1
- package/dist/index.cjs672.js +1 -1
- package/dist/index.cjs672.js.map +1 -1
- package/dist/index.cjs673.js +1 -1
- package/dist/index.cjs673.js.map +1 -1
- package/dist/index.cjs674.js +1 -1
- package/dist/index.cjs674.js.map +1 -1
- package/dist/index.cjs675.js +1 -1
- package/dist/index.cjs675.js.map +1 -1
- package/dist/index.cjs676.js +1 -1
- package/dist/index.cjs676.js.map +1 -1
- package/dist/index.cjs677.js +1 -1
- package/dist/index.cjs677.js.map +1 -1
- package/dist/index.cjs678.js +1 -1
- package/dist/index.cjs678.js.map +1 -1
- package/dist/index.cjs679.js +1 -1
- package/dist/index.cjs679.js.map +1 -1
- package/dist/index.cjs680.js +1 -2
- package/dist/index.cjs680.js.map +1 -1
- package/dist/index.cjs681.js +1 -1
- package/dist/index.cjs681.js.map +1 -1
- package/dist/index.cjs682.js +1 -1
- package/dist/index.cjs682.js.map +1 -1
- package/dist/index.cjs683.js +1 -1
- package/dist/index.cjs683.js.map +1 -1
- package/dist/index.cjs684.js +1 -1
- package/dist/index.cjs684.js.map +1 -1
- package/dist/index.cjs685.js +1 -1
- package/dist/index.cjs685.js.map +1 -1
- package/dist/index.cjs686.js +1 -1
- package/dist/index.cjs686.js.map +1 -1
- package/dist/index.cjs687.js +1 -1
- package/dist/index.cjs687.js.map +1 -1
- package/dist/index.cjs688.js +1 -1
- package/dist/index.cjs688.js.map +1 -1
- package/dist/index.cjs689.js +1 -1
- package/dist/index.cjs689.js.map +1 -1
- package/dist/index.cjs690.js +1 -1
- package/dist/index.cjs690.js.map +1 -1
- package/dist/index.cjs691.js +1 -1
- package/dist/index.cjs691.js.map +1 -1
- package/dist/index.cjs692.js +1 -1
- package/dist/index.cjs692.js.map +1 -1
- package/dist/index.cjs693.js +1 -1
- package/dist/index.cjs693.js.map +1 -1
- package/dist/index.cjs694.js +38 -1
- package/dist/index.cjs694.js.map +1 -1
- package/dist/index.cjs695.js +1 -1
- package/dist/index.cjs695.js.map +1 -1
- package/dist/index.cjs696.js +1 -1
- package/dist/index.cjs696.js.map +1 -1
- package/dist/index.cjs697.js +1 -1
- package/dist/index.cjs697.js.map +1 -1
- package/dist/index.cjs698.js +1 -1
- package/dist/index.cjs698.js.map +1 -1
- package/dist/index.cjs699.js +1 -1
- package/dist/index.cjs699.js.map +1 -1
- package/dist/index.cjs700.js +1 -1
- package/dist/index.cjs700.js.map +1 -1
- package/dist/index.cjs701.js +1 -1
- package/dist/index.cjs701.js.map +1 -1
- package/dist/index.cjs702.js +1 -1
- package/dist/index.cjs702.js.map +1 -1
- package/dist/index.cjs703.js +1 -1
- package/dist/index.cjs703.js.map +1 -1
- package/dist/index.cjs704.js +1 -1
- package/dist/index.cjs704.js.map +1 -1
- package/dist/index.cjs705.js +1 -1
- package/dist/index.cjs705.js.map +1 -1
- package/dist/index.cjs706.js +2 -1
- package/dist/index.cjs706.js.map +1 -1
- package/dist/index.cjs707.js +1 -1
- package/dist/index.cjs707.js.map +1 -1
- package/dist/index.cjs708.js +1 -1
- package/dist/index.cjs708.js.map +1 -1
- package/dist/index.cjs709.js +1 -1
- package/dist/index.cjs709.js.map +1 -1
- package/dist/index.cjs710.js +1 -1
- package/dist/index.cjs710.js.map +1 -1
- package/dist/index.cjs711.js +1 -1
- package/dist/index.cjs711.js.map +1 -1
- package/dist/index.cjs712.js +1 -1
- package/dist/index.cjs712.js.map +1 -1
- package/dist/index.cjs713.js +1 -1
- package/dist/index.cjs713.js.map +1 -1
- package/dist/index.cjs714.js +1 -1
- package/dist/index.cjs714.js.map +1 -1
- package/dist/index.cjs715.js +1 -1
- package/dist/index.cjs715.js.map +1 -1
- package/dist/index.cjs716.js +1 -4
- package/dist/index.cjs716.js.map +1 -1
- package/dist/index.cjs717.js +1 -1
- package/dist/index.cjs717.js.map +1 -1
- package/dist/index.cjs718.js +5 -1
- package/dist/index.cjs718.js.map +1 -1
- package/dist/index.cjs719.js +1 -1
- package/dist/index.cjs719.js.map +1 -1
- package/dist/index.cjs720.js +12 -1
- package/dist/index.cjs720.js.map +1 -1
- package/dist/index.cjs721.js +1 -1
- package/dist/index.cjs721.js.map +1 -1
- package/dist/index.cjs722.js +1 -1
- package/dist/index.cjs722.js.map +1 -1
- package/dist/index.cjs723.js +5 -1
- package/dist/index.cjs723.js.map +1 -1
- package/dist/index.cjs724.js +1 -1
- package/dist/index.cjs724.js.map +1 -1
- package/dist/index.cjs725.js +1 -1
- package/dist/index.cjs725.js.map +1 -1
- package/dist/index.cjs726.js +1 -1
- package/dist/index.cjs726.js.map +1 -1
- package/dist/index.cjs727.js +1 -1
- package/dist/index.cjs727.js.map +1 -1
- package/dist/index.cjs728.js +1 -1
- package/dist/index.cjs728.js.map +1 -1
- package/dist/index.cjs729.js +1 -1
- package/dist/index.cjs729.js.map +1 -1
- package/dist/index.cjs730.js +1 -1
- package/dist/index.cjs730.js.map +1 -1
- package/dist/index.cjs731.js +1 -1
- package/dist/index.cjs731.js.map +1 -1
- package/dist/index.cjs732.js +1 -1
- package/dist/index.cjs732.js.map +1 -1
- package/dist/index.cjs733.js +1 -1
- package/dist/index.cjs733.js.map +1 -1
- package/dist/index.cjs734.js +1 -1
- package/dist/index.cjs734.js.map +1 -1
- package/dist/index.cjs735.js +1 -5
- package/dist/index.cjs735.js.map +1 -1
- package/dist/index.cjs736.js +1 -1
- package/dist/index.cjs737.js +1 -1
- package/dist/index.cjs737.js.map +1 -1
- package/dist/index.cjs738.js +1 -1
- package/dist/index.cjs738.js.map +1 -1
- package/dist/index.cjs739.js +1 -1
- package/dist/index.cjs739.js.map +1 -1
- package/dist/index.cjs740.js +1 -1
- package/dist/index.cjs740.js.map +1 -1
- package/dist/index.cjs741.js +1 -1
- package/dist/index.cjs741.js.map +1 -1
- package/dist/index.cjs742.js +1 -1
- package/dist/index.cjs742.js.map +1 -1
- package/dist/index.cjs743.js +1 -1
- package/dist/index.cjs743.js.map +1 -1
- package/dist/index.cjs744.js +1 -1
- package/dist/index.cjs744.js.map +1 -1
- package/dist/index.cjs745.js +1 -1
- package/dist/index.cjs745.js.map +1 -1
- package/dist/index.cjs746.js +1 -1
- package/dist/index.cjs746.js.map +1 -1
- package/dist/index.cjs747.js +1 -1
- package/dist/index.cjs747.js.map +1 -1
- package/dist/index.cjs748.js +1 -1
- package/dist/index.cjs748.js.map +1 -1
- package/dist/index.cjs749.js +1 -38
- package/dist/index.cjs749.js.map +1 -1
- package/dist/index.cjs750.js +1 -1
- package/dist/index.cjs750.js.map +1 -1
- package/dist/index.cjs751.js +1 -1
- package/dist/index.cjs751.js.map +1 -1
- package/dist/index.cjs752.js +1 -1
- package/dist/index.cjs752.js.map +1 -1
- package/dist/index.cjs753.js +1 -1
- package/dist/index.cjs753.js.map +1 -1
- package/dist/index.cjs754.js +1 -1
- package/dist/index.cjs754.js.map +1 -1
- package/dist/index.cjs755.js +1 -1
- package/dist/index.cjs755.js.map +1 -1
- package/dist/index.cjs756.js +1 -1
- package/dist/index.cjs756.js.map +1 -1
- package/dist/index.cjs757.js +1 -1
- package/dist/index.cjs757.js.map +1 -1
- package/dist/index.cjs758.js +1 -1
- package/dist/index.cjs758.js.map +1 -1
- package/dist/index.cjs759.js +1 -1
- package/dist/index.cjs759.js.map +1 -1
- package/dist/index.cjs760.js +1 -1
- package/dist/index.cjs760.js.map +1 -1
- package/dist/index.cjs761.js +1 -1
- package/dist/index.cjs761.js.map +1 -1
- package/dist/index.cjs762.js +1 -1
- package/dist/index.cjs762.js.map +1 -1
- package/dist/index.cjs763.js +1 -1
- package/dist/index.cjs763.js.map +1 -1
- package/dist/index.cjs764.js +1 -1
- package/dist/index.cjs764.js.map +1 -1
- package/dist/index.cjs765.js +1 -1
- package/dist/index.cjs765.js.map +1 -1
- package/dist/index.cjs766.js +1 -1
- package/dist/index.cjs766.js.map +1 -1
- package/dist/index.cjs767.js +1 -1
- package/dist/index.cjs767.js.map +1 -1
- package/dist/index.cjs768.js +1 -1
- package/dist/index.cjs768.js.map +1 -1
- package/dist/index.cjs769.js +1 -1
- package/dist/index.cjs769.js.map +1 -1
- package/dist/index.cjs770.js +1 -1
- package/dist/index.cjs770.js.map +1 -1
- package/dist/index.cjs772.js +1 -1
- package/dist/index.cjs772.js.map +1 -1
- package/dist/index.cjs773.js +1 -1
- package/dist/index.cjs773.js.map +1 -1
- package/dist/index.cjs774.js +1 -1
- package/dist/index.cjs774.js.map +1 -1
- package/dist/index.cjs775.js +1 -1
- package/dist/index.cjs775.js.map +1 -1
- package/dist/index.cjs777.js +1 -1
- package/dist/index.cjs777.js.map +1 -1
- package/dist/index.cjs778.js +1 -1
- package/dist/index.cjs778.js.map +1 -1
- package/dist/index.cjs779.js +1 -1
- package/dist/index.cjs779.js.map +1 -1
- package/dist/index.cjs780.js +1 -1
- package/dist/index.cjs780.js.map +1 -1
- package/dist/index.cjs781.js +1 -1
- package/dist/index.cjs781.js.map +1 -1
- package/dist/index.cjs782.js +1 -1
- package/dist/index.cjs782.js.map +1 -1
- package/dist/index.es159.js +1 -1
- package/dist/index.es160.js +1 -1
- package/dist/index.es18.js +11 -12
- package/dist/index.es18.js.map +1 -1
- package/dist/index.es266.js +2 -2
- package/dist/index.es267.js +3 -3
- package/dist/index.es268.js +3 -3
- package/dist/index.es285.js +1 -1
- package/dist/index.es298.js +1 -1
- package/dist/index.es299.js +1 -1
- package/dist/index.es310.js +4 -4
- package/dist/index.es315.js +1 -1
- package/dist/index.es319.js +14 -14
- package/dist/index.es345.js +8 -8
- package/dist/index.es361.js +1 -1
- package/dist/index.es368.js +1 -1
- package/dist/index.es369.js +1 -1
- package/dist/index.es374.js +1 -1
- package/dist/index.es375.js +1 -1
- package/dist/index.es382.js +1 -1
- package/dist/index.es384.js +1 -1
- package/dist/index.es386.js +1 -1
- package/dist/index.es387.js +1 -1
- package/dist/index.es396.js +7 -7
- package/dist/index.es405.js +1 -1
- package/dist/index.es424.js +6 -6
- package/dist/index.es425.js +2 -2
- package/dist/index.es449.js +7 -7
- package/dist/index.es454.js +8 -8
- package/dist/index.es46.js +1 -1
- package/dist/index.es467.js +1 -1
- package/dist/index.es468.js +1 -1
- package/dist/index.es47.js +1 -1
- package/dist/index.es472.js +1 -1
- package/dist/index.es473.js +1 -1
- package/dist/index.es474.js +2 -2
- package/dist/index.es476.js +1 -1
- package/dist/index.es477.js +15 -2
- package/dist/index.es477.js.map +1 -1
- package/dist/index.es480.js +24 -0
- package/dist/index.es480.js.map +1 -0
- package/dist/index.es481.js +5 -0
- package/dist/index.es481.js.map +1 -0
- package/dist/index.es482.js +54 -6
- package/dist/index.es482.js.map +1 -1
- package/dist/index.es483.js +213 -26
- package/dist/index.es483.js.map +1 -1
- package/dist/index.es484.js +73 -67
- package/dist/index.es484.js.map +1 -1
- package/dist/index.es485.js +2 -11
- package/dist/index.es485.js.map +1 -1
- package/dist/index.es491.js +6 -33
- package/dist/index.es491.js.map +1 -1
- package/dist/index.es492.js +25 -13
- package/dist/index.es492.js.map +1 -1
- package/dist/index.es493.js +68 -9
- package/dist/index.es493.js.map +1 -1
- package/dist/index.es494.js +11 -50
- package/dist/index.es494.js.map +1 -1
- package/dist/index.es495.js +49 -54
- package/dist/index.es495.js.map +1 -1
- package/dist/{index.es487.js → index.es496.js} +6 -6
- package/dist/{index.es487.js.map → index.es496.js.map} +1 -1
- package/dist/{index.es488.js → index.es497.js} +4 -4
- package/dist/{index.es488.js.map → index.es497.js.map} +1 -1
- package/dist/{index.es489.js → index.es498.js} +3 -3
- package/dist/{index.es489.js.map → index.es498.js.map} +1 -1
- package/dist/{index.es490.js → index.es499.js} +3 -3
- package/dist/{index.es490.js.map → index.es499.js.map} +1 -1
- package/dist/index.es500.js +37 -0
- package/dist/index.es500.js.map +1 -0
- package/dist/index.es501.js +18 -0
- package/dist/index.es501.js.map +1 -0
- package/dist/index.es502.js +9 -15
- package/dist/index.es502.js.map +1 -1
- package/dist/index.es503.js +50 -21
- package/dist/index.es503.js.map +1 -1
- package/dist/index.es504.js +57 -2
- package/dist/index.es504.js.map +1 -1
- package/dist/index.es508.js +15 -2
- package/dist/index.es508.js.map +1 -1
- package/dist/index.es510.js +5 -0
- package/dist/index.es510.js.map +1 -0
- package/dist/index.es511.js +2 -6
- package/dist/index.es511.js.map +1 -1
- package/dist/index.es514.js +5 -132
- package/dist/index.es514.js.map +1 -1
- package/dist/index.es515.js +24 -183
- package/dist/index.es515.js.map +1 -1
- package/dist/index.es527.js +8 -0
- package/dist/index.es527.js.map +1 -0
- package/dist/{index.es478.js → index.es531.js} +1 -1
- package/dist/index.es531.js.map +1 -0
- package/dist/index.es532.js +9 -0
- package/dist/index.es532.js.map +1 -0
- package/dist/index.es533.js +14 -2
- package/dist/index.es533.js.map +1 -1
- package/dist/index.es534.js +5 -5
- package/dist/index.es534.js.map +1 -1
- package/dist/index.es535.js +4 -12
- package/dist/index.es535.js.map +1 -1
- package/dist/index.es536.js +3 -3
- package/dist/index.es536.js.map +1 -1
- package/dist/index.es537.js +3 -3
- package/dist/index.es537.js.map +1 -1
- package/dist/index.es538.js +3 -3
- package/dist/index.es538.js.map +1 -1
- package/dist/index.es539.js +3 -3
- package/dist/index.es539.js.map +1 -1
- package/dist/index.es540.js +3 -3
- package/dist/index.es540.js.map +1 -1
- package/dist/index.es541.js +1 -1
- package/dist/index.es541.js.map +1 -1
- package/dist/index.es542.js +3 -3
- package/dist/index.es542.js.map +1 -1
- package/dist/index.es543.js +3 -3
- package/dist/index.es543.js.map +1 -1
- package/dist/index.es544.js +3 -3
- package/dist/index.es544.js.map +1 -1
- package/dist/index.es545.js +3 -3
- package/dist/index.es545.js.map +1 -1
- package/dist/index.es546.js +3 -3
- package/dist/index.es546.js.map +1 -1
- package/dist/index.es547.js +1 -1
- package/dist/index.es547.js.map +1 -1
- package/dist/index.es548.js +3 -3
- package/dist/index.es548.js.map +1 -1
- package/dist/index.es549.js +8 -4
- package/dist/index.es549.js.map +1 -1
- package/dist/index.es550.js +5 -5
- package/dist/index.es550.js.map +1 -1
- package/dist/index.es551.js +4 -8
- package/dist/index.es551.js.map +1 -1
- package/dist/index.es552.js +3 -3
- package/dist/index.es552.js.map +1 -1
- package/dist/index.es553.js +1 -1
- package/dist/index.es553.js.map +1 -1
- package/dist/index.es554.js +3 -3
- package/dist/index.es554.js.map +1 -1
- package/dist/index.es555.js +10 -5
- package/dist/index.es555.js.map +1 -1
- package/dist/index.es556.js +3 -3
- package/dist/index.es556.js.map +1 -1
- package/dist/index.es557.js +5 -10
- package/dist/index.es557.js.map +1 -1
- package/dist/index.es558.js +3 -3
- package/dist/index.es558.js.map +1 -1
- package/dist/index.es559.js +1 -1
- package/dist/index.es559.js.map +1 -1
- package/dist/index.es560.js +3 -3
- package/dist/index.es560.js.map +1 -1
- package/dist/index.es561.js +3 -3
- package/dist/index.es561.js.map +1 -1
- package/dist/index.es562.js +10 -4
- package/dist/index.es562.js.map +1 -1
- package/dist/index.es563.js +3 -3
- package/dist/index.es563.js.map +1 -1
- package/dist/index.es564.js +4 -10
- package/dist/index.es564.js.map +1 -1
- package/dist/index.es565.js +8 -5
- package/dist/index.es565.js.map +1 -1
- package/dist/index.es566.js +15 -4
- package/dist/index.es566.js.map +1 -1
- package/dist/index.es567.js +10 -8
- package/dist/index.es567.js.map +1 -1
- package/dist/index.es568.js +2 -17
- package/dist/index.es568.js.map +1 -1
- package/dist/index.es569.js +9 -10
- package/dist/index.es569.js.map +1 -1
- package/dist/index.es570.js +184 -2
- package/dist/index.es570.js.map +1 -1
- package/dist/{index.es517.js → index.es571.js} +1 -1
- package/dist/{index.es517.js.map → index.es571.js.map} +1 -1
- package/dist/index.es572.js +136 -0
- package/dist/index.es572.js.map +1 -0
- package/dist/index.es573.js +4 -5
- package/dist/index.es573.js.map +1 -1
- package/dist/index.es574.js +11 -4
- package/dist/index.es574.js.map +1 -1
- package/dist/index.es575.js +10 -9
- package/dist/index.es575.js.map +1 -1
- package/dist/index.es576.js +619 -9
- package/dist/index.es576.js.map +1 -1
- package/dist/index.es580.js +2 -6
- package/dist/index.es580.js.map +1 -1
- package/dist/index.es581.js +2 -537
- package/dist/index.es581.js.map +1 -1
- package/dist/index.es582.js +2 -696
- package/dist/index.es582.js.map +1 -1
- package/dist/index.es583.js +2 -70
- package/dist/index.es583.js.map +1 -1
- package/dist/index.es584.js +2 -9
- package/dist/index.es584.js.map +1 -1
- package/dist/index.es585.js +2 -21
- package/dist/index.es585.js.map +1 -1
- package/dist/index.es586.js +2 -77
- package/dist/index.es586.js.map +1 -1
- package/dist/index.es587.js +2 -69
- package/dist/index.es587.js.map +1 -1
- package/dist/index.es588.js +2 -50
- package/dist/index.es588.js.map +1 -1
- package/dist/index.es589.js +4 -2
- package/dist/index.es589.js.map +1 -1
- package/dist/index.es590.js +2 -46
- package/dist/index.es590.js.map +1 -1
- package/dist/index.es591.js +2 -14
- package/dist/index.es591.js.map +1 -1
- package/dist/index.es592.js +2 -219
- package/dist/index.es592.js.map +1 -1
- package/dist/index.es593.js +2 -181
- package/dist/index.es593.js.map +1 -1
- package/dist/index.es594.js +2 -2
- package/dist/index.es595.js +2 -2
- package/dist/index.es596.js +2 -2
- package/dist/index.es597.js +2 -2
- package/dist/index.es598.js +2 -2
- package/dist/index.es600.js +2 -2
- package/dist/index.es601.js +2 -2
- package/dist/index.es603.js +2 -2
- package/dist/index.es604.js +2 -2
- package/dist/index.es605.js +2 -2
- package/dist/index.es606.js +2 -2
- package/dist/index.es607.js +2 -2
- package/dist/index.es608.js +2 -2
- package/dist/index.es609.js +2 -2
- package/dist/index.es610.js +2 -2
- package/dist/index.es611.js +2 -2
- package/dist/index.es613.js +2 -2
- package/dist/index.es615.js +2 -2
- package/dist/index.es616.js +25 -2
- package/dist/index.es616.js.map +1 -1
- package/dist/index.es617.js +29 -2
- package/dist/index.es617.js.map +1 -1
- package/dist/index.es618.js +5 -2
- package/dist/index.es618.js.map +1 -1
- package/dist/index.es619.js +46 -2
- package/dist/index.es619.js.map +1 -1
- package/dist/index.es620.js +14 -2
- package/dist/index.es620.js.map +1 -1
- package/dist/index.es621.js +219 -2
- package/dist/index.es621.js.map +1 -1
- package/dist/index.es622.js +181 -2
- package/dist/index.es622.js.map +1 -1
- package/dist/index.es623.js +6 -2
- package/dist/index.es623.js.map +1 -1
- package/dist/index.es624.js +537 -2
- package/dist/index.es624.js.map +1 -1
- package/dist/index.es625.js +696 -2
- package/dist/index.es625.js.map +1 -1
- package/dist/index.es626.js +70 -2
- package/dist/index.es626.js.map +1 -1
- package/dist/index.es627.js +9 -2
- package/dist/index.es627.js.map +1 -1
- package/dist/index.es628.js +21 -2
- package/dist/index.es628.js.map +1 -1
- package/dist/index.es629.js +77 -2
- package/dist/index.es629.js.map +1 -1
- package/dist/index.es630.js +69 -2
- package/dist/index.es630.js.map +1 -1
- package/dist/index.es631.js +48 -256
- package/dist/index.es631.js.map +1 -1
- package/dist/index.es632.js +2 -87
- package/dist/index.es632.js.map +1 -1
- package/dist/index.es633.js +5 -341
- package/dist/index.es633.js.map +1 -1
- package/dist/index.es634.js +3 -16
- package/dist/index.es634.js.map +1 -1
- package/dist/index.es635.js +23 -40
- package/dist/index.es635.js.map +1 -1
- package/dist/index.es636.js +110 -2
- package/dist/index.es636.js.map +1 -1
- package/dist/index.es637.js +16 -2
- package/dist/index.es637.js.map +1 -1
- package/dist/index.es638.js +202 -16
- package/dist/index.es638.js.map +1 -1
- package/dist/index.es639.js +21 -13
- package/dist/index.es639.js.map +1 -1
- package/dist/index.es640.js +390 -211
- package/dist/index.es640.js.map +1 -1
- package/dist/index.es641.js +2 -54
- package/dist/index.es641.js.map +1 -1
- package/dist/index.es642.js +257 -16
- package/dist/index.es642.js.map +1 -1
- package/dist/index.es643.js +84 -20
- package/dist/index.es643.js.map +1 -1
- package/dist/index.es644.js +338 -41
- package/dist/index.es644.js.map +1 -1
- package/dist/index.es645.js +15 -136
- package/dist/index.es645.js.map +1 -1
- package/dist/index.es646.js +39 -342
- package/dist/index.es646.js.map +1 -1
- package/dist/index.es647.js +2 -23
- package/dist/index.es647.js.map +1 -1
- package/dist/index.es648.js +2 -257
- package/dist/index.es648.js.map +1 -1
- package/dist/index.es649.js +17 -20
- package/dist/index.es649.js.map +1 -1
- package/dist/index.es650.js +11 -38
- package/dist/index.es650.js.map +1 -1
- package/dist/index.es651.js +218 -25
- package/dist/index.es651.js.map +1 -1
- package/dist/index.es652.js +48 -30
- package/dist/index.es652.js.map +1 -1
- package/dist/index.es653.js +12 -17
- package/dist/index.es653.js.map +1 -1
- package/dist/index.es654.js +19 -10
- package/dist/index.es654.js.map +1 -1
- package/dist/index.es655.js +39 -18
- package/dist/index.es655.js.map +1 -1
- package/dist/index.es656.js +136 -24
- package/dist/index.es656.js.map +1 -1
- package/dist/index.es657.js +344 -29
- package/dist/index.es657.js.map +1 -1
- package/dist/index.es658.js +23 -5
- package/dist/index.es658.js.map +1 -1
- package/dist/index.es659.js +251 -77
- package/dist/index.es659.js.map +1 -1
- package/dist/index.es660.js +20 -203
- package/dist/index.es660.js.map +1 -1
- package/dist/index.es661.js +40 -21
- package/dist/index.es661.js.map +1 -1
- package/dist/index.es662.js +21 -393
- package/dist/index.es662.js.map +1 -1
- package/dist/index.es663.js +35 -5
- package/dist/index.es663.js.map +1 -1
- package/dist/index.es664.js +21 -10
- package/dist/index.es664.js.map +1 -1
- package/dist/index.es665.js +12 -4
- package/dist/index.es665.js.map +1 -1
- package/dist/index.es666.js +18 -85
- package/dist/index.es666.js.map +1 -1
- package/dist/index.es667.js +5 -18
- package/dist/index.es667.js.map +1 -1
- package/dist/index.es668.js +16 -169
- package/dist/index.es668.js.map +1 -1
- package/dist/index.es669.js +13 -10
- package/dist/index.es669.js.map +1 -1
- package/dist/index.es670.js +30 -188
- package/dist/index.es670.js.map +1 -1
- package/dist/index.es671.js +5 -320
- package/dist/index.es671.js.map +1 -1
- package/dist/index.es672.js +2 -92
- package/dist/index.es672.js.map +1 -1
- package/dist/index.es673.js +3 -2
- package/dist/index.es673.js.map +1 -1
- package/dist/index.es674.js +6 -224
- package/dist/index.es674.js.map +1 -1
- package/dist/index.es675.js +6 -2
- package/dist/index.es675.js.map +1 -1
- package/dist/index.es676.js +5 -357
- package/dist/index.es676.js.map +1 -1
- package/dist/index.es677.js +32 -2
- package/dist/index.es677.js.map +1 -1
- package/dist/index.es678.js +242 -2
- package/dist/index.es678.js.map +1 -1
- package/dist/index.es679.js +4 -2
- package/dist/index.es679.js.map +1 -1
- package/dist/index.es680.js +4 -33
- package/dist/index.es680.js.map +1 -1
- package/dist/index.es681.js +9 -45
- package/dist/index.es681.js.map +1 -1
- package/dist/index.es682.js +50 -53
- package/dist/index.es682.js.map +1 -1
- package/dist/index.es683.js +7 -60
- package/dist/index.es683.js.map +1 -1
- package/dist/index.es684.js +5 -72
- package/dist/index.es684.js.map +1 -1
- package/dist/index.es685.js +529 -49
- package/dist/index.es685.js.map +1 -1
- package/dist/index.es686.js +14 -90
- package/dist/index.es686.js.map +1 -1
- package/dist/index.es687.js +2 -5
- package/dist/index.es687.js.map +1 -1
- package/dist/index.es688.js +37 -16
- package/dist/index.es688.js.map +1 -1
- package/dist/index.es689.js +2 -13
- package/dist/index.es689.js.map +1 -1
- package/dist/index.es690.js +266 -30
- package/dist/index.es690.js.map +1 -1
- package/dist/index.es691.js +3 -5
- package/dist/index.es691.js.map +1 -1
- package/dist/index.es692.js +30 -2
- package/dist/index.es692.js.map +1 -1
- package/dist/index.es693.js +83 -3
- package/dist/index.es693.js.map +1 -1
- package/dist/index.es694.js +69 -7
- package/dist/index.es694.js.map +1 -1
- package/dist/index.es695.js +8 -5
- package/dist/index.es695.js.map +1 -1
- package/dist/index.es696.js +14 -5
- package/dist/index.es696.js.map +1 -1
- package/dist/index.es697.js +66 -32
- package/dist/index.es697.js.map +1 -1
- package/dist/index.es698.js +60 -237
- package/dist/index.es698.js.map +1 -1
- package/dist/index.es699.js +2 -4
- package/dist/index.es699.js.map +1 -1
- package/dist/index.es700.js +224 -4
- package/dist/index.es700.js.map +1 -1
- package/dist/index.es701.js +2 -10
- package/dist/index.es701.js.map +1 -1
- package/dist/index.es702.js +354 -53
- package/dist/index.es702.js.map +1 -1
- package/dist/index.es703.js +2 -8
- package/dist/index.es703.js.map +1 -1
- package/dist/index.es704.js +2 -6
- package/dist/index.es704.js.map +1 -1
- package/dist/index.es705.js +2 -532
- package/dist/index.es705.js.map +1 -1
- package/dist/index.es706.js +34 -14
- package/dist/index.es706.js.map +1 -1
- package/dist/index.es707.js +46 -2
- package/dist/index.es707.js.map +1 -1
- package/dist/index.es708.js +57 -35
- package/dist/index.es708.js.map +1 -1
- package/dist/index.es709.js +61 -2
- package/dist/index.es709.js.map +1 -1
- package/dist/index.es710.js +61 -260
- package/dist/index.es710.js.map +1 -1
- package/dist/index.es711.js +52 -3
- package/dist/index.es711.js.map +1 -1
- package/dist/index.es712.js +90 -30
- package/dist/index.es712.js.map +1 -1
- package/dist/index.es713.js +6 -5
- package/dist/index.es713.js.map +1 -1
- package/dist/index.es714.js +11 -3
- package/dist/index.es714.js.map +1 -1
- package/dist/index.es715.js +4 -24
- package/dist/index.es715.js.map +1 -1
- package/dist/index.es716.js +86 -106
- package/dist/index.es716.js.map +1 -1
- package/dist/index.es717.js +17 -15
- package/dist/index.es717.js.map +1 -1
- package/dist/index.es718.js +169 -2
- package/dist/index.es718.js.map +1 -1
- package/dist/index.es719.js +10 -2
- package/dist/index.es719.js.map +1 -1
- package/dist/index.es720.js +194 -2
- package/dist/index.es720.js.map +1 -1
- package/dist/index.es721.js +309 -101
- package/dist/index.es721.js.map +1 -1
- package/dist/index.es722.js +92 -2
- package/dist/index.es722.js.map +1 -1
- package/dist/index.es723.js +40 -2
- package/dist/index.es723.js.map +1 -1
- package/dist/index.es724.js +2 -11
- package/dist/index.es724.js.map +1 -1
- package/dist/index.es725.js +4 -10
- package/dist/index.es725.js.map +1 -1
- package/dist/index.es726.js +2 -54
- package/dist/index.es726.js.map +1 -1
- package/dist/index.es727.js +2 -2
- package/dist/index.es727.js.map +1 -1
- package/dist/index.es728.js +2 -145
- package/dist/index.es728.js.map +1 -1
- package/dist/index.es729.js +6 -2
- package/dist/index.es729.js.map +1 -1
- package/dist/index.es730.js +16 -2
- package/dist/index.es730.js.map +1 -1
- package/dist/index.es731.js +2 -2
- package/dist/index.es731.js.map +1 -1
- package/dist/index.es732.js +2 -2
- package/dist/index.es732.js.map +1 -1
- package/dist/index.es733.js +3 -2
- package/dist/index.es733.js.map +1 -1
- package/dist/index.es734.js +2 -2
- package/dist/index.es734.js.map +1 -1
- package/dist/index.es735.js +3 -39
- package/dist/index.es735.js.map +1 -1
- package/dist/index.es736.js +2 -2
- package/dist/index.es737.js +2 -5
- package/dist/index.es737.js.map +1 -1
- package/dist/index.es738.js +11 -6
- package/dist/index.es738.js.map +1 -1
- package/dist/index.es739.js +10 -15
- package/dist/index.es739.js.map +1 -1
- package/dist/index.es740.js +54 -2
- package/dist/index.es740.js.map +1 -1
- package/dist/index.es741.js +2 -2
- package/dist/index.es741.js.map +1 -1
- package/dist/index.es742.js +145 -2
- package/dist/index.es742.js.map +1 -1
- package/dist/index.es743.js +2 -2
- package/dist/index.es743.js.map +1 -1
- package/dist/index.es744.js +2 -2
- package/dist/index.es744.js.map +1 -1
- package/dist/index.es745.js +2 -3
- package/dist/index.es745.js.map +1 -1
- package/dist/index.es746.js +2 -2
- package/dist/index.es746.js.map +1 -1
- package/dist/index.es747.js +2 -4
- package/dist/index.es747.js.map +1 -1
- package/dist/index.es748.js +2 -65
- package/dist/index.es748.js.map +1 -1
- package/dist/index.es749.js +2 -69
- package/dist/index.es749.js.map +1 -1
- package/dist/index.es750.js +2 -9
- package/dist/index.es750.js.map +1 -1
- package/dist/index.es751.js +2 -14
- package/dist/index.es751.js.map +1 -1
- package/dist/index.es752.js +111 -65
- package/dist/index.es752.js.map +1 -1
- package/dist/index.es753.js +4 -2
- package/dist/index.es753.js.map +1 -1
- package/dist/index.es754.js +23 -2
- package/dist/index.es754.js.map +1 -1
- package/dist/index.es755.js +525 -2
- package/dist/index.es755.js.map +1 -1
- package/dist/index.es756.js +128 -2
- package/dist/index.es756.js.map +1 -1
- package/dist/index.es757.js +132 -86
- package/dist/index.es757.js.map +1 -1
- package/dist/index.es758.js +3 -107
- package/dist/index.es758.js.map +1 -1
- package/dist/index.es759.js +3 -525
- package/dist/index.es759.js.map +1 -1
- package/dist/index.es760.js +2 -128
- package/dist/index.es760.js.map +1 -1
- package/dist/index.es761.js +2 -134
- package/dist/index.es761.js.map +1 -1
- package/dist/index.es762.js +87 -3
- package/dist/index.es762.js.map +1 -1
- package/dist/index.es763.js +108 -3
- package/dist/index.es763.js.map +1 -1
- package/dist/index.es764.js +2 -2
- package/dist/index.es764.js.map +1 -1
- package/dist/index.es765.js +2 -4
- package/dist/index.es765.js.map +1 -1
- package/dist/index.es766.js +2 -23
- package/dist/index.es766.js.map +1 -1
- package/dist/index.es767.js +23 -2
- package/dist/index.es767.js.map +1 -1
- package/dist/index.es768.js +12 -224
- package/dist/index.es768.js.map +1 -1
- package/dist/index.es769.js +27 -46
- package/dist/index.es769.js.map +1 -1
- package/dist/index.es770.js +5 -49
- package/dist/index.es770.js.map +1 -1
- package/dist/index.es771.js +2 -2
- package/dist/index.es772.js +225 -2
- package/dist/index.es772.js.map +1 -1
- package/dist/index.es773.js +46 -10
- package/dist/index.es773.js.map +1 -1
- package/dist/index.es774.js +48 -10
- package/dist/index.es774.js.map +1 -1
- package/dist/index.es775.js +2 -54
- package/dist/index.es775.js.map +1 -1
- package/dist/index.es777.js +10 -12
- package/dist/index.es777.js.map +1 -1
- package/dist/index.es778.js +11 -2
- package/dist/index.es778.js.map +1 -1
- package/dist/index.es779.js +54 -23
- package/dist/index.es779.js.map +1 -1
- package/dist/index.es780.js +2 -13
- package/dist/index.es780.js.map +1 -1
- package/dist/index.es781.js +12 -27
- package/dist/index.es781.js.map +1 -1
- package/dist/index.es782.js +2 -5
- package/dist/index.es782.js.map +1 -1
- package/package.json +1 -1
- package/dist/index.cjs478.js.map +0 -1
- package/dist/index.cjs479.js +0 -2
- package/dist/index.cjs479.js.map +0 -1
- package/dist/index.cjs486.js +0 -2
- package/dist/index.cjs486.js.map +0 -1
- package/dist/index.cjs505.js +0 -2
- package/dist/index.cjs505.js.map +0 -1
- package/dist/index.cjs506.js +0 -2
- package/dist/index.cjs506.js.map +0 -1
- package/dist/index.cjs507.js +0 -2
- package/dist/index.cjs507.js.map +0 -1
- package/dist/index.cjs512.js +0 -2
- package/dist/index.cjs512.js.map +0 -1
- package/dist/index.cjs516.js +0 -2
- package/dist/index.cjs516.js.map +0 -1
- package/dist/index.cjs526.js +0 -2
- package/dist/index.cjs526.js.map +0 -1
- package/dist/index.es478.js.map +0 -1
- package/dist/index.es479.js +0 -18
- package/dist/index.es479.js.map +0 -1
- package/dist/index.es486.js +0 -55
- package/dist/index.es486.js.map +0 -1
- package/dist/index.es505.js +0 -58
- package/dist/index.es505.js.map +0 -1
- package/dist/index.es506.js +0 -217
- package/dist/index.es506.js.map +0 -1
- package/dist/index.es507.js +0 -77
- package/dist/index.es507.js.map +0 -1
- package/dist/index.es512.js +0 -28
- package/dist/index.es512.js.map +0 -1
- package/dist/index.es516.js +0 -13
- package/dist/index.es516.js.map +0 -1
- package/dist/index.es526.js +0 -625
- package/dist/index.es526.js.map +0 -1
- /package/dist/components/ui/{CardMapDoctor/CardMapDoctor.css → CardMapDoctorV2/CardMapDoctorV2.css} +0 -0
- /package/dist/components/ui/{CreateReservationModal/CreateReservationModalFooter/CreateReservationModalFooter.css → ConsentModal/ConsentModalFooter/ConsentModalFooter.css} +0 -0
- /package/dist/components/ui/{ChangeProfileModal/ChangeProfileModalContent/ChangeProfileModalContent.css → CreateReservationModal/CreateReservationModalContent/CreateReservationModalContent.css} +0 -0
- /package/dist/components/ui/{ConsentModal/ConsentModalContent/ConsentModalContent.css → DoctorConfirmModal/DoctorConfirmModalContent/DoctorConfirmModalContent.css} +0 -0
- /package/dist/sections/{CommunicationContentsHome/CommunicationContentsHome.css → CommunicationContents/CommunicationContents.css} +0 -0
package/dist/index.cjs593.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs593.js","sources":["../node_modules/@radix-ui/react-roving-focus/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/roving-focus-group.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createCollection } from \"@radix-ui/react-collection\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { useDirection } from \"@radix-ui/react-direction\";\nimport { jsx } from \"react/jsx-runtime\";\nvar ENTRY_FOCUS = \"rovingFocusGroup.onEntryFocus\";\nvar EVENT_OPTIONS = { bubbles: false, cancelable: true };\nvar GROUP_NAME = \"RovingFocusGroup\";\nvar [Collection, useCollection, createCollectionScope] = createCollection(GROUP_NAME);\nvar [createRovingFocusGroupContext, createRovingFocusGroupScope] = createContextScope(\n GROUP_NAME,\n [createCollectionScope]\n);\nvar [RovingFocusProvider, useRovingFocusContext] = createRovingFocusGroupContext(GROUP_NAME);\nvar RovingFocusGroup = React.forwardRef(\n (props, forwardedRef) => {\n return /* @__PURE__ */ jsx(Collection.Provider, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(Collection.Slot, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(RovingFocusGroupImpl, { ...props, ref: forwardedRef }) }) });\n }\n);\nRovingFocusGroup.displayName = GROUP_NAME;\nvar RovingFocusGroupImpl = React.forwardRef((props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n orientation,\n loop = false,\n dir,\n currentTabStopId: currentTabStopIdProp,\n defaultCurrentTabStopId,\n onCurrentTabStopIdChange,\n onEntryFocus,\n preventScrollOnEntryFocus = false,\n ...groupProps\n } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const direction = useDirection(dir);\n const [currentTabStopId, setCurrentTabStopId] = useControllableState({\n prop: currentTabStopIdProp,\n defaultProp: defaultCurrentTabStopId ?? null,\n onChange: onCurrentTabStopIdChange,\n caller: GROUP_NAME\n });\n const [isTabbingBackOut, setIsTabbingBackOut] = React.useState(false);\n const handleEntryFocus = useCallbackRef(onEntryFocus);\n const getItems = useCollection(__scopeRovingFocusGroup);\n const isClickFocusRef = React.useRef(false);\n const [focusableItemsCount, setFocusableItemsCount] = React.useState(0);\n React.useEffect(() => {\n const node = ref.current;\n if (node) {\n node.addEventListener(ENTRY_FOCUS, handleEntryFocus);\n return () => node.removeEventListener(ENTRY_FOCUS, handleEntryFocus);\n }\n }, [handleEntryFocus]);\n return /* @__PURE__ */ jsx(\n RovingFocusProvider,\n {\n scope: __scopeRovingFocusGroup,\n orientation,\n dir: direction,\n loop,\n currentTabStopId,\n onItemFocus: React.useCallback(\n (tabStopId) => setCurrentTabStopId(tabStopId),\n [setCurrentTabStopId]\n ),\n onItemShiftTab: React.useCallback(() => setIsTabbingBackOut(true), []),\n onFocusableItemAdd: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount + 1),\n []\n ),\n onFocusableItemRemove: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount - 1),\n []\n ),\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n tabIndex: isTabbingBackOut || focusableItemsCount === 0 ? -1 : 0,\n \"data-orientation\": orientation,\n ...groupProps,\n ref: composedRefs,\n style: { outline: \"none\", ...props.style },\n onMouseDown: composeEventHandlers(props.onMouseDown, () => {\n isClickFocusRef.current = true;\n }),\n onFocus: composeEventHandlers(props.onFocus, (event) => {\n const isKeyboardFocus = !isClickFocusRef.current;\n if (event.target === event.currentTarget && isKeyboardFocus && !isTabbingBackOut) {\n const entryFocusEvent = new CustomEvent(ENTRY_FOCUS, EVENT_OPTIONS);\n event.currentTarget.dispatchEvent(entryFocusEvent);\n if (!entryFocusEvent.defaultPrevented) {\n const items = getItems().filter((item) => item.focusable);\n const activeItem = items.find((item) => item.active);\n const currentItem = items.find((item) => item.id === currentTabStopId);\n const candidateItems = [activeItem, currentItem, ...items].filter(\n Boolean\n );\n const candidateNodes = candidateItems.map((item) => item.ref.current);\n focusFirst(candidateNodes, preventScrollOnEntryFocus);\n }\n }\n isClickFocusRef.current = false;\n }),\n onBlur: composeEventHandlers(props.onBlur, () => setIsTabbingBackOut(false))\n }\n )\n }\n );\n});\nvar ITEM_NAME = \"RovingFocusGroupItem\";\nvar RovingFocusGroupItem = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n focusable = true,\n active = false,\n tabStopId,\n children,\n ...itemProps\n } = props;\n const autoId = useId();\n const id = tabStopId || autoId;\n const context = useRovingFocusContext(ITEM_NAME, __scopeRovingFocusGroup);\n const isCurrentTabStop = context.currentTabStopId === id;\n const getItems = useCollection(__scopeRovingFocusGroup);\n const { onFocusableItemAdd, onFocusableItemRemove, currentTabStopId } = context;\n React.useEffect(() => {\n if (focusable) {\n onFocusableItemAdd();\n return () => onFocusableItemRemove();\n }\n }, [focusable, onFocusableItemAdd, onFocusableItemRemove]);\n return /* @__PURE__ */ jsx(\n Collection.ItemSlot,\n {\n scope: __scopeRovingFocusGroup,\n id,\n focusable,\n active,\n children: /* @__PURE__ */ jsx(\n Primitive.span,\n {\n tabIndex: isCurrentTabStop ? 0 : -1,\n \"data-orientation\": context.orientation,\n ...itemProps,\n ref: forwardedRef,\n onMouseDown: composeEventHandlers(props.onMouseDown, (event) => {\n if (!focusable) event.preventDefault();\n else context.onItemFocus(id);\n }),\n onFocus: composeEventHandlers(props.onFocus, () => context.onItemFocus(id)),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n if (event.key === \"Tab\" && event.shiftKey) {\n context.onItemShiftTab();\n return;\n }\n if (event.target !== event.currentTarget) return;\n const focusIntent = getFocusIntent(event, context.orientation, context.dir);\n if (focusIntent !== void 0) {\n if (event.metaKey || event.ctrlKey || event.altKey || event.shiftKey) return;\n event.preventDefault();\n const items = getItems().filter((item) => item.focusable);\n let candidateNodes = items.map((item) => item.ref.current);\n if (focusIntent === \"last\") candidateNodes.reverse();\n else if (focusIntent === \"prev\" || focusIntent === \"next\") {\n if (focusIntent === \"prev\") candidateNodes.reverse();\n const currentIndex = candidateNodes.indexOf(event.currentTarget);\n candidateNodes = context.loop ? wrapArray(candidateNodes, currentIndex + 1) : candidateNodes.slice(currentIndex + 1);\n }\n setTimeout(() => focusFirst(candidateNodes));\n }\n }),\n children: typeof children === \"function\" ? children({ isCurrentTabStop, hasTabStop: currentTabStopId != null }) : children\n }\n )\n }\n );\n }\n);\nRovingFocusGroupItem.displayName = ITEM_NAME;\nvar MAP_KEY_TO_FOCUS_INTENT = {\n ArrowLeft: \"prev\",\n ArrowUp: \"prev\",\n ArrowRight: \"next\",\n ArrowDown: \"next\",\n PageUp: \"first\",\n Home: \"first\",\n PageDown: \"last\",\n End: \"last\"\n};\nfunction getDirectionAwareKey(key, dir) {\n if (dir !== \"rtl\") return key;\n return key === \"ArrowLeft\" ? \"ArrowRight\" : key === \"ArrowRight\" ? \"ArrowLeft\" : key;\n}\nfunction getFocusIntent(event, orientation, dir) {\n const key = getDirectionAwareKey(event.key, dir);\n if (orientation === \"vertical\" && [\"ArrowLeft\", \"ArrowRight\"].includes(key)) return void 0;\n if (orientation === \"horizontal\" && [\"ArrowUp\", \"ArrowDown\"].includes(key)) return void 0;\n return MAP_KEY_TO_FOCUS_INTENT[key];\n}\nfunction focusFirst(candidates, preventScroll = false) {\n const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;\n for (const candidate of candidates) {\n if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;\n candidate.focus({ preventScroll });\n if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;\n }\n}\nfunction wrapArray(array, startIndex) {\n return array.map((_, index) => array[(startIndex + index) % array.length]);\n}\nvar Root = RovingFocusGroup;\nvar Item = RovingFocusGroupItem;\nexport {\n Item,\n Root,\n RovingFocusGroup,\n RovingFocusGroupItem,\n createRovingFocusGroupScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["ENTRY_FOCUS","EVENT_OPTIONS","GROUP_NAME","Collection","useCollection","createCollectionScope","createCollection","createRovingFocusGroupContext","createRovingFocusGroupScope","createContextScope","RovingFocusProvider","useRovingFocusContext","RovingFocusGroup","React","props","forwardedRef","jsx","RovingFocusGroupImpl","__scopeRovingFocusGroup","orientation","loop","dir","currentTabStopIdProp","defaultCurrentTabStopId","onCurrentTabStopIdChange","onEntryFocus","preventScrollOnEntryFocus","groupProps","ref","composedRefs","useComposedRefs","direction","useDirection","currentTabStopId","setCurrentTabStopId","useControllableState","isTabbingBackOut","setIsTabbingBackOut","handleEntryFocus","useCallbackRef","getItems","isClickFocusRef","focusableItemsCount","setFocusableItemsCount","node","tabStopId","prevCount","Primitive","composeEventHandlers","event","isKeyboardFocus","entryFocusEvent","items","item","activeItem","currentItem","candidateNodes","focusFirst","ITEM_NAME","RovingFocusGroupItem","focusable","active","children","itemProps","autoId","useId","id","context","isCurrentTabStop","onFocusableItemAdd","onFocusableItemRemove","focusIntent","getFocusIntent","currentIndex","wrapArray","MAP_KEY_TO_FOCUS_INTENT","getDirectionAwareKey","key","candidates","preventScroll","PREVIOUSLY_FOCUSED_ELEMENT","candidate","array","startIndex","_","index","Root","Item"],"mappings":"yrBAcA,IAAIA,EAAc,gCACdC,EAAgB,CAAE,QAAS,GAAO,WAAY,EAAI,EAClDC,EAAa,mBACb,CAACC,EAAYC,EAAeC,EAAqB,EAAIC,EAAAA,iBAAiBJ,CAAU,EAChF,CAACK,GAA+BC,EAA2B,EAAIC,EAAAA,mBACjEP,EACA,CAACG,EAAqB,CACxB,EACI,CAACK,GAAqBC,EAAqB,EAAIJ,GAA8BL,CAAU,EACvFU,EAAmBC,EAAM,WAC3B,CAACC,EAAOC,IACiBC,wBAAIb,EAAW,SAAU,CAAE,MAAOW,EAAM,wBAAyB,SAA0BE,wBAAIb,EAAW,KAAM,CAAE,MAAOW,EAAM,wBAAyB,SAA0BE,EAAAA,kBAAAA,IAAIC,GAAsB,CAAE,GAAGH,EAAO,IAAKC,EAAc,CAAC,CAAE,CAAC,CAAE,CAE5Q,EACAH,EAAiB,YAAcV,EAC/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E,GAAO5B","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.cjs593.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.cjs596.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var t={};exports.__exports=t;
|
|
2
2
|
//# sourceMappingURL=index.cjs596.js.map
|
package/dist/index.cjs610.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs610.js.map
|
package/dist/index.cjs613.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var t={};exports.__exports=t;
|
|
2
2
|
//# sourceMappingURL=index.cjs613.js.map
|
package/dist/index.cjs616.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.__assign=function(){return exports.__assign=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},exports.__assign.apply(this,arguments)};function s(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function p(t,e,n){if(n||arguments.length===2)for(var r=0,o=e.length,a;r<o;r++)(a||!(r in e))&&(a||(a=Array.prototype.slice.call(e,0,r)),a[r]=e[r]);return t.concat(a||Array.prototype.slice.call(e))}exports.__rest=s;exports.__spreadArray=p;
|
|
2
2
|
//# sourceMappingURL=index.cjs616.js.map
|
package/dist/index.cjs616.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs616.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs616.js","sources":["../node_modules/tslib/tslib.es6.mjs"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n"],"names":["__assign","t","s","i","n","p","__rest","__spreadArray","to","from","pack","l","ar"],"mappings":"gFA+BWA,QAAAA,SAAW,UAAW,CAC/BA,eAAAA,SAAW,OAAO,QAAU,SAAkBC,EAAG,CAC7C,QAASC,EAAGC,EAAI,EAAGC,EAAI,UAAU,OAAQD,EAAIC,EAAGD,IAAK,CACjDD,EAAI,UAAUC,CAAC,EACf,QAASE,KAAKH,EAAO,OAAO,UAAU,eAAe,KAAKA,EAAGG,CAAC,IAAGJ,EAAEI,CAAC,EAAIH,EAAEG,CAAC,EAC/E,CACA,OAAOJ,CACX,EACOD,iBAAS,MAAM,KAAM,SAAS,CACvC,EAEO,SAASM,EAAOJ,EAAG,EAAG,CAC3B,IAAID,EAAI,CAAA,EACR,QAASI,KAAKH,EAAO,OAAO,UAAU,eAAe,KAAKA,EAAGG,CAAC,GAAK,EAAE,QAAQA,CAAC,EAAI,IAC9EJ,EAAEI,CAAC,EAAIH,EAAEG,CAAC,GACd,GAAIH,GAAK,MAAQ,OAAO,OAAO,uBAA0B,WACrD,QAASC,EAAI,EAAGE,EAAI,OAAO,sBAAsBH,CAAC,EAAGC,EAAIE,EAAE,OAAQF,IAC3D,EAAE,QAAQE,EAAEF,CAAC,CAAC,EAAI,GAAK,OAAO,UAAU,qBAAqB,KAAKD,EAAGG,EAAEF,CAAC,CAAC,IACzEF,EAAEI,EAAEF,CAAC,CAAC,EAAID,EAAEG,EAAEF,CAAC,CAAC,GAE5B,OAAOF,CACT,CAiKO,SAASM,EAAcC,EAAIC,EAAMC,EAAM,CAC5C,GAAIA,GAAQ,UAAU,SAAW,EAAG,QAASP,EAAI,EAAGQ,EAAIF,EAAK,OAAQG,EAAIT,EAAIQ,EAAGR,KACxES,GAAM,EAAET,KAAKM,MACRG,IAAIA,EAAK,MAAM,UAAU,MAAM,KAAKH,EAAM,EAAGN,CAAC,GACnDS,EAAGT,CAAC,EAAIM,EAAKN,CAAC,GAGtB,OAAOK,EAAG,OAAOI,GAAM,MAAM,UAAU,MAAM,KAAKH,CAAI,CAAC,CACzD","x_google_ignoreList":[0]}
|
package/dist/index.cjs617.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs616.js"),k=require("react"),f=require("./index.cjs633.js"),q=require("./index.cjs634.js"),B=require("./index.cjs635.js");function E(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const l=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,l.get?l:{enumerable:!0,get:()=>e[r]})}}return n.default=e,Object.freeze(n)}const a=E(k);var o=function(){},s=a.forwardRef(function(e,n){var r=a.useRef(null),l=a.useState({onScrollCapture:o,onWheelCapture:o,onTouchMoveCapture:o}),m=l[0],v=l[1],g=e.forwardProps,i=e.children,h=e.className,_=e.removeScrollBar,b=e.enabled,R=e.shards,C=e.sideCar,S=e.noRelative,P=e.noIsolation,w=e.inert,M=e.allowPinchZoom,c=e.as,N=c===void 0?"div":c,y=e.gapMode,O=t.__rest(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),j=C,d=B.useMergeRefs([r,n]),u=t.__assign(t.__assign({},O),m);return a.createElement(a.Fragment,null,b&&a.createElement(j,{sideCar:q.effectCar,removeScrollBar:_,shards:R,noRelative:S,noIsolation:P,inert:w,setCallbacks:v,allowPinchZoom:!!M,lockRef:r,gapMode:y}),g?a.cloneElement(a.Children.only(i),t.__assign(t.__assign({},u),{ref:d})):a.createElement(N,t.__assign({},u,{className:h,ref:d}),i))});s.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};s.classNames={fullWidth:f.fullWidthClassName,zeroRight:f.zeroRightClassName};exports.RemoveScroll=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs617.js.map
|
package/dist/index.cjs617.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs617.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs617.js","sources":["../node_modules/react-remove-scroll/dist/es2015/UI.js"],"sourcesContent":["import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nimport { fullWidthClassName, zeroRightClassName } from 'react-remove-scroll-bar/constants';\nimport { useMergeRefs } from 'use-callback-ref';\nimport { effectCar } from './medium';\nvar nothing = function () {\n return;\n};\n/**\n * Removes scrollbar from the page and contain the scroll within the Lock\n */\nvar RemoveScroll = React.forwardRef(function (props, parentRef) {\n var ref = React.useRef(null);\n var _a = React.useState({\n onScrollCapture: nothing,\n onWheelCapture: nothing,\n onTouchMoveCapture: nothing,\n }), callbacks = _a[0], setCallbacks = _a[1];\n var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noRelative = props.noRelative, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? 'div' : _b, gapMode = props.gapMode, rest = __rest(props, [\"forwardProps\", \"children\", \"className\", \"removeScrollBar\", \"enabled\", \"shards\", \"sideCar\", \"noRelative\", \"noIsolation\", \"inert\", \"allowPinchZoom\", \"as\", \"gapMode\"]);\n var SideCar = sideCar;\n var containerRef = useMergeRefs([ref, parentRef]);\n var containerProps = __assign(__assign({}, rest), callbacks);\n return (React.createElement(React.Fragment, null,\n enabled && (React.createElement(SideCar, { sideCar: effectCar, removeScrollBar: removeScrollBar, shards: shards, noRelative: noRelative, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode: gapMode })),\n forwardProps ? (React.cloneElement(React.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef }))) : (React.createElement(Container, __assign({}, containerProps, { className: className, ref: containerRef }), children))));\n});\nRemoveScroll.defaultProps = {\n enabled: true,\n removeScrollBar: true,\n inert: false,\n};\nRemoveScroll.classNames = {\n fullWidth: fullWidthClassName,\n zeroRight: zeroRightClassName,\n};\nexport { RemoveScroll };\n"],"names":["nothing","RemoveScroll","React","props","parentRef","ref","_a","callbacks","setCallbacks","forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","_b","Container","gapMode","rest","__rest","SideCar","containerRef","useMergeRefs","containerProps","__assign","effectCar","fullWidthClassName","zeroRightClassName"],"mappings":"+fAKA,IAAIA,EAAU,UAAY,CAE1B,EAIIC,EAAeC,EAAM,WAAW,SAAUC,EAAOC,EAAW,CAC5D,IAAIC,EAAMH,EAAM,OAAO,IAAI,EACvBI,EAAKJ,EAAM,SAAS,CACpB,gBAAiBF,EACjB,eAAgBA,EAChB,mBAAoBA,CAC5B,CAAK,EAAGO,EAAYD,EAAG,CAAC,EAAGE,EAAeF,EAAG,CAAC,EACtCG,EAAeN,EAAM,aAAcO,EAAWP,EAAM,SAAUQ,EAAYR,EAAM,UAAWS,EAAkBT,EAAM,gBAAiBU,EAAUV,EAAM,QAASW,EAASX,EAAM,OAAQY,EAAUZ,EAAM,QAASa,EAAab,EAAM,WAAYc,EAAcd,EAAM,YAAae,EAAQf,EAAM,MAAOgB,EAAiBhB,EAAM,eAAgBiB,EAAKjB,EAAM,GAAIkB,EAAYD,IAAO,OAAS,MAAQA,EAAIE,EAAUnB,EAAM,QAASoB,EAAOC,EAAAA,OAAOrB,EAAO,CAAC,eAAgB,WAAY,YAAa,kBAAmB,UAAW,SAAU,UAAW,aAAc,cAAe,QAAS,iBAAkB,KAAM,SAAS,CAAC,EACnlBsB,EAAUV,EACVW,EAAeC,EAAAA,aAAa,CAACtB,EAAKD,CAAS,CAAC,EAC5CwB,EAAiBC,EAAAA,SAASA,EAAAA,SAAS,CAAA,EAAIN,CAAI,EAAGhB,CAAS,EAC3D,OAAQL,EAAM,cAAcA,EAAM,SAAU,KACxCW,GAAYX,EAAM,cAAcuB,EAAS,CAAE,QAASK,EAAAA,UAAW,gBAAiBlB,EAAiB,OAAQE,EAAQ,WAAYE,EAAY,YAAaC,EAAa,MAAOC,EAAO,aAAcV,EAAc,eAAgB,CAAC,CAACW,EAAgB,QAASd,EAAK,QAASiB,CAAO,CAAE,EAC/Qb,EAAgBP,EAAM,aAAaA,EAAM,SAAS,KAAKQ,CAAQ,EAAGmB,EAAAA,SAASA,EAAAA,SAAS,CAAA,EAAID,CAAc,EAAG,CAAE,IAAKF,CAAY,CAAE,CAAC,EAAMxB,EAAM,cAAcmB,EAAWQ,EAAAA,SAAS,CAAA,EAAID,EAAgB,CAAE,UAAWjB,EAAW,IAAKe,CAAY,CAAE,EAAGhB,CAAQ,CAAE,CACjQ,CAAC,EACDT,EAAa,aAAe,CACxB,QAAS,GACT,gBAAiB,GACjB,MAAO,EACX,EACAA,EAAa,WAAa,CACtB,UAAW8B,EAAAA,mBACX,UAAWC,EAAAA,kBACf","x_google_ignoreList":[0]}
|
package/dist/index.cjs618.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";const e=require("./index.cjs636.js"),r=require("./index.cjs634.js"),t=require("./index.cjs637.js"),c=t.exportSidecar(r.effectCar,e.RemoveScrollSideCar);module.exports=c;
|
|
2
2
|
//# sourceMappingURL=index.cjs618.js.map
|
package/dist/index.cjs618.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs618.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs618.js","sources":["../node_modules/react-remove-scroll/dist/es2015/sidecar.js"],"sourcesContent":["import { exportSidecar } from 'use-sidecar';\nimport { RemoveScrollSideCar } from './SideEffect';\nimport { effectCar } from './medium';\nexport default exportSidecar(effectCar, RemoveScrollSideCar);\n"],"names":["SideCar","exportSidecar","effectCar","RemoveScrollSideCar"],"mappings":"gHAGAA,EAAeC,EAAAA,cAAcC,EAAAA,UAAWC,qBAAmB","x_google_ignoreList":[0]}
|
package/dist/index.cjs619.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),v=require("./index.cjs493.js"),I=require("./index.cjs492.js"),M=require("./index.cjs504.js"),f=require("./index.cjs244.js");function _(s){const u=s+"CollectionProvider",[E,A]=v.createContextScope(u),[N,d]=E(u,{collectionRef:{current:null},itemMap:new Map}),p=c=>{const{scope:e,children:l}=c,t=r.useRef(null),o=r.useRef(new Map).current;return f.jsxRuntimeExports.jsx(N,{scope:e,itemMap:o,collectionRef:t,children:l})};p.displayName=u;const a=s+"CollectionSlot",T=M.createSlot(a),C=r.forwardRef((c,e)=>{const{scope:l,children:t}=c,o=d(a,l),n=I.useComposedRefs(e,o.collectionRef);return f.jsxRuntimeExports.jsx(T,{ref:n,children:t})});C.displayName=a;const m=s+"CollectionItemSlot",x="data-radix-collection-item",j=M.createSlot(m),R=r.forwardRef((c,e)=>{const{scope:l,children:t,...o}=c,n=r.useRef(null),S=I.useComposedRefs(e,n),i=d(m,l);return r.useEffect(()=>(i.itemMap.set(n,{ref:n,...o}),()=>void i.itemMap.delete(n))),f.jsxRuntimeExports.jsx(j,{[x]:"",ref:S,children:t})});R.displayName=m;function y(c){const e=d(s+"CollectionConsumer",c);return r.useCallback(()=>{const t=e.collectionRef.current;if(!t)return[];const o=Array.from(t.querySelectorAll(`[${x}]`));return Array.from(e.itemMap.values()).sort((i,O)=>o.indexOf(i.ref.current)-o.indexOf(O.ref.current))},[e.collectionRef,e.itemMap])}return[{Provider:p,Slot:C,ItemSlot:R},y,A]}exports.createCollection=_;
|
|
2
2
|
//# sourceMappingURL=index.cjs619.js.map
|
package/dist/index.cjs619.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs619.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs619.js","sources":["../node_modules/@radix-ui/react-collection/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/collection-legacy.tsx\nimport React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createCollection(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope(PROVIDER_NAME);\n const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }\n );\n const CollectionProvider = (props) => {\n const { scope, children } = props;\n const ref = React.useRef(null);\n const itemMap = React.useRef(/* @__PURE__ */ new Map()).current;\n return /* @__PURE__ */ jsx(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);\n const CollectionSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);\n const CollectionItemSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n React.useEffect(() => {\n context.itemMap.set(ref, { ref, ...itemData });\n return () => void context.itemMap.delete(ref);\n });\n return /* @__PURE__ */ jsx(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useCollection(scope) {\n const context = useCollectionContext(name + \"CollectionConsumer\", scope);\n const getItems = React.useCallback(() => {\n const collectionNode = context.collectionRef.current;\n if (!collectionNode) return [];\n const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));\n const items = Array.from(context.itemMap.values());\n const orderedItems = items.sort(\n (a, b) => orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current)\n );\n return orderedItems;\n }, [context.collectionRef, context.itemMap]);\n return getItems;\n }\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n useCollection,\n createCollectionScope\n ];\n}\n\n// src/collection.tsx\nimport React2 from \"react\";\nimport { createContextScope as createContextScope2 } from \"@radix-ui/react-context\";\nimport { useComposedRefs as useComposedRefs2 } from \"@radix-ui/react-compose-refs\";\nimport { createSlot as createSlot2 } from \"@radix-ui/react-slot\";\n\n// src/ordered-dictionary.ts\nvar __instanciated = /* @__PURE__ */ new WeakMap();\nvar OrderedDict = class _OrderedDict extends Map {\n #keys;\n constructor(entries) {\n super(entries);\n this.#keys = [...super.keys()];\n __instanciated.set(this, true);\n }\n set(key, value) {\n if (__instanciated.get(this)) {\n if (this.has(key)) {\n this.#keys[this.#keys.indexOf(key)] = key;\n } else {\n this.#keys.push(key);\n }\n }\n super.set(key, value);\n return this;\n }\n insert(index, key, value) {\n const has = this.has(key);\n const length = this.#keys.length;\n const relativeIndex = toSafeInteger(index);\n let actualIndex = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;\n const safeIndex = actualIndex < 0 || actualIndex >= length ? -1 : actualIndex;\n if (safeIndex === this.size || has && safeIndex === this.size - 1 || safeIndex === -1) {\n this.set(key, value);\n return this;\n }\n const size = this.size + (has ? 0 : 1);\n if (relativeIndex < 0) {\n actualIndex++;\n }\n const keys = [...this.#keys];\n let nextValue;\n let shouldSkip = false;\n for (let i = actualIndex; i < size; i++) {\n if (actualIndex === i) {\n let nextKey = keys[i];\n if (keys[i] === key) {\n nextKey = keys[i + 1];\n }\n if (has) {\n this.delete(key);\n }\n nextValue = this.get(nextKey);\n this.set(key, value);\n } else {\n if (!shouldSkip && keys[i - 1] === key) {\n shouldSkip = true;\n }\n const currentKey = keys[shouldSkip ? i : i - 1];\n const currentValue = nextValue;\n nextValue = this.get(currentKey);\n this.delete(currentKey);\n this.set(currentKey, currentValue);\n }\n }\n return this;\n }\n with(index, key, value) {\n const copy = new _OrderedDict(this);\n copy.insert(index, key, value);\n return copy;\n }\n before(key) {\n const index = this.#keys.indexOf(key) - 1;\n if (index < 0) {\n return void 0;\n }\n return this.entryAt(index);\n }\n /**\n * Sets a new key-value pair at the position before the given key.\n */\n setBefore(key, newKey, value) {\n const index = this.#keys.indexOf(key);\n if (index === -1) {\n return this;\n }\n return this.insert(index, newKey, value);\n }\n after(key) {\n let index = this.#keys.indexOf(key);\n index = index === -1 || index === this.size - 1 ? -1 : index + 1;\n if (index === -1) {\n return void 0;\n }\n return this.entryAt(index);\n }\n /**\n * Sets a new key-value pair at the position after the given key.\n */\n setAfter(key, newKey, value) {\n const index = this.#keys.indexOf(key);\n if (index === -1) {\n return this;\n }\n return this.insert(index + 1, newKey, value);\n }\n first() {\n return this.entryAt(0);\n }\n last() {\n return this.entryAt(-1);\n }\n clear() {\n this.#keys = [];\n return super.clear();\n }\n delete(key) {\n const deleted = super.delete(key);\n if (deleted) {\n this.#keys.splice(this.#keys.indexOf(key), 1);\n }\n return deleted;\n }\n deleteAt(index) {\n const key = this.keyAt(index);\n if (key !== void 0) {\n return this.delete(key);\n }\n return false;\n }\n at(index) {\n const key = at(this.#keys, index);\n if (key !== void 0) {\n return this.get(key);\n }\n }\n entryAt(index) {\n const key = at(this.#keys, index);\n if (key !== void 0) {\n return [key, this.get(key)];\n }\n }\n indexOf(key) {\n return this.#keys.indexOf(key);\n }\n keyAt(index) {\n return at(this.#keys, index);\n }\n from(key, offset) {\n const index = this.indexOf(key);\n if (index === -1) {\n return void 0;\n }\n let dest = index + offset;\n if (dest < 0) dest = 0;\n if (dest >= this.size) dest = this.size - 1;\n return this.at(dest);\n }\n keyFrom(key, offset) {\n const index = this.indexOf(key);\n if (index === -1) {\n return void 0;\n }\n let dest = index + offset;\n if (dest < 0) dest = 0;\n if (dest >= this.size) dest = this.size - 1;\n return this.keyAt(dest);\n }\n find(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return entry;\n }\n index++;\n }\n return void 0;\n }\n findIndex(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return index;\n }\n index++;\n }\n return -1;\n }\n filter(predicate, thisArg) {\n const entries = [];\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n entries.push(entry);\n }\n index++;\n }\n return new _OrderedDict(entries);\n }\n map(callbackfn, thisArg) {\n const entries = [];\n let index = 0;\n for (const entry of this) {\n entries.push([entry[0], Reflect.apply(callbackfn, thisArg, [entry, index, this])]);\n index++;\n }\n return new _OrderedDict(entries);\n }\n reduce(...args) {\n const [callbackfn, initialValue] = args;\n let index = 0;\n let accumulator = initialValue ?? this.at(0);\n for (const entry of this) {\n if (index === 0 && args.length === 1) {\n accumulator = entry;\n } else {\n accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index, this]);\n }\n index++;\n }\n return accumulator;\n }\n reduceRight(...args) {\n const [callbackfn, initialValue] = args;\n let accumulator = initialValue ?? this.at(-1);\n for (let index = this.size - 1; index >= 0; index--) {\n const entry = this.at(index);\n if (index === this.size - 1 && args.length === 1) {\n accumulator = entry;\n } else {\n accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index, this]);\n }\n }\n return accumulator;\n }\n toSorted(compareFn) {\n const entries = [...this.entries()].sort(compareFn);\n return new _OrderedDict(entries);\n }\n toReversed() {\n const reversed = new _OrderedDict();\n for (let index = this.size - 1; index >= 0; index--) {\n const key = this.keyAt(index);\n const element = this.get(key);\n reversed.set(key, element);\n }\n return reversed;\n }\n toSpliced(...args) {\n const entries = [...this.entries()];\n entries.splice(...args);\n return new _OrderedDict(entries);\n }\n slice(start, end) {\n const result = new _OrderedDict();\n let stop = this.size - 1;\n if (start === void 0) {\n return result;\n }\n if (start < 0) {\n start = start + this.size;\n }\n if (end !== void 0 && end > 0) {\n stop = end - 1;\n }\n for (let index = start; index <= stop; index++) {\n const key = this.keyAt(index);\n const element = this.get(key);\n result.set(key, element);\n }\n return result;\n }\n every(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (!Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return false;\n }\n index++;\n }\n return true;\n }\n some(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return true;\n }\n index++;\n }\n return false;\n }\n};\nfunction at(array, index) {\n if (\"at\" in Array.prototype) {\n return Array.prototype.at.call(array, index);\n }\n const actualIndex = toSafeIndex(array, index);\n return actualIndex === -1 ? void 0 : array[actualIndex];\n}\nfunction toSafeIndex(array, index) {\n const length = array.length;\n const relativeIndex = toSafeInteger(index);\n const actualIndex = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;\n return actualIndex < 0 || actualIndex >= length ? -1 : actualIndex;\n}\nfunction toSafeInteger(number) {\n return number !== number || number === 0 ? 0 : Math.trunc(number);\n}\n\n// src/collection.tsx\nimport { jsx as jsx2 } from \"react/jsx-runtime\";\nfunction createCollection2(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope2(PROVIDER_NAME);\n const [CollectionContextProvider, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n {\n collectionElement: null,\n collectionRef: { current: null },\n collectionRefObject: { current: null },\n itemMap: new OrderedDict(),\n setItemMap: () => void 0\n }\n );\n const CollectionProvider = ({ state, ...props }) => {\n return state ? /* @__PURE__ */ jsx2(CollectionProviderImpl, { ...props, state }) : /* @__PURE__ */ jsx2(CollectionInit, { ...props });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const CollectionInit = (props) => {\n const state = useInitCollection();\n return /* @__PURE__ */ jsx2(CollectionProviderImpl, { ...props, state });\n };\n CollectionInit.displayName = PROVIDER_NAME + \"Init\";\n const CollectionProviderImpl = (props) => {\n const { scope, children, state } = props;\n const ref = React2.useRef(null);\n const [collectionElement, setCollectionElement] = React2.useState(\n null\n );\n const composeRefs = useComposedRefs2(ref, setCollectionElement);\n const [itemMap, setItemMap] = state;\n React2.useEffect(() => {\n if (!collectionElement) return;\n const observer = getChildListObserver(() => {\n });\n observer.observe(collectionElement, {\n childList: true,\n subtree: true\n });\n return () => {\n observer.disconnect();\n };\n }, [collectionElement]);\n return /* @__PURE__ */ jsx2(\n CollectionContextProvider,\n {\n scope,\n itemMap,\n setItemMap,\n collectionRef: composeRefs,\n collectionRefObject: ref,\n collectionElement,\n children\n }\n );\n };\n CollectionProviderImpl.displayName = PROVIDER_NAME + \"Impl\";\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot2(COLLECTION_SLOT_NAME);\n const CollectionSlot = React2.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs2(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx2(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot2(ITEM_SLOT_NAME);\n const CollectionItemSlot = React2.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React2.useRef(null);\n const [element, setElement] = React2.useState(null);\n const composedRefs = useComposedRefs2(forwardedRef, ref, setElement);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n const { setItemMap } = context;\n const itemDataRef = React2.useRef(itemData);\n if (!shallowEqual(itemDataRef.current, itemData)) {\n itemDataRef.current = itemData;\n }\n const memoizedItemData = itemDataRef.current;\n React2.useEffect(() => {\n const itemData2 = memoizedItemData;\n setItemMap((map) => {\n if (!element) {\n return map;\n }\n if (!map.has(element)) {\n map.set(element, { ...itemData2, element });\n return map.toSorted(sortByDocumentPosition);\n }\n return map.set(element, { ...itemData2, element }).toSorted(sortByDocumentPosition);\n });\n return () => {\n setItemMap((map) => {\n if (!element || !map.has(element)) {\n return map;\n }\n map.delete(element);\n return new OrderedDict(map);\n });\n };\n }, [element, memoizedItemData, setItemMap]);\n return /* @__PURE__ */ jsx2(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useInitCollection() {\n return React2.useState(new OrderedDict());\n }\n function useCollection(scope) {\n const { itemMap } = useCollectionContext(name + \"CollectionConsumer\", scope);\n return itemMap;\n }\n const functions = {\n createCollectionScope,\n useCollection,\n useInitCollection\n };\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n functions\n ];\n}\nfunction shallowEqual(a, b) {\n if (a === b) return true;\n if (typeof a !== \"object\" || typeof b !== \"object\") return false;\n if (a == null || b == null) return false;\n const keysA = Object.keys(a);\n const keysB = Object.keys(b);\n if (keysA.length !== keysB.length) return false;\n for (const key of keysA) {\n if (!Object.prototype.hasOwnProperty.call(b, key)) return false;\n if (a[key] !== b[key]) return false;\n }\n return true;\n}\nfunction isElementPreceding(a, b) {\n return !!(b.compareDocumentPosition(a) & Node.DOCUMENT_POSITION_PRECEDING);\n}\nfunction sortByDocumentPosition(a, b) {\n return !a[1].element || !b[1].element ? 0 : isElementPreceding(a[1].element, b[1].element) ? -1 : 1;\n}\nfunction getChildListObserver(callback) {\n const observer = new MutationObserver((mutationsList) => {\n for (const mutation of mutationsList) {\n if (mutation.type === \"childList\") {\n callback();\n return;\n }\n }\n });\n return observer;\n}\nexport {\n createCollection,\n createCollection2 as unstable_createCollection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createCollection","name","PROVIDER_NAME","createCollectionContext","createCollectionScope","createContextScope","CollectionProviderImpl","useCollectionContext","CollectionProvider","props","scope","children","ref","React","itemMap","jsx","COLLECTION_SLOT_NAME","CollectionSlotImpl","createSlot","CollectionSlot","forwardedRef","context","composedRefs","useComposedRefs","ITEM_SLOT_NAME","ITEM_DATA_ATTR","CollectionItemSlotImpl","CollectionItemSlot","itemData","useCollection","collectionNode","orderedNodes","a","b"],"mappings":"qOAQA,SAASA,EAAiBC,EAAM,CAC9B,MAAMC,EAAgBD,EAAO,qBACvB,CAACE,EAAyBC,CAAqB,EAAIC,EAAAA,mBAAmBH,CAAa,EACnF,CAACI,EAAwBC,CAAoB,EAAIJ,EACrDD,EACA,CAAE,cAAe,CAAE,QAAS,IAAI,EAAI,QAAyB,IAAI,GAAK,CAC1E,EACQM,EAAsBC,GAAU,CACpC,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cnB,EAAO,CAC5B,MAAMW,EAAUd,EAAqBN,EAAO,qBAAsBS,CAAK,EAWvE,OAViBG,EAAM,YAAY,IAAM,CACvC,MAAMiB,EAAiBT,EAAQ,cAAc,QAC7C,GAAI,CAACS,EAAgB,MAAO,CAAA,EAC5B,MAAMC,EAAe,MAAM,KAAKD,EAAe,iBAAiB,IAAIL,CAAc,GAAG,CAAC,EAKtF,OAJc,MAAM,KAAKJ,EAAQ,QAAQ,QAAQ,EACtB,KACzB,CAACW,EAAGC,IAAMF,EAAa,QAAQC,EAAE,IAAI,OAAO,EAAID,EAAa,QAAQE,EAAE,IAAI,OAAO,CAC1F,CAEI,EAAG,CAACZ,EAAQ,cAAeA,EAAQ,OAAO,CAAC,CAE7C,CACA,MAAO,CACL,CAAE,SAAUb,EAAoB,KAAMW,EAAgB,SAAUQ,CAAkB,EAClFE,EACAzB,CACJ,CACA","x_google_ignoreList":[0]}
|
package/dist/index.cjs620.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),a=require("./index.cjs244.js");function s(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const n=s(u);var i=n.createContext(void 0),c=e=>{const{dir:t,children:r}=e;return a.jsxRuntimeExports.jsx(i.Provider,{value:t,children:r})};function l(e){const t=n.useContext(i);return e||t||"ltr"}var d=c;exports.DirectionProvider=c;exports.Provider=d;exports.useDirection=l;
|
|
2
2
|
//# sourceMappingURL=index.cjs620.js.map
|
package/dist/index.cjs620.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs620.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs620.js","sources":["../node_modules/@radix-ui/react-direction/dist/index.mjs"],"sourcesContent":["// packages/react/direction/src/direction.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DirectionContext = React.createContext(void 0);\nvar DirectionProvider = (props) => {\n const { dir, children } = props;\n return /* @__PURE__ */ jsx(DirectionContext.Provider, { value: dir, children });\n};\nfunction useDirection(localDir) {\n const globalDir = React.useContext(DirectionContext);\n return localDir || globalDir || \"ltr\";\n}\nvar Provider = DirectionProvider;\nexport {\n DirectionProvider,\n Provider,\n useDirection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DirectionContext","React","DirectionProvider","props","dir","children","jsx","useDirection","localDir","globalDir","Provider"],"mappings":"kaAGA,IAAIA,EAAmBC,EAAM,cAAc,MAAM,EAC7CC,EAAqBC,GAAU,CACjC,KAAM,CAAE,IAAAC,EAAK,SAAAC,CAAQ,EAAKF,EAC1B,OAAuBG,EAAAA,kBAAAA,IAAIN,EAAiB,SAAU,CAAE,MAAOI,EAAK,SAAAC,EAAU,CAChF,EACA,SAASE,EAAaC,EAAU,CAC9B,MAAMC,EAAYR,EAAM,WAAWD,CAAgB,EACnD,OAAOQ,GAAYC,GAAa,KAClC,CACG,IAACC,EAAWR","x_google_ignoreList":[0]}
|
package/dist/index.cjs621.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Pe=require("react"),l=require("./index.cjs638.js"),ye=require("./index.cjs639.js"),Z=require("./index.cjs492.js"),Ae=require("./index.cjs493.js"),G=require("./index.cjs500.js"),ve=require("./index.cjs574.js"),L=require("./index.cjs573.js"),Ce=require("./index.cjs515.js"),u=require("./index.cjs244.js"),Re=require("./index.cjs640.js");function be(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const p=be(Pe);var _="Popper",[J,Oe]=Ae.createContextScope(_),[Se,K]=J(_),$=e=>{const{__scopePopper:o,children:t}=e,[r,s]=p.useState(null);return u.jsxRuntimeExports.jsx(Se,{scope:o,anchor:r,onAnchorChange:s,children:t})};$.displayName=_;var Q="PopperAnchor",N=p.forwardRef((e,o)=>{const{__scopePopper:t,virtualRef:r,...s}=e,n=K(Q,t),i=p.useRef(null),w=Z.useComposedRefs(o,i),a=p.useRef(null);return p.useEffect(()=>{const c=a.current;a.current=(r==null?void 0:r.current)||i.current,c!==a.current&&n.onAnchorChange(a.current)}),r?null:u.jsxRuntimeExports.jsx(G.Primitive.div,{...s,ref:w})});N.displayName=Q;var q="PopperContent",[je,Ee]=J(q),H=p.forwardRef((e,o)=>{var T,X,k,F,z,B;const{__scopePopper:t,side:r="bottom",sideOffset:s=0,align:n="center",alignOffset:i=0,arrowPadding:w=0,avoidCollisions:a=!0,collisionBoundary:c=[],collisionPadding:P=0,sticky:x="partial",hideWhenDetached:A=!1,updatePositionStrategy:v="optimized",onPlaced:f,...d}=e,C=K(q,t),[h,R]=p.useState(null),te=Z.useComposedRefs(o,y=>R(y)),[E,re]=p.useState(null),m=Ce.useSize(E),oe=(m==null?void 0:m.width)??0,M=(m==null?void 0:m.height)??0,ne=r+(n!=="center"?"-"+n:""),ie=typeof P=="number"?P:{top:0,right:0,bottom:0,left:0,...P},W=Array.isArray(c)?c:[c],ae=W.length>0,b={padding:ie,boundary:W.filter($e),altBoundary:ae},{refs:se,floatingStyles:I,placement:ce,isPositioned:O,middlewareData:g}=l.useFloating({strategy:"fixed",placement:ne,whileElementsMounted:(...y)=>Re.autoUpdate(...y,{animationFrame:v==="always"}),elements:{reference:C.anchor},middleware:[l.offset({mainAxis:s+M,alignmentAxis:i}),a&&l.shift({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?l.limitShift():void 0,...b}),a&&l.flip({...b}),l.size({...b,apply:({elements:y,rects:U,availableWidth:he,availableHeight:me})=>{const{width:ge,height:we}=U.reference,j=y.floating.style;j.setProperty("--radix-popper-available-width",`${he}px`),j.setProperty("--radix-popper-available-height",`${me}px`),j.setProperty("--radix-popper-anchor-width",`${ge}px`),j.setProperty("--radix-popper-anchor-height",`${we}px`)}}),E&&l.arrow({element:E,padding:w}),Ne({arrowWidth:oe,arrowHeight:M}),A&&l.hide({strategy:"referenceHidden",...b})]}),[Y,pe]=ee(ce),S=ve.useCallbackRef(f);L.useLayoutEffect(()=>{O&&(S==null||S())},[O,S]);const de=(T=g.arrow)==null?void 0:T.x,le=(X=g.arrow)==null?void 0:X.y,fe=((k=g.arrow)==null?void 0:k.centerOffset)!==0,[ue,xe]=p.useState();return L.useLayoutEffect(()=>{h&&xe(window.getComputedStyle(h).zIndex)},[h]),u.jsxRuntimeExports.jsx("div",{ref:se.setFloating,"data-radix-popper-content-wrapper":"",style:{...I,transform:O?I.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ue,"--radix-popper-transform-origin":[(F=g.transformOrigin)==null?void 0:F.x,(z=g.transformOrigin)==null?void 0:z.y].join(" "),...((B=g.hide)==null?void 0:B.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:u.jsxRuntimeExports.jsx(je,{scope:t,placedSide:Y,onArrowChange:re,arrowX:de,arrowY:le,shouldHideArrow:fe,children:u.jsxRuntimeExports.jsx(G.Primitive.div,{"data-side":Y,"data-align":pe,...d,ref:te,style:{...d.style,animation:O?void 0:"none"}})})})});H.displayName=q;var V="PopperArrow",_e={top:"bottom",right:"left",bottom:"top",left:"right"},D=p.forwardRef(function(o,t){const{__scopePopper:r,...s}=o,n=Ee(V,r),i=_e[n.placedSide];return u.jsxRuntimeExports.jsx("span",{ref:n.onArrowChange,style:{position:"absolute",left:n.arrowX,top:n.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[n.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[n.placedSide],visibility:n.shouldHideArrow?"hidden":void 0},children:u.jsxRuntimeExports.jsx(ye.Root,{...s,ref:t,style:{...s.style,display:"block"}})})});D.displayName=V;function $e(e){return e!==null}var Ne=e=>({name:"transformOrigin",options:e,fn(o){var C,h,R;const{placement:t,rects:r,middlewareData:s}=o,i=((C=s.arrow)==null?void 0:C.centerOffset)!==0,w=i?0:e.arrowWidth,a=i?0:e.arrowHeight,[c,P]=ee(t),x={start:"0%",center:"50%",end:"100%"}[P],A=(((h=s.arrow)==null?void 0:h.x)??0)+w/2,v=(((R=s.arrow)==null?void 0:R.y)??0)+a/2;let f="",d="";return c==="bottom"?(f=i?x:`${A}px`,d=`${-a}px`):c==="top"?(f=i?x:`${A}px`,d=`${r.floating.height+a}px`):c==="right"?(f=`${-a}px`,d=i?x:`${v}px`):c==="left"&&(f=`${r.floating.width+a}px`,d=i?x:`${v}px`),{data:{x:f,y:d}}}});function ee(e){const[o,t="center"]=e.split("-");return[o,t]}var qe=$,He=N,De=H,Me=D;exports.Anchor=He;exports.Arrow=Me;exports.Content=De;exports.Popper=$;exports.PopperAnchor=N;exports.PopperArrow=D;exports.PopperContent=H;exports.Root=qe;exports.createPopperScope=Oe;
|
|
2
2
|
//# sourceMappingURL=index.cjs621.js.map
|
package/dist/index.cjs621.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs621.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs621.js","sources":["../node_modules/@radix-ui/react-popper/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/popper.tsx\nimport * as React from \"react\";\nimport {\n useFloating,\n autoUpdate,\n offset,\n shift,\n limitShift,\n hide,\n arrow as floatingUIarrow,\n flip,\n size\n} from \"@floating-ui/react-dom\";\nimport * as ArrowPrimitive from \"@radix-ui/react-arrow\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { useSize } from \"@radix-ui/react-use-size\";\nimport { jsx } from \"react/jsx-runtime\";\nvar SIDE_OPTIONS = [\"top\", \"right\", \"bottom\", \"left\"];\nvar ALIGN_OPTIONS = [\"start\", \"center\", \"end\"];\nvar POPPER_NAME = \"Popper\";\nvar [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);\nvar [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);\nvar Popper = (props) => {\n const { __scopePopper, children } = props;\n const [anchor, setAnchor] = React.useState(null);\n return /* @__PURE__ */ jsx(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });\n};\nPopper.displayName = POPPER_NAME;\nvar ANCHOR_NAME = \"PopperAnchor\";\nvar PopperAnchor = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopePopper, virtualRef, ...anchorProps } = props;\n const context = usePopperContext(ANCHOR_NAME, __scopePopper);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const anchorRef = React.useRef(null);\n React.useEffect(() => {\n const previousAnchor = anchorRef.current;\n anchorRef.current = virtualRef?.current || ref.current;\n if (previousAnchor !== anchorRef.current) {\n context.onAnchorChange(anchorRef.current);\n }\n });\n return virtualRef ? null : /* @__PURE__ */ jsx(Primitive.div, { ...anchorProps, ref: composedRefs });\n }\n);\nPopperAnchor.displayName = ANCHOR_NAME;\nvar CONTENT_NAME = \"PopperContent\";\nvar [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME);\nvar PopperContent = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopePopper,\n side = \"bottom\",\n sideOffset = 0,\n align = \"center\",\n alignOffset = 0,\n arrowPadding = 0,\n avoidCollisions = true,\n collisionBoundary = [],\n collisionPadding: collisionPaddingProp = 0,\n sticky = \"partial\",\n hideWhenDetached = false,\n updatePositionStrategy = \"optimized\",\n onPlaced,\n ...contentProps\n } = props;\n const context = usePopperContext(CONTENT_NAME, __scopePopper);\n const [content, setContent] = React.useState(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));\n const [arrow, setArrow] = React.useState(null);\n const arrowSize = useSize(arrow);\n const arrowWidth = arrowSize?.width ?? 0;\n const arrowHeight = arrowSize?.height ?? 0;\n const desiredPlacement = side + (align !== \"center\" ? \"-\" + align : \"\");\n const collisionPadding = typeof collisionPaddingProp === \"number\" ? collisionPaddingProp : { top: 0, right: 0, bottom: 0, left: 0, ...collisionPaddingProp };\n const boundary = Array.isArray(collisionBoundary) ? collisionBoundary : [collisionBoundary];\n const hasExplicitBoundaries = boundary.length > 0;\n const detectOverflowOptions = {\n padding: collisionPadding,\n boundary: boundary.filter(isNotNull),\n // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries\n altBoundary: hasExplicitBoundaries\n };\n const { refs, floatingStyles, placement, isPositioned, middlewareData } = useFloating({\n // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues\n strategy: \"fixed\",\n placement: desiredPlacement,\n whileElementsMounted: (...args) => {\n const cleanup = autoUpdate(...args, {\n animationFrame: updatePositionStrategy === \"always\"\n });\n return cleanup;\n },\n elements: {\n reference: context.anchor\n },\n middleware: [\n offset({ mainAxis: sideOffset + arrowHeight, alignmentAxis: alignOffset }),\n avoidCollisions && shift({\n mainAxis: true,\n crossAxis: false,\n limiter: sticky === \"partial\" ? limitShift() : void 0,\n ...detectOverflowOptions\n }),\n avoidCollisions && flip({ ...detectOverflowOptions }),\n size({\n ...detectOverflowOptions,\n apply: ({ elements, rects, availableWidth, availableHeight }) => {\n const { width: anchorWidth, height: anchorHeight } = rects.reference;\n const contentStyle = elements.floating.style;\n contentStyle.setProperty(\"--radix-popper-available-width\", `${availableWidth}px`);\n contentStyle.setProperty(\"--radix-popper-available-height\", `${availableHeight}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-width\", `${anchorWidth}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-height\", `${anchorHeight}px`);\n }\n }),\n arrow && floatingUIarrow({ element: arrow, padding: arrowPadding }),\n transformOrigin({ arrowWidth, arrowHeight }),\n hideWhenDetached && hide({ strategy: \"referenceHidden\", ...detectOverflowOptions })\n ]\n });\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const handlePlaced = useCallbackRef(onPlaced);\n useLayoutEffect(() => {\n if (isPositioned) {\n handlePlaced?.();\n }\n }, [isPositioned, handlePlaced]);\n const arrowX = middlewareData.arrow?.x;\n const arrowY = middlewareData.arrow?.y;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const [contentZIndex, setContentZIndex] = React.useState();\n useLayoutEffect(() => {\n if (content) setContentZIndex(window.getComputedStyle(content).zIndex);\n }, [content]);\n return /* @__PURE__ */ jsx(\n \"div\",\n {\n ref: refs.setFloating,\n \"data-radix-popper-content-wrapper\": \"\",\n style: {\n ...floatingStyles,\n transform: isPositioned ? floatingStyles.transform : \"translate(0, -200%)\",\n // keep off the page when measuring\n minWidth: \"max-content\",\n zIndex: contentZIndex,\n [\"--radix-popper-transform-origin\"]: [\n middlewareData.transformOrigin?.x,\n middlewareData.transformOrigin?.y\n ].join(\" \"),\n // hide the content if using the hide middleware and should be hidden\n // set visibility to hidden and disable pointer events so the UI behaves\n // as if the PopperContent isn't there at all\n ...middlewareData.hide?.referenceHidden && {\n visibility: \"hidden\",\n pointerEvents: \"none\"\n }\n },\n dir: props.dir,\n children: /* @__PURE__ */ jsx(\n PopperContentProvider,\n {\n scope: __scopePopper,\n placedSide,\n onArrowChange: setArrow,\n arrowX,\n arrowY,\n shouldHideArrow: cannotCenterArrow,\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-side\": placedSide,\n \"data-align\": placedAlign,\n ...contentProps,\n ref: composedRefs,\n style: {\n ...contentProps.style,\n // if the PopperContent hasn't been placed yet (not all measurements done)\n // we prevent animations so that users's animation don't kick in too early referring wrong sides\n animation: !isPositioned ? \"none\" : void 0\n }\n }\n )\n }\n )\n }\n );\n }\n);\nPopperContent.displayName = CONTENT_NAME;\nvar ARROW_NAME = \"PopperArrow\";\nvar OPPOSITE_SIDE = {\n top: \"bottom\",\n right: \"left\",\n bottom: \"top\",\n left: \"right\"\n};\nvar PopperArrow = React.forwardRef(function PopperArrow2(props, forwardedRef) {\n const { __scopePopper, ...arrowProps } = props;\n const contentContext = useContentContext(ARROW_NAME, __scopePopper);\n const baseSide = OPPOSITE_SIDE[contentContext.placedSide];\n return (\n // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)\n // doesn't report size as we'd expect on SVG elements.\n // it reports their bounding box which is effectively the largest path inside the SVG.\n /* @__PURE__ */ jsx(\n \"span\",\n {\n ref: contentContext.onArrowChange,\n style: {\n position: \"absolute\",\n left: contentContext.arrowX,\n top: contentContext.arrowY,\n [baseSide]: 0,\n transformOrigin: {\n top: \"\",\n right: \"0 0\",\n bottom: \"center 0\",\n left: \"100% 0\"\n }[contentContext.placedSide],\n transform: {\n top: \"translateY(100%)\",\n right: \"translateY(50%) rotate(90deg) translateX(-50%)\",\n bottom: `rotate(180deg)`,\n left: \"translateY(50%) rotate(-90deg) translateX(50%)\"\n }[contentContext.placedSide],\n visibility: contentContext.shouldHideArrow ? \"hidden\" : void 0\n },\n children: /* @__PURE__ */ jsx(\n ArrowPrimitive.Root,\n {\n ...arrowProps,\n ref: forwardedRef,\n style: {\n ...arrowProps.style,\n // ensures the element can be measured correctly (mostly for if SVG)\n display: \"block\"\n }\n }\n )\n }\n )\n );\n});\nPopperArrow.displayName = ARROW_NAME;\nfunction isNotNull(value) {\n return value !== null;\n}\nvar transformOrigin = (options) => ({\n name: \"transformOrigin\",\n options,\n fn(data) {\n const { placement, rects, middlewareData } = data;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const isArrowHidden = cannotCenterArrow;\n const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;\n const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const noArrowAlign = { start: \"0%\", center: \"50%\", end: \"100%\" }[placedAlign];\n const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;\n const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;\n let x = \"\";\n let y = \"\";\n if (placedSide === \"bottom\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${-arrowHeight}px`;\n } else if (placedSide === \"top\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${rects.floating.height + arrowHeight}px`;\n } else if (placedSide === \"right\") {\n x = `${-arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n } else if (placedSide === \"left\") {\n x = `${rects.floating.width + arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n }\n return { data: { x, y } };\n }\n});\nfunction getSideAndAlignFromPlacement(placement) {\n const [side, align = \"center\"] = placement.split(\"-\");\n return [side, align];\n}\nvar Root2 = Popper;\nvar Anchor = PopperAnchor;\nvar Content = PopperContent;\nvar Arrow = PopperArrow;\nexport {\n ALIGN_OPTIONS,\n Anchor,\n Arrow,\n Content,\n Popper,\n PopperAnchor,\n PopperArrow,\n PopperContent,\n Root2 as Root,\n SIDE_OPTIONS,\n createPopperScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["POPPER_NAME","createPopperContext","createPopperScope","createContextScope","PopperProvider","usePopperContext","Popper","props","__scopePopper","children","anchor","setAnchor","React","jsx","ANCHOR_NAME","PopperAnchor","forwardedRef","virtualRef","anchorProps","context","ref","composedRefs","useComposedRefs","anchorRef","previousAnchor","Primitive","CONTENT_NAME","PopperContentProvider","useContentContext","PopperContent","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPaddingProp","sticky","hideWhenDetached","updatePositionStrategy","onPlaced","contentProps","content","setContent","node","arrow","setArrow","arrowSize","useSize","arrowWidth","arrowHeight","desiredPlacement","collisionPadding","boundary","hasExplicitBoundaries","detectOverflowOptions","isNotNull","refs","floatingStyles","placement","isPositioned","middlewareData","useFloating","args","autoUpdate","offset","shift","limitShift","flip","size","elements","rects","availableWidth","availableHeight","anchorWidth","anchorHeight","contentStyle","floatingUIarrow","transformOrigin","hide","placedSide","placedAlign","getSideAndAlignFromPlacement","handlePlaced","useCallbackRef","useLayoutEffect","arrowX","_a","arrowY","_b","cannotCenterArrow","_c","contentZIndex","setContentZIndex","_d","_e","_f","ARROW_NAME","OPPOSITE_SIDE","PopperArrow","arrowProps","contentContext","baseSide","ArrowPrimitive.Root","value","options","data","isArrowHidden","noArrowAlign","arrowXCenter","arrowYCenter","x","y","Root2","Anchor","Content","Arrow"],"mappings":"ksBAyBA,IAAIA,EAAc,SACd,CAACC,EAAqBC,EAAiB,EAAIC,GAAAA,mBAAmBH,CAAW,EACzE,CAACI,GAAgBC,CAAgB,EAAIJ,EAAoBD,CAAW,EACpEM,EAAUC,GAAU,CACtB,KAAM,CAAE,cAAAC,EAAe,SAAAC,CAAQ,EAAKF,EAC9B,CAACG,EAAQC,CAAS,EAAIC,EAAM,SAAS,IAAI,EAC/C,OAAuBC,EAAAA,kBAAAA,IAAIT,GAAgB,CAAE,MAAOI,EAAe,OAAAE,EAAQ,eAAgBC,EAAW,SAAAF,EAAU,CAClH,EACAH,EAAO,YAAcN,EACrB,IAAIc,EAAc,eACdC,EAAeH,EAAM,WACvB,CAACL,EAAOS,IAAiB,CACvB,KAAM,CAAE,cAAAR,EAAe,WAAAS,EAAY,GAAGC,CAAW,EAAKX,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YAAA0B,EAAsB,gBAAiB,EAE3DtC,EAAa0D,EAAgB,EAAIF,EAAQ,WACzCvD,EAAcyD,EAAgB,EAAIF,EAAQ,YAC1C,CAACzB,EAAYC,CAAW,EAAIC,GAA6BvB,CAAS,EAClEiD,EAAe,CAAE,MAAO,KAAM,OAAQ,MAAO,IAAK,MAAM,EAAG3B,CAAW,EACtE4B,KAAgBpB,EAAA5B,EAAe,QAAf,YAAA4B,EAAsB,IAAK,GAAKxC,EAAa,EAC7D6D,KAAgBnB,EAAA9B,EAAe,QAAf,YAAA8B,EAAsB,IAAK,GAAKzC,EAAc,EACpE,IAAI6D,EAAI,GACJC,EAAI,GACR,OAAIhC,IAAe,UACjB+B,EAAIJ,EAAgBC,EAAe,GAAGC,CAAY,KAClDG,EAAI,GAAG,CAAC9D,CAAW,MACV8B,IAAe,OACxB+B,EAAIJ,EAAgBC,EAAe,GAAGC,CAAY,KAClDG,EAAI,GAAGzC,EAAM,SAAS,OAASrB,CAAW,MACjC8B,IAAe,SACxB+B,EAAI,GAAG,CAAC7D,CAAW,KACnB8D,EAAIL,EAAgBC,EAAe,GAAGE,CAAY,MACzC9B,IAAe,SACxB+B,EAAI,GAAGxC,EAAM,SAAS,MAAQrB,CAAW,KACzC8D,EAAIL,EAAgBC,EAAe,GAAGE,CAAY,MAE7C,CAAE,KAAM,CAAE,EAAAC,EAAG,EAAAC,CAAC,CAAE,CACzB,CACF,GACA,SAAS9B,GAA6BvB,EAAW,CAC/C,KAAM,CAAC9B,EAAME,EAAQ,QAAQ,EAAI4B,EAAU,MAAM,GAAG,EACpD,MAAO,CAAC9B,EAAME,CAAK,CACrB,CACG,IAACkF,GAAQ5G,EACR6G,GAASpG,EACTqG,GAAUvF,EACVwF,GAAQjB","x_google_ignoreList":[0]}
|
package/dist/index.cjs622.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react"),m=require("./index.cjs491.js"),B=require("./index.cjs619.js"),Y=require("./index.cjs492.js"),z=require("./index.cjs493.js"),V=require("./index.cjs494.js"),G=require("./index.cjs500.js"),J=require("./index.cjs574.js"),Q=require("./index.cjs495.js"),W=require("./index.cjs620.js"),f=require("./index.cjs244.js");function X(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const t=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,t.get?t:{enumerable:!0,get:()=>e[r]})}}return o.default=e,Object.freeze(o)}const c=X(H);var h="rovingFocusGroup.onEntryFocus",Z={bubbles:!1,cancelable:!0},b="RovingFocusGroup",[j,N,ee]=B.createCollection(b),[te,oe]=z.createContextScope(b,[ee]),[re,ne]=te(b),A=c.forwardRef((e,o)=>f.jsxRuntimeExports.jsx(j.Provider,{scope:e.__scopeRovingFocusGroup,children:f.jsxRuntimeExports.jsx(j.Slot,{scope:e.__scopeRovingFocusGroup,children:f.jsxRuntimeExports.jsx(se,{...e,ref:o})})}));A.displayName=b;var se=c.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:r,orientation:t,loop:E=!1,dir:S,currentTabStopId:v,defaultCurrentTabStopId:T,onCurrentTabStopIdChange:w,onEntryFocus:p,preventScrollOnEntryFocus:u=!1,...g}=e,R=c.useRef(null),I=Y.useComposedRefs(o,R),x=W.useDirection(S),[F,n]=Q.useControllableState({prop:v,defaultProp:T??null,onChange:w,caller:b}),[a,C]=c.useState(!1),i=J.useCallbackRef(p),l=N(r),y=c.useRef(!1),[K,P]=c.useState(0);return c.useEffect(()=>{const s=R.current;if(s)return s.addEventListener(h,i),()=>s.removeEventListener(h,i)},[i]),f.jsxRuntimeExports.jsx(re,{scope:r,orientation:t,dir:x,loop:E,currentTabStopId:F,onItemFocus:c.useCallback(s=>n(s),[n]),onItemShiftTab:c.useCallback(()=>C(!0),[]),onFocusableItemAdd:c.useCallback(()=>P(s=>s+1),[]),onFocusableItemRemove:c.useCallback(()=>P(s=>s-1),[]),children:f.jsxRuntimeExports.jsx(G.Primitive.div,{tabIndex:a||K===0?-1:0,"data-orientation":t,...g,ref:I,style:{outline:"none",...e.style},onMouseDown:m.composeEventHandlers(e.onMouseDown,()=>{y.current=!0}),onFocus:m.composeEventHandlers(e.onFocus,s=>{const k=!y.current;if(s.target===s.currentTarget&&k&&!a){const D=new CustomEvent(h,Z);if(s.currentTarget.dispatchEvent(D),!D.defaultPrevented){const _=l().filter(d=>d.focusable),L=_.find(d=>d.active),U=_.find(d=>d.id===F),$=[L,U,..._].filter(Boolean).map(d=>d.ref.current);M($,u)}}y.current=!1}),onBlur:m.composeEventHandlers(e.onBlur,()=>C(!1))})})}),q="RovingFocusGroupItem",O=c.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:r,focusable:t=!0,active:E=!1,tabStopId:S,children:v,...T}=e,w=V.useId(),p=S||w,u=ne(q,r),g=u.currentTabStopId===p,R=N(r),{onFocusableItemAdd:I,onFocusableItemRemove:x,currentTabStopId:F}=u;return c.useEffect(()=>{if(t)return I(),()=>x()},[t,I,x]),f.jsxRuntimeExports.jsx(j.ItemSlot,{scope:r,id:p,focusable:t,active:E,children:f.jsxRuntimeExports.jsx(G.Primitive.span,{tabIndex:g?0:-1,"data-orientation":u.orientation,...T,ref:o,onMouseDown:m.composeEventHandlers(e.onMouseDown,n=>{t?u.onItemFocus(p):n.preventDefault()}),onFocus:m.composeEventHandlers(e.onFocus,()=>u.onItemFocus(p)),onKeyDown:m.composeEventHandlers(e.onKeyDown,n=>{if(n.key==="Tab"&&n.shiftKey){u.onItemShiftTab();return}if(n.target!==n.currentTarget)return;const a=ie(n,u.orientation,u.dir);if(a!==void 0){if(n.metaKey||n.ctrlKey||n.altKey||n.shiftKey)return;n.preventDefault();let i=R().filter(l=>l.focusable).map(l=>l.ref.current);if(a==="last")i.reverse();else if(a==="prev"||a==="next"){a==="prev"&&i.reverse();const l=i.indexOf(n.currentTarget);i=u.loop?ae(i,l+1):i.slice(l+1)}setTimeout(()=>M(i))}}),children:typeof v=="function"?v({isCurrentTabStop:g,hasTabStop:F!=null}):v})})});O.displayName=q;var ce={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ue(e,o){return o!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function ie(e,o,r){const t=ue(e.key,r);if(!(o==="vertical"&&["ArrowLeft","ArrowRight"].includes(t))&&!(o==="horizontal"&&["ArrowUp","ArrowDown"].includes(t)))return ce[t]}function M(e,o=!1){const r=document.activeElement;for(const t of e)if(t===r||(t.focus({preventScroll:o}),document.activeElement!==r))return}function ae(e,o){return e.map((r,t)=>e[(o+t)%e.length])}var le=A,de=O;exports.Item=de;exports.Root=le;exports.RovingFocusGroup=A;exports.RovingFocusGroupItem=O;exports.createRovingFocusGroupScope=oe;
|
|
2
2
|
//# sourceMappingURL=index.cjs622.js.map
|
package/dist/index.cjs622.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs622.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs622.js","sources":["../node_modules/@radix-ui/react-roving-focus/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/roving-focus-group.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createCollection } from \"@radix-ui/react-collection\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { useDirection } from \"@radix-ui/react-direction\";\nimport { jsx } from \"react/jsx-runtime\";\nvar ENTRY_FOCUS = \"rovingFocusGroup.onEntryFocus\";\nvar EVENT_OPTIONS = { bubbles: false, cancelable: true };\nvar GROUP_NAME = \"RovingFocusGroup\";\nvar [Collection, useCollection, createCollectionScope] = createCollection(GROUP_NAME);\nvar [createRovingFocusGroupContext, createRovingFocusGroupScope] = createContextScope(\n GROUP_NAME,\n [createCollectionScope]\n);\nvar [RovingFocusProvider, useRovingFocusContext] = createRovingFocusGroupContext(GROUP_NAME);\nvar RovingFocusGroup = React.forwardRef(\n (props, forwardedRef) => {\n return /* @__PURE__ */ jsx(Collection.Provider, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(Collection.Slot, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(RovingFocusGroupImpl, { ...props, ref: forwardedRef }) }) });\n }\n);\nRovingFocusGroup.displayName = GROUP_NAME;\nvar RovingFocusGroupImpl = React.forwardRef((props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n orientation,\n loop = false,\n dir,\n currentTabStopId: currentTabStopIdProp,\n defaultCurrentTabStopId,\n onCurrentTabStopIdChange,\n onEntryFocus,\n preventScrollOnEntryFocus = false,\n ...groupProps\n } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const direction = useDirection(dir);\n const [currentTabStopId, setCurrentTabStopId] = useControllableState({\n prop: currentTabStopIdProp,\n defaultProp: defaultCurrentTabStopId ?? null,\n onChange: onCurrentTabStopIdChange,\n caller: GROUP_NAME\n });\n const [isTabbingBackOut, setIsTabbingBackOut] = React.useState(false);\n const handleEntryFocus = useCallbackRef(onEntryFocus);\n const getItems = useCollection(__scopeRovingFocusGroup);\n const isClickFocusRef = React.useRef(false);\n const [focusableItemsCount, setFocusableItemsCount] = React.useState(0);\n React.useEffect(() => {\n const node = ref.current;\n if (node) {\n node.addEventListener(ENTRY_FOCUS, handleEntryFocus);\n return () => node.removeEventListener(ENTRY_FOCUS, handleEntryFocus);\n }\n }, [handleEntryFocus]);\n return /* @__PURE__ */ jsx(\n RovingFocusProvider,\n {\n scope: __scopeRovingFocusGroup,\n orientation,\n dir: direction,\n loop,\n currentTabStopId,\n onItemFocus: React.useCallback(\n (tabStopId) => setCurrentTabStopId(tabStopId),\n [setCurrentTabStopId]\n ),\n onItemShiftTab: React.useCallback(() => setIsTabbingBackOut(true), []),\n onFocusableItemAdd: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount + 1),\n []\n ),\n onFocusableItemRemove: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount - 1),\n []\n ),\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n tabIndex: isTabbingBackOut || focusableItemsCount === 0 ? -1 : 0,\n \"data-orientation\": orientation,\n ...groupProps,\n ref: composedRefs,\n style: { outline: \"none\", ...props.style },\n onMouseDown: composeEventHandlers(props.onMouseDown, () => {\n isClickFocusRef.current = true;\n }),\n onFocus: composeEventHandlers(props.onFocus, (event) => {\n const isKeyboardFocus = !isClickFocusRef.current;\n if (event.target === event.currentTarget && isKeyboardFocus && !isTabbingBackOut) {\n const entryFocusEvent = new CustomEvent(ENTRY_FOCUS, EVENT_OPTIONS);\n event.currentTarget.dispatchEvent(entryFocusEvent);\n if (!entryFocusEvent.defaultPrevented) {\n const items = getItems().filter((item) => item.focusable);\n const activeItem = items.find((item) => item.active);\n const currentItem = items.find((item) => item.id === currentTabStopId);\n const candidateItems = [activeItem, currentItem, ...items].filter(\n Boolean\n );\n const candidateNodes = candidateItems.map((item) => item.ref.current);\n focusFirst(candidateNodes, preventScrollOnEntryFocus);\n }\n }\n isClickFocusRef.current = false;\n }),\n onBlur: composeEventHandlers(props.onBlur, () => setIsTabbingBackOut(false))\n }\n )\n }\n );\n});\nvar ITEM_NAME = \"RovingFocusGroupItem\";\nvar RovingFocusGroupItem = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n focusable = true,\n active = false,\n tabStopId,\n children,\n ...itemProps\n } = props;\n const autoId = useId();\n const id = tabStopId || autoId;\n const context = useRovingFocusContext(ITEM_NAME, __scopeRovingFocusGroup);\n const isCurrentTabStop = context.currentTabStopId === id;\n const getItems = useCollection(__scopeRovingFocusGroup);\n const { onFocusableItemAdd, onFocusableItemRemove, currentTabStopId } = context;\n React.useEffect(() => {\n if (focusable) {\n onFocusableItemAdd();\n return () => onFocusableItemRemove();\n }\n }, [focusable, onFocusableItemAdd, onFocusableItemRemove]);\n return /* @__PURE__ */ jsx(\n Collection.ItemSlot,\n {\n scope: __scopeRovingFocusGroup,\n id,\n focusable,\n active,\n children: /* @__PURE__ */ jsx(\n Primitive.span,\n {\n tabIndex: isCurrentTabStop ? 0 : -1,\n \"data-orientation\": context.orientation,\n ...itemProps,\n ref: forwardedRef,\n onMouseDown: composeEventHandlers(props.onMouseDown, (event) => {\n if (!focusable) event.preventDefault();\n else context.onItemFocus(id);\n }),\n onFocus: composeEventHandlers(props.onFocus, () => context.onItemFocus(id)),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n if (event.key === \"Tab\" && event.shiftKey) {\n context.onItemShiftTab();\n return;\n }\n if (event.target !== event.currentTarget) return;\n const focusIntent = getFocusIntent(event, context.orientation, context.dir);\n if (focusIntent !== void 0) {\n if (event.metaKey || event.ctrlKey || event.altKey || event.shiftKey) return;\n event.preventDefault();\n const items = getItems().filter((item) => item.focusable);\n let candidateNodes = items.map((item) => item.ref.current);\n if (focusIntent === \"last\") candidateNodes.reverse();\n else if (focusIntent === \"prev\" || focusIntent === \"next\") {\n if (focusIntent === \"prev\") candidateNodes.reverse();\n const currentIndex = candidateNodes.indexOf(event.currentTarget);\n candidateNodes = context.loop ? wrapArray(candidateNodes, currentIndex + 1) : candidateNodes.slice(currentIndex + 1);\n }\n setTimeout(() => focusFirst(candidateNodes));\n }\n }),\n children: typeof children === \"function\" ? children({ isCurrentTabStop, hasTabStop: currentTabStopId != null }) : children\n }\n )\n }\n );\n }\n);\nRovingFocusGroupItem.displayName = ITEM_NAME;\nvar MAP_KEY_TO_FOCUS_INTENT = {\n ArrowLeft: \"prev\",\n ArrowUp: \"prev\",\n ArrowRight: \"next\",\n ArrowDown: \"next\",\n PageUp: \"first\",\n Home: \"first\",\n PageDown: \"last\",\n End: \"last\"\n};\nfunction getDirectionAwareKey(key, dir) {\n if (dir !== \"rtl\") return key;\n return key === \"ArrowLeft\" ? \"ArrowRight\" : key === \"ArrowRight\" ? \"ArrowLeft\" : key;\n}\nfunction getFocusIntent(event, orientation, dir) {\n const key = getDirectionAwareKey(event.key, dir);\n if (orientation === \"vertical\" && [\"ArrowLeft\", \"ArrowRight\"].includes(key)) return void 0;\n if (orientation === \"horizontal\" && [\"ArrowUp\", \"ArrowDown\"].includes(key)) return void 0;\n return MAP_KEY_TO_FOCUS_INTENT[key];\n}\nfunction focusFirst(candidates, preventScroll = false) {\n const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;\n for (const candidate of candidates) {\n if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;\n candidate.focus({ preventScroll });\n if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;\n }\n}\nfunction wrapArray(array, startIndex) {\n return array.map((_, index) => array[(startIndex + index) % array.length]);\n}\nvar Root = RovingFocusGroup;\nvar Item = RovingFocusGroupItem;\nexport {\n Item,\n Root,\n RovingFocusGroup,\n RovingFocusGroupItem,\n createRovingFocusGroupScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["ENTRY_FOCUS","EVENT_OPTIONS","GROUP_NAME","Collection","useCollection","createCollectionScope","createCollection","createRovingFocusGroupContext","createRovingFocusGroupScope","createContextScope","RovingFocusProvider","useRovingFocusContext","RovingFocusGroup","React","props","forwardedRef","jsx","RovingFocusGroupImpl","__scopeRovingFocusGroup","orientation","loop","dir","currentTabStopIdProp","defaultCurrentTabStopId","onCurrentTabStopIdChange","onEntryFocus","preventScrollOnEntryFocus","groupProps","ref","composedRefs","useComposedRefs","direction","useDirection","currentTabStopId","setCurrentTabStopId","useControllableState","isTabbingBackOut","setIsTabbingBackOut","handleEntryFocus","useCallbackRef","getItems","isClickFocusRef","focusableItemsCount","setFocusableItemsCount","node","tabStopId","prevCount","Primitive","composeEventHandlers","event","isKeyboardFocus","entryFocusEvent","items","item","activeItem","currentItem","candidateNodes","focusFirst","ITEM_NAME","RovingFocusGroupItem","focusable","active","children","itemProps","autoId","useId","id","context","isCurrentTabStop","onFocusableItemAdd","onFocusableItemRemove","focusIntent","getFocusIntent","currentIndex","wrapArray","MAP_KEY_TO_FOCUS_INTENT","getDirectionAwareKey","key","candidates","preventScroll","PREVIOUSLY_FOCUSED_ELEMENT","candidate","array","startIndex","_","index","Root","Item"],"mappings":"yrBAcA,IAAIA,EAAc,gCACdC,EAAgB,CAAE,QAAS,GAAO,WAAY,EAAI,EAClDC,EAAa,mBACb,CAACC,EAAYC,EAAeC,EAAqB,EAAIC,EAAAA,iBAAiBJ,CAAU,EAChF,CAACK,GAA+BC,EAA2B,EAAIC,EAAAA,mBACjEP,EACA,CAACG,EAAqB,CACxB,EACI,CAACK,GAAqBC,EAAqB,EAAIJ,GAA8BL,CAAU,EACvFU,EAAmBC,EAAM,WAC3B,CAACC,EAAOC,IACiBC,wBAAIb,EAAW,SAAU,CAAE,MAAOW,EAAM,wBAAyB,SAA0BE,wBAAIb,EAAW,KAAM,CAAE,MAAOW,EAAM,wBAAyB,SAA0BE,EAAAA,kBAAAA,IAAIC,GAAsB,CAAE,GAAGH,EAAO,IAAKC,EAAc,CAAC,CAAE,CAAC,CAAE,CAE5Q,EACAH,EAAiB,YAAcV,EAC/B,IAAIe,GAAuBJ,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACnE,KAAM,CACJ,wBAAAG,EACA,YAAAC,EACA,KAAAC,EAAO,GACP,IAAAC,EACA,iBAAkBC,EAClB,wBAAAC,EACA,yBAAAC,EACA,aAAAC,EACA,0BAAAC,EAA4B,GAC5B,GAAGC,CACP,EAAMb,EACEc,EAAMf,EAAM,OA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,CAAC,EACD,SAAU,OAAOM,GAAa,WAAaA,EAAS,CAAE,iBAAAM,EAAkB,WAAYnC,GAAoB,IAAI,CAAE,EAAI6B,CAC9H,CACA,CACA,CACA,CACE,CACF,EACAH,EAAqB,YAAcD,EACnC,IAAIiB,GAA0B,CAC5B,UAAW,OACX,QAAS,OACT,WAAY,OACZ,UAAW,OACX,OAAQ,QACR,KAAM,QACN,SAAU,OACV,IAAK,MACP,EACA,SAASC,GAAqBC,EAAKxD,EAAK,CACtC,OAAIA,IAAQ,MAAcwD,EACnBA,IAAQ,YAAc,aAAeA,IAAQ,aAAe,YAAcA,CACnF,CACA,SAASL,GAAevB,EAAO9B,EAAaE,EAAK,CAC/C,MAAMwD,EAAMD,GAAqB3B,EAAM,IAAK5B,CAAG,EAC/C,GAAI,EAAAF,IAAgB,YAAc,CAAC,YAAa,YAAY,EAAE,SAAS0D,CAAG,IACtE,EAAA1D,IAAgB,cAAgB,CAAC,UAAW,WAAW,EAAE,SAAS0D,CAAG,GACzE,OAAOF,GAAwBE,CAAG,CACpC,CACA,SAASpB,EAAWqB,EAAYC,EAAgB,GAAO,CACrD,MAAMC,EAA6B,SAAS,cAC5C,UAAWC,KAAaH,EAGtB,GAFIG,IAAcD,IAClBC,EAAU,MAAM,CAAE,cAAAF,EAAe,EAC7B,SAAS,gBAAkBC,GAA4B,MAE/D,CACA,SAASN,GAAUQ,EAAOC,EAAY,CACpC,OAAOD,EAAM,IAAI,CAACE,EAAGC,IAAUH,GAAOC,EAAaE,GAASH,EAAM,MAAM,CAAC,CAC3E,CACG,IAACI,GAAO1E,EACP2E,GAAO5B","x_google_ignoreList":[0]}
|
package/dist/index.cjs623.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs624.js");var r,i;function u(){return i||(i=1,r=window.DOMPurify||(window.DOMPurify=e.__require().default||e.__require())),r}exports.__require=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs623.js.map
|
package/dist/index.cjs623.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs623.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs623.js","sources":["../node_modules/isomorphic-dompurify/browser.js"],"sourcesContent":["module.exports = window.DOMPurify || (window.DOMPurify = require('dompurify').default || require('dompurify'));\n"],"names":["browser","require$$0"],"mappings":"yJAAAA,EAAiB,OAAO,YAAc,OAAO,UAAYC,YAAA,EAAqB,SAAWA,EAAAA","x_google_ignoreList":[0]}
|
package/dist/index.cjs624.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*! @license DOMPurify 3.2.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.7/LICENSE */var ve,St;function dn(){if(St)return ve;St=1;const{entries:ke,setPrototypeOf:Ue,isFrozen:Rt,getPrototypeOf:Ot,getOwnPropertyDescriptor:yt}=Object;let{freeze:g,seal:L,create:Fe}=Object,{apply:ue,construct:me}=typeof Reflect<"u"&&Reflect;g||(g=function(o){return o}),L||(L=function(o){return o}),ue||(ue=function(o,l){for(var a=arguments.length,c=new Array(a>2?a-2:0),O=2;O<a;O++)c[O-2]=arguments[O];return o.apply(l,c)}),me||(me=function(o){for(var l=arguments.length,a=new Array(l>1?l-1:0),c=1;c<l;c++)a[c-1]=arguments[c];return new o(...a)});const Q=A(Array.prototype.forEach),Lt=A(Array.prototype.lastIndexOf),He=A(Array.prototype.pop),W=A(Array.prototype.push),bt=A(Array.prototype.splice),ee=A(String.prototype.toLowerCase),pe=A(String.prototype.toString),de=A(String.prototype.match),B=A(String.prototype.replace),Dt=A(String.prototype.indexOf),Nt=A(String.prototype.trim),b=A(Object.prototype.hasOwnProperty),h=A(RegExp.prototype.test),Y=It(TypeError);function A(s){return function(o){o instanceof RegExp&&(o.lastIndex=0);for(var l=arguments.length,a=new Array(l>1?l-1:0),c=1;c<l;c++)a[c-1]=arguments[c];return ue(s,o,a)}}function It(s){return function(){for(var o=arguments.length,l=new Array(o),a=0;a<o;a++)l[a]=arguments[a];return me(s,l)}}function r(s,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ee;Ue&&Ue(s,null);let a=o.length;for(;a--;){let c=o[a];if(typeof c=="string"){const O=l(c);O!==c&&(Rt(o)||(o[a]=O),c=O)}s[c]=!0}return s}function Mt(s){for(let o=0;o<s.length;o++)b(s,o)||(s[o]=null);return s}function N(s){const o=Fe(null);for(const[l,a]of ke(s))b(s,l)&&(Array.isArray(a)?o[l]=Mt(a):a&&typeof a=="object"&&a.constructor===Object?o[l]=N(a):o[l]=a);return o}function j(s,o){for(;s!==null;){const a=yt(s,o);if(a){if(a.get)return A(a.get);if(typeof a.value=="function")return A(a.value)}s=Ot(s)}function l(){return null}return l}const ze=g(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Te=g(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","slot","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ee=g(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Ct=g(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),_e=g(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),wt=g(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Ge=g(["#text"]),We=g(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),ge=g(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Be=g(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),te=g(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),xt=L(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Pt=L(/<%[\w\W]*|[\w\W]*%>/gm),vt=L(/\$\{[\w\W]*/gm),kt=L(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ut=L(/^aria-[\-\w]+$/),Ye=L(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ft=L(/^(?:\w+script|data):/i),Ht=L(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),je=L(/^html$/i),zt=L(/^[a-z][.\w]*(-[.\w]+)+$/i);var Xe=Object.freeze({__proto__:null,ARIA_ATTR:Ut,ATTR_WHITESPACE:Ht,CUSTOM_ELEMENT:zt,DATA_ATTR:kt,DOCTYPE_NAME:je,ERB_EXPR:Pt,IS_ALLOWED_URI:Ye,IS_SCRIPT_OR_DATA:Ft,MUSTACHE_EXPR:xt,TMPLIT_EXPR:vt});const X={element:1,text:3,progressingInstruction:7,comment:8,document:9},Gt=function(){return typeof window>"u"?null:window},Wt=function(o,l){if(typeof o!="object"||typeof o.createPolicy!="function")return null;let a=null;const c="data-tt-policy-suffix";l&&l.hasAttribute(c)&&(a=l.getAttribute(c));const O="dompurify"+(a?"#"+a:"");try{return o.createPolicy(O,{createHTML(P){return P},createScriptURL(P){return P}})}catch{return console.warn("TrustedTypes policy "+O+" could not be created."),null}},Ve=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function qe(){let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Gt();const o=i=>qe(i);if(o.version="3.2.7",o.removed=[],!s||!s.document||s.document.nodeType!==X.document||!s.Element)return o.isSupported=!1,o;let{document:l}=s;const a=l,c=a.currentScript,{DocumentFragment:O,HTMLTemplateElement:P,Node:he,Element:$e,NodeFilter:V,NamedNodeMap:Yt=s.NamedNodeMap||s.MozNamedAttrMap,HTMLFormElement:jt,DOMParser:Xt,trustedTypes:ne}=s,q=$e.prototype,Vt=j(q,"cloneNode"),qt=j(q,"remove"),$t=j(q,"nextSibling"),Kt=j(q,"childNodes"),oe=j(q,"parentNode");if(typeof P=="function"){const i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let S,$="";const{implementation:Ae,createNodeIterator:Zt,createDocumentFragment:Jt,getElementsByTagName:Qt}=l,{importNode:en}=a;let R=Ve();o.isSupported=typeof ke=="function"&&typeof oe=="function"&&Ae&&Ae.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Se,ERB_EXPR:Re,TMPLIT_EXPR:Oe,DATA_ATTR:tn,ARIA_ATTR:nn,IS_SCRIPT_OR_DATA:on,ATTR_WHITESPACE:Ke,CUSTOM_ELEMENT:an}=Xe;let{IS_ALLOWED_URI:Ze}=Xe,p=null;const Je=r({},[...ze,...Te,...Ee,..._e,...Ge]);let T=null;const Qe=r({},[...We,...ge,...Be,...te]);let u=Object.seal(Fe(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),K=null,ye=null,et=!0,Le=!0,tt=!1,nt=!0,v=!1,ie=!0,w=!1,be=!1,De=!1,k=!1,ae=!1,re=!1,ot=!0,it=!1;const rn="user-content-";let Ne=!0,Z=!1,U={},F=null;const at=r({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let rt=null;const st=r({},["audio","video","img","source","image","track"]);let Ie=null;const lt=r({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),se="http://www.w3.org/1998/Math/MathML",le="http://www.w3.org/2000/svg",I="http://www.w3.org/1999/xhtml";let H=I,Me=!1,Ce=null;const sn=r({},[se,le,I],pe);let ce=r({},["mi","mo","mn","ms","mtext"]),fe=r({},["annotation-xml"]);const ln=r({},["title","style","font","a","script"]);let J=null;const cn=["application/xhtml+xml","text/html"],fn="text/html";let d=null,z=null;const un=l.createElement("form"),ct=function(e){return e instanceof RegExp||e instanceof Function},we=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(z&&z===e)){if((!e||typeof e!="object")&&(e={}),e=N(e),J=cn.indexOf(e.PARSER_MEDIA_TYPE)===-1?fn:e.PARSER_MEDIA_TYPE,d=J==="application/xhtml+xml"?pe:ee,p=b(e,"ALLOWED_TAGS")?r({},e.ALLOWED_TAGS,d):Je,T=b(e,"ALLOWED_ATTR")?r({},e.ALLOWED_ATTR,d):Qe,Ce=b(e,"ALLOWED_NAMESPACES")?r({},e.ALLOWED_NAMESPACES,pe):sn,Ie=b(e,"ADD_URI_SAFE_ATTR")?r(N(lt),e.ADD_URI_SAFE_ATTR,d):lt,rt=b(e,"ADD_DATA_URI_TAGS")?r(N(st),e.ADD_DATA_URI_TAGS,d):st,F=b(e,"FORBID_CONTENTS")?r({},e.FORBID_CONTENTS,d):at,K=b(e,"FORBID_TAGS")?r({},e.FORBID_TAGS,d):N({}),ye=b(e,"FORBID_ATTR")?r({},e.FORBID_ATTR,d):N({}),U=b(e,"USE_PROFILES")?e.USE_PROFILES:!1,et=e.ALLOW_ARIA_ATTR!==!1,Le=e.ALLOW_DATA_ATTR!==!1,tt=e.ALLOW_UNKNOWN_PROTOCOLS||!1,nt=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,v=e.SAFE_FOR_TEMPLATES||!1,ie=e.SAFE_FOR_XML!==!1,w=e.WHOLE_DOCUMENT||!1,k=e.RETURN_DOM||!1,ae=e.RETURN_DOM_FRAGMENT||!1,re=e.RETURN_TRUSTED_TYPE||!1,De=e.FORCE_BODY||!1,ot=e.SANITIZE_DOM!==!1,it=e.SANITIZE_NAMED_PROPS||!1,Ne=e.KEEP_CONTENT!==!1,Z=e.IN_PLACE||!1,Ze=e.ALLOWED_URI_REGEXP||Ye,H=e.NAMESPACE||I,ce=e.MATHML_TEXT_INTEGRATION_POINTS||ce,fe=e.HTML_INTEGRATION_POINTS||fe,u=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ct(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(u.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ct(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(u.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(u.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),v&&(Le=!1),ae&&(k=!0),U&&(p=r({},Ge),T=[],U.html===!0&&(r(p,ze),r(T,We)),U.svg===!0&&(r(p,Te),r(T,ge),r(T,te)),U.svgFilters===!0&&(r(p,Ee),r(T,ge),r(T,te)),U.mathMl===!0&&(r(p,_e),r(T,Be),r(T,te))),e.ADD_TAGS&&(p===Je&&(p=N(p)),r(p,e.ADD_TAGS,d)),e.ADD_ATTR&&(T===Qe&&(T=N(T)),r(T,e.ADD_ATTR,d)),e.ADD_URI_SAFE_ATTR&&r(Ie,e.ADD_URI_SAFE_ATTR,d),e.FORBID_CONTENTS&&(F===at&&(F=N(F)),r(F,e.FORBID_CONTENTS,d)),Ne&&(p["#text"]=!0),w&&r(p,["html","head","body"]),p.table&&(r(p,["tbody"]),delete K.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw Y('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Y('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');S=e.TRUSTED_TYPES_POLICY,$=S.createHTML("")}else S===void 0&&(S=Wt(ne,c)),S!==null&&typeof $=="string"&&($=S.createHTML(""));g&&g(e),z=e}},ft=r({},[...Te,...Ee,...Ct]),ut=r({},[..._e,...wt]),mn=function(e){let t=oe(e);(!t||!t.tagName)&&(t={namespaceURI:H,tagName:"template"});const n=ee(e.tagName),f=ee(t.tagName);return Ce[e.namespaceURI]?e.namespaceURI===le?t.namespaceURI===I?n==="svg":t.namespaceURI===se?n==="svg"&&(f==="annotation-xml"||ce[f]):!!ft[n]:e.namespaceURI===se?t.namespaceURI===I?n==="math":t.namespaceURI===le?n==="math"&&fe[f]:!!ut[n]:e.namespaceURI===I?t.namespaceURI===le&&!fe[f]||t.namespaceURI===se&&!ce[f]?!1:!ut[n]&&(ln[n]||!ft[n]):!!(J==="application/xhtml+xml"&&Ce[e.namespaceURI]):!1},D=function(e){W(o.removed,{element:e});try{oe(e).removeChild(e)}catch{qt(e)}},x=function(e,t){try{W(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch{W(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(k||ae)try{D(t)}catch{}else try{t.setAttribute(e,"")}catch{}},mt=function(e){let t=null,n=null;if(De)e="<remove></remove>"+e;else{const m=de(e,/^[\r\n\t ]+/);n=m&&m[0]}J==="application/xhtml+xml"&&H===I&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const f=S?S.createHTML(e):e;if(H===I)try{t=new Xt().parseFromString(f,J)}catch{}if(!t||!t.documentElement){t=Ae.createDocument(H,"template",null);try{t.documentElement.innerHTML=Me?$:f}catch{}}const _=t.body||t.documentElement;return e&&n&&_.insertBefore(l.createTextNode(n),_.childNodes[0]||null),H===I?Qt.call(t,w?"html":"body")[0]:w?t.documentElement:_},pt=function(e){return Zt.call(e.ownerDocument||e,e,V.SHOW_ELEMENT|V.SHOW_COMMENT|V.SHOW_TEXT|V.SHOW_PROCESSING_INSTRUCTION|V.SHOW_CDATA_SECTION,null)},xe=function(e){return e instanceof jt&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof Yt)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},dt=function(e){return typeof he=="function"&&e instanceof he};function M(i,e,t){Q(i,n=>{n.call(o,e,t,z)})}const Tt=function(e){let t=null;if(M(R.beforeSanitizeElements,e,null),xe(e))return D(e),!0;const n=d(e.nodeName);if(M(R.uponSanitizeElement,e,{tagName:n,allowedTags:p}),ie&&e.hasChildNodes()&&!dt(e.firstElementChild)&&h(/<[/\w!]/g,e.innerHTML)&&h(/<[/\w!]/g,e.textContent)||e.nodeType===X.progressingInstruction||ie&&e.nodeType===X.comment&&h(/<[/\w]/g,e.data))return D(e),!0;if(!p[n]||K[n]){if(!K[n]&&_t(n)&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n)))return!1;if(Ne&&!F[n]){const f=oe(e)||e.parentNode,_=Kt(e)||e.childNodes;if(_&&f){const m=_.length;for(let y=m-1;y>=0;--y){const C=Vt(_[y],!0);C.__removalCount=(e.__removalCount||0)+1,f.insertBefore(C,$t(e))}}}return D(e),!0}return e instanceof $e&&!mn(e)||(n==="noscript"||n==="noembed"||n==="noframes")&&h(/<\/no(script|embed|frames)/i,e.innerHTML)?(D(e),!0):(v&&e.nodeType===X.text&&(t=e.textContent,Q([Se,Re,Oe],f=>{t=B(t,f," ")}),e.textContent!==t&&(W(o.removed,{element:e.cloneNode()}),e.textContent=t)),M(R.afterSanitizeElements,e,null),!1)},Et=function(e,t,n){if(ot&&(t==="id"||t==="name")&&(n in l||n in un))return!1;if(!(Le&&!ye[t]&&h(tn,t))){if(!(et&&h(nn,t))){if(!T[t]||ye[t]){if(!(_t(e)&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,e)||u.tagNameCheck instanceof Function&&u.tagNameCheck(e))&&(u.attributeNameCheck instanceof RegExp&&h(u.attributeNameCheck,t)||u.attributeNameCheck instanceof Function&&u.attributeNameCheck(t,e))||t==="is"&&u.allowCustomizedBuiltInElements&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n))))return!1}else if(!Ie[t]){if(!h(Ze,B(n,Ke,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&Dt(n,"data:")===0&&rt[e])){if(!(tt&&!h(on,B(n,Ke,"")))){if(n)return!1}}}}}}return!0},_t=function(e){return e!=="annotation-xml"&&de(e,an)},gt=function(e){M(R.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||xe(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:T,forceKeepAttr:void 0};let f=t.length;for(;f--;){const _=t[f],{name:m,namespaceURI:y,value:C}=_,G=d(m),Pe=C;let E=m==="value"?Pe:Nt(Pe);if(n.attrName=G,n.attrValue=E,n.keepAttr=!0,n.forceKeepAttr=void 0,M(R.uponSanitizeAttribute,e,n),E=n.attrValue,it&&(G==="id"||G==="name")&&(x(m,e),E=rn+E),ie&&h(/((--!?|])>)|<\/(style|title|textarea)/i,E)){x(m,e);continue}if(G==="attributename"&&de(E,"href")){x(m,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){x(m,e);continue}if(!nt&&h(/\/>/i,E)){x(m,e);continue}v&&Q([Se,Re,Oe],At=>{E=B(E,At," ")});const ht=d(e.nodeName);if(!Et(ht,G,E)){x(m,e);continue}if(S&&typeof ne=="object"&&typeof ne.getAttributeType=="function"&&!y)switch(ne.getAttributeType(ht,G)){case"TrustedHTML":{E=S.createHTML(E);break}case"TrustedScriptURL":{E=S.createScriptURL(E);break}}if(E!==Pe)try{y?e.setAttributeNS(y,m,E):e.setAttribute(m,E),xe(e)?D(e):He(o.removed)}catch{x(m,e)}}M(R.afterSanitizeAttributes,e,null)},pn=function i(e){let t=null;const n=pt(e);for(M(R.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)M(R.uponSanitizeShadowNode,t,null),Tt(t),gt(t),t.content instanceof O&&i(t.content);M(R.afterSanitizeShadowDOM,e,null)};return o.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,n=null,f=null,_=null;if(Me=!i,Me&&(i="<!-->"),typeof i!="string"&&!dt(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw Y("dirty is not a string, aborting")}else throw Y("toString is not a function");if(!o.isSupported)return i;if(be||we(e),o.removed=[],typeof i=="string"&&(Z=!1),Z){if(i.nodeName){const C=d(i.nodeName);if(!p[C]||K[C])throw Y("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof he)t=mt("<!---->"),n=t.ownerDocument.importNode(i,!0),n.nodeType===X.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n);else{if(!k&&!v&&!w&&i.indexOf("<")===-1)return S&&re?S.createHTML(i):i;if(t=mt(i),!t)return k?null:re?$:""}t&&De&&D(t.firstChild);const m=pt(Z?i:t);for(;f=m.nextNode();)Tt(f),gt(f),f.content instanceof O&&pn(f.content);if(Z)return i;if(k){if(ae)for(_=Jt.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(T.shadowroot||T.shadowrootmode)&&(_=en.call(a,_,!0)),_}let y=w?t.outerHTML:t.innerHTML;return w&&p["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&h(je,t.ownerDocument.doctype.name)&&(y="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
|
|
2
|
+
`+y),v&&Q([Se,Re,Oe],C=>{y=B(y,C," ")}),S&&re?S.createHTML(y):y},o.setConfig=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};we(i),be=!0},o.clearConfig=function(){z=null,be=!1},o.isValidAttribute=function(i,e,t){z||we({});const n=d(i),f=d(e);return Et(n,f,t)},o.addHook=function(i,e){typeof e=="function"&&W(R[i],e)},o.removeHook=function(i,e){if(e!==void 0){const t=Lt(R[i],e);return t===-1?void 0:bt(R[i],t,1)[0]}return He(R[i])},o.removeHooks=function(i){R[i]=[]},o.removeAllHooks=function(){R=Ve()},o}var Bt=qe();return ve=Bt,ve}exports.__require=dn;
|
|
2
3
|
//# sourceMappingURL=index.cjs624.js.map
|